ofs | hex dump | ascii |
---|
0000 | 50 4b 03 04 14 00 00 00 00 00 f1 4b 18 3b 36 13 e0 b7 15 bf 00 00 15 bf 00 00 1a 00 00 00 63 6f | PK.........K.;6...............co |
0020 | 6e 74 65 6e 74 2f 62 72 61 6e 64 69 6e 67 2f 61 62 6f 75 74 2e 70 6e 67 89 50 4e 47 0d 0a 1a 0a | ntent/branding/about.png.PNG.... |
0040 | 00 00 00 0d 49 48 44 52 00 00 01 2c 00 00 00 ec 08 02 00 00 00 41 80 0c 22 00 00 00 19 74 45 58 | ....IHDR...,.........A.."....tEX |
0060 | 74 53 6f 66 74 77 61 72 65 00 41 64 6f 62 65 20 49 6d 61 67 65 52 65 61 64 79 71 c9 65 3c 00 00 | tSoftware.Adobe.ImageReadyq.e<.. |
0080 | be b7 49 44 41 54 78 da ec bd 77 b4 a5 d9 55 1f 78 c2 97 6e 78 ef 55 0e 9d aa 73 92 90 2c 09 24 | ..IDATx...w...U.x..nx.U...s..,.$ |
00a0 | 40 48 32 92 08 02 91 3c c6 30 b6 19 60 30 08 6c cc 5a 0c 33 78 86 35 96 c7 18 16 06 03 33 18 8b | @H2....<.0..`0.l.Z.3x.5......3.. |
00c0 | 85 6d 40 43 30 d8 20 04 83 40 20 59 83 c2 28 b6 42 37 6a 75 ae ae ee ca b9 5e ba e9 0b e7 ec 39 | .m@C0....@.Y..(.B7ju.....^.....9 |
00e0 | 7b 9f f0 9d ef be 5b 2d 2d af 55 d5 f5 c7 bd fd fa d5 7d f7 7e 37 7e e7 77 f6 de bf bd f7 6f 27 | {.....[--.U.......}.~7~.w.....o' |
0100 | 00 c0 96 97 1b f8 02 1b cf d7 7f f1 23 ac 1c 33 29 41 88 f4 1b ff ad d8 ff 92 2f fd e1 1b 5b 93 | ............#..3)A......../...[. |
0120 | 7f f2 f6 77 fe d1 7b 1f 32 d7 39 17 5c 08 ce 19 13 cc fc 23 e8 7f 29 85 b9 24 52 48 c1 93 7c 57 | ...w..{.2.9.\......#..)..$RH..|W |
0140 | ba eb 4e 99 f5 93 24 93 49 c6 65 9a a4 e6 00 f3 af 48 52 2e 52 61 56 cb a1 3b f7 de 76 ef 41 00 | ..N...$.I.e......HR.RaV..;..v.A. |
0160 | 4d 4f c6 b8 79 2a 69 af 98 67 a3 df 9c d1 2f 73 3b bb 6b 5f 7f 4f 3f d1 1a 84 b9 d1 bc 81 f0 c3 | MO..y*i..g..../s;.k_.O?......... |
0180 | 19 bd 0b 77 a3 c0 1b 18 bd 43 fc 2d 78 fb fe ed f1 9d eb fc bf e9 6b a4 65 6e d7 7a fc db de 15 | ...w.....C.-x.........k.en.z.... |
01a0 | ae 6b 60 da fc a6 c3 dd 0f dd 12 fe d4 74 b0 76 8f 02 3a 18 df f6 c6 4c 9d da 2a cd 5b 53 e6 ab | .k`..........t.v..:....L..*.[S.. |
01c0 | d1 4c 35 aa a9 55 35 6b 8e 3d 7b ee c2 a9 8b e5 e6 78 72 65 6b b6 39 de b8 3c dd 2d 36 de f1 8f | .L5..U5k.={......xrek.9..<.-6... |
01e0 | 77 bd e5 5b 5f 01 90 b0 66 6c 1e 9d 2c 57 f9 0d 7e d1 4f fc 29 6b 26 78 6e 25 9e 79 58 7f 8e 7d | w..[_...fl..,W..~.O.)k&xn%.yX..} |
0200 | c9 20 3c 7e fa d2 3f fc f1 77 7c ea 91 a3 b4 76 cd 52 07 c6 35 27 04 70 4e 68 21 34 1a f8 09 0e | ..<~..?..w|....v.R..5'.pNh!4.... |
0220 | 32 5b 4d 56 6f 33 d8 33 af 83 f8 44 84 22 1e e8 2a ad 7d cd 92 2c d9 b5 6f 45 d5 0a a1 22 c1 ac | 2[MVo3.3...D."..*.}..,..oE...".. |
0240 | 48 0e 9c de 16 97 80 fb b9 7d 62 c0 7f 18 28 b6 31 ad d7 0a 83 62 bb 7c 81 13 14 cd 75 73 84 b9 | H........}b...(.1....b.|....us.. |
0260 | a2 e9 76 fc 58 84 02 ee 80 c1 f1 69 3d de c0 a3 85 07 e4 40 fb 27 8f c1 da 02 ae 8b b1 ee 15 f0 | ..v.X......i=......@.'.......... |
0280 | 7f 74 01 09 01 8d 16 57 e0 ff 84 00 48 8f 46 0d 1e 90 01 93 c0 fa a9 cc 24 9f d6 1a ff d4 80 df | .t.....W....H.F.........$....... |
02a0 | 9e 14 49 9e 1c 3c b4 67 7b 6b 66 f6 31 fa b4 7c 37 e3 5b 1b fc fb fe cf cd 5f 5c ff e4 f7 fc 0f | ..I..<.g{kf.1..|7.[......_\..... |
02c0 | 2f 63 32 81 7a 6b 09 c2 1b fb 32 3e af 8f 7f 88 6b da 72 69 91 c2 d9 4f b3 7b df fa a5 3c f4 f3 | /c2.zk....2>....k.ri...O.{...<.. |
02e0 | 4f 9e f8 ef 7e e4 ff 7a fe f4 45 bb b8 79 b4 14 1d b2 d0 16 92 39 e4 20 d2 a1 1c dc 24 65 6a 56 | O...~..z..E..y.......9......$ejV |
0300 | 0a 5a 46 34 69 88 40 02 15 19 28 8e 18 eb af 15 79 91 9a 3d 5e 90 b5 22 2c 99 b7 c6 e9 4e ee 6c | .ZF4i.@...(.....y..=^..",....N.l |
0320 | 1d 42 17 61 64 e0 7e 7e 73 56 24 dc 2c 50 29 d8 30 95 e0 df 09 3e ca 3c bf 47 0b 81 d7 82 d3 03 | .B.ad.~~sV$.,P).0....>.<.G...... |
0340 | 8d 4c 25 b7 77 d8 f7 cd 3b 68 8c 71 c5 63 a8 75 ae ce 1b bd 2e fc 00 a2 83 02 c0 b4 47 31 cc a3 | .L%.w...;h.q.c.u............G1.. |
0360 | 31 c2 61 40 23 dd a5 c8 18 0e 52 39 2a 1b fb bc e0 be 66 d1 5f ed af ec 59 d9 d2 bc 87 1f d8 f8 | 1.a@#.....R9*.....f._...Y....... |
0380 | 1b 89 d9 f4 b6 37 c4 3f fd 8d ed 72 fc b1 7f f4 43 2f e3 d9 60 09 c2 1b db 0c 9e f8 38 54 1b bc | .....7.?...r....C/..`.......8T.. |
03a0 | 02 66 ac 09 6e b2 4c 5f 7c 9a 55 63 96 0d 5e f8 81 1f fc c4 63 c6 06 5e b8 bc c5 dd 32 a6 ff 0d | .f..n.L_|.Uc..^.....c..^....2... |
03c0 | d8 c8 f5 b3 17 44 20 b9 94 52 e6 49 ff 10 fa 9f de ee 71 5a fe d6 3f c4 1f 70 16 6c b0 d2 d3 0a | .....D...R.I......qZ..?..p.l.... |
03e0 | 97 22 00 d9 2a 0a 66 10 8a 84 16 c2 21 98 3f c1 b9 bb 64 8d 2f 4f cd 1b 1f 64 f2 c1 c3 43 69 8c | ."..*.f.....!.?...d./O...d...Ci. |
0400 | a2 52 66 21 ea 04 6d a2 26 c3 68 51 80 80 6c 40 68 c5 58 40 a3 83 62 80 19 f7 68 64 9d 6d 85 5d | .Rf!..m.&.hQ..l@h.X@..b...hd.m.] |
0420 | 2d a0 82 ab db c6 85 be 68 b8 4b ef b0 7e 0e 8a d1 9f 1e ae e0 0d 23 cf 12 ae b5 b7 a8 f8 14 c6 | -.......h.K..~........#......... |
0440 | 31 35 df ad 18 ae f4 a7 a3 9a 1c 04 41 1f 14 bf ba 11 e3 3f f1 7b 70 65 f2 85 9f fc b1 fb 96 20 | 15..........A......?.{pe........ |
0460 | bc 81 a3 c1 d1 39 f5 ec fb cd c6 09 55 c3 86 9c 99 5d 56 08 bd 7e 5a 9d 7f 4c de fa ea 17 78 e0 | .....9......U....]V..~Z..L....x. |
0480 | 9f 7d e0 b3 ff e8 27 ff fd fa d6 d8 87 5a b4 74 1d 1c ad ab 48 7e a6 00 b4 78 26 e8 eb 1d 30 9e | .}....'......Z.t....H~...x&...0. |
04a0 | 13 99 3e 20 17 14 ad 8e ff 61 d6 1c 9a ab 26 f6 cb 8a 44 37 ca a0 cc de c9 13 34 4f c6 d5 f2 2e | ..>......a....&...D7......4O.... |
04c0 | 21 d9 43 01 c6 e7 35 c7 80 8b 10 99 96 49 9d f7 ea 44 26 93 2d bd b6 8b 6f 8f 92 4b 27 e5 85 e7 | !.C...5......I...D&.-...o..K'... |
04e0 | 93 4b c7 85 6e d0 e6 ee 3a a4 0f dd c5 f6 dd a2 07 bb 39 cc 19 b5 d6 fb 44 e0 71 de 71 4d bf c4 | .K..n...:.........9.....D.q.qM.. |
0500 | 6f d2 ba cc b1 6d 84 c5 68 d4 de 00 32 e8 38 9c e4 6b 77 10 18 de 99 f9 a4 5a bb 2f 00 e8 38 8b | o....m..h...2.8..kw......Z./..8. |
0520 | 40 44 29 1e ca 07 bd e2 4a 36 31 5f 46 46 1e 29 3d a9 40 ff 01 d8 bf f8 a3 51 5d 3d b1 04 e1 8d | @D).....J61_FF.)=.@......Q]=.... |
0540 | 7a 99 ae 37 1f fc 97 b0 f9 3c ab b4 36 20 d4 d2 80 10 12 69 4e af 3e fa c1 17 00 e1 ef fc f1 47 | z..7.....<..6......iN.>........G |
0560 | 7e f8 7f fb 8f b5 52 7e c5 22 60 78 70 49 d1 00 32 0a 02 9d 3f 2a f3 3d 22 ed 49 6e 61 89 36 90 | ~.....R~."`xpI..2...?*.=".Ina.6. |
0580 | 3b e4 b5 8c 06 a7 f5 94 a5 d2 1c af 1a 6d 36 74 8d bb 3c 97 0d da 32 6e 03 43 04 23 3a ce f8 72 | ;............m6t..<...2n.C.#:..r |
05a0 | 14 4c 9a c5 a6 92 34 e9 f5 0e d7 97 6e f9 fc 5f ee 79 f2 23 c6 92 f2 a6 ce 9f ff 6c 76 f1 59 59 | .L....4.....n.._.y.#.......lv.YY |
05c0 | 6f e3 b3 6b e2 31 ca 92 e7 79 f9 cd 3f 36 fd ae 9f 01 f4 8e b5 f3 4e 23 30 da 77 44 61 67 e7 2e | o..k.1...y..?6........N#0.wDag.. |
05e0 | b6 93 aa 59 e4 9a 06 3b 0a 1e 60 c1 17 d5 c1 ef a0 db 74 00 24 00 44 ce 67 8c 49 f3 15 8d 2b 75 | ...Y...;..`.......t.$.D.g.I...+u |
0600 | 66 bb ea a5 62 77 2f 4d 24 7e 0b 93 4a e1 06 45 f4 8e 32 4f 4b 50 64 0a 83 c3 34 4d 00 23 ea 8c | f...bw/M$~..J..E..2OKPd...4M.#.. |
0620 | f5 30 54 36 7e 84 39 82 e0 0a 3f f3 a7 6c 09 c2 1b f4 a2 3e ff 07 fa f4 23 2c 4d d9 58 31 dd b0 | .0T6~.9...?..l.....>....#,M.X1.. |
0640 | 9a c3 ac 81 1c 97 40 7d f4 23 c9 6b 7e 90 f7 f7 ec 7c d4 ef be fb 23 6f fb 5f ff 43 63 10 48 86 | ......@}.#.k~....|....#o._.Cc.H. |
0660 | 0f 09 93 60 0c 29 bc 13 81 92 a1 eb 22 5b 11 d9 90 6e b4 11 60 b0 9d b4 87 43 b4 c8 01 04 7a 53 | ...`.)......"[...n..`....C....zS |
0680 | ac 69 b4 20 46 94 d6 af 30 2b c8 11 9e 09 86 46 14 2a a2 47 aa d2 1c d2 7c f7 e5 63 2f 7b e4 0f | .i..F...0+.....F.*.G....|..c/{.. |
06a0 | 6f 7a f8 3d e9 f9 a7 61 30 34 7e a8 84 29 93 89 62 a9 62 05 ad 6e cd a5 56 2f 7d cd ec 1b 7e a4 | oz.=...a04~..)..b.b..n..V/}...~. |
06c0 | 7e f9 d7 e3 db c5 05 ec a3 c1 00 c5 39 42 a6 c5 21 bf ba 4d 84 39 0a 74 de 23 85 6e 64 18 93 2e | ~...........9B..!..M.9.t.#.nd... |
06e0 | 73 5e 68 84 4c 7b dd 98 fa 46 33 13 01 6e cf d8 95 49 dd 4b 65 96 88 f5 71 89 7b 0a 7e 26 a6 08 | s^h.L{...F3..n...I.Ke...q.{.~&.. |
0700 | 80 e8 ba 93 d1 44 bf df 7c 67 49 0a 19 cb 7a f8 a1 0d 14 99 87 e2 12 84 37 a4 23 3a b9 dc 3c f1 | .....D..|gI...z.........7.#:..<. |
0720 | 17 a0 8c cd 01 18 97 5a 6a 56 6b 36 6b 98 44 03 c4 d6 cf 34 4f 7d 20 7d c5 df db 61 03 3f 6c 10 | .......ZjVk6k.D....4O}.}...a.?l. |
0740 | 58 37 ca 43 09 ec bf 14 e0 71 e7 53 e2 7a 10 c4 c6 30 91 14 32 5b 13 76 81 08 1f fe d1 f1 3c 72 | X7.C.....q.S.z...0..2[.v......<r |
0760 | d6 78 88 c3 38 ae 2a ce 14 48 7a 46 b3 86 a4 c2 9d 1e 2c 1d 03 5c a2 2f a9 b3 44 a7 fd d5 f5 13 | .x..8.*..HzF......,..\./..D..... |
0780 | f7 7d fc b7 ef fc cc bb 06 a3 33 7c 50 88 dd 2b 42 62 24 a9 ea 3e 94 e4 72 4a c4 2d 4f d3 ea 95 | .}........3|P..+Bb$..>..rJ.-O... |
07a0 | df b8 fd df ff 9c de 7f 58 94 4a d8 a0 8a 77 d8 96 4e 96 a2 0d e1 38 2c b2 82 6c 87 e9 5b c8 d0 | ........X.J...w..N....8,..l..[.. |
07c0 | 40 74 4b 6c 1b b5 cf 3a 04 87 b3 a5 40 6d f8 e7 af 1b 1b b8 ab 97 5c 1c 55 06 8d 93 aa f1 44 2a | @tKl...:....@m........\.U.....D* |
07e0 | d8 88 99 10 68 41 e8 36 40 0a 08 0c 10 a5 4c 53 b3 41 e9 01 98 03 8c 5b 61 6e 5f 82 f0 86 04 e1 | ....hA.6@.....LS.A.....[an_..... |
0800 | c9 87 f4 fa 39 13 d4 1b 1b a8 a7 15 5b 49 58 a9 f5 ac 66 99 75 92 a0 fa dc bb f8 ae 5b 93 23 5f | ....9.......[IX...f.u.......[.#_ |
0820 | 61 90 e4 6c 60 8b 40 bf f3 47 fc 3d 41 cb 5e ac c3 89 9c 8c cc 56 d0 55 a2 bb 85 0b ff 30 ac 41 | a..l`.@..G.=A.^......V.U.....0.A |
0840 | 6f 29 30 f3 36 c4 a1 35 64 d6 a0 a6 45 83 b9 0e 20 6a 95 f1 06 30 57 61 ae 28 91 19 93 a6 d3 5e | o)0.6..5d...E....j...0Wa.(.....^ |
0860 | 56 8e 1f f8 e8 3b 1f fc e8 3b 57 ae 3c cf 87 3d be 77 4d 66 e8 60 d6 53 06 0d bd 1b 09 3c 33 f1 | V....;...;W.<..=.wMf.`.S.....<3. |
0880 | a4 e0 26 20 ac aa f2 e0 fd cd 70 bf 98 36 18 47 71 0f 2f 0e de 1e e2 ea 05 0f c5 8e 01 9c 23 48 | ..&.......p..6.Gq./...........#H |
08a0 | af 0e 45 88 ac 22 b4 3e e9 9c 49 64 e8 43 92 47 dd 49 42 d0 a3 b5 37 86 d6 77 55 74 fd e0 4a 61 | ..E..".>..Id.C.G.IB...7..wUt..Ja |
08c0 | be c9 f3 5b 33 0b 3f 73 9f 76 a1 20 62 cf 20 50 13 82 8d 1f e3 d1 8f 64 98 16 89 4c 59 5a a0 7f | ...[3.?s.v..b..P.......d...LYZ.. |
08e0 | a3 1a 58 82 f0 c6 a4 44 eb e6 f1 f7 42 dd 20 93 5f d7 50 d5 0c 24 9b 55 68 0c 2b 65 77 5a 75 f2 | ..X....D....B..._.P..$.Uh.+ewZu. |
0900 | 0b e3 df fa fe 95 bf f7 af c5 97 7d bb 79 c4 ef fd f1 87 7f f0 7f f9 b5 da 2c 22 61 8d 99 3d e7 | ...........}.y...........,"a..=. |
0920 | 82 87 70 ca c1 8f 79 5e 94 cb 74 48 64 0c 20 3d c3 fd 0a b7 cc 3a 11 0b 7e dd 42 f8 85 6f 4d b9 | ..p...y^..tHd..=.....:..~.B..oM. |
0940 | 1c 1e 97 04 4b 0a 31 d1 5e a7 bd 95 cd b3 f5 70 f5 c0 c9 87 bf e2 fd 3f 7f e8 f9 4f b1 22 87 dd | ....K.1.^......p.......?...O.".. |
0960 | 6b b2 90 e6 ce 66 06 ba c6 c5 8c a8 4d 05 4f c8 0e ab 0a 84 bc fc 5d 3f 37 fe e6 7f 2c cd de a1 | k....f......M.O.......]?7...,... |
0980 | b5 d8 e9 58 f2 8e eb 09 6d 2e 11 78 17 77 5f 9c 20 ed d8 43 47 d4 c4 66 50 b7 3f 3c d0 33 81 11 | ...X....m..x.w_....CG..fP.?<.3.. |
09a0 | 8d dc 51 08 69 0c f3 1e 0e ae 15 c6 78 9f d9 98 0a cb 97 6a 6b 2d 11 84 f8 55 29 ba 45 31 d0 ad | ..Q.i.......x......jk-...U).E1.. |
09c0 | ef 8b 27 40 ca 24 49 75 81 40 c5 ec eb 72 cd df 68 97 e6 d3 bf 5d 3f f1 41 bb 69 ea 69 0d 8d 42 | ..'@.$Iu.@...r..h....]?.A.i.i..B |
09e0 | 5e 64 56 23 2c 6b 47 17 d8 6a 8d fa cf ff b5 b8 ed b5 1f 7d f4 cc 8f fc b3 5f ab 6b e4 4e ed e2 | ^dV#,kG..j.........}....._.k.N.. |
0a00 | 74 91 14 45 84 36 de 63 1e 80 ae ac 45 e4 22 ed 61 4a d0 dd eb 7c d1 36 35 8d ec 81 6c 99 79 8e | t..E.6.c....E.".aJ...|.65...l.y. |
0a20 | d9 04 b3 62 9a 4a c9 14 61 87 08 c4 74 22 68 91 6a 5e 3c f0 e8 bb ff d6 43 bf b1 b1 f7 ae db 8e | ...b.J..a...t"h.j^<.....C....... |
0a40 | 7e b8 98 ac ab fe 4a d2 4f a4 31 8d 66 09 4e 95 59 85 5c 92 c7 9b 12 a1 6a fe 53 35 48 79 fe bb | ~.....J.O.1.f.N.Y.\.....j.S5Hy.. |
0a60 | ff cd f8 eb bf 3f 31 0e 1d 39 6d e0 aa 6a 78 8b 37 9b fd f7 38 e1 51 aa 10 58 6b ea f9 0b 00 0f | .....?1..9m..jx.7...8.Q..Xk..... |
0a80 | 76 e0 13 3c ab c9 5a be d4 7a a1 01 6f 73 91 61 5c 25 13 a5 13 61 52 a9 b2 51 e3 b2 01 c2 9e 72 | v..<..Z..z..os.a\%...aR..Q.....r |
0aa0 | 8e 28 99 41 6d 01 66 42 0a f4 39 d1 cb 06 a2 b7 34 7d d9 54 67 24 13 96 14 e6 b6 a5 25 bc e1 08 | .(.Am.fB..9.....4}.Tg$......%... |
0ac0 | 99 ba 7e f4 2f 10 78 08 a8 46 4f 2a 73 4a 85 39 93 e6 4c 9b 1b 2b 0e 14 fb 13 05 c9 9a 33 a7 4f | ..~./.x..FO*sJ.9..L..+.......3.O |
0ae0 | fd da db 7e e0 0f b2 d1 d6 58 a4 74 2a 85 f3 3d 99 fb 65 97 2e f7 21 1f b7 ac a8 48 fb c4 8c 82 | ...~.....X.t*..=..e...!....H.... |
0b00 | 75 4d b9 cf 42 f8 45 8a af 80 09 77 b0 88 b7 a5 30 e8 8b 36 35 56 ab 11 bb 27 58 6a 9c a9 22 ad | uM..B.E....w....0..65V...'Xj..". |
0b20 | ea d7 7d ec 17 5f f9 f9 77 b2 06 0e 9c 7d 5c 89 44 0d 86 69 91 88 44 68 f3 96 cb 86 92 1b f4 ba | ..}.._..w....}\.D..i..Dh........ |
0b40 | 29 37 71 a0 41 9a 34 5e a9 14 a7 fe ee cf 4d de 6c 10 58 6b 6b 7e b9 35 35 3c a4 e9 3b 94 8a 73 | )7q.A.4^......M.l.Xkk~.55<..;..s |
0b60 | 53 5b 9a e9 4b f2 ea e7 93 1d 10 df a8 e3 c4 20 65 5d 94 47 a0 f6 bb 91 86 d8 6b 85 50 4c 63 de | S[..K...........e].G......k.PLc. |
0b80 | ee 85 cd d9 d9 8d 09 27 bf 01 b7 4e dd 3a a2 44 f9 a2 01 44 77 d4 ec 5c 06 84 0d 3d 9f 62 7e 03 | .......'...N.:.D...Dw..\...=.b~. |
0ba0 | a5 98 5a 4a 91 a4 49 be 04 e1 8d e6 8a 9e fb 82 3e f3 38 33 71 be 14 66 d5 83 89 03 25 07 63 2b | ..ZJ..I.........>.83q..f....%.c+ |
0bc0 | 0c 08 2b c5 52 dc 4f 2d 34 58 92 94 13 7d eb e9 4f 7c df c1 fd ff e2 d4 cd 20 09 4c c0 5b 93 d1 | ..+.R.O-4X...}..O|.........L.[.. |
0be0 | 9a 38 1b 13 9a 67 22 46 d4 78 a1 32 f3 1c 4c a0 3d c0 b3 75 02 79 50 f0 b6 c1 05 4c b8 6a 8c 2f | .8...g"F.x.2..L.=..u.yP....L.j./ |
0c00 | 5a 95 8d 4c 90 3d 91 06 49 49 bf 3f d9 f8 86 8f bd fd c1 e3 7f 59 f2 be 32 1b 80 09 0e 53 21 f3 | Z..L.=..II.?.........Y..2....S!. |
0c20 | 04 f3 99 b5 46 04 9a a7 36 af 9a 9a 17 75 95 a5 92 1b b3 08 cf be e5 9f 8f be f6 07 f2 12 dd 6b | ....F...6....u.................k |
0c40 | 47 cb 82 e3 2f 04 b4 e9 f8 98 95 a1 62 00 bb 7a e3 80 8f b3 9d 75 6d 3b 30 e8 7d 4e 3e 77 23 78 | G.../.......b..z.....um;0.}N>w#x |
0c60 | 34 12 f6 b8 b2 9f 39 b2 84 f6 98 69 a3 24 6d 5e ba cd 25 c2 b0 48 57 7a d9 d6 b8 c2 67 b0 d1 a0 | 4.....9....i.$m^..%..HWz....g... |
0c80 | 76 69 09 3c 41 0a 6d 20 50 c8 57 97 18 1d 6a b4 8a 60 f6 2d c7 d6 28 f2 cf cd 37 92 24 4b 10 de | vi.<A.m.P.W...j..`.-..(...7.$K.. |
0ca0 | 60 86 f0 d8 27 f1 44 d5 82 a2 0a 80 b2 66 bd 94 d5 66 f9 d7 e6 37 54 d6 24 59 9b 61 fc 43 35 dd | `...'.D......f...f...7T.$Y.a.C5. |
0cc0 | 54 3f 7e d7 b9 67 d6 d3 df 3b 76 98 17 8a 52 e3 14 e4 09 bb 2e 45 a8 97 b1 5e 1d f2 21 b2 67 d6 | T?~..g...;v...R......E...^..!.g. |
0ce0 | 33 99 41 cb 7c 78 77 0c eb 5c 80 2a 37 35 1a 3a 9f b8 b6 c6 90 88 12 a8 a7 55 9e 4b f3 5c b5 c8 | 3.A.|xw..\.*75.:.........U.K.\.. |
0d00 | d7 46 e7 ff ce 47 ff a7 23 17 3f 5b 26 2b 4d 89 c7 18 04 8a 22 c1 52 18 a5 54 a9 f0 99 09 81 c6 | .F...G..#.?[&+M.....".R..T...... |
0d20 | 05 c5 94 86 c0 f2 80 04 aa 27 5f f9 03 67 be ea fb 57 ca a9 32 37 26 c2 c2 05 e2 a2 6d 88 7c 4c | .........'_..g...W..27&.....m.|L |
0d40 | ee ca d8 38 6b 5d 55 97 36 e4 2f 54 37 03 fe 91 5d 0a 94 03 eb d8 c3 50 84 ad ec 07 86 b6 54 8d | ...8k]U.6./T7...]......P......T. |
0d60 | f8 28 be 3e ad 8e 6f 4e 0f ae e4 fb fa b9 0e 01 21 b0 34 15 37 ef 1b 98 57 bf b8 31 43 7c 52 e6 | .(.>..oN........!.4.7...W..1C|R. |
0d80 | d4 b9 a3 36 14 6c f0 b7 31 91 65 d5 98 33 89 25 dd 33 b5 9a d4 c6 17 3f bf a5 c7 2a f3 d1 31 2c | ...6.l..1.e..3.%.3.....?...*..1, |
0da0 | 41 78 83 81 f0 99 8f e8 d2 46 0e 0a 69 98 4a f1 9e 04 42 a0 ae 8d 3b 6a 2c 24 06 1f 36 dc 33 8b | Ax.......F..i.J...B...;j,$..6.3. |
0dc0 | a1 99 28 09 f0 8b 2f 79 7e bd 14 7f 71 e6 a0 28 b0 b0 85 56 ae e4 a1 e6 2b a2 64 a4 cc 05 31 a2 | ..(.../y~...q..(...V....+.d...1. |
0de0 | 36 34 a1 23 34 da 48 bb 1a 35 15 79 33 e7 51 71 a6 b8 36 d6 cd bc 96 b6 28 a9 ab a6 ac 30 6d df | 64.#4.H..5.y3.Qq..6.....(....0m. |
0e00 | 9b ad 7f d3 67 de 7e e4 e2 e7 ea 7c a8 c7 b8 fa 98 41 5a 4e d5 a1 c6 08 54 98 6c 60 29 17 19 17 | ....g.~....|.....AZN....T.l`)... |
0e20 | 01 81 92 e5 30 7b ea c8 d7 7d e1 d5 6f 5b 33 1f a6 66 1a 69 53 5b b4 46 f5 00 b4 b8 25 f3 3b 87 | ....0{...}..o[3..f.iS[.F....%.;. |
0e40 | dd 45 c0 27 5c 22 c6 89 79 af f5 6a ec a8 f3 21 b9 4f ae d8 48 37 84 92 d0 96 6b 83 83 9f f5 42 | .E.'\"..y..j...!.O..H7....k....B |
0e60 | b9 f6 84 8d 85 bf f9 f3 d2 c4 7c 68 13 16 28 3d b0 25 0a 3e 74 24 8c ee db 3d 18 4d d5 68 52 31 | ..........|h..(=.%.>t$...=.M.hR1 |
0e80 | 60 8e 92 51 96 95 61 d6 1e 1a 5f b4 69 14 ee 4a e6 ab 9b d6 c3 c1 e6 3f 79 83 ee f5 7a 0f 3d bd | `..Q..a..._.i..J.......?y...z.=. |
0ea0 | fd f1 a3 fa c9 73 c9 46 d9 5f 82 f0 46 ca 4c 5c 39 d1 9c 7c 0a 7d 18 cb b2 19 17 b4 56 66 2b 35 | .....s.F._..F.L\9..|.}......Vf+5 |
0ec0 | a7 d4 9c 42 6e a2 27 69 7e b8 ad 89 d2 bc c6 25 d4 a8 d9 36 14 bd fa df de ff cc 7a c9 3f 7e 65 | ...Bn.'i~......%...6.......z.?~e |
0ee0 | 3f cf a9 88 05 0b ca d0 b2 79 5f 94 e2 32 2c 90 49 6d 5d 28 b8 a2 2a ac 0a 05 9f fc c2 fc 9f d2 | ?........y_..2,.Im](..*......... |
0f00 | 98 ee 33 ce 99 86 e0 9d 21 38 11 0d f8 d6 ea ed d1 37 5c fc 2f 87 b6 9f b9 ef dc 27 54 6f 55 4d | ..3.....!8.......7\./......'ToUM |
0f20 | 6b a5 30 43 28 33 49 55 db 60 f0 85 f9 76 44 a0 20 1b 88 f0 33 3b 46 ce cb 33 ab f7 7e f4 c1 1f | k.0C(3IU.`...vD.....3;F..3..~... |
0f40 | ea a7 3d 55 55 aa 48 55 c7 8e e1 a6 22 1d 62 b8 88 10 b6 33 0c e4 1c 02 e3 62 4d 24 ec e0 5e 76 | ..=UU.HU....".b....3.....bM$..^v |
0f60 | f6 4c 40 f7 8a 76 be 28 57 3e d8 d3 6d 2a 01 37 40 e3 3d 6e 96 cd b6 71 aa 81 6f 4d eb 71 bf c9 | .L@..v.(W>..m*.7@.=n...q..oM.q.. |
0f80 | 53 e9 92 10 f6 ab d1 e8 60 ef df d3 db 1e 57 c1 11 0d 74 a8 f9 b2 a8 16 a8 41 ff d3 3c 57 6d ce | S.......`.....W...t......A..<Wm. |
0fa0 | 60 f9 e8 09 fe b3 7f 5a fd ec 77 a7 6f fb 96 db 7e a8 6a 9e 7c 7e fd 43 0f 9f 5f 82 f0 86 02 e1 | `......Z..w.o...~.j.|~.C.._..... |
0fc0 | d1 e6 ca 65 9b 97 c3 d5 40 b1 04 6e aa e6 c4 1a 8f c6 a0 b1 e4 26 2c 74 c9 60 c7 a1 28 a8 f5 b4 | ...e....@..n.........&,t.`..(... |
0fe0 | 66 7b 8a e9 ff fd c0 e3 df fb f8 03 9f d8 38 00 69 8d f0 13 29 31 2f 66 3d 18 e7 96 37 e8 ab 16 | f{............8.i...)1/f=...7... |
1000 | ac 4a 53 10 7d c9 8c 7d 4d a4 22 eb a8 a4 2d a4 e6 50 36 26 1a 35 e6 8e 4b a1 d3 4c 67 60 7e 2b | .JS.}..}M."...-..P6&.5..K..Lg`~+ |
1020 | 4a 07 62 8d 88 52 c2 f8 59 7f f7 b9 5f 7d e3 c5 ff a7 e2 b9 2e fa c6 c5 d2 35 b9 b5 84 40 7c 2d | J.b..R..Y..._}...........5...@|- |
1040 | 13 38 6a 8d 05 00 b9 b5 81 d4 6d 28 45 22 9a 69 b2 f2 fe db bf 6f bc 76 cb 00 1a 26 0a f4 4d c9 | .8j.......m(E".i.....o.v...&..M. |
1060 | f7 a5 8a cb 16 74 92 62 53 00 fb 96 10 24 dc d7 0c 70 b6 20 08 b4 30 84 4e 5e 83 43 07 80 6d 57 | .....t.bS....$...p....0.N^.C..mW |
1080 | 44 94 a0 77 bc 8b 8a 3a 27 b4 cf 5e 6c 4e 9b 53 5b 33 e3 7c 58 da d3 dc 52 d5 f0 dc 85 f1 e1 3d | D..w...:'..^lN.S[3.|X...R......= |
10a0 | bd 7e 6e f6 0e 9b 67 c0 a7 a8 1b 7d 69 7d 6a b6 21 b2 84 16 81 e4 8e 52 ee c1 f8 a1 e6 1b c2 c7 | .~n...g....}i}j.!......R........ |
10c0 | 13 2c 8d 3d 94 ba 7a ea 44 f5 3d 3f bf f1 33 ff 60 e3 db de 7c ff 03 f7 de f5 c0 bd b7 2e 41 78 | .,.=..z.D.=?..3.`...|.........Ax |
10e0 | 03 5d ea a7 3e 8d db 69 ad 68 3d 1b 10 d6 a0 b0 aa 02 8d a1 31 83 8d 0d d2 b8 af c8 70 c9 75 63 | .]..>..i.h=.........1.......p.uc |
1100 | 0c cd 42 d9 aa d8 5a 56 fe e6 3d 8f fd f8 b1 fa 7d 97 0f a3 3b 2b 44 5d 4b b3 a8 d7 06 7a 6f 5f | ..B...ZV..=.....}...;+D]K....zo_ |
1120 | df b1 bb be 67 6f 73 f3 ea e6 fe 81 de dd 63 bb 0b 48 a5 40 13 26 88 af 11 89 d9 d5 37 ea 6c aa | ....gos.......c..H.@.&......7.l. |
1140 | d3 2b 55 7e 71 96 9f 2f 07 67 a7 83 4b f5 60 da 14 db 75 4f 26 20 0a f1 6d e7 ff d3 1b 37 de 33 | .+U~q../.g..K.`...uO&...m....7.3 |
1160 | 93 7d 61 b0 cc 58 53 1a c8 21 02 5d 61 1b a0 ad 34 cf 25 0b dc 01 0c 08 a5 05 61 c2 32 a1 de b7 | .}a..XS..!.]a...4.%.......a.2... |
1180 | ff 9b 4f 1e 78 c5 a1 9c 27 19 56 79 99 fb 74 4b e5 3a af 51 f8 90 d0 7b a9 1d 9a c5 59 f5 36 4b | ..O.x...'.Vy..tK.:.Q...{....Y.6K |
11a0 | d1 66 2f ae 9a 0c 6c 41 c8 c1 e7 e8 7d 69 68 d4 3a 48 d4 a8 67 4a e1 ec a8 9a d6 da 26 13 c1 93 | .f/...lA....}ih.:H..gJ......&... |
11c0 | c4 93 b2 39 b7 3e bd ed 60 62 8e 19 8d ab 49 89 0c f6 fa c6 6c 7b 5c 53 6e 95 10 68 49 51 05 94 | ...9.>..`b....I.....l{\Sn..hIQ.. |
11e0 | a9 07 ac b3 25 b7 58 50 d7 26 b9 04 dc f8 ec db db fc 47 7f f5 c2 c6 fa d6 f7 7e e7 4b 19 db b3 | ....%.XP.&........G.......~.K... |
1200 | 04 e1 0d 74 29 9f f8 24 5a bc 00 42 e3 12 99 d3 5f 19 8f d4 dc d8 98 f5 6d cc 9e 39 9b b4 26 10 | ...t)..$Z..B...._.......m..9..&. |
1220 | 93 c4 ae 30 c4 29 55 0c 97 15 ef 25 f5 2f df fc c4 db 75 f9 27 9b b7 1e 59 53 af b9 6d fc 9a 5b | ...0.)U....%./....u.'...YS..m..[ |
1240 | d4 03 fb d5 dd bb f5 ae 82 25 12 53 e5 e6 3f f3 34 1a d3 05 92 3a 29 cc 53 26 94 c5 93 09 36 d8 | .........%.S..?.4....:).S&....6. |
1260 | 4b 13 34 36 4c d6 2c 69 78 ba 5e e5 a7 26 83 67 47 ab 4f 4c f6 aa e3 47 bf 65 fd 0f 6b f4 77 31 | K.46L.,ix.^..&.gG.OL...G.e..k.w1 |
1280 | e0 44 04 d6 18 0a 52 b5 1a fa bd 1a d7 9c f1 42 99 48 19 a1 1b a9 51 03 c5 42 54 47 7b f7 7e 62 | .D....R........B.H....Q..BTG{.~b |
12a0 | df 9b 77 0d 8b ac 9f a6 fd cc 80 d0 be 79 5b 08 66 1b 11 1d 29 ca e3 26 5f 2b 03 e0 1a b1 da 3c | ..w..........y[.f...)..&_+.....< |
12c0 | 3d 38 04 02 df 51 cc dd f1 42 7d 32 d0 7b 99 e0 a3 c1 50 19 a3 a3 b4 84 4d 80 18 2f b2 c4 c2 23 | =8...Q...B}2.{....P.....M../...# |
12e0 | fb 35 3b 66 4a 5b ca 93 28 b1 d1 b4 39 76 66 cb 04 7b 54 26 8a 85 b2 16 7e 8a 02 42 cb c7 a0 43 | .5;fJ[..(...9vf..{T&....~..B...C |
1300 | 40 6e 2e d8 da 76 fc 3a 12 99 66 69 5e a8 bc e9 d5 6a 5c 65 ff f3 af 6f 5e ba fc d0 4f fc d0 cb | @n...v.:..fi^....j\e...o^...O... |
1320 | 96 20 bc 61 92 13 a3 2b ea fc f3 ce e2 d9 3d d8 c0 cf 9c c1 aa 41 8f b4 b6 25 18 36 29 45 6c b8 | ...a...+......=......A...%.6)El. |
1340 | 40 85 09 5c 3d 82 37 15 ae a7 a6 86 29 63 c5 2e f1 0b af bb f4 c3 c3 e4 ee 03 62 6f 1f f2 44 d4 | @..\=.7.....)c............bo..D. |
1360 | 5a 94 8d 84 5a 54 15 2f 31 b6 a3 ae 36 4b a1 0a 9b 44 27 c4 38 a5 0a 13 de 25 18 3e 62 07 aa dc | Z...ZT./1...6K...D'.8....%.>b... |
1380 | 2f a6 37 ed da fa ea 03 17 66 d3 a3 c7 9f 7a 7f 89 a6 0e 95 30 cc 7e df cc 28 bf 90 08 9b b4 a4 | /.7......f....z.....0.~..(...... |
13a0 | 8e 01 e0 05 91 31 92 3a 15 8d 19 4e f0 15 9a 24 7f ef ea 5b f5 ea 81 de 30 cf fb 45 92 67 3c 91 | .....1.:...N...$...[....0..E.g<. |
13c0 | da 15 f7 30 c1 9c 51 17 d8 72 d0 51 c1 60 41 f0 22 f2 35 db 7f fc 2f 68 6f 6c fd d0 9d f6 b0 cd | ...0..Q..r.Q.`A.".5.../hol...... |
13e0 | 0a 72 87 3a e5 43 41 db 96 bc 3e ad cd db 2e 52 e1 a9 4e 6e 0b d8 02 02 6d e3 c9 68 5a d7 b5 e6 | .r.:.CA...>....R..Nn....m..hZ... |
1400 | 3e b3 49 b9 07 8a d3 95 cf 4c 58 f8 69 5f f3 87 b1 01 6d 71 29 40 c1 70 e7 d2 ac 68 90 f1 fe e9 | >.I......LX.i_....mq)@.p...h.... |
1420 | df d9 ec 89 cf 2c 41 78 c3 f0 a2 e7 9e 55 17 4f 63 26 bc 56 2e a1 6b ae 48 dc 99 31 13 6c c2 8e | .....,Ax.....U.Oc&.V..k.H..1.l.. |
1440 | 06 d7 02 c6 1a d2 9c 78 1e 4e b1 b9 a5 26 41 85 ec 60 d6 3f d2 2f 0e f4 d3 5e fa 95 62 5a 35 62 | .......x.N...&A..`.?./...^..bZ5b |
1460 | 36 93 33 2a 2e 03 44 9d eb 10 c4 4c 20 86 79 84 3a aa 60 6b 85 62 10 37 14 c3 89 44 5b 18 89 a4 | 6.3*..D....L..y.:.`k.b.7...D[... |
1480 | 32 7f aa ec ca e7 9e 28 d7 d7 35 66 38 10 73 4d 6d c2 1d 2d 33 e9 6c 93 30 6f 5b 1b 03 28 53 6e | 2......(..5f8.sMm..-3.l.0o[..(Sn |
14a0 | fd 4f 03 3f cc ad 49 de 93 e5 47 f3 af 7a 66 ed e5 37 ed 2a 8a 61 cf 80 50 66 29 13 82 45 fd 41 | .O.?..I...G..zf..7.*.a..Pf)..E.A |
14c0 | d6 dc b9 ac 1d 99 b6 e0 97 0a 16 98 5c 16 43 2d fc 0d a1 65 d9 e3 12 7c 3a 10 7c fa 11 7c dd 37 | ............\.C-...e...|:.|..|.7 |
14e0 | f2 bc e0 93 f2 18 e7 82 f5 72 a7 b5 3a 37 2a d7 27 f5 5a 2f d9 3f cc ad 17 1a 72 19 54 8f 86 5e | .........r..:7*.'.Z/.?....r.T..^ |
1500 | f3 64 d6 6c 8c ca e9 ac e1 6d 6e b5 4d 69 10 c1 cc 59 e4 f4 ba 94 22 be 38 96 17 61 9a d7 f7 4f | .d.l.....mn.Mi...Y....".8..a...O |
1520 | 68 73 ce ea a6 a9 aa 7f fe ce f5 25 08 6f 98 80 f0 ca 71 5e 35 c8 a4 04 10 2a e5 9a cc a9 54 05 | hs.........%.o....q^5....*....T. |
1540 | c3 0c 5b 1b 95 70 c7 d1 21 f3 8d b5 2d f9 e1 7c 78 5b 91 ed cd 0c 5e cc a3 9a 99 ae 1c de 50 64 | ..[..p..!...-..|x[....^.......Pd |
1560 | 82 92 7c b6 16 da 49 2b 59 63 88 ed b7 36 75 40 61 a1 85 1f c7 72 6c 69 62 45 6a 3a 24 40 a6 d9 | ..|...I+Yc...6u@a....rlibEj:$@.. |
1580 | e4 c2 a5 cd 67 8f 9a 5b 90 1e 15 42 19 d7 b8 42 2e 15 7f 98 ef ae 10 5a e6 d2 d9 51 fc 11 e6 39 | ....g..[...B...B.......Z...Q...9 |
15a0 | 8c 99 9c 88 fe 87 06 7f bb d8 bd d6 5f ed 15 03 63 06 13 89 91 a2 20 c6 c5 b2 b3 cc e6 49 c8 e2 | ............_...c............I.. |
15c0 | 71 16 ab 2a 45 be a5 68 d3 f1 9c 87 6c be f3 53 e7 b3 85 d6 34 bb 3c 03 b8 e7 6f ab d2 a2 16 41 | q..*E..h....l..S....4.<...o....A |
15e0 | d2 68 6a 4e 6f ce 4a 85 cc 95 09 05 4f ad 4f 95 f6 29 44 72 35 99 d3 ce c1 36 ae 13 67 46 56 42 | .hjNo.J.....O.O..)Dr5....6..gFVB |
1600 | c6 52 ca 3a ea 12 86 1d c5 35 ce 1e 6a 27 ff 81 f2 16 66 6f ca 19 b6 72 35 5a 35 aa a8 ca ba 5a | .R.:.....5..j'....fo...r5Z5....Z |
1620 | ca 5b dc 38 96 f0 e4 51 8a 2a 34 7a a1 4e f6 44 69 e7 e7 98 d3 8f 90 74 31 0c 71 7a 8a d4 4c 8a | .[.8...Q.*4z.N.Di......t1.qz..L. |
1640 | 03 e9 ca 1d 45 b1 2f c3 e8 ce 78 50 0d d5 27 62 70 a2 4d 70 42 44 01 47 89 28 cc 09 0b e0 ae 57 | ....E./...xP..'bp.MpBD.G.(.....W |
1660 | 9e 16 15 01 cf ea a5 61 86 41 a2 49 24 41 37 5c 2b 04 45 72 4d 8d 1f 5b 6d 3c fe 34 9a 62 ed 6a | .......a.A.I$A7\+.ErM..[m<.4.b.j |
1680 | 56 a1 41 af 94 a7 b8 17 70 fb 04 ca 98 41 81 a9 79 fa b1 a0 36 57 4c 34 f8 a1 ec 55 27 56 ee bf | V.A.....p....A..y...6WL4...U'V.. |
16a0 | 79 b5 97 0d 7a a9 71 f5 d2 44 0b 67 47 00 6c c2 9d 07 fb a6 a3 c2 17 67 06 a9 a2 86 4a 2f 9d 1c | y...z.q..D.gG.l........g....J/.. |
16c0 | 06 6f cd 63 d4 7b bc 53 e8 89 c7 0d 4a f3 bf 3d c2 f9 66 d9 9c dc 40 c7 da 66 48 cb 9a e4 3b 78 | .o.c.{.S....J..=..f...@..fH...;x |
16e0 | 90 a8 98 4f 8e 68 62 c5 b8 cd aa 46 b5 e0 ee 25 ad 05 f5 32 33 ba 23 db 66 df 13 6e 6d 32 cb 92 | ...O.hb....F...%...23.#.f..nm2.. |
1700 | 22 4f aa 22 29 fb 83 ba 5a 82 f0 86 01 e1 a9 a3 c8 ca 98 93 4c 5a 66 08 36 e5 20 d7 50 5b af a2 | "O.")...Z...........LZf.6...P[.. |
1720 | 3f 8d 25 34 70 30 47 64 bb e5 ee 7b 7a fd 83 b9 89 af c0 d7 f6 db 6e 23 e4 6c 90 a0 d3 8e 18 c0 | ?.%4p0Gd...{z.........n#.l...... |
1740 | 9b ac a7 64 6b 51 84 87 9f 64 56 b7 90 f0 c6 84 33 7d c4 d6 58 5a 53 88 2c db 3e bb 39 db d8 e0 | ...dkQ...dV.....3}..XZS.,.>.9... |
1760 | 52 34 d4 ad 8f 8b af d6 f6 69 c0 e9 d6 68 cc d4 a7 08 64 9b 9a b7 cf 64 cc e0 4c e4 1f ce bf 2a | R4.......i...h....d....d..L....* |
1780 | 5b 19 16 2b 45 de cb 92 2c 15 89 24 01 0c 07 06 49 db 8a 6d c3 0f 1c 4c a8 26 8b 73 0c c1 65 e5 | [..+E...,..$....I..m...L.&.s..e. |
17a0 | 2d 71 ea 68 9b b8 da 26 8a fd 1c 2b 63 3d 4f f0 f0 d0 11 1a cd e3 47 95 ae 94 09 73 6d 51 90 b6 | -q.h...&...+c=O.......G....smQ.. |
17c0 | 70 d6 91 64 45 4b a8 ea 90 0f 69 53 8b c0 3a ba 34 f4 3d e3 43 c1 16 8e 02 eb 0a b6 d9 9d 43 50 | p..dEK....iS..:.4.=.C.........CP |
17e0 | d2 26 4b f2 22 eb f5 f4 12 84 37 52 4c f8 bc 09 ab a8 dc 09 03 10 34 77 b6 18 9f 51 25 3e 9d 54 | .&K.".....7RL.........4w...Q%>.T |
1800 | f3 53 1b 47 b3 c7 77 dd df 5b bb b3 90 85 a4 65 6c 99 74 ae 4d ac 8f 89 3b 0d ca a9 9b 20 14 41 | .S.G..w..[.....el.t.M...;......A |
1820 | db e2 29 db f4 ed c5 d6 ac 60 a8 e3 66 1c 7b 1e d0 13 18 9a 44 36 d3 d9 e8 e4 59 14 ec 53 36 80 | ..)......`..f.{.....D6....Y..S6. |
1840 | 12 f6 19 91 14 b5 2d 1a c8 af 68 cc 46 a0 0b ea 1c 5b cb f8 e4 bc f9 7c 72 df 73 fd fb 0e af 66 | ......-...h.F....[.....|r.s....f |
1860 | b9 31 83 c8 c7 08 e8 74 24 59 ec e1 0d 02 1c fd 69 1d 70 5b 10 a3 7d cf 92 45 1d d5 99 ba ac a0 | .1.....t$Y......i.p[..}..E...... |
1880 | eb 36 f4 f0 0b cc cd 5c 47 7c d4 16 38 7f dd fa 90 bb fb c9 a8 6c c6 58 68 4e 82 90 ba 2b c4 1b | .6.....\G|..8........l.XhN...+.. |
18a0 | 5b 52 ff 90 c0 a9 ba d7 a3 1f 1d 5a 2f bd 09 9d d7 c6 08 b7 50 d3 34 36 51 e4 99 ea f5 d2 a6 5e | [R.........Z/.......P.46Q......^ |
18c0 | 82 f0 06 c9 d3 43 33 5a 57 8d 76 35 be f6 4c 53 ee 01 8b c7 28 69 df 50 0f 68 ef 40 b2 ff 15 83 | .....C3ZW.v5..LS....(i.P.h.@.... |
18e0 | 62 6f ca 1c c9 e9 b2 73 ca c4 2b 15 c6 8d d4 7d 8b 4a 66 54 79 86 7c 09 79 45 bc 55 d6 44 1a 53 | bo.....s..+....}.JfTy.|.yE.U.D.S |
1900 | 61 a1 88 0d 74 02 fc a4 a3 6a b4 65 54 8c 5d d3 72 74 76 8c 75 d8 52 9a f0 53 db 6c 98 22 2f 52 | a...t....j.eT.].rtv.u.R..S.l."/R |
1920 | 22 db 81 a6 d4 95 c3 71 07 6a 1f 60 da 0e fd 8f a7 af 82 fe 4a 36 28 8c 23 8a 7c 8c 71 6e 29 fb | "......q.j.`........J6(.#.|.qn). |
1940 | a2 59 54 b6 4d 56 24 d4 67 5b 50 da f6 3c ee af c7 9e 2a 8f 8c 21 ef 42 3a 8e 27 81 2d f6 45 3b | .YT.MV$.g[P..<....*..!.B:.'.-.E; |
1960 | 4d 4c c6 53 97 fc e6 5d c5 89 2b d3 69 a5 3a 0f 63 2c 12 2f f4 d5 36 f6 bc 44 bd 96 2c dc 12 d3 | ML.S...]..+.i.:.c,./..6..D..,... |
1980 | a1 ba 93 a0 f4 9c 8d df 23 28 ab 81 0e 48 92 24 79 ae 9b de 12 84 37 46 7e 62 ba 55 6f 6d 37 35 | ........#(...H.$y.....7F~b.Uom75 |
19a0 | 23 f1 66 ae 1c 08 81 3c 4a 04 61 43 fa 09 7b 1e 2c f6 3d 38 a0 8a 4b b2 66 74 e2 d1 fa 19 f8 d5 | #.f....<J.aC..{.,.=8..K.ft...... |
19c0 | e6 7a 82 81 9f ab 5a 44 27 54 5b 10 23 77 e9 49 46 57 0e ed 9b 77 99 35 b2 0a b1 d1 d8 02 53 34 | .z....ZD'T[.#w.IFW...w.5......S4 |
19e0 | 8c 40 f9 89 7a c4 a6 9b 33 2c 35 85 48 91 05 9b 78 b9 d3 44 a4 9e fc 10 07 b6 1a 19 58 af a6 af | .@..z...3,5.H...x..D........X... |
1a00 | 88 5d 8f 65 f7 f5 7a 66 a9 a5 22 43 96 c6 22 4f fb 66 a5 20 79 18 9c 4f ee 03 45 1d 12 15 e0 04 | .].e..zf.."C.."O.f..y..O..E..... |
1a20 | ca 78 94 cc 88 af b3 b9 9c 7e 17 8a 7a c1 75 5f a5 6d e3 6e 63 d4 13 b1 52 24 db d3 46 74 bc 4f | .x.......~..z.u_.m.nc...R$..Ft.O |
1a40 | aa dd 8b ec aa 82 39 f6 c5 c7 7e 76 97 f3 09 47 88 10 48 ae 3b 68 1d a1 5a bb 6d d3 85 05 92 44 | ......9...~v...G..H.;h..Z.m....D |
1a60 | a0 96 00 b8 21 40 38 9b 54 d3 52 51 a5 45 53 3b 16 d4 1a 40 73 d6 ea 1a 92 9e b8 e9 15 fd b5 23 | ....!@8.T.RQ.ES;...@s..........# |
1a80 | 05 b5 12 92 c9 c2 b6 51 ad 2a 13 43 1a 47 54 3a 0d 2f db c9 56 93 53 aa 5b 89 0b 80 28 a9 cd ad | .......Q.*.C.GT:./..V.S.[...(... |
1aa0 | e4 1a e9 4c 38 3b 84 a9 65 4c 9b 61 d8 68 f6 00 92 43 e4 72 b2 e9 7a 31 cc fb e0 9e 74 b0 ed 46 | ...L8;..eL.a.h...C.r..z1....t..F |
1ac0 | ae 49 97 b7 c9 45 7c 53 2e a2 c4 db 53 a1 1e 67 47 2e ca fd 07 33 21 52 64 44 39 49 92 39 4d 51 | .I...E|S....S..gG....3!RdD9I.9MQ |
1ae0 | c2 95 70 29 f2 8e ad 03 4f e0 3a bd 53 ee 4c a2 45 a3 a0 aa 00 0e de ad 03 97 ae 6b cb bb bb 5d | ..p)....O.:.S.L.E..........k...] |
1b00 | 48 1a da 8f af 61 87 9d a4 5b 8c ab 3e ec a5 7b 1b 3d 99 a9 59 d5 78 59 0f 82 15 a5 e0 35 d9 2e | H....a...[..>..{.=..Y.xY.....5.. |
1b20 | d6 f5 30 63 64 06 2d 9a 40 c9 30 ea 63 4a 0a d9 df df 2b 37 eb 72 ab c2 ae 42 88 78 1b da 8b 50 | ..0cd.-.@.0.cJ....+7.r...B.x...P |
1b40 | 70 72 09 c2 1b 05 84 e3 ad 7a 34 6b 2a a4 04 ea 86 d9 36 26 e5 83 c0 fe be e4 d6 57 0f 7a fb 32 | pr.......z4k*.....6&.......W.z.2 |
1b60 | 24 64 88 df 47 04 1a b3 59 22 61 83 85 c2 0d 06 68 04 25 ad 67 58 2b ac c5 5c 45 57 10 3f 24 4d | $d..G...Y"a.....h.%.gX+..\EW.?$M |
1b80 | a6 8e d4 8a f1 0f 53 1a 88 80 25 39 7e ff 57 06 f9 aa c2 56 1b 80 38 19 40 dd 0e 92 44 48 d1 5e | ......S...%9~.W....V..8.@...DH.^ |
1ba0 | 5a ec f9 8c a3 70 f2 1a a4 dd 06 9f e6 0f d4 32 43 cd 69 34 ad b6 17 a3 13 c2 e9 90 1e 8c 05 71 | Z....p.........2C.i4...........q |
1bc0 | 44 30 77 c8 58 86 3c be 73 58 db 06 48 f7 24 2e 32 84 f9 38 8e 79 8b c7 bc 4e 4c dc 2c cf a2 b8 | D0w.X.<.sX..H.$.2..8.y...NL.,... |
1be0 | 0e 5b 37 24 3b b0 bb 68 14 ac 6f 57 17 ae 4c 29 14 c7 66 a5 5e 91 98 b7 3f 99 34 db db 55 f0 e5 | .[7$;..h..oW..L)..f.^...?.4..U.. |
1c00 | 9d a9 b3 06 50 59 aa 3a 54 a3 fa 8a 77 73 06 32 79 f0 25 7b b2 95 ac a9 55 39 69 d6 4f 8e 36 8e | ....PY.:T...ws.2y.%{....U9i.O.6. |
1c20 | 6d d9 36 34 d7 12 4a 5b 9b d9 b9 96 20 bc 51 62 c2 ba d6 35 ed c2 28 32 aa 6c 1a 90 55 b5 de 75 | m.64..J[......Qb...5..(2.l..U..u |
1c40 | 6b 76 fb ab 57 d2 95 04 e3 3d ca dd 19 a4 18 ff 53 cd 1a 6d 8e 47 e9 04 e2 eb cc 69 2d 41 4f 14 | kv..W....=......S..m.G.....i-AO. |
1c60 | c6 6e a9 5b 82 00 51 fe cc cf 94 b0 d6 01 bc 18 0d 65 b0 6c 3f 5f 82 f5 6b d8 fe 8d 9a 4b aa 4a | .n.[..Q..........e.l?_..k....K.J |
1c80 | bd 0b e5 6b 28 09 83 48 87 3a 7a 95 12 d0 02 88 d6 f1 42 1a c2 bd 4e 53 ea de e6 19 b1 4f 86 54 | ...k(..H.:z.......B...NS.....O.T |
1ca0 | 81 0e fe 1b ef 84 70 71 72 82 f0 e6 45 e2 bc b1 72 9d 90 b6 ed ca ab 3f 71 54 7d 63 6e ec c5 7c | ......pqr...E...r......?qT}cn..| |
1cc0 | 0f 85 c3 dc 4e 86 a6 2b dd 1b 65 16 b4 83 d6 ae 95 cc 3c fb a5 8d 72 d7 6a 36 1c a4 06 21 e6 e0 | ....N..+..e.......<...r.j6...!.. |
1ce0 | d5 35 96 a4 93 0b 17 a6 31 53 ea ca 97 54 db 89 e8 3e a0 89 e4 6b c8 86 d9 81 fb d6 d2 61 8a 7a | .5......1S...T...>...k.......a.z |
1d00 | 6a e6 6b 1d a6 fb 1e dc 63 dc f2 73 0f 5f b0 2d f7 ae 19 83 76 b6 25 08 6f 0c 4b 88 78 c3 fa 50 | j.k.....c..s._.-....v.%.o.K.x..P |
1d20 | 24 32 6d 4a d0 d8 c0 5a ef bf 3b 3f f2 ea 41 92 1b e0 59 e3 93 21 02 67 75 33 ab 55 85 45 52 b4 | $2mJ...Z..;?..A...Y..!.gu3.U.ER. |
1d40 | d4 88 b1 9c 29 35 26 10 a7 60 5b 8a 5a e7 8c bb 89 12 2c b2 69 6d 2b 06 ef f6 e5 e1 92 40 5a 55 | ....)5&..`[.Z.....,.im+......@ZU |
1d60 | 35 dc 57 65 d3 42 15 f4 2e 03 19 e3 ac 1f 43 27 d3 96 dc d0 8f 8d fa a4 10 e3 4a bc f4 e9 0f fe | 5.We.B........C'..........J..... |
1d80 | cd 1d 6f a9 60 77 63 76 06 65 79 a2 8e e7 29 16 8d 6d d1 de b8 51 4d a9 13 b4 88 43 44 c1 1d 30 | ..o.`wcv.ey...)..m...QM....CD..0 |
1da0 | bd 71 df 59 3d 0a ad c0 36 78 b9 8e 88 25 61 31 38 21 90 26 ee fa ca 30 35 71 ac d9 53 94 cd b3 | .q.Y=...6x...%a18!.&...05q..S... |
1dc0 | d2 61 bb f6 14 a3 51 33 1a 55 f6 c1 36 09 e1 ca de 5c 1b 21 7a 12 aa c1 2e ac b5 9b 07 bb 8f ac | .a....Q3.U..6....\.!z........... |
1de0 | 08 e3 91 2b ed 38 36 f2 69 57 6e 19 36 95 ba f4 f8 45 54 73 e6 ae 69 93 c1 b2 a9 f7 46 01 21 94 | ...+.86.iWn.6....ETs..i.....F.!. |
1e00 | 15 34 8d 65 41 31 31 5e 57 ec e0 fd c5 1d af 19 98 80 0a ac fe bb cc b1 49 74 5a 36 d3 46 95 60 | .4.eA11^W...............ItZ6.F.` |
1e20 | ab a5 31 e7 86 62 4a 5a 8f 6b 30 4e 5b 4a 1a da 2a f2 43 85 2d 30 71 52 28 21 4d ee cc 01 8f 04 | ..1..bJZ.k0N[J..*.C.-0qR(!M..... |
1e40 | 23 bc b2 92 81 14 4a f1 31 54 da b6 cd 05 b6 ed d6 aa 1d 3a 8b e8 13 8d 44 a9 12 1d 6a 6f 64 56 | #.....J.1T.........:....D...jodV |
1e60 | 61 9f 8d c6 6c 65 b4 f5 da a7 ff e4 af ef 78 00 8d 7c dd 98 a0 28 c9 fc bb 80 a8 d2 0c 5c 9e 50 | a...le........x..|...(.......\.P |
1e80 | 78 24 70 2f 72 01 8e 02 f6 ef 8d 9c 51 6d 9b a6 c0 f5 24 f3 39 77 36 d6 b7 87 4e 8a ae 8d c8 7c | x$p/r.......Qm....$.9w6...N....| |
1ea0 | 4d 4b 97 0a 6d 0b d0 10 81 d0 d6 eb 68 62 8b f6 1f ea cf 9e 6b ca b2 21 6f 93 7a 97 b5 76 15 de | MK..m.......hb......k..!o.z..v.. |
1ec0 | 54 b4 2d 33 b9 72 53 3e d8 57 a4 fd 14 83 49 6c ea f2 c9 43 65 dd 57 58 39 b2 cb 38 a8 97 1f bf | T.-3.rS>.W....Il...Ce.WX9..8.... |
1ee0 | 30 3a bf a1 aa c6 da d4 25 08 6f 10 6f 94 3a 25 6a 84 8f 01 61 55 c2 4d f7 17 77 bd 66 88 23 01 | 0:......%.o.o.:%j...aU.M..w.f.#. |
1f00 | 71 95 49 9e f6 8c e7 d9 4c ca 7a a2 8c a7 87 05 2b b8 42 51 4c c9 04 81 c6 06 e2 52 95 5e ba 3d | q.I.....L.z.....+.BQL......R.^.= |
1f20 | 40 90 12 79 9d e6 3a 6c bb 88 04 76 3b 52 0f 2c 94 43 53 bb aa c7 1b 23 13 a7 b1 ed c9 31 22 c2 | @..y..:l...v;R.,.CS....#.....1". |
1f40 | 8d 55 e3 de 06 da 5b 5a 5c 09 36 dd 6e 2a 29 5e 7e ec 03 27 8e bd ee fc c1 6f 1b 96 b5 32 06 51 | .U....[Z\.6.n*)^~..'.....o...2.Q |
1f60 | 27 36 21 28 3c ac 2c 41 6a 71 e5 a2 d5 36 7f d8 e6 fd 84 2f 28 0d f6 90 0a 42 23 e5 8e 1d da 32 | '6!(<.,Ajq...6...../(....B#....2 |
1f80 | 21 2c 8c bb 78 e7 5d 53 e8 6a 6c 07 92 a5 7b bb 7d 60 92 c9 7d 87 fa 57 2e 4e 0d 02 31 87 9a 63 | !,..x.]S.jl...{.}`..}..W.N..1..c |
1fa0 | 9d f7 6c d4 98 d3 61 be e7 7c 25 1d ec ef c9 5c e2 19 69 9c 6b 1a 67 2f 88 63 63 ba 52 c9 30 df | ..l...a..|%....\..i.k.g/.cc.R.0. |
1fc0 | f7 ca 5b fa 17 76 8d ce 6d 8e ce 5c 52 e3 72 09 c2 1b e2 62 16 71 ad d0 23 35 e7 69 36 83 9b ee | ..[..v..m..\R.r....b.q..#5.i6... |
1fe0 | 2b ee fe ca 21 36 28 d0 1c 1f 2e 53 e3 aa 12 02 4d 28 88 71 a0 15 73 c6 c8 c2 04 81 d3 1a 1d 9a | +...!6(....S....M(.q..s......... |
2000 | 84 db c8 c4 a3 90 7a e9 7d f3 8e 57 b2 07 88 0c 22 04 61 6d 16 54 04 31 c4 b2 0b 88 db d6 5a eb | ......z.}..W....".am.T.1......Z. |
2020 | 88 02 91 24 76 14 93 15 21 a4 46 60 ab dd e6 66 7c 7a 51 0a 4c b2 2b 98 8d 15 60 f1 5b f3 c6 4f | ...$v...!.F`...f|zQ.L.+...`.[..O |
2040 | fe fa 7b 6e 7f c9 68 f7 cb f2 b2 ca f2 54 0b 11 6a 3d 29 f5 c1 6d c6 c2 32 a5 e0 6f e7 de e1 b4 | ..{n..h......T..j=)..m..2..o.... |
2060 | 74 a8 76 29 0d 47 87 ba 21 4d dc 91 35 3b 0c a1 8f 65 a1 a5 5e 58 d7 24 b6 56 2e f2 45 5b 75 19 | t.v).G..!M..5;...e..^X.$.V..E[u. |
2080 | e8 f0 2c 0e 99 0a 53 9e c5 30 6d b4 db 2d 90 59 45 11 3c 1a bc 88 92 3f 80 09 09 3f 0a 46 6b 8f | ..,...S..0m..-.YE.<....?...?.Fk. |
20a0 | 64 e5 ea d7 6c 77 05 f5 3d f1 7c df 6a b6 77 ad 7f f3 de f3 9f 79 42 2c 01 70 43 80 90 63 a9 d9 | d...lw..=.|.j.w......yB,.pC..c.. |
20c0 | ac 66 e3 89 de 7b 5b 76 ef 57 0d 78 42 c9 6f 92 5c d1 aa 6e c6 e3 66 5a d5 93 1a 75 2e ac 2d 31 | .f...{[v.W.xB.o.\..n..fZ...u..-1 |
20e0 | 67 74 a4 d4 a4 01 ca 0d d0 09 b6 e4 80 9d 18 c8 1c 61 11 3a 55 a9 96 ad 55 6b d7 21 d3 e5 b0 69 | gt...............a.:U...Uk.!...i |
2100 | 09 9a d6 69 73 d2 7e 1e 75 76 6a 1a d2 a1 c2 75 5c b8 99 32 61 9a 9a 9b 75 61 ee 52 26 be 9d 61 | ...is.~.uvj....u\..2a...ua.R&..a |
2120 | 3a b1 49 b2 7d 5b a7 be e9 af de 9e 9e 3f 31 56 49 dd a0 8b 46 17 df d5 3e 67 9d a2 76 db 60 88 | :.I.}[.......?1VI...F...>g..v.`. |
2140 | 14 8b c5 79 5b ed 5d d7 e6 d7 66 c8 59 a8 57 09 6d cf 2c 1e a9 0b 9d ea 6d e5 db ea 5b d6 14 16 | ...y[.]...f.Y.W.m.,.....m...[... |
2160 | 14 79 b7 36 8d a6 f0 da 10 1b d3 b9 8a c2 07 72 37 28 5b 4b d5 4e 01 81 f6 69 75 94 c4 77 ba cd | .y.6...........r7([K.N...iu..w.. |
2180 | ae ba 50 d5 ba a9 9a 74 30 d8 7d ff 1d 4b 10 de 18 20 2c 86 b5 28 26 53 3d dc 9f 3e f8 ba 15 99 | ..P....t0.}..K....,..(&S=..>.... |
21a0 | 09 0a b6 48 9b a2 a9 d5 78 a6 4a 55 8d 15 06 f4 50 23 9e 94 52 63 83 40 b2 81 26 2c b4 04 9d c7 | ...H....x.JU....P#..Rc.@..&,.... |
21c0 | 18 b9 8f 3c e4 c5 5c 1d a9 67 d8 61 21 69 e8 f8 0b e6 fe a7 fe 27 9f 91 27 b9 c4 d8 f9 b4 f5 6d | ...<..\..g.a!i.......'..'......m |
21e0 | de 11 65 7e 88 45 28 08 40 bd b8 0a e7 c6 e0 f8 9a 24 bb f5 f4 a3 6f f9 a3 1f ef 9d 79 66 cc 8b | ..e~.E(.@........$....o.....yf.. |
2200 | 46 3b 8b e7 c0 46 1e a9 6e d3 6c 9d 98 ad 65 35 a2 d6 db 38 2f d0 39 06 22 0c f8 7b 95 d7 83 09 | F;...F..n.l...e5...8/.9."..{.... |
2220 | 98 b7 cf a6 a0 13 25 aa 48 76 ad 33 28 db 03 78 67 ca de bd b4 72 18 0b d6 4f c7 d5 db ca a9 21 | ......%.Hv.3(..xg....r...O.....! |
2240 | fa 94 04 b3 1a 50 5a b9 9d c3 ec ae c5 de 3d 4b 10 de 10 17 39 58 69 78 91 0d c4 97 7d ed d0 fc | .....PZ.......=K....9Xix....}... |
2260 | a6 04 1c 7a 83 da c4 51 b3 5a d7 ac 1c 83 aa 7c ce c1 9c ce 51 a5 a6 53 c8 b4 53 40 b4 a5 18 4e | ...z...Q.Z.....|....Q..S..S@...N |
2280 | 1f d4 6b 1f d9 dc bd d2 e0 2a b9 3d 1f a3 bd 72 a9 f6 92 d1 da 37 a1 86 69 60 e0 33 01 7e f8 ae | ..k......*.=...r.....7..i`.3.~.. |
22a0 | 1b e4 24 78 c8 d1 3b ec b9 51 6a ed c4 19 46 9e 9b 31 86 21 a1 57 66 f9 2d a7 1e f9 96 df f8 fb | ..$x..;..Qj...F..1.!.Wf.-....... |
22c0 | 47 3e f5 87 15 c8 2a eb 9b a8 4a bb f4 37 a8 d8 d4 2c 98 56 ed 2d 1e cc 41 ae c5 95 ea fe b8 e7 | G>....*...J..7...,.V.-..A....... |
22e0 | 01 8f 40 60 d1 63 21 9e 71 1d 1b 3d 1d 0f 24 f4 86 54 45 99 95 60 9f e7 f0 d6 39 20 2a a3 f1 94 | ..@`.c!.q..=..$..TE..`....9.*... |
2300 | 8c 17 e4 8e 7e c0 53 35 98 cf 50 4b 76 f4 06 01 a1 e0 59 4f de fb ba e1 ea 3e a9 b4 70 95 62 b5 | ....~.S5..PKv.....YO.....>..p.b. |
2320 | d6 65 a3 1b 66 6c a0 9a 39 7f 11 98 54 13 a5 67 8a a7 8c 24 9d 19 aa 20 6a 0d 7e fc 20 29 59 ba | .e..fl..9...T..g...$....j.~..)Y. |
2340 | e8 ce 4e e7 6a d3 7d 7c e7 fc 06 e8 0c 7c 70 1c 48 5b 8d d9 8e b6 f0 ba 83 de ee 05 17 b4 93 1f | ..N.j.}|.....|p.H[.............. |
2360 | b0 54 89 31 83 71 99 80 c1 73 95 e6 ab 97 4f be f1 9d 6f 3b f7 c8 bb 9e 7f e3 ff 78 e9 c1 37 54 | .T.1.q...s....O...o;.......x..7T |
2380 | c3 bd c2 ab 12 37 ac 9d cd c6 c8 90 73 df 22 61 c3 c5 54 db d2 3b 6c d9 c0 bb 70 5b 51 bc d5 74 | .....7......s."a..T..;l...p[Q..t |
23a0 | 5a c8 75 cd 4f 05 05 06 5d 0f 00 74 9c 07 8d 78 9a 78 f6 0b 74 89 d3 b0 8f 81 ee 98 c7 18 7e b6 | Z.u.O...]..t...x.x..t.........~. |
23c0 | d4 46 eb 30 9a 82 05 1c 46 51 80 4b 36 9a 63 96 20 bc 31 d8 d1 66 76 cf cb e4 be 7d b9 52 5c a6 | .F.0....FQ.K6.c...1..fv....}.R\. |
23e0 | 09 e9 ec 2a 9c 3f 01 bc 9e ea 6a 82 6d 11 58 94 cd a5 36 08 9c 36 3c e7 6e bb e5 58 e5 4d a1 23 | ...*.?....j.m.X...6..6<.n..X.M.# |
2400 | d0 30 5d c7 18 50 3f 0e da c0 ee 32 85 48 1d 30 ea 0b e0 bc 05 a4 66 de 96 b2 58 54 b0 85 1a 55 | .0]..P?....2.H.0......f...XT...U |
2420 | 80 da c4 02 e7 6d 53 6d c8 33 9a 9f a6 86 90 5e 0f 94 a9 4a 71 fe cc ed 0f bf f7 ce 27 3e 30 bd | .....mSm.3.....^...Jq.......'>0. |
2440 | e9 f6 ad 23 2f 1b 1d ba 5b f5 d7 84 6d e8 6d 27 63 73 4b 28 55 fd 5d 55 7f b7 64 66 ff c9 ce a6 | ...#/...[...m.m'csK(U.]U..df.... |
2460 | 87 cb 24 4f b4 f1 d9 7b 7c b8 ca 77 ed 96 6b bb 91 0b a9 eb f8 25 e2 ad a5 f3 3b 94 b9 40 4b 13 | ..$O...{|..w..k......%....;..@K. |
2480 | eb c8 d2 b2 28 89 1f 4f 65 02 6f 48 9d 87 ac 5b 2f da c1 55 b7 06 50 6b af 1d e9 f0 d6 fa 17 e1 | ....(..Oe.oH...[/..U..Pk........ |
24a0 | 30 a6 83 9b 0a b6 90 1e e5 29 97 00 b8 21 2e 47 df bd 6f ef 3a 49 b6 24 b8 c6 eb 46 97 35 46 ff | 0........)...!.G..o.:I.$...F.5F. |
24c0 | 35 54 23 05 0d aa c7 e3 fc a3 0a d4 b4 e6 99 88 ab 3f a8 b4 91 78 13 c9 a3 49 4a 34 c6 cc 67 25 | 5T#..............?...x...IJ4..g% |
24e0 | a2 61 9a 11 5b da 8a 41 04 ab e5 18 53 9b 2b 8f c4 e9 e7 33 8a 3e 49 17 0f 15 6d 9b 8c 90 b5 67 | .a..[..A....S.+....3.>I...m....g |
2500 | 0c 38 db d1 73 2b aa ac c8 04 ac 5d 38 ba ff e2 d3 19 36 12 30 7e f5 b1 66 76 37 69 04 3f bb 72 | .8..s+.....]8.....6.0~..fv7i.?.r |
2520 | e4 73 87 df 7c 66 f5 6e a9 6a fc 8a 8a 5e b3 ba 5b be ec d5 83 7b ee 37 bb 95 b3 4a 5d 82 b4 a3 | .s..|f.n.j...^..[....{.7...J]... |
2540 | 38 1a ac 22 74 2a da 02 59 ca e2 ae c0 b8 15 38 76 41 23 63 c8 bc 1d 53 6c 87 ff e9 99 18 ed 29 | 8.."t*..Y......8vA#c...Sl......) |
2560 | 23 db 8d 0d 21 1e f5 d5 36 da 4d 12 05 0e 00 4b 08 bc c8 66 f0 cc 43 1b bf f9 9d 50 8d 05 76 1b | #...!...6.M....K...f..C....P..v. |
2580 | 64 66 55 a9 69 a9 51 bb 89 cf 36 9b 66 42 8d 49 dc 6c a7 a2 de ae 10 81 c8 c4 d0 ba b1 8e 91 4b | dfU.i.Q...6.fB.I.l.............K |
25a0 | cd 51 3f 9f df e6 b1 78 2d 92 e8 8c 40 16 a5 ec 59 e4 71 32 16 d5 65 7a 09 95 b6 c2 26 d8 43 ce | .Q?....x-...@...Y.q2..ez....&.C. |
25c0 | 43 01 80 0b 0e fd 15 1b 35 1a a3 9c 88 0b 27 a7 a7 9e 1c 65 19 4f 13 94 78 4b 12 bc 42 3f e6 ba | C.......5.....'....e.O..xK..B?.. |
25e0 | 01 1e 4f 24 cb 52 96 66 f8 e7 17 1d f1 62 e0 6f 6c 60 23 d2 47 0f bc fe e1 c3 6f 9c d5 6a b6 b5 | ..O$.R.f.....b.ol`#.G.....o..j.. |
2600 | be 75 f9 d2 d6 68 bc e7 cd df 7a fb b7 7d 77 77 de 6e 17 8d 10 a9 3c 41 87 2c f5 c5 74 73 3a 88 | .u...h....z..}ww.n....<A.,..ts:. |
2620 | 51 aa d0 eb 6d fb 72 cf 50 b3 e6 23 d2 60 dc a2 b2 18 df 54 e1 06 c2 28 12 e8 0a 85 a6 c1 2f c5 | Q...m.r.P..#.`.....T...(....../. |
2640 | fe 6d e5 68 dc a5 25 7c b1 2f d5 f6 e4 7d ff 4a 4f 47 a2 48 78 96 a2 0b 59 d5 a8 1f c1 ac 23 0a | .m.h..%|./...}.JOG.Hx...Y.....#. |
2660 | 54 4b 69 6e e5 6a 52 d3 ec 02 ee 86 dd d1 50 cd 68 5c 18 b8 dc 99 59 25 15 8d 0a 15 4e 41 17 76 | TKin.jR.......P.h\....Y%....NA.v |
2680 | 60 10 e2 a1 31 e0 27 52 73 57 e0 dd 8e 88 77 4d 7e 71 eb ba 1f 63 1d 8a a9 dd cd b1 2a 7d c7 2a | `...1.'RsW....wM~q...c......*}.* |
26a0 | d1 88 da 79 6b c7 49 a9 11 47 6b 00 02 72 a1 31 8c 90 63 7c ee cc c4 81 7f eb f4 7f 5d d9 3e f5 | ...yk.I..Gk..r.1..c|........].>. |
26c0 | c7 c5 d7 5c d8 9a 4e 36 af 6c ad 5f 79 f2 17 ff 8f e4 c0 e1 23 6f 78 63 33 ab 17 85 bb 1d 6f b3 | ...\..N6.l._y.......#oxc3.....o. |
26e0 | 8d fd 58 47 f9 22 4a 12 d2 cc fa 28 c1 d0 76 3c 59 67 15 98 9e e3 60 e6 a8 51 c7 de 46 87 e9 4e | ..XG."J....(..v<Yg....`..Q..F..N |
2700 | a2 a2 b5 81 3e 91 02 cb 98 f0 45 bf d4 8f fc 76 79 f4 93 22 c1 29 59 18 c6 cd 2a 2b 9f 6e ce 53 | ....>.....E....vy..".)Y...*+.n.S |
2720 | b5 ad 50 44 10 b5 14 98 2e 95 1d 02 43 52 0d e6 61 d8 af c4 9c 70 3c 25 10 30 8c d2 1c 24 54 a4 | ..PD........CR..a....p<%.0...$T. |
2740 | 01 e3 66 a4 45 dd 4c bc db ac 00 21 41 df a5 33 ac b1 73 95 72 ad c6 04 8f bd ca 88 a3 61 dd b9 | ..f.E.L....!A..3..s.r........a.. |
2760 | 10 11 4f 13 95 74 76 66 29 39 73 2b 69 e9 cd 70 92 0c 29 23 8a 76 44 14 74 5c d8 50 8b 23 b4 28 | ..O..tvf)9s+i..p..)#.vD.t\.P.#.( |
2780 | ee 19 3d f9 fa ad c9 af 5e be 63 bc b5 31 da dc b8 74 fa d4 78 7b 9b 04 36 80 ed cc d7 c3 dc 38 | ..=.....^.c..1...t..x{..6......8 |
27a0 | 5e d8 11 04 42 c7 3c 42 54 43 03 91 5f aa 1d 97 cc c2 28 ec 2e 3b ea 47 32 b9 20 30 00 d2 8d 07 | ^...B.<BTC.._.....(..;.G2..0.... |
27c0 | 55 2d 89 4a 2e 28 77 f3 ae 5c ea 62 59 b6 f6 e2 3a a2 eb 47 c7 ff ef af a0 3b 97 4a 2c d8 9f d5 | U-.J.(w..\.bY...:..G.....;.J,... |
27e0 | d4 97 84 9d b8 d5 48 eb 1a 24 6f 98 6d 66 d7 e0 f8 10 cb 7a 97 da f9 5f 92 18 4d ee b8 43 0c 90 | ......H..$o.mf.....z..._..M..C.. |
2800 | 4a 82 9a 8c 98 0a e0 3b 17 a8 0d ff 3c 13 0a f1 34 b5 4e 19 1b 6f ff a5 69 86 6e 1c 19 8f ef f0 | J......;....<...4.N..o..i.n..... |
2820 | 8f 12 6d 10 18 15 c6 75 c9 53 1e 45 89 c6 2f cd 33 56 96 38 fe d4 d6 c1 75 c6 2b 8a 05 16 72 c6 | ..m....u.S.E../.3V.8....u.+...r. |
2840 | f3 d7 24 67 df b3 dd bc f7 44 55 6f af d7 4d 33 bc f9 56 9b 36 5c f0 f5 86 8f 63 6b da bb 36 d0 | ..$g.....DUo..M3..V.6\....ck..6. |
2860 | d5 cd 40 9c 12 f4 ed f3 11 11 da a9 62 db 91 99 70 5e ab 6e 2d 5e 40 a3 0e b1 9f d7 9e c1 74 2e | ..@.........b...p^.n-^@.......t. |
2880 | 97 6a 56 56 b3 4a e4 05 b9 2d d8 33 ba 04 e1 8b 79 29 3f f1 ab 7a 74 05 43 c1 54 62 23 93 0d 1b | .jVV.J...-.3....y)?..zt.C.Tb#... |
28a0 | b0 18 9f 57 63 65 b5 99 34 46 15 91 61 31 c7 94 3e 25 41 d9 70 9c 5c 6d 81 83 0d 16 64 04 13 ee | ...Wce..4F..a1..>%A.p.\m....d... |
28c0 | aa bc 5a 6e 22 72 d1 7c d5 28 f0 68 f2 74 68 8c a5 c2 b0 b9 91 d4 d4 54 c8 83 e3 1a 54 25 c0 cd | ..Zn"r.|.(.h.th........T....T%.. |
28e0 | 34 b3 f5 a4 36 02 e3 5e 49 25 1a 30 18 cd de 8d 9d 58 bb a6 f3 8c 8b c6 aa 5b cd b1 38 8b 2f 99 | 4...6..^I%.0.....X.......[..8./. |
2900 | 14 af ed 5d fc dd 8b 55 a2 f4 ee 3b ee d0 c3 03 97 2e 57 ba a9 e7 1e 2e 44 27 7b d1 16 a9 f3 0e | ...]...U...;......W.....D'{..... |
2920 | 59 c4 7d af 48 a7 25 bf 4d a3 52 74 17 6e b7 3c a7 4f 5d 76 1d ce f9 7c a0 2b da f6 56 11 68 ee | Y.}.H.%.M.Rt.n.<.O]v...|.+..V.h. |
2940 | dc e8 e4 d9 ad e7 9e 53 b3 8a 17 79 ff c8 91 62 df 5e 13 be 2f 41 f8 a2 5d f4 d9 87 a6 9f fc 2f | .......S...y...b.^../A..]....../ |
2960 | 5c 92 b8 8b 2b ee d0 34 db dd 20 10 15 d3 24 b7 9d 30 2e f6 10 92 cc 20 15 cc 50 51 b7 8b e0 9c | \...+..4......$..0........PQ.... |
2980 | 19 34 4f 48 03 80 88 b9 09 83 89 78 b0 6c 21 78 74 77 45 7f 43 18 6d 64 35 08 21 be d7 4b 77 76 | .4OH.......x.l!xtwE.C.md5.!..Kwv |
29a0 | 5a 68 7d 27 2e 0f 7d 17 1d 07 54 26 73 e9 43 4f 00 01 8b 33 0a 9c 8a c9 71 0e aa e8 38 ba f1 95 | Zh}'..}...T&s.CO...3....q...8... |
29c0 | 9d 80 34 68 bd ad a7 d7 12 bd a9 d8 da 1d f7 f1 5d 87 47 db 93 c5 53 0a 5b 77 14 3a dd 15 73 ef | ..4h............].G...S.[w.:..s. |
29e0 | 8a b9 49 8e 54 89 e7 2a fe a2 91 8e ad ba 8c 37 92 be 3e db 67 de 83 25 d4 51 3e d0 8d 2b b4 b2 | ..I.T..*.......7..>.g..%.Q>..+.. |
2a00 | 6b c6 00 4e 67 9b 47 4f 8c 4e 9e 04 9c 1d 02 cd 64 54 6e 5c 19 de 79 57 ff 96 5b 96 20 7c f1 cc | k..Ng.GO.N......dTn\..yW..[..|.. |
2a20 | e0 43 ff d1 b8 9e b2 48 11 44 a8 e2 84 a3 1d 00 47 d9 a5 cd a4 92 12 c9 18 5b 70 68 2b 16 81 7a | .C.....H.D......G........[ph+..z |
2a40 | 94 74 45 fd a7 82 5a 70 71 9d 08 67 c9 4c 94 58 6a 96 50 a2 22 ca 86 c1 1c d5 b9 d0 67 0b 7d eb | .tE...Zpq..g.L.Xj.P.".......g.}. |
2a60 | cc 56 49 fb 10 2f 58 44 16 e1 27 b2 84 2c 1a 76 0f 6e 60 19 35 aa 27 22 f0 ac b1 4f 09 3b a0 95 | .VI../XD..'..,.v.n`.5.'"...O.;.. |
2a80 | a5 d8 90 88 33 0f bb 5d 81 bc 1b 54 b2 a8 45 a3 a9 ea fd 07 f7 ec de 33 59 3f bb 7d f8 35 6f 02 | ....3..]...T..E........3Y?.}.5o. |
2aa0 | 12 b5 87 45 dc 4e 44 43 c5 ad 15 3e de 03 8f 52 08 b2 14 a4 fa ab e3 fa 71 46 82 fe dc 91 c0 a2 | ...E.NDC...>...R........qF...... |
2ac0 | 15 d5 ef 02 0f da e4 84 15 f8 09 11 20 a9 4e 4e ce 5e d8 3c fa 7c bd b5 6d 65 d0 31 de 40 8a 5b | ..............NN.^.<.|..me.1.@.[ |
2ae0 | 6d 3f f5 54 b5 b1 54 e0 7e b1 cc e0 f9 cf cc 1e 7e 8f 48 51 fa c1 ca 9f 61 35 3e 0a 7e 25 26 1a | m?.T..T.~.......~.HQ....a5>.~%&. |
2b00 | 34 16 42 d8 96 23 3a 85 96 24 21 7a 86 aa bc 30 86 e4 2e 71 27 fc 98 94 52 51 47 ae 68 23 be 38 | 4.B..#:..$!z...0...q'...RQG.h#.8 |
2b20 | 26 0c ac 4c 27 5f c8 e3 24 61 3c 1e 17 ec aa 76 2f dd da 4b 68 13 16 5e 08 bb 3b 94 cc e2 3e cd | &..L'_..$a<....v/..Kh..^..;...>. |
2b40 | 04 f7 bd 82 31 7a b9 0b 12 79 8c 34 73 64 bf 40 f1 71 a5 16 a5 27 e6 70 55 57 7c cf de 43 3f fc | ....1z...y.4sd.@.q...'.pUW|..C?. |
2b60 | d3 c5 a7 7f 2e bb 5c ee 7f d5 1b aa c9 94 24 70 dc c8 a6 78 d6 7d 9c 2a 6c ad 62 2c 53 0f 6d 0f | ......\.......$p...x.}.*l.b,S.m. |
2b80 | 7e 60 65 18 b3 f4 a6 af 14 d7 76 f2 0b 4d 6f 23 28 a2 b8 38 15 aa 53 b7 17 ef f4 2b 29 16 95 c8 | ~`e.......v..Mo#(..8..S....+)... |
2ba0 | 10 4f c3 c5 ec e2 fa e5 cf 3f 6e 83 66 9a 14 e3 93 f7 94 e6 99 9e 3d b3 04 e1 8b 64 06 3f fb 07 | .O.......?n.f.........=....d.?.. |
2bc0 | 78 02 73 1c bd 02 25 f1 31 c4 6a aa 46 a8 b2 36 fe 29 8d 0a b5 d2 13 b4 1c 12 94 a0 87 9a 26 35 | x.s...%.1.j.F..6.)............&5 |
2be0 | a4 5c db 68 50 38 33 a4 49 24 9f a7 d8 72 e1 46 c6 cc 51 9e ad 33 c6 3b 24 3e b4 63 a7 c3 78 5a | .\.hP83.I$...r.F..Q..3.;$>.c..xZ |
2c00 | 27 a2 d4 b1 28 e1 5e 1b 4b 76 8b c5 78 e7 49 d1 1d 4d 05 0e a9 e7 8b 98 55 bf 1f 84 89 de 9a 46 | '...(.^.Kv..x.I..M......U......F |
2c20 | 12 67 b4 12 69 e4 c3 55 60 88 3d 97 35 ef 0d 77 fd d8 4f 4f ef 7c 55 bd b9 75 e8 ab df 92 1f b8 | .g..i..U`.=.5..w..OO.|U..u...... |
2c40 | 7d b2 b5 9d 64 89 4c d0 f8 02 5f e0 8b 46 66 10 5a d9 38 df 71 1f 38 53 1d f1 a7 3e 2b e8 75 d1 | }...d.L..._..Ff.Z.8.q.8S...>+.u. |
2c60 | e8 46 9c f4 52 13 d6 48 95 d9 aa 69 33 1a 14 40 e3 57 b9 3d 57 e0 79 51 67 2a 71 92 36 8d 3d a6 | .F..R..H...i3..@.W.=W.yQg*q.6.=. |
2c80 | b1 05 7e 7e 9a e3 62 09 99 72 09 c2 17 c3 0c 6e 9c 2c 1f fd 73 91 91 00 19 32 31 0a f3 0a e6 87 | ..~~..b..r.....n.,..s....21..... |
2ca0 | a7 f5 4c 4b 41 67 58 59 3a 92 64 d0 ac bc 4a 89 d1 3d d9 40 3b da c5 ae 63 aa 14 ad 80 94 77 79 | ..LKAgXY:.d...J..=.@;...c.....wy |
2cc0 | bb df b7 95 2c d1 f4 e7 60 00 e3 25 0e ac e5 5c da 99 64 6d f0 06 91 09 9d 2b 35 8d 97 3b 77 09 | ....,...`..%...\..dm.....+5..;w. |
2ce0 | 0a 8a 10 53 96 a4 42 d7 ba 33 26 82 c5 b5 69 ed 3f 69 8a 12 e3 d3 8a b9 92 bb b9 63 2c 23 ac 1a | ...S..B..3&...i.?i.........c,#.. |
2d00 | 96 e5 3c cf f6 fc f8 cf 26 0f be 49 9f 7e 7c 70 e8 b6 5d 6f fa de cd 73 57 b2 42 16 c3 7e d2 e3 | ..<.....&..I.~|p..]o...sW.B..~.. |
2d20 | 32 91 3c f2 7e db 84 65 fb 15 84 f1 2c 2c ce e2 6b e6 2a d6 5c e9 36 6b b3 f3 a1 db cb 59 4b e6 | 2.<.~..e....,,..k.*.\.6k.....YK. |
2d40 | 6a df 1d 49 83 d1 01 3a b1 6e 3e 06 a7 b2 41 6a 2d 09 3d 13 e6 70 d9 1f 88 3c af c7 13 e6 87 18 | j..I...:.n>...Aj-.=..p...<...... |
2d60 | ba 6c 88 13 f9 5e e6 09 5f 14 33 f8 e8 bb b9 da e6 18 bf 19 77 a4 32 10 42 3f 53 0b 6c 8f 6f 2a | .l...^.._.3.........w.2.B?S.l.o* |
2d80 | 14 ac a8 43 0d 07 65 ff cc 79 ad 39 96 6f 65 d4 bd 16 42 24 d2 83 41 77 c9 00 35 e5 de cf f2 79 | ...C..e..y.9.oe...B$..Aw..5....y |
2da0 | 80 36 db dd d2 33 b0 73 b8 3b f7 c0 8c 22 36 88 73 0d dc b7 1a 32 b0 cc a9 63 72 3c 81 03 9c 47 | .6...3.s.;..."6.s....2...cr<...G |
2dc0 | a3 5a 30 76 95 52 24 b9 ac 2a 15 cf 30 6b 29 99 90 66 04 6d 6d b8 71 01 50 c0 2a a2 30 c3 3f 50 | .Z0v.R$..*..0k)..f.mm.q.P.*.0.?P |
2de0 | 55 e6 e9 8a 2f 7f 9d 18 ac 0c be f6 ad d9 83 5f c3 d8 7a 79 71 63 d7 9b 7e 6c 93 af 6e 9d bb d8 | U.../.........._..zyqc..~l..n... |
2e00 | df bd 8a ea df d2 b6 57 f1 90 73 89 8b f4 5a bf 14 22 2f 15 42 ba c2 25 2b da 64 20 f3 fd 96 2c | .......W..s...Z.."/.B..%+.d...., |
2e20 | f4 5e 5a 05 c4 4e 95 b6 17 ab 73 22 b1 e4 69 2a 5b ec 4e 32 3c d2 0a b0 a2 f6 56 dd 58 59 7c 5b | .^Z..N....s"..i*[.N2<.....V.XY|[ |
2e40 | 53 a3 db 8e 32 b6 64 47 5f 8c dc e0 6c b3 fe 9b df 27 4f 46 32 63 fd 4a f3 43 22 25 89 d4 53 2b | S...2.dG_...l....'OF2c.J.C"%..S+ |
2e60 | eb c2 6d a5 30 b7 ab 1e 75 94 24 b6 4d 24 64 f6 ac 24 21 71 f0 c4 e8 a1 62 02 88 0e 87 01 1d 62 | ..m.0...u.$.M$d..$!q....b......b |
2e80 | b4 1b b8 c1 bc 9b 07 30 4f 45 b6 56 91 03 8f a5 42 77 fa a6 1d 38 3b 08 a0 1a 5b 26 d2 5c 94 5b | .......0OE.V....Bw...8;...[&.\.[ |
2ea0 | ac 05 1d b7 33 a3 b9 6d 10 02 55 37 25 6b 7a 03 be b6 df 7c 0f c2 ac df ad 0d a8 4b cc ca 08 32 | ....3..m..U7%kz....|.......K...2 |
2ec0 | 8e 8c c8 aa aa 4e ef bc 7b e5 ad df 95 ec 39 90 de 76 8f dc 7f 3b 63 13 76 fe cc 7f f8 70 f5 cc | .....N..{.....9..v...;c.v....p.. |
2ee0 | a5 7c b5 bc 9c c0 9a 4c d3 ac 5f c8 3c 45 53 98 f0 90 1a e9 f8 a2 b1 f5 0b 99 c3 a8 4b 90 45 93 | .|.....L.._.<ES.............K.E. |
2f00 | 2a 6c 6d b7 95 49 6c 6b d6 dc 5c 48 68 ab db 42 db 6e 94 3f a4 63 98 22 94 61 74 61 7c d1 b2 1c | *lm..Ilk..\Hh..B.n.?.c.".ata|... |
2f20 | 1d 3d da 4c 26 58 ea 04 3b 10 48 4f b3 04 e1 f5 be d4 4f fd 15 6c 9d c2 91 b9 38 89 ab 31 4e 26 | .=.L&X..;.HO......O..l....8..1N& |
2f40 | 96 89 4a 9a 52 66 2c a0 55 49 67 3e 43 d5 50 c7 a0 b1 75 5c e1 20 07 68 71 66 c5 5a 68 fc 0b b0 | ..J.Rf,.UIg>C.P...u\...hqf.Zh... |
2f60 | 8c 87 10 2f 8a fc 82 1b d5 29 95 99 ef a5 88 b2 11 91 42 a2 37 7a de 87 74 79 c4 c8 b3 ed 86 89 | .../.....)........B.7z..ty...... |
2f80 | 68 87 ac 05 b0 23 4f 32 12 77 77 0d 16 a8 ba cf 92 dd 7b 12 a1 92 7e 61 3e 47 ff ee bb fb af 79 | h....#O2.ww.......{...~a>G.....y |
2fa0 | 43 76 e4 2e e3 67 ea ed 2d b5 b5 5e 9f 3b 35 f9 e8 07 44 7f c0 b5 aa 8f 1f 35 cf 99 1e 3c 34 fc | Cv...g..-..^.;5...D......5...<4. |
2fc0 | ba 6f 5f f9 e6 ef e2 45 61 a2 41 b5 39 62 f5 16 9b 5c f9 ed bf 38 f7 eb 1f a9 8b a2 ae 92 41 35 | .o_....Ea.A.9b...\...8........A5 |
2fe0 | 2d ad 84 94 71 57 51 01 51 b3 48 ee b8 53 42 07 10 f1 35 d0 1d 5e 6f 9d d2 6e 6b 53 d4 25 08 2c | -...qWQ.Q.H..SB...5..^o..nkS.%., |
3000 | aa 95 09 c5 34 ce 66 b6 20 04 df 9d e4 5f 81 3c 85 ed e7 9e 9f 9e 39 83 85 ea f6 ed b8 a8 d7 57 | ....4.f......_.<......9........W |
3020 | b0 6a 8d c3 43 97 a8 b8 de 20 fc fc 7f c6 ce f4 34 61 25 09 f5 56 84 a7 84 43 69 d3 11 dc 4e 5e | .j..C...........4a%..V...Ci...N^ |
3040 | 46 6e b4 d6 a8 0e 9d 10 e4 24 6f 07 35 38 7e 12 cf 9d b1 90 56 ff c8 25 03 9d fa 51 cb 3d cc d9 | Fn.......$o.58~.....V..%...Q.=.. |
3060 | 2c 58 c4 e3 fb 7c 80 9b 98 d9 29 38 eb 3e 18 a2 f2 b4 f6 80 36 b7 26 9c c4 05 4a 05 a4 96 79 d1 | ,X...|....)8.>......6.&...J...y. |
3080 | 55 95 ec dd 75 e8 cd 6f 11 66 b3 99 6e 15 b7 dc 3c 7c f9 97 0f 5e fe 0a 51 64 a8 b6 7a f1 9c ca | U...u..o.f..n...<|...^..Qd..z... |
30a0 | 72 7a 94 48 be f9 3b b5 41 e3 f1 67 c5 70 65 f0 35 6f ea 7f f5 9b 92 3d b7 a1 0f 38 dd 9c 3d f1 | rz.H..;.A..g.pe.5o.....=...8..=. |
30c0 | 34 9f 8e 13 b8 e5 77 df 77 e9 a7 fe 74 42 94 b2 04 c7 e1 32 a7 02 80 15 d5 b0 f3 43 46 6d 85 c1 | 4.....w.w...tB.....2.......CFm.. |
30e0 | 04 b6 08 64 8c b5 43 60 bc 23 1a 15 d0 f8 3c 6d 74 3b 8b ba 07 95 ef bc 08 9d 13 da e1 96 cc 1e | ...d..C`.#....<mt;.............. |
3100 | 27 4d 75 b2 81 5a bb 52 6e 2e bc cf 40 96 55 24 4b 10 5e df 4b 73 e2 53 cd 99 cf 91 20 3c 67 e3 | 'Mu..Z.Rn...@.U$K.^.Ks.S.....<g. |
3120 | 06 66 0a eb 3c fb dc b2 a3 cc a6 95 1a 65 4b 67 58 1d b5 00 44 4d 0f b6 90 52 c8 04 2d a4 d9 4a | .f..<........eKgX...DM...R..-..J |
3140 | 13 0e 73 94 09 eb 4c 6a 8f 7d 51 ce da 22 6d e0 73 f1 df 3c ec 42 c9 67 b7 f6 b3 75 59 43 a6 30 | ..s...Lj.}Q.."m.s..<.B.g...uYC.0 |
3160 | b6 81 b6 d3 be bf 96 19 db a8 ca 7a e5 ae 3b ee f8 ae ef e3 50 57 eb e7 d7 5e ff 75 c9 de 3d e9 | ...........z..;.....PW...^.u..=. |
3180 | de bd 7a 32 65 aa 66 c6 7f dc bb 3f 3d 78 13 98 a0 e9 d4 73 ea d2 79 a6 6f 1b bc fe eb b3 db ee | ..z2e.f....?=x.....s..y.o....... |
31a0 | e1 b2 47 8c 49 59 9f 3d 5b 3d fd 74 91 68 55 0c 7f e5 5d e7 7f e1 03 d8 25 95 a3 cc 94 f9 02 12 | ..G.IY.=[=.t.hU...].....%....... |
31c0 | 99 a5 22 4d 85 b4 42 04 64 ca f8 fc 47 86 b9 9c 3d b0 ee f4 6c 60 be 4b 70 6e ba 60 2b b9 6d 37 | .."M..B.d...G...=...l`.Kpn.`+.m7 |
31e0 | 47 af 43 d0 a9 59 8b 46 32 69 cb db 58 9a 55 13 27 6a dc 9d 34 35 31 21 46 f5 4d e3 0c 2f 2a ea | G.C..Y.F2i..X.U.'j..451!F.M../*. |
3200 | 81 1b bc 68 be ab d9 6c 09 c2 eb 6b 06 9f 7c 0f b7 8d 03 35 d3 5b 4a 9b 20 c8 16 b8 90 02 05 c9 | ...h...l...k..|....5.[J......... |
3220 | 75 69 9b 18 84 8a a3 c0 b6 58 64 b5 98 15 df 75 73 02 a3 6a b0 4e c3 ee c2 1e 35 d8 31 4c 73 61 | ui.......Xd....us..j.N....5.1Lsa |
3240 | 70 18 eb b0 bd d0 a5 ed 60 12 56 09 d1 92 12 e6 99 f2 95 2c cb 21 df 7b e4 ee ef fb 51 cc b5 6d | p.......`.V........,.!.{....Q..m |
3260 | 5d d9 f5 ea 37 88 7e 81 03 9e a6 13 51 e4 90 d2 ba c6 61 8b c6 98 4b 74 4d 6f bf 9f 70 6d 15 2a | ]...7.~.....Q.....a...KtMo..pm.* |
3280 | 1a 3d 1b 97 4f 3d 2d 2e 9e eb 0f f2 4f 9c 2b 7e f9 43 e5 87 9e 69 72 ec 81 c2 1a a3 24 4b d2 5e | .=..O=-.....O.+~.C...ir.....$K.^ |
32a0 | 9e 16 79 92 e5 c6 98 90 1e 0e fa 10 9d 94 06 eb f2 53 10 06 53 45 a5 33 5e d5 a2 33 49 82 b9 e8 | ..y..............S..SE.3^..3I... |
32c0 | ce b7 cf 0b 5d d3 28 09 fc a0 52 5b d1 73 ed f4 d8 6c 97 bd 17 92 a1 a0 8f b9 4c 84 b9 3d 3f 78 | ....].(...R[.s...l........L..=?x |
32e0 | 78 b6 be 5e 6f 6e 88 5e af 99 4e 4c a0 4b 03 92 09 ee ca 01 7d 09 c2 eb 4a c9 34 cf bc 1f 7d d1 | x..^on.^..NL.K......}...J.4...}. |
3300 | 44 ea 75 e3 9b 61 23 12 0c b0 55 17 95 2a 2b 85 3c a1 5d 28 84 46 ad a2 0e f7 90 45 b0 ea 2e d4 | D.u..a#...U..*+.<.](.F.....E.... |
3320 | d0 64 e2 29 0a f7 17 30 9f 00 f3 66 30 fe 1b 22 fa df 33 7c a1 74 2d d6 b6 e0 be e4 6d 81 cc b5 | .d.)...0...f0.."..3|.t-.....m... |
3340 | a3 61 05 8b e5 2e b8 57 fb 16 09 db 73 d7 e1 03 6f fa 87 e9 ca 9a 2e a7 d9 ed f7 50 26 a6 02 91 | .a.....W....s...o..........P&... |
3360 | 42 42 7a 1c 4a 63 af a1 6d 0d a1 2c 3c 13 0d 31 8a 89 b9 ad 3a f5 bc 7a fa a9 82 d5 47 a7 fd 77 | BBz.Jc..m..,<..1....:..z....G..w |
3380 | 7c 58 bc eb 6f ca 49 05 fd 8c 74 1c 71 88 4a 92 14 45 3a e8 9b 9f a4 97 f3 94 66 66 68 1e a6 d5 | |X..o.I...t.q.J..E:.......ffh... |
33a0 | c7 ce 00 b0 4e 6b d3 5c 97 93 83 a8 6e 25 e6 5c 88 68 be 5b 1c e4 86 ef 74 72 f6 e2 f4 f2 26 7a | ....Nk.\....n%.\.h.[....tr....&z |
33c0 | 92 5c e4 fb f7 66 7b 76 61 41 af b7 7e 96 f2 b4 a1 a3 b5 7f 16 89 ce 62 4a 39 b8 f7 be 66 32 15 | .\...f{vaA..~..........bJ9...f2. |
33e0 | 79 d1 8c c7 d5 85 73 b3 73 67 02 81 6b cf d3 12 84 d7 d1 17 7d ee c3 30 39 8f 43 c2 cc 5e bf 89 | y.....s.sg..k.......}..09.C..^.. |
3400 | 02 b1 b0 42 92 6a 4d a3 48 1b d7 b6 00 e2 c9 6d c0 72 dd 28 67 d8 46 82 c4 94 ba 84 9c 40 ce 06 | ...B.jM.H......m.r.(g.F......@.. |
3420 | e7 eb f1 b6 55 de 77 c2 7b 59 4d b6 80 c4 64 7c 47 a8 c7 63 6f b3 ed 9d 5f f0 68 ef bb b6 06 90 | ....U.w.{YM...d|G..co..._.h..... |
3440 | 5b f1 6d fb a7 25 6c ed 75 83 b1 7d f7 df 34 b8 e9 26 5d d7 5c a6 ba aa 05 12 bf 12 a1 62 57 b0 | [.m..%l.u..}..4..&].\........bW. |
3460 | f9 bc 06 83 79 0f bd 80 aa 12 83 be cd b8 34 57 2e d6 4f 3c 91 6d 5c da d4 f9 bf 7b ac f7 5b 9f | ....y.........4W..O<.m\....{..[. |
3480 | 65 67 36 d5 20 63 fd d4 bd 9c f1 3f d3 5e 91 0d fa d9 60 90 0e 7a 32 cf b9 4c 68 16 2f 0b c3 37 | eg6..c.....?.^....`..z2..Lh./..7 |
34a0 | e6 e6 7c b6 22 f8 f1 8c 8a 60 f0 74 eb c3 db 0a c1 d1 a9 0b e5 e6 76 b1 6f 77 b2 32 98 9e bb 3c | ..|."....`.t..........v.ow.2...< |
34c0 | b9 70 d9 f2 39 e6 3b 2f b7 46 ab 26 8a 5b 5d 41 4a cc f7 22 39 db 17 40 e8 23 4b 65 47 97 9b f0 | .p..9.;/.F.&.[]AJ.."9..@.#KeG... |
34e0 | 63 30 34 7f c8 95 d5 62 65 d5 1c 52 9e 3b 8d 0e aa df 26 96 20 bc 8e be e8 33 ef c3 95 9a 26 70 | c04....be..R.;....&......3....&p |
3500 | b9 c6 68 d0 38 a2 03 6c ff 53 55 a3 2a ed 34 6f ed ea a8 b4 cb 91 87 56 00 ca 55 a0 27 e3 3d 4d | ..h.8..l.SU.*.4o.......V..U.'.=M |
3520 | 5c 04 62 be dc b2 4b 04 32 d6 2d 65 01 c6 17 a5 16 da 7e a5 85 b8 e5 0b 8f e4 91 d8 a8 13 69 0a | \.b...K.2.-e......~...........i. |
3540 | 3f 96 9e 49 d8 f4 72 7d f9 58 7a f0 01 64 7d b1 fc 00 d3 da ea ca 25 b1 6f 9f da d8 54 57 2e 16 | ?..I..r}.Xz..d}.......%.o...TW.. |
3560 | 2f 79 a0 39 7f b1 7a e6 99 e2 c1 2f e3 c3 bd 7a 74 b9 7c ea 29 79 fa 84 89 73 ff e8 44 ff 57 3f | /y.9..z..../...zt.|.)y...s..D.W? |
3580 | 9d 3d 7a 9e 15 09 ac e4 5e c3 4a e0 94 b5 a4 c8 d3 7e 2f 1f 0e b2 95 7e d6 eb 89 2c 23 b5 70 be | .=z.....^.J......~/....~...,#.p. |
35a0 | b3 54 a8 53 b0 1e 82 c0 28 3e 6c f9 98 80 4e 2e a6 17 ae 8c cf 5e 32 b7 6e 9f 38 8b ba c3 b5 02 | .T.S....(>l...N......^2.n.8..... |
35c0 | 5b 0c 63 13 fa 4d 33 3a 79 ba 7f e4 36 47 1c 5b 4f 98 4a 61 54 0b 45 c7 a1 06 1f 55 6b ed 7d 0a | [.c..M3:y...6G.[O.JaT.E....Uk.}. |
35e0 | 91 1d 38 54 9d 3f ed 7d 63 fc bd 04 e1 f5 f2 45 c7 97 d4 89 8f 63 d9 a1 39 49 db 54 b0 bc 82 fa | ..8T.?.}c......E.....c..9I.T.... |
3600 | 2a e8 85 da 19 b1 dc f5 ea 51 4b a1 1d e8 1e a6 35 08 db c5 e0 3c 4f 62 3f 30 95 e1 dd c5 78 5c | *........QK.....5....<Ob?0....x\ |
3620 | 2d b4 45 6a fc 6a 8c e8 7c 46 7c 51 64 18 95 71 77 49 19 ee 0a 75 a8 7e 92 fb 4b b0 81 82 3b 51 | -.Ej.j..|F|Qd..qwI...u.~..K...;Q |
3640 | 60 34 7c cd e9 cf a4 fb ee 64 54 cd 83 b5 e9 a7 9e e5 3d 63 fa 1a 75 ee 64 7a c7 1d b3 87 1f 69 | `4|......dT.......=c..u.dz.....i |
3660 | ce 9d ed bd ea 95 62 58 4c 1f fe 14 7b fe 98 d4 f5 67 d6 07 bf f4 e9 de 5f 3f 8f 75 60 c3 8c b9 | ......bXL...{....g......_?.u`... |
3680 | 21 ef d8 6b 82 3c a2 b1 7b f9 a0 5f ac 0c b3 d5 41 d6 ef 8b 34 27 51 0f a1 21 ae ea 81 05 99 09 | !..k.<..{.._....A...4'Q..!...... |
36a0 | c6 22 4a 26 22 6b a2 f4 83 f9 68 6a 5a 8e cf 5c 0c cc a8 d2 ca 26 22 bc 30 24 7e a9 d5 c6 66 b9 | ."J&"k....hjZ..\.....&".0$~...f. |
36c0 | f5 98 45 14 cf f3 64 6d 35 dd bd c7 84 b5 94 ad f7 f2 ae 34 53 3c 98 47 08 fd 51 3c 12 49 f7 27 | ..E...dm5..........4S<.G..Q<.I.' |
36e0 | 6b 09 c2 eb e5 8b 1e ff ff 58 b5 ce 8b 94 8d 15 4c 14 f4 04 eb 0b 94 4e ab 68 0c 9a 1d 5d 6d 4f | k........X......L......N.h...]mO |
3700 | 7e 43 02 16 5c 90 fa 36 21 10 78 eb 29 d2 9a a4 62 36 22 e8 ed 43 44 cb 8c c2 c2 50 d0 3f 7e b1 | ~C..\..6!.x.)...b6"..CD....P.?~. |
3720 | e4 4c 40 21 67 6c 41 13 92 ab 30 e5 0e 81 dc 8f 9e 68 67 11 06 7b e8 7a 81 84 85 8d d4 a3 33 cd | .L@!glA...0......hg..{.z......3. |
3740 | 85 c7 b3 5b be 42 57 63 75 e1 39 de 54 4c ad d6 a7 8e f1 bc a8 8f 3e c3 ea 2a 3b 72 44 6f 6e 8e | ...[.BWcu.9.TL........>..*;rDon. |
3760 | fe fc f3 7d 5d 9e aa 7b ef f8 fc ae ff fc 44 b6 59 f2 7e ea c6 ad 09 89 33 83 91 08 4d d3 a4 c8 | ...}]..{......D.Y.~.....3...M... |
3780 | d0 06 ae 0e 8b b5 61 be b2 22 7b 05 4f a4 1d 34 cf ae 26 90 01 73 df 06 b0 68 6c 28 8b 67 36 61 | ......a.."{.O..4..&..s...hl(.g6a |
37a0 | 84 ce eb c9 ac 31 d1 69 5b ad 66 87 9e 69 57 70 e6 0f 47 95 37 3b 8f 75 3c 9e 5d ba 28 7a 67 7a | .....1.i[.f..iWp..G.7;.u<.].(zgz |
37c0 | b7 dd 21 87 03 c7 8d 92 83 da d6 c6 e8 16 6f 66 f3 6c 46 5b 78 5f 54 5e b7 04 e1 f5 02 e1 b1 bf | ..!...........of.lF[x_T^........ |
37e0 | b6 95 be 7a 73 86 5f fc 8a 74 23 75 49 f0 47 7b 57 8f 3a 06 b5 b3 6c 09 4d 5b 08 25 2f bc 0d e1 | ...zs._..t#uI.G{W.:...l.M[.%/... |
3800 | 6c f1 09 83 50 a6 26 7c d9 a7 25 dc f9 0e a3 d7 ad 9b f1 aa 14 2c 0c ff 64 6d 41 99 33 77 bc 6d | l...P.&|..%..........,..dmA.3w.m |
3820 | 44 f2 2a a0 dc 5b 39 ce e7 ed 1e 0f 5a dc 06 33 4c 52 f2 5e e2 71 f5 99 cf c8 95 9b 60 6b 03 26 | D.*..[9.....Z..3LR.^.q......`k.& |
3840 | 5b 38 b3 7e e3 12 a7 f9 32 f8 f2 69 5a 9f 3d 5b 30 13 34 66 ff e9 f9 b5 5f fe 6c ff e8 ba 34 f0 | [8.~....2..iZ.=[0.4f...._.l...4. |
3860 | 1b 66 dc 62 58 a4 12 b1 87 f0 cb d3 22 4b 4c 28 d8 ef 65 c3 7e 8e 7c 4c 5f 24 39 13 29 16 ee c5 | .f.bX......."KL(..e.~.|L_$9.)... |
3880 | 13 0f 17 ec 3e 51 fd 5a 67 66 13 cc 71 a1 d4 f4 21 ad 20 31 44 15 6b 16 83 2e 4b 4f 7a ca 7e e8 | ....>Q.Zgf..q...!..1D.k...KOz.~. |
38a0 | 87 9b f4 d8 6c 6d 4d 4f 9f e8 df 73 bf 9b 01 aa 21 22 4b bd dd 73 ae 30 57 a3 6d 6c 65 e2 72 69 | ....lmMO...s....!"K..s.0W.mle.ri |
38c0 | 09 af 37 2f aa 4e 7f 92 a7 24 00 33 52 ac 9f 40 c6 d5 b8 71 1a 24 10 81 04 f3 84 34 9b 3a 65 e4 | ..7/.N...$.3R..@...q.$.....4.:e. |
38e0 | d1 cd 41 c7 57 c2 b4 ea 4c ee 76 e0 61 a9 f1 6e 18 37 87 c0 b8 b5 36 aa cc e6 71 b3 ad cf 7a c4 | ..A.W...L.v.a..n.7....6...q...z. |
3900 | e0 14 de e8 85 f0 4f 84 c1 a0 61 0c 85 43 26 62 93 e6 99 e2 9c 7a 98 d6 c7 3e 28 07 77 13 f3 49 | ......O...a..C&b.....z...>(.w..I |
3920 | 47 a6 89 a0 04 b5 e4 ac 9f c1 e7 2f f7 7f ee b3 2b ef 7b 2e 37 c8 c5 11 9d 52 1a fb 86 b1 5f 96 | G........../....+.{.7....R...._. |
3940 | c8 cc 00 2f 4f 7b 05 fe 14 85 b5 84 69 2f 4f f2 5c e6 19 43 33 e8 f2 7b 8b cd 20 9b f7 45 23 2f | .../O{......i/O.\..C3..{.....E#/ |
3960 | b0 d5 bb b7 d5 d8 f6 bb 17 bd 5e be 7f ff f4 f4 39 ad 14 c9 79 30 1f d5 f9 79 f3 ca c9 ad 05 94 | ..........^.....9...y0...y...... |
3980 | b9 7a 50 a5 fd 9f 8e ac 61 3e 44 6c 5b 36 cc 13 4e 27 cd c6 15 da 34 db f7 b0 04 e1 f5 b8 a8 d3 | .zP.....a>Dl[6..N'....4......... |
39a0 | 9f 62 b3 cb 3c 4f f5 16 ba 3a 6c 4d 62 61 a4 26 73 a4 28 2f ef e6 4d bb 91 22 14 f7 89 ce 60 4b | .b..<O...:lMba.&s.(/..M.."....`K |
39c0 | a7 71 16 75 e5 c4 9a 85 f1 6a e3 73 e1 d0 9c 0d f4 63 7a e3 70 30 56 3a f4 57 e2 d9 12 ce c8 85 | .q.u.....j.s.....cz.p0V:.W...... |
39e0 | 08 70 ce 24 da ca 69 8f 43 ca ab d1 e0 42 b2 84 a8 6a a8 af e8 ea 82 2c 6e 42 03 88 92 56 b8 ea | .p.$..i.C....B...j.....,nB...V.. |
3a00 | 8a c4 ec 48 e2 57 1e 19 fc ca c3 83 cb 33 31 c8 18 a6 dc 8d f5 cb 92 24 cd 93 1e da 3d 03 bc b4 | ...H.W.......31........$....=... |
3a20 | 5f e0 95 3e 22 d0 60 92 7e 52 91 20 bc cd b7 a6 60 01 f9 0b 3b e8 a9 4e 66 22 10 33 ad 0c b0 33 | _..>".`.~R......`...;..Nf".3...3 |
3a40 | 84 b6 5e 34 3f b0 df 44 7a e5 fa 46 3d 9e e8 c9 58 bb 5e 67 0f 2d 9b 92 f7 fd 14 e0 39 50 b1 ba | ..^4?..Dz..F=...X.^g.-......9P.. |
3a60 | 66 33 3d 6e 2e 0c 44 66 30 e4 79 a4 2c 2f 9c 57 93 29 93 22 1e a1 b8 04 e1 f5 01 e1 a7 39 55 9f | f3=n..Df0.y.,/.W.).".........9U. |
3a80 | b1 ed 9a 0d a5 4e 00 26 2e 5a a0 9d d5 06 84 28 6a 8d 1d 83 9a 92 81 c2 59 21 5f 8d 2d 82 d3 18 | .....N.&.Z.....(j.......Y!_.-... |
3aa0 | 57 3f 86 21 67 ee aa 82 38 7a ec b8 b2 d0 8e 14 e3 31 31 d3 d5 1a 8d 24 9c 3c 02 dd bc 25 11 50 | W?.!g...8z.......11....$.<...%.P |
3ac0 | c7 b8 c7 9e bf dd 5b 45 d1 36 70 08 72 29 69 78 05 26 dc d4 59 50 2b 22 5f 93 a9 f9 22 8c c3 09 | ......[E.6p.r)ix.&..YP+"_..."... |
3ae0 | 4f ae 27 6f ff c4 ea 5f 1d cf f3 84 af e4 e8 bb 0a 34 7d 39 7a 9e bd 5e 3a e8 65 83 1e 8e cc ed | O.'o..._.........4}9z..^:.e..... |
3b00 | 19 f8 19 d3 97 4a b2 9f 88 61 7a 45 f0 13 7a af 26 9c 3b 7f 33 74 a3 c4 88 9c 74 71 9c 2b 9d 21 | .....J...azE..z.&.;.3t....tq.+.! |
3b20 | f5 b7 e1 b0 37 18 16 4a 4d 2f 5e 9e 9e 3e 89 30 f3 e5 a4 9e ed 74 f5 33 08 ce ba 91 6b bb b2 03 | ....7..JM/^..>.0.....t.3....k... |
3b40 | 87 d4 74 ac 67 25 ef f5 23 47 d4 9f 0e 13 c4 4f 27 7a 3a 2e cf 9f 65 4e c4 2e b0 3f 4b 10 5e 87 | ..t.g%..#G.....O'z:...eN...?K.^. |
3b60 | 8b f1 6c 4e 7d 1c 2d c3 a4 c1 a9 0b bb 05 54 b5 9d fc 07 4e fe d5 9b 1a 8d 9d 81 c8 b7 a4 76 96 | ..lN}.-.......T....N..........v. |
3b80 | b4 2b 9d a6 48 8b b3 58 86 88 77 b5 22 6c 8c 67 f5 68 25 eb f4 0b f9 2e 5a 2f 56 cf 3b 62 be 56 | .+..H..X..w."l.g.h%.....Z/V.;b.V |
3ba0 | 7b 26 02 2d 8f ee 75 53 07 45 84 40 ef 6d 06 d7 d4 e7 e8 2d d8 e8 2e 61 c7 22 6a 26 92 08 87 1a | {&.-..uS.E.@.m.....-...a."j&.... |
3bc0 | ea 93 7c b0 cb 3c 62 90 e8 3f 7b 36 ff 67 1f 5d 39 39 4a 87 39 69 61 20 ed 99 61 fe dd 18 3d c2 | ..|..<b..?{6.g.]99J.9ia...a...=. |
3be0 | 9e f9 9d 18 cf 13 e1 47 a6 8f 7c 54 9b 87 84 a8 32 0d 00 d8 02 59 0c 98 67 66 3a f0 eb 60 30 32 | .......G..|T....2....Y..gf:..`02 |
3c00 | 8c 96 51 61 2d 23 c3 58 76 60 bf 52 f5 f4 c4 49 5f 47 da 1a 39 70 69 41 6c 5f ca 56 57 d5 78 34 | ..Qa-#.Xv`.R...I_G..9piAl_.VW.x4 |
3c20 | 7e f2 49 f3 c7 e0 25 2f c5 4d c7 f1 a4 a8 46 a9 cb 6a 76 fc 68 75 f9 a2 55 9b 89 0d 31 2c 2d e1 | ~.I...%/.M....F..jv.hu..U...1,-. |
3c40 | 75 c2 e0 fa b3 b0 7d 02 53 7c db 8a 0d a4 96 34 83 9a 74 1e c0 73 da 56 eb 53 d3 98 3b 4e d1 92 | u.....}.S|.....4..t..s.V.S..;N.. |
3c60 | d3 dd d5 6d 9b 1f 74 16 d4 dc c2 a3 e8 c5 8e 78 26 46 27 90 33 d0 b1 6e 5e d9 30 e8 9f f1 b6 18 | ...m..t........x&F'.3..n^.0..... |
3c80 | 1b 3a 32 86 3e 0e 14 c1 e7 8c a3 be 16 96 61 56 93 07 1b 35 49 72 37 11 11 c5 b7 2d 0e 93 04 d4 | .:2.>.........aV...5Ir7....-.... |
3ca0 | 8c ab 73 79 71 eb 3b 3e df fb 97 9f 1c d6 5a ac 14 c0 0d 04 b3 34 21 b7 33 1d 0c 4c c8 87 29 f8 | ..syq.;>......Z......4!.3..L..). |
3cc0 | be b5 7e 26 f0 4b e8 19 24 8f a4 6c 5c 8b 15 5b c8 88 2e 2a 50 ef ca 5a 40 4b 34 b9 71 8c 3e 03 | ..~&.K..$..l\..[...*P..Z@K4.q.>. |
3ce0 | d1 8e 39 d6 2d 73 aa b2 3d 7b a7 e7 2e 98 58 0e ec 36 07 51 45 0c 56 2d a1 27 33 3d 79 1c b5 98 | ..9.-s..={....X..6.QE.V-.'3=y... |
3d00 | a9 e4 00 b4 03 ab 7d 37 f5 b9 33 e5 d9 53 cd 78 e4 c6 59 45 bd c6 b0 74 47 af 1f 08 cf 7d 8e eb | ......}7..3..S.x..YE...tG....}.. |
3d20 | 12 e1 31 03 b6 27 61 26 1a a4 cc 83 ab 75 24 31 3c 7b 7a 90 2c 6d 80 27 cc eb a7 45 bb 3a e7 ed | ..1..'a&.....u$1<{z.,m.'...E.:.. |
3d40 | 68 75 88 65 d1 1c 35 4a 53 9c 48 56 56 f2 79 a2 25 72 2f e3 f9 4a 5d 5e 94 77 74 99 6c 04 28 5d | hu.e..5JS.HVV.y.%r/..J]^.wt.l.(] |
3d60 | c6 cf cd fe c4 c9 84 62 2e 14 b4 18 13 34 d2 54 48 bc c2 29 1a b4 1c bf 71 02 12 d2 72 22 7c e6 | .......b.....4.TH..)....q...r"|. |
3d80 | 3d 76 f6 4f 9e 3e f4 53 1f dd 67 cc 43 91 72 34 80 c6 ff ec 15 d9 70 90 0c 6d 05 4c 3f 2d 7a b2 | =v.O.>.S..g.C.r4......p..m.L?-z. |
3da0 | 48 29 f0 4b 6d 54 69 d9 17 1e f5 e3 b6 e2 1b 2f 50 dd 3a 1f 13 82 df 8d 38 2a 7f 6e 6e eb b2 c4 | H).KmTi......../P.:.....8*.nn... |
3dc0 | 6e 60 f3 42 83 3e 43 e5 65 5f 34 c8 79 6b 13 ad a6 64 9e 37 db 23 1c 59 ec 1d 4d 16 72 f0 f6 20 | n`.B.>C.e_4.yk...d.7.#.Y..M.r... |
3de0 | 72 6d a8 5e 00 fc d6 69 0e 17 e5 e9 93 d3 e3 c7 78 88 f0 e3 12 f2 f6 d4 2e 75 47 af 43 40 78 f6 | rm.^...i........x........uG.C@x. |
3e00 | 73 e8 22 6e 35 ac a0 d4 5f 6d f7 73 c1 b4 1b 9d cb 5d 6e 81 69 3b ff 2c 11 bc 85 9c 8f 03 c3 6a | s."n5..._m.s.....]n.i;.,.......j |
3e20 | d3 b1 20 68 64 e3 b4 eb e4 e1 d1 6c 09 88 53 14 3c 1a 8f c6 bb b2 be 3c 1e 89 e4 a7 d2 87 9c 3b | ...hd......l..S.<......<.......; |
3e40 | 99 3b 11 52 f3 c2 73 a4 f6 16 1c dc 4b 8e a8 c5 1e e9 3b 58 58 d2 32 55 aa 69 92 ac 87 18 46 67 | .;.R..s.....K.....;XX.2U.i....Fg |
3e60 | 55 41 73 86 f3 43 c6 fe b1 34 4d 7a 79 d2 ef 1b 03 98 af ae d8 42 50 99 17 06 7e 18 37 26 12 84 | UAs..C...4Mzy........BP...~.7&.. |
3e80 | 6b 50 62 34 17 8d b7 1d 8d 9c 07 35 fe 9d 50 84 05 99 09 4f 6e 71 13 b6 55 97 d7 eb ed 91 2a 2b | kPb4.......5..P....Onq..U.....*+ |
3ea0 | 8a f4 f0 1e 91 65 bd 23 b7 89 5e cf b6 ee aa 6a 66 de b8 28 7a be fc 8c 2c a5 d2 54 53 e8 aa bc | .....e.#..^....jf..(z...,..TS... |
3ec0 | ad 25 d4 ba ed 20 b4 24 8d 1a 6d d7 eb eb e9 de fd 5a a1 70 55 75 e9 02 d1 54 a2 75 82 3b f0 5b | .%.....$..m......Z.pUu...T.u.;.[ |
3ee0 | 5a c2 eb 04 c1 52 9d fb 34 7e e9 25 b0 a1 70 19 5f cd b5 f9 51 6e 4c bb 6d 4d a2 12 4a 4d cb ba | Z....R..4~.%..p._...QnL.mM..JM.. |
3f00 | 15 09 e5 4e 4a b7 75 27 a3 ba 50 e0 d1 f4 77 8c 36 81 ca a9 85 77 50 43 8a 82 f3 36 f5 c0 e7 08 | ...NJ.u'..P...w.6....wPC...6.... |
3f20 | 55 ce b9 57 7b f2 38 14 3c 78 a1 22 38 9c 2c f6 48 85 f0 da 66 dc b6 ff a2 b6 4a 82 c1 22 23 99 | U..W{.8.<x."8.,.H...f.....J.."#. |
3f40 | 09 ab 47 26 24 15 91 98 cf d5 28 d9 4b cc 31 db aa 37 6e d2 9b 86 e5 c5 66 25 29 32 44 e0 ea 4a | ..G&$.....(.K.1..7n.....f%)2D..J |
3f60 | 36 1c a6 2b 2b c6 1e ca 22 93 49 4a f0 13 7e 5e 70 c8 c5 39 75 7e c6 16 f0 4a ec ea cc 4c 27 2d | 6..++...".IJ..~^p..9u~...J...L'- |
3f80 | c1 f9 e4 cc f9 6a 7d c3 92 93 01 16 6a 32 d1 c7 8f 0f ee ba 0b d3 98 4a 8d 9e 7b 5e 4d a7 d9 9e | .....j}.....j2.........J..{^M... |
3fa0 | 3d d9 be 7d d8 4f 6c 37 41 74 51 44 18 07 13 10 e8 d8 6c 6b f6 a9 75 62 f2 fc d1 be 94 e9 da 9e | =..}.Ol7AtQD......lk..ub........ |
3fc0 | 7a 7b 4b 57 33 37 53 20 aa 92 e9 86 a7 4b 10 5e 07 5f f4 f2 33 30 bd 28 2a 06 59 0e a9 62 a5 0e | z{KW37S......K.^._..30.(*.Y..b.. |
3fe0 | 9d ee a1 be cc 09 b6 54 0a 5b 93 52 9c 18 0a 11 c7 e0 27 fd b5 92 bb 9d ab dc 33 2b b6 6a 44 78 | .......T.[.R......'.......3+.jDx |
4000 | 21 de d8 c9 9c f7 ce 5c 20 68 07 b5 cc 21 d0 23 2d e2 42 bd f0 a6 bd 2e 22 22 14 81 de d8 de 39 | !......\.h...!.#-.B....."".....9 |
4020 | f2 b0 73 29 bc 61 74 3c 4d 96 e0 98 b7 c6 78 6b 99 b9 65 98 c1 df 5c d9 7d b6 1c 0c 86 69 da ef | ..s).at<M.....xk..e...\.}....i.. |
4040 | 67 2b 43 03 c2 74 38 90 fd 9e c0 3a 6c 84 9f 9b 6d aa 21 32 e1 16 84 10 9a fc a3 d9 17 2f 00 42 | g+C..t8....:l...m.!2........./.B |
4060 | 36 df 4f 41 31 b8 b6 2a 85 10 c8 19 6c 75 6f 46 a3 c9 a9 53 c5 ad b7 ea a6 d1 93 09 ab eb f2 f4 | 6.OA1..*....luoF...S............ |
4080 | 99 ea e2 a5 64 cf 1e 91 a6 f5 e6 26 16 0e 92 d1 d3 3e 80 74 aa 4d 7e 70 a1 c3 a2 79 93 e5 74 fc | ....d......&.....>.t.M~p...y..t. |
40a0 | f4 63 e9 ee 7d 7a 32 36 cf e3 09 5c 9f de b0 ce 45 f0 48 c9 9d 5d 82 f0 1a 83 f0 d2 17 38 34 ac | .c..}z26...\....E.H..].......84. |
40c0 | 96 e2 f6 97 c2 85 47 dc b8 6b 37 b2 9d bb 5c 83 40 08 a9 0a cf a2 48 bc e4 18 b3 4d f6 ad cf 09 | ......G..k7...\.@.....H....M.... |
40e0 | 9d d2 b4 8e ab c9 fd aa 75 bd 45 f3 a9 be 08 93 10 46 60 f3 36 31 11 66 bb cc a1 8e 47 d7 25 01 | ........u.E......F`.61.f....G.%. |
4100 | 94 44 fe 6c d6 81 4b 9f ae b0 7d 77 d3 06 1a ad 0b cd fb 99 70 ca 4b 98 19 33 71 9f 89 c1 54 dd | .D.l..K...}w........p.K..3q...T. |
4120 | c8 22 4f 12 f8 8e fb ae fc e1 e9 7b 65 6f 90 ae a0 01 34 08 4c 7a 3d 8c 00 c9 c6 52 f8 a7 69 0c | ."O........{eo....4.Lz=....R..i. |
4140 | 0e f7 d8 e3 30 17 c1 76 bc 70 c6 ba f7 ec 68 66 e6 7e fc 19 6a 49 61 fd 80 52 91 fe 84 d7 79 02 | ....0..v.p....hf.~..jIa..R....y. |
4160 | 28 2f 5c 68 0c fc 50 3f b2 b6 66 d3 04 8d cd a9 d3 b4 09 6a eb f0 7b 2b e8 e4 ef 1d b8 ac 0d 0c | (/\h..P?..f........j..{+........ |
4180 | 23 9e 70 f2 70 5d 9d 3d ed aa 1a fc 88 99 64 6d 4f b2 ba 4b 4f c7 f5 e5 0b f6 40 47 72 2f 53 14 | #.p.p].=......dmO..KO.....@Gr/S. |
41a0 | d7 dc 1b bd f8 18 53 4c 1c b8 9f ef b9 45 9d ff 1c b9 6f dc 77 4b d8 53 21 2c 26 51 b6 50 52 d1 | ......SL.....E....o.wK.S!,&Q.PR. |
41c0 | 36 f8 6c 84 8e 96 9c 9f 99 a0 e7 7b 24 78 9c 16 e3 72 47 9f 04 0f 0d ba de 71 65 71 10 18 68 18 | 6.l........{$x...rG......qeq..h. |
41e0 | 66 0b 92 2d 89 e7 2e d2 0e 1c f4 f5 d9 56 5f d3 1a 3a 44 20 e2 d0 85 82 d8 a2 aa b1 61 7c a6 74 | f..-.........V_..:D.........a|.t |
4200 | 53 c2 00 d2 15 14 21 74 7c 69 9f ab 59 65 96 6a c3 d3 db 77 55 c3 95 ac e9 0f 93 e1 10 0d 60 96 | S.....!t|i..Ye.j...wU.........`. |
4220 | 89 44 3a bf 5a eb 50 48 00 fe 33 b7 a3 d8 38 44 1b 8b 80 d6 0c fa b0 b9 d5 59 9b 37 85 da ed 7c | .D:.Z.PH..3...8D.........Y.7...| |
4240 | dc 7a 90 dc 6b 8c 42 28 b7 26 9c 34 1b 9b e0 67 a3 ba 30 8f 7b c9 0b 17 1a 32 68 65 64 3c 4f aa | .z..k.B(.&.4...g..0.{....2hed<O. |
4260 | fd 68 ed b8 b8 c2 51 53 fe 14 a2 b6 45 23 87 ab d0 d4 21 1d 12 de d8 12 84 d7 d4 0e d6 fa fc c3 | .h....QS....E#....!............. |
4280 | 66 69 ca 2f fb d6 e6 89 3f c1 53 aa 7d 15 bd 76 ad 37 54 ab 6f ce 19 8d 3a 73 6c a4 9b dc 1a c6 | fi./....?.S.}..v.7T.o...:sl..... |
42a0 | 7d 81 cf a8 eb 78 24 0b 73 b0 c1 56 0c ed 38 17 ea f8 e5 73 83 90 3a 06 24 0c 8d 88 4b d2 ac dd | }....x$.s..V..8....s..:.$...K... |
42c0 | e9 d6 be 38 f2 93 a2 41 41 72 12 56 54 93 27 42 04 5e 94 2a 3c 09 69 dc d2 0f 38 d8 a5 06 3e 35 | ...8...AAr.VT.'B.^.*<.i...8...>5 |
42e0 | e6 66 c6 56 b9 c4 56 7a ec 3f c2 b7 5e d7 d0 cf 57 0a 76 cb 1e 76 9c 0f 93 de 40 e6 05 52 a0 c8 | .f.V..Vz.?..^...W.v..v....@..R.. |
4300 | 78 d8 b9 6e 2e d3 6f b9 22 68 dd 4d 47 36 41 9b c0 6c bf 99 36 b8 65 61 90 db 0e a5 19 5f b7 a2 | x..n..o."h.MG6A..l..6.ea....._.. |
4320 | ab 4a 2b db db 1e 29 5b 84 b2 32 7b 98 ed 7e f0 5e a4 f3 24 29 29 18 8d 0b f5 cd 4a de 1e b6 af | .J+...)[..2{..~.^..$)).....J.... |
4340 | 04 b0 40 61 8a 73 b5 bd 31 79 fc 61 92 11 10 11 5f 8b 6f 61 09 c2 6b 78 81 f1 05 bd 79 5c 1e 7a | ..@a.s..1y.a...._.oa..kx....y\.z |
4360 | 50 ec 7f 50 7f ec 97 98 25 be 55 28 b5 b7 61 0a 9d 8e 86 4e 6d c6 9d a9 f2 84 cc 1c 8c 20 96 f1 | P..P....%.U(..a....Nm........... |
4380 | 8d ab 61 ac 1f 84 ea 47 dc 4e 83 71 17 c1 3a 74 28 0f 0b 37 52 d8 75 7d b9 c2 6e 01 31 25 d3 a6 | ..a....G.N.q..:t(..7R.u}..n.1%.. |
43a0 | 22 12 97 06 a4 96 46 1b f2 85 56 09 cb c7 d8 64 a0 60 05 49 15 96 8a 1b d7 74 3c 43 53 39 18 62 | ".....F...V....d.`.I.....t<CS9.b |
43c0 | 31 5a af 30 de 9d 79 ff c3 5c df be bb 7e 7e da c3 a9 68 a8 3d 2d 28 ff 86 3a 9e 16 fb 5e 6e d8 | 1Z.0..y..\...~~...h.=-(..:...^n. |
43e0 | 69 9b 5a b9 0c e8 56 08 71 3e e7 6e 73 3f 70 3e fc d9 a1 40 5c a9 ad 81 57 96 6a a5 b8 33 72 fe | i.Z...V.q>.ns?p>...@\...W.j..3r. |
4400 | 34 69 08 f3 41 db a6 23 27 fe 4b 89 a4 56 6f d4 25 f2 21 68 39 e9 38 ef 17 15 89 47 19 f9 a8 89 | 4i..A..#'.K..Vo.%.!h9.8....G.... |
4420 | 43 33 c1 23 99 0d 58 d6 8e 5e 07 5f f4 0b 0c 54 f2 b2 bf 0f e3 8b 4c cd dc bc 49 3b a7 2e 0c ee | C3.#..X..^._...T......L...I;.... |
4440 | 31 f1 4f 22 a0 d4 1a 85 48 43 3e 9a ce 1c 96 bf 70 aa 00 63 6e c4 5e 4b b1 cd 79 9c f4 18 e1 46 | 1.O"....HC>.....p..cn.^K..y....F |
4460 | 53 40 3b bf 33 04 54 3c aa a2 e1 1e e9 9e 0c 0d 49 f9 90 88 8f a8 51 df a9 64 ed 6e 74 97 74 cd | S@;.3.T<........I.....Q..d.nt.t. |
4480 | fc 60 f9 9a 04 bd 53 fc 0c 45 a6 0b 05 d3 4a 18 b7 af 2c 55 92 88 6c 28 d3 1c 47 78 eb 26 cf d9 | .`....S..E....J...,U..l(..Gx.&.. |
44a0 | 9a b9 b7 ce c8 ef 15 da 36 41 b8 7a 03 13 13 83 1d 72 61 ab 9d c9 1f a5 0f 2e e6 35 bf 35 87 85 | ........6A.z.....ra........5.5.. |
44c0 | dd 22 0b e4 ad 9c 3a 08 7a a1 e9 ae dd ba 6e 9a ed 11 b6 83 11 07 13 24 2d a2 5f be c3 de cd 19 | ."....:.z.....n........$-._..... |
44e0 | f4 8a 88 94 1c e4 cc 73 33 96 20 b5 1b 66 c7 71 f1 fb 25 cc 29 fe 44 d9 89 76 1c e9 32 26 bc d6 | .......s3....f.q..%.).D..v..2&.. |
4500 | de e8 85 2f f0 b4 9f dc f1 96 fa 13 3f ef b6 67 65 55 f2 9c e8 b5 25 b8 b1 e4 b3 d6 c4 7c b8 10 | .../........?..geU....%......|.. |
4520 | ce ad 02 8d f2 16 3e df 00 8c 45 0b 91 47 5e a5 b7 84 a8 ed 25 22 9e a2 4d fd 75 ab d2 78 14 16 | ......>...E..G^.....%"..M.u..x.. |
4540 | da c0 4f 84 02 51 cb c4 88 f9 2a 99 90 1f c1 57 a2 ba 38 41 79 09 29 2c 9e 8d f5 c3 36 ff 24 b3 | ..O..Q....*....W..8Ay.),....6.$. |
4560 | bc 68 92 a6 90 67 7a 36 c3 2a c9 aa d4 b3 44 ae f6 65 2f 41 91 63 e1 2c 93 a6 29 e0 f8 9c 61 0c | .h...gz6.*....D..e/A.c.,..)...a. |
4580 | 19 0a 5e 59 d5 45 a7 86 ea 75 05 9c fb 19 b2 14 c0 77 b8 9c 7c 1e 84 5d 13 e4 b0 86 22 31 07 0f | ..^Y.E...u.......w..|..]...."1.. |
45a0 | a5 fb 50 1a dc 60 69 72 ec 59 b5 b5 4d 7a 05 ed bc 7a 68 27 d9 fb 96 25 68 ab da 34 b4 3d 83 ad | ..P..`ir.Y..Mz...zh'...%h..4.=.. |
45c0 | 21 8d 0b e5 20 ee e8 0c e7 2d d8 49 d6 8e 1d f5 8f 5a 82 f0 5a 5a c2 f3 5f 48 ee f9 16 96 0d d5 | !........-.I.....Z..ZZ.._H...... |
45e0 | d9 47 80 fb 7c 3a 9e 33 e1 0a 0b 95 55 ab 64 98 85 92 ac 9d c4 22 ac 4c 35 8a db 7b 67 52 74 77 | .G..|:.3....U.d......".L5..{gRtw |
4600 | d7 b6 fc 8a 87 eb b6 fb 77 be 02 3b f0 31 9d 20 90 79 2e d4 57 7b b2 a8 32 c6 67 ea a5 68 2b b3 | ........w..;.1...y..W{..2.g..h+. |
4620 | ad c2 52 62 a3 41 6c 93 a0 3a 1f aa 3b 43 41 24 9a 76 52 95 92 65 22 cf 91 ad c9 52 99 a7 06 87 | ..Rb.Al..:..;CA$.vR..e"....R.... |
4640 | b8 5a eb 4a 94 5c 0e 04 4c 11 72 8d 95 18 27 86 9f ac ac 2b a4 b5 b6 8d 3b 26 49 53 9d b3 9b 5b | .Z.J.\..L.r...'....+....;&IS...[ |
4660 | 8a c3 8d b8 cb 91 76 e8 98 8e a0 38 5c 25 59 d8 de a1 21 1a ba 41 ad 1e 6e 8e 19 63 71 f3 9f ef | ......v....8\%Y...!..A..n..cq... |
4680 | b4 87 50 a7 c6 a2 26 a5 ae db 09 73 91 67 4c 0b c1 9c 47 0a b1 bc 54 7b 2a 97 20 bc 66 01 61 3d | ..P...&....s.gL...G...T{*...f.a= |
46a0 | 86 f1 f9 e4 b5 3f 09 e5 16 6c 9d a1 9e 6a d4 ad d0 6e 02 2f 49 aa d9 61 e8 ca 86 69 5c 47 6d ed | .....?...l...j...n./I..a...i\Gm. |
46c0 | 36 ad cf a1 33 01 70 47 b1 16 8f e8 3f ca 22 cc e9 c5 f8 31 f0 b1 3b ea 6e 24 50 39 d9 6c 9f 7e | 6...3.pG....?."....1..;.n$P9.l.~ |
46e0 | e0 ae 38 46 d8 12 19 91 0a 5f f1 c8 45 66 ec 1e 1f 6f d5 38 c0 4c f0 6a aa d2 3c e9 af 65 59 1f | ..8F....._..Ef...o.8.L.j..<..eY. |
4700 | eb b4 d3 5e c6 78 aa 30 25 d8 18 47 2f 91 99 96 05 cb 72 91 e5 6a 36 c5 94 fd 4c 8b 02 5b 70 a7 | ...^.x.0%..G/.....r..j6...L..[p. |
4720 | 75 72 66 9c f3 a6 d2 0d f6 cc 83 73 98 5b 13 0d 51 d6 a4 a5 40 39 e8 36 4d a1 e3 7a 83 17 d4 f0 | urf........s.[..Q...@9.6M..z.... |
4740 | 98 9b 45 e1 2b 4f ad 0b df d4 98 12 6c fb 23 5a 9a 14 34 6b 05 7d c3 8d d6 7e 7b 3e 6d 01 f6 60 | ..E.+O......l.#Z..4k.}...~{>m..` |
4760 | ce ee 76 5f 5e b3 56 cc 94 45 32 1b 4b 10 5e 43 5f 74 fd 98 d8 7b af d8 f7 80 3a f9 31 3d db 42 | ..v_^.V..E2.K.^C_t...{....:.1=.B |
4780 | c3 a1 1c 5a ec 89 a3 d9 f4 cc a2 91 09 80 2e ab 00 ba c3 c5 50 2c 02 21 03 d8 96 80 d2 10 5d 17 | ...Z................P,.!......]. |
47a0 | 1e 71 ce e3 0e 5d 1e 95 c9 f0 4e 72 a2 6d 41 e2 1d b7 d3 a5 da c9 0b ac 1b 98 6e 96 8d 62 fd 95 | .q...]....Nr.mA...........n..b.. |
47c0 | ac 37 48 2f 9d 1a 27 99 9c 8e 9a c7 3e 79 be 9a 29 d2 67 40 2b d8 5b 49 77 1f 1c ec bd 69 b0 ef | .7H/..'.....>y..).g@+.[Iw....i.. |
47e0 | b6 d5 fd b7 f6 76 ad b1 53 1b e9 b3 97 7b af 3c 3c 5d cb 54 9d f6 55 b6 aa a6 d3 ba 56 72 ca 8b | .....v..S....{.<<].T..U.....Vr.. |
4800 | 01 5c 9a 14 c7 d6 0b 5e 94 5a a5 4c 4b e1 12 11 dc 95 8f fb 7f e3 66 7f 2f 0b ae 59 a7 54 06 ba | .\.....^.Z.LK.........f./..Y.T.. |
4820 | 09 c2 ab 00 b0 03 96 d0 79 81 06 bf 5e bf dc 8c c7 cc 15 a5 42 84 b7 30 46 54 87 5c 85 53 38 64 | ........y...^.......B..0FT.\.S8d |
4840 | ba a3 a1 1f b3 2f 2c 6e 4e da 91 b1 68 ad 5f ac 71 e3 ae 2f 41 78 cd 40 78 e5 98 bc f5 75 f6 8a | ...../,nN...h._.q../Ax.@x....u.. |
4860 | 3b 13 34 7e c8 4d ce 6c c8 0e e2 e2 12 ac 3d f5 c1 6d e4 6d 4f 2e 0f 93 86 c0 3a 96 10 93 84 22 | ;.4~.M.l......=..m.mO.....:...." |
4880 | aa 9f 14 1d 5b c7 77 74 09 5a c2 46 c4 29 78 47 78 e2 15 f3 66 4c f8 36 1d 57 a3 ad 7a 6b a3 da | ....[.wt.Z.F.)xGx...fL.6.W..zk.. |
48a0 | de 68 a6 53 a5 6a 74 20 87 6b b9 39 e6 d2 99 49 7f 25 ad 66 ba 9a 6a 4c 5a 98 6d a4 d6 e5 b8 5e | .h.S.jt..k.9...I.%.f..jLZ.m....^ |
48c0 | 3f 33 7e ee 11 b6 9a b3 f1 ad 47 c6 af 7a d5 1b ee 99 fd c1 d1 c3 ff fb c7 8b ef bc ff f2 5b ef | ?3~.......G..z................[. |
48e0 | 1b dd 7d 58 cb 7d e9 f9 f5 e4 03 cf 0e 5f 7e 68 72 72 ba 72 7e 8b 17 89 b1 84 8a 4b 2c 21 11 d6 | ..}X.}......._~hrr.r~......K,!.. |
4900 | dd 0d ad 77 56 b7 90 f3 a8 b3 0a 80 07 2d c6 39 95 1c 0e 2f e4 8d 74 e2 c3 b6 bd d6 9c 8a e9 78 | ...wV........-.9.../..t........x |
4920 | 76 ea 84 56 3a 86 27 f3 f5 d8 ac 4d 03 86 d9 13 30 87 b7 e0 e0 76 10 de f5 58 62 61 8b 6e 5f 31 | v..V:.'....M....0....v...Xba.n_1 |
4940 | c4 cf b0 04 e1 35 73 47 ab 32 b9 fd b5 78 65 f3 04 8d 8a 64 ba a6 a9 83 09 ce 24 44 d5 50 ed 18 | .....5sG.2...xe....d......$D.P.. |
4960 | 86 ee 8c 89 05 ec 9e 23 3f da d9 9d 5d 13 c0 23 10 c6 89 f8 28 08 0c d6 85 77 0a 41 6d a5 38 94 | .......#?...]..#....(....w.Am.8. |
4980 | a5 2e a7 e5 68 bb 19 6d aa f1 76 33 9d a8 ba 46 aa 05 6b 4b 68 e2 ec 74 7b 62 ed e7 68 a3 62 4e | ....h..m..v3...F..kKh..t{b..h.bN |
49a0 | e6 c9 ff 83 85 31 ac 00 f5 d9 e2 9e 3f 98 7d dd 95 8f ad dd f2 d8 ec a5 fb a7 9f 39 3b f8 d4 e9 | .....1......?.}............9;... |
49c0 | e1 2f 3f 54 bd e5 ee ad 7f f0 e5 db 5f fb d2 f1 57 b1 f1 4f fc e5 ed a7 ca 35 e3 07 82 71 5c eb | ./?T........_...W..O.....5...q\. |
49e0 | 1a 9b 74 91 42 35 ef 47 33 4b 02 43 9b 10 8c 24 70 58 a8 68 9f 9f 3c ca e0 8b 9d 86 39 77 d4 f1 | ..t.B5.G3K.C...$pX.h..<.....9w.. |
4a00 | 33 e6 d5 55 55 45 03 0a 03 0e 5d 7c a8 21 16 92 e9 cc af 88 ad 5e 30 af 73 95 d9 10 40 0f 51 5b | 3..UUE....]|.!.......^0.s...@.Q[ |
4a20 | bf ad 6b 83 78 66 01 ba 44 4b 10 5e ab 8b d8 73 97 58 bd 09 e9 99 cb c7 70 3d 61 bf 99 0e 01 05 | ..k.xf..DK.^...s.X......p=a..... |
4a40 | 4d 47 b7 45 4d 74 26 2d c3 c9 43 b5 72 54 36 da 15 60 ea 12 ef 3c d6 fc f5 42 a0 de a2 04 f8 f9 | MG.EMt&-..C.rT6..`...<...B...... |
4a60 | 12 71 df 12 21 dc a8 16 85 2c 7d 55 61 cf f7 78 ac a6 23 35 19 6b 03 c8 aa 02 e5 10 68 eb e3 b0 | .q..!....,}Ua..x..#5.k......h... |
4a80 | d8 2b 36 cb 22 88 ce d0 f3 f4 98 fa 42 ef f6 df da f3 6d 0d 4f fa 50 5f 18 27 ff 75 7b 35 4f b0 | .+6.".......B.....m.O.P_.'.u{5O. |
4aa0 | 69 f2 d2 34 f9 cd cf ed fb fd 47 77 7f c7 97 6d ff c2 b7 5f f8 89 d7 9f ff c6 df 3f 98 ac 36 18 | i..4......Gw...m..._.......?..6. |
4ac0 | 8f 29 ac ed c6 46 25 a1 6d 31 8c 0e 1f a2 9d ee 1d 7c 51 60 f3 f9 7a b6 78 6c 0d 74 21 3a 37 99 | .)...F%.m1.......|Q`..z.xl.t!:7. |
4ae0 | 23 94 eb e6 bd 74 f7 de ea c2 59 5b 2e d4 7a 89 3a a4 02 a3 7a 17 d6 11 8a 8a ec ab 6e b3 91 9d | #....t....Y[..z.:...z.......n... |
4b00 | 50 0f 18 74 c6 23 86 84 a5 af 27 80 b6 6e 66 59 31 73 ed 2e f2 c0 7d 78 82 55 a5 af 1c 47 9f b3 | P..t.#....'..nfY1s....}x.U...G.. |
4b20 | b1 95 31 68 3a 70 81 5b 75 14 de a1 b5 21 78 4b 7c 87 3c 83 8d 59 02 e1 e9 87 30 b9 5a 2c c6 58 | ..1h:p.[u....!xK|.<..Y....0.Z,.X |
4b40 | a4 2c 61 6b d0 3a f5 96 51 c6 0f 5f 86 e4 bf 15 ca d2 eb d9 14 26 13 3d 19 e9 f1 c8 5c c7 92 12 | .,ak.:..Q.._.........&.=....\... |
4b60 | ad 5c 6d 16 87 16 e9 0e cf 34 40 d1 85 93 d2 f6 0f ab 91 28 fe 68 d7 9b 1b 54 e1 ad cd ad 29 83 | .\m......4@........(.h...T....). |
4b80 | 54 ba a8 2d 15 90 e6 06 6d ec f7 3f b3 f6 c9 13 83 77 7c c7 f9 57 1c 1c 7d 76 6b 35 27 19 7c 4a | T..-....m..?.....w|..W..}vk5'.|J |
4ba0 | 83 eb a0 a1 e1 f2 f2 8c c5 b9 cd 56 5b 95 85 9c 27 7e 68 3d 27 cc bf a8 50 3d 1a 16 d7 e5 2c e9 | ...........V[...'~h='...P=....,. |
4bc0 | f8 f4 f0 2d 2c cb ab 73 67 74 39 63 56 55 d9 57 86 ce b7 3b b0 39 15 0d 98 e3 42 bb 05 33 1d 30 | ...-,..sgt9cVU.W...;.9....B..3.0 |
4be0 | 2e a0 68 db d0 d3 c1 75 09 c2 6b 75 e1 d9 10 bf e4 72 a4 a7 57 b8 5d f7 0d ae 4a 46 a2 ce 71 8e | ..h....u..ku.....r..W.]...JF..q. |
4c00 | bd 43 ac b9 35 0f 9d 1a 48 c6 23 9e d0 67 c3 84 08 f1 9e 6b 13 94 1c e2 a6 a5 40 cc 70 a7 50 13 | .C..5...H.#..g.....k......@.p.P. |
4c20 | 0a ac 30 3e 55 58 46 36 9b 81 b1 7e a3 51 63 7e cf 26 84 40 bf 0e fd 9c 25 ef c7 fa 26 7c 6b 47 | ..0>UXF6...~.Qc~.&.@....%...&|kG |
4c40 | ad 9a 8c 01 75 8f c1 87 fb 2f 3d 95 1d ee 89 86 8b cc d1 4e 7e 78 9f b5 06 52 c0 20 81 e3 9b e9 | ....u..../=........N~x...R...... |
4c60 | f7 bc eb 56 59 e4 59 bf 09 09 00 ca b6 71 08 85 69 be 2e 80 79 11 56 e0 6d 50 6c db 09 35 f3 f3 | ...VY.Y......q..i...y.V.mPl..5.. |
4c80 | db be a8 2f 1a 6f 71 dd 9c a1 fd 33 d9 7b 40 0c 86 b3 e3 cf 99 20 d8 ea e2 ec d8 fb 3c 47 ca c5 | .../.oq....3.{@.............<G.. |
4ca0 | 8e 50 13 76 c0 0c e6 cc 61 c7 4d dd 89 48 9f 60 5c 82 f0 1a d3 33 5b a7 75 35 33 ee 9c ae 75 79 | .P.v....a.M..H.`\....3[.u53...uy |
4cc0 | b9 cc 6e ee d9 51 ae 81 e7 64 2f 30 3e c9 35 3d 09 e4 6e 14 0b 4b 81 43 10 c9 e4 6d 68 28 bc 69 | ..n..Q...d/0>.5=..n..K.C...mh(.i |
4ce0 | e0 51 36 42 b4 c5 5d 41 c4 de 26 45 4c 5c 56 ce c0 38 a2 06 81 28 50 34 d5 35 da 40 27 9a e8 5d | .Q6B..]A..&EL\V..8...(P4.5.@'..] |
4d00 | 5a e2 11 09 78 cc c9 e3 3a ec cb 84 59 d4 57 5c 7e 76 f0 92 84 54 98 44 92 f2 60 52 d0 d6 29 5b | Z...x...:...Y.W\~v...T.D..`R..)[ |
4d20 | e1 65 4b 4f 7a 92 4d 54 92 28 99 85 8c 0b a1 90 f4 c5 fd fa e5 f3 ff 39 43 18 4f a2 8f a4 19 bf | .eKOz.MT.(.............9C.O..... |
4d40 | d4 f8 7c 6e 6a 76 48 9f 9b 77 98 64 f9 1d f7 88 cb 17 8d 6b 6a f6 21 5b 5c 1b 45 76 20 8a 3e c3 | ..|njvH..w.d.......kj.![\.Ev..>. |
4d60 | 49 52 63 4b db 74 cd a2 0b 29 61 2e 35 df e6 e5 e7 e1 38 67 22 ed c1 4b 10 5e 63 10 8e 2e e2 20 | IRcK.t...)a.5.....8g"..K.^c..... |
4d80 | 3e 99 e8 69 55 ad 97 e9 2d 3d 68 74 2b 1c eb e9 96 70 a2 28 e4 b2 cd be 91 b8 0c 74 05 0c 59 54 | >..iU...-=ht+....p.(.......t..YT |
4da0 | 56 1a ae f0 a8 40 94 47 e4 62 f8 33 20 d0 6c 02 8a 95 95 36 5e e8 78 5b 4d 46 ca d8 c3 ba b4 08 | V....@.G.b.3..l....6^.x[MF...... |
4dc0 | 8c 84 4a bd 35 f5 63 b9 9d ce 37 de 42 8d 13 06 1e 39 a8 e3 e9 c1 13 f9 cd 28 c5 94 e7 22 2f 30 | ..J.5.c...7.B....9.......(..."/0 |
4de0 | 4d ef 92 9c 8a 61 d4 a7 28 2f af ac 60 2e a6 3f d2 04 43 cc a0 e7 d9 29 40 70 33 ba 99 d7 b1 6a | M....a..(/..`..?..C....)@p3....j |
4e00 | ad 60 5c 2b ba 53 49 7c 47 bc 3c e7 39 76 3d d1 58 df c9 21 3c dd 7b 50 ae ec aa 2e 9e ad 2f 9e | .`\+.SI|G.<.9v=.X..!<.{P....../. |
4e20 | a5 5a 1e 6e 83 66 31 58 2d ee bc 8f 4b 39 3b 79 ac be 74 8e bb 8a 8a 79 a4 c1 1c 2f 0a 51 64 c8 | .Z.n.f1X-...K9;y..t....y.../.Qd. |
4e40 | 17 46 8f 6d 4f f1 d2 1d bd f6 1c e9 e8 bc 5d bf cd 76 a3 a7 8a 46 9a 59 0d 59 cd b8 1d b1 64 6b | .F.mO.........]..v...F.Y.Y....dk |
4e60 | 0f db ba 50 1e 79 51 1c 7c 67 d3 5c ff 84 c2 30 93 87 d6 41 de 69 38 f7 73 44 17 ac 51 34 c3 0a | ...P.yQ.|g.\...0...A.i8.sD..Q4.. |
4e80 | 4b a9 c7 c6 0b dd 56 a3 11 b2 32 48 84 ba 09 34 bc a5 52 bd de 2f e5 f2 dc 44 5b 81 a3 be b0 f9 | K.....V...2H...4..R../...D[..... |
4ea0 | d6 5a c8 04 d8 13 f9 91 59 d2 1b a4 99 ec f5 65 31 10 69 4a 75 9a d4 c0 aa 2d 08 0d 02 1b 2a 9a | .Z......Y......e1.iJu....-....*. |
4ec0 | 25 e6 25 4d 45 86 73 94 bc 34 8e 1b b4 d2 7e 38 d7 2c c9 e3 e5 1d 83 71 ae 9b 70 21 00 e7 03 c3 | %.%ME.s..4....~8.,.....q..p!.... |
4ee0 | 8e f7 d8 49 10 78 3c 29 f3 96 f2 9b 8e 98 7d a4 3c f5 3c 36 1c a1 9b 98 62 dc 28 13 1a ac 24 5b | ...I.x<)......}.<.<6....b.(...$[ |
4f00 | 6e 93 b5 4d f1 b1 6e d3 55 39 d2 8e 9d 8c c4 16 fd 4e b0 04 e1 35 b6 84 98 a6 c7 f8 a6 d9 a8 54 | n..M..n.U9.......N...5.........T |
4f20 | 49 65 a3 ca 4d 20 64 d2 ad 78 98 6f ba 11 51 fc d2 fa 61 60 bb 85 e8 01 98 5f d3 2c e8 88 da bb | Ie..M.d..x.o..Q...a`....._.,.... |
4f40 | ac c1 8a 7a 94 5a 63 68 3d 4b 5b 14 89 4d 0e a5 9e 4e 95 f9 29 67 d4 f5 6e 9e 4d b9 24 07 b7 25 | ...z.Zch=K[..M...N..)g..n.M.$..% |
4f60 | a8 be 04 dc 9a 41 4c df d3 db 36 7f 26 12 9c 2a 2a c7 2d 7c 73 b8 1f 73 15 89 e4 69 26 8a 42 64 | .....AL...6.&..**.-|s..s...i&.Bd |
4f80 | 99 67 57 d0 17 15 4a 3b ab 48 73 8b 70 47 11 52 98 23 b3 8c 59 0d 0b 0d 54 c5 1d fa 98 5b 0c f1 | .gW...J;.Hs.pG.R.#..Y...T....[.. |
4fa0 | 1d e3 16 63 5f 94 7f a9 06 90 75 53 e9 57 4d 27 22 6f a6 55 b2 7b 9f f9 20 8d 09 11 8d d5 5b d9 | ...c_.....uS.WM'"o.U.{........[. |
4fc0 | 25 fb 43 66 be 20 81 43 42 cd 07 e2 11 cc 3a 52 8a be 37 b0 83 79 9f c3 98 ff 10 2d 71 ba ac 1d | %.Cf...CB.....:R..7..y.....-q... |
4fe0 | bd 3e 97 c9 65 5c d1 0a ea 8d 19 ae 41 65 7d 30 6e 9c 52 e6 f5 1a 80 87 72 c6 c5 cb c9 b1 94 73 | .>..e\......Ae}0n.R.....r......s |
5000 | 21 a3 8a 62 a4 b6 05 aa eb 8e 7a 53 e9 3a 65 51 78 09 95 c1 4c 34 38 1b eb 72 aa 9b ca 0e 59 68 | !..b......zS.:eQx...L48..r....Yh |
5020 | 1b ee 1d ea 7c b5 9c ad 27 a5 fc 01 18 5b 90 a4 34 d8 93 5b 0a 03 7a 43 b6 b2 3b 81 b1 2b e6 16 | ....|...'....[..4..[..zC..;..+.. |
5040 | a9 44 4b 28 44 5b 65 e7 d8 7e 6d a3 44 1b 98 92 88 68 e2 4a 76 58 34 a0 6c 1e 77 7c 01 fd 09 51 | .DK(D[e..~m.D....h.JvX4.l.w|...Q |
5060 | cc 1c 39 7a 2f 64 19 e1 aa 19 45 d8 c9 ee 34 4a f4 86 59 7f 85 59 e2 48 35 96 41 e1 56 6a 4d f3 | ..9z/d....E...4J..Y..Y.H5.A.VjM. |
5080 | f9 fc 63 b7 82 14 e6 80 07 71 c9 4c 74 8a 21 ee 7c 5c e6 09 af b5 25 1c 5f 41 17 74 06 d5 a6 d9 | ..c......q.Lt.!.|\....%._A.t.... |
50a0 | 50 41 37 8a 59 69 dc 1a 1b 79 77 16 7c b8 a5 c7 e7 6f 62 ed d8 09 0b 35 ed da f3 3b e3 71 e3 dc | PA7.Yi...yw.|....ob....5...;.q.. |
50c0 | 60 54 31 13 45 83 8d d2 55 09 68 03 4b 5d 57 76 be 34 77 e3 d3 05 71 40 96 fc e4 2e 50 95 1e 93 | `T1.E...U.h.K]Wv.4w...q@....P... |
50e0 | 0d c3 12 f3 34 a1 8e 3f a4 8a 90 5f 1d ac c9 b4 27 61 db 52 13 dc 1a 5b 61 a9 1b 08 04 a6 15 4a | ....4..?..._....'a.R...[a......J |
5100 | b3 dd b2 cc 57 8a 0b 1e 86 0c b7 05 7b fe a3 c6 d6 7f 01 ae 20 a6 68 16 db 43 bd d8 33 9d cf fa | ....W.......{.........h..C..3... |
5120 | 2c b0 98 9d e4 7c 9b 0a c2 89 f3 c0 bb 16 30 2a 41 83 4e f4 0e 73 a9 8c b8 86 3b ae bc 71 f7 2f | ,....|........0*A.N..s....;..q./ |
5140 | 41 78 8d 63 c2 72 db ac ca 66 54 ab 4a b1 4c 40 d5 50 9e 10 c5 2c 30 a2 92 b1 54 b6 ef 98 d9 c1 | Ax.c.r...fT.J.L@.P...,0...T..... |
5160 | 3b 38 c5 b5 9d 6b c8 aa 71 32 e8 e4 f3 db 00 ab 8d a1 ec 93 18 c8 19 e0 95 33 55 cd 10 81 4a 59 | ;8...k..q2...............3U...JY |
5180 | cd 53 97 5a 34 1b 02 0d 72 e1 7e 14 9b 71 14 81 94 62 68 1f 40 39 35 16 66 ba 90 b2 3b 5b d9 9b | .S.Z4...r.~..q...bh.@95.f...;[.. |
51a0 | ef 49 a7 f6 b9 e3 2e d5 ee b8 99 e0 20 4b 68 89 57 1f fd 45 01 61 9b 67 8f d9 94 20 e6 bf 60 60 | .I...........Kh.W..E.a.g......`` |
51c0 | f7 dc 88 8d 17 76 4b af 6e 18 e7 20 37 77 18 e7 7a 36 6d d6 2f f1 4e 4e 29 32 e0 b1 f5 9b 2b 23 | .....vK.n...7w..z6m./.NN)2....+# |
51e0 | 65 dd 2c c5 5c 82 d1 a7 fe 97 20 bc a6 10 54 30 db e4 92 d7 5b 15 ab 35 cf 84 9a 29 31 48 5d 31 | e.,.\.........T0....[..5...)1H]1 |
5200 | 46 a3 79 6a 17 75 67 66 e5 1c 0f 1a 9d 36 de 2e 52 db f6 1a e4 ed 5b 0f b2 0d 02 2d 9f 19 94 58 | F.yj.ugf.....6..R.....[....-...X |
5220 | 00 95 07 59 5d a3 25 ac 2a 92 f0 43 5d 5b 6a 4f 10 4e a5 2d 69 31 86 5d 57 d8 b8 6b 13 8c c8 28 | ...Y].%.*..C][jO.N.-i1.]W..k...( |
5240 | 61 5a 42 08 5b 7d 4a 74 82 64 83 5d d9 bd b0 d1 36 19 f8 66 57 16 f5 20 c6 fb 42 c7 f0 b7 05 cd | aZB.[}Jt.d.]....6..fW.....B..... |
5260 | 71 7c 17 2a 12 16 c1 88 5f d5 e7 84 17 48 13 7e 51 10 32 36 9f 75 ec 54 d7 58 1b 8e 64 2f 75 70 | q|.*...._....H.~Q.26.u.T.X..d/up |
5280 | ed d0 d8 9f 6f de ed 24 2b e6 53 8b 11 62 43 c5 f0 12 84 d7 14 84 c0 9a 99 59 2c 06 84 76 e3 54 | ....o..$+.S..bC..........Y,..v.T |
52a0 | 33 90 43 67 b6 0c 0c 04 74 c3 0a 2f ab 62 e7 82 da b5 cc ed a8 57 16 c9 fa 72 3e 6f 3a a2 2a d1 | 3.Cg....t../.b.......W...r>o:.*. |
52c0 | ae d6 68 a8 80 a6 66 46 85 96 b0 ae 01 cb b2 91 db 21 ac b8 b6 5a 90 56 a4 c2 f5 ef e1 fb 90 4e | ..h...fF.........!...Z.V.......N |
52e0 | ea 09 c7 f5 19 1b 98 24 48 e8 5a 67 d5 40 d4 38 a2 b2 97 dc cb d6 77 27 93 4a f5 12 6a 11 b4 92 | .......$H.Zg.@.8......w'.J..j... |
5300 | 64 dc 76 cb fb 77 d3 f6 23 43 d4 fb e1 da 07 3b 6e a7 d7 b8 e2 b1 d6 6a fb 39 81 5d 15 9f 5f fc | d.v..w..#C.....;n......j.9.].._. |
5320 | 5c 5c 1d 97 3b 14 da 3a 98 d4 20 92 2c bb f9 ce ea ec 09 98 4d 69 1f 9a 93 34 8d a3 4b d8 39 95 | \\..;..:....,.......Mi...4..K.9. |
5340 | 74 2e 38 64 f3 2d 4d 4b 10 5e 53 0c 1a 9c 55 5b cc ec a1 5b 35 a3 66 09 5d aa 36 e2 53 9a f9 81 | t.8d.-MK.^S...U[...[5.f.].6.S... |
5360 | ad da c7 50 2e 75 c6 e3 01 f4 58 f0 ed 9c 34 11 f5 d4 c7 16 c1 52 a3 de fa c5 72 da cc 3d 2d fa | ...P.u....X...4......R....r..=-. |
5380 | a2 58 38 5d 63 d9 26 0a f2 82 d5 2e 6c cb 1a d1 f3 94 e0 02 42 da 33 6c 8b 2f a2 10 67 5a 82 95 | .X8]c.&.....l.......B.3l./..gZ.. |
53a0 | 74 b2 dd ee 06 69 79 5f b0 3c bd 4b 6c bc 62 78 fe c3 e5 be 0c 27 f4 61 bb 2e d3 22 a8 51 b4 ba | t....iy_.<.Kl.bx.....'.a...".Q.. |
53c0 | aa 3b df 35 b0 79 c7 9b 77 9c c0 9d 64 54 37 35 ca 16 8a 5b 5c 1d 5f 57 83 5f f7 88 9d ae 29 5d | .;.5.y..w...dT75...[\._W._....)] |
53e0 | 91 ab 7b 8a de 4a 79 ea a8 da bc 42 24 f5 9c 96 05 2c 72 71 3b b1 62 3c a9 14 ba 05 71 4b 10 5e | ..{..Jy....B$....,rq;.b<....qK.^ |
5400 | 53 5a 46 43 35 31 08 6b 36 4b e3 f8 a1 a9 28 c1 4e 82 b1 eb 98 51 27 8f 2b c4 70 b2 16 3e 5f e7 | SZFC51.k6K....(.N....Q'.+.p..>_. |
5420 | 2d 03 b7 47 72 66 f5 2f 5c 25 8d 6b 77 72 a1 24 17 3e c6 12 7e 41 7a 11 6e ee 85 a0 28 5d 87 36 | -..Grf./\%.kwr.$.>..~Az.n...(].6 |
5440 | 90 fa 18 c1 0a 88 b6 a9 01 4e 03 05 a5 83 b0 97 19 24 77 54 32 db 51 2b 5d 8e 9e 3e 19 67 79 1f | .........N.......$wT2.Q+]..>.gy. |
5460 | 87 bd 64 ac fa d6 7d cf 7c e8 c4 fd ba 69 a4 79 01 ad 98 d5 d8 e0 a1 84 c7 cf 57 8c ca 83 b8 c7 | ..d...}.|....i.y..........W..... |
5480 | 28 c4 f8 ec 6e 3e 3b 95 7d 79 a7 7d 9e 2f f0 28 bf 04 3b b8 28 61 b1 50 9d 8d c5 ff 53 b5 7b c5 | (...n>;.}y.}./.(..;.(a.P....S.{. |
54a0 | 3a f0 99 c3 d2 8e 97 0b a1 45 94 cd df d9 e3 b8 04 e1 b5 bf 08 ae ca 46 cf 1a 2b d3 80 93 cf 94 | :........E.............F..+..... |
54c0 | af 0f d5 cc 5d b7 82 b1 25 fa 9c 49 e1 f3 86 98 46 53 6d 72 22 5a 27 34 cb 90 fb 5a 1b 6f 31 04 | ....]...%..I....FSmr"Z'4...Z.o1. |
54e0 | eb b0 a3 b1 09 72 e2 c0 9c 46 73 6b ab 6a 63 c5 44 b9 63 cb 01 87 ea 4a 67 4d 71 a3 d7 0e c8 96 | .....r...Fsk.jc.D.c....JgMq..... |
5500 | 39 92 d2 57 80 cb 20 fc c9 8a 01 3e c7 54 a7 6f dd 7f ec 0f af 9c f8 74 f5 c0 2a 35 5f d8 51 32 | 9..W.......>.T.o.......t..*5_.Q2 |
5520 | 76 88 8b f5 46 79 07 6f 41 e3 1f 02 18 83 75 8f d9 97 ee 63 ba 66 8a ef b0 ab 8b 8c 21 5c e5 df | v...Fy.oA.....u....c.f......!\.. |
5540 | c5 58 84 85 d8 74 f5 ab 50 95 b3 e7 9e d0 e5 14 bd 85 36 c5 07 0b 9e b6 25 6f 34 cc 1d 05 3b 72 | .X...t..P.........6.....%o4...;r |
5560 | 1b 44 c6 2d 41 78 4d 2d 61 8d eb 6a a2 28 2b 48 bd a4 33 ec 9f f0 81 1a 05 7b 56 03 53 f0 a6 c6 | .D.-AxM-a..j.(+H..3......{V.S... |
5580 | 5e fb a4 10 da 8e 18 74 eb 55 44 fc 7d 67 91 69 ea c0 71 cb 31 f1 ae a7 67 3f f8 1c 8d 4a 80 57 | ^......t.UD.}g.i..q.1...g?...J.W |
55a0 | 8d b6 2d 82 9c f2 0d c2 95 8a e3 22 4b a4 55 2d f4 25 62 c2 e9 78 72 ea 99 60 82 f2 87 34 ee 25 | ..-........"K.U-.%b..xr..`...4.% |
55c0 | bc 9d ac 27 ad e3 d8 97 f5 4f dc f2 f1 ef 7f ee d6 aa ca f3 b4 31 cb 54 bb c1 31 ce ab b4 69 48 | ...'.....O...........1.T..1...iH |
55e0 | 1e 4a 61 20 b2 d6 f3 21 21 ef 7a 9d 10 4d 93 62 3b 34 fd e1 8b 73 a1 57 3f 62 71 7e 62 fe 6e 7f | .Ja....!!.z..M.b;4...s.W?bq~b.n. |
5600 | 47 83 62 fe cc f9 e9 3b 82 4c d8 89 67 98 cf 65 b4 25 35 be 69 d8 1f 25 96 48 b9 86 31 e1 e4 0a | G.b....;.L..g..e.%5.i..%.H..1... |
5620 | 57 8d 1a 57 54 a4 46 c8 a9 6c 13 93 9b d6 02 4a 07 3f 45 9b 80 ad b4 6e aa e6 9d 22 2e a7 83 c4 | W..WT.F..l.....J.?E....n...".... |
5640 | e2 79 67 6d 0d 34 0b 4d 78 2d 43 c3 83 a8 76 4b f9 28 2a 5c b1 23 d7 39 f3 03 94 48 67 c9 c9 3b | .ygm.4.Mx-C...vK.(*\.#.9...Hg..; |
5660 | 91 b4 2f a7 f9 82 78 3d 21 bb c7 21 1c 19 7e 4b a1 cd ef b4 48 2c 2a 26 3a 7d ed da a9 7f 7a f0 | ../...x=!..!..~K....H,*&:}....z. |
5680 | 63 d3 12 13 a1 06 e8 cc 16 ca c4 43 1a c0 eb 94 b5 93 de 41 47 d7 c3 14 78 0d 9d a3 da fb e2 27 | c..........C.......AG...x......' |
56a0 | fb 6f b8 74 1e ab 3b d3 3e f5 fc 51 d1 db 01 5b 63 c8 f3 7e 76 f8 0e da 53 b4 a3 b9 20 a8 56 42 | .o.t..;.>..Q...[c..~v...S.....VB |
56c0 | 68 20 f4 12 19 56 a4 a6 6d d0 0f 47 da c6 91 a0 fc 6d ef 5e 5a c2 6b 4a 8e 22 de d4 a4 c1 a5 9f | h....V..m..G.....m.^Z.kJ."...... |
56e0 | 90 05 68 98 2a 35 73 d9 6c 3f 74 92 6c 00 2e dd ca 4f 6f 76 63 43 54 1c da f9 4c 59 dc c8 1b f9 | ..h.*5s.l?t.l....OovcCT...LY.... |
5700 | 61 3b 5d 33 68 5b f2 dd 04 21 3f b3 c4 4d 4f b2 86 8c 7a 33 6c 34 68 2d a1 ed db e5 d6 da da ea | a;]3h[...!?..MO...z3l4h-........ |
5720 | 3a 9b ba 40 70 6a 97 0c 91 a8 ef 14 de 82 c1 e1 db 0e 3e 74 56 ef fd 9d f1 d7 ae 8a c6 a5 fa 45 | :..@pj............>tV..........E |
5740 | 90 88 f1 9f c0 05 b4 c0 3b 5d b7 f1 24 37 e8 88 1a 47 df 65 48 2d ce db 3b fe a5 9a be 85 5e e8 | ........;]..$7...G.eH-..;.....^. |
5760 | d5 4c 63 4c b8 60 dc 5e 4e 18 ca fe 67 50 ce 18 87 05 7c 2b ec d4 b9 60 71 f1 3d c0 7c 17 45 28 | .LcL.`.^N...gP....|+...`q.=.|.E( |
5780 | af 59 82 f0 1a 5e 2c 72 d4 58 d9 65 87 f9 6d 2d d4 54 c9 be 74 0d 49 a4 bd c9 ed 88 31 cd 90 35 | .Y...^,r.X.e..m-.T..t.I.....1..5 |
57a0 | d1 b6 93 0e 82 65 03 d6 61 1a bd a4 d3 fc 72 dc 31 05 3b 52 85 d0 ad aa 34 e6 23 d0 f4 b9 02 51 | .....e..a.....r.1.;R....4.#....Q |
57c0 | 1b fb 59 3f 53 10 6a b8 ad 98 b1 00 76 ca 46 c8 8b 92 e2 9a 03 2a de 99 61 0d 76 44 e3 73 cd c5 | ..Y?S.j.....v.F......*..a.vD.s.. |
57e0 | 4f 1d 7a ff e6 d9 e1 7b 66 5f b9 c2 95 b4 f2 39 9c b5 a5 e9 5e d3 d7 91 85 ed 94 60 e8 28 16 b6 | O.z....{f_.....9....^......`.(.. |
5800 | bd bb 0b 01 b1 63 b3 f9 12 12 15 2f c4 c1 2c f4 3e 63 4c 72 51 5f be 50 9f 3b c1 9a 8a 7c 83 05 | .....c...../..,.>cLrQ_.P.;...|.. |
5820 | 25 33 5d 22 a7 ab bf 16 89 5b 74 e1 e7 c3 f1 65 4c 78 6d 2d 21 29 f5 a9 49 2d 56 56 a1 99 40 8d | %3]".....[t....eLxm-!)..I-VV..@. |
5840 | 4e a9 1a eb 64 98 80 44 05 44 e7 90 d0 ba 52 b6 d9 a0 01 e1 55 a7 dd d9 12 3c 88 6e db d2 16 0b | N...d..D.D....R.....U....<.n.... |
5860 | a3 38 8e e1 31 4d c1 77 ae 54 ee a1 0b dc b7 d7 db 1a 51 4d e1 24 22 50 62 45 b8 04 37 f2 8c 53 | .8..1M.w.T........QM.$"PbE..7..S |
5880 | 21 1b 08 2b f3 a7 b0 2e 54 d8 3c 3e d8 ca d0 9d 23 c9 cc 1b 4f b9 fa 37 87 df bd e7 d2 ec 77 26 | !..+....T.<>....#...O..7......w& |
58a0 | 6f ec 33 9d 24 c0 b9 68 9b 32 22 8b e1 c4 01 f8 1c 13 13 13 a5 6c 31 e9 02 73 b9 c2 98 f5 d8 49 | o.3.$..h.2"..........l1..s.....I |
58c0 | 72 ee 30 95 6d 4d 60 34 d9 6a 91 0d f4 4f c6 4d 90 d0 9c 3f 49 08 14 73 89 79 3f 56 7b ae e6 06 | r.0.mM`4.j...O.M...?I..s.y?V{... |
58e0 | 22 ab 18 85 f0 30 57 eb d6 0a b0 2d 41 78 2d 2d 21 e9 14 42 c5 fb 5f fe b7 27 9f 7a 9f 4d 07 1a | "....0W....-Ax--!..B.._..'.z.M.. |
5900 | 4b e8 4a 4a 04 8f 4e 17 8d 18 53 98 42 30 16 c6 96 98 7a 75 78 06 8e d4 68 fb 5b f1 b1 9c f9 16 | K.JJ..N...S.B0....zux...h.[..... |
5920 | 78 bf 08 44 97 73 8c 99 fd a8 b3 c2 ac 25 0d 6e f0 04 22 4f b8 f8 d0 82 d5 66 e7 c9 65 f5 3d e5 | x..D.s.......%.n.."O.....f..e.=. |
5940 | 3e 61 68 bb 0a 1d 37 b3 80 9b 64 f6 bd bf fd c0 9f 1d 58 1f fd da e8 9b 66 ac 57 48 ed 8a dc bc | >ah...7...d.......X.....f.WH.... |
5960 | 31 74 2f d3 8e dd 6d df 65 db 94 0c 6c 41 27 c5 bc 6d e3 3b 5a fb 68 c6 bc e6 8a 09 05 ce 04 47 | 1t/...m.e...lA'..m.;Z.h........G |
5980 | 94 2c 24 f4 e3 8b da 79 a8 54 bd 3a 02 6d 95 6e 83 ad 96 2d 53 b4 93 86 d9 29 65 c1 ba 35 a8 71 | .,$....y.T.:.m.n...-S....)e..5.q |
59a0 | 66 02 da 56 46 58 76 51 5c 9f 0b 2a 74 26 fd 57 bd 6e fc d0 fb ad 73 c7 66 60 4b 31 5d bc e7 8b | f..VFXvQ\..*t&.W.n....s.f`K1]... |
59c0 | 45 91 35 61 28 8a 9b f5 04 4a f1 71 b1 60 1a 74 3b e9 85 c7 a4 8b cb 4f c0 55 4b 9a b9 97 ab 70 | E.5a(....J.q.`.t;......O.UK....p |
59e0 | f9 77 f0 a0 c2 d7 f1 43 e6 99 36 3e a5 cb 04 02 a0 db 29 9d 0a a3 14 4e 57 86 11 9b 6b ed d8 c2 | .w.....C..6>......)....NW...k... |
5a00 | fc 40 c3 84 71 4d 7f 74 f7 07 1e c8 cf fe ec c6 df 39 56 dd 32 4c 1b 21 16 d8 ba 79 4b 05 81 af | .@..qM.t.........9V.2L.!...yK... |
5a20 | 6a e1 17 e4 65 16 49 1b 6a 4f fb 22 bd 55 69 0c aa 0d 60 f6 f3 cd bd 7c 6b 85 8f f7 8b cd 8c 1b | j...e.I.jO.".Ui...`....|k....... |
5a40 | ff 9e 0b d0 57 f4 70 43 0f d7 61 e5 02 ec 9e 89 be 4c 44 2a 75 22 20 9a 2d ce 3b c0 32 5f 3e aa | ....W.pC..a......LD*u"..-.;.2_>. |
5a60 | 0f e0 98 9e 66 fd 22 76 7f b9 49 83 b0 03 ab 30 af f2 c4 e2 b2 99 ae c4 14 44 6c 75 44 5d 2f 41 | ....f."v..I....0.........DluD]/A |
5a80 | 78 4d dd 51 a6 cb 4a ac ee cf ee 7e 29 8e 10 b3 53 98 2a ad 2b 10 92 bb 90 cd 0d a1 25 4e 94 f1 | xM.Q..J....~)...S.*.+.......%N.. |
5aa0 | 7a 0a b0 8b 62 47 3b 40 cb 93 2b 41 20 2f 88 de c3 0b 35 11 30 16 0f d9 f6 de 5d 30 68 10 8a 42 | z...bG;@..+A./....5.0.....]0h..B |
5ac0 | e9 c5 a9 14 86 d9 11 51 54 6d 0a ce ed 94 b8 35 d8 6a 1c 29 ad 4d 66 56 e8 29 2a 65 8d 3c 53 37 | .......QTm.....5.j.).MfV.)*e.<S7 |
5ae0 | 18 85 8f 21 7f 53 ff b1 bb b2 f3 bf b4 f1 2d ef 9d 7e 79 92 f0 5c 68 67 00 7d 7a 26 aa 61 8b c2 | ...!.S........-..~y..\hg.}z&.a.. |
5b00 | bb 76 d8 67 68 20 6c 53 84 ad 27 e9 e4 b0 b1 00 a9 52 a2 07 e3 07 e5 a9 d7 a4 4f bd 32 3b 76 4b | .v.gh.lS..'......R........O.2;vK |
5b20 | 76 e5 40 36 d9 9d d7 b2 c8 78 9e 9b 1f 51 f4 cc d6 32 53 f2 42 d9 3b bd 91 3c 7a 69 ed c3 97 6f | v.@6.....x...Q...2S.B.;..<zi...o |
5b40 | 7f 6c 76 e4 b2 dc 97 a7 90 09 e5 c4 1b 5b 2f 95 a9 f5 0b cd e5 b3 be 13 b2 e9 86 e0 73 23 af e7 | .lv..........[/.............s#.. |
5b60 | 48 9e b9 12 99 ee f5 b6 a1 70 29 6f 71 dd dc 51 b3 e3 4d eb ec b6 97 65 47 ee 63 59 0e e3 a9 ad | H........p)oq..Q..M....eG.cY.... |
5b80 | ae 6c 26 9a 6a 5c c0 a2 d0 4d ac 46 4f 89 d7 a5 1d a3 8e 33 9d b9 f4 05 31 d1 44 97 60 fa 40 b8 | .l&.j\...M.FO......3....1.D.`.@. |
5ba0 | d5 c8 19 87 45 25 5c f1 8d 41 69 cd 1a 43 54 fa 14 40 ad ba c4 7f 4a cc 39 22 59 4b 61 aa a4 b1 | ....E%\..Ai..CT..@....J.9"YKa... |
5bc0 | 0f 68 27 a5 b3 c7 8e 38 e5 c4 d7 72 cc ec 5b 01 8e 36 b9 d7 3a be ce df 32 38 bc 39 59 ff e5 bd | .h'....8...r..[..6..:...28.9Y... |
5be0 | bf f3 fa d1 e3 bf b6 fd 8d c7 aa 9b fa b2 49 04 70 de 8d 0f 63 e9 42 e8 6c 1d 8c cf c7 55 a1 ac | ..............I.p...c.B.l....U.. |
5c00 | 0f 10 7e bc 6e f4 ad fc fc 1b 8b 2f bc a5 ff f0 4b f3 b3 c3 ac e1 45 4f 15 7d 5d ec d5 79 0f 92 | ..~.n....../....K.....EO.}]..y.. |
5c20 | 94 a7 09 4f 53 96 a6 22 4d 93 34 3d 92 89 bb 72 f9 06 55 ff e0 95 47 9f 7c e6 a1 f7 1d db f7 ee | ...OS.."M.4=...r..U...G.|....... |
5c40 | f5 57 3e 27 6e cb 33 9d 25 e0 2a 92 bc db 20 86 bb f4 74 1b 66 0d d3 3a 7a 3f 62 de ab 9c cf 31 | .W>'n.3.%.*.......t.f..:z?b....1 |
5c60 | 42 5c 09 0c d1 a8 a6 a8 d5 30 56 e5 c7 ed 77 09 c2 6b 09 c2 62 d5 2c 96 f4 d6 3b d3 43 47 84 cc | B\.......0V...w..k..b.,...;.CG.. |
5c80 | 5d 20 60 40 38 d6 d9 d0 52 fe 5e e6 c0 fb 44 4d 8d ad ee 32 e5 10 ea 45 69 0e 92 a3 11 04 40 3b | ].`@8...R.^...DM...2...Ei.....@; |
5ca0 | c5 a8 9b 38 e6 6c ee 3a df 31 37 da 66 f9 80 9e cd 26 06 71 51 a1 87 69 7d 54 2c 10 c5 e6 89 d4 | ...8.l.:.17.f....&.qQ..i}T,..... |
5cc0 | 25 2d f0 38 49 80 44 8f d4 cd 09 e4 6e ac 35 d6 83 87 a1 b6 ce d9 8d a2 2d 86 d5 41 c8 9f 7e e7 | %-.8I.D.....n.5.........-..A..~. |
5ce0 | ca 27 bf b2 f7 cc 6f 6e fd ff ec bd 07 94 65 d9 59 1e ba c3 09 37 55 ae ce 69 ba 27 68 66 14 90 | .'....on......e.Y....7U..i.'hf.. |
5d00 | 46 28 18 0b 24 90 90 84 25 84 49 8f c1 0f ec c7 33 32 96 97 8d 9e ec 07 0b cb 7e 36 4e f8 81 de | F(..$...%.I.....32........~6N... |
5d20 | 32 36 cb b6 60 49 7a 46 24 0b 10 98 87 05 32 a0 41 79 14 27 6b 34 9a 1e 4d ea e9 30 5d dd 95 6f | 26..`IzF$.....2.Ay.'k4..M..0]..o |
5d40 | 3c 61 ef b7 ff ff df 7b 9f 7d ce ad ee 91 c4 84 6e 5c 67 4a a5 5b b7 6e df ba 75 eb 7c e7 4f df | <a.....{.}......n\gJ.[.n..u.|.O. |
5d60 | ff 7d df f1 7b 83 57 6e 97 33 6d 59 48 ae aa cb ca 74 ef a4 16 2d eb dd 51 d0 ac 63 06 17 51 91 | .}..{.Wn.3mYH....t...-..Q..c..Q. |
5d80 | bf 20 7e f4 7b 66 be f8 ba ee fd 87 d2 2d 1d a7 79 dc 1b 27 29 8b d0 a6 9b 4b b2 b3 86 71 a5 28 | ..~.{f.......-..y..')....K...q.( |
5da0 | 2d c1 88 f3 5c c4 85 f9 22 9d 15 c7 f6 7c d3 f5 e2 96 cd d5 bf f1 e5 db 7e fb ce b9 5f 5f 79 d9 | -...\..."....|..........~...__y. |
5dc0 | b9 e4 68 37 29 85 bb 50 c9 de 82 e8 2d 40 41 3f 19 ab 71 1f f2 d2 7c a2 86 5b 2a 1b d7 8d b9 6b | ..h7)..P....-@A?..q...|..[*....k |
5de0 | a3 89 50 bd 82 e9 06 50 6b a1 af 8a e7 e8 7c b8 0b c2 67 f2 88 db 9a 25 f1 a1 6b e1 34 5b dc ab | ..P....Pk.....|...g....%..k.4[.. |
5e00 | 2f 9e a7 8b 79 39 2c 54 3b 02 6a 17 2c dd c3 08 57 50 8f 42 98 9a 10 a6 85 51 84 0e 44 55 21 14 | /...y9,T;.j.,...WP.B.....Q..DU!. |
5e20 | fc e1 41 0f c2 31 b6 cb 86 44 52 d0 b5 6f b4 04 c9 53 50 e2 07 2e d3 5a 40 02 1e 08 60 ce 9c 8c | ..A..1...DR..o...SP....Z@...`... |
5e40 | 06 89 d2 86 3e 90 bd 28 99 ed c8 0a 1b bc 05 12 59 ad 2e 4d d0 7a 08 45 16 d1 96 18 46 30 03 dd | ....>..(........Y..M.z.E....F0.. |
5e60 | da 17 6d fd f3 c5 0f 7e 4f f7 0b bf b6 fd 6d 1f 19 bd 78 4b 77 53 59 26 5c f9 41 84 e6 f5 36 52 | ..m....~O.....m...xKwSY&\.A...6R |
5e80 | 45 3a a5 94 cf d4 67 50 f5 e5 05 5b 64 1b af 4e 4e 7e ef fc 17 ff 4a fb e1 99 28 cf 64 6b 24 e7 | E:....gP...[d..NN~....J...(.dk$. |
5ea0 | 80 ef 63 7e 31 4c 50 6d 03 d7 cd c1 79 b5 e0 ef 93 d8 52 65 f9 84 27 7c f9 f0 e1 d7 1f ff 99 57 | ..c~1LPm....y.....Re..'|.......W |
5ec0 | 5c f8 ee 4f 7c e4 e7 3f 73 e2 43 db 2f 4f db 69 0c b6 a5 b2 6a aa 24 2d 91 b4 2c 76 8a 3c bf 78 | \..O|..?s.C./O.i....j.$-..,v.<.x |
5ee0 | 46 6d 5e 60 e1 c4 b2 a6 18 35 2d 7e 51 cb 60 83 a9 85 6b ae 22 ff 60 17 84 cf 68 51 68 e2 59 2b | Fm^`.....5-~Q.`...k.".`...hQh.Y+ |
5f00 | 3e 76 23 e0 71 ff b1 d1 c9 fb 48 ed a1 18 a9 a4 d0 b8 c9 8e 4d fa 52 5b d2 33 26 63 d9 48 a5 5d | >v#.q.....H.........M.R[.3&c.H.] |
5f20 | 41 a5 3b af 05 87 4a 35 02 55 46 99 2e a6 3b f6 3b 74 2e ed 9c 1d f8 d9 a0 05 a3 31 4e c0 a8 90 | A.;...J5.UF...;.;t.........1N... |
5f40 | c2 9d 97 b4 c0 a1 3c 24 9c 18 fa c0 b1 c9 dc 13 23 eb 14 7f 9a c0 96 2c 40 14 67 86 26 24 91 fc | ......<$........#......,@.g.&$.. |
5f60 | 13 f9 3f db 9e bb 5d 6d a4 57 28 88 8d 60 42 7b ce e4 8b d2 27 fe 9f f4 37 ee 19 7f f2 0f 07 df | ..?...]m.W(..`B{....'...7....... |
5f80 | fc e7 a3 17 9e 2e f7 98 a4 3c e6 4a c2 47 65 1f ac dd 64 b3 d4 bc 84 b3 94 e7 a5 98 e1 fd e7 47 | .........<.J.Ge...d............G |
5fa0 | e7 be 73 e6 be d7 74 1e 78 5e fa a4 49 1c c7 3c 1d 88 0e d2 fa ac d7 a1 65 c0 b3 0a 72 e1 07 59 | ..s...t.x^..I..<........e...r..Y |
5fc0 | 2a 71 7f 8f f9 27 59 9e 73 5e 2c 1e ba f9 d6 23 ef 79 c9 83 bf fc 81 0f bd eb f1 57 8f ba 4b 2d | *q...'Y.s^,....#.y.........W..K- |
5fe0 | 99 73 e2 0a 61 63 ad aa f4 84 8c f7 1e 2b a2 a4 b8 78 3a 18 e0 fa ea b5 b9 d4 14 cc 06 1b 82 34 | .s..ac.......+...x:............4 |
6000 | 3e 4e 5a 01 9e 5d 10 3e b3 20 d4 2c 4d 0e 9f 00 10 1e 3a ee 2e eb 00 4d 83 43 d9 c6 b9 38 9e f4 | >NZ..].>...,M.....:....M.C...8.. |
6020 | e6 30 e7 a3 9e c0 39 9c 0d 4a b6 14 35 83 9b ad bd b8 2b eb b9 b7 82 21 c2 a5 e6 bc 99 90 86 7d | .0....9..J..5.....+....!.......} |
6040 | 1b 8c 84 32 82 0f 2d 79 a9 14 b7 cb 84 0c 79 a1 da 9a d5 43 fe a8 a5 ed df 60 c8 8d b9 49 e8 70 | ...2..-y......y....C.....`...I.p |
6060 | bd 51 d3 46 2b ae 0a 62 7e 67 02 53 81 68 2b 69 db 82 e8 e0 68 d7 24 9c b5 2f 2c 0d 93 c2 2f 1b | .Q.F+..b~g.S.h+i....h.$../,.../. |
6080 | eb d8 7c fe a6 d6 a9 97 b4 1e 7f 6b 79 db 1d e3 13 b7 8f 6e b8 2f 3b ba 52 ce 6d a8 ee 98 c5 c2 | ..|........ky......n./;.R.m..... |
60a0 | b5 46 14 64 68 c5 1c 1f 2c 88 ed 6b e2 95 6f ee 3d f2 f2 d6 23 37 a6 e7 66 c4 c4 e0 79 c2 12 5b | .F.dh...,..k..o.=...#7..f...y..[ |
60c0 | b7 69 2f 4b ae a7 b7 e3 dd 9a 86 2d 24 6b f0 ab 12 48 cd 72 13 15 65 f4 4d df f4 0f 8f ae 9c 78 | .i/K.......-$k...H.r..e.M......x |
60e0 | ef 9f be fd 8e 57 6d b6 0f b4 63 05 a1 d5 5f f8 aa ad 08 2e e7 f6 94 db 6b 6a d4 af 77 95 42 9c | .....Wm...c..._.........kj..w.B. |
6100 | e9 fa d8 b2 c1 29 0d 3c 67 c8 72 b4 2c 76 41 f8 4c 1e 42 44 87 5f 28 5a 5d 00 e1 c1 e3 5e 26 cf | .....).<g.r.,vA.L.BD._(Z]....^&. |
6120 | 1c 06 69 9d 36 3a eb d2 49 ed 48 a4 e6 0f 9f 67 b0 02 2f 44 50 78 10 e7 1b a6 8b e4 9f c9 6c c8 | ..i.6:..I.H....g../DPx........l. |
6140 | 21 08 ea 2a fd c4 09 24 e0 07 7d 9d ab 45 3e 14 0b 05 04 46 11 10 34 50 77 cd f2 d1 48 dd 8d d8 | !..*...$..}..E>....F..4Pw...H... |
6160 | db 02 95 a0 30 d6 f9 99 21 03 ec 14 dc 29 20 da 28 07 dc f1 a2 50 13 c5 51 5d 8d e5 25 18 d6 db | ....0...!....)..(....P..Q]..%... |
6180 | 7f 40 1b c3 c4 bc b3 be 6b 0d 28 2e 8b fe 77 f7 ee 7c 53 f7 ae 81 4a 9f 28 96 ce 15 73 17 d5 cc | .@......k.(...w..|S...J.(...s... |
61a0 | 7a d9 a3 3e d4 8c 18 ed 91 5b 4b 62 fb 48 bc b6 14 0d 22 08 87 7c a2 a2 81 4e 77 98 e1 73 5f 6a | z..>.....[Kb.H...."..|...Nw..s_j |
61c0 | 69 aa 92 2b bc 51 02 60 cb 5f e7 ef a1 f1 da 61 32 58 16 33 cb ea e4 65 7f 7d bc bc f0 7d 6f 7f | i..+.Q.`._.....a2X.3...e.}...}o. |
61e0 | 65 f4 4b 1f fb 7b 5f 78 4d bf 73 20 89 4b 4c 0c d8 b4 8a 7d e5 99 55 5b 78 6a b8 5e 34 97 ec 59 | e.K..{_xM.s..KL....}..U[xj.^4..Y |
6200 | e0 5b 68 05 24 71 cf 9a ed 82 f0 99 0d 84 45 21 17 8f 8a 76 d7 46 42 a7 7e 6d 72 bb 7c 04 86 28 | .[h.$q........E!...v.FB.~mr.|..( |
6220 | 3c 15 1c 3d 37 61 c6 8c b1 c4 84 8e c9 a8 cc c7 2a ed 48 ad ab 73 2c 5c f4 35 7f 3e 59 f1 42 75 | <..=7a..........*.H..s,\.5.>Y.Bu |
6240 | 38 75 e3 9c 4d 0f ec 49 06 1f 92 cf 18 64 b2 95 41 0b f6 03 6c 63 46 5b 0e 37 3c 2a 32 d7 00 2b | 8u..M..I.....d..A...lcF[.7<*2..+ |
6260 | fe 26 88 5e 63 5e 55 02 5a a9 58 84 82 23 9a 2e ec ba 13 58 6a 14 85 c9 25 65 0b b3 ea 89 62 06 | .&.^c^U.Z.X..#.....Xj...%e....b. |
6280 | de 89 b0 eb fa 20 ae 88 4d 60 29 28 24 82 38 b7 53 1f 2d 98 28 54 c2 d0 ca e2 86 e4 dc cd e9 19 | ........M`)($.8.S.-.(T.......... |
62a0 | e4 35 f0 70 6e 6f ae 3c 05 93 a6 40 ce 18 63 8d 49 b8 13 09 86 93 b8 08 26 1f de 34 83 02 bd c9 | .5.pno.<...@..c.I.......&..4.... |
62c0 | bf e3 58 74 3a a2 37 23 7a 5d 1e f5 ac 72 78 31 66 63 93 75 cc 31 53 02 96 39 90 95 4c e6 3c d8 | ..Xt:.7#z]...rx1fc.u.1S..9..L.<. |
62e0 | 1a cd 2d 7e cf df ff 96 d5 7f f5 d1 77 7c f5 bb cb 4e c7 3c d6 99 12 30 7f 31 d3 a3 be 1a 6e f9 | ..-~........w|...N.<...0.1....n. |
6300 | 59 bc a7 bf b0 9d 5a b9 ac 09 c9 ca 0a 91 fc 98 c0 f7 43 ed 82 f0 19 1e 14 c6 47 6e e6 09 5c bf | Y.....Z...........C.......Gn..\. |
6320 | 93 23 d7 f1 b4 0b 6a ea d8 5c 31 7f 7a 40 5a d7 11 d2 90 2a e6 f8 22 58 16 76 a4 ae bc ea 6d f3 | .#....j..\1.z@Z....*.."X.v....m. |
6340 | 86 c8 d6 56 35 d1 d9 17 71 1d 30 d5 6a 6d 52 5d ed 06 61 2b 05 f8 2c 31 8f 4c 25 54 62 ac e4 a0 | ...V5...q.0.jmR]..a+..,1.L%Tb... |
6360 | 5f 68 1e 44 db c2 82 2c b2 63 68 c6 d0 4c 42 22 c5 94 c7 9a 98 e4 48 2e 45 5b 5f 04 b0 49 6a f3 | _h.D...,.ch..LB"......H.E[_..Ij. |
6380 | ac 50 b1 d4 c3 d2 e0 10 92 d5 cc d4 bb 9a a7 d2 60 8b 1e 06 9e d8 79 81 a9 30 f9 b1 99 93 5d 52 | .P..............`.....y..0....]R |
63a0 | 16 e6 98 93 1c 60 a6 a7 06 ac 3b 8f 5d 83 dc af e6 a9 12 24 85 81 77 27 05 a8 92 ae 43 e6 f2 d3 | .....`....;.]......$..w'....C... |
63c0 | eb c9 a5 a5 f8 d8 51 b9 b8 00 4b 2b 83 81 30 bf ed 6c 87 95 63 73 65 d2 6c 46 0f 07 d9 fe fd b7 | ......Q...K+..0..l..cse.lF...... |
63e0 | fe f0 d1 0f bf eb 8e ff 9e 7d 6b 4f 14 1c 94 7f 83 4b 80 79 e7 d6 ce d3 ce a4 75 05 a8 8d 2b c2 | .........}kO.....K.y......u...+. |
6400 | 57 a8 9b af 48 05 b2 a3 d4 25 2f 69 cf ba d8 5d 65 7a 46 d3 d1 28 3e 78 3d dd 4c 0e 1e 13 b3 8b | W...H....%/i...]ezF..(>x=.L..... |
6420 | a4 fa 87 b6 63 7a d2 2f f1 64 15 64 08 0f e1 86 36 e8 05 9f f4 15 6b 94 f7 9e d5 4c 56 2b a5 7d | ....cz./.d.d....6.....k....LV+.} |
6440 | 24 9d c9 da 4f b3 83 0c a9 b9 68 81 f8 91 89 80 8f 98 58 32 9a f6 74 71 55 17 62 9d 89 91 71 82 | $...O.....h.......X2..tqU.b...q. |
6460 | 7d 54 3b 35 2b 05 aa 5a c8 d4 4a df 4b 66 27 fb 14 24 f5 70 32 ce c0 4a 2d 1f c2 02 93 29 20 e1 | }T;5+..Z..J.Kf'..$.p2..J-....).. |
6480 | 85 8c 0a f3 c1 0a 20 8e f2 48 0a 48 fc 18 2c 32 16 25 2d fa 82 46 69 2c 65 12 8b 18 fc ee f1 1d | .........H.H..,2.%-..Fi,e....... |
64a0 | f0 be 6e bc 66 b0 f1 d4 c8 64 ac f1 0f fd 87 10 b4 f7 41 7d 5e 5d e4 e5 ea ea e4 c1 07 87 9f f8 | ..n.f....d........A}^].......... |
64c0 | f8 f8 9e 7b 99 f9 95 64 ac 2f 6e f2 a1 ce 4f af 16 a7 2f f0 dc 5c 41 da 93 87 1e eb dc 74 f3 1b | ...{...d./n...O.../..\A......t.. |
64e0 | 0e 9f 91 f0 2b a1 9d 46 a9 ed c0 c3 20 70 6b ad dc 5e c5 1f 2a 10 9f ca 59 d8 d7 3f 02 df 5f 6a | ....+..F.....pk..^..*...Y..?.._j |
6500 | 08 31 e5 3d b7 15 b3 ab 54 14 06 e1 63 17 84 cf 24 06 5b 9d d6 89 9b ec ed b4 9d 5e ff 22 da 36 | .1.=....T...c...$.[........^.".6 |
6520 | 47 29 24 9e 0d 15 ba d5 e3 29 83 ac ed 12 6c 2a e0 f4 cf d0 9e c5 9b ac 5b d3 2e f8 cb 71 b2 b1 | G)$......)....l*........[....q.. |
6540 | 45 11 61 72 11 9a 92 d2 d3 c1 4c b8 02 30 8d fe cc 39 0f 19 a9 8c 84 c0 65 40 2e a1 dd e2 46 f9 | E.ar......L..0...9......e@....F. |
6560 | d8 2f 05 94 6a e2 02 40 6c d4 b0 3a 48 a0 15 44 01 b7 67 35 d4 b3 32 cb fa 9b c5 70 ac 26 63 95 | ./..j..@l..:H..D..g5..2....p.&c. |
6580 | 0f ca 7c a2 60 34 98 a0 d0 cc a8 50 83 c2 e4 a8 f8 1b 09 f0 a8 c0 74 14 2c 11 8b d2 7c 54 ca fb | ..|.`4.....P..........t.,...|T.. |
65a0 | b6 6b 64 a1 58 39 7e 5f 36 c5 f8 fa 87 b6 1c bb c3 91 ce 8a c9 fd f7 0f 3e f6 f1 62 75 75 70 c7 | .kd.X9~_6...............>..buup. |
65c0 | e7 8b 27 ce cb f6 7c ff e3 9f cb 4f 9e 63 45 34 f8 fc bd a3 fb 1f bd f6 70 da 29 fb e4 dd 56 6d | ..'...|....O.cE4........p.)...Vm |
65e0 | 17 9a 97 dc 5f d7 28 c8 1d 1f b8 56 2c 1f a1 b5 41 87 3a 67 2a aa fc 2e a5 5d 1d 54 76 77 52 91 | ...._.(....V,...A.:g*....].TvwR. |
6600 | 3b 00 1e da 0b 93 b3 5d 10 3e c3 d3 7a 93 05 c5 fe ab f6 8d 2f b6 52 b2 30 eb d3 c5 b0 34 1f c8 | ;......].>..z......./.R.0....4.. |
6620 | 56 01 38 09 21 ca 1c fe 66 e6 84 cc 73 9d 8d 01 b0 c1 5c 97 e9 c0 99 01 95 7c 81 52 53 6b 7a 5b | V.8.!...f...s.....\......|.RSkz[ |
6640 | b8 da f2 43 35 4f 57 ec 91 c4 42 d8 60 28 30 b8 71 92 12 85 80 c1 14 b2 61 74 94 d8 49 24 ed 37 | ...C5OW...B.`(0.q.......at..I$.7 |
6660 | a1 07 93 c1 ad f3 f6 25 8f 5e c4 68 4b 96 aa 3f d9 da 2c 87 13 35 ce b5 49 b0 cd 6f 04 ad 9d 44 | .......%.^.hK..?..,..5..I..o...D |
6680 | 98 72 17 c2 eb a4 50 fd 9c d0 08 5c 71 08 82 11 e1 0d ba 28 74 2e 82 40 94 82 50 69 35 f3 eb 8a | .r....P....\q......(t..@..Pi5... |
66a0 | c0 d3 b9 28 63 95 42 f8 4e 0d 4a 36 ed 7a 0c 17 38 56 14 0c 74 ae 4a 53 c6 26 f9 99 b3 e3 3b ef | ...(c.B.N.J6.z..8V..t.JS.&....;. |
66c0 | ca cf 9f e9 df fe 11 36 c8 e5 fc e2 f6 9f 7e 98 0d 27 3c 8d b7 7e ef d7 36 ce ac e6 30 3d c1 9e | .......6......~..'<..~..6...0=.. |
66e0 | aa f2 1f 4a b4 7a 62 66 29 5a 3a ca d3 19 9d 8d a8 b4 f6 7a b1 ce d3 be ee b3 ad 7c 24 54 ca 6f | ...J.zbf)Z:........z.......|$T.o |
6700 | 35 3b 40 42 b2 ac 77 47 14 cf e2 d1 ba e6 06 ad bc 31 0b b8 5c 4e d6 f3 f8 90 fd 13 c8 b6 d4 6a | 5;@B..wG.........1..\N.........j |
6720 | a2 0a c5 81 59 cc c6 7d d5 9e b1 57 58 ee 84 43 c9 43 c5 7e 59 1a b8 0a 4d c1 53 30 c7 7e ab 6d | ....Y..}...WX..C.C.~Y...M.S0.~.m |
6740 | 06 d9 d2 51 57 4e 69 02 56 e2 0d dc a4 c0 8b 34 53 da ab df 43 94 33 57 65 93 40 a6 9c 76 7f 25 | ...QWNi.V......4S...C.3We.@..v.% |
6760 | 66 bc e6 27 81 28 54 e2 1d ab 99 af 48 4d 49 d9 16 c5 a9 8b bc cc 45 39 1b 95 a0 cd c1 a3 42 47 | f..'.(T.....HMI.......E9......BG |
6780 | 06 e1 29 a0 dd e4 a3 d8 03 d4 60 c9 98 95 76 7e 48 bb 8c 7e d5 90 bb 06 13 df c9 ea a5 71 51 b3 | ..).......`...v~H..~.........qQ. |
67a0 | 22 8d f8 fb 2b 7d f9 a8 48 6d 30 6b d0 56 ba 25 4d 41 41 51 96 eb eb e6 0a 54 6e af f7 3f f1 91 | "...+}..Hm0k.V.%MAAQ.....Tn..?.. |
67c0 | f8 d0 a1 fc e2 93 83 cf df 2e db 31 ef 6f 7d 64 75 cf 40 b5 66 20 a0 73 34 fd b0 97 34 d1 5d 10 | ...........1.o}du.@.f..s4...4.]. |
67e0 | dd 45 f3 34 e5 68 bb dc 58 61 95 81 a9 6e 98 d7 57 ce 4f 41 2e 13 14 b1 b4 68 4f 7e 55 bb 20 7c | .E.4.h..Xa...n..W.OA.....hO~U..| |
6800 | 16 8f ee 0b be 59 76 7b 6a d0 27 aa 34 97 6c b2 51 74 f6 6b 1a 6a 47 29 88 5d 9b 2c 34 8d e1 c6 | .....Yv{j.'.4.l.Qt.k.jG).].,4... |
6820 | d8 64 43 85 3d d7 6d ca a9 48 7b 50 d0 50 1c 9e 21 42 0d 6e d4 4d d4 d6 56 d3 0e 14 ad a3 93 1b | .dC.=.m..H{P.P..!B.n.M..V....... |
6840 | 5a 70 27 0a 05 1b f1 31 50 d7 c8 0d 14 7a b3 e6 02 cf 15 9d 9d 10 00 cd 97 e6 05 18 38 4d 94 1f | Zp'....1P....z..............8M.. |
6860 | 4b 40 f3 56 02 12 ad da b0 10 04 44 f3 dc 0b 3d f5 c8 d9 62 5b 09 38 9d 66 22 d5 95 69 0a a7 56 | K@.V.......D...=...b[.8.f"..i..V |
6880 | 34 52 22 53 26 de 42 54 4c a4 9d e7 2b 3b a3 6e ee fe 85 f0 ab b1 67 78 03 99 36 d9 53 fa f2 29 | 4R"S&.BTL...+;.n......gx..6.S..) |
68a0 | 29 9e e1 c0 36 03 83 36 a7 dc 4b dc 3f 3b 11 4d 58 a7 6d 2e 47 85 88 98 de 3c ad 07 17 3b 9d 58 | )...6..6..K.?;.MX.m.G....<...;.X |
68c0 | dc f3 a9 b8 db f9 ad fe 4b 7e 6b ed 65 ed a4 c0 91 87 0c 27 14 08 45 58 3c 29 d7 cf 9a b8 ef 8c | ........K~k.e......'..EX<)...... |
68e0 | 57 1d f8 42 ab d0 9a 2e be ae f3 48 89 39 50 a0 5f 55 a9 f3 dd ee e8 b3 78 a4 47 ae 8d f7 1e 1e | W..B.......H.9P._U......x.G..... |
6900 | 3f f2 15 ed f6 21 b2 7e 99 0d ca b8 13 ab ac 94 89 34 59 e2 d8 7c d9 36 c9 9f c8 50 ac 9e 7a a4 | ?....!.~.........4Y..|.6...P..z. |
6920 | cc cd 8c 15 f4 d2 ed 5e 12 25 36 d6 96 c2 af ce 72 ed 3d d5 14 8e fb 58 e5 79 ed b6 69 0d 22 22 | .......^.%6.....r.=....X.y..i."" |
6940 | 6d f2 52 d0 9a 31 5f 97 ce 0a 86 f4 9d 80 3a ae 44 04 c0 e4 da 29 3e e9 80 21 c0 fd 8f 81 f3 b1 | m.R..1_.......:.D....)>..!...... |
6960 | db d2 f3 5d 75 f6 82 32 f9 1e 28 0b 4f 54 bb 27 d3 0e 4b 12 c0 b2 39 d3 a4 2a 04 25 b2 04 63 83 | ...]u..2..(.OT.'..K...9..*.%..c. |
6980 | 81 48 b0 86 40 77 b8 18 3b 15 0c ad 9b a7 0a 5c a6 2f 89 3d 24 63 52 3f a5 a0 d6 23 23 8b 44 ed | .H..@w..;......\./.=$cR?...##.D. |
69a0 | 7c 59 4d 0e d0 8b 61 69 eb e1 fe cc 3d 5b 4b e7 c6 5d 83 b3 63 ed ad 3d ad f1 c5 95 f6 47 d7 ae | |YM...ai....=[K..]..c..=.....G.. |
69c0 | f9 c3 fe 4b 8a 24 4d 48 bc 5c 29 47 94 70 f9 ae b9 35 19 a8 c1 a6 17 10 d7 e1 3e a1 6e f2 47 d1 | ...K.$MH.\)G.p...5........>.n.G. |
69e0 | 89 43 85 63 43 4c 50 4b 67 e1 58 b0 c9 2e 6d ed d9 ac 10 a5 ec bd f4 af 8e 1e f9 8a 07 95 f9 7b | .C.cCLPKg.X...m................{ |
6a00 | 8c 56 b3 b4 1b 31 94 f7 4c 3a 51 7f ab 28 32 93 13 0a 35 2e 46 fd 32 ed 08 ed 0d c1 68 45 18 29 | .V...1..L:Q..(2...5.F.2.....hE.) |
6a20 | 67 d4 4c 04 c6 98 d4 9e 7c 89 03 7a e2 be 61 9c d2 ce d1 c9 1b a3 31 e7 c7 12 11 19 cd dc 9b 3b | g.L.....|..z..a.......1........; |
6a40 | a9 27 e5 d7 2c 20 e6 9a cc 37 11 30 6f b0 ba fa f6 5c b3 d2 bf 64 2e ef cc 34 0f ef 63 4f 9c d5 | .'..,....7.0o....\...d...4..cO.. |
6a60 | fd ed a2 c8 45 36 01 ce 73 bb ab 5b 1d 91 b6 45 9c 9a a2 58 00 f4 70 59 51 30 a2 97 39 d3 19 a7 | ....E6..s..[...E...X..pYQ0..9... |
6a80 | 8f ea c3 9d ed 25 fa 9c 4e 05 1d a7 cb a4 9d 5a 5b 11 9d 92 39 43 44 2c 02 73 e8 fe 40 ef 43 d9 | .....%..N......Z[...9CD,.s..@.C. |
6aa0 | 2c be 1d 15 e6 3a f6 e1 cd 23 7f bc 71 fc 0b db 07 b6 cb b6 c9 fe c1 24 14 d6 0b 59 c9 93 4c b6 | ,....:...#..q..........$...Y..L. |
6ac0 | 3b ad d8 a4 e4 9a 7e 55 bf ff ee 7f 14 97 48 e9 ce 91 b9 a7 1a 16 bd f5 79 7c ad 46 af b0 69 c7 | ;.....~U......H.........y|.F..i. |
6ae0 | f4 0a ae 13 26 46 e7 bb 20 7c 76 8f de 8b 5e b1 f2 bb ef ad 60 69 d2 ce f5 bc 38 80 43 6d 65 40 | ....&F...|v...^.....`i....8.Cme@ |
6b00 | 08 71 2f cb 54 d2 81 78 37 dc 2e 67 96 e2 da 86 9d 0d 86 d6 d2 d9 ce 0b e1 82 4d da 50 2c 58 09 | .q/.T..x7..g..............M.P,X. |
6b20 | b7 45 a2 cf 4b 99 5f c2 c7 f8 28 62 14 b4 c0 53 04 62 22 20 44 d3 aa a1 40 27 53 53 9a f2 a4 32 | .E..K._...(b...S.b".D...@'SS...2 |
6b40 | 39 a4 93 11 7e 8e d5 45 14 c8 9a 81 29 dc e2 1c df b7 6c 70 a8 ec f0 3c 27 db 19 d1 ea c8 b4 c5 | 9...~..E....).....lp...<'....... |
6b60 | 93 96 8c a1 0f c4 ec 30 02 96 1c 14 77 86 a4 5f 6b 9b 53 ef 00 3c fb 86 a0 f3 1a 7c 2a 6d dc 2b | .......0....w.._k.S..<.....|*m.+ |
6b80 | 73 48 44 e1 76 81 ed 49 7c b9 09 2f 13 a9 ef da de f3 5f 2e be e0 b3 83 c3 25 4f 93 54 a4 29 49 | sHD.v..I|../......_......%O.T.)I |
6ba0 | ca d9 df c8 64 20 49 14 f1 28 01 63 50 3b 18 ac 2d e3 92 2d 85 1a 0f 21 b6 8a ea be 86 b8 6f 3d | ....d.I..(.cP;..-..-...!......o= |
6bc0 | 3c ea ea e5 6a 5c a3 56 a8 3f 09 c4 5f f3 66 a9 d6 ec 6e 3a fa 2c 83 f0 c5 af 14 ed 9e 1a 0e 68 | <...j\.V.?.._.f...n:.,.........h |
6be0 | c4 6e fe fa f9 58 8d d6 f3 f6 52 cb 5c 1a 0d 08 cd 39 5a 14 4a 16 c0 4d 81 be ff 58 03 99 db 71 | .n...X....R.\....9Z.J..M...X...q |
6c00 | 2c 18 4a 60 98 64 12 a2 9b 01 43 41 4a 19 60 fc 2e 49 5c d8 57 80 10 52 b8 16 95 bc 92 37 02 26 | ,.J`.d....CAJ.`..I\.W..R.....7.& |
6c20 | 3e 37 cc 12 4c 76 48 26 17 65 21 4a bb aa 28 bc 9e 4d 89 6b f6 c2 ad 38 70 6e 87 5d 4e 0d 15 a7 | >7..LvH&.e!J..(..M.k...8pn.]N... |
6c40 | 94 b6 6b 74 fd 09 79 ee bc 79 b5 4a 63 1e 58 a0 7c 63 36 d6 49 4b a4 2d 15 a7 c2 dc 88 13 70 25 | ..kt..y..y.Jc.X.|c6.IK.-......p% |
6c60 | 44 fe aa a0 19 1e bd 92 9a f7 ee 8e 03 42 1d 2e eb 59 d1 0d f7 99 d2 3a 8d 1e e0 1a 7f 34 e8 65 | D............B...Y.....:.....4.e |
6c80 | a1 d4 bf db d3 14 ac 23 8b 95 a2 f3 1b e7 6f fa c3 cd 1b 86 bc 9b 9a d7 63 02 34 80 2d c6 39 69 | .......#......o.........c.4.-.9i |
6ca0 | b5 fd 61 2e 15 e6 fd a5 05 4c df 4e f1 06 d7 24 81 40 36 69 a1 70 a8 d6 cd 2d 8a ba 31 b0 0f 8c | ..a......L.N...$.@6i.p...-..1... |
6cc0 | e4 05 09 83 1a 1a 4e 98 30 f8 a2 1b f2 5d 10 3e ab 47 fb c4 8d e9 d1 eb 46 0f dc cd 83 e9 f4 e0 | ......N.0....].>.G......F....... |
6ce0 | 62 d6 5e 44 56 0d e4 6f 62 34 28 f3 0c 40 a8 0a 35 d8 2e d2 6e 62 4f 4f 1a 32 0a 8d 3d 7d 60 91 | b.^DV..ob4(..@..5...nbOO.2..=}`. |
6d00 | 82 de 19 84 00 5a a0 d3 c2 c9 18 a1 e5 98 d3 94 a5 cc d4 7d 97 31 6f 18 23 b4 34 3f 52 db 54 95 | .....Z.............}.1o.#.4?R.T. |
6d20 | 33 db 91 77 0b 0d 6e 67 c3 99 8f 5a 8d 37 7b ba 91 71 0c f2 b3 61 d8 39 3f cb 8e 5f 13 7d e5 2b | 3..w..ng...Z.7{..q...a.9?.._.}.+ |
6d40 | b9 f5 04 2d 01 09 84 c3 49 c2 e3 44 c5 2d 70 f2 35 38 04 40 26 5a a2 95 28 c9 9c da f7 c1 d7 89 | ...-....I..D.-p.58.@&Z..(....... |
6d60 | d3 a6 4c a4 4b e7 bb fe d4 db 77 4d 7e 72 01 86 b9 ba 41 60 a6 41 c8 5c 41 fa 4b 39 b8 c9 eb 13 | ..L.K.....wM~r....A`.A.\A.K9.... |
6d80 | ae fe 64 e3 d8 7b 2e be e8 54 be 1c a7 51 3b 89 4d ac 33 59 b2 f9 0c 43 52 2b e7 e8 93 05 27 68 | ..d..{...T...Q;.M.3Y...CR+....'h |
6da0 | 55 35 5a 5c 20 56 40 da c5 ee ae 50 b4 b7 51 e1 33 ec c3 54 f5 5f 40 16 27 43 49 45 ce a3 10 03 | U5Z\.V@....P..Q.3..T._@.'CIE.... |
6dc0 | 0d 0e 4d 30 cc cb 1f 78 d5 78 17 84 cf f6 e4 70 ee 55 6f 18 3c 70 37 b3 8b b0 70 2e 4e b6 cb c9 | ..M0...x.x.....p.Uo.<p7...p.N... |
6de0 | 76 11 77 62 73 69 4e 3b d1 70 50 96 05 f5 03 f8 70 5b cd 2d 3b 22 31 95 24 40 17 33 19 17 18 0c | v.wbsiN;.pP.....p[.-;"1.$@.3.... |
6e00 | ce 2c 45 e6 f4 f3 8d 13 d8 7f 70 d3 08 db 4f d0 56 48 c6 8b d0 98 ff 84 22 36 9a 86 ec 90 45 26 | .,E.......p...O.VH......"6....E& |
6e20 | 51 03 9e 68 c1 b1 f9 a1 84 dd d4 af 3a 79 dc 69 df 43 fc b4 24 3a 05 fa 1c c2 eb 0d 03 12 ae bf | Q..h........:y.i.C..$:.......... |
6e40 | 56 9e 7d 52 6d 6d 14 b1 79 7e a8 39 45 59 aa 3c 87 dd 48 13 75 92 11 9c f3 32 46 40 26 80 02 89 | V.}Rmm..y~.9EY.<..H.u....2F@&... |
6e60 | fb b7 b4 60 25 60 5e e9 08 e2 3b 80 10 62 9d c5 9e 03 21 49 89 53 0c 04 10 66 a0 1b 02 ef 69 04 | ...`%`^...;..b....!I.S...f....i. |
6e80 | 1f 94 ab 77 79 be 5a b6 df 77 fe f9 7f b0 f1 3c 16 a5 69 3b 12 70 31 48 59 64 ae 01 31 ee 32 4b | ...wy.Z..w.....<..i;.p1HYd..1.2K |
6ea0 | 2a 4d 75 28 45 a0 6b 55 a8 f6 9a 52 38 45 21 6b 1d 2c a9 79 0d a2 7a 6a 95 49 07 ff d9 b6 11 45 | *Mu(E.kU...R8E!k.,.y..zj.I.....E |
6ec0 | f0 d2 85 c1 72 76 2e 7f d3 cb 26 bb 20 7c b6 8f d9 5b be e5 4c e0 35 08 f9 5f a1 fb 17 26 8b c7 | ....rv....&..|...[..L.5.._...&.. |
6ee0 | 63 73 42 b4 67 a2 b5 0b 99 46 1b 33 f3 fd 6c 62 0a 10 d5 99 95 76 c0 a8 ac 1e a9 a9 29 fa eb 45 | csB.g....F.3..lb.....v......)..E |
6f00 | 77 31 f2 82 17 e4 48 cd ed 84 c2 aa 12 71 ba f8 12 b0 10 c0 4e f5 93 16 99 68 51 c2 c5 1f d8 ab | w1....H......q......N....hQ..... |
6f20 | b2 7a c4 ce 83 c1 0d 1b 6b 38 c4 4a 14 a9 04 70 09 89 28 18 b2 34 66 2f 7c 61 f2 99 db 4b c4 b2 | .z......k8.J...p..(..4f/|a...K.. |
6f40 | 12 02 aa 32 19 c9 32 82 29 79 51 f0 28 03 ec e5 99 49 03 41 7a 42 d0 de 06 81 30 2a a5 a4 3c 99 | ...2..2.)yQ.(....I.AzB....0*..<. |
6f60 | d7 06 16 dc 77 47 31 e2 59 51 6c 56 0b 83 b9 56 39 bc 1a 99 40 df 95 56 52 cc 8b 6a 45 e5 e7 86 | ....wG1.YQlV...V9...@..VR..jE... |
6f80 | 07 7e e9 fc 8b 1f c9 f6 c4 89 34 f1 97 47 2d 96 24 0c 4b 3e 1b 00 43 d4 f1 e6 74 21 00 95 9f 44 | .~........4..G-.$.K>..C...t!...D |
6fa0 | 60 f6 8f cd 1f f4 2a 64 3b 50 b7 75 95 7d 6a af 0a e7 03 26 e6 cd 10 06 cd c7 b8 fc 8e 6f 9e dc | `.....*d;P.u.}j....&.........o.. |
6fc0 | 7c 74 b7 26 7c f6 41 f8 b2 6f 8d f7 1f ce 9e 3c ed 86 cf 30 40 37 65 61 be bf 88 d2 a8 d5 8b 4c | |t.&|.A..o.....<...0@7ea.......L |
6fe0 | 88 30 45 87 24 28 29 d5 df 2c 3a 33 11 36 40 05 12 34 49 7a 94 4d 86 e5 a4 5f b6 ba 10 70 e8 d4 | .0E.$()..,:3.6@..4Iz.M..._...p.. |
7000 | d5 18 a0 98 f3 7a 47 dc ba 7d 0a 9b 9d 52 23 87 46 8a 78 f9 27 cd 19 98 19 44 98 c4 95 a8 b9 a6 | .....zG..}...R#.F.x.'....D...... |
7020 | fc 7a 3b d1 ec e0 d4 89 25 77 f5 a0 a5 65 e1 40 df da c4 a0 11 f8 fe bd fc da eb d3 07 bf 3c 89 | .z;.....%w...e.@..............<. |
7040 | 71 15 18 70 52 14 85 09 72 31 b0 94 cb 98 97 a5 30 35 9b cc 58 14 09 e2 ac 52 30 04 4b 36 12 71 | q..pR...r1......05..X....R0.K6.q |
7060 | b3 eb f6 6e 47 1f 45 37 0c c6 4a ec 6f 2a bb be 4f 55 95 c6 c2 0a ce 6d 89 dc 00 f3 56 2a 94 ac | ...nG.E7..J.o*..OU.....m....V*.. |
7080 | 37 15 e0 90 c5 ff e5 c2 cd 1f 58 bb 31 63 ad 38 95 22 4a 79 dc e6 71 6c 90 6a 7e 53 4a 0c ac 2a | 7.........X.1c.8."Jy..ql.j~SJ..* |
70a0 | 95 4d 2a ad 80 4f b5 2f ef ba ca 75 4d 0a 5c de 88 da 7e 3e c1 59 83 bc 1d 76 42 6b a3 0a 46 9d | .M*..O./...uM.\...~>.Y...vBk..F. |
70c0 | 52 47 55 83 0f a6 7e e8 d5 23 03 ea 5d 10 3e db 87 ec cd ce 7f cb eb 56 7e ff 57 b5 eb 05 08 70 | RGU...~..#..].>........V~.W....p |
70e0 | 83 d1 5b 2b 93 c5 a3 71 d2 96 69 37 ca 36 32 61 75 e3 4d 46 0a 9c cc a8 65 45 47 75 8e f0 e1 dc | ..[+...q..i7.62au.MF....eEGu.... |
7100 | 64 a4 db 6b 45 6b 26 85 ed 38 c4 18 06 43 c5 5d af 83 e9 a0 4f e3 0f 15 88 15 f9 a0 23 11 01 24 | d..kEk&..8...C.]....O.......#..$ |
7120 | 5e c1 4b 52 a6 08 e4 06 05 4d c9 01 31 8c f8 2e 52 2b 6f b1 80 b5 1d e9 04 97 fa a6 9b e2 f5 0d | ^.KR.....M..1...R+o............. |
7140 | 75 e1 6c 16 c5 4e 07 20 87 9d 26 93 2b 16 40 40 15 e6 7e d8 a8 8a 81 ab 00 5c 56 18 1b 22 49 55 | u.l..N....&.+.@@..~......\V.."IU |
7160 | 56 52 54 f6 cc 55 08 33 5c 70 a4 d2 11 67 33 a8 03 6a d2 75 e0 c0 c3 ee 95 34 18 8b 21 9e 9b 1c | VRT..U.3\p...g3..j.u.....4..!... |
7180 | de bc 07 5d 59 3e 30 59 fc 8f 17 be e9 9e c1 01 91 c8 c4 04 40 93 82 9a e8 17 a5 2e 00 0a da 1b | ...]Y>0Y............@........... |
71a0 | f6 d2 3e d5 c4 af e1 11 1a 2c 67 f8 7b 10 84 09 ad 65 51 e9 cd ab d8 57 b5 42 59 4d 77 3b 64 75 | ..>......,g.{....eQ....W.BYMw;du |
71c0 | 2b 0b c5 49 79 dd b1 c9 eb 6f 99 14 e3 5d 10 3e 17 c7 e2 b7 bf f9 fc 07 7f 55 8b 6a 03 de 54 58 | +..Iy....o...].>.........U.j..TX |
71e0 | fd 8b 59 6f b9 88 12 69 e2 de f6 46 ae b4 95 de ce 73 d5 df 2a 17 5a 31 7a 55 42 2e a4 72 2e 52 | ..Yo...i...F.....s..*.Z1zUB..r.R |
7200 | b8 a0 6f ad 66 0b 07 81 1b 66 2b 14 2c 37 b4 eb 65 6a 6f b9 eb 7a e3 b6 5d a1 ac d0 93 f3 38 c4 | ..o.f....f+.,7..ejo..z..].....8. |
7220 | 3a 4c 3a 93 6b 80 21 79 d6 28 df c6 d1 9c e6 7b b8 fc 4b 0d 1e ea 09 f9 bc 54 0a 72 14 8e a5 7a | :L:.k.!y.(.....{..K......T.r...z |
7240 | c9 2d e9 a7 b7 cb d1 a0 8c 80 9a a3 61 5b 9f d2 5a 30 a7 2a 4d 6a 2a 27 d0 d1 41 cd 1b 18 0b b8 | .-..........a[..Z0.*Mj*'..A..... |
7260 | 0e 8d 6f 24 b9 d3 19 19 d7 a6 8c 34 18 13 54 8c 4d 94 89 8a d6 59 55 30 99 0a 88 72 f8 eb 9b 1f | ..o$.......4..T.M....YU0...r.... |
7280 | dd 96 65 c6 e4 6f ac 5d ff 1b ab 37 f7 75 d7 bc 93 50 fe 41 05 98 42 0a 0a 3d 65 09 fd 29 4f 8c | ..e..o.]...7.u...P.A..B..=e..)O. |
72a0 | e7 75 8f 5e 15 46 34 1e b6 57 aa 31 20 35 5a 4c 3d 29 53 5d 0c 88 2e 48 25 42 6d b5 df 75 93 6a | .u.^.F4..W.1.5ZL=)S]...H%Bm..u.j |
72c0 | 3e 52 be 1a 44 a1 75 96 a9 1f 7d f5 70 71 b6 1c 0f f9 2e 08 9f 83 63 ee 15 af 8e f7 1d ca ce 9f | >R..D.u...}.pq........c......... |
72e0 | 01 1c e2 84 10 ce a4 51 b9 79 7e b2 74 b4 d3 9b 8d 2e 46 d0 7d 11 ee 62 da df cc 67 17 63 11 59 | .......Q.y~.t.....F.}..b...g.c.Y |
7300 | cc 98 b3 39 2a 21 08 f4 b7 8a c1 46 31 b7 1c 99 d8 80 ed 50 4e 2d 7b c1 bd 73 21 ae be a2 7d 35 | ...9*!.....F1......PN-{..s!...}5 |
7320 | 0e e4 71 37 df c7 c9 c0 87 0c 43 1c b8 bd 08 ab 13 5c 42 8f 11 fd 9b 2a 5d 7a f2 27 8a a4 dd af | ..q7......C......\B....*]z.'.... |
7340 | 8f 04 e5 a5 b4 37 48 9b 10 06 bf 73 33 ec 25 af e8 7c fe 93 03 50 a9 00 b0 09 d7 71 f4 49 a6 7b | .....7H....s3.%..|...P.....q.I.{ |
7360 | 05 8a 83 fd 06 2a d6 d0 5a 06 ae 68 70 dc f6 80 02 4f 50 0a 0c d4 ae 12 a2 9f a2 bd 67 26 12 80 | .....*..Z..hp....OP.........g&.. |
7380 | 9f 04 92 ad 2e 8a 32 61 65 24 f5 97 c7 8b ef bb 78 d3 1d c3 43 e6 15 22 02 5b cc 14 81 12 5b b1 | ......2ae$......x...C..".[....[. |
73a0 | 30 91 17 d5 28 8f 9a 2d ba e1 e8 52 f5 31 a9 03 56 bf 27 ec b9 70 dd dd ab 27 8f 59 35 c4 ba d6 | 0...(..-...R.1..V.'..p...'.Y5... |
73c0 | 36 39 aa c2 45 22 ee b0 72 02 90 f3 28 47 5b 2c 6a 8a 2e 2c e5 b7 be 6a a4 26 da 7c ec 82 f0 39 | 69..E"..r...(G[,j..,...j.&.|...9 |
73e0 | 38 a2 b9 85 f9 bf fa ba f3 bf ff 7e 46 18 b4 03 2a d1 bf 30 e9 2d a7 a6 2c 6c 01 75 26 47 69 41 | 8..........~F...*..0.-..,l.u&GiA |
7400 | f8 e3 8e 87 ca 24 a5 bd 05 c9 1d e9 d9 fc 35 23 f4 63 59 3f 3f 99 5d 8a 2d a7 99 e0 62 70 28 ad | .....$........5#.cY??.].-...bp(. |
7420 | 59 ae bd 4a 5b 9b 4e ed 74 4e 59 d3 7b 94 3b f5 4f 2e b4 5b 50 d0 e0 7d cd ad 38 52 38 2d 47 75 | Y..J[.N.tNY.{.;.O..[P..}..8R8-Gu |
7440 | 70 fb 2f a4 b4 8b 02 58 37 42 bb 15 e6 9c fa c0 3e f1 c2 97 77 ef f9 5c 1f 63 aa a6 72 8f 51 b8 | p./....X7B......>...w..\.c..r.Q. |
7460 | 13 8c 16 16 89 ca c6 84 5f 00 e4 6e 78 e8 46 29 a5 73 f6 56 96 b8 03 fb 90 31 4c 71 24 12 df 4c | ........_..nx.F).s.V.....1Lq$..L |
7480 | 85 1c eb dc 3c f6 e1 6c ee ff db bc e6 b6 ed 63 63 d6 06 b2 5c 9c 00 fc 30 00 6a 4a 41 ad dc 8c | ....<..l.......cc...\...0.jJA... |
74a0 | 6e f6 5b d8 94 41 93 ff 3d 95 ae 16 33 1b d2 15 e6 7f 71 8f f5 f6 b3 ad b3 9a 85 ba c0 98 63 74 | n.[..A..=...3.....q...........ct |
74c0 | 16 59 dc 05 67 39 03 c2 f1 06 db 38 65 37 80 69 29 91 70 38 d1 ff cb eb 87 37 1c cc 47 63 b6 0b | .Y..g9.....8e7.i).p8.....7..Gc.. |
74e0 | c2 e7 ec 58 fe ae 1f 78 f2 f7 de 6f 25 62 30 08 98 ab 7e 39 28 37 9e 1c ef 3d de ed cc 46 db 5b | ...X...x...o%b0...~9(7...=...F.[ |
7500 | 85 e2 9e 37 ac b6 36 f2 ee 1c 34 f4 80 d1 06 c4 64 d8 60 30 58 18 6e 16 c3 ad a2 3d 2b 61 4d 81 | ...7..6...4.....d.`0X.n....=+aM. |
7520 | 6c ef cd 1f bb d0 b8 5f 6b b5 bd 41 d8 90 16 f0 9d 0e 84 95 62 41 78 50 e7 54 71 6b 6f 0d 39 9b | l......_k..A........bAxP.Tqko.9. |
7540 | 50 d6 90 02 02 2c ee dd 30 5d 53 a4 2f 81 d8 8c 3d 57 a0 82 ea c8 f2 cb 90 52 07 f0 28 72 76 cd | P....,..0]S./...=W.......R..(rv. |
7560 | f1 28 1b 77 bf 7c d7 10 24 d3 a8 c3 8a fa de 0a 92 4f 18 91 00 c0 85 b0 7c 15 6e c5 4a 59 c9 2b | .(.w.|..$........O......|.n.JY.+ |
7580 | d3 3f c5 ad 3e 6a 04 19 29 8c 34 62 89 4d 54 2d 75 21 ca 62 a8 e4 fd 93 a5 3f d9 3a f2 e9 fe c1 | .?..>j..).4b.MT-u!.b.....?.:.... |
75a0 | a1 ee 32 78 4c 0c d8 03 10 a6 a0 9c 25 22 ea 62 35 44 40 6b cd 14 3d 6d 2e 53 db 94 e7 81 93 44 | ..2xL.......%".b5D@k..=m.S.....D |
75c0 | e0 d3 aa 0c c6 50 77 ae 74 a9 02 34 68 d9 dc 41 96 ce 56 c8 ce c7 01 d0 31 06 aa 9c e5 45 77 26 | .....Pw.t..4h..A..V.....1....Ew& |
75e0 | fb 3b af eb 43 16 50 b2 62 bc 4b 5b 7b 8e 8e f9 57 bc ba 75 cd 0d a3 47 4f 02 16 24 ba 20 c1 49 | .;..C.P.b.K[{...W..u...GO..$...I |
7600 | 26 b6 56 26 b3 cb e9 dc 62 72 f1 fc c4 26 96 78 de 0f b7 8b f1 40 99 72 51 a1 0c bd f9 93 c7 b1 | &.V&....br...&.x.....@.rQ....... |
7620 | c0 b0 a4 4d 30 ec cc 76 68 14 8c fb 48 30 76 c7 2d 0d 6a 24 e2 33 58 9f 33 2c 0e 85 13 26 c5 ec | ...M0..vh...H0v.-.j$.3X.3,...&.. |
7640 | 94 59 c7 41 4d c3 43 1b 0f b5 6d 9e 2a d2 5c a3 c5 b9 ca a6 8d 13 5f cc 6d 06 01 19 d5 86 44 9b | .Y.AM.C...m.*.\......._.m.....D. |
7660 | dd 82 7c c4 0d 37 9b ca 95 3f 70 57 9f 34 a6 c8 cd c2 6d ee ba d1 99 62 ae 9d 6b 57 99 84 65 b7 | ..|..7...?pW.4....m....b..kW..e. |
7680 | 41 b7 53 50 52 8a d5 a3 e4 3a 66 a6 a8 d4 a3 92 3f 3e e9 dd 3d 5a fe e4 60 ff 57 27 0b 8a 99 88 | A.SPR....:f.....?>..=Z..`.W'.... |
76a0 | 27 80 85 27 13 84 5f 02 37 40 c0 58 22 03 db 66 e4 e1 ec 91 a9 6a fe e1 92 4d cd 6a 80 6c 0c d9 | '..'.._.7@.X"..f.....j...M.j.l.. |
76c0 | 83 ca ce 9b ef 14 13 1c b8 43 9f 06 a7 0e 25 9b 47 04 42 db 13 b3 89 e1 3a 1b 5c c0 dc 04 e1 67 | .........C....%.G.B.....:.\....g |
76e0 | fe 12 c0 51 88 d8 48 de fa 57 37 6f 39 3a 1a 8c 84 81 24 c8 cc ee e2 e1 b9 e9 91 b6 3b 7b de f8 | ...Q..H..W7o9:....$.........;{.. |
7700 | fd a7 fe f3 bf c5 18 c1 ad df 43 c4 55 a6 2e 9e 1e ed bf b6 d7 e9 45 db 1b 19 dc 83 c9 98 39 f9 | ..........C.U.........E.......9. |
7720 | 36 56 b3 56 0f a3 46 cc 21 87 89 38 e9 d8 6f af 23 d5 bb 2d 15 cc 2a 28 e5 24 a7 51 db db 21 ee | 6V.V..F.!..8..o.#..-..*(.$.Q..!. |
7740 | 87 f0 16 44 c4 ed c6 c9 36 8a 86 6a 3b 77 b6 d4 70 4b 08 57 9e 8c aa 51 18 0a 71 68 b3 3a 57 dc | ...D....6..j;w..pK.W...Q..qh.:W. |
7760 | a1 66 2a 34 46 9d a1 b6 9b 5b a0 f8 af ca 95 c1 a1 09 0f 27 ef 19 e8 42 99 42 8e 61 85 c8 89 44 | .f*4F....[.........'...B.B.a...D |
7780 | 5e 4d 02 fd 5a 21 cc 0f 93 24 a2 1a d2 a4 db b1 89 99 0c 48 62 59 2e 56 8a e4 ab e3 85 07 c7 f3 | ^M..Z!...$.........HbY.V........ |
77a0 | f7 4c 96 1e cb e6 72 95 d2 de 31 ec ec 03 33 35 c1 e4 33 e1 00 bf 08 1d c7 79 43 1e 4a d5 23 de | .L....r...1...35..3......yC.J.#. |
77c0 | 0e 2a 6a d5 63 1a bc 6c 56 73 ba 26 e5 9a fe 0a 88 44 25 33 6c f6 20 e4 9c e9 0c 4b 66 5d 05 68 | .*j.c..lVs.&.....D%3l......Kf].h |
77e0 | 10 78 91 6d 3f 69 7b 33 06 78 b2 63 0a 59 b8 3d c9 ba 4b fd b7 7d 27 84 41 73 05 2d 87 20 7a b5 | .x.m?i{3.x.c.Y.=..K..}'.As.-..z. |
7800 | 0b c2 e7 ec d8 fb a6 1f 3c fd 5f fe 83 1a 0e 21 19 14 28 a8 1b 89 28 52 fd b5 ac bf 94 cf 2d a6 | ........<._....!..(...(R......-. |
7820 | 5b 9b 39 fe 09 91 29 c2 d8 f6 66 31 67 82 61 0f 42 43 c9 15 b9 ed 16 a5 ce 32 b5 be 92 ed 3f d6 | [.9...)...f1g.a.BC.......2....?. |
7840 | b6 73 40 9c f7 a1 08 8d eb c1 28 27 cd 29 fc f0 db 0b cd 73 0a 87 cc da e8 7a 1d 6d f2 e8 26 df | .s@.......('.).....s.....z.m..&. |
7860 | 79 66 6d 06 71 2e e1 97 a5 3c dd 93 66 1a 4c 91 ba a1 b4 a5 11 42 a0 34 38 bc a9 d5 ed 45 9f bc | yfm.q....<..f.L......B.48....E.. |
7880 | 63 5c 0c f5 9e 34 37 2f 26 06 e9 53 6b e3 cb ad 38 1b 9a 25 62 c6 5a 80 93 b1 c8 b5 5c d7 e9 4a | c\...47/&..Sk...8..%b.Z.....\..J |
78a0 | d1 7a b2 e8 3c 9e f7 4c d5 77 ae e8 f6 55 0b 04 1b d1 a9 86 c7 e8 e8 2d 63 a0 7a 22 0b 94 4b c7 | .z..<..L.w...U.........-c.z"..K. |
78c0 | 83 a1 8a 58 f3 1d 7c 7d 77 ec c5 ec f0 ed fa d2 86 6e 48 68 0b 36 da 60 e3 6d 88 7b 06 81 06 ff | ...X..|}w........nHh.6.`.m.{.... |
78e0 | e6 b3 c1 18 95 91 e6 a7 0f d7 d8 d6 19 b8 61 1e 90 f4 a0 40 05 81 d3 21 cb 07 6c 58 fc ad d7 9e | ..............a....@...!..lX.... |
7900 | bd e5 f0 f6 60 0c 1b 98 45 06 2f 74 17 84 cf d9 d1 bb e9 45 26 29 5d fd e8 87 61 42 1e 91 65 12 | ....`...E./t.......E&)]...aB..e. |
7920 | 50 9c f3 5c 5f 7c 62 b4 f7 78 2f 6d 45 65 56 0a d8 f8 03 24 14 a5 5a bf 90 b7 3b 12 45 86 4c 26 | P..\_|b..x/mEeV....$..Z...;.E.L& |
7940 | 03 c4 e8 f1 18 b8 db 5b 6b f9 c2 9e 38 6e 09 4d d9 97 c5 21 d6 5f 52 68 db a1 81 1e 29 9e ec 56 | .......[k...8n.M...!._Rh....)..V |
7960 | a9 94 78 35 9e 52 c3 fc fa 85 b7 0c 73 73 7d 14 dd 40 78 bb e5 05 9a f6 7b 43 36 5b 6a 2a 6b 78 | ..x5.R......ss}..@x.....{C6[j*kx |
7980 | e8 9a 2b f0 b9 c8 f4 b1 63 71 36 df fa c9 3f 3f 7e 7a 4d 5e 9f 6e cf 89 c9 9c c8 12 9b fa 3a 4b | ..+.....cq6...??~zM^.n........:K |
79a0 | 18 ce b6 54 3a d2 d1 a6 4e d6 ca d6 c5 b2 3d 64 d1 44 c7 4a 45 4e b8 89 f4 36 b0 7a 86 52 32 82 | ...T:...N.....=d.D.JEN...6.z.R2. |
79c0 | b9 9f f9 10 98 e3 c1 0d 6a 81 0a 36 3d 42 df 61 5b a3 92 da af dd d9 50 c6 40 76 9f 1d 30 10 fc | ........j..6=B.a[......P.@v..0.. |
79e0 | 68 c8 13 77 d8 e2 b5 50 7f 82 1a 56 c9 a2 b6 ed 8b 62 e7 8a 65 db f0 80 ce 32 20 10 6c 62 33 68 | h..w...P...V.....b..e....2..lb3h |
7a00 | 93 82 ce 62 be 67 71 fb ed df f1 44 36 81 f1 67 31 82 2c 15 04 0a 76 c1 f0 1c 1e fb bf ff 6f 5d | ...b.gq....D6..g1.,...v.......o] |
7a20 | f8 e8 87 39 86 17 a8 7c c0 04 42 0a a9 27 83 62 7b 75 32 3b 1f af 9d 2f 38 c9 30 81 6d 0b df de | ...9...|..B..'.b{u2;.../8.0.m... |
7a40 | cc 87 fd b8 3b 1b 61 7b 46 a7 29 df 04 81 7a 36 19 2b 83 c3 a5 03 a9 3d 13 a4 26 47 51 e0 56 63 | ....;.a{F.)...z6.+.....=..&GQ.Vc |
7a60 | 51 67 d7 0f 5c d1 47 43 7c dc 11 f7 0b 16 81 fb 1a ed 5d 30 56 d9 97 51 40 14 9a 87 bb e2 75 83 | Qg..\.GC|.........]0V..Q@.....u. |
7a80 | 36 ed 85 81 35 aa 44 55 c6 14 6c 3c 51 37 cc a9 ff f0 ba 33 7f eb cf ae bf 7d 65 89 25 aa e6 05 | 6...5.DU..l<Q7.....3.....}e.%... |
7aa0 | e3 09 e3 35 c3 6f bc 5e d0 40 d2 35 55 51 17 55 22 de 60 c2 88 9f 63 e7 9b 21 bd e7 63 cd 01 82 | ...5.o.^.@.5UQ.U".`...c..!..c... |
7ac0 | 35 bb 2e 3b c4 bd ea 4e 1e b0 b1 a1 f9 cb b2 01 eb 9f 67 93 4d 56 62 8b 45 b6 00 57 e9 3c 6b 2d | 5..;...N..........g.MVb.E..W.<k- |
7ae0 | 00 02 a9 d2 63 e8 05 10 e8 90 b2 ee 3e 46 f3 16 a2 a7 19 10 9a 02 d2 7c ce ca 77 bc fa d4 f5 4b | ....c.......>F.........|..w....K |
7b00 | 83 ad 31 b0 1d ca b1 e5 2d 71 ad f5 2e 18 9e ab a3 1c 0d 3f ff e6 97 0f 1f f9 0a 09 63 16 8a e5 | ..1.....-q.........?........c... |
7b20 | 85 1e 0f cb 71 06 19 e4 ec 9e f6 e6 46 56 a2 b0 1a 28 05 43 11 a1 67 e6 93 23 c7 3b 90 46 e6 e5 | ....q.......FV...(.C..g..#.;.F.. |
7b40 | 60 2b 3b f5 44 46 3b b7 69 5b 1c 7b 5e db 24 65 70 44 dc e7 78 50 70 26 d6 13 02 5b 35 64 c6 e4 | `+;.DF;.i[.{^.$epD..xPp&...[5d.. |
7b60 | 7b 24 74 71 77 86 30 54 07 f2 60 ac c7 c3 b5 06 6d 23 9c 73 59 c1 36 90 0e 9c 95 b8 ff af 5a 4d | {$tqw.0T..`.....m#.sY.6.......ZM |
7b80 | 70 c5 5f 37 51 0f 6d b5 ff ce 9f 5f 7b ff 4a 97 45 2a f8 27 7e a9 09 e3 18 75 7b dc ab c7 0f 69 | p._7Q.m...._{.J.E*.'~....u{....i |
7ba0 | b5 b4 79 44 54 37 bc 87 a4 1a 65 a0 92 c8 1b f6 4e 3b bc e3 3b 9f ec c8 bc 83 be e5 18 72 4b 0a | ..yDT7....e.....N;..;........rK. |
7bc0 | 7d e6 27 6e 9e 62 2b f7 b2 bc df b4 35 35 99 67 3a c7 96 9f cf 3a fb ac 1f 88 56 81 be 1d 77 33 | }.'n.b+.....55.g:....:....V...w3 |
7be0 | 49 86 a3 79 0c 83 f9 88 0d b3 97 1d 5d f9 f0 df bb 3b 89 34 10 7e 46 f0 03 29 b2 ee aa ad 3d c7 | I..y........]....;.4.~F..)....=. |
7c00 | ed 99 03 df f7 23 da ad ea d0 15 5f 42 c7 05 a6 71 fd cd 2c 42 59 17 5a 2f 50 38 e6 de da c8 4c | .....#....._B...q..,BY.Z/P8....L |
7c20 | ad 08 97 fe 48 24 b8 1c 54 62 5c 99 8c ca ad f5 82 72 25 a6 9c fc 04 ed bc e6 ae 93 a2 dc e6 ba | ....H$..Tb\......r%............. |
7c40 | 97 1e d2 7e 3b d8 ad 2c ea ba b8 9b ae 12 33 12 1f b6 c6 9d 18 9f 35 d9 1a 56 6a 9f b6 16 f3 c0 | ...~;..,......3.......5..Vj..... |
7c60 | 23 98 e2 83 d9 a0 90 d7 ce 8d ff eb 1b 1f 7a c5 a1 4d 96 09 57 86 52 88 8b e1 cc 96 34 dc 6b 43 | #.............z..M..W.R.....4.kC |
7c80 | 11 15 b7 21 a3 8b dc 47 dc c5 1b f8 2d d1 82 07 63 ff b3 82 9f 66 a1 fb d2 ce 1f 6a a7 3b 81 30 | ...!...G....-...c....f.....j.;.0 |
7ca0 | 9b b1 8d 47 d9 a9 4f b3 47 fe 8c 9d fd a2 a5 14 c1 80 61 04 08 b4 f1 d6 87 df 08 12 ce d1 0a 7b | ...G..O.G.........a............{ |
7cc0 | f2 f3 f0 5d c8 e7 0b 94 f1 a6 9c 33 83 db b4 2e 58 ba fb 4d 18 cc b3 58 8e ff f5 77 3d 3c 93 14 | ...].......3....X..M...X...w=<.. |
7ce0 | 39 76 44 cd 07 c3 be 96 ca 76 c5 7f 9f f3 8c f4 7b ff 46 bc b8 07 fe 1c 45 69 a5 58 40 62 06 50 | 9vD......v......{.F.....Ei.X@b.P |
7d00 | 93 4f 54 59 90 cc 02 74 15 fd 95 f6 c2 93 93 02 ef 07 c2 37 08 9c 59 47 db f5 95 bc a4 b8 58 ea | .OTY...t...........7..YG......X. |
7d20 | ca c4 13 a3 28 2a b5 71 5b 01 5a bc 71 34 77 f1 62 60 d5 39 cc a6 35 25 74 a5 34 68 1b 3e dc bb | ....(*.q[.Z.q4w.b`.9..5%t.4h.>.. |
7d40 | c6 80 74 a9 f6 4a bb 9c 64 db 80 52 ea d0 88 45 29 de 3f 2a e5 9e 4e f1 6b 6f 78 e4 cd cf 5b 65 | ..t..J..d..R...E).?*..N.kox...[e |
7d60 | 19 77 e2 37 18 eb 6c 87 13 69 2e 06 6c 12 3f e8 36 12 5f f0 03 c1 40 61 90 39 ab e1 0a 7b aa fe | .w.7..l..i..l.?.6._...@a.9...{.. |
7d80 | e1 80 e7 3f 6c 5c 15 c1 af ca d9 e6 e3 ec b1 8f b1 d3 9f 65 fd b3 80 a2 c1 19 e8 a0 d0 d5 27 e9 | ...?l\.............e..........'. |
7da0 | 3a a3 36 dd f4 a2 30 b0 2c 86 6c f0 24 6e c7 13 fc 46 10 48 4d e1 57 22 0e 89 9b e6 41 38 52 6f | :.6...0.,.l.$n...F.HM.W"....A8Ro |
7dc0 | ff d6 c7 5e 7d dd da f6 10 9a 4f d4 14 45 f2 8c 82 c1 d4 2e 0c 9e db a3 75 f0 e8 fe b7 dc 4a 12 | ...^}.....O..E..........u.....J. |
7de0 | 7e 30 1c c7 de 4c 14 11 6f 54 2b 5f 2c 60 3f 82 a1 20 ef 70 50 ac 5d c8 80 f3 1c cb 2e 2a 62 a0 | ~0...L..oT+_,`?....pP.]......*b. |
7e00 | 9d 0c 1f 8f f4 c6 6a 21 a8 2a 53 6e 30 88 a7 29 70 be c8 3a 46 e3 e4 4b f1 30 e2 d9 f9 b4 aa a8 | ......j!.*Sn0..)p..:F..K.0...... |
7e20 | cc 76 76 a6 c3 85 d5 4a f5 d4 52 2b fd 12 06 ca 06 6b 51 a9 5f 6b ce 2b a7 6b 27 c3 48 27 f2 a8 | .vv....J..R+.....kQ._k.+.k'.H'.. |
7e40 | 10 33 89 fa 4f df fe d8 df 7d e9 93 d0 40 2a 5d 93 94 a0 c5 a9 d1 12 23 de 12 1b 82 e8 7e 22 be | .3..O....}...@*].......#.....~". |
7e60 | 84 39 a7 62 4d 98 f9 0f 3b 59 a9 89 e4 b3 e1 2a 5b 3d c9 d6 1f 71 89 60 04 09 e7 d9 cf b2 c9 ba | .9.bM...;Y.....*[=...q.`........ |
7e80 | 73 12 c7 72 79 eb 34 fc c3 6c c8 56 bf 32 65 33 17 b6 70 14 1b af 21 cc 08 81 26 e1 1c b3 6c 82 | s..ry.4..l.V.2e3..p...!...&...l. |
7ea0 | e5 5f ee 3e 10 81 43 f5 6d d7 9f ff e9 d7 3c 3a 1a c1 9a 55 39 02 bf 74 34 e7 82 8b 63 7a dd 35 | ._.>..C.m.....<:...U9..t4...cz.5 |
7ec0 | f2 67 7f f6 67 77 91 f0 1c e3 f0 d0 d1 33 1f fc 75 95 83 f1 89 c0 85 06 68 68 97 8a b4 23 ac b6 | .g..gw.......3..u.......hh...#.. |
7ee0 | 12 9e d3 c8 5d 81 7a 65 34 2a 67 66 e2 24 85 6b e8 e6 66 61 40 18 e1 c3 f2 49 39 33 1f 09 e1 17 | ....].ze4*gf.$.k..fa@....I93.... |
7f00 | 81 5c 8b 8f 02 19 19 06 ba a6 49 cd 3a 8d 05 1e f4 ba 2a ee 9c ff 21 e7 f5 06 06 a5 a6 ee 3f ee | .\........I.:.....*...!.......?. |
7f20 | 06 f8 be dd c9 ab 3d f9 70 3b 10 53 d6 02 d6 89 d9 77 1e dd 3a 36 3f fa dc 93 bd d1 28 66 d2 85 | ......=.p;.S.....w..:6?.....(f.. |
7f40 | 56 5b 50 05 cf 53 9b 25 06 23 be cb f4 32 0c 5c d7 4f 42 98 ea 2c db 7a d2 20 61 e5 1e b6 72 1f | V[P..S.%.#...2.\.OB..,.z..a...r. |
7f60 | eb 9f 81 88 37 bc 00 f9 ad 89 54 2b 77 41 ec 12 b2 fa bd cc 0f 18 9e 07 58 6e 3e cc 26 6b de 98 | ....7.....T+wA..........Xn>.&k.. |
7f80 | a9 0e 40 ed ae 70 8a a5 cb 00 e9 31 c0 ef db 9f b7 21 74 b1 3e 88 21 f6 03 e9 07 f1 39 ce 8f 2e | ..@..p.....1.....!t.>.!.....9... |
7fa0 | 6c bd ff 87 ee dd db 9b 98 c4 53 17 da 54 83 f6 fa 57 96 ad 13 87 e3 23 fb 77 41 f8 dc 1f c9 d2 | l.........S..T...W.....#.wA..... |
7fc0 | 9e d1 e9 c7 b7 ee bb 13 92 c6 88 9a 24 20 1f 83 ec 34 94 5d 72 67 08 24 90 48 07 05 29 87 42 cd | ............$....4.]rg.$.H..).B. |
7fe0 | ce a7 26 66 0e fa f9 68 ac f0 34 e6 79 01 5e 11 bd d9 c8 89 50 50 d7 c5 ef e6 3a 6a 4a a5 71 e6 | ..&f...h..4.y.^.....PP....:jJ.q. |
8000 | 5d 10 79 d8 58 61 15 80 2a 9c 36 6f 7a 71 18 5e b3 43 e2 21 0e c3 1f c4 ab 67 35 bf a8 49 c4 6e | ].y.Xa..*.6ozq.^.C.!.....g5..I.n |
8020 | d9 3b 7c ed d1 cd b3 23 f9 f0 5a db ca ec 56 89 25 12 64 91 98 e3 a8 cf 3e cf 64 97 17 5f 83 e3 | .;|....#..Z...V.%.d.....>.d.._.. |
8040 | c2 fd 6c f3 51 c8 09 cd 0f de 7e 82 5d b8 97 0d ce 33 2f e1 58 0c d8 f6 69 b6 7d 0a 52 ca 0a 81 | ..l.Q.....~.]....3/.X...i.}.R... |
8060 | ac 92 f7 9e 6c 02 6e 85 b8 44 43 d5 f5 42 cb 01 3c d5 d6 da be f6 ca bb 7e 60 fc ef ff da 63 1f | ....l.n..DC..B..<.......~`....c. |
8080 | f9 12 7f e8 c2 0c fe 22 c8 50 9b 94 b3 e9 f0 d7 7f e8 ee 97 1c da 1a 66 60 e5 63 12 51 7b f5 c8 | .......".P.............f`.c.Q{.. |
80a0 | cb e4 f0 de f6 f5 87 cd 9d bb 20 bc 22 8e 74 ef 81 d3 bf f3 6b 78 aa c1 94 82 ae b6 79 ae 88 eb | ............".t.....kx......y... |
80c0 | c9 71 92 40 db 0d aa b4 12 2f e3 51 99 a6 bc 3b 13 9b 33 6d 13 5a 35 b6 c7 39 19 ab de 9c 8c 12 | .q.@...../.Q...;..3m.Z5..9...... |
80e0 | 41 c6 a1 9c 96 ed 39 6d 08 a3 02 37 0b 60 13 c8 7c da e0 25 2c df db 22 4c 07 c0 9b 86 64 3d 56 | A.....9m...7.`..|..%,.."L....d=V |
8100 | b1 f0 a9 c3 6e cd 0e 01 17 9e 38 53 62 5f 3b 7f cb 89 b5 eb e7 87 a7 07 f2 7c 3f 62 26 4f 2c 68 | ....n.....8Sb_;..........|?b&O,h |
8120 | e7 b5 80 fe 87 72 4d 0e d2 65 a9 04 9e 34 63 fa d2 ed 4e 0e a9 ac 09 77 a3 15 00 db e0 1c 53 19 | .....rM..e...4c...N....w......S. |
8140 | 22 ca fb 72 70 bb 58 14 6a 9c d6 e2 bc a8 6d 21 d5 1e a4 dc d8 10 af 08 93 b5 d7 dd d8 ff dd 9f | "..rp.X.j.....m!................ |
8160 | e0 6f 7c 41 91 af 9d fb 77 b7 1f 38 bf dd 62 02 0b c2 91 de 37 b3 f5 fe ef bf fb db ae 59 1b 4c | .o|A....w..8..b.....7........Y.L |
8180 | 24 48 60 0d 19 19 cb 99 52 30 de 3f df b9 f1 10 bd 19 bb 20 bc 32 32 d2 7d 07 07 0f 3f b8 fd 95 | $H`.....R0.?.........22.}...?... |
81a0 | fb 80 2f 1a 09 f2 f4 cb 0b 65 4d 53 a4 a8 4e 65 c1 49 f9 c2 e4 aa a3 61 39 33 1b b5 da d1 c6 46 | ../......eMS..Ne.I.....a93.....F |
81c0 | 5e 14 24 47 0a 2c 2f 73 6e cc ce 45 a4 56 24 84 95 2d e2 cc 6a e5 93 44 05 77 21 b2 9a ae 85 f3 | ^.$G.,/sn..E.V$..-..j..D.w!..... |
81e0 | 84 2a 0a 72 ce 6a 77 79 1c f9 9c 56 d7 a6 7d dc 5d 2e 82 14 8f 35 70 58 7d 03 59 ea fc 45 cb 83 | .*.r.jwy...V..}.]....5pX}.Y..E.. |
8200 | ef 3f b1 fa 9a 43 eb 47 67 07 9d 68 92 88 49 a1 8a f1 44 01 20 4d 35 8b 2b bc 08 bc 12 d7 68 75 | .?...C.Gg..h..I...D..M5.+.....hu |
8220 | 0d 4e 6c ba 6a d3 ac 35 07 03 bd d1 05 00 83 ff 0d 1b 40 7d ca 79 46 ed 7e ef b3 a3 ec 47 09 15 | .Nl.j..5..........@}.yF.~....G.. |
8240 | ed 3f 7a 63 f2 2b 3f d6 5b 5a 68 0d d6 d6 36 57 b7 7f e5 0b 47 d6 07 48 25 cd d4 2b 8f af fc ea | .?zc.+?.[Zh...6W....G..H%..+.... |
8260 | f7 dd f3 8a 23 1b fd 4c 80 31 e9 10 51 6f fe 65 5e c6 7b 7a dd 1b 0f 21 2b 10 dd 5e 77 e7 84 57 | ....#..L.1..Qo.e^.{z...!+..^w..W |
8280 | c8 b1 75 ff 3d 9f f9 9e 57 a9 f1 08 16 76 da 89 f9 3b f6 fb 45 7f 58 d0 64 02 a6 f3 d4 f2 34 30 | ..u.=...W....v...;..E.X.d.....40 |
82a0 | 9b 94 05 5a a3 19 34 2e 2d 26 c7 af ed 9e 3a 35 3e 7f 7e 9c 12 9b 14 37 19 8e 9e 68 9b e2 90 26 | ...Z..4.-&....:5>.~....7...h...& |
82c0 | ef 32 72 85 19 ee f0 a1 16 2f 27 ef 5e 3f 33 f4 12 32 42 54 19 a6 97 42 73 6a 6b f5 7c 93 05 6a | .2r....../'.^?3..2BT...Bsjk.|..j |
82e0 | 30 55 e2 c9 ea e3 c1 1a b2 9b 38 08 1e 62 ae 33 a9 04 6d 18 f3 9b ad 8d a3 f5 49 bc 3e 91 a7 fb | 0U........8..b.3..m.......I.>... |
8300 | ad c7 b6 5b 8f 6e b7 9f 18 74 9e 18 76 9e e8 cf 6a 95 00 6f 26 e2 d5 d8 d0 aa c5 b0 ba 3a 14 5e | ...[.n...t..v...j..o&........:.^ |
8320 | 5d 9e fc 2c 74 3b b9 fc fa ff 1a 0d e2 8c ae 95 82 0c fc d2 d2 a8 fc bf 7f 90 ff e4 77 a6 a3 22 | ]..,t;......................w.." |
8340 | 36 a5 b8 de 38 6b ae 7f ff ea e3 87 7e e7 81 ce e1 59 fe 7d 2f e8 ff cd 5b ce b5 13 35 cc 05 d5 | 6...8k......~....Y.}/...[...5... |
8360 | 86 cc a9 04 25 7b 66 ba 37 ee e3 49 8c 0b 6c d8 70 db 05 e1 95 73 7c e9 9d ff e0 d4 af bd 1b 78 | ....%{f.7..I..l.p....s|........x |
8380 | f9 69 c4 a2 68 92 a9 cd ad 2c 2f b1 64 03 33 6a 4e e4 c4 52 e9 0c cd 55 18 ea 9e 5d 73 4d a7 dd | .i..h....,/.d.3jN..R...U...]sM.. |
83a0 | 89 1f f8 ca b6 b4 be 2e 40 cb ee ce c8 6b ae 6d 83 43 3d aa 31 89 88 13 15 14 b9 66 1a 67 20 9a | ........@....k.m.C=.1......f.g.. |
83c0 | 8c ac b1 69 5f c3 a1 33 ba b6 16 bf 3c c0 9e 9d c3 8b 40 88 a9 66 23 51 6f 88 86 62 a2 97 35 3c | ...i_..3....<.....@..f#Qo..b..5< |
83e0 | 0b d3 54 38 33 b9 46 2f 44 15 09 dd 91 ca fc 42 e3 52 ac 0c 93 27 06 ad 8f 9d 5b fe a3 27 0e dc | ..T83.F/D......B.R...'....[..'.. |
8400 | bd ba 0c 94 51 89 03 46 2e 9a 7a 89 90 2f 44 ec c2 5d 6c eb d1 6a 6e fe 0d 62 4f b1 da b4 94 62 | ....Q..F..z../D..]l..jn..bO....b |
8420 | a0 9e 49 cb 5f fe 91 f2 87 bf 25 de 9e 44 e6 cf 55 ae af b2 7c 98 8f 79 99 97 1b 9c 2f f6 54 b7 | ..I._.....%..D..U...|..y..../.T. |
8440 | a5 87 99 cc 73 6e 12 61 55 d8 77 c6 d4 03 a9 89 81 d7 ed e3 71 64 11 28 81 7e b8 0b c2 2b e8 30 | ....sn.aU.w.........qd.(.~...+.0 |
8460 | 19 e9 a7 de fc 57 ca ad 2d 60 87 b6 62 83 be ed 7e 3e 18 95 8c 76 e2 a3 88 c4 47 15 12 a3 f3 a2 | .....W..-`..b...~>...v....G..... |
8480 | 24 9e 67 24 d9 75 d7 f5 ce ad 64 eb 6b 19 6e b2 a3 d2 85 e2 fb 0f 25 fb 90 c8 06 6b b5 a8 29 48 | $.g$.u....d.k.n.......%....k..)H |
84a0 | 62 2d c8 23 d5 76 9b c1 6e 18 b9 bc 94 d9 e6 8d ad 2f 45 15 06 79 18 21 83 35 f9 8a 70 16 94 7f | b-.#.v..n......../E..y.!.5..p... |
84c0 | 95 6d d9 d7 87 c3 5a fe 2a 85 be 38 94 77 ac 74 cf f6 4d 54 8c c7 0a 56 79 17 d3 72 5f 27 bf 6f | .m....Z.*..8.w.t..MT...Vy..r_'.o |
84e0 | 63 fe b7 1f 3d b6 91 77 1c 7b c6 e3 d0 fd 0c 19 b1 8b 5f 62 9b 0f 02 4a 2f 89 34 76 89 aa 8f ed | c...=..w.{........_b...J/.4v.... |
8500 | 64 f2 e8 ee 2c 55 27 52 ef fb 91 c9 0f 7d 8b d8 32 08 e4 91 ee 0f d5 60 db bc 1d 83 2d 6d ae 98 | d...,U'R.....}..2......`....-m.. |
8520 | b1 b9 f0 09 ab 83 41 9c 36 b7 d3 6f 8a 8e 5e e7 d8 22 ca 6a a1 25 1d 48 13 40 b9 ba cb 1d bd 82 | ......A.6..o..^..".j.%.H.@...... |
8540 | 8e ee b5 cf 3b fa 23 3f f1 c8 7f 7e 17 6a 1c 95 22 8e d3 54 8e 4c aa 83 44 15 98 e6 27 92 e6 56 | ....;.#?...~.j.."..T.L..D...'..V |
8560 | 32 16 45 a9 48 a1 22 cb d9 99 33 a3 a5 3d e9 c6 7a 6e c9 37 28 20 73 f1 7c 6e 2a c6 6e 4f c2 e8 | 2.E.H."...3..=..zn.7(.s.|n*.nO.. |
8580 | be 2c 41 f5 5a bb 5a 8e e6 8f a0 71 88 4f 81 c2 c0 da aa 75 6b cf bf e4 96 a3 ad fd 76 39 0f d6 | .,A.Z.Z....q.O.....uk.......v9.. |
85a0 | f1 ad c0 35 9d 60 dc af 05 56 d3 84 b0 d2 6c ae cf 4e a1 31 dc 19 a6 ff 37 27 68 22 f4 e3 5b c9 | ...5.`...V....l..N.1....7'h"..[. |
85c0 | 7b ef 5b 3e bf d6 85 73 39 46 b0 49 71 62 69 b0 1c 6d 6d 0c cd 4f 72 14 36 0b 45 77 91 30 e5 d7 | {.[>...s9F.Iqbi..mm..Or.6.Ew.0.. |
85e0 | cc 35 6c 7c 9e 65 1b 53 35 a1 be c4 dc 8f 4d 79 23 2b 7b 3f 10 77 71 e0 5a 6a 83 c0 77 ff e0 f8 | .5l|.e.S5.....My#+{?.wq.Zj..w... |
8600 | 07 5f 5e 6c 0e 23 18 8d 8e 33 35 e8 9b f7 8d cc 0f cd 63 cc e7 2a b8 53 7b b5 84 9f df 39 30 d3 | ._^l.#...35.......c..*.S{....90. |
8620 | 3e 30 c3 d1 a4 99 91 83 88 02 6d 0b 6c 7f ef 46 c2 2b e9 18 af 9c fb d4 1b 5e 91 ad 9c 35 7f ce | >0........m.l..F.+.......^...5.. |
8640 | a8 95 98 f3 76 63 2b 1f 63 f2 99 2b b4 bc 8d 05 99 1a 14 b9 9a 4c 4a df ea db b3 27 c9 72 b5 b9 | ....vc+.c..+.........LJ....'.r.. |
8660 | 59 20 8f 45 90 93 f6 cc ac 3c 7e 5d 1b c4 bc d1 96 94 9c ab 29 e2 11 4b 8e 59 f1 4f 69 3b 82 10 | Y..E.....<~]........)..K.Y.Oi;.. |
8680 | 06 ed b2 3f 0b 85 61 44 55 0a 4e 8d 21 5c 8b 35 e0 60 37 a3 e2 54 a1 d8 14 bd df 79 1e 0e 49 a9 | ...?..aDU.N.!\.5.`7..T.....y..I. |
86a0 | 39 e9 d7 26 d1 9f 3e 3e f3 9b 0f 2c 7d fe c9 59 5d 48 8a 24 48 f0 13 76 73 82 87 f1 d0 c5 15 13 | 9..&..>>...,}..Y]H.$H..vs....... |
86c0 | 03 47 67 d9 da dd 3b 83 b0 b6 d3 a4 eb e3 07 56 c1 0f 3b b1 cf 3f 28 6e 58 62 ff ed 3e 78 b7 ff | .Gg...;........V..;..?(nXb..>x.. |
86e0 | fd 5b c6 7f ff 0d d9 f6 04 ed 54 4d aa d9 1f e3 e0 43 0f b7 f4 78 ac 6b ef 83 27 a2 c7 a2 7b b0 | .[........TM.....C...x.k..'...{. |
8700 | 97 2e b6 35 25 fa 11 bd 72 51 4e b0 5b 26 e5 6e 77 f4 ca 3a a2 ee 8c 01 c6 85 8f fd 29 f1 65 64 | ...5%...rQN.[&.nw..:........).ed |
8720 | 2c cd e9 90 e7 a4 1d 04 d5 20 c2 03 2b 3d 4e 3e 9f 96 43 36 1e 97 49 2a a0 35 6a 97 72 a1 de 1b | ,...........+=N>..C6..I*.5j.r... |
8740 | 9b 1c 4e 72 13 0f b5 f5 6c 72 63 78 61 19 33 3e 80 f1 aa f5 e2 d6 7a 2b 49 7d ce eb 65 1b 63 8c | ..Nr....lrcxa.3>......z+I}..e.c. |
8760 | 37 71 53 83 57 f8 29 e8 a6 5e 16 87 3b 41 d1 bc de ac e4 a9 54 2f d9 33 fc de 6b d7 5f 75 68 b3 | 7qS.W.)..^..;A......T/.3..k._uh. |
8780 | 1d e7 6b 13 be 65 62 60 61 9d 55 70 22 57 54 fb 0a 93 0b 36 8d 34 b7 79 cc 26 17 b1 2b c2 aa ae | ..k..eb`a.Up"WT....6.4.y.&..+... |
87a0 | 26 be 91 6e d6 a7 ea 1f a5 d7 51 a6 25 e6 5e aa de f6 2a f9 4f be 55 bd ff 0b c5 ca 80 fd 9b d7 | &..n......Q.%.^...*.O.U......... |
87c0 | 4f de fe fa 7c 50 a0 53 72 a6 54 3f a3 77 a6 c8 d9 70 5b 55 ef 4c 50 51 c6 1d d9 3b d0 8d 7b b1 | O...|P.Sr.T?.w...p[U.LPQ...;..{. |
87e0 | e5 f1 b8 2c 5e 99 2a a3 70 35 f6 6e 24 bc d2 8e 72 34 bc fd fb be 7d f3 de 3b e0 22 9a 44 a6 e6 | ...,^.*.p5.n$...r4....}..;.".D.. |
8800 | db dc cc 0a 94 bf cd b1 57 0f 6d 1b dc 0d 34 77 4d 46 b9 4b 13 39 cd 96 95 b2 b9 a0 c4 31 b4 29 | ........W.m...4wMF.K.9.......1.) |
8820 | e5 4c 30 9c 9d 93 25 71 65 68 bb 1d 1b 8a b8 b3 af 6d 63 06 76 12 a4 db 67 40 d1 19 92 45 e3 cc | .L0...%qeh.......mc.v...g@...E.. |
8840 | 4b a1 b1 a0 53 6a 47 81 c1 84 a3 59 25 f2 1d 70 d8 80 e2 ce d9 29 9f ca 50 f1 a4 36 2f ca a0 51 | K...SjG....Y%..p.....)..P..6/..Q |
8860 | 72 f6 e4 20 ba e3 7c e7 4f 1e 9f ff d4 d9 99 33 5b 6d a6 28 2a 82 a9 37 2b 36 58 ff 7e 96 ec 65 | r.....|.O......3[m.(*..7+6X.~..e |
8880 | dd e7 e1 9a 45 c4 fa 0f b2 c9 f9 66 83 54 ef 64 ac ad 6b d6 33 87 e6 d4 9b 6f 2e 7f ec 65 f2 96 | ....E......f.T.d..k.3....o...e.. |
88a0 | a5 f2 1f fc 81 fa 95 bb 92 9f f9 8e c9 bf 78 73 3e 54 02 d0 99 2b 35 40 4e 20 be da fe ba ca 32 | ..............xs>T...+5@N......2 |
88c0 | e5 05 5f 2d 23 42 f0 d6 5c d4 59 4a 18 56 ea 68 4d 2e 6c 33 26 63 f0 b2 dd 97 bb 20 bc 12 8f f3 | .._-#B..\.YJ.V.hM.l3&c.......... |
88e0 | 1f f9 e3 2f fc cd b7 50 3c 32 49 e9 68 a2 06 83 dc fc bd 33 1c 9b 69 a4 6e d3 f9 92 67 65 3e 29 | .../...P<2I.h......3..i.n...ge>) |
8900 | 69 77 c1 f7 2c 89 11 8a c5 bf 89 96 ac d3 e1 d7 5e df 89 13 a1 2c 8d c6 9a b1 a0 4c 91 b2 a3 08 | iw..,...........^....,.....L.... |
8920 | 61 07 21 be 2f 6a 87 19 2e d5 0c 6f 73 4b 8b 63 42 34 c7 15 53 dd 9a 2a 6a 36 43 e2 8e 6d 9b 10 | a.!./j.....osK.cB4..S..*j6C..m.. |
8940 | 93 e1 5a a0 2f d8 40 f6 42 99 5a d1 bc 9c b3 83 e8 81 b5 f6 c7 4f cf 7c f1 7c ef b1 ed d6 c5 7e | ..Z./.@.B.Z..........O.|.|.....~ |
8960 | 8b 15 7d 96 9d 84 47 ca 25 d6 39 c1 f4 88 0d bf 6a 37 67 a7 6b 42 dd ec c7 98 b4 e3 e8 9c 7e c9 | ..}...G.%.9.....j7g.kB........~. |
8980 | 41 fd fa e7 a9 57 1d 57 07 7a 26 d6 a9 f7 7f 91 ff e3 4f b5 ff f9 1b f2 9f 7c 4d 96 a3 cc aa 32 | A....W.W.z&.......O......|M....2 |
89a0 | 08 1c 2a 2a 5f cd e5 6c b4 a5 06 5b a5 55 67 74 3f 27 4a 78 7b 29 49 bb 6e 27 0b 10 28 d1 e5 0a | ..**_..l...[.Ugt?'Jx{)I.n'..(... |
89c0 | 10 08 e0 b5 08 94 bb 20 bc 72 8f bb 7e f2 c7 4e ff ee af db 09 5a 12 6d 6f 99 aa 1f 94 6f 69 76 | .........r..~..N.....Z.mo....oiv |
89e0 | 6d fe 72 b1 89 0b 78 f9 1e 0f 73 54 16 44 2c 05 cf 40 52 a3 a6 e2 50 25 5b 5a 8e 8e 1e 6f 6b 4e | m.r...x...sT.D,..@R...P%[Z...okN |
8a00 | 12 dd 88 37 88 7e d8 8e 29 ad 96 ae 40 4d 41 81 bc 39 1b 54 71 81 50 38 b5 42 1b ee 44 50 0d fa | ...7.~..)...@MA..9.Tq.P8.B..DP.. |
8a20 | 12 91 d9 4d 40 07 3f 1e b6 2a 9b 68 dc c1 18 3b 60 f0 d8 2f 1b a2 d6 ac 12 12 77 67 ac b9 c2 24 | ...M@.?..*.h...;`../......wg...$ |
8a40 | a8 9c 63 82 d0 e9 7e fc d8 56 fa c0 6a 7a ff b9 ed 47 d7 8b b5 11 5b cf 3b c3 49 51 96 45 7d 2e | ..c...~..V..jz...G....[.;.IQ.E}. |
8a60 | 5f 9d ed 52 e8 b9 96 5e 6c e9 03 3d 7d dd a2 be 69 af 7a fe 3e 7d 62 49 ed 9d 81 54 74 34 54 d9 | _..R...^l..=}...i.z.>}bI...Tt4T. |
8a80 | c0 04 3c f6 df 4e 45 b7 5c cb be ed 44 39 c4 cd 41 35 56 90 90 d8 6b 90 ce 46 60 0a 52 35 7e 81 | ..<..NE.\...D9..A5V...k..F`.R5~. |
8aa0 | 59 c1 d3 d9 a8 0d 8b d7 ee 0a 85 a3 20 80 1c 13 3a c7 77 ca c7 40 f3 11 ef ce 09 af d4 63 f8 c4 | Y...............:.w..@.......c.. |
8ac0 | 63 9f 78 e3 2b f3 b5 8b 0a 2e ab d1 24 d7 93 09 8c e8 0b 3c 07 0a 50 ee 12 32 8d 70 07 4a 8d 86 | c.x.+.......$......<..P..2.p.J.. |
8ae0 | b9 db 0a aa f2 3c ea 94 c2 5a 06 b4 f6 f4 c1 c3 e9 be 03 a9 62 e4 1b 83 22 8b 26 17 8d 44 65 35 | .....<...Z..........b...".&..De5 |
8b00 | 2a 6c c4 23 a5 33 a7 71 aa 1d ad 3a 98 d7 fb 9f e2 31 c9 a6 96 80 45 00 bd 30 d5 e4 7c 1a 81 75 | *l.#.3.q...:.....1....E..0..|..u |
8b20 | 7a 4d 65 77 d4 8c 84 bc 06 42 af f9 62 22 52 24 74 2c 48 e7 58 64 8a ad 0e d9 fa 48 6d 4f 44 bf | zMew.....B..b"R$t,H.Xd.....HmOD. |
8b40 | e0 1b 63 bd 35 ae 08 78 e6 ca 35 9f ea 85 16 9b 49 d5 7c 8b 2d 77 d9 62 c7 2e e5 9b 6f 4d c0 e1 | ..c.5..x..5.....I.|.-w.b....oM.. |
8b60 | 14 27 3c 02 36 a8 92 2e ef c0 06 35 1f e7 90 35 e8 89 b2 02 ca f8 2a b3 71 d9 5f 2f ab 45 0b ae | .'<.6......5...5......*.q._/.E.. |
8b80 | e3 4e dc 9a 8d a3 54 d8 7d 2f a7 77 03 d7 3b f3 c0 1c df 17 db 98 91 84 43 11 ed 82 f0 0a 3e 1e | .N....T.}/.w..;.........C.....>. |
8ba0 | 79 cf 2f 7d e9 ff fa 87 56 43 22 92 e3 71 89 61 50 7b 1c 82 0a 75 0c 43 8b c9 b8 c8 30 29 b5 1d | y./}....VC"..q.aP{...u.C....0).. |
8bc0 | 4e 17 52 60 39 0a e5 bd c1 f4 41 b0 e3 27 5a b3 0b 31 5a ab 28 02 12 2c e5 46 02 4d c6 ec 5e 3b | N.R`9.....A..'Z..1Z.(..,.F.M..^; |
8be0 | c6 43 50 a7 a7 1c d5 3b 16 21 2f 25 68 de f0 66 6a 5a 79 2a 4d cd f1 79 ad 31 b3 43 48 ac 37 73 | .CP....;.!/%h..fjZy*M..y.1.CH.7s |
8c00 | dc ed 40 0f bf 61 59 cd 78 a5 07 da fc 16 8d 70 30 5f 85 5f 48 84 92 bd f6 41 e4 20 61 2d ab b5 | ..@..aY.x......p0_._H....A..a-.. |
8c20 | 9d d7 d8 3d 11 01 92 51 20 1c 95 fa 45 7f 50 07 d5 19 3c d4 29 01 c0 8d c9 48 41 0c 74 3e 59 51 | ...=...Q....E.P...<.)....HA.t>YQ |
8c40 | 4b a6 bd 24 6a 4b ee 77 b3 50 ec 1c de 37 d0 09 07 31 58 1b 0f 05 e2 90 aa c4 38 ca 47 f9 2e 08 | K..$jK.w.P...7...1X.......8.G... |
8c60 | af dc 43 e5 f9 67 7e f8 af 5d fc f4 47 e9 c4 04 04 96 f8 d7 2c 21 4d a2 26 4d d2 8e 40 f4 a9 64 | ..C..g~..]..G.......,!M.&M..@..d |
8c80 | c3 61 e6 5a 2f dc ae 32 91 1e 37 74 f9 c8 42 42 a4 a9 b8 f6 44 ab d3 8b 21 46 42 5e 6a 35 67 60 | .a.Z/..2..7t..BB....D...!FB^j5g` |
8ca0 | ec 81 0f 73 43 6f c2 a1 14 82 7b c3 30 8c 9c 8e bf 16 2a 62 88 6a 52 cf 45 40 39 15 41 23 35 a0 | ...sCo....{.0.....*b.jR.E@9.A#5. |
8cc0 | 92 3e 65 54 74 e9 ab 5b ee b8 54 24 14 56 e4 bf 02 2a b3 a6 9c 35 85 c2 c0 b8 b3 02 21 ab 15 ae | .>eTt..[..T$.V...*...5......!... |
8ce0 | 60 97 6a b0 13 a1 4e 8d c4 b5 2a 11 78 c2 28 45 eb 1c 56 42 00 e2 ad a9 03 cb e1 66 41 6f 8b a9 | `.j...N...*.x.(E..VB.......fAo.. |
8d00 | cf 93 4e 14 b5 22 2e b9 6b 7d 31 77 d9 82 dd 79 d0 62 ae dc 47 39 0b 9b 34 91 d8 3e db df 05 e1 | ..N.."..k}1w...y.b..G9..4..>.... |
8d20 | 15 7d 6c de 7f ef 27 fe fa 6b 54 7f 8b 96 57 4b fc c8 0d 08 89 d8 8c 77 22 0e 65 96 95 c3 51 6e | .}l...'..kT...WK.......w".e...Qn |
8d40 | 27 64 52 04 4c 32 52 2a d4 a8 3a 23 66 67 e4 35 c7 d3 24 25 f2 8d a2 cb 3f 7c 23 16 d6 87 5a 38 | 'dR.L2R*..:#fg.5..$%....?|#...Z8 |
8d60 | ae 8c f5 ee 24 04 29 ab 36 ea d3 51 be e3 ea 52 d5 a7 09 69 6e 55 dc 9b 46 63 7d ea 51 db b2 08 | ....$.).6..Q...R...inU..Fc}.Q... |
8d80 | ac 59 bc f9 29 f7 20 e4 01 08 79 85 4f fb b4 42 3b bb 33 07 42 e1 f5 7f bd ff 77 f5 60 ba 7c d0 | .Y..).....y.O..B;.3.B.....w.`.|. |
8da0 | d3 09 af cf aa b4 f7 86 e3 cc 8a 8f 14 13 35 58 cf b3 51 89 ac a6 28 6e 9b e4 53 72 da a4 0e 1c | ..............5X..Q...(n..Sr.... |
8dc0 | 35 e0 36 49 30 6b 1d 92 08 ec 6d d4 ab 14 b1 1c 0f f2 fe f9 e1 ee 9c f0 8a 3e 5a 7b f7 09 29 57 | 5.6I0k....m..............>Z{..)W |
8de0 | 3e fe 11 5f 82 f9 16 38 9d 8a a0 79 0f 12 09 20 92 80 f5 21 11 5e 34 91 d7 ec 39 86 93 3f 1a 5d | >.._...8...y.......!.^4...9..?.] |
8e00 | 64 19 60 78 76 46 90 0a 2f d5 87 a8 37 a3 ec 96 93 d6 35 ae 0b f3 21 cf 8f 14 eb 73 42 5f fa 69 | d.`xvF../...7.....5...!....sB_.i |
8e20 | a7 05 11 02 4b d7 1a 9f a4 b4 58 cb 40 75 73 42 c8 77 f6 ad 67 3b 30 5d 78 5d c1 5e 07 2f 27 d0 | ....K.....X.@usB.w..g;0]x].^./'. |
8e40 | 8f e3 7e bb c3 2b 42 69 17 03 59 40 8f 21 b2 91 1d 1f 7a d1 6e ed ae 6b 4c 15 7a b8 5e f4 57 f3 | ..~..+Bi..Y@.!....z.n..kL.z.^.W. |
8e60 | b2 60 51 3b 49 ba ad a8 95 20 dd a5 76 25 41 53 7a 8d 86 70 4e 43 b2 f1 52 39 f9 fa c0 13 f6 2f | .`Q;I.......v%ASz..pNC..R9...../ |
8e80 | 8c 40 1f 78 37 12 5e f9 49 e9 a7 6f fd 6b ab 9f fa 28 ed 05 92 d3 84 c9 45 b3 42 51 a7 b4 40 61 | .@.x7.^.I..o.k...(......E.BQ..@a |
8ea0 | 8a 56 3b 36 19 ce a0 9f 11 0e e9 52 5b f5 46 90 b9 66 43 88 10 fb 0f 24 87 0e a6 38 a5 c0 b3 0d | .V;6.......R[.F..fC....$...8.... |
8ec0 | dd f6 40 17 26 96 2e f9 f4 dc 51 d0 a2 e7 58 22 d2 2e 5f 83 d5 1d 10 4a 79 b8 52 6f 17 88 59 10 | ..@.&.....Q...X".._....Jy.Ro..Y. |
8ee0 | 21 9b 4d 9a 4b e4 a8 cd 9b f5 bd 41 5e 19 b3 04 b4 1c ed 2f 1b 81 98 06 99 23 79 27 6c ed 90 e0 | !.M.K......A^....../.....#y'l... |
8f00 | 85 0a 74 75 fd 70 5a 8d cc fb 59 61 c6 4b 06 e1 65 ae 26 83 32 eb a3 09 6b 1a c9 44 da 5c 83 b2 | ..tu.pZ...Ya.K..e.&.2...k..D.\.. |
8f20 | 53 22 f0 f0 2a 7a d3 f2 70 18 fa 6c d4 ad de 37 68 80 6d af 65 e6 69 e1 ad de 05 e1 95 7f 6c 3d | S"..*z..p..l...7h.m.e.i.......l= |
8f40 | f8 e5 4f bc e5 db 8b 8d 55 d2 5c 73 3d 52 6d f3 52 dc ab 30 7f c5 b4 13 1b 8c 0c 06 99 76 43 3c | ..O.....U.\s=Rm.R..0.........vC< |
8f60 | 6c c7 b8 55 7a 73 69 2e b5 df b8 3f 7a 38 dd b7 3f d6 9c 8b 4a 02 03 71 18 09 6f d1 4b 12 89 d6 | l..Uzsi....?z8..?...J..q..o.K... |
8f80 | 1f 22 c2 76 2a 78 af 69 e1 26 16 b5 75 27 d6 20 79 d7 e9 6c bc ea df b0 e9 35 8b 66 8e ea 64 4d | .".v*x.i.&..u'..y..l.....5.f..dM |
8fa0 | 29 75 ac 11 4f 5d 4f 94 3b 25 d4 0a 9f 35 50 d9 b2 d1 b1 59 dd 10 25 a8 0c fd b7 38 0b 1b 41 1e | )u..O]O.;%...5P....Y..%....8..A. |
8fc0 | 33 a6 18 54 99 1a 0f 54 3e 62 a0 c8 11 91 a7 29 77 b2 55 fe f7 b5 5a df bc 9a a3 56 2a 70 21 0e | 3..T...T>b.....)w.U...Z....V*p!. |
8fe0 | fd 97 26 ae 8e 07 a5 49 6b e9 31 bb e9 e8 55 70 a4 cb 7b 92 a5 a5 b3 ff e3 bf f3 60 95 d6 a6 91 | ..&....Ik.1...Up..{........`.... |
9000 | 56 13 0d 6e 17 85 8e 62 b8 44 17 28 fc a4 eb f1 86 b0 e2 d8 fd 7a bb af 22 c9 7b 5d 49 91 cf 0f | V..n...b.D.(.........z..".{]I... |
9020 | 15 4c bc ac fa 3a f6 64 77 76 16 6e 3a 6f b5 12 7d b8 aa b4 d8 6a 59 61 98 d3 d6 a8 d1 2c b0 78 | .L...:.dwv.n:o..}....jYa.....,.x |
9040 | d2 8d 95 3d 5e 0f 7b ba ca 6f 75 f0 60 d6 14 b4 9f 3e 76 e6 a5 86 7b 11 3c 14 dc b0 a8 c5 8e b2 | ...=^.{..ou.`....>v...{.<....... |
9060 | 2e 27 7a bc 5d 8e b7 f4 78 20 ca 22 e2 51 8c 2b 2c bc 16 98 83 2d 0b 7d 89 fd fe 3a 25 c8 55 a0 | .'z.]...x..".Q.+,....-.}...:%.U. |
9080 | 02 74 f4 fa 6b 79 15 36 77 23 e1 d5 72 dc f1 8e 9f 78 fc 37 df 27 25 15 78 1c 9b de 2c cb cb 49 | .t..ky.6w#..r....x.7.'%.x...,..I |
90a0 | 41 19 a9 f9 0c 67 56 d2 82 26 4d 51 d8 bf 2b f4 38 65 c5 4c 31 f7 16 39 39 7b 42 ff e6 ba 13 ad | A....gV..&MQ..+.8e.L1..99{B..... |
90c0 | a5 a5 88 94 4b 85 24 61 7c 2b 13 ec 3a 87 76 dc 4c 83 0f a0 d4 d0 68 51 51 33 c3 a5 9d cd f9 61 | ....K.$a|+..:.v.L.....hQQ3.....a |
90e0 | 90 82 06 83 c4 aa 44 0b 88 6b 42 d4 e1 e2 fa 22 a1 b6 54 20 f5 5d f9 da 38 27 f0 1d 23 a1 cb c2 | ......D..kB...."..T..]..8'..#... |
9100 | 05 e5 a1 4e 83 8a 55 49 a9 97 a7 c2 c6 15 ca f6 e4 1a c5 0a b9 26 0d 38 ec c4 58 be 6d d5 70 0a | ...N..UI.............&.8..X.m.p. |
9120 | 42 5c 10 eb 98 8b 9f e1 77 1b 29 a8 55 e5 2e 55 7f 75 82 62 96 8e fd b7 0b c2 ab e5 28 fa db 1f | B\......w.).U..U.u.b........(... |
9140 | 7f cb 6b 36 ef bf 47 08 a1 5c b3 d4 e4 a5 e3 ac cc 4a 6c 9c 5a 75 5f 16 25 32 cb 95 d7 4b 24 1c | ..k6..G..\.......Jl.Zu_.%2...K$. |
9160 | 56 e5 a1 02 91 28 ba 7e 47 11 3f 7e 4d 6b 79 39 46 1d 0d 0d 4e 80 92 db 6e aa 60 be 29 c3 c3 2d | V....(.~G.?~Mky9F...N...n.`.)..- |
9180 | 0a 93 94 c5 82 22 46 95 6e 31 5b 28 ba 4e 4e 30 ba 60 55 81 14 42 31 94 cd f0 9a dd 55 40 d5 8d | ....."F.n1[(.NN0.`U..B1.....U@.. |
91a0 | 48 12 f4 3f 6d 3d e7 32 c0 30 53 75 4e a7 fe 79 78 c5 43 77 93 53 4a 13 4a 98 fe 91 96 0d 59 77 | H..?m=.2.0SuN..yx.Cw.SJ.J.....Yw |
91c0 | 2a c5 ab 8b 82 bb 7c 30 57 25 d6 64 ab 76 c4 a1 2b 11 2f 87 43 09 39 ee 60 6d 52 20 d1 d4 bf a4 | *.....|0W%.d.v..+./.C.9.`mR..... |
91e0 | 5d 10 5e 4d c7 fa 3d 77 7e f2 07 df 58 6c ae 71 1c 42 53 93 26 2b f5 68 a2 68 7a a1 ac 02 11 76 | ].^M..=w~...Xl.q.BS.&+.h.hz....v |
9200 | 74 54 95 a8 01 6f 31 92 e1 d0 22 2f c8 66 06 46 56 c7 8e b5 f6 ec 4d 70 27 03 7a a4 88 43 40 b0 | tT...o1..."/.f.FV.....Mp'.z..C@. |
9220 | 90 55 4c 13 a2 9a 3a 90 42 31 94 5c 38 6c 0c 1b 33 fe dc 12 e1 88 42 d4 44 0f 77 80 62 7d 82 cf | .UL...:.B1.\8l..3.....B.D.w.b}.. |
9240 | a7 32 4c ce eb 93 7a 5f 27 36 dc e2 c1 d2 14 2f 45 ca 83 96 36 6b b5 f5 8c 40 e6 27 a6 91 22 fc | .2L...z_'6...../E...6k...@.'..". |
9260 | 19 15 f0 aa 85 2c 5d a5 94 fe fa 12 00 72 1a 84 ee b6 0e ac 04 aa fb cd 9b 69 5e d5 60 7d 5c 66 | .....,]......r...........i^.`}\f |
9280 | 8a 7b 31 9e 52 f3 64 97 3b 7a b5 1d 67 7e fb d7 ef f8 fb 3f 96 4b 6a aa 01 e7 c3 e0 70 9c ab 71 | .{1.R.d.;z..g~.....?.Kj.....p..q |
92a0 | 0e 27 5e 89 ed cb 52 db 7e bb 56 55 32 27 b1 b3 a0 5d ff c0 a0 ac 2c 4a 17 63 f8 91 23 e9 81 03 | .'^...R.~.VU2'...]....,J.c..#... |
92c0 | 09 ea 0c 2a 64 90 12 9d 4d f9 a5 7b df 80 b1 64 48 6e 07 89 6e 7b 3c d8 3c 64 75 d1 c3 a0 35 ea | ...*d...M..{...dHn..n{<.<du...5. |
92e0 | 21 cd 74 b0 7e 61 51 1b d2 65 5c 6b 9f 57 c4 b4 46 b1 a7 1b e4 d2 a0 75 0a 0e db 20 d1 86 57 12 | !.t.~aQ..e\k.W..F......u......W. |
9300 | e5 9c a7 98 35 0b 9c 2a 13 1b a3 16 66 05 07 4c c0 4f 13 1e c7 c5 68 cc b2 b1 bf 8e 5c 32 06 5e | ....5..*....f..L.O....h.....\2.^ |
9320 | 1e 87 88 c0 e1 da b8 cc 15 77 6b 16 e6 fd 4d e6 d2 de 89 b9 5d 10 5e 7d c7 6d ff e2 9f 8c ff e3 | .........wk...M.....].^}.m...... |
9340 | cf 8f 91 16 ac 90 cc 68 fe b2 c3 49 91 63 52 0a d0 c3 e1 95 35 a2 20 27 5a 34 8d 31 11 2c 8e a5 | .......h...I.cR.....5..'Z4.1.,.. |
9360 | 3f d5 cc f7 ca bc f4 7d c8 43 07 92 03 07 53 f3 9c 65 01 c9 92 8c 84 d5 df e6 ce 46 c6 0d 21 aa | ?......}.C....S..e.........F..!. |
9380 | e5 09 08 89 f6 14 b2 b4 35 9f b3 d5 eb c3 50 c3 86 f9 c1 7c 5d 31 91 57 09 ac 0e d0 19 b6 46 ab | ........5.....P....|]1.W......F. |
93a0 | 86 8f 66 53 ae ba 5e f6 8d d7 38 df ce 70 9e 0c bd 7d 2b 4b 5b 09 7d ca 5a 23 64 1a 81 76 94 29 | ..fS..^...8..p...}+K[.}.Z#d..v.) |
93c0 | 7a c9 e5 a3 a5 b2 62 b2 d6 2f 86 b9 bb a6 e8 6a ca 72 f9 a4 d4 cf 24 5c 1d a8 0b 35 dc 98 80 9c | z.....b../.....j.r....$\...5.... |
93e0 | 8c b0 15 81 8c 79 e7 60 b7 73 b8 27 5a d1 2e 08 af be c3 fc c9 3e fc bf ff 70 f9 a1 0f 66 30 85 | .....y.`.s.'Z........>...p...f0. |
9400 | e0 54 1f 4e 0a 3d cc 80 5c 5a 92 bf b3 53 a3 d1 b0 fb 66 8d b1 71 25 82 47 89 97 95 81 ef 1a ec | .T.N.=..\Z...S....f..q%.G....... |
9420 | 5a da 8c 66 7b f7 46 87 0e a7 a0 ec 56 96 30 99 88 84 3d 67 69 50 e1 c9 a2 75 de 8c 90 55 70 ab | Z..f{.F.....V.0...=giP...u...Up. |
9440 | 36 2a ea 53 8a 9a 64 1b 6b ca d2 70 5e eb 66 f2 fa a4 a1 36 fd d3 b5 e6 8c 8d 90 dc f7 55 ab 7a | 6*.S..d.k..p^.f....6.........U.z |
9460 | b2 fa b7 42 13 11 8f 0b 3f a4 d7 6e 29 c4 a5 9a fe 33 fc 92 51 31 e6 c5 20 cb fa 79 99 49 b4 a6 | ...B....?..n)....3..Q1.....y.I.. |
9480 | f3 89 e8 d7 89 43 7c c2 32 2b c6 9b 13 45 db 2a 98 4e a7 8b 69 ef 48 2f 9e 43 b3 e1 dd 39 e1 55 | .....C|.2+...E.*.N..i.H/.C...9.U |
94a0 | 07 3f 2a a8 fa 9b 9b 5f b8 f5 bb d7 bf 70 bb 8e e0 d2 8a 89 a8 49 4a 01 87 44 4a 86 ab 2f e6 ab | .?*...._.....p.......IJ..DJ../.. |
94c0 | 54 22 65 a8 6c 42 09 20 08 2c c4 a6 42 b4 79 a5 02 1c 16 04 34 f3 a0 c5 f9 c8 a4 a6 71 0b 7c 64 | T"e.lB...,..B.y.....4.......q.|d |
94e0 | 35 a8 9e 09 36 dd 15 0c ce cb 10 93 ae 1a 74 54 52 3e bd 07 8c 3f 92 55 f5 61 6d dd 9e 57 bd 4d | 5...6.........tTR>...?.U.am..W.M |
9500 | ba 31 bd 6a cf 82 a9 7a 3d 41 dd 69 4f 97 05 af dc 39 81 fb 41 1f f3 5d 13 ab bb 8f 3c f6 4c ab | .1.j...z=A.iO....9..A..]....<.L. |
9520 | 31 78 45 14 39 2b 4b 19 92 e9 aa 54 f3 6b c4 21 5a e3 14 e3 3c 1b 64 de e7 23 ee 46 dd 03 ed d6 | 1xE.9+K....T.k.!Z...<.d..#.F.... |
9540 | 9e 36 e8 e5 50 e9 2c 77 41 78 15 82 90 70 f8 e4 a9 c7 ef fe fe 37 0e 1e 7d 48 4b 1b 0f 0d f6 06 | .6..P.,wAx...p.......7..}HK..... |
9560 | 99 1a 65 8a 6e d3 89 af ac 6f 8a ce 50 54 9f a3 a9 a8 39 0f e3 58 98 d4 94 ba 0e d0 2f cd 0a 52 | ..e.n....o..PT....9..X....../..R |
9580 | fb 66 8a f7 7a e2 e8 d1 b4 d3 71 cb f8 41 77 b4 82 99 57 a0 11 8c 74 85 69 e7 50 88 ca e7 d0 b3 | .f..z.....q..Aw...W...t.i.P..... |
95a0 | 6a b4 e7 7b 06 73 8b fa 10 93 b9 08 da 20 b9 d9 4c da 6f 85 30 cb c2 f3 e1 ae e9 ac cb c2 c1 a2 | j..{.s..........L.o.0........... |
95c0 | 1d e8 69 6b e0 2b 5c 97 a5 92 78 d4 28 85 0c 5b 0e ca 7c e4 9a 54 40 8a 5c 96 de b0 2c 8c de e1 | ..ik.+\...x.(..[..|..T@.\...,... |
95e0 | 9c 63 27 f8 55 75 20 12 8c 72 53 24 4c 90 bd a6 58 d4 96 9d e5 b4 b5 a7 25 d2 48 db b7 08 04 54 | .c'.Uu...rS$L...X.......%.H....T |
9600 | 77 41 78 f5 21 90 3e 2b a5 a2 28 3a 79 f7 5d 0f fe e0 77 4d d6 2e ea c8 e2 d0 a4 a3 83 89 9a 14 | wAx.!.>+..(:y.]...wM............ |
9620 | c0 fb 37 21 11 a2 8e ac 6c f9 26 25 34 51 05 e2 d0 7c 27 86 da 47 d2 49 a3 10 87 be de 6a 25 e2 | ..7!....l.&%4Q...|'..G.I.....j%. |
9640 | e8 91 04 c4 69 b4 2b e4 08 57 2c 54 3d ac 9a 34 d6 d2 53 d6 56 9c 78 35 43 e3 c1 92 83 9d 67 b0 | ....i.+..W,T=..4..S.V.x5C.....g. |
9660 | 86 32 62 55 1c ba 29 9f 8f 84 dc a5 91 da 47 42 3f 6d 6f 14 84 cd b0 d9 b8 c1 1b fb bd 5a 57 15 | .2bU..).......GB?mo..........ZW. |
9680 | 23 a5 0f 8a 15 99 a9 b4 85 d3 d7 09 9a 31 97 c5 61 3d 06 9a 08 58 14 a3 b1 c2 f5 5f d9 12 ed e5 | #............1..a=...X....._.... |
96a0 | b4 bd 98 8a 04 b7 33 c8 f4 5b 02 08 b5 80 25 c3 5d 10 5e 7d 20 d4 b8 26 08 bd b5 24 b9 f3 e3 1f | ......3..[....%.].^}...&...$.... |
96c0 | 7d fc 6f df 9a af af c2 7a a8 10 30 b2 57 ac 3f 29 27 39 9a 39 e0 12 13 0c 88 95 55 35 ca 4b 5d | }.o.....z..0.W.?)'9.9......U5.K] |
96e0 | 28 dc b8 c7 d8 20 25 37 38 94 d2 5a 55 80 a6 b0 b6 b6 f5 e6 ce 03 fb e2 3d cb e0 fd ab 1b 70 12 | (.....%78..ZU...........=.....p. |
9700 | ce 48 db 26 9f d5 f6 80 f0 89 a8 a8 56 f2 c9 09 83 12 51 1d 5a 2a 09 2e 58 dd cd a2 7e db d3 3e | .H.&........V.....Q.Z*..X...~..> |
9720 | 79 9d 53 5a b5 46 03 06 f7 54 9f c6 3f 7e 5a cf 42 ef f8 de 2a c5 cb 5c d8 84 a1 9e ec 36 5a a3 | y.SZ.F...T..?~Z.B...*..\.....6Z. |
9740 | 76 6a 32 8d 43 08 d3 aa cc e0 0f 00 13 da 4e d4 5e 4c d2 d9 58 26 d2 e1 1c 16 90 61 9f 90 61 c2 | vj2.C.........N.^L..X&.....a..a. |
9760 | 5f ee ca e0 5f 9d 61 90 40 48 47 bb dd fe f4 ef fd ce ea 3f f8 db a3 f1 08 69 d6 82 e2 a1 c1 e1 | _..._.a.@HG........?.....i...... |
9780 | b8 50 c4 a4 c1 a5 5e bf 92 0a 73 c5 1c 27 d3 00 42 90 bb 66 71 22 c1 11 11 c9 1c 45 56 56 83 72 | .P....^...s..'..B..fq".....EVV.r |
97a0 | cd 16 17 a3 03 fb 93 38 ad f0 51 d5 81 e4 b8 1e c8 04 fb 04 b5 d2 cb 40 09 29 67 16 ea e5 30 2c | .......8..Q............@.)g...0, |
97c0 | 2d c7 a3 91 d7 94 bc b5 1f c7 d9 a1 20 77 d1 cf b6 9c c0 c1 c9 05 48 4b 2e d5 d6 f4 c6 36 3e ab | -............w........HK.....6>. |
97e0 | 9e aa ae 15 90 fc 12 05 a4 b9 48 95 a5 41 45 9d e2 d6 a0 b6 7d 0d 38 34 e9 44 99 81 51 6b dc 8b | ..........H..AE.....}.84.D..Qk.. |
9800 | 5a f3 69 3a 03 4b 86 d5 ea 95 77 38 d6 02 c4 48 a1 e6 de 4d 47 af ce 30 e8 23 61 89 47 b7 db fd | Z.i:.K....w8...H...MG..0.#a.G... |
9820 | f4 07 7e f3 c2 3f fa 7b d9 68 c4 90 56 a6 71 cd 02 e2 21 e1 10 87 13 12 cf 06 8a 69 b9 d2 59 ae | ..~..?.{.h..V.q...!........i..Y. |
9840 | 9c 8f 35 7c 44 31 b4 e5 41 73 c8 c4 43 92 1b c6 13 06 75 a2 c4 a1 83 49 af 07 36 f3 f5 ec ab 72 | ..5|D1..As..C.....u....I..6....r |
9860 | 2d b4 52 51 ae 5c 84 07 4a f7 a5 14 35 31 6f 61 0b 3f ca 3c 71 98 c9 2b 95 33 5e cb 00 91 76 e6 | -.RQ.\..J...51oa.?.<q..+.3^...v. |
9880 | 05 18 59 95 8b 56 32 c6 9a 28 dc 3c e0 c4 b8 47 07 33 46 de 88 84 55 3b 07 e7 8a dc 20 70 a7 f7 | ..Y..V2..(.<...G.3F...U;.....p.. |
98a0 | 9c b1 a0 6d b4 33 0e 85 a3 d4 98 77 da 24 b2 52 a7 33 71 6b 2e 89 5a 20 eb 44 7f 2c d7 b2 a2 f1 | ...m.3.....w.$.R.3qk..Z..D.,.... |
98c0 | 11 b7 ba cb e4 49 2a 31 2f dd 05 e1 55 d4 8f 21 ec d1 0d 03 3f f3 d9 94 1e e6 46 a7 d3 f9 f4 6f | .....I*1/...U..!....?.....F....o |
98e0 | ff d6 c6 cf bc 3d 1f 8f 34 cc ee a4 02 87 43 8c 87 b9 22 46 1b 74 01 a4 20 c5 0a 8d d2 db d0 aa | .....=..4.....C..."F.t.......... |
9900 | c1 73 98 5a 35 20 28 95 44 51 8c 38 1c 97 cc 8d f5 91 dd c6 f6 ee 89 17 97 62 89 08 f7 48 23 26 | .s.Z5.(.DQ.8.............b...H#& |
9920 | 0d f3 ed 7b df 8f 81 4a 08 53 4d cc 60 c1 ec dd ab eb 07 02 8a 7e cb 01 2f 2b a0 56 4c f6 dd d5 | ...{...J.SM.`........~../+.VL... |
9940 | 59 ae 43 b5 a8 6a 36 cf 03 9e 9a 9f 0b 12 aa 03 26 8d 7d ef 1a e3 0d df f2 31 78 80 29 ab e2 3b | Y.C..j6.........&.}......1x.)..; |
9960 | 0e ef 1b b0 d8 09 87 f4 de 94 1c 28 0d 65 9c 1a f8 45 49 d7 5c cc 04 cd 7e dc 18 c4 b9 1d 2b dc | ...........(.e...EI.\...~.....+. |
9980 | 30 44 b9 38 54 5c 46 99 46 8e bd 99 5d 10 5e 75 20 f4 b9 a8 81 5f 81 87 b9 61 f2 d2 db 7f f7 03 | 0D.8T\F.F...].^u....._...a...... |
99a0 | 5b ff f4 ff d4 e3 51 61 8a 0e d4 9e 31 71 66 30 51 30 b7 40 1c 72 d0 6d b3 54 1b f4 4b e0 93 1c | [.....Qa....1qf0Q0.@.r.m.T..K... |
99c0 | 0c ed 39 e6 a5 82 ba a6 89 48 70 ab 30 37 69 ab d2 d5 39 a7 d9 ec ac dc b7 2f 69 b5 dd 82 93 c5 | ..9......Hp.07i...9....../i..... |
99e0 | 98 c3 9e b6 6e f6 2c f4 b1 08 da 33 20 1f 1e 50 db 6a 72 a6 16 27 8a 44 77 ad 23 a8 3d fb bd 85 | ....n.,....3...P.jr..'.Dw.#.=... |
9a00 | 69 d0 95 f1 c5 9e 0f 71 9c f3 00 3b 9c 35 19 36 61 0a 8a ba be 42 6b 7e d9 f7 bc 79 8f 93 40 c6 | i......q...;.5.6a....Bk~...y..@. |
9a20 | d1 8f 36 d8 2b 85 d0 51 ca d2 8e 8c 3b 92 f6 eb 35 69 ce 70 3b 67 b1 d8 53 5e aa 07 df 2c f3 2e | ..6.+..Q....;...5i.p;g..S^...,.. |
9a40 | 47 24 3b c9 6c 87 66 17 84 57 5d 2e 4a 31 90 72 d1 c2 1d 79 9e 1b 1c de f5 e7 b7 6d bd f3 ff 50 | G$;.l.f..W].J1.r...y.......m...P |
9a60 | eb 6b 05 83 5d 7b 73 de 9b 74 74 34 29 07 93 b2 74 9c d2 38 c6 b4 93 50 cd 58 5e a8 0c ac f6 6c | .k..]{s..tt4)...t..8...P.X^....l |
9a80 | ab 06 ce 10 c9 53 3c a5 72 53 56 6a cd 83 90 18 c7 dc 84 c4 f9 45 08 89 75 31 0b ed a8 db 14 cb | .....S<.rSVj.........E..u1...... |
9aa0 | 1c d7 34 dc ac 03 09 5c ab 3b 6c 41 c8 b8 53 d3 a8 2f e6 c1 b9 ac 90 54 6d 8d 7a 59 38 36 f4 ea | ..4....\.;lA..S../.....Tm.zY86.. |
9ac0 | ba 6e 37 82 55 ab 17 b6 65 e3 25 2a 82 ad 29 86 82 c6 5e 0b ea 29 df f3 c6 d7 30 eb c1 a0 a7 64 | .n7.U...e.%*..)...^..)....0....d |
9ae0 | a4 a5 b9 54 b5 45 dc 11 84 3d a6 1d a5 d5 e1 09 4d 87 3d 61 c7 a5 c7 9a 34 48 39 09 90 02 97 8d | ...T.E...=......M.=a....4H9..... |
9b00 | ef 82 f0 aa 0a 83 be 14 f4 08 24 10 1a f8 f9 cf 69 9a 7e e5 b3 9f 59 ff d9 9f e1 67 4f 67 06 57 | ..........$.....i.~...Y....gOg.W |
9b20 | b8 03 5e 22 b9 74 38 2e 0a 8c 87 1a 61 16 4b bb 23 60 be 04 2d 3f dc 6f a2 12 91 2c d6 92 04 06 | ..^".t8.....a.K.#`..-?.o...,.... |
9b40 | fa 59 06 d2 df a2 b6 c6 ce 66 7a 72 79 6f dc 9d 89 1c 89 c6 9d f4 5c d3 a4 5e 6b e5 80 e7 1a 2e | .Y.......fzryo........\..^k..... |
9b60 | c2 f2 04 38 b6 e6 69 6d ca db 89 f2 a0 a1 ca 2b 02 0d 09 78 c0 da 83 a2 a5 07 45 23 37 37 51 0c | ...8..im.......+...x......E#77Q. |
9b80 | 2d 66 82 aa cf 55 aa bc ee 3a c1 bf 9e 37 9d 18 df 9a 6a 56 18 25 48 53 36 b3 38 e5 51 2a e2 54 | -f...U...:...7....jV.%HS6.8.Q*.T |
9ba0 | a0 1a 1d fd 4d b8 b6 3c 98 ca 47 a7 d9 0b d2 be 26 84 37 88 23 08 35 a6 a3 98 97 ee 82 f0 6a 1b | ....M..<..G.....&.7.#.5.......j. |
9bc0 | 0f fa 83 b2 50 f3 39 cb 32 02 21 1d 06 87 67 4e 3e 78 e6 5f fd d3 f4 e4 97 27 0a 36 00 41 16 51 | ....P.9.2.!...gN>x._.....'.6.A.Q |
9be0 | 80 a1 45 1f 18 fc 1a 37 9e 00 87 09 6d 42 d8 09 9e ce 72 5d 60 85 14 39 c8 45 11 0c 30 ca 42 01 | ..E....7....mB....r]`..9.E..0.B. |
9c00 | 9b 94 57 0d 15 1a 60 2c 2e ca e5 65 e0 d6 58 16 8c 20 12 59 5d 63 a2 ee af e6 a7 fc 56 da 54 84 | ..W...`,...e..X....Y]c......V.T. |
9c20 | 33 7d ac 1e ed de 6b a5 ec 86 9d 0f 3b e8 24 25 d5 d2 01 d2 3a 67 bb 77 a7 da 9c e2 fa 6b 82 5c | 3}....k.....;.$%....:g.w.....k.\ |
9c40 | 70 75 0b 5c 99 28 f2 a3 ea 71 6c aa 6b 16 25 2c 4a 91 eb 87 95 ad 25 82 d7 f5 36 58 d5 14 f2 a9 | pu.\.(...ql.k.%,J.....%...6X.... |
9c60 | b3 ae d1 0e fc 75 81 93 f6 b6 0b 89 20 7f b8 ab 3b 7a 15 82 d0 b7 64 08 87 06 84 04 3f 1f 0f e3 | .....u..........;z....d.....?... |
9c80 | 38 de b8 b0 f2 d5 9f ff d7 b3 9f fd d4 18 7b 24 51 0a 51 0b 46 17 a3 7c 94 2b 6c cc 50 89 28 90 | 8.............{$Q.Q.F..|.+l.P.(. |
9ca0 | 81 6d 53 ba bc 04 4f 05 d8 f3 71 03 0c 88 00 d8 8c 31 f1 48 84 43 33 04 45 a7 2d 97 96 e3 d9 85 | .mS...O...q......1.H.C3.E.-..... |
9cc0 | 38 82 fc ca 9b 87 62 83 d2 53 52 74 7d 96 1d 6c 63 d0 1e 86 c0 a9 a5 17 ed e6 ac c9 fc 62 6e ef | 8.....b..SRt}..lc............bn. |
9ce0 | 9f 52 56 3b 62 c7 9c 00 15 09 c1 dd 97 00 89 89 42 35 f9 a8 67 a3 b5 39 61 45 04 65 56 11 1b 30 | .RV;b...........B5..g..9aE.eV..0 |
9d00 | 26 c1 cf 02 e5 8f 4d 32 cf 7c b8 d6 cc ad cf 07 6b 1f 3b 82 d0 c6 3d 6e bd 5f 2a 31 1c ff 18 02 | &.....M2.|......k.;...=n._*1.... |
9d20 | 61 64 67 15 a6 38 2c c7 93 5d 10 5e 4d 05 a1 9f 4c f8 30 48 91 30 44 20 7d 36 a7 76 36 99 9c 7c | adg..8,..].^M...L.0H.0D.}6.v6..| |
9d40 | ef 2f cf fc e1 ef c2 4c d8 9c 67 69 24 a5 34 b7 4d 5e 3a 18 97 de 97 28 96 0c 56 2b 9c 28 94 c2 | ./.....L..gi$.4.M^:....(..V+.(.. |
9d60 | e9 05 84 44 6d 43 22 7a a7 71 6e a5 bb ab 56 a1 6f 78 f4 ba d1 9e bd 49 77 56 02 e1 bb e2 6d 7b | ...DmC"z.qn...V.ox.....IwV....m{ |
9d80 | 5a 8b 85 a5 60 4e 0b 90 93 2b 94 9d 31 a2 e3 35 36 6d a4 8b 64 b6 d7 ca 42 b3 6e 1f 24 b9 25 97 | Z...`N...+..1..56m..d...B.n.$.%. |
9da0 | 6a 4b bb a1 95 41 ee 48 00 ce c1 42 b9 08 ca 43 99 99 80 07 0b 2a a3 cc b1 cf 7d e7 16 67 86 61 | jK...A.H...B...C.....*....}..g.a |
9dc0 | 3b 46 6b 7d 19 13 aa 1a 08 b9 53 bf 71 20 f4 cd 25 e6 75 3a 6c 57 86 a3 fe 2f cb fb 43 f3 c7 d8 | ;Fk}......S.q...%.u:lW.../..C... |
9de0 | 05 e1 55 06 c2 e9 96 4c 03 84 fe 06 92 13 c5 c9 3f fe 50 fa ff fe a7 68 34 9c e0 c6 3d a4 a6 9c | ..U....L........?.P....h4...=... |
9e00 | 8f b3 d2 84 c4 5c b9 a6 9d d0 b1 09 89 a4 62 84 47 51 aa 09 64 ae 64 5b 6d ed 00 fd d9 28 82 4d | .....\........b.GQ..d.d[m....(.M |
9e20 | 08 3a f9 0d 84 66 67 a1 50 ec f4 62 4a 25 85 b4 4a 9e e8 3a 1a 48 b2 e0 26 54 c5 2f 61 41 7f 15 | .:...fg.P..bJ%..J..:.H..&T./aA.. |
9e40 | f2 3d 81 dd 1b 16 36 51 1d 4f 47 b3 30 42 b2 6a f4 5f e1 aa 6a 84 6a 6a 63 06 7d 51 15 96 91 7e | .=....6Q.OG.0B.j._..j.jjc.}Q...~ |
9e60 | fe 11 5c 2a 78 a3 8b ea 07 11 f6 ce 52 07 c3 7e 3e 45 91 ab 9c e4 b4 27 19 54 3a 1b 01 ed 00 18 | ..\*x.......R..~>E.....'.T:..... |
9e80 | 33 dc fc fd b2 fe 48 e5 05 df 35 09 bd 4a 41 e8 23 a1 c1 db 34 08 7d a6 6a 1e 9c 24 c9 e9 2f dd | 3.....H...5..JA.#...4.}.j..$../. |
9ea0 | 3b f9 e5 ff 30 73 ea e1 b1 86 12 11 9c d5 a4 30 e1 6e 30 ca 27 85 d5 da c4 98 00 99 27 ac cc 73 | ;...0s.........0.n0.'.......'..s |
9ec0 | 28 c4 20 24 16 25 21 35 0a 9b 9c cc e1 30 d8 87 20 34 c7 11 9f 9b 8f 16 96 e3 56 97 6c b8 89 b1 | (..$.%!5.....0...4........V.l... |
9ee0 | ed 04 3c b5 2d ec 2c f1 52 b8 fd 72 bb 00 e5 c5 32 b8 a0 79 06 e9 0e d7 1d e9 2b a1 17 36 b5 b2 | ..<.-.,.R..r....2..y......+..6.. |
9f00 | e0 b1 23 02 35 0a 56 97 96 e1 9a 57 63 8c 3a 57 35 0c 97 6e f3 18 17 2b 94 b6 ec 5b e6 09 a5 5a | ..#.5.V....Wc.:W5..n...+...[...Z |
9f20 | d7 1b 42 3c a0 cd f9 bc 34 14 64 74 b4 19 20 d0 80 89 c5 a4 18 4e 68 9a ca f9 ff 94 dc d1 f1 c9 | ..B<....4.dt.........Nh......... |
9f40 | 3b cb fe ba b9 d1 ba fe 16 39 b3 70 d5 81 30 cc 45 7d 24 f4 65 61 f8 2d 8a 99 a6 44 ec af af 9f | ;........9.p..0.E}$.ea.-...D.... |
9f60 | f9 f5 f7 ed fb d4 9f 17 2a 2f 05 e0 90 c7 d2 e4 5d c3 71 3e 1a 97 85 2b 78 60 23 42 c2 8c d1 6a | ........*/......].q>...+x`#B...j |
9f80 | 96 da 90 08 bc 6f 2a 61 aa f6 0c b7 6b 00 3c 2c 79 70 2e 1d 45 7c 7e 21 5a 5c 8a d3 4e 64 05 bc | .....o*a....k.<,yp..E|~!Z\..Nd.. |
9fa0 | 2b 07 35 04 21 fe 16 ae a7 ca 6b 02 d5 a1 8a 04 b6 67 a0 85 83 ad c8 50 d7 b4 76 c3 ad 3b b2 aa | +.5.!.....k......g.....P..v..;.. |
9fc0 | 98 d4 76 a1 b8 5a 3b d2 d5 12 a3 68 8a a0 39 88 db 3a 52 29 b2 a7 80 b7 db 53 ce d9 8e 2d d6 da | ..v..Z;....h..9..:R).....S...-.. |
9fe0 | 57 c2 e7 a5 5e 18 dc 35 68 b8 6f cf 98 ab 5a 36 9a 68 58 9b e6 be 8a 7e f6 40 58 6e af 6f fc d1 | W...^..5h.o...Z6.hX....~.@Xn.o.. |
a000 | 7b cc 8d ee 2d af 6b dd 70 cb b3 7f 36 9b 17 b0 f2 de 77 6e 7f fc 83 e6 86 bf 33 3e 70 62 e1 cd | {...-.k.p...6.....wn......3>pb.. |
a020 | 3f 3e ff a6 b7 5e b1 68 0c 41 18 4e 08 cd 41 c0 6b 74 47 3d 0e c3 31 86 00 79 5f fd f0 9f dd b6 | ?>...^.h.A.N..A.ktG=..1..y_..... |
a040 | fc fb ef 4f 06 eb 19 87 96 29 38 90 72 36 c9 cb c1 b0 a0 85 43 ee d4 38 21 60 c6 92 64 bc 71 0d | ...O.....)8.r6......C..8!`..d.q. |
a060 | 4a e5 59 69 22 a6 ac 87 44 19 9a 52 f8 d3 18 5f 6f 12 f3 b9 85 68 6e 31 69 77 bc 5c 67 95 64 d2 | J.Yi"...D..R..._o....hn1iw.\g.d. |
a080 | 2f a3 95 62 2c dc ba 70 2a f4 c2 ef f5 86 52 65 dc 6e 69 10 b0 c9 79 45 58 18 d7 85 98 74 b0 19 | /..b,..p*.....Re.ni...yEX....t.. |
a0a0 | 3c b5 04 38 6d fb 84 73 08 4d 1d 1f a5 59 00 09 de 28 7f c3 f4 b4 a6 42 55 a5 cc c1 18 32 c8 4b | <..8m..s.M...Y...(.....BU....2.K |
a0c0 | 01 7e 65 3e ca 8a 2c b7 ef 70 8c ae 17 e4 cc f3 0d 80 30 3f f7 c8 d6 c7 3f f8 35 3e 78 e9 d6 9f | .~e>..,..p........0?....?.5>x... |
a0e0 | a6 e0 73 ea a7 df e0 cf fe 03 ef 78 f7 fc 9b df fa 6c 9e ca e6 35 3f fa b6 57 84 f0 0b 8f eb 7e | ..s........x.....l...5?..W.....~ |
a100 | e3 a4 41 e3 5f 56 10 d2 97 e6 1f ca 28 3a 7d df 97 da ff f5 7d 0b e7 1e 1d 23 7b 18 ba 35 91 34 | ..A._V......(:}.....}....#{..5.4 |
a120 | cf 3a 18 e6 43 5c 44 a4 54 93 b2 46 93 9d c2 ce 21 e9 91 1a 28 4e 54 59 94 44 af f1 f1 4a 20 2b | .:..C\D.T..F....!...(NTY.D...J.+ |
a140 | cd f2 67 6c fb c6 36 e4 cd 73 c4 09 9f 9d 93 73 0b 71 bb 17 01 47 9c 02 ac 70 d9 23 68 e4 d0 cc | ..gl..6..s.....s.q...G...p.#h... |
a160 | 41 0b 61 99 31 96 13 67 77 14 5d 62 c8 f5 4e 22 4b ce db 14 37 b6 2a b8 5a 28 57 04 6b ef 51 e1 | A.a.1..gw.]b..N"K...7.*.Z(W.k.Q. |
a180 | aa 53 1f b6 83 2b 07 fc da dc b6 40 2f 13 fa 76 02 61 b3 fb 52 3d 18 c2 b4 2a 54 36 ca 72 54 01 | .S...+.....@/..v.a..R=...*T6.rT. |
a1a0 | 82 fb 24 8f 17 bb b2 93 e4 ab db ac 2c be c1 39 e1 e0 ce db 4e fd d4 1b be 96 47 9a 88 77 fc dd | ..$.........,..9....N.....G..w.. |
a1c0 | 9f 37 37 1e 7d db cb 0d 0e c3 6f dd f0 07 17 9e cd e0 63 5e b0 79 d9 97 ba 4c ec 7d eb cf 5d 75 | .77.}.....o.......c^.y...L.}..]u |
a1e0 | e9 a8 07 61 08 3f 03 c8 90 cb d6 78 b0 b9 6d a0 b0 7e 71 75 f4 fb 1f 38 7a e7 27 32 cd 72 73 f6 | ...a.?.....x..m..~qu...8z.'2.rs. |
a200 | c6 32 32 21 51 b0 f1 b8 18 8c 4a 53 25 72 5c ad 20 7a 17 b4 64 0c 4e 31 41 35 f7 98 12 11 ea 48 | .22!Q.....JS%r\..z..d.N1A5.....H |
a220 | 6c d8 f8 e0 c3 b9 b5 fe 0d 5c 4a b5 17 5c 34 b7 e3 88 f5 66 e4 ec 02 cc f7 a3 04 98 cd 5e 15 4a | l........\J..\4....f.........^.J |
a240 | 10 2c 70 8b 41 97 e4 48 53 2d 64 d8 1e 29 0b f6 71 c3 e4 2e 8c 6c 42 53 d3 d4 e9 bb f0 9a 1a 45 | .,p.A..HS-d..)..q....lBS.......E |
a260 | a5 5c 18 d8 69 f0 50 52 ca b1 cc 1a b8 b3 0b cb 2e 6e 0a 5e cd 02 75 98 81 56 37 ec bc 07 1f 09 | .\..i.PR.........n.^..u..V7..... |
a280 | 6f fb b8 00 f8 a1 f8 0f 8f 78 b2 d4 6e ed 9f 55 79 3e 3a b5 a1 cd 15 0d d9 ed d1 33 7a 02 c9 de | o........x..n..Uy>:........3z... |
a2a0 | 82 2f c3 9a 85 d9 43 77 76 6f 79 ed b3 56 04 36 10 68 7e 74 f7 a5 af cd ce 3d 3a b8 e3 b6 a5 5b | ./....Cwvoy..V.6.h~t.....=:....[ |
a2c0 | 7f ea ea aa 69 b9 db 5f a0 fe 27 bf f4 11 e6 54 f4 79 34 1a b5 7b 5d 79 eb 8f 9e 3c 74 e4 e8 9f | ....i.._..'....T.y4..{]y...<t... |
a2e0 | fd 7e 67 32 1a 99 34 a9 54 a6 4a 6c b7 e2 24 96 fd 61 3e 9a 40 48 44 f7 2e 72 62 30 b0 2e 63 e0 | .~g2..4.T.Jl..$..a>.@HD..rb0..c. |
a300 | 76 cb 34 91 71 c4 c1 a3 3b 2b 41 91 5f d8 00 80 0a 89 4c 72 ff ea b8 88 e8 c2 01 71 b1 28 d9 e6 | v.4.q...;+A._.....Lr.......q.(.. |
a320 | 46 d9 df 2e 5b 2d 39 3b 2f 7b 73 71 da 06 23 5b 41 14 1b b0 13 06 93 30 78 6c 61 47 7e 76 c2 50 | F...[-9;/{sq..#[A......0xlaG~v.P |
a340 | 29 b2 a1 19 8d b2 d3 74 9f 24 56 bd 12 45 d3 b9 9a 35 1a 47 17 f1 5a e7 b2 66 21 e3 4a 38 ed 2c | )......t.$V..E...5.G..Z..f!.J8., |
a360 | 76 74 63 fc 10 18 06 6b 5a b9 74 91 ce b1 fe 9a 82 6f ae e3 6a 2e 66 f9 24 2f f0 82 05 59 73 4b | vtc....kZ.t......o..j.f.$/...YsK |
a380 | 24 0b 49 6b 5f 4f 76 a3 d1 93 5b e3 27 86 f0 84 12 7e 2d f3 7b 3f b3 20 34 27 ba 2f bd 4c 42 18 | $.Ik_Ov...[.'....~-.{?..4'./.LB. |
a3a0 | 7e 2b 39 70 fc 59 3b 6b 07 77 7e a4 81 c0 a3 ef fa 13 5f 28 5e f9 bd 99 a7 84 62 03 78 d3 08 0c | ~+9p.Y;k.w~......._(^.....b.x... |
a3c0 | ff 89 09 89 e6 0a bd f4 aa d7 9c da b7 7f fe 8f 7e 67 ff f9 27 46 1a a4 50 64 a4 64 22 e7 67 92 | ................~g..'F..Pd.d".g. |
a3e0 | 34 2d 07 03 13 40 35 ba 1a 32 81 88 30 e7 93 41 23 6c 1e c6 b2 dd 8e 93 44 4e c6 45 59 28 1f 49 | 4-...@5..2..0..A#l......DN.EY(.I |
a400 | 80 cb a2 35 cd 39 ac 19 19 5c 23 a4 ed 89 22 2d 7b 38 50 a3 61 b9 b1 9a 77 bb 72 66 4e b6 67 c0 | ...5.9...\#..."-{8P.a...w.rfN.g. |
a420 | 57 cc a0 11 0d 68 30 b1 34 31 d9 75 44 ec 00 9e 4e 7c 55 25 a2 b5 b1 80 63 8b 12 de 28 3e 71 3f | W....h0.41.uD...N|U%....c...(>q? |
a440 | 7b e0 9a 82 a7 26 85 c5 4b e5 7c bc fe ad 26 6b b4 3e ea 17 41 77 35 78 24 ad e6 9a b7 00 12 0e | {....&..K.|...&k.>..Aw5x$....... |
a460 | 53 1f c0 5a a6 b9 92 71 39 27 92 79 99 2e a6 32 8d d5 64 32 7c 74 7d 7c 1e b8 f4 32 d2 29 87 f7 | S..Z...q9'.y...2..d2|t}|...2.).. |
a480 | e4 89 cd ce d3 03 c2 4b c5 34 1f 09 97 6f fd a9 73 bf f8 36 7f bf 29 08 9f c3 1a cc 5f 1a e0 15 | .......K.4...o..s..6..)....._... |
a4a0 | 5e 3d 08 bc 4c b8 f3 b7 05 1e ce 00 94 73 ce 2f 95 e2 8e c7 a3 de d1 6b b6 fe c6 4f 6c 7c f4 c3 | ^=..L........s./.......k...Ol|.. |
a4c0 | d7 de 7b bb 00 11 61 95 8f 4d dd 28 db 89 4c 62 31 18 16 a3 49 c9 31 24 0a 4d 82 ba da 5c dd cb | ..{...a..M.(..Lb1...I.1$.M...\.. |
a4e0 | 0c a1 98 88 4e 37 2e 4c 76 4a 24 6f 17 62 c0 fa 49 95 42 56 ec 50 9b 7a 5a d2 19 3c 76 32 61 26 | ....N7.LvJ$o.b..I.BV.P.zZ..<v2a& |
a500 | a7 ed 6f 16 49 2b eb 98 d8 30 17 b5 bb 88 46 27 ea c6 a5 44 3b 41 e1 86 ef 0a 81 a9 b1 66 d5 d5 | ..o.I+...0....F'...D;A.......f.. |
a520 | 06 6d e0 f1 a4 1d 4e 3c c3 86 12 47 32 e5 f5 1e 83 1e ba 36 0f 0e 23 62 bd 96 b3 93 3d dd d4 5a | .m....N<...G2......6..#b....=..Z |
a540 | 64 6a 07 00 83 a4 dd c4 64 07 45 99 61 24 37 75 74 97 c7 3d 11 cd f1 a8 03 ac 20 9d 15 93 8b e3 | dj......d.E.a$7ut..=............ |
a560 | 6c ad c8 37 58 02 a3 57 bd 39 10 b7 6f ee fd d8 c6 f5 77 e5 d7 3d 3d 20 f4 81 e5 52 87 41 9d 98 | l..7X..W.9..o.....w..==....R.A.. |
a580 | 59 a0 ce a4 c1 00 75 6b 76 8f a7 05 90 c2 1d fe b6 bf 3f 44 63 e3 00 4a 4d 96 89 34 65 af 7f cb | Y.....ukv.........?Dc..JM..4e... |
a5a0 | bd 87 8f 9f f8 c4 1f 2d 0f 36 86 06 6c 05 d4 66 22 11 b3 bd 38 4d a5 81 a2 c2 0a 50 a0 bc 37 9d | .......-.6..l..f"...8M.....P..7. |
a5c0 | c9 e6 6c 2b 72 90 6c 33 39 6a 3c 9b 64 e6 fc 9b 14 9e 3a 0d fd c5 12 81 89 fc 2f db 9d 20 c2 b3 | ..l+r.l39j<.d.....:......./..... |
a5e0 | f5 b1 00 0d 46 50 67 1c 9a f4 b8 d8 5a 37 68 9c 98 d8 d8 99 89 5a dd c8 d2 a3 a5 b5 4f f4 6b 4a | ....FPg.....Z7h......Z......O.kJ |
a600 | 76 57 01 6c a1 14 73 15 a7 72 3e 64 5a eb 3a ab 45 07 91 ca 8d f8 b8 25 d0 00 b2 54 a5 32 5c 4d | vW.l..s..r>dZ.:.E......%...T.2\M |
a620 | 08 1d 7d 94 d5 6c 15 c3 a7 72 04 55 54 c7 32 ef 8c b9 0c 15 90 58 60 73 39 d2 06 7b 51 47 4a f3 | ..}..l...r.UT.2......X`s9..{QGJ. |
a640 | b9 05 09 39 08 6d 8d 75 91 e5 e6 73 be a9 e3 31 3c cf 43 6b dd 4f ae 1d fd 64 ff fa 53 ec 90 ee | ...9.m.u...s...1<.Ck.O...d..S... |
a660 | 2e ce 2c 75 a3 67 ed bc 99 7d f5 0f 98 8f 5d fc 7c c3 a8 f3 7a 87 3b 22 70 1a 8a 3b 22 b0 f1 30 | ..,u.g...}....].|...z.;"p..;"..0 |
a680 | bb 03 75 c3 4d 5f 5d 5c 3e ff b9 8f dd f0 d5 7b cc 09 9d 99 d3 6b 62 c2 a2 32 39 67 3c 1b 9b 78 | ..u.M_]\>......{.....kb..29g<..x |
a6a0 | 98 8d 4b c1 9d 42 0c 50 4b d1 07 1a 6b 45 84 a2 8c e3 c4 e0 10 2c 2e 5c 4c 04 05 37 ad 85 02 c1 | ..K..B.PK...kE.......,.\L..7.... |
a6c0 | 7c 2f 04 4c 2d 1c 0e 82 fc 24 8f 0d 1a a9 a5 62 e3 21 9b 8c 8a 4d 83 c6 84 b7 da c2 84 c7 b4 23 | |/.L-....$.....b.!...M.........# |
a6e0 | 4d dd 08 5b 20 91 63 a3 a2 f3 29 04 66 13 27 31 1e 69 4b e2 56 56 5a bb ae 90 af 9d f2 45 d5 59 | M..[..c...).f.'1.iK.VVZ......E.Y |
a700 | a9 52 53 bd 43 08 d4 ba 31 76 0f d3 4e af 17 ae 4b a0 c2 1b ec 99 54 1c c8 f0 52 f3 98 89 36 54 | .RS.C...1v..N...K.....T...R...6T |
a720 | 7d 22 31 e9 34 2e 8e 90 60 d4 50 2b f2 34 2f b4 dc 62 d9 36 bb 7d 75 f9 7f ac 5e fb c5 d1 35 5b | }"1.4...`.P+.4/..b.6.}u...^...5[ |
a740 | d1 d2 4c af db 9b 9d 3b 10 8d bf 65 eb cf a3 67 f9 64 a2 41 79 7e f6 91 1d 47 14 83 3b 6f 33 a1 | ..L....;...e...g.d.Ay~...G..;o3. |
a760 | d2 63 75 eb e3 1f a4 4a 72 c7 d1 a2 79 aa f1 c9 3b 68 ec 7e 99 f1 e3 ea 07 7e 21 3b f7 68 ed a7 | .cu....Jr...y...;h.~.....~!;.h.. |
a780 | dc 51 6b d2 98 c4 b8 71 75 30 3f d4 3c c6 3f 73 eb 86 97 5e be 87 84 8d 9f 8f 98 cf d9 b9 47 a8 | .Qk....qu0?.<.?s...^..........G. |
a7a0 | 1b ec 0f ff 2b 04 a9 fb d7 37 26 0d 4d 7b e8 f6 a5 10 28 a5 34 c0 9b be 53 43 a9 b6 c3 b7 fc 61 | ....+....7&.M{....(.4...SC.....a |
a7c0 | 70 18 cd cc 6e bd fa bb 3e 7b e0 d8 8d 77 7d 7c ef 70 73 0c a2 89 ba cc a0 81 de 49 4c 39 23 26 | p...n...>{...w}|.ps........IL9#& |
a7e0 | 93 12 a4 85 29 d0 05 fd 77 da b1 80 61 46 0b 8a 4a 03 45 4c 1a dd be a2 01 48 5e c2 ee 0e 32 c5 | ....)...w...aF..J.EL.....H^...2. |
a800 | 83 31 9d 00 86 34 e4 65 38 b8 b7 1b 41 2c cb e1 14 1f 6c 97 51 c4 0c 20 93 b6 68 75 64 d2 31 38 | .1...4.e8...A,....l.Q.....hud.18 |
a820 | 07 17 1a 85 e2 ff 5e 6a 0a e8 6d 8e 10 07 71 9a 46 7c b8 35 e8 72 4e 97 40 7a b1 37 de 64 5c 57 | ......^j..m...q.F|.5.rN.@z.7.d\W |
a840 | 91 53 b1 aa 71 53 09 58 20 5f cd 20 6a 0c 9e 4d d9 c8 c4 f8 52 c4 8a 27 5a a6 cc a0 8e c7 42 c4 | .S..qS.X._..j..M....R..'Z.....B. |
a860 | d6 5d 1c bd 25 40 e6 02 dc 66 0a f8 71 e6 72 11 65 7a 75 85 7f ec c9 83 1f 5a bd e1 fe fc 08 4f | .]..%@...f..q.r.ezu......Z.....O |
a880 | 67 66 16 5a fb 7b 73 b3 ad e4 05 c3 2f bd 6c e5 13 cb c5 fa b3 04 c2 8d 0f bd e7 e2 07 de e5 4f | gf.Z.{s...../.l................O |
a8a0 | 47 73 4e 7b 10 d2 10 df 9c f4 d4 c0 34 45 9a 81 84 79 e4 e9 7f 79 ab ef a9 2e dd ba 11 9e b8 e6 | GsN{........4E...y...y.......... |
a8c0 | 91 2b ef f9 c7 53 1d d7 77 1a 38 99 e2 b3 01 ef 95 f7 bc 73 1a ea 61 b3 f4 c0 3b de 1d c2 c9 3c | .+...S..w.8........s..a...;....< |
a8e0 | f3 f4 30 c3 bc aa a5 5b 7f 6a 3a 8b 36 08 5f ff d0 7b 43 98 99 7b fc c3 cc fd 67 fe e5 ad 8d 99 | ..0....[.j:.6._..{C..{....g..... |
a900 | cd 37 9c 8a 37 10 78 19 28 fa 79 06 61 2f 7c 58 e3 f1 12 8f 02 8c d4 d0 89 e9 ba 1b ef 5b da bb | .7..7.x.(.y.a/|X.............[.. |
a920 | 78 ef 67 5f f0 f8 fd 89 a9 1b b1 7a 2c 27 85 39 f7 db 09 2f 22 5c 6b 52 ba 72 0a d4 30 cd 00 7f | x.g_.......z,'.9.../"\kR.r..0... |
a940 | 68 73 6e 0e 95 89 5a 71 2b 32 c8 33 81 02 dd b9 2d 2b 4c a1 41 a9 d2 c0 d3 8e 70 69 c3 b2 d9 80 | hsn...Zq+2.3....-+L.A.....pi.... |
a960 | 92 8a 44 39 b7 b9 47 1c 71 da fd 87 d2 31 53 83 ad 32 02 3e 1d 8f 13 1e b5 45 94 80 f7 5b 14 0b | ..D9..G.q....1S..2.>.....E...[.. |
a980 | 99 40 80 95 82 74 34 04 45 49 8b 7b 6c d7 3a bd 7b 6d 7b 37 a1 d2 a1 a8 17 7a 14 e2 44 15 00 0d | .@...t4.EI.{l.:.{m{7.....z..D... |
a9a0 | 84 ca d2 fc 16 cc 00 8f 3e a0 0f 2a 00 78 71 d7 84 3e 2e 62 bc 18 a0 38 b0 2a 31 57 47 7b 7a 2c | ........>..*.xq..>.b...8.*1WG{z, |
a9c0 | 89 11 c2 11 4b b5 1e 5c 60 ff fd b1 fd bf 7d e1 05 0f 16 87 d3 56 7b 7e a1 95 f6 66 db dd 99 a3 | ....K..\`.....}......V{~...f.... |
a9e0 | e3 c7 5f fa c4 6d 47 b6 1f 31 4f 34 4a 92 67 09 84 10 fd ea 01 21 3c bf 43 9c 00 26 3f f4 9e 95 | .._..mG..1O4J.g......!<.C..&?... |
aa00 | f7 be 33 1c ac 87 91 ca 9c e5 d3 b8 f2 27 fd b9 5f 7c db e8 a1 3b 43 5c 3d c5 10 65 66 61 c6 3d | ..3..........'.._|...;C\=..efa.= |
aa20 | b9 f9 b9 61 f7 a8 f6 fa b7 d7 cd 0f 35 61 ed e8 2f fc 49 d8 cb 31 2f 6c f5 03 ef aa c3 f2 5d e6 | ...a........5a../.I..1/l......]. |
aa40 | 4e 6a 3b 5d ac 7f 0b 01 ff cb 4f 57 41 08 24 18 30 30 b3 01 90 b0 47 83 44 8f 31 8f 43 7a e4 8e | Nj;]......OWA.$.00....G.D.1.Cz.. |
aa60 | e9 ab 79 40 14 45 f4 6f 4d 95 28 67 66 d7 ff ca eb 3e 76 f0 f8 4d 5f ba fd 68 7f 75 8c c6 4f 70 | ..y@.E.oM.(gf....>v..M_..h.u..Op |
aa80 | e6 9a 9c ca 7a 18 52 41 c6 b5 1b ac e1 5c 1f 4a 33 18 4b 9a c4 55 1a c0 48 0d 23 4a c5 74 e5 3a | ....z.RA.....\.J3.K..U..H.#J.t.: |
aaa0 | 41 db f2 79 09 4c 34 03 bc 18 03 a3 b6 8c 70 13 52 38 89 ce a0 49 a7 22 27 78 62 a8 82 a7 62 01 | A..y.L4.......p.R8...I."'xb...b. |
aac0 | 16 a8 6c 64 b2 62 2d 64 8e ce c1 60 dd 09 4b ee 31 04 49 f3 25 de 83 e6 de 60 68 63 49 99 9c 42 | ..ld.b-d...`..K.1.I.%....`hcI..B |
aae0 | 21 6d 46 68 1a 70 d0 44 11 c0 53 2a ea f7 18 c8 01 ea cc e7 02 6e 60 aa 4c 6a 1d 48 2b 97 2d 16 | !mFh.p.D..S*.........n`.Lj.H+.-. |
ab00 | 9b b8 1d 11 35 07 e3 63 01 b6 4e c2 52 4a 71 0c c1 6c 2f 49 44 18 18 37 f4 67 4f cf bc ef ec 0b | ....5..c..N.RJq..l/ID..7.gO..... |
ab20 | ef c8 ae 8d 5b dd e5 d9 34 ed cc 26 dd 85 bd f9 85 17 3e fa c1 eb 36 ee ec 26 65 67 4f 6b 7e 2f | ....[...4..&......>...6..&egOk~/ |
ab40 | 5f 38 5c 3e db e9 e8 a5 9a ab 61 f0 69 20 d0 9c d0 3e 0c 02 3e 2f 81 c0 30 ea 26 07 8e 7f 8d 01 | _8\>......a.i....>..>/..0.&..... |
ab60 | c7 20 90 40 65 00 76 29 04 86 71 f2 d4 4f bf 21 c4 a1 79 6d 26 42 36 2e 22 06 7b e6 2a 60 ae 08 | ...@e.v)..q..O.!..ym&B6.".{.*`.. |
ab80 | e6 95 84 ff 7c ef 5b 7f ee 1b e3 eb 85 05 61 a3 31 43 50 f4 d9 a6 87 a2 c1 95 5f c3 a7 3b 1b 29 | ....|.[.......a.1CP......._..;.) |
aba0 | 2b dd 28 cb 32 84 b1 ff e7 ec f0 35 77 2f ee 39 f5 e0 3d 2f 7e f4 de 9e ce 47 8e 55 62 9e 31 a2 | +.(.2......5w/.9..=/~....G.Ub.1. |
abc0 | 39 98 d7 03 15 da eb c1 60 7e 48 3a c2 25 ea bb 49 ea ac 70 56 e3 8b e1 aa 3c 18 27 61 8e 2a b4 | 9.......`~H:.%..I..pV....<.'a.*. |
abe0 | 14 be 96 03 dd 23 00 b1 d4 b6 62 c4 05 c1 90 ae 8d 98 34 b5 58 a1 c0 45 83 c4 d4 4c 6d eb 17 fc | .....#....b.......4.X..E...Lm... |
ac00 | 34 6d 27 b9 e1 bb 79 c2 38 09 34 68 70 b5 c2 e0 59 08 3b f8 a0 ea 91 34 14 05 49 a7 46 24 08 60 | 4m'...y.8.4hp...Y.;....4..I.F$.` |
ac20 | 89 41 b4 f7 6c 7e a2 a2 9a d3 3c a6 b0 fc 3b 6b 40 23 ec 07 05 c6 a2 af d7 ce 89 df 39 7b c3 6f | .A..l~....<...;k@#..........9{.o |
ac40 | 6d bf 78 1c 2f 2c f6 da dd 6e bb db e9 1c 68 8d 5e 32 fe e3 e7 0f 3e bb ff 60 bf f7 cd e9 cc de | m.x./,...n....h.^2....>..`...... |
ac60 | 76 7b 5e 24 dd 48 f3 e8 e9 01 e1 03 af 8d a6 71 f5 94 2d d3 0a 66 07 4f b0 00 84 1e 81 e6 5c a7 | v{^$.H.........q..-..f.O......\. |
ac80 | 6e 6a 18 e8 1a cd 1e 42 91 c9 66 4d 84 0c 53 50 1f 8e 6e ba ad 68 50 7c a6 5f 9b f9 29 4f d6 9f | nj.....B..fM..SP..n..hP|._..)O.. |
aca0 | 99 f2 46 f3 cc a6 ec 0c 31 66 70 68 62 5d c8 b0 31 0f f3 b9 b4 bf 0a 98 ac b8 c1 ec 33 2f 66 fe | ..F.....1fphb]..1...........3/f. |
acc0 | 4d 6f 7d 5a c2 60 23 18 12 08 43 62 8d 41 20 ad f6 b2 29 c1 52 ff 60 8f 55 5d 3f e8 61 a6 4a 94 | Mo}Z.`#...Cb.A....).R.`.U]?.a.J. |
ace0 | 49 ba f9 c2 97 df b6 ff e8 89 93 77 de bc fa 38 08 96 22 81 46 6a b0 af a0 66 a9 a2 cc 52 56 96 | I..........w...8..".Fj...f...RV. |
ad00 | cf 28 30 cd 35 5e 02 20 43 f3 54 15 af fb e2 69 61 26 fe e4 a0 5d 01 24 d0 18 ad c8 a4 f0 da 6d | .(0.5^..C.T....ia&...].$.......m |
ad20 | 3c c2 ed 57 2e 31 54 69 aa 1b 6b 6a 88 4e f3 5b 84 0b 87 be 90 a3 3c 14 ed 25 ca a1 53 1c f6 5e | <..W.1Ti..kj.N.[......<..%..S..^ |
ad40 | dd ae f0 d3 a4 16 27 ad 7a 3f 77 12 6f 94 52 2a 2b 84 c3 48 32 8b e3 af ef 56 4e 18 ab 13 dc 54 | ......'.z?w.o.R*+..H2....VN....T |
ad60 | c6 b2 01 9b 6c 30 d5 67 9f 9d ec 7f 48 1e fc eb 47 cf ed ed 9d 3e 30 93 ef 9f 19 ec e9 0e 17 3b | ....l0.g....H...G....>0........; |
ad80 | db 4b f1 86 ec 25 bc 35 4b 4f 5a 2a 61 4a cd 32 9b 5c 11 91 70 7a 70 6f 70 72 e0 1f be 9b 50 e4 | .K...%.5KOZ*aJ.2.\..pzpopr....P. |
ada0 | f3 d8 46 76 67 60 76 e8 9f 7d c0 3f 5e ce cc 87 68 31 18 f8 da ab 2f 53 94 36 62 af 0f 77 d4 92 | ..Fvg`v..}.?^...h1..../S.6b..w.. |
adc0 | 09 9f d9 a0 7d e1 cd 3f 1e ce 39 cd cb 78 f8 47 6f 08 9f c1 3c be 51 58 9a 5f e7 2f 32 93 f4 05 | ....}..?..9..x.Go...<.QX._./2... |
ade0 | 61 d8 a4 69 e4 a5 14 d3 58 20 09 e5 f1 36 fd a5 97 c9 08 1f 10 7e 69 e3 e4 d2 de 87 5f f6 ba 27 | a..i....X....6.......~i....._..' |
ae00 | 9e 78 f8 45 8f de 73 6c bc 9e 6b 96 93 05 b5 b3 7c 22 0b 40 44 0f d7 4e e8 9e a2 a2 a9 8b 14 3a | .x.E..sl..k.....|".@D..N.......: |
ae20 | e3 5a 8f fb d0 6d c2 9d bb e8 15 a5 cb 42 03 20 23 10 47 35 49 a6 16 9c f6 98 d0 f2 c9 04 46 7b | .Z...m.......B..#.G5I.........F{ |
ae40 | 9e 03 20 4b 4d 7e 9f a1 d1 60 dd d3 c9 86 29 e1 b6 87 ad a0 06 b9 66 c3 cb e6 de 88 14 2e 12 8a | ...KM~...`....).......f......... |
ae60 | 3c 73 68 ce e1 10 ee a6 8b 76 c4 af 5c 3c 74 0d 54 4c 44 b9 15 0d 40 d2 a9 41 72 3c c3 d3 25 2e | <sh......v..\<t.TLD...@..Ar<..%. |
ae80 | db fc fb 5b eb 3f 1a 7f 9a 27 50 3a c2 15 0a fe ad 30 d5 ae 12 1d 08 b9 05 fc a3 d2 d4 99 93 22 | ...[.?...'P:.....0............." |
aea0 | 36 59 49 a6 af 08 10 36 0e 13 85 c2 48 e5 4f f7 46 76 d7 c0 98 c1 e4 37 0c c2 f5 0f bd 37 fc d2 | 6YI....6....H.O.Fv.....7.....7.. |
aec0 | 60 2c 04 8c 79 1e 13 fd 42 8c 35 9e dc 3c 78 ff 3b de 1d f6 60 1a 61 d0 3c f8 69 e4 e8 35 68 6b | `,..y...B.5..<x.;...`.a.<.i..5hk |
aee0 | 84 3a 9f 52 b2 40 9e 94 39 79 28 7f fb f2 87 b2 6b 0d f6 f9 69 80 61 7e 46 7e ec fa cf ec 3d f4 | .:.R.@..9y(.....k...i.a~F~....=. |
af00 | d5 c7 1e 78 c9 d9 07 f6 14 23 ec 9d 32 8c 0a 76 8e cf e8 13 07 c8 d0 56 2b 9d b2 12 54 01 05 36 | ...x.....#..2..v.......V+...T..6 |
af20 | 2f 95 75 ed 64 b5 bd 44 bf f8 4a a4 30 80 58 89 ee 88 20 30 01 03 43 41 66 19 02 57 f1 50 8b 11 | /.u.d..D..J.0.X....0..CAf..W.P.. |
af40 | 67 13 60 01 a7 2b 36 b6 05 95 a8 11 12 28 fb c4 57 c9 99 72 46 1a c4 22 70 4e 4c 7e 3f d2 07 55 | g.`..+6......(..W..rF.."pNL~?..U |
af60 | 4c 43 71 4b 8b 48 73 4a 3b 31 7f 92 06 c0 7c 15 66 80 de 55 86 0c d5 50 19 80 11 f9 87 f3 0c af | LCqK.HsJ;1....|.f..U...P........ |
af80 | 1c 9c 5b fd 02 aa 8c 75 41 92 af d0 c5 31 f0 4b 95 7e 70 7d fe 33 e2 95 57 22 08 3d cf a6 d1 d2 | ..[....uA....1.K.~p}.3..W".=.... |
afa0 | 9c c6 6a 23 df 6b d4 6f 5f fb d4 a4 d1 34 6a dd f0 d2 e6 cf ba fe 96 f0 05 20 e3 b4 79 09 d8 7e | ..j#.k.o_....4j.............y..~ |
afc0 | f5 0f ec b8 5c 42 75 e3 d3 35 2a f4 9f 7d 0d e6 8f 10 6c 21 39 c6 3f 3e 4c 4a 43 4c 86 b7 fd 23 | ....\Bu..5*..}....l!9.?>LJCL...# |
afe0 | 7d 27 d6 ea d6 b4 da 1b 37 de f2 91 83 c7 8f 3c 7a df 8b 57 1e e9 41 d3 9e 95 cc 35 66 38 0a a2 | }'......7......<z..W..A....5f8.. |
b000 | 21 99 92 24 81 fd 5a 3b 51 a4 21 b1 64 e4 9e 4b 33 09 97 76 f2 ba 45 ae c3 a7 42 e6 0d cb 4b 89 | !..$..Z;Q.!.d..K3..v..E...B...K. |
b020 | de 9d b4 81 41 ea 2f 00 90 08 27 95 d4 3e a1 4c 55 db 16 68 38 81 67 d5 d4 d0 6f bd 87 5b b9 75 | ....A./...'..>.LU..h8.g...o..[.u |
b040 | 0a 5c c9 48 f8 91 38 b1 94 7f c2 97 92 57 d6 85 c2 ae d4 e3 3a a4 f6 ba 18 da 3b dd 70 b7 37 45 | .\.H..8......W......:.....;.p.7E |
b060 | 12 c9 7e 7a a2 a8 43 05 f7 25 b0 2f a2 4e 6d 75 3f 31 79 f1 c6 f2 8b 5a bd d9 67 8a 31 b3 23 90 | ..~z..C..%./.Nmu?1y....Z..g.1.#. |
b080 | fe 22 47 7e b6 d9 5c 7d ca 4d 0e 83 ae af a5 11 62 aa be e9 64 78 9a e9 16 82 70 fc d0 0e 08 37 | ."G~..\}.M......b...dx....p....7 |
b0a0 | c1 90 e6 9c cd 8e e8 5f 2c 11 bd 54 59 c8 82 5e 88 c7 db 8e 54 35 73 8f 41 d1 f4 bf 6d 2c d0 84 | ......._,..TY..^....T5s.A...m,.. |
b0c0 | 3c 6f 9f e8 fa 1b 76 2f 71 66 fe f4 0b 5f 75 7a f5 86 eb 4f dd 77 f3 fa 13 1d ae 26 ca 76 ff 45 | <o....v/qf..._uz...O.w.....&.v.E |
b0e0 | c4 3d a0 41 33 14 73 41 54 71 e2 d4 9a 84 5a 51 62 27 87 62 75 59 47 23 6b 38 16 3a 34 82 8f 29 | .=.A3.sATq....ZQb'.buYG#k8.:4..) |
b100 | 03 40 8a 12 77 7c 51 1b 0a c4 38 40 2f 10 c0 c9 23 22 c5 e1 12 86 0a d4 34 bc 2b 70 93 79 d6 e4 | .@..w|Q...8@/...#"......4.+p.y.. |
b120 | 9d 55 e2 70 9e 95 86 76 8e 5e d9 ca cd 23 b9 df c3 b7 51 54 07 0b 87 da 2a f2 17 f6 9f 7b 60 c2 | .U.p...v.^...#....QT....*....{`. |
b140 | c5 c3 a4 d9 11 4f a5 2e 46 c5 83 ab b3 9f cb 5e b0 39 7f 63 ba 77 21 c6 87 3e b3 dc d1 a7 77 c8 | .....O..F......^.9.c.w!..>....w. |
b160 | f1 94 b1 f1 29 ff c9 5f e4 61 8d 46 ce 8e d3 8e 46 a7 94 c2 e0 d3 9b 88 86 35 e1 8e c5 e1 f4 77 | ....).._.a.F....F........5.....w |
b180 | 1b 4f d2 68 b4 86 4f 12 ce 21 77 04 24 41 91 2f ef 3b b9 b8 e7 d1 0b 67 9f 77 ea 4b 37 6e 9f 4d | .O.h..O..!w.$A./.;.....g.w.K7n.M |
b1a0 | b8 9e 58 39 50 7b 2a 4b 1b a5 10 18 36 47 c5 27 10 6e cf 01 46 08 92 3a a5 40 94 53 3a 8c 4d 0d | ..X9P{*K....6G.'.n..F..:.@.S:.M. |
b1c0 | ab 23 11 2c 0d 6b 20 d5 95 2a 2f 15 88 a3 99 2a 8b 04 85 b9 b9 04 40 fa 2a 9c 1b 35 69 dc 93 b0 | .#.,.k...*/....*......@.*..5i... |
b1e0 | 8d 08 e3 2d af d9 92 86 51 92 55 4a fa 61 30 84 37 05 53 53 88 65 a5 ed cd 40 93 56 a8 6a 4d d9 | ...-....Q.UJ.a0.7.SS.e...@.V.jM. |
b200 | 72 59 b5 d5 ec 70 e2 a2 90 4e 0b 91 c4 2c d6 6a 73 5b 7f 7e 6d f9 cb fa a6 ed b9 13 e9 9e 99 08 | rY...p...N...,.js[.~m........... |
b220 | af 44 71 1c 47 51 74 25 a6 a3 57 e9 61 90 b9 3a 35 18 34 89 6e 38 be 7f 86 58 6c be 32 0c d1 15 | .Dq.GQt%..W.a..:5.4.n8...Xl.2... |
b240 | 06 ba 69 c4 fa 2f e9 df fa 3b c3 dd 28 1a 5a 00 9f 06 db ad 34 d6 07 c9 36 d0 6a 63 6a ff 91 fb | ..i../...;..(.Z.....4...6.jcj... |
b260 | f7 1c 3c b9 72 e6 c6 33 f7 3f 6f fb 6c 1b a1 e8 9d 5d 68 bf 0f a7 17 0a 3b 29 06 69 90 52 02 6f | ..<.r..3.?o.l....]h.....;).i.R.o |
b280 | 06 7f 02 c5 cf c8 a0 b1 25 ad 98 44 01 e1 11 5d 29 e8 29 aa 2e 4b 25 85 c8 2a 1d 1a 66 3d e8 e1 | ........%..D...]).)..K%..*..f=.. |
b2a0 | e5 a8 dc 36 63 04 36 75 e0 46 2c 5c a9 e8 97 94 1a fe 12 ce e4 89 d5 76 85 59 68 e2 5b 7d 57 84 | ...6c.6u.F,\...........v.Yh.[}W. |
b2c0 | 74 1a 57 6e fa a5 47 0c fb 50 c1 4a 54 37 86 db 71 04 5c ed 6c 54 3c 7c ae 75 f7 e0 d8 a9 f4 06 | t.Wn..G..P.JT7..q.\.lT<|.u...... |
b2e0 | b6 b0 2f 4a 12 6a 33 45 e1 b1 0b 9e a7 eb 38 f3 2f 6f dd 31 42 9a d8 f8 34 2a 7a f8 9a cd 03 a9 | ../J.j3E......8./o.1B...4*z..... |
b300 | 11 00 1b 41 cc e3 8a ed c4 3b 0d b1 e7 a7 f9 7e a6 4f 92 6d 14 00 7d f7 35 5c db 07 28 1e 3c 76 | ...A.....;.....~.O.m..}.5\..(.<v |
b320 | df de 43 27 2f 9e bd ee cc fd 37 f6 cf 75 58 99 69 5e fa a8 8b 9e 2f de 89 13 a2 5e 46 12 15 f0 | ..C'/.....7..uX.i^..../....^F... |
b340 | 5c 38 58 c7 36 26 ca 71 b2 16 0e eb 81 18 8d 80 b4 2a a2 55 dc e2 36 2a 92 6a b0 ae cc d8 ec 67 | \8X.6&.q.........*.U..6*.j.....g |
b360 | 6d e5 a4 4a 94 d0 2f 6d 44 b5 11 98 76 7e 83 7e 8c f6 bb 51 5e fd cd 15 a9 dc ed 40 f1 4a d6 ca | m..J../mD...v~.~...Q^......@.J.. |
b380 | 92 42 31 e7 e1 82 2e 25 d0 01 86 f4 d8 02 4f 40 3b 14 96 96 b9 ce c6 ea d4 4a fa e5 fe be 47 d8 | .B1....%......O@;........J....G. |
b3a0 | b1 61 f7 50 b4 af e7 2f 76 c4 8e 30 9f 29 0c c2 e7 ab e5 14 9f 2e 32 6f ba ad 78 e6 fa 40 53 51 | .a.P.../v..0.)........2o..x..@SQ |
b3c0 | 6e e3 32 4d 20 9a 5b 5c 26 3d 3e f7 8b 7f b7 c1 29 7d da e3 61 a3 49 e3 a1 45 a2 18 ec d2 6b 87 | n.2M..[\&=>.....)}..a.I..E....k. |
b3e0 | 97 21 b5 79 e0 91 4a 0d dd 30 cf 46 81 91 6e d3 e5 a0 3c 70 ec 81 7d 47 4e ae 9e 3f 7e e6 81 9b | .!.y..J..0.F..n...<p..}GN..?~... |
b400 | b6 9e 98 67 19 0d 33 a8 c5 cf 1d cd 4d 3a 8a 09 6a a7 96 c8 0a 87 a0 21 23 d4 3a 8c 50 d6 29 66 | ...g..3.....M:..j......!#.:.P.)f |
b420 | a8 8f eb 6c 18 73 a8 1d 31 c1 d4 95 b7 0c b7 ec b6 4a 00 8a 59 9d 0b ee 04 11 9d d2 8c 76 5b 85 | ...l.s..1........J..Y........v[. |
b440 | c2 ce f7 82 5d 61 87 40 af 9e e8 9c e2 ac f5 37 7e c9 11 63 fe 43 b8 cf c2 ba 2f 9a d8 9e 44 90 | ....]a.@.......7~..c.C..../...D. |
b460 | 5f 9b 57 b8 31 14 0f 6c 76 1e 1e ef 7d 9c 1d 1a a7 7b e4 e2 0c 11 20 7c 5a 41 f0 8b 1a c7 d5 02 | _.W.1..lv...}....{.....|ZA...... |
b480 | c2 e9 8e a5 c9 f4 9e 96 a5 c4 e9 67 36 70 6a 14 72 8d e6 4d 63 b0 89 8c d3 77 36 9a a5 61 a7 14 | ...........g6pj.r..Mc....w6..a.. |
b4a0 | 47 fc bf f0 4c 2c 70 85 81 31 8c 6c fe bb e6 42 1b c6 bd 4b ad 5c 4c 33 51 e9 a4 f1 37 3c 14 49 | G...L,p..1.l...B...K.\L3Q...7<.I |
b4c0 | 35 83 ee 09 35 6f e0 e7 ed 3d f8 c8 9e 03 8f 6c ad 1f 38 77 f2 c6 b5 47 0e 16 7d 30 9c d1 81 ae | 5...5o...=.....l..8w...G..}0.... |
b4e0 | a7 55 9f c1 48 c3 75 41 bb bb 45 91 17 56 45 d4 f6 5d 88 95 16 89 28 89 78 2b 26 e5 1a f8 41 05 | .U..H.uA..E..VE..]....(.x+&...A. |
b500 | 30 65 b0 09 4c 9a 31 9a 2e 3e 01 38 2b 0d 5f 67 47 c3 bd f3 8c 1d f0 11 09 c6 5e a4 ac 23 8d b5 | 0e..L.1..>.8+._gG.........^..#.. |
b520 | 70 f3 76 8d 82 e2 27 7c d7 dd 49 26 4a 56 0a 59 82 5a 1d 6a ea 28 d6 cf c4 23 6b ad c7 87 f3 8f | p.v...'|..I&JV.Y.Z.j.(...#k..... |
b540 | a9 7d 6b 62 59 77 16 a2 85 96 c0 75 66 ff 4e 9a cf e6 0f e1 71 e8 23 a1 fd f2 ea 01 e1 2d 8d f5 | .}kbYw.....uf.N.....q.#......-.. |
b560 | fc c1 1d b7 cd bf f9 c4 8e b5 d9 d7 d5 8d 34 cf 4c d4 9c 10 72 4d 10 d6 db a1 e1 5a 30 05 ba c6 | ..............4.L...rM.....Z0... |
b580 | 73 ee 7d eb cf 99 27 ac 71 f1 9e ee a4 b4 51 f2 f9 04 95 2e ba fe 5b e6 4f ec 53 ca b0 86 0c b7 | s.}...'.q.....Q.......[.O.S..... |
b5a0 | 99 e8 44 01 96 0c 9e 13 74 23 c4 1e dd 49 01 d0 a7 a3 1e 84 5e 99 9f 3e f3 c5 3d 17 16 f7 9c 1b | ..D.....t#...I......^..>..=..... |
b5c0 | bc 68 f6 c2 a9 eb 57 1e 3a 31 3c df e6 b0 54 50 b8 41 1e ce ab c5 85 b8 b7 90 0f e6 78 51 6a 9e | .h....W.:1<...TP.A..........xQj. |
b5e0 | e3 7a 21 35 72 0c d2 0a ed cd 0c 89 08 8a 4b 18 31 87 a5 a9 94 46 00 b4 94 58 3a c3 16 cc 06 25 | .z!5r.........K.1....F...X:....% |
b600 | 42 4d 58 42 99 a8 e4 67 ec b3 b9 62 0f 39 aa 82 57 06 e0 76 fc 20 08 63 dc 79 00 d8 4a 4f a2 93 | BMXB...g...b.9..W..v...c.y..JO.. |
b620 | a7 04 22 01 0d 42 86 b9 5c 1d c4 a7 47 9d 15 b5 70 5a 2d 6e 8a 79 d5 9e e7 b3 2d 78 f7 82 f9 ad | .."..B..\...G...pZ-n.y....-x.... |
b640 | ac 1f 04 bc ab 1b 84 34 43 0f 03 ce ca 7b df 69 c0 d0 08 86 40 6d fb 77 6f fb 7a f7 86 1b 5d cd | .......4C....{.i....@m.wo.z...]. |
b660 | f5 0f bd 37 fc e7 26 88 35 8a bd 90 50 6e fe 61 63 26 69 fe ad 79 55 7b df fa 6f 1f 7d db cb 9f | ...7..&.5...Pn.ac&i..yU{..o.}... |
b680 | b9 a4 74 ba 38 6c 94 88 8d e0 e6 c1 46 d1 2c 0c 77 fe 20 e5 0b ba d1 88 81 be 1a 24 4c 96 f5 c3 | ..t.8l......F.,.w..........$L... |
b6a0 | 23 d0 df 88 ba 33 e3 99 17 de 7d e4 c6 fb d6 57 f6 af 3c 7c ed c6 e3 07 f3 ad 48 40 60 2c 81 a6 | #....3....}....W..<|......H@`,.. |
b6c0 | a6 86 69 f7 f3 fb 5e 98 e6 e3 13 db 4f 1c 9e ac cf eb 0c e8 01 8a c3 03 48 ef 13 f9 38 30 96 cf | ..i...^.....O...........H...80.. |
b6e0 | f1 7b 8c 39 54 08 80 a5 60 76 00 02 17 18 30 4e 92 ca c4 28 65 a7 7a a4 20 4c 32 36 44 6c 11 f6 | .{.9T...`v....0N...(e.z..L26Dl.. |
b700 | 29 04 ca ef 5a 3b 61 81 3d 4c 92 6c 93 8c 5c 6a 18 27 d7 0d 88 a6 65 c1 46 13 d1 2f e3 8b 59 6b | )...Z;a.=L.l..\j.'....e.F../..Yk |
b720 | 43 75 d6 f8 ec 0a 9b dd e4 33 45 d2 55 ad 19 22 da 59 93 45 f7 56 13 ae a6 df 5e 8f bd ab 38 1d | Cu.......3E.U..".Y.E.V....^...8. |
b740 | 35 c7 fc 9b de 1a 32 57 cc 8d 47 df f6 0a 73 27 c5 a5 fc ec 23 26 f2 50 12 88 f9 e4 d7 11 76 1a | 5.....2W..G...s'....#&.P......v. |
b760 | cf 8c fa 88 2f 5f 78 d3 5b e3 83 27 1a dc 51 8f 31 9f b8 86 9c 55 3f a8 a0 00 3b ff e6 b7 86 2c | ..../_x.[..'..Q.1....U?...;...., |
b780 | 9f 67 22 29 9d e6 76 87 f3 43 3f 78 f0 b7 1b 9b be 8d e4 33 2c ff 7c e1 17 0a 0a 13 fc 0c 44 43 | .g")..v..C?x.......3,.|.......DC |
b7a0 | e5 c5 30 29 f5 20 a4 8a 0e 7e c6 fe 23 2b fb 8f 9c 1d 0d 3a 6b e7 0e 5d 78 f8 d8 d6 99 bd 6a 60 | ..0).....~..#+.....:k..]x.....j` |
b7c0 | 82 ca 37 8d cf cd 9f df fc d4 81 97 7e e6 c8 77 f1 f1 a0 b7 bd 72 a8 7f 7e df e0 e2 de 6c 73 56 | ..7.........~..w.....r..~....lsV |
b7e0 | e6 0c 49 39 b0 7d 8f 13 81 6a 9a 60 5d c2 c9 78 93 f6 30 ac 5a 2a b5 6d 4c 05 d6 92 48 16 10 cc | ..I9.}...j.`]..x..0.Z*.mL...H... |
b800 | 4b 4e 31 a7 32 6c c2 a9 26 cb 27 67 af 38 31 e9 b0 41 b1 88 c6 5a 8e b4 18 72 39 e4 ed b1 68 6d | KN1.2l..&.'g.81..A...Z...r9...hm |
b820 | cb ee b6 e8 6c b2 76 19 b7 0d e4 8a 6e 9b 09 9b 9f 5b d4 05 d9 26 65 1f fe cd 24 10 fa 2c d4 7c | ....l.v.....n....[...&e...$..,.| |
b840 | 97 1a 30 d3 80 bc fa 46 14 d3 ec 30 9c 0a fc 42 03 06 df 40 d8 31 cf bc f7 c7 7f 2e 64 87 1b c0 | ..0....F...0...B...@.1......d... |
b860 | 9c 3b f9 b6 1d 73 57 4f 7f 31 3f dd 44 dd 66 22 fa e3 3f e7 93 e1 e5 5b 7f aa a1 35 fc f4 26 a5 | .;...sWO.1?.D.f"..?....[...5..&. |
b880 | 97 4a 4d fd 67 5a 98 b0 bd 13 6a 66 22 30 7c 60 f4 21 d1 af 53 84 a1 2f c4 a1 2f 02 a9 31 e3 e5 | .JM.gZ....jf"0|`.!..S../../..1.. |
b8a0 | 4c 1b 52 a8 3e 18 7a f6 29 01 32 e9 ce 94 bd d9 c7 0e 5f ff c8 60 bb b5 7e 6e df fa 13 87 37 cf | L.R.>.z.).2......._..`..~n....7. |
b8c0 | 1e 52 9b ff db 93 9f bc 77 f5 81 cf 1d b8 65 7c f0 86 c7 a3 9b 1f 9a 8c c5 f6 7a 7b b8 6e d0 b8 | .R......w.....e|..........z{.n.. |
b8e0 | 3c b8 b0 9c 0f 16 8b 61 cc 81 cb a2 18 2b dd 4a 71 45 8c 09 3c 57 90 70 c6 9f 8c 67 4f ce 1c 91 | <......a.....+.JqE..<W.p...gO... |
b900 | 65 c1 03 55 51 7b 98 50 99 b3 71 9c 66 3c 31 09 69 5f b6 32 13 2b e3 c8 40 53 47 e6 23 29 44 5c | e..UQ{.P..q.f<1.i_.2.+..@SG.#)D\ |
b920 | 82 5f 87 6c 94 ca 70 86 b8 09 ea 74 39 1d 16 7e be 90 26 28 ee 98 8e 36 22 e1 d5 d4 1d ad f2 c0 | ._.l..p....t9..~..&(...6"....... |
b940 | 7f f6 81 27 7f f1 6d 97 92 f1 f5 dd 4b 93 0d 7e 7d 61 16 57 81 2f bf cd 04 a4 d6 60 8f c9 bc 8c | ...'..m.....K..~}a.W./.....`.... |
b960 | a9 ad f9 d7 86 2b c5 d3 8b 4e cf 50 a7 34 0c 77 0d 52 5b c8 4d a3 48 48 90 a3 8b b7 c7 9e 4f 38 | .....+...N.P.4.w.R[.M.HH......O8 |
b980 | 43 ec 51 d0 6b 94 82 0d 6d ef 30 06 36 6e 37 a2 22 e1 3f 9a 5b d0 f3 8b 4f 1e 7f fe 19 83 b7 8d | C.Q.k...m.0.6n7.".?.[...O....... |
b9a0 | 0b b3 1b 67 0f af 9f 7a ed 99 cf ad af 7e e5 ab f3 d7 6c 2c 1c d2 4b fb b3 a5 fd a7 b4 7e 4c 29 | ...g...z.....~....l,..K......~L) |
b9c0 | 39 1a c8 e1 e6 fc 70 6d 69 b4 36 37 5a 5f 2a 87 33 6a d4 e1 0a 39 d5 dc ee f2 79 11 18 ac f1 16 | 9.....pmi.67Z_*.3j...9....y..... |
b9e0 | f4 b0 df 9e db 38 78 13 5d 68 1a 6c d8 e9 79 a9 0a f2 88 c8 7a 33 ee 30 c5 09 6f 4c 77 b6 42 ec | .....8x.]h.l..y.....z3.0..oLw.B. |
ba00 | 79 a4 85 38 f4 8d 19 ba d3 1f df 78 4d 28 7b 0b 5f 2f 0b a4 f1 4f 1a 0d c9 cb 7f 77 1a 87 ed 1b | y..8.......xM({._/...O.....w.... |
ba20 | 6e b9 f8 81 77 35 f8 dc fe bc 9f 5e ae ff 1a 9f df fc 2b f3 ad cb 6c d6 87 6a f9 a0 d3 b1 bd de | n...w5.....^......+...l..j...... |
ba40 | 78 1f a6 91 6f 92 4f 7a 64 78 a7 79 e5 4f bb 00 f9 8e 25 a2 df 75 a2 35 0b 8f 8d 50 06 ca ef fe | x...o.Ozdx.y.O....%..u.5...P.... |
ba60 | fa f1 83 ef d0 50 fe 19 a6 a3 61 00 a4 6d 29 af 2f dc 68 cf 84 50 0c 37 36 fc 8d a8 d5 16 07 af | .....P....a..m)./.h..P.76....... |
ba80 | 19 1e bc e6 81 f2 15 6a 32 8a 36 2e c4 c3 cd c3 a3 8b db 93 fe f6 dc 3e 13 9a e0 14 9f 9d e7 f3 | .......j2.6............>........ |
baa0 | 8b 9b ec f8 3a ee de ca f1 40 8c b6 e3 f1 f6 52 b6 39 37 de e8 0c b7 7a 7a dc d3 79 47 67 29 3a | ....:....@.....R.97....zz..yGg): |
bac0 | 8e 19 3c cd f2 f2 7f 5d fb cc 5d 5b 0f df bf 74 f3 60 ee 40 99 b6 7d 96 30 ad fe d8 c8 db 43 e6 | ..<....]..][...t.`.@..}.0.....C. |
bae0 | 83 ff 3c 0d bf 1d 63 60 88 40 5f 13 4e 83 30 8c 8a e6 1e 7a cc 55 6c 08 63 ce ec f1 43 77 fa e1 | ..<...c`.@_.N.0....z.Ul.c...Cw.. |
bb00 | 01 20 6d aa 4f f3 8d 1d 5f af c6 cc 15 75 e8 9a 01 6d 45 d7 a6 98 10 e2 81 92 c6 46 3e 19 46 b9 | ..m.O..._....u...mE........F>.F. |
bb20 | 1d a3 df f4 97 0d ec 35 e0 17 7e 19 82 30 dc 9c f2 27 3d 74 86 8a bc b2 02 0d 96 21 fd 65 85 a2 | .......5..~..0...'=t.......!.e.. |
bb40 | bd 95 0b c8 27 22 1b 99 0f 96 4f a2 62 32 53 8e 22 5d 76 b2 7e 5c 16 5a c8 7e 67 71 ad b3 dc 9f | ....'"....O.b2S."]v.~\.Z.~gq.... |
bb60 | db e7 a6 ec 3b f0 63 1b 08 f4 c0 f3 4d ce cb 83 30 0c 80 fe b3 af 09 1b e9 a8 2f b6 c3 a4 54 ec | ....;.c.....M...0........./...T. |
bb80 | 5a a3 fd a5 3c 1a 5b 14 ac be c4 c4 ea b6 db 21 0e 43 1b e0 d0 08 71 da d6 e2 52 35 a1 ed 9b ec | Z...<.[........!.C....q...R5.... |
bba0 | 14 06 e9 61 f4 d3 7d d1 18 be 1e 16 2c 5e 35 36 3c 58 b0 23 12 fe 5e 0d 06 42 03 b4 48 13 2f 9d | ...a..}.....,^56<X.#..^..B..H./. |
bbc0 | 1f 22 6b 24 a2 fe cb 10 72 8d ae f2 8e 34 86 cb 83 b0 31 5c 9d 8e 84 8d 08 b9 4b 5b fb cb 79 84 | ."k$....r....4....1\......K[..y. |
bbe0 | 8b 4b e1 d9 16 a6 a6 3e 11 a5 a4 94 6a 45 af 49 e3 7b 30 b4 7d 1f 22 90 84 33 fc 77 9f 32 17 f5 | .K.....>....jE.I.{0.}."..3.w.2.. |
bc00 | b7 7d ec 0d 23 e1 a5 b6 8a d9 4e 9b 90 3b 5e 5f 9e f2 7d d8 b1 65 d5 88 81 ac 4e 9a 85 c4 4a ca | .}..#.....N..;^_..}..e....N...J. |
bc20 | 1d 49 0e 3b 22 70 47 10 36 c0 d6 88 87 bb 20 fc 9f 17 8a 61 17 a7 a1 9e 18 46 45 3a 39 1a e3 07 | .I.;"pG.6..........a.....FE:9... |
bc40 | b2 3a 9c 0e 95 a1 4d cd 74 0a 1a a2 b1 b1 d4 ef 13 d4 70 a5 38 bc e1 03 e0 74 8e fd b5 80 70 ba | .:....M.t.........p.8....t....p. |
bc60 | 13 d3 40 63 03 81 0d 28 4e 93 69 a9 9b d5 18 48 4c 83 70 c7 a8 18 de f0 45 a3 7d da dd 74 f4 7f | ..@c...(N.i....HL.p.....E.}..t.. |
bc80 | aa 04 d5 87 94 46 8e 1a e2 a1 91 a9 36 e6 0d 3b f6 42 43 28 7a 24 3f 65 4d 18 c2 72 c7 48 d8 b8 | .....F......6..;.BC(z$?eM..r.H.. |
bca0 | 3d fd 2b fc ff ec 9d db 6e c3 30 0c 43 d5 fd ff 3f 6f 18 32 08 2c 49 29 e9 05 db c3 c8 87 c2 4d | =.+.....n.0.C...?o.2.,I).......M |
bcc0 | 53 37 1b 72 42 5b 72 14 fb 37 da 3b 2a 6b b8 95 c4 96 90 6c 1a 89 bd 8e 85 76 43 51 24 33 c4 57 | S7.rB[r..7.;*k.....l.....vCQ$3.W |
bce0 | 7d 1b 08 ff f5 44 91 bc 85 30 20 1a 11 1b bb 3e a6 8d ae 77 40 14 91 61 1c 7f 1e 5b fa d7 71 8a | }....D...0.....>...w@..a...[..q. |
bd00 | 88 77 fa 93 37 4e 93 5e eb 7e d3 58 94 1a ea 84 3a 0a b5 ab db 9b a8 5e a2 6d e7 8a d8 68 a4 03 | .w..7N.^.~.X....:......^.m...h.. |
bd20 | 61 50 ac 92 8a 18 7d ba 4f c6 d8 6f c9 eb 68 7b 53 47 24 6b 3f c7 cf 1d 01 1b bc 0a 68 30 49 2f | aP....}.O..o..h{SG$k?.......h0I/ |
bd40 | 1c a7 33 c3 1d c2 c9 09 35 2b 68 07 a5 cb fc 50 f9 c4 36 f9 ea ed 76 0b 84 01 d2 94 45 d4 ca 6b | ..3.....5+h....P..6...v.....E..k |
bd60 | d3 eb 92 09 5c c6 a2 14 0e 45 f2 a9 ea 54 49 51 9c 25 08 3c b1 87 85 3f d0 f1 e8 ee 13 cb 21 31 | ....\....E...TIQ.%.<...?......!1 |
bd80 | 43 10 e2 2c b1 77 e8 b6 06 57 a9 c3 9f 23 09 84 e1 b0 86 ec a2 26 0c a6 c0 a6 8e 5a 15 39 35 40 | C..,.w...W...#.......&.....Z.95@ |
bda0 | ed 87 5c d1 86 67 ae 07 48 6d 09 8f 72 b7 3e 4f f8 a1 0d 5e 4c 5a d8 6f 61 bb ee eb 21 7c c7 69 | ..\..g..Hm..r.>O...^LZ.oa...!|.i |
bdc0 | 72 22 26 82 8a 27 b4 7d be 2f e6 36 d0 ac 1a 18 8d ac 74 bb 81 a4 51 ae cd 13 16 d4 6b 54 3f 9c | r"&..'.}./.6......t...Q.....kT?. |
bde0 | 26 b4 2f 46 47 ed ea 19 0c cf 2c 44 4d 3b d0 77 f1 2d fd 50 55 c5 09 a3 d1 15 6d 4a c0 0e 1d ed | &./FG.....,DM;.w.-.PU.....mJ.... |
be00 | 20 76 d9 48 91 18 b5 5c 9b 2a 54 33 7c 05 c2 1a 0a 7f 68 a2 c2 a6 2e 76 f3 d4 70 eb f2 1c e5 40 | .v.H...\.*T3|.....h....v..p....@ |
be20 | 18 79 1a f5 c4 b0 61 92 cf 07 85 00 93 8b 6a 66 02 57 c9 ec e1 99 e7 20 b4 cf 18 57 ea b0 d4 32 | .y....a.......jf.W.........W...2 |
be40 | 55 a0 db b7 7b df d3 41 72 20 8c 1e 45 91 60 40 13 b3 14 59 14 11 48 ea 87 3a c1 ce 7b dd 4f c9 | U...{..Ar...E.`@...Y..H..:..{.O. |
be60 | 6a 75 ca 13 da b5 ec 3a 39 c4 50 4d ef b9 a7 31 4e 9f 5b 3e 85 61 ed 05 22 10 46 57 81 9c f2 e3 | ju.....:9.PM...1N.[>.a..".FW.... |
be80 | 9a fa 47 24 a6 b5 2f 7b ee e1 74 91 da 15 33 3c ce ed be 9d 72 b2 47 b5 c4 9a 33 19 e5 96 7d 97 | ..G$../{..t...3<....r.G...3...}. |
bea0 | 4b 3f 92 f7 ea b1 dd 85 70 03 61 f4 f4 8c 71 72 48 f4 2b 85 4a 19 b3 66 b8 43 68 cb ab 2e a1 51 | K?......p.a...qrH.+.J..f.Ch....Q |
bec0 | 7b f6 4f 43 56 3b 79 b3 21 2b b4 d0 a5 e0 f2 fe 69 20 8c de 4c a3 7e 6a 6f 80 38 35 37 b5 5f ad | {.OCV;y.!+......i...L.~jo.857._. |
bee0 | db 4f 4f aa 3a 85 b0 86 55 dd 25 c5 b2 2c 6f 16 e6 6e ef 87 31 1d 4f 20 8c de 89 e5 95 4f f7 65 | .OO.:...U.%..,o..n..1.O......O.e |
bf00 | 9f d7 7b be 92 21 b4 d5 77 9e 00 55 37 22 b1 57 3a 3c 89 1e 05 c2 28 fa 5b 7d e4 5f 10 45 81 30 | ..{..!..w..U7".W:<....(.[}._.E.0 |
bf20 | 8a 02 61 14 45 81 30 8a 02 61 14 45 81 30 8a 02 61 14 45 bf af 2f 01 06 00 82 ab dd 13 ba a4 c1 | ..a.E.0..a.E.0..a.E../.......... |
bf40 | d2 00 00 00 00 49 45 4e 44 ae 42 60 82 50 4b 03 04 14 00 00 00 00 00 f1 4b 18 3b ea d7 4d 69 f2 | .....IEND.B`.PK.........K.;..Mi. |
bf60 | 69 00 00 f2 69 00 00 21 00 00 00 63 6f 6e 74 65 6e 74 2f 62 72 61 6e 64 69 6e 67 2f 61 62 6f 75 | i...i..!...content/branding/abou |
bf80 | 74 43 72 65 64 69 74 73 2e 70 6e 67 89 50 4e 47 0d 0a 1a 0a 00 00 00 0d 49 48 44 52 00 00 01 2c | tCredits.png.PNG........IHDR..., |
bfa0 | 00 00 00 8b 08 06 00 00 00 db 13 a4 97 00 00 00 19 74 45 58 74 53 6f 66 74 77 61 72 65 00 41 64 | .................tEXtSoftware.Ad |
bfc0 | 6f 62 65 20 49 6d 61 67 65 52 65 61 64 79 71 c9 65 3c 00 00 69 94 49 44 41 54 78 da ec bd 07 b8 | obe.ImageReadyq.e<..i.IDATx..... |
bfe0 | 24 57 79 26 fc 56 e8 dc 7d fb e6 30 39 68 b2 c2 8c 22 20 14 00 61 c0 06 81 41 ac 01 c3 12 7e db | $Wy&.V..}..09h..."...a...A....~. |
c000 | eb bc 98 f5 63 7b ff fd 8d 71 00 63 d6 06 e3 b5 0d bb 60 63 5b 24 63 30 c1 98 8c 84 25 14 91 50 | ....c{...q.c......`c[$c0....%..P |
c020 | 9c a0 91 26 c7 9b ef ed dc 15 f7 fb be 73 aa ba fa ce 80 f1 b3 ff 1a 34 aa 33 3a aa ee ea ea 54 | ...&.........s.........4.3:....T |
c040 | b7 ce db ef 97 de cf 08 69 20 1d e9 48 47 3a 9e 06 c3 4c 4f 41 3a d2 91 8e 14 b0 d2 91 8e 74 a4 | ........i...HG:...LOA:........t. |
c060 | 23 05 ac 74 a4 23 1d 29 60 a5 23 1d e9 48 47 0a 58 e9 48 47 3a d2 f1 ff cf b0 d3 53 90 8e 1f 64 | #..t.#.)`.#..HG.X.HG:......S...d |
c080 | 9c 3c 33 8b c3 47 4f e3 c8 89 33 38 71 6a 1a a7 ce cc e1 ec ec 02 e6 e6 97 b0 b8 5c 47 ad d1 42 | .<3..GO...38qj.............\G..B |
c0a0 | ab d5 81 e3 ba 72 7c 36 93 41 b1 98 c7 40 b9 88 a1 6a 05 a3 23 83 98 1c 1b c6 ea a9 51 ac 5d 3d | .....r|6.A...@...j..#.......Q.]= |
c0c0 | 81 8d 6b a7 b0 69 c3 2a ac 99 1a 4b 4f 6e 3a 7e e0 61 a4 69 0d e9 58 39 1c d7 c3 43 8f 1d c4 c3 | ..k..i.*...KOn:~.a.i..X9...C.... |
c0e0 | 8f 3f 89 47 f7 1d c2 de 27 8e 60 ff 53 27 d0 76 42 18 99 02 ac 6c 09 56 7e 00 56 61 10 56 26 07 | .?.G....'.`.S'.vB....l.V~.Va.V&. |
c100 | 3b 57 80 69 67 65 1a 96 05 c3 30 c0 97 55 18 f8 08 7d 1f 9e d7 45 e0 76 e0 bb 2d 84 ce 22 7c a7 | ;W.ige....0..U...}...E.v..-.."|. |
c120 | 0d bf bd 8c 6c e8 61 fb 86 29 ec da b6 11 97 ee dc 8c dd 17 6f c1 9e 4b b6 12 d8 a5 bf a3 e9 48 | ....l.a..)..........o..K.......H |
c140 | 01 2b 1d df 67 9c 99 9e c7 5d f7 3f 86 bb 1f 78 1c f7 3f b4 0f 8f ec 3f 0e 33 4b a0 54 1c 42 a6 | .+..g....].?...x..?....?.3K.T.B. |
c160 | 34 8a 0c 83 93 9d 21 40 32 61 1a 26 ac 72 1e a5 f1 32 81 55 06 f9 52 06 b9 e1 12 ed 37 04 ac f8 | 4.....!@2a.&.r...2.U..R.....7... |
c180 | 1f dd 00 6f 08 e2 e0 74 7c d0 a3 98 ba 6a 3d 16 5b 2e 5c 37 80 ef 05 70 3b 0e 1a a7 4f a1 7e ea | ...o...t|....j=.[.\7...p;...O.~. |
c1a0 | 14 16 f7 ed 45 8b b6 3b 57 0f e3 ea 3d 3b f0 9c 2b 2f c6 b5 57 5f 82 a9 89 91 f4 8f 93 8e 14 b0 | ....E..;W...=;..+/..W_.......... |
c1c0 | d2 01 34 5b 6d 7c f3 ce 07 71 db b7 1f c2 ed 77 3f 84 c3 27 97 08 a0 08 9c 4a 63 c8 12 50 99 c4 | ..4[m|...q.....w?..'.....Jc..P.. |
c1e0 | 96 4c d3 44 7e 28 8f f2 9a 21 94 27 aa a8 4c 55 51 a2 fb d9 7c 16 d5 1c 4d da d2 21 58 55 29 6a | .L.D~(...!.'..LUQ...|...M..!XU)j |
c200 | b0 82 06 2c c0 a2 39 99 b3 31 94 cf a0 e3 87 70 e8 52 ab bb 3e da 74 c5 2d 76 3c cc b6 3c 2c 35 | ...,..9..1.....p.R..>.t.-v<..<,5 |
c220 | 5d cc 36 5c d4 9a 9e 80 d8 f2 f1 e3 98 be f7 bb 58 da ff 28 d6 8f 16 f0 bc 67 5f 8a e7 3f 77 0f | ].6\............X..(.....g_..?w. |
c240 | 5e 70 dd 15 28 15 0b e9 1f 2d 05 ac 14 b0 9e 69 63 df c1 a3 f8 f2 6d f7 e2 ab b7 df 8f bb 1f 3a | ^p..(....-.....ic.....m........: |
c260 | 4c a6 1d 83 d4 04 32 f9 0a 81 94 89 6c ce 44 81 80 69 60 e3 28 aa 9b c7 08 a0 2a 18 2c e4 b0 76 | L.....2.....l.D..i`.(.....*.,..v |
c280 | b0 8c b1 72 01 63 a5 3c a6 06 4a 1a 9c 94 23 34 ab 49 15 f4 3e b2 1e 11 ea fd 25 9a 39 9a a6 a1 | ...r.c.<..J...#4.I..>.....%.9... |
c2a0 | f6 75 fc 00 0d cf 47 9d 00 6a d1 f1 30 47 b3 e6 04 98 ae 39 38 bb d8 c5 34 cd 0e 31 b1 e3 5f be | .u....G..j..0G.....98...4..1.._. |
c2c0 | 1b f5 93 87 e1 ce 1f c3 55 3b 26 f1 e2 e7 5d 85 97 3c ff 59 d8 b9 75 43 fa 47 4c 01 2b 1d 17 fa | ........U;&...]..<.Y..uC.GL.+... |
c2e0 | b8 ef bb fb f0 f9 af 7c 1b 5f f8 da 3d 38 36 dd 86 5d 9c 24 a0 1a 82 65 d9 c8 e4 2c 14 06 73 a8 | .......|._..=86..].$...e...,..s. |
c300 | 6c 99 42 75 eb 14 0a 23 65 0c 13 a3 d9 30 3a 88 6d e3 43 18 29 15 24 a4 6c 2a f2 a4 a6 a1 c2 cc | l.Bu...#e....0:.m.C.).$.l*...... |
c320 | e3 16 50 b1 ce c3 e0 02 c0 a3 ab 8b f0 0f 96 06 b6 50 cf 40 4f 9f a6 1b 84 98 eb ba 98 a1 79 b6 | ..P..............P.@O.........y. |
c340 | ed a1 45 f7 4f 2f 74 71 ea 4c 1d fb be f8 30 9a 8b 0d 38 cb d3 e8 2e 9c c0 aa 52 17 37 bf e0 2a | ..E.O/tq.L....0...8.......R.7..* |
c360 | bc fc c5 cf c5 35 97 ef 4c ff a8 29 60 a5 e3 42 1b df 79 f8 00 3e fd c5 6f d1 bc 13 d3 75 93 80 | .....5..L..)`..B..y..>..o....u.. |
c380 | 8a d8 54 ae 04 db b6 90 2d 98 28 0e 17 31 b0 73 23 ca 9b 57 21 97 b7 b0 75 cd 28 b6 4c 8e 60 aa | ..T.....-.(..1.s#..W!...u.(.L.`. |
c3a0 | 5a 11 40 b2 12 e0 94 a7 ff 0d d3 0e b2 f0 b0 1c 28 f4 19 b7 15 60 19 df e7 33 84 89 6d 72 f2 eb | Z.@.............(....`...3..mr.. |
c3c0 | 44 c0 c5 db 2e 81 d5 c9 56 97 a6 83 65 66 60 c4 b4 ee f8 a7 07 b0 b8 6f 1a 4e 97 c0 ad b5 4c c0 | D.......V...ef`........o.N....L. |
c3e0 | 75 12 d5 70 1e af 7e f1 d5 b8 e5 a5 37 e2 aa dd db d3 3f 72 0a 58 e9 78 ba 8f 43 47 4f e1 13 9f | u..p..~.....7.....?r.X.x..CGO... |
c400 | fd 06 3e fe d9 db 71 7c ce 25 d3 6f 1c 76 b6 00 3b 63 21 5f a4 39 48 40 b5 75 3b 0a 6b c7 90 2f | ..>...q|.%.o.v..;c!_.9H@.u;.k../ |
c420 | 9b 58 bf 6a 04 97 6f 5d 8b 0a 99 7f 96 06 28 33 da d2 1c 22 60 5a 95 e9 25 ef 31 40 31 83 e2 6d | .X.j..o]......(3..."`Z..%.1@1..m |
c440 | 26 91 d1 67 24 00 2a 06 ac f0 fc c0 15 24 d9 56 a8 80 cb d3 00 f6 54 c3 c1 d7 0e 1c c7 7c bb 8b | &..g$.*......$.V......T......|.. |
c460 | 76 bd 83 e5 7d a7 b0 fc e4 1c ba 1d 3a a6 d3 44 77 ee 38 26 ec 65 fc f4 cd d7 e2 b5 3f 79 13 36 | v...}.......:..Dw.8&.e......?y.6 |
c480 | 6f 58 9d fe d1 53 c0 4a c7 d3 6d 78 be 8f 5b ff e1 ab f8 bb 4f 7d 0d f7 ef 3d 03 b3 30 aa 81 ca | oX...S.J..mx..[.....O}...=..0... |
c4a0 | 46 ae 60 21 57 ca a1 b8 76 0b 2a eb d6 22 4b d4 68 70 a4 80 2b 76 6f c2 c4 f0 00 2c 33 01 54 e7 | F.`!W...v.*.."K.hp..+vo....,3.T. |
c4c0 | 01 2d 66 52 1b 72 09 b3 30 01 52 f8 37 30 ac e8 76 a0 7d 5d fe 0a e0 5a a4 1d 67 5d a0 ed f9 38 | .-fR.r..0.R.70..v.}]...Z..g]...8 |
c4e0 | 70 6a 06 e6 f2 49 74 c8 2c cc 2f 9e c1 91 c3 5d 1c 39 69 62 a6 96 85 db 6e c0 5b 38 8a 4b 27 2d | pj...It.,./....].9ib....n.[8.K'- |
c500 | bc f1 96 17 e0 0d af 7e 11 6c cb 4a 2f 82 14 b0 d2 f1 74 f1 53 7d e4 93 5f c2 ad 9f bd 13 c8 8d | .......~.l.J/.....t.S}.._....... |
c520 | c1 ca 96 b5 e9 47 93 cc bd fc d0 2a 94 d6 11 ab 1a 2a 20 57 24 56 b5 65 1c bb 2e 5e 8f 7c d6 52 | .....G.....*.....*.W$V.e...^.|.R |
c540 | 60 65 f4 4f 5e fa 93 59 03 63 c4 ae 32 1a b8 60 ac 04 2c a3 0f b0 8c 15 20 d5 03 ad f0 5c d3 30 | `e.O^..Y.c..2..`..,..........\.0 |
c560 | 5c c1 b2 12 a0 35 4d 80 35 eb 04 a8 2f 35 70 df 27 3f 83 df fa e9 ad 18 c8 02 77 3f 35 8f 43 7b | \....5M.5.../5p.'?........w?5.C{ |
c580 | 0f 62 f6 f4 32 4e 2c 15 70 a2 56 c2 c9 99 16 bc d9 c3 78 cd f3 77 e0 cd af 79 49 ea df 4a 01 2b | .b..2N,.p.V.......x..w...yI..J.+ |
c5a0 | 1d 3f ea e3 c3 1f fb 27 7c f0 ef be 88 7d c7 ea 30 b2 43 b0 08 a8 32 59 05 54 d9 5c 1e 85 c9 1d | .?.....'|....}..0.C...2Y.T.\.... |
c5c0 | 28 8e af 22 86 45 c0 55 b6 b1 71 fb 04 b6 ef 5a 4b c7 71 0a 82 21 e9 09 0a b4 8c 18 b0 c6 09 ac | (..".E.U..q....ZK.q..!.......... |
c5e0 | a6 68 66 f4 3e 03 fd 26 a1 91 00 b0 ef c5 b4 c2 84 59 78 3e 5f 56 90 04 2d 6d 16 fa f4 48 37 64 | .hf.>..&.........Yx>_V..-m...H7d |
c600 | b3 d0 43 a3 d9 c5 c3 5f b9 03 27 0f 9f c4 15 17 e5 f0 db af dd 89 81 72 05 ff f2 f8 02 9e b8 f7 | ..C...._..'............r........ |
c620 | eb 78 e4 48 1b 67 1b 05 7c fb ec 24 9c b9 a3 d8 58 68 e1 97 7e fa 85 f8 99 9f 7e 59 7a 51 a4 80 | .x.H.g..|..$....Xh..~.....~YzQ.. |
c640 | 95 8e 1f 45 5f d5 07 fe f6 f3 f8 e0 47 bf 86 c0 1e 52 d9 e8 19 93 c0 ca 44 2e 9b 41 a6 30 80 e2 | ...E_.......G....R......D..A.0.. |
c660 | aa 3d c8 57 4a c8 97 c8 2c 24 b0 5a b7 6d 1c 5b 77 ad 11 b0 b2 09 81 0c 42 23 06 ab 22 81 d3 10 | .=.WJ...,$.Z.m.[w.......B#.."... |
c680 | 3d 8f 19 8e 47 97 c6 16 3a 3e 72 bc f3 d6 58 c1 ae 56 02 d6 f7 35 09 cf 07 58 e1 b9 ec 2a 02 2d | =...G...:>r...X..V...5...X...*.- |
c6a0 | 97 1e 3c d1 f6 b1 d4 76 51 5b 6a e2 c8 23 07 f1 f8 ed 77 a3 ed 78 f8 cb 5f de 8a eb ae dc 42 6f | ..<....vQ[j..#....w..x.._.....Bo |
c6c0 | 5c c0 a9 13 27 71 cf dd f7 e0 cb df 6d e0 3b d3 a3 38 35 ef c1 9f 39 84 9f 7d e9 6e fc c2 1b 5f | \...'q......m.;..85...9..}.n..._ |
c6e0 | 9e fa b6 2e a0 61 bd 83 46 7a 1a 7e c4 86 d3 84 bf f7 93 30 27 2e fb 57 0f bd fd ae ef e2 0f fe | .....a..Fz.~.......0'..W........ |
c700 | f4 56 7c fc 9f 1f 40 90 1d 81 69 65 60 93 ed c6 b9 54 5c e2 92 2b 4f a2 30 be 1b f9 62 11 b9 3c | .V|...@...ie`....T\..+O.0...b..< |
c720 | 81 18 cd f1 55 83 b8 68 d7 6a 02 99 fe 98 5d 40 00 51 b4 0c 0c 12 60 8d d2 f3 87 09 f4 ce 65 4e | ....U..h.j....]@.Q....`.......eN |
c740 | 46 1f 08 85 2b 40 e9 7b 4d ac 00 a8 de 63 61 0c 50 91 29 18 81 17 3f 5e a6 cf c0 39 5d ae c9 d1 | F...+@.{M....ca.P.)...?^...9]... |
c760 | cc 41 0c ad 5b 8b e5 d3 b3 f8 d0 27 1e 41 6d f6 2c 6e bc 7a 08 03 83 83 d8 79 c9 6e dc 70 e9 30 | .A..[......'.Am.,n.z.....y.n.p.0 |
c780 | 56 99 47 91 f1 ea 68 16 d7 e0 b6 ef 9e c4 13 8f 3f 86 c9 d1 2a 36 ae 9b 4a af ab 14 b0 d2 f1 7f | V.G...h.........?...*6..J....... |
c7a0 | 63 78 b7 bd 1d e1 c2 13 b0 b6 7e 7f 93 e6 93 9f fb 26 7e e7 4f fe 0e 77 3f 3a 8d d0 aa 10 43 32 | cx........~......&~.O..w?:....C2 |
c7c0 | 05 ac 32 cc ae 08 ac b2 c5 31 e4 47 77 89 39 98 cd 70 42 a8 85 5c 21 8b 1d 97 af 27 46 15 41 88 | ..2......1.Gw.9..pB..\!....'F.A. |
c7e0 | 82 0f 21 da 61 28 70 34 45 0c cc 48 a0 50 32 7b bd 0f 84 8c 95 c0 65 9c 17 ac 02 ed bb 0a d0 03 | ..!.a(p4E..H.P2{......e......... |
c800 | ab a4 19 18 9e 03 58 61 2f 6a 48 b3 40 d4 af 4e 37 02 93 4c db 62 1e c3 eb d7 c0 33 6c 7c ed ab | ......Xa/jH.@..N7..L.b.....3l|.. |
c820 | fb f0 f5 bb 4f e1 65 d7 0e 22 cf fe b9 72 15 97 5c 7a 29 9e bb dd 40 a9 75 08 f9 ac 8d 6f 1c 36 | ....O.e.."...r..\z)...@.u....o.6 |
c840 | 71 ef 3d df c1 50 31 83 6d c3 45 3c f5 db bf 80 ca 8e 35 b0 ab 29 eb 4a 01 2b 1d ff c7 23 38 7e | q.=..P1.m.E<......5..).J.+...#8~ |
c860 | 17 fc 87 3e 82 d0 59 86 7d d9 1b bf e7 71 7f f9 91 cf e2 ed 7f 7c 2b 8e 9e 75 60 d8 79 98 64 d2 | ...>..Y.}....q.......|+..u`.y.d. |
c880 | d9 6c de b1 df 8a 6e e4 8a c3 c8 0f 6f 41 2e 57 20 f0 ca 88 79 68 d3 9c 5c 3f 82 ca 50 31 86 90 | .l....n.....oA.W....yh..\?..P1.. |
c8a0 | 30 fa a7 3d 03 9b 86 f3 c8 98 09 03 af cf d6 fb de 86 5f 68 fc 2b 2c 2b 5c 91 ca 70 8e df 2a 5c | 0..=.............._h.+,+\..p..*\ |
c8c0 | e1 c3 ea ed 67 d0 ca 93 dd 3a df f6 c4 26 b5 c8 cc ad 8e 8d a1 19 d8 38 bc f7 18 3e ff b5 23 b8 | ....g....:...&.........8...>..#. |
c8e0 | fa b2 21 4c 8c d0 87 08 6a 28 56 07 b0 7b c7 38 2e 1d 3c 89 85 a6 81 fb a7 07 71 db 9d c4 40 43 | ..!L....j(V..{.8..<.......q...@C |
c900 | 1f 63 df fa 1c 66 bf f9 45 d8 e5 39 94 b7 5d 9f 5e 70 29 60 a5 e3 ff 88 5d dd f5 6e a0 36 43 c8 | .c...f..E..9..].^p)`....]..n.6C. |
c920 | 63 c1 9c dc 0d 83 4c ba 3e 60 a0 95 ff 9e bf f8 04 7e f7 7d 9f c0 52 37 4b 4c c9 16 b6 64 91 29 | c.....L.>`.......~.}..R7KL...d.) |
c940 | c7 e1 7c 06 ac 5c 61 10 b9 ea 06 02 a9 1c 81 55 16 16 b1 2d 66 5e 16 3d be 76 fb 84 2e 91 89 62 | ..|..\a........U...-f^.=.v.....b |
c960 | 76 7a 6b 28 86 a5 9c ed 64 52 da 46 0c 40 c6 4a b0 32 7a 37 42 e3 07 33 0b 93 6c 2a 7e e7 b0 c7 | vzk(....dR.F.@.J.2z7B..3..l*~... |
c980 | b6 04 98 92 40 15 f6 6e 7b fa 1d 5a ae 8f 96 43 20 4b 6f 6a 12 28 fb 16 7d 7f fa ae a7 8e 4c e3 | ....@..n{..Z...C.Koj.(..}.....L. |
c9a0 | 13 9f d9 8f e7 ee 04 56 af ca d2 13 67 08 d4 80 11 32 1f 5f 72 71 07 9b 72 a7 71 d7 d9 09 7c eb | .......V....g....2._rq..r.q...|. |
c9c0 | b1 59 0c 59 3e 36 b4 e6 30 77 ff 63 08 9b 77 61 e0 d2 17 12 e0 e7 d2 0b 2f 05 ac 74 fc 9b d9 d5 | .Y.Y>6..0w.c..wa......../..t.... |
c9e0 | b1 3b 11 3c fe 29 5a 70 01 d7 ab c0 c8 95 61 ae b9 a6 07 66 be 8f 3f 7c ff ad f8 fd f7 ff 03 ba | .;.<.)Zp......a....f..?|........ |
ca00 | 21 d7 f2 29 29 97 1e 58 11 b3 ca 15 91 ad ae 45 96 c0 ca 66 b0 62 9f 16 ed b7 88 a1 14 2a 39 0c | !..))..X.......E...f.b.......*9. |
ca20 | 8d 57 84 57 a9 4c ce 7e b0 e2 d1 74 3c 38 f4 fe e3 b3 07 61 12 70 e6 ee fd 3c 32 fb bf 05 fb e4 | .W.W.L.~...t<8.....a.p...<2..... |
ca40 | 5e 84 b4 b0 83 ea f8 39 be a9 95 e0 75 5e 1f d6 f9 80 4a 00 29 ec 4b 1a f5 13 ac 2a da ef 04 ec | ^......9....u^....J.).K....*.... |
ca60 | e7 32 04 b0 ea 6d 17 01 df 0f 20 60 dd 09 c8 14 1c 1e 47 ab de c1 c7 fe 7e 1f 2e 5d ef 61 f3 c6 | .2...m.....`......G.....~..].a.. |
ca80 | 41 3a 7f 27 e8 13 75 60 0f 54 b1 73 fb 14 7e 6c d5 11 1c 5f 08 f1 b1 d6 2e 54 3b 8b 58 db 9a c6 | A:.'..u`.T.s..~l..._.....T;.X... |
caa0 | c2 e3 a7 e0 cf 7e 03 43 57 bd 14 66 26 9f 5e 80 4f 83 91 0a 0f fd a8 0c a7 01 f7 f6 3f 80 d1 f2 | .....~.CW..f&.^.O...........?... |
cac0 | 69 31 ba 08 3d 5a 94 fb bf 09 fb 59 bf 12 33 ab 77 ff d9 47 f1 ce ff f1 69 62 1c 15 44 f9 e4 0c | i1..=Z.....Y..3.w..G....ib..D... |
cae0 | 58 ec 1a b7 4c c5 a0 ec e2 38 6c 89 f8 31 5b e2 c7 c3 d8 66 cb 90 29 e5 74 5d d8 a1 89 30 60 7f | X...L....8l..1[....f..).t]...0`. |
cb00 | 93 09 93 f6 07 0c 36 b4 b5 5b cb d8 7c cf ad d8 fa 9d 5b 51 30 1b c4 62 68 7f a0 9f 5e aa a2 f9 | ......6..[..|.....[Q0..bh...^... |
cb20 | a6 f7 c1 5f bb 4b 45 0b f9 9f a1 b0 4e d5 15 86 b1 63 ab 3f 0f ab f7 ff 64 b6 3b 03 55 b2 3c c7 | ..._.KE.....N....c.?....d.;.U.<. |
cb40 | d3 fb fa 80 8b e6 4c d3 c1 5c cb 41 21 63 a1 de f1 08 b4 03 10 6e c3 f3 f8 bb b1 99 9b 45 61 70 | ......L..\.A!c.......n.......Eap |
cb60 | 10 63 bb 76 e3 4c ab 8b 37 bd 9d 4c c4 01 0b 57 5d 3e 01 74 f7 d1 8b 94 88 61 0e 60 c7 73 2f c7 | .c.v.L..7..L...W]>.t.....a.`.s/. |
cb80 | 9f af 3e 8a df fc db 69 bc 7f ef 0b e0 38 0e ae 6f 3c 8e 63 5f 3f 40 6f fc 4a 5c f4 5f fe 11 56 | ..>....i.....8..o<.c_?@o.J\._..V |
cba0 | 71 30 bd 0e 53 86 95 8e 1f 64 f8 8f 7d 06 fe 53 ff 82 60 b9 23 20 11 76 1d 04 cd 25 84 ed 3a ec | q0..S....d..}..S..`.#..v...%..:. |
cbc0 | cd d7 e2 8f fe fc e3 f8 bd 3f fd 14 2d ec 12 22 b9 29 53 80 c9 14 f6 24 4e f6 d2 28 b2 c4 b0 d8 | .........?..-..".)S....$N..(.... |
cbe0 | 67 65 b3 a0 1e 8b e9 11 0b 31 2d 5b c0 ac 30 90 43 b6 90 e9 b1 1d bd 35 9c 26 76 dd f1 21 3c eb | ge.......1-[..0.C......5.&v..!<. |
cc00 | 53 bf 8e b5 67 ef 45 2e eb 09 6a 30 68 1a f4 da 21 cd c5 5f fe 28 dc 5d cf 8b fd 55 3d c7 bb f1 | S...g.E...j0h...!.._.(.]...U=... |
cc20 | af 38 dd 8d be a8 60 10 f6 9c f0 51 c4 d0 eb 03 aa b0 cf 1c b4 2d 13 4b 2d 17 cb c4 ac 5c 2f 20 | .8....`....Q.........-.K-....\/. |
cc40 | c0 0a 15 68 89 a6 56 88 46 cd 11 e0 e2 e8 68 a6 3c 82 0e 1d f7 89 cf 1c c5 0d 97 e5 b0 6a d5 14 | ...h..V.F.....h.<............j.. |
cc60 | d0 79 8a 5e a8 43 27 ab 8d e2 e8 3a bc ec 86 49 1c 3d 32 87 bf 5e dc 89 c1 f6 3c c6 e6 4e a2 3b | .y.^.C'....:...I.=2..^....<..N.; |
cc80 | 37 0f ef d8 57 51 dd 7d 93 a4 77 a4 26 e2 8f ee 48 f3 b0 7e 24 d0 ca 41 eb fd d7 82 ed 9c 70 81 | 7...WQ.}..w.&...H..~$..A......p. |
cca0 | 00 2b 6b 21 74 1d 10 11 42 e8 f8 b8 63 e0 c5 f8 0f 1f 3a 46 a6 51 8e 51 4a e9 4e d1 42 56 60 65 | .+k!t...B...c.....:F.Q.QJ.N.BV`e |
ccc0 | 4b fa 42 b6 50 41 8e 16 ac 38 d9 b3 ac 0a 9a 27 93 30 2f 39 59 36 83 18 31 91 e2 50 11 c3 ab 06 | K.B.PA...8.....'.0/9Y6..1..P.... |
cce0 | c4 f9 6e d1 ac 76 ce e2 da 7b ff 04 95 e9 a7 30 d2 3c 8d ec 40 46 3e 43 40 80 60 66 89 b9 d1 31 | ..n..v...{.....0.<..@F>C@.`f...1 |
cd00 | 41 be 84 13 6f f9 30 bc 4d 97 a3 52 2e c5 3e 2e c5 aa 8c 73 cb 73 56 fa e5 c3 f3 f8 b8 34 bb 8a | A...o.0.M..R..>....s.sV......4.. |
cd20 | 7c 57 5e cc b0 14 60 f1 7d 61 5b e0 d2 9c 00 33 b5 0e 16 1a 8e 80 95 4f 07 31 50 f9 6e 88 4e d3 | |W^...`.}a[....3.......O.1P.n.N. |
cd40 | c3 fc 6c 0b 9e 43 40 d6 09 d0 21 b3 b0 39 bf 8c 99 47 bf 83 51 ff 04 be f9 91 ed 18 1d 9c 27 a6 | ..l..C@...!..9...G..Q.........'. |
cd60 | 75 0a 61 a6 08 23 3f 08 23 bb 8a be c0 14 fe e6 33 8f e0 3f dd 3a 84 37 1e ff 0c 9e bd f0 5d ec | u.a..#?.#.......3..?.:.7......]. |
cd80 | b8 a6 80 e2 ea 9d 30 cb c0 96 b7 fe 05 72 a3 bb d2 eb f2 47 70 a4 4d 28 7e 04 86 f7 c4 37 88 49 | ......0......r.....Gp.M(~....7.I |
cda0 | 35 10 34 3a 08 c8 64 0b ea 6d f8 b4 f8 82 66 17 21 81 c7 73 4e 7c 16 5b b2 35 5a c5 1e 94 01 a7 | 5.4:..d..m....f.!..sN|.[.5Z..... |
cdc0 | b8 8c f8 af c4 14 64 d3 a8 a8 cd c0 88 e7 f8 22 51 4c 2f 40 00 11 08 48 78 0e b1 94 ae 27 73 f0 | ......d........"QL/@...Hx....'s. |
cde0 | cc 7e dc f2 8f af c5 ba 83 b7 0b 58 d9 a5 2c bc ae 2f 22 7a 06 83 55 ce 84 5f 2c e1 89 37 fc 2f | .~.........X..,../"z..U.._,..7./ |
ce00 | 34 37 5d 89 4c a9 a4 81 24 c1 82 18 3c c2 b0 5f 71 41 1f 13 86 2b 22 81 11 7b 0a c2 d8 dc 8b c0 | 47].L...$...<.._qA...+"..{...... |
ce20 | 49 66 10 0a d3 62 80 ea 78 be de 1f 62 9e 80 6a be de 15 76 25 93 98 95 47 d3 25 90 72 e8 f3 06 | If...b..x...b..j...v%...G.%.r... |
ce40 | 9c ee 40 fb c3 80 d9 60 06 b9 4a 15 23 db f7 60 da 1f c5 8f ff cc c3 f4 78 99 ce 46 0e 61 a7 86 | ..@....`..J.#..`........x..F.a.. |
ce60 | b0 39 4f db 13 74 4a ce e0 4d af ba 06 1f 7c 7d 0b 7f bb fa 15 b8 3f bf 09 fb 1f ac a1 18 3e 09 | .9O..tJ..M....|}......?.......>. |
ce80 | e7 91 26 0e 7f e8 2d e8 2e ec 4d 2f cc 14 b0 d2 71 5e c0 da fb 35 04 6d 0f 7e 93 b5 cf 5d f8 0c | ..&...-...M/....q^...5.m.~...].. |
cea0 | 5c 2d 07 7e 8b b6 6d 32 0d 97 3a f8 c7 2b f7 63 57 69 91 56 b9 70 11 f1 5b 49 09 0d 03 96 4e 6b | \-.~..m2..:..+.cWi.V.p..[I....Nk |
cec0 | 50 d9 08 81 02 35 66 6b 04 56 0c 72 60 6d 75 ba ed b9 1e 1c 32 99 36 1c b9 1d b7 dc fe cb c8 b5 | P....5fk.V.r`mu.....2.6......... |
cee0 | 9b ec b9 86 91 b3 88 a1 b8 b2 f0 19 ac ac 0c 47 e1 80 47 f6 fc 2c 16 a6 2e a6 c7 b3 a2 59 e5 6a | ...............G..G..,.......Y.j |
cf00 | 70 e1 98 40 0f 74 8c d8 e7 14 68 7f 18 4f 3f b9 3d cf b1 7e a0 c0 ca 0d 55 46 7b 04 5a c7 c8 24 | p..@.t....h..O?.=..~....UF{.Z..$ |
cf20 | 3e cd 00 45 fb 08 97 30 58 ce 61 a8 92 87 93 00 2b c7 51 80 d5 a1 73 c3 32 cb 37 ae 5e c2 7f 79 | >..E...0X.a.....+.Q...s.2.7.^..y |
cf40 | 4e 0d 2f 5c bf 84 22 5a c8 e4 8b 18 da 7a 19 8e d4 87 f1 e6 df 7c 02 c8 0c c9 9b 06 1d fa 51 68 | N./\.."Z.....z.......|........Qh |
cf60 | 2e 12 68 1d 25 06 fb 18 de 4c a0 f5 81 d7 37 f1 d1 c9 97 e1 a0 33 82 33 c7 88 dd 5a 1d d4 ef ae | ..h.%....L....7......3.3...Z.... |
cf80 | e1 e4 17 7f 05 dd f9 14 b4 52 1f 56 3a ce 19 ed cf bc 1d 7e 8d 18 40 83 9d ed 64 92 11 78 84 04 | .........R.V:......~..@...d..x.. |
cfa0 | 2c dc c0 81 3d cc 41 cb 43 b6 dd c1 cd 63 d3 b8 7d a1 8a 39 2f 27 a2 7b ec 97 e2 9c 2b d6 b6 1a | ,...=.A.C....c..}..9/'.{....+... |
cfc0 | 2a 1a d8 3d ee 60 55 39 a0 e9 8b 6f a9 ee b0 c4 b1 2d be 2c 68 b9 e3 57 1e fa 13 dc 74 f8 23 b0 | *..=.`U9...o.....-.,h..W....t.#. |
cfe0 | 43 4f fc 40 66 c1 56 66 1b 01 5c a6 4c 4c 2d 4f 93 d8 d5 77 a7 6e c2 13 7b de 8c ea e8 20 72 05 | CO.@f.Vf..\.LL-O...w.n..{.....r. |
d000 | 62 28 e2 ab ea cf 61 08 8d 15 79 f0 f1 dd 9e db 3d ce bf 0a 13 59 ed 7a ba d0 00 48 db 79 fa be | b(....a...y.....=....Y.z...H.y.. |
d020 | c7 09 ac d8 b1 de 22 e6 c4 60 6c 67 4c 79 dc a1 83 17 96 ba 74 2a 18 b0 42 99 2e 1d d3 6e b9 e8 | ......"..`lgLy......t*..B....n.. |
d040 | 12 1b bd f7 8e 27 30 98 f5 f0 3b af df 84 57 5e 51 c4 da 4a 0d 07 8e 37 d0 08 0a 78 e4 e1 33 18 | .....'0...;...W^Q..J...7...x..3. |
d060 | 25 76 7a f9 ee 3c c2 6e 9b ce af 23 a0 6f a0 4b 3f d7 4b b8 fc d2 3d 98 c8 1e c5 3b f7 6e c6 ee | %vz..<.n...#.o.K?.K...=....;.n.. |
d080 | d3 0f 61 72 3c 8f e6 42 06 76 b7 06 bf fc 08 f2 c3 17 4b 20 23 1d a9 0f 2b 1d cc 87 a6 9f 42 ed | ..ar<..B.v........K.#...+.....B. |
d0a0 | f7 9f 47 cc ca 43 d8 f2 85 f3 06 4d 62 3b 64 b6 21 ab 42 70 84 2d 70 6a ae 30 90 45 2b 83 ff 6f | ..G..C.....Mb;d.!.Bp.-pj.0.E+..o |
d0c0 | f1 32 6c 5e 5f c6 b5 eb 43 ac 1f 04 b6 8e 70 4a 01 01 8f c1 62 55 36 0c 4b 77 b0 b1 73 68 84 79 | .2l^_...C.....pJ....bU6.Kw..sh.y |
d0e0 | 1c 6e 0e e2 70 6b 10 cb 07 9e c4 b5 67 3e c5 b1 41 74 1b 9e 2a 22 64 3f 19 01 81 5d 32 90 29 9a | .n..pk......g>..At..*"d?...]2.). |
d100 | a2 3c ba 5c 18 c1 47 76 fe 2e 36 5c 7b 0d c6 27 87 90 cb da ca f4 84 21 8a 0d 9c 07 6f 47 be 2c | .<.\..Gv..6\{..'.......!....oG., |
d120 | 51 70 30 7a 35 86 86 b1 d2 85 15 fb ac 64 9b 34 05 b5 ff 8a 01 eb f0 42 13 35 62 99 81 f8 a9 02 | Qp0z5........d.4.......B.5b..... |
d140 | e4 32 16 ca 85 0c 4e 4c d7 d5 3e 89 0c 12 60 39 a1 32 09 09 b0 5c 3a be 53 eb 60 66 ef 7e 2c 3e | .2....NL..>...`9.2...\:.S.`f.~,> |
d160 | 75 00 3f f9 bc 55 f8 b3 df ba 8a be f7 30 bd a8 8b 0f fd fd 83 78 f7 47 1e 43 ed d4 11 dc f7 91 | u.?..U.......0.......x.G.C...... |
d180 | 1c d6 ad 22 d6 e9 aa e4 53 83 4d e8 81 41 3a 65 43 74 fc 16 fc f6 fb ee c6 47 6f 9d c6 47 56 df | ..."....S.M..A:eCt.......Go..GV. |
d1a0 | 89 ce 62 41 d0 77 d7 2f af 42 38 b5 19 6b ae 7f 1f 99 c8 d5 f4 62 4d 01 2b 1d dd 07 bf 84 e6 07 | ..bA.w./.B8..k.......bM.+....... |
d1c0 | de 22 be ab 90 41 84 10 41 00 8b 98 46 40 f8 e3 d3 e2 f2 c8 94 72 bb c4 80 46 b3 28 6c aa 92 85 | ."...A..A...F@.......r...F.(l... |
d1e0 | 53 22 80 b2 88 15 d1 24 18 09 43 9b 26 b1 28 33 02 ac 0c 2d c2 ac 4c 33 a3 b6 b4 7e 71 f6 f6 bb | S".....$..C.&.(3...-..L3...~q... |
d200 | e0 34 eb f0 d9 a4 ea b2 f9 67 8a 93 dd ca d1 db 96 58 d5 41 b1 ab 3f a9 fc 0c 32 d7 bd 1c 5b 2e | .4.......g.......X.A..?...2...[. |
d220 | bb 08 c5 52 8e 70 8d f6 b3 bf 0c 4a d5 81 c1 ca d6 5b a5 97 15 01 96 da ae d4 97 51 55 3f 61 ec | ...R.p.....J.....[.........QU?a. |
d240 | c7 8a fc 53 9c 5f 75 ba de 41 87 fd 56 0e 31 26 9a e2 e3 62 a7 bf a1 4c de 3a 9b c9 5e a8 a2 83 | ...S._u..A..V.1&...b...L.:..^... |
d260 | bc 75 42 15 21 d4 df c1 ed f8 e8 d6 da 98 3f b0 1f f3 4f 3c 8e 9f bc 71 04 1f 78 e7 8d f4 19 ca | .uB.!.........?...O<...q..x..... |
d280 | f4 59 b2 98 3f 7e 00 6f 78 eb e7 30 3d bb 8c 7b 3f 5e 20 e6 ea a8 ac 7e 8e 2c 16 cb 34 4b c4 32 | .Y..?~.ox..0=..{?^.....~.,..4K.2 |
d2a0 | 57 d3 fd 11 bc f1 bf 3e 8c e0 c1 03 b8 a5 76 40 be cb c0 6a 03 7b de f3 7c 34 67 ca 58 fd fc ff | W......>......v@...j.{..|4g.X... |
d2c0 | 91 5e ac a9 49 98 0e e7 ee cf c0 79 e4 5f 10 b0 09 48 a6 20 b3 0b 8f 98 56 97 16 63 97 16 28 ed | .^..I......y._...H......V..c..(. |
d2e0 | 46 76 32 8b 81 4b cb c8 af ce 0b 26 f9 5d 32 8f c8 44 f4 db 5d 78 9d 0e 81 5b 57 f6 85 0e fb c0 | Fv2..K.....&.]2..D..]x...[W..... |
d300 | ba 62 f6 84 7a cb f7 79 2e 3e f6 24 da 4b 0b 12 61 73 3b 81 44 20 0d 3d 33 45 4b 8a a2 ed 9c 81 | .b..z..y.>.$.K..as;.D..=3EK..... |
d320 | c7 ac cd b8 77 d5 cb b0 69 cf 0e 94 87 ca d2 94 22 8e 05 46 42 ee 7a 1b 6a 90 62 d4 32 12 8f f7 | ....w...i......."..FB.z.j.b.2... |
d340 | 8e ef a5 34 04 46 af e4 26 52 14 3d 38 d7 46 93 40 aa 4b 80 c5 c9 aa 9c ce e1 eb 74 78 97 3e 67 | ...4.F..&R.=8.F.@.K........tx.>g |
d360 | d7 e1 be 86 0a dc 38 4f 4c 72 d3 38 e3 82 cd 66 17 c2 bc 42 9f 29 28 7d fe e2 10 bc 6e 07 df fd | ......8OLr.8...f...B.)(}....n... |
d380 | ee 31 fa 7e 0d 5c 77 15 e7 54 b5 51 ac 16 f0 ba 5b 2e 42 ab 51 c3 03 7b 97 71 e5 f6 50 cc 6e 66 | .1.~.\w..T.Q....[.B.Q..{.q..P.nf |
d3a0 | 95 21 fb 03 39 bb df ea d0 79 08 70 e3 15 55 fc d1 ed 79 0c ce 9c c6 10 17 50 2f 7a 58 73 f5 28 | .!..9....y.p..U...y......P/zXs.( |
d3c0 | 02 6b 9e be 0a 99 c6 43 5b d3 0b f6 87 3c d2 c4 d1 1f 36 c3 3a f4 08 fc 16 01 95 e3 c1 65 ff 8c | .k.....C[....<....6.:........e.. |
d3e0 | 43 6c aa 43 0b d6 a1 5f 93 aa 85 e1 3d 65 5a 28 59 f1 1f f9 cc 40 e8 38 9f c0 8c 59 07 2f 5c 5e | Cl.C..._....=eZ(Y....@.8...Y./\^ |
d400 | c4 bc 98 95 98 55 46 b3 ab fe e9 b5 09 f8 e6 67 24 92 c6 59 e2 42 ad d9 1a 34 43 01 29 3b 6b a8 | .....UF........g$..Y.B...4C.);k. |
d420 | d2 1d a2 4c df 36 2f c3 c8 c6 35 22 9f 1c 12 58 89 cf c9 d0 34 29 69 ee 85 0a 84 f8 d5 4c 7d 3b | ...L.6/...5"...X....4)i......L}; |
d440 | 29 41 13 31 ab a4 74 4c 72 f2 3e 0e 14 84 2e 54 de 99 8e 2a ca f3 f4 93 42 ed dc 17 86 e6 4b ec | )A.1..tLr.>....T...*....B.....K. |
d460 | 40 81 94 27 c4 b0 f7 c2 6c e4 12 93 ac 6e d8 4e e7 ae 85 f7 fe f5 01 ec 58 1f e0 95 3f 31 25 c0 | @..'....l....n.N........X...?1%. |
d480 | 69 58 06 7e ed ad 97 e2 a1 7b 2c 62 af 4f d1 07 0d 15 60 31 b0 73 a0 81 d9 56 e1 2c 86 aa 6b f0 | iX.~.....{,b.O....`1.s...V.,..k. |
d4a0 | 8f 6f b7 f0 e2 9f bb 12 bf 3e ff 25 14 e1 e2 c0 27 f6 e2 39 ef fb 31 1c fd c6 1f a3 38 f5 1c 58 | .o.......>.%....'..9..1.....8..X |
d4c0 | f9 a1 f4 a2 fd 21 8e 34 4a f8 43 1e ee dc 3c 3a 6d 1f 4d 02 95 26 01 55 b3 1d 10 eb 08 51 b8 28 | .....!.4J.C...<:m.M..&.U.....Q.( |
d4e0 | 8f c9 1b e9 57 7d 38 a7 fc 3e 64 fa 78 4d 32 85 3a b4 e8 68 fa 1d 5b b6 81 4b 5b 97 80 c5 09 15 | ....W}8..>d.xM2.:..h..[..K[..... |
d500 | d3 6a d5 e9 b8 25 78 f5 45 9a 0b 32 eb a7 66 68 81 07 62 6a f1 82 e7 9f 29 53 2c 48 43 f2 b1 54 | .j...%x.E..2..fh..bj....)S,HC..T |
d520 | 54 d0 c0 32 2d d1 87 0a bb 31 b4 6e 15 ed cf 9e 23 aa 17 e8 fc a8 40 e7 4d c5 8e 73 3d 5d 9c ff | T..2-....1.n....#.....@.M..s=].. |
d540 | 7e bc 2f ec b1 2b 9e 53 d5 9c 4a 81 48 88 61 f1 ed c8 31 1f 3d 16 aa d8 83 06 ac 1e 58 85 fa 36 | ~./..+.S..J.H.a...1.=.......X..6 |
d560 | 83 30 9b 79 56 3e 87 ea fa ad c8 8f 4d e0 57 7e ff 71 1c 79 ea 18 01 d2 09 fa 00 27 e9 05 66 b1 | .0.yV>......M.W~.q.y.......'..f. |
d580 | e7 59 93 c8 ae bb 98 8e 35 d5 fb 78 7c 3e 1d b8 b5 3a 82 56 1b 61 eb 28 36 6f 1d c6 bb 7e 35 83 | .Y......5..x|>...:.V.a.(6o...~5. |
d5a0 | 4f 1b 3b d0 21 d6 7a e4 ee 93 12 ca 1c dd 39 88 33 77 a4 c6 48 0a 58 cf f0 d1 71 18 a8 80 06 01 | O.;.!.z.......9.3w..H.X...q..... |
d5c0 | 55 83 40 8b c8 16 26 ae 29 63 f8 e2 b2 b0 a3 d0 33 e1 35 88 79 35 0c 05 54 75 02 ae 06 31 b2 8e | U.@...&.)c......3.5.y5..Tu...1.. |
d5e0 | 47 ec 24 94 45 6b 10 c3 32 d8 87 c5 4e af 80 d8 98 a3 cd c6 56 83 98 55 0d 3e 3b f4 b5 4e 8c c1 | G.$.Ek..2...N.......V..U.>;..N.. |
d600 | b9 5a ac 30 9a 31 7a d3 52 00 76 97 bf 1d 85 e1 61 5a f8 19 04 66 94 96 90 90 7e 49 00 91 24 7c | .Z.0.1z.R.v.....aZ...f....~I..$| |
d620 | 26 f7 85 bd e9 e8 e9 86 09 f0 4a 80 5c 34 99 61 ad 1d 29 88 3c 33 83 13 d7 44 b2 04 8e af 81 2b | &.........J.\4.a..).<3...D.....+ |
d640 | 06 2f 9d 75 cf cc 2a 54 a9 65 28 8d 15 30 ba 6d 08 b9 6a 56 c0 98 d3 36 38 8e 69 e5 b2 28 af d9 | ./.u..*T.e(..0.m..jV...68.i..(.. |
d660 | 84 ae 59 c4 9b 7e f3 49 7a d3 25 fa 30 a7 d5 0c ce c0 1a cc 20 b7 e1 6a 31 23 e1 2b f3 d0 a7 3f | ..Y..~.Iz.%.0..........j1#.+...? |
d680 | 80 57 6b ea 1c b8 e3 78 d5 4b ab 28 3c 7b 33 f6 05 43 64 4a ba 38 fe ed d3 18 58 3b 84 e6 f4 03 | .Wk....x.K.(<{3..CdJ.8....X;.... |
d6a0 | 70 96 8e a4 17 6d 0a 58 cf 64 c0 d2 60 d5 0a 41 24 0a 6b 9f 53 41 69 2a 2f 51 be 90 cc 43 67 c9 | p....m.X.d..`..A$.k.SAi*/Q...Cg. |
d6c0 | d5 cc 8a 00 42 6e 7b c2 2a 42 5e 6c e2 ef 51 75 80 6a 81 6b 06 45 8b d1 60 e0 0a 6c 32 21 4d 8e | ....Bn{.*B^l..Qu.j.k.E..`..l2!M. |
d6e0 | ac c8 ea e7 7a 3f b1 1c 6d 0d 54 59 65 06 1a b6 72 96 6f 3c bb 1f 99 ca 00 bc e0 dc 32 19 7f 05 | ....z?..m.TYe...r.o<........2... |
d700 | d8 9c 93 fc a9 01 8c f3 a7 1c 3d 25 97 2a 4c 94 de 84 61 2c 7f 1c bd a6 95 b1 30 39 4a e0 33 9c | ..........=%.*L...a,......09J.3. |
d720 | c7 9a d5 15 4c 4d 96 31 31 59 52 6c 2e 50 69 64 a1 9e 62 ce d2 07 1d de 38 80 d1 ad 83 28 4e 14 | ....LM.11YRl.Pid..b.....8....(N. |
d740 | 31 7e f9 18 72 03 59 49 01 e1 44 59 2e ad c9 14 8b 28 af dd 84 87 9f ec e2 c3 9f 98 67 4f 21 d0 | 1~..r.YI..DY.....(..........gO!. |
d760 | 9a a5 93 bd 48 2f 32 0b ab 0c e4 2f ba 91 3e 45 46 ce 63 40 a6 b6 5b 27 d0 aa 13 cb 22 a0 37 ba | ....H/2..../..>EF.c@..['....".7. |
d780 | 35 fc f5 7f 33 f0 85 71 25 3f 33 b7 77 06 46 36 4f ef 39 8c e9 7b 53 e7 7b 0a 58 cf e0 d1 ee 86 | 5...3..q%?3.w.F6O.9..{S.{.X..... |
d7a0 | 02 58 1d 5a 9c 9b ae 1f 20 e6 c0 29 09 39 f8 6d 7a 6c ae 0b af 45 20 d4 a5 45 bf e8 c6 4c 89 d9 | .X.Z.......).9.mzl...E...E...L.. |
d7c0 | 46 9c 0f c5 e6 10 2f 3a 5f f9 b3 84 35 08 98 f1 d6 d2 42 55 4a 98 8f c1 4a d8 95 1d 6d d9 bf a3 | F...../:_...5.....BUJ...J...m... |
d7e0 | 4b 6c 38 0a 78 fa 0c ae 7e e4 93 64 a2 76 e1 78 7e 02 a8 56 00 57 c2 71 ee ad 00 af f3 01 da f9 | Kl8.x...~..d.v.x~..V.W.q........ |
d800 | 40 2f ca 70 8f 0a 9f 8b a5 6c 6c 0a e6 8b 19 54 c8 5c cc e5 6d 35 0b 5c 27 99 41 75 aa 84 35 7b | @/.p.....ll....T.\..m5.\'.Au..5{ |
d820 | 46 51 21 40 93 e4 55 c9 72 0f 31 be 67 12 c3 3b c6 25 5b 3f 60 60 ce d8 c8 94 07 90 1b 1a c5 3b | FQ!@..U.r.1.g..;.%[?``.........; |
d840 | 3f b0 80 c5 85 40 15 7b 13 e3 0c bb 0d 96 c5 80 55 21 36 b7 e6 59 ea 5c b1 33 bf e3 c2 5d 6e a9 | ?....@.{........U!6..Y.\.3...]n. |
d860 | e4 dd 76 1b 23 c3 21 de fd 4b 01 6e cf 6e c3 99 87 a6 a5 a6 72 60 92 7e 5c ce 3c 04 67 f1 50 7a | ..v.#.!..K.n.n......r`.~\.<.g.Pz |
d880 | e1 a6 80 f5 4c 05 2c 2e 45 09 b1 ed 79 03 28 8f e7 c4 71 ee b5 5d b4 67 1b 04 5a 9e ac 66 66 56 | ....L.,.E...y.(...q..].g..Z..ffV |
d8a0 | 01 51 8c d0 d0 60 a4 9d de a1 4e f8 54 11 2f 0d 52 f1 84 6c c5 c1 ce 80 c5 a6 a0 95 60 57 96 6a | .Q...`....N.T./.R..l........`W.j |
d8c0 | 3a c1 66 59 94 8a c0 d1 c3 6b 1e fe 38 56 df f3 69 74 68 e1 7a c1 4a a0 d2 79 53 e7 61 4c 71 89 | :.fY.....k..8V..ith.z.J..yS.aLq. |
d8e0 | 4d 18 ae 98 91 ff aa f7 1c af cf a4 ec df 1f a9 8d 0e 91 c9 37 b1 7e 00 93 9b 07 30 b1 65 10 e3 | M...................7.~....0.e.. |
d900 | db 06 31 b0 aa 8c 90 3e b4 02 ab e4 0c 91 9f a8 62 ec aa 2d 28 4c 0e c9 f7 b1 f3 79 62 60 ab b1 | ..1....>........b..-(L.....yb`.. |
d920 | d0 32 f1 b6 df 3b 03 64 c7 09 ac 5c 84 cd a6 4a 20 f5 1f 45 6e 6a 1c d9 a9 ab 14 e0 73 8e 57 d3 | .2...;.d...\...J...Enj......s.W. |
d940 | 81 53 e3 a8 ab 83 b0 d1 c6 ab 5e 92 41 ed e2 2d 38 b1 7f 49 ad 94 8c 89 c1 75 83 98 7f f8 13 e9 | .S........^.A..-8..I.....u...... |
d960 | 85 9b 02 d6 33 14 b0 c8 5a d9 7e 7d 05 03 13 39 31 77 7c 01 ab 36 dc 16 01 14 b1 1c 77 b1 a5 c0 | ....3...Z.~}...91w|..6......w... |
d980 | 2a 50 61 7d 01 a0 c8 04 94 f0 be 06 2b bf 07 52 61 d0 63 59 6c 0e 1a 51 cb 2e 02 2c 5b 83 15 03 | *Pa}........+..Ra.cYl..Q...,[... |
d9a0 | 97 69 e9 fc 29 9a 0d 62 70 51 0a d5 75 5f 78 07 b6 7f e9 bd 4a 15 41 ea ff 12 8c 28 c1 94 22 80 | .i..)..bpQ..u_x.....J.A....(..". |
d9c0 | 72 e3 ad be 1d a8 e9 ae 28 bd 71 b5 93 de 4f b2 ab 04 1b 0b 56 b0 2e 3f 2a 03 0a 94 79 28 39 5a | r.......(.q...O.....V..?*...y(9Z |
d9e0 | d1 d6 d7 45 d0 5e 0f b8 d8 7c 1c d8 b4 41 be 37 67 f5 5b f9 02 b2 23 13 f8 a7 6f 03 0b b3 1d 3a | ...E.^...|...A.7g.[...#...o....: |
da00 | 01 23 92 87 c5 0e 76 09 c3 fa f7 22 bf 71 2b ac d2 b8 9c 5b 0e 6c b8 f5 ae 00 57 d0 25 28 25 e0 | .#....v....".q+....[.l....W.%(%. |
da20 | 7a e7 2f 9a f8 6a 7d 5c 15 1a d9 16 fd 9d 42 2c 1c bc 27 bd 70 7f 48 23 4d 6b f8 21 8f 4d 17 1b | z./..j}\......B,..'.p.H#Mk.!.M.. |
da40 | 20 e3 85 16 83 4d 60 e5 a0 b3 e8 c1 69 f8 92 59 ee d5 88 11 98 81 2a 5e 0e 2c 9d 45 6e c6 a5 34 | .....M`.....i..Y......*^.,.En..4 |
da60 | 02 4c d0 a2 54 8a 4a c5 92 2f 4a a8 ca 10 76 65 ea 9c a9 28 87 ca 8c 72 b0 64 5f d8 7b 62 22 6b | .L..T.J../J...ve...(...r.d_.{b"k |
da80 | e1 92 af be 1f 97 3f f0 37 98 bd ea 27 e0 8e af 8f db 7e 19 fa f5 f9 97 6e b1 30 89 93 83 db 65 | ......?.7...'.....~.....n.0....e |
daa0 | 9f 35 3c 06 6b fd 45 d0 05 3c d0 24 b0 bf 3b 4e ac d2 10 f6 45 1c 93 0a a3 31 73 d3 d1 3f 4f 03 | .5<.k.E..<.$..;N....E....1s..?O. |
dac0 | 96 e7 6b e0 f2 55 39 25 cf c0 5b 71 9b 1d f2 92 50 2b 91 08 02 ac 3c 72 04 58 b5 f9 59 fc cd df | ..k..U9%..[q....P+....<r.X..Y... |
dae0 | 9f c5 af fd d2 e5 c4 b0 ce ca 87 e1 34 0c b3 c4 cc f3 1e 94 76 5d 85 a5 6f ff 33 81 16 99 dd f4 | ............4.......v]..o.3..... |
db00 | 22 ae e9 28 5f 1f bd e6 e5 3b 4c ac ba 71 1d bd 1e 01 3a 31 2c db 9e 87 55 18 45 eb c4 7d 28 ae | "..(_....;L..q....:1,...U.E..}(. |
db20 | bd 26 bd 80 53 c0 7a e6 0c 87 4c 8b 8a ff 18 cc 62 4e 12 47 dd 66 00 67 d9 83 49 00 e5 37 38 b9 | .&..S.z...L.....bN.G.f.g..I..78. |
db40 | 53 27 4c 06 0a b4 38 63 5d 7c 56 81 4a b2 8c a4 f1 c2 b8 41 44 d8 07 56 31 18 01 b1 d9 27 fe 2a | S'L...8c]|V.J......AD..V1....'.* |
db60 | 33 99 52 65 c4 c2 7a 91 10 5f 94 fa 99 69 d6 b0 f9 de 4f a2 90 57 e6 e3 f9 e4 dd 0f 0d 5d 86 ef | 3.Re..z.._...i....O..W.......].. |
db80 | ac 7a 11 16 c9 b4 5d 68 77 30 7e cb 9b 51 d9 b0 39 3e ac bf 34 a7 a7 30 1a 01 55 04 5c 91 d2 68 | .z....]hw0~..Q..9>..4..0..U.\..h |
dba0 | 10 f4 58 55 c4 ac 3c 6d 02 7a da 6f a5 d8 15 91 a4 04 b3 62 b6 c5 99 f0 62 1e 8e 8f a1 79 fa a4 | ..XU..<m.z.o.......b....b....y.. |
dbc0 | 84 3e 59 66 27 53 19 c4 87 3f 77 06 bf f6 73 c4 aa cc 2a 99 84 6c e2 91 d9 97 e1 ac d9 25 58 b9 | .>Yf'S...?w...s...*..l.......%X. |
dbe0 | 63 28 6c be 08 f5 c7 f7 89 79 1d 94 26 88 65 2d d2 df c5 12 67 fe 6f bc 85 cc f4 85 39 98 05 55 | c(l......y..&.e-....g.o.....9..U |
dc00 | ca 54 1a 29 a3 7e f4 ee 14 b0 52 93 f0 99 64 0b ce a1 f1 a5 77 c0 cc 66 54 68 9d d5 07 96 7d 95 | .T.).~....R...d.....w..fTh....}. |
dc20 | 85 dd 0d c5 79 2c 0e f4 ae 76 a6 13 ca 30 68 05 74 1c 27 8e 46 a6 9f 44 0c c3 95 fe ab 9e 1f 2b | ....y,...v...0h.t.'.F..D.......+ |
dc40 | 59 ad ac d8 51 d8 8f 3c 61 a4 5d 9a 10 3d 36 c2 d8 3c 64 90 69 71 e2 69 27 84 e3 aa 0c 74 de ca | Y...Q..<a.]..=6..<d.iq.i'....t.. |
dc60 | 6d b2 ef d6 cf 3e 82 1b f7 ff 15 8e 3c fa 00 1e fc c6 57 b1 ef 2b 5f e8 f7 61 05 2b fd 5b 2b 6f | m....>......<.....W..+_..a.+.[+o |
dc80 | f7 94 1a 18 84 bc 08 98 22 66 15 81 54 d0 03 2a 22 42 09 86 15 c6 2c 4b f6 d1 93 f2 53 53 72 4e | ........"f..T..*"B....,K....SSrN |
dca0 | 18 76 4d 16 33 1c 18 c4 b1 d9 10 b7 7d eb 14 8c d2 2e 65 4a b3 d9 d7 ec 48 6d 61 e8 9e 44 61 7d | .vM.3.......}.....eJ....Hma..Da} |
dcc0 | 19 76 a5 ac 4c 43 3f 0f b7 91 15 f3 3c 70 3c 6c 18 f5 60 97 38 3a e1 0b d0 17 2a 5d 34 4e 3c 99 | .v..LC?.....<p<l..`.8:....*]4N<. |
dce0 | 5e c3 29 60 3d 73 46 eb 9b ef 81 e9 2e 4b 16 36 b3 2b a7 19 48 ca 82 e1 b3 8a 82 2b 70 11 30 70 | ^.)`=sF......K.6.+..H......+p.0p |
dd00 | 31 38 85 8a 19 71 de 15 d7 18 0a ce 24 b2 3a 63 ff 55 d8 cb 5f 0a 63 20 43 9f c8 1e 92 8a 0b 31 | 18...q......$.:c.U.._.c.C......1 |
dd20 | 76 85 b1 49 98 6c 8e 1a 99 8f 19 5b 31 19 87 3e 96 ab b3 cc e3 0a 54 3a 66 cc 9b c7 d4 c9 bb f1 | v..I.l.....[1..>......T:f....... |
dd40 | c4 fe 7d 70 8a 83 a8 b5 7c 99 cb bc 6d f3 6d 4f 4f 1f f5 8e aa 19 ec b8 01 ba 4e a4 20 da 03 a7 | ..}p....|...m.mOO.........N..... |
dd60 | e8 7e 72 1b 9b 84 11 40 69 89 e4 08 a4 16 0f 1c c1 ec 03 8f a0 71 fc 18 01 16 31 d4 42 1e d5 8b | .~r....@i............q....1.B... |
dd80 | 2f 81 55 2a 29 b5 d5 5c 5e 32 e1 ff f2 e3 27 80 ec 94 fa 21 70 02 a9 d9 14 47 3c 7f 21 e7 18 ca | /.U*)..\^2....'....!p....G<.!... |
dda0 | db c7 c5 e4 f4 6a f3 c8 ae bd 3a f6 23 d2 87 55 69 fc 0c f6 b6 81 7c 6e 09 ad c5 b9 f4 22 4e 4d | .....j....:.#..Ui.....|n....."NM |
ddc0 | c2 67 c6 08 ea 67 d0 7d f0 a3 92 83 c4 11 29 2e e6 ed d6 c8 e4 0b 7d 51 d2 94 52 1b 4e 94 64 41 | .g...g.}......).......}Q..R.N.dA |
dde0 | 28 a9 77 31 e3 6c 77 41 90 84 99 15 c9 f5 29 54 5b e1 c3 92 62 64 7d 9c 69 f4 f4 dd 13 a0 a5 fa | (.w1.lwA......)T[...bd}.i....... |
de00 | 11 9e d3 17 a7 af b3 33 3b eb 3d 0f e7 b6 a4 4f 3c e1 b2 1d ab e1 3f bc 0f 03 3b 9f 8d a5 9a ab | .......3;.=....O<.....?...;..... |
de20 | 3e 43 ac e1 ae 65 66 c2 9e 89 18 68 1b 31 2e c9 89 5e cb d2 51 00 4b 7d 8f c8 a1 ee 69 a0 4a 32 | >C...ef....h.1...^..Q.K}....i.J2 |
de40 | ac ce 52 13 f3 8f 3f 89 ee d2 32 ed a3 f3 38 73 16 d9 d9 19 61 58 56 65 00 85 8d 1b d1 5d 5c 20 | ..R...?...2...8s....aXVe.....]\. |
de60 | 16 9b 83 55 ae e2 3b 4f 75 11 b6 8f d3 55 4f 66 61 7b 1e 21 fd 48 18 16 47 4f c9 d4 36 3d 64 06 | ...U..;Ou....UOfa{.!.H..GO..6=d. |
de80 | 4d e4 57 15 d1 3a 4a 80 35 b5 16 8d a3 f4 9e 16 b1 aa ac 02 2a 23 50 e7 d1 b6 e6 e9 07 c6 48 2f | M.W..:J.5...........*#P.......H/ |
dea0 | e4 94 61 3d 33 46 e7 8e f7 4a 1e 14 ff 9c b3 70 9f 5b e7 5f 78 4f 68 86 30 23 2e 1a ee 04 aa 56 | ..a=3F...J.....p.[._xOh.0#.....V |
dec0 | 8f 23 79 ec ed 76 f5 8a d7 e0 d5 2f 92 ae 17 7e cc b2 d4 fd 68 7f f2 f6 39 7a c5 7a cb ba f0 49 | .#y..v...../...~....h...9z.z...I |
dee0 | a0 4a e2 91 44 19 ad ef fd 7d 32 eb 2e c2 ea 37 fc 22 2a 17 5d 05 a3 38 02 97 6b 1e 23 85 05 3f | .J..D....}2....7."*.]..8..k.#..? |
df00 | 19 c9 d3 8a 0b b1 cf 09 52 3f e9 3a 64 62 b6 03 b4 89 81 35 97 3d d4 17 1c 2c 4f 77 b1 78 b6 83 | ........R?.:db.....5.=...,Ow.x.. |
df20 | da 3c 99 5f cb 2e ba c4 d4 94 52 43 cf 0c 6c 4e cf a3 bb 5c a3 db 2c 4b a3 12 47 3b 33 33 58 7a | .<._......RC..lN...\..,K..G;33Xz |
df40 | f8 61 78 ed 16 ac 81 2a cc 72 05 06 b1 2b bb 38 80 b9 9a 81 a3 87 4e c3 c8 8d 29 56 ca e6 35 b1 | .ax....*.r...+.8......N...)V..5. |
df60 | da 90 59 2b d3 bb 6e 03 03 db f3 72 ae fc 56 1b d9 c9 71 32 bf e9 75 ed 50 21 a4 a6 b1 0c b8 85 | ..Y+..n....r..V...q2..u.P!...... |
df80 | aa 81 e6 a1 bb d2 8b 39 05 ac 0b 7b 84 dd 1a dc 7d 5f 90 10 79 48 8c c9 6f b3 7a 02 a4 c3 0d a7 | .......9...{....}_..yH..o.z..... |
dfa0 | 2e 88 99 e7 aa ec 75 23 63 a9 56 5e 44 84 03 87 f6 f1 73 c2 04 5b 09 7a 51 b6 30 96 45 e8 99 86 | ......u#c.V^D.....s..[.zQ.0.E... |
dfc0 | 3d b9 e2 b0 0f e4 62 73 31 da 4f ef 50 1c c8 aa 28 64 4f 68 21 46 2c 3f aa df 5b 09 54 eb 2f c2 | =.....bs1.O.P...(dOh!F,?..[.T./. |
dfe0 | f0 af fd 01 c6 de f5 57 68 ce d4 51 dc f9 63 58 3c 35 8f 36 67 8d 27 4c 37 6f 05 50 45 33 72 92 | .......Wh..Q..cX<5.6g.'L7o.PE3r. |
e000 | f3 74 83 30 06 35 3f d2 bf 62 20 23 10 eb 34 5c 34 17 1d d4 e7 3a a8 2f 76 d1 aa 13 80 75 02 ad | .t.0.5?..b.#..4\4....:./v....u.. |
e020 | 92 ea 89 19 c8 33 0a 4e e4 d6 ac a1 0f 97 93 28 63 6e d5 6a 62 51 16 ac 42 51 be d4 37 ee 25 33 | .....3.N.......(cn.jbQ..BQ..7.%3 |
e040 | 3c a3 40 49 7c 59 64 f6 05 2d 57 e9 64 d1 9b 5a 59 0f 85 55 59 74 cf 1e 41 7e 0d b1 46 af 0b e4 | <.@I|Yd..-W.d..ZY..UYt..A~..F... |
e060 | ad de 49 d0 c0 cf 12 d2 5e 63 3e bd a0 53 93 f0 c2 1e ce 23 9f 22 d3 a2 05 4e 6d e7 48 a0 e7 9b | ..I.....^c>..S.....#."...Nm.H... |
e080 | 52 b1 e7 fb 3d 47 39 27 31 c2 56 80 22 c0 e6 1b 12 49 93 32 1c 43 81 19 c2 10 e7 25 4c 2b 1c ea | R...=G9'1.V."....I.2.C.....%L+.. |
e0a0 | 91 bd c5 a5 73 d1 13 8c 24 43 33 b4 a3 8a 66 b6 60 89 59 9a 1d 1e 41 79 f3 46 94 d7 af 96 45 9b | ....s...$C3...f.`.Y...Ay.F....E. |
e0c0 | db b8 45 4c a1 f6 83 77 c3 3b 7e 88 e6 53 a8 fc f8 ab 51 bd e5 cd e8 1e 39 8a d6 a1 23 78 ff 97 | ..EL...w.;~..S....Q.....9...#x.. |
e0e0 | ea 40 79 1d 31 a2 3a 72 d5 2a ac 7c 10 77 d4 41 af ed a1 fe 1e 91 92 43 a8 31 40 7d f7 28 95 41 | .@y.1.:r.*.|.w.A.......C.1@}.(.A |
e100 | 12 39 75 be 55 14 35 14 ed 76 f1 69 05 b2 df a9 2d 60 f1 e0 53 12 9c 60 66 15 ea ca 69 23 9b 45 | .9u.U.5..v.i....-`..S..`f...i#.E |
e120 | 7e ed 7a 79 1d 77 79 09 ee d2 92 a8 31 70 5d 26 fb b2 be 79 df 32 7e e6 f5 1b d5 b9 f6 f4 7b 11 | ~.zy.wy.....1p]&...y.2~.......{. |
e140 | cb e2 c6 ac c8 72 f6 42 40 4c 31 8b c6 c9 05 02 b9 75 f4 3d 5c 18 05 43 35 08 89 40 8b 9e 63 65 | .....r.B@L1......u.=\..C5..@..ce |
e160 | 08 e8 c2 66 7a 41 a7 80 75 81 03 d6 03 7f 25 bf f8 c1 b2 43 0b 50 45 fe 18 54 a4 91 42 27 e8 35 | ...fzA..u.....%....C.PE..T..B'.5 |
e180 | 36 55 c5 34 84 13 b6 98 25 ec d3 89 16 7f 64 96 84 2b 80 aa 5f 8a 31 8c 35 aa 42 f4 52 b5 92 c7 | 6U.4....%.....d..+.._.1.5.B.R... |
e1a0 | a8 14 07 33 9e 85 4a 06 95 4d 57 60 fd 2d af 45 6e 6a 0c f6 50 19 76 b5 28 a5 2e fc 78 66 62 4a | ...3..J..MW`.-.Enj..P.v.(...xfbJ |
e1c0 | f5 02 a4 2d 4b 3a 37 ef bd 0f d3 64 ae fd e6 a7 e7 f1 d0 a9 10 23 5b f2 02 7c 01 8b 0e 7a 3d f0 | ...-K:7....d.........#[..|...z=. |
e1e0 | 8c 34 22 23 21 bf d8 9a 8d 4d d9 50 17 3c 87 b1 26 56 90 04 ab 28 ff 4a b3 af 20 f0 25 5f ca 0f | .4"#!....M.P.<..&V...(.J....%_.. |
e200 | 3c 6d 0e 7a da 87 17 8a fa 69 77 6e 16 ce dc 1c ba d3 67 f4 7b 1b 92 e7 66 e6 8a 78 fc 48 93 4c | <m.z.....iwn......g.{...f..x.H.L |
e220 | c1 a5 38 b1 96 5f dc a7 df 0f 23 0b 11 2a 64 e0 b3 89 8c d9 b9 1a 42 33 8f ec d4 20 99 90 2a af | ..8.._....#..*d.......B3......*. |
e240 | 22 74 7d e9 62 c4 80 95 2f 79 68 1c 79 10 43 bb 5f 9b 5e d4 29 60 5d 98 c3 3b 7e 2f c2 d6 69 98 | "t}.b.../yh.y.C._.^.)`]..;~/..i. |
e260 | 75 5a 16 64 0a 86 45 43 7c 28 ac 73 c5 82 74 7e 97 16 50 26 14 36 23 70 a3 13 45 03 5a 98 a1 69 | uZ.d..EC|(.s..t~..P&.6#p..E.Z..i |
e280 | 9c db 42 ab df 0d 95 b8 a5 63 7f da 33 6e 24 1e 8f f2 af a2 56 61 c2 3e 34 60 4d ee de 82 d1 e7 | ..B......c..3n$.....Va.>4`M..... |
e2a0 | bf 4e 7a fc f1 c2 0c bb 9e 2c 52 06 2c b9 58 c6 a7 e4 b8 ee 13 07 e1 1c 39 86 cf 1c 00 de f3 e5 | .Nz......,R.,.X.........9....... |
e2c0 | 05 2c a3 8a e2 e4 38 31 ab 0a b2 e5 32 bd ae 2d 52 36 c2 b0 b4 96 7b 5c 4a 94 e8 00 1d 84 3d d0 | .,....81....2..-R6....{\J.....=. |
e2e0 | 62 f3 8e 53 37 bc 0e 99 7e 27 a6 e5 fb e7 a7 26 e8 7c 64 62 1d 2c 5f d8 95 af 5e 9b d8 52 61 f3 | b..S7...~'.....&.|db.,_...^..Ra. |
e300 | 16 62 5a 35 02 a7 59 78 cd ba bc b8 ef b6 b1 f4 c8 23 ba 3e 32 7a 2f 4e 9e 35 85 61 1d 39 ed c3 | .bZ5..Yx.........#.>2z/N.5.a.9.. |
e320 | 5b 9a 97 62 e6 a0 d1 14 e0 32 da 74 fe b3 a1 b4 57 93 c0 04 81 58 7e d8 91 32 a9 ec c8 08 3a 67 | [..b.....2.t....W....X~..2....:g |
e340 | 8e c3 e2 16 68 8e a7 32 e0 25 f5 64 59 14 a9 d3 91 02 d6 05 3b dc c7 ff 41 4c 8f b0 d6 46 98 37 | ....h..2.%.dY.......;...AL...F.7 |
e360 | 69 71 f9 4a 8c 8f 33 b4 1d 65 9e 20 17 45 ec 94 1c 1e 47 10 7b 9e 46 a3 2f 11 33 91 94 10 e3 54 | iq.J..3..e...E....G.{.F./.3....T |
e380 | 94 67 de 8f 6d 46 3f aa 09 b3 b2 54 8f 43 ab 37 73 39 87 3e 03 4f 02 9c 7a 83 50 a4 0d ef f4 31 | .g..mF?....T.C.7s9.>.O..z.P....1 |
e3a0 | d8 23 43 8a 65 d1 67 ef 1e 78 02 0f 9f f2 f1 db 5f 6e 61 ef 19 07 d9 a1 09 02 a9 0a 8a 23 83 a8 | .#C.e.g..x......_na..........#.. |
e3c0 | 10 c0 e4 aa 03 04 ae b6 24 75 26 c2 84 89 c6 ad 09 a6 a5 01 cb eb ba 58 3a 70 4c 69 76 b9 9e 30 | ........$u&............X:pLiv..0 |
e3e0 | 28 4e 27 70 5a 1d e4 26 c6 b9 9e 88 4c 5a 5b 03 56 10 eb be 9b 03 55 64 8b 15 d8 a3 e3 58 7e e0 | (N'pZ..&....LZ[.V.....Ud.....X~. |
e400 | 6e ed 9f 53 a8 a8 b2 ea 03 05 5c 6c 5a d3 77 35 73 25 09 60 3c 7c b0 83 4b d7 f8 71 4d 90 bc 5e | n..S......\lZ.w5s%.`<|..K..qM..^ |
e420 | 2b 84 cd 52 ee 64 8a 73 c7 21 2b 98 d1 a9 fd a5 44 d1 a2 ae 51 92 f7 70 d3 0b 3a 05 ac 0b 9c 61 | +..R.d.s.!+.....D...Q..p..:....a |
e440 | 1d fa 3a cc 2e af 11 ce a6 26 36 31 d3 89 db 28 b3 00 9f 88 a4 ab 74 c7 b8 76 46 4c 45 0d 54 86 | ..:......&61...(......t..vFLE.T. |
e460 | b6 ab fa d2 19 22 40 32 e2 ec 84 7e c8 8a f3 13 0c 0d 54 0a 9c 90 00 2a e8 ae 3a 86 e1 c3 3d f9 | ....."@2...~......T....*..:...=. |
e480 | 1d 64 27 2f 83 7b ec 04 5c 5e f0 b4 df 3b 5d a4 c5 9e c3 62 dd c1 7f bb dd c4 57 f6 b5 61 97 06 | .d'/.{..\^...;]....b......W..a.. |
e4a0 | 90 9f 9c 42 b6 50 44 be 5a 46 85 18 56 81 81 8d 95 26 02 4e 01 08 fb 4c d0 95 19 ef b1 ce 3b 61 | ...B.PD.ZF..V....&.N...L......;a |
e4c0 | 40 6b 66 09 ae e3 68 df 95 2f be 22 11 1b 5c 5a 42 6b 7e 5e b2 cf 8d 22 bd cf 86 4d 2a 82 1a 8b | @kf...h../."..\ZBk~^..."...M*... |
e4e0 | 11 06 b1 d4 0e 82 44 10 21 11 75 60 d0 12 d9 1d 57 45 25 f8 5c 9e 3d d3 c6 ee 8d 86 f8 c2 d4 7b | ......D.!.u`....WE%.\.=........{ |
e500 | 72 76 6c c0 5d ed 61 e5 21 cf 65 16 25 79 0c 56 0e 56 81 c0 72 b9 a3 52 2e e2 50 ac ab cc 79 1a | rvl.].a.!.e.%y.V.V..r..R..P...y. |
e520 | 27 bf f8 41 ac 79 e9 cf a7 17 78 0a 58 17 ce f0 4f de 47 4b a5 85 70 89 7e 99 cb b6 64 51 33 7b | '..A.y....x.X...O.GK..p.~...dQ3{ |
e540 | 62 91 bc 68 c1 49 53 08 98 2b 1c e9 1a a0 0c b3 cf c9 1e 6f 8d 24 30 29 f3 2f 2e fa 8b 2a 9b a3 | b..h.IS..+.........o.$0)./...*.. |
e560 | 8d 65 e8 69 8a 56 7b dc fe 8b bb 48 13 83 e2 19 2c ee 13 ff 93 91 ad c2 cc 70 69 4b 46 92 b0 3e | .e.i.V{....H....,........piKF..> |
e580 | 70 9f 8b 3f bf 3f 44 d7 2c a0 b0 6a 83 38 d6 f3 64 02 16 86 c8 1c e4 39 5c 45 a6 5c 94 8e 89 81 | p..?.?D.,..j.8..d......9\E.\.... |
e5a0 | 17 9e 63 b7 86 58 99 83 d5 8b 74 1a f9 82 f2 5d 79 8a 5d 05 c2 a2 14 cb 52 a0 44 00 b6 b4 08 b3 | ..c..X....t....]y.].....R.D..... |
e5c0 | 51 97 a6 11 02 58 5e 2f db df 59 98 d1 ce fc b0 57 67 c9 cf f7 5d ac 19 2b 60 90 cc d4 c7 9e 9c | Q....X^/..Y.....Wg...]..+`...... |
e5e0 | a1 73 65 0a 00 1f 3a 4e e6 de 73 4c 15 25 f4 55 a9 53 d0 21 96 d5 54 a7 4e 1c 7e cc a6 4c f6 1d | .se...:N..sL.%.U.S.!..T.N.~..L.. |
e600 | 66 61 97 0b 68 9f 5a 42 66 34 47 c0 e7 2b 16 67 a8 f7 5a 7c f8 01 9c f8 d2 47 31 f6 dc 17 22 37 | fa..h.ZBf4G..+.g..Z|.....G1..."7 |
e620 | b8 39 bd d0 ff 2f 8f 34 ad e1 df 8b 5d 1d fe 3a fd 60 1b 92 0c ca c2 a0 a2 9c 29 1d a7 4c 91 26 | .9.../.4....]..:.`........)..L.& |
e640 | 10 53 ce 32 e3 c4 4f 03 46 6c 42 25 99 52 a8 13 44 15 a3 ea 07 ab 73 b6 71 81 73 8f 59 19 1a a0 | .S.2..O.FlB%.R..D.....s.q.s.Y... |
e660 | 92 a6 a0 7a cc 12 b3 8f 4b 59 58 56 d8 20 76 c1 b7 67 9b 21 5e fa f1 00 ef b9 db 82 5b 1c 43 69 | ...z....KYXV..v..g.!^.......[.Ci |
e680 | ed 26 94 57 ad 42 75 fd 5a 0c 6e 5c 8f ea ba 35 28 90 d9 66 95 ca 62 0a f6 52 18 d4 e4 52 1e b7 | .&.W.Bu.Z.n\...5(..f..b..R...R.. |
e6a0 | 6f 1f b4 1e 7d a8 da 76 b1 a6 7a 2e 8f e2 a6 f5 c8 4d 4d aa ba 42 8f d3 15 08 d0 59 93 8b 33 ff | o...}..v..z......MM..B.....Y..3. |
e6c0 | d9 a9 9e c9 c1 eb 74 c9 7c 74 e8 31 0d 64 34 9d 85 59 74 4e 1e ef e5 a3 05 2a 5a c8 60 e5 b5 ea | ......t.|t.1.d4..YtN.....*Z.`... |
e6e0 | 98 3f 7d 06 9f 79 d7 4d d8 b9 ae 22 80 c6 fe b5 a3 67 f8 dc 7b b1 d3 5d f4 b0 38 f3 bd e5 4b 29 | .?}..y.M...".....g..{..]..8...K) |
e700 | 54 2c 37 61 38 1a bc 18 ec 8b e2 bf 82 a3 d4 31 22 20 3e f2 f7 1f 05 9a 67 31 ff d0 97 d2 8b 3c | T,7a8..........1".>.....g1.....< |
e720 | 05 ac 0b 88 61 9d be 8f 2e 6c 5a 10 15 53 85 e8 dd 30 f6 37 89 39 68 45 28 a4 d8 54 20 0e eb b0 | ....a....lZ..S...0.7.9hE(..T.... |
e740 | e7 29 37 7a a6 4f ec 87 3a 87 45 c5 7d b7 34 58 29 89 05 16 9f e3 c9 8c ca 94 db bc b5 14 78 f1 | .)7z.O..:.E.}.4X).............x. |
e760 | ed 6c 26 06 2e 93 99 56 8e fd 3e a7 70 c7 51 1f 37 fc b5 87 03 ad 01 14 d7 6d c6 c0 e6 8b 30 b8 | .l&....V..>.p.Q.7........m....0. |
e780 | 79 23 86 b6 6c c2 c0 fa 35 28 8e 8f 12 fb 50 52 ce cc 14 15 58 29 10 e2 f4 83 f8 b6 dc f7 69 eb | y#..l...5(....PR....X)........i. |
e7a0 | 0b 8b f2 78 ba 9e f8 ab 3c 62 2c 2e ef 37 e8 73 54 06 90 99 98 90 fd d2 ca cb 53 51 40 b9 df ed | ...x....<b,..7.sT.........SQ@... |
e7c0 | a0 79 60 3f bc 5a 5d 7c 7f 5e bd 8e c6 e3 0f a1 75 70 bf 08 ee a9 82 70 0d 56 7c 9b 3b 68 b7 9a | .y`?.Z]|.^......up.....p.V|.;h.. |
e7e0 | 98 3d 75 16 e5 bc 83 cf bd e7 3a ac 1e c9 c8 8f 80 e3 46 1a 62 0a ac ec 81 8a 94 3d 71 b7 22 ae | .=u.......:.......F.b......=q.". |
e800 | 26 e0 40 83 00 16 37 5b b5 34 fb b5 2b 92 fe c0 7f 37 88 df 8d 7b 39 0e 61 f1 a1 ef a0 bb 14 a2 | &.@...7[.4..+....7...{9.a....... |
e820 | 3d bd 17 dd b9 27 d2 0b 3d 35 09 9f fe 23 74 ea 08 17 e9 62 e6 5f f0 32 8b 4f 99 da 14 31 a4 dd | =....'..=5...#t....b._.2.O...1.. |
e840 | 0c 3b de 8d bc d9 6f ea a1 bf 5e 4f 7c 56 fc eb 6e 19 bd 04 4f dd 07 30 8c c0 ea 1c 86 95 30 ff | .;....o...^O|V..n...O..0......0. |
e860 | 34 68 19 09 d0 b2 b2 c4 a8 b8 49 aa 6c 15 68 41 83 16 cc 36 de 7b e7 12 9c e2 26 14 a7 88 45 8d | 4h........I.l.hA...6.{....&...E. |
e880 | 8d a0 34 31 46 66 cf 20 32 a5 bc 38 e0 d9 fc 0b 75 d6 aa e1 f7 37 d5 39 af 49 48 c0 d4 3e 73 16 | ..41Ff..2..8....u....7.9.IH..>s. |
e8a0 | dd 85 25 a5 59 55 cc a3 b0 76 ad e4 52 39 4b cb b0 e9 b5 59 a0 8f cd 2e f1 65 45 e6 a1 c7 cc c7 | ..%.YU...v..R9K....Y.....eE..... |
e8c0 | 51 8c 6a 71 01 19 32 21 5b 87 0f 12 80 34 74 04 72 c5 0c 02 ed e4 27 a0 5c 9c 41 63 f9 38 06 4a | Q.jq..2![....4t.r.....'.\.Ac.8.J |
e8e0 | 5d 7c ec 5d cf c6 d5 2f 79 1c 0e 37 6c 75 d4 0f 40 66 7c 8a de b7 02 e7 ec 82 98 85 41 3b fa 19 | ]|.].../y..7lu..@f|.........A;.. |
e900 | 67 87 bd 23 ed d0 58 b2 c6 1e 18 46 fb a9 63 ca b7 18 aa 0a ee ce b2 85 d6 cc 59 e4 87 88 45 2e | g..#..X....F..c...........Y...E. |
e920 | 1d 45 eb d4 83 c8 8d 6e 4b 2f f8 14 b0 9e e6 ec ea d4 7d 30 da b4 88 06 2d fa d1 f6 e2 1e 7b 6c | .E.....nK/........}0....-.....{l |
e940 | 0e b2 79 24 5c 4b 97 dc 28 82 a5 d8 56 54 e6 67 44 d1 40 fe d1 8f ba 97 26 fb 00 26 80 ca 88 fa | ..y$\K..(...VT.gD.@.....&..&.... |
e960 | 05 26 c0 4a 31 aa c4 d6 d4 bd 06 39 a4 2f 2d b2 32 02 58 0a a8 a0 98 16 dd f7 c9 c4 b3 f3 19 14 | .&.J1......9./-.2.X............. |
e980 | 57 4f 12 60 8d 21 4b 4c c4 94 6e 3a a6 4a 07 60 0d 75 a3 07 a0 91 b3 df 58 e1 83 8b 9c ef 1e 01 | WO.`.!KL..n:.J.`.u......X....... |
e9a0 | 4c 6b 66 ae a7 2e b1 d4 15 e6 65 16 8a e8 9c 3a 29 e6 9a 59 24 d3 8b cc b9 40 fb a1 c4 f4 63 c0 | Lkf.......e....:)..Y$....@....c. |
e9c0 | 12 47 3b 31 ab 53 c7 e0 36 6a f0 75 1a c3 ca 19 65 f0 2b 30 57 00 fc ad fb 66 71 f3 8d 21 2e d9 | .G;1.S..6j.u....e.+0W....fq..!.. |
e9e0 | d8 c1 5b ff 9f 9d 70 9f b8 9f 00 cb 15 1f 96 4d 40 9c 1d f4 94 c4 b4 94 e4 70 2f 0f 16 00 e4 93 | ..[...p........M@........p/..... |
ea00 | dd 11 1d 2c fe 16 7c 3e 02 87 41 dd 15 f5 d6 e2 80 81 63 f7 3f 20 a7 bd 53 e7 4c f9 26 bc f6 62 | ...,..|>..A.......c.?...S.L.&..b |
ea20 | 7a b1 a7 26 e1 d3 7f 04 a7 ef 47 6b 8e 7e d2 b3 a6 8a f8 e9 c8 60 54 d0 6c 64 7a e9 09 61 df a2 | z..&......Gk.~.......`T.ldz..a.. |
ea40 | d7 b1 41 b3 47 bd 0c 5d 1c 6c 24 4c 41 44 1a 57 91 29 18 39 d6 19 9c 32 04 52 19 53 1c e8 32 99 | ..A.G..].l$LAD.W.).9...2.R.S..2. |
ea60 | 51 11 08 b1 fe b9 55 ce cb 3b b1 d4 0a c8 4c e2 45 69 17 0a ea c2 a0 db 97 6f ce 10 48 95 91 1f | Q.....U..;....L.Ei.......o..H... |
ea80 | 1d 21 56 55 14 c6 c6 ce 70 3f 32 e7 08 48 3c 37 32 ef 7c 31 ef d8 dc 73 13 53 1d e3 6b 33 90 f3 | .!VU....p?2..H<72.|1...s.S..k3.. |
eaa0 | cd 94 7f 2a f0 1c f1 55 75 e7 e7 d1 66 95 05 7a 0d b7 d5 92 5a c0 d8 0c 94 e3 55 9d 20 fb b1 b8 | ...*...Uu...f..z....Z.....U..... |
eac0 | 33 0e b3 2e 77 61 4e 47 eb 02 95 9a 91 c9 ea fa 49 0d 56 41 94 5a af ce 91 d3 39 0b 71 44 b5 9e | 3...waNG........I.VA.Z....9.qD.. |
eae0 | c0 6f fd e2 28 c6 86 6c c5 56 99 61 8d e6 60 65 7c 58 c5 8c 44 12 59 e6 47 8a ce c5 fc 76 e3 68 | .o..(..l.V.a..`e|X..D.Y.G....v.h |
eb00 | 60 e8 2c d2 fb 54 63 75 d7 ca b8 8d 87 ef 78 58 8a 04 38 ca 68 66 f3 70 eb d3 e9 c5 9e 32 ac 0b | `.,..Tcu......xX..8.hf.p.....2.. |
eb20 | 80 61 9d f9 4e 8f 71 78 61 dc 14 54 a2 54 4e 20 a6 9a 24 59 06 41 ec 93 ea a9 89 22 8e 10 2a b1 | .a..N.qxa..T.TN...$Y.A....."..*. |
eb40 | f2 fe c8 9f 8a 08 26 7d 58 89 48 20 fb a9 6c b5 35 c5 a1 ae b6 6c 02 1a 89 fb cc a8 d0 21 60 a8 | ......&}X.H...l.5....l.......!`. |
eb60 | b7 61 8d 0f 4a 33 56 5e 89 eb 47 e8 f5 17 38 7f a9 a0 5c 67 9e 2f ce f8 08 2c 8d 84 59 6a 18 89 | .a..J3V^..G...8...\g./...,..Yj.. |
eb80 | ee d0 2b cc 41 e1 59 0c 26 2c 42 e1 bb b1 19 d9 d3 ed 0a 74 8a 83 2a b3 51 6c 47 fb 98 02 95 2c | ..+.A.Y.&,B........t..*.QlG...., |
eba0 | 1a c6 fa 39 91 8d a9 19 15 47 03 13 e9 0c a1 0e 41 46 00 c6 1f c8 69 d6 68 3b 40 a0 bc 88 6a ae | ...9.....G......AF....i.h;@...j. |
ebc0 | 81 ff fc 73 a3 64 de d5 e5 f5 ed 0a 1d 37 b7 8c e2 86 b5 58 7e f0 a0 32 0b bb 21 ac 0a 01 b4 ef | ...s.d.......7.....X~..2..!..... |
ebe0 | 44 22 5b f4 b7 6a c2 28 0e 93 69 3f ad 1c f1 81 89 db 66 27 f0 ba 81 53 82 9d 66 c8 dd b8 97 d3 | D"[..j.(..i?......f'...S..f..... |
ec00 | 8b 3d 65 58 4f ef e1 9d 7a 0c 61 fd 14 06 5e f0 5a 55 98 cc ce dc 40 9b 7b 9e ce 01 d2 99 ed a1 | .=eXO...z.a...^.ZU....@.{....... |
ec20 | 1f 3b ac e2 68 60 0c 5a bc f6 2c a3 e7 50 d7 ce 75 23 c1 ae 18 a8 cc 18 a0 f4 d4 b7 fb a2 82 91 | .;..h`.Z..,..P..u#.............. |
ec40 | b3 9d cb 55 d8 97 55 cc 21 33 36 40 a6 19 b1 8c 4e 5b 18 98 61 f9 58 3f a6 18 8d d3 68 4a 1a 81 | ...U..U.!36@....N[..a.X?....hJ.. |
ec60 | 62 4a 6a 06 e2 10 f7 15 fb 61 a7 b9 eb 27 98 51 62 26 8e 63 5f 50 7e fd 46 a9 f5 e3 14 83 f8 39 | bJj......a...'.Qb&.c_P~.F......9 |
ec80 | 1c 09 f4 74 21 b3 a7 34 a8 54 24 50 3d 16 06 41 8f 51 85 ea b6 b0 9e 68 4a b4 cf 17 00 8a 9d ee | ...t!..4.T$P=..A.Q.....hJ....... |
eca0 | b1 fa aa 89 bd 87 09 6c 4c 06 1e 07 46 e3 14 7d 86 a2 9c 6b 7b 20 a7 12 65 bb 0d e4 a7 c6 84 7d | .......lL...F..}...k{...e......} |
ecc0 | 4a 16 bb 38 dc f9 47 c3 55 2c 8b 5f b7 3d 4b e7 c9 d6 7d 11 43 2c cc 87 38 1c 0e c2 75 95 ac 32 | J..8..G.U,._.=K...}.C,..8...u..2 |
ece0 | f7 43 f4 da b5 f4 82 4f 19 d6 d3 9c 5d cd ee 85 b5 e1 26 04 8b c7 7b e1 73 ae 21 74 55 eb 29 fe | .C.....O....].....&...{.s.!tU.). |
ed00 | b5 0e 34 4e 71 f2 b4 61 a9 74 85 b8 52 30 f2 4f 49 a7 d1 84 cf ca 8c 6a 01 35 a0 99 09 33 d0 ea | ..4Nq..a.t..R0.OI......j.5...3.. |
ed20 | 31 ab 1e d3 52 20 c5 6a 07 9e df c5 d0 14 99 7a b9 8c 1c c7 21 7e 66 5c f6 50 55 d2 01 82 2e 81 | 1...R..j.......z....!~f\.PU..... |
ed40 | 56 d5 c2 70 a1 ab 4c 32 06 16 36 19 cd 9e c4 72 60 24 99 15 e2 ba 45 e3 fc 3e f7 5e b6 3b cb 3c | V..p..L2..6....r`$....E..>.^.;.< |
ed60 | 5b ba e8 59 b3 2d 01 1d 5f 31 2c e8 68 9f 38 db 05 1d c2 3e 96 a6 6e 07 09 b9 9c a8 3f 63 d8 3b | [..Y.-.._1,.h.8....>..n.....?c.; |
ed80 | 67 1c 04 90 e6 1b 2a 9d 63 69 71 81 76 ae 52 e6 5d 87 58 50 ce 46 6e 6d 15 ce 5c 9b eb a1 54 9d | g.....*.ciq.v.R.].XP.Fnm..\...T. |
eda0 | 60 fb 20 aa 97 6f c5 f2 fd 8f 2a ff 62 29 2f 0c 8b 75 de e3 08 24 ea b2 e5 92 9c c7 8e e6 d1 08 | `....o....*.b)/..u...$.......... |
edc0 | 33 02 58 7c 42 ec bc 85 6e 6b 29 bd e0 53 c0 7a 9a fb af 16 8e 20 77 d5 2f a3 fd 91 1b a4 23 b3 | 3.X|B...nk)..S.z......w./.....#. |
ede0 | 28 2f f8 3a f1 d1 d3 51 3f 9d 58 15 25 24 9a 3a bb 21 34 56 28 e6 99 0a 2c e2 db 51 ae 95 06 ab | (/.:...Q?.X.%$.:.!4V(...,..Q.... |
ee00 | d8 a9 4e b7 59 28 73 69 b6 8b da 92 8b a5 79 17 a3 6b 4a 68 37 3c 2c cf 77 31 77 ba 25 60 93 a3 | ..N.Y(si......y..kJh7<,.w1w.%`.. |
ee20 | 45 36 b9 6d 08 ee c5 db 31 3e 95 c7 9d 4f 01 6f bc 2e 87 6a 01 58 a6 75 5d b1 89 e1 b4 5b c4 b0 | E6.m....1>...O.o...j.X.u]....[.. |
ee40 | ea c4 be 0a 02 b0 46 c2 7f 66 f4 c9 d0 18 df 3b 4a 18 5b 71 0a 70 9c c5 79 b8 f5 5a 42 da 39 02 | ......F..f.....;J.[q.p..y..ZB.9. |
ee60 | a0 08 a8 22 36 95 00 a2 44 5d 4f 18 3b d8 a1 b3 d9 23 9f 55 f4 58 04 30 2a 80 e0 74 16 e8 5c 76 | ..."6...D]O.;....#.U.X.0*..t..\v |
ee80 | 94 69 cd ec 89 be 4f 7e 4d 99 4c e0 26 f7 36 53 8c ae 5b 87 5d 24 06 b8 8a cc df 5a 03 c8 58 4a | .i....O~M.L.&.6S..[.]$.....Z..XJ |
eea0 | 29 30 d0 12 ab 92 f4 de 50 29 0f 64 96 1f 3b 63 a1 19 da 70 08 b0 06 c6 f2 c4 ce 7c f1 d1 a7 23 | )0......P).d..;c...p.......|...# |
eec0 | 05 ac a7 f5 b0 c6 b7 69 16 40 80 d4 09 95 39 e8 aa c5 c8 79 ee bd 06 10 86 f6 21 6b 44 8a a4 5f | .......i.@....9....y......!kD.._ |
eee0 | a0 c0 89 7b 12 1a 91 bf 2a 02 a9 08 b8 34 9b 62 bc 6b 36 5c 2c cc 3a 98 39 eb a0 51 23 73 ce 51 | ...{....*....4.b.k6\,.:.9..Q#s.Q |
ef00 | d9 dc 67 8e b7 7a 0a a2 ba e5 17 9b 5d bf 7b e8 62 ec 3b be 0e 95 92 8d 3a 2d b8 0f 3e d0 c1 db | ..g..z......].{.b.;.....:-..>... |
ef20 | 7e dc c3 73 2f 0a d1 ec 72 ca 05 77 9b 26 93 70 d0 d7 ef 69 c4 9d 73 fa 1a 5b 00 e7 ca 90 f6 a1 | ~..s/...r..w.&.p...i..s..[...... |
ef40 | 55 a2 f0 59 cc 41 b7 17 d5 0b b4 ff 2a 21 90 d7 ab e9 09 13 a0 95 00 b0 20 59 86 93 04 b5 20 a1 | U..Y.A......*!...........Y...... |
ef60 | f5 a5 7c 58 6c 9a b2 a2 28 a7 4c c8 5b b4 db 04 c0 59 64 46 b3 d2 a3 30 8a 18 86 cb 33 28 6e cc | ..|Xl...(.L.[....YdF...0....3(n. |
ef80 | a2 f3 14 9d cf 52 46 b3 2f 57 0b 2b 72 82 ab a3 19 a0 89 63 33 16 4e 58 63 70 1d 0f d5 75 b6 28 | .....RF./W.+r......c3.NXcp...u.( |
efa0 | 9c 5a 4e 31 bd e0 53 c0 7a 7a 8f ec c5 af 84 77 e2 3e f1 7d f8 04 20 61 d6 94 28 99 d4 09 06 a1 | .ZN1..S.zz.....w.>.}...a..(..... |
efc0 | 8e 03 1a ba 61 44 82 48 24 41 20 02 06 0b e7 82 95 a5 58 98 47 0b a7 d3 0d b1 48 6c 6a 66 da 45 | ....aD.H$A........X.G.....Hljf.E |
efe0 | 7d d9 23 73 45 29 98 46 ca 05 fc 8a 56 a2 47 e1 1d c6 7a ec 2f 6d 41 a6 3c 84 36 97 32 66 42 cc | }.#sE).F....V.G...z./mA.<.6.2fB. |
f000 | bb 5d fc bf 9f 5e c6 8d bb 2c fc a7 eb 1a 2c 09 2a c0 c6 8c c8 2e 96 7a 66 60 c2 e9 8e 84 69 f8 | .]...^...,....,.*......zf`....i. |
f020 | 7d 47 54 07 99 2b 48 3f c0 f6 f1 c3 f0 5b 2d ed 8b 4a 80 54 0c 70 3d e6 94 bc df 07 54 7d ca 84 | }GT..+H?.....[-..J.T.p=.....T}.. |
f040 | 9a b1 69 a7 bb 44 fa 38 a1 b5 45 4c 8a 19 16 7c ed c8 a7 6d a3 85 fc 14 67 af 77 85 61 a9 6e da | ..i..D.8..EL...|...m....g.w.a.n. |
f060 | 5c bf d8 46 76 2a 43 80 95 55 0c 4b 4c 42 4f 3d af d1 89 7b 3e 7e fb 89 a2 fc 41 d8 24 ac 6c ca | \..Fv*C..U.KLBO=...{>~....A.$.l. |
f080 | c1 1a e8 c2 5c 1e 49 2f f8 14 b0 2e 00 b3 70 f6 09 5a 10 06 3a 67 db b0 d6 e5 95 73 38 21 6e 97 | ....\.I/......p..Z..:g.....s8!n. |
f0a0 | f4 f5 84 9a 2d 44 65 d0 41 18 c6 8c 26 d4 9d 9a 25 54 a2 fd 57 86 96 70 e9 3a 21 96 16 3d cc 4e | ....-De.A...&...%T..W..p.:!..=.N |
f0c0 | 3b a8 2f f9 22 3d cc 39 56 92 8a c4 c1 45 4b b9 7e 98 c0 d9 76 c8 55 40 78 dc de 88 ec d8 6a 02 | ;./."=.9V....EK.~...v.U@x.....j. |
f0e0 | a2 b2 0e 02 38 ca f1 5d 2c e2 ce 53 0e ee fa 54 15 99 8c d2 ec 62 c7 b2 21 45 86 da 80 35 8c 18 | ....8..],..S...T.....b..!E...5.. |
f100 | 08 93 cc 6a 25 70 c5 cc 28 09 58 a1 f2 65 e5 36 6e 83 33 77 16 ce f4 69 e5 47 62 80 9f 5a 0b 6f | ...j%p..(.X..e.6n.3w...i.Gb..Z.o |
f120 | 61 56 4c d1 9e 99 07 ac 10 85 ef 03 b3 88 5d a9 94 86 c8 c7 e5 4b 1a 04 9b d8 9c 69 2f f6 78 e4 | aVL...........]......K.....i/.x. |
f140 | 33 e3 74 89 56 07 46 c1 16 40 16 9d 2b 5f b3 3b f1 51 31 58 75 75 d9 8e 13 3f c6 4c cb 6f fb e2 | 3.t.V.F..@..+_.;.Q1Xuu...?.L.o.. |
f160 | c3 3a 3a 9d 95 93 ca cc 70 60 63 11 5e 6d 09 56 61 7b 7a b1 a7 80 f5 f4 1f de d9 c3 b2 a0 3b 33 | .::.....p`c.^m.Va{z...........;3 |
f180 | 1d 14 d7 e6 34 60 99 d2 c1 19 58 d1 04 35 56 59 d0 fd 02 59 08 2f d7 33 bd 7a bd 05 95 3f 4b a5 | ....4`....X..5VY...Y./.3.z...?K. |
f1a0 | 0a 84 a8 11 a3 9a 9b 71 68 eb 8b 15 c3 c7 e8 c4 75 69 ca 2a 12 cc f4 8f 6b 99 2d 4b 3d ef 68 7e | .......qh.......ui.*....k.-K=.h~ |
f1c0 | 2d 32 43 a3 c8 0e 0e 8b a3 3e e4 88 1c 47 eb 5c 47 16 ae 45 8c 44 5a d9 f3 02 0e 7a 7e a1 30 e1 | -2C......>...G.\G..E.DZ....z~.0. |
f1e0 | 5d ef 39 dd 13 be ac 73 21 2b 41 9e c2 3e 47 bc 3d 34 06 33 5f 82 33 73 9a b6 05 ba 3f 0a 6f 71 | ].9....s!+A..>G.=4.3_.3s....?.oq |
f200 | 4e 97 d9 f4 03 95 52 15 4d ec eb 03 2b c4 9a eb b1 0e b4 06 4b c7 21 90 09 ba ca c9 cf e7 9e 4e | N.....R.M...+.......K.!........N |
f220 | 28 07 38 d8 34 8c a2 82 e2 db d2 0c cd cc 67 a4 33 b4 30 31 66 60 8e 66 58 72 ce 89 c5 2e 01 a7 | (.8.4.........g.3.01f`.fXr...... |
f240 | ea f4 47 19 b1 30 7a 51 1e c3 3b 06 51 3f 36 8b ca 96 f5 e9 c5 9e 02 d6 05 c0 b0 5a 35 78 73 5d | ..G..0zQ..;.Q?6............Z5xs] |
f260 | b8 0d 05 04 52 60 4b 70 10 46 e5 83 41 18 77 c3 89 95 43 a3 ad d7 4b 28 65 09 2b 23 e9 ec 36 35 | ....R`Kp.F..A.w...C...K(e.+#..65 |
f280 | bb ea 2a 76 c5 3e 2b c9 40 67 15 78 0b 1a b0 42 b9 6d 4a 15 10 01 56 56 01 99 51 ce c0 36 f3 4a | ..*v.>+.@g.x...B.mJ...VV..Q..6.J |
f2a0 | 56 26 97 93 6c 77 23 66 29 4a 91 40 4a 75 38 9b 9d d3 1f 32 1a 68 57 f8 aa c2 f3 74 57 35 8c f3 | V&..lw#f)J.@Ju8....2.hW....tW5.. |
f2c0 | b9 b0 ce 55 70 88 00 c5 c8 e6 90 5b bd 51 ed d7 35 7e d0 ef d5 6f 16 26 c0 09 2b 9d f1 41 c2 e9 | ...Up......[.Q..5~...o.&..+..A.. |
f2e0 | 1e c6 91 3d be 6f 73 3d 20 e7 54 05 aa 46 30 34 e8 fb 56 36 d1 df e5 61 f5 1c ce a8 d7 80 c5 be | ...=.os=..T..F04..V6...a........ |
f300 | 31 b3 c0 0e 77 47 b1 be ae a3 0a a5 d9 bc b4 d4 31 8f 1c 21 40 33 6c 99 63 3b 06 30 7a 71 19 73 | 1...wG..........1..!@3l.c;.0zq.s |
f320 | df 3d 81 91 6b 36 a6 17 7b 0a 58 17 c0 70 67 e1 36 3d 05 30 81 56 1b cd a2 67 16 a2 d7 b4 34 ea | .=..k6..{.X..pg.6=.0.V...g....4. |
f340 | 23 98 ec e6 1c 5b 5d 56 2f 85 21 92 90 e1 d2 9e 76 d3 47 b3 ee cb 6d 53 94 44 69 91 da 86 30 29 | #....[]V/.!.....v.G...mS.Di...0) |
f360 | 06 a1 6c 46 a7 45 70 8f c1 8c 6a f7 35 b9 3a 8b 8b 69 21 3e 16 75 ab 90 32 20 53 39 f6 2d 3b 36 | ..lF.Ep...j.5.:..i!>.u..2.S9.-;6 |
f380 | fb 22 5f 55 18 77 a1 48 a4 2f ac 44 a6 15 3a 81 fd e0 74 1e b0 5a 09 66 9a 7d 05 dd 8e ee 7a 11 | ."_U.w.H./.D..:...t..Z.f.}....z. |
f3a0 | 9e 1b 29 44 4f 72 59 87 09 35 96 05 3d 3f 97 4e 48 8d 80 cb 62 76 e9 77 55 52 2a 03 96 33 07 6b | ..)DOrY..5..=?.NH...bv.wUR*..3.k |
f3c0 | f5 75 f0 97 ee 57 2c d5 0d e2 c2 72 33 cf e7 c0 d7 9a ef 2a 33 3f d4 52 36 62 12 3a 01 ee 3a 98 | .u...W,....r3......*3?.R6b.:..:. |
f3e0 | 8f f5 ca 76 be 7a 02 ce fc 12 59 96 25 e4 86 52 c0 4a 01 eb 02 18 ce d9 45 b8 4b 4a aa c4 5d 76 | ...v.z....Y.%..R.J......E.KJ..]v |
f400 | 15 30 f9 bd 4e 36 1c c5 b3 ac a4 9a a8 96 35 8e ba 34 33 88 d9 46 cf 14 4c f8 8d 5c 5a 44 ad 56 | .0..N6........5..43..F..L..\ZD.V |
f420 | 40 16 4c a0 30 4c b7 94 17 d3 cf 54 1a 74 1c a1 0f b4 69 c8 fb f9 65 4b 55 1b cf 0b 8f e3 d1 e6 | @.L.0L.....T.t....i...eKU....... |
f440 | 6e a5 89 ee db f2 da b1 b3 1f 3a 32 09 a3 27 b5 9c e8 fb 15 f6 b0 0b df 33 01 0b df 1b a8 7a da | n.........:2..'.........3.....z. |
f460 | f2 e1 8a 1e 89 64 b0 ad dd 82 ce 91 fd 08 9c 6e 3f a8 f5 44 ed fb 22 87 71 39 4e 92 61 85 51 ba | .....d.........n?..D..".q9N.a.Q. |
f480 | 84 07 3b c7 11 bf 8e f2 61 49 83 8f 01 58 65 32 3d 3d 66 b5 5d 6d 12 aa e3 33 25 5b 1d c7 cf e7 | ..;.....aI...Xe2==f.]m...3%[.... |
f4a0 | ae d0 1c 41 d4 cd 27 42 91 e1 31 70 d7 53 05 70 9f b6 5f bd 79 16 13 3b 32 68 9e 5c a2 df 82 32 | ...A..'B..1p.S.p.._.y..;2h.\...2 |
f4c0 | f2 13 17 a7 17 7b 0a 58 4f ff c1 20 e0 37 dc 44 93 53 f5 ab ce 66 60 97 f6 67 ca 56 2f db 5d 4a | .....{.XO....7.D.S...f`..g.V/.]J |
f4e0 | d8 3c c9 a9 3a 2f 65 d1 d9 ef 91 ef 88 5b 61 b9 5c 8f 48 0b 2a 6b 1b ba 9b b3 62 55 96 a1 f2 be | .<..:/e......[a.\.H.*k....bU.... |
f500 | 6c 9d 70 6a 0b f3 52 68 91 2b d8 78 79 f1 20 3e bc 5c 43 d7 d5 e5 38 a1 99 78 fd 24 83 ea a9 43 | l.pj..Rh.+.xy..>.\C...8..x.$...C |
f520 | f4 80 69 05 48 fd 80 51 c2 7e ec 0a fb 80 2c 32 f5 fc 76 83 98 4c 07 e7 b4 dc e9 4b 20 0d 13 40 | ..i.H..Q.~....,2..v..L.....K...@ |
f540 | b6 d2 8f 05 31 e7 54 0b 30 17 16 33 4c b7 ab fc 73 c4 9a cc 62 85 4e dc 32 21 f9 30 fc fa 29 a9 | ....1.T.0..3L...s...b.N.2!.0..). |
f560 | 21 54 a2 83 74 7e 2a 86 ae 21 54 ce f9 98 7d a9 ae 19 58 6a 18 b8 ff 64 11 97 5d ee e2 bd 6f 3e | !T..t~*..!T...}...Xj...d..]...o> |
f580 | 8c b0 59 47 fd 58 0d c5 55 57 a6 17 fa bf c3 48 4b 73 fe 1d 46 eb f0 19 b8 73 2d 15 b1 5a 56 5a | ..YG.X..UW.....HKs..F....s-..ZVZ |
f5a0 | e0 9c d2 c0 a0 e3 ea de 7b 48 f4 04 0c fb 22 87 9a e1 64 8d 9e 04 b2 81 b8 c1 82 e7 86 92 85 6e | ........{H...."...d............n |
f5c0 | eb 96 f2 b6 19 8a d9 97 21 f0 62 70 62 7f b9 cd be 2b 5b 3d 2e 93 80 2b 57 c9 60 c0 76 f0 8e 55 | ........!.bpb....+[=...+W.`.v..U |
f5e0 | 5f 41 d0 e9 aa 82 64 5f c9 13 c7 f5 7c b1 0c b1 be 9d ac f3 d3 a5 30 bd ba 3f 7f c5 3c cf be a0 | _A....d_....|.........0..?..<... |
f600 | f7 9a 7d f7 fb 5e 37 10 21 40 6d 87 f6 4a 72 c4 1f a5 9f b3 a2 d0 39 da 87 e8 31 7e 3d 39 d6 95 | ..}..^7.!@m..Jr.......9...1~=9.. |
f620 | 40 c2 50 25 90 04 51 61 4e 0c 42 12 01 6c 10 70 0d 12 38 ea 82 67 56 6e 18 30 85 91 49 76 bb e3 | @.P%..QaN.B..l.p..8..gVn.0..Iv.. |
f640 | 10 c3 f3 64 46 35 8d 90 74 86 2c 2e db ea e3 b6 ff 7e 08 e8 2c c2 af 35 51 3b d1 41 69 f5 15 e9 | ...dF5..t.,......~..,..5Q;.Ai... |
f660 | 85 9e 32 ac 0b 88 65 69 76 c0 85 b5 ec af 15 10 b0 14 8b 62 96 c4 0b 82 b3 d4 c3 44 db f6 64 33 | ..2...eiv..........b.......D..d3 |
f680 | 53 63 a5 42 83 7e cd 40 d7 cf 31 7b b2 4c 65 aa d9 44 96 32 66 a8 9c f4 a1 32 0b d9 d9 ce be 2b | Sc.B.~.@..1{.Le..D.2f....2.....+ |
f6a0 | 61 58 41 8f 10 3d af f2 14 de 6e 7c 06 7f d0 7c 9d f4 e5 eb 39 ff b5 79 18 69 71 25 f2 c2 c2 04 | aXA..=....n|...|....9..y.iq%.... |
f6c0 | b5 ea 99 8c 3f e0 49 30 fa dc 57 7d 26 a1 34 8f 20 26 e4 1c 7b 52 35 36 45 22 07 2b 7a 7e 1f 9b | ....?.I0..W}&.4..&..{R56E".+z~.. |
f6e0 | 12 e8 8f 4d c9 30 e1 78 0f 13 7d 04 b7 ad 22 d0 e9 76 24 95 41 ba 01 e5 18 b0 6a b0 0a 59 b2 14 | ...M.0.x..}..."..v$.A.....j..Y.. |
f700 | 83 38 6d 21 53 d5 b5 84 a1 ea 59 a8 fc 5d 2a 00 20 ea f0 04 6e e3 ab 72 f8 e6 9b 66 31 10 74 e0 | .8m!S.....Y..]*.....n..r...f1.t. |
f720 | 2f 3a 70 6b 3e da 8b 3e 26 86 53 79 e4 14 b0 2e 90 c1 dd 85 c5 c7 c2 29 08 c4 a6 32 43 19 d5 1c | /:pk>..>&.Sy...........)...2C... |
f740 | 81 16 06 83 15 4c d5 b9 45 f9 c5 8d 9e 8f 88 9d 50 08 62 2b 07 40 7f 32 a9 f6 75 b1 e9 c7 0c cb | .....L..E.......P.b+.@.2..u..... |
f760 | b2 d5 71 4a d6 2a 94 1c 2a 76 ba 73 9b 7b 93 18 87 38 e2 4d 9d 31 9f 18 2f 2d 3f 2c 40 f5 a7 cd | ..qJ.*..*v.s.{...8.M.1../-?,@... |
f780 | 57 a0 69 56 fa 80 31 4c e8 6e 85 48 e4 59 19 09 01 9c d8 1c 4c e4 4c 05 7e c2 6c 43 42 bb 2b e1 | W.iV..1L.n.H.Y......L.L.~.lCB.+. |
f7a0 | 68 4b d2 49 9d a3 c5 39 58 01 99 83 7d 3e ab 70 85 f3 5d 95 09 f4 52 1a d0 d3 72 8f 7c 61 61 a2 | hK.I...9X...}>.p..]...R...r.|aa. |
f7c0 | a1 e1 e8 70 a8 00 ab ed 4a 5d a4 9d a3 f7 77 e7 09 d0 5d d5 9c d6 63 b0 32 45 f6 47 ba 14 05 4a | ...p....J]....w...]...c.2E.G...J |
f7e0 | 51 83 1f e3 da cf 18 9c 73 06 5e fc 42 96 4f 6e d2 7f 8e 30 33 a7 1e a2 39 e7 63 70 f7 cd e9 85 | Q.......s.^.B.On...03...9.cp.... |
f800 | 9e 02 d6 85 c3 ae 0a 97 5f 8f c6 83 df 82 47 bf d2 b9 49 5a 30 2d 05 0a d2 73 cf 09 45 d1 a0 cf | ........_.....G...IZ0-...s..E... |
f820 | 40 8f 18 84 75 4e 87 d4 3e 7f 96 a9 9b de 28 13 50 c9 2a b3 ff ca e0 45 68 a9 ba 44 7e 1d 4b 22 | @...uN..>.....(.P.*....Eh..D~.K" |
f840 | 84 2a cd c1 4c d6 27 46 a0 55 fa 2e b6 66 cf e0 f7 97 7e 0a 4f 06 6b 7b a0 a5 c1 c9 58 e1 6c ef | .*..L.'F.U...f....~.O.k{....X.l. |
f860 | 4b 6d 88 00 87 00 a2 1c d4 71 7d f6 31 5c 5f d8 8b ad a5 39 ac 2e 77 61 96 8a 30 2b 15 3c 51 1b | Km.......q}.1\_....9..wa..0+.<Q. |
f880 | c4 c1 ce 04 6e 3f 31 8e 6f b5 76 48 ab 31 11 d9 63 a0 5a 9c 81 df 58 22 70 af af 00 b1 b0 2f 05 | ....n?1.o.vH.1..c.Z...X"p...../. |
f8a0 | e2 5c 9f 55 cf 77 15 3d 16 34 17 f1 b2 eb 0b f8 dc ed 4a 96 e6 d2 75 5d 29 8b 0a 3a ae f2 1d 72 | .\.U.w.=.4........J...u])..:...r |
f8c0 | d6 7b 77 8e 98 93 09 b3 90 23 96 e5 c0 2a db a2 d9 6e e8 26 14 12 cd 75 74 42 a9 fe 63 70 27 20 | .{w......#...*...n.&...utB..cp'. |
f8e0 | 67 ba a5 8a b3 59 7b 9e fe 6e 8d c5 00 95 f5 3b d3 8b 3c 05 ac 0b 68 10 7b 2a 5c 71 3d ea 0f 7c | g....Y{..n.....;..<...h.{*\q=..| |
f900 | 4b 7e f5 dd ba 52 3e f0 b5 89 d4 ed 28 f3 43 da d2 eb cc f6 c8 32 5c 99 0d df 43 1a 31 c6 54 e6 | K~...R>.....(.C......2\...C.1.T. |
f920 | 3a 27 82 5a 10 73 8f 99 9a 72 ac 73 e2 a7 29 b7 99 a1 59 fa 71 51 a5 b1 63 6e 14 27 a3 f2 47 d9 | :'.Z.s...r.s..)...Y.qQ..cn.'..G. |
f940 | 9a 39 83 5b c7 fe 14 9f 68 3c 17 1f 6e bc 10 0d 94 62 e0 0a cf 93 ca 60 44 6c 86 50 77 8b 71 0c | .9.[....h<..n....b.....`Dl.Pw.q. |
f960 | 3f 55 ba 0b 2f ad 3c 02 a3 90 97 62 69 ce ef 32 f2 65 ba 9d 97 36 5d bb 26 f3 b8 a4 e4 e2 96 1b | ?U../.<....bi..2.e...6].&....... |
f980 | 66 71 ec e0 13 f8 a3 bb 37 e3 5f 5a 3b 95 d2 68 a1 22 89 66 86 9d 15 d0 62 c5 88 7e 90 c2 8a c2 | fq......7._Z;..h.".f....b..~.... |
f9a0 | e7 95 a0 a6 eb 08 b9 79 45 a7 81 5f fc 89 1c 81 e0 3c 9e 3c d8 45 d6 26 a0 6a fb f0 9b ae 9c 67 | .......yE.._.....<.<.E.&.j.....g |
f9c0 | 2b e7 c1 70 eb 52 13 68 91 a9 0c 96 ad e6 5f 0e 07 71 6e 9c a4 8c 74 fa 01 2b e8 2a a9 9c d0 d0 | +..p.R.h......_..qn...t..+.*.... |
f9e0 | 8d 60 e9 f8 d6 82 8f 81 1d d7 a4 d7 78 0a 58 17 10 c3 32 32 28 df f0 72 9c fd e0 ef 09 a0 70 4e | .`..........x.X...22(..r......pN |
fa00 | 96 51 32 95 b6 92 56 20 e5 a6 06 56 16 2a 59 93 57 8d ce 63 34 ac 84 d4 4c 22 87 32 0a e2 d9 c4 | .Q2...V....V.*Y.W..c4...L".2.... |
fa20 | a6 d8 3f 05 fa b5 cf d8 4a 5f 4b f2 ae b8 30 87 16 70 c6 56 e6 97 e1 b3 e3 dd 54 fe 2e f6 95 75 | ..?.....J_K...0..p.V......T....u |
fa40 | e8 33 e4 ed 5e 97 1e 53 89 c3 33 7b 78 6d f9 db 78 69 f1 01 7c b1 75 05 fe b9 75 15 0e 7a ab 62 | .3..^..S..3{xm..xi..|.u...u..z.b |
fa60 | e9 e5 de 97 0a 30 65 2e e0 f2 ec 53 78 4d f1 db d8 9a 9b 16 e4 e4 86 14 22 08 18 86 7d fd 01 11 | .....0e....SxM.........."...}... |
fa80 | 69 5a 71 e9 0b 21 e7 a6 ab 37 e1 7f 3d d7 c2 df 7f ee 5e bc fb 81 9d 68 5a 55 fa 3c 15 58 34 cd | iZq..!...7..=.....^....hZU.<.X4. |
faa0 | 21 f6 17 35 e0 9e 3a d8 93 94 49 aa 31 00 7d 91 c2 78 3f 6b 73 11 d0 31 c8 8c 13 b3 7b e9 15 35 | !..5..:...I.1.}..x?ks..1....{..5 |
fac0 | 1c 1a f2 b1 8a 6e fb 4d 32 bf 9b 3a 57 8d 00 8c a3 86 86 6f 20 53 f2 d5 b9 e6 68 a0 60 b3 3e b9 | .....n.M2..:W......o.S....h.`.>. |
fae0 | fc 83 d2 74 b5 99 a9 3a 43 f2 eb 4a 77 6e 36 e1 95 aa 0c 9a 4b 01 26 76 de 94 5e e4 29 60 5d 38 | ...t...:C..Jwn6.....K.&v..^.)`]8 |
fb00 | 23 bf 75 07 72 5b 2e 55 01 2f fa e7 92 59 98 af d8 b2 c0 6c 6e 3e 41 0b a9 d3 0c 50 e4 be 84 1c | #.u.r[.U./...Y.....ln>A....P.... |
fb20 | 3d 0c 7b 75 85 4a 6b 26 ec f7 61 45 fc 4b 00 cb 44 36 c7 00 04 71 bc 07 9a 71 09 31 f2 20 3e 2b | =.{u.Jk&..aE.K..D6...q...q.1..>+ |
fb40 | 2b c3 8a a2 be d4 10 aa bc 53 5a b8 0d 47 e9 64 99 49 09 1b 43 f6 f1 fb 56 d0 21 e0 ba 4b e6 69 | +........SZ..G.d.I..C...V.!..K.i |
fb60 | 6f 10 67 bc 21 3c d8 dd 24 ef cd a6 e3 2a 6b 91 b6 67 fb 3e 4b a2 f9 60 dc 0c 22 92 8d 31 22 ad | o.g.!<..$....*k..g.>K..`.."..1". |
fb80 | 2b 29 ff e1 24 ce 82 94 03 bd ee 4d e3 d8 56 bd 0b 6f fa da b3 d0 20 d0 8a 33 bb b2 05 fa 22 39 | +)..$......M..V..o.......3...."9 |
fba0 | a2 9f ad 5e ae 55 9f 26 56 d8 5f 9b 18 a8 8c 75 bf db 14 4d af ad 13 8b 18 bb b2 89 07 e9 25 02 | ...^.U.&V._....u...M..........%. |
fbc0 | 3a bf 7e 4b a9 bb 72 8a 82 55 a4 a7 d4 3d 71 a6 5b 99 00 0e 4b c6 44 91 57 39 41 ba c1 aa 13 a8 | :.~K..r..U...=q.[...K.D.W9A..... |
fbe0 | 76 b5 cc a8 0c 05 78 a2 8c ea 2a 60 e3 73 dd 69 e5 31 b4 e7 e5 e9 45 9e 02 d6 05 04 58 17 5d 26 | v.....x...*`.s.i.1....E.....X.]& |
fc00 | db dc 96 cb d0 d8 ff 08 bc ba 8f ec 58 28 b5 69 ca 0f 65 d2 ba f4 51 18 d4 4e 7a 5a 14 a6 d6 c7 | ............X(.i..e...Q..NzZ.... |
fc20 | e2 c7 42 d7 48 e4 4b 86 52 83 28 5b 06 27 02 b9 7c 91 40 a6 c3 cd ed 69 7f 46 a5 36 08 48 b1 a3 | ..B.H.K.R.([.'..|.@....i.F.6.H.. |
fc40 | dd 60 e7 bb 7a 8e 85 40 4c 20 f6 c5 48 8f bf 66 8e c0 8e 81 8d 5e 3f 6b 49 9b f6 50 37 6f 30 a4 | .`..z..@L...H..f.....^?kI..P7o0. |
fc60 | e8 59 81 ce 2a 7b 49 e6 15 f9 23 e7 a1 8f 09 ea c7 a9 0a 9c ef d4 ea 4f f4 34 b8 ec 87 cc 43 7b | .Y..*{I...#............O.4....C{ |
fc80 | 7c 1c 99 b5 6b 44 c0 8f d5 47 91 2b d2 e7 76 71 d5 6b 76 e3 75 8f 3d 82 0f 9e ba 46 e5 83 49 a0 | |...kD...G.+..vq.kv.u.=....F..I. |
fca0 | a2 2e 2c ab 2f 42 98 c8 88 8f 01 2c 88 da de ab 5e 84 a1 db c1 15 5b 94 a4 71 35 e7 e3 fa 5d 2e | ..,./B.....,....^.....[..q5...]. |
fcc0 | bc 46 20 93 01 c8 ae 58 aa 3c a7 ab 0a a3 b9 36 90 53 1d 0c 23 d4 60 05 1d 1c 09 e2 ee 3b d1 7b | .F.....X.<.....6.S..#.`......;.{ |
fce0 | f3 f3 39 48 22 87 d1 c7 ac 2f 06 18 de f5 bc f4 02 4f 01 eb c2 1a a5 e7 fe 07 d9 66 09 b0 82 bd | ..9H"..../.......O.........f.... |
fd00 | 0f 8b 4c 4c 87 7e ad 33 25 4b 1c bd 52 0f d8 d0 ca 99 5a 55 21 aa df 65 df 54 9f 1f 4b af 1f 43 | ..LL.~.3%K..R.....ZU!..e.T..K..C |
fd20 | 7b bf 4d 32 19 59 ed 32 9b b7 74 2f 3d 48 29 0a 47 0a 91 33 e4 b6 a4 3c 14 0c 89 18 5a ba bc c7 | {.M2.Y.2..t/=H).G..3...<....Z... |
fd40 | ef 3a 98 6d 39 a8 0c d8 28 d3 22 b6 24 44 67 4a 43 8c d0 0a 7b 1a 57 ec 57 32 fb cd b0 b0 af 9a | .:.m9...(.".$DgJC...{.W.W2...... |
fd60 | b9 e7 10 c7 39 fe 36 fd 3c 6e 43 ef 74 d1 59 ae a1 73 f0 49 14 af b9 8a 3e 33 9b 64 13 08 ed 0e | ....9.6.<nC.t.Y..s.I....>3.d.... |
fd80 | fc 59 0f cf bd a2 8a 0f 1c 75 11 45 1e bc c5 69 05 9e 39 62 5a 0c 5c 48 6a 62 05 71 ab fb 08 bc | .Y.......u.E...i..9bZ.\Hjb.q.... |
fda0 | 82 48 59 81 00 f3 ca 6d c4 20 db 4b aa 1e 91 d3 13 da 1e 99 e1 aa 17 a4 92 39 f6 54 ca 83 54 11 | .HY....m...K.............9.T..T. |
fdc0 | 24 4a 79 8c 68 b2 39 a8 5b d5 47 df c3 f3 d1 5d 0e e4 5c b0 0f 90 ff 2e f5 f9 00 6b 7f 2c 65 57 | $Jy.h.9.[.G....]..\........k.,eW |
fde0 | 29 60 5d 60 23 3b b5 4e 31 ad 6d 97 a9 b5 4d 0b a9 bb e0 22 47 60 91 21 76 e4 2d b8 b2 38 1d 32 | )`]`#;.N1.m...M...."G`.!v.-..8.2 |
fe00 | 15 b3 45 85 58 81 a5 ca 40 d8 e7 15 47 ff fb a5 9f 94 2f 8b 18 98 9d 23 86 45 0b 31 20 00 32 4c | ..E.X...@...G...../....#.E.1..2L |
fe20 | 65 06 da a6 0f ab 44 77 b8 a1 02 83 16 a7 38 f8 ba 2e 90 5e 37 47 fb 96 a7 bb 22 f0 17 12 2d 2b | e.....Dw......8....^7G...."...-+ |
fe40 | 96 e9 b3 e4 44 fa 81 66 64 78 f6 52 20 c4 d1 1c ae 48 89 88 53 15 cc 38 4a d8 9f 95 ae 40 45 ba | ....D..fdx.R.....H..S..8J....@E. |
fe60 | 3c 73 82 ab 52 a7 81 7f d7 fd 12 b1 cc 6f 23 33 b9 b9 0c 7b 62 12 07 bf c6 a6 dc 06 d5 1e 9e a3 | <s..R........o#3...{b........... |
fe80 | 9a d5 49 98 95 31 78 33 47 cf 11 f6 4b 0a f4 c5 cd 26 02 e5 70 67 8d f6 e7 ef 69 2b a6 17 25 bf | ..I..1x3G...K....&..pg....i+..%. |
fea0 | d2 77 74 5b 0a 98 32 65 16 52 d4 fa 57 86 d6 c7 b0 38 e2 a7 23 84 9c 69 ef f6 6a 11 85 85 d1 d6 | .wt[..2e.R..W....8..#..i..j..... |
fec0 | 6d f8 f2 3a a6 2e 08 e0 5a ea 56 2b 87 f1 1b de 92 5e e0 29 60 5d 98 a3 7c c9 1e dd 81 4a 45 0a | m..:....Z.V+.....^.)`]..|....JE. |
fee0 | 19 a4 2c 02 1b d7 e9 c8 b6 b9 44 ac 8b 99 92 2e 36 16 c9 97 20 8c 1d f0 91 b3 bd 07 58 8a 09 71 | ..,.......D.....6...........X..q |
ff00 | 93 89 4c 49 e5 76 81 9d f7 08 63 66 65 90 c9 c8 00 26 3a e7 19 5d 34 2d 34 0e a8 66 5d 1c 39 ea | ..LI.v....cfe....&:..]4-4..f].9. |
ff20 | a3 4d 40 39 38 1c a0 3c 60 21 5f b0 e4 33 58 56 d4 78 b5 57 ee 13 e3 94 4e 2e 8d b2 ca 63 bd 28 | .M@98..<`!_..3XV.x.W....N....c.( |
ff40 | f4 98 98 ef ab 85 ef 70 26 7f 57 e5 9b 49 77 19 7a eb 62 11 78 a8 3e 06 dc 73 46 10 ec f4 83 f3 | .......p&.W..Iw.z.b.x.>..sF..... |
ff60 | f8 e3 b9 97 20 cc e9 26 1d 50 cd 4b 83 d6 22 81 44 fb fc 60 a5 df 1f da 1c e4 28 1f 27 9d 16 2c | .......&.P.K..".D..`......(.'.., |
ff80 | 17 37 3f bb 03 6f da d7 fe 27 c0 e1 73 ad 41 28 33 60 48 f2 28 27 dc 46 8f 4b b2 a8 4e 0e e5 ef | .7?..o...'..s.A(3`H.('.F.K..N... |
ffa0 | e0 b5 11 3b da 23 e0 f6 1b 4a 09 23 34 55 11 79 63 29 c4 c8 ce eb d2 8b 3a 05 ac 0b 18 b0 76 5f | ...;.#...J.#4U.yc)......:.....v_ |
ffc0 | 07 b3 3c 28 62 6f bc c6 3a 8b 2e 31 2a 5b 84 31 79 1d b0 e2 42 75 42 cb 29 73 23 04 2b ea 35 a8 | ..<(bo..:..1*[.1y...BuB.)s#.+.5. |
ffe0 | 12 4b 4d 9d 7d ce 0b c8 8c 92 39 75 d3 54 93 0b 7c 19 94 0c 62 56 9e 02 2c 83 53 1b 72 56 dc fe | .KM.}.....9u.T..|...bV..,.S.rV.. |
10000 | 4b 16 24 17 f0 6a c6 b6 6a 02 78 e2 b0 8f b9 d3 0e 59 5d 3e 06 86 33 a8 0c d9 28 56 02 e4 f2 a6 | K.$..j..j.x......Y]>..3...(V.... |
10020 | b0 32 06 18 91 6d 4e 46 08 7d bf 3f 37 2a c1 74 f8 73 32 a3 e2 62 6c 4e d7 60 d6 e8 a9 fc 4c f9 | .2...mNF.}.?7*.t.s2..blN.`....L. |
10040 | fc 1f 9d dd 85 7f 5c de 85 a6 35 40 b8 a9 22 8a 46 86 d3 1f 4a 4a 1f 8c cd 35 fd d2 3e b1 af c0 | ......\...5@..".F...JJ...5..>... |
10060 | f7 63 33 34 d4 ea 0c 7d 4d 27 a2 26 16 cc ae dc 16 9e b5 9d cc c2 b6 a7 40 48 fb 9d 9c ba 52 5f | .c34...}M'.&............@H....R_ |
10080 | c8 0e db ca 59 2e 0c 2b 88 cd 3f 4e 75 08 34 e3 e2 4a 04 d5 e4 36 d1 d4 82 03 25 2d 5f 2b 36 40 | ....Y..+..?Nu.4..J...6....%-_+6@ |
100a0 | 4c e6 85 e9 10 97 fe fc 6f a4 17 75 0a 58 17 f6 a8 5c 75 03 16 6f fb 82 2c 88 fa 99 2e 86 b6 64 | L.......o..u.X...\u..o..,......d |
100c0 | 50 a8 d8 68 35 3c 71 b6 3b b4 c8 33 05 d5 95 59 4a 43 b8 33 b3 4d ff 0f 7a c1 37 76 ad 48 9d 72 | P..h5<q.;..3...YJC.3.M..z.7v.H.r |
100e0 | e4 84 e7 7f 5c f8 5c c8 8a 50 9f d9 e5 34 06 bf b7 e8 94 8a 5f af cc c7 54 2c 8e 13 4b 2f da 08 | ....\.\..P...4......_...T,..K/.. |
10100 | ec 7f d2 97 9a c6 56 23 40 6d c1 23 c0 b2 64 96 68 e6 0a c4 d0 38 43 de 56 fe 32 23 81 5d 62 89 | ......V#@m.#..d.h....8C.V.2#.]b. |
10120 | 79 a1 6e 27 cf ca 9e ca f4 73 89 e5 39 1d 62 91 5d d5 6a 8b 59 da f1 60 10 ef 99 7e 16 8e 60 15 | y.n'.....s..9.b.].j.Y..`...~..`. |
10140 | cc 42 59 1a 8f 32 60 45 ad b8 98 51 f5 44 fb a0 a3 71 6e 5c 7a a4 aa 70 56 2a 32 44 7e 2c 06 13 | .BY..2`E...Q.D...qn\z..pV*2D~,.. |
10160 | 32 87 dd 36 5e 7d bd 23 3e ab 18 90 cc 50 32 d2 99 7c e6 46 4c 25 19 d3 f1 15 d0 45 69 0c d0 25 | 2..6^}.#>....P2..|.FL%.....Ei..% |
10180 | 4e 81 02 ac 88 55 c5 09 a3 74 0c 97 f0 c8 5e ce f9 ad d1 6b 4d 5e 8c ca f6 94 61 a5 80 75 81 8f | N....U...t....^....kM^....a..u.. |
101a0 | 81 ab 6f c0 fc 37 3f 2f ac c8 eb 12 50 b4 02 14 06 6c 2c 2d 3a 82 2b b5 45 0f 23 f9 ac 0a ba b9 | ..o..7?/....P....l,-:.+.E.#..... |
101c0 | 01 96 e6 5c 8c ae cd 4a 5e a3 61 2a 89 13 e8 c5 1b 26 58 96 6a 46 41 40 94 cf c9 a2 82 e3 2a 21 | ...\...J^.a*.....&X.jFA@......*! |
101e0 | 3e 28 b5 08 33 d2 4a 56 86 a3 98 9b fc 26 1b 37 9a 38 7e d2 41 bd e1 2b 5f 93 c3 fa 5a 21 1a b5 | >(..3.JV.....&.7.8~.A..+_...Z!.. |
10200 | 80 cc 43 5f 00 8b 6b 13 39 75 42 d8 96 95 10 10 e4 06 0f 0e 37 3a ed 31 2b ce 27 e3 fc 32 33 ab | ..C_..k.9uB.........7:.1+.'..23. |
10220 | ba f7 58 04 8a 1f 5b dc 81 5b 97 f7 10 50 55 61 10 58 81 c5 00 cd 15 6a 14 7e 90 d0 e9 d3 89 99 | ..X...[..[...PUa.X.....j.~...... |
10240 | 92 aa e0 f5 27 89 26 1b b3 46 4f 60 89 55 62 57 05 db c1 9b 5e d8 81 5f 8f 00 4b 1d 1b b8 ea 76 | ....'.&..FO`.UbW....^.._..K....v |
10260 | 6e 10 ca 1c 8c fd 55 88 23 85 a2 75 d5 e9 81 62 64 7f 1b 52 60 ae a4 91 cd ac f2 ff d5 16 88 9d | n.....U.#..u...bd..R`........... |
10280 | be fa a7 d3 8b 39 05 ac 0b 7f 0c df f4 72 1c 7a e7 db 54 3a 03 ad 9a da d9 0e 0a 23 79 01 15 5e | .....9.......r.z..T:.......#y..^ |
102a0 | a0 6c 16 0e 8d eb f4 2b ba df 6d 79 04 20 36 f2 45 43 2c 31 69 44 61 19 3d c0 32 b5 2f 47 c9 37 | .l.....+..my..6.EC,1iDa.=.2./G.7 |
102c0 | 20 cc 58 08 cc 9c bc 80 49 0c 85 f3 9f b4 a4 96 98 76 86 36 0d 65 b1 4b f1 75 88 dd 7b 72 b8 fb | ..X.....I........v.6.e.K.u..{r.. |
102e0 | ee 8e 5a 98 1c ba ef 32 3b 32 e1 b4 4c c2 16 4b 92 53 ed 4c 20 60 a5 f2 5a 0d 2d b9 12 c4 3a 5d | ..Z....2;2..L..K.S.L.`..Z.-...:] |
10300 | 12 ed a4 cf c1 11 4b 2b ab 52 22 0e b7 2b 78 df dc 55 38 1c 4e 11 58 91 09 98 2b 31 92 49 a2 ac | ......K+.R"..+x..U8.N.X...+1.I.. |
10320 | f2 7b a1 2f 93 bd 57 03 ad 19 94 4d e7 25 58 4c e8 5e 01 2b e5 65 c4 3e 64 6f 3e b1 ab 9b 9f 43 | .{./..W....M.%XL.^.+.e.>do>....C |
10340 | d4 92 25 65 98 61 89 1a 86 c2 44 ae 1f 2c 8c 6b 73 b0 ad b5 af 34 bb 92 60 82 80 95 8a 22 26 7d | ..%e.a....D..,.ks....4..`...."&} |
10360 | 57 d0 0c d5 59 f2 94 ba 06 8b 3e 74 0d 74 31 86 35 af f8 f5 f4 62 4e 01 eb c2 1f b9 d5 eb 51 dc | W...Y.....>t.t1.5....bN.......Q. |
10380 | 76 19 9a 07 1f 15 00 68 d5 5c 14 47 f3 c4 60 2c 74 da 9e b0 01 36 cd 4a 03 96 2a bc a5 85 59 23 | v......h.\.G..`,t....6.J..*...Y# |
103a0 | 96 95 5b 9b 53 66 a2 1f 28 b6 a4 25 8f 4d bf 57 a0 ac 7c 53 aa 25 4e 90 cb 2a e7 b8 a7 fb ea 19 | ..[.Sf..(..%.M.W..|S.%N..*...... |
103c0 | 5a d2 c6 54 cc 47 a5 7b 86 c2 b4 aa 43 26 76 5d 92 c3 63 8f 74 15 a8 e9 d4 0a 36 ed 98 e5 b1 49 | Z..T.G.{....C&v]..c.t.....6....I |
103e0 | 67 6b 93 90 35 de 4d ae 5b e4 a8 23 bf 82 a3 e4 62 18 d8 44 fc ce 50 26 e2 17 96 37 e2 93 f5 8b | gk..5.M.[..#....b..D..P&...7.... |
10400 | 51 b7 47 88 55 55 10 72 ce 15 87 d8 02 f4 d4 44 d1 0b 1e f4 b4 f9 12 e9 0b 76 49 11 9e 20 e8 d7 | Q.G.UU.r.......D.........vI..... |
10420 | 84 8f 32 3c b9 67 a0 b4 23 ea c2 f0 ba f8 cd 57 d4 a5 d0 dc d7 35 81 72 88 a3 a2 84 a5 d5 96 e4 | ..2<.g..#......W.....5.r........ |
10440 | 5b f9 6d 5d d8 6c f4 22 18 6e 8d 9e d3 f1 d1 a3 7b fd 66 a1 b3 ec a9 c0 07 cd e5 a5 10 6b 7e fc | [.m].l.".n......{.f..........k~. |
10460 | 67 d3 0b f9 87 34 52 3d ac 1f c2 18 7f d5 1b 63 3d 2c 06 9f a5 d3 1d 54 86 73 02 3c bc 96 17 67 | g....4R=.......c=,.....T.s.<...g |
10480 | dd b8 66 8f 19 d1 e2 b4 d3 93 85 62 76 10 46 8d 57 23 a9 a8 28 17 29 22 1e 86 98 5c 41 36 43 40 | ..f........bv.F.W#..(.)"...\A6C@ |
104a0 | 41 8c 86 93 b2 18 a4 4c 43 9a 94 aa 92 1f 55 35 1d 68 1f d7 da 0d 39 6c de 96 8b cd 2f 06 2d 06 | A......LC.....U5.h....9l..../.-. |
104c0 | 26 4e 40 e5 e4 54 53 7a 1f 1a aa 33 35 01 94 47 e0 ca a9 00 bc 2f 3f 90 15 66 55 73 4d 7c 7d 69 | &N@..TSz...35..G...../?..fUsM|}i |
104e0 | 0a 6f 3e f2 7c fc cf a5 ab 50 b3 47 01 32 03 c3 4c 81 de d7 54 da 5a 89 36 f7 dc aa 3e f0 ce 9d | .o>.|....P.G.2..L...T.Z.6...>... |
10500 | a1 a7 8f e3 78 67 7e 28 d1 aa 9e 3e d8 e0 7a 60 64 0b 81 59 3e 56 85 30 9c 06 6e ba b4 8d 2d 63 | ....xg~(...>..z`d..Y>V.0..n...-c |
10520 | 0e bc 86 df 93 86 a1 c9 d9 e9 59 b6 42 8b aa 98 99 7d 51 c9 f7 10 76 d5 d6 22 7d 6c 46 ca fe 40 | ..........Y.B....}Q...v.."}lF..@ |
10540 | 6b 83 a9 e8 a2 d7 0a e3 2a 23 33 cc 62 ee de c3 e9 45 9c 32 ac 67 ce 98 24 c0 7a f2 f7 de 26 39 | k.......*#3.b....E.2.g..$.z...&9 |
10560 | 3d ec cc 6e 12 cb ca 8f da aa 6e 90 cd 40 fa b5 e7 86 12 c5 92 29 12 31 1e 99 3c f3 67 1c 8c 4e | =..n......n..@.......).1..<.g..N |
10580 | 65 15 40 b1 4f 46 18 8e f2 47 49 f4 d0 d7 9c 20 52 51 60 70 b2 2c 15 15 e4 12 1c 5f a9 92 72 4e | e.@.OF...GI.....RQ`p.,....._..rN |
105a0 | 91 f8 b0 74 93 09 49 9d d0 66 d8 b6 5d 05 74 1d 60 fa b4 a7 18 9b d9 93 64 96 c4 4c 76 5c 17 6c | ...t..I..f..].t.`.......d..Lv\.l |
105c0 | b2 ea 0c 44 fd 5e 67 bd 3c 1e 5b 18 c4 e3 9d 11 dc d7 9e 44 d3 14 74 90 ba 40 64 0b f4 79 b2 5a | ...D.^g.<.[........D..t..@d..y.Z |
105e0 | 0a 26 e8 11 98 98 5a ad d4 c4 ea 97 9a 91 63 38 01 94 9d 47 3c 4a e3 ea f6 d2 29 a0 53 53 c5 7c | .&....Z.......c8...G<J....).SS.| |
10600 | 5c 80 69 15 f0 27 af 3f 26 dd 6d 38 41 94 87 35 38 82 60 79 4e c0 a7 bc ce 16 96 e5 4b 04 50 bb | \.i..'.?&.m8A..58.`yN.......K.P. |
10620 | ce b4 b3 5d 4c 42 fe 11 90 e6 14 89 6c 7a 7d 98 d3 f0 7b 9f 9b be 42 bb b9 05 dd d9 7d e9 45 9c | ...]LB......lz}...{...B.....}.E. |
10640 | 02 d6 33 e8 a4 57 aa 02 5a d3 9f fd 3b 32 b3 54 ce 53 6b b1 8b 6c de 86 d3 76 a5 6d d7 c2 8c 83 | ..3..W..Z...;2.T.Sk..l...v.m.... |
10660 | d2 e6 22 ed 33 25 61 7b 71 a6 8b 91 49 e5 7c e7 95 a3 9a 45 28 80 33 7c 69 28 2d c0 25 db 58 89 | ..".3%a{q...I.|....E(.3|i(-.%.X. |
10680 | 81 f7 1b 4a c6 85 4d b9 88 a9 24 cd 31 6d 26 42 6b ca 5f 7a 65 19 47 cf fa f8 d0 77 86 65 81 6f | ...J..M...$.1m&Bk._ze.G....w.e.o |
106a0 | b0 1b 2a 32 48 cf 9f 0f 0b 98 6b 15 d0 46 06 47 bd 2a 8e ba 03 68 71 0f 32 46 5e 3b ab da 81 65 | ..*2H.....k..F.G.*...hq.2F^;...e |
106c0 | 8b 52 03 18 66 f2 9c 0d 96 70 62 a3 1f b0 ce db 84 42 ff af b3 4c af 51 54 b2 12 59 f6 7d 55 15 | .R..f....pb......B...L.QT..Y.}U. |
106e0 | 38 f1 07 76 5a ca c9 5e 59 a3 22 90 cb 47 f0 53 57 35 b0 a1 d2 82 cb d5 02 4c 4e 6d 1b 99 35 17 | 8..vZ..^Y."..G.SW5.......LNm..5. |
10700 | a1 33 3f c3 d8 89 4c 19 2a 38 d0 51 af 1f d7 0c 46 59 ed 5d bf af 23 50 e4 90 e7 63 dc 5a 4f 8c | .3?...L.*8.Q....FY.]..#P...c.ZO. |
10720 | ec ae 63 53 b8 2c 57 42 b3 b5 94 5e c4 29 60 3d c3 58 d6 2d 6f c4 a9 7f f8 5b 21 0c 19 32 b9 da | ..cS.,WB...^.)`=.X.-o....[!..2.. |
10740 | 0d 17 66 ce d4 61 fe 10 ed 96 6a db 55 2c da 62 76 71 2b af 05 02 ad a1 f1 ac f2 c8 b3 a4 af a9 | ..f..a....j.U,.bvq+............. |
10760 | ea 76 04 a4 fc 30 56 53 08 a4 85 6a 28 60 65 6a 27 39 87 f8 02 ba 63 a2 bf 6d 56 bc 78 61 c4 4d | .v...0VS...j(`ej'9....c..mV.xa.M |
10780 | 28 d6 af ce e0 75 a5 00 3f 77 fb 26 7c b2 9e 55 9f 49 52 21 2c bd 35 d5 56 4c 4d a6 89 39 05 52 | (....u..?w.&|..U.IR!,.5.VLM..9.R |
107a0 | 72 3b a3 8e 0b 8d fe fa bf 15 20 15 0f 06 27 56 1e 64 80 9a 3b 00 cc ef ef 1d c0 80 35 76 09 81 | r;............'V.d..;.......5v.. |
107c0 | 56 55 81 94 24 60 d1 7b 97 27 95 29 58 3b 8e a2 d9 c6 1f dd fc a4 44 5c bd a6 62 8a f9 4d 5b 25 | VU..$`.{.'.)X;........D\..b..M[% |
107e0 | cd 81 53 18 ac b2 92 68 e7 ae f3 88 aa 06 8c 1e 70 41 52 16 fc 9e 09 6e f4 04 07 25 55 a3 ad 3e | ..S....h........pAR....n...%U..> |
10800 | cb f1 5a 01 8f cf 5c 84 4b 56 77 90 5d 95 76 78 4e 7d 58 cf b0 31 74 cd f5 c8 af de 20 bf ec 96 | ..Z...\.KVw.].vxN}X..1t......... |
10820 | 88 ef 99 70 db 9e 72 6a 13 b0 f0 da 9a 9d ee 8a ef a8 50 b4 84 a8 cc 9f 75 95 24 8d 9e ec 10 17 | ...p..rj..........P.....u.$..... |
10840 | 92 e4 87 91 b8 a6 ce 3e d7 45 c1 81 da af 92 2b 95 6f 2b e0 9c 27 f1 67 59 22 d1 2c 69 12 5c 60 | .......>.E.....+.o+..'.gY".,i.\` |
10860 | 2d ec 4c 27 a6 d2 dc 31 dc c6 97 6e 3e 40 db 96 06 2a 66 4f 15 c5 76 f2 43 34 87 d5 cc 0d a9 fd | -.L'...1...n>@...*fO..v.C4...... |
10880 | 76 41 1d 13 9a 71 7f bf f8 43 f1 e4 10 67 d4 6f 90 f7 b7 17 81 43 5f 03 8e de 06 1c bb 43 1f d3 | vA...q...C...g.o.....C_......C.. |
108a0 | 41 5c 48 29 48 4c 48 33 fd a0 ea c2 ec 34 80 2e 81 9b d3 14 69 18 34 66 68 db c4 5f bc ea 10 4a | A\H)HLH3.....4......i.4fh.._...J |
108c0 | a6 2b ec 4a 8a 9b 87 47 61 0f 0d 11 d3 6a c6 a6 9e f8 ad da be 6a 36 21 33 f2 61 05 52 e4 ac ce | .+.J...Ga....j.......j6!3.a.R... |
108e0 | a7 16 ed f3 23 e5 07 48 35 02 7f 8c ba 63 e3 d7 1f ba 16 cf 19 68 c1 71 5c 0c 5e 9a 76 c7 49 01 | ....#..H5....c.......h.q\.^.v.I. |
10900 | eb 19 38 36 be f5 ed f0 3d 25 e6 c7 51 c2 30 ca 33 d2 fa 54 2d 62 59 f3 73 0e 06 06 b3 02 60 8e | ..86....=%..Q.0.3..T-bY.s.....`. |
10920 | b0 2c 05 5a 31 16 78 ba 48 da 4f 6c fd 50 e7 30 9d 07 b4 64 9a 9a 75 29 e0 0a 0c dd 22 3a 01 58 | .,.Z1.x.H.Ol.P.0...d..u)....":.X |
10940 | cc 30 2a d9 00 9f 7c f1 21 bc 6e eb 8c b6 95 4c 65 fe 31 30 c9 b4 d5 25 14 1a fd 9a 57 02 4c 3e | .0*...|.!.n....Le.10...%....W.L> |
10960 | 57 74 03 33 7b d5 fd c5 43 04 50 5f 06 0e 7e 9e 98 d4 3e e0 d4 3d 6c 6f 41 52 c7 99 1a 1d 23 e0 | Wt.3{...C.P_..~...>..=loAR....#. |
10980 | 5a 7a 0a 7d c5 92 d1 17 5a 3a 84 2a e6 f0 0b 7b 0e d3 6b d2 73 9a 67 61 74 17 f1 fa 3d f3 f8 f1 | Zz.}....Z:.*...{..k.s.gat...=... |
109a0 | 2d d3 92 23 e5 37 7d 51 84 c8 6d 5e 43 e7 a5 0b bf b6 2c 19 f0 02 4a 0d 95 d8 2a 01 0b 4f f9 b1 | -..#.7}Q..m^C.....,...J...*..O.. |
109c0 | a2 29 0e f7 00 7d 3f 04 11 f0 bb 75 95 d1 ff ee 47 2f c1 e6 42 16 a3 c4 e6 3c 97 fe 1e 97 5d 92 | .)...}?....u....G/..B....<....]. |
109e0 | 5e bc 29 60 3d f3 c6 ea 57 ff 47 32 2f 36 c8 a2 62 e7 3a 8b ed 45 f9 43 a6 4e 3d 98 39 db 91 fa | ^.)`=...W.G2/6..b.:..E.C.N=.9... |
10a00 | 3e 29 84 a6 3d b3 d3 0e 3c af d7 34 54 f9 5e 0c cd 0a c2 5e a3 99 ef 0b 5a 2a d2 28 33 d6 90 37 | >)..=...<..4T.^....^....Z*.(3..7 |
10a20 | fa ba 5e 44 39 4f 95 ac 87 3f 78 d6 71 7c e2 a6 47 f1 c2 89 e3 ca 84 eb 2c e9 59 e3 42 3d cd 7a | ..^D9O...?x.q|..G.......,.Y.B=.z |
10a40 | 88 1d 71 0d 8e ef f7 89 f5 61 f9 18 f0 d4 17 88 2e 3e ca e8 00 69 65 bd b0 5f d8 51 b2 a9 04 ba | ..q......a.......>...ie.._.Q.... |
10a60 | 4b fd f7 a5 06 86 51 c5 c5 25 85 87 70 e7 cf ec c3 1f 5e 4f cf 6b cd c1 e8 2c e2 96 9d d3 f8 ef | K.....Q..%..p.....^O.k...,...... |
10a80 | 2f 7a 0c 41 57 d5 65 1a b9 0c 8a 17 af 57 59 ef dd a6 74 02 e2 db ec 83 12 1d 2c 37 d0 d1 c3 30 | /z.AW.e......WY...t.......,7...0 |
10aa0 | b1 e5 8f 11 f4 b1 52 e8 c9 af c9 3f 06 7f b1 ff 22 dc de bc 14 b7 94 8f 49 e0 a1 78 f9 36 0c ed | ......R....?....".......I..x.6.. |
10ac0 | dc 93 5e bc a9 0f eb 99 39 2e 7a db db f1 d8 db de 42 16 95 85 7c de 42 a7 ee aa 5c 29 69 c0 6c | ..^.....9.z......B...|.B...\)i.l |
10ae0 | c2 a1 85 76 ea 64 0b d5 6a 06 8b 0b 8e 34 94 98 3d e3 60 62 75 4e 24 90 a3 62 6a f6 73 29 27 8c | ...v.d..j....4..=.`buN$..bj.s)'. |
10b00 | 4a 97 50 0d 2d 74 14 51 cb 3d b0 6f cb 88 44 01 cd 7e 49 c0 64 37 1b 63 a5 7f 9c 6e 5d 33 51 a3 | J.P.-t.Q.=.o..D..~I.d7.c...n]3Q. |
10b20 | 49 e0 84 03 38 d5 cc 61 b1 9b 91 ed 81 da 00 3e 7d 6c 1d 4e 75 aa ca 7f c5 49 ab 11 f0 f1 ed e1 | I...8..a.......>}l.Nu....I...... |
10b40 | 6d 04 56 0f fd 00 67 62 85 7e 8e 7c 72 0f af b9 dc c1 bb 7f aa 80 6a ae 8d b9 d3 4b f8 d9 dd 47 | m.V...gb.~.|r.........j....K...G |
10b60 | f1 fc 4d cb b8 61 f3 a2 e4 54 b1 15 69 15 b3 28 6e 9b 22 c0 f1 c4 5c 94 f4 85 46 87 98 55 d8 cb | ..M..a...T..i..(n."...\...F..U.. |
10b80 | 4f 33 95 0e 58 ac 47 af 7d 85 91 49 18 65 b5 47 7e 40 06 b2 db ce 4c e0 d6 e9 2b f1 fc ea 32 86 | O3..X.G.}..I.e.G~@....L...+...2. |
10ba0 | d1 14 b9 e7 b1 17 3c 0b f9 81 6a 7a e1 fe 90 06 5d bf df ab c3 41 3a fe bd c6 6d cf ba 08 ce 99 | ......<...jz....]....A:...m..... |
10bc0 | e3 08 6d 1b 73 4b 8e 98 7f ec 67 e2 6d b7 eb 09 51 19 1d cb 61 7e de 81 a5 cd c5 cd 5b 8b 28 94 | ..m.sK....g.m...Q...a~......[.(. |
10be0 | 4c 25 d4 67 85 b1 5f 5c f2 a5 a2 9a 3f 4b 5b 7a 96 7a 8e f8 cb 0d 23 8e fa c5 25 36 51 3b 2f 33 | L%.g.._\....?K[z.z....#...%6Q;/3 |
10c00 | a1 db be a2 67 6a 7c d3 e8 a1 1b 5f 39 8f cd 17 31 db ce e0 78 b3 82 3f 3d b0 13 f5 a0 dc 73 d0 | ....gj|...._9...1...x..?=.....s. |
10c20 | f3 71 f3 8f 90 09 77 f2 df 00 52 91 18 98 8f d7 ec e9 e2 2f 5e cf ed ca c8 24 5e aa a1 5d eb b2 | .q....w...R......../^....$^..].. |
10c40 | bc 95 58 a2 12 2d 65 ad fa 62 06 95 ed 13 30 0b 59 11 0a f4 7d 95 38 db da 7f 1c 41 bd a9 01 ab | ..X..-e..b....0.Y...}.8....A.... |
10c60 | 97 58 9b fc ae cc b4 da 89 9c b7 e8 3b 73 c6 fb 63 c7 8b f8 95 c7 5f 84 a0 bc 0e ef 30 be 80 49 | .X..........;s..c....._.....0..I |
10c80 | bb 8d 2b de f1 06 78 b9 0a d6 bf e4 bf a6 17 6d ca b0 9e b9 63 e7 ef be 17 0f be e5 95 a2 c9 5e | ..+...x........m....c..........^ |
10ca0 | ca db a8 b7 5c 95 9c 4e a0 62 67 6d c9 80 9f 9b eb 0a e3 e2 7a 3d b6 e3 4f 9d e8 62 f3 b6 82 f2 | ....\..N.bgm........z=..O..b.... |
10cc0 | 81 19 aa 12 da 8f 53 08 0c 6d eb 47 ad c3 10 75 c6 52 f9 53 d1 61 3a 82 18 09 f4 49 b8 31 66 69 | ......S..m.G...u.R.S.a:....I.1fi |
10ce0 | 3a ba 88 7e e0 0a 75 2f 40 7e fe 74 2b 83 db 8f 57 f0 e9 43 a3 38 d5 e2 b2 1b 02 08 cb d3 7e 2e | :..~..u/@~.t+...W..C.8........~. |
10d00 | 5b 81 56 79 23 d0 38 96 68 5e 11 ae 48 6d 08 7a 5b 62 8a 6b 06 81 17 6d cb e0 c9 b3 6d fc f1 ab | [.Vy#.8.h^..Hm.z[b.k...m....m... |
10d20 | 3a a2 e0 e0 d7 3b c4 9a 1c 38 6d 95 00 e1 6b 77 5a ae 9a 43 69 ed 80 e4 98 71 ed a4 2a 50 e6 40 | :....;...8m...kwZ..Ci....q..*P.@ |
10d40 | 82 07 6f a1 11 83 13 4b c2 44 df 27 3b 36 0c 77 7e 5e ca 6c 44 c5 21 ca 7a 8f be 1f 1d b3 b0 6c | ..o....K.D.';6.w~^.lD.!.z......l |
10d60 | e1 b7 f6 3e 97 c0 6a 0d 6e 34 9f 42 d5 5d c4 a5 6f bb 01 03 5b c6 d0 e5 ef 99 8e d4 87 f5 4c 1e | ...>..j.n4.B.]..o...[.........L. |
10d80 | 93 2f ba 19 d5 ab af 83 47 6c 2a 9f 35 61 33 fb d1 12 2e 16 0b f4 89 6f 0b 02 56 aa 4e 38 44 ab | ./......Gl*.5a3........o..V.N8D. |
10da0 | e5 e3 ec 29 a7 97 fd 1e a8 78 bd ca d2 d6 8e e4 d0 88 9d c8 81 f6 d1 44 11 c5 c8 af d5 8b 28 22 | ...).....x.............D......(" |
10dc0 | d1 51 19 2b 14 3d 57 08 08 ea 31 51 74 f0 ab 97 9d c6 1d af 7a 14 1f bc 7e 2f 5e b5 ee 28 56 5b | .Q.+.=W...1Qt.......z...~/^..(V[ |
10de0 | 67 81 f6 1c b0 48 cc 6a e6 5b 74 7b 5e 69 b3 07 5d d5 66 86 67 c8 fe a5 8e de 76 e5 b1 9d 63 5d | g....H.j.[t{^i..].f.g.....v...c] |
10e00 | bc f7 65 6d 7c f9 3f ba 98 59 ac e1 63 6f 6e a3 90 61 1d 2a 57 fa 09 36 97 03 f5 fd 75 db f8 d2 | ..em|.?..Y..con..a.*W..6....u... |
10e20 | 30 99 81 34 c1 0d 57 09 ac 82 26 9d 8b 06 2b 9b ba 70 67 96 7b 91 3f bf e7 68 cf 4e 4e a9 6c 0b | 0..4..W...&...+..pg.{.?..h.NN.l. |
10e40 | 29 71 62 5f 7f d0 17 b0 10 b7 19 99 e0 ef db 77 19 6a d9 8d 18 2e 15 71 53 70 2f ae 7e eb 0e ac | )qb_...........w.j.....qSp/.~... |
10e60 | 7f d1 0e 34 8f 3e 82 ea 96 17 a4 17 6c 6a 12 a6 63 79 ef a3 f8 97 9b 2e 87 9d 21 73 c6 09 d1 71 | ...4.>......lj..cy........!s...q |
10e80 | 7c 48 7a 50 2e 23 ed c0 3a 2d b7 d7 b4 54 b3 23 06 b3 0d 9b 0a 18 18 b4 54 9d 9f a5 cb 9c d9 2a | |HzP.#..:-...T.#........T......* |
10ea0 | ca b0 b9 a8 bb e1 18 61 6c 1a 9a 91 39 98 dc 6a 33 31 62 24 46 c2 cf 63 24 7a 18 1a c9 6d d2 94 | .......al...9..j31b$F..c$z...m.. |
10ec0 | 53 fd be e2 1a c0 fd 0b 05 ec 9b f5 71 6a d9 c5 7d 67 f2 0a a4 68 dc 77 da c4 35 ab 14 a3 1a c8 | S...........qj..}g...h.w..5..... |
10ee0 | 85 04 52 01 76 4e 04 d8 35 49 cc aa aa 52 10 66 ba 06 36 ae 0a e3 42 65 8e 30 76 db 3e da 75 f5 | ..R.vN..5I...R.f..6...Be.0v.>.u. |
10f00 | bd b2 25 9b 80 2a a3 b4 e9 d9 d4 e5 5c 30 8e 7a 42 e5 85 19 d9 0c 1a c7 e7 e1 b5 ba f1 f7 e0 ef | ..%..*......\0.zB............... |
10f20 | 67 55 0a 28 6c dd 0e e7 c4 93 f0 16 9b f0 59 02 a7 e6 27 be 9b fa 62 df 3c 36 8e df 3e f0 22 94 | gU.(l.........Y...'...b.<6..>.". |
10f40 | 87 27 f1 86 ca b7 f0 b6 df 68 a0 ba 63 2b 3a f3 21 9a b5 35 18 7d c1 fb d3 8b 35 05 ac 74 f0 78 | .'.......h..c+:.!..5.}....5..t.x |
10f60 | fc dd bf 83 c3 ef 7f a7 b4 bd 69 d2 22 ed 10 33 70 b8 79 44 ce 96 c8 60 9b f3 b4 ac 5e 87 1a 5e | ..........i."..3p.yD...`....^..^ |
10f80 | 90 19 02 b8 ad db 4b c8 e6 14 18 89 de b8 6e 50 c1 aa 09 9c e3 65 68 59 19 d3 ea 81 94 bc 8e 64 | ......K.......nP.....ehY.......d |
10fa0 | 33 ac 00 2b 73 a5 cf 47 ad e8 73 80 0b 5a 85 34 09 58 c6 8a 6e cd 58 71 3b b1 35 12 59 12 2c 51 | 3..+s..G..s..Z.4.X..n.Xq;.5.Y.,Q |
10fc0 | cc 3d 13 ad bc 56 50 60 47 95 ab f4 ac da 75 0f 9d 86 4f df c5 92 9a 45 96 94 e6 e3 d5 77 09 a5 | .=...VP`G.....u...O....E.....w.. |
10fe0 | 33 90 bc 10 99 ce ec c3 e2 f3 d4 38 b9 d4 e7 bb 32 e9 b9 03 57 ee 82 b3 d4 84 77 f6 14 bc 46 17 | 3..........8....2...W.....w...F. |
11000 | dd 05 4f 58 55 f2 7b d5 3a 36 6e fe c6 f3 11 96 57 e1 6d 2f 3d 8c ff fc ea a7 90 1d 2a 11 09 ac | ..OXU.{.:6n.....W.m/=.......*... |
11020 | 62 f6 80 83 e1 17 7f 1a f6 e0 a6 f4 42 4d 01 2b 1d 3c dc da 32 be 71 e3 1e 74 4f 1f 97 d4 25 66 | b...........BM.+.<..2.q..tO...%f |
11040 | 58 6d d6 42 27 24 62 d0 6a b5 b8 6c 27 50 0a a0 1a 0c 78 bd 95 4a 19 6c d9 5a d4 7a 78 a1 96 35 | Xm.B'$b.j..l'P....x..J.l.Z.zx..5 |
11060 | 56 2a 0b ec f7 12 6d 2a 59 c0 aa a4 47 40 ca 4a 38 de 23 8d 2b 7d 3f 02 ab 48 bf bd 8f 71 69 1f | V*....m*Y...G@.J8.#.+}?..H...qi. |
11080 | 57 04 54 46 42 3e 39 d4 fa e7 88 33 c9 13 b7 c3 c8 57 a4 d9 9e 11 c6 81 01 61 80 91 f6 73 24 7b | W.TFB>9....3.....W.......a...s${ |
110a0 | 4c df b3 b1 e8 0a 73 ca 14 6d 91 6d 36 22 3d 2e 4b bd 8f d4 43 ea a4 7b d1 02 23 86 55 3b db 94 | L.....s..m.m6"=.K...C..{..#.U;.. |
110c0 | a2 ea 18 ac 88 69 56 2e dd 28 f5 86 5e 63 01 dd 23 d3 f0 e8 c7 80 35 da fb 1a c3 d2 e6 67 ef dc | .....iV..(..^c..#.....5......g.. |
110e0 | 8d fc 70 11 7f f6 f3 c7 b1 f5 12 fa 1c 1c 79 ad bb e8 cc 19 e8 0e bd 01 43 37 fc 61 7a 91 a6 80 | ..p...........y.........C7.az... |
11100 | 95 8e e4 38 7b e7 ed b8 e7 96 17 ca 3a 72 03 03 2d 66 56 ac c5 c7 a0 45 4c a1 d1 70 7a a0 03 c4 | ...8{.......:r..-fV....EL..pz... |
11120 | 3e 27 4e 7b 60 d0 12 90 d0 79 a0 02 14 a6 5a b4 56 26 ea 7e 13 c6 ac ca d0 d1 44 33 32 09 cd f3 | >'N{`....y....Z.V&.~......D32... |
11140 | b3 ac e8 76 af ce 2e 4c 38 e3 13 8e 2d 23 02 26 c4 fd fc 14 ce 85 b1 7e ba 61 44 2a 9e fa 18 ed | ...v...L8...-#.&.......~.aD*.... |
11160 | f0 97 63 0c a5 0e ca 3d 1a 3d c7 80 4d 20 6d 46 32 cd 11 a3 8a 40 52 22 a0 61 5f a5 50 87 4c c8 | ..c....=.=..M.mF2....@R".a_.P.L. |
11180 | f6 92 13 7f 0f ab 9c 45 75 f7 1a 02 d2 3c dc a5 ba 74 ee 69 1f 99 55 a6 60 80 24 55 c4 61 6f 10 | .......Eu....<...t.i..U.`.$U.ao. |
111a0 | cd 4d 43 78 c5 4d 6d 79 4f c9 4d ab 39 92 58 da 0a b6 a2 f4 bc 7f 42 b6 3a 94 5e a0 29 60 a5 63 | .MCx.MmyO.M.9.X.......B.:.^.)`.c |
111c0 | e5 78 f8 5d 6f c7 91 f7 bf 4b 16 0d f7 f8 6c 92 79 d4 66 49 26 f1 53 91 b9 48 4c 4b a4 5f 0c c9 | .x.]o....K....l.y.fI&.S..HLK._.. |
111e0 | b0 22 36 a6 24 80 c7 c6 b3 58 bf 21 af 65 8c 35 d3 8a fc 57 a2 61 a5 58 0a b4 c9 a8 80 6f 05 c3 | ."6.$....X.!.e.5...W.a.X.....o.. |
11200 | 4a 82 d5 79 fc 5a f2 58 24 1d ac 6d d3 3e 86 95 48 e6 32 22 60 4a 02 56 f4 5c b3 07 6a ec 4c f7 | J..y.Z.X$..m.>..H.2"`J.V.\..j.L. |
11220 | 9d 50 72 4f 03 ee ec c3 2a 12 66 0f 88 14 a8 86 7d fb cc f8 b6 da cf 12 34 b5 59 47 a5 66 b0 af | .PrO....*.f.....}.......4.YG.f.. |
11240 | 6b b4 88 ca ae 31 ba 93 51 99 f0 2d 07 de 62 1d ad 13 35 25 83 ac c1 8a 59 69 e5 a2 1c 86 f7 54 | k....1..Q..-..b...5%....Yi.....T |
11260 | 54 2d 27 9f 33 76 d2 73 a3 55 1a 8d 7a 09 d5 97 7c 0e d6 c8 ee f4 c2 4c 01 2b 1d df 6b 7c e5 fa | T-'.3v.s.U..z...|......L.+..k|.. |
11280 | dd e8 1c dc 0b 3f 24 73 c4 0f d1 e8 10 f3 08 24 6c 28 e4 80 13 4a b9 c7 a0 74 b7 01 c4 77 c3 51 | .....?$s.......$l(...J...t...w.Q |
112a0 | be 89 89 1c d6 ad cb 29 93 2f 02 1a 53 b1 2a 51 0c cd 28 5d ab c8 cf 75 8e 13 3e 69 1a 46 0e f9 | .......)./..S.*Q..(]...u..>i.F.. |
112c0 | 08 ac 22 13 31 d1 be a7 c7 b2 12 cc ea 7c ac 4a aa 75 94 e4 71 10 98 3a 52 67 48 67 1d 7e 73 c3 | ..".1........|.J.u..q..:RgHg.~s. |
112e0 | ec b5 89 ef 7d ae 44 dd b5 a9 18 56 0c 54 89 3c 33 06 ab c6 42 27 0e 46 94 37 0f a2 b8 71 50 95 | ....}.D....V.T.<3...B'.F.7...qP. |
11300 | 34 76 55 c7 66 3e b6 b1 6f 1a ce 92 0a 00 e4 2a 06 ca 1b 72 04 56 05 98 05 53 69 e2 73 c2 2d 97 | 4vU.f>..o......*...r.V...Si.s.-. |
11320 | e3 68 65 d7 76 3d 44 e9 86 bf 42 76 e3 2b d2 0b 32 05 ac 74 7c bf d1 9a 9f c3 57 af de 46 f4 aa | .he.v=D...Bv.+..2..t|.....W..F.. |
11340 | 26 a0 d5 26 80 6a f0 e2 63 5f 17 b7 d1 52 3d 13 54 67 1b 9d 19 2f 82 74 b4 73 6c 94 98 d6 fa 7c | &..&.j..c_...R=.Tg.../.t.sl....| |
11360 | cc 48 22 39 1a 06 aa 88 51 49 c2 69 c4 80 74 62 69 04 10 7d d1 c3 38 a1 34 72 ce 27 1c ee e8 35 | .H"9....QI.i..tbi..}..8.4r.'...5 |
11380 | 71 58 d9 49 95 3f 87 2f 6a a4 ba a1 44 a4 43 15 ac bc 02 59 ec 41 49 e0 d8 a5 12 02 87 00 ad d3 | qX.I.?./j...D.C....Y.AI......... |
113a0 | 40 24 41 1f 7d 87 1e 88 25 cc 40 01 2b 1f cd 45 05 56 99 6a 16 95 cd 55 64 86 f3 4a 9c 90 c5 f7 | @$A.}...%.@.+..E.V.j...Ud..J.... |
113c0 | 9a 4a b0 30 68 b6 d0 3d b9 88 c2 88 25 72 c9 d9 b1 8c 62 72 11 50 75 08 4c 1d dd a9 88 ce 47 a7 | .J.0h..=....%r....br.Pu.L.....G. |
113e0 | 09 14 af 7d 2f f2 db df 98 5e 8c 29 60 a5 e3 07 f2 67 3d 70 1f ee 7c f1 b5 92 bd ce e9 47 35 62 | ...}/....^.)`....g=p..|......G5b |
11400 | 59 5d 5e 84 aa a9 0e 1c 9d 4b 95 d1 e6 9e 99 00 ad 81 b2 8d 8d 9b 0b b0 6d 6d 1a 26 7c 57 a6 06 | Y]^......K..............mm.&|W.. |
11420 | 28 4e 7b 48 3a d8 cf 01 2c b3 9f 5d c5 b7 fb 80 4a 97 b4 44 3e ac 24 78 e9 68 20 74 43 56 c3 4e | (N{H:...,..]....J..D>.$x.h.tCV.N |
11440 | 30 b1 c8 e1 6e 29 11 c3 c0 cf a0 b3 c0 4a a6 6e cf 21 bf 92 6d ad 00 2d ee de dc 5e ea 08 a0 96 | 0...n).......J.n.!..m..-...^.... |
11460 | 56 97 50 5a 5b 26 0b 90 1e c8 5a c2 e2 a4 b0 39 54 ea 37 59 73 89 3e 9e 52 48 95 ef 6f ab 22 ef | V.PZ[&....Z....9T.7Ys.>.RH..o.". |
11480 | c0 31 44 55 d4 b0 7a 7e bd 4e 9b 58 da 75 ef 43 7e 67 0a 56 29 60 a5 e3 07 1a d1 9f 65 ef 5f ff | .1DU..z~.N.X.u.C~g.V)`......e._. |
114a0 | 4f ec fb ad 5f 11 f3 8f 25 de eb 6c 1a 7a 4a eb 8a b3 88 ba 2c 3b 1c f0 82 34 a4 16 91 1d e8 9e | O..._...%..l.zJ.....,;...4...... |
114c0 | e7 89 c9 55 2c 9a d8 b8 a9 80 ec ff 66 ef 4c 62 f4 ca ae 3a 7e ee 1b bf b9 be aa 72 55 d9 ee b6 | ...U,.......f.Lb...:~......rU... |
114e0 | 63 2b 56 0f 56 42 a7 d3 21 20 75 e8 44 08 25 20 a2 48 88 45 02 0b 58 22 41 56 20 56 08 56 08 56 | c+V.VB..!.u.D.%..H.E..X"AV.V.V.V |
11500 | 08 f5 02 04 82 2c 10 1b 16 80 90 20 28 28 40 27 80 84 e8 64 91 56 3a 4d a7 27 3b b6 db ee f2 50 | .....,......((@'...d.V:M.';....P |
11520 | d3 57 df f4 46 ce ff dc 73 5f bd 32 dd d0 84 8e 54 4e ee 95 ae ef fd 86 9a 5e d5 fb f9 7f ce 3d | .W..F...s_.2....TN.......^.....= |
11540 | 43 ac 31 5a a6 6e f9 ad d4 87 15 9a c6 a9 dd 0e 71 50 f9 f4 36 0e 78 6a 39 cf f5 b1 ab ab 45 47 | C.1Z.n..........qP..6.xj9.....EG |
11560 | 3e aa 36 cc c8 c1 cc 99 76 e1 51 74 bd 04 ba 2e e1 bf 42 93 8d a0 f9 1a e2 60 ff 1f a0 55 66 19 | >.6.....v.Qt......B......`...Uf. |
11580 | 15 8b 8c ba a7 52 ea 6d 75 d8 ac 8b f5 a4 30 14 53 f3 28 b1 9b cd bf de 9c aa d9 54 ae a1 f5 e1 | .....R.mu.....0.S.(........T.... |
115a0 | 21 c0 d6 68 a9 68 a3 a6 a5 8d eb 42 50 6e e7 e9 67 a9 eb 61 75 62 81 95 fb cb 70 32 81 85 ea 00 | !..h.h.....BPn..g..aub....p2.... |
115c0 | 80 cf 8b 5f f8 a3 e0 95 df fc b5 20 e2 1b 12 d0 da 9b 17 12 a6 64 6b b4 a3 d9 b3 8d e8 66 21 46 | ..._.................dk......f!F |
115e0 | dd 4e 44 61 60 a1 85 a8 76 a8 af 0b e7 53 e9 31 d8 e4 18 3a df 50 0b 58 cd 4d 1b 99 23 70 91 35 | .NDa`...v....S.1...:.P.X.M..#p.5 |
11600 | 3b dd 49 61 5b 61 b9 f4 1d 3a a6 ac e8 a8 fd 7b a3 b4 ea ff 56 65 b4 0d 35 04 f4 17 b9 2d 51 a3 | ;.Ia[a...:.....{....Ve..5....-Q. |
11620 | 95 75 8e 43 eb 3e b3 50 6a 56 14 4b 4a c7 6c da b1 e9 07 f5 29 f9 1a 49 24 3d 1c 5d 13 0e 5c 0c | .u.C.>.PjV.KJ.l.....)..I$=.]..\. |
11640 | ec 93 11 5f 87 bd 5d 9b 76 24 29 8a a6 31 fb da aa 4a ae 4d 67 85 3a 3f f1 67 65 7c f6 99 da fe | ..._..].v$)..1...J.Mg.:?.ge|.... |
11660 | bc c6 ff 21 9e b0 81 5c c2 c2 5f 86 93 07 ab f6 7c ff cf ff a2 59 2e 16 e1 d5 df fe 8d 08 81 a2 | ...!...\.._.....|....Y.......... |
11680 | 23 86 d2 fe bc 14 93 10 70 e9 86 01 e5 7c 73 23 46 6b be b0 e9 3d 31 df c0 65 5e 88 a3 fb ca d5 | #.......p....|s#Fk...=1..e^..... |
116a0 | 05 6d 6e 26 b4 b9 15 53 50 ab 14 d2 f2 ca 55 c3 19 23 49 d4 81 39 e2 0b 6e e2 a8 01 97 4d 67 39 | .mn&...SP.....U..#I..9..n....Mg9 |
116c0 | 16 f1 ee 40 65 5a 65 8e 4d cb 44 6c f9 b5 da a6 a2 d3 f4 65 61 c4 74 6b 3f 57 ab e3 dc 7e 51 1b | ...@eZe.M.Dl.......ea.tk?W...~Q. |
116e0 | dc ea ca 2c 87 51 49 29 6a 08 0e 7a 16 4a 46 cb c2 14 b6 7b 0f cc 4b 28 2c d2 7c c9 30 65 13 fa | ...,.QI)j..z.JF....{..K(,.|.0e.. |
11700 | cd 3d 35 f9 9c a2 ac e9 78 3d 0a 4d e4 5e bd 5c 47 cf 3c 9b 9b cd 0f 55 72 20 e1 61 75 62 81 95 | .=5.....x=.M.^.\G.<....Ur..aub.. |
11720 | f9 cb 70 a2 15 96 c1 fa d0 cf 7e ce 4c a7 d3 78 fb f7 7e 27 8d 93 90 56 ba a1 f5 69 21 90 94 7f | ..p.......~.L..x..~'...V...i!... |
11740 | 8b 1d a8 2a be 89 97 79 49 0b 38 bb 61 da 74 42 69 ab 5e 64 25 dd b9 9d d1 e1 61 41 0f 9d 4d a9 | ...*...yI.8.a.tBi.^d%.....aA..M. |
11760 | db 8f ec 6d 1a 58 fa 40 89 49 c0 67 6d 34 7f d0 56 7c b0 5d a3 ad 02 43 7e 23 45 ae 22 a7 fd 98 | ...m.X.@.I.gm4..V|.]...C~#E."... |
11780 | ba 65 3d 1e 35 1e 55 78 35 d1 f8 ad 96 59 4d 8e a2 91 22 82 ef f8 b3 bb 18 a9 a0 62 ae d6 0c 28 | .e=.5.Ux5....YM..."........b...( |
117a0 | 40 ca 50 98 c4 0a 23 63 f3 03 55 59 8a e9 1a ab d2 aa 6c 67 6c d0 75 79 7d c7 9a ab 2e 3b 40 be | @.P...#c..UY......lgl.uy}....;@. |
117c0 | 0b d3 7c af ee 9b cc cf 7c aa 08 9e fe dd 45 30 dc ac f9 5a d7 38 c4 f0 d0 3a b9 c0 f2 26 e1 c9 | ..|.....|.....E0...Z.8...:...&.. |
117e0 | 05 96 c0 2a cf 73 98 ee 74 ea d3 3f 53 cc 66 f3 6a ff 0f 7f bf 0b 68 8d 01 ad 25 d1 02 7e 20 be | ...*.s..t..?S.f.j.....h...%..~.. |
11800 | 29 63 9c fe a5 6c 36 32 c4 32 dc d0 6c 3a 76 d0 2f 90 df 5b 00 64 f3 8a ae bc 31 a7 8d 2d a8 ad | )c...l62.2..l:v./..[.d....1..-.. |
11820 | d4 de b7 5a 00 4a 92 80 9d 32 12 22 59 fb 4f 18 20 ed c8 54 71 c5 d6 ff 84 53 43 69 db 55 da 13 | ...Z.J...2."Y.O....Tq....SCi.U.. |
11840 | 40 db c3 a1 3e b2 fe 8e 99 86 d4 b4 26 7b e7 61 2b 40 84 0c 45 74 b1 4f 3a 15 c5 9d 40 22 f5 5d | @...>.......&{.a+@..Et.O:...@".] |
11860 | 8d aa 5a 6d 81 aa dd d8 c2 55 95 d0 ca 34 36 a8 94 61 75 73 d7 2a bb b0 55 e8 ab d1 7e da 01 3b | ..Zm.....U...46..aus.*..U...~..; |
11880 | ea d7 7b 97 3e 3f 8f 2e 7f 2e eb 99 5e 5d b2 1c 85 29 1d 86 61 ed 7e 07 1e 5a 5e 61 f9 f1 2e 60 | ..{.>?......^]...)..a.~..Z^a...` |
118a0 | 65 6f cc ca 40 61 f1 8d 24 d0 e2 ff f9 cd f8 27 3f 5d 66 41 58 ce fe f4 0f fa 71 b1 34 ab bd 88 | eo..@a..$......'?]fAX.....q.4... |
118c0 | a6 19 42 1e 0a 09 7f 40 98 43 97 cd a2 02 ca 0a 90 5a 94 e2 74 47 a3 0b 57 03 1e 6a eb 60 2f a7 | ..B....@.C.......Z..tG..W..j.`/. |
118e0 | b3 0f 77 69 30 8c ec d1 3e 69 bf 43 98 89 5a 93 5d 20 16 d9 7c 44 ac 52 9e a6 55 9a 06 30 89 12 | ..wi0...>i.C..Z.]...|D.R..U..0.. |
11900 | 87 21 57 21 02 5f b7 d6 d6 60 ae 87 6b cb 77 d5 38 e9 6b 1b 17 16 d5 62 a6 09 0c 53 d3 c4 7a 59 | .!W!._...`..k.w.8.k....b...S..zY |
11920 | fb 8e 1a 33 b4 ed 03 3b 8e 42 fb bd 1c a5 34 e6 34 bb 36 b1 41 ab 81 39 32 fb 14 a0 ae 41 c7 64 | ...3...;.B....4.4.6.A..92....A.d |
11940 | ed 87 b3 dd c7 3e 3f 0d c7 17 cb 6e 96 d5 71 1c d7 49 92 88 c2 c2 7f 12 7c ad 6b 0f ab 93 09 ac | .....>?....n..q..I......|.k..... |
11960 | a5 bf 0c 27 13 56 ea c3 02 b0 30 03 c0 8b ff f7 37 83 8f 7d 3c 5f f4 07 59 fe c7 cf ae 44 93 bd | ...'.V....0.....7..}<_..Y....D.. |
11980 | 70 d8 8d 18 4a 31 ed 23 d7 90 cd 3f c0 29 8d 30 0d 65 0c b3 5c 83 4a 03 73 e4 b5 c9 19 2a d7 ae | p...J1.#...?.).0.e..\.J.s....*.. |
119a0 | ce 68 30 88 68 f3 4c 4a 3d 80 4b 42 17 8e ea a9 0b 2c 6a 1b 45 2f 1d a7 23 1b 09 2e a5 ae 1c 86 | .h0.h.LJ=.KB.....,j.E/..#....... |
119c0 | 14 5e a8 92 2a cf 07 d2 8e f0 58 0a 8e e4 35 36 27 8b ba 27 ad 1d df 78 b7 5c 65 09 1b c3 25 c0 | .^..*.....X...56'..'...x.\e...%. |
119e0 | 6c 4c cd 16 78 ee bf 5e 2d ed c4 f2 93 b2 83 85 fd 39 d4 95 75 fc 63 6b 5a c4 ab e5 8d 4b bf 72 | lL..x..^-........9..u.ckZ....K.r |
11a00 | b0 3c f5 d4 b2 13 75 ea 4e 51 88 b2 72 13 c0 c2 70 d0 f2 7f 91 1e 58 7e bc bb 61 d4 24 34 aa b4 | .<....u.NQ..r...p.....X~..a.$4.. |
11a20 | 02 05 97 40 ab f7 e8 e3 c5 fe af ff 56 56 fe f9 9f ac 9a 57 5f 4a 3b 0c ad 78 25 a5 c9 34 a7 05 | ...@........VV.....W_J;..x%..4.. |
11a40 | 94 14 df 70 71 14 52 af 13 b2 b9 16 30 b8 4a 39 b2 0f 03 d7 93 cf 9e fc cd a6 25 5d 7b 7d 46 e3 | ...pq.R.....0.J9..........%]{}F. |
11a60 | b5 88 56 11 22 20 a7 89 08 2f 90 a8 4c 09 cc 94 93 42 fc 83 3a 5b 1a c7 25 13 39 8a a1 f6 cd aa | ..V."..../..L....B..:[..%.9..... |
11a80 | ad fc 92 d8 d0 da 05 7d ba 14 9f 50 73 05 f1 35 c3 63 55 20 9a 0f d0 84 e7 5a 3b 3c d7 ae e4 0b | .......}...Ps..5.cU......Z;<.... |
11aa0 | b5 4c 4d 73 1c 55 75 13 14 56 d0 fc ce 42 3e be 31 01 8d 69 19 a8 08 63 48 68 3e bd 58 7d fd c7 | .LMs.Uu..V...B>.1..i...cHh>.X}.. |
11ac0 | 7e 75 7b d4 1f 55 29 83 a9 05 a9 4a 95 55 e5 80 75 1f 0f fd f0 c0 f2 e3 7f 03 16 d9 b0 13 cc 40 | ~u{..U)....J.U..u..............@ |
11ae0 | 27 e0 15 00 60 80 56 67 6d bd d8 fd 85 5f ba 3d f9 d7 af 8e 36 be fc d7 2b 11 fc 5a a3 98 66 e8 | '...`.Vgm...._.=....6...+..Z..f. |
11b00 | 1c 3d 2f d8 34 2b 28 ac 60 b6 85 14 b1 e9 98 33 c8 d0 5e de b8 de a0 ad 8a 0d 7b bb 05 4d f6 0b | .=/.4+(.`......3..^.......{..M.. |
11b20 | 1a ae 44 74 ea 74 4a 5d 56 5e d2 e4 35 0e a5 66 3c 40 52 6b 51 41 98 8c b6 f0 5d 69 0f f2 dc 09 | ..Dt.tJ]V^..5..f<@RkQA....]i.... |
11b40 | 1c 02 40 35 ce 8b c2 56 20 6a 2b 10 14 d5 f2 6c 4d af a3 ee ce c7 22 01 5b d5 13 1a 7f d3 91 23 | ..@5...V.j+....lM.....".[......# |
11b60 | ec c8 1c 14 eb b5 a0 e5 61 26 b9 88 f1 78 c4 b2 11 bd 08 e7 74 e4 fa 37 b4 3b 59 a1 80 a7 c9 b7 | ........a&...x......t..7.;Y..... |
11b80 | e8 cd f7 5f 3e 8c a2 28 bb 4f 49 d9 8d dd 56 56 e4 d6 95 07 d6 c9 05 d6 c2 5f 86 13 69 16 da 80 | ..._>..(.OI...VV........._..i... |
11ba0 | 72 a3 75 14 78 6d 83 0b 2b 7c 5a 9d 4e 27 d8 fd c8 47 77 ae 8c 46 f3 73 ff f0 97 a7 d2 c5 61 34 | r.u.xm..+|Z.N'...Gw..F.s......a4 |
11bc0 | 48 63 ea a6 29 1d b0 da 42 8e 61 b1 c8 c5 9c 4b 93 48 a2 c0 8b ac 90 d2 ca 72 3a 28 e0 0a 24 3c | Hc..)...B.a....K.H.......r:(..$< |
11be0 | 42 6a 42 31 b4 a6 93 42 82 4e 57 37 12 1a ae 26 14 a5 d6 f9 6d f8 cf 05 90 82 ea aa b5 aa 29 ec | BjB1...B.NW7...&....m.........). |
11c00 | 2e 51 60 41 ad f5 a5 6c 23 87 2a 38 1e 4b d5 a4 d9 dc 57 67 cb d6 d0 6a b5 5b 36 2d d3 cf dc 87 | .Q`A...l#.*8.K....Wg...j.[6-.... |
11c20 | 6f f5 57 55 15 83 6a 96 89 f3 1d 49 ce 9d 41 87 e6 37 26 54 33 b0 60 0a 4e b2 84 fe e9 ee 23 94 | o.WU..j....I..A..7&T3.`.N.....#. |
11c40 | 2d 36 e9 13 b4 4d 29 5f 8b 69 7d b7 b8 f1 be 47 77 06 75 9d 03 48 0e 52 2d 40 55 7c 3d c5 08 e6 | -6...M)_.i}....Gw.u..H.R-@U|=... |
11c60 | 6b 5d 99 76 59 0a 3f 3c b0 fc 78 07 59 d5 74 20 b6 43 a8 c4 8b 6e 31 42 55 5e 02 2f 3c 0f 68 cd | k].vY.?<..x.Y.t..C...n1BU^./<.h. |
11c80 | 1e 3e 5f 7d f3 a7 7f 2e 3b ff fc 73 eb 5b d7 5f eb 07 6c 0e ae a9 da 9a a3 b0 16 fa ec cd 33 c9 | .>_}....;..s.[._..l...........3. |
11ca0 | 21 4c d3 88 aa b8 a2 7c 69 cd 44 dc af 92 93 28 9d a2 ad f9 36 9f d5 b4 b8 b6 a0 7b b7 16 34 1a | !L.....|i.D....(....6......{..4. |
11cc0 | 47 34 18 27 d4 1b c7 84 e0 55 eb 10 2f 1b 5f 97 35 e3 ea c6 55 54 01 52 b5 91 0a 0b 54 6b 97 f9 | G4.'.....U../._.5...UT.R....Tk.. |
11ce0 | 56 2a 4f 13 67 65 8e 19 7c c7 8a e9 51 cb ff 24 af 22 ce ac 28 28 e7 19 74 0d c5 67 78 f6 d9 dc | V*O.ge..|...Q..$."..((..t..gx... |
11d00 | 65 28 1f be 3a 95 32 c7 2f 1c 9c a6 e7 f6 2f d3 2b f5 e3 f4 d9 fa eb f4 68 74 9d 6a 06 74 7d 76 | e(..:.2./...../.+.......ht.j.t}v |
11d20 | 5e bd 78 ea c7 6f 75 06 a3 b9 2a aa 36 b0 00 a7 12 90 d2 7d a5 7b 0f 2c 0f 2c 3f de cd d0 38 20 | ^.x..ou...*.6......}.{.,.,?...8. |
11d40 | 63 59 65 d8 32 0b dd 0c 1d b5 40 0d 07 2c 85 56 39 5f 19 97 df fa c8 27 b6 af 8f 37 87 4f bc fc | cYe.2.....@..,.V9_.....'...7.O.. |
11d60 | b5 f5 64 91 07 bd 24 60 b5 65 c1 55 20 cf 90 c1 92 2f 73 51 4c dd 7e 2c 4a 2b cf ec 6b 90 41 21 | ..d...$`.e.U...../sQL.~,J+..k.A! |
11d80 | 03 09 a5 97 a5 8f 44 60 5b 88 ed ed 96 74 b0 37 23 84 41 0d 46 21 f5 18 84 1d 36 19 93 6e 28 f4 | ......D`[....t.7#.A.F!....6..n(. |
11da0 | b1 61 0e ed e6 a7 36 33 bb 0e 5a 81 a2 ad 14 9e 76 1c 7c 5b 45 d5 ad 36 f1 62 12 22 6c c2 f0 f7 | .a....63..Z.....v.|[E..6.b."l... |
11dc0 | 06 55 87 93 c4 1e 43 0a 95 15 42 db f1 66 76 3d a7 9d db 11 7d 69 fb 11 fa e2 fe 93 94 ad 5c a4 | .U....C...B..fv=....}i........\. |
11de0 | a7 e9 55 fa e5 e5 df d3 98 81 9c ae 57 94 3c 14 55 2f 45 4f de ce cf 5c da 4f 2a db 6b c7 41 89 | ..U.........W.<.U/EO...\.O*.k.A. |
11e00 | 2f 67 c9 26 22 56 51 57 58 31 bd c2 f2 c0 f2 e3 bb 12 5b 22 ab 0c df 54 01 cf 10 53 99 15 ba 8d | /g.&"VQWX1........["...T...S.... |
11e20 | ea 15 ec 43 36 7d ca 6e b7 1b df 3d 7f a9 fa 62 7f 3c ff e8 cb cf 6f 9c 9d dc eb 42 30 0c 3a 21 | ...C6}.n...=...b.<....o....B0.:! |
11e40 | e5 4c 04 84 1c 20 22 1e 01 0e 65 56 08 a4 d2 6e 24 70 10 a0 e5 85 34 b4 88 a5 70 5e 60 fd 58 5a | .L...."...eV...n$p....4...p^`.XZ |
11e60 | 8f 0a 20 3a dc 2f 69 36 29 51 dc 93 df 43 d4 e9 87 52 b6 38 ed da b2 35 71 1a ca c7 d8 fb bd 62 | ...:./i6)Q...C...R.8...5q......b |
11e80 | a5 55 1d 81 ac 52 87 7f 3b 86 4a 09 25 df 13 3f c8 50 61 15 41 a9 01 ab be 8e 94 b3 a2 20 b1 29 | .U...R..;.J.%..?.Pa.A..........) |
11ea0 | 43 12 ac 3a b1 7d 04 0f 26 31 fd c5 2b 97 e9 4b d3 27 29 1c 9f a1 4b ab bb f4 cc ce 5f d1 63 6b | C..:.}..&1..+..K.')...K....._.ck |
11ec0 | 77 69 f3 89 84 28 35 a8 8b 5f 3d 17 7d fc 5a 71 fa 83 fb 43 86 93 9a 7c a2 a6 b0 e7 29 d0 c2 8c | wi...(5.._=.}.Zq...C...|....)... |
11ee0 | e3 58 f6 fc 5a ed 14 96 69 67 78 fb 71 62 80 35 f7 97 e1 e4 f9 b0 00 2b be 81 08 b0 e2 9b c9 30 | .X..Z...igx.qb.5.......+.......0 |
11f00 | 8c c2 2c cb 42 de cb d4 01 66 45 6a 36 e2 71 04 68 f5 7a bd 22 cb 46 c5 57 1e ff d1 9b 5b 37 af | ..,.B....fEj6.q.h.z.".F.W....[7. |
11f20 | 0e 7f e4 e6 2b eb a3 a2 08 13 09 fc d4 6a 0f 8d e3 da 58 a7 3a 83 2b 81 a9 98 5b c7 3a 94 17 20 | ....+........j....X.:.+...[.:... |
11f40 | 26 81 a2 71 28 95 1d 60 2e 86 41 a4 10 aa c4 89 5f 30 c0 0c 03 4c a2 e1 23 3b f1 89 d3 9e ad 14 | &..q(..`..A....._0...L..#;...... |
11f60 | 0a 6b 51 c2 21 9c c3 bc c2 49 1e 02 5b 6d fe a2 a4 fc 68 05 d1 d0 f5 56 8c ad 35 88 46 d2 a6 6c | .kQ.!....I..[m....h....V..5.F..l |
11f80 | f9 c1 f8 b5 62 46 f4 d5 37 cf d2 17 de fa 30 5d dc 48 e9 93 8f 4c e9 89 e1 3f d2 13 dd 6f d3 a9 | ....bF..7.....0].H...L...?...o.. |
11fa0 | 73 11 7f de 98 6e bd 3c a5 fd 69 6f f1 cf ab 9f bc da 1b 9f 9f 0d a2 28 57 40 95 aa aa 00 a8 32 | s....n.<..io...........(W@.....2 |
11fc0 | 49 92 12 d7 8b 67 85 c7 98 fc 5a ad d0 f2 b0 f2 c0 f2 e3 dd 9a 84 38 b0 72 0a 0b 60 02 b8 f8 06 | I....g....Z...........8.r..`.... |
11fe0 | 0b 31 cb b2 0c 97 cb 65 98 e7 39 54 57 d4 52 5f f8 27 e2 1b 2f ea f7 fb 39 7f 8e e4 d6 e9 f3 c5 | .1.....e..9TW.R_.'../...9....... |
12000 | df 74 06 f3 a7 b6 df 58 bb 78 78 77 30 4a 02 d3 eb a3 e0 5f 2d d3 3a cd 6d 65 03 39 fd 33 a8 76 | .t.....X.xxw0J....._-.:.me.9.3.v |
12020 | 50 36 cd 91 91 fa 52 22 94 bd d0 da 5b 89 75 c0 8b fa d2 32 cc f0 61 49 52 32 6a 60 15 f6 94 30 | P6....R"....[.u....2..aIR2j`...0 |
12040 | 9b 55 02 18 89 7a 40 ef c4 40 4b 1a c7 b6 33 17 92 b2 83 44 cb 63 d5 ed 84 64 57 a3 5d 9f 8b ac | .U...z@..@K...3....D.c...dW.]... |
12060 | 69 2a 2a 0b 75 bf ba 86 7e ea dc 1e 7d a6 ff 95 26 81 19 40 44 d8 c2 f6 6b 19 dd fe ce a2 ba 32 | i**.u...~...}...&..@D...k......2 |
12080 | ba 70 ef 9b 5b 1f bb 31 5a 59 c9 f8 ba 14 a1 55 57 85 c2 aa 50 45 25 c0 e2 59 40 5d e1 b1 2a ae | .p..[..1ZY.....UW...PE%..Y@]..*. |
120a0 | 5a e3 af 3c b0 3c b0 fc f8 bf fa b1 62 d8 5d 36 26 0b a0 42 48 83 78 bd 0b 56 4c fc 38 e2 15 13 | Z..<.<......b.]6&..BH.x..VL.8... |
120c0 | ea 4b 40 85 e9 06 9b 87 05 7f 8e 78 ca 8c f8 97 38 5d bc 7c ef ad c1 53 3b 37 d6 2f 94 f3 4e 77 | .K@........x....8].|...S;7./..Nw |
120e0 | 10 b3 d5 64 cd c2 52 f3 f1 2a 13 34 6d 58 5d 2e 23 02 46 dd a9 1e f6 c5 b2 92 ae 5d 50 5c 00 98 | ...d..R..*.4mX].#.F........]P\.. |
12100 | cc 34 6a 2a 86 9a 4a 1b a3 6a 3c 15 b5 63 2f 6d 6f 0c 36 25 dd b1 21 69 c9 17 98 7c 1a 78 1a 39 | .4j*..J..j<..c/mo.6%..!i...|.x.9 |
12120 | 58 b9 36 5e 74 04 33 98 9c fa 1a cc 4e 28 be aa 0c e8 de 55 06 d5 ab 73 ba 11 af 4e fe 6d f4 a1 | X.6^t.3.....N(.....U...s...N.m.. |
12140 | 6b f5 fa d6 74 a5 df cf 00 24 be 1e 39 14 15 c0 84 c9 6a aa e0 eb 02 d3 b9 59 3b 9d 4e 05 a5 85 | k...t....$..9.....j......Y;.N... |
12160 | 68 77 00 0b ea ea a8 d1 87 1f 1e 58 7e bc 5b 27 96 33 0d 0d df 6c 12 ed 0e 75 05 68 01 50 d8 03 | hw.........X~.['.3...l...u.h.P.. |
12180 | 5a 58 59 6d c5 fc bc 00 0c cf 31 70 64 f2 73 20 9e d4 31 d8 8d cf 2d ff 6e 30 9e 5c da 7d 6b fc | ZXYm......1pd.s...1...-.n0.\.}k. |
121a0 | d4 fe f6 fa e9 5e 19 0f c6 5d 66 0a 0a e7 65 b6 a0 5d a9 27 76 ad 1a c5 95 84 31 38 08 69 87 1b | .....^...]f...e..].'v.....18.i.. |
121c0 | 54 3d 2d 6c 88 03 6a 4b 89 49 18 07 5a 18 90 4d c7 30 b2 e9 37 b5 f6 94 af eb a3 2e 35 86 9a fc | T=-l..jK.I..Z..M.0..7.......5... |
121e0 | 40 e3 3c ed 92 c8 4c 1a f0 a9 07 89 f8 a7 b4 d7 c1 96 74 e6 cf 1b a1 a4 4c 4c d9 d2 d0 fe 5b 0b | @.<...L...........t.....LL....[. |
12200 | ba 71 65 5e 5e cf 06 87 cf 27 1f 7c 73 b9 7a 76 32 1c 0e 33 85 50 ae 26 5f ce fb a2 35 cb f6 63 | .qe^^....'.|s.zv2..3.P.&_...5..c |
12220 | 7e 8f c0 0a aa 4a 1d ee 1e 56 1e 58 7e 7c b7 2a cb b1 0b 6a 8b 6f 30 ac 72 34 07 28 01 44 80 14 | ~....J...V.X~|.*...j.o0.r4.(.D.. |
12240 | 7e 8f 58 31 f9 f9 b8 bd ba d7 01 2f a8 2f be 21 a3 d7 e3 64 7e a5 b7 ba fb f8 fe f6 da 07 6e ef | ~.X1......././.!...d~.........n. |
12260 | ac 3d 34 a4 78 b4 31 92 6a a5 15 83 ab 98 2e 6d 22 71 64 cb 2f 07 ac a0 92 41 62 5f 5f 16 62 02 | .=4.x.1.j......m"qd./....Ab__.b. |
12280 | c2 6c 84 8f 2b d0 06 16 81 06 8e a2 c6 3c 1c f7 38 8f 13 cb ca d5 d7 d2 ea 0f c6 1d 13 b8 2a a6 | .l..+........<..8.............*. |
122a0 | ad 5e 89 ae 0e bd 54 88 40 dc 17 cf b8 df a1 a8 97 52 d8 49 a4 e5 d7 c1 dd 39 dd be b1 a8 de b8 | .^....T.@........R.I.....9...... |
122c0 | 56 2d af 95 c3 83 17 d2 c7 b6 ab b5 f5 29 9b c0 59 9f 01 04 05 c5 10 02 ac 0a 07 2e 07 a7 5e af | V-...........)..Y.............^. |
122e0 | 97 c3 bf c7 ef 15 3f 1f e0 a5 fe ab 4a 9d ee de 0c f4 c0 f2 e3 3d 80 16 4e 0a 1d b8 dc 2d 2f 8e | ......?.....J........=..N....-/. |
12300 | 76 fc 0e 01 21 07 26 7e 7f 0c 33 50 f7 78 2e c6 8a f7 40 95 61 cf 37 69 30 4f 92 f9 8b fd c1 e4 | v...!.&~..3P.x....@.a.7i0O...... |
12320 | db d3 cd db e7 27 3b 2b 3f 74 e5 ee c6 fb 56 83 74 ed 54 3f 18 6e 0d a8 98 65 94 4f 17 d6 97 c6 | .....';+?t....V.t.T?.n...e.O.... |
12340 | b0 29 2a 43 bd cd 15 39 31 2c 67 4b 69 09 4f 05 9b 93 95 8d f1 32 c1 d1 89 1f cc c5 50 7c 51 c1 | .)*C...91,gKi.O......2......P|Q. |
12360 | 51 a5 50 2d cb 2c 26 62 63 e2 21 7c 22 94 46 a7 98 61 27 a6 00 05 08 d3 44 20 19 b0 39 8c 8e d7 | Q.P-.,&bc.!|".F..a'.....D...9... |
12380 | fb 77 16 74 f5 c6 7c 79 eb cd 65 79 65 d1 3b 78 35 38 bb 3b 1b af 4e c2 e1 68 ce 50 ca a1 90 00 | .w.t..|y..eye.;x58.;..N..h.P.... |
123a0 | 26 c0 4a 41 94 33 94 0a 85 93 ec 59 79 e5 83 c1 a0 c4 5e 27 cc c1 0a e6 20 1c ed 98 7a bd 3d b4 | &.JA.3.....Yy.....^'........z.=. |
123c0 | 3c b0 fc 78 af a0 e5 a2 dc 5d 20 29 94 93 9e 12 c2 e1 1e 63 6d 41 ca 81 4b 9e 57 80 45 7a b2 b8 | <..x.....].).......cmA..K.W.Ez.. |
123e0 | c0 69 63 96 24 b3 d7 fb c3 fd ab b3 53 77 36 27 7b 2b 1f 78 ed de fa 85 61 d5 7f 68 23 4e 46 17 | .ic.$.......Sw6'{+.x....a..h#NF. |
12400 | 37 a8 ca 73 5a ec 2f c9 a4 71 bd 73 73 62 00 a1 fe 5a 97 ba a7 87 54 2d d8 8c 64 45 56 2e 33 f1 | 7..sZ./..q.ssb...Z....T-..dEV.3. |
12420 | 85 d9 9e 88 0c 2b 56 44 25 13 ab 04 9f 58 61 75 86 29 a5 c3 84 81 14 52 94 00 44 56 41 d9 53 4a | .....+VD%....Xau.).....R..DVA.SJ |
12440 | db f5 a6 58 22 7a 1d 35 da ab 6a fb 4e 91 df d9 5f 14 bb 77 8a ea ce cc 2c ae 98 c1 c1 2c 5d 99 | ...X"z.5..j.N..._..w....,....,]. |
12460 | cf fa fd 69 b9 39 10 48 75 d5 27 a5 d3 f9 a2 a0 a0 72 ec db a0 c2 3a 1a 8d 8a 96 ba 2a d5 6f 25 | ...i.9.Hu.'......r....:.....*.o% |
12480 | aa ca c3 ca 03 cb 8f ef 21 b4 5c 40 29 56 fc a3 61 0e 91 86 3a 34 ce 77 be 91 63 0c 5e f1 38 5e | ........!.\@)V..a...:4.w..c.^.8^ |
124a0 | 2c 16 78 2e c2 09 23 ab 2d 3c 85 d8 2d 39 6d cc 3a 9d c9 ed e1 68 e7 cb cb ad 1b a3 c9 c1 e8 f2 | ,.x...#.-<..-9m.:....h.......... |
124c0 | f5 db 5b 17 ae ee ae 6e ae 45 f1 c6 a9 24 ae ba 9d fa 1b ff be 9b ed 6d 8d 77 4e df 3c 18 8e a3 | ..[....n.E...$.........m.wN.<... |
124e0 | fd 74 73 1c c5 bd d5 84 7a ab 43 86 52 22 d0 29 58 11 2d e7 39 e5 33 1c 05 c6 f5 1b df 39 5c 94 | .ts.....z.C.R".)X.-.9.3......9\. |
12500 | c5 d4 d4 65 6d 32 54 37 ae e1 b5 32 94 d5 a6 82 e2 ca eb a0 64 fc d6 79 18 14 57 a9 37 59 06 51 | ...em2T7...2........d..y..W.7Y.Q |
12520 | 9e c5 69 be 48 86 cb 45 a7 3b 2f 4e f7 16 80 12 4e f7 3a ac a0 34 f4 00 a6 1c f6 62 02 6a fc 99 | ..i.H..E.;/N....N.:..4.....b.j.. |
12540 | 03 55 06 30 b1 9a 2a 1c b0 e0 5c e7 15 c0 2a d5 d1 2e aa 0a fe ab 50 9c f7 1e 54 1e 58 7e 7c 4f | .U.0..*...\...*.......P...T.X~|O |
12560 | a0 85 89 8a 0d 50 5a ed f4 1d 17 da a0 a1 0f 0e 58 a2 ba 14 60 b1 3b 41 c4 0a 78 61 68 68 84 84 | .....PZ.........X...`.;A..xahh.. |
12580 | 47 c0 79 cf 32 25 60 09 b3 ff 1f c5 fa ad af cd 67 dd e1 f4 70 f0 e1 d7 b6 1f 1e 57 bb fd de 6a | G.y.2%`.........g...p......W...j |
125a0 | 6a 66 cb dc fc ed e0 dc 4b 0b 13 d4 c3 49 96 3e b6 7b b0 ba 51 4e 06 43 2a d2 b5 51 1c 8f 86 61 | jf......K....I.>.{..QN.C*..Q...a |
125c0 | b8 d2 0f a2 ee 6a 97 66 b3 bc 36 5b e3 e2 85 eb f9 de 37 86 a7 6e 4d a3 04 c5 22 ad e1 68 0f 14 | .....j.f..6[......7..nM..."..h.. |
125e0 | c4 c9 8d 68 73 84 14 e8 14 20 c9 c9 1e 43 aa 67 23 d1 25 22 1d 80 d2 70 04 77 e2 e7 9c ea 30 f5 | ...hs........C.g#.%"...p.w....0. |
12600 | 00 a6 dc 99 7c 0c ac 1c 90 52 70 41 51 41 59 55 ea b3 aa 35 7c c1 c3 ea 01 1b f8 c3 ff ac bf 0c | ....|....RpAQAYU...5|........... |
12620 | 0f de d0 52 33 28 ec 07 07 3c 31 80 82 d9 6c 06 b5 84 52 ca 11 cf 50 67 a4 33 9e cf e7 d1 e1 e1 | ...R3(...<1...l...R...Pg.3...... |
12640 | 61 8c 00 54 de cb ca 6a 4b a0 c5 53 56 81 96 2d 65 23 61 14 78 1e 27 8f 55 b6 4c 06 87 93 41 6f | a..T...jK..SV..-e#a.x.'.U.L...Ao |
12660 | 3e ef f7 f2 65 ef 3f 37 ce 5c 73 df 0b 2a 48 44 45 1e f7 b2 65 da 2f 8a e4 5c 39 5d 39 57 ce 56 | >...e.?7.\s..*HDE...e./..\9]9W.V |
12680 | bb 75 99 06 f8 3c ac ac 26 26 5e 7c 6b eb ec eb 57 a2 d1 4e 2b 36 ca c5 3c 55 ee 94 4e 63 a1 da | .u...<..&&^|k...W..N+6..<U..Nc.. |
126a0 | 69 33 12 85 8e 8f 69 05 7b 3a 65 25 8e 74 00 aa 6d 06 42 49 01 56 50 53 f0 5b 01 52 30 01 51 a0 | i3....i.{:e%.t..m.BI.VPS.[.R0.Q. |
126c0 | 4f 9d eb f2 7d 7b 27 fb 83 09 ac cf f8 cb f0 60 83 8b a1 23 41 02 0c 20 c3 33 00 bc 00 2b 7e 5e | O...}{'........`...#A....3...+~^ |
126e0 | 20 86 3d af 80 55 c4 a0 92 3d 26 9c f0 80 18 56 c0 0b 70 c2 c7 bb d8 2e 2d 1a 08 78 49 a2 b5 86 | ..=..U...=&....V..p.....-..xI... |
12700 | 4f 38 a8 c9 eb aa 52 24 ff 4e 13 b2 f1 3d b9 83 01 e7 73 23 55 84 ce 57 54 aa 5a ca 01 10 00 4b | O8....R$.N...=....s#U..WT.Z....K |
12720 | 61 05 b5 55 b6 81 e5 22 d0 f1 7e c0 aa a3 27 81 1a 47 25 a7 7f 6a fa 89 92 72 c0 82 9a 52 a7 3a | a..U..."..~...'..G%..j...r...R.: |
12740 | 3e 1f a9 bf ca 83 ea fb c0 24 f4 b9 84 0f f0 c0 4d 88 18 2d b7 47 1a 0f c2 1f f8 66 35 80 13 af | >........$......M..-.G.....f5... |
12760 | 01 df c4 02 b0 d1 68 14 00 5a d8 03 54 0c 36 49 f7 81 02 c3 0a 70 01 72 58 15 48 06 80 c2 1e 30 | ......h..Z..T.6I.....p.rX.H....0 |
12780 | 72 cf 69 35 54 a3 10 0b 14 50 12 9d d5 4e 69 69 85 65 38 33 50 22 c8 15 18 2e 48 d3 29 aa da 25 | r.i5T....P...Nii.e83P"....H.)..% |
127a0 | 20 3b 50 61 0f 28 39 68 69 68 82 f3 59 35 80 82 92 02 a4 dc c9 1f 26 bf 47 7c 54 f0 55 69 8a 93 | .;Pa.(9hih..Y5........&.G|T.Ui.. |
127c0 | 87 94 07 96 1f 27 e2 97 68 43 1e 64 0d a5 04 28 09 c4 f8 c6 95 ae 3b 80 10 54 18 ab 2a c0 28 60 | .....'..hC.d...(......;..T..*.(` |
127e0 | 58 09 c0 9c 19 a9 26 a2 a4 fb 00 62 9a f6 13 b8 f4 1f ec 61 f6 a9 ba 32 1a bc 2a a6 a0 82 cb d8 | X.....&....b.......a...2..*..... |
12800 | da 77 8d 6a 37 6d 40 39 78 39 98 a9 39 48 ce 7f a5 09 c8 b2 57 ff 95 c4 45 b9 a0 4e 9d 12 37 e5 | .w.j7m@9x9..9H......W...E..N..7. |
12820 | e0 a4 0e 74 81 93 aa 29 00 ad 86 92 c2 75 70 80 f2 a0 f2 c0 f2 e3 01 80 17 a0 a1 a6 10 26 94 12 | ...t...).....up..............&.. |
12840 | 0d 06 03 69 6a 01 50 f1 34 6a 32 4a e9 65 ac 00 14 60 86 d7 61 0a 2a c4 02 85 16 de ef d2 83 02 | ...ij.P.4j2J.e...`..a.*......... |
12860 | 6d 8e 11 68 cd 79 72 90 72 6b 43 2f 4d 24 0e a5 82 43 03 ac ca 25 19 bb bd 5b a1 a4 14 3a e2 20 | m..h.yr.rkC/M$...C...%...[...:.. |
12880 | d7 90 05 f1 41 39 c7 39 40 06 38 b1 a2 6a e2 a8 f8 3d c7 00 e5 41 e5 81 e5 c7 03 34 34 07 b1 d9 | ....A9.9@.8..j...=...A.....44... |
128a0 | 43 6d 01 3a ce d7 85 15 10 c3 73 98 0a 29 01 9b db b3 0a 13 98 41 95 41 a1 61 85 da 42 21 3d 00 | Cm.:......s..).......A.A.a..B!=. |
128c0 | 0d a6 a1 33 11 01 ad f6 c0 73 ee 04 ce 85 0e b8 c4 e2 96 b3 5d 00 eb a2 cc 9d 19 87 bd 83 92 03 | ...3.....s..........]........... |
128e0 | 12 7e 06 ec 01 2f 7c 1c 83 ab 56 25 59 eb cf e8 01 f5 03 02 2c 5f d3 fd 07 0c 62 6d 98 39 78 bd | .~.../|...V%Y.......,_....bm.9x. |
12900 | d3 9e d7 36 e0 e0 17 0b dc be fd b9 01 3a 0c 80 ee 3e c5 57 b7 be 6e fd 36 8a b0 01 8e 7b dd 41 | ...6.........:...>.W..n.6....{.A |
12920 | 88 d7 66 ef 46 fb f1 fd af f9 e1 81 e5 c7 f7 f9 00 14 de 6e ef 87 1f 1e 58 7e f8 e1 87 1f ff 4f | ..f.F..............n....X~.....O |
12940 | 60 f9 ce cf 7e f8 e1 c7 03 03 ac dc 5f 06 3f fc f0 c3 2b 2c 3f fc f0 c3 8f f7 18 58 85 bf 0c 7e | `...~......._.?...+,?......X...~ |
12960 | f8 e1 c7 83 30 fe 4b 80 01 00 1a 73 9e 0f 82 a7 ae 98 00 00 00 00 49 45 4e 44 ae 42 60 82 50 4b | ....0.K....s..........IEND.B`.PK |
12980 | 03 04 14 00 00 00 00 00 f1 4b 18 3b 20 c0 e4 3c fc 02 00 00 fc 02 00 00 20 00 00 00 63 6f 6e 74 | .........K.;...<............cont |
129a0 | 65 6e 74 2f 62 72 61 6e 64 69 6e 67 2f 61 62 6f 75 74 46 6f 6f 74 65 72 2e 70 6e 67 89 50 4e 47 | ent/branding/aboutFooter.png.PNG |
129c0 | 0d 0a 1a 0a 00 00 00 0d 49 48 44 52 00 00 01 2c 00 00 00 32 08 06 00 00 00 e6 d6 e6 2a 00 00 00 | ........IHDR...,...2........*... |
129e0 | 04 67 41 4d 41 00 00 af c8 37 05 8a e9 00 00 00 19 74 45 58 74 53 6f 66 74 77 61 72 65 00 41 64 | .gAMA....7.......tEXtSoftware.Ad |
12a00 | 6f 62 65 20 49 6d 61 67 65 52 65 61 64 79 71 c9 65 3c 00 00 02 8e 49 44 41 54 78 da 62 fc ff ff | obe.ImageReadyq.e<....IDATx.b... |
12a20 | 3f c3 28 18 05 a3 60 14 0c 05 00 10 40 4c a3 41 30 0a 46 c1 28 18 2a 00 20 80 46 0b ac 51 30 0a | ?.(...`.....@L.A0.F.(.*...F..Q0. |
12a40 | 46 c1 90 01 00 01 34 5a 60 8d 82 51 30 0a 86 0c 00 08 a0 d1 02 6b 14 8c 82 51 30 64 00 40 00 8d | F.....4Z`..Q0........k...Q0d.@.. |
12a60 | 16 58 a3 60 14 8c 82 21 03 00 02 68 b4 c0 1a 05 a3 60 14 0c 19 00 10 40 a3 05 d6 28 18 05 a3 60 | .X.`...!...h.....`.....@...(...` |
12a80 | c8 00 80 00 1a 2d b0 46 c1 28 18 05 43 06 00 04 10 0b 10 33 8f 06 c3 28 18 05 a3 60 28 00 80 00 | .....-.F.(..C......3...(...`(... |
12aa0 | 62 81 e2 51 30 0a 46 c1 28 18 f4 00 20 80 46 0b ac 51 30 0a 46 c1 90 01 00 01 34 5a 60 8d 82 51 | b..Q0.F.(.....F..Q0.F.....4Z`..Q |
12ac0 | 30 0a 86 0c 00 08 20 50 61 c5 3a 1a 0c a3 60 14 8c 82 a1 00 00 02 68 b4 c0 1a 05 a3 60 14 0c 19 | 0......Pa.:...`.......h.....`... |
12ae0 | 00 10 40 a0 02 8b 6d 34 18 46 c1 28 18 05 43 01 00 04 d0 68 0b 6b 14 8c 82 51 30 64 00 40 00 8d | ..@...m4.F.(..C....h.k...Q0d.@.. |
12b00 | b6 b0 46 c1 28 18 05 43 06 00 04 10 a8 c0 62 1f 0d 86 51 30 0a 46 c1 50 00 00 01 34 da c2 1a 05 | ..F.(..C......b...Q0.F.P...4.... |
12b20 | a3 60 14 0c 19 00 10 40 a3 2d ac 51 30 0a 46 c1 90 01 00 01 34 5a 60 8d 82 51 30 0a 86 0c 00 08 | .`.....@.-.Q0.F.....4Z`..Q0..... |
12b40 | a0 d1 02 6b 14 8c 82 51 30 64 00 40 00 8d 16 58 a3 60 14 8c 82 21 03 00 02 68 b4 c0 1a 05 a3 60 | ...k...Q0d.@...X.`...!...h.....` |
12b60 | 14 0c 19 00 10 40 a3 05 d6 28 18 05 a3 60 c8 00 80 00 02 15 58 1c a3 c1 30 0a 46 c1 28 18 0a 00 | .....@...(...`......X...0.F.(... |
12b80 | 20 80 46 5b 58 a3 60 14 8c 82 21 03 00 02 68 b4 85 35 0a 46 c1 28 18 32 00 20 80 46 0b ac 51 30 | ..F[X.`...!...h..5.F.(.2...F..Q0 |
12ba0 | 0a 46 c1 90 01 00 01 34 da 25 1c 05 a3 60 14 0c 19 00 10 40 a3 2d ac 51 30 0a 46 c1 90 01 00 01 | .F.....4.%...`.....@.-.Q0.F..... |
12bc0 | 34 da c2 1a 05 a3 60 14 0c 19 00 10 40 a3 2d ac 51 30 0a 46 c1 90 01 00 01 34 da c2 1a 05 a3 60 | 4.....`.....@.-.Q0.F.....4.....` |
12be0 | 14 0c 19 00 10 40 a3 05 d6 28 18 05 a3 60 c8 00 80 00 1a 2d b0 46 c1 28 18 05 43 06 00 04 d0 68 | .....@...(...`.....-.F.(..C....h |
12c00 | 81 35 0a 46 c1 28 18 32 00 20 80 46 0b ac 51 30 0a 46 c1 90 01 00 01 34 5a 60 8d 82 51 30 0a 86 | .5.F.(.2...F..Q0.F.....4Z`..Q0.. |
12c20 | 0c 00 08 a0 d1 4b 28 46 c1 28 18 05 43 06 00 04 d0 68 0b 6b 14 8c 82 51 30 64 00 40 00 8d b6 b0 | .....K(F.(..C....h.k...Q0d.@.... |
12c40 | 46 c1 28 18 05 43 06 00 04 d0 e8 55 f5 a3 60 14 8c 82 21 03 00 02 68 b4 85 35 0a 46 c1 28 18 32 | F.(..C.....U..`...!...h..5.F.(.2 |
12c60 | 00 20 80 46 5b 58 a3 60 14 8c 82 21 03 00 02 68 b4 c0 1a 05 a3 60 14 0c 19 00 10 40 2c 50 3c 0a | ...F[X.`...!...h.....`.....@,P<. |
12c80 | 46 c1 28 18 05 83 1e 00 04 d0 68 81 35 0a 46 c1 28 18 32 00 20 80 46 0b ac 51 30 0a 46 c1 90 01 | F.(.......h.5.F.(.2...F..Q0.F... |
12ca0 | 00 01 06 00 38 01 04 af 19 0c 4b 97 00 00 00 00 49 45 4e 44 ae 42 60 82 50 4b 03 04 14 00 00 00 | ....8.....K.....IEND.B`.PK...... |
12cc0 | 00 00 f1 4b 18 3b 83 59 27 93 08 16 00 00 08 16 00 00 1b 00 00 00 63 6f 6e 74 65 6e 74 2f 62 72 | ...K.;.Y'.............content/br |
12ce0 | 61 6e 64 69 6e 67 2f 69 63 6f 6e 34 38 2e 70 6e 67 89 50 4e 47 0d 0a 1a 0a 00 00 00 0d 49 48 44 | anding/icon48.png.PNG........IHD |
12d00 | 52 00 00 00 30 00 00 00 30 08 06 00 00 00 57 02 f9 87 00 00 00 19 74 45 58 74 53 6f 66 74 77 61 | R...0...0.....W.......tEXtSoftwa |
12d20 | 72 65 00 41 64 6f 62 65 20 49 6d 61 67 65 52 65 61 64 79 71 c9 65 3c 00 00 15 aa 49 44 41 54 78 | re.Adobe.ImageReadyq.e<....IDATx |
12d40 | da ac 5a 09 94 5d 75 79 ff dd fd 6d 33 6f 66 32 fb 24 33 99 64 92 98 04 42 36 1a 12 42 d8 8a 28 | ..Z..]uy...m3of2.$3.d...B6..B..( |
12d60 | 28 88 c7 2a 02 96 53 b5 22 a5 da d6 e3 a1 c7 aa 6d a5 82 75 43 a4 3d 52 15 d7 73 b4 72 e4 58 5c | (..*..S.".......m..uC.=R..s.r.X\ |
12d80 | a1 62 b4 09 8b 44 43 82 21 98 7d 9f c9 ec 33 6f bb f7 bd bb f7 f7 ff df 3b 21 50 a2 70 4e e7 9c | .b...DC.!.}...3o........;!P.pN.. |
12da0 | 2f f7 e6 ce 7b f7 7e eb ef fb 7d df 1d 25 8e 63 bc d2 8f 32 70 33 5e e5 4f 86 b2 81 b2 96 b2 92 | /...{.~...}..%.c...2p3^.O....... |
12dc0 | b2 84 b2 80 d2 41 c9 53 6c ca 24 e5 14 e5 10 e5 05 ca 2e ca 0e 4a e3 d5 3c 20 3e f1 9d 73 fe 4e | .....A.Sl.$..........J..<.>..s.N |
12de0 | 71 bf 75 c5 ff bd a8 28 30 34 e0 d2 07 54 6c 7b e2 e7 e7 32 f0 62 1e de 40 b9 ca cc e7 36 b4 f5 | q.u....(04...Tl{...2.b..@....6.. |
12e00 | f7 60 70 e5 22 2c 3d 6f 10 8b 87 fa b0 b0 af 0d 56 36 03 d5 f5 11 38 0e 0e 0d 4f e2 77 7b 8f 63 | .`p.",=o........V6....8...O.w{.c |
12e20 | ef 73 87 70 6a ef 11 38 d3 65 61 c0 e3 94 c7 a8 e0 53 2f bf ff d8 c7 37 c0 36 2b 08 bc 10 d6 b2 | .s.pj..8.ea......S/....7.6+..... |
12e40 | 4e c0 88 11 37 5e 6a ef e0 ad cf 42 c7 6b fc a1 e2 97 f3 70 a3 ae eb ef 28 74 77 17 97 5d b9 0e | N...7^j....B.k.....p....(tw..].. |
12e60 | d7 dc 7c 25 96 f4 b5 a2 3b a3 a2 83 86 6b 0c 6a ab 4a cf f1 83 21 45 8d 8b b8 64 79 0f fc d7 af | ..|%....;....k.j.J...!E...dy.... |
12e80 | 42 29 02 0e d7 63 7c f9 c1 9f 6f 78 f6 91 6d 1b ca 27 87 3f c0 7b 3e c4 8f 7d 8f 86 fc ea b5 ea | B)...c|...ox..m..'.?.{>..}...... |
12ea0 | f3 8a 06 c8 a4 52 44 24 5e a2 f8 00 0f ef d5 34 f5 7d f9 b6 f6 ce f9 17 5e 88 cd 6f bf 04 ab 2f | .....RD$^......4.}......^..o.../ |
12ec0 | 98 8f 9c ae c0 e2 97 32 3e 6f c8 94 54 79 5e e1 97 e7 be 1e f1 5a 24 8e bc a2 0a cf 59 0a de 72 | .......2>o..Ty^......Z$.....Y..r |
12ee0 | e3 65 58 bb 48 81 36 32 52 7c e4 87 2f bc ef c0 81 b1 eb f9 8c af f2 d7 0f d2 90 13 af d6 00 f5 | .eX.H.62R|../................... |
12f00 | 95 8c 52 15 0c f8 74 5d 23 38 a3 fc d5 3c 7c c9 cc 98 1f eb 18 5c da b9 78 f3 35 d8 f0 86 8b b1 | ..R...t]#8...<|......\..x.5..... |
12f20 | 64 b0 0b be e3 21 1f fa e8 a4 db 73 4a 04 37 8c e1 46 31 bc 88 e7 a9 78 f2 ff 94 30 42 9d d2 f0 | d....!.....sJ.7..F1....x...0B... |
12f40 | 23 f4 64 74 78 d9 f9 70 22 03 0f 7f e6 12 7c f1 9f 2f ef ea ee 69 fa 98 78 8e 78 9e a1 c5 aa f4 | #.dtx..p".....|../...i..x.x..... |
12f60 | 40 fc c7 22 e0 f9 f2 e4 de 0f 24 69 b8 64 f5 bc 7f 5d 7b 65 df da c1 4f ee be e2 99 5b a4 f2 b7 | @.."......$i.d...]{e...O....[... |
12f80 | d2 99 1f a5 f2 4b 3a 16 2c 46 eb 82 f5 e8 e8 6c 45 7b 7b 1e b3 b3 35 14 5a f2 c8 e5 0d 44 42 39 | .....K:.,F.....lE{{...5.Z....DB9 |
12fa0 | 5a ad a9 2a e8 00 29 38 13 01 c8 08 d0 36 78 8c 86 cb 63 96 a9 b6 62 cd 12 3c 1d 5b b8 fd 6b 3f | Z..*..)8.....6x...c...b..<.[..k? |
12fc0 | c7 e7 fe bc 13 a7 b7 bf 11 d7 be 7f fb 35 cf ed 18 5f f3 f8 2e 6d 64 d3 fa e8 c6 40 c5 91 3f 18 | .............5..._...md....@..?. |
12fe0 | 01 15 01 84 a4 3f 6b 72 79 fd ad 03 f3 cd f5 77 dd b4 a5 93 ca df 4e e5 3f a7 9b da 92 62 5b 1b | .....?kry......w......N.?....b[. |
13000 | 95 ed 83 c1 98 65 32 06 2a 76 84 b2 1d c3 d8 b5 15 99 fb ff 1a 85 7b ae 43 b8 ef 49 b8 ba 26 95 | .....e2.*v............{.C..I..&. |
13020 | f4 a8 f1 19 89 93 08 88 68 c8 08 f0 38 e9 04 98 2e d9 e8 ec 6e 45 6e ed a5 b8 f9 73 a3 d8 f6 d4 | ........h...8.......nEn....s.... |
13040 | 01 fc ec eb 0b f0 cd 07 d7 f5 fc 44 59 b3 7e c7 2f bd 67 b4 28 5c ae 68 ca b9 23 10 7b de 19 63 | ...........DY.~./.g.(\.h..#.{..c |
13060 | e6 75 65 fe e1 bc 15 85 c1 f0 d4 0c d6 a8 e6 33 4a dc 57 8c a1 b5 c5 7a 06 b1 d5 ce 14 60 0e d3 | .ue............3J.W....z.....`.. |
13080 | cb a5 86 81 fe 43 cf 63 cb ae 2f 60 e1 c8 d3 c8 85 b3 18 7d f3 df c1 1f da 08 8b a8 a1 ca dc 8c | .....C.c../`.......}............ |
130a0 | 65 0d 09 94 8e d3 3a 10 86 38 d2 10 a0 4c 74 1a 99 71 e0 d5 23 34 31 9d fa d6 6d c6 ad f7 3d 89 | e.....:..8...Lt..q..#41...m...=. |
130c0 | 87 8d 23 78 fd 66 1d 9d ff 7e 21 ee bd c3 6d cf 3c f1 e3 1d ab 3a bd 4f 29 bd fa a7 5e 29 9b f4 | ..#x.f...~!...m.<....:.O)...^).. |
130e0 | fa d1 a9 b9 f3 6c 3e 83 a1 bc eb a0 32 d3 c0 a5 9e 3b f8 97 6d a6 fb 2b 75 10 e7 0f 98 18 ec e2 | .....l>.....2....;..m..+u....... |
13100 | e7 32 01 a6 4c 15 85 f1 a3 b8 e1 c9 2f a0 58 1d 86 d1 ac 61 ff f9 d7 63 f4 fa bb d0 ad 99 88 82 | .2..L......./.X....a...c........ |
13120 | 00 3a 35 d7 54 51 c4 0a 44 9f 11 ca 07 54 9a e0 83 a3 a5 06 1c 3a c1 d0 54 38 76 00 bb 12 62 ea | .:5.TQ..D....T.......:..T8v...b. |
13140 | d4 24 de d4 33 8d c2 6d eb f1 f1 af 9c c6 57 ac c3 58 bd d2 c1 9d ff f6 27 f8 fa fb 47 9b e6 3d | .$..3..m......W..X......'...G..= |
13160 | 76 e0 9e be 9b 7b 75 de ee 5f 5e 5e 13 ba 37 5a 99 3b 5f d8 96 89 f3 fe e9 12 9c 92 07 ad db c0 | v....{u.._^^..7Z.;_............. |
13180 | dd 57 9c b0 ec 5c 09 05 5d 87 aa 65 a0 e5 8a f0 cd 56 8c 3c b5 17 76 75 1c 61 21 87 46 6b 1e 3b | .W...\..]..e.....V.<..vu.a!.Fk.; |
131a0 | d6 df 8e 85 4d 79 d8 8c 66 44 c5 32 7c 92 21 11 47 91 cf f3 f9 8f cd b4 39 4c 8f 4f 56 5c f8 8c | ....My..fD.2|.!.G.......9L.OV\.. |
131c0 | 52 c3 0d 50 b7 43 d4 ab 3e bf d3 8c af 3d 7a 10 5f fc 8b 3a 1e b8 6b 0b 76 3e 5d 41 4f ee 14 ce | R..P.C..>....=z._..:..k.v>]AO... |
131e0 | eb 0d f1 f6 4f 6d c2 cf 6e 19 c3 db f6 3a 77 15 2f b4 76 79 93 95 9f 8a c4 3f 93 36 b5 09 07 42 | ....Om..n....:w./.vy.....?.6...B |
13200 | 4c 1d 45 af e6 17 c7 26 5d 68 4b 59 98 e7 b7 c0 57 4d 76 94 12 66 8f 4d 62 ea d8 30 26 0e ed c7 | L.E....&]hKY....WMv..f.Mb..0&... |
13220 | c4 ae df c2 99 2d 21 ce 5a 28 36 07 f8 fd bc f5 70 97 6f 40 1c f9 b2 38 1d 7a 5b b4 de ba 68 b3 | .....-!.Z(6.....p.o@...8.z[...h. |
13240 | 4c 21 27 6d c5 ae 48 27 61 94 a2 22 24 c2 b9 0d a6 94 23 4a 5b 43 ae 29 0b ab 6f 05 6e bf 97 0d | L!'m..H'a.."$.....#J[C.)..o.n... |
13260 | ae ba 13 6f 7d 67 3f c2 4c 1f 6a 07 4e e1 a2 fe 53 58 71 c7 2a 3c b1 ad 8c 5c 6b f3 a7 e3 38 ca | ...o}g?.L.j.N...SXq.*<...\k...8. |
13280 | 23 05 65 19 81 43 47 dd 04 29 22 b5 5e ad c7 61 71 6d 0b 0a dd 19 d8 c3 1e bc 0a bd 23 1e ac 6a | #.e..CG..)".^..aqm..........#..j |
132a0 | 88 45 9d b3 22 bd 06 a3 63 d2 c3 06 d3 24 67 a0 78 fa 24 4c 67 06 a5 4c 8b c8 30 98 44 97 80 df | .E.."...c....$g.x.$Lg..L..0.D... |
132c0 | 09 68 88 c2 82 8d 65 fa c4 20 72 a2 a5 d9 82 95 37 51 aa 79 6c 70 75 e8 96 05 b3 35 43 58 a5 41 | .h....e...r.....7Q.ylpu....5CX.A |
132e0 | 51 88 c9 d3 8b f1 d1 cf ff 02 8f dc 17 20 33 d0 0b 9b 96 d7 f6 1e c3 f5 6f ea c2 03 3b 7a 99 7a | Q.............3.........o...;z.z |
13300 | e6 4a 3d 9f bd c9 2b db 5f 55 d2 28 68 7f ff b6 41 34 2d 6e c3 c4 88 53 18 5a 95 b9 b5 7f 69 a6 | .J=...+._U.(h...A4-n...S.Z....i. |
13320 | b9 72 c4 86 5f f6 f8 70 45 16 61 c8 a7 c7 91 c8 e5 04 0d 54 36 2e 33 cb 04 21 1a 45 07 8e a1 fb | .r.._..pE.a........T6.3..!.E.... |
13340 | c8 0e e4 d9 9c da 26 0e a0 e5 d4 f3 b0 09 af 8e 92 41 94 c9 c8 f4 71 53 91 bd 40 40 aa ae c2 2c | ......&..........A....qS..@@..., |
13360 | 98 50 0b 16 7c 1a dd f0 e8 8c 22 23 3e 3d 83 e7 76 8e 63 4d b7 83 a1 81 29 e8 f3 ba 50 3b 56 46 | .P..|....."#>=..v.cM....)...P;VF |
13380 | c6 ab a0 69 41 0e 6a 87 89 5c 10 14 6a 27 a6 bf 15 07 21 3a 37 ff 0d f4 e5 97 77 41 58 b3 64 7d | ...iA.j..\..j'....!:7.....wAX.d} |
133a0 | ee aa fa d8 54 5f e9 a8 83 a0 42 0f d1 7b 02 4e 22 86 20 62 51 c6 4a 2c ff 2f 20 4d a3 28 82 2a | ....T_....B..{.N"..bQ.J,./.M.(.* |
133c0 | 50 a1 c0 b0 d0 7d 78 07 ba 1f 7c 86 91 21 65 a1 8d 63 28 e0 b3 e6 95 18 ba e7 db c8 e4 b3 08 f8 | P....}x...|..!e..c(............. |
133e0 | b0 90 9e 90 7d 20 8c a5 b8 01 11 89 69 54 67 8e d5 a6 1b 94 3a ac ce 76 2a dd 8d ef fc f7 0c ae | ....}.......iTg.....:..v*....... |
13400 | 5e 17 40 29 1e 41 6e 30 8f f2 0b 1a 5e d7 d5 80 b1 d8 c3 94 9d 59 1d 28 dd 3d 7c fc a8 4c a1 ca | ^.@).An0....^........Y.(.=|..L.. |
13420 | b1 11 d1 6b 0b 4a ec 7f a8 31 e9 c1 67 da 84 4c 95 98 1a c6 84 8e 88 47 81 22 b1 30 42 8d 65 73 | ...k.J...1..g..L.......G.".0B.es |
13440 | 54 d4 a4 33 09 94 51 e3 28 51 ce 30 e8 4d 2a ca e8 2c 59 33 84 42 b9 1f 27 a7 62 e4 6b 0d e9 8c | T..3..Q.(Q.0.M*..,Y3.B..'.b.k... |
13460 | 88 c6 8a dc 0f a8 3c 75 97 47 9f b0 ec b2 38 c6 77 ee 43 f9 e4 49 e4 97 2f 43 eb ca e5 d8 b1 63 | ......<u.G....8.w.C..I../C.....c |
13480 | 1f a6 c6 14 b4 d6 ab 30 db 3d 18 9d 2d 08 19 29 0b 55 18 56 a3 55 99 3d d9 4d 86 98 18 10 f3 ae | .......0.=..-..).U.V.U.=.M...... |
134a0 | f4 ea 75 ac be 21 af 12 20 72 23 99 36 bc 28 15 9b 4b 9d 58 16 a1 c8 6b 2a ad 41 2a 24 fa 4b f3 | ..u..!...r#.6.(..K.X...k*.A*$.K. |
134c0 | fc 2e 74 6c ba 0a 1d 97 ac 85 e1 56 58 0f 25 6c 2d 0f e0 f9 a7 0a 18 a8 34 a0 c4 4c 25 3a 22 8c | ..tl.......VX.%l-.......4..L%:". |
134e0 | d2 5a 60 be 7b a4 1f 7e 9c 90 00 a7 5c 43 79 6c 9c c8 d4 40 a3 5c 46 54 b7 31 59 cf 61 df f1 12 | .Z`.{..~....\Cyl...@.\FT.1Y.a... |
13500 | 2e 1e 64 0d 9a 11 72 1d 16 22 3f cb fb 4c d3 61 3e 94 bc da ff a5 bb ca bb bf 7c 9f e0 3d 6c 22 | ..d...r.."?..L.a>.........|..=l" |
13520 | 6a a8 dc e2 39 3e 79 0d 3d d8 20 e5 22 24 b1 a6 a4 21 d1 5c 23 4a f8 9d 3c 17 d7 15 4d 93 a9 d7 | j...9>y.=..."$...!.\#J..<...M... |
13540 | bd 66 19 8a ab 36 20 cf ea 1d 8e 9a 70 ef 56 05 df 7f be 8a 05 5b ce 67 c4 74 38 b5 40 2a 2f d2 | .f...6......p.V......[.g.t8.@*/. |
13560 | 50 f0 a6 d2 e1 53 68 54 1d 2a 91 87 d2 24 90 4e 83 b9 78 29 1a 7b 76 a1 ba ef 80 74 54 c5 b7 70 | P....ShT.*...$.N..x).{v....tT..p |
13580 | f4 a4 8d 8b bb 09 1a 13 01 ac 8e 0a b4 96 01 44 2c 7e 76 3e d4 46 a3 ee 17 89 9b a5 f7 2b 76 b4 | ...............D,~v>.F.......+v. |
135a0 | d1 67 98 43 01 48 02 71 04 d4 21 81 3d a9 b0 68 4a 82 dc 10 e3 45 0d a8 34 50 cb 98 d0 0b ec 0d | .g.C.H.q..!.=..hJ....E..4P...... |
135c0 | c1 04 fc fd 8f e3 1b 8f f5 e0 33 2f b4 a3 d6 7f 1e 16 5e bb 04 ad bd ed 70 08 93 32 fd 84 23 e8 | ..........3/......^.....p..2..#. |
135e0 | 81 c0 57 e0 a9 06 bd 5e 86 37 3c 02 a5 ad 1d 46 5f 3f dc e9 29 3a ae c1 7a a8 63 dd 60 16 43 4d | ..W....^.7<....F_?..):..z.c.`.CM |
13600 | dd d8 77 74 27 a2 d5 01 44 56 b0 cc a0 17 e9 80 71 de cf 73 83 f2 a8 f2 ce 3f bb 6d 50 0c 52 5f | ..wt'...DV......q..s.....?.mP.R_ |
13620 | 24 f3 d4 d6 f1 72 8b b8 79 24 78 1d 95 8c 52 5f c7 c2 0a 56 a5 c2 6b 92 9d 89 02 26 f2 e8 39 2a | $....r..y$x...R_...V..k....&..9* |
13640 | 9f b3 a0 67 b3 c8 36 67 71 dc 2e e3 63 07 37 a0 b8 f9 32 2c ee ef 00 67 05 38 75 f1 e5 40 14 0c | ...g..6gq...c.7...2,...g.8u..@.. |
13660 | fc 6a 15 f6 f1 53 d0 9a 9b 64 5a fa cc 23 9f 4d 2f 18 19 86 52 a2 31 13 a3 32 ac 01 73 4a a9 cc | .j...S...dZ..#.M/...R.1..2..sJ.. |
13680 | e2 fe 3b 57 e1 17 df d2 11 17 8a 88 aa 65 04 2c 70 63 90 4d 32 c8 21 b6 a7 c3 c0 56 2e 88 4b ae | ..;W.........e.,pc.M2.!....V..K. |
136a0 | 26 0d 60 c1 6e 92 68 d3 10 f9 ce a3 aa 24 9e 17 36 08 cf eb 89 e2 0a a1 4f 27 ee 9b f4 ba 41 31 | &.`.n.h......$..6.......O'....A1 |
136c0 | 8b 82 85 9a 92 89 b6 35 99 18 58 da 8d 7a 6b 91 9d d5 91 13 9d 2a 70 5a 56 bc 82 c0 ae a3 51 ab | .......5..X..zk......*pZV.....Q. |
136e0 | c2 1f 1b 63 31 06 52 02 1a 10 d2 90 b8 52 92 9f 11 80 21 b0 e1 f4 78 0d 8b 3a 0f e1 dd 37 58 08 | ...c1.R......R....!...x..:...7X. |
13700 | f3 0a f4 e6 1c 81 c5 46 36 ac b1 9e 22 f8 8c c7 b0 9d b1 7a dc 46 6f 42 a7 35 b5 1c 31 f7 03 7a | .......F6..."......z.FoB.5..1..z |
13720 | 4c a6 0d 61 33 d6 93 07 93 d4 40 21 fd 54 29 1a 6b c5 21 5e 8f 1d af 13 41 5c 16 e2 34 ea 43 8b | L..a3.....@!.T).k.!^....A\..4.C. |
13740 | 10 73 74 dc b0 34 40 3e 98 c5 d4 6c 1d 91 41 32 37 97 72 67 fa bd 4e 94 b2 98 fb a3 d2 49 61 40 | .st..4@>...l..A27.rg..N......Ia@ |
13760 | c5 23 01 16 51 72 0c 92 a3 c8 33 c7 77 d9 e9 87 d1 d5 53 87 e7 e9 c8 b4 b2 a1 46 e4 58 2c 72 5d | .#..Qr....3.w.....S.......F.X,r] |
13780 | 29 e3 f4 8c 86 03 95 2c 7a e6 37 72 09 0a b9 18 0e 66 a9 bc b8 91 24 5f e9 28 26 1a 9d cc 77 2a | )......,z.7r.....f....$_.(&...w* |
137a0 | 4f 19 1f 73 b1 7f af 43 02 16 22 cb c1 65 56 cd e0 f3 b5 8d 28 ed ef c0 a6 3d a3 28 17 68 58 b6 | O..s...C.."..eV.....(....=.(.hX. |
137c0 | 8c 06 87 69 e9 7c 39 ce a5 a9 28 66 01 83 28 62 66 10 32 12 b2 ae 84 f7 a3 38 31 80 88 31 67 48 | ...i.|9...(f..(bf.2......81..1gH |
137e0 | 18 30 b5 04 54 91 84 68 9a 41 b4 9c 61 7f c8 09 e8 62 bd d9 38 36 62 e1 b4 92 87 96 9f 92 33 80 | .0..T..h.A..a....b..86b.......3. |
13800 | 1e d6 c2 85 8d 09 32 97 38 2d d8 b9 b1 52 f4 b1 4c a2 7c 8d c5 78 64 bf 23 fb 43 4b 13 d9 a8 1a | ......2.8-...R..L.|..xd.#.CK.... |
13820 | c1 2e b6 21 5e be 0e bd f3 da b1 9f 58 6f 59 ec ae f4 92 cf 09 e4 8c f2 69 10 04 9d 90 8b 82 9e | ...!^.......XoY.........i....... |
13840 | 01 b2 47 0f ee c8 71 36 cb 8a fc 4c 12 89 50 7a 5f 0c 45 11 a7 bb d8 a5 91 51 8e 7d a3 c6 f4 f3 | ..G...q6...L..Pz_.E......Q.}.... |
13860 | 61 36 d3 c0 5a 99 2d db c5 de 03 05 14 57 b6 43 33 0e cf 48 03 1a e3 8d 66 8f ec 33 a4 b7 45 a3 | a6..Z.-......W.C3..H....f..3..E. |
13880 | 91 cf 8d 93 87 0b c4 11 52 9e e5 4d 49 27 5a 0a 0a 32 66 4c be a3 60 e3 a2 3a 5e 67 8e 63 5f d8 | ........R..MI'Z..2fL..`..:^g.c_. |
138a0 | 87 26 5e 17 0a 86 ae 28 5a a1 ac 0c 01 c1 40 4d e8 47 2c 7a 06 fb 8d 80 23 7a 55 c0 6b e4 7b 89 | .&^....(Z.....@M.G,z....#zU.k.{. |
138c0 | 01 48 20 2a 16 28 48 96 4a ac 81 e2 55 d9 b5 3a 10 56 d9 04 59 d8 aa e6 22 14 2c b6 1a e2 44 4d | .H.*.(H.J...U..:.V..Y...".,...DM |
138e0 | c7 4d ef 98 c6 e4 43 8d 43 d2 00 67 d8 36 62 b2 a9 88 c8 d2 e0 84 65 16 92 c1 5b 49 51 47 86 9f | .M....C.C..g.6b.......e...[IQG.. |
13900 | 37 2e 64 39 f3 66 39 bc b3 3e 0c 5e ef 26 13 fd 44 eb f7 f1 a1 72 0b 8e 61 01 f2 9a cf 72 8a 93 | 7.d9.f9..>.^.&..D....r..a....r.. |
13920 | a2 25 99 e6 63 51 8c cb 98 a7 3a f0 15 1d 13 4c d9 88 8a 5b 11 8b 79 7a 82 e9 12 24 40 21 d2 28 | .%..cQ....:....L...[..yz...$@!.( |
13940 | 4c ea c1 e7 10 9e cd 37 38 20 55 f8 cc 8c 44 45 45 63 54 58 17 01 0d 70 a8 df 47 6e 9e 40 93 5b | L......78.U...DEEcTX...p..Gn.@.[ |
13960 | c6 8f c6 fd dd 69 0d 84 c7 83 46 64 47 19 70 96 09 a1 e7 93 41 e4 cc 4a 81 27 44 4e 10 0c 90 15 | .....i....FdG.p.....A..J.'DN.... |
13980 | de a7 58 bc 69 a8 e9 58 9d 3d 85 6f 2a f7 e2 81 ea 1b b1 d5 5d 8d 0a f2 44 dd 08 83 da 09 bc 21 | ..X.i..X.=.o*.......]...D......! |
139a0 | f3 2c ae 6c 3b 84 05 5d ec e8 5d 7d 78 de 1f c0 fd bf 59 88 5d c7 75 e8 a2 90 c3 24 6d e6 0a b9 | .,.l;..]..]}x.....Y.].u....$m... |
139c0 | 4e 10 59 3d bf 82 ab 97 97 61 d6 6a 34 96 e3 2a 9f eb 0b 76 5b 26 6a 71 f8 d1 23 0f 3d a1 8d 83 | N.Y=.....a.j4..*...v[&jq..#.=... |
139e0 | 7b 3c c7 b1 a3 67 93 1a 50 94 5f ba 76 74 8b 5a 88 57 87 a4 09 1e 3b b1 65 42 0e 23 02 18 04 d8 | {<...g..P._.vt.Z.W....;.eB.#.... |
13a00 | 16 8a ec d6 24 5d 96 1e 33 85 38 98 91 4e 2b 0e 09 98 93 47 5f b6 82 7b cc ef e2 84 f7 18 8e f9 | ....$]..3.8..N+....G_..{........ |
13a20 | 9d 68 52 ea 18 d2 4f a3 55 27 29 8c 59 b8 a5 1c 81 2f c0 0d eb 32 b8 7c 4d 80 eb ef 1f c0 b3 71 | .hR...O.U').Y..../...2.|M......q |
13a40 | 0f d4 f2 0c 71 dd 97 3d 5e 3c 27 ac d6 b1 a1 7f 0c 9f 78 cb 38 2a 27 48 dc c8 fa 35 3d 94 f4 3d | ....q..=^<'.......x.8*'H...5=..= |
13a60 | e0 28 17 b2 16 42 1a 51 67 63 9b 1e 0e 0f fc fe 85 60 67 92 42 33 ee 6e b6 fa 5d 8a 1d ac 16 4e | .(...B.Qgc.......`g.B3.n..]....N |
13a80 | 69 d4 22 a6 11 c3 2a d2 27 4a 38 4f b6 d9 84 56 d7 18 7e 9f c6 a9 b0 58 dc b5 ba 87 63 7b ab e8 | i."...*.'J8O...V..~....X....c{.. |
13aa0 | 1b ca 21 c7 df 2f b0 2a 58 68 cd 48 24 f3 23 8e 8b 21 71 dc e6 c3 27 e9 cd 83 c3 38 bc 67 12 51 | ..!../.*Xh.H$.#..!q...'....8.g.Q |
13ac0 | df 00 d4 6a 81 3d 80 8d 50 38 c8 73 65 81 0b aa 01 d7 c6 a6 a1 09 16 79 9d b9 2e 6a 89 fd 82 83 | ...j.=..P8.se..........y...j.... |
13ae0 | bf b8 47 e8 86 12 a1 bc 19 0f b5 d9 40 88 58 17 ca 59 58 0f 3c d1 ee f1 54 54 0e de 2d 06 97 5a | ..G.........@.X..YX.<...TT..-..Z |
13b00 | 39 44 ae 85 bd 38 12 3d 80 37 27 a1 d7 a9 70 b6 83 e9 c1 8e aa 0b 22 67 e8 ac 09 05 b5 53 0e 7e | 9D...8.=.7'...p......."g.....S.~ |
13b20 | c3 c1 67 c1 50 16 ad 1d 6c 72 fc 9c 80 d0 90 ac d4 af 53 09 1a 39 c1 a2 7b 60 76 0b b6 d6 5f 87 | ..g.P...lr........S..9..{`v..._. |
13b40 | 30 d7 2a 45 e7 30 e3 3b 36 89 a3 2b d3 87 c0 83 79 f9 59 6c 1e ac 72 3a 14 ca d3 93 84 d2 90 f7 | 0.*E.0.;6..+....y.Yl..r:........ |
13b60 | 08 1c b1 9a 24 1c 30 35 83 aa 87 f2 64 58 b6 ab f1 77 cf 70 21 d7 95 14 f9 7f 68 86 1d eb 5a be | ....$.05....dX...w.p!.....h...Z. |
13b80 | 66 47 68 aa 51 01 86 a3 8d 13 93 a2 91 88 d1 08 35 43 46 c8 c6 26 38 8b 2a d0 89 e4 6d f9 4a 03 | fGh.Q...........5CF..&8.*...m.J. |
13ba0 | db b7 d5 71 70 a7 8f b6 79 3a 0b 90 50 6a 88 fe 17 cb a6 f8 d3 c6 10 be 6b af c5 ac d6 09 e4 8b | ...qp...y:..Pj..........k....... |
13bc0 | 8c 6a 16 8a d8 95 0a 72 47 4e 1d 8b 08 88 b1 95 dd fb da cb 26 d1 9f 75 30 35 15 c2 cc f3 fb d5 | .j.....rGN..........&..u05...... |
13be0 | c4 f3 81 60 c8 7e 28 29 79 63 c6 87 3d 6d 3e ba fd d7 ee 9e 33 06 88 0d 1c 7f 8e 12 3c b6 92 89 | ...`.~()yc..=m>.....3.......<... |
13c00 | 5e 17 b0 0e aa 65 5a cb 07 58 4d 44 1f c1 83 c4 30 23 16 9e a6 89 58 10 39 d1 84 c4 1a a3 a8 e1 | ^....eZ..XMD....0#....X.9....... |
13c20 | a2 2d 1a 7e f9 ac 82 3d 55 9d dd 18 98 54 9b b1 37 ee c5 fe b0 0b 63 4a 07 fc 5c 17 8b 27 93 a0 | .-.~...=U....T..7.....cJ..\..'.. |
13c40 | 0d f3 59 ba 3b 68 10 81 78 2d 93 95 db ae 6c be 86 db 37 8e 13 05 59 6b a4 cf 9a 4e 12 57 0a a9 | ..Y.;h..x-....l...7...Yk...N.W.. |
13c60 | 38 91 89 43 3f d8 77 62 e6 7f ad 66 f1 fa 00 e1 e4 c0 8b 5b 89 30 9c db 48 c7 df e4 08 73 9d d0 | 8..C?.wb...f.......[.0..H....s.. |
13c80 | b5 54 e2 4c 9a d3 31 3d ea 71 e0 4e d6 a7 8a 9a 6c 36 63 8b 6c 35 ab d1 1e c6 8c 66 b4 74 e9 d8 | .T.L..1=.q.N....l6c.l5.....f.t.. |
13ca0 | 74 85 85 0f 3f 31 80 27 a7 07 c9 99 a8 98 c6 68 99 59 84 14 10 02 51 67 13 f2 c5 e8 35 96 a0 db | t...?1.'.......h.Y....Qg....5... |
13cc0 | 0c 21 3c 3b 80 5c ef 32 38 f4 f0 1d 97 1c c5 ea 36 1b 6e f3 32 82 c3 51 78 65 5f 4e 7c 21 67 13 | .!<;.\.28.......6.n.2..Qxe_N|!g. |
13ce0 | 41 71 0c a6 72 89 6d eb 57 87 16 92 b6 0c 2a 78 ea 2c 03 82 f0 cc f9 0f 55 3d de 61 19 ca 86 12 | Aq..r.m.W.....*x.,......U=.a.... |
13d00 | 91 28 52 19 b6 5a 8c 56 1a 93 6f d1 53 62 16 49 54 12 8d 4e 31 34 f9 90 06 bf df 95 f3 f1 95 3f | .(R..Z.V..o.Sb.IT..N14.........? |
13d20 | 3d 8a 87 8f 35 70 b0 da 8a bd e5 56 ec 2a f5 41 0e c0 d3 7b e9 91 43 49 87 94 43 86 22 77 d6 57 | =...5p.....V.*.A...{..CI..C."w.W |
13d40 | 0f ee c7 6d 54 7c fb 41 05 7f 7b c1 49 78 ed fd fc 88 0f 77 dc 91 0d 4f 50 18 8f a9 1c 33 7d 15 | ...mT|.A..{.Ix.....w...OP....3}. |
13d60 | 46 fc cb bb 57 62 50 69 c5 82 eb 2e fa dd 47 de fd 26 c4 a9 e2 7a 10 bd b8 c2 54 fc e8 b3 19 5d | F...WbPi......G..&...z....T....] |
13d80 | 7b 58 2e 9d 68 44 c0 10 8e 9c 74 b1 98 d1 10 78 9d 0e c2 89 32 71 32 dc 8b 4e 4d 22 0b 83 b8 fd | {X..hD....t....x....2q2..NM".... |
13da0 | 9e a5 27 98 ff c7 b0 f5 64 33 3e bd a7 84 dd b3 1d 2c 54 07 e9 a0 c1 da 09 b1 bc 23 c4 45 9c b4 | ..'.....d3>......,T........#.E.. |
13dc0 | 3e 71 ad 83 4c c5 c1 a6 0b 22 18 c5 56 39 31 b9 c7 27 21 58 81 60 a0 62 0b e2 f2 9c 5c 14 df de | >q..L...."..V91..'!X.`.b....\... |
13de0 | bf 0c 87 9d a5 b8 f3 c3 66 6c 74 d6 7e 12 ba b3 2f 6e cd 7f d0 ad bd 74 59 aa 28 ff 55 f7 e3 b7 | ........flt.~.../n.....tY.(.U... |
13e00 | 94 c9 69 1a 2c 10 81 d1 03 03 59 f4 f5 5b 2c 42 36 17 c9 8f 68 b9 99 b0 54 36 d7 a4 a8 53 02 a7 | ..i.,.....Y..[,B6...h...T6...S.. |
13e20 | 8a 06 c4 48 11 01 71 92 4c f9 04 29 8f cd 54 c8 1b 11 06 da 23 2c eb 89 50 60 5f 68 70 f6 6e 78 | ...H..q.L..)..T.....#,..P`_hp.nx |
13e40 | 2a f2 ed 86 bc 27 ff 41 75 ac 2a f9 50 7e c9 7c d4 4f 8c 22 98 70 70 68 36 8f 6f 38 9b 71 f7 6d | *....'.Au.*.P~.|.O.".pph6.o8.q.m |
13e60 | 93 e8 6d 2e 3c 52 9a 32 6f 50 d2 bd 56 cf db 1f 87 f2 d3 ae 97 1a c0 9a 5a 42 ff 3e 39 e5 a1 b3 | ..m.<R.2oP..V...........ZB.>9... |
13e80 | 22 d0 2c 14 3c 46 c1 a2 45 59 74 76 1b b2 98 05 ac 6a 62 2f 24 25 35 42 4d a2 a1 28 c9 1c a7 d1 | ".,.<F..EYtv.....jb/$%5BM..(.... |
13ea0 | 08 83 1d db 64 db 15 14 23 4e 87 7f 57 ee 96 20 97 05 56 5e 6c 38 78 3f 53 2c b9 7c 78 04 8e a6 | ....d...#N..W.....V^l8x?S,.|x... |
13ec0 | f3 fb 88 ff 21 ca bb 87 61 91 d6 94 06 3b b0 70 2d 67 0e a5 3e ba ed 7e fb b2 f2 68 7c 50 4b df | ....!...a....;.p-g..>..~...h|PK. |
13ee0 | 6a 5c fb 34 29 f6 0f ec 97 2e 1b 99 72 87 ba 54 d6 55 46 fd be 58 7d 88 45 ac 58 6e 1d 3d 56 97 | j\.4).......r..T.UF..X}.E.Xn.=V. |
13f00 | 98 dd d1 65 48 88 8d c8 3e 23 22 56 24 0c d4 92 c1 47 a4 94 2a d9 38 95 a5 11 1e a5 96 ce d6 73 | ...eH...>#"V$....G..*.8........s |
13f20 | 34 3d 8e 2d 49 a5 75 16 a6 67 33 92 f4 89 2b 1a 17 ef d7 7c de 3c 91 8b 88 eb b3 68 5b c1 61 a9 | 4=.-I.u..g3...+....|.<.....h[.a. |
13f40 | 3f 8b 81 26 c2 ee 94 57 1d 2e 2b ef 9a 9e 0e 0e ce 8c 04 82 0f be 98 42 e7 5a 5b bf 37 af de 79 | ?..&...W..+............B.Z[.7..y |
13f60 | 4d 56 fb f4 70 3d a2 12 b1 5c d8 8a ad 5b 4f b7 8e ee 1e 76 52 33 89 80 6e 29 92 72 27 de 47 2a | MV..p=...\...[O....vR3..n).r'.G* |
13f80 | b1 5c bd 28 e9 3a 40 9c 8b 4d 86 40 3c df 51 65 f7 d5 48 4b 0c 4b a4 24 a3 44 8a 6e 76 e4 c4 de | .\.(.:@..M.@<.Qe..HK.K.$.D.nv... |
13fa0 | 9e bf 63 0d 44 15 3a 83 cd d3 92 f7 1d fb e0 77 1a 37 fe e7 af bd 6d 82 43 c5 e1 8b 0e 2f 05 f1 | ..c.D.:........w.7....m.C..../.. |
13fc0 | 39 0d 10 d7 b5 9b b2 ea dd d7 67 b4 3b a7 f8 41 5b ae 51 28 7c 78 4b b3 86 be 05 19 14 78 54 f4 | 9.........g.;..A[.Q(|xK......xT. |
13fe0 | 58 1a 23 f2 58 3c 54 28 9c 0c 2a 71 e2 7a 41 98 65 08 92 2d 9f c8 5f 9d 35 64 65 05 f3 e5 39 61 | X.#.X<T(..*q.zA.e..-.._.5de...9a |
14000 | 59 46 c6 22 cd e6 7d 22 bb 02 83 f7 2c 36 eb d8 35 16 ff e6 a3 3f f6 de bf fd 60 b0 fb 15 5f 85 | YF."..}"....,6..5....?....`..._. |
14020 | c5 e7 36 40 04 a9 85 d2 76 95 a9 bc e7 5d 4d c6 07 23 c6 be 1c 26 5e 15 bc 44 10 be ae 6e 0b ed | ..6@....v....]M..#...&^..D...n.. |
14040 | dd 26 fb 91 d8 15 c5 32 22 46 86 51 31 92 dd 11 d2 45 98 a0 01 32 0a 6a 62 80 5c 8c 29 48 07 1a | .&.....2"F.Q1....E...2.jb.\.)H.. |
14060 | 25 59 d3 b2 c8 e1 db 72 f6 8e d4 7c 78 df 6f eb ff f1 e0 0e ff eb a4 42 27 f9 db da 2b bd 92 fd | %Y.....r...|x.o........B'...+... |
14080 | 63 06 30 21 21 f6 2f f9 c5 ba 7a e9 5f 15 d5 3b 06 74 b5 77 96 d0 1a 24 db 60 69 4c 3e a7 61 1e | c.0!!./...z._..;.t.w...$.`iL>.a. |
140a0 | 79 50 0b d1 24 9b 63 3a 31 ce d2 18 5d ce 2e d0 45 84 64 91 c7 c9 72 2c dd af ce 25 18 e7 44 16 | yP..$.c:1...]...E.d...r,...%..D. |
140c0 | b9 8f 89 59 13 27 9c 36 52 f1 3c 7e 74 b8 f6 e8 3f 3d 77 fa ee 54 e9 89 f4 3d f3 6b 32 40 f8 af | ...Y.'.6R.<~t...?=w..T...=.k2@.. |
140e0 | 39 35 a0 53 9c d3 c9 cb 6f 6c d2 de 71 4d 41 5d 2b be 48 a0 90 bb 4e 91 17 22 73 84 f2 4d 4d 1a | 95.S....ol..qMA]+.H...N.."s..MM. |
14100 | 9a 8a 2a bb 38 eb 25 03 59 a8 02 65 54 76 71 e1 7d b1 9e 14 99 25 07 3f 5d 2c d0 02 cc 72 60 df | ..*.8.%.Y..eTvq.}....%.?],...r`. |
14120 | 3e ba 04 13 76 17 36 66 27 70 b2 32 b1 f7 1f 77 4e 7e b6 ea 47 e2 c5 f8 b4 78 65 4c 11 c0 ef bf | >...v.6f'p.2...wN~..G....xeL.... |
14140 | 16 03 c4 75 4b a4 50 6a 40 57 7a ec 5d 61 2a 1b 6f 6d 51 b7 9c 9f d7 5a e5 e8 4d d8 12 d8 ad d1 | ...uK.Pj@Wz.]a*.omQ....Z..M..... |
14160 | 64 d2 24 a6 96 50 9e a9 24 87 1f 45 e6 b3 28 d8 58 b2 58 a1 38 bd 23 8c 13 35 4b 18 9d 88 e6 a1 | d.$..P..$..E..(.X.X.8.#..5K..... |
14180 | a2 77 20 57 3a 1d 7c 6f 57 69 fb 83 fb a3 87 d8 7e 4e a5 74 79 3c 35 a2 7e e6 85 c0 ab 34 60 ee | .w.W:.|oWi......~N.ty<5.~....4`. |
141a0 | 15 6c 26 ad 85 39 23 44 44 da a9 c3 82 2b 0b ea 85 6f eb 32 56 2d 2d 1a 05 b1 af 71 85 11 2c 48 | .l&..9#DD....+...o.2V--....q..,H |
141c0 | 2d 0a e4 96 41 be 43 e0 07 33 44 1a 92 5a 28 44 14 b1 24 30 f2 1a 8c 82 21 df 2d d8 e2 15 e4 98 | -...A.C..3D..Z(D..$0....!.-..... |
141e0 | 5b 7d 74 4f 6d df 43 fb 83 27 47 5d ec 49 15 9f 48 65 06 c9 3b 92 f0 b5 16 f1 d9 46 88 48 14 d2 | [}tOm.C..'G].I..He..;......F.H.. |
14200 | 68 74 a4 c6 88 f3 16 22 68 ef c6 26 7d c5 9b 7b 33 e7 ad e9 34 7b 1a 5e 1c b3 da bc 9e bc 92 cd | ht....."h..&}..{3...4{.^........ |
14220 | 53 79 9d e9 53 6a 84 d1 2c d4 06 49 a0 c0 e2 b8 12 c4 f5 e1 6a 54 da 37 e1 4d fc 6e cc 3d b1 bf | Sy..Sj..,..I........jT.7.M.n.=.. |
14240 | 12 1c 21 47 1d 4e 95 9d 4e f3 5d 1c 2b 69 de 87 e7 fc 1b 8a 57 61 c0 5c 3a e9 67 19 52 9c 33 20 | ..!G.N..N.].+i......Wa.\:.g.R.3. |
14260 | ad 13 f1 07 1d 2d fd a6 d2 df af a2 ef 78 23 ae 71 62 d3 17 15 8c 79 2b 9a b4 2e cf f6 d5 47 27 | .....-.......x#.qb....y+......G' |
14280 | fd 03 c7 63 8c 2a c9 7b 0e 91 0e d5 54 c1 5a 2a a5 34 cf 4b 67 29 1e fc b1 d7 dc af d6 80 97 17 | ...c.*.{....T.Z*.4.Kg).......... |
142a0 | b7 91 a6 56 2e 55 3e 97 8a 75 d6 75 35 35 5c 39 ab 59 0a 85 dc b3 64 ee f5 59 2d 3d 0a c3 bc 3f | ...V.U>..u.u55\9.Y....d..Y-=...? |
142c0 | e4 f1 ff 0f 03 5e 1e 19 35 8d ce 9c 61 7a 2a 67 1b 30 b7 9d 8f d2 f3 e0 2c 09 cf 92 d7 fc 23 0c | .....^..5...az*g.0......,.....#. |
142e0 | f8 5f 01 06 00 84 93 1c 95 b5 c5 44 e1 00 00 00 00 49 45 4e 44 ae 42 60 82 50 4b 03 04 14 00 00 | ._.........D.....IEND.B`.PK..... |
14300 | 00 00 00 f1 4b 18 3b 07 c3 45 c0 b3 24 00 00 b3 24 00 00 1b 00 00 00 63 6f 6e 74 65 6e 74 2f 62 | ....K.;..E..$...$......content/b |
14320 | 72 61 6e 64 69 6e 67 2f 69 63 6f 6e 36 34 2e 70 6e 67 89 50 4e 47 0d 0a 1a 0a 00 00 00 0d 49 48 | randing/icon64.png.PNG........IH |
14340 | 44 52 00 00 00 40 00 00 00 40 08 06 00 00 00 aa 69 71 de 00 00 00 19 74 45 58 74 53 6f 66 74 77 | DR...@...@......iq.....tEXtSoftw |
14360 | 61 72 65 00 41 64 6f 62 65 20 49 6d 61 67 65 52 65 61 64 79 71 c9 65 3c 00 00 24 55 49 44 41 54 | are.Adobe.ImageReadyq.e<..$UIDAT |
14380 | 78 da cc 7b 07 94 65 55 b9 e6 77 e2 cd a1 ea 56 ae ea 9c 03 4d 6c 92 42 03 c2 03 91 24 69 16 82 | x..{..eU..w....V....Ml.B....$i.. |
143a0 | 32 8a 0f 03 60 58 33 ce 38 a6 71 e9 cc f2 05 1d 15 d7 33 8c fa 46 7d cf f1 89 0a 8a c8 23 89 80 | 2...`X3.8.q.......3..F}......#.. |
143c0 | d8 d2 4d e8 6e e8 44 07 aa ba 42 77 a5 5b b7 6e be 27 cf b7 f7 39 d5 55 a0 62 00 d7 9a 0b bb cf | ..M.n.D...Bw.[.n.'...9.U.b...... |
143e0 | 0d 27 ec 3f 7d ff f7 ff 7b 97 12 04 01 ec ef bd 09 7f f0 a5 28 30 bb 80 cf de a5 e0 53 3f 54 90 | .'.?}...{...........(0......S?T. |
14400 | ea c2 9f f8 0a 10 78 0e 02 df d3 f9 88 b5 be 1b 6c e0 db 95 d0 13 7d 30 63 1d 50 f5 2c 54 55 e7 | ......x.........l.....}0c.P.,TU. |
14420 | 69 2e 5f 15 f8 f6 34 fc d6 51 d8 cd 43 8a 67 ef 51 03 7f bf 1e 33 5d 3d 99 e6 1c 54 79 bf 3f f4 | i._...4..Q..C.g.Q....3]=...Ty.?. |
14440 | aa 37 55 dc d1 63 e3 8b 97 b6 30 5c 68 c2 9b a9 c0 71 14 24 36 f6 42 4d aa bc ad 85 c0 b1 a2 fb | .7U..c....0\h....q.$6.BM........ |
14460 | cc bf 96 dd fc 2c 74 bc ee 2f 21 b8 0d df f7 96 c2 d7 cf f7 fd e4 16 5f 4d 9f a6 15 0a 6b 8c 6c | .....,t../!............_M....k.l |
14480 | 56 8f 77 74 22 d7 5d 40 2a 9f 81 aa e9 10 53 52 6c 17 66 52 81 6d b8 28 cf 94 dc d2 f0 e8 8b f5 | V.wt".]@*.....SRl.fR.m.(........ |
144a0 | 97 06 9f b1 c6 46 1e 77 a6 a7 7e 15 cb a5 86 54 23 f1 3b 02 bc 1e af d7 4f 01 81 cf ff 6d 35 08 | .....F.w..~....T#.;.....O....m5. |
144c0 | d4 eb a0 64 6e 54 8d fc 25 6a 7b 8f 91 5a b1 04 03 27 ac c0 9a 8d 4b b1 78 49 07 7a 3b d3 e8 48 | ...dnT..%j{..Z...'....K.xI.z;..H |
144e0 | 1a 68 4f 19 50 69 54 1a 0a 05 0d 68 e7 4c 6a bc cd 28 e7 f4 e2 b8 b7 61 ef d0 c4 86 bd cf 1d b8 | .hO.PiT....h.Lj..(.....a........ |
14500 | f9 d0 fd 8f 3b e5 67 9f 79 c0 70 67 bf af a8 ce 8f 14 23 e1 2b 9a f1 ff 93 02 28 85 67 6b 3e 8c | ....;.g.y.pg......#.+.....(.gk>. |
14520 | f7 c2 e8 ba dd 88 15 d6 c6 ba 06 90 dd b0 02 1b ce 5b 8b 53 4f 5d 82 35 8b 0a e8 e5 93 3a 23 47 | .................[.SO].5.....:#G |
14540 | 36 39 7a a2 f7 74 4c b8 1c 31 8e 6e 8e a5 1c 67 f4 68 98 ea e9 c3 e1 33 fb f0 ec 55 e7 19 f7 7d | 69z..tL..1.n...g.h.....3...U...} |
14560 | f7 91 cb f7 3e fc cc e5 ad 91 c3 9f d6 9a 47 fe 49 77 6a 5f d3 cd b8 07 d5 78 d5 d0 f8 eb 2b 20 | ....>.........G.Iwj_.....x....+. |
14580 | 10 31 ae 5c 1d 18 1d 9f d1 12 ed 1b 52 85 5e a4 96 2c 43 ff 19 2b f1 86 4b 36 61 d3 d2 1c 72 b4 | .1.\........R.^..,C..+..K6a...r. |
145a0 | b0 d5 02 2a 1c 9d 94 92 8e 0c 9b 73 9e 8a c2 9a 10 13 c6 71 10 89 c2 cf 3e df 24 e8 15 9b 78 4e | ...*.......s.......q....>.$...xN |
145c0 | ae 0f 28 df b0 19 27 9f 98 44 65 f7 f2 b5 3f ff c5 de af 58 47 8f bc d7 aa 0d 7f 2a a5 d5 ee 56 | ..(...'..De...?....XG......*...V |
145e0 | cc 64 78 d1 5f 55 01 9c 48 4c 5f a8 ec 00 8a ef f4 78 6a f2 9f 82 64 f7 d5 b1 54 8a 71 dd 4f e1 | .dx._U..HL_......xj...d...T.q.O. |
14600 | d7 61 f1 a9 ab b0 e5 6f d6 60 71 87 8e fa 2c 30 ed 78 58 9a 50 31 40 e1 1d 9f b7 52 42 60 b5 28 | .a.....o.`q...,0.xX.P1@....RB`.( |
14620 | a5 12 39 50 10 de 51 a0 07 02 e1 50 1c ae 17 ca a5 1a 0a 06 d4 18 c6 26 c6 70 e3 b9 1e 3e 75 cd | ..9P..Q....P...........&.p...>u. |
14640 | 16 7c ed ae 7d 1b be fb f3 dc 4f ea 87 46 ef 51 9d 89 f7 43 31 c7 8f 6b f2 cf 7c fd 31 54 11 3e | .|..}.....O..F.Q...C1..k..|.1T.> |
14660 | 36 10 70 32 35 2b 3c 5b 01 a5 08 bc 8b 5c bd f0 6c 90 5c 7c 75 3c 93 40 be 67 29 b2 8b cf 40 cf | 6.p25+<[.....\..l.\|u<.@.g)...@. |
14680 | b2 25 38 7d f3 22 64 4c 0d a3 c7 9a d0 89 bc 2b 93 01 ba 75 9f f1 2e 84 0b d0 a2 e0 b6 ef c3 e5 | .%8}."dL.......+...u............ |
146a0 | 7b 27 1a ae 1c fc 8e bf b9 94 5e 1e f9 5d 93 ef 55 2b c0 d2 42 1c 8d 25 9b f1 89 1f d6 f1 fc d3 | {'........^..]..U+..B..%........ |
146c0 | 87 f1 d5 ff b6 19 5b ff cf 65 b8 ea 1d 67 bf d5 cf ae 78 16 25 e5 4d 79 af 0e 8d ce 10 e8 8a 54 | ......[..e...g....x.%.My.......T |
146e0 | e2 9f a7 00 cf fb fd c3 f7 fe af 19 c3 c7 94 32 f0 2f 3b a8 e1 a4 27 ac 75 87 ab 77 3d e4 c7 3a | ...............2./;...'.u..w=..: |
14700 | fb 98 a5 90 6d 63 bc f7 6c 46 dc 34 b0 7c 79 1e b1 98 81 89 63 25 b4 98 7a 32 e9 18 f2 19 1d ad | ....mc..lF.4.|y.....c%..z2...... |
14720 | a4 86 7a 5c 85 e3 46 42 ca 81 97 bf a7 b0 8e 1f 29 24 52 92 e5 f9 68 d1 15 da 15 1f 6f 38 6b 29 | ..z\..FB........)$R...h.....o8k) |
14740 | ce bc f5 06 dc fe b3 16 de 76 db bd 38 71 4d 37 ee f9 fc 16 fc ec 4b 9b fb 0a a7 6e 78 e4 9f c7 | .........v..8qM7......K....nx... |
14760 | 3a be 32 bd af 7a 4f ce f7 4e d0 53 aa c0 e4 3f 5d 01 41 d3 7a c5 60 c0 7a 2e c3 37 b8 16 86 bb | :.2..zO..N.S...?].A.z.`.z..7.... |
14780 | e9 c7 14 7e ec 28 61 2e ae 7d da 56 3b ee f4 b5 14 62 6a 13 a9 4c 17 52 85 35 8c 23 17 e9 94 86 | ...~.(a..}.V;....bj..L.R.5.#.... |
147a0 | 44 22 86 d2 44 05 d5 c0 c4 54 3a 8f b1 e9 16 1a 87 0e 42 fb d5 4f a1 6e 7f 14 b6 4e 25 f0 91 8e | D"..D....T:.......B..O.n...N%... |
147c0 | 3f 67 75 44 23 90 40 28 84 b7 fd 68 78 a1 32 1a 3c d6 18 46 5e a5 81 f6 b4 86 9b 3e 7a 33 ee 3a | ?guD#.@(...hx.2.<..F^......>z3.: |
147e0 | b6 1c 6f b8 f2 9b 70 2b bb 71 c5 5b 3a b0 e3 c7 6b b1 f8 a6 73 6f bf f6 b1 55 57 cd fc 62 72 7b | ..o...p+.q.[:...k...so...UW..br{ |
14800 | c2 b1 b7 68 9c 8f 8c b1 e0 4f 50 80 99 d6 e7 07 2d 66 a6 74 61 92 2f 7a b3 36 30 53 3a 65 df c1 | ...h.....OP.....-f.ta./z.60S:e.. |
14820 | ca 32 c7 4a bc 07 5a db 7f f7 89 e1 1a b1 3b 96 48 23 49 84 32 54 97 11 61 c1 d0 69 e5 86 8b 63 | .2.J..Z.......;.H#I.2T..a..i...c |
14840 | 5e 3b 1a 44 bc d5 f7 7d 1d 1b 3f 75 36 fa de b7 1a ed 9f 7c 2b ec f1 43 b0 84 17 20 14 3c 74 7f | ^;.D...}..?u6......|+..C.....<t. |
14860 | 84 c3 0f 22 a5 84 ca b0 39 e8 f9 f2 28 a0 e0 08 ef 77 68 ba 8e 52 71 16 8a d5 c4 a5 37 5d 8c ad | ..."....9...(....wh..Rq.....7].. |
14880 | ee 39 d8 f2 b6 67 a8 98 43 58 d4 37 83 ad 5f ca a1 e7 63 d7 e1 6d 4f 9f 1c 1f ba 7b f4 b1 64 60 | .9...g..CX.7.._...c..mO....{..d` |
148a0 | 5f ae c4 34 28 9a f2 aa 4a 90 20 e8 35 9a 0b 98 9f f4 89 7e 77 d6 79 a7 37 e3 d0 a5 ad c4 cd fd | _..4(...J...5......~w.y.7....... |
148c0 | d5 9d 9f 69 ef cd 3a f5 14 c3 a0 05 5f 4b 40 d3 bb a0 3a 26 dc 96 8b 38 71 a1 62 1b 18 74 fb 70 | ...i..:....._K@...:&...8q.b..t.p |
148e0 | ce b6 ef e2 bc 5f ff 3d ba a7 0e c2 e4 dd 3d 82 df c1 0f 7c 0d de 15 b7 22 5b f7 48 fb 7c 78 44 | ....._.=......=....|...."[.H.|xD |
14900 | 42 35 c0 cb cc 23 81 90 ff 08 cf 15 38 e1 11 d4 04 06 50 db 68 d8 1e 8a 15 8b 6f 15 54 66 5a c8 | B5...#......8.....P.h.....o.TfZ. |
14920 | 90 61 5e 7a dd 19 b8 ff 7f f9 b8 ec 6f b7 e1 df ff 85 1e 6b 8e e1 df de ff 46 7c b8 e3 fd 78 cf | .a^z........o......k.....F|...x. |
14940 | 8d 45 fc b3 b1 fd de de 4c d7 23 de 86 f8 a5 4c 31 ce ab 7a 40 73 68 66 7e 0c 72 1c 29 5d e1 4c | .E......L.#....L1..z@shf~.r.)].L |
14960 | d7 e0 16 2b 98 1d ab 63 71 6b 3a fb d3 c5 bf 85 d2 9a a6 89 12 e8 2b a4 70 72 5f 80 b3 7a 66 b1 | ...+...cqk:...........+.pr_..zf. |
14980 | 24 55 a7 92 08 92 9e 8e 0b 9f fc 04 6e b8 f7 dd e8 9e 38 88 5a 9e 4c 37 0b 6c bf e8 76 1c ba fc | $U..........n.....8.Z.L7.l..v... |
149a0 | bd 08 1a 14 8c ca b2 a5 b5 43 cb bb 14 48 0c 31 3b f1 9d e5 09 d7 a7 22 34 15 63 44 dd e7 c7 ab | .........C...H.1;......"4.cD.... |
149c0 | 28 f1 1a 95 9f 5d db 47 bd e6 61 a6 e2 e3 e8 ee 7d b8 6d e5 01 fc db f7 ce c1 03 7b 16 e1 e6 f7 | (....].G..a.....}.m........{.... |
149e0 | 16 79 03 ce ad fc 20 be 78 7d 15 17 7e e3 0e fc dd fe 25 68 fd f4 f0 85 ce 31 e5 09 2d a3 6a 22 | .y......x}..~.....%h.....1..-.j" |
14a00 | b7 2a 54 bc a2 cc 0f 69 6f 81 cc a5 5b 7b 5e c6 6b e8 36 df 0e 9a ee bb 82 aa 85 56 d9 92 e0 35 | .*T....io...[{^.k.6........V...5 |
14a20 | 90 75 f1 60 fb 12 cc 16 88 f4 dd 2a 72 04 3b cd 88 c3 21 a5 2f 65 96 62 f0 f9 51 f4 ff ea bb 8c | .u.`.......*r.;...!./e.b..Q..... |
14a40 | 73 03 f5 44 16 8b 33 45 ec ca ac c3 7d 37 3f 84 33 cf 1a 40 bc 61 4b 02 14 e7 24 0c 0e 2d 4a 87 | s..D..3E....}7?.3..@.aK...$..-J. |
14a60 | 73 cf f4 23 4c a8 13 f8 a6 5b 0e 5e 2a 36 50 e5 35 e9 b8 8e 66 c3 41 a5 66 c3 6a 50 41 2d 05 7b | s..#L....[.^*6P.5...f.A.f.jPA-.{ |
14a80 | b7 0d a2 30 f4 38 7e fb 9d f3 31 81 75 b8 e6 1d 5f c5 bb cf db 8e ff 78 03 a9 b5 de 46 c2 71 01 | ...0.8~...1.u..._......x....F.q. |
14aa0 | 3e f4 8f 63 50 ff cb 9d 78 df 0d 05 a4 df b7 ec 47 f5 17 47 af 0f 85 9e 4f 97 2b 6e d9 19 86 80 | >..cP...x.......G..G....O.+n.... |
14ac0 | 53 ac bd dc 2d 54 65 83 4f cd 97 8f d9 d2 2a 99 cd 59 14 97 25 71 a9 49 33 56 76 61 66 42 00 99 | S...-Te.O.....*..Y..%q.I3VvafB.. |
14ae0 | 41 f7 4e 20 96 cd 61 71 f5 20 52 47 0e e0 88 9e 80 ab c5 90 4d 31 d2 e3 0a 1e 5d fe 76 e4 d7 0e | A.N...aq..RG........M1....].v... |
14b00 | 40 a5 59 45 de 0f d4 f0 e1 c2 cd 0d 4e 46 8f 3e bb 51 fc 07 d4 ca 44 cd c5 be 89 1a 34 2a 44 0b | @.YE........NF.>.Q....D.....4*D. |
14b20 | 14 cc 96 6d d8 8e cb a4 44 6f 69 79 68 16 2d ac 5a b7 0a 5b 8f b5 b0 e2 2d 77 63 f0 f1 4b b1 f5 | ...m....Doiyh.-.Z..[....-wc..K.. |
14b40 | de b7 e0 9e 9f 68 28 8d 6c 47 4a 1b 47 5c 7b 02 7f f7 91 cd b8 75 db 25 b8 fb 07 df c7 2d d7 2f | .....h(.lGJ.G\{......u.%.....-./ |
14b60 | bd ce ec cd fc 87 c6 4b d3 3f 54 4d e3 77 43 a0 5e 76 8e 8f 66 c5 41 6d c6 29 1c 39 6c a1 12 d7 | .......K.?TM.wC.^v..f.Am.).9l... |
14b80 | d0 7d 45 17 da 4e c8 23 a8 2a 18 da e7 e1 e0 61 92 9b 09 57 c6 62 65 62 06 c5 e1 21 bc b4 f3 20 | .}E..N.#.*.....a...W.beb...!.... |
14ba0 | 46 e8 85 81 19 47 8c 30 d1 99 6a e1 79 7d 05 8e 6c ba 12 fd 79 de df 76 42 b0 13 f1 2d 42 ee f7 | F....G.0..j.y}..l...y..vB...-B.. |
14bc0 | 0c aa 96 61 14 20 45 8b 77 24 09 b4 2c 7c 54 95 ae cf 0b 5d 62 b1 55 f6 60 37 7c 64 7a 32 70 5a | ...a..E.w$..,|T....]b.U.`7|dz2pZ |
14be0 | 75 6c dc b0 14 43 c1 46 5c 79 f3 0f 78 e5 23 78 eb 35 6d c8 90 2b d8 0d 93 8c 71 18 71 6b 07 3e | ul...C.F\y..x.#x.5m..+....q.qk.> |
14c00 | f9 8d d5 78 08 03 38 fc c0 10 ba 36 2c fe 96 e7 7a a6 a2 06 b2 a6 9a ab ab e4 61 64 d4 96 63 78 | ...x..8....6,...z.........ad..cx |
14c20 | 84 c7 31 07 07 0e d9 8e 95 35 b0 ea ad dd 88 e7 93 a8 ee 67 3a 1b 6a c1 29 bb 82 fa d2 73 4d 1e | ..1......5.........g:.j.)....sM. |
14c40 | 0d a2 3f bd a0 c1 18 6e fa 0c 07 95 69 32 40 2c cd 89 67 e3 c8 4c 15 91 2b 1f c3 38 15 d2 d2 e3 | ..?....n....i2@,..g..L..+..8.... |
14c60 | 1c 26 ea 9a 89 26 0b 19 8b 55 70 93 d6 ad 53 e0 3a ad 6f f9 21 3d 16 e0 e7 d3 2b 7a 3a 92 18 e8 | .&...&...Up...S.:.o.!=....+z:... |
14c80 | 4f a3 b7 3f 83 b8 54 86 c6 ac 63 a0 7b 4d 1b fa 36 77 a3 f3 54 02 70 dc c6 fa 33 56 e0 de 27 7b | O..?..T...c.{M..6w..T.p...3V..'{ |
14ca0 | 70 d7 b7 9e a3 14 4f c3 64 68 c6 57 6f 81 53 51 50 dd 7e 04 ab 0a a3 b8 fe 1f cf c6 cf b6 06 88 | p.....O.dh.Wo.SQP.~............. |
14cc0 | c7 b4 b4 99 cf 7c c0 77 e8 9d c1 3c 59 92 0a 28 51 10 31 66 03 03 47 67 49 22 f2 ba 7d e2 35 1d | .....|.w...<Y..(Q.1f..GgI"..}.5. |
14ce0 | 50 08 48 c5 5d 25 58 93 2d b8 96 13 ba 30 2f f6 e9 92 3e dd 3a 70 45 e9 ab c9 09 1a 26 85 67 ed | P.H.]%X.-....0/...>.:pE.....&.g. |
14d00 | 1d 63 aa b3 e3 19 64 4b 25 5c fa b5 77 21 bd 7d 17 aa 54 42 9d 94 b6 c5 80 ab 70 94 e8 85 4a 4e | .c....dK%\..w!.}..TB......p...JN |
14d20 | 85 47 c6 d8 22 b8 b5 64 da 0b d3 5f 83 18 20 52 20 cd cf 38 51 d1 bd 24 83 be b5 6d e8 39 a1 03 | .G.."..d..._...R...8Q..$...m.9.. |
14d40 | a9 be 34 6a 25 9b 35 7e 0c dd e7 ac 45 b6 37 0b 73 c9 22 7c f4 9b 09 78 23 4c 17 cd 1d 54 42 80 | ..4j%.5~....E.7.s."|...x#L...TB. |
14d60 | c4 f2 33 51 1f 21 88 3f 37 82 5b de 49 ac da d4 8f c9 19 17 6d 7d 6d 77 34 27 28 4b 99 bf 95 1b | ..3Q.!.?7.[.I.......m}mw4'(K.... |
14d80 | f3 69 f0 6f 3e 71 7a a8 8d b8 89 ea 91 a9 42 50 19 5f 24 34 33 b9 a7 02 af ea b0 b6 a7 89 68 39 | .i.o>qz.......BP._$43.........h9 |
14da0 | 85 d6 f7 58 bb fb 51 a3 04 be 22 c9 bd 00 17 62 1f d1 9a e0 46 41 7d 0a 51 49 a6 d1 7d 68 18 eb | ...X..Q..."....b....FA}.QI..}h.. |
14dc0 | 3e b6 19 cd b3 b6 c0 4c a4 c8 a9 5a 4c 6f 3a 9e e9 3c 1f fb bb 4f 42 d7 69 27 21 d1 9e 87 43 f3 | >......L...ZLo:..<...OB.i'!...C. |
14de0 | fb 41 58 15 8a f2 d8 8d 48 90 e5 85 2c d1 0b a8 54 fe d8 6c ba b0 e8 6d 8e af 21 20 fe 68 e9 0c | .AX.....H...,...T..l...m..!..h.. |
14e00 | 7a 07 e2 18 fc 75 01 f7 3c d0 c2 b5 ef c8 c0 2f 6f 43 72 fd 26 d4 07 07 30 bd 6f 12 3d 64 a1 37 | z....u..<....../oCr.&...0.o.=d.7 |
14e20 | de c2 10 ce 3b 30 6b c9 c5 81 92 3e c3 77 5b db 38 d9 79 05 c4 0c 37 42 64 41 5f ad 6f 38 d0 da | ....;0k....>.w[.8.y...7BdA_.o8.. |
14e40 | 67 0e 37 c9 b4 6c 49 d5 84 40 4a cc 83 df e2 7b 9e 17 c8 11 08 67 60 c6 90 59 23 4c 2b 6a 58 cc | g.7..lI..@J....{.....g`..Y#L+jX. |
14e60 | c8 94 23 b8 7c 9b 0e 83 39 bb 77 eb 23 61 e3 83 e7 a6 79 5a 97 fd 0b dc b4 03 e8 fd c6 c3 38 f3 | ..#.|...9.w.#a....yZ..........8. |
14e80 | ba 0b 51 9d 6d 49 05 f8 4c 07 42 b9 22 fd 7b 51 ba 74 a9 64 9b 73 68 31 4e 6c 4b 28 c7 40 f5 e8 | ..Q.mI..L.B.".{Q.t.d.sh1NlK(.@.. |
14ea0 | 2c ea 33 63 d0 3b 3a 90 67 fd 71 64 d7 11 7c eb fe 26 ae bd b2 1d ca ec 18 4b c8 c3 c8 6c 48 60 | ,.3c.;:.g.qd..|..&.......K...lH` |
14ec0 | fa c9 2e 54 86 35 ac ed 99 60 fd 9d 42 75 86 72 c4 fb cf 74 02 7b 9b c0 97 e3 0a 28 0f 8e 85 e9 | ...T.5...`..Bu.r...t.{.....(.... |
14ee0 | 21 08 36 68 aa 73 8d 2d 00 67 c6 16 b3 80 27 8a 20 ba 62 40 2b 79 c2 1c 64 7c c2 23 64 2d 27 4b | !.6h.s.-.g....'...b@+y..d|.#d-'K |
14f00 | 57 92 1a cc 55 76 aa 84 78 45 a4 52 7a 86 c8 24 24 6e 68 90 27 d8 e2 fb 38 43 81 48 b8 f8 8c 2e | W...Uv..xE.Rz..$$nh.'...8C.H.... |
14f20 | 9c d6 bb 02 4f fb 5d c4 1d aa 9d 8c d3 8f 52 61 20 48 90 17 be f7 a2 8c e1 f1 ee 22 0b 78 a4 d8 | ....O.].......Ra.H.........".x.. |
14f40 | f5 99 3a 8e 3d f9 2c 6a 93 c7 90 5a b9 0c 99 75 eb d1 76 78 0c bf dd 35 8c e2 4b 1a 0a 19 92 b3 | ..:.=.,j...Z...u..vx...5..K..... |
14f60 | e1 19 c4 fb e2 48 2e 49 73 fe 79 b4 8a 47 48 d6 b2 d0 53 0c 9f c6 d8 52 ef d8 4b 24 74 f1 05 e5 | .....H.Is.y..GH...S....R..K$t... |
14f80 | 30 81 41 e6 ff b8 fa 11 c5 a6 c6 8b fc 4c 21 7d 27 94 49 b4 ee 7c 27 08 2d ef 85 ee 1a cc 57 12 | 0.A..........L!}'.I..|'.-.....W. |
14fa0 | 74 6b 56 6d 34 af 22 7e 53 a9 65 c3 84 ae b8 22 6a 90 3d fd 24 64 d6 af 22 80 ce c2 dd ff 02 06 | tkVm4."~S.e...."j.=.$d.."....... |
14fc0 | ae b8 08 38 ef 0a 0c 7f 7e 0a 6e 4d 45 53 f0 0c 1b f2 be 1e 2b 18 df c3 f1 02 c9 e7 c3 1d 8b 29 | ...8....~.nMES......+..........) |
14fe0 | d4 62 d8 51 01 3e 0d 31 b3 fb 10 6a c7 c6 98 32 85 41 c8 2c 39 89 4c 47 3b 86 ab 2a 9e dc db c0 | .b.Q.>.1...j...2.A.,9.LG;..*.... |
15000 | 95 5b e2 a4 dd 55 90 9e 20 d1 e9 c2 99 c9 43 49 a5 29 a3 05 95 32 19 59 65 89 5f e6 ec 55 67 5e | .[...U........CI.)...2.Ye._..Ug^ |
15020 | 01 8a 08 60 1d 6d 7a a0 dc e8 94 2c 19 83 1e 69 ab cf 22 44 49 e8 12 f9 85 4b 0a 81 7d 91 cf 65 | ...`.mz....,...i.."DI....K..}..e |
15040 | ed be 90 bf 2a d2 62 6a 10 12 0d b7 65 a3 6d a0 03 4b de 76 0b 7a 2e bf 10 46 d7 22 61 43 fe b6 | ....*.bj....e.m..K.v.z...F."aC.. |
15060 | 1f c3 3b 67 f0 81 0f 3e 8f 47 26 0b b8 e8 94 04 85 63 8a a4 7b 07 f4 36 5f f6 02 02 e1 78 92 f9 | ..;g...>.G&......c..{..6_....x.. |
15080 | 35 67 4a 32 fe b5 f6 0e d8 b6 20 42 b5 90 4f a4 d3 70 1b 55 d8 b5 3a dd fc 09 f8 d5 2a e7 d6 89 | 5gJ2.......B..O..p.U..:.....*... |
150a0 | 5d 07 86 70 e5 05 2e 48 e3 e1 4c 68 30 63 2c c9 fb 99 95 b4 1c d3 f8 24 5d d1 83 16 77 7a 1d 8d | ]..p...H..Lh0c,........$]...wz.. |
150c0 | d9 a5 bf 63 5e 01 6a 4c a5 d5 d4 6b 94 b2 af 3b 14 da e1 89 1e e3 3d a0 c6 95 40 a7 fb 85 f1 3e | ...c^.jL...k...;......=...@....> |
150e0 | d7 bc 58 c8 e2 65 ec cf 31 3a 01 88 86 21 1b 1b d9 c5 79 a4 7b f3 68 3e bb 13 66 d7 53 f0 f5 0c | ..X..e..1:...!....y.{.h>..f.S... |
15100 | 3e f7 e3 71 fc c3 cf 8a a8 a4 17 e1 8d d7 9c 8e 64 7b 1b e9 2d 41 96 3e 2f f5 28 c9 10 33 c3 4c | >..q............d{..-A.>/.(..3.L |
15120 | 15 c5 dd 07 39 0f 4b d2 62 2d 73 14 6a 5b 01 7e 3c 01 bd 6f 00 e9 6c 1b 66 7f fb 04 6a 83 43 4c | ....9.K.b-s.j[.~<..o..l.f...j.CL |
15140 | bd cc fb b6 b0 8c 8e a3 93 56 d8 b8 20 5f b0 8b 36 53 78 0d 7a 27 15 6b 33 14 4a 87 e9 a1 94 a5 | .........V..._..6Sx.z'.k3.J..... |
15160 | dc 68 d4 8f 24 92 b9 d3 db 05 25 f1 43 0f 88 91 42 7a ca 15 01 fd cf 16 40 d4 0a 42 61 74 5d e6 | .h..$.....%.C...Bz......@..Bat]. |
15180 | 4c 5f 14 d7 04 8d 39 eb 4b 81 95 88 4c a8 e1 67 45 4c 94 d5 8f 26 ee 95 30 a9 38 ba f6 0b 3f 46 | L_....9.K...L..gEL...&..0.8...?F |
151a0 | be 67 23 1e 7b ca c3 ed f7 ab d8 83 15 18 78 d3 5b 70 fa c6 25 48 77 17 20 aa 6e df 73 65 a3 44 | .g#.{.........x.[p..%Hw...n.se.D |
151c0 | de 93 a1 03 a6 55 97 3c 43 c9 e4 68 e5 71 86 49 03 d6 c8 08 2d 39 80 c4 ea 75 0c 17 1b cd d1 61 | .....U.<C..h.q.I....-9...u.....a |
151e0 | c6 76 0b 8a 19 c3 6c b1 84 1b 2e 59 87 7b 58 89 6e df f7 2c f3 2c 15 40 0f 74 8b 22 1c 1d 28 ed | .v....l....Y.{X.n..,.,.@.t."..(. |
15200 | 1c 46 8c 69 cf 91 e0 e4 d9 aa 6f 4d 9b df 73 67 2a 5f e5 ec 1f 0d 3d c0 30 58 d5 ba 5b 44 2e f6 | .F.i......oM..sg*_....=.0X..[D.. |
15220 | 99 87 02 57 8d da 3f 8a b4 8a 38 ca 9c cf df 15 23 84 3c d2 e5 90 17 08 8c e0 77 9a a8 0d 4c 51 | ...W..?...8.....#.<.......w...LQ |
15240 | 1f 18 30 08 30 5a 3a 81 ae ce 26 ee 7e 71 0a d7 de b7 09 c6 09 27 e2 ac 73 d7 21 d7 d5 46 be ae | ..0.0Z:...&.~q.......'..s.!..F.. |
15260 | a3 e5 52 f0 96 75 7c ed 21 60 7c b6 86 c7 e1 d1 03 f5 ce 0e 18 03 fd 50 6a 35 d8 d3 45 a6 3c 13 | ..R..u|.!`|............Pj5..E.<. |
15280 | ad 63 e3 08 92 04 b4 e9 71 b4 06 0f 89 39 cb b6 7a 6d df 11 5c 78 db 62 dc 7a c5 19 b8 fa ea 7f | .c......q....9..zm..\x.b.z...... |
152a0 | 47 79 ca 42 bc d0 89 1a 15 e3 28 16 f4 45 75 28 69 86 40 2b 45 2e 53 42 e0 28 39 af e5 5d e8 4c | Gy.B......(..Eu(i.@+E.SB.(9..].L |
152c0 | d5 c6 8f 2b c0 b7 fd b3 09 42 59 e1 f2 3e e7 24 85 d5 44 aa 53 a5 3b 4b b0 73 42 ab 83 96 96 0e | ...+.....BY..>.$..D.S.;K.sB..... |
152e0 | 1f a5 3e 29 7c dc 80 4e ab eb 24 28 52 11 04 4d 8d d6 54 72 3a 86 2a 4c b1 6b 37 e0 d4 4b 36 8b | ..>)|..N..$(R..M..Tr:.*L.k7..K6. |
15300 | 04 42 97 6f c9 16 ba b2 a0 87 a7 18 3a 53 2e 2b bf 9d 2f c8 34 ab e7 b2 92 6c 79 b4 b6 c7 f0 f0 | .B.o........:S.+../.4....ly..... |
15320 | a8 2c a7 d5 82 b5 e7 39 66 23 22 39 cf 97 e1 28 1a 87 a4 df bf fc f5 6e 5c 7f 5d 07 be 70 47 1f | .,.....9f#"9...(.......n\.]..pG. |
15340 | 26 c6 67 b0 fa b2 7e 94 1f 2d c2 9e b4 91 f0 48 78 62 49 de 23 01 53 9d a1 07 69 6b 2a f4 8e 45 | &.g...~..-.....HxbI.#.S...ik*..E |
15360 | 9a be 66 be 1f d0 f4 ce 35 d2 aa 17 d4 a1 f9 24 1a d2 d5 f5 f9 09 4a f4 97 f1 ad c8 9c 1f 44 ae | ..f.....5......$......J.......D. |
15380 | af 19 a4 a8 d9 18 e2 1c 5a 3c 06 9d 56 4f 14 d2 b2 3f 60 28 0c 1b fe 7e da 5a 13 8b 63 69 d4 5b | ........Z<..VO...?`(...~.Z..ci.[ |
153a0 | 3e 62 76 35 e4 e1 fc 47 89 c2 48 2a a0 a5 4a 1c 30 7a ba 61 4d 4d a3 35 31 21 53 ad 18 9e 48 c5 | >bv5...G..H*..J.0z.aMM.51!S...H. |
153c0 | cc 52 22 f1 a2 d5 08 bd 45 24 5e 2a 48 b2 45 d3 c4 d1 a2 68 e1 ed c0 75 d7 d5 30 f9 24 e1 3f cd | .R".....E$^*H.E....h...u..0.$.?. |
153e0 | ca 33 9f 83 7d 80 46 16 f3 a8 4f f2 32 8f a0 18 c3 f3 d5 58 b6 c4 70 39 c5 54 3b e6 41 30 a1 97 | .3..}.F...O.2......X..p9.T;.A0.. |
15400 | 35 35 28 ba 55 af cb 23 fa fa 42 48 5f 16 cb 8c 23 a9 01 69 71 e8 e1 10 ee af 27 44 e7 88 ae 49 | 55(.U..#..BH_...#..iq.....'D...I |
15420 | 8f 99 66 9d 20 88 d2 34 b5 9f 15 a9 6f 53 1f 2a 6d fd 38 b7 60 61 7d 4f 03 ca ce 69 d4 4b 4d 2a | ..f....4....oS.*m.8.`a}O...i.KM* |
15440 | cf 89 14 a0 40 7d 45 13 57 a4 4e 25 db 0e eb a5 41 f8 22 3c f8 4c cf b1 43 fc a1 22 04 b1 92 82 | ....@}E.W.N%....A."<.L..C..".... |
15460 | 0b c0 14 43 b2 53 81 1b 3a 66 6b b3 40 55 e4 ec 12 32 2b b2 f0 a6 26 90 1a a0 ca 4a 59 19 52 5a | ...C.S..:fk.@U...2+...&....JY.RZ |
15480 | a3 05 d3 20 ab 25 09 d9 3e 92 c7 22 7d 96 7a 53 d3 0b da e2 c1 af bd 72 90 f6 2d d1 95 75 25 c3 | .....%..>.."}.zS.......r..-..u%. |
154a0 | 65 72 0f 1f 70 dc 52 f3 1e a0 b3 4a d4 c8 e3 8f 1c ae 63 ff ee 1a 99 1c 73 3e 43 23 c1 74 76 8c | er..p.R....J......c.....s>C#.tv. |
154c0 | 86 f9 da 81 37 61 c6 18 c0 e9 7d e3 78 d7 a9 45 a4 aa 47 51 a9 d7 e0 98 42 10 ff 38 73 5c d8 a9 | ....7a....}.x..E..GQ....B..8s\.. |
154e0 | 52 58 ea 7a a4 7a 3e 15 61 b3 8e 90 f4 9b 58 21 23 45 78 a4 5c 79 0a 24 5f 90 c2 d3 b2 81 08 4b | RX.z.z>.a.....X!#Ex.\y.$_......K |
15500 | 5f 28 a5 16 1a a9 dc 44 ac cd 24 7d a7 55 9a 53 ac 09 88 13 2c cb 45 9f 53 57 1b 28 31 3d 6e 3d | _(.....D..$}.U.S....,.E.SW.(1=n= |
15520 | 90 c6 3b 17 55 90 19 d0 ad 79 05 b8 6a ba 39 d1 4c ba 0d 27 44 f5 a8 54 0a 42 27 08 8f 7a 24 bc | ..;.U....y..j.9.L..'D..T.B'..z$. |
15540 | a9 ca ca 6f 78 a8 8e dd cf d5 25 3d 4d a5 18 f3 3c 71 39 8b 9e c7 13 9b 30 b3 f1 2a a4 53 3e b6 | ...ox.....%=M...<q9.....0..*.S>. |
15560 | 8f 4e 61 c7 d6 22 7a 17 b3 0e b0 2a b0 99 86 94 20 5c 1c 90 ff 45 38 10 ae 07 88 32 95 45 d5 92 | .Na.."z....*.....\...E8....2.E.. |
15580 | d5 f4 40 0a c1 9c 2f 52 aa 3d 3e 16 a6 1b e1 01 9e 1f 2a 43 09 79 83 bc 5a b4 d8 05 91 73 eb 72 | ..@.../R.=>.......*C.y..Z....s.r |
155a0 | 75 25 f0 e9 71 be 4b 26 4b 42 5f 30 09 b8 e4 35 f5 3a 54 d7 c1 e4 54 80 dd 43 49 f4 5c 64 22 96 | u%..q.K&KB_0...5.:T...T..CI.\d". |
155c0 | b1 66 8f 2b 80 a0 b7 d2 9a 26 f7 77 44 83 8a f1 49 36 e7 b9 51 53 55 a4 41 d1 9f 67 86 52 75 15 | .f.+.....&.wD...I6..QSU.A..g.Ru. |
155e0 | 3a 39 43 95 24 69 e8 50 4b 32 c5 7c 96 25 68 4c 96 01 c8 f1 98 eb c8 01 9d 9d e8 ec d2 d0 d1 d7 | :9C.$i.PK2.|.%hL................ |
15600 | 01 4b 10 2e 4d d0 3b 47 02 da 1c 67 78 e5 3a 46 a8 73 5b e2 83 d1 d5 07 93 e4 cc 3e 3a 42 50 b6 | .K..M.;G...gx.:F.s[........>:BP. |
15620 | 38 1f 23 4c 95 52 55 61 48 48 65 48 ef f0 c2 61 57 44 89 49 40 27 02 95 f7 cb 1e 82 26 8c d9 aa | 8.#L.RUaHHeH...aWD.I@'......&... |
15640 | d2 23 ea 04 60 17 3b f6 b1 7c 57 3a 71 c2 a5 55 58 c5 c3 fb d3 73 64 b6 35 6d a5 ec 32 e3 cd 09 | .#..`.;..|W:q..UX....sd.5m..2... |
15660 | e9 af 00 57 01 7c 62 be 32 d5 29 21 b7 17 5e 20 b2 c0 2c b5 eb 12 2c 73 19 05 e9 24 cb 4f 96 c2 | ...W.|b.2.)!..^...,...,s...$.O.. |
15680 | 82 5a 2b c4 9f 1b 56 8f 22 d5 9a c0 78 85 15 1b 85 96 60 28 4b 68 c6 ad cd 92 5a 58 4b 1e dd 97 | .Z+...V."...x.....`(Kh....ZXK... |
156a0 | 0d 30 ee 21 ca 6c cb 96 4d 5a af de 24 11 4b f0 79 a4 e1 ac 22 03 5f 74 9f 39 78 9e bc 17 27 e7 | .0.!.l..MZ..$.K.y..."._t.9x...'. |
156c0 | cb f6 32 71 45 11 d7 d6 64 b1 a1 18 5d 70 88 37 22 4c b4 24 cf ad 57 e1 37 6d b9 8c f7 dd c7 72 | ..2qE...d...]p.7"L.$..W.7m.....r |
156e0 | 78 f3 4d 2d ac df 34 81 a3 7b 6b db 8f 7b 40 63 b0 1e 77 4b 2d a8 74 19 8f 93 b5 6a 01 01 8e c8 | x.M-..4..{k..{@c..wK-.t....j.... |
15700 | 8c 70 45 47 9a 6b 2e 6e 45 03 83 28 1a 37 7c 24 e8 0d f1 04 b3 01 ed 42 c0 87 15 d3 f0 c6 8e a3 | .pEG.k.nE..(.7|$.......B........ |
15720 | f8 1f f5 1f e0 c3 e5 ff 84 a3 89 38 ba b5 b2 4c a7 58 d0 88 54 15 d1 0c d5 51 f6 13 a8 bb b1 b0 | ...........8...L.X..T....Q...... |
15740 | 0e a6 70 86 46 0a 1d 63 1e 57 45 c9 4d 42 54 9d 25 29 6b 46 38 e4 ca 67 87 74 d1 97 c3 16 3c ae | ..p.F..c.WE.MBT.%)kF8..g.t....<. |
15760 | 64 23 97 b0 64 08 f8 0d d6 23 e9 5e 3a 83 09 23 47 f0 33 48 89 59 68 29 74 c3 e2 a4 86 ab af f0 | d#..d....#.^:..#G.3H.Yh)t....... |
15780 | f0 8e 77 3c 8d f2 6f 27 51 1d 73 76 ce a7 c1 ba e3 f8 2d 4f 4e 44 10 1d ab 66 d3 d5 19 0c b1 88 | ..w<..o'Q.sv......-OND...f...... |
157a0 | ec 04 21 c6 c8 5a 20 10 17 85 16 67 fa a7 12 64 e7 9a c9 c1 17 5d 17 4c 23 8f 0f b5 3f 84 a4 e2 | ..!..Z.....g...d.....].L#...?... |
157c0 | e0 a3 95 5b 30 8a 1e 24 8c 2a 3f db 32 94 2d 98 a8 fa 19 c6 69 0b 9b b5 17 70 66 fc 00 7a 0a 2e | ...[0..$.*?.2.-.....i....pf..z.. |
157e0 | 5a 89 1c 76 96 bb f0 e0 60 1f 26 63 79 f4 68 47 61 1d de 0d d1 c1 51 58 fb 87 f1 ef 87 00 18 ad | Z..v....`.&cy.hGa.....QX........ |
15800 | 23 64 e2 36 1a 64 7b 85 34 15 40 20 b4 ab 4c b5 dd 93 32 64 54 2a d2 a9 33 94 9b 01 6b 06 4f 62 | #d.6.d{.4.@...L...2dT*..3...k.Ob |
15820 | ce df 5e c2 7a 60 b4 85 43 3b bd 32 c3 7a c7 3c 08 fa fe 41 de 6f 88 1c 60 a9 92 d1 61 91 0a 1b | ..^.z`..C;.2.z.<...A.o..`...a... |
15840 | 4c 87 f1 b8 1e 51 df e3 2b 98 32 14 62 54 4c 8a 82 c7 44 17 48 17 d6 57 64 86 8c c7 44 7b 4b c3 | L....Q..+.2.bTL...D.H..Wd...D{K. |
15860 | 31 a5 03 b7 b6 fd 12 9b cd 83 f8 4a e5 32 fc d2 3e 09 93 7e 5e 86 52 41 9d c2 85 c6 af 71 4d 6a | 1..........J.2..>..~^.RA.....qMj |
15880 | 2b ce cf 1f 42 5f 27 bf ec 69 e3 e8 63 fe ec c6 e3 63 e3 f8 f0 3d 4b b0 63 34 85 8e ee a5 08 66 | +...B_'..i..c....c...=K.c4.....f |
158a0 | a7 18 c3 25 09 90 32 33 44 45 43 93 82 75 e9 15 fc e7 9b 8b 38 b1 9f 78 76 b4 25 0a 3e c4 bd 61 | ...%..23DEC..u......8..xv.%.>..a |
158c0 | c4 0a 44 0a b1 fe 50 21 ee 34 c2 90 d1 18 42 b3 7b 2d 16 55 ac 76 eb fe 56 dd 94 2d ca 48 01 31 | ..D...P!.4....B.{-.U.v..V..-.H.1 |
158e0 | e3 19 d7 6b fe c2 2b bb b7 e9 ac a7 45 fc 5b 04 ba 58 56 8f 96 b0 43 5e e0 47 ab bb 69 7e ef 97 | ...k..+.....E.[..XV...C^.G..i~.. |
15900 | c9 41 0c c9 75 78 a4 22 4c d1 ee 66 5c ce 12 4c cd 2c 86 d1 8b 35 e9 22 be 99 fa 06 5e 6c f5 60 | .A..ux."L..f\..L.,...5."....^l.` |
15920 | af 3d 40 ab a9 58 6b 8c 61 8d 3e 86 b8 4e de e0 b7 63 a4 98 44 50 27 71 99 2d 23 b3 b1 07 5b 2e | .=@..Xk.a.>..N...c..DP'q.-#...[. |
15940 | 8f 63 db 69 47 70 ce c7 07 b0 a3 ba 1c 49 86 90 04 42 ce 38 04 c0 20 4c 9f f4 d2 96 5a c6 67 af | .c.iGp.......I...B.8...L....Z.g. |
15960 | 9f 40 dc a9 60 76 3f 83 66 b1 00 ad 1a 53 32 31 a4 4c c1 29 b4 2b 98 a8 2f 0a 3c be 2f fb 02 7e | .@..`v?.f....S21.L.).+../.<./..~ |
15980 | d0 aa 05 0f 6a ea 82 95 a1 da d1 c6 24 81 ef 41 df f6 6e 53 ed 90 a6 f2 24 64 fc 08 26 95 b0 33 | ....j.......$..A..nS....$d..&..3 |
159a0 | 21 7b 01 3c c6 f3 26 fc 0a 8b 1e ba 67 9c de 60 d2 fc b1 78 b8 84 3e 38 5c 47 50 31 b0 64 99 89 | !{.<..&.....g..`...x..>8\GP1.d.. |
159c0 | 12 51 99 d5 3a fa cc 3a 56 c4 76 4a eb 35 83 18 4a f4 06 49 e4 04 b0 35 67 e1 4e 33 56 0f 1c 46 | .Q..:..:V.vJ.5..J..I...5g.N3V..F |
159e0 | 6e f0 79 60 78 35 8c 15 79 9c 98 0e b0 ed 48 27 12 82 94 68 06 ad 68 85 b5 89 60 88 22 1e 8b 16 | n.y`x5..y.....H'...h..h...`."... |
15a00 | 4e de 34 8d 78 17 ad bf df 43 6d d6 43 61 95 58 58 e0 3d 45 bf 92 60 ea 92 27 b8 34 a4 4a 2f b5 | N.4.x....Cm.Ca.XX.=E..`..'.4.J/. |
15a20 | 8a 0c 25 0a 59 af 30 7c 1a fe 4f 94 98 32 af 00 81 fe 4a 5a ff 8d 3b 69 b9 6e cd d5 b5 84 86 f2 | ..%.Y.0|..O..2....JZ..;i.n...... |
15a40 | 08 c1 a5 a9 c3 20 18 2a 4c 7f a2 4d 25 9a a4 a2 bf ad 53 d2 54 77 12 ca 74 99 ce 13 48 6e a0 f0 | .......*L..M%.....S.Tw..t...Hn.. |
15a60 | 4e 4a d2 40 92 f1 f6 d4 f6 59 d4 2a 49 2c 5a 1e 47 92 de d2 30 e2 a8 0b 84 8e 96 de 02 57 40 9c | NJ.@.....Y.*I,Z.G...0........W@. |
15a80 | 07 97 1e d1 60 ee 4e d5 2d d4 38 d1 bf 3f 3c 80 97 7e 93 47 43 4f e3 31 bd 1d 49 52 5a bf ca d4 | ....`.N.-.8..?<..~.GCO.1..IRZ... |
15aa0 | 45 20 0c a2 e5 75 41 d3 45 8f 80 48 8c 37 ad a7 f0 64 97 d3 a3 21 c1 d2 63 c2 ed 3d a9 00 cf 12 | E....uA.E..H.7...d...!..c..=.... |
15ac0 | c4 2a ec 30 09 f9 dc aa 2b ad 58 9b f1 1f d5 14 65 74 8e eb 48 05 58 02 00 6d 7f 86 fe bd bd 39 | .*.0....+.X.....et..H.X..m.....9 |
15ae0 | eb 9c ad b0 c6 6e 90 d5 35 6b 82 6e fa b2 ff 17 cf aa 32 dd 8a 46 9d a0 ca 5a 26 c1 c4 40 ed d6 | .....n..5k.n......2..F...Z&..@.. |
15b00 | 68 71 d1 0b 64 de b6 28 d0 c0 12 15 dd 63 16 b6 3d 5e c1 c4 a8 85 ce fe 18 f2 05 1d b1 84 2a 9b | hq..d..(.....c..=^............*. |
15b20 | a6 e2 c1 a2 d7 6f 35 78 2d ad d4 46 f0 da 5e cf e3 0b d5 0b b1 5d 39 87 31 95 91 6e 6e 68 2d c4 | .....o5x-..F..^......]9.1..nnh-. |
15b40 | 5a 02 d8 66 a9 00 3e 83 e4 48 a4 40 d9 8c 69 f0 3e d9 12 ae 3a 91 e4 67 9c 6e 4d 37 57 13 22 3c | Z..f..>..H.@..i.>...:..g.nM7W."< |
15b60 | e9 e6 d5 90 26 8b 56 7d c0 fa 43 a5 81 3c 47 bc 77 d0 68 09 99 f0 45 93 e1 2a 2d 7a 3c 0b f8 51 | ....&.V}..C..<G.w.h...E..*-z<..Q |
15b80 | 23 53 51 1e b0 eb de d9 a2 dd c4 d2 09 95 12 71 80 c8 3e 4b aa db c5 94 06 d1 ee f2 e8 0d 22 4c | #SQ............q..>K.........."L |
15ba0 | 44 57 35 9b 96 de a1 b1 b0 17 61 e3 b1 0a b4 08 f5 a7 9e a9 61 a2 58 c7 f0 81 a6 9c dc 54 52 43 | DW5.......a.........a.X......TRC |
15bc0 | 3c a9 ca c5 52 43 28 93 c4 a8 4d b7 e9 15 2a be d9 58 8b 2f 37 2e 86 9d 5e 03 3d c3 52 38 28 87 | <...RC(...M...*..X./7...^.=.R8(. |
15be0 | dd 21 4e d6 52 c4 92 9e 19 92 31 ce 9c ee 18 a6 c0 62 0d 17 9f 3f 83 95 cb 1a b0 46 15 c9 09 12 | .!N.R.....1......b...?.....F.... |
15c00 | 79 45 36 71 3d 41 e7 5b 54 44 cd 0d 6b 08 91 9e 39 7f 11 0a b5 8a f2 bc 5b 4f dc 27 1b 94 0b 57 | yE6q=A.[TD..k...9.......[O.'...W |
15c20 | 87 9d e8 33 e7 f6 7d a2 fc 67 1c ba b1 41 c1 4b 33 2e da 3b 4d c6 8d 87 0a 2b ae 42 1f 1d 57 90 | ...3..}..g...A.K3..;M....+.B..W. |
15c40 | 0f 25 ea 1b 88 6a 2c 95 94 68 a8 d0 9a b2 af 4c 94 4d e6 0c 9c 7f b1 8a 87 1f 6e 60 86 d6 5a 95 | .%...j,..h.....L.M........n`..Z. |
15c60 | 6a 41 17 6d c6 80 e1 c0 58 19 71 d3 d8 dd e8 c0 c3 cd 55 d8 a7 9c 4c fa d8 0e dd a8 11 bf 48 61 | jA.m....X.q.......U...L.......Ha |
15c80 | c3 2e 4b c8 fc f4 18 c9 10 99 a5 9a 94 65 2f 12 cc 16 a5 22 bf f7 f0 f1 8b a7 f8 de 41 b5 1c 87 | ..K..........e/...."........A... |
15ca0 | 49 c5 99 29 4d c6 39 1d 05 4e d9 91 85 8f 42 eb bb 16 e7 59 15 fd 40 c2 c3 d4 40 bc 39 99 54 34 | I..)M.9..N....B....Y..@...@.9.T4 |
15cc0 | d3 0d e6 2a 51 3d a2 d3 73 7d ae 97 68 d0 47 19 a3 17 88 06 a7 c5 18 aa d6 84 1b d1 a2 cc 9f 6d | ...*Q=..s}..h.G................m |
15ce0 | 5d 86 ec d0 86 cc d0 97 b5 12 7f 25 ea 9b c4 29 82 22 5d d4 13 71 d6 08 90 ef 30 71 e5 5b 75 7c | ]..........%...)."]..q....0q.[u| |
15d00 | fa 57 5d f8 fa a1 1c da f2 bc 1f f3 f9 44 90 61 4a 6c a7 f2 3a 29 10 dd 3d 65 c8 f5 61 d7 11 fd | .W]..........D.aJl..:)..=e..a... |
15d20 | 75 fa 71 8b 94 96 e0 28 63 74 72 ab ec 09 23 b7 9a c7 5e 59 ed 61 26 8f 2b 2f 38 88 73 16 8f b1 | u.q....(ctr...#...^Y.a&.+/8.s... |
15d40 | 08 5b 05 bd 93 9c 62 66 1f 2d 1c 93 6d 3c 24 45 79 cf 79 30 84 c5 da a3 df f0 61 12 3f 9f 1c eb | .[....bf.-..m<$Ey.y0......a.?... |
15d60 | 47 ac 39 b0 d4 4c cf 66 59 21 95 5f be 3f c0 9b df 1b 40 f7 fe 02 41 ed 02 41 6e 34 4a 38 39 61 | G.9..L.fY!._.?....@...A..An4J89a |
15d80 | a1 ad 23 86 e2 b4 8d 0a d1 3a 43 c1 64 9d a0 04 52 09 a1 3e 88 0f d4 5c c0 7a 5b f0 47 51 b9 95 | ..#......:C.d...R..>...\.z[.GQ.. |
15da0 | 9b 0a 3a 08 80 1f bf ac 86 23 8f 74 e3 a1 3d eb 69 c9 02 27 c8 47 a6 84 e7 f8 21 83 6a 94 18 db | ..:......#.t..=.i..'.G....!.j... |
15dc0 | 9c a1 5d 83 e4 e1 ac 1c 61 51 d0 38 ad 3d bb 37 dc 48 37 e5 60 d1 29 4d 8c 1c 4c 90 2a 8c e0 eb | ..].....aQ.8.=.7.H7.`.)M..L.*... |
15de0 | 17 3c c3 cc 41 ef 38 69 29 81 78 94 16 b7 65 a9 2c dc 5d b2 e3 9a 27 bb d8 1e c3 78 c0 b3 f0 ad | .<..A.8i).x...e.,.]...'....x.... |
15e00 | c1 02 b6 ef ec c7 87 de 9c 2b fa 67 9c 53 77 2b f5 57 6c 90 f0 5f b6 ed ef 7e d5 0b f6 c4 63 ea | .........+.g.Sw+.Wl.._...~....c. |
15e20 | 06 9d b1 d2 10 eb 7e 24 14 aa ae 61 6c d8 c2 1a 96 9b 73 3d 7b 45 89 fa 85 61 d7 84 91 11 f6 0b | ......~$...al.....s={E...a...... |
15e40 | 14 55 97 0a 9a ac ab 28 c4 2d fc fc 92 e7 f1 93 d5 13 d8 7a ac 07 33 be 89 bd d5 3c f6 56 fa 60 | .U.....(.-.........z..3....<.V.` |
15e60 | 6b 79 b1 ab 89 24 e6 09 2a 62 34 6a c3 99 61 da 6d 51 09 c8 c9 02 e9 3d e7 bd 88 4f bc f9 45 dc | ky...$..*b4j..a.mQ.....=...O..E. |
15e80 | fe a3 2c 6e 3b e3 08 7a 54 1b a5 81 13 10 a3 12 6b bb a6 e0 32 19 a8 a6 27 5d de 77 75 2a c0 97 | ..,n;..zT.......k...2...'].wu*.. |
15ea0 | 94 be 4f 69 61 db a8 89 cf 3d b5 19 9f ec 1c 45 d7 e5 97 ed 71 57 ad 73 bd 4a f5 15 0a 78 d9 16 | ..Oia....=.....E....qW.s.J...x.. |
15ec0 | 12 45 a4 90 0f 93 ed 3d 14 23 2d 76 18 93 15 6a 54 44 e6 14 99 64 c7 b8 c3 2a 8f 95 9a 58 d1 a4 | .E.....=.#-v...jTD...d...*...X.. |
15ee0 | b6 74 c9 eb 85 3a 34 08 ec 94 d9 45 95 1f 89 ca 01 8a 0d 1d 55 2a ef ea e5 13 b8 61 ad 68 66 2a | .t...:4....E........U*.....a.hf* |
15f00 | b8 73 57 2f 3e 3b c6 78 af 08 56 25 f6 cf a5 a3 e2 3b 31 df 6a a7 27 a5 8d 16 6e 38 ab 81 af bf | .sW/>;.x..V%.....;1.j.'...n8.... |
15f20 | d7 86 7d a0 86 6f bf 71 08 09 e2 e0 54 76 00 49 7a 91 3d 38 01 9b 55 ac 68 e3 89 70 d4 e8 81 4e | ..}..o.q....Tv.Iz.=8..U.h..p...N |
15f40 | b9 45 67 0a 58 1f 30 e7 d3 d1 af fd e5 55 58 6f 97 71 c3 47 d7 a2 b1 32 f5 53 fb e8 73 92 cd be | .Eg.X.0......UXo.q.G...2.S..s... |
15f60 | 8a 02 e4 6a cf c3 aa e3 3f 96 d6 95 f3 9a c4 01 4d 17 f4 d8 96 5a 7d e9 50 03 a9 6c 86 69 8d 91 | ...j....?.......M....Z}.P..l.i.. |
15f80 | cb f4 29 b2 81 58 0f 70 c5 5e 3a d1 30 15 2b 45 5a e8 0d e1 32 b4 d8 0d ad 60 b4 12 63 21 29 f6 | ..)..X.p.^:.0.+EZ...2....`..c!). |
15fa0 | 17 f9 38 6f a0 8a ce d8 73 78 f2 d8 01 ec 9f 0c 30 c6 54 5b a9 0a 4c a9 a2 27 15 60 63 8f 87 0b | ..8o....sx......0.T[..L..'.`c... |
15fc0 | 57 b9 58 d6 0d 9c b6 82 d9 62 7f 0b 23 83 2e d2 6d c4 8b 5c 02 31 d6 19 ee c8 2c 2d 4d c5 cc 34 | W.X......b..#...m..\.1....,-M..4 |
15fe0 | 25 d3 33 07 fa c5 f6 2b 58 43 15 12 34 85 45 95 8f cb ef 3f 07 65 bb 17 ff fa 9d 11 24 b7 2c b3 | %.3....+XC..4.E....?.e......$.,. |
16000 | ab bb 9e fb 5e 5c 58 49 c1 ab 84 40 f4 6a 3a c1 3b 4d 0d 83 49 d5 97 ab 34 7a 8c 6c 8c 96 ae 10 | ....^\XI...@.j:.;M..I...4z.l.... |
16020 | a9 0f ee ab 63 e3 89 19 11 75 a4 cc 2e 62 24 40 c2 72 ae 28 41 03 55 1a 50 0d 42 e1 c3 ee 4f e8 | ....c....u...b$@.r.(A.U.P.B...O. |
16040 | 15 22 5a c4 de 9f 9e b8 8b f5 ab a6 71 d3 9a 09 14 39 ff aa e0 e7 ac ec 54 3e 2b 1b 27 c7 6f e7 | ."Z.........q....9......T>+.'.o. |
16060 | c5 b1 30 7f cf 8e 79 98 2a 2a 88 e7 92 30 a9 00 51 b4 39 b5 2a 79 88 8b fa b1 3a ac 19 0f 99 b5 | ..0...y.**...0..Q.9.*y....:..... |
16080 | 9d 30 7b da 51 dd f9 22 9c 2a ad 4f cf fb fa b6 02 6a 03 ed d8 f5 9d 87 d1 b3 b4 86 d1 fb 6a 1f | .0{.Q..".*.O.....j............j. |
160a0 | f1 dc 78 55 7d c5 36 63 b9 45 e6 91 de 97 6f 18 55 22 af 20 a0 7c 90 48 fa a5 31 e2 40 9d 24 47 | ..xU}.6c.E....o.U"...|.H..1.@.$G |
160c0 | 2c 5f 0b 41 c5 0a 6d 3f 09 ce fa 0d 49 b8 22 67 f3 81 46 42 17 a5 bb 04 22 8d 38 a0 e9 6a b8 00 | ,_.A..m?....I."g..FB....".8..j.. |
160e0 | ab 46 1e a1 ce 35 41 e6 d6 95 98 3f d4 40 d2 e7 18 4b 6b 4d 0d 0b 1d 91 45 44 f6 b1 89 3f 2e 0b | .F...5A....?.@...KkM....ED...?.. |
16100 | 1e 87 bc 43 ec 5a 33 13 e1 86 6c c1 e1 e3 69 05 75 b1 41 83 e1 98 3b 21 8f cc 09 4b d0 38 52 42 | ...C.Z3...l...i.u.A...;!...K.8RB |
16120 | f1 c9 61 01 19 c8 2c d1 31 b6 aa 1f 6f 38 97 a0 9a 6c a0 f8 ab e0 f1 47 ef 2c 9f 27 52 a2 1e 9b | ..a...,.1...o8...l.....G.,.'R... |
16140 | 97 f3 ba 3d 7e e8 01 7b ad e0 77 14 10 c8 dd 5a f8 f2 72 53 b9 70 59 52 bb 6c 9f a0 98 82 86 92 | ...=~..{..w....Z..rS.pYR.l...... |
16160 | 9b 9b a4 ca a3 63 96 3c 6b ed 5a 41 4e 3c c6 9d c3 ef c5 1e 9d b0 66 10 11 21 14 a0 ea 61 21 15 | .....c.<k.ZAN<........f..!...a!. |
16180 | 6e 50 9a 6b 31 fa 73 b8 89 1a b1 44 ec 0c 91 45 9e 1b de 5f ae dc 6a 89 b0 8a d3 c4 5e 84 40 2e | nP.k1.s....D...E..._..j.....^.@. |
161a0 | 8f 6b 64 70 a2 33 55 1a 69 a1 d5 70 90 3f b9 80 f4 9a 02 ec 52 03 f6 78 09 e9 2e 15 d9 b5 09 a4 | .kdp.3U.i..p.?......R..x........ |
161c0 | 56 24 b0 34 cd ac 72 d4 17 da 3d 58 e8 c5 15 fd a2 25 4f 85 9a f8 3d 1e a0 bc ca 3e db d5 2c 07 | V$.4..r...=X.....%O...=....>..,. |
161e0 | be 52 d0 f7 13 ec 96 bf 50 f6 e4 2e 0e 97 33 8f 1b 21 23 ec 2c 68 58 b5 26 41 22 23 d6 0f 7d d9 | .R......P.....3..!#.,hX.&A"#..}. |
16200 | 2c 15 7b 04 b4 68 bf 80 22 84 51 23 65 48 25 44 6b 02 22 8d 62 be d1 29 40 53 5e a3 07 92 5a 3b | ,.{..h..".Q#eH%Dk.".b..)@S^...Z; |
16220 | 0d 13 ae 58 cb 23 6b 94 d7 6a d1 b5 81 25 eb 8e cc ea 2c 62 3d 59 58 35 b1 7c d7 82 81 19 b9 3b | ...X.#k..j...%....,b=YX5.|.....; |
16240 | 85 02 b3 dc 05 79 87 82 c6 6c b0 ef 7f de 67 6d 61 69 30 35 bc 4d 94 cb 81 f4 ce b9 d7 8f a6 fd | .....y...l....gmai05.M.......... |
16260 | 3f ae 00 f9 97 15 1a ba ee 6c d7 9f 36 a1 2e 7e 81 19 61 2e 14 e2 14 d4 65 9c 66 93 0a 56 ac 4c | ?........l..6..~..a.....e.f..V.L |
16280 | 20 93 0f d7 11 45 18 b0 7a 95 dd 63 35 c2 80 60 6e 77 94 12 fe 2e 79 84 f4 86 40 be 5f b0 5d 1a | .....E..z..c5..`nw....y...@._.]. |
162a0 | 76 53 95 3d 3d 25 0a 1d 9d c0 65 24 c5 0e 14 32 d4 0c 69 75 8e f4 98 da 72 15 43 2e de 2a 56 11 | vS.==%....e$...2..iu....r.C..*V. |
162c0 | 8a cd c2 89 ee 27 e6 d4 36 a0 09 b6 fc cb ab 3f 5f bf f2 89 fd 6e fd 0f 6e 76 0f 82 3f 49 01 22 | .....'..6......?_....n..nv..?I." |
162e0 | 92 bd 7e 05 1b 3f df a6 3f d8 a9 6a 7d bb 9b a1 12 44 91 64 c8 65 33 9f c5 4b 80 81 81 38 7a fa | ..~..?..?..j}....D.d.e3..K...8z. |
16300 | e3 52 78 cf f7 e4 e4 4d 2a c1 88 87 85 d0 5c f7 57 72 7d 2f 9c 40 70 7c bb 78 10 76 ba e6 b2 87 | .Rx....M*.....\.Wr}/.@p|.x.v.... |
16320 | 12 48 4c 21 79 84 d8 11 6f a6 04 10 6b b2 14 16 7c 5f 49 92 74 65 e9 25 15 16 4b 8d 16 c9 9d 86 | .HL!y...o...k...|_I.te.%..K..... |
16340 | c5 dd 21 c9 fa fe 6f dc 3b ff eb dd ad 0f 8e 95 5f 7d 9f ec 9f aa 00 33 62 24 ad 0e 66 a5 4f 64 | ..!...o.;......._}.....3b$..f.Od |
16360 | b5 af 9e 96 d4 d7 ee 27 40 cc 7a 21 1d 56 e5 f2 9a 27 05 28 b0 f2 eb a3 12 f2 a4 cd 02 e4 7c d6 | .......'@.z!.V...'.(..........|. |
16380 | e0 c2 92 42 09 62 e8 a6 12 ed d0 0a 7b fd f3 4b ce 81 e4 0d aa 16 48 97 17 6e ae c9 b0 91 e9 44 | ...B.b......{..K......H..n.....D |
163a0 | 62 83 0c 15 a1 20 02 ac cf 7a de b5 9a d0 6d 0a 4f 46 dd 4e 65 ec 99 d0 f6 7f ee 31 fb 1f ee 79 | b........z....m.OF.Ne......1...y |
163c0 | de bb 6b be 8b 21 37 a1 05 af 45 01 02 37 f3 d1 1f 74 08 e4 eb 7e 7f c6 f8 e8 db f2 da 9b a7 08 | ..k..!7...E..7...t...~.......... |
163e0 | 60 23 ac bb 65 6c 8b a7 b9 61 a7 36 46 37 2c 74 18 e8 ec 8b 21 db a6 cb d8 f6 65 ab d9 93 f8 60 | `#..el...a.6F7,t....!.....e....` |
16400 | 88 b5 85 58 b8 9f 48 60 87 26 84 56 c3 71 3c 2d 8b da df 8b 3c 46 ae 21 a8 52 0c 47 f4 2e 38 a3 | ...X..H`.&.V.q<-....<F.!.R.G..8. |
16420 | a4 5f 93 3d cc a3 44 c5 7e a5 80 b1 62 a6 7c ca 8f 0e 5f cd ab 0f 47 f3 9d 89 46 e3 b5 2a c0 88 | ._.=..D.~...b.|..._...G...F..*.. |
16440 | 3c 40 fc c5 4b 21 ea 0c 9a e7 98 b8 e9 c3 1d fa 8d 9d ba 1a 3b c4 52 53 ec f4 d2 54 55 d6 e2 61 | <@..K!..............;.RS...TU..a |
16460 | f7 16 b2 4d 96 6b d3 58 18 19 12 1f 04 79 d2 b4 b0 a3 2b 4e 10 3c 41 53 43 57 d7 25 d0 05 d1 da | ...M.k.X.....y....+N.<ASCW.%.... |
16480 | 5f b8 fd 44 86 8d dc 95 22 64 15 37 74 d1 91 b1 e1 b0 5e 7a 6c a4 07 3b ca 4b b0 8e 1e 71 51 a7 | _..D...."d.7t.....^zl..;.K...qQ. |
164a0 | 8b b7 3f 7e f8 f3 0f 15 4b 62 d3 60 46 6c 7c e3 98 8e 8e cd d7 03 03 04 57 6d 8f 06 ab 14 51 73 | ..?~....Kb.`Fl|.........Wm....Qs |
164c0 | 41 2f 28 38 fb 8e 76 ed ba 8b b3 fa e2 32 2d 73 cc f2 c3 4d 54 b2 73 ed cb 85 09 b9 7c c7 3b 24 | A/(8..v......2-s...MT.s.....|.;$ |
164e0 | 18 9b e9 0c 4b e5 b4 46 30 63 2a 8d cf ed 2c f3 c3 3d 46 4a 98 e3 03 25 84 43 2f da 2a 23 f8 b5 | ....K..F0c*...,..=FJ...%.C/.*#.. |
16500 | 42 9e 20 b8 be 47 05 3f 35 de 8f fb 86 36 41 ec f2 b8 a9 7b 14 67 e6 8e e0 b3 fb 8a 77 7d fb f9 | B....G.?5....6A....{.g......w}.. |
16520 | c6 37 23 12 2e 88 7e 31 1a 55 59 4c bc 46 05 28 51 18 64 23 e1 db 17 1c 05 3d e9 3b 3f ae 5c f0 | .7#...~1.UYL.F.(Q.d#.....=.;?.\. |
16540 | ee 82 7e d6 9a a4 62 4c 32 04 66 ed 68 7b 9b 68 7d d1 c2 06 63 d6 14 ee 2e 2c 2d 3e 9b 62 89 2d | ..~...bL2.f.h{.h}...c....,->.b.- |
16560 | 08 bf 33 15 19 eb 22 0c 04 a8 7a a2 bb 14 ad 3e 8b 94 28 3a 3d 3a 47 92 48 34 5e 8d e1 09 7b 23 | ..3..."...z....>..(:=:G.H4^...{# |
16580 | 56 2e cb e1 4a e3 39 ec 3e 38 53 b9 fd 29 fc f0 a9 51 dc 1b b9 79 2d 12 5c b8 fe 6c b4 31 d5 7f | V...J.9.>8S..)...Q...y-.\..l.1.. |
165a0 | ad 0a 98 f3 82 58 e4 5e ed 0b 46 21 0a 8f 14 e7 b8 e6 ed 79 f5 ac 6b ba cc 55 03 19 15 25 5a 70 | .....X.^..F!.......y..k..U...%Zp |
165c0 | 86 b4 59 6c 8f 97 3c 40 2c 75 08 26 27 30 80 68 6e 08 0c 10 7c 47 14 54 cc f5 42 51 22 d8 02 b1 | ..Yl..<@,u.&'0.hn...|G.T..BQ"... |
165e0 | 00 2b b6 2c 09 c0 64 c8 e8 49 0d 49 86 4f ba 9d c0 9a e3 0f ad 3a f6 be 50 b5 be fc 04 9e fe df | .+.,..d..I.I.O.......:..P....... |
16600 | 87 f1 a0 dc 78 24 9b 06 52 e0 39 e1 cb 51 ec 7b af 47 16 78 a5 12 d2 91 d0 6d 91 02 e6 3c 42 78 | ....x$..R.9..Q.{.G.x.....m...<Bx |
16620 | 43 66 91 82 f5 54 c2 c9 17 f7 c5 97 af cc a9 32 76 67 45 0b 2a 45 40 a4 b5 dd a6 85 5a ad 25 d3 | Cf...T.........2vgE.*E@.....Z.%. |
16640 | 9f 68 a6 8a 30 c8 31 b7 67 32 9a 64 7a 4a 8c b1 4f 7e 6c ca 85 19 9d de a0 a3 c6 5a 61 70 d2 09 | .h..0.1.g2.dzJ..O~l........Zap.. |
16660 | b6 1e 68 8e 3e b0 b7 b1 ef a1 a2 5c d5 d9 1f c5 77 6b 81 cb 0b c1 2b d1 f7 ee 1f fd a3 b7 3f 53 | ..h.>......\....wk....+.......?S |
16680 | 01 73 1b e3 8c 08 03 32 11 da ce 0d a1 84 54 f4 7b 9a 5a 59 71 71 57 6c c3 5b 06 e2 6b 4e ee 89 | .s.....2......T.{.ZYqqWl.[..kN.. |
166a0 | e7 ea 15 17 bb ca 6e 6d 51 67 2c b9 34 a5 a8 49 23 dc 14 29 d2 ca 60 b1 e5 cc 40 b7 92 71 4d 6c | ......nmQg,.4..I#..)..`...@..qMl |
166c0 | 2f 91 4b 89 b3 8e df 18 aa f8 e5 a1 a2 53 da 73 ac 79 74 4f cd 19 a5 54 c3 62 03 6b 74 59 2b 12 | /.K..........S.s.ytO...T.b.ktY+. |
166e0 | 78 ce dd 2b 91 d5 ad 3f 66 f9 d7 a2 80 39 4c 98 f3 86 78 e4 11 99 c8 2b b2 d1 fb 64 a4 2c 71 4e | x..+...?f....9L...x....+...d.,qN |
16700 | d7 29 49 6d f5 5a 3d 58 76 a0 e2 57 f6 b1 9c 3f 29 a3 77 2c ce 98 ed eb 72 7a d7 ca 84 d2 f1 e2 | .)Im.Z=Xv..W...?).w,....rz...... |
16720 | 50 ad f9 af 33 de 73 cc 5f 83 51 cc da 91 15 6b 11 90 35 a2 ef ac e8 fb ea 02 6b 57 17 08 ee fc | P...3.s._.Q....k..5.......kW.... |
16740 | 59 7f f6 f8 17 2a 60 a1 22 e6 3c 22 16 85 40 ea 15 23 1e 29 4b bc 88 fb e8 88 12 b2 bd 80 63 a4 | Y....*`.".<"..@..#.)K.........c. |
16760 | a9 c1 38 8b 4d b7 e1 cb b4 d5 8a 7e 77 a3 61 47 df 09 21 eb af 18 ad 48 68 ef 2f f9 13 d2 d7 aa | ..8.M......~w.aG..!....Hh./..... |
16780 | 80 df a7 0c 3d 52 88 b1 c0 43 cc e8 bd 19 29 c3 8c 7e 57 8e ef 84 0d c7 dc 3d fc 48 a8 b9 61 2d | ....=R...C....)..~W......=.H..a- |
167a0 | 70 79 2b 52 c8 5f 2c f4 5f 4b 01 7f 48 29 73 42 45 4d 32 39 d4 05 bf 29 0b f6 5d fa 38 be 04 7b | py+R._,._K..H)sBEM29...)..].8..{ |
167c0 | fc b3 bf 40 50 ff 35 ff a1 f0 ef 51 c0 ff 13 60 00 4a bb 0a 21 a8 e7 97 01 00 00 00 00 49 45 4e | ...@P.5....Q...`.J..!........IEN |
167e0 | 44 ae 42 60 82 50 4b 03 04 14 00 00 00 00 00 f2 4b 18 3b b0 2a 2b ed bc 06 00 00 bc 06 00 00 1f | D.B`.PK.........K.;.*+.......... |
16800 | 00 00 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 61 62 6f 75 74 44 69 61 6c 6f 67 2e 78 | ...content/browser/aboutDialog.x |
16820 | 75 6c 3c 3f 78 6d 6c 20 76 65 72 73 69 6f 6e 3d 22 31 2e 30 22 3f 3e 20 3c 21 2d 2d 20 2d 2a 2d | ul<?xml.version="1.0"?>.<!--.-*- |
16840 | 20 4d 6f 64 65 3a 20 48 54 4d 4c 20 2d 2a 2d 20 2d 2d 3e 20 0a 0a 0a 3c 3f 78 6d 6c 2d 73 74 79 | .Mode:.HTML.-*-.-->....<?xml-sty |
16860 | 6c 65 73 68 65 65 74 20 68 72 65 66 3d 22 63 68 72 6f 6d 65 3a 2f 2f 67 6c 6f 62 61 6c 2f 73 6b | lesheet.href="chrome://global/sk |
16880 | 69 6e 2f 22 20 74 79 70 65 3d 22 74 65 78 74 2f 63 73 73 22 3f 3e 20 0a 3c 3f 78 6d 6c 2d 73 74 | in/".type="text/css"?>..<?xml-st |
168a0 | 79 6c 65 73 68 65 65 74 20 68 72 65 66 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f | ylesheet.href="chrome://browser/ |
168c0 | 63 6f 6e 74 65 6e 74 2f 61 62 6f 75 74 44 69 61 6c 6f 67 2e 63 73 73 22 20 74 79 70 65 3d 22 74 | content/aboutDialog.css".type="t |
168e0 | 65 78 74 2f 63 73 73 22 3f 3e 20 0a 0a 3c 21 44 4f 43 54 59 50 45 20 77 69 6e 64 6f 77 20 5b 0a | ext/css"?>...<!DOCTYPE.window.[. |
16900 | 3c 21 45 4e 54 49 54 59 20 25 20 62 72 61 6e 64 44 54 44 20 53 59 53 54 45 4d 20 22 63 68 72 6f | <!ENTITY.%.brandDTD.SYSTEM."chro |
16920 | 6d 65 3a 2f 2f 62 72 61 6e 64 69 6e 67 2f 6c 6f 63 61 6c 65 2f 62 72 61 6e 64 2e 64 74 64 22 20 | me://branding/locale/brand.dtd". |
16940 | 3e 0a 25 62 72 61 6e 64 44 54 44 3b 0a 3c 21 45 4e 54 49 54 59 20 25 20 61 62 6f 75 74 44 69 61 | >.%brandDTD;.<!ENTITY.%.aboutDia |
16960 | 6c 6f 67 44 54 44 20 53 59 53 54 45 4d 20 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f | logDTD.SYSTEM."chrome://browser/ |
16980 | 6c 6f 63 61 6c 65 2f 61 62 6f 75 74 44 69 61 6c 6f 67 2e 64 74 64 22 20 3e 0a 25 61 62 6f 75 74 | locale/aboutDialog.dtd".>.%about |
169a0 | 44 69 61 6c 6f 67 44 54 44 3b 0a 5d 3e 0a 0a 0a 3c 64 69 61 6c 6f 67 20 78 6d 6c 6e 73 3a 68 74 | DialogDTD;.]>...<dialog.xmlns:ht |
169c0 | 6d 6c 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e 77 33 2e 6f 72 67 2f 31 39 39 39 2f 78 68 74 6d 6c | ml="http://www.w3.org/1999/xhtml |
169e0 | 22 0a 20 20 20 20 20 20 20 20 78 6d 6c 6e 73 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 | ".........xmlns="http://www.mozi |
16a00 | 6c 6c 61 2e 6f 72 67 2f 6b 65 79 6d 61 73 74 65 72 2f 67 61 74 65 6b 65 65 70 65 72 2f 74 68 65 | lla.org/keymaster/gatekeeper/the |
16a20 | 72 65 2e 69 73 2e 6f 6e 6c 79 2e 78 75 6c 22 0a 20 20 20 20 20 20 20 20 69 64 3d 22 61 62 6f 75 | re.is.only.xul".........id="abou |
16a40 | 74 44 69 61 6c 6f 67 22 0a 20 20 20 20 20 20 20 20 77 69 6e 64 6f 77 74 79 70 65 3d 22 42 72 6f | tDialog".........windowtype="Bro |
16a60 | 77 73 65 72 3a 41 62 6f 75 74 22 0a 20 20 20 20 20 20 20 20 6f 6e 6c 6f 61 64 3d 22 69 6e 69 74 | wser:About".........onload="init |
16a80 | 28 65 76 65 6e 74 29 3b 22 20 6f 6e 75 6e 6c 6f 61 64 3d 22 75 6e 69 6e 69 74 28 65 76 65 6e 74 | (event);".onunload="uninit(event |
16aa0 | 29 3b 22 0a 20 20 20 20 20 20 20 20 74 69 74 6c 65 3d 22 26 61 62 6f 75 74 44 69 61 6c 6f 67 2e | );".........title="&aboutDialog. |
16ac0 | 74 69 74 6c 65 3b 22 0a 20 20 20 20 20 20 20 20 62 75 74 74 6f 6e 73 3d 22 61 63 63 65 70 74 2c | title;".........buttons="accept, |
16ae0 | 65 78 74 72 61 32 22 0a 20 20 20 20 20 20 20 20 62 75 74 74 6f 6e 6c 61 62 65 6c 61 63 63 65 70 | extra2".........buttonlabelaccep |
16b00 | 74 3d 22 26 63 6c 6f 73 65 43 6d 64 47 4e 4f 4d 45 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 | t="&closeCmdGNOME.label;"....... |
16b20 | 20 20 62 75 74 74 6f 6e 61 63 63 65 73 73 6b 65 79 61 63 63 65 70 74 3d 22 26 63 6c 6f 73 65 43 | ..buttonaccesskeyaccept="&closeC |
16b40 | 6d 64 47 4e 4f 4d 45 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 63 72 65 64 | mdGNOME.accesskey;".........cred |
16b60 | 69 74 73 6c 61 62 65 6c 3d 22 26 63 6f 70 79 72 69 67 68 74 3b 22 0a 20 20 20 20 20 20 20 20 63 | itslabel="©right;".........c |
16b80 | 72 65 64 69 74 73 61 63 63 65 73 73 6b 65 79 3d 22 26 63 6f 70 79 72 69 67 68 74 47 4e 4f 4d 45 | reditsaccesskey="©rightGNOME |
16ba0 | 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 61 62 6f 75 74 6c 61 62 65 6c 3d | .accesskey;".........aboutlabel= |
16bc0 | 22 26 61 62 6f 75 74 4c 69 6e 6b 3b 22 0a 20 20 20 20 20 20 20 20 61 62 6f 75 74 61 63 63 65 73 | "&aboutLink;".........aboutacces |
16be0 | 73 6b 65 79 3d 22 26 61 62 6f 75 74 4c 69 6e 6b 2e 61 63 63 65 73 73 6b 65 79 3b 22 3e 0a 20 20 | skey="&aboutLink.accesskey;">... |
16c00 | 20 20 0a 20 20 3c 73 63 72 69 70 74 20 74 79 70 65 3d 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f 78 | .....<script.type="application/x |
16c20 | 2d 6a 61 76 61 73 63 72 69 70 74 22 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 | -javascript".src="chrome://brows |
16c40 | 65 72 2f 63 6f 6e 74 65 6e 74 2f 61 62 6f 75 74 44 69 61 6c 6f 67 2e 6a 73 22 2f 3e 0a 0a 20 20 | er/content/aboutDialog.js"/>.... |
16c60 | 3c 64 65 63 6b 20 69 64 3d 22 6d 6f 64 65 73 22 20 66 6c 65 78 3d 22 31 22 3e 0a 20 20 20 20 3c | <deck.id="modes".flex="1">.....< |
16c80 | 76 62 6f 78 20 66 6c 65 78 3d 22 31 22 20 69 64 3d 22 63 6c 69 65 6e 74 42 6f 78 22 3e 0a 3c 6c | vbox.flex="1".id="clientBox">.<l |
16ca0 | 61 62 65 6c 20 69 64 3d 22 76 65 72 73 69 6f 6e 22 20 76 61 6c 75 65 3d 22 26 61 62 6f 75 74 56 | abel.id="version".value="&aboutV |
16cc0 | 65 72 73 69 6f 6e 3b 20 33 2e 35 2e 33 22 2f 3e 0a 20 20 20 20 20 20 3c 6c 61 62 65 6c 20 69 64 | ersion;.3.5.3"/>.......<label.id |
16ce0 | 3d 22 64 69 73 74 72 69 62 75 74 69 6f 6e 22 2f 3e 0a 20 20 20 20 20 20 3c 6c 61 62 65 6c 20 69 | ="distribution"/>.......<label.i |
16d00 | 64 3d 22 64 69 73 74 72 69 62 75 74 69 6f 6e 49 64 22 2f 3e 0a 20 20 20 20 20 20 3c 64 65 73 63 | d="distributionId"/>.......<desc |
16d20 | 72 69 70 74 69 6f 6e 20 69 64 3d 22 63 6f 70 79 72 69 67 68 74 22 3e 0a 20 20 20 20 20 20 20 20 | ription.id="copyright">......... |
16d40 | 26 63 6f 70 79 72 69 67 68 74 49 6e 66 6f 31 3b 3c 6c 61 62 65 6c 20 0a 20 20 20 20 20 20 20 20 | ©rightInfo1;<label.......... |
16d60 | 63 6c 61 73 73 3d 22 74 65 78 74 2d 6c 69 6e 6b 22 20 68 72 65 66 3d 22 26 6c 69 63 65 6e 73 65 | class="text-link".href="&license |
16d80 | 4c 69 6e 6b 3b 22 0a 20 20 20 20 20 20 20 20 3e 26 6c 69 63 65 6e 73 65 4c 69 6e 6b 54 65 78 74 | Link;".........>&licenseLinkText |
16da0 | 3b 3c 2f 6c 61 62 65 6c 3e 26 63 6f 70 79 72 69 67 68 74 49 6e 66 6f 32 3b 0a 20 20 20 20 20 20 | ;</label>©rightInfo2;....... |
16dc0 | 20 20 26 6c 6f 67 6f 43 6f 70 79 72 69 67 68 74 3b 0a 20 20 20 20 20 20 3c 2f 64 65 73 63 72 69 | ..&logoCopyright;.......</descri |
16de0 | 70 74 69 6f 6e 3e 0a 20 20 20 20 20 20 3c 74 65 78 74 62 6f 78 20 69 64 3d 22 75 73 65 72 41 67 | ption>.......<textbox.id="userAg |
16e00 | 65 6e 74 22 20 6d 75 6c 74 69 6c 69 6e 65 3d 22 74 72 75 65 22 20 72 65 61 64 6f 6e 6c 79 3d 22 | ent".multiline="true".readonly=" |
16e20 | 74 72 75 65 22 20 66 6c 65 78 3d 22 31 22 2f 3e 0a 20 20 20 20 3c 2f 76 62 6f 78 3e 0a 20 20 20 | true".flex="1"/>.....</vbox>.... |
16e40 | 20 3c 76 62 6f 78 20 66 6c 65 78 3d 22 31 22 20 69 64 3d 22 63 72 65 64 69 74 73 42 6f 78 22 3e | .<vbox.flex="1".id="creditsBox"> |
16e60 | 0a 20 20 20 20 20 20 3c 69 66 72 61 6d 65 20 69 64 3d 22 63 72 65 64 69 74 73 49 66 72 61 6d 65 | .......<iframe.id="creditsIframe |
16e80 | 22 20 66 6c 65 78 3d 22 31 22 2f 3e 0a 20 20 20 20 3c 2f 76 62 6f 78 3e 20 20 20 20 0a 20 20 3c | ".flex="1"/>.....</vbox>.......< |
16ea0 | 2f 64 65 63 6b 3e 0a 20 20 3c 73 65 70 61 72 61 74 6f 72 20 63 6c 61 73 73 3d 22 67 72 6f 6f 76 | /deck>...<separator.class="groov |
16ec0 | 65 22 20 69 64 3d 22 67 72 6f 6f 76 65 22 2f 3e 0a 0a 0a 3c 2f 64 69 61 6c 6f 67 3e 0a 0a 50 4b | e".id="groove"/>...</dialog>..PK |
16ee0 | 03 04 14 00 00 00 00 00 f2 4b 18 3b f1 42 5a 7d ec 0a 00 00 ec 0a 00 00 1e 00 00 00 63 6f 6e 74 | .........K.;.BZ}............cont |
16f00 | 65 6e 74 2f 62 72 6f 77 73 65 72 2f 61 62 6f 75 74 44 69 61 6c 6f 67 2e 6a 73 2f 2f 40 6c 69 6e | ent/browser/aboutDialog.js//@lin |
16f20 | 65 20 33 37 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 | e.37."/builds/moz2_slave/linux_b |
16f40 | 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 62 61 73 65 2f 63 6f 6e 74 65 6e 74 2f | uild/build/browser/base/content/ |
16f60 | 61 62 6f 75 74 44 69 61 6c 6f 67 2e 6a 73 22 0a 0a 76 61 72 20 67 53 65 6c 65 63 74 65 64 50 61 | aboutDialog.js"..var.gSelectedPa |
16f80 | 67 65 20 3d 20 30 3b 0a 0a 66 75 6e 63 74 69 6f 6e 20 69 6e 69 74 28 61 45 76 65 6e 74 29 20 0a | ge.=.0;..function.init(aEvent).. |
16fa0 | 7b 0a 20 20 69 66 20 28 61 45 76 65 6e 74 2e 74 61 72 67 65 74 20 21 3d 20 64 6f 63 75 6d 65 6e | {...if.(aEvent.target.!=.documen |
16fc0 | 74 29 0a 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 76 61 72 20 70 72 65 66 73 20 3d 20 43 6f | t).....return;....var.prefs.=.Co |
16fe0 | 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 70 | mponents.classes["@mozilla.org/p |
17000 | 72 65 66 65 72 65 6e 63 65 73 2d 73 65 72 76 69 63 65 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 | references-service;1"].......... |
17020 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f | ................getService(Compo |
17040 | 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 50 72 65 66 42 72 61 6e 63 68 29 3b | nents.interfaces.nsIPrefBranch); |
17060 | 0a 0a 20 20 74 72 79 20 7b 0a 20 20 20 20 76 61 72 20 64 69 73 74 72 6f 49 64 20 3d 20 70 72 65 | ....try.{.....var.distroId.=.pre |
17080 | 66 73 2e 67 65 74 43 68 61 72 50 72 65 66 28 22 64 69 73 74 72 69 62 75 74 69 6f 6e 2e 69 64 22 | fs.getCharPref("distribution.id" |
170a0 | 29 3b 0a 20 20 20 20 69 66 20 28 64 69 73 74 72 6f 49 64 29 20 7b 0a 20 20 20 20 20 20 76 61 72 | );.....if.(distroId).{.......var |
170c0 | 20 64 69 73 74 72 6f 56 65 72 73 69 6f 6e 20 3d 20 70 72 65 66 73 2e 67 65 74 43 68 61 72 50 72 | .distroVersion.=.prefs.getCharPr |
170e0 | 65 66 28 22 64 69 73 74 72 69 62 75 74 69 6f 6e 2e 76 65 72 73 69 6f 6e 22 29 3b 0a 20 20 20 20 | ef("distribution.version");..... |
17100 | 20 20 76 61 72 20 64 69 73 74 72 6f 41 62 6f 75 74 20 3d 20 70 72 65 66 73 2e 67 65 74 43 6f 6d | ..var.distroAbout.=.prefs.getCom |
17120 | 70 6c 65 78 56 61 6c 75 65 28 22 64 69 73 74 72 69 62 75 74 69 6f 6e 2e 61 62 6f 75 74 22 2c 0a | plexValue("distribution.about",. |
17140 | 20 20 20 20 20 20 20 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 | ........Components.interfaces.ns |
17160 | 49 53 75 70 70 6f 72 74 73 53 74 72 69 6e 67 29 3b 0a 20 20 0a 20 20 20 20 20 20 76 61 72 20 64 | ISupportsString);..........var.d |
17180 | 69 73 74 72 6f 46 69 65 6c 64 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 | istroField.=.document.getElement |
171a0 | 42 79 49 64 28 22 64 69 73 74 72 69 62 75 74 69 6f 6e 22 29 3b 0a 20 20 20 20 20 20 64 69 73 74 | ById("distribution");.......dist |
171c0 | 72 6f 46 69 65 6c 64 2e 76 61 6c 75 65 20 3d 20 64 69 73 74 72 6f 41 62 6f 75 74 3b 0a 20 20 20 | roField.value.=.distroAbout;.... |
171e0 | 20 20 20 64 69 73 74 72 6f 46 69 65 6c 64 2e 73 74 79 6c 65 2e 64 69 73 70 6c 61 79 20 3d 20 22 | ...distroField.style.display.=." |
17200 | 62 6c 6f 63 6b 22 3b 0a 20 20 20 20 0a 20 20 20 20 20 20 76 61 72 20 64 69 73 74 72 6f 49 64 46 | block";............var.distroIdF |
17220 | 69 65 6c 64 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 | ield.=.document.getElementById(" |
17240 | 64 69 73 74 72 69 62 75 74 69 6f 6e 49 64 22 29 3b 0a 20 20 20 20 20 20 64 69 73 74 72 6f 49 64 | distributionId");.......distroId |
17260 | 46 69 65 6c 64 2e 76 61 6c 75 65 20 3d 20 64 69 73 74 72 6f 49 64 20 2b 20 22 20 2d 20 22 20 2b | Field.value.=.distroId.+.".-.".+ |
17280 | 20 64 69 73 74 72 6f 56 65 72 73 69 6f 6e 3b 0a 20 20 20 20 20 20 64 69 73 74 72 6f 49 64 46 69 | .distroVersion;.......distroIdFi |
172a0 | 65 6c 64 2e 73 74 79 6c 65 2e 64 69 73 70 6c 61 79 20 3d 20 22 62 6c 6f 63 6b 22 3b 0a 20 20 20 | eld.style.display.=."block";.... |
172c0 | 20 7d 0a 20 20 7d 0a 20 20 63 61 74 63 68 20 28 65 29 20 7b 0a 20 20 20 20 2f 2f 20 50 72 65 66 | .}...}...catch.(e).{.....//.Pref |
172e0 | 20 69 73 20 75 6e 73 65 74 0a 20 20 7d 0a 0a 20 20 76 61 72 20 75 73 65 72 41 67 65 6e 74 46 69 | .is.unset...}....var.userAgentFi |
17300 | 65 6c 64 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 75 | eld.=.document.getElementById("u |
17320 | 73 65 72 41 67 65 6e 74 22 29 3b 0a 20 20 75 73 65 72 41 67 65 6e 74 46 69 65 6c 64 2e 76 61 6c | serAgent");...userAgentField.val |
17340 | 75 65 20 3d 20 6e 61 76 69 67 61 74 6f 72 2e 75 73 65 72 41 67 65 6e 74 3b 0a 0a 20 20 76 61 72 | ue.=.navigator.userAgent;....var |
17360 | 20 62 75 74 74 6f 6e 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 64 6f 63 75 6d 65 6e 74 45 6c 65 6d 65 | .button.=.document.documentEleme |
17380 | 6e 74 2e 67 65 74 42 75 74 74 6f 6e 28 22 65 78 74 72 61 32 22 29 3b 0a 20 20 62 75 74 74 6f 6e | nt.getButton("extra2");...button |
173a0 | 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 6c 61 62 65 6c 22 2c 20 64 6f 63 75 6d 65 6e 74 2e | .setAttribute("label",.document. |
173c0 | 64 6f 63 75 6d 65 6e 74 45 6c 65 6d 65 6e 74 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 63 72 | documentElement.getAttribute("cr |
173e0 | 65 64 69 74 73 6c 61 62 65 6c 22 29 29 3b 0a 20 20 62 75 74 74 6f 6e 2e 73 65 74 41 74 74 72 69 | editslabel"));...button.setAttri |
17400 | 62 75 74 65 28 22 61 63 63 65 73 73 6b 65 79 22 2c 20 64 6f 63 75 6d 65 6e 74 2e 64 6f 63 75 6d | bute("accesskey",.document.docum |
17420 | 65 6e 74 45 6c 65 6d 65 6e 74 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 63 72 65 64 69 74 73 | entElement.getAttribute("credits |
17440 | 61 63 63 65 73 73 6b 65 79 22 29 29 3b 0a 20 20 62 75 74 74 6f 6e 2e 61 64 64 45 76 65 6e 74 4c | accesskey"));...button.addEventL |
17460 | 69 73 74 65 6e 65 72 28 22 63 6f 6d 6d 61 6e 64 22 2c 20 73 77 69 74 63 68 50 61 67 65 2c 20 66 | istener("command",.switchPage,.f |
17480 | 61 6c 73 65 29 3b 0a 0a 20 20 76 61 72 20 61 63 63 65 70 74 42 75 74 74 6f 6e 20 3d 20 64 6f 63 | alse);....var.acceptButton.=.doc |
174a0 | 75 6d 65 6e 74 2e 64 6f 63 75 6d 65 6e 74 45 6c 65 6d 65 6e 74 2e 67 65 74 42 75 74 74 6f 6e 28 | ument.documentElement.getButton( |
174c0 | 22 61 63 63 65 70 74 22 29 3b 0a 2f 2f 40 6c 69 6e 65 20 37 38 20 22 2f 62 75 69 6c 64 73 2f 6d | "accept");.//@line.78."/builds/m |
174e0 | 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 | oz2_slave/linux_build/build/brow |
17500 | 73 65 72 2f 62 61 73 65 2f 63 6f 6e 74 65 6e 74 2f 61 62 6f 75 74 44 69 61 6c 6f 67 2e 6a 73 22 | ser/base/content/aboutDialog.js" |
17520 | 0a 20 20 61 63 63 65 70 74 42 75 74 74 6f 6e 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 69 63 | ...acceptButton.setAttribute("ic |
17540 | 6f 6e 22 2c 20 22 63 6c 6f 73 65 22 29 3b 0a 2f 2f 40 6c 69 6e 65 20 38 30 20 22 2f 62 75 69 6c | on",."close");.//@line.80."/buil |
17560 | 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f | ds/moz2_slave/linux_build/build/ |
17580 | 62 72 6f 77 73 65 72 2f 62 61 73 65 2f 63 6f 6e 74 65 6e 74 2f 61 62 6f 75 74 44 69 61 6c 6f 67 | browser/base/content/aboutDialog |
175a0 | 2e 6a 73 22 0a 20 20 61 63 63 65 70 74 42 75 74 74 6f 6e 2e 66 6f 63 75 73 28 29 3b 0a 0a 2f 2f | .js"...acceptButton.focus();..// |
175c0 | 40 6c 69 6e 65 20 38 37 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e | @line.87."/builds/moz2_slave/lin |
175e0 | 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 62 61 73 65 2f 63 6f 6e 74 | ux_build/build/browser/base/cont |
17600 | 65 6e 74 2f 61 62 6f 75 74 44 69 61 6c 6f 67 2e 6a 73 22 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 | ent/aboutDialog.js".}..function. |
17620 | 75 6e 69 6e 69 74 28 61 45 76 65 6e 74 29 0a 7b 0a 20 20 69 66 20 28 61 45 76 65 6e 74 2e 74 61 | uninit(aEvent).{...if.(aEvent.ta |
17640 | 72 67 65 74 20 21 3d 20 64 6f 63 75 6d 65 6e 74 29 0a 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 | rget.!=.document).....return;... |
17660 | 76 61 72 20 69 66 72 61 6d 65 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 | var.iframe.=.document.getElement |
17680 | 42 79 49 64 28 22 63 72 65 64 69 74 73 49 66 72 61 6d 65 22 29 3b 0a 20 20 69 66 72 61 6d 65 2e | ById("creditsIframe");...iframe. |
176a0 | 73 65 74 41 74 74 72 69 62 75 74 65 28 22 73 72 63 22 2c 20 22 22 29 3b 0a 7d 0a 0a 66 75 6e 63 | setAttribute("src",."");.}..func |
176c0 | 74 69 6f 6e 20 73 77 69 74 63 68 50 61 67 65 28 61 45 76 65 6e 74 29 0a 7b 0a 20 20 76 61 72 20 | tion.switchPage(aEvent).{...var. |
176e0 | 62 75 74 74 6f 6e 20 3d 20 61 45 76 65 6e 74 2e 74 61 72 67 65 74 3b 0a 20 20 69 66 20 28 62 75 | button.=.aEvent.target;...if.(bu |
17700 | 74 74 6f 6e 2e 6c 6f 63 61 6c 4e 61 6d 65 20 21 3d 20 22 62 75 74 74 6f 6e 22 29 0a 20 20 20 20 | tton.localName.!=."button")..... |
17720 | 72 65 74 75 72 6e 3b 0a 0a 20 20 76 61 72 20 69 66 72 61 6d 65 20 3d 20 64 6f 63 75 6d 65 6e 74 | return;....var.iframe.=.document |
17740 | 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 63 72 65 64 69 74 73 49 66 72 61 6d 65 22 29 | .getElementById("creditsIframe") |
17760 | 3b 0a 20 20 69 66 20 28 67 53 65 6c 65 63 74 65 64 50 61 67 65 20 3d 3d 20 30 29 20 7b 20 0a 20 | ;...if.(gSelectedPage.==.0).{... |
17780 | 20 20 20 69 66 72 61 6d 65 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 73 72 63 22 2c 20 22 63 | ...iframe.setAttribute("src",."c |
177a0 | 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 63 72 65 64 69 74 73 2e | hrome://browser/content/credits. |
177c0 | 78 68 74 6d 6c 22 29 3b 0a 20 20 20 20 62 75 74 74 6f 6e 2e 73 65 74 41 74 74 72 69 62 75 74 65 | xhtml");.....button.setAttribute |
177e0 | 28 22 6c 61 62 65 6c 22 2c 20 64 6f 63 75 6d 65 6e 74 2e 64 6f 63 75 6d 65 6e 74 45 6c 65 6d 65 | ("label",.document.documentEleme |
17800 | 6e 74 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 61 62 6f 75 74 6c 61 62 65 6c 22 29 29 3b 0a | nt.getAttribute("aboutlabel"));. |
17820 | 20 20 20 20 62 75 74 74 6f 6e 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 61 63 63 65 73 73 6b | ....button.setAttribute("accessk |
17840 | 65 79 22 2c 20 64 6f 63 75 6d 65 6e 74 2e 64 6f 63 75 6d 65 6e 74 45 6c 65 6d 65 6e 74 2e 67 65 | ey",.document.documentElement.ge |
17860 | 74 41 74 74 72 69 62 75 74 65 28 22 61 62 6f 75 74 61 63 63 65 73 73 6b 65 79 22 29 29 3b 0a 20 | tAttribute("aboutaccesskey"));.. |
17880 | 20 20 20 67 53 65 6c 65 63 74 65 64 50 61 67 65 20 3d 20 31 3b 0a 20 20 7d 0a 20 20 65 6c 73 65 | ...gSelectedPage.=.1;...}...else |
178a0 | 20 7b 0a 20 20 20 20 69 66 72 61 6d 65 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 73 72 63 22 | .{.....iframe.setAttribute("src" |
178c0 | 2c 20 22 22 29 3b 20 0a 20 20 20 20 62 75 74 74 6f 6e 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 | ,."");......button.setAttribute( |
178e0 | 22 6c 61 62 65 6c 22 2c 20 64 6f 63 75 6d 65 6e 74 2e 64 6f 63 75 6d 65 6e 74 45 6c 65 6d 65 6e | "label",.document.documentElemen |
17900 | 74 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 63 72 65 64 69 74 73 6c 61 62 65 6c 22 29 29 3b | t.getAttribute("creditslabel")); |
17920 | 0a 20 20 20 20 62 75 74 74 6f 6e 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 61 63 63 65 73 73 | .....button.setAttribute("access |
17940 | 6b 65 79 22 2c 20 64 6f 63 75 6d 65 6e 74 2e 64 6f 63 75 6d 65 6e 74 45 6c 65 6d 65 6e 74 2e 67 | key",.document.documentElement.g |
17960 | 65 74 41 74 74 72 69 62 75 74 65 28 22 63 72 65 64 69 74 73 61 63 63 65 73 73 6b 65 79 22 29 29 | etAttribute("creditsaccesskey")) |
17980 | 3b 0a 20 20 20 20 67 53 65 6c 65 63 74 65 64 50 61 67 65 20 3d 20 30 3b 0a 20 20 7d 0a 20 20 76 | ;.....gSelectedPage.=.0;...}...v |
179a0 | 61 72 20 6d 6f 64 65 73 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 | ar.modes.=.document.getElementBy |
179c0 | 49 64 28 22 6d 6f 64 65 73 22 29 3b 0a 20 20 6d 6f 64 65 73 2e 73 65 74 41 74 74 72 69 62 75 74 | Id("modes");...modes.setAttribut |
179e0 | 65 28 22 73 65 6c 65 63 74 65 64 49 6e 64 65 78 22 2c 20 67 53 65 6c 65 63 74 65 64 50 61 67 65 | e("selectedIndex",.gSelectedPage |
17a00 | 29 3b 0a 7d 0a 0a 50 4b 03 04 14 00 00 00 00 00 f2 4b 18 3b ce 86 34 63 3e 06 00 00 3e 06 00 00 | );.}..PK.........K.;..4c>...>... |
17a20 | 1f 00 00 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 61 62 6f 75 74 44 69 61 6c 6f 67 2e | ....content/browser/aboutDialog. |
17a40 | 63 73 73 23 61 62 6f 75 74 44 69 61 6c 6f 67 20 7b 0a 20 20 70 61 64 64 69 6e 67 2d 74 6f 70 3a | css#aboutDialog.{...padding-top: |
17a60 | 20 30 3b 0a 20 20 2d 6d 6f 7a 2d 70 61 64 64 69 6e 67 2d 65 6e 64 3a 20 30 3b 0a 20 20 70 61 64 | .0;...-moz-padding-end:.0;...pad |
17a80 | 64 69 6e 67 2d 62 6f 74 74 6f 6d 3a 20 31 30 70 78 3b 0a 20 20 2d 6d 6f 7a 2d 70 61 64 64 69 6e | ding-bottom:.10px;...-moz-paddin |
17aa0 | 67 2d 73 74 61 72 74 3a 20 30 3b 0a 20 20 77 69 64 74 68 3a 20 32 39 39 70 78 3b 0a 7d 0a 0a 23 | g-start:.0;...width:.299px;.}..# |
17ac0 | 6d 6f 64 65 73 20 7b 0a 20 20 6d 69 6e 2d 68 65 69 67 68 74 3a 20 34 30 30 70 78 3b 0a 7d 0a 0a | modes.{...min-height:.400px;.}.. |
17ae0 | 23 63 6c 69 65 6e 74 42 6f 78 20 7b 0a 20 20 62 61 63 6b 67 72 6f 75 6e 64 2d 69 6d 61 67 65 3a | #clientBox.{...background-image: |
17b00 | 20 75 72 6c 28 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 61 6e 64 69 6e 67 2f 63 6f 6e 74 65 6e 74 2f | .url("chrome://branding/content/ |
17b20 | 61 62 6f 75 74 2e 70 6e 67 22 29 3b 0a 20 20 62 61 63 6b 67 72 6f 75 6e 64 2d 72 65 70 65 61 74 | about.png");...background-repeat |
17b40 | 3a 20 6e 6f 2d 72 65 70 65 61 74 3b 0a 20 20 62 61 63 6b 67 72 6f 75 6e 64 2d 63 6f 6c 6f 72 3a | :.no-repeat;...background-color: |
17b60 | 20 23 46 46 46 46 46 46 3b 0a 20 20 70 61 64 64 69 6e 67 2d 74 6f 70 3a 20 32 30 33 70 78 3b 0a | .#FFFFFF;...padding-top:.203px;. |
17b80 | 20 20 63 6f 6c 6f 72 3a 20 23 30 30 30 30 30 30 3b 0a 7d 0a 0a 23 62 72 61 6e 64 4e 61 6d 65 20 | ..color:.#000000;.}..#brandName. |
17ba0 | 7b 0a 20 20 66 6f 6e 74 2d 77 65 69 67 68 74 3a 20 62 6f 6c 64 3b 20 66 6f 6e 74 2d 73 69 7a 65 | {...font-weight:.bold;.font-size |
17bc0 | 3a 20 6c 61 72 67 65 72 3b 0a 7d 20 0a 0a 23 75 73 65 72 41 67 65 6e 74 20 7b 0a 20 20 64 69 72 | :.larger;.}...#userAgent.{...dir |
17be0 | 65 63 74 69 6f 6e 3a 20 6c 74 72 3b 0a 20 20 6d 61 72 67 69 6e 2d 74 6f 70 3a 20 31 30 70 78 3b | ection:.ltr;...margin-top:.10px; |
17c00 | 0a 20 20 2d 6d 6f 7a 2d 6d 61 72 67 69 6e 2d 65 6e 64 3a 20 31 33 70 78 3b 0a 20 20 6d 61 72 67 | ...-moz-margin-end:.13px;...marg |
17c20 | 69 6e 2d 62 6f 74 74 6f 6d 3a 20 30 3b 0a 20 20 2d 6d 6f 7a 2d 6d 61 72 67 69 6e 2d 73 74 61 72 | in-bottom:.0;...-moz-margin-star |
17c40 | 74 3a 20 31 33 70 78 3b 0a 20 20 62 61 63 6b 67 72 6f 75 6e 64 2d 63 6f 6c 6f 72 3a 20 23 46 46 | t:.13px;...background-color:.#FF |
17c60 | 46 46 46 46 3b 0a 20 20 63 6f 6c 6f 72 3a 20 23 30 30 30 30 30 30 3b 0a 20 20 70 61 64 64 69 6e | FFFF;...color:.#000000;...paddin |
17c80 | 67 2d 74 6f 70 3a 20 31 70 78 3b 0a 20 20 2d 6d 6f 7a 2d 70 61 64 64 69 6e 67 2d 65 6e 64 3a 20 | g-top:.1px;...-moz-padding-end:. |
17ca0 | 31 70 78 3b 0a 20 20 70 61 64 64 69 6e 67 2d 62 6f 74 74 6f 6d 3a 20 31 70 78 3b 0a 20 20 2d 6d | 1px;...padding-bottom:.1px;...-m |
17cc0 | 6f 7a 2d 70 61 64 64 69 6e 67 2d 73 74 61 72 74 3a 20 33 70 78 3b 0a 20 20 2d 6d 6f 7a 2d 61 70 | oz-padding-start:.3px;...-moz-ap |
17ce0 | 70 65 61 72 61 6e 63 65 3a 20 6e 6f 6e 65 3b 0a 20 20 6f 76 65 72 66 6c 6f 77 3a 20 68 69 64 64 | pearance:.none;...overflow:.hidd |
17d00 | 65 6e 3b 0a 20 20 62 6f 72 64 65 72 3a 20 30 3b 0a 7d 0a 0a 23 67 72 6f 6f 76 65 20 7b 0a 20 20 | en;...border:.0;.}..#groove.{... |
17d20 | 6d 61 72 67 69 6e 2d 74 6f 70 3a 20 30 3b 0a 7d 0a 0a 23 63 72 65 64 69 74 73 49 66 72 61 6d 65 | margin-top:.0;.}..#creditsIframe |
17d40 | 20 7b 0a 20 20 63 75 72 73 6f 72 3a 20 64 65 66 61 75 6c 74 3b 0a 20 20 2d 6d 6f 7a 2d 75 73 65 | .{...cursor:.default;...-moz-use |
17d60 | 72 2d 73 65 6c 65 63 74 3a 20 6e 6f 6e 65 3b 0a 20 20 62 6f 72 64 65 72 3a 20 30 3b 0a 7d 0a 0a | r-select:.none;...border:.0;.}.. |
17d80 | 23 76 65 72 73 69 6f 6e 20 7b 0a 20 20 66 6f 6e 74 2d 77 65 69 67 68 74 3a 20 62 6f 6c 64 3b 0a | #version.{...font-weight:.bold;. |
17da0 | 20 20 63 6f 6c 6f 72 3a 20 23 39 30 39 30 39 30 3b 0a 20 20 6d 61 72 67 69 6e 2d 74 6f 70 3a 20 | ..color:.#909090;...margin-top:. |
17dc0 | 31 65 6d 3b 0a 20 20 2d 6d 6f 7a 2d 6d 61 72 67 69 6e 2d 65 6e 64 3a 20 30 3b 0a 20 20 6d 61 72 | 1em;...-moz-margin-end:.0;...mar |
17de0 | 67 69 6e 2d 62 6f 74 74 6f 6d 3a 20 31 30 70 78 3b 0a 20 20 2d 6d 6f 7a 2d 6d 61 72 67 69 6e 2d | gin-bottom:.10px;...-moz-margin- |
17e00 | 73 74 61 72 74 3a 20 31 37 70 78 3b 0a 7d 0a 0a 23 64 69 73 74 72 69 62 75 74 69 6f 6e 20 7b 0a | start:.17px;.}..#distribution.{. |
17e20 | 20 20 66 6f 6e 74 2d 77 65 69 67 68 74 3a 20 62 6f 6c 64 3b 0a 20 20 63 6f 6c 6f 72 3a 20 23 39 | ..font-weight:.bold;...color:.#9 |
17e40 | 30 39 30 39 30 3b 0a 20 20 64 69 73 70 6c 61 79 3a 20 6e 6f 6e 65 3b 0a 20 20 6d 61 72 67 69 6e | 09090;...display:.none;...margin |
17e60 | 2d 74 6f 70 3a 20 30 3b 0a 20 20 2d 6d 6f 7a 2d 6d 61 72 67 69 6e 2d 65 6e 64 3a 20 30 3b 0a 20 | -top:.0;...-moz-margin-end:.0;.. |
17e80 | 20 6d 61 72 67 69 6e 2d 62 6f 74 74 6f 6d 3a 20 30 3b 0a 20 20 2d 6d 6f 7a 2d 6d 61 72 67 69 6e | .margin-bottom:.0;...-moz-margin |
17ea0 | 2d 73 74 61 72 74 3a 20 31 37 70 78 3b 0a 7d 0a 0a 23 64 69 73 74 72 69 62 75 74 69 6f 6e 49 64 | -start:.17px;.}..#distributionId |
17ec0 | 20 7b 0a 20 20 66 6f 6e 74 2d 77 65 69 67 68 74 3a 20 62 6f 6c 64 3b 0a 20 20 63 6f 6c 6f 72 3a | .{...font-weight:.bold;...color: |
17ee0 | 20 23 39 30 39 30 39 30 3b 0a 20 20 64 69 73 70 6c 61 79 3a 20 6e 6f 6e 65 3b 0a 20 20 6d 61 72 | .#909090;...display:.none;...mar |
17f00 | 67 69 6e 2d 74 6f 70 3a 20 30 3b 0a 20 20 2d 6d 6f 7a 2d 6d 61 72 67 69 6e 2d 65 6e 64 3a 20 30 | gin-top:.0;...-moz-margin-end:.0 |
17f20 | 3b 0a 20 20 6d 61 72 67 69 6e 2d 62 6f 74 74 6f 6d 3a 20 31 30 70 78 3b 0a 20 20 2d 6d 6f 7a 2d | ;...margin-bottom:.10px;...-moz- |
17f40 | 6d 61 72 67 69 6e 2d 73 74 61 72 74 3a 20 31 37 70 78 3b 0a 7d 0a 0a 23 63 6f 70 79 72 69 67 68 | margin-start:.17px;.}..#copyrigh |
17f60 | 74 20 7b 0a 20 20 6d 61 72 67 69 6e 2d 74 6f 70 3a 20 30 3b 0a 20 20 2d 6d 6f 7a 2d 6d 61 72 67 | t.{...margin-top:.0;...-moz-marg |
17f80 | 69 6e 2d 65 6e 64 3a 20 31 36 70 78 3b 0a 20 20 6d 61 72 67 69 6e 2d 62 6f 74 74 6f 6d 3a 20 33 | in-end:.16px;...margin-bottom:.3 |
17fa0 | 70 78 3b 0a 20 20 2d 6d 6f 7a 2d 6d 61 72 67 69 6e 2d 73 74 61 72 74 3a 20 31 36 70 78 3b 0a 7d | px;...-moz-margin-start:.16px;.} |
17fc0 | 0a 0a 62 75 74 74 6f 6e 5b 64 6c 67 74 79 70 65 3d 22 65 78 74 72 61 32 22 5d 20 7b 0a 20 20 2d | ..button[dlgtype="extra2"].{...- |
17fe0 | 6d 6f 7a 2d 6d 61 72 67 69 6e 2d 73 74 61 72 74 3a 20 31 33 70 78 3b 0a 7d 0a 0a 62 75 74 74 6f | moz-margin-start:.13px;.}..butto |
18000 | 6e 5b 64 6c 67 74 79 70 65 3d 22 61 63 63 65 70 74 22 5d 20 7b 0a 20 20 2d 6d 6f 7a 2d 6d 61 72 | n[dlgtype="accept"].{...-moz-mar |
18020 | 67 69 6e 2d 65 6e 64 3a 20 31 33 70 78 3b 0a 7d 0a 0a 2e 74 65 78 74 2d 6c 69 6e 6b 2c 0a 2e 74 | gin-end:.13px;.}...text-link,..t |
18040 | 65 78 74 2d 6c 69 6e 6b 3a 66 6f 63 75 73 20 7b 0a 20 20 6d 61 72 67 69 6e 3a 20 30 70 78 3b 0a | ext-link:focus.{...margin:.0px;. |
18060 | 20 20 70 61 64 64 69 6e 67 3a 20 30 70 78 3b 0a 20 20 62 6f 72 64 65 72 3a 20 30 70 78 3b 0a 7d | ..padding:.0px;...border:.0px;.} |
18080 | 0a 50 4b 03 04 14 00 00 00 00 00 f2 4b 18 3b 4d e6 e1 fa 39 08 00 00 39 08 00 00 21 00 00 00 63 | .PK.........K.;M...9...9...!...c |
180a0 | 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 61 62 6f 75 74 52 69 67 68 74 73 2e 78 68 74 6d 6c | ontent/browser/aboutRights.xhtml |
180c0 | 3c 3f 78 6d 6c 20 76 65 72 73 69 6f 6e 3d 22 31 2e 30 22 20 65 6e 63 6f 64 69 6e 67 3d 22 55 54 | <?xml.version="1.0".encoding="UT |
180e0 | 46 2d 38 22 3f 3e 0a 3c 21 44 4f 43 54 59 50 45 20 68 74 6d 6c 20 5b 0a 20 20 3c 21 45 4e 54 49 | F-8"?>.<!DOCTYPE.html.[...<!ENTI |
18100 | 54 59 20 25 20 68 74 6d 6c 44 54 44 20 50 55 42 4c 49 43 20 22 2d 2f 2f 57 33 43 2f 2f 44 54 44 | TY.%.htmlDTD.PUBLIC."-//W3C//DTD |
18120 | 20 58 48 54 4d 4c 20 31 2e 30 20 53 74 72 69 63 74 2f 2f 45 4e 22 20 22 44 54 44 2f 78 68 74 6d | .XHTML.1.0.Strict//EN"."DTD/xhtm |
18140 | 6c 31 2d 73 74 72 69 63 74 2e 64 74 64 22 3e 0a 20 20 25 68 74 6d 6c 44 54 44 3b 0a 20 20 3c 21 | l1-strict.dtd">...%htmlDTD;...<! |
18160 | 45 4e 54 49 54 59 20 25 20 62 72 61 6e 64 44 54 44 20 53 59 53 54 45 4d 20 22 63 68 72 6f 6d 65 | ENTITY.%.brandDTD.SYSTEM."chrome |
18180 | 3a 2f 2f 62 72 61 6e 64 69 6e 67 2f 6c 6f 63 61 6c 65 2f 62 72 61 6e 64 2e 64 74 64 22 3e 0a 20 | ://branding/locale/brand.dtd">.. |
181a0 | 20 25 62 72 61 6e 64 44 54 44 3b 0a 20 20 3c 21 45 4e 54 49 54 59 20 25 20 73 65 63 75 72 69 74 | .%brandDTD;...<!ENTITY.%.securit |
181c0 | 79 50 72 65 66 73 44 54 44 20 53 59 53 54 45 4d 20 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 | yPrefsDTD.SYSTEM."chrome://brows |
181e0 | 65 72 2f 6c 6f 63 61 6c 65 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 73 65 63 75 72 69 74 79 2e 64 | er/locale/preferences/security.d |
18200 | 74 64 22 3e 0a 20 20 25 73 65 63 75 72 69 74 79 50 72 65 66 73 44 54 44 3b 0a 20 20 3c 21 45 4e | td">...%securityPrefsDTD;...<!EN |
18220 | 54 49 54 59 20 25 20 61 62 6f 75 74 52 69 67 68 74 73 44 54 44 20 53 59 53 54 45 4d 20 22 63 68 | TITY.%.aboutRightsDTD.SYSTEM."ch |
18240 | 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 6c 6f 63 61 6c 65 2f 61 62 6f 75 74 52 69 67 68 74 | rome://browser/locale/aboutRight |
18260 | 73 2e 64 74 64 22 3e 0a 20 20 25 61 62 6f 75 74 52 69 67 68 74 73 44 54 44 3b 0a 5d 3e 0a 0a 3c | s.dtd">...%aboutRightsDTD;.]>..< |
18280 | 68 74 6d 6c 20 78 6d 6c 6e 73 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e 77 33 2e 6f 72 67 2f 31 39 | html.xmlns="http://www.w3.org/19 |
182a0 | 39 39 2f 78 68 74 6d 6c 22 3e 0a 0a 3c 68 65 61 64 3e 0a 20 20 3c 74 69 74 6c 65 3e 26 72 69 67 | 99/xhtml">..<head>...<title>&rig |
182c0 | 68 74 73 2e 70 61 67 65 74 69 74 6c 65 3b 3c 2f 74 69 74 6c 65 3e 0a 20 20 3c 6c 69 6e 6b 20 72 | hts.pagetitle;</title>...<link.r |
182e0 | 65 6c 3d 22 73 74 79 6c 65 73 68 65 65 74 22 20 68 72 65 66 3d 22 63 68 72 6f 6d 65 3a 2f 2f 67 | el="stylesheet".href="chrome://g |
18300 | 6c 6f 62 61 6c 2f 73 6b 69 6e 2f 61 62 6f 75 74 2e 63 73 73 22 20 74 79 70 65 3d 22 74 65 78 74 | lobal/skin/about.css".type="text |
18320 | 2f 63 73 73 22 2f 3e 0a 3c 2f 68 65 61 64 3e 0a 0a 3c 62 6f 64 79 20 69 64 3d 22 79 6f 75 72 2d | /css"/>.</head>..<body.id="your- |
18340 | 72 69 67 68 74 73 22 20 64 69 72 3d 22 26 72 69 67 68 74 73 2e 6c 6f 63 61 6c 65 2d 64 69 72 65 | rights".dir="&rights.locale-dire |
18360 | 63 74 69 6f 6e 3b 22 20 63 6c 61 73 73 3d 22 61 62 6f 75 74 50 61 67 65 57 69 64 65 43 6f 6e 74 | ction;".class="aboutPageWideCont |
18380 | 61 69 6e 65 72 22 3e 0a 0a 3c 68 31 3e 26 72 69 67 68 74 73 2e 69 6e 74 72 6f 2d 68 65 61 64 65 | ainer">..<h1>&rights.intro-heade |
183a0 | 72 3b 3c 2f 68 31 3e 0a 0a 3c 70 3e 26 72 69 67 68 74 73 2e 69 6e 74 72 6f 3b 3c 2f 70 3e 0a 0a | r;</h1>..<p>&rights.intro;</p>.. |
183c0 | 3c 75 6c 3e 0a 20 20 3c 6c 69 3e 26 72 69 67 68 74 73 2e 69 6e 74 72 6f 2d 70 6f 69 6e 74 31 61 | <ul>...<li>&rights.intro-point1a |
183e0 | 3b 3c 61 20 68 72 65 66 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 | ;<a.href="http://www.mozilla.org |
18400 | 2f 4d 50 4c 2f 22 3e 26 72 69 67 68 74 73 2e 69 6e 74 72 6f 2d 70 6f 69 6e 74 31 62 3b 3c 2f 61 | /MPL/">&rights.intro-point1b;</a |
18420 | 3e 26 72 69 67 68 74 73 2e 69 6e 74 72 6f 2d 70 6f 69 6e 74 31 63 3b 3c 2f 6c 69 3e 0a 20 20 3c | >&rights.intro-point1c;</li>...< |
18440 | 6c 69 3e 26 72 69 67 68 74 73 2e 69 6e 74 72 6f 2d 70 6f 69 6e 74 32 61 3b 3c 61 20 68 72 65 66 | li>&rights.intro-point2a;<a.href |
18460 | 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 66 6f 75 6e 64 61 74 | ="http://www.mozilla.org/foundat |
18480 | 69 6f 6e 2f 74 72 61 64 65 6d 61 72 6b 73 2f 70 6f 6c 69 63 79 2e 68 74 6d 6c 22 3e 26 72 69 67 | ion/trademarks/policy.html">&rig |
184a0 | 68 74 73 2e 69 6e 74 72 6f 2d 70 6f 69 6e 74 32 62 3b 3c 2f 61 3e 26 72 69 67 68 74 73 2e 69 6e | hts.intro-point2b;</a>&rights.in |
184c0 | 74 72 6f 2d 70 6f 69 6e 74 32 63 3b 3c 2f 6c 69 3e 0a 20 20 3c 6c 69 3e 26 72 69 67 68 74 73 2e | tro-point2c;</li>...<li>&rights. |
184e0 | 69 6e 74 72 6f 2d 70 6f 69 6e 74 33 61 3b 3c 61 20 68 72 65 66 3d 22 68 74 74 70 3a 2f 2f 77 77 | intro-point3a;<a.href="http://ww |
18500 | 77 2e 6d 6f 7a 69 6c 6c 61 2e 63 6f 6d 2f 6c 65 67 61 6c 2f 70 72 69 76 61 63 79 2f 22 3e 26 72 | w.mozilla.com/legal/privacy/">&r |
18520 | 69 67 68 74 73 2e 69 6e 74 72 6f 2d 70 6f 69 6e 74 33 62 3b 3c 2f 61 3e 26 72 69 67 68 74 73 2e | ights.intro-point3b;</a>&rights. |
18540 | 69 6e 74 72 6f 2d 70 6f 69 6e 74 33 63 3b 3c 2f 6c 69 3e 0a 20 20 3c 6c 69 3e 26 72 69 67 68 74 | intro-point3c;</li>...<li>&right |
18560 | 73 2e 69 6e 74 72 6f 2d 70 6f 69 6e 74 34 61 3b 3c 61 20 68 72 65 66 3d 22 61 62 6f 75 74 3a 72 | s.intro-point4a;<a.href="about:r |
18580 | 69 67 68 74 73 23 77 65 62 73 65 72 76 69 63 65 73 22 20 6f 6e 63 6c 69 63 6b 3d 22 73 68 6f 77 | ights#webservices".onclick="show |
185a0 | 53 65 72 76 69 63 65 73 28 29 3b 22 3e 26 72 69 67 68 74 73 2e 69 6e 74 72 6f 2d 70 6f 69 6e 74 | Services();">&rights.intro-point |
185c0 | 34 62 3b 3c 2f 61 3e 26 72 69 67 68 74 73 2e 69 6e 74 72 6f 2d 70 6f 69 6e 74 34 63 3b 3c 2f 6c | 4b;</a>&rights.intro-point4c;</l |
185e0 | 69 3e 0a 3c 2f 75 6c 3e 0a 0a 3c 64 69 76 20 69 64 3d 22 77 65 62 73 65 72 76 69 63 65 73 2d 63 | i>.</ul>..<div.id="webservices-c |
18600 | 6f 6e 74 61 69 6e 65 72 22 3e 0a 20 20 3c 61 20 6e 61 6d 65 3d 22 77 65 62 73 65 72 76 69 63 65 | ontainer">...<a.name="webservice |
18620 | 73 22 2f 3e 0a 20 20 3c 68 33 3e 26 72 69 67 68 74 73 2e 77 65 62 73 65 72 76 69 63 65 73 2d 68 | s"/>...<h3>&rights.webservices-h |
18640 | 65 61 64 65 72 3b 3c 2f 68 33 3e 0a 0a 20 20 3c 70 3e 26 72 69 67 68 74 73 2e 77 65 62 73 65 72 | eader;</h3>....<p>&rights.webser |
18660 | 76 69 63 65 73 2d 61 3b 3c 63 6f 64 65 3e 26 72 69 67 68 74 73 2e 77 65 62 73 65 72 76 69 63 65 | vices-a;<code>&rights.webservice |
18680 | 73 2d 62 3b 3c 2f 63 6f 64 65 3e 26 72 69 67 68 74 73 2e 77 65 62 73 65 72 76 69 63 65 73 2d 63 | s-b;</code>&rights.webservices-c |
186a0 | 3b 3c 2f 70 3e 0a 0a 20 20 3c 6f 6c 3e 0a 20 20 20 20 3c 6c 69 3e 26 72 69 67 68 74 73 2e 77 65 | ;</p>....<ol>.....<li>&rights.we |
186c0 | 62 73 65 72 76 69 63 65 73 2d 74 65 72 6d 31 3b 3c 2f 6c 69 3e 0a 20 20 20 20 3c 6c 69 3e 26 72 | bservices-term1;</li>.....<li>&r |
186e0 | 69 67 68 74 73 2e 77 65 62 73 65 72 76 69 63 65 73 2d 74 65 72 6d 32 3b 3c 2f 6c 69 3e 0a 20 20 | ights.webservices-term2;</li>... |
18700 | 20 20 3c 6c 69 3e 26 72 69 67 68 74 73 2e 77 65 62 73 65 72 76 69 63 65 73 2d 74 65 72 6d 33 3b | ..<li>&rights.webservices-term3; |
18720 | 3c 2f 6c 69 3e 0a 20 20 20 20 3c 6c 69 3e 3c 73 74 72 6f 6e 67 3e 26 72 69 67 68 74 73 2e 77 65 | </li>.....<li><strong>&rights.we |
18740 | 62 73 65 72 76 69 63 65 73 2d 74 65 72 6d 34 3b 3c 2f 73 74 72 6f 6e 67 3e 3c 2f 6c 69 3e 0a 20 | bservices-term4;</strong></li>.. |
18760 | 20 20 20 3c 6c 69 3e 3c 73 74 72 6f 6e 67 3e 26 72 69 67 68 74 73 2e 77 65 62 73 65 72 76 69 63 | ...<li><strong>&rights.webservic |
18780 | 65 73 2d 74 65 72 6d 35 3b 3c 2f 73 74 72 6f 6e 67 3e 3c 2f 6c 69 3e 0a 20 20 20 20 3c 6c 69 3e | es-term5;</strong></li>.....<li> |
187a0 | 26 72 69 67 68 74 73 2e 77 65 62 73 65 72 76 69 63 65 73 2d 74 65 72 6d 36 3b 3c 2f 6c 69 3e 0a | &rights.webservices-term6;</li>. |
187c0 | 20 20 20 20 3c 6c 69 3e 26 72 69 67 68 74 73 2e 77 65 62 73 65 72 76 69 63 65 73 2d 74 65 72 6d | ....<li>&rights.webservices-term |
187e0 | 37 3b 3c 2f 6c 69 3e 0a 20 20 3c 2f 6f 6c 3e 0a 3c 2f 64 69 76 3e 0a 0a 3c 73 63 72 69 70 74 20 | 7;</li>...</ol>.</div>..<script. |
18800 | 74 79 70 65 3d 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f 78 2d 6a 61 76 61 73 63 72 69 70 74 22 3e | type="application/x-javascript"> |
18820 | 3c 21 5b 43 44 41 54 41 5b 0a 20 20 76 61 72 20 73 65 72 76 69 63 65 73 44 69 76 20 3d 20 64 6f | <![CDATA[...var.servicesDiv.=.do |
18840 | 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 77 65 62 73 65 72 76 69 63 | cument.getElementById("webservic |
18860 | 65 73 2d 63 6f 6e 74 61 69 6e 65 72 22 29 3b 0a 20 20 73 65 72 76 69 63 65 73 44 69 76 2e 73 74 | es-container");...servicesDiv.st |
18880 | 79 6c 65 2e 64 69 73 70 6c 61 79 20 3d 20 22 6e 6f 6e 65 22 3b 0a 0a 20 20 66 75 6e 63 74 69 6f | yle.display.=."none";....functio |
188a0 | 6e 20 73 68 6f 77 53 65 72 76 69 63 65 73 28 29 20 7b 0a 20 20 20 20 73 65 72 76 69 63 65 73 44 | n.showServices().{.....servicesD |
188c0 | 69 76 2e 73 74 79 6c 65 2e 64 69 73 70 6c 61 79 20 3d 20 22 22 3b 0a 20 20 7d 0a 5d 5d 3e 3c 2f | iv.style.display.=."";...}.]]></ |
188e0 | 73 63 72 69 70 74 3e 0a 0a 3c 2f 62 6f 64 79 3e 0a 3c 2f 68 74 6d 6c 3e 0a 50 4b 03 04 14 00 00 | script>..</body>.</html>.PK..... |
18900 | 00 00 00 f2 4b 18 3b 7c f3 25 ca f0 16 00 00 f0 16 00 00 21 00 00 00 63 6f 6e 74 65 6e 74 2f 62 | ....K.;|.%.........!...content/b |
18920 | 72 6f 77 73 65 72 2f 61 62 6f 75 74 52 6f 62 6f 74 73 2e 78 68 74 6d 6c 3c 3f 78 6d 6c 20 76 65 | rowser/aboutRobots.xhtml<?xml.ve |
18940 | 72 73 69 6f 6e 3d 22 31 2e 30 22 20 65 6e 63 6f 64 69 6e 67 3d 22 55 54 46 2d 38 22 3f 3e 0a 0a | rsion="1.0".encoding="UTF-8"?>.. |
18960 | 0a 3c 21 44 4f 43 54 59 50 45 20 68 74 6d 6c 20 5b 0a 20 20 3c 21 45 4e 54 49 54 59 20 25 20 68 | .<!DOCTYPE.html.[...<!ENTITY.%.h |
18980 | 74 6d 6c 44 54 44 0a 20 20 20 20 50 55 42 4c 49 43 20 22 2d 2f 2f 57 33 43 2f 2f 44 54 44 20 58 | tmlDTD.....PUBLIC."-//W3C//DTD.X |
189a0 | 48 54 4d 4c 20 31 2e 30 20 53 74 72 69 63 74 2f 2f 45 4e 22 0a 20 20 20 20 22 44 54 44 2f 78 68 | HTML.1.0.Strict//EN"....."DTD/xh |
189c0 | 74 6d 6c 31 2d 73 74 72 69 63 74 2e 64 74 64 22 3e 0a 20 20 25 68 74 6d 6c 44 54 44 3b 0a 20 20 | tml1-strict.dtd">...%htmlDTD;... |
189e0 | 3c 21 45 4e 54 49 54 59 20 25 20 6e 65 74 45 72 72 6f 72 44 54 44 0a 20 20 20 20 53 59 53 54 45 | <!ENTITY.%.netErrorDTD.....SYSTE |
18a00 | 4d 20 22 63 68 72 6f 6d 65 3a 2f 2f 67 6c 6f 62 61 6c 2f 6c 6f 63 61 6c 65 2f 6e 65 74 45 72 72 | M."chrome://global/locale/netErr |
18a20 | 6f 72 2e 64 74 64 22 3e 0a 20 20 25 6e 65 74 45 72 72 6f 72 44 54 44 3b 0a 20 20 3c 21 45 4e 54 | or.dtd">...%netErrorDTD;...<!ENT |
18a40 | 49 54 59 20 25 20 67 6c 6f 62 61 6c 44 54 44 0a 20 20 20 20 53 59 53 54 45 4d 20 22 63 68 72 6f | ITY.%.globalDTD.....SYSTEM."chro |
18a60 | 6d 65 3a 2f 2f 67 6c 6f 62 61 6c 2f 6c 6f 63 61 6c 65 2f 67 6c 6f 62 61 6c 2e 64 74 64 22 3e 0a | me://global/locale/global.dtd">. |
18a80 | 20 20 25 67 6c 6f 62 61 6c 44 54 44 3b 0a 20 20 3c 21 45 4e 54 49 54 59 20 25 20 61 62 6f 75 74 | ..%globalDTD;...<!ENTITY.%.about |
18aa0 | 72 6f 62 6f 74 73 44 54 44 0a 20 20 20 20 53 59 53 54 45 4d 20 22 63 68 72 6f 6d 65 3a 2f 2f 62 | robotsDTD.....SYSTEM."chrome://b |
18ac0 | 72 6f 77 73 65 72 2f 6c 6f 63 61 6c 65 2f 61 62 6f 75 74 52 6f 62 6f 74 73 2e 64 74 64 22 3e 0a | rowser/locale/aboutRobots.dtd">. |
18ae0 | 20 20 25 61 62 6f 75 74 72 6f 62 6f 74 73 44 54 44 3b 0a 5d 3e 0a 0a 3c 68 74 6d 6c 20 78 6d 6c | ..%aboutrobotsDTD;.]>..<html.xml |
18b00 | 6e 73 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e 77 33 2e 6f 72 67 2f 31 39 39 39 2f 78 68 74 6d 6c | ns="http://www.w3.org/1999/xhtml |
18b20 | 22 3e 0a 20 20 3c 68 65 61 64 3e 0a 20 20 20 20 3c 74 69 74 6c 65 3e 26 72 6f 62 6f 74 73 2e 70 | ">...<head>.....<title>&robots.p |
18b40 | 61 67 65 74 69 74 6c 65 3b 3c 2f 74 69 74 6c 65 3e 0a 20 20 20 20 3c 6c 69 6e 6b 20 72 65 6c 3d | agetitle;</title>.....<link.rel= |
18b60 | 22 73 74 79 6c 65 73 68 65 65 74 22 20 68 72 65 66 3d 22 63 68 72 6f 6d 65 3a 2f 2f 67 6c 6f 62 | "stylesheet".href="chrome://glob |
18b80 | 61 6c 2f 73 6b 69 6e 2f 6e 65 74 45 72 72 6f 72 2e 63 73 73 22 20 74 79 70 65 3d 22 74 65 78 74 | al/skin/netError.css".type="text |
18ba0 | 2f 63 73 73 22 20 6d 65 64 69 61 3d 22 61 6c 6c 22 20 2f 3e 0a 20 20 20 20 3c 6c 69 6e 6b 20 72 | /css".media="all"./>.....<link.r |
18bc0 | 65 6c 3d 22 69 63 6f 6e 22 20 74 79 70 65 3d 22 69 6d 61 67 65 2f 70 6e 67 22 20 69 64 3d 22 66 | el="icon".type="image/png".id="f |
18be0 | 61 76 69 63 6f 6e 22 20 68 72 65 66 3d 22 64 61 74 61 3a 69 6d 61 67 65 2f 70 6e 67 3b 62 61 73 | avicon".href="data:image/png;bas |
18c00 | 65 36 34 2c 69 56 42 4f 52 77 30 4b 47 67 6f 41 41 41 41 4e 53 55 68 45 55 67 41 41 41 42 41 41 | e64,iVBORw0KGgoAAAANSUhEUgAAABAA |
18c20 | 41 41 41 51 43 41 59 41 41 41 41 66 38 25 32 46 39 68 41 41 41 41 43 47 46 6a 56 45 77 41 41 41 | AAAQCAYAAAAf8%2F9hAAAACGFjVEwAAA |
18c40 | 41 53 41 41 41 41 41 4a 4e 74 42 50 49 41 41 41 41 61 5a 6d 4e 55 54 41 41 41 41 41 41 41 41 41 | ASAAAAAJNtBPIAAAAaZmNUTAAAAAAAAA |
18c60 | 41 51 41 41 41 41 45 41 41 41 41 41 41 41 41 41 41 41 4c 75 41 44 36 41 41 42 68 49 44 65 75 67 | AQAAAAEAAAAAAAAAAALuAD6AABhIDeug |
18c80 | 41 41 41 4c 68 4a 52 45 46 55 4f 49 32 4e 6b 38 73 4e 78 43 41 4d 52 44 6c 47 6f 68 61 75 58 46 | AAALhJREFUOI2Nk8sNxCAMRDlGohauXF |
18ca0 | 4f 4d 70 66 54 69 41 6c 78 49 43 71 41 45 4c 6c 74 48 4c 71 6c 67 63 74 67 31 49 6e 7a 4d 52 68 | OMpfTiAlxICqAELltHLqlgctg1InzMRh |
18cc0 | 70 46 41 63 25 32 42 4c 47 57 54 6e 6d 6f 65 5a 59 61 6d 74 37 38 7a 58 64 5a 6d 61 51 74 51 4d | pFAc%2BLGWTnmoeZYamt78zXdZmaQtQM |
18ce0 | 41 44 6c 6e 55 30 4f 49 41 6c 62 6d 4a 55 42 45 63 4f 34 62 52 4b 51 59 32 72 55 58 49 50 6d 41 | ADlnU0OIAlbmJUBEcO4bRKQY2rUXIPmA |
18d00 | 47 6e 44 75 47 25 32 46 42 78 33 25 32 46 66 76 4f 50 56 61 44 55 67 25 32 42 6f 41 50 55 66 31 | GnDuG%2FBx3%2FfvOPVaDUg%2BoAPUf1 |
18d20 | 50 41 72 49 4d 43 53 44 35 67 6c 4d 45 73 55 47 61 47 25 32 42 6b 79 41 46 57 49 42 61 43 73 4b | PArIMCSD5glMEsUGaG%2BkyAFWIBaCsK |
18d40 | 75 41 25 32 42 48 47 43 4e 69 6a 4c 67 50 31 33 33 58 67 4f 45 74 61 50 46 4d 79 32 76 55 6f 6c | uA%2BHGCNijLgP133XgOEtaPFMy2vUol |
18d60 | 45 47 4a 6f 43 49 7a 42 6d 6f 52 55 52 39 25 32 42 37 72 78 6a 31 36 44 5a 61 57 25 32 46 6d 67 | EGJoCIzBmoRUR9%2B7rxj16DZaW%2Fmg |
18d80 | 74 6d 78 6e 4a 38 56 33 6f 41 6e 41 70 51 77 4e 53 35 7a 70 63 41 41 41 41 61 5a 6d 4e 55 54 41 | tmxnJ8V3oAnApQwNS5zpcAAAAaZmNUTA |
18da0 | 41 41 41 41 45 41 41 41 41 51 41 41 41 41 45 41 41 41 41 41 41 41 41 41 41 41 41 42 34 44 36 41 | AAAAEAAAAQAAAAEAAAAAAAAAAAAB4D6A |
18dc0 | 49 42 35 32 66 63 6c 67 41 41 41 43 70 6d 5a 45 46 55 41 41 41 41 41 6a 69 4e 59 32 41 59 42 56 | IB52fclgAAACpmZEFUAAAAAjiNY2AYBV |
18de0 | 68 42 63 33 50 7a 66 32 4c 45 63 47 72 65 71 63 62 77 48 31 6b 44 4e 6a 48 61 75 57 41 55 6a 41 | hBc3Pzf2LEcGreqcbwH1kDNjHauWAUjA |
18e00 | 4a 79 41 41 44 79 6d 78 66 39 57 46 25 32 42 75 38 51 41 41 41 42 70 6d 59 31 52 4d 41 41 41 41 | JyAADymxf9WF%2Bu8QAAABpmY1RMAAAA |
18e20 | 41 77 41 41 41 42 41 41 41 41 41 51 41 41 41 41 41 41 41 41 41 41 41 41 48 67 50 6f 41 67 45 4b | AwAAABAAAAAQAAAAAAAAAAAAHgPoAgEK |
18e40 | 38 51 39 25 32 46 41 41 41 41 46 6d 5a 6b 51 56 51 41 41 41 41 45 4f 49 31 6a 59 42 67 46 6f 32 | 8Q9%2FAAAAFmZkQVQAAAAEOI1jYBgFo2 |
18e60 | 41 55 6a 41 49 49 41 41 41 45 45 41 41 42 30 78 49 6e 34 77 41 41 41 42 70 6d 59 31 52 4d 41 41 | AUjAIIAAAEEAAB0xIn4wAAABpmY1RMAA |
18e80 | 41 41 42 51 41 41 41 42 41 41 41 41 41 51 41 41 41 41 41 41 41 41 41 41 41 41 48 67 50 6f 41 67 | AABQAAABAAAAAQAAAAAAAAAAAAHgPoAg |
18ea0 | 48 6e 4f 33 30 46 41 41 41 41 51 47 5a 6b 51 56 51 41 41 41 41 47 4f 49 31 6a 59 42 69 65 59 4b | HnO30FAAAAQGZkQVQAAAAGOI1jYBieYK |
18ec0 | 63 61 77 33 39 69 78 48 43 43 25 32 46 36 63 77 46 57 4d 54 77 32 72 7a 25 32 46 31 4d 4d 25 32 | caw39ixHCC%2F6cwFWMTw2rz%2F1MM%2 |
18ee0 | 46 36 56 75 25 32 46 66 25 32 46 25 32 46 25 32 46 78 54 44 25 32 46 35 31 71 45 49 77 75 52 6a | F6Vu%2Ff%2F%2F%2FxTD%2F51qEIwuRj |
18f00 | 73 58 49 4c 75 45 47 4c 46 52 4d 41 70 67 41 41 44 68 4e 43 73 56 66 6f 7a 59 63 41 41 41 41 42 | sXILuEGLFRMApgAADhNCsVfozYcAAAAB |
18f20 | 70 6d 59 31 52 4d 41 41 41 41 42 77 41 41 41 42 41 41 41 41 41 51 41 41 41 41 41 41 41 41 41 41 | pmY1RMAAAABwAAABAAAAAQAAAAAAAAAA |
18f40 | 41 41 48 67 50 6f 41 67 45 4b 72 61 37 73 41 41 41 41 46 6d 5a 6b 51 56 51 41 41 41 41 49 4f 49 | AAHgPoAgEKra7sAAAAFmZkQVQAAAAIOI |
18f60 | 31 6a 59 42 67 46 6f 32 41 55 6a 41 49 49 41 41 41 45 45 41 41 42 4d 39 73 33 68 41 41 41 41 42 | 1jYBgFo2AUjAIIAAAEEAABM9s3hAAAAB |
18f80 | 70 6d 59 31 52 4d 41 41 41 41 43 51 41 41 41 42 41 41 41 41 41 51 41 41 41 41 41 41 41 41 41 41 | pmY1RMAAAACQAAABAAAAAQAAAAAAAAAA |
18fa0 | 41 41 48 67 50 6f 41 67 48 6e 33 70 25 32 42 77 41 41 41 41 4b 6d 5a 6b 51 56 51 41 41 41 41 4b | AAHgPoAgHn3p%2BwAAAAKmZkQVQAAAAK |
18fc0 | 4f 49 31 6a 59 42 67 46 57 45 46 7a 63 25 32 46 4e 25 32 46 59 73 52 77 61 74 36 70 78 76 41 66 | OI1jYBgFWEFzc%2FN%2FYsRwat6pxvAf |
18fe0 | 57 51 4d 32 4d 64 71 35 59 42 53 4d 41 6e 49 41 41 50 4b 62 46 25 32 46 31 42 68 50 6c 36 41 41 | WQM2Mdq5YBSMAnIAAPKbF%2F1BhPl6AA |
19000 | 41 41 47 6d 5a 6a 56 45 77 41 41 41 41 4c 41 41 41 41 45 41 41 41 41 42 41 41 41 41 41 41 41 41 | AAGmZjVEwAAAALAAAAEAAAABAAAAAAAA |
19020 | 41 41 41 41 41 65 41 25 32 42 67 43 41 51 70 49 54 46 6b 41 41 41 41 57 5a 6d 52 42 56 41 41 41 | AAAAAeA%2BgCAQpITFkAAAAWZmRBVAAA |
19040 | 41 41 77 34 6a 57 4e 67 47 41 57 6a 59 42 53 4d 41 67 67 41 41 41 51 51 41 41 48 61 73 7a 70 6d | AAw4jWNgGAWjYBSMAggAAAQQAAHaszpm |
19060 | 41 41 41 41 47 6d 5a 6a 56 45 77 41 41 41 41 4e 41 41 41 41 45 41 41 41 41 42 41 41 41 41 41 41 | AAAAGmZjVEwAAAANAAAAEAAAABAAAAAA |
19080 | 41 41 41 41 41 41 41 65 41 25 32 42 67 43 41 65 65 43 50 69 4d 41 41 41 42 41 5a 6d 52 42 56 41 | AAAAAAAeA%2BgCAeeCPiMAAABAZmRBVA |
190a0 | 41 41 41 41 34 34 6a 57 4e 67 47 4a 35 67 70 78 72 44 66 32 4c 45 63 49 4c 25 32 46 70 7a 41 56 | AAAA44jWNgGJ5gpxrDf2LEcIL%2FpzAV |
190c0 | 59 78 50 44 61 76 50 25 32 46 55 77 7a 25 32 46 70 57 37 39 25 32 46 25 32 46 25 32 46 25 32 46 | YxPDavP%2FUwz%2FpW79%2F%2F%2F%2F |
190e0 | 46 4d 50 25 32 46 6e 57 6f 51 6a 43 35 47 4f 78 63 67 75 34 51 59 73 56 45 77 43 6d 41 41 41 4f | FMP%2FnWoQjC5GOxcgu4QYsVEwCmAAAO |
19100 | 45 30 4b 78 55 6d 42 4c 30 4b 41 41 41 41 47 6d 5a 6a 56 45 77 41 41 41 41 50 41 41 41 41 45 41 | E0KxUmBL0KAAAAGmZjVEwAAAAPAAAAEA |
19120 | 41 41 41 42 41 41 41 41 41 41 41 41 41 41 41 41 41 65 41 25 32 42 67 43 41 51 6f 55 37 63 6f 41 | AAABAAAAAAAAAAAAAeA%2BgCAQoU7coA |
19140 | 41 41 41 57 5a 6d 52 42 56 41 41 41 41 42 41 34 6a 57 4e 67 47 41 57 6a 59 42 53 4d 41 67 67 41 | AAAWZmRBVAAAABA4jWNgGAWjYBSMAggA |
19160 | 41 41 51 51 41 41 45 70 4f 42 45 4c 41 41 41 41 47 6d 5a 6a 56 45 77 41 41 41 41 52 41 41 41 41 | AAQQAAEpOBELAAAAGmZjVEwAAAARAAAA |
19180 | 45 41 41 41 41 42 41 41 41 41 41 41 41 41 41 41 41 41 41 65 41 25 32 42 67 43 41 65 59 56 57 74 | EAAAABAAAAAAAAAAAAAeA%2BgCAeYVWt |
191a0 | 6f 41 41 41 41 71 5a 6d 52 42 56 41 41 41 41 42 49 34 6a 57 4e 67 47 41 56 59 51 58 4e 7a 38 33 | oAAAAqZmRBVAAAABI4jWNgGAVYQXNz83 |
191c0 | 39 69 78 48 42 71 33 71 6e 47 38 42 39 5a 41 7a 59 78 32 72 6c 67 46 49 77 43 63 67 41 41 38 70 | 9ixHBq3qnG8B9ZAzYx2rlgFIwCcgAA8p |
191e0 | 73 58 25 32 46 57 76 70 41 65 63 41 41 41 41 61 5a 6d 4e 55 54 41 41 41 41 42 4d 41 41 41 41 51 | sX%2FWvpAecAAAAaZmNUTAAAABMAAAAQ |
19200 | 41 41 41 41 45 41 41 41 41 41 41 41 41 41 41 41 41 42 34 44 36 41 49 42 43 34 4f 4a 4d 77 41 41 | AAAAEAAAAAAAAAAAAB4D6AIBC4OJMwAA |
19220 | 41 42 5a 6d 5a 45 46 55 41 41 41 41 46 44 69 4e 59 32 41 59 42 61 4e 67 46 49 77 43 43 41 41 41 | ABZmZEFUAAAAFDiNY2AYBaNgFIwCCAAA |
19240 | 42 42 41 41 41 63 42 51 48 4f 6b 41 41 41 41 61 5a 6d 4e 55 54 41 41 41 41 42 55 41 41 41 41 51 | BBAAAcBQHOkAAAAaZmNUTAAAABUAAAAQ |
19260 | 41 41 41 41 45 41 41 41 41 41 41 41 41 41 41 41 41 42 34 44 36 41 49 42 35 6b 6e 37 53 51 41 41 | AAAAEAAAAAAAAAAAAB4D6AIB5kn7SQAA |
19280 | 41 45 42 6d 5a 45 46 55 41 41 41 41 46 6a 69 4e 59 32 41 59 6e 6d 43 6e 47 73 4e 25 32 46 59 73 | AEBmZEFUAAAAFjiNY2AYnmCnGsN%2FYs |
192a0 | 52 77 67 76 25 32 42 6e 4d 42 56 6a 45 38 4e 71 38 25 32 46 39 54 44 50 25 32 42 6c 62 76 33 25 | Rwgv%2BnMBVjE8Nq8%2F9TDP%2Blbv3% |
192c0 | 32 46 25 32 46 25 32 46 38 55 77 25 32 46 25 32 42 64 61 68 43 4d 4c 6b 59 37 46 79 43 37 68 42 | 2F%2F%2F8Uw%2F%2BdahCMLkY7FyC7hB |
192e0 | 69 78 55 54 41 4b 59 41 41 41 34 54 51 72 46 63 25 32 42 63 45 6f 51 41 41 41 41 61 5a 6d 4e 55 | ixUTAKYAAA4TQrFc%2BcEoQAAAAaZmNU |
19300 | 54 41 41 41 41 42 63 41 41 41 41 51 41 41 41 41 45 41 41 41 41 41 41 41 41 41 41 41 41 42 34 44 | TAAAABcAAAAQAAAAEAAAAAAAAAAAAB4D |
19320 | 36 41 49 42 43 39 38 6f 6f 41 41 41 41 42 5a 6d 5a 45 46 55 41 41 41 41 47 44 69 4e 59 32 41 59 | 6AIBC98ooAAAABZmZEFUAAAAGDiNY2AY |
19340 | 42 61 4e 67 46 49 77 43 43 41 41 41 42 42 41 41 41 53 43 5a 44 49 34 41 41 41 41 61 5a 6d 4e 55 | BaNgFIwCCAAABBAAASCZDI4AAAAaZmNU |
19360 | 54 41 41 41 41 42 6b 41 41 41 41 51 41 41 41 41 45 41 41 41 41 41 41 41 41 41 41 41 41 42 34 44 | TAAAABkAAAAQAAAAEAAAAAAAAAAAAB4D |
19380 | 36 41 49 42 35 71 77 5a 25 32 46 41 41 41 41 43 70 6d 5a 45 46 55 41 41 41 41 47 6a 69 4e 59 32 | 6AIB5qwZ%2FAAAACpmZEFUAAAAGjiNY2 |
193a0 | 41 59 42 56 68 42 63 33 50 7a 66 32 4c 45 63 47 72 65 71 63 62 77 48 31 6b 44 4e 6a 48 61 75 57 | AYBVhBc3Pzf2LEcGreqcbwH1kDNjHauW |
193c0 | 41 55 6a 41 4a 79 41 41 44 79 6d 78 66 39 63 6a 4a 57 62 41 41 41 41 42 70 6d 59 31 52 4d 41 41 | AUjAJyAADymxf9cjJWbAAAABpmY1RMAA |
193e0 | 41 41 47 77 41 41 41 42 41 41 41 41 41 51 41 41 41 41 41 41 41 41 41 41 41 41 48 67 50 6f 41 67 | AAGwAAABAAAAAQAAAAAAAAAAAAHgPoAg |
19400 | 45 4c 4f 73 6f 56 41 41 41 41 46 6d 5a 6b 51 56 51 41 41 41 41 63 4f 49 31 6a 59 42 67 46 6f 32 | ELOsoVAAAAFmZkQVQAAAAcOI1jYBgFo2 |
19420 | 41 55 6a 41 49 49 41 41 41 45 45 41 41 42 79 66 45 42 62 41 41 41 41 42 70 6d 59 31 52 4d 41 41 | AUjAIIAAAEEAAByfEBbAAAABpmY1RMAA |
19440 | 41 41 48 51 41 41 41 42 41 41 41 41 41 51 41 41 41 41 41 41 41 41 41 41 41 41 48 67 50 6f 41 67 | AAHQAAABAAAAAQAAAAAAAAAAAAHgPoAg |
19460 | 48 6d 38 4c 68 76 41 41 41 41 51 47 5a 6b 51 56 51 41 41 41 41 65 4f 49 31 6a 59 42 69 65 59 4b | Hm8LhvAAAAQGZkQVQAAAAeOI1jYBieYK |
19480 | 63 61 77 33 39 69 78 48 43 43 25 32 46 36 63 77 46 57 4d 54 77 32 72 7a 25 32 46 31 4d 4d 25 32 | caw39ixHCC%2F6cwFWMTw2rz%2F1MM%2 |
194a0 | 46 36 56 75 25 32 46 66 25 32 46 25 32 46 25 32 46 78 54 44 25 32 46 35 31 71 45 49 77 75 52 6a | F6Vu%2Ff%2F%2F%2FxTD%2F51qEIwuRj |
194c0 | 73 58 49 4c 75 45 47 4c 46 52 4d 41 70 67 41 41 44 68 4e 43 73 56 6c 78 52 33 25 32 46 67 41 41 | sXILuEGLFRMApgAADhNCsVlxR3%2FgAA |
194e0 | 41 42 70 6d 59 31 52 4d 41 41 41 41 48 77 41 41 41 42 41 41 41 41 41 51 41 41 41 41 41 41 41 41 | ABpmY1RMAAAAHwAAABAAAAAQAAAAAAAA |
19500 | 41 41 41 41 48 67 50 6f 41 67 45 4c 5a 6d 75 47 41 41 41 41 46 6d 5a 6b 51 56 51 41 41 41 41 67 | AAAAHgPoAgELZmuGAAAAFmZkQVQAAAAg |
19520 | 4f 49 31 6a 59 42 67 46 6f 32 41 55 6a 41 49 49 41 41 41 45 45 41 41 42 48 50 35 63 46 51 41 41 | OI1jYBgFo2AUjAIIAAAEEAABHP5cFQAA |
19540 | 41 42 70 6d 59 31 52 4d 41 41 41 41 49 51 41 41 41 42 41 41 41 41 41 51 41 41 41 41 41 41 41 41 | ABpmY1RMAAAAIQAAABAAAAAQAAAAAAAA |
19560 | 41 41 41 41 48 67 50 6f 41 67 48 6c 67 74 41 4f 41 41 41 41 4b 6d 5a 6b 51 56 51 41 41 41 41 69 | AAAAHgPoAgHlgtAOAAAAKmZkQVQAAAAi |
19580 | 4f 49 31 6a 59 42 67 46 57 45 46 7a 63 25 32 46 4e 25 32 46 59 73 52 77 61 74 36 70 78 76 41 66 | OI1jYBgFWEFzc%2FN%2FYsRwat6pxvAf |
195a0 | 57 51 4d 32 4d 64 71 35 59 42 53 4d 41 6e 49 41 41 50 4b 62 46 25 32 46 30 25 32 46 4d 76 44 64 | WQM2Mdq5YBSMAnIAAPKbF%2F0%2FMvDd |
195c0 | 41 41 41 41 41 45 6c 46 54 6b 53 75 51 6d 43 43 22 2f 3e 0a 0a 20 20 20 20 3c 73 63 72 69 70 74 | AAAAAElFTkSuQmCC"/>......<script |
195e0 | 20 74 79 70 65 3d 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f 78 2d 6a 61 76 61 73 63 72 69 70 74 22 | .type="application/x-javascript" |
19600 | 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 76 61 72 20 62 75 74 74 6f 6e 43 6c 69 63 6b | ><![CDATA[.......var.buttonClick |
19620 | 65 64 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 20 66 75 6e 63 74 69 6f 6e 20 72 6f 62 6f 74 | ed.=.false;.......function.robot |
19640 | 42 75 74 74 6f 6e 28 29 0a 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 76 61 72 20 62 75 74 | Button().......{.........var.but |
19660 | 74 6f 6e 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 27 65 | ton.=.document.getElementById('e |
19680 | 72 72 6f 72 54 72 79 41 67 61 69 6e 27 29 3b 0a 20 20 20 20 20 20 20 20 69 66 20 28 62 75 74 74 | rrorTryAgain');.........if.(butt |
196a0 | 6f 6e 43 6c 69 63 6b 65 64 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 62 75 74 74 6f 6e 2e 73 74 | onClicked).{...........button.st |
196c0 | 79 6c 65 2e 76 69 73 69 62 69 6c 69 74 79 20 3d 20 22 68 69 64 64 65 6e 22 3b 0a 20 20 20 20 20 | yle.visibility.=."hidden";...... |
196e0 | 20 20 20 7d 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 6e 65 77 4c 61 62 | ...}.else.{...........var.newLab |
19700 | 65 6c 20 3d 20 62 75 74 74 6f 6e 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 6c 61 62 65 6c 32 | el.=.button.getAttribute("label2 |
19720 | 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 62 75 74 74 6f 6e 2e 73 65 74 41 74 74 72 69 62 75 74 | ");...........button.setAttribut |
19740 | 65 28 22 6c 61 62 65 6c 22 2c 20 6e 65 77 4c 61 62 65 6c 29 3b 0a 20 20 20 20 20 20 20 20 20 20 | e("label",.newLabel);........... |
19760 | 62 75 74 74 6f 6e 43 6c 69 63 6b 65 64 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 7d 0a | buttonClicked.=.true;.........}. |
19780 | 20 20 20 20 20 20 7d 0a 20 20 20 20 5d 5d 3e 3c 2f 73 63 72 69 70 74 3e 0a 0a 20 20 20 20 3c 73 | ......}.....]]></script>......<s |
197a0 | 74 79 6c 65 20 74 79 70 65 3d 22 74 65 78 74 2f 63 73 73 22 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 | tyle.type="text/css"><![CDATA[.. |
197c0 | 20 20 20 20 20 23 65 72 72 6f 72 50 61 67 65 43 6f 6e 74 61 69 6e 65 72 20 7b 0a 20 20 20 20 20 | .....#errorPageContainer.{...... |
197e0 | 20 20 20 62 61 63 6b 67 72 6f 75 6e 64 3a 20 75 72 6c 28 27 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f | ...background:.url('chrome://bro |
19800 | 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 61 62 6f 75 74 52 6f 62 6f 74 73 2d 69 63 6f 6e 2e 70 6e | wser/content/aboutRobots-icon.pn |
19820 | 67 27 29 20 6c 65 66 74 20 30 20 6e 6f 2d 72 65 70 65 61 74 20 2d 6d 6f 7a 2d 46 69 65 6c 64 3b | g').left.0.no-repeat.-moz-Field; |
19840 | 0a 20 20 20 20 20 20 20 20 2d 6d 6f 7a 2d 62 61 63 6b 67 72 6f 75 6e 64 2d 6f 72 69 67 69 6e 3a | .........-moz-background-origin: |
19860 | 20 63 6f 6e 74 65 6e 74 3b 0a 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 23 65 72 72 6f 72 54 | .content;.......}........#errorT |
19880 | 72 61 69 6c 65 72 44 65 73 63 54 65 78 74 20 7b 0a 20 20 20 20 20 20 20 20 66 6c 6f 61 74 3a 20 | railerDescText.{.........float:. |
198a0 | 72 69 67 68 74 3b 0a 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 62 6f 64 79 5b 64 69 72 3d 72 | right;.......}........body[dir=r |
198c0 | 74 6c 5d 20 23 65 72 72 6f 72 50 61 67 65 43 6f 6e 74 61 69 6e 65 72 20 7b 0a 20 20 20 20 20 20 | tl].#errorPageContainer.{....... |
198e0 | 20 20 62 61 63 6b 67 72 6f 75 6e 64 2d 69 6d 61 67 65 3a 20 75 72 6c 28 27 63 68 72 6f 6d 65 3a | ..background-image:.url('chrome: |
19900 | 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 61 62 6f 75 74 52 6f 62 6f 74 73 2d 69 63 | //browser/content/aboutRobots-ic |
19920 | 6f 6e 2d 72 74 6c 2e 70 6e 67 27 29 3b 0a 20 20 20 20 20 20 20 20 62 61 63 6b 67 72 6f 75 6e 64 | on-rtl.png');.........background |
19940 | 2d 70 6f 73 69 74 69 6f 6e 3a 20 72 69 67 68 74 20 30 3b 0a 20 20 20 20 20 20 7d 0a 0a 20 20 20 | -position:.right.0;.......}..... |
19960 | 20 20 20 62 6f 64 79 5b 64 69 72 3d 72 74 6c 5d 20 23 65 72 72 6f 72 54 72 61 69 6c 65 72 44 65 | ...body[dir=rtl].#errorTrailerDe |
19980 | 73 63 54 65 78 74 20 7b 0a 20 20 20 20 20 20 20 20 66 6c 6f 61 74 3a 20 6c 65 66 74 3b 0a 20 20 | scText.{.........float:.left;... |
199a0 | 20 20 20 20 7d 0a 20 20 20 20 5d 5d 3e 3c 2f 73 74 79 6c 65 3e 0a 20 20 3c 2f 68 65 61 64 3e 0a | ....}.....]]></style>...</head>. |
199c0 | 0a 20 20 3c 62 6f 64 79 20 64 69 72 3d 22 26 6c 6f 63 61 6c 65 2e 64 69 72 3b 22 3e 0a 0a 20 20 | ...<body.dir="&locale.dir;">.... |
199e0 | 20 20 3c 21 2d 2d 20 50 41 47 45 20 43 4f 4e 54 41 49 4e 45 52 20 28 66 6f 72 20 73 74 79 6c 69 | ..<!--.PAGE.CONTAINER.(for.styli |
19a00 | 6e 67 20 70 75 72 70 6f 73 65 73 20 6f 6e 6c 79 29 20 2d 2d 3e 0a 20 20 20 20 3c 64 69 76 20 69 | ng.purposes.only).-->.....<div.i |
19a20 | 64 3d 22 65 72 72 6f 72 50 61 67 65 43 6f 6e 74 61 69 6e 65 72 22 3e 0a 20 20 20 20 0a 20 20 20 | d="errorPageContainer">......... |
19a40 | 20 20 20 3c 21 2d 2d 20 45 72 72 6f 72 20 54 69 74 6c 65 20 2d 2d 3e 0a 20 20 20 20 20 20 3c 64 | ...<!--.Error.Title.-->.......<d |
19a60 | 69 76 20 69 64 3d 22 65 72 72 6f 72 54 69 74 6c 65 22 3e 0a 20 20 20 20 20 20 20 20 3c 68 31 20 | iv.id="errorTitle">.........<h1. |
19a80 | 69 64 3d 22 65 72 72 6f 72 54 69 74 6c 65 54 65 78 74 22 3e 26 72 6f 62 6f 74 73 2e 65 72 72 6f | id="errorTitleText">&robots.erro |
19aa0 | 72 54 69 74 6c 65 54 65 78 74 3b 3c 2f 68 31 3e 0a 20 20 20 20 20 20 3c 2f 64 69 76 3e 0a 20 20 | rTitleText;</h1>.......</div>... |
19ac0 | 20 20 20 20 0a 20 20 20 20 20 20 3c 21 2d 2d 20 4c 4f 4e 47 20 43 4f 4e 54 45 4e 54 20 28 74 68 | ...........<!--.LONG.CONTENT.(th |
19ae0 | 65 20 73 65 63 74 69 6f 6e 20 6d 6f 73 74 20 6c 69 6b 65 6c 79 20 74 6f 20 72 65 71 75 69 72 65 | e.section.most.likely.to.require |
19b00 | 20 73 63 72 6f 6c 6c 69 6e 67 29 20 2d 2d 3e 0a 20 20 20 20 20 20 3c 64 69 76 20 69 64 3d 22 65 | .scrolling).-->.......<div.id="e |
19b20 | 72 72 6f 72 4c 6f 6e 67 43 6f 6e 74 65 6e 74 22 3e 0a 20 20 20 20 20 20 0a 20 20 20 20 20 20 20 | rrorLongContent">............... |
19b40 | 20 3c 21 2d 2d 20 53 68 6f 72 74 20 44 65 73 63 72 69 70 74 69 6f 6e 20 2d 2d 3e 0a 20 20 20 20 | .<!--.Short.Description.-->..... |
19b60 | 20 20 20 20 3c 64 69 76 20 69 64 3d 22 65 72 72 6f 72 53 68 6f 72 74 44 65 73 63 22 3e 0a 20 20 | ....<div.id="errorShortDesc">... |
19b80 | 20 20 20 20 20 20 20 20 3c 70 20 69 64 3d 22 65 72 72 6f 72 53 68 6f 72 74 44 65 73 63 54 65 78 | ........<p.id="errorShortDescTex |
19ba0 | 74 22 3e 26 72 6f 62 6f 74 73 2e 65 72 72 6f 72 53 68 6f 72 74 44 65 73 63 54 65 78 74 3b 3c 2f | t">&robots.errorShortDescText;</ |
19bc0 | 70 3e 0a 20 20 20 20 20 20 20 20 3c 2f 64 69 76 3e 0a 0a 20 20 20 20 20 20 20 20 3c 21 2d 2d 20 | p>.........</div>..........<!--. |
19be0 | 4c 6f 6e 67 20 44 65 73 63 72 69 70 74 69 6f 6e 20 28 4e 6f 74 65 3a 20 53 65 65 20 6e 65 74 45 | Long.Description.(Note:.See.netE |
19c00 | 72 72 6f 72 2e 64 74 64 20 66 6f 72 20 75 73 65 64 20 58 48 54 4d 4c 20 74 61 67 73 29 20 2d 2d | rror.dtd.for.used.XHTML.tags).-- |
19c20 | 3e 0a 20 20 20 20 20 20 20 20 3c 64 69 76 20 69 64 3d 22 65 72 72 6f 72 4c 6f 6e 67 44 65 73 63 | >.........<div.id="errorLongDesc |
19c40 | 22 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 75 6c 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c | ">...........<ul>.............<l |
19c60 | 69 3e 26 72 6f 62 6f 74 73 2e 65 72 72 6f 72 4c 6f 6e 67 44 65 73 63 31 3b 3c 2f 6c 69 3e 0a 20 | i>&robots.errorLongDesc1;</li>.. |
19c80 | 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 26 72 6f 62 6f 74 73 2e 65 72 72 6f 72 4c 6f 6e 67 | ...........<li>&robots.errorLong |
19ca0 | 44 65 73 63 32 3b 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 26 72 6f 62 | Desc2;</li>.............<li>&rob |
19cc0 | 6f 74 73 2e 65 72 72 6f 72 4c 6f 6e 67 44 65 73 63 33 3b 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 | ots.errorLongDesc3;</li>........ |
19ce0 | 20 20 20 20 20 3c 6c 69 3e 26 72 6f 62 6f 74 73 2e 65 72 72 6f 72 4c 6f 6e 67 44 65 73 63 34 3b | .....<li>&robots.errorLongDesc4; |
19d00 | 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 2f 75 6c 3e 0a 20 20 20 20 20 20 20 20 3c 2f | </li>...........</ul>.........</ |
19d20 | 64 69 76 3e 0a 0a 20 20 20 20 20 20 20 20 3c 21 2d 2d 20 53 68 6f 72 74 20 44 65 73 63 72 69 70 | div>..........<!--.Short.Descrip |
19d40 | 74 69 6f 6e 20 2d 2d 3e 0a 20 20 20 20 20 20 20 20 3c 64 69 76 20 69 64 3d 22 65 72 72 6f 72 54 | tion.-->.........<div.id="errorT |
19d60 | 72 61 69 6c 65 72 44 65 73 63 22 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 70 20 69 64 3d 22 65 72 | railerDesc">...........<p.id="er |
19d80 | 72 6f 72 54 72 61 69 6c 65 72 44 65 73 63 54 65 78 74 22 3e 26 72 6f 62 6f 74 73 2e 65 72 72 6f | rorTrailerDescText">&robots.erro |
19da0 | 72 54 72 61 69 6c 65 72 44 65 73 63 54 65 78 74 3b 3c 2f 70 3e 0a 20 20 20 20 20 20 20 20 3c 2f | rTrailerDescText;</p>.........</ |
19dc0 | 64 69 76 3e 0a 0a 20 20 20 20 20 20 3c 2f 64 69 76 3e 0a 0a 20 20 20 20 20 20 3c 21 2d 2d 20 42 | div>........</div>........<!--.B |
19de0 | 75 74 74 6f 6e 20 2d 2d 3e 0a 20 20 20 20 20 20 3c 78 75 6c 3a 62 75 74 74 6f 6e 20 78 6d 6c 6e | utton.-->.......<xul:button.xmln |
19e00 | 73 3a 78 75 6c 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6b 65 | s:xul="http://www.mozilla.org/ke |
19e20 | 79 6d 61 73 74 65 72 2f 67 61 74 65 6b 65 65 70 65 72 2f 74 68 65 72 65 2e 69 73 2e 6f 6e 6c 79 | ymaster/gatekeeper/there.is.only |
19e40 | 2e 78 75 6c 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 64 3d 22 65 72 72 6f | .xul"...................id="erro |
19e60 | 72 54 72 79 41 67 61 69 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 | rTryAgain"...................lab |
19e80 | 65 6c 3d 22 26 72 65 74 72 79 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | el="&retry.label;".............. |
19ea0 | 20 20 20 20 20 6c 61 62 65 6c 32 3d 22 26 72 6f 62 6f 74 73 2e 64 6f 6e 74 70 72 65 73 73 3b 22 | .....label2="&robots.dontpress;" |
19ec0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 72 6f | ...................oncommand="ro |
19ee0 | 62 6f 74 42 75 74 74 6f 6e 28 29 3b 22 20 2f 3e 0a 0a 20 20 20 20 20 20 3c 69 6d 67 20 73 72 63 | botButton();"./>........<img.src |
19f00 | 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 61 62 6f 75 74 | ="chrome://browser/content/about |
19f20 | 52 6f 62 6f 74 73 2d 77 69 64 67 65 74 2d 6c 65 66 74 2e 70 6e 67 22 0a 20 20 20 20 20 20 20 20 | Robots-widget-left.png"......... |
19f40 | 20 20 20 73 74 79 6c 65 3d 22 70 6f 73 69 74 69 6f 6e 3a 20 61 62 73 6f 6c 75 74 65 3b 20 62 6f | ...style="position:.absolute;.bo |
19f60 | 74 74 6f 6d 3a 20 2d 31 32 70 78 3b 20 6c 65 66 74 3a 20 2d 31 30 70 78 3b 22 2f 3e 0a 20 20 20 | ttom:.-12px;.left:.-10px;"/>.... |
19f80 | 20 20 20 3c 69 6d 67 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f | ...<img.src="chrome://browser/co |
19fa0 | 6e 74 65 6e 74 2f 61 62 6f 75 74 52 6f 62 6f 74 73 2d 77 69 64 67 65 74 2d 72 69 67 68 74 2e 70 | ntent/aboutRobots-widget-right.p |
19fc0 | 6e 67 22 0a 20 20 20 20 20 20 20 20 20 20 20 73 74 79 6c 65 3d 22 70 6f 73 69 74 69 6f 6e 3a 20 | ng"............style="position:. |
19fe0 | 61 62 73 6f 6c 75 74 65 3b 20 62 6f 74 74 6f 6d 3a 20 2d 31 32 70 78 3b 20 72 69 67 68 74 3a 20 | absolute;.bottom:.-12px;.right:. |
1a000 | 2d 31 30 70 78 3b 22 2f 3e 0a 20 20 20 20 3c 2f 64 69 76 3e 0a 0a 20 20 3c 2f 62 6f 64 79 3e 0a | -10px;"/>.....</div>....</body>. |
1a020 | 3c 2f 68 74 6d 6c 3e 0a 50 4b 03 04 14 00 00 00 00 00 f2 4b 18 3b fe 47 54 34 59 26 00 00 59 26 | </html>.PK.........K.;.GT4Y&..Y& |
1a040 | 00 00 24 00 00 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 61 62 6f 75 74 52 6f 62 6f 74 | ..$...content/browser/aboutRobot |
1a060 | 73 2d 69 63 6f 6e 2e 70 6e 67 89 50 4e 47 0d 0a 1a 0a 00 00 00 0d 49 48 44 52 00 00 00 40 00 00 | s-icon.png.PNG........IHDR...@.. |
1a080 | 00 40 08 06 00 00 00 aa 69 71 de 00 00 20 00 49 44 41 54 78 9c c5 bb 77 78 54 d7 b5 b0 7f b0 3a | .@......iq.....IDATx...wxT.....: |
1a0a0 | bd 18 30 ee 71 62 6c b0 51 c5 d8 14 d3 41 20 09 d4 25 d4 7b ef bd 6b 46 a3 de 35 23 8d a4 d1 8c | ..0.qbl.Q....A...%.{..kF..5#.... |
1a0c0 | da a8 f7 86 0a 55 a2 f7 5e 8c b1 71 c3 25 8e 1d 27 71 9c f8 26 36 bc df 1f 23 93 fc 92 fc be ef | .....U..^..q.%..'q..&6...#...... |
1a0e0 | b9 f7 c6 61 3d cf 7a 34 3a 1a 9d d9 eb 5d 6b af bd ce de 6b 04 e1 f1 c8 8c 93 c7 26 9d af 9d 9b | ...a=.z4:....]k....k.......&.... |
1a100 | ac f9 f8 d6 d9 95 8f 69 0c 8f 4f 2c ac 2d 56 9d 9c dc cf 5f bf f9 98 bb 37 ce de 7a dc e3 f9 8f | .......i..O,.-V...._....7..z.... |
1a120 | 8b a7 a7 f3 f2 82 fc cc 3f ab 1b 6b 1e 66 65 a5 0e 3e ee f1 3c 16 d9 bc 7b f3 5b ee 5e 6e 2d bb | ........?..k.fe..>..<...{.[.^n-. |
1a140 | 77 ef 9e fb b8 c7 f2 d8 24 3a 21 52 f1 b8 c7 f0 58 25 2d 23 69 e2 71 8f e1 b1 89 99 99 99 4e 4e | w.......$:!R....X%-#i.q.......NN |
1a160 | be f8 fa e3 1e c7 63 11 47 47 47 03 67 0f e7 d7 15 b5 d2 ef 6b 6b a5 2f 3f d6 c1 7c ab b7 e5 95 | ......c.GGG.g.......kk./?..|.... |
1a180 | 8b 82 99 ce 7f ea f3 14 d5 25 1d 45 45 12 72 72 32 e8 e9 68 a0 bf bb f9 eb a1 fe 96 df 0d f5 a8 | .........%.EE.rr2..h............ |
1a1a0 | 0f f6 77 d6 1b 09 82 f0 84 20 08 c2 2d ed d7 36 fc a0 bf 63 d3 cf 3e a0 cb ba 26 2e 0f 66 6d bf | ..w.........-..6...c..>...&..fm. |
1a1c0 | 75 5f 58 6b f0 8f 7f 2b 33 77 5c f8 5f 3e e2 62 a4 4d db fe 9b b7 d5 3e 39 34 34 e7 f4 e9 91 67 | u_Xk...+3w\._>.b.M.....>944....g |
1a1e0 | 4e 1c 1e 5d 3e 32 d2 69 da d7 d7 ba be a6 a6 cc a9 51 55 45 7e be 18 a5 42 4a 47 ab 92 ee f6 06 | N..]>2.i.........QUE~...BJG..... |
1a200 | 46 87 3a 38 32 de cf 50 b7 fa bb 85 0b 0d 9e 15 04 41 28 17 84 a6 3f 1b 6c fe e1 af 7a 5b 22 05 | F.:82..P.........A(...?.l...z[". |
1a220 | 41 98 f1 ef b0 f5 5f ca 98 f0 2b bd 3b ba 6f fe 09 83 9d 6d ff f8 41 ca a7 df 3a 74 d5 2b 81 87 | A....._...+.;.o....m..A...:t.+.. |
1a240 | a6 81 ff c5 e8 91 8d ff af 7b 7d 74 fb e2 b2 b8 c8 80 88 d2 22 f1 d0 a1 f1 be 4b 03 bd 2d 1f b7 | .........{}t........".....K..-.. |
1a260 | b4 28 bf ae 92 97 fd b9 a4 2c 9f a2 92 5c 8a 8a 73 28 2b 2f 44 5e 55 8a 4a 59 49 7b ab 92 d1 a1 | .(.......,...\..s(+/D^U.JYI{.... |
1a280 | 4e ce 9d 3c c8 8d 8b 53 0f 3f bc 7d fe f4 37 f7 ef 24 0d ef b3 3b d8 6b 68 cc 9f e7 ee fc f6 07 | N..<...S.?.}..7..$...;.kh....... |
1a2a0 | e1 b5 0d 3f 1b 00 41 10 84 c3 3a 86 aa 6f 0c 36 3d f8 41 7f bb 58 10 84 19 8e 82 a0 25 9d 67 52 | ...?..A...:..o.6=.A..X......%.gR |
1a2c0 | 3f a8 b3 9a a1 e5 e6 dc b7 89 06 23 bf fb 9c 3e fd 4f 51 f2 93 5c bf 3c b5 fb d0 78 ff 47 2a 55 | ?..........#...>.OQ..\.<...x.G*U |
1a2e0 | 15 f2 ea 72 ca 2a 0a 29 2c c9 a3 b4 ac 00 a9 ac 18 99 b4 98 92 d2 3c b2 73 33 11 65 a5 91 21 4a | ...r.*.),.............<.s3.e..!J |
1a300 | 41 94 95 46 4e 6e 26 65 65 f9 28 6a a5 f4 76 ab 39 30 de cf 99 e3 07 b8 7f ef 1a bf 7e f7 02 7f | A..FNn&ee.(j..v.90..........~... |
1a320 | 78 ff 3a bf 6f eb fd cb a7 9f de f6 78 f7 fa e9 57 6f dd ea d6 fd b7 03 e8 d5 5b f1 f2 51 3d 53 | x.:.o.......x...Wo........[..Q=S |
1a340 | fe 6b f6 4e d0 df e2 5b 38 df 28 ae 63 d6 1a 54 da 0b e8 d6 7e 95 71 33 1b fe f8 f2 3e 1e ae f4 | .k.N...[8.(.c..T....~.q3....>... |
1a360 | fa 18 59 eb 3f 15 2e 1f 7f fe 8e 59 69 49 ee 5f 32 c5 a9 64 88 d3 10 89 52 c8 ce cb a2 42 5a 8c | ..Y.?......YiI._2..d....R....BZ. |
1a380 | 42 21 a3 ae ae 92 ca ca 12 0a 8b b3 91 64 67 90 26 4a 22 2d 33 89 4c 51 0a 92 9c 0c 4a 4b f3 a8 | B!...........dg.&J"-3.LQ....JK.. |
1a3a0 | ad ad 40 dd 5c 47 77 57 33 fd 7d 6d 8c 0d f7 70 f1 cc 11 be fc f0 06 df fd fe 23 7e f7 e9 1d be | ..@.\GwW3.}m...p..........#~.... |
1a3c0 | f8 f0 fa 77 9f be 7b f9 dd f7 6e 9c 91 bf 77 e3 d4 2f 2f 5e 54 fc fb 72 d7 a0 be e9 27 57 66 6e | ...w..{...n...w..//^T..r....'Wfn |
1a3e0 | e0 da ec b7 1f d4 cf 36 a5 6f e6 1b b4 eb be 80 42 6b 16 7d fa a6 9c 5e 6e c9 0f 73 76 f3 f0 49 | .......6.o......Bk.}...^n..sv..I |
1a400 | eb 61 41 10 84 cf 53 8b 2e 4c ad df fd eb ee e5 af 06 aa 94 f2 8b b9 a5 f9 48 72 45 a4 89 d2 c8 | .aA...S..L...............HrE.... |
1a420 | 2d cc a6 42 5a 44 bd 4a 4e 73 93 02 a5 b2 92 8a 8a 42 b2 73 33 49 cf 4c 26 35 23 91 84 e4 58 12 | -..BZD.JNs.......B.s3I.L&5#...X. |
1a440 | 53 62 c9 10 a5 50 5c 9c 83 42 21 a5 45 ad a4 bb 4b 4d 7f 5f 1b 03 7d 6d 0c f4 b5 73 fc e8 7e be | Sb...P\..B!.E...KM._..}m...s..~. |
1a460 | fe e4 36 bf fb fc 5d be fa e4 16 1f be 73 9e b3 c7 27 38 34 de cf a9 a9 89 91 8f 6e 5f 34 fd b7 | ..6...]......s...'84.......n_4.. |
1a480 | 00 a8 9e 6b 14 d1 65 60 46 d3 6c 53 da 67 ad a6 6b e6 6a fa 0d cc a8 d3 9e 4b a3 f6 62 f6 cf 59 | ...k..e`F.lS.g..k.j......K..b..Y |
1a4a0 | cb a7 0b 77 80 c1 8e 87 ef eb af bb 70 ed 95 bd dc f7 17 71 d3 35 04 f9 2f 5e a0 20 2e 82 ec bc | ...w........p......q.5../^...... |
1a4c0 | 2c 32 c4 a9 14 95 e4 a1 a8 ab a4 a5 45 49 53 63 2d 35 d5 e5 14 14 4a c8 14 a7 12 97 18 85 bb a7 | ,2..........EISc-5....J......... |
1a4e0 | 0b a1 c1 3e 24 04 7b 13 17 ea 47 5a 9e 98 dc 3c 11 ad 2d 4a 7a 7b 5b 19 ec 6f 67 70 a0 83 c1 fe | ...>$.{...GZ...<..-Jz{[..ogp.... |
1a500 | 76 fa fb da b8 73 fd 34 bf ff ec 0e 9f dc bd cc b5 0b 53 1c 1c ed a5 b3 4d 45 47 5b 3d e3 c3 7d | v....s.4..........S.....MEG[=..} |
1a520 | 1f 5e 9c 98 58 f6 bf 06 10 32 6f d5 82 5e 83 d5 a8 e7 98 d1 30 c7 94 86 39 a6 34 cd 31 43 3d f3 | .^..X....2o..^......0...9.4.1C=. |
1a540 | 75 64 5a 5a 74 e8 bc c0 d4 9c 0d fc 76 b1 05 67 e6 ae e7 a4 8e 11 e7 e6 ac e5 dd ed 01 7c 18 9e | udZZt.......v..g.............|.. |
1a560 | 49 f3 93 4f 22 b6 b7 21 25 5f 4c 46 46 32 cd 4d 0a da 5a 55 d4 ab e4 48 a5 45 64 e7 8a 88 8c 09 | I..O"..!%_LFF2.M..ZU...H.Ed..... |
1a580 | 23 32 21 9a 96 68 2f ae ed 7c 95 4f d6 2f e5 8b 37 e7 70 7a f3 2f 68 96 17 23 95 16 d1 df db ca | #2!..h/..|.O./..7.pz./h..#...... |
1a5a0 | f0 60 27 43 03 1d 0c 0d 74 d0 df db ca e5 b3 47 f9 ea 93 5b dc bf 7b 99 77 ae 9e 62 ea d0 30 75 | .`'C....t......G...[..{.w..b..0u |
1a5c0 | 75 32 2a 2b 4b 68 6d 51 3e 1c e8 6b 09 fc 37 c4 80 20 c8 16 18 9f aa 9d 67 42 e5 02 53 64 f3 56 | u2*+KhmQ>..k..7.........gB..Sd.V |
1a5e0 | 22 9f fd 12 aa b9 ab a9 d3 7f 01 b9 96 0e fd 7a 2b 38 a4 67 ca 11 5d 63 8e e8 1a 33 a5 63 c4 49 | "..............z+8.g..]c...3.c.I |
1a600 | 2d 63 ae 2f df cb 25 4b 0f 6a f4 f4 c9 dd 6b 81 ac 56 8a ba b9 8e 16 b5 12 85 42 46 49 49 1e c9 | -c./..%K.j....k..V........BFII.. |
1a620 | a9 f1 c4 25 44 71 38 25 80 ef df 98 c5 8f 6f eb f3 c0 fd 45 38 a8 80 52 3f 3e 7b 73 16 ed b9 c9 | ...%Dq8%......o....E8..R?>{s.... |
1a640 | d4 d4 94 33 3a d2 c3 c8 50 17 c3 03 9d 0c f6 77 30 79 68 98 0f df b9 c8 17 1f 5c e3 fd 5b e7 38 | ...3:...P......w0yh.......\..[.8 |
1a660 | 35 35 4e 4d 4d 05 29 a9 09 34 35 29 18 19 e8 bc d1 da 2a fb df 3f 54 45 2e 7b 6d 57 f5 02 33 4a | 55NMM.)..45)......*..?TE.{mW..3J |
1a680 | e7 bf 42 a5 96 0e 85 3a 7a e5 e5 8b 4c bf 53 ce 5b 43 b5 de 42 6a b5 0c 18 d4 33 a4 63 a6 19 f2 | ..B....:z...L.S.[C..Bj....3.c... |
1a6a0 | d9 46 28 66 1a 32 a4 6f cc a4 8e 11 57 16 6f e3 f0 ca f5 94 09 02 12 37 67 ea eb ab 69 6e aa a3 | .F(f.2.o....W.o........7g...in.. |
1a6c0 | a6 ba 9c bc 7c 31 6e 9e 2e 9c 3d d0 cf 6f 37 2c e1 c7 cd 33 79 10 f1 34 0c 06 c2 c7 c7 e1 f6 08 | ....|1n...=..o7,...3y..4........ |
1a6e0 | 0f 5c 9e e1 a6 e3 1b 14 65 a7 31 34 d0 c1 e8 48 f7 a3 48 98 18 ed e5 d6 e5 13 dc 7f ef 0a 1f dc | .\......e.14...H..H............. |
1a700 | 3e cf b9 93 07 10 8b 53 38 d4 dd c0 fd 82 28 7e 93 ec c2 d7 2a bf ff 6e ad f2 af a5 74 ce 2f 3f | >......S8.....(~....*..n....t./? |
1a720 | ab 9c 31 e3 ae 5c 4b 2b 40 10 04 21 6a d9 aa a0 9a 79 9a 29 21 d7 d2 a3 61 f6 eb c8 e6 ae a2 5d | ..1..\K+@..!j....y.)!...a......] |
1a740 | fb 55 ba b4 57 d2 a2 bb 92 41 7d 23 4e 68 19 72 79 fe 26 6a 75 f4 c9 9e 35 8b d2 3c 31 8d 0d d5 | .U..W....A}#Nh.ry.&ju...5..<1... |
1a760 | c8 64 c5 64 64 26 93 21 4a e1 78 47 2d ac 14 78 b0 6f 21 a8 d7 c3 90 39 5c 2a 84 b3 d9 3c 48 5e | .d.dd&.!J.xG-..x.o!....9\*...<H^ |
1a780 | ce 17 e6 8b 29 4a 8e a0 bd 4d c5 f8 68 2f fb 87 ba 18 1a e8 60 7c 7f 2f 57 ce 4d 72 ef d6 39 ee | ....)J...M..h/......`|./W.Mr..9. |
1a7a0 | de 3c 4b 57 5b 3d 9d 5d cd 7c 66 f9 2a 0f de d4 e6 81 c3 52 a8 b2 18 ff b7 00 f8 17 f2 44 f1 42 | .<KW[=.].|f.*......R.........D.B |
1a7c0 | e3 8f 94 73 cd 68 9e 6d 42 c5 42 33 1a 75 5f a2 51 6b 1e 43 da 2b e9 d7 5e 89 dc e0 35 26 75 8d | ...s.h.mB.B3.u_.Qk.C.+..^...5&u. |
1a7e0 | 39 a3 63 4a 8f f6 52 a4 82 80 c8 7c 1b aa c6 5a ca ca f2 49 49 4b 20 31 2d 81 81 ec 78 30 11 78 | 9.cJ..R....|...Z...IIK.1-...x0.x |
1a800 | 10 f8 34 f4 6e 81 51 6b 18 d9 03 bd 9b 78 98 bb 92 af 2d 16 21 09 f3 a1 bd 55 c5 c4 58 2f fb 87 | ..4.n.Qk.....x....-.!....U..X/.. |
1a820 | bb 19 1a ec 60 ff 70 17 a7 8f 8d 73 fb ea 29 6e 5e 3e 41 5b 5b 3d 93 8a 42 30 13 78 e0 f7 24 5c | ....`.p....s..)n^>A[[=..B0.x..$\ |
1a840 | 54 c0 47 13 30 39 a9 fd b3 10 f0 7d ee f5 9d b5 f3 4c 68 98 63 46 c9 22 13 1a f5 5e a3 49 7b 29 | T.G.09.....}.....Lh.cF."...^.I{) |
1a860 | ed da 4f d3 a3 fd 1a b9 33 5f 65 5c cf 84 93 ba 26 8c 68 bf 80 ec 09 81 ac 65 4f 51 a5 90 52 54 | ..O.....3_e\....&.h......eOQ..RT |
1a880 | 9c 43 72 6a 3c fb 3c f6 e1 1f e0 05 ab 9f e0 a1 eb 22 68 5c 07 c3 3b 61 70 07 74 6e 82 84 5f f0 | .Crj<.<.........."h\..;ap.tn.._. |
1a8a0 | fe d6 27 49 4a 8c a6 af 47 cd c1 f1 3e c6 46 ba 19 99 9e 06 87 0f 0c 70 e5 ec 51 ae 5d 98 a2 b3 | ..'IJ...G...>.F........p..Q.]... |
1a8c0 | a7 85 eb a2 60 b0 d0 87 6a 53 38 1e 01 ef 77 c2 bd 26 cb 9f 05 80 e3 b3 cf 1a e4 3c 69 3c 56 37 | ....`...jS8...w..&.........<i<V7 |
1a8e0 | d7 84 e2 45 c6 94 ce 7c 8d 16 9d d7 a8 d7 5a 48 83 ce b3 88 66 af 64 c0 c0 84 a3 ba 26 74 eb bc | ...E...|......ZH....f.d.....&t.. |
1a900 | 48 e5 13 33 c8 d5 d5 a5 b8 38 97 bc 7c 31 89 a9 71 b8 b8 3b 63 ed e9 ce d8 c6 97 60 8b 1e 0f c2 | H..3.....8..|1..q..;c......`.... |
1a920 | 9f 83 2a 33 a8 5d 03 99 2f f3 d7 9d 5a 34 fa db 92 57 20 61 74 b8 8b 83 e3 fd 8c 8d f4 3c 02 b0 | ..*3.]../...Z4...W.at........<.. |
1a940 | 7f b8 8b 53 c7 c6 b8 7c 7e 12 75 8b 8a fd f1 de 60 37 07 1a df 84 93 b1 70 3e 03 0e ec aa fd 59 | ...S...|~.u.....`7......p>.....Y |
1a960 | 00 08 82 20 f8 bf f0 da 56 f9 3c 93 ef cb 16 99 90 ba 70 25 a5 fa 2b a8 d1 7b 8d 62 fd 5f 91 3a | ........V.<.......p%..+..{.b._.: |
1a980 | 77 05 dd 06 a6 8c e9 99 a2 d2 79 8a 2a 2d 2d f2 f4 f5 c9 15 a5 90 9d 93 41 42 72 2c fe c1 be ec | w.........y.*--.........ABr,.... |
1a9a0 | b5 b5 c2 c5 db 8d be 2d cb f9 ee 2d 2d b0 d0 05 6b 03 be dd a0 4d 6f 88 3d 65 65 79 b4 ab 15 1c | .......-...--...k....Mo.=eey.... |
1a9c0 | 3d 30 c8 c1 f1 fe 47 89 70 b0 bf 9d a1 81 0e 0e 8d 0f 70 e1 f4 61 ba 3b 1a 09 0f f4 e6 af e6 73 | =0....G.p.........p..a.;.......s |
1a9e0 | 20 7b 05 0c 59 c2 01 7b 18 31 3f fd b3 01 70 14 5e d3 2d 5d 68 74 bc 7a be 09 f9 8b 4d 48 58 b0 | .{..Y..{.1?...p.^.-]ht.z....MHX. |
1aa00 | 82 f8 79 af 10 3b ff 55 aa e6 1a d3 63 60 46 bf 81 29 95 da 73 35 00 16 2c 40 9c 96 80 38 2b 9d | ..y..;.U....c`F..)..s5..,@...8+. |
1aa20 | f8 84 28 c2 23 83 f1 f2 75 c7 62 ef 6e 92 93 a3 29 16 27 d1 1f ed c1 68 4a 30 1d aa 2a ea d5 75 | ..(.#...u.b.n...).'....hJ0..*..u |
1aa40 | 34 aa 2a 99 3a 3c cc e4 a1 21 26 46 35 39 60 78 ba 1e 18 ec 6f 67 74 a4 9b b3 c7 0f 70 60 b4 97 | 4.*.:<...!&F59`x....ogt.....p`.. |
1aa60 | a0 b8 68 da 9c 37 c2 2e 5d 1e 84 3e cb c3 f4 e5 50 f4 fa 17 88 35 8f d3 3f 8b d8 be f4 ea 72 d5 | ..h..7..]..>....P....5..?.....r. |
1aa80 | 1c e3 87 35 f3 4c 90 2e 30 a1 74 81 31 35 f3 4c 51 cf 36 a3 6b e6 6a 1a f5 96 23 d3 9a 41 b5 96 | ...5.L..0.t.15.LQ.6.k.j...#..A.. |
1aaa0 | 16 69 cf 3d 83 a4 20 0b 71 56 1a b1 f1 51 84 45 06 11 1a 11 44 58 54 10 9e de ae 64 67 a7 53 a3 | .i.=....qV...Q.E....DXT....dg.S. |
1aac0 | ac 44 51 57 89 aa 4e ca 40 6f 2b 47 0f 0e 31 75 78 84 83 13 d3 e1 3f bd 0a 0c f6 b7 3f 8a 82 e3 | .DQW..N.@o+G..1ux.....?.....?... |
1aae0 | 47 f7 33 75 78 84 6a 79 19 ae a1 41 b4 db 6f e0 93 ed 4f f3 e7 3d cb f8 63 f9 9e 6f 3f 1c 88 9e | G.3ux.jy...A..o...O..=..c..o?... |
1ab00 | ff b3 01 10 04 41 70 7c f1 35 e3 86 39 a6 7f 68 98 6d f2 b0 71 8e 19 ea d9 6f d0 32 7b 0d 2a fd | .....Ap|.5..9..h.m..q....o.2{.*. |
1ab20 | 97 a9 d4 d2 41 ae a5 45 a9 20 10 16 e0 43 49 59 3e 62 49 1a d1 71 11 84 46 04 11 1a 19 44 54 6c | ....A..E.....CIY>bI..q..F....DTl |
1ab40 | 18 49 a9 71 64 8a 52 28 2f 2f 40 dd ac a0 bf 57 cd c4 68 0f 47 0e 0e 72 f4 e0 d0 ff 2f 80 c1 fe | .I.qd.R(//@....W..h.G..r..../... |
1ab60 | 76 a6 0e 0f 73 ec f0 08 c3 83 1d 54 cb 4b f1 f0 f1 20 27 35 86 be 36 25 c3 fd 75 7f 1a 69 fb 0f | v...s......T.K....'5..6%..u..i.. |
1ab80 | ec 30 e5 59 3b ae ac 5f bf f7 f3 a6 19 2f 50 ab f7 02 32 9d d9 54 69 3d 41 a5 96 16 f9 fa fa 78 | .0.Y;.._...../P...2..Ti=A......x |
1aba0 | 6f dd 48 56 7e 16 15 d2 22 b2 24 e9 44 c6 84 e1 e9 eb 81 9d b3 1d 7b 6c ac d8 6d b5 0b 73 4b 73 | o.HV~...".$.D.........{l..m..sKs |
1abc0 | 2c f7 5a 60 e7 68 83 9b bb 33 21 61 01 c4 27 46 93 9d 9b 49 59 79 01 55 f2 32 d4 cd 75 0c f4 b7 | ,.Z`.h...3!a..'F...IYy.U.2..u... |
1abe0 | 33 d0 df 41 5f 6f 2b 07 46 7b 39 77 f2 20 47 0f 0d 33 d8 df 4e 5f 4f 2b 15 d2 22 12 92 62 29 2a | 3..A_o+.F{9w..G..3..N_O+.."..b)* |
1ac00 | ca a1 a7 bb e5 8f 03 dd 6d c6 3f 3b 80 8f af 9f 58 70 e9 c2 e4 fb e9 21 7e 24 fc e2 79 52 17 2f | ........m.?;....Xp.....!~$..yR./ |
1ac20 | 22 66 d9 53 f8 ac 78 05 47 ab 5d 44 25 44 23 93 15 53 55 59 42 56 76 3a e1 51 21 bc ba f2 15 e6 | "f.S..x.G.]D%D#..SUYBVv:.Q!..... |
1ac40 | cc 9d c3 cc 59 33 d1 d3 d3 e3 17 0b 74 99 a9 a7 83 96 96 16 33 04 81 f9 5a 02 82 20 30 77 86 c0 | ....Y3......t.......3...Z...0w.. |
1ac60 | f2 c5 33 59 f6 d4 12 9e 7e e1 17 2c 7c 71 39 6f be b5 86 3d d6 96 b8 7b b9 12 11 11 8c 38 2b 8d | ..3Y....~..,|q9o...=...{.....8+. |
1ac80 | aa aa 12 da 5b 55 54 55 95 91 25 c9 a0 aa aa 94 be de d6 ef fa fa 5a df f8 d9 01 dc ba 75 4b f7 | ....[UTU..%...........Z......uK. |
1aca0 | 8b 0f af dd 2c ab 2c c5 27 32 14 1b 67 47 ac 6c f6 60 65 bb 97 c0 b0 20 4a cb 0b a9 57 c9 a9 aa | ....,.,.'2..gG.l.`e.....J...W... |
1acc0 | 2a 45 92 9d 41 68 44 10 4b 96 2c 41 10 04 84 19 33 58 3c 5b 87 5b be 73 59 f7 b4 0e 82 20 e0 bd | *E..AhD.K.,A....3X<[.[.sY....... |
1ace0 | 5c 0b f9 06 cd 6b df 57 b4 39 62 a5 87 be 96 c0 d6 a7 b5 b8 62 af c7 cc 27 04 ac 9e 16 88 5c 2e | \....k.W.9b.........b...'.....\. |
1ad00 | a0 a3 ad cd b2 85 73 58 fa ec b3 ac 7d 7b 1d 7b ed f6 10 15 13 46 75 75 39 fd bd ad 7f 1d ec 6e | ......sX....}{.{.....Fuu9......n |
1ad20 | fd cf 9c 35 7e f9 f1 cd 73 2a 95 9c 88 d8 08 a2 63 23 b0 db e7 80 97 9f 17 a9 19 49 28 14 32 ea | ...5~...s*......c#.........I(.2. |
1ad40 | eb e5 7f 8b 80 c8 10 e6 cd 9f cb ac 59 33 79 e9 c5 e7 59 b9 e2 15 9e 7e 69 39 cf 3e f7 2c 0b 16 | ............Y3y...Y....~i9.>.,.. |
1ad60 | cc 43 eb 89 27 10 04 01 7d 7d 7d f4 e7 cc 43 30 98 c7 ac 59 b3 d0 12 04 e6 0a 9a c8 78 de 40 60 | .C..'...}}}...C0...Y........x.@` |
1ad80 | ed 92 19 cc 10 04 de 71 d6 c7 fa f9 19 08 82 80 8e ae 0e af ac 7c 95 ca ca 12 fa 7b db 50 28 14 | .......q.............|.....{.P(. |
1ada0 | 33 ff 23 00 be fe e4 f6 c1 da 5a 29 a1 51 61 b8 fb 78 60 ef e2 88 6f 90 2f 29 e9 89 54 48 8b 90 | 3.#.......Z).Qa..x`...o./)..TH.. |
1adc0 | 57 97 51 5a 96 4f a6 38 95 88 e8 50 16 2c 98 4f 48 88 2f 31 b1 e1 04 04 fb e2 1f ec 4b 54 6c 18 | W.QZ.O.8...P.,.OH./1........KTl. |
1ade0 | 59 d9 e9 28 6a a5 b4 a8 eb 68 a8 af a6 4e 21 a5 a6 ba 1c 65 9d 8c f6 56 15 5d 1d 8d c8 a4 85 44 | Y..(j....h...N!....e...V.].....D |
1ae00 | 45 86 60 6b 6f cb f6 6d 9b 79 fe 95 95 cc 9c 69 a0 89 28 41 60 f9 ab cb a9 ae 2e a7 af a7 e5 87 | E.`ko..m.y.....i..(A`........... |
1ae20 | 9f c3 56 5d 41 10 fe 69 2f 70 6a bc 6f b8 55 5d 87 4f a0 2f 6e de 6e 38 b8 38 e2 ee e3 41 6c 42 | ..V]A..i/pj.o.U].O./n.n8.8...AlB |
1ae40 | 14 09 c9 b1 88 b2 d2 10 65 a5 91 98 12 87 b7 9f 27 eb de 5e 8b 83 8b 03 7b ed f7 62 6d 6f 8d ad | ........e.......'..^....{..bmo.. |
1ae60 | 93 2d ce 6e 4e f8 05 7a 93 98 1c 47 61 a1 84 da 5a a9 66 1f a1 ad 9e ae ce 66 7a ba 5b e8 ef 6b | .-.nN..z...Ga...Z.f......fz.[..k |
1ae80 | 63 62 b4 8f 89 b1 3e 46 f7 f7 32 38 d0 c1 40 5f 1b c7 27 47 19 1d ec c4 d2 62 27 2b 5e 7b 95 a6 | cb....>F..28..@_..'G.....b'+^{.. |
1aea0 | a6 5a ca cb f2 a6 fe d7 d6 9e 15 17 3e 7b 3a 3c 35 aa d1 c1 ab 35 6f 93 c5 d1 f2 cd 7b 4e 17 be | .Z..........>{:<5....5o.....{N.. |
1aec0 | 65 7e 42 64 fc f6 e8 ee 17 5f 8a 9e 7e db 0c 7f 9f 7d ce 87 c7 7b be f1 f2 f7 c2 d9 cd 89 3d 0e | e~Bd....._..~....}...{........=. |
1aee0 | d6 58 d9 ee c1 d3 c7 1d 57 6f 37 fc 43 fc 08 0e 0b 24 20 d8 17 6b bb bd d8 38 da 60 69 6b c5 6e | .X......Wo7.C....$...k...8.`ik.n |
1af00 | 6b 0b 76 59 5b 60 61 6b c1 5e 07 6b 1c 5d 1d 09 08 f6 25 21 29 86 dc 3c 11 52 59 11 8a 5a 29 8d | k.vY[`ak.^.k.]....%!)..<.RY..Z). |
1af20 | 0d 35 a8 9b eb 68 6d 51 32 d0 d7 ca 40 5f 1b 9d 9d 4d 74 75 34 d1 dd a5 a6 a7 bb 85 16 75 1d 12 | .5...hmQ2...@_...Mtu4........u.. |
1af40 | 49 3a 9b b6 6e a4 a3 bd 01 6f ef 7d a9 ff 23 a3 27 27 27 b5 bf ec ea b2 bf 14 91 7e a7 67 9d 2d | I:..n....o.}..#.'''........~.g.- |
1af60 | 35 86 3b a8 f8 d5 db 48 9f 5f 4b f5 d2 37 50 2e 58 4d f3 dc d5 0c 2e 58 87 7a c9 da 07 76 f3 9f | 5.;....H._K..7P.XM.....X.z...v.. |
1af80 | 15 3f f7 f2 73 3e 31 71 61 d7 23 a2 82 1f fa 07 f9 60 eb 64 fb bb 5d 7b 76 7d 6f e3 a8 f1 ae 9d | .?..s>1qa.#......`.d..]{v}o..... |
1afa0 | b3 1d d6 0e d6 6c df bd 93 d5 eb d6 b0 69 c7 16 36 ed dc c2 a6 1d 5b d8 b0 6d 23 1b b6 6e 64 d3 | .....l.......i..6.....[..m#..nd. |
1afc0 | 8e 2d ec b0 dc 89 8d 93 2d 5e fe 9e 84 45 86 90 90 1c 4b ba 28 85 ec 9c 4c 8a 8b 73 91 4a 8b 50 | .-......-^...E....K.(...L..s.J.P |
1afe0 | 2a 2b 69 68 a8 46 a5 ac a2 a1 be 9a e6 e6 5a 9a 9a 6a 29 29 cd 23 2e 31 1a 07 67 5b da da 54 3f | *+ih.F........Z..j)).#.1..g[..T? |
1b000 | 6e 5c 67 b6 f3 7f 04 e0 8f 63 e3 ad ef 8a 4a 68 34 36 27 eb 29 63 d2 9f 32 44 b2 c4 98 92 85 c6 | n\g......c....Jh46'.)c..2D...... |
1b020 | d4 cc 33 a1 71 b6 29 1d b3 cc e8 35 30 63 44 df 8c 03 7a a6 0f bb 66 9b 3e dc b3 75 2b 1b 77 6d | ..3.q.)....50cD...z...f.>..u+.wm |
1b040 | 63 f3 ce ad d8 3a d9 62 65 67 49 57 bb 0a 99 b4 90 8a b2 3c 64 15 05 54 4a f3 29 29 ca 20 39 29 | c....:.begIW.......<d..TJ.))..9) |
1b060 | 94 c0 20 6f dc 3c 3d 09 08 f6 c7 d7 cf 1d 67 17 07 ac 6c 2c d8 69 b1 83 9d 96 e6 d8 3a d9 e1 e8 | ...o.<=.......g...l,.i......:... |
1b080 | ea 84 93 ab 23 f6 fb 1c f0 f0 f5 24 3c 3a 94 a4 b4 78 d2 33 93 c9 10 a7 20 96 a4 93 9b 9f 45 6e | ....#......$<:...x.3..........En |
1b0a0 | 7e 16 09 29 71 04 87 05 e1 e3 e7 89 ba 59 81 20 08 7a ff 6d e3 bf 3f 7e 62 e2 fd ac 32 5a 57 5b | ~..)q........Y...z.m..?~b...2ZW[ |
1b0c0 | 92 f1 94 11 c9 cb 0c 11 2d 31 a2 78 91 31 d5 d3 65 6e 8f 81 19 43 fa a6 8c ea 9b 72 40 cf 84 23 | ........-1.x.1..en...C.....r@..# |
1b0e0 | ba c6 9c d4 36 a2 67 e6 2a 6c 76 ee 20 30 d8 17 1b 47 1b 36 ee d8 82 58 9c 42 6f 67 23 ca 3a 29 | ....6.g.*lv..0...G.6...X.Bog#.:) |
1b100 | e5 65 f9 0c cb 37 73 be ed 2d ee f4 af e6 fe f8 6a be 98 58 89 bc 38 14 a5 52 4e bd b2 92 c6 fa | .e...7s..-......j..X..8..RN..... |
1b120 | 2a ea 95 32 6a ab 4b 29 2d ce a1 a8 30 8b e2 22 09 a5 c5 b9 88 32 93 88 8d 0b 27 2c 3c 88 b0 f0 | *..2j.K)-...0..".....2....',<... |
1b140 | 40 a2 a2 43 88 8c 0a 21 24 2c 80 80 20 5f 5c dc 5d f0 f0 71 27 31 25 9e e0 60 df b1 ff 91 f7 3f | @..C...!$,..._\.]..q'1%..`.....? |
1b160 | 8c cb a5 eb 17 5b c8 7e d2 88 94 65 86 64 3e 65 44 d1 22 13 94 73 4d 69 9f 65 c6 a0 81 19 a3 fa | .....[.~...e.d>eD."..sMi.e...... |
1b180 | a6 1c 9c 36 7c 4a c7 88 e3 3a 46 9c d0 31 e2 a4 8e 11 15 4b 8c d8 b4 f9 6d 5c 3c 9c 71 f3 72 61 | ...6|J...:F..1.....K....m\<.q.ra |
1b1a0 | 87 e5 4e 7a 3b 1b 18 19 68 a3 bd 45 45 b3 aa 98 8a d2 5c 2a 4a 24 48 8b e2 a8 29 0e a2 51 1a 44 | ..Nz;...h..EE.....\*J$H...)..Q.D |
1b1c0 | a3 b2 8c a6 06 39 0d f5 55 34 28 2b a9 57 ca 50 d5 c9 a8 ab 2d 47 51 53 4e 6d 4d 39 4a 85 14 65 | .....9..U4(+.W.P....-GQSNmM9J..e |
1b1e0 | 9d 14 a5 a2 82 3a 45 05 8a 9a 72 14 b5 e5 34 a8 aa a8 28 cd a6 a1 d8 89 9e ea 7d 74 c8 bd a9 2c | .....:E...r...4...(.......}t..., |
1b200 | 8e be 3b 7f fe fc f9 fb 5d 43 cc ee b9 26 84 dc 0f c9 8c f8 75 96 74 db e7 85 f2 15 ff 57 00 13 | ..;.....]C...&......u.t......W.. |
1b220 | 8b 36 52 ba d0 98 94 65 86 a4 3f 65 48 d1 22 63 14 f3 4c e9 9c a9 f1 fa b8 ae 31 87 75 0c 99 d2 | .6R....e..?eH."c..L.......1.u... |
1b240 | 31 e2 d8 b4 e1 27 74 8c 38 35 ad 27 9f 78 1d cf d7 56 e3 ec b9 0f 73 4b 73 b6 ec da 86 8f bf 27 | 1....'t.85.'.x...V....sKs......' |
1b260 | 77 af 9d e2 f4 d4 18 3d 5d 5d 9c 6d 5d c7 f5 ee 35 5c 6c 7f 93 8b 1d 6b b9 d9 bb 81 fd f5 6e 1c | w......=]].m]...5\l....k......n. |
1b280 | 9e 18 e6 f8 e1 61 4e 1c 19 e6 d8 e1 21 0e 8c f6 30 d8 db 42 47 6b 1d ea c6 6a 9a 1b 6b 50 37 56 | .....aN.....!...0..BGk...j..kP7V |
1b2a0 | d3 d2 58 43 6b 53 2d ea a6 1a d4 4d 35 34 37 55 d3 dc 50 85 52 16 4f 49 96 2f 8d 65 ee f4 48 b7 | ..XCkS-....M547U..P.R.OI./.e..H. |
1b2c0 | d1 55 59 c2 b1 0d 6e dc 30 71 e2 ee 36 7f ee 39 c5 f0 51 60 fa ef ef c7 e4 9c f9 6d 43 c7 73 c2 | .UY...n.0q..6..9..Q`.......mC.s. |
1b2e0 | bf 3a 63 6c 9a 65 4c e6 53 86 24 2d d3 cc fb aa f9 26 b4 ce d6 18 7f 50 cf 94 33 8b 36 73 e9 19 | .:cl.eL.S.$-.....&.....P..3.6s.. |
1b300 | 73 ce ce 59 c7 c9 bf 33 fc 94 8e 11 a7 b4 0d 39 a3 65 48 cf 3c 63 76 3b ee 65 e3 8e 2d 6c d9 b5 | s..Y...3.......9.eH.<cv;.e..-l.. |
1b320 | 8d 8d db b7 50 5c 2c e1 fb af 3e e0 e6 c5 13 dc b9 72 94 3b 57 8e 71 fd c2 71 2e 9f 3b c6 85 53 | ....P\,...>......r.;W.q..q..;..S |
1b340 | 47 b9 74 ea 00 1f dc 3c cd 67 f7 ae f2 f9 fb 57 f8 f4 ee 65 3e ba 7d 81 f7 6f 9e e5 c6 c5 29 ce | G.t....<.g.....W...e>.}..o....). |
1b360 | 1d 9f 60 f2 e0 00 07 f6 f7 30 36 d4 c9 fe c1 0e f6 0f b4 33 32 d0 c6 48 7f 3b c3 fd 6d f4 74 34 | ..`......06........32..H.;..m.t4 |
1b380 | 73 ac cd 8e 53 2d 5b 98 50 ee 62 b2 69 13 ad 79 5e 74 2e 7d 9b a3 b3 de e2 fc a2 2d dc 5c 69 c7 | s...S-[.P.b.i..y^t.}.......-.\i. |
1b3a0 | dd ed 01 bc 6f 1f c5 57 15 aa 98 7f 02 50 b8 c8 98 b8 67 0c 49 7d ca 90 c2 27 8d a9 9f 63 4a 9f | ....o..W.....P....g.I}...'...cJ. |
1b3c0 | 81 19 e3 fa a6 5c 78 79 0f ef 58 06 f3 ae 55 08 b7 de 70 e1 9c de 1a 4e 6a af e2 94 b6 e1 23 3d | .....\xy..X...U...p....Nj.....#= |
1b3e0 | a9 bd 8a 6b 73 de c2 e9 ed cd 6c de bd 9d 6d 16 3b d8 6e b1 93 2d e6 db 18 ee 6f e1 b7 9f be c3 | ...ks.....l...m.;.n..-....o..... |
1b400 | 95 73 93 1c 6e 0f e7 eb cb 22 be b9 51 ce 1f ef 48 f9 ee ae 8c 5b a7 9a f8 e2 de 35 3e 7d ef 0a | .s..n...."..Q...H....[.....5>}.. |
1b420 | 9f bd 77 95 cf ef 5d e3 d7 1f 5c e7 d7 f7 ae f1 e9 dd cb 7c 78 fb 3c 77 ae 9e e2 c6 c5 63 5c 3e | ..w...]...\........|x.<w.....c\> |
1b440 | 7b 84 f3 27 0f 72 e6 d8 38 a7 26 47 39 7e 44 13 3d 87 c6 06 68 ad 4b a7 bb 3e 95 ce 66 19 a3 fd | {..'.r..8.&G9~D.=...h.K..>..f... |
1b460 | 75 1c 18 6b a7 e1 0d 2b d4 c2 0a 8e eb ad e1 fa a2 9d 5c 5b 6a ce 6d 13 a7 1f bf 90 54 ca bb bb | u..k...+..........\[j.m.....T... |
1b480 | bb b5 1e 01 48 58 66 48 d4 33 86 64 2c 35 a4 6c a1 09 cd 73 cc 18 d4 37 e5 b0 ee 1b 5c 5b eb c6 | ....HXfH.3.d,5.l...s...7....\[.. |
1b4a0 | dd bd a1 7c 9a 50 c0 17 e2 0a 6e ae b4 e7 c2 ac b5 5c 9c bb 9e 8b b3 d7 71 61 e6 5a ce e9 ae e6 | ...|.P....n......\......qa.Z.... |
1b4c0 | a2 ae 29 05 bf 5c c7 c6 bd e6 ec b0 34 67 a7 95 39 e6 7b cc b1 b0 b1 e2 e6 a5 63 7c 7e ef 3a 63 | ..)..\......4g..9.{.......c|~.:c |
1b4e0 | bd 15 1c ec ce 63 a2 4f c6 44 7f 35 07 06 54 9c 3e da cf 8d 8b c7 b8 7e 61 8a 1b 17 8f 71 fb ca | .....c.O.D.5..T.>......~a....q.. |
1b500 | 49 de bb 71 96 8f de b9 c8 67 ef 5d e1 f3 7b d7 f8 fc de 35 3e 7b ef 0a f7 df bd c4 87 d3 11 72 | I..q.....g.]..{....5>{.........r |
1b520 | e7 ea 49 6e 5d 3e c1 8d 8b 9a ff 3b 30 d2 c3 fb fb 37 f3 ee e0 7a ce b7 ae 61 b2 33 80 73 47 47 | ..In]>.....;0....7...z...a.3.sGG |
1b540 | 51 bc 6d 4b db dc 37 38 bb 74 3b 57 17 6e e3 9c ce 6a ce eb ac e1 23 cf e4 ca 47 00 42 9f 5b 45 | Q.mK..78.t;W.n...j....#...G.B.[E |
1b560 | d4 33 ab 10 2d 35 42 36 df 84 d6 59 66 0c eb 99 72 48 c7 98 0b 4b b7 f3 71 70 26 fc f6 33 f8 ee | .3..-5B6...Yf...rH...K..qp&..3.. |
1b580 | 2b be 2a aa e5 96 b1 13 b7 df 74 e5 f6 5a 77 6e af 75 e3 c6 72 1b ae ce db 44 d3 cc 55 6c b0 36 | +.*.......t..Zwn.u..r....D..Ul.6 |
1b5a0 | 67 e7 9e 5d ec da bb 9b dd 36 16 58 d8 5a 12 15 1b ce 97 1f de e0 de ad 0b 5c 3e 77 8c ab e7 8f | g..].....6.X.Z...........\>w.... |
1b5c0 | 73 f5 fc 31 ae 9e 9f e2 ca b9 a3 5c 3e 7b 84 cb 67 8f 70 e9 cc b4 9e 3d c2 d5 73 47 b9 79 f1 38 | s..1.......\>{..g.p....=..sG.y.8 |
1b5e0 | ef 5c 3d c5 dd 6b 67 78 ff e6 59 3e b8 7d 81 8f de b9 c0 87 b7 2f f0 c1 ed f3 dc bb 79 8e f7 6e | .\=..kgx..Y>.}......./......y..n |
1b600 | 9c e5 dd 6b a7 b9 73 f5 14 17 4e 4e 70 e9 f4 38 97 4e 1d e6 e2 69 cd bd 2f 1c 9f a0 6e 87 33 ed | ...k..s...NNp..8.N...i../...n.3. |
1b620 | b3 cc 38 b3 70 0b 57 e7 6f e5 8c 8e 09 a7 b4 8d 1e de 32 74 54 4f 6e 16 6b 0b c1 cf af 22 f6 99 | ..8.p.W.o.........2tTOn.k....".. |
1b640 | 55 48 16 1b 51 3d 5f 93 f9 f7 eb 9b 72 58 d7 98 e3 3a c6 bc b7 37 0c 3e bd 07 5f dd e7 37 05 d5 | UH..Q=_.....rX...:...7.>.._..7.. |
1b660 | dc 78 c5 86 1b 2b ed b8 b9 ca 81 9b af 3b 70 e3 57 d6 5c 58 b0 85 66 bd d7 79 db 72 07 e6 7b 76 | .x...+.......;p.W.\X..f..y.r..{v |
1b680 | 61 61 63 89 a5 ad 15 56 b6 7b b0 b4 b1 a2 a3 55 c9 f7 bf fd 80 f7 6e 9c e1 c6 85 29 ae 9d 9f e4 | aac....V.{.....U......n....).... |
1b6a0 | fa 85 63 1a ef 5f d4 fc ae 81 71 98 8b a7 0f 71 f1 f4 21 2e 9d 39 cc d5 73 47 b9 7a 7e 92 ab e7 | ..c.._....q....q..!..9..sG.z~... |
1b6c0 | 34 7a e5 ec 51 ae 9c 3b ca 95 b3 1a 70 7f 7f fd d2 99 c3 ff a4 97 cf 1d e5 f2 85 49 aa 57 5b d0 | 4z..Q..;....p..............I.W[. |
1b6e0 | aa 67 c8 c9 59 eb b9 b2 60 2b a7 b5 8d 39 39 63 d5 8f 57 9e dd e9 26 84 3d b7 8a 84 a7 0d c9 5b | .g..Y...`+...99c..W...&.=......[ |
1b700 | 6c 4c ed 5c 4d f6 ff 09 c0 31 1d 23 4e eb 99 71 cf 39 96 4f 02 33 b9 b4 78 33 67 75 4c 39 a3 63 | lL.\M....1.#N..q.9.O.3..x3guL9.c |
1b720 | ca 59 3d 33 4e eb 99 71 52 cf 8c 83 7a a6 54 cd 36 62 8b f9 56 0d 00 5b 4b f6 da 5b 6b d4 c1 86 | .Y=3N..qR...z.T.6b..V..[K..[k... |
1b740 | d0 f0 40 fe f8 cd 67 c0 8f f0 c3 b7 f0 97 3f c0 f7 5f f3 e3 b7 5f f0 e3 b7 9f f3 e3 b7 9f f3 c3 | ..@...g.......?.._..._.......... |
1b760 | 1f 3e e5 2f df 7c cc 9f bf fa 80 ef 7e f3 3e df 7d a9 d1 3f 7d 79 8f 3f fd e6 1e df 7f ad b9 fe | .>./.|......~.>.}..?}y.?........ |
1b780 | bb cf ee f0 cd a7 b7 f9 ea e3 9b 7c f9 d1 4d 7e f3 d1 4d be fc e8 06 5f 7c 70 8d 4f df bb cc 27 | ...........|..M~..M...._|p.O...' |
1b7a0 | 7f 37 55 de bb 71 96 bb d7 cf 70 e7 f6 39 da 6c 7d e9 d5 37 e5 d2 8b 16 5c 5e b8 95 33 da 46 9c | .7U..q....p..9.l}..7....\^..3.F. |
1b7c0 | d2 32 fc b3 10 f5 ac 21 29 4f 19 52 b4 c8 04 d5 1c 13 7a 66 9a 31 36 bd e6 1f d7 31 e2 a4 b6 21 | .2.....!)O.R......zf.16....1...! |
1b7e0 | a7 9e 30 e4 b4 b6 d1 df 92 df 74 2d 70 54 c7 88 09 3d 63 7a 0d cc 10 2f 31 66 eb f6 cd ec b4 32 | ..0.......t-pT...=cz.../1f.....2 |
1b800 | c7 ca 6e 0f 36 8e b6 d8 38 da 62 eb 64 8b bd 8b 3d 77 ae 9d e1 77 5f dd 67 b0 af 95 ce f6 7a da | ..n.6...8.b.d...=w...w_.g.....z. |
1b820 | 5b 95 b4 b5 2a e9 6a af a7 a7 ab 91 de ae 26 06 7a d4 ec 1f ec 60 74 a8 93 b1 e1 2e 46 87 bb 18 | [...*.j.......&.z....`t.....F... |
1b840 | 1b e9 e6 d0 78 3f 47 0f 0e 72 ea d8 18 e7 4e 1e e4 f4 b1 31 4e 4e 8d 71 fc c8 7e cd 3e e2 a1 61 | ....x?G..r....N....1NN.q..~.>..a |
1b860 | 26 0f 0f 73 62 72 94 b3 c7 27 b8 70 ea 10 17 cf 1c e6 ca b9 49 6e 5c 3c ce cd cb c7 39 33 3e 40 | &..sbr...'.p........In\<....93>@ |
1b880 | eb 46 3b 8e ad b6 e7 f6 56 5f ae 2e dd c1 c9 19 ab 10 92 96 19 22 5a 6a 48 c5 42 13 d4 b3 cd 18 | .F;.....V_..........."ZjH.B..... |
1b8a0 | d0 37 65 42 cf 84 c9 9f 00 fc dd 92 f7 93 f1 c7 74 8c 38 a4 67 c2 b0 be 26 62 14 f3 4c 08 7d de | .7eB............t.8.g...&b..L.}. |
1b8c0 | 98 8d d3 00 f6 d8 ed 7d f4 3c 60 e7 6c 87 8d a3 0d bd 5d 8d 0c f4 a8 49 49 4b a0 a4 24 8f 2c 49 | .......}.<`.l.....]....IIK..$.,I |
1b8e0 | 3a e2 ac 34 8d 4a d2 c8 ca ce 20 2b 3b fd 91 66 e7 64 50 50 90 45 49 49 2e 15 15 85 54 55 95 51 | :..4.J.....+;..f.dPP.EII....TU.Q |
1b900 | 5b 2b 45 59 57 89 4a 25 47 a9 ac 44 a1 90 52 53 53 4e 75 75 39 35 35 15 28 95 55 34 37 29 e8 68 | [+EYW.J%G..D..RSSNuu955.(.U47).h |
1b920 | 6f a0 b7 a7 45 d3 63 d0 db 4a 57 47 13 fd fd 6d 28 dc 83 e8 7c cd 9c 3b 5e 09 dc b5 08 e6 9c ee | o...E.c..JWG...m(...|..;^....... |
1b940 | 1b 08 d9 4b 8c c8 5f 6c 4c ed 3c 53 ba 66 9a b1 5f cf 94 43 d3 e1 7f e2 1f d7 7d 1d 23 8e eb 1a | ...K.._lL.<S.f.._..C......}.#... |
1b960 | 73 40 cf 84 7e 7d 33 d4 b3 cd 50 cc 33 a5 6c a1 31 7b 57 18 b3 7e c7 66 76 ee d9 85 b5 83 0d 0e | s@..~}3...P.3.l.1{W..~.fv....... |
1b980 | 2e 0e 38 b8 38 60 e7 6c 87 ad 93 2d d5 55 c5 c8 64 45 24 a7 c4 53 29 2b 21 2d 3d 11 91 38 95 8c | ..8.8`.l...-.U..dE$..S)+!-=..8.. |
1b9a0 | cc 64 e2 93 62 08 8e 8f 25 2c 25 99 c0 84 38 42 d3 52 08 8c 8f 23 28 2e 86 90 d8 68 c2 62 23 89 | .d..b...%,%...8B.R...#(....h.b#. |
1b9c0 | 49 8a 23 59 94 4a 8a 44 44 4a b6 88 24 51 3a 71 a9 89 44 c5 47 11 13 13 46 62 52 14 62 49 3a 45 | I.#Y.J.DDJ..$Q:q..D.G...FbR.bI:E |
1b9e0 | a5 f9 c8 6b 64 1a 08 dd 2d 74 75 34 d2 d8 58 83 b4 a2 08 65 6c 22 c5 cb cc 38 6d 1f c2 07 41 e9 | ...kd...-tu4..X....el"...8m...A. |
1ba00 | 5c 59 ba 1d 41 35 d7 14 f9 fc 69 ef 1b 98 69 bc 3f 1d e2 ff 68 fc 31 1d 23 0e ea 9a d0 6b 60 46 | \Y..A5....i...i.?...h.1.#....k`F |
1ba20 | d3 6c 8d e7 2b 16 98 90 bb d4 84 37 d6 bf c9 f6 dd db d9 69 b5 0b 3b 67 5b 9c dd 9d 70 72 73 7a | .l..+......7.......i..;g[...prsz |
1ba40 | 04 a2 aa b2 88 a2 a2 1c 32 45 29 64 8a 52 10 89 53 49 cb 48 d2 ec 17 44 46 12 54 55 4f 68 75 13 | ........2E)d.R..SI.H...DF.TUOhu. |
1ba60 | 5e f9 65 24 75 0c 11 52 d5 40 5c db 20 31 ea 3e fc a5 75 44 36 76 13 d9 d0 89 7f a9 9c d8 c6 4e | ^.e$u..R.@\..1.>..uD6v.........N |
1ba80 | 92 3b 86 89 53 f7 12 a6 68 25 a6 a5 9f 30 65 3b 6e 59 85 44 ab da 89 56 34 53 2b 2f a3 ab b3 89 | .;..S...h%...0e;nY.D...V4S+/.... |
1baa0 | de 9e 16 6a e4 65 74 77 36 a1 48 49 25 75 f1 eb 0c 6c 74 e4 fd 08 31 37 57 39 20 1c 7b c2 88 ce | ...j.etw6.HI%u...lt...17W9..{... |
1bac0 | 59 66 74 cf 34 63 ff f4 dc ff 57 de 3f a9 63 c4 61 1d 23 06 f5 cd 68 9a 63 4a ed 3c 13 64 0b 4c | Yft.4c....W.?.c.a.#...h.cJ.<.d.L |
1bae0 | 28 5a 6c 8c af e9 7a b6 ed de 8e 83 b3 1d bb f6 ec c6 d1 c5 11 37 2f 57 dc bc 5c d9 e7 ee 8c 93 | (Zl...z..............7/W..\..... |
1bb00 | 9b 13 32 69 01 f9 f9 59 88 b2 d2 c8 14 69 3c 9f 9c 96 40 4c 7c 24 9e d1 d1 24 75 8d 10 df d2 87 | ..2i...Y.....i<...@L|$...$u..... |
1bb20 | 7f 89 9c 88 ba 16 02 ca 6a 88 50 b6 10 a9 6a 23 54 de 40 5c 4b 2f d1 0d 9d b8 4b 8a 08 95 37 10 | ........j.P...j#T.@\K/....K...7. |
1bb40 | 56 dd 44 a8 bc 81 60 59 1d b1 8d dd c4 34 75 e1 9d 5f 4e 48 55 03 1e f9 32 4a 4a 72 69 6b 55 d1 | V.D...`Y.....4u.._NHU...2JJrikU. |
1bb60 | d7 f3 b7 86 8b 86 bc 3c e2 17 af a4 6e c5 56 ae fb 26 72 fb 2d 37 04 d5 8b eb 38 aa 63 cc 98 9e | .......<....n.V..&r.-7....8.c... |
1bb80 | 09 07 f5 4c 98 9a 9e fb 7f 5f ee 9e d2 31 62 4a c7 88 11 7d 53 d4 b3 34 9e af 9a 6f 42 c9 22 63 | ...L....._...1bJ...}S..4...oB."c |
1bba0 | f2 96 98 60 b5 75 0b 6b 36 bc c5 c6 1d 9b b1 b4 b5 c2 d5 cb 15 9f 00 6f 7c 02 bc f0 f0 76 67 9f | ...`.u.k6..............o|....vg. |
1bbc0 | 87 33 b2 8a 22 f2 0b 24 88 25 e9 88 c4 69 64 88 92 49 4e 8d 27 2a 26 0c d7 f0 08 52 7a c6 49 e9 | .3.."..$.%...id..IN.'*&....Rz.I. |
1bbe0 | 19 27 a2 ae 95 b4 be 03 c4 34 74 92 d0 3a 40 42 db 00 91 ca 36 52 7b c7 c9 1c 3a 4c 60 79 0d a2 | .'.......4t..:@B....6R{...:L`y.. |
1bc00 | e1 a3 a4 0f 1c 22 a5 67 94 28 55 3b a9 bd e3 a4 74 8f 12 56 d3 84 68 74 8a c8 a6 5e ca 4a 72 69 | .....".g.(U;....t..V..ht...^.Jri |
1bc20 | 51 2b e9 e9 6e 61 a0 4f 73 a6 d0 52 55 41 ca c2 15 54 2e 36 63 6a b9 25 97 17 6d 45 b0 71 71 40 | Q+..na.Os..RUA...T.6cj.%..mE.qq@ |
1bc40 | fa ca db 9c 13 5e ff e7 c4 37 0d e0 84 8e 11 87 75 35 c7 5f ca b9 a6 54 2e 30 a1 64 a1 31 45 8b | .....^...7......u5._...T.0.d.1E. |
1bc60 | 8c f1 fd a5 29 5b ad cd d9 ba 6b 1b 76 8e b6 d8 38 d9 e2 e3 ef 4d 48 44 20 a1 11 41 04 84 f8 e2 | ....)[....k.v...8....MHD...A.... |
1bc80 | e1 e3 4e 69 69 2e a5 a5 b9 48 b2 33 c8 ca ce 40 94 95 4a 4a 7a 02 d1 b1 61 38 85 84 12 ae 50 13 | ..Nii....H.3...@..JJz...a8....P. |
1bca0 | 58 5e 8b 47 76 11 c1 95 4a fc 4a aa 08 ab 69 22 52 d5 8e 5f 49 15 a1 f2 46 82 65 75 b8 8a f2 09 | X^.Gv...J.J...i"R.._I...F.eu.... |
1bcc0 | 92 29 09 ad 6a 20 bc a6 19 ff 52 4d c4 04 57 aa f0 ca 2b 25 b0 bc 06 0f 49 31 15 15 85 b4 a8 eb | .)..j.....RM..W...+%....I1...... |
1bce0 | e8 ee 52 d3 db d3 4a 5f 6f 1b ed 8d 0a 72 66 ad 20 6e d6 cb 14 1b ac a0 4f f7 75 84 f0 98 30 f6 | ..R...J_o....rf..n......O.u...0. |
1bd00 | 79 b9 90 bb 6e 17 67 b4 0d ff c9 f8 9f e6 fe 7e 7d 53 9a 67 9b 52 b5 40 e3 f9 dc c5 c6 a4 3c 65 | y...n.g........~}S.g.R.@......<e |
1bd20 | 84 c9 5b ab b1 b2 b1 64 97 d5 2e ec 9d ed 70 f1 74 21 24 22 88 d8 84 68 92 52 e3 88 49 88 c4 3f | ..[....d......p.t!$"...h.R..I..? |
1bd40 | c8 97 f2 f2 7c ca 2b 0a c8 cb cf 22 3f 5f 4c 6e be 18 51 56 0a 49 29 71 78 fa 79 e2 2f c9 c3 2f | ....|.+...."?_Ln..QV.I)qx.y./../ |
1bd60 | 2b 87 7d 31 09 b8 27 67 e0 18 1d 8f 7b 5a 16 3e 39 c5 78 66 e5 13 5e a5 24 4c a6 c0 23 43 42 70 | +.}1..'g....{Z.>9.xf..^.$L..#CBp |
1bd80 | 69 15 81 25 55 04 55 d4 e2 5b 24 23 56 dd 47 6c 53 17 61 95 2a e2 9b bb 88 2c 95 21 97 97 d1 da | i..%U.U..[$#V.GlS.a.*....,.!.... |
1bda0 | a2 a4 b3 ab 99 ee ae 66 ba ba 9a 69 6e 56 e0 fb c4 32 82 0c 5e 20 c8 e0 05 c2 f5 5e 44 50 d4 4a | .......f...inV...2..^......^DP.J |
1bdc0 | c9 cb 15 e1 13 15 40 d4 46 73 a6 66 9a 6a 8a 84 e9 65 ef 27 ef 77 cf 34 a3 7a be 29 45 8b 4c 90 | ......@.Fs.f.j...e.'.w.4.z.)E.L. |
1bde0 | 2c 31 26 6f a1 21 1e e6 bb 58 f3 f6 5a ec 9d 6d d9 ba 6b 1b 8e 2e 0e 04 04 fb 11 97 18 4d 7a 66 | ,1&o.!...X..Z..m..k..........Mzf |
1be00 | 32 d9 b9 19 88 b3 52 09 8f 0a a5 4e 21 a5 b2 b2 84 b2 b2 7c 2a ca 0b 28 af 28 20 bf 30 0b 91 38 | 2.....R....N!......|*..(.(..0..8 |
1be20 | 85 b8 c4 68 02 83 7d f1 f6 f7 c4 c3 c7 0d 37 af 7d b8 b8 3b e1 e4 6c 8b bd c3 5e ec ec f7 60 6b | ...h..}.......7.}..;..l...^...`k |
1be40 | bf 07 87 7d f6 38 b9 39 e3 ec ee 8c b3 9b 23 4e fb 6c 71 72 b2 c1 d9 d9 06 4f 6f 57 42 22 82 49 | ...}.8.9......#N.lqr.....OoWB".I |
1be60 | 4c 4f a2 a8 24 0f 95 b2 8a 16 b5 92 f6 d6 7a 5a d4 4a 1a 1b aa 91 2a ca 09 7c 62 19 01 fa cf 13 | LO..$.........zZ.J....*..|b..... |
1be80 | 64 f0 3c 11 06 2f 22 34 37 d6 a2 6e 52 90 91 99 8c 8b e7 3e 76 5b ec a4 7d c9 6a 4e ea 18 72 4e | d.<../"47..nR......>v[..}.jN..rN |
1bea0 | 5b e3 fd 51 7d 53 ea e7 9a 52 bc c8 18 f1 52 23 44 4b 0c 71 5e 69 ca 1e 27 1b b6 ee da 86 8d a3 | [..Q}S...R....R#DK.q^i..'....... |
1bec0 | 0d fb dc 9d f1 0b f4 21 2a 36 9c b4 8c 64 72 f3 c4 94 96 e5 51 56 9a 47 62 4a 3c ea a6 5a 14 0a | .......!*6...dr.....QV.GbJ<..Z.. |
1bee0 | 8d 67 14 35 15 d4 d4 94 51 59 59 44 51 71 0e 59 d9 e9 a4 a6 27 12 97 18 4d 64 4c 18 a1 91 c1 04 | .g.5....QYYDQq.Y....'...MdL..... |
1bf00 | 85 05 10 18 e2 47 40 b0 ef b4 fa 11 10 e2 47 e0 df 69 50 68 00 21 e1 41 44 c5 84 91 90 1c 4b a6 | .....G@.......G..iPh.!.AD.....K. |
1bf20 | 38 95 c2 e2 1c aa ab cb a9 af 97 d3 d4 58 4b 53 63 2d 2a 55 15 55 55 25 a4 e7 67 e2 ae bd 0c bb | 8............XKSc-*U.UU%..g..... |
1bf40 | 5f ad c2 fd a5 55 04 2e 79 15 a1 a6 ba 1c 99 ac 98 f2 f2 02 42 23 82 b0 b4 b5 e2 cd 5d 5b f0 32 | _....U..y...........B#......][.2 |
1bf60 | 7e 8b fa 27 4d 38 2d ac a2 df c0 8c 8a 85 26 64 2e 35 22 71 99 21 de af 98 b2 7a c3 5b 18 ae 31 | ~..'M8-.......&d.5"q.!....z.[..1 |
1bf80 | c5 da c1 1a 2b 5b 2b 3c 7c dc 89 8c 0e 25 2d 33 89 bc fc 2c ca ca f2 a9 a9 29 a7 a6 ba 0c 91 38 | ....+[+<|....%-3...,.....).....8 |
1bfa0 | 8d 8e 36 15 4d 0d b5 34 d6 57 d3 a2 56 a2 56 2b 68 6c 94 53 53 53 46 59 79 01 05 85 12 24 39 19 | ..6.M..4.W..V.V+hl.SSSFYy....$9. |
1bfc0 | 64 8a 53 48 4d 4f 24 25 2d 81 84 e4 58 e2 93 62 88 4f 8c 22 36 21 8a 98 78 8d c6 26 44 11 97 18 | d.SHMO$%-...X..b.O."6!..x..&D... |
1bfe0 | 4d 7c 52 0c 49 a9 f1 a4 65 24 21 96 a4 93 5f 90 45 79 59 21 d5 d5 e5 28 95 95 d4 ab e4 28 14 32 | M|R.I...e$!..._.EyY!...(.....(.2 |
1c000 | aa 2a 4b 29 28 cc 26 2a 36 1c 0f 1f 37 fc c2 02 b0 75 73 c4 62 ef 6e 04 95 4a 8e b4 a2 88 94 d4 | .*K)(.&*6...7....us.b.n..J...... |
1c020 | 78 7c 03 bc b1 75 b4 61 b7 b5 05 db 2d 76 b0 7e af 39 56 56 bb f0 5d bf 0d 7b e3 37 d9 65 b2 9a | x|...u.a....-v.~.9VV..]..{.7.e.. |
1c040 | 4d 6f bc c1 9a f5 6f 61 f2 d6 6a e2 13 a2 b0 75 b2 c6 d3 c7 8d d4 b4 78 8a 8b b3 29 2b cf a7 bc | Mo....oa..j....u.......x...)+... |
1c060 | a2 10 79 65 09 f5 f5 55 a8 94 95 e4 e4 8a e8 68 53 d1 d9 d1 48 5b 5b 3d 3d d3 f3 b2 b3 a3 9e e6 | ..ye...U.......hS...H[[==....... |
1c080 | e6 bf 45 86 54 5a 4c 69 59 3e 85 85 d9 e4 e6 89 1f 25 cb 16 44 f2 91 00 00 06 14 49 44 41 54 4c | ..E.TZLiY>.......%..D......IDATL |
1c0a0 | 51 0a e9 99 9a f6 da f4 cc 64 cd cf 0c cd eb cc e9 8d d2 ec 5c 11 05 85 12 4a cb f2 91 c9 4a 90 | Q........d..........\....J....J. |
1c0c0 | cb cb 90 cb cb a8 ac 2c a6 b4 34 9f ec 9c 4c 22 a2 42 09 0e 0b 20 31 39 86 b8 84 28 3c 7d dc 35 | .......,..4...L".B....19...(<}.5 |
1c0e0 | 39 a0 ba ba 0c 99 ac 84 80 40 1f ac 1d ac b1 71 b0 66 9f bb 33 5e 7e 1e 44 c5 47 60 b7 cf 9e ad | 9........@.....q.f..3^~.D.G`.... |
1c100 | bb 77 b0 6e cb 06 d6 bc bd 96 37 37 ae 65 ed a6 f5 ec b1 b5 c2 dd db 95 c4 e4 18 24 59 a9 d4 ca | .w.n......77.e.............$Y... |
1c120 | 4b e9 eb 6a a6 45 ad a0 5e 25 a7 ad 55 45 73 63 0d f9 85 d9 a8 9b 15 f4 75 ab e9 eb 69 61 78 a0 | K..j.E..^%..UEsc........u...iax. |
1c140 | 63 ba f5 a5 9d be 9e 16 5a d5 4a 1a 54 72 ea ea 64 d4 d4 94 53 59 59 4c 59 59 01 45 c5 b9 e4 17 | c.......Z.J.Tr..d...SYYLYY.E.... |
1c160 | 4a c8 c9 15 69 56 8f e9 f2 59 24 4e 9d 2e a3 d3 c9 92 a4 23 c9 ce 20 27 57 44 5e be 58 d3 8d 5e | J...iV...Y$N.......#...'WD^.X..^ |
1c180 | 96 4f 45 45 21 e5 e5 05 14 16 6b 60 66 8a 53 09 8b 0c 26 20 d8 97 f0 c8 60 24 92 34 a2 62 c2 10 | .OEE!.....k`f.S...&.....`$.4.b.. |
1c1a0 | 14 0a 29 72 79 19 15 15 45 14 97 e4 12 97 10 8d a7 8f 3b 9e 3e ee a4 67 26 11 97 18 fd c0 ce d9 | ..)ry...E.........;.>..g&....... |
1c1c0 | 0e 0b 1b 4b 36 9b 6f 63 c3 b6 4d 6c d8 b6 89 2d e6 db d8 e7 e6 84 7f 90 2f 39 39 19 28 eb a4 0c | ...K6.oc..Ml...-......../99.(... |
1c1e0 | f6 b6 70 68 bc 97 f1 91 2e 7a 3a 1a e9 eb 56 d3 d6 52 47 61 51 0e f5 f5 72 fa fb da 18 19 ec e2 | ..ph.....z:...V..RGaQ...r....... |
1c200 | c0 58 2f 07 c7 fa 99 d8 df c3 e8 48 17 fd bd ad b4 b7 35 d0 dc a4 a0 b1 a1 06 a5 b2 92 9a 9a 0a | .X/........H......5............. |
1c220 | 64 b2 12 ca 7e 32 22 5f 4c 4e 5e 26 92 9c 4c b2 24 e9 7f d3 ec 0c 24 d9 19 48 72 32 1f 41 28 28 | d...~2"_LN^&..L.$.....$..Hr2.A(( |
1c240 | 94 50 50 94 4d 5e 41 16 92 9c 4c 44 e2 54 92 53 e3 f1 0f f2 c5 cb c7 9d ec dc 4c 1a a6 a7 87 a0 | .PP.M^A...LD.T.S..........L..... |
1c260 | 50 c8 a8 ae 2e a7 bc a2 88 fc 42 09 99 a2 54 92 d3 12 88 8c 09 c7 2f c8 fb 0b 77 6f d7 7b ae 9e | P.........B...T......./...wo.{.. |
1c280 | 2e d8 3a d9 b2 6b ef 6e b6 5b ee 64 87 a5 39 16 36 96 f8 07 fa 10 13 17 4e 5e 6e 06 05 f9 62 14 | ..:..k.n.[.d..9.6.......N^n...b. |
1c2a0 | 35 15 0c f5 b6 70 60 7f 37 07 c7 7a 98 18 e9 a6 b5 45 49 61 51 36 0a 85 8c a1 c1 0e 0e 8c f6 31 | 5....p`.7..z.....EIaQ6.........1 |
1c2c0 | 79 68 98 c9 83 c3 1c 18 ef 63 62 ac 97 03 63 7d 8c 0c 75 d2 d9 d9 44 6b 8b 8a a6 46 c5 f4 fc 95 | yh.......cb...c}..u...Dk...F.... |
1c2e0 | 52 55 55 4a 79 79 21 c5 25 b9 e4 17 64 91 93 27 42 92 2b 22 2b 27 53 63 f8 74 5d 21 c9 ce 20 3b | RUUJyy!.%...d..'B.+"+'Sc.t]!...; |
1c300 | 27 93 9c 3c 11 39 b9 1a 50 e2 ac 34 d2 32 92 1e 55 9c be 01 5e 44 44 87 22 96 64 a0 ac ab a4 b6 | '..<.9..P..4.2..U...^DD.".d..... |
1c320 | b6 02 41 2a 2d 9a 06 50 a8 01 20 4e 23 29 25 8e 98 b8 48 1c 5d 1c 93 5d bd 5c 06 3c 7c dc 71 76 | ..A*-..P...N#)%...H.]..].\.<|.qv |
1c340 | 77 c6 d6 c9 8e bd f6 7b d9 eb a0 39 fd b1 76 b4 41 2c 4e 21 3d 33 91 dc dc 0c 4a 8a b2 a9 a9 2e | w......{...9..v.A,N!=3....J..... |
1c360 | a5 a5 b9 96 43 63 3d 4c 1d 1a a4 b1 be 9a fc 42 09 0a 85 8c e1 a1 2e 8e 1e 1c e2 e4 d4 18 93 87 | ....Cc=L.......B................ |
1c380 | 86 99 18 eb e3 c0 78 1f 87 26 34 0d 51 bd dd 2d 74 75 35 d1 de f6 d3 d2 a5 89 86 ea ea 72 a4 15 | ......x..&4.Q..-tu5..........r.. |
1c3a0 | 45 94 94 e6 51 50 28 d1 44 c3 b4 91 ff 08 20 7b fa 9a 48 9c 4a 6a 46 22 89 29 b1 c4 26 68 5a 74 | E...QP(.D......{..H.JjF".)..&hZt |
1c3c0 | bc 7c 3d 08 0c f1 d7 1c e0 96 17 d2 50 5f 8d e0 ec e6 44 5c 7c 24 32 59 09 f9 85 9a 52 35 29 35 | .|=.........P_....D\|$2Y....R5)5 |
1c3e0 | 9e e0 f0 c0 cb 82 20 08 6e 5e 6e 3d de 7e 5e b8 79 b9 e2 ec ee 84 a3 ab 23 8e ae 8e ec f3 d8 47 | ........n^n=.~^.y.......#......G |
1c400 | 54 74 28 59 92 54 62 e2 23 c8 c8 4c 26 35 2d 81 f4 8c 24 b2 73 32 a8 ab 2d a7 ab a3 81 e2 92 1c | Tt(Y.Tb.#..L&5-...$.s2..-....... |
1c420 | c4 92 74 14 0a 19 fb 87 bb 38 76 64 84 53 53 e3 d3 46 f7 30 ba bf 9b 89 b1 5e 86 06 35 5d 20 bd | ..t......8vd.SS..F.0.....^..5].. |
1c440 | 3d ad d3 09 b2 91 d6 56 d5 f4 32 26 a7 b6 b6 82 ca ca 12 4d 92 2c ca 26 2f 3f 8b ec dc 4c 24 d3 | =......V..2&.......M.,.&/?...L$. |
1c460 | 20 b2 73 a6 81 e4 64 22 96 a4 93 9e 91 4c 62 4a 2c 31 f1 91 44 c6 84 11 18 e2 8f 87 97 1b be 01 | ..s...d".....LbJ,1..D........... |
1c480 | de 9a c3 5b 71 2a d5 55 a5 08 f6 fb ec d9 b5 67 37 2e 6e 4e a4 67 26 91 29 4e 25 29 2d fe c1 4b | ...[q*.U.......g7.nN.g&.)N%)-..K |
1c4a0 | 2f 3d b7 5a 10 84 19 3e fe 5e ed be 01 de 78 fa 7a e0 e1 e3 8e bb b7 1b 6e de ae b8 79 bb e2 ec | /=.Z...>.^....x.z.......n...y... |
1c4c0 | ee 4c 6a 5a 3c 3e 01 5e 84 84 fa 13 10 e4 4b 60 88 1f c1 61 01 44 44 87 90 9c 1a 4f 52 6a 3c 29 | .LjZ<>.^......K`...a.DD....ORj<) |
1c4e0 | e9 89 28 14 32 46 86 ba 98 3c 34 cc 89 23 a3 8c 0d f7 30 34 d8 c9 f0 50 e7 a3 76 b8 81 e9 ef 09 | ..(.2F...<4..#....04...P..v..... |
1c500 | f4 f5 b4 d2 d3 ad a6 ab b3 89 b6 b6 7a d4 cd 75 d4 d7 6b 20 54 55 96 52 5e 5e 40 51 49 0e f9 05 | ............z..u..k.TU.R^^@QI... |
1c520 | 59 e4 e6 89 c8 c9 15 91 9d 2b fa 9b f7 b3 d2 48 cd 48 24 2e 31 8a c8 e8 30 c2 22 83 f1 0d f0 d6 | Y........+.....H.H$.1...0."..... |
1c540 | 14 4f 2e 8e 78 fb 79 92 9b 9b a9 39 4e b3 77 b6 c7 d6 49 53 c2 46 44 87 92 91 99 82 83 c3 de d6 | .O..x.y....9N.w...IS.FD......... |
1c560 | 9f 36 4d 43 c2 83 3a 43 22 82 f0 09 f0 c6 cb cf 63 fa 21 c7 1b 2f 5f 0f c2 22 82 89 8e 0d c7 c5 | .6MC..:C".......c.!../_.."...... |
1c580 | 63 1f 9e be 1e 78 fb 79 e2 e5 eb 89 b7 bf 17 be 81 3e 04 86 fa 13 11 15 4a 74 5c 04 35 35 15 0c | c....x.y.........>......Jt\.55.. |
1c5a0 | 0f 76 32 be bf 97 43 e3 fd 8f fa ff 7e ea fe fa a9 19 6a a0 bf 9d fe fe 36 fa 7a da e8 ed 69 a1 | .v2...C.....~.....j.....6.z...i. |
1c5c0 | ab b3 f9 11 84 86 fa 6a ea 94 95 9a 25 f3 a7 29 51 94 4d 5e be 98 dc 3c b1 26 3f 4c 03 48 49 4f | .......j....%..)Q.M^...<.&?L.HIO |
1c5e0 | 24 26 3e 92 88 a8 60 82 c3 03 f0 f4 75 67 af bd 35 9b 77 6c c6 cb cf 93 fc 02 09 2d ea 3a 0d 80 | $&>...`.....ug..5.wl.......-.:.. |
1c600 | 9f 2a b9 e8 d8 70 8a a4 05 f7 ff fe dc 20 29 35 be 3f 2a 2e 92 90 88 60 7c 02 7d 70 f3 72 c5 dd | .*...p........)5.?*....`|.}p.r.. |
1c620 | db 0d 0f 1f 77 c2 22 82 08 8d 08 c4 cd cb 95 98 d8 f0 47 a5 ac 87 8f 3b 1e 3e ee 78 fb 79 e2 1f | ....w."...........G....;.>.x.y.. |
1c640 | e4 4b 70 58 00 8a 5a e9 23 23 ff bf ad 6f ed 9a c7 d5 c1 4e 46 86 ba d9 3f dc c3 c8 70 f7 f4 77 | .KpX..Z.##...o.....NF...?...p..w |
1c660 | 05 da e8 e9 56 d3 d9 d1 48 7b 8b 92 96 c6 6a 9a 55 95 d4 2b 2a a8 a9 2a 46 56 51 40 d9 74 5e c8 | ....V...H{....j.U..+*..*FVQ@.t^. |
1c680 | c9 cd 44 94 95 4a 6a 5a 3c 69 19 c9 a4 65 24 11 15 1b 41 58 64 30 81 21 fe b8 7a ba b0 c3 62 07 | ..D..JjZ<i...e$...AXd0.!..z...b. |
1c6a0 | 3b 2c 77 e0 e8 ea 40 4a 7a 02 0d 0d d5 fc 1f 1f f5 c6 79 09 30 42 1b 00 00 00 00 49 45 4e 44 ae | ;,w...@Jz.........y.0B.....IEND. |
1c6c0 | 42 60 82 50 4b 03 04 14 00 00 00 00 00 f2 4b 18 3b e6 16 9e 41 d9 1e 00 00 d9 1e 00 00 28 00 00 | B`.PK.........K.;...A........(.. |
1c6e0 | 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 61 62 6f 75 74 52 6f 62 6f 74 73 2d 69 63 6f | .content/browser/aboutRobots-ico |
1c700 | 6e 2d 72 74 6c 2e 70 6e 67 89 50 4e 47 0d 0a 1a 0a 00 00 00 0d 49 48 44 52 00 00 00 40 00 00 00 | n-rtl.png.PNG........IHDR...@... |
1c720 | 40 08 06 00 00 00 aa 69 71 de 00 00 00 01 73 52 47 42 00 ae ce 1c e9 00 00 00 06 62 4b 47 44 00 | @......iq.....sRGB.........bKGD. |
1c740 | ff 00 ff 00 ff a0 bd a7 93 00 00 00 09 70 48 59 73 00 00 0b 13 00 00 0b 13 01 00 9a 9c 18 00 00 | .............pHYs............... |
1c760 | 00 07 74 49 4d 45 07 d8 06 0c 0b 26 25 73 a0 c6 78 00 00 1e 59 49 44 41 54 78 da e5 9b 79 90 66 | ..tIME.....&%s..x...YIDATx...y.f |
1c780 | 57 79 de 7f 67 b9 db b7 f5 3a dd 33 3d a3 d1 cc 48 42 1b 62 1b 04 42 01 c9 12 92 58 1c 22 bc 50 | Wy..g....:.3=...HB.b..B....X.".P |
1c7a0 | d8 98 72 95 5d 0e 32 10 c7 94 b7 54 e2 a2 62 c7 f1 92 10 3b 06 6f 28 d8 04 db 22 80 06 19 24 5b | ..r.].2....T..b....;.o(..."...$[ |
1c7c0 | 12 20 64 19 b4 58 20 21 b4 af b3 f7 2c bd 7f eb dd ef 39 27 7f dc af 1b e4 b8 5c 29 0b a1 3f dc | ..d..X.!....,.....9'......\)..?. |
1c7e0 | 5d d5 5d d5 dd df 77 cf 79 b7 e7 79 9f f7 6d c1 4b f8 71 ec 89 fb 2f e8 8d d2 9f 1b 66 fc dd 1b | ].]...w.y..y..m.K.q.../.....f... |
1c800 | 2f bf e2 46 c0 7d bf cf 20 5f 4a 03 e4 96 03 e7 9f b3 ef 67 b1 f1 67 df 7e ed db 5f fe 52 9c 41 | /..F.}..._J........g..g.~.._.R.A |
1c820 | bf 94 06 f8 cc 5f dd f2 dc de dd 67 9c 7f 6a e9 74 36 3b d1 ce 5f 8a 33 a8 97 d2 00 51 d4 ba ed | ....._.....g..j.t6;.._.3....Q... |
1c840 | f4 ea ea 19 0f 3d f9 f8 bf bb f9 a6 5b 1f e1 5f e2 c7 87 7e f9 df 5f ff 52 3e 5f be d4 06 68 86 | .....=......[.._...~.._.R>_...h. |
1c860 | d1 99 ff a2 0d 10 35 a2 85 fd fb f7 7b ff 22 0d f0 f1 8f 7f f4 9c 6d 53 53 e7 9c 7d c1 d9 e7 be | ......5.....{.".......mSS..}.... |
1c880 | eb 5d ef 8a 5e 8a 33 88 17 fb 01 65 78 f5 e5 cf 56 a7 cc 85 d5 13 f7 00 f2 af 3e fb 67 17 29 e5 | .]..^.3....ex...V.........>.g.). |
1c8a0 | 7d 04 25 2e 36 95 35 c6 98 99 67 0e 1d c1 f7 3d 26 5a 8d cf 5e f7 81 5f fa f1 ef c7 c5 1f 64 bf | }.%.6.5...g....=&Z..^.._......d. |
1c8c0 | f7 b2 a0 b3 ef c5 84 41 51 04 57 fc 5c 29 ca df fd 4a f5 c4 a7 81 7b a6 a7 a3 05 25 bd 7b 5b ad | .......AQ.W.\)...J....{....%.{[. |
1c8e0 | 56 33 2b 72 f2 2c c5 58 c3 fc b6 59 d6 36 ba f8 7e f8 63 7f f2 27 bf f7 85 b9 b9 b9 93 be af d3 | V3+r.,.X...Y.6..~.c..'.......... |
1c900 | c9 a8 3d 52 0d 1b db 55 3b 78 e3 b5 d7 a6 40 f5 ff fb 70 f7 d1 4f bd 39 7f f8 e8 5b ff f8 d4 13 | ..=R...U;x....@...p..O.9...[.... |
1c920 | bf fd 0b 5f 3e b0 f1 dd bf 5b e4 0d d1 42 b3 f9 e0 23 e5 fa 7f 7d d1 22 a0 e4 c2 37 96 9d 9d b7 | ..._>....[...B...#...}."...7.... |
1c940 | dd b6 67 a5 ed 5f b0 ef 8e 37 7e e4 b7 ee ec 0f 07 d7 8e 92 e4 92 24 2b c4 da fa 06 fd e1 90 24 | ..g.._...7~...........$+.......$ |
1c960 | cd c8 f3 82 bc ac a8 aa 12 84 40 4a 49 18 04 e9 44 a7 9d b4 a2 30 6e 35 1b 6b 8f 3e f6 d8 89 53 | ..........@JI...D....0n5.k.>...S |
1c980 | 27 4e 7e f5 e7 7e f6 ba cf ef b9 e0 b5 a7 ff c9 cb df 7a e7 65 ee c3 9f fb ca a3 17 4d 04 0f dc | 'N~..~............z.e.......M... |
1c9a0 | 71 f7 57 ff ed a9 fb af fe 6e c7 b8 e8 9a 1b 9e 31 fd 77 1e 2e d6 a7 bf a7 06 78 e2 89 1b 7d 6d | q.W......n......1.w.......x...}m |
1c9c0 | 76 ed 6b 4e 4f 5e dc fa da 93 7f 2a 5e ff 32 3f 35 39 a5 f6 39 71 72 89 41 1c 33 1c 8e 58 df e8 | v.kNO^.....*^.2?59..9qr.A.3..X.. |
1c9e0 | 12 27 09 49 9a 52 56 06 6b 2d 52 4a b4 56 44 61 88 af 3d 9c 80 aa 32 54 d6 e2 69 45 e0 fb 04 be | .'.I.RV.k-RJ.VDa..=...2T..iE.... |
1ca00 | c7 99 3b 17 8e cd cf 4f bf ff 15 af f9 81 db ff d1 cb df 77 5f c4 fb ff ec d9 13 7b db bb 1e 7a | ..;....O...........w_......{...z |
1ca20 | f2 29 dc 91 75 8e 35 cc 27 ef e9 7f fb 7d 07 c0 96 e1 55 ff 79 28 ca 0f 3f 54 75 ff f7 55 e5 a3 | .)..u.5.'....}....U.y(..?Tu..U.. |
1ca40 | 3f f3 82 0d f0 e0 83 d7 7b 13 c1 cb 77 83 fc 85 c8 0f ae 52 be de 19 7a 7e d3 6b 85 c4 dd 21 8b | ?.......{...w......R...z~.k...!. |
1ca60 | 4b 2b ac ac 6e 90 95 05 55 55 91 65 39 49 9a 10 c7 09 71 9a 52 95 15 c6 59 10 10 68 9f 20 f4 69 | K+..n...UU.e9I....q.R...Y..h...i |
1ca80 | 84 11 41 10 e0 9c 23 cd 72 86 71 42 95 67 58 21 11 38 26 5a cd e2 47 df f3 c3 97 9e b9 70 fe b7 | ..A...#.r.qB.gX!.8&Z..G......p.. |
1caa0 | 9e 77 f9 8f dd d0 71 1f bf e3 b1 b8 cc 77 df d3 c9 18 3e f2 34 03 96 69 06 e7 70 dc cb 7f e9 57 | .w....q......w....>.4..i..p....W |
1cac0 | b2 e9 6e ae bd 3f bb af 5c 63 83 f4 65 3f 9a 3f f5 dc 0b 32 c0 d1 27 1f 7c cd c9 95 b5 5f 4f d2 | ..n..?..\c..e?.?...2..'.|...._O. |
1cae0 | e4 5f b7 9b 0d e6 b7 4d d3 6a 36 d1 5a 63 2a c3 93 07 0f b3 de 1d 00 0e 47 ed d1 3c af 0d 30 18 | ._.....M.j6.Zc*.........G..<..0. |
1cb00 | 0c 19 8c 62 f2 22 c7 39 f0 3c 8d 14 92 20 f0 69 37 9b 34 9b 0d 7c cf a7 aa 2a 86 71 4c 9c e5 24 | ...b.".9.<.....i7.4..|...*.qL..$ |
1cb20 | 49 46 e0 6b 54 18 32 df e9 7c ab f3 91 3f f8 5f 73 db f6 fe 97 97 5d 7e c5 e2 c2 6f fd ca c5 76 | IF.kT.2..|...?._s.....]~...o...v |
1cb40 | f6 da 5b 4c 5e bc e3 81 1d 92 d3 c7 4f b3 56 3e 43 5b cd 12 e8 39 7a d2 f0 5a 9a d6 5a 27 8f d9 | ..[L^.......O.V>C[...9z..Z..Z'.. |
1cb60 | 64 f1 9d d9 43 bb 5f 50 2f f0 e0 97 be b4 e3 a9 83 c7 6e ea 0d 7b 7b 04 0e 67 2d 51 14 a2 94 a6 | d...C._P/.........n..{{..g-Q.... |
1cb80 | d3 54 ac f5 7a ac 75 fb 48 21 40 48 84 73 48 25 11 02 d6 d6 37 48 10 64 ab 2b 48 6b 88 11 0c 92 | .T..z.u.H!@H.sH%....7H.d.+Hk.... |
1cba0 | 8c f9 ed 73 48 29 c9 f2 9c c0 f7 f1 b4 87 1f f8 44 d6 52 94 15 52 38 84 90 a8 53 a7 c8 ff f0 e3 | ...sH)..........D.R..R8...S..... |
1cbc0 | fb 2f 78 c3 db af 9f 68 cc b1 7a d3 3d f3 07 c3 4b 1f 10 71 b2 7f 39 82 8d d3 23 06 d5 22 42 28 | ./x....h..z.=...K..q..9...#.."B( |
1cbe0 | 42 35 4b 89 23 72 92 6f 8b 58 46 4e b0 ee 9b 8f 90 bd c0 66 68 31 5e 7d 47 9c 64 67 76 7b 7d 82 | B5K.#r.o.XFN.......fh1^}G.dgv{}. |
1cc00 | c0 67 fb dc 1c be e7 21 80 d2 18 92 24 03 e7 10 b2 a6 1a 42 4a a4 b5 ac 6f 74 d9 35 d1 e2 9c 03 | .g.....!....$......BJ...ot.5.... |
1cc20 | 7f cc de 74 8d 52 37 e8 36 a7 78 f4 82 d7 f3 80 13 f4 fa 7d 3c cf a3 28 4b 7c df c7 f3 34 a1 ef | ...t.R7.6.x........}<..(K|...4.. |
1cc40 | 73 a2 3f a0 6a 84 a8 07 bf cd ee af dd c3 65 3f f6 01 8a a7 4f 73 ea 1b 5f a1 cc 12 92 a8 f5 da | s.?.j.........e?....Os.._....... |
1cc60 | a9 c0 e3 60 36 60 98 9d 62 e8 36 98 0c ce 67 a0 c0 62 c7 97 15 28 04 8f 09 7b c3 0b 6a 86 6e b8 | ...`6`..b.6...g..b...(...{..j.n. |
1cc80 | e1 63 9d 46 d0 b9 3e 4e b3 f9 a3 c7 16 e9 b4 db 2c cc cf d1 69 37 09 03 9f 24 cd 59 5e 5b 1f 7b | .c.F..>N........,...i7...$.Y^[.{ |
1cca0 | ad ae ea 4a 29 4e 2d 2d 31 dd 5f e3 ca 1b ff 3b 17 fc f0 3b 68 fd d8 4f d1 3e 7e 3f db d6 4e 70 | ...J)N--1._....;...;h..O.>~?..Np |
1ccc0 | de 91 a7 69 9c 7d 1e 87 09 30 c6 10 06 01 9e e7 a1 75 ed 23 15 85 70 d7 d7 d9 76 fb 1d bc fa b2 | ...i.}...0.......u.#..p...v..... |
1cce0 | 6b a9 1e 38 46 f7 a1 a7 28 4c 49 29 04 65 55 72 aa 88 e9 9b 01 ab e6 18 81 b7 13 eb 4d 90 ba 2e | k..8F...(LI).eUr............M... |
1cd00 | b9 82 52 69 2c 8e 9e 67 ef fb 8d de a3 7f f4 82 98 e0 5b b3 47 2e 7e fd 37 6e 7e f9 9b 97 9e e4 | ..Ri,..g..........[.G.~.7n~..... |
1cd20 | ca 57 9d cf f2 f2 32 5a 4b a4 10 54 c6 92 a4 29 79 51 20 44 4d b5 a4 14 75 2e af ad f1 8a 87 ef | .W....2ZK..T...)yQ.DM...u....... |
1cd40 | 64 fb be 49 78 db 3b e1 dc f3 91 3f 7a 0d e2 55 d3 78 4d c7 ab ef be 99 77 5d 75 39 8b 27 4e 52 | d..Ix.;....?z..U.xM.....w]u9.'NR |
1cd60 | 94 05 d6 18 ac 75 94 55 45 ef ee fb 88 6e b9 8d 73 ce da 8f fc e6 29 d6 8f 1c 63 dd 83 67 3c c7 | .....u.UE....n..s.....)...c..g<. |
1cd80 | d3 be 63 45 2b 62 2a 56 aa a3 08 dd 46 04 f3 0c 3d 1b 8f f2 93 bf 2f 46 cf 51 b8 18 2b 25 07 c3 | ..cE+b*V....F...=...../F.Q..+%.. |
1cda0 | f2 37 5e b0 1e 30 93 9d fe 25 7b f0 5b b0 b8 8e 9c 3d 9b f5 9f fc 8f 1c 3d 76 82 a9 c9 09 5c 51 | .7^..0...%{.[....=......=v....\Q |
1cdc0 | 50 94 15 6e ac ed 6c 46 40 9c 0c 20 1e 30 33 38 0a af 9e 82 c1 c3 90 fa 20 8e 21 2f de 8b 5d 7d | P..n..lF@....038..........!/..]} |
1cde0 | 8a e9 47 57 28 36 56 d8 b7 77 0f 69 9a d1 6a 36 b1 b6 a2 b7 bc 82 f8 e2 df d0 f0 42 a6 4f 69 46 | ..GW(6V..w.i..j6...........B.OiF |
1ce00 | c3 55 fa 9e 60 68 0b 26 2b 30 58 56 1b 96 96 74 98 ca 12 f9 7b c8 a9 38 ea 97 bf f8 d1 32 bf fe | .U..`h.&+0XV...t....{..8.....2.. |
1ce20 | 8f 94 7a d2 ef 3f fb cb 69 6b 5f f3 63 a7 0f 7d e9 05 19 c0 dd 75 97 66 6f fe 56 79 c9 31 ec 9f | ..z..?..ik_.c..}.....u.fo.Vy.1.. |
1ce40 | fc 2a 0b 0f 3f cd 7c 6f 89 53 ad 59 8a a2 44 4a 49 9a 65 18 6b 6a a2 2d 44 1d 09 0e b2 e1 08 4f | .*..?.|o.S.Y..DJI.e.kj.-D......O |
1ce60 | 59 44 5b c3 89 af 42 d0 01 1d 42 a3 80 4e 08 01 ac 1f 3c 48 5e 09 14 50 55 15 46 48 06 5f bb 9b | YD[...B...B..N....<H^..PU.FH._.. |
1ce80 | e9 38 66 46 cf 93 c7 43 2a 25 39 29 4a 76 d8 3a 87 37 dc 69 da d9 0c fd d6 14 53 5c 40 21 04 23 | .8fF...C*%9)Jv.:.7.i......S\@!.# |
1cea0 | 65 8e 7d f4 f4 63 9f 00 f8 a0 31 9f 00 3e c1 f0 d0 f7 a0 19 da 7d ec 2d 54 3d 48 1e 47 ee df 0d | e.}..c....1..>.......}.-T=H.G... |
1cec0 | f3 21 33 a7 8e a0 7c 1f 63 0c 79 96 93 64 19 c6 58 24 02 29 ea 28 08 02 9f b8 39 41 2f 13 88 5e | .!3...|.c.y..d..X$.).(....9A/..^ |
1cee0 | 5a 93 5a 93 81 49 61 98 23 46 39 28 c9 ad c7 57 39 7e 7c 11 e7 1c 95 31 64 45 8e 7c f4 09 84 84 | Z.Z..Ia.#F9(...W9~|....1dE.|.... |
1cf00 | 90 10 23 1c 99 10 f4 84 c1 20 88 e9 21 44 08 22 a2 12 16 23 24 46 58 9e 6a 56 ef 83 71 f5 fb 9e | ..#.........!D."...#$FX.jV..q... |
1cf20 | 4a 62 07 3f fb 0e a6 2e 06 e9 41 e4 41 e8 71 3c ce 28 b2 1c e3 1c 69 9e 91 e5 c5 3f e8 b7 04 61 | Jb.?......A.A.q<.(....i....?...a |
1cf40 | 10 30 31 3d cd dd fb de c4 ee 47 6e c1 8b 34 2c 4c 41 65 b0 4f af 20 4f 8f b8 bd b1 87 d5 dc d0 | .01=......Gn..4,LAe.O..O........ |
1cf60 | 70 0e 8b a3 aa 2a d2 c1 08 bd be 81 40 90 0a 41 13 c8 24 14 52 32 14 7d 9c cd f0 e5 0e 56 54 cd | p....*......@..A..$.R2.}.....VT. |
1cf80 | 36 2a 61 59 f3 dc ed 43 d7 bb fb c5 d1 04 0b f7 0a ba 4f 42 96 c1 89 01 65 0c 5f 1a c0 65 5a 61 | 6*aY...C..........OB....e._..eZa |
1cfa0 | 2a 43 92 e4 18 63 71 ce e1 84 18 53 20 88 82 80 3d 0b f3 2c f9 17 73 8b 27 b9 e6 6f 6f a6 3d 73 | *C...cq....S....=..,..s.'..oo.=s |
1cfc0 | 02 4a 43 ba 61 f8 72 74 16 9f df 77 31 ae df a3 39 3f 87 b3 0e 63 0c 2e cb 11 52 22 84 64 40 46 | .JC.a.rt...w1...9?...c....R".d@F |
1cfe0 | 4b 08 4a a0 94 8e 75 15 d2 92 13 f4 84 65 3d 14 cc 22 28 05 d9 d1 66 f9 3f 0e 1c 3b 91 7e cf 0d | K.J...u......e=.."(...f.?..;.~.. |
1d000 | e0 7e 0d c9 53 27 f7 ba 41 81 db 48 90 87 57 38 30 79 09 65 7b 92 89 4e 1b 53 19 8a aa c4 39 87 | .~..S'..A..H..W80y.e{..N.S....9. |
1d020 | 10 02 9c c3 39 b0 d6 22 b4 62 61 61 07 79 51 d0 7f c3 5b b8 75 ff 15 74 0e 3d 4e 9e c6 1c 9a 5c | ....9..".baa.yQ...[.u..t.=N....\ |
1d040 | 60 3d cb e9 3f f9 0c db 66 67 08 7d 1f 67 0c c6 38 4c 55 e1 47 11 94 25 a9 4b c8 24 08 04 0b 04 | `=..?...fg.}.g..8LU.G..%.K.$.... |
1d060 | 1c 0e 1d d2 55 08 29 99 56 01 61 09 a9 b2 0f f4 8f 71 cf 8b a2 0a 1f 7d e5 87 3a b3 47 0f 35 d5 | ....U.).V.a......q.....}..:.G.5. |
1d080 | 23 0f b2 96 0a ee 99 78 1d b7 ce 9c cf 1b f7 ed 26 08 02 8a aa a4 aa 4c 6d 2c e7 40 08 9c 73 35 | #......x........&......Lm,.@..s5 |
1d0a0 | 94 19 83 af 3d ce dc bd 9b fe 60 c8 7a 96 32 d8 7b 21 56 40 b6 b4 cc a9 a5 45 f6 ee dd 8d b3 75 | ....=.....`.z.2.{!V@.....E.....u |
1d0c0 | 28 5b 07 e0 90 ed 16 71 ab c1 e4 60 40 e5 86 f4 ed 88 86 ea d0 b1 8a 73 44 83 44 5a 34 02 bf 00 | ([.....q...`@..........sD.DZ4... |
1d0e0 | cf 3a 77 c7 74 fe 33 5f d8 78 ba 78 51 54 e1 ab fe cd 8f 9f 71 64 f6 c2 0f 3c 73 de 95 de 9d fe | .:w.t.3_.x.xQT......qd...<s..... |
1d100 | 3c f7 97 01 ff ea 55 17 b2 6b e7 42 ed 35 e7 9e 97 ff 42 08 84 10 35 14 2a 89 a0 4e 09 29 05 da | <.....U..k.B.5....B...5.*..N.).. |
1d120 | d3 38 eb 18 f6 07 c4 49 4a d4 6c 60 ad c5 d6 16 40 2a 49 18 06 34 a3 88 a5 c9 49 da 0f 3e 84 2f | .8.....IJ.l`....@*I..4....I..>./ |
1d140 | 15 b9 ed 63 65 84 96 0d 3c 27 08 9d c0 37 ce 69 c4 f0 4b 33 c5 1b 6e 3a f2 d4 13 2f da 5c a0 f2 | ...ce...<'...7.i..K3..n:.../.\.. |
1d160 | 66 9b 55 65 ed 91 93 c7 e8 1b c1 fe 57 5d c4 fc dc 3c d6 3a 8c 73 34 a3 90 3c 2f 18 a5 19 52 2a | f.Ue........W]...<.:.s4..</...R* |
1d180 | 9c 73 f4 7b 7d 06 a3 11 45 51 10 27 09 fd fe 80 38 8e 19 f4 07 a4 79 4e 9e 17 54 c6 20 85 40 6b | .s.{}...EQ.'....8.....yN..T...@k |
1d1a0 | 8d 17 f8 b4 9a 4d 26 b5 46 20 d0 4a 31 b7 6f 0f 8f 5d 79 19 e7 de f7 4d 5a 65 49 56 1e 22 31 0d | .....M&.F..J1.o..]y....MZeIV."1. |
1d1c0 | 7c 39 43 58 80 bd f4 95 4b cb b3 c1 55 07 6e 3e f0 e4 8b 3a 18 b1 ca 79 d2 09 d1 68 44 b4 b2 26 | |9CX....K...U.n>...:...y...hD..& |
1d1e0 | 5a 69 f2 3c 63 a3 d7 63 6d bd cb fa da 3a dd c1 80 7e af cf ca f2 2a cf 2d f5 08 5d 89 cb 63 da | Zi.<c..cm....:...~....*.-..]..c. |
1d200 | 66 c4 d2 5a c2 c0 c1 a4 82 be 01 a9 14 81 96 cc 37 04 a7 12 81 d2 0a a5 14 3b 77 2d 70 d5 d5 57 | f..Z............7........;w-p..W |
1d220 | 82 00 2d 25 53 cd 06 1b fb 5f c3 43 8d 06 ad 43 47 98 ec f5 89 aa 92 b2 e5 08 de 7a 35 3f f4 d3 | ..-%S...._.C...CG..........z5?.. |
1d240 | ef 4d 66 03 7d fa 3f dd 7c e0 c5 9d 0c 29 43 6c 25 be 94 92 8d ee 06 df 7a f8 61 56 57 d7 39 7c | .Mf.}.?.|....)Cl%.......z.aVW.9| |
1d260 | e4 38 32 e9 b3 36 48 79 ff be 8a de 08 1e 5b 82 7b 7f 28 e0 17 ff be e2 be 55 c3 0d 6f 0b f8 f4 | .82..6Hy......[.{.(......U..o... |
1d280 | 73 9a 4f 3e 53 f1 9b 6f f0 78 60 c5 f2 a9 67 0d af 9a 97 7c e2 ad 21 3f 70 63 ca 6a 5c 80 73 6c | s.O>S..o.x`...g....|..!?pc.j\.sl |
1d2a0 | ac 75 eb c2 89 00 21 68 46 11 bb 17 76 90 26 29 a7 3c 9f 55 e7 d0 41 c8 d4 fc 36 2e 3a e7 2c 16 | .u....!hF...v.&).<.U..A...6.:.,. |
1d2c0 | 66 a7 b3 8d 44 c7 2f fa 68 6c b9 1b 1f dd 36 d3 f2 8c 31 7c e9 cb 77 72 f8 e0 21 ca a2 e4 da dd | f...D./.hl....6...1|..wr..!..... |
1d2e0 | 82 df b9 3a e0 82 cf 55 3c d0 13 9c 1c 3a 12 0b 97 df 94 13 03 61 b3 c9 9b ef d4 84 1a c2 30 e7 | ...:...U<....:.......a........0. |
1d300 | 83 f7 64 28 29 99 9a 9a e0 b8 6a 73 f5 df 35 d8 76 86 a0 9d a6 2c af ae 91 17 19 52 c8 1a 42 9d | ..d().....js..5.v....,.....R..B. |
1d320 | 03 01 ad 46 c4 ec f4 24 79 96 31 8c 63 76 2f 6c c7 00 9d 28 44 4a 15 5f 78 e1 85 c5 8b 6e 80 eb | ...F...$y.1.cv/l...(DJ._x....n.. |
1d340 | ae bb 2e b9 e9 c0 5f 56 4a 29 ed ac a5 2c 4a 00 ee 58 0b f9 f6 c3 7b 79 f3 9b e7 68 4f 4e f1 ba | ......_VJ)...,J..X....{y...hON.. |
1d360 | 9d db 39 eb ac 3d cc cf cd 61 8c 21 4e 12 aa ca a0 94 44 6b 0f cf d3 24 49 ca d2 ea 2a 1b dd 2e | ..9..=...a.!N.....Dk...$I...*... |
1d380 | 71 92 22 80 56 a3 41 96 26 7c f6 b3 7f 85 90 02 63 2c 79 59 22 72 49 59 56 38 e7 50 5a 21 84 60 | q.".V.A.&|......c,yY"rIYV8.PZ!.` |
1d3a0 | ad db a3 d3 e9 50 55 15 4a c8 fe f7 6d 38 7a 7c 71 f1 de a9 e9 e9 cb 95 92 fc e0 db af e1 03 ef | .....PU.J...m8z|q............... |
1d3c0 | fb 69 da 13 6d d6 37 7a 08 29 f1 3c 0f 25 05 38 48 b2 0c 69 2c 1d ed 51 99 8a aa ac 48 b3 8c d5 | .i..m.7z.).<.%.8H..i,..Q....H... |
1d3e0 | b5 35 d6 bb 7d d6 37 d6 19 c5 09 45 59 62 8d 65 99 35 7c df e7 fc 97 9f cf 70 38 22 8a 22 c4 50 | .5..}.7....EYb.e.5|......p8".".P |
1d400 | 30 18 8e 48 d2 14 63 0c 45 51 22 00 e7 2c 69 9a d2 6a 44 3c fe c4 53 d9 3f 36 73 01 0c 50 7c 4f | 0..H..c.EQ"..,i..jD<..S.?6s..P|O |
1d420 | 0d f0 c8 a3 8f 7e e5 2d d7 5c 73 f9 dc fc 1c af bf e4 75 6c 0c 06 24 45 4d 7e 9c 2d 6b 35 c7 f3 | .....~.-.\s.......ul..$EM~.-k5.. |
1d440 | 00 47 92 a4 35 42 18 43 51 14 64 45 ce 68 14 d3 eb 0f e8 f5 fb 63 49 ac a0 32 25 b6 96 05 31 d6 | .G..5B.CQ.dE.h.......cI..2%...1. |
1d460 | 32 b7 7d 9e 6e b7 87 e7 69 06 4a 53 59 43 92 66 68 21 e8 f5 fa 08 25 51 b2 46 8d ed db a6 ba 37 | 2.}.n...i.JSYC.fh!....%Q.F.....7 |
1d480 | dc 78 e0 d3 63 ce ed de b6 67 df 87 5e 37 b9 f3 ea 46 d8 e8 f8 a1 af 52 67 b2 1d db b6 9d 3a 77 | .x..c....g..^7...F.....Rg.....:w |
1d4a0 | fb ce 07 e4 ec c4 4d 97 fc da 7f 38 f1 82 06 23 97 5d ba ff 9a eb 3e f8 fe db be 70 cb ad ea cc | ......M....8...#.]....>....p.... |
1d4c0 | 33 cf 64 c7 fc 1c b3 33 d3 08 01 a6 b2 b5 c2 ab 24 c6 18 92 24 a5 28 6a a3 e4 65 59 eb 81 49 ca | 3.d....3........$...$.(j..eY..I. |
1d4e0 | 28 89 e9 0f 86 c4 71 4c 51 94 18 53 77 8e 4a aa f1 35 20 8e 63 26 27 26 69 36 23 94 aa 21 d5 39 | (.....qLQ..Sw.J..5..c&'&i6#..!.9 |
1d500 | 4b 96 e5 59 14 45 d9 cc d4 e4 64 14 06 4e 6b f5 f8 e7 6f b9 e5 7f 5e bc ea ce 7c a7 7f c6 87 3b | K..Y.E....d..Nk...o...^...|....; |
1d520 | a5 90 7d 53 50 28 28 7d 41 19 68 9c af 09 1a 21 b3 ad 16 fb f6 5f f8 cc ae 37 5e f4 ab 4f ce cd | ..}SP((}A.h....!....._...7^..O.. |
1d540 | dd 7c c5 15 57 54 ff 1c 51 34 f8 8b 3f bf 3e bb eb eb f7 12 84 11 ed 4e 8b c9 4e a7 9e 05 94 25 | .|..WT..Q4..?.>........N..N....% |
1d560 | c6 1a 9c 75 94 a6 22 8e 13 fa 83 11 49 92 a0 a4 c0 51 0b 23 71 1c 83 b3 f8 be 47 33 6a d0 6c 84 | ...u..".....I....Q.#q.....G3j.l. |
1d580 | 28 2f 24 49 0a 9a 91 64 7a b2 c1 ec cc 0c 41 d0 c0 39 31 36 aa 62 7e db 0c 7f f9 f9 2f e0 69 9f | (/$I...dz.....A..916.b~...../.i. |
1d5a0 | 6e af 8f 95 82 89 c2 f1 de 6f f6 dc 64 09 85 10 22 17 50 4a c8 84 23 53 8e 58 39 12 0d 85 b4 78 | n........o..d...".PJ..#S.X9....x |
1d5c0 | 48 76 6f 9f e7 d2 6b af 66 e1 f5 17 7e ba fd f6 b7 bd f7 9f 23 88 e4 f7 fd fd 37 6e df 36 37 f7 | Hvo...k.f...~.......#.....7n.67. |
1d5e0 | b6 d3 4b 4b f4 fb 03 7a cd 2e 5a 2b 3c ad 11 63 3d 1f 04 41 e0 b1 6f d7 0e 3a ed 0e d6 99 ba 88 | ..KK...z..Z+<..c=..A..o..:...... |
1d600 | 49 45 b3 19 e1 79 1e 52 4a ac 75 58 24 45 ef 09 7e f8 a2 fb a8 5c 83 38 85 41 aa 59 ea 85 1c ca | IE...y.RJ.uX$E..~....\.8.A.Y.... |
1d620 | df 42 ab d5 64 aa d3 e1 f1 a7 9f 65 30 4c 98 9e f4 78 d9 be 3d ac 1c 5e e4 27 ee 5f 62 47 21 45 | .B..d......e0L...x..=..^.'._bG!E |
1d640 | 2e eb ae 53 22 f0 0c 68 51 eb 7f 0e 87 13 16 83 20 55 96 c3 4b 4b 78 b7 de c5 25 52 fe 44 fa f5 | ...S"..hQ........U..KKx...%R.D.. |
1d660 | bb 67 ff 49 03 9c fa 6f 7f 74 be cc aa 85 72 69 fd 82 a2 9f 56 4f 31 fa e6 7b 6f fb cc a1 0b cf | .g.I...o.t....ri....VO1..{o..... |
1d680 | ea 9c 3d db 58 e3 e2 33 2a 86 b1 65 20 f7 d2 99 98 a2 ac 4a 70 20 a4 a8 73 4b d4 c5 d0 58 bb a9 | ..=.X..3*..e.......Jp...sK...X.. |
1d6a0 | 8d 20 a5 42 08 c6 b4 18 94 92 48 93 a3 7d c3 17 1f 7b 13 85 6b e1 e4 04 08 c5 d4 84 cf 7c 67 8a | ...B......H..}...{..k........|g. |
1d6c0 | 76 2b 22 cf 73 ee 7d e0 5b 9c b1 b0 1d 6b 2d cf 3c fd 1c 3f f4 e4 80 1d a5 c4 09 f0 9c 43 39 87 | v+".s.}.[....k-.<..?.........C9. |
1d6e0 | 16 02 23 04 1a f0 8c 40 3b 81 e7 6a 48 75 d2 52 0a c7 91 a3 27 f0 3e f5 d7 a8 41 fa 96 7f 2c 05 | ..#....@;..jHu.R....'.>...A...,. |
1d700 | c4 fa 27 3f b3 2b 79 ec d0 8d 26 ce ce 37 bd 78 c2 ac 0f c9 37 06 6c 34 3d 96 de fd 6a a4 bd 9d | ..'?.+y...&..7.x....7.l4=...j... |
1d720 | 91 d9 c1 fa d0 67 62 6a 1a bf b5 07 64 cd f5 6b 95 a5 6e 82 ea cf fa aa 9e a7 89 c2 88 28 0a 09 | .....gbj....d..k..n..........(.. |
1d740 | 03 1f 29 04 ce 41 51 41 76 f2 73 ec 99 38 46 56 9a 3a 35 b4 23 29 34 8b de cf b3 73 be cd ec d4 | ..)..AQAv.s..8FV.:5.#)4....s.... |
1d760 | 04 bf fd 07 d7 73 f4 c4 49 7c a5 99 9c 99 22 f8 d6 41 de f7 54 86 50 75 3b b3 a9 7c d8 ba 84 50 | .....s..I|...."..A..T.Pu;..|...P |
1d780 | e1 28 85 a4 90 92 54 0a fa 9e a3 af 2d 03 cf 62 04 cc e6 92 0b 45 e7 ff 45 81 d5 df ff d3 0f 75 | .(....T.....-..b.....E..E......u |
1d7a0 | 6f bd ff f7 6c 3f a1 38 b5 4e b2 dc 65 94 a5 ac b4 3c aa 9f df c7 ce f6 5f 93 97 11 0b e1 49 aa | o...l?.8.N..e....<......_.....I. |
1d7c0 | f9 29 56 e4 e5 04 81 1e b3 36 b7 c5 de a4 10 28 a5 f0 7d 4d 23 8c 68 34 42 a2 30 44 4b 85 d6 0a | .)V......6.....(..}M#.h4B.0DK... |
1d7e0 | 29 05 4e 08 f2 34 a1 db fe 49 52 3c 94 56 68 29 f0 b5 c3 c7 d0 32 1e 67 9d b9 93 3f fc d4 0d 1c | ).N..4...IR<.Vh).....2.g...?.... |
1d800 | 3a ba 88 d2 92 b4 28 90 69 c2 4f 9f a8 50 42 62 c7 5d a7 fc ae aa ae c3 26 5e a7 4d 91 e5 0c 47 | :.....(.i.O..PBb.]......&^.M...G |
1d820 | 03 b0 8e ca 08 4a 21 c8 94 24 56 96 be 6f 59 1a 0e be 63 80 1b 6f bc 51 bd e9 e9 e5 8f ad fe f9 | .....J!..$V..oY...c..o.Q........ |
1d840 | 57 ae 2b 4f f5 11 95 a3 37 ea 71 34 1f 52 5d 7c 16 3b 7f fd 3d 54 d9 88 e5 e1 7e a4 5c 62 2d 95 | W.+O....7.q4.R]|.;..=T....~.\b-. |
1d860 | cc ef da cf bc af b6 2a f8 a6 fc bd 59 0f 3c ad 09 7c 0f 4f 6b b4 52 20 04 d6 39 9c 75 58 e7 50 | .......*....Y.<..|.Ok.R...9.uX.P |
1d880 | 42 90 f6 9f e5 dc 6d 83 ba 70 96 16 5b f6 78 f8 a9 75 66 ce fa 11 76 ef 9c e5 8e bb ef e5 b6 af | B.....m..p..[.x..uf...v......... |
1d8a0 | 7e 0d df f7 c6 f9 2c 68 2f 0d 78 99 0d 19 8a b8 36 f8 58 81 75 38 3c 15 d1 3a ef 4c f4 fc 24 d6 | ~.....,h/.x.....6.X.u8<..:.L..$. |
1d8c0 | 39 f4 b3 27 31 8b 27 89 0c e4 42 10 58 47 26 21 56 b0 1c 7e 17 0f 78 dd df 3c f4 fb 8b 9f f9 db | 9..'1.'...B.XG&!V..~..x..<...... |
1d8e0 | 0f 38 2c 41 7b 82 d4 13 2c 06 8e f4 75 e7 f1 aa 5f ff 19 92 95 2f 32 55 3d c2 d9 13 1e 4a 7b 1c | .8,A{...,...u..._..../2U=....J{. |
1d900 | 72 1f 64 fb dc 74 dd b3 4b b5 85 cb 4a 2a b4 92 48 29 b7 86 22 ce 5a b2 a2 a4 ac 2a ca aa aa 95 | r.d..t..K...J*..H)..".Z....*.... |
1d920 | 9e b1 68 32 cc 3b dc fb 44 85 73 05 b8 0a 69 02 2a ff 6c e6 67 67 38 bd bc c2 c7 ff e2 73 f8 be | ..h2.;..D.s...i.*.l.gg8......s.. |
1d940 | c6 39 70 4e 50 6a 78 cd a9 84 32 2f f0 64 80 d4 1e a2 16 1e 71 c6 12 9d b9 c0 f4 0f be 1e 13 67 | .9pNPjx...2/.d......q..........g |
1d960 | 24 cf 1c c7 9f ed e0 1d 5b 42 49 83 46 e0 59 81 72 b5 24 b9 e6 5b f4 5d 3f f0 6b 7a 6e e3 89 4f | $.......[BI.F.Y.r.$..[.]?.kzn..O |
1d980 | 9e fc 3f b7 bf 57 0a 49 d4 9c 22 c5 72 64 34 20 be f4 6c 5e f3 e1 9f 42 07 3e 6a f7 4f 20 dc bb | ..?..W.I..".rd4...l^...B.>j.O... |
1d9a0 | 19 89 12 6b 05 67 b6 da 75 af 2f eb 79 40 5d f8 6a 05 b8 34 16 5b 96 58 e3 30 ce 62 2a 43 65 2a | ...k.g..u./.y@].j..4.[.X.0.b*Ce* |
1d9c0 | 8c 73 5b ab 90 62 5c 7d a2 e6 24 8d d6 f4 96 76 68 9d 63 a2 d5 40 49 c1 27 3e 7d 00 84 43 2a b5 | .s[..b\}..$....vh.c..@I.'>}..C*. |
1d9e0 | 15 35 56 38 b6 9f 1e a2 a3 69 82 f9 29 d4 4c b3 7e ad b5 b8 bc 62 ee 3d 57 32 fb 81 1f 81 bc e0 | .5V8.....i..).L.~....b.=W2...... |
1da00 | f8 af 5e 4f ff 1b cf e2 5c 89 74 12 65 41 db ba 46 81 25 d6 a0 27 0f de f7 ee ee c9 d3 ef 91 4a | ..^O....\.t.eA..F.%..'.........J |
1da20 | 89 b0 35 c5 a8 c8 39 5a 0d 19 5c b4 8b 4b 7e eb 67 c1 ba ba 33 13 63 aa 86 87 54 90 66 79 2d 7b | ..5...9Z..\..K~.g...3.c...T.fy-{ |
1da40 | 01 d6 6d 76 6e 75 05 da fc f9 98 b3 62 6c ad 11 42 3d 24 11 e2 f9 46 ab bd 6b 91 42 d0 8c 02 16 | ..mvnu......bl..B=$...F..k.B.... |
1da60 | b6 cf f0 c5 db ef e4 e0 e1 a3 75 53 24 1c 4e 3a 9c 31 88 ca 22 8c a3 0c 24 ca 3a ec 30 07 01 ce | ..........uS$.N:.1.."...$.:.0... |
1da80 | 58 30 16 67 2d a4 19 e4 05 c5 a9 75 d2 8d b5 1a 7d 44 2d 81 6b 04 6a 2c a7 e7 02 74 72 7a e9 13 | X0.g-......u....}D-.k.j,...trz.. |
1daa0 | 4a 49 15 74 a6 b1 9d 90 a5 a5 1e e2 ed af e5 ca df bc 0e 59 d9 b1 aa 53 e7 b8 52 12 29 eb e2 26 | JI.t...............Y...S..R.)..& |
1dac0 | a5 dc 82 32 29 6a 38 13 42 e2 79 1a 35 c6 77 1c 5b a2 28 02 a4 a8 6b 84 54 0a 21 be 53 b6 94 e7 | ...2)j8.B.y.5.w.[.(...k.T.!.S... |
1dae0 | d5 2a b3 14 a0 1b 8c ba cb dc 7d ff 03 28 ad b7 f2 bb b2 f5 72 88 ae 0c 43 4f d1 4d fa 34 92 01 | .*........}..(......r...CO.M.4.. |
1db00 | 72 ac ed 3b eb 10 c0 e2 ef de 48 76 78 89 b2 3f 62 f5 cb f7 8f 9f 3f 46 27 07 d2 8e 8d e0 44 0d | r..;......Hvx..?b.....?F'.....D. |
1db20 | 9b ce ba 28 9a 9b c7 bf f0 0c 56 07 7d b2 dd 7b 38 eb 7d ef a0 ca 72 9c 85 ca 98 2d 76 67 8c a1 | ...(......V.}..{8.}...r....-vg.. |
1db40 | 34 86 ca 18 84 a3 2e 32 4a 21 95 1c 1b 41 53 99 8a 3c 2f 30 c6 52 56 75 07 27 c6 1a a1 73 6e cc | 4......2J!...AS..</0.RVu.'...sn. |
1db60 | 16 6d ad fb 19 4b 35 e6 08 e3 ad 10 2e bf ec 72 96 4f 9d 60 79 7d bd 66 8f 6e f3 f0 92 ca 55 08 | .m...K5........r.O.`y}.f.n....U. |
1db80 | 63 59 6b 08 b6 0f 05 d6 1a 7c eb d0 9b da 9e 73 98 ee 06 27 3e 79 33 ce 3a 9c 1c cb 72 80 74 0e | cYk......|.....s...'>y3.:...r.t. |
1dba0 | 85 40 3b 87 b6 02 6d 41 4b 81 f6 bc 90 c6 fe b3 b0 db da 9c 7e f0 24 f1 79 7b 38 9d 26 1c 7f a6 | .@;...mAK...........~.$.y{8.&... |
1dbc0 | 8f ef 69 10 02 63 2d 65 59 52 14 25 45 59 52 6d 5e 4c d4 07 97 63 d9 da 59 8b b1 b6 de ec a8 ea | ..i..c-eYR.%EYRm^L...c..Y....... |
1dbe0 | bf ab c6 85 cf 3a f7 bc 16 c4 8d b5 bf 4d ed b0 d9 68 b0 de ed 8e df c3 60 2a 33 7e 5f c6 46 ac | .....:.......M...h......`*3~_.F. |
1dc00 | 0d 51 01 2b 21 ac e7 96 aa 54 34 84 23 72 0e df 5a f4 a6 12 8d 03 25 9e 37 fd 91 80 b6 0e 5f 4a | .Q.+!....T4.#r..Z.....%.7....._J |
1dc20 | 7c 67 f1 1d 58 03 da 9f 9a 40 9f 31 cb d2 da 3a 8b 1b 6b 4c ce bd 92 c5 e3 27 e9 4c b4 81 7a de | |g..X....@.1...:..kL.....'.L..z. |
1dc40 | 5f 56 25 1b fd 11 71 12 93 c4 31 49 3c a4 2c 2a ac d2 68 3f 40 7b 3e 52 ab 3a e4 4d 49 9e e5 75 | _V%...q...1I<.,*..h?@{>R.:.MI..u |
1dc60 | 8b 8b c4 0a 81 13 12 1d f8 54 45 81 a7 3d 4c 59 d0 52 8e 28 08 90 52 52 96 25 d3 93 93 38 eb 58 | .........TE..=LY.R.(..RR.%...8.X |
1dc80 | 3c bd 84 96 62 ab 8e c8 31 92 58 5b e3 bd 11 70 a2 09 67 8f 1c e0 28 8c a0 aa 04 4d 09 91 73 cf | <...b...1.X[...p..g...(....M..s. |
1dca0 | 53 79 c7 b3 d9 b1 f7 c1 43 10 58 08 8d 20 54 b2 8e 06 6f 6e 12 eb 6b 96 57 d7 e8 56 39 9d 40 b3 | Sy......C.X...T...on..k.W..V9.@. |
1dcc0 | 63 fb 1c eb eb 1b b4 5b 2d 8c 31 f4 bb 3d 9e d3 33 30 31 cb ea 68 91 c9 b3 2f c0 0f 43 aa 24 41 | c......[-.1..=..301..h.../..C.$A |
1dce0 | 47 21 c2 f3 c9 b3 84 c1 c6 3a 8d a9 19 10 92 7c d0 a3 3d 35 83 54 8a a4 bb 41 7b 66 86 a5 a3 87 | G!.......:.....|..=5.T...A{f.... |
1dd00 | d0 13 d3 38 6b 58 7b f6 11 e6 64 59 73 04 ad 59 5d 5f c7 f7 3d b2 ac a0 11 f9 a8 31 c3 db 8c 02 | ...8kX{...dYs..Y]_..=......1.... |
1dd20 | 6b 6b 5a 1d 69 cd e9 e9 80 74 a3 40 ba da 08 16 89 35 12 61 2c 01 ee 79 ec 4e 8e 99 a1 76 0e 23 | kkZ.i....t.@.....5.a,..y.N...v.# |
1dd40 | 1c be 13 34 8c c0 94 82 c0 4a b4 6c 06 24 71 c2 ea ea 3a 05 16 af dd 22 08 02 76 ee 5c a0 2c eb | ...4.....J.l.$q...:...."..v.\.,. |
1dd60 | 10 1e a5 29 eb 65 9f 56 bb 85 e7 fb f8 9e 42 54 15 26 4f 48 ab 82 4c c8 ba 55 8d 63 5a 53 33 28 | ...).e.V......BT.&OH..L..U.cZS3( |
1dd80 | 2d f1 b5 c6 14 19 95 b3 54 45 4e 32 1c e0 79 01 8d 76 1b e5 fb 9c 3e 58 7b 7e 0b 46 85 1c ab 40 | -.......TEN2..y..v....>X{~.F...@ |
1dda0 | df 59 9a da 64 93 00 d6 38 a4 10 74 3a 1d 1c 70 68 67 ca 79 8b 31 b2 12 38 2c 08 81 76 12 69 2c | .Y..d...8..t:..phg.y.1..8,..v.i, |
1ddc0 | ea 1f f4 f9 62 6c 08 cf 39 2a 6b 09 85 c4 2f 25 3b d2 0a 9d 3d 77 9a c1 46 8f bc db c7 33 0e af | ....bl..9*k.../%;...=w..F....3.. |
1dde0 | d3 d8 1a 66 d8 f1 77 09 4c ed 58 60 6a db 2c 6b c7 8f 12 36 5a 08 29 31 a6 a2 31 31 81 d2 b5 c7 | ...f..w.L.X`j.,k...6Z.)1..11.... |
1de00 | aa 22 a7 33 33 4b 55 96 94 59 4e 10 35 c0 81 56 1e 8d 89 29 40 e0 85 8d 3a 97 2b 83 15 76 4b f3 | .".33KU..YN.5..V...)@...:.+..vK. |
1de20 | db 9c 21 d4 49 5f a3 8d a7 3c b4 57 5f c7 01 4a 2b 56 36 36 c8 d2 8c 95 c9 88 b3 4f 24 14 d2 21 | ..!.I_...<.W_..J+V66.......O$..! |
1de40 | 9d 20 97 8e 81 12 28 14 da 18 bc 71 51 dc a4 c9 6e 5c 28 7d 40 1a 4b 68 1d cf ed 6e a2 8f 0c 57 | ......(....qQ...n\(}@.Kh...n...W |
1de60 | 38 9c 18 96 64 c5 14 1a d5 8c 30 d6 6d 55 6d 70 48 ad e9 1e 3f 42 d6 5d 25 4f 13 4c 55 e1 05 01 | 8...d.....0.mUmpH...?B.]%O.LU... |
1de80 | e9 70 80 29 4b ec 18 29 46 bd 1e 2b c7 0e 23 95 47 9e c6 75 ce 96 05 59 3c 22 8d 87 c4 bd 2e 79 | .p.)K..)F..+..#.G..u...Y<".....y |
1dea0 | 3c c2 6f 34 6a 24 f1 6b 2e b0 55 48 01 df 53 94 a6 c4 d3 1e 61 58 ef 09 d5 e2 28 78 9e c7 ec e4 | <.o4j$.k..UH..S.....aX....(x.... |
1dec0 | 14 3d 35 20 09 34 07 db 82 f3 7a 8e 4c 3a 9c 13 48 e5 c8 ac 20 12 35 c4 c9 7f 38 06 77 0e 0f 98 | .=5..4....z.L:..H.....5...8.w... |
1dee0 | 28 2a ee 3f 77 8a bb 5e 33 8f be 4b 8c 28 71 60 a1 9b 8f 38 43 82 32 d5 98 2b d5 9e f1 3c 8f a9 | (*.?w..^3..K.(q`...8C.2..+...<.. |
1df00 | a6 c6 9f 9e 26 1d 78 04 ed 36 48 4d dc eb 52 e6 29 ae aa 6a 18 b4 25 0a 87 70 15 65 3c 64 98 a5 | ....&.x..6HM..R.)..j..%..p.e<d.. |
1df20 | 94 69 42 1e 0f 09 c2 88 2a cf f0 6d 41 36 94 84 c5 88 60 72 1b be a7 f1 7d 7f ec 25 81 54 0a 9c | .iB.....*..mA6....`r....}..%.T.. |
1df40 | 23 f0 7d 5a ad 16 be e7 51 96 b5 be 10 15 21 45 9e e3 6b 0f 2d 14 df de 26 99 8f 0d 2d 23 60 cc | #.}Z....Q.....!E..k.-...&...-#`. |
1df60 | 03 12 0b 91 93 78 e3 61 cb 66 14 6c a5 81 b5 7c f5 d2 5d 3c 76 ce 14 bb a6 a7 d1 35 1f a9 67 71 | .....x.a.f.l...|..]<v......5..gq |
1df80 | 1a e8 65 09 1d 63 d0 da 43 49 89 73 10 f8 3e bb d2 01 6b cf 9d c4 f6 fb ac 0d 07 e4 69 52 73 14 | ..e..c..CI.s..>...k.........iRs. |
1dfa0 | 29 10 4a 83 a8 ff 76 f9 b9 47 30 65 31 ee ff eb 1c d6 9e 87 53 12 4f 2a cc 70 19 5f 6b b6 cd 4c | ).J...v..G0e1.......S.O*.p._k..L |
1dfc0 | 13 06 3e 61 18 12 06 c1 77 f1 8a ba 81 0a c3 90 89 56 0b a5 15 79 5e d6 42 4b 59 d1 2b 4b 8a aa | ..>a....w........V...y^.BKY.+K.. |
1dfe0 | dc 12 55 4e bc 72 96 f3 1f 38 45 a2 25 16 90 1a 22 2b 08 ad 40 6e 46 81 73 48 04 b9 af 38 f0 da | ..UN.r...8E.%..."+..@nF.sH...8.. |
1e000 | 6d 0c 5e 7d 06 af 98 5b 60 66 66 1a 9d b7 43 92 96 47 22 a1 71 74 8d d5 8d 2e aa dd 21 0c 43 b4 | m.^}...[`ff...C..G".qt......!.C. |
1e020 | d2 e3 0d 2f 41 ab 11 e1 9c 25 d4 8a 56 b3 41 91 e7 14 65 85 b5 b6 c6 f4 cd 09 f2 f3 bf d4 b9 bd | .../A....%..V.A...e............. |
1e040 | d9 25 2a 85 e7 79 f5 d6 67 e0 13 85 21 51 e8 a3 b5 46 22 a9 ac 45 6b 4d 18 f8 34 1a 0d 3a ad 16 | .%*..y..g...!Q...F"..EkM..4..:.. |
1e060 | 4e 80 14 0a e7 a0 6a d4 cf 53 4a 91 e5 39 ad 66 83 5e 27 e4 91 ed 9a f3 d6 2a 12 5d 53 eb 40 4b | N.....j..SJ..9.f.^'......*.]S.@K |
1e080 | 9a b6 8e 02 1f 51 8b 20 53 1e 7f f9 da 69 26 67 a7 38 7b 62 86 5d 3b 17 70 ce a1 4f 5c b2 97 a0 | .....Q..S....i&g.8{b.];.p..O\... |
1e0a0 | dd 62 7a 72 92 22 49 18 ae 6e d0 92 1e 38 81 e7 5b b4 52 f5 c0 12 f0 95 87 0d 6b ec f6 3d af 66 | .bzr."I..n...8..[.R.......k..=.f |
1e0c0 | 89 e3 ce ce 8d 47 e1 9b 8d 4e ad 50 49 84 a8 e7 7b 42 08 b4 56 68 ad f1 3d 0f df f7 89 42 9f 30 | .....G...N.PI...{B..Vh..=....B.0 |
1e0e0 | 0c 50 4a 23 90 54 65 b9 45 a7 a3 20 20 8a c2 71 f8 6e 16 c8 7a 1f b1 28 4b 46 71 4c bb d5 e2 c8 | .PJ#.Te.E......q.n..z..(KFqL.... |
1e100 | d1 e3 f8 d3 3e 91 81 b9 41 85 d5 75 b5 9f 2a 25 53 a5 e5 f1 59 cd d7 77 05 3c bd 3d 62 36 f0 99 | ....>...A..u..*%S...Y..w.<.=b6.. |
1e120 | 9a 98 60 7a 6a 92 de 60 50 43 f0 ec cc 0c db 66 67 50 4a 32 00 ac a9 59 5f 5e 14 38 2c 95 ac 61 | ..`zj..`PC.....fgPJ2...Y_^.8,..a |
1e140 | c8 18 8b c5 6e 85 35 63 39 cb da 9a af bb 2d 99 ab ce 45 39 86 35 29 6b cf 6b a5 d0 9e 46 2b bd | ....n.5c9.....-...E9.5)k.k...F+. |
1e160 | 65 88 30 ac f7 7f a5 d4 08 a0 50 b2 4e 3b 6b f0 3c 8d e7 d5 ad ae ad 0c 42 4a c2 d0 67 b2 dd a2 | e.0.......P.N;k.<.......BJ..g... |
1e180 | d5 6c 20 70 0c e3 11 d7 5c fe 26 ee bc fb 5e 9e 9c f5 39 d2 51 44 95 a3 e9 14 13 cd 16 2b 53 1e | .l.p....\.&...^...9.QD.......+S. |
1e1a0 | 5d e9 88 2a cb b4 e7 e1 6b 4d 96 e5 ac ac ae b1 7d 6e 0e cf f7 d1 53 93 13 4c b4 5b ac ac ad 63 | ]..*....kM......}n....S..L.[...c |
1e1c0 | 8c 41 29 45 59 55 64 79 4e 65 2b 7c ed 21 44 ad cc 6e 62 b4 18 6f 7f 09 a9 6a 4f e3 b6 fa fb ad | .A)EYUdyNe+|.!D..nb..o...jO..... |
1e1e0 | 91 b8 94 f5 b0 53 6e 86 7e 7d 69 a5 14 5a aa 3a 02 a2 b0 56 87 84 c4 39 57 b3 3e e7 88 8b 02 35 | .....Sn.~}i..Z.:...V...9W.>....5 |
1e200 | 16 54 b4 57 47 63 c7 d7 34 82 90 d5 b5 35 d2 24 65 fb fc 1c 76 c9 f1 cc c1 43 84 41 80 75 96 34 | .T.WGc..4....5.$e...v....C.A.u.4 |
1e220 | d4 94 5a 51 84 11 6e a2 c3 59 bb 16 e8 75 7b e4 79 41 96 65 5b 22 cc 8e ed db d1 5a 62 aa 0a 7d | ..ZQ..n..Y...u{.yA.e[".....Zb..} |
1e240 | c1 79 e7 e2 29 85 50 8a 83 07 0f d7 3a 5d 51 8c 87 14 ba 5e 76 1a 1f cc 5a bb c5 0f 36 63 5d 8c | .y..).P.....:]Q....^v...Z...6c]. |
1e260 | bb ad cd 5c 97 12 84 90 63 55 c8 43 2b 8d e7 8d bd ae 34 72 3c 3d 0a 03 9f 20 f0 50 42 d6 a3 74 | ...\....cU.C+.....4r<=.....PB..t |
1e280 | 2c 42 48 4a 53 f7 0e 72 9c 32 a1 ef e3 2b 45 ab d5 40 eb ba 23 55 9e 66 79 65 8d 8d a0 4f d5 a8 | ,BHJS..r.2...+E..@..#U.fye...O.. |
1e2a0 | 18 25 29 65 35 ee 16 c7 35 04 e7 d0 52 d9 33 76 2e c8 e3 8b 27 f1 3d 8f 6d b3 b3 6c 9f df 36 ae | .%)e5...5...R.3v....'.=.m..l..6. |
1e2c0 | 5b b2 9e 3e 3b 67 31 56 60 8c a3 33 d1 21 8e eb 69 0d 42 a0 8c c1 1a 8d 54 63 4f 8f 37 3e ea 86 | [..>;g1V`..3.!..i.B.....TcO.7>.. |
1e2e0 | 83 2d e5 d7 6d 2d 42 80 92 12 ad f5 d6 c5 bd 71 d8 ab cd d0 f7 34 cd 28 c4 f7 6a 7c 17 42 e0 29 | .-..m-B........q.....4.(..j|.B.) |
1e300 | 3d d6 0e 4a 2c 76 2c ab d7 c9 d4 8c 42 a4 12 38 eb 48 e2 94 e5 d5 75 ba bd 1e 52 40 bb d5 00 e7 | =..J,v,.....B..8.H....u...R@.... |
1e320 | 18 c4 31 ba ac 70 d4 dd 69 e0 fb 84 41 c0 f2 ca ca d1 20 f0 1b 93 93 93 db 1b 8d 08 5f d7 75 4b | ..1..p..i...A..............._.uK |
1e340 | 8f a3 1a 04 da f7 7c 06 83 21 79 91 6f b5 b1 45 91 6f 15 2d 87 c3 73 0e 94 da 52 71 9e af 21 0b | ......|..!y.o..E.o.-..s...Rq..!. |
1e360 | 94 a8 91 62 f3 f2 9e d2 78 be b7 75 f9 3a f4 c7 29 21 d4 98 f8 08 ec 78 f8 8b a8 b7 c5 9d 73 e4 | ...b....x..u.:..)!.....x......s. |
1e380 | 63 4f 5a e7 28 8b 92 30 f4 29 cb 92 e5 f5 0d 46 71 4c 3c 4a 30 d6 90 e6 39 13 ed 36 87 8f 9f 20 | cOZ.(..0.).....FqL<J0...9..6.... |
1e3a0 | f0 6b 24 c1 39 94 d2 f8 be 87 52 0a 63 cd a3 83 41 fc 8d 4e ab f3 db ce da ef c8 50 63 84 ca b2 | .k$.9.....R.c...A..N.......Pc... |
1e3c0 | 0c 99 a5 29 dd 7e 7f ab 75 ad 8b a0 a9 db d8 71 2f 60 8c ad c5 cc f1 4b b7 68 ab 14 5b 5a ff f3 | ...).~..u......q/`.....K.h..[Z.. |
1e3e0 | 20 2e f4 eb 45 67 ed 7d c7 10 5a a3 a4 46 48 31 d6 18 ec 18 45 2c 95 a9 10 88 5a 70 19 9f 31 cf | ....Eg.}..Z..FH1....E,....Zp..1. |
1e400 | 0b d6 ba 1b 2c af 6d 70 e4 f8 09 8e 2e 9e e4 e4 e9 15 36 fa 03 b2 bc ac 27 ca 52 b0 67 e7 02 41 | ....,.mp..........6.....'.R.g..A |
1e420 | 10 8c a1 35 c0 f7 6b 01 56 49 85 40 56 07 3e 73 e0 77 d2 3c fb 76 fd 9f 28 f5 9b 2b a9 38 74 f8 | ...5..k.VI.@V.>s.w.<.v..(..+.8t. |
1e440 | 08 f7 7d f3 41 74 ab dd a2 db ef 73 6c 71 8d 24 49 11 12 bc ca c3 18 5d ef ea 48 81 d5 76 2b f4 | ..}.At.....slq.$I......]..H..v+. |
1e460 | 37 f9 ba dc 1a 74 d4 9e f5 94 ae 73 de ab 0d e1 e9 b1 cc 3d 56 8f a4 90 5b 07 10 d4 a3 ef 5a 2a | 7....t.....s.......=V...[.....Z* |
1e480 | a3 26 41 5e 5d 5f 36 cb 4b 5e 14 a4 59 c6 fa 46 8f 38 89 29 37 39 87 75 68 25 c9 ca 92 28 08 58 | .&A^]_6.K^..Y..F.8.)79.uh%...(.X |
1e4a0 | 5a 5b df aa 0d 9b 70 29 c6 97 f5 3d 5d 02 e2 2b b7 dd fe be 77 fd f8 bb bf 61 ad 95 71 1c f3 e8 | Z[....p)...=]..+....w....a..q... |
1e4c0 | a3 8f d3 1d 0c 69 36 1b 48 21 04 52 69 1c b0 b2 b6 4a 9a 15 b5 80 69 0d ce 99 e7 1d 6a 93 14 c9 | .....i6.H!.Ri....J....i.....j... |
1e4e0 | f1 03 94 ae a1 2a d0 b5 c7 fd d0 c7 f7 fc ef ba 7c 5d f5 a5 50 08 25 c6 6b b3 75 1d a9 2a 83 1d | .....*..........|]..P.%.k.u..*.. |
1e500 | 6b 78 95 ad 37 42 b3 bc 18 37 62 f5 e8 3b 89 13 36 7a 3d e2 a4 5e be cc f3 5a 59 8e b3 7c fc 9f | kx..7B...7b..;..6z=..^...ZY..|.. |
1e520 | 27 19 b3 53 53 35 aa 78 fe 78 dc 56 c3 74 10 06 84 61 28 01 77 f8 f0 e2 83 87 9e 79 f6 33 ce 3a | '..SS5.x.x.V.t...a(.w......y.3.: |
1e540 | fa 83 21 28 45 14 45 b5 83 cb aa 62 30 1a 92 a4 09 9e ef 91 a6 c9 f8 70 35 3d b6 b6 6e 43 ab ca | ..!(E.E....b0..........p5=..nC.. |
1e560 | 90 65 29 65 59 d6 02 a6 94 f8 4a e1 2b 89 af 05 a1 96 04 02 3c 59 4b 4d 6a 9c e7 52 48 b4 96 75 | .e)eY.....J.+.......<YKMj..RH..u |
1e580 | 3a 68 0f a5 f4 96 21 36 53 d2 5a 4b 92 e5 35 f7 70 f5 f3 b2 2c 23 cd 32 8a bc a8 65 34 63 b0 ae | :h....!6S.ZK..5.p...,#.2...e4c.. |
1e5a0 | 9e 22 cf 4c 4e 20 a5 a4 28 8b 31 8d 77 63 c5 aa 40 2a 4d 18 86 f8 7e 40 a7 d3 f6 37 1d f7 f9 cf | .".LN...(.1.wc..@*M...~@...7.... |
1e5c0 | df f2 de f6 cc c4 89 9a 67 7c 87 bd fe 5f 4e 29 f1 82 61 a7 56 e2 00 00 00 00 49 45 4e 44 ae 42 | ........g|..._N)..a.V.....IEND.B |
1e5e0 | 60 82 50 4b 03 04 14 00 00 00 00 00 f2 4b 18 3b 2f e0 dd d0 b0 08 00 00 b0 08 00 00 2b 00 00 00 | `.PK.........K.;/...........+... |
1e600 | 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 61 62 6f 75 74 52 6f 62 6f 74 73 2d 77 69 64 67 | content/browser/aboutRobots-widg |
1e620 | 65 74 2d 6c 65 66 74 2e 70 6e 67 89 50 4e 47 0d 0a 1a 0a 00 00 00 0d 49 48 44 52 00 00 00 1c 00 | et-left.png.PNG........IHDR..... |
1e640 | 00 00 1d 08 06 00 00 00 b9 51 0c 31 00 00 08 77 49 44 41 54 48 89 a5 96 79 50 d3 67 1a c7 df d6 | .........Q.1...wIDATH...yP.g.... |
1e660 | 55 8c 01 21 81 90 90 5f 08 01 23 10 72 00 a2 04 82 60 20 e4 26 01 a2 21 5c b9 48 48 20 80 1c 62 | U..!..._..#.r....`..&..!\.HH...b |
1e680 | 44 90 92 a9 72 88 57 05 15 e4 be cb 06 c3 8d 75 db 3f 76 67 8f ba bb 8e ba 57 ad c3 d8 9d dd ee | D...r.W........u.?vg.....W...... |
1e6a0 | f4 9a 6e eb b1 b5 5a 15 9e fd a3 eb 8c dd d2 ad ab 9f 7f df e7 f9 7e e6 7d e7 bd 10 5a 03 bd 7e | ..n...Z...............~.}...Z..~ |
1e6c0 | 04 6f b3 2d 6c b3 58 16 73 ad f6 05 5d 51 f1 7c 4e 81 c9 93 a0 50 8c 87 b0 b5 ee 0d 6b f5 bc 30 | .o.-l.X.s...]Q.|N....P......k..0 |
1e6e0 | ba c2 c9 6d 85 06 cf 74 a1 c1 f3 8f dc c2 e9 87 79 f9 9e c7 85 86 e9 fb c6 a2 b9 4f 8c e6 99 eb | ...m...t........y..........O.... |
1e700 | 26 f3 6c 77 96 66 dc 22 95 f6 11 5f 5a b6 7b f7 40 98 2e 7f ec ba 32 73 08 44 e2 3e 48 11 f6 42 | &.lw.f."..._Z.{.@.....2s.D.>H..B |
1e720 | 8a b0 0f 52 d3 07 41 9e 31 06 39 b9 6e 30 16 cd 81 bd 64 61 c5 6a 9b bf 62 2a 9a ad 33 99 16 22 | ...R..A.1.9.n0....da.j..b*..3.." |
1e740 | 5f d4 f7 8a 2a b3 b7 59 aa 38 0f 7c c1 09 88 8e 3b 0e bc d8 93 10 1d 7b 1a 62 b6 75 ae ee 88 3f | _...*..Y.8.|....;......{.b.u...? |
1e760 | 7b 37 29 a5 e7 b6 44 3e fc cd 9e 1c 37 14 59 e6 c1 5e 7a 11 ac b6 c5 1b d6 d2 85 32 ad d6 ed fd | {7)...D>....7.Y..^z........2.... |
1e780 | 7f d9 e2 e2 5c 9b d2 d2 3b 66 e2 13 8f 42 14 c7 05 5b 23 9b 60 2b eb 75 88 60 b5 5c 8d 64 b7 d5 | ....\...;f...B...[#.`+.u.`.\.d.. |
1e7a0 | b0 b8 c7 b3 b8 31 a7 33 f9 82 73 b6 e4 d4 fe 01 a5 6a 6c 39 bf 70 1a ac f6 45 b0 97 5e 5c b5 3b | .....1.3..s......jl9.p...E..^\.; |
1e7c0 | 96 7e 5a 5c 3c cf 7e 6e 21 93 59 e1 b5 23 be 65 3c 92 dd 00 c1 8c 1a a0 06 57 03 16 e2 bc 41 67 | .~Z\<.~n!.Y..#.e<........W....Ag |
1e7e0 | ba a2 be 5f ad 5d 97 20 ec 62 88 a5 83 07 32 77 4f de 34 9a 67 c1 ee 58 02 bb 63 69 d9 56 ba 94 | ..._.]...b....2wO.4.g..X..ci.V.. |
1e800 | ff dc d2 30 66 dd 01 2c b8 02 c8 d4 32 08 c2 ca 81 4a db b7 f8 63 3d e9 e9 83 5c 65 e6 e8 59 5d | ...0f..,....2....J...c=...\e..Y] |
1e820 | de d4 17 c5 b6 45 b0 95 2e 3d 28 b6 2f b4 e8 f5 23 f8 1f 15 0a 45 27 0a 79 31 4d 20 d8 d9 0e 29 | .....E...=(./...#....E'.y1M....) |
1e840 | c2 93 20 4c 3b fd a9 3a 6b f8 c4 1e dd a4 59 a7 9b 64 c9 e5 1d 5e 6b f5 31 e5 1d 5e 52 f9 a8 21 | ...L;..:k.....Y..d...^k.1..^R..! |
1e860 | 7b f7 e4 07 26 cb 1c d8 4a 17 c1 6c 5d 18 d2 6a dd be 3f 28 93 cb 3b 48 d9 7b 7a dd ca 8c 6e 90 | {...&...J..l]..j..?(..;H.{z...n. |
1e880 | c8 ba 20 25 ad 13 52 d3 bb 41 2a 1b 00 a5 7a f4 b1 26 67 f2 56 6e fe d4 19 9d 6e 4a 22 14 ba 7e | ...%..R..A*...z..&g.Vn....nJ"..~ |
1e8a0 | b2 56 86 58 3c 24 52 65 4d dc 32 9a e6 c0 56 b2 b4 62 b2 ce 9f fa a1 5a 24 12 9f 2a 93 ca 3b 40 | .V.X<$ReM.2...V..b.....Z$..*..;@ |
1e8c0 | 90 d4 06 dc 98 c3 c0 8e 6e 06 5e 6c 3b c4 ed 38 7d 3f 59 d8 ff a1 58 36 02 ea ec 37 41 ab 73 ff | ........n.^l;..8}?Y...X6...7A.s. |
1e8e0 | ab c0 e0 e9 ce cd 7d 93 ba 56 4e 72 6a 5f 52 86 7a ec c3 42 e3 0c d8 1d 4b 2b b9 f9 53 f5 6b 0a | ......}..VNrj_R.z..B....K+..S.k. |
1e900 | 13 93 5a 3b e3 f9 cd 10 19 d5 00 5b b6 36 00 3d b4 0e a8 b4 4a a0 d2 aa ee 44 71 8f d9 e3 e2 3b | ..Z;.......[.6.=....J....Dq....; |
1e920 | f3 93 52 7a 27 c5 8a e1 db 1a ed 24 14 e8 67 6e 16 14 79 b2 d7 94 0a 7b 0b 95 aa d1 af f5 c6 19 | ..Rz'......$..gn..y....{........ |
1e940 | b0 97 2c de cb de 33 99 f1 bd a2 28 5e 63 73 78 a4 13 82 43 6a 00 0b de f7 39 89 52 76 8b 10 60 | ..,...3....(^csx...Cj....9.Rv..` |
1e960 | 86 80 40 2b 90 a9 15 b3 64 b2 1e 8f 90 eb 55 41 4a 77 4a 6a fa d0 05 55 d6 04 e4 15 5c 78 62 34 | ..@+....d.....UAJwJj...U....\xb4 |
1e980 | cf 1e 51 ab fb 7d 9e cd 62 b3 5d 1b 92 85 bd 43 aa ac 71 30 9a e7 40 6f 9c bd a6 50 0c 52 be 23 | ..Q..}..b.]....C..q0..@o...P.R.# |
1e9a0 | dc ca 6a 48 c1 e8 95 5f 91 83 ca 20 08 ab ba 4a a5 57 ab 7c 89 45 bf f7 27 59 80 44 b6 41 20 a5 | ..jH..._.......J.W.|.E..'Y.D.A.. |
1e9c0 | 62 0a 1f 68 25 23 84 10 8d 56 8d 4b 4e ee ab 96 2b 46 ee ea f2 a6 40 6f 9c 75 6b 0d 6e ec d9 bc | b..h%#...V.KN...+F....@o.uk.n... |
1e9e0 | d8 1d e7 76 25 ef ea bb ad ca 9a 00 b3 65 1e 8c e6 b9 83 08 a1 57 10 42 08 69 b5 ae 0d 12 c9 39 | ...v%........e.......W.B.i.....9 |
1ea00 | 5b a2 e0 d8 67 49 3b 4f 02 3f b1 fd c1 2e 51 f7 c1 d8 b8 d6 46 02 d1 fa 77 5f 82 69 95 44 2e 01 | [...gI;O.?....Q.....F...w_.i.D.. |
1ea20 | 4a 50 f9 2f 88 e4 d2 84 a7 a1 a9 a9 23 1a 99 62 f4 e3 9c bc 29 28 30 4c 4f 65 67 0f fb 3f 1d 63 | JP./........#..b....)(0LOeg..?.c |
1ea40 | 32 2b bc e2 f8 1d bf 12 8a fa 60 77 8e 1b 2c c5 0b 7f 34 18 dc 74 84 90 76 9d 58 de e5 cc 50 f5 | 2+........`w..,...4..t..v.X...P. |
1ea60 | 7c 2d 96 9e 7f 22 96 f6 83 58 36 04 52 c5 d8 aa 5a e3 fe 4b f2 ae b3 cb 14 cc 71 67 33 c1 04 24 | |-..."...X6.R...Z..K......qg3..$ |
1ea80 | b2 1d 28 d8 de bf 05 62 65 a5 0c 86 69 23 42 08 c5 27 9e c9 96 ca 47 be d2 e5 5d 00 bd 7e a6 43 | ..(....be...i#B..'....G...]..~.C |
1eaa0 | 28 1c dc f8 54 ca 89 3e fa f6 8e 84 4e 90 29 87 c1 54 34 bf 6a b5 cf 69 10 9f ff 06 59 90 7c ea | (...T..>....N.)..T4.j..i....Y.|. |
1eac0 | ea f6 f8 a3 c0 8d 6d 5b e5 f2 da ee 30 23 5c 2b 2c 4e 33 24 08 ce 7e a9 c8 98 f8 5c a6 18 81 f0 | ......m[....0#\+,N3$..~....\.... |
1eae0 | c8 83 b0 d9 cf bc 12 40 b2 01 85 5a f1 98 82 ed bd e0 4f 2e e3 7f bb 33 07 9c 19 ea f1 27 05 06 | .......@...Z......O....3.....'.. |
1eb00 | cf a3 fc c2 69 c3 7f 96 9d c8 0c 77 bd c7 8b 3d 0e 69 e2 3e 30 9a 67 a0 c4 b1 e0 44 31 31 2e 3f | ....i......w...=.i.>0.g....D11.? |
1eb20 | 5e 6c cb bb e1 ac 26 d8 1a d1 f4 11 23 ec 90 99 48 b2 2c 6e 26 18 81 1c 54 f2 45 64 d4 e1 0e a1 | ^l....&.....#...H.,n&...T.Ed.... |
1eb40 | 68 b0 4f 9d ed be 17 9f 78 1c 02 29 a5 8f fd 49 36 20 07 95 03 99 ba f7 63 5a c8 be 7e 16 b7 e5 | h.O.....x..)...I6.......cZ..~... |
1eb60 | b0 30 ad ef d3 3d 39 6e 28 d0 7b fe c0 e6 b6 9a 30 fa be a9 90 2d f5 10 c5 39 0c a9 69 5d 60 b2 | .0...=9n(.{.....0....-...9..i]`. |
1eb80 | 78 a0 ac 7c b1 03 21 a4 5d 17 1e e5 1a 0c 65 1e 04 06 f3 d0 0d 22 b1 62 33 91 52 c6 c6 fb 97 fc | x..|..!.].....e......".b3.R..... |
1eba0 | 19 4f b4 00 31 c0 f2 09 9d 51 5b b5 9d df 51 94 a9 99 7a 5f 22 1f 80 b0 2d ce cf 88 fe f6 7b 14 | .O..1....Q[...Q...z_"...-.....{. |
1ebc0 | ea 5e c0 e8 55 40 0d ae 79 cc 8d 3d f6 8d 52 35 0e 85 86 19 e0 0b 8e 3d 21 91 cb 81 1e 5a 0b 2c | .^..U@..y..=..R5.......=!....Z., |
1ebe0 | 76 13 a4 89 3a a1 c8 ea 01 47 f9 6c 03 42 08 a1 50 e6 6b 2a 46 e8 fe 87 34 86 f3 21 33 f4 80 0a | v...:....G.l.B..P.k*F...4..!3... |
1ec00 | 21 84 a4 88 46 a4 11 72 7a 70 fe 76 c0 13 8b 57 c8 14 47 67 14 a7 b5 44 a6 1c 7f 2f 7b f7 e4 9d | !...F..rzp.v...W..Gg...D.../{... |
1ec20 | 6d 71 ed 3f a3 d2 6a df c2 e8 b5 5f 62 21 b5 c0 e2 b4 80 50 d4 0f b9 f9 d3 20 91 9d 87 20 6a 05 | mq.?..j...._b!.....P..........j. |
1ec40 | 84 84 d5 00 2f a6 09 64 8a 73 50 6c bb b0 6c af 98 7d fa 10 d8 d6 63 f4 da 11 6f 6a 1d 30 68 15 | ..../..d.sPl..l..}....c...oj.0h. |
1ec60 | 97 f6 e3 7d 25 35 5e eb 14 d6 f5 b8 04 01 9e 6b f2 21 98 6f e1 88 c5 e0 17 50 74 8d 19 d1 78 29 | ...}%5^........k.!.o.....Pt...x) |
1ec80 | 4d 32 f8 48 97 e7 79 3f 39 f5 4c 26 2d e4 80 9c b1 a5 e1 6a 44 54 33 f0 05 1d 90 a9 19 05 a5 ba | M2.H..y?9.L&-......jDT3......... |
1eca0 | 1f e8 8c 1a 60 86 ef 87 84 c4 16 50 28 bb 96 f5 fa 09 d5 77 ce a1 0f d5 19 c1 c2 2c 97 73 49 09 | ....`......P(......w.......,.sI. |
1ecc0 | 50 e7 17 70 b7 1a 87 7b 60 c5 79 dd 36 6d 78 b5 5d ba 91 92 8a 11 34 4b de 7e 06 f0 f6 2d 80 88 | P..p...{`.y.6mx.].....4K.~...-.. |
1ece0 | 28 d7 8a 22 63 0c 24 f2 be cb 21 61 75 63 c1 0c e7 32 63 4b fd 2a 2f f6 08 c8 94 5d a0 54 9f bf | (.."c.$...!auc...2cK.*/....].T.. |
1ed00 | c3 e1 ba ba 39 bc a6 2e 7e 62 5b 65 7a fa a9 b0 b5 6e 24 34 c0 8e ed ec 62 84 c2 09 12 05 ea 7d | ....9...~b[ez....n$4....b......} |
1ed20 | 89 e0 c0 fb 80 7e e3 26 30 7b 21 8f 76 83 77 54 90 7f 5e 2b de cf f4 11 29 d0 fe 68 67 4a 37 64 | .....~.&0{!.v.wT..^+....)..hgJ7d |
1ed40 | a8 c7 20 82 d5 00 fe 24 3b d0 e8 95 c0 89 3e 04 12 d9 49 c8 cc ee aa fe f6 90 6b d7 ad 29 42 08 | .......$;.....>...I.......k..)B. |
1ed60 | a1 5f 16 e4 24 bd 93 a1 fc e7 85 84 44 e8 61 30 a1 dd 3f 10 ea 7c 7c c1 8a c3 43 be d7 06 28 c0 | ._..$.......D.a0..?..||...C...(. |
1ed80 | 6d ce 47 08 a1 a0 10 27 0b 0b ae 3a 15 17 ff 06 28 54 c3 10 cf 6f 7b e2 4b 30 de a7 31 2a ee 45 | m.G....'...:....(T...o{.K0..1*.E |
1eda0 | c7 34 2c 27 ed 6a 3d 19 17 67 5b ff 83 a2 a7 bc 5b 59 5d fe db aa 1a 78 47 a3 85 c9 e8 6d d0 4d | .4,'.j=..g[.....[Y]....xG....m.M |
1edc0 | a1 c1 61 5f 22 ec dd e4 0d e6 8d eb 41 e2 cb 7e 8b 12 72 40 4e 0b 3b a8 08 db da b8 c8 8b 6d 01 | ..a_".......A..~..r@N.;.......m. |
1ede0 | 91 a4 0b d2 c5 67 ae 04 33 aa f2 30 ac 2c 23 22 a2 96 f7 3f 67 f5 2c d7 ea 1b 0d 7f 3a d2 0c bf | .....g..3..0.,#"...?g.,.....:... |
1ee00 | 2e b6 c3 5c 52 0a f4 d3 c3 a0 cd 2f 00 f6 e3 7d a0 18 87 87 ed be c9 b0 99 5c 76 3f 80 52 0a 58 | ...\R....../...}.........\v?.R.X |
1ee20 | 70 25 b0 39 8d 20 14 9d 02 75 66 5f cf 73 09 fe 9b df d5 d6 86 5e 7f ed f5 6b bf 71 94 c3 dc ae | p%.9.....uf_.s.......^...k.q.... |
1ee40 | 54 e8 67 30 a1 8d 10 00 75 78 6f 28 f5 c2 df 64 f8 e7 5c c2 07 3a fe 4a 0a b4 de c7 e8 65 0f d9 | T.g0....uxo(...d..\..:.J.....e.. |
1ee60 | dc fa db 49 3b db de 16 89 3a d6 f8 f3 3c 27 57 9c ce f8 9f 1b 8c 97 3d 3b f8 ab 3d b4 10 68 f5 | ...I;....:...<'W.......=;..=..h. |
1ee80 | 23 c2 41 1c ee 83 2a 2f 2f 25 dd 37 9f 40 08 ac e4 05 06 39 34 18 56 99 b1 25 f2 80 80 c3 a9 27 | #.A...*//%.7.@.....94.V..%.....' |
1eea0 | bf b0 ec 29 17 35 1a da 04 8b e7 e8 0e a0 b6 b7 fb 10 ea 1b 71 38 fe 4b 87 3e 0f 27 11 c2 b9 10 | ...).5..............q8.K.>.'.... |
1eec0 | 5a fb 3f f2 12 fc 1b e7 1e 74 04 f3 dd 9a 37 00 00 00 00 49 45 4e 44 ae 42 60 82 50 4b 03 04 14 | Z.?......t....7....IEND.B`.PK... |
1eee0 | 00 00 00 00 00 f2 4b 18 3b 8f e2 e7 ab b4 08 00 00 b4 08 00 00 2c 00 00 00 63 6f 6e 74 65 6e 74 | ......K.;............,...content |
1ef00 | 2f 62 72 6f 77 73 65 72 2f 61 62 6f 75 74 52 6f 62 6f 74 73 2d 77 69 64 67 65 74 2d 72 69 67 68 | /browser/aboutRobots-widget-righ |
1ef20 | 74 2e 70 6e 67 89 50 4e 47 0d 0a 1a 0a 00 00 00 0d 49 48 44 52 00 00 00 1c 00 00 00 1d 08 06 00 | t.png.PNG........IHDR........... |
1ef40 | 00 00 b9 51 0c 31 00 00 08 7b 49 44 41 54 48 89 b5 95 69 54 d3 57 1a c6 af b5 8a 31 6c 09 84 84 | ...Q.1...{IDATH...iT.W.....1l... |
1ef60 | fc 43 08 10 84 24 24 80 28 61 31 18 08 49 48 42 02 44 43 d8 b2 91 90 40 00 59 44 40 90 92 53 65 | .C...$$.(a1..IHB.DC....@.YD@..Se |
1ef80 | 11 15 2a a8 20 ab 22 58 26 18 76 ac d3 7e 98 39 b3 d4 99 f1 a8 b3 d5 7a 38 76 ce 4c e7 74 3b 9d | ..*..."X&.v..~.9.......z8v.L.t;. |
1efa0 | d6 65 6a b5 2a bc f3 65 ec e8 0c 5a ab 67 9e af ef 73 9f df bd ef b9 ef bd 08 bd 82 38 1a e7 7a | .ej.*..e...Z.g...s..........8..z |
1efc0 | b9 7c 3c 30 df e8 8a 2b 2c 9a cb b6 d8 e6 b5 66 f3 42 8e d5 3a bf 59 a7 1b c5 bf 4a f6 53 92 4a | .|<0...+,......f.B..:.Y....J.S.J |
1efe0 | 07 89 99 ea 71 b3 d1 34 d3 67 30 4d 5f 35 14 ce 7e 56 a0 9f ba 9b 9b e7 7a 98 53 30 75 bf 40 ef | ....q..4.g0M_5..~V......z.S0u.@. |
1f000 | fa 7b 81 de 35 a5 2d 98 d8 fc 4a 20 a3 71 3e dc 58 38 53 6f b1 ce 5d b2 15 cf 2f 1b 0a 67 21 3b | .{..5.-...J..q>.X8So..].../..g!; |
1f020 | c7 09 b2 f4 31 48 4e 1d 81 24 e1 20 24 09 07 40 24 1e 04 45 c6 29 d0 e6 8d 5d dd b1 63 38 f8 47 | ....1HN..$..$..@$..E.)...]..c8.G |
1f040 | 83 34 1a a7 bb a5 64 be d4 62 5d b8 66 2b 39 0f 85 e6 39 d8 99 ed 04 89 ec f4 77 89 49 fd 37 b7 | .4....d..b].f+9...9.......w.I.7. |
1f060 | c6 1e bf 1d b5 b9 67 25 32 fa 28 f0 a2 3b 21 32 e6 30 f0 13 8e 80 54 7e 12 94 19 03 2d 08 a1 35 | ......g%2.(..;!2.0....T~....-..5 |
1f080 | 2f 0c 2b 2a 9a e3 d8 ec 8b 3f b1 95 9c 5f b1 d8 16 20 af 60 0a 14 ca b1 25 41 f2 d0 30 3f e1 84 | /.+*.....?..._.....`....%A..0?.. |
1f0a0 | 95 1b 75 34 83 c5 3d 9c 19 ce 69 af 0e 63 b5 5e 0e 65 bd 09 a1 e1 cd c0 8e 70 40 6c fc 41 48 49 | ..u4..=...i..c.^.e.......p@l.AHI |
1f0c0 | ed 9e 8e 89 71 6c 7c 21 98 b5 64 31 cf 66 5f 5c b2 d9 17 c1 60 9a 81 8c 1d 13 d7 c5 d2 91 ba 38 | ....ql|!..d1.f_\....`..........8 |
1f0e0 | 61 2f 03 21 cd da ff f6 d3 99 0e 36 16 58 7b 8d 1a 50 05 01 8c 6a 08 e7 34 c2 d6 d8 d6 71 26 b3 | a/.!.......6.X{..P...j..4....q&. |
1f100 | dc ed b9 20 9d 6e 14 5f 64 9b 6f b5 96 2c de 2b b2 2e 80 36 77 f2 2b 45 c6 99 e3 a9 a9 23 dc 1f | .....n._d.o..,.+...6w.+E.....#.. |
1f120 | da 24 95 b6 7b c1 1f 2b 03 32 b5 14 b0 80 72 08 66 d6 d7 3d 77 81 46 e3 f4 32 59 e6 4f 59 4b 16 | .$..{..+.2....r.f..=w.F..2Y.OYK. |
1f140 | c0 68 9e 85 ac 1d 13 1f 49 65 67 f4 4c 59 f7 aa bb 94 c9 ba dd b4 da 09 d6 4e ed 84 49 95 79 fa | .h......Ieg.LY...........N..I.y. |
1f160 | 88 30 e5 e8 e7 49 c2 4e 48 d8 d6 01 bc a8 66 10 8a 8e 14 3c 13 26 14 3a 5e 37 5a e6 ba ac c5 8b | .0...I.NH.....f....<.&.:^7Z..... |
1f180 | cb 06 e3 2c 28 33 cf de 10 8b 4f 89 9e e5 d5 6a 27 25 39 79 93 c7 d4 d9 13 37 14 aa 33 0f a5 69 | ...,(3....O....j'%9y.....7..3..i |
1f1a0 | c3 90 9c da 07 49 29 3d 20 49 eb 05 45 7a 1f 64 ed 1c 70 ca 64 dd a4 55 81 39 79 93 0d 36 fb e2 | .....I)=.I..Ez.d..p.d..U.9y..6.. |
1f1c0 | 72 81 61 1a d2 55 63 1f 0b 92 07 13 57 f5 e5 bc 4d cd d7 bb fa 34 5a e7 3f 55 59 6f 83 38 6d 14 | r.a..Uc.....W...M....4Z.?UYo.8m. |
1f1e0 | 04 c2 a1 8f 63 b6 1e bd cb 8b ee 00 4e 64 0b 70 a3 f6 43 42 62 3b 48 65 dd 20 12 77 95 fe 4f 48 | ....c.......Nd.p..CBb;He...w..OH |
1f200 | d6 ce 89 74 5b f1 c2 1d 9d 61 1a 14 ca 33 df 0a 84 03 ab b6 22 bf d0 95 95 af 9b be ae d6 4c 80 | ...t[....a...3......".........L. |
1f220 | 58 7e fa 66 62 d2 c0 44 4c 6c 4f 1e 9b 7b c8 46 a5 55 de a2 d2 2a 80 1e 54 0f 21 a1 8d 10 ce 6e | X~.fb..DLlO..{.F.U...*..T.!....n |
1f240 | 84 58 7e 0b c4 27 b6 f5 3c 15 22 97 8f 50 74 86 99 2b 06 d3 2c 28 33 c7 41 20 1c 38 c5 e1 38 d6 | .X~..'..<."..Pt..+..,(3.A..8..8. |
1f260 | 3f e9 51 a9 86 3c 0c a6 99 03 b9 f9 e7 1e 29 33 cf 42 72 ea a9 73 09 49 7d 49 08 39 5e 23 93 75 | ?.Q..<........)3.Br..s.I}I.9^#.u |
1f280 | 78 32 b5 7c c6 d7 cf 02 04 5f 13 90 28 a5 37 b0 80 dd 5f 06 04 56 c3 a6 f0 5a 60 f3 9a 5a 9e cc | x2.|....._..(.7..._..V...Z`..Z.. |
1f2a0 | 5a 63 30 cd ee 35 99 e7 40 99 79 16 04 db 07 6f 46 6f 3d b1 fd 49 83 46 ef c4 74 86 19 a7 36 77 | Zc0..5..@.y....oFo=..I.F..t...6w |
1f2c0 | 12 64 f2 d1 db 02 c1 60 15 8d 56 85 43 08 21 bc 9f 85 ec 47 29 9f 24 91 ad e0 43 32 83 17 b1 f0 | .d.....`..V.C.!....G).$...C2.... |
1f2e0 | 77 54 7a 95 d2 1f ab bc 4c f6 2f 05 8c 5e f1 4d 28 ab 31 e9 fb 30 bd de 49 37 17 cd ff 61 47 b6 | wTz.....L./..^.M(.1..0..I7...aG. |
1f300 | 13 84 a2 41 88 e1 77 ff f2 c9 b9 c9 ca 3a ed 93 af 9f 9a cc ce 9d 84 34 f9 99 4f 93 93 47 d5 8f | ...A..w......:.........4..O..G.. |
1f320 | 6b 44 72 49 1c c5 bf ec e7 24 72 31 78 11 8c 2b 04 a2 e5 6f d1 31 6d 4d db 45 7d 7b f9 f1 1d f7 | kDrI.....$r1x..+...o.1mM.E}{.... |
1f340 | 12 b7 75 42 7c c2 a1 2f 24 92 13 56 8d e6 df 1d b3 d8 66 d5 c6 c2 b9 95 34 c5 69 d8 1a d7 03 11 | ..uB|../$..V......f.....4.i..... |
1f360 | 91 07 df 7d 1c 28 14 8e 6c d0 e9 a6 bb b5 b9 e7 40 2a 1b fd 26 36 fe 58 16 42 08 31 18 c6 0d 7e | ...}.(..l.......@*..&6.X.B.1...~ |
1f380 | 58 69 09 05 db f5 57 12 d9 06 9e 04 23 50 30 fb 2d c1 f6 e3 4b 2a b5 f3 cf 52 f9 d8 8a 38 ed 14 | Xi....W.....#P0.-...K*...R...8.. |
1f3a0 | 88 a5 43 20 96 9e 7c 94 ae ec ff 56 2c eb ad 45 48 b3 16 15 db e7 6b 0d a6 69 48 11 0f 02 2f fa | ..C...|....V,..EH.....k..iH.../. |
1f3c0 | 30 30 37 39 3e a0 d1 aa 88 08 21 94 57 30 a5 cf d7 bb 1e a4 ab c6 1f 09 92 87 6b 11 42 c8 87 5c | 0079>.....!.W0............k.B..\ |
1f3e0 | ca a7 60 bb ce 51 a8 e5 0f 7d 49 56 f0 f4 36 2d 6f 0a df 0b 69 f2 51 90 a7 9f fd 32 2e e1 f8 d7 | ..`..Q...}IV..6-o...i.Q....2.... |
1f400 | ac 88 16 60 86 39 96 b9 bc f6 5b dc e8 f6 95 2d b1 07 21 41 d0 75 99 cf 7f 8b 8c 4a cb 16 ba 8d | ...`.9....[....-..!A.u.....J.... |
1f420 | 66 17 24 a7 f4 02 3b 62 3f 04 86 34 00 46 df 3d c9 e1 b6 19 f3 75 ae df ef cc 76 82 30 65 f0 73 | f.$...;b?..4.F.=.....u....v.0e.s |
1f440 | 16 b7 75 3f 2d 70 f7 10 99 ba eb 53 b2 7f 19 f8 90 ac e0 47 29 79 18 1b 7f 18 54 59 ce 3b 42 d1 | ..u?-p.....S.......G)y....TY.;B. |
1f460 | c8 60 38 7b 7f 37 d9 bf f8 2b 4f 82 01 88 24 f3 02 23 78 9f 29 34 ac f9 93 4d ac 66 e0 45 b7 be | .`8{.7...+O...$..#x.)4...M.f.E.. |
1f480 | 1f 15 e5 f0 46 f6 b2 99 c6 42 8b 0b 52 44 3d c0 e2 34 03 3d a8 06 48 e4 32 e0 27 1c 7a 54 a0 9f | ....F....B..RD=..4.=..H.2.'.zT.. |
1f4a0 | 06 85 72 1c b8 d1 87 be a3 06 54 3f c4 e8 95 40 a1 ee 02 a2 8f ed 4e 70 48 ed 17 12 d9 30 64 a8 | ..r.......T?...@......NpH....0d. |
1f4c0 | 27 3f dc c2 ef 2e a4 33 6a 2a 89 be e6 cf f0 44 33 e0 7d 8a ff 44 a4 94 72 88 c4 72 4f 06 73 df | '?.....3j*.....D3.}..D..r..rO.s. |
1f4e0 | b5 20 e6 5e d8 c4 76 8c 20 a4 59 8b 6c e5 33 ec 22 eb b9 a5 34 f9 09 e0 45 35 43 60 70 35 f8 53 | ...^..v...Y.l.3."...4...E5C`p5.S |
1f500 | cb 41 92 76 12 72 f2 a6 40 28 1a 02 56 44 2b 60 81 35 80 d1 6b be a6 d2 6a de d9 1c d3 f1 d3 ac | .A.v.r..@(..VD+`.5..k...j....... |
1f520 | 1d 13 b7 d2 14 e3 1f b0 23 da 8a c9 14 7b 0f 9e 58 b4 8c f3 b1 01 8d 90 dd 2f 45 34 22 42 08 31 | ........#....{..X......../E4"B.1 |
1f540 | 83 ea 94 34 46 ed 7d 46 d0 9e fb 41 cc 37 94 df df 54 9d ee ac 52 ae e8 5d 8a 8b 6f 05 e6 a6 3d | ...4F.}F...A.7...T...R..]..o...= |
1f560 | 40 67 54 83 42 35 04 19 ea 33 c0 4f e8 86 30 76 0b 30 42 1a 2f d3 02 eb 64 82 e4 63 19 da 5c d7 | @gT.B5...3.O..0v.0B./...d..c..\. |
1f580 | 87 29 92 91 07 cc b0 a6 0b de be 85 57 70 c4 22 f0 20 98 6e 24 e0 b9 46 cb 3a 5c 5c b5 db 5a f9 | .)..........Wp."...n$..F.:\\..Z. |
1f5a0 | 1e bc 97 84 41 2b bf e0 4e ad 07 8c 5e 33 8a 90 75 dd 53 c3 9f 9a da 15 cc 8f 6f af 88 e0 35 f7 | ....A+..N...^3..u.S.......o...5. |
1f5c0 | 46 70 1d 7d 0a d5 c9 5b 69 8a 5e e0 45 1f 00 46 48 c3 4a 00 a3 76 29 30 b8 7e 4c 22 1b bc 28 4f | Fp.}...[i.^.E..FH.J..v)0.~L"..(O |
1f5e0 | 1f 83 30 b6 63 d9 dd 2b 1f dc bd f5 80 11 d4 8b d2 0d 94 64 e3 fa d7 3a 2c 38 b7 9b 55 38 dc bd | ..0.c..+...........d...:,8..U8.. |
1f600 | 7a 6f df db 39 a4 38 60 61 e6 8b 1e d4 da b0 d5 5e ad c7 63 be 16 21 b4 26 23 ab b7 4a 92 d6 09 | zo..9.8`a.......^..c..!.&#..J... |
1f620 | 11 91 fb 80 46 af 00 1f 92 0d c2 58 8d 90 ae 1a 83 6d 49 7d 40 f2 b3 3d c0 7b 1b 3f f1 f7 c9 6d | ....F......X.....mI}@..=.{.?...m |
1f640 | d3 ac 77 67 9b dc 90 4b b7 61 23 d8 f1 1e d0 e0 45 84 23 24 0a f4 32 82 60 98 13 dd f3 1c d8 7f | ..wg...K.a#.....E.#$..2.`....... |
1f660 | 14 13 63 5d 97 b8 bd ad 33 32 aa 71 89 c6 28 bf e3 45 30 dc 8d e5 b7 3f 92 2b 4f 43 4c ec 5b 80 | ..c]....32.q..(..E0....?.+OCL.[. |
1f680 | 05 54 76 f9 07 d6 b2 10 42 28 1f e7 99 97 e7 b6 1e 2c 38 3c d4 7b 78 41 87 8f 1f f4 33 98 70 2e | .Tv.....B(.......,8<.{xA....3.p. |
1f6a0 | 2e 1e de 4b 57 fc e3 17 f9 d9 ab 7e 02 ab 9e 36 2c ac 86 87 61 a5 e9 01 8c ca dc 54 f1 b1 4b 22 | ...KW......~...6,...a......T..K" |
1f6c0 | 49 2f f0 a2 5b 21 38 b4 69 81 16 bc 57 4e 09 ac 93 49 bc 38 ef 98 36 ac 83 5d 1b dd 61 bf 17 11 | I/..[!8.i...WN...I.8..6..]..a... |
1f6e0 | fa 28 34 98 88 dc 0c ef a9 35 f0 9b ca 6a 78 bf a2 aa ec 05 81 4f 4b 95 31 d8 2f 14 75 01 27 a2 | .(4......5...jx......OK.1./.u.'. |
1f700 | 09 b0 80 0a f0 a5 94 80 27 b9 f4 ee 16 2f 01 14 e1 f0 b0 07 ef 01 ed de be 30 44 0f 86 d9 c4 24 | ........'..../...........0D....$ |
1f720 | f8 55 91 0d fe 78 a0 05 ae 34 34 e9 5f 0a 28 12 75 b3 13 b7 b5 bf cb e1 36 dc c4 e8 a5 f7 49 7e | .U...x...44._.(.u.......6.....I~ |
1f740 | 96 bb 78 3f fb 5f 18 3e d9 17 4a dc f0 d7 eb f1 ee d0 4e f0 85 21 06 13 66 b7 27 c3 af ed 65 70 | ..x?._.>..J.......N..!..f.'...ep |
1f760 | f5 8d 37 af fc b6 a6 26 e8 a5 80 08 21 14 11 d1 40 0e 09 af 4b c0 b0 8a 74 3f 7f bb 9a e0 57 c1 | ..7....&....!...@...K...t?....W. |
1f780 | a3 7b e5 11 2a dd dc 14 7b 71 b8 8f da bc 89 d0 4f 0b 04 d7 56 fe ca cf f4 86 8b 97 6a 6b 63 5f | .{..*...{q......O...V.......jkc_ |
1f7a0 | 1a f6 43 6a c2 e1 f8 1d 1e 84 86 3e 5f 6a c7 59 16 cf 7e 5e ad a6 fd df 60 8f e5 40 e8 f5 4e 84 | ..Cj.......>_j.Y..~^....`..@..N. |
1f7c0 | 70 cf aa ff 0b b8 5a 74 04 2d 94 1b ae 00 00 00 00 49 45 4e 44 ae 42 60 82 50 4b 03 04 14 00 00 | p.....Zt.-.......IEND.B`.PK..... |
1f7e0 | 00 00 00 f2 4b 18 3b 7a cb 25 92 55 0d 00 00 55 0d 00 00 1b 00 00 00 63 6f 6e 74 65 6e 74 2f 62 | ....K.;z.%.U...U.......content/b |
1f800 | 72 6f 77 73 65 72 2f 62 72 6f 77 73 65 72 2e 63 73 73 40 6e 61 6d 65 73 70 61 63 65 20 75 72 6c | rowser/browser.css@namespace.url |
1f820 | 28 22 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6b 65 79 6d 61 73 74 | ("http://www.mozilla.org/keymast |
1f840 | 65 72 2f 67 61 74 65 6b 65 65 70 65 72 2f 74 68 65 72 65 2e 69 73 2e 6f 6e 6c 79 2e 78 75 6c 22 | er/gatekeeper/there.is.only.xul" |
1f860 | 29 3b 0a 40 6e 61 6d 65 73 70 61 63 65 20 68 74 6d 6c 20 75 72 6c 28 22 68 74 74 70 3a 2f 2f 77 | );.@namespace.html.url("http://w |
1f880 | 77 77 2e 77 33 2e 6f 72 67 2f 31 39 39 39 2f 78 68 74 6d 6c 22 29 3b 0a 0a 73 65 61 72 63 68 62 | ww.w3.org/1999/xhtml");..searchb |
1f8a0 | 61 72 20 7b 0a 20 20 2d 6d 6f 7a 2d 62 69 6e 64 69 6e 67 3a 20 75 72 6c 28 22 63 68 72 6f 6d 65 | ar.{...-moz-binding:.url("chrome |
1f8c0 | 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 73 65 61 72 63 68 2f 73 65 61 72 63 68 | ://browser/content/search/search |
1f8e0 | 2e 78 6d 6c 23 73 65 61 72 63 68 62 61 72 22 29 3b 0a 7d 0a 0a 74 61 62 62 72 6f 77 73 65 72 20 | .xml#searchbar");.}..tabbrowser. |
1f900 | 7b 0a 20 20 2d 6d 6f 7a 2d 62 69 6e 64 69 6e 67 3a 20 75 72 6c 28 22 63 68 72 6f 6d 65 3a 2f 2f | {...-moz-binding:.url("chrome:// |
1f920 | 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 74 61 62 62 72 6f 77 73 65 72 2e 78 6d 6c 23 74 | browser/content/tabbrowser.xml#t |
1f940 | 61 62 62 72 6f 77 73 65 72 22 29 3b 0a 7d 0a 0a 74 6f 6f 6c 62 61 72 5b 70 72 69 6e 74 70 72 65 | abbrowser");.}..toolbar[printpre |
1f960 | 76 69 65 77 3d 22 74 72 75 65 22 5d 20 7b 0a 20 20 2d 6d 6f 7a 2d 62 69 6e 64 69 6e 67 3a 20 75 | view="true"].{...-moz-binding:.u |
1f980 | 72 6c 28 22 63 68 72 6f 6d 65 3a 2f 2f 67 6c 6f 62 61 6c 2f 63 6f 6e 74 65 6e 74 2f 70 72 69 6e | rl("chrome://global/content/prin |
1f9a0 | 74 50 72 65 76 69 65 77 42 69 6e 64 69 6e 67 73 2e 78 6d 6c 23 70 72 69 6e 74 70 72 65 76 69 65 | tPreviewBindings.xml#printprevie |
1f9c0 | 77 74 6f 6f 6c 62 61 72 22 29 3b 0a 7d 0a 0a 74 6f 6f 6c 62 61 72 70 61 6c 65 74 74 65 69 74 65 | wtoolbar");.}..toolbarpaletteite |
1f9e0 | 6d 5b 70 6c 61 63 65 3d 22 70 61 6c 65 74 74 65 22 5d 20 3e 20 74 6f 6f 6c 62 61 72 69 74 65 6d | m[place="palette"].>.toolbaritem |
1fa00 | 20 3e 20 68 62 6f 78 5b 74 79 70 65 3d 22 70 6c 61 63 65 73 22 5d 20 7b 0a 20 20 64 69 73 70 6c | .>.hbox[type="places"].{...displ |
1fa20 | 61 79 3a 20 6e 6f 6e 65 3b 0a 7d 0a 0a 2f 2a 20 3a 3a 3a 3a 3a 20 6c 6f 63 61 74 69 6f 6e 20 62 | ay:.none;.}../*.:::::.location.b |
1fa40 | 61 72 20 3a 3a 3a 3a 3a 20 2a 2f 0a 23 75 72 6c 62 61 72 20 7b 0a 20 20 2d 6d 6f 7a 2d 62 69 6e | ar.:::::.*/.#urlbar.{...-moz-bin |
1fa60 | 64 69 6e 67 3a 20 75 72 6c 28 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 | ding:.url(chrome://browser/conte |
1fa80 | 6e 74 2f 75 72 6c 62 61 72 42 69 6e 64 69 6e 67 73 2e 78 6d 6c 23 75 72 6c 62 61 72 29 3b 0a 7d | nt/urlbarBindings.xml#urlbar);.} |
1faa0 | 0a 0a 23 77 72 61 70 70 65 72 2d 75 72 6c 62 61 72 2d 63 6f 6e 74 61 69 6e 65 72 20 23 75 72 6c | ..#wrapper-urlbar-container.#url |
1fac0 | 62 61 72 20 7b 0a 20 20 2d 6d 6f 7a 2d 75 73 65 72 2d 69 6e 70 75 74 3a 20 64 69 73 61 62 6c 65 | bar.{...-moz-user-input:.disable |
1fae0 | 64 3b 0a 20 20 63 75 72 73 6f 72 3a 20 2d 6d 6f 7a 2d 67 72 61 62 3b 0a 7d 0a 0a 23 50 6f 70 75 | d;...cursor:.-moz-grab;.}..#Popu |
1fb00 | 70 41 75 74 6f 43 6f 6d 70 6c 65 74 65 20 7b 0a 20 20 2d 6d 6f 7a 2d 62 69 6e 64 69 6e 67 3a 20 | pAutoComplete.{...-moz-binding:. |
1fb20 | 75 72 6c 28 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 75 72 | url("chrome://browser/content/ur |
1fb40 | 6c 62 61 72 42 69 6e 64 69 6e 67 73 2e 78 6d 6c 23 62 72 6f 77 73 65 72 2d 61 75 74 6f 63 6f 6d | lbarBindings.xml#browser-autocom |
1fb60 | 70 6c 65 74 65 2d 72 65 73 75 6c 74 2d 70 6f 70 75 70 22 29 3b 0a 7d 0a 0a 23 50 6f 70 75 70 41 | plete-result-popup");.}..#PopupA |
1fb80 | 75 74 6f 43 6f 6d 70 6c 65 74 65 52 69 63 68 52 65 73 75 6c 74 20 7b 0a 20 20 2d 6d 6f 7a 2d 62 | utoCompleteRichResult.{...-moz-b |
1fba0 | 69 6e 64 69 6e 67 3a 20 75 72 6c 28 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f | inding:.url("chrome://browser/co |
1fbc0 | 6e 74 65 6e 74 2f 75 72 6c 62 61 72 42 69 6e 64 69 6e 67 73 2e 78 6d 6c 23 75 72 6c 62 61 72 2d | ntent/urlbarBindings.xml#urlbar- |
1fbe0 | 72 69 63 68 2d 72 65 73 75 6c 74 2d 70 6f 70 75 70 22 29 3b 0a 7d 0a 0a 23 70 61 67 65 2d 72 65 | rich-result-popup");.}..#page-re |
1fc00 | 70 6f 72 74 2d 62 75 74 74 6f 6e 3a 6e 6f 74 28 5b 62 6c 6f 63 6b 65 64 5d 29 20 7b 0a 20 20 64 | port-button:not([blocked]).{...d |
1fc20 | 69 73 70 6c 61 79 3a 20 6e 6f 6e 65 3b 0a 7d 0a 0a 23 75 72 6c 62 61 72 2d 74 68 72 6f 62 62 65 | isplay:.none;.}..#urlbar-throbbe |
1fc40 | 72 3a 6e 6f 74 28 5b 62 75 73 79 3d 22 74 72 75 65 22 5d 29 2c 0a 23 75 72 6c 62 61 72 2d 74 68 | r:not([busy="true"]),.#urlbar-th |
1fc60 | 72 6f 62 62 65 72 5b 62 75 73 79 3d 22 74 72 75 65 22 5d 20 2b 20 23 70 61 67 65 2d 70 72 6f 78 | robber[busy="true"].+.#page-prox |
1fc80 | 79 2d 66 61 76 69 63 6f 6e 20 7b 0a 20 20 64 69 73 70 6c 61 79 3a 20 6e 6f 6e 65 3b 0a 7d 0a 0a | y-favicon.{...display:.none;.}.. |
1fca0 | 23 66 65 65 64 2d 62 75 74 74 6f 6e 20 3e 20 2e 62 75 74 74 6f 6e 2d 62 6f 78 20 3e 20 2e 62 6f | #feed-button.>..button-box.>..bo |
1fcc0 | 78 2d 69 6e 68 65 72 69 74 20 3e 20 2e 62 75 74 74 6f 6e 2d 74 65 78 74 20 7b 0a 20 20 64 69 73 | x-inherit.>..button-text.{...dis |
1fce0 | 70 6c 61 79 3a 20 6e 6f 6e 65 3b 0a 7d 0a 0a 23 75 72 6c 62 61 72 5b 70 61 67 65 70 72 6f 78 79 | play:.none;.}..#urlbar[pageproxy |
1fd00 | 73 74 61 74 65 3d 22 69 6e 76 61 6c 69 64 22 5d 20 3e 20 23 75 72 6c 62 61 72 2d 69 63 6f 6e 73 | state="invalid"].>.#urlbar-icons |
1fd20 | 20 3e 20 3a 6e 6f 74 28 23 67 6f 2d 62 75 74 74 6f 6e 29 20 2c 0a 23 75 72 6c 62 61 72 5b 70 61 | .>.:not(#go-button).,.#urlbar[pa |
1fd40 | 67 65 70 72 6f 78 79 73 74 61 74 65 3d 22 76 61 6c 69 64 22 5d 20 3e 20 23 75 72 6c 62 61 72 2d | geproxystate="valid"].>.#urlbar- |
1fd60 | 69 63 6f 6e 73 20 3e 20 23 67 6f 2d 62 75 74 74 6f 6e 20 2c 0a 23 75 72 6c 62 61 72 5b 65 6d 70 | icons.>.#go-button.,.#urlbar[emp |
1fd80 | 74 79 3d 22 74 72 75 65 22 5d 20 3e 20 23 75 72 6c 62 61 72 2d 69 63 6f 6e 73 20 3e 20 23 67 6f | ty="true"].>.#urlbar-icons.>.#go |
1fda0 | 2d 62 75 74 74 6f 6e 2c 0a 23 66 65 65 64 2d 62 75 74 74 6f 6e 3a 6e 6f 74 28 5b 66 65 65 64 73 | -button,.#feed-button:not([feeds |
1fdc0 | 5d 29 20 7b 0a 20 20 76 69 73 69 62 69 6c 69 74 79 3a 20 63 6f 6c 6c 61 70 73 65 3b 0a 7d 0a 0a | ]).{...visibility:.collapse;.}.. |
1fde0 | 23 69 64 65 6e 74 69 74 79 2d 62 6f 78 20 3e 20 68 62 6f 78 20 7b 0a 20 20 6d 61 78 2d 77 69 64 | #identity-box.>.hbox.{...max-wid |
1fe00 | 74 68 3a 20 32 32 65 6d 3b 0a 20 20 6d 69 6e 2d 77 69 64 74 68 3a 20 31 70 78 3b 0a 7d 0a 0a 2f | th:.22em;...min-width:.1px;.}../ |
1fe20 | 2a 20 3a 3a 3a 3a 3a 20 55 6e 69 66 69 65 64 20 42 61 63 6b 2d 2f 46 6f 72 77 61 72 64 20 42 75 | *.:::::.Unified.Back-/Forward.Bu |
1fe40 | 74 74 6f 6e 20 3a 3a 3a 3a 3a 20 2a 2f 0a 23 62 61 63 6b 2d 66 6f 72 77 61 72 64 2d 64 72 6f 70 | tton.:::::.*/.#back-forward-drop |
1fe60 | 6d 61 72 6b 65 72 20 3e 20 69 6d 61 67 65 20 2c 0a 23 62 61 63 6b 2d 66 6f 72 77 61 72 64 2d 64 | marker.>.image.,.#back-forward-d |
1fe80 | 72 6f 70 6d 61 72 6b 65 72 20 3e 20 6c 61 62 65 6c 20 7b 0a 20 20 64 69 73 70 6c 61 79 3a 20 6e | ropmarker.>.label.{...display:.n |
1fea0 | 6f 6e 65 3b 0a 7d 0a 2e 75 6e 69 66 69 65 64 2d 6e 61 76 2d 63 75 72 72 65 6e 74 20 7b 0a 20 20 | one;.}..unified-nav-current.{... |
1fec0 | 66 6f 6e 74 2d 77 65 69 67 68 74 3a 20 62 6f 6c 64 3b 0a 7d 0a 0a 2f 2a 20 42 6f 6f 6b 6d 61 72 | font-weight:.bold;.}../*.Bookmar |
1fee0 | 6b 73 20 6f 76 65 72 72 69 64 65 20 74 68 65 20 22 69 6d 61 67 65 73 2d 69 6e 2d 6d 65 6e 75 73 | ks.override.the."images-in-menus |
1ff00 | 22 20 6d 65 74 72 69 63 20 69 6e 20 78 75 6c 2e 63 73 73 20 2a 2f 0a 2e 62 6f 6f 6b 6d 61 72 6b | ".metric.in.xul.css.*/..bookmark |
1ff20 | 2d 69 74 65 6d 20 3e 20 2e 6d 65 6e 75 2d 69 63 6f 6e 69 63 2d 6c 65 66 74 20 7b 0a 20 20 76 69 | -item.>..menu-iconic-left.{...vi |
1ff40 | 73 69 62 69 6c 69 74 79 3a 20 69 6e 68 65 72 69 74 3b 0a 7d 0a 0a 23 65 64 69 74 42 4d 50 61 6e | sibility:.inherit;.}..#editBMPan |
1ff60 | 65 6c 5f 74 61 67 73 53 65 6c 65 63 74 6f 72 20 7b 0a 20 20 2f 2a 20 6f 76 65 72 72 69 64 65 20 | el_tagsSelector.{.../*.override. |
1ff80 | 64 65 66 61 75 6c 74 20 6c 69 73 74 62 6f 78 20 77 69 64 74 68 20 66 72 6f 6d 20 78 75 6c 2e 63 | default.listbox.width.from.xul.c |
1ffa0 | 73 73 20 2a 2f 0a 20 20 77 69 64 74 68 3a 20 61 75 74 6f 3b 0a 7d 0a 0a 6d 65 6e 75 69 74 65 6d | ss.*/...width:.auto;.}..menuitem |
1ffc0 | 2e 73 70 65 6c 6c 2d 73 75 67 67 65 73 74 69 6f 6e 20 7b 0a 20 20 66 6f 6e 74 2d 77 65 69 67 68 | .spell-suggestion.{...font-weigh |
1ffe0 | 74 3a 20 62 6f 6c 64 3b 0a 7d 0a 0a 23 73 69 64 65 62 61 72 2d 62 6f 78 20 74 6f 6f 6c 62 61 72 | t:.bold;.}..#sidebar-box.toolbar |
20000 | 62 75 74 74 6f 6e 2e 74 61 62 73 2d 63 6c 6f 73 65 62 75 74 74 6f 6e 20 7b 0a 20 20 2d 6d 6f 7a | button.tabs-closebutton.{...-moz |
20020 | 2d 75 73 65 72 2d 66 6f 63 75 73 3a 20 6e 6f 72 6d 61 6c 3b 0a 7d 0a 0a 2f 2a 20 61 70 70 6c 79 | -user-focus:.normal;.}../*.apply |
20040 | 20 46 69 74 74 73 27 20 6c 61 77 20 74 6f 20 74 68 65 20 6e 6f 74 69 66 69 63 61 74 69 6f 6e 20 | .Fitts'.law.to.the.notification. |
20060 | 62 61 72 27 73 20 63 6c 6f 73 65 20 62 75 74 74 6f 6e 20 2a 2f 0a 77 69 6e 64 6f 77 5b 73 69 7a | bar's.close.button.*/.window[siz |
20080 | 65 6d 6f 64 65 3d 22 6d 61 78 69 6d 69 7a 65 64 22 5d 20 23 63 6f 6e 74 65 6e 74 20 2e 6e 6f 74 | emode="maximized"].#content..not |
200a0 | 69 66 69 63 61 74 69 6f 6e 2d 69 6e 6e 65 72 20 7b 0a 20 20 62 6f 72 64 65 72 2d 72 69 67 68 74 | ification-inner.{...border-right |
200c0 | 3a 20 30 70 78 20 21 69 6d 70 6f 72 74 61 6e 74 3b 0a 7d 0a 0a 2f 2a 20 48 69 64 65 20 65 78 74 | :.0px.!important;.}../*.Hide.ext |
200e0 | 65 6e 73 69 6f 6e 20 74 6f 6f 6c 62 61 72 73 20 74 68 61 74 20 6e 65 67 6c 65 63 74 65 64 20 74 | ension.toolbars.that.neglected.t |
20100 | 6f 20 73 65 74 20 74 68 65 20 70 72 6f 70 65 72 20 63 6c 61 73 73 20 2a 2f 0a 77 69 6e 64 6f 77 | o.set.the.proper.class.*/.window |
20120 | 5b 63 68 72 6f 6d 65 68 69 64 64 65 6e 7e 3d 22 6c 6f 63 61 74 69 6f 6e 22 5d 5b 63 68 72 6f 6d | [chromehidden~="location"][chrom |
20140 | 65 68 69 64 64 65 6e 7e 3d 22 74 6f 6f 6c 62 61 72 22 5d 20 74 6f 6f 6c 62 61 72 3a 6e 6f 74 28 | ehidden~="toolbar"].toolbar:not( |
20160 | 2e 63 68 72 6f 6d 65 63 6c 61 73 73 2d 6d 65 6e 75 62 61 72 29 2c 0a 77 69 6e 64 6f 77 5b 63 68 | .chromeclass-menubar),.window[ch |
20180 | 72 6f 6d 65 68 69 64 64 65 6e 7e 3d 22 74 6f 6f 6c 62 61 72 22 5d 20 74 6f 6f 6c 62 61 72 3a 6e | romehidden~="toolbar"].toolbar:n |
201a0 | 6f 74 28 2e 74 6f 6f 6c 62 61 72 2d 70 72 69 6d 61 72 79 29 3a 6e 6f 74 28 2e 63 68 72 6f 6d 65 | ot(.toolbar-primary):not(.chrome |
201c0 | 63 6c 61 73 73 2d 6d 65 6e 75 62 61 72 29 20 7b 0a 20 20 64 69 73 70 6c 61 79 3a 20 6e 6f 6e 65 | class-menubar).{...display:.none |
201e0 | 3b 0a 7d 0a 0a 23 6e 61 76 69 67 61 74 6f 72 2d 74 6f 6f 6c 62 6f 78 20 2c 0a 23 73 74 61 74 75 | ;.}..#navigator-toolbox.,.#statu |
20200 | 73 2d 62 61 72 20 2c 0a 23 6d 61 69 6e 50 6f 70 75 70 53 65 74 20 7b 0a 20 20 6d 69 6e 2d 77 69 | s-bar.,.#mainPopupSet.{...min-wi |
20220 | 64 74 68 3a 20 31 70 78 3b 0a 7d 0a 0a 2f 2a 20 49 64 65 6e 74 69 74 79 20 55 49 20 2a 2f 0a 23 | dth:.1px;.}../*.Identity.UI.*/.# |
20240 | 69 64 65 6e 74 69 74 79 2d 70 6f 70 75 70 2d 63 6f 6e 74 65 6e 74 2d 62 6f 78 2e 75 6e 6b 6e 6f | identity-popup-content-box.unkno |
20260 | 77 6e 49 64 65 6e 74 69 74 79 20 3e 20 23 69 64 65 6e 74 69 74 79 2d 70 6f 70 75 70 2d 63 6f 6e | wnIdentity.>.#identity-popup-con |
20280 | 6e 65 63 74 65 64 54 6f 4c 61 62 65 6c 20 2c 0a 23 69 64 65 6e 74 69 74 79 2d 70 6f 70 75 70 2d | nectedToLabel.,.#identity-popup- |
202a0 | 63 6f 6e 74 65 6e 74 2d 62 6f 78 2e 75 6e 6b 6e 6f 77 6e 49 64 65 6e 74 69 74 79 20 3e 20 23 69 | content-box.unknownIdentity.>.#i |
202c0 | 64 65 6e 74 69 74 79 2d 70 6f 70 75 70 2d 72 75 6e 42 79 4c 61 62 65 6c 20 2c 0a 23 69 64 65 6e | dentity-popup-runByLabel.,.#iden |
202e0 | 74 69 74 79 2d 70 6f 70 75 70 2d 63 6f 6e 74 65 6e 74 2d 62 6f 78 2e 75 6e 6b 6e 6f 77 6e 49 64 | tity-popup-content-box.unknownId |
20300 | 65 6e 74 69 74 79 20 3e 20 23 69 64 65 6e 74 69 74 79 2d 70 6f 70 75 70 2d 63 6f 6e 74 65 6e 74 | entity.>.#identity-popup-content |
20320 | 2d 68 6f 73 74 20 2c 0a 23 69 64 65 6e 74 69 74 79 2d 70 6f 70 75 70 2d 63 6f 6e 74 65 6e 74 2d | -host.,.#identity-popup-content- |
20340 | 62 6f 78 2e 75 6e 6b 6e 6f 77 6e 49 64 65 6e 74 69 74 79 20 3e 20 23 69 64 65 6e 74 69 74 79 2d | box.unknownIdentity.>.#identity- |
20360 | 70 6f 70 75 70 2d 63 6f 6e 74 65 6e 74 2d 6f 77 6e 65 72 20 2c 0a 23 69 64 65 6e 74 69 74 79 2d | popup-content-owner.,.#identity- |
20380 | 70 6f 70 75 70 2d 63 6f 6e 74 65 6e 74 2d 62 6f 78 2e 76 65 72 69 66 69 65 64 49 64 65 6e 74 69 | popup-content-box.verifiedIdenti |
203a0 | 74 79 20 3e 20 23 69 64 65 6e 74 69 74 79 2d 70 6f 70 75 70 2d 63 6f 6e 6e 65 63 74 65 64 54 6f | ty.>.#identity-popup-connectedTo |
203c0 | 4c 61 62 65 6c 32 20 2c 0a 23 69 64 65 6e 74 69 74 79 2d 70 6f 70 75 70 2d 63 6f 6e 74 65 6e 74 | Label2.,.#identity-popup-content |
203e0 | 2d 62 6f 78 2e 76 65 72 69 66 69 65 64 44 6f 6d 61 69 6e 20 3e 20 23 69 64 65 6e 74 69 74 79 2d | -box.verifiedDomain.>.#identity- |
20400 | 70 6f 70 75 70 2d 63 6f 6e 6e 65 63 74 65 64 54 6f 4c 61 62 65 6c 32 20 7b 0a 20 20 64 69 73 70 | popup-connectedToLabel2.{...disp |
20420 | 6c 61 79 3a 20 6e 6f 6e 65 3b 0a 7d 0a 0a 2f 2a 20 3a 3a 3a 3a 3a 20 46 75 6c 6c 73 63 72 65 65 | lay:.none;.}../*.:::::.Fullscree |
20440 | 6e 20 70 73 65 75 64 6f 2d 74 6f 6f 6c 62 61 72 20 3a 3a 3a 3a 3a 20 2a 2f 0a 23 66 75 6c 6c 73 | n.pseudo-toolbar.:::::.*/.#fulls |
20460 | 63 72 2d 74 6f 67 67 6c 65 72 20 7b 0a 20 20 64 69 73 70 6c 61 79 3a 20 6e 6f 6e 65 3b 0a 20 20 | cr-toggler.{...display:.none;... |
20480 | 6d 69 6e 2d 68 65 69 67 68 74 3a 20 35 70 78 3b 0a 20 20 68 65 69 67 68 74 3a 20 35 70 78 3b 0a | min-height:.5px;...height:.5px;. |
204a0 | 7d 0a 0a 23 6e 61 76 69 67 61 74 6f 72 2d 74 6f 6f 6c 62 6f 78 5b 69 6e 46 75 6c 6c 73 63 72 65 | }..#navigator-toolbox[inFullscre |
204c0 | 65 6e 3d 22 74 72 75 65 22 5d 20 23 66 75 6c 6c 73 63 72 2d 74 6f 67 67 6c 65 72 20 7b 0a 20 20 | en="true"].#fullscr-toggler.{... |
204e0 | 64 69 73 70 6c 61 79 3a 20 2d 6d 6f 7a 2d 62 6f 78 3b 0a 7d 0a 0a 0a 2f 2a 20 42 75 67 20 34 38 | display:.-moz-box;.}.../*.Bug.48 |
20500 | 33 39 35 30 20 2d 20 48 69 64 65 20 64 6f 6d 61 69 6e 20 6e 61 6d 65 20 69 6e 20 73 74 61 74 75 | 3950.-.Hide.domain.name.in.statu |
20520 | 73 20 62 61 72 20 70 65 6e 64 69 6e 67 20 72 65 6d 6f 76 61 6c 20 2a 2f 0a 23 73 65 63 75 72 69 | s.bar.pending.removal.*/.#securi |
20540 | 74 79 2d 62 75 74 74 6f 6e 20 3e 20 6c 61 62 65 6c 20 7b 0a 20 20 64 69 73 70 6c 61 79 3a 20 6e | ty-button.>.label.{...display:.n |
20560 | 6f 6e 65 3b 0a 7d 0a 50 4b 03 04 14 00 00 00 00 00 f2 4b 18 3b ac 8c da f9 5f bb 04 00 5f bb 04 | one;.}.PK.........K.;...._..._.. |
20580 | 00 1a 00 00 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 62 72 6f 77 73 65 72 2e 6a 73 2f | .....content/browser/browser.js/ |
205a0 | 2f 40 6c 69 6e 65 20 36 33 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 | /@line.63."/builds/moz2_slave/li |
205c0 | 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 62 61 73 65 2f 63 6f 6e | nux_build/build/browser/base/con |
205e0 | 74 65 6e 74 2f 62 72 6f 77 73 65 72 2e 6a 73 22 0a 0a 6c 65 74 20 43 69 20 3d 20 43 6f 6d 70 6f | tent/browser.js"..let.Ci.=.Compo |
20600 | 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 3b 0a 6c 65 74 20 43 75 20 3d 20 43 6f 6d 70 6f | nents.interfaces;.let.Cu.=.Compo |
20620 | 6e 65 6e 74 73 2e 75 74 69 6c 73 3b 0a 43 75 2e 69 6d 70 6f 72 74 28 22 72 65 73 6f 75 72 63 65 | nents.utils;.Cu.import("resource |
20640 | 3a 2f 2f 67 72 65 2f 6d 6f 64 75 6c 65 73 2f 58 50 43 4f 4d 55 74 69 6c 73 2e 6a 73 6d 22 29 3b | ://gre/modules/XPCOMUtils.jsm"); |
20660 | 0a 0a 63 6f 6e 73 74 20 6e 73 49 57 65 62 4e 61 76 69 67 61 74 69 6f 6e 20 3d 20 43 6f 6d 70 6f | ..const.nsIWebNavigation.=.Compo |
20680 | 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 57 65 62 4e 61 76 69 67 61 74 69 6f | nents.interfaces.nsIWebNavigatio |
206a0 | 6e 3b 0a 0a 63 6f 6e 73 74 20 4d 41 58 5f 48 49 53 54 4f 52 59 5f 4d 45 4e 55 5f 49 54 45 4d 53 | n;..const.MAX_HISTORY_MENU_ITEMS |
206c0 | 20 3d 20 31 35 3b 0a 0a 2f 2f 20 57 65 20 75 73 65 20 74 68 69 73 20 6f 6e 63 65 2c 20 66 6f 72 | .=.15;..//.We.use.this.once,.for |
206e0 | 20 43 6c 65 61 72 20 50 72 69 76 61 74 65 20 44 61 74 61 0a 63 6f 6e 73 74 20 47 4c 55 45 5f 43 | .Clear.Private.Data.const.GLUE_C |
20700 | 49 44 20 3d 20 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 62 72 6f 77 73 65 72 2f 62 72 6f 77 73 | ID.=."@mozilla.org/browser/brows |
20720 | 65 72 67 6c 75 65 3b 31 22 3b 0a 0a 76 61 72 20 67 43 68 61 72 73 65 74 4d 65 6e 75 20 3d 20 6e | erglue;1";..var.gCharsetMenu.=.n |
20740 | 75 6c 6c 3b 0a 76 61 72 20 67 4c 61 73 74 42 72 6f 77 73 65 72 43 68 61 72 73 65 74 20 3d 20 6e | ull;.var.gLastBrowserCharset.=.n |
20760 | 75 6c 6c 3b 0a 76 61 72 20 67 50 72 65 76 43 68 61 72 73 65 74 20 3d 20 6e 75 6c 6c 3b 0a 76 61 | ull;.var.gPrevCharset.=.null;.va |
20780 | 72 20 67 50 72 6f 78 79 46 61 76 49 63 6f 6e 20 3d 20 6e 75 6c 6c 3b 0a 76 61 72 20 67 4c 61 73 | r.gProxyFavIcon.=.null;.var.gLas |
207a0 | 74 56 61 6c 69 64 55 52 4c 53 74 72 20 3d 20 22 22 3b 0a 76 61 72 20 67 50 72 6f 67 72 65 73 73 | tValidURLStr.=."";.var.gProgress |
207c0 | 43 6f 6c 6c 61 70 73 65 54 69 6d 65 72 20 3d 20 6e 75 6c 6c 3b 0a 76 61 72 20 61 70 70 43 6f 72 | CollapseTimer.=.null;.var.appCor |
207e0 | 65 20 3d 20 6e 75 6c 6c 3b 0a 76 61 72 20 67 53 69 64 65 62 61 72 43 6f 6d 6d 61 6e 64 20 3d 20 | e.=.null;.var.gSidebarCommand.=. |
20800 | 22 22 3b 0a 76 61 72 20 67 49 6e 50 72 69 6e 74 50 72 65 76 69 65 77 4d 6f 64 65 20 3d 20 66 61 | "";.var.gInPrintPreviewMode.=.fa |
20820 | 6c 73 65 3b 0a 6c 65 74 20 67 44 6f 77 6e 6c 6f 61 64 4d 67 72 20 3d 20 6e 75 6c 6c 3b 0a 0a 2f | lse;.let.gDownloadMgr.=.null;../ |
20840 | 2f 20 47 6c 6f 62 61 6c 20 76 61 72 69 61 62 6c 65 20 74 68 61 74 20 68 6f 6c 64 73 20 74 68 65 | /.Global.variable.that.holds.the |
20860 | 20 6e 73 43 6f 6e 74 65 78 74 4d 65 6e 75 20 69 6e 73 74 61 6e 63 65 2e 0a 76 61 72 20 67 43 6f | .nsContextMenu.instance..var.gCo |
20880 | 6e 74 65 78 74 4d 65 6e 75 20 3d 20 6e 75 6c 6c 3b 0a 0a 76 61 72 20 67 43 68 72 6f 6d 65 53 74 | ntextMenu.=.null;..var.gChromeSt |
208a0 | 61 74 65 20 3d 20 6e 75 6c 6c 3b 20 2f 2f 20 63 68 72 6f 6d 65 20 73 74 61 74 65 20 62 65 66 6f | ate.=.null;.//.chrome.state.befo |
208c0 | 72 65 20 77 65 20 77 65 6e 74 20 69 6e 74 6f 20 70 72 69 6e 74 20 70 72 65 76 69 65 77 0a 0a 76 | re.we.went.into.print.preview..v |
208e0 | 61 72 20 67 41 75 74 6f 48 69 64 65 54 61 62 62 61 72 50 72 65 66 4c 69 73 74 65 6e 65 72 20 3d | ar.gAutoHideTabbarPrefListener.= |
20900 | 20 6e 75 6c 6c 3b 0a 76 61 72 20 67 42 6f 6f 6b 6d 61 72 6b 41 6c 6c 54 61 62 73 48 61 6e 64 6c | .null;.var.gBookmarkAllTabsHandl |
20920 | 65 72 20 3d 20 6e 75 6c 6c 3b 0a 0a 2f 2f 40 6c 69 6e 65 20 39 37 20 22 2f 62 75 69 6c 64 73 2f | er.=.null;..//@line.97."/builds/ |
20940 | 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f | moz2_slave/linux_build/build/bro |
20960 | 77 73 65 72 2f 62 61 73 65 2f 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2e 6a 73 22 0a 0a 2f | wser/base/content/browser.js"../ |
20980 | 2f 40 6c 69 6e 65 20 39 39 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 | /@line.99."/builds/moz2_slave/li |
209a0 | 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 62 61 73 65 2f 63 6f 6e | nux_build/build/browser/base/con |
209c0 | 74 65 6e 74 2f 62 72 6f 77 73 65 72 2e 6a 73 22 0a 76 61 72 20 67 45 64 69 74 55 49 56 69 73 69 | tent/browser.js".var.gEditUIVisi |
209e0 | 62 6c 65 20 3d 20 74 72 75 65 3b 0a 2f 2f 40 6c 69 6e 65 20 31 30 31 20 22 2f 62 75 69 6c 64 73 | ble.=.true;.//@line.101."/builds |
20a00 | 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 | /moz2_slave/linux_build/build/br |
20a20 | 6f 77 73 65 72 2f 62 61 73 65 2f 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2e 6a 73 22 0a 0a | owser/base/content/browser.js".. |
20a40 | 5b 0a 20 20 5b 22 67 42 72 6f 77 73 65 72 22 2c 20 20 20 20 20 20 20 20 20 20 20 20 22 63 6f 6e | [...["gBrowser",............"con |
20a60 | 74 65 6e 74 22 5d 2c 0a 20 20 5b 22 67 4e 61 76 54 6f 6f 6c 62 6f 78 22 2c 20 20 20 20 20 20 20 | tent"],...["gNavToolbox",....... |
20a80 | 20 20 22 6e 61 76 69 67 61 74 6f 72 2d 74 6f 6f 6c 62 6f 78 22 5d 2c 0a 20 20 5b 22 67 55 52 4c | .."navigator-toolbox"],...["gURL |
20aa0 | 42 61 72 22 2c 20 20 20 20 20 20 20 20 20 20 20 20 20 22 75 72 6c 62 61 72 22 5d 2c 0a 20 20 5b | Bar",............."urlbar"],...[ |
20ac0 | 22 67 4e 61 76 69 67 61 74 6f 72 42 75 6e 64 6c 65 22 2c 20 20 20 20 22 62 75 6e 64 6c 65 5f 62 | "gNavigatorBundle",...."bundle_b |
20ae0 | 72 6f 77 73 65 72 22 5d 2c 0a 20 20 5b 22 67 50 72 6f 67 72 65 73 73 4d 65 74 65 72 50 61 6e 65 | rowser"],...["gProgressMeterPane |
20b00 | 6c 22 2c 20 22 73 74 61 74 75 73 62 61 72 2d 70 72 6f 67 72 65 73 73 70 61 6e 65 6c 22 5d 2c 0a | l",."statusbar-progresspanel"],. |
20b20 | 20 20 5b 22 67 46 69 6e 64 42 61 72 22 2c 20 20 20 20 20 20 20 20 20 20 20 20 22 46 69 6e 64 54 | ..["gFindBar",............"FindT |
20b40 | 6f 6f 6c 62 61 72 22 5d 0a 5d 2e 66 6f 72 45 61 63 68 28 66 75 6e 63 74 69 6f 6e 20 28 65 6c 65 | oolbar"].].forEach(function.(ele |
20b60 | 6d 65 6e 74 47 6c 6f 62 61 6c 29 20 7b 0a 20 20 76 61 72 20 5b 6e 61 6d 65 2c 20 69 64 5d 20 3d | mentGlobal).{...var.[name,.id].= |
20b80 | 20 65 6c 65 6d 65 6e 74 47 6c 6f 62 61 6c 3b 0a 20 20 77 69 6e 64 6f 77 2e 5f 5f 64 65 66 69 6e | .elementGlobal;...window.__defin |
20ba0 | 65 47 65 74 74 65 72 5f 5f 28 6e 61 6d 65 2c 20 66 75 6e 63 74 69 6f 6e 20 28 29 20 7b 0a 20 20 | eGetter__(name,.function.().{... |
20bc0 | 20 20 76 61 72 20 65 6c 65 6d 65 6e 74 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d | ..var.element.=.document.getElem |
20be0 | 65 6e 74 42 79 49 64 28 69 64 29 3b 0a 20 20 20 20 69 66 20 28 21 65 6c 65 6d 65 6e 74 29 0a 20 | entById(id);.....if.(!element).. |
20c00 | 20 20 20 20 20 72 65 74 75 72 6e 20 6e 75 6c 6c 3b 0a 20 20 20 20 64 65 6c 65 74 65 20 77 69 6e | .....return.null;.....delete.win |
20c20 | 64 6f 77 5b 6e 61 6d 65 5d 3b 0a 20 20 20 20 72 65 74 75 72 6e 20 77 69 6e 64 6f 77 5b 6e 61 6d | dow[name];.....return.window[nam |
20c40 | 65 5d 20 3d 20 65 6c 65 6d 65 6e 74 3b 0a 20 20 7d 29 3b 0a 20 20 77 69 6e 64 6f 77 2e 5f 5f 64 | e].=.element;...});...window.__d |
20c60 | 65 66 69 6e 65 53 65 74 74 65 72 5f 5f 28 6e 61 6d 65 2c 20 66 75 6e 63 74 69 6f 6e 20 28 76 61 | efineSetter__(name,.function.(va |
20c80 | 6c 29 20 7b 0a 20 20 20 20 64 65 6c 65 74 65 20 77 69 6e 64 6f 77 5b 6e 61 6d 65 5d 3b 0a 20 20 | l).{.....delete.window[name];... |
20ca0 | 20 20 72 65 74 75 72 6e 20 77 69 6e 64 6f 77 5b 6e 61 6d 65 5d 20 3d 20 76 61 6c 3b 0a 20 20 7d | ..return.window[name].=.val;...} |
20cc0 | 29 3b 0a 7d 29 3b 0a 0a 5f 5f 64 65 66 69 6e 65 47 65 74 74 65 72 5f 5f 28 22 67 50 72 65 66 53 | );.});..__defineGetter__("gPrefS |
20ce0 | 65 72 76 69 63 65 22 2c 20 66 75 6e 63 74 69 6f 6e 28 29 20 7b 0a 20 20 64 65 6c 65 74 65 20 74 | ervice",.function().{...delete.t |
20d00 | 68 69 73 2e 67 50 72 65 66 53 65 72 76 69 63 65 3b 0a 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e | his.gPrefService;...return.this. |
20d20 | 67 50 72 65 66 53 65 72 76 69 63 65 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f | gPrefService.=.Cc["@mozilla.org/ |
20d40 | 70 72 65 66 65 72 65 6e 63 65 73 2d 73 65 72 76 69 63 65 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 | preferences-service;1"]......... |
20d60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 53 65 72 76 69 63 65 | ......................getService |
20d80 | 28 43 69 2e 6e 73 49 50 72 65 66 42 72 61 6e 63 68 32 29 3b 0a 7d 29 3b 0a 0a 5f 5f 64 65 66 69 | (Ci.nsIPrefBranch2);.});..__defi |
20da0 | 6e 65 47 65 74 74 65 72 5f 5f 28 22 50 6c 75 72 61 6c 46 6f 72 6d 22 2c 20 66 75 6e 63 74 69 6f | neGetter__("PluralForm",.functio |
20dc0 | 6e 28 29 20 7b 0a 20 20 64 65 6c 65 74 65 20 74 68 69 73 2e 50 6c 75 72 61 6c 46 6f 72 6d 3b 0a | n().{...delete.this.PluralForm;. |
20de0 | 20 20 76 61 72 20 74 6d 70 53 63 6f 70 65 20 3d 20 7b 7d 3b 0a 20 20 43 75 2e 69 6d 70 6f 72 74 | ..var.tmpScope.=.{};...Cu.import |
20e00 | 28 22 72 65 73 6f 75 72 63 65 3a 2f 2f 67 72 65 2f 6d 6f 64 75 6c 65 73 2f 50 6c 75 72 61 6c 46 | ("resource://gre/modules/PluralF |
20e20 | 6f 72 6d 2e 6a 73 6d 22 2c 20 74 6d 70 53 63 6f 70 65 29 3b 0a 20 20 72 65 74 75 72 6e 20 74 68 | orm.jsm",.tmpScope);...return.th |
20e40 | 69 73 2e 50 6c 75 72 61 6c 46 6f 72 6d 20 3d 20 74 6d 70 53 63 6f 70 65 2e 50 6c 75 72 61 6c 46 | is.PluralForm.=.tmpScope.PluralF |
20e60 | 6f 72 6d 3b 0a 7d 29 3b 0a 5f 5f 64 65 66 69 6e 65 53 65 74 74 65 72 5f 5f 28 22 50 6c 75 72 61 | orm;.});.__defineSetter__("Plura |
20e80 | 6c 46 6f 72 6d 22 2c 20 66 75 6e 63 74 69 6f 6e 20 28 76 61 6c 29 20 7b 0a 20 20 64 65 6c 65 74 | lForm",.function.(val).{...delet |
20ea0 | 65 20 74 68 69 73 2e 50 6c 75 72 61 6c 46 6f 72 6d 3b 0a 20 20 72 65 74 75 72 6e 20 74 68 69 73 | e.this.PluralForm;...return.this |
20ec0 | 2e 50 6c 75 72 61 6c 46 6f 72 6d 20 3d 20 76 61 6c 3b 0a 7d 29 3b 0a 0a 6c 65 74 20 67 49 6e 69 | .PluralForm.=.val;.});..let.gIni |
20ee0 | 74 69 61 6c 50 61 67 65 73 20 3d 20 5b 0a 20 20 22 61 62 6f 75 74 3a 62 6c 61 6e 6b 22 2c 0a 20 | tialPages.=.[..."about:blank",.. |
20f00 | 20 22 61 62 6f 75 74 3a 70 72 69 76 61 74 65 62 72 6f 77 73 69 6e 67 22 2c 0a 20 20 22 61 62 6f | ."about:privatebrowsing",..."abo |
20f20 | 75 74 3a 73 65 73 73 69 6f 6e 72 65 73 74 6f 72 65 22 0a 5d 3b 0a 0a 2f 2a 2a 0a 2a 20 57 65 20 | ut:sessionrestore".];../**.*.We. |
20f40 | 63 61 6e 20 61 76 6f 69 64 20 61 64 64 69 6e 67 20 6d 75 6c 74 69 70 6c 65 20 6c 6f 61 64 20 65 | can.avoid.adding.multiple.load.e |
20f60 | 76 65 6e 74 20 6c 69 73 74 65 6e 65 72 73 20 61 6e 64 20 73 61 76 65 20 73 6f 6d 65 20 74 69 6d | vent.listeners.and.save.some.tim |
20f80 | 65 20 62 79 20 61 64 64 69 6e 67 0a 2a 20 6f 6e 65 20 6c 69 73 74 65 6e 65 72 20 74 68 61 74 20 | e.by.adding.*.one.listener.that. |
20fa0 | 63 61 6c 6c 73 20 61 6c 6c 20 72 65 61 6c 20 68 61 6e 64 6c 65 72 73 2e 0a 2a 2f 0a 66 75 6e 63 | calls.all.real.handlers..*/.func |
20fc0 | 74 69 6f 6e 20 70 61 67 65 53 68 6f 77 45 76 65 6e 74 48 61 6e 64 6c 65 72 73 28 65 76 65 6e 74 | tion.pageShowEventHandlers(event |
20fe0 | 29 20 7b 0a 20 20 2f 2f 20 46 69 6c 74 65 72 20 6f 75 74 20 65 76 65 6e 74 73 20 74 68 61 74 20 | ).{...//.Filter.out.events.that. |
21000 | 61 72 65 20 6e 6f 74 20 61 62 6f 75 74 20 74 68 65 20 64 6f 63 75 6d 65 6e 74 20 6c 6f 61 64 20 | are.not.about.the.document.load. |
21020 | 77 65 20 61 72 65 20 69 6e 74 65 72 65 73 74 65 64 20 69 6e 0a 20 20 69 66 20 28 65 76 65 6e 74 | we.are.interested.in...if.(event |
21040 | 2e 6f 72 69 67 69 6e 61 6c 54 61 72 67 65 74 20 3d 3d 20 63 6f 6e 74 65 6e 74 2e 64 6f 63 75 6d | .originalTarget.==.content.docum |
21060 | 65 6e 74 29 20 7b 0a 20 20 20 20 63 68 61 72 73 65 74 4c 6f 61 64 4c 69 73 74 65 6e 65 72 28 65 | ent).{.....charsetLoadListener(e |
21080 | 76 65 6e 74 29 3b 0a 20 20 20 20 58 55 4c 42 72 6f 77 73 65 72 57 69 6e 64 6f 77 2e 61 73 79 6e | vent);.....XULBrowserWindow.asyn |
210a0 | 63 55 70 64 61 74 65 55 49 28 29 3b 0a 20 20 7d 0a 7d 0a 0a 2f 2a 2a 0a 20 2a 20 44 65 74 65 72 | cUpdateUI();...}.}../**..*.Deter |
210c0 | 6d 69 6e 65 20 77 68 65 74 68 65 72 20 6f 72 20 6e 6f 74 20 74 68 65 20 63 6f 6e 74 65 6e 74 20 | mine.whether.or.not.the.content. |
210e0 | 61 72 65 61 20 69 73 20 64 69 73 70 6c 61 79 69 6e 67 20 61 20 70 61 67 65 20 77 69 74 68 20 66 | area.is.displaying.a.page.with.f |
21100 | 72 61 6d 65 73 2c 0a 20 2a 20 61 6e 64 20 69 66 20 73 6f 2c 20 74 6f 67 67 6c 65 20 74 68 65 20 | rames,..*.and.if.so,.toggle.the. |
21120 | 64 69 73 70 6c 61 79 20 6f 66 20 74 68 65 20 27 73 61 76 65 20 66 72 61 6d 65 20 61 73 27 20 6d | display.of.the.'save.frame.as'.m |
21140 | 65 6e 75 20 69 74 65 6d 2e 0a 20 2a 2a 2f 0a 66 75 6e 63 74 69 6f 6e 20 67 65 74 43 6f 6e 74 65 | enu.item...**/.function.getConte |
21160 | 6e 74 41 72 65 61 46 72 61 6d 65 43 6f 75 6e 74 28 29 0a 7b 0a 20 20 76 61 72 20 73 61 76 65 46 | ntAreaFrameCount().{...var.saveF |
21180 | 72 61 6d 65 49 74 65 6d 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 | rameItem.=.document.getElementBy |
211a0 | 49 64 28 22 6d 65 6e 75 5f 73 61 76 65 46 72 61 6d 65 22 29 3b 0a 20 20 69 66 20 28 21 63 6f 6e | Id("menu_saveFrame");...if.(!con |
211c0 | 74 65 6e 74 20 7c 7c 20 21 63 6f 6e 74 65 6e 74 2e 66 72 61 6d 65 73 2e 6c 65 6e 67 74 68 20 7c | tent.||.!content.frames.length.| |
211e0 | 7c 20 21 69 73 43 6f 6e 74 65 6e 74 46 72 61 6d 65 28 64 6f 63 75 6d 65 6e 74 2e 63 6f 6d 6d 61 | |.!isContentFrame(document.comma |
21200 | 6e 64 44 69 73 70 61 74 63 68 65 72 2e 66 6f 63 75 73 65 64 57 69 6e 64 6f 77 29 29 0a 20 20 20 | ndDispatcher.focusedWindow)).... |
21220 | 20 73 61 76 65 46 72 61 6d 65 49 74 65 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 68 69 64 | .saveFrameItem.setAttribute("hid |
21240 | 64 65 6e 22 2c 20 22 74 72 75 65 22 29 3b 0a 20 20 65 6c 73 65 0a 20 20 20 20 73 61 76 65 46 72 | den",."true");...else.....saveFr |
21260 | 61 6d 65 49 74 65 6d 2e 72 65 6d 6f 76 65 41 74 74 72 69 62 75 74 65 28 22 68 69 64 64 65 6e 22 | ameItem.removeAttribute("hidden" |
21280 | 29 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 55 70 64 61 74 65 42 61 63 6b 46 6f 72 77 61 72 64 | );.}..function.UpdateBackForward |
212a0 | 43 6f 6d 6d 61 6e 64 73 28 61 57 65 62 4e 61 76 69 67 61 74 69 6f 6e 29 20 7b 0a 20 20 76 61 72 | Commands(aWebNavigation).{...var |
212c0 | 20 62 61 63 6b 42 72 6f 61 64 63 61 73 74 65 72 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 | .backBroadcaster.=.document.getE |
212e0 | 6c 65 6d 65 6e 74 42 79 49 64 28 22 42 72 6f 77 73 65 72 3a 42 61 63 6b 22 29 3b 0a 20 20 76 61 | lementById("Browser:Back");...va |
21300 | 72 20 66 6f 72 77 61 72 64 42 72 6f 61 64 63 61 73 74 65 72 20 3d 20 64 6f 63 75 6d 65 6e 74 2e | r.forwardBroadcaster.=.document. |
21320 | 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 42 72 6f 77 73 65 72 3a 46 6f 72 77 61 72 64 22 | getElementById("Browser:Forward" |
21340 | 29 3b 0a 0a 20 20 2f 2f 20 41 76 6f 69 64 20 73 65 74 74 69 6e 67 20 61 74 74 72 69 62 75 74 65 | );....//.Avoid.setting.attribute |
21360 | 73 20 6f 6e 20 62 72 6f 61 64 63 61 73 74 65 72 73 20 69 66 20 74 68 65 20 76 61 6c 75 65 20 68 | s.on.broadcasters.if.the.value.h |
21380 | 61 73 6e 27 74 20 63 68 61 6e 67 65 64 21 0a 20 20 2f 2f 20 52 65 6d 65 6d 62 65 72 2c 20 67 75 | asn't.changed!...//.Remember,.gu |
213a0 | 79 73 2c 20 73 65 74 74 69 6e 67 20 61 74 74 72 69 62 75 74 65 73 20 6f 6e 20 65 6c 65 6d 65 6e | ys,.setting.attributes.on.elemen |
213c0 | 74 73 20 69 73 20 65 78 70 65 6e 73 69 76 65 21 20 20 54 68 65 79 0a 20 20 2f 2f 20 67 65 74 20 | ts.is.expensive!..They...//.get. |
213e0 | 69 6e 68 65 72 69 74 65 64 20 69 6e 74 6f 20 61 6e 6f 6e 79 6d 6f 75 73 20 63 6f 6e 74 65 6e 74 | inherited.into.anonymous.content |
21400 | 2c 20 62 72 6f 61 64 63 61 73 74 20 74 6f 20 6f 74 68 65 72 20 77 69 64 67 65 74 73 2c 20 65 74 | ,.broadcast.to.other.widgets,.et |
21420 | 63 2e 21 0a 20 20 2f 2f 20 44 6f 6e 27 74 20 64 6f 20 69 74 20 69 66 20 74 68 65 20 76 61 6c 75 | c.!...//.Don't.do.it.if.the.valu |
21440 | 65 20 68 61 73 6e 27 74 20 63 68 61 6e 67 65 64 21 20 2d 20 64 77 68 0a 0a 20 20 76 61 72 20 62 | e.hasn't.changed!.-.dwh....var.b |
21460 | 61 63 6b 44 69 73 61 62 6c 65 64 20 3d 20 62 61 63 6b 42 72 6f 61 64 63 61 73 74 65 72 2e 68 61 | ackDisabled.=.backBroadcaster.ha |
21480 | 73 41 74 74 72 69 62 75 74 65 28 22 64 69 73 61 62 6c 65 64 22 29 3b 0a 20 20 76 61 72 20 66 6f | sAttribute("disabled");...var.fo |
214a0 | 72 77 61 72 64 44 69 73 61 62 6c 65 64 20 3d 20 66 6f 72 77 61 72 64 42 72 6f 61 64 63 61 73 74 | rwardDisabled.=.forwardBroadcast |
214c0 | 65 72 2e 68 61 73 41 74 74 72 69 62 75 74 65 28 22 64 69 73 61 62 6c 65 64 22 29 3b 0a 20 20 69 | er.hasAttribute("disabled");...i |
214e0 | 66 20 28 62 61 63 6b 44 69 73 61 62 6c 65 64 20 3d 3d 20 61 57 65 62 4e 61 76 69 67 61 74 69 6f | f.(backDisabled.==.aWebNavigatio |
21500 | 6e 2e 63 61 6e 47 6f 42 61 63 6b 29 20 7b 0a 20 20 20 20 69 66 20 28 62 61 63 6b 44 69 73 61 62 | n.canGoBack).{.....if.(backDisab |
21520 | 6c 65 64 29 0a 20 20 20 20 20 20 62 61 63 6b 42 72 6f 61 64 63 61 73 74 65 72 2e 72 65 6d 6f 76 | led).......backBroadcaster.remov |
21540 | 65 41 74 74 72 69 62 75 74 65 28 22 64 69 73 61 62 6c 65 64 22 29 3b 0a 20 20 20 20 65 6c 73 65 | eAttribute("disabled");.....else |
21560 | 0a 20 20 20 20 20 20 62 61 63 6b 42 72 6f 61 64 63 61 73 74 65 72 2e 73 65 74 41 74 74 72 69 62 | .......backBroadcaster.setAttrib |
21580 | 75 74 65 28 22 64 69 73 61 62 6c 65 64 22 2c 20 74 72 75 65 29 3b 0a 20 20 7d 0a 0a 20 20 69 66 | ute("disabled",.true);...}....if |
215a0 | 20 28 66 6f 72 77 61 72 64 44 69 73 61 62 6c 65 64 20 3d 3d 20 61 57 65 62 4e 61 76 69 67 61 74 | .(forwardDisabled.==.aWebNavigat |
215c0 | 69 6f 6e 2e 63 61 6e 47 6f 46 6f 72 77 61 72 64 29 20 7b 0a 20 20 20 20 69 66 20 28 66 6f 72 77 | ion.canGoForward).{.....if.(forw |
215e0 | 61 72 64 44 69 73 61 62 6c 65 64 29 0a 20 20 20 20 20 20 66 6f 72 77 61 72 64 42 72 6f 61 64 63 | ardDisabled).......forwardBroadc |
21600 | 61 73 74 65 72 2e 72 65 6d 6f 76 65 41 74 74 72 69 62 75 74 65 28 22 64 69 73 61 62 6c 65 64 22 | aster.removeAttribute("disabled" |
21620 | 29 3b 0a 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 66 6f 72 77 61 72 64 42 72 6f 61 64 63 61 | );.....else.......forwardBroadca |
21640 | 73 74 65 72 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 64 69 73 61 62 6c 65 64 22 2c 20 74 72 | ster.setAttribute("disabled",.tr |
21660 | 75 65 29 3b 0a 20 20 7d 0a 7d 0a 0a 2f 2f 40 6c 69 6e 65 20 32 38 34 20 22 2f 62 75 69 6c 64 73 | ue);...}.}..//@line.284."/builds |
21680 | 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 | /moz2_slave/linux_build/build/br |
216a0 | 6f 77 73 65 72 2f 62 61 73 65 2f 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2e 6a 73 22 0a 0a | owser/base/content/browser.js".. |
216c0 | 66 75 6e 63 74 69 6f 6e 20 42 6f 6f 6b 6d 61 72 6b 54 68 69 73 54 61 62 28 29 20 7b 0a 20 20 50 | function.BookmarkThisTab().{...P |
216e0 | 6c 61 63 65 73 43 6f 6d 6d 61 6e 64 48 6f 6f 6b 2e 62 6f 6f 6b 6d 61 72 6b 50 61 67 65 28 67 42 | lacesCommandHook.bookmarkPage(gB |
21700 | 72 6f 77 73 65 72 2e 6d 43 6f 6e 74 65 78 74 54 61 62 2e 6c 69 6e 6b 65 64 42 72 6f 77 73 65 72 | rowser.mContextTab.linkedBrowser |
21720 | 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ,............................... |
21740 | 20 20 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 62 6f 6f 6b 6d 61 72 6b 73 4d 65 6e 75 46 6f 6c 64 | ...PlacesUtils.bookmarksMenuFold |
21760 | 65 72 49 64 2c 20 74 72 75 65 29 3b 0a 7d 0a 0a 63 6f 6e 73 74 20 67 53 65 73 73 69 6f 6e 48 69 | erId,.true);.}..const.gSessionHi |
21780 | 73 74 6f 72 79 4f 62 73 65 72 76 65 72 20 3d 20 7b 0a 20 20 6f 62 73 65 72 76 65 3a 20 66 75 6e | storyObserver.=.{...observe:.fun |
217a0 | 63 74 69 6f 6e 28 73 75 62 6a 65 63 74 2c 20 74 6f 70 69 63 2c 20 64 61 74 61 29 0a 20 20 7b 0a | ction(subject,.topic,.data)...{. |
217c0 | 20 20 20 20 69 66 20 28 74 6f 70 69 63 20 21 3d 20 22 62 72 6f 77 73 65 72 3a 70 75 72 67 65 2d | ....if.(topic.!=."browser:purge- |
217e0 | 73 65 73 73 69 6f 6e 2d 68 69 73 74 6f 72 79 22 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a | session-history").......return;. |
21800 | 0a 20 20 20 20 76 61 72 20 62 61 63 6b 43 6f 6d 6d 61 6e 64 20 3d 20 64 6f 63 75 6d 65 6e 74 2e | .....var.backCommand.=.document. |
21820 | 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 42 72 6f 77 73 65 72 3a 42 61 63 6b 22 29 3b 0a | getElementById("Browser:Back");. |
21840 | 20 20 20 20 62 61 63 6b 43 6f 6d 6d 61 6e 64 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 64 69 | ....backCommand.setAttribute("di |
21860 | 73 61 62 6c 65 64 22 2c 20 22 74 72 75 65 22 29 3b 0a 20 20 20 20 76 61 72 20 66 77 64 43 6f 6d | sabled",."true");.....var.fwdCom |
21880 | 6d 61 6e 64 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 | mand.=.document.getElementById(" |
218a0 | 42 72 6f 77 73 65 72 3a 46 6f 72 77 61 72 64 22 29 3b 0a 20 20 20 20 66 77 64 43 6f 6d 6d 61 6e | Browser:Forward");.....fwdComman |
218c0 | 64 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 64 69 73 61 62 6c 65 64 22 2c 20 22 74 72 75 65 | d.setAttribute("disabled",."true |
218e0 | 22 29 3b 0a 0a 20 20 20 20 69 66 20 28 67 55 52 4c 42 61 72 29 20 7b 0a 20 20 20 20 20 20 2f 2f | ");......if.(gURLBar).{.......// |
21900 | 20 43 6c 65 61 72 20 75 6e 64 6f 20 68 69 73 74 6f 72 79 20 6f 66 20 74 68 65 20 55 52 4c 20 62 | .Clear.undo.history.of.the.URL.b |
21920 | 61 72 0a 20 20 20 20 20 20 67 55 52 4c 42 61 72 2e 65 64 69 74 6f 72 2e 74 72 61 6e 73 61 63 74 | ar.......gURLBar.editor.transact |
21940 | 69 6f 6e 4d 61 6e 61 67 65 72 2e 63 6c 65 61 72 28 29 0a 20 20 20 20 7d 0a 20 20 7d 0a 7d 3b 0a | ionManager.clear().....}...}.};. |
21960 | 0a 2f 2a 2a 0a 20 2a 20 47 69 76 65 6e 20 61 20 73 74 61 72 74 69 6e 67 20 64 6f 63 73 68 65 6c | ./**..*.Given.a.starting.docshel |
21980 | 6c 20 61 6e 64 20 61 20 55 52 49 20 74 6f 20 6c 6f 6f 6b 20 75 70 2c 20 66 69 6e 64 20 74 68 65 | l.and.a.URI.to.look.up,.find.the |
219a0 | 20 64 6f 63 73 68 65 6c 6c 20 74 68 65 20 55 52 49 0a 20 2a 20 69 73 20 6c 6f 61 64 65 64 20 69 | .docshell.the.URI..*.is.loaded.i |
219c0 | 6e 2e 20 0a 20 2a 20 40 70 61 72 61 6d 20 20 20 61 44 6f 63 75 6d 65 6e 74 0a 20 2a 20 20 20 20 | n....*.@param...aDocument..*.... |
219e0 | 20 20 20 20 20 20 41 20 64 6f 63 75 6d 65 6e 74 20 74 6f 20 66 69 6e 64 20 69 6e 73 74 65 61 64 | ......A.document.to.find.instead |
21a00 | 20 6f 66 20 75 73 69 6e 67 20 6a 75 73 74 20 61 20 55 52 49 20 2d 20 74 68 69 73 20 69 73 20 6d | .of.using.just.a.URI.-.this.is.m |
21a20 | 6f 72 65 20 73 70 65 63 69 66 69 63 2e 20 0a 20 2a 20 40 70 61 72 61 6d 20 20 20 61 44 6f 63 53 | ore.specific....*.@param...aDocS |
21a40 | 68 65 6c 6c 0a 20 2a 20 20 20 20 20 20 20 20 20 20 54 68 65 20 64 6f 63 20 73 68 65 6c 6c 20 74 | hell..*..........The.doc.shell.t |
21a60 | 6f 20 73 74 61 72 74 20 61 74 0a 20 2a 20 40 70 61 72 61 6d 20 20 20 61 53 6f 75 67 68 74 55 52 | o.start.at..*.@param...aSoughtUR |
21a80 | 49 0a 20 2a 20 20 20 20 20 20 20 20 20 20 54 68 65 20 55 52 49 20 74 68 61 74 20 77 65 27 72 65 | I..*..........The.URI.that.we're |
21aa0 | 20 6c 6f 6f 6b 69 6e 67 20 66 6f 72 0a 20 2a 20 40 72 65 74 75 72 6e 73 20 54 68 65 20 64 6f 63 | .looking.for..*.@returns.The.doc |
21ac0 | 20 73 68 65 6c 6c 20 74 68 61 74 20 74 68 65 20 73 6f 75 67 68 74 20 55 52 49 20 69 73 20 6c 6f | .shell.that.the.sought.URI.is.lo |
21ae0 | 61 64 65 64 20 69 6e 2e 20 43 61 6e 20 62 65 20 69 6e 20 0a 20 2a 20 20 20 20 20 20 20 20 20 20 | aded.in..Can.be.in...*.......... |
21b00 | 73 75 62 66 72 61 6d 65 73 2e 0a 20 2a 2f 0a 66 75 6e 63 74 69 6f 6e 20 66 69 6e 64 43 68 69 6c | subframes...*/.function.findChil |
21b20 | 64 53 68 65 6c 6c 28 61 44 6f 63 75 6d 65 6e 74 2c 20 61 44 6f 63 53 68 65 6c 6c 2c 20 61 53 6f | dShell(aDocument,.aDocShell,.aSo |
21b40 | 75 67 68 74 55 52 49 29 20 7b 0a 20 20 61 44 6f 63 53 68 65 6c 6c 2e 51 75 65 72 79 49 6e 74 65 | ughtURI).{...aDocShell.QueryInte |
21b60 | 72 66 61 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 57 | rface(Components.interfaces.nsIW |
21b80 | 65 62 4e 61 76 69 67 61 74 69 6f 6e 29 3b 0a 20 20 61 44 6f 63 53 68 65 6c 6c 2e 51 75 65 72 79 | ebNavigation);...aDocShell.Query |
21ba0 | 49 6e 74 65 72 66 61 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e | Interface(Components.interfaces. |
21bc0 | 6e 73 49 49 6e 74 65 72 66 61 63 65 52 65 71 75 65 73 74 6f 72 29 3b 0a 20 20 76 61 72 20 64 6f | nsIInterfaceRequestor);...var.do |
21be0 | 63 20 3d 20 61 44 6f 63 53 68 65 6c 6c 2e 67 65 74 49 6e 74 65 72 66 61 63 65 28 43 6f 6d 70 6f | c.=.aDocShell.getInterface(Compo |
21c00 | 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 44 4f 4d 44 6f 63 75 6d 65 6e 74 29 | nents.interfaces.nsIDOMDocument) |
21c20 | 3b 0a 20 20 69 66 20 28 28 61 44 6f 63 75 6d 65 6e 74 20 26 26 20 64 6f 63 20 3d 3d 20 61 44 6f | ;...if.((aDocument.&&.doc.==.aDo |
21c40 | 63 75 6d 65 6e 74 29 20 7c 7c 20 0a 20 20 20 20 20 20 28 61 53 6f 75 67 68 74 55 52 49 20 26 26 | cument).||........(aSoughtURI.&& |
21c60 | 20 61 53 6f 75 67 68 74 55 52 49 2e 73 70 65 63 20 3d 3d 20 61 44 6f 63 53 68 65 6c 6c 2e 63 75 | .aSoughtURI.spec.==.aDocShell.cu |
21c80 | 72 72 65 6e 74 55 52 49 2e 73 70 65 63 29 29 0a 20 20 20 20 72 65 74 75 72 6e 20 61 44 6f 63 53 | rrentURI.spec)).....return.aDocS |
21ca0 | 68 65 6c 6c 3b 0a 0a 20 20 76 61 72 20 6e 6f 64 65 20 3d 20 61 44 6f 63 53 68 65 6c 6c 2e 51 75 | hell;....var.node.=.aDocShell.Qu |
21cc0 | 65 72 79 49 6e 74 65 72 66 61 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 | eryInterface(Components.interfac |
21ce0 | 65 73 2e 6e 73 49 44 6f 63 53 68 65 6c 6c 54 72 65 65 4e 6f 64 65 29 3b 0a 20 20 66 6f 72 20 28 | es.nsIDocShellTreeNode);...for.( |
21d00 | 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 6e 6f 64 65 2e 63 68 69 6c 64 43 6f 75 6e 74 3b 20 | var.i.=.0;.i.<.node.childCount;. |
21d20 | 2b 2b 69 29 20 7b 0a 20 20 20 20 76 61 72 20 64 6f 63 53 68 65 6c 6c 20 3d 20 6e 6f 64 65 2e 67 | ++i).{.....var.docShell.=.node.g |
21d40 | 65 74 43 68 69 6c 64 41 74 28 69 29 3b 0a 20 20 20 20 64 6f 63 53 68 65 6c 6c 20 3d 20 66 69 6e | etChildAt(i);.....docShell.=.fin |
21d60 | 64 43 68 69 6c 64 53 68 65 6c 6c 28 61 44 6f 63 75 6d 65 6e 74 2c 20 64 6f 63 53 68 65 6c 6c 2c | dChildShell(aDocument,.docShell, |
21d80 | 20 61 53 6f 75 67 68 74 55 52 49 29 3b 0a 20 20 20 20 69 66 20 28 64 6f 63 53 68 65 6c 6c 29 0a | .aSoughtURI);.....if.(docShell). |
21da0 | 20 20 20 20 20 20 72 65 74 75 72 6e 20 64 6f 63 53 68 65 6c 6c 3b 0a 20 20 7d 0a 20 20 72 65 74 | ......return.docShell;...}...ret |
21dc0 | 75 72 6e 20 6e 75 6c 6c 3b 0a 7d 0a 0a 63 6f 6e 73 74 20 67 50 6f 70 75 70 42 6c 6f 63 6b 65 72 | urn.null;.}..const.gPopupBlocker |
21de0 | 4f 62 73 65 72 76 65 72 20 3d 20 7b 0a 20 20 5f 72 65 70 6f 72 74 42 75 74 74 6f 6e 3a 20 6e 75 | Observer.=.{..._reportButton:.nu |
21e00 | 6c 6c 2c 0a 20 20 5f 6b 49 50 4d 3a 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 | ll,..._kIPM:.Components.interfac |
21e20 | 65 73 2e 6e 73 49 50 65 72 6d 69 73 73 69 6f 6e 4d 61 6e 61 67 65 72 2c 0a 0a 20 20 6f 6e 55 70 | es.nsIPermissionManager,....onUp |
21e40 | 64 61 74 65 50 61 67 65 52 65 70 6f 72 74 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 45 76 65 6e 74 | datePageReport:.function.(aEvent |
21e60 | 29 0a 20 20 7b 0a 20 20 20 20 69 66 20 28 61 45 76 65 6e 74 2e 6f 72 69 67 69 6e 61 6c 54 61 72 | )...{.....if.(aEvent.originalTar |
21e80 | 67 65 74 20 21 3d 20 67 42 72 6f 77 73 65 72 2e 73 65 6c 65 63 74 65 64 42 72 6f 77 73 65 72 29 | get.!=.gBrowser.selectedBrowser) |
21ea0 | 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 20 20 69 66 20 28 21 74 68 69 73 2e 5f 72 | .......return;......if.(!this._r |
21ec0 | 65 70 6f 72 74 42 75 74 74 6f 6e 29 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 72 65 70 6f 72 74 42 | eportButton).......this._reportB |
21ee0 | 75 74 74 6f 6e 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 | utton.=.document.getElementById( |
21f00 | 22 70 61 67 65 2d 72 65 70 6f 72 74 2d 62 75 74 74 6f 6e 22 29 3b 0a 0a 20 20 20 20 69 66 20 28 | "page-report-button");......if.( |
21f20 | 21 67 42 72 6f 77 73 65 72 2e 70 61 67 65 52 65 70 6f 72 74 29 20 7b 0a 20 20 20 20 20 20 2f 2f | !gBrowser.pageReport).{.......// |
21f40 | 20 48 69 64 65 20 74 68 65 20 70 6f 70 75 70 20 62 6c 6f 63 6b 65 72 20 73 74 61 74 75 73 62 61 | .Hide.the.popup.blocker.statusba |
21f60 | 72 20 62 75 74 74 6f 6e 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 72 65 70 6f 72 74 42 75 74 74 6f | r.button.......this._reportButto |
21f80 | 6e 2e 72 65 6d 6f 76 65 41 74 74 72 69 62 75 74 65 28 22 62 6c 6f 63 6b 65 64 22 29 3b 0a 0a 20 | n.removeAttribute("blocked");... |
21fa0 | 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 74 68 69 73 2e 5f 72 65 | .....return;.....}......this._re |
21fc0 | 70 6f 72 74 42 75 74 74 6f 6e 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 62 6c 6f 63 6b 65 64 | portButton.setAttribute("blocked |
21fe0 | 22 2c 20 74 72 75 65 29 3b 0a 0a 20 20 20 20 2f 2f 20 4f 6e 6c 79 20 73 68 6f 77 20 74 68 65 20 | ",.true);......//.Only.show.the. |
22000 | 6e 6f 74 69 66 69 63 61 74 69 6f 6e 20 61 67 61 69 6e 20 69 66 20 77 65 27 76 65 20 6e 6f 74 20 | notification.again.if.we've.not. |
22020 | 61 6c 72 65 61 64 79 20 73 68 6f 77 6e 20 69 74 2e 20 53 69 6e 63 65 0a 20 20 20 20 2f 2f 20 6e | already.shown.it..Since.....//.n |
22040 | 6f 74 69 66 69 63 61 74 69 6f 6e 73 20 61 72 65 20 70 65 72 2d 62 72 6f 77 73 65 72 2c 20 77 65 | otifications.are.per-browser,.we |
22060 | 20 64 6f 6e 27 74 20 6e 65 65 64 20 74 6f 20 77 6f 72 72 79 20 61 62 6f 75 74 20 72 65 2d 61 64 | .don't.need.to.worry.about.re-ad |
22080 | 64 69 6e 67 0a 20 20 20 20 2f 2f 20 69 74 2e 0a 20 20 20 20 69 66 20 28 21 67 42 72 6f 77 73 65 | ding.....//.it......if.(!gBrowse |
220a0 | 72 2e 70 61 67 65 52 65 70 6f 72 74 2e 72 65 70 6f 72 74 65 64 29 20 7b 0a 20 20 20 20 20 20 69 | r.pageReport.reported).{.......i |
220c0 | 66 20 28 67 50 72 65 66 53 65 72 76 69 63 65 2e 67 65 74 42 6f 6f 6c 50 72 65 66 28 22 70 72 69 | f.(gPrefService.getBoolPref("pri |
220e0 | 76 61 63 79 2e 70 6f 70 75 70 73 2e 73 68 6f 77 42 72 6f 77 73 65 72 4d 65 73 73 61 67 65 22 29 | vacy.popups.showBrowserMessage") |
22100 | 29 20 7b 0a 20 20 20 20 20 20 20 20 76 61 72 20 62 75 6e 64 6c 65 5f 62 72 6f 77 73 65 72 20 3d | ).{.........var.bundle_browser.= |
22120 | 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 62 75 6e 64 6c 65 | .document.getElementById("bundle |
22140 | 5f 62 72 6f 77 73 65 72 22 29 3b 0a 20 20 20 20 20 20 20 20 76 61 72 20 62 72 61 6e 64 42 75 6e | _browser");.........var.brandBun |
22160 | 64 6c 65 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 62 | dle.=.document.getElementById("b |
22180 | 75 6e 64 6c 65 5f 62 72 61 6e 64 22 29 3b 0a 20 20 20 20 20 20 20 20 76 61 72 20 62 72 61 6e 64 | undle_brand");.........var.brand |
221a0 | 53 68 6f 72 74 4e 61 6d 65 20 3d 20 62 72 61 6e 64 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e | ShortName.=.brandBundle.getStrin |
221c0 | 67 28 22 62 72 61 6e 64 53 68 6f 72 74 4e 61 6d 65 22 29 3b 0a 20 20 20 20 20 20 20 20 76 61 72 | g("brandShortName");.........var |
221e0 | 20 6d 65 73 73 61 67 65 3b 0a 20 20 20 20 20 20 20 20 76 61 72 20 70 6f 70 75 70 43 6f 75 6e 74 | .message;.........var.popupCount |
22200 | 20 3d 20 67 42 72 6f 77 73 65 72 2e 70 61 67 65 52 65 70 6f 72 74 2e 6c 65 6e 67 74 68 3b 0a 2f | .=.gBrowser.pageReport.length;./ |
22220 | 2f 40 6c 69 6e 65 20 33 37 33 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c | /@line.373."/builds/moz2_slave/l |
22240 | 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 62 61 73 65 2f 63 6f | inux_build/build/browser/base/co |
22260 | 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2e 6a 73 22 0a 20 20 20 20 20 20 20 20 76 61 72 20 70 6f | ntent/browser.js".........var.po |
22280 | 70 75 70 42 75 74 74 6f 6e 54 65 78 74 20 3d 20 62 75 6e 64 6c 65 5f 62 72 6f 77 73 65 72 2e 67 | pupButtonText.=.bundle_browser.g |
222a0 | 65 74 53 74 72 69 6e 67 28 22 70 6f 70 75 70 57 61 72 6e 69 6e 67 42 75 74 74 6f 6e 55 6e 69 78 | etString("popupWarningButtonUnix |
222c0 | 22 29 3b 0a 20 20 20 20 20 20 20 20 76 61 72 20 70 6f 70 75 70 42 75 74 74 6f 6e 41 63 63 65 73 | ");.........var.popupButtonAcces |
222e0 | 73 6b 65 79 20 3d 20 62 75 6e 64 6c 65 5f 62 72 6f 77 73 65 72 2e 67 65 74 53 74 72 69 6e 67 28 | skey.=.bundle_browser.getString( |
22300 | 22 70 6f 70 75 70 57 61 72 6e 69 6e 67 42 75 74 74 6f 6e 55 6e 69 78 2e 61 63 63 65 73 73 6b 65 | "popupWarningButtonUnix.accesske |
22320 | 79 22 29 3b 0a 2f 2f 40 6c 69 6e 65 20 33 37 36 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 | y");.//@line.376."/builds/moz2_s |
22340 | 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 62 | lave/linux_build/build/browser/b |
22360 | 61 73 65 2f 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2e 6a 73 22 0a 20 20 20 20 20 20 20 20 | ase/content/browser.js"......... |
22380 | 69 66 20 28 70 6f 70 75 70 43 6f 75 6e 74 20 3e 20 31 29 0a 20 20 20 20 20 20 20 20 20 20 6d 65 | if.(popupCount.>.1)...........me |
223a0 | 73 73 61 67 65 20 3d 20 62 75 6e 64 6c 65 5f 62 72 6f 77 73 65 72 2e 67 65 74 46 6f 72 6d 61 74 | ssage.=.bundle_browser.getFormat |
223c0 | 74 65 64 53 74 72 69 6e 67 28 22 70 6f 70 75 70 57 61 72 6e 69 6e 67 4d 75 6c 74 69 70 6c 65 22 | tedString("popupWarningMultiple" |
223e0 | 2c 20 5b 62 72 61 6e 64 53 68 6f 72 74 4e 61 6d 65 2c 20 70 6f 70 75 70 43 6f 75 6e 74 5d 29 3b | ,.[brandShortName,.popupCount]); |
22400 | 0a 20 20 20 20 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 20 20 20 20 6d 65 73 73 61 67 65 20 | .........else...........message. |
22420 | 3d 20 62 75 6e 64 6c 65 5f 62 72 6f 77 73 65 72 2e 67 65 74 46 6f 72 6d 61 74 74 65 64 53 74 72 | =.bundle_browser.getFormattedStr |
22440 | 69 6e 67 28 22 70 6f 70 75 70 57 61 72 6e 69 6e 67 22 2c 20 5b 62 72 61 6e 64 53 68 6f 72 74 4e | ing("popupWarning",.[brandShortN |
22460 | 61 6d 65 5d 29 3b 0a 0a 20 20 20 20 20 20 20 20 76 61 72 20 6e 6f 74 69 66 69 63 61 74 69 6f 6e | ame]);..........var.notification |
22480 | 42 6f 78 20 3d 20 67 42 72 6f 77 73 65 72 2e 67 65 74 4e 6f 74 69 66 69 63 61 74 69 6f 6e 42 6f | Box.=.gBrowser.getNotificationBo |
224a0 | 78 28 29 3b 0a 20 20 20 20 20 20 20 20 76 61 72 20 6e 6f 74 69 66 69 63 61 74 69 6f 6e 20 3d 20 | x();.........var.notification.=. |
224c0 | 6e 6f 74 69 66 69 63 61 74 69 6f 6e 42 6f 78 2e 67 65 74 4e 6f 74 69 66 69 63 61 74 69 6f 6e 57 | notificationBox.getNotificationW |
224e0 | 69 74 68 56 61 6c 75 65 28 22 70 6f 70 75 70 2d 62 6c 6f 63 6b 65 64 22 29 3b 0a 20 20 20 20 20 | ithValue("popup-blocked");...... |
22500 | 20 20 20 69 66 20 28 6e 6f 74 69 66 69 63 61 74 69 6f 6e 29 20 7b 0a 20 20 20 20 20 20 20 20 20 | ...if.(notification).{.......... |
22520 | 20 6e 6f 74 69 66 69 63 61 74 69 6f 6e 2e 6c 61 62 65 6c 20 3d 20 6d 65 73 73 61 67 65 3b 0a 20 | .notification.label.=.message;.. |
22540 | 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 20 20 | .......}.........else.{......... |
22560 | 20 20 76 61 72 20 62 75 74 74 6f 6e 73 20 3d 20 5b 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 6c | ..var.buttons.=.[{.............l |
22580 | 61 62 65 6c 3a 20 70 6f 70 75 70 42 75 74 74 6f 6e 54 65 78 74 2c 0a 20 20 20 20 20 20 20 20 20 | abel:.popupButtonText,.......... |
225a0 | 20 20 20 61 63 63 65 73 73 4b 65 79 3a 20 70 6f 70 75 70 42 75 74 74 6f 6e 41 63 63 65 73 73 6b | ...accessKey:.popupButtonAccessk |
225c0 | 65 79 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 70 6f 70 75 70 3a 20 22 62 6c 6f 63 6b 65 64 50 | ey,.............popup:."blockedP |
225e0 | 6f 70 75 70 4f 70 74 69 6f 6e 73 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 63 61 6c 6c 62 61 | opupOptions",.............callba |
22600 | 63 6b 3a 20 6e 75 6c 6c 0a 20 20 20 20 20 20 20 20 20 20 7d 5d 3b 0a 0a 20 20 20 20 20 20 20 20 | ck:.null...........}];.......... |
22620 | 20 20 63 6f 6e 73 74 20 70 72 69 6f 72 69 74 79 20 3d 20 6e 6f 74 69 66 69 63 61 74 69 6f 6e 42 | ..const.priority.=.notificationB |
22640 | 6f 78 2e 50 52 49 4f 52 49 54 59 5f 57 41 52 4e 49 4e 47 5f 4d 45 44 49 55 4d 3b 0a 20 20 20 20 | ox.PRIORITY_WARNING_MEDIUM;..... |
22660 | 20 20 20 20 20 20 6e 6f 74 69 66 69 63 61 74 69 6f 6e 42 6f 78 2e 61 70 70 65 6e 64 4e 6f 74 69 | ......notificationBox.appendNoti |
22680 | 66 69 63 61 74 69 6f 6e 28 6d 65 73 73 61 67 65 2c 20 22 70 6f 70 75 70 2d 62 6c 6f 63 6b 65 64 | fication(message,."popup-blocked |
226a0 | 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ",.............................. |
226c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 | ................"chrome://browse |
226e0 | 72 2f 73 6b 69 6e 2f 49 6e 66 6f 2e 70 6e 67 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | r/skin/Info.png",............... |
22700 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 | ...............................p |
22720 | 72 69 6f 72 69 74 79 2c 20 62 75 74 74 6f 6e 73 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 | riority,.buttons);.........}.... |
22740 | 20 20 20 7d 0a 0a 20 20 20 20 20 20 2f 2f 20 52 65 63 6f 72 64 20 74 68 65 20 66 61 63 74 20 74 | ...}........//.Record.the.fact.t |
22760 | 68 61 74 20 77 65 27 76 65 20 72 65 70 6f 72 74 65 64 20 74 68 69 73 20 62 6c 6f 63 6b 65 64 20 | hat.we've.reported.this.blocked. |
22780 | 70 6f 70 75 70 2c 20 73 6f 20 77 65 20 64 6f 6e 27 74 0a 20 20 20 20 20 20 2f 2f 20 73 68 6f 77 | popup,.so.we.don't.......//.show |
227a0 | 20 69 74 20 61 67 61 69 6e 2e 0a 20 20 20 20 20 20 67 42 72 6f 77 73 65 72 2e 70 61 67 65 52 65 | .it.again........gBrowser.pageRe |
227c0 | 70 6f 72 74 2e 72 65 70 6f 72 74 65 64 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c | port.reported.=.true;.....}...}, |
227e0 | 0a 0a 20 20 74 6f 67 67 6c 65 41 6c 6c 6f 77 50 6f 70 75 70 73 46 6f 72 53 69 74 65 3a 20 66 75 | ....toggleAllowPopupsForSite:.fu |
22800 | 6e 63 74 69 6f 6e 20 28 61 45 76 65 6e 74 29 0a 20 20 7b 0a 20 20 20 20 76 61 72 20 63 75 72 72 | nction.(aEvent)...{.....var.curr |
22820 | 65 6e 74 55 52 49 20 3d 20 67 42 72 6f 77 73 65 72 2e 73 65 6c 65 63 74 65 64 42 72 6f 77 73 65 | entURI.=.gBrowser.selectedBrowse |
22840 | 72 2e 77 65 62 4e 61 76 69 67 61 74 69 6f 6e 2e 63 75 72 72 65 6e 74 55 52 49 3b 0a 20 20 20 20 | r.webNavigation.currentURI;..... |
22860 | 76 61 72 20 70 6d 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f | var.pm.=.Components.classes["@mo |
22880 | 7a 69 6c 6c 61 2e 6f 72 67 2f 70 65 72 6d 69 73 73 69 6f 6e 6d 61 6e 61 67 65 72 3b 31 22 5d 0a | zilla.org/permissionmanager;1"]. |
228a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 | ........................getServi |
228c0 | 63 65 28 74 68 69 73 2e 5f 6b 49 50 4d 29 3b 0a 20 20 20 20 76 61 72 20 73 68 6f 75 6c 64 42 6c | ce(this._kIPM);.....var.shouldBl |
228e0 | 6f 63 6b 20 3d 20 61 45 76 65 6e 74 2e 74 61 72 67 65 74 2e 67 65 74 41 74 74 72 69 62 75 74 65 | ock.=.aEvent.target.getAttribute |
22900 | 28 22 62 6c 6f 63 6b 22 29 20 3d 3d 20 22 74 72 75 65 22 3b 0a 20 20 20 20 76 61 72 20 70 65 72 | ("block").==."true";.....var.per |
22920 | 6d 20 3d 20 73 68 6f 75 6c 64 42 6c 6f 63 6b 20 3f 20 74 68 69 73 2e 5f 6b 49 50 4d 2e 44 45 4e | m.=.shouldBlock.?.this._kIPM.DEN |
22940 | 59 5f 41 43 54 49 4f 4e 20 3a 20 74 68 69 73 2e 5f 6b 49 50 4d 2e 41 4c 4c 4f 57 5f 41 43 54 49 | Y_ACTION.:.this._kIPM.ALLOW_ACTI |
22960 | 4f 4e 3b 0a 20 20 20 20 70 6d 2e 61 64 64 28 63 75 72 72 65 6e 74 55 52 49 2c 20 22 70 6f 70 75 | ON;.....pm.add(currentURI,."popu |
22980 | 70 22 2c 20 70 65 72 6d 29 3b 0a 0a 20 20 20 20 67 42 72 6f 77 73 65 72 2e 67 65 74 4e 6f 74 69 | p",.perm);......gBrowser.getNoti |
229a0 | 66 69 63 61 74 69 6f 6e 42 6f 78 28 29 2e 72 65 6d 6f 76 65 43 75 72 72 65 6e 74 4e 6f 74 69 66 | ficationBox().removeCurrentNotif |
229c0 | 69 63 61 74 69 6f 6e 28 29 3b 0a 20 20 7d 2c 0a 0a 20 20 66 69 6c 6c 50 6f 70 75 70 4c 69 73 74 | ication();...},....fillPopupList |
229e0 | 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 45 76 65 6e 74 29 0a 20 20 7b 0a 20 20 20 20 76 61 72 20 | :.function.(aEvent)...{.....var. |
22a00 | 62 75 6e 64 6c 65 5f 62 72 6f 77 73 65 72 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 | bundle_browser.=.document.getEle |
22a20 | 6d 65 6e 74 42 79 49 64 28 22 62 75 6e 64 6c 65 5f 62 72 6f 77 73 65 72 22 29 3b 0a 20 20 20 20 | mentById("bundle_browser");..... |
22a40 | 2f 2f 20 58 58 58 62 65 6e 20 2d 20 72 61 74 68 65 72 20 74 68 61 6e 20 75 73 69 6e 67 20 7c 63 | //.XXXben.-.rather.than.using.|c |
22a60 | 75 72 72 65 6e 74 55 52 49 7c 20 68 65 72 65 2c 20 77 68 69 63 68 20 62 72 65 61 6b 73 20 64 6f | urrentURI|.here,.which.breaks.do |
22a80 | 77 6e 20 6f 6e 20 6d 75 6c 74 69 2d 66 72 61 6d 65 64 20 73 69 74 65 73 0a 20 20 20 20 2f 2f 20 | wn.on.multi-framed.sites.....//. |
22aa0 | 20 20 20 20 20 20 20 20 20 77 65 20 73 68 6f 75 6c 64 20 72 65 61 6c 6c 79 20 77 61 6c 6b 20 74 | .........we.should.really.walk.t |
22ac0 | 68 65 20 70 61 67 65 52 65 70 6f 72 74 20 61 6e 64 20 63 72 65 61 74 65 20 61 20 6c 69 73 74 20 | he.pageReport.and.create.a.list. |
22ae0 | 6f 66 20 22 61 6c 6c 6f 77 20 66 6f 72 20 3c 68 6f 73 74 3e 22 0a 20 20 20 20 2f 2f 20 20 20 20 | of."allow.for.<host>".....//.... |
22b00 | 20 20 20 20 20 20 6d 65 6e 75 69 74 65 6d 73 20 66 6f 72 20 74 68 65 20 63 6f 6d 6d 6f 6e 20 73 | ......menuitems.for.the.common.s |
22b20 | 75 62 73 65 74 20 6f 66 20 68 6f 73 74 73 20 70 72 65 73 65 6e 74 20 69 6e 20 74 68 65 20 72 65 | ubset.of.hosts.present.in.the.re |
22b40 | 70 6f 72 74 2c 20 74 68 69 73 20 77 69 6c 6c 0a 20 20 20 20 2f 2f 20 20 20 20 20 20 20 20 20 20 | port,.this.will.....//.......... |
22b60 | 6d 61 6b 65 20 75 73 20 66 72 61 6d 65 2d 73 61 66 65 2e 0a 20 20 20 20 2f 2f 0a 20 20 20 20 2f | make.us.frame-safe......//...../ |
22b80 | 2f 20 58 58 58 6a 73 74 20 2d 20 4e 6f 74 65 20 74 68 61 74 20 77 68 65 6e 20 74 68 69 73 20 69 | /.XXXjst.-.Note.that.when.this.i |
22ba0 | 73 20 66 69 78 65 64 20 74 6f 20 77 6f 72 6b 20 77 69 74 68 20 6d 75 6c 74 69 2d 66 72 61 6d 65 | s.fixed.to.work.with.multi-frame |
22bc0 | 64 20 73 69 74 65 73 2c 0a 20 20 20 20 2f 2f 20 20 20 20 20 20 20 20 20 20 61 6c 73 6f 20 62 61 | d.sites,.....//..........also.ba |
22be0 | 63 6b 20 6f 75 74 20 74 68 65 20 66 69 78 20 66 6f 72 20 62 75 67 20 33 34 33 37 37 32 20 77 68 | ck.out.the.fix.for.bug.343772.wh |
22c00 | 65 72 65 0a 20 20 20 20 2f 2f 20 20 20 20 20 20 20 20 20 20 6e 73 47 6c 6f 62 61 6c 57 69 6e 64 | ere.....//..........nsGlobalWind |
22c20 | 6f 77 3a 3a 43 68 65 63 6b 4f 70 65 6e 41 6c 6c 6f 77 28 29 20 77 61 73 20 63 68 61 6e 67 65 64 | ow::CheckOpenAllow().was.changed |
22c40 | 20 74 6f 20 61 6c 73 6f 0a 20 20 20 20 2f 2f 20 20 20 20 20 20 20 20 20 20 63 68 65 63 6b 20 69 | .to.also.....//..........check.i |
22c60 | 66 20 74 68 65 20 74 6f 70 20 77 69 6e 64 6f 77 27 73 20 6c 6f 63 61 74 69 6f 6e 20 69 73 20 77 | f.the.top.window's.location.is.w |
22c80 | 68 69 74 65 6c 69 73 74 65 64 2e 0a 20 20 20 20 76 61 72 20 75 72 69 20 3d 20 67 42 72 6f 77 73 | hitelisted......var.uri.=.gBrows |
22ca0 | 65 72 2e 73 65 6c 65 63 74 65 64 42 72 6f 77 73 65 72 2e 77 65 62 4e 61 76 69 67 61 74 69 6f 6e | er.selectedBrowser.webNavigation |
22cc0 | 2e 63 75 72 72 65 6e 74 55 52 49 3b 0a 20 20 20 20 76 61 72 20 62 6c 6f 63 6b 65 64 50 6f 70 75 | .currentURI;.....var.blockedPopu |
22ce0 | 70 41 6c 6c 6f 77 53 69 74 65 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 | pAllowSite.=.document.getElement |
22d00 | 42 79 49 64 28 22 62 6c 6f 63 6b 65 64 50 6f 70 75 70 41 6c 6c 6f 77 53 69 74 65 22 29 3b 0a 20 | ById("blockedPopupAllowSite");.. |
22d20 | 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 62 6c 6f 63 6b 65 64 50 6f 70 75 70 41 6c 6c 6f 77 | ...try.{.......blockedPopupAllow |
22d40 | 53 69 74 65 2e 72 65 6d 6f 76 65 41 74 74 72 69 62 75 74 65 28 22 68 69 64 64 65 6e 22 29 3b 0a | Site.removeAttribute("hidden");. |
22d60 | 0a 20 20 20 20 20 20 76 61 72 20 70 6d 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 | .......var.pm.=.Components.class |
22d80 | 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 70 65 72 6d 69 73 73 69 6f 6e 6d 61 6e 61 67 | es["@mozilla.org/permissionmanag |
22da0 | 65 72 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e | er;1"].......................... |
22dc0 | 67 65 74 53 65 72 76 69 63 65 28 74 68 69 73 2e 5f 6b 49 50 4d 29 3b 0a 20 20 20 20 20 20 69 66 | getService(this._kIPM);.......if |
22de0 | 20 28 70 6d 2e 74 65 73 74 50 65 72 6d 69 73 73 69 6f 6e 28 75 72 69 2c 20 22 70 6f 70 75 70 22 | .(pm.testPermission(uri,."popup" |
22e00 | 29 20 3d 3d 20 74 68 69 73 2e 5f 6b 49 50 4d 2e 41 4c 4c 4f 57 5f 41 43 54 49 4f 4e 29 20 7b 0a | ).==.this._kIPM.ALLOW_ACTION).{. |
22e20 | 20 20 20 20 20 20 20 20 2f 2f 20 4f 66 66 65 72 20 61 6e 20 69 74 65 6d 20 74 6f 20 62 6c 6f 63 | ........//.Offer.an.item.to.bloc |
22e40 | 6b 20 70 6f 70 75 70 73 20 66 6f 72 20 74 68 69 73 20 73 69 74 65 2c 20 69 66 20 61 20 77 68 69 | k.popups.for.this.site,.if.a.whi |
22e60 | 74 65 6c 69 73 74 20 65 6e 74 72 79 20 65 78 69 73 74 73 0a 20 20 20 20 20 20 20 20 2f 2f 20 61 | telist.entry.exists.........//.a |
22e80 | 6c 72 65 61 64 79 20 66 6f 72 20 69 74 2e 0a 20 20 20 20 20 20 20 20 76 61 72 20 62 6c 6f 63 6b | lready.for.it..........var.block |
22ea0 | 53 74 72 69 6e 67 20 3d 20 62 75 6e 64 6c 65 5f 62 72 6f 77 73 65 72 2e 67 65 74 46 6f 72 6d 61 | String.=.bundle_browser.getForma |
22ec0 | 74 74 65 64 53 74 72 69 6e 67 28 22 70 6f 70 75 70 42 6c 6f 63 6b 22 2c 20 5b 75 72 69 2e 68 6f | ttedString("popupBlock",.[uri.ho |
22ee0 | 73 74 5d 29 3b 0a 20 20 20 20 20 20 20 20 62 6c 6f 63 6b 65 64 50 6f 70 75 70 41 6c 6c 6f 77 53 | st]);.........blockedPopupAllowS |
22f00 | 69 74 65 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 6c 61 62 65 6c 22 2c 20 62 6c 6f 63 6b 53 | ite.setAttribute("label",.blockS |
22f20 | 74 72 69 6e 67 29 3b 0a 20 20 20 20 20 20 20 20 62 6c 6f 63 6b 65 64 50 6f 70 75 70 41 6c 6c 6f | tring);.........blockedPopupAllo |
22f40 | 77 53 69 74 65 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 62 6c 6f 63 6b 22 2c 20 22 74 72 75 | wSite.setAttribute("block",."tru |
22f60 | 65 22 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 | e");.......}.......else.{....... |
22f80 | 20 20 2f 2f 20 4f 66 66 65 72 20 61 6e 20 69 74 65 6d 20 74 6f 20 61 6c 6c 6f 77 20 70 6f 70 75 | ..//.Offer.an.item.to.allow.popu |
22fa0 | 70 73 20 66 6f 72 20 74 68 69 73 20 73 69 74 65 0a 20 20 20 20 20 20 20 20 76 61 72 20 61 6c 6c | ps.for.this.site.........var.all |
22fc0 | 6f 77 53 74 72 69 6e 67 20 3d 20 62 75 6e 64 6c 65 5f 62 72 6f 77 73 65 72 2e 67 65 74 46 6f 72 | owString.=.bundle_browser.getFor |
22fe0 | 6d 61 74 74 65 64 53 74 72 69 6e 67 28 22 70 6f 70 75 70 41 6c 6c 6f 77 22 2c 20 5b 75 72 69 2e | mattedString("popupAllow",.[uri. |
23000 | 68 6f 73 74 5d 29 3b 0a 20 20 20 20 20 20 20 20 62 6c 6f 63 6b 65 64 50 6f 70 75 70 41 6c 6c 6f | host]);.........blockedPopupAllo |
23020 | 77 53 69 74 65 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 6c 61 62 65 6c 22 2c 20 61 6c 6c 6f | wSite.setAttribute("label",.allo |
23040 | 77 53 74 72 69 6e 67 29 3b 0a 20 20 20 20 20 20 20 20 62 6c 6f 63 6b 65 64 50 6f 70 75 70 41 6c | wString);.........blockedPopupAl |
23060 | 6c 6f 77 53 69 74 65 2e 72 65 6d 6f 76 65 41 74 74 72 69 62 75 74 65 28 22 62 6c 6f 63 6b 22 29 | lowSite.removeAttribute("block") |
23080 | 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 20 20 20 20 63 61 74 63 68 20 28 65 29 20 7b 0a | ;.......}.....}.....catch.(e).{. |
230a0 | 20 20 20 20 20 20 62 6c 6f 63 6b 65 64 50 6f 70 75 70 41 6c 6c 6f 77 53 69 74 65 2e 73 65 74 41 | ......blockedPopupAllowSite.setA |
230c0 | 74 74 72 69 62 75 74 65 28 22 68 69 64 64 65 6e 22 2c 20 22 74 72 75 65 22 29 3b 0a 20 20 20 20 | ttribute("hidden",."true");..... |
230e0 | 7d 0a 0a 20 20 20 20 69 66 20 28 67 50 72 69 76 61 74 65 42 72 6f 77 73 69 6e 67 55 49 2e 70 72 | }......if.(gPrivateBrowsingUI.pr |
23100 | 69 76 61 74 65 42 72 6f 77 73 69 6e 67 45 6e 61 62 6c 65 64 29 0a 20 20 20 20 20 20 62 6c 6f 63 | ivateBrowsingEnabled).......bloc |
23120 | 6b 65 64 50 6f 70 75 70 41 6c 6c 6f 77 53 69 74 65 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 | kedPopupAllowSite.setAttribute(" |
23140 | 64 69 73 61 62 6c 65 64 22 2c 20 22 74 72 75 65 22 29 3b 0a 0a 20 20 20 20 76 61 72 20 69 74 65 | disabled",."true");......var.ite |
23160 | 6d 20 3d 20 61 45 76 65 6e 74 2e 74 61 72 67 65 74 2e 6c 61 73 74 43 68 69 6c 64 3b 0a 20 20 20 | m.=.aEvent.target.lastChild;.... |
23180 | 20 77 68 69 6c 65 20 28 69 74 65 6d 20 26 26 20 69 74 65 6d 2e 67 65 74 41 74 74 72 69 62 75 74 | .while.(item.&&.item.getAttribut |
231a0 | 65 28 22 6f 62 73 65 72 76 65 73 22 29 20 21 3d 20 22 62 6c 6f 63 6b 65 64 50 6f 70 75 70 73 53 | e("observes").!=."blockedPopupsS |
231c0 | 65 70 61 72 61 74 6f 72 22 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 6e 65 78 74 20 3d 20 69 74 | eparator").{.......var.next.=.it |
231e0 | 65 6d 2e 70 72 65 76 69 6f 75 73 53 69 62 6c 69 6e 67 3b 0a 20 20 20 20 20 20 69 74 65 6d 2e 70 | em.previousSibling;.......item.p |
23200 | 61 72 65 6e 74 4e 6f 64 65 2e 72 65 6d 6f 76 65 43 68 69 6c 64 28 69 74 65 6d 29 3b 0a 20 20 20 | arentNode.removeChild(item);.... |
23220 | 20 20 20 69 74 65 6d 20 3d 20 6e 65 78 74 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 76 61 72 20 66 | ...item.=.next;.....}......var.f |
23240 | 6f 75 6e 64 55 73 61 62 6c 65 50 6f 70 75 70 55 52 49 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 | oundUsablePopupURI.=.false;..... |
23260 | 76 61 72 20 70 61 67 65 52 65 70 6f 72 74 20 3d 20 67 42 72 6f 77 73 65 72 2e 70 61 67 65 52 65 | var.pageReport.=.gBrowser.pageRe |
23280 | 70 6f 72 74 3b 0a 20 20 20 20 69 66 20 28 70 61 67 65 52 65 70 6f 72 74 29 20 7b 0a 20 20 20 20 | port;.....if.(pageReport).{..... |
232a0 | 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 70 61 67 65 52 65 70 6f 72 74 | ..for.(var.i.=.0;.i.<.pageReport |
232c0 | 2e 6c 65 6e 67 74 68 3b 20 2b 2b 69 29 20 7b 0a 20 20 20 20 20 20 20 20 76 61 72 20 70 6f 70 75 | .length;.++i).{.........var.popu |
232e0 | 70 55 52 49 73 70 65 63 20 3d 20 70 61 67 65 52 65 70 6f 72 74 5b 69 5d 2e 70 6f 70 75 70 57 69 | pURIspec.=.pageReport[i].popupWi |
23300 | 6e 64 6f 77 55 52 49 2e 73 70 65 63 3b 0a 0a 20 20 20 20 20 20 20 20 2f 2f 20 53 6f 6d 65 74 69 | ndowURI.spec;..........//.Someti |
23320 | 6d 65 73 20 74 68 65 20 70 6f 70 75 70 20 55 52 49 20 74 68 61 74 20 77 65 20 67 65 74 20 62 61 | mes.the.popup.URI.that.we.get.ba |
23340 | 63 6b 20 66 72 6f 6d 20 74 68 65 20 70 61 67 65 52 65 70 6f 72 74 0a 20 20 20 20 20 20 20 20 2f | ck.from.the.pageReport........./ |
23360 | 2f 20 69 73 6e 27 74 20 75 73 65 66 75 6c 20 28 66 6f 72 20 69 6e 73 74 61 6e 63 65 2c 20 6e 65 | /.isn't.useful.(for.instance,.ne |
23380 | 74 73 63 61 70 65 2e 63 6f 6d 27 73 20 70 6f 70 75 70 20 55 52 49 20 65 6e 64 73 20 75 70 0a 20 | tscape.com's.popup.URI.ends.up.. |
233a0 | 20 20 20 20 20 20 20 2f 2f 20 62 65 69 6e 67 20 22 68 74 74 70 3a 2f 2f 77 77 77 2e 6e 65 74 73 | .......//.being."http://www.nets |
233c0 | 63 61 70 65 2e 63 6f 6d 22 2c 20 77 68 69 63 68 20 69 73 6e 27 74 20 72 65 61 6c 6c 79 20 74 68 | cape.com",.which.isn't.really.th |
233e0 | 65 20 55 52 49 20 6f 66 0a 20 20 20 20 20 20 20 20 2f 2f 20 74 68 65 20 70 6f 70 75 70 20 74 68 | e.URI.of.........//.the.popup.th |
23400 | 65 79 27 72 65 20 74 72 79 69 6e 67 20 74 6f 20 73 68 6f 77 29 2e 20 20 54 68 69 73 20 69 73 6e | ey're.trying.to.show)...This.isn |
23420 | 27 74 20 67 6f 69 6e 67 20 74 6f 20 62 65 0a 20 20 20 20 20 20 20 20 2f 2f 20 75 73 65 66 75 6c | 't.going.to.be.........//.useful |
23440 | 20 74 6f 20 74 68 65 20 75 73 65 72 2c 20 73 6f 20 77 65 20 77 6f 6e 27 74 20 63 72 65 61 74 65 | .to.the.user,.so.we.won't.create |
23460 | 20 61 20 6d 65 6e 75 20 69 74 65 6d 20 66 6f 72 20 69 74 2e 0a 20 20 20 20 20 20 20 20 69 66 20 | .a.menu.item.for.it..........if. |
23480 | 28 70 6f 70 75 70 55 52 49 73 70 65 63 20 3d 3d 20 22 22 20 7c 7c 20 70 6f 70 75 70 55 52 49 73 | (popupURIspec.==."".||.popupURIs |
234a0 | 70 65 63 20 3d 3d 20 22 61 62 6f 75 74 3a 62 6c 61 6e 6b 22 20 7c 7c 0a 20 20 20 20 20 20 20 20 | pec.==."about:blank".||......... |
234c0 | 20 20 20 20 70 6f 70 75 70 55 52 49 73 70 65 63 20 3d 3d 20 75 72 69 2e 73 70 65 63 29 0a 20 20 | ....popupURIspec.==.uri.spec)... |
234e0 | 20 20 20 20 20 20 20 20 63 6f 6e 74 69 6e 75 65 3b 0a 0a 20 20 20 20 20 20 20 20 2f 2f 20 42 65 | ........continue;..........//.Be |
23500 | 63 61 75 73 65 20 6f 66 20 74 68 65 20 73 68 6f 72 74 2d 63 69 72 63 75 69 74 20 61 62 6f 76 65 | cause.of.the.short-circuit.above |
23520 | 2c 20 77 65 20 6d 61 79 20 65 6e 64 20 75 70 20 69 6e 20 61 20 73 69 74 75 61 74 69 6f 6e 0a 20 | ,.we.may.end.up.in.a.situation.. |
23540 | 20 20 20 20 20 20 20 2f 2f 20 69 6e 20 77 68 69 63 68 20 77 65 20 64 6f 6e 27 74 20 68 61 76 65 | .......//.in.which.we.don't.have |
23560 | 20 61 6e 79 20 75 73 61 62 6c 65 20 70 6f 70 75 70 20 61 64 64 72 65 73 73 65 73 20 74 6f 20 73 | .any.usable.popup.addresses.to.s |
23580 | 68 6f 77 20 69 6e 0a 20 20 20 20 20 20 20 20 2f 2f 20 74 68 65 20 6d 65 6e 75 2c 20 61 6e 64 20 | how.in.........//.the.menu,.and. |
235a0 | 74 68 65 72 65 66 6f 72 65 20 77 65 20 73 68 6f 75 6c 64 6e 27 74 20 73 68 6f 77 20 74 68 65 20 | therefore.we.shouldn't.show.the. |
235c0 | 73 65 70 61 72 61 74 6f 72 2e 20 20 48 6f 77 65 76 65 72 2c 0a 20 20 20 20 20 20 20 20 2f 2f 20 | separator...However,.........//. |
235e0 | 73 69 6e 63 65 20 77 65 20 67 6f 74 20 70 61 73 74 20 74 68 65 20 73 68 6f 72 74 2d 63 69 72 63 | since.we.got.past.the.short-circ |
23600 | 75 69 74 2c 20 77 65 20 6d 75 73 74 27 76 65 20 66 6f 75 6e 64 20 61 74 20 6c 65 61 73 74 0a 20 | uit,.we.must've.found.at.least.. |
23620 | 20 20 20 20 20 20 20 2f 2f 20 6f 6e 65 20 75 73 61 62 6c 65 20 70 6f 70 75 70 20 55 52 49 20 61 | .......//.one.usable.popup.URI.a |
23640 | 6e 64 20 74 68 75 73 20 77 65 27 6c 6c 20 74 75 72 6e 20 6f 6e 20 74 68 65 20 73 65 70 61 72 61 | nd.thus.we'll.turn.on.the.separa |
23660 | 74 6f 72 20 6c 61 74 65 72 2e 0a 20 20 20 20 20 20 20 20 66 6f 75 6e 64 55 73 61 62 6c 65 50 6f | tor.later..........foundUsablePo |
23680 | 70 75 70 55 52 49 20 3d 20 74 72 75 65 3b 0a 0a 20 20 20 20 20 20 20 20 76 61 72 20 6d 65 6e 75 | pupURI.=.true;..........var.menu |
236a0 | 69 74 65 6d 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 63 72 65 61 74 65 45 6c 65 6d 65 6e 74 28 22 6d | item.=.document.createElement("m |
236c0 | 65 6e 75 69 74 65 6d 22 29 3b 0a 20 20 20 20 20 20 20 20 76 61 72 20 6c 61 62 65 6c 20 3d 20 62 | enuitem");.........var.label.=.b |
236e0 | 75 6e 64 6c 65 5f 62 72 6f 77 73 65 72 2e 67 65 74 46 6f 72 6d 61 74 74 65 64 53 74 72 69 6e 67 | undle_browser.getFormattedString |
23700 | 28 22 70 6f 70 75 70 53 68 6f 77 50 6f 70 75 70 50 72 65 66 69 78 22 2c 0a 20 20 20 20 20 20 20 | ("popupShowPopupPrefix",........ |
23720 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
23740 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 5b 70 6f 70 75 70 55 52 49 73 70 65 63 5d 29 3b 0a | ...............[popupURIspec]);. |
23760 | 20 20 20 20 20 20 20 20 6d 65 6e 75 69 74 65 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 6c | ........menuitem.setAttribute("l |
23780 | 61 62 65 6c 22 2c 20 6c 61 62 65 6c 29 3b 0a 20 20 20 20 20 20 20 20 6d 65 6e 75 69 74 65 6d 2e | abel",.label);.........menuitem. |
237a0 | 73 65 74 41 74 74 72 69 62 75 74 65 28 22 70 6f 70 75 70 57 69 6e 64 6f 77 55 52 49 22 2c 20 70 | setAttribute("popupWindowURI",.p |
237c0 | 6f 70 75 70 55 52 49 73 70 65 63 29 3b 0a 20 20 20 20 20 20 20 20 6d 65 6e 75 69 74 65 6d 2e 73 | opupURIspec);.........menuitem.s |
237e0 | 65 74 41 74 74 72 69 62 75 74 65 28 22 70 6f 70 75 70 57 69 6e 64 6f 77 46 65 61 74 75 72 65 73 | etAttribute("popupWindowFeatures |
23800 | 22 2c 20 70 61 67 65 52 65 70 6f 72 74 5b 69 5d 2e 70 6f 70 75 70 57 69 6e 64 6f 77 46 65 61 74 | ",.pageReport[i].popupWindowFeat |
23820 | 75 72 65 73 29 3b 0a 20 20 20 20 20 20 20 20 6d 65 6e 75 69 74 65 6d 2e 73 65 74 41 74 74 72 69 | ures);.........menuitem.setAttri |
23840 | 62 75 74 65 28 22 70 6f 70 75 70 57 69 6e 64 6f 77 4e 61 6d 65 22 2c 20 70 61 67 65 52 65 70 6f | bute("popupWindowName",.pageRepo |
23860 | 72 74 5b 69 5d 2e 70 6f 70 75 70 57 69 6e 64 6f 77 4e 61 6d 65 29 3b 0a 20 20 20 20 20 20 20 20 | rt[i].popupWindowName);......... |
23880 | 6d 65 6e 75 69 74 65 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 6f 6e 63 6f 6d 6d 61 6e 64 | menuitem.setAttribute("oncommand |
238a0 | 22 2c 20 22 67 50 6f 70 75 70 42 6c 6f 63 6b 65 72 4f 62 73 65 72 76 65 72 2e 73 68 6f 77 42 6c | ",."gPopupBlockerObserver.showBl |
238c0 | 6f 63 6b 65 64 50 6f 70 75 70 28 65 76 65 6e 74 29 3b 22 29 3b 0a 20 20 20 20 20 20 20 20 6d 65 | ockedPopup(event);");.........me |
238e0 | 6e 75 69 74 65 6d 2e 72 65 71 75 65 73 74 69 6e 67 57 69 6e 64 6f 77 20 3d 20 70 61 67 65 52 65 | nuitem.requestingWindow.=.pageRe |
23900 | 70 6f 72 74 5b 69 5d 2e 72 65 71 75 65 73 74 69 6e 67 57 69 6e 64 6f 77 3b 0a 20 20 20 20 20 20 | port[i].requestingWindow;....... |
23920 | 20 20 6d 65 6e 75 69 74 65 6d 2e 72 65 71 75 65 73 74 69 6e 67 44 6f 63 75 6d 65 6e 74 20 3d 20 | ..menuitem.requestingDocument.=. |
23940 | 70 61 67 65 52 65 70 6f 72 74 5b 69 5d 2e 72 65 71 75 65 73 74 69 6e 67 44 6f 63 75 6d 65 6e 74 | pageReport[i].requestingDocument |
23960 | 3b 0a 20 20 20 20 20 20 20 20 61 45 76 65 6e 74 2e 74 61 72 67 65 74 2e 61 70 70 65 6e 64 43 68 | ;.........aEvent.target.appendCh |
23980 | 69 6c 64 28 6d 65 6e 75 69 74 65 6d 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 0a 20 20 | ild(menuitem);.......}.....}.... |
239a0 | 20 20 2f 2f 20 53 68 6f 77 20 6f 72 20 68 69 64 65 20 74 68 65 20 73 65 70 61 72 61 74 6f 72 2c | ..//.Show.or.hide.the.separator, |
239c0 | 20 64 65 70 65 6e 64 69 6e 67 20 6f 6e 20 77 68 65 74 68 65 72 20 77 65 20 61 64 64 65 64 20 61 | .depending.on.whether.we.added.a |
239e0 | 6e 79 0a 20 20 20 20 2f 2f 20 73 68 6f 77 61 62 6c 65 20 70 6f 70 75 70 20 61 64 64 72 65 73 73 | ny.....//.showable.popup.address |
23a00 | 65 73 20 74 6f 20 74 68 65 20 6d 65 6e 75 2e 0a 20 20 20 20 76 61 72 20 62 6c 6f 63 6b 65 64 50 | es.to.the.menu......var.blockedP |
23a20 | 6f 70 75 70 73 53 65 70 61 72 61 74 6f 72 20 3d 0a 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e | opupsSeparator.=.......document. |
23a40 | 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 62 6c 6f 63 6b 65 64 50 6f 70 75 70 73 53 65 70 | getElementById("blockedPopupsSep |
23a60 | 61 72 61 74 6f 72 22 29 3b 0a 20 20 20 20 69 66 20 28 66 6f 75 6e 64 55 73 61 62 6c 65 50 6f 70 | arator");.....if.(foundUsablePop |
23a80 | 75 70 55 52 49 29 0a 20 20 20 20 20 20 62 6c 6f 63 6b 65 64 50 6f 70 75 70 73 53 65 70 61 72 61 | upURI).......blockedPopupsSepara |
23aa0 | 74 6f 72 2e 72 65 6d 6f 76 65 41 74 74 72 69 62 75 74 65 28 22 68 69 64 64 65 6e 22 29 3b 0a 20 | tor.removeAttribute("hidden");.. |
23ac0 | 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 62 6c 6f 63 6b 65 64 50 6f 70 75 70 73 53 65 70 61 72 | ...else.......blockedPopupsSepar |
23ae0 | 61 74 6f 72 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 68 69 64 64 65 6e 22 2c 20 74 72 75 65 | ator.setAttribute("hidden",.true |
23b00 | 29 3b 0a 0a 20 20 20 20 76 61 72 20 62 6c 6f 63 6b 65 64 50 6f 70 75 70 44 6f 6e 74 53 68 6f 77 | );......var.blockedPopupDontShow |
23b20 | 4d 65 73 73 61 67 65 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 | Message.=.document.getElementByI |
23b40 | 64 28 22 62 6c 6f 63 6b 65 64 50 6f 70 75 70 44 6f 6e 74 53 68 6f 77 4d 65 73 73 61 67 65 22 29 | d("blockedPopupDontShowMessage") |
23b60 | 3b 0a 20 20 20 20 76 61 72 20 73 68 6f 77 4d 65 73 73 61 67 65 20 3d 20 67 50 72 65 66 53 65 72 | ;.....var.showMessage.=.gPrefSer |
23b80 | 76 69 63 65 2e 67 65 74 42 6f 6f 6c 50 72 65 66 28 22 70 72 69 76 61 63 79 2e 70 6f 70 75 70 73 | vice.getBoolPref("privacy.popups |
23ba0 | 2e 73 68 6f 77 42 72 6f 77 73 65 72 4d 65 73 73 61 67 65 22 29 3b 0a 20 20 20 20 62 6c 6f 63 6b | .showBrowserMessage");.....block |
23bc0 | 65 64 50 6f 70 75 70 44 6f 6e 74 53 68 6f 77 4d 65 73 73 61 67 65 2e 73 65 74 41 74 74 72 69 62 | edPopupDontShowMessage.setAttrib |
23be0 | 75 74 65 28 22 63 68 65 63 6b 65 64 22 2c 20 21 73 68 6f 77 4d 65 73 73 61 67 65 29 3b 0a 20 20 | ute("checked",.!showMessage);... |
23c00 | 20 20 69 66 20 28 61 45 76 65 6e 74 2e 74 61 72 67 65 74 2e 6c 6f 63 61 6c 4e 61 6d 65 20 3d 3d | ..if.(aEvent.target.localName.== |
23c20 | 20 22 70 6f 70 75 70 22 29 0a 20 20 20 20 20 20 62 6c 6f 63 6b 65 64 50 6f 70 75 70 44 6f 6e 74 | ."popup").......blockedPopupDont |
23c40 | 53 68 6f 77 4d 65 73 73 61 67 65 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 6c 61 62 65 6c 22 | ShowMessage.setAttribute("label" |
23c60 | 2c 20 62 75 6e 64 6c 65 5f 62 72 6f 77 73 65 72 2e 67 65 74 53 74 72 69 6e 67 28 22 70 6f 70 75 | ,.bundle_browser.getString("popu |
23c80 | 70 57 61 72 6e 69 6e 67 44 6f 6e 74 53 68 6f 77 46 72 6f 6d 4d 65 73 73 61 67 65 22 29 29 3b 0a | pWarningDontShowFromMessage"));. |
23ca0 | 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 62 6c 6f 63 6b 65 64 50 6f 70 75 70 44 6f 6e 74 53 | ....else.......blockedPopupDontS |
23cc0 | 68 6f 77 4d 65 73 73 61 67 65 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 6c 61 62 65 6c 22 2c | howMessage.setAttribute("label", |
23ce0 | 20 62 75 6e 64 6c 65 5f 62 72 6f 77 73 65 72 2e 67 65 74 53 74 72 69 6e 67 28 22 70 6f 70 75 70 | .bundle_browser.getString("popup |
23d00 | 57 61 72 6e 69 6e 67 44 6f 6e 74 53 68 6f 77 46 72 6f 6d 53 74 61 74 75 73 62 61 72 22 29 29 3b | WarningDontShowFromStatusbar")); |
23d20 | 0a 20 20 7d 2c 0a 0a 20 20 73 68 6f 77 42 6c 6f 63 6b 65 64 50 6f 70 75 70 3a 20 66 75 6e 63 74 | ...},....showBlockedPopup:.funct |
23d40 | 69 6f 6e 20 28 61 45 76 65 6e 74 29 0a 20 20 7b 0a 20 20 20 20 76 61 72 20 74 61 72 67 65 74 20 | ion.(aEvent)...{.....var.target. |
23d60 | 3d 20 61 45 76 65 6e 74 2e 74 61 72 67 65 74 3b 0a 20 20 20 20 76 61 72 20 70 6f 70 75 70 57 69 | =.aEvent.target;.....var.popupWi |
23d80 | 6e 64 6f 77 55 52 49 20 3d 20 74 61 72 67 65 74 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 70 | ndowURI.=.target.getAttribute("p |
23da0 | 6f 70 75 70 57 69 6e 64 6f 77 55 52 49 22 29 3b 0a 20 20 20 20 76 61 72 20 66 65 61 74 75 72 65 | opupWindowURI");.....var.feature |
23dc0 | 73 20 3d 20 74 61 72 67 65 74 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 70 6f 70 75 70 57 69 | s.=.target.getAttribute("popupWi |
23de0 | 6e 64 6f 77 46 65 61 74 75 72 65 73 22 29 3b 0a 20 20 20 20 76 61 72 20 6e 61 6d 65 20 3d 20 74 | ndowFeatures");.....var.name.=.t |
23e00 | 61 72 67 65 74 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 70 6f 70 75 70 57 69 6e 64 6f 77 4e | arget.getAttribute("popupWindowN |
23e20 | 61 6d 65 22 29 3b 0a 0a 20 20 20 20 76 61 72 20 64 77 69 20 3d 20 74 61 72 67 65 74 2e 72 65 71 | ame");......var.dwi.=.target.req |
23e40 | 75 65 73 74 69 6e 67 57 69 6e 64 6f 77 3b 0a 0a 20 20 20 20 2f 2f 20 49 66 20 77 65 20 68 61 76 | uestingWindow;......//.If.we.hav |
23e60 | 65 20 61 20 72 65 71 75 65 73 74 69 6e 67 20 77 69 6e 64 6f 77 20 61 6e 64 20 74 68 65 20 72 65 | e.a.requesting.window.and.the.re |
23e80 | 71 75 65 73 74 69 6e 67 20 64 6f 63 75 6d 65 6e 74 20 69 73 0a 20 20 20 20 2f 2f 20 73 74 69 6c | questing.document.is.....//.stil |
23ea0 | 6c 20 74 68 65 20 63 75 72 72 65 6e 74 20 64 6f 63 75 6d 65 6e 74 2c 20 6f 70 65 6e 20 74 68 65 | l.the.current.document,.open.the |
23ec0 | 20 70 6f 70 75 70 2e 0a 20 20 20 20 69 66 20 28 64 77 69 20 26 26 20 64 77 69 2e 64 6f 63 75 6d | .popup......if.(dwi.&&.dwi.docum |
23ee0 | 65 6e 74 20 3d 3d 20 74 61 72 67 65 74 2e 72 65 71 75 65 73 74 69 6e 67 44 6f 63 75 6d 65 6e 74 | ent.==.target.requestingDocument |
23f00 | 29 20 7b 0a 20 20 20 20 20 20 64 77 69 2e 6f 70 65 6e 28 70 6f 70 75 70 57 69 6e 64 6f 77 55 52 | ).{.......dwi.open(popupWindowUR |
23f20 | 49 2c 20 6e 61 6d 65 2c 20 66 65 61 74 75 72 65 73 29 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a | I,.name,.features);.....}...},.. |
23f40 | 20 20 65 64 69 74 50 6f 70 75 70 53 65 74 74 69 6e 67 73 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 | ..editPopupSettings:.function.() |
23f60 | 0a 20 20 7b 0a 20 20 20 20 76 61 72 20 68 6f 73 74 20 3d 20 22 22 3b 0a 20 20 20 20 74 72 79 20 | ...{.....var.host.=."";.....try. |
23f80 | 7b 0a 20 20 20 20 20 20 76 61 72 20 75 72 69 20 3d 20 67 42 72 6f 77 73 65 72 2e 73 65 6c 65 63 | {.......var.uri.=.gBrowser.selec |
23fa0 | 74 65 64 42 72 6f 77 73 65 72 2e 77 65 62 4e 61 76 69 67 61 74 69 6f 6e 2e 63 75 72 72 65 6e 74 | tedBrowser.webNavigation.current |
23fc0 | 55 52 49 3b 0a 20 20 20 20 20 20 68 6f 73 74 20 3d 20 75 72 69 2e 68 6f 73 74 3b 0a 20 20 20 20 | URI;.......host.=.uri.host;..... |
23fe0 | 7d 0a 20 20 20 20 63 61 74 63 68 20 28 65 29 20 7b 20 7d 0a 0a 20 20 20 20 76 61 72 20 62 75 6e | }.....catch.(e).{.}......var.bun |
24000 | 64 6c 65 50 72 65 66 65 72 65 6e 63 65 73 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 | dlePreferences.=.document.getEle |
24020 | 6d 65 6e 74 42 79 49 64 28 22 62 75 6e 64 6c 65 5f 70 72 65 66 65 72 65 6e 63 65 73 22 29 3b 0a | mentById("bundle_preferences");. |
24040 | 20 20 20 20 76 61 72 20 70 61 72 61 6d 73 20 3d 20 7b 20 62 6c 6f 63 6b 56 69 73 69 62 6c 65 20 | ....var.params.=.{.blockVisible. |
24060 | 20 20 3a 20 66 61 6c 73 65 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 65 | ..:.false,....................se |
24080 | 73 73 69 6f 6e 56 69 73 69 62 6c 65 20 3a 20 66 61 6c 73 65 2c 0a 20 20 20 20 20 20 20 20 20 20 | ssionVisible.:.false,........... |
240a0 | 20 20 20 20 20 20 20 20 20 61 6c 6c 6f 77 56 69 73 69 62 6c 65 20 20 20 3a 20 74 72 75 65 2c 0a | .........allowVisible...:.true,. |
240c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 65 66 69 6c 6c 65 64 48 6f 73 74 | ...................prefilledHost |
240e0 | 20 20 3a 20 68 6f 73 74 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 65 72 | ..:.host,....................per |
24100 | 6d 69 73 73 69 6f 6e 54 79 70 65 20 3a 20 22 70 6f 70 75 70 22 2c 0a 20 20 20 20 20 20 20 20 20 | missionType.:."popup",.......... |
24120 | 20 20 20 20 20 20 20 20 20 20 77 69 6e 64 6f 77 54 69 74 6c 65 20 20 20 20 3a 20 62 75 6e 64 6c | ..........windowTitle....:.bundl |
24140 | 65 50 72 65 66 65 72 65 6e 63 65 73 2e 67 65 74 53 74 72 69 6e 67 28 22 70 6f 70 75 70 70 65 72 | ePreferences.getString("popupper |
24160 | 6d 69 73 73 69 6f 6e 73 74 69 74 6c 65 22 29 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | missionstitle"),................ |
24180 | 20 20 20 20 69 6e 74 72 6f 54 65 78 74 20 20 20 20 20 20 3a 20 62 75 6e 64 6c 65 50 72 65 66 65 | ....introText......:.bundlePrefe |
241a0 | 72 65 6e 63 65 73 2e 67 65 74 53 74 72 69 6e 67 28 22 70 6f 70 75 70 70 65 72 6d 69 73 73 69 6f | rences.getString("popuppermissio |
241c0 | 6e 73 74 65 78 74 22 29 20 7d 3b 0a 20 20 20 20 76 61 72 20 77 6d 20 3d 20 43 6f 6d 70 6f 6e 65 | nstext").};.....var.wm.=.Compone |
241e0 | 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 61 70 70 73 68 65 | nts.classes["@mozilla.org/appshe |
24200 | 6c 6c 2f 77 69 6e 64 6f 77 2d 6d 65 64 69 61 74 6f 72 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 | ll/window-mediator;1"].......... |
24220 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f | ................getService(Compo |
24240 | 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 57 69 6e 64 6f 77 4d 65 64 69 61 74 | nents.interfaces.nsIWindowMediat |
24260 | 6f 72 29 3b 0a 20 20 20 20 76 61 72 20 65 78 69 73 74 69 6e 67 57 69 6e 64 6f 77 20 3d 20 77 6d | or);.....var.existingWindow.=.wm |
24280 | 2e 67 65 74 4d 6f 73 74 52 65 63 65 6e 74 57 69 6e 64 6f 77 28 22 42 72 6f 77 73 65 72 3a 50 65 | .getMostRecentWindow("Browser:Pe |
242a0 | 72 6d 69 73 73 69 6f 6e 73 22 29 3b 0a 20 20 20 20 69 66 20 28 65 78 69 73 74 69 6e 67 57 69 6e | rmissions");.....if.(existingWin |
242c0 | 64 6f 77 29 20 7b 0a 20 20 20 20 20 20 65 78 69 73 74 69 6e 67 57 69 6e 64 6f 77 2e 69 6e 69 74 | dow).{.......existingWindow.init |
242e0 | 57 69 74 68 50 61 72 61 6d 73 28 70 61 72 61 6d 73 29 3b 0a 20 20 20 20 20 20 65 78 69 73 74 69 | WithParams(params);.......existi |
24300 | 6e 67 57 69 6e 64 6f 77 2e 66 6f 63 75 73 28 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 65 6c 73 65 | ngWindow.focus();.....}.....else |
24320 | 0a 20 20 20 20 20 20 77 69 6e 64 6f 77 2e 6f 70 65 6e 44 69 61 6c 6f 67 28 22 63 68 72 6f 6d 65 | .......window.openDialog("chrome |
24340 | 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 70 | ://browser/content/preferences/p |
24360 | 65 72 6d 69 73 73 69 6f 6e 73 2e 78 75 6c 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ermissions.xul",................ |
24380 | 20 20 20 20 20 20 20 20 20 22 5f 62 6c 61 6e 6b 22 2c 20 22 72 65 73 69 7a 61 62 6c 65 2c 64 69 | ........."_blank",."resizable,di |
243a0 | 61 6c 6f 67 3d 6e 6f 2c 63 65 6e 74 65 72 73 63 72 65 65 6e 22 2c 20 70 61 72 61 6d 73 29 3b 0a | alog=no,centerscreen",.params);. |
243c0 | 20 20 7d 2c 0a 0a 20 20 64 6f 6e 74 53 68 6f 77 4d 65 73 73 61 67 65 3a 20 66 75 6e 63 74 69 6f | ..},....dontShowMessage:.functio |
243e0 | 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 76 61 72 20 73 68 6f 77 4d 65 73 73 61 67 65 20 3d 20 67 | n.()...{.....var.showMessage.=.g |
24400 | 50 72 65 66 53 65 72 76 69 63 65 2e 67 65 74 42 6f 6f 6c 50 72 65 66 28 22 70 72 69 76 61 63 79 | PrefService.getBoolPref("privacy |
24420 | 2e 70 6f 70 75 70 73 2e 73 68 6f 77 42 72 6f 77 73 65 72 4d 65 73 73 61 67 65 22 29 3b 0a 20 20 | .popups.showBrowserMessage");... |
24440 | 20 20 76 61 72 20 66 69 72 73 74 54 69 6d 65 20 3d 20 67 50 72 65 66 53 65 72 76 69 63 65 2e 67 | ..var.firstTime.=.gPrefService.g |
24460 | 65 74 42 6f 6f 6c 50 72 65 66 28 22 70 72 69 76 61 63 79 2e 70 6f 70 75 70 73 2e 66 69 72 73 74 | etBoolPref("privacy.popups.first |
24480 | 54 69 6d 65 22 29 3b 0a 0a 20 20 20 20 2f 2f 20 49 66 20 74 68 65 20 69 6e 66 6f 20 6d 65 73 73 | Time");......//.If.the.info.mess |
244a0 | 61 67 65 20 69 73 20 73 68 6f 77 69 6e 67 20 61 74 20 74 68 65 20 74 6f 70 20 6f 66 20 74 68 65 | age.is.showing.at.the.top.of.the |
244c0 | 20 77 69 6e 64 6f 77 2c 20 61 6e 64 20 74 68 65 20 75 73 65 72 20 68 61 73 20 6e 65 76 65 72 0a | .window,.and.the.user.has.never. |
244e0 | 20 20 20 20 2f 2f 20 68 69 64 64 65 6e 20 74 68 65 20 6d 65 73 73 61 67 65 20 62 65 66 6f 72 65 | ....//.hidden.the.message.before |
24500 | 2c 20 73 68 6f 77 20 61 6e 20 69 6e 66 6f 20 62 6f 78 20 74 65 6c 6c 69 6e 67 20 74 68 65 20 75 | ,.show.an.info.box.telling.the.u |
24520 | 73 65 72 20 77 68 65 72 65 20 74 68 65 20 69 6e 66 6f 0a 20 20 20 20 2f 2f 20 77 69 6c 6c 20 62 | ser.where.the.info.....//.will.b |
24540 | 65 20 64 69 73 70 6c 61 79 65 64 2e 0a 20 20 20 20 69 66 20 28 73 68 6f 77 4d 65 73 73 61 67 65 | e.displayed......if.(showMessage |
24560 | 20 26 26 20 66 69 72 73 74 54 69 6d 65 29 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 64 69 73 70 6c | .&&.firstTime).......this._displ |
24580 | 61 79 50 61 67 65 52 65 70 6f 72 74 46 69 72 73 74 54 69 6d 65 28 29 3b 0a 0a 20 20 20 20 67 50 | ayPageReportFirstTime();......gP |
245a0 | 72 65 66 53 65 72 76 69 63 65 2e 73 65 74 42 6f 6f 6c 50 72 65 66 28 22 70 72 69 76 61 63 79 2e | refService.setBoolPref("privacy. |
245c0 | 70 6f 70 75 70 73 2e 73 68 6f 77 42 72 6f 77 73 65 72 4d 65 73 73 61 67 65 22 2c 20 21 73 68 6f | popups.showBrowserMessage",.!sho |
245e0 | 77 4d 65 73 73 61 67 65 29 3b 0a 0a 20 20 20 20 67 42 72 6f 77 73 65 72 2e 67 65 74 4e 6f 74 69 | wMessage);......gBrowser.getNoti |
24600 | 66 69 63 61 74 69 6f 6e 42 6f 78 28 29 2e 72 65 6d 6f 76 65 43 75 72 72 65 6e 74 4e 6f 74 69 66 | ficationBox().removeCurrentNotif |
24620 | 69 63 61 74 69 6f 6e 28 29 3b 0a 20 20 7d 2c 0a 0a 20 20 5f 64 69 73 70 6c 61 79 50 61 67 65 52 | ication();...},...._displayPageR |
24640 | 65 70 6f 72 74 46 69 72 73 74 54 69 6d 65 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a | eportFirstTime:.function.()...{. |
24660 | 20 20 20 20 77 69 6e 64 6f 77 2e 6f 70 65 6e 44 69 61 6c 6f 67 28 22 63 68 72 6f 6d 65 3a 2f 2f | ....window.openDialog("chrome:// |
24680 | 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 70 61 67 65 52 65 70 6f 72 74 46 69 72 73 74 54 | browser/content/pageReportFirstT |
246a0 | 69 6d 65 2e 78 75 6c 22 2c 20 22 5f 62 6c 61 6e 6b 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ime.xul",."_blank",............. |
246c0 | 20 20 20 20 20 20 20 20 20 20 22 64 65 70 65 6e 64 65 6e 74 22 29 3b 0a 20 20 7d 0a 7d 3b 0a 0a | .........."dependent");...}.};.. |
246e0 | 63 6f 6e 73 74 20 67 58 50 49 6e 73 74 61 6c 6c 4f 62 73 65 72 76 65 72 20 3d 20 7b 0a 20 20 5f | const.gXPInstallObserver.=.{..._ |
24700 | 66 69 6e 64 43 68 69 6c 64 53 68 65 6c 6c 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 44 6f 63 53 68 | findChildShell:.function.(aDocSh |
24720 | 65 6c 6c 2c 20 61 53 6f 75 67 68 74 53 68 65 6c 6c 29 0a 20 20 7b 0a 20 20 20 20 69 66 20 28 61 | ell,.aSoughtShell)...{.....if.(a |
24740 | 44 6f 63 53 68 65 6c 6c 20 3d 3d 20 61 53 6f 75 67 68 74 53 68 65 6c 6c 29 0a 20 20 20 20 20 20 | DocShell.==.aSoughtShell)....... |
24760 | 72 65 74 75 72 6e 20 61 44 6f 63 53 68 65 6c 6c 3b 0a 0a 20 20 20 20 76 61 72 20 6e 6f 64 65 20 | return.aDocShell;......var.node. |
24780 | 3d 20 61 44 6f 63 53 68 65 6c 6c 2e 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 28 43 6f 6d 70 6f | =.aDocShell.QueryInterface(Compo |
247a0 | 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 44 6f 63 53 68 65 6c 6c 54 72 65 65 | nents.interfaces.nsIDocShellTree |
247c0 | 4e 6f 64 65 29 3b 0a 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 6e | Node);.....for.(var.i.=.0;.i.<.n |
247e0 | 6f 64 65 2e 63 68 69 6c 64 43 6f 75 6e 74 3b 20 2b 2b 69 29 20 7b 0a 20 20 20 20 20 20 76 61 72 | ode.childCount;.++i).{.......var |
24800 | 20 64 6f 63 53 68 65 6c 6c 20 3d 20 6e 6f 64 65 2e 67 65 74 43 68 69 6c 64 41 74 28 69 29 3b 0a | .docShell.=.node.getChildAt(i);. |
24820 | 20 20 20 20 20 20 64 6f 63 53 68 65 6c 6c 20 3d 20 74 68 69 73 2e 5f 66 69 6e 64 43 68 69 6c 64 | ......docShell.=.this._findChild |
24840 | 53 68 65 6c 6c 28 64 6f 63 53 68 65 6c 6c 2c 20 61 53 6f 75 67 68 74 53 68 65 6c 6c 29 3b 0a 20 | Shell(docShell,.aSoughtShell);.. |
24860 | 20 20 20 20 20 69 66 20 28 64 6f 63 53 68 65 6c 6c 20 3d 3d 20 61 53 6f 75 67 68 74 53 68 65 6c | .....if.(docShell.==.aSoughtShel |
24880 | 6c 29 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 64 6f 63 53 68 65 6c 6c 3b 0a 20 20 20 20 | l).........return.docShell;..... |
248a0 | 7d 0a 20 20 20 20 72 65 74 75 72 6e 20 6e 75 6c 6c 3b 0a 20 20 7d 2c 0a 0a 20 20 5f 67 65 74 42 | }.....return.null;...},...._getB |
248c0 | 72 6f 77 73 65 72 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 44 6f 63 53 68 65 6c 6c 29 0a 20 20 7b | rowser:.function.(aDocShell)...{ |
248e0 | 0a 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 67 42 72 6f 77 73 65 | .....for.(var.i.=.0;.i.<.gBrowse |
24900 | 72 2e 62 72 6f 77 73 65 72 73 2e 6c 65 6e 67 74 68 3b 20 2b 2b 69 29 20 7b 0a 20 20 20 20 20 20 | r.browsers.length;.++i).{....... |
24920 | 76 61 72 20 62 72 6f 77 73 65 72 20 3d 20 67 42 72 6f 77 73 65 72 2e 67 65 74 42 72 6f 77 73 65 | var.browser.=.gBrowser.getBrowse |
24940 | 72 41 74 49 6e 64 65 78 28 69 29 3b 0a 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 66 69 6e | rAtIndex(i);.......if.(this._fin |
24960 | 64 43 68 69 6c 64 53 68 65 6c 6c 28 62 72 6f 77 73 65 72 2e 64 6f 63 53 68 65 6c 6c 2c 20 61 44 | dChildShell(browser.docShell,.aD |
24980 | 6f 63 53 68 65 6c 6c 29 29 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 62 72 6f 77 73 65 72 | ocShell)).........return.browser |
249a0 | 3b 0a 20 20 20 20 7d 0a 20 20 20 20 72 65 74 75 72 6e 20 6e 75 6c 6c 3b 0a 20 20 7d 2c 0a 0a 20 | ;.....}.....return.null;...},... |
249c0 | 20 6f 62 73 65 72 76 65 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 53 75 62 6a 65 63 74 2c 20 61 54 | .observe:.function.(aSubject,.aT |
249e0 | 6f 70 69 63 2c 20 61 44 61 74 61 29 0a 20 20 7b 0a 20 20 20 20 76 61 72 20 62 72 61 6e 64 42 75 | opic,.aData)...{.....var.brandBu |
24a00 | 6e 64 6c 65 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 | ndle.=.document.getElementById(" |
24a20 | 62 75 6e 64 6c 65 5f 62 72 61 6e 64 22 29 3b 0a 20 20 20 20 76 61 72 20 62 72 6f 77 73 65 72 42 | bundle_brand");.....var.browserB |
24a40 | 75 6e 64 6c 65 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 | undle.=.document.getElementById( |
24a60 | 22 62 75 6e 64 6c 65 5f 62 72 6f 77 73 65 72 22 29 3b 0a 20 20 20 20 73 77 69 74 63 68 20 28 61 | "bundle_browser");.....switch.(a |
24a80 | 54 6f 70 69 63 29 20 7b 0a 20 20 20 20 63 61 73 65 20 22 78 70 69 6e 73 74 61 6c 6c 2d 69 6e 73 | Topic).{.....case."xpinstall-ins |
24aa0 | 74 61 6c 6c 2d 62 6c 6f 63 6b 65 64 22 3a 0a 20 20 20 20 20 20 76 61 72 20 69 6e 73 74 61 6c 6c | tall-blocked":.......var.install |
24ac0 | 49 6e 66 6f 20 3d 20 61 53 75 62 6a 65 63 74 2e 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 28 43 | Info.=.aSubject.QueryInterface(C |
24ae0 | 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 58 50 49 49 6e 73 74 61 | omponents.interfaces.nsIXPIInsta |
24b00 | 6c 6c 49 6e 66 6f 29 3b 0a 20 20 20 20 20 20 76 61 72 20 77 69 6e 20 3d 20 69 6e 73 74 61 6c 6c | llInfo);.......var.win.=.install |
24b20 | 49 6e 66 6f 2e 6f 72 69 67 69 6e 61 74 69 6e 67 57 69 6e 64 6f 77 3b 0a 20 20 20 20 20 20 76 61 | Info.originatingWindow;.......va |
24b40 | 72 20 73 68 65 6c 6c 20 3d 20 77 69 6e 2e 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 28 43 6f 6d | r.shell.=.win.QueryInterface(Com |
24b60 | 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 49 6e 74 65 72 66 61 63 65 52 | ponents.interfaces.nsIInterfaceR |
24b80 | 65 71 75 65 73 74 6f 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e | equestor)....................... |
24ba0 | 67 65 74 49 6e 74 65 72 66 61 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 | getInterface(Components.interfac |
24bc0 | 65 73 2e 6e 73 49 57 65 62 4e 61 76 69 67 61 74 69 6f 6e 29 0a 20 20 20 20 20 20 20 20 20 20 20 | es.nsIWebNavigation)............ |
24be0 | 20 20 20 20 20 20 20 20 20 20 2e 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 28 43 6f 6d 70 6f 6e | ...........QueryInterface(Compon |
24c00 | 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 44 6f 63 53 68 65 6c 6c 29 3b 0a 20 20 | ents.interfaces.nsIDocShell);... |
24c20 | 20 20 20 20 76 61 72 20 62 72 6f 77 73 65 72 20 3d 20 74 68 69 73 2e 5f 67 65 74 42 72 6f 77 73 | ....var.browser.=.this._getBrows |
24c40 | 65 72 28 73 68 65 6c 6c 29 3b 0a 20 20 20 20 20 20 69 66 20 28 62 72 6f 77 73 65 72 29 20 7b 0a | er(shell);.......if.(browser).{. |
24c60 | 20 20 20 20 20 20 20 20 76 61 72 20 68 6f 73 74 20 3d 20 69 6e 73 74 61 6c 6c 49 6e 66 6f 2e 6f | ........var.host.=.installInfo.o |
24c80 | 72 69 67 69 6e 61 74 69 6e 67 55 52 49 2e 68 6f 73 74 3b 0a 20 20 20 20 20 20 20 20 76 61 72 20 | riginatingURI.host;.........var. |
24ca0 | 62 72 61 6e 64 53 68 6f 72 74 4e 61 6d 65 20 3d 20 62 72 61 6e 64 42 75 6e 64 6c 65 2e 67 65 74 | brandShortName.=.brandBundle.get |
24cc0 | 53 74 72 69 6e 67 28 22 62 72 61 6e 64 53 68 6f 72 74 4e 61 6d 65 22 29 3b 0a 20 20 20 20 20 20 | String("brandShortName");....... |
24ce0 | 20 20 76 61 72 20 6e 6f 74 69 66 69 63 61 74 69 6f 6e 4e 61 6d 65 2c 20 6d 65 73 73 61 67 65 53 | ..var.notificationName,.messageS |
24d00 | 74 72 69 6e 67 2c 20 62 75 74 74 6f 6e 73 3b 0a 20 20 20 20 20 20 20 20 69 66 20 28 21 67 50 72 | tring,.buttons;.........if.(!gPr |
24d20 | 65 66 53 65 72 76 69 63 65 2e 67 65 74 42 6f 6f 6c 50 72 65 66 28 22 78 70 69 6e 73 74 61 6c 6c | efService.getBoolPref("xpinstall |
24d40 | 2e 65 6e 61 62 6c 65 64 22 29 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 6e 6f 74 69 66 69 63 61 | .enabled")).{...........notifica |
24d60 | 74 69 6f 6e 4e 61 6d 65 20 3d 20 22 78 70 69 6e 73 74 61 6c 6c 2d 64 69 73 61 62 6c 65 64 22 0a | tionName.=."xpinstall-disabled". |
24d80 | 20 20 20 20 20 20 20 20 20 20 69 66 20 28 67 50 72 65 66 53 65 72 76 69 63 65 2e 70 72 65 66 49 | ..........if.(gPrefService.prefI |
24da0 | 73 4c 6f 63 6b 65 64 28 22 78 70 69 6e 73 74 61 6c 6c 2e 65 6e 61 62 6c 65 64 22 29 29 20 7b 0a | sLocked("xpinstall.enabled")).{. |
24dc0 | 20 20 20 20 20 20 20 20 20 20 20 20 6d 65 73 73 61 67 65 53 74 72 69 6e 67 20 3d 20 62 72 6f 77 | ............messageString.=.brow |
24de0 | 73 65 72 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 78 70 69 6e 73 74 61 6c 6c 44 69 | serBundle.getString("xpinstallDi |
24e00 | 73 61 62 6c 65 64 4d 65 73 73 61 67 65 4c 6f 63 6b 65 64 22 29 3b 0a 20 20 20 20 20 20 20 20 20 | sabledMessageLocked");.......... |
24e20 | 20 20 20 62 75 74 74 6f 6e 73 20 3d 20 5b 5d 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 | ...buttons.=.[];...........}.... |
24e40 | 20 20 20 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 65 73 73 61 67 | .......else.{.............messag |
24e60 | 65 53 74 72 69 6e 67 20 3d 20 62 72 6f 77 73 65 72 42 75 6e 64 6c 65 2e 67 65 74 46 6f 72 6d 61 | eString.=.browserBundle.getForma |
24e80 | 74 74 65 64 53 74 72 69 6e 67 28 22 78 70 69 6e 73 74 61 6c 6c 44 69 73 61 62 6c 65 64 4d 65 73 | ttedString("xpinstallDisabledMes |
24ea0 | 73 61 67 65 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | sage",.......................... |
24ec0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
24ee0 | 20 20 20 20 5b 62 72 61 6e 64 53 68 6f 72 74 4e 61 6d 65 2c 20 68 6f 73 74 5d 29 3b 0a 0a 20 20 | ....[brandShortName,.host]);.... |
24f00 | 20 20 20 20 20 20 20 20 20 20 62 75 74 74 6f 6e 73 20 3d 20 5b 7b 0a 20 20 20 20 20 20 20 20 20 | ..........buttons.=.[{.......... |
24f20 | 20 20 20 20 20 6c 61 62 65 6c 3a 20 62 72 6f 77 73 65 72 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 | .....label:.browserBundle.getStr |
24f40 | 69 6e 67 28 22 78 70 69 6e 73 74 61 6c 6c 44 69 73 61 62 6c 65 64 42 75 74 74 6f 6e 22 29 2c 0a | ing("xpinstallDisabledButton"),. |
24f60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 4b 65 79 3a 20 62 72 6f 77 73 65 72 | ..............accessKey:.browser |
24f80 | 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 78 70 69 6e 73 74 61 6c 6c 44 69 73 61 62 | Bundle.getString("xpinstallDisab |
24fa0 | 6c 65 64 42 75 74 74 6f 6e 2e 61 63 63 65 73 73 6b 65 79 22 29 2c 0a 20 20 20 20 20 20 20 20 20 | ledButton.accesskey"),.......... |
24fc0 | 20 20 20 20 20 70 6f 70 75 70 3a 20 6e 75 6c 6c 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .....popup:.null,............... |
24fe0 | 63 61 6c 6c 62 61 63 6b 3a 20 66 75 6e 63 74 69 6f 6e 20 65 64 69 74 50 72 65 66 73 28 29 20 7b | callback:.function.editPrefs().{ |
25000 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 50 72 65 66 53 65 72 76 69 63 65 2e 73 65 | .................gPrefService.se |
25020 | 74 42 6f 6f 6c 50 72 65 66 28 22 78 70 69 6e 73 74 61 6c 6c 2e 65 6e 61 62 6c 65 64 22 2c 20 74 | tBoolPref("xpinstall.enabled",.t |
25040 | 72 75 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 66 61 6c | rue);.................return.fal |
25060 | 73 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 | se;...............}............. |
25080 | 7d 5d 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 | }];...........}.........}....... |
250a0 | 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 20 20 20 20 6e 6f 74 69 66 69 63 61 74 69 6f 6e 4e | ..else.{...........notificationN |
250c0 | 61 6d 65 20 3d 20 22 78 70 69 6e 73 74 61 6c 6c 22 0a 20 20 20 20 20 20 20 20 20 20 6d 65 73 73 | ame.=."xpinstall"...........mess |
250e0 | 61 67 65 53 74 72 69 6e 67 20 3d 20 62 72 6f 77 73 65 72 42 75 6e 64 6c 65 2e 67 65 74 46 6f 72 | ageString.=.browserBundle.getFor |
25100 | 6d 61 74 74 65 64 53 74 72 69 6e 67 28 22 78 70 69 6e 73 74 61 6c 6c 50 72 6f 6d 70 74 57 61 72 | mattedString("xpinstallPromptWar |
25120 | 6e 69 6e 67 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ning",.......................... |
25140 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
25160 | 20 20 5b 62 72 61 6e 64 53 68 6f 72 74 4e 61 6d 65 2c 20 68 6f 73 74 5d 29 3b 0a 0a 20 20 20 20 | ..[brandShortName,.host]);...... |
25180 | 20 20 20 20 20 20 62 75 74 74 6f 6e 73 20 3d 20 5b 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 6c | ......buttons.=.[{.............l |
251a0 | 61 62 65 6c 3a 20 62 72 6f 77 73 65 72 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 78 | abel:.browserBundle.getString("x |
251c0 | 70 69 6e 73 74 61 6c 6c 50 72 6f 6d 70 74 41 6c 6c 6f 77 42 75 74 74 6f 6e 22 29 2c 0a 20 20 20 | pinstallPromptAllowButton"),.... |
251e0 | 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 4b 65 79 3a 20 62 72 6f 77 73 65 72 42 75 6e 64 6c | .........accessKey:.browserBundl |
25200 | 65 2e 67 65 74 53 74 72 69 6e 67 28 22 78 70 69 6e 73 74 61 6c 6c 50 72 6f 6d 70 74 41 6c 6c 6f | e.getString("xpinstallPromptAllo |
25220 | 77 42 75 74 74 6f 6e 2e 61 63 63 65 73 73 6b 65 79 22 29 2c 0a 20 20 20 20 20 20 20 20 20 20 20 | wButton.accesskey"),............ |
25240 | 20 70 6f 70 75 70 3a 20 6e 75 6c 6c 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 63 61 6c 6c 62 61 | .popup:.null,.............callba |
25260 | 63 6b 3a 20 66 75 6e 63 74 69 6f 6e 28 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 | ck:.function().{...............v |
25280 | 61 72 20 6d 67 72 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f | ar.mgr.=.Components.classes["@mo |
252a0 | 7a 69 6c 6c 61 2e 6f 72 67 2f 78 70 69 6e 73 74 61 6c 6c 2f 69 6e 73 74 61 6c 6c 2d 6d 61 6e 61 | zilla.org/xpinstall/install-mana |
252c0 | 67 65 72 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ger;1"]......................... |
252e0 | 20 20 20 20 20 20 20 20 20 20 2e 63 72 65 61 74 65 49 6e 73 74 61 6e 63 65 28 43 6f 6d 70 6f 6e | ...........createInstance(Compon |
25300 | 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 58 50 49 6e 73 74 61 6c 6c 4d 61 6e 61 | ents.interfaces.nsIXPInstallMana |
25320 | 67 65 72 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 67 72 2e 69 6e 69 74 4d 61 6e 61 | ger);...............mgr.initMana |
25340 | 67 65 72 57 69 74 68 49 6e 73 74 61 6c 6c 49 6e 66 6f 28 69 6e 73 74 61 6c 6c 49 6e 66 6f 29 3b | gerWithInstallInfo(installInfo); |
25360 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 0a 20 20 20 | ...............return.false;.... |
25380 | 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 7d 5d 3b 0a 20 20 20 20 20 20 20 | .........}...........}];........ |
253a0 | 20 7d 0a 0a 20 20 20 20 20 20 20 20 76 61 72 20 6e 6f 74 69 66 69 63 61 74 69 6f 6e 42 6f 78 20 | .}..........var.notificationBox. |
253c0 | 3d 20 67 42 72 6f 77 73 65 72 2e 67 65 74 4e 6f 74 69 66 69 63 61 74 69 6f 6e 42 6f 78 28 62 72 | =.gBrowser.getNotificationBox(br |
253e0 | 6f 77 73 65 72 29 3b 0a 20 20 20 20 20 20 20 20 69 66 20 28 21 6e 6f 74 69 66 69 63 61 74 69 6f | owser);.........if.(!notificatio |
25400 | 6e 42 6f 78 2e 67 65 74 4e 6f 74 69 66 69 63 61 74 69 6f 6e 57 69 74 68 56 61 6c 75 65 28 6e 6f | nBox.getNotificationWithValue(no |
25420 | 74 69 66 69 63 61 74 69 6f 6e 4e 61 6d 65 29 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 63 6f 6e | tificationName)).{...........con |
25440 | 73 74 20 70 72 69 6f 72 69 74 79 20 3d 20 6e 6f 74 69 66 69 63 61 74 69 6f 6e 42 6f 78 2e 50 52 | st.priority.=.notificationBox.PR |
25460 | 49 4f 52 49 54 59 5f 57 41 52 4e 49 4e 47 5f 4d 45 44 49 55 4d 3b 0a 20 20 20 20 20 20 20 20 20 | IORITY_WARNING_MEDIUM;.......... |
25480 | 20 63 6f 6e 73 74 20 69 63 6f 6e 55 52 4c 20 3d 20 22 63 68 72 6f 6d 65 3a 2f 2f 6d 6f 7a 61 70 | .const.iconURL.=."chrome://mozap |
254a0 | 70 73 2f 73 6b 69 6e 2f 75 70 64 61 74 65 2f 75 70 64 61 74 65 2e 70 6e 67 22 3b 0a 20 20 20 20 | ps/skin/update/update.png";..... |
254c0 | 20 20 20 20 20 20 6e 6f 74 69 66 69 63 61 74 69 6f 6e 42 6f 78 2e 61 70 70 65 6e 64 4e 6f 74 69 | ......notificationBox.appendNoti |
254e0 | 66 69 63 61 74 69 6f 6e 28 6d 65 73 73 61 67 65 53 74 72 69 6e 67 2c 20 6e 6f 74 69 66 69 63 61 | fication(messageString,.notifica |
25500 | 74 69 6f 6e 4e 61 6d 65 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | tionName,....................... |
25520 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 63 6f 6e 55 52 4c 2c 20 | .......................iconURL,. |
25540 | 70 72 69 6f 72 69 74 79 2c 20 62 75 74 74 6f 6e 73 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 | priority,.buttons);.........}... |
25560 | 20 20 20 20 7d 0a 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 7d 0a 20 20 7d 0a 7d 3b 0a | ....}.......break;.....}...}.};. |
25580 | 0a 2f 2f 20 53 69 6d 70 6c 65 20 67 65 73 74 75 72 65 73 20 73 75 70 70 6f 72 74 0a 2f 2f 0a 2f | .//.Simple.gestures.support.//./ |
255a0 | 2f 20 41 73 20 70 65 72 20 62 75 67 20 23 34 31 32 34 38 36 2c 20 77 65 62 20 63 6f 6e 74 65 6e | /.As.per.bug.#412486,.web.conten |
255c0 | 74 20 6d 75 73 74 20 6e 6f 74 20 62 65 20 61 6c 6c 6f 77 65 64 20 74 6f 20 72 65 63 65 69 76 65 | t.must.not.be.allowed.to.receive |
255e0 | 20 61 6e 79 0a 2f 2f 20 73 69 6d 70 6c 65 20 67 65 73 74 75 72 65 20 65 76 65 6e 74 73 2e 20 20 | .any.//.simple.gesture.events... |
25600 | 4d 75 6c 74 69 2d 74 6f 75 63 68 20 67 65 73 74 75 72 65 20 41 50 49 73 20 61 72 65 20 69 6e 20 | Multi-touch.gesture.APIs.are.in. |
25620 | 74 68 65 69 72 0a 2f 2f 20 69 6e 66 61 6e 63 79 20 61 6e 64 20 77 65 20 64 6f 20 4e 4f 54 20 77 | their.//.infancy.and.we.do.NOT.w |
25640 | 61 6e 74 20 74 6f 20 62 65 20 66 6f 72 63 65 64 20 69 6e 74 6f 20 73 75 70 70 6f 72 74 69 6e 67 | ant.to.be.forced.into.supporting |
25660 | 20 61 6e 20 41 50 49 20 74 68 61 74 0a 2f 2f 20 77 69 6c 6c 20 70 72 6f 62 61 62 6c 79 20 68 61 | .an.API.that.//.will.probably.ha |
25680 | 76 65 20 74 6f 20 63 68 61 6e 67 65 20 69 6e 20 74 68 65 20 66 75 74 75 72 65 2e 20 20 28 54 68 | ve.to.change.in.the.future...(Th |
256a0 | 65 20 63 75 72 72 65 6e 74 20 4d 61 63 20 4f 53 20 58 0a 2f 2f 20 41 50 49 20 69 73 20 75 6e 64 | e.current.Mac.OS.X.//.API.is.und |
256c0 | 6f 63 75 6d 65 6e 74 65 64 20 61 6e 64 20 77 61 73 20 72 65 76 65 72 73 65 2d 65 6e 67 69 6e 65 | ocumented.and.was.reverse-engine |
256e0 | 65 72 65 64 2e 29 20 20 55 6e 74 69 6c 20 73 75 70 70 6f 72 74 20 69 73 0a 2f 2f 20 69 6d 70 6c | ered.)..Until.support.is.//.impl |
25700 | 65 6d 65 6e 74 65 64 20 69 6e 20 74 68 65 20 65 76 65 6e 74 20 64 69 73 70 61 74 63 68 65 72 20 | emented.in.the.event.dispatcher. |
25720 | 74 6f 20 6b 65 65 70 20 74 68 65 73 65 20 65 76 65 6e 74 73 20 61 73 0a 2f 2f 20 63 68 72 6f 6d | to.keep.these.events.as.//.chrom |
25740 | 65 2d 6f 6e 6c 79 2c 20 77 65 20 6d 75 73 74 20 6c 69 73 74 65 6e 20 66 6f 72 20 74 68 65 20 73 | e-only,.we.must.listen.for.the.s |
25760 | 69 6d 70 6c 65 20 67 65 73 74 75 72 65 20 65 76 65 6e 74 73 20 64 75 72 69 6e 67 0a 2f 2f 20 74 | imple.gesture.events.during.//.t |
25780 | 68 65 20 63 61 70 74 75 72 69 6e 67 20 70 68 61 73 65 20 61 6e 64 20 63 61 6c 6c 20 73 74 6f 70 | he.capturing.phase.and.call.stop |
257a0 | 50 72 6f 70 61 67 61 74 69 6f 6e 20 6f 6e 20 65 76 65 72 79 20 65 76 65 6e 74 2e 0a 0a 6c 65 74 | Propagation.on.every.event...let |
257c0 | 20 67 47 65 73 74 75 72 65 53 75 70 70 6f 72 74 20 3d 20 7b 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 | .gGestureSupport.=.{.../**....*. |
257e0 | 41 64 64 20 6f 72 20 72 65 6d 6f 76 65 20 6d 6f 75 73 65 20 67 65 73 74 75 72 65 20 65 76 65 6e | Add.or.remove.mouse.gesture.even |
25800 | 74 20 6c 69 73 74 65 6e 65 72 73 0a 20 20 20 2a 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 61 41 64 | t.listeners....*....*.@param.aAd |
25820 | 64 4c 69 73 74 65 6e 65 72 0a 20 20 20 2a 20 20 20 20 20 20 20 20 54 72 75 65 20 74 6f 20 61 64 | dListener....*........True.to.ad |
25840 | 64 2f 69 6e 69 74 20 6c 69 73 74 65 6e 65 72 73 20 61 6e 64 20 66 61 6c 73 65 20 74 6f 20 72 65 | d/init.listeners.and.false.to.re |
25860 | 6d 6f 76 65 2f 75 6e 69 6e 69 74 0a 20 20 20 2a 2f 0a 20 20 69 6e 69 74 3a 20 66 75 6e 63 74 69 | move/uninit....*/...init:.functi |
25880 | 6f 6e 20 47 53 5f 69 6e 69 74 28 61 41 64 64 4c 69 73 74 65 6e 65 72 29 20 7b 0a 20 20 20 20 63 | on.GS_init(aAddListener).{.....c |
258a0 | 6f 6e 73 74 20 67 65 73 74 75 72 65 45 76 65 6e 74 73 20 3d 20 5b 22 53 77 69 70 65 47 65 73 74 | onst.gestureEvents.=.["SwipeGest |
258c0 | 75 72 65 22 2c 0a 20 20 20 20 20 20 22 4d 61 67 6e 69 66 79 47 65 73 74 75 72 65 53 74 61 72 74 | ure",......."MagnifyGestureStart |
258e0 | 22 2c 20 22 4d 61 67 6e 69 66 79 47 65 73 74 75 72 65 55 70 64 61 74 65 22 2c 20 22 4d 61 67 6e | ",."MagnifyGestureUpdate",."Magn |
25900 | 69 66 79 47 65 73 74 75 72 65 22 2c 0a 20 20 20 20 20 20 22 52 6f 74 61 74 65 47 65 73 74 75 72 | ifyGesture",......."RotateGestur |
25920 | 65 53 74 61 72 74 22 2c 20 22 52 6f 74 61 74 65 47 65 73 74 75 72 65 55 70 64 61 74 65 22 2c 20 | eStart",."RotateGestureUpdate",. |
25940 | 22 52 6f 74 61 74 65 47 65 73 74 75 72 65 22 2c 0a 20 20 20 20 20 20 22 54 61 70 47 65 73 74 75 | "RotateGesture",......."TapGestu |
25960 | 72 65 22 2c 20 22 50 72 65 73 73 54 61 70 47 65 73 74 75 72 65 22 5d 3b 0a 0a 20 20 20 20 6c 65 | re",."PressTapGesture"];......le |
25980 | 74 20 61 64 64 52 65 6d 6f 76 65 20 3d 20 61 41 64 64 4c 69 73 74 65 6e 65 72 20 3f 20 77 69 6e | t.addRemove.=.aAddListener.?.win |
259a0 | 64 6f 77 2e 61 64 64 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 20 3a 0a 20 20 20 20 20 20 77 69 6e | dow.addEventListener.:.......win |
259c0 | 64 6f 77 2e 72 65 6d 6f 76 65 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 3b 0a 0a 20 20 20 20 66 6f | dow.removeEventListener;......fo |
259e0 | 72 20 65 61 63 68 20 28 6c 65 74 20 65 76 65 6e 74 20 69 6e 20 67 65 73 74 75 72 65 45 76 65 6e | r.each.(let.event.in.gestureEven |
25a00 | 74 73 29 0a 20 20 20 20 20 20 61 64 64 52 65 6d 6f 76 65 28 22 4d 6f 7a 22 20 2b 20 65 76 65 6e | ts).......addRemove("Moz".+.even |
25a20 | 74 2c 20 74 68 69 73 2c 20 74 72 75 65 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a | t,.this,.true);...},..../**....* |
25a40 | 20 44 69 73 70 61 74 63 68 20 65 76 65 6e 74 73 20 62 61 73 65 64 20 6f 6e 20 74 68 65 20 74 79 | .Dispatch.events.based.on.the.ty |
25a60 | 70 65 20 6f 66 20 6d 6f 75 73 65 20 67 65 73 74 75 72 65 20 65 76 65 6e 74 2e 20 46 6f 72 20 6e | pe.of.mouse.gesture.event..For.n |
25a80 | 6f 77 2c 20 6d 61 6b 65 0a 20 20 20 2a 20 73 75 72 65 20 74 6f 20 73 74 6f 70 20 70 72 6f 70 61 | ow,.make....*.sure.to.stop.propa |
25aa0 | 67 61 74 69 6f 6e 20 6f 66 20 65 76 65 72 79 20 67 65 73 74 75 72 65 20 65 76 65 6e 74 20 73 6f | gation.of.every.gesture.event.so |
25ac0 | 20 74 68 61 74 20 77 65 62 20 63 6f 6e 74 65 6e 74 20 63 61 6e 6e 6f 74 0a 20 20 20 2a 20 72 65 | .that.web.content.cannot....*.re |
25ae0 | 63 65 69 76 65 20 67 65 73 74 75 72 65 20 65 76 65 6e 74 73 2e 0a 20 20 20 2a 0a 20 20 20 2a 20 | ceive.gesture.events.....*....*. |
25b00 | 40 70 61 72 61 6d 20 61 45 76 65 6e 74 0a 20 20 20 2a 20 20 20 20 20 20 20 20 54 68 65 20 67 65 | @param.aEvent....*........The.ge |
25b20 | 73 74 75 72 65 20 65 76 65 6e 74 20 74 6f 20 68 61 6e 64 6c 65 0a 20 20 20 2a 2f 0a 20 20 68 61 | sture.event.to.handle....*/...ha |
25b40 | 6e 64 6c 65 45 76 65 6e 74 3a 20 66 75 6e 63 74 69 6f 6e 20 47 53 5f 68 61 6e 64 6c 65 45 76 65 | ndleEvent:.function.GS_handleEve |
25b60 | 6e 74 28 61 45 76 65 6e 74 29 20 7b 0a 20 20 20 20 61 45 76 65 6e 74 2e 73 74 6f 70 50 72 6f 70 | nt(aEvent).{.....aEvent.stopProp |
25b80 | 61 67 61 74 69 6f 6e 28 29 3b 0a 0a 20 20 20 20 2f 2f 20 43 72 65 61 74 65 20 61 20 70 72 65 66 | agation();......//.Create.a.pref |
25ba0 | 65 72 65 6e 63 65 20 6f 62 6a 65 63 74 20 77 69 74 68 20 73 6f 6d 65 20 64 65 66 61 75 6c 74 73 | erence.object.with.some.defaults |
25bc0 | 0a 20 20 20 20 6c 65 74 20 64 65 66 20 3d 20 66 75 6e 63 74 69 6f 6e 28 61 54 68 72 65 73 68 6f | .....let.def.=.function(aThresho |
25be0 | 6c 64 2c 20 61 4c 61 74 63 68 65 64 29 0a 20 20 20 20 20 20 28 7b 20 74 68 72 65 73 68 6f 6c 64 | ld,.aLatched).......({.threshold |
25c00 | 3a 20 61 54 68 72 65 73 68 6f 6c 64 2c 20 6c 61 74 63 68 65 64 3a 20 21 21 61 4c 61 74 63 68 65 | :.aThreshold,.latched:.!!aLatche |
25c20 | 64 20 7d 29 3b 0a 0a 20 20 20 20 73 77 69 74 63 68 20 28 61 45 76 65 6e 74 2e 74 79 70 65 29 20 | d.});......switch.(aEvent.type). |
25c40 | 7b 0a 20 20 20 20 20 20 63 61 73 65 20 22 4d 6f 7a 53 77 69 70 65 47 65 73 74 75 72 65 22 3a 0a | {.......case."MozSwipeGesture":. |
25c60 | 20 20 20 20 20 20 20 20 61 45 76 65 6e 74 2e 70 72 65 76 65 6e 74 44 65 66 61 75 6c 74 28 29 3b | ........aEvent.preventDefault(); |
25c80 | 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 6f 6e 53 77 69 70 65 28 61 45 76 | .........return.this.onSwipe(aEv |
25ca0 | 65 6e 74 29 3b 0a 20 20 20 20 20 20 63 61 73 65 20 22 4d 6f 7a 4d 61 67 6e 69 66 79 47 65 73 74 | ent);.......case."MozMagnifyGest |
25cc0 | 75 72 65 53 74 61 72 74 22 3a 0a 20 20 20 20 20 20 20 20 61 45 76 65 6e 74 2e 70 72 65 76 65 6e | ureStart":.........aEvent.preven |
25ce0 | 74 44 65 66 61 75 6c 74 28 29 3b 0a 2f 2f 40 6c 69 6e 65 20 37 33 37 20 22 2f 62 75 69 6c 64 73 | tDefault();.//@line.737."/builds |
25d00 | 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 | /moz2_slave/linux_build/build/br |
25d20 | 6f 77 73 65 72 2f 62 61 73 65 2f 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2e 6a 73 22 0a 20 | owser/base/content/browser.js".. |
25d40 | 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 73 65 74 75 70 47 65 73 74 75 72 65 | .......return.this._setupGesture |
25d60 | 28 61 45 76 65 6e 74 2c 20 22 70 69 6e 63 68 22 2c 20 64 65 66 28 31 35 30 2c 20 31 29 2c 20 22 | (aEvent,."pinch",.def(150,.1),." |
25d80 | 6f 75 74 22 2c 20 22 69 6e 22 29 3b 0a 2f 2f 40 6c 69 6e 65 20 37 33 39 20 22 2f 62 75 69 6c 64 | out",."in");.//@line.739."/build |
25da0 | 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 | s/moz2_slave/linux_build/build/b |
25dc0 | 72 6f 77 73 65 72 2f 62 61 73 65 2f 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2e 6a 73 22 0a | rowser/base/content/browser.js". |
25de0 | 20 20 20 20 20 20 63 61 73 65 20 22 4d 6f 7a 52 6f 74 61 74 65 47 65 73 74 75 72 65 53 74 61 72 | ......case."MozRotateGestureStar |
25e00 | 74 22 3a 0a 20 20 20 20 20 20 20 20 61 45 76 65 6e 74 2e 70 72 65 76 65 6e 74 44 65 66 61 75 6c | t":.........aEvent.preventDefaul |
25e20 | 74 28 29 3b 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 73 65 74 75 70 47 | t();.........return.this._setupG |
25e40 | 65 73 74 75 72 65 28 61 45 76 65 6e 74 2c 20 22 74 77 69 73 74 22 2c 20 64 65 66 28 32 35 2c 20 | esture(aEvent,."twist",.def(25,. |
25e60 | 30 29 2c 20 22 72 69 67 68 74 22 2c 20 22 6c 65 66 74 22 29 3b 0a 20 20 20 20 20 20 63 61 73 65 | 0),."right",."left");.......case |
25e80 | 20 22 4d 6f 7a 4d 61 67 6e 69 66 79 47 65 73 74 75 72 65 55 70 64 61 74 65 22 3a 0a 20 20 20 20 | ."MozMagnifyGestureUpdate":..... |
25ea0 | 20 20 63 61 73 65 20 22 4d 6f 7a 52 6f 74 61 74 65 47 65 73 74 75 72 65 55 70 64 61 74 65 22 3a | ..case."MozRotateGestureUpdate": |
25ec0 | 0a 20 20 20 20 20 20 20 20 61 45 76 65 6e 74 2e 70 72 65 76 65 6e 74 44 65 66 61 75 6c 74 28 29 | .........aEvent.preventDefault() |
25ee0 | 3b 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 64 6f 55 70 64 61 74 65 28 | ;.........return.this._doUpdate( |
25f00 | 61 45 76 65 6e 74 29 3b 0a 20 20 20 20 20 20 63 61 73 65 20 22 4d 6f 7a 54 61 70 47 65 73 74 75 | aEvent);.......case."MozTapGestu |
25f20 | 72 65 22 3a 0a 20 20 20 20 20 20 20 20 61 45 76 65 6e 74 2e 70 72 65 76 65 6e 74 44 65 66 61 75 | re":.........aEvent.preventDefau |
25f40 | 6c 74 28 29 3b 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 64 6f 41 63 74 | lt();.........return.this._doAct |
25f60 | 69 6f 6e 28 61 45 76 65 6e 74 2c 20 5b 22 74 61 70 22 5d 29 3b 0a 20 20 20 20 20 20 63 61 73 65 | ion(aEvent,.["tap"]);.......case |
25f80 | 20 22 4d 6f 7a 50 72 65 73 73 54 61 70 47 65 73 74 75 72 65 22 3a 0a 20 20 20 20 20 20 2f 2f 20 | ."MozPressTapGesture":.......//. |
25fa0 | 46 61 6c 6c 20 74 68 72 6f 75 67 68 20 74 6f 20 64 65 66 61 75 6c 74 20 62 65 68 61 76 69 6f 72 | Fall.through.to.default.behavior |
25fc0 | 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a | .......return;.....}...},..../** |
25fe0 | 0a 20 20 20 2a 20 43 61 6c 6c 65 64 20 61 74 20 74 68 65 20 73 74 61 72 74 20 6f 66 20 22 70 69 | ....*.Called.at.the.start.of."pi |
26000 | 6e 63 68 22 20 61 6e 64 20 22 74 77 69 73 74 22 20 67 65 73 74 75 72 65 73 20 74 6f 20 73 65 74 | nch".and."twist".gestures.to.set |
26020 | 75 70 20 61 6c 6c 20 6f 66 20 74 68 65 0a 20 20 20 2a 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 20 6e | up.all.of.the....*.information.n |
26040 | 65 65 64 65 64 20 74 6f 20 70 72 6f 63 65 73 73 20 74 68 65 20 67 65 73 74 75 72 65 0a 20 20 20 | eeded.to.process.the.gesture.... |
26060 | 2a 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 61 45 76 65 6e 74 0a 20 20 20 2a 20 20 20 20 20 20 20 | *....*.@param.aEvent....*....... |
26080 | 20 54 68 65 20 63 6f 6e 74 69 6e 75 61 6c 20 6d 6f 74 69 6f 6e 20 73 74 61 72 74 20 65 76 65 6e | .The.continual.motion.start.even |
260a0 | 74 20 74 6f 20 68 61 6e 64 6c 65 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 61 47 65 73 74 75 72 65 | t.to.handle....*.@param.aGesture |
260c0 | 0a 20 20 20 2a 20 20 20 20 20 20 20 20 4e 61 6d 65 20 6f 66 20 74 68 65 20 67 65 73 74 75 72 65 | ....*........Name.of.the.gesture |
260e0 | 20 74 6f 20 68 61 6e 64 6c 65 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 61 50 72 65 66 0a 20 20 20 | .to.handle....*.@param.aPref.... |
26100 | 2a 20 20 20 20 20 20 20 20 50 72 65 66 65 72 65 6e 63 65 20 6f 62 6a 65 63 74 20 77 69 74 68 20 | *........Preference.object.with. |
26120 | 74 68 65 20 6e 61 6d 65 73 20 6f 66 20 70 72 65 66 65 72 65 6e 63 65 73 20 61 6e 64 20 64 65 66 | the.names.of.preferences.and.def |
26140 | 61 75 6c 74 73 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 61 49 6e 63 0a 20 20 20 2a 20 20 20 20 20 | aults....*.@param.aInc....*..... |
26160 | 20 20 20 43 6f 6d 6d 61 6e 64 20 74 6f 20 74 72 69 67 67 65 72 20 66 6f 72 20 69 6e 63 72 65 61 | ...Command.to.trigger.for.increa |
26180 | 73 69 6e 67 20 6d 6f 74 69 6f 6e 20 28 77 69 74 68 6f 75 74 20 67 65 73 74 75 72 65 20 6e 61 6d | sing.motion.(without.gesture.nam |
261a0 | 65 29 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 61 44 65 63 0a 20 20 20 2a 20 20 20 20 20 20 20 20 | e)....*.@param.aDec....*........ |
261c0 | 43 6f 6d 6d 61 6e 64 20 74 6f 20 74 72 69 67 67 65 72 20 66 6f 72 20 64 65 63 72 65 61 73 69 6e | Command.to.trigger.for.decreasin |
261e0 | 67 20 6d 6f 74 69 6f 6e 20 28 77 69 74 68 6f 75 74 20 67 65 73 74 75 72 65 20 6e 61 6d 65 29 0a | g.motion.(without.gesture.name). |
26200 | 20 20 20 2a 2f 0a 20 20 5f 73 65 74 75 70 47 65 73 74 75 72 65 3a 20 66 75 6e 63 74 69 6f 6e 20 | ...*/..._setupGesture:.function. |
26220 | 47 53 5f 5f 73 65 74 75 70 47 65 73 74 75 72 65 28 61 45 76 65 6e 74 2c 20 61 47 65 73 74 75 72 | GS__setupGesture(aEvent,.aGestur |
26240 | 65 2c 20 61 50 72 65 66 2c 20 61 49 6e 63 2c 20 61 44 65 63 29 20 7b 0a 20 20 20 20 2f 2f 20 54 | e,.aPref,.aInc,.aDec).{.....//.T |
26260 | 72 79 20 74 6f 20 6c 6f 61 64 20 75 73 65 72 2d 73 65 74 20 76 61 6c 75 65 73 20 66 72 6f 6d 20 | ry.to.load.user-set.values.from. |
26280 | 70 72 65 66 65 72 65 6e 63 65 73 0a 20 20 20 20 66 6f 72 20 28 6c 65 74 20 5b 70 72 65 66 2c 20 | preferences.....for.(let.[pref,. |
262a0 | 64 65 66 5d 20 69 6e 20 49 74 65 72 61 74 6f 72 28 61 50 72 65 66 29 29 0a 20 20 20 20 20 20 61 | def].in.Iterator(aPref)).......a |
262c0 | 50 72 65 66 5b 70 72 65 66 5d 20 3d 20 74 68 69 73 2e 5f 67 65 74 50 72 65 66 28 61 47 65 73 74 | Pref[pref].=.this._getPref(aGest |
262e0 | 75 72 65 20 2b 20 22 2e 22 20 2b 20 70 72 65 66 2c 20 64 65 66 29 3b 0a 0a 20 20 20 20 2f 2f 20 | ure.+.".".+.pref,.def);......//. |
26300 | 4b 65 65 70 20 74 72 61 63 6b 20 6f 66 20 74 68 65 20 74 6f 74 61 6c 20 64 65 6c 74 61 73 20 61 | Keep.track.of.the.total.deltas.a |
26320 | 6e 64 20 6c 61 74 63 68 69 6e 67 20 62 65 68 61 76 69 6f 72 0a 20 20 20 20 6c 65 74 20 6f 66 66 | nd.latching.behavior.....let.off |
26340 | 73 65 74 20 3d 20 30 3b 0a 20 20 20 20 6c 65 74 20 6c 61 74 63 68 44 69 72 20 3d 20 61 45 76 65 | set.=.0;.....let.latchDir.=.aEve |
26360 | 6e 74 2e 64 65 6c 74 61 20 3e 20 30 20 3f 20 31 20 3a 20 2d 31 3b 0a 20 20 20 20 6c 65 74 20 69 | nt.delta.>.0.?.1.:.-1;.....let.i |
26380 | 73 4c 61 74 63 68 65 64 20 3d 20 66 61 6c 73 65 3b 0a 0a 20 20 20 20 2f 2f 20 43 72 65 61 74 65 | sLatched.=.false;......//.Create |
263a0 | 20 74 68 65 20 75 70 64 61 74 65 20 66 75 6e 63 74 69 6f 6e 20 68 65 72 65 20 74 6f 20 63 61 70 | .the.update.function.here.to.cap |
263c0 | 74 75 72 65 20 63 6c 6f 73 75 72 65 20 73 74 61 74 65 0a 20 20 20 20 74 68 69 73 2e 5f 64 6f 55 | ture.closure.state.....this._doU |
263e0 | 70 64 61 74 65 20 3d 20 66 75 6e 63 74 69 6f 6e 20 47 53 5f 5f 64 6f 55 70 64 61 74 65 28 61 45 | pdate.=.function.GS__doUpdate(aE |
26400 | 76 65 6e 74 29 20 7b 0a 20 20 20 20 20 20 2f 2f 20 55 70 64 61 74 65 20 74 68 65 20 6f 66 66 73 | vent).{.......//.Update.the.offs |
26420 | 65 74 20 77 69 74 68 20 6e 65 77 20 65 76 65 6e 74 20 64 61 74 61 0a 20 20 20 20 20 20 6f 66 66 | et.with.new.event.data.......off |
26440 | 73 65 74 20 2b 3d 20 61 45 76 65 6e 74 2e 64 65 6c 74 61 3b 0a 0a 20 20 20 20 20 20 2f 2f 20 43 | set.+=.aEvent.delta;........//.C |
26460 | 68 65 63 6b 20 69 66 20 74 68 65 20 63 75 6d 75 6c 61 74 69 76 65 20 64 65 6c 74 61 73 20 65 78 | heck.if.the.cumulative.deltas.ex |
26480 | 63 65 65 64 20 74 68 65 20 74 68 72 65 73 68 6f 6c 64 0a 20 20 20 20 20 20 69 66 20 28 4d 61 74 | ceed.the.threshold.......if.(Mat |
264a0 | 68 2e 61 62 73 28 6f 66 66 73 65 74 29 20 3e 20 61 50 72 65 66 5b 22 74 68 72 65 73 68 6f 6c 64 | h.abs(offset).>.aPref["threshold |
264c0 | 22 5d 29 20 7b 0a 20 20 20 20 20 20 20 20 2f 2f 20 54 72 69 67 67 65 72 20 74 68 65 20 61 63 74 | "]).{.........//.Trigger.the.act |
264e0 | 69 6f 6e 20 69 66 20 77 65 20 64 6f 6e 27 74 20 63 61 72 65 20 61 62 6f 75 74 20 6c 61 74 63 68 | ion.if.we.don't.care.about.latch |
26500 | 69 6e 67 3b 20 6f 74 68 65 72 77 69 73 65 2c 20 6d 61 6b 65 0a 20 20 20 20 20 20 20 20 2f 2f 20 | ing;.otherwise,.make.........//. |
26520 | 73 75 72 65 20 65 69 74 68 65 72 20 77 65 27 72 65 20 6e 6f 74 20 6c 61 74 63 68 65 64 20 61 6e | sure.either.we're.not.latched.an |
26540 | 64 20 67 6f 69 6e 67 20 74 68 65 20 73 61 6d 65 20 64 69 72 65 63 74 69 6f 6e 20 6f 66 20 74 68 | d.going.the.same.direction.of.th |
26560 | 65 0a 20 20 20 20 20 20 20 20 2f 2f 20 69 6e 69 74 69 61 6c 20 6d 6f 74 69 6f 6e 3b 20 6f 72 20 | e.........//.initial.motion;.or. |
26580 | 77 65 27 72 65 20 6c 61 74 63 68 65 64 20 61 6e 64 20 67 6f 69 6e 67 20 74 68 65 20 6f 70 70 6f | we're.latched.and.going.the.oppo |
265a0 | 73 69 74 65 20 77 61 79 0a 20 20 20 20 20 20 20 20 6c 65 74 20 73 61 6d 65 44 69 72 20 3d 20 28 | site.way.........let.sameDir.=.( |
265c0 | 6c 61 74 63 68 44 69 72 20 5e 20 6f 66 66 73 65 74 29 20 3e 3d 20 30 3b 0a 20 20 20 20 20 20 20 | latchDir.^.offset).>=.0;........ |
265e0 | 20 69 66 20 28 21 61 50 72 65 66 5b 22 6c 61 74 63 68 65 64 22 5d 20 7c 7c 20 28 69 73 4c 61 74 | .if.(!aPref["latched"].||.(isLat |
26600 | 63 68 65 64 20 5e 20 73 61 6d 65 44 69 72 29 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 | ched.^.sameDir)).{...........thi |
26620 | 73 2e 5f 64 6f 41 63 74 69 6f 6e 28 61 45 76 65 6e 74 2c 20 5b 61 47 65 73 74 75 72 65 2c 20 6f | s._doAction(aEvent,.[aGesture,.o |
26640 | 66 66 73 65 74 20 3e 20 30 20 3f 20 61 49 6e 63 20 3a 20 61 44 65 63 5d 29 3b 0a 0a 20 20 20 20 | ffset.>.0.?.aInc.:.aDec]);...... |
26660 | 20 20 20 20 20 20 2f 2f 20 57 65 20 6d 75 73 74 20 62 65 20 67 65 74 74 69 6e 67 20 6c 61 74 63 | ......//.We.must.be.getting.latc |
26680 | 68 65 64 20 6f 72 20 6c 65 61 76 69 6e 67 20 69 74 2c 20 73 6f 20 6a 75 73 74 20 74 6f 67 67 6c | hed.or.leaving.it,.so.just.toggl |
266a0 | 65 0a 20 20 20 20 20 20 20 20 20 20 69 73 4c 61 74 63 68 65 64 20 3d 20 21 69 73 4c 61 74 63 68 | e...........isLatched.=.!isLatch |
266c0 | 65 64 3b 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 2f 2f 20 52 65 73 65 74 20 | ed;.........}..........//.Reset. |
266e0 | 6d 6f 74 69 6f 6e 20 63 6f 75 6e 74 65 72 20 74 6f 20 70 72 65 70 61 72 65 20 66 6f 72 20 6d 6f | motion.counter.to.prepare.for.mo |
26700 | 72 65 20 6f 66 20 74 68 65 20 73 61 6d 65 20 67 65 73 74 75 72 65 0a 20 20 20 20 20 20 20 20 6f | re.of.the.same.gesture.........o |
26720 | 66 66 73 65 74 20 3d 20 30 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 3b 0a 0a 20 20 20 20 2f | ffset.=.0;.......}.....};....../ |
26740 | 2f 20 54 68 65 20 73 74 61 72 74 20 65 76 65 6e 74 20 61 6c 73 6f 20 63 6f 6e 74 61 69 6e 73 20 | /.The.start.event.also.contains. |
26760 | 64 65 6c 74 61 73 2c 20 73 6f 20 68 61 6e 64 6c 65 20 61 6e 20 75 70 64 61 74 65 20 72 69 67 68 | deltas,.so.handle.an.update.righ |
26780 | 74 20 61 77 61 79 0a 20 20 20 20 74 68 69 73 2e 5f 64 6f 55 70 64 61 74 65 28 61 45 76 65 6e 74 | t.away.....this._doUpdate(aEvent |
267a0 | 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 47 65 6e 65 72 61 74 6f 72 20 70 72 | );...},..../**....*.Generator.pr |
267c0 | 6f 64 75 63 69 6e 67 20 74 68 65 20 70 6f 77 65 72 73 65 74 20 6f 66 20 74 68 65 20 69 6e 70 75 | oducing.the.powerset.of.the.inpu |
267e0 | 74 20 61 72 72 61 79 20 77 68 65 72 65 20 74 68 65 20 66 69 72 73 74 20 72 65 73 75 6c 74 0a 20 | t.array.where.the.first.result.. |
26800 | 20 20 2a 20 69 73 20 74 68 65 20 63 6f 6d 70 6c 65 74 65 20 73 65 74 20 61 6e 64 20 74 68 65 20 | ..*.is.the.complete.set.and.the. |
26820 | 6c 61 73 74 20 72 65 73 75 6c 74 20 28 62 65 66 6f 72 65 20 53 74 6f 70 49 74 65 72 61 74 69 6f | last.result.(before.StopIteratio |
26840 | 6e 29 20 69 73 20 65 6d 70 74 79 2e 0a 20 20 20 2a 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 61 41 | n).is.empty.....*....*.@param.aA |
26860 | 72 72 61 79 0a 20 20 20 2a 20 20 20 20 20 20 20 20 53 6f 75 72 63 65 20 61 72 72 61 79 20 63 6f | rray....*........Source.array.co |
26880 | 6e 74 61 69 6e 69 6e 67 20 61 6e 79 20 6e 75 6d 62 65 72 20 6f 66 20 65 6c 65 6d 65 6e 74 73 0a | ntaining.any.number.of.elements. |
268a0 | 20 20 20 2a 20 40 79 69 65 6c 64 20 41 72 72 61 79 20 74 68 61 74 20 69 73 20 61 20 73 75 62 73 | ...*.@yield.Array.that.is.a.subs |
268c0 | 65 74 20 6f 66 20 74 68 65 20 69 6e 70 75 74 20 61 72 72 61 79 20 66 72 6f 6d 20 66 75 6c 6c 20 | et.of.the.input.array.from.full. |
268e0 | 73 65 74 20 74 6f 20 65 6d 70 74 79 0a 20 20 20 2a 2f 0a 20 20 5f 70 6f 77 65 72 3a 20 66 75 6e | set.to.empty....*/..._power:.fun |
26900 | 63 74 69 6f 6e 20 47 53 5f 5f 70 6f 77 65 72 28 61 41 72 72 61 79 29 20 7b 0a 20 20 20 20 2f 2f | ction.GS__power(aArray).{.....// |
26920 | 20 43 72 65 61 74 65 20 61 20 62 69 74 6d 61 73 6b 20 62 61 73 65 64 20 6f 6e 20 74 68 65 20 6c | .Create.a.bitmask.based.on.the.l |
26940 | 65 6e 67 74 68 20 6f 66 20 74 68 65 20 61 72 72 61 79 0a 20 20 20 20 6c 65 74 20 6e 75 6d 20 3d | ength.of.the.array.....let.num.= |
26960 | 20 31 20 3c 3c 20 61 41 72 72 61 79 2e 6c 65 6e 67 74 68 3b 0a 20 20 20 20 77 68 69 6c 65 20 28 | .1.<<.aArray.length;.....while.( |
26980 | 2d 2d 6e 75 6d 20 3e 3d 20 30 29 0a 20 20 20 20 20 20 2f 2f 20 4f 6e 6c 79 20 73 65 6c 65 63 74 | --num.>=.0).......//.Only.select |
269a0 | 20 61 72 72 61 79 20 65 6c 65 6d 65 6e 74 73 20 77 68 65 72 65 20 74 68 65 20 63 75 72 72 65 6e | .array.elements.where.the.curren |
269c0 | 74 20 62 69 74 20 69 73 20 73 65 74 0a 20 20 20 20 20 20 79 69 65 6c 64 20 61 41 72 72 61 79 2e | t.bit.is.set.......yield.aArray. |
269e0 | 72 65 64 75 63 65 28 66 75 6e 63 74 69 6f 6e 28 61 50 72 65 76 2c 20 61 43 75 72 72 2c 20 61 49 | reduce(function(aPrev,.aCurr,.aI |
26a00 | 6e 64 65 78 29 20 7b 0a 20 20 20 20 20 20 20 20 69 66 20 28 6e 75 6d 20 26 20 31 20 3c 3c 20 61 | ndex).{.........if.(num.&.1.<<.a |
26a20 | 49 6e 64 65 78 29 0a 20 20 20 20 20 20 20 20 20 20 61 50 72 65 76 2e 70 75 73 68 28 61 43 75 72 | Index)...........aPrev.push(aCur |
26a40 | 72 29 3b 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 61 50 72 65 76 3b 0a 20 20 20 20 20 20 | r);.........return.aPrev;....... |
26a60 | 7d 2c 20 5b 5d 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 44 65 74 65 72 6d 69 | },.[]);...},..../**....*.Determi |
26a80 | 6e 65 20 77 68 61 74 20 61 63 74 69 6f 6e 20 74 6f 20 64 6f 20 66 6f 72 20 74 68 65 20 67 65 73 | ne.what.action.to.do.for.the.ges |
26aa0 | 74 75 72 65 20 62 61 73 65 64 20 6f 6e 20 77 68 69 63 68 20 6b 65 79 73 20 61 72 65 0a 20 20 20 | ture.based.on.which.keys.are.... |
26ac0 | 2a 20 70 72 65 73 73 65 64 20 61 6e 64 20 77 68 69 63 68 20 63 6f 6d 6d 61 6e 64 73 20 61 72 65 | *.pressed.and.which.commands.are |
26ae0 | 20 73 65 74 0a 20 20 20 2a 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 61 45 76 65 6e 74 0a 20 20 20 | .set....*....*.@param.aEvent.... |
26b00 | 2a 20 20 20 20 20 20 20 20 54 68 65 20 6f 72 69 67 69 6e 61 6c 20 67 65 73 74 75 72 65 20 65 76 | *........The.original.gesture.ev |
26b20 | 65 6e 74 20 74 6f 20 63 6f 6e 76 65 72 74 20 69 6e 74 6f 20 61 20 66 61 6b 65 20 63 6c 69 63 6b | ent.to.convert.into.a.fake.click |
26b40 | 20 65 76 65 6e 74 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 61 47 65 73 74 75 72 65 0a 20 20 20 2a | .event....*.@param.aGesture....* |
26b60 | 20 20 20 20 20 20 20 20 41 72 72 61 79 20 6f 66 20 67 65 73 74 75 72 65 20 6e 61 6d 65 20 70 61 | ........Array.of.gesture.name.pa |
26b80 | 72 74 73 20 28 74 6f 20 62 65 20 6a 6f 69 6e 65 64 20 62 79 20 70 65 72 69 6f 64 73 29 0a 20 20 | rts.(to.be.joined.by.periods)... |
26ba0 | 20 2a 20 40 72 65 74 75 72 6e 20 4e 61 6d 65 20 6f 66 20 74 68 65 20 63 6f 6d 6d 61 6e 64 20 66 | .*.@return.Name.of.the.command.f |
26bc0 | 6f 75 6e 64 20 66 6f 72 20 74 68 65 20 65 76 65 6e 74 27 73 20 6b 65 79 73 20 61 6e 64 20 67 65 | ound.for.the.event's.keys.and.ge |
26be0 | 73 74 75 72 65 2e 20 49 66 20 6e 6f 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 63 6f 6d 6d 61 6e | sture..If.no....*.........comman |
26c00 | 64 20 69 73 20 66 6f 75 6e 64 2c 20 6e 6f 20 76 61 6c 75 65 20 69 73 20 72 65 74 75 72 6e 65 64 | d.is.found,.no.value.is.returned |
26c20 | 20 28 75 6e 64 65 66 69 6e 65 64 29 2e 0a 20 20 20 2a 2f 0a 20 20 5f 64 6f 41 63 74 69 6f 6e 3a | .(undefined).....*/..._doAction: |
26c40 | 20 66 75 6e 63 74 69 6f 6e 20 47 53 5f 5f 64 6f 41 63 74 69 6f 6e 28 61 45 76 65 6e 74 2c 20 61 | .function.GS__doAction(aEvent,.a |
26c60 | 47 65 73 74 75 72 65 29 20 7b 0a 20 20 20 20 2f 2f 20 43 72 65 61 74 65 20 61 20 66 61 6b 65 20 | Gesture).{.....//.Create.a.fake. |
26c80 | 65 76 65 6e 74 20 74 68 61 74 20 70 72 65 74 65 6e 64 73 20 74 68 65 20 67 65 73 74 75 72 65 20 | event.that.pretends.the.gesture. |
26ca0 | 69 73 20 61 20 62 75 74 74 6f 6e 20 63 6c 69 63 6b 0a 20 20 20 20 6c 65 74 20 66 61 6b 65 45 76 | is.a.button.click.....let.fakeEv |
26cc0 | 65 6e 74 20 3d 20 7b 20 73 68 69 66 74 4b 65 79 3a 20 61 45 76 65 6e 74 2e 73 68 69 66 74 4b 65 | ent.=.{.shiftKey:.aEvent.shiftKe |
26ce0 | 79 2c 20 63 74 72 6c 4b 65 79 3a 20 61 45 76 65 6e 74 2e 63 74 72 6c 4b 65 79 2c 0a 20 20 20 20 | y,.ctrlKey:.aEvent.ctrlKey,..... |
26d00 | 20 20 6d 65 74 61 4b 65 79 3a 20 61 45 76 65 6e 74 2e 6d 65 74 61 4b 65 79 2c 20 61 6c 74 4b 65 | ..metaKey:.aEvent.metaKey,.altKe |
26d20 | 79 3a 20 61 45 76 65 6e 74 2e 61 6c 74 4b 65 79 2c 20 62 75 74 74 6f 6e 3a 20 30 20 7d 3b 0a 0a | y:.aEvent.altKey,.button:.0.};.. |
26d40 | 20 20 20 20 2f 2f 20 43 72 65 61 74 65 20 61 6e 20 61 72 72 61 79 20 6f 66 20 70 72 65 73 73 65 | ....//.Create.an.array.of.presse |
26d60 | 64 20 6b 65 79 73 20 69 6e 20 61 20 66 69 78 65 64 20 6f 72 64 65 72 20 73 6f 20 74 68 61 74 20 | d.keys.in.a.fixed.order.so.that. |
26d80 | 61 20 63 6f 6d 6d 61 6e 64 20 66 6f 72 0a 20 20 20 20 2f 2f 20 22 6d 65 74 61 22 20 69 73 20 70 | a.command.for.....//."meta".is.p |
26da0 | 72 65 66 65 72 72 65 64 20 6f 76 65 72 20 22 63 74 72 6c 22 20 77 68 65 6e 20 62 6f 74 68 20 62 | referred.over."ctrl".when.both.b |
26dc0 | 75 74 74 6f 6e 73 20 61 72 65 20 70 72 65 73 73 65 64 20 28 61 6e 64 20 61 0a 20 20 20 20 2f 2f | uttons.are.pressed.(and.a.....// |
26de0 | 20 63 6f 6d 6d 61 6e 64 20 66 6f 72 20 62 6f 74 68 20 64 6f 6e 27 74 20 65 78 69 73 74 29 0a 20 | .command.for.both.don't.exist).. |
26e00 | 20 20 20 6c 65 74 20 6b 65 79 43 6f 6d 62 6f 73 20 3d 20 5b 5d 3b 0a 20 20 20 20 63 6f 6e 73 74 | ...let.keyCombos.=.[];.....const |
26e20 | 20 6b 65 79 73 20 3d 20 5b 22 73 68 69 66 74 22 2c 20 22 61 6c 74 22 2c 20 22 63 74 72 6c 22 2c | .keys.=.["shift",."alt",."ctrl", |
26e40 | 20 22 6d 65 74 61 22 5d 3b 0a 20 20 20 20 66 6f 72 20 65 61 63 68 20 28 6c 65 74 20 6b 65 79 20 | ."meta"];.....for.each.(let.key. |
26e60 | 69 6e 20 6b 65 79 73 29 0a 20 20 20 20 20 20 69 66 20 28 61 45 76 65 6e 74 5b 6b 65 79 20 2b 20 | in.keys).......if.(aEvent[key.+. |
26e80 | 22 4b 65 79 22 5d 29 0a 20 20 20 20 20 20 20 20 6b 65 79 43 6f 6d 62 6f 73 2e 70 75 73 68 28 6b | "Key"]).........keyCombos.push(k |
26ea0 | 65 79 29 3b 0a 0a 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 2f 2f 20 54 72 79 20 65 61 63 | ey);......try.{.......//.Try.eac |
26ec0 | 68 20 63 6f 6d 62 69 6e 61 74 69 6f 6e 20 6f 66 20 6b 65 79 20 70 72 65 73 73 65 73 20 69 6e 20 | h.combination.of.key.presses.in. |
26ee0 | 64 65 63 72 65 61 73 69 6e 67 20 6f 72 64 65 72 20 66 6f 72 20 63 6f 6d 6d 61 6e 64 73 0a 20 20 | decreasing.order.for.commands... |
26f00 | 20 20 20 20 66 6f 72 20 28 6c 65 74 20 73 75 62 43 6f 6d 62 6f 20 69 6e 20 74 68 69 73 2e 5f 70 | ....for.(let.subCombo.in.this._p |
26f20 | 6f 77 65 72 28 6b 65 79 43 6f 6d 62 6f 73 29 29 20 7b 0a 20 20 20 20 20 20 20 20 2f 2f 20 43 6f | ower(keyCombos)).{.........//.Co |
26f40 | 6e 76 65 72 74 20 61 20 67 65 73 74 75 72 65 20 61 6e 64 20 70 72 65 73 73 65 64 20 6b 65 79 73 | nvert.a.gesture.and.pressed.keys |
26f60 | 20 69 6e 74 6f 20 74 68 65 20 63 6f 72 72 65 73 70 6f 6e 64 69 6e 67 20 63 6f 6d 6d 61 6e 64 0a | .into.the.corresponding.command. |
26f80 | 20 20 20 20 20 20 20 20 2f 2f 20 61 63 74 69 6f 6e 20 77 68 65 72 65 20 74 68 65 20 70 72 65 66 | ........//.action.where.the.pref |
26fa0 | 65 72 65 6e 63 65 20 68 61 73 20 74 68 65 20 67 65 73 74 75 72 65 20 62 65 66 6f 72 65 20 22 73 | erence.has.the.gesture.before."s |
26fc0 | 68 69 66 74 22 20 62 65 66 6f 72 65 0a 20 20 20 20 20 20 20 20 2f 2f 20 22 61 6c 74 22 20 62 65 | hift".before.........//."alt".be |
26fe0 | 66 6f 72 65 20 22 63 74 72 6c 22 20 62 65 66 6f 72 65 20 22 6d 65 74 61 22 20 61 6c 6c 20 73 65 | fore."ctrl".before."meta".all.se |
27000 | 70 61 72 61 74 65 64 20 62 79 20 70 65 72 69 6f 64 73 0a 20 20 20 20 20 20 20 20 6c 65 74 20 63 | parated.by.periods.........let.c |
27020 | 6f 6d 6d 61 6e 64 20 3d 20 74 68 69 73 2e 5f 67 65 74 50 72 65 66 28 61 47 65 73 74 75 72 65 2e | ommand.=.this._getPref(aGesture. |
27040 | 63 6f 6e 63 61 74 28 73 75 62 43 6f 6d 62 6f 29 2e 6a 6f 69 6e 28 22 2e 22 29 29 3b 0a 0a 20 20 | concat(subCombo).join("."));.... |
27060 | 20 20 20 20 20 20 2f 2f 20 44 6f 20 74 68 65 20 63 6f 6d 6d 61 6e 64 20 69 66 20 77 65 20 66 6f | ......//.Do.the.command.if.we.fo |
27080 | 75 6e 64 20 6f 6e 65 20 74 6f 20 64 6f 0a 20 20 20 20 20 20 20 20 69 66 20 28 63 6f 6d 6d 61 6e | und.one.to.do.........if.(comman |
270a0 | 64 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 6c 65 74 20 6e 6f 64 65 20 3d 20 64 6f 63 75 6d 65 | d).{...........let.node.=.docume |
270c0 | 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 63 6f 6d 6d 61 6e 64 29 3b 0a 20 20 20 20 | nt.getElementById(command);..... |
270e0 | 20 20 20 20 20 20 2f 2f 20 55 73 65 20 74 68 65 20 63 6f 6d 6d 61 6e 64 20 65 6c 65 6d 65 6e 74 | ......//.Use.the.command.element |
27100 | 20 69 66 20 69 74 20 65 78 69 73 74 73 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 6e 6f 64 65 | .if.it.exists...........if.(node |
27120 | 20 26 26 20 6e 6f 64 65 2e 68 61 73 41 74 74 72 69 62 75 74 65 28 22 6f 6e 63 6f 6d 6d 61 6e 64 | .&&.node.hasAttribute("oncommand |
27140 | 22 29 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 58 58 58 3a 20 55 73 65 20 6e 6f | ")).{.............//.XXX:.Use.no |
27160 | 64 65 2e 6f 6e 63 6f 6d 6d 61 6e 64 28 65 76 65 6e 74 29 20 6f 6e 63 65 20 62 75 67 20 32 34 36 | de.oncommand(event).once.bug.246 |
27180 | 37 32 30 20 69 73 20 66 69 78 65 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 6e 6f 64 | 720.is.fixed.............if.(nod |
271a0 | 65 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 64 69 73 61 62 6c 65 64 22 29 20 21 3d 20 22 74 | e.getAttribute("disabled").!=."t |
271c0 | 72 75 65 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 65 77 20 46 75 6e 63 74 69 6f 6e | rue")...............new.Function |
271e0 | 28 22 65 76 65 6e 74 22 2c 20 6e 6f 64 65 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 6f 6e 63 | ("event",.node.getAttribute("onc |
27200 | 6f 6d 6d 61 6e 64 22 29 29 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 6c 6c 28 | ommand"))..................call( |
27220 | 6e 6f 64 65 2c 20 66 61 6b 65 45 76 65 6e 74 29 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 | node,.fakeEvent);...........}... |
27240 | 20 20 20 20 20 20 20 20 2f 2f 20 4f 74 68 65 72 77 69 73 65 20 69 74 20 73 68 6f 75 6c 64 20 62 | ........//.Otherwise.it.should.b |
27260 | 65 20 61 20 22 73 74 61 6e 64 61 72 64 22 20 63 6f 6d 6d 61 6e 64 0a 20 20 20 20 20 20 20 20 20 | e.a."standard".command.......... |
27280 | 20 65 6c 73 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 67 6f 44 6f 43 6f 6d 6d 61 6e 64 28 63 6f | .else.............goDoCommand(co |
272a0 | 6d 6d 61 6e 64 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 63 6f 6d 6d 61 6e | mmand);............return.comman |
272c0 | 64 3b 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 20 20 20 20 2f | d;.........}.......}.....}...../ |
272e0 | 2f 20 54 68 65 20 67 65 6e 65 72 61 74 6f 72 20 72 61 6e 20 6f 75 74 20 6f 66 20 6b 65 79 20 63 | /.The.generator.ran.out.of.key.c |
27300 | 6f 6d 62 69 6e 61 74 69 6f 6e 73 2c 20 73 6f 20 6a 75 73 74 20 64 6f 20 6e 6f 74 68 69 6e 67 0a | ombinations,.so.just.do.nothing. |
27320 | 20 20 20 20 63 61 74 63 68 20 28 65 29 20 7b 7d 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 | ....catch.(e).{}...},..../**.... |
27340 | 2a 20 43 6f 6e 76 65 72 74 20 63 6f 6e 74 69 6e 75 61 6c 20 6d 6f 74 69 6f 6e 20 65 76 65 6e 74 | *.Convert.continual.motion.event |
27360 | 73 20 69 6e 74 6f 20 61 6e 20 61 63 74 69 6f 6e 20 69 66 20 69 74 20 65 78 63 65 65 64 73 20 61 | s.into.an.action.if.it.exceeds.a |
27380 | 20 74 68 72 65 73 68 6f 6c 64 0a 20 20 20 2a 20 69 6e 20 61 20 67 69 76 65 6e 20 64 69 72 65 63 | .threshold....*.in.a.given.direc |
273a0 | 74 69 6f 6e 2e 20 54 68 69 73 20 66 75 6e 63 74 69 6f 6e 20 77 69 6c 6c 20 62 65 20 73 65 74 20 | tion..This.function.will.be.set. |
273c0 | 62 79 20 5f 73 65 74 75 70 47 65 73 74 75 72 65 20 74 6f 0a 20 20 20 2a 20 63 61 70 74 75 72 65 | by._setupGesture.to....*.capture |
273e0 | 20 73 74 61 74 65 20 74 68 61 74 20 6e 65 65 64 73 20 74 6f 20 62 65 20 73 68 61 72 65 64 20 61 | .state.that.needs.to.be.shared.a |
27400 | 63 72 6f 73 73 20 6d 75 6c 74 69 70 6c 65 20 67 65 73 74 75 72 65 20 75 70 64 61 74 65 73 2e 0a | cross.multiple.gesture.updates.. |
27420 | 20 20 20 2a 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 61 45 76 65 6e 74 0a 20 20 20 2a 20 20 20 20 | ...*....*.@param.aEvent....*.... |
27440 | 20 20 20 20 54 68 65 20 63 6f 6e 74 69 6e 75 61 6c 20 6d 6f 74 69 6f 6e 20 75 70 64 61 74 65 20 | ....The.continual.motion.update. |
27460 | 65 76 65 6e 74 20 74 6f 20 68 61 6e 64 6c 65 0a 20 20 20 2a 2f 0a 20 20 5f 64 6f 55 70 64 61 74 | event.to.handle....*/..._doUpdat |
27480 | 65 3a 20 66 75 6e 63 74 69 6f 6e 28 61 45 76 65 6e 74 29 20 7b 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 | e:.function(aEvent).{},..../**.. |
274a0 | 20 20 2a 20 43 6f 6e 76 65 72 74 20 74 68 65 20 73 77 69 70 65 20 67 65 73 74 75 72 65 20 69 6e | ..*.Convert.the.swipe.gesture.in |
274c0 | 74 6f 20 61 20 62 72 6f 77 73 65 72 20 61 63 74 69 6f 6e 20 62 61 73 65 64 20 6f 6e 20 74 68 65 | to.a.browser.action.based.on.the |
274e0 | 20 64 69 72 65 63 74 69 6f 6e 0a 20 20 20 2a 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 61 45 76 65 | .direction....*....*.@param.aEve |
27500 | 6e 74 0a 20 20 20 2a 20 20 20 20 20 20 20 20 54 68 65 20 73 77 69 70 65 20 65 76 65 6e 74 20 74 | nt....*........The.swipe.event.t |
27520 | 6f 20 68 61 6e 64 6c 65 0a 20 20 20 2a 2f 0a 20 20 6f 6e 53 77 69 70 65 3a 20 66 75 6e 63 74 69 | o.handle....*/...onSwipe:.functi |
27540 | 6f 6e 20 47 53 5f 6f 6e 53 77 69 70 65 28 61 45 76 65 6e 74 29 20 7b 0a 20 20 20 20 2f 2f 20 46 | on.GS_onSwipe(aEvent).{.....//.F |
27560 | 69 67 75 72 65 20 6f 75 74 20 77 68 69 63 68 20 6f 6e 65 20 28 61 6e 64 20 6f 6e 6c 79 20 6f 6e | igure.out.which.one.(and.only.on |
27580 | 65 29 20 64 69 72 65 63 74 69 6f 6e 20 77 61 73 20 74 72 69 67 67 65 72 65 64 20 0a 20 20 20 20 | e).direction.was.triggered...... |
275a0 | 66 6f 72 20 65 61 63 68 20 28 6c 65 74 20 64 69 72 20 69 6e 20 5b 22 55 50 22 2c 20 22 52 49 47 | for.each.(let.dir.in.["UP",."RIG |
275c0 | 48 54 22 2c 20 22 44 4f 57 4e 22 2c 20 22 4c 45 46 54 22 5d 29 0a 20 20 20 20 20 20 69 66 20 28 | HT",."DOWN",."LEFT"]).......if.( |
275e0 | 61 45 76 65 6e 74 2e 64 69 72 65 63 74 69 6f 6e 20 3d 3d 20 61 45 76 65 6e 74 5b 22 44 49 52 45 | aEvent.direction.==.aEvent["DIRE |
27600 | 43 54 49 4f 4e 5f 22 20 2b 20 64 69 72 5d 29 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 | CTION_".+.dir]).........return.t |
27620 | 68 69 73 2e 5f 64 6f 41 63 74 69 6f 6e 28 61 45 76 65 6e 74 2c 20 5b 22 73 77 69 70 65 22 2c 20 | his._doAction(aEvent,.["swipe",. |
27640 | 64 69 72 2e 74 6f 4c 6f 77 65 72 43 61 73 65 28 29 5d 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a | dir.toLowerCase()]);...},..../** |
27660 | 0a 20 20 20 2a 20 47 65 74 20 61 20 67 65 73 74 75 72 65 20 70 72 65 66 65 72 65 6e 63 65 20 6f | ....*.Get.a.gesture.preference.o |
27680 | 72 20 75 73 65 20 61 20 64 65 66 61 75 6c 74 20 69 66 20 69 74 20 64 6f 65 73 6e 27 74 20 65 78 | r.use.a.default.if.it.doesn't.ex |
276a0 | 69 73 74 0a 20 20 20 2a 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 61 50 72 65 66 0a 20 20 20 2a 20 | ist....*....*.@param.aPref....*. |
276c0 | 20 20 20 20 20 20 20 4e 61 6d 65 20 6f 66 20 74 68 65 20 70 72 65 66 65 72 65 6e 63 65 20 74 6f | .......Name.of.the.preference.to |
276e0 | 20 6c 6f 61 64 20 75 6e 64 65 72 20 74 68 65 20 67 65 73 74 75 72 65 20 62 72 61 6e 63 68 0a 20 | .load.under.the.gesture.branch.. |
27700 | 20 20 2a 20 40 70 61 72 61 6d 20 61 44 65 66 0a 20 20 20 2a 20 20 20 20 20 20 20 20 44 65 66 61 | ..*.@param.aDef....*........Defa |
27720 | 75 6c 74 20 76 61 6c 75 65 20 69 66 20 74 68 65 20 70 72 65 66 65 72 65 6e 63 65 20 64 6f 65 73 | ult.value.if.the.preference.does |
27740 | 6e 27 74 20 65 78 69 73 74 0a 20 20 20 2a 2f 0a 20 20 5f 67 65 74 50 72 65 66 3a 20 66 75 6e 63 | n't.exist....*/..._getPref:.func |
27760 | 74 69 6f 6e 20 47 53 5f 5f 67 65 74 50 72 65 66 28 61 50 72 65 66 2c 20 61 44 65 66 29 20 7b 0a | tion.GS__getPref(aPref,.aDef).{. |
27780 | 20 20 20 20 2f 2f 20 50 72 65 66 65 72 65 6e 63 65 73 20 62 72 61 6e 63 68 20 75 6e 64 65 72 20 | ....//.Preferences.branch.under. |
277a0 | 77 68 69 63 68 20 61 6c 6c 20 67 65 73 74 75 72 65 73 20 70 72 65 66 65 72 65 6e 63 65 73 20 61 | which.all.gestures.preferences.a |
277c0 | 72 65 20 73 74 6f 72 65 64 0a 20 20 20 20 63 6f 6e 73 74 20 62 72 61 6e 63 68 20 3d 20 22 62 72 | re.stored.....const.branch.=."br |
277e0 | 6f 77 73 65 72 2e 67 65 73 74 75 72 65 2e 22 3b 0a 0a 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 | owser.gesture.";......try.{..... |
27800 | 20 20 2f 2f 20 44 65 74 65 72 6d 69 6e 65 20 77 68 61 74 20 74 79 70 65 20 6f 66 20 64 61 74 61 | ..//.Determine.what.type.of.data |
27820 | 20 74 6f 20 6c 6f 61 64 20 62 61 73 65 64 20 6f 6e 20 64 65 66 61 75 6c 74 20 76 61 6c 75 65 27 | .to.load.based.on.default.value' |
27840 | 73 20 74 79 70 65 0a 20 20 20 20 20 20 6c 65 74 20 74 79 70 65 20 3d 20 74 79 70 65 6f 66 20 61 | s.type.......let.type.=.typeof.a |
27860 | 44 65 66 3b 0a 20 20 20 20 20 20 6c 65 74 20 67 65 74 46 75 6e 63 20 3d 20 22 67 65 74 22 20 2b | Def;.......let.getFunc.=."get".+ |
27880 | 20 28 74 79 70 65 20 3d 3d 20 22 62 6f 6f 6c 65 61 6e 22 20 3f 20 22 42 6f 6f 6c 22 20 3a 20 0a | .(type.==."boolean".?."Bool".:.. |
278a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 79 70 | .............................typ |
278c0 | 65 20 3d 3d 20 22 6e 75 6d 62 65 72 22 20 3f 20 22 49 6e 74 22 20 3a 20 22 43 68 61 72 22 29 20 | e.==."number".?."Int".:."Char"). |
278e0 | 2b 20 22 50 72 65 66 22 3b 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 67 50 72 65 66 53 65 72 76 | +."Pref";.......return.gPrefServ |
27900 | 69 63 65 5b 67 65 74 46 75 6e 63 5d 28 62 72 61 6e 63 68 20 2b 20 61 50 72 65 66 29 3b 0a 20 20 | ice[getFunc](branch.+.aPref);... |
27920 | 20 20 7d 0a 20 20 20 20 63 61 74 63 68 20 28 65 29 20 7b 0a 20 20 20 20 20 20 72 65 74 75 72 6e | ..}.....catch.(e).{.......return |
27940 | 20 61 44 65 66 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 7d 3b 0a 0a 66 75 6e 63 74 69 6f 6e 20 42 | .aDef;.....}...},.};..function.B |
27960 | 72 6f 77 73 65 72 53 74 61 72 74 75 70 28 29 20 7b 0a 20 20 76 61 72 20 75 72 69 54 6f 4c 6f 61 | rowserStartup().{...var.uriToLoa |
27980 | 64 20 3d 20 6e 75 6c 6c 3b 0a 0a 20 20 2f 2f 20 77 69 6e 64 6f 77 2e 61 72 67 75 6d 65 6e 74 73 | d.=.null;....//.window.arguments |
279a0 | 5b 30 5d 3a 20 55 52 49 20 74 6f 20 6c 6f 61 64 20 28 73 74 72 69 6e 67 29 2c 20 6f 72 20 61 6e | [0]:.URI.to.load.(string),.or.an |
279c0 | 20 6e 73 49 53 75 70 70 6f 72 74 73 41 72 72 61 79 20 6f 66 0a 20 20 2f 2f 20 20 20 20 20 20 20 | .nsISupportsArray.of...//....... |
279e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 73 49 53 75 70 70 6f 72 74 73 53 74 72 69 6e 67 | ...............nsISupportsString |
27a00 | 73 20 74 6f 20 6c 6f 61 64 2c 20 6f 72 20 61 20 78 75 6c 3a 74 61 62 20 6f 66 0a 20 20 2f 2f 20 | s.to.load,.or.a.xul:tab.of...//. |
27a20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 20 74 61 62 62 72 6f 77 73 65 | .....................a.tabbrowse |
27a40 | 72 2c 20 77 68 69 63 68 20 77 69 6c 6c 20 62 65 20 72 65 70 6c 61 63 65 64 20 62 79 20 74 68 69 | r,.which.will.be.replaced.by.thi |
27a60 | 73 0a 20 20 2f 2f 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 77 69 6e 64 | s...//......................wind |
27a80 | 6f 77 20 28 66 6f 72 20 74 68 69 73 20 63 61 73 65 2c 20 61 6c 6c 20 6f 74 68 65 72 20 61 72 67 | ow.(for.this.case,.all.other.arg |
27aa0 | 75 6d 65 6e 74 73 20 61 72 65 0a 20 20 2f 2f 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | uments.are...//................. |
27ac0 | 20 20 20 20 20 69 67 6e 6f 72 65 64 29 2e 0a 20 20 2f 2f 20 20 20 20 20 20 20 20 20 20 20 20 20 | .....ignored)....//............. |
27ae0 | 20 20 20 20 5b 31 5d 3a 20 63 68 61 72 61 63 74 65 72 20 73 65 74 20 28 73 74 72 69 6e 67 29 0a | ....[1]:.character.set.(string). |
27b00 | 20 20 2f 2f 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 5b 32 5d 3a 20 72 65 66 65 72 72 | ..//.................[2]:.referr |
27b20 | 65 72 20 28 6e 73 49 55 52 49 29 0a 20 20 2f 2f 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | er.(nsIURI)...//................ |
27b40 | 20 5b 33 5d 3a 20 70 6f 73 74 44 61 74 61 20 28 6e 73 49 49 6e 70 75 74 53 74 72 65 61 6d 29 0a | .[3]:.postData.(nsIInputStream). |
27b60 | 20 20 2f 2f 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 5b 34 5d 3a 20 61 6c 6c 6f 77 54 | ..//.................[4]:.allowT |
27b80 | 68 69 72 64 50 61 72 74 79 46 69 78 75 70 20 28 62 6f 6f 6c 29 0a 20 20 69 66 20 28 22 61 72 67 | hirdPartyFixup.(bool)...if.("arg |
27ba0 | 75 6d 65 6e 74 73 22 20 69 6e 20 77 69 6e 64 6f 77 20 26 26 20 77 69 6e 64 6f 77 2e 61 72 67 75 | uments".in.window.&&.window.argu |
27bc0 | 6d 65 6e 74 73 5b 30 5d 29 0a 20 20 20 20 75 72 69 54 6f 4c 6f 61 64 20 3d 20 77 69 6e 64 6f 77 | ments[0]).....uriToLoad.=.window |
27be0 | 2e 61 72 67 75 6d 65 6e 74 73 5b 30 5d 3b 0a 0a 20 20 76 61 72 20 69 73 4c 6f 61 64 69 6e 67 42 | .arguments[0];....var.isLoadingB |
27c00 | 6c 61 6e 6b 20 3d 20 75 72 69 54 6f 4c 6f 61 64 20 3d 3d 20 22 61 62 6f 75 74 3a 62 6c 61 6e 6b | lank.=.uriToLoad.==."about:blank |
27c20 | 22 3b 0a 20 20 76 61 72 20 6d 75 73 74 4c 6f 61 64 53 69 64 65 62 61 72 20 3d 20 66 61 6c 73 65 | ";...var.mustLoadSidebar.=.false |
27c40 | 3b 0a 0a 20 20 70 72 65 70 61 72 65 46 6f 72 53 74 61 72 74 75 70 28 29 3b 0a 0a 2f 2f 40 6c 69 | ;....prepareForStartup();..//@li |
27c60 | 6e 65 20 39 35 34 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 | ne.954."/builds/moz2_slave/linux |
27c80 | 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 62 61 73 65 2f 63 6f 6e 74 65 6e | _build/build/browser/base/conten |
27ca0 | 74 2f 62 72 6f 77 73 65 72 2e 6a 73 22 0a 20 20 69 66 20 28 75 72 69 54 6f 4c 6f 61 64 20 26 26 | t/browser.js"...if.(uriToLoad.&& |
27cc0 | 20 21 69 73 4c 6f 61 64 69 6e 67 42 6c 61 6e 6b 29 20 7b 20 0a 20 20 20 20 69 66 20 28 75 72 69 | .!isLoadingBlank).{......if.(uri |
27ce0 | 54 6f 4c 6f 61 64 20 69 6e 73 74 61 6e 63 65 6f 66 20 43 69 2e 6e 73 49 53 75 70 70 6f 72 74 73 | ToLoad.instanceof.Ci.nsISupports |
27d00 | 41 72 72 61 79 29 20 7b 0a 20 20 20 20 20 20 6c 65 74 20 63 6f 75 6e 74 20 3d 20 75 72 69 54 6f | Array).{.......let.count.=.uriTo |
27d20 | 4c 6f 61 64 2e 43 6f 75 6e 74 28 29 3b 0a 20 20 20 20 20 20 6c 65 74 20 73 70 65 63 73 20 3d 20 | Load.Count();.......let.specs.=. |
27d40 | 5b 5d 3b 0a 20 20 20 20 20 20 66 6f 72 20 28 6c 65 74 20 69 20 3d 20 30 3b 20 69 20 3c 20 63 6f | [];.......for.(let.i.=.0;.i.<.co |
27d60 | 75 6e 74 3b 20 69 2b 2b 29 20 7b 0a 20 20 20 20 20 20 20 20 6c 65 74 20 75 72 69 73 73 74 72 69 | unt;.i++).{.........let.urisstri |
27d80 | 6e 67 20 3d 20 75 72 69 54 6f 4c 6f 61 64 2e 47 65 74 45 6c 65 6d 65 6e 74 41 74 28 69 29 2e 51 | ng.=.uriToLoad.GetElementAt(i).Q |
27da0 | 75 65 72 79 49 6e 74 65 72 66 61 63 65 28 43 69 2e 6e 73 49 53 75 70 70 6f 72 74 73 53 74 72 69 | ueryInterface(Ci.nsISupportsStri |
27dc0 | 6e 67 29 3b 0a 20 20 20 20 20 20 20 20 73 70 65 63 73 2e 70 75 73 68 28 75 72 69 73 73 74 72 69 | ng);.........specs.push(urisstri |
27de0 | 6e 67 2e 64 61 74 61 29 3b 0a 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 2f 2f 20 54 68 69 73 | ng.data);.......}........//.This |
27e00 | 20 66 75 6e 63 74 69 6f 6e 20 74 68 72 6f 77 73 20 66 6f 72 20 63 65 72 74 61 69 6e 20 6d 61 6c | .function.throws.for.certain.mal |
27e20 | 66 6f 72 6d 65 64 20 55 52 49 73 2c 20 73 6f 20 75 73 65 20 65 78 63 65 70 74 69 6f 6e 20 68 61 | formed.URIs,.so.use.exception.ha |
27e40 | 6e 64 6c 69 6e 67 0a 20 20 20 20 20 20 2f 2f 20 73 6f 20 74 68 61 74 20 77 65 20 64 6f 6e 27 74 | ndling.......//.so.that.we.don't |
27e60 | 20 64 69 73 72 75 70 74 20 73 74 61 72 74 75 70 0a 20 20 20 20 20 20 74 72 79 20 7b 0a 20 20 20 | .disrupt.startup.......try.{.... |
27e80 | 20 20 20 20 20 67 42 72 6f 77 73 65 72 2e 6c 6f 61 64 54 61 62 73 28 73 70 65 63 73 2c 20 66 61 | .....gBrowser.loadTabs(specs,.fa |
27ea0 | 6c 73 65 2c 20 74 72 75 65 29 3b 0a 20 20 20 20 20 20 7d 20 63 61 74 63 68 20 28 65 29 20 7b 7d | lse,.true);.......}.catch.(e).{} |
27ec0 | 0a 20 20 20 20 7d 0a 20 20 20 20 65 6c 73 65 20 69 66 20 28 75 72 69 54 6f 4c 6f 61 64 20 69 6e | .....}.....else.if.(uriToLoad.in |
27ee0 | 73 74 61 6e 63 65 6f 66 20 58 55 4c 45 6c 65 6d 65 6e 74 29 20 7b 0a 20 20 20 20 20 20 2f 2f 20 | stanceof.XULElement).{.......//. |
27f00 | 73 77 61 70 20 74 68 65 20 67 69 76 65 6e 20 74 61 62 20 77 69 74 68 20 74 68 65 20 64 65 66 61 | swap.the.given.tab.with.the.defa |
27f20 | 75 6c 74 20 61 62 6f 75 74 3a 62 6c 61 6e 6b 20 74 61 62 20 61 6e 64 20 74 68 65 6e 20 63 6c 6f | ult.about:blank.tab.and.then.clo |
27f40 | 73 65 0a 20 20 20 20 20 20 2f 2f 20 74 68 65 20 6f 72 69 67 69 6e 61 6c 20 74 61 62 20 69 6e 20 | se.......//.the.original.tab.in. |
27f60 | 74 68 65 20 6f 74 68 65 72 20 77 69 6e 64 6f 77 2e 0a 0a 20 20 20 20 20 20 2f 2f 20 53 74 6f 70 | the.other.window.........//.Stop |
27f80 | 20 74 68 65 20 61 62 6f 75 74 3a 62 6c 61 6e 6b 20 6c 6f 61 64 0a 20 20 20 20 20 20 67 42 72 6f | .the.about:blank.load.......gBro |
27fa0 | 77 73 65 72 2e 73 65 6c 65 63 74 65 64 42 72 6f 77 73 65 72 2e 73 74 6f 70 28 29 3b 0a 20 20 20 | wser.selectedBrowser.stop();.... |
27fc0 | 20 20 20 2f 2f 20 6d 61 6b 65 20 73 75 72 65 20 69 74 20 68 61 73 20 61 20 64 6f 63 73 68 65 6c | ...//.make.sure.it.has.a.docshel |
27fe0 | 6c 0a 20 20 20 20 20 20 67 42 72 6f 77 73 65 72 2e 73 65 6c 65 63 74 65 64 42 72 6f 77 73 65 72 | l.......gBrowser.selectedBrowser |
28000 | 2e 64 6f 63 53 68 65 6c 6c 3b 0a 0a 20 20 20 20 20 20 67 42 72 6f 77 73 65 72 2e 73 77 61 70 42 | .docShell;........gBrowser.swapB |
28020 | 72 6f 77 73 65 72 73 41 6e 64 43 6c 6f 73 65 4f 74 68 65 72 28 67 42 72 6f 77 73 65 72 2e 73 65 | rowsersAndCloseOther(gBrowser.se |
28040 | 6c 65 63 74 65 64 54 61 62 2c 20 75 72 69 54 6f 4c 6f 61 64 29 3b 0a 20 20 20 20 7d 0a 20 20 20 | lectedTab,.uriToLoad);.....}.... |
28060 | 20 65 6c 73 65 20 69 66 20 28 77 69 6e 64 6f 77 2e 61 72 67 75 6d 65 6e 74 73 2e 6c 65 6e 67 74 | .else.if.(window.arguments.lengt |
28080 | 68 20 3e 3d 20 33 29 20 7b 0a 20 20 20 20 20 20 6c 6f 61 64 55 52 49 28 75 72 69 54 6f 4c 6f 61 | h.>=.3).{.......loadURI(uriToLoa |
280a0 | 64 2c 20 77 69 6e 64 6f 77 2e 61 72 67 75 6d 65 6e 74 73 5b 32 5d 2c 20 77 69 6e 64 6f 77 2e 61 | d,.window.arguments[2],.window.a |
280c0 | 72 67 75 6d 65 6e 74 73 5b 33 5d 20 7c 7c 20 6e 75 6c 6c 2c 0a 20 20 20 20 20 20 20 20 20 20 20 | rguments[3].||.null,............ |
280e0 | 20 20 20 77 69 6e 64 6f 77 2e 61 72 67 75 6d 65 6e 74 73 5b 34 5d 20 7c 7c 20 66 61 6c 73 65 29 | ...window.arguments[4].||.false) |
28100 | 3b 0a 20 20 20 20 20 20 63 6f 6e 74 65 6e 74 2e 66 6f 63 75 73 28 29 3b 0a 20 20 20 20 7d 0a 20 | ;.......content.focus();.....}.. |
28120 | 20 20 20 2f 2f 20 4e 6f 74 65 3a 20 6c 6f 61 64 4f 6e 65 4f 72 4d 6f 72 65 55 52 49 73 20 2a 6d | ...//.Note:.loadOneOrMoreURIs.*m |
28140 | 75 73 74 20 6e 6f 74 2a 20 62 65 20 63 61 6c 6c 65 64 20 69 66 20 77 69 6e 64 6f 77 2e 61 72 67 | ust.not*.be.called.if.window.arg |
28160 | 75 6d 65 6e 74 73 2e 6c 65 6e 67 74 68 20 3e 3d 20 33 2e 0a 20 20 20 20 2f 2f 20 53 75 63 68 20 | uments.length.>=.3......//.Such. |
28180 | 63 61 6c 6c 65 72 73 20 65 78 70 65 63 74 20 74 68 61 74 20 77 69 6e 64 6f 77 2e 61 72 67 75 6d | callers.expect.that.window.argum |
281a0 | 65 6e 74 73 5b 30 5d 20 69 73 20 68 61 6e 64 6c 65 64 20 61 73 20 61 20 73 69 6e 67 6c 65 20 55 | ents[0].is.handled.as.a.single.U |
281c0 | 52 49 2e 0a 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 6c 6f 61 64 4f 6e 65 4f 72 4d 6f 72 65 | RI......else.......loadOneOrMore |
281e0 | 55 52 49 73 28 75 72 69 54 6f 4c 6f 61 64 29 3b 0a 20 20 7d 0a 2f 2f 40 6c 69 6e 65 20 39 39 31 | URIs(uriToLoad);...}.//@line.991 |
28200 | 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 | ."/builds/moz2_slave/linux_build |
28220 | 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 62 61 73 65 2f 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 | /build/browser/base/content/brow |
28240 | 73 65 72 2e 6a 73 22 0a 0a 20 20 69 66 20 28 77 69 6e 64 6f 77 2e 6f 70 65 6e 65 72 20 26 26 20 | ser.js"....if.(window.opener.&&. |
28260 | 21 77 69 6e 64 6f 77 2e 6f 70 65 6e 65 72 2e 63 6c 6f 73 65 64 29 20 7b 0a 20 20 20 20 6c 65 74 | !window.opener.closed).{.....let |
28280 | 20 6f 70 65 6e 65 72 46 69 6e 64 42 61 72 20 3d 20 77 69 6e 64 6f 77 2e 6f 70 65 6e 65 72 2e 67 | .openerFindBar.=.window.opener.g |
282a0 | 46 69 6e 64 42 61 72 3b 0a 20 20 20 20 69 66 20 28 6f 70 65 6e 65 72 46 69 6e 64 42 61 72 20 26 | FindBar;.....if.(openerFindBar.& |
282c0 | 26 20 21 6f 70 65 6e 65 72 46 69 6e 64 42 61 72 2e 68 69 64 64 65 6e 20 26 26 0a 20 20 20 20 20 | &.!openerFindBar.hidden.&&...... |
282e0 | 20 20 20 6f 70 65 6e 65 72 46 69 6e 64 42 61 72 2e 66 69 6e 64 4d 6f 64 65 20 3d 3d 20 67 46 69 | ...openerFindBar.findMode.==.gFi |
28300 | 6e 64 42 61 72 2e 46 49 4e 44 5f 4e 4f 52 4d 41 4c 29 0a 20 20 20 20 20 20 67 46 69 6e 64 42 61 | ndBar.FIND_NORMAL).......gFindBa |
28320 | 72 2e 6f 70 65 6e 28 29 3b 0a 0a 20 20 20 20 6c 65 74 20 6f 70 65 6e 65 72 53 69 64 65 62 61 72 | r.open();......let.openerSidebar |
28340 | 42 6f 78 20 3d 20 77 69 6e 64 6f 77 2e 6f 70 65 6e 65 72 2e 64 6f 63 75 6d 65 6e 74 2e 67 65 74 | Box.=.window.opener.document.get |
28360 | 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 73 69 64 65 62 61 72 2d 62 6f 78 22 29 3b 0a 20 20 20 20 | ElementById("sidebar-box");..... |
28380 | 2f 2f 20 49 66 20 74 68 65 20 6f 70 65 6e 65 72 20 68 61 64 20 61 20 73 69 64 65 62 61 72 2c 20 | //.If.the.opener.had.a.sidebar,. |
283a0 | 6f 70 65 6e 20 74 68 65 20 73 61 6d 65 20 73 69 64 65 62 61 72 20 69 6e 20 6f 75 72 20 77 69 6e | open.the.same.sidebar.in.our.win |
283c0 | 64 6f 77 2e 0a 20 20 20 20 2f 2f 20 54 68 65 20 6f 70 65 6e 65 72 20 63 61 6e 20 62 65 20 74 68 | dow......//.The.opener.can.be.th |
283e0 | 65 20 68 69 64 64 65 6e 20 77 69 6e 64 6f 77 20 74 6f 6f 2c 20 69 66 20 77 65 27 72 65 20 63 6f | e.hidden.window.too,.if.we're.co |
28400 | 6d 69 6e 67 20 66 72 6f 6d 20 74 68 65 20 73 74 61 74 65 0a 20 20 20 20 2f 2f 20 77 68 65 72 65 | ming.from.the.state.....//.where |
28420 | 20 6e 6f 20 77 69 6e 64 6f 77 73 20 61 72 65 20 6f 70 65 6e 2c 20 61 6e 64 20 74 68 65 20 68 69 | .no.windows.are.open,.and.the.hi |
28440 | 64 64 65 6e 20 77 69 6e 64 6f 77 20 68 61 73 20 6e 6f 20 73 69 64 65 62 61 72 20 62 6f 78 2e 0a | dden.window.has.no.sidebar.box.. |
28460 | 20 20 20 20 69 66 20 28 6f 70 65 6e 65 72 53 69 64 65 62 61 72 42 6f 78 20 26 26 20 21 6f 70 65 | ....if.(openerSidebarBox.&&.!ope |
28480 | 6e 65 72 53 69 64 65 62 61 72 42 6f 78 2e 68 69 64 64 65 6e 29 20 7b 0a 20 20 20 20 20 20 6c 65 | nerSidebarBox.hidden).{.......le |
284a0 | 74 20 73 69 64 65 62 61 72 42 6f 78 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 | t.sidebarBox.=.document.getEleme |
284c0 | 6e 74 42 79 49 64 28 22 73 69 64 65 62 61 72 2d 62 6f 78 22 29 3b 0a 20 20 20 20 20 20 6c 65 74 | ntById("sidebar-box");.......let |
284e0 | 20 73 69 64 65 62 61 72 54 69 74 6c 65 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d | .sidebarTitle.=.document.getElem |
28500 | 65 6e 74 42 79 49 64 28 22 73 69 64 65 62 61 72 2d 74 69 74 6c 65 22 29 3b 0a 20 20 20 20 20 20 | entById("sidebar-title");....... |
28520 | 73 69 64 65 62 61 72 54 69 74 6c 65 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 76 61 6c 75 65 | sidebarTitle.setAttribute("value |
28540 | 22 2c 20 77 69 6e 64 6f 77 2e 6f 70 65 6e 65 72 2e 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 | ",.window.opener.document.getEle |
28560 | 6d 65 6e 74 42 79 49 64 28 22 73 69 64 65 62 61 72 2d 74 69 74 6c 65 22 29 2e 67 65 74 41 74 74 | mentById("sidebar-title").getAtt |
28580 | 72 69 62 75 74 65 28 22 76 61 6c 75 65 22 29 29 3b 0a 20 20 20 20 20 20 73 69 64 65 62 61 72 42 | ribute("value"));.......sidebarB |
285a0 | 6f 78 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 77 69 64 74 68 22 2c 20 6f 70 65 6e 65 72 53 | ox.setAttribute("width",.openerS |
285c0 | 69 64 65 62 61 72 42 6f 78 2e 62 6f 78 4f 62 6a 65 63 74 2e 77 69 64 74 68 29 3b 0a 20 20 20 20 | idebarBox.boxObject.width);..... |
285e0 | 20 20 6c 65 74 20 73 69 64 65 62 61 72 43 6d 64 20 3d 20 6f 70 65 6e 65 72 53 69 64 65 62 61 72 | ..let.sidebarCmd.=.openerSidebar |
28600 | 42 6f 78 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 73 69 64 65 62 61 72 63 6f 6d 6d 61 6e 64 | Box.getAttribute("sidebarcommand |
28620 | 22 29 3b 0a 20 20 20 20 20 20 73 69 64 65 62 61 72 42 6f 78 2e 73 65 74 41 74 74 72 69 62 75 74 | ");.......sidebarBox.setAttribut |
28640 | 65 28 22 73 69 64 65 62 61 72 63 6f 6d 6d 61 6e 64 22 2c 20 73 69 64 65 62 61 72 43 6d 64 29 3b | e("sidebarcommand",.sidebarCmd); |
28660 | 0a 20 20 20 20 20 20 2f 2f 20 4e 6f 74 65 3a 20 77 65 27 72 65 20 73 65 74 74 69 6e 67 20 27 73 | .......//.Note:.we're.setting.'s |
28680 | 72 63 27 20 6f 6e 20 73 69 64 65 62 61 72 42 6f 78 2c 20 77 68 69 63 68 20 69 73 20 61 20 3c 76 | rc'.on.sidebarBox,.which.is.a.<v |
286a0 | 62 6f 78 3e 2c 20 6e 6f 74 20 6f 6e 20 74 68 65 0a 20 20 20 20 20 20 2f 2f 20 3c 62 72 6f 77 73 | box>,.not.on.the.......//.<brows |
286c0 | 65 72 20 69 64 3d 22 73 69 64 65 62 61 72 22 3e 2e 20 54 68 69 73 20 6c 65 74 73 20 75 73 20 64 | er.id="sidebar">..This.lets.us.d |
286e0 | 65 6c 61 79 20 74 68 65 20 61 63 74 75 61 6c 20 6c 6f 61 64 20 75 6e 74 69 6c 0a 20 20 20 20 20 | elay.the.actual.load.until...... |
28700 | 20 2f 2f 20 64 65 6c 61 79 65 64 53 74 61 72 74 75 70 28 29 2e 0a 20 20 20 20 20 20 73 69 64 65 | .//.delayedStartup()........side |
28720 | 62 61 72 42 6f 78 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 73 72 63 22 2c 20 77 69 6e 64 6f | barBox.setAttribute("src",.windo |
28740 | 77 2e 6f 70 65 6e 65 72 2e 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 | w.opener.document.getElementById |
28760 | 28 22 73 69 64 65 62 61 72 22 29 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 73 72 63 22 29 29 | ("sidebar").getAttribute("src")) |
28780 | 3b 0a 20 20 20 20 20 20 6d 75 73 74 4c 6f 61 64 53 69 64 65 62 61 72 20 3d 20 74 72 75 65 3b 0a | ;.......mustLoadSidebar.=.true;. |
287a0 | 0a 20 20 20 20 20 20 73 69 64 65 62 61 72 42 6f 78 2e 68 69 64 64 65 6e 20 3d 20 66 61 6c 73 65 | .......sidebarBox.hidden.=.false |
287c0 | 3b 0a 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 | ;.......document.getElementById( |
287e0 | 22 73 69 64 65 62 61 72 2d 73 70 6c 69 74 74 65 72 22 29 2e 68 69 64 64 65 6e 20 3d 20 66 61 6c | "sidebar-splitter").hidden.=.fal |
28800 | 73 65 3b 0a 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 | se;.......document.getElementByI |
28820 | 64 28 73 69 64 65 62 61 72 43 6d 64 29 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 63 68 65 63 | d(sidebarCmd).setAttribute("chec |
28840 | 6b 65 64 22 2c 20 22 74 72 75 65 22 29 3b 0a 20 20 20 20 7d 0a 20 20 7d 0a 20 20 65 6c 73 65 20 | ked",."true");.....}...}...else. |
28860 | 7b 0a 20 20 20 20 6c 65 74 20 62 6f 78 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d | {.....let.box.=.document.getElem |
28880 | 65 6e 74 42 79 49 64 28 22 73 69 64 65 62 61 72 2d 62 6f 78 22 29 3b 0a 20 20 20 20 69 66 20 28 | entById("sidebar-box");.....if.( |
288a0 | 62 6f 78 2e 68 61 73 41 74 74 72 69 62 75 74 65 28 22 73 69 64 65 62 61 72 63 6f 6d 6d 61 6e 64 | box.hasAttribute("sidebarcommand |
288c0 | 22 29 29 20 7b 0a 20 20 20 20 20 20 6c 65 74 20 63 6f 6d 6d 61 6e 64 49 44 20 3d 20 62 6f 78 2e | ")).{.......let.commandID.=.box. |
288e0 | 67 65 74 41 74 74 72 69 62 75 74 65 28 22 73 69 64 65 62 61 72 63 6f 6d 6d 61 6e 64 22 29 3b 0a | getAttribute("sidebarcommand");. |
28900 | 20 20 20 20 20 20 69 66 20 28 63 6f 6d 6d 61 6e 64 49 44 29 20 7b 0a 20 20 20 20 20 20 20 20 6c | ......if.(commandID).{.........l |
28920 | 65 74 20 63 6f 6d 6d 61 6e 64 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 | et.command.=.document.getElement |
28940 | 42 79 49 64 28 63 6f 6d 6d 61 6e 64 49 44 29 3b 0a 20 20 20 20 20 20 20 20 69 66 20 28 63 6f 6d | ById(commandID);.........if.(com |
28960 | 6d 61 6e 64 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 6d 75 73 74 4c 6f 61 64 53 69 64 65 62 61 | mand).{...........mustLoadSideba |
28980 | 72 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 20 20 62 6f 78 2e 68 69 64 64 65 6e 20 3d | r.=.true;...........box.hidden.= |
289a0 | 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c | .false;...........document.getEl |
289c0 | 65 6d 65 6e 74 42 79 49 64 28 22 73 69 64 65 62 61 72 2d 73 70 6c 69 74 74 65 72 22 29 2e 68 69 | ementById("sidebar-splitter").hi |
289e0 | 64 64 65 6e 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 20 20 20 20 20 63 6f 6d 6d 61 6e 64 2e | dden.=.false;...........command. |
28a00 | 73 65 74 41 74 74 72 69 62 75 74 65 28 22 63 68 65 63 6b 65 64 22 2c 20 22 74 72 75 65 22 29 3b | setAttribute("checked",."true"); |
28a20 | 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 | .........}.........else.{....... |
28a40 | 20 20 20 20 2f 2f 20 52 65 6d 6f 76 65 20 74 68 65 20 7c 73 69 64 65 62 61 72 63 6f 6d 6d 61 6e | ....//.Remove.the.|sidebarcomman |
28a60 | 64 7c 20 61 74 74 72 69 62 75 74 65 2c 20 62 65 63 61 75 73 65 20 74 68 65 20 65 6c 65 6d 65 6e | d|.attribute,.because.the.elemen |
28a80 | 74 20 69 74 20 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 72 65 66 65 72 73 20 74 6f 20 6e 6f 20 | t.it............//.refers.to.no. |
28aa0 | 6c 6f 6e 67 65 72 20 65 78 69 73 74 73 2c 20 73 6f 20 77 65 20 73 68 6f 75 6c 64 20 61 73 73 75 | longer.exists,.so.we.should.assu |
28ac0 | 6d 65 20 74 68 69 73 20 73 69 64 65 62 61 72 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 70 61 6e | me.this.sidebar...........//.pan |
28ae0 | 65 6c 20 68 61 73 20 62 65 65 6e 20 75 6e 69 6e 73 74 61 6c 6c 65 64 2e 20 28 32 34 39 38 38 33 | el.has.been.uninstalled..(249883 |
28b00 | 29 0a 20 20 20 20 20 20 20 20 20 20 62 6f 78 2e 72 65 6d 6f 76 65 41 74 74 72 69 62 75 74 65 28 | )...........box.removeAttribute( |
28b20 | 22 73 69 64 65 62 61 72 63 6f 6d 6d 61 6e 64 22 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 | "sidebarcommand");.........}.... |
28b40 | 20 20 20 7d 0a 20 20 20 20 7d 0a 20 20 7d 0a 0a 20 20 2f 2f 20 43 65 72 74 61 69 6e 20 6b 69 6e | ...}.....}...}....//.Certain.kin |
28b60 | 64 73 20 6f 66 20 61 75 74 6f 6d 69 67 72 61 74 69 6f 6e 20 72 65 6c 79 20 6f 6e 20 74 68 69 73 | ds.of.automigration.rely.on.this |
28b80 | 20 6e 6f 74 69 66 69 63 61 74 69 6f 6e 20 74 6f 20 63 6f 6d 70 6c 65 74 65 20 74 68 65 69 72 0a | .notification.to.complete.their. |
28ba0 | 20 20 2f 2f 20 74 61 73 6b 73 20 42 45 46 4f 52 45 20 74 68 65 20 62 72 6f 77 73 65 72 20 77 69 | ..//.tasks.BEFORE.the.browser.wi |
28bc0 | 6e 64 6f 77 20 69 73 20 73 68 6f 77 6e 2e 0a 20 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 | ndow.is.shown....Cc["@mozilla.or |
28be0 | 67 2f 6f 62 73 65 72 76 65 72 2d 73 65 72 76 69 63 65 3b 31 22 5d 0a 20 20 20 20 2e 67 65 74 53 | g/observer-service;1"]......getS |
28c00 | 65 72 76 69 63 65 28 43 69 2e 6e 73 49 4f 62 73 65 72 76 65 72 53 65 72 76 69 63 65 29 0a 20 20 | ervice(Ci.nsIObserverService)... |
28c20 | 20 20 2e 6e 6f 74 69 66 79 4f 62 73 65 72 76 65 72 73 28 6e 75 6c 6c 2c 20 22 62 72 6f 77 73 65 | ...notifyObservers(null,."browse |
28c40 | 72 2d 77 69 6e 64 6f 77 2d 62 65 66 6f 72 65 2d 73 68 6f 77 22 2c 20 22 22 29 3b 0a 0a 20 20 2f | r-window-before-show",."");..../ |
28c60 | 2f 20 53 65 74 20 61 20 73 61 6e 65 20 73 74 61 72 74 69 6e 67 20 77 69 64 74 68 2f 68 65 69 67 | /.Set.a.sane.starting.width/heig |
28c80 | 68 74 20 66 6f 72 20 61 6c 6c 20 72 65 73 6f 6c 75 74 69 6f 6e 73 20 6f 6e 20 6e 65 77 20 70 72 | ht.for.all.resolutions.on.new.pr |
28ca0 | 6f 66 69 6c 65 73 2e 0a 20 20 69 66 20 28 21 64 6f 63 75 6d 65 6e 74 2e 64 6f 63 75 6d 65 6e 74 | ofiles....if.(!document.document |
28cc0 | 45 6c 65 6d 65 6e 74 2e 68 61 73 41 74 74 72 69 62 75 74 65 28 22 77 69 64 74 68 22 29 29 20 7b | Element.hasAttribute("width")).{ |
28ce0 | 0a 20 20 20 20 6c 65 74 20 64 65 66 61 75 6c 74 57 69 64 74 68 20 3d 20 39 39 34 3b 0a 20 20 20 | .....let.defaultWidth.=.994;.... |
28d00 | 20 6c 65 74 20 64 65 66 61 75 6c 74 48 65 69 67 68 74 3b 0a 20 20 20 20 69 66 20 28 73 63 72 65 | .let.defaultHeight;.....if.(scre |
28d20 | 65 6e 2e 61 76 61 69 6c 48 65 69 67 68 74 20 3c 3d 20 36 30 30 29 20 7b 0a 20 20 20 20 20 20 64 | en.availHeight.<=.600).{.......d |
28d40 | 6f 63 75 6d 65 6e 74 2e 64 6f 63 75 6d 65 6e 74 45 6c 65 6d 65 6e 74 2e 73 65 74 41 74 74 72 69 | ocument.documentElement.setAttri |
28d60 | 62 75 74 65 28 22 73 69 7a 65 6d 6f 64 65 22 2c 20 22 6d 61 78 69 6d 69 7a 65 64 22 29 3b 0a 20 | bute("sizemode",."maximized");.. |
28d80 | 20 20 20 20 20 64 65 66 61 75 6c 74 57 69 64 74 68 20 3d 20 36 31 30 3b 0a 20 20 20 20 20 20 64 | .....defaultWidth.=.610;.......d |
28da0 | 65 66 61 75 6c 74 48 65 69 67 68 74 20 3d 20 34 35 30 3b 0a 20 20 20 20 7d 0a 20 20 20 20 65 6c | efaultHeight.=.450;.....}.....el |
28dc0 | 73 65 20 7b 0a 20 20 20 20 20 20 2f 2f 20 43 72 65 61 74 65 20 61 20 6e 61 72 72 6f 77 65 72 20 | se.{.......//.Create.a.narrower. |
28de0 | 77 69 6e 64 6f 77 20 66 6f 72 20 6c 61 72 67 65 20 6f 72 20 77 69 64 65 2d 61 73 70 65 63 74 20 | window.for.large.or.wide-aspect. |
28e00 | 64 69 73 70 6c 61 79 73 2c 20 74 6f 20 73 75 67 67 65 73 74 0a 20 20 20 20 20 20 2f 2f 20 73 69 | displays,.to.suggest.......//.si |
28e20 | 64 65 2d 62 79 2d 73 69 64 65 20 70 61 67 65 20 76 69 65 77 2e 0a 20 20 20 20 20 20 69 66 20 28 | de-by-side.page.view........if.( |
28e40 | 73 63 72 65 65 6e 2e 61 76 61 69 6c 57 69 64 74 68 20 3e 3d 20 31 36 30 30 29 0a 20 20 20 20 20 | screen.availWidth.>=.1600)...... |
28e60 | 20 20 20 64 65 66 61 75 6c 74 57 69 64 74 68 20 3d 20 28 73 63 72 65 65 6e 2e 61 76 61 69 6c 57 | ...defaultWidth.=.(screen.availW |
28e80 | 69 64 74 68 20 2f 20 32 29 20 2d 20 32 30 3b 0a 20 20 20 20 20 20 64 65 66 61 75 6c 74 48 65 69 | idth./.2).-.20;.......defaultHei |
28ea0 | 67 68 74 20 3d 20 73 63 72 65 65 6e 2e 61 76 61 69 6c 48 65 69 67 68 74 20 2d 20 31 30 3b 0a 2f | ght.=.screen.availHeight.-.10;./ |
28ec0 | 2f 40 6c 69 6e 65 20 31 30 36 34 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f | /@line.1064."/builds/moz2_slave/ |
28ee0 | 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 62 61 73 65 2f 63 | linux_build/build/browser/base/c |
28f00 | 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2e 6a 73 22 0a 20 20 20 20 20 20 2f 2f 20 4f 6e 20 58 | ontent/browser.js".......//.On.X |
28f20 | 2c 20 77 65 27 72 65 20 6e 6f 74 20 63 75 72 72 65 6e 74 6c 79 20 61 62 6c 65 20 74 6f 20 61 63 | ,.we're.not.currently.able.to.ac |
28f40 | 63 6f 75 6e 74 20 66 6f 72 20 74 68 65 20 73 69 7a 65 20 6f 66 20 74 68 65 20 77 69 6e 64 6f 77 | count.for.the.size.of.the.window |
28f60 | 0a 20 20 20 20 20 20 2f 2f 20 62 6f 72 64 65 72 2e 20 20 55 73 65 20 32 38 70 78 20 61 73 20 61 | .......//.border...Use.28px.as.a |
28f80 | 20 67 75 65 73 73 20 28 74 69 74 6c 65 62 61 72 20 2b 20 62 6f 74 74 6f 6d 20 77 69 6e 64 6f 77 | .guess.(titlebar.+.bottom.window |
28fa0 | 20 62 6f 72 64 65 72 29 0a 20 20 20 20 20 20 64 65 66 61 75 6c 74 48 65 69 67 68 74 20 2d 3d 20 | .border).......defaultHeight.-=. |
28fc0 | 32 38 3b 0a 2f 2f 40 6c 69 6e 65 20 31 30 36 38 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 | 28;.//@line.1068."/builds/moz2_s |
28fe0 | 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 62 | lave/linux_build/build/browser/b |
29000 | 61 73 65 2f 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2e 6a 73 22 0a 20 20 20 20 7d 0a 20 20 | ase/content/browser.js".....}... |
29020 | 20 20 64 6f 63 75 6d 65 6e 74 2e 64 6f 63 75 6d 65 6e 74 45 6c 65 6d 65 6e 74 2e 73 65 74 41 74 | ..document.documentElement.setAt |
29040 | 74 72 69 62 75 74 65 28 22 77 69 64 74 68 22 2c 20 64 65 66 61 75 6c 74 57 69 64 74 68 29 3b 0a | tribute("width",.defaultWidth);. |
29060 | 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 64 6f 63 75 6d 65 6e 74 45 6c 65 6d 65 6e 74 2e 73 65 74 | ....document.documentElement.set |
29080 | 41 74 74 72 69 62 75 74 65 28 22 68 65 69 67 68 74 22 2c 20 64 65 66 61 75 6c 74 48 65 69 67 68 | Attribute("height",.defaultHeigh |
290a0 | 74 29 3b 0a 20 20 7d 0a 0a 20 20 69 66 20 28 67 55 52 4c 42 61 72 20 26 26 20 64 6f 63 75 6d 65 | t);...}....if.(gURLBar.&&.docume |
290c0 | 6e 74 2e 64 6f 63 75 6d 65 6e 74 45 6c 65 6d 65 6e 74 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 | nt.documentElement.getAttribute( |
290e0 | 22 63 68 72 6f 6d 65 68 69 64 64 65 6e 22 29 2e 69 6e 64 65 78 4f 66 28 22 74 6f 6f 6c 62 61 72 | "chromehidden").indexOf("toolbar |
29100 | 22 29 20 21 3d 20 2d 31 29 20 7b 0a 20 20 20 20 67 55 52 4c 42 61 72 2e 73 65 74 41 74 74 72 69 | ").!=.-1).{.....gURLBar.setAttri |
29120 | 62 75 74 65 28 22 72 65 61 64 6f 6e 6c 79 22 2c 20 22 74 72 75 65 22 29 3b 0a 20 20 20 20 67 55 | bute("readonly",."true");.....gU |
29140 | 52 4c 42 61 72 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 65 6e 61 62 6c 65 68 69 73 74 6f 72 | RLBar.setAttribute("enablehistor |
29160 | 79 22 2c 20 22 66 61 6c 73 65 22 29 3b 0a 20 20 7d 0a 0a 20 20 73 65 74 54 69 6d 65 6f 75 74 28 | y",."false");...}....setTimeout( |
29180 | 64 65 6c 61 79 65 64 53 74 61 72 74 75 70 2c 20 30 2c 20 69 73 4c 6f 61 64 69 6e 67 42 6c 61 6e | delayedStartup,.0,.isLoadingBlan |
291a0 | 6b 2c 20 6d 75 73 74 4c 6f 61 64 53 69 64 65 62 61 72 29 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e | k,.mustLoadSidebar);.}..function |
291c0 | 20 48 61 6e 64 6c 65 41 70 70 43 6f 6d 6d 61 6e 64 45 76 65 6e 74 28 65 76 74 29 20 7b 0a 20 20 | .HandleAppCommandEvent(evt).{... |
291e0 | 65 76 74 2e 73 74 6f 70 50 72 6f 70 61 67 61 74 69 6f 6e 28 29 3b 0a 20 20 73 77 69 74 63 68 20 | evt.stopPropagation();...switch. |
29200 | 28 65 76 74 2e 63 6f 6d 6d 61 6e 64 29 20 7b 0a 20 20 63 61 73 65 20 22 42 61 63 6b 22 3a 0a 20 | (evt.command).{...case."Back":.. |
29220 | 20 20 20 42 72 6f 77 73 65 72 42 61 63 6b 28 29 3b 0a 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 63 | ...BrowserBack();.....break;...c |
29240 | 61 73 65 20 22 46 6f 72 77 61 72 64 22 3a 0a 20 20 20 20 42 72 6f 77 73 65 72 46 6f 72 77 61 72 | ase."Forward":.....BrowserForwar |
29260 | 64 28 29 3b 0a 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 63 61 73 65 20 22 52 65 6c 6f 61 64 22 3a | d();.....break;...case."Reload": |
29280 | 0a 20 20 20 20 42 72 6f 77 73 65 72 52 65 6c 6f 61 64 53 6b 69 70 43 61 63 68 65 28 29 3b 0a 20 | .....BrowserReloadSkipCache();.. |
292a0 | 20 20 20 62 72 65 61 6b 3b 0a 20 20 63 61 73 65 20 22 53 74 6f 70 22 3a 0a 20 20 20 20 42 72 6f | ...break;...case."Stop":.....Bro |
292c0 | 77 73 65 72 53 74 6f 70 28 29 3b 0a 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 63 61 73 65 20 22 53 | wserStop();.....break;...case."S |
292e0 | 65 61 72 63 68 22 3a 0a 20 20 20 20 42 72 6f 77 73 65 72 53 65 61 72 63 68 2e 77 65 62 53 65 61 | earch":.....BrowserSearch.webSea |
29300 | 72 63 68 28 29 3b 0a 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 63 61 73 65 20 22 42 6f 6f 6b 6d 61 | rch();.....break;...case."Bookma |
29320 | 72 6b 73 22 3a 0a 20 20 20 20 74 6f 67 67 6c 65 53 69 64 65 62 61 72 28 27 76 69 65 77 42 6f 6f | rks":.....toggleSidebar('viewBoo |
29340 | 6b 6d 61 72 6b 73 53 69 64 65 62 61 72 27 29 3b 0a 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 63 61 | kmarksSidebar');.....break;...ca |
29360 | 73 65 20 22 48 6f 6d 65 22 3a 0a 20 20 20 20 42 72 6f 77 73 65 72 48 6f 6d 65 28 29 3b 0a 20 20 | se."Home":.....BrowserHome();... |
29380 | 20 20 62 72 65 61 6b 3b 0a 20 20 64 65 66 61 75 6c 74 3a 0a 20 20 20 20 62 72 65 61 6b 3b 0a 20 | ..break;...default:.....break;.. |
293a0 | 20 7d 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 70 72 65 70 61 72 65 46 6f 72 53 74 61 72 74 75 70 | .}.}..function.prepareForStartup |
293c0 | 28 29 20 7b 0a 20 20 67 42 72 6f 77 73 65 72 2e 61 64 64 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 | ().{...gBrowser.addEventListener |
293e0 | 28 22 44 4f 4d 55 70 64 61 74 65 50 61 67 65 52 65 70 6f 72 74 22 2c 20 67 50 6f 70 75 70 42 6c | ("DOMUpdatePageReport",.gPopupBl |
29400 | 6f 63 6b 65 72 4f 62 73 65 72 76 65 72 2e 6f 6e 55 70 64 61 74 65 50 61 67 65 52 65 70 6f 72 74 | ockerObserver.onUpdatePageReport |
29420 | 2c 20 66 61 6c 73 65 29 3b 0a 20 20 2f 2f 20 4e 6f 74 65 3a 20 77 65 20 6e 65 65 64 20 74 6f 20 | ,.false);...//.Note:.we.need.to. |
29440 | 6c 69 73 74 65 6e 20 74 6f 20 75 6e 74 72 75 73 74 65 64 20 65 76 65 6e 74 73 2c 20 62 65 63 61 | listen.to.untrusted.events,.beca |
29460 | 75 73 65 20 74 68 65 20 70 6c 75 67 69 6e 66 69 6e 64 65 72 20 58 42 4c 0a 20 20 2f 2f 20 62 69 | use.the.pluginfinder.XBL...//.bi |
29480 | 6e 64 69 6e 67 20 63 61 6e 27 74 20 66 69 72 65 20 74 72 75 73 74 65 64 20 6f 6e 65 73 20 28 72 | nding.can't.fire.trusted.ones.(r |
294a0 | 75 6e 73 20 77 69 74 68 20 70 61 67 65 20 70 72 69 76 69 6c 65 67 65 73 29 2e 0a 20 20 67 42 72 | uns.with.page.privileges)....gBr |
294c0 | 6f 77 73 65 72 2e 61 64 64 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 28 22 50 6c 75 67 69 6e 4e 6f | owser.addEventListener("PluginNo |
294e0 | 74 46 6f 75 6e 64 22 2c 20 67 4d 69 73 73 69 6e 67 50 6c 75 67 69 6e 49 6e 73 74 61 6c 6c 65 72 | tFound",.gMissingPluginInstaller |
29500 | 2e 6e 65 77 4d 69 73 73 69 6e 67 50 6c 75 67 69 6e 2c 20 74 72 75 65 2c 20 74 72 75 65 29 3b 0a | .newMissingPlugin,.true,.true);. |
29520 | 20 20 67 42 72 6f 77 73 65 72 2e 61 64 64 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 28 22 50 6c 75 | ..gBrowser.addEventListener("Plu |
29540 | 67 69 6e 42 6c 6f 63 6b 6c 69 73 74 65 64 22 2c 20 67 4d 69 73 73 69 6e 67 50 6c 75 67 69 6e 49 | ginBlocklisted",.gMissingPluginI |
29560 | 6e 73 74 61 6c 6c 65 72 2e 6e 65 77 4d 69 73 73 69 6e 67 50 6c 75 67 69 6e 2c 20 74 72 75 65 2c | nstaller.newMissingPlugin,.true, |
29580 | 20 74 72 75 65 29 3b 0a 20 20 67 42 72 6f 77 73 65 72 2e 61 64 64 45 76 65 6e 74 4c 69 73 74 65 | .true);...gBrowser.addEventListe |
295a0 | 6e 65 72 28 22 50 6c 75 67 69 6e 44 69 73 61 62 6c 65 64 22 2c 20 67 4d 69 73 73 69 6e 67 50 6c | ner("PluginDisabled",.gMissingPl |
295c0 | 75 67 69 6e 49 6e 73 74 61 6c 6c 65 72 2e 6e 65 77 44 69 73 61 62 6c 65 64 50 6c 75 67 69 6e 2c | uginInstaller.newDisabledPlugin, |
295e0 | 20 74 72 75 65 2c 20 74 72 75 65 29 3b 0a 20 20 67 42 72 6f 77 73 65 72 2e 61 64 64 45 76 65 6e | .true,.true);...gBrowser.addEven |
29600 | 74 4c 69 73 74 65 6e 65 72 28 22 4e 65 77 50 6c 75 67 69 6e 49 6e 73 74 61 6c 6c 65 64 22 2c 20 | tListener("NewPluginInstalled",. |
29620 | 67 4d 69 73 73 69 6e 67 50 6c 75 67 69 6e 49 6e 73 74 61 6c 6c 65 72 2e 72 65 66 72 65 73 68 42 | gMissingPluginInstaller.refreshB |
29640 | 72 6f 77 73 65 72 2c 20 66 61 6c 73 65 29 3b 0a 20 20 67 42 72 6f 77 73 65 72 2e 61 64 64 45 76 | rowser,.false);...gBrowser.addEv |
29660 | 65 6e 74 4c 69 73 74 65 6e 65 72 28 22 4e 65 77 54 61 62 22 2c 20 42 72 6f 77 73 65 72 4f 70 65 | entListener("NewTab",.BrowserOpe |
29680 | 6e 54 61 62 2c 20 66 61 6c 73 65 29 3b 0a 20 20 77 69 6e 64 6f 77 2e 61 64 64 45 76 65 6e 74 4c | nTab,.false);...window.addEventL |
296a0 | 69 73 74 65 6e 65 72 28 22 41 70 70 43 6f 6d 6d 61 6e 64 22 2c 20 48 61 6e 64 6c 65 41 70 70 43 | istener("AppCommand",.HandleAppC |
296c0 | 6f 6d 6d 61 6e 64 45 76 65 6e 74 2c 20 74 72 75 65 29 3b 0a 0a 20 20 76 61 72 20 77 65 62 4e 61 | ommandEvent,.true);....var.webNa |
296e0 | 76 69 67 61 74 69 6f 6e 3b 0a 20 20 74 72 79 20 7b 0a 20 20 20 20 2f 2f 20 43 72 65 61 74 65 20 | vigation;...try.{.....//.Create. |
29700 | 74 68 65 20 62 72 6f 77 73 65 72 20 69 6e 73 74 61 6e 63 65 20 63 6f 6d 70 6f 6e 65 6e 74 2e 0a | the.browser.instance.component.. |
29720 | 20 20 20 20 61 70 70 43 6f 72 65 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 | ....appCore.=.Components.classes |
29740 | 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 61 70 70 73 68 65 6c 6c 2f 63 6f 6d 70 6f 6e 65 6e | ["@mozilla.org/appshell/componen |
29760 | 74 2f 62 72 6f 77 73 65 72 2f 69 6e 73 74 61 6e 63 65 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 | t/browser/instance;1"].......... |
29780 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 63 72 65 61 74 65 49 6e 73 74 61 6e 63 65 28 43 | ................createInstance(C |
297a0 | 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 42 72 6f 77 73 65 72 49 | omponents.interfaces.nsIBrowserI |
297c0 | 6e 73 74 61 6e 63 65 29 3b 0a 20 20 20 20 69 66 20 28 21 61 70 70 43 6f 72 65 29 0a 20 20 20 20 | nstance);.....if.(!appCore)..... |
297e0 | 20 20 74 68 72 6f 77 20 22 63 6f 75 6c 64 6e 27 74 20 63 72 65 61 74 65 20 61 20 62 72 6f 77 73 | ..throw."couldn't.create.a.brows |
29800 | 65 72 20 69 6e 73 74 61 6e 63 65 22 3b 0a 0a 20 20 20 20 77 65 62 4e 61 76 69 67 61 74 69 6f 6e | er.instance";......webNavigation |
29820 | 20 3d 20 67 65 74 57 65 62 4e 61 76 69 67 61 74 69 6f 6e 28 29 3b 0a 20 20 20 20 69 66 20 28 21 | .=.getWebNavigation();.....if.(! |
29840 | 77 65 62 4e 61 76 69 67 61 74 69 6f 6e 29 0a 20 20 20 20 20 20 74 68 72 6f 77 20 22 6e 6f 20 58 | webNavigation).......throw."no.X |
29860 | 42 4c 20 62 69 6e 64 69 6e 67 20 66 6f 72 20 62 72 6f 77 73 65 72 22 3b 0a 20 20 7d 20 63 61 74 | BL.binding.for.browser";...}.cat |
29880 | 63 68 20 28 65 29 20 7b 0a 20 20 20 20 61 6c 65 72 74 28 22 45 72 72 6f 72 20 6c 61 75 6e 63 68 | ch.(e).{.....alert("Error.launch |
298a0 | 69 6e 67 20 62 72 6f 77 73 65 72 20 77 69 6e 64 6f 77 3a 22 20 2b 20 65 29 3b 0a 20 20 20 20 77 | ing.browser.window:".+.e);.....w |
298c0 | 69 6e 64 6f 77 2e 63 6c 6f 73 65 28 29 3b 20 2f 2f 20 47 69 76 65 20 75 70 2e 0a 20 20 20 20 72 | indow.close();.//.Give.up......r |
298e0 | 65 74 75 72 6e 3b 0a 20 20 7d 0a 0a 20 20 2f 2f 20 69 6e 69 74 69 61 6c 69 7a 65 20 6f 62 73 65 | eturn;...}....//.initialize.obse |
29900 | 72 76 65 72 73 20 61 6e 64 20 6c 69 73 74 65 6e 65 72 73 0a 20 20 2f 2f 20 61 6e 64 20 67 69 76 | rvers.and.listeners...//.and.giv |
29920 | 65 20 43 2b 2b 20 61 63 63 65 73 73 20 74 6f 20 67 42 72 6f 77 73 65 72 0a 20 20 58 55 4c 42 72 | e.C++.access.to.gBrowser...XULBr |
29940 | 6f 77 73 65 72 57 69 6e 64 6f 77 2e 69 6e 69 74 28 29 3b 0a 20 20 77 69 6e 64 6f 77 2e 51 75 65 | owserWindow.init();...window.Que |
29960 | 72 79 49 6e 74 65 72 66 61 63 65 28 43 69 2e 6e 73 49 49 6e 74 65 72 66 61 63 65 52 65 71 75 65 | ryInterface(Ci.nsIInterfaceReque |
29980 | 73 74 6f 72 29 0a 20 20 20 20 20 20 20 20 2e 67 65 74 49 6e 74 65 72 66 61 63 65 28 6e 73 49 57 | stor)..........getInterface(nsIW |
299a0 | 65 62 4e 61 76 69 67 61 74 69 6f 6e 29 0a 20 20 20 20 20 20 20 20 2e 51 75 65 72 79 49 6e 74 65 | ebNavigation)..........QueryInte |
299c0 | 72 66 61 63 65 28 43 69 2e 6e 73 49 44 6f 63 53 68 65 6c 6c 54 72 65 65 49 74 65 6d 29 2e 74 72 | rface(Ci.nsIDocShellTreeItem).tr |
299e0 | 65 65 4f 77 6e 65 72 0a 20 20 20 20 20 20 20 20 2e 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 28 | eeOwner..........QueryInterface( |
29a00 | 43 69 2e 6e 73 49 49 6e 74 65 72 66 61 63 65 52 65 71 75 65 73 74 6f 72 29 0a 20 20 20 20 20 20 | Ci.nsIInterfaceRequestor)....... |
29a20 | 20 20 2e 67 65 74 49 6e 74 65 72 66 61 63 65 28 43 69 2e 6e 73 49 58 55 4c 57 69 6e 64 6f 77 29 | ...getInterface(Ci.nsIXULWindow) |
29a40 | 0a 20 20 20 20 20 20 20 20 2e 58 55 4c 42 72 6f 77 73 65 72 57 69 6e 64 6f 77 20 3d 20 77 69 6e | ..........XULBrowserWindow.=.win |
29a60 | 64 6f 77 2e 58 55 4c 42 72 6f 77 73 65 72 57 69 6e 64 6f 77 3b 0a 20 20 77 69 6e 64 6f 77 2e 51 | dow.XULBrowserWindow;...window.Q |
29a80 | 75 65 72 79 49 6e 74 65 72 66 61 63 65 28 43 69 2e 6e 73 49 44 4f 4d 43 68 72 6f 6d 65 57 69 6e | ueryInterface(Ci.nsIDOMChromeWin |
29aa0 | 64 6f 77 29 2e 62 72 6f 77 73 65 72 44 4f 4d 57 69 6e 64 6f 77 20 3d 0a 20 20 20 20 6e 65 77 20 | dow).browserDOMWindow.=.....new. |
29ac0 | 6e 73 42 72 6f 77 73 65 72 41 63 63 65 73 73 28 29 3b 0a 0a 20 20 2f 2f 20 73 65 74 20 64 65 66 | nsBrowserAccess();....//.set.def |
29ae0 | 61 75 6c 74 20 63 68 61 72 61 63 74 65 72 20 73 65 74 20 69 66 20 70 72 6f 76 69 64 65 64 0a 20 | ault.character.set.if.provided.. |
29b00 | 20 69 66 20 28 22 61 72 67 75 6d 65 6e 74 73 22 20 69 6e 20 77 69 6e 64 6f 77 20 26 26 20 77 69 | .if.("arguments".in.window.&&.wi |
29b20 | 6e 64 6f 77 2e 61 72 67 75 6d 65 6e 74 73 2e 6c 65 6e 67 74 68 20 3e 20 31 20 26 26 20 77 69 6e | ndow.arguments.length.>.1.&&.win |
29b40 | 64 6f 77 2e 61 72 67 75 6d 65 6e 74 73 5b 31 5d 29 20 7b 0a 20 20 20 20 69 66 20 28 77 69 6e 64 | dow.arguments[1]).{.....if.(wind |
29b60 | 6f 77 2e 61 72 67 75 6d 65 6e 74 73 5b 31 5d 2e 69 6e 64 65 78 4f 66 28 22 63 68 61 72 73 65 74 | ow.arguments[1].indexOf("charset |
29b80 | 3d 22 29 20 21 3d 20 2d 31 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 61 72 72 61 79 41 72 67 43 | =").!=.-1).{.......var.arrayArgC |
29ba0 | 6f 6d 70 6f 6e 65 6e 74 73 20 3d 20 77 69 6e 64 6f 77 2e 61 72 67 75 6d 65 6e 74 73 5b 31 5d 2e | omponents.=.window.arguments[1]. |
29bc0 | 73 70 6c 69 74 28 22 3d 22 29 3b 0a 20 20 20 20 20 20 69 66 20 28 61 72 72 61 79 41 72 67 43 6f | split("=");.......if.(arrayArgCo |
29be0 | 6d 70 6f 6e 65 6e 74 73 29 20 7b 0a 20 20 20 20 20 20 20 20 2f 2f 77 65 20 73 68 6f 75 6c 64 20 | mponents).{.........//we.should. |
29c00 | 22 69 6e 68 65 72 69 74 22 20 74 68 65 20 63 68 61 72 73 65 74 20 6d 65 6e 75 20 73 65 74 74 69 | "inherit".the.charset.menu.setti |
29c20 | 6e 67 20 69 6e 20 61 20 6e 65 77 20 77 69 6e 64 6f 77 0a 20 20 20 20 20 20 20 20 67 65 74 4d 61 | ng.in.a.new.window.........getMa |
29c40 | 72 6b 75 70 44 6f 63 75 6d 65 6e 74 56 69 65 77 65 72 28 29 2e 64 65 66 61 75 6c 74 43 68 61 72 | rkupDocumentViewer().defaultChar |
29c60 | 61 63 74 65 72 53 65 74 20 3d 20 61 72 72 61 79 41 72 67 43 6f 6d 70 6f 6e 65 6e 74 73 5b 31 5d | acterSet.=.arrayArgComponents[1] |
29c80 | 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 20 20 7d 0a 0a 20 20 2f 2f 20 49 6e 69 74 69 61 | ;.......}.....}...}....//.Initia |
29ca0 | 6c 69 7a 65 20 62 72 6f 77 73 65 72 20 69 6e 73 74 61 6e 63 65 2e 2e 0a 20 20 61 70 70 43 6f 72 | lize.browser.instance.....appCor |
29cc0 | 65 2e 73 65 74 57 65 62 53 68 65 6c 6c 57 69 6e 64 6f 77 28 77 69 6e 64 6f 77 29 3b 0a 0a 20 20 | e.setWebShellWindow(window);.... |
29ce0 | 2f 2f 20 4d 61 6e 75 61 6c 6c 79 20 68 6f 6f 6b 20 75 70 20 73 65 73 73 69 6f 6e 20 61 6e 64 20 | //.Manually.hook.up.session.and. |
29d00 | 67 6c 6f 62 61 6c 20 68 69 73 74 6f 72 79 20 66 6f 72 20 74 68 65 20 66 69 72 73 74 20 62 72 6f | global.history.for.the.first.bro |
29d20 | 77 73 65 72 0a 20 20 2f 2f 20 73 6f 20 74 68 61 74 20 77 65 20 64 6f 6e 27 74 20 68 61 76 65 20 | wser...//.so.that.we.don't.have. |
29d40 | 74 6f 20 6c 6f 61 64 20 67 6c 6f 62 61 6c 20 68 69 73 74 6f 72 79 20 62 65 66 6f 72 65 20 62 72 | to.load.global.history.before.br |
29d60 | 69 6e 67 69 6e 67 20 75 70 20 61 0a 20 20 2f 2f 20 77 69 6e 64 6f 77 2e 0a 20 20 2f 2f 20 57 69 | inging.up.a...//.window....//.Wi |
29d80 | 72 65 20 75 70 20 73 65 73 73 69 6f 6e 20 61 6e 64 20 67 6c 6f 62 61 6c 20 68 69 73 74 6f 72 79 | re.up.session.and.global.history |
29da0 | 20 62 65 66 6f 72 65 20 61 6e 79 20 70 6f 73 73 69 62 6c 65 0a 20 20 2f 2f 20 70 72 6f 67 72 65 | .before.any.possible...//.progre |
29dc0 | 73 73 20 6e 6f 74 69 66 69 63 61 74 69 6f 6e 73 20 66 6f 72 20 62 61 63 6b 2f 66 6f 72 77 61 72 | ss.notifications.for.back/forwar |
29de0 | 64 20 62 75 74 74 6f 6e 20 75 70 64 61 74 69 6e 67 0a 20 20 77 65 62 4e 61 76 69 67 61 74 69 6f | d.button.updating...webNavigatio |
29e00 | 6e 2e 73 65 73 73 69 6f 6e 48 69 73 74 6f 72 79 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c | n.sessionHistory.=.Components.cl |
29e20 | 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 62 72 6f 77 73 65 72 2f 73 68 69 73 | asses["@mozilla.org/browser/shis |
29e40 | 74 6f 72 79 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | tory;1"]........................ |
29e60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 63 72 65 61 74 65 49 6e 73 74 61 | .....................createInsta |
29e80 | 6e 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 53 48 69 | nce(Components.interfaces.nsISHi |
29ea0 | 73 74 6f 72 79 29 3b 0a 20 20 76 61 72 20 6f 73 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c | story);...var.os.=.Components.cl |
29ec0 | 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6f 62 73 65 72 76 65 72 2d 73 65 72 | asses["@mozilla.org/observer-ser |
29ee0 | 76 69 63 65 3b 31 22 5d 2e 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 | vice;1"].getService(Components.i |
29f00 | 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 4f 62 73 65 72 76 65 72 53 65 72 76 69 63 65 29 3b 0a 20 | nterfaces.nsIObserverService);.. |
29f20 | 20 6f 73 2e 61 64 64 4f 62 73 65 72 76 65 72 28 67 42 72 6f 77 73 65 72 2e 62 72 6f 77 73 65 72 | .os.addObserver(gBrowser.browser |
29f40 | 73 5b 30 5d 2c 20 22 62 72 6f 77 73 65 72 3a 70 75 72 67 65 2d 73 65 73 73 69 6f 6e 2d 68 69 73 | s[0],."browser:purge-session-his |
29f60 | 74 6f 72 79 22 2c 20 66 61 6c 73 65 29 3b 0a 0a 20 20 2f 2f 20 72 65 6d 6f 76 65 20 74 68 65 20 | tory",.false);....//.remove.the. |
29f80 | 64 69 73 61 62 6c 65 68 69 73 74 6f 72 79 20 61 74 74 72 69 62 75 74 65 20 73 6f 20 74 68 65 20 | disablehistory.attribute.so.the. |
29fa0 | 62 72 6f 77 73 65 72 20 63 6c 65 61 6e 73 20 75 70 2c 20 61 73 0a 20 20 2f 2f 20 74 68 6f 75 67 | browser.cleans.up,.as...//.thoug |
29fc0 | 68 20 69 74 20 68 61 64 20 64 6f 6e 65 20 74 68 69 73 20 77 6f 72 6b 20 69 74 73 65 6c 66 0a 20 | h.it.had.done.this.work.itself.. |
29fe0 | 20 67 42 72 6f 77 73 65 72 2e 62 72 6f 77 73 65 72 73 5b 30 5d 2e 72 65 6d 6f 76 65 41 74 74 72 | .gBrowser.browsers[0].removeAttr |
2a000 | 69 62 75 74 65 28 22 64 69 73 61 62 6c 65 68 69 73 74 6f 72 79 22 29 3b 0a 0a 20 20 2f 2f 20 65 | ibute("disablehistory");....//.e |
2a020 | 6e 61 62 6c 65 20 67 6c 6f 62 61 6c 20 68 69 73 74 6f 72 79 0a 20 20 74 72 79 20 7b 0a 20 20 20 | nable.global.history...try.{.... |
2a040 | 20 67 42 72 6f 77 73 65 72 2e 64 6f 63 53 68 65 6c 6c 2e 51 75 65 72 79 49 6e 74 65 72 66 61 63 | .gBrowser.docShell.QueryInterfac |
2a060 | 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 44 6f 63 53 68 | e(Components.interfaces.nsIDocSh |
2a080 | 65 6c 6c 48 69 73 74 6f 72 79 29 2e 75 73 65 47 6c 6f 62 61 6c 48 69 73 74 6f 72 79 20 3d 20 74 | ellHistory).useGlobalHistory.=.t |
2a0a0 | 72 75 65 3b 0a 20 20 7d 20 63 61 74 63 68 28 65 78 29 20 7b 0a 20 20 20 20 43 6f 6d 70 6f 6e 65 | rue;...}.catch(ex).{.....Compone |
2a0c0 | 6e 74 73 2e 75 74 69 6c 73 2e 72 65 70 6f 72 74 45 72 72 6f 72 28 22 50 6c 61 63 65 73 20 64 61 | nts.utils.reportError("Places.da |
2a0e0 | 74 61 62 61 73 65 20 6d 61 79 20 62 65 20 6c 6f 63 6b 65 64 3a 20 22 20 2b 20 65 78 29 3b 0a 20 | tabase.may.be.locked:.".+.ex);.. |
2a100 | 20 7d 0a 0a 20 20 2f 2f 20 68 6f 6f 6b 20 75 70 20 55 49 20 74 68 72 6f 75 67 68 20 70 72 6f 67 | .}....//.hook.up.UI.through.prog |
2a120 | 72 65 73 73 20 6c 69 73 74 65 6e 65 72 0a 20 20 67 42 72 6f 77 73 65 72 2e 61 64 64 50 72 6f 67 | ress.listener...gBrowser.addProg |
2a140 | 72 65 73 73 4c 69 73 74 65 6e 65 72 28 77 69 6e 64 6f 77 2e 58 55 4c 42 72 6f 77 73 65 72 57 69 | ressListener(window.XULBrowserWi |
2a160 | 6e 64 6f 77 2c 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 57 | ndow,.Components.interfaces.nsIW |
2a180 | 65 62 50 72 6f 67 72 65 73 73 2e 4e 4f 54 49 46 59 5f 41 4c 4c 29 3b 0a 20 20 67 42 72 6f 77 73 | ebProgress.NOTIFY_ALL);...gBrows |
2a1a0 | 65 72 2e 61 64 64 54 61 62 73 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 28 77 69 6e 64 6f | er.addTabsProgressListener(windo |
2a1c0 | 77 2e 54 61 62 73 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 29 3b 0a 0a 20 20 2f 2f 20 73 | w.TabsProgressListener);....//.s |
2a1e0 | 65 74 75 70 20 6f 75 72 20 63 6f 6d 6d 6f 6e 20 44 4f 4d 4c 69 6e 6b 41 64 64 65 64 20 6c 69 73 | etup.our.common.DOMLinkAdded.lis |
2a200 | 74 65 6e 65 72 0a 20 20 67 42 72 6f 77 73 65 72 2e 61 64 64 45 76 65 6e 74 4c 69 73 74 65 6e 65 | tener...gBrowser.addEventListene |
2a220 | 72 28 22 44 4f 4d 4c 69 6e 6b 41 64 64 65 64 22 2c 20 44 4f 4d 4c 69 6e 6b 48 61 6e 64 6c 65 72 | r("DOMLinkAdded",.DOMLinkHandler |
2a240 | 2c 20 66 61 6c 73 65 29 3b 0a 0a 20 20 2f 2f 20 73 65 74 75 70 20 6f 75 72 20 4d 6f 7a 41 70 70 | ,.false);....//.setup.our.MozApp |
2a260 | 6c 69 63 61 74 69 6f 6e 4d 61 6e 69 66 65 73 74 20 6c 69 73 74 65 6e 65 72 0a 20 20 67 42 72 6f | licationManifest.listener...gBro |
2a280 | 77 73 65 72 2e 61 64 64 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 28 22 4d 6f 7a 41 70 70 6c 69 63 | wser.addEventListener("MozApplic |
2a2a0 | 61 74 69 6f 6e 4d 61 6e 69 66 65 73 74 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ationManifest",................. |
2a2c0 | 20 20 20 20 20 20 20 20 20 20 20 20 4f 66 66 6c 69 6e 65 41 70 70 73 2c 20 66 61 6c 73 65 29 3b | ............OfflineApps,.false); |
2a2e0 | 0a 0a 20 20 2f 2f 20 73 65 74 75 70 20 73 69 6d 70 6c 65 20 67 65 73 74 75 72 65 73 20 73 75 70 | ....//.setup.simple.gestures.sup |
2a300 | 70 6f 72 74 0a 20 20 67 47 65 73 74 75 72 65 53 75 70 70 6f 72 74 2e 69 6e 69 74 28 74 72 75 65 | port...gGestureSupport.init(true |
2a320 | 29 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 64 65 6c 61 79 65 64 53 74 61 72 74 75 70 28 69 73 | );.}..function.delayedStartup(is |
2a340 | 4c 6f 61 64 69 6e 67 42 6c 61 6e 6b 2c 20 6d 75 73 74 4c 6f 61 64 53 69 64 65 62 61 72 29 20 7b | LoadingBlank,.mustLoadSidebar).{ |
2a360 | 0a 20 20 76 61 72 20 6f 73 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6f 62 73 | ...var.os.=.Cc["@mozilla.org/obs |
2a380 | 65 72 76 65 72 2d 73 65 72 76 69 63 65 3b 31 22 5d 2e 67 65 74 53 65 72 76 69 63 65 28 43 69 2e | erver-service;1"].getService(Ci. |
2a3a0 | 6e 73 49 4f 62 73 65 72 76 65 72 53 65 72 76 69 63 65 29 3b 0a 20 20 6f 73 2e 61 64 64 4f 62 73 | nsIObserverService);...os.addObs |
2a3c0 | 65 72 76 65 72 28 67 53 65 73 73 69 6f 6e 48 69 73 74 6f 72 79 4f 62 73 65 72 76 65 72 2c 20 22 | erver(gSessionHistoryObserver,." |
2a3e0 | 62 72 6f 77 73 65 72 3a 70 75 72 67 65 2d 73 65 73 73 69 6f 6e 2d 68 69 73 74 6f 72 79 22 2c 20 | browser:purge-session-history",. |
2a400 | 66 61 6c 73 65 29 3b 0a 20 20 6f 73 2e 61 64 64 4f 62 73 65 72 76 65 72 28 67 58 50 49 6e 73 74 | false);...os.addObserver(gXPInst |
2a420 | 61 6c 6c 4f 62 73 65 72 76 65 72 2c 20 22 78 70 69 6e 73 74 61 6c 6c 2d 69 6e 73 74 61 6c 6c 2d | allObserver,."xpinstall-install- |
2a440 | 62 6c 6f 63 6b 65 64 22 2c 20 66 61 6c 73 65 29 3b 0a 0a 20 20 42 72 6f 77 73 65 72 4f 66 66 6c | blocked",.false);....BrowserOffl |
2a460 | 69 6e 65 2e 69 6e 69 74 28 29 3b 0a 20 20 4f 66 66 6c 69 6e 65 41 70 70 73 2e 69 6e 69 74 28 29 | ine.init();...OfflineApps.init() |
2a480 | 3b 0a 0a 20 20 67 42 72 6f 77 73 65 72 2e 61 64 64 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 28 22 | ;....gBrowser.addEventListener(" |
2a4a0 | 70 61 67 65 73 68 6f 77 22 2c 20 66 75 6e 63 74 69 6f 6e 28 65 76 74 29 20 7b 20 73 65 74 54 69 | pageshow",.function(evt).{.setTi |
2a4c0 | 6d 65 6f 75 74 28 70 61 67 65 53 68 6f 77 45 76 65 6e 74 48 61 6e 64 6c 65 72 73 2c 20 30 2c 20 | meout(pageShowEventHandlers,.0,. |
2a4e0 | 65 76 74 29 3b 20 7d 2c 20 74 72 75 65 29 3b 0a 0a 20 20 2f 2f 20 45 6e 73 75 72 65 20 6c 6f 67 | evt);.},.true);....//.Ensure.log |
2a500 | 69 6e 20 6d 61 6e 61 67 65 72 20 69 73 20 75 70 20 61 6e 64 20 72 75 6e 6e 69 6e 67 2e 0a 20 20 | in.manager.is.up.and.running.... |
2a520 | 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6c 6f 67 69 6e 2d 6d 61 6e 61 67 65 72 3b 31 | Cc["@mozilla.org/login-manager;1 |
2a540 | 22 5d 2e 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 4c 6f 67 69 6e 4d 61 6e 61 67 65 72 | "].getService(Ci.nsILoginManager |
2a560 | 29 3b 0a 0a 20 20 69 66 20 28 6d 75 73 74 4c 6f 61 64 53 69 64 65 62 61 72 29 20 7b 0a 20 20 20 | );....if.(mustLoadSidebar).{.... |
2a580 | 20 6c 65 74 20 73 69 64 65 62 61 72 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 | .let.sidebar.=.document.getEleme |
2a5a0 | 6e 74 42 79 49 64 28 22 73 69 64 65 62 61 72 22 29 3b 0a 20 20 20 20 6c 65 74 20 73 69 64 65 62 | ntById("sidebar");.....let.sideb |
2a5c0 | 61 72 42 6f 78 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 | arBox.=.document.getElementById( |
2a5e0 | 22 73 69 64 65 62 61 72 2d 62 6f 78 22 29 3b 0a 20 20 20 20 73 69 64 65 62 61 72 2e 73 65 74 41 | "sidebar-box");.....sidebar.setA |
2a600 | 74 74 72 69 62 75 74 65 28 22 73 72 63 22 2c 20 73 69 64 65 62 61 72 42 6f 78 2e 67 65 74 41 74 | ttribute("src",.sidebarBox.getAt |
2a620 | 74 72 69 62 75 74 65 28 22 73 72 63 22 29 29 3b 0a 20 20 7d 0a 0a 20 20 55 70 64 61 74 65 55 72 | tribute("src"));...}....UpdateUr |
2a640 | 6c 62 61 72 53 65 61 72 63 68 53 70 6c 69 74 74 65 72 53 74 61 74 65 28 29 3b 0a 20 20 0a 20 20 | lbarSearchSplitterState();...... |
2a660 | 50 6c 61 63 65 73 53 74 61 72 42 75 74 74 6f 6e 2e 69 6e 69 74 28 29 3b 0a 0a 20 20 2f 2f 20 63 | PlacesStarButton.init();....//.c |
2a680 | 61 6c 6c 65 64 20 77 68 65 6e 20 77 65 20 67 6f 20 69 6e 74 6f 20 66 75 6c 6c 20 73 63 72 65 65 | alled.when.we.go.into.full.scree |
2a6a0 | 6e 2c 20 65 76 65 6e 20 69 66 20 69 74 20 69 73 0a 20 20 2f 2f 20 69 6e 69 74 69 61 74 65 64 20 | n,.even.if.it.is...//.initiated. |
2a6c0 | 62 79 20 61 20 77 65 62 20 70 61 67 65 20 73 63 72 69 70 74 0a 20 20 77 69 6e 64 6f 77 2e 61 64 | by.a.web.page.script...window.ad |
2a6e0 | 64 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 28 22 66 75 6c 6c 73 63 72 65 65 6e 22 2c 20 6f 6e 46 | dEventListener("fullscreen",.onF |
2a700 | 75 6c 6c 53 63 72 65 65 6e 2c 20 74 72 75 65 29 3b 0a 0a 20 20 69 66 20 28 69 73 4c 6f 61 64 69 | ullScreen,.true);....if.(isLoadi |
2a720 | 6e 67 42 6c 61 6e 6b 20 26 26 20 67 55 52 4c 42 61 72 20 26 26 20 69 73 45 6c 65 6d 65 6e 74 56 | ngBlank.&&.gURLBar.&&.isElementV |
2a740 | 69 73 69 62 6c 65 28 67 55 52 4c 42 61 72 29 29 0a 20 20 20 20 66 6f 63 75 73 45 6c 65 6d 65 6e | isible(gURLBar)).....focusElemen |
2a760 | 74 28 67 55 52 4c 42 61 72 29 3b 0a 20 20 65 6c 73 65 0a 20 20 20 20 66 6f 63 75 73 45 6c 65 6d | t(gURLBar);...else.....focusElem |
2a780 | 65 6e 74 28 63 6f 6e 74 65 6e 74 29 3b 0a 0a 20 20 69 66 20 28 67 55 52 4c 42 61 72 29 0a 20 20 | ent(content);....if.(gURLBar)... |
2a7a0 | 20 20 67 55 52 4c 42 61 72 2e 65 6d 70 74 79 54 65 78 74 20 3d 20 67 55 52 4c 42 61 72 45 6d 70 | ..gURLBar.emptyText.=.gURLBarEmp |
2a7c0 | 74 79 54 65 78 74 2e 76 61 6c 75 65 3b 0a 0a 20 20 67 4e 61 76 54 6f 6f 6c 62 6f 78 2e 63 75 73 | tyText.value;....gNavToolbox.cus |
2a7e0 | 74 6f 6d 69 7a 65 44 6f 6e 65 20 3d 20 42 72 6f 77 73 65 72 54 6f 6f 6c 62 6f 78 43 75 73 74 6f | tomizeDone.=.BrowserToolboxCusto |
2a800 | 6d 69 7a 65 44 6f 6e 65 3b 0a 20 20 67 4e 61 76 54 6f 6f 6c 62 6f 78 2e 63 75 73 74 6f 6d 69 7a | mizeDone;...gNavToolbox.customiz |
2a820 | 65 43 68 61 6e 67 65 20 3d 20 42 72 6f 77 73 65 72 54 6f 6f 6c 62 6f 78 43 75 73 74 6f 6d 69 7a | eChange.=.BrowserToolboxCustomiz |
2a840 | 65 43 68 61 6e 67 65 3b 0a 0a 20 20 2f 2f 20 53 65 74 20 75 70 20 53 61 6e 69 74 69 7a 65 20 49 | eChange;....//.Set.up.Sanitize.I |
2a860 | 74 65 6d 0a 20 20 69 6e 69 74 69 61 6c 69 7a 65 53 61 6e 69 74 69 7a 65 72 28 29 3b 0a 0a 20 20 | tem...initializeSanitizer();.... |
2a880 | 2f 2f 20 45 6e 61 62 6c 65 2f 44 69 73 61 62 6c 65 20 61 75 74 6f 2d 68 69 64 65 20 74 61 62 62 | //.Enable/Disable.auto-hide.tabb |
2a8a0 | 61 72 0a 20 20 67 41 75 74 6f 48 69 64 65 54 61 62 62 61 72 50 72 65 66 4c 69 73 74 65 6e 65 72 | ar...gAutoHideTabbarPrefListener |
2a8c0 | 20 3d 20 6e 65 77 20 41 75 74 6f 48 69 64 65 54 61 62 62 61 72 50 72 65 66 4c 69 73 74 65 6e 65 | .=.new.AutoHideTabbarPrefListene |
2a8e0 | 72 28 29 3b 0a 20 20 67 50 72 65 66 53 65 72 76 69 63 65 2e 61 64 64 4f 62 73 65 72 76 65 72 28 | r();...gPrefService.addObserver( |
2a900 | 67 41 75 74 6f 48 69 64 65 54 61 62 62 61 72 50 72 65 66 4c 69 73 74 65 6e 65 72 2e 64 6f 6d 61 | gAutoHideTabbarPrefListener.doma |
2a920 | 69 6e 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 | in,............................g |
2a940 | 41 75 74 6f 48 69 64 65 54 61 62 62 61 72 50 72 65 66 4c 69 73 74 65 6e 65 72 2c 20 66 61 6c 73 | AutoHideTabbarPrefListener,.fals |
2a960 | 65 29 3b 0a 0a 20 20 67 50 72 65 66 53 65 72 76 69 63 65 2e 61 64 64 4f 62 73 65 72 76 65 72 28 | e);....gPrefService.addObserver( |
2a980 | 67 48 6f 6d 65 42 75 74 74 6f 6e 2e 70 72 65 66 44 6f 6d 61 69 6e 2c 20 67 48 6f 6d 65 42 75 74 | gHomeButton.prefDomain,.gHomeBut |
2a9a0 | 74 6f 6e 2c 20 66 61 6c 73 65 29 3b 0a 0a 20 20 67 50 72 65 66 53 65 72 76 69 63 65 2e 61 64 64 | ton,.false);....gPrefService.add |
2a9c0 | 4f 62 73 65 72 76 65 72 28 67 55 52 4c 42 61 72 45 6d 70 74 79 54 65 78 74 2e 64 6f 6d 61 69 6e | Observer(gURLBarEmptyText.domain |
2a9e0 | 2c 20 67 55 52 4c 42 61 72 45 6d 70 74 79 54 65 78 74 2c 20 66 61 6c 73 65 29 3b 0a 0a 20 20 76 | ,.gURLBarEmptyText,.false);....v |
2aa00 | 61 72 20 68 6f 6d 65 42 75 74 74 6f 6e 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d | ar.homeButton.=.document.getElem |
2aa20 | 65 6e 74 42 79 49 64 28 22 68 6f 6d 65 2d 62 75 74 74 6f 6e 22 29 3b 0a 20 20 67 48 6f 6d 65 42 | entById("home-button");...gHomeB |
2aa40 | 75 74 74 6f 6e 2e 75 70 64 61 74 65 54 6f 6f 6c 74 69 70 28 68 6f 6d 65 42 75 74 74 6f 6e 29 3b | utton.updateTooltip(homeButton); |
2aa60 | 0a 20 20 67 48 6f 6d 65 42 75 74 74 6f 6e 2e 75 70 64 61 74 65 50 65 72 73 6f 6e 61 6c 54 6f 6f | ...gHomeButton.updatePersonalToo |
2aa80 | 6c 62 61 72 53 74 79 6c 65 28 68 6f 6d 65 42 75 74 74 6f 6e 29 3b 0a 0a 2f 2f 40 6c 69 6e 65 20 | lbarStyle(homeButton);..//@line. |
2aaa0 | 31 32 35 35 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 | 1255."/builds/moz2_slave/linux_b |
2aac0 | 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 62 61 73 65 2f 63 6f 6e 74 65 6e 74 2f | uild/build/browser/base/content/ |
2aae0 | 62 72 6f 77 73 65 72 2e 6a 73 22 0a 20 20 2f 2f 20 50 65 72 66 6f 72 6d 20 64 65 66 61 75 6c 74 | browser.js"...//.Perform.default |
2ab00 | 20 62 72 6f 77 73 65 72 20 63 68 65 63 6b 69 6e 67 20 28 61 66 74 65 72 20 77 69 6e 64 6f 77 20 | .browser.checking.(after.window. |
2ab20 | 6f 70 65 6e 73 29 2e 0a 20 20 76 61 72 20 73 68 65 6c 6c 20 3d 20 67 65 74 53 68 65 6c 6c 53 65 | opens)....var.shell.=.getShellSe |
2ab40 | 72 76 69 63 65 28 29 3b 0a 20 20 69 66 20 28 73 68 65 6c 6c 29 20 7b 0a 20 20 20 20 76 61 72 20 | rvice();...if.(shell).{.....var. |
2ab60 | 73 68 6f 75 6c 64 43 68 65 63 6b 20 3d 20 73 68 65 6c 6c 2e 73 68 6f 75 6c 64 43 68 65 63 6b 44 | shouldCheck.=.shell.shouldCheckD |
2ab80 | 65 66 61 75 6c 74 42 72 6f 77 73 65 72 3b 0a 20 20 20 20 76 61 72 20 77 69 6c 6c 52 65 63 6f 76 | efaultBrowser;.....var.willRecov |
2aba0 | 65 72 53 65 73 73 69 6f 6e 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 74 72 79 20 7b 0a 20 20 20 | erSession.=.false;.....try.{.... |
2abc0 | 20 20 20 76 61 72 20 73 73 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 62 72 6f | ...var.ss.=.Cc["@mozilla.org/bro |
2abe0 | 77 73 65 72 2f 73 65 73 73 69 6f 6e 73 74 61 72 74 75 70 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 | wser/sessionstartup;1"]......... |
2ac00 | 20 20 20 20 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 53 65 73 73 69 6f 6e | ........getService(Ci.nsISession |
2ac20 | 53 74 61 72 74 75 70 29 3b 0a 20 20 20 20 20 20 77 69 6c 6c 52 65 63 6f 76 65 72 53 65 73 73 69 | Startup);.......willRecoverSessi |
2ac40 | 6f 6e 20 3d 0a 20 20 20 20 20 20 20 20 28 73 73 2e 73 65 73 73 69 6f 6e 54 79 70 65 20 3d 3d 20 | on.=.........(ss.sessionType.==. |
2ac60 | 43 69 2e 6e 73 49 53 65 73 73 69 6f 6e 53 74 61 72 74 75 70 2e 52 45 43 4f 56 45 52 5f 53 45 53 | Ci.nsISessionStartup.RECOVER_SES |
2ac80 | 53 49 4f 4e 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 63 61 74 63 68 20 28 65 78 29 20 7b 20 2f 2a | SION);.....}.....catch.(ex).{./* |
2aca0 | 20 6e 65 76 65 72 20 6d 69 6e 64 3b 20 73 75 70 70 6f 73 65 20 53 65 73 73 69 6f 6e 53 74 6f 72 | .never.mind;.suppose.SessionStor |
2acc0 | 65 20 69 73 20 62 72 6f 6b 65 6e 20 2a 2f 20 7d 0a 20 20 20 20 69 66 20 28 73 68 6f 75 6c 64 43 | e.is.broken.*/.}.....if.(shouldC |
2ace0 | 68 65 63 6b 20 26 26 20 21 73 68 65 6c 6c 2e 69 73 44 65 66 61 75 6c 74 42 72 6f 77 73 65 72 28 | heck.&&.!shell.isDefaultBrowser( |
2ad00 | 74 72 75 65 29 20 26 26 20 21 77 69 6c 6c 52 65 63 6f 76 65 72 53 65 73 73 69 6f 6e 29 20 7b 0a | true).&&.!willRecoverSession).{. |
2ad20 | 20 20 20 20 20 20 76 61 72 20 62 72 61 6e 64 42 75 6e 64 6c 65 20 3d 20 64 6f 63 75 6d 65 6e 74 | ......var.brandBundle.=.document |
2ad40 | 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 62 75 6e 64 6c 65 5f 62 72 61 6e 64 22 29 3b | .getElementById("bundle_brand"); |
2ad60 | 0a 20 20 20 20 20 20 76 61 72 20 73 68 65 6c 6c 42 75 6e 64 6c 65 20 3d 20 64 6f 63 75 6d 65 6e | .......var.shellBundle.=.documen |
2ad80 | 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 62 75 6e 64 6c 65 5f 73 68 65 6c 6c 22 29 | t.getElementById("bundle_shell") |
2ada0 | 3b 0a 0a 20 20 20 20 20 20 76 61 72 20 62 72 61 6e 64 53 68 6f 72 74 4e 61 6d 65 20 3d 20 62 72 | ;........var.brandShortName.=.br |
2adc0 | 61 6e 64 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 62 72 61 6e 64 53 68 6f 72 74 4e | andBundle.getString("brandShortN |
2ade0 | 61 6d 65 22 29 3b 0a 20 20 20 20 20 20 76 61 72 20 70 72 6f 6d 70 74 54 69 74 6c 65 20 3d 20 73 | ame");.......var.promptTitle.=.s |
2ae00 | 68 65 6c 6c 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 73 65 74 44 65 66 61 75 6c 74 | hellBundle.getString("setDefault |
2ae20 | 42 72 6f 77 73 65 72 54 69 74 6c 65 22 29 3b 0a 20 20 20 20 20 20 76 61 72 20 70 72 6f 6d 70 74 | BrowserTitle");.......var.prompt |
2ae40 | 4d 65 73 73 61 67 65 20 3d 20 73 68 65 6c 6c 42 75 6e 64 6c 65 2e 67 65 74 46 6f 72 6d 61 74 74 | Message.=.shellBundle.getFormatt |
2ae60 | 65 64 53 74 72 69 6e 67 28 22 73 65 74 44 65 66 61 75 6c 74 42 72 6f 77 73 65 72 4d 65 73 73 61 | edString("setDefaultBrowserMessa |
2ae80 | 67 65 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ge",............................ |
2aea0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 5b 62 | ..............................[b |
2aec0 | 72 61 6e 64 53 68 6f 72 74 4e 61 6d 65 5d 29 3b 0a 20 20 20 20 20 20 76 61 72 20 63 68 65 63 6b | randShortName]);.......var.check |
2aee0 | 62 6f 78 4c 61 62 65 6c 20 3d 20 73 68 65 6c 6c 42 75 6e 64 6c 65 2e 67 65 74 46 6f 72 6d 61 74 | boxLabel.=.shellBundle.getFormat |
2af00 | 74 65 64 53 74 72 69 6e 67 28 22 73 65 74 44 65 66 61 75 6c 74 42 72 6f 77 73 65 72 44 6f 6e 74 | tedString("setDefaultBrowserDont |
2af20 | 41 73 6b 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | Ask",........................... |
2af40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 5b | ...............................[ |
2af60 | 62 72 61 6e 64 53 68 6f 72 74 4e 61 6d 65 5d 29 3b 0a 20 20 20 20 20 20 63 6f 6e 73 74 20 49 50 | brandShortName]);.......const.IP |
2af80 | 53 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 50 72 6f | S.=.Components.interfaces.nsIPro |
2afa0 | 6d 70 74 53 65 72 76 69 63 65 3b 0a 20 20 20 20 20 20 76 61 72 20 70 73 20 3d 20 43 6f 6d 70 6f | mptService;.......var.ps.=.Compo |
2afc0 | 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 65 6d 62 65 | nents.classes["@mozilla.org/embe |
2afe0 | 64 63 6f 6d 70 2f 70 72 6f 6d 70 74 2d 73 65 72 76 69 63 65 3b 31 22 5d 0a 20 20 20 20 20 20 20 | dcomp/prompt-service;1"]........ |
2b000 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
2b020 | 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 49 50 53 29 3b 0a 20 20 20 20 20 | ..........getService(IPS);...... |
2b040 | 20 76 61 72 20 63 68 65 63 6b 45 76 65 72 79 54 69 6d 65 20 3d 20 7b 20 76 61 6c 75 65 3a 20 73 | .var.checkEveryTime.=.{.value:.s |
2b060 | 68 6f 75 6c 64 43 68 65 63 6b 20 7d 3b 0a 20 20 20 20 20 20 76 61 72 20 72 76 20 3d 20 70 73 2e | houldCheck.};.......var.rv.=.ps. |
2b080 | 63 6f 6e 66 69 72 6d 45 78 28 77 69 6e 64 6f 77 2c 20 70 72 6f 6d 70 74 54 69 74 6c 65 2c 20 70 | confirmEx(window,.promptTitle,.p |
2b0a0 | 72 6f 6d 70 74 4d 65 73 73 61 67 65 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | romptMessage,................... |
2b0c0 | 20 20 20 20 20 20 20 20 20 20 49 50 53 2e 53 54 44 5f 59 45 53 5f 4e 4f 5f 42 55 54 54 4f 4e 53 | ..........IPS.STD_YES_NO_BUTTONS |
2b0e0 | 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 75 | ,.............................nu |
2b100 | 6c 6c 2c 20 6e 75 6c 6c 2c 20 6e 75 6c 6c 2c 20 63 68 65 63 6b 62 6f 78 4c 61 62 65 6c 2c 20 63 | ll,.null,.null,.checkboxLabel,.c |
2b120 | 68 65 63 6b 45 76 65 72 79 54 69 6d 65 29 3b 0a 20 20 20 20 20 20 69 66 20 28 72 76 20 3d 3d 20 | heckEveryTime);.......if.(rv.==. |
2b140 | 30 29 0a 20 20 20 20 20 20 20 20 73 68 65 6c 6c 2e 73 65 74 44 65 66 61 75 6c 74 42 72 6f 77 73 | 0).........shell.setDefaultBrows |
2b160 | 65 72 28 74 72 75 65 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 20 20 20 73 68 65 6c 6c 2e 73 68 6f | er(true,.false);.......shell.sho |
2b180 | 75 6c 64 43 68 65 63 6b 44 65 66 61 75 6c 74 42 72 6f 77 73 65 72 20 3d 20 63 68 65 63 6b 45 76 | uldCheckDefaultBrowser.=.checkEv |
2b1a0 | 65 72 79 54 69 6d 65 2e 76 61 6c 75 65 3b 0a 20 20 20 20 7d 0a 20 20 7d 0a 2f 2f 40 6c 69 6e 65 | eryTime.value;.....}...}.//@line |
2b1c0 | 20 31 32 39 30 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f | .1290."/builds/moz2_slave/linux_ |
2b1e0 | 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 62 61 73 65 2f 63 6f 6e 74 65 6e 74 | build/build/browser/base/content |
2b200 | 2f 62 72 6f 77 73 65 72 2e 6a 73 22 0a 0a 20 20 2f 2f 20 42 69 44 69 20 55 49 0a 20 20 67 42 69 | /browser.js"....//.BiDi.UI...gBi |
2b220 | 64 69 55 49 20 3d 20 69 73 42 69 64 69 45 6e 61 62 6c 65 64 28 29 3b 0a 20 20 69 66 20 28 67 42 | diUI.=.isBidiEnabled();...if.(gB |
2b240 | 69 64 69 55 49 29 20 7b 0a 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 | idiUI).{.....document.getElement |
2b260 | 42 79 49 64 28 22 64 6f 63 75 6d 65 6e 74 44 69 72 65 63 74 69 6f 6e 2d 73 65 70 61 72 61 74 6f | ById("documentDirection-separato |
2b280 | 72 22 29 2e 68 69 64 64 65 6e 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 64 6f 63 75 6d 65 6e 74 | r").hidden.=.false;.....document |
2b2a0 | 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 64 6f 63 75 6d 65 6e 74 44 69 72 65 63 74 69 | .getElementById("documentDirecti |
2b2c0 | 6f 6e 2d 73 77 61 70 22 29 2e 68 69 64 64 65 6e 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 64 6f | on-swap").hidden.=.false;.....do |
2b2e0 | 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 74 65 78 74 66 69 65 6c 64 | cument.getElementById("textfield |
2b300 | 44 69 72 65 63 74 69 6f 6e 2d 73 65 70 61 72 61 74 6f 72 22 29 2e 68 69 64 64 65 6e 20 3d 20 66 | Direction-separator").hidden.=.f |
2b320 | 61 6c 73 65 3b 0a 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 | alse;.....document.getElementByI |
2b340 | 64 28 22 74 65 78 74 66 69 65 6c 64 44 69 72 65 63 74 69 6f 6e 2d 73 77 61 70 22 29 2e 68 69 64 | d("textfieldDirection-swap").hid |
2b360 | 64 65 6e 20 3d 20 66 61 6c 73 65 3b 0a 20 20 7d 0a 0a 2f 2f 40 6c 69 6e 65 20 31 33 30 36 20 22 | den.=.false;...}..//@line.1306." |
2b380 | 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 | /builds/moz2_slave/linux_build/b |
2b3a0 | 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 62 61 73 65 2f 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 | uild/browser/base/content/browse |
2b3c0 | 72 2e 6a 73 22 0a 0a 20 20 2f 2f 20 49 6e 69 74 69 61 6c 69 7a 65 20 74 68 65 20 66 75 6c 6c 20 | r.js"....//.Initialize.the.full. |
2b3e0 | 7a 6f 6f 6d 20 73 65 74 74 69 6e 67 2e 0a 20 20 2f 2f 20 57 65 20 64 6f 20 74 68 69 73 20 62 65 | zoom.setting....//.We.do.this.be |
2b400 | 66 6f 72 65 20 74 68 65 20 73 65 73 73 69 6f 6e 20 72 65 73 74 6f 72 65 20 73 65 72 76 69 63 65 | fore.the.session.restore.service |
2b420 | 20 67 65 74 73 20 69 6e 69 74 69 61 6c 69 7a 65 64 20 73 6f 20 77 65 20 63 61 6e 0a 20 20 2f 2f | .gets.initialized.so.we.can...// |
2b440 | 20 61 70 70 6c 79 20 66 75 6c 6c 20 7a 6f 6f 6d 20 73 65 74 74 69 6e 67 73 20 74 6f 20 74 61 62 | .apply.full.zoom.settings.to.tab |
2b460 | 73 20 72 65 73 74 6f 72 65 64 20 62 79 20 74 68 65 20 73 65 73 73 69 6f 6e 20 72 65 73 74 6f 72 | s.restored.by.the.session.restor |
2b480 | 65 20 73 65 72 76 69 63 65 2e 0a 20 20 74 72 79 20 7b 0a 20 20 20 20 46 75 6c 6c 5a 6f 6f 6d 2e | e.service....try.{.....FullZoom. |
2b4a0 | 69 6e 69 74 28 29 3b 0a 20 20 7d 0a 20 20 63 61 74 63 68 28 65 78 29 20 7b 0a 20 20 20 20 43 6f | init();...}...catch(ex).{.....Co |
2b4c0 | 6d 70 6f 6e 65 6e 74 73 2e 75 74 69 6c 73 2e 72 65 70 6f 72 74 45 72 72 6f 72 28 22 46 61 69 6c | mponents.utils.reportError("Fail |
2b4e0 | 65 64 20 74 6f 20 69 6e 69 74 20 63 6f 6e 74 65 6e 74 20 70 72 65 66 20 73 65 72 76 69 63 65 3a | ed.to.init.content.pref.service: |
2b500 | 5c 6e 22 20 2b 20 65 78 29 3b 0a 20 20 7d 0a 0a 20 20 2f 2f 20 69 6e 69 74 69 61 6c 69 7a 65 20 | \n".+.ex);...}....//.initialize. |
2b520 | 74 68 65 20 73 65 73 73 69 6f 6e 2d 72 65 73 74 6f 72 65 20 73 65 72 76 69 63 65 20 28 69 6e 20 | the.session-restore.service.(in. |
2b540 | 63 61 73 65 20 69 74 27 73 20 6e 6f 74 20 61 6c 72 65 61 64 79 20 72 75 6e 6e 69 6e 67 29 0a 20 | case.it's.not.already.running).. |
2b560 | 20 69 66 20 28 64 6f 63 75 6d 65 6e 74 2e 64 6f 63 75 6d 65 6e 74 45 6c 65 6d 65 6e 74 2e 67 65 | .if.(document.documentElement.ge |
2b580 | 74 41 74 74 72 69 62 75 74 65 28 22 77 69 6e 64 6f 77 74 79 70 65 22 29 20 3d 3d 20 22 6e 61 76 | tAttribute("windowtype").==."nav |
2b5a0 | 69 67 61 74 6f 72 3a 62 72 6f 77 73 65 72 22 29 20 7b 0a 20 20 20 20 74 72 79 20 7b 0a 20 20 20 | igator:browser").{.....try.{.... |
2b5c0 | 20 20 20 76 61 72 20 73 73 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 62 72 6f | ...var.ss.=.Cc["@mozilla.org/bro |
2b5e0 | 77 73 65 72 2f 73 65 73 73 69 6f 6e 73 74 6f 72 65 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 | wser/sessionstore;1"]........... |
2b600 | 20 20 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 53 65 73 73 69 6f 6e 53 74 | ......getService(Ci.nsISessionSt |
2b620 | 6f 72 65 29 3b 0a 20 20 20 20 20 20 73 73 2e 69 6e 69 74 28 77 69 6e 64 6f 77 29 3b 0a 20 20 20 | ore);.......ss.init(window);.... |
2b640 | 20 7d 20 63 61 74 63 68 28 65 78 29 20 7b 0a 20 20 20 20 20 20 64 75 6d 70 28 22 6e 73 53 65 73 | .}.catch(ex).{.......dump("nsSes |
2b660 | 73 69 6f 6e 53 74 6f 72 65 20 63 6f 75 6c 64 20 6e 6f 74 20 62 65 20 69 6e 69 74 69 61 6c 69 7a | sionStore.could.not.be.initializ |
2b680 | 65 64 3a 20 22 20 2b 20 65 78 20 2b 20 22 5c 6e 22 29 3b 0a 20 20 20 20 7d 0a 20 20 7d 0a 0a 20 | ed:.".+.ex.+."\n");.....}...}... |
2b6a0 | 20 2f 2f 20 62 6f 6f 6b 6d 61 72 6b 2d 61 6c 6c 2d 74 61 62 73 20 63 6f 6d 6d 61 6e 64 0a 20 20 | .//.bookmark-all-tabs.command... |
2b6c0 | 67 42 6f 6f 6b 6d 61 72 6b 41 6c 6c 54 61 62 73 48 61 6e 64 6c 65 72 20 3d 20 6e 65 77 20 42 6f | gBookmarkAllTabsHandler.=.new.Bo |
2b6e0 | 6f 6b 6d 61 72 6b 41 6c 6c 54 61 62 73 48 61 6e 64 6c 65 72 28 29 3b 0a 0a 20 20 2f 2f 20 41 74 | okmarkAllTabsHandler();....//.At |
2b700 | 74 61 63 68 20 61 20 6c 69 73 74 65 6e 65 72 20 74 6f 20 77 61 74 63 68 20 66 6f 72 20 22 63 6f | tach.a.listener.to.watch.for."co |
2b720 | 6d 6d 61 6e 64 22 20 65 76 65 6e 74 73 20 62 75 62 62 6c 69 6e 67 20 75 70 20 66 72 6f 6d 20 65 | mmand".events.bubbling.up.from.e |
2b740 | 72 72 6f 72 0a 20 20 2f 2f 20 70 61 67 65 73 2e 20 20 54 68 69 73 20 6c 65 74 73 20 75 73 20 66 | rror...//.pages...This.lets.us.f |
2b760 | 69 78 20 62 75 67 73 20 6c 69 6b 65 20 34 30 31 35 37 35 20 77 68 69 63 68 20 72 65 71 75 69 72 | ix.bugs.like.401575.which.requir |
2b780 | 65 20 65 72 72 6f 72 20 70 61 67 65 20 55 49 20 74 6f 0a 20 20 2f 2f 20 64 6f 20 70 72 69 76 69 | e.error.page.UI.to...//.do.privi |
2b7a0 | 6c 65 67 65 64 20 74 68 69 6e 67 73 2c 20 77 69 74 68 6f 75 74 20 6c 65 74 74 69 6e 67 20 65 72 | leged.things,.without.letting.er |
2b7c0 | 72 6f 72 20 70 61 67 65 73 20 68 61 76 65 20 61 6e 79 20 70 72 69 76 69 6c 65 67 65 0a 20 20 2f | ror.pages.have.any.privilege.../ |
2b7e0 | 2f 20 74 68 65 6d 73 65 6c 76 65 73 2e 0a 20 20 67 42 72 6f 77 73 65 72 2e 61 64 64 45 76 65 6e | /.themselves....gBrowser.addEven |
2b800 | 74 4c 69 73 74 65 6e 65 72 28 22 63 6f 6d 6d 61 6e 64 22 2c 20 42 72 6f 77 73 65 72 4f 6e 43 6f | tListener("command",.BrowserOnCo |
2b820 | 6d 6d 61 6e 64 2c 20 66 61 6c 73 65 29 3b 0a 0a 20 20 74 61 62 50 72 65 76 69 65 77 73 2e 69 6e | mmand,.false);....tabPreviews.in |
2b840 | 69 74 28 29 3b 0a 2f 2f 40 6c 69 6e 65 20 31 33 34 31 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 | it();.//@line.1341."/builds/moz2 |
2b860 | 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 | _slave/linux_build/build/browser |
2b880 | 2f 62 61 73 65 2f 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2e 6a 73 22 0a 0a 20 20 2f 2f 20 | /base/content/browser.js"....//. |
2b8a0 | 49 6e 69 74 69 61 6c 69 7a 65 20 74 68 65 20 6d 69 63 72 6f 73 75 6d 6d 61 72 79 20 73 65 72 76 | Initialize.the.microsummary.serv |
2b8c0 | 69 63 65 20 62 79 20 72 65 74 72 69 65 76 69 6e 67 20 69 74 2c 20 70 72 6f 6d 70 74 69 6e 67 20 | ice.by.retrieving.it,.prompting. |
2b8e0 | 69 74 73 20 66 61 63 74 6f 72 79 0a 20 20 2f 2f 20 74 6f 20 63 72 65 61 74 65 20 69 74 73 20 73 | its.factory...//.to.create.its.s |
2b900 | 69 6e 67 6c 65 74 6f 6e 2c 20 77 68 6f 73 65 20 63 6f 6e 73 74 72 75 63 74 6f 72 20 69 6e 69 74 | ingleton,.whose.constructor.init |
2b920 | 69 61 6c 69 7a 65 73 20 74 68 65 20 73 65 72 76 69 63 65 2e 0a 20 20 2f 2f 20 53 74 61 72 74 65 | ializes.the.service....//.Starte |
2b940 | 64 20 34 20 73 65 63 6f 6e 64 73 20 61 66 74 65 72 20 64 65 6c 61 79 65 64 53 74 61 72 74 75 70 | d.4.seconds.after.delayedStartup |
2b960 | 20 28 62 65 66 6f 72 65 20 74 68 65 20 6c 69 76 65 6d 61 72 6b 73 20 73 65 72 76 69 63 65 20 62 | .(before.the.livemarks.service.b |
2b980 | 65 6c 6f 77 29 2e 0a 20 20 73 65 74 54 69 6d 65 6f 75 74 28 66 75 6e 63 74 69 6f 6e 28 29 20 7b | elow)....setTimeout(function().{ |
2b9a0 | 0a 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 | .....try.{.......Cc["@mozilla.or |
2b9c0 | 67 2f 6d 69 63 72 6f 73 75 6d 6d 61 72 79 2f 73 65 72 76 69 63 65 3b 31 22 5d 2e 67 65 74 53 65 | g/microsummary/service;1"].getSe |
2b9e0 | 72 76 69 63 65 28 43 69 2e 6e 73 49 4d 69 63 72 6f 73 75 6d 6d 61 72 79 53 65 72 76 69 63 65 29 | rvice(Ci.nsIMicrosummaryService) |
2ba00 | 3b 0a 20 20 20 20 7d 20 63 61 74 63 68 20 28 65 78 29 20 7b 0a 20 20 20 20 20 20 43 6f 6d 70 6f | ;.....}.catch.(ex).{.......Compo |
2ba20 | 6e 65 6e 74 73 2e 75 74 69 6c 73 2e 72 65 70 6f 72 74 45 72 72 6f 72 28 22 46 61 69 6c 65 64 20 | nents.utils.reportError("Failed. |
2ba40 | 74 6f 20 69 6e 69 74 20 6d 69 63 72 6f 73 75 6d 6d 61 72 79 20 73 65 72 76 69 63 65 3a 5c 6e 22 | to.init.microsummary.service:\n" |
2ba60 | 20 2b 20 65 78 29 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 20 34 30 30 30 29 3b 0a 0a 20 20 2f 2f 20 | .+.ex);.....}...},.4000);....//. |
2ba80 | 44 65 6c 61 79 65 64 20 69 6e 69 74 69 61 6c 69 7a 61 74 69 6f 6e 20 6f 66 20 74 68 65 20 6c 69 | Delayed.initialization.of.the.li |
2baa0 | 76 65 6d 61 72 6b 73 20 75 70 64 61 74 65 20 74 69 6d 65 72 2e 0a 20 20 2f 2f 20 4c 69 76 65 6d | vemarks.update.timer....//.Livem |
2bac0 | 61 72 6b 20 75 70 64 61 74 65 73 20 64 6f 6e 27 74 20 6e 65 65 64 20 74 6f 20 73 74 61 72 74 20 | ark.updates.don't.need.to.start. |
2bae0 | 75 6e 74 69 6c 20 61 66 74 65 72 20 62 6f 6f 6b 6d 61 72 6b 20 55 49 20 0a 20 20 2f 2f 20 73 75 | until.after.bookmark.UI....//.su |
2bb00 | 63 68 20 61 73 20 74 68 65 20 74 6f 6f 6c 62 61 72 20 68 61 73 20 69 6e 69 74 69 61 6c 69 7a 65 | ch.as.the.toolbar.has.initialize |
2bb20 | 64 2e 20 53 74 61 72 74 69 6e 67 20 35 20 73 65 63 6f 6e 64 73 20 61 66 74 65 72 0a 20 20 2f 2f | d..Starting.5.seconds.after...// |
2bb40 | 20 64 65 6c 61 79 65 64 53 74 61 72 74 75 70 20 69 6e 20 6f 72 64 65 72 20 74 6f 20 73 74 61 67 | .delayedStartup.in.order.to.stag |
2bb60 | 67 65 72 20 74 68 69 73 20 61 66 74 65 72 20 74 68 65 20 6d 69 63 72 6f 73 75 6d 6d 61 72 79 0a | ger.this.after.the.microsummary. |
2bb80 | 20 20 2f 2f 20 73 65 72 76 69 63 65 20 28 73 65 65 20 61 62 6f 76 65 29 20 61 6e 64 20 62 65 66 | ..//.service.(see.above).and.bef |
2bba0 | 6f 72 65 20 74 68 65 20 64 6f 77 6e 6c 6f 61 64 20 6d 61 6e 61 67 65 72 20 73 74 61 72 74 73 20 | ore.the.download.manager.starts. |
2bbc0 | 28 73 65 65 20 62 65 6c 6f 77 29 2e 0a 20 20 73 65 74 54 69 6d 65 6f 75 74 28 66 75 6e 63 74 69 | (see.below)....setTimeout(functi |
2bbe0 | 6f 6e 28 29 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 6c 69 76 65 6d 61 72 6b 73 2e 73 74 61 72 74 | on().PlacesUtils.livemarks.start |
2bc00 | 28 29 2c 20 35 30 30 30 29 3b 0a 0a 20 20 2f 2f 20 49 6e 69 74 69 61 6c 69 7a 65 20 74 68 65 20 | (),.5000);....//.Initialize.the. |
2bc20 | 64 6f 77 6e 6c 6f 61 64 20 6d 61 6e 61 67 65 72 20 73 6f 6d 65 20 74 69 6d 65 20 61 66 74 65 72 | download.manager.some.time.after |
2bc40 | 20 74 68 65 20 61 70 70 20 73 74 61 72 74 73 20 73 6f 20 74 68 61 74 0a 20 20 2f 2f 20 61 75 74 | .the.app.starts.so.that...//.aut |
2bc60 | 6f 2d 72 65 73 75 6d 65 20 64 6f 77 6e 6c 6f 61 64 73 20 62 65 67 69 6e 20 28 73 75 63 68 20 61 | o-resume.downloads.begin.(such.a |
2bc80 | 73 20 61 66 74 65 72 20 63 72 61 73 68 69 6e 67 20 6f 72 20 71 75 69 74 74 69 6e 67 20 77 69 74 | s.after.crashing.or.quitting.wit |
2bca0 | 68 0a 20 20 2f 2f 20 61 63 74 69 76 65 20 64 6f 77 6e 6c 6f 61 64 73 29 20 61 6e 64 20 73 70 65 | h...//.active.downloads).and.spe |
2bcc0 | 65 64 73 20 75 70 20 74 68 65 20 66 69 72 73 74 2d 6c 6f 61 64 20 6f 66 20 74 68 65 20 64 6f 77 | eds.up.the.first-load.of.the.dow |
2bce0 | 6e 6c 6f 61 64 20 6d 61 6e 61 67 65 72 20 55 49 2e 0a 20 20 2f 2f 20 49 66 20 74 68 65 20 75 73 | nload.manager.UI....//.If.the.us |
2bd00 | 65 72 20 6d 61 6e 75 61 6c 6c 79 20 6f 70 65 6e 73 20 74 68 65 20 64 6f 77 6e 6c 6f 61 64 20 6d | er.manually.opens.the.download.m |
2bd20 | 61 6e 61 67 65 72 20 62 65 66 6f 72 65 20 74 68 65 20 74 69 6d 65 6f 75 74 2c 20 74 68 65 0a 20 | anager.before.the.timeout,.the.. |
2bd40 | 20 2f 2f 20 64 6f 77 6e 6c 6f 61 64 73 20 77 69 6c 6c 20 73 74 61 72 74 20 72 69 67 68 74 20 61 | .//.downloads.will.start.right.a |
2bd60 | 77 61 79 2c 20 61 6e 64 20 67 65 74 74 69 6e 67 20 74 68 65 20 73 65 72 76 69 63 65 20 61 67 61 | way,.and.getting.the.service.aga |
2bd80 | 69 6e 20 77 6f 6e 27 74 20 68 75 72 74 2e 0a 20 20 73 65 74 54 69 6d 65 6f 75 74 28 66 75 6e 63 | in.won't.hurt....setTimeout(func |
2bda0 | 74 69 6f 6e 28 29 20 7b 0a 20 20 20 20 67 44 6f 77 6e 6c 6f 61 64 4d 67 72 20 3d 20 43 63 5b 22 | tion().{.....gDownloadMgr.=.Cc[" |
2bdc0 | 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 64 6f 77 6e 6c 6f 61 64 2d 6d 61 6e 61 67 65 72 3b 31 22 | @mozilla.org/download-manager;1" |
2bde0 | 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 53 65 72 76 69 63 65 | ].....................getService |
2be00 | 28 43 69 2e 6e 73 49 44 6f 77 6e 6c 6f 61 64 4d 61 6e 61 67 65 72 29 3b 0a 0a 20 20 20 20 2f 2f | (Ci.nsIDownloadManager);......// |
2be20 | 20 49 6e 69 74 69 61 6c 69 7a 65 20 74 68 65 20 64 6f 77 6e 6c 6f 61 64 73 20 6d 6f 6e 69 74 6f | .Initialize.the.downloads.monito |
2be40 | 72 20 70 61 6e 65 6c 20 6c 69 73 74 65 6e 65 72 0a 20 20 20 20 44 6f 77 6e 6c 6f 61 64 4d 6f 6e | r.panel.listener.....DownloadMon |
2be60 | 69 74 6f 72 50 61 6e 65 6c 2e 69 6e 69 74 28 29 3b 0a 20 20 7d 2c 20 31 30 30 30 30 29 3b 0a 0a | itorPanel.init();...},.10000);.. |
2be80 | 20 20 2f 2f 20 44 65 6c 61 79 65 64 20 69 6e 69 74 69 61 6c 69 7a 61 74 69 6f 6e 20 6f 66 20 50 | ..//.Delayed.initialization.of.P |
2bea0 | 6c 61 63 65 73 44 42 55 74 69 6c 73 2e 0a 20 20 2f 2f 20 54 68 69 73 20 63 6f 6d 70 6f 6e 65 6e | lacesDBUtils....//.This.componen |
2bec0 | 74 20 63 68 65 63 6b 73 20 66 6f 72 20 64 61 74 61 62 61 73 65 20 63 6f 68 65 72 65 6e 63 65 20 | t.checks.for.database.coherence. |
2bee0 | 6f 6e 63 65 20 70 65 72 20 64 61 79 2c 20 6f 6e 0a 20 20 2f 2f 20 61 6e 20 69 64 6c 65 20 74 69 | once.per.day,.on...//.an.idle.ti |
2bf00 | 6d 65 72 2c 20 74 61 6b 69 6e 67 20 63 6f 72 72 65 63 74 69 76 65 20 61 63 74 69 6f 6e 73 20 77 | mer,.taking.corrective.actions.w |
2bf20 | 68 65 72 65 20 6e 65 65 64 65 64 2e 0a 20 20 73 65 74 54 69 6d 65 6f 75 74 28 66 75 6e 63 74 69 | here.needed....setTimeout(functi |
2bf40 | 6f 6e 28 29 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 73 74 61 72 74 50 6c 61 63 65 73 44 42 55 74 | on().PlacesUtils.startPlacesDBUt |
2bf60 | 69 6c 73 28 29 2c 20 31 35 30 30 30 29 3b 0a 0a 2f 2f 40 6c 69 6e 65 20 31 33 37 39 20 22 2f 62 | ils(),.15000);..//@line.1379."/b |
2bf80 | 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 | uilds/moz2_slave/linux_build/bui |
2bfa0 | 6c 64 2f 62 72 6f 77 73 65 72 2f 62 61 73 65 2f 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2e | ld/browser/base/content/browser. |
2bfc0 | 6a 73 22 0a 20 20 75 70 64 61 74 65 45 64 69 74 55 49 56 69 73 69 62 69 6c 69 74 79 28 29 3b 0a | js"...updateEditUIVisibility();. |
2bfe0 | 20 20 6c 65 74 20 70 6c 61 63 65 73 43 6f 6e 74 65 78 74 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 | ..let.placesContext.=.document.g |
2c000 | 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 70 6c 61 63 65 73 43 6f 6e 74 65 78 74 22 29 3b 0a | etElementById("placesContext");. |
2c020 | 20 20 70 6c 61 63 65 73 43 6f 6e 74 65 78 74 2e 61 64 64 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 | ..placesContext.addEventListener |
2c040 | 28 22 70 6f 70 75 70 73 68 6f 77 69 6e 67 22 2c 20 75 70 64 61 74 65 45 64 69 74 55 49 56 69 73 | ("popupshowing",.updateEditUIVis |
2c060 | 69 62 69 6c 69 74 79 2c 20 66 61 6c 73 65 29 3b 0a 20 20 70 6c 61 63 65 73 43 6f 6e 74 65 78 74 | ibility,.false);...placesContext |
2c080 | 2e 61 64 64 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 28 22 70 6f 70 75 70 68 69 64 69 6e 67 22 2c | .addEventListener("popuphiding", |
2c0a0 | 20 75 70 64 61 74 65 45 64 69 74 55 49 56 69 73 69 62 69 6c 69 74 79 2c 20 66 61 6c 73 65 29 3b | .updateEditUIVisibility,.false); |
2c0c0 | 0a 2f 2f 40 6c 69 6e 65 20 31 33 38 34 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 | .//@line.1384."/builds/moz2_slav |
2c0e0 | 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 62 61 73 65 | e/linux_build/build/browser/base |
2c100 | 2f 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2e 6a 73 22 0a 0a 20 20 2f 2f 20 69 6e 69 74 69 | /content/browser.js"....//.initi |
2c120 | 61 6c 69 7a 65 20 74 68 65 20 70 72 69 76 61 74 65 20 62 72 6f 77 73 69 6e 67 20 55 49 0a 20 20 | alize.the.private.browsing.UI... |
2c140 | 67 50 72 69 76 61 74 65 42 72 6f 77 73 69 6e 67 55 49 2e 69 6e 69 74 28 29 3b 0a 7d 0a 0a 66 75 | gPrivateBrowsingUI.init();.}..fu |
2c160 | 6e 63 74 69 6f 6e 20 42 72 6f 77 73 65 72 53 68 75 74 64 6f 77 6e 28 29 0a 7b 0a 20 20 74 61 62 | nction.BrowserShutdown().{...tab |
2c180 | 50 72 65 76 69 65 77 73 2e 75 6e 69 6e 69 74 28 29 3b 0a 2f 2f 40 6c 69 6e 65 20 31 33 39 35 20 | Previews.uninit();.//@line.1395. |
2c1a0 | 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f | "/builds/moz2_slave/linux_build/ |
2c1c0 | 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 62 61 73 65 2f 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 | build/browser/base/content/brows |
2c1e0 | 65 72 2e 6a 73 22 0a 20 20 67 47 65 73 74 75 72 65 53 75 70 70 6f 72 74 2e 69 6e 69 74 28 66 61 | er.js"...gGestureSupport.init(fa |
2c200 | 6c 73 65 29 3b 0a 0a 20 20 74 72 79 20 7b 0a 20 20 20 20 46 75 6c 6c 5a 6f 6f 6d 2e 64 65 73 74 | lse);....try.{.....FullZoom.dest |
2c220 | 72 6f 79 28 29 3b 0a 20 20 7d 0a 20 20 63 61 74 63 68 28 65 78 29 20 7b 0a 20 20 20 20 43 6f 6d | roy();...}...catch(ex).{.....Com |
2c240 | 70 6f 6e 65 6e 74 73 2e 75 74 69 6c 73 2e 72 65 70 6f 72 74 45 72 72 6f 72 28 65 78 29 3b 0a 20 | ponents.utils.reportError(ex);.. |
2c260 | 20 7d 0a 0a 20 20 76 61 72 20 6f 73 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 | .}....var.os.=.Components.classe |
2c280 | 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6f 62 73 65 72 76 65 72 2d 73 65 72 76 69 63 65 | s["@mozilla.org/observer-service |
2c2a0 | 3b 31 22 5d 0a 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e | ;1"]......getService(Components. |
2c2c0 | 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 4f 62 73 65 72 76 65 72 53 65 72 76 69 63 65 29 3b 0a | interfaces.nsIObserverService);. |
2c2e0 | 20 20 6f 73 2e 72 65 6d 6f 76 65 4f 62 73 65 72 76 65 72 28 67 53 65 73 73 69 6f 6e 48 69 73 74 | ..os.removeObserver(gSessionHist |
2c300 | 6f 72 79 4f 62 73 65 72 76 65 72 2c 20 22 62 72 6f 77 73 65 72 3a 70 75 72 67 65 2d 73 65 73 73 | oryObserver,."browser:purge-sess |
2c320 | 69 6f 6e 2d 68 69 73 74 6f 72 79 22 29 3b 0a 20 20 6f 73 2e 72 65 6d 6f 76 65 4f 62 73 65 72 76 | ion-history");...os.removeObserv |
2c340 | 65 72 28 67 58 50 49 6e 73 74 61 6c 6c 4f 62 73 65 72 76 65 72 2c 20 22 78 70 69 6e 73 74 61 6c | er(gXPInstallObserver,."xpinstal |
2c360 | 6c 2d 69 6e 73 74 61 6c 6c 2d 62 6c 6f 63 6b 65 64 22 29 3b 0a 0a 20 20 74 72 79 20 7b 0a 20 20 | l-install-blocked");....try.{... |
2c380 | 20 20 67 42 72 6f 77 73 65 72 2e 72 65 6d 6f 76 65 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 | ..gBrowser.removeProgressListene |
2c3a0 | 72 28 77 69 6e 64 6f 77 2e 58 55 4c 42 72 6f 77 73 65 72 57 69 6e 64 6f 77 29 3b 0a 20 20 20 20 | r(window.XULBrowserWindow);..... |
2c3c0 | 67 42 72 6f 77 73 65 72 2e 72 65 6d 6f 76 65 54 61 62 73 50 72 6f 67 72 65 73 73 4c 69 73 74 65 | gBrowser.removeTabsProgressListe |
2c3e0 | 6e 65 72 28 77 69 6e 64 6f 77 2e 54 61 62 73 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 29 | ner(window.TabsProgressListener) |
2c400 | 3b 0a 20 20 7d 20 63 61 74 63 68 20 28 65 78 29 20 7b 0a 20 20 7d 0a 0a 20 20 50 6c 61 63 65 73 | ;...}.catch.(ex).{...}....Places |
2c420 | 53 74 61 72 42 75 74 74 6f 6e 2e 75 6e 69 6e 69 74 28 29 3b 0a 0a 20 20 74 72 79 20 7b 0a 20 20 | StarButton.uninit();....try.{... |
2c440 | 20 20 67 50 72 65 66 53 65 72 76 69 63 65 2e 72 65 6d 6f 76 65 4f 62 73 65 72 76 65 72 28 67 41 | ..gPrefService.removeObserver(gA |
2c460 | 75 74 6f 48 69 64 65 54 61 62 62 61 72 50 72 65 66 4c 69 73 74 65 6e 65 72 2e 64 6f 6d 61 69 6e | utoHideTabbarPrefListener.domain |
2c480 | 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ,............................... |
2c4a0 | 20 20 67 41 75 74 6f 48 69 64 65 54 61 62 62 61 72 50 72 65 66 4c 69 73 74 65 6e 65 72 29 3b 0a | ..gAutoHideTabbarPrefListener);. |
2c4c0 | 20 20 20 20 67 50 72 65 66 53 65 72 76 69 63 65 2e 72 65 6d 6f 76 65 4f 62 73 65 72 76 65 72 28 | ....gPrefService.removeObserver( |
2c4e0 | 67 48 6f 6d 65 42 75 74 74 6f 6e 2e 70 72 65 66 44 6f 6d 61 69 6e 2c 20 67 48 6f 6d 65 42 75 74 | gHomeButton.prefDomain,.gHomeBut |
2c500 | 74 6f 6e 29 3b 0a 20 20 20 20 67 50 72 65 66 53 65 72 76 69 63 65 2e 72 65 6d 6f 76 65 4f 62 73 | ton);.....gPrefService.removeObs |
2c520 | 65 72 76 65 72 28 67 55 52 4c 42 61 72 45 6d 70 74 79 54 65 78 74 2e 64 6f 6d 61 69 6e 2c 20 67 | erver(gURLBarEmptyText.domain,.g |
2c540 | 55 52 4c 42 61 72 45 6d 70 74 79 54 65 78 74 29 3b 0a 20 20 7d 20 63 61 74 63 68 20 28 65 78 29 | URLBarEmptyText);...}.catch.(ex) |
2c560 | 20 7b 0a 20 20 20 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 75 74 69 6c 73 2e 72 65 70 6f 72 74 45 72 | .{.....Components.utils.reportEr |
2c580 | 72 6f 72 28 65 78 29 3b 0a 20 20 7d 0a 0a 20 20 42 72 6f 77 73 65 72 4f 66 66 6c 69 6e 65 2e 75 | ror(ex);...}....BrowserOffline.u |
2c5a0 | 6e 69 6e 69 74 28 29 3b 0a 20 20 4f 66 66 6c 69 6e 65 41 70 70 73 2e 75 6e 69 6e 69 74 28 29 3b | ninit();...OfflineApps.uninit(); |
2c5c0 | 0a 20 20 44 6f 77 6e 6c 6f 61 64 4d 6f 6e 69 74 6f 72 50 61 6e 65 6c 2e 75 6e 69 6e 69 74 28 29 | ...DownloadMonitorPanel.uninit() |
2c5e0 | 3b 0a 20 20 67 50 72 69 76 61 74 65 42 72 6f 77 73 69 6e 67 55 49 2e 75 6e 69 6e 69 74 28 29 3b | ;...gPrivateBrowsingUI.uninit(); |
2c600 | 0a 0a 20 20 76 61 72 20 77 69 6e 64 6f 77 4d 61 6e 61 67 65 72 20 3d 20 43 6f 6d 70 6f 6e 65 6e | ....var.windowManager.=.Componen |
2c620 | 74 73 2e 63 6c 61 73 73 65 73 5b 27 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 61 70 70 73 68 65 6c | ts.classes['@mozilla.org/appshel |
2c640 | 6c 2f 77 69 6e 64 6f 77 2d 6d 65 64 69 61 74 6f 72 3b 31 27 5d 2e 67 65 74 53 65 72 76 69 63 65 | l/window-mediator;1'].getService |
2c660 | 28 29 3b 0a 20 20 76 61 72 20 77 69 6e 64 6f 77 4d 61 6e 61 67 65 72 49 6e 74 65 72 66 61 63 65 | ();...var.windowManagerInterface |
2c680 | 20 3d 20 77 69 6e 64 6f 77 4d 61 6e 61 67 65 72 2e 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 28 | .=.windowManager.QueryInterface( |
2c6a0 | 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 57 69 6e 64 6f 77 4d | Components.interfaces.nsIWindowM |
2c6c0 | 65 64 69 61 74 6f 72 29 3b 0a 20 20 76 61 72 20 65 6e 75 6d 65 72 61 74 6f 72 20 3d 20 77 69 6e | ediator);...var.enumerator.=.win |
2c6e0 | 64 6f 77 4d 61 6e 61 67 65 72 49 6e 74 65 72 66 61 63 65 2e 67 65 74 45 6e 75 6d 65 72 61 74 6f | dowManagerInterface.getEnumerato |
2c700 | 72 28 6e 75 6c 6c 29 3b 0a 20 20 65 6e 75 6d 65 72 61 74 6f 72 2e 67 65 74 4e 65 78 74 28 29 3b | r(null);...enumerator.getNext(); |
2c720 | 0a 20 20 69 66 20 28 21 65 6e 75 6d 65 72 61 74 6f 72 2e 68 61 73 4d 6f 72 65 45 6c 65 6d 65 6e | ...if.(!enumerator.hasMoreElemen |
2c740 | 74 73 28 29 29 20 7b 0a 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 70 65 72 73 69 73 74 28 22 73 69 | ts()).{.....document.persist("si |
2c760 | 64 65 62 61 72 2d 62 6f 78 22 2c 20 22 73 69 64 65 62 61 72 63 6f 6d 6d 61 6e 64 22 29 3b 0a 20 | debar-box",."sidebarcommand");.. |
2c780 | 20 20 20 64 6f 63 75 6d 65 6e 74 2e 70 65 72 73 69 73 74 28 22 73 69 64 65 62 61 72 2d 62 6f 78 | ...document.persist("sidebar-box |
2c7a0 | 22 2c 20 22 77 69 64 74 68 22 29 3b 0a 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 70 65 72 73 69 73 | ",."width");.....document.persis |
2c7c0 | 74 28 22 73 69 64 65 62 61 72 2d 62 6f 78 22 2c 20 22 73 72 63 22 29 3b 0a 20 20 20 20 64 6f 63 | t("sidebar-box",."src");.....doc |
2c7e0 | 75 6d 65 6e 74 2e 70 65 72 73 69 73 74 28 22 73 69 64 65 62 61 72 2d 74 69 74 6c 65 22 2c 20 22 | ument.persist("sidebar-title",." |
2c800 | 76 61 6c 75 65 22 29 3b 0a 20 20 7d 0a 0a 20 20 77 69 6e 64 6f 77 2e 58 55 4c 42 72 6f 77 73 65 | value");...}....window.XULBrowse |
2c820 | 72 57 69 6e 64 6f 77 2e 64 65 73 74 72 6f 79 28 29 3b 0a 20 20 77 69 6e 64 6f 77 2e 58 55 4c 42 | rWindow.destroy();...window.XULB |
2c840 | 72 6f 77 73 65 72 57 69 6e 64 6f 77 20 3d 20 6e 75 6c 6c 3b 0a 20 20 77 69 6e 64 6f 77 2e 51 75 | rowserWindow.=.null;...window.Qu |
2c860 | 65 72 79 49 6e 74 65 72 66 61 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 | eryInterface(Components.interfac |
2c880 | 65 73 2e 6e 73 49 49 6e 74 65 72 66 61 63 65 52 65 71 75 65 73 74 6f 72 29 0a 20 20 20 20 20 20 | es.nsIInterfaceRequestor)....... |
2c8a0 | 20 20 2e 67 65 74 49 6e 74 65 72 66 61 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 | ...getInterface(Components.inter |
2c8c0 | 66 61 63 65 73 2e 6e 73 49 57 65 62 4e 61 76 69 67 61 74 69 6f 6e 29 0a 20 20 20 20 20 20 20 20 | faces.nsIWebNavigation)......... |
2c8e0 | 2e 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 | .QueryInterface(Components.inter |
2c900 | 66 61 63 65 73 2e 6e 73 49 44 6f 63 53 68 65 6c 6c 54 72 65 65 49 74 65 6d 29 2e 74 72 65 65 4f | faces.nsIDocShellTreeItem).treeO |
2c920 | 77 6e 65 72 0a 20 20 20 20 20 20 20 20 2e 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 28 43 6f 6d | wner..........QueryInterface(Com |
2c940 | 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 49 6e 74 65 72 66 61 63 65 52 | ponents.interfaces.nsIInterfaceR |
2c960 | 65 71 75 65 73 74 6f 72 29 0a 20 20 20 20 20 20 20 20 2e 67 65 74 49 6e 74 65 72 66 61 63 65 28 | equestor)..........getInterface( |
2c980 | 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 58 55 4c 57 69 6e 64 | Components.interfaces.nsIXULWind |
2c9a0 | 6f 77 29 0a 20 20 20 20 20 20 20 20 2e 58 55 4c 42 72 6f 77 73 65 72 57 69 6e 64 6f 77 20 3d 20 | ow)..........XULBrowserWindow.=. |
2c9c0 | 6e 75 6c 6c 3b 0a 20 20 77 69 6e 64 6f 77 2e 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 28 43 69 | null;...window.QueryInterface(Ci |
2c9e0 | 2e 6e 73 49 44 4f 4d 43 68 72 6f 6d 65 57 69 6e 64 6f 77 29 2e 62 72 6f 77 73 65 72 44 4f 4d 57 | .nsIDOMChromeWindow).browserDOMW |
2ca00 | 69 6e 64 6f 77 20 3d 20 6e 75 6c 6c 3b 0a 0a 20 20 2f 2f 20 43 6c 6f 73 65 20 74 68 65 20 61 70 | indow.=.null;....//.Close.the.ap |
2ca20 | 70 20 63 6f 72 65 2e 0a 20 20 69 66 20 28 61 70 70 43 6f 72 65 29 0a 20 20 20 20 61 70 70 43 6f | p.core....if.(appCore).....appCo |
2ca40 | 72 65 2e 63 6c 6f 73 65 28 29 3b 0a 7d 0a 0a 2f 2f 40 6c 69 6e 65 20 31 35 31 38 20 22 2f 62 75 | re.close();.}..//@line.1518."/bu |
2ca60 | 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c | ilds/moz2_slave/linux_build/buil |
2ca80 | 64 2f 62 72 6f 77 73 65 72 2f 62 61 73 65 2f 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2e 6a | d/browser/base/content/browser.j |
2caa0 | 73 22 0a 0a 66 75 6e 63 74 69 6f 6e 20 41 75 74 6f 48 69 64 65 54 61 62 62 61 72 50 72 65 66 4c | s"..function.AutoHideTabbarPrefL |
2cac0 | 69 73 74 65 6e 65 72 28 29 0a 7b 0a 20 20 74 68 69 73 2e 74 6f 67 67 6c 65 41 75 74 6f 48 69 64 | istener().{...this.toggleAutoHid |
2cae0 | 65 54 61 62 62 61 72 28 29 3b 0a 7d 0a 0a 41 75 74 6f 48 69 64 65 54 61 62 62 61 72 50 72 65 66 | eTabbar();.}..AutoHideTabbarPref |
2cb00 | 4c 69 73 74 65 6e 65 72 2e 70 72 6f 74 6f 74 79 70 65 20 3d 0a 7b 0a 20 20 64 6f 6d 61 69 6e 3a | Listener.prototype.=.{...domain: |
2cb20 | 20 22 62 72 6f 77 73 65 72 2e 74 61 62 73 2e 61 75 74 6f 48 69 64 65 22 2c 0a 20 20 6f 62 73 65 | ."browser.tabs.autoHide",...obse |
2cb40 | 72 76 65 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 53 75 62 6a 65 63 74 2c 20 61 54 6f 70 69 63 2c | rve:.function.(aSubject,.aTopic, |
2cb60 | 20 61 50 72 65 66 4e 61 6d 65 29 0a 20 20 7b 0a 20 20 20 20 69 66 20 28 61 54 6f 70 69 63 20 21 | .aPrefName)...{.....if.(aTopic.! |
2cb80 | 3d 20 22 6e 73 50 72 65 66 3a 63 68 61 6e 67 65 64 22 20 7c 7c 20 61 50 72 65 66 4e 61 6d 65 20 | =."nsPref:changed".||.aPrefName. |
2cba0 | 21 3d 20 74 68 69 73 2e 64 6f 6d 61 69 6e 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 | !=.this.domain).......return;... |
2cbc0 | 20 20 20 74 68 69 73 2e 74 6f 67 67 6c 65 41 75 74 6f 48 69 64 65 54 61 62 62 61 72 28 29 3b 0a | ...this.toggleAutoHideTabbar();. |
2cbe0 | 20 20 7d 2c 0a 0a 20 20 74 6f 67 67 6c 65 41 75 74 6f 48 69 64 65 54 61 62 62 61 72 3a 20 66 75 | ..},....toggleAutoHideTabbar:.fu |
2cc00 | 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 69 66 20 28 67 42 72 6f 77 73 65 72 2e 74 | nction.()...{.....if.(gBrowser.t |
2cc20 | 61 62 43 6f 6e 74 61 69 6e 65 72 2e 63 68 69 6c 64 4e 6f 64 65 73 2e 6c 65 6e 67 74 68 20 3d 3d | abContainer.childNodes.length.== |
2cc40 | 20 31 20 26 26 0a 20 20 20 20 20 20 20 20 77 69 6e 64 6f 77 2e 74 6f 6f 6c 62 61 72 2e 76 69 73 | .1.&&.........window.toolbar.vis |
2cc60 | 69 62 6c 65 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 61 56 69 73 69 62 6c 65 20 3d 20 66 61 6c | ible).{.......var.aVisible.=.fal |
2cc80 | 73 65 3b 0a 20 20 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 20 20 61 56 69 73 69 62 6c 65 | se;.......try.{.........aVisible |
2cca0 | 20 3d 20 21 67 50 72 65 66 53 65 72 76 69 63 65 2e 67 65 74 42 6f 6f 6c 50 72 65 66 28 74 68 69 | .=.!gPrefService.getBoolPref(thi |
2ccc0 | 73 2e 64 6f 6d 61 69 6e 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 63 61 74 63 68 20 28 | s.domain);.......}.......catch.( |
2cce0 | 65 29 20 7b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 67 42 72 6f 77 73 65 72 2e 73 65 74 53 | e).{.......}.......gBrowser.setS |
2cd00 | 74 72 69 70 56 69 73 69 62 69 6c 69 74 79 54 6f 28 61 56 69 73 69 62 6c 65 29 3b 0a 20 20 20 20 | tripVisibilityTo(aVisible);..... |
2cd20 | 7d 0a 20 20 7d 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 69 6e 69 74 69 61 6c 69 7a 65 53 61 6e 69 | }...}.}..function.initializeSani |
2cd40 | 74 69 7a 65 72 28 29 0a 7b 0a 20 20 2f 2f 20 41 6c 77 61 79 73 20 75 73 65 20 74 68 65 20 6c 61 | tizer().{...//.Always.use.the.la |
2cd60 | 62 65 6c 20 77 69 74 68 20 65 6c 6c 69 70 73 69 73 0a 20 20 76 61 72 20 6c 61 62 65 6c 20 3d 20 | bel.with.ellipsis...var.label.=. |
2cd80 | 67 4e 61 76 69 67 61 74 6f 72 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 73 61 6e 69 | gNavigatorBundle.getString("sani |
2cda0 | 74 69 7a 65 57 69 74 68 50 72 6f 6d 70 74 4c 61 62 65 6c 32 22 29 3b 0a 20 20 64 6f 63 75 6d 65 | tizeWithPromptLabel2");...docume |
2cdc0 | 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 73 61 6e 69 74 69 7a 65 49 74 65 6d 22 | nt.getElementById("sanitizeItem" |
2cde0 | 29 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 6c 61 62 65 6c 22 2c 20 6c 61 62 65 6c 29 3b 0a | ).setAttribute("label",.label);. |
2ce00 | 0a 20 20 63 6f 6e 73 74 20 6b 44 69 64 53 61 6e 69 74 69 7a 65 44 6f 6d 61 69 6e 20 3d 20 22 70 | ...const.kDidSanitizeDomain.=."p |
2ce20 | 72 69 76 61 63 79 2e 73 61 6e 69 74 69 7a 65 2e 64 69 64 53 68 75 74 64 6f 77 6e 53 61 6e 69 74 | rivacy.sanitize.didShutdownSanit |
2ce40 | 69 7a 65 22 3b 0a 20 20 69 66 20 28 67 50 72 65 66 53 65 72 76 69 63 65 2e 70 72 65 66 48 61 73 | ize";...if.(gPrefService.prefHas |
2ce60 | 55 73 65 72 56 61 6c 75 65 28 6b 44 69 64 53 61 6e 69 74 69 7a 65 44 6f 6d 61 69 6e 29 29 20 7b | UserValue(kDidSanitizeDomain)).{ |
2ce80 | 0a 20 20 20 20 67 50 72 65 66 53 65 72 76 69 63 65 2e 63 6c 65 61 72 55 73 65 72 50 72 65 66 28 | .....gPrefService.clearUserPref( |
2cea0 | 6b 44 69 64 53 61 6e 69 74 69 7a 65 44 6f 6d 61 69 6e 29 3b 0a 20 20 20 20 2f 2f 20 57 65 20 6e | kDidSanitizeDomain);.....//.We.n |
2cec0 | 65 65 64 20 74 6f 20 70 65 72 73 69 73 74 20 74 68 69 73 20 70 72 65 66 65 72 65 6e 63 65 20 63 | eed.to.persist.this.preference.c |
2cee0 | 68 61 6e 67 65 2c 20 73 69 6e 63 65 20 77 65 20 77 61 6e 74 20 74 6f 0a 20 20 20 20 2f 2f 20 63 | hange,.since.we.want.to.....//.c |
2cf00 | 68 65 63 6b 20 69 74 20 61 74 20 6e 65 78 74 20 61 70 70 20 73 74 61 72 74 20 65 76 65 6e 20 69 | heck.it.at.next.app.start.even.i |
2cf20 | 66 20 74 68 65 20 62 72 6f 77 73 65 72 20 65 78 69 74 73 20 61 62 72 75 70 74 6c 79 0a 20 20 20 | f.the.browser.exits.abruptly.... |
2cf40 | 20 67 50 72 65 66 53 65 72 76 69 63 65 2e 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 28 43 69 2e | .gPrefService.QueryInterface(Ci. |
2cf60 | 6e 73 49 50 72 65 66 53 65 72 76 69 63 65 29 2e 73 61 76 65 50 72 65 66 46 69 6c 65 28 6e 75 6c | nsIPrefService).savePrefFile(nul |
2cf80 | 6c 29 3b 0a 20 20 7d 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 4d 69 67 72 61 74 65 20 46 69 72 65 | l);...}..../**....*.Migrate.Fire |
2cfa0 | 66 6f 78 20 33 2e 30 20 70 72 69 76 61 63 79 2e 69 74 65 6d 20 70 72 65 66 73 20 75 6e 64 65 72 | fox.3.0.privacy.item.prefs.under |
2cfc0 | 20 6f 6e 65 20 6f 66 20 74 68 65 73 65 20 63 6f 6e 64 69 74 69 6f 6e 73 3a 0a 20 20 20 2a 0a 20 | .one.of.these.conditions:....*.. |
2cfe0 | 20 20 2a 20 61 29 20 55 73 65 72 20 68 61 73 20 63 75 73 74 6f 6d 69 7a 65 64 20 61 6e 79 20 70 | ..*.a).User.has.customized.any.p |
2d000 | 72 69 76 61 63 79 2e 69 74 65 6d 20 70 72 65 66 73 0a 20 20 20 2a 20 62 29 20 70 72 69 76 61 63 | rivacy.item.prefs....*.b).privac |
2d020 | 79 2e 73 61 6e 69 74 69 7a 65 2e 73 61 6e 69 74 69 7a 65 4f 6e 53 68 75 74 64 6f 77 6e 20 69 73 | y.sanitize.sanitizeOnShutdown.is |
2d040 | 20 73 65 74 0a 20 20 20 2a 2f 0a 20 20 28 66 75 6e 63 74 69 6f 6e 28 29 20 7b 0a 20 20 20 20 76 | .set....*/...(function().{.....v |
2d060 | 61 72 20 70 72 65 66 53 65 72 76 69 63 65 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 | ar.prefService.=.Cc["@mozilla.or |
2d080 | 67 2f 70 72 65 66 65 72 65 6e 63 65 73 2d 73 65 72 76 69 63 65 3b 31 22 5d 2e 0a 20 20 20 20 20 | g/preferences-service;1"]....... |
2d0a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e | .................getService(Ci.n |
2d0c0 | 73 49 50 72 65 66 53 65 72 76 69 63 65 29 3b 0a 20 20 20 20 69 66 20 28 21 70 72 65 66 53 65 72 | sIPrefService);.....if.(!prefSer |
2d0e0 | 76 69 63 65 2e 67 65 74 42 6f 6f 6c 50 72 65 66 28 22 70 72 69 76 61 63 79 2e 73 61 6e 69 74 69 | vice.getBoolPref("privacy.saniti |
2d100 | 7a 65 2e 6d 69 67 72 61 74 65 46 78 33 50 72 65 66 73 22 29 29 20 7b 0a 20 20 20 20 20 20 76 61 | ze.migrateFx3Prefs")).{.......va |
2d120 | 72 20 69 74 65 6d 42 72 61 6e 63 68 20 3d 20 70 72 65 66 53 65 72 76 69 63 65 2e 67 65 74 42 72 | r.itemBranch.=.prefService.getBr |
2d140 | 61 6e 63 68 28 22 70 72 69 76 61 63 79 2e 69 74 65 6d 2e 22 29 3b 0a 20 20 20 20 20 20 76 61 72 | anch("privacy.item.");.......var |
2d160 | 20 69 74 65 6d 43 6f 75 6e 74 20 3d 20 7b 20 76 61 6c 75 65 3a 20 30 20 7d 3b 0a 20 20 20 20 20 | .itemCount.=.{.value:.0.};...... |
2d180 | 20 76 61 72 20 69 74 65 6d 41 72 72 61 79 20 3d 20 69 74 65 6d 42 72 61 6e 63 68 2e 67 65 74 43 | .var.itemArray.=.itemBranch.getC |
2d1a0 | 68 69 6c 64 4c 69 73 74 28 22 22 2c 20 69 74 65 6d 43 6f 75 6e 74 29 3b 0a 0a 20 20 20 20 20 20 | hildList("",.itemCount);........ |
2d1c0 | 2f 2f 20 53 65 65 20 69 66 20 61 6e 79 20 70 72 69 76 61 63 79 2e 69 74 65 6d 20 70 72 65 66 73 | //.See.if.any.privacy.item.prefs |
2d1e0 | 20 61 72 65 20 73 65 74 0a 20 20 20 20 20 20 76 61 72 20 64 6f 4d 69 67 72 61 74 65 20 3d 20 69 | .are.set.......var.doMigrate.=.i |
2d200 | 74 65 6d 41 72 72 61 79 2e 73 6f 6d 65 28 66 75 6e 63 74 69 6f 6e 20 28 6e 61 6d 65 29 20 69 74 | temArray.some(function.(name).it |
2d220 | 65 6d 42 72 61 6e 63 68 2e 70 72 65 66 48 61 73 55 73 65 72 56 61 6c 75 65 28 6e 61 6d 65 29 29 | emBranch.prefHasUserValue(name)) |
2d240 | 3b 0a 20 20 20 20 20 20 2f 2f 20 4f 72 20 69 66 20 73 61 6e 69 74 69 7a 65 4f 6e 53 68 75 74 64 | ;.......//.Or.if.sanitizeOnShutd |
2d260 | 6f 77 6e 20 69 73 20 73 65 74 0a 20 20 20 20 20 20 69 66 20 28 21 64 6f 4d 69 67 72 61 74 65 29 | own.is.set.......if.(!doMigrate) |
2d280 | 0a 20 20 20 20 20 20 20 20 64 6f 4d 69 67 72 61 74 65 20 3d 20 70 72 65 66 53 65 72 76 69 63 65 | .........doMigrate.=.prefService |
2d2a0 | 2e 67 65 74 42 6f 6f 6c 50 72 65 66 28 22 70 72 69 76 61 63 79 2e 73 61 6e 69 74 69 7a 65 2e 73 | .getBoolPref("privacy.sanitize.s |
2d2c0 | 61 6e 69 74 69 7a 65 4f 6e 53 68 75 74 64 6f 77 6e 22 29 3b 0a 0a 20 20 20 20 20 20 69 66 20 28 | anitizeOnShutdown");........if.( |
2d2e0 | 64 6f 4d 69 67 72 61 74 65 29 20 7b 0a 20 20 20 20 20 20 20 20 76 61 72 20 63 70 64 42 72 61 6e | doMigrate).{.........var.cpdBran |
2d300 | 63 68 20 3d 20 70 72 65 66 53 65 72 76 69 63 65 2e 67 65 74 42 72 61 6e 63 68 28 22 70 72 69 76 | ch.=.prefService.getBranch("priv |
2d320 | 61 63 79 2e 63 70 64 2e 22 29 3b 0a 20 20 20 20 20 20 20 20 76 61 72 20 63 6c 65 61 72 4f 6e 53 | acy.cpd.");.........var.clearOnS |
2d340 | 68 75 74 64 6f 77 6e 42 72 61 6e 63 68 20 3d 20 70 72 65 66 53 65 72 76 69 63 65 2e 67 65 74 42 | hutdownBranch.=.prefService.getB |
2d360 | 72 61 6e 63 68 28 22 70 72 69 76 61 63 79 2e 63 6c 65 61 72 4f 6e 53 68 75 74 64 6f 77 6e 2e 22 | ranch("privacy.clearOnShutdown." |
2d380 | 29 3b 0a 20 20 20 20 20 20 20 20 69 74 65 6d 41 72 72 61 79 2e 66 6f 72 45 61 63 68 28 66 75 6e | );.........itemArray.forEach(fun |
2d3a0 | 63 74 69 6f 6e 20 28 6e 61 6d 65 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 74 72 79 20 7b 0a 20 | ction.(name).{...........try.{.. |
2d3c0 | 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 64 6f 6e 27 74 20 6d 69 67 72 61 74 65 20 70 61 73 73 | ...........//.don't.migrate.pass |
2d3e0 | 77 6f 72 64 20 6f 72 20 6f 66 66 6c 69 6e 65 41 70 70 73 20 63 6c 65 61 72 69 6e 67 20 69 6e 20 | word.or.offlineApps.clearing.in. |
2d400 | 74 68 65 20 43 52 48 20 64 69 61 6c 6f 67 20 73 69 6e 63 65 0a 20 20 20 20 20 20 20 20 20 20 20 | the.CRH.dialog.since............ |
2d420 | 20 2f 2f 20 74 68 65 72 65 27 73 20 6e 6f 20 55 49 20 66 6f 72 20 74 68 6f 73 65 20 61 6e 79 6d | .//.there's.no.UI.for.those.anym |
2d440 | 6f 72 65 2e 20 54 68 65 79 20 64 65 66 61 75 6c 74 20 74 6f 20 66 61 6c 73 65 2e 20 62 75 67 20 | ore..They.default.to.false..bug. |
2d460 | 34 39 37 36 35 36 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 6e 61 6d 65 20 21 3d 20 22 | 497656.............if.(name.!=." |
2d480 | 70 61 73 73 77 6f 72 64 73 22 20 26 26 20 6e 61 6d 65 20 21 3d 20 22 6f 66 66 6c 69 6e 65 41 70 | passwords".&&.name.!=."offlineAp |
2d4a0 | 70 73 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 70 64 42 72 61 6e 63 68 2e 73 65 74 | ps")...............cpdBranch.set |
2d4c0 | 42 6f 6f 6c 50 72 65 66 28 6e 61 6d 65 2c 20 69 74 65 6d 42 72 61 6e 63 68 2e 67 65 74 42 6f 6f | BoolPref(name,.itemBranch.getBoo |
2d4e0 | 6c 50 72 65 66 28 6e 61 6d 65 29 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 63 6c 65 61 72 4f | lPref(name));.............clearO |
2d500 | 6e 53 68 75 74 64 6f 77 6e 42 72 61 6e 63 68 2e 73 65 74 42 6f 6f 6c 50 72 65 66 28 6e 61 6d 65 | nShutdownBranch.setBoolPref(name |
2d520 | 2c 20 69 74 65 6d 42 72 61 6e 63 68 2e 67 65 74 42 6f 6f 6c 50 72 65 66 28 6e 61 6d 65 29 29 3b | ,.itemBranch.getBoolPref(name)); |
2d540 | 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 63 61 74 63 68 28 65 29 20 | ...........}...........catch(e). |
2d560 | 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 75 74 69 6c 73 2e 72 | {.............Components.utils.r |
2d580 | 65 70 6f 72 74 45 72 72 6f 72 28 22 45 78 63 65 70 74 69 6f 6e 20 74 68 72 6f 77 6e 20 64 75 72 | eportError("Exception.thrown.dur |
2d5a0 | 69 6e 67 20 70 72 69 76 61 63 79 20 70 72 65 66 20 6d 69 67 72 61 74 69 6f 6e 3a 20 22 20 2b 20 | ing.privacy.pref.migration:.".+. |
2d5c0 | 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 7d 29 3b 0a 20 20 20 20 | e);...........}.........});..... |
2d5e0 | 20 20 7d 0a 0a 20 20 20 20 20 20 70 72 65 66 53 65 72 76 69 63 65 2e 73 65 74 42 6f 6f 6c 50 72 | ..}........prefService.setBoolPr |
2d600 | 65 66 28 22 70 72 69 76 61 63 79 2e 73 61 6e 69 74 69 7a 65 2e 6d 69 67 72 61 74 65 46 78 33 50 | ef("privacy.sanitize.migrateFx3P |
2d620 | 72 65 66 73 22 2c 20 74 72 75 65 29 3b 0a 20 20 20 20 7d 0a 20 20 7d 29 28 29 3b 0a 7d 0a 0a 66 | refs",.true);.....}...})();.}..f |
2d640 | 75 6e 63 74 69 6f 6e 20 67 6f 74 6f 48 69 73 74 6f 72 79 49 6e 64 65 78 28 61 45 76 65 6e 74 29 | unction.gotoHistoryIndex(aEvent) |
2d660 | 0a 7b 0a 20 20 76 61 72 20 69 6e 64 65 78 20 3d 20 61 45 76 65 6e 74 2e 74 61 72 67 65 74 2e 67 | .{...var.index.=.aEvent.target.g |
2d680 | 65 74 41 74 74 72 69 62 75 74 65 28 22 69 6e 64 65 78 22 29 3b 0a 20 20 69 66 20 28 21 69 6e 64 | etAttribute("index");...if.(!ind |
2d6a0 | 65 78 29 0a 20 20 20 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 0a 0a 20 20 76 61 72 20 77 68 65 | ex).....return.false;....var.whe |
2d6c0 | 72 65 20 3d 20 77 68 65 72 65 54 6f 4f 70 65 6e 4c 69 6e 6b 28 61 45 76 65 6e 74 29 3b 0a 0a 20 | re.=.whereToOpenLink(aEvent);... |
2d6e0 | 20 69 66 20 28 77 68 65 72 65 20 3d 3d 20 22 63 75 72 72 65 6e 74 22 29 20 7b 0a 20 20 20 20 2f | .if.(where.==."current").{...../ |
2d700 | 2f 20 4e 6f 72 6d 61 6c 20 63 6c 69 63 6b 2e 20 20 47 6f 20 74 68 65 72 65 20 69 6e 20 74 68 65 | /.Normal.click...Go.there.in.the |
2d720 | 20 63 75 72 72 65 6e 74 20 74 61 62 20 61 6e 64 20 75 70 64 61 74 65 20 73 65 73 73 69 6f 6e 20 | .current.tab.and.update.session. |
2d740 | 68 69 73 74 6f 72 79 2e 0a 0a 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 67 42 72 6f 77 73 | history.......try.{.......gBrows |
2d760 | 65 72 2e 67 6f 74 6f 49 6e 64 65 78 28 69 6e 64 65 78 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 63 | er.gotoIndex(index);.....}.....c |
2d780 | 61 74 63 68 28 65 78 29 20 7b 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 0a 20 | atch(ex).{.......return.false;.. |
2d7a0 | 20 20 20 7d 0a 20 20 20 20 72 65 74 75 72 6e 20 74 72 75 65 3b 0a 20 20 7d 0a 20 20 65 6c 73 65 | ...}.....return.true;...}...else |
2d7c0 | 20 7b 0a 20 20 20 20 2f 2f 20 4d 6f 64 69 66 69 65 64 20 63 6c 69 63 6b 2e 20 20 47 6f 20 74 68 | .{.....//.Modified.click...Go.th |
2d7e0 | 65 72 65 20 69 6e 20 61 20 6e 65 77 20 74 61 62 2f 77 69 6e 64 6f 77 2e 0a 20 20 20 20 2f 2f 20 | ere.in.a.new.tab/window......//. |
2d800 | 54 68 69 73 20 63 6f 64 65 20 64 6f 65 73 6e 27 74 20 63 6f 70 79 20 68 69 73 74 6f 72 79 20 6f | This.code.doesn't.copy.history.o |
2d820 | 72 20 77 6f 72 6b 20 77 65 6c 6c 20 77 69 74 68 20 66 72 61 6d 65 64 20 70 61 67 65 73 2e 0a 0a | r.work.well.with.framed.pages... |
2d840 | 20 20 20 20 76 61 72 20 73 65 73 73 69 6f 6e 48 69 73 74 6f 72 79 20 3d 20 67 65 74 57 65 62 4e | ....var.sessionHistory.=.getWebN |
2d860 | 61 76 69 67 61 74 69 6f 6e 28 29 2e 73 65 73 73 69 6f 6e 48 69 73 74 6f 72 79 3b 0a 20 20 20 20 | avigation().sessionHistory;..... |
2d880 | 76 61 72 20 65 6e 74 72 79 20 3d 20 73 65 73 73 69 6f 6e 48 69 73 74 6f 72 79 2e 67 65 74 45 6e | var.entry.=.sessionHistory.getEn |
2d8a0 | 74 72 79 41 74 49 6e 64 65 78 28 69 6e 64 65 78 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 20 76 61 | tryAtIndex(index,.false);.....va |
2d8c0 | 72 20 75 72 6c 20 3d 20 65 6e 74 72 79 2e 55 52 49 2e 73 70 65 63 3b 0a 20 20 20 20 6f 70 65 6e | r.url.=.entry.URI.spec;.....open |
2d8e0 | 55 49 4c 69 6e 6b 49 6e 28 75 72 6c 2c 20 77 68 65 72 65 29 3b 0a 20 20 20 20 72 65 74 75 72 6e | UILinkIn(url,.where);.....return |
2d900 | 20 74 72 75 65 3b 0a 20 20 7d 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 42 72 6f 77 73 65 72 46 6f | .true;...}.}..function.BrowserFo |
2d920 | 72 77 61 72 64 28 61 45 76 65 6e 74 29 20 7b 0a 20 20 76 61 72 20 77 68 65 72 65 20 3d 20 77 68 | rward(aEvent).{...var.where.=.wh |
2d940 | 65 72 65 54 6f 4f 70 65 6e 4c 69 6e 6b 28 61 45 76 65 6e 74 2c 20 66 61 6c 73 65 2c 20 74 72 75 | ereToOpenLink(aEvent,.false,.tru |
2d960 | 65 29 3b 0a 0a 20 20 69 66 20 28 77 68 65 72 65 20 3d 3d 20 22 63 75 72 72 65 6e 74 22 29 20 7b | e);....if.(where.==."current").{ |
2d980 | 0a 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 67 42 72 6f 77 73 65 72 2e 67 6f 46 6f 72 77 | .....try.{.......gBrowser.goForw |
2d9a0 | 61 72 64 28 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 63 61 74 63 68 28 65 78 29 20 7b 0a 20 20 20 | ard();.....}.....catch(ex).{.... |
2d9c0 | 20 7d 0a 20 20 7d 0a 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 76 61 72 20 73 65 73 73 69 6f 6e 48 | .}...}...else.{.....var.sessionH |
2d9e0 | 69 73 74 6f 72 79 20 3d 20 67 65 74 57 65 62 4e 61 76 69 67 61 74 69 6f 6e 28 29 2e 73 65 73 73 | istory.=.getWebNavigation().sess |
2da00 | 69 6f 6e 48 69 73 74 6f 72 79 3b 0a 20 20 20 20 76 61 72 20 63 75 72 72 65 6e 74 49 6e 64 65 78 | ionHistory;.....var.currentIndex |
2da20 | 20 3d 20 73 65 73 73 69 6f 6e 48 69 73 74 6f 72 79 2e 69 6e 64 65 78 3b 0a 20 20 20 20 76 61 72 | .=.sessionHistory.index;.....var |
2da40 | 20 65 6e 74 72 79 20 3d 20 73 65 73 73 69 6f 6e 48 69 73 74 6f 72 79 2e 67 65 74 45 6e 74 72 79 | .entry.=.sessionHistory.getEntry |
2da60 | 41 74 49 6e 64 65 78 28 63 75 72 72 65 6e 74 49 6e 64 65 78 20 2b 20 31 2c 20 66 61 6c 73 65 29 | AtIndex(currentIndex.+.1,.false) |
2da80 | 3b 0a 20 20 20 20 76 61 72 20 75 72 6c 20 3d 20 65 6e 74 72 79 2e 55 52 49 2e 73 70 65 63 3b 0a | ;.....var.url.=.entry.URI.spec;. |
2daa0 | 20 20 20 20 6f 70 65 6e 55 49 4c 69 6e 6b 49 6e 28 75 72 6c 2c 20 77 68 65 72 65 29 3b 0a 20 20 | ....openUILinkIn(url,.where);... |
2dac0 | 7d 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 42 72 6f 77 73 65 72 42 61 63 6b 28 61 45 76 65 6e 74 | }.}..function.BrowserBack(aEvent |
2dae0 | 29 20 7b 0a 20 20 76 61 72 20 77 68 65 72 65 20 3d 20 77 68 65 72 65 54 6f 4f 70 65 6e 4c 69 6e | ).{...var.where.=.whereToOpenLin |
2db00 | 6b 28 61 45 76 65 6e 74 2c 20 66 61 6c 73 65 2c 20 74 72 75 65 29 3b 0a 0a 20 20 69 66 20 28 77 | k(aEvent,.false,.true);....if.(w |
2db20 | 68 65 72 65 20 3d 3d 20 22 63 75 72 72 65 6e 74 22 29 20 7b 0a 20 20 20 20 74 72 79 20 7b 0a 20 | here.==."current").{.....try.{.. |
2db40 | 20 20 20 20 20 67 42 72 6f 77 73 65 72 2e 67 6f 42 61 63 6b 28 29 3b 0a 20 20 20 20 7d 0a 20 20 | .....gBrowser.goBack();.....}... |
2db60 | 20 20 63 61 74 63 68 28 65 78 29 20 7b 0a 20 20 20 20 7d 0a 20 20 7d 0a 20 20 65 6c 73 65 20 7b | ..catch(ex).{.....}...}...else.{ |
2db80 | 0a 20 20 20 20 76 61 72 20 73 65 73 73 69 6f 6e 48 69 73 74 6f 72 79 20 3d 20 67 65 74 57 65 62 | .....var.sessionHistory.=.getWeb |
2dba0 | 4e 61 76 69 67 61 74 69 6f 6e 28 29 2e 73 65 73 73 69 6f 6e 48 69 73 74 6f 72 79 3b 0a 20 20 20 | Navigation().sessionHistory;.... |
2dbc0 | 20 76 61 72 20 63 75 72 72 65 6e 74 49 6e 64 65 78 20 3d 20 73 65 73 73 69 6f 6e 48 69 73 74 6f | .var.currentIndex.=.sessionHisto |
2dbe0 | 72 79 2e 69 6e 64 65 78 3b 0a 20 20 20 20 76 61 72 20 65 6e 74 72 79 20 3d 20 73 65 73 73 69 6f | ry.index;.....var.entry.=.sessio |
2dc00 | 6e 48 69 73 74 6f 72 79 2e 67 65 74 45 6e 74 72 79 41 74 49 6e 64 65 78 28 63 75 72 72 65 6e 74 | nHistory.getEntryAtIndex(current |
2dc20 | 49 6e 64 65 78 20 2d 20 31 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 20 76 61 72 20 75 72 6c 20 3d | Index.-.1,.false);.....var.url.= |
2dc40 | 20 65 6e 74 72 79 2e 55 52 49 2e 73 70 65 63 3b 0a 20 20 20 20 6f 70 65 6e 55 49 4c 69 6e 6b 49 | .entry.URI.spec;.....openUILinkI |
2dc60 | 6e 28 75 72 6c 2c 20 77 68 65 72 65 29 3b 0a 20 20 7d 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 42 | n(url,.where);...}.}..function.B |
2dc80 | 72 6f 77 73 65 72 48 61 6e 64 6c 65 42 61 63 6b 73 70 61 63 65 28 29 0a 7b 0a 20 20 73 77 69 74 | rowserHandleBackspace().{...swit |
2dca0 | 63 68 20 28 67 50 72 65 66 53 65 72 76 69 63 65 2e 67 65 74 49 6e 74 50 72 65 66 28 22 62 72 6f | ch.(gPrefService.getIntPref("bro |
2dcc0 | 77 73 65 72 2e 62 61 63 6b 73 70 61 63 65 5f 61 63 74 69 6f 6e 22 29 29 20 7b 0a 20 20 63 61 73 | wser.backspace_action")).{...cas |
2dce0 | 65 20 30 3a 0a 20 20 20 20 42 72 6f 77 73 65 72 42 61 63 6b 28 29 3b 0a 20 20 20 20 62 72 65 61 | e.0:.....BrowserBack();.....brea |
2dd00 | 6b 3b 0a 20 20 63 61 73 65 20 31 3a 0a 20 20 20 20 67 6f 44 6f 43 6f 6d 6d 61 6e 64 28 22 63 6d | k;...case.1:.....goDoCommand("cm |
2dd20 | 64 5f 73 63 72 6f 6c 6c 50 61 67 65 55 70 22 29 3b 0a 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 7d | d_scrollPageUp");.....break;...} |
2dd40 | 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 42 72 6f 77 73 65 72 48 61 6e 64 6c 65 53 68 69 66 74 42 | .}..function.BrowserHandleShiftB |
2dd60 | 61 63 6b 73 70 61 63 65 28 29 0a 7b 0a 20 20 73 77 69 74 63 68 20 28 67 50 72 65 66 53 65 72 76 | ackspace().{...switch.(gPrefServ |
2dd80 | 69 63 65 2e 67 65 74 49 6e 74 50 72 65 66 28 22 62 72 6f 77 73 65 72 2e 62 61 63 6b 73 70 61 63 | ice.getIntPref("browser.backspac |
2dda0 | 65 5f 61 63 74 69 6f 6e 22 29 29 20 7b 0a 20 20 63 61 73 65 20 30 3a 0a 20 20 20 20 42 72 6f 77 | e_action")).{...case.0:.....Brow |
2ddc0 | 73 65 72 46 6f 72 77 61 72 64 28 29 3b 0a 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 63 61 73 65 20 | serForward();.....break;...case. |
2dde0 | 31 3a 0a 20 20 20 20 67 6f 44 6f 43 6f 6d 6d 61 6e 64 28 22 63 6d 64 5f 73 63 72 6f 6c 6c 50 61 | 1:.....goDoCommand("cmd_scrollPa |
2de00 | 67 65 44 6f 77 6e 22 29 3b 0a 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 7d 0a 7d 0a 0a 66 75 6e 63 | geDown");.....break;...}.}..func |
2de20 | 74 69 6f 6e 20 42 72 6f 77 73 65 72 53 74 6f 70 28 29 0a 7b 0a 20 20 74 72 79 20 7b 0a 20 20 20 | tion.BrowserStop().{...try.{.... |
2de40 | 20 63 6f 6e 73 74 20 73 74 6f 70 46 6c 61 67 73 20 3d 20 6e 73 49 57 65 62 4e 61 76 69 67 61 74 | .const.stopFlags.=.nsIWebNavigat |
2de60 | 69 6f 6e 2e 53 54 4f 50 5f 41 4c 4c 3b 0a 20 20 20 20 67 65 74 57 65 62 4e 61 76 69 67 61 74 69 | ion.STOP_ALL;.....getWebNavigati |
2de80 | 6f 6e 28 29 2e 73 74 6f 70 28 73 74 6f 70 46 6c 61 67 73 29 3b 0a 20 20 7d 0a 20 20 63 61 74 63 | on().stop(stopFlags);...}...catc |
2dea0 | 68 28 65 78 29 20 7b 0a 20 20 7d 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 42 72 6f 77 73 65 72 52 | h(ex).{...}.}..function.BrowserR |
2dec0 | 65 6c 6f 61 64 4f 72 44 75 70 6c 69 63 61 74 65 28 61 45 76 65 6e 74 29 20 7b 0a 20 20 76 61 72 | eloadOrDuplicate(aEvent).{...var |
2dee0 | 20 62 61 63 6b 67 72 6f 75 6e 64 54 61 62 4d 6f 64 69 66 69 65 72 20 3d 20 61 45 76 65 6e 74 2e | .backgroundTabModifier.=.aEvent. |
2df00 | 62 75 74 74 6f 6e 20 3d 3d 20 31 20 7c 7c 0a 2f 2f 40 6c 69 6e 65 20 31 37 31 34 20 22 2f 62 75 | button.==.1.||.//@line.1714."/bu |
2df20 | 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c | ilds/moz2_slave/linux_build/buil |
2df40 | 64 2f 62 72 6f 77 73 65 72 2f 62 61 73 65 2f 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2e 6a | d/browser/base/content/browser.j |
2df60 | 73 22 0a 20 20 20 20 61 45 76 65 6e 74 2e 63 74 72 6c 4b 65 79 3b 0a 2f 2f 40 6c 69 6e 65 20 31 | s".....aEvent.ctrlKey;.//@line.1 |
2df80 | 37 31 36 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 | 716."/builds/moz2_slave/linux_bu |
2dfa0 | 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 62 61 73 65 2f 63 6f 6e 74 65 6e 74 2f 62 | ild/build/browser/base/content/b |
2dfc0 | 72 6f 77 73 65 72 2e 6a 73 22 0a 20 20 69 66 20 28 61 45 76 65 6e 74 2e 73 68 69 66 74 4b 65 79 | rowser.js"...if.(aEvent.shiftKey |
2dfe0 | 20 26 26 20 21 62 61 63 6b 67 72 6f 75 6e 64 54 61 62 4d 6f 64 69 66 69 65 72 29 20 7b 0a 20 20 | .&&.!backgroundTabModifier).{... |
2e000 | 20 20 42 72 6f 77 73 65 72 52 65 6c 6f 61 64 53 6b 69 70 43 61 63 68 65 28 29 3b 0a 20 20 20 20 | ..BrowserReloadSkipCache();..... |
2e020 | 72 65 74 75 72 6e 3b 0a 20 20 7d 0a 0a 20 20 76 61 72 20 77 68 65 72 65 20 3d 20 77 68 65 72 65 | return;...}....var.where.=.where |
2e040 | 54 6f 4f 70 65 6e 4c 69 6e 6b 28 61 45 76 65 6e 74 2c 20 66 61 6c 73 65 2c 20 74 72 75 65 29 3b | ToOpenLink(aEvent,.false,.true); |
2e060 | 0a 20 20 69 66 20 28 77 68 65 72 65 20 3d 3d 20 22 63 75 72 72 65 6e 74 22 29 0a 20 20 20 20 42 | ...if.(where.==."current").....B |
2e080 | 72 6f 77 73 65 72 52 65 6c 6f 61 64 28 29 3b 0a 20 20 65 6c 73 65 0a 20 20 20 20 6f 70 65 6e 55 | rowserReload();...else.....openU |
2e0a0 | 49 4c 69 6e 6b 49 6e 28 67 65 74 57 65 62 4e 61 76 69 67 61 74 69 6f 6e 28 29 2e 63 75 72 72 65 | ILinkIn(getWebNavigation().curre |
2e0c0 | 6e 74 55 52 49 2e 73 70 65 63 2c 20 77 68 65 72 65 29 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 | ntURI.spec,.where);.}..function. |
2e0e0 | 42 72 6f 77 73 65 72 52 65 6c 6f 61 64 28 29 20 7b 0a 20 20 63 6f 6e 73 74 20 72 65 6c 6f 61 64 | BrowserReload().{...const.reload |
2e100 | 46 6c 61 67 73 20 3d 20 6e 73 49 57 65 62 4e 61 76 69 67 61 74 69 6f 6e 2e 4c 4f 41 44 5f 46 4c | Flags.=.nsIWebNavigation.LOAD_FL |
2e120 | 41 47 53 5f 4e 4f 4e 45 3b 0a 20 20 42 72 6f 77 73 65 72 52 65 6c 6f 61 64 57 69 74 68 46 6c 61 | AGS_NONE;...BrowserReloadWithFla |
2e140 | 67 73 28 72 65 6c 6f 61 64 46 6c 61 67 73 29 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 42 72 6f | gs(reloadFlags);.}..function.Bro |
2e160 | 77 73 65 72 52 65 6c 6f 61 64 53 6b 69 70 43 61 63 68 65 28 29 20 7b 0a 20 20 2f 2f 20 42 79 70 | wserReloadSkipCache().{...//.Byp |
2e180 | 61 73 73 20 70 72 6f 78 79 20 61 6e 64 20 63 61 63 68 65 2e 0a 20 20 63 6f 6e 73 74 20 72 65 6c | ass.proxy.and.cache....const.rel |
2e1a0 | 6f 61 64 46 6c 61 67 73 20 3d 20 6e 73 49 57 65 62 4e 61 76 69 67 61 74 69 6f 6e 2e 4c 4f 41 44 | oadFlags.=.nsIWebNavigation.LOAD |
2e1c0 | 5f 46 4c 41 47 53 5f 42 59 50 41 53 53 5f 50 52 4f 58 59 20 7c 20 6e 73 49 57 65 62 4e 61 76 69 | _FLAGS_BYPASS_PROXY.|.nsIWebNavi |
2e1e0 | 67 61 74 69 6f 6e 2e 4c 4f 41 44 5f 46 4c 41 47 53 5f 42 59 50 41 53 53 5f 43 41 43 48 45 3b 0a | gation.LOAD_FLAGS_BYPASS_CACHE;. |
2e200 | 20 20 42 72 6f 77 73 65 72 52 65 6c 6f 61 64 57 69 74 68 46 6c 61 67 73 28 72 65 6c 6f 61 64 46 | ..BrowserReloadWithFlags(reloadF |
2e220 | 6c 61 67 73 29 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 42 72 6f 77 73 65 72 48 6f 6d 65 28 29 | lags);.}..function.BrowserHome() |
2e240 | 0a 7b 0a 20 20 76 61 72 20 68 6f 6d 65 50 61 67 65 20 3d 20 67 48 6f 6d 65 42 75 74 74 6f 6e 2e | .{...var.homePage.=.gHomeButton. |
2e260 | 67 65 74 48 6f 6d 65 50 61 67 65 28 29 3b 0a 20 20 6c 6f 61 64 4f 6e 65 4f 72 4d 6f 72 65 55 52 | getHomePage();...loadOneOrMoreUR |
2e280 | 49 73 28 68 6f 6d 65 50 61 67 65 29 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 42 72 6f 77 73 65 | Is(homePage);.}..function.Browse |
2e2a0 | 72 47 6f 48 6f 6d 65 28 61 45 76 65 6e 74 29 20 7b 0a 20 20 69 66 20 28 61 45 76 65 6e 74 20 26 | rGoHome(aEvent).{...if.(aEvent.& |
2e2c0 | 26 20 22 62 75 74 74 6f 6e 22 20 69 6e 20 61 45 76 65 6e 74 20 26 26 0a 20 20 20 20 20 20 61 45 | &."button".in.aEvent.&&.......aE |
2e2e0 | 76 65 6e 74 2e 62 75 74 74 6f 6e 20 3d 3d 20 32 29 20 2f 2f 20 72 69 67 68 74 2d 63 6c 69 63 6b | vent.button.==.2).//.right-click |
2e300 | 3a 20 64 6f 20 6e 6f 74 68 69 6e 67 0a 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 76 61 72 20 | :.do.nothing.....return;....var. |
2e320 | 68 6f 6d 65 50 61 67 65 20 3d 20 67 48 6f 6d 65 42 75 74 74 6f 6e 2e 67 65 74 48 6f 6d 65 50 61 | homePage.=.gHomeButton.getHomePa |
2e340 | 67 65 28 29 3b 0a 20 20 76 61 72 20 77 68 65 72 65 20 3d 20 77 68 65 72 65 54 6f 4f 70 65 6e 4c | ge();...var.where.=.whereToOpenL |
2e360 | 69 6e 6b 28 61 45 76 65 6e 74 2c 20 66 61 6c 73 65 2c 20 74 72 75 65 29 3b 0a 20 20 76 61 72 20 | ink(aEvent,.false,.true);...var. |
2e380 | 75 72 6c 73 3b 0a 0a 20 20 2f 2f 20 6f 70 65 6e 55 49 4c 69 6e 6b 49 6e 20 69 6e 20 75 74 69 6c | urls;....//.openUILinkIn.in.util |
2e3a0 | 69 74 79 4f 76 65 72 6c 61 79 2e 6a 73 20 64 6f 65 73 6e 27 74 20 68 61 6e 64 6c 65 20 6c 6f 61 | ityOverlay.js.doesn't.handle.loa |
2e3c0 | 64 69 6e 67 20 6d 75 6c 74 69 70 6c 65 20 70 61 67 65 73 0a 20 20 73 77 69 74 63 68 20 28 77 68 | ding.multiple.pages...switch.(wh |
2e3e0 | 65 72 65 29 20 7b 0a 20 20 63 61 73 65 20 22 63 75 72 72 65 6e 74 22 3a 0a 20 20 20 20 6c 6f 61 | ere).{...case."current":.....loa |
2e400 | 64 4f 6e 65 4f 72 4d 6f 72 65 55 52 49 73 28 68 6f 6d 65 50 61 67 65 29 3b 0a 20 20 20 20 62 72 | dOneOrMoreURIs(homePage);.....br |
2e420 | 65 61 6b 3b 0a 20 20 63 61 73 65 20 22 74 61 62 73 68 69 66 74 65 64 22 3a 0a 20 20 63 61 73 65 | eak;...case."tabshifted":...case |
2e440 | 20 22 74 61 62 22 3a 0a 20 20 20 20 75 72 6c 73 20 3d 20 68 6f 6d 65 50 61 67 65 2e 73 70 6c 69 | ."tab":.....urls.=.homePage.spli |
2e460 | 74 28 22 7c 22 29 3b 0a 20 20 20 20 76 61 72 20 6c 6f 61 64 49 6e 42 61 63 6b 67 72 6f 75 6e 64 | t("|");.....var.loadInBackground |
2e480 | 20 3d 20 67 65 74 42 6f 6f 6c 50 72 65 66 28 22 62 72 6f 77 73 65 72 2e 74 61 62 73 2e 6c 6f 61 | .=.getBoolPref("browser.tabs.loa |
2e4a0 | 64 42 6f 6f 6b 6d 61 72 6b 73 49 6e 42 61 63 6b 67 72 6f 75 6e 64 22 2c 20 66 61 6c 73 65 29 3b | dBookmarksInBackground",.false); |
2e4c0 | 0a 20 20 20 20 67 42 72 6f 77 73 65 72 2e 6c 6f 61 64 54 61 62 73 28 75 72 6c 73 2c 20 6c 6f 61 | .....gBrowser.loadTabs(urls,.loa |
2e4e0 | 64 49 6e 42 61 63 6b 67 72 6f 75 6e 64 29 3b 0a 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 63 61 73 | dInBackground);.....break;...cas |
2e500 | 65 20 22 77 69 6e 64 6f 77 22 3a 0a 20 20 20 20 4f 70 65 6e 42 72 6f 77 73 65 72 57 69 6e 64 6f | e."window":.....OpenBrowserWindo |
2e520 | 77 28 29 3b 0a 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 7d 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 | w();.....break;...}.}..function. |
2e540 | 6c 6f 61 64 4f 6e 65 4f 72 4d 6f 72 65 55 52 49 73 28 61 55 52 49 53 74 72 69 6e 67 29 0a 7b 0a | loadOneOrMoreURIs(aURIString).{. |
2e560 | 2f 2f 40 6c 69 6e 65 20 31 37 38 31 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 | //@line.1781."/builds/moz2_slave |
2e580 | 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 62 61 73 65 2f | /linux_build/build/browser/base/ |
2e5a0 | 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2e 6a 73 22 0a 20 20 2f 2f 20 54 68 69 73 20 66 75 | content/browser.js"...//.This.fu |
2e5c0 | 6e 63 74 69 6f 6e 20 74 68 72 6f 77 73 20 66 6f 72 20 63 65 72 74 61 69 6e 20 6d 61 6c 66 6f 72 | nction.throws.for.certain.malfor |
2e5e0 | 6d 65 64 20 55 52 49 73 2c 20 73 6f 20 75 73 65 20 65 78 63 65 70 74 69 6f 6e 20 68 61 6e 64 6c | med.URIs,.so.use.exception.handl |
2e600 | 69 6e 67 0a 20 20 2f 2f 20 73 6f 20 74 68 61 74 20 77 65 20 64 6f 6e 27 74 20 64 69 73 72 75 70 | ing...//.so.that.we.don't.disrup |
2e620 | 74 20 73 74 61 72 74 75 70 0a 20 20 74 72 79 20 7b 0a 20 20 20 20 67 42 72 6f 77 73 65 72 2e 6c | t.startup...try.{.....gBrowser.l |
2e640 | 6f 61 64 54 61 62 73 28 61 55 52 49 53 74 72 69 6e 67 2e 73 70 6c 69 74 28 22 7c 22 29 2c 20 66 | oadTabs(aURIString.split("|"),.f |
2e660 | 61 6c 73 65 2c 20 74 72 75 65 29 3b 0a 20 20 7d 20 0a 20 20 63 61 74 63 68 20 28 65 29 20 7b 0a | alse,.true);...}....catch.(e).{. |
2e680 | 20 20 7d 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 66 6f 63 75 73 41 6e 64 53 65 6c 65 63 74 55 72 | ..}.}..function.focusAndSelectUr |
2e6a0 | 6c 42 61 72 28 29 20 7b 0a 20 20 69 66 20 28 67 55 52 4c 42 61 72 20 26 26 20 69 73 45 6c 65 6d | lBar().{...if.(gURLBar.&&.isElem |
2e6c0 | 65 6e 74 56 69 73 69 62 6c 65 28 67 55 52 4c 42 61 72 29 20 26 26 20 21 67 55 52 4c 42 61 72 2e | entVisible(gURLBar).&&.!gURLBar. |
2e6e0 | 72 65 61 64 4f 6e 6c 79 29 20 7b 0a 20 20 20 20 67 55 52 4c 42 61 72 2e 66 6f 63 75 73 28 29 3b | readOnly).{.....gURLBar.focus(); |
2e700 | 0a 20 20 20 20 67 55 52 4c 42 61 72 2e 73 65 6c 65 63 74 28 29 3b 0a 20 20 20 20 72 65 74 75 72 | .....gURLBar.select();.....retur |
2e720 | 6e 20 74 72 75 65 3b 0a 20 20 7d 0a 20 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 0a 7d 0a 0a 66 | n.true;...}...return.false;.}..f |
2e740 | 75 6e 63 74 69 6f 6e 20 6f 70 65 6e 4c 6f 63 61 74 69 6f 6e 28 29 20 7b 0a 20 20 69 66 20 28 77 | unction.openLocation().{...if.(w |
2e760 | 69 6e 64 6f 77 2e 66 75 6c 6c 53 63 72 65 65 6e 29 0a 20 20 20 20 46 75 6c 6c 53 63 72 65 65 6e | indow.fullScreen).....FullScreen |
2e780 | 2e 6d 6f 75 73 65 6f 76 65 72 54 6f 67 67 6c 65 28 74 72 75 65 29 3b 0a 0a 20 20 69 66 20 28 66 | .mouseoverToggle(true);....if.(f |
2e7a0 | 6f 63 75 73 41 6e 64 53 65 6c 65 63 74 55 72 6c 42 61 72 28 29 29 0a 20 20 20 20 72 65 74 75 72 | ocusAndSelectUrlBar()).....retur |
2e7c0 | 6e 3b 0a 2f 2f 40 6c 69 6e 65 20 31 38 32 32 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c | n;.//@line.1822."/builds/moz2_sl |
2e7e0 | 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 62 61 | ave/linux_build/build/browser/ba |
2e800 | 73 65 2f 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2e 6a 73 22 0a 20 20 6f 70 65 6e 44 69 61 | se/content/browser.js"...openDia |
2e820 | 6c 6f 67 28 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 6f 70 | log("chrome://browser/content/op |
2e840 | 65 6e 4c 6f 63 61 74 69 6f 6e 2e 78 75 6c 22 2c 20 22 5f 62 6c 61 6e 6b 22 2c 0a 20 20 20 20 20 | enLocation.xul",."_blank",...... |
2e860 | 20 20 20 20 20 20 20 20 22 63 68 72 6f 6d 65 2c 6d 6f 64 61 6c 2c 74 69 74 6c 65 62 61 72 22 2c | ........"chrome,modal,titlebar", |
2e880 | 20 77 69 6e 64 6f 77 29 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 6f 70 65 6e 4c 6f 63 61 74 69 | .window);.}..function.openLocati |
2e8a0 | 6f 6e 43 61 6c 6c 62 61 63 6b 28 29 0a 7b 0a 20 20 2f 2f 20 6d 61 6b 65 20 73 75 72 65 20 74 68 | onCallback().{...//.make.sure.th |
2e8c0 | 65 20 44 4f 4d 20 69 73 20 72 65 61 64 79 0a 20 20 73 65 74 54 69 6d 65 6f 75 74 28 66 75 6e 63 | e.DOM.is.ready...setTimeout(func |
2e8e0 | 74 69 6f 6e 28 29 20 7b 20 74 68 69 73 2e 6f 70 65 6e 4c 6f 63 61 74 69 6f 6e 28 29 3b 20 7d 2c | tion().{.this.openLocation();.}, |
2e900 | 20 30 29 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 42 72 6f 77 73 65 72 4f 70 65 6e 54 61 62 28 | .0);.}..function.BrowserOpenTab( |
2e920 | 29 0a 7b 0a 20 20 69 66 20 28 21 67 42 72 6f 77 73 65 72 29 20 7b 0a 20 20 20 20 2f 2f 20 49 66 | ).{...if.(!gBrowser).{.....//.If |
2e940 | 20 74 68 65 72 65 20 61 72 65 20 6e 6f 20 6f 70 65 6e 20 62 72 6f 77 73 65 72 20 77 69 6e 64 6f | .there.are.no.open.browser.windo |
2e960 | 77 73 2c 20 6f 70 65 6e 20 61 20 6e 65 77 20 6f 6e 65 0a 20 20 20 20 77 69 6e 64 6f 77 2e 6f 70 | ws,.open.a.new.one.....window.op |
2e980 | 65 6e 44 69 61 6c 6f 67 28 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 | enDialog("chrome://browser/conte |
2e9a0 | 6e 74 2f 22 2c 20 22 5f 62 6c 61 6e 6b 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | nt/",."_blank",................. |
2e9c0 | 20 20 20 20 20 20 22 63 68 72 6f 6d 65 2c 61 6c 6c 2c 64 69 61 6c 6f 67 3d 6e 6f 22 2c 20 22 61 | ......"chrome,all,dialog=no",."a |
2e9e0 | 62 6f 75 74 3a 62 6c 61 6e 6b 22 29 3b 0a 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 7d 0a 20 20 | bout:blank");.....return;...}... |
2ea00 | 67 42 72 6f 77 73 65 72 2e 6c 6f 61 64 4f 6e 65 54 61 62 28 22 61 62 6f 75 74 3a 62 6c 61 6e 6b | gBrowser.loadOneTab("about:blank |
2ea20 | 22 2c 20 6e 75 6c 6c 2c 20 6e 75 6c 6c 2c 20 6e 75 6c 6c 2c 20 66 61 6c 73 65 2c 20 66 61 6c 73 | ",.null,.null,.null,.false,.fals |
2ea40 | 65 29 3b 0a 20 20 69 66 20 28 67 55 52 4c 42 61 72 29 0a 20 20 20 20 67 55 52 4c 42 61 72 2e 66 | e);...if.(gURLBar).....gURLBar.f |
2ea60 | 6f 63 75 73 28 29 3b 0a 7d 0a 0a 2f 2a 20 43 61 6c 6c 65 64 20 66 72 6f 6d 20 74 68 65 20 6f 70 | ocus();.}../*.Called.from.the.op |
2ea80 | 65 6e 4c 6f 63 61 74 69 6f 6e 20 64 69 61 6c 6f 67 2e 20 54 68 69 73 20 61 6c 6c 6f 77 73 20 74 | enLocation.dialog..This.allows.t |
2eaa0 | 68 61 74 20 64 69 61 6c 6f 67 20 74 6f 20 69 6e 73 74 72 75 63 74 0a 20 20 20 69 74 73 20 6f 70 | hat.dialog.to.instruct....its.op |
2eac0 | 65 6e 65 72 20 74 6f 20 6f 70 65 6e 20 61 20 6e 65 77 20 77 69 6e 64 6f 77 20 61 6e 64 20 74 68 | ener.to.open.a.new.window.and.th |
2eae0 | 65 6e 20 73 74 65 70 20 63 6f 6d 70 6c 65 74 65 6c 79 20 6f 75 74 20 6f 66 20 74 68 65 20 77 61 | en.step.completely.out.of.the.wa |
2eb00 | 79 2e 0a 20 20 20 41 6e 79 74 68 69 6e 67 20 6c 65 73 73 20 62 79 7a 61 6e 74 69 6e 65 20 69 73 | y.....Anything.less.byzantine.is |
2eb20 | 20 63 61 75 73 69 6e 67 20 68 6f 72 72 69 62 6c 65 20 63 72 61 73 68 65 73 2c 20 72 61 74 68 65 | .causing.horrible.crashes,.rathe |
2eb40 | 72 20 62 65 6c 69 65 76 61 62 6c 79 2c 0a 20 20 20 74 68 6f 75 67 68 20 6f 64 64 6c 79 20 6f 6e | r.believably,....though.oddly.on |
2eb60 | 6c 79 20 6f 6e 20 4c 69 6e 75 78 2e 20 2a 2f 0a 66 75 6e 63 74 69 6f 6e 20 64 65 6c 61 79 65 64 | ly.on.Linux..*/.function.delayed |
2eb80 | 4f 70 65 6e 57 69 6e 64 6f 77 28 63 68 72 6f 6d 65 2c 20 66 6c 61 67 73 2c 20 68 72 65 66 2c 20 | OpenWindow(chrome,.flags,.href,. |
2eba0 | 70 6f 73 74 44 61 74 61 29 0a 7b 0a 20 20 2f 2f 20 54 68 65 20 6f 74 68 65 72 20 77 61 79 20 74 | postData).{...//.The.other.way.t |
2ebc0 | 6f 20 75 73 65 20 73 65 74 54 69 6d 65 6f 75 74 2c 0a 20 20 2f 2f 20 73 65 74 54 69 6d 65 6f 75 | o.use.setTimeout,...//.setTimeou |
2ebe0 | 74 28 6f 70 65 6e 44 69 61 6c 6f 67 2c 20 31 30 2c 20 63 68 72 6f 6d 65 2c 20 22 5f 62 6c 61 6e | t(openDialog,.10,.chrome,."_blan |
2ec00 | 6b 22 2c 20 66 6c 61 67 73 2c 20 75 72 6c 29 2c 0a 20 20 2f 2f 20 64 6f 65 73 6e 27 74 20 77 6f | k",.flags,.url),...//.doesn't.wo |
2ec20 | 72 6b 20 68 65 72 65 2e 20 20 54 68 65 20 65 78 74 72 61 20 22 6d 61 67 69 63 22 20 65 78 74 72 | rk.here...The.extra."magic".extr |
2ec40 | 61 20 61 72 67 75 6d 65 6e 74 20 73 65 74 54 69 6d 65 6f 75 74 20 61 64 64 73 20 74 6f 0a 20 20 | a.argument.setTimeout.adds.to... |
2ec60 | 2f 2f 20 74 68 65 20 63 61 6c 6c 62 61 63 6b 20 66 75 6e 63 74 69 6f 6e 20 77 6f 75 6c 64 20 63 | //.the.callback.function.would.c |
2ec80 | 6f 6e 66 75 73 65 20 70 72 65 70 61 72 65 46 6f 72 53 74 61 72 74 75 70 28 29 20 62 79 20 6d 61 | onfuse.prepareForStartup().by.ma |
2eca0 | 6b 69 6e 67 0a 20 20 2f 2f 20 77 69 6e 64 6f 77 2e 61 72 67 75 6d 65 6e 74 73 5b 31 5d 20 62 65 | king...//.window.arguments[1].be |
2ecc0 | 20 61 6e 20 69 6e 74 65 67 65 72 20 69 6e 73 74 65 61 64 20 6f 66 20 6e 75 6c 6c 2e 0a 20 20 73 | .an.integer.instead.of.null....s |
2ece0 | 65 74 54 69 6d 65 6f 75 74 28 66 75 6e 63 74 69 6f 6e 28 29 20 7b 20 6f 70 65 6e 44 69 61 6c 6f | etTimeout(function().{.openDialo |
2ed00 | 67 28 63 68 72 6f 6d 65 2c 20 22 5f 62 6c 61 6e 6b 22 2c 20 66 6c 61 67 73 2c 20 68 72 65 66 2c | g(chrome,."_blank",.flags,.href, |
2ed20 | 20 6e 75 6c 6c 2c 20 6e 75 6c 6c 2c 20 70 6f 73 74 44 61 74 61 29 3b 20 7d 2c 20 31 30 29 3b 0a | .null,.null,.postData);.},.10);. |
2ed40 | 7d 0a 0a 2f 2a 20 52 65 71 75 69 72 65 64 20 62 65 63 61 75 73 65 20 74 68 65 20 74 61 62 20 6e | }../*.Required.because.the.tab.n |
2ed60 | 65 65 64 73 20 74 69 6d 65 20 74 6f 20 73 65 74 20 75 70 20 69 74 73 20 63 6f 6e 74 65 6e 74 20 | eeds.time.to.set.up.its.content. |
2ed80 | 76 69 65 77 65 72 73 20 61 6e 64 20 67 65 74 20 74 68 65 20 6c 6f 61 64 20 6f 66 0a 20 20 20 74 | viewers.and.get.the.load.of....t |
2eda0 | 68 65 20 55 52 49 20 6b 69 63 6b 65 64 20 6f 66 66 20 62 65 66 6f 72 65 20 62 65 63 6f 6d 69 6e | he.URI.kicked.off.before.becomin |
2edc0 | 67 20 74 68 65 20 61 63 74 69 76 65 20 63 6f 6e 74 65 6e 74 20 61 72 65 61 2e 20 2a 2f 0a 66 75 | g.the.active.content.area..*/.fu |
2ede0 | 6e 63 74 69 6f 6e 20 64 65 6c 61 79 65 64 4f 70 65 6e 54 61 62 28 61 55 72 6c 2c 20 61 52 65 66 | nction.delayedOpenTab(aUrl,.aRef |
2ee00 | 65 72 72 65 72 2c 20 61 43 68 61 72 73 65 74 2c 20 61 50 6f 73 74 44 61 74 61 2c 20 61 41 6c 6c | errer,.aCharset,.aPostData,.aAll |
2ee20 | 6f 77 54 68 69 72 64 50 61 72 74 79 46 69 78 75 70 29 0a 7b 0a 20 20 67 42 72 6f 77 73 65 72 2e | owThirdPartyFixup).{...gBrowser. |
2ee40 | 6c 6f 61 64 4f 6e 65 54 61 62 28 61 55 72 6c 2c 20 61 52 65 66 65 72 72 65 72 2c 20 61 43 68 61 | loadOneTab(aUrl,.aReferrer,.aCha |
2ee60 | 72 73 65 74 2c 20 61 50 6f 73 74 44 61 74 61 2c 20 66 61 6c 73 65 2c 20 61 41 6c 6c 6f 77 54 68 | rset,.aPostData,.false,.aAllowTh |
2ee80 | 69 72 64 50 61 72 74 79 46 69 78 75 70 29 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 42 72 6f 77 | irdPartyFixup);.}..function.Brow |
2eea0 | 73 65 72 4f 70 65 6e 46 69 6c 65 57 69 6e 64 6f 77 28 29 0a 7b 0a 20 20 2f 2f 20 47 65 74 20 66 | serOpenFileWindow().{...//.Get.f |
2eec0 | 69 6c 65 70 69 63 6b 65 72 20 63 6f 6d 70 6f 6e 65 6e 74 2e 0a 20 20 74 72 79 20 7b 0a 20 20 20 | ilepicker.component....try.{.... |
2eee0 | 20 63 6f 6e 73 74 20 6e 73 49 46 69 6c 65 50 69 63 6b 65 72 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 | .const.nsIFilePicker.=.Component |
2ef00 | 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 46 69 6c 65 50 69 63 6b 65 72 3b 0a 20 20 20 20 | s.interfaces.nsIFilePicker;..... |
2ef20 | 76 61 72 20 66 70 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f | var.fp.=.Components.classes["@mo |
2ef40 | 7a 69 6c 6c 61 2e 6f 72 67 2f 66 69 6c 65 70 69 63 6b 65 72 3b 31 22 5d 2e 63 72 65 61 74 65 49 | zilla.org/filepicker;1"].createI |
2ef60 | 6e 73 74 61 6e 63 65 28 6e 73 49 46 69 6c 65 50 69 63 6b 65 72 29 3b 0a 20 20 20 20 66 70 2e 69 | nstance(nsIFilePicker);.....fp.i |
2ef80 | 6e 69 74 28 77 69 6e 64 6f 77 2c 20 67 4e 61 76 69 67 61 74 6f 72 42 75 6e 64 6c 65 2e 67 65 74 | nit(window,.gNavigatorBundle.get |
2efa0 | 53 74 72 69 6e 67 28 22 6f 70 65 6e 46 69 6c 65 22 29 2c 20 6e 73 49 46 69 6c 65 50 69 63 6b 65 | String("openFile"),.nsIFilePicke |
2efc0 | 72 2e 6d 6f 64 65 4f 70 65 6e 29 3b 0a 20 20 20 20 66 70 2e 61 70 70 65 6e 64 46 69 6c 74 65 72 | r.modeOpen);.....fp.appendFilter |
2efe0 | 73 28 6e 73 49 46 69 6c 65 50 69 63 6b 65 72 2e 66 69 6c 74 65 72 41 6c 6c 20 7c 20 6e 73 49 46 | s(nsIFilePicker.filterAll.|.nsIF |
2f000 | 69 6c 65 50 69 63 6b 65 72 2e 66 69 6c 74 65 72 54 65 78 74 20 7c 20 6e 73 49 46 69 6c 65 50 69 | ilePicker.filterText.|.nsIFilePi |
2f020 | 63 6b 65 72 2e 66 69 6c 74 65 72 49 6d 61 67 65 73 20 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 | cker.filterImages.|............. |
2f040 | 20 20 20 20 20 20 20 20 20 6e 73 49 46 69 6c 65 50 69 63 6b 65 72 2e 66 69 6c 74 65 72 58 4d 4c | .........nsIFilePicker.filterXML |
2f060 | 20 7c 20 6e 73 49 46 69 6c 65 50 69 63 6b 65 72 2e 66 69 6c 74 65 72 48 54 4d 4c 29 3b 0a 0a 20 | .|.nsIFilePicker.filterHTML);... |
2f080 | 20 20 20 69 66 20 28 66 70 2e 73 68 6f 77 28 29 20 3d 3d 20 6e 73 49 46 69 6c 65 50 69 63 6b 65 | ...if.(fp.show().==.nsIFilePicke |
2f0a0 | 72 2e 72 65 74 75 72 6e 4f 4b 29 0a 20 20 20 20 20 20 6f 70 65 6e 54 6f 70 57 69 6e 28 66 70 2e | r.returnOK).......openTopWin(fp. |
2f0c0 | 66 69 6c 65 55 52 4c 2e 73 70 65 63 29 3b 0a 20 20 7d 20 63 61 74 63 68 20 28 65 78 29 20 7b 0a | fileURL.spec);...}.catch.(ex).{. |
2f0e0 | 20 20 7d 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 42 72 6f 77 73 65 72 43 6c 6f 73 65 54 61 62 4f | ..}.}..function.BrowserCloseTabO |
2f100 | 72 57 69 6e 64 6f 77 28 29 20 7b 0a 2f 2f 40 6c 69 6e 65 20 31 38 39 30 20 22 2f 62 75 69 6c 64 | rWindow().{.//@line.1890."/build |
2f120 | 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 | s/moz2_slave/linux_build/build/b |
2f140 | 72 6f 77 73 65 72 2f 62 61 73 65 2f 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2e 6a 73 22 0a | rowser/base/content/browser.js". |
2f160 | 0a 20 20 2f 2f 20 49 66 20 74 68 65 20 63 75 72 72 65 6e 74 20 74 61 62 20 69 73 20 74 68 65 20 | ...//.If.the.current.tab.is.the. |
2f180 | 6c 61 73 74 20 6f 6e 65 2c 20 74 68 69 73 20 77 69 6c 6c 20 63 6c 6f 73 65 20 74 68 65 20 77 69 | last.one,.this.will.close.the.wi |
2f1a0 | 6e 64 6f 77 2e 0a 20 20 67 42 72 6f 77 73 65 72 2e 72 65 6d 6f 76 65 43 75 72 72 65 6e 74 54 61 | ndow....gBrowser.removeCurrentTa |
2f1c0 | 62 28 29 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 42 72 6f 77 73 65 72 54 72 79 54 6f 43 6c 6f | b();.}..function.BrowserTryToClo |
2f1e0 | 73 65 57 69 6e 64 6f 77 28 29 0a 7b 0a 20 20 69 66 20 28 57 69 6e 64 6f 77 49 73 43 6c 6f 73 69 | seWindow().{...if.(WindowIsClosi |
2f200 | 6e 67 28 29 29 20 7b 0a 20 20 20 20 69 66 20 28 77 69 6e 64 6f 77 2e 66 75 6c 6c 53 63 72 65 65 | ng()).{.....if.(window.fullScree |
2f220 | 6e 29 20 7b 0a 20 20 20 20 20 20 67 42 72 6f 77 73 65 72 2e 6d 50 61 6e 65 6c 43 6f 6e 74 61 69 | n).{.......gBrowser.mPanelContai |
2f240 | 6e 65 72 2e 72 65 6d 6f 76 65 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 28 22 6d 6f 75 73 65 6d 6f | ner.removeEventListener("mousemo |
2f260 | 76 65 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ve",............................ |
2f280 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 46 75 6c 6c 53 63 72 65 | ........................FullScre |
2f2a0 | 65 6e 2e 5f 63 6f 6c 6c 61 70 73 65 43 61 6c 6c 62 61 63 6b 2c 20 66 61 6c 73 65 29 3b 0a 20 20 | en._collapseCallback,.false);... |
2f2c0 | 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 72 65 6d 6f 76 65 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 | ....document.removeEventListener |
2f2e0 | 28 22 6b 65 79 70 72 65 73 73 22 2c 20 46 75 6c 6c 53 63 72 65 65 6e 2e 5f 6b 65 79 54 6f 67 67 | ("keypress",.FullScreen._keyTogg |
2f300 | 6c 65 43 61 6c 6c 62 61 63 6b 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 20 20 20 64 6f 63 75 6d 65 | leCallback,.false);.......docume |
2f320 | 6e 74 2e 72 65 6d 6f 76 65 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 28 22 70 6f 70 75 70 73 68 6f | nt.removeEventListener("popupsho |
2f340 | 77 6e 22 2c 20 46 75 6c 6c 53 63 72 65 65 6e 2e 5f 73 65 74 50 6f 70 75 70 4f 70 65 6e 2c 20 66 | wn",.FullScreen._setPopupOpen,.f |
2f360 | 61 6c 73 65 29 3b 0a 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 72 65 6d 6f 76 65 45 76 65 6e | alse);.......document.removeEven |
2f380 | 74 4c 69 73 74 65 6e 65 72 28 22 70 6f 70 75 70 68 69 64 64 65 6e 22 2c 20 46 75 6c 6c 53 63 72 | tListener("popuphidden",.FullScr |
2f3a0 | 65 65 6e 2e 5f 73 65 74 50 6f 70 75 70 4f 70 65 6e 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 20 20 | een._setPopupOpen,.false);...... |
2f3c0 | 20 67 50 72 65 66 53 65 72 76 69 63 65 2e 72 65 6d 6f 76 65 4f 62 73 65 72 76 65 72 28 22 62 72 | .gPrefService.removeObserver("br |
2f3e0 | 6f 77 73 65 72 2e 66 75 6c 6c 73 63 72 65 65 6e 22 2c 20 46 75 6c 6c 53 63 72 65 65 6e 29 3b 0a | owser.fullscreen",.FullScreen);. |
2f400 | 0a 20 20 20 20 20 20 76 61 72 20 66 75 6c 6c 53 63 72 54 6f 67 67 6c 65 72 20 3d 20 64 6f 63 75 | .......var.fullScrToggler.=.docu |
2f420 | 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 66 75 6c 6c 73 63 72 2d 74 6f 67 | ment.getElementById("fullscr-tog |
2f440 | 67 6c 65 72 22 29 3b 0a 20 20 20 20 20 20 69 66 20 28 66 75 6c 6c 53 63 72 54 6f 67 67 6c 65 72 | gler");.......if.(fullScrToggler |
2f460 | 29 20 7b 0a 20 20 20 20 20 20 20 20 66 75 6c 6c 53 63 72 54 6f 67 67 6c 65 72 2e 72 65 6d 6f 76 | ).{.........fullScrToggler.remov |
2f480 | 65 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 28 22 6d 6f 75 73 65 6f 76 65 72 22 2c 20 46 75 6c 6c | eEventListener("mouseover",.Full |
2f4a0 | 53 63 72 65 65 6e 2e 5f 65 78 70 61 6e 64 43 61 6c 6c 62 61 63 6b 2c 20 66 61 6c 73 65 29 3b 0a | Screen._expandCallback,.false);. |
2f4c0 | 20 20 20 20 20 20 20 20 66 75 6c 6c 53 63 72 54 6f 67 67 6c 65 72 2e 72 65 6d 6f 76 65 45 76 65 | ........fullScrToggler.removeEve |
2f4e0 | 6e 74 4c 69 73 74 65 6e 65 72 28 22 64 72 61 67 65 6e 74 65 72 22 2c 20 46 75 6c 6c 53 63 72 65 | ntListener("dragenter",.FullScre |
2f500 | 65 6e 2e 5f 65 78 70 61 6e 64 43 61 6c 6c 62 61 63 6b 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 20 | en._expandCallback,.false);..... |
2f520 | 20 20 7d 0a 20 20 20 20 7d 0a 0a 20 20 20 20 77 69 6e 64 6f 77 2e 63 6c 6f 73 65 28 29 3b 20 20 | ..}.....}......window.close();.. |
2f540 | 20 20 20 2f 2f 20 57 69 6e 64 6f 77 49 73 43 6c 6f 73 69 6e 67 20 64 6f 65 73 20 61 6c 6c 20 74 | ...//.WindowIsClosing.does.all.t |
2f560 | 68 65 20 6e 65 63 65 73 73 61 72 79 20 63 68 65 63 6b 73 0a 20 20 7d 0a 7d 0a 0a 66 75 6e 63 74 | he.necessary.checks...}.}..funct |
2f580 | 69 6f 6e 20 6c 6f 61 64 55 52 49 28 75 72 69 2c 20 72 65 66 65 72 72 65 72 2c 20 70 6f 73 74 44 | ion.loadURI(uri,.referrer,.postD |
2f5a0 | 61 74 61 2c 20 61 6c 6c 6f 77 54 68 69 72 64 50 61 72 74 79 46 69 78 75 70 29 0a 7b 0a 20 20 74 | ata,.allowThirdPartyFixup).{...t |
2f5c0 | 72 79 20 7b 0a 20 20 20 20 69 66 20 28 70 6f 73 74 44 61 74 61 20 3d 3d 3d 20 75 6e 64 65 66 69 | ry.{.....if.(postData.===.undefi |
2f5e0 | 6e 65 64 29 0a 20 20 20 20 20 20 70 6f 73 74 44 61 74 61 20 3d 20 6e 75 6c 6c 3b 0a 20 20 20 20 | ned).......postData.=.null;..... |
2f600 | 76 61 72 20 66 6c 61 67 73 20 3d 20 6e 73 49 57 65 62 4e 61 76 69 67 61 74 69 6f 6e 2e 4c 4f 41 | var.flags.=.nsIWebNavigation.LOA |
2f620 | 44 5f 46 4c 41 47 53 5f 4e 4f 4e 45 3b 0a 20 20 20 20 69 66 20 28 61 6c 6c 6f 77 54 68 69 72 64 | D_FLAGS_NONE;.....if.(allowThird |
2f640 | 50 61 72 74 79 46 69 78 75 70 29 20 7b 0a 20 20 20 20 20 20 66 6c 61 67 73 20 3d 20 6e 73 49 57 | PartyFixup).{.......flags.=.nsIW |
2f660 | 65 62 4e 61 76 69 67 61 74 69 6f 6e 2e 4c 4f 41 44 5f 46 4c 41 47 53 5f 41 4c 4c 4f 57 5f 54 48 | ebNavigation.LOAD_FLAGS_ALLOW_TH |
2f680 | 49 52 44 5f 50 41 52 54 59 5f 46 49 58 55 50 3b 0a 20 20 20 20 7d 0a 20 20 20 20 67 42 72 6f 77 | IRD_PARTY_FIXUP;.....}.....gBrow |
2f6a0 | 73 65 72 2e 6c 6f 61 64 55 52 49 57 69 74 68 46 6c 61 67 73 28 75 72 69 2c 20 66 6c 61 67 73 2c | ser.loadURIWithFlags(uri,.flags, |
2f6c0 | 20 72 65 66 65 72 72 65 72 2c 20 6e 75 6c 6c 2c 20 70 6f 73 74 44 61 74 61 29 3b 0a 20 20 7d 20 | .referrer,.null,.postData);...}. |
2f6e0 | 63 61 74 63 68 20 28 65 29 20 7b 0a 20 20 7d 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 67 65 74 53 | catch.(e).{...}.}..function.getS |
2f700 | 68 6f 72 74 63 75 74 4f 72 55 52 49 28 61 55 52 4c 2c 20 61 50 6f 73 74 44 61 74 61 52 65 66 29 | hortcutOrURI(aURL,.aPostDataRef) |
2f720 | 20 7b 0a 20 20 76 61 72 20 73 68 6f 72 74 63 75 74 55 52 4c 20 3d 20 6e 75 6c 6c 3b 0a 20 20 76 | .{...var.shortcutURL.=.null;...v |
2f740 | 61 72 20 6b 65 79 77 6f 72 64 20 3d 20 61 55 52 4c 3b 0a 20 20 76 61 72 20 70 61 72 61 6d 20 3d | ar.keyword.=.aURL;...var.param.= |
2f760 | 20 22 22 3b 0a 20 20 76 61 72 20 73 65 61 72 63 68 53 65 72 76 69 63 65 20 3d 20 43 63 5b 22 40 | ."";...var.searchService.=.Cc["@ |
2f780 | 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 62 72 6f 77 73 65 72 2f 73 65 61 72 63 68 2d 73 65 72 76 69 | mozilla.org/browser/search-servi |
2f7a0 | 63 65 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 | ce;1"]........................ge |
2f7c0 | 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 42 72 6f 77 73 65 72 53 65 61 72 63 68 53 65 72 76 | tService(Ci.nsIBrowserSearchServ |
2f7e0 | 69 63 65 29 3b 0a 0a 20 20 76 61 72 20 6f 66 66 73 65 74 20 3d 20 61 55 52 4c 2e 69 6e 64 65 78 | ice);....var.offset.=.aURL.index |
2f800 | 4f 66 28 22 20 22 29 3b 0a 20 20 69 66 20 28 6f 66 66 73 65 74 20 3e 20 30 29 20 7b 0a 20 20 20 | Of(".");...if.(offset.>.0).{.... |
2f820 | 20 6b 65 79 77 6f 72 64 20 3d 20 61 55 52 4c 2e 73 75 62 73 74 72 28 30 2c 20 6f 66 66 73 65 74 | .keyword.=.aURL.substr(0,.offset |
2f840 | 29 3b 0a 20 20 20 20 70 61 72 61 6d 20 3d 20 61 55 52 4c 2e 73 75 62 73 74 72 28 6f 66 66 73 65 | );.....param.=.aURL.substr(offse |
2f860 | 74 20 2b 20 31 29 3b 0a 20 20 7d 0a 0a 20 20 69 66 20 28 21 61 50 6f 73 74 44 61 74 61 52 65 66 | t.+.1);...}....if.(!aPostDataRef |
2f880 | 29 0a 20 20 20 20 61 50 6f 73 74 44 61 74 61 52 65 66 20 3d 20 7b 7d 3b 0a 0a 20 20 76 61 72 20 | ).....aPostDataRef.=.{};....var. |
2f8a0 | 65 6e 67 69 6e 65 20 3d 20 73 65 61 72 63 68 53 65 72 76 69 63 65 2e 67 65 74 45 6e 67 69 6e 65 | engine.=.searchService.getEngine |
2f8c0 | 42 79 41 6c 69 61 73 28 6b 65 79 77 6f 72 64 29 3b 0a 20 20 69 66 20 28 65 6e 67 69 6e 65 29 20 | ByAlias(keyword);...if.(engine). |
2f8e0 | 7b 0a 20 20 20 20 76 61 72 20 73 75 62 6d 69 73 73 69 6f 6e 20 3d 20 65 6e 67 69 6e 65 2e 67 65 | {.....var.submission.=.engine.ge |
2f900 | 74 53 75 62 6d 69 73 73 69 6f 6e 28 70 61 72 61 6d 2c 20 6e 75 6c 6c 29 3b 0a 20 20 20 20 61 50 | tSubmission(param,.null);.....aP |
2f920 | 6f 73 74 44 61 74 61 52 65 66 2e 76 61 6c 75 65 20 3d 20 73 75 62 6d 69 73 73 69 6f 6e 2e 70 6f | ostDataRef.value.=.submission.po |
2f940 | 73 74 44 61 74 61 3b 0a 20 20 20 20 72 65 74 75 72 6e 20 73 75 62 6d 69 73 73 69 6f 6e 2e 75 72 | stData;.....return.submission.ur |
2f960 | 69 2e 73 70 65 63 3b 0a 20 20 7d 0a 0a 20 20 5b 73 68 6f 72 74 63 75 74 55 52 4c 2c 20 61 50 6f | i.spec;...}....[shortcutURL,.aPo |
2f980 | 73 74 44 61 74 61 52 65 66 2e 76 61 6c 75 65 5d 20 3d 0a 20 20 20 20 50 6c 61 63 65 73 55 74 69 | stDataRef.value].=.....PlacesUti |
2f9a0 | 6c 73 2e 67 65 74 55 52 4c 41 6e 64 50 6f 73 74 44 61 74 61 46 6f 72 4b 65 79 77 6f 72 64 28 6b | ls.getURLAndPostDataForKeyword(k |
2f9c0 | 65 79 77 6f 72 64 29 3b 0a 0a 20 20 69 66 20 28 21 73 68 6f 72 74 63 75 74 55 52 4c 29 0a 20 20 | eyword);....if.(!shortcutURL)... |
2f9e0 | 20 20 72 65 74 75 72 6e 20 61 55 52 4c 3b 0a 0a 20 20 76 61 72 20 70 6f 73 74 44 61 74 61 20 3d | ..return.aURL;....var.postData.= |
2fa00 | 20 22 22 3b 0a 20 20 69 66 20 28 61 50 6f 73 74 44 61 74 61 52 65 66 2e 76 61 6c 75 65 29 0a 20 | ."";...if.(aPostDataRef.value).. |
2fa20 | 20 20 20 70 6f 73 74 44 61 74 61 20 3d 20 75 6e 65 73 63 61 70 65 28 61 50 6f 73 74 44 61 74 61 | ...postData.=.unescape(aPostData |
2fa40 | 52 65 66 2e 76 61 6c 75 65 29 3b 0a 0a 20 20 69 66 20 28 2f 25 73 2f 69 2e 74 65 73 74 28 73 68 | Ref.value);....if.(/%s/i.test(sh |
2fa60 | 6f 72 74 63 75 74 55 52 4c 29 20 7c 7c 20 2f 25 73 2f 69 2e 74 65 73 74 28 70 6f 73 74 44 61 74 | ortcutURL).||./%s/i.test(postDat |
2fa80 | 61 29 29 20 7b 0a 20 20 20 20 76 61 72 20 63 68 61 72 73 65 74 20 3d 20 22 22 3b 0a 20 20 20 20 | a)).{.....var.charset.=."";..... |
2faa0 | 63 6f 6e 73 74 20 72 65 20 3d 20 2f 5e 28 2e 2a 29 5c 26 6d 6f 7a 63 68 61 72 73 65 74 3d 28 5b | const.re.=./^(.*)\&mozcharset=([ |
2fac0 | 61 2d 7a 41 2d 5a 5d 5b 5f 5c 2d 61 2d 7a 41 2d 5a 30 2d 39 5d 2b 29 5c 73 2a 24 2f 3b 0a 20 20 | a-zA-Z][_\-a-zA-Z0-9]+)\s*$/;... |
2fae0 | 20 20 76 61 72 20 6d 61 74 63 68 65 73 20 3d 20 73 68 6f 72 74 63 75 74 55 52 4c 2e 6d 61 74 63 | ..var.matches.=.shortcutURL.matc |
2fb00 | 68 28 72 65 29 3b 0a 20 20 20 20 69 66 20 28 6d 61 74 63 68 65 73 29 0a 20 20 20 20 20 20 5b 2c | h(re);.....if.(matches).......[, |
2fb20 | 20 73 68 6f 72 74 63 75 74 55 52 4c 2c 20 63 68 61 72 73 65 74 5d 20 3d 20 6d 61 74 63 68 65 73 | .shortcutURL,.charset].=.matches |
2fb40 | 3b 0a 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 2f 2f 20 54 72 79 20 74 6f 20 67 65 74 | ;.....else.{.......//.Try.to.get |
2fb60 | 20 74 68 65 20 73 61 76 65 64 20 63 68 61 72 61 63 74 65 72 2d 73 65 74 2e 0a 20 20 20 20 20 20 | .the.saved.character-set........ |
2fb80 | 74 72 79 20 7b 0a 20 20 20 20 20 20 20 20 2f 2f 20 6d 61 6b 65 55 52 49 20 74 68 72 6f 77 73 20 | try.{.........//.makeURI.throws. |
2fba0 | 69 66 20 55 52 49 20 69 73 20 69 6e 76 61 6c 69 64 2e 0a 20 20 20 20 20 20 20 20 2f 2f 20 57 69 | if.URI.is.invalid..........//.Wi |
2fbc0 | 6c 6c 20 72 65 74 75 72 6e 20 61 6e 20 65 6d 70 74 79 20 73 74 72 69 6e 67 20 69 66 20 63 68 61 | ll.return.an.empty.string.if.cha |
2fbe0 | 72 61 63 74 65 72 2d 73 65 74 20 69 73 20 6e 6f 74 20 66 6f 75 6e 64 2e 0a 20 20 20 20 20 20 20 | racter-set.is.not.found......... |
2fc00 | 20 63 68 61 72 73 65 74 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 68 69 73 74 6f 72 79 2e 67 | .charset.=.PlacesUtils.history.g |
2fc20 | 65 74 43 68 61 72 73 65 74 46 6f 72 55 52 49 28 6d 61 6b 65 55 52 49 28 73 68 6f 72 74 63 75 74 | etCharsetForURI(makeURI(shortcut |
2fc40 | 55 52 4c 29 29 3b 0a 20 20 20 20 20 20 7d 20 63 61 74 63 68 20 28 65 29 20 7b 7d 0a 20 20 20 20 | URL));.......}.catch.(e).{}..... |
2fc60 | 7d 0a 0a 20 20 20 20 76 61 72 20 65 6e 63 6f 64 65 64 50 61 72 61 6d 20 3d 20 22 22 3b 0a 20 20 | }......var.encodedParam.=."";... |
2fc80 | 20 20 69 66 20 28 63 68 61 72 73 65 74 29 0a 20 20 20 20 20 20 65 6e 63 6f 64 65 64 50 61 72 61 | ..if.(charset).......encodedPara |
2fca0 | 6d 20 3d 20 65 73 63 61 70 65 28 63 6f 6e 76 65 72 74 46 72 6f 6d 55 6e 69 63 6f 64 65 28 63 68 | m.=.escape(convertFromUnicode(ch |
2fcc0 | 61 72 73 65 74 2c 20 70 61 72 61 6d 29 29 3b 0a 20 20 20 20 65 6c 73 65 20 2f 2f 20 44 65 66 61 | arset,.param));.....else.//.Defa |
2fce0 | 75 6c 74 20 63 68 61 72 73 65 74 20 69 73 20 55 54 46 2d 38 0a 20 20 20 20 20 20 65 6e 63 6f 64 | ult.charset.is.UTF-8.......encod |
2fd00 | 65 64 50 61 72 61 6d 20 3d 20 65 6e 63 6f 64 65 55 52 49 43 6f 6d 70 6f 6e 65 6e 74 28 70 61 72 | edParam.=.encodeURIComponent(par |
2fd20 | 61 6d 29 3b 0a 0a 20 20 20 20 73 68 6f 72 74 63 75 74 55 52 4c 20 3d 20 73 68 6f 72 74 63 75 74 | am);......shortcutURL.=.shortcut |
2fd40 | 55 52 4c 2e 72 65 70 6c 61 63 65 28 2f 25 73 2f 67 2c 20 65 6e 63 6f 64 65 64 50 61 72 61 6d 29 | URL.replace(/%s/g,.encodedParam) |
2fd60 | 2e 72 65 70 6c 61 63 65 28 2f 25 53 2f 67 2c 20 70 61 72 61 6d 29 3b 0a 0a 20 20 20 20 69 66 20 | .replace(/%S/g,.param);......if. |
2fd80 | 28 2f 25 73 2f 69 2e 74 65 73 74 28 70 6f 73 74 44 61 74 61 29 29 20 2f 2f 20 50 4f 53 54 20 6b | (/%s/i.test(postData)).//.POST.k |
2fda0 | 65 79 77 6f 72 64 0a 20 20 20 20 20 20 61 50 6f 73 74 44 61 74 61 52 65 66 2e 76 61 6c 75 65 20 | eyword.......aPostDataRef.value. |
2fdc0 | 3d 20 67 65 74 50 6f 73 74 44 61 74 61 53 74 72 65 61 6d 28 70 6f 73 74 44 61 74 61 2c 20 70 61 | =.getPostDataStream(postData,.pa |
2fde0 | 72 61 6d 2c 20 65 6e 63 6f 64 65 64 50 61 72 61 6d 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ram,.encodedParam,.............. |
2fe00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
2fe20 | 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f 78 2d 77 77 77 2d 66 6f 72 6d 2d 75 72 6c 65 6e 63 6f 64 | "application/x-www-form-urlencod |
2fe40 | 65 64 22 29 3b 0a 20 20 7d 0a 20 20 65 6c 73 65 20 69 66 20 28 70 61 72 61 6d 29 20 7b 0a 20 20 | ed");...}...else.if.(param).{... |
2fe60 | 20 20 2f 2f 20 54 68 69 73 20 6b 65 79 77 6f 72 64 20 64 6f 65 73 6e 27 74 20 74 61 6b 65 20 61 | ..//.This.keyword.doesn't.take.a |
2fe80 | 20 70 61 72 61 6d 65 74 65 72 2c 20 62 75 74 20 6f 6e 65 20 77 61 73 20 70 72 6f 76 69 64 65 64 | .parameter,.but.one.was.provided |
2fea0 | 2e 20 4a 75 73 74 20 72 65 74 75 72 6e 0a 20 20 20 20 2f 2f 20 74 68 65 20 6f 72 69 67 69 6e 61 | ..Just.return.....//.the.origina |
2fec0 | 6c 20 55 52 4c 2e 0a 20 20 20 20 61 50 6f 73 74 44 61 74 61 52 65 66 2e 76 61 6c 75 65 20 3d 20 | l.URL......aPostDataRef.value.=. |
2fee0 | 6e 75 6c 6c 3b 0a 0a 20 20 20 20 72 65 74 75 72 6e 20 61 55 52 4c 3b 0a 20 20 7d 0a 0a 20 20 72 | null;......return.aURL;...}....r |
2ff00 | 65 74 75 72 6e 20 73 68 6f 72 74 63 75 74 55 52 4c 3b 0a 7d 0a 20 0a 66 75 6e 63 74 69 6f 6e 20 | eturn.shortcutURL;.}...function. |
2ff20 | 67 65 74 50 6f 73 74 44 61 74 61 53 74 72 65 61 6d 28 61 53 74 72 69 6e 67 44 61 74 61 2c 20 61 | getPostDataStream(aStringData,.a |
2ff40 | 4b 65 79 77 6f 72 64 2c 20 61 45 6e 63 4b 65 79 77 6f 72 64 2c 20 61 54 79 70 65 29 20 7b 0a 20 | Keyword,.aEncKeyword,.aType).{.. |
2ff60 | 20 76 61 72 20 64 61 74 61 53 74 72 65 61 6d 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f | .var.dataStream.=.Cc["@mozilla.o |
2ff80 | 72 67 2f 69 6f 2f 73 74 72 69 6e 67 2d 69 6e 70 75 74 2d 73 74 72 65 61 6d 3b 31 22 5d 2e 0a 20 | rg/io/string-input-stream;1"]... |
2ffa0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 72 65 61 74 65 49 6e 73 74 61 6e 63 65 | ..................createInstance |
2ffc0 | 28 43 69 2e 6e 73 49 53 74 72 69 6e 67 49 6e 70 75 74 53 74 72 65 61 6d 29 3b 0a 20 20 61 53 74 | (Ci.nsIStringInputStream);...aSt |
2ffe0 | 72 69 6e 67 44 61 74 61 20 3d 20 61 53 74 72 69 6e 67 44 61 74 61 2e 72 65 70 6c 61 63 65 28 2f | ringData.=.aStringData.replace(/ |
30000 | 25 73 2f 67 2c 20 61 45 6e 63 4b 65 79 77 6f 72 64 29 2e 72 65 70 6c 61 63 65 28 2f 25 53 2f 67 | %s/g,.aEncKeyword).replace(/%S/g |
30020 | 2c 20 61 4b 65 79 77 6f 72 64 29 3b 0a 20 20 64 61 74 61 53 74 72 65 61 6d 2e 64 61 74 61 20 3d | ,.aKeyword);...dataStream.data.= |
30040 | 20 61 53 74 72 69 6e 67 44 61 74 61 3b 0a 20 0a 20 20 76 61 72 20 6d 69 6d 65 53 74 72 65 61 6d | .aStringData;.....var.mimeStream |
30060 | 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6e 65 74 77 6f 72 6b 2f 6d 69 6d 65 | .=.Cc["@mozilla.org/network/mime |
30080 | 2d 69 6e 70 75 74 2d 73 74 72 65 61 6d 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | -input-stream;1"]............... |
300a0 | 20 20 20 20 20 20 63 72 65 61 74 65 49 6e 73 74 61 6e 63 65 28 43 69 2e 6e 73 49 4d 49 4d 45 49 | ......createInstance(Ci.nsIMIMEI |
300c0 | 6e 70 75 74 53 74 72 65 61 6d 29 3b 0a 20 20 6d 69 6d 65 53 74 72 65 61 6d 2e 61 64 64 48 65 61 | nputStream);...mimeStream.addHea |
300e0 | 64 65 72 28 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 2c 20 61 54 79 70 65 29 3b 0a 20 20 6d 69 | der("Content-Type",.aType);...mi |
30100 | 6d 65 53 74 72 65 61 6d 2e 61 64 64 43 6f 6e 74 65 6e 74 4c 65 6e 67 74 68 20 3d 20 74 72 75 65 | meStream.addContentLength.=.true |
30120 | 3b 0a 20 20 6d 69 6d 65 53 74 72 65 61 6d 2e 73 65 74 44 61 74 61 28 64 61 74 61 53 74 72 65 61 | ;...mimeStream.setData(dataStrea |
30140 | 6d 29 3b 0a 20 20 72 65 74 75 72 6e 20 6d 69 6d 65 53 74 72 65 61 6d 2e 51 75 65 72 79 49 6e 74 | m);...return.mimeStream.QueryInt |
30160 | 65 72 66 61 63 65 28 43 69 2e 6e 73 49 49 6e 70 75 74 53 74 72 65 61 6d 29 3b 0a 7d 0a 0a 66 75 | erface(Ci.nsIInputStream);.}..fu |
30180 | 6e 63 74 69 6f 6e 20 72 65 61 64 46 72 6f 6d 43 6c 69 70 62 6f 61 72 64 28 29 0a 7b 0a 20 20 76 | nction.readFromClipboard().{...v |
301a0 | 61 72 20 75 72 6c 3b 0a 0a 20 20 74 72 79 20 7b 0a 20 20 20 20 2f 2f 20 47 65 74 20 63 6c 69 70 | ar.url;....try.{.....//.Get.clip |
301c0 | 62 6f 61 72 64 2e 0a 20 20 20 20 76 61 72 20 63 6c 69 70 62 6f 61 72 64 20 3d 20 43 6f 6d 70 6f | board......var.clipboard.=.Compo |
301e0 | 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 77 69 64 67 | nents.classes["@mozilla.org/widg |
30200 | 65 74 2f 63 6c 69 70 62 6f 61 72 64 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | et/clipboard;1"]................ |
30220 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f | ................getService(Compo |
30240 | 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 43 6c 69 70 62 6f 61 72 64 29 3b 0a | nents.interfaces.nsIClipboard);. |
30260 | 0a 20 20 20 20 2f 2f 20 43 72 65 61 74 65 20 74 72 61 6e 66 65 72 61 62 6c 65 20 74 68 61 74 20 | .....//.Create.tranferable.that. |
30280 | 77 69 6c 6c 20 74 72 61 6e 73 66 65 72 20 74 68 65 20 74 65 78 74 2e 0a 20 20 20 20 76 61 72 20 | will.transfer.the.text......var. |
302a0 | 74 72 61 6e 73 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a | trans.=.Components.classes["@moz |
302c0 | 69 6c 6c 61 2e 6f 72 67 2f 77 69 64 67 65 74 2f 74 72 61 6e 73 66 65 72 61 62 6c 65 3b 31 22 5d | illa.org/widget/transferable;1"] |
302e0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 63 72 65 61 | ............................crea |
30300 | 74 65 49 6e 73 74 61 6e 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 | teInstance(Components.interfaces |
30320 | 2e 6e 73 49 54 72 61 6e 73 66 65 72 61 62 6c 65 29 3b 0a 0a 20 20 20 20 74 72 61 6e 73 2e 61 64 | .nsITransferable);......trans.ad |
30340 | 64 44 61 74 61 46 6c 61 76 6f 72 28 22 74 65 78 74 2f 75 6e 69 63 6f 64 65 22 29 3b 0a 0a 20 20 | dDataFlavor("text/unicode");.... |
30360 | 20 20 2f 2f 20 49 66 20 61 76 61 69 6c 61 62 6c 65 2c 20 75 73 65 20 73 65 6c 65 63 74 69 6f 6e | ..//.If.available,.use.selection |
30380 | 20 63 6c 69 70 62 6f 61 72 64 2c 20 6f 74 68 65 72 77 69 73 65 20 67 6c 6f 62 61 6c 20 6f 6e 65 | .clipboard,.otherwise.global.one |
303a0 | 0a 20 20 20 20 69 66 20 28 63 6c 69 70 62 6f 61 72 64 2e 73 75 70 70 6f 72 74 73 53 65 6c 65 63 | .....if.(clipboard.supportsSelec |
303c0 | 74 69 6f 6e 43 6c 69 70 62 6f 61 72 64 28 29 29 0a 20 20 20 20 20 20 63 6c 69 70 62 6f 61 72 64 | tionClipboard()).......clipboard |
303e0 | 2e 67 65 74 44 61 74 61 28 74 72 61 6e 73 2c 20 63 6c 69 70 62 6f 61 72 64 2e 6b 53 65 6c 65 63 | .getData(trans,.clipboard.kSelec |
30400 | 74 69 6f 6e 43 6c 69 70 62 6f 61 72 64 29 3b 0a 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 63 | tionClipboard);.....else.......c |
30420 | 6c 69 70 62 6f 61 72 64 2e 67 65 74 44 61 74 61 28 74 72 61 6e 73 2c 20 63 6c 69 70 62 6f 61 72 | lipboard.getData(trans,.clipboar |
30440 | 64 2e 6b 47 6c 6f 62 61 6c 43 6c 69 70 62 6f 61 72 64 29 3b 0a 0a 20 20 20 20 76 61 72 20 64 61 | d.kGlobalClipboard);......var.da |
30460 | 74 61 20 3d 20 7b 7d 3b 0a 20 20 20 20 76 61 72 20 64 61 74 61 4c 65 6e 20 3d 20 7b 7d 3b 0a 20 | ta.=.{};.....var.dataLen.=.{};.. |
30480 | 20 20 20 74 72 61 6e 73 2e 67 65 74 54 72 61 6e 73 66 65 72 44 61 74 61 28 22 74 65 78 74 2f 75 | ...trans.getTransferData("text/u |
304a0 | 6e 69 63 6f 64 65 22 2c 20 64 61 74 61 2c 20 64 61 74 61 4c 65 6e 29 3b 0a 0a 20 20 20 20 69 66 | nicode",.data,.dataLen);......if |
304c0 | 20 28 64 61 74 61 29 20 7b 0a 20 20 20 20 20 20 64 61 74 61 20 3d 20 64 61 74 61 2e 76 61 6c 75 | .(data).{.......data.=.data.valu |
304e0 | 65 2e 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 | e.QueryInterface(Components.inte |
30500 | 72 66 61 63 65 73 2e 6e 73 49 53 75 70 70 6f 72 74 73 53 74 72 69 6e 67 29 3b 0a 20 20 20 20 20 | rfaces.nsISupportsString);...... |
30520 | 20 75 72 6c 20 3d 20 64 61 74 61 2e 64 61 74 61 2e 73 75 62 73 74 72 69 6e 67 28 30 2c 20 64 61 | .url.=.data.data.substring(0,.da |
30540 | 74 61 4c 65 6e 2e 76 61 6c 75 65 20 2f 20 32 29 3b 0a 20 20 20 20 7d 0a 20 20 7d 20 63 61 74 63 | taLen.value./.2);.....}...}.catc |
30560 | 68 20 28 65 78 29 20 7b 0a 20 20 7d 0a 0a 20 20 72 65 74 75 72 6e 20 75 72 6c 3b 0a 7d 0a 0a 66 | h.(ex).{...}....return.url;.}..f |
30580 | 75 6e 63 74 69 6f 6e 20 42 72 6f 77 73 65 72 56 69 65 77 53 6f 75 72 63 65 4f 66 44 6f 63 75 6d | unction.BrowserViewSourceOfDocum |
305a0 | 65 6e 74 28 61 44 6f 63 75 6d 65 6e 74 29 0a 7b 0a 20 20 76 61 72 20 70 61 67 65 43 6f 6f 6b 69 | ent(aDocument).{...var.pageCooki |
305c0 | 65 3b 0a 20 20 76 61 72 20 77 65 62 4e 61 76 3b 0a 0a 20 20 2f 2f 20 47 65 74 20 74 68 65 20 64 | e;...var.webNav;....//.Get.the.d |
305e0 | 6f 63 75 6d 65 6e 74 20 63 68 61 72 73 65 74 0a 20 20 76 61 72 20 64 6f 63 43 68 61 72 73 65 74 | ocument.charset...var.docCharset |
30600 | 20 3d 20 22 63 68 61 72 73 65 74 3d 22 20 2b 20 61 44 6f 63 75 6d 65 6e 74 2e 63 68 61 72 61 63 | .=."charset=".+.aDocument.charac |
30620 | 74 65 72 53 65 74 3b 0a 0a 20 20 2f 2f 20 47 65 74 20 74 68 65 20 6e 73 49 57 65 62 4e 61 76 69 | terSet;....//.Get.the.nsIWebNavi |
30640 | 67 61 74 69 6f 6e 20 61 73 73 6f 63 69 61 74 65 64 20 77 69 74 68 20 74 68 65 20 64 6f 63 75 6d | gation.associated.with.the.docum |
30660 | 65 6e 74 0a 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 76 61 72 20 77 69 6e 3b 0a 20 20 20 20 20 | ent...try.{.......var.win;...... |
30680 | 20 76 61 72 20 69 66 52 65 71 75 65 73 74 6f 72 3b 0a 0a 20 20 20 20 20 20 2f 2f 20 47 65 74 20 | .var.ifRequestor;........//.Get. |
306a0 | 74 68 65 20 44 4f 4d 57 69 6e 64 6f 77 20 66 6f 72 20 74 68 65 20 72 65 71 75 65 73 74 65 64 20 | the.DOMWindow.for.the.requested. |
306c0 | 64 6f 63 75 6d 65 6e 74 2e 20 20 49 66 20 74 68 65 20 44 4f 4d 57 69 6e 64 6f 77 0a 20 20 20 20 | document...If.the.DOMWindow..... |
306e0 | 20 20 2f 2f 20 63 61 6e 6e 6f 74 20 62 65 20 66 6f 75 6e 64 2c 20 74 68 65 6e 20 6a 75 73 74 20 | ..//.cannot.be.found,.then.just. |
30700 | 75 73 65 20 74 68 65 20 63 6f 6e 74 65 6e 74 20 77 69 6e 64 6f 77 2e 2e 2e 0a 20 20 20 20 20 20 | use.the.content.window.......... |
30720 | 2f 2f 0a 20 20 20 20 20 20 2f 2f 20 58 58 58 3a 20 20 54 68 69 73 20 69 73 20 61 20 62 69 74 20 | //.......//.XXX:..This.is.a.bit. |
30740 | 6f 66 20 61 20 68 61 63 6b 2e 2e 2e 0a 20 20 20 20 20 20 77 69 6e 20 3d 20 61 44 6f 63 75 6d 65 | of.a.hack..........win.=.aDocume |
30760 | 6e 74 2e 64 65 66 61 75 6c 74 56 69 65 77 3b 0a 20 20 20 20 20 20 69 66 20 28 77 69 6e 20 3d 3d | nt.defaultView;.......if.(win.== |
30780 | 20 77 69 6e 64 6f 77 29 20 7b 0a 20 20 20 20 20 20 20 20 77 69 6e 20 3d 20 63 6f 6e 74 65 6e 74 | .window).{.........win.=.content |
307a0 | 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 69 66 52 65 71 75 65 73 74 6f 72 20 3d 20 77 69 | ;.......}.......ifRequestor.=.wi |
307c0 | 6e 2e 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 | n.QueryInterface(Components.inte |
307e0 | 72 66 61 63 65 73 2e 6e 73 49 49 6e 74 65 72 66 61 63 65 52 65 71 75 65 73 74 6f 72 29 3b 0a 0a | rfaces.nsIInterfaceRequestor);.. |
30800 | 20 20 20 20 20 20 77 65 62 4e 61 76 20 3d 20 69 66 52 65 71 75 65 73 74 6f 72 2e 67 65 74 49 6e | ......webNav.=.ifRequestor.getIn |
30820 | 74 65 72 66 61 63 65 28 6e 73 49 57 65 62 4e 61 76 69 67 61 74 69 6f 6e 29 3b 0a 20 20 7d 20 63 | terface(nsIWebNavigation);...}.c |
30840 | 61 74 63 68 28 65 72 72 29 20 7b 0a 20 20 20 20 20 20 2f 2f 20 49 66 20 6e 73 49 57 65 62 4e 61 | atch(err).{.......//.If.nsIWebNa |
30860 | 76 69 67 61 74 69 6f 6e 20 63 61 6e 6e 6f 74 20 62 65 20 66 6f 75 6e 64 2c 20 6a 75 73 74 20 67 | vigation.cannot.be.found,.just.g |
30880 | 65 74 20 74 68 65 20 6f 6e 65 20 66 6f 72 20 74 68 65 20 77 68 6f 6c 65 0a 20 20 20 20 20 20 2f | et.the.one.for.the.whole......./ |
308a0 | 2f 20 77 69 6e 64 6f 77 2e 2e 2e 0a 20 20 20 20 20 20 77 65 62 4e 61 76 20 3d 20 67 65 74 57 65 | /.window..........webNav.=.getWe |
308c0 | 62 4e 61 76 69 67 61 74 69 6f 6e 28 29 3b 0a 20 20 7d 0a 20 20 2f 2f 0a 20 20 2f 2f 20 47 65 74 | bNavigation();...}...//...//.Get |
308e0 | 20 74 68 65 20 27 50 61 67 65 44 65 73 63 72 69 70 74 6f 72 27 20 66 6f 72 20 74 68 65 20 63 75 | .the.'PageDescriptor'.for.the.cu |
30900 | 72 72 65 6e 74 20 64 6f 63 75 6d 65 6e 74 2e 20 54 68 69 73 20 61 6c 6c 6f 77 73 20 74 68 65 0a | rrent.document..This.allows.the. |
30920 | 20 20 2f 2f 20 76 69 65 77 2d 73 6f 75 72 63 65 20 74 6f 20 61 63 63 65 73 73 20 74 68 65 20 63 | ..//.view-source.to.access.the.c |
30940 | 61 63 68 65 64 20 63 6f 70 79 20 6f 66 20 74 68 65 20 63 6f 6e 74 65 6e 74 20 72 61 74 68 65 72 | ached.copy.of.the.content.rather |
30960 | 20 74 68 61 6e 0a 20 20 2f 2f 20 72 65 66 65 74 63 68 69 6e 67 20 69 74 20 66 72 6f 6d 20 74 68 | .than...//.refetching.it.from.th |
30980 | 65 20 6e 65 74 77 6f 72 6b 2e 2e 2e 0a 20 20 2f 2f 0a 20 20 74 72 79 7b 0a 20 20 20 20 76 61 72 | e.network......//...try{.....var |
309a0 | 20 50 61 67 65 4c 6f 61 64 65 72 20 3d 20 77 65 62 4e 61 76 2e 51 75 65 72 79 49 6e 74 65 72 66 | .PageLoader.=.webNav.QueryInterf |
309c0 | 61 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 57 65 62 | ace(Components.interfaces.nsIWeb |
309e0 | 50 61 67 65 44 65 73 63 72 69 70 74 6f 72 29 3b 0a 0a 20 20 20 20 70 61 67 65 43 6f 6f 6b 69 65 | PageDescriptor);......pageCookie |
30a00 | 20 3d 20 50 61 67 65 4c 6f 61 64 65 72 2e 63 75 72 72 65 6e 74 44 65 73 63 72 69 70 74 6f 72 3b | .=.PageLoader.currentDescriptor; |
30a20 | 0a 20 20 7d 20 63 61 74 63 68 28 65 72 72 29 20 7b 0a 20 20 20 20 2f 2f 20 49 66 20 6e 6f 20 70 | ...}.catch(err).{.....//.If.no.p |
30a40 | 61 67 65 20 64 65 73 63 72 69 70 74 6f 72 20 69 73 20 61 76 61 69 6c 61 62 6c 65 2c 20 6a 75 73 | age.descriptor.is.available,.jus |
30a60 | 74 20 75 73 65 20 74 68 65 20 76 69 65 77 2d 73 6f 75 72 63 65 20 55 52 4c 2e 2e 2e 0a 20 20 7d | t.use.the.view-source.URL......} |
30a80 | 0a 0a 20 20 74 6f 70 2e 67 56 69 65 77 53 6f 75 72 63 65 55 74 69 6c 73 2e 76 69 65 77 53 6f 75 | ....top.gViewSourceUtils.viewSou |
30aa0 | 72 63 65 28 77 65 62 4e 61 76 2e 63 75 72 72 65 6e 74 55 52 49 2e 73 70 65 63 2c 20 70 61 67 65 | rce(webNav.currentURI.spec,.page |
30ac0 | 43 6f 6f 6b 69 65 2c 20 61 44 6f 63 75 6d 65 6e 74 29 3b 0a 7d 0a 0a 2f 2f 20 64 6f 63 20 2d 20 | Cookie,.aDocument);.}..//.doc.-. |
30ae0 | 64 6f 63 75 6d 65 6e 74 20 74 6f 20 75 73 65 20 66 6f 72 20 73 6f 75 72 63 65 2c 20 6f 72 20 6e | document.to.use.for.source,.or.n |
30b00 | 75 6c 6c 20 66 6f 72 20 74 68 69 73 20 77 69 6e 64 6f 77 27 73 20 64 6f 63 75 6d 65 6e 74 0a 2f | ull.for.this.window's.document./ |
30b20 | 2f 20 69 6e 69 74 69 61 6c 54 61 62 20 2d 20 6e 61 6d 65 20 6f 66 20 74 68 65 20 69 6e 69 74 69 | /.initialTab.-.name.of.the.initi |
30b40 | 61 6c 20 74 61 62 20 74 6f 20 64 69 73 70 6c 61 79 2c 20 6f 72 20 6e 75 6c 6c 20 66 6f 72 20 74 | al.tab.to.display,.or.null.for.t |
30b60 | 68 65 20 66 69 72 73 74 20 74 61 62 0a 66 75 6e 63 74 69 6f 6e 20 42 72 6f 77 73 65 72 50 61 67 | he.first.tab.function.BrowserPag |
30b80 | 65 49 6e 66 6f 28 64 6f 63 2c 20 69 6e 69 74 69 61 6c 54 61 62 29 0a 7b 0a 20 20 76 61 72 20 61 | eInfo(doc,.initialTab).{...var.a |
30ba0 | 72 67 73 20 3d 20 7b 64 6f 63 3a 20 64 6f 63 2c 20 69 6e 69 74 69 61 6c 54 61 62 3a 20 69 6e 69 | rgs.=.{doc:.doc,.initialTab:.ini |
30bc0 | 74 69 61 6c 54 61 62 7d 3b 0a 20 20 72 65 74 75 72 6e 20 74 6f 4f 70 65 6e 44 69 61 6c 6f 67 42 | tialTab};...return.toOpenDialogB |
30be0 | 79 54 79 70 65 41 6e 64 55 72 6c 28 22 42 72 6f 77 73 65 72 3a 70 61 67 65 2d 69 6e 66 6f 22 2c | yTypeAndUrl("Browser:page-info", |
30c00 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
30c20 | 20 20 20 64 6f 63 20 3f 20 64 6f 63 2e 6c 6f 63 61 74 69 6f 6e 20 3a 20 77 69 6e 64 6f 77 2e 63 | ...doc.?.doc.location.:.window.c |
30c40 | 6f 6e 74 65 6e 74 2e 64 6f 63 75 6d 65 6e 74 2e 6c 6f 63 61 74 69 6f 6e 2c 0a 20 20 20 20 20 20 | ontent.document.location,....... |
30c60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 63 68 72 | ............................"chr |
30c80 | 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 70 61 67 65 69 6e 66 6f 2f 70 | ome://browser/content/pageinfo/p |
30ca0 | 61 67 65 49 6e 66 6f 2e 78 75 6c 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ageInfo.xul",................... |
30cc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 63 68 72 6f 6d 65 2c 74 6f 6f 6c 62 61 72 2c | ................"chrome,toolbar, |
30ce0 | 64 69 61 6c 6f 67 3d 6e 6f 2c 72 65 73 69 7a 61 62 6c 65 22 2c 0a 20 20 20 20 20 20 20 20 20 20 | dialog=no,resizable",........... |
30d00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 72 67 73 29 3b 0a 7d | ........................args);.} |
30d20 | 0a 0a 2f 2f 40 6c 69 6e 65 20 32 31 35 37 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 | ..//@line.2157."/builds/moz2_sla |
30d40 | 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 62 61 73 | ve/linux_build/build/browser/bas |
30d60 | 65 2f 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2e 6a 73 22 0a 0a 66 75 6e 63 74 69 6f 6e 20 | e/content/browser.js"..function. |
30d80 | 55 52 4c 42 61 72 53 65 74 55 52 49 28 61 55 52 49 2c 20 61 56 61 6c 69 64 29 20 7b 0a 20 20 76 | URLBarSetURI(aURI,.aValid).{...v |
30da0 | 61 72 20 76 61 6c 75 65 20 3d 20 67 42 72 6f 77 73 65 72 2e 75 73 65 72 54 79 70 65 64 56 61 6c | ar.value.=.gBrowser.userTypedVal |
30dc0 | 75 65 3b 0a 20 20 76 61 72 20 76 61 6c 69 64 20 3d 20 66 61 6c 73 65 3b 0a 0a 20 20 69 66 20 28 | ue;...var.valid.=.false;....if.( |
30de0 | 76 61 6c 75 65 20 3d 3d 20 6e 75 6c 6c 29 20 7b 0a 20 20 20 20 6c 65 74 20 75 72 69 20 3d 20 61 | value.==.null).{.....let.uri.=.a |
30e00 | 55 52 49 20 7c 7c 20 67 65 74 57 65 62 4e 61 76 69 67 61 74 69 6f 6e 28 29 2e 63 75 72 72 65 6e | URI.||.getWebNavigation().curren |
30e20 | 74 55 52 49 3b 0a 0a 20 20 20 20 2f 2f 20 52 65 70 6c 61 63 65 20 69 6e 69 74 69 61 6c 20 70 61 | tURI;......//.Replace.initial.pa |
30e40 | 67 65 20 55 52 49 73 20 77 69 74 68 20 61 6e 20 65 6d 70 74 79 20 73 74 72 69 6e 67 0a 20 20 20 | ge.URIs.with.an.empty.string.... |
30e60 | 20 2f 2f 20 6f 6e 6c 79 20 69 66 20 74 68 65 72 65 27 73 20 6e 6f 20 6f 70 65 6e 65 72 20 28 62 | .//.only.if.there's.no.opener.(b |
30e80 | 75 67 20 33 37 30 35 35 35 29 2e 0a 20 20 20 20 69 66 20 28 67 49 6e 69 74 69 61 6c 50 61 67 65 | ug.370555)......if.(gInitialPage |
30ea0 | 73 2e 69 6e 64 65 78 4f 66 28 75 72 69 2e 73 70 65 63 29 20 21 3d 20 2d 31 29 0a 20 20 20 20 20 | s.indexOf(uri.spec).!=.-1)...... |
30ec0 | 20 76 61 6c 75 65 20 3d 20 63 6f 6e 74 65 6e 74 2e 6f 70 65 6e 65 72 20 3f 20 75 72 69 2e 73 70 | .value.=.content.opener.?.uri.sp |
30ee0 | 65 63 20 3a 20 22 22 3b 0a 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 76 61 6c 75 65 20 3d 20 | ec.:."";.....else.......value.=. |
30f00 | 6c 6f 73 73 6c 65 73 73 44 65 63 6f 64 65 55 52 49 28 75 72 69 29 3b 0a 0a 20 20 20 20 6c 65 74 | losslessDecodeURI(uri);......let |
30f20 | 20 69 73 42 6c 61 6e 6b 20 3d 20 28 75 72 69 2e 73 70 65 63 20 3d 3d 20 22 61 62 6f 75 74 3a 62 | .isBlank.=.(uri.spec.==."about:b |
30f40 | 6c 61 6e 6b 22 29 3b 0a 20 20 20 20 76 61 6c 69 64 20 3d 20 21 69 73 42 6c 61 6e 6b 20 26 26 20 | lank");.....valid.=.!isBlank.&&. |
30f60 | 28 21 61 55 52 49 20 7c 7c 20 61 56 61 6c 69 64 29 3b 0a 20 20 7d 0a 0a 20 20 67 55 52 4c 42 61 | (!aURI.||.aValid);...}....gURLBa |
30f80 | 72 2e 76 61 6c 75 65 20 3d 20 76 61 6c 75 65 3b 0a 20 20 53 65 74 50 61 67 65 50 72 6f 78 79 53 | r.value.=.value;...SetPageProxyS |
30fa0 | 74 61 74 65 28 76 61 6c 69 64 20 3f 20 22 76 61 6c 69 64 22 20 3a 20 22 69 6e 76 61 6c 69 64 22 | tate(valid.?."valid".:."invalid" |
30fc0 | 29 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 6c 6f 73 73 6c 65 73 73 44 65 63 6f 64 65 55 52 49 | );.}..function.losslessDecodeURI |
30fe0 | 28 61 55 52 49 29 20 7b 0a 20 20 76 61 72 20 76 61 6c 75 65 20 3d 20 61 55 52 49 2e 73 70 65 63 | (aURI).{...var.value.=.aURI.spec |
31000 | 3b 0a 20 20 2f 2f 20 54 72 79 20 74 6f 20 64 65 63 6f 64 65 20 61 73 20 55 54 46 2d 38 20 69 66 | ;...//.Try.to.decode.as.UTF-8.if |
31020 | 20 74 68 65 72 65 27 73 20 6e 6f 20 65 6e 63 6f 64 69 6e 67 20 73 65 71 75 65 6e 63 65 20 74 68 | .there's.no.encoding.sequence.th |
31040 | 61 74 20 77 65 20 77 6f 75 6c 64 20 62 72 65 61 6b 2e 0a 20 20 69 66 20 28 21 2f 25 32 35 28 3f | at.we.would.break....if.(!/%25(? |
31060 | 3a 33 42 7c 32 46 7c 33 46 7c 33 41 7c 34 30 7c 32 36 7c 33 44 7c 32 42 7c 32 34 7c 32 43 7c 32 | :3B|2F|3F|3A|40|26|3D|2B|24|2C|2 |
31080 | 33 29 2f 69 2e 74 65 73 74 28 76 61 6c 75 65 29 29 0a 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 | 3)/i.test(value)).....try.{..... |
310a0 | 20 20 76 61 6c 75 65 20 3d 20 64 65 63 6f 64 65 55 52 49 28 76 61 6c 75 65 29 0a 20 20 20 20 20 | ..value.=.decodeURI(value)...... |
310c0 | 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 31 2e 20 64 65 63 6f 64 65 55 52 49 20 64 65 63 6f 64 | ...........//.1..decodeURI.decod |
310e0 | 65 73 20 25 32 35 20 74 6f 20 25 2c 20 77 68 69 63 68 20 63 72 65 61 74 65 73 20 75 6e 69 6e 74 | es.%25.to.%,.which.creates.unint |
31100 | 65 6e 64 65 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 20 20 20 65 6e 63 6f | ended.................//....enco |
31120 | 64 69 6e 67 20 73 65 71 75 65 6e 63 65 73 2e 20 52 65 2d 65 6e 63 6f 64 65 20 69 74 2c 20 75 6e | ding.sequences..Re-encode.it,.un |
31140 | 6c 65 73 73 20 69 74 27 73 20 70 61 72 74 20 6f 66 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | less.it's.part.of............... |
31160 | 20 20 2f 2f 20 20 20 20 61 20 73 65 71 75 65 6e 63 65 20 74 68 61 74 20 73 75 72 76 69 76 65 64 | ..//....a.sequence.that.survived |
31180 | 20 64 65 63 6f 64 65 55 52 49 2c 20 69 2e 65 2e 20 6f 6e 65 20 66 6f 72 3a 0a 20 20 20 20 20 20 | .decodeURI,.i.e..one.for:....... |
311a0 | 20 20 20 20 20 20 20 20 20 20 2f 2f 20 20 20 20 27 3b 27 2c 20 27 2f 27 2c 20 27 3f 27 2c 20 27 | ..........//....';',.'/',.'?',.' |
311c0 | 3a 27 2c 20 27 40 27 2c 20 27 26 27 2c 20 27 3d 27 2c 20 27 2b 27 2c 20 27 24 27 2c 20 27 2c 27 | :',.'@',.'&',.'=',.'+',.'$',.',' |
311e0 | 2c 20 27 23 27 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 20 20 20 28 52 46 43 | ,.'#'.................//....(RFC |
31200 | 20 33 39 38 37 20 73 65 63 74 69 6f 6e 20 33 2e 32 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | .3987.section.3.2).............. |
31220 | 20 20 20 2f 2f 20 32 2e 20 52 65 2d 65 6e 63 6f 64 65 20 77 68 69 74 65 73 70 61 63 65 20 73 6f | ...//.2..Re-encode.whitespace.so |
31240 | 20 74 68 61 74 20 69 74 20 64 6f 65 73 6e 27 74 20 67 65 74 20 65 61 74 65 6e 20 61 77 61 79 0a | .that.it.doesn't.get.eaten.away. |
31260 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 20 20 20 62 79 20 74 68 65 20 6c 6f 63 | ................//....by.the.loc |
31280 | 61 74 69 6f 6e 20 62 61 72 20 28 62 75 67 20 34 31 30 37 32 36 29 2e 0a 20 20 20 20 20 20 20 20 | ation.bar.(bug.410726).......... |
312a0 | 20 20 20 20 20 20 20 20 2e 72 65 70 6c 61 63 65 28 2f 25 28 3f 21 33 42 7c 32 46 7c 33 46 7c 33 | .........replace(/%(?!3B|2F|3F|3 |
312c0 | 41 7c 34 30 7c 32 36 7c 33 44 7c 32 42 7c 32 34 7c 32 43 7c 32 33 29 7c 5b 5c 72 5c 6e 5c 74 5d | A|40|26|3D|2B|24|2C|23)|[\r\n\t] |
312e0 | 2f 69 67 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 6e | /ig,..........................en |
31300 | 63 6f 64 65 55 52 49 43 6f 6d 70 6f 6e 65 6e 74 29 3b 0a 20 20 20 20 7d 20 63 61 74 63 68 20 28 | codeURIComponent);.....}.catch.( |
31320 | 65 29 20 7b 7d 0a 0a 20 20 2f 2f 20 45 6e 63 6f 64 65 20 69 6e 76 69 73 69 62 6c 65 20 63 68 61 | e).{}....//.Encode.invisible.cha |
31340 | 72 61 63 74 65 72 73 20 28 73 6f 66 74 20 68 79 70 68 65 6e 2c 20 7a 65 72 6f 2d 77 69 64 74 68 | racters.(soft.hyphen,.zero-width |
31360 | 20 73 70 61 63 65 2c 20 42 4f 4d 2c 0a 20 20 2f 2f 20 6c 69 6e 65 20 61 6e 64 20 70 61 72 61 67 | .space,.BOM,...//.line.and.parag |
31380 | 72 61 70 68 20 73 65 70 61 72 61 74 6f 72 2c 20 77 6f 72 64 20 6a 6f 69 6e 65 72 2c 20 69 6e 76 | raph.separator,.word.joiner,.inv |
313a0 | 69 73 69 62 6c 65 20 74 69 6d 65 73 2c 0a 20 20 2f 2f 20 69 6e 76 69 73 69 62 6c 65 20 73 65 70 | isible.times,...//.invisible.sep |
313c0 | 61 72 61 74 6f 72 2c 20 6f 62 6a 65 63 74 20 72 65 70 6c 61 63 65 6d 65 6e 74 20 63 68 61 72 61 | arator,.object.replacement.chara |
313e0 | 63 74 65 72 29 20 28 62 75 67 20 34 35 32 39 37 39 29 0a 20 20 76 61 6c 75 65 20 3d 20 76 61 6c | cter).(bug.452979)...value.=.val |
31400 | 75 65 2e 72 65 70 6c 61 63 65 28 2f 5b 5c 76 5c 78 30 63 5c 78 31 63 5c 78 31 64 5c 78 31 65 5c | ue.replace(/[\v\x0c\x1c\x1d\x1e\ |
31420 | 78 31 66 5c 75 30 30 61 64 5c 75 32 30 30 62 5c 75 66 65 66 66 5c 75 32 30 32 38 5c 75 32 30 32 | x1f\u00ad\u200b\ufeff\u2028\u202 |
31440 | 39 5c 75 32 30 36 30 5c 75 32 30 36 32 5c 75 32 30 36 33 5c 75 66 66 66 63 5d 2f 67 2c 0a 20 20 | 9\u2060\u2062\u2063\ufffc]/g,... |
31460 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 6e 63 6f 64 65 55 52 49 43 | ......................encodeURIC |
31480 | 6f 6d 70 6f 6e 65 6e 74 29 3b 0a 0a 20 20 2f 2f 20 45 6e 63 6f 64 65 20 62 69 64 69 72 65 63 74 | omponent);....//.Encode.bidirect |
314a0 | 69 6f 6e 61 6c 20 66 6f 72 6d 61 74 74 69 6e 67 20 63 68 61 72 61 63 74 65 72 73 2e 0a 20 20 2f | ional.formatting.characters..../ |
314c0 | 2f 20 28 52 46 43 20 33 39 38 37 20 73 65 63 74 69 6f 6e 73 20 33 2e 32 20 61 6e 64 20 34 2e 31 | /.(RFC.3987.sections.3.2.and.4.1 |
314e0 | 20 70 61 72 61 67 72 61 70 68 20 36 29 0a 20 20 76 61 6c 75 65 20 3d 20 76 61 6c 75 65 2e 72 65 | .paragraph.6)...value.=.value.re |
31500 | 70 6c 61 63 65 28 2f 5b 5c 75 32 30 30 65 5c 75 32 30 30 66 5c 75 32 30 32 61 5c 75 32 30 32 62 | place(/[\u200e\u200f\u202a\u202b |
31520 | 5c 75 32 30 32 63 5c 75 32 30 32 64 5c 75 32 30 32 65 5d 2f 67 2c 0a 20 20 20 20 20 20 20 20 20 | \u202c\u202d\u202e]/g,.......... |
31540 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 6e 63 6f 64 65 55 52 49 43 6f 6d 70 6f 6e 65 6e | ...............encodeURIComponen |
31560 | 74 29 3b 0a 20 20 72 65 74 75 72 6e 20 76 61 6c 75 65 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 | t);...return.value;.}..function. |
31580 | 55 70 64 61 74 65 55 72 6c 62 61 72 53 65 61 72 63 68 53 70 6c 69 74 74 65 72 53 74 61 74 65 28 | UpdateUrlbarSearchSplitterState( |
315a0 | 29 0a 7b 0a 20 20 76 61 72 20 73 70 6c 69 74 74 65 72 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 | ).{...var.splitter.=.document.ge |
315c0 | 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 75 72 6c 62 61 72 2d 73 65 61 72 63 68 2d 73 70 6c 69 | tElementById("urlbar-search-spli |
315e0 | 74 74 65 72 22 29 3b 0a 20 20 76 61 72 20 75 72 6c 62 61 72 20 3d 20 64 6f 63 75 6d 65 6e 74 2e | tter");...var.urlbar.=.document. |
31600 | 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 75 72 6c 62 61 72 2d 63 6f 6e 74 61 69 6e 65 72 | getElementById("urlbar-container |
31620 | 22 29 3b 0a 20 20 76 61 72 20 73 65 61 72 63 68 62 61 72 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 | ");...var.searchbar.=.document.g |
31640 | 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 73 65 61 72 63 68 2d 63 6f 6e 74 61 69 6e 65 72 22 | etElementById("search-container" |
31660 | 29 3b 0a 0a 20 20 76 61 72 20 69 62 65 66 6f 72 65 20 3d 20 6e 75 6c 6c 3b 0a 20 20 69 66 20 28 | );....var.ibefore.=.null;...if.( |
31680 | 75 72 6c 62 61 72 20 26 26 20 73 65 61 72 63 68 62 61 72 29 20 7b 0a 20 20 20 20 69 66 20 28 75 | urlbar.&&.searchbar).{.....if.(u |
316a0 | 72 6c 62 61 72 2e 6e 65 78 74 53 69 62 6c 69 6e 67 20 3d 3d 20 73 65 61 72 63 68 62 61 72 29 0a | rlbar.nextSibling.==.searchbar). |
316c0 | 20 20 20 20 20 20 69 62 65 66 6f 72 65 20 3d 20 73 65 61 72 63 68 62 61 72 3b 0a 20 20 20 20 65 | ......ibefore.=.searchbar;.....e |
316e0 | 6c 73 65 20 69 66 20 28 73 65 61 72 63 68 62 61 72 2e 6e 65 78 74 53 69 62 6c 69 6e 67 20 3d 3d | lse.if.(searchbar.nextSibling.== |
31700 | 20 75 72 6c 62 61 72 29 0a 20 20 20 20 20 20 69 62 65 66 6f 72 65 20 3d 20 75 72 6c 62 61 72 3b | .urlbar).......ibefore.=.urlbar; |
31720 | 0a 20 20 7d 0a 0a 20 20 69 66 20 28 69 62 65 66 6f 72 65 29 20 7b 0a 20 20 20 20 69 66 20 28 21 | ...}....if.(ibefore).{.....if.(! |
31740 | 73 70 6c 69 74 74 65 72 29 20 7b 0a 20 20 20 20 20 20 73 70 6c 69 74 74 65 72 20 3d 20 64 6f 63 | splitter).{.......splitter.=.doc |
31760 | 75 6d 65 6e 74 2e 63 72 65 61 74 65 45 6c 65 6d 65 6e 74 28 22 73 70 6c 69 74 74 65 72 22 29 3b | ument.createElement("splitter"); |
31780 | 0a 20 20 20 20 20 20 73 70 6c 69 74 74 65 72 2e 69 64 20 3d 20 22 75 72 6c 62 61 72 2d 73 65 61 | .......splitter.id.=."urlbar-sea |
317a0 | 72 63 68 2d 73 70 6c 69 74 74 65 72 22 3b 0a 20 20 20 20 20 20 73 70 6c 69 74 74 65 72 2e 73 65 | rch-splitter";.......splitter.se |
317c0 | 74 41 74 74 72 69 62 75 74 65 28 22 72 65 73 69 7a 65 62 65 66 6f 72 65 22 2c 20 22 66 6c 65 78 | tAttribute("resizebefore",."flex |
317e0 | 22 29 3b 0a 20 20 20 20 20 20 73 70 6c 69 74 74 65 72 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 | ");.......splitter.setAttribute( |
31800 | 22 72 65 73 69 7a 65 61 66 74 65 72 22 2c 20 22 66 6c 65 78 22 29 3b 0a 20 20 20 20 20 20 73 70 | "resizeafter",."flex");.......sp |
31820 | 6c 69 74 74 65 72 2e 63 6c 61 73 73 4e 61 6d 65 20 3d 20 22 63 68 72 6f 6d 65 63 6c 61 73 73 2d | litter.className.=."chromeclass- |
31840 | 74 6f 6f 6c 62 61 72 2d 61 64 64 69 74 69 6f 6e 61 6c 22 3b 0a 20 20 20 20 7d 0a 20 20 20 20 75 | toolbar-additional";.....}.....u |
31860 | 72 6c 62 61 72 2e 70 61 72 65 6e 74 4e 6f 64 65 2e 69 6e 73 65 72 74 42 65 66 6f 72 65 28 73 70 | rlbar.parentNode.insertBefore(sp |
31880 | 6c 69 74 74 65 72 2c 20 69 62 65 66 6f 72 65 29 3b 0a 20 20 7d 20 65 6c 73 65 20 69 66 20 28 73 | litter,.ibefore);...}.else.if.(s |
318a0 | 70 6c 69 74 74 65 72 29 0a 20 20 20 20 73 70 6c 69 74 74 65 72 2e 70 61 72 65 6e 74 4e 6f 64 65 | plitter).....splitter.parentNode |
318c0 | 2e 72 65 6d 6f 76 65 43 68 69 6c 64 28 73 70 6c 69 74 74 65 72 29 3b 0a 7d 0a 0a 76 61 72 20 4c | .removeChild(splitter);.}..var.L |
318e0 | 6f 63 61 74 69 6f 6e 42 61 72 48 65 6c 70 65 72 73 20 3d 20 7b 0a 20 20 5f 74 69 6d 65 6f 75 74 | ocationBarHelpers.=.{..._timeout |
31900 | 49 44 3a 20 6e 75 6c 6c 2c 0a 0a 20 20 5f 73 65 61 72 63 68 42 65 67 69 6e 3a 20 66 75 6e 63 74 | ID:.null,...._searchBegin:.funct |
31920 | 69 6f 6e 20 4c 6f 63 42 61 72 5f 73 65 61 72 63 68 42 65 67 69 6e 28 29 20 7b 0a 20 20 20 20 66 | ion.LocBar_searchBegin().{.....f |
31940 | 75 6e 63 74 69 6f 6e 20 64 65 6c 61 79 65 64 42 65 67 69 6e 28 73 65 6c 66 29 20 7b 0a 20 20 20 | unction.delayedBegin(self).{.... |
31960 | 20 20 20 73 65 6c 66 2e 5f 74 69 6d 65 6f 75 74 49 44 20 3d 20 6e 75 6c 6c 3b 0a 20 20 20 20 20 | ...self._timeoutID.=.null;...... |
31980 | 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 75 72 6c 62 61 72 | .document.getElementById("urlbar |
319a0 | 2d 74 68 72 6f 62 62 65 72 22 29 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 62 75 73 79 22 2c | -throbber").setAttribute("busy", |
319c0 | 20 22 74 72 75 65 22 29 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 74 68 69 73 2e 5f 74 69 6d 65 6f | ."true");.....}......this._timeo |
319e0 | 75 74 49 44 20 3d 20 73 65 74 54 69 6d 65 6f 75 74 28 64 65 6c 61 79 65 64 42 65 67 69 6e 2c 20 | utID.=.setTimeout(delayedBegin,. |
31a00 | 35 30 30 2c 20 74 68 69 73 29 3b 0a 20 20 7d 2c 0a 0a 20 20 5f 73 65 61 72 63 68 43 6f 6d 70 6c | 500,.this);...},...._searchCompl |
31a20 | 65 74 65 3a 20 66 75 6e 63 74 69 6f 6e 20 4c 6f 63 42 61 72 5f 73 65 61 72 63 68 43 6f 6d 70 6c | ete:.function.LocBar_searchCompl |
31a40 | 65 74 65 28 29 20 7b 0a 20 20 20 20 2f 2f 20 44 69 64 20 77 65 20 66 69 6e 69 73 68 20 74 68 65 | ete().{.....//.Did.we.finish.the |
31a60 | 20 73 65 61 72 63 68 20 62 65 66 6f 72 65 20 64 65 6c 61 79 65 64 42 65 67 69 6e 20 77 61 73 20 | .search.before.delayedBegin.was. |
31a80 | 69 6e 76 6f 6b 65 64 3f 0a 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 74 69 6d 65 6f 75 74 49 44 | invoked?.....if.(this._timeoutID |
31aa0 | 29 20 7b 0a 20 20 20 20 20 20 63 6c 65 61 72 54 69 6d 65 6f 75 74 28 74 68 69 73 2e 5f 74 69 6d | ).{.......clearTimeout(this._tim |
31ac0 | 65 6f 75 74 49 44 29 3b 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 74 69 6d 65 6f 75 74 49 44 20 3d | eoutID);.......this._timeoutID.= |
31ae0 | 20 6e 75 6c 6c 3b 0a 20 20 20 20 7d 0a 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 | .null;.....}.....document.getEle |
31b00 | 6d 65 6e 74 42 79 49 64 28 22 75 72 6c 62 61 72 2d 74 68 72 6f 62 62 65 72 22 29 2e 72 65 6d 6f | mentById("urlbar-throbber").remo |
31b20 | 76 65 41 74 74 72 69 62 75 74 65 28 22 62 75 73 79 22 29 3b 0a 20 20 7d 0a 7d 3b 0a 0a 66 75 6e | veAttribute("busy");...}.};..fun |
31b40 | 63 74 69 6f 6e 20 55 70 64 61 74 65 50 61 67 65 50 72 6f 78 79 53 74 61 74 65 28 29 0a 7b 0a 20 | ction.UpdatePageProxyState().{.. |
31b60 | 20 69 66 20 28 67 55 52 4c 42 61 72 20 26 26 20 67 55 52 4c 42 61 72 2e 76 61 6c 75 65 20 21 3d | .if.(gURLBar.&&.gURLBar.value.!= |
31b80 | 20 67 4c 61 73 74 56 61 6c 69 64 55 52 4c 53 74 72 29 0a 20 20 20 20 53 65 74 50 61 67 65 50 72 | .gLastValidURLStr).....SetPagePr |
31ba0 | 6f 78 79 53 74 61 74 65 28 22 69 6e 76 61 6c 69 64 22 29 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e | oxyState("invalid");.}..function |
31bc0 | 20 53 65 74 50 61 67 65 50 72 6f 78 79 53 74 61 74 65 28 61 53 74 61 74 65 29 0a 7b 0a 20 20 69 | .SetPageProxyState(aState).{...i |
31be0 | 66 20 28 21 67 55 52 4c 42 61 72 29 0a 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 69 66 20 28 | f.(!gURLBar).....return;....if.( |
31c00 | 21 67 50 72 6f 78 79 46 61 76 49 63 6f 6e 29 0a 20 20 20 20 67 50 72 6f 78 79 46 61 76 49 63 6f | !gProxyFavIcon).....gProxyFavIco |
31c20 | 6e 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 70 61 67 | n.=.document.getElementById("pag |
31c40 | 65 2d 70 72 6f 78 79 2d 66 61 76 69 63 6f 6e 22 29 3b 0a 0a 20 20 67 55 52 4c 42 61 72 2e 73 65 | e-proxy-favicon");....gURLBar.se |
31c60 | 74 41 74 74 72 69 62 75 74 65 28 22 70 61 67 65 70 72 6f 78 79 73 74 61 74 65 22 2c 20 61 53 74 | tAttribute("pageproxystate",.aSt |
31c80 | 61 74 65 29 3b 0a 20 20 67 50 72 6f 78 79 46 61 76 49 63 6f 6e 2e 73 65 74 41 74 74 72 69 62 75 | ate);...gProxyFavIcon.setAttribu |
31ca0 | 74 65 28 22 70 61 67 65 70 72 6f 78 79 73 74 61 74 65 22 2c 20 61 53 74 61 74 65 29 3b 0a 0a 20 | te("pageproxystate",.aState);... |
31cc0 | 20 2f 2f 20 74 68 65 20 70 61 67 65 20 70 72 6f 78 79 20 73 74 61 74 65 20 69 73 20 73 65 74 20 | .//.the.page.proxy.state.is.set. |
31ce0 | 74 6f 20 76 61 6c 69 64 20 76 69 61 20 4f 6e 4c 6f 63 61 74 69 6f 6e 43 68 61 6e 67 65 2c 20 77 | to.valid.via.OnLocationChange,.w |
31d00 | 68 69 63 68 0a 20 20 2f 2f 20 67 65 74 73 20 63 61 6c 6c 65 64 20 77 68 65 6e 20 77 65 20 73 77 | hich...//.gets.called.when.we.sw |
31d20 | 69 74 63 68 20 74 61 62 73 2e 0a 20 20 69 66 20 28 61 53 74 61 74 65 20 3d 3d 20 22 76 61 6c 69 | itch.tabs....if.(aState.==."vali |
31d40 | 64 22 29 20 7b 0a 20 20 20 20 67 4c 61 73 74 56 61 6c 69 64 55 52 4c 53 74 72 20 3d 20 67 55 52 | d").{.....gLastValidURLStr.=.gUR |
31d60 | 4c 42 61 72 2e 76 61 6c 75 65 3b 0a 20 20 20 20 67 55 52 4c 42 61 72 2e 61 64 64 45 76 65 6e 74 | LBar.value;.....gURLBar.addEvent |
31d80 | 4c 69 73 74 65 6e 65 72 28 22 69 6e 70 75 74 22 2c 20 55 70 64 61 74 65 50 61 67 65 50 72 6f 78 | Listener("input",.UpdatePageProx |
31da0 | 79 53 74 61 74 65 2c 20 66 61 6c 73 65 29 3b 0a 0a 20 20 20 20 50 61 67 65 50 72 6f 78 79 53 65 | yState,.false);......PageProxySe |
31dc0 | 74 49 63 6f 6e 28 67 42 72 6f 77 73 65 72 2e 6d 43 75 72 72 65 6e 74 42 72 6f 77 73 65 72 2e 6d | tIcon(gBrowser.mCurrentBrowser.m |
31de0 | 49 63 6f 6e 55 52 4c 29 3b 0a 20 20 7d 20 65 6c 73 65 20 69 66 20 28 61 53 74 61 74 65 20 3d 3d | IconURL);...}.else.if.(aState.== |
31e00 | 20 22 69 6e 76 61 6c 69 64 22 29 20 7b 0a 20 20 20 20 67 55 52 4c 42 61 72 2e 72 65 6d 6f 76 65 | ."invalid").{.....gURLBar.remove |
31e20 | 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 28 22 69 6e 70 75 74 22 2c 20 55 70 64 61 74 65 50 61 67 | EventListener("input",.UpdatePag |
31e40 | 65 50 72 6f 78 79 53 74 61 74 65 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 20 50 61 67 65 50 72 6f | eProxyState,.false);.....PagePro |
31e60 | 78 79 43 6c 65 61 72 49 63 6f 6e 28 29 3b 0a 20 20 7d 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 50 | xyClearIcon();...}.}..function.P |
31e80 | 61 67 65 50 72 6f 78 79 53 65 74 49 63 6f 6e 20 28 61 55 52 4c 29 0a 7b 0a 20 20 69 66 20 28 21 | ageProxySetIcon.(aURL).{...if.(! |
31ea0 | 67 50 72 6f 78 79 46 61 76 49 63 6f 6e 29 0a 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 69 66 | gProxyFavIcon).....return;....if |
31ec0 | 20 28 21 61 55 52 4c 29 0a 20 20 20 20 50 61 67 65 50 72 6f 78 79 43 6c 65 61 72 49 63 6f 6e 28 | .(!aURL).....PageProxyClearIcon( |
31ee0 | 29 3b 0a 20 20 65 6c 73 65 20 69 66 20 28 67 50 72 6f 78 79 46 61 76 49 63 6f 6e 2e 67 65 74 41 | );...else.if.(gProxyFavIcon.getA |
31f00 | 74 74 72 69 62 75 74 65 28 22 73 72 63 22 29 20 21 3d 20 61 55 52 4c 29 0a 20 20 20 20 67 50 72 | ttribute("src").!=.aURL).....gPr |
31f20 | 6f 78 79 46 61 76 49 63 6f 6e 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 73 72 63 22 2c 20 61 | oxyFavIcon.setAttribute("src",.a |
31f40 | 55 52 4c 29 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 50 61 67 65 50 72 6f 78 79 43 6c 65 61 72 | URL);.}..function.PageProxyClear |
31f60 | 49 63 6f 6e 20 28 29 0a 7b 0a 20 20 67 50 72 6f 78 79 46 61 76 49 63 6f 6e 2e 72 65 6d 6f 76 65 | Icon.().{...gProxyFavIcon.remove |
31f80 | 41 74 74 72 69 62 75 74 65 28 22 73 72 63 22 29 3b 0a 7d 0a 0a 0a 66 75 6e 63 74 69 6f 6e 20 50 | Attribute("src");.}...function.P |
31fa0 | 61 67 65 50 72 6f 78 79 44 72 61 67 47 65 73 74 75 72 65 28 61 45 76 65 6e 74 29 0a 7b 0a 20 20 | ageProxyDragGesture(aEvent).{... |
31fc0 | 69 66 20 28 67 50 72 6f 78 79 46 61 76 49 63 6f 6e 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 | if.(gProxyFavIcon.getAttribute(" |
31fe0 | 70 61 67 65 70 72 6f 78 79 73 74 61 74 65 22 29 20 3d 3d 20 22 76 61 6c 69 64 22 29 20 7b 0a 20 | pageproxystate").==."valid").{.. |
32000 | 20 20 20 6e 73 44 72 61 67 41 6e 64 44 72 6f 70 2e 73 74 61 72 74 44 72 61 67 28 61 45 76 65 6e | ...nsDragAndDrop.startDrag(aEven |
32020 | 74 2c 20 70 72 6f 78 79 49 63 6f 6e 44 4e 44 4f 62 73 65 72 76 65 72 29 3b 0a 20 20 20 20 72 65 | t,.proxyIconDNDObserver);.....re |
32040 | 74 75 72 6e 20 74 72 75 65 3b 0a 20 20 7d 0a 20 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 0a 7d | turn.true;...}...return.false;.} |
32060 | 0a 0a 66 75 6e 63 74 69 6f 6e 20 50 61 67 65 50 72 6f 78 79 43 6c 69 63 6b 48 61 6e 64 6c 65 72 | ..function.PageProxyClickHandler |
32080 | 28 61 45 76 65 6e 74 29 0a 7b 0a 20 20 69 66 20 28 61 45 76 65 6e 74 2e 62 75 74 74 6f 6e 20 3d | (aEvent).{...if.(aEvent.button.= |
320a0 | 3d 20 31 20 26 26 20 67 50 72 65 66 53 65 72 76 69 63 65 2e 67 65 74 42 6f 6f 6c 50 72 65 66 28 | =.1.&&.gPrefService.getBoolPref( |
320c0 | 22 6d 69 64 64 6c 65 6d 6f 75 73 65 2e 70 61 73 74 65 22 29 29 0a 20 20 20 20 6d 69 64 64 6c 65 | "middlemouse.paste")).....middle |
320e0 | 4d 6f 75 73 65 50 61 73 74 65 28 61 45 76 65 6e 74 29 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 | MousePaste(aEvent);.}..function. |
32100 | 42 72 6f 77 73 65 72 49 6d 70 6f 72 74 28 29 0a 7b 0a 2f 2f 40 6c 69 6e 65 20 32 33 33 34 20 22 | BrowserImport().{.//@line.2334." |
32120 | 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 | /builds/moz2_slave/linux_build/b |
32140 | 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 62 61 73 65 2f 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 | uild/browser/base/content/browse |
32160 | 72 2e 6a 73 22 0a 20 20 77 69 6e 64 6f 77 2e 6f 70 65 6e 44 69 61 6c 6f 67 28 22 63 68 72 6f 6d | r.js"...window.openDialog("chrom |
32180 | 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 6d 69 67 72 61 74 69 6f 6e 2f 6d 69 | e://browser/content/migration/mi |
321a0 | 67 72 61 74 69 6f 6e 2e 78 75 6c 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | gration.xul",................... |
321c0 | 20 20 22 6d 69 67 72 61 74 69 6f 6e 22 2c 20 22 6d 6f 64 61 6c 2c 63 65 6e 74 65 72 73 63 72 65 | .."migration",."modal,centerscre |
321e0 | 65 6e 2c 63 68 72 6f 6d 65 2c 72 65 73 69 7a 61 62 6c 65 3d 6e 6f 22 29 3b 0a 2f 2f 40 6c 69 6e | en,chrome,resizable=no");.//@lin |
32200 | 65 20 32 33 33 37 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 | e.2337."/builds/moz2_slave/linux |
32220 | 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 62 61 73 65 2f 63 6f 6e 74 65 6e | _build/build/browser/base/conten |
32240 | 74 2f 62 72 6f 77 73 65 72 2e 6a 73 22 0a 7d 0a 0a 2f 2a 2a 0a 20 2a 20 48 61 6e 64 6c 65 20 63 | t/browser.js".}../**..*.Handle.c |
32260 | 6f 6d 6d 61 6e 64 20 65 76 65 6e 74 73 20 62 75 62 62 6c 69 6e 67 20 75 70 20 66 72 6f 6d 20 65 | ommand.events.bubbling.up.from.e |
32280 | 72 72 6f 72 20 70 61 67 65 20 63 6f 6e 74 65 6e 74 0a 20 2a 2f 0a 66 75 6e 63 74 69 6f 6e 20 42 | rror.page.content..*/.function.B |
322a0 | 72 6f 77 73 65 72 4f 6e 43 6f 6d 6d 61 6e 64 28 65 76 65 6e 74 29 20 7b 0a 20 20 20 20 2f 2f 20 | rowserOnCommand(event).{.....//. |
322c0 | 44 6f 6e 27 74 20 74 72 75 73 74 20 73 79 6e 74 68 65 74 69 63 20 65 76 65 6e 74 73 0a 20 20 20 | Don't.trust.synthetic.events.... |
322e0 | 20 69 66 20 28 21 65 76 65 6e 74 2e 69 73 54 72 75 73 74 65 64 29 0a 20 20 20 20 20 20 72 65 74 | .if.(!event.isTrusted).......ret |
32300 | 75 72 6e 3b 0a 0a 20 20 20 20 76 61 72 20 6f 74 20 3d 20 65 76 65 6e 74 2e 6f 72 69 67 69 6e 61 | urn;......var.ot.=.event.origina |
32320 | 6c 54 61 72 67 65 74 3b 0a 20 20 20 20 76 61 72 20 65 72 72 6f 72 44 6f 63 20 3d 20 6f 74 2e 6f | lTarget;.....var.errorDoc.=.ot.o |
32340 | 77 6e 65 72 44 6f 63 75 6d 65 6e 74 3b 0a 0a 20 20 20 20 2f 2f 20 49 66 20 74 68 65 20 65 76 65 | wnerDocument;......//.If.the.eve |
32360 | 6e 74 20 63 61 6d 65 20 66 72 6f 6d 20 61 6e 20 73 73 6c 20 65 72 72 6f 72 20 70 61 67 65 2c 20 | nt.came.from.an.ssl.error.page,. |
32380 | 69 74 20 69 73 20 70 72 6f 62 61 62 6c 79 20 65 69 74 68 65 72 20 74 68 65 20 22 41 64 64 0a 20 | it.is.probably.either.the."Add.. |
323a0 | 20 20 20 2f 2f 20 45 78 63 65 70 74 69 6f 6e e2 80 a6 22 20 6f 72 20 22 47 65 74 20 6d 65 20 6f | ...//.Exception...".or."Get.me.o |
323c0 | 75 74 20 6f 66 20 68 65 72 65 21 22 20 62 75 74 74 6f 6e 0a 20 20 20 20 69 66 20 28 2f 5e 61 62 | ut.of.here!".button.....if.(/^ab |
323e0 | 6f 75 74 3a 63 65 72 74 65 72 72 6f 72 2f 2e 74 65 73 74 28 65 72 72 6f 72 44 6f 63 2e 64 6f 63 | out:certerror/.test(errorDoc.doc |
32400 | 75 6d 65 6e 74 55 52 49 29 29 20 7b 0a 20 20 20 20 20 20 69 66 20 28 6f 74 20 3d 3d 20 65 72 72 | umentURI)).{.......if.(ot.==.err |
32420 | 6f 72 44 6f 63 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 27 65 78 63 65 70 74 69 6f 6e 44 | orDoc.getElementById('exceptionD |
32440 | 69 61 6c 6f 67 42 75 74 74 6f 6e 27 29 29 20 7b 0a 20 20 20 20 20 20 20 20 76 61 72 20 70 61 72 | ialogButton')).{.........var.par |
32460 | 61 6d 73 20 3d 20 7b 20 65 78 63 65 70 74 69 6f 6e 41 64 64 65 64 20 3a 20 66 61 6c 73 65 2c 20 | ams.=.{.exceptionAdded.:.false,. |
32480 | 68 61 6e 64 6c 65 50 72 69 76 61 74 65 42 72 6f 77 73 69 6e 67 20 3a 20 74 72 75 65 20 7d 3b 0a | handlePrivateBrowsing.:.true.};. |
324a0 | 20 20 20 20 20 20 20 20 0a 20 20 20 20 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 20 20 20 | .................try.{.......... |
324c0 | 20 73 77 69 74 63 68 20 28 67 50 72 65 66 53 65 72 76 69 63 65 2e 67 65 74 49 6e 74 50 72 65 66 | .switch.(gPrefService.getIntPref |
324e0 | 28 22 62 72 6f 77 73 65 72 2e 73 73 6c 5f 6f 76 65 72 72 69 64 65 5f 62 65 68 61 76 69 6f 72 22 | ("browser.ssl_override_behavior" |
32500 | 29 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 32 20 3a 20 2f 2f 20 50 72 65 | )).{.............case.2.:.//.Pre |
32520 | 2d 66 65 74 63 68 20 26 20 70 72 65 2d 70 6f 70 75 6c 61 74 65 0a 20 20 20 20 20 20 20 20 20 20 | -fetch.&.pre-populate........... |
32540 | 20 20 20 20 70 61 72 61 6d 73 2e 70 72 65 66 65 74 63 68 43 65 72 74 20 3d 20 74 72 75 65 3b 0a | ....params.prefetchCert.=.true;. |
32560 | 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 31 20 3a 20 2f 2f 20 50 72 65 2d 70 6f 70 75 | ............case.1.:.//.Pre-popu |
32580 | 6c 61 74 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 61 72 61 6d 73 2e 6c 6f 63 61 74 69 | late...............params.locati |
325a0 | 6f 6e 20 3d 20 65 72 72 6f 72 44 6f 63 2e 6c 6f 63 61 74 69 6f 6e 2e 68 72 65 66 3b 0a 20 20 20 | on.=.errorDoc.location.href;.... |
325c0 | 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 7d 20 63 61 74 63 68 20 28 65 29 20 7b 0a 20 | .......}.........}.catch.(e).{.. |
325e0 | 20 20 20 20 20 20 20 20 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 75 74 69 6c 73 2e 72 65 70 6f 72 74 | .........Components.utils.report |
32600 | 45 72 72 6f 72 28 22 43 6f 75 6c 64 6e 27 74 20 67 65 74 20 73 73 6c 5f 6f 76 65 72 72 69 64 65 | Error("Couldn't.get.ssl_override |
32620 | 20 70 72 65 66 3a 20 22 20 2b 20 65 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 | .pref:.".+.e);.........}........ |
32640 | 20 0a 20 20 20 20 20 20 20 20 77 69 6e 64 6f 77 2e 6f 70 65 6e 44 69 61 6c 6f 67 28 27 63 68 72 | ..........window.openDialog('chr |
32660 | 6f 6d 65 3a 2f 2f 70 69 70 70 6b 69 2f 63 6f 6e 74 65 6e 74 2f 65 78 63 65 70 74 69 6f 6e 44 69 | ome://pippki/content/exceptionDi |
32680 | 61 6c 6f 67 2e 78 75 6c 27 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | alog.xul',...................... |
326a0 | 20 20 20 20 20 27 27 2c 27 63 68 72 6f 6d 65 2c 63 65 6e 74 65 72 73 63 72 65 65 6e 2c 6d 6f 64 | .....'','chrome,centerscreen,mod |
326c0 | 61 6c 27 2c 20 70 61 72 61 6d 73 29 3b 0a 20 20 20 20 20 20 20 20 0a 20 20 20 20 20 20 20 20 2f | al',.params);................../ |
326e0 | 2f 20 49 66 20 74 68 65 20 75 73 65 72 20 61 64 64 65 64 20 74 68 65 20 65 78 63 65 70 74 69 6f | /.If.the.user.added.the.exceptio |
32700 | 6e 20 63 65 72 74 2c 20 61 74 74 65 6d 70 74 20 74 6f 20 72 65 6c 6f 61 64 20 74 68 65 20 70 61 | n.cert,.attempt.to.reload.the.pa |
32720 | 67 65 0a 20 20 20 20 20 20 20 20 69 66 20 28 70 61 72 61 6d 73 2e 65 78 63 65 70 74 69 6f 6e 41 | ge.........if.(params.exceptionA |
32740 | 64 64 65 64 29 0a 20 20 20 20 20 20 20 20 20 20 65 72 72 6f 72 44 6f 63 2e 6c 6f 63 61 74 69 6f | dded)...........errorDoc.locatio |
32760 | 6e 2e 72 65 6c 6f 61 64 28 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 65 6c 73 65 20 69 | n.reload();.......}.......else.i |
32780 | 66 20 28 6f 74 20 3d 3d 20 65 72 72 6f 72 44 6f 63 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 | f.(ot.==.errorDoc.getElementById |
327a0 | 28 27 67 65 74 4d 65 4f 75 74 4f 66 48 65 72 65 42 75 74 74 6f 6e 27 29 29 20 7b 0a 20 20 20 20 | ('getMeOutOfHereButton')).{..... |
327c0 | 20 20 20 20 67 65 74 4d 65 4f 75 74 4f 66 48 65 72 65 28 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 | ....getMeOutOfHere();.......}... |
327e0 | 20 20 7d 0a 20 20 20 20 65 6c 73 65 20 69 66 20 28 2f 5e 61 62 6f 75 74 3a 62 6c 6f 63 6b 65 64 | ..}.....else.if.(/^about:blocked |
32800 | 2f 2e 74 65 73 74 28 65 72 72 6f 72 44 6f 63 2e 64 6f 63 75 6d 65 6e 74 55 52 49 29 29 20 7b 0a | /.test(errorDoc.documentURI)).{. |
32820 | 20 20 20 20 20 20 2f 2f 20 54 68 65 20 65 76 65 6e 74 20 63 61 6d 65 20 66 72 6f 6d 20 61 20 62 | ......//.The.event.came.from.a.b |
32840 | 75 74 74 6f 6e 20 6f 6e 20 61 20 6d 61 6c 77 61 72 65 2f 70 68 69 73 68 69 6e 67 20 62 6c 6f 63 | utton.on.a.malware/phishing.bloc |
32860 | 6b 20 70 61 67 65 0a 20 20 20 20 20 20 2f 2f 20 46 69 72 73 74 20 63 68 65 63 6b 20 77 68 65 74 | k.page.......//.First.check.whet |
32880 | 68 65 72 20 69 74 27 73 20 6d 61 6c 77 61 72 65 20 6f 72 20 70 68 69 73 68 69 6e 67 2c 20 73 6f | her.it's.malware.or.phishing,.so |
328a0 | 20 74 68 61 74 20 77 65 20 63 61 6e 0a 20 20 20 20 20 20 2f 2f 20 75 73 65 20 74 68 65 20 72 69 | .that.we.can.......//.use.the.ri |
328c0 | 67 68 74 20 73 74 72 69 6e 67 73 2f 6c 69 6e 6b 73 0a 20 20 20 20 20 20 76 61 72 20 69 73 4d 61 | ght.strings/links.......var.isMa |
328e0 | 6c 77 61 72 65 20 3d 20 2f 65 3d 6d 61 6c 77 61 72 65 42 6c 6f 63 6b 65 64 2f 2e 74 65 73 74 28 | lware.=./e=malwareBlocked/.test( |
32900 | 65 72 72 6f 72 44 6f 63 2e 64 6f 63 75 6d 65 6e 74 55 52 49 29 3b 0a 20 20 20 20 20 20 0a 20 20 | errorDoc.documentURI);.......... |
32920 | 20 20 20 20 69 66 20 28 6f 74 20 3d 3d 20 65 72 72 6f 72 44 6f 63 2e 67 65 74 45 6c 65 6d 65 6e | ....if.(ot.==.errorDoc.getElemen |
32940 | 74 42 79 49 64 28 27 67 65 74 4d 65 4f 75 74 42 75 74 74 6f 6e 27 29 29 20 7b 0a 20 20 20 20 20 | tById('getMeOutButton')).{...... |
32960 | 20 20 20 67 65 74 4d 65 4f 75 74 4f 66 48 65 72 65 28 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 | ...getMeOutOfHere();.......}.... |
32980 | 20 20 20 65 6c 73 65 20 69 66 20 28 6f 74 20 3d 3d 20 65 72 72 6f 72 44 6f 63 2e 67 65 74 45 6c | ...else.if.(ot.==.errorDoc.getEl |
329a0 | 65 6d 65 6e 74 42 79 49 64 28 27 72 65 70 6f 72 74 42 75 74 74 6f 6e 27 29 29 20 7b 0a 20 20 20 | ementById('reportButton')).{.... |
329c0 | 20 20 20 20 20 2f 2f 20 54 68 69 73 20 69 73 20 74 68 65 20 22 57 68 79 20 69 73 20 74 68 69 73 | .....//.This.is.the."Why.is.this |
329e0 | 20 73 69 74 65 20 62 6c 6f 63 6b 65 64 22 20 62 75 74 74 6f 6e 2e 20 20 46 6f 72 20 6d 61 6c 77 | .site.blocked".button...For.malw |
32a00 | 61 72 65 2c 0a 20 20 20 20 20 20 20 20 2f 2f 20 77 65 20 63 61 6e 20 66 65 74 63 68 20 61 20 73 | are,.........//.we.can.fetch.a.s |
32a20 | 69 74 65 2d 73 70 65 63 69 66 69 63 20 72 65 70 6f 72 74 2c 20 66 6f 72 20 70 68 69 73 68 69 6e | ite-specific.report,.for.phishin |
32a40 | 67 2c 20 77 65 20 72 65 64 69 72 65 63 74 0a 20 20 20 20 20 20 20 20 2f 2f 20 74 6f 20 74 68 65 | g,.we.redirect.........//.to.the |
32a60 | 20 67 65 6e 65 72 69 63 20 70 61 67 65 20 64 65 73 63 72 69 62 69 6e 67 20 70 68 69 73 68 69 6e | .generic.page.describing.phishin |
32a80 | 67 20 70 72 6f 74 65 63 74 69 6f 6e 2e 0a 20 20 20 20 20 20 20 20 76 61 72 20 66 6f 72 6d 61 74 | g.protection..........var.format |
32aa0 | 74 65 72 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 74 6f 6f 6c 6b 69 74 2f 55 | ter.=.Cc["@mozilla.org/toolkit/U |
32ac0 | 52 4c 46 6f 72 6d 61 74 74 65 72 53 65 72 76 69 63 65 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 | RLFormatterService;1"].......... |
32ae0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e | ...............getService(Compon |
32b00 | 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 55 52 4c 46 6f 72 6d 61 74 74 65 72 29 | ents.interfaces.nsIURLFormatter) |
32b20 | 3b 0a 20 20 20 20 20 20 20 20 0a 20 20 20 20 20 20 20 20 69 66 20 28 69 73 4d 61 6c 77 61 72 65 | ;..................if.(isMalware |
32b40 | 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 47 65 74 20 74 68 65 20 73 74 6f 70 20 62 61 | ).{...........//.Get.the.stop.ba |
32b60 | 64 77 61 72 65 20 22 77 68 79 20 69 73 20 74 68 69 73 20 62 6c 6f 63 6b 65 64 22 20 72 65 70 6f | dware."why.is.this.blocked".repo |
32b80 | 72 74 20 75 72 6c 2c 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 61 70 70 65 6e 64 20 74 68 65 20 | rt.url,...........//.append.the. |
32ba0 | 63 75 72 72 65 6e 74 20 75 72 6c 2c 20 61 6e 64 20 67 6f 20 74 68 65 72 65 2e 0a 20 20 20 20 20 | current.url,.and.go.there....... |
32bc0 | 20 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 72 65 70 6f 72 | .....try.{.............var.repor |
32be0 | 74 55 52 4c 20 3d 20 66 6f 72 6d 61 74 74 65 72 2e 66 6f 72 6d 61 74 55 52 4c 50 72 65 66 28 22 | tURL.=.formatter.formatURLPref(" |
32c00 | 62 72 6f 77 73 65 72 2e 73 61 66 65 62 72 6f 77 73 69 6e 67 2e 6d 61 6c 77 61 72 65 2e 72 65 70 | browser.safebrowsing.malware.rep |
32c20 | 6f 72 74 55 52 4c 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 70 6f 72 74 55 52 4c 20 | ortURL");.............reportURL. |
32c40 | 2b 3d 20 65 72 72 6f 72 44 6f 63 2e 6c 6f 63 61 74 69 6f 6e 2e 68 72 65 66 3b 0a 20 20 20 20 20 | +=.errorDoc.location.href;...... |
32c60 | 20 20 20 20 20 20 20 63 6f 6e 74 65 6e 74 2e 6c 6f 63 61 74 69 6f 6e 20 3d 20 72 65 70 6f 72 74 | .......content.location.=.report |
32c80 | 55 52 4c 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 20 63 61 74 63 68 20 28 65 29 20 7b 0a 20 20 20 | URL;...........}.catch.(e).{.... |
32ca0 | 20 20 20 20 20 20 20 20 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 75 74 69 6c 73 2e 72 65 70 6f 72 74 | .........Components.utils.report |
32cc0 | 45 72 72 6f 72 28 22 43 6f 75 6c 64 6e 27 74 20 67 65 74 20 6d 61 6c 77 61 72 65 20 72 65 70 6f | Error("Couldn't.get.malware.repo |
32ce0 | 72 74 20 55 52 4c 3a 20 22 20 2b 20 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 | rt.URL:.".+.e);...........}..... |
32d00 | 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 65 6c 73 65 20 7b 20 2f 2f 20 49 74 27 73 20 61 20 70 | ....}.........else.{.//.It's.a.p |
32d20 | 68 69 73 68 69 6e 67 20 73 69 74 65 2c 20 6e 6f 74 20 6d 61 6c 77 61 72 65 0a 20 20 20 20 20 20 | hishing.site,.not.malware....... |
32d40 | 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6e 74 65 6e 74 2e 6c 6f | ....try.{.............content.lo |
32d60 | 63 61 74 69 6f 6e 20 3d 20 66 6f 72 6d 61 74 74 65 72 2e 66 6f 72 6d 61 74 55 52 4c 50 72 65 66 | cation.=.formatter.formatURLPref |
32d80 | 28 22 62 72 6f 77 73 65 72 2e 73 61 66 65 62 72 6f 77 73 69 6e 67 2e 77 61 72 6e 69 6e 67 2e 69 | ("browser.safebrowsing.warning.i |
32da0 | 6e 66 6f 55 52 4c 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 20 63 61 74 63 68 20 28 65 29 20 | nfoURL");...........}.catch.(e). |
32dc0 | 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 75 74 69 6c 73 2e 72 | {.............Components.utils.r |
32de0 | 65 70 6f 72 74 45 72 72 6f 72 28 22 43 6f 75 6c 64 6e 27 74 20 67 65 74 20 70 68 69 73 68 69 6e | eportError("Couldn't.get.phishin |
32e00 | 67 20 69 6e 66 6f 20 55 52 4c 3a 20 22 20 2b 20 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a | g.info.URL:.".+.e);...........}. |
32e20 | 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 65 6c 73 65 20 69 66 20 | ........}.......}.......else.if. |
32e40 | 28 6f 74 20 3d 3d 20 65 72 72 6f 72 44 6f 63 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 27 | (ot.==.errorDoc.getElementById(' |
32e60 | 69 67 6e 6f 72 65 57 61 72 6e 69 6e 67 42 75 74 74 6f 6e 27 29 29 20 7b 0a 20 20 20 20 20 20 20 | ignoreWarningButton')).{........ |
32e80 | 20 2f 2f 20 41 6c 6c 6f 77 20 75 73 65 72 73 20 74 6f 20 6f 76 65 72 72 69 64 65 20 61 6e 64 20 | .//.Allow.users.to.override.and. |
32ea0 | 63 6f 6e 74 69 6e 75 65 20 74 68 72 6f 75 67 68 20 74 6f 20 74 68 65 20 73 69 74 65 2c 0a 20 20 | continue.through.to.the.site,... |
32ec0 | 20 20 20 20 20 20 2f 2f 20 62 75 74 20 61 64 64 20 61 20 6e 6f 74 69 66 79 20 62 61 72 20 61 73 | ......//.but.add.a.notify.bar.as |
32ee0 | 20 61 20 72 65 6d 69 6e 64 65 72 2c 20 73 6f 20 74 68 61 74 20 74 68 65 79 20 64 6f 6e 27 74 20 | .a.reminder,.so.that.they.don't. |
32f00 | 6c 6f 73 65 0a 20 20 20 20 20 20 20 20 2f 2f 20 74 72 61 63 6b 20 61 66 74 65 72 2c 20 65 2e 67 | lose.........//.track.after,.e.g |
32f20 | 2e 2c 20 74 61 62 20 73 77 69 74 63 68 69 6e 67 2e 0a 20 20 20 20 20 20 20 20 67 42 72 6f 77 73 | .,.tab.switching..........gBrows |
32f40 | 65 72 2e 6c 6f 61 64 55 52 49 57 69 74 68 46 6c 61 67 73 28 63 6f 6e 74 65 6e 74 2e 6c 6f 63 61 | er.loadURIWithFlags(content.loca |
32f60 | 74 69 6f 6e 2e 68 72 65 66 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | tion.href,...................... |
32f80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 73 49 57 65 62 4e 61 76 69 67 61 74 69 6f 6e 2e 4c 4f | .............nsIWebNavigation.LO |
32fa0 | 41 44 5f 46 4c 41 47 53 5f 42 59 50 41 53 53 5f 43 4c 41 53 53 49 46 49 45 52 2c 0a 20 20 20 20 | AD_FLAGS_BYPASS_CLASSIFIER,..... |
32fc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 75 | ..............................nu |
32fe0 | 6c 6c 2c 20 6e 75 6c 6c 2c 20 6e 75 6c 6c 29 3b 0a 20 20 20 20 20 20 20 20 76 61 72 20 62 75 74 | ll,.null,.null);.........var.but |
33000 | 74 6f 6e 73 20 3d 20 5b 7b 0a 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3a 20 67 4e 61 76 69 | tons.=.[{...........label:.gNavi |
33020 | 67 61 74 6f 72 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 73 61 66 65 62 72 6f 77 73 | gatorBundle.getString("safebrows |
33040 | 69 6e 67 2e 67 65 74 4d 65 4f 75 74 4f 66 48 65 72 65 42 75 74 74 6f 6e 2e 6c 61 62 65 6c 22 29 | ing.getMeOutOfHereButton.label") |
33060 | 2c 0a 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 4b 65 79 3a 20 67 4e 61 76 69 67 61 74 6f | ,...........accessKey:.gNavigato |
33080 | 72 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 73 61 66 65 62 72 6f 77 73 69 6e 67 2e | rBundle.getString("safebrowsing. |
330a0 | 67 65 74 4d 65 4f 75 74 4f 66 48 65 72 65 42 75 74 74 6f 6e 2e 61 63 63 65 73 73 4b 65 79 22 29 | getMeOutOfHereButton.accessKey") |
330c0 | 2c 0a 20 20 20 20 20 20 20 20 20 20 63 61 6c 6c 62 61 63 6b 3a 20 66 75 6e 63 74 69 6f 6e 28 29 | ,...........callback:.function() |
330e0 | 20 7b 20 67 65 74 4d 65 4f 75 74 4f 66 48 65 72 65 28 29 3b 20 7d 0a 20 20 20 20 20 20 20 20 7d | .{.getMeOutOfHere();.}.........} |
33100 | 5d 3b 0a 20 20 20 20 20 20 20 20 0a 20 20 20 20 20 20 20 20 69 66 20 28 69 73 4d 61 6c 77 61 72 | ];..................if.(isMalwar |
33120 | 65 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 74 69 74 6c 65 20 3d 20 67 4e 61 76 69 | e).{...........var.title.=.gNavi |
33140 | 67 61 74 6f 72 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 73 61 66 65 62 72 6f 77 73 | gatorBundle.getString("safebrows |
33160 | 69 6e 67 2e 72 65 70 6f 72 74 65 64 41 74 74 61 63 6b 53 69 74 65 22 29 3b 0a 20 20 20 20 20 20 | ing.reportedAttackSite");....... |
33180 | 20 20 20 20 62 75 74 74 6f 6e 73 5b 31 5d 20 3d 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 6c | ....buttons[1].=.{.............l |
331a0 | 61 62 65 6c 3a 20 67 4e 61 76 69 67 61 74 6f 72 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 | abel:.gNavigatorBundle.getString |
331c0 | 28 22 73 61 66 65 62 72 6f 77 73 69 6e 67 2e 6e 6f 74 41 6e 41 74 74 61 63 6b 42 75 74 74 6f 6e | ("safebrowsing.notAnAttackButton |
331e0 | 2e 6c 61 62 65 6c 22 29 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 4b 65 79 3a | .label"),.............accessKey: |
33200 | 20 67 4e 61 76 69 67 61 74 6f 72 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 73 61 66 | .gNavigatorBundle.getString("saf |
33220 | 65 62 72 6f 77 73 69 6e 67 2e 6e 6f 74 41 6e 41 74 74 61 63 6b 42 75 74 74 6f 6e 2e 61 63 63 65 | ebrowsing.notAnAttackButton.acce |
33240 | 73 73 4b 65 79 22 29 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 63 61 6c 6c 62 61 63 6b 3a 20 66 | ssKey"),.............callback:.f |
33260 | 75 6e 63 74 69 6f 6e 28 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 70 65 6e 55 49 | unction().{...............openUI |
33280 | 4c 69 6e 6b 49 6e 28 73 61 66 65 62 72 6f 77 73 69 6e 67 2e 67 65 74 52 65 70 6f 72 74 55 52 4c | LinkIn(safebrowsing.getReportURL |
332a0 | 28 27 4d 61 6c 77 61 72 65 45 72 72 6f 72 27 29 2c 20 27 74 61 62 27 29 3b 0a 20 20 20 20 20 20 | ('MalwareError'),.'tab');....... |
332c0 | 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 7d 3b 0a 20 20 20 20 20 20 20 20 7d 20 65 | ......}...........};.........}.e |
332e0 | 6c 73 65 20 7b 0a 20 20 20 20 20 20 20 20 20 20 74 69 74 6c 65 20 3d 20 67 4e 61 76 69 67 61 74 | lse.{...........title.=.gNavigat |
33300 | 6f 72 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 73 61 66 65 62 72 6f 77 73 69 6e 67 | orBundle.getString("safebrowsing |
33320 | 2e 72 65 70 6f 72 74 65 64 57 65 62 46 6f 72 67 65 72 79 22 29 3b 0a 20 20 20 20 20 20 20 20 20 | .reportedWebForgery");.......... |
33340 | 20 62 75 74 74 6f 6e 73 5b 31 5d 20 3d 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 | .buttons[1].=.{.............labe |
33360 | 6c 3a 20 67 4e 61 76 69 67 61 74 6f 72 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 73 | l:.gNavigatorBundle.getString("s |
33380 | 61 66 65 62 72 6f 77 73 69 6e 67 2e 6e 6f 74 41 46 6f 72 67 65 72 79 42 75 74 74 6f 6e 2e 6c 61 | afebrowsing.notAForgeryButton.la |
333a0 | 62 65 6c 22 29 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 4b 65 79 3a 20 67 4e | bel"),.............accessKey:.gN |
333c0 | 61 76 69 67 61 74 6f 72 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 73 61 66 65 62 72 | avigatorBundle.getString("safebr |
333e0 | 6f 77 73 69 6e 67 2e 6e 6f 74 41 46 6f 72 67 65 72 79 42 75 74 74 6f 6e 2e 61 63 63 65 73 73 4b | owsing.notAForgeryButton.accessK |
33400 | 65 79 22 29 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 63 61 6c 6c 62 61 63 6b 3a 20 66 75 6e 63 | ey"),.............callback:.func |
33420 | 74 69 6f 6e 28 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 70 65 6e 55 49 4c 69 6e | tion().{...............openUILin |
33440 | 6b 49 6e 28 73 61 66 65 62 72 6f 77 73 69 6e 67 2e 67 65 74 52 65 70 6f 72 74 55 52 4c 28 27 45 | kIn(safebrowsing.getReportURL('E |
33460 | 72 72 6f 72 27 29 2c 20 27 74 61 62 27 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 | rror'),.'tab');.............}... |
33480 | 20 20 20 20 20 20 20 20 7d 3b 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 0a 20 20 | ........};.........}............ |
334a0 | 20 20 20 20 20 20 76 61 72 20 6e 6f 74 69 66 69 63 61 74 69 6f 6e 42 6f 78 20 3d 20 67 42 72 6f | ......var.notificationBox.=.gBro |
334c0 | 77 73 65 72 2e 67 65 74 4e 6f 74 69 66 69 63 61 74 69 6f 6e 42 6f 78 28 29 3b 0a 20 20 20 20 20 | wser.getNotificationBox();...... |
334e0 | 20 20 20 6e 6f 74 69 66 69 63 61 74 69 6f 6e 42 6f 78 2e 61 70 70 65 6e 64 4e 6f 74 69 66 69 63 | ...notificationBox.appendNotific |
33500 | 61 74 69 6f 6e 28 0a 20 20 20 20 20 20 20 20 20 20 74 69 74 6c 65 2c 0a 20 20 20 20 20 20 20 20 | ation(...........title,......... |
33520 | 20 20 22 62 6c 6f 63 6b 65 64 2d 62 61 64 77 61 72 65 2d 70 61 67 65 22 2c 0a 20 20 20 20 20 20 | .."blocked-badware-page",....... |
33540 | 20 20 20 20 22 63 68 72 6f 6d 65 3a 2f 2f 67 6c 6f 62 61 6c 2f 73 6b 69 6e 2f 69 63 6f 6e 73 2f | ...."chrome://global/skin/icons/ |
33560 | 62 6c 61 63 6b 6c 69 73 74 5f 66 61 76 69 63 6f 6e 2e 70 6e 67 22 2c 0a 20 20 20 20 20 20 20 20 | blacklist_favicon.png",......... |
33580 | 20 20 6e 6f 74 69 66 69 63 61 74 69 6f 6e 42 6f 78 2e 50 52 49 4f 52 49 54 59 5f 43 52 49 54 49 | ..notificationBox.PRIORITY_CRITI |
335a0 | 43 41 4c 5f 48 49 47 48 2c 0a 20 20 20 20 20 20 20 20 20 20 62 75 74 74 6f 6e 73 0a 20 20 20 20 | CAL_HIGH,...........buttons..... |
335c0 | 20 20 20 20 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 20 20 20 20 65 6c 73 65 20 69 66 | ....);.......}.....}.....else.if |
335e0 | 20 28 2f 5e 61 62 6f 75 74 3a 70 72 69 76 61 74 65 62 72 6f 77 73 69 6e 67 2f 2e 74 65 73 74 28 | .(/^about:privatebrowsing/.test( |
33600 | 65 72 72 6f 72 44 6f 63 2e 64 6f 63 75 6d 65 6e 74 55 52 49 29 29 20 7b 0a 20 20 20 20 20 20 69 | errorDoc.documentURI)).{.......i |
33620 | 66 20 28 6f 74 20 3d 3d 20 65 72 72 6f 72 44 6f 63 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 | f.(ot.==.errorDoc.getElementById |
33640 | 28 22 73 74 61 72 74 50 72 69 76 61 74 65 42 72 6f 77 73 69 6e 67 22 29 29 20 7b 0a 20 20 20 20 | ("startPrivateBrowsing")).{..... |
33660 | 20 20 20 20 67 50 72 69 76 61 74 65 42 72 6f 77 73 69 6e 67 55 49 2e 74 6f 67 67 6c 65 4d 6f 64 | ....gPrivateBrowsingUI.toggleMod |
33680 | 65 28 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 7d 0a 0a 2f 2a 2a 0a 20 2a 20 52 65 2d | e();.......}.....}.}../**..*.Re- |
336a0 | 64 69 72 65 63 74 20 74 68 65 20 62 72 6f 77 73 65 72 20 74 6f 20 61 20 6b 6e 6f 77 6e 2d 73 61 | direct.the.browser.to.a.known-sa |
336c0 | 66 65 20 70 61 67 65 2e 20 20 54 68 69 73 20 66 75 6e 63 74 69 6f 6e 20 69 73 0a 20 2a 20 75 73 | fe.page...This.function.is..*.us |
336e0 | 65 64 20 77 68 65 6e 2c 20 66 6f 72 20 65 78 61 6d 70 6c 65 2c 20 74 68 65 20 75 73 65 72 20 62 | ed.when,.for.example,.the.user.b |
33700 | 72 6f 77 73 65 73 20 74 6f 20 61 20 6b 6e 6f 77 6e 20 6d 61 6c 77 61 72 65 20 70 61 67 65 0a 20 | rowses.to.a.known.malware.page.. |
33720 | 2a 20 61 6e 64 20 69 73 20 70 72 65 73 65 6e 74 65 64 20 77 69 74 68 20 61 62 6f 75 74 3a 62 6c | *.and.is.presented.with.about:bl |
33740 | 6f 63 6b 65 64 2e 20 20 54 68 65 20 22 47 65 74 20 6d 65 20 6f 75 74 20 6f 66 20 68 65 72 65 21 | ocked...The."Get.me.out.of.here! |
33760 | 22 0a 20 2a 20 62 75 74 74 6f 6e 20 73 68 6f 75 6c 64 20 74 61 6b 65 20 74 68 65 20 75 73 65 72 | "..*.button.should.take.the.user |
33780 | 20 74 6f 20 74 68 65 20 64 65 66 61 75 6c 74 20 73 74 61 72 74 20 70 61 67 65 20 73 6f 20 74 68 | .to.the.default.start.page.so.th |
337a0 | 61 74 20 65 76 65 6e 0a 20 2a 20 77 68 65 6e 20 74 68 65 69 72 20 6f 77 6e 20 68 6f 6d 65 70 61 | at.even..*.when.their.own.homepa |
337c0 | 67 65 20 69 73 20 69 6e 66 65 63 74 65 64 2c 20 77 65 20 63 61 6e 20 67 65 74 20 74 68 65 6d 20 | ge.is.infected,.we.can.get.them. |
337e0 | 73 6f 6d 65 77 68 65 72 65 20 73 61 66 65 2e 0a 20 2a 2f 0a 66 75 6e 63 74 69 6f 6e 20 67 65 74 | somewhere.safe...*/.function.get |
33800 | 4d 65 4f 75 74 4f 66 48 65 72 65 28 29 20 7b 0a 20 20 2f 2f 20 47 65 74 20 74 68 65 20 73 74 61 | MeOutOfHere().{...//.Get.the.sta |
33820 | 72 74 20 70 61 67 65 20 66 72 6f 6d 20 74 68 65 20 2a 64 65 66 61 75 6c 74 2a 20 70 72 65 66 20 | rt.page.from.the.*default*.pref. |
33840 | 62 72 61 6e 63 68 2c 20 6e 6f 74 20 74 68 65 20 75 73 65 72 27 73 0a 20 20 76 61 72 20 70 72 65 | branch,.not.the.user's...var.pre |
33860 | 66 73 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 70 72 65 66 65 72 65 6e 63 65 | fs.=.Cc["@mozilla.org/preference |
33880 | 73 2d 73 65 72 76 69 63 65 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 | s-service;1"]...............getS |
338a0 | 65 72 76 69 63 65 28 43 69 2e 6e 73 49 50 72 65 66 53 65 72 76 69 63 65 29 2e 67 65 74 44 65 66 | ervice(Ci.nsIPrefService).getDef |
338c0 | 61 75 6c 74 42 72 61 6e 63 68 28 6e 75 6c 6c 29 3b 0a 20 20 76 61 72 20 75 72 6c 20 3d 20 22 61 | aultBranch(null);...var.url.=."a |
338e0 | 62 6f 75 74 3a 62 6c 61 6e 6b 22 3b 0a 20 20 74 72 79 20 7b 0a 20 20 20 20 75 72 6c 20 3d 20 70 | bout:blank";...try.{.....url.=.p |
33900 | 72 65 66 73 2e 67 65 74 43 6f 6d 70 6c 65 78 56 61 6c 75 65 28 22 62 72 6f 77 73 65 72 2e 73 74 | refs.getComplexValue("browser.st |
33920 | 61 72 74 75 70 2e 68 6f 6d 65 70 61 67 65 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | artup.homepage",................ |
33940 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 43 69 2e 6e 73 49 50 72 65 66 4c 6f 63 61 6c | .................Ci.nsIPrefLocal |
33960 | 69 7a 65 64 53 74 72 69 6e 67 29 2e 64 61 74 61 3b 0a 20 20 20 20 2f 2f 20 49 66 20 75 72 6c 20 | izedString).data;.....//.If.url. |
33980 | 69 73 20 61 20 70 69 70 65 2d 64 65 6c 69 6d 69 74 65 64 20 73 65 74 20 6f 66 20 70 61 67 65 73 | is.a.pipe-delimited.set.of.pages |
339a0 | 2c 20 6a 75 73 74 20 74 61 6b 65 20 74 68 65 20 66 69 72 73 74 20 6f 6e 65 2e 0a 20 20 20 20 69 | ,.just.take.the.first.one......i |
339c0 | 66 20 28 75 72 6c 2e 69 6e 64 65 78 4f 66 28 22 7c 22 29 20 21 3d 20 2d 31 29 0a 20 20 20 20 20 | f.(url.indexOf("|").!=.-1)...... |
339e0 | 20 75 72 6c 20 3d 20 75 72 6c 2e 73 70 6c 69 74 28 22 7c 22 29 5b 30 5d 3b 0a 20 20 7d 20 63 61 | .url.=.url.split("|")[0];...}.ca |
33a00 | 74 63 68 28 65 29 20 7b 0a 20 20 20 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 75 74 69 6c 73 2e 72 65 | tch(e).{.....Components.utils.re |
33a20 | 70 6f 72 74 45 72 72 6f 72 28 22 43 6f 75 6c 64 6e 27 74 20 67 65 74 20 68 6f 6d 65 70 61 67 65 | portError("Couldn't.get.homepage |
33a40 | 20 70 72 65 66 3a 20 22 20 2b 20 65 29 3b 0a 20 20 7d 0a 20 20 63 6f 6e 74 65 6e 74 2e 6c 6f 63 | .pref:.".+.e);...}...content.loc |
33a60 | 61 74 69 6f 6e 20 3d 20 75 72 6c 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 42 72 6f 77 73 65 72 | ation.=.url;.}..function.Browser |
33a80 | 46 75 6c 6c 53 63 72 65 65 6e 28 29 0a 7b 0a 20 20 77 69 6e 64 6f 77 2e 66 75 6c 6c 53 63 72 65 | FullScreen().{...window.fullScre |
33aa0 | 65 6e 20 3d 20 21 77 69 6e 64 6f 77 2e 66 75 6c 6c 53 63 72 65 65 6e 3b 0a 7d 0a 0a 66 75 6e 63 | en.=.!window.fullScreen;.}..func |
33ac0 | 74 69 6f 6e 20 6f 6e 46 75 6c 6c 53 63 72 65 65 6e 28 29 0a 7b 0a 20 20 46 75 6c 6c 53 63 72 65 | tion.onFullScreen().{...FullScre |
33ae0 | 65 6e 2e 74 6f 67 67 6c 65 28 29 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 67 65 74 57 65 62 4e | en.toggle();.}..function.getWebN |
33b00 | 61 76 69 67 61 74 69 6f 6e 28 29 0a 7b 0a 20 20 74 72 79 20 7b 0a 20 20 20 20 72 65 74 75 72 6e | avigation().{...try.{.....return |
33b20 | 20 67 42 72 6f 77 73 65 72 2e 77 65 62 4e 61 76 69 67 61 74 69 6f 6e 3b 0a 20 20 7d 20 63 61 74 | .gBrowser.webNavigation;...}.cat |
33b40 | 63 68 20 28 65 29 20 7b 0a 20 20 20 20 72 65 74 75 72 6e 20 6e 75 6c 6c 3b 0a 20 20 7d 0a 7d 0a | ch.(e).{.....return.null;...}.}. |
33b60 | 0a 66 75 6e 63 74 69 6f 6e 20 42 72 6f 77 73 65 72 52 65 6c 6f 61 64 57 69 74 68 46 6c 61 67 73 | .function.BrowserReloadWithFlags |
33b80 | 28 72 65 6c 6f 61 64 46 6c 61 67 73 29 20 7b 0a 20 20 2f 2a 20 46 69 72 73 74 2c 20 77 65 27 6c | (reloadFlags).{.../*.First,.we'l |
33ba0 | 6c 20 74 72 79 20 74 6f 20 75 73 65 20 74 68 65 20 73 65 73 73 69 6f 6e 20 68 69 73 74 6f 72 79 | l.try.to.use.the.session.history |
33bc0 | 20 6f 62 6a 65 63 74 20 74 6f 20 72 65 6c 6f 61 64 20 73 6f 0a 20 20 20 2a 20 74 68 61 74 20 66 | .object.to.reload.so....*.that.f |
33be0 | 72 61 6d 65 73 65 74 73 20 61 72 65 20 68 61 6e 64 6c 65 64 20 70 72 6f 70 65 72 6c 79 2e 20 49 | ramesets.are.handled.properly..I |
33c00 | 66 20 77 65 27 72 65 20 69 6e 20 61 20 73 70 65 63 69 61 6c 0a 20 20 20 2a 20 77 69 6e 64 6f 77 | f.we're.in.a.special....*.window |
33c20 | 20 28 73 75 63 68 20 61 73 20 76 69 65 77 2d 73 6f 75 72 63 65 29 20 74 68 61 74 20 68 61 73 20 | .(such.as.view-source).that.has. |
33c40 | 6e 6f 20 73 65 73 73 69 6f 6e 20 68 69 73 74 6f 72 79 2c 20 66 61 6c 6c 0a 20 20 20 2a 20 62 61 | no.session.history,.fall....*.ba |
33c60 | 63 6b 20 6f 6e 20 75 73 69 6e 67 20 74 68 65 20 77 65 62 20 6e 61 76 69 67 61 74 69 6f 6e 27 73 | ck.on.using.the.web.navigation's |
33c80 | 20 72 65 6c 6f 61 64 20 6d 65 74 68 6f 64 2e 0a 20 20 20 2a 2f 0a 0a 20 20 76 61 72 20 77 65 62 | .reload.method.....*/....var.web |
33ca0 | 4e 61 76 20 3d 20 67 65 74 57 65 62 4e 61 76 69 67 61 74 69 6f 6e 28 29 3b 0a 20 20 74 72 79 20 | Nav.=.getWebNavigation();...try. |
33cc0 | 7b 0a 20 20 20 20 76 61 72 20 73 68 20 3d 20 77 65 62 4e 61 76 2e 73 65 73 73 69 6f 6e 48 69 73 | {.....var.sh.=.webNav.sessionHis |
33ce0 | 74 6f 72 79 3b 0a 20 20 20 20 69 66 20 28 73 68 29 0a 20 20 20 20 20 20 77 65 62 4e 61 76 20 3d | tory;.....if.(sh).......webNav.= |
33d00 | 20 73 68 2e 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 28 6e 73 49 57 65 62 4e 61 76 69 67 61 74 | .sh.QueryInterface(nsIWebNavigat |
33d20 | 69 6f 6e 29 3b 0a 20 20 7d 20 63 61 74 63 68 20 28 65 29 20 7b 0a 20 20 7d 0a 0a 20 20 74 72 79 | ion);...}.catch.(e).{...}....try |
33d40 | 20 7b 0a 20 20 20 20 77 65 62 4e 61 76 2e 72 65 6c 6f 61 64 28 72 65 6c 6f 61 64 46 6c 61 67 73 | .{.....webNav.reload(reloadFlags |
33d60 | 29 3b 0a 20 20 7d 20 63 61 74 63 68 20 28 65 29 20 7b 0a 20 20 7d 0a 7d 0a 0a 66 75 6e 63 74 69 | );...}.catch.(e).{...}.}..functi |
33d80 | 6f 6e 20 74 6f 67 67 6c 65 41 66 66 65 63 74 65 64 43 68 72 6f 6d 65 28 61 48 69 64 65 29 0a 7b | on.toggleAffectedChrome(aHide).{ |
33da0 | 0a 20 20 2f 2f 20 63 68 72 6f 6d 65 20 74 6f 20 74 6f 67 67 6c 65 20 69 6e 63 6c 75 64 65 73 3a | ...//.chrome.to.toggle.includes: |
33dc0 | 0a 20 20 2f 2f 20 20 20 28 2a 29 20 6d 65 6e 75 62 61 72 0a 20 20 2f 2f 20 20 20 28 2a 29 20 6e | ...//...(*).menubar...//...(*).n |
33de0 | 61 76 69 67 61 74 69 6f 6e 20 62 61 72 0a 20 20 2f 2f 20 20 20 28 2a 29 20 62 6f 6f 6b 6d 61 72 | avigation.bar...//...(*).bookmar |
33e00 | 6b 73 20 74 6f 6f 6c 62 61 72 0a 20 20 2f 2f 20 20 20 28 2a 29 20 74 61 62 73 74 72 69 70 0a 20 | ks.toolbar...//...(*).tabstrip.. |
33e20 | 20 2f 2f 20 20 20 28 2a 29 20 62 72 6f 77 73 65 72 20 6d 65 73 73 61 67 65 73 0a 20 20 2f 2f 20 | .//...(*).browser.messages...//. |
33e40 | 20 20 28 2a 29 20 73 69 64 65 62 61 72 0a 20 20 2f 2f 20 20 20 28 2a 29 20 66 69 6e 64 20 62 61 | ..(*).sidebar...//...(*).find.ba |
33e60 | 72 0a 20 20 2f 2f 20 20 20 28 2a 29 20 73 74 61 74 75 73 62 61 72 0a 0a 20 20 67 4e 61 76 54 6f | r...//...(*).statusbar....gNavTo |
33e80 | 6f 6c 62 6f 78 2e 68 69 64 64 65 6e 20 3d 20 61 48 69 64 65 3b 0a 20 20 69 66 20 28 61 48 69 64 | olbox.hidden.=.aHide;...if.(aHid |
33ea0 | 65 29 0a 20 20 7b 0a 20 20 20 20 67 43 68 72 6f 6d 65 53 74 61 74 65 20 3d 20 7b 7d 3b 0a 20 20 | e)...{.....gChromeState.=.{};... |
33ec0 | 20 20 76 61 72 20 73 69 64 65 62 61 72 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d | ..var.sidebar.=.document.getElem |
33ee0 | 65 6e 74 42 79 49 64 28 22 73 69 64 65 62 61 72 2d 62 6f 78 22 29 3b 0a 20 20 20 20 67 43 68 72 | entById("sidebar-box");.....gChr |
33f00 | 6f 6d 65 53 74 61 74 65 2e 73 69 64 65 62 61 72 4f 70 65 6e 20 3d 20 21 73 69 64 65 62 61 72 2e | omeState.sidebarOpen.=.!sidebar. |
33f20 | 68 69 64 64 65 6e 3b 0a 20 20 20 20 67 53 69 64 65 62 61 72 43 6f 6d 6d 61 6e 64 20 3d 20 73 69 | hidden;.....gSidebarCommand.=.si |
33f40 | 64 65 62 61 72 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 73 69 64 65 62 61 72 63 6f 6d 6d 61 | debar.getAttribute("sidebarcomma |
33f60 | 6e 64 22 29 3b 0a 0a 20 20 20 20 67 43 68 72 6f 6d 65 53 74 61 74 65 2e 68 61 64 54 61 62 53 74 | nd");......gChromeState.hadTabSt |
33f80 | 72 69 70 20 3d 20 67 42 72 6f 77 73 65 72 2e 67 65 74 53 74 72 69 70 56 69 73 69 62 69 6c 69 74 | rip.=.gBrowser.getStripVisibilit |
33fa0 | 79 28 29 3b 0a 20 20 20 20 67 42 72 6f 77 73 65 72 2e 73 65 74 53 74 72 69 70 56 69 73 69 62 69 | y();.....gBrowser.setStripVisibi |
33fc0 | 6c 69 74 79 54 6f 28 66 61 6c 73 65 29 3b 0a 0a 20 20 20 20 76 61 72 20 6e 6f 74 69 66 69 63 61 | lityTo(false);......var.notifica |
33fe0 | 74 69 6f 6e 42 6f 78 20 3d 20 67 42 72 6f 77 73 65 72 2e 67 65 74 4e 6f 74 69 66 69 63 61 74 69 | tionBox.=.gBrowser.getNotificati |
34000 | 6f 6e 42 6f 78 28 29 3b 0a 20 20 20 20 67 43 68 72 6f 6d 65 53 74 61 74 65 2e 6e 6f 74 69 66 69 | onBox();.....gChromeState.notifi |
34020 | 63 61 74 69 6f 6e 73 4f 70 65 6e 20 3d 20 21 6e 6f 74 69 66 69 63 61 74 69 6f 6e 42 6f 78 2e 6e | cationsOpen.=.!notificationBox.n |
34040 | 6f 74 69 66 69 63 61 74 69 6f 6e 73 48 69 64 64 65 6e 3b 0a 20 20 20 20 6e 6f 74 69 66 69 63 61 | otificationsHidden;.....notifica |
34060 | 74 69 6f 6e 42 6f 78 2e 6e 6f 74 69 66 69 63 61 74 69 6f 6e 73 48 69 64 64 65 6e 20 3d 20 61 48 | tionBox.notificationsHidden.=.aH |
34080 | 69 64 65 3b 0a 0a 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 | ide;......document.getElementByI |
340a0 | 64 28 22 73 69 64 65 62 61 72 22 29 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 73 72 63 22 2c | d("sidebar").setAttribute("src", |
340c0 | 20 22 61 62 6f 75 74 3a 62 6c 61 6e 6b 22 29 3b 0a 20 20 20 20 76 61 72 20 73 74 61 74 75 73 62 | ."about:blank");.....var.statusb |
340e0 | 61 72 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 73 74 | ar.=.document.getElementById("st |
34100 | 61 74 75 73 2d 62 61 72 22 29 3b 0a 20 20 20 20 67 43 68 72 6f 6d 65 53 74 61 74 65 2e 73 74 61 | atus-bar");.....gChromeState.sta |
34120 | 74 75 73 62 61 72 4f 70 65 6e 20 3d 20 21 73 74 61 74 75 73 62 61 72 2e 68 69 64 64 65 6e 3b 0a | tusbarOpen.=.!statusbar.hidden;. |
34140 | 20 20 20 20 73 74 61 74 75 73 62 61 72 2e 68 69 64 64 65 6e 20 3d 20 61 48 69 64 65 3b 0a 0a 20 | ....statusbar.hidden.=.aHide;... |
34160 | 20 20 20 67 43 68 72 6f 6d 65 53 74 61 74 65 2e 66 69 6e 64 4f 70 65 6e 20 3d 20 21 67 46 69 6e | ...gChromeState.findOpen.=.!gFin |
34180 | 64 42 61 72 2e 68 69 64 64 65 6e 3b 0a 20 20 20 20 67 46 69 6e 64 42 61 72 2e 63 6c 6f 73 65 28 | dBar.hidden;.....gFindBar.close( |
341a0 | 29 3b 0a 20 20 7d 0a 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 69 66 20 28 67 43 68 72 6f 6d 65 53 | );...}...else.{.....if.(gChromeS |
341c0 | 74 61 74 65 2e 68 61 64 54 61 62 53 74 72 69 70 29 20 7b 0a 20 20 20 20 20 20 67 42 72 6f 77 73 | tate.hadTabStrip).{.......gBrows |
341e0 | 65 72 2e 73 65 74 53 74 72 69 70 56 69 73 69 62 69 6c 69 74 79 54 6f 28 74 72 75 65 29 3b 0a 20 | er.setStripVisibilityTo(true);.. |
34200 | 20 20 20 7d 0a 0a 20 20 20 20 69 66 20 28 67 43 68 72 6f 6d 65 53 74 61 74 65 2e 6e 6f 74 69 66 | ...}......if.(gChromeState.notif |
34220 | 69 63 61 74 69 6f 6e 73 4f 70 65 6e 29 20 7b 0a 20 20 20 20 20 20 67 42 72 6f 77 73 65 72 2e 67 | icationsOpen).{.......gBrowser.g |
34240 | 65 74 4e 6f 74 69 66 69 63 61 74 69 6f 6e 42 6f 78 28 29 2e 6e 6f 74 69 66 69 63 61 74 69 6f 6e | etNotificationBox().notification |
34260 | 73 48 69 64 64 65 6e 20 3d 20 61 48 69 64 65 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 69 66 20 28 | sHidden.=.aHide;.....}......if.( |
34280 | 67 43 68 72 6f 6d 65 53 74 61 74 65 2e 73 74 61 74 75 73 62 61 72 4f 70 65 6e 29 20 7b 0a 20 20 | gChromeState.statusbarOpen).{... |
342a0 | 20 20 20 20 76 61 72 20 73 74 61 74 75 73 62 61 72 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 | ....var.statusbar.=.document.get |
342c0 | 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 73 74 61 74 75 73 2d 62 61 72 22 29 3b 0a 20 20 20 20 20 | ElementById("status-bar");...... |
342e0 | 20 73 74 61 74 75 73 62 61 72 2e 68 69 64 64 65 6e 20 3d 20 61 48 69 64 65 3b 0a 20 20 20 20 7d | .statusbar.hidden.=.aHide;.....} |
34300 | 0a 0a 20 20 20 20 69 66 20 28 67 43 68 72 6f 6d 65 53 74 61 74 65 2e 66 69 6e 64 4f 70 65 6e 29 | ......if.(gChromeState.findOpen) |
34320 | 0a 20 20 20 20 20 20 67 46 69 6e 64 42 61 72 2e 6f 70 65 6e 28 29 3b 0a 20 20 7d 0a 0a 20 20 69 | .......gFindBar.open();...}....i |
34340 | 66 20 28 67 43 68 72 6f 6d 65 53 74 61 74 65 2e 73 69 64 65 62 61 72 4f 70 65 6e 29 0a 20 20 20 | f.(gChromeState.sidebarOpen).... |
34360 | 20 74 6f 67 67 6c 65 53 69 64 65 62 61 72 28 67 53 69 64 65 62 61 72 43 6f 6d 6d 61 6e 64 29 3b | .toggleSidebar(gSidebarCommand); |
34380 | 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 6f 6e 45 6e 74 65 72 50 72 69 6e 74 50 72 65 76 69 65 77 | .}..function.onEnterPrintPreview |
343a0 | 28 29 0a 7b 0a 20 20 67 49 6e 50 72 69 6e 74 50 72 65 76 69 65 77 4d 6f 64 65 20 3d 20 74 72 75 | ().{...gInPrintPreviewMode.=.tru |
343c0 | 65 3b 0a 20 20 74 6f 67 67 6c 65 41 66 66 65 63 74 65 64 43 68 72 6f 6d 65 28 74 72 75 65 29 3b | e;...toggleAffectedChrome(true); |
343e0 | 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 6f 6e 45 78 69 74 50 72 69 6e 74 50 72 65 76 69 65 77 28 | .}..function.onExitPrintPreview( |
34400 | 29 0a 7b 0a 20 20 2f 2f 20 72 65 73 74 6f 72 65 20 63 68 72 6f 6d 65 20 74 6f 20 6f 72 69 67 69 | ).{...//.restore.chrome.to.origi |
34420 | 6e 61 6c 20 73 74 61 74 65 0a 20 20 67 49 6e 50 72 69 6e 74 50 72 65 76 69 65 77 4d 6f 64 65 20 | nal.state...gInPrintPreviewMode. |
34440 | 3d 20 66 61 6c 73 65 3b 0a 20 20 46 75 6c 6c 5a 6f 6f 6d 2e 73 65 74 53 65 74 74 69 6e 67 56 61 | =.false;...FullZoom.setSettingVa |
34460 | 6c 75 65 28 29 3b 0a 20 20 74 6f 67 67 6c 65 41 66 66 65 63 74 65 64 43 68 72 6f 6d 65 28 66 61 | lue();...toggleAffectedChrome(fa |
34480 | 6c 73 65 29 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 67 65 74 50 50 42 72 6f 77 73 65 72 28 29 | lse);.}..function.getPPBrowser() |
344a0 | 0a 7b 0a 20 20 72 65 74 75 72 6e 20 67 42 72 6f 77 73 65 72 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f | .{...return.gBrowser;.}..functio |
344c0 | 6e 20 67 65 74 4d 61 72 6b 75 70 44 6f 63 75 6d 65 6e 74 56 69 65 77 65 72 28 29 0a 7b 0a 20 20 | n.getMarkupDocumentViewer().{... |
344e0 | 72 65 74 75 72 6e 20 67 42 72 6f 77 73 65 72 2e 6d 61 72 6b 75 70 44 6f 63 75 6d 65 6e 74 56 69 | return.gBrowser.markupDocumentVi |
34500 | 65 77 65 72 3b 0a 7d 0a 0a 2f 2a 2a 0a 20 2a 20 43 6f 6e 74 65 6e 74 20 61 72 65 61 20 74 6f 6f | ewer;.}../**..*.Content.area.too |
34520 | 6c 74 69 70 2e 0a 20 2a 20 58 58 58 20 2d 20 74 68 69 73 20 6d 75 73 74 20 6d 6f 76 65 20 69 6e | ltip...*.XXX.-.this.must.move.in |
34540 | 74 6f 20 58 42 4c 20 62 69 6e 64 69 6e 67 2f 65 71 75 69 76 21 20 44 6f 20 6e 6f 74 20 77 61 6e | to.XBL.binding/equiv!.Do.not.wan |
34560 | 74 20 74 6f 20 70 6f 6c 6c 75 74 65 0a 20 2a 20 20 20 20 20 20 20 62 72 6f 77 73 65 72 2e 6a 73 | t.to.pollute..*.......browser.js |
34580 | 20 77 69 74 68 20 66 75 6e 63 74 69 6f 6e 61 6c 69 74 79 20 74 68 61 74 20 63 61 6e 20 62 65 20 | .with.functionality.that.can.be. |
345a0 | 65 6e 63 61 70 73 75 6c 61 74 65 64 20 69 6e 74 6f 0a 20 2a 20 20 20 20 20 20 20 62 72 6f 77 73 | encapsulated.into..*.......brows |
345c0 | 65 72 20 77 69 64 67 65 74 2e 20 54 45 4d 50 4f 52 41 52 59 21 0a 20 2a 0a 20 2a 20 4e 4f 54 45 | er.widget..TEMPORARY!..*..*.NOTE |
345e0 | 3a 20 41 6e 79 20 63 68 61 6e 67 65 73 20 74 6f 20 74 68 69 73 20 72 6f 75 74 69 6e 65 20 6e 65 | :.Any.changes.to.this.routine.ne |
34600 | 65 64 20 74 6f 20 62 65 20 6d 69 72 72 6f 72 65 64 20 69 6e 20 43 68 72 6f 6d 65 4c 69 73 74 65 | ed.to.be.mirrored.in.ChromeListe |
34620 | 6e 65 72 3a 3a 46 69 6e 64 54 69 74 6c 65 54 65 78 74 28 29 0a 20 2a 20 20 20 20 20 20 20 28 6c | ner::FindTitleText()..*.......(l |
34640 | 6f 63 61 74 65 64 20 69 6e 20 6d 6f 7a 69 6c 6c 61 2f 65 6d 62 65 64 64 69 6e 67 2f 62 72 6f 77 | ocated.in.mozilla/embedding/brow |
34660 | 73 65 72 2f 77 65 62 42 72 6f 77 73 65 72 2f 6e 73 44 6f 63 53 68 65 6c 6c 54 72 65 65 4f 77 6e | ser/webBrowser/nsDocShellTreeOwn |
34680 | 65 72 2e 63 70 70 29 0a 20 2a 20 20 20 20 20 20 20 77 68 69 63 68 20 70 65 72 66 6f 72 6d 73 20 | er.cpp)..*.......which.performs. |
346a0 | 74 68 65 20 73 61 6d 65 20 66 75 6e 63 74 69 6f 6e 2c 20 62 75 74 20 66 6f 72 20 65 6d 62 65 64 | the.same.function,.but.for.embed |
346c0 | 64 65 64 20 63 6c 69 65 6e 74 73 20 74 68 61 74 0a 20 2a 20 20 20 20 20 20 20 64 6f 6e 27 74 20 | ded.clients.that..*.......don't. |
346e0 | 75 73 65 20 61 20 58 55 4c 2f 4a 53 20 6c 61 79 65 72 2e 20 49 74 20 69 73 20 69 6d 70 6f 72 74 | use.a.XUL/JS.layer..It.is.import |
34700 | 61 6e 74 20 74 68 61 74 20 74 68 65 20 6c 6f 67 69 63 20 6f 66 0a 20 2a 20 20 20 20 20 20 20 74 | ant.that.the.logic.of..*.......t |
34720 | 68 65 73 65 20 74 77 6f 20 72 6f 75 74 69 6e 65 73 20 62 65 20 6b 65 70 74 20 6d 6f 72 65 20 6f | hese.two.routines.be.kept.more.o |
34740 | 72 20 6c 65 73 73 20 69 6e 20 73 79 6e 63 2e 0a 20 2a 20 20 20 20 20 20 20 28 70 69 6e 6b 65 72 | r.less.in.sync...*.......(pinker |
34760 | 74 6f 6e 29 0a 20 2a 2a 2f 0a 66 75 6e 63 74 69 6f 6e 20 46 69 6c 6c 49 6e 48 54 4d 4c 54 6f 6f | ton)..**/.function.FillInHTMLToo |
34780 | 6c 74 69 70 28 74 69 70 45 6c 65 6d 65 6e 74 29 0a 7b 0a 20 20 76 61 72 20 72 65 74 56 61 6c 20 | ltip(tipElement).{...var.retVal. |
347a0 | 3d 20 66 61 6c 73 65 3b 0a 20 20 69 66 20 28 74 69 70 45 6c 65 6d 65 6e 74 2e 6e 61 6d 65 73 70 | =.false;...if.(tipElement.namesp |
347c0 | 61 63 65 55 52 49 20 3d 3d 20 22 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 | aceURI.==."http://www.mozilla.or |
347e0 | 67 2f 6b 65 79 6d 61 73 74 65 72 2f 67 61 74 65 6b 65 65 70 65 72 2f 74 68 65 72 65 2e 69 73 2e | g/keymaster/gatekeeper/there.is. |
34800 | 6f 6e 6c 79 2e 78 75 6c 22 29 0a 20 20 20 20 72 65 74 75 72 6e 20 72 65 74 56 61 6c 3b 0a 0a 20 | only.xul").....return.retVal;... |
34820 | 20 63 6f 6e 73 74 20 58 4c 69 6e 6b 4e 53 20 3d 20 22 68 74 74 70 3a 2f 2f 77 77 77 2e 77 33 2e | .const.XLinkNS.=."http://www.w3. |
34840 | 6f 72 67 2f 31 39 39 39 2f 78 6c 69 6e 6b 22 3b 0a 0a 0a 20 20 76 61 72 20 74 69 74 6c 65 54 65 | org/1999/xlink";.....var.titleTe |
34860 | 78 74 20 3d 20 6e 75 6c 6c 3b 0a 20 20 76 61 72 20 58 4c 69 6e 6b 54 69 74 6c 65 54 65 78 74 20 | xt.=.null;...var.XLinkTitleText. |
34880 | 3d 20 6e 75 6c 6c 3b 0a 20 20 76 61 72 20 64 69 72 65 63 74 69 6f 6e 20 3d 20 74 69 70 45 6c 65 | =.null;...var.direction.=.tipEle |
348a0 | 6d 65 6e 74 2e 6f 77 6e 65 72 44 6f 63 75 6d 65 6e 74 2e 64 69 72 3b 0a 0a 20 20 77 68 69 6c 65 | ment.ownerDocument.dir;....while |
348c0 | 20 28 21 74 69 74 6c 65 54 65 78 74 20 26 26 20 21 58 4c 69 6e 6b 54 69 74 6c 65 54 65 78 74 20 | .(!titleText.&&.!XLinkTitleText. |
348e0 | 26 26 20 74 69 70 45 6c 65 6d 65 6e 74 29 20 7b 0a 20 20 20 20 69 66 20 28 74 69 70 45 6c 65 6d | &&.tipElement).{.....if.(tipElem |
34900 | 65 6e 74 2e 6e 6f 64 65 54 79 70 65 20 3d 3d 20 4e 6f 64 65 2e 45 4c 45 4d 45 4e 54 5f 4e 4f 44 | ent.nodeType.==.Node.ELEMENT_NOD |
34920 | 45 29 20 7b 0a 20 20 20 20 20 20 74 69 74 6c 65 54 65 78 74 20 3d 20 74 69 70 45 6c 65 6d 65 6e | E).{.......titleText.=.tipElemen |
34940 | 74 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 74 69 74 6c 65 22 29 3b 0a 20 20 20 20 20 20 58 | t.getAttribute("title");.......X |
34960 | 4c 69 6e 6b 54 69 74 6c 65 54 65 78 74 20 3d 20 74 69 70 45 6c 65 6d 65 6e 74 2e 67 65 74 41 74 | LinkTitleText.=.tipElement.getAt |
34980 | 74 72 69 62 75 74 65 4e 53 28 58 4c 69 6e 6b 4e 53 2c 20 22 74 69 74 6c 65 22 29 3b 0a 20 20 20 | tributeNS(XLinkNS,."title");.... |
349a0 | 20 20 20 76 61 72 20 64 65 66 56 69 65 77 20 3d 20 74 69 70 45 6c 65 6d 65 6e 74 2e 6f 77 6e 65 | ...var.defView.=.tipElement.owne |
349c0 | 72 44 6f 63 75 6d 65 6e 74 2e 64 65 66 61 75 6c 74 56 69 65 77 3b 0a 20 20 20 20 20 20 2f 2f 20 | rDocument.defaultView;.......//. |
349e0 | 58 58 58 20 57 6f 72 6b 20 61 72 6f 75 6e 64 20 62 75 67 20 33 35 30 36 37 39 3a 0a 20 20 20 20 | XXX.Work.around.bug.350679:..... |
34a00 | 20 20 2f 2f 20 22 54 6f 6f 6c 74 69 70 73 20 63 61 6e 20 62 65 20 66 69 72 65 64 20 69 6e 20 64 | ..//."Tooltips.can.be.fired.in.d |
34a20 | 6f 63 75 6d 65 6e 74 73 20 77 69 74 68 20 6e 6f 20 76 69 65 77 22 2e 0a 20 20 20 20 20 20 69 66 | ocuments.with.no.view"........if |
34a40 | 20 28 21 64 65 66 56 69 65 77 29 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 72 65 74 56 61 | .(!defView).........return.retVa |
34a60 | 6c 3b 0a 20 20 20 20 20 20 64 69 72 65 63 74 69 6f 6e 20 3d 20 64 65 66 56 69 65 77 2e 67 65 74 | l;.......direction.=.defView.get |
34a80 | 43 6f 6d 70 75 74 65 64 53 74 79 6c 65 28 74 69 70 45 6c 65 6d 65 6e 74 2c 20 22 22 29 0a 20 20 | ComputedStyle(tipElement,."")... |
34aa0 | 20 20 20 20 20 20 2e 67 65 74 50 72 6f 70 65 72 74 79 56 61 6c 75 65 28 22 64 69 72 65 63 74 69 | .......getPropertyValue("directi |
34ac0 | 6f 6e 22 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 74 69 70 45 6c 65 6d 65 6e 74 20 3d 20 74 69 70 | on");.....}.....tipElement.=.tip |
34ae0 | 45 6c 65 6d 65 6e 74 2e 70 61 72 65 6e 74 4e 6f 64 65 3b 0a 20 20 7d 0a 0a 20 20 76 61 72 20 74 | Element.parentNode;...}....var.t |
34b00 | 69 70 4e 6f 64 65 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 | ipNode.=.document.getElementById |
34b20 | 28 22 61 48 54 4d 4c 54 6f 6f 6c 74 69 70 22 29 3b 0a 20 20 74 69 70 4e 6f 64 65 2e 73 74 79 6c | ("aHTMLTooltip");...tipNode.styl |
34b40 | 65 2e 64 69 72 65 63 74 69 6f 6e 20 3d 20 64 69 72 65 63 74 69 6f 6e 3b 0a 20 20 0a 20 20 66 6f | e.direction.=.direction;......fo |
34b60 | 72 20 65 61 63 68 20 28 76 61 72 20 74 20 69 6e 20 5b 74 69 74 6c 65 54 65 78 74 2c 20 58 4c 69 | r.each.(var.t.in.[titleText,.XLi |
34b80 | 6e 6b 54 69 74 6c 65 54 65 78 74 5d 29 20 7b 0a 20 20 20 20 69 66 20 28 74 20 26 26 20 2f 5c 53 | nkTitleText]).{.....if.(t.&&./\S |
34ba0 | 2f 2e 74 65 73 74 28 74 29 29 20 7b 0a 0a 20 20 20 20 20 20 2f 2f 20 50 65 72 20 48 54 4d 4c 20 | /.test(t)).{........//.Per.HTML. |
34bc0 | 34 2e 30 31 20 36 2e 32 20 28 43 44 41 54 41 20 73 65 63 74 69 6f 6e 29 2c 20 6c 69 74 65 72 61 | 4.01.6.2.(CDATA.section),.litera |
34be0 | 6c 20 43 52 73 20 61 6e 64 20 74 61 62 73 20 73 68 6f 75 6c 64 20 62 65 0a 20 20 20 20 20 20 2f | l.CRs.and.tabs.should.be......./ |
34c00 | 2f 20 72 65 70 6c 61 63 65 64 20 77 69 74 68 20 73 70 61 63 65 73 2c 20 61 6e 64 20 4c 46 73 20 | /.replaced.with.spaces,.and.LFs. |
34c20 | 73 68 6f 75 6c 64 20 62 65 20 72 65 6d 6f 76 65 64 20 65 6e 74 69 72 65 6c 79 2e 0a 20 20 20 20 | should.be.removed.entirely...... |
34c40 | 20 20 2f 2f 20 58 58 58 20 42 75 67 20 33 32 32 32 37 30 3a 20 57 65 20 64 6f 6e 27 74 20 70 72 | ..//.XXX.Bug.322270:.We.don't.pr |
34c60 | 65 73 65 72 76 65 20 74 68 65 20 72 65 73 75 6c 74 20 6f 66 20 65 6e 74 69 74 69 65 73 20 6c 69 | eserve.the.result.of.entities.li |
34c80 | 6b 65 20 26 23 31 33 3b 2c 0a 20 20 20 20 20 20 2f 2f 20 77 68 69 63 68 20 73 68 6f 75 6c 64 20 | ke. ,.......//.which.should. |
34ca0 | 72 65 73 75 6c 74 20 69 6e 20 61 20 6c 69 6e 65 20 62 72 65 61 6b 20 69 6e 20 74 68 65 20 74 6f | result.in.a.line.break.in.the.to |
34cc0 | 6f 6c 74 69 70 2c 20 62 65 63 61 75 73 65 20 77 65 20 63 61 6e 27 74 0a 20 20 20 20 20 20 2f 2f | oltip,.because.we.can't.......// |
34ce0 | 20 64 69 73 74 69 6e 67 75 69 73 68 20 74 68 61 74 20 66 72 6f 6d 20 61 20 6c 69 74 65 72 61 6c | .distinguish.that.from.a.literal |
34d00 | 20 63 68 61 72 61 63 74 65 72 20 69 6e 20 74 68 65 20 73 6f 75 72 63 65 20 62 79 20 74 68 69 73 | .character.in.the.source.by.this |
34d20 | 20 70 6f 69 6e 74 2e 0a 20 20 20 20 20 20 74 20 3d 20 74 2e 72 65 70 6c 61 63 65 28 2f 5b 5c 72 | .point........t.=.t.replace(/[\r |
34d40 | 5c 74 5d 2f 67 2c 20 27 20 27 29 3b 0a 20 20 20 20 20 20 74 20 3d 20 74 2e 72 65 70 6c 61 63 65 | \t]/g,.'.');.......t.=.t.replace |
34d60 | 28 2f 5c 6e 2f 67 2c 20 27 27 29 3b 0a 0a 20 20 20 20 20 20 74 69 70 4e 6f 64 65 2e 73 65 74 41 | (/\n/g,.'');........tipNode.setA |
34d80 | 74 74 72 69 62 75 74 65 28 22 6c 61 62 65 6c 22 2c 20 74 29 3b 0a 20 20 20 20 20 20 72 65 74 56 | ttribute("label",.t);.......retV |
34da0 | 61 6c 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 7d 0a 20 20 7d 0a 0a 20 20 72 65 74 75 72 6e 20 72 | al.=.true;.....}...}....return.r |
34dc0 | 65 74 56 61 6c 3b 0a 7d 0a 0a 76 61 72 20 70 72 6f 78 79 49 63 6f 6e 44 4e 44 4f 62 73 65 72 76 | etVal;.}..var.proxyIconDNDObserv |
34de0 | 65 72 20 3d 20 7b 0a 20 20 6f 6e 44 72 61 67 53 74 61 72 74 3a 20 66 75 6e 63 74 69 6f 6e 20 28 | er.=.{...onDragStart:.function.( |
34e00 | 61 45 76 65 6e 74 2c 20 61 58 66 65 72 44 61 74 61 2c 20 61 44 72 61 67 41 63 74 69 6f 6e 29 0a | aEvent,.aXferData,.aDragAction). |
34e20 | 20 20 20 20 7b 0a 20 20 20 20 20 20 76 61 72 20 76 61 6c 75 65 20 3d 20 63 6f 6e 74 65 6e 74 2e | ....{.......var.value.=.content. |
34e40 | 6c 6f 63 61 74 69 6f 6e 2e 68 72 65 66 3b 0a 20 20 20 20 20 20 76 61 72 20 75 72 6c 53 74 72 69 | location.href;.......var.urlStri |
34e60 | 6e 67 20 3d 20 76 61 6c 75 65 20 2b 20 22 5c 6e 22 20 2b 20 63 6f 6e 74 65 6e 74 2e 64 6f 63 75 | ng.=.value.+."\n".+.content.docu |
34e80 | 6d 65 6e 74 2e 74 69 74 6c 65 3b 0a 20 20 20 20 20 20 76 61 72 20 68 74 6d 6c 53 74 72 69 6e 67 | ment.title;.......var.htmlString |
34ea0 | 20 3d 20 22 3c 61 20 68 72 65 66 3d 5c 22 22 20 2b 20 76 61 6c 75 65 20 2b 20 22 5c 22 3e 22 20 | .=."<a.href=\"".+.value.+."\">". |
34ec0 | 2b 20 76 61 6c 75 65 20 2b 20 22 3c 2f 61 3e 22 3b 0a 0a 20 20 20 20 20 20 61 58 66 65 72 44 61 | +.value.+."</a>";........aXferDa |
34ee0 | 74 61 2e 64 61 74 61 20 3d 20 6e 65 77 20 54 72 61 6e 73 66 65 72 44 61 74 61 28 29 3b 0a 20 20 | ta.data.=.new.TransferData();... |
34f00 | 20 20 20 20 61 58 66 65 72 44 61 74 61 2e 64 61 74 61 2e 61 64 64 44 61 74 61 46 6f 72 46 6c 61 | ....aXferData.data.addDataForFla |
34f20 | 76 6f 75 72 28 22 74 65 78 74 2f 78 2d 6d 6f 7a 2d 75 72 6c 22 2c 20 75 72 6c 53 74 72 69 6e 67 | vour("text/x-moz-url",.urlString |
34f40 | 29 3b 0a 20 20 20 20 20 20 61 58 66 65 72 44 61 74 61 2e 64 61 74 61 2e 61 64 64 44 61 74 61 46 | );.......aXferData.data.addDataF |
34f60 | 6f 72 46 6c 61 76 6f 75 72 28 22 74 65 78 74 2f 75 6e 69 63 6f 64 65 22 2c 20 76 61 6c 75 65 29 | orFlavour("text/unicode",.value) |
34f80 | 3b 0a 20 20 20 20 20 20 61 58 66 65 72 44 61 74 61 2e 64 61 74 61 2e 61 64 64 44 61 74 61 46 6f | ;.......aXferData.data.addDataFo |
34fa0 | 72 46 6c 61 76 6f 75 72 28 22 74 65 78 74 2f 68 74 6d 6c 22 2c 20 68 74 6d 6c 53 74 72 69 6e 67 | rFlavour("text/html",.htmlString |
34fc0 | 29 3b 0a 0a 20 20 20 20 20 20 2f 2f 20 77 65 27 72 65 20 63 6f 70 79 69 6e 67 20 74 68 65 20 55 | );........//.we're.copying.the.U |
34fe0 | 52 4c 20 66 72 6f 6d 20 74 68 65 20 70 72 6f 78 79 20 69 63 6f 6e 2c 20 6e 6f 74 20 6d 6f 76 69 | RL.from.the.proxy.icon,.not.movi |
35000 | 6e 67 0a 20 20 20 20 20 20 2f 2f 20 77 65 20 73 70 65 63 69 66 79 20 61 6c 6c 20 6f 66 20 74 68 | ng.......//.we.specify.all.of.th |
35020 | 65 6d 20 74 68 6f 75 67 68 2c 20 62 65 63 61 75 73 65 20 64 26 64 20 73 75 63 6b 73 20 61 6e 64 | em.though,.because.d&d.sucks.and |
35040 | 20 4f 53 27 73 0a 20 20 20 20 20 20 2f 2f 20 67 65 74 20 63 6f 6e 66 75 73 65 64 20 69 66 20 74 | .OS's.......//.get.confused.if.t |
35060 | 68 65 79 20 64 6f 6e 27 74 20 67 65 74 20 74 68 65 20 6f 6e 65 20 74 68 65 79 20 77 61 6e 74 0a | hey.don't.get.the.one.they.want. |
35080 | 20 20 20 20 20 20 61 44 72 61 67 41 63 74 69 6f 6e 2e 61 63 74 69 6f 6e 20 3d 0a 20 20 20 20 20 | ......aDragAction.action.=...... |
350a0 | 20 20 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 44 72 61 67 | ...Components.interfaces.nsIDrag |
350c0 | 53 65 72 76 69 63 65 2e 44 52 41 47 44 52 4f 50 5f 41 43 54 49 4f 4e 5f 43 4f 50 59 20 7c 0a 20 | Service.DRAGDROP_ACTION_COPY.|.. |
350e0 | 20 20 20 20 20 20 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 | .......Components.interfaces.nsI |
35100 | 44 72 61 67 53 65 72 76 69 63 65 2e 44 52 41 47 44 52 4f 50 5f 41 43 54 49 4f 4e 5f 4d 4f 56 45 | DragService.DRAGDROP_ACTION_MOVE |
35120 | 20 7c 0a 20 20 20 20 20 20 20 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 | .|.........Components.interfaces |
35140 | 2e 6e 73 49 44 72 61 67 53 65 72 76 69 63 65 2e 44 52 41 47 44 52 4f 50 5f 41 43 54 49 4f 4e 5f | .nsIDragService.DRAGDROP_ACTION_ |
35160 | 4c 49 4e 4b 3b 0a 20 20 20 20 7d 0a 7d 0a 0a 76 61 72 20 68 6f 6d 65 42 75 74 74 6f 6e 4f 62 73 | LINK;.....}.}..var.homeButtonObs |
35180 | 65 72 76 65 72 20 3d 20 7b 0a 20 20 6f 6e 44 72 6f 70 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 45 | erver.=.{...onDrop:.function.(aE |
351a0 | 76 65 6e 74 2c 20 61 58 66 65 72 44 61 74 61 2c 20 61 44 72 61 67 53 65 73 73 69 6f 6e 29 0a 20 | vent,.aXferData,.aDragSession).. |
351c0 | 20 20 20 7b 0a 20 20 20 20 20 20 76 61 72 20 75 72 6c 20 3d 20 74 72 61 6e 73 66 65 72 55 74 69 | ...{.......var.url.=.transferUti |
351e0 | 6c 73 2e 72 65 74 72 69 65 76 65 55 52 4c 46 72 6f 6d 44 61 74 61 28 61 58 66 65 72 44 61 74 61 | ls.retrieveURLFromData(aXferData |
35200 | 2e 64 61 74 61 2c 20 61 58 66 65 72 44 61 74 61 2e 66 6c 61 76 6f 75 72 2e 63 6f 6e 74 65 6e 74 | .data,.aXferData.flavour.content |
35220 | 54 79 70 65 29 3b 0a 20 20 20 20 20 20 73 65 74 54 69 6d 65 6f 75 74 28 6f 70 65 6e 48 6f 6d 65 | Type);.......setTimeout(openHome |
35240 | 44 69 61 6c 6f 67 2c 20 30 2c 20 75 72 6c 29 3b 0a 20 20 20 20 7d 2c 0a 0a 20 20 6f 6e 44 72 61 | Dialog,.0,.url);.....},....onDra |
35260 | 67 4f 76 65 72 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 45 76 65 6e 74 2c 20 61 46 6c 61 76 6f 75 | gOver:.function.(aEvent,.aFlavou |
35280 | 72 2c 20 61 44 72 61 67 53 65 73 73 69 6f 6e 29 0a 20 20 20 20 7b 0a 20 20 20 20 20 20 76 61 72 | r,.aDragSession).....{.......var |
352a0 | 20 73 74 61 74 75 73 54 65 78 74 46 6c 64 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 | .statusTextFld.=.document.getEle |
352c0 | 6d 65 6e 74 42 79 49 64 28 22 73 74 61 74 75 73 62 61 72 2d 64 69 73 70 6c 61 79 22 29 3b 0a 20 | mentById("statusbar-display");.. |
352e0 | 20 20 20 20 20 73 74 61 74 75 73 54 65 78 74 46 6c 64 2e 6c 61 62 65 6c 20 3d 20 67 4e 61 76 69 | .....statusTextFld.label.=.gNavi |
35300 | 67 61 74 6f 72 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 64 72 6f 70 6f 6e 68 6f 6d | gatorBundle.getString("droponhom |
35320 | 65 62 75 74 74 6f 6e 22 29 3b 0a 20 20 20 20 20 20 61 44 72 61 67 53 65 73 73 69 6f 6e 2e 64 72 | ebutton");.......aDragSession.dr |
35340 | 61 67 41 63 74 69 6f 6e 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 | agAction.=.Components.interfaces |
35360 | 2e 6e 73 49 44 72 61 67 53 65 72 76 69 63 65 2e 44 52 41 47 44 52 4f 50 5f 41 43 54 49 4f 4e 5f | .nsIDragService.DRAGDROP_ACTION_ |
35380 | 4c 49 4e 4b 3b 0a 20 20 20 20 7d 2c 0a 0a 20 20 6f 6e 44 72 61 67 45 78 69 74 3a 20 66 75 6e 63 | LINK;.....},....onDragExit:.func |
353a0 | 74 69 6f 6e 20 28 61 45 76 65 6e 74 2c 20 61 44 72 61 67 53 65 73 73 69 6f 6e 29 0a 20 20 20 20 | tion.(aEvent,.aDragSession)..... |
353c0 | 7b 0a 20 20 20 20 20 20 76 61 72 20 73 74 61 74 75 73 54 65 78 74 46 6c 64 20 3d 20 64 6f 63 75 | {.......var.statusTextFld.=.docu |
353e0 | 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 73 74 61 74 75 73 62 61 72 2d 64 | ment.getElementById("statusbar-d |
35400 | 69 73 70 6c 61 79 22 29 3b 0a 20 20 20 20 20 20 73 74 61 74 75 73 54 65 78 74 46 6c 64 2e 6c 61 | isplay");.......statusTextFld.la |
35420 | 62 65 6c 20 3d 20 22 22 3b 0a 20 20 20 20 7d 2c 0a 0a 20 20 67 65 74 53 75 70 70 6f 72 74 65 64 | bel.=."";.....},....getSupported |
35440 | 46 6c 61 76 6f 75 72 73 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 20 20 7b 0a 20 20 20 20 | Flavours:.function.().....{..... |
35460 | 20 20 76 61 72 20 66 6c 61 76 6f 75 72 53 65 74 20 3d 20 6e 65 77 20 46 6c 61 76 6f 75 72 53 65 | ..var.flavourSet.=.new.FlavourSe |
35480 | 74 28 29 3b 0a 20 20 20 20 20 20 66 6c 61 76 6f 75 72 53 65 74 2e 61 70 70 65 6e 64 46 6c 61 76 | t();.......flavourSet.appendFlav |
354a0 | 6f 75 72 28 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f 78 2d 6d 6f 7a 2d 66 69 6c 65 22 2c 20 22 6e | our("application/x-moz-file",."n |
354c0 | 73 49 46 69 6c 65 22 29 3b 0a 20 20 20 20 20 20 66 6c 61 76 6f 75 72 53 65 74 2e 61 70 70 65 6e | sIFile");.......flavourSet.appen |
354e0 | 64 46 6c 61 76 6f 75 72 28 22 74 65 78 74 2f 78 2d 6d 6f 7a 2d 75 72 6c 22 29 3b 0a 20 20 20 20 | dFlavour("text/x-moz-url");..... |
35500 | 20 20 66 6c 61 76 6f 75 72 53 65 74 2e 61 70 70 65 6e 64 46 6c 61 76 6f 75 72 28 22 74 65 78 74 | ..flavourSet.appendFlavour("text |
35520 | 2f 75 6e 69 63 6f 64 65 22 29 3b 0a 20 20 20 20 20 20 66 6c 61 76 6f 75 72 53 65 74 2e 61 70 70 | /unicode");.......flavourSet.app |
35540 | 65 6e 64 46 6c 61 76 6f 75 72 28 22 74 65 78 74 2f 78 2d 6d 6f 7a 2d 74 65 78 74 2d 69 6e 74 65 | endFlavour("text/x-moz-text-inte |
35560 | 72 6e 61 6c 22 29 3b 20 20 2f 2f 20 66 6f 72 20 74 61 62 73 0a 20 20 20 20 20 20 72 65 74 75 72 | rnal");..//.for.tabs.......retur |
35580 | 6e 20 66 6c 61 76 6f 75 72 53 65 74 3b 0a 20 20 20 20 7d 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 | n.flavourSet;.....}.}..function. |
355a0 | 6f 70 65 6e 48 6f 6d 65 44 69 61 6c 6f 67 28 61 55 52 4c 29 0a 7b 0a 20 20 76 61 72 20 70 72 6f | openHomeDialog(aURL).{...var.pro |
355c0 | 6d 70 74 53 65 72 76 69 63 65 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b | mptService.=.Components.classes[ |
355e0 | 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 65 6d 62 65 64 63 6f 6d 70 2f 70 72 6f 6d 70 74 2d 73 | "@mozilla.org/embedcomp/prompt-s |
35600 | 65 72 76 69 63 65 3b 31 22 5d 2e 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 | ervice;1"].getService(Components |
35620 | 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 50 72 6f 6d 70 74 53 65 72 76 69 63 65 29 3b 0a 20 | .interfaces.nsIPromptService);.. |
35640 | 20 76 61 72 20 70 72 6f 6d 70 74 54 69 74 6c 65 20 3d 20 67 4e 61 76 69 67 61 74 6f 72 42 75 6e | .var.promptTitle.=.gNavigatorBun |
35660 | 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 64 72 6f 70 6f 6e 68 6f 6d 65 74 69 74 6c 65 22 29 | dle.getString("droponhometitle") |
35680 | 3b 0a 20 20 76 61 72 20 70 72 6f 6d 70 74 4d 73 67 20 20 20 3d 20 67 4e 61 76 69 67 61 74 6f 72 | ;...var.promptMsg...=.gNavigator |
356a0 | 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 64 72 6f 70 6f 6e 68 6f 6d 65 6d 73 67 22 | Bundle.getString("droponhomemsg" |
356c0 | 29 3b 0a 20 20 76 61 72 20 70 72 65 73 73 65 64 56 61 6c 20 20 3d 20 70 72 6f 6d 70 74 53 65 72 | );...var.pressedVal..=.promptSer |
356e0 | 76 69 63 65 2e 63 6f 6e 66 69 72 6d 45 78 28 77 69 6e 64 6f 77 2c 20 70 72 6f 6d 70 74 54 69 74 | vice.confirmEx(window,.promptTit |
35700 | 6c 65 2c 20 70 72 6f 6d 70 74 4d 73 67 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | le,.promptMsg,.................. |
35720 | 20 20 20 20 20 20 20 20 20 70 72 6f 6d 70 74 53 65 72 76 69 63 65 2e 53 54 44 5f 59 45 53 5f 4e | .........promptService.STD_YES_N |
35740 | 4f 5f 42 55 54 54 4f 4e 53 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | O_BUTTONS,...................... |
35760 | 20 20 20 20 20 6e 75 6c 6c 2c 20 6e 75 6c 6c 2c 20 6e 75 6c 6c 2c 20 6e 75 6c 6c 2c 20 7b 76 61 | .....null,.null,.null,.null,.{va |
35780 | 6c 75 65 3a 30 7d 29 3b 0a 0a 20 20 69 66 20 28 70 72 65 73 73 65 64 56 61 6c 20 3d 3d 20 30 29 | lue:0});....if.(pressedVal.==.0) |
357a0 | 20 7b 0a 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 76 61 72 20 73 74 72 20 3d 20 43 6f 6d | .{.....try.{.......var.str.=.Com |
357c0 | 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 73 75 | ponents.classes["@mozilla.org/su |
357e0 | 70 70 6f 72 74 73 2d 73 74 72 69 6e 67 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | pports-string;1"]............... |
35800 | 20 20 20 20 20 20 20 20 20 20 20 20 2e 63 72 65 61 74 65 49 6e 73 74 61 6e 63 65 28 43 6f 6d 70 | .............createInstance(Comp |
35820 | 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 53 75 70 70 6f 72 74 73 53 74 72 | onents.interfaces.nsISupportsStr |
35840 | 69 6e 67 29 3b 0a 20 20 20 20 20 20 73 74 72 2e 64 61 74 61 20 3d 20 61 55 52 4c 3b 0a 20 20 20 | ing);.......str.data.=.aURL;.... |
35860 | 20 20 20 67 50 72 65 66 53 65 72 76 69 63 65 2e 73 65 74 43 6f 6d 70 6c 65 78 56 61 6c 75 65 28 | ...gPrefService.setComplexValue( |
35880 | 22 62 72 6f 77 73 65 72 2e 73 74 61 72 74 75 70 2e 68 6f 6d 65 70 61 67 65 22 2c 0a 20 20 20 20 | "browser.startup.homepage",..... |
358a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 43 | ...............................C |
358c0 | 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 53 75 70 70 6f 72 74 73 | omponents.interfaces.nsISupports |
358e0 | 53 74 72 69 6e 67 2c 20 73 74 72 29 3b 0a 20 20 20 20 20 20 76 61 72 20 68 6f 6d 65 42 75 74 74 | String,.str);.......var.homeButt |
35900 | 6f 6e 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 68 6f | on.=.document.getElementById("ho |
35920 | 6d 65 2d 62 75 74 74 6f 6e 22 29 3b 0a 20 20 20 20 20 20 68 6f 6d 65 42 75 74 74 6f 6e 2e 73 65 | me-button");.......homeButton.se |
35940 | 74 41 74 74 72 69 62 75 74 65 28 22 74 6f 6f 6c 74 69 70 74 65 78 74 22 2c 20 61 55 52 4c 29 3b | tAttribute("tooltiptext",.aURL); |
35960 | 0a 20 20 20 20 7d 20 63 61 74 63 68 20 28 65 78 29 20 7b 0a 20 20 20 20 20 20 64 75 6d 70 28 22 | .....}.catch.(ex).{.......dump(" |
35980 | 46 61 69 6c 65 64 20 74 6f 20 73 65 74 20 74 68 65 20 68 6f 6d 65 20 70 61 67 65 2e 5c 6e 22 2b | Failed.to.set.the.home.page.\n"+ |
359a0 | 65 78 2b 22 5c 6e 22 29 3b 0a 20 20 20 20 7d 0a 20 20 7d 0a 7d 0a 0a 76 61 72 20 62 6f 6f 6b 6d | ex+"\n");.....}...}.}..var.bookm |
359c0 | 61 72 6b 73 42 75 74 74 6f 6e 4f 62 73 65 72 76 65 72 20 3d 20 7b 0a 20 20 6f 6e 44 72 6f 70 3a | arksButtonObserver.=.{...onDrop: |
359e0 | 20 66 75 6e 63 74 69 6f 6e 20 28 61 45 76 65 6e 74 2c 20 61 58 66 65 72 44 61 74 61 2c 20 61 44 | .function.(aEvent,.aXferData,.aD |
35a00 | 72 61 67 53 65 73 73 69 6f 6e 29 0a 20 20 7b 0a 20 20 20 20 76 61 72 20 73 70 6c 69 74 20 3d 20 | ragSession)...{.....var.split.=. |
35a20 | 61 58 66 65 72 44 61 74 61 2e 64 61 74 61 2e 73 70 6c 69 74 28 22 5c 6e 22 29 3b 0a 20 20 20 20 | aXferData.data.split("\n");..... |
35a40 | 76 61 72 20 75 72 6c 20 3d 20 73 70 6c 69 74 5b 30 5d 3b 0a 20 20 20 20 69 66 20 28 75 72 6c 20 | var.url.=.split[0];.....if.(url. |
35a60 | 21 3d 20 61 58 66 65 72 44 61 74 61 2e 64 61 74 61 29 20 20 2f 2f 20 64 6f 20 6e 6f 74 68 69 6e | !=.aXferData.data)..//.do.nothin |
35a80 | 67 20 69 66 20 69 74 27 73 20 6e 6f 74 20 61 20 76 61 6c 69 64 20 55 52 4c 0a 20 20 20 20 20 20 | g.if.it's.not.a.valid.URL....... |
35aa0 | 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 73 68 6f 77 4d 69 6e 69 6d 61 6c 41 64 64 42 6f 6f 6b | PlacesUIUtils.showMinimalAddBook |
35ac0 | 6d 61 72 6b 55 49 28 6d 61 6b 65 55 52 49 28 75 72 6c 29 2c 20 73 70 6c 69 74 5b 31 5d 29 3b 0a | markUI(makeURI(url),.split[1]);. |
35ae0 | 20 20 7d 2c 0a 0a 20 20 6f 6e 44 72 61 67 4f 76 65 72 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 45 | ..},....onDragOver:.function.(aE |
35b00 | 76 65 6e 74 2c 20 61 46 6c 61 76 6f 75 72 2c 20 61 44 72 61 67 53 65 73 73 69 6f 6e 29 0a 20 20 | vent,.aFlavour,.aDragSession)... |
35b20 | 7b 0a 20 20 20 20 76 61 72 20 73 74 61 74 75 73 54 65 78 74 46 6c 64 20 3d 20 64 6f 63 75 6d 65 | {.....var.statusTextFld.=.docume |
35b40 | 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 73 74 61 74 75 73 62 61 72 2d 64 69 73 | nt.getElementById("statusbar-dis |
35b60 | 70 6c 61 79 22 29 3b 0a 20 20 20 20 73 74 61 74 75 73 54 65 78 74 46 6c 64 2e 6c 61 62 65 6c 20 | play");.....statusTextFld.label. |
35b80 | 3d 20 67 4e 61 76 69 67 61 74 6f 72 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 64 72 | =.gNavigatorBundle.getString("dr |
35ba0 | 6f 70 6f 6e 62 6f 6f 6b 6d 61 72 6b 73 62 75 74 74 6f 6e 22 29 3b 0a 20 20 20 20 61 44 72 61 67 | oponbookmarksbutton");.....aDrag |
35bc0 | 53 65 73 73 69 6f 6e 2e 64 72 61 67 41 63 74 69 6f 6e 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e | Session.dragAction.=.Components. |
35be0 | 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 44 72 61 67 53 65 72 76 69 63 65 2e 44 52 41 47 44 52 | interfaces.nsIDragService.DRAGDR |
35c00 | 4f 50 5f 41 43 54 49 4f 4e 5f 4c 49 4e 4b 3b 0a 20 20 7d 2c 0a 0a 20 20 6f 6e 44 72 61 67 45 78 | OP_ACTION_LINK;...},....onDragEx |
35c20 | 69 74 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 45 76 65 6e 74 2c 20 61 44 72 61 67 53 65 73 73 69 | it:.function.(aEvent,.aDragSessi |
35c40 | 6f 6e 29 0a 20 20 7b 0a 20 20 20 20 76 61 72 20 73 74 61 74 75 73 54 65 78 74 46 6c 64 20 3d 20 | on)...{.....var.statusTextFld.=. |
35c60 | 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 73 74 61 74 75 73 62 | document.getElementById("statusb |
35c80 | 61 72 2d 64 69 73 70 6c 61 79 22 29 3b 0a 20 20 20 20 73 74 61 74 75 73 54 65 78 74 46 6c 64 2e | ar-display");.....statusTextFld. |
35ca0 | 6c 61 62 65 6c 20 3d 20 22 22 3b 0a 20 20 7d 2c 0a 0a 20 20 67 65 74 53 75 70 70 6f 72 74 65 64 | label.=."";...},....getSupported |
35cc0 | 46 6c 61 76 6f 75 72 73 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 76 61 | Flavours:.function.()...{.....va |
35ce0 | 72 20 66 6c 61 76 6f 75 72 53 65 74 20 3d 20 6e 65 77 20 46 6c 61 76 6f 75 72 53 65 74 28 29 3b | r.flavourSet.=.new.FlavourSet(); |
35d00 | 0a 20 20 20 20 66 6c 61 76 6f 75 72 53 65 74 2e 61 70 70 65 6e 64 46 6c 61 76 6f 75 72 28 22 61 | .....flavourSet.appendFlavour("a |
35d20 | 70 70 6c 69 63 61 74 69 6f 6e 2f 78 2d 6d 6f 7a 2d 66 69 6c 65 22 2c 20 22 6e 73 49 46 69 6c 65 | pplication/x-moz-file",."nsIFile |
35d40 | 22 29 3b 0a 20 20 20 20 66 6c 61 76 6f 75 72 53 65 74 2e 61 70 70 65 6e 64 46 6c 61 76 6f 75 72 | ");.....flavourSet.appendFlavour |
35d60 | 28 22 74 65 78 74 2f 78 2d 6d 6f 7a 2d 75 72 6c 22 29 3b 0a 20 20 20 20 66 6c 61 76 6f 75 72 53 | ("text/x-moz-url");.....flavourS |
35d80 | 65 74 2e 61 70 70 65 6e 64 46 6c 61 76 6f 75 72 28 22 74 65 78 74 2f 75 6e 69 63 6f 64 65 22 29 | et.appendFlavour("text/unicode") |
35da0 | 3b 0a 20 20 20 20 72 65 74 75 72 6e 20 66 6c 61 76 6f 75 72 53 65 74 3b 0a 20 20 7d 0a 7d 0a 0a | ;.....return.flavourSet;...}.}.. |
35dc0 | 76 61 72 20 6e 65 77 54 61 62 42 75 74 74 6f 6e 4f 62 73 65 72 76 65 72 20 3d 20 7b 0a 20 20 6f | var.newTabButtonObserver.=.{...o |
35de0 | 6e 44 72 61 67 4f 76 65 72 3a 20 66 75 6e 63 74 69 6f 6e 28 61 45 76 65 6e 74 2c 20 61 46 6c 61 | nDragOver:.function(aEvent,.aFla |
35e00 | 76 6f 75 72 2c 20 61 44 72 61 67 53 65 73 73 69 6f 6e 29 20 7b 0a 20 20 20 20 76 61 72 20 73 74 | vour,.aDragSession).{.....var.st |
35e20 | 61 74 75 73 54 65 78 74 46 6c 64 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e | atusTextFld.=.document.getElemen |
35e40 | 74 42 79 49 64 28 22 73 74 61 74 75 73 62 61 72 2d 64 69 73 70 6c 61 79 22 29 3b 0a 20 20 20 20 | tById("statusbar-display");..... |
35e60 | 73 74 61 74 75 73 54 65 78 74 46 6c 64 2e 6c 61 62 65 6c 20 3d 20 67 4e 61 76 69 67 61 74 6f 72 | statusTextFld.label.=.gNavigator |
35e80 | 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 64 72 6f 70 6f 6e 6e 65 77 74 61 62 62 75 | Bundle.getString("droponnewtabbu |
35ea0 | 74 74 6f 6e 22 29 3b 0a 20 20 20 20 61 45 76 65 6e 74 2e 74 61 72 67 65 74 2e 73 65 74 41 74 74 | tton");.....aEvent.target.setAtt |
35ec0 | 72 69 62 75 74 65 28 22 64 72 61 67 6f 76 65 72 22 2c 20 22 74 72 75 65 22 29 3b 0a 20 20 20 20 | ribute("dragover",."true");..... |
35ee0 | 72 65 74 75 72 6e 20 74 72 75 65 3b 0a 20 20 7d 2c 0a 20 20 6f 6e 44 72 61 67 45 78 69 74 3a 20 | return.true;...},...onDragExit:. |
35f00 | 66 75 6e 63 74 69 6f 6e 20 28 61 45 76 65 6e 74 2c 20 61 44 72 61 67 53 65 73 73 69 6f 6e 29 20 | function.(aEvent,.aDragSession). |
35f20 | 7b 0a 20 20 20 20 76 61 72 20 73 74 61 74 75 73 54 65 78 74 46 6c 64 20 3d 20 64 6f 63 75 6d 65 | {.....var.statusTextFld.=.docume |
35f40 | 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 73 74 61 74 75 73 62 61 72 2d 64 69 73 | nt.getElementById("statusbar-dis |
35f60 | 70 6c 61 79 22 29 3b 0a 20 20 20 20 73 74 61 74 75 73 54 65 78 74 46 6c 64 2e 6c 61 62 65 6c 20 | play");.....statusTextFld.label. |
35f80 | 3d 20 22 22 3b 0a 20 20 20 20 61 45 76 65 6e 74 2e 74 61 72 67 65 74 2e 72 65 6d 6f 76 65 41 74 | =."";.....aEvent.target.removeAt |
35fa0 | 74 72 69 62 75 74 65 28 22 64 72 61 67 6f 76 65 72 22 29 3b 0a 20 20 7d 2c 0a 20 20 6f 6e 44 72 | tribute("dragover");...},...onDr |
35fc0 | 6f 70 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 45 76 65 6e 74 2c 20 61 58 66 65 72 44 61 74 61 2c | op:.function.(aEvent,.aXferData, |
35fe0 | 20 61 44 72 61 67 53 65 73 73 69 6f 6e 29 20 7b 0a 20 20 20 20 76 61 72 20 78 66 65 72 44 61 74 | .aDragSession).{.....var.xferDat |
36000 | 61 20 3d 20 61 58 66 65 72 44 61 74 61 2e 64 61 74 61 2e 73 70 6c 69 74 28 22 5c 6e 22 29 3b 0a | a.=.aXferData.data.split("\n");. |
36020 | 20 20 20 20 76 61 72 20 64 72 61 67 67 65 64 54 65 78 74 20 3d 20 78 66 65 72 44 61 74 61 5b 30 | ....var.draggedText.=.xferData[0 |
36040 | 5d 20 7c 7c 20 78 66 65 72 44 61 74 61 5b 31 5d 3b 0a 20 20 20 20 76 61 72 20 70 6f 73 74 44 61 | ].||.xferData[1];.....var.postDa |
36060 | 74 61 20 3d 20 7b 7d 3b 0a 20 20 20 20 76 61 72 20 75 72 6c 20 3d 20 67 65 74 53 68 6f 72 74 63 | ta.=.{};.....var.url.=.getShortc |
36080 | 75 74 4f 72 55 52 49 28 64 72 61 67 67 65 64 54 65 78 74 2c 20 70 6f 73 74 44 61 74 61 29 3b 0a | utOrURI(draggedText,.postData);. |
360a0 | 20 20 20 20 69 66 20 28 75 72 6c 29 20 7b 0a 20 20 20 20 20 20 6e 73 44 72 61 67 41 6e 64 44 72 | ....if.(url).{.......nsDragAndDr |
360c0 | 6f 70 2e 64 72 61 67 44 72 6f 70 53 65 63 75 72 69 74 79 43 68 65 63 6b 28 61 45 76 65 6e 74 2c | op.dragDropSecurityCheck(aEvent, |
360e0 | 20 61 44 72 61 67 53 65 73 73 69 6f 6e 2c 20 75 72 6c 29 3b 0a 20 20 20 20 20 20 2f 2f 20 61 6c | .aDragSession,.url);.......//.al |
36100 | 6c 6f 77 20 74 68 69 72 64 2d 70 61 72 74 79 20 73 65 72 76 69 63 65 73 20 74 6f 20 66 69 78 75 | low.third-party.services.to.fixu |
36120 | 70 20 74 68 69 73 20 55 52 4c 0a 20 20 20 20 20 20 6f 70 65 6e 4e 65 77 54 61 62 57 69 74 68 28 | p.this.URL.......openNewTabWith( |
36140 | 75 72 6c 2c 20 6e 75 6c 6c 2c 20 70 6f 73 74 44 61 74 61 2e 76 61 6c 75 65 2c 20 61 45 76 65 6e | url,.null,.postData.value,.aEven |
36160 | 74 2c 20 74 72 75 65 29 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 20 20 67 65 74 53 75 70 70 6f 72 | t,.true);.....}...},...getSuppor |
36180 | 74 65 64 46 6c 61 76 6f 75 72 73 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 20 7b 0a 20 20 20 20 76 | tedFlavours:.function.().{.....v |
361a0 | 61 72 20 66 6c 61 76 6f 75 72 53 65 74 20 3d 20 6e 65 77 20 46 6c 61 76 6f 75 72 53 65 74 28 29 | ar.flavourSet.=.new.FlavourSet() |
361c0 | 3b 0a 20 20 20 20 66 6c 61 76 6f 75 72 53 65 74 2e 61 70 70 65 6e 64 46 6c 61 76 6f 75 72 28 22 | ;.....flavourSet.appendFlavour(" |
361e0 | 74 65 78 74 2f 75 6e 69 63 6f 64 65 22 29 3b 0a 20 20 20 20 66 6c 61 76 6f 75 72 53 65 74 2e 61 | text/unicode");.....flavourSet.a |
36200 | 70 70 65 6e 64 46 6c 61 76 6f 75 72 28 22 74 65 78 74 2f 78 2d 6d 6f 7a 2d 75 72 6c 22 29 3b 0a | ppendFlavour("text/x-moz-url");. |
36220 | 20 20 20 20 66 6c 61 76 6f 75 72 53 65 74 2e 61 70 70 65 6e 64 46 6c 61 76 6f 75 72 28 22 61 70 | ....flavourSet.appendFlavour("ap |
36240 | 70 6c 69 63 61 74 69 6f 6e 2f 78 2d 6d 6f 7a 2d 66 69 6c 65 22 2c 20 22 6e 73 49 46 69 6c 65 22 | plication/x-moz-file",."nsIFile" |
36260 | 29 3b 0a 20 20 20 20 66 6c 61 76 6f 75 72 53 65 74 2e 61 70 70 65 6e 64 46 6c 61 76 6f 75 72 28 | );.....flavourSet.appendFlavour( |
36280 | 22 74 65 78 74 2f 78 2d 6d 6f 7a 2d 74 65 78 74 2d 69 6e 74 65 72 6e 61 6c 22 29 3b 20 2f 2f 20 | "text/x-moz-text-internal");.//. |
362a0 | 66 6f 72 20 74 61 62 73 0a 20 20 20 20 72 65 74 75 72 6e 20 66 6c 61 76 6f 75 72 53 65 74 3b 0a | for.tabs.....return.flavourSet;. |
362c0 | 20 20 7d 0a 7d 0a 0a 76 61 72 20 6e 65 77 57 69 6e 64 6f 77 42 75 74 74 6f 6e 4f 62 73 65 72 76 | ..}.}..var.newWindowButtonObserv |
362e0 | 65 72 20 3d 20 7b 0a 20 20 6f 6e 44 72 61 67 4f 76 65 72 3a 20 66 75 6e 63 74 69 6f 6e 28 61 45 | er.=.{...onDragOver:.function(aE |
36300 | 76 65 6e 74 2c 20 61 46 6c 61 76 6f 75 72 2c 20 61 44 72 61 67 53 65 73 73 69 6f 6e 29 0a 20 20 | vent,.aFlavour,.aDragSession)... |
36320 | 20 20 7b 0a 20 20 20 20 20 20 76 61 72 20 73 74 61 74 75 73 54 65 78 74 46 6c 64 20 3d 20 64 6f | ..{.......var.statusTextFld.=.do |
36340 | 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 73 74 61 74 75 73 62 61 72 | cument.getElementById("statusbar |
36360 | 2d 64 69 73 70 6c 61 79 22 29 3b 0a 20 20 20 20 20 20 73 74 61 74 75 73 54 65 78 74 46 6c 64 2e | -display");.......statusTextFld. |
36380 | 6c 61 62 65 6c 20 3d 20 67 4e 61 76 69 67 61 74 6f 72 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 | label.=.gNavigatorBundle.getStri |
363a0 | 6e 67 28 22 64 72 6f 70 6f 6e 6e 65 77 77 69 6e 64 6f 77 62 75 74 74 6f 6e 22 29 3b 0a 20 20 20 | ng("droponnewwindowbutton");.... |
363c0 | 20 20 20 61 45 76 65 6e 74 2e 74 61 72 67 65 74 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 64 | ...aEvent.target.setAttribute("d |
363e0 | 72 61 67 6f 76 65 72 22 2c 20 22 74 72 75 65 22 29 3b 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 | ragover",."true");.......return. |
36400 | 74 72 75 65 3b 0a 20 20 20 20 7d 2c 0a 20 20 6f 6e 44 72 61 67 45 78 69 74 3a 20 66 75 6e 63 74 | true;.....},...onDragExit:.funct |
36420 | 69 6f 6e 20 28 61 45 76 65 6e 74 2c 20 61 44 72 61 67 53 65 73 73 69 6f 6e 29 0a 20 20 20 20 7b | ion.(aEvent,.aDragSession).....{ |
36440 | 0a 20 20 20 20 20 20 76 61 72 20 73 74 61 74 75 73 54 65 78 74 46 6c 64 20 3d 20 64 6f 63 75 6d | .......var.statusTextFld.=.docum |
36460 | 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 73 74 61 74 75 73 62 61 72 2d 64 69 | ent.getElementById("statusbar-di |
36480 | 73 70 6c 61 79 22 29 3b 0a 20 20 20 20 20 20 73 74 61 74 75 73 54 65 78 74 46 6c 64 2e 6c 61 62 | splay");.......statusTextFld.lab |
364a0 | 65 6c 20 3d 20 22 22 3b 0a 20 20 20 20 20 20 61 45 76 65 6e 74 2e 74 61 72 67 65 74 2e 72 65 6d | el.=."";.......aEvent.target.rem |
364c0 | 6f 76 65 41 74 74 72 69 62 75 74 65 28 22 64 72 61 67 6f 76 65 72 22 29 3b 0a 20 20 20 20 7d 2c | oveAttribute("dragover");.....}, |
364e0 | 0a 20 20 6f 6e 44 72 6f 70 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 45 76 65 6e 74 2c 20 61 58 66 | ...onDrop:.function.(aEvent,.aXf |
36500 | 65 72 44 61 74 61 2c 20 61 44 72 61 67 53 65 73 73 69 6f 6e 29 0a 20 20 20 20 7b 0a 20 20 20 20 | erData,.aDragSession).....{..... |
36520 | 20 20 76 61 72 20 78 66 65 72 44 61 74 61 20 3d 20 61 58 66 65 72 44 61 74 61 2e 64 61 74 61 2e | ..var.xferData.=.aXferData.data. |
36540 | 73 70 6c 69 74 28 22 5c 6e 22 29 3b 0a 20 20 20 20 20 20 76 61 72 20 64 72 61 67 67 65 64 54 65 | split("\n");.......var.draggedTe |
36560 | 78 74 20 3d 20 78 66 65 72 44 61 74 61 5b 30 5d 20 7c 7c 20 78 66 65 72 44 61 74 61 5b 31 5d 3b | xt.=.xferData[0].||.xferData[1]; |
36580 | 0a 20 20 20 20 20 20 76 61 72 20 70 6f 73 74 44 61 74 61 20 3d 20 7b 7d 3b 0a 20 20 20 20 20 20 | .......var.postData.=.{};....... |
365a0 | 76 61 72 20 75 72 6c 20 3d 20 67 65 74 53 68 6f 72 74 63 75 74 4f 72 55 52 49 28 64 72 61 67 67 | var.url.=.getShortcutOrURI(dragg |
365c0 | 65 64 54 65 78 74 2c 20 70 6f 73 74 44 61 74 61 29 3b 0a 20 20 20 20 20 20 69 66 20 28 75 72 6c | edText,.postData);.......if.(url |
365e0 | 29 20 7b 0a 20 20 20 20 20 20 20 20 6e 73 44 72 61 67 41 6e 64 44 72 6f 70 2e 64 72 61 67 44 72 | ).{.........nsDragAndDrop.dragDr |
36600 | 6f 70 53 65 63 75 72 69 74 79 43 68 65 63 6b 28 61 45 76 65 6e 74 2c 20 61 44 72 61 67 53 65 73 | opSecurityCheck(aEvent,.aDragSes |
36620 | 73 69 6f 6e 2c 20 75 72 6c 29 3b 0a 20 20 20 20 20 20 20 20 2f 2f 20 61 6c 6c 6f 77 20 74 68 69 | sion,.url);.........//.allow.thi |
36640 | 72 64 2d 70 61 72 74 79 20 73 65 72 76 69 63 65 73 20 74 6f 20 66 69 78 75 70 20 74 68 69 73 20 | rd-party.services.to.fixup.this. |
36660 | 55 52 4c 0a 20 20 20 20 20 20 20 20 6f 70 65 6e 4e 65 77 57 69 6e 64 6f 77 57 69 74 68 28 75 72 | URL.........openNewWindowWith(ur |
36680 | 6c 2c 20 6e 75 6c 6c 2c 20 70 6f 73 74 44 61 74 61 2e 76 61 6c 75 65 2c 20 74 72 75 65 29 3b 0a | l,.null,.postData.value,.true);. |
366a0 | 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 2c 0a 20 20 67 65 74 53 75 70 70 6f 72 74 65 64 46 6c 61 | ......}.....},...getSupportedFla |
366c0 | 76 6f 75 72 73 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 20 20 7b 0a 20 20 20 20 20 20 76 | vours:.function.().....{.......v |
366e0 | 61 72 20 66 6c 61 76 6f 75 72 53 65 74 20 3d 20 6e 65 77 20 46 6c 61 76 6f 75 72 53 65 74 28 29 | ar.flavourSet.=.new.FlavourSet() |
36700 | 3b 0a 20 20 20 20 20 20 66 6c 61 76 6f 75 72 53 65 74 2e 61 70 70 65 6e 64 46 6c 61 76 6f 75 72 | ;.......flavourSet.appendFlavour |
36720 | 28 22 74 65 78 74 2f 75 6e 69 63 6f 64 65 22 29 3b 0a 20 20 20 20 20 20 66 6c 61 76 6f 75 72 53 | ("text/unicode");.......flavourS |
36740 | 65 74 2e 61 70 70 65 6e 64 46 6c 61 76 6f 75 72 28 22 74 65 78 74 2f 78 2d 6d 6f 7a 2d 75 72 6c | et.appendFlavour("text/x-moz-url |
36760 | 22 29 3b 0a 20 20 20 20 20 20 66 6c 61 76 6f 75 72 53 65 74 2e 61 70 70 65 6e 64 46 6c 61 76 6f | ");.......flavourSet.appendFlavo |
36780 | 75 72 28 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f 78 2d 6d 6f 7a 2d 66 69 6c 65 22 2c 20 22 6e 73 | ur("application/x-moz-file",."ns |
367a0 | 49 46 69 6c 65 22 29 3b 0a 20 20 20 20 20 20 66 6c 61 76 6f 75 72 53 65 74 2e 61 70 70 65 6e 64 | IFile");.......flavourSet.append |
367c0 | 46 6c 61 76 6f 75 72 28 22 74 65 78 74 2f 78 2d 6d 6f 7a 2d 74 65 78 74 2d 69 6e 74 65 72 6e 61 | Flavour("text/x-moz-text-interna |
367e0 | 6c 22 29 3b 20 20 2f 2f 20 66 6f 72 20 74 61 62 73 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 66 | l");..//.for.tabs.......return.f |
36800 | 6c 61 76 6f 75 72 53 65 74 3b 0a 20 20 20 20 7d 0a 7d 0a 0a 76 61 72 20 44 6f 77 6e 6c 6f 61 64 | lavourSet;.....}.}..var.Download |
36820 | 73 42 75 74 74 6f 6e 44 4e 44 4f 62 73 65 72 76 65 72 20 3d 20 7b 0a 20 20 2f 2f 2f 2f 2f 2f 2f | sButtonDNDObserver.=.{.../////// |
36840 | 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f | //////////////////////////////// |
36860 | 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f | //////////////////////////////// |
36880 | 2f 2f 2f 2f 2f 2f 0a 20 20 2f 2f 20 6e 73 44 72 61 67 41 6e 64 44 72 6f 70 0a 20 20 6f 6e 44 72 | //////...//.nsDragAndDrop...onDr |
368a0 | 61 67 4f 76 65 72 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 45 76 65 6e 74 2c 20 61 46 6c 61 76 6f | agOver:.function.(aEvent,.aFlavo |
368c0 | 75 72 2c 20 61 44 72 61 67 53 65 73 73 69 6f 6e 29 0a 20 20 7b 0a 20 20 20 20 76 61 72 20 73 74 | ur,.aDragSession)...{.....var.st |
368e0 | 61 74 75 73 54 65 78 74 46 6c 64 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e | atusTextFld.=.document.getElemen |
36900 | 74 42 79 49 64 28 22 73 74 61 74 75 73 62 61 72 2d 64 69 73 70 6c 61 79 22 29 3b 0a 20 20 20 20 | tById("statusbar-display");..... |
36920 | 73 74 61 74 75 73 54 65 78 74 46 6c 64 2e 6c 61 62 65 6c 20 3d 20 67 4e 61 76 69 67 61 74 6f 72 | statusTextFld.label.=.gNavigator |
36940 | 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 64 72 6f 70 6f 6e 64 6f 77 6e 6c 6f 61 64 | Bundle.getString("dropondownload |
36960 | 73 62 75 74 74 6f 6e 22 29 3b 0a 20 20 20 20 61 44 72 61 67 53 65 73 73 69 6f 6e 2e 63 61 6e 44 | sbutton");.....aDragSession.canD |
36980 | 72 6f 70 20 3d 20 28 61 46 6c 61 76 6f 75 72 2e 63 6f 6e 74 65 6e 74 54 79 70 65 20 3d 3d 20 22 | rop.=.(aFlavour.contentType.==." |
369a0 | 74 65 78 74 2f 78 2d 6d 6f 7a 2d 75 72 6c 22 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | text/x-moz-url".||.............. |
369c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 46 6c 61 76 6f 75 72 2e 63 6f 6e 74 65 6e 74 54 | ...............aFlavour.contentT |
369e0 | 79 70 65 20 3d 3d 20 22 74 65 78 74 2f 75 6e 69 63 6f 64 65 22 29 3b 0a 20 20 7d 2c 0a 0a 20 20 | ype.==."text/unicode");...},.... |
36a00 | 6f 6e 44 72 61 67 45 78 69 74 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 45 76 65 6e 74 2c 20 61 44 | onDragExit:.function.(aEvent,.aD |
36a20 | 72 61 67 53 65 73 73 69 6f 6e 29 0a 20 20 7b 0a 20 20 20 20 76 61 72 20 73 74 61 74 75 73 54 65 | ragSession)...{.....var.statusTe |
36a40 | 78 74 46 6c 64 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 | xtFld.=.document.getElementById( |
36a60 | 22 73 74 61 74 75 73 62 61 72 2d 64 69 73 70 6c 61 79 22 29 3b 0a 20 20 20 20 73 74 61 74 75 73 | "statusbar-display");.....status |
36a80 | 54 65 78 74 46 6c 64 2e 6c 61 62 65 6c 20 3d 20 22 22 3b 0a 20 20 7d 2c 0a 0a 20 20 6f 6e 44 72 | TextFld.label.=."";...},....onDr |
36aa0 | 6f 70 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 45 76 65 6e 74 2c 20 61 58 66 65 72 44 61 74 61 2c | op:.function.(aEvent,.aXferData, |
36ac0 | 20 61 44 72 61 67 53 65 73 73 69 6f 6e 29 0a 20 20 7b 0a 20 20 20 20 76 61 72 20 73 70 6c 69 74 | .aDragSession)...{.....var.split |
36ae0 | 20 3d 20 61 58 66 65 72 44 61 74 61 2e 64 61 74 61 2e 73 70 6c 69 74 28 22 5c 6e 22 29 3b 0a 20 | .=.aXferData.data.split("\n");.. |
36b00 | 20 20 20 76 61 72 20 75 72 6c 20 3d 20 73 70 6c 69 74 5b 30 5d 3b 0a 20 20 20 20 69 66 20 28 75 | ...var.url.=.split[0];.....if.(u |
36b20 | 72 6c 20 21 3d 20 61 58 66 65 72 44 61 74 61 2e 64 61 74 61 29 20 7b 20 20 2f 2f 64 6f 20 6e 6f | rl.!=.aXferData.data).{..//do.no |
36b40 | 74 68 69 6e 67 2c 20 6e 6f 74 20 61 20 76 61 6c 69 64 20 55 52 4c 0a 20 20 20 20 20 20 6e 73 44 | thing,.not.a.valid.URL.......nsD |
36b60 | 72 61 67 41 6e 64 44 72 6f 70 2e 64 72 61 67 44 72 6f 70 53 65 63 75 72 69 74 79 43 68 65 63 6b | ragAndDrop.dragDropSecurityCheck |
36b80 | 28 61 45 76 65 6e 74 2c 20 61 44 72 61 67 53 65 73 73 69 6f 6e 2c 20 75 72 6c 29 3b 0a 0a 20 20 | (aEvent,.aDragSession,.url);.... |
36ba0 | 20 20 20 20 76 61 72 20 6e 61 6d 65 20 3d 20 73 70 6c 69 74 5b 31 5d 3b 0a 20 20 20 20 20 20 73 | ....var.name.=.split[1];.......s |
36bc0 | 61 76 65 55 52 4c 28 75 72 6c 2c 20 6e 61 6d 65 2c 20 6e 75 6c 6c 2c 20 74 72 75 65 2c 20 74 72 | aveURL(url,.name,.null,.true,.tr |
36be0 | 75 65 29 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 20 20 67 65 74 53 75 70 70 6f 72 74 65 64 46 6c | ue);.....}...},...getSupportedFl |
36c00 | 61 76 6f 75 72 73 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 76 61 72 20 | avours:.function.()...{.....var. |
36c20 | 66 6c 61 76 6f 75 72 53 65 74 20 3d 20 6e 65 77 20 46 6c 61 76 6f 75 72 53 65 74 28 29 3b 0a 20 | flavourSet.=.new.FlavourSet();.. |
36c40 | 20 20 20 66 6c 61 76 6f 75 72 53 65 74 2e 61 70 70 65 6e 64 46 6c 61 76 6f 75 72 28 22 74 65 78 | ...flavourSet.appendFlavour("tex |
36c60 | 74 2f 78 2d 6d 6f 7a 2d 75 72 6c 22 29 3b 0a 20 20 20 20 66 6c 61 76 6f 75 72 53 65 74 2e 61 70 | t/x-moz-url");.....flavourSet.ap |
36c80 | 70 65 6e 64 46 6c 61 76 6f 75 72 28 22 74 65 78 74 2f 75 6e 69 63 6f 64 65 22 29 3b 0a 20 20 20 | pendFlavour("text/unicode");.... |
36ca0 | 20 72 65 74 75 72 6e 20 66 6c 61 76 6f 75 72 53 65 74 3b 0a 20 20 7d 0a 7d 0a 0a 63 6f 6e 73 74 | .return.flavourSet;...}.}..const |
36cc0 | 20 44 4f 4d 4c 69 6e 6b 48 61 6e 64 6c 65 72 20 3d 20 7b 0a 20 20 68 61 6e 64 6c 65 45 76 65 6e | .DOMLinkHandler.=.{...handleEven |
36ce0 | 74 3a 20 66 75 6e 63 74 69 6f 6e 20 28 65 76 65 6e 74 29 20 7b 0a 20 20 20 20 73 77 69 74 63 68 | t:.function.(event).{.....switch |
36d00 | 20 28 65 76 65 6e 74 2e 74 79 70 65 29 20 7b 0a 20 20 20 20 20 20 63 61 73 65 20 22 44 4f 4d 4c | .(event.type).{.......case."DOML |
36d20 | 69 6e 6b 41 64 64 65 64 22 3a 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 6f 6e 4c 69 6e 6b 41 64 | inkAdded":.........this.onLinkAd |
36d40 | 64 65 64 28 65 76 65 6e 74 29 3b 0a 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 7d | ded(event);.........break;.....} |
36d60 | 0a 20 20 7d 2c 0a 20 20 6f 6e 4c 69 6e 6b 41 64 64 65 64 3a 20 66 75 6e 63 74 69 6f 6e 20 28 65 | ...},...onLinkAdded:.function.(e |
36d80 | 76 65 6e 74 29 20 7b 0a 20 20 20 20 76 61 72 20 6c 69 6e 6b 20 3d 20 65 76 65 6e 74 2e 6f 72 69 | vent).{.....var.link.=.event.ori |
36da0 | 67 69 6e 61 6c 54 61 72 67 65 74 3b 0a 20 20 20 20 76 61 72 20 72 65 6c 20 3d 20 6c 69 6e 6b 2e | ginalTarget;.....var.rel.=.link. |
36dc0 | 72 65 6c 20 26 26 20 6c 69 6e 6b 2e 72 65 6c 2e 74 6f 4c 6f 77 65 72 43 61 73 65 28 29 3b 0a 20 | rel.&&.link.rel.toLowerCase();.. |
36de0 | 20 20 20 69 66 20 28 21 6c 69 6e 6b 20 7c 7c 20 21 6c 69 6e 6b 2e 6f 77 6e 65 72 44 6f 63 75 6d | ...if.(!link.||.!link.ownerDocum |
36e00 | 65 6e 74 20 7c 7c 20 21 72 65 6c 20 7c 7c 20 21 6c 69 6e 6b 2e 68 72 65 66 29 0a 20 20 20 20 20 | ent.||.!rel.||.!link.href)...... |
36e20 | 20 72 65 74 75 72 6e 3b 0a 0a 20 20 20 20 76 61 72 20 66 65 65 64 41 64 64 65 64 20 3d 20 66 61 | .return;......var.feedAdded.=.fa |
36e40 | 6c 73 65 3b 0a 20 20 20 20 76 61 72 20 69 63 6f 6e 41 64 64 65 64 20 3d 20 66 61 6c 73 65 3b 0a | lse;.....var.iconAdded.=.false;. |
36e60 | 20 20 20 20 76 61 72 20 73 65 61 72 63 68 41 64 64 65 64 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 | ....var.searchAdded.=.false;.... |
36e80 | 20 76 61 72 20 72 65 6c 53 74 72 69 6e 67 73 20 3d 20 72 65 6c 2e 73 70 6c 69 74 28 2f 5c 73 2b | .var.relStrings.=.rel.split(/\s+ |
36ea0 | 2f 29 3b 0a 20 20 20 20 76 61 72 20 72 65 6c 73 20 3d 20 7b 7d 3b 0a 20 20 20 20 66 6f 72 20 28 | /);.....var.rels.=.{};.....for.( |
36ec0 | 6c 65 74 20 69 20 3d 20 30 3b 20 69 20 3c 20 72 65 6c 53 74 72 69 6e 67 73 2e 6c 65 6e 67 74 68 | let.i.=.0;.i.<.relStrings.length |
36ee0 | 3b 20 69 2b 2b 29 0a 20 20 20 20 20 20 72 65 6c 73 5b 72 65 6c 53 74 72 69 6e 67 73 5b 69 5d 5d | ;.i++).......rels[relStrings[i]] |
36f00 | 20 3d 20 74 72 75 65 3b 0a 0a 20 20 20 20 66 6f 72 20 28 6c 65 74 20 72 65 6c 56 61 6c 20 69 6e | .=.true;......for.(let.relVal.in |
36f20 | 20 72 65 6c 73 29 20 7b 0a 20 20 20 20 20 20 73 77 69 74 63 68 20 28 72 65 6c 56 61 6c 29 20 7b | .rels).{.......switch.(relVal).{ |
36f40 | 0a 20 20 20 20 20 20 20 20 63 61 73 65 20 22 66 65 65 64 22 3a 0a 20 20 20 20 20 20 20 20 63 61 | .........case."feed":.........ca |
36f60 | 73 65 20 22 61 6c 74 65 72 6e 61 74 65 22 3a 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 66 | se."alternate":...........if.(!f |
36f80 | 65 65 64 41 64 64 65 64 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 72 65 6c | eedAdded).{.............if.(!rel |
36fa0 | 73 2e 66 65 65 64 20 26 26 20 72 65 6c 73 2e 61 6c 74 65 72 6e 61 74 65 20 26 26 20 72 65 6c 73 | s.feed.&&.rels.alternate.&&.rels |
36fc0 | 2e 73 74 79 6c 65 73 68 65 65 74 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b | .stylesheet)...............break |
36fe0 | 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 69 73 56 61 6c 69 64 46 65 65 64 28 6c | ;..............if.(isValidFeed(l |
37000 | 69 6e 6b 2c 20 6c 69 6e 6b 2e 6f 77 6e 65 72 44 6f 63 75 6d 65 6e 74 2e 6e 6f 64 65 50 72 69 6e | ink,.link.ownerDocument.nodePrin |
37020 | 63 69 70 61 6c 2c 20 72 65 6c 73 2e 66 65 65 64 29 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 | cipal,.rels.feed)).{............ |
37040 | 20 20 20 46 65 65 64 48 61 6e 64 6c 65 72 2e 61 64 64 46 65 65 64 28 6c 69 6e 6b 2c 20 6c 69 6e | ...FeedHandler.addFeed(link,.lin |
37060 | 6b 2e 6f 77 6e 65 72 44 6f 63 75 6d 65 6e 74 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | k.ownerDocument);............... |
37080 | 66 65 65 64 41 64 64 65 64 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a | feedAdded.=.true;.............}. |
370a0 | 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 | ..........}...........break;.... |
370c0 | 20 20 20 20 20 63 61 73 65 20 22 69 63 6f 6e 22 3a 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 | .....case."icon":...........if.( |
370e0 | 21 69 63 6f 6e 41 64 64 65 64 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 67 | !iconAdded).{.............if.(!g |
37100 | 50 72 65 66 53 65 72 76 69 63 65 2e 67 65 74 42 6f 6f 6c 50 72 65 66 28 22 62 72 6f 77 73 65 72 | PrefService.getBoolPref("browser |
37120 | 2e 63 68 72 6f 6d 65 2e 73 69 74 65 5f 69 63 6f 6e 73 22 29 29 0a 20 20 20 20 20 20 20 20 20 20 | .chrome.site_icons"))........... |
37140 | 20 20 20 20 62 72 65 61 6b 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 74 61 72 67 | ....break;..............var.targ |
37160 | 65 74 44 6f 63 20 3d 20 6c 69 6e 6b 2e 6f 77 6e 65 72 44 6f 63 75 6d 65 6e 74 3b 0a 20 20 20 20 | etDoc.=.link.ownerDocument;..... |
37180 | 20 20 20 20 20 20 20 20 76 61 72 20 69 6f 73 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f | ........var.ios.=.Cc["@mozilla.o |
371a0 | 72 67 2f 6e 65 74 77 6f 72 6b 2f 69 6f 2d 73 65 72 76 69 63 65 3b 31 22 5d 2e 0a 20 20 20 20 20 | rg/network/io-service;1"]....... |
371c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e | .................getService(Ci.n |
371e0 | 73 49 49 4f 53 65 72 76 69 63 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 75 72 | sIIOService);.............var.ur |
37200 | 69 20 3d 20 69 6f 73 2e 6e 65 77 55 52 49 28 6c 69 6e 6b 2e 68 72 65 66 2c 20 74 61 72 67 65 74 | i.=.ios.newURI(link.href,.target |
37220 | 44 6f 63 2e 63 68 61 72 61 63 74 65 72 53 65 74 2c 20 6e 75 6c 6c 29 3b 0a 0a 20 20 20 20 20 20 | Doc.characterSet,.null);........ |
37240 | 20 20 20 20 20 20 69 66 20 28 67 42 72 6f 77 73 65 72 2e 69 73 46 61 69 6c 65 64 49 63 6f 6e 28 | ......if.(gBrowser.isFailedIcon( |
37260 | 75 72 69 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 0a 20 20 20 20 | uri))...............break;...... |
37280 | 20 20 20 20 20 20 20 20 2f 2f 20 56 65 72 69 66 79 20 74 68 61 74 20 74 68 65 20 6c 6f 61 64 20 | ........//.Verify.that.the.load. |
372a0 | 6f 66 20 74 68 69 73 20 69 63 6f 6e 20 69 73 20 6c 65 67 61 6c 2e 0a 20 20 20 20 20 20 20 20 20 | of.this.icon.is.legal........... |
372c0 | 20 20 20 2f 2f 20 65 72 72 6f 72 20 70 61 67 65 73 20 63 61 6e 20 6c 6f 61 64 20 74 68 65 69 72 | ...//.error.pages.can.load.their |
372e0 | 20 66 61 76 69 63 6f 6e 2c 20 74 6f 20 62 65 20 6f 6e 20 74 68 65 20 73 61 66 65 20 73 69 64 65 | .favicon,.to.be.on.the.safe.side |
37300 | 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 6f 6e 6c 79 20 61 6c 6c 6f 77 20 63 68 72 6f | ,.............//.only.allow.chro |
37320 | 6d 65 3a 2f 2f 20 66 61 76 69 63 6f 6e 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6e 73 74 | me://.favicons.............const |
37340 | 20 61 62 6f 75 74 4e 65 74 65 72 72 20 3d 20 2f 5e 61 62 6f 75 74 3a 6e 65 74 65 72 72 6f 72 5c | .aboutNeterr.=./^about:neterror\ |
37360 | 3f 2f 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6e 73 74 20 61 62 6f 75 74 42 6c 6f 63 6b | ?/;.............const.aboutBlock |
37380 | 65 64 20 3d 20 2f 5e 61 62 6f 75 74 3a 62 6c 6f 63 6b 65 64 5c 3f 2f 3b 0a 20 20 20 20 20 20 20 | ed.=./^about:blocked\?/;........ |
373a0 | 20 20 20 20 20 63 6f 6e 73 74 20 61 62 6f 75 74 43 65 72 74 20 3d 20 2f 5e 61 62 6f 75 74 3a 63 | .....const.aboutCert.=./^about:c |
373c0 | 65 72 74 65 72 72 6f 72 5c 3f 2f 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 28 61 | erterror\?/;.............if.(!(a |
373e0 | 62 6f 75 74 4e 65 74 65 72 72 2e 74 65 73 74 28 74 61 72 67 65 74 44 6f 63 2e 64 6f 63 75 6d 65 | boutNeterr.test(targetDoc.docume |
37400 | 6e 74 55 52 49 29 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 62 6f 75 | ntURI).||...................abou |
37420 | 74 42 6c 6f 63 6b 65 64 2e 74 65 73 74 28 74 61 72 67 65 74 44 6f 63 2e 64 6f 63 75 6d 65 6e 74 | tBlocked.test(targetDoc.document |
37440 | 55 52 49 29 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 62 6f 75 74 43 | URI).||...................aboutC |
37460 | 65 72 74 2e 74 65 73 74 28 74 61 72 67 65 74 44 6f 63 2e 64 6f 63 75 6d 65 6e 74 55 52 49 29 29 | ert.test(targetDoc.documentURI)) |
37480 | 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 21 75 72 69 2e 73 63 68 65 6d 65 49 | .||.................!uri.schemeI |
374a0 | 73 28 22 63 68 72 6f 6d 65 22 29 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 | s("chrome")).{...............var |
374c0 | 20 73 73 6d 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 73 63 72 69 70 74 73 65 | .ssm.=.Cc["@mozilla.org/scriptse |
374e0 | 63 75 72 69 74 79 6d 61 6e 61 67 65 72 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | curitymanager;1"]............... |
37500 | 20 20 20 20 20 20 20 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 53 63 72 69 | ...........getService(Ci.nsIScri |
37520 | 70 74 53 65 63 75 72 69 74 79 4d 61 6e 61 67 65 72 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ptSecurityManager);............. |
37540 | 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 73 6d 2e 63 68 65 63 | ..try.{.................ssm.chec |
37560 | 6b 4c 6f 61 64 55 52 49 57 69 74 68 50 72 69 6e 63 69 70 61 6c 28 74 61 72 67 65 74 44 6f 63 2e | kLoadURIWithPrincipal(targetDoc. |
37580 | 6e 6f 64 65 50 72 69 6e 63 69 70 61 6c 2c 20 75 72 69 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 | nodePrincipal,.uri,............. |
375a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
375c0 | 20 20 43 69 2e 6e 73 49 53 63 72 69 70 74 53 65 63 75 72 69 74 79 4d 61 6e 61 67 65 72 2e 44 49 | ..Ci.nsIScriptSecurityManager.DI |
375e0 | 53 41 4c 4c 4f 57 5f 53 43 52 49 50 54 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 20 | SALLOW_SCRIPT);...............}. |
37600 | 63 61 74 63 68 28 65 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b | catch(e).{.................break |
37620 | 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a | ;...............}.............}. |
37640 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | .............try.{.............. |
37660 | 20 76 61 72 20 63 6f 6e 74 65 6e 74 50 6f 6c 69 63 79 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c | .var.contentPolicy.=.Cc["@mozill |
37680 | 61 2e 6f 72 67 2f 6c 61 79 6f 75 74 2f 63 6f 6e 74 65 6e 74 2d 70 6f 6c 69 63 79 3b 31 22 5d 2e | a.org/layout/content-policy;1"]. |
376a0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
376c0 | 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 43 6f 6e 74 65 6e 74 50 6f 6c 69 63 | ...getService(Ci.nsIContentPolic |
376e0 | 79 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 20 63 61 74 63 68 28 65 29 20 7b 0a 20 20 20 | y);.............}.catch(e).{.... |
37700 | 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 20 2f 2f 20 52 65 66 75 73 65 20 74 6f 20 6c | ...........break;.//.Refuse.to.l |
37720 | 6f 61 64 20 69 66 20 77 65 20 63 61 6e 27 74 20 64 6f 20 61 20 73 65 63 75 72 69 74 79 20 63 68 | oad.if.we.can't.do.a.security.ch |
37740 | 65 63 6b 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 | eck..............}.............. |
37760 | 2f 2f 20 53 65 63 75 72 69 74 79 20 73 61 79 73 20 6f 6b 61 79 2c 20 6e 6f 77 20 61 73 6b 20 63 | //.Security.says.okay,.now.ask.c |
37780 | 6f 6e 74 65 6e 74 20 70 6f 6c 69 63 79 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 63 6f | ontent.policy.............if.(co |
377a0 | 6e 74 65 6e 74 50 6f 6c 69 63 79 2e 73 68 6f 75 6c 64 4c 6f 61 64 28 43 69 2e 6e 73 49 43 6f 6e | ntentPolicy.shouldLoad(Ci.nsICon |
377c0 | 74 65 6e 74 50 6f 6c 69 63 79 2e 54 59 50 45 5f 49 4d 41 47 45 2c 0a 20 20 20 20 20 20 20 20 20 | tentPolicy.TYPE_IMAGE,.......... |
377e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
37800 | 75 72 69 2c 20 74 61 72 67 65 74 44 6f 63 2e 64 6f 63 75 6d 65 6e 74 55 52 49 4f 62 6a 65 63 74 | uri,.targetDoc.documentURIObject |
37820 | 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ,............................... |
37840 | 20 20 20 20 20 20 20 20 20 20 20 6c 69 6e 6b 2c 20 6c 69 6e 6b 2e 74 79 70 65 2c 20 6e 75 6c 6c | ...........link,.link.type,.null |
37860 | 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | )............................... |
37880 | 20 20 20 20 20 20 20 20 20 20 20 21 3d 20 43 69 2e 6e 73 49 43 6f 6e 74 65 6e 74 50 6f 6c 69 63 | ...........!=.Ci.nsIContentPolic |
378a0 | 79 2e 41 43 43 45 50 54 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 0a | y.ACCEPT)...............break;.. |
378c0 | 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 62 72 6f 77 73 65 72 49 6e 64 65 78 20 3d 20 67 | ............var.browserIndex.=.g |
378e0 | 42 72 6f 77 73 65 72 2e 67 65 74 42 72 6f 77 73 65 72 49 6e 64 65 78 46 6f 72 44 6f 63 75 6d 65 | Browser.getBrowserIndexForDocume |
37900 | 6e 74 28 74 61 72 67 65 74 44 6f 63 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 6e 6f | nt(targetDoc);.............//.no |
37920 | 20 62 72 6f 77 73 65 72 3f 20 6e 6f 20 66 61 76 69 63 6f 6e 2e 0a 20 20 20 20 20 20 20 20 20 20 | .browser?.no.favicon............ |
37940 | 20 20 69 66 20 28 62 72 6f 77 73 65 72 49 6e 64 65 78 20 3d 3d 20 2d 31 29 0a 20 20 20 20 20 20 | ..if.(browserIndex.==.-1)....... |
37960 | 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 | ........break;..............var. |
37980 | 74 61 62 20 3d 20 67 42 72 6f 77 73 65 72 2e 6d 54 61 62 43 6f 6e 74 61 69 6e 65 72 2e 63 68 69 | tab.=.gBrowser.mTabContainer.chi |
379a0 | 6c 64 4e 6f 64 65 73 5b 62 72 6f 77 73 65 72 49 6e 64 65 78 5d 3b 0a 20 20 20 20 20 20 20 20 20 | ldNodes[browserIndex];.......... |
379c0 | 20 20 20 67 42 72 6f 77 73 65 72 2e 73 65 74 49 63 6f 6e 28 74 61 62 2c 20 6c 69 6e 6b 2e 68 72 | ...gBrowser.setIcon(tab,.link.hr |
379e0 | 65 66 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 63 6f 6e 41 64 64 65 64 20 3d 20 74 72 75 | ef);.............iconAdded.=.tru |
37a00 | 65 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a | e;...........}...........break;. |
37a20 | 20 20 20 20 20 20 20 20 63 61 73 65 20 22 73 65 61 72 63 68 22 3a 0a 20 20 20 20 20 20 20 20 20 | ........case."search":.......... |
37a40 | 20 69 66 20 28 21 73 65 61 72 63 68 41 64 64 65 64 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 | .if.(!searchAdded).{............ |
37a60 | 20 76 61 72 20 74 79 70 65 20 3d 20 6c 69 6e 6b 2e 74 79 70 65 20 26 26 20 6c 69 6e 6b 2e 74 79 | .var.type.=.link.type.&&.link.ty |
37a80 | 70 65 2e 74 6f 4c 6f 77 65 72 43 61 73 65 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 79 | pe.toLowerCase();.............ty |
37aa0 | 70 65 20 3d 20 74 79 70 65 2e 72 65 70 6c 61 63 65 28 2f 5e 5c 73 2b 7c 5c 73 2a 28 3f 3a 3b 2e | pe.=.type.replace(/^\s+|\s*(?:;. |
37ac0 | 2a 29 3f 24 2f 67 2c 20 22 22 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 79 | *)?$/g,."");..............if.(ty |
37ae0 | 70 65 20 3d 3d 20 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f 6f 70 65 6e 73 65 61 72 63 68 64 65 73 | pe.==."application/opensearchdes |
37b00 | 63 72 69 70 74 69 6f 6e 2b 78 6d 6c 22 20 26 26 20 6c 69 6e 6b 2e 74 69 74 6c 65 20 26 26 0a 20 | cription+xml".&&.link.title.&&.. |
37b20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 5e 28 3f 3a 68 74 74 70 73 3f 7c 66 74 70 29 3a | .............../^(?:https?|ftp): |
37b40 | 2f 69 2e 74 65 73 74 28 6c 69 6e 6b 2e 68 72 65 66 29 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 | /i.test(link.href)).{........... |
37b60 | 20 20 20 20 76 61 72 20 65 6e 67 69 6e 65 20 3d 20 7b 20 74 69 74 6c 65 3a 20 6c 69 6e 6b 2e 74 | ....var.engine.=.{.title:.link.t |
37b80 | 69 74 6c 65 2c 20 68 72 65 66 3a 20 6c 69 6e 6b 2e 68 72 65 66 20 7d 3b 0a 20 20 20 20 20 20 20 | itle,.href:.link.href.};........ |
37ba0 | 20 20 20 20 20 20 20 42 72 6f 77 73 65 72 53 65 61 72 63 68 2e 61 64 64 45 6e 67 69 6e 65 28 65 | .......BrowserSearch.addEngine(e |
37bc0 | 6e 67 69 6e 65 2c 20 6c 69 6e 6b 2e 6f 77 6e 65 72 44 6f 63 75 6d 65 6e 74 29 3b 0a 20 20 20 20 | ngine,.link.ownerDocument);..... |
37be0 | 20 20 20 20 20 20 20 20 20 20 73 65 61 72 63 68 41 64 64 65 64 20 3d 20 74 72 75 65 3b 0a 20 20 | ..........searchAdded.=.true;... |
37c00 | 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 | ..........}...........}......... |
37c20 | 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 20 20 7d 0a 7d 0a 0a 63 6f | ..break;.......}.....}...}.}..co |
37c40 | 6e 73 74 20 42 72 6f 77 73 65 72 53 65 61 72 63 68 20 3d 20 7b 0a 20 20 61 64 64 45 6e 67 69 6e | nst.BrowserSearch.=.{...addEngin |
37c60 | 65 3a 20 66 75 6e 63 74 69 6f 6e 28 65 6e 67 69 6e 65 2c 20 74 61 72 67 65 74 44 6f 63 29 20 7b | e:.function(engine,.targetDoc).{ |
37c80 | 0a 20 20 20 20 69 66 20 28 21 74 68 69 73 2e 73 65 61 72 63 68 42 61 72 29 0a 20 20 20 20 20 20 | .....if.(!this.searchBar)....... |
37ca0 | 72 65 74 75 72 6e 3b 0a 0a 20 20 20 20 76 61 72 20 62 72 6f 77 73 65 72 20 3d 20 67 42 72 6f 77 | return;......var.browser.=.gBrow |
37cc0 | 73 65 72 2e 67 65 74 42 72 6f 77 73 65 72 46 6f 72 44 6f 63 75 6d 65 6e 74 28 74 61 72 67 65 74 | ser.getBrowserForDocument(target |
37ce0 | 44 6f 63 29 3b 0a 20 20 20 20 2f 2f 20 69 67 6e 6f 72 65 20 73 65 61 72 63 68 20 65 6e 67 69 6e | Doc);.....//.ignore.search.engin |
37d00 | 65 73 20 66 72 6f 6d 20 73 75 62 66 72 61 6d 65 73 20 28 73 65 65 20 62 75 67 20 34 37 39 34 30 | es.from.subframes.(see.bug.47940 |
37d20 | 38 29 0a 20 20 20 20 69 66 20 28 21 62 72 6f 77 73 65 72 29 0a 20 20 20 20 20 20 72 65 74 75 72 | 8).....if.(!browser).......retur |
37d40 | 6e 3b 0a 0a 20 20 20 20 2f 2f 20 43 68 65 63 6b 20 74 6f 20 73 65 65 20 77 68 65 74 68 65 72 20 | n;......//.Check.to.see.whether. |
37d60 | 77 65 27 76 65 20 61 6c 72 65 61 64 79 20 61 64 64 65 64 20 61 6e 20 65 6e 67 69 6e 65 20 77 69 | we've.already.added.an.engine.wi |
37d80 | 74 68 20 74 68 69 73 20 74 69 74 6c 65 0a 20 20 20 20 69 66 20 28 62 72 6f 77 73 65 72 2e 65 6e | th.this.title.....if.(browser.en |
37da0 | 67 69 6e 65 73 29 20 7b 0a 20 20 20 20 20 20 69 66 20 28 62 72 6f 77 73 65 72 2e 65 6e 67 69 6e | gines).{.......if.(browser.engin |
37dc0 | 65 73 2e 73 6f 6d 65 28 66 75 6e 63 74 69 6f 6e 20 28 65 29 20 65 2e 74 69 74 6c 65 20 3d 3d 20 | es.some(function.(e).e.title.==. |
37de0 | 65 6e 67 69 6e 65 2e 74 69 74 6c 65 29 29 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 | engine.title)).........return;.. |
37e00 | 20 20 20 7d 0a 0a 20 20 20 20 2f 2f 20 41 70 70 65 6e 64 20 74 68 65 20 55 52 49 20 61 6e 64 20 | ...}......//.Append.the.URI.and. |
37e20 | 61 6e 20 61 70 70 72 6f 70 72 69 61 74 65 20 74 69 74 6c 65 20 74 6f 20 74 68 65 20 62 72 6f 77 | an.appropriate.title.to.the.brow |
37e40 | 73 65 72 20 64 61 74 61 2e 0a 20 20 20 20 2f 2f 20 55 73 65 20 64 6f 63 75 6d 65 6e 74 55 52 49 | ser.data......//.Use.documentURI |
37e60 | 4f 62 6a 65 63 74 20 69 6e 20 74 68 65 20 63 68 65 63 6b 20 66 6f 72 20 73 68 6f 75 6c 64 4c 6f | Object.in.the.check.for.shouldLo |
37e80 | 61 64 46 61 76 49 63 6f 6e 20 73 6f 20 74 68 61 74 20 77 65 0a 20 20 20 20 2f 2f 20 64 6f 20 74 | adFavIcon.so.that.we.....//.do.t |
37ea0 | 68 65 20 72 69 67 68 74 20 74 68 69 6e 67 20 77 69 74 68 20 61 62 6f 75 74 3a 2d 73 74 79 6c 65 | he.right.thing.with.about:-style |
37ec0 | 20 65 72 72 6f 72 20 70 61 67 65 73 2e 20 20 42 75 67 20 34 35 33 34 34 32 0a 20 20 20 20 76 61 | .error.pages...Bug.453442.....va |
37ee0 | 72 20 69 63 6f 6e 55 52 4c 20 3d 20 6e 75 6c 6c 3b 0a 20 20 20 20 69 66 20 28 67 42 72 6f 77 73 | r.iconURL.=.null;.....if.(gBrows |
37f00 | 65 72 2e 73 68 6f 75 6c 64 4c 6f 61 64 46 61 76 49 63 6f 6e 28 74 61 72 67 65 74 44 6f 63 2e 64 | er.shouldLoadFavIcon(targetDoc.d |
37f20 | 6f 63 75 6d 65 6e 74 55 52 49 4f 62 6a 65 63 74 29 29 0a 20 20 20 20 20 20 69 63 6f 6e 55 52 4c | ocumentURIObject)).......iconURL |
37f40 | 20 3d 20 74 61 72 67 65 74 44 6f 63 2e 64 6f 63 75 6d 65 6e 74 55 52 49 4f 62 6a 65 63 74 2e 70 | .=.targetDoc.documentURIObject.p |
37f60 | 72 65 50 61 74 68 20 2b 20 22 2f 66 61 76 69 63 6f 6e 2e 69 63 6f 22 3b 0a 0a 20 20 20 20 76 61 | rePath.+."/favicon.ico";......va |
37f80 | 72 20 68 69 64 64 65 6e 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 2f 2f 20 49 66 20 74 68 69 73 | r.hidden.=.false;.....//.If.this |
37fa0 | 20 65 6e 67 69 6e 65 20 28 69 64 65 6e 74 69 66 69 65 64 20 62 79 20 74 69 74 6c 65 29 20 69 73 | .engine.(identified.by.title).is |
37fc0 | 20 61 6c 72 65 61 64 79 20 69 6e 20 74 68 65 20 6c 69 73 74 2c 20 61 64 64 20 69 74 0a 20 20 20 | .already.in.the.list,.add.it.... |
37fe0 | 20 2f 2f 20 74 6f 20 74 68 65 20 6c 69 73 74 20 6f 66 20 68 69 64 64 65 6e 20 65 6e 67 69 6e 65 | .//.to.the.list.of.hidden.engine |
38000 | 73 20 72 61 74 68 65 72 20 74 68 61 6e 20 74 6f 20 74 68 65 20 6d 61 69 6e 20 6c 69 73 74 2e 0a | s.rather.than.to.the.main.list.. |
38020 | 20 20 20 20 2f 2f 20 58 58 58 20 54 68 69 73 20 77 69 6c 6c 20 6e 65 65 64 20 74 6f 20 62 65 20 | ....//.XXX.This.will.need.to.be. |
38040 | 63 68 61 6e 67 65 64 20 77 68 65 6e 20 65 6e 67 69 6e 65 73 20 61 72 65 20 69 64 65 6e 74 69 66 | changed.when.engines.are.identif |
38060 | 69 65 64 20 62 79 20 55 52 4c 3b 0a 20 20 20 20 2f 2f 20 73 65 65 20 62 75 67 20 33 33 35 31 30 | ied.by.URL;.....//.see.bug.33510 |
38080 | 32 2e 0a 20 20 20 20 76 61 72 20 73 65 61 72 63 68 53 65 72 76 69 63 65 20 3d 20 43 63 5b 22 40 | 2......var.searchService.=.Cc["@ |
380a0 | 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 62 72 6f 77 73 65 72 2f 73 65 61 72 63 68 2d 73 65 72 76 69 | mozilla.org/browser/search-servi |
380c0 | 63 65 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ce;1"].......................... |
380e0 | 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 42 72 6f 77 73 65 72 53 65 61 72 63 68 53 65 | getService(Ci.nsIBrowserSearchSe |
38100 | 72 76 69 63 65 29 3b 0a 20 20 20 20 69 66 20 28 73 65 61 72 63 68 53 65 72 76 69 63 65 2e 67 65 | rvice);.....if.(searchService.ge |
38120 | 74 45 6e 67 69 6e 65 42 79 4e 61 6d 65 28 65 6e 67 69 6e 65 2e 74 69 74 6c 65 29 29 0a 20 20 20 | tEngineByName(engine.title)).... |
38140 | 20 20 20 68 69 64 64 65 6e 20 3d 20 74 72 75 65 3b 0a 0a 20 20 20 20 76 61 72 20 65 6e 67 69 6e | ...hidden.=.true;......var.engin |
38160 | 65 73 20 3d 20 28 68 69 64 64 65 6e 20 3f 20 62 72 6f 77 73 65 72 2e 68 69 64 64 65 6e 45 6e 67 | es.=.(hidden.?.browser.hiddenEng |
38180 | 69 6e 65 73 20 3a 20 62 72 6f 77 73 65 72 2e 65 6e 67 69 6e 65 73 29 20 7c 7c 20 5b 5d 3b 0a 0a | ines.:.browser.engines).||.[];.. |
381a0 | 20 20 20 20 65 6e 67 69 6e 65 73 2e 70 75 73 68 28 7b 20 75 72 69 3a 20 65 6e 67 69 6e 65 2e 68 | ....engines.push({.uri:.engine.h |
381c0 | 72 65 66 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 69 74 6c 65 3a 20 65 | ref,....................title:.e |
381e0 | 6e 67 69 6e 65 2e 74 69 74 6c 65 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ngine.title,.................... |
38200 | 69 63 6f 6e 3a 20 69 63 6f 6e 55 52 4c 20 7d 29 3b 0a 0a 20 20 20 20 69 66 20 28 68 69 64 64 65 | icon:.iconURL.});......if.(hidde |
38220 | 6e 29 0a 20 20 20 20 20 20 62 72 6f 77 73 65 72 2e 68 69 64 64 65 6e 45 6e 67 69 6e 65 73 20 3d | n).......browser.hiddenEngines.= |
38240 | 20 65 6e 67 69 6e 65 73 3b 0a 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 62 72 6f 77 73 | .engines;.....else.{.......brows |
38260 | 65 72 2e 65 6e 67 69 6e 65 73 20 3d 20 65 6e 67 69 6e 65 73 3b 0a 20 20 20 20 20 20 69 66 20 28 | er.engines.=.engines;.......if.( |
38280 | 62 72 6f 77 73 65 72 20 3d 3d 20 67 42 72 6f 77 73 65 72 2e 6d 43 75 72 72 65 6e 74 42 72 6f 77 | browser.==.gBrowser.mCurrentBrow |
382a0 | 73 65 72 29 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 75 70 64 61 74 65 53 65 61 72 63 68 42 75 | ser).........this.updateSearchBu |
382c0 | 74 74 6f 6e 28 29 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 55 | tton();.....}...},..../**....*.U |
382e0 | 70 64 61 74 65 20 74 68 65 20 62 72 6f 77 73 65 72 20 55 49 20 74 6f 20 73 68 6f 77 20 77 68 65 | pdate.the.browser.UI.to.show.whe |
38300 | 74 68 65 72 20 6f 72 20 6e 6f 74 20 61 64 64 69 74 69 6f 6e 61 6c 20 65 6e 67 69 6e 65 73 20 61 | ther.or.not.additional.engines.a |
38320 | 72 65 20 0a 20 20 20 2a 20 61 76 61 69 6c 61 62 6c 65 20 77 68 65 6e 20 61 20 70 61 67 65 20 69 | re.....*.available.when.a.page.i |
38340 | 73 20 6c 6f 61 64 65 64 20 6f 72 20 74 68 65 20 75 73 65 72 20 73 77 69 74 63 68 65 73 20 74 61 | s.loaded.or.the.user.switches.ta |
38360 | 62 73 20 74 6f 20 61 20 70 61 67 65 20 74 68 61 74 20 0a 20 20 20 2a 20 68 61 73 20 73 65 61 72 | bs.to.a.page.that.....*.has.sear |
38380 | 63 68 20 65 6e 67 69 6e 65 73 2e 0a 20 20 20 2a 2f 0a 20 20 75 70 64 61 74 65 53 65 61 72 63 68 | ch.engines.....*/...updateSearch |
383a0 | 42 75 74 74 6f 6e 3a 20 66 75 6e 63 74 69 6f 6e 28 29 20 7b 0a 20 20 20 20 76 61 72 20 73 65 61 | Button:.function().{.....var.sea |
383c0 | 72 63 68 42 61 72 20 3d 20 74 68 69 73 2e 73 65 61 72 63 68 42 61 72 3b 0a 20 20 20 20 0a 20 20 | rchBar.=.this.searchBar;........ |
383e0 | 20 20 2f 2f 20 54 68 65 20 73 65 61 72 63 68 20 62 61 72 20 62 69 6e 64 69 6e 67 20 6d 69 67 68 | ..//.The.search.bar.binding.migh |
38400 | 74 20 6e 6f 74 20 62 65 20 61 70 70 6c 69 65 64 20 65 76 65 6e 20 74 68 6f 75 67 68 20 74 68 65 | t.not.be.applied.even.though.the |
38420 | 20 65 6c 65 6d 65 6e 74 20 69 73 0a 20 20 20 20 2f 2f 20 69 6e 20 74 68 65 20 64 6f 63 75 6d 65 | .element.is.....//.in.the.docume |
38440 | 6e 74 20 28 65 2e 67 2e 20 77 68 65 6e 20 74 68 65 20 6e 61 76 69 67 61 74 69 6f 6e 20 74 6f 6f | nt.(e.g..when.the.navigation.too |
38460 | 6c 62 61 72 20 69 73 20 68 69 64 64 65 6e 29 2c 20 73 6f 20 63 68 65 63 6b 0a 20 20 20 20 2f 2f | lbar.is.hidden),.so.check.....// |
38480 | 20 66 6f 72 20 2e 73 65 61 72 63 68 42 75 74 74 6f 6e 20 73 70 65 63 69 66 69 63 61 6c 6c 79 2e | .for..searchButton.specifically. |
384a0 | 0a 20 20 20 20 69 66 20 28 21 73 65 61 72 63 68 42 61 72 20 7c 7c 20 21 73 65 61 72 63 68 42 61 | .....if.(!searchBar.||.!searchBa |
384c0 | 72 2e 73 65 61 72 63 68 42 75 74 74 6f 6e 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 | r.searchButton).......return;... |
384e0 | 20 20 20 76 61 72 20 65 6e 67 69 6e 65 73 20 3d 20 67 42 72 6f 77 73 65 72 2e 6d 43 75 72 72 65 | ...var.engines.=.gBrowser.mCurre |
38500 | 6e 74 42 72 6f 77 73 65 72 2e 65 6e 67 69 6e 65 73 3b 0a 20 20 20 20 69 66 20 28 65 6e 67 69 6e | ntBrowser.engines;.....if.(engin |
38520 | 65 73 20 26 26 20 65 6e 67 69 6e 65 73 2e 6c 65 6e 67 74 68 20 3e 20 30 29 0a 20 20 20 20 20 20 | es.&&.engines.length.>.0)....... |
38540 | 73 65 61 72 63 68 42 61 72 2e 73 65 61 72 63 68 42 75 74 74 6f 6e 2e 73 65 74 41 74 74 72 69 62 | searchBar.searchButton.setAttrib |
38560 | 75 74 65 28 22 61 64 64 65 6e 67 69 6e 65 73 22 2c 20 22 74 72 75 65 22 29 3b 0a 20 20 20 20 65 | ute("addengines",."true");.....e |
38580 | 6c 73 65 0a 20 20 20 20 20 20 73 65 61 72 63 68 42 61 72 2e 73 65 61 72 63 68 42 75 74 74 6f 6e | lse.......searchBar.searchButton |
385a0 | 2e 72 65 6d 6f 76 65 41 74 74 72 69 62 75 74 65 28 22 61 64 64 65 6e 67 69 6e 65 73 22 29 3b 0a | .removeAttribute("addengines");. |
385c0 | 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 47 69 76 65 73 20 66 6f 63 75 73 20 74 6f 20 | ..},..../**....*.Gives.focus.to. |
385e0 | 74 68 65 20 73 65 61 72 63 68 20 62 61 72 2c 20 69 66 20 69 74 20 69 73 20 70 72 65 73 65 6e 74 | the.search.bar,.if.it.is.present |
38600 | 20 6f 6e 20 74 68 65 20 74 6f 6f 6c 62 61 72 2c 20 6f 72 20 6c 6f 61 64 73 0a 20 20 20 2a 20 74 | .on.the.toolbar,.or.loads....*.t |
38620 | 68 65 20 64 65 66 61 75 6c 74 20 65 6e 67 69 6e 65 27 73 20 73 65 61 72 63 68 20 66 6f 72 6d 20 | he.default.engine's.search.form. |
38640 | 6f 74 68 65 72 77 69 73 65 2e 20 46 6f 72 20 4d 61 63 2c 20 6f 70 65 6e 73 20 61 20 6e 65 77 20 | otherwise..For.Mac,.opens.a.new. |
38660 | 77 69 6e 64 6f 77 0a 20 20 20 2a 20 6f 72 20 66 6f 63 75 73 65 73 20 61 6e 20 65 78 69 73 74 69 | window....*.or.focuses.an.existi |
38680 | 6e 67 20 77 69 6e 64 6f 77 2c 20 69 66 20 6e 65 63 65 73 73 61 72 79 2e 0a 20 20 20 2a 2f 0a 20 | ng.window,.if.necessary.....*/.. |
386a0 | 20 77 65 62 53 65 61 72 63 68 3a 20 66 75 6e 63 74 69 6f 6e 20 42 72 6f 77 73 65 72 53 65 61 72 | .webSearch:.function.BrowserSear |
386c0 | 63 68 5f 77 65 62 53 65 61 72 63 68 28 29 20 7b 0a 2f 2f 40 6c 69 6e 65 20 33 30 39 36 20 22 2f | ch_webSearch().{.//@line.3096."/ |
386e0 | 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 | builds/moz2_slave/linux_build/bu |
38700 | 69 6c 64 2f 62 72 6f 77 73 65 72 2f 62 61 73 65 2f 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 | ild/browser/base/content/browser |
38720 | 2e 6a 73 22 0a 20 20 20 20 69 66 20 28 77 69 6e 64 6f 77 2e 66 75 6c 6c 53 63 72 65 65 6e 29 0a | .js".....if.(window.fullScreen). |
38740 | 20 20 20 20 20 20 46 75 6c 6c 53 63 72 65 65 6e 2e 6d 6f 75 73 65 6f 76 65 72 54 6f 67 67 6c 65 | ......FullScreen.mouseoverToggle |
38760 | 28 74 72 75 65 29 3b 0a 0a 20 20 20 20 76 61 72 20 73 65 61 72 63 68 42 61 72 20 3d 20 74 68 69 | (true);......var.searchBar.=.thi |
38780 | 73 2e 73 65 61 72 63 68 42 61 72 3b 0a 20 20 20 20 69 66 20 28 69 73 45 6c 65 6d 65 6e 74 56 69 | s.searchBar;.....if.(isElementVi |
387a0 | 73 69 62 6c 65 28 73 65 61 72 63 68 42 61 72 29 29 20 7b 0a 20 20 20 20 20 20 73 65 61 72 63 68 | sible(searchBar)).{.......search |
387c0 | 42 61 72 2e 73 65 6c 65 63 74 28 29 3b 0a 20 20 20 20 20 20 73 65 61 72 63 68 42 61 72 2e 66 6f | Bar.select();.......searchBar.fo |
387e0 | 63 75 73 28 29 3b 0a 20 20 20 20 7d 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 76 61 72 20 73 73 | cus();.....}.else.{.......var.ss |
38800 | 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 62 72 6f 77 73 65 72 2f 73 65 61 72 | .=.Cc["@mozilla.org/browser/sear |
38820 | 63 68 2d 73 65 72 76 69 63 65 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 | ch-service;1"].................g |
38840 | 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 42 72 6f 77 73 65 72 53 65 61 72 63 68 53 65 72 | etService(Ci.nsIBrowserSearchSer |
38860 | 76 69 63 65 29 3b 0a 20 20 20 20 20 20 76 61 72 20 73 65 61 72 63 68 46 6f 72 6d 20 3d 20 73 73 | vice);.......var.searchForm.=.ss |
38880 | 2e 64 65 66 61 75 6c 74 45 6e 67 69 6e 65 2e 73 65 61 72 63 68 46 6f 72 6d 3b 0a 20 20 20 20 20 | .defaultEngine.searchForm;...... |
388a0 | 20 6c 6f 61 64 55 52 49 28 73 65 61 72 63 68 46 6f 72 6d 2c 20 6e 75 6c 6c 2c 20 6e 75 6c 6c 2c | .loadURI(searchForm,.null,.null, |
388c0 | 20 66 61 6c 73 65 29 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 | .false);.....}...},..../**....*. |
388e0 | 4c 6f 61 64 73 20 61 20 73 65 61 72 63 68 20 72 65 73 75 6c 74 73 20 70 61 67 65 2c 20 67 69 76 | Loads.a.search.results.page,.giv |
38900 | 65 6e 20 61 20 73 65 74 20 6f 66 20 73 65 61 72 63 68 20 74 65 72 6d 73 2e 20 55 73 65 73 20 74 | en.a.set.of.search.terms..Uses.t |
38920 | 68 65 20 63 75 72 72 65 6e 74 0a 20 20 20 2a 20 65 6e 67 69 6e 65 20 69 66 20 74 68 65 20 73 65 | he.current....*.engine.if.the.se |
38940 | 61 72 63 68 20 62 61 72 20 69 73 20 76 69 73 69 62 6c 65 2c 20 6f 72 20 74 68 65 20 64 65 66 61 | arch.bar.is.visible,.or.the.defa |
38960 | 75 6c 74 20 65 6e 67 69 6e 65 20 6f 74 68 65 72 77 69 73 65 2e 0a 20 20 20 2a 0a 20 20 20 2a 20 | ult.engine.otherwise.....*....*. |
38980 | 40 70 61 72 61 6d 20 73 65 61 72 63 68 54 65 78 74 0a 20 20 20 2a 20 20 20 20 20 20 20 20 54 68 | @param.searchText....*........Th |
389a0 | 65 20 73 65 61 72 63 68 20 74 65 72 6d 73 20 74 6f 20 75 73 65 20 66 6f 72 20 74 68 65 20 73 65 | e.search.terms.to.use.for.the.se |
389c0 | 61 72 63 68 2e 0a 20 20 20 2a 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 75 73 65 4e 65 77 54 61 62 | arch.....*....*.@param.useNewTab |
389e0 | 0a 20 20 20 2a 20 20 20 20 20 20 20 20 42 6f 6f 6c 65 61 6e 20 69 6e 64 69 63 61 74 69 6e 67 20 | ....*........Boolean.indicating. |
38a00 | 77 68 65 74 68 65 72 20 6f 72 20 6e 6f 74 20 74 68 65 20 73 65 61 72 63 68 20 73 68 6f 75 6c 64 | whether.or.not.the.search.should |
38a20 | 20 6c 6f 61 64 20 69 6e 20 61 20 6e 65 77 0a 20 20 20 2a 20 20 20 20 20 20 20 20 74 61 62 2e 0a | .load.in.a.new....*........tab.. |
38a40 | 20 20 20 2a 2f 0a 20 20 6c 6f 61 64 53 65 61 72 63 68 3a 20 66 75 6e 63 74 69 6f 6e 20 42 72 6f | ...*/...loadSearch:.function.Bro |
38a60 | 77 73 65 72 53 65 61 72 63 68 5f 73 65 61 72 63 68 28 73 65 61 72 63 68 54 65 78 74 2c 20 75 73 | wserSearch_search(searchText,.us |
38a80 | 65 4e 65 77 54 61 62 29 20 7b 0a 20 20 20 20 76 61 72 20 73 73 20 3d 20 43 63 5b 22 40 6d 6f 7a | eNewTab).{.....var.ss.=.Cc["@moz |
38aa0 | 69 6c 6c 61 2e 6f 72 67 2f 62 72 6f 77 73 65 72 2f 73 65 61 72 63 68 2d 73 65 72 76 69 63 65 3b | illa.org/browser/search-service; |
38ac0 | 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 69 2e | 1"]...............getService(Ci. |
38ae0 | 6e 73 49 42 72 6f 77 73 65 72 53 65 61 72 63 68 53 65 72 76 69 63 65 29 3b 0a 20 20 20 20 76 61 | nsIBrowserSearchService);.....va |
38b00 | 72 20 65 6e 67 69 6e 65 3b 0a 20 20 0a 20 20 20 20 2f 2f 20 49 66 20 74 68 65 20 73 65 61 72 63 | r.engine;........//.If.the.searc |
38b20 | 68 20 62 61 72 20 69 73 20 76 69 73 69 62 6c 65 2c 20 75 73 65 20 74 68 65 20 63 75 72 72 65 6e | h.bar.is.visible,.use.the.curren |
38b40 | 74 20 65 6e 67 69 6e 65 2c 20 6f 74 68 65 72 77 69 73 65 2c 20 66 61 6c 6c 0a 20 20 20 20 2f 2f | t.engine,.otherwise,.fall.....// |
38b60 | 20 62 61 63 6b 20 74 6f 20 74 68 65 20 64 65 66 61 75 6c 74 20 65 6e 67 69 6e 65 2e 0a 20 20 20 | .back.to.the.default.engine..... |
38b80 | 20 69 66 20 28 69 73 45 6c 65 6d 65 6e 74 56 69 73 69 62 6c 65 28 74 68 69 73 2e 73 65 61 72 63 | .if.(isElementVisible(this.searc |
38ba0 | 68 42 61 72 29 29 0a 20 20 20 20 20 20 65 6e 67 69 6e 65 20 3d 20 73 73 2e 63 75 72 72 65 6e 74 | hBar)).......engine.=.ss.current |
38bc0 | 45 6e 67 69 6e 65 3b 0a 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 65 6e 67 69 6e 65 20 3d 20 | Engine;.....else.......engine.=. |
38be0 | 73 73 2e 64 65 66 61 75 6c 74 45 6e 67 69 6e 65 3b 0a 20 20 0a 20 20 20 20 76 61 72 20 73 75 62 | ss.defaultEngine;........var.sub |
38c00 | 6d 69 73 73 69 6f 6e 20 3d 20 65 6e 67 69 6e 65 2e 67 65 74 53 75 62 6d 69 73 73 69 6f 6e 28 73 | mission.=.engine.getSubmission(s |
38c20 | 65 61 72 63 68 54 65 78 74 2c 20 6e 75 6c 6c 29 3b 20 2f 2f 20 48 54 4d 4c 20 72 65 73 70 6f 6e | earchText,.null);.//.HTML.respon |
38c40 | 73 65 0a 0a 20 20 20 20 2f 2f 20 67 65 74 53 75 62 6d 69 73 73 69 6f 6e 20 63 61 6e 20 72 65 74 | se......//.getSubmission.can.ret |
38c60 | 75 72 6e 20 6e 75 6c 6c 20 69 66 20 74 68 65 20 65 6e 67 69 6e 65 20 64 6f 65 73 6e 27 74 20 68 | urn.null.if.the.engine.doesn't.h |
38c80 | 61 76 65 20 61 20 55 52 4c 0a 20 20 20 20 2f 2f 20 77 69 74 68 20 61 20 74 65 78 74 2f 68 74 6d | ave.a.URL.....//.with.a.text/htm |
38ca0 | 6c 20 72 65 73 70 6f 6e 73 65 20 74 79 70 65 2e 20 20 54 68 69 73 20 69 73 20 75 6e 6c 69 6b 65 | l.response.type...This.is.unlike |
38cc0 | 6c 79 20 28 73 69 6e 63 65 0a 20 20 20 20 2f 2f 20 53 65 61 72 63 68 53 65 72 76 69 63 65 2e 5f | ly.(since.....//.SearchService._ |
38ce0 | 61 64 64 45 6e 67 69 6e 65 54 6f 53 74 6f 72 65 28 29 20 73 68 6f 75 6c 64 20 66 61 69 6c 20 66 | addEngineToStore().should.fail.f |
38d00 | 6f 72 20 73 75 63 68 20 61 6e 20 65 6e 67 69 6e 65 29 2c 0a 20 20 20 20 2f 2f 20 62 75 74 20 6c | or.such.an.engine),.....//.but.l |
38d20 | 65 74 27 73 20 62 65 20 6f 6e 20 74 68 65 20 73 61 66 65 20 73 69 64 65 2e 0a 20 20 20 20 69 66 | et's.be.on.the.safe.side......if |
38d40 | 20 28 21 73 75 62 6d 69 73 73 69 6f 6e 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 0a | .(!submission).......return;.... |
38d60 | 20 20 20 20 69 66 20 28 75 73 65 4e 65 77 54 61 62 29 20 7b 0a 20 20 20 20 20 20 67 42 72 6f 77 | ....if.(useNewTab).{.......gBrow |
38d80 | 73 65 72 2e 6c 6f 61 64 4f 6e 65 54 61 62 28 73 75 62 6d 69 73 73 69 6f 6e 2e 75 72 69 2e 73 70 | ser.loadOneTab(submission.uri.sp |
38da0 | 65 63 2c 20 6e 75 6c 6c 2c 20 6e 75 6c 6c 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ec,.null,.null,................. |
38dc0 | 20 20 20 20 20 20 20 20 20 20 73 75 62 6d 69 73 73 69 6f 6e 2e 70 6f 73 74 44 61 74 61 2c 20 6e | ..........submission.postData,.n |
38de0 | 75 6c 6c 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 20 7d 20 65 6c 73 65 0a 20 20 20 20 20 20 6c 6f | ull,.false);.....}.else.......lo |
38e00 | 61 64 55 52 49 28 73 75 62 6d 69 73 73 69 6f 6e 2e 75 72 69 2e 73 70 65 63 2c 20 6e 75 6c 6c 2c | adURI(submission.uri.spec,.null, |
38e20 | 20 73 75 62 6d 69 73 73 69 6f 6e 2e 70 6f 73 74 44 61 74 61 2c 20 66 61 6c 73 65 29 3b 0a 20 20 | .submission.postData,.false);... |
38e40 | 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 52 65 74 75 72 6e 73 20 74 68 65 20 73 65 61 72 63 | },..../**....*.Returns.the.searc |
38e60 | 68 20 62 61 72 20 65 6c 65 6d 65 6e 74 20 69 66 20 69 74 20 69 73 20 70 72 65 73 65 6e 74 20 69 | h.bar.element.if.it.is.present.i |
38e80 | 6e 20 74 68 65 20 74 6f 6f 6c 62 61 72 2c 20 6e 75 6c 6c 20 6f 74 68 65 72 77 69 73 65 2e 0a 20 | n.the.toolbar,.null.otherwise... |
38ea0 | 20 20 2a 2f 0a 20 20 67 65 74 20 73 65 61 72 63 68 42 61 72 28 29 20 7b 0a 20 20 20 20 72 65 74 | ..*/...get.searchBar().{.....ret |
38ec0 | 75 72 6e 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 73 65 61 | urn.document.getElementById("sea |
38ee0 | 72 63 68 62 61 72 22 29 3b 0a 20 20 7d 2c 0a 0a 20 20 6c 6f 61 64 41 64 64 45 6e 67 69 6e 65 73 | rchbar");...},....loadAddEngines |
38f00 | 3a 20 66 75 6e 63 74 69 6f 6e 20 42 72 6f 77 73 65 72 53 65 61 72 63 68 5f 6c 6f 61 64 41 64 64 | :.function.BrowserSearch_loadAdd |
38f20 | 45 6e 67 69 6e 65 73 28 29 20 7b 0a 20 20 20 20 76 61 72 20 6e 65 77 57 69 6e 64 6f 77 50 72 65 | Engines().{.....var.newWindowPre |
38f40 | 66 20 3d 20 67 50 72 65 66 53 65 72 76 69 63 65 2e 67 65 74 49 6e 74 50 72 65 66 28 22 62 72 6f | f.=.gPrefService.getIntPref("bro |
38f60 | 77 73 65 72 2e 6c 69 6e 6b 2e 6f 70 65 6e 5f 6e 65 77 77 69 6e 64 6f 77 22 29 3b 0a 20 20 20 20 | wser.link.open_newwindow");..... |
38f80 | 76 61 72 20 77 68 65 72 65 20 3d 20 6e 65 77 57 69 6e 64 6f 77 50 72 65 66 20 3d 3d 20 33 20 3f | var.where.=.newWindowPref.==.3.? |
38fa0 | 20 22 74 61 62 22 20 3a 20 22 77 69 6e 64 6f 77 22 3b 0a 20 20 20 20 76 61 72 20 72 65 67 69 6f | ."tab".:."window";.....var.regio |
38fc0 | 6e 42 75 6e 64 6c 65 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 | nBundle.=.document.getElementByI |
38fe0 | 64 28 22 62 75 6e 64 6c 65 5f 62 72 6f 77 73 65 72 5f 72 65 67 69 6f 6e 22 29 3b 0a 20 20 20 20 | d("bundle_browser_region");..... |
39000 | 76 61 72 20 73 65 61 72 63 68 45 6e 67 69 6e 65 73 55 52 4c 20 3d 20 66 6f 72 6d 61 74 55 52 4c | var.searchEnginesURL.=.formatURL |
39020 | 28 22 62 72 6f 77 73 65 72 2e 73 65 61 72 63 68 2e 73 65 61 72 63 68 45 6e 67 69 6e 65 73 55 52 | ("browser.search.searchEnginesUR |
39040 | 4c 22 2c 20 74 72 75 65 29 3b 0a 20 20 20 20 6f 70 65 6e 55 49 4c 69 6e 6b 49 6e 28 73 65 61 72 | L",.true);.....openUILinkIn(sear |
39060 | 63 68 45 6e 67 69 6e 65 73 55 52 4c 2c 20 77 68 65 72 65 29 3b 0a 20 20 7d 0a 7d 0a 0a 66 75 6e | chEnginesURL,.where);...}.}..fun |
39080 | 63 74 69 6f 6e 20 46 69 6c 6c 48 69 73 74 6f 72 79 4d 65 6e 75 28 61 50 61 72 65 6e 74 29 20 7b | ction.FillHistoryMenu(aParent).{ |
390a0 | 0a 20 20 2f 2f 20 52 65 6d 6f 76 65 20 6f 6c 64 20 65 6e 74 72 69 65 73 20 69 66 20 61 6e 79 0a | ...//.Remove.old.entries.if.any. |
390c0 | 20 20 76 61 72 20 63 68 69 6c 64 72 65 6e 20 3d 20 61 50 61 72 65 6e 74 2e 63 68 69 6c 64 4e 6f | ..var.children.=.aParent.childNo |
390e0 | 64 65 73 3b 0a 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 63 68 69 6c 64 72 65 6e 2e 6c 65 6e | des;...for.(var.i.=.children.len |
39100 | 67 74 68 20 2d 20 31 3b 20 69 20 3e 3d 20 30 3b 20 2d 2d 69 29 20 7b 0a 20 20 20 20 69 66 20 28 | gth.-.1;.i.>=.0;.--i).{.....if.( |
39120 | 63 68 69 6c 64 72 65 6e 5b 69 5d 2e 68 61 73 41 74 74 72 69 62 75 74 65 28 22 69 6e 64 65 78 22 | children[i].hasAttribute("index" |
39140 | 29 29 0a 20 20 20 20 20 20 61 50 61 72 65 6e 74 2e 72 65 6d 6f 76 65 43 68 69 6c 64 28 63 68 69 | )).......aParent.removeChild(chi |
39160 | 6c 64 72 65 6e 5b 69 5d 29 3b 0a 20 20 7d 0a 0a 20 20 76 61 72 20 77 65 62 4e 61 76 20 3d 20 67 | ldren[i]);...}....var.webNav.=.g |
39180 | 65 74 57 65 62 4e 61 76 69 67 61 74 69 6f 6e 28 29 3b 0a 20 20 76 61 72 20 73 65 73 73 69 6f 6e | etWebNavigation();...var.session |
391a0 | 48 69 73 74 6f 72 79 20 3d 20 77 65 62 4e 61 76 2e 73 65 73 73 69 6f 6e 48 69 73 74 6f 72 79 3b | History.=.webNav.sessionHistory; |
391c0 | 0a 20 20 76 61 72 20 62 75 6e 64 6c 65 5f 62 72 6f 77 73 65 72 20 3d 20 64 6f 63 75 6d 65 6e 74 | ...var.bundle_browser.=.document |
391e0 | 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 62 75 6e 64 6c 65 5f 62 72 6f 77 73 65 72 22 | .getElementById("bundle_browser" |
39200 | 29 3b 0a 0a 20 20 76 61 72 20 63 6f 75 6e 74 20 3d 20 73 65 73 73 69 6f 6e 48 69 73 74 6f 72 79 | );....var.count.=.sessionHistory |
39220 | 2e 63 6f 75 6e 74 3b 0a 20 20 76 61 72 20 69 6e 64 65 78 20 3d 20 73 65 73 73 69 6f 6e 48 69 73 | .count;...var.index.=.sessionHis |
39240 | 74 6f 72 79 2e 69 6e 64 65 78 3b 0a 20 20 76 61 72 20 65 6e 64 3b 0a 0a 20 20 69 66 20 28 63 6f | tory.index;...var.end;....if.(co |
39260 | 75 6e 74 20 3c 3d 20 31 29 20 2f 2f 20 64 6f 6e 27 74 20 64 69 73 70 6c 61 79 20 74 68 65 20 70 | unt.<=.1).//.don't.display.the.p |
39280 | 6f 70 75 70 20 66 6f 72 20 61 20 73 69 6e 67 6c 65 20 69 74 65 6d 0a 20 20 20 20 72 65 74 75 72 | opup.for.a.single.item.....retur |
392a0 | 6e 20 66 61 6c 73 65 3b 0a 0a 20 20 76 61 72 20 68 61 6c 66 5f 6c 65 6e 67 74 68 20 3d 20 4d 61 | n.false;....var.half_length.=.Ma |
392c0 | 74 68 2e 66 6c 6f 6f 72 28 4d 41 58 5f 48 49 53 54 4f 52 59 5f 4d 45 4e 55 5f 49 54 45 4d 53 20 | th.floor(MAX_HISTORY_MENU_ITEMS. |
392e0 | 2f 20 32 29 3b 0a 20 20 76 61 72 20 73 74 61 72 74 20 3d 20 4d 61 74 68 2e 6d 61 78 28 69 6e 64 | /.2);...var.start.=.Math.max(ind |
39300 | 65 78 20 2d 20 68 61 6c 66 5f 6c 65 6e 67 74 68 2c 20 30 29 3b 0a 20 20 65 6e 64 20 3d 20 4d 61 | ex.-.half_length,.0);...end.=.Ma |
39320 | 74 68 2e 6d 69 6e 28 73 74 61 72 74 20 3d 3d 20 30 20 3f 20 4d 41 58 5f 48 49 53 54 4f 52 59 5f | th.min(start.==.0.?.MAX_HISTORY_ |
39340 | 4d 45 4e 55 5f 49 54 45 4d 53 20 3a 20 69 6e 64 65 78 20 2b 20 68 61 6c 66 5f 6c 65 6e 67 74 68 | MENU_ITEMS.:.index.+.half_length |
39360 | 20 2b 20 31 2c 20 63 6f 75 6e 74 29 3b 0a 20 20 69 66 20 28 65 6e 64 20 3d 3d 20 63 6f 75 6e 74 | .+.1,.count);...if.(end.==.count |
39380 | 29 0a 20 20 20 20 73 74 61 72 74 20 3d 20 4d 61 74 68 2e 6d 61 78 28 63 6f 75 6e 74 20 2d 20 4d | ).....start.=.Math.max(count.-.M |
393a0 | 41 58 5f 48 49 53 54 4f 52 59 5f 4d 45 4e 55 5f 49 54 45 4d 53 2c 20 30 29 3b 0a 0a 20 20 76 61 | AX_HISTORY_MENU_ITEMS,.0);....va |
393c0 | 72 20 74 6f 6f 6c 74 69 70 42 61 63 6b 20 3d 20 62 75 6e 64 6c 65 5f 62 72 6f 77 73 65 72 2e 67 | r.tooltipBack.=.bundle_browser.g |
393e0 | 65 74 53 74 72 69 6e 67 28 22 74 61 62 48 69 73 74 6f 72 79 2e 67 6f 42 61 63 6b 22 29 3b 0a 20 | etString("tabHistory.goBack");.. |
39400 | 20 76 61 72 20 74 6f 6f 6c 74 69 70 43 75 72 72 65 6e 74 20 3d 20 62 75 6e 64 6c 65 5f 62 72 6f | .var.tooltipCurrent.=.bundle_bro |
39420 | 77 73 65 72 2e 67 65 74 53 74 72 69 6e 67 28 22 74 61 62 48 69 73 74 6f 72 79 2e 63 75 72 72 65 | wser.getString("tabHistory.curre |
39440 | 6e 74 22 29 3b 0a 20 20 76 61 72 20 74 6f 6f 6c 74 69 70 46 6f 72 77 61 72 64 20 3d 20 62 75 6e | nt");...var.tooltipForward.=.bun |
39460 | 64 6c 65 5f 62 72 6f 77 73 65 72 2e 67 65 74 53 74 72 69 6e 67 28 22 74 61 62 48 69 73 74 6f 72 | dle_browser.getString("tabHistor |
39480 | 79 2e 67 6f 46 6f 72 77 61 72 64 22 29 3b 0a 0a 20 20 66 6f 72 20 28 76 61 72 20 6a 20 3d 20 65 | y.goForward");....for.(var.j.=.e |
394a0 | 6e 64 20 2d 20 31 3b 20 6a 20 3e 3d 20 73 74 61 72 74 3b 20 6a 2d 2d 29 20 7b 0a 20 20 20 20 6c | nd.-.1;.j.>=.start;.j--).{.....l |
394c0 | 65 74 20 69 74 65 6d 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 63 72 65 61 74 65 45 6c 65 6d 65 6e 74 | et.item.=.document.createElement |
394e0 | 28 22 6d 65 6e 75 69 74 65 6d 22 29 3b 0a 20 20 20 20 6c 65 74 20 65 6e 74 72 79 20 3d 20 73 65 | ("menuitem");.....let.entry.=.se |
39500 | 73 73 69 6f 6e 48 69 73 74 6f 72 79 2e 67 65 74 45 6e 74 72 79 41 74 49 6e 64 65 78 28 6a 2c 20 | ssionHistory.getEntryAtIndex(j,. |
39520 | 66 61 6c 73 65 29 3b 0a 0a 20 20 20 20 69 74 65 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 | false);......item.setAttribute(" |
39540 | 6c 61 62 65 6c 22 2c 20 65 6e 74 72 79 2e 74 69 74 6c 65 20 7c 7c 20 65 6e 74 72 79 2e 55 52 49 | label",.entry.title.||.entry.URI |
39560 | 2e 73 70 65 63 29 3b 0a 20 20 20 20 69 74 65 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 69 | .spec);.....item.setAttribute("i |
39580 | 6e 64 65 78 22 2c 20 6a 29 3b 0a 0a 20 20 20 20 69 66 20 28 6a 20 21 3d 20 69 6e 64 65 78 29 20 | ndex",.j);......if.(j.!=.index). |
395a0 | 7b 0a 20 20 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 20 20 6c 65 74 20 69 63 6f 6e 55 52 | {.......try.{.........let.iconUR |
395c0 | 4c 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 62 72 6f 77 73 65 72 2f 66 61 76 | L.=.Cc["@mozilla.org/browser/fav |
395e0 | 69 63 6f 6e 2d 73 65 72 76 69 63 65 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | icon-service;1"]................ |
39600 | 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 46 61 76 69 | ...........getService(Ci.nsIFavi |
39620 | 63 6f 6e 53 65 72 76 69 63 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | conService)..................... |
39640 | 20 20 20 20 20 2e 67 65 74 46 61 76 69 63 6f 6e 46 6f 72 50 61 67 65 28 65 6e 74 72 79 2e 55 52 | ......getFaviconForPage(entry.UR |
39660 | 49 29 2e 73 70 65 63 3b 0a 20 20 20 20 20 20 20 20 69 74 65 6d 2e 73 74 79 6c 65 2e 6c 69 73 74 | I).spec;.........item.style.list |
39680 | 53 74 79 6c 65 49 6d 61 67 65 20 3d 20 22 75 72 6c 28 22 20 2b 20 69 63 6f 6e 55 52 4c 20 2b 20 | StyleImage.=."url(".+.iconURL.+. |
396a0 | 22 29 22 3b 0a 20 20 20 20 20 20 7d 20 63 61 74 63 68 20 28 65 78 29 20 7b 7d 0a 20 20 20 20 7d | ")";.......}.catch.(ex).{}.....} |
396c0 | 0a 0a 20 20 20 20 69 66 20 28 6a 20 3c 20 69 6e 64 65 78 29 20 7b 0a 20 20 20 20 20 20 69 74 65 | ......if.(j.<.index).{.......ite |
396e0 | 6d 2e 63 6c 61 73 73 4e 61 6d 65 20 3d 20 22 75 6e 69 66 69 65 64 2d 6e 61 76 2d 62 61 63 6b 20 | m.className.=."unified-nav-back. |
39700 | 6d 65 6e 75 69 74 65 6d 2d 69 63 6f 6e 69 63 22 3b 0a 20 20 20 20 20 20 69 74 65 6d 2e 73 65 74 | menuitem-iconic";.......item.set |
39720 | 41 74 74 72 69 62 75 74 65 28 22 74 6f 6f 6c 74 69 70 74 65 78 74 22 2c 20 74 6f 6f 6c 74 69 70 | Attribute("tooltiptext",.tooltip |
39740 | 42 61 63 6b 29 3b 0a 20 20 20 20 7d 20 65 6c 73 65 20 69 66 20 28 6a 20 3d 3d 20 69 6e 64 65 78 | Back);.....}.else.if.(j.==.index |
39760 | 29 20 7b 0a 20 20 20 20 20 20 69 74 65 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 74 79 70 | ).{.......item.setAttribute("typ |
39780 | 65 22 2c 20 22 72 61 64 69 6f 22 29 3b 0a 20 20 20 20 20 20 69 74 65 6d 2e 73 65 74 41 74 74 72 | e",."radio");.......item.setAttr |
397a0 | 69 62 75 74 65 28 22 63 68 65 63 6b 65 64 22 2c 20 22 74 72 75 65 22 29 3b 0a 20 20 20 20 20 20 | ibute("checked",."true");....... |
397c0 | 69 74 65 6d 2e 63 6c 61 73 73 4e 61 6d 65 20 3d 20 22 75 6e 69 66 69 65 64 2d 6e 61 76 2d 63 75 | item.className.=."unified-nav-cu |
397e0 | 72 72 65 6e 74 22 3b 0a 20 20 20 20 20 20 69 74 65 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 | rrent";.......item.setAttribute( |
39800 | 22 74 6f 6f 6c 74 69 70 74 65 78 74 22 2c 20 74 6f 6f 6c 74 69 70 43 75 72 72 65 6e 74 29 3b 0a | "tooltiptext",.tooltipCurrent);. |
39820 | 20 20 20 20 7d 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 69 74 65 6d 2e 63 6c 61 73 73 4e 61 6d | ....}.else.{.......item.classNam |
39840 | 65 20 3d 20 22 75 6e 69 66 69 65 64 2d 6e 61 76 2d 66 6f 72 77 61 72 64 20 6d 65 6e 75 69 74 65 | e.=."unified-nav-forward.menuite |
39860 | 6d 2d 69 63 6f 6e 69 63 22 3b 0a 20 20 20 20 20 20 69 74 65 6d 2e 73 65 74 41 74 74 72 69 62 75 | m-iconic";.......item.setAttribu |
39880 | 74 65 28 22 74 6f 6f 6c 74 69 70 74 65 78 74 22 2c 20 74 6f 6f 6c 74 69 70 46 6f 72 77 61 72 64 | te("tooltiptext",.tooltipForward |
398a0 | 29 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 61 50 61 72 65 6e 74 2e 61 70 70 65 6e 64 43 68 69 6c | );.....}......aParent.appendChil |
398c0 | 64 28 69 74 65 6d 29 3b 0a 20 20 7d 0a 20 20 72 65 74 75 72 6e 20 74 72 75 65 3b 0a 7d 0a 0a 66 | d(item);...}...return.true;.}..f |
398e0 | 75 6e 63 74 69 6f 6e 20 61 64 64 54 6f 55 72 6c 62 61 72 48 69 73 74 6f 72 79 28 61 55 72 6c 54 | unction.addToUrlbarHistory(aUrlT |
39900 | 6f 41 64 64 29 20 7b 0a 20 20 69 66 20 28 61 55 72 6c 54 6f 41 64 64 20 26 26 0a 20 20 20 20 20 | oAdd).{...if.(aUrlToAdd.&&...... |
39920 | 20 61 55 72 6c 54 6f 41 64 64 2e 69 6e 64 65 78 4f 66 28 22 20 22 29 20 3d 3d 20 2d 31 20 26 26 | .aUrlToAdd.indexOf(".").==.-1.&& |
39940 | 0a 20 20 20 20 20 20 21 2f 5b 5c 78 30 30 2d 5c 78 31 46 5d 2f 2e 74 65 73 74 28 61 55 72 6c 54 | .......!/[\x00-\x1F]/.test(aUrlT |
39960 | 6f 41 64 64 29 29 0a 20 20 20 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 6d 61 72 6b 50 61 67 | oAdd)).....PlacesUIUtils.markPag |
39980 | 65 41 73 54 79 70 65 64 28 61 55 72 6c 54 6f 41 64 64 29 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e | eAsTyped(aUrlToAdd);.}..function |
399a0 | 20 74 6f 4a 61 76 61 53 63 72 69 70 74 43 6f 6e 73 6f 6c 65 28 29 0a 7b 0a 20 20 74 6f 4f 70 65 | .toJavaScriptConsole().{...toOpe |
399c0 | 6e 57 69 6e 64 6f 77 42 79 54 79 70 65 28 22 67 6c 6f 62 61 6c 3a 63 6f 6e 73 6f 6c 65 22 2c 20 | nWindowByType("global:console",. |
399e0 | 22 63 68 72 6f 6d 65 3a 2f 2f 67 6c 6f 62 61 6c 2f 63 6f 6e 74 65 6e 74 2f 63 6f 6e 73 6f 6c 65 | "chrome://global/content/console |
39a00 | 2e 78 75 6c 22 29 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 42 72 6f 77 73 65 72 44 6f 77 6e 6c | .xul");.}..function.BrowserDownl |
39a20 | 6f 61 64 73 55 49 28 29 0a 7b 0a 20 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 64 6f | oadsUI().{...Cc["@mozilla.org/do |
39a40 | 77 6e 6c 6f 61 64 2d 6d 61 6e 61 67 65 72 2d 75 69 3b 31 22 5d 2e 0a 20 20 67 65 74 53 65 72 76 | wnload-manager-ui;1"]....getServ |
39a60 | 69 63 65 28 43 69 2e 6e 73 49 44 6f 77 6e 6c 6f 61 64 4d 61 6e 61 67 65 72 55 49 29 2e 73 68 6f | ice(Ci.nsIDownloadManagerUI).sho |
39a80 | 77 28 77 69 6e 64 6f 77 29 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 74 6f 4f 70 65 6e 57 69 6e | w(window);.}..function.toOpenWin |
39aa0 | 64 6f 77 42 79 54 79 70 65 28 69 6e 54 79 70 65 2c 20 75 72 69 2c 20 66 65 61 74 75 72 65 73 29 | dowByType(inType,.uri,.features) |
39ac0 | 0a 7b 0a 20 20 76 61 72 20 77 69 6e 64 6f 77 4d 61 6e 61 67 65 72 20 3d 20 43 6f 6d 70 6f 6e 65 | .{...var.windowManager.=.Compone |
39ae0 | 6e 74 73 2e 63 6c 61 73 73 65 73 5b 27 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 61 70 70 73 68 65 | nts.classes['@mozilla.org/appshe |
39b00 | 6c 6c 2f 77 69 6e 64 6f 77 2d 6d 65 64 69 61 74 6f 72 3b 31 27 5d 2e 67 65 74 53 65 72 76 69 63 | ll/window-mediator;1'].getServic |
39b20 | 65 28 29 3b 0a 20 20 76 61 72 20 77 69 6e 64 6f 77 4d 61 6e 61 67 65 72 49 6e 74 65 72 66 61 63 | e();...var.windowManagerInterfac |
39b40 | 65 20 3d 20 77 69 6e 64 6f 77 4d 61 6e 61 67 65 72 2e 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 | e.=.windowManager.QueryInterface |
39b60 | 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 57 69 6e 64 6f 77 | (Components.interfaces.nsIWindow |
39b80 | 4d 65 64 69 61 74 6f 72 29 3b 0a 20 20 76 61 72 20 74 6f 70 57 69 6e 64 6f 77 20 3d 20 77 69 6e | Mediator);...var.topWindow.=.win |
39ba0 | 64 6f 77 4d 61 6e 61 67 65 72 49 6e 74 65 72 66 61 63 65 2e 67 65 74 4d 6f 73 74 52 65 63 65 6e | dowManagerInterface.getMostRecen |
39bc0 | 74 57 69 6e 64 6f 77 28 69 6e 54 79 70 65 29 3b 0a 0a 20 20 69 66 20 28 74 6f 70 57 69 6e 64 6f | tWindow(inType);....if.(topWindo |
39be0 | 77 29 0a 20 20 20 20 74 6f 70 57 69 6e 64 6f 77 2e 66 6f 63 75 73 28 29 3b 0a 20 20 65 6c 73 65 | w).....topWindow.focus();...else |
39c00 | 20 69 66 20 28 66 65 61 74 75 72 65 73 29 0a 20 20 20 20 77 69 6e 64 6f 77 2e 6f 70 65 6e 28 75 | .if.(features).....window.open(u |
39c20 | 72 69 2c 20 22 5f 62 6c 61 6e 6b 22 2c 20 66 65 61 74 75 72 65 73 29 3b 0a 20 20 65 6c 73 65 0a | ri,."_blank",.features);...else. |
39c40 | 20 20 20 20 77 69 6e 64 6f 77 2e 6f 70 65 6e 28 75 72 69 2c 20 22 5f 62 6c 61 6e 6b 22 2c 20 22 | ....window.open(uri,."_blank",." |
39c60 | 63 68 72 6f 6d 65 2c 65 78 74 72 61 63 68 72 6f 6d 65 2c 6d 65 6e 75 62 61 72 2c 72 65 73 69 7a | chrome,extrachrome,menubar,resiz |
39c80 | 61 62 6c 65 2c 73 63 72 6f 6c 6c 62 61 72 73 2c 73 74 61 74 75 73 2c 74 6f 6f 6c 62 61 72 22 29 | able,scrollbars,status,toolbar") |
39ca0 | 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 74 6f 4f 70 65 6e 44 69 61 6c 6f 67 42 79 54 79 70 65 | ;.}..function.toOpenDialogByType |
39cc0 | 41 6e 64 55 72 6c 28 69 6e 54 79 70 65 2c 20 72 65 6c 61 74 65 64 55 72 6c 2c 20 77 69 6e 64 6f | AndUrl(inType,.relatedUrl,.windo |
39ce0 | 77 55 72 69 2c 20 66 65 61 74 75 72 65 73 2c 20 65 78 74 72 61 41 72 67 75 6d 65 6e 74 29 0a 7b | wUri,.features,.extraArgument).{ |
39d00 | 0a 20 20 76 61 72 20 77 69 6e 64 6f 77 4d 61 6e 61 67 65 72 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 | ...var.windowManager.=.Component |
39d20 | 73 2e 63 6c 61 73 73 65 73 5b 27 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 61 70 70 73 68 65 6c 6c | s.classes['@mozilla.org/appshell |
39d40 | 2f 77 69 6e 64 6f 77 2d 6d 65 64 69 61 74 6f 72 3b 31 27 5d 2e 67 65 74 53 65 72 76 69 63 65 28 | /window-mediator;1'].getService( |
39d60 | 29 3b 0a 20 20 76 61 72 20 77 69 6e 64 6f 77 4d 61 6e 61 67 65 72 49 6e 74 65 72 66 61 63 65 20 | );...var.windowManagerInterface. |
39d80 | 3d 20 77 69 6e 64 6f 77 4d 61 6e 61 67 65 72 2e 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 28 43 | =.windowManager.QueryInterface(C |
39da0 | 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 57 69 6e 64 6f 77 4d 65 | omponents.interfaces.nsIWindowMe |
39dc0 | 64 69 61 74 6f 72 29 3b 0a 20 20 76 61 72 20 77 69 6e 64 6f 77 73 20 3d 20 77 69 6e 64 6f 77 4d | diator);...var.windows.=.windowM |
39de0 | 61 6e 61 67 65 72 49 6e 74 65 72 66 61 63 65 2e 67 65 74 45 6e 75 6d 65 72 61 74 6f 72 28 69 6e | anagerInterface.getEnumerator(in |
39e00 | 54 79 70 65 29 3b 0a 0a 20 20 2f 2f 20 43 68 65 63 6b 20 66 6f 72 20 77 69 6e 64 6f 77 73 20 6d | Type);....//.Check.for.windows.m |
39e20 | 61 74 63 68 69 6e 67 20 74 68 65 20 75 72 6c 0a 20 20 77 68 69 6c 65 20 28 77 69 6e 64 6f 77 73 | atching.the.url...while.(windows |
39e40 | 2e 68 61 73 4d 6f 72 65 45 6c 65 6d 65 6e 74 73 28 29 29 20 7b 0a 20 20 20 20 76 61 72 20 63 75 | .hasMoreElements()).{.....var.cu |
39e60 | 72 72 65 6e 74 57 69 6e 64 6f 77 20 3d 20 77 69 6e 64 6f 77 73 2e 67 65 74 4e 65 78 74 28 29 3b | rrentWindow.=.windows.getNext(); |
39e80 | 0a 20 20 20 20 69 66 20 28 63 75 72 72 65 6e 74 57 69 6e 64 6f 77 2e 64 6f 63 75 6d 65 6e 74 2e | .....if.(currentWindow.document. |
39ea0 | 64 6f 63 75 6d 65 6e 74 45 6c 65 6d 65 6e 74 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 72 65 | documentElement.getAttribute("re |
39ec0 | 6c 61 74 65 64 55 72 6c 22 29 20 3d 3d 20 72 65 6c 61 74 65 64 55 72 6c 29 20 7b 0a 20 20 20 20 | latedUrl").==.relatedUrl).{..... |
39ee0 | 09 63 75 72 72 65 6e 74 57 69 6e 64 6f 77 2e 66 6f 63 75 73 28 29 3b 0a 20 20 20 20 09 72 65 74 | .currentWindow.focus();......ret |
39f00 | 75 72 6e 3b 0a 20 20 20 20 7d 0a 20 20 7d 0a 0a 20 20 2f 2f 20 57 65 20 64 69 64 6e 27 74 20 66 | urn;.....}...}....//.We.didn't.f |
39f20 | 69 6e 64 20 61 20 6d 61 74 63 68 69 6e 67 20 77 69 6e 64 6f 77 2c 20 73 6f 20 6f 70 65 6e 20 61 | ind.a.matching.window,.so.open.a |
39f40 | 20 6e 65 77 20 6f 6e 65 2e 0a 20 20 69 66 20 28 66 65 61 74 75 72 65 73 29 0a 20 20 20 20 72 65 | .new.one....if.(features).....re |
39f60 | 74 75 72 6e 20 77 69 6e 64 6f 77 2e 6f 70 65 6e 44 69 61 6c 6f 67 28 77 69 6e 64 6f 77 55 72 69 | turn.window.openDialog(windowUri |
39f80 | 2c 20 22 5f 62 6c 61 6e 6b 22 2c 20 66 65 61 74 75 72 65 73 2c 20 65 78 74 72 61 41 72 67 75 6d | ,."_blank",.features,.extraArgum |
39fa0 | 65 6e 74 29 3b 0a 0a 20 20 72 65 74 75 72 6e 20 77 69 6e 64 6f 77 2e 6f 70 65 6e 44 69 61 6c 6f | ent);....return.window.openDialo |
39fc0 | 67 28 77 69 6e 64 6f 77 55 72 69 2c 20 22 5f 62 6c 61 6e 6b 22 2c 20 22 63 68 72 6f 6d 65 2c 65 | g(windowUri,."_blank",."chrome,e |
39fe0 | 78 74 72 61 63 68 72 6f 6d 65 2c 6d 65 6e 75 62 61 72 2c 72 65 73 69 7a 61 62 6c 65 2c 73 63 72 | xtrachrome,menubar,resizable,scr |
3a000 | 6f 6c 6c 62 61 72 73 2c 73 74 61 74 75 73 2c 74 6f 6f 6c 62 61 72 22 2c 20 65 78 74 72 61 41 72 | ollbars,status,toolbar",.extraAr |
3a020 | 67 75 6d 65 6e 74 29 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 4f 70 65 6e 42 72 6f 77 73 65 72 | gument);.}..function.OpenBrowser |
3a040 | 57 69 6e 64 6f 77 28 29 0a 7b 0a 20 20 76 61 72 20 63 68 61 72 73 65 74 41 72 67 20 3d 20 6e 65 | Window().{...var.charsetArg.=.ne |
3a060 | 77 20 53 74 72 69 6e 67 28 29 3b 0a 20 20 76 61 72 20 68 61 6e 64 6c 65 72 20 3d 20 43 6f 6d 70 | w.String();...var.handler.=.Comp |
3a080 | 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 62 72 6f | onents.classes["@mozilla.org/bro |
3a0a0 | 77 73 65 72 2f 63 6c 68 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | wser/clh;1"].................... |
3a0c0 | 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e | ........getService(Components.in |
3a0e0 | 74 65 72 66 61 63 65 73 2e 6e 73 49 42 72 6f 77 73 65 72 48 61 6e 64 6c 65 72 29 3b 0a 20 20 76 | terfaces.nsIBrowserHandler);...v |
3a100 | 61 72 20 64 65 66 61 75 6c 74 41 72 67 73 20 3d 20 68 61 6e 64 6c 65 72 2e 64 65 66 61 75 6c 74 | ar.defaultArgs.=.handler.default |
3a120 | 41 72 67 73 3b 0a 20 20 76 61 72 20 77 69 6e 74 79 70 65 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 64 | Args;...var.wintype.=.document.d |
3a140 | 6f 63 75 6d 65 6e 74 45 6c 65 6d 65 6e 74 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 27 77 69 6e | ocumentElement.getAttribute('win |
3a160 | 64 6f 77 74 79 70 65 27 29 3b 0a 0a 20 20 2f 2f 20 69 66 20 61 6e 64 20 6f 6e 6c 79 20 69 66 20 | dowtype');....//.if.and.only.if. |
3a180 | 74 68 65 20 63 75 72 72 65 6e 74 20 77 69 6e 64 6f 77 20 69 73 20 61 20 62 72 6f 77 73 65 72 20 | the.current.window.is.a.browser. |
3a1a0 | 77 69 6e 64 6f 77 20 61 6e 64 20 69 74 20 68 61 73 20 61 20 64 6f 63 75 6d 65 6e 74 20 77 69 74 | window.and.it.has.a.document.wit |
3a1c0 | 68 20 61 20 63 68 61 72 61 63 74 65 72 0a 20 20 2f 2f 20 73 65 74 2c 20 74 68 65 6e 20 65 78 74 | h.a.character...//.set,.then.ext |
3a1e0 | 72 61 63 74 20 74 68 65 20 63 75 72 72 65 6e 74 20 63 68 61 72 73 65 74 20 6d 65 6e 75 20 73 65 | ract.the.current.charset.menu.se |
3a200 | 74 74 69 6e 67 20 66 72 6f 6d 20 74 68 65 20 63 75 72 72 65 6e 74 20 64 6f 63 75 6d 65 6e 74 20 | tting.from.the.current.document. |
3a220 | 61 6e 64 20 75 73 65 20 69 74 20 74 6f 0a 20 20 2f 2f 20 69 6e 69 74 69 61 6c 69 7a 65 20 74 68 | and.use.it.to...//.initialize.th |
3a240 | 65 20 6e 65 77 20 62 72 6f 77 73 65 72 20 77 69 6e 64 6f 77 2e 2e 2e 0a 20 20 76 61 72 20 77 69 | e.new.browser.window......var.wi |
3a260 | 6e 3b 0a 20 20 69 66 20 28 77 69 6e 64 6f 77 20 26 26 20 28 77 69 6e 74 79 70 65 20 3d 3d 20 22 | n;...if.(window.&&.(wintype.==." |
3a280 | 6e 61 76 69 67 61 74 6f 72 3a 62 72 6f 77 73 65 72 22 29 20 26 26 20 77 69 6e 64 6f 77 2e 63 6f | navigator:browser").&&.window.co |
3a2a0 | 6e 74 65 6e 74 20 26 26 20 77 69 6e 64 6f 77 2e 63 6f 6e 74 65 6e 74 2e 64 6f 63 75 6d 65 6e 74 | ntent.&&.window.content.document |
3a2c0 | 29 0a 20 20 7b 0a 20 20 20 20 76 61 72 20 44 6f 63 43 68 61 72 73 65 74 20 3d 20 77 69 6e 64 6f | )...{.....var.DocCharset.=.windo |
3a2e0 | 77 2e 63 6f 6e 74 65 6e 74 2e 64 6f 63 75 6d 65 6e 74 2e 63 68 61 72 61 63 74 65 72 53 65 74 3b | w.content.document.characterSet; |
3a300 | 0a 20 20 20 20 63 68 61 72 73 65 74 41 72 67 20 3d 20 22 63 68 61 72 73 65 74 3d 22 2b 44 6f 63 | .....charsetArg.=."charset="+Doc |
3a320 | 43 68 61 72 73 65 74 3b 0a 0a 20 20 20 20 2f 2f 77 65 20 73 68 6f 75 6c 64 20 22 69 6e 68 65 72 | Charset;......//we.should."inher |
3a340 | 69 74 22 20 74 68 65 20 63 68 61 72 73 65 74 20 6d 65 6e 75 20 73 65 74 74 69 6e 67 20 69 6e 20 | it".the.charset.menu.setting.in. |
3a360 | 61 20 6e 65 77 20 77 69 6e 64 6f 77 0a 20 20 20 20 77 69 6e 20 3d 20 77 69 6e 64 6f 77 2e 6f 70 | a.new.window.....win.=.window.op |
3a380 | 65 6e 44 69 61 6c 6f 67 28 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 | enDialog("chrome://browser/conte |
3a3a0 | 6e 74 2f 22 2c 20 22 5f 62 6c 61 6e 6b 22 2c 20 22 63 68 72 6f 6d 65 2c 61 6c 6c 2c 64 69 61 6c | nt/",."_blank",."chrome,all,dial |
3a3c0 | 6f 67 3d 6e 6f 22 2c 20 64 65 66 61 75 6c 74 41 72 67 73 2c 20 63 68 61 72 73 65 74 41 72 67 29 | og=no",.defaultArgs,.charsetArg) |
3a3e0 | 3b 0a 20 20 7d 0a 20 20 65 6c 73 65 20 2f 2f 20 66 6f 72 67 65 74 20 61 62 6f 75 74 20 74 68 65 | ;...}...else.//.forget.about.the |
3a400 | 20 63 68 61 72 73 65 74 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 2e 0a 20 20 7b 0a 20 20 20 20 77 69 | .charset.information....{.....wi |
3a420 | 6e 20 3d 20 77 69 6e 64 6f 77 2e 6f 70 65 6e 44 69 61 6c 6f 67 28 22 63 68 72 6f 6d 65 3a 2f 2f | n.=.window.openDialog("chrome:// |
3a440 | 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 22 2c 20 22 5f 62 6c 61 6e 6b 22 2c 20 22 63 68 | browser/content/",."_blank",."ch |
3a460 | 72 6f 6d 65 2c 61 6c 6c 2c 64 69 61 6c 6f 67 3d 6e 6f 22 2c 20 64 65 66 61 75 6c 74 41 72 67 73 | rome,all,dialog=no",.defaultArgs |
3a480 | 29 3b 0a 20 20 7d 0a 0a 20 20 72 65 74 75 72 6e 20 77 69 6e 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f | );...}....return.win;.}..functio |
3a4a0 | 6e 20 42 72 6f 77 73 65 72 43 75 73 74 6f 6d 69 7a 65 54 6f 6f 6c 62 61 72 28 29 0a 7b 0a 20 20 | n.BrowserCustomizeToolbar().{... |
3a4c0 | 2f 2f 20 44 69 73 61 62 6c 65 20 74 68 65 20 74 6f 6f 6c 62 61 72 20 63 6f 6e 74 65 78 74 20 6d | //.Disable.the.toolbar.context.m |
3a4e0 | 65 6e 75 20 69 74 65 6d 73 0a 20 20 76 61 72 20 6d 65 6e 75 62 61 72 20 3d 20 64 6f 63 75 6d 65 | enu.items...var.menubar.=.docume |
3a500 | 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 6d 61 69 6e 2d 6d 65 6e 75 62 61 72 22 | nt.getElementById("main-menubar" |
3a520 | 29 3b 0a 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 6d 65 6e 75 62 61 72 | );...for.(var.i.=.0;.i.<.menubar |
3a540 | 2e 63 68 69 6c 64 4e 6f 64 65 73 2e 6c 65 6e 67 74 68 3b 20 2b 2b 69 29 0a 20 20 20 20 6d 65 6e | .childNodes.length;.++i).....men |
3a560 | 75 62 61 72 2e 63 68 69 6c 64 4e 6f 64 65 73 5b 69 5d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 | ubar.childNodes[i].setAttribute( |
3a580 | 22 64 69 73 61 62 6c 65 64 22 2c 20 74 72 75 65 29 3b 0a 0a 20 20 76 61 72 20 63 6d 64 20 3d 20 | "disabled",.true);....var.cmd.=. |
3a5a0 | 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 63 6d 64 5f 43 75 73 | document.getElementById("cmd_Cus |
3a5c0 | 74 6f 6d 69 7a 65 54 6f 6f 6c 62 61 72 73 22 29 3b 0a 20 20 63 6d 64 2e 73 65 74 41 74 74 72 69 | tomizeToolbars");...cmd.setAttri |
3a5e0 | 62 75 74 65 28 22 64 69 73 61 62 6c 65 64 22 2c 20 22 74 72 75 65 22 29 3b 0a 0a 20 20 76 61 72 | bute("disabled",."true");....var |
3a600 | 20 73 70 6c 69 74 74 65 72 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 | .splitter.=.document.getElementB |
3a620 | 79 49 64 28 22 75 72 6c 62 61 72 2d 73 65 61 72 63 68 2d 73 70 6c 69 74 74 65 72 22 29 3b 0a 20 | yId("urlbar-search-splitter");.. |
3a640 | 20 69 66 20 28 73 70 6c 69 74 74 65 72 29 0a 20 20 20 20 73 70 6c 69 74 74 65 72 2e 70 61 72 65 | .if.(splitter).....splitter.pare |
3a660 | 6e 74 4e 6f 64 65 2e 72 65 6d 6f 76 65 43 68 69 6c 64 28 73 70 6c 69 74 74 65 72 29 3b 0a 0a 20 | ntNode.removeChild(splitter);... |
3a680 | 20 76 61 72 20 63 75 73 74 6f 6d 69 7a 65 55 52 4c 20 3d 20 22 63 68 72 6f 6d 65 3a 2f 2f 67 6c | .var.customizeURL.=."chrome://gl |
3a6a0 | 6f 62 61 6c 2f 63 6f 6e 74 65 6e 74 2f 63 75 73 74 6f 6d 69 7a 65 54 6f 6f 6c 62 61 72 2e 78 75 | obal/content/customizeToolbar.xu |
3a6c0 | 6c 22 3b 0a 2f 2f 40 6c 69 6e 65 20 33 33 34 38 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 | l";.//@line.3348."/builds/moz2_s |
3a6e0 | 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 62 | lave/linux_build/build/browser/b |
3a700 | 61 73 65 2f 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2e 6a 73 22 0a 20 20 77 69 6e 64 6f 77 | ase/content/browser.js"...window |
3a720 | 2e 6f 70 65 6e 44 69 61 6c 6f 67 28 63 75 73 74 6f 6d 69 7a 65 55 52 4c 2c 0a 20 20 20 20 20 20 | .openDialog(customizeURL,....... |
3a740 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 43 75 73 74 6f 6d 69 7a 65 54 6f 6f 6c 62 61 72 22 | .............."CustomizeToolbar" |
3a760 | 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 63 68 72 6f 6d 65 2c 74 69 | ,....................."chrome,ti |
3a780 | 74 6c 65 62 61 72 2c 74 6f 6f 6c 62 61 72 2c 6c 6f 63 61 74 69 6f 6e 2c 72 65 73 69 7a 61 62 6c | tlebar,toolbar,location,resizabl |
3a7a0 | 65 2c 64 65 70 65 6e 64 65 6e 74 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | e,dependent",................... |
3a7c0 | 20 20 67 4e 61 76 54 6f 6f 6c 62 6f 78 29 3b 0a 2f 2f 40 6c 69 6e 65 20 33 33 35 33 20 22 2f 62 | ..gNavToolbox);.//@line.3353."/b |
3a7e0 | 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 | uilds/moz2_slave/linux_build/bui |
3a800 | 6c 64 2f 62 72 6f 77 73 65 72 2f 62 61 73 65 2f 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2e | ld/browser/base/content/browser. |
3a820 | 6a 73 22 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 42 72 6f 77 73 65 72 54 6f 6f 6c 62 6f 78 43 75 | js".}..function.BrowserToolboxCu |
3a840 | 73 74 6f 6d 69 7a 65 44 6f 6e 65 28 61 54 6f 6f 6c 62 6f 78 43 68 61 6e 67 65 64 29 20 7b 0a 2f | stomizeDone(aToolboxChanged).{./ |
3a860 | 2f 40 6c 69 6e 65 20 33 33 36 30 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f | /@line.3360."/builds/moz2_slave/ |
3a880 | 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 62 61 73 65 2f 63 | linux_build/build/browser/base/c |
3a8a0 | 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2e 6a 73 22 0a 0a 20 20 2f 2f 20 55 70 64 61 74 65 20 | ontent/browser.js"....//.Update. |
3a8c0 | 67 6c 6f 62 61 6c 20 55 49 20 65 6c 65 6d 65 6e 74 73 20 74 68 61 74 20 6d 61 79 20 68 61 76 65 | global.UI.elements.that.may.have |
3a8e0 | 20 62 65 65 6e 20 61 64 64 65 64 20 6f 72 20 72 65 6d 6f 76 65 64 0a 20 20 69 66 20 28 61 54 6f | .been.added.or.removed...if.(aTo |
3a900 | 6f 6c 62 6f 78 43 68 61 6e 67 65 64 29 20 7b 0a 20 20 20 20 67 55 52 4c 42 61 72 20 3d 20 64 6f | olboxChanged).{.....gURLBar.=.do |
3a920 | 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 75 72 6c 62 61 72 22 29 3b | cument.getElementById("urlbar"); |
3a940 | 0a 20 20 20 20 69 66 20 28 67 55 52 4c 42 61 72 29 0a 20 20 20 20 20 20 67 55 52 4c 42 61 72 2e | .....if.(gURLBar).......gURLBar. |
3a960 | 65 6d 70 74 79 54 65 78 74 20 3d 20 67 55 52 4c 42 61 72 45 6d 70 74 79 54 65 78 74 2e 76 61 6c | emptyText.=.gURLBarEmptyText.val |
3a980 | 75 65 3b 0a 0a 20 20 20 20 67 50 72 6f 78 79 46 61 76 49 63 6f 6e 20 3d 20 64 6f 63 75 6d 65 6e | ue;......gProxyFavIcon.=.documen |
3a9a0 | 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 70 61 67 65 2d 70 72 6f 78 79 2d 66 61 76 | t.getElementById("page-proxy-fav |
3a9c0 | 69 63 6f 6e 22 29 3b 0a 20 20 20 20 67 48 6f 6d 65 42 75 74 74 6f 6e 2e 75 70 64 61 74 65 54 6f | icon");.....gHomeButton.updateTo |
3a9e0 | 6f 6c 74 69 70 28 29 3b 0a 20 20 20 20 67 49 64 65 6e 74 69 74 79 48 61 6e 64 6c 65 72 2e 5f 63 | oltip();.....gIdentityHandler._c |
3aa00 | 61 63 68 65 45 6c 65 6d 65 6e 74 73 28 29 3b 0a 20 20 20 20 77 69 6e 64 6f 77 2e 58 55 4c 42 72 | acheElements();.....window.XULBr |
3aa20 | 6f 77 73 65 72 57 69 6e 64 6f 77 2e 69 6e 69 74 28 29 3b 0a 0a 20 20 20 20 76 61 72 20 62 61 63 | owserWindow.init();......var.bac |
3aa40 | 6b 46 6f 72 77 61 72 64 44 72 6f 70 6d 61 72 6b 65 72 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 | kForwardDropmarker.=.document.ge |
3aa60 | 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 62 61 63 6b 2d 66 6f 72 77 61 72 64 2d 64 72 6f 70 6d | tElementById("back-forward-dropm |
3aa80 | 61 72 6b 65 72 22 29 3b 0a 20 20 20 20 69 66 20 28 62 61 63 6b 46 6f 72 77 61 72 64 44 72 6f 70 | arker");.....if.(backForwardDrop |
3aaa0 | 6d 61 72 6b 65 72 29 0a 20 20 20 20 20 20 62 61 63 6b 46 6f 72 77 61 72 64 44 72 6f 70 6d 61 72 | marker).......backForwardDropmar |
3aac0 | 6b 65 72 2e 64 69 73 61 62 6c 65 64 20 3d 0a 20 20 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e | ker.disabled.=.........document. |
3aae0 | 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 27 42 72 6f 77 73 65 72 3a 42 61 63 6b 27 29 2e 68 | getElementById('Browser:Back').h |
3ab00 | 61 73 41 74 74 72 69 62 75 74 65 28 27 64 69 73 61 62 6c 65 64 27 29 20 26 26 0a 20 20 20 20 20 | asAttribute('disabled').&&...... |
3ab20 | 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 27 42 72 6f 77 | ...document.getElementById('Brow |
3ab40 | 73 65 72 3a 46 6f 72 77 61 72 64 27 29 2e 68 61 73 41 74 74 72 69 62 75 74 65 28 27 64 69 73 61 | ser:Forward').hasAttribute('disa |
3ab60 | 62 6c 65 64 27 29 3b 0a 0a 20 20 20 20 2f 2f 20 73 75 70 70 6f 72 74 20 64 6f 77 6e 67 72 61 64 | bled');......//.support.downgrad |
3ab80 | 69 6e 67 20 74 6f 20 46 69 72 65 66 6f 78 20 32 2e 30 0a 20 20 20 20 76 61 72 20 6e 61 76 42 61 | ing.to.Firefox.2.0.....var.navBa |
3aba0 | 72 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 6e 61 76 | r.=.document.getElementById("nav |
3abc0 | 2d 62 61 72 22 29 3b 0a 20 20 20 20 6e 61 76 42 61 72 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 | -bar");.....navBar.setAttribute( |
3abe0 | 22 63 75 72 72 65 6e 74 73 65 74 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | "currentset",................... |
3ac00 | 20 20 20 20 20 20 6e 61 76 42 61 72 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 63 75 72 72 65 | ......navBar.getAttribute("curre |
3ac20 | 6e 74 73 65 74 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ntset")......................... |
3ac40 | 20 20 20 20 20 20 2e 72 65 70 6c 61 63 65 28 22 75 6e 69 66 69 65 64 2d 62 61 63 6b 2d 66 6f 72 | .......replace("unified-back-for |
3ac60 | 77 61 72 64 2d 62 75 74 74 6f 6e 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ward-button",................... |
3ac80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 75 6e 69 66 69 65 64 2d 62 61 63 6b 2d 66 6f 72 77 | .............."unified-back-forw |
3aca0 | 61 72 64 2d 62 75 74 74 6f 6e 2c 62 61 63 6b 2d 62 75 74 74 6f 6e 2c 66 6f 72 77 61 72 64 2d 62 | ard-button,back-button,forward-b |
3acc0 | 75 74 74 6f 6e 22 29 29 3b 0a 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 70 65 72 73 69 73 74 28 6e | utton"));.....document.persist(n |
3ace0 | 61 76 42 61 72 2e 69 64 2c 20 22 63 75 72 72 65 6e 74 73 65 74 22 29 3b 0a 0a 2f 2f 40 6c 69 6e | avBar.id,."currentset");..//@lin |
3ad00 | 65 20 33 33 38 37 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 | e.3387."/builds/moz2_slave/linux |
3ad20 | 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 62 61 73 65 2f 63 6f 6e 74 65 6e | _build/build/browser/base/conten |
3ad40 | 74 2f 62 72 6f 77 73 65 72 2e 6a 73 22 0a 20 20 20 20 75 70 64 61 74 65 45 64 69 74 55 49 56 69 | t/browser.js".....updateEditUIVi |
3ad60 | 73 69 62 69 6c 69 74 79 28 29 3b 0a 2f 2f 40 6c 69 6e 65 20 33 33 38 39 20 22 2f 62 75 69 6c 64 | sibility();.//@line.3389."/build |
3ad80 | 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 | s/moz2_slave/linux_build/build/b |
3ada0 | 72 6f 77 73 65 72 2f 62 61 73 65 2f 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2e 6a 73 22 0a | rowser/base/content/browser.js". |
3adc0 | 20 20 7d 0a 0a 20 20 55 70 64 61 74 65 55 72 6c 62 61 72 53 65 61 72 63 68 53 70 6c 69 74 74 65 | ..}....UpdateUrlbarSearchSplitte |
3ade0 | 72 53 74 61 74 65 28 29 3b 0a 0a 20 20 67 48 6f 6d 65 42 75 74 74 6f 6e 2e 75 70 64 61 74 65 50 | rState();....gHomeButton.updateP |
3ae00 | 65 72 73 6f 6e 61 6c 54 6f 6f 6c 62 61 72 53 74 79 6c 65 28 29 3b 0a 0a 20 20 2f 2f 20 55 70 64 | ersonalToolbarStyle();....//.Upd |
3ae20 | 61 74 65 20 74 68 65 20 75 72 6c 62 61 72 0a 20 20 69 66 20 28 67 55 52 4c 42 61 72 29 20 7b 0a | ate.the.urlbar...if.(gURLBar).{. |
3ae40 | 20 20 20 20 55 52 4c 42 61 72 53 65 74 55 52 49 28 29 3b 0a 20 20 20 20 58 55 4c 42 72 6f 77 73 | ....URLBarSetURI();.....XULBrows |
3ae60 | 65 72 57 69 6e 64 6f 77 2e 61 73 79 6e 63 55 70 64 61 74 65 55 49 28 29 3b 0a 20 20 20 20 50 6c | erWindow.asyncUpdateUI();.....Pl |
3ae80 | 61 63 65 73 53 74 61 72 42 75 74 74 6f 6e 2e 75 70 64 61 74 65 53 74 61 74 65 28 29 3b 0a 20 20 | acesStarButton.updateState();... |
3aea0 | 7d 0a 0a 20 20 2f 2f 20 52 65 2d 65 6e 61 62 6c 65 20 70 61 72 74 73 20 6f 66 20 74 68 65 20 55 | }....//.Re-enable.parts.of.the.U |
3aec0 | 49 20 77 65 20 64 69 73 61 62 6c 65 64 20 64 75 72 69 6e 67 20 74 68 65 20 64 69 61 6c 6f 67 0a | I.we.disabled.during.the.dialog. |
3aee0 | 20 20 76 61 72 20 6d 65 6e 75 62 61 72 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d | ..var.menubar.=.document.getElem |
3af00 | 65 6e 74 42 79 49 64 28 22 6d 61 69 6e 2d 6d 65 6e 75 62 61 72 22 29 3b 0a 20 20 66 6f 72 20 28 | entById("main-menubar");...for.( |
3af20 | 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 6d 65 6e 75 62 61 72 2e 63 68 69 6c 64 4e 6f 64 65 | var.i.=.0;.i.<.menubar.childNode |
3af40 | 73 2e 6c 65 6e 67 74 68 3b 20 2b 2b 69 29 0a 20 20 20 20 6d 65 6e 75 62 61 72 2e 63 68 69 6c 64 | s.length;.++i).....menubar.child |
3af60 | 4e 6f 64 65 73 5b 69 5d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 64 69 73 61 62 6c 65 64 22 | Nodes[i].setAttribute("disabled" |
3af80 | 2c 20 66 61 6c 73 65 29 3b 0a 20 20 76 61 72 20 63 6d 64 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 | ,.false);...var.cmd.=.document.g |
3afa0 | 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 63 6d 64 5f 43 75 73 74 6f 6d 69 7a 65 54 6f 6f 6c | etElementById("cmd_CustomizeTool |
3afc0 | 62 61 72 73 22 29 3b 0a 20 20 63 6d 64 2e 72 65 6d 6f 76 65 41 74 74 72 69 62 75 74 65 28 22 64 | bars");...cmd.removeAttribute("d |
3afe0 | 69 73 61 62 6c 65 64 22 29 3b 0a 0a 20 20 2f 2f 20 58 58 58 6d 61 6e 6f 20 62 75 67 20 32 38 37 | isabled");....//.XXXmano.bug.287 |
3b000 | 31 30 35 3a 20 77 61 6c 6c 70 61 70 65 72 20 74 6f 20 62 75 67 20 33 30 39 39 35 33 2c 0a 20 20 | 105:.wallpaper.to.bug.309953,... |
3b020 | 2f 2f 20 74 68 65 20 72 65 6c 6f 61 64 20 62 75 74 74 6f 6e 20 69 73 6e 27 74 20 69 6e 20 73 79 | //.the.reload.button.isn't.in.sy |
3b040 | 6e 63 20 77 69 74 68 20 74 68 65 20 72 65 6c 6f 61 64 20 63 6f 6d 6d 61 6e 64 2e 0a 20 20 76 61 | nc.with.the.reload.command....va |
3b060 | 72 20 72 65 6c 6f 61 64 42 75 74 74 6f 6e 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 | r.reloadButton.=.document.getEle |
3b080 | 6d 65 6e 74 42 79 49 64 28 22 72 65 6c 6f 61 64 2d 62 75 74 74 6f 6e 22 29 3b 0a 20 20 69 66 20 | mentById("reload-button");...if. |
3b0a0 | 28 72 65 6c 6f 61 64 42 75 74 74 6f 6e 29 20 7b 0a 20 20 20 20 72 65 6c 6f 61 64 42 75 74 74 6f | (reloadButton).{.....reloadButto |
3b0c0 | 6e 2e 64 69 73 61 62 6c 65 64 20 3d 0a 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 | n.disabled.=.......document.getE |
3b0e0 | 6c 65 6d 65 6e 74 42 79 49 64 28 22 42 72 6f 77 73 65 72 3a 52 65 6c 6f 61 64 22 29 2e 67 65 74 | lementById("Browser:Reload").get |
3b100 | 41 74 74 72 69 62 75 74 65 28 22 64 69 73 61 62 6c 65 64 22 29 20 3d 3d 20 22 74 72 75 65 22 3b | Attribute("disabled").==."true"; |
3b120 | 0a 20 20 7d 0a 20 20 2f 2f 62 75 67 20 34 34 30 37 30 32 3a 20 74 68 65 20 62 61 63 6b 20 61 6e | ...}...//bug.440702:.the.back.an |
3b140 | 64 20 66 6f 72 77 61 72 64 20 62 75 74 74 6f 6e 73 20 61 6c 73 6f 20 73 75 66 66 65 72 20 66 72 | d.forward.buttons.also.suffer.fr |
3b160 | 6f 6d 20 62 75 67 20 33 30 39 39 35 33 2e 0a 20 20 76 61 72 20 62 61 63 6b 42 75 74 74 6f 6e 20 | om.bug.309953....var.backButton. |
3b180 | 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 62 61 63 6b 2d | =.document.getElementById("back- |
3b1a0 | 62 75 74 74 6f 6e 22 29 3b 0a 20 20 69 66 20 28 62 61 63 6b 42 75 74 74 6f 6e 29 20 7b 0a 20 20 | button");...if.(backButton).{... |
3b1c0 | 20 20 62 61 63 6b 42 75 74 74 6f 6e 2e 64 69 73 61 62 6c 65 64 20 3d 0a 20 20 20 20 20 20 64 6f | ..backButton.disabled.=.......do |
3b1e0 | 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 42 72 6f 77 73 65 72 3a 42 | cument.getElementById("Browser:B |
3b200 | 61 63 6b 22 29 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 64 69 73 61 62 6c 65 64 22 29 20 3d | ack").getAttribute("disabled").= |
3b220 | 3d 20 22 74 72 75 65 22 3b 0a 20 20 7d 0a 20 20 76 61 72 20 66 6f 72 77 61 72 64 42 75 74 74 6f | =."true";...}...var.forwardButto |
3b240 | 6e 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 66 6f 72 | n.=.document.getElementById("for |
3b260 | 77 61 72 64 2d 62 75 74 74 6f 6e 22 29 3b 0a 20 20 69 66 20 28 66 6f 72 77 61 72 64 42 75 74 74 | ward-button");...if.(forwardButt |
3b280 | 6f 6e 29 20 7b 0a 20 20 20 20 66 6f 72 77 61 72 64 42 75 74 74 6f 6e 2e 64 69 73 61 62 6c 65 64 | on).{.....forwardButton.disabled |
3b2a0 | 20 3d 0a 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 | .=.......document.getElementById |
3b2c0 | 28 22 42 72 6f 77 73 65 72 3a 46 6f 72 77 61 72 64 22 29 2e 67 65 74 41 74 74 72 69 62 75 74 65 | ("Browser:Forward").getAttribute |
3b2e0 | 28 22 64 69 73 61 62 6c 65 64 22 29 20 3d 3d 20 22 74 72 75 65 22 3b 0a 20 20 7d 0a 0a 2f 2f 40 | ("disabled").==."true";...}..//@ |
3b300 | 6c 69 6e 65 20 33 34 33 33 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 | line.3433."/builds/moz2_slave/li |
3b320 | 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 62 61 73 65 2f 63 6f 6e | nux_build/build/browser/base/con |
3b340 | 74 65 6e 74 2f 62 72 6f 77 73 65 72 2e 6a 73 22 0a 0a 2f 2f 40 6c 69 6e 65 20 33 34 33 35 20 22 | tent/browser.js"..//@line.3435." |
3b360 | 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 | /builds/moz2_slave/linux_build/b |
3b380 | 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 62 61 73 65 2f 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 | uild/browser/base/content/browse |
3b3a0 | 72 2e 6a 73 22 0a 20 20 2f 2f 20 58 58 58 20 53 68 6f 75 6c 64 6e 27 74 20 68 61 76 65 20 74 6f | r.js"...//.XXX.Shouldn't.have.to |
3b3c0 | 20 64 6f 20 74 68 69 73 2c 20 62 75 74 20 49 20 64 6f 0a 20 20 77 69 6e 64 6f 77 2e 66 6f 63 75 | .do.this,.but.I.do...window.focu |
3b3e0 | 73 28 29 3b 0a 2f 2f 40 6c 69 6e 65 20 33 34 33 38 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f | s();.//@line.3438."/builds/moz2_ |
3b400 | 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f | slave/linux_build/build/browser/ |
3b420 | 62 61 73 65 2f 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2e 6a 73 22 0a 7d 0a 0a 66 75 6e 63 | base/content/browser.js".}..func |
3b440 | 74 69 6f 6e 20 42 72 6f 77 73 65 72 54 6f 6f 6c 62 6f 78 43 75 73 74 6f 6d 69 7a 65 43 68 61 6e | tion.BrowserToolboxCustomizeChan |
3b460 | 67 65 28 29 20 7b 0a 20 20 67 48 6f 6d 65 42 75 74 74 6f 6e 2e 75 70 64 61 74 65 50 65 72 73 6f | ge().{...gHomeButton.updatePerso |
3b480 | 6e 61 6c 54 6f 6f 6c 62 61 72 53 74 79 6c 65 28 29 3b 0a 7d 0a 0a 2f 2a 2a 0a 20 2a 20 55 70 64 | nalToolbarStyle();.}../**..*.Upd |
3b4a0 | 61 74 65 20 74 68 65 20 67 6c 6f 62 61 6c 20 66 6c 61 67 20 74 68 61 74 20 74 72 61 63 6b 73 20 | ate.the.global.flag.that.tracks. |
3b4c0 | 77 68 65 74 68 65 72 20 6f 72 20 6e 6f 74 20 61 6e 79 20 65 64 69 74 20 55 49 20 28 74 68 65 20 | whether.or.not.any.edit.UI.(the. |
3b4e0 | 45 64 69 74 20 6d 65 6e 75 2c 0a 20 2a 20 65 64 69 74 2d 72 65 6c 61 74 65 64 20 69 74 65 6d 73 | Edit.menu,..*.edit-related.items |
3b500 | 20 69 6e 20 74 68 65 20 63 6f 6e 74 65 78 74 20 6d 65 6e 75 2c 20 61 6e 64 20 65 64 69 74 2d 72 | .in.the.context.menu,.and.edit-r |
3b520 | 65 6c 61 74 65 64 20 74 6f 6f 6c 62 61 72 20 62 75 74 74 6f 6e 73 0a 20 2a 20 69 73 20 76 69 73 | elated.toolbar.buttons..*.is.vis |
3b540 | 69 62 6c 65 2c 20 74 68 65 6e 20 75 70 64 61 74 65 20 74 68 65 20 65 64 69 74 20 63 6f 6d 6d 61 | ible,.then.update.the.edit.comma |
3b560 | 6e 64 73 27 20 65 6e 61 62 6c 65 64 20 73 74 61 74 65 20 61 63 63 6f 72 64 69 6e 67 6c 79 2e 20 | nds'.enabled.state.accordingly.. |
3b580 | 20 57 65 20 75 73 65 0a 20 2a 20 74 68 69 73 20 66 6c 61 67 20 74 6f 20 73 6b 69 70 20 75 70 64 | .We.use..*.this.flag.to.skip.upd |
3b5a0 | 61 74 69 6e 67 20 74 68 65 20 65 64 69 74 20 63 6f 6d 6d 61 6e 64 73 20 6f 6e 20 66 6f 63 75 73 | ating.the.edit.commands.on.focus |
3b5c0 | 20 6f 72 20 73 65 6c 65 63 74 69 6f 6e 20 63 68 61 6e 67 65 73 0a 20 2a 20 77 68 65 6e 20 6e 6f | .or.selection.changes..*.when.no |
3b5e0 | 20 55 49 20 69 73 20 76 69 73 69 62 6c 65 20 74 6f 20 69 6d 70 72 6f 76 65 20 70 65 72 66 6f 72 | .UI.is.visible.to.improve.perfor |
3b600 | 6d 61 6e 63 65 20 28 69 6e 63 6c 75 64 69 6e 67 20 70 61 67 65 6c 6f 61 64 20 70 65 72 66 6f 72 | mance.(including.pageload.perfor |
3b620 | 6d 61 6e 63 65 2c 0a 20 2a 20 73 69 6e 63 65 20 66 6f 63 75 73 20 63 68 61 6e 67 65 73 20 77 68 | mance,..*.since.focus.changes.wh |
3b640 | 65 6e 20 79 6f 75 20 6c 6f 61 64 20 61 20 6e 65 77 20 70 61 67 65 29 2e 0a 20 2a 0a 20 2a 20 49 | en.you.load.a.new.page)...*..*.I |
3b660 | 66 20 55 49 20 69 73 20 76 69 73 69 62 6c 65 2c 20 77 65 20 75 73 65 20 67 6f 55 70 64 61 74 65 | f.UI.is.visible,.we.use.goUpdate |
3b680 | 47 6c 6f 62 61 6c 45 64 69 74 4d 65 6e 75 49 74 65 6d 73 20 74 6f 20 73 65 74 20 74 68 65 20 63 | GlobalEditMenuItems.to.set.the.c |
3b6a0 | 6f 6d 6d 61 6e 64 73 27 0a 20 2a 20 65 6e 61 62 6c 65 64 20 73 74 61 74 65 20 73 6f 20 74 68 65 | ommands'..*.enabled.state.so.the |
3b6c0 | 20 55 49 20 77 69 6c 6c 20 72 65 66 6c 65 63 74 20 69 74 20 61 70 70 72 6f 70 72 69 61 74 65 6c | .UI.will.reflect.it.appropriatel |
3b6e0 | 79 2e 0a 20 2a 20 0a 20 2a 20 49 66 20 74 68 65 20 55 49 20 69 73 6e 27 74 20 76 69 73 69 62 6c | y...*...*.If.the.UI.isn't.visibl |
3b700 | 65 2c 20 77 65 20 65 6e 61 62 6c 65 20 61 6c 6c 20 65 64 69 74 20 63 6f 6d 6d 61 6e 64 73 20 73 | e,.we.enable.all.edit.commands.s |
3b720 | 6f 20 6b 65 79 62 6f 61 72 64 20 73 68 6f 72 74 63 75 74 73 0a 20 2a 20 73 74 69 6c 6c 20 77 6f | o.keyboard.shortcuts..*.still.wo |
3b740 | 72 6b 20 61 6e 64 20 6a 75 73 74 20 6c 61 7a 69 6c 79 20 64 69 73 61 62 6c 65 20 74 68 65 6d 20 | rk.and.just.lazily.disable.them. |
3b760 | 61 73 20 6e 65 65 64 65 64 20 77 68 65 6e 20 74 68 65 20 75 73 65 72 20 70 72 65 73 73 65 73 20 | as.needed.when.the.user.presses. |
3b780 | 61 0a 20 2a 20 73 68 6f 72 74 63 75 74 2e 0a 20 2a 0a 20 2a 20 54 68 69 73 20 64 6f 65 73 6e 27 | a..*.shortcut...*..*.This.doesn' |
3b7a0 | 74 20 77 6f 72 6b 20 6f 6e 20 4d 61 63 2c 20 73 69 6e 63 65 20 4d 61 63 20 6d 65 6e 75 73 20 66 | t.work.on.Mac,.since.Mac.menus.f |
3b7c0 | 6c 61 73 68 20 77 68 65 6e 20 75 73 65 72 73 20 70 72 65 73 73 20 74 68 65 69 72 0a 20 2a 20 6b | lash.when.users.press.their..*.k |
3b7e0 | 65 79 62 6f 61 72 64 20 73 68 6f 72 74 63 75 74 73 2c 20 73 6f 20 65 64 69 74 20 55 49 20 69 73 | eyboard.shortcuts,.so.edit.UI.is |
3b800 | 20 65 73 73 65 6e 74 69 61 6c 6c 79 20 61 6c 77 61 79 73 20 76 69 73 69 62 6c 65 20 6f 6e 20 74 | .essentially.always.visible.on.t |
3b820 | 68 65 20 4d 61 63 2c 0a 20 2a 20 61 6e 64 20 77 65 20 6e 65 65 64 20 74 6f 20 61 6c 77 61 79 73 | he.Mac,..*.and.we.need.to.always |
3b840 | 20 75 70 64 61 74 65 20 74 68 65 20 65 64 69 74 20 63 6f 6d 6d 61 6e 64 73 2e 20 20 54 68 75 73 | .update.the.edit.commands...Thus |
3b860 | 20 6f 6e 20 4d 61 63 20 74 68 69 73 20 66 75 6e 63 74 69 6f 6e 0a 20 2a 20 69 73 20 61 20 6e 6f | .on.Mac.this.function..*.is.a.no |
3b880 | 20 6f 70 2e 0a 20 2a 2f 0a 66 75 6e 63 74 69 6f 6e 20 75 70 64 61 74 65 45 64 69 74 55 49 56 69 | .op...*/.function.updateEditUIVi |
3b8a0 | 73 69 62 69 6c 69 74 79 28 29 0a 7b 0a 2f 2f 40 6c 69 6e 65 20 33 34 36 37 20 22 2f 62 75 69 6c | sibility().{.//@line.3467."/buil |
3b8c0 | 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f | ds/moz2_slave/linux_build/build/ |
3b8e0 | 62 72 6f 77 73 65 72 2f 62 61 73 65 2f 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2e 6a 73 22 | browser/base/content/browser.js" |
3b900 | 0a 20 20 6c 65 74 20 65 64 69 74 4d 65 6e 75 50 6f 70 75 70 53 74 61 74 65 20 3d 20 64 6f 63 75 | ...let.editMenuPopupState.=.docu |
3b920 | 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 6d 65 6e 75 5f 45 64 69 74 50 6f | ment.getElementById("menu_EditPo |
3b940 | 70 75 70 22 29 2e 73 74 61 74 65 3b 0a 20 20 6c 65 74 20 63 6f 6e 74 65 78 74 4d 65 6e 75 50 6f | pup").state;...let.contextMenuPo |
3b960 | 70 75 70 53 74 61 74 65 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 | pupState.=.document.getElementBy |
3b980 | 49 64 28 22 63 6f 6e 74 65 6e 74 41 72 65 61 43 6f 6e 74 65 78 74 4d 65 6e 75 22 29 2e 73 74 61 | Id("contentAreaContextMenu").sta |
3b9a0 | 74 65 3b 0a 20 20 6c 65 74 20 70 6c 61 63 65 73 43 6f 6e 74 65 78 74 4d 65 6e 75 50 6f 70 75 70 | te;...let.placesContextMenuPopup |
3b9c0 | 53 74 61 74 65 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 | State.=.document.getElementById( |
3b9e0 | 22 70 6c 61 63 65 73 43 6f 6e 74 65 78 74 22 29 2e 73 74 61 74 65 3b 0a 0a 20 20 2f 2f 20 54 68 | "placesContext").state;....//.Th |
3ba00 | 65 20 55 49 20 69 73 20 76 69 73 69 62 6c 65 20 69 66 20 74 68 65 20 45 64 69 74 20 6d 65 6e 75 | e.UI.is.visible.if.the.Edit.menu |
3ba20 | 20 69 73 20 6f 70 65 6e 69 6e 67 20 6f 72 20 6f 70 65 6e 2c 20 69 66 20 74 68 65 20 63 6f 6e 74 | .is.opening.or.open,.if.the.cont |
3ba40 | 65 78 74 20 6d 65 6e 75 0a 20 20 2f 2f 20 69 73 20 6f 70 65 6e 2c 20 6f 72 20 69 66 20 74 68 65 | ext.menu...//.is.open,.or.if.the |
3ba60 | 20 74 6f 6f 6c 62 61 72 20 68 61 73 20 62 65 65 6e 20 63 75 73 74 6f 6d 69 7a 65 64 20 74 6f 20 | .toolbar.has.been.customized.to. |
3ba80 | 69 6e 63 6c 75 64 65 20 74 68 65 20 43 75 74 2c 20 43 6f 70 79 2c 0a 20 20 2f 2f 20 6f 72 20 50 | include.the.Cut,.Copy,...//.or.P |
3baa0 | 61 73 74 65 20 74 6f 6f 6c 62 61 72 20 62 75 74 74 6f 6e 73 2e 0a 20 20 67 45 64 69 74 55 49 56 | aste.toolbar.buttons....gEditUIV |
3bac0 | 69 73 69 62 6c 65 20 3d 20 65 64 69 74 4d 65 6e 75 50 6f 70 75 70 53 74 61 74 65 20 3d 3d 20 22 | isible.=.editMenuPopupState.==." |
3bae0 | 73 68 6f 77 69 6e 67 22 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 | showing".||....................e |
3bb00 | 64 69 74 4d 65 6e 75 50 6f 70 75 70 53 74 61 74 65 20 3d 3d 20 22 6f 70 65 6e 22 20 7c 7c 0a 20 | ditMenuPopupState.==."open".||.. |
3bb20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6e 74 65 78 74 4d 65 6e 75 50 6f 70 | ..................contextMenuPop |
3bb40 | 75 70 53 74 61 74 65 20 3d 3d 20 22 73 68 6f 77 69 6e 67 22 20 7c 7c 0a 20 20 20 20 20 20 20 20 | upState.==."showing".||......... |
3bb60 | 20 20 20 20 20 20 20 20 20 20 20 63 6f 6e 74 65 78 74 4d 65 6e 75 50 6f 70 75 70 53 74 61 74 65 | ...........contextMenuPopupState |
3bb80 | 20 3d 3d 20 22 6f 70 65 6e 22 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .==."open".||................... |
3bba0 | 20 70 6c 61 63 65 73 43 6f 6e 74 65 78 74 4d 65 6e 75 50 6f 70 75 70 53 74 61 74 65 20 3d 3d 20 | .placesContextMenuPopupState.==. |
3bbc0 | 22 73 68 6f 77 69 6e 67 22 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | "showing".||.................... |
3bbe0 | 70 6c 61 63 65 73 43 6f 6e 74 65 78 74 4d 65 6e 75 50 6f 70 75 70 53 74 61 74 65 20 3d 3d 20 22 | placesContextMenuPopupState.==." |
3bc00 | 6f 70 65 6e 22 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 6f 63 75 | open".||....................docu |
3bc20 | 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 63 75 74 2d 62 75 74 74 6f 6e 22 | ment.getElementById("cut-button" |
3bc40 | 29 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 | ).||....................document |
3bc60 | 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 63 6f 70 79 2d 62 75 74 74 6f 6e 22 29 20 7c | .getElementById("copy-button").| |
3bc80 | 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 | |....................document.ge |
3bca0 | 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 70 61 73 74 65 2d 62 75 74 74 6f 6e 22 29 20 3f 20 74 | tElementById("paste-button").?.t |
3bcc0 | 72 75 65 20 3a 20 66 61 6c 73 65 3b 0a 0a 20 20 2f 2f 20 49 66 20 55 49 20 69 73 20 76 69 73 69 | rue.:.false;....//.If.UI.is.visi |
3bce0 | 62 6c 65 2c 20 75 70 64 61 74 65 20 74 68 65 20 65 64 69 74 20 63 6f 6d 6d 61 6e 64 73 27 20 65 | ble,.update.the.edit.commands'.e |
3bd00 | 6e 61 62 6c 65 64 20 73 74 61 74 65 20 74 6f 20 72 65 66 6c 65 63 74 0a 20 20 2f 2f 20 77 68 65 | nabled.state.to.reflect...//.whe |
3bd20 | 74 68 65 72 20 6f 72 20 6e 6f 74 20 74 68 65 79 20 61 72 65 20 61 63 74 75 61 6c 6c 79 20 65 6e | ther.or.not.they.are.actually.en |
3bd40 | 61 62 6c 65 64 20 66 6f 72 20 74 68 65 20 63 75 72 72 65 6e 74 20 66 6f 63 75 73 2f 73 65 6c 65 | abled.for.the.current.focus/sele |
3bd60 | 63 74 69 6f 6e 2e 0a 20 20 69 66 20 28 67 45 64 69 74 55 49 56 69 73 69 62 6c 65 29 0a 20 20 20 | ction....if.(gEditUIVisible).... |
3bd80 | 20 67 6f 55 70 64 61 74 65 47 6c 6f 62 61 6c 45 64 69 74 4d 65 6e 75 49 74 65 6d 73 28 29 3b 0a | .goUpdateGlobalEditMenuItems();. |
3bda0 | 0a 20 20 2f 2f 20 4f 74 68 65 72 77 69 73 65 2c 20 65 6e 61 62 6c 65 20 61 6c 6c 20 63 6f 6d 6d | ...//.Otherwise,.enable.all.comm |
3bdc0 | 61 6e 64 73 2c 20 73 6f 20 74 68 61 74 20 6b 65 79 62 6f 61 72 64 20 73 68 6f 72 74 63 75 74 73 | ands,.so.that.keyboard.shortcuts |
3bde0 | 20 73 74 69 6c 6c 20 77 6f 72 6b 2c 0a 20 20 2f 2f 20 74 68 65 6e 20 6c 61 7a 69 6c 79 20 64 65 | .still.work,...//.then.lazily.de |
3be00 | 74 65 72 6d 69 6e 65 20 74 68 65 69 72 20 61 63 74 75 61 6c 20 65 6e 61 62 6c 65 64 20 73 74 61 | termine.their.actual.enabled.sta |
3be20 | 74 65 20 77 68 65 6e 20 74 68 65 20 75 73 65 72 20 70 72 65 73 73 65 73 0a 20 20 2f 2f 20 61 20 | te.when.the.user.presses...//.a. |
3be40 | 6b 65 79 62 6f 61 72 64 20 73 68 6f 72 74 63 75 74 2e 0a 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 | keyboard.shortcut....else.{..... |
3be60 | 67 6f 53 65 74 43 6f 6d 6d 61 6e 64 45 6e 61 62 6c 65 64 28 22 63 6d 64 5f 75 6e 64 6f 22 2c 20 | goSetCommandEnabled("cmd_undo",. |
3be80 | 74 72 75 65 29 3b 0a 20 20 20 20 67 6f 53 65 74 43 6f 6d 6d 61 6e 64 45 6e 61 62 6c 65 64 28 22 | true);.....goSetCommandEnabled(" |
3bea0 | 63 6d 64 5f 72 65 64 6f 22 2c 20 74 72 75 65 29 3b 0a 20 20 20 20 67 6f 53 65 74 43 6f 6d 6d 61 | cmd_redo",.true);.....goSetComma |
3bec0 | 6e 64 45 6e 61 62 6c 65 64 28 22 63 6d 64 5f 63 75 74 22 2c 20 74 72 75 65 29 3b 0a 20 20 20 20 | ndEnabled("cmd_cut",.true);..... |
3bee0 | 67 6f 53 65 74 43 6f 6d 6d 61 6e 64 45 6e 61 62 6c 65 64 28 22 63 6d 64 5f 63 6f 70 79 22 2c 20 | goSetCommandEnabled("cmd_copy",. |
3bf00 | 74 72 75 65 29 3b 0a 20 20 20 20 67 6f 53 65 74 43 6f 6d 6d 61 6e 64 45 6e 61 62 6c 65 64 28 22 | true);.....goSetCommandEnabled(" |
3bf20 | 63 6d 64 5f 70 61 73 74 65 22 2c 20 74 72 75 65 29 3b 0a 20 20 20 20 67 6f 53 65 74 43 6f 6d 6d | cmd_paste",.true);.....goSetComm |
3bf40 | 61 6e 64 45 6e 61 62 6c 65 64 28 22 63 6d 64 5f 73 65 6c 65 63 74 41 6c 6c 22 2c 20 74 72 75 65 | andEnabled("cmd_selectAll",.true |
3bf60 | 29 3b 0a 20 20 20 20 67 6f 53 65 74 43 6f 6d 6d 61 6e 64 45 6e 61 62 6c 65 64 28 22 63 6d 64 5f | );.....goSetCommandEnabled("cmd_ |
3bf80 | 64 65 6c 65 74 65 22 2c 20 74 72 75 65 29 3b 0a 20 20 20 20 67 6f 53 65 74 43 6f 6d 6d 61 6e 64 | delete",.true);.....goSetCommand |
3bfa0 | 45 6e 61 62 6c 65 64 28 22 63 6d 64 5f 73 77 69 74 63 68 54 65 78 74 44 69 72 65 63 74 69 6f 6e | Enabled("cmd_switchTextDirection |
3bfc0 | 22 2c 20 74 72 75 65 29 3b 0a 20 20 7d 0a 2f 2f 40 6c 69 6e 65 20 33 35 30 33 20 22 2f 62 75 69 | ",.true);...}.//@line.3503."/bui |
3bfe0 | 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 | lds/moz2_slave/linux_build/build |
3c000 | 2f 62 72 6f 77 73 65 72 2f 62 61 73 65 2f 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2e 6a 73 | /browser/base/content/browser.js |
3c020 | 22 0a 7d 0a 0a 76 61 72 20 46 75 6c 6c 53 63 72 65 65 6e 20 3d 0a 7b 0a 20 20 5f 58 55 4c 4e 53 | ".}..var.FullScreen.=.{..._XULNS |
3c040 | 3a 20 22 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6b 65 79 6d 61 73 | :."http://www.mozilla.org/keymas |
3c060 | 74 65 72 2f 67 61 74 65 6b 65 65 70 65 72 2f 74 68 65 72 65 2e 69 73 2e 6f 6e 6c 79 2e 78 75 6c | ter/gatekeeper/there.is.only.xul |
3c080 | 22 2c 0a 20 20 74 6f 67 67 6c 65 3a 20 66 75 6e 63 74 69 6f 6e 28 29 0a 20 20 7b 0a 20 20 20 20 | ",...toggle:.function()...{..... |
3c0a0 | 2f 2f 20 73 68 6f 77 2f 68 69 64 65 20 61 6c 6c 20 6d 65 6e 75 62 61 72 73 2c 20 74 6f 6f 6c 62 | //.show/hide.all.menubars,.toolb |
3c0c0 | 61 72 73 2c 20 61 6e 64 20 73 74 61 74 75 73 62 61 72 73 20 28 65 78 63 65 70 74 20 74 68 65 20 | ars,.and.statusbars.(except.the. |
3c0e0 | 66 75 6c 6c 20 73 63 72 65 65 6e 20 74 6f 6f 6c 62 61 72 29 0a 20 20 20 20 74 68 69 73 2e 73 68 | full.screen.toolbar).....this.sh |
3c100 | 6f 77 58 55 4c 43 68 72 6f 6d 65 28 22 74 6f 6f 6c 62 61 72 22 2c 20 77 69 6e 64 6f 77 2e 66 75 | owXULChrome("toolbar",.window.fu |
3c120 | 6c 6c 53 63 72 65 65 6e 29 3b 0a 20 20 20 20 74 68 69 73 2e 73 68 6f 77 58 55 4c 43 68 72 6f 6d | llScreen);.....this.showXULChrom |
3c140 | 65 28 22 73 74 61 74 75 73 62 61 72 22 2c 20 77 69 6e 64 6f 77 2e 66 75 6c 6c 53 63 72 65 65 6e | e("statusbar",.window.fullScreen |
3c160 | 29 3b 0a 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 | );.....document.getElementById(" |
3c180 | 66 75 6c 6c 53 63 72 65 65 6e 49 74 65 6d 22 29 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 63 | fullScreenItem").setAttribute("c |
3c1a0 | 68 65 63 6b 65 64 22 2c 20 21 77 69 6e 64 6f 77 2e 66 75 6c 6c 53 63 72 65 65 6e 29 3b 0a 0a 20 | hecked",.!window.fullScreen);... |
3c1c0 | 20 20 20 76 61 72 20 66 75 6c 6c 53 63 72 54 6f 67 67 6c 65 72 20 3d 20 64 6f 63 75 6d 65 6e 74 | ...var.fullScrToggler.=.document |
3c1e0 | 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 66 75 6c 6c 73 63 72 2d 74 6f 67 67 6c 65 72 | .getElementById("fullscr-toggler |
3c200 | 22 29 3b 0a 20 20 20 20 69 66 20 28 21 77 69 6e 64 6f 77 2e 66 75 6c 6c 53 63 72 65 65 6e 29 20 | ");.....if.(!window.fullScreen). |
3c220 | 7b 0a 20 20 20 20 20 20 2f 2f 20 41 64 64 20 61 20 74 69 6e 79 20 74 6f 6f 6c 62 61 72 20 74 6f | {.......//.Add.a.tiny.toolbar.to |
3c240 | 20 72 65 63 65 69 76 65 20 6d 6f 75 73 65 6f 76 65 72 20 61 6e 64 20 64 72 61 67 65 6e 74 65 72 | .receive.mouseover.and.dragenter |
3c260 | 20 65 76 65 6e 74 73 2c 20 61 6e 64 20 70 72 6f 76 69 64 65 20 61 66 66 6f 72 64 61 6e 63 65 2e | .events,.and.provide.affordance. |
3c280 | 0a 20 20 20 20 20 20 2f 2f 20 54 68 69 73 20 77 69 6c 6c 20 68 65 6c 70 20 73 69 6d 75 6c 61 74 | .......//.This.will.help.simulat |
3c2a0 | 65 20 74 68 65 20 22 63 6f 6c 6c 61 70 73 65 22 20 6d 65 74 61 70 68 6f 72 20 77 68 69 6c 65 20 | e.the."collapse".metaphor.while. |
3c2c0 | 61 6c 73 6f 20 72 65 71 75 69 72 69 6e 67 20 6c 65 73 73 20 63 6f 64 65 20 61 6e 64 0a 20 20 20 | also.requiring.less.code.and.... |
3c2e0 | 20 20 20 2f 2f 20 65 76 65 6e 74 73 20 74 68 61 6e 20 72 61 77 20 6c 69 73 74 65 6e 69 6e 67 20 | ...//.events.than.raw.listening. |
3c300 | 6f 66 20 6d 6f 75 73 65 20 63 6f 6f 72 64 73 2e 0a 20 20 20 20 20 20 69 66 20 28 21 66 75 6c 6c | of.mouse.coords........if.(!full |
3c320 | 53 63 72 54 6f 67 67 6c 65 72 29 20 7b 0a 20 20 20 20 20 20 20 20 66 75 6c 6c 53 63 72 54 6f 67 | ScrToggler).{.........fullScrTog |
3c340 | 67 6c 65 72 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 63 72 65 61 74 65 45 6c 65 6d 65 6e 74 28 22 74 | gler.=.document.createElement("t |
3c360 | 6f 6f 6c 62 61 72 22 29 3b 0a 20 20 20 20 20 20 20 20 66 75 6c 6c 53 63 72 54 6f 67 67 6c 65 72 | oolbar");.........fullScrToggler |
3c380 | 2e 69 64 20 3d 20 22 66 75 6c 6c 73 63 72 2d 74 6f 67 67 6c 65 72 22 3b 0a 20 20 20 20 20 20 20 | .id.=."fullscr-toggler";........ |
3c3a0 | 20 66 75 6c 6c 53 63 72 54 6f 67 67 6c 65 72 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 63 75 | .fullScrToggler.setAttribute("cu |
3c3c0 | 73 74 6f 6d 69 7a 61 62 6c 65 22 2c 20 22 66 61 6c 73 65 22 29 3b 0a 20 20 20 20 20 20 20 20 66 | stomizable",."false");.........f |
3c3e0 | 75 6c 6c 53 63 72 54 6f 67 67 6c 65 72 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 6d 6f 7a 2d | ullScrToggler.setAttribute("moz- |
3c400 | 63 6f 6c 6c 61 70 73 65 64 22 2c 20 22 74 72 75 65 22 29 3b 0a 20 20 20 20 20 20 20 20 76 61 72 | collapsed",."true");.........var |
3c420 | 20 6e 61 76 42 61 72 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 | .navBar.=.document.getElementByI |
3c440 | 64 28 22 6e 61 76 2d 62 61 72 22 29 3b 0a 20 20 20 20 20 20 20 20 6e 61 76 42 61 72 2e 70 61 72 | d("nav-bar");.........navBar.par |
3c460 | 65 6e 74 4e 6f 64 65 2e 69 6e 73 65 72 74 42 65 66 6f 72 65 28 66 75 6c 6c 53 63 72 54 6f 67 67 | entNode.insertBefore(fullScrTogg |
3c480 | 6c 65 72 2c 20 6e 61 76 42 61 72 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 66 75 6c 6c | ler,.navBar);.......}.......full |
3c4a0 | 53 63 72 54 6f 67 67 6c 65 72 2e 61 64 64 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 28 22 6d 6f 75 | ScrToggler.addEventListener("mou |
3c4c0 | 73 65 6f 76 65 72 22 2c 20 74 68 69 73 2e 5f 65 78 70 61 6e 64 43 61 6c 6c 62 61 63 6b 2c 20 66 | seover",.this._expandCallback,.f |
3c4e0 | 61 6c 73 65 29 3b 0a 20 20 20 20 20 20 66 75 6c 6c 53 63 72 54 6f 67 67 6c 65 72 2e 61 64 64 45 | alse);.......fullScrToggler.addE |
3c500 | 76 65 6e 74 4c 69 73 74 65 6e 65 72 28 22 64 72 61 67 65 6e 74 65 72 22 2c 20 74 68 69 73 2e 5f | ventListener("dragenter",.this._ |
3c520 | 65 78 70 61 6e 64 43 61 6c 6c 62 61 63 6b 2c 20 66 61 6c 73 65 29 3b 0a 0a 20 20 20 20 20 20 69 | expandCallback,.false);........i |
3c540 | 66 20 28 67 50 72 65 66 53 65 72 76 69 63 65 2e 67 65 74 42 6f 6f 6c 50 72 65 66 28 22 62 72 6f | f.(gPrefService.getBoolPref("bro |
3c560 | 77 73 65 72 2e 66 75 6c 6c 73 63 72 65 65 6e 2e 61 75 74 6f 68 69 64 65 22 29 29 0a 20 20 20 20 | wser.fullscreen.autohide"))..... |
3c580 | 20 20 20 20 67 42 72 6f 77 73 65 72 2e 6d 50 61 6e 65 6c 43 6f 6e 74 61 69 6e 65 72 2e 61 64 64 | ....gBrowser.mPanelContainer.add |
3c5a0 | 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 28 22 6d 6f 75 73 65 6d 6f 76 65 22 2c 0a 20 20 20 20 20 | EventListener("mousemove",...... |
3c5c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
3c5e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 63 6f 6c 6c 61 70 73 65 43 61 6c 6c 62 | .............this._collapseCallb |
3c600 | 61 63 6b 2c 20 66 61 6c 73 65 29 3b 0a 0a 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 61 64 64 | ack,.false);........document.add |
3c620 | 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 28 22 6b 65 79 70 72 65 73 73 22 2c 20 74 68 69 73 2e 5f | EventListener("keypress",.this._ |
3c640 | 6b 65 79 54 6f 67 67 6c 65 43 61 6c 6c 62 61 63 6b 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 20 20 | keyToggleCallback,.false);...... |
3c660 | 20 64 6f 63 75 6d 65 6e 74 2e 61 64 64 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 28 22 70 6f 70 75 | .document.addEventListener("popu |
3c680 | 70 73 68 6f 77 6e 22 2c 20 74 68 69 73 2e 5f 73 65 74 50 6f 70 75 70 4f 70 65 6e 2c 20 66 61 6c | pshown",.this._setPopupOpen,.fal |
3c6a0 | 73 65 29 3b 0a 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 61 64 64 45 76 65 6e 74 4c 69 73 74 | se);.......document.addEventList |
3c6c0 | 65 6e 65 72 28 22 70 6f 70 75 70 68 69 64 64 65 6e 22 2c 20 74 68 69 73 2e 5f 73 65 74 50 6f 70 | ener("popuphidden",.this._setPop |
3c6e0 | 75 70 4f 70 65 6e 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 73 68 6f 75 | upOpen,.false);.......this._shou |
3c700 | 6c 64 41 6e 69 6d 61 74 65 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 74 68 69 73 2e 6d 6f 75 | ldAnimate.=.true;.......this.mou |
3c720 | 73 65 6f 76 65 72 54 6f 67 67 6c 65 28 66 61 6c 73 65 29 3b 0a 0a 20 20 20 20 20 20 2f 2f 20 41 | seoverToggle(false);........//.A |
3c740 | 75 74 6f 68 69 64 65 20 70 72 65 66 73 0a 20 20 20 20 20 20 67 50 72 65 66 53 65 72 76 69 63 65 | utohide.prefs.......gPrefService |
3c760 | 2e 61 64 64 4f 62 73 65 72 76 65 72 28 22 62 72 6f 77 73 65 72 2e 66 75 6c 6c 73 63 72 65 65 6e | .addObserver("browser.fullscreen |
3c780 | 22 2c 20 74 68 69 73 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 65 6c 73 65 20 | ",.this,.false);.....}.....else. |
3c7a0 | 7b 0a 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 72 65 6d 6f 76 65 45 76 65 6e 74 4c 69 73 74 | {.......document.removeEventList |
3c7c0 | 65 6e 65 72 28 22 6b 65 79 70 72 65 73 73 22 2c 20 74 68 69 73 2e 5f 6b 65 79 54 6f 67 67 6c 65 | ener("keypress",.this._keyToggle |
3c7e0 | 43 61 6c 6c 62 61 63 6b 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 | Callback,.false);.......document |
3c800 | 2e 72 65 6d 6f 76 65 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 28 22 70 6f 70 75 70 73 68 6f 77 6e | .removeEventListener("popupshown |
3c820 | 22 2c 20 74 68 69 73 2e 5f 73 65 74 50 6f 70 75 70 4f 70 65 6e 2c 20 66 61 6c 73 65 29 3b 0a 20 | ",.this._setPopupOpen,.false);.. |
3c840 | 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 72 65 6d 6f 76 65 45 76 65 6e 74 4c 69 73 74 65 6e 65 | .....document.removeEventListene |
3c860 | 72 28 22 70 6f 70 75 70 68 69 64 64 65 6e 22 2c 20 74 68 69 73 2e 5f 73 65 74 50 6f 70 75 70 4f | r("popuphidden",.this._setPopupO |
3c880 | 70 65 6e 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 20 20 20 67 50 72 65 66 53 65 72 76 69 63 65 2e | pen,.false);.......gPrefService. |
3c8a0 | 72 65 6d 6f 76 65 4f 62 73 65 72 76 65 72 28 22 62 72 6f 77 73 65 72 2e 66 75 6c 6c 73 63 72 65 | removeObserver("browser.fullscre |
3c8c0 | 65 6e 22 2c 20 74 68 69 73 29 3b 0a 0a 20 20 20 20 20 20 69 66 20 28 66 75 6c 6c 53 63 72 54 6f | en",.this);........if.(fullScrTo |
3c8e0 | 67 67 6c 65 72 29 20 7b 0a 20 20 20 20 20 20 20 20 66 75 6c 6c 53 63 72 54 6f 67 67 6c 65 72 2e | ggler).{.........fullScrToggler. |
3c900 | 72 65 6d 6f 76 65 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 28 22 6d 6f 75 73 65 6f 76 65 72 22 2c | removeEventListener("mouseover", |
3c920 | 20 74 68 69 73 2e 5f 65 78 70 61 6e 64 43 61 6c 6c 62 61 63 6b 2c 20 66 61 6c 73 65 29 3b 0a 20 | .this._expandCallback,.false);.. |
3c940 | 20 20 20 20 20 20 20 66 75 6c 6c 53 63 72 54 6f 67 67 6c 65 72 2e 72 65 6d 6f 76 65 45 76 65 6e | .......fullScrToggler.removeEven |
3c960 | 74 4c 69 73 74 65 6e 65 72 28 22 64 72 61 67 65 6e 74 65 72 22 2c 20 74 68 69 73 2e 5f 65 78 70 | tListener("dragenter",.this._exp |
3c980 | 61 6e 64 43 61 6c 6c 62 61 63 6b 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 20 20 20 7d 0a 0a 20 20 | andCallback,.false);.......}.... |
3c9a0 | 20 20 20 20 2f 2f 20 54 68 65 20 75 73 65 72 20 6d 61 79 20 71 75 69 74 20 66 75 6c 6c 73 63 72 | ....//.The.user.may.quit.fullscr |
3c9c0 | 65 65 6e 20 64 75 72 69 6e 67 20 61 6e 20 61 6e 69 6d 61 74 69 6f 6e 0a 20 20 20 20 20 20 63 6c | een.during.an.animation.......cl |
3c9e0 | 65 61 72 49 6e 74 65 72 76 61 6c 28 74 68 69 73 2e 5f 61 6e 69 6d 61 74 69 6f 6e 49 6e 74 65 72 | earInterval(this._animationInter |
3ca00 | 76 61 6c 29 3b 0a 20 20 20 20 20 20 63 6c 65 61 72 54 69 6d 65 6f 75 74 28 74 68 69 73 2e 5f 61 | val);.......clearTimeout(this._a |
3ca20 | 6e 69 6d 61 74 69 6f 6e 54 69 6d 65 6f 75 74 29 3b 0a 20 20 20 20 20 20 67 4e 61 76 54 6f 6f 6c | nimationTimeout);.......gNavTool |
3ca40 | 62 6f 78 2e 73 74 79 6c 65 2e 6d 61 72 67 69 6e 54 6f 70 20 3d 20 22 30 70 78 22 3b 0a 20 20 20 | box.style.marginTop.=."0px";.... |
3ca60 | 20 20 20 69 66 20 28 74 68 69 73 2e 5f 69 73 43 68 72 6f 6d 65 43 6f 6c 6c 61 70 73 65 64 29 0a | ...if.(this._isChromeCollapsed). |
3ca80 | 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 6f 75 73 65 6f 76 65 72 54 6f 67 67 6c 65 28 74 72 75 | ........this.mouseoverToggle(tru |
3caa0 | 65 29 3b 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 69 73 41 6e 69 6d 61 74 69 6e 67 20 3d 20 66 61 | e);.......this._isAnimating.=.fa |
3cac0 | 6c 73 65 3b 0a 20 20 20 20 20 20 2f 2f 20 54 68 69 73 20 69 73 20 6e 65 65 64 65 64 20 69 66 20 | lse;.......//.This.is.needed.if. |
3cae0 | 74 68 65 79 20 75 73 65 20 74 68 65 20 63 6f 6e 74 65 78 74 20 6d 65 6e 75 20 74 6f 20 71 75 69 | they.use.the.context.menu.to.qui |
3cb00 | 74 20 66 75 6c 6c 73 63 72 65 65 6e 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 69 73 50 6f 70 75 70 | t.fullscreen.......this._isPopup |
3cb20 | 4f 70 65 6e 20 3d 20 66 61 6c 73 65 3b 0a 0a 20 20 20 20 20 20 67 42 72 6f 77 73 65 72 2e 6d 50 | Open.=.false;........gBrowser.mP |
3cb40 | 61 6e 65 6c 43 6f 6e 74 61 69 6e 65 72 2e 72 65 6d 6f 76 65 45 76 65 6e 74 4c 69 73 74 65 6e 65 | anelContainer.removeEventListene |
3cb60 | 72 28 22 6d 6f 75 73 65 6d 6f 76 65 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | r("mousemove",.................. |
3cb80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
3cba0 | 20 20 74 68 69 73 2e 5f 63 6f 6c 6c 61 70 73 65 43 61 6c 6c 62 61 63 6b 2c 20 66 61 6c 73 65 29 | ..this._collapseCallback,.false) |
3cbc0 | 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 6f 62 73 65 72 76 65 3a 20 66 75 6e 63 74 69 6f | ;.....}...},....observe:.functio |
3cbe0 | 6e 28 61 53 75 62 6a 65 63 74 2c 20 61 54 6f 70 69 63 2c 20 61 44 61 74 61 29 0a 20 20 7b 0a 20 | n(aSubject,.aTopic,.aData)...{.. |
3cc00 | 20 20 20 69 66 20 28 61 44 61 74 61 20 3d 3d 20 22 62 72 6f 77 73 65 72 2e 66 75 6c 6c 73 63 72 | ...if.(aData.==."browser.fullscr |
3cc20 | 65 65 6e 2e 61 75 74 6f 68 69 64 65 22 29 20 7b 0a 20 20 20 20 20 20 69 66 20 28 67 50 72 65 66 | een.autohide").{.......if.(gPref |
3cc40 | 53 65 72 76 69 63 65 2e 67 65 74 42 6f 6f 6c 50 72 65 66 28 22 62 72 6f 77 73 65 72 2e 66 75 6c | Service.getBoolPref("browser.ful |
3cc60 | 6c 73 63 72 65 65 6e 2e 61 75 74 6f 68 69 64 65 22 29 29 20 7b 0a 20 20 20 20 20 20 20 20 67 42 | lscreen.autohide")).{.........gB |
3cc80 | 72 6f 77 73 65 72 2e 6d 50 61 6e 65 6c 43 6f 6e 74 61 69 6e 65 72 2e 61 64 64 45 76 65 6e 74 4c | rowser.mPanelContainer.addEventL |
3cca0 | 69 73 74 65 6e 65 72 28 22 6d 6f 75 73 65 6d 6f 76 65 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 | istener("mousemove",............ |
3ccc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
3cce0 | 20 20 20 20 20 20 20 74 68 69 73 2e 5f 63 6f 6c 6c 61 70 73 65 43 61 6c 6c 62 61 63 6b 2c 20 66 | .......this._collapseCallback,.f |
3cd00 | 61 6c 73 65 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 | alse);.......}.......else.{..... |
3cd20 | 20 20 20 20 67 42 72 6f 77 73 65 72 2e 6d 50 61 6e 65 6c 43 6f 6e 74 61 69 6e 65 72 2e 72 65 6d | ....gBrowser.mPanelContainer.rem |
3cd40 | 6f 76 65 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 28 22 6d 6f 75 73 65 6d 6f 76 65 22 2c 0a 20 20 | oveEventListener("mousemove",... |
3cd60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
3cd80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 63 6f 6c 6c 61 70 73 | ...................this._collaps |
3cda0 | 65 43 61 6c 6c 62 61 63 6b 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d | eCallback,.false);.......}.....} |
3cdc0 | 0a 20 20 7d 2c 0a 0a 20 20 2f 2f 20 45 76 65 6e 74 20 63 61 6c 6c 62 61 63 6b 73 0a 20 20 5f 65 | ...},....//.Event.callbacks..._e |
3cde0 | 78 70 61 6e 64 43 61 6c 6c 62 61 63 6b 3a 20 66 75 6e 63 74 69 6f 6e 28 29 0a 20 20 7b 0a 20 20 | xpandCallback:.function()...{... |
3ce00 | 20 20 46 75 6c 6c 53 63 72 65 65 6e 2e 6d 6f 75 73 65 6f 76 65 72 54 6f 67 67 6c 65 28 74 72 75 | ..FullScreen.mouseoverToggle(tru |
3ce20 | 65 29 3b 0a 20 20 7d 2c 0a 20 20 5f 63 6f 6c 6c 61 70 73 65 43 61 6c 6c 62 61 63 6b 3a 20 66 75 | e);...},..._collapseCallback:.fu |
3ce40 | 6e 63 74 69 6f 6e 28 29 0a 20 20 7b 0a 20 20 20 20 46 75 6c 6c 53 63 72 65 65 6e 2e 6d 6f 75 73 | nction()...{.....FullScreen.mous |
3ce60 | 65 6f 76 65 72 54 6f 67 67 6c 65 28 66 61 6c 73 65 29 3b 0a 20 20 7d 2c 0a 20 20 5f 6b 65 79 54 | eoverToggle(false);...},..._keyT |
3ce80 | 6f 67 67 6c 65 43 61 6c 6c 62 61 63 6b 3a 20 66 75 6e 63 74 69 6f 6e 28 61 45 76 65 6e 74 29 0a | oggleCallback:.function(aEvent). |
3cea0 | 20 20 7b 0a 20 20 20 20 2f 2f 20 69 66 20 77 65 20 63 61 6e 20 75 73 65 20 74 68 65 20 6b 65 79 | ..{.....//.if.we.can.use.the.key |
3cec0 | 62 6f 61 72 64 20 28 65 67 20 43 74 72 6c 2b 4c 20 6f 72 20 43 74 72 6c 2b 45 29 20 74 6f 20 6f | board.(eg.Ctrl+L.or.Ctrl+E).to.o |
3cee0 | 70 65 6e 20 74 68 65 20 74 6f 6f 6c 62 61 72 73 2c 20 77 65 0a 20 20 20 20 2f 2f 20 73 68 6f 75 | pen.the.toolbars,.we.....//.shou |
3cf00 | 6c 64 20 70 72 6f 76 69 64 65 20 61 20 77 61 79 20 74 6f 20 63 6f 6c 6c 61 70 73 65 20 74 68 65 | ld.provide.a.way.to.collapse.the |
3cf20 | 6d 20 74 6f 6f 2e 0a 20 20 20 20 69 66 20 28 61 45 76 65 6e 74 2e 6b 65 79 43 6f 64 65 20 3d 3d | m.too......if.(aEvent.keyCode.== |
3cf40 | 20 61 45 76 65 6e 74 2e 44 4f 4d 5f 56 4b 5f 45 53 43 41 50 45 29 20 7b 0a 20 20 20 20 20 20 46 | .aEvent.DOM_VK_ESCAPE).{.......F |
3cf60 | 75 6c 6c 53 63 72 65 65 6e 2e 5f 73 68 6f 75 6c 64 41 6e 69 6d 61 74 65 20 3d 20 66 61 6c 73 65 | ullScreen._shouldAnimate.=.false |
3cf80 | 3b 0a 20 20 20 20 20 20 46 75 6c 6c 53 63 72 65 65 6e 2e 6d 6f 75 73 65 6f 76 65 72 54 6f 67 67 | ;.......FullScreen.mouseoverTogg |
3cfa0 | 6c 65 28 66 61 6c 73 65 2c 20 74 72 75 65 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 2f 2f 20 46 36 | le(false,.true);.....}.....//.F6 |
3cfc0 | 20 69 73 20 61 6e 6f 74 68 65 72 20 73 68 6f 72 74 63 75 74 20 74 6f 20 74 68 65 20 61 64 64 72 | .is.another.shortcut.to.the.addr |
3cfe0 | 65 73 73 20 62 61 72 2c 20 62 75 74 20 69 74 73 20 6e 6f 74 20 63 6f 76 65 72 65 64 20 69 6e 20 | ess.bar,.but.its.not.covered.in. |
3d000 | 4f 70 65 6e 4c 6f 63 61 74 69 6f 6e 28 29 0a 20 20 20 20 65 6c 73 65 20 69 66 20 28 61 45 76 65 | OpenLocation().....else.if.(aEve |
3d020 | 6e 74 2e 6b 65 79 43 6f 64 65 20 3d 3d 20 61 45 76 65 6e 74 2e 44 4f 4d 5f 56 4b 5f 46 36 29 0a | nt.keyCode.==.aEvent.DOM_VK_F6). |
3d040 | 20 20 20 20 20 20 46 75 6c 6c 53 63 72 65 65 6e 2e 6d 6f 75 73 65 6f 76 65 72 54 6f 67 67 6c 65 | ......FullScreen.mouseoverToggle |
3d060 | 28 74 72 75 65 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2f 20 43 68 65 63 6b 73 20 77 68 65 74 68 65 | (true);...},....//.Checks.whethe |
3d080 | 72 20 77 65 20 61 72 65 20 61 6c 6c 6f 77 65 64 20 74 6f 20 63 6f 6c 6c 61 70 73 65 20 74 68 65 | r.we.are.allowed.to.collapse.the |
3d0a0 | 20 63 68 72 6f 6d 65 0a 20 20 5f 69 73 50 6f 70 75 70 4f 70 65 6e 3a 20 66 61 6c 73 65 2c 0a 20 | .chrome..._isPopupOpen:.false,.. |
3d0c0 | 20 5f 69 73 43 68 72 6f 6d 65 43 6f 6c 6c 61 70 73 65 64 3a 20 66 61 6c 73 65 2c 0a 20 20 5f 73 | ._isChromeCollapsed:.false,..._s |
3d0e0 | 61 66 65 54 6f 43 6f 6c 6c 61 70 73 65 3a 20 66 75 6e 63 74 69 6f 6e 28 66 6f 72 63 65 48 69 64 | afeToCollapse:.function(forceHid |
3d100 | 65 29 0a 20 20 7b 0a 20 20 20 20 69 66 20 28 21 67 50 72 65 66 53 65 72 76 69 63 65 2e 67 65 74 | e)...{.....if.(!gPrefService.get |
3d120 | 42 6f 6f 6c 50 72 65 66 28 22 62 72 6f 77 73 65 72 2e 66 75 6c 6c 73 63 72 65 65 6e 2e 61 75 74 | BoolPref("browser.fullscreen.aut |
3d140 | 6f 68 69 64 65 22 29 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 0a 0a 20 20 | ohide")).......return.false;.... |
3d160 | 20 20 2f 2f 20 61 20 70 6f 70 75 70 20 6d 65 6e 75 20 69 73 20 6f 70 65 6e 20 69 6e 20 63 68 72 | ..//.a.popup.menu.is.open.in.chr |
3d180 | 6f 6d 65 3a 20 64 6f 6e 27 74 20 63 6f 6c 6c 61 70 73 65 20 63 68 72 6f 6d 65 0a 20 20 20 20 69 | ome:.don't.collapse.chrome.....i |
3d1a0 | 66 20 28 21 66 6f 72 63 65 48 69 64 65 20 26 26 20 74 68 69 73 2e 5f 69 73 50 6f 70 75 70 4f 70 | f.(!forceHide.&&.this._isPopupOp |
3d1c0 | 65 6e 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 0a 0a 20 20 20 20 2f 2f 20 | en).......return.false;......//. |
3d1e0 | 61 20 74 65 78 74 62 6f 78 20 69 6e 20 63 68 72 6f 6d 65 20 69 73 20 66 6f 63 75 73 65 64 20 28 | a.textbox.in.chrome.is.focused.( |
3d200 | 6c 6f 63 61 74 69 6f 6e 20 62 61 72 20 61 6e 79 6f 6e 65 3f 29 3a 20 64 6f 6e 27 74 20 63 6f 6c | location.bar.anyone?):.don't.col |
3d220 | 6c 61 70 73 65 20 63 68 72 6f 6d 65 0a 20 20 20 20 69 66 20 28 64 6f 63 75 6d 65 6e 74 2e 63 6f | lapse.chrome.....if.(document.co |
3d240 | 6d 6d 61 6e 64 44 69 73 70 61 74 63 68 65 72 2e 66 6f 63 75 73 65 64 45 6c 65 6d 65 6e 74 20 26 | mmandDispatcher.focusedElement.& |
3d260 | 26 0a 20 20 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 63 6f 6d 6d 61 6e 64 44 69 73 70 61 74 | &.........document.commandDispat |
3d280 | 63 68 65 72 2e 66 6f 63 75 73 65 64 45 6c 65 6d 65 6e 74 2e 6f 77 6e 65 72 44 6f 63 75 6d 65 6e | cher.focusedElement.ownerDocumen |
3d2a0 | 74 20 3d 3d 20 64 6f 63 75 6d 65 6e 74 20 26 26 0a 20 20 20 20 20 20 20 20 64 6f 63 75 6d 65 6e | t.==.document.&&.........documen |
3d2c0 | 74 2e 63 6f 6d 6d 61 6e 64 44 69 73 70 61 74 63 68 65 72 2e 66 6f 63 75 73 65 64 45 6c 65 6d 65 | t.commandDispatcher.focusedEleme |
3d2e0 | 6e 74 2e 6c 6f 63 61 6c 4e 61 6d 65 20 3d 3d 20 22 69 6e 70 75 74 22 29 20 7b 0a 20 20 20 20 20 | nt.localName.==."input").{...... |
3d300 | 20 69 66 20 28 66 6f 72 63 65 48 69 64 65 29 0a 20 20 20 20 20 20 20 20 2f 2f 20 68 69 64 64 65 | .if.(forceHide).........//.hidde |
3d320 | 6e 20 74 65 78 74 62 6f 78 65 73 20 74 68 61 74 20 73 74 69 6c 6c 20 68 61 76 65 20 66 6f 63 75 | n.textboxes.that.still.have.focu |
3d340 | 73 20 61 72 65 20 62 61 64 20 62 61 64 20 62 61 64 0a 20 20 20 20 20 20 20 20 64 6f 63 75 6d 65 | s.are.bad.bad.bad.........docume |
3d360 | 6e 74 2e 63 6f 6d 6d 61 6e 64 44 69 73 70 61 74 63 68 65 72 2e 66 6f 63 75 73 65 64 45 6c 65 6d | nt.commandDispatcher.focusedElem |
3d380 | 65 6e 74 2e 62 6c 75 72 28 29 3b 0a 20 20 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 20 20 72 | ent.blur();.......else.........r |
3d3a0 | 65 74 75 72 6e 20 66 61 6c 73 65 3b 0a 20 20 20 20 7d 0a 20 20 20 20 72 65 74 75 72 6e 20 74 72 | eturn.false;.....}.....return.tr |
3d3c0 | 75 65 3b 0a 20 20 7d 2c 0a 0a 20 20 5f 73 65 74 50 6f 70 75 70 4f 70 65 6e 3a 20 66 75 6e 63 74 | ue;...},...._setPopupOpen:.funct |
3d3e0 | 69 6f 6e 28 61 45 76 65 6e 74 29 0a 20 20 7b 0a 20 20 20 20 2f 2f 20 50 6f 70 75 70 73 20 73 68 | ion(aEvent)...{.....//.Popups.sh |
3d400 | 6f 75 6c 64 20 6f 6e 6c 79 20 76 65 74 6f 20 63 68 72 6f 6d 65 20 63 6f 6c 6c 61 70 73 69 6e 67 | ould.only.veto.chrome.collapsing |
3d420 | 20 69 66 20 74 68 65 79 20 77 65 72 65 20 6f 70 65 6e 65 64 20 77 68 65 6e 20 74 68 65 20 63 68 | .if.they.were.opened.when.the.ch |
3d440 | 72 6f 6d 65 20 77 61 73 20 6e 6f 74 20 63 6f 6c 6c 61 70 73 65 64 2e 0a 20 20 20 20 2f 2f 20 4f | rome.was.not.collapsed......//.O |
3d460 | 74 68 65 72 77 69 73 65 2c 20 74 68 65 79 20 77 6f 75 6c 64 20 6e 6f 74 20 61 66 66 65 63 74 20 | therwise,.they.would.not.affect. |
3d480 | 63 68 72 6f 6d 65 20 61 6e 64 20 74 68 65 20 75 73 65 72 20 77 6f 75 6c 64 20 65 78 70 65 63 74 | chrome.and.the.user.would.expect |
3d4a0 | 20 74 68 65 20 63 68 72 6f 6d 65 20 74 6f 20 67 6f 20 61 77 61 79 2e 0a 20 20 20 20 2f 2f 20 65 | .the.chrome.to.go.away......//.e |
3d4c0 | 2e 67 2e 20 77 65 20 77 6f 75 6c 64 6e 27 74 20 77 61 6e 74 20 74 68 65 20 61 75 74 6f 73 63 72 | .g..we.wouldn't.want.the.autoscr |
3d4e0 | 6f 6c 6c 20 69 63 6f 6e 20 66 69 72 69 6e 67 20 74 68 69 73 20 65 76 65 6e 74 2c 20 73 6f 20 77 | oll.icon.firing.this.event,.so.w |
3d500 | 68 65 6e 20 74 68 65 20 75 73 65 72 0a 20 20 20 20 2f 2f 20 74 6f 67 67 6c 65 73 20 63 68 72 6f | hen.the.user.....//.toggles.chro |
3d520 | 6d 65 20 77 68 65 6e 20 6d 6f 76 69 6e 67 20 6d 6f 75 73 65 20 74 6f 20 74 68 65 20 74 6f 70 2c | me.when.moving.mouse.to.the.top, |
3d540 | 20 69 74 20 64 6f 65 73 6e 27 74 20 67 6f 20 61 77 61 79 20 61 67 61 69 6e 2e 0a 20 20 20 20 69 | .it.doesn't.go.away.again......i |
3d560 | 66 20 28 61 45 76 65 6e 74 2e 74 79 70 65 20 3d 3d 20 22 70 6f 70 75 70 73 68 6f 77 6e 22 20 26 | f.(aEvent.type.==."popupshown".& |
3d580 | 26 20 21 46 75 6c 6c 53 63 72 65 65 6e 2e 5f 69 73 43 68 72 6f 6d 65 43 6f 6c 6c 61 70 73 65 64 | &.!FullScreen._isChromeCollapsed |
3d5a0 | 20 26 26 0a 20 20 20 20 20 20 20 20 61 45 76 65 6e 74 2e 74 61 72 67 65 74 2e 6c 6f 63 61 6c 4e | .&&.........aEvent.target.localN |
3d5c0 | 61 6d 65 20 21 3d 20 22 74 6f 6f 6c 74 69 70 22 20 26 26 20 61 45 76 65 6e 74 2e 74 61 72 67 65 | ame.!=."tooltip".&&.aEvent.targe |
3d5e0 | 74 2e 6c 6f 63 61 6c 4e 61 6d 65 20 21 3d 20 22 77 69 6e 64 6f 77 22 29 0a 20 20 20 20 20 20 46 | t.localName.!=."window").......F |
3d600 | 75 6c 6c 53 63 72 65 65 6e 2e 5f 69 73 50 6f 70 75 70 4f 70 65 6e 20 3d 20 74 72 75 65 3b 0a 20 | ullScreen._isPopupOpen.=.true;.. |
3d620 | 20 20 20 65 6c 73 65 20 69 66 20 28 61 45 76 65 6e 74 2e 74 79 70 65 20 3d 3d 20 22 70 6f 70 75 | ...else.if.(aEvent.type.==."popu |
3d640 | 70 68 69 64 64 65 6e 22 20 26 26 20 61 45 76 65 6e 74 2e 74 61 72 67 65 74 2e 6c 6f 63 61 6c 4e | phidden".&&.aEvent.target.localN |
3d660 | 61 6d 65 20 21 3d 20 22 74 6f 6f 6c 74 69 70 22 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ame.!=."tooltip".&&............. |
3d680 | 20 61 45 76 65 6e 74 2e 74 61 72 67 65 74 2e 6c 6f 63 61 6c 4e 61 6d 65 20 21 3d 20 22 77 69 6e | .aEvent.target.localName.!=."win |
3d6a0 | 64 6f 77 22 29 0a 20 20 20 20 20 20 46 75 6c 6c 53 63 72 65 65 6e 2e 5f 69 73 50 6f 70 75 70 4f | dow").......FullScreen._isPopupO |
3d6c0 | 70 65 6e 20 3d 20 66 61 6c 73 65 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2f 20 41 75 74 6f 68 69 64 65 | pen.=.false;...},....//.Autohide |
3d6e0 | 20 68 65 6c 70 65 72 73 20 66 6f 72 20 74 68 65 20 63 6f 6e 74 65 78 74 20 6d 65 6e 75 20 69 74 | .helpers.for.the.context.menu.it |
3d700 | 65 6d 0a 20 20 67 65 74 41 75 74 6f 68 69 64 65 3a 20 66 75 6e 63 74 69 6f 6e 28 61 49 74 65 6d | em...getAutohide:.function(aItem |
3d720 | 29 0a 20 20 7b 0a 20 20 20 20 61 49 74 65 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 63 68 | )...{.....aItem.setAttribute("ch |
3d740 | 65 63 6b 65 64 22 2c 20 67 50 72 65 66 53 65 72 76 69 63 65 2e 67 65 74 42 6f 6f 6c 50 72 65 66 | ecked",.gPrefService.getBoolPref |
3d760 | 28 22 62 72 6f 77 73 65 72 2e 66 75 6c 6c 73 63 72 65 65 6e 2e 61 75 74 6f 68 69 64 65 22 29 29 | ("browser.fullscreen.autohide")) |
3d780 | 3b 0a 20 20 7d 2c 0a 20 20 73 65 74 41 75 74 6f 68 69 64 65 3a 20 66 75 6e 63 74 69 6f 6e 28 29 | ;...},...setAutohide:.function() |
3d7a0 | 0a 20 20 7b 0a 20 20 20 20 67 50 72 65 66 53 65 72 76 69 63 65 2e 73 65 74 42 6f 6f 6c 50 72 65 | ...{.....gPrefService.setBoolPre |
3d7c0 | 66 28 22 62 72 6f 77 73 65 72 2e 66 75 6c 6c 73 63 72 65 65 6e 2e 61 75 74 6f 68 69 64 65 22 2c | f("browser.fullscreen.autohide", |
3d7e0 | 20 21 67 50 72 65 66 53 65 72 76 69 63 65 2e 67 65 74 42 6f 6f 6c 50 72 65 66 28 22 62 72 6f 77 | .!gPrefService.getBoolPref("brow |
3d800 | 73 65 72 2e 66 75 6c 6c 73 63 72 65 65 6e 2e 61 75 74 6f 68 69 64 65 22 29 29 3b 0a 20 20 7d 2c | ser.fullscreen.autohide"));...}, |
3d820 | 0a 0a 20 20 2f 2f 20 41 6e 69 6d 61 74 65 20 74 68 65 20 74 6f 6f 6c 62 61 72 73 20 64 69 73 61 | ....//.Animate.the.toolbars.disa |
3d840 | 70 70 65 61 72 69 6e 67 0a 20 20 5f 73 68 6f 75 6c 64 41 6e 69 6d 61 74 65 3a 20 74 72 75 65 2c | ppearing..._shouldAnimate:.true, |
3d860 | 0a 20 20 5f 69 73 41 6e 69 6d 61 74 69 6e 67 3a 20 66 61 6c 73 65 2c 0a 20 20 5f 61 6e 69 6d 61 | ..._isAnimating:.false,..._anima |
3d880 | 74 69 6f 6e 54 69 6d 65 6f 75 74 3a 20 6e 75 6c 6c 2c 0a 20 20 5f 61 6e 69 6d 61 74 69 6f 6e 49 | tionTimeout:.null,..._animationI |
3d8a0 | 6e 74 65 72 76 61 6c 3a 20 6e 75 6c 6c 2c 0a 20 20 5f 61 6e 69 6d 61 74 65 55 70 3a 20 66 75 6e | nterval:.null,..._animateUp:.fun |
3d8c0 | 63 74 69 6f 6e 28 29 0a 20 20 7b 0a 20 20 20 20 2f 2f 20 63 68 65 63 6b 20 61 67 61 69 6e 2c 20 | ction()...{.....//.check.again,. |
3d8e0 | 74 68 65 20 75 73 65 72 20 6d 61 79 20 68 61 76 65 20 64 6f 6e 65 20 73 6f 6d 65 74 68 69 6e 67 | the.user.may.have.done.something |
3d900 | 20 62 65 66 6f 72 65 20 74 68 65 20 61 6e 69 6d 61 74 69 6f 6e 20 77 61 73 20 64 75 65 20 74 6f | .before.the.animation.was.due.to |
3d920 | 20 73 74 61 72 74 0a 20 20 20 20 69 66 20 28 21 77 69 6e 64 6f 77 2e 66 75 6c 6c 53 63 72 65 65 | .start.....if.(!window.fullScree |
3d940 | 6e 20 7c 7c 20 21 46 75 6c 6c 53 63 72 65 65 6e 2e 5f 73 61 66 65 54 6f 43 6f 6c 6c 61 70 73 65 | n.||.!FullScreen._safeToCollapse |
3d960 | 28 66 61 6c 73 65 29 29 20 7b 0a 20 20 20 20 20 20 46 75 6c 6c 53 63 72 65 65 6e 2e 5f 69 73 41 | (false)).{.......FullScreen._isA |
3d980 | 6e 69 6d 61 74 69 6e 67 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 20 46 75 6c 6c 53 63 72 65 | nimating.=.false;.......FullScre |
3d9a0 | 65 6e 2e 5f 73 68 6f 75 6c 64 41 6e 69 6d 61 74 65 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 | en._shouldAnimate.=.true;....... |
3d9c0 | 72 65 74 75 72 6e 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 76 61 72 20 61 6e 69 6d 61 74 65 46 72 | return;.....}......var.animateFr |
3d9e0 | 61 6d 65 41 6d 6f 75 6e 74 20 3d 20 32 3b 0a 20 20 20 20 66 75 6e 63 74 69 6f 6e 20 61 6e 69 6d | ameAmount.=.2;.....function.anim |
3da00 | 61 74 65 55 70 46 72 61 6d 65 28 29 20 7b 0a 20 20 20 20 20 20 61 6e 69 6d 61 74 65 46 72 61 6d | ateUpFrame().{.......animateFram |
3da20 | 65 41 6d 6f 75 6e 74 20 2a 3d 20 32 3b 0a 20 20 20 20 20 20 69 66 20 28 61 6e 69 6d 61 74 65 46 | eAmount.*=.2;.......if.(animateF |
3da40 | 72 61 6d 65 41 6d 6f 75 6e 74 20 3e 3d 0a 20 20 20 20 20 20 20 20 20 20 28 67 4e 61 76 54 6f 6f | rameAmount.>=...........(gNavToo |
3da60 | 6c 62 6f 78 2e 62 6f 78 4f 62 6a 65 63 74 2e 68 65 69 67 68 74 20 2b 20 67 42 72 6f 77 73 65 72 | lbox.boxObject.height.+.gBrowser |
3da80 | 2e 6d 53 74 72 69 70 2e 62 6f 78 4f 62 6a 65 63 74 2e 68 65 69 67 68 74 29 29 20 7b 0a 20 20 20 | .mStrip.boxObject.height)).{.... |
3daa0 | 20 20 20 20 20 2f 2f 20 57 65 27 76 65 20 61 6e 69 6d 61 74 65 64 20 65 6e 6f 75 67 68 0a 20 20 | .....//.We've.animated.enough... |
3dac0 | 20 20 20 20 20 20 63 6c 65 61 72 49 6e 74 65 72 76 61 6c 28 46 75 6c 6c 53 63 72 65 65 6e 2e 5f | ......clearInterval(FullScreen._ |
3dae0 | 61 6e 69 6d 61 74 69 6f 6e 49 6e 74 65 72 76 61 6c 29 3b 0a 20 20 20 20 20 20 20 20 67 4e 61 76 | animationInterval);.........gNav |
3db00 | 54 6f 6f 6c 62 6f 78 2e 73 74 79 6c 65 2e 6d 61 72 67 69 6e 54 6f 70 20 3d 20 22 30 70 78 22 3b | Toolbox.style.marginTop.=."0px"; |
3db20 | 0a 20 20 20 20 20 20 20 20 46 75 6c 6c 53 63 72 65 65 6e 2e 5f 69 73 41 6e 69 6d 61 74 69 6e 67 | .........FullScreen._isAnimating |
3db40 | 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 20 20 20 46 75 6c 6c 53 63 72 65 65 6e 2e 5f 73 68 | .=.false;.........FullScreen._sh |
3db60 | 6f 75 6c 64 41 6e 69 6d 61 74 65 20 3d 20 66 61 6c 73 65 3b 20 2f 2f 20 4a 75 73 74 20 74 6f 20 | ouldAnimate.=.false;.//.Just.to. |
3db80 | 6d 61 6b 65 20 73 75 72 65 0a 20 20 20 20 20 20 20 20 46 75 6c 6c 53 63 72 65 65 6e 2e 6d 6f 75 | make.sure.........FullScreen.mou |
3dba0 | 73 65 6f 76 65 72 54 6f 67 67 6c 65 28 66 61 6c 73 65 29 3b 0a 20 20 20 20 20 20 20 20 72 65 74 | seoverToggle(false);.........ret |
3dbc0 | 75 72 6e 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 67 4e 61 76 54 6f 6f 6c 62 6f 78 2e 73 | urn;.......}.......gNavToolbox.s |
3dbe0 | 74 79 6c 65 2e 6d 61 72 67 69 6e 54 6f 70 20 3d 20 28 61 6e 69 6d 61 74 65 46 72 61 6d 65 41 6d | tyle.marginTop.=.(animateFrameAm |
3dc00 | 6f 75 6e 74 20 2a 20 2d 31 29 20 2b 20 22 70 78 22 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 46 75 | ount.*.-1).+."px";.....}......Fu |
3dc20 | 6c 6c 53 63 72 65 65 6e 2e 5f 61 6e 69 6d 61 74 69 6f 6e 49 6e 74 65 72 76 61 6c 20 3d 20 73 65 | llScreen._animationInterval.=.se |
3dc40 | 74 49 6e 74 65 72 76 61 6c 28 61 6e 69 6d 61 74 65 55 70 46 72 61 6d 65 2c 20 37 30 29 3b 0a 20 | tInterval(animateUpFrame,.70);.. |
3dc60 | 20 7d 2c 0a 0a 20 20 6d 6f 75 73 65 6f 76 65 72 54 6f 67 67 6c 65 3a 20 66 75 6e 63 74 69 6f 6e | .},....mouseoverToggle:.function |
3dc80 | 28 61 53 68 6f 77 2c 20 66 6f 72 63 65 48 69 64 65 29 0a 20 20 7b 0a 20 20 20 20 2f 2f 20 44 6f | (aShow,.forceHide)...{.....//.Do |
3dca0 | 6e 27 74 20 64 6f 20 61 6e 79 74 68 69 6e 67 20 69 66 3a 0a 20 20 20 20 2f 2f 20 61 29 20 77 65 | n't.do.anything.if:.....//.a).we |
3dcc0 | 27 72 65 20 61 6c 72 65 61 64 79 20 69 6e 20 74 68 65 20 73 74 61 74 65 20 77 65 20 77 61 6e 74 | 're.already.in.the.state.we.want |
3dce0 | 2c 0a 20 20 20 20 2f 2f 20 62 29 20 77 65 27 72 65 20 61 6e 69 6d 61 74 69 6e 67 20 61 6e 64 20 | ,.....//.b).we're.animating.and. |
3dd00 | 77 69 6c 6c 20 62 65 63 6f 6d 65 20 63 6f 6c 6c 61 70 73 65 64 20 73 6f 6f 6e 2c 20 6f 72 0a 20 | will.become.collapsed.soon,.or.. |
3dd20 | 20 20 20 2f 2f 20 63 29 20 77 65 20 63 61 6e 27 74 20 63 6f 6c 6c 61 70 73 65 20 62 65 63 61 75 | ...//.c).we.can't.collapse.becau |
3dd40 | 73 65 20 69 74 20 77 6f 75 6c 64 20 62 65 20 75 6e 64 65 73 69 72 61 62 6c 65 20 72 69 67 68 74 | se.it.would.be.undesirable.right |
3dd60 | 20 6e 6f 77 0a 20 20 20 20 69 66 20 28 61 53 68 6f 77 20 21 3d 20 74 68 69 73 2e 5f 69 73 43 68 | .now.....if.(aShow.!=.this._isCh |
3dd80 | 72 6f 6d 65 43 6f 6c 6c 61 70 73 65 64 20 7c 7c 20 28 21 61 53 68 6f 77 20 26 26 20 74 68 69 73 | romeCollapsed.||.(!aShow.&&.this |
3dda0 | 2e 5f 69 73 41 6e 69 6d 61 74 69 6e 67 29 20 7c 7c 0a 20 20 20 20 20 20 20 20 28 21 61 53 68 6f | ._isAnimating).||.........(!aSho |
3ddc0 | 77 20 26 26 20 21 74 68 69 73 2e 5f 73 61 66 65 54 6f 43 6f 6c 6c 61 70 73 65 28 66 6f 72 63 65 | w.&&.!this._safeToCollapse(force |
3dde0 | 48 69 64 65 29 29 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 20 20 2f 2f 20 62 72 | Hide))).......return;......//.br |
3de00 | 6f 77 73 65 72 2e 66 75 6c 6c 73 63 72 65 65 6e 2e 61 6e 69 6d 61 74 65 55 70 0a 20 20 20 20 2f | owser.fullscreen.animateUp...../ |
3de20 | 2f 20 30 20 2d 20 6e 65 76 65 72 20 61 6e 69 6d 61 74 65 20 75 70 0a 20 20 20 20 2f 2f 20 31 20 | /.0.-.never.animate.up.....//.1. |
3de40 | 2d 20 61 6e 69 6d 61 74 65 20 6f 6e 6c 79 20 66 6f 72 20 66 69 72 73 74 20 63 6f 6c 6c 61 70 73 | -.animate.only.for.first.collaps |
3de60 | 65 20 61 66 74 65 72 20 65 6e 74 65 72 69 6e 67 20 66 75 6c 6c 73 63 72 65 65 6e 20 28 64 65 66 | e.after.entering.fullscreen.(def |
3de80 | 61 75 6c 74 20 66 6f 72 20 70 65 72 66 27 73 20 73 61 6b 65 29 0a 20 20 20 20 2f 2f 20 32 20 2d | ault.for.perf's.sake).....//.2.- |
3dea0 | 20 61 6e 69 6d 61 74 65 20 65 76 65 72 79 20 74 69 6d 65 20 69 74 20 63 6f 6c 6c 61 70 73 65 73 | .animate.every.time.it.collapses |
3dec0 | 0a 20 20 20 20 69 66 20 28 67 50 72 65 66 53 65 72 76 69 63 65 2e 67 65 74 49 6e 74 50 72 65 66 | .....if.(gPrefService.getIntPref |
3dee0 | 28 22 62 72 6f 77 73 65 72 2e 66 75 6c 6c 73 63 72 65 65 6e 2e 61 6e 69 6d 61 74 65 55 70 22 29 | ("browser.fullscreen.animateUp") |
3df00 | 20 3d 3d 20 30 29 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 73 68 6f 75 6c 64 41 6e 69 6d 61 74 65 | .==.0).......this._shouldAnimate |
3df20 | 20 3d 20 66 61 6c 73 65 3b 0a 0a 20 20 20 20 69 66 20 28 21 61 53 68 6f 77 20 26 26 20 74 68 69 | .=.false;......if.(!aShow.&&.thi |
3df40 | 73 2e 5f 73 68 6f 75 6c 64 41 6e 69 6d 61 74 65 29 20 7b 0a 20 20 20 20 20 20 74 68 69 73 2e 5f | s._shouldAnimate).{.......this._ |
3df60 | 69 73 41 6e 69 6d 61 74 69 6e 67 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 74 68 69 73 2e 5f | isAnimating.=.true;.......this._ |
3df80 | 73 68 6f 75 6c 64 41 6e 69 6d 61 74 65 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 20 74 68 69 | shouldAnimate.=.false;.......thi |
3dfa0 | 73 2e 5f 61 6e 69 6d 61 74 69 6f 6e 54 69 6d 65 6f 75 74 20 3d 20 73 65 74 54 69 6d 65 6f 75 74 | s._animationTimeout.=.setTimeout |
3dfc0 | 28 74 68 69 73 2e 5f 61 6e 69 6d 61 74 65 55 70 2c 20 38 30 30 29 3b 0a 20 20 20 20 20 20 72 65 | (this._animateUp,.800);.......re |
3dfe0 | 74 75 72 6e 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 2f 2f 20 54 68 65 20 63 68 72 6f 6d 65 20 69 | turn;.....}......//.The.chrome.i |
3e000 | 73 20 63 6f 6c 6c 61 70 73 65 64 20 73 6f 20 64 6f 6e 27 74 20 73 70 61 6d 20 6e 65 65 64 6c 65 | s.collapsed.so.don't.spam.needle |
3e020 | 73 73 20 6d 6f 75 73 65 6d 6f 76 65 20 65 76 65 6e 74 73 0a 20 20 20 20 69 66 20 28 61 53 68 6f | ss.mousemove.events.....if.(aSho |
3e040 | 77 29 20 7b 0a 20 20 20 20 20 20 67 42 72 6f 77 73 65 72 2e 6d 50 61 6e 65 6c 43 6f 6e 74 61 69 | w).{.......gBrowser.mPanelContai |
3e060 | 6e 65 72 2e 61 64 64 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 28 22 6d 6f 75 73 65 6d 6f 76 65 22 | ner.addEventListener("mousemove" |
3e080 | 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ,............................... |
3e0a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 63 6f 6c 6c 61 70 73 65 | ..................this._collapse |
3e0c0 | 43 61 6c 6c 62 61 63 6b 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 65 6c 73 65 | Callback,.false);.....}.....else |
3e0e0 | 20 7b 0a 20 20 20 20 20 20 67 42 72 6f 77 73 65 72 2e 6d 50 61 6e 65 6c 43 6f 6e 74 61 69 6e 65 | .{.......gBrowser.mPanelContaine |
3e100 | 72 2e 72 65 6d 6f 76 65 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 28 22 6d 6f 75 73 65 6d 6f 76 65 | r.removeEventListener("mousemove |
3e120 | 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ",.............................. |
3e140 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 63 6f 6c 6c | ......................this._coll |
3e160 | 61 70 73 65 43 61 6c 6c 62 61 63 6b 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 | apseCallback,.false);.....}..... |
3e180 | 20 67 42 72 6f 77 73 65 72 2e 6d 53 74 72 69 70 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 6d | .gBrowser.mStrip.setAttribute("m |
3e1a0 | 6f 7a 2d 63 6f 6c 6c 61 70 73 65 64 22 2c 20 21 61 53 68 6f 77 29 3b 0a 20 20 20 20 76 61 72 20 | oz-collapsed",.!aShow);.....var. |
3e1c0 | 61 6c 6c 46 53 54 6f 6f 6c 62 61 72 73 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d | allFSToolbars.=.document.getElem |
3e1e0 | 65 6e 74 73 42 79 54 61 67 4e 61 6d 65 4e 53 28 74 68 69 73 2e 5f 58 55 4c 4e 53 2c 20 22 74 6f | entsByTagNameNS(this._XULNS,."to |
3e200 | 6f 6c 62 61 72 22 29 3b 0a 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c | olbar");.....for.(var.i.=.0;.i.< |
3e220 | 20 61 6c 6c 46 53 54 6f 6f 6c 62 61 72 73 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 20 7b 0a 20 20 | .allFSToolbars.length;.i++).{... |
3e240 | 20 20 20 20 69 66 20 28 61 6c 6c 46 53 54 6f 6f 6c 62 61 72 73 5b 69 5d 2e 67 65 74 41 74 74 72 | ....if.(allFSToolbars[i].getAttr |
3e260 | 69 62 75 74 65 28 22 66 75 6c 6c 73 63 72 65 65 6e 74 6f 6f 6c 62 61 72 22 29 20 3d 3d 20 22 74 | ibute("fullscreentoolbar").==."t |
3e280 | 72 75 65 22 29 0a 20 20 20 20 20 20 20 20 61 6c 6c 46 53 54 6f 6f 6c 62 61 72 73 5b 69 5d 2e 73 | rue").........allFSToolbars[i].s |
3e2a0 | 65 74 41 74 74 72 69 62 75 74 65 28 22 6d 6f 7a 2d 63 6f 6c 6c 61 70 73 65 64 22 2c 20 21 61 53 | etAttribute("moz-collapsed",.!aS |
3e2c0 | 68 6f 77 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d | how);.....}.....document.getElem |
3e2e0 | 65 6e 74 42 79 49 64 28 22 66 75 6c 6c 73 63 72 2d 74 6f 67 67 6c 65 72 22 29 2e 73 65 74 41 74 | entById("fullscr-toggler").setAt |
3e300 | 74 72 69 62 75 74 65 28 22 6d 6f 7a 2d 63 6f 6c 6c 61 70 73 65 64 22 2c 20 61 53 68 6f 77 29 3b | tribute("moz-collapsed",.aShow); |
3e320 | 0a 20 20 20 20 74 68 69 73 2e 5f 69 73 43 68 72 6f 6d 65 43 6f 6c 6c 61 70 73 65 64 20 3d 20 21 | .....this._isChromeCollapsed.=.! |
3e340 | 61 53 68 6f 77 3b 0a 20 20 20 20 69 66 20 28 67 50 72 65 66 53 65 72 76 69 63 65 2e 67 65 74 49 | aShow;.....if.(gPrefService.getI |
3e360 | 6e 74 50 72 65 66 28 22 62 72 6f 77 73 65 72 2e 66 75 6c 6c 73 63 72 65 65 6e 2e 61 6e 69 6d 61 | ntPref("browser.fullscreen.anima |
3e380 | 74 65 55 70 22 29 20 3d 3d 20 32 29 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 73 68 6f 75 6c 64 41 | teUp").==.2).......this._shouldA |
3e3a0 | 6e 69 6d 61 74 65 20 3d 20 74 72 75 65 3b 0a 20 20 7d 2c 0a 0a 20 20 73 68 6f 77 58 55 4c 43 68 | nimate.=.true;...},....showXULCh |
3e3c0 | 72 6f 6d 65 3a 20 66 75 6e 63 74 69 6f 6e 28 61 54 61 67 2c 20 61 53 68 6f 77 29 0a 20 20 7b 0a | rome:.function(aTag,.aShow)...{. |
3e3e0 | 20 20 20 20 76 61 72 20 65 6c 73 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e | ....var.els.=.document.getElemen |
3e400 | 74 73 42 79 54 61 67 4e 61 6d 65 4e 53 28 74 68 69 73 2e 5f 58 55 4c 4e 53 2c 20 61 54 61 67 29 | tsByTagNameNS(this._XULNS,.aTag) |
3e420 | 3b 0a 0a 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 65 6c 73 2e 6c | ;......for.(var.i.=.0;.i.<.els.l |
3e440 | 65 6e 67 74 68 3b 20 2b 2b 69 29 20 7b 0a 20 20 20 20 20 20 2f 2f 20 58 58 58 20 64 6f 6e 27 74 | ength;.++i).{.......//.XXX.don't |
3e460 | 20 69 6e 74 65 72 66 65 72 65 20 77 69 74 68 20 70 72 65 76 69 6f 75 73 6c 79 20 63 6f 6c 6c 61 | .interfere.with.previously.colla |
3e480 | 70 73 65 64 20 74 6f 6f 6c 62 61 72 73 0a 20 20 20 20 20 20 69 66 20 28 65 6c 73 5b 69 5d 2e 67 | psed.toolbars.......if.(els[i].g |
3e4a0 | 65 74 41 74 74 72 69 62 75 74 65 28 22 66 75 6c 6c 73 63 72 65 65 6e 74 6f 6f 6c 62 61 72 22 29 | etAttribute("fullscreentoolbar") |
3e4c0 | 20 3d 3d 20 22 74 72 75 65 22 29 20 7b 0a 20 20 20 20 20 20 20 20 69 66 20 28 21 61 53 68 6f 77 | .==."true").{.........if.(!aShow |
3e4e0 | 29 20 7b 0a 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 74 6f 6f 6c 62 61 72 4d 6f 64 65 20 3d | ).{............var.toolbarMode.= |
3e500 | 20 65 6c 73 5b 69 5d 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 6d 6f 64 65 22 29 3b 0a 20 20 | .els[i].getAttribute("mode");... |
3e520 | 20 20 20 20 20 20 20 20 69 66 20 28 74 6f 6f 6c 62 61 72 4d 6f 64 65 20 21 3d 20 22 74 65 78 74 | ........if.(toolbarMode.!=."text |
3e540 | 22 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 65 6c 73 5b 69 5d 2e 73 65 74 41 74 74 72 69 | ").{.............els[i].setAttri |
3e560 | 62 75 74 65 28 22 73 61 76 65 64 2d 6d 6f 64 65 22 2c 20 74 6f 6f 6c 62 61 72 4d 6f 64 65 29 3b | bute("saved-mode",.toolbarMode); |
3e580 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 65 6c 73 5b 69 5d 2e 73 65 74 41 74 74 72 69 62 75 74 65 | .............els[i].setAttribute |
3e5a0 | 28 22 73 61 76 65 64 2d 69 63 6f 6e 73 69 7a 65 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ("saved-iconsize",.............. |
3e5c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 6c 73 5b 69 5d 2e 67 65 74 41 74 74 | ...................els[i].getAtt |
3e5e0 | 72 69 62 75 74 65 28 22 69 63 6f 6e 73 69 7a 65 22 29 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 | ribute("iconsize"));............ |
3e600 | 20 65 6c 73 5b 69 5d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 6d 6f 64 65 22 2c 20 22 69 63 | .els[i].setAttribute("mode",."ic |
3e620 | 6f 6e 73 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 65 6c 73 5b 69 5d 2e 73 65 74 41 74 74 | ons");.............els[i].setAtt |
3e640 | 72 69 62 75 74 65 28 22 69 63 6f 6e 73 69 7a 65 22 2c 20 22 73 6d 61 6c 6c 22 29 3b 0a 20 20 20 | ribute("iconsize",."small");.... |
3e660 | 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 47 69 76 65 20 74 68 65 20 | .......}............//.Give.the. |
3e680 | 6d 61 69 6e 20 6e 61 76 20 62 61 72 20 74 68 65 20 66 75 6c 6c 73 63 72 65 65 6e 20 63 6f 6e 74 | main.nav.bar.the.fullscreen.cont |
3e6a0 | 65 78 74 20 6d 65 6e 75 2c 20 6f 74 68 65 72 77 69 73 65 20 72 65 6d 6f 76 65 20 69 74 0a 20 20 | ext.menu,.otherwise.remove.it... |
3e6c0 | 20 20 20 20 20 20 20 20 2f 2f 20 74 6f 20 70 72 65 76 65 6e 74 20 62 72 65 61 6b 61 67 65 0a 20 | ........//.to.prevent.breakage.. |
3e6e0 | 20 20 20 20 20 20 20 20 20 65 6c 73 5b 69 5d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 73 61 | .........els[i].setAttribute("sa |
3e700 | 76 65 64 2d 63 6f 6e 74 65 78 74 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ved-context",................... |
3e720 | 20 20 20 20 20 20 20 20 20 20 20 20 65 6c 73 5b 69 5d 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 | ............els[i].getAttribute( |
3e740 | 22 63 6f 6e 74 65 78 74 22 29 29 3b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 65 6c 73 5b 69 | "context"));...........if.(els[i |
3e760 | 5d 2e 69 64 20 3d 3d 20 22 6e 61 76 2d 62 61 72 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 65 | ].id.==."nav-bar").............e |
3e780 | 6c 73 5b 69 5d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 63 6f 6e 74 65 78 74 22 2c 20 22 61 | ls[i].setAttribute("context",."a |
3e7a0 | 75 74 6f 68 69 64 65 2d 63 6f 6e 74 65 78 74 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 65 6c 73 | utohide-context");...........els |
3e7c0 | 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 65 6c 73 5b 69 5d 2e 72 65 6d 6f 76 65 41 74 74 72 69 | e.............els[i].removeAttri |
3e7e0 | 62 75 74 65 28 22 63 6f 6e 74 65 78 74 22 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 53 | bute("context");............//.S |
3e800 | 65 74 20 74 68 65 20 69 6e 46 75 6c 6c 73 63 72 65 65 6e 20 61 74 74 72 69 62 75 74 65 20 74 6f | et.the.inFullscreen.attribute.to |
3e820 | 20 61 6c 6c 6f 77 20 73 70 65 63 69 66 69 63 20 73 74 79 6c 69 6e 67 0a 20 20 20 20 20 20 20 20 | .allow.specific.styling......... |
3e840 | 20 20 2f 2f 20 69 6e 20 66 75 6c 6c 73 63 72 65 65 6e 20 6d 6f 64 65 0a 20 20 20 20 20 20 20 20 | ..//.in.fullscreen.mode......... |
3e860 | 20 20 65 6c 73 5b 69 5d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 69 6e 46 75 6c 6c 73 63 72 | ..els[i].setAttribute("inFullscr |
3e880 | 65 65 6e 22 2c 20 74 72 75 65 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 65 | een",.true);.........}.........e |
3e8a0 | 6c 73 65 20 7b 0a 20 20 20 20 20 20 20 20 20 20 66 75 6e 63 74 69 6f 6e 20 72 65 73 74 6f 72 65 | lse.{...........function.restore |
3e8c0 | 41 74 74 72 28 61 74 74 72 4e 61 6d 65 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 | Attr(attrName).{.............var |
3e8e0 | 20 73 61 76 65 64 41 74 74 72 20 3d 20 22 73 61 76 65 64 2d 22 20 2b 20 61 74 74 72 4e 61 6d 65 | .savedAttr.=."saved-".+.attrName |
3e900 | 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 65 6c 73 5b 69 5d 2e 68 61 73 41 74 74 72 | ;.............if.(els[i].hasAttr |
3e920 | 69 62 75 74 65 28 73 61 76 65 64 41 74 74 72 29 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ibute(savedAttr)).{............. |
3e940 | 20 20 65 6c 73 5b 69 5d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 61 74 74 72 4e 61 6d 65 2c 20 | ..els[i].setAttribute(attrName,. |
3e960 | 65 6c 73 5b 69 5d 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 73 61 76 65 64 41 74 74 72 29 29 3b | els[i].getAttribute(savedAttr)); |
3e980 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 6c 73 5b 69 5d 2e 72 65 6d 6f 76 65 41 74 74 72 | ...............els[i].removeAttr |
3e9a0 | 69 62 75 74 65 28 73 61 76 65 64 41 74 74 72 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a | ibute(savedAttr);.............}. |
3e9c0 | 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 72 65 73 74 6f 72 65 41 74 | ..........}............restoreAt |
3e9e0 | 74 72 28 22 6d 6f 64 65 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 72 65 73 74 6f 72 65 41 74 74 | tr("mode");...........restoreAtt |
3ea00 | 72 28 22 69 63 6f 6e 73 69 7a 65 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 72 65 73 74 6f 72 65 | r("iconsize");...........restore |
3ea20 | 41 74 74 72 28 22 63 6f 6e 74 65 78 74 22 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 65 6c 73 5b | Attr("context");............els[ |
3ea40 | 69 5d 2e 72 65 6d 6f 76 65 41 74 74 72 69 62 75 74 65 28 22 69 6e 46 75 6c 6c 73 63 72 65 65 6e | i].removeAttribute("inFullscreen |
3ea60 | 22 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 7d 20 65 6c 73 65 20 7b 0a 20 20 20 | ");.........}.......}.else.{.... |
3ea80 | 20 20 20 20 20 2f 2f 20 75 73 65 20 6d 6f 7a 2d 63 6f 6c 6c 61 70 73 65 64 20 73 6f 20 69 74 20 | .....//.use.moz-collapsed.so.it. |
3eaa0 | 64 6f 65 73 6e 27 74 20 70 65 72 73 69 73 74 20 68 69 64 64 65 6e 2f 63 6f 6c 6c 61 70 73 65 64 | doesn't.persist.hidden/collapsed |
3eac0 | 2c 0a 20 20 20 20 20 20 20 20 2f 2f 20 73 6f 20 74 68 61 74 20 6e 65 77 20 77 69 6e 64 6f 77 73 | ,.........//.so.that.new.windows |
3eae0 | 20 64 6f 6e 27 74 20 68 61 76 65 20 6d 69 73 73 69 6e 67 20 74 6f 6f 6c 62 61 72 73 0a 20 20 20 | .don't.have.missing.toolbars.... |
3eb00 | 20 20 20 20 20 69 66 20 28 61 53 68 6f 77 29 0a 20 20 20 20 20 20 20 20 20 20 65 6c 73 5b 69 5d | .....if.(aShow)...........els[i] |
3eb20 | 2e 72 65 6d 6f 76 65 41 74 74 72 69 62 75 74 65 28 22 6d 6f 7a 2d 63 6f 6c 6c 61 70 73 65 64 22 | .removeAttribute("moz-collapsed" |
3eb40 | 29 3b 0a 20 20 20 20 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 20 20 20 20 65 6c 73 5b 69 5d | );.........else...........els[i] |
3eb60 | 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 6d 6f 7a 2d 63 6f 6c 6c 61 70 73 65 64 22 2c 20 22 | .setAttribute("moz-collapsed",." |
3eb80 | 74 72 75 65 22 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 0a 20 20 20 20 69 66 20 28 61 | true");.......}.....}......if.(a |
3eba0 | 53 68 6f 77 29 0a 20 20 20 20 20 20 67 4e 61 76 54 6f 6f 6c 62 6f 78 2e 72 65 6d 6f 76 65 41 74 | Show).......gNavToolbox.removeAt |
3ebc0 | 74 72 69 62 75 74 65 28 22 69 6e 46 75 6c 6c 73 63 72 65 65 6e 22 29 3b 0a 20 20 20 20 65 6c 73 | tribute("inFullscreen");.....els |
3ebe0 | 65 0a 20 20 20 20 20 20 67 4e 61 76 54 6f 6f 6c 62 6f 78 2e 73 65 74 41 74 74 72 69 62 75 74 65 | e.......gNavToolbox.setAttribute |
3ec00 | 28 22 69 6e 46 75 6c 6c 73 63 72 65 65 6e 22 2c 20 74 72 75 65 29 3b 0a 0a 2f 2f 40 6c 69 6e 65 | ("inFullscreen",.true);..//@line |
3ec20 | 20 33 37 39 36 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f | .3796."/builds/moz2_slave/linux_ |
3ec40 | 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 62 61 73 65 2f 63 6f 6e 74 65 6e 74 | build/build/browser/base/content |
3ec60 | 2f 62 72 6f 77 73 65 72 2e 6a 73 22 0a 20 20 20 20 76 61 72 20 63 6f 6e 74 72 6f 6c 73 20 3d 20 | /browser.js".....var.controls.=. |
3ec80 | 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 73 42 79 41 74 74 72 69 62 75 74 65 28 | document.getElementsByAttribute( |
3eca0 | 22 66 75 6c 6c 73 63 72 65 65 6e 63 6f 6e 74 72 6f 6c 22 2c 20 22 74 72 75 65 22 29 3b 0a 20 20 | "fullscreencontrol",."true");... |
3ecc0 | 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 63 6f 6e 74 72 6f 6c 73 2e 6c | ..for.(var.i.=.0;.i.<.controls.l |
3ece0 | 65 6e 67 74 68 3b 20 2b 2b 69 29 0a 20 20 20 20 20 20 63 6f 6e 74 72 6f 6c 73 5b 69 5d 2e 68 69 | ength;.++i).......controls[i].hi |
3ed00 | 64 64 65 6e 20 3d 20 61 53 68 6f 77 3b 0a 2f 2f 40 6c 69 6e 65 20 33 38 30 30 20 22 2f 62 75 69 | dden.=.aShow;.//@line.3800."/bui |
3ed20 | 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 | lds/moz2_slave/linux_build/build |
3ed40 | 2f 62 72 6f 77 73 65 72 2f 62 61 73 65 2f 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2e 6a 73 | /browser/base/content/browser.js |
3ed60 | 22 0a 20 20 7d 0a 7d 3b 0a 0a 2f 2a 2a 0a 20 2a 20 52 65 74 75 72 6e 73 20 74 72 75 65 20 69 66 | "...}.};../**..*.Returns.true.if |
3ed80 | 20 7c 61 4d 69 6d 65 54 79 70 65 7c 20 69 73 20 74 65 78 74 2d 62 61 73 65 64 2c 20 66 61 6c 73 | .|aMimeType|.is.text-based,.fals |
3eda0 | 65 20 6f 74 68 65 72 77 69 73 65 2e 0a 20 2a 0a 20 2a 20 40 70 61 72 61 6d 20 61 4d 69 6d 65 54 | e.otherwise...*..*.@param.aMimeT |
3edc0 | 79 70 65 0a 20 2a 20 20 20 20 20 20 20 20 54 68 65 20 4d 49 4d 45 20 74 79 70 65 20 74 6f 20 63 | ype..*........The.MIME.type.to.c |
3ede0 | 68 65 63 6b 2e 0a 20 2a 0a 20 2a 20 49 66 20 61 64 64 69 6e 67 20 74 79 70 65 73 20 74 6f 20 74 | heck...*..*.If.adding.types.to.t |
3ee00 | 68 69 73 20 66 75 6e 63 74 69 6f 6e 2c 20 70 6c 65 61 73 65 20 61 6c 73 6f 20 63 68 65 63 6b 20 | his.function,.please.also.check. |
3ee20 | 74 68 65 20 73 69 6d 69 6c 61 72 20 0a 20 2a 20 66 75 6e 63 74 69 6f 6e 20 69 6e 20 66 69 6e 64 | the.similar...*.function.in.find |
3ee40 | 62 61 72 2e 78 6d 6c 0a 20 2a 2f 0a 66 75 6e 63 74 69 6f 6e 20 6d 69 6d 65 54 79 70 65 49 73 54 | bar.xml..*/.function.mimeTypeIsT |
3ee60 | 65 78 74 42 61 73 65 64 28 61 4d 69 6d 65 54 79 70 65 29 0a 7b 0a 20 20 72 65 74 75 72 6e 20 2f | extBased(aMimeType).{...return./ |
3ee80 | 5e 74 65 78 74 5c 2f 7c 5c 2b 78 6d 6c 24 2f 2e 74 65 73 74 28 61 4d 69 6d 65 54 79 70 65 29 20 | ^text\/|\+xml$/.test(aMimeType). |
3eea0 | 7c 7c 0a 20 20 20 20 20 20 20 20 20 61 4d 69 6d 65 54 79 70 65 20 3d 3d 20 22 61 70 70 6c 69 63 | ||..........aMimeType.==."applic |
3eec0 | 61 74 69 6f 6e 2f 78 2d 6a 61 76 61 73 63 72 69 70 74 22 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 | ation/x-javascript".||.......... |
3eee0 | 61 4d 69 6d 65 54 79 70 65 20 3d 3d 20 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f 6a 61 76 61 73 63 | aMimeType.==."application/javasc |
3ef00 | 72 69 70 74 22 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 61 4d 69 6d 65 54 79 70 65 20 3d 3d 20 22 | ript".||..........aMimeType.==." |
3ef20 | 61 70 70 6c 69 63 61 74 69 6f 6e 2f 78 6d 6c 22 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 61 4d 69 | application/xml".||..........aMi |
3ef40 | 6d 65 54 79 70 65 20 3d 3d 20 22 6d 6f 7a 69 6c 6c 61 2e 61 70 70 6c 69 63 61 74 69 6f 6e 2f 63 | meType.==."mozilla.application/c |
3ef60 | 61 63 68 65 64 2d 78 75 6c 22 3b 0a 7d 0a 0a 76 61 72 20 58 55 4c 42 72 6f 77 73 65 72 57 69 6e | ached-xul";.}..var.XULBrowserWin |
3ef80 | 64 6f 77 20 3d 20 7b 0a 20 20 2f 2f 20 53 74 6f 72 65 64 20 53 74 61 74 75 73 2c 20 4c 69 6e 6b | dow.=.{...//.Stored.Status,.Link |
3efa0 | 20 61 6e 64 20 4c 6f 61 64 69 6e 67 20 76 61 6c 75 65 73 0a 20 20 73 74 61 74 75 73 3a 20 22 22 | .and.Loading.values...status:."" |
3efc0 | 2c 0a 20 20 64 65 66 61 75 6c 74 53 74 61 74 75 73 3a 20 22 22 2c 0a 20 20 6a 73 53 74 61 74 75 | ,...defaultStatus:."",...jsStatu |
3efe0 | 73 3a 20 22 22 2c 0a 20 20 6a 73 44 65 66 61 75 6c 74 53 74 61 74 75 73 3a 20 22 22 2c 0a 20 20 | s:."",...jsDefaultStatus:."",... |
3f000 | 6f 76 65 72 4c 69 6e 6b 3a 20 22 22 2c 0a 20 20 73 74 61 72 74 54 69 6d 65 3a 20 30 2c 0a 20 20 | overLink:."",...startTime:.0,... |
3f020 | 73 74 61 74 75 73 54 65 78 74 3a 20 22 22 2c 0a 20 20 6c 61 73 74 55 52 49 3a 20 6e 75 6c 6c 2c | statusText:."",...lastURI:.null, |
3f040 | 0a 20 20 69 73 42 75 73 79 3a 20 66 61 6c 73 65 2c 0a 0a 20 20 73 74 61 74 75 73 54 69 6d 65 6f | ...isBusy:.false,....statusTimeo |
3f060 | 75 74 49 6e 45 66 66 65 63 74 3a 20 66 61 6c 73 65 2c 0a 0a 20 20 51 75 65 72 79 49 6e 74 65 72 | utInEffect:.false,....QueryInter |
3f080 | 66 61 63 65 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 49 49 44 29 20 7b 0a 20 20 20 20 69 66 20 28 | face:.function.(aIID).{.....if.( |
3f0a0 | 61 49 49 44 2e 65 71 75 61 6c 73 28 43 69 2e 6e 73 49 57 65 62 50 72 6f 67 72 65 73 73 4c 69 73 | aIID.equals(Ci.nsIWebProgressLis |
3f0c0 | 74 65 6e 65 72 29 20 7c 7c 0a 20 20 20 20 20 20 20 20 61 49 49 44 2e 65 71 75 61 6c 73 28 43 69 | tener).||.........aIID.equals(Ci |
3f0e0 | 2e 6e 73 49 57 65 62 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 32 29 20 7c 7c 0a 20 20 20 | .nsIWebProgressListener2).||.... |
3f100 | 20 20 20 20 20 61 49 49 44 2e 65 71 75 61 6c 73 28 43 69 2e 6e 73 49 53 75 70 70 6f 72 74 73 57 | .....aIID.equals(Ci.nsISupportsW |
3f120 | 65 61 6b 52 65 66 65 72 65 6e 63 65 29 20 7c 7c 0a 20 20 20 20 20 20 20 20 61 49 49 44 2e 65 71 | eakReference).||.........aIID.eq |
3f140 | 75 61 6c 73 28 43 69 2e 6e 73 49 58 55 4c 42 72 6f 77 73 65 72 57 69 6e 64 6f 77 29 20 7c 7c 0a | uals(Ci.nsIXULBrowserWindow).||. |
3f160 | 20 20 20 20 20 20 20 20 61 49 49 44 2e 65 71 75 61 6c 73 28 43 69 2e 6e 73 49 53 75 70 70 6f 72 | ........aIID.equals(Ci.nsISuppor |
3f180 | 74 73 29 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 3b 0a 20 20 20 20 74 68 72 6f | ts)).......return.this;.....thro |
3f1a0 | 77 20 43 72 2e 4e 53 5f 4e 4f 49 4e 54 45 52 46 41 43 45 3b 0a 20 20 7d 2c 0a 0a 20 20 67 65 74 | w.Cr.NS_NOINTERFACE;...},....get |
3f1c0 | 20 73 74 61 74 75 73 4d 65 74 65 72 20 28 29 20 7b 0a 20 20 20 20 64 65 6c 65 74 65 20 74 68 69 | .statusMeter.().{.....delete.thi |
3f1e0 | 73 2e 73 74 61 74 75 73 4d 65 74 65 72 3b 0a 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 73 | s.statusMeter;.....return.this.s |
3f200 | 74 61 74 75 73 4d 65 74 65 72 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 | tatusMeter.=.document.getElement |
3f220 | 42 79 49 64 28 22 73 74 61 74 75 73 62 61 72 2d 69 63 6f 6e 22 29 3b 0a 20 20 7d 2c 0a 20 20 67 | ById("statusbar-icon");...},...g |
3f240 | 65 74 20 73 74 6f 70 43 6f 6d 6d 61 6e 64 20 28 29 20 7b 0a 20 20 20 20 64 65 6c 65 74 65 20 74 | et.stopCommand.().{.....delete.t |
3f260 | 68 69 73 2e 73 74 6f 70 43 6f 6d 6d 61 6e 64 3b 0a 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 | his.stopCommand;.....return.this |
3f280 | 2e 73 74 6f 70 43 6f 6d 6d 61 6e 64 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 | .stopCommand.=.document.getEleme |
3f2a0 | 6e 74 42 79 49 64 28 22 42 72 6f 77 73 65 72 3a 53 74 6f 70 22 29 3b 0a 20 20 7d 2c 0a 20 20 67 | ntById("Browser:Stop");...},...g |
3f2c0 | 65 74 20 72 65 6c 6f 61 64 43 6f 6d 6d 61 6e 64 20 28 29 20 7b 0a 20 20 20 20 64 65 6c 65 74 65 | et.reloadCommand.().{.....delete |
3f2e0 | 20 74 68 69 73 2e 72 65 6c 6f 61 64 43 6f 6d 6d 61 6e 64 3b 0a 20 20 20 20 72 65 74 75 72 6e 20 | .this.reloadCommand;.....return. |
3f300 | 74 68 69 73 2e 72 65 6c 6f 61 64 43 6f 6d 6d 61 6e 64 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 | this.reloadCommand.=.document.ge |
3f320 | 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 42 72 6f 77 73 65 72 3a 52 65 6c 6f 61 64 22 29 3b 0a | tElementById("Browser:Reload");. |
3f340 | 20 20 7d 2c 0a 20 20 67 65 74 20 73 74 61 74 75 73 54 65 78 74 46 69 65 6c 64 20 28 29 20 7b 0a | ..},...get.statusTextField.().{. |
3f360 | 20 20 20 20 64 65 6c 65 74 65 20 74 68 69 73 2e 73 74 61 74 75 73 54 65 78 74 46 69 65 6c 64 3b | ....delete.this.statusTextField; |
3f380 | 0a 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 73 74 61 74 75 73 54 65 78 74 46 69 65 6c 64 | .....return.this.statusTextField |
3f3a0 | 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 73 74 61 74 | .=.document.getElementById("stat |
3f3c0 | 75 73 62 61 72 2d 64 69 73 70 6c 61 79 22 29 3b 0a 20 20 7d 2c 0a 20 20 67 65 74 20 73 65 63 75 | usbar-display");...},...get.secu |
3f3e0 | 72 69 74 79 42 75 74 74 6f 6e 20 28 29 20 7b 0a 20 20 20 20 64 65 6c 65 74 65 20 74 68 69 73 2e | rityButton.().{.....delete.this. |
3f400 | 73 65 63 75 72 69 74 79 42 75 74 74 6f 6e 3b 0a 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e | securityButton;.....return.this. |
3f420 | 73 65 63 75 72 69 74 79 42 75 74 74 6f 6e 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 | securityButton.=.document.getEle |
3f440 | 6d 65 6e 74 42 79 49 64 28 22 73 65 63 75 72 69 74 79 2d 62 75 74 74 6f 6e 22 29 3b 0a 20 20 7d | mentById("security-button");...} |
3f460 | 2c 0a 20 20 67 65 74 20 69 73 49 6d 61 67 65 20 28 29 20 7b 0a 20 20 20 20 64 65 6c 65 74 65 20 | ,...get.isImage.().{.....delete. |
3f480 | 74 68 69 73 2e 69 73 49 6d 61 67 65 3b 0a 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 69 73 | this.isImage;.....return.this.is |
3f4a0 | 49 6d 61 67 65 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 | Image.=.document.getElementById( |
3f4c0 | 22 69 73 49 6d 61 67 65 22 29 3b 0a 20 20 7d 2c 0a 20 20 67 65 74 20 5f 75 72 69 46 69 78 75 70 | "isImage");...},...get._uriFixup |
3f4e0 | 20 28 29 20 7b 0a 20 20 20 20 64 65 6c 65 74 65 20 74 68 69 73 2e 5f 75 72 69 46 69 78 75 70 3b | .().{.....delete.this._uriFixup; |
3f500 | 0a 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 75 72 69 46 69 78 75 70 20 3d 20 43 63 5b | .....return.this._uriFixup.=.Cc[ |
3f520 | 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 64 6f 63 73 68 65 6c 6c 2f 75 72 69 66 69 78 75 70 3b | "@mozilla.org/docshell/urifixup; |
3f540 | 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | 1"]............................. |
3f560 | 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 55 52 49 46 69 78 75 70 29 3b 0a 20 | ...getService(Ci.nsIURIFixup);.. |
3f580 | 20 7d 2c 0a 0a 20 20 69 6e 69 74 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 20 7b 0a 20 20 20 20 74 | .},....init:.function.().{.....t |
3f5a0 | 68 69 73 2e 74 68 72 6f 62 62 65 72 45 6c 65 6d 65 6e 74 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 | his.throbberElement.=.document.g |
3f5c0 | 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 6e 61 76 69 67 61 74 6f 72 2d 74 68 72 6f 62 62 65 | etElementById("navigator-throbbe |
3f5e0 | 72 22 29 3b 0a 0a 20 20 20 20 2f 2f 20 49 6e 69 74 69 61 6c 69 7a 65 20 74 68 65 20 73 65 63 75 | r");......//.Initialize.the.secu |
3f600 | 72 69 74 79 20 62 75 74 74 6f 6e 27 73 20 73 74 61 74 65 20 61 6e 64 20 74 6f 6f 6c 74 69 70 20 | rity.button's.state.and.tooltip. |
3f620 | 74 65 78 74 2e 20 20 52 65 6d 65 6d 62 65 72 20 74 6f 20 72 65 73 65 74 0a 20 20 20 20 2f 2f 20 | text...Remember.to.reset.....//. |
3f640 | 5f 68 6f 73 74 43 68 61 6e 67 65 64 2c 20 6f 74 68 65 72 77 69 73 65 20 6f 6e 53 65 63 75 72 69 | _hostChanged,.otherwise.onSecuri |
3f660 | 74 79 43 68 61 6e 67 65 20 77 69 6c 6c 20 73 68 6f 72 74 20 63 69 72 63 75 69 74 2e 0a 20 20 20 | tyChange.will.short.circuit..... |
3f680 | 20 76 61 72 20 73 65 63 75 72 69 74 79 55 49 20 3d 20 67 42 72 6f 77 73 65 72 2e 73 65 63 75 72 | .var.securityUI.=.gBrowser.secur |
3f6a0 | 69 74 79 55 49 3b 0a 20 20 20 20 74 68 69 73 2e 5f 68 6f 73 74 43 68 61 6e 67 65 64 20 3d 20 74 | ityUI;.....this._hostChanged.=.t |
3f6c0 | 72 75 65 3b 0a 20 20 20 20 74 68 69 73 2e 6f 6e 53 65 63 75 72 69 74 79 43 68 61 6e 67 65 28 6e | rue;.....this.onSecurityChange(n |
3f6e0 | 75 6c 6c 2c 20 6e 75 6c 6c 2c 20 73 65 63 75 72 69 74 79 55 49 2e 73 74 61 74 65 29 3b 0a 20 20 | ull,.null,.securityUI.state);... |
3f700 | 7d 2c 0a 0a 20 20 64 65 73 74 72 6f 79 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 20 7b 0a 20 20 20 | },....destroy:.function.().{.... |
3f720 | 20 2f 2f 20 58 58 58 6a 61 67 20 74 6f 20 61 76 6f 69 64 20 6c 65 61 6b 73 20 3a 2d 2f 2c 20 73 | .//.XXXjag.to.avoid.leaks.:-/,.s |
3f740 | 65 65 20 62 75 67 20 36 30 37 32 39 0a 20 20 20 20 64 65 6c 65 74 65 20 74 68 69 73 2e 74 68 72 | ee.bug.60729.....delete.this.thr |
3f760 | 6f 62 62 65 72 45 6c 65 6d 65 6e 74 3b 0a 20 20 20 20 64 65 6c 65 74 65 20 74 68 69 73 2e 73 74 | obberElement;.....delete.this.st |
3f780 | 61 74 75 73 4d 65 74 65 72 3b 0a 20 20 20 20 64 65 6c 65 74 65 20 74 68 69 73 2e 73 74 6f 70 43 | atusMeter;.....delete.this.stopC |
3f7a0 | 6f 6d 6d 61 6e 64 3b 0a 20 20 20 20 64 65 6c 65 74 65 20 74 68 69 73 2e 72 65 6c 6f 61 64 43 6f | ommand;.....delete.this.reloadCo |
3f7c0 | 6d 6d 61 6e 64 3b 0a 20 20 20 20 64 65 6c 65 74 65 20 74 68 69 73 2e 73 74 61 74 75 73 54 65 78 | mmand;.....delete.this.statusTex |
3f7e0 | 74 46 69 65 6c 64 3b 0a 20 20 20 20 64 65 6c 65 74 65 20 74 68 69 73 2e 73 65 63 75 72 69 74 79 | tField;.....delete.this.security |
3f800 | 42 75 74 74 6f 6e 3b 0a 20 20 20 20 64 65 6c 65 74 65 20 74 68 69 73 2e 73 74 61 74 75 73 54 65 | Button;.....delete.this.statusTe |
3f820 | 78 74 3b 0a 20 20 20 20 64 65 6c 65 74 65 20 74 68 69 73 2e 6c 61 73 74 55 52 49 3b 0a 20 20 7d | xt;.....delete.this.lastURI;...} |
3f840 | 2c 0a 0a 20 20 73 65 74 4a 53 53 74 61 74 75 73 3a 20 66 75 6e 63 74 69 6f 6e 20 28 73 74 61 74 | ,....setJSStatus:.function.(stat |
3f860 | 75 73 29 20 7b 0a 20 20 20 20 74 68 69 73 2e 6a 73 53 74 61 74 75 73 20 3d 20 73 74 61 74 75 73 | us).{.....this.jsStatus.=.status |
3f880 | 3b 0a 20 20 20 20 74 68 69 73 2e 75 70 64 61 74 65 53 74 61 74 75 73 46 69 65 6c 64 28 29 3b 0a | ;.....this.updateStatusField();. |
3f8a0 | 20 20 7d 2c 0a 0a 20 20 73 65 74 4a 53 44 65 66 61 75 6c 74 53 74 61 74 75 73 3a 20 66 75 6e 63 | ..},....setJSDefaultStatus:.func |
3f8c0 | 74 69 6f 6e 20 28 73 74 61 74 75 73 29 20 7b 0a 20 20 20 20 74 68 69 73 2e 6a 73 44 65 66 61 75 | tion.(status).{.....this.jsDefau |
3f8e0 | 6c 74 53 74 61 74 75 73 20 3d 20 73 74 61 74 75 73 3b 0a 20 20 20 20 74 68 69 73 2e 75 70 64 61 | ltStatus.=.status;.....this.upda |
3f900 | 74 65 53 74 61 74 75 73 46 69 65 6c 64 28 29 3b 0a 20 20 7d 2c 0a 0a 20 20 73 65 74 44 65 66 61 | teStatusField();...},....setDefa |
3f920 | 75 6c 74 53 74 61 74 75 73 3a 20 66 75 6e 63 74 69 6f 6e 20 28 73 74 61 74 75 73 29 20 7b 0a 20 | ultStatus:.function.(status).{.. |
3f940 | 20 20 20 74 68 69 73 2e 64 65 66 61 75 6c 74 53 74 61 74 75 73 20 3d 20 73 74 61 74 75 73 3b 0a | ...this.defaultStatus.=.status;. |
3f960 | 20 20 20 20 74 68 69 73 2e 75 70 64 61 74 65 53 74 61 74 75 73 46 69 65 6c 64 28 29 3b 0a 20 20 | ....this.updateStatusField();... |
3f980 | 7d 2c 0a 0a 20 20 73 65 74 4f 76 65 72 4c 69 6e 6b 3a 20 66 75 6e 63 74 69 6f 6e 20 28 6c 69 6e | },....setOverLink:.function.(lin |
3f9a0 | 6b 2c 20 62 29 20 7b 0a 20 20 20 20 2f 2f 20 45 6e 63 6f 64 65 20 62 69 64 69 72 65 63 74 69 6f | k,.b).{.....//.Encode.bidirectio |
3f9c0 | 6e 61 6c 20 66 6f 72 6d 61 74 74 69 6e 67 20 63 68 61 72 61 63 74 65 72 73 2e 0a 20 20 20 20 2f | nal.formatting.characters....../ |
3f9e0 | 2f 20 28 52 46 43 20 33 39 38 37 20 73 65 63 74 69 6f 6e 73 20 33 2e 32 20 61 6e 64 20 34 2e 31 | /.(RFC.3987.sections.3.2.and.4.1 |
3fa00 | 20 70 61 72 61 67 72 61 70 68 20 36 29 0a 20 20 20 20 74 68 69 73 2e 6f 76 65 72 4c 69 6e 6b 20 | .paragraph.6).....this.overLink. |
3fa20 | 3d 20 6c 69 6e 6b 2e 72 65 70 6c 61 63 65 28 2f 5b 5c 75 32 30 30 65 5c 75 32 30 30 66 5c 75 32 | =.link.replace(/[\u200e\u200f\u2 |
3fa40 | 30 32 61 5c 75 32 30 32 62 5c 75 32 30 32 63 5c 75 32 30 32 64 5c 75 32 30 32 65 5d 2f 67 2c 0a | 02a\u202b\u202c\u202d\u202e]/g,. |
3fa60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
3fa80 | 20 65 6e 63 6f 64 65 55 52 49 43 6f 6d 70 6f 6e 65 6e 74 29 3b 0a 20 20 20 20 74 68 69 73 2e 75 | .encodeURIComponent);.....this.u |
3faa0 | 70 64 61 74 65 53 74 61 74 75 73 46 69 65 6c 64 28 29 3b 0a 20 20 7d 2c 0a 0a 20 20 75 70 64 61 | pdateStatusField();...},....upda |
3fac0 | 74 65 53 74 61 74 75 73 46 69 65 6c 64 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 20 7b 0a 20 20 20 | teStatusField:.function.().{.... |
3fae0 | 20 76 61 72 20 74 65 78 74 20 3d 20 74 68 69 73 2e 6f 76 65 72 4c 69 6e 6b 20 7c 7c 20 74 68 69 | .var.text.=.this.overLink.||.thi |
3fb00 | 73 2e 73 74 61 74 75 73 20 7c 7c 20 74 68 69 73 2e 6a 73 53 74 61 74 75 73 20 7c 7c 20 74 68 69 | s.status.||.this.jsStatus.||.thi |
3fb20 | 73 2e 6a 73 44 65 66 61 75 6c 74 53 74 61 74 75 73 20 7c 7c 20 74 68 69 73 2e 64 65 66 61 75 6c | s.jsDefaultStatus.||.this.defaul |
3fb40 | 74 53 74 61 74 75 73 3b 0a 0a 20 20 20 20 2f 2f 20 63 68 65 63 6b 20 74 68 65 20 63 75 72 72 65 | tStatus;......//.check.the.curre |
3fb60 | 6e 74 20 76 61 6c 75 65 20 73 6f 20 77 65 20 64 6f 6e 27 74 20 74 72 69 67 67 65 72 20 61 6e 20 | nt.value.so.we.don't.trigger.an. |
3fb80 | 61 74 74 72 69 62 75 74 65 20 63 68 61 6e 67 65 0a 20 20 20 20 2f 2f 20 61 6e 64 20 63 61 75 73 | attribute.change.....//.and.caus |
3fba0 | 65 20 6e 65 65 64 6c 65 73 73 20 28 73 6c 6f 77 21 29 20 55 49 20 75 70 64 61 74 65 73 0a 20 20 | e.needless.(slow!).UI.updates... |
3fbc0 | 20 20 69 66 20 28 74 68 69 73 2e 73 74 61 74 75 73 54 65 78 74 20 21 3d 20 74 65 78 74 29 20 7b | ..if.(this.statusText.!=.text).{ |
3fbe0 | 0a 20 20 20 20 20 20 74 68 69 73 2e 73 74 61 74 75 73 54 65 78 74 46 69 65 6c 64 2e 6c 61 62 65 | .......this.statusTextField.labe |
3fc00 | 6c 20 3d 20 74 65 78 74 3b 0a 20 20 20 20 20 20 74 68 69 73 2e 73 74 61 74 75 73 54 65 78 74 20 | l.=.text;.......this.statusText. |
3fc20 | 3d 20 74 65 78 74 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 20 20 0a 20 20 6f 6e 4c 69 6e 6b 49 63 | =.text;.....}...},......onLinkIc |
3fc40 | 6f 6e 41 76 61 69 6c 61 62 6c 65 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 42 72 6f 77 73 65 72 29 | onAvailable:.function.(aBrowser) |
3fc60 | 20 7b 0a 20 20 20 20 69 66 20 28 67 50 72 6f 78 79 46 61 76 49 63 6f 6e 20 26 26 20 67 42 72 6f | .{.....if.(gProxyFavIcon.&&.gBro |
3fc80 | 77 73 65 72 2e 75 73 65 72 54 79 70 65 64 56 61 6c 75 65 20 3d 3d 3d 20 6e 75 6c 6c 29 0a 20 20 | wser.userTypedValue.===.null)... |
3fca0 | 20 20 20 20 50 61 67 65 50 72 6f 78 79 53 65 74 49 63 6f 6e 28 61 42 72 6f 77 73 65 72 2e 6d 49 | ....PageProxySetIcon(aBrowser.mI |
3fcc0 | 63 6f 6e 55 52 4c 29 3b 20 2f 2f 20 75 70 64 61 74 65 20 74 68 65 20 66 61 76 69 63 6f 6e 20 69 | conURL);.//.update.the.favicon.i |
3fce0 | 6e 20 74 68 65 20 55 52 4c 20 62 61 72 0a 20 20 7d 2c 0a 0a 20 20 6f 6e 50 72 6f 67 72 65 73 73 | n.the.URL.bar...},....onProgress |
3fd00 | 43 68 61 6e 67 65 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 57 65 62 50 72 6f 67 72 65 73 73 2c 20 | Change:.function.(aWebProgress,. |
3fd20 | 61 52 65 71 75 65 73 74 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | aRequest,....................... |
3fd40 | 20 20 20 20 20 20 20 20 61 43 75 72 53 65 6c 66 50 72 6f 67 72 65 73 73 2c 20 61 4d 61 78 53 65 | ........aCurSelfProgress,.aMaxSe |
3fd60 | 6c 66 50 72 6f 67 72 65 73 73 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | lfProgress,..................... |
3fd80 | 20 20 20 20 20 20 20 20 20 20 61 43 75 72 54 6f 74 61 6c 50 72 6f 67 72 65 73 73 2c 20 61 4d 61 | ..........aCurTotalProgress,.aMa |
3fda0 | 78 54 6f 74 61 6c 50 72 6f 67 72 65 73 73 29 20 7b 0a 20 20 20 20 69 66 20 28 61 4d 61 78 54 6f | xTotalProgress).{.....if.(aMaxTo |
3fdc0 | 74 61 6c 50 72 6f 67 72 65 73 73 20 3e 20 30 29 20 7b 0a 20 20 20 20 20 20 2f 2f 20 54 68 69 73 | talProgress.>.0).{.......//.This |
3fde0 | 20 69 73 20 68 69 67 68 6c 79 20 6f 70 74 69 6d 69 7a 65 64 2e 20 20 44 6f 6e 27 74 20 74 6f 75 | .is.highly.optimized...Don't.tou |
3fe00 | 63 68 20 74 68 69 73 20 63 6f 64 65 20 75 6e 6c 65 73 73 0a 20 20 20 20 20 20 2f 2f 20 79 6f 75 | ch.this.code.unless.......//.you |
3fe20 | 20 61 72 65 20 69 6e 74 69 6d 61 74 65 6c 79 20 66 61 6d 69 6c 69 61 72 20 77 69 74 68 20 74 68 | .are.intimately.familiar.with.th |
3fe40 | 65 20 63 6f 73 74 20 6f 66 20 73 65 74 74 69 6e 67 0a 20 20 20 20 20 20 2f 2f 20 61 74 74 72 73 | e.cost.of.setting.......//.attrs |
3fe60 | 20 6f 6e 20 58 55 4c 20 65 6c 65 6d 65 6e 74 73 2e 20 2d 2d 20 68 79 61 74 74 0a 20 20 20 20 20 | .on.XUL.elements..--.hyatt...... |
3fe80 | 20 76 61 72 20 70 65 72 63 65 6e 74 61 67 65 20 3d 20 28 61 43 75 72 54 6f 74 61 6c 50 72 6f 67 | .var.percentage.=.(aCurTotalProg |
3fea0 | 72 65 73 73 20 2a 20 31 30 30 29 20 2f 20 61 4d 61 78 54 6f 74 61 6c 50 72 6f 67 72 65 73 73 3b | ress.*.100)./.aMaxTotalProgress; |
3fec0 | 0a 20 20 20 20 20 20 74 68 69 73 2e 73 74 61 74 75 73 4d 65 74 65 72 2e 76 61 6c 75 65 20 3d 20 | .......this.statusMeter.value.=. |
3fee0 | 70 65 72 63 65 6e 74 61 67 65 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 6f 6e 50 72 6f 67 | percentage;.....}...},....onProg |
3ff00 | 72 65 73 73 43 68 61 6e 67 65 36 34 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 57 65 62 50 72 6f 67 | ressChange64:.function.(aWebProg |
3ff20 | 72 65 73 73 2c 20 61 52 65 71 75 65 73 74 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ress,.aRequest,................. |
3ff40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 43 75 72 53 65 6c 66 50 72 6f 67 72 65 73 73 | ................aCurSelfProgress |
3ff60 | 2c 20 61 4d 61 78 53 65 6c 66 50 72 6f 67 72 65 73 73 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ,.aMaxSelfProgress,............. |
3ff80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 43 75 72 54 6f 74 61 6c 50 72 6f | ....................aCurTotalPro |
3ffa0 | 67 72 65 73 73 2c 20 61 4d 61 78 54 6f 74 61 6c 50 72 6f 67 72 65 73 73 29 20 7b 0a 20 20 20 20 | gress,.aMaxTotalProgress).{..... |
3ffc0 | 72 65 74 75 72 6e 20 74 68 69 73 2e 6f 6e 50 72 6f 67 72 65 73 73 43 68 61 6e 67 65 28 61 57 65 | return.this.onProgressChange(aWe |
3ffe0 | 62 50 72 6f 67 72 65 73 73 2c 20 61 52 65 71 75 65 73 74 2c 0a 20 20 20 20 20 20 61 43 75 72 53 | bProgress,.aRequest,.......aCurS |
40000 | 65 6c 66 50 72 6f 67 72 65 73 73 2c 20 61 4d 61 78 53 65 6c 66 50 72 6f 67 72 65 73 73 2c 20 61 | elfProgress,.aMaxSelfProgress,.a |
40020 | 43 75 72 54 6f 74 61 6c 50 72 6f 67 72 65 73 73 2c 0a 20 20 20 20 20 20 61 4d 61 78 54 6f 74 61 | CurTotalProgress,.......aMaxTota |
40040 | 6c 50 72 6f 67 72 65 73 73 29 3b 0a 20 20 7d 2c 0a 0a 20 20 6f 6e 53 74 61 74 65 43 68 61 6e 67 | lProgress);...},....onStateChang |
40060 | 65 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 57 65 62 50 72 6f 67 72 65 73 73 2c 20 61 52 65 71 75 | e:.function.(aWebProgress,.aRequ |
40080 | 65 73 74 2c 20 61 53 74 61 74 65 46 6c 61 67 73 2c 20 61 53 74 61 74 75 73 29 20 7b 0a 20 20 20 | est,.aStateFlags,.aStatus).{.... |
400a0 | 20 63 6f 6e 73 74 20 6e 73 49 57 65 62 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 20 3d 20 | .const.nsIWebProgressListener.=. |
400c0 | 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 57 65 62 50 72 6f 67 | Components.interfaces.nsIWebProg |
400e0 | 72 65 73 73 4c 69 73 74 65 6e 65 72 3b 0a 20 20 20 20 63 6f 6e 73 74 20 6e 73 49 43 68 61 6e 6e | ressListener;.....const.nsIChann |
40100 | 65 6c 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 43 68 | el.=.Components.interfaces.nsICh |
40120 | 61 6e 6e 65 6c 3b 0a 20 20 20 20 69 66 20 28 61 53 74 61 74 65 46 6c 61 67 73 20 26 20 6e 73 49 | annel;.....if.(aStateFlags.&.nsI |
40140 | 57 65 62 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 2e 53 54 41 54 45 5f 53 54 41 52 54 29 | WebProgressListener.STATE_START) |
40160 | 20 7b 0a 20 20 20 20 20 20 2f 2f 20 54 68 69 73 20 28 74 68 61 6e 6b 73 20 74 6f 20 74 68 65 20 | .{.......//.This.(thanks.to.the. |
40180 | 66 69 6c 74 65 72 29 20 69 73 20 61 20 6e 65 74 77 6f 72 6b 20 73 74 61 72 74 20 6f 72 20 74 68 | filter).is.a.network.start.or.th |
401a0 | 65 20 66 69 72 73 74 0a 20 20 20 20 20 20 2f 2f 20 73 74 72 61 79 20 72 65 71 75 65 73 74 20 28 | e.first.......//.stray.request.( |
401c0 | 74 68 65 20 66 69 72 73 74 20 72 65 71 75 65 73 74 20 6f 75 74 73 69 64 65 20 6f 66 20 74 68 65 | the.first.request.outside.of.the |
401e0 | 20 64 6f 63 75 6d 65 6e 74 20 6c 6f 61 64 29 2c 0a 20 20 20 20 20 20 2f 2f 20 69 6e 69 74 69 61 | .document.load),.......//.initia |
40200 | 6c 69 7a 65 20 74 68 65 20 74 68 72 6f 62 62 65 72 20 61 6e 64 20 68 69 73 20 66 72 69 65 6e 64 | lize.the.throbber.and.his.friend |
40220 | 73 2e 0a 0a 20 20 20 20 20 20 2f 2f 20 43 61 6c 6c 20 73 74 61 72 74 20 64 6f 63 75 6d 65 6e 74 | s.........//.Call.start.document |
40240 | 20 6c 6f 61 64 20 6c 69 73 74 65 6e 65 72 73 20 28 6f 6e 6c 79 20 69 66 20 74 68 69 73 20 69 73 | .load.listeners.(only.if.this.is |
40260 | 20 61 20 6e 65 74 77 6f 72 6b 20 6c 6f 61 64 29 0a 20 20 20 20 20 20 69 66 20 28 61 53 74 61 74 | .a.network.load).......if.(aStat |
40280 | 65 46 6c 61 67 73 20 26 20 6e 73 49 57 65 62 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 2e | eFlags.&.nsIWebProgressListener. |
402a0 | 53 54 41 54 45 5f 49 53 5f 4e 45 54 57 4f 52 4b 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 61 52 | STATE_IS_NETWORK.&&...........aR |
402c0 | 65 71 75 65 73 74 20 26 26 20 61 57 65 62 50 72 6f 67 72 65 73 73 2e 44 4f 4d 57 69 6e 64 6f 77 | equest.&&.aWebProgress.DOMWindow |
402e0 | 20 3d 3d 20 63 6f 6e 74 65 6e 74 29 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 73 74 61 72 74 44 | .==.content).........this.startD |
40300 | 6f 63 75 6d 65 6e 74 4c 6f 61 64 28 61 52 65 71 75 65 73 74 29 3b 0a 0a 20 20 20 20 20 20 74 68 | ocumentLoad(aRequest);........th |
40320 | 69 73 2e 69 73 42 75 73 79 20 3d 20 74 72 75 65 3b 0a 0a 20 20 20 20 20 20 69 66 20 28 74 68 69 | is.isBusy.=.true;........if.(thi |
40340 | 73 2e 74 68 72 6f 62 62 65 72 45 6c 65 6d 65 6e 74 29 20 7b 0a 20 20 20 20 20 20 20 20 2f 2f 20 | s.throbberElement).{.........//. |
40360 | 54 75 72 6e 20 74 68 65 20 74 68 72 6f 62 62 65 72 20 6f 6e 2e 0a 20 20 20 20 20 20 20 20 74 68 | Turn.the.throbber.on..........th |
40380 | 69 73 2e 74 68 72 6f 62 62 65 72 45 6c 65 6d 65 6e 74 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 | is.throbberElement.setAttribute( |
403a0 | 22 62 75 73 79 22 2c 20 22 74 72 75 65 22 29 3b 0a 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 | "busy",."true");.......}........ |
403c0 | 2f 2f 20 54 75 72 6e 20 74 68 65 20 73 74 61 74 75 73 20 6d 65 74 65 72 20 6f 6e 2e 0a 20 20 20 | //.Turn.the.status.meter.on..... |
403e0 | 20 20 20 74 68 69 73 2e 73 74 61 74 75 73 4d 65 74 65 72 2e 76 61 6c 75 65 20 3d 20 30 3b 20 20 | ...this.statusMeter.value.=.0;.. |
40400 | 2f 2f 20 62 65 20 73 75 72 65 20 74 6f 20 63 6c 65 61 72 20 74 68 65 20 70 72 6f 67 72 65 73 73 | //.be.sure.to.clear.the.progress |
40420 | 20 62 61 72 0a 20 20 20 20 20 20 69 66 20 28 67 50 72 6f 67 72 65 73 73 43 6f 6c 6c 61 70 73 65 | .bar.......if.(gProgressCollapse |
40440 | 54 69 6d 65 72 29 20 7b 0a 20 20 20 20 20 20 20 20 77 69 6e 64 6f 77 2e 63 6c 65 61 72 54 69 6d | Timer).{.........window.clearTim |
40460 | 65 6f 75 74 28 67 50 72 6f 67 72 65 73 73 43 6f 6c 6c 61 70 73 65 54 69 6d 65 72 29 3b 0a 20 20 | eout(gProgressCollapseTimer);... |
40480 | 20 20 20 20 20 20 67 50 72 6f 67 72 65 73 73 43 6f 6c 6c 61 70 73 65 54 69 6d 65 72 20 3d 20 6e | ......gProgressCollapseTimer.=.n |
404a0 | 75 6c 6c 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 20 20 | ull;.......}.......else......... |
404c0 | 74 68 69 73 2e 73 74 61 74 75 73 4d 65 74 65 72 2e 70 61 72 65 6e 74 4e 6f 64 65 2e 63 6f 6c 6c | this.statusMeter.parentNode.coll |
404e0 | 61 70 73 65 64 20 3d 20 66 61 6c 73 65 3b 0a 0a 20 20 20 20 20 20 2f 2f 20 58 58 58 3a 20 54 68 | apsed.=.false;........//.XXX:.Th |
40500 | 69 73 20 6e 65 65 64 73 20 74 6f 20 62 65 20 62 61 73 65 64 20 6f 6e 20 77 69 6e 64 6f 77 20 61 | is.needs.to.be.based.on.window.a |
40520 | 63 74 69 76 69 74 79 2e 2e 2e 0a 20 20 20 20 20 20 74 68 69 73 2e 73 74 6f 70 43 6f 6d 6d 61 6e | ctivity..........this.stopComman |
40540 | 64 2e 72 65 6d 6f 76 65 41 74 74 72 69 62 75 74 65 28 22 64 69 73 61 62 6c 65 64 22 29 3b 0a 20 | d.removeAttribute("disabled");.. |
40560 | 20 20 20 7d 0a 20 20 20 20 65 6c 73 65 20 69 66 20 28 61 53 74 61 74 65 46 6c 61 67 73 20 26 20 | ...}.....else.if.(aStateFlags.&. |
40580 | 6e 73 49 57 65 62 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 2e 53 54 41 54 45 5f 53 54 4f | nsIWebProgressListener.STATE_STO |
405a0 | 50 29 20 7b 0a 20 20 20 20 20 20 69 66 20 28 61 53 74 61 74 65 46 6c 61 67 73 20 26 20 6e 73 49 | P).{.......if.(aStateFlags.&.nsI |
405c0 | 57 65 62 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 2e 53 54 41 54 45 5f 49 53 5f 4e 45 54 | WebProgressListener.STATE_IS_NET |
405e0 | 57 4f 52 4b 29 20 7b 0a 20 20 20 20 20 20 20 20 69 66 20 28 61 57 65 62 50 72 6f 67 72 65 73 73 | WORK).{.........if.(aWebProgress |
40600 | 2e 44 4f 4d 57 69 6e 64 6f 77 20 3d 3d 20 63 6f 6e 74 65 6e 74 29 20 7b 0a 20 20 20 20 20 20 20 | .DOMWindow.==.content).{........ |
40620 | 20 20 20 69 66 20 28 61 52 65 71 75 65 73 74 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 | ...if.(aRequest).............thi |
40640 | 73 2e 65 6e 64 44 6f 63 75 6d 65 6e 74 4c 6f 61 64 28 61 52 65 71 75 65 73 74 2c 20 61 53 74 61 | s.endDocumentLoad(aRequest,.aSta |
40660 | 74 75 73 29 3b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 67 42 72 6f 77 73 65 72 2e 6d 54 | tus);...........if.(!gBrowser.mT |
40680 | 61 62 62 65 64 4d 6f 64 65 20 26 26 20 21 67 42 72 6f 77 73 65 72 2e 6d 43 75 72 72 65 6e 74 42 | abbedMode.&&.!gBrowser.mCurrentB |
406a0 | 72 6f 77 73 65 72 2e 6d 49 63 6f 6e 55 52 4c 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 67 42 72 | rowser.mIconURL).............gBr |
406c0 | 6f 77 73 65 72 2e 75 73 65 44 65 66 61 75 6c 74 49 63 6f 6e 28 67 42 72 6f 77 73 65 72 2e 6d 43 | owser.useDefaultIcon(gBrowser.mC |
406e0 | 75 72 72 65 6e 74 54 61 62 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 7d 0a 0a 20 | urrentTab);.........}.......}... |
40700 | 20 20 20 20 20 2f 2f 20 54 68 69 73 20 28 74 68 61 6e 6b 73 20 74 6f 20 74 68 65 20 66 69 6c 74 | .....//.This.(thanks.to.the.filt |
40720 | 65 72 29 20 69 73 20 61 20 6e 65 74 77 6f 72 6b 20 73 74 6f 70 20 6f 72 20 74 68 65 20 6c 61 73 | er).is.a.network.stop.or.the.las |
40740 | 74 0a 20 20 20 20 20 20 2f 2f 20 72 65 71 75 65 73 74 20 73 74 6f 70 20 6f 75 74 73 69 64 65 20 | t.......//.request.stop.outside. |
40760 | 6f 66 20 6c 6f 61 64 69 6e 67 20 74 68 65 20 64 6f 63 75 6d 65 6e 74 2c 20 73 74 6f 70 20 74 68 | of.loading.the.document,.stop.th |
40780 | 72 6f 62 62 65 72 73 0a 20 20 20 20 20 20 2f 2f 20 61 6e 64 20 70 72 6f 67 72 65 73 73 20 62 61 | robbers.......//.and.progress.ba |
407a0 | 72 73 20 61 6e 64 20 73 75 63 68 0a 20 20 20 20 20 20 69 66 20 28 61 52 65 71 75 65 73 74 29 20 | rs.and.such.......if.(aRequest). |
407c0 | 7b 0a 20 20 20 20 20 20 20 20 6c 65 74 20 6d 73 67 20 3d 20 22 22 3b 0a 20 20 20 20 20 20 20 20 | {.........let.msg.=."";......... |
407e0 | 6c 65 74 20 6c 6f 63 61 74 69 6f 6e 3b 0a 20 20 20 20 20 20 20 20 2f 2f 20 47 65 74 20 74 68 65 | let.location;.........//.Get.the |
40800 | 20 55 52 49 20 65 69 74 68 65 72 20 66 72 6f 6d 20 61 20 63 68 61 6e 6e 65 6c 20 6f 72 20 61 20 | .URI.either.from.a.channel.or.a. |
40820 | 70 73 65 75 64 6f 2d 6f 62 6a 65 63 74 0a 20 20 20 20 20 20 20 20 69 66 20 28 61 52 65 71 75 65 | pseudo-object.........if.(aReque |
40840 | 73 74 20 69 6e 73 74 61 6e 63 65 6f 66 20 6e 73 49 43 68 61 6e 6e 65 6c 20 7c 7c 20 22 55 52 49 | st.instanceof.nsIChannel.||."URI |
40860 | 22 20 69 6e 20 61 52 65 71 75 65 73 74 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 6c 6f 63 61 74 | ".in.aRequest).{...........locat |
40880 | 69 6f 6e 20 3d 20 61 52 65 71 75 65 73 74 2e 55 52 49 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 2f | ion.=.aRequest.URI;............/ |
408a0 | 2f 20 46 6f 72 20 6b 65 79 77 6f 72 64 20 55 52 49 73 20 63 6c 65 61 72 20 74 68 65 20 75 73 65 | /.For.keyword.URIs.clear.the.use |
408c0 | 72 20 74 79 70 65 64 20 76 61 6c 75 65 20 73 69 6e 63 65 20 74 68 65 79 20 77 69 6c 6c 20 62 65 | r.typed.value.since.they.will.be |
408e0 | 20 63 68 61 6e 67 65 64 20 69 6e 74 6f 20 72 65 61 6c 20 55 52 49 73 0a 20 20 20 20 20 20 20 20 | .changed.into.real.URIs......... |
40900 | 20 20 69 66 20 28 6c 6f 63 61 74 69 6f 6e 2e 73 63 68 65 6d 65 20 3d 3d 20 22 6b 65 79 77 6f 72 | ..if.(location.scheme.==."keywor |
40920 | 64 22 20 26 26 20 61 57 65 62 50 72 6f 67 72 65 73 73 2e 44 4f 4d 57 69 6e 64 6f 77 20 3d 3d 20 | d".&&.aWebProgress.DOMWindow.==. |
40940 | 63 6f 6e 74 65 6e 74 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 67 42 72 6f 77 73 65 72 2e 75 73 | content).............gBrowser.us |
40960 | 65 72 54 79 70 65 64 56 61 6c 75 65 20 3d 20 6e 75 6c 6c 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 | erTypedValue.=.null;............ |
40980 | 69 66 20 28 6c 6f 63 61 74 69 6f 6e 2e 73 70 65 63 20 21 3d 20 22 61 62 6f 75 74 3a 62 6c 61 6e | if.(location.spec.!=."about:blan |
409a0 | 6b 22 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 73 77 69 74 63 68 20 28 61 53 74 61 74 75 | k").{.............switch.(aStatu |
409c0 | 73 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 43 6f 6d 70 6f 6e 65 6e | s).{...............case.Componen |
409e0 | 74 73 2e 72 65 73 75 6c 74 73 2e 4e 53 5f 42 49 4e 44 49 4e 47 5f 41 42 4f 52 54 45 44 3a 0a 20 | ts.results.NS_BINDING_ABORTED:.. |
40a00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 73 67 20 3d 20 67 4e 61 76 69 67 61 74 6f 72 42 | ...............msg.=.gNavigatorB |
40a20 | 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 6e 76 5f 73 74 6f 70 70 65 64 22 29 3b 0a 20 | undle.getString("nv_stopped");.. |
40a40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 20 20 20 20 | ...............break;........... |
40a60 | 20 20 20 20 63 61 73 65 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 72 65 73 75 6c 74 73 2e 4e 53 5f 45 | ....case.Components.results.NS_E |
40a80 | 52 52 4f 52 5f 4e 45 54 5f 54 49 4d 45 4f 55 54 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | RROR_NET_TIMEOUT:............... |
40aa0 | 20 20 6d 73 67 20 3d 20 67 4e 61 76 69 67 61 74 6f 72 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 | ..msg.=.gNavigatorBundle.getStri |
40ac0 | 6e 67 28 22 6e 76 5f 74 69 6d 65 6f 75 74 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ng("nv_timeout");............... |
40ae0 | 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 | ..break;.............}.......... |
40b00 | 20 7d 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 2f 2f 20 49 66 20 6d 73 67 20 69 | .}.........}.........//.If.msg.i |
40b20 | 73 20 66 61 6c 73 65 20 74 68 65 6e 20 77 65 20 64 69 64 20 6e 6f 74 20 68 61 76 65 20 61 6e 20 | s.false.then.we.did.not.have.an. |
40b40 | 65 72 72 6f 72 20 28 63 68 61 6e 6e 65 6c 20 6d 61 79 20 68 61 76 65 0a 20 20 20 20 20 20 20 20 | error.(channel.may.have......... |
40b60 | 2f 2f 20 62 65 65 6e 20 6e 75 6c 6c 2c 20 69 6e 20 74 68 65 20 63 61 73 65 20 6f 66 20 61 20 73 | //.been.null,.in.the.case.of.a.s |
40b80 | 74 72 61 79 20 69 6d 61 67 65 20 6c 6f 61 64 29 2e 0a 20 20 20 20 20 20 20 20 69 66 20 28 21 6d | tray.image.load)..........if.(!m |
40ba0 | 73 67 20 26 26 20 28 21 6c 6f 63 61 74 69 6f 6e 20 7c 7c 20 6c 6f 63 61 74 69 6f 6e 2e 73 70 65 | sg.&&.(!location.||.location.spe |
40bc0 | 63 20 21 3d 20 22 61 62 6f 75 74 3a 62 6c 61 6e 6b 22 29 29 0a 20 20 20 20 20 20 20 20 20 20 6d | c.!=."about:blank"))...........m |
40be0 | 73 67 20 3d 20 67 4e 61 76 69 67 61 74 6f 72 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 | sg.=.gNavigatorBundle.getString( |
40c00 | 22 6e 76 5f 64 6f 6e 65 22 29 3b 0a 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 73 74 61 74 75 73 | "nv_done");..........this.status |
40c20 | 20 3d 20 22 22 3b 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 73 65 74 44 65 66 61 75 6c 74 53 74 | .=."";.........this.setDefaultSt |
40c40 | 61 74 75 73 28 6d 73 67 29 3b 0a 0a 20 20 20 20 20 20 20 20 2f 2f 20 44 69 73 61 62 6c 65 20 6d | atus(msg);..........//.Disable.m |
40c60 | 65 6e 75 20 65 6e 74 72 69 65 73 20 66 6f 72 20 69 6d 61 67 65 73 2c 20 65 6e 61 62 6c 65 20 6f | enu.entries.for.images,.enable.o |
40c80 | 74 68 65 72 77 69 73 65 0a 20 20 20 20 20 20 20 20 69 66 20 28 63 6f 6e 74 65 6e 74 2e 64 6f 63 | therwise.........if.(content.doc |
40ca0 | 75 6d 65 6e 74 20 26 26 20 6d 69 6d 65 54 79 70 65 49 73 54 65 78 74 42 61 73 65 64 28 63 6f 6e | ument.&&.mimeTypeIsTextBased(con |
40cc0 | 74 65 6e 74 2e 64 6f 63 75 6d 65 6e 74 2e 63 6f 6e 74 65 6e 74 54 79 70 65 29 29 0a 20 20 20 20 | tent.document.contentType))..... |
40ce0 | 20 20 20 20 20 20 74 68 69 73 2e 69 73 49 6d 61 67 65 2e 72 65 6d 6f 76 65 41 74 74 72 69 62 75 | ......this.isImage.removeAttribu |
40d00 | 74 65 28 27 64 69 73 61 62 6c 65 64 27 29 3b 0a 20 20 20 20 20 20 20 20 65 6c 73 65 0a 20 20 20 | te('disabled');.........else.... |
40d20 | 20 20 20 20 20 20 20 74 68 69 73 2e 69 73 49 6d 61 67 65 2e 73 65 74 41 74 74 72 69 62 75 74 65 | .......this.isImage.setAttribute |
40d40 | 28 27 64 69 73 61 62 6c 65 64 27 2c 20 27 74 72 75 65 27 29 3b 0a 20 20 20 20 20 20 7d 0a 0a 20 | ('disabled',.'true');.......}... |
40d60 | 20 20 20 20 20 74 68 69 73 2e 69 73 42 75 73 79 20 3d 20 66 61 6c 73 65 3b 0a 0a 20 20 20 20 20 | .....this.isBusy.=.false;....... |
40d80 | 20 2f 2f 20 54 75 72 6e 20 74 68 65 20 70 72 6f 67 72 65 73 73 20 6d 65 74 65 72 20 61 6e 64 20 | .//.Turn.the.progress.meter.and. |
40da0 | 74 68 72 6f 62 62 65 72 20 6f 66 66 2e 0a 20 20 20 20 20 20 67 50 72 6f 67 72 65 73 73 43 6f 6c | throbber.off........gProgressCol |
40dc0 | 6c 61 70 73 65 54 69 6d 65 72 20 3d 20 77 69 6e 64 6f 77 2e 73 65 74 54 69 6d 65 6f 75 74 28 66 | lapseTimer.=.window.setTimeout(f |
40de0 | 75 6e 63 74 69 6f 6e 20 28 29 20 7b 0a 20 20 20 20 20 20 20 20 67 50 72 6f 67 72 65 73 73 4d 65 | unction.().{.........gProgressMe |
40e00 | 74 65 72 50 61 6e 65 6c 2e 63 6f 6c 6c 61 70 73 65 64 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 | terPanel.collapsed.=.true;...... |
40e20 | 20 20 20 67 50 72 6f 67 72 65 73 73 43 6f 6c 6c 61 70 73 65 54 69 6d 65 72 20 3d 20 6e 75 6c 6c | ...gProgressCollapseTimer.=.null |
40e40 | 3b 0a 20 20 20 20 20 20 7d 2c 20 31 30 30 29 3b 0a 0a 20 20 20 20 20 20 69 66 20 28 74 68 69 73 | ;.......},.100);........if.(this |
40e60 | 2e 74 68 72 6f 62 62 65 72 45 6c 65 6d 65 6e 74 29 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 74 | .throbberElement).........this.t |
40e80 | 68 72 6f 62 62 65 72 45 6c 65 6d 65 6e 74 2e 72 65 6d 6f 76 65 41 74 74 72 69 62 75 74 65 28 22 | hrobberElement.removeAttribute(" |
40ea0 | 62 75 73 79 22 29 3b 0a 0a 20 20 20 20 20 20 74 68 69 73 2e 73 74 6f 70 43 6f 6d 6d 61 6e 64 2e | busy");........this.stopCommand. |
40ec0 | 73 65 74 41 74 74 72 69 62 75 74 65 28 22 64 69 73 61 62 6c 65 64 22 2c 20 22 74 72 75 65 22 29 | setAttribute("disabled",."true") |
40ee0 | 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 6f 6e 4c 6f 63 61 74 69 6f 6e 43 68 61 6e 67 65 | ;.....}...},....onLocationChange |
40f00 | 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 57 65 62 50 72 6f 67 72 65 73 73 2c 20 61 52 65 71 75 65 | :.function.(aWebProgress,.aReque |
40f20 | 73 74 2c 20 61 4c 6f 63 61 74 69 6f 6e 55 52 49 29 20 7b 0a 20 20 20 20 76 61 72 20 6c 6f 63 61 | st,.aLocationURI).{.....var.loca |
40f40 | 74 69 6f 6e 20 3d 20 61 4c 6f 63 61 74 69 6f 6e 55 52 49 20 3f 20 61 4c 6f 63 61 74 69 6f 6e 55 | tion.=.aLocationURI.?.aLocationU |
40f60 | 52 49 2e 73 70 65 63 20 3a 20 22 22 3b 0a 20 20 20 20 74 68 69 73 2e 5f 68 6f 73 74 43 68 61 6e | RI.spec.:."";.....this._hostChan |
40f80 | 67 65 64 20 3d 20 74 72 75 65 3b 0a 0a 20 20 20 20 69 66 20 28 64 6f 63 75 6d 65 6e 74 2e 74 6f | ged.=.true;......if.(document.to |
40fa0 | 6f 6c 74 69 70 4e 6f 64 65 29 20 7b 0a 20 20 20 20 20 20 2f 2f 20 4f 70 74 69 6d 69 73 65 20 66 | oltipNode).{.......//.Optimise.f |
40fc0 | 6f 72 20 74 68 65 20 63 6f 6d 6d 6f 6e 20 63 61 73 65 0a 20 20 20 20 20 20 69 66 20 28 61 57 65 | or.the.common.case.......if.(aWe |
40fe0 | 62 50 72 6f 67 72 65 73 73 2e 44 4f 4d 57 69 6e 64 6f 77 20 3d 3d 20 63 6f 6e 74 65 6e 74 29 20 | bProgress.DOMWindow.==.content). |
41000 | 7b 0a 20 20 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 | {.........document.getElementByI |
41020 | 64 28 22 61 48 54 4d 4c 54 6f 6f 6c 74 69 70 22 29 2e 68 69 64 65 50 6f 70 75 70 28 29 3b 0a 20 | d("aHTMLTooltip").hidePopup();.. |
41040 | 20 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 74 6f 6f 6c 74 69 70 4e 6f 64 65 20 3d 20 6e 75 | .......document.tooltipNode.=.nu |
41060 | 6c 6c 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 20 | ll;.......}.......else.{........ |
41080 | 20 66 6f 72 20 28 6c 65 74 20 74 6f 6f 6c 74 69 70 57 69 6e 64 6f 77 20 3d 0a 20 20 20 20 20 20 | .for.(let.tooltipWindow.=....... |
410a0 | 20 20 20 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 74 6f 6f 6c 74 69 70 4e 6f 64 65 2e 6f 77 | .........document.tooltipNode.ow |
410c0 | 6e 65 72 44 6f 63 75 6d 65 6e 74 2e 64 65 66 61 75 6c 74 56 69 65 77 3b 0a 20 20 20 20 20 20 20 | nerDocument.defaultView;........ |
410e0 | 20 20 20 20 20 20 74 6f 6f 6c 74 69 70 57 69 6e 64 6f 77 20 21 3d 20 74 6f 6f 6c 74 69 70 57 69 | ......tooltipWindow.!=.tooltipWi |
41100 | 6e 64 6f 77 2e 70 61 72 65 6e 74 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 74 6f 6f 6c 74 69 | ndow.parent;..............toolti |
41120 | 70 57 69 6e 64 6f 77 20 3d 20 74 6f 6f 6c 74 69 70 57 69 6e 64 6f 77 2e 70 61 72 65 6e 74 29 20 | pWindow.=.tooltipWindow.parent). |
41140 | 7b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 6f 6f 6c 74 69 70 57 69 6e 64 6f 77 20 3d 3d | {...........if.(tooltipWindow.== |
41160 | 20 61 57 65 62 50 72 6f 67 72 65 73 73 2e 44 4f 4d 57 69 6e 64 6f 77 29 20 7b 0a 20 20 20 20 20 | .aWebProgress.DOMWindow).{...... |
41180 | 20 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 | .......document.getElementById(" |
411a0 | 61 48 54 4d 4c 54 6f 6f 6c 74 69 70 22 29 2e 68 69 64 65 50 6f 70 75 70 28 29 3b 0a 20 20 20 20 | aHTMLTooltip").hidePopup();..... |
411c0 | 20 20 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 74 6f 6f 6c 74 69 70 4e 6f 64 65 20 3d 20 6e | ........document.tooltipNode.=.n |
411e0 | 75 6c 6c 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 20 20 | ull;.............break;......... |
41200 | 20 20 7d 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 0a 20 20 20 | ..}.........}.......}.....}..... |
41220 | 20 2f 2f 20 54 68 69 73 20 63 6f 64 65 20 68 65 72 65 20 64 6f 65 73 20 6e 6f 74 20 63 6f 6d 70 | .//.This.code.here.does.not.comp |
41240 | 61 72 65 20 75 72 69 73 20 65 78 61 63 74 6c 79 20 77 68 65 6e 20 64 65 74 65 72 6d 69 6e 69 6e | are.uris.exactly.when.determinin |
41260 | 67 0a 20 20 20 20 2f 2f 20 77 68 65 74 68 65 72 20 6f 72 20 6e 6f 74 20 74 68 65 20 6d 65 73 73 | g.....//.whether.or.not.the.mess |
41280 | 61 67 65 20 73 68 6f 75 6c 64 20 62 65 20 68 69 64 64 65 6e 20 73 69 6e 63 65 20 74 68 65 20 6d | age.should.be.hidden.since.the.m |
412a0 | 65 73 73 61 67 65 0a 20 20 20 20 2f 2f 20 6d 61 79 20 62 65 20 70 72 65 6d 61 74 75 72 65 6c 79 | essage.....//.may.be.prematurely |
412c0 | 20 68 69 64 64 65 6e 20 77 68 65 6e 20 61 6e 20 69 6e 73 74 61 6c 6c 20 69 73 20 69 6e 76 6f 6b | .hidden.when.an.install.is.invok |
412e0 | 65 64 20 62 79 20 61 20 63 6c 69 63 6b 0a 20 20 20 20 2f 2f 20 6f 6e 20 61 20 6c 69 6e 6b 20 74 | ed.by.a.click.....//.on.a.link.t |
41300 | 68 61 74 20 6c 6f 6f 6b 73 20 6c 69 6b 65 20 74 68 69 73 3a 0a 20 20 20 20 2f 2f 0a 20 20 20 20 | hat.looks.like.this:.....//..... |
41320 | 2f 2f 20 3c 61 20 68 72 65 66 3d 22 23 22 20 6f 6e 63 6c 69 63 6b 3d 22 72 65 74 75 72 6e 20 69 | //.<a.href="#".onclick="return.i |
41340 | 6e 73 74 61 6c 6c 28 29 3b 22 3e 49 6e 73 74 61 6c 6c 20 46 6f 6f 3c 2f 61 3e 0a 20 20 20 20 2f | nstall();">Install.Foo</a>...../ |
41360 | 2f 0a 20 20 20 20 2f 2f 20 2d 20 77 68 69 63 68 20 66 69 72 65 73 20 61 20 6f 6e 4c 6f 63 61 74 | /.....//.-.which.fires.a.onLocat |
41380 | 69 6f 6e 43 68 61 6e 67 65 20 6d 65 73 73 61 67 65 20 74 6f 20 75 72 69 20 2b 20 27 23 27 2e 2e | ionChange.message.to.uri.+.'#'.. |
413a0 | 2e 0a 20 20 20 20 76 61 72 20 73 65 6c 65 63 74 65 64 42 72 6f 77 73 65 72 20 3d 20 67 42 72 6f | ......var.selectedBrowser.=.gBro |
413c0 | 77 73 65 72 2e 73 65 6c 65 63 74 65 64 42 72 6f 77 73 65 72 3b 0a 20 20 20 20 69 66 20 28 73 65 | wser.selectedBrowser;.....if.(se |
413e0 | 6c 65 63 74 65 64 42 72 6f 77 73 65 72 2e 6c 61 73 74 55 52 49 29 20 7b 0a 20 20 20 20 20 20 6c | lectedBrowser.lastURI).{.......l |
41400 | 65 74 20 6f 6c 64 53 70 65 63 20 3d 20 73 65 6c 65 63 74 65 64 42 72 6f 77 73 65 72 2e 6c 61 73 | et.oldSpec.=.selectedBrowser.las |
41420 | 74 55 52 49 2e 73 70 65 63 3b 0a 20 20 20 20 20 20 6c 65 74 20 6f 6c 64 49 6e 64 65 78 4f 66 48 | tURI.spec;.......let.oldIndexOfH |
41440 | 61 73 68 20 3d 20 6f 6c 64 53 70 65 63 2e 69 6e 64 65 78 4f 66 28 22 23 22 29 3b 0a 20 20 20 20 | ash.=.oldSpec.indexOf("#");..... |
41460 | 20 20 69 66 20 28 6f 6c 64 49 6e 64 65 78 4f 66 48 61 73 68 20 21 3d 20 2d 31 29 0a 20 20 20 20 | ..if.(oldIndexOfHash.!=.-1)..... |
41480 | 20 20 20 20 6f 6c 64 53 70 65 63 20 3d 20 6f 6c 64 53 70 65 63 2e 73 75 62 73 74 72 28 30 2c 20 | ....oldSpec.=.oldSpec.substr(0,. |
414a0 | 6f 6c 64 49 6e 64 65 78 4f 66 48 61 73 68 29 3b 0a 20 20 20 20 20 20 6c 65 74 20 6e 65 77 53 70 | oldIndexOfHash);.......let.newSp |
414c0 | 65 63 20 3d 20 6c 6f 63 61 74 69 6f 6e 3b 0a 20 20 20 20 20 20 6c 65 74 20 6e 65 77 49 6e 64 65 | ec.=.location;.......let.newInde |
414e0 | 78 4f 66 48 61 73 68 20 3d 20 6e 65 77 53 70 65 63 2e 69 6e 64 65 78 4f 66 28 22 23 22 29 3b 0a | xOfHash.=.newSpec.indexOf("#");. |
41500 | 20 20 20 20 20 20 69 66 20 28 6e 65 77 49 6e 64 65 78 4f 66 48 61 73 68 20 21 3d 20 2d 31 29 0a | ......if.(newIndexOfHash.!=.-1). |
41520 | 20 20 20 20 20 20 20 20 6e 65 77 53 70 65 63 20 3d 20 6e 65 77 53 70 65 63 2e 73 75 62 73 74 72 | ........newSpec.=.newSpec.substr |
41540 | 28 30 2c 20 6e 65 77 53 70 65 63 2e 69 6e 64 65 78 4f 66 28 22 23 22 29 29 3b 0a 20 20 20 20 20 | (0,.newSpec.indexOf("#"));...... |
41560 | 20 69 66 20 28 6e 65 77 53 70 65 63 20 21 3d 20 6f 6c 64 53 70 65 63 29 20 7b 0a 20 20 20 20 20 | .if.(newSpec.!=.oldSpec).{...... |
41580 | 20 20 20 2f 2f 20 52 65 6d 6f 76 65 20 61 6c 6c 20 74 68 65 20 6e 6f 74 69 66 69 63 61 74 69 6f | ...//.Remove.all.the.notificatio |
415a0 | 6e 73 2c 20 65 78 63 65 70 74 20 66 6f 72 20 74 68 6f 73 65 20 77 68 69 63 68 20 77 61 6e 74 20 | ns,.except.for.those.which.want. |
415c0 | 74 6f 0a 20 20 20 20 20 20 20 20 2f 2f 20 70 65 72 73 69 73 74 20 61 63 72 6f 73 73 20 74 68 65 | to.........//.persist.across.the |
415e0 | 20 66 69 72 73 74 20 6c 6f 63 61 74 69 6f 6e 20 63 68 61 6e 67 65 2e 0a 20 20 20 20 20 20 20 20 | .first.location.change.......... |
41600 | 6c 65 74 20 6e 42 6f 78 20 3d 20 67 42 72 6f 77 73 65 72 2e 67 65 74 4e 6f 74 69 66 69 63 61 74 | let.nBox.=.gBrowser.getNotificat |
41620 | 69 6f 6e 42 6f 78 28 73 65 6c 65 63 74 65 64 42 72 6f 77 73 65 72 29 3b 0a 20 20 20 20 20 20 20 | ionBox(selectedBrowser);........ |
41640 | 20 6e 42 6f 78 2e 72 65 6d 6f 76 65 54 72 61 6e 73 69 65 6e 74 4e 6f 74 69 66 69 63 61 74 69 6f | .nBox.removeTransientNotificatio |
41660 | 6e 73 28 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 20 20 20 20 73 65 6c 65 63 74 65 64 | ns();.......}.....}.....selected |
41680 | 42 72 6f 77 73 65 72 2e 6c 61 73 74 55 52 49 20 3d 20 61 4c 6f 63 61 74 69 6f 6e 55 52 49 3b 0a | Browser.lastURI.=.aLocationURI;. |
416a0 | 0a 20 20 20 20 2f 2f 20 44 69 73 61 62 6c 65 20 6d 65 6e 75 20 65 6e 74 72 69 65 73 20 66 6f 72 | .....//.Disable.menu.entries.for |
416c0 | 20 69 6d 61 67 65 73 2c 20 65 6e 61 62 6c 65 20 6f 74 68 65 72 77 69 73 65 0a 20 20 20 20 69 66 | .images,.enable.otherwise.....if |
416e0 | 20 28 63 6f 6e 74 65 6e 74 2e 64 6f 63 75 6d 65 6e 74 20 26 26 20 6d 69 6d 65 54 79 70 65 49 73 | .(content.document.&&.mimeTypeIs |
41700 | 54 65 78 74 42 61 73 65 64 28 63 6f 6e 74 65 6e 74 2e 64 6f 63 75 6d 65 6e 74 2e 63 6f 6e 74 65 | TextBased(content.document.conte |
41720 | 6e 74 54 79 70 65 29 29 0a 20 20 20 20 20 20 74 68 69 73 2e 69 73 49 6d 61 67 65 2e 72 65 6d 6f | ntType)).......this.isImage.remo |
41740 | 76 65 41 74 74 72 69 62 75 74 65 28 27 64 69 73 61 62 6c 65 64 27 29 3b 0a 20 20 20 20 65 6c 73 | veAttribute('disabled');.....els |
41760 | 65 0a 20 20 20 20 20 20 74 68 69 73 2e 69 73 49 6d 61 67 65 2e 73 65 74 41 74 74 72 69 62 75 74 | e.......this.isImage.setAttribut |
41780 | 65 28 27 64 69 73 61 62 6c 65 64 27 2c 20 27 74 72 75 65 27 29 3b 0a 0a 20 20 20 20 74 68 69 73 | e('disabled',.'true');......this |
417a0 | 2e 73 65 74 4f 76 65 72 4c 69 6e 6b 28 22 22 2c 20 6e 75 6c 6c 29 3b 0a 0a 20 20 20 20 2f 2f 20 | .setOverLink("",.null);......//. |
417c0 | 57 65 20 73 68 6f 75 6c 64 20 70 72 6f 62 61 62 6c 79 20 6e 6f 74 20 64 6f 20 74 68 69 73 20 69 | We.should.probably.not.do.this.i |
417e0 | 66 20 74 68 65 20 76 61 6c 75 65 20 68 61 73 20 63 68 61 6e 67 65 64 20 73 69 6e 63 65 20 74 68 | f.the.value.has.changed.since.th |
41800 | 65 20 75 73 65 72 0a 20 20 20 20 2f 2f 20 73 65 61 72 63 68 65 64 0a 20 20 20 20 2f 2f 20 55 70 | e.user.....//.searched.....//.Up |
41820 | 64 61 74 65 20 75 72 6c 62 61 72 20 6f 6e 6c 79 20 69 66 20 61 20 6e 65 77 20 70 61 67 65 20 77 | date.urlbar.only.if.a.new.page.w |
41840 | 61 73 20 6c 6f 61 64 65 64 20 6f 6e 20 74 68 65 20 70 72 69 6d 61 72 79 20 63 6f 6e 74 65 6e 74 | as.loaded.on.the.primary.content |
41860 | 20 61 72 65 61 0a 20 20 20 20 2f 2f 20 44 6f 20 6e 6f 74 20 75 70 64 61 74 65 20 75 72 6c 62 61 | .area.....//.Do.not.update.urlba |
41880 | 72 20 69 66 20 74 68 65 72 65 20 77 61 73 20 61 20 73 75 62 66 72 61 6d 65 20 6e 61 76 69 67 61 | r.if.there.was.a.subframe.naviga |
418a0 | 74 69 6f 6e 0a 0a 20 20 20 20 76 61 72 20 62 72 6f 77 73 65 72 20 3d 20 67 42 72 6f 77 73 65 72 | tion......var.browser.=.gBrowser |
418c0 | 2e 73 65 6c 65 63 74 65 64 42 72 6f 77 73 65 72 3b 0a 20 20 20 20 69 66 20 28 61 57 65 62 50 72 | .selectedBrowser;.....if.(aWebPr |
418e0 | 6f 67 72 65 73 73 2e 44 4f 4d 57 69 6e 64 6f 77 20 3d 3d 20 63 6f 6e 74 65 6e 74 29 20 7b 0a 20 | ogress.DOMWindow.==.content).{.. |
41900 | 20 20 20 20 20 69 66 20 28 28 6c 6f 63 61 74 69 6f 6e 20 3d 3d 20 22 61 62 6f 75 74 3a 62 6c 61 | .....if.((location.==."about:bla |
41920 | 6e 6b 22 20 26 26 20 21 63 6f 6e 74 65 6e 74 2e 6f 70 65 6e 65 72 29 20 7c 7c 0a 20 20 20 20 20 | nk".&&.!content.opener).||...... |
41940 | 20 20 20 20 20 6c 6f 63 61 74 69 6f 6e 20 3d 3d 20 22 22 29 20 7b 20 20 2f 2f 20 53 65 63 6f 6e | .....location.==."").{..//.Secon |
41960 | 64 20 63 6f 6e 64 69 74 69 6f 6e 20 69 73 20 66 6f 72 20 6e 65 77 20 74 61 62 73 2c 20 6f 74 68 | d.condition.is.for.new.tabs,.oth |
41980 | 65 72 77 69 73 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | erwise.......................... |
419a0 | 20 20 20 20 2f 2f 20 72 65 6c 6f 61 64 20 66 75 6e 63 74 69 6f 6e 20 69 73 20 65 6e 61 62 6c 65 | ....//.reload.function.is.enable |
419c0 | 64 20 75 6e 74 69 6c 20 74 61 62 20 69 73 20 72 65 66 72 65 73 68 65 64 2e 0a 20 20 20 20 20 20 | d.until.tab.is.refreshed........ |
419e0 | 20 20 74 68 69 73 2e 72 65 6c 6f 61 64 43 6f 6d 6d 61 6e 64 2e 73 65 74 41 74 74 72 69 62 75 74 | ..this.reloadCommand.setAttribut |
41a00 | 65 28 22 64 69 73 61 62 6c 65 64 22 2c 20 22 74 72 75 65 22 29 3b 0a 20 20 20 20 20 20 7d 20 65 | e("disabled",."true");.......}.e |
41a20 | 6c 73 65 20 7b 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 72 65 6c 6f 61 64 43 6f 6d 6d 61 6e 64 | lse.{.........this.reloadCommand |
41a40 | 2e 72 65 6d 6f 76 65 41 74 74 72 69 62 75 74 65 28 22 64 69 73 61 62 6c 65 64 22 29 3b 0a 20 20 | .removeAttribute("disabled");... |
41a60 | 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 69 66 20 28 21 67 42 72 6f 77 73 65 72 2e 6d 54 61 62 62 | ....}........if.(!gBrowser.mTabb |
41a80 | 65 64 4d 6f 64 65 20 26 26 20 61 57 65 62 50 72 6f 67 72 65 73 73 2e 69 73 4c 6f 61 64 69 6e 67 | edMode.&&.aWebProgress.isLoading |
41aa0 | 44 6f 63 75 6d 65 6e 74 29 0a 20 20 20 20 20 20 20 20 67 42 72 6f 77 73 65 72 2e 73 65 74 49 63 | Document).........gBrowser.setIc |
41ac0 | 6f 6e 28 67 42 72 6f 77 73 65 72 2e 6d 43 75 72 72 65 6e 74 54 61 62 2c 20 6e 75 6c 6c 29 3b 0a | on(gBrowser.mCurrentTab,.null);. |
41ae0 | 0a 20 20 20 20 20 20 69 66 20 28 67 55 52 4c 42 61 72 29 20 7b 0a 20 20 20 20 20 20 20 20 2f 2f | .......if.(gURLBar).{.........// |
41b00 | 20 53 74 72 69 70 20 6f 66 66 20 22 77 79 63 69 77 79 67 3a 2f 2f 22 20 61 6e 64 20 70 61 73 73 | .Strip.off."wyciwyg://".and.pass |
41b20 | 77 6f 72 64 73 20 66 6f 72 20 74 68 65 20 6c 6f 63 61 74 69 6f 6e 20 62 61 72 0a 20 20 20 20 20 | words.for.the.location.bar...... |
41b40 | 20 20 20 6c 65 74 20 75 72 69 20 3d 20 61 4c 6f 63 61 74 69 6f 6e 55 52 49 3b 0a 20 20 20 20 20 | ...let.uri.=.aLocationURI;...... |
41b60 | 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 20 20 20 20 75 72 69 20 3d 20 74 68 69 73 2e 5f 75 | ...try.{...........uri.=.this._u |
41b80 | 72 69 46 69 78 75 70 2e 63 72 65 61 74 65 45 78 70 6f 73 61 62 6c 65 55 52 49 28 75 72 69 29 3b | riFixup.createExposableURI(uri); |
41ba0 | 0a 20 20 20 20 20 20 20 20 7d 20 63 61 74 63 68 20 28 65 29 20 7b 7d 0a 20 20 20 20 20 20 20 20 | .........}.catch.(e).{}......... |
41bc0 | 55 52 4c 42 61 72 53 65 74 55 52 49 28 75 72 69 2c 20 74 72 75 65 29 3b 0a 0a 20 20 20 20 20 20 | URLBarSetURI(uri,.true);........ |
41be0 | 20 20 2f 2f 20 55 70 64 61 74 65 20 73 74 61 72 72 69 6e 67 20 55 49 0a 20 20 20 20 20 20 20 20 | ..//.Update.starring.UI......... |
41c00 | 50 6c 61 63 65 73 53 74 61 72 42 75 74 74 6f 6e 2e 75 70 64 61 74 65 53 74 61 74 65 28 29 3b 0a | PlacesStarButton.updateState();. |
41c20 | 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 20 20 20 20 55 70 64 61 74 65 42 61 63 6b 46 6f 72 77 | ......}.....}.....UpdateBackForw |
41c40 | 61 72 64 43 6f 6d 6d 61 6e 64 73 28 67 42 72 6f 77 73 65 72 2e 77 65 62 4e 61 76 69 67 61 74 69 | ardCommands(gBrowser.webNavigati |
41c60 | 6f 6e 29 3b 0a 0a 20 20 20 20 69 66 20 28 67 46 69 6e 64 42 61 72 2e 66 69 6e 64 4d 6f 64 65 20 | on);......if.(gFindBar.findMode. |
41c80 | 21 3d 20 67 46 69 6e 64 42 61 72 2e 46 49 4e 44 5f 4e 4f 52 4d 41 4c 29 20 7b 0a 20 20 20 20 20 | !=.gFindBar.FIND_NORMAL).{...... |
41ca0 | 20 2f 2f 20 43 6c 6f 73 65 20 74 68 65 20 46 69 6e 64 20 74 6f 6f 6c 62 61 72 20 69 66 20 77 65 | .//.Close.the.Find.toolbar.if.we |
41cc0 | 27 72 65 20 69 6e 20 6f 6c 64 2d 73 74 79 6c 65 20 54 41 46 20 6d 6f 64 65 0a 20 20 20 20 20 20 | 're.in.old-style.TAF.mode....... |
41ce0 | 67 46 69 6e 64 42 61 72 2e 63 6c 6f 73 65 28 29 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 2f 2f 20 | gFindBar.close();.....}......//. |
41d00 | 58 58 58 6d 61 6e 6f 20 6e 65 77 2d 66 69 6e 64 62 61 72 2c 20 64 6f 20 73 6f 6d 65 74 68 69 6e | XXXmano.new-findbar,.do.somethin |
41d20 | 67 20 75 73 65 66 75 6c 20 6f 6e 63 65 20 69 74 20 6c 61 6e 64 73 2e 0a 20 20 20 20 2f 2f 20 4f | g.useful.once.it.lands......//.O |
41d40 | 66 20 63 6f 75 72 73 65 2c 20 74 68 69 73 20 69 73 20 65 73 70 65 63 69 61 6c 6c 79 20 77 72 6f | f.course,.this.is.especially.wro |
41d60 | 6e 67 20 77 69 74 68 20 62 66 63 61 63 68 65 20 6f 6e 2e 2e 2e 0a 0a 20 20 20 20 2f 2f 20 66 69 | ng.with.bfcache.on.........//.fi |
41d80 | 78 20 62 75 67 20 32 35 33 37 39 33 20 2d 20 74 75 72 6e 20 6f 66 66 20 68 69 67 68 6c 69 67 68 | x.bug.253793.-.turn.off.highligh |
41da0 | 74 20 77 68 65 6e 20 70 61 67 65 20 63 68 61 6e 67 65 73 0a 20 20 20 20 67 46 69 6e 64 42 61 72 | t.when.page.changes.....gFindBar |
41dc0 | 2e 67 65 74 45 6c 65 6d 65 6e 74 28 22 68 69 67 68 6c 69 67 68 74 22 29 2e 63 68 65 63 6b 65 64 | .getElement("highlight").checked |
41de0 | 20 3d 20 66 61 6c 73 65 3b 0a 0a 20 20 20 20 2f 2f 20 53 65 65 20 62 75 67 20 33 35 38 32 30 32 | .=.false;......//.See.bug.358202 |
41e00 | 2c 20 77 68 65 6e 20 74 61 62 73 20 61 72 65 20 73 77 69 74 63 68 65 64 20 64 75 72 69 6e 67 20 | ,.when.tabs.are.switched.during. |
41e20 | 61 20 64 72 61 67 20 6f 70 65 72 61 74 69 6f 6e 2c 0a 20 20 20 20 2f 2f 20 74 69 6d 65 72 73 20 | a.drag.operation,.....//.timers. |
41e40 | 64 6f 6e 27 74 20 66 69 72 65 20 6f 6e 20 77 69 6e 64 6f 77 73 20 28 62 75 67 20 32 30 33 35 37 | don't.fire.on.windows.(bug.20357 |
41e60 | 33 29 0a 20 20 20 20 69 66 20 28 61 52 65 71 75 65 73 74 29 0a 20 20 20 20 20 20 73 65 74 54 69 | 3).....if.(aRequest).......setTi |
41e80 | 6d 65 6f 75 74 28 66 75 6e 63 74 69 6f 6e 20 28 29 20 7b 20 58 55 4c 42 72 6f 77 73 65 72 57 69 | meout(function.().{.XULBrowserWi |
41ea0 | 6e 64 6f 77 2e 61 73 79 6e 63 55 70 64 61 74 65 55 49 28 29 3b 20 7d 2c 20 30 29 3b 0a 20 20 20 | ndow.asyncUpdateUI();.},.0);.... |
41ec0 | 20 65 6c 73 65 0a 20 20 20 20 20 20 74 68 69 73 2e 61 73 79 6e 63 55 70 64 61 74 65 55 49 28 29 | .else.......this.asyncUpdateUI() |
41ee0 | 3b 0a 20 20 7d 2c 0a 20 20 0a 20 20 61 73 79 6e 63 55 70 64 61 74 65 55 49 3a 20 66 75 6e 63 74 | ;...},......asyncUpdateUI:.funct |
41f00 | 69 6f 6e 20 28 29 20 7b 0a 20 20 20 20 46 65 65 64 48 61 6e 64 6c 65 72 2e 75 70 64 61 74 65 46 | ion.().{.....FeedHandler.updateF |
41f20 | 65 65 64 73 28 29 3b 0a 20 20 20 20 42 72 6f 77 73 65 72 53 65 61 72 63 68 2e 75 70 64 61 74 65 | eeds();.....BrowserSearch.update |
41f40 | 53 65 61 72 63 68 42 75 74 74 6f 6e 28 29 3b 0a 20 20 7d 2c 0a 0a 20 20 6f 6e 53 74 61 74 75 73 | SearchButton();...},....onStatus |
41f60 | 43 68 61 6e 67 65 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 57 65 62 50 72 6f 67 72 65 73 73 2c 20 | Change:.function.(aWebProgress,. |
41f80 | 61 52 65 71 75 65 73 74 2c 20 61 53 74 61 74 75 73 2c 20 61 4d 65 73 73 61 67 65 29 20 7b 0a 20 | aRequest,.aStatus,.aMessage).{.. |
41fa0 | 20 20 20 74 68 69 73 2e 73 74 61 74 75 73 20 3d 20 61 4d 65 73 73 61 67 65 3b 0a 20 20 20 20 74 | ...this.status.=.aMessage;.....t |
41fc0 | 68 69 73 2e 75 70 64 61 74 65 53 74 61 74 75 73 46 69 65 6c 64 28 29 3b 0a 20 20 7d 2c 0a 0a 20 | his.updateStatusField();...},... |
41fe0 | 20 2f 2f 20 50 72 6f 70 65 72 74 69 65 73 20 75 73 65 64 20 74 6f 20 63 61 63 68 65 20 73 65 63 | .//.Properties.used.to.cache.sec |
42000 | 75 72 69 74 79 20 73 74 61 74 65 20 75 73 65 64 20 74 6f 20 75 70 64 61 74 65 20 74 68 65 20 55 | urity.state.used.to.update.the.U |
42020 | 49 0a 20 20 5f 73 74 61 74 65 3a 20 6e 75 6c 6c 2c 0a 20 20 5f 68 6f 73 74 3a 20 75 6e 64 65 66 | I..._state:.null,..._host:.undef |
42040 | 69 6e 65 64 2c 0a 20 20 5f 74 6f 6f 6c 74 69 70 54 65 78 74 3a 20 6e 75 6c 6c 2c 0a 20 20 5f 68 | ined,..._tooltipText:.null,..._h |
42060 | 6f 73 74 43 68 61 6e 67 65 64 3a 20 66 61 6c 73 65 2c 20 2f 2f 20 6f 6e 4c 6f 63 61 74 69 6f 6e | ostChanged:.false,.//.onLocation |
42080 | 43 68 61 6e 67 65 20 77 69 6c 6c 20 66 6c 69 70 20 74 68 69 73 20 62 69 74 0a 0a 20 20 6f 6e 53 | Change.will.flip.this.bit....onS |
420a0 | 65 63 75 72 69 74 79 43 68 61 6e 67 65 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 57 65 62 50 72 6f | ecurityChange:.function.(aWebPro |
420c0 | 67 72 65 73 73 2c 20 61 52 65 71 75 65 73 74 2c 20 61 53 74 61 74 65 29 20 7b 0a 20 20 20 20 2f | gress,.aRequest,.aState).{...../ |
420e0 | 2f 20 44 6f 6e 27 74 20 6e 65 65 64 20 74 6f 20 64 6f 20 61 6e 79 74 68 69 6e 67 20 69 66 20 74 | /.Don't.need.to.do.anything.if.t |
42100 | 68 65 20 64 61 74 61 20 77 65 20 75 73 65 20 74 6f 20 75 70 64 61 74 65 20 74 68 65 20 55 49 20 | he.data.we.use.to.update.the.UI. |
42120 | 68 61 73 6e 27 74 0a 20 20 20 20 2f 2f 20 63 68 61 6e 67 65 64 0a 20 20 20 20 69 66 20 28 74 68 | hasn't.....//.changed.....if.(th |
42140 | 69 73 2e 5f 73 74 61 74 65 20 3d 3d 20 61 53 74 61 74 65 20 26 26 0a 20 20 20 20 20 20 20 20 74 | is._state.==.aState.&&.........t |
42160 | 68 69 73 2e 5f 74 6f 6f 6c 74 69 70 54 65 78 74 20 3d 3d 20 67 42 72 6f 77 73 65 72 2e 73 65 63 | his._tooltipText.==.gBrowser.sec |
42180 | 75 72 69 74 79 55 49 2e 74 6f 6f 6c 74 69 70 54 65 78 74 20 26 26 0a 20 20 20 20 20 20 20 20 21 | urityUI.tooltipText.&&.........! |
421a0 | 74 68 69 73 2e 5f 68 6f 73 74 43 68 61 6e 67 65 64 29 20 7b 0a 2f 2f 40 6c 69 6e 65 20 34 31 39 | this._hostChanged).{.//@line.419 |
421c0 | 36 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c | 6."/builds/moz2_slave/linux_buil |
421e0 | 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 62 61 73 65 2f 63 6f 6e 74 65 6e 74 2f 62 72 6f | d/build/browser/base/content/bro |
42200 | 77 73 65 72 2e 6a 73 22 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 20 20 7d 0a 20 20 20 | wser.js".......return;.....}.... |
42220 | 20 74 68 69 73 2e 5f 73 74 61 74 65 20 3d 20 61 53 74 61 74 65 3b 0a 0a 20 20 20 20 74 72 79 20 | .this._state.=.aState;......try. |
42240 | 7b 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 68 6f 73 74 20 3d 20 67 42 72 6f 77 73 65 72 2e 63 6f | {.......this._host.=.gBrowser.co |
42260 | 6e 74 65 6e 74 57 69 6e 64 6f 77 2e 6c 6f 63 61 74 69 6f 6e 2e 68 6f 73 74 3b 0a 20 20 20 20 7d | ntentWindow.location.host;.....} |
42280 | 20 63 61 74 63 68 28 65 78 29 20 7b 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 68 6f 73 74 20 3d 20 | .catch(ex).{.......this._host.=. |
422a0 | 6e 75 6c 6c 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 74 68 69 73 2e 5f 68 6f 73 74 43 68 61 6e 67 | null;.....}......this._hostChang |
422c0 | 65 64 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 74 68 69 73 2e 5f 74 6f 6f 6c 74 69 70 54 65 78 | ed.=.false;.....this._tooltipTex |
422e0 | 74 20 3d 20 67 42 72 6f 77 73 65 72 2e 73 65 63 75 72 69 74 79 55 49 2e 74 6f 6f 6c 74 69 70 54 | t.=.gBrowser.securityUI.tooltipT |
42300 | 65 78 74 0a 0a 20 20 20 20 2f 2f 20 61 53 74 61 74 65 20 69 73 20 64 65 66 69 6e 65 64 20 61 73 | ext......//.aState.is.defined.as |
42320 | 20 61 20 62 69 74 6d 61 73 6b 20 74 68 61 74 20 6d 61 79 20 62 65 20 65 78 74 65 6e 64 65 64 20 | .a.bitmask.that.may.be.extended. |
42340 | 69 6e 20 74 68 65 20 66 75 74 75 72 65 2e 0a 20 20 20 20 2f 2f 20 57 65 20 66 69 6c 74 65 72 20 | in.the.future......//.We.filter. |
42360 | 6f 75 74 20 61 6e 79 20 75 6e 6b 6e 6f 77 6e 20 62 69 74 73 20 62 65 66 6f 72 65 20 74 65 73 74 | out.any.unknown.bits.before.test |
42380 | 69 6e 67 20 66 6f 72 20 6b 6e 6f 77 6e 20 76 61 6c 75 65 73 2e 0a 20 20 20 20 63 6f 6e 73 74 20 | ing.for.known.values......const. |
423a0 | 77 70 6c 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 57 | wpl.=.Components.interfaces.nsIW |
423c0 | 65 62 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 3b 0a 20 20 20 20 63 6f 6e 73 74 20 77 70 | ebProgressListener;.....const.wp |
423e0 | 6c 5f 73 65 63 75 72 69 74 79 5f 62 69 74 73 20 3d 20 77 70 6c 2e 53 54 41 54 45 5f 49 53 5f 53 | l_security_bits.=.wpl.STATE_IS_S |
42400 | 45 43 55 52 45 20 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ECURE.|......................... |
42420 | 20 20 20 20 20 20 77 70 6c 2e 53 54 41 54 45 5f 49 53 5f 42 52 4f 4b 45 4e 20 7c 0a 20 20 20 20 | ......wpl.STATE_IS_BROKEN.|..... |
42440 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 77 70 6c 2e 53 54 | ..........................wpl.ST |
42460 | 41 54 45 5f 49 53 5f 49 4e 53 45 43 55 52 45 20 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ATE_IS_INSECURE.|............... |
42480 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 77 70 6c 2e 53 54 41 54 45 5f 53 45 43 55 52 45 | ................wpl.STATE_SECURE |
424a0 | 5f 48 49 47 48 20 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | _HIGH.|......................... |
424c0 | 20 20 20 20 20 20 77 70 6c 2e 53 54 41 54 45 5f 53 45 43 55 52 45 5f 4d 45 44 20 7c 0a 20 20 20 | ......wpl.STATE_SECURE_MED.|.... |
424e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 77 70 6c 2e 53 | ...........................wpl.S |
42500 | 54 41 54 45 5f 53 45 43 55 52 45 5f 4c 4f 57 3b 0a 20 20 20 20 76 61 72 20 6c 65 76 65 6c 3b 0a | TATE_SECURE_LOW;.....var.level;. |
42520 | 20 20 20 20 76 61 72 20 73 65 74 48 6f 73 74 20 3d 20 66 61 6c 73 65 3b 0a 0a 20 20 20 20 73 77 | ....var.setHost.=.false;......sw |
42540 | 69 74 63 68 20 28 74 68 69 73 2e 5f 73 74 61 74 65 20 26 20 77 70 6c 5f 73 65 63 75 72 69 74 79 | itch.(this._state.&.wpl_security |
42560 | 5f 62 69 74 73 29 20 7b 0a 20 20 20 20 20 20 63 61 73 65 20 77 70 6c 2e 53 54 41 54 45 5f 49 53 | _bits).{.......case.wpl.STATE_IS |
42580 | 5f 53 45 43 55 52 45 20 7c 20 77 70 6c 2e 53 54 41 54 45 5f 53 45 43 55 52 45 5f 48 49 47 48 3a | _SECURE.|.wpl.STATE_SECURE_HIGH: |
425a0 | 0a 20 20 20 20 20 20 20 20 6c 65 76 65 6c 20 3d 20 22 68 69 67 68 22 3b 0a 20 20 20 20 20 20 20 | .........level.=."high";........ |
425c0 | 20 73 65 74 48 6f 73 74 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a | .setHost.=.true;.........break;. |
425e0 | 20 20 20 20 20 20 63 61 73 65 20 77 70 6c 2e 53 54 41 54 45 5f 49 53 5f 53 45 43 55 52 45 20 7c | ......case.wpl.STATE_IS_SECURE.| |
42600 | 20 77 70 6c 2e 53 54 41 54 45 5f 53 45 43 55 52 45 5f 4d 45 44 3a 0a 20 20 20 20 20 20 63 61 73 | .wpl.STATE_SECURE_MED:.......cas |
42620 | 65 20 77 70 6c 2e 53 54 41 54 45 5f 49 53 5f 53 45 43 55 52 45 20 7c 20 77 70 6c 2e 53 54 41 54 | e.wpl.STATE_IS_SECURE.|.wpl.STAT |
42640 | 45 5f 53 45 43 55 52 45 5f 4c 4f 57 3a 0a 20 20 20 20 20 20 20 20 6c 65 76 65 6c 20 3d 20 22 6c | E_SECURE_LOW:.........level.=."l |
42660 | 6f 77 22 3b 0a 20 20 20 20 20 20 20 20 73 65 74 48 6f 73 74 20 3d 20 74 72 75 65 3b 0a 20 20 20 | ow";.........setHost.=.true;.... |
42680 | 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 63 61 73 65 20 77 70 6c 2e 53 54 41 54 45 | .....break;.......case.wpl.STATE |
426a0 | 5f 49 53 5f 42 52 4f 4b 45 4e 3a 0a 20 20 20 20 20 20 20 20 6c 65 76 65 6c 20 3d 20 22 62 72 6f | _IS_BROKEN:.........level.=."bro |
426c0 | 6b 65 6e 22 3b 0a 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 | ken";.........break;.....}...... |
426e0 | 69 66 20 28 6c 65 76 65 6c 29 20 7b 0a 20 20 20 20 20 20 74 68 69 73 2e 73 65 63 75 72 69 74 79 | if.(level).{.......this.security |
42700 | 42 75 74 74 6f 6e 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 6c 65 76 65 6c 22 2c 20 6c 65 76 | Button.setAttribute("level",.lev |
42720 | 65 6c 29 3b 0a 20 20 20 20 20 20 74 68 69 73 2e 73 65 63 75 72 69 74 79 42 75 74 74 6f 6e 2e 68 | el);.......this.securityButton.h |
42740 | 69 64 64 65 6e 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 20 2f 2f 20 57 65 20 64 6f 6e 27 74 | idden.=.false;.......//.We.don't |
42760 | 20 73 74 79 6c 65 20 74 68 65 20 4c 6f 63 61 74 69 6f 6e 20 42 61 72 20 62 61 73 65 64 20 6f 6e | .style.the.Location.Bar.based.on |
42780 | 20 74 68 65 20 74 68 65 20 27 6c 65 76 65 6c 27 20 61 74 74 72 69 62 75 74 65 0a 20 20 20 20 20 | .the.the.'level'.attribute...... |
427a0 | 20 2f 2f 20 61 6e 79 6d 6f 72 65 2c 20 62 75 74 20 73 74 69 6c 6c 20 73 65 74 20 69 74 20 66 6f | .//.anymore,.but.still.set.it.fo |
427c0 | 72 20 74 68 69 72 64 2d 70 61 72 74 79 20 74 68 65 6d 65 73 2e 0a 20 20 20 20 20 20 69 66 20 28 | r.third-party.themes........if.( |
427e0 | 67 55 52 4c 42 61 72 29 0a 20 20 20 20 20 20 20 20 67 55 52 4c 42 61 72 2e 73 65 74 41 74 74 72 | gURLBar).........gURLBar.setAttr |
42800 | 69 62 75 74 65 28 22 6c 65 76 65 6c 22 2c 20 6c 65 76 65 6c 29 3b 0a 20 20 20 20 7d 20 65 6c 73 | ibute("level",.level);.....}.els |
42820 | 65 20 7b 0a 20 20 20 20 20 20 74 68 69 73 2e 73 65 63 75 72 69 74 79 42 75 74 74 6f 6e 2e 68 69 | e.{.......this.securityButton.hi |
42840 | 64 64 65 6e 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 74 68 69 73 2e 73 65 63 75 72 69 74 79 | dden.=.true;.......this.security |
42860 | 42 75 74 74 6f 6e 2e 72 65 6d 6f 76 65 41 74 74 72 69 62 75 74 65 28 22 6c 65 76 65 6c 22 29 3b | Button.removeAttribute("level"); |
42880 | 0a 20 20 20 20 20 20 69 66 20 28 67 55 52 4c 42 61 72 29 0a 20 20 20 20 20 20 20 20 67 55 52 4c | .......if.(gURLBar).........gURL |
428a0 | 42 61 72 2e 72 65 6d 6f 76 65 41 74 74 72 69 62 75 74 65 28 22 6c 65 76 65 6c 22 29 3b 0a 20 20 | Bar.removeAttribute("level");... |
428c0 | 20 20 7d 0a 0a 20 20 20 20 69 66 20 28 73 65 74 48 6f 73 74 20 26 26 20 74 68 69 73 2e 5f 68 6f | ..}......if.(setHost.&&.this._ho |
428e0 | 73 74 29 0a 20 20 20 20 20 20 74 68 69 73 2e 73 65 63 75 72 69 74 79 42 75 74 74 6f 6e 2e 73 65 | st).......this.securityButton.se |
42900 | 74 41 74 74 72 69 62 75 74 65 28 22 6c 61 62 65 6c 22 2c 20 74 68 69 73 2e 5f 68 6f 73 74 29 3b | tAttribute("label",.this._host); |
42920 | 0a 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 74 68 69 73 2e 73 65 63 75 72 69 74 79 42 75 74 | .....else.......this.securityBut |
42940 | 74 6f 6e 2e 72 65 6d 6f 76 65 41 74 74 72 69 62 75 74 65 28 22 6c 61 62 65 6c 22 29 3b 0a 0a 20 | ton.removeAttribute("label");... |
42960 | 20 20 20 74 68 69 73 2e 73 65 63 75 72 69 74 79 42 75 74 74 6f 6e 2e 73 65 74 41 74 74 72 69 62 | ...this.securityButton.setAttrib |
42980 | 75 74 65 28 22 74 6f 6f 6c 74 69 70 74 65 78 74 22 2c 20 74 68 69 73 2e 5f 74 6f 6f 6c 74 69 70 | ute("tooltiptext",.this._tooltip |
429a0 | 54 65 78 74 29 3b 0a 0a 20 20 20 20 2f 2f 20 44 6f 6e 27 74 20 70 61 73 73 20 69 6e 20 74 68 65 | Text);......//.Don't.pass.in.the |
429c0 | 20 61 63 74 75 61 6c 20 6c 6f 63 61 74 69 6f 6e 20 6f 62 6a 65 63 74 2c 20 73 69 6e 63 65 20 69 | .actual.location.object,.since.i |
429e0 | 74 20 63 61 6e 20 63 61 75 73 65 20 75 73 20 74 6f 20 0a 20 20 20 20 2f 2f 20 68 6f 6c 64 20 6f | t.can.cause.us.to......//.hold.o |
42a00 | 6e 20 74 6f 20 74 68 65 20 77 69 6e 64 6f 77 20 6f 62 6a 65 63 74 20 74 6f 6f 20 6c 6f 6e 67 2e | n.to.the.window.object.too.long. |
42a20 | 20 20 4a 75 73 74 20 70 61 73 73 20 69 6e 20 74 68 65 20 66 69 65 6c 64 73 20 77 65 0a 20 20 20 | ..Just.pass.in.the.fields.we.... |
42a40 | 20 2f 2f 20 63 61 72 65 20 61 62 6f 75 74 2e 20 28 62 75 67 20 34 32 34 38 32 39 29 0a 20 20 20 | .//.care.about..(bug.424829).... |
42a60 | 20 76 61 72 20 6c 6f 63 61 74 69 6f 6e 20 3d 20 67 42 72 6f 77 73 65 72 2e 63 6f 6e 74 65 6e 74 | .var.location.=.gBrowser.content |
42a80 | 57 69 6e 64 6f 77 2e 6c 6f 63 61 74 69 6f 6e 3b 0a 20 20 20 20 76 61 72 20 6c 6f 63 61 74 69 6f | Window.location;.....var.locatio |
42aa0 | 6e 4f 62 6a 20 3d 20 7b 7d 3b 0a 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 6c 6f 63 61 74 | nObj.=.{};.....try.{.......locat |
42ac0 | 69 6f 6e 4f 62 6a 2e 68 6f 73 74 20 3d 20 6c 6f 63 61 74 69 6f 6e 2e 68 6f 73 74 3b 0a 20 20 20 | ionObj.host.=.location.host;.... |
42ae0 | 20 20 20 6c 6f 63 61 74 69 6f 6e 4f 62 6a 2e 68 6f 73 74 6e 61 6d 65 20 3d 20 6c 6f 63 61 74 69 | ...locationObj.hostname.=.locati |
42b00 | 6f 6e 2e 68 6f 73 74 6e 61 6d 65 3b 0a 20 20 20 20 20 20 6c 6f 63 61 74 69 6f 6e 4f 62 6a 2e 70 | on.hostname;.......locationObj.p |
42b20 | 6f 72 74 20 3d 20 6c 6f 63 61 74 69 6f 6e 2e 70 6f 72 74 3b 0a 20 20 20 20 7d 20 63 61 74 63 68 | ort.=.location.port;.....}.catch |
42b40 | 20 28 65 78 29 20 7b 0a 20 20 20 20 20 20 2f 2f 20 43 61 6e 20 73 6f 6d 65 74 69 6d 65 73 20 74 | .(ex).{.......//.Can.sometimes.t |
42b60 | 68 72 6f 77 20 69 66 20 74 68 65 20 55 52 4c 20 62 65 69 6e 67 20 76 69 73 69 74 65 64 20 68 61 | hrow.if.the.URL.being.visited.ha |
42b80 | 73 20 6e 6f 20 68 6f 73 74 2f 68 6f 73 74 6e 61 6d 65 2c 0a 20 20 20 20 20 20 2f 2f 20 65 2e 67 | s.no.host/hostname,.......//.e.g |
42ba0 | 2e 20 61 62 6f 75 74 3a 62 6c 61 6e 6b 2e 20 54 68 65 20 5f 73 74 61 74 65 20 66 6f 72 20 74 68 | ..about:blank..The._state.for.th |
42bc0 | 65 73 65 20 70 61 67 65 73 20 6d 65 61 6e 73 20 77 65 20 77 6f 6e 27 74 20 6e 65 65 64 20 74 68 | ese.pages.means.we.won't.need.th |
42be0 | 65 73 65 0a 20 20 20 20 20 20 2f 2f 20 70 72 6f 70 65 72 74 69 65 73 20 61 6e 79 77 61 79 73 2c | ese.......//.properties.anyways, |
42c00 | 20 74 68 6f 75 67 68 2e 0a 20 20 20 20 7d 0a 20 20 20 20 67 49 64 65 6e 74 69 74 79 48 61 6e 64 | .though......}.....gIdentityHand |
42c20 | 6c 65 72 2e 63 68 65 63 6b 49 64 65 6e 74 69 74 79 28 74 68 69 73 2e 5f 73 74 61 74 65 2c 20 6c | ler.checkIdentity(this._state,.l |
42c40 | 6f 63 61 74 69 6f 6e 4f 62 6a 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2f 20 73 69 6d 75 6c 61 74 65 | ocationObj);...},....//.simulate |
42c60 | 20 61 6c 6c 20 63 68 61 6e 67 65 20 6e 6f 74 69 66 69 63 61 74 69 6f 6e 73 20 61 66 74 65 72 20 | .all.change.notifications.after. |
42c80 | 73 77 69 74 63 68 69 6e 67 20 74 61 62 73 0a 20 20 6f 6e 55 70 64 61 74 65 43 75 72 72 65 6e 74 | switching.tabs...onUpdateCurrent |
42ca0 | 42 72 6f 77 73 65 72 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 53 74 61 74 65 46 6c 61 67 73 2c 20 | Browser:.function.(aStateFlags,. |
42cc0 | 61 53 74 61 74 75 73 2c 20 61 4d 65 73 73 61 67 65 2c 20 61 54 6f 74 61 6c 50 72 6f 67 72 65 73 | aStatus,.aMessage,.aTotalProgres |
42ce0 | 73 29 20 7b 0a 20 20 20 20 69 66 20 28 46 75 6c 6c 5a 6f 6f 6d 2e 75 70 64 61 74 65 42 61 63 6b | s).{.....if.(FullZoom.updateBack |
42d00 | 67 72 6f 75 6e 64 54 61 62 73 29 0a 20 20 20 20 20 20 46 75 6c 6c 5a 6f 6f 6d 2e 6f 6e 4c 6f 63 | groundTabs).......FullZoom.onLoc |
42d20 | 61 74 69 6f 6e 43 68 61 6e 67 65 28 67 42 72 6f 77 73 65 72 2e 63 75 72 72 65 6e 74 55 52 49 29 | ationChange(gBrowser.currentURI) |
42d40 | 3b 0a 20 20 20 20 76 61 72 20 6e 73 49 57 65 62 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 | ;.....var.nsIWebProgressListener |
42d60 | 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 57 65 62 50 | .=.Components.interfaces.nsIWebP |
42d80 | 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 3b 0a 20 20 20 20 76 61 72 20 6c 6f 61 64 69 6e 67 | rogressListener;.....var.loading |
42da0 | 44 6f 6e 65 20 3d 20 61 53 74 61 74 65 46 6c 61 67 73 20 26 20 6e 73 49 57 65 62 50 72 6f 67 72 | Done.=.aStateFlags.&.nsIWebProgr |
42dc0 | 65 73 73 4c 69 73 74 65 6e 65 72 2e 53 54 41 54 45 5f 53 54 4f 50 3b 0a 20 20 20 20 2f 2f 20 75 | essListener.STATE_STOP;.....//.u |
42de0 | 73 65 20 61 20 70 73 65 75 64 6f 2d 6f 62 6a 65 63 74 20 69 6e 73 74 65 61 64 20 6f 66 20 61 20 | se.a.pseudo-object.instead.of.a. |
42e00 | 28 70 6f 74 65 6e 74 69 61 6c 6c 79 20 6e 6f 6e 2d 65 78 69 73 74 69 6e 67 29 20 63 68 61 6e 6e | (potentially.non-existing).chann |
42e20 | 65 6c 20 66 6f 72 20 67 65 74 74 69 6e 67 0a 20 20 20 20 2f 2f 20 61 20 63 6f 72 72 65 63 74 20 | el.for.getting.....//.a.correct. |
42e40 | 65 72 72 6f 72 20 6d 65 73 73 61 67 65 20 2d 20 61 6e 64 20 6d 61 6b 65 20 73 75 72 65 20 74 68 | error.message.-.and.make.sure.th |
42e60 | 61 74 20 74 68 65 20 55 49 20 69 73 20 61 6c 77 61 79 73 20 65 69 74 68 65 72 20 69 6e 0a 20 20 | at.the.UI.is.always.either.in... |
42e80 | 20 20 2f 2f 20 6c 6f 61 64 69 6e 67 20 28 53 54 41 54 45 5f 53 54 41 52 54 29 20 6f 72 20 64 6f | ..//.loading.(STATE_START).or.do |
42ea0 | 6e 65 20 28 53 54 41 54 45 5f 53 54 4f 50 29 20 6d 6f 64 65 0a 20 20 20 20 74 68 69 73 2e 6f 6e | ne.(STATE_STOP).mode.....this.on |
42ec0 | 53 74 61 74 65 43 68 61 6e 67 65 28 0a 20 20 20 20 20 20 67 42 72 6f 77 73 65 72 2e 77 65 62 50 | StateChange(.......gBrowser.webP |
42ee0 | 72 6f 67 72 65 73 73 2c 0a 20 20 20 20 20 20 7b 20 55 52 49 3a 20 67 42 72 6f 77 73 65 72 2e 63 | rogress,.......{.URI:.gBrowser.c |
42f00 | 75 72 72 65 6e 74 55 52 49 20 7d 2c 0a 20 20 20 20 20 20 6c 6f 61 64 69 6e 67 44 6f 6e 65 20 3f | urrentURI.},.......loadingDone.? |
42f20 | 20 6e 73 49 57 65 62 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 2e 53 54 41 54 45 5f 53 54 | .nsIWebProgressListener.STATE_ST |
42f40 | 4f 50 20 3a 20 6e 73 49 57 65 62 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 2e 53 54 41 54 | OP.:.nsIWebProgressListener.STAT |
42f60 | 45 5f 53 54 41 52 54 2c 0a 20 20 20 20 20 20 61 53 74 61 74 75 73 0a 20 20 20 20 29 3b 0a 20 20 | E_START,.......aStatus.....);... |
42f80 | 20 20 2f 2f 20 73 74 61 74 75 73 20 6d 65 73 73 61 67 65 20 61 6e 64 20 70 72 6f 67 72 65 73 73 | ..//.status.message.and.progress |
42fa0 | 20 76 61 6c 75 65 20 61 72 65 20 75 6e 64 65 66 69 6e 65 64 20 69 66 20 77 65 27 72 65 20 64 6f | .value.are.undefined.if.we're.do |
42fc0 | 6e 65 20 77 69 74 68 20 6c 6f 61 64 69 6e 67 0a 20 20 20 20 69 66 20 28 6c 6f 61 64 69 6e 67 44 | ne.with.loading.....if.(loadingD |
42fe0 | 6f 6e 65 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 20 20 74 68 69 73 2e 6f 6e 53 74 | one).......return;.....this.onSt |
43000 | 61 74 75 73 43 68 61 6e 67 65 28 67 42 72 6f 77 73 65 72 2e 77 65 62 50 72 6f 67 72 65 73 73 2c | atusChange(gBrowser.webProgress, |
43020 | 20 6e 75 6c 6c 2c 20 30 2c 20 61 4d 65 73 73 61 67 65 29 3b 0a 20 20 20 20 74 68 69 73 2e 6f 6e | .null,.0,.aMessage);.....this.on |
43040 | 50 72 6f 67 72 65 73 73 43 68 61 6e 67 65 28 67 42 72 6f 77 73 65 72 2e 77 65 62 50 72 6f 67 72 | ProgressChange(gBrowser.webProgr |
43060 | 65 73 73 2c 20 30 2c 20 30 2c 20 61 54 6f 74 61 6c 50 72 6f 67 72 65 73 73 2c 20 31 29 3b 0a 20 | ess,.0,.0,.aTotalProgress,.1);.. |
43080 | 20 7d 2c 0a 0a 20 20 73 74 61 72 74 44 6f 63 75 6d 65 6e 74 4c 6f 61 64 3a 20 66 75 6e 63 74 69 | .},....startDocumentLoad:.functi |
430a0 | 6f 6e 20 28 61 52 65 71 75 65 73 74 29 20 7b 0a 20 20 20 20 2f 2f 20 63 6c 65 61 72 20 6f 75 74 | on.(aRequest).{.....//.clear.out |
430c0 | 20 66 65 65 64 20 64 61 74 61 0a 20 20 20 20 67 42 72 6f 77 73 65 72 2e 6d 43 75 72 72 65 6e 74 | .feed.data.....gBrowser.mCurrent |
430e0 | 42 72 6f 77 73 65 72 2e 66 65 65 64 73 20 3d 20 6e 75 6c 6c 3b 0a 0a 20 20 20 20 2f 2f 20 63 6c | Browser.feeds.=.null;......//.cl |
43100 | 65 61 72 20 6f 75 74 20 73 65 61 72 63 68 2d 65 6e 67 69 6e 65 20 64 61 74 61 0a 20 20 20 20 67 | ear.out.search-engine.data.....g |
43120 | 42 72 6f 77 73 65 72 2e 6d 43 75 72 72 65 6e 74 42 72 6f 77 73 65 72 2e 65 6e 67 69 6e 65 73 20 | Browser.mCurrentBrowser.engines. |
43140 | 3d 20 6e 75 6c 6c 3b 20 20 20 20 0a 0a 20 20 20 20 76 61 72 20 75 72 69 20 3d 20 61 52 65 71 75 | =.null;..........var.uri.=.aRequ |
43160 | 65 73 74 2e 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 28 43 69 2e 6e 73 49 43 68 61 6e 6e 65 6c | est.QueryInterface(Ci.nsIChannel |
43180 | 29 2e 55 52 49 3b 0a 20 20 20 20 76 61 72 20 6f 62 73 65 72 76 65 72 53 65 72 76 69 63 65 20 3d | ).URI;.....var.observerService.= |
431a0 | 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6f 62 73 65 72 76 65 72 2d 73 65 72 76 69 | .Cc["@mozilla.org/observer-servi |
431c0 | 63 65 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ce;1"].......................... |
431e0 | 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 4f 62 73 65 72 76 65 72 53 65 72 | ....getService(Ci.nsIObserverSer |
43200 | 76 69 63 65 29 3b 0a 0a 20 20 20 20 69 66 20 28 67 55 52 4c 42 61 72 20 26 26 0a 20 20 20 20 20 | vice);......if.(gURLBar.&&...... |
43220 | 20 20 20 67 55 52 4c 42 61 72 2e 76 61 6c 75 65 20 3d 3d 20 22 22 20 26 26 0a 20 20 20 20 20 20 | ...gURLBar.value.==."".&&....... |
43240 | 20 20 67 65 74 57 65 62 4e 61 76 69 67 61 74 69 6f 6e 28 29 2e 63 75 72 72 65 6e 74 55 52 49 2e | ..getWebNavigation().currentURI. |
43260 | 73 70 65 63 20 3d 3d 20 22 61 62 6f 75 74 3a 62 6c 61 6e 6b 22 29 0a 20 20 20 20 20 20 55 52 4c | spec.==."about:blank").......URL |
43280 | 42 61 72 53 65 74 55 52 49 28 75 72 69 29 3b 0a 0a 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 | BarSetURI(uri);......try.{...... |
432a0 | 20 6f 62 73 65 72 76 65 72 53 65 72 76 69 63 65 2e 6e 6f 74 69 66 79 4f 62 73 65 72 76 65 72 73 | .observerService.notifyObservers |
432c0 | 28 63 6f 6e 74 65 6e 74 2c 20 22 53 74 61 72 74 44 6f 63 75 6d 65 6e 74 4c 6f 61 64 22 2c 20 75 | (content,."StartDocumentLoad",.u |
432e0 | 72 69 2e 73 70 65 63 29 3b 0a 20 20 20 20 7d 20 63 61 74 63 68 20 28 65 29 20 7b 0a 20 20 20 20 | ri.spec);.....}.catch.(e).{..... |
43300 | 7d 0a 20 20 7d 2c 0a 0a 20 20 65 6e 64 44 6f 63 75 6d 65 6e 74 4c 6f 61 64 3a 20 66 75 6e 63 74 | }...},....endDocumentLoad:.funct |
43320 | 69 6f 6e 20 28 61 52 65 71 75 65 73 74 2c 20 61 53 74 61 74 75 73 29 20 7b 0a 20 20 20 20 76 61 | ion.(aRequest,.aStatus).{.....va |
43340 | 72 20 75 72 6c 53 74 72 20 3d 20 61 52 65 71 75 65 73 74 2e 51 75 65 72 79 49 6e 74 65 72 66 61 | r.urlStr.=.aRequest.QueryInterfa |
43360 | 63 65 28 43 69 2e 6e 73 49 43 68 61 6e 6e 65 6c 29 2e 6f 72 69 67 69 6e 61 6c 55 52 49 2e 73 70 | ce(Ci.nsIChannel).originalURI.sp |
43380 | 65 63 3b 0a 0a 20 20 20 20 76 61 72 20 6f 62 73 65 72 76 65 72 53 65 72 76 69 63 65 20 3d 20 43 | ec;......var.observerService.=.C |
433a0 | 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6f 62 73 65 72 76 65 72 2d 73 65 72 76 69 63 65 | c["@mozilla.org/observer-service |
433c0 | 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ;1"]............................ |
433e0 | 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 4f 62 73 65 72 76 65 72 53 65 72 76 69 | ..getService(Ci.nsIObserverServi |
43400 | 63 65 29 3b 0a 0a 20 20 20 20 76 61 72 20 6e 6f 74 69 66 69 63 61 74 69 6f 6e 20 3d 20 43 6f 6d | ce);......var.notification.=.Com |
43420 | 70 6f 6e 65 6e 74 73 2e 69 73 53 75 63 63 65 73 73 43 6f 64 65 28 61 53 74 61 74 75 73 29 20 3f | ponents.isSuccessCode(aStatus).? |
43440 | 20 22 45 6e 64 44 6f 63 75 6d 65 6e 74 4c 6f 61 64 22 20 3a 20 22 46 61 69 6c 44 6f 63 75 6d 65 | ."EndDocumentLoad".:."FailDocume |
43460 | 6e 74 4c 6f 61 64 22 3b 0a 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 6f 62 73 65 72 76 65 | ntLoad";.....try.{.......observe |
43480 | 72 53 65 72 76 69 63 65 2e 6e 6f 74 69 66 79 4f 62 73 65 72 76 65 72 73 28 63 6f 6e 74 65 6e 74 | rService.notifyObservers(content |
434a0 | 2c 20 6e 6f 74 69 66 69 63 61 74 69 6f 6e 2c 20 75 72 6c 53 74 72 29 3b 0a 20 20 20 20 7d 20 63 | ,.notification,.urlStr);.....}.c |
434c0 | 61 74 63 68 20 28 65 29 20 7b 0a 20 20 20 20 7d 0a 20 20 7d 0a 7d 0a 0a 76 61 72 20 54 61 62 73 | atch.(e).{.....}...}.}..var.Tabs |
434e0 | 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 20 3d 20 7b 0a 20 20 6f 6e 50 72 6f 67 72 65 73 | ProgressListener.=.{...onProgres |
43500 | 73 43 68 61 6e 67 65 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 42 72 6f 77 73 65 72 2c 20 61 57 65 | sChange:.function.(aBrowser,.aWe |
43520 | 62 50 72 6f 67 72 65 73 73 2c 20 61 52 65 71 75 65 73 74 2c 0a 20 20 20 20 20 20 20 20 20 20 20 | bProgress,.aRequest,............ |
43540 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 43 75 72 53 65 6c 66 50 72 6f 67 72 | ...................aCurSelfProgr |
43560 | 65 73 73 2c 20 61 4d 61 78 53 65 6c 66 50 72 6f 67 72 65 73 73 2c 0a 20 20 20 20 20 20 20 20 20 | ess,.aMaxSelfProgress,.......... |
43580 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 43 75 72 54 6f 74 61 6c 50 72 | .....................aCurTotalPr |
435a0 | 6f 67 72 65 73 73 2c 20 61 4d 61 78 54 6f 74 61 6c 50 72 6f 67 72 65 73 73 29 20 7b 0a 20 20 7d | ogress,.aMaxTotalProgress).{...} |
435c0 | 2c 0a 0a 20 20 6f 6e 53 74 61 74 65 43 68 61 6e 67 65 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 42 | ,....onStateChange:.function.(aB |
435e0 | 72 6f 77 73 65 72 2c 20 61 57 65 62 50 72 6f 67 72 65 73 73 2c 20 61 52 65 71 75 65 73 74 2c 20 | rowser,.aWebProgress,.aRequest,. |
43600 | 61 53 74 61 74 65 46 6c 61 67 73 2c 20 61 53 74 61 74 75 73 29 20 7b 0a 20 20 7d 2c 0a 0a 20 20 | aStateFlags,.aStatus).{...},.... |
43620 | 6f 6e 4c 6f 63 61 74 69 6f 6e 43 68 61 6e 67 65 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 42 72 6f | onLocationChange:.function.(aBro |
43640 | 77 73 65 72 2c 20 61 57 65 62 50 72 6f 67 72 65 73 73 2c 20 61 52 65 71 75 65 73 74 2c 20 61 4c | wser,.aWebProgress,.aRequest,.aL |
43660 | 6f 63 61 74 69 6f 6e 55 52 49 29 20 7b 0a 20 20 20 20 2f 2f 20 46 69 6c 74 65 72 20 6f 75 74 20 | ocationURI).{.....//.Filter.out. |
43680 | 61 6e 79 20 73 75 62 2d 66 72 61 6d 65 20 6c 6f 61 64 73 0a 20 20 20 20 69 66 20 28 61 42 72 6f | any.sub-frame.loads.....if.(aBro |
436a0 | 77 73 65 72 2e 63 6f 6e 74 65 6e 74 57 69 6e 64 6f 77 20 3d 3d 20 61 57 65 62 50 72 6f 67 72 65 | wser.contentWindow.==.aWebProgre |
436c0 | 73 73 2e 44 4f 4d 57 69 6e 64 6f 77 29 0a 20 20 20 20 20 20 46 75 6c 6c 5a 6f 6f 6d 2e 6f 6e 4c | ss.DOMWindow).......FullZoom.onL |
436e0 | 6f 63 61 74 69 6f 6e 43 68 61 6e 67 65 28 61 4c 6f 63 61 74 69 6f 6e 55 52 49 2c 20 61 42 72 6f | ocationChange(aLocationURI,.aBro |
43700 | 77 73 65 72 29 3b 0a 20 20 7d 2c 0a 20 20 0a 20 20 6f 6e 53 74 61 74 75 73 43 68 61 6e 67 65 3a | wser);...},......onStatusChange: |
43720 | 20 66 75 6e 63 74 69 6f 6e 20 28 61 42 72 6f 77 73 65 72 2c 20 61 57 65 62 50 72 6f 67 72 65 73 | .function.(aBrowser,.aWebProgres |
43740 | 73 2c 20 61 52 65 71 75 65 73 74 2c 20 61 53 74 61 74 75 73 2c 20 61 4d 65 73 73 61 67 65 29 20 | s,.aRequest,.aStatus,.aMessage). |
43760 | 7b 0a 20 20 7d 2c 0a 0a 20 20 6f 6e 52 65 66 72 65 73 68 41 74 74 65 6d 70 74 65 64 3a 20 66 75 | {...},....onRefreshAttempted:.fu |
43780 | 6e 63 74 69 6f 6e 20 28 61 42 72 6f 77 73 65 72 2c 20 61 57 65 62 50 72 6f 67 72 65 73 73 2c 20 | nction.(aBrowser,.aWebProgress,. |
437a0 | 61 55 52 49 2c 20 61 44 65 6c 61 79 2c 20 61 53 61 6d 65 55 52 49 29 20 7b 0a 20 20 20 20 69 66 | aURI,.aDelay,.aSameURI).{.....if |
437c0 | 20 28 67 50 72 65 66 53 65 72 76 69 63 65 2e 67 65 74 42 6f 6f 6c 50 72 65 66 28 22 61 63 63 65 | .(gPrefService.getBoolPref("acce |
437e0 | 73 73 69 62 69 6c 69 74 79 2e 62 6c 6f 63 6b 61 75 74 6f 72 65 66 72 65 73 68 22 29 29 20 7b 0a | ssibility.blockautorefresh")).{. |
43800 | 20 20 20 20 20 20 6c 65 74 20 62 72 61 6e 64 42 75 6e 64 6c 65 20 3d 20 64 6f 63 75 6d 65 6e 74 | ......let.brandBundle.=.document |
43820 | 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 62 75 6e 64 6c 65 5f 62 72 61 6e 64 22 29 3b | .getElementById("bundle_brand"); |
43840 | 0a 20 20 20 20 20 20 6c 65 74 20 62 72 61 6e 64 53 68 6f 72 74 4e 61 6d 65 20 3d 20 62 72 61 6e | .......let.brandShortName.=.bran |
43860 | 64 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 62 72 61 6e 64 53 68 6f 72 74 4e 61 6d | dBundle.getString("brandShortNam |
43880 | 65 22 29 3b 0a 20 20 20 20 20 20 6c 65 74 20 72 65 66 72 65 73 68 42 75 74 74 6f 6e 54 65 78 74 | e");.......let.refreshButtonText |
438a0 | 20 3d 0a 20 20 20 20 20 20 20 20 67 4e 61 76 69 67 61 74 6f 72 42 75 6e 64 6c 65 2e 67 65 74 53 | .=.........gNavigatorBundle.getS |
438c0 | 74 72 69 6e 67 28 22 72 65 66 72 65 73 68 42 6c 6f 63 6b 65 64 2e 67 6f 42 75 74 74 6f 6e 22 29 | tring("refreshBlocked.goButton") |
438e0 | 3b 0a 20 20 20 20 20 20 6c 65 74 20 72 65 66 72 65 73 68 42 75 74 74 6f 6e 41 63 63 65 73 73 6b | ;.......let.refreshButtonAccessk |
43900 | 65 79 20 3d 0a 20 20 20 20 20 20 20 20 67 4e 61 76 69 67 61 74 6f 72 42 75 6e 64 6c 65 2e 67 65 | ey.=.........gNavigatorBundle.ge |
43920 | 74 53 74 72 69 6e 67 28 22 72 65 66 72 65 73 68 42 6c 6f 63 6b 65 64 2e 67 6f 42 75 74 74 6f 6e | tString("refreshBlocked.goButton |
43940 | 2e 61 63 63 65 73 73 6b 65 79 22 29 3b 0a 20 20 20 20 20 20 6c 65 74 20 6d 65 73 73 61 67 65 20 | .accesskey");.......let.message. |
43960 | 3d 0a 20 20 20 20 20 20 20 20 67 4e 61 76 69 67 61 74 6f 72 42 75 6e 64 6c 65 2e 67 65 74 46 6f | =.........gNavigatorBundle.getFo |
43980 | 72 6d 61 74 74 65 64 53 74 72 69 6e 67 28 61 53 61 6d 65 55 52 49 20 3f 20 22 72 65 66 72 65 73 | rmattedString(aSameURI.?."refres |
439a0 | 68 42 6c 6f 63 6b 65 64 2e 72 65 66 72 65 73 68 4c 61 62 65 6c 22 0a 20 20 20 20 20 20 20 20 20 | hBlocked.refreshLabel".......... |
439c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
439e0 | 20 20 20 20 20 20 20 20 20 20 20 20 3a 20 22 72 65 66 72 65 73 68 42 6c 6f 63 6b 65 64 2e 72 65 | ............:."refreshBlocked.re |
43a00 | 64 69 72 65 63 74 4c 61 62 65 6c 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | directLabel",................... |
43a20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 5b 62 72 61 6e 64 | ..........................[brand |
43a40 | 53 68 6f 72 74 4e 61 6d 65 5d 29 3b 0a 20 20 20 20 20 20 6c 65 74 20 64 6f 63 53 68 65 6c 6c 20 | ShortName]);.......let.docShell. |
43a60 | 3d 20 61 57 65 62 50 72 6f 67 72 65 73 73 2e 44 4f 4d 57 69 6e 64 6f 77 0a 20 20 20 20 20 20 20 | =.aWebProgress.DOMWindow........ |
43a80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 51 75 65 72 79 | ...........................Query |
43aa0 | 49 6e 74 65 72 66 61 63 65 28 43 69 2e 6e 73 49 49 6e 74 65 72 66 61 63 65 52 65 71 75 65 73 74 | Interface(Ci.nsIInterfaceRequest |
43ac0 | 6f 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | or)............................. |
43ae0 | 20 20 20 20 20 2e 67 65 74 49 6e 74 65 72 66 61 63 65 28 43 69 2e 6e 73 49 57 65 62 4e 61 76 69 | ......getInterface(Ci.nsIWebNavi |
43b00 | 67 61 74 69 6f 6e 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | gation)......................... |
43b20 | 20 20 20 20 20 20 20 20 20 2e 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 28 43 69 2e 6e 73 49 44 | ..........QueryInterface(Ci.nsID |
43b40 | 6f 63 53 68 65 6c 6c 29 3b 0a 20 20 20 20 20 20 6c 65 74 20 6e 6f 74 69 66 69 63 61 74 69 6f 6e | ocShell);.......let.notification |
43b60 | 42 6f 78 20 3d 20 67 42 72 6f 77 73 65 72 2e 67 65 74 4e 6f 74 69 66 69 63 61 74 69 6f 6e 42 6f | Box.=.gBrowser.getNotificationBo |
43b80 | 78 28 61 42 72 6f 77 73 65 72 29 3b 0a 20 20 20 20 20 20 6c 65 74 20 6e 6f 74 69 66 69 63 61 74 | x(aBrowser);.......let.notificat |
43ba0 | 69 6f 6e 20 3d 20 6e 6f 74 69 66 69 63 61 74 69 6f 6e 42 6f 78 2e 67 65 74 4e 6f 74 69 66 69 63 | ion.=.notificationBox.getNotific |
43bc0 | 61 74 69 6f 6e 57 69 74 68 56 61 6c 75 65 28 22 72 65 66 72 65 73 68 2d 62 6c 6f 63 6b 65 64 22 | ationWithValue("refresh-blocked" |
43be0 | 29 3b 0a 20 20 20 20 20 20 69 66 20 28 6e 6f 74 69 66 69 63 61 74 69 6f 6e 29 20 7b 0a 20 20 20 | );.......if.(notification).{.... |
43c00 | 20 20 20 20 20 6e 6f 74 69 66 69 63 61 74 69 6f 6e 2e 6c 61 62 65 6c 20 3d 20 6d 65 73 73 61 67 | .....notification.label.=.messag |
43c20 | 65 3b 0a 20 20 20 20 20 20 20 20 6e 6f 74 69 66 69 63 61 74 69 6f 6e 2e 72 65 66 72 65 73 68 55 | e;.........notification.refreshU |
43c40 | 52 49 20 3d 20 61 55 52 49 3b 0a 20 20 20 20 20 20 20 20 6e 6f 74 69 66 69 63 61 74 69 6f 6e 2e | RI.=.aURI;.........notification. |
43c60 | 64 65 6c 61 79 20 3d 20 61 44 65 6c 61 79 3b 0a 20 20 20 20 20 20 20 20 6e 6f 74 69 66 69 63 61 | delay.=.aDelay;.........notifica |
43c80 | 74 69 6f 6e 2e 64 6f 63 53 68 65 6c 6c 20 3d 20 64 6f 63 53 68 65 6c 6c 3b 0a 20 20 20 20 20 20 | tion.docShell.=.docShell;....... |
43ca0 | 7d 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 20 20 6c 65 74 20 62 75 74 74 6f 6e 73 20 3d 20 5b | }.else.{.........let.buttons.=.[ |
43cc0 | 7b 0a 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3a 20 72 65 66 72 65 73 68 42 75 74 74 6f 6e | {...........label:.refreshButton |
43ce0 | 54 65 78 74 2c 0a 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 4b 65 79 3a 20 72 65 66 72 65 | Text,...........accessKey:.refre |
43d00 | 73 68 42 75 74 74 6f 6e 41 63 63 65 73 73 6b 65 79 2c 0a 20 20 20 20 20 20 20 20 20 20 63 61 6c | shButtonAccesskey,...........cal |
43d20 | 6c 62 61 63 6b 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 4e 6f 74 69 66 69 63 61 74 69 6f 6e 2c 20 | lback:.function.(aNotification,. |
43d40 | 61 42 75 74 74 6f 6e 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 72 65 66 72 65 | aButton).{.............var.refre |
43d60 | 73 68 55 52 49 20 3d 20 61 4e 6f 74 69 66 69 63 61 74 69 6f 6e 2e 64 6f 63 53 68 65 6c 6c 0a 20 | shURI.=.aNotification.docShell.. |
43d80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
43da0 | 20 20 20 20 20 20 20 20 20 2e 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 28 43 69 2e 6e 73 49 52 | ..........QueryInterface(Ci.nsIR |
43dc0 | 65 66 72 65 73 68 55 52 49 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 66 72 65 73 68 55 | efreshURI);.............refreshU |
43de0 | 52 49 2e 66 6f 72 63 65 52 65 66 72 65 73 68 55 52 49 28 61 4e 6f 74 69 66 69 63 61 74 69 6f 6e | RI.forceRefreshURI(aNotification |
43e00 | 2e 72 65 66 72 65 73 68 55 52 49 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .refreshURI,.................... |
43e20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 4e 6f 74 69 66 69 63 61 74 69 6f | ....................aNotificatio |
43e40 | 6e 2e 64 65 6c 61 79 2c 20 74 72 75 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 | n.delay,.true);...........}..... |
43e60 | 20 20 20 20 7d 5d 3b 0a 20 20 20 20 20 20 20 20 6e 6f 74 69 66 69 63 61 74 69 6f 6e 20 3d 0a 20 | ....}];.........notification.=.. |
43e80 | 20 20 20 20 20 20 20 20 20 6e 6f 74 69 66 69 63 61 74 69 6f 6e 42 6f 78 2e 61 70 70 65 6e 64 4e | .........notificationBox.appendN |
43ea0 | 6f 74 69 66 69 63 61 74 69 6f 6e 28 6d 65 73 73 61 67 65 2c 20 22 72 65 66 72 65 73 68 2d 62 6c | otification(message,."refresh-bl |
43ec0 | 6f 63 6b 65 64 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ocked",......................... |
43ee0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 63 68 72 6f 6d 65 3a 2f 2f 62 | ....................."chrome://b |
43f00 | 72 6f 77 73 65 72 2f 73 6b 69 6e 2f 49 6e 66 6f 2e 70 6e 67 22 2c 0a 20 20 20 20 20 20 20 20 20 | rowser/skin/Info.png",.......... |
43f20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
43f40 | 20 20 20 20 6e 6f 74 69 66 69 63 61 74 69 6f 6e 42 6f 78 2e 50 52 49 4f 52 49 54 59 5f 49 4e 46 | ....notificationBox.PRIORITY_INF |
43f60 | 4f 5f 4d 45 44 49 55 4d 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | O_MEDIUM,....................... |
43f80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 75 74 74 6f 6e 73 29 3b | .......................buttons); |
43fa0 | 0a 20 20 20 20 20 20 20 20 6e 6f 74 69 66 69 63 61 74 69 6f 6e 2e 72 65 66 72 65 73 68 55 52 49 | .........notification.refreshURI |
43fc0 | 20 3d 20 61 55 52 49 3b 0a 20 20 20 20 20 20 20 20 6e 6f 74 69 66 69 63 61 74 69 6f 6e 2e 64 65 | .=.aURI;.........notification.de |
43fe0 | 6c 61 79 20 3d 20 61 44 65 6c 61 79 3b 0a 20 20 20 20 20 20 20 20 6e 6f 74 69 66 69 63 61 74 69 | lay.=.aDelay;.........notificati |
44000 | 6f 6e 2e 64 6f 63 53 68 65 6c 6c 20 3d 20 64 6f 63 53 68 65 6c 6c 3b 0a 20 20 20 20 20 20 7d 0a | on.docShell.=.docShell;.......}. |
44020 | 20 20 20 20 20 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 0a 20 20 20 20 7d 0a 20 20 20 20 72 65 | ......return.false;.....}.....re |
44040 | 74 75 72 6e 20 74 72 75 65 3b 0a 20 20 7d 2c 0a 0a 20 20 6f 6e 53 65 63 75 72 69 74 79 43 68 61 | turn.true;...},....onSecurityCha |
44060 | 6e 67 65 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 42 72 6f 77 73 65 72 2c 20 61 57 65 62 50 72 6f | nge:.function.(aBrowser,.aWebPro |
44080 | 67 72 65 73 73 2c 20 61 52 65 71 75 65 73 74 2c 20 61 53 74 61 74 65 29 20 7b 0a 20 20 7d 0a 7d | gress,.aRequest,.aState).{...}.} |
440a0 | 0a 0a 66 75 6e 63 74 69 6f 6e 20 6e 73 42 72 6f 77 73 65 72 41 63 63 65 73 73 28 29 0a 7b 0a 7d | ..function.nsBrowserAccess().{.} |
440c0 | 0a 0a 6e 73 42 72 6f 77 73 65 72 41 63 63 65 73 73 2e 70 72 6f 74 6f 74 79 70 65 20 3d 0a 7b 0a | ..nsBrowserAccess.prototype.=.{. |
440e0 | 20 20 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 20 3a 20 66 75 6e 63 74 69 6f 6e 28 61 49 49 44 | ..QueryInterface.:.function(aIID |
44100 | 29 0a 20 20 7b 0a 20 20 20 20 69 66 20 28 61 49 49 44 2e 65 71 75 61 6c 73 28 43 69 2e 6e 73 49 | )...{.....if.(aIID.equals(Ci.nsI |
44120 | 42 72 6f 77 73 65 72 44 4f 4d 57 69 6e 64 6f 77 29 20 7c 7c 0a 20 20 20 20 20 20 20 20 61 49 49 | BrowserDOMWindow).||.........aII |
44140 | 44 2e 65 71 75 61 6c 73 28 43 69 2e 6e 73 49 53 75 70 70 6f 72 74 73 29 29 0a 20 20 20 20 20 20 | D.equals(Ci.nsISupports))....... |
44160 | 72 65 74 75 72 6e 20 74 68 69 73 3b 0a 20 20 20 20 74 68 72 6f 77 20 43 6f 6d 70 6f 6e 65 6e 74 | return.this;.....throw.Component |
44180 | 73 2e 72 65 73 75 6c 74 73 2e 4e 53 5f 4e 4f 49 4e 54 45 52 46 41 43 45 3b 0a 20 20 7d 2c 0a 0a | s.results.NS_NOINTERFACE;...},.. |
441a0 | 20 20 6f 70 65 6e 55 52 49 20 3a 20 66 75 6e 63 74 69 6f 6e 28 61 55 52 49 2c 20 61 4f 70 65 6e | ..openURI.:.function(aURI,.aOpen |
441c0 | 65 72 2c 20 61 57 68 65 72 65 2c 20 61 43 6f 6e 74 65 78 74 29 0a 20 20 7b 0a 20 20 20 20 76 61 | er,.aWhere,.aContext)...{.....va |
441e0 | 72 20 6e 65 77 57 69 6e 64 6f 77 20 3d 20 6e 75 6c 6c 3b 0a 20 20 20 20 76 61 72 20 72 65 66 65 | r.newWindow.=.null;.....var.refe |
44200 | 72 72 65 72 20 3d 20 6e 75 6c 6c 3b 0a 20 20 20 20 76 61 72 20 69 73 45 78 74 65 72 6e 61 6c 20 | rrer.=.null;.....var.isExternal. |
44220 | 3d 20 28 61 43 6f 6e 74 65 78 74 20 3d 3d 20 43 69 2e 6e 73 49 42 72 6f 77 73 65 72 44 4f 4d 57 | =.(aContext.==.Ci.nsIBrowserDOMW |
44240 | 69 6e 64 6f 77 2e 4f 50 45 4e 5f 45 58 54 45 52 4e 41 4c 29 3b 0a 0a 20 20 20 20 69 66 20 28 69 | indow.OPEN_EXTERNAL);......if.(i |
44260 | 73 45 78 74 65 72 6e 61 6c 20 26 26 20 61 55 52 49 20 26 26 20 61 55 52 49 2e 73 63 68 65 6d 65 | sExternal.&&.aURI.&&.aURI.scheme |
44280 | 49 73 28 22 63 68 72 6f 6d 65 22 29 29 20 7b 0a 20 20 20 20 20 20 64 75 6d 70 28 22 75 73 65 20 | Is("chrome")).{.......dump("use. |
442a0 | 2d 63 68 72 6f 6d 65 20 63 6f 6d 6d 61 6e 64 2d 6c 69 6e 65 20 6f 70 74 69 6f 6e 20 74 6f 20 6c | -chrome.command-line.option.to.l |
442c0 | 6f 61 64 20 65 78 74 65 72 6e 61 6c 20 63 68 72 6f 6d 65 20 75 72 6c 73 5c 6e 22 29 3b 0a 20 20 | oad.external.chrome.urls\n");... |
442e0 | 20 20 20 20 72 65 74 75 72 6e 20 6e 75 6c 6c 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 76 61 72 20 | ....return.null;.....}......var. |
44300 | 6c 6f 61 64 66 6c 61 67 73 20 3d 20 69 73 45 78 74 65 72 6e 61 6c 20 3f 0a 20 20 20 20 20 20 20 | loadflags.=.isExternal.?........ |
44320 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 43 69 2e 6e 73 49 57 65 62 4e 61 76 69 67 61 74 | ................Ci.nsIWebNavigat |
44340 | 69 6f 6e 2e 4c 4f 41 44 5f 46 4c 41 47 53 5f 46 52 4f 4d 5f 45 58 54 45 52 4e 41 4c 20 3a 0a 20 | ion.LOAD_FLAGS_FROM_EXTERNAL.:.. |
44360 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 43 69 2e 6e 73 49 57 65 62 4e | ......................Ci.nsIWebN |
44380 | 61 76 69 67 61 74 69 6f 6e 2e 4c 4f 41 44 5f 46 4c 41 47 53 5f 4e 4f 4e 45 3b 0a 20 20 20 20 76 | avigation.LOAD_FLAGS_NONE;.....v |
443a0 | 61 72 20 6c 6f 63 61 74 69 6f 6e 3b 0a 20 20 20 20 69 66 20 28 61 57 68 65 72 65 20 3d 3d 20 43 | ar.location;.....if.(aWhere.==.C |
443c0 | 69 2e 6e 73 49 42 72 6f 77 73 65 72 44 4f 4d 57 69 6e 64 6f 77 2e 4f 50 45 4e 5f 44 45 46 41 55 | i.nsIBrowserDOMWindow.OPEN_DEFAU |
443e0 | 4c 54 57 49 4e 44 4f 57 29 0a 20 20 20 20 20 20 61 57 68 65 72 65 20 3d 20 67 50 72 65 66 53 65 | LTWINDOW).......aWhere.=.gPrefSe |
44400 | 72 76 69 63 65 2e 67 65 74 49 6e 74 50 72 65 66 28 22 62 72 6f 77 73 65 72 2e 6c 69 6e 6b 2e 6f | rvice.getIntPref("browser.link.o |
44420 | 70 65 6e 5f 6e 65 77 77 69 6e 64 6f 77 22 29 3b 0a 20 20 20 20 73 77 69 74 63 68 20 28 61 57 68 | pen_newwindow");.....switch.(aWh |
44440 | 65 72 65 29 20 7b 0a 20 20 20 20 20 20 63 61 73 65 20 43 69 2e 6e 73 49 42 72 6f 77 73 65 72 44 | ere).{.......case.Ci.nsIBrowserD |
44460 | 4f 4d 57 69 6e 64 6f 77 2e 4f 50 45 4e 5f 4e 45 57 57 49 4e 44 4f 57 20 3a 0a 20 20 20 20 20 20 | OMWindow.OPEN_NEWWINDOW.:....... |
44480 | 20 20 2f 2f 20 46 49 58 4d 45 3a 20 42 75 67 20 34 30 38 33 37 39 2e 20 53 6f 20 68 6f 77 20 63 | ..//.FIXME:.Bug.408379..So.how.c |
444a0 | 6f 6d 65 20 74 68 69 73 20 64 6f 65 73 6e 27 74 20 73 65 6e 64 20 74 68 65 0a 20 20 20 20 20 20 | ome.this.doesn't.send.the....... |
444c0 | 20 20 2f 2f 20 72 65 66 65 72 72 65 72 20 6c 69 6b 65 20 74 68 65 20 6f 74 68 65 72 20 6c 6f 61 | ..//.referrer.like.the.other.loa |
444e0 | 64 73 20 64 6f 3f 0a 20 20 20 20 20 20 20 20 76 61 72 20 75 72 6c 20 3d 20 61 55 52 49 20 3f 20 | ds.do?.........var.url.=.aURI.?. |
44500 | 61 55 52 49 2e 73 70 65 63 20 3a 20 22 61 62 6f 75 74 3a 62 6c 61 6e 6b 22 3b 0a 20 20 20 20 20 | aURI.spec.:."about:blank";...... |
44520 | 20 20 20 2f 2f 20 50 61 73 73 20 61 6c 6c 20 70 61 72 61 6d 73 20 74 6f 20 6f 70 65 6e 44 69 61 | ...//.Pass.all.params.to.openDia |
44540 | 6c 6f 67 20 74 6f 20 65 6e 73 75 72 65 20 74 68 61 74 20 22 75 72 6c 22 20 69 73 6e 27 74 20 70 | log.to.ensure.that."url".isn't.p |
44560 | 61 73 73 65 64 20 74 68 72 6f 75 67 68 0a 20 20 20 20 20 20 20 20 2f 2f 20 6c 6f 61 64 4f 6e 65 | assed.through.........//.loadOne |
44580 | 4f 72 4d 6f 72 65 55 52 49 73 2c 20 77 68 69 63 68 20 73 70 6c 69 74 73 20 62 61 73 65 64 20 6f | OrMoreURIs,.which.splits.based.o |
445a0 | 6e 20 22 7c 22 0a 20 20 20 20 20 20 20 20 6e 65 77 57 69 6e 64 6f 77 20 3d 20 6f 70 65 6e 44 69 | n."|".........newWindow.=.openDi |
445c0 | 61 6c 6f 67 28 67 65 74 42 72 6f 77 73 65 72 55 52 4c 28 29 2c 20 22 5f 62 6c 61 6e 6b 22 2c 20 | alog(getBrowserURL(),."_blank",. |
445e0 | 22 61 6c 6c 2c 64 69 61 6c 6f 67 3d 6e 6f 22 2c 20 75 72 6c 2c 20 6e 75 6c 6c 2c 20 6e 75 6c 6c | "all,dialog=no",.url,.null,.null |
44600 | 2c 20 6e 75 6c 6c 29 3b 0a 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 63 61 | ,.null);.........break;.......ca |
44620 | 73 65 20 43 69 2e 6e 73 49 42 72 6f 77 73 65 72 44 4f 4d 57 69 6e 64 6f 77 2e 4f 50 45 4e 5f 4e | se.Ci.nsIBrowserDOMWindow.OPEN_N |
44640 | 45 57 54 41 42 20 3a 0a 20 20 20 20 20 20 20 20 6c 65 74 20 77 69 6e 2c 20 6e 65 65 64 54 6f 46 | EWTAB.:.........let.win,.needToF |
44660 | 6f 63 75 73 57 69 6e 3b 0a 0a 20 20 20 20 20 20 20 20 2f 2f 20 74 72 79 20 74 68 65 20 63 75 72 | ocusWin;..........//.try.the.cur |
44680 | 72 65 6e 74 20 77 69 6e 64 6f 77 2e 20 20 69 66 20 77 65 27 72 65 20 69 6e 20 61 20 70 6f 70 75 | rent.window...if.we're.in.a.popu |
446a0 | 70 2c 20 66 61 6c 6c 20 62 61 63 6b 20 6f 6e 20 74 68 65 20 6d 6f 73 74 20 72 65 63 65 6e 74 20 | p,.fall.back.on.the.most.recent. |
446c0 | 62 72 6f 77 73 65 72 20 77 69 6e 64 6f 77 0a 20 20 20 20 20 20 20 20 69 66 20 28 21 77 69 6e 64 | browser.window.........if.(!wind |
446e0 | 6f 77 2e 64 6f 63 75 6d 65 6e 74 2e 64 6f 63 75 6d 65 6e 74 45 6c 65 6d 65 6e 74 2e 67 65 74 41 | ow.document.documentElement.getA |
44700 | 74 74 72 69 62 75 74 65 28 22 63 68 72 6f 6d 65 68 69 64 64 65 6e 22 29 29 0a 20 20 20 20 20 20 | ttribute("chromehidden"))....... |
44720 | 20 20 20 20 77 69 6e 20 3d 20 77 69 6e 64 6f 77 3b 0a 20 20 20 20 20 20 20 20 65 6c 73 65 20 7b | ....win.=.window;.........else.{ |
44740 | 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 62 72 6f 77 73 65 72 47 6c 75 65 20 3d 20 43 63 5b | ...........var.browserGlue.=.Cc[ |
44760 | 47 4c 55 45 5f 43 49 44 5d 2e 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 42 72 6f 77 73 | GLUE_CID].getService(Ci.nsIBrows |
44780 | 65 72 47 6c 75 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 77 69 6e 20 3d 20 62 72 6f 77 73 65 72 | erGlue);...........win.=.browser |
447a0 | 47 6c 75 65 2e 67 65 74 4d 6f 73 74 52 65 63 65 6e 74 42 72 6f 77 73 65 72 57 69 6e 64 6f 77 28 | Glue.getMostRecentBrowserWindow( |
447c0 | 29 3b 0a 20 20 20 20 20 20 20 20 20 20 6e 65 65 64 54 6f 46 6f 63 75 73 57 69 6e 20 3d 20 74 72 | );...........needToFocusWin.=.tr |
447e0 | 75 65 3b 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 69 66 20 28 21 77 69 6e 29 | ue;.........}..........if.(!win) |
44800 | 20 7b 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 77 65 20 63 6f 75 6c 64 6e 27 74 20 66 69 6e 64 | .{...........//.we.couldn't.find |
44820 | 20 61 20 73 75 69 74 61 62 6c 65 20 77 69 6e 64 6f 77 2c 20 61 20 6e 65 77 20 6f 6e 65 20 6e 65 | .a.suitable.window,.a.new.one.ne |
44840 | 65 64 73 20 74 6f 20 62 65 20 6f 70 65 6e 65 64 2e 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 | eds.to.be.opened............retu |
44860 | 72 6e 20 6e 75 6c 6c 3b 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 76 61 72 20 6c | rn.null;.........}.........var.l |
44880 | 6f 61 64 49 6e 42 61 63 6b 67 72 6f 75 6e 64 20 3d 20 67 50 72 65 66 53 65 72 76 69 63 65 2e 67 | oadInBackground.=.gPrefService.g |
448a0 | 65 74 42 6f 6f 6c 50 72 65 66 28 22 62 72 6f 77 73 65 72 2e 74 61 62 73 2e 6c 6f 61 64 44 69 76 | etBoolPref("browser.tabs.loadDiv |
448c0 | 65 72 74 65 64 49 6e 42 61 63 6b 67 72 6f 75 6e 64 22 29 3b 0a 20 20 20 20 20 20 20 20 76 61 72 | ertedInBackground");.........var |
448e0 | 20 6e 65 77 54 61 62 20 3d 20 77 69 6e 2e 67 42 72 6f 77 73 65 72 2e 6c 6f 61 64 4f 6e 65 54 61 | .newTab.=.win.gBrowser.loadOneTa |
44900 | 62 28 22 61 62 6f 75 74 3a 62 6c 61 6e 6b 22 2c 20 6e 75 6c 6c 2c 20 6e 75 6c 6c 2c 20 6e 75 6c | b("about:blank",.null,.null,.nul |
44920 | 6c 2c 20 6c 6f 61 64 49 6e 42 61 63 6b 67 72 6f 75 6e 64 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 | l,.loadInBackground,.false);.... |
44940 | 20 20 20 20 20 6e 65 77 57 69 6e 64 6f 77 20 3d 20 77 69 6e 2e 67 42 72 6f 77 73 65 72 2e 67 65 | .....newWindow.=.win.gBrowser.ge |
44960 | 74 42 72 6f 77 73 65 72 46 6f 72 54 61 62 28 6e 65 77 54 61 62 29 2e 64 6f 63 53 68 65 6c 6c 0a | tBrowserForTab(newTab).docShell. |
44980 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
449a0 | 2e 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 28 43 69 2e 6e 73 49 49 6e 74 65 72 66 61 63 65 52 | .QueryInterface(Ci.nsIInterfaceR |
449c0 | 65 71 75 65 73 74 6f 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | equestor)....................... |
449e0 | 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 49 6e 74 65 72 66 61 63 65 28 43 69 2e 6e 73 49 44 4f | ...........getInterface(Ci.nsIDO |
44a00 | 4d 57 69 6e 64 6f 77 29 3b 0a 20 20 20 20 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 20 20 | MWindow);.........try.{......... |
44a20 | 20 20 69 66 20 28 61 55 52 49 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 61 4f | ..if.(aURI).{.............if.(aO |
44a40 | 70 65 6e 65 72 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 6f 63 61 74 69 6f 6e 20 | pener).{...............location. |
44a60 | 3d 20 61 4f 70 65 6e 65 72 2e 6c 6f 63 61 74 69 6f 6e 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 | =.aOpener.location;............. |
44a80 | 20 20 72 65 66 65 72 72 65 72 20 3d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ..referrer.=.................... |
44aa0 | 20 20 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e | ...Components.classes["@mozilla. |
44ac0 | 6f 72 67 2f 6e 65 74 77 6f 72 6b 2f 69 6f 2d 73 65 72 76 69 63 65 3b 31 22 5d 0a 20 20 20 20 20 | org/network/io-service;1"]...... |
44ae0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 | ............................getS |
44b00 | 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 | ervice(Components.interfaces.nsI |
44b20 | 49 4f 53 65 72 76 69 63 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | IOService)...................... |
44b40 | 20 20 20 20 20 20 20 20 20 20 20 2e 6e 65 77 55 52 49 28 6c 6f 63 61 74 69 6f 6e 2c 20 6e 75 6c | ............newURI(location,.nul |
44b60 | 6c 2c 20 6e 75 6c 6c 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 | l,.null);.............}......... |
44b80 | 20 20 20 20 6e 65 77 57 69 6e 64 6f 77 2e 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 28 43 69 2e | ....newWindow.QueryInterface(Ci. |
44ba0 | 6e 73 49 49 6e 74 65 72 66 61 63 65 52 65 71 75 65 73 74 6f 72 29 0a 20 20 20 20 20 20 20 20 20 | nsIInterfaceRequestor).......... |
44bc0 | 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 49 6e 74 65 72 66 61 63 65 28 43 69 2e 6e 73 49 | .............getInterface(Ci.nsI |
44be0 | 57 65 62 4e 61 76 69 67 61 74 69 6f 6e 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | WebNavigation).................. |
44c00 | 20 20 20 20 2e 6c 6f 61 64 55 52 49 28 61 55 52 49 2e 73 70 65 63 2c 20 6c 6f 61 64 66 6c 61 67 | .....loadURI(aURI.spec,.loadflag |
44c20 | 73 2c 20 72 65 66 65 72 72 65 72 2c 20 6e 75 6c 6c 2c 20 6e 75 6c 6c 29 3b 0a 20 20 20 20 20 20 | s,.referrer,.null,.null);....... |
44c40 | 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 6e 65 65 64 54 6f 46 6f 63 75 73 57 | ....}...........if.(needToFocusW |
44c60 | 69 6e 20 7c 7c 20 28 21 6c 6f 61 64 49 6e 42 61 63 6b 67 72 6f 75 6e 64 20 26 26 20 69 73 45 78 | in.||.(!loadInBackground.&&.isEx |
44c80 | 74 65 72 6e 61 6c 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 6e 65 77 57 69 6e 64 6f 77 2e 66 | ternal)).............newWindow.f |
44ca0 | 6f 63 75 73 28 29 3b 0a 20 20 20 20 20 20 20 20 7d 20 63 61 74 63 68 28 65 29 20 7b 0a 20 20 20 | ocus();.........}.catch(e).{.... |
44cc0 | 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 64 65 66 61 | .....}.........break;.......defa |
44ce0 | 75 6c 74 20 3a 20 2f 2f 20 4f 50 45 4e 5f 43 55 52 52 45 4e 54 57 49 4e 44 4f 57 20 6f 72 20 61 | ult.:.//.OPEN_CURRENTWINDOW.or.a |
44d00 | 6e 20 69 6c 6c 65 67 61 6c 20 76 61 6c 75 65 0a 20 20 20 20 20 20 20 20 74 72 79 20 7b 0a 20 20 | n.illegal.value.........try.{... |
44d20 | 20 20 20 20 20 20 20 20 69 66 20 28 61 4f 70 65 6e 65 72 29 20 7b 0a 20 20 20 20 20 20 20 20 20 | ........if.(aOpener).{.......... |
44d40 | 20 20 20 6e 65 77 57 69 6e 64 6f 77 20 3d 20 61 4f 70 65 6e 65 72 2e 74 6f 70 3b 0a 20 20 20 20 | ...newWindow.=.aOpener.top;..... |
44d60 | 20 20 20 20 20 20 20 20 69 66 20 28 61 55 52 49 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ........if.(aURI).{............. |
44d80 | 20 20 6c 6f 63 61 74 69 6f 6e 20 3d 20 61 4f 70 65 6e 65 72 2e 6c 6f 63 61 74 69 6f 6e 3b 0a 20 | ..location.=.aOpener.location;.. |
44da0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 66 65 72 72 65 72 20 3d 0a 20 20 20 20 20 20 20 20 | .............referrer.=......... |
44dc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 | ..............Components.classes |
44de0 | 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6e 65 74 77 6f 72 6b 2f 69 6f 2d 73 65 72 76 69 63 | ["@mozilla.org/network/io-servic |
44e00 | 65 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | e;1"]........................... |
44e20 | 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 | .......getService(Components.int |
44e40 | 65 72 66 61 63 65 73 2e 6e 73 49 49 4f 53 65 72 76 69 63 65 29 0a 20 20 20 20 20 20 20 20 20 20 | erfaces.nsIIOService)........... |
44e60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 6e 65 77 55 52 49 28 6c 6f | .......................newURI(lo |
44e80 | 63 61 74 69 6f 6e 2c 20 6e 75 6c 6c 2c 20 6e 75 6c 6c 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 | cation,.null,.null);............ |
44ea0 | 20 20 20 20 6e 65 77 57 69 6e 64 6f 77 2e 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 28 43 69 2e | ....newWindow.QueryInterface(Ci. |
44ec0 | 6e 73 49 49 6e 74 65 72 66 61 63 65 52 65 71 75 65 73 74 6f 72 29 0a 20 20 20 20 20 20 20 20 20 | nsIInterfaceRequestor).......... |
44ee0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 49 6e 74 65 72 66 61 63 65 28 6e 73 49 57 | ...............getInterface(nsIW |
44f00 | 65 62 4e 61 76 69 67 61 74 69 6f 6e 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ebNavigation)................... |
44f20 | 20 20 20 20 20 2e 6c 6f 61 64 55 52 49 28 61 55 52 49 2e 73 70 65 63 2c 20 6c 6f 61 64 66 6c 61 | ......loadURI(aURI.spec,.loadfla |
44f40 | 67 73 2c 20 72 65 66 65 72 72 65 72 2c 20 6e 75 6c 6c 2c 20 6e 75 6c 6c 29 3b 0a 20 20 20 20 20 | gs,.referrer,.null,.null);...... |
44f60 | 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 7d 20 65 6c 73 65 20 7b 0a 20 20 20 20 | .......}...........}.else.{..... |
44f80 | 20 20 20 20 20 20 20 20 6e 65 77 57 69 6e 64 6f 77 20 3d 20 67 42 72 6f 77 73 65 72 2e 73 65 6c | ........newWindow.=.gBrowser.sel |
44fa0 | 65 63 74 65 64 42 72 6f 77 73 65 72 2e 64 6f 63 53 68 65 6c 6c 0a 20 20 20 20 20 20 20 20 20 20 | ectedBrowser.docShell........... |
44fc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 51 75 65 72 79 49 6e 74 65 | .......................QueryInte |
44fe0 | 72 66 61 63 65 28 43 69 2e 6e 73 49 49 6e 74 65 72 66 61 63 65 52 65 71 75 65 73 74 6f 72 29 0a | rface(Ci.nsIInterfaceRequestor). |
45000 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
45020 | 2e 67 65 74 49 6e 74 65 72 66 61 63 65 28 43 69 2e 6e 73 49 44 4f 4d 57 69 6e 64 6f 77 29 3b 0a | .getInterface(Ci.nsIDOMWindow);. |
45040 | 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 61 55 52 49 29 20 7b 0a 20 20 20 20 20 20 20 20 | ............if.(aURI).{......... |
45060 | 20 20 20 20 20 20 67 42 72 6f 77 73 65 72 2e 6c 6f 61 64 55 52 49 57 69 74 68 46 6c 61 67 73 28 | ......gBrowser.loadURIWithFlags( |
45080 | 61 55 52 49 2e 73 70 65 63 2c 20 6c 6f 61 64 66 6c 61 67 73 2c 20 6e 75 6c 6c 2c 20 0a 20 20 20 | aURI.spec,.loadflags,.null,..... |
450a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
450c0 | 20 20 20 20 20 6e 75 6c 6c 2c 20 6e 75 6c 6c 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a | .....null,.null);.............}. |
450e0 | 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 69 66 28 21 67 50 72 65 66 53 | ..........}...........if(!gPrefS |
45100 | 65 72 76 69 63 65 2e 67 65 74 42 6f 6f 6c 50 72 65 66 28 22 62 72 6f 77 73 65 72 2e 74 61 62 73 | ervice.getBoolPref("browser.tabs |
45120 | 2e 6c 6f 61 64 44 69 76 65 72 74 65 64 49 6e 42 61 63 6b 67 72 6f 75 6e 64 22 29 29 0a 20 20 20 | .loadDivertedInBackground")).... |
45140 | 20 20 20 20 20 20 20 20 20 63 6f 6e 74 65 6e 74 2e 66 6f 63 75 73 28 29 3b 0a 20 20 20 20 20 20 | .........content.focus();....... |
45160 | 20 20 7d 20 63 61 74 63 68 28 65 29 20 7b 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 20 | ..}.catch(e).{.........}.....}.. |
45180 | 20 20 20 72 65 74 75 72 6e 20 6e 65 77 57 69 6e 64 6f 77 3b 0a 20 20 7d 2c 0a 0a 20 20 69 73 54 | ...return.newWindow;...},....isT |
451a0 | 61 62 43 6f 6e 74 65 6e 74 57 69 6e 64 6f 77 20 3a 20 66 75 6e 63 74 69 6f 6e 28 61 57 69 6e 64 | abContentWindow.:.function(aWind |
451c0 | 6f 77 29 0a 20 20 7b 0a 20 20 20 20 72 65 74 75 72 6e 20 67 42 72 6f 77 73 65 72 2e 62 72 6f 77 | ow)...{.....return.gBrowser.brow |
451e0 | 73 65 72 73 2e 73 6f 6d 65 28 66 75 6e 63 74 69 6f 6e 20 28 62 72 6f 77 73 65 72 29 20 62 72 6f | sers.some(function.(browser).bro |
45200 | 77 73 65 72 2e 63 6f 6e 74 65 6e 74 57 69 6e 64 6f 77 20 3d 3d 20 61 57 69 6e 64 6f 77 29 3b 0a | wser.contentWindow.==.aWindow);. |
45220 | 20 20 7d 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 6f 6e 56 69 65 77 54 6f 6f 6c 62 61 72 73 50 6f | ..}.}..function.onViewToolbarsPo |
45240 | 70 75 70 53 68 6f 77 69 6e 67 28 61 45 76 65 6e 74 29 0a 7b 0a 20 20 76 61 72 20 70 6f 70 75 70 | pupShowing(aEvent).{...var.popup |
45260 | 20 3d 20 61 45 76 65 6e 74 2e 74 61 72 67 65 74 3b 0a 20 20 76 61 72 20 69 3b 0a 0a 20 20 2f 2f | .=.aEvent.target;...var.i;....// |
45280 | 20 45 6d 70 74 79 20 74 68 65 20 6d 65 6e 75 0a 20 20 66 6f 72 20 28 69 20 3d 20 70 6f 70 75 70 | .Empty.the.menu...for.(i.=.popup |
452a0 | 2e 63 68 69 6c 64 4e 6f 64 65 73 2e 6c 65 6e 67 74 68 2d 31 3b 20 69 20 3e 3d 20 30 3b 20 2d 2d | .childNodes.length-1;.i.>=.0;.-- |
452c0 | 69 29 20 7b 0a 20 20 20 20 76 61 72 20 64 65 61 64 49 74 65 6d 20 3d 20 70 6f 70 75 70 2e 63 68 | i).{.....var.deadItem.=.popup.ch |
452e0 | 69 6c 64 4e 6f 64 65 73 5b 69 5d 3b 0a 20 20 20 20 69 66 20 28 64 65 61 64 49 74 65 6d 2e 68 61 | ildNodes[i];.....if.(deadItem.ha |
45300 | 73 41 74 74 72 69 62 75 74 65 28 22 74 6f 6f 6c 62 61 72 69 6e 64 65 78 22 29 29 0a 20 20 20 20 | sAttribute("toolbarindex"))..... |
45320 | 20 20 70 6f 70 75 70 2e 72 65 6d 6f 76 65 43 68 69 6c 64 28 64 65 61 64 49 74 65 6d 29 3b 0a 20 | ..popup.removeChild(deadItem);.. |
45340 | 20 7d 0a 0a 20 20 76 61 72 20 66 69 72 73 74 4d 65 6e 75 49 74 65 6d 20 3d 20 70 6f 70 75 70 2e | .}....var.firstMenuItem.=.popup. |
45360 | 66 69 72 73 74 43 68 69 6c 64 3b 0a 0a 20 20 66 6f 72 20 28 69 20 3d 20 30 3b 20 69 20 3c 20 67 | firstChild;....for.(i.=.0;.i.<.g |
45380 | 4e 61 76 54 6f 6f 6c 62 6f 78 2e 63 68 69 6c 64 4e 6f 64 65 73 2e 6c 65 6e 67 74 68 3b 20 2b 2b | NavToolbox.childNodes.length;.++ |
453a0 | 69 29 20 7b 0a 20 20 20 20 76 61 72 20 74 6f 6f 6c 62 61 72 20 3d 20 67 4e 61 76 54 6f 6f 6c 62 | i).{.....var.toolbar.=.gNavToolb |
453c0 | 6f 78 2e 63 68 69 6c 64 4e 6f 64 65 73 5b 69 5d 3b 0a 20 20 20 20 76 61 72 20 74 6f 6f 6c 62 61 | ox.childNodes[i];.....var.toolba |
453e0 | 72 4e 61 6d 65 20 3d 20 74 6f 6f 6c 62 61 72 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 74 6f | rName.=.toolbar.getAttribute("to |
45400 | 6f 6c 62 61 72 6e 61 6d 65 22 29 3b 0a 20 20 20 20 76 61 72 20 74 79 70 65 20 3d 20 74 6f 6f 6c | olbarname");.....var.type.=.tool |
45420 | 62 61 72 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 74 79 70 65 22 29 3b 0a 20 20 20 20 69 66 | bar.getAttribute("type");.....if |
45440 | 20 28 74 6f 6f 6c 62 61 72 4e 61 6d 65 20 26 26 20 74 79 70 65 20 21 3d 20 22 6d 65 6e 75 62 61 | .(toolbarName.&&.type.!=."menuba |
45460 | 72 22 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 6d 65 6e 75 49 74 65 6d 20 3d 20 64 6f 63 75 6d | r").{.......var.menuItem.=.docum |
45480 | 65 6e 74 2e 63 72 65 61 74 65 45 6c 65 6d 65 6e 74 28 22 6d 65 6e 75 69 74 65 6d 22 29 3b 0a 20 | ent.createElement("menuitem");.. |
454a0 | 20 20 20 20 20 6d 65 6e 75 49 74 65 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 74 6f 6f 6c | .....menuItem.setAttribute("tool |
454c0 | 62 61 72 69 6e 64 65 78 22 2c 20 69 29 3b 0a 20 20 20 20 20 20 6d 65 6e 75 49 74 65 6d 2e 73 65 | barindex",.i);.......menuItem.se |
454e0 | 74 41 74 74 72 69 62 75 74 65 28 22 74 79 70 65 22 2c 20 22 63 68 65 63 6b 62 6f 78 22 29 3b 0a | tAttribute("type",."checkbox");. |
45500 | 20 20 20 20 20 20 6d 65 6e 75 49 74 65 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 6c 61 62 | ......menuItem.setAttribute("lab |
45520 | 65 6c 22 2c 20 74 6f 6f 6c 62 61 72 4e 61 6d 65 29 3b 0a 20 20 20 20 20 20 6d 65 6e 75 49 74 65 | el",.toolbarName);.......menuIte |
45540 | 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 61 63 63 65 73 73 6b 65 79 22 2c 20 74 6f 6f 6c | m.setAttribute("accesskey",.tool |
45560 | 62 61 72 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 61 63 63 65 73 73 6b 65 79 22 29 29 3b 0a | bar.getAttribute("accesskey"));. |
45580 | 20 20 20 20 20 20 6d 65 6e 75 49 74 65 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 63 68 65 | ......menuItem.setAttribute("che |
455a0 | 63 6b 65 64 22 2c 20 74 6f 6f 6c 62 61 72 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 63 6f 6c | cked",.toolbar.getAttribute("col |
455c0 | 6c 61 70 73 65 64 22 29 20 21 3d 20 22 74 72 75 65 22 29 3b 0a 20 20 20 20 20 20 70 6f 70 75 70 | lapsed").!=."true");.......popup |
455e0 | 2e 69 6e 73 65 72 74 42 65 66 6f 72 65 28 6d 65 6e 75 49 74 65 6d 2c 20 66 69 72 73 74 4d 65 6e | .insertBefore(menuItem,.firstMen |
45600 | 75 49 74 65 6d 29 3b 0a 0a 20 20 20 20 20 20 6d 65 6e 75 49 74 65 6d 2e 61 64 64 45 76 65 6e 74 | uItem);........menuItem.addEvent |
45620 | 4c 69 73 74 65 6e 65 72 28 22 63 6f 6d 6d 61 6e 64 22 2c 20 6f 6e 56 69 65 77 54 6f 6f 6c 62 61 | Listener("command",.onViewToolba |
45640 | 72 43 6f 6d 6d 61 6e 64 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 74 6f 6f 6c | rCommand,.false);.....}.....tool |
45660 | 62 61 72 20 3d 20 74 6f 6f 6c 62 61 72 2e 6e 65 78 74 53 69 62 6c 69 6e 67 3b 0a 20 20 7d 0a 7d | bar.=.toolbar.nextSibling;...}.} |
45680 | 0a 0a 66 75 6e 63 74 69 6f 6e 20 6f 6e 56 69 65 77 54 6f 6f 6c 62 61 72 43 6f 6d 6d 61 6e 64 28 | ..function.onViewToolbarCommand( |
456a0 | 61 45 76 65 6e 74 29 0a 7b 0a 20 20 76 61 72 20 69 6e 64 65 78 20 3d 20 61 45 76 65 6e 74 2e 6f | aEvent).{...var.index.=.aEvent.o |
456c0 | 72 69 67 69 6e 61 6c 54 61 72 67 65 74 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 74 6f 6f 6c | riginalTarget.getAttribute("tool |
456e0 | 62 61 72 69 6e 64 65 78 22 29 3b 0a 20 20 76 61 72 20 74 6f 6f 6c 62 61 72 20 3d 20 67 4e 61 76 | barindex");...var.toolbar.=.gNav |
45700 | 54 6f 6f 6c 62 6f 78 2e 63 68 69 6c 64 4e 6f 64 65 73 5b 69 6e 64 65 78 5d 3b 0a 0a 20 20 74 6f | Toolbox.childNodes[index];....to |
45720 | 6f 6c 62 61 72 2e 63 6f 6c 6c 61 70 73 65 64 20 3d 20 61 45 76 65 6e 74 2e 6f 72 69 67 69 6e 61 | olbar.collapsed.=.aEvent.origina |
45740 | 6c 54 61 72 67 65 74 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 63 68 65 63 6b 65 64 22 29 20 | lTarget.getAttribute("checked"). |
45760 | 21 3d 20 22 74 72 75 65 22 3b 0a 20 20 64 6f 63 75 6d 65 6e 74 2e 70 65 72 73 69 73 74 28 74 6f | !=."true";...document.persist(to |
45780 | 6f 6c 62 61 72 2e 69 64 2c 20 22 63 6f 6c 6c 61 70 73 65 64 22 29 3b 0a 7d 0a 0a 66 75 6e 63 74 | olbar.id,."collapsed");.}..funct |
457a0 | 69 6f 6e 20 64 69 73 70 6c 61 79 53 65 63 75 72 69 74 79 49 6e 66 6f 28 29 0a 7b 0a 20 20 42 72 | ion.displaySecurityInfo().{...Br |
457c0 | 6f 77 73 65 72 50 61 67 65 49 6e 66 6f 28 6e 75 6c 6c 2c 20 22 73 65 63 75 72 69 74 79 54 61 62 | owserPageInfo(null,."securityTab |
457e0 | 22 29 3b 0a 7d 0a 0a 2f 2a 2a 0a 20 2a 20 4f 70 65 6e 73 20 6f 72 20 63 6c 6f 73 65 73 20 74 68 | ");.}../**..*.Opens.or.closes.th |
45800 | 65 20 73 69 64 65 62 61 72 20 69 64 65 6e 74 69 66 69 65 64 20 62 79 20 63 6f 6d 6d 61 6e 64 49 | e.sidebar.identified.by.commandI |
45820 | 44 2e 0a 20 2a 0a 20 2a 20 40 70 61 72 61 6d 20 63 6f 6d 6d 61 6e 64 49 44 20 61 20 73 74 72 69 | D...*..*.@param.commandID.a.stri |
45840 | 6e 67 20 69 64 65 6e 74 69 66 79 69 6e 67 20 74 68 65 20 73 69 64 65 62 61 72 20 74 6f 20 74 6f | ng.identifying.the.sidebar.to.to |
45860 | 67 67 6c 65 3b 20 73 65 65 20 74 68 65 0a 20 2a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ggle;.see.the..*................ |
45880 | 20 20 6e 6f 74 65 20 62 65 6c 6f 77 2e 20 28 4f 70 74 69 6f 6e 61 6c 20 69 66 20 61 20 73 69 64 | ..note.below..(Optional.if.a.sid |
458a0 | 65 62 61 72 20 69 73 20 61 6c 72 65 61 64 79 20 6f 70 65 6e 2e 29 0a 20 2a 20 40 70 61 72 61 6d | ebar.is.already.open.)..*.@param |
458c0 | 20 66 6f 72 63 65 4f 70 65 6e 20 62 6f 6f 6c 65 61 6e 20 69 6e 64 69 63 61 74 69 6e 67 20 77 68 | .forceOpen.boolean.indicating.wh |
458e0 | 65 74 68 65 72 20 74 68 65 20 73 69 64 65 62 61 72 20 73 68 6f 75 6c 64 20 62 65 0a 20 2a 20 20 | ether.the.sidebar.should.be..*.. |
45900 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 70 65 6e 65 64 20 72 65 67 61 72 64 6c 65 73 | ................opened.regardles |
45920 | 73 20 6f 66 20 69 74 73 20 63 75 72 72 65 6e 74 20 73 74 61 74 65 20 28 6f 70 74 69 6f 6e 61 6c | s.of.its.current.state.(optional |
45940 | 29 2e 0a 20 2a 20 40 6e 6f 74 65 0a 20 2a 20 57 65 20 65 78 70 65 63 74 20 74 6f 20 66 69 6e 64 | )...*.@note..*.We.expect.to.find |
45960 | 20 61 20 78 75 6c 3a 62 72 6f 61 64 63 61 73 74 65 72 20 65 6c 65 6d 65 6e 74 20 77 69 74 68 20 | .a.xul:broadcaster.element.with. |
45980 | 74 68 65 20 73 70 65 63 69 66 69 65 64 20 49 44 2e 0a 20 2a 20 54 68 65 20 66 6f 6c 6c 6f 77 69 | the.specified.ID...*.The.followi |
459a0 | 6e 67 20 61 74 74 72 69 62 75 74 65 73 20 6f 6e 20 74 68 61 74 20 65 6c 65 6d 65 6e 74 20 6d 61 | ng.attributes.on.that.element.ma |
459c0 | 79 20 62 65 20 75 73 65 64 20 61 6e 64 2f 6f 72 20 6d 6f 64 69 66 69 65 64 3a 0a 20 2a 20 20 2d | y.be.used.and/or.modified:..*..- |
459e0 | 20 69 64 20 20 20 20 20 20 20 20 20 20 20 28 72 65 71 75 69 72 65 64 29 20 74 68 65 20 73 74 72 | .id...........(required).the.str |
45a00 | 69 6e 67 20 74 6f 20 6d 61 74 63 68 20 63 6f 6d 6d 61 6e 64 49 44 2e 20 54 68 65 20 63 6f 6e 76 | ing.to.match.commandID..The.conv |
45a20 | 65 6e 74 69 6f 6e 0a 20 2a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 73 20 74 6f 20 | ention..*.................is.to. |
45a40 | 75 73 65 20 74 68 69 73 20 6e 61 6d 69 6e 67 20 73 63 68 65 6d 65 3a 20 27 76 69 65 77 3c 73 69 | use.this.naming.scheme:.'view<si |
45a60 | 64 65 62 61 72 2d 6e 61 6d 65 3e 53 69 64 65 62 61 72 27 2e 0a 20 2a 20 20 2d 20 73 69 64 65 62 | debar-name>Sidebar'...*..-.sideb |
45a80 | 61 72 75 72 6c 20 20 20 28 72 65 71 75 69 72 65 64 29 20 73 70 65 63 69 66 69 65 73 20 74 68 65 | arurl...(required).specifies.the |
45aa0 | 20 55 52 4c 20 74 6f 20 6c 6f 61 64 20 69 6e 20 74 68 69 73 20 73 69 64 65 62 61 72 2e 0a 20 2a | .URL.to.load.in.this.sidebar...* |
45ac0 | 20 20 2d 20 73 69 64 65 62 61 72 74 69 74 6c 65 20 6f 72 20 6c 61 62 65 6c 20 28 69 6e 20 74 68 | ..-.sidebartitle.or.label.(in.th |
45ae0 | 61 74 20 6f 72 64 65 72 29 20 73 70 65 63 69 66 79 20 74 68 65 20 74 69 74 6c 65 20 74 6f 20 0a | at.order).specify.the.title.to.. |
45b00 | 20 2a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 69 73 70 6c 61 79 20 6f 6e 20 74 68 | .*.................display.on.th |
45b20 | 65 20 73 69 64 65 62 61 72 2e 0a 20 2a 20 20 2d 20 63 68 65 63 6b 65 64 20 20 20 20 20 20 69 6e | e.sidebar...*..-.checked......in |
45b40 | 64 69 63 61 74 65 73 20 77 68 65 74 68 65 72 20 74 68 65 20 73 69 64 65 62 61 72 20 69 73 20 63 | dicates.whether.the.sidebar.is.c |
45b60 | 75 72 72 65 6e 74 6c 79 20 64 69 73 70 6c 61 79 65 64 2e 0a 20 2a 20 20 20 20 20 20 20 20 20 20 | urrently.displayed...*.......... |
45b80 | 20 20 20 20 20 20 20 4e 6f 74 65 20 74 68 61 74 20 74 6f 67 67 6c 65 53 69 64 65 62 61 72 20 75 | .......Note.that.toggleSidebar.u |
45ba0 | 70 64 61 74 65 73 20 74 68 69 73 20 61 74 74 72 69 62 75 74 65 20 77 68 65 6e 0a 20 2a 20 20 20 | pdates.this.attribute.when..*... |
45bc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 74 20 63 68 61 6e 67 65 73 20 74 68 65 20 73 69 64 | ..............it.changes.the.sid |
45be0 | 65 62 61 72 27 73 20 76 69 73 69 62 69 6c 69 74 79 2e 0a 20 2a 20 20 2d 20 67 72 6f 75 70 20 20 | ebar's.visibility...*..-.group.. |
45c00 | 20 20 20 20 20 20 74 68 69 73 20 61 74 74 72 69 62 75 74 65 20 6d 75 73 74 20 62 65 20 73 65 74 | ......this.attribute.must.be.set |
45c20 | 20 74 6f 20 22 73 69 64 65 62 61 72 22 2e 0a 20 2a 2f 0a 66 75 6e 63 74 69 6f 6e 20 74 6f 67 67 | .to."sidebar"...*/.function.togg |
45c40 | 6c 65 53 69 64 65 62 61 72 28 63 6f 6d 6d 61 6e 64 49 44 2c 20 66 6f 72 63 65 4f 70 65 6e 29 20 | leSidebar(commandID,.forceOpen). |
45c60 | 7b 0a 0a 20 20 76 61 72 20 73 69 64 65 62 61 72 42 6f 78 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 | {....var.sidebarBox.=.document.g |
45c80 | 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 73 69 64 65 62 61 72 2d 62 6f 78 22 29 3b 0a 20 20 | etElementById("sidebar-box");... |
45ca0 | 69 66 20 28 21 63 6f 6d 6d 61 6e 64 49 44 29 0a 20 20 20 20 63 6f 6d 6d 61 6e 64 49 44 20 3d 20 | if.(!commandID).....commandID.=. |
45cc0 | 73 69 64 65 62 61 72 42 6f 78 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 73 69 64 65 62 61 72 | sidebarBox.getAttribute("sidebar |
45ce0 | 63 6f 6d 6d 61 6e 64 22 29 3b 0a 0a 20 20 76 61 72 20 73 69 64 65 62 61 72 42 72 6f 61 64 63 61 | command");....var.sidebarBroadca |
45d00 | 73 74 65 72 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 63 | ster.=.document.getElementById(c |
45d20 | 6f 6d 6d 61 6e 64 49 44 29 3b 0a 20 20 76 61 72 20 73 69 64 65 62 61 72 20 3d 20 64 6f 63 75 6d | ommandID);...var.sidebar.=.docum |
45d40 | 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 73 69 64 65 62 61 72 22 29 3b 20 2f | ent.getElementById("sidebar");./ |
45d60 | 2f 20 78 75 6c 3a 62 72 6f 77 73 65 72 0a 20 20 76 61 72 20 73 69 64 65 62 61 72 54 69 74 6c 65 | /.xul:browser...var.sidebarTitle |
45d80 | 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 73 69 64 65 | .=.document.getElementById("side |
45da0 | 62 61 72 2d 74 69 74 6c 65 22 29 3b 0a 20 20 76 61 72 20 73 69 64 65 62 61 72 53 70 6c 69 74 74 | bar-title");...var.sidebarSplitt |
45dc0 | 65 72 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 73 69 | er.=.document.getElementById("si |
45de0 | 64 65 62 61 72 2d 73 70 6c 69 74 74 65 72 22 29 3b 0a 0a 20 20 69 66 20 28 73 69 64 65 62 61 72 | debar-splitter");....if.(sidebar |
45e00 | 42 72 6f 61 64 63 61 73 74 65 72 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 63 68 65 63 6b 65 | Broadcaster.getAttribute("checke |
45e20 | 64 22 29 20 3d 3d 20 22 74 72 75 65 22 29 20 7b 0a 20 20 20 20 69 66 20 28 21 66 6f 72 63 65 4f | d").==."true").{.....if.(!forceO |
45e40 | 70 65 6e 29 20 7b 0a 20 20 20 20 20 20 73 69 64 65 62 61 72 42 72 6f 61 64 63 61 73 74 65 72 2e | pen).{.......sidebarBroadcaster. |
45e60 | 72 65 6d 6f 76 65 41 74 74 72 69 62 75 74 65 28 22 63 68 65 63 6b 65 64 22 29 3b 0a 20 20 20 20 | removeAttribute("checked");..... |
45e80 | 20 20 73 69 64 65 62 61 72 42 6f 78 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 73 69 64 65 62 | ..sidebarBox.setAttribute("sideb |
45ea0 | 61 72 63 6f 6d 6d 61 6e 64 22 2c 20 22 22 29 3b 0a 20 20 20 20 20 20 73 69 64 65 62 61 72 54 69 | arcommand",."");.......sidebarTi |
45ec0 | 74 6c 65 2e 76 61 6c 75 65 20 3d 20 22 22 3b 0a 20 20 20 20 20 20 73 69 64 65 62 61 72 2e 73 65 | tle.value.=."";.......sidebar.se |
45ee0 | 74 41 74 74 72 69 62 75 74 65 28 22 73 72 63 22 2c 20 22 61 62 6f 75 74 3a 62 6c 61 6e 6b 22 29 | tAttribute("src",."about:blank") |
45f00 | 3b 0a 20 20 20 20 20 20 73 69 64 65 62 61 72 42 6f 78 2e 68 69 64 64 65 6e 20 3d 20 74 72 75 65 | ;.......sidebarBox.hidden.=.true |
45f20 | 3b 0a 20 20 20 20 20 20 73 69 64 65 62 61 72 53 70 6c 69 74 74 65 72 2e 68 69 64 64 65 6e 20 3d | ;.......sidebarSplitter.hidden.= |
45f40 | 20 74 72 75 65 3b 0a 20 20 20 20 20 20 63 6f 6e 74 65 6e 74 2e 66 6f 63 75 73 28 29 3b 0a 20 20 | .true;.......content.focus();... |
45f60 | 20 20 7d 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 66 69 72 65 53 69 64 65 62 61 72 46 6f 63 75 | ..}.else.{.......fireSidebarFocu |
45f80 | 73 65 64 45 76 65 6e 74 28 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 | sedEvent();.....}.....return;... |
45fa0 | 7d 0a 0a 20 20 2f 2f 20 6e 6f 77 20 77 65 20 6e 65 65 64 20 74 6f 20 73 68 6f 77 20 74 68 65 20 | }....//.now.we.need.to.show.the. |
45fc0 | 73 70 65 63 69 66 69 65 64 20 73 69 64 65 62 61 72 0a 0a 20 20 2f 2f 20 2e 2e 62 75 74 20 66 69 | specified.sidebar....//...but.fi |
45fe0 | 72 73 74 20 75 70 64 61 74 65 20 74 68 65 20 27 63 68 65 63 6b 65 64 27 20 73 74 61 74 65 20 6f | rst.update.the.'checked'.state.o |
46000 | 66 20 61 6c 6c 20 73 69 64 65 62 61 72 20 62 72 6f 61 64 63 61 73 74 65 72 73 0a 20 20 76 61 72 | f.all.sidebar.broadcasters...var |
46020 | 20 62 72 6f 61 64 63 61 73 74 65 72 73 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d | .broadcasters.=.document.getElem |
46040 | 65 6e 74 73 42 79 41 74 74 72 69 62 75 74 65 28 22 67 72 6f 75 70 22 2c 20 22 73 69 64 65 62 61 | entsByAttribute("group",."sideba |
46060 | 72 22 29 3b 0a 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 62 72 6f 61 64 | r");...for.(var.i.=.0;.i.<.broad |
46080 | 63 61 73 74 65 72 73 2e 6c 65 6e 67 74 68 3b 20 2b 2b 69 29 20 7b 0a 20 20 20 20 2f 2f 20 73 6b | casters.length;.++i).{.....//.sk |
460a0 | 69 70 20 65 6c 65 6d 65 6e 74 73 20 74 68 61 74 20 6f 62 73 65 72 76 65 20 73 69 64 65 62 61 72 | ip.elements.that.observe.sidebar |
460c0 | 20 62 72 6f 61 64 63 61 73 74 65 72 73 20 61 6e 64 20 72 61 6e 64 6f 6d 0a 20 20 20 20 2f 2f 20 | .broadcasters.and.random.....//. |
460e0 | 6f 74 68 65 72 20 65 6c 65 6d 65 6e 74 73 0a 20 20 20 20 69 66 20 28 62 72 6f 61 64 63 61 73 74 | other.elements.....if.(broadcast |
46100 | 65 72 73 5b 69 5d 2e 6c 6f 63 61 6c 4e 61 6d 65 20 21 3d 20 22 62 72 6f 61 64 63 61 73 74 65 72 | ers[i].localName.!=."broadcaster |
46120 | 22 29 0a 20 20 20 20 20 20 63 6f 6e 74 69 6e 75 65 3b 0a 0a 20 20 20 20 69 66 20 28 62 72 6f 61 | ").......continue;......if.(broa |
46140 | 64 63 61 73 74 65 72 73 5b 69 5d 20 21 3d 20 73 69 64 65 62 61 72 42 72 6f 61 64 63 61 73 74 65 | dcasters[i].!=.sidebarBroadcaste |
46160 | 72 29 0a 20 20 20 20 20 20 62 72 6f 61 64 63 61 73 74 65 72 73 5b 69 5d 2e 72 65 6d 6f 76 65 41 | r).......broadcasters[i].removeA |
46180 | 74 74 72 69 62 75 74 65 28 22 63 68 65 63 6b 65 64 22 29 3b 0a 20 20 20 20 65 6c 73 65 0a 20 20 | ttribute("checked");.....else... |
461a0 | 20 20 20 20 73 69 64 65 62 61 72 42 72 6f 61 64 63 61 73 74 65 72 2e 73 65 74 41 74 74 72 69 62 | ....sidebarBroadcaster.setAttrib |
461c0 | 75 74 65 28 22 63 68 65 63 6b 65 64 22 2c 20 22 74 72 75 65 22 29 3b 0a 20 20 7d 0a 0a 20 20 73 | ute("checked",."true");...}....s |
461e0 | 69 64 65 62 61 72 42 6f 78 2e 68 69 64 64 65 6e 20 3d 20 66 61 6c 73 65 3b 0a 20 20 73 69 64 65 | idebarBox.hidden.=.false;...side |
46200 | 62 61 72 53 70 6c 69 74 74 65 72 2e 68 69 64 64 65 6e 20 3d 20 66 61 6c 73 65 3b 0a 0a 20 20 76 | barSplitter.hidden.=.false;....v |
46220 | 61 72 20 75 72 6c 20 3d 20 73 69 64 65 62 61 72 42 72 6f 61 64 63 61 73 74 65 72 2e 67 65 74 41 | ar.url.=.sidebarBroadcaster.getA |
46240 | 74 74 72 69 62 75 74 65 28 22 73 69 64 65 62 61 72 75 72 6c 22 29 3b 0a 20 20 76 61 72 20 74 69 | ttribute("sidebarurl");...var.ti |
46260 | 74 6c 65 20 3d 20 73 69 64 65 62 61 72 42 72 6f 61 64 63 61 73 74 65 72 2e 67 65 74 41 74 74 72 | tle.=.sidebarBroadcaster.getAttr |
46280 | 69 62 75 74 65 28 22 73 69 64 65 62 61 72 74 69 74 6c 65 22 29 3b 0a 20 20 69 66 20 28 21 74 69 | ibute("sidebartitle");...if.(!ti |
462a0 | 74 6c 65 29 0a 20 20 20 20 74 69 74 6c 65 20 3d 20 73 69 64 65 62 61 72 42 72 6f 61 64 63 61 73 | tle).....title.=.sidebarBroadcas |
462c0 | 74 65 72 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 6c 61 62 65 6c 22 29 3b 0a 20 20 73 69 64 | ter.getAttribute("label");...sid |
462e0 | 65 62 61 72 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 73 72 63 22 2c 20 75 72 6c 29 3b 20 2f | ebar.setAttribute("src",.url);./ |
46300 | 2f 20 6b 69 63 6b 20 6f 66 66 20 61 73 79 6e 63 20 6c 6f 61 64 0a 20 20 73 69 64 65 62 61 72 42 | /.kick.off.async.load...sidebarB |
46320 | 6f 78 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 73 69 64 65 62 61 72 63 6f 6d 6d 61 6e 64 22 | ox.setAttribute("sidebarcommand" |
46340 | 2c 20 73 69 64 65 62 61 72 42 72 6f 61 64 63 61 73 74 65 72 2e 69 64 29 3b 0a 20 20 73 69 64 65 | ,.sidebarBroadcaster.id);...side |
46360 | 62 61 72 54 69 74 6c 65 2e 76 61 6c 75 65 20 3d 20 74 69 74 6c 65 3b 0a 0a 20 20 2f 2f 20 57 65 | barTitle.value.=.title;....//.We |
46380 | 20 73 65 74 20 74 68 69 73 20 61 74 74 72 69 62 75 74 65 20 68 65 72 65 20 69 6e 20 61 64 64 69 | .set.this.attribute.here.in.addi |
463a0 | 74 69 6f 6e 20 74 6f 20 73 65 74 74 69 6e 67 20 69 74 20 6f 6e 20 74 68 65 20 3c 62 72 6f 77 73 | tion.to.setting.it.on.the.<brows |
463c0 | 65 72 3e 0a 20 20 2f 2f 20 65 6c 65 6d 65 6e 74 20 69 74 73 65 6c 66 2c 20 62 65 63 61 75 73 65 | er>...//.element.itself,.because |
463e0 | 20 74 68 65 20 63 6f 64 65 20 69 6e 20 42 72 6f 77 73 65 72 53 68 75 74 64 6f 77 6e 20 70 65 72 | .the.code.in.BrowserShutdown.per |
46400 | 73 69 73 74 73 20 74 68 69 73 0a 20 20 2f 2f 20 61 74 74 72 69 62 75 74 65 2c 20 6e 6f 74 20 74 | sists.this...//.attribute,.not.t |
46420 | 68 65 20 22 73 72 63 22 20 6f 66 20 74 68 65 20 3c 62 72 6f 77 73 65 72 20 69 64 3d 22 73 69 64 | he."src".of.the.<browser.id="sid |
46440 | 65 62 61 72 22 3e 2e 20 54 68 65 20 72 65 61 73 6f 6e 20 69 74 0a 20 20 2f 2f 20 64 6f 65 73 20 | ebar">..The.reason.it...//.does. |
46460 | 74 68 61 74 20 69 73 20 74 68 61 74 20 77 65 20 77 61 6e 74 20 74 6f 20 64 65 6c 61 79 20 73 69 | that.is.that.we.want.to.delay.si |
46480 | 64 65 62 61 72 20 6c 6f 61 64 20 61 20 62 69 74 20 77 68 65 6e 20 61 20 62 72 6f 77 73 65 72 0a | debar.load.a.bit.when.a.browser. |
464a0 | 20 20 2f 2f 20 77 69 6e 64 6f 77 20 6f 70 65 6e 73 2e 20 53 65 65 20 64 65 6c 61 79 65 64 53 74 | ..//.window.opens..See.delayedSt |
464c0 | 61 72 74 75 70 28 29 2e 0a 20 20 73 69 64 65 62 61 72 42 6f 78 2e 73 65 74 41 74 74 72 69 62 75 | artup()....sidebarBox.setAttribu |
464e0 | 74 65 28 22 73 72 63 22 2c 20 75 72 6c 29 3b 0a 0a 20 20 69 66 20 28 73 69 64 65 62 61 72 2e 63 | te("src",.url);....if.(sidebar.c |
46500 | 6f 6e 74 65 6e 74 44 6f 63 75 6d 65 6e 74 2e 6c 6f 63 61 74 69 6f 6e 2e 68 72 65 66 20 21 3d 20 | ontentDocument.location.href.!=. |
46520 | 75 72 6c 29 0a 20 20 20 20 73 69 64 65 62 61 72 2e 61 64 64 45 76 65 6e 74 4c 69 73 74 65 6e 65 | url).....sidebar.addEventListene |
46540 | 72 28 22 6c 6f 61 64 22 2c 20 73 69 64 65 62 61 72 4f 6e 4c 6f 61 64 2c 20 74 72 75 65 29 3b 0a | r("load",.sidebarOnLoad,.true);. |
46560 | 20 20 65 6c 73 65 20 2f 2f 20 6f 6c 64 65 72 20 63 6f 64 65 20 68 61 6e 64 6c 65 64 20 74 68 69 | ..else.//.older.code.handled.thi |
46580 | 73 20 63 61 73 65 2c 20 73 6f 20 77 65 20 64 6f 20 69 74 20 74 6f 6f 0a 20 20 20 20 66 69 72 65 | s.case,.so.we.do.it.too.....fire |
465a0 | 53 69 64 65 62 61 72 46 6f 63 75 73 65 64 45 76 65 6e 74 28 29 3b 0a 7d 0a 0a 66 75 6e 63 74 69 | SidebarFocusedEvent();.}..functi |
465c0 | 6f 6e 20 73 69 64 65 62 61 72 4f 6e 4c 6f 61 64 28 65 76 65 6e 74 29 20 7b 0a 20 20 76 61 72 20 | on.sidebarOnLoad(event).{...var. |
465e0 | 73 69 64 65 62 61 72 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 | sidebar.=.document.getElementByI |
46600 | 64 28 22 73 69 64 65 62 61 72 22 29 3b 0a 20 20 73 69 64 65 62 61 72 2e 72 65 6d 6f 76 65 45 76 | d("sidebar");...sidebar.removeEv |
46620 | 65 6e 74 4c 69 73 74 65 6e 65 72 28 22 6c 6f 61 64 22 2c 20 73 69 64 65 62 61 72 4f 6e 4c 6f 61 | entListener("load",.sidebarOnLoa |
46640 | 64 2c 20 74 72 75 65 29 3b 0a 20 20 2f 2f 20 57 65 27 72 65 20 68 61 6e 64 6c 69 6e 67 20 74 68 | d,.true);...//.We're.handling.th |
46660 | 65 20 27 6c 6f 61 64 27 20 65 76 65 6e 74 20 62 65 66 6f 72 65 20 69 74 20 62 75 62 62 6c 65 73 | e.'load'.event.before.it.bubbles |
46680 | 20 75 70 20 74 6f 20 74 68 65 20 75 73 75 61 6c 0a 20 20 2f 2f 20 28 6e 6f 6e 2d 63 61 70 74 75 | .up.to.the.usual...//.(non-captu |
466a0 | 72 69 6e 67 29 20 65 76 65 6e 74 20 68 61 6e 64 6c 65 72 73 2e 20 4c 65 74 20 69 74 20 62 75 62 | ring).event.handlers..Let.it.bub |
466c0 | 62 6c 65 20 75 70 20 62 65 66 6f 72 65 20 66 69 72 69 6e 67 20 74 68 65 0a 20 20 2f 2f 20 53 69 | ble.up.before.firing.the...//.Si |
466e0 | 64 65 62 61 72 46 6f 63 75 73 65 64 20 65 76 65 6e 74 2e 0a 20 20 73 65 74 54 69 6d 65 6f 75 74 | debarFocused.event....setTimeout |
46700 | 28 66 69 72 65 53 69 64 65 62 61 72 46 6f 63 75 73 65 64 45 76 65 6e 74 2c 20 30 29 3b 0a 7d 0a | (fireSidebarFocusedEvent,.0);.}. |
46720 | 0a 2f 2a 2a 0a 20 2a 20 46 69 72 65 20 61 20 22 53 69 64 65 62 61 72 46 6f 63 75 73 65 64 22 20 | ./**..*.Fire.a."SidebarFocused". |
46740 | 65 76 65 6e 74 20 6f 6e 20 74 68 65 20 73 69 64 65 62 61 72 27 73 20 7c 77 69 6e 64 6f 77 7c 20 | event.on.the.sidebar's.|window|. |
46760 | 74 6f 20 67 69 76 65 20 74 68 65 20 73 69 64 65 62 61 72 0a 20 2a 20 61 20 63 68 61 6e 63 65 20 | to.give.the.sidebar..*.a.chance. |
46780 | 74 6f 20 61 64 6a 75 73 74 20 66 6f 63 75 73 20 61 73 20 6e 65 65 64 65 64 2e 20 41 6e 20 61 64 | to.adjust.focus.as.needed..An.ad |
467a0 | 64 69 74 69 6f 6e 61 6c 20 65 76 65 6e 74 20 69 73 20 6e 65 65 64 65 64 2c 20 62 65 63 61 75 73 | ditional.event.is.needed,.becaus |
467c0 | 65 0a 20 2a 20 77 65 20 64 6f 6e 27 74 20 77 61 6e 74 20 74 6f 20 66 6f 63 75 73 20 74 68 65 20 | e..*.we.don't.want.to.focus.the. |
467e0 | 73 69 64 65 62 61 72 20 77 68 65 6e 20 69 74 27 73 20 6f 70 65 6e 65 64 20 6f 6e 20 73 74 61 72 | sidebar.when.it's.opened.on.star |
46800 | 74 75 70 20 6f 72 20 69 6e 20 61 20 6e 65 77 0a 20 2a 20 77 69 6e 64 6f 77 2c 20 6f 6e 6c 79 20 | tup.or.in.a.new..*.window,.only. |
46820 | 77 68 65 6e 20 74 68 65 20 75 73 65 72 20 6f 70 65 6e 73 20 74 68 65 20 73 69 64 65 62 61 72 2e | when.the.user.opens.the.sidebar. |
46840 | 0a 20 2a 2f 0a 66 75 6e 63 74 69 6f 6e 20 66 69 72 65 53 69 64 65 62 61 72 46 6f 63 75 73 65 64 | ..*/.function.fireSidebarFocused |
46860 | 45 76 65 6e 74 28 29 20 7b 0a 20 20 76 61 72 20 73 69 64 65 62 61 72 20 3d 20 64 6f 63 75 6d 65 | Event().{...var.sidebar.=.docume |
46880 | 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 73 69 64 65 62 61 72 22 29 3b 0a 20 20 | nt.getElementById("sidebar");... |
468a0 | 76 61 72 20 65 76 65 6e 74 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 63 72 65 61 74 65 45 76 65 6e 74 | var.event.=.document.createEvent |
468c0 | 28 22 45 76 65 6e 74 73 22 29 3b 0a 20 20 65 76 65 6e 74 2e 69 6e 69 74 45 76 65 6e 74 28 22 53 | ("Events");...event.initEvent("S |
468e0 | 69 64 65 62 61 72 46 6f 63 75 73 65 64 22 2c 20 74 72 75 65 2c 20 66 61 6c 73 65 29 3b 0a 20 20 | idebarFocused",.true,.false);... |
46900 | 73 69 64 65 62 61 72 2e 63 6f 6e 74 65 6e 74 57 69 6e 64 6f 77 2e 64 69 73 70 61 74 63 68 45 76 | sidebar.contentWindow.dispatchEv |
46920 | 65 6e 74 28 65 76 65 6e 74 29 3b 0a 7d 0a 0a 76 61 72 20 67 48 6f 6d 65 42 75 74 74 6f 6e 20 3d | ent(event);.}..var.gHomeButton.= |
46940 | 20 7b 0a 20 20 70 72 65 66 44 6f 6d 61 69 6e 3a 20 22 62 72 6f 77 73 65 72 2e 73 74 61 72 74 75 | .{...prefDomain:."browser.startu |
46960 | 70 2e 68 6f 6d 65 70 61 67 65 22 2c 0a 20 20 6f 62 73 65 72 76 65 3a 20 66 75 6e 63 74 69 6f 6e | p.homepage",...observe:.function |
46980 | 20 28 61 53 75 62 6a 65 63 74 2c 20 61 54 6f 70 69 63 2c 20 61 50 72 65 66 4e 61 6d 65 29 0a 20 | .(aSubject,.aTopic,.aPrefName).. |
469a0 | 20 7b 0a 20 20 20 20 69 66 20 28 61 54 6f 70 69 63 20 21 3d 20 22 6e 73 50 72 65 66 3a 63 68 61 | .{.....if.(aTopic.!=."nsPref:cha |
469c0 | 6e 67 65 64 22 20 7c 7c 20 61 50 72 65 66 4e 61 6d 65 20 21 3d 20 74 68 69 73 2e 70 72 65 66 44 | nged".||.aPrefName.!=.this.prefD |
469e0 | 6f 6d 61 69 6e 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 20 20 74 68 69 73 2e 75 | omain).......return;......this.u |
46a00 | 70 64 61 74 65 54 6f 6f 6c 74 69 70 28 29 3b 0a 20 20 7d 2c 0a 0a 20 20 75 70 64 61 74 65 54 6f | pdateTooltip();...},....updateTo |
46a20 | 6f 6c 74 69 70 3a 20 66 75 6e 63 74 69 6f 6e 20 28 68 6f 6d 65 42 75 74 74 6f 6e 29 0a 20 20 7b | oltip:.function.(homeButton)...{ |
46a40 | 0a 20 20 20 20 69 66 20 28 21 68 6f 6d 65 42 75 74 74 6f 6e 29 0a 20 20 20 20 20 20 68 6f 6d 65 | .....if.(!homeButton).......home |
46a60 | 42 75 74 74 6f 6e 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 | Button.=.document.getElementById |
46a80 | 28 22 68 6f 6d 65 2d 62 75 74 74 6f 6e 22 29 3b 0a 20 20 20 20 69 66 20 28 68 6f 6d 65 42 75 74 | ("home-button");.....if.(homeBut |
46aa0 | 74 6f 6e 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 68 6f 6d 65 50 61 67 65 20 3d 20 74 68 69 73 | ton).{.......var.homePage.=.this |
46ac0 | 2e 67 65 74 48 6f 6d 65 50 61 67 65 28 29 3b 0a 20 20 20 20 20 20 68 6f 6d 65 50 61 67 65 20 3d | .getHomePage();.......homePage.= |
46ae0 | 20 68 6f 6d 65 50 61 67 65 2e 72 65 70 6c 61 63 65 28 2f 5c 7c 2f 67 2c 27 2c 20 27 29 3b 0a 20 | .homePage.replace(/\|/g,',.');.. |
46b00 | 20 20 20 20 20 68 6f 6d 65 42 75 74 74 6f 6e 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 74 6f | .....homeButton.setAttribute("to |
46b20 | 6f 6c 74 69 70 74 65 78 74 22 2c 20 68 6f 6d 65 50 61 67 65 29 3b 0a 20 20 20 20 7d 0a 20 20 7d | oltiptext",.homePage);.....}...} |
46b40 | 2c 0a 0a 20 20 67 65 74 48 6f 6d 65 50 61 67 65 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 | ,....getHomePage:.function.()... |
46b60 | 7b 0a 20 20 20 20 76 61 72 20 75 72 6c 3b 0a 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 75 | {.....var.url;.....try.{.......u |
46b80 | 72 6c 20 3d 20 67 50 72 65 66 53 65 72 76 69 63 65 2e 67 65 74 43 6f 6d 70 6c 65 78 56 61 6c 75 | rl.=.gPrefService.getComplexValu |
46ba0 | 65 28 74 68 69 73 2e 70 72 65 66 44 6f 6d 61 69 6e 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | e(this.prefDomain,.............. |
46bc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e | ...................Components.in |
46be0 | 74 65 72 66 61 63 65 73 2e 6e 73 49 50 72 65 66 4c 6f 63 61 6c 69 7a 65 64 53 74 72 69 6e 67 29 | terfaces.nsIPrefLocalizedString) |
46c00 | 2e 64 61 74 61 3b 0a 20 20 20 20 7d 20 63 61 74 63 68 20 28 65 29 20 7b 0a 20 20 20 20 7d 0a 0a | .data;.....}.catch.(e).{.....}.. |
46c20 | 20 20 20 20 2f 2f 20 75 73 65 20 74 68 69 73 20 69 66 20 77 65 20 63 61 6e 27 74 20 66 69 6e 64 | ....//.use.this.if.we.can't.find |
46c40 | 20 74 68 65 20 70 72 65 66 0a 20 20 20 20 69 66 20 28 21 75 72 6c 29 20 7b 0a 20 20 20 20 20 20 | .the.pref.....if.(!url).{....... |
46c60 | 76 61 72 20 53 42 53 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 69 6e 74 6c 2f | var.SBS.=.Cc["@mozilla.org/intl/ |
46c80 | 73 74 72 69 6e 67 62 75 6e 64 6c 65 3b 31 22 5d 2e 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e | stringbundle;1"].getService(Ci.n |
46ca0 | 73 49 53 74 72 69 6e 67 42 75 6e 64 6c 65 53 65 72 76 69 63 65 29 3b 0a 20 20 20 20 20 20 76 61 | sIStringBundleService);.......va |
46cc0 | 72 20 63 6f 6e 66 69 67 42 75 6e 64 6c 65 20 3d 20 53 42 53 2e 63 72 65 61 74 65 42 75 6e 64 6c | r.configBundle.=.SBS.createBundl |
46ce0 | 65 28 22 72 65 73 6f 75 72 63 65 3a 2f 62 72 6f 77 73 65 72 63 6f 6e 66 69 67 2e 70 72 6f 70 65 | e("resource:/browserconfig.prope |
46d00 | 72 74 69 65 73 22 29 3b 0a 20 20 20 20 20 20 75 72 6c 20 3d 20 63 6f 6e 66 69 67 42 75 6e 64 6c | rties");.......url.=.configBundl |
46d20 | 65 2e 47 65 74 53 74 72 69 6e 67 46 72 6f 6d 4e 61 6d 65 28 74 68 69 73 2e 70 72 65 66 44 6f 6d | e.GetStringFromName(this.prefDom |
46d40 | 61 69 6e 29 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 72 65 74 75 72 6e 20 75 72 6c 3b 0a 20 20 7d | ain);.....}......return.url;...} |
46d60 | 2c 0a 0a 20 20 75 70 64 61 74 65 50 65 72 73 6f 6e 61 6c 54 6f 6f 6c 62 61 72 53 74 79 6c 65 3a | ,....updatePersonalToolbarStyle: |
46d80 | 20 66 75 6e 63 74 69 6f 6e 20 28 68 6f 6d 65 42 75 74 74 6f 6e 29 0a 20 20 7b 0a 20 20 20 20 69 | .function.(homeButton)...{.....i |
46da0 | 66 20 28 21 68 6f 6d 65 42 75 74 74 6f 6e 29 0a 20 20 20 20 20 20 68 6f 6d 65 42 75 74 74 6f 6e | f.(!homeButton).......homeButton |
46dc0 | 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 68 6f 6d 65 | .=.document.getElementById("home |
46de0 | 2d 62 75 74 74 6f 6e 22 29 3b 0a 20 20 20 20 69 66 20 28 68 6f 6d 65 42 75 74 74 6f 6e 29 0a 20 | -button");.....if.(homeButton).. |
46e00 | 20 20 20 20 20 68 6f 6d 65 42 75 74 74 6f 6e 2e 63 6c 61 73 73 4e 61 6d 65 20 3d 20 68 6f 6d 65 | .....homeButton.className.=.home |
46e20 | 42 75 74 74 6f 6e 2e 70 61 72 65 6e 74 4e 6f 64 65 2e 69 64 20 3d 3d 20 22 50 65 72 73 6f 6e 61 | Button.parentNode.id.==."Persona |
46e40 | 6c 54 6f 6f 6c 62 61 72 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | lToolbar"....................... |
46e60 | 20 20 20 20 20 20 20 20 20 7c 7c 20 68 6f 6d 65 42 75 74 74 6f 6e 2e 70 61 72 65 6e 74 4e 6f 64 | .........||.homeButton.parentNod |
46e80 | 65 2e 70 61 72 65 6e 74 4e 6f 64 65 2e 69 64 20 3d 3d 20 22 50 65 72 73 6f 6e 61 6c 54 6f 6f 6c | e.parentNode.id.==."PersonalTool |
46ea0 | 62 61 72 22 20 3f 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | bar".?.......................... |
46ec0 | 20 20 20 20 68 6f 6d 65 42 75 74 74 6f 6e 2e 63 6c 61 73 73 4e 61 6d 65 2e 72 65 70 6c 61 63 65 | ....homeButton.className.replace |
46ee0 | 28 22 74 6f 6f 6c 62 61 72 62 75 74 74 6f 6e 2d 31 22 2c 20 22 62 6f 6f 6b 6d 61 72 6b 2d 69 74 | ("toolbarbutton-1",."bookmark-it |
46f00 | 65 6d 22 29 20 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | em").:.......................... |
46f20 | 20 20 20 20 68 6f 6d 65 42 75 74 74 6f 6e 2e 63 6c 61 73 73 4e 61 6d 65 2e 72 65 70 6c 61 63 65 | ....homeButton.className.replace |
46f40 | 28 22 62 6f 6f 6b 6d 61 72 6b 2d 69 74 65 6d 22 2c 20 22 74 6f 6f 6c 62 61 72 62 75 74 74 6f 6e | ("bookmark-item",."toolbarbutton |
46f60 | 2d 31 22 29 3b 0a 20 20 7d 0a 7d 3b 0a 0a 2f 2a 2a 0a 20 2a 20 47 65 74 73 20 74 68 65 20 73 65 | -1");...}.};../**..*.Gets.the.se |
46f80 | 6c 65 63 74 65 64 20 74 65 78 74 20 69 6e 20 74 68 65 20 61 63 74 69 76 65 20 62 72 6f 77 73 65 | lected.text.in.the.active.browse |
46fa0 | 72 2e 20 4c 65 61 64 69 6e 67 20 61 6e 64 20 74 72 61 69 6c 69 6e 67 0a 20 2a 20 77 68 69 74 65 | r..Leading.and.trailing..*.white |
46fc0 | 73 70 61 63 65 20 69 73 20 72 65 6d 6f 76 65 64 2c 20 61 6e 64 20 63 6f 6e 73 65 63 75 74 69 76 | space.is.removed,.and.consecutiv |
46fe0 | 65 20 77 68 69 74 65 73 70 61 63 65 20 69 73 20 72 65 70 6c 61 63 65 64 20 62 79 20 61 20 73 69 | e.whitespace.is.replaced.by.a.si |
47000 | 6e 67 6c 65 0a 20 2a 20 73 70 61 63 65 2e 20 41 20 6d 61 78 69 6d 75 6d 20 6f 66 20 31 35 30 20 | ngle..*.space..A.maximum.of.150. |
47020 | 63 68 61 72 61 63 74 65 72 73 20 77 69 6c 6c 20 62 65 20 72 65 74 75 72 6e 65 64 2c 20 72 65 67 | characters.will.be.returned,.reg |
47040 | 61 72 64 6c 65 73 73 20 6f 66 20 74 68 65 20 76 61 6c 75 65 0a 20 2a 20 6f 66 20 61 43 68 61 72 | ardless.of.the.value..*.of.aChar |
47060 | 4c 65 6e 2e 0a 20 2a 0a 20 2a 20 40 70 61 72 61 6d 20 61 43 68 61 72 4c 65 6e 0a 20 2a 20 20 20 | Len...*..*.@param.aCharLen..*... |
47080 | 20 20 20 20 20 54 68 65 20 6d 61 78 69 6d 75 6d 20 6e 75 6d 62 65 72 20 6f 66 20 63 68 61 72 61 | .....The.maximum.number.of.chara |
470a0 | 63 74 65 72 73 20 74 6f 20 72 65 74 75 72 6e 2e 0a 20 2a 2f 0a 66 75 6e 63 74 69 6f 6e 20 67 65 | cters.to.return...*/.function.ge |
470c0 | 74 42 72 6f 77 73 65 72 53 65 6c 65 63 74 69 6f 6e 28 61 43 68 61 72 4c 65 6e 29 20 7b 0a 20 20 | tBrowserSelection(aCharLen).{... |
470e0 | 2f 2f 20 73 65 6c 65 63 74 69 6f 6e 73 20 6f 66 20 6d 6f 72 65 20 74 68 61 6e 20 31 35 30 20 63 | //.selections.of.more.than.150.c |
47100 | 68 61 72 61 63 74 65 72 73 20 61 72 65 6e 27 74 20 75 73 65 66 75 6c 0a 20 20 63 6f 6e 73 74 20 | haracters.aren't.useful...const. |
47120 | 6b 4d 61 78 53 65 6c 65 63 74 69 6f 6e 4c 65 6e 20 3d 20 31 35 30 3b 0a 20 20 63 6f 6e 73 74 20 | kMaxSelectionLen.=.150;...const. |
47140 | 63 68 61 72 4c 65 6e 20 3d 20 4d 61 74 68 2e 6d 69 6e 28 61 43 68 61 72 4c 65 6e 20 7c 7c 20 6b | charLen.=.Math.min(aCharLen.||.k |
47160 | 4d 61 78 53 65 6c 65 63 74 69 6f 6e 4c 65 6e 2c 20 6b 4d 61 78 53 65 6c 65 63 74 69 6f 6e 4c 65 | MaxSelectionLen,.kMaxSelectionLe |
47180 | 6e 29 3b 0a 0a 20 20 76 61 72 20 66 6f 63 75 73 65 64 57 69 6e 64 6f 77 20 3d 20 64 6f 63 75 6d | n);....var.focusedWindow.=.docum |
471a0 | 65 6e 74 2e 63 6f 6d 6d 61 6e 64 44 69 73 70 61 74 63 68 65 72 2e 66 6f 63 75 73 65 64 57 69 6e | ent.commandDispatcher.focusedWin |
471c0 | 64 6f 77 3b 0a 20 20 76 61 72 20 73 65 6c 65 63 74 69 6f 6e 20 3d 20 66 6f 63 75 73 65 64 57 69 | dow;...var.selection.=.focusedWi |
471e0 | 6e 64 6f 77 2e 67 65 74 53 65 6c 65 63 74 69 6f 6e 28 29 2e 74 6f 53 74 72 69 6e 67 28 29 3b 0a | ndow.getSelection().toString();. |
47200 | 0a 20 20 69 66 20 28 73 65 6c 65 63 74 69 6f 6e 29 20 7b 0a 20 20 20 20 69 66 20 28 73 65 6c 65 | ...if.(selection).{.....if.(sele |
47220 | 63 74 69 6f 6e 2e 6c 65 6e 67 74 68 20 3e 20 63 68 61 72 4c 65 6e 29 20 7b 0a 20 20 20 20 20 20 | ction.length.>.charLen).{....... |
47240 | 2f 2f 20 6f 6e 6c 79 20 75 73 65 20 74 68 65 20 66 69 72 73 74 20 63 68 61 72 4c 65 6e 20 69 6d | //.only.use.the.first.charLen.im |
47260 | 70 6f 72 74 61 6e 74 20 63 68 61 72 73 2e 20 73 65 65 20 62 75 67 20 32 32 31 33 36 31 0a 20 20 | portant.chars..see.bug.221361... |
47280 | 20 20 20 20 76 61 72 20 70 61 74 74 65 72 6e 20 3d 20 6e 65 77 20 52 65 67 45 78 70 28 22 5e 28 | ....var.pattern.=.new.RegExp("^( |
472a0 | 3f 3a 5c 5c 73 2a 2e 29 7b 30 2c 22 20 2b 20 63 68 61 72 4c 65 6e 20 2b 20 22 7d 22 29 3b 0a 20 | ?:\\s*.){0,".+.charLen.+."}");.. |
472c0 | 20 20 20 20 20 70 61 74 74 65 72 6e 2e 74 65 73 74 28 73 65 6c 65 63 74 69 6f 6e 29 3b 0a 20 20 | .....pattern.test(selection);... |
472e0 | 20 20 20 20 73 65 6c 65 63 74 69 6f 6e 20 3d 20 52 65 67 45 78 70 2e 6c 61 73 74 4d 61 74 63 68 | ....selection.=.RegExp.lastMatch |
47300 | 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 73 65 6c 65 63 74 69 6f 6e 20 3d 20 73 65 6c 65 63 74 69 | ;.....}......selection.=.selecti |
47320 | 6f 6e 2e 72 65 70 6c 61 63 65 28 2f 5e 5c 73 2b 2f 2c 20 22 22 29 0a 20 20 20 20 20 20 20 20 20 | on.replace(/^\s+/,."").......... |
47340 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 72 65 70 6c 61 63 65 28 2f 5c 73 2b 24 2f 2c | .................replace(/\s+$/, |
47360 | 20 22 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 72 | ."")...........................r |
47380 | 65 70 6c 61 63 65 28 2f 5c 73 2b 2f 67 2c 20 22 20 22 29 3b 0a 0a 20 20 20 20 69 66 20 28 73 65 | eplace(/\s+/g,.".");......if.(se |
473a0 | 6c 65 63 74 69 6f 6e 2e 6c 65 6e 67 74 68 20 3e 20 63 68 61 72 4c 65 6e 29 0a 20 20 20 20 20 20 | lection.length.>.charLen)....... |
473c0 | 73 65 6c 65 63 74 69 6f 6e 20 3d 20 73 65 6c 65 63 74 69 6f 6e 2e 73 75 62 73 74 72 28 30 2c 20 | selection.=.selection.substr(0,. |
473e0 | 63 68 61 72 4c 65 6e 29 3b 0a 20 20 7d 0a 20 20 72 65 74 75 72 6e 20 73 65 6c 65 63 74 69 6f 6e | charLen);...}...return.selection |
47400 | 3b 0a 7d 0a 0a 76 61 72 20 67 57 65 62 50 61 6e 65 6c 55 52 49 3b 0a 66 75 6e 63 74 69 6f 6e 20 | ;.}..var.gWebPanelURI;.function. |
47420 | 6f 70 65 6e 57 65 62 50 61 6e 65 6c 28 61 54 69 74 6c 65 2c 20 61 55 52 49 29 0a 7b 0a 20 20 20 | openWebPanel(aTitle,.aURI).{.... |
47440 | 20 2f 2f 20 45 6e 73 75 72 65 20 74 68 61 74 20 74 68 65 20 77 65 62 20 70 61 6e 65 6c 73 20 73 | .//.Ensure.that.the.web.panels.s |
47460 | 69 64 65 62 61 72 20 69 73 20 6f 70 65 6e 2e 0a 20 20 20 20 74 6f 67 67 6c 65 53 69 64 65 62 61 | idebar.is.open......toggleSideba |
47480 | 72 28 27 76 69 65 77 57 65 62 50 61 6e 65 6c 73 53 69 64 65 62 61 72 27 2c 20 74 72 75 65 29 3b | r('viewWebPanelsSidebar',.true); |
474a0 | 0a 0a 20 20 20 20 2f 2f 20 53 65 74 20 74 68 65 20 74 69 74 6c 65 20 6f 66 20 74 68 65 20 70 61 | ......//.Set.the.title.of.the.pa |
474c0 | 6e 65 6c 2e 0a 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 | nel......document.getElementById |
474e0 | 28 22 73 69 64 65 62 61 72 2d 74 69 74 6c 65 22 29 2e 76 61 6c 75 65 20 3d 20 61 54 69 74 6c 65 | ("sidebar-title").value.=.aTitle |
47500 | 3b 0a 0a 20 20 20 20 2f 2f 20 54 65 6c 6c 20 74 68 65 20 57 65 62 20 50 61 6e 65 6c 73 20 73 69 | ;......//.Tell.the.Web.Panels.si |
47520 | 64 65 62 61 72 20 74 6f 20 6c 6f 61 64 20 74 68 65 20 62 6f 6f 6b 6d 61 72 6b 2e 0a 20 20 20 20 | debar.to.load.the.bookmark...... |
47540 | 76 61 72 20 73 69 64 65 62 61 72 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e | var.sidebar.=.document.getElemen |
47560 | 74 42 79 49 64 28 22 73 69 64 65 62 61 72 22 29 3b 0a 20 20 20 20 69 66 20 28 73 69 64 65 62 61 | tById("sidebar");.....if.(sideba |
47580 | 72 2e 64 6f 63 53 68 65 6c 6c 20 26 26 20 73 69 64 65 62 61 72 2e 63 6f 6e 74 65 6e 74 44 6f 63 | r.docShell.&&.sidebar.contentDoc |
475a0 | 75 6d 65 6e 74 20 26 26 20 73 69 64 65 62 61 72 2e 63 6f 6e 74 65 6e 74 44 6f 63 75 6d 65 6e 74 | ument.&&.sidebar.contentDocument |
475c0 | 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 27 77 65 62 2d 70 61 6e 65 6c 73 2d 62 72 6f 77 | .getElementById('web-panels-brow |
475e0 | 73 65 72 27 29 29 20 7b 0a 20 20 20 20 20 20 20 20 73 69 64 65 62 61 72 2e 63 6f 6e 74 65 6e 74 | ser')).{.........sidebar.content |
47600 | 57 69 6e 64 6f 77 2e 6c 6f 61 64 57 65 62 50 61 6e 65 6c 28 61 55 52 49 29 3b 0a 20 20 20 20 20 | Window.loadWebPanel(aURI);...... |
47620 | 20 20 20 69 66 20 28 67 57 65 62 50 61 6e 65 6c 55 52 49 29 20 7b 0a 20 20 20 20 20 20 20 20 20 | ...if.(gWebPanelURI).{.......... |
47640 | 20 20 20 67 57 65 62 50 61 6e 65 6c 55 52 49 20 3d 20 22 22 3b 0a 20 20 20 20 20 20 20 20 20 20 | ...gWebPanelURI.=."";........... |
47660 | 20 20 73 69 64 65 62 61 72 2e 72 65 6d 6f 76 65 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 28 22 6c | ..sidebar.removeEventListener("l |
47680 | 6f 61 64 22 2c 20 61 73 79 6e 63 4f 70 65 6e 57 65 62 50 61 6e 65 6c 2c 20 74 72 75 65 29 3b 0a | oad",.asyncOpenWebPanel,.true);. |
476a0 | 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 | ........}.....}.....else.{...... |
476c0 | 20 20 20 2f 2f 20 54 68 65 20 70 61 6e 65 6c 20 69 73 20 73 74 69 6c 6c 20 62 65 69 6e 67 20 63 | ...//.The.panel.is.still.being.c |
476e0 | 6f 6e 73 74 72 75 63 74 65 64 2e 20 20 41 74 74 61 63 68 20 61 6e 20 6f 6e 6c 6f 61 64 20 68 61 | onstructed...Attach.an.onload.ha |
47700 | 6e 64 6c 65 72 2e 0a 20 20 20 20 20 20 20 20 69 66 20 28 21 67 57 65 62 50 61 6e 65 6c 55 52 49 | ndler..........if.(!gWebPanelURI |
47720 | 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 73 69 64 65 62 61 72 2e 61 64 64 45 76 65 6e 74 4c 69 | ).............sidebar.addEventLi |
47740 | 73 74 65 6e 65 72 28 22 6c 6f 61 64 22 2c 20 61 73 79 6e 63 4f 70 65 6e 57 65 62 50 61 6e 65 6c | stener("load",.asyncOpenWebPanel |
47760 | 2c 20 74 72 75 65 29 3b 0a 20 20 20 20 20 20 20 20 67 57 65 62 50 61 6e 65 6c 55 52 49 20 3d 20 | ,.true);.........gWebPanelURI.=. |
47780 | 61 55 52 49 3b 0a 20 20 20 20 7d 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 61 73 79 6e 63 4f 70 65 | aURI;.....}.}..function.asyncOpe |
477a0 | 6e 57 65 62 50 61 6e 65 6c 28 65 76 65 6e 74 29 0a 7b 0a 20 20 20 20 76 61 72 20 73 69 64 65 62 | nWebPanel(event).{.....var.sideb |
477c0 | 61 72 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 73 69 | ar.=.document.getElementById("si |
477e0 | 64 65 62 61 72 22 29 3b 0a 20 20 20 20 69 66 20 28 67 57 65 62 50 61 6e 65 6c 55 52 49 20 26 26 | debar");.....if.(gWebPanelURI.&& |
47800 | 20 73 69 64 65 62 61 72 2e 63 6f 6e 74 65 6e 74 44 6f 63 75 6d 65 6e 74 20 26 26 20 73 69 64 65 | .sidebar.contentDocument.&&.side |
47820 | 62 61 72 2e 63 6f 6e 74 65 6e 74 44 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 | bar.contentDocument.getElementBy |
47840 | 49 64 28 27 77 65 62 2d 70 61 6e 65 6c 73 2d 62 72 6f 77 73 65 72 27 29 29 0a 20 20 20 20 20 20 | Id('web-panels-browser'))....... |
47860 | 20 20 73 69 64 65 62 61 72 2e 63 6f 6e 74 65 6e 74 57 69 6e 64 6f 77 2e 6c 6f 61 64 57 65 62 50 | ..sidebar.contentWindow.loadWebP |
47880 | 61 6e 65 6c 28 67 57 65 62 50 61 6e 65 6c 55 52 49 29 3b 0a 20 20 20 20 67 57 65 62 50 61 6e 65 | anel(gWebPanelURI);.....gWebPane |
478a0 | 6c 55 52 49 20 3d 20 22 22 3b 0a 20 20 20 20 73 69 64 65 62 61 72 2e 72 65 6d 6f 76 65 45 76 65 | lURI.=."";.....sidebar.removeEve |
478c0 | 6e 74 4c 69 73 74 65 6e 65 72 28 22 6c 6f 61 64 22 2c 20 61 73 79 6e 63 4f 70 65 6e 57 65 62 50 | ntListener("load",.asyncOpenWebP |
478e0 | 61 6e 65 6c 2c 20 74 72 75 65 29 3b 0a 7d 0a 0a 2f 2a 0a 20 2a 20 2d 20 5b 20 44 65 70 65 6e 64 | anel,.true);.}../*..*.-.[.Depend |
47900 | 65 6e 63 69 65 73 20 5d 20 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d | encies.].----------------------- |
47920 | 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d | -------------------------------- |
47940 | 2d 2d 0a 20 2a 20 20 75 74 69 6c 69 74 79 4f 76 65 72 6c 61 79 2e 6a 73 3a 0a 20 2a 20 20 20 20 | --..*..utilityOverlay.js:..*.... |
47960 | 2d 20 67 61 74 68 65 72 54 65 78 74 55 6e 64 65 72 0a 20 2a 2f 0a 0a 20 2f 2f 20 43 61 6c 6c 65 | -.gatherTextUnder..*/...//.Calle |
47980 | 64 20 77 68 65 6e 65 76 65 72 20 74 68 65 20 75 73 65 72 20 63 6c 69 63 6b 73 20 69 6e 20 74 68 | d.whenever.the.user.clicks.in.th |
479a0 | 65 20 63 6f 6e 74 65 6e 74 20 61 72 65 61 2c 0a 20 2f 2f 20 65 78 63 65 70 74 20 77 68 65 6e 20 | e.content.area,..//.except.when. |
479c0 | 6c 65 66 74 2d 63 6c 69 63 6b 69 6e 67 20 6f 6e 20 6c 69 6e 6b 73 20 28 73 70 65 63 69 61 6c 20 | left-clicking.on.links.(special. |
479e0 | 63 61 73 65 29 0a 20 2f 2f 20 73 68 6f 75 6c 64 20 61 6c 77 61 79 73 20 72 65 74 75 72 6e 20 74 | case)..//.should.always.return.t |
47a00 | 72 75 65 20 66 6f 72 20 63 6c 69 63 6b 20 74 6f 20 67 6f 20 74 68 72 6f 75 67 68 0a 20 66 75 6e | rue.for.click.to.go.through..fun |
47a20 | 63 74 69 6f 6e 20 63 6f 6e 74 65 6e 74 41 72 65 61 43 6c 69 63 6b 28 65 76 65 6e 74 2c 20 66 69 | ction.contentAreaClick(event,.fi |
47a40 | 65 6c 64 4e 6f 72 6d 61 6c 43 6c 69 63 6b 73 29 0a 20 7b 0a 20 20 20 69 66 20 28 21 65 76 65 6e | eldNormalClicks)..{....if.(!even |
47a60 | 74 2e 69 73 54 72 75 73 74 65 64 20 7c 7c 20 65 76 65 6e 74 2e 67 65 74 50 72 65 76 65 6e 74 44 | t.isTrusted.||.event.getPreventD |
47a80 | 65 66 61 75 6c 74 28 29 29 20 7b 0a 20 20 20 20 20 72 65 74 75 72 6e 20 74 72 75 65 3b 0a 20 20 | efault()).{......return.true;... |
47aa0 | 20 7d 0a 0a 20 20 20 76 61 72 20 74 61 72 67 65 74 20 3d 20 65 76 65 6e 74 2e 74 61 72 67 65 74 | .}.....var.target.=.event.target |
47ac0 | 3b 0a 20 20 20 76 61 72 20 6c 69 6e 6b 4e 6f 64 65 3b 0a 0a 20 20 20 69 66 20 28 74 61 72 67 65 | ;....var.linkNode;.....if.(targe |
47ae0 | 74 20 69 6e 73 74 61 6e 63 65 6f 66 20 48 54 4d 4c 41 6e 63 68 6f 72 45 6c 65 6d 65 6e 74 20 7c | t.instanceof.HTMLAnchorElement.| |
47b00 | 7c 0a 20 20 20 20 20 20 20 74 61 72 67 65 74 20 69 6e 73 74 61 6e 63 65 6f 66 20 48 54 4d 4c 41 | |........target.instanceof.HTMLA |
47b20 | 72 65 61 45 6c 65 6d 65 6e 74 20 7c 7c 0a 20 20 20 20 20 20 20 74 61 72 67 65 74 20 69 6e 73 74 | reaElement.||........target.inst |
47b40 | 61 6e 63 65 6f 66 20 48 54 4d 4c 4c 69 6e 6b 45 6c 65 6d 65 6e 74 29 20 7b 0a 20 20 20 20 20 69 | anceof.HTMLLinkElement).{......i |
47b60 | 66 20 28 74 61 72 67 65 74 2e 68 61 73 41 74 74 72 69 62 75 74 65 28 22 68 72 65 66 22 29 29 0a | f.(target.hasAttribute("href")). |
47b80 | 20 20 20 20 20 20 20 6c 69 6e 6b 4e 6f 64 65 20 3d 20 74 61 72 67 65 74 3b 0a 0a 20 20 20 20 20 | .......linkNode.=.target;....... |
47ba0 | 2f 2f 20 78 78 78 6d 70 63 3a 20 74 68 69 73 20 69 73 20 6b 69 6e 64 20 6f 66 20 61 20 68 61 63 | //.xxxmpc:.this.is.kind.of.a.hac |
47bc0 | 6b 20 74 6f 20 77 6f 72 6b 20 61 72 6f 75 6e 64 20 61 20 47 65 63 6b 6f 20 62 75 67 20 28 73 65 | k.to.work.around.a.Gecko.bug.(se |
47be0 | 65 20 62 75 67 20 32 36 36 39 33 32 29 0a 20 20 20 20 20 2f 2f 20 77 65 27 72 65 20 67 6f 69 6e | e.bug.266932)......//.we're.goin |
47c00 | 67 20 74 6f 20 77 61 6c 6b 20 75 70 20 74 68 65 20 44 4f 4d 20 6c 6f 6f 6b 69 6e 67 20 66 6f 72 | g.to.walk.up.the.DOM.looking.for |
47c20 | 20 61 20 70 61 72 65 6e 74 20 6c 69 6e 6b 20 6e 6f 64 65 2c 0a 20 20 20 20 20 2f 2f 20 74 68 69 | .a.parent.link.node,......//.thi |
47c40 | 73 20 73 68 6f 75 6c 64 6e 27 74 20 62 65 20 6e 65 63 65 73 73 61 72 79 2c 20 62 75 74 20 77 65 | s.shouldn't.be.necessary,.but.we |
47c60 | 27 72 65 20 6d 61 74 63 68 69 6e 67 20 74 68 65 20 65 78 69 73 74 69 6e 67 20 62 65 68 61 76 69 | 're.matching.the.existing.behavi |
47c80 | 6f 75 72 20 66 6f 72 20 6c 65 66 74 20 63 6c 69 63 6b 0a 20 20 20 20 20 76 61 72 20 70 61 72 65 | our.for.left.click......var.pare |
47ca0 | 6e 74 20 3d 20 74 61 72 67 65 74 2e 70 61 72 65 6e 74 4e 6f 64 65 3b 0a 20 20 20 20 20 77 68 69 | nt.=.target.parentNode;......whi |
47cc0 | 6c 65 20 28 70 61 72 65 6e 74 29 20 7b 0a 20 20 20 20 20 20 20 69 66 20 28 70 61 72 65 6e 74 20 | le.(parent).{........if.(parent. |
47ce0 | 69 6e 73 74 61 6e 63 65 6f 66 20 48 54 4d 4c 41 6e 63 68 6f 72 45 6c 65 6d 65 6e 74 20 7c 7c 0a | instanceof.HTMLAnchorElement.||. |
47d00 | 20 20 20 20 20 20 20 20 20 20 20 70 61 72 65 6e 74 20 69 6e 73 74 61 6e 63 65 6f 66 20 48 54 4d | ...........parent.instanceof.HTM |
47d20 | 4c 41 72 65 61 45 6c 65 6d 65 6e 74 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 70 61 72 65 6e | LAreaElement.||............paren |
47d40 | 74 20 69 6e 73 74 61 6e 63 65 6f 66 20 48 54 4d 4c 4c 69 6e 6b 45 6c 65 6d 65 6e 74 29 20 7b 0a | t.instanceof.HTMLLinkElement).{. |
47d60 | 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 70 61 72 65 6e 74 2e 68 61 73 41 74 74 72 69 62 75 | ...........if.(parent.hasAttribu |
47d80 | 74 65 28 22 68 72 65 66 22 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 69 6e 6b 4e 6f 64 | te("href"))..............linkNod |
47da0 | 65 20 3d 20 70 61 72 65 6e 74 3b 0a 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 70 61 72 65 | e.=.parent;........}........pare |
47dc0 | 6e 74 20 3d 20 70 61 72 65 6e 74 2e 70 61 72 65 6e 74 4e 6f 64 65 3b 0a 20 20 20 20 20 7d 0a 20 | nt.=.parent.parentNode;......}.. |
47de0 | 20 20 7d 0a 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 6c 69 6e 6b 4e 6f 64 65 20 3d 20 65 76 | ..}....else.{......linkNode.=.ev |
47e00 | 65 6e 74 2e 6f 72 69 67 69 6e 61 6c 54 61 72 67 65 74 3b 0a 20 20 20 20 20 77 68 69 6c 65 20 28 | ent.originalTarget;......while.( |
47e20 | 6c 69 6e 6b 4e 6f 64 65 20 26 26 20 21 28 6c 69 6e 6b 4e 6f 64 65 20 69 6e 73 74 61 6e 63 65 6f | linkNode.&&.!(linkNode.instanceo |
47e40 | 66 20 48 54 4d 4c 41 6e 63 68 6f 72 45 6c 65 6d 65 6e 74 29 29 0a 20 20 20 20 20 20 20 6c 69 6e | f.HTMLAnchorElement))........lin |
47e60 | 6b 4e 6f 64 65 20 3d 20 6c 69 6e 6b 4e 6f 64 65 2e 70 61 72 65 6e 74 4e 6f 64 65 3b 0a 20 20 20 | kNode.=.linkNode.parentNode;.... |
47e80 | 20 20 2f 2f 20 3c 61 3e 20 63 61 6e 6e 6f 74 20 62 65 20 6e 65 73 74 65 64 2e 20 20 53 6f 20 69 | ..//.<a>.cannot.be.nested...So.i |
47ea0 | 66 20 77 65 20 66 69 6e 64 20 61 6e 20 61 6e 63 68 6f 72 20 77 69 74 68 6f 75 74 20 61 6e 0a 20 | f.we.find.an.anchor.without.an.. |
47ec0 | 20 20 20 20 2f 2f 20 68 72 65 66 2c 20 74 68 65 72 65 20 69 73 20 6e 6f 20 75 73 65 66 75 6c 20 | ....//.href,.there.is.no.useful. |
47ee0 | 3c 61 3e 20 61 72 6f 75 6e 64 20 74 68 65 20 74 61 72 67 65 74 0a 20 20 20 20 20 69 66 20 28 6c | <a>.around.the.target......if.(l |
47f00 | 69 6e 6b 4e 6f 64 65 20 26 26 20 21 6c 69 6e 6b 4e 6f 64 65 2e 68 61 73 41 74 74 72 69 62 75 74 | inkNode.&&.!linkNode.hasAttribut |
47f20 | 65 28 22 68 72 65 66 22 29 29 0a 20 20 20 20 20 20 20 6c 69 6e 6b 4e 6f 64 65 20 3d 20 6e 75 6c | e("href"))........linkNode.=.nul |
47f40 | 6c 3b 0a 20 20 20 7d 0a 20 20 20 76 61 72 20 77 72 61 70 70 65 72 20 3d 20 6e 75 6c 6c 3b 0a 20 | l;....}....var.wrapper.=.null;.. |
47f60 | 20 20 69 66 20 28 6c 69 6e 6b 4e 6f 64 65 29 20 7b 0a 20 20 20 20 20 77 72 61 70 70 65 72 20 3d | ..if.(linkNode).{......wrapper.= |
47f80 | 20 6c 69 6e 6b 4e 6f 64 65 3b 0a 20 20 20 20 20 69 66 20 28 65 76 65 6e 74 2e 62 75 74 74 6f 6e | .linkNode;......if.(event.button |
47fa0 | 20 3d 3d 20 30 20 26 26 20 21 65 76 65 6e 74 2e 63 74 72 6c 4b 65 79 20 26 26 20 21 65 76 65 6e | .==.0.&&.!event.ctrlKey.&&.!even |
47fc0 | 74 2e 73 68 69 66 74 4b 65 79 20 26 26 0a 20 20 20 20 20 20 20 20 20 21 65 76 65 6e 74 2e 61 6c | t.shiftKey.&&..........!event.al |
47fe0 | 74 4b 65 79 20 26 26 20 21 65 76 65 6e 74 2e 6d 65 74 61 4b 65 79 29 20 7b 0a 20 20 20 20 20 20 | tKey.&&.!event.metaKey).{....... |
48000 | 20 2f 2f 20 41 20 57 65 62 20 70 61 6e 65 6c 27 73 20 6c 69 6e 6b 73 20 73 68 6f 75 6c 64 20 74 | .//.A.Web.panel's.links.should.t |
48020 | 61 72 67 65 74 20 74 68 65 20 6d 61 69 6e 20 63 6f 6e 74 65 6e 74 20 61 72 65 61 2e 20 20 44 6f | arget.the.main.content.area...Do |
48040 | 20 74 68 69 73 0a 20 20 20 20 20 20 20 2f 2f 20 69 66 20 6e 6f 20 6d 6f 64 69 66 69 65 72 20 6b | .this........//.if.no.modifier.k |
48060 | 65 79 73 20 61 72 65 20 64 6f 77 6e 20 61 6e 64 20 69 66 20 74 68 65 72 65 27 73 20 6e 6f 20 74 | eys.are.down.and.if.there's.no.t |
48080 | 61 72 67 65 74 20 6f 72 20 74 68 65 20 74 61 72 67 65 74 20 65 71 75 61 6c 73 0a 20 20 20 20 20 | arget.or.the.target.equals...... |
480a0 | 20 20 2f 2f 20 5f 6d 61 69 6e 20 28 74 68 65 20 49 45 20 63 6f 6e 76 65 6e 74 69 6f 6e 29 20 6f | ..//._main.(the.IE.convention).o |
480c0 | 72 20 5f 63 6f 6e 74 65 6e 74 20 28 74 68 65 20 4d 6f 7a 69 6c 6c 61 20 63 6f 6e 76 65 6e 74 69 | r._content.(the.Mozilla.conventi |
480e0 | 6f 6e 29 2e 0a 20 20 20 20 20 20 20 2f 2f 20 58 58 58 20 4e 6f 77 20 74 68 61 74 20 6d 61 72 6b | on).........//.XXX.Now.that.mark |
48100 | 4c 69 6e 6b 56 69 73 69 74 65 64 20 69 73 20 67 6f 6e 65 2c 20 77 65 20 6d 61 79 20 6e 6f 74 20 | LinkVisited.is.gone,.we.may.not. |
48120 | 6e 65 65 64 20 74 6f 20 66 69 65 6c 64 20 5f 6d 61 69 6e 20 61 6e 64 0a 20 20 20 20 20 20 20 2f | need.to.field._main.and......../ |
48140 | 2f 20 5f 63 6f 6e 74 65 6e 74 20 68 65 72 65 2e 0a 20 20 20 20 20 20 20 74 61 72 67 65 74 20 3d | /._content.here.........target.= |
48160 | 20 77 72 61 70 70 65 72 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 74 61 72 67 65 74 22 29 3b | .wrapper.getAttribute("target"); |
48180 | 0a 20 20 20 20 20 20 20 69 66 20 28 66 69 65 6c 64 4e 6f 72 6d 61 6c 43 6c 69 63 6b 73 20 26 26 | ........if.(fieldNormalClicks.&& |
481a0 | 0a 20 20 20 20 20 20 20 20 20 20 20 28 21 74 61 72 67 65 74 20 7c 7c 20 74 61 72 67 65 74 20 3d | ............(!target.||.target.= |
481c0 | 3d 20 22 5f 63 6f 6e 74 65 6e 74 22 20 7c 7c 20 74 61 72 67 65 74 20 20 3d 3d 20 22 5f 6d 61 69 | =."_content".||.target..==."_mai |
481e0 | 6e 22 29 29 0a 20 20 20 20 20 20 20 20 20 2f 2f 20 49 45 20 75 73 65 73 20 5f 6d 61 69 6e 2c 20 | n"))..........//.IE.uses._main,. |
48200 | 53 65 61 4d 6f 6e 6b 65 79 20 75 73 65 73 20 5f 63 6f 6e 74 65 6e 74 2c 20 77 65 20 73 75 70 70 | SeaMonkey.uses._content,.we.supp |
48220 | 6f 72 74 20 62 6f 74 68 0a 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 69 66 20 28 21 | ort.both........{..........if.(! |
48240 | 77 72 61 70 70 65 72 2e 68 72 65 66 29 0a 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 | wrapper.href)............return. |
48260 | 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 20 69 66 20 28 77 72 61 70 70 65 72 2e 67 65 74 41 74 | true;..........if.(wrapper.getAt |
48280 | 74 72 69 62 75 74 65 28 22 6f 6e 63 6c 69 63 6b 22 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 72 | tribute("onclick"))............r |
482a0 | 65 74 75 72 6e 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 20 2f 2f 20 6a 61 76 61 73 63 72 69 | eturn.true;..........//.javascri |
482c0 | 70 74 20 6c 69 6e 6b 73 20 73 68 6f 75 6c 64 20 62 65 20 65 78 65 63 75 74 65 64 20 69 6e 20 74 | pt.links.should.be.executed.in.t |
482e0 | 68 65 20 63 75 72 72 65 6e 74 20 62 72 6f 77 73 65 72 0a 20 20 20 20 20 20 20 20 20 69 66 20 28 | he.current.browser..........if.( |
48300 | 77 72 61 70 70 65 72 2e 68 72 65 66 2e 73 75 62 73 74 72 28 30 2c 20 31 31 29 20 3d 3d 3d 20 22 | wrapper.href.substr(0,.11).===." |
48320 | 6a 61 76 61 73 63 72 69 70 74 3a 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 | javascript:")............return. |
48340 | 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 20 2f 2f 20 64 61 74 61 20 6c 69 6e 6b 73 20 73 68 6f | true;..........//.data.links.sho |
48360 | 75 6c 64 20 62 65 20 65 78 65 63 75 74 65 64 20 69 6e 20 74 68 65 20 63 75 72 72 65 6e 74 20 62 | uld.be.executed.in.the.current.b |
48380 | 72 6f 77 73 65 72 0a 20 20 20 20 20 20 20 20 20 69 66 20 28 77 72 61 70 70 65 72 2e 68 72 65 66 | rowser..........if.(wrapper.href |
483a0 | 2e 73 75 62 73 74 72 28 30 2c 20 35 29 20 3d 3d 3d 20 22 64 61 74 61 3a 22 29 0a 20 20 20 20 20 | .substr(0,.5).===."data:")...... |
483c0 | 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 72 75 65 3b 0a 0a 20 20 20 20 20 20 20 20 20 74 72 79 | ......return.true;...........try |
483e0 | 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 75 72 6c 53 65 63 75 72 69 74 79 43 68 65 63 6b 28 77 | .{............urlSecurityCheck(w |
48400 | 72 61 70 70 65 72 2e 68 72 65 66 2c 20 77 72 61 70 70 65 72 2e 6f 77 6e 65 72 44 6f 63 75 6d 65 | rapper.href,.wrapper.ownerDocume |
48420 | 6e 74 2e 6e 6f 64 65 50 72 69 6e 63 69 70 61 6c 29 3b 0a 20 20 20 20 20 20 20 20 20 7d 0a 20 20 | nt.nodePrincipal);..........}... |
48440 | 20 20 20 20 20 20 20 63 61 74 63 68 28 65 78 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 72 65 | .......catch(ex).{............re |
48460 | 74 75 72 6e 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 20 20 20 20 7d 20 0a 0a 20 20 20 20 20 20 20 | turn.false;..........}.......... |
48480 | 20 20 76 61 72 20 70 6f 73 74 44 61 74 61 20 3d 20 7b 20 7d 3b 0a 20 20 20 20 20 20 20 20 20 76 | ..var.postData.=.{.};..........v |
484a0 | 61 72 20 75 72 6c 20 3d 20 67 65 74 53 68 6f 72 74 63 75 74 4f 72 55 52 49 28 77 72 61 70 70 65 | ar.url.=.getShortcutOrURI(wrappe |
484c0 | 72 2e 68 72 65 66 2c 20 70 6f 73 74 44 61 74 61 29 3b 0a 20 20 20 20 20 20 20 20 20 69 66 20 28 | r.href,.postData);..........if.( |
484e0 | 21 75 72 6c 29 0a 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 72 75 65 3b 0a 20 20 | !url)............return.true;... |
48500 | 20 20 20 20 20 20 20 6c 6f 61 64 55 52 49 28 75 72 6c 2c 20 6e 75 6c 6c 2c 20 70 6f 73 74 44 61 | .......loadURI(url,.null,.postDa |
48520 | 74 61 2e 76 61 6c 75 65 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 20 20 20 20 20 20 65 76 65 6e 74 | ta.value,.false);..........event |
48540 | 2e 70 72 65 76 65 6e 74 44 65 66 61 75 6c 74 28 29 3b 0a 20 20 20 20 20 20 20 20 20 72 65 74 75 | .preventDefault();..........retu |
48560 | 72 6e 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 65 6c 73 65 20 69 | rn.false;........}........else.i |
48580 | 66 20 28 6c 69 6e 6b 4e 6f 64 65 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 72 65 6c 22 29 20 | f.(linkNode.getAttribute("rel"). |
485a0 | 3d 3d 20 22 73 69 64 65 62 61 72 22 29 20 7b 0a 20 20 20 20 20 20 20 20 20 2f 2f 20 54 68 69 73 | ==."sidebar").{..........//.This |
485c0 | 20 69 73 20 74 68 65 20 4f 70 65 72 61 20 63 6f 6e 76 65 6e 74 69 6f 6e 20 66 6f 72 20 61 20 73 | .is.the.Opera.convention.for.a.s |
485e0 | 70 65 63 69 61 6c 20 6c 69 6e 6b 20 74 68 61 74 20 2d 20 77 68 65 6e 20 63 6c 69 63 6b 65 64 20 | pecial.link.that.-.when.clicked. |
48600 | 2d 20 61 6c 6c 6f 77 73 0a 20 20 20 20 20 20 20 20 20 2f 2f 20 79 6f 75 20 74 6f 20 61 64 64 20 | -.allows..........//.you.to.add. |
48620 | 61 20 73 69 64 65 62 61 72 20 70 61 6e 65 6c 2e 20 20 57 65 20 73 75 70 70 6f 72 74 20 74 68 65 | a.sidebar.panel...We.support.the |
48640 | 20 4f 70 65 72 61 20 63 6f 6e 76 65 6e 74 69 6f 6e 20 68 65 72 65 2e 20 20 54 68 65 20 6c 69 6e | .Opera.convention.here...The.lin |
48660 | 6b 27 73 0a 20 20 20 20 20 20 20 20 20 2f 2f 20 74 69 74 6c 65 20 61 74 74 72 69 62 75 74 65 20 | k's..........//.title.attribute. |
48680 | 63 6f 6e 74 61 69 6e 73 20 74 68 65 20 74 69 74 6c 65 20 74 68 61 74 20 73 68 6f 75 6c 64 20 62 | contains.the.title.that.should.b |
486a0 | 65 20 75 73 65 64 20 66 6f 72 20 74 68 65 20 73 69 64 65 62 61 72 20 70 61 6e 65 6c 2e 0a 20 20 | e.used.for.the.sidebar.panel.... |
486c0 | 20 20 20 20 20 20 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 73 68 6f 77 4d 69 6e 69 6d 61 6c | .......PlacesUIUtils.showMinimal |
486e0 | 41 64 64 42 6f 6f 6b 6d 61 72 6b 55 49 28 6d 61 6b 65 55 52 49 28 77 72 61 70 70 65 72 2e 68 72 | AddBookmarkUI(makeURI(wrapper.hr |
48700 | 65 66 29 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ef),............................ |
48720 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 77 72 61 70 70 65 72 2e 67 65 74 | .....................wrapper.get |
48740 | 41 74 74 72 69 62 75 74 65 28 22 74 69 74 6c 65 22 29 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 | Attribute("title"),............. |
48760 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
48780 | 20 20 20 20 6e 75 6c 6c 2c 20 6e 75 6c 6c 2c 20 74 72 75 65 2c 20 74 72 75 65 29 3b 0a 20 20 20 | ....null,.null,.true,.true);.... |
487a0 | 20 20 20 20 20 20 65 76 65 6e 74 2e 70 72 65 76 65 6e 74 44 65 66 61 75 6c 74 28 29 3b 0a 20 20 | ......event.preventDefault();... |
487c0 | 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 20 20 7d 0a 20 20 | .......return.false;........}... |
487e0 | 20 20 20 7d 0a 20 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 20 68 61 6e 64 6c 65 4c 69 | ...}......else.{........handleLi |
48800 | 6e 6b 43 6c 69 63 6b 28 65 76 65 6e 74 2c 20 77 72 61 70 70 65 72 2e 68 72 65 66 2c 20 6c 69 6e | nkClick(event,.wrapper.href,.lin |
48820 | 6b 4e 6f 64 65 29 3b 0a 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 72 65 74 75 72 6e 20 74 72 75 65 | kNode);......}.......return.true |
48840 | 3b 0a 20 20 20 7d 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 2f 2f 20 54 72 79 20 73 69 6d 70 6c 65 | ;....}.else.{......//.Try.simple |
48860 | 20 58 4c 69 6e 6b 0a 20 20 20 20 20 76 61 72 20 68 72 65 66 2c 20 72 65 61 6c 48 72 65 66 2c 20 | .XLink......var.href,.realHref,. |
48880 | 62 61 73 65 55 52 49 3b 0a 20 20 20 20 20 6c 69 6e 6b 4e 6f 64 65 20 3d 20 74 61 72 67 65 74 3b | baseURI;......linkNode.=.target; |
488a0 | 0a 20 20 20 20 20 77 68 69 6c 65 20 28 6c 69 6e 6b 4e 6f 64 65 29 20 7b 0a 20 20 20 20 20 20 20 | ......while.(linkNode).{........ |
488c0 | 69 66 20 28 6c 69 6e 6b 4e 6f 64 65 2e 6e 6f 64 65 54 79 70 65 20 3d 3d 20 4e 6f 64 65 2e 45 4c | if.(linkNode.nodeType.==.Node.EL |
488e0 | 45 4d 45 4e 54 5f 4e 4f 44 45 29 20 7b 0a 20 20 20 20 20 20 20 20 20 77 72 61 70 70 65 72 20 3d | EMENT_NODE).{..........wrapper.= |
48900 | 20 6c 69 6e 6b 4e 6f 64 65 3b 0a 0a 20 20 20 20 20 20 20 20 20 72 65 61 6c 48 72 65 66 20 3d 20 | .linkNode;...........realHref.=. |
48920 | 77 72 61 70 70 65 72 2e 67 65 74 41 74 74 72 69 62 75 74 65 4e 53 28 22 68 74 74 70 3a 2f 2f 77 | wrapper.getAttributeNS("http://w |
48940 | 77 77 2e 77 33 2e 6f 72 67 2f 31 39 39 39 2f 78 6c 69 6e 6b 22 2c 20 22 68 72 65 66 22 29 3b 0a | ww.w3.org/1999/xlink",."href");. |
48960 | 20 20 20 20 20 20 20 20 20 69 66 20 28 72 65 61 6c 48 72 65 66 29 20 7b 0a 20 20 20 20 20 20 20 | .........if.(realHref).{........ |
48980 | 20 20 20 20 68 72 65 66 20 3d 20 72 65 61 6c 48 72 65 66 3b 0a 20 20 20 20 20 20 20 20 20 20 20 | ....href.=.realHref;............ |
489a0 | 62 61 73 65 55 52 49 20 3d 20 77 72 61 70 70 65 72 2e 62 61 73 65 55 52 49 0a 20 20 20 20 20 20 | baseURI.=.wrapper.baseURI....... |
489c0 | 20 20 20 7d 0a 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 6c 69 6e 6b 4e 6f 64 65 20 3d 20 | ...}........}........linkNode.=. |
489e0 | 6c 69 6e 6b 4e 6f 64 65 2e 70 61 72 65 6e 74 4e 6f 64 65 3b 0a 20 20 20 20 20 7d 0a 20 20 20 20 | linkNode.parentNode;......}..... |
48a00 | 20 69 66 20 28 68 72 65 66 29 20 7b 0a 20 20 20 20 20 20 20 68 72 65 66 20 3d 20 6d 61 6b 65 55 | .if.(href).{........href.=.makeU |
48a20 | 52 4c 41 62 73 6f 6c 75 74 65 28 62 61 73 65 55 52 49 2c 20 68 72 65 66 29 3b 0a 20 20 20 20 20 | RLAbsolute(baseURI,.href);...... |
48a40 | 20 20 68 61 6e 64 6c 65 4c 69 6e 6b 43 6c 69 63 6b 28 65 76 65 6e 74 2c 20 68 72 65 66 2c 20 6e | ..handleLinkClick(event,.href,.n |
48a60 | 75 6c 6c 29 3b 0a 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 72 75 65 3b 0a 20 20 20 20 20 7d | ull);........return.true;......} |
48a80 | 0a 20 20 20 7d 0a 20 20 20 69 66 20 28 65 76 65 6e 74 2e 62 75 74 74 6f 6e 20 3d 3d 20 31 20 26 | ....}....if.(event.button.==.1.& |
48aa0 | 26 0a 20 20 20 20 20 20 20 67 50 72 65 66 53 65 72 76 69 63 65 2e 67 65 74 42 6f 6f 6c 50 72 65 | &........gPrefService.getBoolPre |
48ac0 | 66 28 22 6d 69 64 64 6c 65 6d 6f 75 73 65 2e 63 6f 6e 74 65 6e 74 4c 6f 61 64 55 52 4c 22 29 20 | f("middlemouse.contentLoadURL"). |
48ae0 | 26 26 0a 20 20 20 20 20 20 20 21 67 50 72 65 66 53 65 72 76 69 63 65 2e 67 65 74 42 6f 6f 6c 50 | &&........!gPrefService.getBoolP |
48b00 | 72 65 66 28 22 67 65 6e 65 72 61 6c 2e 61 75 74 6f 53 63 72 6f 6c 6c 22 29 29 20 7b 0a 20 20 20 | ref("general.autoScroll")).{.... |
48b20 | 20 20 6d 69 64 64 6c 65 4d 6f 75 73 65 50 61 73 74 65 28 65 76 65 6e 74 29 3b 0a 20 20 20 7d 0a | ..middleMousePaste(event);....}. |
48b40 | 20 20 20 72 65 74 75 72 6e 20 74 72 75 65 3b 0a 20 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 68 61 6e | ...return.true;..}..function.han |
48b60 | 64 6c 65 4c 69 6e 6b 43 6c 69 63 6b 28 65 76 65 6e 74 2c 20 68 72 65 66 2c 20 6c 69 6e 6b 4e 6f | dleLinkClick(event,.href,.linkNo |
48b80 | 64 65 29 0a 7b 0a 20 20 76 61 72 20 64 6f 63 20 3d 20 65 76 65 6e 74 2e 74 61 72 67 65 74 2e 6f | de).{...var.doc.=.event.target.o |
48ba0 | 77 6e 65 72 44 6f 63 75 6d 65 6e 74 3b 0a 0a 20 20 73 77 69 74 63 68 20 28 65 76 65 6e 74 2e 62 | wnerDocument;....switch.(event.b |
48bc0 | 75 74 74 6f 6e 29 20 7b 0a 20 20 20 20 63 61 73 65 20 30 3a 20 20 20 20 2f 2f 20 69 66 20 6c 65 | utton).{.....case.0:....//.if.le |
48be0 | 66 74 20 62 75 74 74 6f 6e 20 63 6c 69 63 6b 65 64 0a 2f 2f 40 6c 69 6e 65 20 34 39 33 39 20 22 | ft.button.clicked.//@line.4939." |
48c00 | 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 | /builds/moz2_slave/linux_build/b |
48c20 | 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 62 61 73 65 2f 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 | uild/browser/base/content/browse |
48c40 | 72 2e 6a 73 22 0a 20 20 20 20 20 20 69 66 20 28 65 76 65 6e 74 2e 63 74 72 6c 4b 65 79 29 20 7b | r.js".......if.(event.ctrlKey).{ |
48c60 | 0a 2f 2f 40 6c 69 6e 65 20 34 39 34 31 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 | .//@line.4941."/builds/moz2_slav |
48c80 | 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 62 61 73 65 | e/linux_build/build/browser/base |
48ca0 | 2f 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2e 6a 73 22 0a 20 20 20 20 20 20 20 20 6f 70 65 | /content/browser.js".........ope |
48cc0 | 6e 4e 65 77 54 61 62 57 69 74 68 28 68 72 65 66 2c 20 64 6f 63 2c 20 6e 75 6c 6c 2c 20 65 76 65 | nNewTabWith(href,.doc,.null,.eve |
48ce0 | 6e 74 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 20 20 20 20 20 65 76 65 6e 74 2e 73 74 6f 70 50 72 | nt,.false);.........event.stopPr |
48d00 | 6f 70 61 67 61 74 69 6f 6e 28 29 3b 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 72 75 65 | opagation();.........return.true |
48d20 | 3b 0a 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 69 66 20 28 65 76 65 6e 74 2e 73 68 69 66 74 | ;.......}........if.(event.shift |
48d40 | 4b 65 79 20 26 26 20 65 76 65 6e 74 2e 61 6c 74 4b 65 79 29 20 7b 0a 20 20 20 20 20 20 20 20 76 | Key.&&.event.altKey).{.........v |
48d60 | 61 72 20 66 65 65 64 53 65 72 76 69 63 65 20 3d 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 43 63 | ar.feedService.=..............Cc |
48d80 | 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 62 72 6f 77 73 65 72 2f 66 65 65 64 73 2f 72 65 73 | ["@mozilla.org/browser/feeds/res |
48da0 | 75 6c 74 2d 73 65 72 76 69 63 65 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 | ult-service;1"]..............get |
48dc0 | 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 46 65 65 64 52 65 73 75 6c 74 53 65 72 76 69 63 65 29 | Service(Ci.nsIFeedResultService) |
48de0 | 3b 0a 20 20 20 20 20 20 20 20 66 65 65 64 53 65 72 76 69 63 65 2e 66 6f 72 63 65 50 72 65 76 69 | ;.........feedService.forcePrevi |
48e00 | 65 77 50 61 67 65 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 6c 6f 61 64 55 52 49 28 68 | ewPage.=.true;.........loadURI(h |
48e20 | 72 65 66 2c 20 6e 75 6c 6c 2c 20 6e 75 6c 6c 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 20 20 20 20 | ref,.null,.null,.false);........ |
48e40 | 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 | .return.false;.......}.......... |
48e60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
48e80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0a 20 20 20 20 20 20 69 66 20 28 65 76 65 6e 74 2e 73 | .....................if.(event.s |
48ea0 | 68 69 66 74 4b 65 79 29 20 7b 0a 20 20 20 20 20 20 20 20 6f 70 65 6e 4e 65 77 57 69 6e 64 6f 77 | hiftKey).{.........openNewWindow |
48ec0 | 57 69 74 68 28 68 72 65 66 2c 20 64 6f 63 2c 20 6e 75 6c 6c 2c 20 66 61 6c 73 65 29 3b 0a 20 20 | With(href,.doc,.null,.false);... |
48ee0 | 20 20 20 20 20 20 65 76 65 6e 74 2e 73 74 6f 70 50 72 6f 70 61 67 61 74 69 6f 6e 28 29 3b 0a 20 | ......event.stopPropagation();.. |
48f00 | 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 72 75 65 3b 0a 20 20 20 20 20 20 7d 0a 0a 20 20 20 | .......return.true;.......}..... |
48f20 | 20 20 20 69 66 20 28 65 76 65 6e 74 2e 61 6c 74 4b 65 79 29 20 7b 0a 20 20 20 20 20 20 20 20 73 | ...if.(event.altKey).{.........s |
48f40 | 61 76 65 55 52 4c 28 68 72 65 66 2c 20 6c 69 6e 6b 4e 6f 64 65 20 3f 20 67 61 74 68 65 72 54 65 | aveURL(href,.linkNode.?.gatherTe |
48f60 | 78 74 55 6e 64 65 72 28 6c 69 6e 6b 4e 6f 64 65 29 20 3a 20 22 22 2c 20 6e 75 6c 6c 2c 20 74 72 | xtUnder(linkNode).:."",.null,.tr |
48f80 | 75 65 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 72 75 65 2c 20 64 6f 63 2e 64 6f | ue,.................true,.doc.do |
48fa0 | 63 75 6d 65 6e 74 55 52 49 4f 62 6a 65 63 74 29 3b 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e | cumentURIObject);.........return |
48fc0 | 20 74 72 75 65 3b 0a 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 66 61 6c | .true;.......}........return.fal |
48fe0 | 73 65 3b 0a 20 20 20 20 63 61 73 65 20 31 3a 20 20 20 20 2f 2f 20 69 66 20 6d 69 64 64 6c 65 20 | se;.....case.1:....//.if.middle. |
49000 | 62 75 74 74 6f 6e 20 63 6c 69 63 6b 65 64 0a 20 20 20 20 20 20 76 61 72 20 74 61 62 3b 0a 20 20 | button.clicked.......var.tab;... |
49020 | 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 20 20 74 61 62 20 3d 20 67 50 72 65 66 53 65 72 | ....try.{.........tab.=.gPrefSer |
49040 | 76 69 63 65 2e 67 65 74 42 6f 6f 6c 50 72 65 66 28 22 62 72 6f 77 73 65 72 2e 74 61 62 73 2e 6f | vice.getBoolPref("browser.tabs.o |
49060 | 70 65 6e 74 61 62 66 6f 72 2e 6d 69 64 64 6c 65 63 6c 69 63 6b 22 29 0a 20 20 20 20 20 20 7d 0a | pentabfor.middleclick").......}. |
49080 | 20 20 20 20 20 20 63 61 74 63 68 28 65 78 29 20 7b 0a 20 20 20 20 20 20 20 20 74 61 62 20 3d 20 | ......catch(ex).{.........tab.=. |
490a0 | 74 72 75 65 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 69 66 20 28 74 61 62 29 0a 20 20 20 | true;.......}.......if.(tab).... |
490c0 | 20 20 20 20 20 6f 70 65 6e 4e 65 77 54 61 62 57 69 74 68 28 68 72 65 66 2c 20 64 6f 63 2c 20 6e | .....openNewTabWith(href,.doc,.n |
490e0 | 75 6c 6c 2c 20 65 76 65 6e 74 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 20 20 20 65 6c 73 65 0a 20 | ull,.event,.false);.......else.. |
49100 | 20 20 20 20 20 20 20 6f 70 65 6e 4e 65 77 57 69 6e 64 6f 77 57 69 74 68 28 68 72 65 66 2c 20 64 | .......openNewWindowWith(href,.d |
49120 | 6f 63 2c 20 6e 75 6c 6c 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 20 20 20 65 76 65 6e 74 2e 73 74 | oc,.null,.false);.......event.st |
49140 | 6f 70 50 72 6f 70 61 67 61 74 69 6f 6e 28 29 3b 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 72 | opPropagation();.......return.tr |
49160 | 75 65 3b 0a 20 20 7d 0a 20 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 0a 7d 0a 0a 66 75 6e 63 74 | ue;...}...return.false;.}..funct |
49180 | 69 6f 6e 20 6d 69 64 64 6c 65 4d 6f 75 73 65 50 61 73 74 65 28 65 76 65 6e 74 29 0a 7b 0a 20 20 | ion.middleMousePaste(event).{... |
491a0 | 76 61 72 20 75 72 6c 20 3d 20 72 65 61 64 46 72 6f 6d 43 6c 69 70 62 6f 61 72 64 28 29 3b 0a 20 | var.url.=.readFromClipboard();.. |
491c0 | 20 69 66 20 28 21 75 72 6c 29 0a 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 76 61 72 20 70 6f | .if.(!url).....return;....var.po |
491e0 | 73 74 44 61 74 61 20 3d 20 7b 20 7d 3b 0a 20 20 75 72 6c 20 3d 20 67 65 74 53 68 6f 72 74 63 75 | stData.=.{.};...url.=.getShortcu |
49200 | 74 4f 72 55 52 49 28 75 72 6c 2c 20 70 6f 73 74 44 61 74 61 29 3b 0a 20 20 69 66 20 28 21 75 72 | tOrURI(url,.postData);...if.(!ur |
49220 | 6c 29 0a 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 74 72 79 20 7b 0a 20 20 20 20 61 64 64 54 | l).....return;....try.{.....addT |
49240 | 6f 55 72 6c 62 61 72 48 69 73 74 6f 72 79 28 75 72 6c 29 3b 0a 20 20 7d 20 63 61 74 63 68 20 28 | oUrlbarHistory(url);...}.catch.( |
49260 | 65 78 29 20 7b 0a 20 20 20 20 2f 2f 20 54 68 69 6e 67 73 20 6d 61 79 20 67 6f 20 77 72 6f 6e 67 | ex).{.....//.Things.may.go.wrong |
49280 | 20 77 68 65 6e 20 61 64 64 69 6e 67 20 75 72 6c 20 74 6f 20 73 65 73 73 69 6f 6e 20 68 69 73 74 | .when.adding.url.to.session.hist |
492a0 | 6f 72 79 2c 0a 20 20 20 20 2f 2f 20 62 75 74 20 64 6f 6e 27 74 20 6c 65 74 20 74 68 61 74 20 69 | ory,.....//.but.don't.let.that.i |
492c0 | 6e 74 65 72 66 65 72 65 20 77 69 74 68 20 74 68 65 20 6c 6f 61 64 69 6e 67 20 6f 66 20 74 68 65 | nterfere.with.the.loading.of.the |
492e0 | 20 75 72 6c 2e 0a 20 20 20 20 43 75 2e 72 65 70 6f 72 74 45 72 72 6f 72 28 65 78 29 3b 0a 20 20 | .url......Cu.reportError(ex);... |
49300 | 7d 0a 0a 20 20 6f 70 65 6e 55 49 4c 69 6e 6b 28 75 72 6c 2c 0a 20 20 20 20 20 20 20 20 20 20 20 | }....openUILink(url,............ |
49320 | 20 20 65 76 65 6e 74 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 74 72 75 65 20 2f 2a 20 69 67 | ..event,..............true./*.ig |
49340 | 6e 6f 72 65 20 74 68 65 20 66 61 63 74 20 74 68 69 73 20 69 73 20 61 20 6d 69 64 64 6c 65 20 63 | nore.the.fact.this.is.a.middle.c |
49360 | 6c 69 63 6b 20 2a 2f 29 3b 0a 0a 20 20 65 76 65 6e 74 2e 73 74 6f 70 50 72 6f 70 61 67 61 74 69 | lick.*/);....event.stopPropagati |
49380 | 6f 6e 28 29 3b 0a 7d 0a 0a 2f 2a 0a 20 2a 20 4e 6f 74 65 20 74 68 61 74 20 6d 6f 73 74 20 6f 66 | on();.}../*..*.Note.that.most.of |
493a0 | 20 74 68 69 73 20 72 6f 75 74 69 6e 65 20 68 61 73 20 62 65 65 6e 20 6d 6f 76 65 64 20 69 6e 74 | .this.routine.has.been.moved.int |
493c0 | 6f 20 43 2b 2b 20 69 6e 20 6f 72 64 65 72 20 74 6f 0a 20 2a 20 62 65 20 61 76 61 69 6c 61 62 6c | o.C++.in.order.to..*.be.availabl |
493e0 | 65 20 66 6f 72 20 61 6c 6c 20 3c 62 72 6f 77 73 65 72 3e 20 74 61 67 73 20 61 73 20 77 65 6c 6c | e.for.all.<browser>.tags.as.well |
49400 | 20 61 73 20 67 65 63 6b 6f 20 65 6d 62 65 64 64 69 6e 67 2e 20 53 65 65 0a 20 2a 20 6d 6f 7a 69 | .as.gecko.embedding..See..*.mozi |
49420 | 6c 6c 61 2f 63 6f 6e 74 65 6e 74 2f 62 61 73 65 2f 73 72 63 2f 6e 73 43 6f 6e 74 65 6e 74 41 72 | lla/content/base/src/nsContentAr |
49440 | 65 61 44 72 61 67 44 72 6f 70 2e 63 70 70 2e 0a 20 2a 0a 20 2a 20 44 6f 20 6e 6f 74 20 61 64 64 | eaDragDrop.cpp...*..*.Do.not.add |
49460 | 20 61 6e 79 20 6e 65 77 20 66 75 63 74 69 6f 6e 61 6c 69 74 79 20 68 65 72 65 20 6f 74 68 65 72 | .any.new.fuctionality.here.other |
49480 | 20 74 68 61 6e 20 77 68 61 74 20 69 73 20 6e 65 65 64 65 64 20 66 6f 72 0a 20 2a 20 61 20 73 74 | .than.what.is.needed.for..*.a.st |
494a0 | 61 6e 64 61 6c 6f 6e 65 20 70 72 6f 64 75 63 74 2e 0a 20 2a 2f 0a 0a 76 61 72 20 63 6f 6e 74 65 | andalone.product...*/..var.conte |
494c0 | 6e 74 41 72 65 61 44 4e 44 4f 62 73 65 72 76 65 72 20 3d 20 7b 0a 20 20 6f 6e 44 72 6f 70 3a 20 | ntAreaDNDObserver.=.{...onDrop:. |
494e0 | 66 75 6e 63 74 69 6f 6e 20 28 61 45 76 65 6e 74 2c 20 61 58 66 65 72 44 61 74 61 2c 20 61 44 72 | function.(aEvent,.aXferData,.aDr |
49500 | 61 67 53 65 73 73 69 6f 6e 29 0a 20 20 20 20 7b 0a 20 20 20 20 20 20 69 66 20 28 61 45 76 65 6e | agSession).....{.......if.(aEven |
49520 | 74 2e 67 65 74 50 72 65 76 65 6e 74 44 65 66 61 75 6c 74 28 29 29 0a 20 20 20 20 20 20 20 20 72 | t.getPreventDefault()).........r |
49540 | 65 74 75 72 6e 3b 0a 0a 20 20 20 20 20 20 76 61 72 20 64 72 61 67 54 79 70 65 20 3d 20 61 58 66 | eturn;........var.dragType.=.aXf |
49560 | 65 72 44 61 74 61 2e 66 6c 61 76 6f 75 72 2e 63 6f 6e 74 65 6e 74 54 79 70 65 3b 0a 20 20 20 20 | erData.flavour.contentType;..... |
49580 | 20 20 76 61 72 20 64 72 61 67 44 61 74 61 20 3d 20 61 58 66 65 72 44 61 74 61 2e 64 61 74 61 3b | ..var.dragData.=.aXferData.data; |
495a0 | 0a 0a 20 20 20 20 20 20 76 61 72 20 75 72 6c 20 3d 20 74 72 61 6e 73 66 65 72 55 74 69 6c 73 2e | ........var.url.=.transferUtils. |
495c0 | 72 65 74 72 69 65 76 65 55 52 4c 46 72 6f 6d 44 61 74 61 28 64 72 61 67 44 61 74 61 2c 20 64 72 | retrieveURLFromData(dragData,.dr |
495e0 | 61 67 54 79 70 65 29 3b 0a 0a 20 20 20 20 20 20 2f 2f 20 76 61 6c 69 64 20 75 72 6c 73 20 64 6f | agType);........//.valid.urls.do |
49600 | 6e 27 74 20 63 6f 6e 74 61 69 6e 20 73 70 61 63 65 73 20 27 20 27 3b 20 69 66 20 77 65 20 68 61 | n't.contain.spaces.'.';.if.we.ha |
49620 | 76 65 20 61 20 73 70 61 63 65 20 69 74 0a 20 20 20 20 20 20 2f 2f 20 69 73 6e 27 74 20 61 20 76 | ve.a.space.it.......//.isn't.a.v |
49640 | 61 6c 69 64 20 75 72 6c 2c 20 6f 72 20 69 66 20 69 74 27 73 20 61 20 6a 61 76 61 73 63 72 69 70 | alid.url,.or.if.it's.a.javascrip |
49660 | 74 3a 20 6f 72 20 64 61 74 61 3a 20 75 72 6c 2c 0a 20 20 20 20 20 20 2f 2f 20 62 61 69 6c 20 6f | t:.or.data:.url,.......//.bail.o |
49680 | 75 74 0a 20 20 20 20 20 20 69 66 20 28 21 75 72 6c 20 7c 7c 20 21 75 72 6c 2e 6c 65 6e 67 74 68 | ut.......if.(!url.||.!url.length |
496a0 | 20 7c 7c 20 75 72 6c 2e 69 6e 64 65 78 4f 66 28 22 20 22 2c 20 30 29 20 21 3d 20 2d 31 20 7c 7c | .||.url.indexOf(".",.0).!=.-1.|| |
496c0 | 0a 20 20 20 20 20 20 20 20 20 20 2f 5e 5c 73 2a 28 6a 61 76 61 73 63 72 69 70 74 7c 64 61 74 61 | .........../^\s*(javascript|data |
496e0 | 29 3a 2f 2e 74 65 73 74 28 75 72 6c 29 29 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a | ):/.test(url)).........return;.. |
49700 | 20 20 20 20 20 20 6e 73 44 72 61 67 41 6e 64 44 72 6f 70 2e 64 72 61 67 44 72 6f 70 53 65 63 75 | ......nsDragAndDrop.dragDropSecu |
49720 | 72 69 74 79 43 68 65 63 6b 28 61 45 76 65 6e 74 2c 20 61 44 72 61 67 53 65 73 73 69 6f 6e 2c 20 | rityCheck(aEvent,.aDragSession,. |
49740 | 75 72 6c 29 3b 0a 0a 20 20 20 20 20 20 73 77 69 74 63 68 20 28 64 6f 63 75 6d 65 6e 74 2e 64 6f | url);........switch.(document.do |
49760 | 63 75 6d 65 6e 74 45 6c 65 6d 65 6e 74 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 27 77 69 6e 64 | cumentElement.getAttribute('wind |
49780 | 6f 77 74 79 70 65 27 29 29 20 7b 0a 20 20 20 20 20 20 20 20 63 61 73 65 20 22 6e 61 76 69 67 61 | owtype')).{.........case."naviga |
497a0 | 74 6f 72 3a 62 72 6f 77 73 65 72 22 3a 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 70 6f 73 74 | tor:browser":...........var.post |
497c0 | 44 61 74 61 20 3d 20 7b 20 7d 3b 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 75 72 69 20 3d 20 | Data.=.{.};...........var.uri.=. |
497e0 | 67 65 74 53 68 6f 72 74 63 75 74 4f 72 55 52 49 28 75 72 6c 2c 20 70 6f 73 74 44 61 74 61 29 3b | getShortcutOrURI(url,.postData); |
49800 | 0a 20 20 20 20 20 20 20 20 20 20 6c 6f 61 64 55 52 49 28 75 72 69 2c 20 6e 75 6c 6c 2c 20 70 6f | ...........loadURI(uri,.null,.po |
49820 | 73 74 44 61 74 61 2e 76 61 6c 75 65 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 | stData.value,.false);........... |
49840 | 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 20 20 63 61 73 65 20 22 6e 61 76 69 67 61 74 6f 72 3a 76 | break;.........case."navigator:v |
49860 | 69 65 77 2d 73 6f 75 72 63 65 22 3a 0a 20 20 20 20 20 20 20 20 20 20 76 69 65 77 53 6f 75 72 63 | iew-source":...........viewSourc |
49880 | 65 28 75 72 6c 29 3b 0a 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 7d | e(url);...........break;.......} |
498a0 | 0a 0a 20 20 20 20 20 20 2f 2f 20 6b 65 65 70 20 74 68 65 20 65 76 65 6e 74 20 66 72 6f 6d 20 62 | ........//.keep.the.event.from.b |
498c0 | 65 69 6e 67 20 68 61 6e 64 6c 65 64 20 62 79 20 74 68 65 20 64 72 61 67 44 72 6f 70 20 6c 69 73 | eing.handled.by.the.dragDrop.lis |
498e0 | 74 65 6e 65 72 73 0a 20 20 20 20 20 20 2f 2f 20 62 75 69 6c 74 2d 69 6e 20 74 6f 20 67 65 63 6b | teners.......//.built-in.to.geck |
49900 | 6f 20 69 66 20 74 68 65 79 20 68 61 70 70 65 6e 20 74 6f 20 62 65 20 61 62 6f 76 65 20 75 73 2e | o.if.they.happen.to.be.above.us. |
49920 | 0a 20 20 20 20 20 20 61 45 76 65 6e 74 2e 70 72 65 76 65 6e 74 44 65 66 61 75 6c 74 28 29 3b 0a | .......aEvent.preventDefault();. |
49940 | 20 20 20 20 7d 2c 0a 0a 20 20 67 65 74 53 75 70 70 6f 72 74 65 64 46 6c 61 76 6f 75 72 73 3a 20 | ....},....getSupportedFlavours:. |
49960 | 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 20 20 7b 0a 20 20 20 20 20 20 76 61 72 20 66 6c 61 76 | function.().....{.......var.flav |
49980 | 6f 75 72 53 65 74 20 3d 20 6e 65 77 20 46 6c 61 76 6f 75 72 53 65 74 28 29 3b 0a 20 20 20 20 20 | ourSet.=.new.FlavourSet();...... |
499a0 | 20 66 6c 61 76 6f 75 72 53 65 74 2e 61 70 70 65 6e 64 46 6c 61 76 6f 75 72 28 54 41 42 5f 44 52 | .flavourSet.appendFlavour(TAB_DR |
499c0 | 4f 50 5f 54 59 50 45 29 3b 0a 20 20 20 20 20 20 66 6c 61 76 6f 75 72 53 65 74 2e 61 70 70 65 6e | OP_TYPE);.......flavourSet.appen |
499e0 | 64 46 6c 61 76 6f 75 72 28 22 74 65 78 74 2f 78 2d 6d 6f 7a 2d 75 72 6c 22 29 3b 0a 20 20 20 20 | dFlavour("text/x-moz-url");..... |
49a00 | 20 20 66 6c 61 76 6f 75 72 53 65 74 2e 61 70 70 65 6e 64 46 6c 61 76 6f 75 72 28 22 74 65 78 74 | ..flavourSet.appendFlavour("text |
49a20 | 2f 70 6c 61 69 6e 22 29 3b 0a 20 20 20 20 20 20 66 6c 61 76 6f 75 72 53 65 74 2e 61 70 70 65 6e | /plain");.......flavourSet.appen |
49a40 | 64 46 6c 61 76 6f 75 72 28 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f 78 2d 6d 6f 7a 2d 66 69 6c 65 | dFlavour("application/x-moz-file |
49a60 | 22 2c 20 22 6e 73 49 46 69 6c 65 22 29 3b 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 66 6c 61 76 | ",."nsIFile");.......return.flav |
49a80 | 6f 75 72 53 65 74 3b 0a 20 20 20 20 7d 0a 0a 7d 3b 0a 0a 66 75 6e 63 74 69 6f 6e 20 4d 75 6c 74 | ourSet;.....}..};..function.Mult |
49aa0 | 69 70 6c 65 78 48 61 6e 64 6c 65 72 28 65 76 65 6e 74 29 0a 7b 20 74 72 79 20 7b 0a 20 20 20 20 | iplexHandler(event).{.try.{..... |
49ac0 | 76 61 72 20 6e 6f 64 65 20 3d 20 65 76 65 6e 74 2e 74 61 72 67 65 74 3b 0a 20 20 20 20 76 61 72 | var.node.=.event.target;.....var |
49ae0 | 20 6e 61 6d 65 20 3d 20 6e 6f 64 65 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 27 6e 61 6d 65 27 | .name.=.node.getAttribute('name' |
49b00 | 29 3b 0a 0a 20 20 20 20 69 66 20 28 6e 61 6d 65 20 3d 3d 20 27 64 65 74 65 63 74 6f 72 47 72 6f | );......if.(name.==.'detectorGro |
49b20 | 75 70 27 29 20 7b 0a 20 20 20 20 20 20 20 20 53 65 74 46 6f 72 63 65 64 44 65 74 65 63 74 6f 72 | up').{.........SetForcedDetector |
49b40 | 28 74 72 75 65 29 3b 0a 20 20 20 20 20 20 20 20 53 65 6c 65 63 74 44 65 74 65 63 74 6f 72 28 65 | (true);.........SelectDetector(e |
49b60 | 76 65 6e 74 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 20 7d 20 65 6c 73 65 20 69 66 20 28 6e 61 6d | vent,.false);.....}.else.if.(nam |
49b80 | 65 20 3d 3d 20 27 63 68 61 72 73 65 74 47 72 6f 75 70 27 29 20 7b 0a 20 20 20 20 20 20 20 20 76 | e.==.'charsetGroup').{.........v |
49ba0 | 61 72 20 63 68 61 72 73 65 74 20 3d 20 6e 6f 64 65 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 27 | ar.charset.=.node.getAttribute(' |
49bc0 | 69 64 27 29 3b 0a 20 20 20 20 20 20 20 20 63 68 61 72 73 65 74 20 3d 20 63 68 61 72 73 65 74 2e | id');.........charset.=.charset. |
49be0 | 73 75 62 73 74 72 69 6e 67 28 27 63 68 61 72 73 65 74 2e 27 2e 6c 65 6e 67 74 68 2c 20 63 68 61 | substring('charset.'.length,.cha |
49c00 | 72 73 65 74 2e 6c 65 6e 67 74 68 29 0a 20 20 20 20 20 20 20 20 53 65 74 46 6f 72 63 65 64 43 68 | rset.length).........SetForcedCh |
49c20 | 61 72 73 65 74 28 63 68 61 72 73 65 74 29 3b 0a 20 20 20 20 7d 20 65 6c 73 65 20 69 66 20 28 6e | arset(charset);.....}.else.if.(n |
49c40 | 61 6d 65 20 3d 3d 20 27 63 68 61 72 73 65 74 43 75 73 74 6f 6d 69 7a 65 27 29 20 7b 0a 20 20 20 | ame.==.'charsetCustomize').{.... |
49c60 | 20 20 20 20 20 2f 2f 64 6f 20 6e 6f 74 68 69 6e 67 20 2d 20 70 6c 65 61 73 65 20 72 65 6d 6f 76 | .....//do.nothing.-.please.remov |
49c80 | 65 20 74 68 69 73 20 65 6c 73 65 20 73 74 61 74 65 6d 65 6e 74 2c 20 6f 6e 63 65 20 74 68 65 20 | e.this.else.statement,.once.the. |
49ca0 | 63 68 61 72 73 65 74 20 70 72 65 66 73 20 6d 6f 76 65 73 20 74 6f 20 74 68 65 20 70 72 65 66 20 | charset.prefs.moves.to.the.pref. |
49cc0 | 77 69 6e 64 6f 77 0a 20 20 20 20 7d 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 20 20 53 65 74 46 | window.....}.else.{.........SetF |
49ce0 | 6f 72 63 65 64 43 68 61 72 73 65 74 28 6e 6f 64 65 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 27 | orcedCharset(node.getAttribute(' |
49d00 | 69 64 27 29 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 7d 20 63 61 74 63 68 28 65 78 29 20 7b 20 61 | id'));.....}.....}.catch(ex).{.a |
49d20 | 6c 65 72 74 28 65 78 29 3b 20 7d 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 53 65 6c 65 63 74 44 65 | lert(ex);.}.}..function.SelectDe |
49d40 | 74 65 63 74 6f 72 28 65 76 65 6e 74 2c 20 64 6f 52 65 6c 6f 61 64 29 0a 7b 0a 20 20 20 20 76 61 | tector(event,.doReload).{.....va |
49d60 | 72 20 75 72 69 20 3d 20 20 65 76 65 6e 74 2e 74 61 72 67 65 74 2e 67 65 74 41 74 74 72 69 62 75 | r.uri.=..event.target.getAttribu |
49d80 | 74 65 28 22 69 64 22 29 3b 0a 20 20 20 20 76 61 72 20 70 72 65 66 76 61 6c 75 65 20 3d 20 75 72 | te("id");.....var.prefvalue.=.ur |
49da0 | 69 2e 73 75 62 73 74 72 69 6e 67 28 27 63 68 61 72 64 65 74 2e 27 2e 6c 65 6e 67 74 68 2c 20 75 | i.substring('chardet.'.length,.u |
49dc0 | 72 69 2e 6c 65 6e 67 74 68 29 3b 0a 20 20 20 20 69 66 20 28 22 6f 66 66 22 20 3d 3d 20 70 72 65 | ri.length);.....if.("off".==.pre |
49de0 | 66 76 61 6c 75 65 29 20 7b 20 2f 2f 20 22 6f 66 66 22 20 69 73 20 73 70 65 63 69 61 6c 20 76 61 | fvalue).{.//."off".is.special.va |
49e00 | 6c 75 65 20 74 6f 20 74 75 72 6e 20 6f 66 66 20 74 68 65 20 64 65 74 65 63 74 6f 72 73 0a 20 20 | lue.to.turn.off.the.detectors... |
49e20 | 20 20 20 20 20 20 70 72 65 66 76 61 6c 75 65 20 3d 20 22 22 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 | ......prefvalue.=."";.....}..... |
49e40 | 20 74 72 79 20 7b 0a 20 20 20 20 20 20 20 20 76 61 72 20 70 72 65 66 20 3d 20 43 6f 6d 70 6f 6e | .try.{.........var.pref.=.Compon |
49e60 | 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 70 72 65 66 65 | ents.classes["@mozilla.org/prefe |
49e80 | 72 65 6e 63 65 73 2d 73 65 72 76 69 63 65 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | rences-service;1"].............. |
49ea0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 | .................getService(Comp |
49ec0 | 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 50 72 65 66 42 72 61 6e 63 68 29 | onents.interfaces.nsIPrefBranch) |
49ee0 | 3b 0a 20 20 20 20 20 20 20 20 76 61 72 20 73 74 72 20 3d 20 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e | ;.........var.str.=..Components. |
49f00 | 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 73 75 70 70 6f 72 74 73 2d 73 | classes["@mozilla.org/supports-s |
49f20 | 74 72 69 6e 67 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | tring;1"]....................... |
49f40 | 20 20 20 20 20 20 20 2e 63 72 65 61 74 65 49 6e 73 74 61 6e 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 | ........createInstance(Component |
49f60 | 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 53 75 70 70 6f 72 74 73 53 74 72 69 6e 67 29 3b | s.interfaces.nsISupportsString); |
49f80 | 0a 0a 20 20 20 20 20 20 20 20 73 74 72 2e 64 61 74 61 20 3d 20 70 72 65 66 76 61 6c 75 65 3b 0a | ..........str.data.=.prefvalue;. |
49fa0 | 20 20 20 20 20 20 20 20 70 72 65 66 2e 73 65 74 43 6f 6d 70 6c 65 78 56 61 6c 75 65 28 22 69 6e | ........pref.setComplexValue("in |
49fc0 | 74 6c 2e 63 68 61 72 73 65 74 2e 64 65 74 65 63 74 6f 72 22 2c 0a 20 20 20 20 20 20 20 20 20 20 | tl.charset.detector",........... |
49fe0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e | ...................Components.in |
4a000 | 74 65 72 66 61 63 65 73 2e 6e 73 49 53 75 70 70 6f 72 74 73 53 74 72 69 6e 67 2c 20 73 74 72 29 | terfaces.nsISupportsString,.str) |
4a020 | 3b 0a 20 20 20 20 20 20 20 20 69 66 20 28 64 6f 52 65 6c 6f 61 64 29 20 77 69 6e 64 6f 77 2e 63 | ;.........if.(doReload).window.c |
4a040 | 6f 6e 74 65 6e 74 2e 6c 6f 63 61 74 69 6f 6e 2e 72 65 6c 6f 61 64 28 29 3b 0a 20 20 20 20 7d 0a | ontent.location.reload();.....}. |
4a060 | 20 20 20 20 63 61 74 63 68 20 28 65 78 29 20 7b 0a 20 20 20 20 20 20 20 20 64 75 6d 70 28 22 46 | ....catch.(ex).{.........dump("F |
4a080 | 61 69 6c 65 64 20 74 6f 20 73 65 74 20 74 68 65 20 69 6e 74 6c 2e 63 68 61 72 73 65 74 2e 64 65 | ailed.to.set.the.intl.charset.de |
4a0a0 | 74 65 63 74 6f 72 20 70 72 65 66 65 72 65 6e 63 65 2e 5c 6e 22 29 3b 0a 20 20 20 20 7d 0a 7d 0a | tector.preference.\n");.....}.}. |
4a0c0 | 0a 66 75 6e 63 74 69 6f 6e 20 53 65 74 46 6f 72 63 65 64 44 65 74 65 63 74 6f 72 28 64 6f 52 65 | .function.SetForcedDetector(doRe |
4a0e0 | 6c 6f 61 64 29 0a 7b 0a 20 20 20 20 42 72 6f 77 73 65 72 53 65 74 46 6f 72 63 65 64 44 65 74 65 | load).{.....BrowserSetForcedDete |
4a100 | 63 74 6f 72 28 64 6f 52 65 6c 6f 61 64 29 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 53 65 74 46 | ctor(doReload);.}..function.SetF |
4a120 | 6f 72 63 65 64 43 68 61 72 73 65 74 28 63 68 61 72 73 65 74 29 0a 7b 0a 20 20 20 20 42 72 6f 77 | orcedCharset(charset).{.....Brow |
4a140 | 73 65 72 53 65 74 46 6f 72 63 65 64 43 68 61 72 61 63 74 65 72 53 65 74 28 63 68 61 72 73 65 74 | serSetForcedCharacterSet(charset |
4a160 | 29 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 42 72 6f 77 73 65 72 53 65 74 46 6f 72 63 65 64 43 | );.}..function.BrowserSetForcedC |
4a180 | 68 61 72 61 63 74 65 72 53 65 74 28 61 43 68 61 72 73 65 74 29 0a 7b 0a 20 20 76 61 72 20 64 6f | haracterSet(aCharset).{...var.do |
4a1a0 | 63 43 68 61 72 73 65 74 20 3d 20 67 42 72 6f 77 73 65 72 2e 64 6f 63 53 68 65 6c 6c 2e 51 75 65 | cCharset.=.gBrowser.docShell.Que |
4a1c0 | 72 79 49 6e 74 65 72 66 61 63 65 28 43 69 2e 6e 73 49 44 6f 63 43 68 61 72 73 65 74 29 3b 0a 20 | ryInterface(Ci.nsIDocCharset);.. |
4a1e0 | 20 64 6f 63 43 68 61 72 73 65 74 2e 63 68 61 72 73 65 74 20 3d 20 61 43 68 61 72 73 65 74 3b 0a | .docCharset.charset.=.aCharset;. |
4a200 | 20 20 2f 2f 20 53 61 76 65 20 74 68 65 20 66 6f 72 63 65 64 20 63 68 61 72 61 63 74 65 72 2d 73 | ..//.Save.the.forced.character-s |
4a220 | 65 74 0a 20 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 68 69 73 74 6f 72 79 2e 73 65 74 43 68 61 72 | et...PlacesUtils.history.setChar |
4a240 | 73 65 74 46 6f 72 55 52 49 28 67 65 74 57 65 62 4e 61 76 69 67 61 74 69 6f 6e 28 29 2e 63 75 72 | setForURI(getWebNavigation().cur |
4a260 | 72 65 6e 74 55 52 49 2c 20 61 43 68 61 72 73 65 74 29 3b 0a 20 20 42 72 6f 77 73 65 72 52 65 6c | rentURI,.aCharset);...BrowserRel |
4a280 | 6f 61 64 57 69 74 68 46 6c 61 67 73 28 6e 73 49 57 65 62 4e 61 76 69 67 61 74 69 6f 6e 2e 4c 4f | oadWithFlags(nsIWebNavigation.LO |
4a2a0 | 41 44 5f 46 4c 41 47 53 5f 43 48 41 52 53 45 54 5f 43 48 41 4e 47 45 29 3b 0a 7d 0a 0a 66 75 6e | AD_FLAGS_CHARSET_CHANGE);.}..fun |
4a2c0 | 63 74 69 6f 6e 20 42 72 6f 77 73 65 72 53 65 74 46 6f 72 63 65 64 44 65 74 65 63 74 6f 72 28 64 | ction.BrowserSetForcedDetector(d |
4a2e0 | 6f 52 65 6c 6f 61 64 29 0a 7b 0a 20 20 67 42 72 6f 77 73 65 72 2e 64 6f 63 75 6d 65 6e 74 43 68 | oReload).{...gBrowser.documentCh |
4a300 | 61 72 73 65 74 49 6e 66 6f 2e 66 6f 72 63 65 64 44 65 74 65 63 74 6f 72 20 3d 20 74 72 75 65 3b | arsetInfo.forcedDetector.=.true; |
4a320 | 0a 20 20 69 66 20 28 64 6f 52 65 6c 6f 61 64 29 0a 20 20 20 20 42 72 6f 77 73 65 72 52 65 6c 6f | ...if.(doReload).....BrowserRelo |
4a340 | 61 64 57 69 74 68 46 6c 61 67 73 28 6e 73 49 57 65 62 4e 61 76 69 67 61 74 69 6f 6e 2e 4c 4f 41 | adWithFlags(nsIWebNavigation.LOA |
4a360 | 44 5f 46 4c 41 47 53 5f 43 48 41 52 53 45 54 5f 43 48 41 4e 47 45 29 3b 0a 7d 0a 0a 66 75 6e 63 | D_FLAGS_CHARSET_CHANGE);.}..func |
4a380 | 74 69 6f 6e 20 55 70 64 61 74 65 43 75 72 72 65 6e 74 43 68 61 72 73 65 74 28 29 0a 7b 0a 20 20 | tion.UpdateCurrentCharset().{... |
4a3a0 | 20 20 2f 2f 20 65 78 74 72 61 63 74 20 74 68 65 20 63 68 61 72 73 65 74 20 66 72 6f 6d 20 44 4f | ..//.extract.the.charset.from.DO |
4a3c0 | 4d 0a 20 20 20 20 76 61 72 20 77 6e 64 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 63 6f 6d 6d 61 6e 64 | M.....var.wnd.=.document.command |
4a3e0 | 44 69 73 70 61 74 63 68 65 72 2e 66 6f 63 75 73 65 64 57 69 6e 64 6f 77 3b 0a 20 20 20 20 69 66 | Dispatcher.focusedWindow;.....if |
4a400 | 20 28 28 77 69 6e 64 6f 77 20 3d 3d 20 77 6e 64 29 20 7c 7c 20 28 77 6e 64 20 3d 3d 20 6e 75 6c | .((window.==.wnd).||.(wnd.==.nul |
4a420 | 6c 29 29 20 77 6e 64 20 3d 20 77 69 6e 64 6f 77 2e 63 6f 6e 74 65 6e 74 3b 0a 0a 20 20 20 20 2f | l)).wnd.=.window.content;....../ |
4a440 | 2f 20 55 6e 63 68 65 63 6b 20 70 72 65 76 69 6f 75 73 20 69 74 65 6d 0a 20 20 20 20 69 66 20 28 | /.Uncheck.previous.item.....if.( |
4a460 | 67 50 72 65 76 43 68 61 72 73 65 74 29 20 7b 0a 20 20 20 20 20 20 20 20 76 61 72 20 70 72 65 66 | gPrevCharset).{.........var.pref |
4a480 | 5f 69 74 65 6d 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 | _item.=.document.getElementById( |
4a4a0 | 27 63 68 61 72 73 65 74 2e 27 20 2b 20 67 50 72 65 76 43 68 61 72 73 65 74 29 3b 0a 20 20 20 20 | 'charset.'.+.gPrevCharset);..... |
4a4c0 | 20 20 20 20 69 66 20 28 70 72 65 66 5f 69 74 65 6d 29 0a 20 20 20 20 20 20 20 20 20 20 70 72 65 | ....if.(pref_item)...........pre |
4a4e0 | 66 5f 69 74 65 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 27 63 68 65 63 6b 65 64 27 2c 20 27 | f_item.setAttribute('checked',.' |
4a500 | 66 61 6c 73 65 27 29 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 76 61 72 20 6d 65 6e 75 69 74 65 6d | false');.....}......var.menuitem |
4a520 | 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 27 63 68 61 72 | .=.document.getElementById('char |
4a540 | 73 65 74 2e 27 20 2b 20 77 6e 64 2e 64 6f 63 75 6d 65 6e 74 2e 63 68 61 72 61 63 74 65 72 53 65 | set.'.+.wnd.document.characterSe |
4a560 | 74 29 3b 0a 20 20 20 20 69 66 20 28 6d 65 6e 75 69 74 65 6d 29 20 7b 0a 20 20 20 20 20 20 20 20 | t);.....if.(menuitem).{......... |
4a580 | 6d 65 6e 75 69 74 65 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 27 63 68 65 63 6b 65 64 27 2c | menuitem.setAttribute('checked', |
4a5a0 | 20 27 74 72 75 65 27 29 3b 0a 20 20 20 20 7d 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 55 70 64 61 | .'true');.....}.}..function.Upda |
4a5c0 | 74 65 43 68 61 72 73 65 74 44 65 74 65 63 74 6f 72 28 29 0a 7b 0a 20 20 20 20 76 61 72 20 70 72 | teCharsetDetector().{.....var.pr |
4a5e0 | 65 66 76 61 6c 75 65 3b 0a 0a 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 20 20 76 61 72 20 | efvalue;......try.{.........var. |
4a600 | 70 72 65 66 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 | pref.=.Components.classes["@mozi |
4a620 | 6c 6c 61 2e 6f 72 67 2f 70 72 65 66 65 72 65 6e 63 65 73 2d 73 65 72 76 69 63 65 3b 31 22 5d 0a | lla.org/preferences-service;1"]. |
4a640 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 | ..............................ge |
4a660 | 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e | tService(Components.interfaces.n |
4a680 | 73 49 50 72 65 66 42 72 61 6e 63 68 29 3b 0a 20 20 20 20 20 20 20 20 70 72 65 66 76 61 6c 75 65 | sIPrefBranch);.........prefvalue |
4a6a0 | 20 3d 20 70 72 65 66 2e 67 65 74 43 6f 6d 70 6c 65 78 56 61 6c 75 65 28 22 69 6e 74 6c 2e 63 68 | .=.pref.getComplexValue("intl.ch |
4a6c0 | 61 72 73 65 74 2e 64 65 74 65 63 74 6f 72 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | arset.detector",................ |
4a6e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 43 6f 6d 70 6f 6e | ..........................Compon |
4a700 | 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 50 72 65 66 4c 6f 63 61 6c 69 7a 65 64 | ents.interfaces.nsIPrefLocalized |
4a720 | 53 74 72 69 6e 67 29 2e 64 61 74 61 3b 0a 20 20 20 20 7d 0a 20 20 20 20 63 61 74 63 68 20 28 65 | String).data;.....}.....catch.(e |
4a740 | 78 29 20 7b 0a 20 20 20 20 20 20 20 20 70 72 65 66 76 61 6c 75 65 20 3d 20 22 22 3b 0a 20 20 20 | x).{.........prefvalue.=."";.... |
4a760 | 20 7d 0a 0a 20 20 20 20 69 66 20 28 70 72 65 66 76 61 6c 75 65 20 3d 3d 20 22 22 29 20 70 72 65 | .}......if.(prefvalue.==."").pre |
4a780 | 66 76 61 6c 75 65 20 3d 20 22 6f 66 66 22 3b 0a 20 20 20 20 64 75 6d 70 28 22 69 6e 74 6c 2e 63 | fvalue.=."off";.....dump("intl.c |
4a7a0 | 68 61 72 73 65 74 2e 64 65 74 65 63 74 6f 72 20 3d 20 22 2b 20 70 72 65 66 76 61 6c 75 65 20 2b | harset.detector.=."+.prefvalue.+ |
4a7c0 | 20 22 5c 6e 22 29 3b 0a 0a 20 20 20 20 70 72 65 66 76 61 6c 75 65 20 3d 20 27 63 68 61 72 64 65 | ."\n");......prefvalue.=.'charde |
4a7e0 | 74 2e 27 20 2b 20 70 72 65 66 76 61 6c 75 65 3b 0a 20 20 20 20 76 61 72 20 6d 65 6e 75 69 74 65 | t.'.+.prefvalue;.....var.menuite |
4a800 | 6d 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 70 72 65 66 | m.=.document.getElementById(pref |
4a820 | 76 61 6c 75 65 29 3b 0a 0a 20 20 20 20 69 66 20 28 6d 65 6e 75 69 74 65 6d 29 20 7b 0a 20 20 20 | value);......if.(menuitem).{.... |
4a840 | 20 20 20 20 20 6d 65 6e 75 69 74 65 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 27 63 68 65 63 | .....menuitem.setAttribute('chec |
4a860 | 6b 65 64 27 2c 20 27 74 72 75 65 27 29 3b 0a 20 20 20 20 7d 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e | ked',.'true');.....}.}..function |
4a880 | 20 55 70 64 61 74 65 4d 65 6e 75 73 28 65 76 65 6e 74 29 0a 7b 0a 20 20 20 20 2f 2f 20 75 73 65 | .UpdateMenus(event).{.....//.use |
4a8a0 | 20 73 65 74 54 69 6d 65 6f 75 74 20 77 6f 72 6b 61 72 6f 75 6e 64 20 74 6f 20 64 65 6c 61 79 20 | .setTimeout.workaround.to.delay. |
4a8c0 | 63 68 65 63 6b 6d 61 72 6b 20 74 68 65 20 6d 65 6e 75 0a 20 20 20 20 2f 2f 20 77 68 65 6e 20 6f | checkmark.the.menu.....//.when.o |
4a8e0 | 6e 6d 65 6e 75 63 6f 6d 70 6c 65 74 65 20 69 73 20 72 65 61 64 79 20 74 68 65 6e 20 75 73 65 20 | nmenucomplete.is.ready.then.use. |
4a900 | 69 74 20 69 6e 73 74 65 61 64 20 6f 66 20 6f 6e 63 72 65 61 74 65 0a 20 20 20 20 2f 2f 20 73 65 | it.instead.of.oncreate.....//.se |
4a920 | 65 20 62 75 67 20 37 38 32 39 30 20 66 6f 72 20 74 68 65 20 64 65 74 61 69 6c 0a 20 20 20 20 55 | e.bug.78290.for.the.detail.....U |
4a940 | 70 64 61 74 65 43 75 72 72 65 6e 74 43 68 61 72 73 65 74 28 29 3b 0a 20 20 20 20 73 65 74 54 69 | pdateCurrentCharset();.....setTi |
4a960 | 6d 65 6f 75 74 28 55 70 64 61 74 65 43 75 72 72 65 6e 74 43 68 61 72 73 65 74 2c 20 30 29 3b 0a | meout(UpdateCurrentCharset,.0);. |
4a980 | 20 20 20 20 55 70 64 61 74 65 43 68 61 72 73 65 74 44 65 74 65 63 74 6f 72 28 29 3b 0a 20 20 20 | ....UpdateCharsetDetector();.... |
4a9a0 | 20 73 65 74 54 69 6d 65 6f 75 74 28 55 70 64 61 74 65 43 68 61 72 73 65 74 44 65 74 65 63 74 6f | .setTimeout(UpdateCharsetDetecto |
4a9c0 | 72 2c 20 30 29 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 43 72 65 61 74 65 4d 65 6e 75 28 6e 6f | r,.0);.}..function.CreateMenu(no |
4a9e0 | 64 65 29 0a 7b 0a 20 20 76 61 72 20 6f 62 73 65 72 76 65 72 53 65 72 76 69 63 65 20 3d 20 43 6f | de).{...var.observerService.=.Co |
4aa00 | 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6f | mponents.classes["@mozilla.org/o |
4aa20 | 62 73 65 72 76 65 72 2d 73 65 72 76 69 63 65 3b 31 22 5d 2e 67 65 74 53 65 72 76 69 63 65 28 43 | bserver-service;1"].getService(C |
4aa40 | 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 4f 62 73 65 72 76 65 72 | omponents.interfaces.nsIObserver |
4aa60 | 53 65 72 76 69 63 65 29 3b 0a 20 20 6f 62 73 65 72 76 65 72 53 65 72 76 69 63 65 2e 6e 6f 74 69 | Service);...observerService.noti |
4aa80 | 66 79 4f 62 73 65 72 76 65 72 73 28 6e 75 6c 6c 2c 20 22 63 68 61 72 73 65 74 6d 65 6e 75 2d 73 | fyObservers(null,."charsetmenu-s |
4aaa0 | 65 6c 65 63 74 65 64 22 2c 20 6e 6f 64 65 29 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 63 68 61 | elected",.node);.}..function.cha |
4aac0 | 72 73 65 74 4c 6f 61 64 4c 69 73 74 65 6e 65 72 20 28 65 76 65 6e 74 29 0a 7b 0a 20 20 20 20 76 | rsetLoadListener.(event).{.....v |
4aae0 | 61 72 20 63 68 61 72 73 65 74 20 3d 20 77 69 6e 64 6f 77 2e 63 6f 6e 74 65 6e 74 2e 64 6f 63 75 | ar.charset.=.window.content.docu |
4ab00 | 6d 65 6e 74 2e 63 68 61 72 61 63 74 65 72 53 65 74 3b 0a 0a 20 20 20 20 69 66 20 28 63 68 61 72 | ment.characterSet;......if.(char |
4ab20 | 73 65 74 2e 6c 65 6e 67 74 68 20 3e 20 30 20 26 26 20 28 63 68 61 72 73 65 74 20 21 3d 20 67 4c | set.length.>.0.&&.(charset.!=.gL |
4ab40 | 61 73 74 42 72 6f 77 73 65 72 43 68 61 72 73 65 74 29 29 20 7b 0a 20 20 20 20 20 20 20 20 69 66 | astBrowserCharset)).{.........if |
4ab60 | 20 28 21 67 43 68 61 72 73 65 74 4d 65 6e 75 29 0a 20 20 20 20 20 20 20 20 20 20 67 43 68 61 72 | .(!gCharsetMenu)...........gChar |
4ab80 | 73 65 74 4d 65 6e 75 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 27 40 6d | setMenu.=.Components.classes['@m |
4aba0 | 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 72 64 66 2f 64 61 74 61 73 6f 75 72 63 65 3b 31 3f 6e 61 6d 65 | ozilla.org/rdf/datasource;1?name |
4abc0 | 3d 63 68 61 72 73 65 74 2d 6d 65 6e 75 27 5d 2e 67 65 74 53 65 72 76 69 63 65 28 29 2e 51 75 65 | =charset-menu'].getService().Que |
4abe0 | 72 79 49 6e 74 65 72 66 61 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 | ryInterface(Components.interface |
4ac00 | 73 2e 6e 73 49 43 75 72 72 65 6e 74 43 68 61 72 73 65 74 4c 69 73 74 65 6e 65 72 29 3b 0a 20 20 | s.nsICurrentCharsetListener);... |
4ac20 | 20 20 20 20 20 20 67 43 68 61 72 73 65 74 4d 65 6e 75 2e 53 65 74 43 75 72 72 65 6e 74 43 68 61 | ......gCharsetMenu.SetCurrentCha |
4ac40 | 72 73 65 74 28 63 68 61 72 73 65 74 29 3b 0a 20 20 20 20 20 20 20 20 67 50 72 65 76 43 68 61 72 | rset(charset);.........gPrevChar |
4ac60 | 73 65 74 20 3d 20 67 4c 61 73 74 42 72 6f 77 73 65 72 43 68 61 72 73 65 74 3b 0a 20 20 20 20 20 | set.=.gLastBrowserCharset;...... |
4ac80 | 20 20 20 67 4c 61 73 74 42 72 6f 77 73 65 72 43 68 61 72 73 65 74 20 3d 20 63 68 61 72 73 65 74 | ...gLastBrowserCharset.=.charset |
4aca0 | 3b 0a 20 20 20 20 7d 0a 7d 0a 0a 2f 2a 20 42 65 67 69 6e 20 50 61 67 65 20 53 74 79 6c 65 20 46 | ;.....}.}../*.Begin.Page.Style.F |
4acc0 | 75 6e 63 74 69 6f 6e 73 20 2a 2f 0a 66 75 6e 63 74 69 6f 6e 20 67 65 74 41 6c 6c 53 74 79 6c 65 | unctions.*/.function.getAllStyle |
4ace0 | 53 68 65 65 74 73 28 66 72 61 6d 65 73 65 74 29 20 7b 0a 20 20 76 61 72 20 73 74 79 6c 65 53 68 | Sheets(frameset).{...var.styleSh |
4ad00 | 65 65 74 73 41 72 72 61 79 20 3d 20 41 72 72 61 79 2e 73 6c 69 63 65 28 66 72 61 6d 65 73 65 74 | eetsArray.=.Array.slice(frameset |
4ad20 | 2e 64 6f 63 75 6d 65 6e 74 2e 73 74 79 6c 65 53 68 65 65 74 73 29 3b 0a 20 20 66 6f 72 20 28 6c | .document.styleSheets);...for.(l |
4ad40 | 65 74 20 69 20 3d 20 30 3b 20 69 20 3c 20 66 72 61 6d 65 73 65 74 2e 66 72 61 6d 65 73 2e 6c 65 | et.i.=.0;.i.<.frameset.frames.le |
4ad60 | 6e 67 74 68 3b 20 69 2b 2b 29 20 7b 0a 20 20 20 20 6c 65 74 20 66 72 61 6d 65 53 68 65 65 74 73 | ngth;.i++).{.....let.frameSheets |
4ad80 | 20 3d 20 67 65 74 41 6c 6c 53 74 79 6c 65 53 68 65 65 74 73 28 66 72 61 6d 65 73 65 74 2e 66 72 | .=.getAllStyleSheets(frameset.fr |
4ada0 | 61 6d 65 73 5b 69 5d 29 3b 0a 20 20 20 20 73 74 79 6c 65 53 68 65 65 74 73 41 72 72 61 79 20 3d | ames[i]);.....styleSheetsArray.= |
4adc0 | 20 73 74 79 6c 65 53 68 65 65 74 73 41 72 72 61 79 2e 63 6f 6e 63 61 74 28 66 72 61 6d 65 53 68 | .styleSheetsArray.concat(frameSh |
4ade0 | 65 65 74 73 29 3b 0a 20 20 7d 0a 20 20 72 65 74 75 72 6e 20 73 74 79 6c 65 53 68 65 65 74 73 41 | eets);...}...return.styleSheetsA |
4ae00 | 72 72 61 79 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 73 74 79 6c 65 73 68 65 65 74 46 69 6c 6c | rray;.}..function.stylesheetFill |
4ae20 | 50 6f 70 75 70 28 6d 65 6e 75 50 6f 70 75 70 29 20 7b 0a 20 20 76 61 72 20 6e 6f 53 74 79 6c 65 | Popup(menuPopup).{...var.noStyle |
4ae40 | 20 3d 20 6d 65 6e 75 50 6f 70 75 70 2e 66 69 72 73 74 43 68 69 6c 64 3b 0a 20 20 76 61 72 20 70 | .=.menuPopup.firstChild;...var.p |
4ae60 | 65 72 73 69 73 74 65 6e 74 4f 6e 6c 79 20 3d 20 6e 6f 53 74 79 6c 65 2e 6e 65 78 74 53 69 62 6c | ersistentOnly.=.noStyle.nextSibl |
4ae80 | 69 6e 67 3b 0a 20 20 76 61 72 20 73 65 70 20 3d 20 70 65 72 73 69 73 74 65 6e 74 4f 6e 6c 79 2e | ing;...var.sep.=.persistentOnly. |
4aea0 | 6e 65 78 74 53 69 62 6c 69 6e 67 3b 0a 20 20 77 68 69 6c 65 20 28 73 65 70 2e 6e 65 78 74 53 69 | nextSibling;...while.(sep.nextSi |
4aec0 | 62 6c 69 6e 67 29 0a 20 20 20 20 6d 65 6e 75 50 6f 70 75 70 2e 72 65 6d 6f 76 65 43 68 69 6c 64 | bling).....menuPopup.removeChild |
4aee0 | 28 73 65 70 2e 6e 65 78 74 53 69 62 6c 69 6e 67 29 3b 0a 0a 20 20 76 61 72 20 73 74 79 6c 65 53 | (sep.nextSibling);....var.styleS |
4af00 | 68 65 65 74 73 20 3d 20 67 65 74 41 6c 6c 53 74 79 6c 65 53 68 65 65 74 73 28 77 69 6e 64 6f 77 | heets.=.getAllStyleSheets(window |
4af20 | 2e 63 6f 6e 74 65 6e 74 29 3b 0a 20 20 76 61 72 20 63 75 72 72 65 6e 74 53 74 79 6c 65 53 68 65 | .content);...var.currentStyleShe |
4af40 | 65 74 73 20 3d 20 7b 7d 3b 0a 20 20 76 61 72 20 73 74 79 6c 65 44 69 73 61 62 6c 65 64 20 3d 20 | ets.=.{};...var.styleDisabled.=. |
4af60 | 67 65 74 4d 61 72 6b 75 70 44 6f 63 75 6d 65 6e 74 56 69 65 77 65 72 28 29 2e 61 75 74 68 6f 72 | getMarkupDocumentViewer().author |
4af80 | 53 74 79 6c 65 44 69 73 61 62 6c 65 64 3b 0a 20 20 76 61 72 20 68 61 76 65 41 6c 74 53 68 65 65 | StyleDisabled;...var.haveAltShee |
4afa0 | 74 73 20 3d 20 66 61 6c 73 65 3b 0a 20 20 76 61 72 20 61 6c 74 53 74 79 6c 65 53 65 6c 65 63 74 | ts.=.false;...var.altStyleSelect |
4afc0 | 65 64 20 3d 20 66 61 6c 73 65 3b 0a 0a 20 20 66 6f 72 20 28 6c 65 74 20 69 20 3d 20 30 3b 20 69 | ed.=.false;....for.(let.i.=.0;.i |
4afe0 | 20 3c 20 73 74 79 6c 65 53 68 65 65 74 73 2e 6c 65 6e 67 74 68 3b 20 2b 2b 69 29 20 7b 0a 20 20 | .<.styleSheets.length;.++i).{... |
4b000 | 20 20 6c 65 74 20 63 75 72 72 65 6e 74 53 74 79 6c 65 53 68 65 65 74 20 3d 20 73 74 79 6c 65 53 | ..let.currentStyleSheet.=.styleS |
4b020 | 68 65 65 74 73 5b 69 5d 3b 0a 0a 20 20 20 20 69 66 20 28 21 63 75 72 72 65 6e 74 53 74 79 6c 65 | heets[i];......if.(!currentStyle |
4b040 | 53 68 65 65 74 2e 74 69 74 6c 65 29 0a 20 20 20 20 20 20 63 6f 6e 74 69 6e 75 65 3b 0a 0a 20 20 | Sheet.title).......continue;.... |
4b060 | 20 20 2f 2f 20 53 6b 69 70 20 61 6e 79 20 73 74 79 6c 65 73 68 65 65 74 73 20 74 68 61 74 20 64 | ..//.Skip.any.stylesheets.that.d |
4b080 | 6f 6e 27 74 20 6d 61 74 63 68 20 74 68 65 20 73 63 72 65 65 6e 20 6d 65 64 69 61 20 74 79 70 65 | on't.match.the.screen.media.type |
4b0a0 | 2e 0a 20 20 20 20 6c 65 74 20 28 6d 65 64 69 61 20 3d 20 63 75 72 72 65 6e 74 53 74 79 6c 65 53 | ......let.(media.=.currentStyleS |
4b0c0 | 68 65 65 74 2e 6d 65 64 69 61 2e 6d 65 64 69 61 54 65 78 74 2e 74 6f 4c 6f 77 65 72 43 61 73 65 | heet.media.mediaText.toLowerCase |
4b0e0 | 28 29 29 20 7b 0a 20 20 20 20 20 20 69 66 20 28 6d 65 64 69 61 20 26 26 20 28 6d 65 64 69 61 2e | ()).{.......if.(media.&&.(media. |
4b100 | 69 6e 64 65 78 4f 66 28 22 73 63 72 65 65 6e 22 29 20 3d 3d 20 2d 31 29 20 26 26 20 28 6d 65 64 | indexOf("screen").==.-1).&&.(med |
4b120 | 69 61 2e 69 6e 64 65 78 4f 66 28 22 61 6c 6c 22 29 20 3d 3d 20 2d 31 29 29 0a 20 20 20 20 20 20 | ia.indexOf("all").==.-1))....... |
4b140 | 20 20 63 6f 6e 74 69 6e 75 65 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 69 66 20 28 21 63 75 72 72 | ..continue;.....}......if.(!curr |
4b160 | 65 6e 74 53 74 79 6c 65 53 68 65 65 74 2e 64 69 73 61 62 6c 65 64 29 0a 20 20 20 20 20 20 61 6c | entStyleSheet.disabled).......al |
4b180 | 74 53 74 79 6c 65 53 65 6c 65 63 74 65 64 20 3d 20 74 72 75 65 3b 0a 0a 20 20 20 20 68 61 76 65 | tStyleSelected.=.true;......have |
4b1a0 | 41 6c 74 53 68 65 65 74 73 20 3d 20 74 72 75 65 3b 0a 0a 20 20 20 20 6c 65 74 20 6c 61 73 74 57 | AltSheets.=.true;......let.lastW |
4b1c0 | 69 74 68 53 61 6d 65 54 69 74 6c 65 20 3d 20 6e 75 6c 6c 3b 0a 20 20 20 20 69 66 20 28 63 75 72 | ithSameTitle.=.null;.....if.(cur |
4b1e0 | 72 65 6e 74 53 74 79 6c 65 53 68 65 65 74 2e 74 69 74 6c 65 20 69 6e 20 63 75 72 72 65 6e 74 53 | rentStyleSheet.title.in.currentS |
4b200 | 74 79 6c 65 53 68 65 65 74 73 29 0a 20 20 20 20 20 20 6c 61 73 74 57 69 74 68 53 61 6d 65 54 69 | tyleSheets).......lastWithSameTi |
4b220 | 74 6c 65 20 3d 20 63 75 72 72 65 6e 74 53 74 79 6c 65 53 68 65 65 74 73 5b 63 75 72 72 65 6e 74 | tle.=.currentStyleSheets[current |
4b240 | 53 74 79 6c 65 53 68 65 65 74 2e 74 69 74 6c 65 5d 3b 0a 0a 20 20 20 20 69 66 20 28 21 6c 61 73 | StyleSheet.title];......if.(!las |
4b260 | 74 57 69 74 68 53 61 6d 65 54 69 74 6c 65 29 20 7b 0a 20 20 20 20 20 20 6c 65 74 20 6d 65 6e 75 | tWithSameTitle).{.......let.menu |
4b280 | 49 74 65 6d 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 63 72 65 61 74 65 45 6c 65 6d 65 6e 74 28 22 6d | Item.=.document.createElement("m |
4b2a0 | 65 6e 75 69 74 65 6d 22 29 3b 0a 20 20 20 20 20 20 6d 65 6e 75 49 74 65 6d 2e 73 65 74 41 74 74 | enuitem");.......menuItem.setAtt |
4b2c0 | 72 69 62 75 74 65 28 22 74 79 70 65 22 2c 20 22 72 61 64 69 6f 22 29 3b 0a 20 20 20 20 20 20 6d | ribute("type",."radio");.......m |
4b2e0 | 65 6e 75 49 74 65 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 6c 61 62 65 6c 22 2c 20 63 75 | enuItem.setAttribute("label",.cu |
4b300 | 72 72 65 6e 74 53 74 79 6c 65 53 68 65 65 74 2e 74 69 74 6c 65 29 3b 0a 20 20 20 20 20 20 6d 65 | rrentStyleSheet.title);.......me |
4b320 | 6e 75 49 74 65 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 64 61 74 61 22 2c 20 63 75 72 72 | nuItem.setAttribute("data",.curr |
4b340 | 65 6e 74 53 74 79 6c 65 53 68 65 65 74 2e 74 69 74 6c 65 29 3b 0a 20 20 20 20 20 20 6d 65 6e 75 | entStyleSheet.title);.......menu |
4b360 | 49 74 65 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 63 68 65 63 6b 65 64 22 2c 20 21 63 75 | Item.setAttribute("checked",.!cu |
4b380 | 72 72 65 6e 74 53 74 79 6c 65 53 68 65 65 74 2e 64 69 73 61 62 6c 65 64 20 26 26 20 21 73 74 79 | rrentStyleSheet.disabled.&&.!sty |
4b3a0 | 6c 65 44 69 73 61 62 6c 65 64 29 3b 0a 20 20 20 20 20 20 6d 65 6e 75 50 6f 70 75 70 2e 61 70 70 | leDisabled);.......menuPopup.app |
4b3c0 | 65 6e 64 43 68 69 6c 64 28 6d 65 6e 75 49 74 65 6d 29 3b 0a 20 20 20 20 20 20 63 75 72 72 65 6e | endChild(menuItem);.......curren |
4b3e0 | 74 53 74 79 6c 65 53 68 65 65 74 73 5b 63 75 72 72 65 6e 74 53 74 79 6c 65 53 68 65 65 74 2e 74 | tStyleSheets[currentStyleSheet.t |
4b400 | 69 74 6c 65 5d 20 3d 20 6d 65 6e 75 49 74 65 6d 3b 0a 20 20 20 20 7d 20 65 6c 73 65 20 69 66 20 | itle].=.menuItem;.....}.else.if. |
4b420 | 28 63 75 72 72 65 6e 74 53 74 79 6c 65 53 68 65 65 74 2e 64 69 73 61 62 6c 65 64 29 20 7b 0a 20 | (currentStyleSheet.disabled).{.. |
4b440 | 20 20 20 20 20 6c 61 73 74 57 69 74 68 53 61 6d 65 54 69 74 6c 65 2e 72 65 6d 6f 76 65 41 74 74 | .....lastWithSameTitle.removeAtt |
4b460 | 72 69 62 75 74 65 28 22 63 68 65 63 6b 65 64 22 29 3b 0a 20 20 20 20 7d 0a 20 20 7d 0a 0a 20 20 | ribute("checked");.....}...}.... |
4b480 | 6e 6f 53 74 79 6c 65 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 63 68 65 63 6b 65 64 22 2c 20 | noStyle.setAttribute("checked",. |
4b4a0 | 73 74 79 6c 65 44 69 73 61 62 6c 65 64 29 3b 0a 20 20 70 65 72 73 69 73 74 65 6e 74 4f 6e 6c 79 | styleDisabled);...persistentOnly |
4b4c0 | 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 63 68 65 63 6b 65 64 22 2c 20 21 61 6c 74 53 74 79 | .setAttribute("checked",.!altSty |
4b4e0 | 6c 65 53 65 6c 65 63 74 65 64 20 26 26 20 21 73 74 79 6c 65 44 69 73 61 62 6c 65 64 29 3b 0a 20 | leSelected.&&.!styleDisabled);.. |
4b500 | 20 70 65 72 73 69 73 74 65 6e 74 4f 6e 6c 79 2e 68 69 64 64 65 6e 20 3d 20 28 77 69 6e 64 6f 77 | .persistentOnly.hidden.=.(window |
4b520 | 2e 63 6f 6e 74 65 6e 74 2e 64 6f 63 75 6d 65 6e 74 2e 70 72 65 66 65 72 72 65 64 53 74 79 6c 65 | .content.document.preferredStyle |
4b540 | 53 68 65 65 74 53 65 74 29 20 3f 20 68 61 76 65 41 6c 74 53 68 65 65 74 73 20 3a 20 66 61 6c 73 | SheetSet).?.haveAltSheets.:.fals |
4b560 | 65 3b 0a 20 20 73 65 70 2e 68 69 64 64 65 6e 20 3d 20 28 6e 6f 53 74 79 6c 65 2e 68 69 64 64 65 | e;...sep.hidden.=.(noStyle.hidde |
4b580 | 6e 20 26 26 20 70 65 72 73 69 73 74 65 6e 74 4f 6e 6c 79 2e 68 69 64 64 65 6e 29 20 7c 7c 20 21 | n.&&.persistentOnly.hidden).||.! |
4b5a0 | 68 61 76 65 41 6c 74 53 68 65 65 74 73 3b 0a 20 20 72 65 74 75 72 6e 20 74 72 75 65 3b 0a 7d 0a | haveAltSheets;...return.true;.}. |
4b5c0 | 0a 66 75 6e 63 74 69 6f 6e 20 73 74 79 6c 65 73 68 65 65 74 49 6e 46 72 61 6d 65 28 66 72 61 6d | .function.stylesheetInFrame(fram |
4b5e0 | 65 2c 20 74 69 74 6c 65 29 20 7b 0a 20 20 72 65 74 75 72 6e 20 41 72 72 61 79 2e 73 6f 6d 65 28 | e,.title).{...return.Array.some( |
4b600 | 66 72 61 6d 65 2e 64 6f 63 75 6d 65 6e 74 2e 73 74 79 6c 65 53 68 65 65 74 73 2c 0a 20 20 20 20 | frame.document.styleSheets,..... |
4b620 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 75 6e 63 74 69 6f 6e 20 28 73 74 79 6c 65 73 | ................function.(styles |
4b640 | 68 65 65 74 29 20 73 74 79 6c 65 73 68 65 65 74 2e 74 69 74 6c 65 20 3d 3d 20 74 69 74 6c 65 29 | heet).stylesheet.title.==.title) |
4b660 | 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 73 74 79 6c 65 73 68 65 65 74 53 77 69 74 63 68 46 72 | ;.}..function.stylesheetSwitchFr |
4b680 | 61 6d 65 28 66 72 61 6d 65 2c 20 74 69 74 6c 65 29 20 7b 0a 20 20 76 61 72 20 64 6f 63 53 74 79 | ame(frame,.title).{...var.docSty |
4b6a0 | 6c 65 53 68 65 65 74 73 20 3d 20 66 72 61 6d 65 2e 64 6f 63 75 6d 65 6e 74 2e 73 74 79 6c 65 53 | leSheets.=.frame.document.styleS |
4b6c0 | 68 65 65 74 73 3b 0a 0a 20 20 66 6f 72 20 28 6c 65 74 20 69 20 3d 20 30 3b 20 69 20 3c 20 64 6f | heets;....for.(let.i.=.0;.i.<.do |
4b6e0 | 63 53 74 79 6c 65 53 68 65 65 74 73 2e 6c 65 6e 67 74 68 3b 20 2b 2b 69 29 20 7b 0a 20 20 20 20 | cStyleSheets.length;.++i).{..... |
4b700 | 6c 65 74 20 64 6f 63 53 74 79 6c 65 53 68 65 65 74 20 3d 20 64 6f 63 53 74 79 6c 65 53 68 65 65 | let.docStyleSheet.=.docStyleShee |
4b720 | 74 73 5b 69 5d 3b 0a 0a 20 20 20 20 69 66 20 28 74 69 74 6c 65 20 3d 3d 20 22 5f 6e 6f 73 74 79 | ts[i];......if.(title.==."_nosty |
4b740 | 6c 65 22 29 0a 20 20 20 20 20 20 64 6f 63 53 74 79 6c 65 53 68 65 65 74 2e 64 69 73 61 62 6c 65 | le").......docStyleSheet.disable |
4b760 | 64 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 65 6c 73 65 20 69 66 20 28 64 6f 63 53 74 79 6c 65 53 | d.=.true;.....else.if.(docStyleS |
4b780 | 68 65 65 74 2e 74 69 74 6c 65 29 0a 20 20 20 20 20 20 64 6f 63 53 74 79 6c 65 53 68 65 65 74 2e | heet.title).......docStyleSheet. |
4b7a0 | 64 69 73 61 62 6c 65 64 20 3d 20 28 64 6f 63 53 74 79 6c 65 53 68 65 65 74 2e 74 69 74 6c 65 20 | disabled.=.(docStyleSheet.title. |
4b7c0 | 21 3d 20 74 69 74 6c 65 29 3b 0a 20 20 20 20 65 6c 73 65 20 69 66 20 28 64 6f 63 53 74 79 6c 65 | !=.title);.....else.if.(docStyle |
4b7e0 | 53 68 65 65 74 2e 64 69 73 61 62 6c 65 64 29 0a 20 20 20 20 20 20 64 6f 63 53 74 79 6c 65 53 68 | Sheet.disabled).......docStyleSh |
4b800 | 65 65 74 2e 64 69 73 61 62 6c 65 64 20 3d 20 66 61 6c 73 65 3b 0a 20 20 7d 0a 7d 0a 0a 66 75 6e | eet.disabled.=.false;...}.}..fun |
4b820 | 63 74 69 6f 6e 20 73 74 79 6c 65 73 68 65 65 74 53 77 69 74 63 68 41 6c 6c 28 66 72 61 6d 65 73 | ction.stylesheetSwitchAll(frames |
4b840 | 65 74 2c 20 74 69 74 6c 65 29 20 7b 0a 20 20 69 66 20 28 21 74 69 74 6c 65 20 7c 7c 20 74 69 74 | et,.title).{...if.(!title.||.tit |
4b860 | 6c 65 20 3d 3d 20 22 5f 6e 6f 73 74 79 6c 65 22 20 7c 7c 20 73 74 79 6c 65 73 68 65 65 74 49 6e | le.==."_nostyle".||.stylesheetIn |
4b880 | 46 72 61 6d 65 28 66 72 61 6d 65 73 65 74 2c 20 74 69 74 6c 65 29 29 0a 20 20 20 20 73 74 79 6c | Frame(frameset,.title)).....styl |
4b8a0 | 65 73 68 65 65 74 53 77 69 74 63 68 46 72 61 6d 65 28 66 72 61 6d 65 73 65 74 2c 20 74 69 74 6c | esheetSwitchFrame(frameset,.titl |
4b8c0 | 65 29 3b 0a 0a 20 20 66 6f 72 20 28 6c 65 74 20 69 20 3d 20 30 3b 20 69 20 3c 20 66 72 61 6d 65 | e);....for.(let.i.=.0;.i.<.frame |
4b8e0 | 73 65 74 2e 66 72 61 6d 65 73 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 0a 20 20 20 20 73 74 79 6c | set.frames.length;.i++).....styl |
4b900 | 65 73 68 65 65 74 53 77 69 74 63 68 41 6c 6c 28 66 72 61 6d 65 73 65 74 2e 66 72 61 6d 65 73 5b | esheetSwitchAll(frameset.frames[ |
4b920 | 69 5d 2c 20 74 69 74 6c 65 29 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 73 65 74 53 74 79 6c 65 | i],.title);.}..function.setStyle |
4b940 | 44 69 73 61 62 6c 65 64 28 64 69 73 61 62 6c 65 64 29 20 7b 0a 20 20 67 65 74 4d 61 72 6b 75 70 | Disabled(disabled).{...getMarkup |
4b960 | 44 6f 63 75 6d 65 6e 74 56 69 65 77 65 72 28 29 2e 61 75 74 68 6f 72 53 74 79 6c 65 44 69 73 61 | DocumentViewer().authorStyleDisa |
4b980 | 62 6c 65 64 20 3d 20 64 69 73 61 62 6c 65 64 3b 0a 7d 0a 2f 2a 20 45 6e 64 20 6f 66 20 74 68 65 | bled.=.disabled;.}./*.End.of.the |
4b9a0 | 20 50 61 67 65 20 53 74 79 6c 65 20 66 75 6e 63 74 69 6f 6e 73 20 2a 2f 0a 0a 76 61 72 20 42 72 | .Page.Style.functions.*/..var.Br |
4b9c0 | 6f 77 73 65 72 4f 66 66 6c 69 6e 65 20 3d 20 7b 0a 20 20 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f | owserOffline.=.{...///////////// |
4b9e0 | 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f | //////////////////////////////// |
4ba00 | 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f | //////////////////////////////// |
4ba20 | 0a 20 20 2f 2f 20 42 72 6f 77 73 65 72 4f 66 66 6c 69 6e 65 20 50 75 62 6c 69 63 20 4d 65 74 68 | ...//.BrowserOffline.Public.Meth |
4ba40 | 6f 64 73 0a 20 20 69 6e 69 74 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 | ods...init:.function.()...{..... |
4ba60 | 69 66 20 28 21 74 68 69 73 2e 5f 75 69 45 6c 65 6d 65 6e 74 29 0a 20 20 20 20 20 20 74 68 69 73 | if.(!this._uiElement).......this |
4ba80 | 2e 5f 75 69 45 6c 65 6d 65 6e 74 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e | ._uiElement.=.document.getElemen |
4baa0 | 74 42 79 49 64 28 22 67 6f 4f 66 66 6c 69 6e 65 4d 65 6e 75 69 74 65 6d 22 29 3b 0a 0a 20 20 20 | tById("goOfflineMenuitem");..... |
4bac0 | 20 76 61 72 20 6f 73 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d | .var.os.=.Components.classes["@m |
4bae0 | 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6f 62 73 65 72 76 65 72 2d 73 65 72 76 69 63 65 3b 31 22 5d 2e | ozilla.org/observer-service;1"]. |
4bb00 | 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 | getService(Components.interfaces |
4bb20 | 2e 6e 73 49 4f 62 73 65 72 76 65 72 53 65 72 76 69 63 65 29 3b 0a 20 20 20 20 6f 73 2e 61 64 64 | .nsIObserverService);.....os.add |
4bb40 | 4f 62 73 65 72 76 65 72 28 74 68 69 73 2c 20 22 6e 65 74 77 6f 72 6b 3a 6f 66 66 6c 69 6e 65 2d | Observer(this,."network:offline- |
4bb60 | 73 74 61 74 75 73 2d 63 68 61 6e 67 65 64 22 2c 20 66 61 6c 73 65 29 3b 0a 0a 20 20 20 20 76 61 | status-changed",.false);......va |
4bb80 | 72 20 69 6f 53 65 72 76 69 63 65 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 | r.ioService.=.Components.classes |
4bba0 | 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6e 65 74 77 6f 72 6b 2f 69 6f 2d 73 65 72 76 69 63 | ["@mozilla.org/network/io-servic |
4bbc0 | 65 3b 31 22 5d 2e 0a 20 20 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e | e;1"]........getService(Componen |
4bbe0 | 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 49 4f 53 65 72 76 69 63 65 32 29 3b 0a 0a 20 | ts.interfaces.nsIIOService2);... |
4bc00 | 20 20 20 2f 2f 20 69 66 20 69 6f 53 65 72 76 69 63 65 20 69 73 20 6d 61 6e 61 67 69 6e 67 20 74 | ...//.if.ioService.is.managing.t |
4bc20 | 68 65 20 6f 66 66 6c 69 6e 65 20 73 74 61 74 75 73 2c 20 74 68 65 6e 20 69 6f 73 65 72 76 69 63 | he.offline.status,.then.ioservic |
4bc40 | 65 2e 6f 66 66 6c 69 6e 65 0a 20 20 20 20 2f 2f 20 69 73 20 61 6c 72 65 61 64 79 20 73 65 74 20 | e.offline.....//.is.already.set. |
4bc60 | 63 6f 72 72 65 63 74 6c 79 2e 20 57 65 20 77 69 6c 6c 20 63 6f 6e 74 69 6e 75 65 20 74 6f 20 61 | correctly..We.will.continue.to.a |
4bc80 | 6c 6c 6f 77 20 74 68 65 20 69 6f 53 65 72 76 69 63 65 0a 20 20 20 20 2f 2f 20 74 6f 20 6d 61 6e | llow.the.ioService.....//.to.man |
4bca0 | 61 67 65 20 69 74 73 20 6f 66 66 6c 69 6e 65 20 73 74 61 74 65 20 75 6e 74 69 6c 20 74 68 65 20 | age.its.offline.state.until.the. |
4bcc0 | 75 73 65 72 20 75 73 65 73 20 74 68 65 20 22 57 6f 72 6b 20 4f 66 66 6c 69 6e 65 22 20 55 49 2e | user.uses.the."Work.Offline".UI. |
4bce0 | 0a 20 20 20 20 0a 20 20 20 20 69 66 20 28 21 69 6f 53 65 72 76 69 63 65 2e 6d 61 6e 61 67 65 4f | ..........if.(!ioService.manageO |
4bd00 | 66 66 6c 69 6e 65 53 74 61 74 75 73 29 20 7b 0a 20 20 20 20 20 20 2f 2f 20 73 65 74 20 74 68 65 | fflineStatus).{.......//.set.the |
4bd20 | 20 69 6e 69 74 69 61 6c 20 73 74 61 74 65 0a 20 20 20 20 20 20 76 61 72 20 69 73 4f 66 66 6c 69 | .initial.state.......var.isOffli |
4bd40 | 6e 65 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 20 20 | ne.=.false;.......try.{......... |
4bd60 | 69 73 4f 66 66 6c 69 6e 65 20 3d 20 67 50 72 65 66 53 65 72 76 69 63 65 2e 67 65 74 42 6f 6f 6c | isOffline.=.gPrefService.getBool |
4bd80 | 50 72 65 66 28 22 62 72 6f 77 73 65 72 2e 6f 66 66 6c 69 6e 65 22 29 3b 0a 20 20 20 20 20 20 7d | Pref("browser.offline");.......} |
4bda0 | 0a 20 20 20 20 20 20 63 61 74 63 68 20 28 65 29 20 7b 20 7d 0a 20 20 20 20 20 20 69 6f 53 65 72 | .......catch.(e).{.}.......ioSer |
4bdc0 | 76 69 63 65 2e 6f 66 66 6c 69 6e 65 20 3d 20 69 73 4f 66 66 6c 69 6e 65 3b 0a 20 20 20 20 7d 0a | vice.offline.=.isOffline;.....}. |
4bde0 | 20 20 20 20 0a 20 20 20 20 74 68 69 73 2e 5f 75 70 64 61 74 65 4f 66 66 6c 69 6e 65 55 49 28 69 | .........this._updateOfflineUI(i |
4be00 | 6f 53 65 72 76 69 63 65 2e 6f 66 66 6c 69 6e 65 29 3b 0a 20 20 7d 2c 0a 0a 20 20 75 6e 69 6e 69 | oService.offline);...},....unini |
4be20 | 74 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 74 72 79 20 7b 0a 20 20 20 | t:.function.()...{.....try.{.... |
4be40 | 20 20 20 76 61 72 20 6f 73 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 | ...var.os.=.Components.classes[" |
4be60 | 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6f 62 73 65 72 76 65 72 2d 73 65 72 76 69 63 65 3b 31 22 | @mozilla.org/observer-service;1" |
4be80 | 5d 2e 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 | ].getService(Components.interfac |
4bea0 | 65 73 2e 6e 73 49 4f 62 73 65 72 76 65 72 53 65 72 76 69 63 65 29 3b 0a 20 20 20 20 20 20 6f 73 | es.nsIObserverService);.......os |
4bec0 | 2e 72 65 6d 6f 76 65 4f 62 73 65 72 76 65 72 28 74 68 69 73 2c 20 22 6e 65 74 77 6f 72 6b 3a 6f | .removeObserver(this,."network:o |
4bee0 | 66 66 6c 69 6e 65 2d 73 74 61 74 75 73 2d 63 68 61 6e 67 65 64 22 29 3b 0a 20 20 20 20 7d 20 63 | ffline-status-changed");.....}.c |
4bf00 | 61 74 63 68 20 28 65 78 29 20 7b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 74 6f 67 67 6c 65 | atch.(ex).{.....}...},....toggle |
4bf20 | 4f 66 66 6c 69 6e 65 53 74 61 74 75 73 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 | OfflineStatus:.function.()...{.. |
4bf40 | 20 20 20 76 61 72 20 69 6f 53 65 72 76 69 63 65 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c | ...var.ioService.=.Components.cl |
4bf60 | 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6e 65 74 77 6f 72 6b 2f 69 6f 2d 73 | asses["@mozilla.org/network/io-s |
4bf80 | 65 72 76 69 63 65 3b 31 22 5d 2e 0a 20 20 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d | ervice;1"]........getService(Com |
4bfa0 | 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 49 4f 53 65 72 76 69 63 65 32 | ponents.interfaces.nsIIOService2 |
4bfc0 | 29 3b 0a 0a 20 20 20 20 2f 2f 20 53 74 6f 70 20 61 75 74 6f 6d 61 74 69 63 20 6d 61 6e 61 67 65 | );......//.Stop.automatic.manage |
4bfe0 | 6d 65 6e 74 20 6f 66 20 74 68 65 20 6f 66 66 6c 69 6e 65 20 73 74 61 74 75 73 0a 20 20 20 20 74 | ment.of.the.offline.status.....t |
4c000 | 72 79 20 7b 0a 20 20 20 20 20 20 69 6f 53 65 72 76 69 63 65 2e 6d 61 6e 61 67 65 4f 66 66 6c 69 | ry.{.......ioService.manageOffli |
4c020 | 6e 65 53 74 61 74 75 73 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 7d 20 63 61 74 63 68 20 28 65 | neStatus.=.false;.....}.catch.(e |
4c040 | 78 29 20 7b 0a 20 20 20 20 7d 0a 20 20 0a 20 20 20 20 69 66 20 28 21 69 6f 53 65 72 76 69 63 65 | x).{.....}........if.(!ioService |
4c060 | 2e 6f 66 66 6c 69 6e 65 20 26 26 20 21 74 68 69 73 2e 5f 63 61 6e 47 6f 4f 66 66 6c 69 6e 65 28 | .offline.&&.!this._canGoOffline( |
4c080 | 29 29 20 7b 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 75 70 64 61 74 65 4f 66 66 6c 69 6e 65 55 49 | )).{.......this._updateOfflineUI |
4c0a0 | 28 66 61 6c 73 65 29 3b 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 20 20 7d 0a 0a 20 20 | (false);.......return;.....}.... |
4c0c0 | 20 20 69 6f 53 65 72 76 69 63 65 2e 6f 66 66 6c 69 6e 65 20 3d 20 21 69 6f 53 65 72 76 69 63 65 | ..ioService.offline.=.!ioService |
4c0e0 | 2e 6f 66 66 6c 69 6e 65 3b 0a 0a 20 20 20 20 2f 2f 20 53 61 76 65 20 74 68 65 20 63 75 72 72 65 | .offline;......//.Save.the.curre |
4c100 | 6e 74 20 73 74 61 74 65 20 66 6f 72 20 6c 61 74 65 72 20 75 73 65 20 61 73 20 74 68 65 20 69 6e | nt.state.for.later.use.as.the.in |
4c120 | 69 74 69 61 6c 20 73 74 61 74 65 0a 20 20 20 20 2f 2f 20 28 69 66 20 74 68 65 72 65 20 69 73 20 | itial.state.....//.(if.there.is. |
4c140 | 6e 6f 20 6e 65 74 4c 69 6e 6b 53 65 72 76 69 63 65 29 0a 20 20 20 20 67 50 72 65 66 53 65 72 76 | no.netLinkService).....gPrefServ |
4c160 | 69 63 65 2e 73 65 74 42 6f 6f 6c 50 72 65 66 28 22 62 72 6f 77 73 65 72 2e 6f 66 66 6c 69 6e 65 | ice.setBoolPref("browser.offline |
4c180 | 22 2c 20 69 6f 53 65 72 76 69 63 65 2e 6f 66 66 6c 69 6e 65 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f | ",.ioService.offline);...},..../ |
4c1a0 | 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f | //////////////////////////////// |
4c1c0 | 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f | //////////////////////////////// |
4c1e0 | 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 0a 20 20 2f 2f 20 6e 73 49 4f 62 73 65 72 76 65 72 0a 20 20 | ////////////...//.nsIObserver... |
4c200 | 6f 62 73 65 72 76 65 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 53 75 62 6a 65 63 74 2c 20 61 54 6f | observe:.function.(aSubject,.aTo |
4c220 | 70 69 63 2c 20 61 53 74 61 74 65 29 0a 20 20 7b 0a 20 20 20 20 69 66 20 28 61 54 6f 70 69 63 20 | pic,.aState)...{.....if.(aTopic. |
4c240 | 21 3d 20 22 6e 65 74 77 6f 72 6b 3a 6f 66 66 6c 69 6e 65 2d 73 74 61 74 75 73 2d 63 68 61 6e 67 | !=."network:offline-status-chang |
4c260 | 65 64 22 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 20 20 74 68 69 73 2e 5f 75 70 | ed").......return;......this._up |
4c280 | 64 61 74 65 4f 66 66 6c 69 6e 65 55 49 28 61 53 74 61 74 65 20 3d 3d 20 22 6f 66 66 6c 69 6e 65 | dateOfflineUI(aState.==."offline |
4c2a0 | 22 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f | ");...},....//////////////////// |
4c2c0 | 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f | //////////////////////////////// |
4c2e0 | 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 0a 20 20 2f 2f 20 42 | /////////////////////////...//.B |
4c300 | 72 6f 77 73 65 72 4f 66 66 6c 69 6e 65 20 49 6d 70 6c 65 6d 65 6e 74 61 74 69 6f 6e 20 4d 65 74 | rowserOffline.Implementation.Met |
4c320 | 68 6f 64 73 0a 20 20 5f 63 61 6e 47 6f 4f 66 66 6c 69 6e 65 3a 20 66 75 6e 63 74 69 6f 6e 20 28 | hods..._canGoOffline:.function.( |
4c340 | 29 0a 20 20 7b 0a 20 20 20 20 76 61 72 20 6f 73 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c | )...{.....var.os.=.Components.cl |
4c360 | 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6f 62 73 65 72 76 65 72 2d 73 65 72 | asses["@mozilla.org/observer-ser |
4c380 | 76 69 63 65 3b 31 22 5d 2e 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 | vice;1"].getService(Components.i |
4c3a0 | 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 4f 62 73 65 72 76 65 72 53 65 72 76 69 63 65 29 3b 0a 20 | nterfaces.nsIObserverService);.. |
4c3c0 | 20 20 20 69 66 20 28 6f 73 29 20 7b 0a 20 20 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 20 | ...if.(os).{.......try.{........ |
4c3e0 | 20 76 61 72 20 63 61 6e 63 65 6c 47 6f 4f 66 66 6c 69 6e 65 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 | .var.cancelGoOffline.=.Component |
4c400 | 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 73 75 70 70 6f 72 74 73 | s.classes["@mozilla.org/supports |
4c420 | 2d 50 52 42 6f 6f 6c 3b 31 22 5d 2e 63 72 65 61 74 65 49 6e 73 74 61 6e 63 65 28 43 6f 6d 70 6f | -PRBool;1"].createInstance(Compo |
4c440 | 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 53 75 70 70 6f 72 74 73 50 52 42 6f | nents.interfaces.nsISupportsPRBo |
4c460 | 6f 6c 29 3b 0a 20 20 20 20 20 20 20 20 6f 73 2e 6e 6f 74 69 66 79 4f 62 73 65 72 76 65 72 73 28 | ol);.........os.notifyObservers( |
4c480 | 63 61 6e 63 65 6c 47 6f 4f 66 66 6c 69 6e 65 2c 20 22 6f 66 66 6c 69 6e 65 2d 72 65 71 75 65 73 | cancelGoOffline,."offline-reques |
4c4a0 | 74 65 64 22 2c 20 6e 75 6c 6c 29 3b 0a 0a 20 20 20 20 20 20 20 20 2f 2f 20 53 6f 6d 65 74 68 69 | ted",.null);..........//.Somethi |
4c4c0 | 6e 67 20 61 62 6f 72 74 65 64 20 74 68 65 20 71 75 69 74 20 70 72 6f 63 65 73 73 2e 0a 20 20 20 | ng.aborted.the.quit.process..... |
4c4e0 | 20 20 20 20 20 69 66 20 28 63 61 6e 63 65 6c 47 6f 4f 66 66 6c 69 6e 65 2e 64 61 74 61 29 0a 20 | .....if.(cancelGoOffline.data).. |
4c500 | 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 20 7d 0a 20 | .........return.false;.......}.. |
4c520 | 20 20 20 20 20 63 61 74 63 68 20 28 65 78 29 20 7b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a | .....catch.(ex).{.......}.....}. |
4c540 | 20 20 20 20 72 65 74 75 72 6e 20 74 72 75 65 3b 0a 20 20 7d 2c 0a 0a 20 20 5f 75 69 45 6c 65 6d | ....return.true;...},...._uiElem |
4c560 | 65 6e 74 3a 20 6e 75 6c 6c 2c 0a 20 20 5f 75 70 64 61 74 65 4f 66 66 6c 69 6e 65 55 49 3a 20 66 | ent:.null,..._updateOfflineUI:.f |
4c580 | 75 6e 63 74 69 6f 6e 20 28 61 4f 66 66 6c 69 6e 65 29 0a 20 20 7b 0a 20 20 20 20 76 61 72 20 6f | unction.(aOffline)...{.....var.o |
4c5a0 | 66 66 6c 69 6e 65 4c 6f 63 6b 65 64 20 3d 20 67 50 72 65 66 53 65 72 76 69 63 65 2e 70 72 65 66 | fflineLocked.=.gPrefService.pref |
4c5c0 | 49 73 4c 6f 63 6b 65 64 28 22 6e 65 74 77 6f 72 6b 2e 6f 6e 6c 69 6e 65 22 29 3b 0a 20 20 20 20 | IsLocked("network.online");..... |
4c5e0 | 69 66 20 28 6f 66 66 6c 69 6e 65 4c 6f 63 6b 65 64 29 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 75 | if.(offlineLocked).......this._u |
4c600 | 69 45 6c 65 6d 65 6e 74 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 64 69 73 61 62 6c 65 64 22 | iElement.setAttribute("disabled" |
4c620 | 2c 20 22 74 72 75 65 22 29 3b 0a 0a 20 20 20 20 74 68 69 73 2e 5f 75 69 45 6c 65 6d 65 6e 74 2e | ,."true");......this._uiElement. |
4c640 | 73 65 74 41 74 74 72 69 62 75 74 65 28 22 63 68 65 63 6b 65 64 22 2c 20 61 4f 66 66 6c 69 6e 65 | setAttribute("checked",.aOffline |
4c660 | 29 3b 0a 20 20 7d 0a 7d 3b 0a 0a 76 61 72 20 4f 66 66 6c 69 6e 65 41 70 70 73 20 3d 20 7b 0a 20 | );...}.};..var.OfflineApps.=.{.. |
4c680 | 20 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f | ./////////////////////////////// |
4c6a0 | 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f | //////////////////////////////// |
4c6c0 | 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 0a 20 20 2f 2f 20 4f 66 66 6c 69 6e 65 41 70 70 73 20 | //////////////...//.OfflineApps. |
4c6e0 | 50 75 62 6c 69 63 20 4d 65 74 68 6f 64 73 0a 20 20 69 6e 69 74 3a 20 66 75 6e 63 74 69 6f 6e 20 | Public.Methods...init:.function. |
4c700 | 28 29 0a 20 20 7b 0a 20 20 20 20 76 61 72 20 6f 62 73 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c | ()...{.....var.obs.=.Cc["@mozill |
4c720 | 61 2e 6f 72 67 2f 6f 62 73 65 72 76 65 72 2d 73 65 72 76 69 63 65 3b 31 22 5d 2e 0a 20 20 20 20 | a.org/observer-service;1"]...... |
4c740 | 20 20 20 20 20 20 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 4f 62 73 65 72 | ..........getService(Ci.nsIObser |
4c760 | 76 65 72 53 65 72 76 69 63 65 29 3b 0a 20 20 20 20 6f 62 73 2e 61 64 64 4f 62 73 65 72 76 65 72 | verService);.....obs.addObserver |
4c780 | 28 74 68 69 73 2c 20 22 64 6f 6d 2d 73 74 6f 72 61 67 65 2d 77 61 72 6e 2d 71 75 6f 74 61 2d 65 | (this,."dom-storage-warn-quota-e |
4c7a0 | 78 63 65 65 64 65 64 22 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 20 6f 62 73 2e 61 64 64 4f 62 73 | xceeded",.false);.....obs.addObs |
4c7c0 | 65 72 76 65 72 28 74 68 69 73 2c 20 22 6f 66 66 6c 69 6e 65 2d 63 61 63 68 65 2d 75 70 64 61 74 | erver(this,."offline-cache-updat |
4c7e0 | 65 2d 63 6f 6d 70 6c 65 74 65 64 22 2c 20 66 61 6c 73 65 29 3b 0a 20 20 7d 2c 0a 0a 20 20 75 6e | e-completed",.false);...},....un |
4c800 | 69 6e 69 74 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 76 61 72 20 6f 62 | init:.function.()...{.....var.ob |
4c820 | 73 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6f 62 73 65 72 76 65 72 2d 73 65 | s.=.Cc["@mozilla.org/observer-se |
4c840 | 72 76 69 63 65 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 53 65 72 76 | rvice;1"]................getServ |
4c860 | 69 63 65 28 43 69 2e 6e 73 49 4f 62 73 65 72 76 65 72 53 65 72 76 69 63 65 29 3b 0a 20 20 20 20 | ice(Ci.nsIObserverService);..... |
4c880 | 6f 62 73 2e 72 65 6d 6f 76 65 4f 62 73 65 72 76 65 72 28 74 68 69 73 2c 20 22 64 6f 6d 2d 73 74 | obs.removeObserver(this,."dom-st |
4c8a0 | 6f 72 61 67 65 2d 77 61 72 6e 2d 71 75 6f 74 61 2d 65 78 63 65 65 64 65 64 22 29 3b 0a 20 20 20 | orage-warn-quota-exceeded");.... |
4c8c0 | 20 6f 62 73 2e 72 65 6d 6f 76 65 4f 62 73 65 72 76 65 72 28 74 68 69 73 2c 20 22 6f 66 66 6c 69 | .obs.removeObserver(this,."offli |
4c8e0 | 6e 65 2d 63 61 63 68 65 2d 75 70 64 61 74 65 2d 63 6f 6d 70 6c 65 74 65 64 22 29 3b 0a 20 20 7d | ne-cache-update-completed");...} |
4c900 | 2c 0a 0a 20 20 68 61 6e 64 6c 65 45 76 65 6e 74 3a 20 66 75 6e 63 74 69 6f 6e 28 65 76 65 6e 74 | ,....handleEvent:.function(event |
4c920 | 29 20 7b 0a 20 20 20 20 69 66 20 28 65 76 65 6e 74 2e 74 79 70 65 20 3d 3d 20 22 4d 6f 7a 41 70 | ).{.....if.(event.type.==."MozAp |
4c940 | 70 6c 69 63 61 74 69 6f 6e 4d 61 6e 69 66 65 73 74 22 29 20 7b 0a 20 20 20 20 20 20 74 68 69 73 | plicationManifest").{.......this |
4c960 | 2e 6f 66 66 6c 69 6e 65 41 70 70 52 65 71 75 65 73 74 65 64 28 65 76 65 6e 74 2e 6f 72 69 67 69 | .offlineAppRequested(event.origi |
4c980 | 6e 61 6c 54 61 72 67 65 74 2e 64 65 66 61 75 6c 74 56 69 65 77 29 3b 0a 20 20 20 20 7d 0a 20 20 | nalTarget.defaultView);.....}... |
4c9a0 | 7d 2c 0a 0a 20 20 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f | },....////////////////////////// |
4c9c0 | 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f | //////////////////////////////// |
4c9e0 | 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 0a 20 20 2f 2f 20 4f 66 66 6c 69 6e 65 | ///////////////////...//.Offline |
4ca00 | 41 70 70 73 20 49 6d 70 6c 65 6d 65 6e 74 61 74 69 6f 6e 20 4d 65 74 68 6f 64 73 0a 0a 20 20 2f | Apps.Implementation.Methods..../ |
4ca20 | 2f 20 58 58 58 3a 20 5f 67 65 74 42 72 6f 77 73 65 72 57 69 6e 64 6f 77 46 6f 72 43 6f 6e 74 65 | /.XXX:._getBrowserWindowForConte |
4ca40 | 6e 74 57 69 6e 64 6f 77 20 61 6e 64 20 5f 67 65 74 42 72 6f 77 73 65 72 46 6f 72 43 6f 6e 74 65 | ntWindow.and._getBrowserForConte |
4ca60 | 6e 74 57 69 6e 64 6f 77 0a 20 20 2f 2f 20 77 65 72 65 20 74 61 6b 65 6e 20 66 72 6f 6d 20 62 72 | ntWindow...//.were.taken.from.br |
4ca80 | 6f 77 73 65 72 2f 63 6f 6d 70 6f 6e 65 6e 74 73 2f 66 65 65 64 73 2f 73 72 63 2f 57 65 62 43 6f | owser/components/feeds/src/WebCo |
4caa0 | 6e 74 65 6e 74 43 6f 6e 76 65 72 74 65 72 2e 0a 20 20 5f 67 65 74 42 72 6f 77 73 65 72 57 69 6e | ntentConverter...._getBrowserWin |
4cac0 | 64 6f 77 46 6f 72 43 6f 6e 74 65 6e 74 57 69 6e 64 6f 77 3a 20 66 75 6e 63 74 69 6f 6e 28 61 43 | dowForContentWindow:.function(aC |
4cae0 | 6f 6e 74 65 6e 74 57 69 6e 64 6f 77 29 20 7b 0a 20 20 20 20 72 65 74 75 72 6e 20 61 43 6f 6e 74 | ontentWindow).{.....return.aCont |
4cb00 | 65 6e 74 57 69 6e 64 6f 77 2e 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 28 43 69 2e 6e 73 49 49 | entWindow.QueryInterface(Ci.nsII |
4cb20 | 6e 74 65 72 66 61 63 65 52 65 71 75 65 73 74 6f 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | nterfaceRequestor).............. |
4cb40 | 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 49 6e 74 65 72 66 61 63 65 28 43 69 2e 6e 73 49 | .............getInterface(Ci.nsI |
4cb60 | 57 65 62 4e 61 76 69 67 61 74 69 6f 6e 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | WebNavigation).................. |
4cb80 | 20 20 20 20 20 20 20 20 2e 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 28 43 69 2e 6e 73 49 44 6f | .........QueryInterface(Ci.nsIDo |
4cba0 | 63 53 68 65 6c 6c 54 72 65 65 49 74 65 6d 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | cShellTreeItem)................. |
4cbc0 | 20 20 20 20 20 20 20 20 20 2e 72 6f 6f 74 54 72 65 65 49 74 65 6d 0a 20 20 20 20 20 20 20 20 20 | ..........rootTreeItem.......... |
4cbe0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 28 | .................QueryInterface( |
4cc00 | 43 69 2e 6e 73 49 49 6e 74 65 72 66 61 63 65 52 65 71 75 65 73 74 6f 72 29 0a 20 20 20 20 20 20 | Ci.nsIInterfaceRequestor)....... |
4cc20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 49 6e 74 65 72 66 61 63 65 | ....................getInterface |
4cc40 | 28 43 69 2e 6e 73 49 44 4f 4d 57 69 6e 64 6f 77 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | (Ci.nsIDOMWindow)............... |
4cc60 | 20 20 20 20 20 20 20 20 20 20 20 2e 77 72 61 70 70 65 64 4a 53 4f 62 6a 65 63 74 3b 0a 20 20 7d | ............wrappedJSObject;...} |
4cc80 | 2c 0a 0a 20 20 5f 67 65 74 42 72 6f 77 73 65 72 46 6f 72 43 6f 6e 74 65 6e 74 57 69 6e 64 6f 77 | ,...._getBrowserForContentWindow |
4cca0 | 3a 20 66 75 6e 63 74 69 6f 6e 28 61 42 72 6f 77 73 65 72 57 69 6e 64 6f 77 2c 20 61 43 6f 6e 74 | :.function(aBrowserWindow,.aCont |
4ccc0 | 65 6e 74 57 69 6e 64 6f 77 29 20 7b 0a 20 20 20 20 2f 2f 20 54 68 69 73 20 64 65 70 65 6e 64 73 | entWindow).{.....//.This.depends |
4cce0 | 20 6f 6e 20 70 73 65 75 64 6f 20 41 50 49 73 20 6f 66 20 62 72 6f 77 73 65 72 2e 6a 73 20 61 6e | .on.pseudo.APIs.of.browser.js.an |
4cd00 | 64 20 74 61 62 62 72 6f 77 73 65 72 2e 78 6d 6c 0a 20 20 20 20 61 43 6f 6e 74 65 6e 74 57 69 6e | d.tabbrowser.xml.....aContentWin |
4cd20 | 64 6f 77 20 3d 20 61 43 6f 6e 74 65 6e 74 57 69 6e 64 6f 77 2e 74 6f 70 3b 0a 20 20 20 20 76 61 | dow.=.aContentWindow.top;.....va |
4cd40 | 72 20 62 72 6f 77 73 65 72 73 20 3d 20 61 42 72 6f 77 73 65 72 57 69 6e 64 6f 77 2e 67 65 74 42 | r.browsers.=.aBrowserWindow.getB |
4cd60 | 72 6f 77 73 65 72 28 29 2e 62 72 6f 77 73 65 72 73 3b 0a 20 20 20 20 66 6f 72 20 28 76 61 72 20 | rowser().browsers;.....for.(var. |
4cd80 | 69 20 3d 20 30 3b 20 69 20 3c 20 62 72 6f 77 73 65 72 73 2e 6c 65 6e 67 74 68 3b 20 2b 2b 69 29 | i.=.0;.i.<.browsers.length;.++i) |
4cda0 | 20 7b 0a 20 20 20 20 20 20 69 66 20 28 62 72 6f 77 73 65 72 73 5b 69 5d 2e 63 6f 6e 74 65 6e 74 | .{.......if.(browsers[i].content |
4cdc0 | 57 69 6e 64 6f 77 20 3d 3d 20 61 43 6f 6e 74 65 6e 74 57 69 6e 64 6f 77 29 0a 20 20 20 20 20 20 | Window.==.aContentWindow)....... |
4cde0 | 20 20 72 65 74 75 72 6e 20 62 72 6f 77 73 65 72 73 5b 69 5d 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c | ..return.browsers[i];.....}...}, |
4ce00 | 0a 0a 20 20 5f 67 65 74 4d 61 6e 69 66 65 73 74 55 52 49 3a 20 66 75 6e 63 74 69 6f 6e 28 61 57 | ...._getManifestURI:.function(aW |
4ce20 | 69 6e 64 6f 77 29 20 7b 0a 20 20 20 20 69 66 20 28 21 61 57 69 6e 64 6f 77 2e 64 6f 63 75 6d 65 | indow).{.....if.(!aWindow.docume |
4ce40 | 6e 74 2e 64 6f 63 75 6d 65 6e 74 45 6c 65 6d 65 6e 74 29 20 72 65 74 75 72 6e 20 6e 75 6c 6c 3b | nt.documentElement).return.null; |
4ce60 | 0a 20 20 20 20 76 61 72 20 61 74 74 72 20 3d 20 61 57 69 6e 64 6f 77 2e 64 6f 63 75 6d 65 6e 74 | .....var.attr.=.aWindow.document |
4ce80 | 2e 64 6f 63 75 6d 65 6e 74 45 6c 65 6d 65 6e 74 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 6d | .documentElement.getAttribute("m |
4cea0 | 61 6e 69 66 65 73 74 22 29 3b 0a 20 20 20 20 69 66 20 28 21 61 74 74 72 29 20 72 65 74 75 72 6e | anifest");.....if.(!attr).return |
4cec0 | 20 6e 75 6c 6c 3b 0a 0a 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 76 61 72 20 69 6f 73 20 | .null;......try.{.......var.ios. |
4cee0 | 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6e 65 74 77 6f 72 6b 2f 69 6f 2d 73 65 | =.Cc["@mozilla.org/network/io-se |
4cf00 | 72 76 69 63 65 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 53 65 | rvice;1"]..................getSe |
4cf20 | 72 76 69 63 65 28 43 69 2e 6e 73 49 49 4f 53 65 72 76 69 63 65 29 3b 0a 0a 20 20 20 20 20 20 76 | rvice(Ci.nsIIOService);........v |
4cf40 | 61 72 20 63 6f 6e 74 65 6e 74 55 52 49 20 3d 20 69 6f 73 2e 6e 65 77 55 52 49 28 61 57 69 6e 64 | ar.contentURI.=.ios.newURI(aWind |
4cf60 | 6f 77 2e 6c 6f 63 61 74 69 6f 6e 2e 68 72 65 66 2c 20 6e 75 6c 6c 2c 20 6e 75 6c 6c 29 3b 0a 20 | ow.location.href,.null,.null);.. |
4cf80 | 20 20 20 20 20 72 65 74 75 72 6e 20 69 6f 73 2e 6e 65 77 55 52 49 28 61 74 74 72 2c 20 61 57 69 | .....return.ios.newURI(attr,.aWi |
4cfa0 | 6e 64 6f 77 2e 64 6f 63 75 6d 65 6e 74 2e 63 68 61 72 61 63 74 65 72 53 65 74 2c 20 63 6f 6e 74 | ndow.document.characterSet,.cont |
4cfc0 | 65 6e 74 55 52 49 29 3b 0a 20 20 20 20 7d 20 63 61 74 63 68 20 28 65 29 20 7b 0a 20 20 20 20 20 | entURI);.....}.catch.(e).{...... |
4cfe0 | 20 72 65 74 75 72 6e 20 6e 75 6c 6c 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 2f 2f 20 41 | .return.null;.....}...},....//.A |
4d000 | 20 63 61 63 68 65 20 75 70 64 61 74 65 20 69 73 6e 27 74 20 74 69 65 64 20 74 6f 20 61 20 73 70 | .cache.update.isn't.tied.to.a.sp |
4d020 | 65 63 69 66 69 63 20 77 69 6e 64 6f 77 2e 20 20 54 72 79 20 74 6f 20 66 69 6e 64 0a 20 20 2f 2f | ecific.window...Try.to.find...// |
4d040 | 20 74 68 65 20 62 65 73 74 20 62 72 6f 77 73 65 72 20 69 6e 20 77 68 69 63 68 20 74 6f 20 77 61 | .the.best.browser.in.which.to.wa |
4d060 | 72 6e 20 74 68 65 20 75 73 65 72 20 61 62 6f 75 74 20 73 70 61 63 65 20 75 73 61 67 65 0a 20 20 | rn.the.user.about.space.usage... |
4d080 | 5f 67 65 74 42 72 6f 77 73 65 72 46 6f 72 43 61 63 68 65 55 70 64 61 74 65 3a 20 66 75 6e 63 74 | _getBrowserForCacheUpdate:.funct |
4d0a0 | 69 6f 6e 28 61 43 61 63 68 65 55 70 64 61 74 65 29 20 7b 0a 20 20 20 20 2f 2f 20 50 72 65 66 65 | ion(aCacheUpdate).{.....//.Prefe |
4d0c0 | 72 20 74 68 65 20 63 75 72 72 65 6e 74 20 62 72 6f 77 73 65 72 0a 20 20 20 20 76 61 72 20 75 72 | r.the.current.browser.....var.ur |
4d0e0 | 69 20 3d 20 74 68 69 73 2e 5f 67 65 74 4d 61 6e 69 66 65 73 74 55 52 49 28 67 42 72 6f 77 73 65 | i.=.this._getManifestURI(gBrowse |
4d100 | 72 2e 6d 43 75 72 72 65 6e 74 42 72 6f 77 73 65 72 2e 63 6f 6e 74 65 6e 74 57 69 6e 64 6f 77 29 | r.mCurrentBrowser.contentWindow) |
4d120 | 3b 0a 20 20 20 20 69 66 20 28 75 72 69 20 26 26 20 75 72 69 2e 65 71 75 61 6c 73 28 61 43 61 63 | ;.....if.(uri.&&.uri.equals(aCac |
4d140 | 68 65 55 70 64 61 74 65 2e 6d 61 6e 69 66 65 73 74 55 52 49 29 29 20 7b 0a 20 20 20 20 20 20 72 | heUpdate.manifestURI)).{.......r |
4d160 | 65 74 75 72 6e 20 67 42 72 6f 77 73 65 72 2e 6d 43 75 72 72 65 6e 74 42 72 6f 77 73 65 72 3b 0a | eturn.gBrowser.mCurrentBrowser;. |
4d180 | 20 20 20 20 7d 0a 0a 20 20 20 20 76 61 72 20 62 72 6f 77 73 65 72 73 20 3d 20 67 42 72 6f 77 73 | ....}......var.browsers.=.gBrows |
4d1a0 | 65 72 2e 62 72 6f 77 73 65 72 73 3b 0a 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b | er.browsers;.....for.(var.i.=.0; |
4d1c0 | 20 69 20 3c 20 62 72 6f 77 73 65 72 73 2e 6c 65 6e 67 74 68 3b 20 2b 2b 69 29 20 7b 0a 20 20 20 | .i.<.browsers.length;.++i).{.... |
4d1e0 | 20 20 20 75 72 69 20 3d 20 74 68 69 73 2e 5f 67 65 74 4d 61 6e 69 66 65 73 74 55 52 49 28 62 72 | ...uri.=.this._getManifestURI(br |
4d200 | 6f 77 73 65 72 73 5b 69 5d 2e 63 6f 6e 74 65 6e 74 57 69 6e 64 6f 77 29 3b 0a 20 20 20 20 20 20 | owsers[i].contentWindow);....... |
4d220 | 69 66 20 28 75 72 69 20 26 26 20 75 72 69 2e 65 71 75 61 6c 73 28 61 43 61 63 68 65 55 70 64 61 | if.(uri.&&.uri.equals(aCacheUpda |
4d240 | 74 65 2e 6d 61 6e 69 66 65 73 74 55 52 49 29 29 20 7b 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 | te.manifestURI)).{.........retur |
4d260 | 6e 20 62 72 6f 77 73 65 72 73 5b 69 5d 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 0a 20 20 | n.browsers[i];.......}.....}.... |
4d280 | 20 20 72 65 74 75 72 6e 20 6e 75 6c 6c 3b 0a 20 20 7d 2c 0a 0a 20 20 5f 77 61 72 6e 55 73 61 67 | ..return.null;...},...._warnUsag |
4d2a0 | 65 3a 20 66 75 6e 63 74 69 6f 6e 28 61 42 72 6f 77 73 65 72 2c 20 61 55 52 49 29 20 7b 0a 20 20 | e:.function(aBrowser,.aURI).{... |
4d2c0 | 20 20 69 66 20 28 21 61 42 72 6f 77 73 65 72 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a | ..if.(!aBrowser).......return;.. |
4d2e0 | 20 20 20 20 76 61 72 20 6e 6f 74 69 66 69 63 61 74 69 6f 6e 42 6f 78 20 3d 20 67 42 72 6f 77 73 | ....var.notificationBox.=.gBrows |
4d300 | 65 72 2e 67 65 74 4e 6f 74 69 66 69 63 61 74 69 6f 6e 42 6f 78 28 61 42 72 6f 77 73 65 72 29 3b | er.getNotificationBox(aBrowser); |
4d320 | 0a 20 20 20 20 76 61 72 20 6e 6f 74 69 66 69 63 61 74 69 6f 6e 20 3d 20 6e 6f 74 69 66 69 63 61 | .....var.notification.=.notifica |
4d340 | 74 69 6f 6e 42 6f 78 2e 67 65 74 4e 6f 74 69 66 69 63 61 74 69 6f 6e 57 69 74 68 56 61 6c 75 65 | tionBox.getNotificationWithValue |
4d360 | 28 22 6f 66 66 6c 69 6e 65 2d 61 70 70 2d 75 73 61 67 65 22 29 3b 0a 20 20 20 20 69 66 20 28 21 | ("offline-app-usage");.....if.(! |
4d380 | 6e 6f 74 69 66 69 63 61 74 69 6f 6e 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 62 75 6e 64 6c 65 | notification).{.......var.bundle |
4d3a0 | 5f 62 72 6f 77 73 65 72 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 | _browser.=.document.getElementBy |
4d3c0 | 49 64 28 22 62 75 6e 64 6c 65 5f 62 72 6f 77 73 65 72 22 29 3b 0a 0a 20 20 20 20 20 20 76 61 72 | Id("bundle_browser");........var |
4d3e0 | 20 62 75 74 74 6f 6e 73 20 3d 20 5b 7b 0a 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3a 20 62 | .buttons.=.[{...........label:.b |
4d400 | 75 6e 64 6c 65 5f 62 72 6f 77 73 65 72 2e 67 65 74 53 74 72 69 6e 67 28 22 6f 66 66 6c 69 6e 65 | undle_browser.getString("offline |
4d420 | 41 70 70 73 2e 6d 61 6e 61 67 65 55 73 61 67 65 22 29 2c 0a 20 20 20 20 20 20 20 20 20 20 61 63 | Apps.manageUsage"),...........ac |
4d440 | 63 65 73 73 4b 65 79 3a 20 62 75 6e 64 6c 65 5f 62 72 6f 77 73 65 72 2e 67 65 74 53 74 72 69 6e | cessKey:.bundle_browser.getStrin |
4d460 | 67 28 22 6f 66 66 6c 69 6e 65 41 70 70 73 2e 6d 61 6e 61 67 65 55 73 61 67 65 41 63 63 65 73 73 | g("offlineApps.manageUsageAccess |
4d480 | 4b 65 79 22 29 2c 0a 20 20 20 20 20 20 20 20 20 20 63 61 6c 6c 62 61 63 6b 3a 20 4f 66 66 6c 69 | Key"),...........callback:.Offli |
4d4a0 | 6e 65 41 70 70 73 2e 6d 61 6e 61 67 65 0a 20 20 20 20 20 20 20 20 7d 5d 3b 0a 0a 20 20 20 20 20 | neApps.manage.........}];....... |
4d4c0 | 20 76 61 72 20 77 61 72 6e 51 75 6f 74 61 20 3d 20 67 50 72 65 66 53 65 72 76 69 63 65 2e 67 65 | .var.warnQuota.=.gPrefService.ge |
4d4e0 | 74 49 6e 74 50 72 65 66 28 22 6f 66 66 6c 69 6e 65 2d 61 70 70 73 2e 71 75 6f 74 61 2e 77 61 72 | tIntPref("offline-apps.quota.war |
4d500 | 6e 22 29 3b 0a 20 20 20 20 20 20 63 6f 6e 73 74 20 70 72 69 6f 72 69 74 79 20 3d 20 6e 6f 74 69 | n");.......const.priority.=.noti |
4d520 | 66 69 63 61 74 69 6f 6e 42 6f 78 2e 50 52 49 4f 52 49 54 59 5f 57 41 52 4e 49 4e 47 5f 4d 45 44 | ficationBox.PRIORITY_WARNING_MED |
4d540 | 49 55 4d 3b 0a 20 20 20 20 20 20 76 61 72 20 6d 65 73 73 61 67 65 20 3d 20 62 75 6e 64 6c 65 5f | IUM;.......var.message.=.bundle_ |
4d560 | 62 72 6f 77 73 65 72 2e 67 65 74 46 6f 72 6d 61 74 74 65 64 53 74 72 69 6e 67 28 22 6f 66 66 6c | browser.getFormattedString("offl |
4d580 | 69 6e 65 41 70 70 73 2e 75 73 61 67 65 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ineApps.usage",................. |
4d5a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
4d5c0 | 20 20 20 20 20 20 5b 20 61 55 52 49 2e 68 6f 73 74 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ......[.aURI.host,.............. |
4d5e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
4d600 | 20 20 20 20 20 20 20 20 20 20 20 77 61 72 6e 51 75 6f 74 61 20 2f 20 31 30 32 34 20 5d 29 3b 0a | ...........warnQuota./.1024.]);. |
4d620 | 0a 20 20 20 20 20 20 6e 6f 74 69 66 69 63 61 74 69 6f 6e 42 6f 78 2e 61 70 70 65 6e 64 4e 6f 74 | .......notificationBox.appendNot |
4d640 | 69 66 69 63 61 74 69 6f 6e 28 6d 65 73 73 61 67 65 2c 20 22 6f 66 66 6c 69 6e 65 2d 61 70 70 2d | ification(message,."offline-app- |
4d660 | 75 73 61 67 65 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | usage",......................... |
4d680 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 | ................."chrome://brows |
4d6a0 | 65 72 2f 73 6b 69 6e 2f 49 6e 66 6f 2e 70 6e 67 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | er/skin/Info.png",.............. |
4d6c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 69 6f | ............................prio |
4d6e0 | 72 69 74 79 2c 20 62 75 74 74 6f 6e 73 29 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 2f 2f 20 4e 6f | rity,.buttons);.....}......//.No |
4d700 | 77 20 74 68 61 74 20 77 65 27 76 65 20 77 61 72 6e 65 64 20 6f 6e 63 65 2c 20 70 72 65 76 65 6e | w.that.we've.warned.once,.preven |
4d720 | 74 20 74 68 65 20 77 61 72 6e 69 6e 67 20 66 72 6f 6d 20 73 68 6f 77 69 6e 67 20 75 70 0a 20 20 | t.the.warning.from.showing.up... |
4d740 | 20 20 2f 2f 20 61 67 61 69 6e 2e 0a 20 20 20 20 76 61 72 20 70 6d 20 3d 20 43 63 5b 22 40 6d 6f | ..//.again......var.pm.=.Cc["@mo |
4d760 | 7a 69 6c 6c 61 2e 6f 72 67 2f 70 65 72 6d 69 73 73 69 6f 6e 6d 61 6e 61 67 65 72 3b 31 22 5d 2e | zilla.org/permissionmanager;1"]. |
4d780 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 50 | ..............getService(Ci.nsIP |
4d7a0 | 65 72 6d 69 73 73 69 6f 6e 4d 61 6e 61 67 65 72 29 3b 0a 20 20 20 20 70 6d 2e 61 64 64 28 61 55 | ermissionManager);.....pm.add(aU |
4d7c0 | 52 49 2c 20 22 6f 66 66 6c 69 6e 65 2d 61 70 70 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 43 69 | RI,."offline-app",............Ci |
4d7e0 | 2e 6e 73 49 4f 66 66 6c 69 6e 65 43 61 63 68 65 55 70 64 61 74 65 53 65 72 76 69 63 65 2e 41 4c | .nsIOfflineCacheUpdateService.AL |
4d800 | 4c 4f 57 5f 4e 4f 5f 57 41 52 4e 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2f 20 58 58 58 3a 20 64 75 | LOW_NO_WARN);...},....//.XXX:.du |
4d820 | 70 6c 69 63 61 74 65 64 20 69 6e 20 70 72 65 66 65 72 65 6e 63 65 73 2f 61 64 76 61 6e 63 65 64 | plicated.in.preferences/advanced |
4d840 | 2e 6a 73 0a 20 20 5f 67 65 74 4f 66 66 6c 69 6e 65 41 70 70 55 73 61 67 65 3a 20 66 75 6e 63 74 | .js..._getOfflineAppUsage:.funct |
4d860 | 69 6f 6e 20 28 68 6f 73 74 2c 20 67 72 6f 75 70 73 29 0a 20 20 7b 0a 20 20 20 20 76 61 72 20 63 | ion.(host,.groups)...{.....var.c |
4d880 | 61 63 68 65 53 65 72 76 69 63 65 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 | acheService.=.Components.classes |
4d8a0 | 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6e 65 74 77 6f 72 6b 2f 61 70 70 6c 69 63 61 74 69 | ["@mozilla.org/network/applicati |
4d8c0 | 6f 6e 2d 63 61 63 68 65 2d 73 65 72 76 69 63 65 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 | on-cache-service;1"]............ |
4d8e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e | .............getService(Componen |
4d900 | 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 41 70 70 6c 69 63 61 74 69 6f 6e 43 61 63 68 | ts.interfaces.nsIApplicationCach |
4d920 | 65 53 65 72 76 69 63 65 29 3b 0a 20 20 20 20 69 66 20 28 21 67 72 6f 75 70 73 29 20 7b 0a 20 20 | eService);.....if.(!groups).{... |
4d940 | 20 20 20 20 67 72 6f 75 70 73 20 3d 20 63 61 63 68 65 53 65 72 76 69 63 65 2e 67 65 74 47 72 6f | ....groups.=.cacheService.getGro |
4d960 | 75 70 73 28 7b 7d 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 76 61 72 20 69 6f 73 20 3d 20 43 6f 6d | ups({});.....}.....var.ios.=.Com |
4d980 | 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6e 65 | ponents.classes["@mozilla.org/ne |
4d9a0 | 74 77 6f 72 6b 2f 69 6f 2d 73 65 72 76 69 63 65 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 | twork/io-service;1"]............ |
4d9c0 | 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 | ....getService(Components.interf |
4d9e0 | 61 63 65 73 2e 6e 73 49 49 4f 53 65 72 76 69 63 65 29 3b 0a 0a 20 20 20 20 76 61 72 20 75 73 61 | aces.nsIIOService);......var.usa |
4da00 | 67 65 20 3d 20 30 3b 0a 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 | ge.=.0;.....for.(var.i.=.0;.i.<. |
4da20 | 67 72 6f 75 70 73 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 | groups.length;.i++).{.......var. |
4da40 | 75 72 69 20 3d 20 69 6f 73 2e 6e 65 77 55 52 49 28 67 72 6f 75 70 73 5b 69 5d 2c 20 6e 75 6c 6c | uri.=.ios.newURI(groups[i],.null |
4da60 | 2c 20 6e 75 6c 6c 29 3b 0a 20 20 20 20 20 20 69 66 20 28 75 72 69 2e 61 73 63 69 69 48 6f 73 74 | ,.null);.......if.(uri.asciiHost |
4da80 | 20 3d 3d 20 68 6f 73 74 29 20 7b 0a 20 20 20 20 20 20 20 20 76 61 72 20 63 61 63 68 65 20 3d 20 | .==.host).{.........var.cache.=. |
4daa0 | 63 61 63 68 65 53 65 72 76 69 63 65 2e 67 65 74 41 63 74 69 76 65 43 61 63 68 65 28 67 72 6f 75 | cacheService.getActiveCache(grou |
4dac0 | 70 73 5b 69 5d 29 3b 0a 20 20 20 20 20 20 20 20 75 73 61 67 65 20 2b 3d 20 63 61 63 68 65 2e 75 | ps[i]);.........usage.+=.cache.u |
4dae0 | 73 61 67 65 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 0a 20 20 20 20 76 61 72 20 73 74 6f | sage;.......}.....}......var.sto |
4db00 | 72 61 67 65 4d 61 6e 61 67 65 72 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 | rageManager.=.Components.classes |
4db20 | 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 64 6f 6d 2f 73 74 6f 72 61 67 65 6d 61 6e 61 67 65 | ["@mozilla.org/dom/storagemanage |
4db40 | 72 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | r;1"]........................... |
4db60 | 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 | getService(Components.interfaces |
4db80 | 2e 6e 73 49 44 4f 4d 53 74 6f 72 61 67 65 4d 61 6e 61 67 65 72 29 3b 0a 20 20 20 20 75 73 61 67 | .nsIDOMStorageManager);.....usag |
4dba0 | 65 20 2b 3d 20 73 74 6f 72 61 67 65 4d 61 6e 61 67 65 72 2e 67 65 74 55 73 61 67 65 28 68 6f 73 | e.+=.storageManager.getUsage(hos |
4dbc0 | 74 29 3b 0a 0a 20 20 20 20 72 65 74 75 72 6e 20 75 73 61 67 65 3b 0a 20 20 7d 2c 0a 0a 20 20 5f | t);......return.usage;...},...._ |
4dbe0 | 63 68 65 63 6b 55 73 61 67 65 3a 20 66 75 6e 63 74 69 6f 6e 28 61 55 52 49 29 20 7b 0a 20 20 20 | checkUsage:.function(aURI).{.... |
4dc00 | 20 76 61 72 20 70 6d 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 70 65 72 6d 69 | .var.pm.=.Cc["@mozilla.org/permi |
4dc20 | 73 73 69 6f 6e 6d 61 6e 61 67 65 72 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 67 | ssionmanager;1"]...............g |
4dc40 | 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 50 65 72 6d 69 73 73 69 6f 6e 4d 61 6e 61 67 65 | etService(Ci.nsIPermissionManage |
4dc60 | 72 29 3b 0a 0a 20 20 20 20 2f 2f 20 69 66 20 74 68 65 20 75 73 65 72 20 68 61 73 20 61 6c 72 65 | r);......//.if.the.user.has.alre |
4dc80 | 61 64 79 20 61 6c 6c 6f 77 65 64 20 65 78 63 65 73 73 69 76 65 20 75 73 61 67 65 2c 20 64 6f 6e | ady.allowed.excessive.usage,.don |
4dca0 | 27 74 20 62 6f 74 68 65 72 20 63 68 65 63 6b 69 6e 67 0a 20 20 20 20 69 66 20 28 70 6d 2e 74 65 | 't.bother.checking.....if.(pm.te |
4dcc0 | 73 74 45 78 61 63 74 50 65 72 6d 69 73 73 69 6f 6e 28 61 55 52 49 2c 20 22 6f 66 66 6c 69 6e 65 | stExactPermission(aURI,."offline |
4dce0 | 2d 61 70 70 22 29 20 21 3d 0a 20 20 20 20 20 20 20 20 43 69 2e 6e 73 49 4f 66 66 6c 69 6e 65 43 | -app").!=.........Ci.nsIOfflineC |
4dd00 | 61 63 68 65 55 70 64 61 74 65 53 65 72 76 69 63 65 2e 41 4c 4c 4f 57 5f 4e 4f 5f 57 41 52 4e 29 | acheUpdateService.ALLOW_NO_WARN) |
4dd20 | 20 7b 0a 20 20 20 20 20 20 76 61 72 20 75 73 61 67 65 20 3d 20 74 68 69 73 2e 5f 67 65 74 4f 66 | .{.......var.usage.=.this._getOf |
4dd40 | 66 6c 69 6e 65 41 70 70 55 73 61 67 65 28 61 55 52 49 2e 61 73 63 69 69 48 6f 73 74 29 3b 0a 20 | flineAppUsage(aURI.asciiHost);.. |
4dd60 | 20 20 20 20 20 76 61 72 20 77 61 72 6e 51 75 6f 74 61 20 3d 20 67 50 72 65 66 53 65 72 76 69 63 | .....var.warnQuota.=.gPrefServic |
4dd80 | 65 2e 67 65 74 49 6e 74 50 72 65 66 28 22 6f 66 66 6c 69 6e 65 2d 61 70 70 73 2e 71 75 6f 74 61 | e.getIntPref("offline-apps.quota |
4dda0 | 2e 77 61 72 6e 22 29 3b 0a 20 20 20 20 20 20 69 66 20 28 75 73 61 67 65 20 3e 3d 20 77 61 72 6e | .warn");.......if.(usage.>=.warn |
4ddc0 | 51 75 6f 74 61 20 2a 20 31 30 32 34 29 20 7b 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 | Quota.*.1024).{.........return.t |
4dde0 | 72 75 65 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 0a 20 20 20 20 72 65 74 75 72 6e 20 66 | rue;.......}.....}......return.f |
4de00 | 61 6c 73 65 3b 0a 20 20 7d 2c 0a 0a 20 20 6f 66 66 6c 69 6e 65 41 70 70 52 65 71 75 65 73 74 65 | alse;...},....offlineAppRequeste |
4de20 | 64 3a 20 66 75 6e 63 74 69 6f 6e 28 61 43 6f 6e 74 65 6e 74 57 69 6e 64 6f 77 29 20 7b 0a 20 20 | d:.function(aContentWindow).{... |
4de40 | 20 20 69 66 20 28 21 67 50 72 65 66 53 65 72 76 69 63 65 2e 67 65 74 42 6f 6f 6c 50 72 65 66 28 | ..if.(!gPrefService.getBoolPref( |
4de60 | 22 62 72 6f 77 73 65 72 2e 6f 66 66 6c 69 6e 65 2d 61 70 70 73 2e 6e 6f 74 69 66 79 22 29 29 20 | "browser.offline-apps.notify")). |
4de80 | 7b 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 76 61 72 20 62 | {.......return;.....}......var.b |
4dea0 | 72 6f 77 73 65 72 57 69 6e 64 6f 77 20 3d 20 74 68 69 73 2e 5f 67 65 74 42 72 6f 77 73 65 72 57 | rowserWindow.=.this._getBrowserW |
4dec0 | 69 6e 64 6f 77 46 6f 72 43 6f 6e 74 65 6e 74 57 69 6e 64 6f 77 28 61 43 6f 6e 74 65 6e 74 57 69 | indowForContentWindow(aContentWi |
4dee0 | 6e 64 6f 77 29 3b 0a 20 20 20 20 76 61 72 20 62 72 6f 77 73 65 72 20 3d 20 74 68 69 73 2e 5f 67 | ndow);.....var.browser.=.this._g |
4df00 | 65 74 42 72 6f 77 73 65 72 46 6f 72 43 6f 6e 74 65 6e 74 57 69 6e 64 6f 77 28 62 72 6f 77 73 65 | etBrowserForContentWindow(browse |
4df20 | 72 57 69 6e 64 6f 77 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | rWindow,........................ |
4df40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 43 6f 6e | ............................aCon |
4df60 | 74 65 6e 74 57 69 6e 64 6f 77 29 3b 0a 0a 20 20 20 20 76 61 72 20 63 75 72 72 65 6e 74 55 52 49 | tentWindow);......var.currentURI |
4df80 | 20 3d 20 61 43 6f 6e 74 65 6e 74 57 69 6e 64 6f 77 2e 64 6f 63 75 6d 65 6e 74 2e 64 6f 63 75 6d | .=.aContentWindow.document.docum |
4dfa0 | 65 6e 74 55 52 49 4f 62 6a 65 63 74 3b 0a 20 20 20 20 76 61 72 20 70 6d 20 3d 20 43 63 5b 22 40 | entURIObject;.....var.pm.=.Cc["@ |
4dfc0 | 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 70 65 72 6d 69 73 73 69 6f 6e 6d 61 6e 61 67 65 72 3b 31 22 | mozilla.org/permissionmanager;1" |
4dfe0 | 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 | ]...............getService(Ci.ns |
4e000 | 49 50 65 72 6d 69 73 73 69 6f 6e 4d 61 6e 61 67 65 72 29 3b 0a 0a 20 20 20 20 2f 2f 20 64 6f 6e | IPermissionManager);......//.don |
4e020 | 27 74 20 62 6f 74 68 65 72 20 73 68 6f 77 69 6e 67 20 55 49 20 69 66 20 74 68 65 20 75 73 65 72 | 't.bother.showing.UI.if.the.user |
4e040 | 20 68 61 73 20 61 6c 72 65 61 64 79 20 6d 61 64 65 20 61 20 64 65 63 69 73 69 6f 6e 0a 20 20 20 | .has.already.made.a.decision.... |
4e060 | 20 69 66 20 28 70 6d 2e 74 65 73 74 45 78 61 63 74 50 65 72 6d 69 73 73 69 6f 6e 28 63 75 72 72 | .if.(pm.testExactPermission(curr |
4e080 | 65 6e 74 55 52 49 2c 20 22 6f 66 66 6c 69 6e 65 2d 61 70 70 22 29 20 21 3d 0a 20 20 20 20 20 20 | entURI,."offline-app").!=....... |
4e0a0 | 20 20 43 69 2e 6e 73 49 50 65 72 6d 69 73 73 69 6f 6e 4d 61 6e 61 67 65 72 2e 55 4e 4b 4e 4f 57 | ..Ci.nsIPermissionManager.UNKNOW |
4e0c0 | 4e 5f 41 43 54 49 4f 4e 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 20 20 74 72 79 | N_ACTION).......return;......try |
4e0e0 | 20 7b 0a 20 20 20 20 20 20 69 66 20 28 67 50 72 65 66 53 65 72 76 69 63 65 2e 67 65 74 42 6f 6f | .{.......if.(gPrefService.getBoo |
4e100 | 6c 50 72 65 66 28 22 6f 66 66 6c 69 6e 65 2d 61 70 70 73 2e 61 6c 6c 6f 77 5f 62 79 5f 64 65 66 | lPref("offline-apps.allow_by_def |
4e120 | 61 75 6c 74 22 29 29 20 7b 0a 20 20 20 20 20 20 20 20 2f 2f 20 61 6c 6c 20 70 61 67 65 73 20 63 | ault")).{.........//.all.pages.c |
4e140 | 61 6e 20 75 73 65 20 6f 66 66 6c 69 6e 65 20 63 61 70 61 62 69 6c 69 74 69 65 73 2c 20 6e 6f 20 | an.use.offline.capabilities,.no. |
4e160 | 6e 65 65 64 20 74 6f 20 61 73 6b 20 74 68 65 20 75 73 65 72 0a 20 20 20 20 20 20 20 20 72 65 74 | need.to.ask.the.user.........ret |
4e180 | 75 72 6e 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 20 63 61 74 63 68 28 65 29 20 7b 0a 20 20 | urn;.......}.....}.catch(e).{... |
4e1a0 | 20 20 20 20 2f 2f 20 74 68 69 73 20 70 72 65 66 20 69 73 6e 27 74 20 73 65 74 20 62 79 20 64 65 | ....//.this.pref.isn't.set.by.de |
4e1c0 | 66 61 75 6c 74 2c 20 69 67 6e 6f 72 65 20 66 61 69 6c 75 72 65 73 0a 20 20 20 20 7d 0a 0a 20 20 | fault,.ignore.failures.....}.... |
4e1e0 | 20 20 76 61 72 20 68 6f 73 74 20 3d 20 63 75 72 72 65 6e 74 55 52 49 2e 61 73 63 69 69 48 6f 73 | ..var.host.=.currentURI.asciiHos |
4e200 | 74 3b 0a 20 20 20 20 76 61 72 20 6e 6f 74 69 66 69 63 61 74 69 6f 6e 42 6f 78 20 3d 20 67 42 72 | t;.....var.notificationBox.=.gBr |
4e220 | 6f 77 73 65 72 2e 67 65 74 4e 6f 74 69 66 69 63 61 74 69 6f 6e 42 6f 78 28 62 72 6f 77 73 65 72 | owser.getNotificationBox(browser |
4e240 | 29 3b 0a 20 20 20 20 76 61 72 20 6e 6f 74 69 66 69 63 61 74 69 6f 6e 49 44 20 3d 20 22 6f 66 66 | );.....var.notificationID.=."off |
4e260 | 6c 69 6e 65 2d 61 70 70 2d 72 65 71 75 65 73 74 65 64 2d 22 20 2b 20 68 6f 73 74 3b 0a 20 20 20 | line-app-requested-".+.host;.... |
4e280 | 20 76 61 72 20 6e 6f 74 69 66 69 63 61 74 69 6f 6e 20 3d 20 6e 6f 74 69 66 69 63 61 74 69 6f 6e | .var.notification.=.notification |
4e2a0 | 42 6f 78 2e 67 65 74 4e 6f 74 69 66 69 63 61 74 69 6f 6e 57 69 74 68 56 61 6c 75 65 28 6e 6f 74 | Box.getNotificationWithValue(not |
4e2c0 | 69 66 69 63 61 74 69 6f 6e 49 44 29 3b 0a 0a 20 20 20 20 69 66 20 28 6e 6f 74 69 66 69 63 61 74 | ificationID);......if.(notificat |
4e2e0 | 69 6f 6e 29 20 7b 0a 20 20 20 20 20 20 6e 6f 74 69 66 69 63 61 74 69 6f 6e 2e 64 6f 63 75 6d 65 | ion).{.......notification.docume |
4e300 | 6e 74 73 2e 70 75 73 68 28 61 43 6f 6e 74 65 6e 74 57 69 6e 64 6f 77 2e 64 6f 63 75 6d 65 6e 74 | nts.push(aContentWindow.document |
4e320 | 29 3b 0a 20 20 20 20 7d 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 76 61 72 20 62 75 6e 64 6c 65 | );.....}.else.{.......var.bundle |
4e340 | 5f 62 72 6f 77 73 65 72 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 | _browser.=.document.getElementBy |
4e360 | 49 64 28 22 62 75 6e 64 6c 65 5f 62 72 6f 77 73 65 72 22 29 3b 0a 0a 20 20 20 20 20 20 76 61 72 | Id("bundle_browser");........var |
4e380 | 20 62 75 74 74 6f 6e 73 20 3d 20 5b 7b 0a 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3a 20 62 75 6e | .buttons.=.[{.........label:.bun |
4e3a0 | 64 6c 65 5f 62 72 6f 77 73 65 72 2e 67 65 74 53 74 72 69 6e 67 28 22 6f 66 66 6c 69 6e 65 41 70 | dle_browser.getString("offlineAp |
4e3c0 | 70 73 2e 61 6c 6c 6f 77 22 29 2c 0a 20 20 20 20 20 20 20 20 61 63 63 65 73 73 4b 65 79 3a 20 62 | ps.allow"),.........accessKey:.b |
4e3e0 | 75 6e 64 6c 65 5f 62 72 6f 77 73 65 72 2e 67 65 74 53 74 72 69 6e 67 28 22 6f 66 66 6c 69 6e 65 | undle_browser.getString("offline |
4e400 | 41 70 70 73 2e 61 6c 6c 6f 77 41 63 63 65 73 73 4b 65 79 22 29 2c 0a 20 20 20 20 20 20 20 20 63 | Apps.allowAccessKey"),.........c |
4e420 | 61 6c 6c 62 61 63 6b 3a 20 66 75 6e 63 74 69 6f 6e 28 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 | allback:.function().{........... |
4e440 | 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 6e 6f 74 69 66 69 63 61 74 69 6f 6e | for.(var.i.=.0;.i.<.notification |
4e460 | 2e 64 6f 63 75 6d 65 6e 74 73 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 20 7b 0a 20 20 20 20 20 20 | .documents.length;.i++).{....... |
4e480 | 20 20 20 20 20 20 4f 66 66 6c 69 6e 65 41 70 70 73 2e 61 6c 6c 6f 77 53 69 74 65 28 6e 6f 74 69 | ......OfflineApps.allowSite(noti |
4e4a0 | 66 69 63 61 74 69 6f 6e 2e 64 6f 63 75 6d 65 6e 74 73 5b 69 5d 29 3b 0a 20 20 20 20 20 20 20 20 | fication.documents[i]);......... |
4e4c0 | 20 20 7d 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 7d 2c 7b 0a 20 20 20 20 20 20 20 20 | ..}.........}.......},{......... |
4e4e0 | 6c 61 62 65 6c 3a 20 62 75 6e 64 6c 65 5f 62 72 6f 77 73 65 72 2e 67 65 74 53 74 72 69 6e 67 28 | label:.bundle_browser.getString( |
4e500 | 22 6f 66 66 6c 69 6e 65 41 70 70 73 2e 6e 65 76 65 72 22 29 2c 0a 20 20 20 20 20 20 20 20 61 63 | "offlineApps.never"),.........ac |
4e520 | 63 65 73 73 4b 65 79 3a 20 62 75 6e 64 6c 65 5f 62 72 6f 77 73 65 72 2e 67 65 74 53 74 72 69 6e | cessKey:.bundle_browser.getStrin |
4e540 | 67 28 22 6f 66 66 6c 69 6e 65 41 70 70 73 2e 6e 65 76 65 72 41 63 63 65 73 73 4b 65 79 22 29 2c | g("offlineApps.neverAccessKey"), |
4e560 | 0a 20 20 20 20 20 20 20 20 63 61 6c 6c 62 61 63 6b 3a 20 66 75 6e 63 74 69 6f 6e 28 29 20 7b 0a | .........callback:.function().{. |
4e580 | 20 20 20 20 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 6e 6f | ..........for.(var.i.=.0;.i.<.no |
4e5a0 | 74 69 66 69 63 61 74 69 6f 6e 2e 64 6f 63 75 6d 65 6e 74 73 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b | tification.documents.length;.i++ |
4e5c0 | 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 4f 66 66 6c 69 6e 65 41 70 70 73 2e 64 69 73 61 | ).{.............OfflineApps.disa |
4e5e0 | 6c 6c 6f 77 53 69 74 65 28 6e 6f 74 69 66 69 63 61 74 69 6f 6e 2e 64 6f 63 75 6d 65 6e 74 73 5b | llowSite(notification.documents[ |
4e600 | 69 5d 29 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 | i]);...........}.........}...... |
4e620 | 20 7d 2c 7b 0a 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3a 20 62 75 6e 64 6c 65 5f 62 72 6f 77 73 | .},{.........label:.bundle_brows |
4e640 | 65 72 2e 67 65 74 53 74 72 69 6e 67 28 22 6f 66 66 6c 69 6e 65 41 70 70 73 2e 6e 6f 74 4e 6f 77 | er.getString("offlineApps.notNow |
4e660 | 22 29 2c 0a 20 20 20 20 20 20 20 20 61 63 63 65 73 73 4b 65 79 3a 20 62 75 6e 64 6c 65 5f 62 72 | "),.........accessKey:.bundle_br |
4e680 | 6f 77 73 65 72 2e 67 65 74 53 74 72 69 6e 67 28 22 6f 66 66 6c 69 6e 65 41 70 70 73 2e 6e 6f 74 | owser.getString("offlineApps.not |
4e6a0 | 4e 6f 77 41 63 63 65 73 73 4b 65 79 22 29 2c 0a 20 20 20 20 20 20 20 20 63 61 6c 6c 62 61 63 6b | NowAccessKey"),.........callback |
4e6c0 | 3a 20 66 75 6e 63 74 69 6f 6e 28 29 20 7b 20 2f 2a 20 6e 6f 6f 70 20 2a 2f 20 7d 0a 20 20 20 20 | :.function().{./*.noop.*/.}..... |
4e6e0 | 20 20 7d 5d 3b 0a 0a 20 20 20 20 20 20 63 6f 6e 73 74 20 70 72 69 6f 72 69 74 79 20 3d 20 6e 6f | ..}];........const.priority.=.no |
4e700 | 74 69 66 69 63 61 74 69 6f 6e 42 6f 78 2e 50 52 49 4f 52 49 54 59 5f 49 4e 46 4f 5f 4c 4f 57 3b | tificationBox.PRIORITY_INFO_LOW; |
4e720 | 0a 20 20 20 20 20 20 76 61 72 20 6d 65 73 73 61 67 65 20 3d 20 62 75 6e 64 6c 65 5f 62 72 6f 77 | .......var.message.=.bundle_brow |
4e740 | 73 65 72 2e 67 65 74 46 6f 72 6d 61 74 74 65 64 53 74 72 69 6e 67 28 22 6f 66 66 6c 69 6e 65 41 | ser.getFormattedString("offlineA |
4e760 | 70 70 73 2e 61 76 61 69 6c 61 62 6c 65 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | pps.available",................. |
4e780 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
4e7a0 | 20 20 20 20 20 20 5b 20 68 6f 73 74 20 5d 29 3b 0a 20 20 20 20 20 20 6e 6f 74 69 66 69 63 61 74 | ......[.host.]);.......notificat |
4e7c0 | 69 6f 6e 20 3d 0a 20 20 20 20 20 20 20 20 6e 6f 74 69 66 69 63 61 74 69 6f 6e 42 6f 78 2e 61 70 | ion.=.........notificationBox.ap |
4e7e0 | 70 65 6e 64 4e 6f 74 69 66 69 63 61 74 69 6f 6e 28 6d 65 73 73 61 67 65 2c 20 6e 6f 74 69 66 69 | pendNotification(message,.notifi |
4e800 | 63 61 74 69 6f 6e 49 44 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | cationID,....................... |
4e820 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 63 68 72 6f 6d 65 3a 2f 2f 62 | ....................."chrome://b |
4e840 | 72 6f 77 73 65 72 2f 73 6b 69 6e 2f 49 6e 66 6f 2e 70 6e 67 22 2c 0a 20 20 20 20 20 20 20 20 20 | rowser/skin/Info.png",.......... |
4e860 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
4e880 | 20 20 70 72 69 6f 72 69 74 79 2c 20 62 75 74 74 6f 6e 73 29 3b 0a 20 20 20 20 20 20 6e 6f 74 69 | ..priority,.buttons);.......noti |
4e8a0 | 66 69 63 61 74 69 6f 6e 2e 64 6f 63 75 6d 65 6e 74 73 20 3d 20 5b 20 61 43 6f 6e 74 65 6e 74 57 | fication.documents.=.[.aContentW |
4e8c0 | 69 6e 64 6f 77 2e 64 6f 63 75 6d 65 6e 74 20 5d 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 | indow.document.];.....}...},.... |
4e8e0 | 61 6c 6c 6f 77 53 69 74 65 3a 20 66 75 6e 63 74 69 6f 6e 28 61 44 6f 63 75 6d 65 6e 74 29 20 7b | allowSite:.function(aDocument).{ |
4e900 | 0a 20 20 20 20 76 61 72 20 70 6d 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 70 | .....var.pm.=.Cc["@mozilla.org/p |
4e920 | 65 72 6d 69 73 73 69 6f 6e 6d 61 6e 61 67 65 72 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 | ermissionmanager;1"]............ |
4e940 | 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 50 65 72 6d 69 73 73 69 6f 6e 4d 61 | ...getService(Ci.nsIPermissionMa |
4e960 | 6e 61 67 65 72 29 3b 0a 20 20 20 20 70 6d 2e 61 64 64 28 61 44 6f 63 75 6d 65 6e 74 2e 64 6f 63 | nager);.....pm.add(aDocument.doc |
4e980 | 75 6d 65 6e 74 55 52 49 4f 62 6a 65 63 74 2c 20 22 6f 66 66 6c 69 6e 65 2d 61 70 70 22 2c 0a 20 | umentURIObject,."offline-app",.. |
4e9a0 | 20 20 20 20 20 20 20 20 20 20 43 69 2e 6e 73 49 50 65 72 6d 69 73 73 69 6f 6e 4d 61 6e 61 67 65 | ..........Ci.nsIPermissionManage |
4e9c0 | 72 2e 41 4c 4c 4f 57 5f 41 43 54 49 4f 4e 29 3b 0a 0a 20 20 20 20 2f 2f 20 57 68 65 6e 20 61 20 | r.ALLOW_ACTION);......//.When.a. |
4e9e0 | 73 69 74 65 20 69 73 20 65 6e 61 62 6c 65 64 20 77 68 69 6c 65 20 6c 6f 61 64 69 6e 67 2c 20 6d | site.is.enabled.while.loading,.m |
4ea00 | 61 6e 69 66 65 73 74 20 72 65 73 6f 75 72 63 65 73 20 77 69 6c 6c 0a 20 20 20 20 2f 2f 20 73 74 | anifest.resources.will.....//.st |
4ea20 | 61 72 74 20 66 65 74 63 68 69 6e 67 20 69 6d 6d 65 64 69 61 74 65 6c 79 2e 20 20 54 68 69 73 20 | art.fetching.immediately...This. |
4ea40 | 6f 6e 65 20 74 69 6d 65 20 77 65 20 6e 65 65 64 20 74 6f 20 64 6f 20 69 74 0a 20 20 20 20 2f 2f | one.time.we.need.to.do.it.....// |
4ea60 | 20 6f 75 72 73 65 6c 76 65 73 2e 0a 20 20 20 20 74 68 69 73 2e 5f 73 74 61 72 74 46 65 74 63 68 | .ourselves......this._startFetch |
4ea80 | 69 6e 67 28 61 44 6f 63 75 6d 65 6e 74 29 3b 0a 20 20 7d 2c 0a 0a 20 20 64 69 73 61 6c 6c 6f 77 | ing(aDocument);...},....disallow |
4eaa0 | 53 69 74 65 3a 20 66 75 6e 63 74 69 6f 6e 28 61 44 6f 63 75 6d 65 6e 74 29 20 7b 0a 20 20 20 20 | Site:.function(aDocument).{..... |
4eac0 | 76 61 72 20 70 6d 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 70 65 72 6d 69 73 | var.pm.=.Cc["@mozilla.org/permis |
4eae0 | 73 69 6f 6e 6d 61 6e 61 67 65 72 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 | sionmanager;1"]...............ge |
4eb00 | 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 50 65 72 6d 69 73 73 69 6f 6e 4d 61 6e 61 67 65 72 | tService(Ci.nsIPermissionManager |
4eb20 | 29 3b 0a 20 20 20 20 70 6d 2e 61 64 64 28 61 44 6f 63 75 6d 65 6e 74 2e 64 6f 63 75 6d 65 6e 74 | );.....pm.add(aDocument.document |
4eb40 | 55 52 49 4f 62 6a 65 63 74 2c 20 22 6f 66 66 6c 69 6e 65 2d 61 70 70 22 2c 0a 20 20 20 20 20 20 | URIObject,."offline-app",....... |
4eb60 | 20 20 20 20 20 43 69 2e 6e 73 49 50 65 72 6d 69 73 73 69 6f 6e 4d 61 6e 61 67 65 72 2e 44 45 4e | .....Ci.nsIPermissionManager.DEN |
4eb80 | 59 5f 41 43 54 49 4f 4e 29 3b 0a 20 20 7d 2c 0a 0a 20 20 6d 61 6e 61 67 65 3a 20 66 75 6e 63 74 | Y_ACTION);...},....manage:.funct |
4eba0 | 69 6f 6e 28 29 20 7b 0a 20 20 20 20 6f 70 65 6e 41 64 76 61 6e 63 65 64 50 72 65 66 65 72 65 6e | ion().{.....openAdvancedPreferen |
4ebc0 | 63 65 73 28 22 6e 65 74 77 6f 72 6b 54 61 62 22 29 3b 0a 20 20 7d 2c 0a 0a 20 20 5f 73 74 61 72 | ces("networkTab");...},...._star |
4ebe0 | 74 46 65 74 63 68 69 6e 67 3a 20 66 75 6e 63 74 69 6f 6e 28 61 44 6f 63 75 6d 65 6e 74 29 20 7b | tFetching:.function(aDocument).{ |
4ec00 | 0a 20 20 20 20 69 66 20 28 21 61 44 6f 63 75 6d 65 6e 74 2e 64 6f 63 75 6d 65 6e 74 45 6c 65 6d | .....if.(!aDocument.documentElem |
4ec20 | 65 6e 74 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 20 20 76 61 72 20 6d 61 6e 69 | ent).......return;......var.mani |
4ec40 | 66 65 73 74 20 3d 20 61 44 6f 63 75 6d 65 6e 74 2e 64 6f 63 75 6d 65 6e 74 45 6c 65 6d 65 6e 74 | fest.=.aDocument.documentElement |
4ec60 | 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 6d 61 6e 69 66 65 73 74 22 29 3b 0a 20 20 20 20 69 | .getAttribute("manifest");.....i |
4ec80 | 66 20 28 21 6d 61 6e 69 66 65 73 74 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 20 | f.(!manifest).......return;..... |
4eca0 | 20 76 61 72 20 69 6f 73 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6e 65 74 77 | .var.ios.=.Cc["@mozilla.org/netw |
4ecc0 | 6f 72 6b 2f 69 6f 2d 73 65 72 76 69 63 65 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ork/io-service;1"].............. |
4ece0 | 20 20 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 49 4f 53 65 72 76 69 63 65 29 3b 0a 0a | ..getService(Ci.nsIIOService);.. |
4ed00 | 20 20 20 20 76 61 72 20 6d 61 6e 69 66 65 73 74 55 52 49 20 3d 20 69 6f 73 2e 6e 65 77 55 52 49 | ....var.manifestURI.=.ios.newURI |
4ed20 | 28 6d 61 6e 69 66 65 73 74 2c 20 61 44 6f 63 75 6d 65 6e 74 2e 63 68 61 72 61 63 74 65 72 53 65 | (manifest,.aDocument.characterSe |
4ed40 | 74 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | t,.............................. |
4ed60 | 20 20 20 20 61 44 6f 63 75 6d 65 6e 74 2e 64 6f 63 75 6d 65 6e 74 55 52 49 4f 62 6a 65 63 74 29 | ....aDocument.documentURIObject) |
4ed80 | 3b 0a 0a 20 20 20 20 76 61 72 20 75 70 64 61 74 65 53 65 72 76 69 63 65 20 3d 20 43 63 5b 22 40 | ;......var.updateService.=.Cc["@ |
4eda0 | 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6f 66 66 6c 69 6e 65 63 61 63 68 65 75 70 64 61 74 65 2d 73 | mozilla.org/offlinecacheupdate-s |
4edc0 | 65 72 76 69 63 65 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ervice;1"]...................... |
4ede0 | 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 4f 66 66 6c 69 6e 65 43 61 63 68 | ....getService(Ci.nsIOfflineCach |
4ee00 | 65 55 70 64 61 74 65 53 65 72 76 69 63 65 29 3b 0a 20 20 20 20 75 70 64 61 74 65 53 65 72 76 69 | eUpdateService);.....updateServi |
4ee20 | 63 65 2e 73 63 68 65 64 75 6c 65 55 70 64 61 74 65 28 6d 61 6e 69 66 65 73 74 55 52 49 2c 20 61 | ce.scheduleUpdate(manifestURI,.a |
4ee40 | 44 6f 63 75 6d 65 6e 74 2e 64 6f 63 75 6d 65 6e 74 55 52 49 4f 62 6a 65 63 74 29 3b 0a 20 20 7d | Document.documentURIObject);...} |
4ee60 | 2c 0a 0a 20 20 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f | ,..../////////////////////////// |
4ee80 | 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f | //////////////////////////////// |
4eea0 | 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 0a 20 20 2f 2f 20 6e 73 49 4f 62 73 65 72 | //////////////////...//.nsIObser |
4eec0 | 76 65 72 0a 20 20 6f 62 73 65 72 76 65 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 53 75 62 6a 65 63 | ver...observe:.function.(aSubjec |
4eee0 | 74 2c 20 61 54 6f 70 69 63 2c 20 61 53 74 61 74 65 29 0a 20 20 7b 0a 20 20 20 20 69 66 20 28 61 | t,.aTopic,.aState)...{.....if.(a |
4ef00 | 54 6f 70 69 63 20 3d 3d 20 22 64 6f 6d 2d 73 74 6f 72 61 67 65 2d 77 61 72 6e 2d 71 75 6f 74 61 | Topic.==."dom-storage-warn-quota |
4ef20 | 2d 65 78 63 65 65 64 65 64 22 29 20 7b 0a 20 20 20 20 20 20 69 66 20 28 61 53 75 62 6a 65 63 74 | -exceeded").{.......if.(aSubject |
4ef40 | 29 20 7b 0a 20 20 20 20 20 20 20 20 76 61 72 20 75 72 69 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c | ).{.........var.uri.=.Cc["@mozil |
4ef60 | 6c 61 2e 6f 72 67 2f 6e 65 74 77 6f 72 6b 2f 69 6f 2d 73 65 72 76 69 63 65 3b 31 22 5d 2e 0a 20 | la.org/network/io-service;1"]... |
4ef80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e | .................getService(Ci.n |
4efa0 | 73 49 49 4f 53 65 72 76 69 63 65 29 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | sIIOService).................... |
4efc0 | 6e 65 77 55 52 49 28 61 53 75 62 6a 65 63 74 2e 6c 6f 63 61 74 69 6f 6e 2e 68 72 65 66 2c 20 6e | newURI(aSubject.location.href,.n |
4efe0 | 75 6c 6c 2c 20 6e 75 6c 6c 29 3b 0a 0a 20 20 20 20 20 20 20 20 69 66 20 28 4f 66 66 6c 69 6e 65 | ull,.null);..........if.(Offline |
4f000 | 41 70 70 73 2e 5f 63 68 65 63 6b 55 73 61 67 65 28 75 72 69 29 29 20 7b 0a 20 20 20 20 20 20 20 | Apps._checkUsage(uri)).{........ |
4f020 | 20 20 20 76 61 72 20 62 72 6f 77 73 65 72 57 69 6e 64 6f 77 20 3d 0a 20 20 20 20 20 20 20 20 20 | ...var.browserWindow.=.......... |
4f040 | 20 20 20 74 68 69 73 2e 5f 67 65 74 42 72 6f 77 73 65 72 57 69 6e 64 6f 77 46 6f 72 43 6f 6e 74 | ...this._getBrowserWindowForCont |
4f060 | 65 6e 74 57 69 6e 64 6f 77 28 61 53 75 62 6a 65 63 74 29 3b 0a 20 20 20 20 20 20 20 20 20 20 76 | entWindow(aSubject);...........v |
4f080 | 61 72 20 62 72 6f 77 73 65 72 20 3d 20 74 68 69 73 2e 5f 67 65 74 42 72 6f 77 73 65 72 46 6f 72 | ar.browser.=.this._getBrowserFor |
4f0a0 | 43 6f 6e 74 65 6e 74 57 69 6e 64 6f 77 28 62 72 6f 77 73 65 72 57 69 6e 64 6f 77 2c 0a 20 20 20 | ContentWindow(browserWindow,.... |
4f0c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
4f0e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 53 75 62 6a 65 63 74 29 3b | ......................aSubject); |
4f100 | 0a 20 20 20 20 20 20 20 20 20 20 4f 66 66 6c 69 6e 65 41 70 70 73 2e 5f 77 61 72 6e 55 73 61 67 | ...........OfflineApps._warnUsag |
4f120 | 65 28 62 72 6f 77 73 65 72 2c 20 75 72 69 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 | e(browser,.uri);.........}...... |
4f140 | 20 7d 0a 20 20 20 20 7d 20 65 6c 73 65 20 69 66 20 28 61 54 6f 70 69 63 20 3d 3d 20 22 6f 66 66 | .}.....}.else.if.(aTopic.==."off |
4f160 | 6c 69 6e 65 2d 63 61 63 68 65 2d 75 70 64 61 74 65 2d 63 6f 6d 70 6c 65 74 65 64 22 29 20 7b 0a | line-cache-update-completed").{. |
4f180 | 20 20 20 20 20 20 76 61 72 20 63 61 63 68 65 55 70 64 61 74 65 20 3d 20 61 53 75 62 6a 65 63 74 | ......var.cacheUpdate.=.aSubject |
4f1a0 | 2e 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 28 43 69 2e 6e 73 49 4f 66 66 6c 69 6e 65 43 61 63 | .QueryInterface(Ci.nsIOfflineCac |
4f1c0 | 68 65 55 70 64 61 74 65 29 3b 0a 0a 20 20 20 20 20 20 76 61 72 20 75 72 69 20 3d 20 63 61 63 68 | heUpdate);........var.uri.=.cach |
4f1e0 | 65 55 70 64 61 74 65 2e 6d 61 6e 69 66 65 73 74 55 52 49 3b 0a 20 20 20 20 20 20 69 66 20 28 4f | eUpdate.manifestURI;.......if.(O |
4f200 | 66 66 6c 69 6e 65 41 70 70 73 2e 5f 63 68 65 63 6b 55 73 61 67 65 28 75 72 69 29 29 20 7b 0a 20 | fflineApps._checkUsage(uri)).{.. |
4f220 | 20 20 20 20 20 20 20 76 61 72 20 62 72 6f 77 73 65 72 20 3d 20 74 68 69 73 2e 5f 67 65 74 42 72 | .......var.browser.=.this._getBr |
4f240 | 6f 77 73 65 72 46 6f 72 43 61 63 68 65 55 70 64 61 74 65 28 63 61 63 68 65 55 70 64 61 74 65 29 | owserForCacheUpdate(cacheUpdate) |
4f260 | 3b 0a 20 20 20 20 20 20 20 20 69 66 20 28 62 72 6f 77 73 65 72 29 20 7b 0a 20 20 20 20 20 20 20 | ;.........if.(browser).{........ |
4f280 | 20 20 20 4f 66 66 6c 69 6e 65 41 70 70 73 2e 5f 77 61 72 6e 55 73 61 67 65 28 62 72 6f 77 73 65 | ...OfflineApps._warnUsage(browse |
4f2a0 | 72 2c 20 63 61 63 68 65 55 70 64 61 74 65 2e 6d 61 6e 69 66 65 73 74 55 52 49 29 3b 0a 20 20 20 | r,.cacheUpdate.manifestURI);.... |
4f2c0 | 20 20 20 20 20 7d 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 20 20 7d 0a 7d 3b 0a 0a 66 75 6e | .....}.......}.....}...}.};..fun |
4f2e0 | 63 74 69 6f 6e 20 57 69 6e 64 6f 77 49 73 43 6c 6f 73 69 6e 67 28 29 0a 7b 0a 20 20 76 61 72 20 | ction.WindowIsClosing().{...var. |
4f300 | 63 6e 20 3d 20 67 42 72 6f 77 73 65 72 2e 74 61 62 43 6f 6e 74 61 69 6e 65 72 2e 63 68 69 6c 64 | cn.=.gBrowser.tabContainer.child |
4f320 | 4e 6f 64 65 73 3b 0a 20 20 76 61 72 20 6e 75 6d 74 61 62 73 20 3d 20 63 6e 2e 6c 65 6e 67 74 68 | Nodes;...var.numtabs.=.cn.length |
4f340 | 3b 0a 20 20 76 61 72 20 72 65 61 6c 6c 79 43 6c 6f 73 65 20 3d 20 0a 20 20 20 20 63 6c 6f 73 65 | ;...var.reallyClose.=......close |
4f360 | 57 69 6e 64 6f 77 28 66 61 6c 73 65 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 75 | Window(false,.................fu |
4f380 | 6e 63 74 69 6f 6e 20 28 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 | nction.().{...................re |
4f3a0 | 74 75 72 6e 20 67 42 72 6f 77 73 65 72 2e 77 61 72 6e 41 62 6f 75 74 43 6c 6f 73 69 6e 67 54 61 | turn.gBrowser.warnAboutClosingTa |
4f3c0 | 62 73 28 74 72 75 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 29 3b 0a 0a 20 | bs(true);.................});... |
4f3e0 | 20 69 66 20 28 21 72 65 61 6c 6c 79 43 6c 6f 73 65 29 0a 20 20 20 20 72 65 74 75 72 6e 20 66 61 | .if.(!reallyClose).....return.fa |
4f400 | 6c 73 65 3b 0a 0a 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 72 65 61 6c 6c 79 43 6c | lse;....for.(var.i.=.0;.reallyCl |
4f420 | 6f 73 65 20 26 26 20 69 20 3c 20 6e 75 6d 74 61 62 73 3b 20 2b 2b 69 29 20 7b 0a 20 20 20 20 76 | ose.&&.i.<.numtabs;.++i).{.....v |
4f440 | 61 72 20 64 73 20 3d 20 67 42 72 6f 77 73 65 72 2e 67 65 74 42 72 6f 77 73 65 72 46 6f 72 54 61 | ar.ds.=.gBrowser.getBrowserForTa |
4f460 | 62 28 63 6e 5b 69 5d 29 2e 64 6f 63 53 68 65 6c 6c 3b 0a 0a 20 20 20 20 69 66 20 28 64 73 2e 63 | b(cn[i]).docShell;......if.(ds.c |
4f480 | 6f 6e 74 65 6e 74 56 69 65 77 65 72 20 26 26 20 21 64 73 2e 63 6f 6e 74 65 6e 74 56 69 65 77 65 | ontentViewer.&&.!ds.contentViewe |
4f4a0 | 72 2e 70 65 72 6d 69 74 55 6e 6c 6f 61 64 28 29 29 0a 20 20 20 20 20 20 72 65 61 6c 6c 79 43 6c | r.permitUnload()).......reallyCl |
4f4c0 | 6f 73 65 20 3d 20 66 61 6c 73 65 3b 0a 20 20 7d 0a 0a 20 20 72 65 74 75 72 6e 20 72 65 61 6c 6c | ose.=.false;...}....return.reall |
4f4e0 | 79 43 6c 6f 73 65 3b 0a 7d 0a 0a 76 61 72 20 4d 61 69 6c 49 6e 74 65 67 72 61 74 69 6f 6e 20 3d | yClose;.}..var.MailIntegration.= |
4f500 | 20 7b 0a 20 20 73 65 6e 64 4c 69 6e 6b 46 6f 72 57 69 6e 64 6f 77 3a 20 66 75 6e 63 74 69 6f 6e | .{...sendLinkForWindow:.function |
4f520 | 20 28 61 57 69 6e 64 6f 77 29 20 7b 0a 20 20 20 20 74 68 69 73 2e 73 65 6e 64 4d 65 73 73 61 67 | .(aWindow).{.....this.sendMessag |
4f540 | 65 28 61 57 69 6e 64 6f 77 2e 6c 6f 63 61 74 69 6f 6e 2e 68 72 65 66 2c 0a 20 20 20 20 20 20 20 | e(aWindow.location.href,........ |
4f560 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 57 69 6e 64 6f 77 2e 64 6f 63 75 6d 65 6e 74 2e 74 | ..............aWindow.document.t |
4f580 | 69 74 6c 65 29 3b 0a 20 20 7d 2c 0a 0a 20 20 73 65 6e 64 4d 65 73 73 61 67 65 3a 20 66 75 6e 63 | itle);...},....sendMessage:.func |
4f5a0 | 74 69 6f 6e 20 28 61 42 6f 64 79 2c 20 61 53 75 62 6a 65 63 74 29 20 7b 0a 20 20 20 20 2f 2f 20 | tion.(aBody,.aSubject).{.....//. |
4f5c0 | 67 65 6e 65 72 61 74 65 20 61 20 6d 61 69 6c 74 6f 20 75 72 6c 20 62 61 73 65 64 20 6f 6e 20 74 | generate.a.mailto.url.based.on.t |
4f5e0 | 68 65 20 75 72 6c 20 61 6e 64 20 74 68 65 20 75 72 6c 27 73 20 74 69 74 6c 65 0a 20 20 20 20 76 | he.url.and.the.url's.title.....v |
4f600 | 61 72 20 6d 61 69 6c 74 6f 55 72 6c 20 3d 20 22 6d 61 69 6c 74 6f 3a 22 3b 0a 20 20 20 20 69 66 | ar.mailtoUrl.=."mailto:";.....if |
4f620 | 20 28 61 42 6f 64 79 29 20 7b 0a 20 20 20 20 20 20 6d 61 69 6c 74 6f 55 72 6c 20 2b 3d 20 22 3f | .(aBody).{.......mailtoUrl.+=."? |
4f640 | 62 6f 64 79 3d 22 20 2b 20 65 6e 63 6f 64 65 55 52 49 43 6f 6d 70 6f 6e 65 6e 74 28 61 42 6f 64 | body=".+.encodeURIComponent(aBod |
4f660 | 79 29 3b 0a 20 20 20 20 20 20 6d 61 69 6c 74 6f 55 72 6c 20 2b 3d 20 22 26 73 75 62 6a 65 63 74 | y);.......mailtoUrl.+=."&subject |
4f680 | 3d 22 20 2b 20 65 6e 63 6f 64 65 55 52 49 43 6f 6d 70 6f 6e 65 6e 74 28 61 53 75 62 6a 65 63 74 | =".+.encodeURIComponent(aSubject |
4f6a0 | 29 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 76 61 72 20 69 6f 53 65 72 76 69 63 65 20 3d 20 43 6f | );.....}......var.ioService.=.Co |
4f6c0 | 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6e | mponents.classes["@mozilla.org/n |
4f6e0 | 65 74 77 6f 72 6b 2f 69 6f 2d 73 65 72 76 69 63 65 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 | etwork/io-service;1"]........... |
4f700 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 | .....................getService( |
4f720 | 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 49 4f 53 65 72 76 69 | Components.interfaces.nsIIOServi |
4f740 | 63 65 29 3b 0a 20 20 20 20 76 61 72 20 75 72 69 20 3d 20 69 6f 53 65 72 76 69 63 65 2e 6e 65 77 | ce);.....var.uri.=.ioService.new |
4f760 | 55 52 49 28 6d 61 69 6c 74 6f 55 72 6c 2c 20 6e 75 6c 6c 2c 20 6e 75 6c 6c 29 3b 0a 0a 20 20 20 | URI(mailtoUrl,.null,.null);..... |
4f780 | 20 2f 2f 20 6e 6f 77 20 70 61 73 73 20 74 68 69 73 20 75 72 69 20 74 6f 20 74 68 65 20 6f 70 65 | .//.now.pass.this.uri.to.the.ope |
4f7a0 | 72 61 74 69 6e 67 20 73 79 73 74 65 6d 0a 20 20 20 20 74 68 69 73 2e 5f 6c 61 75 6e 63 68 45 78 | rating.system.....this._launchEx |
4f7c0 | 74 65 72 6e 61 6c 55 72 6c 28 75 72 69 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2f 20 61 20 67 65 6e | ternalUrl(uri);...},....//.a.gen |
4f7e0 | 65 72 69 63 20 6d 65 74 68 6f 64 20 77 68 69 63 68 20 63 61 6e 20 62 65 20 75 73 65 64 20 74 6f | eric.method.which.can.be.used.to |
4f800 | 20 70 61 73 73 20 61 72 62 69 74 72 61 72 79 20 75 72 6c 73 20 74 6f 20 74 68 65 20 6f 70 65 72 | .pass.arbitrary.urls.to.the.oper |
4f820 | 61 74 69 6e 67 0a 20 20 2f 2f 20 73 79 73 74 65 6d 2e 0a 20 20 2f 2f 20 61 55 52 4c 20 2d 2d 3e | ating...//.system....//.aURL.--> |
4f840 | 20 61 20 6e 73 49 55 52 49 20 77 68 69 63 68 20 72 65 70 72 65 73 65 6e 74 73 20 74 68 65 20 75 | .a.nsIURI.which.represents.the.u |
4f860 | 72 6c 20 74 6f 20 6c 61 75 6e 63 68 0a 20 20 5f 6c 61 75 6e 63 68 45 78 74 65 72 6e 61 6c 55 72 | rl.to.launch..._launchExternalUr |
4f880 | 6c 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 55 52 4c 29 20 7b 0a 20 20 20 20 76 61 72 20 65 78 74 | l:.function.(aURL).{.....var.ext |
4f8a0 | 50 72 6f 74 6f 63 6f 6c 53 76 63 20 3d 0a 20 20 20 20 20 20 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e | ProtocolSvc.=........Components. |
4f8c0 | 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 75 72 69 6c 6f 61 64 65 72 2f | classes["@mozilla.org/uriloader/ |
4f8e0 | 65 78 74 65 72 6e 61 6c 2d 70 72 6f 74 6f 63 6f 6c 2d 73 65 72 76 69 63 65 3b 31 22 5d 0a 20 20 | external-protocol-service;1"]... |
4f900 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f | ................getService(Compo |
4f920 | 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 45 78 74 65 72 6e 61 6c 50 72 6f 74 | nents.interfaces.nsIExternalProt |
4f940 | 6f 63 6f 6c 53 65 72 76 69 63 65 29 3b 0a 20 20 20 20 69 66 20 28 65 78 74 50 72 6f 74 6f 63 6f | ocolService);.....if.(extProtoco |
4f960 | 6c 53 76 63 29 0a 20 20 20 20 20 20 65 78 74 50 72 6f 74 6f 63 6f 6c 53 76 63 2e 6c 6f 61 64 55 | lSvc).......extProtocolSvc.loadU |
4f980 | 72 6c 28 61 55 52 4c 29 3b 0a 20 20 7d 0a 7d 3b 0a 0a 66 75 6e 63 74 69 6f 6e 20 42 72 6f 77 73 | rl(aURL);...}.};..function.Brows |
4f9a0 | 65 72 4f 70 65 6e 41 64 64 6f 6e 73 4d 67 72 28 61 50 61 6e 65 29 0a 7b 0a 20 20 63 6f 6e 73 74 | erOpenAddonsMgr(aPane).{...const |
4f9c0 | 20 45 4d 54 59 50 45 20 3d 20 22 45 78 74 65 6e 73 69 6f 6e 3a 4d 61 6e 61 67 65 72 22 3b 0a 20 | .EMTYPE.=."Extension:Manager";.. |
4f9e0 | 20 76 61 72 20 77 6d 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d | .var.wm.=.Components.classes["@m |
4fa00 | 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 61 70 70 73 68 65 6c 6c 2f 77 69 6e 64 6f 77 2d 6d 65 64 69 61 | ozilla.org/appshell/window-media |
4fa20 | 74 6f 72 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 | tor;1"].......................ge |
4fa40 | 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e | tService(Components.interfaces.n |
4fa60 | 73 49 57 69 6e 64 6f 77 4d 65 64 69 61 74 6f 72 29 3b 0a 20 20 76 61 72 20 74 68 65 45 4d 20 3d | sIWindowMediator);...var.theEM.= |
4fa80 | 20 77 6d 2e 67 65 74 4d 6f 73 74 52 65 63 65 6e 74 57 69 6e 64 6f 77 28 45 4d 54 59 50 45 29 3b | .wm.getMostRecentWindow(EMTYPE); |
4faa0 | 0a 20 20 69 66 20 28 74 68 65 45 4d 29 20 7b 0a 20 20 20 20 74 68 65 45 4d 2e 66 6f 63 75 73 28 | ...if.(theEM).{.....theEM.focus( |
4fac0 | 29 3b 0a 20 20 20 20 69 66 20 28 61 50 61 6e 65 29 0a 20 20 20 20 20 20 74 68 65 45 4d 2e 73 68 | );.....if.(aPane).......theEM.sh |
4fae0 | 6f 77 56 69 65 77 28 61 50 61 6e 65 29 3b 0a 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 7d 0a 0a | owView(aPane);.....return;...}.. |
4fb00 | 20 20 63 6f 6e 73 74 20 45 4d 55 52 4c 20 3d 20 22 63 68 72 6f 6d 65 3a 2f 2f 6d 6f 7a 61 70 70 | ..const.EMURL.=."chrome://mozapp |
4fb20 | 73 2f 63 6f 6e 74 65 6e 74 2f 65 78 74 65 6e 73 69 6f 6e 73 2f 65 78 74 65 6e 73 69 6f 6e 73 2e | s/content/extensions/extensions. |
4fb40 | 78 75 6c 22 3b 0a 20 20 63 6f 6e 73 74 20 45 4d 46 45 41 54 55 52 45 53 20 3d 20 22 63 68 72 6f | xul";...const.EMFEATURES.=."chro |
4fb60 | 6d 65 2c 6d 65 6e 75 62 61 72 2c 65 78 74 72 61 2d 63 68 72 6f 6d 65 2c 74 6f 6f 6c 62 61 72 2c | me,menubar,extra-chrome,toolbar, |
4fb80 | 64 69 61 6c 6f 67 3d 6e 6f 2c 72 65 73 69 7a 61 62 6c 65 22 3b 0a 20 20 69 66 20 28 61 50 61 6e | dialog=no,resizable";...if.(aPan |
4fba0 | 65 29 0a 20 20 20 20 77 69 6e 64 6f 77 2e 6f 70 65 6e 44 69 61 6c 6f 67 28 45 4d 55 52 4c 2c 20 | e).....window.openDialog(EMURL,. |
4fbc0 | 22 22 2c 20 45 4d 46 45 41 54 55 52 45 53 2c 20 61 50 61 6e 65 29 3b 0a 20 20 65 6c 73 65 0a 20 | "",.EMFEATURES,.aPane);...else.. |
4fbe0 | 20 20 20 77 69 6e 64 6f 77 2e 6f 70 65 6e 44 69 61 6c 6f 67 28 45 4d 55 52 4c 2c 20 22 22 2c 20 | ...window.openDialog(EMURL,."",. |
4fc00 | 45 4d 46 45 41 54 55 52 45 53 29 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 65 73 63 61 70 65 4e | EMFEATURES);.}..function.escapeN |
4fc20 | 61 6d 65 56 61 6c 75 65 50 61 69 72 28 61 4e 61 6d 65 2c 20 61 56 61 6c 75 65 2c 20 61 49 73 46 | ameValuePair(aName,.aValue,.aIsF |
4fc40 | 6f 72 6d 55 72 6c 45 6e 63 6f 64 65 64 29 0a 7b 0a 20 20 69 66 20 28 61 49 73 46 6f 72 6d 55 72 | ormUrlEncoded).{...if.(aIsFormUr |
4fc60 | 6c 45 6e 63 6f 64 65 64 29 0a 20 20 20 20 72 65 74 75 72 6e 20 65 73 63 61 70 65 28 61 4e 61 6d | lEncoded).....return.escape(aNam |
4fc80 | 65 20 2b 20 22 3d 22 20 2b 20 61 56 61 6c 75 65 29 3b 0a 20 20 65 6c 73 65 0a 20 20 20 20 72 65 | e.+."=".+.aValue);...else.....re |
4fca0 | 74 75 72 6e 20 65 73 63 61 70 65 28 61 4e 61 6d 65 29 20 2b 20 22 3d 22 20 2b 20 65 73 63 61 70 | turn.escape(aName).+."=".+.escap |
4fcc0 | 65 28 61 56 61 6c 75 65 29 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 41 64 64 4b 65 79 77 6f 72 | e(aValue);.}..function.AddKeywor |
4fce0 | 64 46 6f 72 53 65 61 72 63 68 46 69 65 6c 64 28 29 0a 7b 0a 20 20 76 61 72 20 6e 6f 64 65 20 3d | dForSearchField().{...var.node.= |
4fd00 | 20 64 6f 63 75 6d 65 6e 74 2e 70 6f 70 75 70 4e 6f 64 65 3b 0a 0a 20 20 76 61 72 20 63 68 61 72 | .document.popupNode;....var.char |
4fd20 | 73 65 74 20 3d 20 6e 6f 64 65 2e 6f 77 6e 65 72 44 6f 63 75 6d 65 6e 74 2e 63 68 61 72 61 63 74 | set.=.node.ownerDocument.charact |
4fd40 | 65 72 53 65 74 3b 0a 0a 20 20 76 61 72 20 64 6f 63 55 52 49 20 3d 20 6d 61 6b 65 55 52 49 28 6e | erSet;....var.docURI.=.makeURI(n |
4fd60 | 6f 64 65 2e 6f 77 6e 65 72 44 6f 63 75 6d 65 6e 74 2e 55 52 4c 2c 0a 20 20 20 20 20 20 20 20 20 | ode.ownerDocument.URL,.......... |
4fd80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 68 61 72 73 65 74 29 3b 0a 0a 20 20 76 61 72 20 66 | ..............charset);....var.f |
4fda0 | 6f 72 6d 55 52 49 20 3d 20 6d 61 6b 65 55 52 49 28 6e 6f 64 65 2e 66 6f 72 6d 2e 67 65 74 41 74 | ormURI.=.makeURI(node.form.getAt |
4fdc0 | 74 72 69 62 75 74 65 28 22 61 63 74 69 6f 6e 22 29 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | tribute("action"),.............. |
4fde0 | 20 20 20 20 20 20 20 20 20 20 20 63 68 61 72 73 65 74 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ...........charset,............. |
4fe00 | 20 20 20 20 20 20 20 20 20 20 20 20 64 6f 63 55 52 49 29 3b 0a 0a 20 20 76 61 72 20 73 70 65 63 | ............docURI);....var.spec |
4fe20 | 20 3d 20 66 6f 72 6d 55 52 49 2e 73 70 65 63 3b 0a 0a 20 20 76 61 72 20 69 73 55 52 4c 45 6e 63 | .=.formURI.spec;....var.isURLEnc |
4fe40 | 6f 64 65 64 20 3d 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6e 6f 64 65 2e 66 6f 72 | oded.=.................(node.for |
4fe60 | 6d 2e 6d 65 74 68 6f 64 2e 74 6f 55 70 70 65 72 43 61 73 65 28 29 20 3d 3d 20 22 50 4f 53 54 22 | m.method.toUpperCase().==."POST" |
4fe80 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 26 26 20 28 6e 6f 64 65 2e 66 6f 72 6d 2e 65 | .................&&.(node.form.e |
4fea0 | 6e 63 74 79 70 65 20 3d 3d 20 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f 78 2d 77 77 77 2d 66 6f 72 | nctype.==."application/x-www-for |
4fec0 | 6d 2d 75 72 6c 65 6e 63 6f 64 65 64 22 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | m-urlencoded".||................ |
4fee0 | 20 20 20 20 20 6e 6f 64 65 2e 66 6f 72 6d 2e 65 6e 63 74 79 70 65 20 3d 3d 20 22 22 29 29 3b 0a | .....node.form.enctype.==.""));. |
4ff00 | 0a 20 20 76 61 72 20 65 6c 2c 20 74 79 70 65 3b 0a 20 20 76 61 72 20 66 6f 72 6d 44 61 74 61 20 | ...var.el,.type;...var.formData. |
4ff20 | 3d 20 5b 5d 3b 0a 0a 20 20 66 6f 72 20 28 76 61 72 20 69 3d 30 3b 20 69 20 3c 20 6e 6f 64 65 2e | =.[];....for.(var.i=0;.i.<.node. |
4ff40 | 66 6f 72 6d 2e 65 6c 65 6d 65 6e 74 73 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 20 7b 0a 20 20 20 | form.elements.length;.i++).{.... |
4ff60 | 20 65 6c 20 3d 20 6e 6f 64 65 2e 66 6f 72 6d 2e 65 6c 65 6d 65 6e 74 73 5b 69 5d 3b 0a 0a 20 20 | .el.=.node.form.elements[i];.... |
4ff80 | 20 20 69 66 20 28 21 65 6c 2e 74 79 70 65 29 20 2f 2f 20 68 61 70 70 65 6e 73 20 77 69 74 68 20 | ..if.(!el.type).//.happens.with. |
4ffa0 | 66 69 65 6c 64 73 65 74 73 0a 20 20 20 20 20 20 63 6f 6e 74 69 6e 75 65 3b 0a 0a 20 20 20 20 69 | fieldsets.......continue;......i |
4ffc0 | 66 20 28 65 6c 20 3d 3d 20 6e 6f 64 65 29 20 7b 0a 20 20 20 20 20 20 66 6f 72 6d 44 61 74 61 2e | f.(el.==.node).{.......formData. |
4ffe0 | 70 75 73 68 28 28 69 73 55 52 4c 45 6e 63 6f 64 65 64 29 20 3f 20 65 73 63 61 70 65 4e 61 6d 65 | push((isURLEncoded).?.escapeName |
50000 | 56 61 6c 75 65 50 61 69 72 28 65 6c 2e 6e 61 6d 65 2c 20 22 25 73 22 2c 20 74 72 75 65 29 20 3a | ValuePair(el.name,."%s",.true).: |
50020 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
50040 | 20 20 20 20 20 20 2f 2f 20 44 6f 6e 27 74 20 65 73 63 61 70 65 20 22 25 73 22 2c 20 6a 75 73 74 | ......//.Don't.escape."%s",.just |
50060 | 20 61 70 70 65 6e 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .append......................... |
50080 | 20 20 20 20 20 20 20 20 20 20 20 20 20 65 73 63 61 70 65 4e 61 6d 65 56 61 6c 75 65 50 61 69 72 | .............escapeNameValuePair |
500a0 | 28 65 6c 2e 6e 61 6d 65 2c 20 22 22 2c 20 66 61 6c 73 65 29 20 2b 20 22 25 73 22 29 3b 0a 20 20 | (el.name,."",.false).+."%s");... |
500c0 | 20 20 20 20 63 6f 6e 74 69 6e 75 65 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 74 79 70 65 20 3d 20 | ....continue;.....}......type.=. |
500e0 | 65 6c 2e 74 79 70 65 2e 74 6f 4c 6f 77 65 72 43 61 73 65 28 29 3b 0a 20 20 20 20 0a 20 20 20 20 | el.type.toLowerCase();.......... |
50100 | 69 66 20 28 28 74 79 70 65 20 3d 3d 20 22 74 65 78 74 22 20 7c 7c 20 74 79 70 65 20 3d 3d 20 22 | if.((type.==."text".||.type.==." |
50120 | 68 69 64 64 65 6e 22 20 7c 7c 20 74 79 70 65 20 3d 3d 20 22 74 65 78 74 61 72 65 61 22 29 20 7c | hidden".||.type.==."textarea").| |
50140 | 7c 0a 20 20 20 20 20 20 20 20 28 28 74 79 70 65 20 3d 3d 20 22 63 68 65 63 6b 62 6f 78 22 20 7c | |.........((type.==."checkbox".| |
50160 | 7c 20 74 79 70 65 20 3d 3d 20 22 72 61 64 69 6f 22 29 20 26 26 20 65 6c 2e 63 68 65 63 6b 65 64 | |.type.==."radio").&&.el.checked |
50180 | 29 29 20 7b 0a 20 20 20 20 20 20 66 6f 72 6d 44 61 74 61 2e 70 75 73 68 28 65 73 63 61 70 65 4e | )).{.......formData.push(escapeN |
501a0 | 61 6d 65 56 61 6c 75 65 50 61 69 72 28 65 6c 2e 6e 61 6d 65 2c 20 65 6c 2e 76 61 6c 75 65 2c 20 | ameValuePair(el.name,.el.value,. |
501c0 | 69 73 55 52 4c 45 6e 63 6f 64 65 64 29 29 3b 0a 20 20 20 20 7d 20 65 6c 73 65 20 69 66 20 28 65 | isURLEncoded));.....}.else.if.(e |
501e0 | 6c 20 69 6e 73 74 61 6e 63 65 6f 66 20 48 54 4d 4c 53 65 6c 65 63 74 45 6c 65 6d 65 6e 74 20 26 | l.instanceof.HTMLSelectElement.& |
50200 | 26 20 65 6c 2e 73 65 6c 65 63 74 65 64 49 6e 64 65 78 20 3e 3d 20 30 29 20 7b 0a 20 20 20 20 20 | &.el.selectedIndex.>=.0).{...... |
50220 | 20 66 6f 72 20 28 76 61 72 20 6a 3d 30 3b 20 6a 20 3c 20 65 6c 2e 6f 70 74 69 6f 6e 73 2e 6c 65 | .for.(var.j=0;.j.<.el.options.le |
50240 | 6e 67 74 68 3b 20 6a 2b 2b 29 20 7b 0a 20 20 20 20 20 20 20 20 69 66 20 28 65 6c 2e 6f 70 74 69 | ngth;.j++).{.........if.(el.opti |
50260 | 6f 6e 73 5b 6a 5d 2e 73 65 6c 65 63 74 65 64 29 0a 20 20 20 20 20 20 20 20 20 20 66 6f 72 6d 44 | ons[j].selected)...........formD |
50280 | 61 74 61 2e 70 75 73 68 28 65 73 63 61 70 65 4e 61 6d 65 56 61 6c 75 65 50 61 69 72 28 65 6c 2e | ata.push(escapeNameValuePair(el. |
502a0 | 6e 61 6d 65 2c 20 65 6c 2e 6f 70 74 69 6f 6e 73 5b 6a 5d 2e 76 61 6c 75 65 2c 0a 20 20 20 20 20 | name,.el.options[j].value,...... |
502c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
502e0 | 20 20 20 20 20 20 20 69 73 55 52 4c 45 6e 63 6f 64 65 64 29 29 3b 0a 20 20 20 20 20 20 7d 0a 20 | .......isURLEncoded));.......}.. |
50300 | 20 20 20 7d 0a 20 20 7d 0a 0a 20 20 76 61 72 20 70 6f 73 74 44 61 74 61 3b 0a 0a 20 20 69 66 20 | ...}...}....var.postData;....if. |
50320 | 28 69 73 55 52 4c 45 6e 63 6f 64 65 64 29 0a 20 20 20 20 70 6f 73 74 44 61 74 61 20 3d 20 66 6f | (isURLEncoded).....postData.=.fo |
50340 | 72 6d 44 61 74 61 2e 6a 6f 69 6e 28 22 26 22 29 3b 0a 20 20 65 6c 73 65 0a 20 20 20 20 73 70 65 | rmData.join("&");...else.....spe |
50360 | 63 20 2b 3d 20 22 3f 22 20 2b 20 66 6f 72 6d 44 61 74 61 2e 6a 6f 69 6e 28 22 26 22 29 3b 0a 0a | c.+=."?".+.formData.join("&");.. |
50380 | 20 20 76 61 72 20 64 65 73 63 72 69 70 74 69 6f 6e 20 3d 20 50 6c 61 63 65 73 55 49 55 74 69 6c | ..var.description.=.PlacesUIUtil |
503a0 | 73 2e 67 65 74 44 65 73 63 72 69 70 74 69 6f 6e 46 72 6f 6d 44 6f 63 75 6d 65 6e 74 28 6e 6f 64 | s.getDescriptionFromDocument(nod |
503c0 | 65 2e 6f 77 6e 65 72 44 6f 63 75 6d 65 6e 74 29 3b 0a 20 20 50 6c 61 63 65 73 55 49 55 74 69 6c | e.ownerDocument);...PlacesUIUtil |
503e0 | 73 2e 73 68 6f 77 4d 69 6e 69 6d 61 6c 41 64 64 42 6f 6f 6b 6d 61 72 6b 55 49 28 6d 61 6b 65 55 | s.showMinimalAddBookmarkUI(makeU |
50400 | 52 49 28 73 70 65 63 29 2c 20 22 22 2c 20 64 65 73 63 72 69 70 74 69 6f 6e 2c 20 6e 75 6c 6c 2c | RI(spec),."",.description,.null, |
50420 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
50440 | 20 20 20 20 20 20 20 20 20 20 6e 75 6c 6c 2c 20 6e 75 6c 6c 2c 20 22 22 2c 20 70 6f 73 74 44 61 | ..........null,.null,."",.postDa |
50460 | 74 61 2c 20 63 68 61 72 73 65 74 29 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 53 77 69 74 63 68 | ta,.charset);.}..function.Switch |
50480 | 44 6f 63 75 6d 65 6e 74 44 69 72 65 63 74 69 6f 6e 28 61 57 69 6e 64 6f 77 29 20 7b 0a 20 20 61 | DocumentDirection(aWindow).{...a |
504a0 | 57 69 6e 64 6f 77 2e 64 6f 63 75 6d 65 6e 74 2e 64 69 72 20 3d 20 28 61 57 69 6e 64 6f 77 2e 64 | Window.document.dir.=.(aWindow.d |
504c0 | 6f 63 75 6d 65 6e 74 2e 64 69 72 20 3d 3d 20 22 6c 74 72 22 20 3f 20 22 72 74 6c 22 20 3a 20 22 | ocument.dir.==."ltr".?."rtl".:." |
504e0 | 6c 74 72 22 29 3b 0a 20 20 66 6f 72 20 28 76 61 72 20 72 75 6e 20 3d 20 30 3b 20 72 75 6e 20 3c | ltr");...for.(var.run.=.0;.run.< |
50500 | 20 61 57 69 6e 64 6f 77 2e 66 72 61 6d 65 73 2e 6c 65 6e 67 74 68 3b 20 72 75 6e 2b 2b 29 0a 20 | .aWindow.frames.length;.run++).. |
50520 | 20 20 20 53 77 69 74 63 68 44 6f 63 75 6d 65 6e 74 44 69 72 65 63 74 69 6f 6e 28 61 57 69 6e 64 | ...SwitchDocumentDirection(aWind |
50540 | 6f 77 2e 66 72 61 6d 65 73 5b 72 75 6e 5d 29 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 67 65 74 | ow.frames[run]);.}..function.get |
50560 | 50 6c 75 67 69 6e 49 6e 66 6f 28 70 6c 75 67 69 6e 45 6c 65 6d 65 6e 74 29 0a 7b 0a 20 20 76 61 | PluginInfo(pluginElement).{...va |
50580 | 72 20 74 61 67 4d 69 6d 65 74 79 70 65 3b 0a 20 20 76 61 72 20 70 6c 75 67 69 6e 73 50 61 67 65 | r.tagMimetype;...var.pluginsPage |
505a0 | 3b 0a 20 20 69 66 20 28 70 6c 75 67 69 6e 45 6c 65 6d 65 6e 74 20 69 6e 73 74 61 6e 63 65 6f 66 | ;...if.(pluginElement.instanceof |
505c0 | 20 48 54 4d 4c 41 70 70 6c 65 74 45 6c 65 6d 65 6e 74 29 20 7b 0a 20 20 20 20 74 61 67 4d 69 6d | .HTMLAppletElement).{.....tagMim |
505e0 | 65 74 79 70 65 20 3d 20 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f 78 2d 6a 61 76 61 2d 76 6d 22 3b | etype.=."application/x-java-vm"; |
50600 | 0a 20 20 7d 20 65 6c 73 65 20 7b 0a 20 20 20 20 69 66 20 28 70 6c 75 67 69 6e 45 6c 65 6d 65 6e | ...}.else.{.....if.(pluginElemen |
50620 | 74 20 69 6e 73 74 61 6e 63 65 6f 66 20 48 54 4d 4c 4f 62 6a 65 63 74 45 6c 65 6d 65 6e 74 29 20 | t.instanceof.HTMLObjectElement). |
50640 | 7b 0a 20 20 20 20 20 20 70 6c 75 67 69 6e 73 50 61 67 65 20 3d 20 70 6c 75 67 69 6e 45 6c 65 6d | {.......pluginsPage.=.pluginElem |
50660 | 65 6e 74 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 63 6f 64 65 62 61 73 65 22 29 3b 0a 20 20 | ent.getAttribute("codebase");... |
50680 | 20 20 7d 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 70 6c 75 67 69 6e 73 50 61 67 65 20 3d 20 70 | ..}.else.{.......pluginsPage.=.p |
506a0 | 6c 75 67 69 6e 45 6c 65 6d 65 6e 74 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 70 6c 75 67 69 | luginElement.getAttribute("plugi |
506c0 | 6e 73 70 61 67 65 22 29 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 2f 2f 20 6f 6e 6c 79 20 61 74 74 | nspage");.....}......//.only.att |
506e0 | 65 6d 70 74 20 69 66 20 61 20 70 6c 75 67 69 6e 73 50 61 67 65 20 69 73 20 64 65 66 69 6e 65 64 | empt.if.a.pluginsPage.is.defined |
50700 | 2e 0a 20 20 20 20 69 66 20 28 70 6c 75 67 69 6e 73 50 61 67 65 29 20 7b 0a 20 20 20 20 20 20 76 | ......if.(pluginsPage).{.......v |
50720 | 61 72 20 64 6f 63 20 3d 20 70 6c 75 67 69 6e 45 6c 65 6d 65 6e 74 2e 6f 77 6e 65 72 44 6f 63 75 | ar.doc.=.pluginElement.ownerDocu |
50740 | 6d 65 6e 74 3b 0a 20 20 20 20 20 20 76 61 72 20 64 6f 63 53 68 65 6c 6c 20 3d 20 66 69 6e 64 43 | ment;.......var.docShell.=.findC |
50760 | 68 69 6c 64 53 68 65 6c 6c 28 64 6f 63 2c 20 67 42 72 6f 77 73 65 72 2e 73 65 6c 65 63 74 65 64 | hildShell(doc,.gBrowser.selected |
50780 | 42 72 6f 77 73 65 72 2e 64 6f 63 53 68 65 6c 6c 2c 20 6e 75 6c 6c 29 3b 0a 20 20 20 20 20 20 74 | Browser.docShell,.null);.......t |
507a0 | 72 79 20 7b 0a 20 20 20 20 20 20 20 20 70 6c 75 67 69 6e 73 50 61 67 65 20 3d 20 6d 61 6b 65 55 | ry.{.........pluginsPage.=.makeU |
507c0 | 52 49 28 70 6c 75 67 69 6e 73 50 61 67 65 2c 20 64 6f 63 2e 63 68 61 72 61 63 74 65 72 53 65 74 | RI(pluginsPage,.doc.characterSet |
507e0 | 2c 20 64 6f 63 53 68 65 6c 6c 2e 63 75 72 72 65 6e 74 55 52 49 29 2e 73 70 65 63 3b 0a 20 20 20 | ,.docShell.currentURI).spec;.... |
50800 | 20 20 20 7d 20 63 61 74 63 68 20 28 65 78 29 20 7b 20 0a 20 20 20 20 20 20 20 20 70 6c 75 67 69 | ...}.catch.(ex).{..........plugi |
50820 | 6e 73 50 61 67 65 20 3d 20 22 22 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 0a 20 20 20 20 | nsPage.=."";.......}.....}...... |
50840 | 74 61 67 4d 69 6d 65 74 79 70 65 20 3d 20 70 6c 75 67 69 6e 45 6c 65 6d 65 6e 74 2e 51 75 65 72 | tagMimetype.=.pluginElement.Quer |
50860 | 79 49 6e 74 65 72 66 61 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 | yInterface(Components.interfaces |
50880 | 2e 6e 73 49 4f 62 6a 65 63 74 4c 6f 61 64 69 6e 67 43 6f 6e 74 65 6e 74 29 0a 20 20 20 20 20 20 | .nsIObjectLoadingContent)....... |
508a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 61 63 74 75 61 6c | ..........................actual |
508c0 | 54 79 70 65 3b 0a 0a 20 20 20 20 69 66 20 28 74 61 67 4d 69 6d 65 74 79 70 65 20 3d 3d 20 22 22 | Type;......if.(tagMimetype.==."" |
508e0 | 29 20 7b 0a 20 20 20 20 20 20 74 61 67 4d 69 6d 65 74 79 70 65 20 3d 20 70 6c 75 67 69 6e 45 6c | ).{.......tagMimetype.=.pluginEl |
50900 | 65 6d 65 6e 74 2e 74 79 70 65 3b 0a 20 20 20 20 7d 0a 20 20 7d 0a 0a 20 20 72 65 74 75 72 6e 20 | ement.type;.....}...}....return. |
50920 | 7b 6d 69 6d 65 74 79 70 65 3a 20 74 61 67 4d 69 6d 65 74 79 70 65 2c 20 70 6c 75 67 69 6e 73 50 | {mimetype:.tagMimetype,.pluginsP |
50940 | 61 67 65 3a 20 70 6c 75 67 69 6e 73 50 61 67 65 7d 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 6d | age:.pluginsPage};.}..function.m |
50960 | 69 73 73 69 6e 67 50 6c 75 67 69 6e 49 6e 73 74 61 6c 6c 65 72 28 29 7b 0a 7d 0a 0a 6d 69 73 73 | issingPluginInstaller(){.}..miss |
50980 | 69 6e 67 50 6c 75 67 69 6e 49 6e 73 74 61 6c 6c 65 72 2e 70 72 6f 74 6f 74 79 70 65 2e 69 6e 73 | ingPluginInstaller.prototype.ins |
509a0 | 74 61 6c 6c 53 69 6e 67 6c 65 50 6c 75 67 69 6e 20 3d 20 66 75 6e 63 74 69 6f 6e 28 61 45 76 65 | tallSinglePlugin.=.function(aEve |
509c0 | 6e 74 29 7b 0a 20 20 76 61 72 20 6d 69 73 73 69 6e 67 50 6c 75 67 69 6e 73 41 72 72 61 79 20 3d | nt){...var.missingPluginsArray.= |
509e0 | 20 7b 7d 3b 0a 0a 20 20 76 61 72 20 70 6c 75 67 69 6e 49 6e 66 6f 20 3d 20 67 65 74 50 6c 75 67 | .{};....var.pluginInfo.=.getPlug |
50a00 | 69 6e 49 6e 66 6f 28 61 45 76 65 6e 74 2e 74 61 72 67 65 74 29 3b 0a 20 20 6d 69 73 73 69 6e 67 | inInfo(aEvent.target);...missing |
50a20 | 50 6c 75 67 69 6e 73 41 72 72 61 79 5b 70 6c 75 67 69 6e 49 6e 66 6f 2e 6d 69 6d 65 74 79 70 65 | PluginsArray[pluginInfo.mimetype |
50a40 | 5d 20 3d 20 70 6c 75 67 69 6e 49 6e 66 6f 3b 0a 0a 20 20 69 66 20 28 6d 69 73 73 69 6e 67 50 6c | ].=.pluginInfo;....if.(missingPl |
50a60 | 75 67 69 6e 73 41 72 72 61 79 29 20 7b 0a 20 20 20 20 77 69 6e 64 6f 77 2e 6f 70 65 6e 44 69 61 | uginsArray).{.....window.openDia |
50a80 | 6c 6f 67 28 22 63 68 72 6f 6d 65 3a 2f 2f 6d 6f 7a 61 70 70 73 2f 63 6f 6e 74 65 6e 74 2f 70 6c | log("chrome://mozapps/content/pl |
50aa0 | 75 67 69 6e 73 2f 70 6c 75 67 69 6e 49 6e 73 74 61 6c 6c 65 72 57 69 7a 61 72 64 2e 78 75 6c 22 | ugins/pluginInstallerWizard.xul" |
50ac0 | 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 50 46 53 57 69 6e 64 | ,......................."PFSWind |
50ae0 | 6f 77 22 2c 20 22 63 68 72 6f 6d 65 2c 63 65 6e 74 65 72 73 63 72 65 65 6e 2c 72 65 73 69 7a 61 | ow",."chrome,centerscreen,resiza |
50b00 | 62 6c 65 3d 79 65 73 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ble=yes",....................... |
50b20 | 7b 70 6c 75 67 69 6e 73 3a 20 6d 69 73 73 69 6e 67 50 6c 75 67 69 6e 73 41 72 72 61 79 2c 20 62 | {plugins:.missingPluginsArray,.b |
50b40 | 72 6f 77 73 65 72 3a 20 67 42 72 6f 77 73 65 72 2e 73 65 6c 65 63 74 65 64 42 72 6f 77 73 65 72 | rowser:.gBrowser.selectedBrowser |
50b60 | 7d 29 3b 0a 20 20 7d 0a 0a 20 20 61 45 76 65 6e 74 2e 73 74 6f 70 50 72 6f 70 61 67 61 74 69 6f | });...}....aEvent.stopPropagatio |
50b80 | 6e 28 29 3b 0a 7d 0a 0a 6d 69 73 73 69 6e 67 50 6c 75 67 69 6e 49 6e 73 74 61 6c 6c 65 72 2e 70 | n();.}..missingPluginInstaller.p |
50ba0 | 72 6f 74 6f 74 79 70 65 2e 6d 61 6e 61 67 65 50 6c 75 67 69 6e 73 20 3d 20 66 75 6e 63 74 69 6f | rototype.managePlugins.=.functio |
50bc0 | 6e 28 61 45 76 65 6e 74 29 7b 0a 20 20 42 72 6f 77 73 65 72 4f 70 65 6e 41 64 64 6f 6e 73 4d 67 | n(aEvent){...BrowserOpenAddonsMg |
50be0 | 72 28 22 70 6c 75 67 69 6e 73 22 29 3b 0a 20 20 61 45 76 65 6e 74 2e 73 74 6f 70 50 72 6f 70 61 | r("plugins");...aEvent.stopPropa |
50c00 | 67 61 74 69 6f 6e 28 29 3b 0a 7d 0a 0a 6d 69 73 73 69 6e 67 50 6c 75 67 69 6e 49 6e 73 74 61 6c | gation();.}..missingPluginInstal |
50c20 | 6c 65 72 2e 70 72 6f 74 6f 74 79 70 65 2e 6e 65 77 4d 69 73 73 69 6e 67 50 6c 75 67 69 6e 20 3d | ler.prototype.newMissingPlugin.= |
50c40 | 20 66 75 6e 63 74 69 6f 6e 28 61 45 76 65 6e 74 29 7b 0a 20 20 2f 2f 20 53 69 6e 63 65 20 77 65 | .function(aEvent){...//.Since.we |
50c60 | 20 61 72 65 20 65 78 70 65 63 74 69 6e 67 20 61 6c 73 6f 20 75 6e 74 72 75 73 74 65 64 20 65 76 | .are.expecting.also.untrusted.ev |
50c80 | 65 6e 74 73 2c 20 6d 61 6b 65 20 73 75 72 65 0a 20 20 2f 2f 20 74 68 61 74 20 74 68 65 20 74 61 | ents,.make.sure...//.that.the.ta |
50ca0 | 72 67 65 74 20 69 73 20 61 20 70 6c 75 67 69 6e 0a 20 20 69 66 20 28 21 28 61 45 76 65 6e 74 2e | rget.is.a.plugin...if.(!(aEvent. |
50cc0 | 74 61 72 67 65 74 20 69 6e 73 74 61 6e 63 65 6f 66 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 | target.instanceof.Components.int |
50ce0 | 65 72 66 61 63 65 73 2e 6e 73 49 4f 62 6a 65 63 74 4c 6f 61 64 69 6e 67 43 6f 6e 74 65 6e 74 29 | erfaces.nsIObjectLoadingContent) |
50d00 | 29 0a 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 2f 2f 20 46 6f 72 20 62 72 6f 6b 65 6e 20 6e | ).....return;....//.For.broken.n |
50d20 | 6f 6e 2d 6f 62 6a 65 63 74 20 70 6c 75 67 69 6e 20 74 61 67 73 2c 20 72 65 67 69 73 74 65 72 20 | on-object.plugin.tags,.register. |
50d40 | 61 20 63 6c 69 63 6b 20 68 61 6e 64 6c 65 72 20 73 6f 0a 20 20 2f 2f 20 74 68 61 74 20 74 68 65 | a.click.handler.so...//.that.the |
50d60 | 20 75 73 65 72 20 63 61 6e 20 63 6c 69 63 6b 20 74 68 65 20 70 6c 75 67 69 6e 20 72 65 70 6c 61 | .user.can.click.the.plugin.repla |
50d80 | 63 65 6d 65 6e 74 20 74 6f 20 67 65 74 20 74 68 65 20 6e 65 77 0a 20 20 2f 2f 20 70 6c 75 67 69 | cement.to.get.the.new...//.plugi |
50da0 | 6e 2e 20 4f 62 6a 65 63 74 20 74 61 67 73 20 63 61 6e 2c 20 61 6e 64 20 6f 66 74 65 6e 20 64 6f | n..Object.tags.can,.and.often.do |
50dc0 | 2c 20 64 65 61 6c 20 77 69 74 68 20 74 68 61 74 20 74 68 65 6d 73 65 6c 76 65 73 2c 0a 20 20 2f | ,.deal.with.that.themselves,.../ |
50de0 | 2f 20 73 6f 20 64 6f 6e 27 74 20 73 74 6f 6d 70 20 6f 6e 20 74 68 65 20 70 61 67 65 20 64 65 76 | /.so.don't.stomp.on.the.page.dev |
50e00 | 65 6c 6f 70 65 72 73 20 74 6f 65 73 2e 0a 0a 20 20 69 66 20 28 61 45 76 65 6e 74 2e 74 79 70 65 | elopers.toes.....if.(aEvent.type |
50e20 | 20 21 3d 20 22 50 6c 75 67 69 6e 42 6c 6f 63 6b 6c 69 73 74 65 64 22 20 26 26 0a 20 20 20 20 20 | .!=."PluginBlocklisted".&&...... |
50e40 | 20 21 28 61 45 76 65 6e 74 2e 74 61 72 67 65 74 20 69 6e 73 74 61 6e 63 65 6f 66 20 48 54 4d 4c | .!(aEvent.target.instanceof.HTML |
50e60 | 4f 62 6a 65 63 74 45 6c 65 6d 65 6e 74 29 29 20 7b 0a 20 20 20 20 61 45 76 65 6e 74 2e 74 61 72 | ObjectElement)).{.....aEvent.tar |
50e80 | 67 65 74 2e 61 64 64 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 28 22 63 6c 69 63 6b 22 2c 0a 20 20 | get.addEventListener("click",... |
50ea0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
50ec0 | 20 67 4d 69 73 73 69 6e 67 50 6c 75 67 69 6e 49 6e 73 74 61 6c 6c 65 72 2e 69 6e 73 74 61 6c 6c | .gMissingPluginInstaller.install |
50ee0 | 53 69 6e 67 6c 65 50 6c 75 67 69 6e 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | SinglePlugin,................... |
50f00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 72 75 65 29 3b 0a 20 20 7d 0a 0a 20 20 74 | .................true);...}....t |
50f20 | 72 79 20 7b 0a 20 20 20 20 69 66 20 28 67 50 72 65 66 53 65 72 76 69 63 65 2e 67 65 74 42 6f 6f | ry.{.....if.(gPrefService.getBoo |
50f40 | 6c 50 72 65 66 28 22 70 6c 75 67 69 6e 73 2e 68 69 64 65 5f 69 6e 66 6f 62 61 72 5f 66 6f 72 5f | lPref("plugins.hide_infobar_for_ |
50f60 | 6d 69 73 73 69 6e 67 5f 70 6c 75 67 69 6e 22 29 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a | missing_plugin")).......return;. |
50f80 | 20 20 7d 20 63 61 74 63 68 20 28 65 78 29 20 7b 7d 20 2f 2f 20 69 66 20 74 68 65 20 70 72 65 66 | ..}.catch.(ex).{}.//.if.the.pref |
50fa0 | 20 69 73 20 6d 69 73 73 69 6e 67 2c 20 74 72 65 61 74 20 69 74 20 61 73 20 66 61 6c 73 65 2c 20 | .is.missing,.treat.it.as.false,. |
50fc0 | 77 68 69 63 68 20 73 68 6f 77 73 20 74 68 65 20 69 6e 66 6f 62 61 72 0a 0a 20 20 76 61 72 20 62 | which.shows.the.infobar....var.b |
50fe0 | 72 6f 77 73 65 72 20 3d 20 67 42 72 6f 77 73 65 72 2e 67 65 74 42 72 6f 77 73 65 72 46 6f 72 44 | rowser.=.gBrowser.getBrowserForD |
51000 | 6f 63 75 6d 65 6e 74 28 61 45 76 65 6e 74 2e 74 61 72 67 65 74 2e 6f 77 6e 65 72 44 6f 63 75 6d | ocument(aEvent.target.ownerDocum |
51020 | 65 6e 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ent............................. |
51040 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 64 65 66 61 75 6c | ..........................defaul |
51060 | 74 56 69 65 77 2e 74 6f 70 2e 64 6f 63 75 6d 65 6e 74 29 3b 0a 20 20 69 66 20 28 21 62 72 6f 77 | tView.top.document);...if.(!brow |
51080 | 73 65 72 2e 6d 69 73 73 69 6e 67 50 6c 75 67 69 6e 73 29 0a 20 20 20 20 62 72 6f 77 73 65 72 2e | ser.missingPlugins).....browser. |
510a0 | 6d 69 73 73 69 6e 67 50 6c 75 67 69 6e 73 20 3d 20 7b 7d 3b 0a 0a 20 20 76 61 72 20 70 6c 75 67 | missingPlugins.=.{};....var.plug |
510c0 | 69 6e 49 6e 66 6f 20 3d 20 67 65 74 50 6c 75 67 69 6e 49 6e 66 6f 28 61 45 76 65 6e 74 2e 74 61 | inInfo.=.getPluginInfo(aEvent.ta |
510e0 | 72 67 65 74 29 3b 0a 0a 20 20 62 72 6f 77 73 65 72 2e 6d 69 73 73 69 6e 67 50 6c 75 67 69 6e 73 | rget);....browser.missingPlugins |
51100 | 5b 70 6c 75 67 69 6e 49 6e 66 6f 2e 6d 69 6d 65 74 79 70 65 5d 20 3d 20 70 6c 75 67 69 6e 49 6e | [pluginInfo.mimetype].=.pluginIn |
51120 | 66 6f 3b 0a 0a 20 20 76 61 72 20 6e 6f 74 69 66 69 63 61 74 69 6f 6e 42 6f 78 20 3d 20 67 42 72 | fo;....var.notificationBox.=.gBr |
51140 | 6f 77 73 65 72 2e 67 65 74 4e 6f 74 69 66 69 63 61 74 69 6f 6e 42 6f 78 28 62 72 6f 77 73 65 72 | owser.getNotificationBox(browser |
51160 | 29 3b 0a 0a 20 20 2f 2f 20 49 66 20 74 68 65 72 65 20 69 73 20 61 6c 72 65 61 64 79 20 61 20 6d | );....//.If.there.is.already.a.m |
51180 | 69 73 73 69 6e 67 20 70 6c 75 67 69 6e 20 6e 6f 74 69 66 69 63 61 74 69 6f 6e 20 74 68 65 6e 20 | issing.plugin.notification.then. |
511a0 | 64 6f 20 6e 6f 74 68 69 6e 67 0a 20 20 69 66 20 28 6e 6f 74 69 66 69 63 61 74 69 6f 6e 42 6f 78 | do.nothing...if.(notificationBox |
511c0 | 2e 67 65 74 4e 6f 74 69 66 69 63 61 74 69 6f 6e 57 69 74 68 56 61 6c 75 65 28 22 6d 69 73 73 69 | .getNotificationWithValue("missi |
511e0 | 6e 67 2d 70 6c 75 67 69 6e 73 22 29 29 0a 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 76 61 72 20 | ng-plugins")).....return;...var. |
51200 | 62 6c 6f 63 6b 65 64 4e 6f 74 69 66 69 63 61 74 69 6f 6e 20 3d 20 6e 6f 74 69 66 69 63 61 74 69 | blockedNotification.=.notificati |
51220 | 6f 6e 42 6f 78 2e 67 65 74 4e 6f 74 69 66 69 63 61 74 69 6f 6e 57 69 74 68 56 61 6c 75 65 28 22 | onBox.getNotificationWithValue(" |
51240 | 62 6c 6f 63 6b 65 64 2d 70 6c 75 67 69 6e 73 22 29 3b 0a 20 20 76 61 72 20 70 72 69 6f 72 69 74 | blocked-plugins");...var.priorit |
51260 | 79 20 3d 20 6e 6f 74 69 66 69 63 61 74 69 6f 6e 42 6f 78 2e 50 52 49 4f 52 49 54 59 5f 57 41 52 | y.=.notificationBox.PRIORITY_WAR |
51280 | 4e 49 4e 47 5f 4d 45 44 49 55 4d 3b 0a 0a 20 20 69 66 20 28 61 45 76 65 6e 74 2e 74 79 70 65 20 | NING_MEDIUM;....if.(aEvent.type. |
512a0 | 3d 3d 20 22 50 6c 75 67 69 6e 42 6c 6f 63 6b 6c 69 73 74 65 64 22 29 20 7b 0a 20 20 20 20 69 66 | ==."PluginBlocklisted").{.....if |
512c0 | 20 28 62 6c 6f 63 6b 65 64 4e 6f 74 69 66 69 63 61 74 69 6f 6e 29 0a 20 20 20 20 20 20 72 65 74 | .(blockedNotification).......ret |
512e0 | 75 72 6e 3b 0a 0a 20 20 20 20 6c 65 74 20 69 63 6f 6e 55 52 4c 20 3d 20 22 63 68 72 6f 6d 65 3a | urn;......let.iconURL.=."chrome: |
51300 | 2f 2f 6d 6f 7a 61 70 70 73 2f 73 6b 69 6e 2f 70 6c 75 67 69 6e 73 2f 70 6c 75 67 69 6e 42 6c 6f | //mozapps/skin/plugins/pluginBlo |
51320 | 63 6b 65 64 2d 31 36 2e 70 6e 67 22 3b 0a 20 20 20 20 6c 65 74 20 6d 65 73 73 61 67 65 53 74 72 | cked-16.png";.....let.messageStr |
51340 | 69 6e 67 20 3d 20 67 4e 61 76 69 67 61 74 6f 72 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 | ing.=.gNavigatorBundle.getString |
51360 | 28 22 62 6c 6f 63 6b 65 64 70 6c 75 67 69 6e 73 4d 65 73 73 61 67 65 2e 74 69 74 6c 65 22 29 3b | ("blockedpluginsMessage.title"); |
51380 | 0a 20 20 20 20 6c 65 74 20 62 75 74 74 6f 6e 73 20 3d 20 5b 7b 0a 20 20 20 20 20 20 6c 61 62 65 | .....let.buttons.=.[{.......labe |
513a0 | 6c 3a 20 67 4e 61 76 69 67 61 74 6f 72 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 62 | l:.gNavigatorBundle.getString("b |
513c0 | 6c 6f 63 6b 65 64 70 6c 75 67 69 6e 73 4d 65 73 73 61 67 65 2e 69 6e 66 6f 42 75 74 74 6f 6e 2e | lockedpluginsMessage.infoButton. |
513e0 | 6c 61 62 65 6c 22 29 2c 0a 20 20 20 20 20 20 61 63 63 65 73 73 4b 65 79 3a 20 67 4e 61 76 69 67 | label"),.......accessKey:.gNavig |
51400 | 61 74 6f 72 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 62 6c 6f 63 6b 65 64 70 6c 75 | atorBundle.getString("blockedplu |
51420 | 67 69 6e 73 4d 65 73 73 61 67 65 2e 69 6e 66 6f 42 75 74 74 6f 6e 2e 61 63 63 65 73 73 6b 65 79 | ginsMessage.infoButton.accesskey |
51440 | 22 29 2c 0a 20 20 20 20 20 20 70 6f 70 75 70 3a 20 6e 75 6c 6c 2c 0a 20 20 20 20 20 20 63 61 6c | "),.......popup:.null,.......cal |
51460 | 6c 62 61 63 6b 3a 20 62 6c 6f 63 6b 6c 69 73 74 49 6e 66 6f 0a 20 20 20 20 7d 2c 20 7b 0a 20 20 | lback:.blocklistInfo.....},.{... |
51480 | 20 20 20 20 6c 61 62 65 6c 3a 20 67 4e 61 76 69 67 61 74 6f 72 42 75 6e 64 6c 65 2e 67 65 74 53 | ....label:.gNavigatorBundle.getS |
514a0 | 74 72 69 6e 67 28 22 62 6c 6f 63 6b 65 64 70 6c 75 67 69 6e 73 4d 65 73 73 61 67 65 2e 73 65 61 | tring("blockedpluginsMessage.sea |
514c0 | 72 63 68 42 75 74 74 6f 6e 2e 6c 61 62 65 6c 22 29 2c 0a 20 20 20 20 20 20 61 63 63 65 73 73 4b | rchButton.label"),.......accessK |
514e0 | 65 79 3a 20 67 4e 61 76 69 67 61 74 6f 72 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 | ey:.gNavigatorBundle.getString(" |
51500 | 62 6c 6f 63 6b 65 64 70 6c 75 67 69 6e 73 4d 65 73 73 61 67 65 2e 73 65 61 72 63 68 42 75 74 74 | blockedpluginsMessage.searchButt |
51520 | 6f 6e 2e 61 63 63 65 73 73 6b 65 79 22 29 2c 0a 20 20 20 20 20 20 70 6f 70 75 70 3a 20 6e 75 6c | on.accesskey"),.......popup:.nul |
51540 | 6c 2c 0a 20 20 20 20 20 20 63 61 6c 6c 62 61 63 6b 3a 20 70 6c 75 67 69 6e 73 4d 69 73 73 69 6e | l,.......callback:.pluginsMissin |
51560 | 67 0a 20 20 20 20 7d 5d 3b 0a 0a 20 20 20 20 6e 6f 74 69 66 69 63 61 74 69 6f 6e 42 6f 78 2e 61 | g.....}];......notificationBox.a |
51580 | 70 70 65 6e 64 4e 6f 74 69 66 69 63 61 74 69 6f 6e 28 6d 65 73 73 61 67 65 53 74 72 69 6e 67 2c | ppendNotification(messageString, |
515a0 | 20 22 62 6c 6f 63 6b 65 64 2d 70 6c 75 67 69 6e 73 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ."blocked-plugins",............. |
515c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 63 6f 6e 55 | ...........................iconU |
515e0 | 52 4c 2c 20 70 72 69 6f 72 69 74 79 2c 20 62 75 74 74 6f 6e 73 29 3b 0a 20 20 7d 0a 20 20 65 6c | RL,.priority,.buttons);...}...el |
51600 | 73 65 20 69 66 20 28 61 45 76 65 6e 74 2e 74 79 70 65 20 3d 3d 20 22 50 6c 75 67 69 6e 4e 6f 74 | se.if.(aEvent.type.==."PluginNot |
51620 | 46 6f 75 6e 64 22 29 20 7b 0a 20 20 20 20 2f 2f 20 43 61 6e 63 65 6c 20 61 6e 79 20 6e 6f 74 69 | Found").{.....//.Cancel.any.noti |
51640 | 66 69 63 61 74 69 6f 6e 20 61 62 6f 75 74 20 62 6c 6f 63 6b 6c 69 73 74 69 6e 67 0a 20 20 20 20 | fication.about.blocklisting..... |
51660 | 69 66 20 28 62 6c 6f 63 6b 65 64 4e 6f 74 69 66 69 63 61 74 69 6f 6e 29 0a 20 20 20 20 20 20 62 | if.(blockedNotification).......b |
51680 | 6c 6f 63 6b 65 64 4e 6f 74 69 66 69 63 61 74 69 6f 6e 2e 63 6c 6f 73 65 28 29 3b 0a 0a 20 20 20 | lockedNotification.close();..... |
516a0 | 20 6c 65 74 20 69 63 6f 6e 55 52 4c 20 3d 20 22 63 68 72 6f 6d 65 3a 2f 2f 6d 6f 7a 61 70 70 73 | .let.iconURL.=."chrome://mozapps |
516c0 | 2f 73 6b 69 6e 2f 70 6c 75 67 69 6e 73 2f 70 6c 75 67 69 6e 47 65 6e 65 72 69 63 2d 31 36 2e 70 | /skin/plugins/pluginGeneric-16.p |
516e0 | 6e 67 22 3b 0a 20 20 20 20 6c 65 74 20 6d 65 73 73 61 67 65 53 74 72 69 6e 67 20 3d 20 67 4e 61 | ng";.....let.messageString.=.gNa |
51700 | 76 69 67 61 74 6f 72 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 6d 69 73 73 69 6e 67 | vigatorBundle.getString("missing |
51720 | 70 6c 75 67 69 6e 73 4d 65 73 73 61 67 65 2e 74 69 74 6c 65 22 29 3b 0a 20 20 20 20 6c 65 74 20 | pluginsMessage.title");.....let. |
51740 | 62 75 74 74 6f 6e 73 20 3d 20 5b 7b 0a 20 20 20 20 20 20 6c 61 62 65 6c 3a 20 67 4e 61 76 69 67 | buttons.=.[{.......label:.gNavig |
51760 | 61 74 6f 72 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 6d 69 73 73 69 6e 67 70 6c 75 | atorBundle.getString("missingplu |
51780 | 67 69 6e 73 4d 65 73 73 61 67 65 2e 62 75 74 74 6f 6e 2e 6c 61 62 65 6c 22 29 2c 0a 20 20 20 20 | ginsMessage.button.label"),..... |
517a0 | 20 20 61 63 63 65 73 73 4b 65 79 3a 20 67 4e 61 76 69 67 61 74 6f 72 42 75 6e 64 6c 65 2e 67 65 | ..accessKey:.gNavigatorBundle.ge |
517c0 | 74 53 74 72 69 6e 67 28 22 6d 69 73 73 69 6e 67 70 6c 75 67 69 6e 73 4d 65 73 73 61 67 65 2e 62 | tString("missingpluginsMessage.b |
517e0 | 75 74 74 6f 6e 2e 61 63 63 65 73 73 6b 65 79 22 29 2c 0a 20 20 20 20 20 20 70 6f 70 75 70 3a 20 | utton.accesskey"),.......popup:. |
51800 | 6e 75 6c 6c 2c 0a 20 20 20 20 20 20 63 61 6c 6c 62 61 63 6b 3a 20 70 6c 75 67 69 6e 73 4d 69 73 | null,.......callback:.pluginsMis |
51820 | 73 69 6e 67 0a 20 20 20 20 7d 5d 3b 0a 20 20 0a 20 20 20 20 6e 6f 74 69 66 69 63 61 74 69 6f 6e | sing.....}];........notification |
51840 | 42 6f 78 2e 61 70 70 65 6e 64 4e 6f 74 69 66 69 63 61 74 69 6f 6e 28 6d 65 73 73 61 67 65 53 74 | Box.appendNotification(messageSt |
51860 | 72 69 6e 67 2c 20 22 6d 69 73 73 69 6e 67 2d 70 6c 75 67 69 6e 73 22 2c 0a 20 20 20 20 20 20 20 | ring,."missing-plugins",........ |
51880 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
518a0 | 69 63 6f 6e 55 52 4c 2c 20 70 72 69 6f 72 69 74 79 2c 20 62 75 74 74 6f 6e 73 29 3b 0a 20 20 7d | iconURL,.priority,.buttons);...} |
518c0 | 0a 7d 0a 0a 6d 69 73 73 69 6e 67 50 6c 75 67 69 6e 49 6e 73 74 61 6c 6c 65 72 2e 70 72 6f 74 6f | .}..missingPluginInstaller.proto |
518e0 | 74 79 70 65 2e 6e 65 77 44 69 73 61 62 6c 65 64 50 6c 75 67 69 6e 20 3d 20 66 75 6e 63 74 69 6f | type.newDisabledPlugin.=.functio |
51900 | 6e 28 61 45 76 65 6e 74 29 7b 0a 20 20 2f 2f 20 53 69 6e 63 65 20 77 65 20 61 72 65 20 65 78 70 | n(aEvent){...//.Since.we.are.exp |
51920 | 65 63 74 69 6e 67 20 61 6c 73 6f 20 75 6e 74 72 75 73 74 65 64 20 65 76 65 6e 74 73 2c 20 6d 61 | ecting.also.untrusted.events,.ma |
51940 | 6b 65 20 73 75 72 65 0a 20 20 2f 2f 20 74 68 61 74 20 74 68 65 20 74 61 72 67 65 74 20 69 73 20 | ke.sure...//.that.the.target.is. |
51960 | 61 20 70 6c 75 67 69 6e 0a 20 20 69 66 20 28 21 28 61 45 76 65 6e 74 2e 74 61 72 67 65 74 20 69 | a.plugin...if.(!(aEvent.target.i |
51980 | 6e 73 74 61 6e 63 65 6f 66 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e | nstanceof.Components.interfaces. |
519a0 | 6e 73 49 4f 62 6a 65 63 74 4c 6f 61 64 69 6e 67 43 6f 6e 74 65 6e 74 29 29 0a 20 20 20 20 72 65 | nsIObjectLoadingContent)).....re |
519c0 | 74 75 72 6e 3b 0a 0a 20 20 61 45 76 65 6e 74 2e 74 61 72 67 65 74 2e 61 64 64 45 76 65 6e 74 4c | turn;....aEvent.target.addEventL |
519e0 | 69 73 74 65 6e 65 72 28 22 63 6c 69 63 6b 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | istener("click",................ |
51a00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 4d 69 73 73 69 6e 67 50 6c 75 67 69 6e | ..................gMissingPlugin |
51a20 | 49 6e 73 74 61 6c 6c 65 72 2e 6d 61 6e 61 67 65 50 6c 75 67 69 6e 73 2c 0a 20 20 20 20 20 20 20 | Installer.managePlugins,........ |
51a40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 72 75 65 29 3b | ..........................true); |
51a60 | 0a 7d 0a 0a 6d 69 73 73 69 6e 67 50 6c 75 67 69 6e 49 6e 73 74 61 6c 6c 65 72 2e 70 72 6f 74 6f | .}..missingPluginInstaller.proto |
51a80 | 74 79 70 65 2e 72 65 66 72 65 73 68 42 72 6f 77 73 65 72 20 3d 20 66 75 6e 63 74 69 6f 6e 28 61 | type.refreshBrowser.=.function(a |
51aa0 | 45 76 65 6e 74 29 20 7b 0a 20 20 2f 2f 20 62 72 6f 77 73 65 72 20 65 6c 65 6d 65 6e 74 73 20 61 | Event).{...//.browser.elements.a |
51ac0 | 72 65 20 61 6e 6f 6e 79 6d 6f 75 73 20 73 6f 20 77 65 20 63 61 6e 27 74 20 6a 75 73 74 20 75 73 | re.anonymous.so.we.can't.just.us |
51ae0 | 65 20 74 61 72 67 65 74 2e 0a 20 20 76 61 72 20 62 72 6f 77 73 65 72 20 3d 20 61 45 76 65 6e 74 | e.target....var.browser.=.aEvent |
51b00 | 2e 6f 72 69 67 69 6e 61 6c 54 61 72 67 65 74 3b 0a 20 20 76 61 72 20 6e 6f 74 69 66 69 63 61 74 | .originalTarget;...var.notificat |
51b20 | 69 6f 6e 42 6f 78 20 3d 20 67 42 72 6f 77 73 65 72 2e 67 65 74 4e 6f 74 69 66 69 63 61 74 69 6f | ionBox.=.gBrowser.getNotificatio |
51b40 | 6e 42 6f 78 28 62 72 6f 77 73 65 72 29 3b 0a 20 20 76 61 72 20 6e 6f 74 69 66 69 63 61 74 69 6f | nBox(browser);...var.notificatio |
51b60 | 6e 20 3d 20 6e 6f 74 69 66 69 63 61 74 69 6f 6e 42 6f 78 2e 67 65 74 4e 6f 74 69 66 69 63 61 74 | n.=.notificationBox.getNotificat |
51b80 | 69 6f 6e 57 69 74 68 56 61 6c 75 65 28 22 6d 69 73 73 69 6e 67 2d 70 6c 75 67 69 6e 73 22 29 3b | ionWithValue("missing-plugins"); |
51ba0 | 0a 0a 20 20 2f 2f 20 63 6c 65 61 72 20 74 68 65 20 70 6c 75 67 69 6e 20 6c 69 73 74 2c 20 6e 6f | ....//.clear.the.plugin.list,.no |
51bc0 | 77 20 74 68 61 74 20 61 74 20 6c 65 61 73 74 20 6f 6e 65 20 70 6c 75 67 69 6e 20 68 61 73 20 62 | w.that.at.least.one.plugin.has.b |
51be0 | 65 65 6e 20 69 6e 73 74 61 6c 6c 65 64 0a 20 20 62 72 6f 77 73 65 72 2e 6d 69 73 73 69 6e 67 50 | een.installed...browser.missingP |
51c00 | 6c 75 67 69 6e 73 20 3d 20 6e 75 6c 6c 3b 0a 20 20 69 66 20 28 6e 6f 74 69 66 69 63 61 74 69 6f | lugins.=.null;...if.(notificatio |
51c20 | 6e 29 20 7b 0a 20 20 20 20 2f 2f 20 72 65 73 65 74 20 55 49 0a 20 20 20 20 6e 6f 74 69 66 69 63 | n).{.....//.reset.UI.....notific |
51c40 | 61 74 69 6f 6e 42 6f 78 2e 72 65 6d 6f 76 65 4e 6f 74 69 66 69 63 61 74 69 6f 6e 28 6e 6f 74 69 | ationBox.removeNotification(noti |
51c60 | 66 69 63 61 74 69 6f 6e 29 3b 0a 20 20 7d 0a 20 20 2f 2f 20 72 65 6c 6f 61 64 20 74 68 65 20 62 | fication);...}...//.reload.the.b |
51c80 | 72 6f 77 73 65 72 20 74 6f 20 6d 61 6b 65 20 74 68 65 20 6e 65 77 20 70 6c 75 67 69 6e 20 73 68 | rowser.to.make.the.new.plugin.sh |
51ca0 | 6f 77 2e 0a 20 20 62 72 6f 77 73 65 72 2e 72 65 6c 6f 61 64 28 29 3b 0a 7d 0a 0a 66 75 6e 63 74 | ow....browser.reload();.}..funct |
51cc0 | 69 6f 6e 20 62 6c 6f 63 6b 6c 69 73 74 49 6e 66 6f 28 29 0a 7b 0a 20 20 76 61 72 20 66 6f 72 6d | ion.blocklistInfo().{...var.form |
51ce0 | 61 74 74 65 72 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a | atter.=.Components.classes["@moz |
51d00 | 69 6c 6c 61 2e 6f 72 67 2f 74 6f 6f 6c 6b 69 74 2f 55 52 4c 46 6f 72 6d 61 74 74 65 72 53 65 72 | illa.org/toolkit/URLFormatterSer |
51d20 | 76 69 63 65 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | vice;1"]........................ |
51d40 | 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 | ......getService(Components.inte |
51d60 | 72 66 61 63 65 73 2e 6e 73 49 55 52 4c 46 6f 72 6d 61 74 74 65 72 29 3b 0a 20 20 76 61 72 20 75 | rfaces.nsIURLFormatter);...var.u |
51d80 | 72 6c 20 3d 20 66 6f 72 6d 61 74 74 65 72 2e 66 6f 72 6d 61 74 55 52 4c 50 72 65 66 28 22 65 78 | rl.=.formatter.formatURLPref("ex |
51da0 | 74 65 6e 73 69 6f 6e 73 2e 62 6c 6f 63 6b 6c 69 73 74 2e 64 65 74 61 69 6c 73 55 52 4c 22 29 3b | tensions.blocklist.detailsURL"); |
51dc0 | 0a 20 20 67 42 72 6f 77 73 65 72 2e 6c 6f 61 64 4f 6e 65 54 61 62 28 75 72 6c 2c 20 6e 75 6c 6c | ...gBrowser.loadOneTab(url,.null |
51de0 | 2c 20 6e 75 6c 6c 2c 20 6e 75 6c 6c 2c 20 66 61 6c 73 65 2c 20 66 61 6c 73 65 29 3b 0a 20 20 72 | ,.null,.null,.false,.false);...r |
51e00 | 65 74 75 72 6e 20 74 72 75 65 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 70 6c 75 67 69 6e 73 4d | eturn.true;.}..function.pluginsM |
51e20 | 69 73 73 69 6e 67 28 29 0a 7b 0a 20 20 2f 2f 20 67 65 74 20 74 68 65 20 75 72 6c 73 20 6f 66 20 | issing().{...//.get.the.urls.of. |
51e40 | 6d 69 73 73 69 6e 67 20 70 6c 75 67 69 6e 73 0a 20 20 76 61 72 20 6d 69 73 73 69 6e 67 50 6c 75 | missing.plugins...var.missingPlu |
51e60 | 67 69 6e 73 41 72 72 61 79 20 3d 20 67 42 72 6f 77 73 65 72 2e 73 65 6c 65 63 74 65 64 42 72 6f | ginsArray.=.gBrowser.selectedBro |
51e80 | 77 73 65 72 2e 6d 69 73 73 69 6e 67 50 6c 75 67 69 6e 73 3b 0a 20 20 69 66 20 28 6d 69 73 73 69 | wser.missingPlugins;...if.(missi |
51ea0 | 6e 67 50 6c 75 67 69 6e 73 41 72 72 61 79 29 20 7b 0a 20 20 20 20 77 69 6e 64 6f 77 2e 6f 70 65 | ngPluginsArray).{.....window.ope |
51ec0 | 6e 44 69 61 6c 6f 67 28 22 63 68 72 6f 6d 65 3a 2f 2f 6d 6f 7a 61 70 70 73 2f 63 6f 6e 74 65 6e | nDialog("chrome://mozapps/conten |
51ee0 | 74 2f 70 6c 75 67 69 6e 73 2f 70 6c 75 67 69 6e 49 6e 73 74 61 6c 6c 65 72 57 69 7a 61 72 64 2e | t/plugins/pluginInstallerWizard. |
51f00 | 78 75 6c 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 50 46 53 | xul",......................."PFS |
51f20 | 57 69 6e 64 6f 77 22 2c 20 22 63 68 72 6f 6d 65 2c 63 65 6e 74 65 72 73 63 72 65 65 6e 2c 72 65 | Window",."chrome,centerscreen,re |
51f40 | 73 69 7a 61 62 6c 65 3d 79 65 73 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | sizable=yes",................... |
51f60 | 20 20 20 20 7b 70 6c 75 67 69 6e 73 3a 20 6d 69 73 73 69 6e 67 50 6c 75 67 69 6e 73 41 72 72 61 | ....{plugins:.missingPluginsArra |
51f80 | 79 2c 20 62 72 6f 77 73 65 72 3a 20 67 42 72 6f 77 73 65 72 2e 73 65 6c 65 63 74 65 64 42 72 6f | y,.browser:.gBrowser.selectedBro |
51fa0 | 77 73 65 72 7d 29 3b 0a 20 20 7d 0a 7d 0a 0a 76 61 72 20 67 4d 69 73 73 69 6e 67 50 6c 75 67 69 | wser});...}.}..var.gMissingPlugi |
51fc0 | 6e 49 6e 73 74 61 6c 6c 65 72 20 3d 20 6e 65 77 20 6d 69 73 73 69 6e 67 50 6c 75 67 69 6e 49 6e | nInstaller.=.new.missingPluginIn |
51fe0 | 73 74 61 6c 6c 65 72 28 29 3b 0a 0a 66 75 6e 63 74 69 6f 6e 20 63 6f 6e 76 65 72 74 46 72 6f 6d | staller();..function.convertFrom |
52000 | 55 6e 69 63 6f 64 65 28 63 68 61 72 73 65 74 2c 20 73 74 72 29 0a 7b 0a 20 20 74 72 79 20 7b 0a | Unicode(charset,.str).{...try.{. |
52020 | 20 20 20 20 76 61 72 20 75 6e 69 63 6f 64 65 43 6f 6e 76 65 72 74 65 72 20 3d 20 43 6f 6d 70 6f | ....var.unicodeConverter.=.Compo |
52040 | 6e 65 6e 74 73 0a 20 20 20 20 20 20 20 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e | nents.........classes["@mozilla. |
52060 | 6f 72 67 2f 69 6e 74 6c 2f 73 63 72 69 70 74 61 62 6c 65 75 6e 69 63 6f 64 65 63 6f 6e 76 65 72 | org/intl/scriptableunicodeconver |
52080 | 74 65 72 22 5d 0a 20 20 20 20 20 20 20 2e 63 72 65 61 74 65 49 6e 73 74 61 6e 63 65 28 43 6f 6d | ter"].........createInstance(Com |
520a0 | 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 53 63 72 69 70 74 61 62 6c 65 | ponents.interfaces.nsIScriptable |
520c0 | 55 6e 69 63 6f 64 65 43 6f 6e 76 65 72 74 65 72 29 3b 0a 20 20 20 20 75 6e 69 63 6f 64 65 43 6f | UnicodeConverter);.....unicodeCo |
520e0 | 6e 76 65 72 74 65 72 2e 63 68 61 72 73 65 74 20 3d 20 63 68 61 72 73 65 74 3b 0a 20 20 20 20 73 | nverter.charset.=.charset;.....s |
52100 | 74 72 20 3d 20 75 6e 69 63 6f 64 65 43 6f 6e 76 65 72 74 65 72 2e 43 6f 6e 76 65 72 74 46 72 6f | tr.=.unicodeConverter.ConvertFro |
52120 | 6d 55 6e 69 63 6f 64 65 28 73 74 72 29 3b 0a 20 20 20 20 72 65 74 75 72 6e 20 73 74 72 20 2b 20 | mUnicode(str);.....return.str.+. |
52140 | 75 6e 69 63 6f 64 65 43 6f 6e 76 65 72 74 65 72 2e 46 69 6e 69 73 68 28 29 3b 0a 20 20 7d 20 63 | unicodeConverter.Finish();...}.c |
52160 | 61 74 63 68 28 65 78 29 20 7b 0a 20 20 20 20 72 65 74 75 72 6e 20 6e 75 6c 6c 3b 20 0a 20 20 7d | atch(ex).{.....return.null;....} |
52180 | 0a 7d 0a 0a 2f 2a 2a 0a 20 2a 20 54 68 65 20 46 65 65 64 20 48 61 6e 64 6c 65 72 20 6f 62 6a 65 | .}../**..*.The.Feed.Handler.obje |
521a0 | 63 74 20 6d 61 6e 61 67 65 73 20 64 69 73 63 6f 76 65 72 79 20 6f 66 20 52 53 53 2f 41 54 4f 4d | ct.manages.discovery.of.RSS/ATOM |
521c0 | 20 66 65 65 64 73 20 69 6e 20 77 65 62 20 70 61 67 65 73 0a 20 2a 20 61 6e 64 20 73 68 6f 77 73 | .feeds.in.web.pages..*.and.shows |
521e0 | 20 55 49 20 77 68 65 6e 20 74 68 65 79 20 61 72 65 20 64 69 73 63 6f 76 65 72 65 64 2e 20 0a 20 | .UI.when.they.are.discovered.... |
52200 | 2a 2f 0a 76 61 72 20 46 65 65 64 48 61 6e 64 6c 65 72 20 3d 20 7b 0a 20 20 2f 2a 2a 0a 20 20 20 | */.var.FeedHandler.=.{.../**.... |
52220 | 2a 20 54 68 65 20 63 6c 69 63 6b 20 68 61 6e 64 6c 65 72 20 66 6f 72 20 74 68 65 20 46 65 65 64 | *.The.click.handler.for.the.Feed |
52240 | 20 69 63 6f 6e 20 69 6e 20 74 68 65 20 6c 6f 63 61 74 69 6f 6e 20 62 61 72 2e 20 4f 70 65 6e 73 | .icon.in.the.location.bar..Opens |
52260 | 20 74 68 65 0a 20 20 20 2a 20 73 75 62 73 63 72 69 70 74 69 6f 6e 20 70 61 67 65 20 69 66 20 75 | .the....*.subscription.page.if.u |
52280 | 73 65 72 20 69 73 20 6e 6f 74 20 67 69 76 65 6e 20 61 20 63 68 6f 69 63 65 20 6f 66 20 66 65 65 | ser.is.not.given.a.choice.of.fee |
522a0 | 64 73 2e 0a 20 20 20 2a 20 28 4f 74 68 65 72 77 69 73 65 20 74 68 65 20 6c 69 73 74 20 6f 66 20 | ds.....*.(Otherwise.the.list.of. |
522c0 | 61 76 61 69 6c 61 62 6c 65 20 66 65 65 64 73 20 77 69 6c 6c 20 62 65 20 70 72 65 73 65 6e 74 65 | available.feeds.will.be.presente |
522e0 | 64 20 74 6f 20 74 68 65 20 0a 20 20 20 2a 20 75 73 65 72 20 69 6e 20 61 20 70 6f 70 75 70 20 6d | d.to.the.....*.user.in.a.popup.m |
52300 | 65 6e 75 2e 29 0a 20 20 20 2a 2f 0a 20 20 6f 6e 46 65 65 64 42 75 74 74 6f 6e 43 6c 69 63 6b 3a | enu.)....*/...onFeedButtonClick: |
52320 | 20 66 75 6e 63 74 69 6f 6e 28 65 76 65 6e 74 29 20 7b 0a 20 20 20 20 65 76 65 6e 74 2e 73 74 6f | .function(event).{.....event.sto |
52340 | 70 50 72 6f 70 61 67 61 74 69 6f 6e 28 29 3b 0a 0a 20 20 20 20 69 66 20 28 65 76 65 6e 74 2e 74 | pPropagation();......if.(event.t |
52360 | 61 72 67 65 74 2e 68 61 73 41 74 74 72 69 62 75 74 65 28 22 66 65 65 64 22 29 20 26 26 0a 20 20 | arget.hasAttribute("feed").&&... |
52380 | 20 20 20 20 20 20 65 76 65 6e 74 2e 65 76 65 6e 74 50 68 61 73 65 20 3d 3d 20 45 76 65 6e 74 2e | ......event.eventPhase.==.Event. |
523a0 | 41 54 5f 54 41 52 47 45 54 20 26 26 0a 20 20 20 20 20 20 20 20 28 65 76 65 6e 74 2e 62 75 74 74 | AT_TARGET.&&.........(event.butt |
523c0 | 6f 6e 20 3d 3d 20 30 20 7c 7c 20 65 76 65 6e 74 2e 62 75 74 74 6f 6e 20 3d 3d 20 31 29 29 20 7b | on.==.0.||.event.button.==.1)).{ |
523e0 | 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 73 75 62 73 63 72 69 62 65 54 6f 46 65 65 64 28 6e 75 | .........this.subscribeToFeed(nu |
52400 | 6c 6c 2c 20 65 76 65 6e 74 29 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 20 20 0a 20 20 2f 2a 2a 0a | ll,.event);.....}...},....../**. |
52420 | 20 20 20 2a 20 43 61 6c 6c 65 64 20 77 68 65 6e 20 74 68 65 20 75 73 65 72 20 63 6c 69 63 6b 73 | ...*.Called.when.the.user.clicks |
52440 | 20 6f 6e 20 74 68 65 20 46 65 65 64 20 69 63 6f 6e 20 69 6e 20 74 68 65 20 6c 6f 63 61 74 69 6f | .on.the.Feed.icon.in.the.locatio |
52460 | 6e 20 62 61 72 2e 20 0a 20 20 20 2a 20 42 75 69 6c 64 73 20 61 20 6d 65 6e 75 20 6f 66 20 75 6e | n.bar......*.Builds.a.menu.of.un |
52480 | 69 71 75 65 20 66 65 65 64 73 20 61 73 73 6f 63 69 61 74 65 64 20 77 69 74 68 20 74 68 65 20 70 | ique.feeds.associated.with.the.p |
524a0 | 61 67 65 2c 20 61 6e 64 20 69 66 20 74 68 65 72 65 0a 20 20 20 2a 20 69 73 20 6f 6e 6c 79 20 6f | age,.and.if.there....*.is.only.o |
524c0 | 6e 65 2c 20 73 68 6f 77 73 20 74 68 65 20 66 65 65 64 20 69 6e 6c 69 6e 65 20 69 6e 20 74 68 65 | ne,.shows.the.feed.inline.in.the |
524e0 | 20 62 72 6f 77 73 65 72 20 77 69 6e 64 6f 77 2e 20 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 20 20 | .browser.window......*.@param... |
52500 | 6d 65 6e 75 50 6f 70 75 70 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 54 68 65 20 66 65 65 64 | menuPopup....*..........The.feed |
52520 | 20 6c 69 73 74 20 6d 65 6e 75 70 6f 70 75 70 20 74 6f 20 62 65 20 70 6f 70 75 6c 61 74 65 64 2e | .list.menupopup.to.be.populated. |
52540 | 0a 20 20 20 2a 20 40 72 65 74 75 72 6e 73 20 74 72 75 65 20 69 66 20 74 68 65 20 6d 65 6e 75 20 | ....*.@returns.true.if.the.menu. |
52560 | 73 68 6f 75 6c 64 20 62 65 20 73 68 6f 77 6e 2c 20 66 61 6c 73 65 20 69 66 20 74 68 65 72 65 20 | should.be.shown,.false.if.there. |
52580 | 77 61 73 20 6f 6e 6c 79 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 6f 6e 65 20 66 65 65 64 20 | was.only....*..........one.feed. |
525a0 | 61 6e 64 20 74 68 65 20 66 65 65 64 20 73 68 6f 75 6c 64 20 62 65 20 73 68 6f 77 6e 20 69 6e 6c | and.the.feed.should.be.shown.inl |
525c0 | 69 6e 65 20 69 6e 20 74 68 65 20 62 72 6f 77 73 65 72 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 | ine.in.the.browser....*......... |
525e0 | 20 77 69 6e 64 6f 77 20 28 64 6f 20 6e 6f 74 20 73 68 6f 77 20 74 68 65 20 6d 65 6e 75 70 6f 70 | .window.(do.not.show.the.menupop |
52600 | 75 70 29 2e 0a 20 20 20 2a 2f 0a 20 20 62 75 69 6c 64 46 65 65 64 4c 69 73 74 3a 20 66 75 6e 63 | up).....*/...buildFeedList:.func |
52620 | 74 69 6f 6e 28 6d 65 6e 75 50 6f 70 75 70 29 20 7b 0a 20 20 20 20 76 61 72 20 66 65 65 64 73 20 | tion(menuPopup).{.....var.feeds. |
52640 | 3d 20 67 42 72 6f 77 73 65 72 2e 73 65 6c 65 63 74 65 64 42 72 6f 77 73 65 72 2e 66 65 65 64 73 | =.gBrowser.selectedBrowser.feeds |
52660 | 3b 0a 20 20 20 20 69 66 20 28 66 65 65 64 73 20 3d 3d 20 6e 75 6c 6c 29 20 7b 0a 20 20 20 20 20 | ;.....if.(feeds.==.null).{...... |
52680 | 20 2f 2f 20 58 58 58 20 68 61 63 6b 20 2d 2d 20 6d 65 6e 75 20 6f 70 65 6e 69 6e 67 20 64 65 70 | .//.XXX.hack.--.menu.opening.dep |
526a0 | 65 6e 64 73 20 6f 6e 20 73 65 74 74 69 6e 67 20 6f 66 20 61 6e 20 22 6f 70 65 6e 22 0a 20 20 20 | ends.on.setting.of.an."open".... |
526c0 | 20 20 20 2f 2f 20 61 74 74 72 69 62 75 74 65 2c 20 61 6e 64 20 74 68 65 20 6d 65 6e 75 20 72 65 | ...//.attribute,.and.the.menu.re |
526e0 | 66 75 73 65 73 20 74 6f 20 6f 70 65 6e 20 69 66 20 74 68 61 74 20 61 74 74 72 69 62 75 74 65 20 | fuses.to.open.if.that.attribute. |
52700 | 69 73 0a 20 20 20 20 20 20 2f 2f 20 73 65 74 20 28 62 65 63 61 75 73 65 20 69 74 20 74 68 69 6e | is.......//.set.(because.it.thin |
52720 | 6b 73 20 69 74 27 73 20 61 6c 72 65 61 64 79 20 6f 70 65 6e 29 2e 20 20 6f 6e 70 6f 70 75 70 73 | ks.it's.already.open)...onpopups |
52740 | 68 6f 77 69 6e 67 20 67 65 74 73 0a 20 20 20 20 20 20 2f 2f 20 63 61 6c 6c 65 64 20 61 66 74 65 | howing.gets.......//.called.afte |
52760 | 72 20 74 68 65 20 61 74 74 72 69 62 75 74 65 20 69 73 20 75 6e 73 65 74 2c 20 61 6e 64 20 69 74 | r.the.attribute.is.unset,.and.it |
52780 | 20 64 6f 65 73 6e 27 74 20 67 65 74 20 75 6e 73 65 74 0a 20 20 20 20 20 20 2f 2f 20 69 66 20 77 | .doesn't.get.unset.......//.if.w |
527a0 | 65 20 72 65 74 75 72 6e 20 66 61 6c 73 65 2e 20 20 73 6f 20 77 65 20 75 6e 73 65 74 20 69 74 20 | e.return.false...so.we.unset.it. |
527c0 | 68 65 72 65 3b 20 6f 74 68 65 72 77 69 73 65 2c 20 74 68 65 20 6d 65 6e 75 0a 20 20 20 20 20 20 | here;.otherwise,.the.menu....... |
527e0 | 2f 2f 20 72 65 66 75 73 65 73 20 74 6f 20 77 6f 72 6b 20 70 61 73 74 20 74 68 69 73 20 70 6f 69 | //.refuses.to.work.past.this.poi |
52800 | 6e 74 2e 0a 20 20 20 20 20 20 6d 65 6e 75 50 6f 70 75 70 2e 70 61 72 65 6e 74 4e 6f 64 65 2e 72 | nt........menuPopup.parentNode.r |
52820 | 65 6d 6f 76 65 41 74 74 72 69 62 75 74 65 28 22 6f 70 65 6e 22 29 3b 0a 20 20 20 20 20 20 72 65 | emoveAttribute("open");.......re |
52840 | 74 75 72 6e 20 66 61 6c 73 65 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 77 68 69 6c 65 20 28 6d 65 | turn.false;.....}......while.(me |
52860 | 6e 75 50 6f 70 75 70 2e 66 69 72 73 74 43 68 69 6c 64 29 0a 20 20 20 20 20 20 6d 65 6e 75 50 6f | nuPopup.firstChild).......menuPo |
52880 | 70 75 70 2e 72 65 6d 6f 76 65 43 68 69 6c 64 28 6d 65 6e 75 50 6f 70 75 70 2e 66 69 72 73 74 43 | pup.removeChild(menuPopup.firstC |
528a0 | 68 69 6c 64 29 3b 0a 0a 20 20 20 20 69 66 20 28 66 65 65 64 73 2e 6c 65 6e 67 74 68 20 3d 3d 20 | hild);......if.(feeds.length.==. |
528c0 | 31 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 66 65 65 64 42 75 74 74 6f 6e 20 3d 20 64 6f 63 75 | 1).{.......var.feedButton.=.docu |
528e0 | 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 66 65 65 64 2d 62 75 74 74 6f 6e | ment.getElementById("feed-button |
52900 | 22 29 3b 0a 20 20 20 20 20 20 69 66 20 28 66 65 65 64 42 75 74 74 6f 6e 29 0a 20 20 20 20 20 20 | ");.......if.(feedButton)....... |
52920 | 20 20 66 65 65 64 42 75 74 74 6f 6e 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 66 65 65 64 22 | ..feedButton.setAttribute("feed" |
52940 | 2c 20 66 65 65 64 73 5b 30 5d 2e 68 72 65 66 29 3b 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 66 | ,.feeds[0].href);.......return.f |
52960 | 61 6c 73 65 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 2f 2f 20 42 75 69 6c 64 20 74 68 65 20 6d 65 | alse;.....}......//.Build.the.me |
52980 | 6e 75 20 73 68 6f 77 69 6e 67 20 74 68 65 20 61 76 61 69 6c 61 62 6c 65 20 66 65 65 64 20 63 68 | nu.showing.the.available.feed.ch |
529a0 | 6f 69 63 65 73 20 66 6f 72 20 76 69 65 77 69 6e 67 2e 20 0a 20 20 20 20 66 6f 72 20 28 76 61 72 | oices.for.viewing.......for.(var |
529c0 | 20 69 20 3d 20 30 3b 20 69 20 3c 20 66 65 65 64 73 2e 6c 65 6e 67 74 68 3b 20 2b 2b 69 29 20 7b | .i.=.0;.i.<.feeds.length;.++i).{ |
529e0 | 0a 20 20 20 20 20 20 76 61 72 20 66 65 65 64 49 6e 66 6f 20 3d 20 66 65 65 64 73 5b 69 5d 3b 0a | .......var.feedInfo.=.feeds[i];. |
52a00 | 20 20 20 20 20 20 76 61 72 20 6d 65 6e 75 49 74 65 6d 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 63 72 | ......var.menuItem.=.document.cr |
52a20 | 65 61 74 65 45 6c 65 6d 65 6e 74 28 22 6d 65 6e 75 69 74 65 6d 22 29 3b 0a 20 20 20 20 20 20 76 | eateElement("menuitem");.......v |
52a40 | 61 72 20 62 61 73 65 54 69 74 6c 65 20 3d 20 66 65 65 64 49 6e 66 6f 2e 74 69 74 6c 65 20 7c 7c | ar.baseTitle.=.feedInfo.title.|| |
52a60 | 20 66 65 65 64 49 6e 66 6f 2e 68 72 65 66 3b 0a 20 20 20 20 20 20 76 61 72 20 6c 61 62 65 6c 53 | .feedInfo.href;.......var.labelS |
52a80 | 74 72 20 3d 20 67 4e 61 76 69 67 61 74 6f 72 42 75 6e 64 6c 65 2e 67 65 74 46 6f 72 6d 61 74 74 | tr.=.gNavigatorBundle.getFormatt |
52aa0 | 65 64 53 74 72 69 6e 67 28 22 66 65 65 64 53 68 6f 77 46 65 65 64 4e 65 77 22 2c 20 5b 62 61 73 | edString("feedShowFeedNew",.[bas |
52ac0 | 65 54 69 74 6c 65 5d 29 3b 0a 20 20 20 20 20 20 6d 65 6e 75 49 74 65 6d 2e 73 65 74 41 74 74 72 | eTitle]);.......menuItem.setAttr |
52ae0 | 69 62 75 74 65 28 22 6c 61 62 65 6c 22 2c 20 6c 61 62 65 6c 53 74 72 29 3b 0a 20 20 20 20 20 20 | ibute("label",.labelStr);....... |
52b00 | 6d 65 6e 75 49 74 65 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 66 65 65 64 22 2c 20 66 65 | menuItem.setAttribute("feed",.fe |
52b20 | 65 64 49 6e 66 6f 2e 68 72 65 66 29 3b 0a 20 20 20 20 20 20 6d 65 6e 75 49 74 65 6d 2e 73 65 74 | edInfo.href);.......menuItem.set |
52b40 | 41 74 74 72 69 62 75 74 65 28 22 74 6f 6f 6c 74 69 70 74 65 78 74 22 2c 20 66 65 65 64 49 6e 66 | Attribute("tooltiptext",.feedInf |
52b60 | 6f 2e 68 72 65 66 29 3b 0a 20 20 20 20 20 20 6d 65 6e 75 49 74 65 6d 2e 73 65 74 41 74 74 72 69 | o.href);.......menuItem.setAttri |
52b80 | 62 75 74 65 28 22 63 72 6f 70 22 2c 20 22 63 65 6e 74 65 72 22 29 3b 0a 20 20 20 20 20 20 6d 65 | bute("crop",."center");.......me |
52ba0 | 6e 75 50 6f 70 75 70 2e 61 70 70 65 6e 64 43 68 69 6c 64 28 6d 65 6e 75 49 74 65 6d 29 3b 0a 20 | nuPopup.appendChild(menuItem);.. |
52bc0 | 20 20 20 7d 0a 20 20 20 20 72 65 74 75 72 6e 20 74 72 75 65 3b 0a 20 20 7d 2c 0a 20 20 0a 20 20 | ...}.....return.true;...},...... |
52be0 | 2f 2a 2a 0a 20 20 20 2a 20 53 75 62 73 63 72 69 62 65 20 74 6f 20 61 20 67 69 76 65 6e 20 66 65 | /**....*.Subscribe.to.a.given.fe |
52c00 | 65 64 2e 20 20 43 61 6c 6c 65 64 20 77 68 65 6e 0a 20 20 20 2a 20 20 20 31 2e 20 50 61 67 65 20 | ed...Called.when....*...1..Page. |
52c20 | 68 61 73 20 61 20 73 69 6e 67 6c 65 20 66 65 65 64 20 61 6e 64 20 75 73 65 72 20 63 6c 69 63 6b | has.a.single.feed.and.user.click |
52c40 | 73 20 66 65 65 64 20 69 63 6f 6e 20 69 6e 20 6c 6f 63 61 74 69 6f 6e 20 62 61 72 0a 20 20 20 2a | s.feed.icon.in.location.bar....* |
52c60 | 20 20 20 32 2e 20 50 61 67 65 20 68 61 73 20 61 20 73 69 6e 67 6c 65 20 66 65 65 64 20 61 6e 64 | ...2..Page.has.a.single.feed.and |
52c80 | 20 75 73 65 72 20 73 65 6c 65 63 74 73 20 53 75 62 73 63 72 69 62 65 20 6d 65 6e 75 20 69 74 65 | .user.selects.Subscribe.menu.ite |
52ca0 | 6d 0a 20 20 20 2a 20 20 20 33 2e 20 50 61 67 65 20 68 61 73 20 6d 75 6c 74 69 70 6c 65 20 66 65 | m....*...3..Page.has.multiple.fe |
52cc0 | 65 64 73 20 61 6e 64 20 75 73 65 72 20 73 65 6c 65 63 74 73 20 66 72 6f 6d 20 66 65 65 64 20 69 | eds.and.user.selects.from.feed.i |
52ce0 | 63 6f 6e 20 70 6f 70 75 70 0a 20 20 20 2a 20 20 20 34 2e 20 50 61 67 65 20 68 61 73 20 6d 75 6c | con.popup....*...4..Page.has.mul |
52d00 | 74 69 70 6c 65 20 66 65 65 64 73 20 61 6e 64 20 75 73 65 72 20 73 65 6c 65 63 74 73 20 66 72 6f | tiple.feeds.and.user.selects.fro |
52d20 | 6d 20 53 75 62 73 63 72 69 62 65 20 73 75 62 6d 65 6e 75 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 | m.Subscribe.submenu....*.@param. |
52d40 | 20 20 68 72 65 66 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 54 68 65 20 66 65 65 64 20 74 6f | ..href....*..........The.feed.to |
52d60 | 20 73 75 62 73 63 72 69 62 65 20 74 6f 2e 20 4d 61 79 20 62 65 20 6e 75 6c 6c 2c 20 69 6e 20 77 | .subscribe.to..May.be.null,.in.w |
52d80 | 68 69 63 68 20 63 61 73 65 20 74 68 65 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 65 76 65 6e | hich.case.the....*..........even |
52da0 | 74 20 74 61 72 67 65 74 27 73 20 66 65 65 64 20 61 74 74 72 69 62 75 74 65 20 69 73 20 65 78 61 | t.target's.feed.attribute.is.exa |
52dc0 | 6d 69 6e 65 64 2e 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 20 20 65 76 65 6e 74 0a 20 20 20 2a 20 | mined.....*.@param...event....*. |
52de0 | 20 20 20 20 20 20 20 20 20 54 68 65 20 65 76 65 6e 74 20 74 68 69 73 20 6d 65 74 68 6f 64 20 69 | .........The.event.this.method.i |
52e00 | 73 20 68 61 6e 64 6c 69 6e 67 2e 20 55 73 65 64 20 74 6f 20 64 65 63 69 64 65 20 77 68 65 72 65 | s.handling..Used.to.decide.where |
52e20 | 20 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 74 6f 20 6f 70 65 6e 20 74 68 65 20 70 72 65 76 | .....*..........to.open.the.prev |
52e40 | 69 65 77 20 55 49 2e 20 28 4f 70 74 69 6f 6e 61 6c 2c 20 75 6e 6c 65 73 73 20 68 72 65 66 20 69 | iew.UI..(Optional,.unless.href.i |
52e60 | 73 20 6e 75 6c 6c 29 0a 20 20 20 2a 2f 0a 20 20 73 75 62 73 63 72 69 62 65 54 6f 46 65 65 64 3a | s.null)....*/...subscribeToFeed: |
52e80 | 20 66 75 6e 63 74 69 6f 6e 28 68 72 65 66 2c 20 65 76 65 6e 74 29 20 7b 0a 20 20 20 20 2f 2f 20 | .function(href,.event).{.....//. |
52ea0 | 4a 75 73 74 20 6c 6f 61 64 20 74 68 65 20 66 65 65 64 20 69 6e 20 74 68 65 20 63 6f 6e 74 65 6e | Just.load.the.feed.in.the.conten |
52ec0 | 74 20 61 72 65 61 20 74 6f 20 65 69 74 68 65 72 20 73 75 62 73 63 72 69 62 65 20 6f 72 20 73 68 | t.area.to.either.subscribe.or.sh |
52ee0 | 6f 77 20 74 68 65 0a 20 20 20 20 2f 2f 20 70 72 65 76 69 65 77 20 55 49 0a 20 20 20 20 69 66 20 | ow.the.....//.preview.UI.....if. |
52f00 | 28 21 68 72 65 66 29 0a 20 20 20 20 20 20 68 72 65 66 20 3d 20 65 76 65 6e 74 2e 74 61 72 67 65 | (!href).......href.=.event.targe |
52f20 | 74 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 66 65 65 64 22 29 3b 0a 20 20 20 20 75 72 6c 53 | t.getAttribute("feed");.....urlS |
52f40 | 65 63 75 72 69 74 79 43 68 65 63 6b 28 68 72 65 66 2c 20 67 42 72 6f 77 73 65 72 2e 63 6f 6e 74 | ecurityCheck(href,.gBrowser.cont |
52f60 | 65 6e 74 50 72 69 6e 63 69 70 61 6c 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | entPrincipal,................... |
52f80 | 20 20 20 43 69 2e 6e 73 49 53 63 72 69 70 74 53 65 63 75 72 69 74 79 4d 61 6e 61 67 65 72 2e 44 | ...Ci.nsIScriptSecurityManager.D |
52fa0 | 49 53 41 4c 4c 4f 57 5f 49 4e 48 45 52 49 54 5f 50 52 49 4e 43 49 50 41 4c 29 3b 0a 20 20 20 20 | ISALLOW_INHERIT_PRINCIPAL);..... |
52fc0 | 76 61 72 20 66 65 65 64 55 52 49 20 3d 20 6d 61 6b 65 55 52 49 28 68 72 65 66 2c 20 64 6f 63 75 | var.feedURI.=.makeURI(href,.docu |
52fe0 | 6d 65 6e 74 2e 63 68 61 72 61 63 74 65 72 53 65 74 29 3b 0a 20 20 20 20 2f 2f 20 55 73 65 20 74 | ment.characterSet);.....//.Use.t |
53000 | 68 65 20 66 65 65 64 20 73 63 68 65 6d 65 20 73 6f 20 58 2d 4d 6f 7a 2d 49 73 2d 46 65 65 64 20 | he.feed.scheme.so.X-Moz-Is-Feed. |
53020 | 77 69 6c 6c 20 62 65 20 73 65 74 0a 20 20 20 20 2f 2f 20 54 68 65 20 76 61 6c 75 65 20 64 6f 65 | will.be.set.....//.The.value.doe |
53040 | 73 6e 27 74 20 6d 61 74 74 65 72 0a 20 20 20 20 69 66 20 28 2f 5e 68 74 74 70 73 3f 2f 2e 74 65 | sn't.matter.....if.(/^https?/.te |
53060 | 73 74 28 66 65 65 64 55 52 49 2e 73 63 68 65 6d 65 29 29 0a 20 20 20 20 20 20 68 72 65 66 20 3d | st(feedURI.scheme)).......href.= |
53080 | 20 22 66 65 65 64 3a 22 20 2b 20 68 72 65 66 3b 0a 20 20 20 20 74 68 69 73 2e 6c 6f 61 64 46 65 | ."feed:".+.href;.....this.loadFe |
530a0 | 65 64 28 68 72 65 66 2c 20 65 76 65 6e 74 29 3b 0a 20 20 7d 2c 0a 0a 20 20 6c 6f 61 64 46 65 65 | ed(href,.event);...},....loadFee |
530c0 | 64 3a 20 66 75 6e 63 74 69 6f 6e 28 68 72 65 66 2c 20 65 76 65 6e 74 29 20 7b 0a 20 20 20 20 76 | d:.function(href,.event).{.....v |
530e0 | 61 72 20 66 65 65 64 73 20 3d 20 67 42 72 6f 77 73 65 72 2e 73 65 6c 65 63 74 65 64 42 72 6f 77 | ar.feeds.=.gBrowser.selectedBrow |
53100 | 73 65 72 2e 66 65 65 64 73 3b 0a 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 6f 70 65 6e 55 | ser.feeds;.....try.{.......openU |
53120 | 49 4c 69 6e 6b 28 68 72 65 66 2c 20 65 76 65 6e 74 2c 20 66 61 6c 73 65 2c 20 74 72 75 65 2c 20 | ILink(href,.event,.false,.true,. |
53140 | 66 61 6c 73 65 2c 20 6e 75 6c 6c 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 66 69 6e 61 6c 6c 79 20 | false,.null);.....}.....finally. |
53160 | 7b 0a 20 20 20 20 20 20 2f 2f 20 57 65 20 6d 69 67 68 74 20 64 65 66 61 75 6c 74 20 74 6f 20 61 | {.......//.We.might.default.to.a |
53180 | 20 6c 69 76 65 62 6f 6f 6b 6d 61 72 6b 73 20 6d 6f 64 61 6c 20 64 69 61 6c 6f 67 2c 20 0a 20 20 | .livebookmarks.modal.dialog,.... |
531a0 | 20 20 20 20 2f 2f 20 73 6f 20 72 65 73 65 74 20 74 68 61 74 20 69 66 20 74 68 65 20 75 73 65 72 | ....//.so.reset.that.if.the.user |
531c0 | 20 68 61 70 70 65 6e 73 20 74 6f 20 63 6c 69 63 6b 20 69 74 20 61 67 61 69 6e 0a 20 20 20 20 20 | .happens.to.click.it.again...... |
531e0 | 20 67 42 72 6f 77 73 65 72 2e 73 65 6c 65 63 74 65 64 42 72 6f 77 73 65 72 2e 66 65 65 64 73 20 | .gBrowser.selectedBrowser.feeds. |
53200 | 3d 20 66 65 65 64 73 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 | =.feeds;.....}...},..../**....*. |
53220 | 55 70 64 61 74 65 20 74 68 65 20 62 72 6f 77 73 65 72 20 55 49 20 74 6f 20 73 68 6f 77 20 77 68 | Update.the.browser.UI.to.show.wh |
53240 | 65 74 68 65 72 20 6f 72 20 6e 6f 74 20 66 65 65 64 73 20 61 72 65 20 61 76 61 69 6c 61 62 6c 65 | ether.or.not.feeds.are.available |
53260 | 20 77 68 65 6e 0a 20 20 20 2a 20 61 20 70 61 67 65 20 69 73 20 6c 6f 61 64 65 64 20 6f 72 20 74 | .when....*.a.page.is.loaded.or.t |
53280 | 68 65 20 75 73 65 72 20 73 77 69 74 63 68 65 73 20 74 61 62 73 20 74 6f 20 61 20 70 61 67 65 20 | he.user.switches.tabs.to.a.page. |
532a0 | 74 68 61 74 20 68 61 73 20 66 65 65 64 73 2e 20 0a 20 20 20 2a 2f 0a 20 20 75 70 64 61 74 65 46 | that.has.feeds......*/...updateF |
532c0 | 65 65 64 73 3a 20 66 75 6e 63 74 69 6f 6e 28 29 20 7b 0a 20 20 20 20 76 61 72 20 66 65 65 64 42 | eeds:.function().{.....var.feedB |
532e0 | 75 74 74 6f 6e 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 | utton.=.document.getElementById( |
53300 | 22 66 65 65 64 2d 62 75 74 74 6f 6e 22 29 3b 0a 20 20 20 20 69 66 20 28 21 74 68 69 73 2e 5f 66 | "feed-button");.....if.(!this._f |
53320 | 65 65 64 4d 65 6e 75 69 74 65 6d 29 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 66 65 65 64 4d 65 6e | eedMenuitem).......this._feedMen |
53340 | 75 69 74 65 6d 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 | uitem.=.document.getElementById( |
53360 | 22 73 75 62 73 63 72 69 62 65 54 6f 50 61 67 65 4d 65 6e 75 69 74 65 6d 22 29 3b 0a 20 20 20 20 | "subscribeToPageMenuitem");..... |
53380 | 69 66 20 28 21 74 68 69 73 2e 5f 66 65 65 64 4d 65 6e 75 70 6f 70 75 70 29 0a 20 20 20 20 20 20 | if.(!this._feedMenupopup)....... |
533a0 | 74 68 69 73 2e 5f 66 65 65 64 4d 65 6e 75 70 6f 70 75 70 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 | this._feedMenupopup.=.document.g |
533c0 | 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 73 75 62 73 63 72 69 62 65 54 6f 50 61 67 65 4d 65 | etElementById("subscribeToPageMe |
533e0 | 6e 75 70 6f 70 75 70 22 29 3b 0a 0a 20 20 20 20 76 61 72 20 66 65 65 64 73 20 3d 20 67 42 72 6f | nupopup");......var.feeds.=.gBro |
53400 | 77 73 65 72 2e 6d 43 75 72 72 65 6e 74 42 72 6f 77 73 65 72 2e 66 65 65 64 73 3b 0a 20 20 20 20 | wser.mCurrentBrowser.feeds;..... |
53420 | 69 66 20 28 21 66 65 65 64 73 20 7c 7c 20 66 65 65 64 73 2e 6c 65 6e 67 74 68 20 3d 3d 20 30 29 | if.(!feeds.||.feeds.length.==.0) |
53440 | 20 7b 0a 20 20 20 20 20 20 69 66 20 28 66 65 65 64 42 75 74 74 6f 6e 29 20 7b 0a 20 20 20 20 20 | .{.......if.(feedButton).{...... |
53460 | 20 20 20 66 65 65 64 42 75 74 74 6f 6e 2e 72 65 6d 6f 76 65 41 74 74 72 69 62 75 74 65 28 22 66 | ...feedButton.removeAttribute("f |
53480 | 65 65 64 73 22 29 3b 0a 20 20 20 20 20 20 20 20 66 65 65 64 42 75 74 74 6f 6e 2e 72 65 6d 6f 76 | eeds");.........feedButton.remov |
534a0 | 65 41 74 74 72 69 62 75 74 65 28 22 66 65 65 64 22 29 3b 0a 20 20 20 20 20 20 20 20 66 65 65 64 | eAttribute("feed");.........feed |
534c0 | 42 75 74 74 6f 6e 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 74 6f 6f 6c 74 69 70 74 65 78 74 | Button.setAttribute("tooltiptext |
534e0 | 22 2c 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ",.............................. |
53500 | 20 20 20 20 67 4e 61 76 69 67 61 74 6f 72 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 | ....gNavigatorBundle.getString(" |
53520 | 66 65 65 64 4e 6f 46 65 65 64 73 22 29 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 74 68 | feedNoFeeds"));.......}.......th |
53540 | 69 73 2e 5f 66 65 65 64 4d 65 6e 75 69 74 65 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 64 | is._feedMenuitem.setAttribute("d |
53560 | 69 73 61 62 6c 65 64 22 2c 20 22 74 72 75 65 22 29 3b 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 66 | isabled",."true");.......this._f |
53580 | 65 65 64 4d 65 6e 75 70 6f 70 75 70 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 68 69 64 64 65 | eedMenupopup.setAttribute("hidde |
535a0 | 6e 22 2c 20 22 74 72 75 65 22 29 3b 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 66 65 65 64 4d 65 6e | n",."true");.......this._feedMen |
535c0 | 75 69 74 65 6d 2e 72 65 6d 6f 76 65 41 74 74 72 69 62 75 74 65 28 22 68 69 64 64 65 6e 22 29 3b | uitem.removeAttribute("hidden"); |
535e0 | 0a 20 20 20 20 7d 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 69 66 20 28 66 65 65 64 42 75 74 74 | .....}.else.{.......if.(feedButt |
53600 | 6f 6e 29 20 7b 0a 20 20 20 20 20 20 20 20 66 65 65 64 42 75 74 74 6f 6e 2e 73 65 74 41 74 74 72 | on).{.........feedButton.setAttr |
53620 | 69 62 75 74 65 28 22 66 65 65 64 73 22 2c 20 22 74 72 75 65 22 29 3b 0a 20 20 20 20 20 20 20 20 | ibute("feeds",."true");......... |
53640 | 66 65 65 64 42 75 74 74 6f 6e 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 74 6f 6f 6c 74 69 70 | feedButton.setAttribute("tooltip |
53660 | 74 65 78 74 22 2c 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | text",.......................... |
53680 | 20 20 20 20 20 20 20 20 67 4e 61 76 69 67 61 74 6f 72 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 | ........gNavigatorBundle.getStri |
536a0 | 6e 67 28 22 66 65 65 64 48 61 73 46 65 65 64 73 4e 65 77 22 29 29 3b 0a 20 20 20 20 20 20 7d 0a | ng("feedHasFeedsNew"));.......}. |
536c0 | 20 20 20 20 20 20 0a 20 20 20 20 20 20 69 66 20 28 66 65 65 64 73 2e 6c 65 6e 67 74 68 20 3e 20 | .............if.(feeds.length.>. |
536e0 | 31 29 20 7b 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 66 65 65 64 4d 65 6e 75 69 74 65 6d 2e | 1).{.........this._feedMenuitem. |
53700 | 73 65 74 41 74 74 72 69 62 75 74 65 28 22 68 69 64 64 65 6e 22 2c 20 22 74 72 75 65 22 29 3b 0a | setAttribute("hidden",."true");. |
53720 | 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 66 65 65 64 4d 65 6e 75 70 6f 70 75 70 2e 72 65 6d 6f | ........this._feedMenupopup.remo |
53740 | 76 65 41 74 74 72 69 62 75 74 65 28 22 68 69 64 64 65 6e 22 29 3b 0a 20 20 20 20 20 20 20 20 69 | veAttribute("hidden");.........i |
53760 | 66 20 28 66 65 65 64 42 75 74 74 6f 6e 29 0a 20 20 20 20 20 20 20 20 20 20 66 65 65 64 42 75 74 | f.(feedButton)...........feedBut |
53780 | 74 6f 6e 2e 72 65 6d 6f 76 65 41 74 74 72 69 62 75 74 65 28 22 66 65 65 64 22 29 3b 0a 20 20 20 | ton.removeAttribute("feed");.... |
537a0 | 20 20 20 7d 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 20 20 69 66 20 28 66 65 65 64 42 75 74 74 | ...}.else.{.........if.(feedButt |
537c0 | 6f 6e 29 0a 20 20 20 20 20 20 20 20 20 20 66 65 65 64 42 75 74 74 6f 6e 2e 73 65 74 41 74 74 72 | on)...........feedButton.setAttr |
537e0 | 69 62 75 74 65 28 22 66 65 65 64 22 2c 20 66 65 65 64 73 5b 30 5d 2e 68 72 65 66 29 3b 0a 0a 20 | ibute("feed",.feeds[0].href);... |
53800 | 20 20 20 20 20 20 20 74 68 69 73 2e 5f 66 65 65 64 4d 65 6e 75 69 74 65 6d 2e 73 65 74 41 74 74 | .......this._feedMenuitem.setAtt |
53820 | 72 69 62 75 74 65 28 22 66 65 65 64 22 2c 20 66 65 65 64 73 5b 30 5d 2e 68 72 65 66 29 3b 0a 20 | ribute("feed",.feeds[0].href);.. |
53840 | 20 20 20 20 20 20 20 74 68 69 73 2e 5f 66 65 65 64 4d 65 6e 75 69 74 65 6d 2e 72 65 6d 6f 76 65 | .......this._feedMenuitem.remove |
53860 | 41 74 74 72 69 62 75 74 65 28 22 64 69 73 61 62 6c 65 64 22 29 3b 0a 20 20 20 20 20 20 20 20 74 | Attribute("disabled");.........t |
53880 | 68 69 73 2e 5f 66 65 65 64 4d 65 6e 75 69 74 65 6d 2e 72 65 6d 6f 76 65 41 74 74 72 69 62 75 74 | his._feedMenuitem.removeAttribut |
538a0 | 65 28 22 68 69 64 64 65 6e 22 29 3b 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 66 65 65 64 4d | e("hidden");.........this._feedM |
538c0 | 65 6e 75 70 6f 70 75 70 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 68 69 64 64 65 6e 22 2c 20 | enupopup.setAttribute("hidden",. |
538e0 | 22 74 72 75 65 22 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 20 20 7d 2c 20 0a 0a 20 20 | "true");.......}.....}...},..... |
53900 | 61 64 64 46 65 65 64 3a 20 66 75 6e 63 74 69 6f 6e 28 6c 69 6e 6b 2c 20 74 61 72 67 65 74 44 6f | addFeed:.function(link,.targetDo |
53920 | 63 29 20 7b 0a 20 20 20 20 2f 2f 20 66 69 6e 64 20 77 68 69 63 68 20 74 61 62 20 74 68 69 73 20 | c).{.....//.find.which.tab.this. |
53940 | 69 73 20 66 6f 72 2c 20 61 6e 64 20 73 65 74 20 74 68 65 20 61 74 74 72 69 62 75 74 65 20 6f 6e | is.for,.and.set.the.attribute.on |
53960 | 20 74 68 65 20 62 72 6f 77 73 65 72 0a 20 20 20 20 76 61 72 20 62 72 6f 77 73 65 72 46 6f 72 4c | .the.browser.....var.browserForL |
53980 | 69 6e 6b 20 3d 20 67 42 72 6f 77 73 65 72 2e 67 65 74 42 72 6f 77 73 65 72 46 6f 72 44 6f 63 75 | ink.=.gBrowser.getBrowserForDocu |
539a0 | 6d 65 6e 74 28 74 61 72 67 65 74 44 6f 63 29 3b 0a 20 20 20 20 69 66 20 28 21 62 72 6f 77 73 65 | ment(targetDoc);.....if.(!browse |
539c0 | 72 46 6f 72 4c 69 6e 6b 29 20 7b 0a 20 20 20 20 20 20 2f 2f 20 69 67 6e 6f 72 65 20 66 65 65 64 | rForLink).{.......//.ignore.feed |
539e0 | 73 20 6c 6f 61 64 65 64 20 69 6e 20 73 75 62 66 72 61 6d 65 73 20 28 73 65 65 20 62 75 67 20 33 | s.loaded.in.subframes.(see.bug.3 |
53a00 | 30 35 34 37 32 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 | 05472).......return;.....}...... |
53a20 | 69 66 20 28 21 62 72 6f 77 73 65 72 46 6f 72 4c 69 6e 6b 2e 66 65 65 64 73 29 0a 20 20 20 20 20 | if.(!browserForLink.feeds)...... |
53a40 | 20 62 72 6f 77 73 65 72 46 6f 72 4c 69 6e 6b 2e 66 65 65 64 73 20 3d 20 5b 5d 3b 0a 0a 20 20 20 | .browserForLink.feeds.=.[];..... |
53a60 | 20 62 72 6f 77 73 65 72 46 6f 72 4c 69 6e 6b 2e 66 65 65 64 73 2e 70 75 73 68 28 7b 20 68 72 65 | .browserForLink.feeds.push({.hre |
53a80 | 66 3a 20 6c 69 6e 6b 2e 68 72 65 66 2c 20 74 69 74 6c 65 3a 20 6c 69 6e 6b 2e 74 69 74 6c 65 20 | f:.link.href,.title:.link.title. |
53aa0 | 7d 29 3b 0a 0a 20 20 20 20 69 66 20 28 62 72 6f 77 73 65 72 46 6f 72 4c 69 6e 6b 20 3d 3d 20 67 | });......if.(browserForLink.==.g |
53ac0 | 42 72 6f 77 73 65 72 2e 6d 43 75 72 72 65 6e 74 42 72 6f 77 73 65 72 29 20 7b 0a 20 20 20 20 20 | Browser.mCurrentBrowser).{...... |
53ae0 | 20 76 61 72 20 66 65 65 64 42 75 74 74 6f 6e 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c | .var.feedButton.=.document.getEl |
53b00 | 65 6d 65 6e 74 42 79 49 64 28 22 66 65 65 64 2d 62 75 74 74 6f 6e 22 29 3b 0a 20 20 20 20 20 20 | ementById("feed-button");....... |
53b20 | 69 66 20 28 66 65 65 64 42 75 74 74 6f 6e 29 20 7b 0a 20 20 20 20 20 20 20 20 66 65 65 64 42 75 | if.(feedButton).{.........feedBu |
53b40 | 74 74 6f 6e 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 66 65 65 64 73 22 2c 20 22 74 72 75 65 | tton.setAttribute("feeds",."true |
53b60 | 22 29 3b 0a 20 20 20 20 20 20 20 20 66 65 65 64 42 75 74 74 6f 6e 2e 73 65 74 41 74 74 72 69 62 | ");.........feedButton.setAttrib |
53b80 | 75 74 65 28 22 74 6f 6f 6c 74 69 70 74 65 78 74 22 2c 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ute("tooltiptext",.............. |
53ba0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 4e 61 76 69 67 61 74 6f 72 42 75 | ....................gNavigatorBu |
53bc0 | 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 66 65 65 64 48 61 73 46 65 65 64 73 4e 65 77 22 | ndle.getString("feedHasFeedsNew" |
53be0 | 29 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 20 20 7d 0a 7d 3b 0a 0a 2f 2f 40 6c 69 6e | ));.......}.....}...}.};..//@lin |
53c00 | 65 20 34 30 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 | e.40."/builds/moz2_slave/linux_b |
53c20 | 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 62 61 73 65 2f 63 6f 6e 74 65 6e 74 2f | uild/build/browser/base/content/ |
53c40 | 62 72 6f 77 73 65 72 2d 70 6c 61 63 65 73 2e 6a 73 22 0a 0a 0a 76 61 72 20 53 74 61 72 55 49 20 | browser-places.js"...var.StarUI. |
53c60 | 3d 20 7b 0a 20 20 5f 69 74 65 6d 49 64 3a 20 2d 31 2c 0a 20 20 75 72 69 3a 20 6e 75 6c 6c 2c 0a | =.{..._itemId:.-1,...uri:.null,. |
53c80 | 20 20 5f 62 61 74 63 68 69 6e 67 3a 20 66 61 6c 73 65 2c 0a 0a 20 20 2f 2f 20 6e 73 49 53 75 70 | .._batching:.false,....//.nsISup |
53ca0 | 70 6f 72 74 73 0a 20 20 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 3a 20 66 75 6e 63 74 69 6f 6e | ports...QueryInterface:.function |
53cc0 | 20 53 55 5f 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 28 61 49 49 44 29 20 7b 0a 20 20 20 20 69 | .SU_QueryInterface(aIID).{.....i |
53ce0 | 66 20 28 61 49 49 44 2e 65 71 75 61 6c 73 28 43 69 2e 6e 73 49 44 4f 4d 45 76 65 6e 74 4c 69 73 | f.(aIID.equals(Ci.nsIDOMEventLis |
53d00 | 74 65 6e 65 72 29 20 7c 7c 0a 20 20 20 20 20 20 20 20 61 49 49 44 2e 65 71 75 61 6c 73 28 43 69 | tener).||.........aIID.equals(Ci |
53d20 | 2e 6e 73 49 53 75 70 70 6f 72 74 73 29 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 | .nsISupports)).......return.this |
53d40 | 3b 0a 0a 20 20 20 20 74 68 72 6f 77 20 43 72 2e 4e 53 5f 4e 4f 49 4e 54 45 52 46 41 43 45 3b 0a | ;......throw.Cr.NS_NOINTERFACE;. |
53d60 | 20 20 7d 2c 0a 0a 20 20 5f 65 6c 65 6d 65 6e 74 3a 20 66 75 6e 63 74 69 6f 6e 28 61 49 44 29 20 | ..},...._element:.function(aID). |
53d80 | 7b 0a 20 20 20 20 72 65 74 75 72 6e 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 | {.....return.document.getElement |
53da0 | 42 79 49 64 28 61 49 44 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2f 20 45 64 69 74 2d 62 6f 6f 6b 6d | ById(aID);...},....//.Edit-bookm |
53dc0 | 61 72 6b 20 70 61 6e 65 6c 0a 20 20 67 65 74 20 70 61 6e 65 6c 28 29 20 7b 0a 20 20 20 20 64 65 | ark.panel...get.panel().{.....de |
53de0 | 6c 65 74 65 20 74 68 69 73 2e 70 61 6e 65 6c 3b 0a 20 20 20 20 76 61 72 20 65 6c 65 6d 65 6e 74 | lete.this.panel;.....var.element |
53e00 | 20 3d 20 74 68 69 73 2e 5f 65 6c 65 6d 65 6e 74 28 22 65 64 69 74 42 6f 6f 6b 6d 61 72 6b 50 61 | .=.this._element("editBookmarkPa |
53e20 | 6e 65 6c 22 29 3b 0a 20 20 20 20 2f 2f 20 69 6e 69 74 69 61 6c 6c 79 20 74 68 65 20 70 61 6e 65 | nel");.....//.initially.the.pane |
53e40 | 6c 20 69 73 20 68 69 64 64 65 6e 0a 20 20 20 20 2f 2f 20 74 6f 20 61 76 6f 69 64 20 69 6d 70 61 | l.is.hidden.....//.to.avoid.impa |
53e60 | 63 74 69 6e 67 20 73 74 61 72 74 75 70 20 2f 20 6e 65 77 20 77 69 6e 64 6f 77 20 70 65 72 66 6f | cting.startup./.new.window.perfo |
53e80 | 72 6d 61 6e 63 65 0a 20 20 20 20 65 6c 65 6d 65 6e 74 2e 68 69 64 64 65 6e 20 3d 20 66 61 6c 73 | rmance.....element.hidden.=.fals |
53ea0 | 65 3b 0a 20 20 20 20 65 6c 65 6d 65 6e 74 2e 61 64 64 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 28 | e;.....element.addEventListener( |
53ec0 | 22 70 6f 70 75 70 68 69 64 64 65 6e 22 2c 20 74 68 69 73 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 | "popuphidden",.this,.false);.... |
53ee0 | 20 65 6c 65 6d 65 6e 74 2e 61 64 64 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 28 22 6b 65 79 70 72 | .element.addEventListener("keypr |
53f00 | 65 73 73 22 2c 20 74 68 69 73 2c 20 74 72 75 65 29 3b 0a 20 20 20 20 72 65 74 75 72 6e 20 74 68 | ess",.this,.true);.....return.th |
53f20 | 69 73 2e 70 61 6e 65 6c 20 3d 20 65 6c 65 6d 65 6e 74 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2f 20 6c | is.panel.=.element;...},....//.l |
53f40 | 69 73 74 20 6f 66 20 63 6f 6d 6d 61 6e 64 20 65 6c 65 6d 65 6e 74 73 20 28 62 79 20 69 64 29 20 | ist.of.command.elements.(by.id). |
53f60 | 74 6f 20 64 69 73 61 62 6c 65 20 77 68 65 6e 20 74 68 65 20 70 61 6e 65 6c 20 69 73 20 6f 70 65 | to.disable.when.the.panel.is.ope |
53f80 | 6e 65 64 0a 20 20 5f 62 6c 6f 63 6b 65 64 43 6f 6d 6d 61 6e 64 73 3a 20 5b 22 63 6d 64 5f 63 6c | ned..._blockedCommands:.["cmd_cl |
53fa0 | 6f 73 65 22 2c 20 22 63 6d 64 5f 63 6c 6f 73 65 57 69 6e 64 6f 77 22 5d 2c 0a 20 20 5f 62 6c 6f | ose",."cmd_closeWindow"],..._blo |
53fc0 | 63 6b 43 6f 6d 6d 61 6e 64 73 3a 20 66 75 6e 63 74 69 6f 6e 20 53 55 5f 5f 62 6c 6f 63 6b 43 6f | ckCommands:.function.SU__blockCo |
53fe0 | 6d 6d 61 6e 64 73 28 29 20 7b 0a 20 20 20 20 66 6f 72 20 65 61 63 68 28 76 61 72 20 6b 65 79 20 | mmands().{.....for.each(var.key. |
54000 | 69 6e 20 74 68 69 73 2e 5f 62 6c 6f 63 6b 65 64 43 6f 6d 6d 61 6e 64 73 29 20 7b 0a 20 20 20 20 | in.this._blockedCommands).{..... |
54020 | 20 20 76 61 72 20 65 6c 74 20 3d 20 74 68 69 73 2e 5f 65 6c 65 6d 65 6e 74 28 6b 65 79 29 3b 0a | ..var.elt.=.this._element(key);. |
54040 | 20 20 20 20 20 20 2f 2f 20 6d 61 6b 65 20 73 75 72 65 20 6e 6f 74 20 74 6f 20 70 65 72 6d 61 6e | ......//.make.sure.not.to.perman |
54060 | 65 6e 74 6c 79 20 64 69 73 61 62 6c 65 20 74 68 69 73 20 69 74 65 6d 20 28 73 65 65 20 62 75 67 | ently.disable.this.item.(see.bug |
54080 | 20 34 30 39 31 35 35 29 0a 20 20 20 20 20 20 69 66 20 28 65 6c 74 2e 68 61 73 41 74 74 72 69 62 | .409155).......if.(elt.hasAttrib |
540a0 | 75 74 65 28 22 77 61 73 44 69 73 61 62 6c 65 64 22 29 29 0a 20 20 20 20 20 20 20 20 63 6f 6e 74 | ute("wasDisabled")).........cont |
540c0 | 69 6e 75 65 3b 0a 20 20 20 20 20 20 69 66 20 28 65 6c 74 2e 67 65 74 41 74 74 72 69 62 75 74 65 | inue;.......if.(elt.getAttribute |
540e0 | 28 22 64 69 73 61 62 6c 65 64 22 29 20 3d 3d 20 22 74 72 75 65 22 29 0a 20 20 20 20 20 20 20 20 | ("disabled").==."true")......... |
54100 | 65 6c 74 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 77 61 73 44 69 73 61 62 6c 65 64 22 2c 20 | elt.setAttribute("wasDisabled",. |
54120 | 22 74 72 75 65 22 29 3b 0a 20 20 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 20 20 65 6c | "true");.......else.{.........el |
54140 | 74 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 77 61 73 44 69 73 61 62 6c 65 64 22 2c 20 22 66 | t.setAttribute("wasDisabled",."f |
54160 | 61 6c 73 65 22 29 3b 0a 20 20 20 20 20 20 20 20 65 6c 74 2e 73 65 74 41 74 74 72 69 62 75 74 65 | alse");.........elt.setAttribute |
54180 | 28 22 64 69 73 61 62 6c 65 64 22 2c 20 22 74 72 75 65 22 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 | ("disabled",."true");.......}... |
541a0 | 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 5f 72 65 73 74 6f 72 65 43 6f 6d 6d 61 6e 64 73 53 74 61 74 | ..}...},...._restoreCommandsStat |
541c0 | 65 3a 20 66 75 6e 63 74 69 6f 6e 20 53 55 5f 5f 72 65 73 74 6f 72 65 43 6f 6d 6d 61 6e 64 73 53 | e:.function.SU__restoreCommandsS |
541e0 | 74 61 74 65 28 29 20 7b 0a 20 20 20 20 66 6f 72 20 65 61 63 68 28 76 61 72 20 6b 65 79 20 69 6e | tate().{.....for.each(var.key.in |
54200 | 20 74 68 69 73 2e 5f 62 6c 6f 63 6b 65 64 43 6f 6d 6d 61 6e 64 73 29 20 7b 0a 20 20 20 20 20 20 | .this._blockedCommands).{....... |
54220 | 76 61 72 20 65 6c 74 20 3d 20 74 68 69 73 2e 5f 65 6c 65 6d 65 6e 74 28 6b 65 79 29 3b 0a 20 20 | var.elt.=.this._element(key);... |
54240 | 20 20 20 20 69 66 20 28 65 6c 74 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 77 61 73 44 69 73 | ....if.(elt.getAttribute("wasDis |
54260 | 61 62 6c 65 64 22 29 20 21 3d 20 22 74 72 75 65 22 29 0a 20 20 20 20 20 20 20 20 65 6c 74 2e 72 | abled").!=."true").........elt.r |
54280 | 65 6d 6f 76 65 41 74 74 72 69 62 75 74 65 28 22 64 69 73 61 62 6c 65 64 22 29 3b 0a 20 20 20 20 | emoveAttribute("disabled");..... |
542a0 | 20 20 65 6c 74 2e 72 65 6d 6f 76 65 41 74 74 72 69 62 75 74 65 28 22 77 61 73 44 69 73 61 62 6c | ..elt.removeAttribute("wasDisabl |
542c0 | 65 64 22 29 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 2f 2f 20 6e 73 49 44 4f 4d 45 76 65 | ed");.....}...},....//.nsIDOMEve |
542e0 | 6e 74 4c 69 73 74 65 6e 65 72 0a 20 20 68 61 6e 64 6c 65 45 76 65 6e 74 3a 20 66 75 6e 63 74 69 | ntListener...handleEvent:.functi |
54300 | 6f 6e 20 53 55 5f 68 61 6e 64 6c 65 45 76 65 6e 74 28 61 45 76 65 6e 74 29 20 7b 0a 20 20 20 20 | on.SU_handleEvent(aEvent).{..... |
54320 | 73 77 69 74 63 68 20 28 61 45 76 65 6e 74 2e 74 79 70 65 29 20 7b 0a 20 20 20 20 20 20 63 61 73 | switch.(aEvent.type).{.......cas |
54340 | 65 20 22 70 6f 70 75 70 68 69 64 64 65 6e 22 3a 0a 20 20 20 20 20 20 20 20 69 66 20 28 61 45 76 | e."popuphidden":.........if.(aEv |
54360 | 65 6e 74 2e 6f 72 69 67 69 6e 61 6c 54 61 72 67 65 74 20 3d 3d 20 74 68 69 73 2e 70 61 6e 65 6c | ent.originalTarget.==.this.panel |
54380 | 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 74 68 69 73 2e 5f 65 6c 65 6d 65 6e 74 | ).{...........if.(!this._element |
543a0 | 28 22 65 64 69 74 42 6f 6f 6b 6d 61 72 6b 50 61 6e 65 6c 43 6f 6e 74 65 6e 74 22 29 2e 68 69 64 | ("editBookmarkPanelContent").hid |
543c0 | 64 65 6e 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 71 75 69 74 45 64 69 74 4d 6f | den).............this.quitEditMo |
543e0 | 64 65 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 72 65 73 74 6f 72 65 43 6f 6d | de();...........this._restoreCom |
54400 | 6d 61 6e 64 73 53 74 61 74 65 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 69 74 | mandsState();...........this._it |
54420 | 65 6d 49 64 20 3d 20 2d 31 3b 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 75 72 69 20 3d | emId.=.-1;...........this._uri.= |
54440 | 20 6e 75 6c 6c 3b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 62 61 74 63 68 | .null;...........if.(this._batch |
54460 | 69 6e 67 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 | ing).{.............PlacesUIUtils |
54480 | 2e 70 74 6d 2e 65 6e 64 42 61 74 63 68 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 | .ptm.endBatch();.............thi |
544a0 | 73 2e 5f 62 61 74 63 68 69 6e 67 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 20 20 20 20 20 7d | s._batching.=.false;...........} |
544c0 | 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 | .........}.........break;....... |
544e0 | 63 61 73 65 20 22 6b 65 79 70 72 65 73 73 22 3a 0a 20 20 20 20 20 20 20 20 69 66 20 28 61 45 76 | case."keypress":.........if.(aEv |
54500 | 65 6e 74 2e 6b 65 79 43 6f 64 65 20 3d 3d 20 4b 65 79 45 76 65 6e 74 2e 44 4f 4d 5f 56 4b 5f 45 | ent.keyCode.==.KeyEvent.DOM_VK_E |
54520 | 53 43 41 50 45 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 49 66 20 74 68 65 20 70 61 6e | SCAPE).{...........//.If.the.pan |
54540 | 65 6c 20 69 73 20 76 69 73 69 62 6c 65 20 74 68 65 20 45 53 43 20 6b 65 79 20 69 73 20 6d 61 70 | el.is.visible.the.ESC.key.is.map |
54560 | 70 65 64 20 74 6f 20 74 68 65 20 63 61 6e 63 65 6c 20 62 75 74 74 6f 6e 0a 20 20 20 20 20 20 20 | ped.to.the.cancel.button........ |
54580 | 20 20 20 2f 2f 20 75 6e 6c 65 73 73 20 77 65 20 61 72 65 20 65 64 69 74 69 6e 67 20 61 20 66 6f | ...//.unless.we.are.editing.a.fo |
545a0 | 6c 64 65 72 20 69 6e 20 74 68 65 20 66 6f 6c 64 65 72 54 72 65 65 2c 20 6f 72 20 61 6e 0a 20 20 | lder.in.the.folderTree,.or.an... |
545c0 | 20 20 20 20 20 20 20 20 2f 2f 20 61 75 74 6f 63 6f 6d 70 6c 65 74 65 20 70 6f 70 75 70 20 69 73 | ........//.autocomplete.popup.is |
545e0 | 20 6f 70 65 6e 2e 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 74 68 69 73 2e 5f 65 6c 65 6d | .open............if.(!this._elem |
54600 | 65 6e 74 28 22 65 64 69 74 42 6f 6f 6b 6d 61 72 6b 50 61 6e 65 6c 43 6f 6e 74 65 6e 74 22 29 2e | ent("editBookmarkPanelContent"). |
54620 | 68 69 64 64 65 6e 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 65 6c 74 20 3d 20 | hidden).{.............var.elt.=. |
54640 | 61 45 76 65 6e 74 2e 74 61 72 67 65 74 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 28 | aEvent.target;.............if.(( |
54660 | 65 6c 74 2e 6c 6f 63 61 6c 4e 61 6d 65 20 21 3d 20 22 74 72 65 65 22 20 7c 7c 20 21 65 6c 74 2e | elt.localName.!=."tree".||.!elt. |
54680 | 68 61 73 41 74 74 72 69 62 75 74 65 28 22 65 64 69 74 69 6e 67 22 29 29 20 26 26 0a 20 20 20 20 | hasAttribute("editing")).&&..... |
546a0 | 20 20 20 20 20 20 20 20 20 20 20 20 21 65 6c 74 2e 70 6f 70 75 70 4f 70 65 6e 29 0a 20 20 20 20 | ............!elt.popupOpen)..... |
546c0 | 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 63 61 6e 63 65 6c 42 75 74 74 6f 6e 4f 6e 43 6f 6d | ..........this.cancelButtonOnCom |
546e0 | 6d 61 6e 64 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 | mand();...........}.........}... |
54700 | 20 20 20 20 20 20 65 6c 73 65 20 69 66 20 28 61 45 76 65 6e 74 2e 6b 65 79 43 6f 64 65 20 3d 3d | ......else.if.(aEvent.keyCode.== |
54720 | 20 4b 65 79 45 76 65 6e 74 2e 44 4f 4d 5f 56 4b 5f 52 45 54 55 52 4e 29 20 7b 0a 20 20 20 20 20 | .KeyEvent.DOM_VK_RETURN).{...... |
54740 | 20 20 20 20 20 2f 2f 20 68 69 64 65 20 74 68 65 20 70 61 6e 65 6c 20 75 6e 6c 65 73 73 20 74 68 | .....//.hide.the.panel.unless.th |
54760 | 65 20 66 6f 6c 64 65 72 20 74 72 65 65 20 6f 72 20 61 6e 20 65 78 70 61 6e 64 65 72 20 61 72 65 | e.folder.tree.or.an.expander.are |
54780 | 20 66 6f 63 75 73 65 64 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 6f 72 20 61 6e 20 61 75 74 6f | .focused...........//.or.an.auto |
547a0 | 63 6f 6d 70 6c 65 74 65 20 70 6f 70 75 70 20 69 73 20 6f 70 65 6e 2e 0a 20 20 20 20 20 20 20 20 | complete.popup.is.open.......... |
547c0 | 20 20 69 66 20 28 61 45 76 65 6e 74 2e 74 61 72 67 65 74 2e 6c 6f 63 61 6c 4e 61 6d 65 20 21 3d | ..if.(aEvent.target.localName.!= |
547e0 | 20 22 74 72 65 65 22 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 45 76 65 6e 74 2e | ."tree".&&...............aEvent. |
54800 | 74 61 72 67 65 74 2e 63 6c 61 73 73 4e 61 6d 65 20 21 3d 20 22 65 78 70 61 6e 64 65 72 2d 75 70 | target.className.!=."expander-up |
54820 | 22 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 45 76 65 6e 74 2e 74 61 72 67 65 74 | ".&&...............aEvent.target |
54840 | 2e 63 6c 61 73 73 4e 61 6d 65 20 21 3d 20 22 65 78 70 61 6e 64 65 72 2d 64 6f 77 6e 22 20 26 26 | .className.!=."expander-down".&& |
54860 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 21 61 45 76 65 6e 74 2e 74 61 72 67 65 74 2e 70 6f | ...............!aEvent.target.po |
54880 | 70 75 70 4f 70 65 6e 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 70 61 6e 65 6c 2e | pupOpen).............this.panel. |
548a0 | 68 69 64 65 50 6f 70 75 70 28 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 62 | hidePopup();.........}.........b |
548c0 | 72 65 61 6b 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 5f 6f 76 65 72 6c 61 79 4c 6f 61 64 | reak;.....}...},...._overlayLoad |
548e0 | 65 64 3a 20 66 61 6c 73 65 2c 0a 20 20 5f 6f 76 65 72 6c 61 79 4c 6f 61 64 69 6e 67 3a 20 66 61 | ed:.false,..._overlayLoading:.fa |
54900 | 6c 73 65 2c 0a 20 20 73 68 6f 77 45 64 69 74 42 6f 6f 6b 6d 61 72 6b 50 6f 70 75 70 3a 0a 20 20 | lse,...showEditBookmarkPopup:... |
54920 | 66 75 6e 63 74 69 6f 6e 20 53 55 5f 73 68 6f 77 45 64 69 74 42 6f 6f 6b 6d 61 72 6b 50 6f 70 75 | function.SU_showEditBookmarkPopu |
54940 | 70 28 61 49 74 65 6d 49 64 2c 20 61 41 6e 63 68 6f 72 45 6c 65 6d 65 6e 74 2c 20 61 50 6f 73 69 | p(aItemId,.aAnchorElement,.aPosi |
54960 | 74 69 6f 6e 29 20 7b 0a 20 20 20 20 2f 2f 20 50 65 72 66 6f 72 6d 61 6e 63 65 3a 20 6c 6f 61 64 | tion).{.....//.Performance:.load |
54980 | 20 74 68 65 20 6f 76 65 72 6c 61 79 20 74 68 65 20 66 69 72 73 74 20 74 69 6d 65 20 74 68 65 20 | .the.overlay.the.first.time.the. |
549a0 | 70 61 6e 65 6c 20 69 73 20 6f 70 65 6e 65 64 0a 20 20 20 20 2f 2f 20 28 73 65 65 20 62 75 67 20 | panel.is.opened.....//.(see.bug. |
549c0 | 33 39 32 34 34 33 29 2e 0a 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 6f 76 65 72 6c 61 79 4c 6f | 392443)......if.(this._overlayLo |
549e0 | 61 64 69 6e 67 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 20 20 69 66 20 28 74 68 | ading).......return;......if.(th |
54a00 | 69 73 2e 5f 6f 76 65 72 6c 61 79 4c 6f 61 64 65 64 29 20 7b 0a 20 20 20 20 20 20 74 68 69 73 2e | is._overlayLoaded).{.......this. |
54a20 | 5f 64 6f 53 68 6f 77 45 64 69 74 42 6f 6f 6b 6d 61 72 6b 50 61 6e 65 6c 28 61 49 74 65 6d 49 64 | _doShowEditBookmarkPanel(aItemId |
54a40 | 2c 20 61 41 6e 63 68 6f 72 45 6c 65 6d 65 6e 74 2c 20 61 50 6f 73 69 74 69 6f 6e 29 3b 0a 20 20 | ,.aAnchorElement,.aPosition);... |
54a60 | 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 76 61 72 20 6c 6f 61 64 4f | ....return;.....}......var.loadO |
54a80 | 62 73 65 72 76 65 72 20 3d 20 7b 0a 20 20 20 20 20 20 5f 73 65 6c 66 3a 20 74 68 69 73 2c 0a 20 | bserver.=.{......._self:.this,.. |
54aa0 | 20 20 20 20 20 5f 69 74 65 6d 49 64 3a 20 61 49 74 65 6d 49 64 2c 0a 20 20 20 20 20 20 5f 61 6e | ....._itemId:.aItemId,......._an |
54ac0 | 63 68 6f 72 45 6c 65 6d 65 6e 74 3a 20 61 41 6e 63 68 6f 72 45 6c 65 6d 65 6e 74 2c 0a 20 20 20 | chorElement:.aAnchorElement,.... |
54ae0 | 20 20 20 5f 70 6f 73 69 74 69 6f 6e 3a 20 61 50 6f 73 69 74 69 6f 6e 2c 0a 20 20 20 20 20 20 6f | ..._position:.aPosition,.......o |
54b00 | 62 73 65 72 76 65 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 53 75 62 6a 65 63 74 2c 20 61 54 6f 70 | bserve:.function.(aSubject,.aTop |
54b20 | 69 63 2c 20 61 44 61 74 61 29 20 7b 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 73 65 6c 66 2e | ic,.aData).{.........this._self. |
54b40 | 5f 6f 76 65 72 6c 61 79 4c 6f 61 64 69 6e 67 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 20 20 | _overlayLoading.=.false;........ |
54b60 | 20 74 68 69 73 2e 5f 73 65 6c 66 2e 5f 6f 76 65 72 6c 61 79 4c 6f 61 64 65 64 20 3d 20 74 72 75 | .this._self._overlayLoaded.=.tru |
54b80 | 65 3b 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 73 65 6c 66 2e 5f 64 6f 53 68 6f 77 45 64 69 | e;.........this._self._doShowEdi |
54ba0 | 74 42 6f 6f 6b 6d 61 72 6b 50 61 6e 65 6c 28 74 68 69 73 2e 5f 69 74 65 6d 49 64 2c 20 74 68 69 | tBookmarkPanel(this._itemId,.thi |
54bc0 | 73 2e 5f 61 6e 63 68 6f 72 45 6c 65 6d 65 6e 74 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | s._anchorElement,............... |
54be0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 | ..............................th |
54c00 | 69 73 2e 5f 70 6f 73 69 74 69 6f 6e 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 3b 0a 20 20 | is._position);.......}.....};... |
54c20 | 20 20 74 68 69 73 2e 5f 6f 76 65 72 6c 61 79 4c 6f 61 64 69 6e 67 20 3d 20 74 72 75 65 3b 0a 20 | ..this._overlayLoading.=.true;.. |
54c40 | 20 20 20 64 6f 63 75 6d 65 6e 74 2e 6c 6f 61 64 4f 76 65 72 6c 61 79 28 22 63 68 72 6f 6d 65 3a | ...document.loadOverlay("chrome: |
54c60 | 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 70 6c 61 63 65 73 2f 65 64 69 74 42 6f 6f | //browser/content/places/editBoo |
54c80 | 6b 6d 61 72 6b 4f 76 65 72 6c 61 79 2e 78 75 6c 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | kmarkOverlay.xul",.............. |
54ca0 | 20 20 20 20 20 20 20 20 20 20 20 20 6c 6f 61 64 4f 62 73 65 72 76 65 72 29 3b 0a 20 20 7d 2c 0a | ............loadObserver);...},. |
54cc0 | 0a 20 20 5f 64 6f 53 68 6f 77 45 64 69 74 42 6f 6f 6b 6d 61 72 6b 50 61 6e 65 6c 3a 0a 20 20 66 | ..._doShowEditBookmarkPanel:...f |
54ce0 | 75 6e 63 74 69 6f 6e 20 53 55 5f 5f 64 6f 53 68 6f 77 45 64 69 74 42 6f 6f 6b 6d 61 72 6b 50 61 | unction.SU__doShowEditBookmarkPa |
54d00 | 6e 65 6c 28 61 49 74 65 6d 49 64 2c 20 61 41 6e 63 68 6f 72 45 6c 65 6d 65 6e 74 2c 20 61 50 6f | nel(aItemId,.aAnchorElement,.aPo |
54d20 | 73 69 74 69 6f 6e 29 20 7b 0a 20 20 20 20 69 66 20 28 74 68 69 73 2e 70 61 6e 65 6c 2e 73 74 61 | sition).{.....if.(this.panel.sta |
54d40 | 74 65 20 21 3d 20 22 63 6c 6f 73 65 64 22 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 | te.!=."closed").......return;... |
54d60 | 20 20 20 74 68 69 73 2e 5f 62 6c 6f 63 6b 43 6f 6d 6d 61 6e 64 73 28 29 3b 20 2f 2f 20 75 6e 2d | ...this._blockCommands();.//.un- |
54d80 | 64 6f 6e 65 20 69 6e 20 74 68 65 20 70 6f 70 75 70 68 69 64 69 6e 67 20 68 61 6e 64 6c 65 72 0a | done.in.the.popuphiding.handler. |
54da0 | 0a 20 20 20 20 2f 2f 20 4d 6f 76 65 20 74 68 65 20 68 65 61 64 65 72 20 28 73 74 61 72 2c 20 74 | .....//.Move.the.header.(star,.t |
54dc0 | 69 74 6c 65 2c 20 70 6f 73 73 69 62 6c 79 20 61 20 62 75 74 74 6f 6e 29 20 69 6e 74 6f 20 74 68 | itle,.possibly.a.button).into.th |
54de0 | 65 20 67 72 69 64 2c 0a 20 20 20 20 2f 2f 20 73 6f 20 74 68 61 74 20 69 74 20 61 6c 69 67 6e 73 | e.grid,.....//.so.that.it.aligns |
54e00 | 20 6e 69 63 65 6c 79 20 77 69 74 68 20 74 68 65 20 6f 74 68 65 72 20 69 74 65 6d 73 20 28 62 75 | .nicely.with.the.other.items.(bu |
54e20 | 67 20 34 38 34 30 32 32 29 2e 0a 20 20 20 20 76 61 72 20 72 6f 77 73 20 3d 20 74 68 69 73 2e 5f | g.484022)......var.rows.=.this._ |
54e40 | 65 6c 65 6d 65 6e 74 28 22 65 64 69 74 42 6f 6f 6b 6d 61 72 6b 50 61 6e 65 6c 47 72 69 64 22 29 | element("editBookmarkPanelGrid") |
54e60 | 2e 6c 61 73 74 43 68 69 6c 64 3b 0a 20 20 20 20 76 61 72 20 68 65 61 64 65 72 20 3d 20 74 68 69 | .lastChild;.....var.header.=.thi |
54e80 | 73 2e 5f 65 6c 65 6d 65 6e 74 28 22 65 64 69 74 42 6f 6f 6b 6d 61 72 6b 50 61 6e 65 6c 48 65 61 | s._element("editBookmarkPanelHea |
54ea0 | 64 65 72 22 29 3b 0a 20 20 20 20 72 6f 77 73 2e 69 6e 73 65 72 74 42 65 66 6f 72 65 28 68 65 61 | der");.....rows.insertBefore(hea |
54ec0 | 64 65 72 2c 20 72 6f 77 73 2e 66 69 72 73 74 43 68 69 6c 64 29 3b 0a 20 20 20 20 68 65 61 64 65 | der,.rows.firstChild);.....heade |
54ee0 | 72 2e 68 69 64 64 65 6e 20 3d 20 66 61 6c 73 65 3b 0a 0a 20 20 20 20 76 61 72 20 62 75 6e 64 6c | r.hidden.=.false;......var.bundl |
54f00 | 65 20 3d 20 74 68 69 73 2e 5f 65 6c 65 6d 65 6e 74 28 22 62 75 6e 64 6c 65 5f 62 72 6f 77 73 65 | e.=.this._element("bundle_browse |
54f20 | 72 22 29 3b 0a 0a 20 20 20 20 2f 2f 20 53 65 74 20 70 61 6e 65 6c 20 74 69 74 6c 65 3a 0a 20 20 | r");......//.Set.panel.title:... |
54f40 | 20 20 2f 2f 20 69 66 20 77 65 20 61 72 65 20 62 61 74 63 68 69 6e 67 2c 20 69 2e 65 2e 20 74 68 | ..//.if.we.are.batching,.i.e..th |
54f60 | 65 20 62 6f 6f 6b 6d 61 72 6b 20 68 61 73 20 62 65 65 6e 20 61 64 64 65 64 20 6e 6f 77 2c 0a 20 | e.bookmark.has.been.added.now,.. |
54f80 | 20 20 20 2f 2f 20 74 68 65 6e 20 73 68 6f 77 20 50 61 67 65 20 42 6f 6f 6b 6d 61 72 6b 65 64 2c | ...//.then.show.Page.Bookmarked, |
54fa0 | 20 65 6c 73 65 20 69 66 20 74 68 65 20 62 6f 6f 6b 6d 61 72 6b 20 64 69 64 20 61 6c 72 65 61 64 | .else.if.the.bookmark.did.alread |
54fc0 | 79 20 65 78 69 73 74 2c 0a 20 20 20 20 2f 2f 20 77 65 20 61 72 65 20 61 62 6f 75 74 20 65 64 69 | y.exist,.....//.we.are.about.edi |
54fe0 | 74 69 6e 67 20 69 74 2c 20 74 68 65 6e 20 75 73 65 20 45 64 69 74 20 54 68 69 73 20 42 6f 6f 6b | ting.it,.then.use.Edit.This.Book |
55000 | 6d 61 72 6b 2e 0a 20 20 20 20 74 68 69 73 2e 5f 65 6c 65 6d 65 6e 74 28 22 65 64 69 74 42 6f 6f | mark......this._element("editBoo |
55020 | 6b 6d 61 72 6b 50 61 6e 65 6c 54 69 74 6c 65 22 29 2e 76 61 6c 75 65 20 3d 0a 20 20 20 20 20 20 | kmarkPanelTitle").value.=....... |
55040 | 74 68 69 73 2e 5f 62 61 74 63 68 69 6e 67 20 3f 0a 20 20 20 20 20 20 20 20 62 75 6e 64 6c 65 2e | this._batching.?.........bundle. |
55060 | 67 65 74 53 74 72 69 6e 67 28 22 65 64 69 74 42 6f 6f 6b 6d 61 72 6b 50 61 6e 65 6c 2e 70 61 67 | getString("editBookmarkPanel.pag |
55080 | 65 42 6f 6f 6b 6d 61 72 6b 65 64 54 69 74 6c 65 22 29 20 3a 0a 20 20 20 20 20 20 20 20 62 75 6e | eBookmarkedTitle").:.........bun |
550a0 | 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 65 64 69 74 42 6f 6f 6b 6d 61 72 6b 50 61 6e 65 6c | dle.getString("editBookmarkPanel |
550c0 | 2e 65 64 69 74 42 6f 6f 6b 6d 61 72 6b 54 69 74 6c 65 22 29 3b 0a 0a 20 20 20 20 2f 2f 20 4e 6f | .editBookmarkTitle");......//.No |
550e0 | 20 64 65 73 63 72 69 70 74 69 6f 6e 3b 20 73 68 6f 77 20 74 68 65 20 44 6f 6e 65 2c 20 43 61 6e | .description;.show.the.Done,.Can |
55100 | 63 65 6c 3b 0a 20 20 20 20 2f 2f 20 68 69 64 65 20 74 68 65 20 45 64 69 74 2c 20 55 6e 64 6f 20 | cel;.....//.hide.the.Edit,.Undo. |
55120 | 62 75 74 74 6f 6e 73 0a 20 20 20 20 74 68 69 73 2e 5f 65 6c 65 6d 65 6e 74 28 22 65 64 69 74 42 | buttons.....this._element("editB |
55140 | 6f 6f 6b 6d 61 72 6b 50 61 6e 65 6c 44 65 73 63 72 69 70 74 69 6f 6e 22 29 2e 74 65 78 74 43 6f | ookmarkPanelDescription").textCo |
55160 | 6e 74 65 6e 74 20 3d 20 22 22 3b 0a 20 20 20 20 74 68 69 73 2e 5f 65 6c 65 6d 65 6e 74 28 22 65 | ntent.=."";.....this._element("e |
55180 | 64 69 74 42 6f 6f 6b 6d 61 72 6b 50 61 6e 65 6c 42 6f 74 74 6f 6d 42 75 74 74 6f 6e 73 22 29 2e | ditBookmarkPanelBottomButtons"). |
551a0 | 68 69 64 64 65 6e 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 74 68 69 73 2e 5f 65 6c 65 6d 65 6e | hidden.=.false;.....this._elemen |
551c0 | 74 28 22 65 64 69 74 42 6f 6f 6b 6d 61 72 6b 50 61 6e 65 6c 43 6f 6e 74 65 6e 74 22 29 2e 68 69 | t("editBookmarkPanelContent").hi |
551e0 | 64 64 65 6e 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 74 68 69 73 2e 5f 65 6c 65 6d 65 6e 74 28 | dden.=.false;.....this._element( |
55200 | 22 65 64 69 74 42 6f 6f 6b 6d 61 72 6b 50 61 6e 65 6c 45 64 69 74 42 75 74 74 6f 6e 22 29 2e 68 | "editBookmarkPanelEditButton").h |
55220 | 69 64 64 65 6e 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 74 68 69 73 2e 5f 65 6c 65 6d 65 6e 74 28 | idden.=.true;.....this._element( |
55240 | 22 65 64 69 74 42 6f 6f 6b 6d 61 72 6b 50 61 6e 65 6c 55 6e 64 6f 52 65 6d 6f 76 65 42 75 74 74 | "editBookmarkPanelUndoRemoveButt |
55260 | 6f 6e 22 29 2e 68 69 64 64 65 6e 20 3d 20 74 72 75 65 3b 0a 0a 20 20 20 20 2f 2f 20 54 68 65 20 | on").hidden.=.true;......//.The. |
55280 | 72 65 6d 6f 76 65 20 62 75 74 74 6f 6e 20 69 73 20 73 68 6f 77 6e 20 6f 6e 6c 79 20 69 66 20 77 | remove.button.is.shown.only.if.w |
552a0 | 65 27 72 65 20 6e 6f 74 20 61 6c 72 65 61 64 79 20 62 61 74 63 68 69 6e 67 2c 20 69 2e 65 2e 0a | e're.not.already.batching,.i.e.. |
552c0 | 20 20 20 20 2f 2f 20 69 66 20 74 68 65 20 63 61 6e 63 65 6c 20 62 75 74 74 6f 6e 2f 45 53 43 20 | ....//.if.the.cancel.button/ESC. |
552e0 | 64 6f 65 73 20 6e 6f 74 20 72 65 6d 6f 76 65 20 74 68 65 20 62 6f 6f 6b 6d 61 72 6b 2e 0a 20 20 | does.not.remove.the.bookmark.... |
55300 | 20 20 74 68 69 73 2e 5f 65 6c 65 6d 65 6e 74 28 22 65 64 69 74 42 6f 6f 6b 6d 61 72 6b 50 61 6e | ..this._element("editBookmarkPan |
55320 | 65 6c 52 65 6d 6f 76 65 42 75 74 74 6f 6e 22 29 2e 68 69 64 64 65 6e 20 3d 20 74 68 69 73 2e 5f | elRemoveButton").hidden.=.this._ |
55340 | 62 61 74 63 68 69 6e 67 3b 0a 0a 20 20 20 20 2f 2f 20 54 68 65 20 6c 61 62 65 6c 20 6f 66 20 74 | batching;......//.The.label.of.t |
55360 | 68 65 20 72 65 6d 6f 76 65 20 62 75 74 74 6f 6e 20 64 69 66 66 65 72 73 20 69 66 20 74 68 65 20 | he.remove.button.differs.if.the. |
55380 | 55 52 49 20 69 73 20 62 6f 6f 6b 6d 61 72 6b 65 64 0a 20 20 20 20 2f 2f 20 6d 75 6c 74 69 70 6c | URI.is.bookmarked.....//.multipl |
553a0 | 65 20 74 69 6d 65 73 2e 0a 20 20 20 20 76 61 72 20 62 6f 6f 6b 6d 61 72 6b 73 20 3d 20 50 6c 61 | e.times......var.bookmarks.=.Pla |
553c0 | 63 65 73 55 74 69 6c 73 2e 67 65 74 42 6f 6f 6b 6d 61 72 6b 73 46 6f 72 55 52 49 28 67 42 72 6f | cesUtils.getBookmarksForURI(gBro |
553e0 | 77 73 65 72 2e 63 75 72 72 65 6e 74 55 52 49 29 3b 0a 20 20 20 20 76 61 72 20 66 6f 72 6d 73 20 | wser.currentURI);.....var.forms. |
55400 | 3d 20 62 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 65 64 69 74 42 6f 6f 6b 6d 61 72 6b | =.bundle.getString("editBookmark |
55420 | 2e 72 65 6d 6f 76 65 42 6f 6f 6b 6d 61 72 6b 73 2e 6c 61 62 65 6c 22 29 3b 0a 20 20 20 20 76 61 | .removeBookmarks.label");.....va |
55440 | 72 20 6c 61 62 65 6c 20 3d 20 50 6c 75 72 61 6c 46 6f 72 6d 2e 67 65 74 28 62 6f 6f 6b 6d 61 72 | r.label.=.PluralForm.get(bookmar |
55460 | 6b 73 2e 6c 65 6e 67 74 68 2c 20 66 6f 72 6d 73 29 2e 72 65 70 6c 61 63 65 28 22 23 31 22 2c 20 | ks.length,.forms).replace("#1",. |
55480 | 62 6f 6f 6b 6d 61 72 6b 73 2e 6c 65 6e 67 74 68 29 3b 0a 20 20 20 20 74 68 69 73 2e 5f 65 6c 65 | bookmarks.length);.....this._ele |
554a0 | 6d 65 6e 74 28 22 65 64 69 74 42 6f 6f 6b 6d 61 72 6b 50 61 6e 65 6c 52 65 6d 6f 76 65 42 75 74 | ment("editBookmarkPanelRemoveBut |
554c0 | 74 6f 6e 22 29 2e 6c 61 62 65 6c 20 3d 20 6c 61 62 65 6c 3b 0a 0a 20 20 20 20 2f 2f 20 75 6e 73 | ton").label.=.label;......//.uns |
554e0 | 65 74 20 74 68 65 20 75 6e 73 74 61 72 72 65 64 20 73 74 61 74 65 2c 20 69 66 20 73 65 74 0a 20 | et.the.unstarred.state,.if.set.. |
55500 | 20 20 20 74 68 69 73 2e 5f 65 6c 65 6d 65 6e 74 28 22 65 64 69 74 42 6f 6f 6b 6d 61 72 6b 50 61 | ...this._element("editBookmarkPa |
55520 | 6e 65 6c 53 74 61 72 49 63 6f 6e 22 29 2e 72 65 6d 6f 76 65 41 74 74 72 69 62 75 74 65 28 22 75 | nelStarIcon").removeAttribute("u |
55540 | 6e 73 74 61 72 72 65 64 22 29 3b 0a 0a 20 20 20 20 74 68 69 73 2e 5f 69 74 65 6d 49 64 20 3d 20 | nstarred");......this._itemId.=. |
55560 | 61 49 74 65 6d 49 64 20 21 3d 3d 20 75 6e 64 65 66 69 6e 65 64 20 3f 20 61 49 74 65 6d 49 64 20 | aItemId.!==.undefined.?.aItemId. |
55580 | 3a 20 74 68 69 73 2e 5f 69 74 65 6d 49 64 3b 0a 20 20 20 20 74 68 69 73 2e 62 65 67 69 6e 42 61 | :.this._itemId;.....this.beginBa |
555a0 | 74 63 68 28 29 3b 0a 0a 20 20 20 20 2f 2f 20 43 6f 6e 73 75 6d 65 20 64 69 73 6d 69 73 73 20 63 | tch();......//.Consume.dismiss.c |
555c0 | 6c 69 63 6b 73 2c 20 73 65 65 20 62 75 67 20 34 30 30 39 32 34 0a 20 20 20 20 74 68 69 73 2e 70 | licks,.see.bug.400924.....this.p |
555e0 | 61 6e 65 6c 2e 70 6f 70 75 70 42 6f 78 4f 62 6a 65 63 74 0a 20 20 20 20 20 20 20 20 2e 73 65 74 | anel.popupBoxObject..........set |
55600 | 43 6f 6e 73 75 6d 65 52 6f 6c 6c 75 70 45 76 65 6e 74 28 43 69 2e 6e 73 49 50 6f 70 75 70 42 6f | ConsumeRollupEvent(Ci.nsIPopupBo |
55620 | 78 4f 62 6a 65 63 74 2e 52 4f 4c 4c 55 50 5f 43 4f 4e 53 55 4d 45 29 3b 0a 20 20 20 20 74 68 69 | xObject.ROLLUP_CONSUME);.....thi |
55640 | 73 2e 70 61 6e 65 6c 2e 6f 70 65 6e 50 6f 70 75 70 28 61 41 6e 63 68 6f 72 45 6c 65 6d 65 6e 74 | s.panel.openPopup(aAnchorElement |
55660 | 2c 20 61 50 6f 73 69 74 69 6f 6e 2c 20 2d 31 2c 20 2d 31 29 3b 0a 0a 20 20 20 20 67 45 64 69 74 | ,.aPosition,.-1,.-1);......gEdit |
55680 | 49 74 65 6d 4f 76 65 72 6c 61 79 2e 69 6e 69 74 50 61 6e 65 6c 28 74 68 69 73 2e 5f 69 74 65 6d | ItemOverlay.initPanel(this._item |
556a0 | 49 64 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | Id,............................. |
556c0 | 20 20 20 7b 20 68 69 64 64 65 6e 52 6f 77 73 3a 20 5b 22 64 65 73 63 72 69 70 74 69 6f 6e 22 2c | ...{.hiddenRows:.["description", |
556e0 | 20 22 6c 6f 63 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ."location",.................... |
55700 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 6c 6f 61 64 | ..........................."load |
55720 | 49 6e 53 69 64 65 62 61 72 22 2c 20 22 6b 65 79 77 6f 72 64 22 5d 20 7d 29 3b 0a 20 20 7d 2c 0a | InSidebar",."keyword"].});...},. |
55740 | 0a 20 20 70 61 6e 65 6c 53 68 6f 77 6e 3a 0a 20 20 66 75 6e 63 74 69 6f 6e 20 53 55 5f 70 61 6e | ...panelShown:...function.SU_pan |
55760 | 65 6c 53 68 6f 77 6e 28 61 45 76 65 6e 74 29 20 7b 0a 20 20 20 20 69 66 20 28 61 45 76 65 6e 74 | elShown(aEvent).{.....if.(aEvent |
55780 | 2e 74 61 72 67 65 74 20 3d 3d 20 74 68 69 73 2e 70 61 6e 65 6c 29 20 7b 0a 20 20 20 20 20 20 69 | .target.==.this.panel).{.......i |
557a0 | 66 20 28 21 74 68 69 73 2e 5f 65 6c 65 6d 65 6e 74 28 22 65 64 69 74 42 6f 6f 6b 6d 61 72 6b 50 | f.(!this._element("editBookmarkP |
557c0 | 61 6e 65 6c 43 6f 6e 74 65 6e 74 22 29 2e 68 69 64 64 65 6e 29 20 7b 0a 20 20 20 20 20 20 20 20 | anelContent").hidden).{......... |
557e0 | 76 61 72 20 6e 61 6d 65 50 69 63 6b 65 72 20 3d 20 74 68 69 73 2e 5f 65 6c 65 6d 65 6e 74 28 22 | var.namePicker.=.this._element(" |
55800 | 65 64 69 74 42 4d 50 61 6e 65 6c 5f 6e 61 6d 65 50 69 63 6b 65 72 22 29 3b 0a 20 20 20 20 20 20 | editBMPanel_namePicker");....... |
55820 | 20 20 6e 61 6d 65 50 69 63 6b 65 72 2e 66 6f 63 75 73 28 29 3b 0a 20 20 20 20 20 20 20 20 6e 61 | ..namePicker.focus();.........na |
55840 | 6d 65 50 69 63 6b 65 72 2e 73 65 6c 65 63 74 28 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 | mePicker.select();.......}...... |
55860 | 20 65 6c 73 65 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 70 61 6e 65 6c 2e 66 6f 63 75 73 28 29 | .else.........this.panel.focus() |
55880 | 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 73 68 6f 77 50 61 67 65 42 6f 6f 6b 6d 61 72 6b | ;.....}...},....showPageBookmark |
558a0 | 65 64 4e 6f 74 69 66 69 63 61 74 69 6f 6e 3a 0a 20 20 66 75 6e 63 74 69 6f 6e 20 50 43 48 5f 73 | edNotification:...function.PCH_s |
558c0 | 68 6f 77 50 61 67 65 42 6f 6f 6b 6d 61 72 6b 65 64 4e 6f 74 69 66 69 63 61 74 69 6f 6e 28 61 49 | howPageBookmarkedNotification(aI |
558e0 | 74 65 6d 49 64 2c 20 61 41 6e 63 68 6f 72 45 6c 65 6d 65 6e 74 2c 20 61 50 6f 73 69 74 69 6f 6e | temId,.aAnchorElement,.aPosition |
55900 | 29 20 7b 0a 20 20 20 20 74 68 69 73 2e 5f 62 6c 6f 63 6b 43 6f 6d 6d 61 6e 64 73 28 29 3b 20 2f | ).{.....this._blockCommands();./ |
55920 | 2f 20 75 6e 2d 64 6f 6e 65 20 69 6e 20 74 68 65 20 70 6f 70 75 70 68 69 64 69 6e 67 20 68 61 6e | /.un-done.in.the.popuphiding.han |
55940 | 64 6c 65 72 0a 0a 20 20 20 20 76 61 72 20 62 75 6e 64 6c 65 20 3d 20 74 68 69 73 2e 5f 65 6c 65 | dler......var.bundle.=.this._ele |
55960 | 6d 65 6e 74 28 22 62 75 6e 64 6c 65 5f 62 72 6f 77 73 65 72 22 29 3b 0a 20 20 20 20 76 61 72 20 | ment("bundle_browser");.....var. |
55980 | 62 72 61 6e 64 42 75 6e 64 6c 65 20 3d 20 74 68 69 73 2e 5f 65 6c 65 6d 65 6e 74 28 22 62 75 6e | brandBundle.=.this._element("bun |
559a0 | 64 6c 65 5f 62 72 61 6e 64 22 29 3b 0a 20 20 20 20 76 61 72 20 62 72 61 6e 64 53 68 6f 72 74 4e | dle_brand");.....var.brandShortN |
559c0 | 61 6d 65 20 3d 20 62 72 61 6e 64 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 62 72 61 | ame.=.brandBundle.getString("bra |
559e0 | 6e 64 53 68 6f 72 74 4e 61 6d 65 22 29 3b 0a 0a 20 20 20 20 2f 2f 20 22 50 61 67 65 20 42 6f 6f | ndShortName");......//."Page.Boo |
55a00 | 6b 6d 61 72 6b 65 64 22 20 74 69 74 6c 65 0a 20 20 20 20 74 68 69 73 2e 5f 65 6c 65 6d 65 6e 74 | kmarked".title.....this._element |
55a20 | 28 22 65 64 69 74 42 6f 6f 6b 6d 61 72 6b 50 61 6e 65 6c 54 69 74 6c 65 22 29 2e 76 61 6c 75 65 | ("editBookmarkPanelTitle").value |
55a40 | 20 3d 0a 20 20 20 20 20 20 62 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 65 64 69 74 42 | .=.......bundle.getString("editB |
55a60 | 6f 6f 6b 6d 61 72 6b 50 61 6e 65 6c 2e 70 61 67 65 42 6f 6f 6b 6d 61 72 6b 65 64 54 69 74 6c 65 | ookmarkPanel.pageBookmarkedTitle |
55a80 | 22 29 3b 0a 0a 20 20 20 20 2f 2f 20 64 65 73 63 72 69 70 74 69 6f 6e 0a 20 20 20 20 74 68 69 73 | ");......//.description.....this |
55aa0 | 2e 5f 65 6c 65 6d 65 6e 74 28 22 65 64 69 74 42 6f 6f 6b 6d 61 72 6b 50 61 6e 65 6c 44 65 73 63 | ._element("editBookmarkPanelDesc |
55ac0 | 72 69 70 74 69 6f 6e 22 29 2e 74 65 78 74 43 6f 6e 74 65 6e 74 20 3d 0a 20 20 20 20 20 20 62 75 | ription").textContent.=.......bu |
55ae0 | 6e 64 6c 65 2e 67 65 74 46 6f 72 6d 61 74 74 65 64 53 74 72 69 6e 67 28 22 65 64 69 74 42 6f 6f | ndle.getFormattedString("editBoo |
55b00 | 6b 6d 61 72 6b 50 61 6e 65 6c 2e 70 61 67 65 42 6f 6f 6b 6d 61 72 6b 65 64 44 65 73 63 72 69 70 | kmarkPanel.pageBookmarkedDescrip |
55b20 | 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | tion",.......................... |
55b40 | 20 20 20 20 20 20 20 5b 62 72 61 6e 64 53 68 6f 72 74 4e 61 6d 65 5d 29 3b 0a 0a 20 20 20 20 2f | .......[brandShortName]);....../ |
55b60 | 2f 20 73 68 6f 77 20 74 68 65 20 22 45 64 69 74 2e 2e 22 20 62 75 74 74 6f 6e 20 61 6e 64 20 74 | /.show.the."Edit..".button.and.t |
55b80 | 68 65 20 52 65 6d 6f 76 65 20 42 6f 6f 6b 6d 61 72 6b 20 62 75 74 74 6f 6e 2c 20 68 69 64 65 20 | he.Remove.Bookmark.button,.hide. |
55ba0 | 74 68 65 0a 20 20 20 20 2f 2f 20 75 6e 64 6f 2d 72 65 6d 6f 76 65 2d 62 6f 6f 6b 6d 61 72 6b 20 | the.....//.undo-remove-bookmark. |
55bc0 | 62 75 74 74 6f 6e 2e 0a 20 20 20 20 74 68 69 73 2e 5f 65 6c 65 6d 65 6e 74 28 22 65 64 69 74 42 | button......this._element("editB |
55be0 | 6f 6f 6b 6d 61 72 6b 50 61 6e 65 6c 45 64 69 74 42 75 74 74 6f 6e 22 29 2e 68 69 64 64 65 6e 20 | ookmarkPanelEditButton").hidden. |
55c00 | 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 74 68 69 73 2e 5f 65 6c 65 6d 65 6e 74 28 22 65 64 69 74 | =.false;.....this._element("edit |
55c20 | 42 6f 6f 6b 6d 61 72 6b 50 61 6e 65 6c 52 65 6d 6f 76 65 42 75 74 74 6f 6e 22 29 2e 68 69 64 64 | BookmarkPanelRemoveButton").hidd |
55c40 | 65 6e 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 74 68 69 73 2e 5f 65 6c 65 6d 65 6e 74 28 22 65 | en.=.false;.....this._element("e |
55c60 | 64 69 74 42 6f 6f 6b 6d 61 72 6b 50 61 6e 65 6c 55 6e 64 6f 52 65 6d 6f 76 65 42 75 74 74 6f 6e | ditBookmarkPanelUndoRemoveButton |
55c80 | 22 29 2e 68 69 64 64 65 6e 20 3d 20 74 72 75 65 3b 0a 0a 20 20 20 20 2f 2f 20 75 6e 73 65 74 20 | ").hidden.=.true;......//.unset. |
55ca0 | 74 68 65 20 75 6e 73 74 61 72 72 65 64 20 73 74 61 74 65 2c 20 69 66 20 73 65 74 0a 20 20 20 20 | the.unstarred.state,.if.set..... |
55cc0 | 74 68 69 73 2e 5f 65 6c 65 6d 65 6e 74 28 22 65 64 69 74 42 6f 6f 6b 6d 61 72 6b 50 61 6e 65 6c | this._element("editBookmarkPanel |
55ce0 | 53 74 61 72 49 63 6f 6e 22 29 2e 72 65 6d 6f 76 65 41 74 74 72 69 62 75 74 65 28 22 75 6e 73 74 | StarIcon").removeAttribute("unst |
55d00 | 61 72 72 65 64 22 29 3b 0a 0a 20 20 20 20 74 68 69 73 2e 5f 69 74 65 6d 49 64 20 3d 20 61 49 74 | arred");......this._itemId.=.aIt |
55d20 | 65 6d 49 64 20 21 3d 3d 20 75 6e 64 65 66 69 6e 65 64 20 3f 20 61 49 74 65 6d 49 64 20 3a 20 74 | emId.!==.undefined.?.aItemId.:.t |
55d40 | 68 69 73 2e 5f 69 74 65 6d 49 64 3b 0a 20 20 20 20 69 66 20 28 74 68 69 73 2e 70 61 6e 65 6c 2e | his._itemId;.....if.(this.panel. |
55d60 | 73 74 61 74 65 20 3d 3d 20 22 63 6c 6f 73 65 64 22 29 20 7b 0a 20 20 20 20 20 20 2f 2f 20 43 6f | state.==."closed").{.......//.Co |
55d80 | 6e 73 75 6d 65 20 64 69 73 6d 69 73 73 20 63 6c 69 63 6b 73 2c 20 73 65 65 20 62 75 67 20 34 30 | nsume.dismiss.clicks,.see.bug.40 |
55da0 | 30 39 32 34 0a 20 20 20 20 20 20 74 68 69 73 2e 70 61 6e 65 6c 2e 70 6f 70 75 70 42 6f 78 4f 62 | 0924.......this.panel.popupBoxOb |
55dc0 | 6a 65 63 74 0a 20 20 20 20 20 20 20 20 20 20 2e 73 65 74 43 6f 6e 73 75 6d 65 52 6f 6c 6c 75 70 | ject............setConsumeRollup |
55de0 | 45 76 65 6e 74 28 43 69 2e 6e 73 49 50 6f 70 75 70 42 6f 78 4f 62 6a 65 63 74 2e 52 4f 4c 4c 55 | Event(Ci.nsIPopupBoxObject.ROLLU |
55e00 | 50 5f 43 4f 4e 53 55 4d 45 29 3b 0a 20 20 20 20 20 20 74 68 69 73 2e 70 61 6e 65 6c 2e 6f 70 65 | P_CONSUME);.......this.panel.ope |
55e20 | 6e 50 6f 70 75 70 28 61 41 6e 63 68 6f 72 45 6c 65 6d 65 6e 74 2c 20 61 50 6f 73 69 74 69 6f 6e | nPopup(aAnchorElement,.aPosition |
55e40 | 2c 20 2d 31 2c 20 2d 31 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 | ,.-1,.-1);.....}.....else....... |
55e60 | 74 68 69 73 2e 70 61 6e 65 6c 2e 66 6f 63 75 73 28 29 3b 0a 20 20 7d 2c 0a 0a 20 20 71 75 69 74 | this.panel.focus();...},....quit |
55e80 | 45 64 69 74 4d 6f 64 65 3a 20 66 75 6e 63 74 69 6f 6e 20 53 55 5f 71 75 69 74 45 64 69 74 4d 6f | EditMode:.function.SU_quitEditMo |
55ea0 | 64 65 28 29 20 7b 0a 20 20 20 20 74 68 69 73 2e 5f 65 6c 65 6d 65 6e 74 28 22 65 64 69 74 42 6f | de().{.....this._element("editBo |
55ec0 | 6f 6b 6d 61 72 6b 50 61 6e 65 6c 43 6f 6e 74 65 6e 74 22 29 2e 68 69 64 64 65 6e 20 3d 20 74 72 | okmarkPanelContent").hidden.=.tr |
55ee0 | 75 65 3b 0a 20 20 20 20 74 68 69 73 2e 5f 65 6c 65 6d 65 6e 74 28 22 65 64 69 74 42 6f 6f 6b 6d | ue;.....this._element("editBookm |
55f00 | 61 72 6b 50 61 6e 65 6c 42 6f 74 74 6f 6d 42 75 74 74 6f 6e 73 22 29 2e 68 69 64 64 65 6e 20 3d | arkPanelBottomButtons").hidden.= |
55f20 | 20 74 72 75 65 3b 0a 20 20 20 20 67 45 64 69 74 49 74 65 6d 4f 76 65 72 6c 61 79 2e 75 6e 69 6e | .true;.....gEditItemOverlay.unin |
55f40 | 69 74 50 61 6e 65 6c 28 74 72 75 65 29 3b 0a 20 20 7d 2c 0a 0a 20 20 65 64 69 74 42 75 74 74 6f | itPanel(true);...},....editButto |
55f60 | 6e 43 6f 6d 6d 61 6e 64 3a 20 66 75 6e 63 74 69 6f 6e 20 53 55 5f 65 64 69 74 42 75 74 74 6f 6e | nCommand:.function.SU_editButton |
55f80 | 43 6f 6d 6d 61 6e 64 28 29 20 7b 0a 20 20 20 20 74 68 69 73 2e 73 68 6f 77 45 64 69 74 42 6f 6f | Command().{.....this.showEditBoo |
55fa0 | 6b 6d 61 72 6b 50 6f 70 75 70 28 29 3b 0a 20 20 7d 2c 0a 0a 20 20 63 61 6e 63 65 6c 42 75 74 74 | kmarkPopup();...},....cancelButt |
55fc0 | 6f 6e 4f 6e 43 6f 6d 6d 61 6e 64 3a 20 66 75 6e 63 74 69 6f 6e 20 53 55 5f 63 61 6e 63 65 6c 42 | onOnCommand:.function.SU_cancelB |
55fe0 | 75 74 74 6f 6e 4f 6e 43 6f 6d 6d 61 6e 64 28 29 20 7b 0a 20 20 20 20 2f 2f 20 54 68 65 20 6f 72 | uttonOnCommand().{.....//.The.or |
56000 | 64 65 72 20 68 65 72 65 20 69 73 20 69 6d 70 6f 72 74 61 6e 74 21 20 57 65 20 68 61 76 65 20 74 | der.here.is.important!.We.have.t |
56020 | 6f 20 68 69 64 65 20 74 68 65 20 70 61 6e 65 6c 20 66 69 72 73 74 2c 20 6f 74 68 65 72 77 69 73 | o.hide.the.panel.first,.otherwis |
56040 | 65 0a 20 20 20 20 2f 2f 20 63 68 61 6e 67 65 73 20 64 6f 6e 65 20 61 73 20 70 61 72 74 20 6f 66 | e.....//.changes.done.as.part.of |
56060 | 20 55 6e 64 6f 20 6d 61 79 20 63 68 61 6e 67 65 20 74 68 65 20 70 61 6e 65 6c 20 63 6f 6e 74 65 | .Undo.may.change.the.panel.conte |
56080 | 6e 74 73 20 61 6e 64 20 62 79 0a 20 20 20 20 2f 2f 20 74 68 61 74 20 66 6f 72 63 65 20 69 74 20 | nts.and.by.....//.that.force.it. |
560a0 | 74 6f 20 63 6f 6d 6d 69 74 20 6d 6f 72 65 20 74 72 61 6e 73 61 63 74 69 6f 6e 73 0a 20 20 20 20 | to.commit.more.transactions..... |
560c0 | 74 68 69 73 2e 70 61 6e 65 6c 2e 68 69 64 65 50 6f 70 75 70 28 29 3b 0a 20 20 20 20 74 68 69 73 | this.panel.hidePopup();.....this |
560e0 | 2e 65 6e 64 42 61 74 63 68 28 29 3b 0a 20 20 20 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 70 | .endBatch();.....PlacesUIUtils.p |
56100 | 74 6d 2e 75 6e 64 6f 54 72 61 6e 73 61 63 74 69 6f 6e 28 29 3b 0a 20 20 7d 2c 0a 0a 20 20 72 65 | tm.undoTransaction();...},....re |
56120 | 6d 6f 76 65 42 6f 6f 6b 6d 61 72 6b 42 75 74 74 6f 6e 43 6f 6d 6d 61 6e 64 3a 20 66 75 6e 63 74 | moveBookmarkButtonCommand:.funct |
56140 | 69 6f 6e 20 53 55 5f 72 65 6d 6f 76 65 42 6f 6f 6b 6d 61 72 6b 42 75 74 74 6f 6e 43 6f 6d 6d 61 | ion.SU_removeBookmarkButtonComma |
56160 | 6e 64 28 29 20 7b 0a 2f 2f 40 6c 69 6e 65 20 33 32 36 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 | nd().{.//@line.326."/builds/moz2 |
56180 | 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 | _slave/linux_build/build/browser |
561a0 | 2f 62 61 73 65 2f 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2d 70 6c 61 63 65 73 2e 6a 73 22 | /base/content/browser-places.js" |
561c0 | 0a 0a 20 20 20 20 2f 2f 20 63 61 63 68 65 20 69 74 73 20 75 72 69 20 73 6f 20 77 65 20 63 61 6e | ......//.cache.its.uri.so.we.can |
561e0 | 20 67 65 74 20 74 68 65 20 6e 65 77 20 69 74 65 6d 49 64 20 69 6e 20 74 68 65 20 63 61 73 65 20 | .get.the.new.itemId.in.the.case. |
56200 | 6f 66 20 75 6e 64 6f 0a 20 20 20 20 74 68 69 73 2e 5f 75 72 69 20 3d 20 50 6c 61 63 65 73 55 74 | of.undo.....this._uri.=.PlacesUt |
56220 | 69 6c 73 2e 62 6f 6f 6b 6d 61 72 6b 73 2e 67 65 74 42 6f 6f 6b 6d 61 72 6b 55 52 49 28 74 68 69 | ils.bookmarks.getBookmarkURI(thi |
56240 | 73 2e 5f 69 74 65 6d 49 64 29 3b 0a 0a 20 20 20 20 2f 2f 20 72 65 6d 6f 76 65 20 61 6c 6c 20 62 | s._itemId);......//.remove.all.b |
56260 | 6f 6f 6b 6d 61 72 6b 73 20 66 6f 72 20 74 68 65 20 62 6f 6f 6b 6d 61 72 6b 27 73 20 75 72 6c 2c | ookmarks.for.the.bookmark's.url, |
56280 | 20 74 68 69 73 20 61 6c 73 6f 20 72 65 6d 6f 76 65 73 0a 20 20 20 20 2f 2f 20 74 68 65 20 74 61 | .this.also.removes.....//.the.ta |
562a0 | 67 73 20 66 6f 72 20 74 68 65 20 75 72 6c 0a 20 20 20 20 76 61 72 20 69 74 65 6d 49 64 73 20 3d | gs.for.the.url.....var.itemIds.= |
562c0 | 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 67 65 74 42 6f 6f 6b 6d 61 72 6b 73 46 6f 72 55 52 49 28 | .PlacesUtils.getBookmarksForURI( |
562e0 | 74 68 69 73 2e 5f 75 72 69 29 3b 0a 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 3d 30 3b 20 69 20 | this._uri);.....for.(var.i=0;.i. |
56300 | 3c 20 69 74 65 6d 49 64 73 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 20 7b 0a 20 20 20 20 20 20 76 | <.itemIds.length;.i++).{.......v |
56320 | 61 72 20 74 78 6e 20 3d 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 70 74 6d 2e 72 65 6d 6f 76 | ar.txn.=.PlacesUIUtils.ptm.remov |
56340 | 65 49 74 65 6d 28 69 74 65 6d 49 64 73 5b 69 5d 29 3b 0a 20 20 20 20 20 20 50 6c 61 63 65 73 55 | eItem(itemIds[i]);.......PlacesU |
56360 | 49 55 74 69 6c 73 2e 70 74 6d 2e 64 6f 54 72 61 6e 73 61 63 74 69 6f 6e 28 74 78 6e 29 3b 0a 20 | IUtils.ptm.doTransaction(txn);.. |
56380 | 20 20 20 7d 0a 0a 2f 2f 40 6c 69 6e 65 20 33 34 33 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f | ...}..//@line.343."/builds/moz2_ |
563a0 | 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f | slave/linux_build/build/browser/ |
563c0 | 62 61 73 65 2f 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2d 70 6c 61 63 65 73 2e 6a 73 22 0a | base/content/browser-places.js". |
563e0 | 20 20 20 20 20 20 74 68 69 73 2e 70 61 6e 65 6c 2e 68 69 64 65 50 6f 70 75 70 28 29 3b 0a 20 20 | ......this.panel.hidePopup();... |
56400 | 7d 2c 0a 0a 20 20 75 6e 64 6f 52 65 6d 6f 76 65 42 6f 6f 6b 6d 61 72 6b 43 6f 6d 6d 61 6e 64 3a | },....undoRemoveBookmarkCommand: |
56420 | 20 66 75 6e 63 74 69 6f 6e 20 53 55 5f 75 6e 64 6f 52 65 6d 6f 76 65 42 6f 6f 6b 6d 61 72 6b 43 | .function.SU_undoRemoveBookmarkC |
56440 | 6f 6d 6d 61 6e 64 28 29 20 7b 0a 20 20 20 20 2f 2f 20 72 65 73 74 6f 72 65 20 74 68 65 20 62 6f | ommand().{.....//.restore.the.bo |
56460 | 6f 6b 6d 61 72 6b 20 62 79 20 75 6e 64 6f 69 6e 67 20 74 68 65 20 6c 61 73 74 20 74 72 61 6e 73 | okmark.by.undoing.the.last.trans |
56480 | 61 63 74 69 6f 6e 20 61 6e 64 20 67 6f 20 62 61 63 6b 0a 20 20 20 20 2f 2f 20 74 6f 20 74 68 65 | action.and.go.back.....//.to.the |
564a0 | 20 65 64 69 74 20 73 74 61 74 65 0a 20 20 20 20 74 68 69 73 2e 65 6e 64 42 61 74 63 68 28 29 3b | .edit.state.....this.endBatch(); |
564c0 | 0a 20 20 20 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 70 74 6d 2e 75 6e 64 6f 54 72 61 6e 73 | .....PlacesUIUtils.ptm.undoTrans |
564e0 | 61 63 74 69 6f 6e 28 29 3b 0a 20 20 20 20 74 68 69 73 2e 5f 69 74 65 6d 49 64 20 3d 20 50 6c 61 | action();.....this._itemId.=.Pla |
56500 | 63 65 73 55 74 69 6c 73 2e 67 65 74 4d 6f 73 74 52 65 63 65 6e 74 42 6f 6f 6b 6d 61 72 6b 46 6f | cesUtils.getMostRecentBookmarkFo |
56520 | 72 55 52 49 28 74 68 69 73 2e 5f 75 72 69 29 3b 0a 20 20 20 20 74 68 69 73 2e 73 68 6f 77 45 64 | rURI(this._uri);.....this.showEd |
56540 | 69 74 42 6f 6f 6b 6d 61 72 6b 50 6f 70 75 70 28 29 3b 0a 20 20 7d 2c 0a 0a 20 20 62 65 67 69 6e | itBookmarkPopup();...},....begin |
56560 | 42 61 74 63 68 3a 20 66 75 6e 63 74 69 6f 6e 20 53 55 5f 62 65 67 69 6e 42 61 74 63 68 28 29 20 | Batch:.function.SU_beginBatch(). |
56580 | 7b 0a 20 20 20 20 69 66 20 28 21 74 68 69 73 2e 5f 62 61 74 63 68 69 6e 67 29 20 7b 0a 20 20 20 | {.....if.(!this._batching).{.... |
565a0 | 20 20 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 70 74 6d 2e 62 65 67 69 6e 42 61 74 63 68 28 | ...PlacesUIUtils.ptm.beginBatch( |
565c0 | 29 3b 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 62 61 74 63 68 69 6e 67 20 3d 20 74 72 75 65 3b 0a | );.......this._batching.=.true;. |
565e0 | 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 65 6e 64 42 61 74 63 68 3a 20 66 75 6e 63 74 69 6f 6e | ....}...},....endBatch:.function |
56600 | 20 53 55 5f 65 6e 64 42 61 74 63 68 28 29 20 7b 0a 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 62 | .SU_endBatch().{.....if.(this._b |
56620 | 61 74 63 68 69 6e 67 29 20 7b 0a 20 20 20 20 20 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 70 | atching).{.......PlacesUIUtils.p |
56640 | 74 6d 2e 65 6e 64 42 61 74 63 68 28 29 3b 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 62 61 74 63 68 | tm.endBatch();.......this._batch |
56660 | 69 6e 67 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 7d 0a 20 20 7d 0a 7d 0a 0a 76 61 72 20 50 6c | ing.=.false;.....}...}.}..var.Pl |
56680 | 61 63 65 73 43 6f 6d 6d 61 6e 64 48 6f 6f 6b 20 3d 20 7b 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 41 | acesCommandHook.=.{.../**....*.A |
566a0 | 64 64 73 20 61 20 62 6f 6f 6b 6d 61 72 6b 20 74 6f 20 74 68 65 20 70 61 67 65 20 6c 6f 61 64 65 | dds.a.bookmark.to.the.page.loade |
566c0 | 64 20 69 6e 20 74 68 65 20 67 69 76 65 6e 20 62 72 6f 77 73 65 72 2e 0a 20 20 20 2a 0a 20 20 20 | d.in.the.given.browser.....*.... |
566e0 | 2a 20 40 70 61 72 61 6d 20 61 42 72 6f 77 73 65 72 0a 20 20 20 2a 20 20 20 20 20 20 20 20 61 20 | *.@param.aBrowser....*........a. |
56700 | 3c 62 72 6f 77 73 65 72 3e 20 65 6c 65 6d 65 6e 74 2e 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 5b | <browser>.element.....*.@param.[ |
56720 | 6f 70 74 69 6f 6e 61 6c 5d 20 61 50 61 72 65 6e 74 0a 20 20 20 2a 20 20 20 20 20 20 20 20 54 68 | optional].aParent....*........Th |
56740 | 65 20 66 6f 6c 64 65 72 20 69 6e 20 77 68 69 63 68 20 74 6f 20 63 72 65 61 74 65 20 61 20 6e 65 | e.folder.in.which.to.create.a.ne |
56760 | 77 20 62 6f 6f 6b 6d 61 72 6b 20 69 66 20 74 68 65 20 70 61 67 65 20 6c 6f 61 64 65 64 20 69 6e | w.bookmark.if.the.page.loaded.in |
56780 | 0a 20 20 20 2a 20 20 20 20 20 20 20 20 61 42 72 6f 77 73 65 72 20 69 73 6e 27 74 20 62 6f 6f 6b | ....*........aBrowser.isn't.book |
567a0 | 6d 61 72 6b 65 64 20 79 65 74 2c 20 64 65 66 61 75 6c 74 73 20 74 6f 20 74 68 65 20 75 6e 66 69 | marked.yet,.defaults.to.the.unfi |
567c0 | 6c 65 64 20 72 6f 6f 74 2e 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 5b 6f 70 74 69 6f 6e 61 6c 5d | led.root.....*.@param.[optional] |
567e0 | 20 61 53 68 6f 77 45 64 69 74 55 49 0a 20 20 20 2a 20 20 20 20 20 20 20 20 77 68 65 74 68 65 72 | .aShowEditUI....*........whether |
56800 | 20 6f 72 20 6e 6f 74 20 74 6f 20 73 68 6f 77 20 74 68 65 20 65 64 69 74 2d 62 6f 6f 6b 6d 61 72 | .or.not.to.show.the.edit-bookmar |
56820 | 6b 20 55 49 20 66 6f 72 20 74 68 65 20 62 6f 6f 6b 6d 61 72 6b 20 69 74 65 6d 0a 20 20 20 2a 2f | k.UI.for.the.bookmark.item....*/ |
56840 | 20 20 0a 20 20 62 6f 6f 6b 6d 61 72 6b 50 61 67 65 3a 20 66 75 6e 63 74 69 6f 6e 20 50 43 48 5f | .....bookmarkPage:.function.PCH_ |
56860 | 62 6f 6f 6b 6d 61 72 6b 50 61 67 65 28 61 42 72 6f 77 73 65 72 2c 20 61 50 61 72 65 6e 74 2c 20 | bookmarkPage(aBrowser,.aParent,. |
56880 | 61 53 68 6f 77 45 64 69 74 55 49 29 20 7b 0a 20 20 20 20 76 61 72 20 75 72 69 20 3d 20 61 42 72 | aShowEditUI).{.....var.uri.=.aBr |
568a0 | 6f 77 73 65 72 2e 63 75 72 72 65 6e 74 55 52 49 3b 0a 20 20 20 20 76 61 72 20 69 74 65 6d 49 64 | owser.currentURI;.....var.itemId |
568c0 | 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 67 65 74 4d 6f 73 74 52 65 63 65 6e 74 42 6f 6f 6b | .=.PlacesUtils.getMostRecentBook |
568e0 | 6d 61 72 6b 46 6f 72 55 52 49 28 75 72 69 29 3b 0a 20 20 20 20 69 66 20 28 69 74 65 6d 49 64 20 | markForURI(uri);.....if.(itemId. |
56900 | 3d 3d 20 2d 31 29 20 7b 0a 20 20 20 20 20 20 2f 2f 20 43 6f 70 69 65 64 20 6f 76 65 72 20 66 72 | ==.-1).{.......//.Copied.over.fr |
56920 | 6f 6d 20 61 64 64 42 6f 6f 6b 6d 61 72 6b 46 6f 72 42 72 6f 77 73 65 72 3a 0a 20 20 20 20 20 20 | om.addBookmarkForBrowser:....... |
56940 | 2f 2f 20 42 75 67 20 35 32 35 33 36 3a 20 57 65 20 6f 62 74 61 69 6e 20 74 68 65 20 55 52 4c 20 | //.Bug.52536:.We.obtain.the.URL. |
56960 | 61 6e 64 20 74 69 74 6c 65 20 66 72 6f 6d 20 74 68 65 20 6e 73 49 57 65 62 4e 61 76 69 67 61 74 | and.title.from.the.nsIWebNavigat |
56980 | 69 6f 6e 0a 20 20 20 20 20 20 2f 2f 20 61 73 73 6f 63 69 61 74 65 64 20 77 69 74 68 20 61 20 3c | ion.......//.associated.with.a.< |
569a0 | 62 72 6f 77 73 65 72 2f 3e 20 72 61 74 68 65 72 20 74 68 61 6e 20 66 72 6f 6d 20 61 20 44 4f 4d | browser/>.rather.than.from.a.DOM |
569c0 | 57 69 6e 64 6f 77 2e 0a 20 20 20 20 20 20 2f 2f 20 54 68 69 73 20 69 73 20 62 65 63 61 75 73 65 | Window........//.This.is.because |
569e0 | 20 77 68 65 6e 20 61 20 66 75 6c 6c 20 70 61 67 65 20 70 6c 75 67 69 6e 20 69 73 20 6c 6f 61 64 | .when.a.full.page.plugin.is.load |
56a00 | 65 64 2c 20 74 68 65 72 65 20 69 73 0a 20 20 20 20 20 20 2f 2f 20 6e 6f 20 44 4f 4d 57 69 6e 64 | ed,.there.is.......//.no.DOMWind |
56a20 | 6f 77 20 28 3f 29 20 62 75 74 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 20 61 62 6f 75 74 20 74 68 65 | ow.(?).but.information.about.the |
56a40 | 20 6c 6f 61 64 65 64 20 64 6f 63 75 6d 65 6e 74 0a 20 20 20 20 20 20 2f 2f 20 6d 61 79 20 73 74 | .loaded.document.......//.may.st |
56a60 | 69 6c 6c 20 62 65 20 6f 62 74 61 69 6e 65 64 20 66 72 6f 6d 20 74 68 65 20 77 65 62 4e 61 76 69 | ill.be.obtained.from.the.webNavi |
56a80 | 67 61 74 69 6f 6e 2e 0a 20 20 20 20 20 20 76 61 72 20 77 65 62 4e 61 76 20 3d 20 61 42 72 6f 77 | gation........var.webNav.=.aBrow |
56aa0 | 73 65 72 2e 77 65 62 4e 61 76 69 67 61 74 69 6f 6e 3b 0a 20 20 20 20 20 20 76 61 72 20 75 72 6c | ser.webNavigation;.......var.url |
56ac0 | 20 3d 20 77 65 62 4e 61 76 2e 63 75 72 72 65 6e 74 55 52 49 3b 0a 20 20 20 20 20 20 76 61 72 20 | .=.webNav.currentURI;.......var. |
56ae0 | 74 69 74 6c 65 3b 0a 20 20 20 20 20 20 76 61 72 20 64 65 73 63 72 69 70 74 69 6f 6e 3b 0a 20 20 | title;.......var.description;... |
56b00 | 20 20 20 20 76 61 72 20 63 68 61 72 73 65 74 3b 0a 20 20 20 20 20 20 74 72 79 20 7b 0a 20 20 20 | ....var.charset;.......try.{.... |
56b20 | 20 20 20 20 20 74 69 74 6c 65 20 3d 20 77 65 62 4e 61 76 2e 64 6f 63 75 6d 65 6e 74 2e 74 69 74 | .....title.=.webNav.document.tit |
56b40 | 6c 65 20 7c 7c 20 75 72 6c 2e 73 70 65 63 3b 0a 20 20 20 20 20 20 20 20 64 65 73 63 72 69 70 74 | le.||.url.spec;.........descript |
56b60 | 69 6f 6e 20 3d 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 67 65 74 44 65 73 63 72 69 70 74 69 | ion.=.PlacesUIUtils.getDescripti |
56b80 | 6f 6e 46 72 6f 6d 44 6f 63 75 6d 65 6e 74 28 77 65 62 4e 61 76 2e 64 6f 63 75 6d 65 6e 74 29 3b | onFromDocument(webNav.document); |
56ba0 | 0a 20 20 20 20 20 20 20 20 63 68 61 72 73 65 74 20 3d 20 77 65 62 4e 61 76 2e 64 6f 63 75 6d 65 | .........charset.=.webNav.docume |
56bc0 | 6e 74 2e 63 68 61 72 61 63 74 65 72 53 65 74 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 63 | nt.characterSet;.......}.......c |
56be0 | 61 74 63 68 20 28 65 29 20 7b 20 7d 0a 0a 20 20 20 20 20 20 69 66 20 28 61 53 68 6f 77 45 64 69 | atch.(e).{.}........if.(aShowEdi |
56c00 | 74 55 49 29 20 7b 0a 20 20 20 20 20 20 20 20 2f 2f 20 49 66 20 77 65 20 62 6f 6f 6b 6d 61 72 6b | tUI).{.........//.If.we.bookmark |
56c20 | 20 74 68 65 20 70 61 67 65 20 68 65 72 65 20 28 69 2e 65 2e 20 70 61 67 65 20 77 61 73 20 6e 6f | .the.page.here.(i.e..page.was.no |
56c40 | 74 20 22 73 74 61 72 72 65 64 22 20 61 6c 72 65 61 64 79 29 0a 20 20 20 20 20 20 20 20 2f 2f 20 | t."starred".already).........//. |
56c60 | 62 75 74 20 6f 70 65 6e 20 72 69 67 68 74 20 69 6e 74 6f 20 74 68 65 20 22 65 64 69 74 22 20 73 | but.open.right.into.the."edit".s |
56c80 | 74 61 74 65 2c 20 73 74 61 72 74 20 62 61 74 63 68 69 6e 67 20 68 65 72 65 2c 20 73 6f 0a 20 20 | tate,.start.batching.here,.so... |
56ca0 | 20 20 20 20 20 20 2f 2f 20 22 43 61 6e 63 65 6c 22 20 69 6e 20 74 68 61 74 20 73 74 61 74 65 20 | ......//."Cancel".in.that.state. |
56cc0 | 72 65 6d 6f 76 65 73 20 74 68 65 20 62 6f 6f 6b 6d 61 72 6b 2e 0a 20 20 20 20 20 20 20 20 53 74 | removes.the.bookmark..........St |
56ce0 | 61 72 55 49 2e 62 65 67 69 6e 42 61 74 63 68 28 29 3b 0a 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 | arUI.beginBatch();.......}...... |
56d00 | 20 20 76 61 72 20 70 61 72 65 6e 74 20 3d 20 61 50 61 72 65 6e 74 20 21 3d 20 75 6e 64 65 66 69 | ..var.parent.=.aParent.!=.undefi |
56d20 | 6e 65 64 20 3f 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 50 61 72 65 6e 74 | ned.?....................aParent |
56d40 | 20 3a 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 75 6e 66 69 6c 65 64 42 6f 6f 6b 6d 61 72 6b 73 46 | .:.PlacesUtils.unfiledBookmarksF |
56d60 | 6f 6c 64 65 72 49 64 3b 0a 20 20 20 20 20 20 76 61 72 20 64 65 73 63 41 6e 6e 6f 20 3d 20 7b 20 | olderId;.......var.descAnno.=.{. |
56d80 | 6e 61 6d 65 3a 20 44 45 53 43 52 49 50 54 49 4f 4e 5f 41 4e 4e 4f 2c 20 76 61 6c 75 65 3a 20 64 | name:.DESCRIPTION_ANNO,.value:.d |
56da0 | 65 73 63 72 69 70 74 69 6f 6e 20 7d 3b 0a 20 20 20 20 20 20 76 61 72 20 74 78 6e 20 3d 20 50 6c | escription.};.......var.txn.=.Pl |
56dc0 | 61 63 65 73 55 49 55 74 69 6c 73 2e 70 74 6d 2e 63 72 65 61 74 65 49 74 65 6d 28 75 72 69 2c 20 | acesUIUtils.ptm.createItem(uri,. |
56de0 | 70 61 72 65 6e 74 2c 20 2d 31 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | parent,.-1,..................... |
56e00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 69 74 6c 65 2c 20 | .........................title,. |
56e20 | 6e 75 6c 6c 2c 20 5b 64 65 73 63 41 6e 6e 6f 5d 29 3b 0a 20 20 20 20 20 20 50 6c 61 63 65 73 55 | null,.[descAnno]);.......PlacesU |
56e40 | 49 55 74 69 6c 73 2e 70 74 6d 2e 64 6f 54 72 61 6e 73 61 63 74 69 6f 6e 28 74 78 6e 29 3b 0a 20 | IUtils.ptm.doTransaction(txn);.. |
56e60 | 20 20 20 20 20 2f 2f 20 53 65 74 20 74 68 65 20 63 68 61 72 61 63 74 65 72 2d 73 65 74 0a 20 20 | .....//.Set.the.character-set... |
56e80 | 20 20 20 20 69 66 20 28 63 68 61 72 73 65 74 29 0a 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 55 | ....if.(charset).........PlacesU |
56ea0 | 74 69 6c 73 2e 68 69 73 74 6f 72 79 2e 73 65 74 43 68 61 72 73 65 74 46 6f 72 55 52 49 28 75 72 | tils.history.setCharsetForURI(ur |
56ec0 | 69 2c 20 63 68 61 72 73 65 74 29 3b 0a 20 20 20 20 20 20 69 74 65 6d 49 64 20 3d 20 50 6c 61 63 | i,.charset);.......itemId.=.Plac |
56ee0 | 65 73 55 74 69 6c 73 2e 67 65 74 4d 6f 73 74 52 65 63 65 6e 74 42 6f 6f 6b 6d 61 72 6b 46 6f 72 | esUtils.getMostRecentBookmarkFor |
56f00 | 55 52 49 28 75 72 69 29 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 2f 2f 20 52 65 76 65 72 74 20 74 | URI(uri);.....}......//.Revert.t |
56f20 | 68 65 20 63 6f 6e 74 65 6e 74 73 20 6f 66 20 74 68 65 20 6c 6f 63 61 74 69 6f 6e 20 62 61 72 0a | he.contents.of.the.location.bar. |
56f40 | 20 20 20 20 69 66 20 28 67 55 52 4c 42 61 72 29 0a 20 20 20 20 20 20 67 55 52 4c 42 61 72 2e 68 | ....if.(gURLBar).......gURLBar.h |
56f60 | 61 6e 64 6c 65 52 65 76 65 72 74 28 29 3b 0a 0a 20 20 20 20 2f 2f 20 64 6f 63 6b 20 74 68 65 20 | andleRevert();......//.dock.the. |
56f80 | 70 61 6e 65 6c 20 74 6f 20 74 68 65 20 73 74 61 72 20 69 63 6f 6e 20 77 68 65 6e 20 70 6f 73 73 | panel.to.the.star.icon.when.poss |
56fa0 | 69 62 6c 65 2c 20 6f 74 68 65 72 77 69 73 65 20 64 6f 63 6b 0a 20 20 20 20 2f 2f 20 69 74 20 74 | ible,.otherwise.dock.....//.it.t |
56fc0 | 6f 20 74 68 65 20 63 6f 6e 74 65 6e 74 20 61 72 65 61 0a 20 20 20 20 69 66 20 28 61 42 72 6f 77 | o.the.content.area.....if.(aBrow |
56fe0 | 73 65 72 2e 63 6f 6e 74 65 6e 74 57 69 6e 64 6f 77 20 3d 3d 20 77 69 6e 64 6f 77 2e 63 6f 6e 74 | ser.contentWindow.==.window.cont |
57000 | 65 6e 74 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 73 74 61 72 49 63 6f 6e 20 3d 20 61 42 72 6f | ent).{.......var.starIcon.=.aBro |
57020 | 77 73 65 72 2e 6f 77 6e 65 72 44 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 | wser.ownerDocument.getElementByI |
57040 | 64 28 22 73 74 61 72 2d 62 75 74 74 6f 6e 22 29 3b 0a 20 20 20 20 20 20 69 66 20 28 73 74 61 72 | d("star-button");.......if.(star |
57060 | 49 63 6f 6e 20 26 26 20 69 73 45 6c 65 6d 65 6e 74 56 69 73 69 62 6c 65 28 73 74 61 72 49 63 6f | Icon.&&.isElementVisible(starIco |
57080 | 6e 29 29 20 7b 0a 20 20 20 20 20 20 20 20 2f 2f 20 4d 61 6b 65 20 73 75 72 65 20 74 68 65 20 62 | n)).{.........//.Make.sure.the.b |
570a0 | 6f 6f 6b 6d 61 72 6b 20 70 72 6f 70 65 72 74 69 65 73 20 64 69 61 6c 6f 67 20 68 61 6e 67 73 20 | ookmark.properties.dialog.hangs. |
570c0 | 74 6f 77 61 72 64 20 74 68 65 20 6d 69 64 64 6c 65 20 6f 66 0a 20 20 20 20 20 20 20 20 2f 2f 20 | toward.the.middle.of.........//. |
570e0 | 74 68 65 20 6c 6f 63 61 74 69 6f 6e 20 62 61 72 20 69 6e 20 52 54 4c 20 62 75 69 6c 64 73 0a 20 | the.location.bar.in.RTL.builds.. |
57100 | 20 20 20 20 20 20 20 76 61 72 20 70 6f 73 69 74 69 6f 6e 20 3d 20 22 61 66 74 65 72 5f 65 6e 64 | .......var.position.=."after_end |
57120 | 22 3b 0a 20 20 20 20 20 20 20 20 69 66 20 28 67 55 52 4c 42 61 72 2e 67 65 74 41 74 74 72 69 62 | ";.........if.(gURLBar.getAttrib |
57140 | 75 74 65 28 22 63 68 72 6f 6d 65 64 69 72 22 29 20 3d 3d 20 22 72 74 6c 22 29 0a 20 20 20 20 20 | ute("chromedir").==."rtl")...... |
57160 | 20 20 20 20 20 70 6f 73 69 74 69 6f 6e 20 3d 20 22 61 66 74 65 72 5f 73 74 61 72 74 22 3b 0a 20 | .....position.=."after_start";.. |
57180 | 20 20 20 20 20 20 20 69 66 20 28 61 53 68 6f 77 45 64 69 74 55 49 29 0a 20 20 20 20 20 20 20 20 | .......if.(aShowEditUI)......... |
571a0 | 20 20 53 74 61 72 55 49 2e 73 68 6f 77 45 64 69 74 42 6f 6f 6b 6d 61 72 6b 50 6f 70 75 70 28 69 | ..StarUI.showEditBookmarkPopup(i |
571c0 | 74 65 6d 49 64 2c 20 73 74 61 72 49 63 6f 6e 2c 20 70 6f 73 69 74 69 6f 6e 29 3b 0a 2f 2f 40 6c | temId,.starIcon,.position);.//@l |
571e0 | 69 6e 65 20 34 34 33 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 | ine.443."/builds/moz2_slave/linu |
57200 | 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 62 61 73 65 2f 63 6f 6e 74 65 | x_build/build/browser/base/conte |
57220 | 6e 74 2f 62 72 6f 77 73 65 72 2d 70 6c 61 63 65 73 2e 6a 73 22 0a 20 20 20 20 20 20 20 20 72 65 | nt/browser-places.js".........re |
57240 | 74 75 72 6e 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 0a 20 20 20 20 53 74 61 72 55 49 2e | turn;.......}.....}......StarUI. |
57260 | 73 68 6f 77 45 64 69 74 42 6f 6f 6b 6d 61 72 6b 50 6f 70 75 70 28 69 74 65 6d 49 64 2c 20 61 42 | showEditBookmarkPopup(itemId,.aB |
57280 | 72 6f 77 73 65 72 2c 20 22 6f 76 65 72 6c 61 70 22 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a | rowser,."overlap");...},..../**. |
572a0 | 20 20 20 2a 20 41 64 64 73 20 61 20 62 6f 6f 6b 6d 61 72 6b 20 74 6f 20 74 68 65 20 70 61 67 65 | ...*.Adds.a.bookmark.to.the.page |
572c0 | 20 6c 6f 61 64 65 64 20 69 6e 20 74 68 65 20 63 75 72 72 65 6e 74 20 74 61 62 2e 20 0a 20 20 20 | .loaded.in.the.current.tab...... |
572e0 | 2a 2f 0a 20 20 62 6f 6f 6b 6d 61 72 6b 43 75 72 72 65 6e 74 50 61 67 65 3a 20 66 75 6e 63 74 69 | */...bookmarkCurrentPage:.functi |
57300 | 6f 6e 20 50 43 48 5f 62 6f 6f 6b 6d 61 72 6b 43 75 72 72 65 6e 74 50 61 67 65 28 61 53 68 6f 77 | on.PCH_bookmarkCurrentPage(aShow |
57320 | 45 64 69 74 55 49 2c 20 61 50 61 72 65 6e 74 29 20 7b 0a 20 20 20 20 74 68 69 73 2e 62 6f 6f 6b | EditUI,.aParent).{.....this.book |
57340 | 6d 61 72 6b 50 61 67 65 28 67 65 74 42 72 6f 77 73 65 72 28 29 2e 73 65 6c 65 63 74 65 64 42 72 | markPage(getBrowser().selectedBr |
57360 | 6f 77 73 65 72 2c 20 61 50 61 72 65 6e 74 2c 20 61 53 68 6f 77 45 64 69 74 55 49 29 3b 0a 20 20 | owser,.aParent,.aShowEditUI);... |
57380 | 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 41 64 64 73 20 61 20 62 6f 6f 6b 6d 61 72 6b 20 74 | },..../**....*.Adds.a.bookmark.t |
573a0 | 6f 20 74 68 65 20 70 61 67 65 20 74 61 72 67 65 74 65 64 20 62 79 20 61 20 6c 69 6e 6b 2e 0a 20 | o.the.page.targeted.by.a.link... |
573c0 | 20 20 2a 20 40 70 61 72 61 6d 20 61 50 61 72 65 6e 74 0a 20 20 20 2a 20 20 20 20 20 20 20 20 54 | ..*.@param.aParent....*........T |
573e0 | 68 65 20 66 6f 6c 64 65 72 20 69 6e 20 77 68 69 63 68 20 74 6f 20 63 72 65 61 74 65 20 61 20 6e | he.folder.in.which.to.create.a.n |
57400 | 65 77 20 62 6f 6f 6b 6d 61 72 6b 20 69 66 20 61 55 52 4c 20 69 73 6e 27 74 0a 20 20 20 2a 20 20 | ew.bookmark.if.aURL.isn't....*.. |
57420 | 20 20 20 20 20 20 62 6f 6f 6b 6d 61 72 6b 65 64 2e 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 61 55 | ......bookmarked.....*.@param.aU |
57440 | 52 4c 20 28 73 74 72 69 6e 67 29 0a 20 20 20 2a 20 20 20 20 20 20 20 20 74 68 65 20 61 64 64 72 | RL.(string)....*........the.addr |
57460 | 65 73 73 20 6f 66 20 74 68 65 20 6c 69 6e 6b 20 74 61 72 67 65 74 0a 20 20 20 2a 20 40 70 61 72 | ess.of.the.link.target....*.@par |
57480 | 61 6d 20 61 54 69 74 6c 65 0a 20 20 20 2a 20 20 20 20 20 20 20 20 54 68 65 20 6c 69 6e 6b 20 74 | am.aTitle....*........The.link.t |
574a0 | 65 78 74 0a 20 20 20 2a 2f 0a 20 20 62 6f 6f 6b 6d 61 72 6b 4c 69 6e 6b 3a 20 66 75 6e 63 74 69 | ext....*/...bookmarkLink:.functi |
574c0 | 6f 6e 20 50 43 48 5f 62 6f 6f 6b 6d 61 72 6b 4c 69 6e 6b 28 61 50 61 72 65 6e 74 2c 20 61 55 52 | on.PCH_bookmarkLink(aParent,.aUR |
574e0 | 4c 2c 20 61 54 69 74 6c 65 29 20 7b 0a 20 20 20 20 76 61 72 20 6c 69 6e 6b 55 52 49 20 3d 20 6d | L,.aTitle).{.....var.linkURI.=.m |
57500 | 61 6b 65 55 52 49 28 61 55 52 4c 29 3b 0a 20 20 20 20 76 61 72 20 69 74 65 6d 49 64 20 3d 20 50 | akeURI(aURL);.....var.itemId.=.P |
57520 | 6c 61 63 65 73 55 74 69 6c 73 2e 67 65 74 4d 6f 73 74 52 65 63 65 6e 74 42 6f 6f 6b 6d 61 72 6b | lacesUtils.getMostRecentBookmark |
57540 | 46 6f 72 55 52 49 28 6c 69 6e 6b 55 52 49 29 3b 0a 20 20 20 20 69 66 20 28 69 74 65 6d 49 64 20 | ForURI(linkURI);.....if.(itemId. |
57560 | 3d 3d 20 2d 31 29 0a 20 20 20 20 20 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 73 68 6f 77 4d | ==.-1).......PlacesUIUtils.showM |
57580 | 69 6e 69 6d 61 6c 41 64 64 42 6f 6f 6b 6d 61 72 6b 55 49 28 6c 69 6e 6b 55 52 49 2c 20 61 54 69 | inimalAddBookmarkUI(linkURI,.aTi |
575a0 | 74 6c 65 29 3b 0a 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 50 6c 61 63 65 73 55 49 55 | tle);.....else.{.......PlacesUIU |
575c0 | 74 69 6c 73 2e 73 68 6f 77 49 74 65 6d 50 72 6f 70 65 72 74 69 65 73 28 69 74 65 6d 49 64 2c 0a | tils.showItemProperties(itemId,. |
575e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
57600 | 20 20 20 20 20 20 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 62 6f 6f 6b 6d 61 72 6b 73 2e 54 59 50 | .......PlacesUtils.bookmarks.TYP |
57620 | 45 5f 42 4f 4f 4b 4d 41 52 4b 29 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 | E_BOOKMARK);.....}...},..../**.. |
57640 | 20 20 2a 20 54 68 69 73 20 66 75 6e 63 74 69 6f 6e 20 72 65 74 75 72 6e 73 20 61 20 6c 69 73 74 | ..*.This.function.returns.a.list |
57660 | 20 6f 66 20 6e 73 49 55 52 49 20 6f 62 6a 65 63 74 73 20 63 68 61 72 61 63 74 65 72 69 7a 69 6e | .of.nsIURI.objects.characterizin |
57680 | 67 20 74 68 65 0a 20 20 20 2a 20 74 61 62 73 20 63 75 72 72 65 6e 74 6c 79 20 6f 70 65 6e 20 69 | g.the....*.tabs.currently.open.i |
576a0 | 6e 20 74 68 65 20 62 72 6f 77 73 65 72 2e 20 20 54 68 65 20 55 52 49 73 20 77 69 6c 6c 20 61 70 | n.the.browser...The.URIs.will.ap |
576c0 | 70 65 61 72 20 69 6e 20 74 68 65 0a 20 20 20 2a 20 6c 69 73 74 20 69 6e 20 74 68 65 20 6f 72 64 | pear.in.the....*.list.in.the.ord |
576e0 | 65 72 20 69 6e 20 77 68 69 63 68 20 74 68 65 69 72 20 63 6f 72 72 65 73 70 6f 6e 64 69 6e 67 20 | er.in.which.their.corresponding. |
57700 | 74 61 62 73 20 61 70 70 65 61 72 65 64 2e 20 20 48 6f 77 65 76 65 72 2c 0a 20 20 20 2a 20 6f 6e | tabs.appeared...However,....*.on |
57720 | 6c 79 20 74 68 65 20 66 69 72 73 74 20 69 6e 73 74 61 6e 63 65 20 6f 66 20 65 61 63 68 20 55 52 | ly.the.first.instance.of.each.UR |
57740 | 49 20 77 69 6c 6c 20 62 65 20 72 65 74 75 72 6e 65 64 2e 0a 20 20 20 2a 0a 20 20 20 2a 20 40 72 | I.will.be.returned.....*....*.@r |
57760 | 65 74 75 72 6e 73 20 61 20 6c 69 73 74 20 6f 66 20 6e 73 49 55 52 49 20 6f 62 6a 65 63 74 73 20 | eturns.a.list.of.nsIURI.objects. |
57780 | 72 65 70 72 65 73 65 6e 74 69 6e 67 20 75 6e 69 71 75 65 20 6c 6f 63 61 74 69 6f 6e 73 20 6f 70 | representing.unique.locations.op |
577a0 | 65 6e 0a 20 20 20 2a 2f 0a 20 20 5f 67 65 74 55 6e 69 71 75 65 54 61 62 49 6e 66 6f 3a 20 66 75 | en....*/..._getUniqueTabInfo:.fu |
577c0 | 6e 63 74 69 6f 6e 20 42 41 54 43 5f 5f 67 65 74 55 6e 69 71 75 65 54 61 62 49 6e 66 6f 28 29 20 | nction.BATC__getUniqueTabInfo(). |
577e0 | 7b 0a 20 20 20 20 76 61 72 20 74 61 62 4c 69 73 74 20 3d 20 5b 5d 3b 0a 20 20 20 20 76 61 72 20 | {.....var.tabList.=.[];.....var. |
57800 | 73 65 65 6e 55 52 49 73 20 3d 20 5b 5d 3b 0a 0a 20 20 20 20 76 61 72 20 62 72 6f 77 73 65 72 73 | seenURIs.=.[];......var.browsers |
57820 | 20 3d 20 67 65 74 42 72 6f 77 73 65 72 28 29 2e 62 72 6f 77 73 65 72 73 3b 0a 20 20 20 20 66 6f | .=.getBrowser().browsers;.....fo |
57840 | 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 62 72 6f 77 73 65 72 73 2e 6c 65 6e 67 74 | r.(var.i.=.0;.i.<.browsers.lengt |
57860 | 68 3b 20 2b 2b 69 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 77 65 62 4e 61 76 20 3d 20 62 72 6f | h;.++i).{.......var.webNav.=.bro |
57880 | 77 73 65 72 73 5b 69 5d 2e 77 65 62 4e 61 76 69 67 61 74 69 6f 6e 3b 0a 20 20 20 20 20 20 76 61 | wsers[i].webNavigation;.......va |
578a0 | 72 20 75 72 69 20 3d 20 77 65 62 4e 61 76 2e 63 75 72 72 65 6e 74 55 52 49 3b 0a 0a 20 20 20 20 | r.uri.=.webNav.currentURI;...... |
578c0 | 20 20 2f 2f 20 73 6b 69 70 20 72 65 64 75 6e 64 61 6e 74 20 65 6e 74 72 69 65 73 0a 20 20 20 20 | ..//.skip.redundant.entries..... |
578e0 | 20 20 69 66 20 28 75 72 69 2e 73 70 65 63 20 69 6e 20 73 65 65 6e 55 52 49 73 29 0a 20 20 20 20 | ..if.(uri.spec.in.seenURIs)..... |
57900 | 20 20 20 20 63 6f 6e 74 69 6e 75 65 3b 0a 0a 20 20 20 20 20 20 2f 2f 20 61 64 64 20 74 6f 20 74 | ....continue;........//.add.to.t |
57920 | 68 65 20 73 65 74 20 6f 66 20 73 65 65 6e 20 55 52 49 73 0a 20 20 20 20 20 20 73 65 65 6e 55 52 | he.set.of.seen.URIs.......seenUR |
57940 | 49 73 5b 75 72 69 2e 73 70 65 63 5d 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 74 61 62 4c 69 | Is[uri.spec].=.true;.......tabLi |
57960 | 73 74 2e 70 75 73 68 28 75 72 69 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 72 65 74 75 72 6e 20 74 | st.push(uri);.....}.....return.t |
57980 | 61 62 4c 69 73 74 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 41 64 64 73 20 61 20 | abList;...},..../**....*.Adds.a. |
579a0 | 66 6f 6c 64 65 72 20 77 69 74 68 20 62 6f 6f 6b 6d 61 72 6b 73 20 74 6f 20 61 6c 6c 20 6f 66 20 | folder.with.bookmarks.to.all.of. |
579c0 | 74 68 65 20 63 75 72 72 65 6e 74 6c 79 20 6f 70 65 6e 20 74 61 62 73 20 69 6e 20 74 68 69 73 20 | the.currently.open.tabs.in.this. |
579e0 | 0a 20 20 20 2a 20 77 69 6e 64 6f 77 2e 0a 20 20 20 2a 2f 0a 20 20 62 6f 6f 6b 6d 61 72 6b 43 75 | ....*.window.....*/...bookmarkCu |
57a00 | 72 72 65 6e 74 50 61 67 65 73 3a 20 66 75 6e 63 74 69 6f 6e 20 50 43 48 5f 62 6f 6f 6b 6d 61 72 | rrentPages:.function.PCH_bookmar |
57a20 | 6b 43 75 72 72 65 6e 74 50 61 67 65 73 28 29 20 7b 0a 20 20 20 20 76 61 72 20 74 61 62 55 52 49 | kCurrentPages().{.....var.tabURI |
57a40 | 73 20 3d 20 74 68 69 73 2e 5f 67 65 74 55 6e 69 71 75 65 54 61 62 49 6e 66 6f 28 29 3b 0a 20 20 | s.=.this._getUniqueTabInfo();... |
57a60 | 20 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 73 68 6f 77 4d 69 6e 69 6d 61 6c 41 64 64 4d 75 | ..PlacesUIUtils.showMinimalAddMu |
57a80 | 6c 74 69 42 6f 6f 6b 6d 61 72 6b 55 49 28 74 61 62 55 52 49 73 29 3b 0a 20 20 7d 2c 0a 0a 20 20 | ltiBookmarkUI(tabURIs);...},.... |
57aa0 | 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 41 64 64 73 20 61 20 4c 69 76 65 20 42 6f 6f 6b 6d 61 72 6b | .../**....*.Adds.a.Live.Bookmark |
57ac0 | 20 74 6f 20 61 20 66 65 65 64 20 61 73 73 6f 63 69 61 74 65 64 20 77 69 74 68 20 74 68 65 20 63 | .to.a.feed.associated.with.the.c |
57ae0 | 75 72 72 65 6e 74 20 70 61 67 65 2e 20 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 20 20 20 20 75 72 | urrent.page......*.@param.....ur |
57b00 | 6c 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 20 20 54 68 65 20 6e 73 49 55 52 49 20 6f 66 20 | l....*............The.nsIURI.of. |
57b20 | 74 68 65 20 70 61 67 65 20 74 68 65 20 66 65 65 64 20 77 61 73 20 61 74 74 61 63 68 65 64 20 74 | the.page.the.feed.was.attached.t |
57b40 | 6f 0a 20 20 20 2a 20 40 74 69 74 6c 65 20 20 20 20 20 74 69 74 6c 65 0a 20 20 20 2a 20 20 20 20 | o....*.@title.....title....*.... |
57b60 | 20 20 20 20 20 20 20 20 54 68 65 20 74 69 74 6c 65 20 6f 66 20 74 68 65 20 66 65 65 64 2e 20 4f | ........The.title.of.the.feed..O |
57b80 | 70 74 69 6f 6e 61 6c 2e 0a 20 20 20 2a 20 40 73 75 62 74 69 74 6c 65 20 20 73 75 62 74 69 74 6c | ptional.....*.@subtitle..subtitl |
57ba0 | 65 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 20 20 41 20 73 68 6f 72 74 20 64 65 73 63 72 69 | e....*............A.short.descri |
57bc0 | 70 74 69 6f 6e 20 6f 66 20 74 68 65 20 66 65 65 64 2e 20 4f 70 74 69 6f 6e 61 6c 2e 0a 20 20 20 | ption.of.the.feed..Optional..... |
57be0 | 2a 2f 0a 20 20 61 64 64 4c 69 76 65 42 6f 6f 6b 6d 61 72 6b 3a 20 66 75 6e 63 74 69 6f 6e 20 50 | */...addLiveBookmark:.function.P |
57c00 | 43 48 5f 61 64 64 4c 69 76 65 42 6f 6f 6b 6d 61 72 6b 28 75 72 6c 2c 20 66 65 65 64 54 69 74 6c | CH_addLiveBookmark(url,.feedTitl |
57c20 | 65 2c 20 66 65 65 64 53 75 62 74 69 74 6c 65 29 20 7b 0a 20 20 20 20 76 61 72 20 69 6f 73 20 3d | e,.feedSubtitle).{.....var.ios.= |
57c40 | 20 0a 20 20 20 20 20 20 20 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6e 65 74 77 6f | ..........Cc["@mozilla.org/netwo |
57c60 | 72 6b 2f 69 6f 2d 73 65 72 76 69 63 65 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 67 65 74 53 65 | rk/io-service;1"]..........getSe |
57c80 | 72 76 69 63 65 28 43 69 2e 6e 73 49 49 4f 53 65 72 76 69 63 65 29 3b 0a 20 20 20 20 76 61 72 20 | rvice(Ci.nsIIOService);.....var. |
57ca0 | 66 65 65 64 55 52 49 20 3d 20 69 6f 73 2e 6e 65 77 55 52 49 28 75 72 6c 2c 20 6e 75 6c 6c 2c 20 | feedURI.=.ios.newURI(url,.null,. |
57cc0 | 6e 75 6c 6c 29 3b 0a 20 20 20 20 0a 20 20 20 20 76 61 72 20 64 6f 63 20 3d 20 67 42 72 6f 77 73 | null);..........var.doc.=.gBrows |
57ce0 | 65 72 2e 63 6f 6e 74 65 6e 74 44 6f 63 75 6d 65 6e 74 3b 0a 20 20 20 20 76 61 72 20 74 69 74 6c | er.contentDocument;.....var.titl |
57d00 | 65 20 3d 20 28 61 72 67 75 6d 65 6e 74 73 2e 6c 65 6e 67 74 68 20 3e 20 31 29 20 3f 20 66 65 65 | e.=.(arguments.length.>.1).?.fee |
57d20 | 64 54 69 74 6c 65 20 3a 20 64 6f 63 2e 74 69 74 6c 65 3b 0a 20 0a 20 20 20 20 76 61 72 20 64 65 | dTitle.:.doc.title;.......var.de |
57d40 | 73 63 72 69 70 74 69 6f 6e 3b 0a 20 20 20 20 69 66 20 28 61 72 67 75 6d 65 6e 74 73 2e 6c 65 6e | scription;.....if.(arguments.len |
57d60 | 67 74 68 20 3e 20 32 29 0a 20 20 20 20 20 20 64 65 73 63 72 69 70 74 69 6f 6e 20 3d 20 66 65 65 | gth.>.2).......description.=.fee |
57d80 | 64 53 75 62 74 69 74 6c 65 3b 0a 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 64 65 73 63 72 69 | dSubtitle;.....else.......descri |
57da0 | 70 74 69 6f 6e 20 3d 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 67 65 74 44 65 73 63 72 69 70 | ption.=.PlacesUIUtils.getDescrip |
57dc0 | 74 69 6f 6e 46 72 6f 6d 44 6f 63 75 6d 65 6e 74 28 64 6f 63 29 3b 0a 0a 20 20 20 20 76 61 72 20 | tionFromDocument(doc);......var. |
57de0 | 74 6f 6f 6c 62 61 72 49 50 20 3d 0a 20 20 20 20 20 20 6e 65 77 20 49 6e 73 65 72 74 69 6f 6e 50 | toolbarIP.=.......new.InsertionP |
57e00 | 6f 69 6e 74 28 50 6c 61 63 65 73 55 74 69 6c 73 2e 62 6f 6f 6b 6d 61 72 6b 73 2e 74 6f 6f 6c 62 | oint(PlacesUtils.bookmarks.toolb |
57e20 | 61 72 46 6f 6c 64 65 72 2c 20 2d 31 29 3b 0a 20 20 20 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 | arFolder,.-1);.....PlacesUIUtils |
57e40 | 2e 73 68 6f 77 4d 69 6e 69 6d 61 6c 41 64 64 4c 69 76 65 6d 61 72 6b 55 49 28 66 65 65 64 55 52 | .showMinimalAddLivemarkUI(feedUR |
57e60 | 49 2c 20 67 42 72 6f 77 73 65 72 2e 63 75 72 72 65 6e 74 55 52 49 2c 0a 20 20 20 20 20 20 20 20 | I,.gBrowser.currentURI,......... |
57e80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
57ea0 | 20 20 20 74 69 74 6c 65 2c 20 64 65 73 63 72 69 70 74 69 6f 6e 2c 20 74 6f 6f 6c 62 61 72 49 50 | ...title,.description,.toolbarIP |
57ec0 | 2c 20 74 72 75 65 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 4f 70 65 6e 73 20 | ,.true);...},..../**....*.Opens. |
57ee0 | 74 68 65 20 50 6c 61 63 65 73 20 4f 72 67 61 6e 69 7a 65 72 2e 20 0a 20 20 20 2a 20 40 70 61 72 | the.Places.Organizer......*.@par |
57f00 | 61 6d 20 20 20 61 4c 65 66 74 50 61 6e 65 52 6f 6f 74 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 | am...aLeftPaneRoot....*......... |
57f20 | 20 54 68 65 20 71 75 65 72 79 20 74 6f 20 73 65 6c 65 63 74 20 69 6e 20 74 68 65 20 6f 72 67 61 | .The.query.to.select.in.the.orga |
57f40 | 6e 69 7a 65 72 20 77 69 6e 64 6f 77 20 2d 20 6f 70 74 69 6f 6e 73 0a 20 20 20 2a 20 20 20 20 20 | nizer.window.-.options....*..... |
57f60 | 20 20 20 20 20 61 72 65 3a 20 48 69 73 74 6f 72 79 2c 20 41 6c 6c 42 6f 6f 6b 6d 61 72 6b 73 2c | .....are:.History,.AllBookmarks, |
57f80 | 20 42 6f 6f 6b 6d 61 72 6b 73 4d 65 6e 75 2c 20 42 6f 6f 6b 6d 61 72 6b 73 54 6f 6f 6c 62 61 72 | .BookmarksMenu,.BookmarksToolbar |
57fa0 | 2c 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 55 6e 66 69 6c 65 64 42 6f 6f 6b 6d 61 72 6b 73 | ,....*..........UnfiledBookmarks |
57fc0 | 20 61 6e 64 20 54 61 67 73 2e 0a 20 20 20 2a 2f 0a 20 20 73 68 6f 77 50 6c 61 63 65 73 4f 72 67 | .and.Tags.....*/...showPlacesOrg |
57fe0 | 61 6e 69 7a 65 72 3a 20 66 75 6e 63 74 69 6f 6e 20 50 43 48 5f 73 68 6f 77 50 6c 61 63 65 73 4f | anizer:.function.PCH_showPlacesO |
58000 | 72 67 61 6e 69 7a 65 72 28 61 4c 65 66 74 50 61 6e 65 52 6f 6f 74 29 20 7b 0a 20 20 20 20 76 61 | rganizer(aLeftPaneRoot).{.....va |
58020 | 72 20 77 6d 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 61 70 70 73 68 65 6c 6c | r.wm.=.Cc["@mozilla.org/appshell |
58040 | 2f 77 69 6e 64 6f 77 2d 6d 65 64 69 61 74 6f 72 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 | /window-mediator;1"]............ |
58060 | 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 57 69 6e 64 6f 77 4d 65 64 69 61 74 | ...getService(Ci.nsIWindowMediat |
58080 | 6f 72 29 3b 0a 20 20 20 20 76 61 72 20 6f 72 67 61 6e 69 7a 65 72 20 3d 20 77 6d 2e 67 65 74 4d | or);.....var.organizer.=.wm.getM |
580a0 | 6f 73 74 52 65 63 65 6e 74 57 69 6e 64 6f 77 28 22 50 6c 61 63 65 73 3a 4f 72 67 61 6e 69 7a 65 | ostRecentWindow("Places:Organize |
580c0 | 72 22 29 3b 0a 20 20 20 20 69 66 20 28 21 6f 72 67 61 6e 69 7a 65 72 29 20 7b 0a 20 20 20 20 20 | r");.....if.(!organizer).{...... |
580e0 | 20 2f 2f 20 4e 6f 20 63 75 72 72 65 6e 74 6c 79 20 6f 70 65 6e 20 70 6c 61 63 65 73 20 77 69 6e | .//.No.currently.open.places.win |
58100 | 64 6f 77 2c 20 73 6f 20 6f 70 65 6e 20 6f 6e 65 20 77 69 74 68 20 74 68 65 20 73 70 65 63 69 66 | dow,.so.open.one.with.the.specif |
58120 | 69 65 64 20 6d 6f 64 65 2e 0a 20 20 20 20 20 20 6f 70 65 6e 44 69 61 6c 6f 67 28 22 63 68 72 6f | ied.mode........openDialog("chro |
58140 | 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 70 6c 61 63 65 73 2f 70 6c 61 63 | me://browser/content/places/plac |
58160 | 65 73 2e 78 75 6c 22 2c 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 22 2c 20 22 | es.xul",..................."",." |
58180 | 63 68 72 6f 6d 65 2c 74 6f 6f 6c 62 61 72 3d 79 65 73 2c 64 69 61 6c 6f 67 3d 6e 6f 2c 72 65 73 | chrome,toolbar=yes,dialog=no,res |
581a0 | 69 7a 61 62 6c 65 22 2c 20 61 4c 65 66 74 50 61 6e 65 52 6f 6f 74 29 3b 0a 20 20 20 20 7d 0a 20 | izable",.aLeftPaneRoot);.....}.. |
581c0 | 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 6f 72 67 61 6e 69 7a 65 72 2e 50 6c 61 63 65 73 | ...else.{.......organizer.Places |
581e0 | 4f 72 67 61 6e 69 7a 65 72 2e 73 65 6c 65 63 74 4c 65 66 74 50 61 6e 65 51 75 65 72 79 28 61 4c | Organizer.selectLeftPaneQuery(aL |
58200 | 65 66 74 50 61 6e 65 52 6f 6f 74 29 3b 0a 20 20 20 20 20 20 6f 72 67 61 6e 69 7a 65 72 2e 66 6f | eftPaneRoot);.......organizer.fo |
58220 | 63 75 73 28 29 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 64 65 6c 65 74 65 42 75 74 74 6f | cus();.....}...},....deleteButto |
58240 | 6e 4f 6e 43 6f 6d 6d 61 6e 64 3a 20 66 75 6e 63 74 69 6f 6e 20 50 43 48 5f 64 65 6c 65 74 65 42 | nOnCommand:.function.PCH_deleteB |
58260 | 75 74 74 6f 6e 43 6f 6d 6d 61 6e 64 28 29 20 7b 0a 20 20 20 20 50 6c 61 63 65 73 55 74 69 6c 73 | uttonCommand().{.....PlacesUtils |
58280 | 2e 62 6f 6f 6b 6d 61 72 6b 73 2e 72 65 6d 6f 76 65 49 74 65 6d 28 67 45 64 69 74 49 74 65 6d 4f | .bookmarks.removeItem(gEditItemO |
582a0 | 76 65 72 6c 61 79 2e 69 74 65 6d 49 64 29 3b 0a 0a 20 20 20 20 2f 2f 20 72 65 6d 6f 76 65 20 61 | verlay.itemId);......//.remove.a |
582c0 | 6c 6c 20 74 61 67 73 20 66 6f 72 20 74 68 65 20 61 73 73 6f 63 69 61 74 65 64 20 75 72 6c 0a 20 | ll.tags.for.the.associated.url.. |
582e0 | 20 20 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 74 61 67 67 69 6e 67 2e 75 6e 74 61 67 55 52 49 28 | ...PlacesUtils.tagging.untagURI( |
58300 | 67 45 64 69 74 49 74 65 6d 4f 76 65 72 6c 61 79 2e 5f 75 72 69 2c 20 6e 75 6c 6c 29 3b 0a 0a 20 | gEditItemOverlay._uri,.null);... |
58320 | 20 20 20 74 68 69 73 2e 70 61 6e 65 6c 2e 68 69 64 65 50 6f 70 75 70 28 29 3b 0a 20 20 7d 0a 7d | ...this.panel.hidePopup();...}.} |
58340 | 3b 0a 0a 2f 2f 20 46 75 6e 63 74 69 6f 6e 73 20 66 6f 72 20 74 68 65 20 68 69 73 74 6f 72 79 20 | ;..//.Functions.for.the.history. |
58360 | 6d 65 6e 75 2e 0a 76 61 72 20 48 69 73 74 6f 72 79 4d 65 6e 75 20 3d 20 7b 0a 20 20 67 65 74 20 | menu..var.HistoryMenu.=.{...get. |
58380 | 5f 73 73 28 29 20 7b 0a 20 20 20 20 64 65 6c 65 74 65 20 74 68 69 73 2e 5f 73 73 3b 0a 20 20 20 | _ss().{.....delete.this._ss;.... |
583a0 | 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 73 73 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c | .return.this._ss.=.Components.cl |
583c0 | 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 62 72 6f 77 73 65 72 2f 73 65 73 73 | asses["@mozilla.org/browser/sess |
583e0 | 69 6f 6e 73 74 6f 72 65 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ionstore;1"].................... |
58400 | 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 | ....getService(Components.interf |
58420 | 61 63 65 73 2e 6e 73 49 53 65 73 73 69 6f 6e 53 74 6f 72 65 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f | aces.nsISessionStore);...},..../ |
58440 | 2a 2a 0a 20 20 20 2a 20 70 6f 70 75 70 73 68 6f 77 69 6e 67 20 68 61 6e 64 6c 65 72 20 66 6f 72 | **....*.popupshowing.handler.for |
58460 | 20 74 68 65 20 68 69 73 74 6f 72 79 20 6d 65 6e 75 2e 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 61 | .the.history.menu.....*.@param.a |
58480 | 4d 65 6e 75 50 6f 70 75 70 0a 20 20 20 2a 20 20 20 20 20 20 20 20 58 55 4c 4e 6f 64 65 20 66 6f | MenuPopup....*........XULNode.fo |
584a0 | 72 20 74 68 65 20 68 69 73 74 6f 72 79 20 6d 65 6e 75 70 6f 70 75 70 0a 20 20 20 2a 2f 0a 20 20 | r.the.history.menupopup....*/... |
584c0 | 6f 6e 50 6f 70 75 70 53 68 6f 77 69 6e 67 3a 20 66 75 6e 63 74 69 6f 6e 20 50 48 4d 5f 6f 6e 50 | onPopupShowing:.function.PHM_onP |
584e0 | 6f 70 75 70 53 68 6f 77 69 6e 67 28 61 4d 65 6e 75 50 6f 70 75 70 29 20 7b 0a 20 20 20 20 76 61 | opupShowing(aMenuPopup).{.....va |
58500 | 72 20 72 65 73 75 6c 74 4e 6f 64 65 20 3d 20 61 4d 65 6e 75 50 6f 70 75 70 2e 67 65 74 52 65 73 | r.resultNode.=.aMenuPopup.getRes |
58520 | 75 6c 74 4e 6f 64 65 28 29 3b 0a 20 20 20 20 76 61 72 20 77 61 73 4f 70 65 6e 20 3d 20 72 65 73 | ultNode();.....var.wasOpen.=.res |
58540 | 75 6c 74 4e 6f 64 65 2e 63 6f 6e 74 61 69 6e 65 72 4f 70 65 6e 3b 0a 20 20 20 20 72 65 73 75 6c | ultNode.containerOpen;.....resul |
58560 | 74 4e 6f 64 65 2e 63 6f 6e 74 61 69 6e 65 72 4f 70 65 6e 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 | tNode.containerOpen.=.true;..... |
58580 | 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 65 6e 64 48 69 73 74 | document.getElementById("endHist |
585a0 | 6f 72 79 53 65 70 61 72 61 74 6f 72 22 29 2e 68 69 64 64 65 6e 20 3d 0a 20 20 20 20 20 20 72 65 | orySeparator").hidden.=.......re |
585c0 | 73 75 6c 74 4e 6f 64 65 2e 63 68 69 6c 64 43 6f 75 6e 74 20 3d 3d 20 30 3b 0a 0a 20 20 20 20 69 | sultNode.childCount.==.0;......i |
585e0 | 66 20 28 21 77 61 73 4f 70 65 6e 29 0a 20 20 20 20 20 20 72 65 73 75 6c 74 4e 6f 64 65 2e 63 6f | f.(!wasOpen).......resultNode.co |
58600 | 6e 74 61 69 6e 65 72 4f 70 65 6e 20 3d 20 66 61 6c 73 65 3b 0a 0a 20 20 20 20 2f 2f 20 48 69 73 | ntainerOpen.=.false;......//.His |
58620 | 74 6f 72 79 4d 65 6e 75 2e 74 6f 67 67 6c 65 52 65 63 65 6e 74 6c 79 43 6c 6f 73 65 64 54 61 62 | toryMenu.toggleRecentlyClosedTab |
58640 | 73 2c 20 48 69 73 74 6f 72 79 4d 65 6e 75 2e 74 6f 67 67 6c 65 52 65 63 65 6e 74 6c 79 43 6c 6f | s,.HistoryMenu.toggleRecentlyClo |
58660 | 73 65 64 57 69 6e 64 6f 77 73 0a 20 20 20 20 2f 2f 20 61 72 65 20 64 65 66 69 6e 65 64 20 69 6e | sedWindows.....//.are.defined.in |
58680 | 20 62 72 6f 77 73 65 72 2e 6a 73 0a 20 20 20 20 74 68 69 73 2e 74 6f 67 67 6c 65 52 65 63 65 6e | .browser.js.....this.toggleRecen |
586a0 | 74 6c 79 43 6c 6f 73 65 64 54 61 62 73 28 29 3b 0a 20 20 20 20 74 68 69 73 2e 74 6f 67 67 6c 65 | tlyClosedTabs();.....this.toggle |
586c0 | 52 65 63 65 6e 74 6c 79 43 6c 6f 73 65 64 57 69 6e 64 6f 77 73 28 29 3b 0a 20 20 7d 0a 7d 3b 0a | RecentlyClosedWindows();...}.};. |
586e0 | 0a 2f 2a 2a 0a 20 2a 20 46 75 6e 63 74 69 6f 6e 73 20 66 6f 72 20 68 61 6e 64 6c 69 6e 67 20 65 | ./**..*.Functions.for.handling.e |
58700 | 76 65 6e 74 73 20 69 6e 20 74 68 65 20 42 6f 6f 6b 6d 61 72 6b 73 20 54 6f 6f 6c 62 61 72 20 61 | vents.in.the.Bookmarks.Toolbar.a |
58720 | 6e 64 20 6d 65 6e 75 2e 0a 20 2a 2f 0a 76 61 72 20 42 6f 6f 6b 6d 61 72 6b 73 45 76 65 6e 74 48 | nd.menu...*/.var.BookmarksEventH |
58740 | 61 6e 64 6c 65 72 20 3d 20 7b 20 20 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 48 61 6e 64 6c 65 72 20 | andler.=.{...../**....*.Handler. |
58760 | 66 6f 72 20 63 6c 69 63 6b 20 65 76 65 6e 74 20 66 6f 72 20 61 6e 20 69 74 65 6d 20 69 6e 20 74 | for.click.event.for.an.item.in.t |
58780 | 68 65 20 62 6f 6f 6b 6d 61 72 6b 73 20 74 6f 6f 6c 62 61 72 20 6f 72 20 6d 65 6e 75 2e 0a 20 20 | he.bookmarks.toolbar.or.menu.... |
587a0 | 20 2a 20 4d 65 6e 75 73 20 61 6e 64 20 73 75 62 6d 65 6e 75 73 20 66 72 6f 6d 20 74 68 65 20 66 | .*.Menus.and.submenus.from.the.f |
587c0 | 6f 6c 64 65 72 20 62 75 74 74 6f 6e 73 20 62 75 62 62 6c 65 20 75 70 20 74 6f 20 74 68 69 73 20 | older.buttons.bubble.up.to.this. |
587e0 | 68 61 6e 64 6c 65 72 2e 0a 20 20 20 2a 20 4c 65 66 74 2d 63 6c 69 63 6b 20 69 73 20 68 61 6e 64 | handler.....*.Left-click.is.hand |
58800 | 6c 65 64 20 69 6e 20 74 68 65 20 6f 6e 43 6f 6d 6d 61 6e 64 20 66 75 6e 63 74 69 6f 6e 2e 0a 20 | led.in.the.onCommand.function... |
58820 | 20 20 2a 20 57 68 65 6e 20 69 74 65 6d 73 20 61 72 65 20 6d 69 64 64 6c 65 2d 63 6c 69 63 6b 65 | ..*.When.items.are.middle-clicke |
58840 | 64 20 28 6f 72 20 63 6c 69 63 6b 65 64 20 77 69 74 68 20 6d 6f 64 69 66 69 65 72 29 2c 20 6f 70 | d.(or.clicked.with.modifier),.op |
58860 | 65 6e 20 69 6e 20 74 61 62 73 2e 0a 20 20 20 2a 20 49 66 20 74 68 65 20 63 6c 69 63 6b 20 63 61 | en.in.tabs.....*.If.the.click.ca |
58880 | 6d 65 20 74 68 72 6f 75 67 68 20 61 20 6d 65 6e 75 2c 20 63 6c 6f 73 65 20 74 68 65 20 6d 65 6e | me.through.a.menu,.close.the.men |
588a0 | 75 2e 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 61 45 76 65 6e 74 0a 20 20 20 2a 20 20 20 20 20 20 | u.....*.@param.aEvent....*...... |
588c0 | 20 20 44 4f 4d 45 76 65 6e 74 20 66 6f 72 20 74 68 65 20 63 6c 69 63 6b 0a 20 20 20 2a 2f 0a 20 | ..DOMEvent.for.the.click....*/.. |
588e0 | 20 6f 6e 43 6c 69 63 6b 3a 20 66 75 6e 63 74 69 6f 6e 20 42 54 5f 6f 6e 43 6c 69 63 6b 28 61 45 | .onClick:.function.BT_onClick(aE |
58900 | 76 65 6e 74 29 20 7b 0a 20 20 20 20 2f 2f 20 4f 6e 6c 79 20 68 61 6e 64 6c 65 20 6d 69 64 64 6c | vent).{.....//.Only.handle.middl |
58920 | 65 2d 63 6c 69 63 6b 20 6f 72 20 6c 65 66 74 2d 63 6c 69 63 6b 20 77 69 74 68 20 6d 6f 64 69 66 | e-click.or.left-click.with.modif |
58940 | 69 65 72 73 2e 0a 2f 2f 40 6c 69 6e 65 20 36 32 36 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f | iers..//@line.626."/builds/moz2_ |
58960 | 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f | slave/linux_build/build/browser/ |
58980 | 62 61 73 65 2f 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2d 70 6c 61 63 65 73 2e 6a 73 22 0a | base/content/browser-places.js". |
589a0 | 20 20 20 20 76 61 72 20 6d 6f 64 69 66 4b 65 79 20 3d 20 61 45 76 65 6e 74 2e 63 74 72 6c 4b 65 | ....var.modifKey.=.aEvent.ctrlKe |
589c0 | 79 20 7c 7c 20 61 45 76 65 6e 74 2e 73 68 69 66 74 4b 65 79 3b 0a 2f 2f 40 6c 69 6e 65 20 36 32 | y.||.aEvent.shiftKey;.//@line.62 |
589e0 | 38 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c | 8."/builds/moz2_slave/linux_buil |
58a00 | 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 62 61 73 65 2f 63 6f 6e 74 65 6e 74 2f 62 72 6f | d/build/browser/base/content/bro |
58a20 | 77 73 65 72 2d 70 6c 61 63 65 73 2e 6a 73 22 0a 20 20 20 20 69 66 20 28 61 45 76 65 6e 74 2e 62 | wser-places.js".....if.(aEvent.b |
58a40 | 75 74 74 6f 6e 20 3d 3d 20 32 20 7c 7c 20 28 61 45 76 65 6e 74 2e 62 75 74 74 6f 6e 20 3d 3d 20 | utton.==.2.||.(aEvent.button.==. |
58a60 | 30 20 26 26 20 21 6d 6f 64 69 66 4b 65 79 29 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a | 0.&&.!modifKey)).......return;.. |
58a80 | 20 20 20 20 76 61 72 20 74 61 72 67 65 74 20 3d 20 61 45 76 65 6e 74 2e 6f 72 69 67 69 6e 61 6c | ....var.target.=.aEvent.original |
58aa0 | 54 61 72 67 65 74 3b 0a 20 20 20 20 2f 2f 20 49 66 20 74 68 69 73 20 65 76 65 6e 74 20 62 75 62 | Target;.....//.If.this.event.bub |
58ac0 | 62 6c 65 64 20 75 70 20 66 72 6f 6d 20 61 20 6d 65 6e 75 20 6f 72 20 6d 65 6e 75 69 74 65 6d 2c | bled.up.from.a.menu.or.menuitem, |
58ae0 | 20 63 6c 6f 73 65 20 74 68 65 20 6d 65 6e 75 73 2e 0a 20 20 20 20 2f 2f 20 44 6f 20 74 68 69 73 | .close.the.menus......//.Do.this |
58b00 | 20 62 65 66 6f 72 65 20 6f 70 65 6e 69 6e 67 20 74 61 62 73 2c 20 74 6f 20 61 76 6f 69 64 20 68 | .before.opening.tabs,.to.avoid.h |
58b20 | 69 64 69 6e 67 20 74 68 65 20 6f 70 65 6e 20 74 61 62 73 20 63 6f 6e 66 69 72 6d 2d 64 69 61 6c | iding.the.open.tabs.confirm-dial |
58b40 | 6f 67 2e 0a 20 20 20 20 69 66 20 28 74 61 72 67 65 74 2e 6c 6f 63 61 6c 4e 61 6d 65 20 3d 3d 20 | og......if.(target.localName.==. |
58b60 | 22 6d 65 6e 75 22 20 7c 7c 20 74 61 72 67 65 74 2e 6c 6f 63 61 6c 4e 61 6d 65 20 3d 3d 20 22 6d | "menu".||.target.localName.==."m |
58b80 | 65 6e 75 69 74 65 6d 22 29 20 7b 0a 20 20 20 20 20 20 66 6f 72 20 28 6e 6f 64 65 20 3d 20 74 61 | enuitem").{.......for.(node.=.ta |
58ba0 | 72 67 65 74 2e 70 61 72 65 6e 74 4e 6f 64 65 3b 20 6e 6f 64 65 3b 20 6e 6f 64 65 20 3d 20 6e 6f | rget.parentNode;.node;.node.=.no |
58bc0 | 64 65 2e 70 61 72 65 6e 74 4e 6f 64 65 29 20 7b 0a 20 20 20 20 20 20 20 20 69 66 20 28 6e 6f 64 | de.parentNode).{.........if.(nod |
58be0 | 65 2e 6c 6f 63 61 6c 4e 61 6d 65 20 3d 3d 20 22 6d 65 6e 75 70 6f 70 75 70 22 29 0a 20 20 20 20 | e.localName.==."menupopup")..... |
58c00 | 20 20 20 20 20 20 6e 6f 64 65 2e 68 69 64 65 50 6f 70 75 70 28 29 3b 0a 20 20 20 20 20 20 20 20 | ......node.hidePopup();......... |
58c20 | 65 6c 73 65 20 69 66 20 28 6e 6f 64 65 2e 6c 6f 63 61 6c 4e 61 6d 65 20 21 3d 20 22 6d 65 6e 75 | else.if.(node.localName.!=."menu |
58c40 | 22 29 0a 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 | ")...........break;.......}..... |
58c60 | 7d 0a 0a 20 20 20 20 69 66 20 28 74 61 72 67 65 74 2e 6e 6f 64 65 20 26 26 20 50 6c 61 63 65 73 | }......if.(target.node.&&.Places |
58c80 | 55 74 69 6c 73 2e 6e 6f 64 65 49 73 43 6f 6e 74 61 69 6e 65 72 28 74 61 72 67 65 74 2e 6e 6f 64 | Utils.nodeIsContainer(target.nod |
58ca0 | 65 29 29 20 7b 0a 20 20 20 20 20 20 2f 2f 20 44 6f 6e 27 74 20 6f 70 65 6e 20 74 68 65 20 72 6f | e)).{.......//.Don't.open.the.ro |
58cc0 | 6f 74 20 66 6f 6c 64 65 72 20 69 6e 20 74 61 62 73 20 77 68 65 6e 20 74 68 65 20 65 6d 70 74 79 | ot.folder.in.tabs.when.the.empty |
58ce0 | 20 61 72 65 61 20 6f 6e 20 74 68 65 20 74 6f 6f 6c 62 61 72 0a 20 20 20 20 20 20 2f 2f 20 69 73 | .area.on.the.toolbar.......//.is |
58d00 | 20 6d 69 64 64 6c 65 2d 63 6c 69 63 6b 65 64 20 6f 72 20 77 68 65 6e 20 61 20 6e 6f 6e 2d 62 6f | .middle-clicked.or.when.a.non-bo |
58d20 | 6f 6b 6d 61 72 6b 20 69 74 65 6d 20 65 78 63 65 70 74 20 66 6f 72 20 4f 70 65 6e 20 69 6e 20 54 | okmark.item.except.for.Open.in.T |
58d40 | 61 62 73 29 0a 20 20 20 20 20 20 2f 2f 20 69 6e 20 61 20 62 6f 6f 6b 6d 61 72 6b 73 20 6d 65 6e | abs).......//.in.a.bookmarks.men |
58d60 | 75 70 6f 70 75 70 20 69 73 20 6d 69 64 64 6c 65 2d 63 6c 69 63 6b 65 64 2e 0a 20 20 20 20 20 20 | upopup.is.middle-clicked........ |
58d80 | 69 66 20 28 74 61 72 67 65 74 2e 6c 6f 63 61 6c 4e 61 6d 65 20 3d 3d 20 22 6d 65 6e 75 22 20 7c | if.(target.localName.==."menu".| |
58da0 | 7c 20 74 61 72 67 65 74 2e 6c 6f 63 61 6c 4e 61 6d 65 20 3d 3d 20 22 74 6f 6f 6c 62 61 72 62 75 | |.target.localName.==."toolbarbu |
58dc0 | 74 74 6f 6e 22 29 0a 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 6f 70 65 | tton").........PlacesUIUtils.ope |
58de0 | 6e 43 6f 6e 74 61 69 6e 65 72 4e 6f 64 65 49 6e 54 61 62 73 28 74 61 72 67 65 74 2e 6e 6f 64 65 | nContainerNodeInTabs(target.node |
58e00 | 2c 20 61 45 76 65 6e 74 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 65 6c 73 65 20 69 66 20 28 61 45 | ,.aEvent);.....}.....else.if.(aE |
58e20 | 76 65 6e 74 2e 62 75 74 74 6f 6e 20 3d 3d 20 31 29 20 7b 0a 20 20 20 20 20 20 2f 2f 20 6c 65 66 | vent.button.==.1).{.......//.lef |
58e40 | 74 2d 63 6c 69 63 6b 73 20 77 69 74 68 20 6d 6f 64 69 66 69 65 72 20 61 72 65 20 61 6c 72 65 61 | t-clicks.with.modifier.are.alrea |
58e60 | 64 79 20 73 65 72 76 65 64 20 62 79 20 6f 6e 43 6f 6d 6d 61 6e 64 0a 20 20 20 20 20 20 74 68 69 | dy.served.by.onCommand.......thi |
58e80 | 73 2e 6f 6e 43 6f 6d 6d 61 6e 64 28 61 45 76 65 6e 74 29 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a | s.onCommand(aEvent);.....}...},. |
58ea0 | 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 48 61 6e 64 6c 65 72 20 66 6f 72 20 63 6f 6d 6d 61 6e 64 20 | .../**....*.Handler.for.command. |
58ec0 | 65 76 65 6e 74 20 66 6f 72 20 61 6e 20 69 74 65 6d 20 69 6e 20 74 68 65 20 62 6f 6f 6b 6d 61 72 | event.for.an.item.in.the.bookmar |
58ee0 | 6b 73 20 74 6f 6f 6c 62 61 72 2e 0a 20 20 20 2a 20 4d 65 6e 75 73 20 61 6e 64 20 73 75 62 6d 65 | ks.toolbar.....*.Menus.and.subme |
58f00 | 6e 75 73 20 66 72 6f 6d 20 74 68 65 20 66 6f 6c 64 65 72 20 62 75 74 74 6f 6e 73 20 62 75 62 62 | nus.from.the.folder.buttons.bubb |
58f20 | 6c 65 20 75 70 20 74 6f 20 74 68 69 73 20 68 61 6e 64 6c 65 72 2e 0a 20 20 20 2a 20 4f 70 65 6e | le.up.to.this.handler.....*.Open |
58f40 | 73 20 74 68 65 20 69 74 65 6d 2e 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 61 45 76 65 6e 74 20 0a | s.the.item.....*.@param.aEvent.. |
58f60 | 20 20 20 2a 20 20 20 20 20 20 20 20 44 4f 4d 45 76 65 6e 74 20 66 6f 72 20 74 68 65 20 63 6f 6d | ...*........DOMEvent.for.the.com |
58f80 | 6d 61 6e 64 0a 20 20 20 2a 2f 0a 20 20 6f 6e 43 6f 6d 6d 61 6e 64 3a 20 66 75 6e 63 74 69 6f 6e | mand....*/...onCommand:.function |
58fa0 | 20 42 4d 5f 6f 6e 43 6f 6d 6d 61 6e 64 28 61 45 76 65 6e 74 29 20 7b 0a 20 20 20 20 76 61 72 20 | .BM_onCommand(aEvent).{.....var. |
58fc0 | 74 61 72 67 65 74 20 3d 20 61 45 76 65 6e 74 2e 6f 72 69 67 69 6e 61 6c 54 61 72 67 65 74 3b 0a | target.=.aEvent.originalTarget;. |
58fe0 | 20 20 20 20 69 66 20 28 74 61 72 67 65 74 2e 6e 6f 64 65 29 0a 20 20 20 20 20 20 50 6c 61 63 65 | ....if.(target.node).......Place |
59000 | 73 55 49 55 74 69 6c 73 2e 6f 70 65 6e 4e 6f 64 65 57 69 74 68 45 76 65 6e 74 28 74 61 72 67 65 | sUIUtils.openNodeWithEvent(targe |
59020 | 74 2e 6e 6f 64 65 2c 20 61 45 76 65 6e 74 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 | t.node,.aEvent);...},..../**.... |
59040 | 2a 20 48 61 6e 64 6c 65 72 20 66 6f 72 20 70 6f 70 75 70 73 68 6f 77 69 6e 67 20 65 76 65 6e 74 | *.Handler.for.popupshowing.event |
59060 | 20 66 6f 72 20 61 6e 20 69 74 65 6d 20 69 6e 20 62 6f 6f 6b 6d 61 72 6b 73 20 74 6f 6f 6c 62 61 | .for.an.item.in.bookmarks.toolba |
59080 | 72 20 6f 72 20 6d 65 6e 75 2e 0a 20 20 20 2a 20 49 66 20 74 68 65 20 69 74 65 6d 20 69 73 6e 27 | r.or.menu.....*.If.the.item.isn' |
590a0 | 74 20 74 68 65 20 6d 61 69 6e 20 62 6f 6f 6b 6d 61 72 6b 73 20 6d 65 6e 75 2c 20 61 64 64 20 61 | t.the.main.bookmarks.menu,.add.a |
590c0 | 6e 20 22 4f 70 65 6e 20 41 6c 6c 20 69 6e 20 54 61 62 73 22 0a 20 20 20 2a 20 6d 65 6e 75 69 74 | n."Open.All.in.Tabs"....*.menuit |
590e0 | 65 6d 20 74 6f 20 74 68 65 20 62 6f 74 74 6f 6d 20 6f 66 20 74 68 65 20 70 6f 70 75 70 2e 0a 20 | em.to.the.bottom.of.the.popup... |
59100 | 20 20 2a 20 40 70 61 72 61 6d 20 65 76 65 6e 74 20 0a 20 20 20 2a 20 20 20 20 20 20 20 20 44 4f | ..*.@param.event.....*........DO |
59120 | 4d 45 76 65 6e 74 20 66 6f 72 20 70 6f 70 75 70 73 68 6f 77 69 6e 67 0a 20 20 20 2a 2f 0a 20 20 | MEvent.for.popupshowing....*/... |
59140 | 6f 6e 50 6f 70 75 70 53 68 6f 77 69 6e 67 3a 20 66 75 6e 63 74 69 6f 6e 20 42 4d 5f 6f 6e 50 6f | onPopupShowing:.function.BM_onPo |
59160 | 70 75 70 53 68 6f 77 69 6e 67 28 65 76 65 6e 74 29 20 7b 0a 20 20 20 20 76 61 72 20 74 61 72 67 | pupShowing(event).{.....var.targ |
59180 | 65 74 20 3d 20 65 76 65 6e 74 2e 6f 72 69 67 69 6e 61 6c 54 61 72 67 65 74 3b 0a 20 20 20 20 69 | et.=.event.originalTarget;.....i |
591a0 | 66 20 28 21 74 61 72 67 65 74 2e 68 61 73 41 74 74 72 69 62 75 74 65 28 22 70 6c 61 63 65 73 70 | f.(!target.hasAttribute("placesp |
591c0 | 6f 70 75 70 22 29 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 20 20 2f 2f 20 43 68 | opup")).......return;......//.Ch |
591e0 | 65 63 6b 20 69 66 20 74 68 65 20 70 6f 70 75 70 20 63 6f 6e 74 61 69 6e 73 20 61 74 20 6c 65 61 | eck.if.the.popup.contains.at.lea |
59200 | 73 74 20 32 20 6d 65 6e 75 69 74 65 6d 73 20 77 69 74 68 20 70 6c 61 63 65 73 20 6e 6f 64 65 73 | st.2.menuitems.with.places.nodes |
59220 | 0a 20 20 20 20 76 61 72 20 6e 75 6d 4e 6f 64 65 73 20 3d 20 30 3b 0a 20 20 20 20 76 61 72 20 68 | .....var.numNodes.=.0;.....var.h |
59240 | 61 73 4d 75 6c 74 69 70 6c 65 55 52 49 73 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 76 61 72 20 | asMultipleURIs.=.false;.....var. |
59260 | 63 75 72 72 65 6e 74 43 68 69 6c 64 20 3d 20 74 61 72 67 65 74 2e 66 69 72 73 74 43 68 69 6c 64 | currentChild.=.target.firstChild |
59280 | 3b 0a 20 20 20 20 77 68 69 6c 65 20 28 63 75 72 72 65 6e 74 43 68 69 6c 64 29 20 7b 0a 20 20 20 | ;.....while.(currentChild).{.... |
592a0 | 20 20 20 69 66 20 28 63 75 72 72 65 6e 74 43 68 69 6c 64 2e 6c 6f 63 61 6c 4e 61 6d 65 20 3d 3d | ...if.(currentChild.localName.== |
592c0 | 20 22 6d 65 6e 75 69 74 65 6d 22 20 26 26 20 63 75 72 72 65 6e 74 43 68 69 6c 64 2e 6e 6f 64 65 | ."menuitem".&&.currentChild.node |
592e0 | 29 20 7b 0a 20 20 20 20 20 20 20 20 69 66 20 28 2b 2b 6e 75 6d 4e 6f 64 65 73 20 3d 3d 20 32 29 | ).{.........if.(++numNodes.==.2) |
59300 | 20 7b 0a 20 20 20 20 20 20 20 20 20 20 68 61 73 4d 75 6c 74 69 70 6c 65 55 52 49 73 20 3d 20 74 | .{...........hasMultipleURIs.=.t |
59320 | 72 75 65 3b 0a 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 20 20 7d 0a | rue;...........break;.........}. |
59340 | 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 63 75 72 72 65 6e 74 43 68 69 6c 64 20 3d 20 63 75 72 | ......}.......currentChild.=.cur |
59360 | 72 65 6e 74 43 68 69 6c 64 2e 6e 65 78 74 53 69 62 6c 69 6e 67 3b 0a 20 20 20 20 7d 0a 0a 20 20 | rentChild.nextSibling;.....}.... |
59380 | 20 20 76 61 72 20 69 74 65 6d 49 64 20 3d 20 74 61 72 67 65 74 2e 5f 72 65 73 75 6c 74 4e 6f 64 | ..var.itemId.=.target._resultNod |
593a0 | 65 2e 69 74 65 6d 49 64 3b 0a 20 20 20 20 76 61 72 20 73 69 74 65 55 52 49 53 74 72 69 6e 67 20 | e.itemId;.....var.siteURIString. |
593c0 | 3d 20 22 22 3b 0a 20 20 20 20 69 66 20 28 69 74 65 6d 49 64 20 21 3d 20 2d 31 20 26 26 20 50 6c | =."";.....if.(itemId.!=.-1.&&.Pl |
593e0 | 61 63 65 73 55 74 69 6c 73 2e 6c 69 76 65 6d 61 72 6b 73 2e 69 73 4c 69 76 65 6d 61 72 6b 28 69 | acesUtils.livemarks.isLivemark(i |
59400 | 74 65 6d 49 64 29 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 73 69 74 65 55 52 49 20 3d 20 50 6c | temId)).{.......var.siteURI.=.Pl |
59420 | 61 63 65 73 55 74 69 6c 73 2e 6c 69 76 65 6d 61 72 6b 73 2e 67 65 74 53 69 74 65 55 52 49 28 69 | acesUtils.livemarks.getSiteURI(i |
59440 | 74 65 6d 49 64 29 3b 0a 20 20 20 20 20 20 69 66 20 28 73 69 74 65 55 52 49 29 0a 20 20 20 20 20 | temId);.......if.(siteURI)...... |
59460 | 20 20 20 73 69 74 65 55 52 49 53 74 72 69 6e 67 20 3d 20 73 69 74 65 55 52 49 2e 73 70 65 63 3b | ...siteURIString.=.siteURI.spec; |
59480 | 0a 20 20 20 20 7d 0a 0a 20 20 20 20 69 66 20 28 21 73 69 74 65 55 52 49 53 74 72 69 6e 67 20 26 | .....}......if.(!siteURIString.& |
594a0 | 26 20 74 61 72 67 65 74 2e 5f 65 6e 64 4f 70 74 4f 70 65 6e 53 69 74 65 55 52 49 29 20 7b 0a 20 | &.target._endOptOpenSiteURI).{.. |
594c0 | 20 20 20 20 20 20 20 74 61 72 67 65 74 2e 72 65 6d 6f 76 65 43 68 69 6c 64 28 74 61 72 67 65 74 | .......target.removeChild(target |
594e0 | 2e 5f 65 6e 64 4f 70 74 4f 70 65 6e 53 69 74 65 55 52 49 29 3b 0a 20 20 20 20 20 20 20 20 74 61 | ._endOptOpenSiteURI);.........ta |
59500 | 72 67 65 74 2e 5f 65 6e 64 4f 70 74 4f 70 65 6e 53 69 74 65 55 52 49 20 3d 20 6e 75 6c 6c 3b 0a | rget._endOptOpenSiteURI.=.null;. |
59520 | 20 20 20 20 7d 0a 0a 20 20 20 20 69 66 20 28 21 68 61 73 4d 75 6c 74 69 70 6c 65 55 52 49 73 20 | ....}......if.(!hasMultipleURIs. |
59540 | 26 26 20 74 61 72 67 65 74 2e 5f 65 6e 64 4f 70 74 4f 70 65 6e 41 6c 6c 49 6e 54 61 62 73 29 20 | &&.target._endOptOpenAllInTabs). |
59560 | 7b 0a 20 20 20 20 20 20 74 61 72 67 65 74 2e 72 65 6d 6f 76 65 43 68 69 6c 64 28 74 61 72 67 65 | {.......target.removeChild(targe |
59580 | 74 2e 5f 65 6e 64 4f 70 74 4f 70 65 6e 41 6c 6c 49 6e 54 61 62 73 29 3b 0a 20 20 20 20 20 20 74 | t._endOptOpenAllInTabs);.......t |
595a0 | 61 72 67 65 74 2e 5f 65 6e 64 4f 70 74 4f 70 65 6e 41 6c 6c 49 6e 54 61 62 73 20 3d 20 6e 75 6c | arget._endOptOpenAllInTabs.=.nul |
595c0 | 6c 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 69 66 20 28 21 28 68 61 73 4d 75 6c 74 69 70 6c 65 55 | l;.....}......if.(!(hasMultipleU |
595e0 | 52 49 73 20 7c 7c 20 73 69 74 65 55 52 49 53 74 72 69 6e 67 29 29 20 7b 0a 20 20 20 20 20 20 2f | RIs.||.siteURIString)).{......./ |
59600 | 2f 20 77 65 20 64 6f 6e 27 74 20 68 61 76 65 20 74 6f 20 73 68 6f 77 20 61 6e 79 20 6f 70 74 69 | /.we.don't.have.to.show.any.opti |
59620 | 6f 6e 0a 20 20 20 20 20 20 69 66 20 28 74 61 72 67 65 74 2e 5f 65 6e 64 4f 70 74 53 65 70 61 72 | on.......if.(target._endOptSepar |
59640 | 61 74 6f 72 29 20 7b 0a 20 20 20 20 20 20 20 20 74 61 72 67 65 74 2e 72 65 6d 6f 76 65 43 68 69 | ator).{.........target.removeChi |
59660 | 6c 64 28 74 61 72 67 65 74 2e 5f 65 6e 64 4f 70 74 53 65 70 61 72 61 74 6f 72 29 3b 0a 20 20 20 | ld(target._endOptSeparator);.... |
59680 | 20 20 20 20 20 74 61 72 67 65 74 2e 5f 65 6e 64 4f 70 74 53 65 70 61 72 61 74 6f 72 20 3d 20 6e | .....target._endOptSeparator.=.n |
596a0 | 75 6c 6c 3b 0a 20 20 20 20 20 20 20 20 74 61 72 67 65 74 2e 5f 65 6e 64 4d 61 72 6b 65 72 20 3d | ull;.........target._endMarker.= |
596c0 | 20 2d 31 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 20 20 7d | .-1;.......}.......return;.....} |
596e0 | 0a 0a 20 20 20 20 69 66 20 28 21 74 61 72 67 65 74 2e 5f 65 6e 64 4f 70 74 53 65 70 61 72 61 74 | ......if.(!target._endOptSeparat |
59700 | 6f 72 29 20 7b 0a 20 20 20 20 20 20 2f 2f 20 63 72 65 61 74 65 20 61 20 73 65 70 61 72 61 74 6f | or).{.......//.create.a.separato |
59720 | 72 20 62 65 66 6f 72 65 20 6f 70 74 69 6f 6e 73 0a 20 20 20 20 20 20 74 61 72 67 65 74 2e 5f 65 | r.before.options.......target._e |
59740 | 6e 64 4f 70 74 53 65 70 61 72 61 74 6f 72 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 63 72 65 61 74 65 | ndOptSeparator.=.document.create |
59760 | 45 6c 65 6d 65 6e 74 28 22 6d 65 6e 75 73 65 70 61 72 61 74 6f 72 22 29 3b 0a 20 20 20 20 20 20 | Element("menuseparator");....... |
59780 | 74 61 72 67 65 74 2e 5f 65 6e 64 4d 61 72 6b 65 72 20 3d 20 74 61 72 67 65 74 2e 63 68 69 6c 64 | target._endMarker.=.target.child |
597a0 | 4e 6f 64 65 73 2e 6c 65 6e 67 74 68 3b 0a 20 20 20 20 20 20 74 61 72 67 65 74 2e 61 70 70 65 6e | Nodes.length;.......target.appen |
597c0 | 64 43 68 69 6c 64 28 74 61 72 67 65 74 2e 5f 65 6e 64 4f 70 74 53 65 70 61 72 61 74 6f 72 29 3b | dChild(target._endOptSeparator); |
597e0 | 0a 20 20 20 20 7d 0a 0a 20 20 20 20 69 66 20 28 73 69 74 65 55 52 49 53 74 72 69 6e 67 20 26 26 | .....}......if.(siteURIString.&& |
59800 | 20 21 74 61 72 67 65 74 2e 5f 65 6e 64 4f 70 74 4f 70 65 6e 53 69 74 65 55 52 49 29 20 7b 0a 20 | .!target._endOptOpenSiteURI).{.. |
59820 | 20 20 20 20 20 2f 2f 20 41 64 64 20 22 4f 70 65 6e 20 28 46 65 65 64 20 4e 61 6d 65 29 22 20 6d | .....//.Add."Open.(Feed.Name)".m |
59840 | 65 6e 75 69 74 65 6d 20 69 66 20 69 74 27 73 20 61 20 6c 69 76 65 6d 61 72 6b 20 77 69 74 68 20 | enuitem.if.it's.a.livemark.with. |
59860 | 61 20 73 69 74 65 55 52 49 0a 20 20 20 20 20 20 74 61 72 67 65 74 2e 5f 65 6e 64 4f 70 74 4f 70 | a.siteURI.......target._endOptOp |
59880 | 65 6e 53 69 74 65 55 52 49 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 63 72 65 61 74 65 45 6c 65 6d 65 | enSiteURI.=.document.createEleme |
598a0 | 6e 74 28 22 6d 65 6e 75 69 74 65 6d 22 29 3b 0a 20 20 20 20 20 20 74 61 72 67 65 74 2e 5f 65 6e | nt("menuitem");.......target._en |
598c0 | 64 4f 70 74 4f 70 65 6e 53 69 74 65 55 52 49 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 73 69 | dOptOpenSiteURI.setAttribute("si |
598e0 | 74 65 55 52 49 22 2c 20 73 69 74 65 55 52 49 53 74 72 69 6e 67 29 3b 0a 20 20 20 20 20 20 74 61 | teURI",.siteURIString);.......ta |
59900 | 72 67 65 74 2e 5f 65 6e 64 4f 70 74 4f 70 65 6e 53 69 74 65 55 52 49 2e 73 65 74 41 74 74 72 69 | rget._endOptOpenSiteURI.setAttri |
59920 | 62 75 74 65 28 22 6f 6e 63 6f 6d 6d 61 6e 64 22 2c 0a 20 20 20 20 20 20 20 20 20 20 22 6f 70 65 | bute("oncommand",..........."ope |
59940 | 6e 55 49 4c 69 6e 6b 28 74 68 69 73 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 27 73 69 74 65 55 | nUILink(this.getAttribute('siteU |
59960 | 52 49 27 29 2c 20 65 76 65 6e 74 29 3b 22 29 3b 0a 20 20 20 20 20 20 2f 2f 20 49 66 20 61 20 75 | RI'),.event);");.......//.If.a.u |
59980 | 73 65 72 20 6d 69 64 64 6c 65 2d 63 6c 69 63 6b 73 20 74 68 69 73 20 69 74 65 6d 20 77 65 20 73 | ser.middle-clicks.this.item.we.s |
599a0 | 65 72 76 65 20 74 68 65 20 6f 6e 63 6f 6d 6d 61 6e 64 20 65 76 65 6e 74 0a 20 20 20 20 20 20 2f | erve.the.oncommand.event......./ |
599c0 | 2f 20 57 65 20 61 72 65 20 75 73 69 6e 67 20 63 68 65 63 6b 46 6f 72 4d 69 64 64 6c 65 43 6c 69 | /.We.are.using.checkForMiddleCli |
599e0 | 63 6b 20 62 65 63 61 75 73 65 20 6f 66 20 42 75 67 20 32 34 36 37 32 30 0a 20 20 20 20 20 20 2f | ck.because.of.Bug.246720......./ |
59a00 | 2f 20 4e 6f 74 65 3a 20 73 74 6f 70 50 72 6f 70 61 67 61 74 69 6f 6e 20 69 73 20 6e 65 65 64 65 | /.Note:.stopPropagation.is.neede |
59a20 | 64 20 74 6f 20 61 76 6f 69 64 20 73 65 72 76 69 6e 67 20 6d 69 64 64 6c 65 2d 63 6c 69 63 6b 20 | d.to.avoid.serving.middle-click. |
59a40 | 0a 20 20 20 20 20 20 2f 2f 20 77 69 74 68 20 42 54 5f 6f 6e 43 6c 69 63 6b 20 74 68 61 74 20 77 | .......//.with.BT_onClick.that.w |
59a60 | 6f 75 6c 64 20 6f 70 65 6e 20 61 6c 6c 20 69 74 65 6d 73 20 69 6e 20 74 61 62 73 0a 20 20 20 20 | ould.open.all.items.in.tabs..... |
59a80 | 20 20 74 61 72 67 65 74 2e 5f 65 6e 64 4f 70 74 4f 70 65 6e 53 69 74 65 55 52 49 2e 73 65 74 41 | ..target._endOptOpenSiteURI.setA |
59aa0 | 74 74 72 69 62 75 74 65 28 22 6f 6e 63 6c 69 63 6b 22 2c 0a 20 20 20 20 20 20 20 20 20 20 22 63 | ttribute("onclick",..........."c |
59ac0 | 68 65 63 6b 46 6f 72 4d 69 64 64 6c 65 43 6c 69 63 6b 28 74 68 69 73 2c 20 65 76 65 6e 74 29 3b | heckForMiddleClick(this,.event); |
59ae0 | 20 65 76 65 6e 74 2e 73 74 6f 70 50 72 6f 70 61 67 61 74 69 6f 6e 28 29 3b 22 29 3b 0a 20 20 20 | .event.stopPropagation();");.... |
59b00 | 20 20 20 74 61 72 67 65 74 2e 5f 65 6e 64 4f 70 74 4f 70 65 6e 53 69 74 65 55 52 49 2e 73 65 74 | ...target._endOptOpenSiteURI.set |
59b20 | 41 74 74 72 69 62 75 74 65 28 22 6c 61 62 65 6c 22 2c 0a 20 20 20 20 20 20 20 20 20 20 50 6c 61 | Attribute("label",...........Pla |
59b40 | 63 65 73 55 49 55 74 69 6c 73 2e 67 65 74 46 6f 72 6d 61 74 74 65 64 53 74 72 69 6e 67 28 22 6d | cesUIUtils.getFormattedString("m |
59b60 | 65 6e 75 4f 70 65 6e 4c 69 76 65 6d 61 72 6b 4f 72 69 67 69 6e 2e 6c 61 62 65 6c 22 2c 0a 20 20 | enuOpenLivemarkOrigin.label",... |
59b80 | 20 20 20 20 20 20 20 20 5b 74 61 72 67 65 74 2e 70 61 72 65 6e 74 4e 6f 64 65 2e 67 65 74 41 74 | ........[target.parentNode.getAt |
59ba0 | 74 72 69 62 75 74 65 28 22 6c 61 62 65 6c 22 29 5d 29 29 3b 0a 20 20 20 20 20 20 74 61 72 67 65 | tribute("label")]));.......targe |
59bc0 | 74 2e 61 70 70 65 6e 64 43 68 69 6c 64 28 74 61 72 67 65 74 2e 5f 65 6e 64 4f 70 74 4f 70 65 6e | t.appendChild(target._endOptOpen |
59be0 | 53 69 74 65 55 52 49 29 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 69 66 20 28 68 61 73 4d 75 6c 74 | SiteURI);.....}......if.(hasMult |
59c00 | 69 70 6c 65 55 52 49 73 20 26 26 20 21 74 61 72 67 65 74 2e 5f 65 6e 64 4f 70 74 4f 70 65 6e 41 | ipleURIs.&&.!target._endOptOpenA |
59c20 | 6c 6c 49 6e 54 61 62 73 29 20 7b 0a 20 20 20 20 20 20 20 20 2f 2f 20 41 64 64 20 74 68 65 20 22 | llInTabs).{.........//.Add.the." |
59c40 | 4f 70 65 6e 20 41 6c 6c 20 69 6e 20 54 61 62 73 22 20 6d 65 6e 75 69 74 65 6d 20 69 66 20 74 68 | Open.All.in.Tabs".menuitem.if.th |
59c60 | 65 72 65 20 61 72 65 0a 20 20 20 20 20 20 20 20 2f 2f 20 61 74 20 6c 65 61 73 74 20 74 77 6f 20 | ere.are.........//.at.least.two. |
59c80 | 6d 65 6e 75 69 74 65 6d 73 20 77 69 74 68 20 70 6c 61 63 65 73 20 72 65 73 75 6c 74 20 6e 6f 64 | menuitems.with.places.result.nod |
59ca0 | 65 73 2e 0a 20 20 20 20 20 20 20 20 74 61 72 67 65 74 2e 5f 65 6e 64 4f 70 74 4f 70 65 6e 41 6c | es..........target._endOptOpenAl |
59cc0 | 6c 49 6e 54 61 62 73 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 63 72 65 61 74 65 45 6c 65 6d 65 6e 74 | lInTabs.=.document.createElement |
59ce0 | 28 22 6d 65 6e 75 69 74 65 6d 22 29 3b 0a 20 20 20 20 20 20 20 20 74 61 72 67 65 74 2e 5f 65 6e | ("menuitem");.........target._en |
59d00 | 64 4f 70 74 4f 70 65 6e 41 6c 6c 49 6e 54 61 62 73 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 | dOptOpenAllInTabs.setAttribute(" |
59d20 | 6f 6e 63 6f 6d 6d 61 6e 64 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 22 50 6c 61 63 65 73 55 | oncommand",............."PlacesU |
59d40 | 49 55 74 69 6c 73 2e 6f 70 65 6e 43 6f 6e 74 61 69 6e 65 72 4e 6f 64 65 49 6e 54 61 62 73 28 74 | IUtils.openContainerNodeInTabs(t |
59d60 | 68 69 73 2e 70 61 72 65 6e 74 4e 6f 64 65 2e 5f 72 65 73 75 6c 74 4e 6f 64 65 2c 20 65 76 65 6e | his.parentNode._resultNode,.even |
59d80 | 74 29 3b 22 29 3b 0a 20 20 20 20 20 20 20 20 74 61 72 67 65 74 2e 5f 65 6e 64 4f 70 74 4f 70 65 | t);");.........target._endOptOpe |
59da0 | 6e 41 6c 6c 49 6e 54 61 62 73 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 6f 6e 63 6c 69 63 6b | nAllInTabs.setAttribute("onclick |
59dc0 | 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 22 63 68 65 63 6b 46 6f 72 4d 69 64 64 6c 65 43 6c | ",............."checkForMiddleCl |
59de0 | 69 63 6b 28 74 68 69 73 2c 20 65 76 65 6e 74 29 3b 20 65 76 65 6e 74 2e 73 74 6f 70 50 72 6f 70 | ick(this,.event);.event.stopProp |
59e00 | 61 67 61 74 69 6f 6e 28 29 3b 22 29 3b 0a 20 20 20 20 20 20 20 20 74 61 72 67 65 74 2e 5f 65 6e | agation();");.........target._en |
59e20 | 64 4f 70 74 4f 70 65 6e 41 6c 6c 49 6e 54 61 62 73 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 | dOptOpenAllInTabs.setAttribute(" |
59e40 | 6c 61 62 65 6c 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 67 4e 61 76 69 67 61 74 6f 72 42 75 | label",.............gNavigatorBu |
59e60 | 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 6d 65 6e 75 4f 70 65 6e 41 6c 6c 49 6e 54 61 62 | ndle.getString("menuOpenAllInTab |
59e80 | 73 2e 6c 61 62 65 6c 22 29 29 3b 0a 20 20 20 20 20 20 20 20 74 61 72 67 65 74 2e 61 70 70 65 6e | s.label"));.........target.appen |
59ea0 | 64 43 68 69 6c 64 28 74 61 72 67 65 74 2e 5f 65 6e 64 4f 70 74 4f 70 65 6e 41 6c 6c 49 6e 54 61 | dChild(target._endOptOpenAllInTa |
59ec0 | 62 73 29 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 66 69 6c 6c 49 6e 42 54 54 6f 6f 6c 74 | bs);.....}...},....fillInBTToolt |
59ee0 | 69 70 3a 20 66 75 6e 63 74 69 6f 6e 28 61 54 69 70 45 6c 65 6d 65 6e 74 29 20 7b 0a 20 20 20 20 | ip:.function(aTipElement).{..... |
59f00 | 69 66 20 28 21 61 54 69 70 45 6c 65 6d 65 6e 74 2e 6e 6f 64 65 29 0a 20 20 20 20 20 20 72 65 74 | if.(!aTipElement.node).......ret |
59f20 | 75 72 6e 20 66 61 6c 73 65 3b 0a 0a 20 20 20 20 2f 2f 53 68 6f 77 20 74 6f 6f 6c 74 69 70 73 20 | urn.false;......//Show.tooltips. |
59f40 | 6f 6e 6c 79 20 66 6f 72 20 55 52 4c 20 69 74 65 6d 73 0a 20 20 20 20 69 66 20 28 21 50 6c 61 63 | only.for.URL.items.....if.(!Plac |
59f60 | 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 55 52 49 28 61 54 69 70 45 6c 65 6d 65 6e 74 2e 6e 6f | esUtils.nodeIsURI(aTipElement.no |
59f80 | 64 65 29 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 0a 0a 20 20 20 20 76 61 | de)).......return.false;......va |
59fa0 | 72 20 74 69 74 6c 65 20 3d 20 61 54 69 70 45 6c 65 6d 65 6e 74 2e 6e 6f 64 65 2e 74 69 74 6c 65 | r.title.=.aTipElement.node.title |
59fc0 | 3b 0a 20 20 20 20 76 61 72 20 75 72 6c 20 3d 20 61 54 69 70 45 6c 65 6d 65 6e 74 2e 6e 6f 64 65 | ;.....var.url.=.aTipElement.node |
59fe0 | 2e 75 72 69 3b 0a 0a 20 20 20 20 76 61 72 20 74 6f 6f 6c 74 69 70 54 69 74 6c 65 20 3d 20 64 6f | .uri;......var.tooltipTitle.=.do |
5a000 | 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 62 74 54 69 74 6c 65 54 65 | cument.getElementById("btTitleTe |
5a020 | 78 74 22 29 3b 0a 20 20 20 20 74 6f 6f 6c 74 69 70 54 69 74 6c 65 2e 68 69 64 64 65 6e 20 3d 20 | xt");.....tooltipTitle.hidden.=. |
5a040 | 21 74 69 74 6c 65 20 7c 7c 20 28 74 69 74 6c 65 20 3d 3d 20 75 72 6c 29 3b 0a 20 20 20 20 69 66 | !title.||.(title.==.url);.....if |
5a060 | 20 28 21 74 6f 6f 6c 74 69 70 54 69 74 6c 65 2e 68 69 64 64 65 6e 29 0a 20 20 20 20 20 20 74 6f | .(!tooltipTitle.hidden).......to |
5a080 | 6f 6c 74 69 70 54 69 74 6c 65 2e 74 65 78 74 43 6f 6e 74 65 6e 74 20 3d 20 74 69 74 6c 65 3b 0a | oltipTitle.textContent.=.title;. |
5a0a0 | 0a 20 20 20 20 76 61 72 20 74 6f 6f 6c 74 69 70 55 72 6c 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 | .....var.tooltipUrl.=.document.g |
5a0c0 | 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 62 74 55 72 6c 54 65 78 74 22 29 3b 0a 20 20 20 20 | etElementById("btUrlText");..... |
5a0e0 | 74 6f 6f 6c 74 69 70 55 72 6c 2e 76 61 6c 75 65 20 3d 20 75 72 6c 3b 0a 0a 20 20 20 20 2f 2f 53 | tooltipUrl.value.=.url;......//S |
5a100 | 68 6f 77 20 74 6f 6f 6c 74 69 70 0a 20 20 20 20 72 65 74 75 72 6e 20 74 72 75 65 3b 0a 20 20 7d | how.tooltip.....return.true;...} |
5a120 | 0a 7d 3b 0a 0a 2f 2a 2a 0a 20 2a 20 44 72 61 67 20 61 6e 64 20 44 72 6f 70 20 68 61 6e 64 6c 69 | .};../**..*.Drag.and.Drop.handli |
5a140 | 6e 67 20 73 70 65 63 69 66 69 63 61 6c 6c 79 20 66 6f 72 20 74 68 65 20 42 6f 6f 6b 6d 61 72 6b | ng.specifically.for.the.Bookmark |
5a160 | 73 20 4d 65 6e 75 20 69 74 65 6d 20 69 6e 20 74 68 65 0a 20 2a 20 74 6f 70 20 6c 65 76 65 6c 20 | s.Menu.item.in.the..*.top.level. |
5a180 | 6d 65 6e 75 20 62 61 72 0a 20 2a 2f 0a 76 61 72 20 42 6f 6f 6b 6d 61 72 6b 73 4d 65 6e 75 44 72 | menu.bar..*/.var.BookmarksMenuDr |
5a1a0 | 6f 70 48 61 6e 64 6c 65 72 20 3d 20 7b 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 4e 65 65 64 20 74 6f | opHandler.=.{.../**....*.Need.to |
5a1c0 | 20 74 65 6c 6c 20 74 68 65 20 73 65 73 73 69 6f 6e 20 74 6f 20 75 70 64 61 74 65 20 74 68 65 20 | .tell.the.session.to.update.the. |
5a1e0 | 73 74 61 74 65 20 6f 66 20 74 68 65 20 63 75 72 73 6f 72 20 61 73 20 77 65 20 64 72 61 67 0a 20 | state.of.the.cursor.as.we.drag.. |
5a200 | 20 20 2a 20 6f 76 65 72 20 74 68 65 20 42 6f 6f 6b 6d 61 72 6b 73 20 4d 65 6e 75 20 74 6f 20 73 | ..*.over.the.Bookmarks.Menu.to.s |
5a220 | 68 6f 77 20 74 68 65 20 22 63 61 6e 20 64 72 6f 70 22 20 73 74 61 74 65 20 76 73 2e 20 74 68 65 | how.the."can.drop".state.vs..the |
5a240 | 20 22 6e 6f 20 64 72 6f 70 22 0a 20 20 20 2a 20 73 74 61 74 65 2e 0a 20 20 20 2a 2f 0a 20 20 6f | ."no.drop"....*.state.....*/...o |
5a260 | 6e 44 72 61 67 4f 76 65 72 3a 20 66 75 6e 63 74 69 6f 6e 20 42 4d 44 48 5f 6f 6e 44 72 61 67 4f | nDragOver:.function.BMDH_onDragO |
5a280 | 76 65 72 28 65 76 65 6e 74 2c 20 66 6c 61 76 6f 72 2c 20 73 65 73 73 69 6f 6e 29 20 7b 0a 20 20 | ver(event,.flavor,.session).{... |
5a2a0 | 20 20 69 66 20 28 21 74 68 69 73 2e 63 61 6e 44 72 6f 70 28 65 76 65 6e 74 2c 20 73 65 73 73 69 | ..if.(!this.canDrop(event,.sessi |
5a2c0 | 6f 6e 29 29 0a 20 20 20 20 20 20 65 76 65 6e 74 2e 64 61 74 61 54 72 61 6e 73 66 65 72 2e 65 66 | on)).......event.dataTransfer.ef |
5a2e0 | 66 65 63 74 41 6c 6c 6f 77 65 64 20 3d 20 22 6e 6f 6e 65 22 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a | fectAllowed.=."none";...},..../* |
5a300 | 2a 0a 20 20 20 2a 20 41 64 76 65 72 74 69 73 65 73 20 74 68 65 20 73 65 74 20 6f 66 20 64 61 74 | *....*.Advertises.the.set.of.dat |
5a320 | 61 20 74 79 70 65 73 20 74 68 61 74 20 63 61 6e 20 62 65 20 64 72 6f 70 70 65 64 20 6f 6e 20 74 | a.types.that.can.be.dropped.on.t |
5a340 | 68 65 20 42 6f 6f 6b 6d 61 72 6b 73 0a 20 20 20 2a 20 4d 65 6e 75 0a 20 20 20 2a 20 40 72 65 74 | he.Bookmarks....*.Menu....*.@ret |
5a360 | 75 72 6e 73 20 61 20 46 6c 61 76 6f 75 72 53 65 74 20 6f 62 6a 65 63 74 20 70 65 72 20 6e 73 44 | urns.a.FlavourSet.object.per.nsD |
5a380 | 72 61 67 41 6e 64 44 72 6f 70 20 70 61 72 6c 61 6e 63 65 2e 0a 20 20 20 2a 2f 0a 20 20 67 65 74 | ragAndDrop.parlance.....*/...get |
5a3a0 | 53 75 70 70 6f 72 74 65 64 46 6c 61 76 6f 75 72 73 3a 20 66 75 6e 63 74 69 6f 6e 20 42 4d 44 48 | SupportedFlavours:.function.BMDH |
5a3c0 | 5f 67 65 74 53 75 70 70 6f 72 74 65 64 46 6c 61 76 6f 75 72 73 28 29 20 7b 0a 20 20 20 20 76 61 | _getSupportedFlavours().{.....va |
5a3e0 | 72 20 76 69 65 77 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 | r.view.=.document.getElementById |
5a400 | 28 22 62 6f 6f 6b 6d 61 72 6b 73 4d 65 6e 75 50 6f 70 75 70 22 29 3b 0a 20 20 20 20 72 65 74 75 | ("bookmarksMenuPopup");.....retu |
5a420 | 72 6e 20 76 69 65 77 2e 67 65 74 53 75 70 70 6f 72 74 65 64 46 6c 61 76 6f 75 72 73 28 29 3b 0a | rn.view.getSupportedFlavours();. |
5a440 | 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 44 65 74 65 72 6d 69 6e 65 20 77 68 65 74 68 | ..},..../**....*.Determine.wheth |
5a460 | 65 72 20 6f 72 20 6e 6f 74 20 74 68 65 20 75 73 65 72 20 63 61 6e 20 64 72 6f 70 20 6f 6e 20 74 | er.or.not.the.user.can.drop.on.t |
5a480 | 68 65 20 42 6f 6f 6b 6d 61 72 6b 73 20 4d 65 6e 75 2e 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 20 | he.Bookmarks.Menu.....*.@param.. |
5a4a0 | 20 65 76 65 6e 74 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 41 20 64 72 61 67 6f 76 65 72 20 | .event....*..........A.dragover. |
5a4c0 | 65 76 65 6e 74 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 20 20 73 65 73 73 69 6f 6e 0a 20 20 20 2a | event....*.@param...session....* |
5a4e0 | 20 20 20 20 20 20 20 20 20 20 54 68 65 20 61 63 74 69 76 65 20 44 72 61 67 53 65 73 73 69 6f 6e | ..........The.active.DragSession |
5a500 | 0a 20 20 20 2a 20 40 72 65 74 75 72 6e 73 20 74 72 75 65 20 69 66 20 74 68 65 20 75 73 65 72 20 | ....*.@returns.true.if.the.user. |
5a520 | 63 61 6e 20 64 72 6f 70 20 6f 6e 74 6f 20 74 68 65 20 42 6f 6f 6b 6d 61 72 6b 73 20 4d 65 6e 75 | can.drop.onto.the.Bookmarks.Menu |
5a540 | 20 69 74 65 6d 2c 20 66 61 6c 73 65 20 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 6f 74 68 65 | .item,.false.....*..........othe |
5a560 | 72 77 69 73 65 2e 0a 20 20 20 2a 2f 0a 20 20 63 61 6e 44 72 6f 70 3a 20 66 75 6e 63 74 69 6f 6e | rwise.....*/...canDrop:.function |
5a580 | 20 42 4d 44 48 5f 63 61 6e 44 72 6f 70 28 65 76 65 6e 74 2c 20 73 65 73 73 69 6f 6e 29 20 7b 0a | .BMDH_canDrop(event,.session).{. |
5a5a0 | 20 20 20 20 50 6c 61 63 65 73 43 6f 6e 74 72 6f 6c 6c 65 72 44 72 61 67 48 65 6c 70 65 72 2e 63 | ....PlacesControllerDragHelper.c |
5a5c0 | 75 72 72 65 6e 74 44 61 74 61 54 72 61 6e 73 66 65 72 20 3d 20 65 76 65 6e 74 2e 64 61 74 61 54 | urrentDataTransfer.=.event.dataT |
5a5e0 | 72 61 6e 73 66 65 72 3b 0a 0a 20 20 20 20 76 61 72 20 69 70 20 3d 20 6e 65 77 20 49 6e 73 65 72 | ransfer;......var.ip.=.new.Inser |
5a600 | 74 69 6f 6e 50 6f 69 6e 74 28 50 6c 61 63 65 73 55 74 69 6c 73 2e 62 6f 6f 6b 6d 61 72 6b 73 4d | tionPoint(PlacesUtils.bookmarksM |
5a620 | 65 6e 75 46 6f 6c 64 65 72 49 64 2c 20 2d 31 29 3b 20 20 0a 20 20 20 20 72 65 74 75 72 6e 20 69 | enuFolderId,.-1);.......return.i |
5a640 | 70 20 26 26 20 50 6c 61 63 65 73 43 6f 6e 74 72 6f 6c 6c 65 72 44 72 61 67 48 65 6c 70 65 72 2e | p.&&.PlacesControllerDragHelper. |
5a660 | 63 61 6e 44 72 6f 70 28 69 70 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 43 61 | canDrop(ip);...},..../**....*.Ca |
5a680 | 6c 6c 65 64 20 77 68 65 6e 20 74 68 65 20 75 73 65 72 20 64 72 6f 70 73 20 6f 6e 74 6f 20 74 68 | lled.when.the.user.drops.onto.th |
5a6a0 | 65 20 74 6f 70 20 6c 65 76 65 6c 20 42 6f 6f 6b 6d 61 72 6b 73 20 4d 65 6e 75 20 69 74 65 6d 2e | e.top.level.Bookmarks.Menu.item. |
5a6c0 | 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 20 20 65 76 65 6e 74 0a 20 20 20 2a 20 20 20 20 20 20 20 | ....*.@param...event....*....... |
5a6e0 | 20 20 20 41 20 64 72 6f 70 20 65 76 65 6e 74 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 20 20 64 61 | ...A.drop.event....*.@param...da |
5a700 | 74 61 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 44 61 74 61 20 74 68 61 74 20 77 61 73 20 64 | ta....*..........Data.that.was.d |
5a720 | 72 6f 70 70 65 64 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 20 20 73 65 73 73 69 6f 6e 0a 20 20 20 | ropped....*.@param...session.... |
5a740 | 2a 20 20 20 20 20 20 20 20 20 20 54 68 65 20 61 63 74 69 76 65 20 44 72 61 67 53 65 73 73 69 6f | *..........The.active.DragSessio |
5a760 | 6e 0a 20 20 20 2a 2f 0a 20 20 6f 6e 44 72 6f 70 3a 20 66 75 6e 63 74 69 6f 6e 20 42 4d 44 48 5f | n....*/...onDrop:.function.BMDH_ |
5a780 | 6f 6e 44 72 6f 70 28 65 76 65 6e 74 2c 20 64 61 74 61 2c 20 73 65 73 73 69 6f 6e 29 20 7b 0a 20 | onDrop(event,.data,.session).{.. |
5a7a0 | 20 20 20 50 6c 61 63 65 73 43 6f 6e 74 72 6f 6c 6c 65 72 44 72 61 67 48 65 6c 70 65 72 2e 63 75 | ...PlacesControllerDragHelper.cu |
5a7c0 | 72 72 65 6e 74 44 61 74 61 54 72 61 6e 73 66 65 72 20 3d 20 65 76 65 6e 74 2e 64 61 74 61 54 72 | rrentDataTransfer.=.event.dataTr |
5a7e0 | 61 6e 73 66 65 72 3b 0a 0a 20 20 2f 2f 20 50 75 74 20 74 68 65 20 69 74 65 6d 20 61 74 20 74 68 | ansfer;....//.Put.the.item.at.th |
5a800 | 65 20 65 6e 64 20 6f 66 20 62 6f 6f 6b 6d 61 72 6b 20 6d 65 6e 75 0a 20 20 20 20 76 61 72 20 69 | e.end.of.bookmark.menu.....var.i |
5a820 | 70 20 3d 20 6e 65 77 20 49 6e 73 65 72 74 69 6f 6e 50 6f 69 6e 74 28 50 6c 61 63 65 73 55 74 69 | p.=.new.InsertionPoint(PlacesUti |
5a840 | 6c 73 2e 62 6f 6f 6b 6d 61 72 6b 73 4d 65 6e 75 46 6f 6c 64 65 72 49 64 2c 20 2d 31 2c 0a 20 20 | ls.bookmarksMenuFolderId,.-1,... |
5a860 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 43 69 | ..............................Ci |
5a880 | 2e 6e 73 49 54 72 65 65 56 69 65 77 2e 44 52 4f 50 5f 4f 4e 29 3b 0a 20 20 20 20 50 6c 61 63 65 | .nsITreeView.DROP_ON);.....Place |
5a8a0 | 73 43 6f 6e 74 72 6f 6c 6c 65 72 44 72 61 67 48 65 6c 70 65 72 2e 6f 6e 44 72 6f 70 28 69 70 29 | sControllerDragHelper.onDrop(ip) |
5a8c0 | 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 43 61 6c 6c 65 64 20 77 68 65 6e 20 64 | ;...},..../**....*.Called.when.d |
5a8e0 | 72 6f 70 20 74 61 72 67 65 74 20 6c 65 61 76 65 73 20 74 68 65 20 6d 65 6e 75 20 6f 72 20 61 66 | rop.target.leaves.the.menu.or.af |
5a900 | 74 65 72 20 61 20 64 72 6f 70 2e 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 20 20 61 45 76 65 6e 74 | ter.a.drop.....*.@param...aEvent |
5a920 | 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 41 20 64 72 6f 70 20 65 76 65 6e 74 0a 20 20 20 2a | ....*..........A.drop.event....* |
5a940 | 2f 0a 20 20 6f 6e 44 72 61 67 45 78 69 74 3a 20 66 75 6e 63 74 69 6f 6e 20 42 4d 44 48 5f 6f 6e | /...onDragExit:.function.BMDH_on |
5a960 | 44 72 61 67 45 78 69 74 28 65 76 65 6e 74 2c 20 73 65 73 73 69 6f 6e 29 20 7b 0a 20 20 20 20 50 | DragExit(event,.session).{.....P |
5a980 | 6c 61 63 65 73 43 6f 6e 74 72 6f 6c 6c 65 72 44 72 61 67 48 65 6c 70 65 72 2e 63 75 72 72 65 6e | lacesControllerDragHelper.curren |
5a9a0 | 74 44 61 74 61 54 72 61 6e 73 66 65 72 20 3d 20 6e 75 6c 6c 3b 0a 20 20 7d 0a 7d 3b 0a 0a 2f 2a | tDataTransfer.=.null;...}.};../* |
5a9c0 | 2a 0a 20 2a 20 48 61 6e 64 6c 65 73 20 73 70 65 63 69 61 6c 20 64 72 61 67 20 61 6e 64 20 64 72 | *..*.Handles.special.drag.and.dr |
5a9e0 | 6f 70 20 66 75 6e 63 74 69 6f 6e 61 6c 69 74 79 20 66 6f 72 20 6d 65 6e 75 73 20 6f 6e 20 74 68 | op.functionality.for.menus.on.th |
5aa00 | 65 20 42 6f 6f 6b 6d 61 72 6b 73 20 0a 20 2a 20 54 6f 6f 6c 62 61 72 20 61 6e 64 20 42 6f 6f 6b | e.Bookmarks...*.Toolbar.and.Book |
5aa20 | 6d 61 72 6b 73 20 4d 65 6e 75 2e 0a 20 2a 2f 0a 76 61 72 20 50 6c 61 63 65 73 4d 65 6e 75 44 4e | marks.Menu...*/.var.PlacesMenuDN |
5aa40 | 44 43 6f 6e 74 72 6f 6c 6c 65 72 20 3d 20 7b 0a 20 20 5f 73 70 72 69 6e 67 4c 6f 61 64 44 65 6c | DController.=.{..._springLoadDel |
5aa60 | 61 79 3a 20 33 35 30 2c 20 2f 2f 20 6d 69 6c 6c 69 73 65 63 6f 6e 64 73 0a 0a 20 20 2f 2a 2a 0a | ay:.350,.//.milliseconds..../**. |
5aa80 | 20 20 20 2a 20 41 6c 6c 20 44 72 61 67 20 54 69 6d 65 72 73 20 73 65 74 20 66 6f 72 20 74 68 65 | ...*.All.Drag.Timers.set.for.the |
5aaa0 | 20 50 6c 61 63 65 73 20 55 49 0a 20 20 20 2a 2f 0a 20 20 5f 74 69 6d 65 72 73 3a 20 7b 20 7d 2c | .Places.UI....*/..._timers:.{.}, |
5aac0 | 0a 20 20 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 43 61 6c 6c 65 64 20 77 68 65 6e 20 74 68 65 20 75 | ....../**....*.Called.when.the.u |
5aae0 | 73 65 72 20 64 72 61 67 73 20 6f 76 65 72 20 74 68 65 20 42 6f 6f 6b 6d 61 72 6b 73 20 74 6f 70 | ser.drags.over.the.Bookmarks.top |
5ab00 | 20 6c 65 76 65 6c 20 3c 6d 65 6e 75 3e 20 65 6c 65 6d 65 6e 74 2e 0a 20 20 20 2a 20 40 70 61 72 | .level.<menu>.element.....*.@par |
5ab20 | 61 6d 20 20 20 65 76 65 6e 74 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 54 68 65 20 44 72 61 | am...event....*..........The.Dra |
5ab40 | 67 45 6e 74 65 72 20 65 76 65 6e 74 20 74 68 61 74 20 73 70 61 77 6e 65 64 20 74 68 65 20 6f 70 | gEnter.event.that.spawned.the.op |
5ab60 | 65 6e 69 6e 67 2e 20 0a 20 20 20 2a 2f 0a 20 20 6f 6e 42 6f 6f 6b 6d 61 72 6b 73 4d 65 6e 75 44 | ening......*/...onBookmarksMenuD |
5ab80 | 72 61 67 45 6e 74 65 72 3a 20 66 75 6e 63 74 69 6f 6e 20 50 4d 44 43 5f 6f 6e 44 72 61 67 45 6e | ragEnter:.function.PMDC_onDragEn |
5aba0 | 74 65 72 28 65 76 65 6e 74 29 20 7b 0a 20 20 20 20 69 66 20 28 22 6c 6f 61 64 54 69 6d 65 22 20 | ter(event).{.....if.("loadTime". |
5abc0 | 69 6e 20 74 68 69 73 2e 5f 74 69 6d 65 72 73 29 20 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a | in.this._timers)........return;. |
5abe0 | 20 20 20 20 0a 20 20 20 20 74 68 69 73 2e 5f 73 65 74 44 72 61 67 54 69 6d 65 72 28 22 6c 6f 61 | .........this._setDragTimer("loa |
5ac00 | 64 54 69 6d 65 22 2c 20 74 68 69 73 2e 5f 6f 70 65 6e 42 6f 6f 6b 6d 61 72 6b 73 4d 65 6e 75 2c | dTime",.this._openBookmarksMenu, |
5ac20 | 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 73 | .........................this._s |
5ac40 | 70 72 69 6e 67 4c 6f 61 64 44 65 6c 61 79 2c 20 5b 65 76 65 6e 74 5d 29 3b 0a 20 20 7d 2c 0a 20 | pringLoadDelay,.[event]);...},.. |
5ac60 | 20 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 43 72 65 61 74 65 73 20 61 20 74 69 6d 65 72 20 74 68 61 | ..../**....*.Creates.a.timer.tha |
5ac80 | 74 20 77 69 6c 6c 20 66 69 72 65 20 64 75 72 69 6e 67 20 61 20 64 72 61 67 20 61 6e 64 20 64 72 | t.will.fire.during.a.drag.and.dr |
5aca0 | 6f 70 20 6f 70 65 72 61 74 69 6f 6e 2e 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 20 20 69 64 0a 20 | op.operation.....*.@param...id.. |
5acc0 | 20 20 2a 20 20 20 20 20 20 20 20 20 20 54 68 65 20 69 64 65 6e 74 69 66 69 65 72 20 6f 66 20 74 | ..*..........The.identifier.of.t |
5ace0 | 68 65 20 74 69 6d 65 72 20 62 65 69 6e 67 20 73 65 74 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 20 | he.timer.being.set....*.@param.. |
5ad00 | 20 63 61 6c 6c 62 61 63 6b 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 54 68 65 20 66 75 6e 63 | .callback....*..........The.func |
5ad20 | 74 69 6f 6e 20 74 6f 20 63 61 6c 6c 20 77 68 65 6e 20 74 68 65 20 74 69 6d 65 72 20 22 66 69 72 | tion.to.call.when.the.timer."fir |
5ad40 | 65 73 22 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 20 20 64 65 6c 61 79 0a 20 20 20 2a 20 20 20 20 | es"....*.@param...delay....*.... |
5ad60 | 20 20 20 20 20 20 54 68 65 20 74 69 6d 65 20 74 6f 20 77 61 69 74 20 62 65 66 6f 72 65 20 63 61 | ......The.time.to.wait.before.ca |
5ad80 | 6c 6c 69 6e 67 20 74 68 65 20 63 61 6c 6c 62 61 63 6b 20 66 75 6e 63 74 69 6f 6e 0a 20 20 20 2a | lling.the.callback.function....* |
5ada0 | 20 40 70 61 72 61 6d 20 20 20 61 72 67 73 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 41 6e 20 | .@param...args....*..........An. |
5adc0 | 61 72 72 61 79 20 6f 66 20 61 72 67 75 6d 65 6e 74 73 20 74 6f 20 70 61 73 73 20 74 6f 20 74 68 | array.of.arguments.to.pass.to.th |
5ade0 | 65 20 63 61 6c 6c 62 61 63 6b 20 66 75 6e 63 74 69 6f 6e 0a 20 20 20 2a 2f 0a 20 20 5f 73 65 74 | e.callback.function....*/..._set |
5ae00 | 44 72 61 67 54 69 6d 65 72 3a 20 66 75 6e 63 74 69 6f 6e 20 50 4d 44 43 5f 5f 73 65 74 44 72 61 | DragTimer:.function.PMDC__setDra |
5ae20 | 67 54 69 6d 65 72 28 69 64 2c 20 63 61 6c 6c 62 61 63 6b 2c 20 64 65 6c 61 79 2c 20 61 72 67 73 | gTimer(id,.callback,.delay,.args |
5ae40 | 29 20 7b 0a 20 20 20 20 69 66 20 28 21 74 68 69 73 2e 5f 64 72 61 67 53 75 70 70 6f 72 74 65 64 | ).{.....if.(!this._dragSupported |
5ae60 | 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 20 20 2f 2f 20 43 61 6e 63 65 6c 20 74 | ).......return;......//.Cancel.t |
5ae80 | 68 69 73 20 74 69 6d 65 72 20 69 66 20 69 74 27 73 20 61 6c 72 65 61 64 79 20 72 75 6e 6e 69 6e | his.timer.if.it's.already.runnin |
5aea0 | 67 2e 0a 20 20 20 20 69 66 20 28 69 64 20 69 6e 20 74 68 69 73 2e 5f 74 69 6d 65 72 73 29 0a 20 | g......if.(id.in.this._timers).. |
5aec0 | 20 20 20 20 20 74 68 69 73 2e 5f 74 69 6d 65 72 73 5b 69 64 5d 2e 63 61 6e 63 65 6c 28 29 3b 0a | .....this._timers[id].cancel();. |
5aee0 | 20 20 20 20 20 20 0a 20 20 20 20 2f 2a 2a 0a 20 20 20 20 20 2a 20 41 6e 20 6f 62 6a 65 63 74 20 | .........../**......*.An.object. |
5af00 | 69 6d 70 6c 65 6d 65 6e 74 69 6e 67 20 6e 73 49 54 69 6d 65 72 43 61 6c 6c 62 61 63 6b 20 74 68 | implementing.nsITimerCallback.th |
5af20 | 61 74 20 63 61 6c 6c 73 20 61 20 75 73 65 72 2d 73 75 70 70 6c 69 65 64 0a 20 20 20 20 20 2a 20 | at.calls.a.user-supplied......*. |
5af40 | 6d 65 74 68 6f 64 20 77 69 74 68 20 74 68 65 20 73 70 65 63 69 66 69 65 64 20 61 72 67 73 20 69 | method.with.the.specified.args.i |
5af60 | 6e 20 74 68 65 20 63 6f 6e 74 65 78 74 20 6f 66 20 74 68 65 20 73 75 70 70 6c 69 65 64 20 6f 62 | n.the.context.of.the.supplied.ob |
5af80 | 6a 65 63 74 2e 0a 20 20 20 20 20 2a 2f 0a 20 20 20 20 66 75 6e 63 74 69 6f 6e 20 43 61 6c 6c 62 | ject.......*/.....function.Callb |
5afa0 | 61 63 6b 28 6f 62 6a 65 63 74 2c 20 6d 65 74 68 6f 64 2c 20 61 72 67 73 29 20 7b 0a 20 20 20 20 | ack(object,.method,.args).{..... |
5afc0 | 20 20 74 68 69 73 2e 5f 6d 65 74 68 6f 64 20 3d 20 6d 65 74 68 6f 64 3b 0a 20 20 20 20 20 20 74 | ..this._method.=.method;.......t |
5afe0 | 68 69 73 2e 5f 61 72 67 73 20 3d 20 61 72 67 73 3b 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 6f 62 | his._args.=.args;.......this._ob |
5b000 | 6a 65 63 74 20 3d 20 6f 62 6a 65 63 74 3b 0a 20 20 20 20 7d 0a 20 20 20 20 43 61 6c 6c 62 61 63 | ject.=.object;.....}.....Callbac |
5b020 | 6b 2e 70 72 6f 74 6f 74 79 70 65 20 3d 20 7b 0a 20 20 20 20 20 20 6e 6f 74 69 66 79 3a 20 66 75 | k.prototype.=.{.......notify:.fu |
5b040 | 6e 63 74 69 6f 6e 20 43 5f 6e 6f 74 69 66 79 28 74 69 6d 65 72 29 20 7b 0a 20 20 20 20 20 20 20 | nction.C_notify(timer).{........ |
5b060 | 20 74 68 69 73 2e 5f 6d 65 74 68 6f 64 2e 61 70 70 6c 79 28 74 68 69 73 2e 5f 6f 62 6a 65 63 74 | .this._method.apply(this._object |
5b080 | 2c 20 74 68 69 73 2e 5f 61 72 67 73 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 3b 0a 20 20 | ,.this._args);.......}.....};... |
5b0a0 | 20 20 0a 20 20 20 20 76 61 72 20 74 69 6d 65 72 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e | .......var.timer.=.Cc["@mozilla. |
5b0c0 | 6f 72 67 2f 74 69 6d 65 72 3b 31 22 5d 2e 63 72 65 61 74 65 49 6e 73 74 61 6e 63 65 28 43 69 2e | org/timer;1"].createInstance(Ci. |
5b0e0 | 6e 73 49 54 69 6d 65 72 29 3b 0a 20 20 20 20 74 69 6d 65 72 2e 69 6e 69 74 57 69 74 68 43 61 6c | nsITimer);.....timer.initWithCal |
5b100 | 6c 62 61 63 6b 28 6e 65 77 20 43 61 6c 6c 62 61 63 6b 28 74 68 69 73 2c 20 63 61 6c 6c 62 61 63 | lback(new.Callback(this,.callbac |
5b120 | 6b 2c 20 61 72 67 73 29 2c 20 64 65 6c 61 79 2c 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | k,.args),.delay,................ |
5b140 | 20 20 20 20 20 20 20 20 20 20 20 20 20 74 69 6d 65 72 2e 54 59 50 45 5f 4f 4e 45 5f 53 48 4f 54 | .............timer.TYPE_ONE_SHOT |
5b160 | 29 3b 0a 20 20 20 20 74 68 69 73 2e 5f 74 69 6d 65 72 73 5b 69 64 5d 20 3d 20 74 69 6d 65 72 3b | );.....this._timers[id].=.timer; |
5b180 | 0a 20 20 7d 2c 0a 20 20 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 44 65 74 65 72 6d 69 6e 65 73 20 69 | ...},....../**....*.Determines.i |
5b1a0 | 66 20 61 20 58 55 4c 20 65 6c 65 6d 65 6e 74 20 72 65 70 72 65 73 65 6e 74 73 20 61 20 63 6f 6e | f.a.XUL.element.represents.a.con |
5b1c0 | 74 61 69 6e 65 72 20 69 6e 20 74 68 65 20 42 6f 6f 6b 6d 61 72 6b 73 20 73 79 73 74 65 6d 0a 20 | tainer.in.the.Bookmarks.system.. |
5b1e0 | 20 20 2a 20 40 72 65 74 75 72 6e 73 20 74 72 75 65 20 69 66 20 74 68 65 20 65 6c 65 6d 65 6e 74 | ..*.@returns.true.if.the.element |
5b200 | 20 69 73 20 61 20 63 6f 6e 74 61 69 6e 65 72 20 65 6c 65 6d 65 6e 74 20 28 6d 65 6e 75 20 6f 72 | .is.a.container.element.(menu.or |
5b220 | 20 0a 20 20 20 2a 60 20 20 20 20 20 20 20 20 20 6d 65 6e 75 2d 74 6f 6f 6c 62 61 72 62 75 74 74 | .....*`.........menu-toolbarbutt |
5b240 | 6f 6e 29 2c 20 66 61 6c 73 65 20 6f 74 68 65 72 77 69 73 65 2e 0a 20 20 20 2a 2f 0a 20 20 5f 69 | on),.false.otherwise.....*/..._i |
5b260 | 73 43 6f 6e 74 61 69 6e 65 72 3a 20 66 75 6e 63 74 69 6f 6e 20 50 4d 44 43 5f 5f 69 73 43 6f 6e | sContainer:.function.PMDC__isCon |
5b280 | 74 61 69 6e 65 72 28 6e 6f 64 65 29 20 7b 0a 20 20 20 20 72 65 74 75 72 6e 20 6e 6f 64 65 2e 6c | tainer(node).{.....return.node.l |
5b2a0 | 6f 63 61 6c 4e 61 6d 65 20 3d 3d 20 22 6d 65 6e 75 22 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 | ocalName.==."menu".||........... |
5b2c0 | 20 28 6e 6f 64 65 2e 6c 6f 63 61 6c 4e 61 6d 65 20 3d 3d 20 22 74 6f 6f 6c 62 61 72 62 75 74 74 | .(node.localName.==."toolbarbutt |
5b2e0 | 6f 6e 22 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 6e 6f 64 65 2e 67 65 74 41 74 74 72 69 | on".&&.............node.getAttri |
5b300 | 62 75 74 65 28 22 74 79 70 65 22 29 20 3d 3d 20 22 6d 65 6e 75 22 29 3b 0a 20 20 7d 2c 0a 20 20 | bute("type").==."menu");...},... |
5b320 | 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 4f 70 65 6e 73 20 74 68 65 20 42 6f 6f 6b 6d 61 72 6b 73 20 | .../**....*.Opens.the.Bookmarks. |
5b340 | 4d 65 6e 75 20 77 68 65 6e 20 69 74 20 69 73 20 64 72 61 67 67 65 64 20 6f 76 65 72 2e 20 28 54 | Menu.when.it.is.dragged.over..(T |
5b360 | 68 69 73 20 69 73 20 73 70 65 63 69 61 6c 2d 63 61 73 65 64 2c 20 0a 20 20 20 2a 20 73 69 6e 63 | his.is.special-cased,.....*.sinc |
5b380 | 65 20 74 68 65 20 74 6f 70 6c 65 76 65 6c 20 42 6f 6f 6b 6d 61 72 6b 73 20 3c 6d 65 6e 75 3e 20 | e.the.toplevel.Bookmarks.<menu>. |
5b3a0 | 69 73 20 6e 6f 74 20 61 20 6d 65 6d 62 65 72 20 6f 66 20 61 6e 20 65 78 69 73 74 69 6e 67 20 70 | is.not.a.member.of.an.existing.p |
5b3c0 | 6c 61 63 65 73 0a 20 20 20 2a 20 63 6f 6e 74 61 69 6e 65 72 2c 20 61 73 20 66 6f 6c 64 65 72 73 | laces....*.container,.as.folders |
5b3e0 | 20 6f 6e 20 74 68 65 20 70 65 72 73 6f 6e 61 6c 20 74 6f 6f 6c 62 61 72 20 6f 72 20 73 75 62 6d | .on.the.personal.toolbar.or.subm |
5b400 | 65 6e 75 73 20 61 72 65 2e 20 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 20 20 65 76 65 6e 74 0a 20 | enus.are......*.@param...event.. |
5b420 | 20 20 2a 20 20 20 20 20 20 20 20 20 20 54 68 65 20 44 72 61 67 45 6e 74 65 72 20 65 76 65 6e 74 | ..*..........The.DragEnter.event |
5b440 | 20 74 68 61 74 20 73 70 61 77 6e 65 64 20 74 68 65 20 6f 70 65 6e 69 6e 67 2e 20 0a 20 20 20 2a | .that.spawned.the.opening......* |
5b460 | 2f 0a 20 20 5f 6f 70 65 6e 42 6f 6f 6b 6d 61 72 6b 73 4d 65 6e 75 3a 20 66 75 6e 63 74 69 6f 6e | /..._openBookmarksMenu:.function |
5b480 | 20 50 4d 44 43 5f 5f 6f 70 65 6e 42 6f 6f 6b 6d 61 72 6b 73 4d 65 6e 75 28 65 76 65 6e 74 29 20 | .PMDC__openBookmarksMenu(event). |
5b4a0 | 7b 0a 20 20 20 20 69 66 20 28 22 6c 6f 61 64 54 69 6d 65 22 20 69 6e 20 74 68 69 73 2e 5f 74 69 | {.....if.("loadTime".in.this._ti |
5b4c0 | 6d 65 72 73 29 0a 20 20 20 20 20 20 64 65 6c 65 74 65 20 74 68 69 73 2e 5f 74 69 6d 65 72 73 2e | mers).......delete.this._timers. |
5b4e0 | 6c 6f 61 64 54 69 6d 65 3b 0a 20 20 20 20 69 66 20 28 65 76 65 6e 74 2e 74 61 72 67 65 74 2e 69 | loadTime;.....if.(event.target.i |
5b500 | 64 20 3d 3d 20 22 62 6f 6f 6b 6d 61 72 6b 73 4d 65 6e 75 22 29 20 7b 0a 20 20 20 20 20 20 2f 2f | d.==."bookmarksMenu").{.......// |
5b520 | 20 49 66 20 74 68 69 73 20 69 73 20 74 68 65 20 62 6f 6f 6b 6d 61 72 6b 73 20 6d 65 6e 75 2c 20 | .If.this.is.the.bookmarks.menu,. |
5b540 | 74 65 6c 6c 20 69 74 73 20 6d 65 6e 75 70 6f 70 75 70 20 63 68 69 6c 64 20 74 6f 20 73 68 6f 77 | tell.its.menupopup.child.to.show |
5b560 | 2e 0a 20 20 20 20 20 20 65 76 65 6e 74 2e 74 61 72 67 65 74 2e 6c 61 73 74 43 68 69 6c 64 2e 73 | ........event.target.lastChild.s |
5b580 | 65 74 41 74 74 72 69 62 75 74 65 28 22 61 75 74 6f 6f 70 65 6e 65 64 22 2c 20 22 74 72 75 65 22 | etAttribute("autoopened",."true" |
5b5a0 | 29 3b 0a 20 20 20 20 20 20 65 76 65 6e 74 2e 74 61 72 67 65 74 2e 6c 61 73 74 43 68 69 6c 64 2e | );.......event.target.lastChild. |
5b5c0 | 73 68 6f 77 50 6f 70 75 70 28 65 76 65 6e 74 2e 74 61 72 67 65 74 2e 6c 61 73 74 43 68 69 6c 64 | showPopup(event.target.lastChild |
5b5e0 | 29 3b 0a 20 20 20 20 7d 20 20 0a 20 20 7d 2c 0a 0a 20 20 2f 2f 20 57 68 65 74 68 65 72 20 6f 72 | );.....}.....},....//.Whether.or |
5b600 | 20 6e 6f 74 20 64 72 61 67 20 61 6e 64 20 64 72 6f 70 20 74 6f 20 6d 65 6e 75 73 20 69 73 20 73 | .not.drag.and.drop.to.menus.is.s |
5b620 | 75 70 70 6f 72 74 65 64 20 6f 6e 20 74 68 69 73 20 70 6c 61 74 66 6f 72 6d 0a 20 20 2f 2f 20 44 | upported.on.this.platform...//.D |
5b640 | 72 61 67 67 69 6e 67 20 69 6e 20 6d 65 6e 75 73 20 69 73 20 64 69 73 61 62 6c 65 64 20 6f 6e 20 | ragging.in.menus.is.disabled.on. |
5b660 | 4f 53 20 58 20 64 75 65 20 74 6f 20 76 61 72 69 6f 75 73 20 72 65 70 61 69 6e 74 69 6e 67 20 69 | OS.X.due.to.various.repainting.i |
5b680 | 73 73 75 65 73 2e 0a 2f 2f 40 6c 69 6e 65 20 39 35 33 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 | ssues..//@line.953."/builds/moz2 |
5b6a0 | 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 | _slave/linux_build/build/browser |
5b6c0 | 2f 62 61 73 65 2f 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2d 70 6c 61 63 65 73 2e 6a 73 22 | /base/content/browser-places.js" |
5b6e0 | 0a 20 20 5f 64 72 61 67 53 75 70 70 6f 72 74 65 64 3a 20 74 72 75 65 0a 2f 2f 40 6c 69 6e 65 20 | ..._dragSupported:.true.//@line. |
5b700 | 39 35 35 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 | 955."/builds/moz2_slave/linux_bu |
5b720 | 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 62 61 73 65 2f 63 6f 6e 74 65 6e 74 2f 62 | ild/build/browser/base/content/b |
5b740 | 72 6f 77 73 65 72 2d 70 6c 61 63 65 73 2e 6a 73 22 0a 7d 3b 0a 0a 76 61 72 20 50 6c 61 63 65 73 | rowser-places.js".};..var.Places |
5b760 | 53 74 61 72 42 75 74 74 6f 6e 20 3d 20 7b 0a 20 20 69 6e 69 74 3a 20 66 75 6e 63 74 69 6f 6e 20 | StarButton.=.{...init:.function. |
5b780 | 50 53 42 5f 69 6e 69 74 28 29 20 7b 0a 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 50 6c 61 | PSB_init().{.....try.{.......Pla |
5b7a0 | 63 65 73 55 74 69 6c 73 2e 62 6f 6f 6b 6d 61 72 6b 73 2e 61 64 64 4f 62 73 65 72 76 65 72 28 74 | cesUtils.bookmarks.addObserver(t |
5b7c0 | 68 69 73 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 20 7d 20 63 61 74 63 68 28 65 78 29 20 7b 0a 20 | his,.false);.....}.catch(ex).{.. |
5b7e0 | 20 20 20 20 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 75 74 69 6c 73 2e 72 65 70 6f 72 74 45 72 72 6f | .....Components.utils.reportErro |
5b800 | 72 28 22 50 6c 61 63 65 73 53 74 61 72 42 75 74 74 6f 6e 2e 69 6e 69 74 28 29 3a 20 65 72 72 6f | r("PlacesStarButton.init():.erro |
5b820 | 72 20 61 64 64 69 6e 67 20 62 6f 6f 6b 6d 61 72 6b 20 6f 62 73 65 72 76 65 72 3a 20 22 20 2b 20 | r.adding.bookmark.observer:.".+. |
5b840 | 65 78 29 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 75 6e 69 6e 69 74 3a 20 66 75 6e 63 74 | ex);.....}...},....uninit:.funct |
5b860 | 69 6f 6e 20 50 53 42 5f 75 6e 69 6e 69 74 28 29 20 7b 0a 20 20 20 20 50 6c 61 63 65 73 55 74 69 | ion.PSB_uninit().{.....PlacesUti |
5b880 | 6c 73 2e 62 6f 6f 6b 6d 61 72 6b 73 2e 72 65 6d 6f 76 65 4f 62 73 65 72 76 65 72 28 74 68 69 73 | ls.bookmarks.removeObserver(this |
5b8a0 | 29 3b 0a 20 20 7d 2c 0a 0a 20 20 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 3a 20 66 75 6e 63 74 | );...},....QueryInterface:.funct |
5b8c0 | 69 6f 6e 20 50 53 42 5f 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 28 61 49 49 44 29 20 7b 0a 20 | ion.PSB_QueryInterface(aIID).{.. |
5b8e0 | 20 20 20 69 66 20 28 61 49 49 44 2e 65 71 75 61 6c 73 28 43 69 2e 6e 73 49 4e 61 76 42 6f 6f 6b | ...if.(aIID.equals(Ci.nsINavBook |
5b900 | 6d 61 72 6b 4f 62 73 65 72 76 65 72 29 20 7c 7c 0a 20 20 20 20 20 20 20 20 61 49 49 44 2e 65 71 | markObserver).||.........aIID.eq |
5b920 | 75 61 6c 73 28 43 69 2e 6e 73 49 53 75 70 70 6f 72 74 73 29 29 0a 20 20 20 20 20 20 72 65 74 75 | uals(Ci.nsISupports)).......retu |
5b940 | 72 6e 20 74 68 69 73 3b 0a 0a 20 20 20 20 74 68 72 6f 77 20 43 72 2e 4e 53 5f 4e 4f 49 4e 54 45 | rn.this;......throw.Cr.NS_NOINTE |
5b960 | 52 46 41 43 45 3b 0a 20 20 7d 2c 0a 0a 20 20 5f 73 74 61 72 72 65 64 3a 20 66 61 6c 73 65 2c 0a | RFACE;...},...._starred:.false,. |
5b980 | 20 20 5f 62 61 74 63 68 69 6e 67 3a 20 66 61 6c 73 65 2c 0a 0a 20 20 75 70 64 61 74 65 53 74 61 | .._batching:.false,....updateSta |
5b9a0 | 74 65 3a 20 66 75 6e 63 74 69 6f 6e 20 50 53 42 5f 75 70 64 61 74 65 53 74 61 74 65 28 29 20 7b | te:.function.PSB_updateState().{ |
5b9c0 | 0a 20 20 20 20 76 61 72 20 73 74 61 72 49 63 6f 6e 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 | .....var.starIcon.=.document.get |
5b9e0 | 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 73 74 61 72 2d 62 75 74 74 6f 6e 22 29 3b 0a 20 20 20 20 | ElementById("star-button");..... |
5ba00 | 69 66 20 28 21 73 74 61 72 49 63 6f 6e 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 | if.(!starIcon).......return;.... |
5ba20 | 20 20 76 61 72 20 62 72 6f 77 73 65 72 42 75 6e 64 6c 65 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 | ..var.browserBundle.=.document.g |
5ba40 | 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 62 75 6e 64 6c 65 5f 62 72 6f 77 73 65 72 22 29 3b | etElementById("bundle_browser"); |
5ba60 | 0a 20 20 20 20 76 61 72 20 75 72 69 20 3d 20 67 65 74 42 72 6f 77 73 65 72 28 29 2e 63 75 72 72 | .....var.uri.=.getBrowser().curr |
5ba80 | 65 6e 74 55 52 49 3b 0a 20 20 20 20 74 68 69 73 2e 5f 73 74 61 72 72 65 64 20 3d 20 75 72 69 20 | entURI;.....this._starred.=.uri. |
5baa0 | 26 26 20 28 50 6c 61 63 65 73 55 74 69 6c 73 2e 67 65 74 4d 6f 73 74 52 65 63 65 6e 74 42 6f 6f | &&.(PlacesUtils.getMostRecentBoo |
5bac0 | 6b 6d 61 72 6b 46 6f 72 55 52 49 28 75 72 69 29 20 21 3d 20 2d 31 20 7c 7c 0a 20 20 20 20 20 20 | kmarkForURI(uri).!=.-1.||....... |
5bae0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 55 74 69 6c | ......................PlacesUtil |
5bb00 | 73 2e 67 65 74 4d 6f 73 74 52 65 63 65 6e 74 46 6f 6c 64 65 72 46 6f 72 46 65 65 64 55 52 49 28 | s.getMostRecentFolderForFeedURI( |
5bb20 | 75 72 69 29 20 21 3d 20 2d 31 29 3b 0a 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 73 74 61 72 72 | uri).!=.-1);.....if.(this._starr |
5bb40 | 65 64 29 20 7b 0a 20 20 20 20 20 20 73 74 61 72 49 63 6f 6e 2e 73 65 74 41 74 74 72 69 62 75 74 | ed).{.......starIcon.setAttribut |
5bb60 | 65 28 22 73 74 61 72 72 65 64 22 2c 20 22 74 72 75 65 22 29 3b 0a 20 20 20 20 20 20 73 74 61 72 | e("starred",."true");.......star |
5bb80 | 49 63 6f 6e 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 74 6f 6f 6c 74 69 70 74 65 78 74 22 2c | Icon.setAttribute("tooltiptext", |
5bba0 | 20 62 72 6f 77 73 65 72 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 73 74 61 72 42 75 | .browserBundle.getString("starBu |
5bbc0 | 74 74 6f 6e 4f 6e 2e 74 6f 6f 6c 74 69 70 22 29 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 65 6c 73 | ttonOn.tooltip"));.....}.....els |
5bbe0 | 65 20 7b 0a 20 20 20 20 20 20 73 74 61 72 49 63 6f 6e 2e 72 65 6d 6f 76 65 41 74 74 72 69 62 75 | e.{.......starIcon.removeAttribu |
5bc00 | 74 65 28 22 73 74 61 72 72 65 64 22 29 3b 0a 20 20 20 20 20 20 73 74 61 72 49 63 6f 6e 2e 73 65 | te("starred");.......starIcon.se |
5bc20 | 74 41 74 74 72 69 62 75 74 65 28 22 74 6f 6f 6c 74 69 70 74 65 78 74 22 2c 20 62 72 6f 77 73 65 | tAttribute("tooltiptext",.browse |
5bc40 | 72 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 73 74 61 72 42 75 74 74 6f 6e 4f 66 66 | rBundle.getString("starButtonOff |
5bc60 | 2e 74 6f 6f 6c 74 69 70 22 29 29 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 6f 6e 43 6c 69 | .tooltip"));.....}...},....onCli |
5bc80 | 63 6b 3a 20 66 75 6e 63 74 69 6f 6e 20 50 53 42 5f 6f 6e 43 6c 69 63 6b 28 61 45 76 65 6e 74 29 | ck:.function.PSB_onClick(aEvent) |
5bca0 | 20 7b 0a 20 20 20 20 69 66 20 28 61 45 76 65 6e 74 2e 62 75 74 74 6f 6e 20 3d 3d 20 30 29 0a 20 | .{.....if.(aEvent.button.==.0).. |
5bcc0 | 20 20 20 20 20 50 6c 61 63 65 73 43 6f 6d 6d 61 6e 64 48 6f 6f 6b 2e 62 6f 6f 6b 6d 61 72 6b 43 | .....PlacesCommandHook.bookmarkC |
5bce0 | 75 72 72 65 6e 74 50 61 67 65 28 74 68 69 73 2e 5f 73 74 61 72 72 65 64 29 3b 0a 0a 20 20 20 20 | urrentPage(this._starred);...... |
5bd00 | 2f 2f 20 64 6f 6e 27 74 20 62 75 62 62 6c 65 20 74 6f 20 74 68 65 20 74 65 78 74 62 6f 78 20 73 | //.don't.bubble.to.the.textbox.s |
5bd20 | 6f 20 74 68 61 74 20 74 68 65 20 61 64 64 72 65 73 73 20 77 6f 6e 27 74 20 62 65 20 73 65 6c 65 | o.that.the.address.won't.be.sele |
5bd40 | 63 74 65 64 0a 20 20 20 20 61 45 76 65 6e 74 2e 73 74 6f 70 50 72 6f 70 61 67 61 74 69 6f 6e 28 | cted.....aEvent.stopPropagation( |
5bd60 | 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2f 20 6e 73 49 4e 61 76 42 6f 6f 6b 6d 61 72 6b 4f 62 73 65 | );...},....//.nsINavBookmarkObse |
5bd80 | 72 76 65 72 20 20 0a 20 20 6f 6e 42 65 67 69 6e 55 70 64 61 74 65 42 61 74 63 68 3a 20 66 75 6e | rver.....onBeginUpdateBatch:.fun |
5bda0 | 63 74 69 6f 6e 20 50 53 42 5f 6f 6e 42 65 67 69 6e 55 70 64 61 74 65 42 61 74 63 68 28 29 20 7b | ction.PSB_onBeginUpdateBatch().{ |
5bdc0 | 0a 20 20 20 20 74 68 69 73 2e 5f 62 61 74 63 68 69 6e 67 20 3d 20 74 72 75 65 3b 0a 20 20 7d 2c | .....this._batching.=.true;...}, |
5bde0 | 0a 0a 20 20 6f 6e 45 6e 64 55 70 64 61 74 65 42 61 74 63 68 3a 20 66 75 6e 63 74 69 6f 6e 20 50 | ....onEndUpdateBatch:.function.P |
5be00 | 53 42 5f 6f 6e 45 6e 64 55 70 64 61 74 65 42 61 74 63 68 28 29 20 7b 0a 20 20 20 20 74 68 69 73 | SB_onEndUpdateBatch().{.....this |
5be20 | 2e 75 70 64 61 74 65 53 74 61 74 65 28 29 3b 0a 20 20 20 20 74 68 69 73 2e 5f 62 61 74 63 68 69 | .updateState();.....this._batchi |
5be40 | 6e 67 20 3d 20 66 61 6c 73 65 3b 0a 20 20 7d 2c 0a 20 20 0a 20 20 6f 6e 49 74 65 6d 41 64 64 65 | ng.=.false;...},......onItemAdde |
5be60 | 64 3a 20 66 75 6e 63 74 69 6f 6e 20 50 53 42 5f 6f 6e 49 74 65 6d 41 64 64 65 64 28 61 49 74 65 | d:.function.PSB_onItemAdded(aIte |
5be80 | 6d 49 64 2c 20 61 46 6f 6c 64 65 72 2c 20 61 49 6e 64 65 78 29 20 7b 0a 20 20 20 20 69 66 20 28 | mId,.aFolder,.aIndex).{.....if.( |
5bea0 | 21 74 68 69 73 2e 5f 62 61 74 63 68 69 6e 67 20 26 26 20 21 74 68 69 73 2e 5f 73 74 61 72 72 65 | !this._batching.&&.!this._starre |
5bec0 | 64 29 0a 20 20 20 20 20 20 74 68 69 73 2e 75 70 64 61 74 65 53 74 61 74 65 28 29 3b 0a 20 20 7d | d).......this.updateState();...} |
5bee0 | 2c 0a 0a 20 20 6f 6e 49 74 65 6d 52 65 6d 6f 76 65 64 3a 20 66 75 6e 63 74 69 6f 6e 20 50 53 42 | ,....onItemRemoved:.function.PSB |
5bf00 | 5f 6f 6e 49 74 65 6d 52 65 6d 6f 76 65 64 28 61 49 74 65 6d 49 64 2c 20 61 46 6f 6c 64 65 72 2c | _onItemRemoved(aItemId,.aFolder, |
5bf20 | 20 61 49 6e 64 65 78 29 20 7b 0a 20 20 20 20 69 66 20 28 21 74 68 69 73 2e 5f 62 61 74 63 68 69 | .aIndex).{.....if.(!this._batchi |
5bf40 | 6e 67 29 0a 20 20 20 20 20 20 74 68 69 73 2e 75 70 64 61 74 65 53 74 61 74 65 28 29 3b 0a 20 20 | ng).......this.updateState();... |
5bf60 | 7d 2c 0a 0a 20 20 6f 6e 49 74 65 6d 43 68 61 6e 67 65 64 3a 20 66 75 6e 63 74 69 6f 6e 20 50 53 | },....onItemChanged:.function.PS |
5bf80 | 42 5f 6f 6e 49 74 65 6d 43 68 61 6e 67 65 64 28 61 49 74 65 6d 49 64 2c 20 61 50 72 6f 70 65 72 | B_onItemChanged(aItemId,.aProper |
5bfa0 | 74 79 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ty,............................. |
5bfc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 49 73 41 6e 6e 6f 74 61 74 69 6f 6e 50 72 6f | ................aIsAnnotationPro |
5bfe0 | 70 65 72 74 79 2c 20 61 56 61 6c 75 65 29 20 7b 0a 20 20 20 20 69 66 20 28 21 74 68 69 73 2e 5f | perty,.aValue).{.....if.(!this._ |
5c000 | 62 61 74 63 68 69 6e 67 20 26 26 20 61 50 72 6f 70 65 72 74 79 20 3d 3d 20 22 75 72 69 22 29 0a | batching.&&.aProperty.==."uri"). |
5c020 | 20 20 20 20 20 20 74 68 69 73 2e 75 70 64 61 74 65 53 74 61 74 65 28 29 3b 0a 20 20 7d 2c 0a 0a | ......this.updateState();...},.. |
5c040 | 20 20 6f 6e 49 74 65 6d 56 69 73 69 74 65 64 3a 20 66 75 6e 63 74 69 6f 6e 28 29 20 7b 20 7d 2c | ..onItemVisited:.function().{.}, |
5c060 | 0a 20 20 6f 6e 49 74 65 6d 4d 6f 76 65 64 3a 20 66 75 6e 63 74 69 6f 6e 28 29 20 7b 20 7d 0a 7d | ...onItemMoved:.function().{.}.} |
5c080 | 3b 0a 2f 2f 40 6c 69 6e 65 20 36 32 35 37 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 | ;.//@line.6257."/builds/moz2_sla |
5c0a0 | 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 62 61 73 | ve/linux_build/build/browser/bas |
5c0c0 | 65 2f 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2e 6a 73 22 0a 0a 2f 2a 0a 2f 2f 40 6c 69 6e | e/content/browser.js"../*.//@lin |
5c0e0 | 65 20 34 31 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 | e.41."/builds/moz2_slave/linux_b |
5c100 | 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 62 61 73 65 2f 63 6f 6e 74 65 6e 74 2f | uild/build/browser/base/content/ |
5c120 | 62 72 6f 77 73 65 72 2d 74 65 78 74 5a 6f 6f 6d 2e 6a 73 22 0a 20 2a 2f 0a 0a 2f 2f 20 4f 6e 65 | browser-textZoom.js"..*/..//.One |
5c140 | 20 6f 66 20 74 68 65 20 70 6f 73 73 69 62 6c 65 20 76 61 6c 75 65 73 20 66 6f 72 20 74 68 65 20 | .of.the.possible.values.for.the. |
5c160 | 6d 6f 75 73 65 77 68 65 65 6c 2e 2a 20 70 72 65 66 65 72 65 6e 63 65 73 2e 0a 2f 2f 20 46 72 6f | mousewheel.*.preferences..//.Fro |
5c180 | 6d 20 6e 73 45 76 65 6e 74 53 74 61 74 65 4d 61 6e 61 67 65 72 2e 63 70 70 2e 0a 63 6f 6e 73 74 | m.nsEventStateManager.cpp..const |
5c1a0 | 20 4d 4f 55 53 45 5f 53 43 52 4f 4c 4c 5f 5a 4f 4f 4d 20 3d 20 33 3b 0a 0a 2f 2a 2a 0a 20 2a 20 | .MOUSE_SCROLL_ZOOM.=.3;../**..*. |
5c1c0 | 43 6f 6e 74 72 6f 6c 73 20 74 68 65 20 22 66 75 6c 6c 20 7a 6f 6f 6d 22 20 73 65 74 74 69 6e 67 | Controls.the."full.zoom".setting |
5c1e0 | 20 61 6e 64 20 69 74 73 20 73 69 74 65 2d 73 70 65 63 69 66 69 63 20 70 72 65 66 65 72 65 6e 63 | .and.its.site-specific.preferenc |
5c200 | 65 73 2e 0a 20 2a 2f 0a 76 61 72 20 46 75 6c 6c 5a 6f 6f 6d 20 3d 20 7b 0a 0a 20 20 2f 2f 2a 2a | es...*/.var.FullZoom.=.{....//** |
5c220 | 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a | ******************************** |
5c240 | 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a | ******************************** |
5c260 | 2a 2a 2a 2a 2a 2a 2a 2a 2f 2f 0a 20 20 2f 2f 20 4e 61 6d 65 20 26 20 56 61 6c 75 65 73 0a 0a 20 | ********//...//.Name.&.Values... |
5c280 | 20 2f 2f 20 54 68 65 20 6e 61 6d 65 20 6f 66 20 74 68 65 20 73 65 74 74 69 6e 67 2e 20 20 49 64 | .//.The.name.of.the.setting...Id |
5c2a0 | 65 6e 74 69 66 69 65 73 20 74 68 65 20 73 65 74 74 69 6e 67 20 69 6e 20 74 68 65 20 70 72 65 66 | entifies.the.setting.in.the.pref |
5c2c0 | 73 20 64 61 74 61 62 61 73 65 2e 0a 20 20 6e 61 6d 65 3a 20 22 62 72 6f 77 73 65 72 2e 63 6f 6e | s.database....name:."browser.con |
5c2e0 | 74 65 6e 74 2e 66 75 6c 6c 2d 7a 6f 6f 6d 22 2c 0a 0a 20 20 2f 2f 20 54 68 65 20 67 6c 6f 62 61 | tent.full-zoom",....//.The.globa |
5c300 | 6c 20 76 61 6c 75 65 20 28 69 66 20 61 6e 79 29 20 66 6f 72 20 74 68 65 20 73 65 74 74 69 6e 67 | l.value.(if.any).for.the.setting |
5c320 | 2e 20 20 4c 61 7a 69 6c 79 20 6c 6f 61 64 65 64 20 66 72 6f 6d 20 74 68 65 20 73 65 72 76 69 63 | ...Lazily.loaded.from.the.servic |
5c340 | 65 0a 20 20 2f 2f 20 77 68 65 6e 20 66 69 72 73 74 20 72 65 71 75 65 73 74 65 64 2c 20 74 68 65 | e...//.when.first.requested,.the |
5c360 | 6e 20 75 70 64 61 74 65 64 20 62 79 20 74 68 65 20 70 72 65 66 20 63 68 61 6e 67 65 20 6c 69 73 | n.updated.by.the.pref.change.lis |
5c380 | 74 65 6e 65 72 20 61 73 20 69 74 20 63 68 61 6e 67 65 73 2e 0a 20 20 2f 2f 20 49 66 20 74 68 65 | tener.as.it.changes....//.If.the |
5c3a0 | 72 65 20 69 73 20 6e 6f 20 67 6c 6f 62 61 6c 20 76 61 6c 75 65 2c 20 74 68 65 6e 20 74 68 69 73 | re.is.no.global.value,.then.this |
5c3c0 | 20 73 68 6f 75 6c 64 20 62 65 20 75 6e 64 65 66 69 6e 65 64 2e 0a 20 20 67 65 74 20 67 6c 6f 62 | .should.be.undefined....get.glob |
5c3e0 | 61 6c 56 61 6c 75 65 20 46 75 6c 6c 5a 6f 6f 6d 5f 67 65 74 5f 67 6c 6f 62 61 6c 56 61 6c 75 65 | alValue.FullZoom_get_globalValue |
5c400 | 28 29 20 7b 0a 20 20 20 20 76 61 72 20 67 6c 6f 62 61 6c 56 61 6c 75 65 20 3d 20 74 68 69 73 2e | ().{.....var.globalValue.=.this. |
5c420 | 5f 63 70 73 2e 67 65 74 50 72 65 66 28 6e 75 6c 6c 2c 20 74 68 69 73 2e 6e 61 6d 65 29 3b 0a 20 | _cps.getPref(null,.this.name);.. |
5c440 | 20 20 20 69 66 20 28 74 79 70 65 6f 66 20 67 6c 6f 62 61 6c 56 61 6c 75 65 20 21 3d 20 22 75 6e | ...if.(typeof.globalValue.!=."un |
5c460 | 64 65 66 69 6e 65 64 22 29 0a 20 20 20 20 20 20 67 6c 6f 62 61 6c 56 61 6c 75 65 20 3d 20 74 68 | defined").......globalValue.=.th |
5c480 | 69 73 2e 5f 65 6e 73 75 72 65 56 61 6c 69 64 28 67 6c 6f 62 61 6c 56 61 6c 75 65 29 3b 0a 20 20 | is._ensureValid(globalValue);... |
5c4a0 | 20 20 64 65 6c 65 74 65 20 74 68 69 73 2e 67 6c 6f 62 61 6c 56 61 6c 75 65 3b 0a 20 20 20 20 72 | ..delete.this.globalValue;.....r |
5c4c0 | 65 74 75 72 6e 20 74 68 69 73 2e 67 6c 6f 62 61 6c 56 61 6c 75 65 20 3d 20 67 6c 6f 62 61 6c 56 | eturn.this.globalValue.=.globalV |
5c4e0 | 61 6c 75 65 3b 0a 20 20 7d 2c 0a 0a 0a 20 20 2f 2f 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a | alue;...},.....//*************** |
5c500 | 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a | ******************************** |
5c520 | 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2f 2f 0a 20 20 | ***************************//... |
5c540 | 2f 2f 20 43 6f 6e 76 65 6e 69 65 6e 63 65 20 47 65 74 74 65 72 73 0a 0a 20 20 2f 2f 20 43 6f 6e | //.Convenience.Getters....//.Con |
5c560 | 74 65 6e 74 20 50 72 65 66 20 53 65 72 76 69 63 65 0a 20 20 67 65 74 20 5f 63 70 73 20 46 75 6c | tent.Pref.Service...get._cps.Ful |
5c580 | 6c 5a 6f 6f 6d 5f 67 65 74 5f 5f 63 70 73 28 29 20 7b 0a 20 20 20 20 64 65 6c 65 74 65 20 74 68 | lZoom_get__cps().{.....delete.th |
5c5a0 | 69 73 2e 5f 63 70 73 3b 0a 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 63 70 73 20 3d 20 | is._cps;.....return.this._cps.=. |
5c5c0 | 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 63 6f 6e 74 65 6e 74 2d 70 72 65 66 2f 73 65 | Cc["@mozilla.org/content-pref/se |
5c5e0 | 72 76 69 63 65 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | rvice;1"]....................... |
5c600 | 20 20 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 43 6f 6e 74 65 6e 74 50 72 65 66 53 65 | ..getService(Ci.nsIContentPrefSe |
5c620 | 72 76 69 63 65 29 3b 0a 20 20 7d 2c 0a 0a 20 20 67 65 74 20 5f 70 72 65 66 42 72 61 6e 63 68 20 | rvice);...},....get._prefBranch. |
5c640 | 46 75 6c 6c 5a 6f 6f 6d 5f 67 65 74 5f 5f 70 72 65 66 42 72 61 6e 63 68 28 29 20 7b 0a 20 20 20 | FullZoom_get__prefBranch().{.... |
5c660 | 20 64 65 6c 65 74 65 20 74 68 69 73 2e 5f 70 72 65 66 42 72 61 6e 63 68 3b 0a 20 20 20 20 72 65 | .delete.this._prefBranch;.....re |
5c680 | 74 75 72 6e 20 74 68 69 73 2e 5f 70 72 65 66 42 72 61 6e 63 68 20 3d 20 43 63 5b 22 40 6d 6f 7a | turn.this._prefBranch.=.Cc["@moz |
5c6a0 | 69 6c 6c 61 2e 6f 72 67 2f 70 72 65 66 65 72 65 6e 63 65 73 2d 73 65 72 76 69 63 65 3b 31 22 5d | illa.org/preferences-service;1"] |
5c6c0 | 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
5c6e0 | 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 50 72 65 66 42 72 61 6e 63 68 32 29 3b 0a 20 | getService(Ci.nsIPrefBranch2);.. |
5c700 | 20 7d 2c 0a 0a 20 20 2f 2f 20 62 72 6f 77 73 65 72 2e 7a 6f 6f 6d 2e 73 69 74 65 53 70 65 63 69 | .},....//.browser.zoom.siteSpeci |
5c720 | 66 69 63 20 70 72 65 66 65 72 65 6e 63 65 20 63 61 63 68 65 0a 20 20 5f 73 69 74 65 53 70 65 63 | fic.preference.cache..._siteSpec |
5c740 | 69 66 69 63 50 72 65 66 3a 20 75 6e 64 65 66 69 6e 65 64 2c 0a 0a 20 20 2f 2f 20 62 72 6f 77 73 | ificPref:.undefined,....//.brows |
5c760 | 65 72 2e 7a 6f 6f 6d 2e 75 70 64 61 74 65 42 61 63 6b 67 72 6f 75 6e 64 54 61 62 73 20 70 72 65 | er.zoom.updateBackgroundTabs.pre |
5c780 | 66 65 72 65 6e 63 65 20 63 61 63 68 65 0a 20 20 75 70 64 61 74 65 42 61 63 6b 67 72 6f 75 6e 64 | ference.cache...updateBackground |
5c7a0 | 54 61 62 73 3a 20 75 6e 64 65 66 69 6e 65 64 2c 0a 0a 20 20 2f 2f 20 77 68 65 74 68 65 72 20 77 | Tabs:.undefined,....//.whether.w |
5c7c0 | 65 20 61 72 65 20 69 6e 20 70 72 69 76 61 74 65 20 62 72 6f 77 73 69 6e 67 20 6d 6f 64 65 0a 20 | e.are.in.private.browsing.mode.. |
5c7e0 | 20 5f 69 6e 50 72 69 76 61 74 65 42 72 6f 77 73 69 6e 67 3a 20 66 61 6c 73 65 2c 0a 0a 20 20 67 | ._inPrivateBrowsing:.false,....g |
5c800 | 65 74 20 73 69 74 65 53 70 65 63 69 66 69 63 20 46 75 6c 6c 5a 6f 6f 6d 5f 67 65 74 5f 73 69 74 | et.siteSpecific.FullZoom_get_sit |
5c820 | 65 53 70 65 63 69 66 69 63 28 29 20 7b 0a 20 20 20 20 72 65 74 75 72 6e 20 21 74 68 69 73 2e 5f | eSpecific().{.....return.!this._ |
5c840 | 69 6e 50 72 69 76 61 74 65 42 72 6f 77 73 69 6e 67 20 26 26 20 74 68 69 73 2e 5f 73 69 74 65 53 | inPrivateBrowsing.&&.this._siteS |
5c860 | 70 65 63 69 66 69 63 50 72 65 66 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2f 2a 2a 2a 2a 2a 2a 2a 2a 2a | pecificPref;...},....//********* |
5c880 | 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a | ******************************** |
5c8a0 | 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a | ******************************** |
5c8c0 | 2a 2f 2f 0a 20 20 2f 2f 20 6e 73 49 53 75 70 70 6f 72 74 73 0a 0a 20 20 2f 2f 20 57 65 20 63 61 | *//...//.nsISupports....//.We.ca |
5c8e0 | 6e 27 74 20 75 73 65 20 74 68 65 20 43 69 20 73 68 6f 72 74 63 75 74 20 68 65 72 65 20 62 65 63 | n't.use.the.Ci.shortcut.here.bec |
5c900 | 61 75 73 65 20 69 74 20 69 73 6e 27 74 20 64 65 66 69 6e 65 64 20 79 65 74 2e 0a 20 20 69 6e 74 | ause.it.isn't.defined.yet....int |
5c920 | 65 72 66 61 63 65 73 3a 20 5b 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e | erfaces:.[Components.interfaces. |
5c940 | 6e 73 49 44 4f 4d 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 2c 0a 20 20 20 20 20 20 20 20 20 20 20 | nsIDOMEventListener,............ |
5c960 | 20 20 20 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 4f 62 73 | ....Components.interfaces.nsIObs |
5c980 | 65 72 76 65 72 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 43 6f 6d 70 6f 6e 65 6e 74 73 | erver,................Components |
5c9a0 | 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 43 6f 6e 74 65 6e 74 50 72 65 66 4f 62 73 65 72 76 | .interfaces.nsIContentPrefObserv |
5c9c0 | 65 72 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e | er,................Components.in |
5c9e0 | 74 65 72 66 61 63 65 73 2e 6e 73 49 53 75 70 70 6f 72 74 73 57 65 61 6b 52 65 66 65 72 65 6e 63 | terfaces.nsISupportsWeakReferenc |
5ca00 | 65 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 | e,................Components.int |
5ca20 | 65 72 66 61 63 65 73 2e 6e 73 49 53 75 70 70 6f 72 74 73 5d 2c 0a 0a 20 20 51 75 65 72 79 49 6e | erfaces.nsISupports],....QueryIn |
5ca40 | 74 65 72 66 61 63 65 3a 20 66 75 6e 63 74 69 6f 6e 20 46 75 6c 6c 5a 6f 6f 6d 5f 51 75 65 72 79 | terface:.function.FullZoom_Query |
5ca60 | 49 6e 74 65 72 66 61 63 65 28 61 49 49 44 29 20 7b 0a 20 20 20 20 69 66 20 28 21 74 68 69 73 2e | Interface(aIID).{.....if.(!this. |
5ca80 | 69 6e 74 65 72 66 61 63 65 73 2e 73 6f 6d 65 28 66 75 6e 63 74 69 6f 6e 20 28 76 29 20 61 49 49 | interfaces.some(function.(v).aII |
5caa0 | 44 2e 65 71 75 61 6c 73 28 76 29 29 29 0a 20 20 20 20 20 20 74 68 72 6f 77 20 43 72 2e 4e 53 5f | D.equals(v))).......throw.Cr.NS_ |
5cac0 | 45 52 52 4f 52 5f 4e 4f 5f 49 4e 54 45 52 46 41 43 45 3b 0a 20 20 20 20 72 65 74 75 72 6e 20 74 | ERROR_NO_INTERFACE;.....return.t |
5cae0 | 68 69 73 3b 0a 20 20 7d 2c 0a 0a 0a 20 20 2f 2f 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a | his;...},.....//**************** |
5cb00 | 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a | ******************************** |
5cb20 | 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2f 2f 0a 20 20 2f | **************************//.../ |
5cb40 | 2f 20 49 6e 69 74 69 61 6c 69 7a 61 74 69 6f 6e 20 26 20 44 65 73 74 72 75 63 74 69 6f 6e 0a 0a | /.Initialization.&.Destruction.. |
5cb60 | 20 20 69 6e 69 74 3a 20 66 75 6e 63 74 69 6f 6e 20 46 75 6c 6c 5a 6f 6f 6d 5f 69 6e 69 74 28 29 | ..init:.function.FullZoom_init() |
5cb80 | 20 7b 0a 20 20 20 20 2f 2f 20 4c 69 73 74 65 6e 20 66 6f 72 20 73 63 72 6f 6c 6c 77 68 65 65 6c | .{.....//.Listen.for.scrollwheel |
5cba0 | 20 65 76 65 6e 74 73 20 73 6f 20 77 65 20 63 61 6e 20 73 61 76 65 20 73 63 72 6f 6c 6c 77 68 65 | .events.so.we.can.save.scrollwhe |
5cbc0 | 65 6c 2d 62 61 73 65 64 20 63 68 61 6e 67 65 73 2e 0a 20 20 20 20 77 69 6e 64 6f 77 2e 61 64 64 | el-based.changes......window.add |
5cbe0 | 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 28 22 44 4f 4d 4d 6f 75 73 65 53 63 72 6f 6c 6c 22 2c 20 | EventListener("DOMMouseScroll",. |
5cc00 | 74 68 69 73 2c 20 66 61 6c 73 65 29 3b 0a 0a 20 20 20 20 2f 2f 20 52 65 67 69 73 74 65 72 20 6f | this,.false);......//.Register.o |
5cc20 | 75 72 73 65 6c 76 65 73 20 77 69 74 68 20 74 68 65 20 73 65 72 76 69 63 65 20 73 6f 20 77 65 20 | urselves.with.the.service.so.we. |
5cc40 | 6b 6e 6f 77 20 77 68 65 6e 20 6f 75 72 20 70 72 65 66 20 63 68 61 6e 67 65 73 2e 0a 20 20 20 20 | know.when.our.pref.changes...... |
5cc60 | 74 68 69 73 2e 5f 63 70 73 2e 61 64 64 4f 62 73 65 72 76 65 72 28 74 68 69 73 2e 6e 61 6d 65 2c | this._cps.addObserver(this.name, |
5cc80 | 20 74 68 69 73 29 3b 0a 0a 20 20 20 20 2f 2f 20 57 65 20 64 69 73 61 62 6c 65 20 73 69 74 65 2d | .this);......//.We.disable.site- |
5cca0 | 73 70 65 63 69 66 69 63 20 70 72 65 66 65 72 65 6e 63 65 73 20 69 6e 20 50 72 69 76 61 74 65 20 | specific.preferences.in.Private. |
5ccc0 | 42 72 6f 77 73 69 6e 67 20 6d 6f 64 65 2c 20 62 65 63 61 75 73 65 20 74 68 65 0a 20 20 20 20 2f | Browsing.mode,.because.the...../ |
5cce0 | 2f 20 63 6f 6e 74 65 6e 74 20 70 72 65 66 65 72 65 6e 63 65 73 20 6d 6f 64 75 6c 65 20 69 73 20 | /.content.preferences.module.is. |
5cd00 | 64 69 73 61 62 6c 65 64 0a 20 20 20 20 6c 65 74 20 6f 73 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c | disabled.....let.os.=.Cc["@mozil |
5cd20 | 6c 61 2e 6f 72 67 2f 6f 62 73 65 72 76 65 72 2d 73 65 72 76 69 63 65 3b 31 22 5d 2e 0a 20 20 20 | la.org/observer-service;1"]..... |
5cd40 | 20 20 20 20 20 20 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 4f 62 73 65 72 | ..........getService(Ci.nsIObser |
5cd60 | 76 65 72 53 65 72 76 69 63 65 29 3b 0a 20 20 20 20 6f 73 2e 61 64 64 4f 62 73 65 72 76 65 72 28 | verService);.....os.addObserver( |
5cd80 | 74 68 69 73 2c 20 22 70 72 69 76 61 74 65 2d 62 72 6f 77 73 69 6e 67 22 2c 20 74 72 75 65 29 3b | this,."private-browsing",.true); |
5cda0 | 0a 0a 20 20 20 20 2f 2f 20 52 65 74 72 69 65 76 65 20 74 68 65 20 69 6e 69 74 69 61 6c 20 73 74 | ......//.Retrieve.the.initial.st |
5cdc0 | 61 74 75 73 20 6f 66 20 74 68 65 20 50 72 69 76 61 74 65 20 42 72 6f 77 73 69 6e 67 20 6d 6f 64 | atus.of.the.Private.Browsing.mod |
5cde0 | 65 2e 0a 20 20 20 20 74 68 69 73 2e 5f 69 6e 50 72 69 76 61 74 65 42 72 6f 77 73 69 6e 67 20 3d | e......this._inPrivateBrowsing.= |
5ce00 | 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 70 72 69 76 61 74 65 62 72 6f 77 73 69 6e | .Cc["@mozilla.org/privatebrowsin |
5ce20 | 67 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | g;1"]........................... |
5ce40 | 20 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 50 72 69 76 61 74 65 42 72 6f | .....getService(Ci.nsIPrivateBro |
5ce60 | 77 73 69 6e 67 53 65 72 76 69 63 65 29 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | wsingService)................... |
5ce80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 69 76 61 74 65 42 72 6f 77 73 69 6e 67 45 6e 61 62 | .............privateBrowsingEnab |
5cea0 | 6c 65 64 3b 0a 0a 20 20 20 20 74 68 69 73 2e 5f 73 69 74 65 53 70 65 63 69 66 69 63 50 72 65 66 | led;......this._siteSpecificPref |
5cec0 | 20 3d 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 70 72 65 66 42 72 61 6e 63 68 2e 67 65 74 42 6f 6f | .=.......this._prefBranch.getBoo |
5cee0 | 6c 50 72 65 66 28 22 62 72 6f 77 73 65 72 2e 7a 6f 6f 6d 2e 73 69 74 65 53 70 65 63 69 66 69 63 | lPref("browser.zoom.siteSpecific |
5cf00 | 22 29 3b 0a 20 20 20 20 74 68 69 73 2e 75 70 64 61 74 65 42 61 63 6b 67 72 6f 75 6e 64 54 61 62 | ");.....this.updateBackgroundTab |
5cf20 | 73 20 3d 20 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 70 72 65 66 42 72 61 6e 63 68 2e 67 65 74 42 | s.=........this._prefBranch.getB |
5cf40 | 6f 6f 6c 50 72 65 66 28 22 62 72 6f 77 73 65 72 2e 7a 6f 6f 6d 2e 75 70 64 61 74 65 42 61 63 6b | oolPref("browser.zoom.updateBack |
5cf60 | 67 72 6f 75 6e 64 54 61 62 73 22 29 3b 0a 20 20 20 20 2f 2f 20 4c 69 73 74 65 6e 20 66 6f 72 20 | groundTabs");.....//.Listen.for. |
5cf80 | 63 68 61 6e 67 65 73 20 74 6f 20 74 68 65 20 62 72 6f 77 73 65 72 2e 7a 6f 6f 6d 20 62 72 61 6e | changes.to.the.browser.zoom.bran |
5cfa0 | 63 68 20 73 6f 20 77 65 20 63 61 6e 20 65 6e 61 62 6c 65 2f 64 69 73 61 62 6c 65 0a 20 20 20 20 | ch.so.we.can.enable/disable..... |
5cfc0 | 2f 2f 20 75 70 64 61 74 69 6e 67 20 62 61 63 6b 67 72 6f 75 6e 64 20 74 61 62 73 20 61 6e 64 20 | //.updating.background.tabs.and. |
5cfe0 | 70 65 72 2d 73 69 74 65 20 73 61 76 69 6e 67 20 61 6e 64 20 72 65 73 74 6f 72 69 6e 67 20 6f 66 | per-site.saving.and.restoring.of |
5d000 | 20 7a 6f 6f 6d 20 6c 65 76 65 6c 73 2e 0a 20 20 20 20 74 68 69 73 2e 5f 70 72 65 66 42 72 61 6e | .zoom.levels......this._prefBran |
5d020 | 63 68 2e 61 64 64 4f 62 73 65 72 76 65 72 28 22 62 72 6f 77 73 65 72 2e 7a 6f 6f 6d 2e 22 2c 20 | ch.addObserver("browser.zoom.",. |
5d040 | 74 68 69 73 2c 20 74 72 75 65 29 3b 0a 20 20 7d 2c 0a 0a 20 20 64 65 73 74 72 6f 79 3a 20 66 75 | this,.true);...},....destroy:.fu |
5d060 | 6e 63 74 69 6f 6e 20 46 75 6c 6c 5a 6f 6f 6d 5f 64 65 73 74 72 6f 79 28 29 20 7b 0a 20 20 20 20 | nction.FullZoom_destroy().{..... |
5d080 | 6c 65 74 20 6f 73 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6f 62 73 65 72 76 | let.os.=.Cc["@mozilla.org/observ |
5d0a0 | 65 72 2d 73 65 72 76 69 63 65 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 | er-service;1"]...............get |
5d0c0 | 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 4f 62 73 65 72 76 65 72 53 65 72 76 69 63 65 29 3b 0a | Service(Ci.nsIObserverService);. |
5d0e0 | 20 20 20 20 6f 73 2e 72 65 6d 6f 76 65 4f 62 73 65 72 76 65 72 28 74 68 69 73 2c 20 22 70 72 69 | ....os.removeObserver(this,."pri |
5d100 | 76 61 74 65 2d 62 72 6f 77 73 69 6e 67 22 29 3b 0a 20 20 20 20 74 68 69 73 2e 5f 70 72 65 66 42 | vate-browsing");.....this._prefB |
5d120 | 72 61 6e 63 68 2e 72 65 6d 6f 76 65 4f 62 73 65 72 76 65 72 28 22 62 72 6f 77 73 65 72 2e 7a 6f | ranch.removeObserver("browser.zo |
5d140 | 6f 6d 2e 22 2c 20 74 68 69 73 29 3b 0a 20 20 20 20 74 68 69 73 2e 5f 63 70 73 2e 72 65 6d 6f 76 | om.",.this);.....this._cps.remov |
5d160 | 65 4f 62 73 65 72 76 65 72 28 74 68 69 73 2e 6e 61 6d 65 2c 20 74 68 69 73 29 3b 0a 20 20 20 20 | eObserver(this.name,.this);..... |
5d180 | 77 69 6e 64 6f 77 2e 72 65 6d 6f 76 65 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 28 22 44 4f 4d 4d | window.removeEventListener("DOMM |
5d1a0 | 6f 75 73 65 53 63 72 6f 6c 6c 22 2c 20 74 68 69 73 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 20 64 | ouseScroll",.this,.false);.....d |
5d1c0 | 65 6c 65 74 65 20 74 68 69 73 2e 5f 63 70 73 3b 0a 20 20 7d 2c 0a 0a 0a 20 20 2f 2f 2a 2a 2a 2a | elete.this._cps;...},.....//**** |
5d1e0 | 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a | ******************************** |
5d200 | 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a | ******************************** |
5d220 | 2a 2a 2a 2a 2a 2a 2f 2f 0a 20 20 2f 2f 20 45 76 65 6e 74 20 48 61 6e 64 6c 65 72 73 0a 0a 20 20 | ******//...//.Event.Handlers.... |
5d240 | 2f 2f 20 6e 73 49 44 4f 4d 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 0a 0a 20 20 68 61 6e 64 6c 65 | //.nsIDOMEventListener....handle |
5d260 | 45 76 65 6e 74 3a 20 66 75 6e 63 74 69 6f 6e 20 46 75 6c 6c 5a 6f 6f 6d 5f 68 61 6e 64 6c 65 45 | Event:.function.FullZoom_handleE |
5d280 | 76 65 6e 74 28 65 76 65 6e 74 29 20 7b 0a 20 20 20 20 73 77 69 74 63 68 20 28 65 76 65 6e 74 2e | vent(event).{.....switch.(event. |
5d2a0 | 74 79 70 65 29 20 7b 0a 20 20 20 20 20 20 63 61 73 65 20 22 44 4f 4d 4d 6f 75 73 65 53 63 72 6f | type).{.......case."DOMMouseScro |
5d2c0 | 6c 6c 22 3a 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 68 61 6e 64 6c 65 4d 6f 75 73 65 53 63 | ll":.........this._handleMouseSc |
5d2e0 | 72 6f 6c 6c 65 64 28 65 76 65 6e 74 29 3b 0a 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 | rolled(event);.........break;... |
5d300 | 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 5f 68 61 6e 64 6c 65 4d 6f 75 73 65 53 63 72 6f 6c 6c 65 64 | ..}...},...._handleMouseScrolled |
5d320 | 3a 20 66 75 6e 63 74 69 6f 6e 20 46 75 6c 6c 5a 6f 6f 6d 5f 5f 68 61 6e 64 6c 65 4d 6f 75 73 65 | :.function.FullZoom__handleMouse |
5d340 | 53 63 72 6f 6c 6c 65 64 28 65 76 65 6e 74 29 20 7b 0a 20 20 20 20 2f 2f 20 43 6f 6e 73 74 72 75 | Scrolled(event).{.....//.Constru |
5d360 | 63 74 20 74 68 65 20 22 6d 6f 75 73 65 77 68 65 65 6c 20 61 63 74 69 6f 6e 22 20 70 72 65 66 20 | ct.the."mousewheel.action".pref. |
5d380 | 6b 65 79 20 63 6f 72 72 65 73 70 6f 6e 64 69 6e 67 20 74 6f 20 74 68 69 73 20 65 76 65 6e 74 2e | key.corresponding.to.this.event. |
5d3a0 | 0a 20 20 20 20 2f 2f 20 42 61 73 65 64 20 6f 6e 20 6e 73 45 76 65 6e 74 53 74 61 74 65 4d 61 6e | .....//.Based.on.nsEventStateMan |
5d3c0 | 61 67 65 72 3a 3a 47 65 74 42 61 73 65 50 72 65 66 4b 65 79 46 6f 72 4d 6f 75 73 65 57 68 65 65 | ager::GetBasePrefKeyForMouseWhee |
5d3e0 | 6c 2e 0a 20 20 20 20 76 61 72 20 70 72 65 66 20 3d 20 22 6d 6f 75 73 65 77 68 65 65 6c 22 3b 0a | l......var.pref.=."mousewheel";. |
5d400 | 20 20 20 20 69 66 20 28 65 76 65 6e 74 2e 61 78 69 73 20 3d 3d 20 65 76 65 6e 74 2e 48 4f 52 49 | ....if.(event.axis.==.event.HORI |
5d420 | 5a 4f 4e 54 41 4c 5f 41 58 49 53 29 0a 20 20 20 20 20 20 70 72 65 66 20 2b 3d 20 22 2e 68 6f 72 | ZONTAL_AXIS).......pref.+=.".hor |
5d440 | 69 7a 73 63 72 6f 6c 6c 22 3b 0a 0a 20 20 20 20 69 66 20 28 65 76 65 6e 74 2e 73 68 69 66 74 4b | izscroll";......if.(event.shiftK |
5d460 | 65 79 29 0a 20 20 20 20 20 20 70 72 65 66 20 2b 3d 20 22 2e 77 69 74 68 73 68 69 66 74 6b 65 79 | ey).......pref.+=.".withshiftkey |
5d480 | 22 3b 0a 20 20 20 20 65 6c 73 65 20 69 66 20 28 65 76 65 6e 74 2e 63 74 72 6c 4b 65 79 29 0a 20 | ";.....else.if.(event.ctrlKey).. |
5d4a0 | 20 20 20 20 20 70 72 65 66 20 2b 3d 20 22 2e 77 69 74 68 63 6f 6e 74 72 6f 6c 6b 65 79 22 3b 0a | .....pref.+=.".withcontrolkey";. |
5d4c0 | 20 20 20 20 65 6c 73 65 20 69 66 20 28 65 76 65 6e 74 2e 61 6c 74 4b 65 79 29 0a 20 20 20 20 20 | ....else.if.(event.altKey)...... |
5d4e0 | 20 70 72 65 66 20 2b 3d 20 22 2e 77 69 74 68 61 6c 74 6b 65 79 22 3b 0a 20 20 20 20 65 6c 73 65 | .pref.+=.".withaltkey";.....else |
5d500 | 20 69 66 20 28 65 76 65 6e 74 2e 6d 65 74 61 4b 65 79 29 0a 20 20 20 20 20 20 70 72 65 66 20 2b | .if.(event.metaKey).......pref.+ |
5d520 | 3d 20 22 2e 77 69 74 68 6d 65 74 61 6b 65 79 22 3b 0a 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 | =.".withmetakey";.....else...... |
5d540 | 20 70 72 65 66 20 2b 3d 20 22 2e 77 69 74 68 6e 6f 6b 65 79 22 3b 0a 0a 20 20 20 20 70 72 65 66 | .pref.+=.".withnokey";......pref |
5d560 | 20 2b 3d 20 22 2e 61 63 74 69 6f 6e 22 3b 0a 0a 20 20 20 20 2f 2f 20 44 6f 6e 27 74 20 64 6f 20 | .+=.".action";......//.Don't.do. |
5d580 | 61 6e 79 74 68 69 6e 67 20 69 66 20 74 68 69 73 20 69 73 6e 27 74 20 61 20 22 7a 6f 6f 6d 22 20 | anything.if.this.isn't.a."zoom". |
5d5a0 | 73 63 72 6f 6c 6c 20 65 76 65 6e 74 2e 0a 20 20 20 20 76 61 72 20 69 73 5a 6f 6f 6d 45 76 65 6e | scroll.event......var.isZoomEven |
5d5c0 | 74 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 69 73 5a 6f 6f | t.=.false;.....try.{.......isZoo |
5d5e0 | 6d 45 76 65 6e 74 20 3d 20 28 67 50 72 65 66 53 65 72 76 69 63 65 2e 67 65 74 49 6e 74 50 72 65 | mEvent.=.(gPrefService.getIntPre |
5d600 | 66 28 70 72 65 66 29 20 3d 3d 20 4d 4f 55 53 45 5f 53 43 52 4f 4c 4c 5f 5a 4f 4f 4d 29 3b 0a 20 | f(pref).==.MOUSE_SCROLL_ZOOM);.. |
5d620 | 20 20 20 7d 20 63 61 74 63 68 20 28 65 29 20 7b 7d 0a 20 20 20 20 69 66 20 28 21 69 73 5a 6f 6f | ...}.catch.(e).{}.....if.(!isZoo |
5d640 | 6d 45 76 65 6e 74 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 20 20 2f 2f 20 58 58 | mEvent).......return;......//.XX |
5d660 | 58 20 4c 61 7a 69 6c 79 20 63 61 63 68 65 20 61 6c 6c 20 74 68 65 20 70 6f 73 73 69 62 6c 65 20 | X.Lazily.cache.all.the.possible. |
5d680 | 61 63 74 69 6f 6e 20 70 72 65 66 73 20 73 6f 20 77 65 20 64 6f 6e 27 74 20 68 61 76 65 20 74 6f | action.prefs.so.we.don't.have.to |
5d6a0 | 20 67 65 74 0a 20 20 20 20 2f 2f 20 74 68 65 6d 20 61 6e 65 77 20 66 72 6f 6d 20 74 68 65 20 70 | .get.....//.them.anew.from.the.p |
5d6c0 | 72 65 66 20 73 65 72 76 69 63 65 20 66 6f 72 20 65 76 65 72 79 20 73 63 72 6f 6c 6c 20 65 76 65 | ref.service.for.every.scroll.eve |
5d6e0 | 6e 74 3f 20 20 57 65 27 64 20 68 61 76 65 20 74 6f 0a 20 20 20 20 2f 2f 20 6d 61 6b 65 20 73 75 | nt?..We'd.have.to.....//.make.su |
5d700 | 72 65 20 74 6f 20 6f 62 73 65 72 76 65 20 74 68 65 6d 20 73 6f 20 77 65 20 63 61 6e 20 75 70 64 | re.to.observe.them.so.we.can.upd |
5d720 | 61 74 65 20 74 68 65 20 63 61 63 68 65 20 77 68 65 6e 20 74 68 65 79 20 63 68 61 6e 67 65 2e 0a | ate.the.cache.when.they.change.. |
5d740 | 0a 20 20 20 20 2f 2f 20 57 65 20 68 61 76 65 20 74 6f 20 63 61 6c 6c 20 5f 61 70 70 6c 79 53 65 | .....//.We.have.to.call._applySe |
5d760 | 74 74 69 6e 67 54 6f 50 72 65 66 20 69 6e 20 61 20 74 69 6d 65 6f 75 74 20 62 65 63 61 75 73 65 | ttingToPref.in.a.timeout.because |
5d780 | 20 77 65 20 68 61 6e 64 6c 65 0a 20 20 20 20 2f 2f 20 74 68 65 20 65 76 65 6e 74 20 62 65 66 6f | .we.handle.....//.the.event.befo |
5d7a0 | 72 65 20 74 68 65 20 65 76 65 6e 74 20 73 74 61 74 65 20 6d 61 6e 61 67 65 72 20 68 61 73 20 61 | re.the.event.state.manager.has.a |
5d7c0 | 20 63 68 61 6e 63 65 20 74 6f 20 61 70 70 6c 79 20 74 68 65 20 7a 6f 6f 6d 0a 20 20 20 20 2f 2f | .chance.to.apply.the.zoom.....// |
5d7e0 | 20 64 75 72 69 6e 67 20 6e 73 45 76 65 6e 74 53 74 61 74 65 4d 61 6e 61 67 65 72 3a 3a 50 6f 73 | .during.nsEventStateManager::Pos |
5d800 | 74 48 61 6e 64 6c 65 45 76 65 6e 74 2e 0a 20 20 20 20 77 69 6e 64 6f 77 2e 73 65 74 54 69 6d 65 | tHandleEvent......window.setTime |
5d820 | 6f 75 74 28 66 75 6e 63 74 69 6f 6e 20 28 73 65 6c 66 29 20 7b 20 73 65 6c 66 2e 5f 61 70 70 6c | out(function.(self).{.self._appl |
5d840 | 79 53 65 74 74 69 6e 67 54 6f 50 72 65 66 28 29 20 7d 2c 20 30 2c 20 74 68 69 73 29 3b 0a 20 20 | ySettingToPref().},.0,.this);... |
5d860 | 7d 2c 0a 0a 20 20 2f 2f 20 6e 73 49 4f 62 73 65 72 76 65 72 0a 0a 20 20 6f 62 73 65 72 76 65 3a | },....//.nsIObserver....observe: |
5d880 | 20 66 75 6e 63 74 69 6f 6e 20 28 61 53 75 62 6a 65 63 74 2c 20 61 54 6f 70 69 63 2c 20 61 44 61 | .function.(aSubject,.aTopic,.aDa |
5d8a0 | 74 61 29 20 7b 0a 20 20 20 20 73 77 69 74 63 68 28 61 54 6f 70 69 63 29 20 7b 0a 20 20 20 20 20 | ta).{.....switch(aTopic).{...... |
5d8c0 | 20 63 61 73 65 20 22 6e 73 50 72 65 66 3a 63 68 61 6e 67 65 64 22 3a 0a 20 20 20 20 20 20 20 20 | .case."nsPref:changed":......... |
5d8e0 | 73 77 69 74 63 68 28 61 44 61 74 61 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 22 | switch(aData).{...........case." |
5d900 | 62 72 6f 77 73 65 72 2e 7a 6f 6f 6d 2e 73 69 74 65 53 70 65 63 69 66 69 63 22 3a 0a 20 20 20 20 | browser.zoom.siteSpecific":..... |
5d920 | 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 73 69 74 65 53 70 65 63 69 66 69 63 50 72 65 66 20 3d | ........this._siteSpecificPref.= |
5d940 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 70 72 65 66 42 72 61 6e 63 68 2e | ...............this._prefBranch. |
5d960 | 67 65 74 42 6f 6f 6c 50 72 65 66 28 22 62 72 6f 77 73 65 72 2e 7a 6f 6f 6d 2e 73 69 74 65 53 70 | getBoolPref("browser.zoom.siteSp |
5d980 | 65 63 69 66 69 63 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 | ecific");.............break;.... |
5d9a0 | 20 20 20 20 20 20 20 63 61 73 65 20 22 62 72 6f 77 73 65 72 2e 7a 6f 6f 6d 2e 75 70 64 61 74 65 | .......case."browser.zoom.update |
5d9c0 | 42 61 63 6b 67 72 6f 75 6e 64 54 61 62 73 22 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 | BackgroundTabs":.............thi |
5d9e0 | 73 2e 75 70 64 61 74 65 42 61 63 6b 67 72 6f 75 6e 64 54 61 62 73 20 3d 0a 20 20 20 20 20 20 20 | s.updateBackgroundTabs.=........ |
5da00 | 20 20 20 20 20 20 20 74 68 69 73 2e 5f 70 72 65 66 42 72 61 6e 63 68 2e 67 65 74 42 6f 6f 6c 50 | .......this._prefBranch.getBoolP |
5da20 | 72 65 66 28 22 62 72 6f 77 73 65 72 2e 7a 6f 6f 6d 2e 75 70 64 61 74 65 42 61 63 6b 67 72 6f 75 | ref("browser.zoom.updateBackgrou |
5da40 | 6e 64 54 61 62 73 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 | ndTabs");.............break;.... |
5da60 | 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 63 61 73 65 | .....}.........break;.......case |
5da80 | 20 22 70 72 69 76 61 74 65 2d 62 72 6f 77 73 69 6e 67 22 3a 0a 20 20 20 20 20 20 20 20 73 77 69 | ."private-browsing":.........swi |
5daa0 | 74 63 68 20 28 61 44 61 74 61 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 22 65 6e | tch.(aData).{...........case."en |
5dac0 | 74 65 72 22 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 69 6e 50 72 69 76 61 74 | ter":.............this._inPrivat |
5dae0 | 65 42 72 6f 77 73 69 6e 67 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 62 72 | eBrowsing.=.true;.............br |
5db00 | 65 61 6b 3b 0a 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 22 65 78 69 74 22 3a 0a 20 20 20 20 | eak;...........case."exit":..... |
5db20 | 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 69 6e 50 72 69 76 61 74 65 42 72 6f 77 73 69 6e 67 20 | ........this._inPrivateBrowsing. |
5db40 | 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 | =.false;.............break;..... |
5db60 | 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a | ....}.........break;.....}...},. |
5db80 | 0a 20 20 2f 2f 20 6e 73 49 43 6f 6e 74 65 6e 74 50 72 65 66 4f 62 73 65 72 76 65 72 0a 0a 20 20 | ...//.nsIContentPrefObserver.... |
5dba0 | 6f 6e 43 6f 6e 74 65 6e 74 50 72 65 66 53 65 74 3a 20 66 75 6e 63 74 69 6f 6e 20 46 75 6c 6c 5a | onContentPrefSet:.function.FullZ |
5dbc0 | 6f 6f 6d 5f 6f 6e 43 6f 6e 74 65 6e 74 50 72 65 66 53 65 74 28 61 47 72 6f 75 70 2c 20 61 4e 61 | oom_onContentPrefSet(aGroup,.aNa |
5dbe0 | 6d 65 2c 20 61 56 61 6c 75 65 29 20 7b 0a 20 20 20 20 69 66 20 28 61 47 72 6f 75 70 20 3d 3d 20 | me,.aValue).{.....if.(aGroup.==. |
5dc00 | 74 68 69 73 2e 5f 63 70 73 2e 67 72 6f 75 70 65 72 2e 67 72 6f 75 70 28 67 42 72 6f 77 73 65 72 | this._cps.grouper.group(gBrowser |
5dc20 | 2e 63 75 72 72 65 6e 74 55 52 49 29 29 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 61 70 70 6c 79 50 | .currentURI)).......this._applyP |
5dc40 | 72 65 66 54 6f 53 65 74 74 69 6e 67 28 61 56 61 6c 75 65 29 3b 0a 20 20 20 20 65 6c 73 65 20 69 | refToSetting(aValue);.....else.i |
5dc60 | 66 20 28 61 47 72 6f 75 70 20 3d 3d 20 6e 75 6c 6c 29 20 7b 0a 20 20 20 20 20 20 74 68 69 73 2e | f.(aGroup.==.null).{.......this. |
5dc80 | 67 6c 6f 62 61 6c 56 61 6c 75 65 20 3d 20 74 68 69 73 2e 5f 65 6e 73 75 72 65 56 61 6c 69 64 28 | globalValue.=.this._ensureValid( |
5dca0 | 61 56 61 6c 75 65 29 3b 0a 0a 20 20 20 20 20 20 2f 2f 20 49 66 20 74 68 65 20 63 75 72 72 65 6e | aValue);........//.If.the.curren |
5dcc0 | 74 20 70 61 67 65 20 64 6f 65 73 6e 27 74 20 68 61 76 65 20 61 20 73 69 74 65 2d 73 70 65 63 69 | t.page.doesn't.have.a.site-speci |
5dce0 | 66 69 63 20 70 72 65 66 65 72 65 6e 63 65 2c 0a 20 20 20 20 20 20 2f 2f 20 74 68 65 6e 20 69 74 | fic.preference,.......//.then.it |
5dd00 | 73 20 7a 6f 6f 6d 20 73 68 6f 75 6c 64 20 62 65 20 73 65 74 20 74 6f 20 74 68 65 20 6e 65 77 20 | s.zoom.should.be.set.to.the.new. |
5dd20 | 67 6c 6f 62 61 6c 20 70 72 65 66 65 72 65 6e 63 65 20 6e 6f 77 20 74 68 61 74 0a 20 20 20 20 20 | global.preference.now.that...... |
5dd40 | 20 2f 2f 20 74 68 65 20 67 6c 6f 62 61 6c 20 70 72 65 66 65 72 65 6e 63 65 20 68 61 73 20 63 68 | .//.the.global.preference.has.ch |
5dd60 | 61 6e 67 65 64 2e 0a 20 20 20 20 20 20 69 66 20 28 21 74 68 69 73 2e 5f 63 70 73 2e 68 61 73 50 | anged........if.(!this._cps.hasP |
5dd80 | 72 65 66 28 67 42 72 6f 77 73 65 72 2e 63 75 72 72 65 6e 74 55 52 49 2c 20 74 68 69 73 2e 6e 61 | ref(gBrowser.currentURI,.this.na |
5dda0 | 6d 65 29 29 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 61 70 70 6c 79 50 72 65 66 54 6f 53 65 | me)).........this._applyPrefToSe |
5ddc0 | 74 74 69 6e 67 28 29 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 6f 6e 43 6f 6e 74 65 6e 74 | tting();.....}...},....onContent |
5dde0 | 50 72 65 66 52 65 6d 6f 76 65 64 3a 20 66 75 6e 63 74 69 6f 6e 20 46 75 6c 6c 5a 6f 6f 6d 5f 6f | PrefRemoved:.function.FullZoom_o |
5de00 | 6e 43 6f 6e 74 65 6e 74 50 72 65 66 52 65 6d 6f 76 65 64 28 61 47 72 6f 75 70 2c 20 61 4e 61 6d | nContentPrefRemoved(aGroup,.aNam |
5de20 | 65 29 20 7b 0a 20 20 20 20 69 66 20 28 61 47 72 6f 75 70 20 3d 3d 20 74 68 69 73 2e 5f 63 70 73 | e).{.....if.(aGroup.==.this._cps |
5de40 | 2e 67 72 6f 75 70 65 72 2e 67 72 6f 75 70 28 67 42 72 6f 77 73 65 72 2e 63 75 72 72 65 6e 74 55 | .grouper.group(gBrowser.currentU |
5de60 | 52 49 29 29 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 61 70 70 6c 79 50 72 65 66 54 6f 53 65 74 74 | RI)).......this._applyPrefToSett |
5de80 | 69 6e 67 28 29 3b 0a 20 20 20 20 65 6c 73 65 20 69 66 20 28 61 47 72 6f 75 70 20 3d 3d 20 6e 75 | ing();.....else.if.(aGroup.==.nu |
5dea0 | 6c 6c 29 20 7b 0a 20 20 20 20 20 20 74 68 69 73 2e 67 6c 6f 62 61 6c 56 61 6c 75 65 20 3d 20 75 | ll).{.......this.globalValue.=.u |
5dec0 | 6e 64 65 66 69 6e 65 64 3b 0a 0a 20 20 20 20 20 20 2f 2f 20 49 66 20 74 68 65 20 63 75 72 72 65 | ndefined;........//.If.the.curre |
5dee0 | 6e 74 20 70 61 67 65 20 64 6f 65 73 6e 27 74 20 68 61 76 65 20 61 20 73 69 74 65 2d 73 70 65 63 | nt.page.doesn't.have.a.site-spec |
5df00 | 69 66 69 63 20 70 72 65 66 65 72 65 6e 63 65 2c 0a 20 20 20 20 20 20 2f 2f 20 74 68 65 6e 20 69 | ific.preference,.......//.then.i |
5df20 | 74 73 20 7a 6f 6f 6d 20 73 68 6f 75 6c 64 20 62 65 20 73 65 74 20 74 6f 20 74 68 65 20 64 65 66 | ts.zoom.should.be.set.to.the.def |
5df40 | 61 75 6c 74 20 70 72 65 66 65 72 65 6e 63 65 20 6e 6f 77 20 74 68 61 74 0a 20 20 20 20 20 20 2f | ault.preference.now.that......./ |
5df60 | 2f 20 74 68 65 20 67 6c 6f 62 61 6c 20 70 72 65 66 65 72 65 6e 63 65 20 68 61 73 20 63 68 61 6e | /.the.global.preference.has.chan |
5df80 | 67 65 64 2e 0a 20 20 20 20 20 20 69 66 20 28 21 74 68 69 73 2e 5f 63 70 73 2e 68 61 73 50 72 65 | ged........if.(!this._cps.hasPre |
5dfa0 | 66 28 67 42 72 6f 77 73 65 72 2e 63 75 72 72 65 6e 74 55 52 49 2c 20 74 68 69 73 2e 6e 61 6d 65 | f(gBrowser.currentURI,.this.name |
5dfc0 | 29 29 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 61 70 70 6c 79 50 72 65 66 54 6f 53 65 74 74 | )).........this._applyPrefToSett |
5dfe0 | 69 6e 67 28 29 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 2f 2f 20 6c 6f 63 61 74 69 6f 6e | ing();.....}...},....//.location |
5e000 | 20 63 68 61 6e 67 65 20 6f 62 73 65 72 76 65 72 0a 0a 20 20 6f 6e 4c 6f 63 61 74 69 6f 6e 43 68 | .change.observer....onLocationCh |
5e020 | 61 6e 67 65 3a 20 66 75 6e 63 74 69 6f 6e 20 46 75 6c 6c 5a 6f 6f 6d 5f 6f 6e 4c 6f 63 61 74 69 | ange:.function.FullZoom_onLocati |
5e040 | 6f 6e 43 68 61 6e 67 65 28 61 55 52 49 2c 20 61 42 72 6f 77 73 65 72 29 20 7b 0a 20 20 20 20 69 | onChange(aURI,.aBrowser).{.....i |
5e060 | 66 20 28 21 61 55 52 49 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 20 20 74 68 69 73 | f.(!aURI).......return;.....this |
5e080 | 2e 5f 61 70 70 6c 79 50 72 65 66 54 6f 53 65 74 74 69 6e 67 28 74 68 69 73 2e 5f 63 70 73 2e 67 | ._applyPrefToSetting(this._cps.g |
5e0a0 | 65 74 50 72 65 66 28 61 55 52 49 2c 20 74 68 69 73 2e 6e 61 6d 65 29 2c 20 61 42 72 6f 77 73 65 | etPref(aURI,.this.name),.aBrowse |
5e0c0 | 72 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2f 20 75 70 64 61 74 65 20 73 74 61 74 65 20 6f 66 20 7a | r);...},....//.update.state.of.z |
5e0e0 | 6f 6f 6d 20 74 79 70 65 20 6d 65 6e 75 20 69 74 65 6d 0a 0a 20 20 75 70 64 61 74 65 4d 65 6e 75 | oom.type.menu.item....updateMenu |
5e100 | 3a 20 66 75 6e 63 74 69 6f 6e 20 46 75 6c 6c 5a 6f 6f 6d 5f 75 70 64 61 74 65 4d 65 6e 75 28 29 | :.function.FullZoom_updateMenu() |
5e120 | 20 7b 0a 20 20 20 20 76 61 72 20 6d 65 6e 75 49 74 65 6d 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 | .{.....var.menuItem.=.document.g |
5e140 | 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 74 6f 67 67 6c 65 5f 7a 6f 6f 6d 22 29 3b 0a 0a 20 | etElementById("toggle_zoom");... |
5e160 | 20 20 20 6d 65 6e 75 49 74 65 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 63 68 65 63 6b 65 | ...menuItem.setAttribute("checke |
5e180 | 64 22 2c 20 21 5a 6f 6f 6d 4d 61 6e 61 67 65 72 2e 75 73 65 46 75 6c 6c 5a 6f 6f 6d 29 3b 0a 20 | d",.!ZoomManager.useFullZoom);.. |
5e1a0 | 20 7d 2c 0a 0a 20 20 2f 2f 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a | .},....//*********************** |
5e1c0 | 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a | ******************************** |
5e1e0 | 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2f 2f 0a 20 20 2f 2f 20 53 65 74 74 69 | *******************//...//.Setti |
5e200 | 6e 67 20 26 20 50 72 65 66 20 4d 61 6e 69 70 75 6c 61 74 69 6f 6e 0a 0a 20 20 72 65 64 75 63 65 | ng.&.Pref.Manipulation....reduce |
5e220 | 3a 20 66 75 6e 63 74 69 6f 6e 20 46 75 6c 6c 5a 6f 6f 6d 5f 72 65 64 75 63 65 28 29 20 7b 0a 20 | :.function.FullZoom_reduce().{.. |
5e240 | 20 20 20 5a 6f 6f 6d 4d 61 6e 61 67 65 72 2e 72 65 64 75 63 65 28 29 3b 0a 20 20 20 20 74 68 69 | ...ZoomManager.reduce();.....thi |
5e260 | 73 2e 5f 61 70 70 6c 79 53 65 74 74 69 6e 67 54 6f 50 72 65 66 28 29 3b 0a 20 20 7d 2c 0a 0a 20 | s._applySettingToPref();...},... |
5e280 | 20 65 6e 6c 61 72 67 65 3a 20 66 75 6e 63 74 69 6f 6e 20 46 75 6c 6c 5a 6f 6f 6d 5f 65 6e 6c 61 | .enlarge:.function.FullZoom_enla |
5e2a0 | 72 67 65 28 29 20 7b 0a 20 20 20 20 5a 6f 6f 6d 4d 61 6e 61 67 65 72 2e 65 6e 6c 61 72 67 65 28 | rge().{.....ZoomManager.enlarge( |
5e2c0 | 29 3b 0a 20 20 20 20 74 68 69 73 2e 5f 61 70 70 6c 79 53 65 74 74 69 6e 67 54 6f 50 72 65 66 28 | );.....this._applySettingToPref( |
5e2e0 | 29 3b 0a 20 20 7d 2c 0a 0a 20 20 72 65 73 65 74 3a 20 66 75 6e 63 74 69 6f 6e 20 46 75 6c 6c 5a | );...},....reset:.function.FullZ |
5e300 | 6f 6f 6d 5f 72 65 73 65 74 28 29 20 7b 0a 20 20 20 20 69 66 20 28 74 79 70 65 6f 66 20 74 68 69 | oom_reset().{.....if.(typeof.thi |
5e320 | 73 2e 67 6c 6f 62 61 6c 56 61 6c 75 65 20 21 3d 20 22 75 6e 64 65 66 69 6e 65 64 22 29 0a 20 20 | s.globalValue.!=."undefined")... |
5e340 | 20 20 20 20 5a 6f 6f 6d 4d 61 6e 61 67 65 72 2e 7a 6f 6f 6d 20 3d 20 74 68 69 73 2e 67 6c 6f 62 | ....ZoomManager.zoom.=.this.glob |
5e360 | 61 6c 56 61 6c 75 65 3b 0a 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 5a 6f 6f 6d 4d 61 6e 61 | alValue;.....else.......ZoomMana |
5e380 | 67 65 72 2e 72 65 73 65 74 28 29 3b 0a 0a 20 20 20 20 74 68 69 73 2e 5f 72 65 6d 6f 76 65 50 72 | ger.reset();......this._removePr |
5e3a0 | 65 66 28 29 3b 0a 20 20 7d 2c 0a 0a 20 20 73 65 74 53 65 74 74 69 6e 67 56 61 6c 75 65 3a 20 66 | ef();...},....setSettingValue:.f |
5e3c0 | 75 6e 63 74 69 6f 6e 20 46 75 6c 6c 5a 6f 6f 6d 5f 73 65 74 53 65 74 74 69 6e 67 56 61 6c 75 65 | unction.FullZoom_setSettingValue |
5e3e0 | 28 29 20 7b 0a 20 20 20 20 76 61 72 20 76 61 6c 75 65 20 3d 20 74 68 69 73 2e 5f 63 70 73 2e 67 | ().{.....var.value.=.this._cps.g |
5e400 | 65 74 50 72 65 66 28 67 42 72 6f 77 73 65 72 2e 63 75 72 72 65 6e 74 55 52 49 2c 20 74 68 69 73 | etPref(gBrowser.currentURI,.this |
5e420 | 2e 6e 61 6d 65 29 3b 0a 20 20 20 20 74 68 69 73 2e 5f 61 70 70 6c 79 50 72 65 66 54 6f 53 65 74 | .name);.....this._applyPrefToSet |
5e440 | 74 69 6e 67 28 76 61 6c 75 65 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 53 65 | ting(value);...},..../**....*.Se |
5e460 | 74 20 74 68 65 20 7a 6f 6f 6d 20 6c 65 76 65 6c 20 66 6f 72 20 74 68 65 20 63 75 72 72 65 6e 74 | t.the.zoom.level.for.the.current |
5e480 | 20 74 61 62 2e 0a 20 20 20 2a 0a 20 20 20 2a 20 50 65 72 20 6e 73 50 72 65 73 43 6f 6e 74 65 78 | .tab.....*....*.Per.nsPresContex |
5e4a0 | 74 3a 3a 73 65 74 46 75 6c 6c 5a 6f 6f 6d 2c 20 77 65 20 63 61 6e 20 73 65 74 20 74 68 65 20 7a | t::setFullZoom,.we.can.set.the.z |
5e4c0 | 6f 6f 6d 20 74 6f 20 69 74 73 20 63 75 72 72 65 6e 74 20 76 61 6c 75 65 0a 20 20 20 2a 20 77 69 | oom.to.its.current.value....*.wi |
5e4e0 | 74 68 6f 75 74 20 73 69 67 6e 69 66 69 63 61 6e 74 20 69 6d 70 61 63 74 20 6f 6e 20 70 65 72 66 | thout.significant.impact.on.perf |
5e500 | 6f 72 6d 61 6e 63 65 2c 20 61 73 20 74 68 65 20 73 65 74 74 69 6e 67 20 69 73 20 6f 6e 6c 79 20 | ormance,.as.the.setting.is.only. |
5e520 | 61 70 70 6c 69 65 64 0a 20 20 20 2a 20 69 66 20 69 74 20 64 69 66 66 65 72 73 20 66 72 6f 6d 20 | applied....*.if.it.differs.from. |
5e540 | 74 68 65 20 63 75 72 72 65 6e 74 20 73 65 74 74 69 6e 67 2e 20 20 49 6e 20 66 61 63 74 20 67 65 | the.current.setting...In.fact.ge |
5e560 | 74 74 69 6e 67 20 74 68 65 20 7a 6f 6f 6d 20 61 6e 64 20 74 68 65 6e 0a 20 20 20 2a 20 63 68 65 | tting.the.zoom.and.then....*.che |
5e580 | 63 6b 69 6e 67 20 6f 75 72 73 65 6c 76 65 73 20 69 66 20 69 74 20 64 69 66 66 65 72 73 20 63 6f | cking.ourselves.if.it.differs.co |
5e5a0 | 73 74 73 20 6d 6f 72 65 2e 0a 20 20 20 2a 20 0a 20 20 20 2a 20 41 6e 64 20 70 65 72 68 61 70 73 | sts.more.....*.....*.And.perhaps |
5e5c0 | 20 77 65 20 73 68 6f 75 6c 64 20 61 6c 77 61 79 73 20 73 65 74 20 74 68 65 20 7a 6f 6f 6d 20 65 | .we.should.always.set.the.zoom.e |
5e5e0 | 76 65 6e 20 69 66 20 69 74 20 77 61 73 20 6d 6f 72 65 20 65 78 70 65 6e 73 69 76 65 2c 0a 20 20 | ven.if.it.was.more.expensive,... |
5e600 | 20 2a 20 73 69 6e 63 65 20 44 6f 63 75 6d 65 6e 74 56 69 65 77 65 72 49 6d 70 6c 3a 3a 53 65 74 | .*.since.DocumentViewerImpl::Set |
5e620 | 54 65 78 74 5a 6f 6f 6d 20 63 6c 61 69 6d 73 20 74 68 61 74 20 63 68 69 6c 64 20 64 6f 63 75 6d | TextZoom.claims.that.child.docum |
5e640 | 65 6e 74 73 20 63 61 6e 20 68 61 76 65 0a 20 20 20 2a 20 61 20 64 69 66 66 65 72 65 6e 74 20 74 | ents.can.have....*.a.different.t |
5e660 | 65 78 74 20 7a 6f 6f 6d 20 28 61 6c 74 68 6f 75 67 68 20 69 74 20 77 6f 75 6c 64 20 62 65 20 75 | ext.zoom.(although.it.would.be.u |
5e680 | 6e 75 73 75 61 6c 29 2c 20 61 6e 64 20 69 74 20 69 6d 70 6c 69 65 73 20 74 68 61 74 0a 20 20 20 | nusual),.and.it.implies.that.... |
5e6a0 | 2a 20 74 68 6f 73 65 20 63 68 69 6c 64 20 74 65 78 74 20 7a 6f 6f 6d 73 20 73 68 6f 75 6c 64 20 | *.those.child.text.zooms.should. |
5e6c0 | 67 65 74 20 75 70 64 61 74 65 64 20 77 68 65 6e 20 74 68 65 20 70 61 72 65 6e 74 20 7a 6f 6f 6d | get.updated.when.the.parent.zoom |
5e6e0 | 20 67 65 74 73 20 73 65 74 2c 0a 20 20 20 2a 20 61 6e 64 20 70 65 72 68 61 70 73 20 74 68 65 20 | .gets.set,....*.and.perhaps.the. |
5e700 | 73 61 6d 65 20 69 73 20 74 72 75 65 20 66 6f 72 20 66 75 6c 6c 20 7a 6f 6f 6d 0a 20 20 20 2a 20 | same.is.true.for.full.zoom....*. |
5e720 | 28 61 6c 74 68 6f 75 67 68 20 44 6f 63 75 6d 65 6e 74 56 69 65 77 65 72 49 6d 70 6c 3a 3a 53 65 | (although.DocumentViewerImpl::Se |
5e740 | 74 46 75 6c 6c 5a 6f 6f 6d 20 64 6f 65 73 6e 27 74 20 6d 65 6e 74 69 6f 6e 20 69 74 29 2e 0a 20 | tFullZoom.doesn't.mention.it)... |
5e760 | 20 20 2a 0a 20 20 20 2a 20 53 6f 20 77 68 65 6e 20 77 65 20 61 70 70 6c 79 20 6e 65 77 20 7a 6f | ..*....*.So.when.we.apply.new.zo |
5e780 | 6f 6d 20 76 61 6c 75 65 73 20 74 6f 20 74 68 65 20 62 72 6f 77 73 65 72 2c 20 77 65 20 73 69 6d | om.values.to.the.browser,.we.sim |
5e7a0 | 70 6c 79 20 73 65 74 20 74 68 65 20 7a 6f 6f 6d 2e 0a 20 20 20 2a 20 57 65 20 64 6f 6e 27 74 20 | ply.set.the.zoom.....*.We.don't. |
5e7c0 | 63 68 65 63 6b 20 66 69 72 73 74 20 74 6f 20 73 65 65 20 69 66 20 74 68 65 20 6e 65 77 20 76 61 | check.first.to.see.if.the.new.va |
5e7e0 | 6c 75 65 20 69 73 20 74 68 65 20 73 61 6d 65 20 61 73 20 74 68 65 20 63 75 72 72 65 6e 74 0a 20 | lue.is.the.same.as.the.current.. |
5e800 | 20 20 2a 20 6f 6e 65 2e 0a 20 20 20 2a 2a 2f 0a 20 20 5f 61 70 70 6c 79 50 72 65 66 54 6f 53 65 | ..*.one.....**/..._applyPrefToSe |
5e820 | 74 74 69 6e 67 3a 20 66 75 6e 63 74 69 6f 6e 20 46 75 6c 6c 5a 6f 6f 6d 5f 5f 61 70 70 6c 79 50 | tting:.function.FullZoom__applyP |
5e840 | 72 65 66 54 6f 53 65 74 74 69 6e 67 28 61 56 61 6c 75 65 2c 20 61 42 72 6f 77 73 65 72 29 20 7b | refToSetting(aValue,.aBrowser).{ |
5e860 | 0a 20 20 20 20 76 61 72 20 62 72 6f 77 73 65 72 20 3d 20 61 42 72 6f 77 73 65 72 20 7c 7c 20 67 | .....var.browser.=.aBrowser.||.g |
5e880 | 42 72 6f 77 73 65 72 2e 73 65 6c 65 63 74 65 64 42 72 6f 77 73 65 72 3b 0a 0a 20 20 20 20 69 66 | Browser.selectedBrowser;......if |
5e8a0 | 20 28 21 74 68 69 73 2e 73 69 74 65 53 70 65 63 69 66 69 63 20 7c 7c 20 67 49 6e 50 72 69 6e 74 | .(!this.siteSpecific.||.gInPrint |
5e8c0 | 50 72 65 76 69 65 77 4d 6f 64 65 20 7c 7c 0a 20 20 20 20 20 20 20 20 62 72 6f 77 73 65 72 2e 63 | PreviewMode.||.........browser.c |
5e8e0 | 6f 6e 74 65 6e 74 44 6f 63 75 6d 65 6e 74 20 69 6e 73 74 61 6e 63 65 6f 66 20 43 69 2e 6e 73 49 | ontentDocument.instanceof.Ci.nsI |
5e900 | 49 6d 61 67 65 44 6f 63 75 6d 65 6e 74 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 | ImageDocument).......return;.... |
5e920 | 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 69 66 20 28 74 79 70 65 6f 66 20 61 56 61 6c 75 65 20 | ..try.{.......if.(typeof.aValue. |
5e940 | 21 3d 20 22 75 6e 64 65 66 69 6e 65 64 22 29 0a 20 20 20 20 20 20 20 20 5a 6f 6f 6d 4d 61 6e 61 | !=."undefined").........ZoomMana |
5e960 | 67 65 72 2e 73 65 74 5a 6f 6f 6d 46 6f 72 42 72 6f 77 73 65 72 28 62 72 6f 77 73 65 72 2c 20 74 | ger.setZoomForBrowser(browser,.t |
5e980 | 68 69 73 2e 5f 65 6e 73 75 72 65 56 61 6c 69 64 28 61 56 61 6c 75 65 29 29 3b 0a 20 20 20 20 20 | his._ensureValid(aValue));...... |
5e9a0 | 20 65 6c 73 65 20 69 66 20 28 74 79 70 65 6f 66 20 74 68 69 73 2e 67 6c 6f 62 61 6c 56 61 6c 75 | .else.if.(typeof.this.globalValu |
5e9c0 | 65 20 21 3d 20 22 75 6e 64 65 66 69 6e 65 64 22 29 0a 20 20 20 20 20 20 20 20 5a 6f 6f 6d 4d 61 | e.!=."undefined").........ZoomMa |
5e9e0 | 6e 61 67 65 72 2e 73 65 74 5a 6f 6f 6d 46 6f 72 42 72 6f 77 73 65 72 28 62 72 6f 77 73 65 72 2c | nager.setZoomForBrowser(browser, |
5ea00 | 20 74 68 69 73 2e 67 6c 6f 62 61 6c 56 61 6c 75 65 29 3b 0a 20 20 20 20 20 20 65 6c 73 65 0a 20 | .this.globalValue);.......else.. |
5ea20 | 20 20 20 20 20 20 20 5a 6f 6f 6d 4d 61 6e 61 67 65 72 2e 73 65 74 5a 6f 6f 6d 46 6f 72 42 72 6f | .......ZoomManager.setZoomForBro |
5ea40 | 77 73 65 72 28 62 72 6f 77 73 65 72 2c 20 31 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 63 61 74 63 | wser(browser,.1);.....}.....catc |
5ea60 | 68 28 65 78 29 20 7b 7d 0a 20 20 7d 2c 0a 0a 20 20 5f 61 70 70 6c 79 53 65 74 74 69 6e 67 54 6f | h(ex).{}...},...._applySettingTo |
5ea80 | 50 72 65 66 3a 20 66 75 6e 63 74 69 6f 6e 20 46 75 6c 6c 5a 6f 6f 6d 5f 5f 61 70 70 6c 79 53 65 | Pref:.function.FullZoom__applySe |
5eaa0 | 74 74 69 6e 67 54 6f 50 72 65 66 28 29 20 7b 0a 20 20 20 20 69 66 20 28 21 74 68 69 73 2e 73 69 | ttingToPref().{.....if.(!this.si |
5eac0 | 74 65 53 70 65 63 69 66 69 63 20 7c 7c 20 67 49 6e 50 72 69 6e 74 50 72 65 76 69 65 77 4d 6f 64 | teSpecific.||.gInPrintPreviewMod |
5eae0 | 65 20 7c 7c 0a 20 20 20 20 20 20 20 20 63 6f 6e 74 65 6e 74 2e 64 6f 63 75 6d 65 6e 74 20 69 6e | e.||.........content.document.in |
5eb00 | 73 74 61 6e 63 65 6f 66 20 43 69 2e 6e 73 49 49 6d 61 67 65 44 6f 63 75 6d 65 6e 74 29 0a 20 20 | stanceof.Ci.nsIImageDocument)... |
5eb20 | 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 20 20 76 61 72 20 7a 6f 6f 6d 4c 65 76 65 6c 20 3d | ....return;......var.zoomLevel.= |
5eb40 | 20 5a 6f 6f 6d 4d 61 6e 61 67 65 72 2e 7a 6f 6f 6d 3b 0a 20 20 20 20 74 68 69 73 2e 5f 63 70 73 | .ZoomManager.zoom;.....this._cps |
5eb60 | 2e 73 65 74 50 72 65 66 28 67 42 72 6f 77 73 65 72 2e 63 75 72 72 65 6e 74 55 52 49 2c 20 74 68 | .setPref(gBrowser.currentURI,.th |
5eb80 | 69 73 2e 6e 61 6d 65 2c 20 7a 6f 6f 6d 4c 65 76 65 6c 29 3b 0a 20 20 7d 2c 0a 0a 20 20 5f 72 65 | is.name,.zoomLevel);...},...._re |
5eba0 | 6d 6f 76 65 50 72 65 66 3a 20 66 75 6e 63 74 69 6f 6e 20 46 75 6c 6c 5a 6f 6f 6d 5f 5f 72 65 6d | movePref:.function.FullZoom__rem |
5ebc0 | 6f 76 65 50 72 65 66 28 29 20 7b 0a 20 20 20 20 69 66 20 28 21 28 63 6f 6e 74 65 6e 74 2e 64 6f | ovePref().{.....if.(!(content.do |
5ebe0 | 63 75 6d 65 6e 74 20 69 6e 73 74 61 6e 63 65 6f 66 20 43 69 2e 6e 73 49 49 6d 61 67 65 44 6f 63 | cument.instanceof.Ci.nsIImageDoc |
5ec00 | 75 6d 65 6e 74 29 29 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 63 70 73 2e 72 65 6d 6f 76 65 50 72 | ument)).......this._cps.removePr |
5ec20 | 65 66 28 67 42 72 6f 77 73 65 72 2e 63 75 72 72 65 6e 74 55 52 49 2c 20 74 68 69 73 2e 6e 61 6d | ef(gBrowser.currentURI,.this.nam |
5ec40 | 65 29 3b 0a 20 20 7d 2c 0a 0a 0a 20 20 2f 2f 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a | e);...},.....//***************** |
5ec60 | 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a | ******************************** |
5ec80 | 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2f 2f 0a 20 20 2f 2f | *************************//...// |
5eca0 | 20 55 74 69 6c 69 74 69 65 73 0a 0a 20 20 5f 65 6e 73 75 72 65 56 61 6c 69 64 3a 20 66 75 6e 63 | .Utilities...._ensureValid:.func |
5ecc0 | 74 69 6f 6e 20 46 75 6c 6c 5a 6f 6f 6d 5f 5f 65 6e 73 75 72 65 56 61 6c 69 64 28 61 56 61 6c 75 | tion.FullZoom__ensureValid(aValu |
5ece0 | 65 29 20 7b 0a 20 20 20 20 69 66 20 28 69 73 4e 61 4e 28 61 56 61 6c 75 65 29 29 0a 20 20 20 20 | e).{.....if.(isNaN(aValue))..... |
5ed00 | 20 20 72 65 74 75 72 6e 20 31 3b 0a 0a 20 20 20 20 69 66 20 28 61 56 61 6c 75 65 20 3c 20 5a 6f | ..return.1;......if.(aValue.<.Zo |
5ed20 | 6f 6d 4d 61 6e 61 67 65 72 2e 4d 49 4e 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 5a 6f 6f 6d | omManager.MIN).......return.Zoom |
5ed40 | 4d 61 6e 61 67 65 72 2e 4d 49 4e 3b 0a 0a 20 20 20 20 69 66 20 28 61 56 61 6c 75 65 20 3e 20 5a | Manager.MIN;......if.(aValue.>.Z |
5ed60 | 6f 6f 6d 4d 61 6e 61 67 65 72 2e 4d 41 58 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 5a 6f 6f | oomManager.MAX).......return.Zoo |
5ed80 | 6d 4d 61 6e 61 67 65 72 2e 4d 41 58 3b 0a 0a 20 20 20 20 72 65 74 75 72 6e 20 61 56 61 6c 75 65 | mManager.MAX;......return.aValue |
5eda0 | 3b 0a 20 20 7d 0a 7d 3b 0a 2f 2f 40 6c 69 6e 65 20 36 32 35 39 20 22 2f 62 75 69 6c 64 73 2f 6d | ;...}.};.//@line.6259."/builds/m |
5edc0 | 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 | oz2_slave/linux_build/build/brow |
5ede0 | 73 65 72 2f 62 61 73 65 2f 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2e 6a 73 22 0a 0a 2f 2a | ser/base/content/browser.js"../* |
5ee00 | 0a 2f 2f 40 6c 69 6e 65 20 33 39 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f | .//@line.39."/builds/moz2_slave/ |
5ee20 | 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 62 61 73 65 2f 63 | linux_build/build/browser/base/c |
5ee40 | 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2d 74 61 62 50 72 65 76 69 65 77 73 2e 6a 73 22 0a 20 | ontent/browser-tabPreviews.js".. |
5ee60 | 2a 2f 0a 0a 2f 2a 2a 0a 20 2a 20 54 61 62 20 70 72 65 76 69 65 77 73 20 75 74 69 6c 69 74 79 2c | */../**..*.Tab.previews.utility, |
5ee80 | 20 70 72 6f 64 75 63 65 73 20 74 68 75 6d 62 6e 61 69 6c 73 0a 20 2a 2f 0a 76 61 72 20 74 61 62 | .produces.thumbnails..*/.var.tab |
5eea0 | 50 72 65 76 69 65 77 73 20 3d 20 7b 0a 20 20 61 73 70 65 63 74 52 61 74 69 6f 3a 20 30 2e 35 36 | Previews.=.{...aspectRatio:.0.56 |
5eec0 | 32 35 2c 20 2f 2f 20 31 36 3a 39 0a 20 20 69 6e 69 74 3a 20 66 75 6e 63 74 69 6f 6e 20 74 61 62 | 25,.//.16:9...init:.function.tab |
5eee0 | 50 72 65 76 69 65 77 73 5f 5f 69 6e 69 74 28 29 20 7b 0a 20 20 20 20 74 68 69 73 2e 77 69 64 74 | Previews__init().{.....this.widt |
5ef00 | 68 20 3d 20 4d 61 74 68 2e 63 65 69 6c 28 73 63 72 65 65 6e 2e 61 76 61 69 6c 57 69 64 74 68 20 | h.=.Math.ceil(screen.availWidth. |
5ef20 | 2f 20 35 29 3b 0a 20 20 20 20 74 68 69 73 2e 68 65 69 67 68 74 20 3d 20 4d 61 74 68 2e 72 6f 75 | /.5);.....this.height.=.Math.rou |
5ef40 | 6e 64 28 74 68 69 73 2e 77 69 64 74 68 20 2a 20 74 68 69 73 2e 61 73 70 65 63 74 52 61 74 69 6f | nd(this.width.*.this.aspectRatio |
5ef60 | 29 3b 0a 0a 20 20 20 20 67 42 72 6f 77 73 65 72 2e 74 61 62 43 6f 6e 74 61 69 6e 65 72 2e 61 64 | );......gBrowser.tabContainer.ad |
5ef80 | 64 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 28 22 54 61 62 53 65 6c 65 63 74 22 2c 20 74 68 69 73 | dEventListener("TabSelect",.this |
5efa0 | 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 20 67 42 72 6f 77 73 65 72 2e 74 61 62 43 6f 6e 74 61 69 | ,.false);.....gBrowser.tabContai |
5efc0 | 6e 65 72 2e 61 64 64 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 28 22 53 53 54 61 62 52 65 73 74 6f | ner.addEventListener("SSTabResto |
5efe0 | 72 65 64 22 2c 20 74 68 69 73 2c 20 66 61 6c 73 65 29 3b 0a 20 20 7d 2c 0a 20 20 75 6e 69 6e 69 | red",.this,.false);...},...unini |
5f000 | 74 3a 20 66 75 6e 63 74 69 6f 6e 20 74 61 62 50 72 65 76 69 65 77 73 5f 5f 75 6e 69 6e 69 74 28 | t:.function.tabPreviews__uninit( |
5f020 | 29 20 7b 0a 20 20 20 20 67 42 72 6f 77 73 65 72 2e 74 61 62 43 6f 6e 74 61 69 6e 65 72 2e 72 65 | ).{.....gBrowser.tabContainer.re |
5f040 | 6d 6f 76 65 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 28 22 54 61 62 53 65 6c 65 63 74 22 2c 20 74 | moveEventListener("TabSelect",.t |
5f060 | 68 69 73 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 20 67 42 72 6f 77 73 65 72 2e 74 61 62 43 6f 6e | his,.false);.....gBrowser.tabCon |
5f080 | 74 61 69 6e 65 72 2e 72 65 6d 6f 76 65 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 28 22 53 53 54 61 | tainer.removeEventListener("SSTa |
5f0a0 | 62 52 65 73 74 6f 72 65 64 22 2c 20 74 68 69 73 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 20 74 68 | bRestored",.this,.false);.....th |
5f0c0 | 69 73 2e 5f 73 65 6c 65 63 74 65 64 54 61 62 20 3d 20 6e 75 6c 6c 3b 0a 20 20 7d 2c 0a 20 20 67 | is._selectedTab.=.null;...},...g |
5f0e0 | 65 74 3a 20 66 75 6e 63 74 69 6f 6e 20 74 61 62 50 72 65 76 69 65 77 73 5f 5f 67 65 74 28 61 54 | et:.function.tabPreviews__get(aT |
5f100 | 61 62 29 20 7b 0a 20 20 20 20 69 66 20 28 61 54 61 62 2e 5f 5f 74 68 75 6d 62 6e 61 69 6c 5f 6c | ab).{.....if.(aTab.__thumbnail_l |
5f120 | 61 73 74 55 52 49 20 26 26 0a 20 20 20 20 20 20 20 20 61 54 61 62 2e 5f 5f 74 68 75 6d 62 6e 61 | astURI.&&.........aTab.__thumbna |
5f140 | 69 6c 5f 6c 61 73 74 55 52 49 20 21 3d 20 61 54 61 62 2e 6c 69 6e 6b 65 64 42 72 6f 77 73 65 72 | il_lastURI.!=.aTab.linkedBrowser |
5f160 | 2e 63 75 72 72 65 6e 74 55 52 49 2e 73 70 65 63 29 20 7b 0a 20 20 20 20 20 20 61 54 61 62 2e 5f | .currentURI.spec).{.......aTab._ |
5f180 | 5f 74 68 75 6d 62 6e 61 69 6c 20 3d 20 6e 75 6c 6c 3b 0a 20 20 20 20 20 20 61 54 61 62 2e 5f 5f | _thumbnail.=.null;.......aTab.__ |
5f1a0 | 74 68 75 6d 62 6e 61 69 6c 5f 6c 61 73 74 55 52 49 20 3d 20 6e 75 6c 6c 3b 0a 20 20 20 20 7d 0a | thumbnail_lastURI.=.null;.....}. |
5f1c0 | 20 20 20 20 72 65 74 75 72 6e 20 61 54 61 62 2e 5f 5f 74 68 75 6d 62 6e 61 69 6c 20 7c 7c 20 74 | ....return.aTab.__thumbnail.||.t |
5f1e0 | 68 69 73 2e 63 61 70 74 75 72 65 28 61 54 61 62 2c 20 21 61 54 61 62 2e 68 61 73 41 74 74 72 69 | his.capture(aTab,.!aTab.hasAttri |
5f200 | 62 75 74 65 28 22 62 75 73 79 22 29 29 3b 0a 20 20 7d 2c 0a 20 20 63 61 70 74 75 72 65 3a 20 66 | bute("busy"));...},...capture:.f |
5f220 | 75 6e 63 74 69 6f 6e 20 74 61 62 50 72 65 76 69 65 77 73 5f 5f 63 61 70 74 75 72 65 28 61 54 61 | unction.tabPreviews__capture(aTa |
5f240 | 62 2c 20 61 53 74 6f 72 65 29 20 7b 0a 20 20 20 20 76 61 72 20 74 68 75 6d 62 6e 61 69 6c 20 3d | b,.aStore).{.....var.thumbnail.= |
5f260 | 20 64 6f 63 75 6d 65 6e 74 2e 63 72 65 61 74 65 45 6c 65 6d 65 6e 74 4e 53 28 22 68 74 74 70 3a | .document.createElementNS("http: |
5f280 | 2f 2f 77 77 77 2e 77 33 2e 6f 72 67 2f 31 39 39 39 2f 78 68 74 6d 6c 22 2c 20 22 63 61 6e 76 61 | //www.w3.org/1999/xhtml",."canva |
5f2a0 | 73 22 29 3b 0a 20 20 20 20 74 68 75 6d 62 6e 61 69 6c 2e 6d 6f 7a 4f 70 61 71 75 65 20 3d 20 74 | s");.....thumbnail.mozOpaque.=.t |
5f2c0 | 72 75 65 3b 0a 20 20 20 20 74 68 75 6d 62 6e 61 69 6c 2e 68 65 69 67 68 74 20 3d 20 74 68 69 73 | rue;.....thumbnail.height.=.this |
5f2e0 | 2e 68 65 69 67 68 74 3b 0a 20 20 20 20 74 68 75 6d 62 6e 61 69 6c 2e 77 69 64 74 68 20 3d 20 74 | .height;.....thumbnail.width.=.t |
5f300 | 68 69 73 2e 77 69 64 74 68 3b 0a 0a 20 20 20 20 76 61 72 20 63 74 78 20 3d 20 74 68 75 6d 62 6e | his.width;......var.ctx.=.thumbn |
5f320 | 61 69 6c 2e 67 65 74 43 6f 6e 74 65 78 74 28 22 32 64 22 29 3b 0a 20 20 20 20 76 61 72 20 77 69 | ail.getContext("2d");.....var.wi |
5f340 | 6e 20 3d 20 61 54 61 62 2e 6c 69 6e 6b 65 64 42 72 6f 77 73 65 72 2e 63 6f 6e 74 65 6e 74 57 69 | n.=.aTab.linkedBrowser.contentWi |
5f360 | 6e 64 6f 77 3b 0a 20 20 20 20 76 61 72 20 73 6e 69 70 70 65 74 57 69 64 74 68 20 3d 20 77 69 6e | ndow;.....var.snippetWidth.=.win |
5f380 | 2e 69 6e 6e 65 72 57 69 64 74 68 20 2a 20 2e 36 3b 0a 20 20 20 20 76 61 72 20 73 63 61 6c 65 20 | .innerWidth.*..6;.....var.scale. |
5f3a0 | 3d 20 74 68 69 73 2e 77 69 64 74 68 20 2f 20 73 6e 69 70 70 65 74 57 69 64 74 68 3b 0a 20 20 20 | =.this.width./.snippetWidth;.... |
5f3c0 | 20 63 74 78 2e 73 63 61 6c 65 28 73 63 61 6c 65 2c 20 73 63 61 6c 65 29 3b 0a 20 20 20 20 63 74 | .ctx.scale(scale,.scale);.....ct |
5f3e0 | 78 2e 64 72 61 77 57 69 6e 64 6f 77 28 77 69 6e 2c 20 77 69 6e 2e 73 63 72 6f 6c 6c 58 2c 20 77 | x.drawWindow(win,.win.scrollX,.w |
5f400 | 69 6e 2e 73 63 72 6f 6c 6c 59 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 | in.scrollY,....................s |
5f420 | 6e 69 70 70 65 74 57 69 64 74 68 2c 20 73 6e 69 70 70 65 74 57 69 64 74 68 20 2a 20 74 68 69 73 | nippetWidth,.snippetWidth.*.this |
5f440 | 2e 61 73 70 65 63 74 52 61 74 69 6f 2c 20 22 72 67 62 28 32 35 35 2c 32 35 35 2c 32 35 35 29 22 | .aspectRatio,."rgb(255,255,255)" |
5f460 | 29 3b 0a 0a 20 20 20 20 69 66 20 28 61 53 74 6f 72 65 29 20 7b 0a 20 20 20 20 20 20 61 54 61 62 | );......if.(aStore).{.......aTab |
5f480 | 2e 5f 5f 74 68 75 6d 62 6e 61 69 6c 20 3d 20 74 68 75 6d 62 6e 61 69 6c 3b 0a 20 20 20 20 20 20 | .__thumbnail.=.thumbnail;....... |
5f4a0 | 61 54 61 62 2e 5f 5f 74 68 75 6d 62 6e 61 69 6c 5f 6c 61 73 74 55 52 49 20 3d 20 61 54 61 62 2e | aTab.__thumbnail_lastURI.=.aTab. |
5f4c0 | 6c 69 6e 6b 65 64 42 72 6f 77 73 65 72 2e 63 75 72 72 65 6e 74 55 52 49 2e 73 70 65 63 3b 0a 20 | linkedBrowser.currentURI.spec;.. |
5f4e0 | 20 20 20 7d 0a 20 20 20 20 72 65 74 75 72 6e 20 74 68 75 6d 62 6e 61 69 6c 3b 0a 20 20 7d 2c 0a | ...}.....return.thumbnail;...},. |
5f500 | 20 20 68 61 6e 64 6c 65 45 76 65 6e 74 3a 20 66 75 6e 63 74 69 6f 6e 20 74 61 62 50 72 65 76 69 | ..handleEvent:.function.tabPrevi |
5f520 | 65 77 73 5f 5f 68 61 6e 64 6c 65 45 76 65 6e 74 28 65 76 65 6e 74 29 20 7b 0a 20 20 20 20 73 77 | ews__handleEvent(event).{.....sw |
5f540 | 69 74 63 68 20 28 65 76 65 6e 74 2e 74 79 70 65 29 20 7b 0a 20 20 20 20 20 20 63 61 73 65 20 22 | itch.(event.type).{.......case." |
5f560 | 54 61 62 53 65 6c 65 63 74 22 3a 0a 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 73 65 | TabSelect":.........if.(this._se |
5f580 | 6c 65 63 74 65 64 54 61 62 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 73 | lectedTab.&&.............this._s |
5f5a0 | 65 6c 65 63 74 65 64 54 61 62 2e 70 61 72 65 6e 74 4e 6f 64 65 20 26 26 0a 20 20 20 20 20 20 20 | electedTab.parentNode.&&........ |
5f5c0 | 20 20 20 20 20 21 74 68 69 73 2e 5f 70 65 6e 64 69 6e 67 55 70 64 61 74 65 29 20 7b 0a 20 20 20 | .....!this._pendingUpdate).{.... |
5f5e0 | 20 20 20 20 20 20 20 2f 2f 20 47 65 6e 65 72 61 74 65 20 61 20 74 68 75 6d 62 6e 61 69 6c 20 66 | .......//.Generate.a.thumbnail.f |
5f600 | 6f 72 20 74 68 65 20 74 61 62 20 74 68 61 74 20 77 61 73 20 73 65 6c 65 63 74 65 64 2e 0a 20 20 | or.the.tab.that.was.selected.... |
5f620 | 20 20 20 20 20 20 20 20 2f 2f 20 54 68 65 20 74 69 6d 65 6f 75 74 20 6b 65 65 70 73 20 74 68 65 | ........//.The.timeout.keeps.the |
5f640 | 20 55 49 20 73 6e 61 70 70 79 20 61 6e 64 20 70 72 65 76 65 6e 74 73 20 75 73 20 66 72 6f 6d 20 | .UI.snappy.and.prevents.us.from. |
5f660 | 67 65 6e 65 72 61 74 69 6e 67 20 74 68 75 6d 62 6e 61 69 6c 73 0a 20 20 20 20 20 20 20 20 20 20 | generating.thumbnails........... |
5f680 | 2f 2f 20 66 6f 72 20 74 61 62 73 20 74 68 61 74 20 77 69 6c 6c 20 62 65 20 63 6c 6f 73 65 64 2e | //.for.tabs.that.will.be.closed. |
5f6a0 | 20 44 75 72 69 6e 67 20 74 68 61 74 20 74 69 6d 65 6f 75 74 2c 20 64 6f 6e 27 74 20 67 65 6e 65 | .During.that.timeout,.don't.gene |
5f6c0 | 72 61 74 65 20 6f 74 68 65 72 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 74 68 75 6d 62 6e 61 69 | rate.other...........//.thumbnai |
5f6e0 | 6c 73 20 69 6e 20 63 61 73 65 20 6d 75 6c 74 69 70 6c 65 20 54 61 62 53 65 6c 65 63 74 20 65 76 | ls.in.case.multiple.TabSelect.ev |
5f700 | 65 6e 74 73 20 6f 63 63 75 72 20 66 61 73 74 20 69 6e 20 73 75 63 63 65 73 73 69 6f 6e 2e 0a 20 | ents.occur.fast.in.succession... |
5f720 | 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 70 65 6e 64 69 6e 67 55 70 64 61 74 65 20 3d 20 74 | .........this._pendingUpdate.=.t |
5f740 | 72 75 65 3b 0a 20 20 20 20 20 20 20 20 20 20 73 65 74 54 69 6d 65 6f 75 74 28 66 75 6e 63 74 69 | rue;...........setTimeout(functi |
5f760 | 6f 6e 20 28 73 65 6c 66 2c 20 61 54 61 62 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 73 65 | on.(self,.aTab).{.............se |
5f780 | 6c 66 2e 5f 70 65 6e 64 69 6e 67 55 70 64 61 74 65 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 | lf._pendingUpdate.=.false;...... |
5f7a0 | 20 20 20 20 20 20 20 69 66 20 28 61 54 61 62 2e 70 61 72 65 6e 74 4e 6f 64 65 20 26 26 20 21 61 | .......if.(aTab.parentNode.&&.!a |
5f7c0 | 54 61 62 2e 68 61 73 41 74 74 72 69 62 75 74 65 28 22 62 75 73 79 22 29 29 0a 20 20 20 20 20 20 | Tab.hasAttribute("busy"))....... |
5f7e0 | 20 20 20 20 20 20 20 20 73 65 6c 66 2e 63 61 70 74 75 72 65 28 61 54 61 62 2c 20 74 72 75 65 29 | ........self.capture(aTab,.true) |
5f800 | 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 2c 20 32 30 30 30 2c 20 74 68 69 73 2c 20 74 68 69 73 2e | ;...........},.2000,.this,.this. |
5f820 | 5f 73 65 6c 65 63 74 65 64 54 61 62 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 | _selectedTab);.........}........ |
5f840 | 20 74 68 69 73 2e 5f 73 65 6c 65 63 74 65 64 54 61 62 20 3d 20 65 76 65 6e 74 2e 74 61 72 67 65 | .this._selectedTab.=.event.targe |
5f860 | 74 3b 0a 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 63 61 73 65 20 22 53 53 | t;.........break;.......case."SS |
5f880 | 54 61 62 52 65 73 74 6f 72 65 64 22 3a 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 63 61 70 74 75 | TabRestored":.........this.captu |
5f8a0 | 72 65 28 65 76 65 6e 74 2e 74 61 72 67 65 74 2c 20 74 72 75 65 29 3b 0a 20 20 20 20 20 20 20 20 | re(event.target,.true);......... |
5f8c0 | 62 72 65 61 6b 3b 0a 20 20 20 20 7d 0a 20 20 7d 0a 7d 3b 0a 0a 2f 2a 2a 0a 20 2a 20 43 74 72 6c | break;.....}...}.};../**..*.Ctrl |
5f8e0 | 2d 54 61 62 20 70 61 6e 65 6c 0a 20 2a 2f 0a 76 61 72 20 63 74 72 6c 54 61 62 20 3d 20 7b 0a 20 | -Tab.panel..*/.var.ctrlTab.=.{.. |
5f900 | 20 67 65 74 20 70 61 6e 65 6c 20 28 29 20 7b 0a 20 20 20 20 64 65 6c 65 74 65 20 74 68 69 73 2e | .get.panel.().{.....delete.this. |
5f920 | 70 61 6e 65 6c 3b 0a 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 70 61 6e 65 6c 20 3d 20 64 | panel;.....return.this.panel.=.d |
5f940 | 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 63 74 72 6c 54 61 62 2d | ocument.getElementById("ctrlTab- |
5f960 | 70 61 6e 65 6c 22 29 3b 0a 20 20 7d 2c 0a 20 20 67 65 74 20 73 65 61 72 63 68 46 69 65 6c 64 20 | panel");...},...get.searchField. |
5f980 | 28 29 20 7b 0a 20 20 20 20 64 65 6c 65 74 65 20 74 68 69 73 2e 73 65 61 72 63 68 46 69 65 6c 64 | ().{.....delete.this.searchField |
5f9a0 | 3b 0a 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 73 65 61 72 63 68 46 69 65 6c 64 20 3d 20 | ;.....return.this.searchField.=. |
5f9c0 | 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 63 74 72 6c 54 61 62 | document.getElementById("ctrlTab |
5f9e0 | 2d 73 65 61 72 63 68 22 29 3b 0a 20 20 7d 2c 0a 20 20 67 65 74 20 70 61 67 65 73 42 61 72 20 28 | -search");...},...get.pagesBar.( |
5fa00 | 29 20 7b 0a 20 20 20 20 64 65 6c 65 74 65 20 74 68 69 73 2e 70 61 67 65 73 42 61 72 3b 0a 20 20 | ).{.....delete.this.pagesBar;... |
5fa20 | 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 70 61 67 65 73 42 61 72 20 3d 20 64 6f 63 75 6d 65 6e | ..return.this.pagesBar.=.documen |
5fa40 | 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 63 74 72 6c 54 61 62 2d 70 61 67 65 73 22 | t.getElementById("ctrlTab-pages" |
5fa60 | 29 3b 0a 20 20 7d 2c 0a 20 20 67 65 74 20 74 68 75 6d 62 6e 61 69 6c 73 20 28 29 20 7b 0a 20 20 | );...},...get.thumbnails.().{... |
5fa80 | 20 20 64 65 6c 65 74 65 20 74 68 69 73 2e 74 68 75 6d 62 6e 61 69 6c 73 3b 0a 20 20 20 20 72 65 | ..delete.this.thumbnails;.....re |
5faa0 | 74 75 72 6e 20 74 68 69 73 2e 74 68 75 6d 62 6e 61 69 6c 73 20 3d 20 74 68 69 73 2e 70 61 6e 65 | turn.this.thumbnails.=.this.pane |
5fac0 | 6c 2e 67 65 74 45 6c 65 6d 65 6e 74 73 42 79 43 6c 61 73 73 4e 61 6d 65 28 22 63 74 72 6c 54 61 | l.getElementsByClassName("ctrlTa |
5fae0 | 62 2d 74 68 75 6d 62 6e 61 69 6c 22 29 3b 0a 20 20 7d 2c 0a 20 20 67 65 74 20 63 6f 6c 75 6d 6e | b-thumbnail");...},...get.column |
5fb00 | 73 20 28 29 20 7b 0a 20 20 20 20 64 65 6c 65 74 65 20 74 68 69 73 2e 63 6f 6c 75 6d 6e 73 3b 0a | s.().{.....delete.this.columns;. |
5fb20 | 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 63 6f 6c 75 6d 6e 73 20 3d 20 74 68 69 73 2e 74 | ....return.this.columns.=.this.t |
5fb40 | 68 75 6d 62 6e 61 69 6c 73 2e 6c 65 6e 67 74 68 20 2f 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | humbnails.length./.............. |
5fb60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 70 61 6e 65 6c 2e 67 65 74 45 6c 65 6d 65 | .............this.panel.getEleme |
5fb80 | 6e 74 73 42 79 43 6c 61 73 73 4e 61 6d 65 28 22 63 74 72 6c 54 61 62 2d 72 6f 77 22 29 2e 6c 65 | ntsByClassName("ctrlTab-row").le |
5fba0 | 6e 67 74 68 3b 0a 20 20 7d 2c 0a 20 20 67 65 74 20 63 6c 6f 73 65 43 68 61 72 43 6f 64 65 20 28 | ngth;...},...get.closeCharCode.( |
5fbc0 | 29 20 7b 0a 20 20 20 20 64 65 6c 65 74 65 20 74 68 69 73 2e 63 6c 6f 73 65 43 68 61 72 43 6f 64 | ).{.....delete.this.closeCharCod |
5fbe0 | 65 3b 0a 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 63 6c 6f 73 65 43 68 61 72 43 6f 64 65 | e;.....return.this.closeCharCode |
5fc00 | 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 6b 65 79 5f | .=.document.getElementById("key_ |
5fc20 | 63 6c 6f 73 65 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | close")......................... |
5fc40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 6b | .................getAttribute("k |
5fc60 | 65 79 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ey")............................ |
5fc80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 74 6f 4c 6f 63 61 6c 65 4c 6f 77 65 72 43 61 73 65 28 | ..............toLocaleLowerCase( |
5fca0 | 29 2e 63 68 61 72 43 6f 64 65 41 74 28 30 29 3b 0a 20 20 7d 2c 0a 20 20 67 65 74 20 66 69 6e 64 | ).charCodeAt(0);...},...get.find |
5fcc0 | 43 68 61 72 43 6f 64 65 20 28 29 20 7b 0a 20 20 20 20 64 65 6c 65 74 65 20 74 68 69 73 2e 66 69 | CharCode.().{.....delete.this.fi |
5fce0 | 6e 64 43 68 61 72 43 6f 64 65 3b 0a 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 66 69 6e 64 | ndCharCode;.....return.this.find |
5fd00 | 43 68 61 72 43 6f 64 65 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 | CharCode.=.document.getElementBy |
5fd20 | 49 64 28 22 6b 65 79 5f 66 69 6e 64 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | Id("key_find").................. |
5fd40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 41 74 74 72 69 62 | .......................getAttrib |
5fd60 | 75 74 65 28 22 6b 65 79 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ute("key")...................... |
5fd80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 74 6f 4c 6f 63 61 6c 65 4c 6f 77 65 72 | ...................toLocaleLower |
5fda0 | 43 61 73 65 28 29 2e 63 68 61 72 43 6f 64 65 41 74 28 30 29 3b 0a 20 20 7d 2c 0a 20 20 67 65 74 | Case().charCodeAt(0);...},...get |
5fdc0 | 20 72 65 63 65 6e 74 6c 79 55 73 65 64 4c 69 6d 69 74 20 28 29 20 7b 0a 20 20 20 20 64 65 6c 65 | .recentlyUsedLimit.().{.....dele |
5fde0 | 74 65 20 74 68 69 73 2e 72 65 63 65 6e 74 6c 79 55 73 65 64 4c 69 6d 69 74 3b 0a 20 20 20 20 72 | te.this.recentlyUsedLimit;.....r |
5fe00 | 65 74 75 72 6e 20 74 68 69 73 2e 72 65 63 65 6e 74 6c 79 55 73 65 64 4c 69 6d 69 74 20 3d 20 67 | eturn.this.recentlyUsedLimit.=.g |
5fe20 | 50 72 65 66 53 65 72 76 69 63 65 2e 67 65 74 49 6e 74 50 72 65 66 28 22 62 72 6f 77 73 65 72 2e | PrefService.getIntPref("browser. |
5fe40 | 63 74 72 6c 54 61 62 2e 72 65 63 65 6e 74 6c 79 55 73 65 64 4c 69 6d 69 74 22 29 3b 0a 20 20 7d | ctrlTab.recentlyUsedLimit");...} |
5fe60 | 2c 0a 20 20 73 65 6c 65 63 74 65 64 49 6e 64 65 78 3a 20 30 2c 0a 20 20 67 65 74 20 73 65 6c 65 | ,...selectedIndex:.0,...get.sele |
5fe80 | 63 74 65 64 20 28 29 20 74 68 69 73 2e 74 68 75 6d 62 6e 61 69 6c 73 2e 69 74 65 6d 28 74 68 69 | cted.().this.thumbnails.item(thi |
5fea0 | 73 2e 73 65 6c 65 63 74 65 64 49 6e 64 65 78 29 2c 0a 20 20 67 65 74 20 69 73 4f 70 65 6e 20 20 | s.selectedIndex),...get.isOpen.. |
5fec0 | 20 28 29 20 74 68 69 73 2e 70 61 6e 65 6c 2e 73 74 61 74 65 20 3d 3d 20 22 6f 70 65 6e 22 20 7c | .().this.panel.state.==."open".| |
5fee0 | 7c 20 74 68 69 73 2e 70 61 6e 65 6c 2e 73 74 61 74 65 20 3d 3d 20 22 73 68 6f 77 69 6e 67 22 2c | |.this.panel.state.==."showing", |
5ff00 | 0a 20 20 67 65 74 20 74 61 62 43 6f 75 6e 74 20 28 29 20 74 68 69 73 2e 74 61 62 4c 69 73 74 2e | ...get.tabCount.().this.tabList. |
5ff20 | 6c 65 6e 67 74 68 2c 0a 0a 20 20 67 65 74 20 73 74 69 63 6b 79 20 28 29 20 74 68 69 73 2e 70 61 | length,....get.sticky.().this.pa |
5ff40 | 6e 65 6c 2e 68 61 73 41 74 74 72 69 62 75 74 65 28 22 73 74 69 63 6b 79 22 29 2c 0a 20 20 73 65 | nel.hasAttribute("sticky"),...se |
5ff60 | 74 20 73 74 69 63 6b 79 20 28 76 61 6c 29 20 7b 0a 20 20 20 20 69 66 20 28 76 61 6c 29 0a 20 20 | t.sticky.(val).{.....if.(val)... |
5ff80 | 20 20 20 20 74 68 69 73 2e 70 61 6e 65 6c 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 73 74 69 | ....this.panel.setAttribute("sti |
5ffa0 | 63 6b 79 22 2c 20 22 74 72 75 65 22 29 3b 0a 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 74 68 | cky",."true");.....else.......th |
5ffc0 | 69 73 2e 70 61 6e 65 6c 2e 72 65 6d 6f 76 65 41 74 74 72 69 62 75 74 65 28 22 73 74 69 63 6b 79 | is.panel.removeAttribute("sticky |
5ffe0 | 22 29 3b 0a 20 20 20 20 72 65 74 75 72 6e 20 76 61 6c 3b 0a 20 20 7d 2c 0a 0a 20 20 67 65 74 20 | ");.....return.val;...},....get. |
60000 | 70 61 67 65 73 20 28 29 20 4d 61 74 68 2e 63 65 69 6c 28 74 68 69 73 2e 74 61 62 43 6f 75 6e 74 | pages.().Math.ceil(this.tabCount |
60020 | 20 2f 20 74 68 69 73 2e 74 68 75 6d 62 6e 61 69 6c 73 2e 6c 65 6e 67 74 68 29 2c 0a 20 20 67 65 | ./.this.thumbnails.length),...ge |
60040 | 74 20 70 61 67 65 20 20 28 29 20 74 68 69 73 2e 5f 70 61 67 65 20 7c 7c 20 30 2c 0a 20 20 73 65 | t.page..().this._page.||.0,...se |
60060 | 74 20 70 61 67 65 20 20 28 70 61 67 65 29 20 7b 0a 20 20 20 20 69 66 20 28 70 61 67 65 20 3c 20 | t.page..(page).{.....if.(page.<. |
60080 | 30 29 0a 20 20 20 20 20 20 70 61 67 65 20 3d 20 74 68 69 73 2e 70 61 67 65 73 20 2d 20 31 3b 0a | 0).......page.=.this.pages.-.1;. |
600a0 | 20 20 20 20 65 6c 73 65 20 69 66 20 28 70 61 67 65 20 3e 3d 20 74 68 69 73 2e 70 61 67 65 73 29 | ....else.if.(page.>=.this.pages) |
600c0 | 0a 20 20 20 20 20 20 70 61 67 65 20 3d 20 30 3b 0a 0a 20 20 20 20 69 66 20 28 74 68 69 73 2e 70 | .......page.=.0;......if.(this.p |
600e0 | 61 67 65 73 42 61 72 2e 63 68 69 6c 64 4e 6f 64 65 73 2e 6c 65 6e 67 74 68 29 20 7b 0a 20 20 20 | agesBar.childNodes.length).{.... |
60100 | 20 20 20 74 68 69 73 2e 70 61 67 65 73 42 61 72 2e 63 68 69 6c 64 4e 6f 64 65 73 5b 74 68 69 73 | ...this.pagesBar.childNodes[this |
60120 | 2e 70 61 67 65 5d 2e 72 65 6d 6f 76 65 41 74 74 72 69 62 75 74 65 28 22 73 65 6c 65 63 74 65 64 | .page].removeAttribute("selected |
60140 | 22 29 3b 0a 20 20 20 20 20 20 74 68 69 73 2e 70 61 67 65 73 42 61 72 2e 63 68 69 6c 64 4e 6f 64 | ");.......this.pagesBar.childNod |
60160 | 65 73 5b 70 61 67 65 5d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 73 65 6c 65 63 74 65 64 22 | es[page].setAttribute("selected" |
60180 | 2c 20 22 74 72 75 65 22 29 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 74 68 69 73 2e 5f 70 61 67 65 | ,."true");.....}......this._page |
601a0 | 20 3d 20 70 61 67 65 3b 0a 20 20 20 20 74 68 69 73 2e 75 70 64 61 74 65 50 72 65 76 69 65 77 73 | .=.page;.....this.updatePreviews |
601c0 | 28 29 3b 0a 20 20 20 20 72 65 74 75 72 6e 20 70 61 67 65 3b 0a 20 20 7d 2c 0a 0a 20 20 67 65 74 | ();.....return.page;...},....get |
601e0 | 20 74 61 62 4c 69 73 74 20 28 29 20 7b 0a 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 74 61 62 4c | .tabList.().{.....if.(this._tabL |
60200 | 69 73 74 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 74 61 62 4c 69 73 74 3b | ist).......return.this._tabList; |
60220 | 0a 0a 20 20 20 20 76 61 72 20 6c 69 73 74 20 3d 20 41 72 72 61 79 2e 73 6c 69 63 65 28 67 42 72 | ......var.list.=.Array.slice(gBr |
60240 | 6f 77 73 65 72 2e 6d 54 61 62 73 29 3b 0a 0a 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 63 6c 6f | owser.mTabs);......if.(this._clo |
60260 | 73 69 6e 67 29 0a 20 20 20 20 20 20 74 68 69 73 2e 64 65 74 61 63 68 54 61 62 28 74 68 69 73 2e | sing).......this.detachTab(this. |
60280 | 5f 63 6c 6f 73 69 6e 67 2c 20 6c 69 73 74 29 3b 0a 0a 20 20 20 20 66 6f 72 20 28 6c 65 74 20 69 | _closing,.list);......for.(let.i |
602a0 | 20 3d 20 30 3b 20 69 20 3c 20 67 42 72 6f 77 73 65 72 2e 74 61 62 43 6f 6e 74 61 69 6e 65 72 2e | .=.0;.i.<.gBrowser.tabContainer. |
602c0 | 73 65 6c 65 63 74 65 64 49 6e 64 65 78 3b 20 69 2b 2b 29 0a 20 20 20 20 20 20 6c 69 73 74 2e 70 | selectedIndex;.i++).......list.p |
602e0 | 75 73 68 28 6c 69 73 74 2e 73 68 69 66 74 28 29 29 3b 0a 0a 20 20 20 20 69 66 20 28 21 74 68 69 | ush(list.shift());......if.(!thi |
60300 | 73 2e 5f 75 73 65 54 61 62 42 61 72 4f 72 64 65 72 20 26 26 20 74 68 69 73 2e 72 65 63 65 6e 74 | s._useTabBarOrder.&&.this.recent |
60320 | 6c 79 55 73 65 64 4c 69 6d 69 74 20 21 3d 20 30 29 20 7b 0a 20 20 20 20 20 20 6c 65 74 20 72 65 | lyUsedLimit.!=.0).{.......let.re |
60340 | 63 65 6e 74 6c 79 55 73 65 64 54 61 62 73 20 3d 20 74 68 69 73 2e 5f 72 65 63 65 6e 74 6c 79 55 | centlyUsedTabs.=.this._recentlyU |
60360 | 73 65 64 54 61 62 73 3b 0a 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 72 65 63 65 6e 74 6c 79 | sedTabs;.......if.(this.recently |
60380 | 55 73 65 64 4c 69 6d 69 74 20 3e 20 30 29 0a 20 20 20 20 20 20 20 20 72 65 63 65 6e 74 6c 79 55 | UsedLimit.>.0).........recentlyU |
603a0 | 73 65 64 54 61 62 73 20 3d 20 74 68 69 73 2e 5f 72 65 63 65 6e 74 6c 79 55 73 65 64 54 61 62 73 | sedTabs.=.this._recentlyUsedTabs |
603c0 | 2e 73 6c 69 63 65 28 30 2c 20 74 68 69 73 2e 72 65 63 65 6e 74 6c 79 55 73 65 64 4c 69 6d 69 74 | .slice(0,.this.recentlyUsedLimit |
603e0 | 29 3b 0a 20 20 20 20 20 20 66 6f 72 20 28 6c 65 74 20 69 20 3d 20 72 65 63 65 6e 74 6c 79 55 73 | );.......for.(let.i.=.recentlyUs |
60400 | 65 64 54 61 62 73 2e 6c 65 6e 67 74 68 20 2d 20 31 3b 20 69 20 3e 3d 20 30 3b 20 69 2d 2d 29 20 | edTabs.length.-.1;.i.>=.0;.i--). |
60420 | 7b 0a 20 20 20 20 20 20 20 20 6c 69 73 74 2e 73 70 6c 69 63 65 28 6c 69 73 74 2e 69 6e 64 65 78 | {.........list.splice(list.index |
60440 | 4f 66 28 72 65 63 65 6e 74 6c 79 55 73 65 64 54 61 62 73 5b 69 5d 29 2c 20 31 29 3b 0a 20 20 20 | Of(recentlyUsedTabs[i]),.1);.... |
60460 | 20 20 20 20 20 6c 69 73 74 2e 75 6e 73 68 69 66 74 28 72 65 63 65 6e 74 6c 79 55 73 65 64 54 61 | .....list.unshift(recentlyUsedTa |
60480 | 62 73 5b 69 5d 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 0a 20 20 20 20 69 66 20 28 74 | bs[i]);.......}.....}......if.(t |
604a0 | 68 69 73 2e 73 65 61 72 63 68 46 69 65 6c 64 2e 76 61 6c 75 65 29 20 7b 0a 20 20 20 20 20 20 6c | his.searchField.value).{.......l |
604c0 | 69 73 74 20 3d 20 6c 69 73 74 2e 66 69 6c 74 65 72 28 66 75 6e 63 74 69 6f 6e 20 28 74 61 62 29 | ist.=.list.filter(function.(tab) |
604e0 | 20 7b 0a 20 20 20 20 20 20 20 20 6c 65 74 20 6c 6f 77 65 72 43 61 73 65 4c 61 62 65 6c 2c 20 75 | .{.........let.lowerCaseLabel,.u |
60500 | 72 69 3b 0a 20 20 20 20 20 20 20 20 66 6f 72 20 28 6c 65 74 20 69 20 3d 20 30 3b 20 69 20 3c 20 | ri;.........for.(let.i.=.0;.i.<. |
60520 | 74 68 69 73 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 69 66 | this.length;.i++).{...........if |
60540 | 20 28 74 61 62 2e 6c 61 62 65 6c 2e 69 6e 64 65 78 4f 66 28 74 68 69 73 5b 69 5d 29 20 21 3d 20 | .(tab.label.indexOf(this[i]).!=. |
60560 | 2d 31 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6e 74 69 6e 75 65 3b 0a 0a 20 20 20 20 20 | -1).............continue;....... |
60580 | 20 20 20 20 20 69 66 20 28 21 6c 6f 77 65 72 43 61 73 65 4c 61 62 65 6c 29 0a 20 20 20 20 20 20 | .....if.(!lowerCaseLabel)....... |
605a0 | 20 20 20 20 20 20 6c 6f 77 65 72 43 61 73 65 4c 61 62 65 6c 20 3d 20 74 61 62 2e 6c 61 62 65 6c | ......lowerCaseLabel.=.tab.label |
605c0 | 2e 74 6f 4c 6f 63 61 6c 65 4c 6f 77 65 72 43 61 73 65 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 | .toLocaleLowerCase();........... |
605e0 | 69 66 20 28 6c 6f 77 65 72 43 61 73 65 4c 61 62 65 6c 2e 69 6e 64 65 78 4f 66 28 74 68 69 73 5b | if.(lowerCaseLabel.indexOf(this[ |
60600 | 69 5d 29 20 21 3d 20 2d 31 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6e 74 69 6e 75 65 3b | i]).!=.-1).............continue; |
60620 | 0a 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 75 72 69 29 20 7b 0a 20 20 20 20 20 20 20 20 | ............if.(!uri).{......... |
60640 | 20 20 20 20 75 72 69 20 3d 20 74 61 62 2e 6c 69 6e 6b 65 64 42 72 6f 77 73 65 72 2e 63 75 72 72 | ....uri.=.tab.linkedBrowser.curr |
60660 | 65 6e 74 55 52 49 2e 73 70 65 63 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 72 79 20 7b 0a 20 | entURI.spec;.............try.{.. |
60680 | 20 20 20 20 20 20 20 20 20 20 20 20 20 75 72 69 20 3d 20 64 65 63 6f 64 65 55 52 49 28 75 72 69 | .............uri.=.decodeURI(uri |
606a0 | 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 20 63 61 74 63 68 20 28 65 29 20 7b 7d 0a 20 20 | );.............}.catch.(e).{}... |
606c0 | 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 75 72 69 2e 69 6e 64 65 | ........}...........if.(uri.inde |
606e0 | 78 4f 66 28 74 68 69 73 5b 69 5d 29 20 21 3d 20 2d 31 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 | xOf(this[i]).!=.-1)............. |
60700 | 63 6f 6e 74 69 6e 75 65 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 66 61 6c 73 | continue;............return.fals |
60720 | 65 3b 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 72 75 65 | e;.........}.........return.true |
60740 | 3b 0a 20 20 20 20 20 20 7d 2c 20 74 68 69 73 2e 73 65 61 72 63 68 46 69 65 6c 64 2e 76 61 6c 75 | ;.......},.this.searchField.valu |
60760 | 65 2e 73 70 6c 69 74 28 2f 5c 73 2b 2f 67 29 29 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 72 65 74 | e.split(/\s+/g));.....}......ret |
60780 | 75 72 6e 20 74 68 69 73 2e 5f 74 61 62 4c 69 73 74 20 3d 20 6c 69 73 74 3b 0a 20 20 7d 2c 0a 0a | urn.this._tabList.=.list;...},.. |
607a0 | 20 20 69 6e 69 74 3a 20 66 75 6e 63 74 69 6f 6e 20 63 74 72 6c 54 61 62 5f 5f 69 6e 69 74 28 29 | ..init:.function.ctrlTab__init() |
607c0 | 20 7b 0a 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 72 65 63 65 6e 74 6c 79 55 73 65 64 54 61 62 | .{.....if.(this._recentlyUsedTab |
607e0 | 73 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 20 20 74 68 69 73 2e 5f 72 65 63 65 6e | s).......return;.....this._recen |
60800 | 74 6c 79 55 73 65 64 54 61 62 73 20 3d 20 5b 67 42 72 6f 77 73 65 72 2e 73 65 6c 65 63 74 65 64 | tlyUsedTabs.=.[gBrowser.selected |
60820 | 54 61 62 5d 3b 0a 0a 20 20 20 20 76 61 72 20 74 61 62 43 6f 6e 74 61 69 6e 65 72 20 3d 20 67 42 | Tab];......var.tabContainer.=.gB |
60840 | 72 6f 77 73 65 72 2e 74 61 62 43 6f 6e 74 61 69 6e 65 72 3b 0a 20 20 20 20 74 61 62 43 6f 6e 74 | rowser.tabContainer;.....tabCont |
60860 | 61 69 6e 65 72 2e 61 64 64 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 28 22 54 61 62 4f 70 65 6e 22 | ainer.addEventListener("TabOpen" |
60880 | 2c 20 74 68 69 73 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 20 74 61 62 43 6f 6e 74 61 69 6e 65 72 | ,.this,.false);.....tabContainer |
608a0 | 2e 61 64 64 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 28 22 54 61 62 53 65 6c 65 63 74 22 2c 20 74 | .addEventListener("TabSelect",.t |
608c0 | 68 69 73 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 20 74 61 62 43 6f 6e 74 61 69 6e 65 72 2e 61 64 | his,.false);.....tabContainer.ad |
608e0 | 64 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 28 22 54 61 62 43 6c 6f 73 65 22 2c 20 74 68 69 73 2c | dEventListener("TabClose",.this, |
60900 | 20 66 61 6c 73 65 29 3b 0a 0a 20 20 20 20 74 68 69 73 2e 5f 68 61 6e 64 6c 65 43 74 72 6c 54 61 | .false);......this._handleCtrlTa |
60920 | 62 20 3d 0a 20 20 20 20 20 20 67 50 72 65 66 53 65 72 76 69 63 65 2e 67 65 74 42 6f 6f 6c 50 72 | b.=.......gPrefService.getBoolPr |
60940 | 65 66 28 22 62 72 6f 77 73 65 72 2e 63 74 72 6c 54 61 62 2e 70 72 65 76 69 65 77 73 22 29 20 26 | ef("browser.ctrlTab.previews").& |
60960 | 26 0a 20 20 20 20 20 20 28 21 67 50 72 65 66 53 65 72 76 69 63 65 2e 70 72 65 66 48 61 73 55 73 | &.......(!gPrefService.prefHasUs |
60980 | 65 72 56 61 6c 75 65 28 22 62 72 6f 77 73 65 72 2e 63 74 72 6c 54 61 62 2e 64 69 73 61 6c 6c 6f | erValue("browser.ctrlTab.disallo |
609a0 | 77 46 6f 72 53 63 72 65 65 6e 52 65 61 64 65 72 73 22 29 20 7c 7c 0a 20 20 20 20 20 20 20 21 67 | wForScreenReaders").||........!g |
609c0 | 50 72 65 66 53 65 72 76 69 63 65 2e 67 65 74 42 6f 6f 6c 50 72 65 66 28 22 62 72 6f 77 73 65 72 | PrefService.getBoolPref("browser |
609e0 | 2e 63 74 72 6c 54 61 62 2e 64 69 73 61 6c 6c 6f 77 46 6f 72 53 63 72 65 65 6e 52 65 61 64 65 72 | .ctrlTab.disallowForScreenReader |
60a00 | 73 22 29 29 3b 0a 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 68 61 6e 64 6c 65 43 74 72 6c 54 61 | s"));.....if.(this._handleCtrlTa |
60a20 | 62 29 0a 20 20 20 20 20 20 67 42 72 6f 77 73 65 72 2e 6d 54 61 62 42 6f 78 2e 68 61 6e 64 6c 65 | b).......gBrowser.mTabBox.handle |
60a40 | 43 74 72 6c 54 61 62 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 61 64 | CtrlTab.=.false;.....document.ad |
60a60 | 64 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 28 22 6b 65 79 70 72 65 73 73 22 2c 20 74 68 69 73 2c | dEventListener("keypress",.this, |
60a80 | 20 66 61 6c 73 65 29 3b 0a 20 20 7d 2c 0a 0a 20 20 75 6e 69 6e 69 74 3a 20 66 75 6e 63 74 69 6f | .false);...},....uninit:.functio |
60aa0 | 6e 20 63 74 72 6c 54 61 62 5f 5f 75 6e 69 6e 69 74 28 29 20 7b 0a 20 20 20 20 74 68 69 73 2e 5f | n.ctrlTab__uninit().{.....this._ |
60ac0 | 72 65 63 65 6e 74 6c 79 55 73 65 64 54 61 62 73 20 3d 20 6e 75 6c 6c 3b 0a 0a 20 20 20 20 76 61 | recentlyUsedTabs.=.null;......va |
60ae0 | 72 20 74 61 62 43 6f 6e 74 61 69 6e 65 72 20 3d 20 67 42 72 6f 77 73 65 72 2e 74 61 62 43 6f 6e | r.tabContainer.=.gBrowser.tabCon |
60b00 | 74 61 69 6e 65 72 3b 0a 20 20 20 20 74 61 62 43 6f 6e 74 61 69 6e 65 72 2e 72 65 6d 6f 76 65 45 | tainer;.....tabContainer.removeE |
60b20 | 76 65 6e 74 4c 69 73 74 65 6e 65 72 28 22 54 61 62 4f 70 65 6e 22 2c 20 74 68 69 73 2c 20 66 61 | ventListener("TabOpen",.this,.fa |
60b40 | 6c 73 65 29 3b 0a 20 20 20 20 74 61 62 43 6f 6e 74 61 69 6e 65 72 2e 72 65 6d 6f 76 65 45 76 65 | lse);.....tabContainer.removeEve |
60b60 | 6e 74 4c 69 73 74 65 6e 65 72 28 22 54 61 62 53 65 6c 65 63 74 22 2c 20 74 68 69 73 2c 20 66 61 | ntListener("TabSelect",.this,.fa |
60b80 | 6c 73 65 29 3b 0a 20 20 20 20 74 61 62 43 6f 6e 74 61 69 6e 65 72 2e 72 65 6d 6f 76 65 45 76 65 | lse);.....tabContainer.removeEve |
60ba0 | 6e 74 4c 69 73 74 65 6e 65 72 28 22 54 61 62 43 6c 6f 73 65 22 2c 20 74 68 69 73 2c 20 66 61 6c | ntListener("TabClose",.this,.fal |
60bc0 | 73 65 29 3b 0a 0a 20 20 20 20 74 68 69 73 2e 70 61 6e 65 6c 2e 72 65 6d 6f 76 65 45 76 65 6e 74 | se);......this.panel.removeEvent |
60be0 | 4c 69 73 74 65 6e 65 72 28 22 70 6f 70 75 70 68 69 64 69 6e 67 22 2c 20 74 68 69 73 2c 20 66 61 | Listener("popuphiding",.this,.fa |
60c00 | 6c 73 65 29 3b 0a 20 20 20 20 74 68 69 73 2e 70 61 6e 65 6c 2e 72 65 6d 6f 76 65 45 76 65 6e 74 | lse);.....this.panel.removeEvent |
60c20 | 4c 69 73 74 65 6e 65 72 28 22 70 6f 70 75 70 73 68 6f 77 6e 22 2c 20 74 68 69 73 2c 20 66 61 6c | Listener("popupshown",.this,.fal |
60c40 | 73 65 29 3b 0a 20 20 20 20 74 68 69 73 2e 70 61 6e 65 6c 2e 72 65 6d 6f 76 65 45 76 65 6e 74 4c | se);.....this.panel.removeEventL |
60c60 | 69 73 74 65 6e 65 72 28 22 70 6f 70 75 70 68 69 64 64 65 6e 22 2c 20 74 68 69 73 2c 20 66 61 6c | istener("popuphidden",.this,.fal |
60c80 | 73 65 29 3b 0a 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 72 65 6d 6f 76 65 45 76 65 6e 74 4c 69 73 | se);.....document.removeEventLis |
60ca0 | 74 65 6e 65 72 28 22 6b 65 79 70 72 65 73 73 22 2c 20 74 68 69 73 2c 20 66 61 6c 73 65 29 3b 0a | tener("keypress",.this,.false);. |
60cc0 | 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 68 61 6e 64 6c 65 43 74 72 6c 54 61 62 29 0a 20 20 20 | ....if.(this._handleCtrlTab).... |
60ce0 | 20 20 20 67 42 72 6f 77 73 65 72 2e 6d 54 61 62 42 6f 78 2e 68 61 6e 64 6c 65 43 74 72 6c 54 61 | ...gBrowser.mTabBox.handleCtrlTa |
60d00 | 62 20 3d 20 74 72 75 65 3b 0a 20 20 7d 2c 0a 0a 20 20 73 65 61 72 63 68 3a 20 66 75 6e 63 74 69 | b.=.true;...},....search:.functi |
60d20 | 6f 6e 20 63 74 72 6c 54 61 62 5f 5f 73 65 61 72 63 68 28 29 20 7b 0a 20 20 20 20 69 66 20 28 74 | on.ctrlTab__search().{.....if.(t |
60d40 | 68 69 73 2e 69 73 4f 70 65 6e 29 20 7b 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 74 61 62 4c 69 73 | his.isOpen).{.......this._tabLis |
60d60 | 74 20 3d 20 6e 75 6c 6c 3b 0a 20 20 20 20 20 20 74 68 69 73 2e 62 75 69 6c 64 50 61 67 65 73 42 | t.=.null;.......this.buildPagesB |
60d80 | 61 72 28 29 3b 0a 20 20 20 20 20 20 74 68 69 73 2e 67 6f 54 6f 50 61 67 65 28 30 2c 20 30 29 3b | ar();.......this.goToPage(0,.0); |
60da0 | 0a 20 20 20 20 20 20 74 68 69 73 2e 75 70 64 61 74 65 50 72 65 76 69 65 77 73 28 29 3b 0a 20 20 | .......this.updatePreviews();... |
60dc0 | 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 62 75 69 6c 64 50 61 67 65 73 42 61 72 3a 20 66 75 6e 63 74 | ..}...},....buildPagesBar:.funct |
60de0 | 69 6f 6e 20 63 74 72 6c 54 61 62 5f 5f 62 75 69 6c 64 50 61 67 65 73 42 61 72 28 29 20 7b 0a 20 | ion.ctrlTab__buildPagesBar().{.. |
60e00 | 20 20 20 76 61 72 20 70 61 67 65 73 20 3d 20 74 68 69 73 2e 70 61 67 65 73 3b 0a 20 20 20 20 69 | ...var.pages.=.this.pages;.....i |
60e20 | 66 20 28 70 61 67 65 73 20 3d 3d 20 31 29 0a 20 20 20 20 20 20 70 61 67 65 73 20 3d 20 30 3b 0a | f.(pages.==.1).......pages.=.0;. |
60e40 | 20 20 20 20 77 68 69 6c 65 20 28 74 68 69 73 2e 70 61 67 65 73 42 61 72 2e 63 68 69 6c 64 4e 6f | ....while.(this.pagesBar.childNo |
60e60 | 64 65 73 2e 6c 65 6e 67 74 68 20 3e 20 70 61 67 65 73 29 0a 20 20 20 20 20 20 74 68 69 73 2e 70 | des.length.>.pages).......this.p |
60e80 | 61 67 65 73 42 61 72 2e 72 65 6d 6f 76 65 43 68 69 6c 64 28 74 68 69 73 2e 70 61 67 65 73 42 61 | agesBar.removeChild(this.pagesBa |
60ea0 | 72 2e 6c 61 73 74 43 68 69 6c 64 29 3b 0a 20 20 20 20 77 68 69 6c 65 20 28 74 68 69 73 2e 70 61 | r.lastChild);.....while.(this.pa |
60ec0 | 67 65 73 42 61 72 2e 63 68 69 6c 64 4e 6f 64 65 73 2e 6c 65 6e 67 74 68 20 3c 20 70 61 67 65 73 | gesBar.childNodes.length.<.pages |
60ee0 | 29 20 7b 0a 20 20 20 20 20 20 6c 65 74 20 70 6f 69 6e 74 65 72 20 3d 20 64 6f 63 75 6d 65 6e 74 | ).{.......let.pointer.=.document |
60f00 | 2e 63 72 65 61 74 65 45 6c 65 6d 65 6e 74 28 22 73 70 61 63 65 72 22 29 3b 0a 20 20 20 20 20 20 | .createElement("spacer");....... |
60f20 | 70 6f 69 6e 74 65 72 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 6f 6e 63 6c 69 63 6b 22 2c 20 | pointer.setAttribute("onclick",. |
60f40 | 22 63 74 72 6c 54 61 62 2e 67 6f 54 6f 50 61 67 65 28 22 20 2b 20 74 68 69 73 2e 70 61 67 65 73 | "ctrlTab.goToPage(".+.this.pages |
60f60 | 42 61 72 2e 63 68 69 6c 64 4e 6f 64 65 73 2e 6c 65 6e 67 74 68 20 2b 20 22 29 3b 22 29 3b 0a 20 | Bar.childNodes.length.+.");");.. |
60f80 | 20 20 20 20 20 70 6f 69 6e 74 65 72 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 63 6c 61 73 73 | .....pointer.setAttribute("class |
60fa0 | 22 2c 20 22 63 74 72 6c 54 61 62 2d 70 61 67 65 50 6f 69 6e 74 65 72 22 29 3b 0a 20 20 20 20 20 | ",."ctrlTab-pagePointer");...... |
60fc0 | 20 74 68 69 73 2e 70 61 67 65 73 42 61 72 2e 61 70 70 65 6e 64 43 68 69 6c 64 28 70 6f 69 6e 74 | .this.pagesBar.appendChild(point |
60fe0 | 65 72 29 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 67 6f 54 6f 50 61 67 65 3a 20 66 75 6e | er);.....}...},....goToPage:.fun |
61000 | 63 74 69 6f 6e 20 63 74 72 6c 54 61 62 5f 5f 67 6f 54 6f 50 61 67 65 28 61 50 61 67 65 2c 20 61 | ction.ctrlTab__goToPage(aPage,.a |
61020 | 49 6e 64 65 78 29 20 7b 0a 20 20 20 20 74 68 69 73 2e 70 61 67 65 20 3d 20 61 50 61 67 65 3b 0a | Index).{.....this.page.=.aPage;. |
61040 | 20 20 20 20 74 68 69 73 2e 73 65 6c 65 63 74 65 64 2e 72 65 6d 6f 76 65 41 74 74 72 69 62 75 74 | ....this.selected.removeAttribut |
61060 | 65 28 22 73 65 6c 65 63 74 65 64 22 29 3b 0a 20 20 20 20 69 66 20 28 61 49 6e 64 65 78 29 20 7b | e("selected");.....if.(aIndex).{ |
61080 | 0a 20 20 20 20 20 20 74 68 69 73 2e 73 65 6c 65 63 74 65 64 49 6e 64 65 78 20 3d 20 61 49 6e 64 | .......this.selectedIndex.=.aInd |
610a0 | 65 78 3b 0a 20 20 20 20 20 20 77 68 69 6c 65 20 28 21 74 68 69 73 2e 73 65 6c 65 63 74 65 64 20 | ex;.......while.(!this.selected. |
610c0 | 7c 7c 20 21 74 68 69 73 2e 73 65 6c 65 63 74 65 64 2e 68 61 73 41 74 74 72 69 62 75 74 65 28 22 | ||.!this.selected.hasAttribute(" |
610e0 | 76 61 6c 69 64 22 29 29 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 73 65 6c 65 63 74 65 64 49 6e | valid")).........this.selectedIn |
61100 | 64 65 78 2d 2d 3b 0a 20 20 20 20 7d 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 74 68 69 73 2e 73 | dex--;.....}.else.{.......this.s |
61120 | 65 6c 65 63 74 65 64 49 6e 64 65 78 20 3d 20 30 3b 0a 20 20 20 20 7d 0a 20 20 20 20 74 68 69 73 | electedIndex.=.0;.....}.....this |
61140 | 2e 75 70 64 61 74 65 53 65 6c 65 63 74 65 64 28 29 3b 0a 20 20 7d 2c 0a 0a 20 20 75 70 64 61 74 | .updateSelected();...},....updat |
61160 | 65 50 72 65 76 69 65 77 73 3a 20 66 75 6e 63 74 69 6f 6e 20 63 74 72 6c 54 61 62 5f 5f 75 70 64 | ePreviews:.function.ctrlTab__upd |
61180 | 61 74 65 50 72 65 76 69 65 77 73 28 29 20 7b 0a 20 20 20 20 76 61 72 20 74 61 62 73 20 3d 20 74 | atePreviews().{.....var.tabs.=.t |
611a0 | 68 69 73 2e 74 61 62 4c 69 73 74 3b 0a 20 20 20 20 76 61 72 20 6f 66 66 73 65 74 20 3d 20 74 68 | his.tabList;.....var.offset.=.th |
611c0 | 69 73 2e 70 61 67 65 20 2a 20 74 68 69 73 2e 74 68 75 6d 62 6e 61 69 6c 73 2e 6c 65 6e 67 74 68 | is.page.*.this.thumbnails.length |
611e0 | 3b 0a 20 20 20 20 66 6f 72 20 28 6c 65 74 20 69 20 3d 20 30 3b 20 69 20 3c 20 74 68 69 73 2e 74 | ;.....for.(let.i.=.0;.i.<.this.t |
61200 | 68 75 6d 62 6e 61 69 6c 73 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 0a 20 20 20 20 20 20 74 68 69 | humbnails.length;.i++).......thi |
61220 | 73 2e 75 70 64 61 74 65 50 72 65 76 69 65 77 28 74 68 69 73 2e 74 68 75 6d 62 6e 61 69 6c 73 5b | s.updatePreview(this.thumbnails[ |
61240 | 69 5d 2c 20 74 61 62 73 5b 69 20 2b 20 6f 66 66 73 65 74 5d 29 3b 0a 20 20 7d 2c 0a 20 20 75 70 | i],.tabs[i.+.offset]);...},...up |
61260 | 64 61 74 65 50 72 65 76 69 65 77 3a 20 66 75 6e 63 74 69 6f 6e 20 63 74 72 6c 54 61 62 5f 5f 75 | datePreview:.function.ctrlTab__u |
61280 | 70 64 61 74 65 50 72 65 76 69 65 77 28 61 54 68 75 6d 62 6e 61 69 6c 2c 20 61 54 61 62 29 20 7b | pdatePreview(aThumbnail,.aTab).{ |
612a0 | 0a 20 20 20 20 64 6f 20 7b 0a 20 20 20 20 20 20 69 66 20 28 61 54 68 75 6d 62 6e 61 69 6c 2e 5f | .....do.{.......if.(aThumbnail._ |
612c0 | 74 61 62 29 20 7b 0a 20 20 20 20 20 20 20 20 69 66 20 28 61 54 68 75 6d 62 6e 61 69 6c 2e 5f 74 | tab).{.........if.(aThumbnail._t |
612e0 | 61 62 20 3d 3d 20 61 54 61 62 29 0a 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 | ab.==.aTab)...........break;.... |
61300 | 20 20 20 20 20 61 54 68 75 6d 62 6e 61 69 6c 2e 5f 74 61 62 2e 72 65 6d 6f 76 65 45 76 65 6e 74 | .....aThumbnail._tab.removeEvent |
61320 | 4c 69 73 74 65 6e 65 72 28 22 44 4f 4d 41 74 74 72 4d 6f 64 69 66 69 65 64 22 2c 20 74 68 69 73 | Listener("DOMAttrModified",.this |
61340 | 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 61 54 68 75 6d 62 6e 61 | ,.false);.......}.......aThumbna |
61360 | 69 6c 2e 5f 74 61 62 20 3d 20 61 54 61 62 3b 0a 20 20 20 20 20 20 69 66 20 28 61 54 61 62 29 0a | il._tab.=.aTab;.......if.(aTab). |
61380 | 20 20 20 20 20 20 20 20 61 54 61 62 2e 61 64 64 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 28 22 44 | ........aTab.addEventListener("D |
613a0 | 4f 4d 41 74 74 72 4d 6f 64 69 66 69 65 64 22 2c 20 74 68 69 73 2c 20 66 61 6c 73 65 29 3b 0a 20 | OMAttrModified",.this,.false);.. |
613c0 | 20 20 20 7d 20 77 68 69 6c 65 20 28 66 61 6c 73 65 29 3b 0a 0a 20 20 20 20 69 66 20 28 61 54 68 | ...}.while.(false);......if.(aTh |
613e0 | 75 6d 62 6e 61 69 6c 2e 66 69 72 73 74 43 68 69 6c 64 29 0a 20 20 20 20 20 20 61 54 68 75 6d 62 | umbnail.firstChild).......aThumb |
61400 | 6e 61 69 6c 2e 72 65 6d 6f 76 65 43 68 69 6c 64 28 61 54 68 75 6d 62 6e 61 69 6c 2e 66 69 72 73 | nail.removeChild(aThumbnail.firs |
61420 | 74 43 68 69 6c 64 29 3b 0a 20 20 20 20 69 66 20 28 61 54 61 62 29 20 7b 0a 20 20 20 20 20 20 61 | tChild);.....if.(aTab).{.......a |
61440 | 54 68 75 6d 62 6e 61 69 6c 2e 61 70 70 65 6e 64 43 68 69 6c 64 28 74 61 62 50 72 65 76 69 65 77 | Thumbnail.appendChild(tabPreview |
61460 | 73 2e 67 65 74 28 61 54 61 62 29 29 3b 0a 20 20 20 20 20 20 61 54 68 75 6d 62 6e 61 69 6c 2e 73 | s.get(aTab));.......aThumbnail.s |
61480 | 65 74 41 74 74 72 69 62 75 74 65 28 22 76 61 6c 69 64 22 2c 20 22 74 72 75 65 22 29 3b 0a 20 20 | etAttribute("valid",."true");... |
614a0 | 20 20 20 20 61 54 68 75 6d 62 6e 61 69 6c 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 6c 61 62 | ....aThumbnail.setAttribute("lab |
614c0 | 65 6c 22 2c 20 61 54 61 62 2e 6c 61 62 65 6c 29 3b 0a 20 20 20 20 20 20 61 54 68 75 6d 62 6e 61 | el",.aTab.label);.......aThumbna |
614e0 | 69 6c 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 63 72 6f 70 22 2c 20 61 54 61 62 2e 63 72 6f | il.setAttribute("crop",.aTab.cro |
61500 | 70 29 3b 0a 20 20 20 20 7d 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 6c 65 74 20 70 6c 61 63 65 | p);.....}.else.{.......let.place |
61520 | 68 6f 6c 64 65 72 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 63 72 65 61 74 65 45 6c 65 6d 65 6e 74 28 | holder.=.document.createElement( |
61540 | 22 68 62 6f 78 22 29 3b 0a 20 20 20 20 20 20 70 6c 61 63 65 68 6f 6c 64 65 72 2e 68 65 69 67 68 | "hbox");.......placeholder.heigh |
61560 | 74 20 3d 20 74 61 62 50 72 65 76 69 65 77 73 2e 68 65 69 67 68 74 3b 0a 20 20 20 20 20 20 61 54 | t.=.tabPreviews.height;.......aT |
61580 | 68 75 6d 62 6e 61 69 6c 2e 61 70 70 65 6e 64 43 68 69 6c 64 28 70 6c 61 63 65 68 6f 6c 64 65 72 | humbnail.appendChild(placeholder |
615a0 | 29 3b 0a 20 20 20 20 20 20 61 54 68 75 6d 62 6e 61 69 6c 2e 72 65 6d 6f 76 65 41 74 74 72 69 62 | );.......aThumbnail.removeAttrib |
615c0 | 75 74 65 28 22 76 61 6c 69 64 22 29 3b 0a 20 20 20 20 20 20 61 54 68 75 6d 62 6e 61 69 6c 2e 73 | ute("valid");.......aThumbnail.s |
615e0 | 65 74 41 74 74 72 69 62 75 74 65 28 22 6c 61 62 65 6c 22 2c 20 22 70 6c 61 63 65 68 6f 6c 64 65 | etAttribute("label",."placeholde |
61600 | 72 22 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 61 54 68 75 6d 62 6e 61 69 6c 2e 77 69 64 74 68 20 | r");.....}.....aThumbnail.width. |
61620 | 3d 20 74 61 62 50 72 65 76 69 65 77 73 2e 77 69 64 74 68 3b 0a 20 20 7d 2c 0a 0a 20 20 74 61 62 | =.tabPreviews.width;...},....tab |
61640 | 41 74 74 72 4d 6f 64 69 66 69 65 64 3a 20 66 75 6e 63 74 69 6f 6e 20 63 74 72 6c 54 61 62 5f 5f | AttrModified:.function.ctrlTab__ |
61660 | 74 61 62 41 74 74 72 4d 6f 64 69 66 69 65 64 28 61 54 61 62 2c 20 61 41 74 74 72 4e 61 6d 65 29 | tabAttrModified(aTab,.aAttrName) |
61680 | 20 7b 0a 20 20 20 20 73 77 69 74 63 68 20 28 61 41 74 74 72 4e 61 6d 65 29 20 7b 0a 20 20 20 20 | .{.....switch.(aAttrName).{..... |
616a0 | 20 20 63 61 73 65 20 22 6c 61 62 65 6c 22 3a 0a 20 20 20 20 20 20 63 61 73 65 20 22 63 72 6f 70 | ..case."label":.......case."crop |
616c0 | 22 3a 0a 20 20 20 20 20 20 63 61 73 65 20 22 62 75 73 79 22 3a 0a 20 20 20 20 20 20 20 20 66 6f | ":.......case."busy":.........fo |
616e0 | 72 20 28 6c 65 74 20 69 20 3d 20 74 68 69 73 2e 74 68 75 6d 62 6e 61 69 6c 73 2e 6c 65 6e 67 74 | r.(let.i.=.this.thumbnails.lengt |
61700 | 68 20 2d 20 31 3b 20 69 20 3e 3d 20 30 3b 20 69 2d 2d 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 | h.-.1;.i.>=.0;.i--).{........... |
61720 | 69 66 20 28 74 68 69 73 2e 74 68 75 6d 62 6e 61 69 6c 73 5b 69 5d 2e 5f 74 61 62 20 3d 3d 20 61 | if.(this.thumbnails[i]._tab.==.a |
61740 | 54 61 62 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 75 70 64 61 74 65 50 72 | Tab).{.............this.updatePr |
61760 | 65 76 69 65 77 28 74 68 69 73 2e 74 68 75 6d 62 6e 61 69 6c 73 5b 69 5d 2c 20 61 54 61 62 29 3b | eview(this.thumbnails[i],.aTab); |
61780 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a | .............break;...........}. |
617a0 | 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 7d 0a 20 | ........}.........break;.....}.. |
617c0 | 20 7d 2c 0a 0a 20 20 61 64 76 61 6e 63 65 53 65 6c 65 63 74 65 64 3a 20 66 75 6e 63 74 69 6f 6e | .},....advanceSelected:.function |
617e0 | 20 63 74 72 6c 54 61 62 5f 5f 61 64 76 61 6e 63 65 53 65 6c 65 63 74 65 64 28 29 20 7b 0a 20 20 | .ctrlTab__advanceSelected().{... |
61800 | 20 20 74 68 69 73 2e 73 65 6c 65 63 74 65 64 2e 72 65 6d 6f 76 65 41 74 74 72 69 62 75 74 65 28 | ..this.selected.removeAttribute( |
61820 | 22 73 65 6c 65 63 74 65 64 22 29 3b 0a 0a 20 20 20 20 74 68 69 73 2e 73 65 6c 65 63 74 65 64 49 | "selected");......this.selectedI |
61840 | 6e 64 65 78 20 2b 3d 20 74 68 69 73 2e 69 6e 76 65 72 74 44 69 72 65 63 74 69 6f 6e 20 3f 20 2d | ndex.+=.this.invertDirection.?.- |
61860 | 31 20 3a 20 31 3b 0a 20 20 20 20 69 66 20 28 74 68 69 73 2e 73 65 6c 65 63 74 65 64 49 6e 64 65 | 1.:.1;.....if.(this.selectedInde |
61880 | 78 20 3c 20 30 29 20 7b 0a 20 20 20 20 20 20 74 68 69 73 2e 70 61 67 65 2d 2d 3b 0a 20 20 20 20 | x.<.0).{.......this.page--;..... |
618a0 | 20 20 74 68 69 73 2e 73 65 6c 65 63 74 65 64 49 6e 64 65 78 20 3d 20 74 68 69 73 2e 74 68 75 6d | ..this.selectedIndex.=.this.thum |
618c0 | 62 6e 61 69 6c 73 2e 6c 65 6e 67 74 68 20 2d 20 31 3b 0a 20 20 20 20 20 20 77 68 69 6c 65 20 28 | bnails.length.-.1;.......while.( |
618e0 | 21 74 68 69 73 2e 73 65 6c 65 63 74 65 64 2e 68 61 73 41 74 74 72 69 62 75 74 65 28 22 76 61 6c | !this.selected.hasAttribute("val |
61900 | 69 64 22 29 29 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 73 65 6c 65 63 74 65 64 49 6e 64 65 78 | id")).........this.selectedIndex |
61920 | 2d 2d 3b 0a 20 20 20 20 7d 20 65 6c 73 65 20 69 66 20 28 74 68 69 73 2e 73 65 6c 65 63 74 65 64 | --;.....}.else.if.(this.selected |
61940 | 49 6e 64 65 78 20 3e 3d 20 74 68 69 73 2e 74 68 75 6d 62 6e 61 69 6c 73 2e 6c 65 6e 67 74 68 20 | Index.>=.this.thumbnails.length. |
61960 | 7c 7c 20 21 74 68 69 73 2e 73 65 6c 65 63 74 65 64 2e 68 61 73 41 74 74 72 69 62 75 74 65 28 22 | ||.!this.selected.hasAttribute(" |
61980 | 76 61 6c 69 64 22 29 29 20 7b 0a 20 20 20 20 20 20 74 68 69 73 2e 70 61 67 65 2b 2b 3b 0a 20 20 | valid")).{.......this.page++;... |
619a0 | 20 20 20 20 74 68 69 73 2e 73 65 6c 65 63 74 65 64 49 6e 64 65 78 20 3d 20 30 3b 0a 20 20 20 20 | ....this.selectedIndex.=.0;..... |
619c0 | 7d 0a 20 20 20 20 74 68 69 73 2e 75 70 64 61 74 65 53 65 6c 65 63 74 65 64 28 29 3b 0a 20 20 7d | }.....this.updateSelected();...} |
619e0 | 2c 0a 0a 20 20 75 70 64 61 74 65 53 65 6c 65 63 74 65 64 3a 20 66 75 6e 63 74 69 6f 6e 20 63 74 | ,....updateSelected:.function.ct |
61a00 | 72 6c 54 61 62 5f 5f 75 70 64 61 74 65 53 65 6c 65 63 74 65 64 28 29 20 7b 0a 20 20 20 20 69 66 | rlTab__updateSelected().{.....if |
61a20 | 20 28 74 68 69 73 2e 74 61 62 43 6f 75 6e 74 29 0a 20 20 20 20 20 20 74 68 69 73 2e 73 65 6c 65 | .(this.tabCount).......this.sele |
61a40 | 63 74 65 64 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 73 65 6c 65 63 74 65 64 22 2c 20 22 74 | cted.setAttribute("selected",."t |
61a60 | 72 75 65 22 29 3b 0a 20 20 7d 2c 0a 0a 20 20 73 65 6c 65 63 74 54 68 75 6d 62 6e 61 69 6c 3a 20 | rue");...},....selectThumbnail:. |
61a80 | 66 75 6e 63 74 69 6f 6e 20 63 74 72 6c 54 61 62 5f 5f 73 65 6c 65 63 74 54 68 75 6d 62 6e 61 69 | function.ctrlTab__selectThumbnai |
61aa0 | 6c 28 61 54 68 75 6d 62 6e 61 69 6c 29 20 7b 0a 20 20 20 20 69 66 20 28 74 68 69 73 2e 74 61 62 | l(aThumbnail).{.....if.(this.tab |
61ac0 | 43 6f 75 6e 74 29 20 7b 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 74 61 62 54 6f 53 65 6c 65 63 74 | Count).{.......this._tabToSelect |
61ae0 | 20 3d 20 28 61 54 68 75 6d 62 6e 61 69 6c 20 7c 7c 20 74 68 69 73 2e 73 65 6c 65 63 74 65 64 29 | .=.(aThumbnail.||.this.selected) |
61b00 | 2e 5f 74 61 62 3b 0a 20 20 20 20 20 20 74 68 69 73 2e 70 61 6e 65 6c 2e 68 69 64 65 50 6f 70 75 | ._tab;.......this.panel.hidePopu |
61b20 | 70 28 29 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 61 74 74 61 63 68 54 61 62 3a 20 66 75 | p();.....}...},....attachTab:.fu |
61b40 | 6e 63 74 69 6f 6e 20 63 74 72 6c 54 61 62 5f 5f 61 74 74 61 63 68 54 61 62 28 61 54 61 62 2c 20 | nction.ctrlTab__attachTab(aTab,. |
61b60 | 61 50 6f 73 29 20 7b 0a 20 20 20 20 69 66 20 28 61 50 6f 73 20 3d 3d 20 30 29 0a 20 20 20 20 20 | aPos).{.....if.(aPos.==.0)...... |
61b80 | 20 74 68 69 73 2e 5f 72 65 63 65 6e 74 6c 79 55 73 65 64 54 61 62 73 2e 75 6e 73 68 69 66 74 28 | .this._recentlyUsedTabs.unshift( |
61ba0 | 61 54 61 62 29 3b 0a 20 20 20 20 65 6c 73 65 20 69 66 20 28 61 50 6f 73 29 0a 20 20 20 20 20 20 | aTab);.....else.if.(aPos)....... |
61bc0 | 74 68 69 73 2e 5f 72 65 63 65 6e 74 6c 79 55 73 65 64 54 61 62 73 2e 73 70 6c 69 63 65 28 61 50 | this._recentlyUsedTabs.splice(aP |
61be0 | 6f 73 2c 20 30 2c 20 61 54 61 62 29 3b 0a 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 74 68 69 | os,.0,.aTab);.....else.......thi |
61c00 | 73 2e 5f 72 65 63 65 6e 74 6c 79 55 73 65 64 54 61 62 73 2e 70 75 73 68 28 61 54 61 62 29 3b 0a | s._recentlyUsedTabs.push(aTab);. |
61c20 | 20 20 7d 2c 0a 20 20 64 65 74 61 63 68 54 61 62 3a 20 66 75 6e 63 74 69 6f 6e 20 63 74 72 6c 54 | ..},...detachTab:.function.ctrlT |
61c40 | 61 62 5f 5f 64 65 74 61 63 68 54 61 62 28 61 54 61 62 2c 20 61 54 61 62 73 29 20 7b 0a 20 20 20 | ab__detachTab(aTab,.aTabs).{.... |
61c60 | 20 76 61 72 20 74 61 62 73 20 3d 20 61 54 61 62 73 20 7c 7c 20 74 68 69 73 2e 5f 72 65 63 65 6e | .var.tabs.=.aTabs.||.this._recen |
61c80 | 74 6c 79 55 73 65 64 54 61 62 73 3b 0a 20 20 20 20 76 61 72 20 69 20 3d 20 74 61 62 73 2e 69 6e | tlyUsedTabs;.....var.i.=.tabs.in |
61ca0 | 64 65 78 4f 66 28 61 54 61 62 29 3b 0a 20 20 20 20 69 66 20 28 69 20 3e 3d 20 30 29 0a 20 20 20 | dexOf(aTab);.....if.(i.>=.0).... |
61cc0 | 20 20 20 74 61 62 73 2e 73 70 6c 69 63 65 28 69 2c 20 31 29 3b 0a 20 20 7d 2c 0a 0a 20 20 6f 70 | ...tabs.splice(i,.1);...},....op |
61ce0 | 65 6e 3a 20 66 75 6e 63 74 69 6f 6e 20 63 74 72 6c 54 61 62 5f 5f 6f 70 65 6e 28 61 53 74 69 63 | en:.function.ctrlTab__open(aStic |
61d00 | 6b 79 29 20 7b 0a 20 20 20 20 69 66 20 28 74 68 69 73 2e 69 73 4f 70 65 6e 20 26 26 20 74 68 69 | ky).{.....if.(this.isOpen.&&.thi |
61d20 | 73 2e 73 74 69 63 6b 79 29 20 7b 0a 20 20 20 20 20 20 74 68 69 73 2e 70 61 6e 65 6c 2e 68 69 64 | s.sticky).{.......this.panel.hid |
61d40 | 65 50 6f 70 75 70 28 29 3b 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 20 20 7d 0a 20 20 | ePopup();.......return;.....}... |
61d60 | 20 20 74 68 69 73 2e 73 74 69 63 6b 79 20 3d 20 21 21 61 53 74 69 63 6b 79 3b 0a 0a 20 20 20 20 | ..this.sticky.=.!!aSticky;...... |
61d80 | 74 68 69 73 2e 5f 64 65 66 65 72 4f 6e 54 61 62 53 65 6c 65 63 74 20 3d 20 5b 5d 3b 0a 20 20 20 | this._deferOnTabSelect.=.[];.... |
61da0 | 20 69 66 20 28 74 68 69 73 2e 69 6e 76 65 72 74 44 69 72 65 63 74 69 6f 6e 29 0a 20 20 20 20 20 | .if.(this.invertDirection)...... |
61dc0 | 20 74 68 69 73 2e 5f 75 73 65 54 61 62 42 61 72 4f 72 64 65 72 20 3d 20 74 72 75 65 3b 0a 0a 20 | .this._useTabBarOrder.=.true;... |
61de0 | 20 20 20 74 68 69 73 2e 5f 74 61 62 42 61 72 48 61 6e 64 6c 65 73 43 74 72 6c 50 61 67 65 55 70 | ...this._tabBarHandlesCtrlPageUp |
61e00 | 44 6f 77 6e 20 3d 20 67 42 72 6f 77 73 65 72 2e 6d 54 61 62 42 6f 78 2e 68 61 6e 64 6c 65 43 74 | Down.=.gBrowser.mTabBox.handleCt |
61e20 | 72 6c 50 61 67 65 55 70 44 6f 77 6e 3b 0a 20 20 20 20 67 42 72 6f 77 73 65 72 2e 6d 54 61 62 42 | rlPageUpDown;.....gBrowser.mTabB |
61e40 | 6f 78 2e 68 61 6e 64 6c 65 43 74 72 6c 50 61 67 65 55 70 44 6f 77 6e 20 3d 20 66 61 6c 73 65 3b | ox.handleCtrlPageUpDown.=.false; |
61e60 | 0a 0a 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 61 64 64 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 28 | ......document.addEventListener( |
61e80 | 22 6b 65 79 75 70 22 2c 20 74 68 69 73 2c 20 74 72 75 65 29 3b 0a 20 20 20 20 64 6f 63 75 6d 65 | "keyup",.this,.true);.....docume |
61ea0 | 6e 74 2e 61 64 64 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 28 22 6b 65 79 64 6f 77 6e 22 2c 20 74 | nt.addEventListener("keydown",.t |
61ec0 | 68 69 73 2c 20 74 72 75 65 29 3b 0a 20 20 20 20 74 68 69 73 2e 70 61 6e 65 6c 2e 61 64 64 45 76 | his,.true);.....this.panel.addEv |
61ee0 | 65 6e 74 4c 69 73 74 65 6e 65 72 28 22 70 6f 70 75 70 73 68 6f 77 6e 22 2c 20 74 68 69 73 2c 20 | entListener("popupshown",.this,. |
61f00 | 66 61 6c 73 65 29 3b 0a 20 20 20 20 74 68 69 73 2e 70 61 6e 65 6c 2e 61 64 64 45 76 65 6e 74 4c | false);.....this.panel.addEventL |
61f20 | 69 73 74 65 6e 65 72 28 22 70 6f 70 75 70 68 69 64 69 6e 67 22 2c 20 74 68 69 73 2c 20 66 61 6c | istener("popuphiding",.this,.fal |
61f40 | 73 65 29 3b 0a 20 20 20 20 74 68 69 73 2e 70 61 6e 65 6c 2e 61 64 64 45 76 65 6e 74 4c 69 73 74 | se);.....this.panel.addEventList |
61f60 | 65 6e 65 72 28 22 70 6f 70 75 70 68 69 64 64 65 6e 22 2c 20 74 68 69 73 2c 20 66 61 6c 73 65 29 | ener("popuphidden",.this,.false) |
61f80 | 3b 0a 20 20 20 20 74 68 69 73 2e 5f 70 72 65 76 46 6f 63 75 73 20 3d 20 64 6f 63 75 6d 65 6e 74 | ;.....this._prevFocus.=.document |
61fa0 | 2e 63 6f 6d 6d 61 6e 64 44 69 73 70 61 74 63 68 65 72 2e 66 6f 63 75 73 65 64 45 6c 65 6d 65 6e | .commandDispatcher.focusedElemen |
61fc0 | 74 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 6f 63 75 6d | t.||.......................docum |
61fe0 | 65 6e 74 2e 63 6f 6d 6d 61 6e 64 44 69 73 70 61 74 63 68 65 72 2e 66 6f 63 75 73 65 64 57 69 6e | ent.commandDispatcher.focusedWin |
62000 | 64 6f 77 3b 0a 20 20 20 20 74 68 69 73 2e 70 61 6e 65 6c 2e 68 69 64 64 65 6e 20 3d 20 66 61 6c | dow;.....this.panel.hidden.=.fal |
62020 | 73 65 3b 0a 20 20 20 20 74 68 69 73 2e 70 61 6e 65 6c 2e 77 69 64 74 68 20 3d 20 73 63 72 65 65 | se;.....this.panel.width.=.scree |
62040 | 6e 2e 61 76 61 69 6c 57 69 64 74 68 20 2a 20 2e 38 35 3b 0a 20 20 20 20 74 68 69 73 2e 70 61 6e | n.availWidth.*..85;.....this.pan |
62060 | 65 6c 2e 70 6f 70 75 70 42 6f 78 4f 62 6a 65 63 74 2e 73 65 74 43 6f 6e 73 75 6d 65 52 6f 6c 6c | el.popupBoxObject.setConsumeRoll |
62080 | 75 70 45 76 65 6e 74 28 43 69 2e 6e 73 49 50 6f 70 75 70 42 6f 78 4f 62 6a 65 63 74 2e 52 4f 4c | upEvent(Ci.nsIPopupBoxObject.ROL |
620a0 | 4c 55 50 5f 43 4f 4e 53 55 4d 45 29 3b 0a 20 20 20 20 74 68 69 73 2e 70 61 6e 65 6c 2e 6f 70 65 | LUP_CONSUME);.....this.panel.ope |
620c0 | 6e 50 6f 70 75 70 41 74 53 63 72 65 65 6e 28 73 63 72 65 65 6e 2e 61 76 61 69 6c 4c 65 66 74 20 | nPopupAtScreen(screen.availLeft. |
620e0 | 2b 20 28 73 63 72 65 65 6e 2e 61 76 61 69 6c 57 69 64 74 68 20 2d 20 74 68 69 73 2e 70 61 6e 65 | +.(screen.availWidth.-.this.pane |
62100 | 6c 2e 77 69 64 74 68 29 20 2f 20 32 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | l.width)./.2,................... |
62120 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 63 72 65 65 6e 2e 61 76 61 69 6c 54 6f 70 20 2b | ...............screen.availTop.+ |
62140 | 20 73 63 72 65 65 6e 2e 61 76 61 69 6c 48 65 69 67 68 74 20 2a 20 2e 31 32 2c 0a 20 20 20 20 20 | .screen.availHeight.*..12,...... |
62160 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 61 6c 73 | ............................fals |
62180 | 65 29 3b 0a 20 20 20 20 74 68 69 73 2e 62 75 69 6c 64 50 61 67 65 73 42 61 72 28 29 3b 0a 20 20 | e);.....this.buildPagesBar();... |
621a0 | 20 20 74 68 69 73 2e 73 65 6c 65 63 74 65 64 49 6e 64 65 78 20 3d 20 30 3b 0a 20 20 20 20 74 68 | ..this.selectedIndex.=.0;.....th |
621c0 | 69 73 2e 70 61 67 65 20 3d 20 30 3b 0a 20 20 20 20 74 68 69 73 2e 61 64 76 61 6e 63 65 53 65 6c | is.page.=.0;.....this.advanceSel |
621e0 | 65 63 74 65 64 28 29 3b 0a 20 20 7d 2c 0a 0a 20 20 6f 6e 4b 65 79 50 72 65 73 73 3a 20 66 75 6e | ected();...},....onKeyPress:.fun |
62200 | 63 74 69 6f 6e 20 63 74 72 6c 54 61 62 5f 5f 6f 6e 4b 65 79 50 72 65 73 73 28 65 76 65 6e 74 29 | ction.ctrlTab__onKeyPress(event) |
62220 | 20 7b 0a 20 20 20 20 76 61 72 20 69 73 4f 70 65 6e 20 3d 20 74 68 69 73 2e 69 73 4f 70 65 6e 3b | .{.....var.isOpen.=.this.isOpen; |
62240 | 0a 0a 20 20 20 20 69 66 20 28 69 73 4f 70 65 6e 20 26 26 0a 20 20 20 20 20 20 20 20 65 76 65 6e | ......if.(isOpen.&&.........even |
62260 | 74 2e 74 61 72 67 65 74 20 3d 3d 20 74 68 69 73 2e 73 65 61 72 63 68 46 69 65 6c 64 20 26 26 0a | t.target.==.this.searchField.&&. |
62280 | 20 20 20 20 20 20 20 20 65 76 65 6e 74 2e 6b 65 79 43 6f 64 65 20 21 3d 20 65 76 65 6e 74 2e 44 | ........event.keyCode.!=.event.D |
622a0 | 4f 4d 5f 56 4b 5f 45 53 43 41 50 45 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 20 | OM_VK_ESCAPE).......return;..... |
622c0 | 20 69 66 20 28 69 73 4f 70 65 6e 29 20 7b 0a 20 20 20 20 20 20 65 76 65 6e 74 2e 70 72 65 76 65 | .if.(isOpen).{.......event.preve |
622e0 | 6e 74 44 65 66 61 75 6c 74 28 29 3b 0a 20 20 20 20 20 20 65 76 65 6e 74 2e 73 74 6f 70 50 72 6f | ntDefault();.......event.stopPro |
62300 | 70 61 67 61 74 69 6f 6e 28 29 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 73 77 69 74 63 68 20 28 65 | pagation();.....}......switch.(e |
62320 | 76 65 6e 74 2e 6b 65 79 43 6f 64 65 29 20 7b 0a 20 20 20 20 20 20 63 61 73 65 20 65 76 65 6e 74 | vent.keyCode).{.......case.event |
62340 | 2e 44 4f 4d 5f 56 4b 5f 54 41 42 3a 0a 20 20 20 20 20 20 20 20 69 66 20 28 28 65 76 65 6e 74 2e | .DOM_VK_TAB:.........if.((event. |
62360 | 63 74 72 6c 4b 65 79 20 7c 7c 20 74 68 69 73 2e 73 74 69 63 6b 79 29 20 26 26 20 21 65 76 65 6e | ctrlKey.||.this.sticky).&&.!even |
62380 | 74 2e 61 6c 74 4b 65 79 20 26 26 20 21 65 76 65 6e 74 2e 6d 65 74 61 4b 65 79 29 20 7b 0a 20 20 | t.altKey.&&.!event.metaKey).{... |
623a0 | 20 20 20 20 20 20 20 20 74 68 69 73 2e 69 6e 76 65 72 74 44 69 72 65 63 74 69 6f 6e 20 3d 20 65 | ........this.invertDirection.=.e |
623c0 | 76 65 6e 74 2e 73 68 69 66 74 4b 65 79 3b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 69 73 4f | vent.shiftKey;...........if.(isO |
623e0 | 70 65 6e 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 61 64 76 61 6e 63 65 53 | pen).{.............this.advanceS |
62400 | 65 6c 65 63 74 65 64 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 20 65 6c 73 65 20 69 66 20 28 | elected();...........}.else.if.( |
62420 | 74 68 69 73 2e 5f 68 61 6e 64 6c 65 43 74 72 6c 54 61 62 29 20 7b 0a 20 20 20 20 20 20 20 20 20 | this._handleCtrlTab).{.......... |
62440 | 20 20 20 65 76 65 6e 74 2e 70 72 65 76 65 6e 74 44 65 66 61 75 6c 74 28 29 3b 0a 20 20 20 20 20 | ...event.preventDefault();...... |
62460 | 20 20 20 20 20 20 20 65 76 65 6e 74 2e 73 74 6f 70 50 72 6f 70 61 67 61 74 69 6f 6e 28 29 3b 0a | .......event.stopPropagation();. |
62480 | 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 67 42 72 6f 77 73 65 72 2e 6d 54 61 62 73 2e 6c | ............if.(gBrowser.mTabs.l |
624a0 | 65 6e 67 74 68 20 3e 20 32 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e | ength.>.2).{...............this. |
624c0 | 6f 70 65 6e 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 20 65 6c 73 65 20 69 66 20 28 67 | open();.............}.else.if.(g |
624e0 | 42 72 6f 77 73 65 72 2e 6d 54 61 62 73 2e 6c 65 6e 67 74 68 20 3d 3d 20 32 29 20 7b 0a 20 20 20 | Browser.mTabs.length.==.2).{.... |
62500 | 20 20 20 20 20 20 20 20 20 20 20 67 42 72 6f 77 73 65 72 2e 73 65 6c 65 63 74 65 64 54 61 62 20 | ...........gBrowser.selectedTab. |
62520 | 3d 20 67 42 72 6f 77 73 65 72 2e 73 65 6c 65 63 74 65 64 54 61 62 2e 6e 65 78 74 53 69 62 6c 69 | =.gBrowser.selectedTab.nextSibli |
62540 | 6e 67 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ng.||........................... |
62560 | 20 20 20 20 20 20 20 20 20 20 20 67 42 72 6f 77 73 65 72 2e 73 65 6c 65 63 74 65 64 54 61 62 2e | ...........gBrowser.selectedTab. |
62580 | 70 72 65 76 69 6f 75 73 53 69 62 6c 69 6e 67 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 | previousSibling;.............}.. |
625a0 | 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 62 72 65 | .........}.........}.........bre |
625c0 | 61 6b 3b 0a 20 20 20 20 20 20 63 61 73 65 20 65 76 65 6e 74 2e 44 4f 4d 5f 56 4b 5f 55 50 3a 0a | ak;.......case.event.DOM_VK_UP:. |
625e0 | 20 20 20 20 20 20 20 20 69 66 20 28 69 73 4f 70 65 6e 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 | ........if.(isOpen).{........... |
62600 | 6c 65 74 20 69 6e 64 65 78 20 3d 20 74 68 69 73 2e 73 65 6c 65 63 74 65 64 49 6e 64 65 78 20 2d | let.index.=.this.selectedIndex.- |
62620 | 20 74 68 69 73 2e 63 6f 6c 75 6d 6e 73 3b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 69 6e 64 | .this.columns;...........if.(ind |
62640 | 65 78 20 3c 20 30 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 67 6f 54 6f 50 | ex.<.0).{.............this.goToP |
62660 | 61 67 65 28 74 68 69 73 2e 70 61 67 65 20 2d 20 31 2c 20 74 68 69 73 2e 74 68 75 6d 62 6e 61 69 | age(this.page.-.1,.this.thumbnai |
62680 | 6c 73 2e 6c 65 6e 67 74 68 20 2b 20 69 6e 64 65 78 29 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 20 | ls.length.+.index);...........}. |
626a0 | 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 73 65 6c 65 63 74 65 64 | else.{.............this.selected |
626c0 | 2e 72 65 6d 6f 76 65 41 74 74 72 69 62 75 74 65 28 22 73 65 6c 65 63 74 65 64 22 29 3b 0a 20 20 | .removeAttribute("selected");... |
626e0 | 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 73 65 6c 65 63 74 65 64 49 6e 64 65 78 20 3d 20 69 | ..........this.selectedIndex.=.i |
62700 | 6e 64 65 78 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 75 70 64 61 74 65 53 65 6c | ndex;.............this.updateSel |
62720 | 65 63 74 65 64 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 7d 0a 20 | ected();...........}.........}.. |
62740 | 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 63 61 73 65 20 65 76 65 6e 74 2e 44 | .......break;.......case.event.D |
62760 | 4f 4d 5f 56 4b 5f 44 4f 57 4e 3a 0a 20 20 20 20 20 20 20 20 69 66 20 28 69 73 4f 70 65 6e 29 20 | OM_VK_DOWN:.........if.(isOpen). |
62780 | 7b 0a 20 20 20 20 20 20 20 20 20 20 6c 65 74 20 69 6e 64 65 78 20 3d 20 74 68 69 73 2e 73 65 6c | {...........let.index.=.this.sel |
627a0 | 65 63 74 65 64 49 6e 64 65 78 20 2b 20 74 68 69 73 2e 63 6f 6c 75 6d 6e 73 3b 0a 20 20 20 20 20 | ectedIndex.+.this.columns;...... |
627c0 | 20 20 20 20 20 69 66 20 28 69 6e 64 65 78 20 3e 3d 20 74 68 69 73 2e 74 68 75 6d 62 6e 61 69 6c | .....if.(index.>=.this.thumbnail |
627e0 | 73 2e 6c 65 6e 67 74 68 20 7c 7c 20 21 74 68 69 73 2e 74 68 75 6d 62 6e 61 69 6c 73 5b 69 6e 64 | s.length.||.!this.thumbnails[ind |
62800 | 65 78 5d 2e 68 61 73 41 74 74 72 69 62 75 74 65 28 22 76 61 6c 69 64 22 29 29 20 7b 0a 20 20 20 | ex].hasAttribute("valid")).{.... |
62820 | 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 67 6f 54 6f 50 61 67 65 28 74 68 69 73 2e 70 61 67 65 | .........this.goToPage(this.page |
62840 | 20 2b 20 31 2c 20 74 68 69 73 2e 73 65 6c 65 63 74 65 64 49 6e 64 65 78 20 25 20 74 68 69 73 2e | .+.1,.this.selectedIndex.%.this. |
62860 | 63 6f 6c 75 6d 6e 73 29 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 20 65 6c 73 65 20 7b 0a 20 20 20 | columns);...........}.else.{.... |
62880 | 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 73 65 6c 65 63 74 65 64 2e 72 65 6d 6f 76 65 41 74 74 | .........this.selected.removeAtt |
628a0 | 72 69 62 75 74 65 28 22 73 65 6c 65 63 74 65 64 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ribute("selected");............. |
628c0 | 74 68 69 73 2e 73 65 6c 65 63 74 65 64 49 6e 64 65 78 20 3d 20 69 6e 64 65 78 3b 0a 20 20 20 20 | this.selectedIndex.=.index;..... |
628e0 | 20 20 20 20 20 20 20 20 77 68 69 6c 65 20 28 21 74 68 69 73 2e 73 65 6c 65 63 74 65 64 2e 68 61 | ........while.(!this.selected.ha |
62900 | 73 41 74 74 72 69 62 75 74 65 28 22 76 61 6c 69 64 22 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 | sAttribute("valid"))............ |
62920 | 20 20 20 74 68 69 73 2e 73 65 6c 65 63 74 65 64 49 6e 64 65 78 2d 2d 3b 0a 20 20 20 20 20 20 20 | ...this.selectedIndex--;........ |
62940 | 20 20 20 20 20 74 68 69 73 2e 75 70 64 61 74 65 53 65 6c 65 63 74 65 64 28 29 3b 0a 20 20 20 20 | .....this.updateSelected();..... |
62960 | 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b | ......}.........}.........break; |
62980 | 0a 20 20 20 20 20 20 63 61 73 65 20 65 76 65 6e 74 2e 44 4f 4d 5f 56 4b 5f 4c 45 46 54 3a 0a 20 | .......case.event.DOM_VK_LEFT:.. |
629a0 | 20 20 20 20 20 20 20 69 66 20 28 69 73 4f 70 65 6e 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 74 | .......if.(isOpen).{...........t |
629c0 | 68 69 73 2e 69 6e 76 65 72 74 44 69 72 65 63 74 69 6f 6e 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 | his.invertDirection.=.true;..... |
629e0 | 20 20 20 20 20 20 74 68 69 73 2e 61 64 76 61 6e 63 65 53 65 6c 65 63 74 65 64 28 29 3b 0a 20 20 | ......this.advanceSelected();... |
62a00 | 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 63 61 73 | ......}.........break;.......cas |
62a20 | 65 20 65 76 65 6e 74 2e 44 4f 4d 5f 56 4b 5f 52 49 47 48 54 3a 0a 20 20 20 20 20 20 20 20 69 66 | e.event.DOM_VK_RIGHT:.........if |
62a40 | 20 28 69 73 4f 70 65 6e 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 69 6e 76 65 72 | .(isOpen).{...........this.inver |
62a60 | 74 44 69 72 65 63 74 69 6f 6e 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 20 20 20 20 20 74 68 | tDirection.=.false;...........th |
62a80 | 69 73 2e 61 64 76 61 6e 63 65 53 65 6c 65 63 74 65 64 28 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a | is.advanceSelected();.........}. |
62aa0 | 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 63 61 73 65 20 65 76 65 6e 74 2e | ........break;.......case.event. |
62ac0 | 44 4f 4d 5f 56 4b 5f 48 4f 4d 45 3a 0a 20 20 20 20 20 20 20 20 69 66 20 28 69 73 4f 70 65 6e 29 | DOM_VK_HOME:.........if.(isOpen) |
62ae0 | 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 67 6f 54 6f 50 61 67 65 28 30 29 3b 0a 20 20 20 | ...........this.goToPage(0);.... |
62b00 | 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 63 61 73 65 20 65 76 65 6e 74 2e 44 4f 4d | .....break;.......case.event.DOM |
62b20 | 5f 56 4b 5f 45 4e 44 3a 0a 20 20 20 20 20 20 20 20 69 66 20 28 69 73 4f 70 65 6e 29 0a 20 20 20 | _VK_END:.........if.(isOpen).... |
62b40 | 20 20 20 20 20 20 20 74 68 69 73 2e 67 6f 54 6f 50 61 67 65 28 74 68 69 73 2e 70 61 67 65 73 20 | .......this.goToPage(this.pages. |
62b60 | 2d 20 31 2c 20 74 68 69 73 2e 74 68 75 6d 62 6e 61 69 6c 73 2e 6c 65 6e 67 74 68 20 2d 20 31 29 | -.1,.this.thumbnails.length.-.1) |
62b80 | 3b 0a 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 63 61 73 65 20 65 76 65 6e | ;.........break;.......case.even |
62ba0 | 74 2e 44 4f 4d 5f 56 4b 5f 50 41 47 45 5f 55 50 3a 0a 20 20 20 20 20 20 20 20 69 66 20 28 69 73 | t.DOM_VK_PAGE_UP:.........if.(is |
62bc0 | 4f 70 65 6e 29 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 67 6f 54 6f 50 61 67 65 28 74 68 | Open)...........this.goToPage(th |
62be0 | 69 73 2e 70 61 67 65 20 2d 20 31 29 3b 0a 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 | is.page.-.1);.........break;.... |
62c00 | 20 20 20 63 61 73 65 20 65 76 65 6e 74 2e 44 4f 4d 5f 56 4b 5f 50 41 47 45 5f 44 4f 57 4e 3a 0a | ...case.event.DOM_VK_PAGE_DOWN:. |
62c20 | 20 20 20 20 20 20 20 20 69 66 20 28 69 73 4f 70 65 6e 29 0a 20 20 20 20 20 20 20 20 20 20 74 68 | ........if.(isOpen)...........th |
62c40 | 69 73 2e 67 6f 54 6f 50 61 67 65 28 74 68 69 73 2e 70 61 67 65 20 2b 20 31 29 3b 0a 20 20 20 20 | is.goToPage(this.page.+.1);..... |
62c60 | 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 63 61 73 65 20 65 76 65 6e 74 2e 44 4f 4d 5f | ....break;.......case.event.DOM_ |
62c80 | 56 4b 5f 52 45 54 55 52 4e 3a 0a 20 20 20 20 20 20 20 20 69 66 20 28 69 73 4f 70 65 6e 20 26 26 | VK_RETURN:.........if.(isOpen.&& |
62ca0 | 20 74 68 69 73 2e 73 74 69 63 6b 79 29 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 73 65 6c | .this.sticky)...........this.sel |
62cc0 | 65 63 74 54 68 75 6d 62 6e 61 69 6c 28 29 3b 0a 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 | ectThumbnail();.........break;.. |
62ce0 | 20 20 20 20 20 63 61 73 65 20 65 76 65 6e 74 2e 44 4f 4d 5f 56 4b 5f 45 53 43 41 50 45 3a 0a 20 | .....case.event.DOM_VK_ESCAPE:.. |
62d00 | 20 20 20 20 20 20 20 69 66 20 28 69 73 4f 70 65 6e 29 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 | .......if.(isOpen)...........thi |
62d20 | 73 2e 70 61 6e 65 6c 2e 68 69 64 65 50 6f 70 75 70 28 29 3b 0a 20 20 20 20 20 20 20 20 62 72 65 | s.panel.hidePopup();.........bre |
62d40 | 61 6b 3b 0a 20 20 20 20 20 20 64 65 66 61 75 6c 74 3a 0a 20 20 20 20 20 20 20 20 69 66 20 28 69 | ak;.......default:.........if.(i |
62d60 | 73 4f 70 65 6e 20 26 26 20 65 76 65 6e 74 2e 63 74 72 6c 4b 65 79 29 20 7b 0a 20 20 20 20 20 20 | sOpen.&&.event.ctrlKey).{....... |
62d80 | 20 20 20 20 73 77 69 74 63 68 20 28 65 76 65 6e 74 2e 63 68 61 72 43 6f 64 65 29 20 7b 0a 20 20 | ....switch.(event.charCode).{... |
62da0 | 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 74 68 69 73 2e 63 6c 6f 73 65 43 68 61 72 43 6f 64 | ..........case.this.closeCharCod |
62dc0 | 65 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 42 72 6f 77 73 65 72 2e 72 65 6d 6f 76 65 | e:...............gBrowser.remove |
62de0 | 54 61 62 28 74 68 69 73 2e 73 65 6c 65 63 74 65 64 2e 5f 74 61 62 29 3b 0a 20 20 20 20 20 20 20 | Tab(this.selected._tab);........ |
62e00 | 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 74 | .......break;.............case.t |
62e20 | 68 69 73 2e 66 69 6e 64 43 68 61 72 43 6f 64 65 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | his.findCharCode:............... |
62e40 | 74 68 69 73 2e 73 65 61 72 63 68 46 69 65 6c 64 2e 66 6f 63 75 73 28 29 3b 0a 20 20 20 20 20 20 | this.searchField.focus();....... |
62e60 | 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 | ........break;...........}...... |
62e80 | 20 20 20 7d 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 20 20 6f 6e 50 6f 70 75 70 48 69 64 69 6e 67 3a | ...}.....}...},...onPopupHiding: |
62ea0 | 20 66 75 6e 63 74 69 6f 6e 20 63 74 72 6c 54 61 62 5f 5f 6f 6e 50 6f 70 75 70 48 69 64 69 6e 67 | .function.ctrlTab__onPopupHiding |
62ec0 | 28 29 20 7b 0a 20 20 20 20 67 42 72 6f 77 73 65 72 2e 6d 54 61 62 42 6f 78 2e 68 61 6e 64 6c 65 | ().{.....gBrowser.mTabBox.handle |
62ee0 | 43 74 72 6c 50 61 67 65 55 70 44 6f 77 6e 20 3d 20 74 68 69 73 2e 5f 74 61 62 42 61 72 48 61 6e | CtrlPageUpDown.=.this._tabBarHan |
62f00 | 64 6c 65 73 43 74 72 6c 50 61 67 65 55 70 44 6f 77 6e 3b 0a 20 20 20 20 64 6f 63 75 6d 65 6e 74 | dlesCtrlPageUpDown;.....document |
62f20 | 2e 72 65 6d 6f 76 65 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 28 22 6b 65 79 75 70 22 2c 20 74 68 | .removeEventListener("keyup",.th |
62f40 | 69 73 2c 20 74 72 75 65 29 3b 0a 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 72 65 6d 6f 76 65 45 76 | is,.true);.....document.removeEv |
62f60 | 65 6e 74 4c 69 73 74 65 6e 65 72 28 22 6b 65 79 64 6f 77 6e 22 2c 20 74 68 69 73 2c 20 74 72 75 | entListener("keydown",.this,.tru |
62f80 | 65 29 3b 0a 0a 20 20 20 20 74 68 69 73 2e 73 65 6c 65 63 74 65 64 2e 72 65 6d 6f 76 65 41 74 74 | e);......this.selected.removeAtt |
62fa0 | 72 69 62 75 74 65 28 22 73 65 6c 65 63 74 65 64 22 29 3b 0a 20 20 20 20 69 66 20 28 74 68 69 73 | ribute("selected");.....if.(this |
62fc0 | 2e 70 61 67 65 73 42 61 72 2e 63 68 69 6c 64 4e 6f 64 65 73 2e 6c 65 6e 67 74 68 29 0a 20 20 20 | .pagesBar.childNodes.length).... |
62fe0 | 20 20 20 74 68 69 73 2e 70 61 67 65 73 42 61 72 2e 63 68 69 6c 64 4e 6f 64 65 73 5b 74 68 69 73 | ...this.pagesBar.childNodes[this |
63000 | 2e 70 61 67 65 5d 2e 72 65 6d 6f 76 65 41 74 74 72 69 62 75 74 65 28 22 73 65 6c 65 63 74 65 64 | .page].removeAttribute("selected |
63020 | 22 29 3b 0a 0a 20 20 20 20 41 72 72 61 79 2e 66 6f 72 45 61 63 68 28 74 68 69 73 2e 74 68 75 6d | ");......Array.forEach(this.thum |
63040 | 62 6e 61 69 6c 73 2c 20 66 75 6e 63 74 69 6f 6e 20 28 74 68 75 6d 62 6e 61 69 6c 29 20 7b 0a 20 | bnails,.function.(thumbnail).{.. |
63060 | 20 20 20 20 20 74 68 69 73 2e 75 70 64 61 74 65 50 72 65 76 69 65 77 28 74 68 75 6d 62 6e 61 69 | .....this.updatePreview(thumbnai |
63080 | 6c 2c 20 6e 75 6c 6c 29 3b 0a 20 20 20 20 7d 2c 20 74 68 69 73 29 3b 0a 0a 20 20 20 20 74 68 69 | l,.null);.....},.this);......thi |
630a0 | 73 2e 73 65 61 72 63 68 46 69 65 6c 64 2e 76 61 6c 75 65 20 3d 20 22 22 3b 0a 20 20 20 20 74 68 | s.searchField.value.=."";.....th |
630c0 | 69 73 2e 69 6e 76 65 72 74 44 69 72 65 63 74 69 6f 6e 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 | is.invertDirection.=.false;..... |
630e0 | 74 68 69 73 2e 73 74 69 63 6b 79 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 74 68 69 73 2e 5f 75 | this.sticky.=.false;.....this._u |
63100 | 73 65 54 61 62 42 61 72 4f 72 64 65 72 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 74 68 69 73 2e | seTabBarOrder.=.false;.....this. |
63120 | 5f 70 61 67 65 20 3d 20 6e 75 6c 6c 3b 0a 20 20 20 20 74 68 69 73 2e 5f 74 61 62 4c 69 73 74 20 | _page.=.null;.....this._tabList. |
63140 | 3d 20 6e 75 6c 6c 3b 0a 0a 20 20 20 20 74 68 69 73 2e 5f 64 65 66 65 72 4f 6e 54 61 62 53 65 6c | =.null;......this._deferOnTabSel |
63160 | 65 63 74 2e 66 6f 72 45 61 63 68 28 74 68 69 73 2e 6f 6e 54 61 62 53 65 6c 65 63 74 2c 20 74 68 | ect.forEach(this.onTabSelect,.th |
63180 | 69 73 29 3b 0a 20 20 20 20 74 68 69 73 2e 5f 64 65 66 65 72 4f 6e 54 61 62 53 65 6c 65 63 74 20 | is);.....this._deferOnTabSelect. |
631a0 | 3d 20 6e 75 6c 6c 3b 0a 0a 20 20 20 20 74 68 69 73 2e 5f 70 72 65 76 46 6f 63 75 73 2e 66 6f 63 | =.null;......this._prevFocus.foc |
631c0 | 75 73 28 29 3b 0a 20 20 20 20 74 68 69 73 2e 5f 70 72 65 76 46 6f 63 75 73 20 3d 20 6e 75 6c 6c | us();.....this._prevFocus.=.null |
631e0 | 3b 0a 0a 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 74 61 62 54 6f 53 65 6c 65 63 74 29 20 7b 0a | ;......if.(this._tabToSelect).{. |
63200 | 20 20 20 20 20 20 67 42 72 6f 77 73 65 72 2e 73 65 6c 65 63 74 65 64 54 61 62 20 3d 20 74 68 69 | ......gBrowser.selectedTab.=.thi |
63220 | 73 2e 5f 74 61 62 54 6f 53 65 6c 65 63 74 3b 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 74 61 62 54 | s._tabToSelect;.......this._tabT |
63240 | 6f 53 65 6c 65 63 74 20 3d 20 6e 75 6c 6c 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 20 20 6f 6e 54 | oSelect.=.null;.....}...},...onT |
63260 | 61 62 53 65 6c 65 63 74 3a 20 66 75 6e 63 74 69 6f 6e 20 63 74 72 6c 54 61 62 5f 5f 6f 6e 54 61 | abSelect:.function.ctrlTab__onTa |
63280 | 62 53 65 6c 65 63 74 28 61 54 61 62 29 20 7b 0a 20 20 20 20 69 66 20 28 61 54 61 62 2e 70 61 72 | bSelect(aTab).{.....if.(aTab.par |
632a0 | 65 6e 74 4e 6f 64 65 29 20 7b 0a 20 20 20 20 20 20 74 68 69 73 2e 64 65 74 61 63 68 54 61 62 28 | entNode).{.......this.detachTab( |
632c0 | 61 54 61 62 29 3b 0a 20 20 20 20 20 20 74 68 69 73 2e 61 74 74 61 63 68 54 61 62 28 61 54 61 62 | aTab);.......this.attachTab(aTab |
632e0 | 2c 20 30 29 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 72 65 6d 6f 76 65 43 6c 6f 73 69 6e | ,.0);.....}...},....removeClosin |
63300 | 67 54 61 62 46 72 6f 6d 55 49 3a 20 66 75 6e 63 74 69 6f 6e 20 63 74 72 6c 54 61 62 5f 5f 72 65 | gTabFromUI:.function.ctrlTab__re |
63320 | 6d 6f 76 65 43 6c 6f 73 69 6e 67 54 61 62 46 72 6f 6d 55 49 28 61 54 61 62 29 20 7b 0a 20 20 20 | moveClosingTabFromUI(aTab).{.... |
63340 | 20 74 68 69 73 2e 5f 63 6c 6f 73 69 6e 67 20 3d 20 61 54 61 62 3b 0a 20 20 20 20 74 68 69 73 2e | .this._closing.=.aTab;.....this. |
63360 | 5f 74 61 62 4c 69 73 74 20 3d 20 6e 75 6c 6c 3b 0a 20 20 20 20 69 66 20 28 74 68 69 73 2e 74 61 | _tabList.=.null;.....if.(this.ta |
63380 | 62 43 6f 75 6e 74 20 3d 3d 20 31 29 20 7b 0a 20 20 20 20 20 20 74 68 69 73 2e 70 61 6e 65 6c 2e | bCount.==.1).{.......this.panel. |
633a0 | 68 69 64 65 50 6f 70 75 70 28 29 3b 0a 20 20 20 20 7d 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 | hidePopup();.....}.else.{....... |
633c0 | 74 68 69 73 2e 62 75 69 6c 64 50 61 67 65 73 42 61 72 28 29 3b 0a 20 20 20 20 20 20 74 68 69 73 | this.buildPagesBar();.......this |
633e0 | 2e 75 70 64 61 74 65 50 72 65 76 69 65 77 73 28 29 3b 0a 20 20 20 20 20 20 69 66 20 28 21 74 68 | .updatePreviews();.......if.(!th |
63400 | 69 73 2e 73 65 6c 65 63 74 65 64 2e 68 61 73 41 74 74 72 69 62 75 74 65 28 22 76 61 6c 69 64 22 | is.selected.hasAttribute("valid" |
63420 | 29 29 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 61 64 76 61 6e 63 65 53 65 6c 65 63 74 65 64 28 | )).........this.advanceSelected( |
63440 | 29 3b 0a 20 20 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 75 70 64 61 74 | );.......else.........this.updat |
63460 | 65 53 65 6c 65 63 74 65 64 28 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 74 68 69 73 2e 5f 63 6c 6f | eSelected();.....}.....this._clo |
63480 | 73 69 6e 67 20 3d 20 6e 75 6c 6c 3b 0a 20 20 7d 2c 0a 0a 20 20 68 61 6e 64 6c 65 45 76 65 6e 74 | sing.=.null;...},....handleEvent |
634a0 | 3a 20 66 75 6e 63 74 69 6f 6e 20 63 74 72 6c 54 61 62 5f 5f 68 61 6e 64 6c 65 45 76 65 6e 74 28 | :.function.ctrlTab__handleEvent( |
634c0 | 65 76 65 6e 74 29 20 7b 0a 20 20 20 20 73 77 69 74 63 68 20 28 65 76 65 6e 74 2e 74 79 70 65 29 | event).{.....switch.(event.type) |
634e0 | 20 7b 0a 20 20 20 20 20 20 63 61 73 65 20 22 44 4f 4d 41 74 74 72 4d 6f 64 69 66 69 65 64 22 3a | .{.......case."DOMAttrModified": |
63500 | 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 74 61 62 41 74 74 72 4d 6f 64 69 66 69 65 64 28 65 76 | .........this.tabAttrModified(ev |
63520 | 65 6e 74 2e 74 61 72 67 65 74 2c 20 65 76 65 6e 74 2e 61 74 74 72 4e 61 6d 65 29 3b 0a 20 20 20 | ent.target,.event.attrName);.... |
63540 | 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 63 61 73 65 20 22 54 61 62 53 65 6c 65 63 | .....break;.......case."TabSelec |
63560 | 74 22 3a 0a 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 69 73 4f 70 65 6e 29 0a 20 20 20 | t":.........if.(this.isOpen).... |
63580 | 20 20 20 20 20 20 20 2f 2f 20 64 6f 6e 27 74 20 63 68 61 6e 67 65 20 74 68 65 20 74 61 62 20 6f | .......//.don't.change.the.tab.o |
635a0 | 72 64 65 72 20 77 68 69 6c 65 20 74 68 65 20 70 61 6e 65 6c 20 69 73 20 6f 70 65 6e 0a 20 20 20 | rder.while.the.panel.is.open.... |
635c0 | 20 20 20 20 20 20 20 74 68 69 73 2e 5f 64 65 66 65 72 4f 6e 54 61 62 53 65 6c 65 63 74 2e 70 75 | .......this._deferOnTabSelect.pu |
635e0 | 73 68 28 65 76 65 6e 74 2e 74 61 72 67 65 74 29 3b 0a 20 20 20 20 20 20 20 20 65 6c 73 65 0a 20 | sh(event.target);.........else.. |
63600 | 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6f 6e 54 61 62 53 65 6c 65 63 74 28 65 76 65 6e 74 2e | .........this.onTabSelect(event. |
63620 | 74 61 72 67 65 74 29 3b 0a 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 63 61 | target);.........break;.......ca |
63640 | 73 65 20 22 54 61 62 4f 70 65 6e 22 3a 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 61 74 74 61 63 | se."TabOpen":.........this.attac |
63660 | 68 54 61 62 28 65 76 65 6e 74 2e 74 61 72 67 65 74 2c 20 31 29 3b 0a 20 20 20 20 20 20 20 20 62 | hTab(event.target,.1);.........b |
63680 | 72 65 61 6b 3b 0a 20 20 20 20 20 20 63 61 73 65 20 22 54 61 62 43 6c 6f 73 65 22 3a 0a 20 20 20 | reak;.......case."TabClose":.... |
636a0 | 20 20 20 20 20 74 68 69 73 2e 64 65 74 61 63 68 54 61 62 28 65 76 65 6e 74 2e 74 61 72 67 65 74 | .....this.detachTab(event.target |
636c0 | 29 3b 0a 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 69 73 4f 70 65 6e 29 0a 20 20 20 20 | );.........if.(this.isOpen)..... |
636e0 | 20 20 20 20 20 20 74 68 69 73 2e 72 65 6d 6f 76 65 43 6c 6f 73 69 6e 67 54 61 62 46 72 6f 6d 55 | ......this.removeClosingTabFromU |
63700 | 49 28 65 76 65 6e 74 2e 74 61 72 67 65 74 29 3b 0a 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a | I(event.target);.........break;. |
63720 | 20 20 20 20 20 20 63 61 73 65 20 22 6b 65 79 70 72 65 73 73 22 3a 0a 20 20 20 20 20 20 20 20 74 | ......case."keypress":.........t |
63740 | 68 69 73 2e 6f 6e 4b 65 79 50 72 65 73 73 28 65 76 65 6e 74 29 3b 0a 20 20 20 20 20 20 20 20 62 | his.onKeyPress(event);.........b |
63760 | 72 65 61 6b 3b 0a 20 20 20 20 20 20 63 61 73 65 20 22 6b 65 79 64 6f 77 6e 22 3a 0a 20 20 20 20 | reak;.......case."keydown":..... |
63780 | 20 20 63 61 73 65 20 22 6b 65 79 75 70 22 3a 0a 20 20 20 20 20 20 20 20 69 66 20 28 65 76 65 6e | ..case."keyup":.........if.(even |
637a0 | 74 2e 74 61 72 67 65 74 20 3d 3d 20 74 68 69 73 2e 73 65 61 72 63 68 46 69 65 6c 64 29 20 7b 0a | t.target.==.this.searchField).{. |
637c0 | 20 20 20 20 20 20 20 20 20 20 69 66 20 28 65 76 65 6e 74 2e 6b 65 79 43 6f 64 65 20 3d 3d 20 65 | ..........if.(event.keyCode.==.e |
637e0 | 76 65 6e 74 2e 44 4f 4d 5f 56 4b 5f 52 45 54 55 52 4e 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 | vent.DOM_VK_RETURN).{........... |
63800 | 20 20 2f 2f 20 49 66 20 74 68 65 72 65 27 73 20 61 20 70 65 6e 64 69 6e 67 20 73 65 61 72 63 68 | ..//.If.there's.a.pending.search |
63820 | 2c 20 6b 69 63 6b 20 69 74 20 6f 66 66 20 6e 6f 77 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 | ,.kick.it.off.now..............i |
63840 | 66 20 28 74 68 69 73 2e 73 65 61 72 63 68 46 69 65 6c 64 2e 5f 74 69 6d 65 72 29 0a 20 20 20 20 | f.(this.searchField._timer)..... |
63860 | 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 73 65 61 72 63 68 28 29 3b 0a 20 20 20 20 20 20 20 | ..........this.search();........ |
63880 | 20 20 20 20 20 74 68 69 73 2e 73 65 6c 65 63 74 54 68 75 6d 62 6e 61 69 6c 28 29 3b 0a 20 20 20 | .....this.selectThumbnail();.... |
638a0 | 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 7d 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 | .......}.........}.else.{....... |
638c0 | 20 20 20 20 2f 2f 20 4d 61 6e 75 61 6c 6c 79 20 63 6f 6e 73 75 6d 65 20 74 68 65 20 65 76 65 6e | ....//.Manually.consume.the.even |
638e0 | 74 73 2c 20 61 73 20 74 68 65 20 70 61 6e 65 6c 20 69 73 20 6f 70 65 6e 20 62 75 74 20 64 6f 65 | ts,.as.the.panel.is.open.but.doe |
63900 | 73 6e 27 74 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 6e 65 63 65 73 73 61 72 69 6c 79 20 68 61 | sn't...........//.necessarily.ha |
63920 | 76 65 20 66 6f 63 75 73 2e 0a 20 20 20 20 20 20 20 20 20 20 65 76 65 6e 74 2e 73 74 6f 70 50 72 | ve.focus............event.stopPr |
63940 | 6f 70 61 67 61 74 69 6f 6e 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 65 76 65 6e 74 2e 70 72 65 | opagation();...........event.pre |
63960 | 76 65 6e 74 44 65 66 61 75 6c 74 28 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 | ventDefault();.........}........ |
63980 | 20 20 69 66 20 28 21 74 68 69 73 2e 73 74 69 63 6b 79 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 | ..if.(!this.sticky.&&........... |
639a0 | 20 20 65 76 65 6e 74 2e 74 79 70 65 20 3d 3d 20 22 6b 65 79 75 70 22 20 26 26 0a 20 20 20 20 20 | ..event.type.==."keyup".&&...... |
639c0 | 20 20 20 20 20 20 20 65 76 65 6e 74 2e 6b 65 79 43 6f 64 65 20 3d 3d 20 65 76 65 6e 74 2e 44 4f | .......event.keyCode.==.event.DO |
639e0 | 4d 5f 56 4b 5f 43 4f 4e 54 52 4f 4c 29 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 73 65 6c | M_VK_CONTROL)...........this.sel |
63a00 | 65 63 74 54 68 75 6d 62 6e 61 69 6c 28 29 3b 0a 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 | ectThumbnail();.........break;.. |
63a20 | 20 20 20 20 20 63 61 73 65 20 22 70 6f 70 75 70 73 68 6f 77 6e 22 3a 0a 20 20 20 20 20 20 20 20 | .....case."popupshown":......... |
63a40 | 69 66 20 28 74 68 69 73 2e 73 74 69 63 6b 79 20 26 26 20 65 76 65 6e 74 2e 74 61 72 67 65 74 20 | if.(this.sticky.&&.event.target. |
63a60 | 3d 3d 20 74 68 69 73 2e 70 61 6e 65 6c 29 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 73 65 | ==.this.panel)...........this.se |
63a80 | 61 72 63 68 46 69 65 6c 64 2e 66 6f 63 75 73 28 29 3b 0a 20 20 20 20 20 20 20 20 62 72 65 61 6b | archField.focus();.........break |
63aa0 | 3b 0a 20 20 20 20 20 20 63 61 73 65 20 22 70 6f 70 75 70 68 69 64 69 6e 67 22 3a 0a 20 20 20 20 | ;.......case."popuphiding":..... |
63ac0 | 20 20 20 20 69 66 20 28 65 76 65 6e 74 2e 74 61 72 67 65 74 20 3d 3d 20 74 68 69 73 2e 70 61 6e | ....if.(event.target.==.this.pan |
63ae0 | 65 6c 29 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6f 6e 50 6f 70 75 70 48 69 64 69 6e 67 | el)...........this.onPopupHiding |
63b00 | 28 29 3b 0a 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 63 61 73 65 20 22 70 | ();.........break;.......case."p |
63b20 | 6f 70 75 70 68 69 64 64 65 6e 22 3a 0a 20 20 20 20 20 20 20 20 69 66 20 28 65 76 65 6e 74 2e 74 | opuphidden":.........if.(event.t |
63b40 | 61 72 67 65 74 20 3d 3d 20 74 68 69 73 2e 70 61 6e 65 6c 29 20 7b 0a 20 20 20 20 20 20 20 20 20 | arget.==.this.panel).{.......... |
63b60 | 20 2f 2f 20 44 65 73 74 72 6f 79 20 74 68 65 20 77 69 64 67 65 74 20 69 6e 20 6f 72 64 65 72 20 | .//.Destroy.the.widget.in.order. |
63b80 | 74 6f 20 70 72 65 76 65 6e 74 20 6f 75 74 64 61 74 65 64 20 63 6f 6e 74 65 6e 74 0a 20 20 20 20 | to.prevent.outdated.content..... |
63ba0 | 20 20 20 20 20 20 2f 2f 20 77 68 65 6e 20 72 65 2d 6f 70 65 6e 69 6e 67 20 74 68 65 20 70 61 6e | ......//.when.re-opening.the.pan |
63bc0 | 65 6c 2e 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 70 61 6e 65 6c 2e 68 69 64 64 65 6e 20 | el............this.panel.hidden. |
63be0 | 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b | =.true;.........}.........break; |
63c00 | 0a 20 20 20 20 7d 0a 20 20 7d 0a 7d 3b 0a 2f 2f 40 6c 69 6e 65 20 36 32 36 31 20 22 2f 62 75 69 | .....}...}.};.//@line.6261."/bui |
63c20 | 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 | lds/moz2_slave/linux_build/build |
63c40 | 2f 62 72 6f 77 73 65 72 2f 62 61 73 65 2f 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2e 6a 73 | /browser/base/content/browser.js |
63c60 | 22 0a 0a 48 69 73 74 6f 72 79 4d 65 6e 75 2e 74 6f 67 67 6c 65 52 65 63 65 6e 74 6c 79 43 6c 6f | "..HistoryMenu.toggleRecentlyClo |
63c80 | 73 65 64 54 61 62 73 20 3d 20 66 75 6e 63 74 69 6f 6e 20 50 48 4d 5f 74 6f 67 67 6c 65 52 65 63 | sedTabs.=.function.PHM_toggleRec |
63ca0 | 65 6e 74 6c 79 43 6c 6f 73 65 64 54 61 62 73 28 29 20 7b 0a 20 20 2f 2f 20 65 6e 61 62 6c 65 2f | entlyClosedTabs().{...//.enable/ |
63cc0 | 64 69 73 61 62 6c 65 20 74 68 65 20 52 65 63 65 6e 74 6c 79 20 43 6c 6f 73 65 64 20 54 61 62 73 | disable.the.Recently.Closed.Tabs |
63ce0 | 20 73 75 62 20 6d 65 6e 75 0a 20 20 76 61 72 20 75 6e 64 6f 50 6f 70 75 70 20 3d 20 64 6f 63 75 | .sub.menu...var.undoPopup.=.docu |
63d00 | 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 68 69 73 74 6f 72 79 55 6e 64 6f | ment.getElementById("historyUndo |
63d20 | 50 6f 70 75 70 22 29 3b 0a 0a 20 20 2f 2f 20 6e 6f 20 72 65 73 74 6f 72 61 62 6c 65 20 74 61 62 | Popup");....//.no.restorable.tab |
63d40 | 73 2c 20 73 6f 20 64 69 73 61 62 6c 65 20 6d 65 6e 75 0a 20 20 69 66 20 28 74 68 69 73 2e 5f 73 | s,.so.disable.menu...if.(this._s |
63d60 | 73 2e 67 65 74 43 6c 6f 73 65 64 54 61 62 43 6f 75 6e 74 28 77 69 6e 64 6f 77 29 20 3d 3d 20 30 | s.getClosedTabCount(window).==.0 |
63d80 | 29 0a 20 20 20 20 75 6e 64 6f 50 6f 70 75 70 2e 70 61 72 65 6e 74 4e 6f 64 65 2e 73 65 74 41 74 | ).....undoPopup.parentNode.setAt |
63da0 | 74 72 69 62 75 74 65 28 22 64 69 73 61 62 6c 65 64 22 2c 20 74 72 75 65 29 3b 0a 20 20 65 6c 73 | tribute("disabled",.true);...els |
63dc0 | 65 0a 20 20 20 20 75 6e 64 6f 50 6f 70 75 70 2e 70 61 72 65 6e 74 4e 6f 64 65 2e 72 65 6d 6f 76 | e.....undoPopup.parentNode.remov |
63de0 | 65 41 74 74 72 69 62 75 74 65 28 22 64 69 73 61 62 6c 65 64 22 29 3b 0a 7d 0a 0a 2f 2a 2a 0a 20 | eAttribute("disabled");.}../**.. |
63e00 | 2a 20 50 6f 70 75 6c 61 74 65 20 77 68 65 6e 20 74 68 65 20 68 69 73 74 6f 72 79 20 6d 65 6e 75 | *.Populate.when.the.history.menu |
63e20 | 20 69 73 20 6f 70 65 6e 65 64 0a 20 2a 2f 0a 48 69 73 74 6f 72 79 4d 65 6e 75 2e 70 6f 70 75 6c | .is.opened..*/.HistoryMenu.popul |
63e40 | 61 74 65 55 6e 64 6f 53 75 62 6d 65 6e 75 20 3d 20 66 75 6e 63 74 69 6f 6e 20 50 48 4d 5f 70 6f | ateUndoSubmenu.=.function.PHM_po |
63e60 | 70 75 6c 61 74 65 55 6e 64 6f 53 75 62 6d 65 6e 75 28 29 20 7b 0a 20 20 76 61 72 20 75 6e 64 6f | pulateUndoSubmenu().{...var.undo |
63e80 | 50 6f 70 75 70 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 | Popup.=.document.getElementById( |
63ea0 | 22 68 69 73 74 6f 72 79 55 6e 64 6f 50 6f 70 75 70 22 29 3b 0a 0a 20 20 2f 2f 20 72 65 6d 6f 76 | "historyUndoPopup");....//.remov |
63ec0 | 65 20 65 78 69 73 74 69 6e 67 20 6d 65 6e 75 20 69 74 65 6d 73 0a 20 20 77 68 69 6c 65 20 28 75 | e.existing.menu.items...while.(u |
63ee0 | 6e 64 6f 50 6f 70 75 70 2e 68 61 73 43 68 69 6c 64 4e 6f 64 65 73 28 29 29 0a 20 20 20 20 75 6e | ndoPopup.hasChildNodes()).....un |
63f00 | 64 6f 50 6f 70 75 70 2e 72 65 6d 6f 76 65 43 68 69 6c 64 28 75 6e 64 6f 50 6f 70 75 70 2e 66 69 | doPopup.removeChild(undoPopup.fi |
63f20 | 72 73 74 43 68 69 6c 64 29 3b 0a 0a 20 20 2f 2f 20 6e 6f 20 72 65 73 74 6f 72 61 62 6c 65 20 74 | rstChild);....//.no.restorable.t |
63f40 | 61 62 73 2c 20 73 6f 20 6d 61 6b 65 20 73 75 72 65 20 6d 65 6e 75 20 69 73 20 64 69 73 61 62 6c | abs,.so.make.sure.menu.is.disabl |
63f60 | 65 64 2c 20 61 6e 64 20 72 65 74 75 72 6e 0a 20 20 69 66 20 28 74 68 69 73 2e 5f 73 73 2e 67 65 | ed,.and.return...if.(this._ss.ge |
63f80 | 74 43 6c 6f 73 65 64 54 61 62 43 6f 75 6e 74 28 77 69 6e 64 6f 77 29 20 3d 3d 20 30 29 20 7b 0a | tClosedTabCount(window).==.0).{. |
63fa0 | 20 20 20 20 75 6e 64 6f 50 6f 70 75 70 2e 70 61 72 65 6e 74 4e 6f 64 65 2e 73 65 74 41 74 74 72 | ....undoPopup.parentNode.setAttr |
63fc0 | 69 62 75 74 65 28 22 64 69 73 61 62 6c 65 64 22 2c 20 74 72 75 65 29 3b 0a 20 20 20 20 72 65 74 | ibute("disabled",.true);.....ret |
63fe0 | 75 72 6e 3b 0a 20 20 7d 0a 0a 20 20 2f 2f 20 65 6e 61 62 6c 65 20 6d 65 6e 75 0a 20 20 75 6e 64 | urn;...}....//.enable.menu...und |
64000 | 6f 50 6f 70 75 70 2e 70 61 72 65 6e 74 4e 6f 64 65 2e 72 65 6d 6f 76 65 41 74 74 72 69 62 75 74 | oPopup.parentNode.removeAttribut |
64020 | 65 28 22 64 69 73 61 62 6c 65 64 22 29 3b 0a 0a 20 20 2f 2f 20 70 6f 70 75 6c 61 74 65 20 6d 65 | e("disabled");....//.populate.me |
64040 | 6e 75 0a 20 20 76 61 72 20 75 6e 64 6f 49 74 65 6d 73 20 3d 20 65 76 61 6c 28 22 28 22 20 2b 20 | nu...var.undoItems.=.eval("(".+. |
64060 | 74 68 69 73 2e 5f 73 73 2e 67 65 74 43 6c 6f 73 65 64 54 61 62 44 61 74 61 28 77 69 6e 64 6f 77 | this._ss.getClosedTabData(window |
64080 | 29 20 2b 20 22 29 22 29 3b 0a 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 | ).+.")");...for.(var.i.=.0;.i.<. |
640a0 | 75 6e 64 6f 49 74 65 6d 73 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 20 7b 0a 20 20 20 20 76 61 72 | undoItems.length;.i++).{.....var |
640c0 | 20 6d 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 63 72 65 61 74 65 45 6c 65 6d 65 6e 74 28 22 6d 65 6e | .m.=.document.createElement("men |
640e0 | 75 69 74 65 6d 22 29 3b 0a 20 20 20 20 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 6c 61 62 | uitem");.....m.setAttribute("lab |
64100 | 65 6c 22 2c 20 75 6e 64 6f 49 74 65 6d 73 5b 69 5d 2e 74 69 74 6c 65 29 3b 0a 20 20 20 20 69 66 | el",.undoItems[i].title);.....if |
64120 | 20 28 75 6e 64 6f 49 74 65 6d 73 5b 69 5d 2e 69 6d 61 67 65 29 20 7b 0a 20 20 20 20 20 20 6c 65 | .(undoItems[i].image).{.......le |
64140 | 74 20 69 63 6f 6e 55 52 4c 20 3d 20 75 6e 64 6f 49 74 65 6d 73 5b 69 5d 2e 69 6d 61 67 65 3b 0a | t.iconURL.=.undoItems[i].image;. |
64160 | 20 20 20 20 20 20 2f 2f 20 64 6f 6e 27 74 20 69 6e 69 74 69 61 74 65 20 61 20 63 6f 6e 6e 65 63 | ......//.don't.initiate.a.connec |
64180 | 74 69 6f 6e 20 6a 75 73 74 20 74 6f 20 66 65 74 63 68 20 61 20 66 61 76 69 63 6f 6e 20 28 73 65 | tion.just.to.fetch.a.favicon.(se |
641a0 | 65 20 62 75 67 20 34 36 37 38 32 38 29 0a 20 20 20 20 20 20 69 66 20 28 2f 5e 68 74 74 70 73 3f | e.bug.467828).......if.(/^https? |
641c0 | 3a 2f 2e 74 65 73 74 28 69 63 6f 6e 55 52 4c 29 29 0a 20 20 20 20 20 20 20 20 69 63 6f 6e 55 52 | :/.test(iconURL)).........iconUR |
641e0 | 4c 20 3d 20 22 6d 6f 7a 2d 61 6e 6e 6f 3a 66 61 76 69 63 6f 6e 3a 22 20 2b 20 69 63 6f 6e 55 52 | L.=."moz-anno:favicon:".+.iconUR |
64200 | 4c 3b 0a 20 20 20 20 20 20 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 69 6d 61 67 65 22 2c | L;.......m.setAttribute("image", |
64220 | 20 69 63 6f 6e 55 52 4c 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 6d 2e 73 65 74 41 74 74 72 69 62 | .iconURL);.....}.....m.setAttrib |
64240 | 75 74 65 28 22 63 6c 61 73 73 22 2c 20 22 6d 65 6e 75 69 74 65 6d 2d 69 63 6f 6e 69 63 20 62 6f | ute("class",."menuitem-iconic.bo |
64260 | 6f 6b 6d 61 72 6b 2d 69 74 65 6d 22 29 3b 0a 20 20 20 20 6d 2e 73 65 74 41 74 74 72 69 62 75 74 | okmark-item");.....m.setAttribut |
64280 | 65 28 22 76 61 6c 75 65 22 2c 20 69 29 3b 0a 20 20 20 20 6d 2e 73 65 74 41 74 74 72 69 62 75 74 | e("value",.i);.....m.setAttribut |
642a0 | 65 28 22 6f 6e 63 6f 6d 6d 61 6e 64 22 2c 20 22 75 6e 64 6f 43 6c 6f 73 65 54 61 62 28 22 20 2b | e("oncommand",."undoCloseTab(".+ |
642c0 | 20 69 20 2b 20 22 29 3b 22 29 3b 0a 20 20 20 20 6d 2e 61 64 64 45 76 65 6e 74 4c 69 73 74 65 6e | .i.+.");");.....m.addEventListen |
642e0 | 65 72 28 22 63 6c 69 63 6b 22 2c 20 75 6e 64 6f 43 6c 6f 73 65 4d 69 64 64 6c 65 43 6c 69 63 6b | er("click",.undoCloseMiddleClick |
64300 | 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 20 69 66 20 28 69 20 3d 3d 20 30 29 0a 20 20 20 20 20 20 | ,.false);.....if.(i.==.0)....... |
64320 | 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 6b 65 79 22 2c 20 22 6b 65 79 5f 75 6e 64 6f 43 | m.setAttribute("key",."key_undoC |
64340 | 6c 6f 73 65 54 61 62 22 29 3b 0a 20 20 20 20 75 6e 64 6f 50 6f 70 75 70 2e 61 70 70 65 6e 64 43 | loseTab");.....undoPopup.appendC |
64360 | 68 69 6c 64 28 6d 29 3b 0a 20 20 7d 0a 0a 20 20 2f 2f 20 22 4f 70 65 6e 20 41 6c 6c 20 69 6e 20 | hild(m);...}....//."Open.All.in. |
64380 | 54 61 62 73 22 0a 20 20 76 61 72 20 73 74 72 69 6e 67 73 20 3d 20 67 4e 61 76 69 67 61 74 6f 72 | Tabs"...var.strings.=.gNavigator |
643a0 | 42 75 6e 64 6c 65 3b 0a 20 20 75 6e 64 6f 50 6f 70 75 70 2e 61 70 70 65 6e 64 43 68 69 6c 64 28 | Bundle;...undoPopup.appendChild( |
643c0 | 64 6f 63 75 6d 65 6e 74 2e 63 72 65 61 74 65 45 6c 65 6d 65 6e 74 28 22 6d 65 6e 75 73 65 70 61 | document.createElement("menusepa |
643e0 | 72 61 74 6f 72 22 29 29 3b 0a 20 20 6d 20 3d 20 75 6e 64 6f 50 6f 70 75 70 2e 61 70 70 65 6e 64 | rator"));...m.=.undoPopup.append |
64400 | 43 68 69 6c 64 28 64 6f 63 75 6d 65 6e 74 2e 63 72 65 61 74 65 45 6c 65 6d 65 6e 74 28 22 6d 65 | Child(document.createElement("me |
64420 | 6e 75 69 74 65 6d 22 29 29 3b 0a 20 20 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 6c 61 62 | nuitem"));...m.setAttribute("lab |
64440 | 65 6c 22 2c 20 73 74 72 69 6e 67 73 2e 67 65 74 53 74 72 69 6e 67 28 22 6d 65 6e 75 4f 70 65 6e | el",.strings.getString("menuOpen |
64460 | 41 6c 6c 49 6e 54 61 62 73 2e 6c 61 62 65 6c 22 29 29 3b 0a 20 20 6d 2e 73 65 74 41 74 74 72 69 | AllInTabs.label"));...m.setAttri |
64480 | 62 75 74 65 28 22 61 63 63 65 73 73 6b 65 79 22 2c 20 73 74 72 69 6e 67 73 2e 67 65 74 53 74 72 | bute("accesskey",.strings.getStr |
644a0 | 69 6e 67 28 22 6d 65 6e 75 4f 70 65 6e 41 6c 6c 49 6e 54 61 62 73 2e 61 63 63 65 73 73 6b 65 79 | ing("menuOpenAllInTabs.accesskey |
644c0 | 22 29 29 3b 0a 20 20 6d 2e 61 64 64 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 28 22 63 6f 6d 6d 61 | "));...m.addEventListener("comma |
644e0 | 6e 64 22 2c 20 66 75 6e 63 74 69 6f 6e 28 29 20 7b 0a 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 | nd",.function().{.....for.(var.i |
64500 | 20 3d 20 30 3b 20 69 20 3c 20 75 6e 64 6f 49 74 65 6d 73 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 | .=.0;.i.<.undoItems.length;.i++) |
64520 | 0a 20 20 20 20 20 20 75 6e 64 6f 43 6c 6f 73 65 54 61 62 28 29 3b 0a 20 20 7d 2c 20 66 61 6c 73 | .......undoCloseTab();...},.fals |
64540 | 65 29 3b 0a 7d 0a 0a 48 69 73 74 6f 72 79 4d 65 6e 75 2e 74 6f 67 67 6c 65 52 65 63 65 6e 74 6c | e);.}..HistoryMenu.toggleRecentl |
64560 | 79 43 6c 6f 73 65 64 57 69 6e 64 6f 77 73 20 3d 20 66 75 6e 63 74 69 6f 6e 20 50 48 4d 5f 74 6f | yClosedWindows.=.function.PHM_to |
64580 | 67 67 6c 65 52 65 63 65 6e 74 6c 79 43 6c 6f 73 65 64 57 69 6e 64 6f 77 73 28 29 20 7b 0a 20 20 | ggleRecentlyClosedWindows().{... |
645a0 | 2f 2f 20 65 6e 61 62 6c 65 2f 64 69 73 61 62 6c 65 20 74 68 65 20 52 65 63 65 6e 74 6c 79 20 43 | //.enable/disable.the.Recently.C |
645c0 | 6c 6f 73 65 64 20 57 69 6e 64 6f 77 73 20 73 75 62 20 6d 65 6e 75 0a 20 20 6c 65 74 20 75 6e 64 | losed.Windows.sub.menu...let.und |
645e0 | 6f 50 6f 70 75 70 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 | oPopup.=.document.getElementById |
64600 | 28 22 68 69 73 74 6f 72 79 55 6e 64 6f 57 69 6e 64 6f 77 50 6f 70 75 70 22 29 3b 0a 0a 20 20 2f | ("historyUndoWindowPopup");..../ |
64620 | 2f 20 6e 6f 20 72 65 73 74 6f 72 61 62 6c 65 20 77 69 6e 64 6f 77 73 2c 20 73 6f 20 64 69 73 61 | /.no.restorable.windows,.so.disa |
64640 | 62 6c 65 20 6d 65 6e 75 0a 20 20 69 66 20 28 74 68 69 73 2e 5f 73 73 2e 67 65 74 43 6c 6f 73 65 | ble.menu...if.(this._ss.getClose |
64660 | 64 57 69 6e 64 6f 77 43 6f 75 6e 74 28 29 20 3d 3d 20 30 29 0a 20 20 20 20 75 6e 64 6f 50 6f 70 | dWindowCount().==.0).....undoPop |
64680 | 75 70 2e 70 61 72 65 6e 74 4e 6f 64 65 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 64 69 73 61 | up.parentNode.setAttribute("disa |
646a0 | 62 6c 65 64 22 2c 20 74 72 75 65 29 3b 0a 20 20 65 6c 73 65 0a 20 20 20 20 75 6e 64 6f 50 6f 70 | bled",.true);...else.....undoPop |
646c0 | 75 70 2e 70 61 72 65 6e 74 4e 6f 64 65 2e 72 65 6d 6f 76 65 41 74 74 72 69 62 75 74 65 28 22 64 | up.parentNode.removeAttribute("d |
646e0 | 69 73 61 62 6c 65 64 22 29 3b 0a 7d 0a 0a 2f 2a 2a 0a 20 2a 20 50 6f 70 75 6c 61 74 65 20 77 68 | isabled");.}../**..*.Populate.wh |
64700 | 65 6e 20 74 68 65 20 68 69 73 74 6f 72 79 20 6d 65 6e 75 20 69 73 20 6f 70 65 6e 65 64 0a 20 2a | en.the.history.menu.is.opened..* |
64720 | 2f 0a 48 69 73 74 6f 72 79 4d 65 6e 75 2e 70 6f 70 75 6c 61 74 65 55 6e 64 6f 57 69 6e 64 6f 77 | /.HistoryMenu.populateUndoWindow |
64740 | 53 75 62 6d 65 6e 75 20 3d 20 66 75 6e 63 74 69 6f 6e 20 50 48 4d 5f 70 6f 70 75 6c 61 74 65 55 | Submenu.=.function.PHM_populateU |
64760 | 6e 64 6f 57 69 6e 64 6f 77 53 75 62 6d 65 6e 75 28 29 20 7b 0a 20 20 6c 65 74 20 75 6e 64 6f 50 | ndoWindowSubmenu().{...let.undoP |
64780 | 6f 70 75 70 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 | opup.=.document.getElementById(" |
647a0 | 68 69 73 74 6f 72 79 55 6e 64 6f 57 69 6e 64 6f 77 50 6f 70 75 70 22 29 3b 0a 20 20 6c 65 74 20 | historyUndoWindowPopup");...let. |
647c0 | 6d 65 6e 75 4c 61 62 65 6c 53 74 72 69 6e 67 20 3d 20 67 4e 61 76 69 67 61 74 6f 72 42 75 6e 64 | menuLabelString.=.gNavigatorBund |
647e0 | 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 6d 65 6e 75 55 6e 64 6f 43 6c 6f 73 65 57 69 6e 64 6f | le.getString("menuUndoCloseWindo |
64800 | 77 4c 61 62 65 6c 22 29 3b 0a 20 20 6c 65 74 20 6d 65 6e 75 4c 61 62 65 6c 53 74 72 69 6e 67 53 | wLabel");...let.menuLabelStringS |
64820 | 69 6e 67 6c 65 54 61 62 20 3d 0a 20 20 20 20 67 4e 61 76 69 67 61 74 6f 72 42 75 6e 64 6c 65 2e | ingleTab.=.....gNavigatorBundle. |
64840 | 67 65 74 53 74 72 69 6e 67 28 22 6d 65 6e 75 55 6e 64 6f 43 6c 6f 73 65 57 69 6e 64 6f 77 53 69 | getString("menuUndoCloseWindowSi |
64860 | 6e 67 6c 65 54 61 62 4c 61 62 65 6c 22 29 3b 0a 0a 20 20 2f 2f 20 72 65 6d 6f 76 65 20 65 78 69 | ngleTabLabel");....//.remove.exi |
64880 | 73 74 69 6e 67 20 6d 65 6e 75 20 69 74 65 6d 73 0a 20 20 77 68 69 6c 65 20 28 75 6e 64 6f 50 6f | sting.menu.items...while.(undoPo |
648a0 | 70 75 70 2e 68 61 73 43 68 69 6c 64 4e 6f 64 65 73 28 29 29 0a 20 20 20 20 75 6e 64 6f 50 6f 70 | pup.hasChildNodes()).....undoPop |
648c0 | 75 70 2e 72 65 6d 6f 76 65 43 68 69 6c 64 28 75 6e 64 6f 50 6f 70 75 70 2e 66 69 72 73 74 43 68 | up.removeChild(undoPopup.firstCh |
648e0 | 69 6c 64 29 3b 0a 0a 20 20 2f 2f 20 6e 6f 20 72 65 73 74 6f 72 61 62 6c 65 20 77 69 6e 64 6f 77 | ild);....//.no.restorable.window |
64900 | 73 2c 20 73 6f 20 6d 61 6b 65 20 73 75 72 65 20 6d 65 6e 75 20 69 73 20 64 69 73 61 62 6c 65 64 | s,.so.make.sure.menu.is.disabled |
64920 | 2c 20 61 6e 64 20 72 65 74 75 72 6e 0a 20 20 69 66 20 28 74 68 69 73 2e 5f 73 73 2e 67 65 74 43 | ,.and.return...if.(this._ss.getC |
64940 | 6c 6f 73 65 64 57 69 6e 64 6f 77 43 6f 75 6e 74 28 29 20 3d 3d 20 30 29 20 7b 0a 20 20 20 20 75 | losedWindowCount().==.0).{.....u |
64960 | 6e 64 6f 50 6f 70 75 70 2e 70 61 72 65 6e 74 4e 6f 64 65 2e 73 65 74 41 74 74 72 69 62 75 74 65 | ndoPopup.parentNode.setAttribute |
64980 | 28 22 64 69 73 61 62 6c 65 64 22 2c 20 74 72 75 65 29 3b 0a 20 20 20 20 72 65 74 75 72 6e 3b 0a | ("disabled",.true);.....return;. |
649a0 | 20 20 7d 0a 0a 20 20 2f 2f 20 65 6e 61 62 6c 65 20 6d 65 6e 75 0a 20 20 75 6e 64 6f 50 6f 70 75 | ..}....//.enable.menu...undoPopu |
649c0 | 70 2e 70 61 72 65 6e 74 4e 6f 64 65 2e 72 65 6d 6f 76 65 41 74 74 72 69 62 75 74 65 28 22 64 69 | p.parentNode.removeAttribute("di |
649e0 | 73 61 62 6c 65 64 22 29 3b 0a 0a 20 20 2f 2f 20 70 6f 70 75 6c 61 74 65 20 6d 65 6e 75 0a 20 20 | sabled");....//.populate.menu... |
64a00 | 6c 65 74 20 75 6e 64 6f 49 74 65 6d 73 20 3d 20 4a 53 4f 4e 2e 70 61 72 73 65 28 74 68 69 73 2e | let.undoItems.=.JSON.parse(this. |
64a20 | 5f 73 73 2e 67 65 74 43 6c 6f 73 65 64 57 69 6e 64 6f 77 44 61 74 61 28 29 29 3b 0a 20 20 66 6f | _ss.getClosedWindowData());...fo |
64a40 | 72 20 28 6c 65 74 20 69 20 3d 20 30 3b 20 69 20 3c 20 75 6e 64 6f 49 74 65 6d 73 2e 6c 65 6e 67 | r.(let.i.=.0;.i.<.undoItems.leng |
64a60 | 74 68 3b 20 69 2b 2b 29 20 7b 0a 20 20 20 20 6c 65 74 20 75 6e 64 6f 49 74 65 6d 20 3d 20 75 6e | th;.i++).{.....let.undoItem.=.un |
64a80 | 64 6f 49 74 65 6d 73 5b 69 5d 3b 0a 20 20 20 20 6c 65 74 20 6f 74 68 65 72 54 61 62 73 43 6f 75 | doItems[i];.....let.otherTabsCou |
64aa0 | 6e 74 20 3d 20 75 6e 64 6f 49 74 65 6d 2e 74 61 62 73 2e 6c 65 6e 67 74 68 20 2d 20 31 3b 0a 20 | nt.=.undoItem.tabs.length.-.1;.. |
64ac0 | 20 20 20 6c 65 74 20 6c 61 62 65 6c 20 3d 20 28 6f 74 68 65 72 54 61 62 73 43 6f 75 6e 74 20 3d | ...let.label.=.(otherTabsCount.= |
64ae0 | 3d 20 30 29 20 3f 20 6d 65 6e 75 4c 61 62 65 6c 53 74 72 69 6e 67 53 69 6e 67 6c 65 54 61 62 0a | =.0).?.menuLabelStringSingleTab. |
64b00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
64b20 | 20 20 20 20 20 20 3a 20 50 6c 75 72 61 6c 46 6f 72 6d 2e 67 65 74 28 6f 74 68 65 72 54 61 62 73 | ......:.PluralForm.get(otherTabs |
64b40 | 43 6f 75 6e 74 2c 20 6d 65 6e 75 4c 61 62 65 6c 53 74 72 69 6e 67 29 3b 0a 20 20 20 20 6c 65 74 | Count,.menuLabelString);.....let |
64b60 | 20 6d 65 6e 75 4c 61 62 65 6c 20 3d 20 6c 61 62 65 6c 2e 72 65 70 6c 61 63 65 28 22 23 31 22 2c | .menuLabel.=.label.replace("#1", |
64b80 | 20 75 6e 64 6f 49 74 65 6d 2e 74 69 74 6c 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .undoItem.title)................ |
64ba0 | 20 20 20 20 20 20 20 20 20 20 2e 72 65 70 6c 61 63 65 28 22 23 32 22 2c 20 6f 74 68 65 72 54 61 | ...........replace("#2",.otherTa |
64bc0 | 62 73 43 6f 75 6e 74 29 3b 0a 20 20 20 20 6c 65 74 20 6d 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 63 | bsCount);.....let.m.=.document.c |
64be0 | 72 65 61 74 65 45 6c 65 6d 65 6e 74 28 22 6d 65 6e 75 69 74 65 6d 22 29 3b 0a 20 20 20 20 6d 2e | reateElement("menuitem");.....m. |
64c00 | 73 65 74 41 74 74 72 69 62 75 74 65 28 22 6c 61 62 65 6c 22 2c 20 6d 65 6e 75 4c 61 62 65 6c 29 | setAttribute("label",.menuLabel) |
64c20 | 3b 0a 20 20 20 20 6c 65 74 20 73 65 6c 65 63 74 65 64 54 61 62 20 3d 20 75 6e 64 6f 49 74 65 6d | ;.....let.selectedTab.=.undoItem |
64c40 | 2e 74 61 62 73 5b 75 6e 64 6f 49 74 65 6d 2e 73 65 6c 65 63 74 65 64 20 2d 20 31 5d 3b 0a 20 20 | .tabs[undoItem.selected.-.1];... |
64c60 | 20 20 69 66 20 28 73 65 6c 65 63 74 65 64 54 61 62 2e 61 74 74 72 69 62 75 74 65 73 2e 69 6d 61 | ..if.(selectedTab.attributes.ima |
64c80 | 67 65 29 20 7b 0a 20 20 20 20 20 20 6c 65 74 20 69 63 6f 6e 55 52 4c 20 3d 20 73 65 6c 65 63 74 | ge).{.......let.iconURL.=.select |
64ca0 | 65 64 54 61 62 2e 61 74 74 72 69 62 75 74 65 73 2e 69 6d 61 67 65 3b 0a 20 20 20 20 20 20 2f 2f | edTab.attributes.image;.......// |
64cc0 | 20 64 6f 6e 27 74 20 69 6e 69 74 69 61 74 65 20 61 20 63 6f 6e 6e 65 63 74 69 6f 6e 20 6a 75 73 | .don't.initiate.a.connection.jus |
64ce0 | 74 20 74 6f 20 66 65 74 63 68 20 61 20 66 61 76 69 63 6f 6e 20 28 73 65 65 20 62 75 67 20 34 36 | t.to.fetch.a.favicon.(see.bug.46 |
64d00 | 37 38 32 38 29 0a 20 20 20 20 20 20 69 66 20 28 2f 5e 68 74 74 70 73 3f 3a 2f 2e 74 65 73 74 28 | 7828).......if.(/^https?:/.test( |
64d20 | 69 63 6f 6e 55 52 4c 29 29 0a 20 20 20 20 20 20 20 20 69 63 6f 6e 55 52 4c 20 3d 20 22 6d 6f 7a | iconURL)).........iconURL.=."moz |
64d40 | 2d 61 6e 6e 6f 3a 66 61 76 69 63 6f 6e 3a 22 20 2b 20 69 63 6f 6e 55 52 4c 3b 0a 20 20 20 20 20 | -anno:favicon:".+.iconURL;...... |
64d60 | 20 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 69 6d 61 67 65 22 2c 20 69 63 6f 6e 55 52 4c | .m.setAttribute("image",.iconURL |
64d80 | 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 63 6c 61 | );.....}.....m.setAttribute("cla |
64da0 | 73 73 22 2c 20 22 6d 65 6e 75 69 74 65 6d 2d 69 63 6f 6e 69 63 20 62 6f 6f 6b 6d 61 72 6b 2d 69 | ss",."menuitem-iconic.bookmark-i |
64dc0 | 74 65 6d 22 29 3b 0a 20 20 20 20 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 6f 6e 63 6f 6d | tem");.....m.setAttribute("oncom |
64de0 | 6d 61 6e 64 22 2c 20 22 75 6e 64 6f 43 6c 6f 73 65 57 69 6e 64 6f 77 28 22 20 2b 20 69 20 2b 20 | mand",."undoCloseWindow(".+.i.+. |
64e00 | 22 29 3b 22 29 3b 0a 20 20 20 20 69 66 20 28 69 20 3d 3d 20 30 29 0a 20 20 20 20 20 20 6d 2e 73 | ");");.....if.(i.==.0).......m.s |
64e20 | 65 74 41 74 74 72 69 62 75 74 65 28 22 6b 65 79 22 2c 20 22 6b 65 79 5f 75 6e 64 6f 43 6c 6f 73 | etAttribute("key",."key_undoClos |
64e40 | 65 57 69 6e 64 6f 77 22 29 3b 0a 20 20 20 20 75 6e 64 6f 50 6f 70 75 70 2e 61 70 70 65 6e 64 43 | eWindow");.....undoPopup.appendC |
64e60 | 68 69 6c 64 28 6d 29 3b 0a 20 20 7d 0a 0a 20 20 2f 2f 20 22 4f 70 65 6e 20 41 6c 6c 20 69 6e 20 | hild(m);...}....//."Open.All.in. |
64e80 | 57 69 6e 64 6f 77 73 22 0a 20 20 75 6e 64 6f 50 6f 70 75 70 2e 61 70 70 65 6e 64 43 68 69 6c 64 | Windows"...undoPopup.appendChild |
64ea0 | 28 64 6f 63 75 6d 65 6e 74 2e 63 72 65 61 74 65 45 6c 65 6d 65 6e 74 28 22 6d 65 6e 75 73 65 70 | (document.createElement("menusep |
64ec0 | 61 72 61 74 6f 72 22 29 29 3b 0a 20 20 6c 65 74 20 6d 20 3d 20 75 6e 64 6f 50 6f 70 75 70 2e 61 | arator"));...let.m.=.undoPopup.a |
64ee0 | 70 70 65 6e 64 43 68 69 6c 64 28 64 6f 63 75 6d 65 6e 74 2e 63 72 65 61 74 65 45 6c 65 6d 65 6e | ppendChild(document.createElemen |
64f00 | 74 28 22 6d 65 6e 75 69 74 65 6d 22 29 29 3b 0a 20 20 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 | t("menuitem"));...m.setAttribute |
64f20 | 28 22 6c 61 62 65 6c 22 2c 20 67 4e 61 76 69 67 61 74 6f 72 42 75 6e 64 6c 65 2e 67 65 74 53 74 | ("label",.gNavigatorBundle.getSt |
64f40 | 72 69 6e 67 28 22 6d 65 6e 75 52 65 73 74 6f 72 65 41 6c 6c 57 69 6e 64 6f 77 73 2e 6c 61 62 65 | ring("menuRestoreAllWindows.labe |
64f60 | 6c 22 29 29 3b 0a 20 20 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 61 63 63 65 73 73 6b 65 | l"));...m.setAttribute("accesske |
64f80 | 79 22 2c 20 67 4e 61 76 69 67 61 74 6f 72 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 | y",.gNavigatorBundle.getString(" |
64fa0 | 6d 65 6e 75 52 65 73 74 6f 72 65 41 6c 6c 57 69 6e 64 6f 77 73 2e 61 63 63 65 73 73 6b 65 79 22 | menuRestoreAllWindows.accesskey" |
64fc0 | 29 29 3b 0a 20 20 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 6f 6e 63 6f 6d 6d 61 6e 64 22 | ));...m.setAttribute("oncommand" |
64fe0 | 2c 0a 20 20 20 20 22 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 22 20 2b 20 75 | ,....."for.(var.i.=.0;.i.<.".+.u |
65000 | 6e 64 6f 49 74 65 6d 73 2e 6c 65 6e 67 74 68 20 2b 20 22 3b 20 69 2b 2b 29 20 75 6e 64 6f 43 6c | ndoItems.length.+.";.i++).undoCl |
65020 | 6f 73 65 57 69 6e 64 6f 77 28 29 3b 22 29 3b 0a 7d 0a 0a 2f 2a 2a 0a 20 20 2a 20 52 65 2d 6f 70 | oseWindow();");.}../**...*.Re-op |
65040 | 65 6e 20 61 20 63 6c 6f 73 65 64 20 74 61 62 20 61 6e 64 20 70 75 74 20 69 74 20 74 6f 20 74 68 | en.a.closed.tab.and.put.it.to.th |
65060 | 65 20 65 6e 64 20 6f 66 20 74 68 65 20 74 61 62 20 73 74 72 69 70 2e 20 0a 20 20 2a 20 55 73 65 | e.end.of.the.tab.strip.....*.Use |
65080 | 64 20 66 6f 72 20 61 20 6d 69 64 64 6c 65 20 63 6c 69 63 6b 2e 0a 20 20 2a 20 40 70 61 72 61 6d | d.for.a.middle.click....*.@param |
650a0 | 20 61 45 76 65 6e 74 0a 20 20 2a 20 20 20 20 20 20 20 20 54 68 65 20 65 76 65 6e 74 20 77 68 65 | .aEvent...*........The.event.whe |
650c0 | 6e 20 74 68 65 20 75 73 65 72 20 63 6c 69 63 6b 73 20 74 68 65 20 6d 65 6e 75 20 69 74 65 6d 0a | n.the.user.clicks.the.menu.item. |
650e0 | 20 20 2a 2f 0a 66 75 6e 63 74 69 6f 6e 20 75 6e 64 6f 43 6c 6f 73 65 4d 69 64 64 6c 65 43 6c 69 | ..*/.function.undoCloseMiddleCli |
65100 | 63 6b 28 61 45 76 65 6e 74 29 20 7b 0a 20 20 69 66 20 28 61 45 76 65 6e 74 2e 62 75 74 74 6f 6e | ck(aEvent).{...if.(aEvent.button |
65120 | 20 21 3d 20 31 29 0a 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 75 6e 64 6f 43 6c 6f 73 65 54 | .!=.1).....return;....undoCloseT |
65140 | 61 62 28 61 45 76 65 6e 74 2e 6f 72 69 67 69 6e 61 6c 54 61 72 67 65 74 2e 76 61 6c 75 65 29 3b | ab(aEvent.originalTarget.value); |
65160 | 0a 20 20 67 42 72 6f 77 73 65 72 2e 6d 6f 76 65 54 61 62 54 6f 45 6e 64 28 29 3b 0a 7d 0a 0a 2f | ...gBrowser.moveTabToEnd();.}../ |
65180 | 2a 2a 0a 20 2a 20 52 65 2d 6f 70 65 6e 20 61 20 63 6c 6f 73 65 64 20 74 61 62 2e 0a 20 2a 20 40 | **..*.Re-open.a.closed.tab...*.@ |
651a0 | 70 61 72 61 6d 20 61 49 6e 64 65 78 0a 20 2a 20 20 20 20 20 20 20 20 54 68 65 20 69 6e 64 65 78 | param.aIndex..*........The.index |
651c0 | 20 6f 66 20 74 68 65 20 74 61 62 20 28 76 69 61 20 6e 73 53 65 73 73 69 6f 6e 53 74 6f 72 65 2e | .of.the.tab.(via.nsSessionStore. |
651e0 | 67 65 74 43 6c 6f 73 65 64 54 61 62 44 61 74 61 29 0a 20 2a 20 40 72 65 74 75 72 6e 73 20 61 20 | getClosedTabData)..*.@returns.a. |
65200 | 72 65 66 65 72 65 6e 63 65 20 74 6f 20 74 68 65 20 72 65 6f 70 65 6e 65 64 20 74 61 62 2e 0a 20 | reference.to.the.reopened.tab... |
65220 | 2a 2f 0a 66 75 6e 63 74 69 6f 6e 20 75 6e 64 6f 43 6c 6f 73 65 54 61 62 28 61 49 6e 64 65 78 29 | */.function.undoCloseTab(aIndex) |
65240 | 20 7b 0a 20 20 2f 2f 20 77 61 6c 6c 70 61 70 65 72 20 70 61 74 63 68 20 74 6f 20 70 72 65 76 65 | .{...//.wallpaper.patch.to.preve |
65260 | 6e 74 20 61 6e 20 75 6e 6e 65 63 65 73 73 61 72 79 20 62 6c 61 6e 6b 20 74 61 62 20 28 62 75 67 | nt.an.unnecessary.blank.tab.(bug |
65280 | 20 33 34 33 38 39 35 29 0a 20 20 76 61 72 20 62 6c 61 6e 6b 54 61 62 54 6f 52 65 6d 6f 76 65 20 | .343895)...var.blankTabToRemove. |
652a0 | 3d 20 6e 75 6c 6c 3b 0a 20 20 69 66 20 28 67 42 72 6f 77 73 65 72 2e 74 61 62 43 6f 6e 74 61 69 | =.null;...if.(gBrowser.tabContai |
652c0 | 6e 65 72 2e 63 68 69 6c 64 4e 6f 64 65 73 2e 6c 65 6e 67 74 68 20 3d 3d 20 31 20 26 26 0a 20 20 | ner.childNodes.length.==.1.&&... |
652e0 | 20 20 20 20 21 67 50 72 65 66 53 65 72 76 69 63 65 2e 67 65 74 42 6f 6f 6c 50 72 65 66 28 22 62 | ....!gPrefService.getBoolPref("b |
65300 | 72 6f 77 73 65 72 2e 74 61 62 73 2e 61 75 74 6f 48 69 64 65 22 29 20 26 26 0a 20 20 20 20 20 20 | rowser.tabs.autoHide").&&....... |
65320 | 67 42 72 6f 77 73 65 72 2e 73 65 6c 65 63 74 65 64 42 72 6f 77 73 65 72 2e 73 65 73 73 69 6f 6e | gBrowser.selectedBrowser.session |
65340 | 48 69 73 74 6f 72 79 2e 63 6f 75 6e 74 20 3c 20 32 20 26 26 0a 20 20 20 20 20 20 67 42 72 6f 77 | History.count.<.2.&&.......gBrow |
65360 | 73 65 72 2e 73 65 6c 65 63 74 65 64 42 72 6f 77 73 65 72 2e 63 75 72 72 65 6e 74 55 52 49 2e 73 | ser.selectedBrowser.currentURI.s |
65380 | 70 65 63 20 3d 3d 20 22 61 62 6f 75 74 3a 62 6c 61 6e 6b 22 20 26 26 0a 20 20 20 20 20 20 21 67 | pec.==."about:blank".&&.......!g |
653a0 | 42 72 6f 77 73 65 72 2e 73 65 6c 65 63 74 65 64 42 72 6f 77 73 65 72 2e 63 6f 6e 74 65 6e 74 44 | Browser.selectedBrowser.contentD |
653c0 | 6f 63 75 6d 65 6e 74 2e 62 6f 64 79 2e 68 61 73 43 68 69 6c 64 4e 6f 64 65 73 28 29 20 26 26 0a | ocument.body.hasChildNodes().&&. |
653e0 | 20 20 20 20 20 20 21 67 42 72 6f 77 73 65 72 2e 73 65 6c 65 63 74 65 64 54 61 62 2e 68 61 73 41 | ......!gBrowser.selectedTab.hasA |
65400 | 74 74 72 69 62 75 74 65 28 22 62 75 73 79 22 29 29 0a 20 20 20 20 62 6c 61 6e 6b 54 61 62 54 6f | ttribute("busy")).....blankTabTo |
65420 | 52 65 6d 6f 76 65 20 3d 20 67 42 72 6f 77 73 65 72 2e 73 65 6c 65 63 74 65 64 54 61 62 3b 0a 0a | Remove.=.gBrowser.selectedTab;.. |
65440 | 20 20 76 61 72 20 74 61 62 20 3d 20 6e 75 6c 6c 3b 0a 20 20 76 61 72 20 73 73 20 3d 20 43 63 5b | ..var.tab.=.null;...var.ss.=.Cc[ |
65460 | 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 62 72 6f 77 73 65 72 2f 73 65 73 73 69 6f 6e 73 74 6f | "@mozilla.org/browser/sessionsto |
65480 | 72 65 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 69 | re;1"].............getService(Ci |
654a0 | 2e 6e 73 49 53 65 73 73 69 6f 6e 53 74 6f 72 65 29 3b 0a 20 20 69 66 20 28 73 73 2e 67 65 74 43 | .nsISessionStore);...if.(ss.getC |
654c0 | 6c 6f 73 65 64 54 61 62 43 6f 75 6e 74 28 77 69 6e 64 6f 77 29 20 3e 20 28 61 49 6e 64 65 78 20 | losedTabCount(window).>.(aIndex. |
654e0 | 7c 7c 20 30 29 29 20 7b 0a 20 20 20 20 74 61 62 20 3d 20 73 73 2e 75 6e 64 6f 43 6c 6f 73 65 54 | ||.0)).{.....tab.=.ss.undoCloseT |
65500 | 61 62 28 77 69 6e 64 6f 77 2c 20 61 49 6e 64 65 78 20 7c 7c 20 30 29 3b 0a 20 20 20 20 0a 20 20 | ab(window,.aIndex.||.0);........ |
65520 | 20 20 69 66 20 28 62 6c 61 6e 6b 54 61 62 54 6f 52 65 6d 6f 76 65 29 0a 20 20 20 20 20 20 67 42 | ..if.(blankTabToRemove).......gB |
65540 | 72 6f 77 73 65 72 2e 72 65 6d 6f 76 65 54 61 62 28 62 6c 61 6e 6b 54 61 62 54 6f 52 65 6d 6f 76 | rowser.removeTab(blankTabToRemov |
65560 | 65 29 3b 0a 20 20 7d 0a 20 20 0a 20 20 72 65 74 75 72 6e 20 74 61 62 3b 0a 7d 0a 0a 2f 2a 2a 0a | e);...}......return.tab;.}../**. |
65580 | 20 2a 20 52 65 2d 6f 70 65 6e 20 61 20 63 6c 6f 73 65 64 20 77 69 6e 64 6f 77 2e 0a 20 2a 20 40 | .*.Re-open.a.closed.window...*.@ |
655a0 | 70 61 72 61 6d 20 61 49 6e 64 65 78 0a 20 2a 20 20 20 20 20 20 20 20 54 68 65 20 69 6e 64 65 78 | param.aIndex..*........The.index |
655c0 | 20 6f 66 20 74 68 65 20 77 69 6e 64 6f 77 20 28 76 69 61 20 6e 73 53 65 73 73 69 6f 6e 53 74 6f | .of.the.window.(via.nsSessionSto |
655e0 | 72 65 2e 67 65 74 43 6c 6f 73 65 64 57 69 6e 64 6f 77 44 61 74 61 29 0a 20 2a 20 40 72 65 74 75 | re.getClosedWindowData)..*.@retu |
65600 | 72 6e 73 20 61 20 72 65 66 65 72 65 6e 63 65 20 74 6f 20 74 68 65 20 72 65 6f 70 65 6e 65 64 20 | rns.a.reference.to.the.reopened. |
65620 | 77 69 6e 64 6f 77 2e 0a 20 2a 2f 0a 66 75 6e 63 74 69 6f 6e 20 75 6e 64 6f 43 6c 6f 73 65 57 69 | window...*/.function.undoCloseWi |
65640 | 6e 64 6f 77 28 61 49 6e 64 65 78 29 20 7b 0a 20 20 6c 65 74 20 73 73 20 3d 20 43 63 5b 22 40 6d | ndow(aIndex).{...let.ss.=.Cc["@m |
65660 | 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 62 72 6f 77 73 65 72 2f 73 65 73 73 69 6f 6e 73 74 6f 72 65 3b | ozilla.org/browser/sessionstore; |
65680 | 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 | 1"].............getService(Ci.ns |
656a0 | 49 53 65 73 73 69 6f 6e 53 74 6f 72 65 29 3b 0a 20 20 6c 65 74 20 77 69 6e 64 6f 77 20 3d 20 6e | ISessionStore);...let.window.=.n |
656c0 | 75 6c 6c 3b 0a 20 20 69 66 20 28 73 73 2e 67 65 74 43 6c 6f 73 65 64 57 69 6e 64 6f 77 43 6f 75 | ull;...if.(ss.getClosedWindowCou |
656e0 | 6e 74 28 29 20 3e 20 28 61 49 6e 64 65 78 20 7c 7c 20 30 29 29 0a 20 20 20 20 77 69 6e 64 6f 77 | nt().>.(aIndex.||.0)).....window |
65700 | 20 3d 20 73 73 2e 75 6e 64 6f 43 6c 6f 73 65 57 69 6e 64 6f 77 28 61 49 6e 64 65 78 20 7c 7c 20 | .=.ss.undoCloseWindow(aIndex.||. |
65720 | 30 29 3b 0a 0a 20 20 72 65 74 75 72 6e 20 77 69 6e 64 6f 77 3b 0a 7d 0a 0a 2f 2a 2a 0a 20 2a 20 | 0);....return.window;.}../**..*. |
65740 | 46 6f 72 6d 61 74 20 61 20 55 52 4c 0a 20 2a 20 65 67 3a 0a 20 2a 20 65 63 68 6f 20 66 6f 72 6d | Format.a.URL..*.eg:..*.echo.form |
65760 | 61 74 55 52 4c 28 22 68 74 74 70 3a 2f 2f 25 4c 4f 43 41 4c 45 25 2e 61 6d 6f 2e 6d 6f 7a 69 6c | atURL("http://%LOCALE%.amo.mozil |
65780 | 6c 61 2e 6f 72 67 2f 25 4c 4f 43 41 4c 45 25 2f 25 41 50 50 25 2f 25 56 45 52 53 49 4f 4e 25 2f | la.org/%LOCALE%/%APP%/%VERSION%/ |
657a0 | 22 29 3b 0a 20 2a 20 3e 20 68 74 74 70 3a 2f 2f 65 6e 2d 55 53 2e 61 6d 6f 2e 6d 6f 7a 69 6c 6c | ");..*.>.http://en-US.amo.mozill |
657c0 | 61 2e 6f 72 67 2f 65 6e 2d 55 53 2f 66 69 72 65 66 6f 78 2f 33 2e 30 61 31 2f 0a 20 2a 0a 20 2a | a.org/en-US/firefox/3.0a1/..*..* |
657e0 | 20 43 75 72 72 65 6e 74 6c 79 20 73 75 70 70 6f 72 74 65 64 20 62 75 69 6c 74 2d 69 6e 73 20 61 | .Currently.supported.built-ins.a |
65800 | 72 65 20 4c 4f 43 41 4c 45 2c 20 41 50 50 2c 20 61 6e 64 20 61 6e 79 20 76 61 6c 75 65 20 66 72 | re.LOCALE,.APP,.and.any.value.fr |
65820 | 6f 6d 20 6e 73 49 58 55 4c 41 70 70 49 6e 66 6f 2c 20 75 70 70 65 72 63 61 73 65 64 2e 0a 20 2a | om.nsIXULAppInfo,.uppercased...* |
65840 | 2f 0a 66 75 6e 63 74 69 6f 6e 20 66 6f 72 6d 61 74 55 52 4c 28 61 46 6f 72 6d 61 74 2c 20 61 49 | /.function.formatURL(aFormat,.aI |
65860 | 73 50 72 65 66 29 20 7b 0a 20 20 76 61 72 20 66 6f 72 6d 61 74 74 65 72 20 3d 20 43 63 5b 22 40 | sPref).{...var.formatter.=.Cc["@ |
65880 | 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 74 6f 6f 6c 6b 69 74 2f 55 52 4c 46 6f 72 6d 61 74 74 65 72 | mozilla.org/toolkit/URLFormatter |
658a0 | 53 65 72 76 69 63 65 3b 31 22 5d 2e 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 55 52 4c | Service;1"].getService(Ci.nsIURL |
658c0 | 46 6f 72 6d 61 74 74 65 72 29 3b 0a 20 20 72 65 74 75 72 6e 20 61 49 73 50 72 65 66 20 3f 20 66 | Formatter);...return.aIsPref.?.f |
658e0 | 6f 72 6d 61 74 74 65 72 2e 66 6f 72 6d 61 74 55 52 4c 50 72 65 66 28 61 46 6f 72 6d 61 74 29 20 | ormatter.formatURLPref(aFormat). |
65900 | 3a 20 66 6f 72 6d 61 74 74 65 72 2e 66 6f 72 6d 61 74 55 52 4c 28 61 46 6f 72 6d 61 74 29 3b 0a | :.formatter.formatURL(aFormat);. |
65920 | 7d 0a 0a 2f 2a 2a 0a 20 2a 20 54 68 69 73 20 61 6c 73 6f 20 74 61 6b 65 73 20 63 61 72 65 20 6f | }../**..*.This.also.takes.care.o |
65940 | 66 20 75 70 64 61 74 69 6e 67 20 74 68 65 20 63 6f 6d 6d 61 6e 64 20 65 6e 61 62 6c 65 64 2d 73 | f.updating.the.command.enabled-s |
65960 | 74 61 74 65 20 77 68 65 6e 20 74 61 62 73 20 61 72 65 0a 20 2a 20 63 72 65 61 74 65 64 20 6f 72 | tate.when.tabs.are..*.created.or |
65980 | 20 72 65 6d 6f 76 65 64 2e 0a 20 2a 2f 0a 66 75 6e 63 74 69 6f 6e 20 42 6f 6f 6b 6d 61 72 6b 41 | .removed...*/.function.BookmarkA |
659a0 | 6c 6c 54 61 62 73 48 61 6e 64 6c 65 72 28 29 20 7b 0a 20 20 74 68 69 73 2e 5f 63 6f 6d 6d 61 6e | llTabsHandler().{...this._comman |
659c0 | 64 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 42 72 6f | d.=.document.getElementById("Bro |
659e0 | 77 73 65 72 3a 42 6f 6f 6b 6d 61 72 6b 41 6c 6c 54 61 62 73 22 29 3b 0a 20 20 67 42 72 6f 77 73 | wser:BookmarkAllTabs");...gBrows |
65a00 | 65 72 2e 61 64 64 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 28 22 54 61 62 4f 70 65 6e 22 2c 20 74 | er.addEventListener("TabOpen",.t |
65a20 | 68 69 73 2c 20 74 72 75 65 29 3b 0a 20 20 67 42 72 6f 77 73 65 72 2e 61 64 64 45 76 65 6e 74 4c | his,.true);...gBrowser.addEventL |
65a40 | 69 73 74 65 6e 65 72 28 22 54 61 62 43 6c 6f 73 65 22 2c 20 74 68 69 73 2c 20 74 72 75 65 29 3b | istener("TabClose",.this,.true); |
65a60 | 0a 20 20 74 68 69 73 2e 5f 75 70 64 61 74 65 43 6f 6d 6d 61 6e 64 53 74 61 74 65 28 29 3b 0a 7d | ...this._updateCommandState();.} |
65a80 | 0a 0a 42 6f 6f 6b 6d 61 72 6b 41 6c 6c 54 61 62 73 48 61 6e 64 6c 65 72 2e 70 72 6f 74 6f 74 79 | ..BookmarkAllTabsHandler.prototy |
65aa0 | 70 65 20 3d 20 7b 0a 20 20 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 3a 20 66 75 6e 63 74 69 6f | pe.=.{...QueryInterface:.functio |
65ac0 | 6e 20 42 41 54 48 5f 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 28 61 49 49 44 29 20 7b 0a 20 20 | n.BATH_QueryInterface(aIID).{... |
65ae0 | 20 20 69 66 20 28 61 49 49 44 2e 65 71 75 61 6c 73 28 43 69 2e 6e 73 49 44 4f 4d 45 76 65 6e 74 | ..if.(aIID.equals(Ci.nsIDOMEvent |
65b00 | 4c 69 73 74 65 6e 65 72 29 20 7c 7c 0a 20 20 20 20 20 20 20 20 61 49 49 44 2e 65 71 75 61 6c 73 | Listener).||.........aIID.equals |
65b20 | 28 43 69 2e 6e 73 49 53 75 70 70 6f 72 74 73 29 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 | (Ci.nsISupports)).......return.t |
65b40 | 68 69 73 3b 0a 0a 20 20 20 20 74 68 72 6f 77 20 43 72 2e 4e 53 5f 4e 4f 49 4e 54 45 52 46 41 43 | his;......throw.Cr.NS_NOINTERFAC |
65b60 | 45 3b 0a 20 20 7d 2c 0a 0a 20 20 5f 75 70 64 61 74 65 43 6f 6d 6d 61 6e 64 53 74 61 74 65 3a 20 | E;...},...._updateCommandState:. |
65b80 | 66 75 6e 63 74 69 6f 6e 20 42 41 54 48 5f 5f 75 70 64 61 74 65 43 6f 6d 6d 61 6e 64 53 74 61 74 | function.BATH__updateCommandStat |
65ba0 | 65 28 61 54 61 62 43 6c 6f 73 65 29 20 7b 0a 20 20 20 20 76 61 72 20 6e 75 6d 54 61 62 73 20 3d | e(aTabClose).{.....var.numTabs.= |
65bc0 | 20 67 42 72 6f 77 73 65 72 2e 74 61 62 43 6f 6e 74 61 69 6e 65 72 2e 63 68 69 6c 64 4e 6f 64 65 | .gBrowser.tabContainer.childNode |
65be0 | 73 2e 6c 65 6e 67 74 68 3b 0a 0a 20 20 20 20 2f 2f 20 54 68 65 20 54 61 62 43 6c 6f 73 65 20 65 | s.length;......//.The.TabClose.e |
65c00 | 76 65 6e 74 20 69 73 20 66 69 72 65 64 20 62 65 66 6f 72 65 20 74 68 65 20 74 61 62 20 69 73 20 | vent.is.fired.before.the.tab.is. |
65c20 | 72 65 6d 6f 76 65 64 20 66 72 6f 6d 20 74 68 65 20 44 4f 4d 0a 20 20 20 20 69 66 20 28 61 54 61 | removed.from.the.DOM.....if.(aTa |
65c40 | 62 43 6c 6f 73 65 29 0a 20 20 20 20 20 20 6e 75 6d 54 61 62 73 2d 2d 3b 0a 0a 20 20 20 20 69 66 | bClose).......numTabs--;......if |
65c60 | 20 28 6e 75 6d 54 61 62 73 20 3e 20 31 29 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 63 6f 6d 6d 61 | .(numTabs.>.1).......this._comma |
65c80 | 6e 64 2e 72 65 6d 6f 76 65 41 74 74 72 69 62 75 74 65 28 22 64 69 73 61 62 6c 65 64 22 29 3b 0a | nd.removeAttribute("disabled");. |
65ca0 | 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 63 6f 6d 6d 61 6e 64 2e 73 65 74 | ....else.......this._command.set |
65cc0 | 41 74 74 72 69 62 75 74 65 28 22 64 69 73 61 62 6c 65 64 22 2c 20 22 74 72 75 65 22 29 3b 0a 20 | Attribute("disabled",."true");.. |
65ce0 | 20 7d 2c 0a 0a 20 20 64 6f 43 6f 6d 6d 61 6e 64 3a 20 66 75 6e 63 74 69 6f 6e 20 42 41 54 48 5f | .},....doCommand:.function.BATH_ |
65d00 | 64 6f 43 6f 6d 6d 61 6e 64 28 29 20 7b 0a 20 20 20 20 50 6c 61 63 65 73 43 6f 6d 6d 61 6e 64 48 | doCommand().{.....PlacesCommandH |
65d20 | 6f 6f 6b 2e 62 6f 6f 6b 6d 61 72 6b 43 75 72 72 65 6e 74 50 61 67 65 73 28 29 3b 0a 20 20 7d 2c | ook.bookmarkCurrentPages();...}, |
65d40 | 0a 0a 20 20 2f 2f 20 6e 73 49 44 4f 4d 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 0a 20 20 68 61 6e | ....//.nsIDOMEventListener...han |
65d60 | 64 6c 65 45 76 65 6e 74 3a 20 66 75 6e 63 74 69 6f 6e 28 61 45 76 65 6e 74 29 20 7b 0a 20 20 20 | dleEvent:.function(aEvent).{.... |
65d80 | 20 74 68 69 73 2e 5f 75 70 64 61 74 65 43 6f 6d 6d 61 6e 64 53 74 61 74 65 28 61 45 76 65 6e 74 | .this._updateCommandState(aEvent |
65da0 | 2e 74 79 70 65 20 3d 3d 20 22 54 61 62 43 6c 6f 73 65 22 29 3b 0a 20 20 7d 0a 7d 3b 0a 0a 2f 2a | .type.==."TabClose");...}.};../* |
65dc0 | 2a 0a 20 2a 20 55 74 69 6c 69 74 79 20 6f 62 6a 65 63 74 20 74 6f 20 68 61 6e 64 6c 65 20 6d 61 | *..*.Utility.object.to.handle.ma |
65de0 | 6e 69 70 75 6c 61 74 69 6f 6e 73 20 6f 66 20 74 68 65 20 69 64 65 6e 74 69 74 79 20 69 6e 64 69 | nipulations.of.the.identity.indi |
65e00 | 63 61 74 6f 72 73 20 69 6e 20 74 68 65 20 55 49 0a 20 2a 2f 0a 76 61 72 20 67 49 64 65 6e 74 69 | cators.in.the.UI..*/.var.gIdenti |
65e20 | 74 79 48 61 6e 64 6c 65 72 20 3d 20 7b 0a 20 20 2f 2f 20 4d 6f 64 65 20 73 74 72 69 6e 67 73 20 | tyHandler.=.{...//.Mode.strings. |
65e40 | 75 73 65 64 20 74 6f 20 63 6f 6e 74 72 6f 6c 20 43 53 53 20 64 69 73 70 6c 61 79 0a 20 20 49 44 | used.to.control.CSS.display...ID |
65e60 | 45 4e 54 49 54 59 5f 4d 4f 44 45 5f 49 44 45 4e 54 49 46 49 45 44 20 20 20 20 20 20 20 3a 20 22 | ENTITY_MODE_IDENTIFIED.......:." |
65e80 | 76 65 72 69 66 69 65 64 49 64 65 6e 74 69 74 79 22 2c 20 2f 2f 20 48 69 67 68 2d 71 75 61 6c 69 | verifiedIdentity",.//.High-quali |
65ea0 | 74 79 20 69 64 65 6e 74 69 74 79 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 0a 20 20 49 44 45 4e 54 49 | ty.identity.information...IDENTI |
65ec0 | 54 59 5f 4d 4f 44 45 5f 44 4f 4d 41 49 4e 5f 56 45 52 49 46 49 45 44 20 20 3a 20 22 76 65 72 69 | TY_MODE_DOMAIN_VERIFIED..:."veri |
65ee0 | 66 69 65 64 44 6f 6d 61 69 6e 22 2c 20 20 20 2f 2f 20 4d 69 6e 69 6d 61 6c 20 53 53 4c 20 43 41 | fiedDomain",...//.Minimal.SSL.CA |
65f00 | 2d 73 69 67 6e 65 64 20 64 6f 6d 61 69 6e 20 76 65 72 69 66 69 63 61 74 69 6f 6e 0a 20 20 49 44 | -signed.domain.verification...ID |
65f20 | 45 4e 54 49 54 59 5f 4d 4f 44 45 5f 55 4e 4b 4e 4f 57 4e 20 20 20 20 20 20 20 20 20 20 3a 20 22 | ENTITY_MODE_UNKNOWN..........:." |
65f40 | 75 6e 6b 6e 6f 77 6e 49 64 65 6e 74 69 74 79 22 2c 20 20 2f 2f 20 4e 6f 20 74 72 75 73 74 65 64 | unknownIdentity",..//.No.trusted |
65f60 | 20 69 64 65 6e 74 69 74 79 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 0a 0a 20 20 2f 2f 20 43 61 63 68 | .identity.information....//.Cach |
65f80 | 65 20 74 68 65 20 6d 6f 73 74 20 72 65 63 65 6e 74 20 53 53 4c 53 74 61 74 75 73 20 61 6e 64 20 | e.the.most.recent.SSLStatus.and. |
65fa0 | 4c 6f 63 61 74 69 6f 6e 20 73 65 65 6e 20 69 6e 20 63 68 65 63 6b 49 64 65 6e 74 69 74 79 0a 20 | Location.seen.in.checkIdentity.. |
65fc0 | 20 5f 6c 61 73 74 53 74 61 74 75 73 20 3a 20 6e 75 6c 6c 2c 0a 20 20 5f 6c 61 73 74 4c 6f 63 61 | ._lastStatus.:.null,..._lastLoca |
65fe0 | 74 69 6f 6e 20 3a 20 6e 75 6c 6c 2c 0a 0a 20 20 2f 2f 20 73 6d 61 72 74 20 67 65 74 74 65 72 73 | tion.:.null,....//.smart.getters |
66000 | 0a 20 20 67 65 74 20 5f 73 74 72 69 6e 67 42 75 6e 64 6c 65 20 28 29 20 7b 0a 20 20 20 20 64 65 | ...get._stringBundle.().{.....de |
66020 | 6c 65 74 65 20 74 68 69 73 2e 5f 73 74 72 69 6e 67 42 75 6e 64 6c 65 3b 0a 20 20 20 20 72 65 74 | lete.this._stringBundle;.....ret |
66040 | 75 72 6e 20 74 68 69 73 2e 5f 73 74 72 69 6e 67 42 75 6e 64 6c 65 20 3d 20 64 6f 63 75 6d 65 6e | urn.this._stringBundle.=.documen |
66060 | 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 62 75 6e 64 6c 65 5f 62 72 6f 77 73 65 72 | t.getElementById("bundle_browser |
66080 | 22 29 3b 0a 20 20 7d 2c 0a 20 20 67 65 74 20 5f 73 74 61 74 69 63 53 74 72 69 6e 67 73 20 28 29 | ");...},...get._staticStrings.() |
660a0 | 20 7b 0a 20 20 20 20 64 65 6c 65 74 65 20 74 68 69 73 2e 5f 73 74 61 74 69 63 53 74 72 69 6e 67 | .{.....delete.this._staticString |
660c0 | 73 3b 0a 20 20 20 20 74 68 69 73 2e 5f 73 74 61 74 69 63 53 74 72 69 6e 67 73 20 3d 20 7b 7d 3b | s;.....this._staticStrings.=.{}; |
660e0 | 0a 20 20 20 20 74 68 69 73 2e 5f 73 74 61 74 69 63 53 74 72 69 6e 67 73 5b 74 68 69 73 2e 49 44 | .....this._staticStrings[this.ID |
66100 | 45 4e 54 49 54 59 5f 4d 4f 44 45 5f 44 4f 4d 41 49 4e 5f 56 45 52 49 46 49 45 44 5d 20 3d 20 7b | ENTITY_MODE_DOMAIN_VERIFIED].=.{ |
66120 | 0a 20 20 20 20 20 20 65 6e 63 72 79 70 74 69 6f 6e 5f 6c 61 62 65 6c 3a 20 74 68 69 73 2e 5f 73 | .......encryption_label:.this._s |
66140 | 74 72 69 6e 67 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 69 64 65 6e 74 69 74 79 2e | tringBundle.getString("identity. |
66160 | 65 6e 63 72 79 70 74 65 64 22 29 0a 20 20 20 20 7d 3b 0a 20 20 20 20 74 68 69 73 2e 5f 73 74 61 | encrypted").....};.....this._sta |
66180 | 74 69 63 53 74 72 69 6e 67 73 5b 74 68 69 73 2e 49 44 45 4e 54 49 54 59 5f 4d 4f 44 45 5f 49 44 | ticStrings[this.IDENTITY_MODE_ID |
661a0 | 45 4e 54 49 46 49 45 44 5d 20 3d 20 7b 0a 20 20 20 20 20 20 65 6e 63 72 79 70 74 69 6f 6e 5f 6c | ENTIFIED].=.{.......encryption_l |
661c0 | 61 62 65 6c 3a 20 74 68 69 73 2e 5f 73 74 72 69 6e 67 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 | abel:.this._stringBundle.getStri |
661e0 | 6e 67 28 22 69 64 65 6e 74 69 74 79 2e 65 6e 63 72 79 70 74 65 64 22 29 0a 20 20 20 20 7d 3b 0a | ng("identity.encrypted").....};. |
66200 | 20 20 20 20 74 68 69 73 2e 5f 73 74 61 74 69 63 53 74 72 69 6e 67 73 5b 74 68 69 73 2e 49 44 45 | ....this._staticStrings[this.IDE |
66220 | 4e 54 49 54 59 5f 4d 4f 44 45 5f 55 4e 4b 4e 4f 57 4e 5d 20 3d 20 7b 0a 20 20 20 20 20 20 65 6e | NTITY_MODE_UNKNOWN].=.{.......en |
66240 | 63 72 79 70 74 69 6f 6e 5f 6c 61 62 65 6c 3a 20 74 68 69 73 2e 5f 73 74 72 69 6e 67 42 75 6e 64 | cryption_label:.this._stringBund |
66260 | 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 69 64 65 6e 74 69 74 79 2e 75 6e 65 6e 63 72 79 70 74 | le.getString("identity.unencrypt |
66280 | 65 64 22 29 0a 20 20 20 20 7d 3b 0a 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 73 74 61 | ed").....};.....return.this._sta |
662a0 | 74 69 63 53 74 72 69 6e 67 73 3b 0a 20 20 7d 2c 0a 20 20 67 65 74 20 5f 69 64 65 6e 74 69 74 79 | ticStrings;...},...get._identity |
662c0 | 50 6f 70 75 70 20 28 29 20 7b 0a 20 20 20 20 64 65 6c 65 74 65 20 74 68 69 73 2e 5f 69 64 65 6e | Popup.().{.....delete.this._iden |
662e0 | 74 69 74 79 50 6f 70 75 70 3b 0a 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 69 64 65 6e | tityPopup;.....return.this._iden |
66300 | 74 69 74 79 50 6f 70 75 70 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 | tityPopup.=.document.getElementB |
66320 | 79 49 64 28 22 69 64 65 6e 74 69 74 79 2d 70 6f 70 75 70 22 29 3b 0a 20 20 7d 2c 0a 20 20 67 65 | yId("identity-popup");...},...ge |
66340 | 74 20 5f 69 64 65 6e 74 69 74 79 42 6f 78 20 28 29 20 7b 0a 20 20 20 20 64 65 6c 65 74 65 20 74 | t._identityBox.().{.....delete.t |
66360 | 68 69 73 2e 5f 69 64 65 6e 74 69 74 79 42 6f 78 3b 0a 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 | his._identityBox;.....return.thi |
66380 | 73 2e 5f 69 64 65 6e 74 69 74 79 42 6f 78 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 | s._identityBox.=.document.getEle |
663a0 | 6d 65 6e 74 42 79 49 64 28 22 69 64 65 6e 74 69 74 79 2d 62 6f 78 22 29 3b 0a 20 20 7d 2c 0a 20 | mentById("identity-box");...},.. |
663c0 | 20 67 65 74 20 5f 69 64 65 6e 74 69 74 79 50 6f 70 75 70 43 6f 6e 74 65 6e 74 42 6f 78 20 28 29 | .get._identityPopupContentBox.() |
663e0 | 20 7b 0a 20 20 20 20 64 65 6c 65 74 65 20 74 68 69 73 2e 5f 69 64 65 6e 74 69 74 79 50 6f 70 75 | .{.....delete.this._identityPopu |
66400 | 70 43 6f 6e 74 65 6e 74 42 6f 78 3b 0a 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 69 64 | pContentBox;.....return.this._id |
66420 | 65 6e 74 69 74 79 50 6f 70 75 70 43 6f 6e 74 65 6e 74 42 6f 78 20 3d 0a 20 20 20 20 20 20 64 6f | entityPopupContentBox.=.......do |
66440 | 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 69 64 65 6e 74 69 74 79 2d | cument.getElementById("identity- |
66460 | 70 6f 70 75 70 2d 63 6f 6e 74 65 6e 74 2d 62 6f 78 22 29 3b 0a 20 20 7d 2c 0a 20 20 67 65 74 20 | popup-content-box");...},...get. |
66480 | 5f 69 64 65 6e 74 69 74 79 50 6f 70 75 70 43 6f 6e 74 65 6e 74 48 6f 73 74 20 28 29 20 7b 0a 20 | _identityPopupContentHost.().{.. |
664a0 | 20 20 20 64 65 6c 65 74 65 20 74 68 69 73 2e 5f 69 64 65 6e 74 69 74 79 50 6f 70 75 70 43 6f 6e | ...delete.this._identityPopupCon |
664c0 | 74 65 6e 74 48 6f 73 74 3b 0a 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 69 64 65 6e 74 | tentHost;.....return.this._ident |
664e0 | 69 74 79 50 6f 70 75 70 43 6f 6e 74 65 6e 74 48 6f 73 74 20 3d 0a 20 20 20 20 20 20 64 6f 63 75 | ityPopupContentHost.=.......docu |
66500 | 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 69 64 65 6e 74 69 74 79 2d 70 6f | ment.getElementById("identity-po |
66520 | 70 75 70 2d 63 6f 6e 74 65 6e 74 2d 68 6f 73 74 22 29 3b 0a 20 20 7d 2c 0a 20 20 67 65 74 20 5f | pup-content-host");...},...get._ |
66540 | 69 64 65 6e 74 69 74 79 50 6f 70 75 70 43 6f 6e 74 65 6e 74 4f 77 6e 65 72 20 28 29 20 7b 0a 20 | identityPopupContentOwner.().{.. |
66560 | 20 20 20 64 65 6c 65 74 65 20 74 68 69 73 2e 5f 69 64 65 6e 74 69 74 79 50 6f 70 75 70 43 6f 6e | ...delete.this._identityPopupCon |
66580 | 74 65 6e 74 4f 77 6e 65 72 3b 0a 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 69 64 65 6e | tentOwner;.....return.this._iden |
665a0 | 74 69 74 79 50 6f 70 75 70 43 6f 6e 74 65 6e 74 4f 77 6e 65 72 20 3d 0a 20 20 20 20 20 20 64 6f | tityPopupContentOwner.=.......do |
665c0 | 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 69 64 65 6e 74 69 74 79 2d | cument.getElementById("identity- |
665e0 | 70 6f 70 75 70 2d 63 6f 6e 74 65 6e 74 2d 6f 77 6e 65 72 22 29 3b 0a 20 20 7d 2c 0a 20 20 67 65 | popup-content-owner");...},...ge |
66600 | 74 20 5f 69 64 65 6e 74 69 74 79 50 6f 70 75 70 43 6f 6e 74 65 6e 74 53 75 70 70 20 28 29 20 7b | t._identityPopupContentSupp.().{ |
66620 | 0a 20 20 20 20 64 65 6c 65 74 65 20 74 68 69 73 2e 5f 69 64 65 6e 74 69 74 79 50 6f 70 75 70 43 | .....delete.this._identityPopupC |
66640 | 6f 6e 74 65 6e 74 53 75 70 70 3b 0a 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 69 64 65 | ontentSupp;.....return.this._ide |
66660 | 6e 74 69 74 79 50 6f 70 75 70 43 6f 6e 74 65 6e 74 53 75 70 70 20 3d 0a 20 20 20 20 20 20 64 6f | ntityPopupContentSupp.=.......do |
66680 | 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 69 64 65 6e 74 69 74 79 2d | cument.getElementById("identity- |
666a0 | 70 6f 70 75 70 2d 63 6f 6e 74 65 6e 74 2d 73 75 70 70 6c 65 6d 65 6e 74 61 6c 22 29 3b 0a 20 20 | popup-content-supplemental");... |
666c0 | 7d 2c 0a 20 20 67 65 74 20 5f 69 64 65 6e 74 69 74 79 50 6f 70 75 70 43 6f 6e 74 65 6e 74 56 65 | },...get._identityPopupContentVe |
666e0 | 72 69 66 20 28 29 20 7b 0a 20 20 20 20 64 65 6c 65 74 65 20 74 68 69 73 2e 5f 69 64 65 6e 74 69 | rif.().{.....delete.this._identi |
66700 | 74 79 50 6f 70 75 70 43 6f 6e 74 65 6e 74 56 65 72 69 66 3b 0a 20 20 20 20 72 65 74 75 72 6e 20 | tyPopupContentVerif;.....return. |
66720 | 74 68 69 73 2e 5f 69 64 65 6e 74 69 74 79 50 6f 70 75 70 43 6f 6e 74 65 6e 74 56 65 72 69 66 20 | this._identityPopupContentVerif. |
66740 | 3d 0a 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 | =.......document.getElementById( |
66760 | 22 69 64 65 6e 74 69 74 79 2d 70 6f 70 75 70 2d 63 6f 6e 74 65 6e 74 2d 76 65 72 69 66 69 65 72 | "identity-popup-content-verifier |
66780 | 22 29 3b 0a 20 20 7d 2c 0a 20 20 67 65 74 20 5f 69 64 65 6e 74 69 74 79 50 6f 70 75 70 45 6e 63 | ");...},...get._identityPopupEnc |
667a0 | 4c 61 62 65 6c 20 28 29 20 7b 0a 20 20 20 20 64 65 6c 65 74 65 20 74 68 69 73 2e 5f 69 64 65 6e | Label.().{.....delete.this._iden |
667c0 | 74 69 74 79 50 6f 70 75 70 45 6e 63 4c 61 62 65 6c 3b 0a 20 20 20 20 72 65 74 75 72 6e 20 74 68 | tityPopupEncLabel;.....return.th |
667e0 | 69 73 2e 5f 69 64 65 6e 74 69 74 79 50 6f 70 75 70 45 6e 63 4c 61 62 65 6c 20 3d 0a 20 20 20 20 | is._identityPopupEncLabel.=..... |
66800 | 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 69 64 65 6e 74 | ..document.getElementById("ident |
66820 | 69 74 79 2d 70 6f 70 75 70 2d 65 6e 63 72 79 70 74 69 6f 6e 2d 6c 61 62 65 6c 22 29 3b 0a 20 20 | ity-popup-encryption-label");... |
66840 | 7d 2c 0a 20 20 67 65 74 20 5f 69 64 65 6e 74 69 74 79 49 63 6f 6e 4c 61 62 65 6c 20 28 29 20 7b | },...get._identityIconLabel.().{ |
66860 | 0a 20 20 20 20 64 65 6c 65 74 65 20 74 68 69 73 2e 5f 69 64 65 6e 74 69 74 79 49 63 6f 6e 4c 61 | .....delete.this._identityIconLa |
66880 | 62 65 6c 3b 0a 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 69 64 65 6e 74 69 74 79 49 63 | bel;.....return.this._identityIc |
668a0 | 6f 6e 4c 61 62 65 6c 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 | onLabel.=.document.getElementByI |
668c0 | 64 28 22 69 64 65 6e 74 69 74 79 2d 69 63 6f 6e 2d 6c 61 62 65 6c 22 29 3b 0a 20 20 7d 2c 0a 0a | d("identity-icon-label");...},.. |
668e0 | 20 20 2f 2a 2a 0a 20 20 20 2a 20 52 65 62 75 69 6c 64 20 63 61 63 68 65 20 6f 66 20 74 68 65 20 | ../**....*.Rebuild.cache.of.the. |
66900 | 65 6c 65 6d 65 6e 74 73 20 74 68 61 74 20 6d 61 79 20 6f 72 20 6d 61 79 20 6e 6f 74 20 65 78 69 | elements.that.may.or.may.not.exi |
66920 | 73 74 20 64 65 70 65 6e 64 69 6e 67 0a 20 20 20 2a 20 6f 6e 20 77 68 65 74 68 65 72 20 74 68 65 | st.depending....*.on.whether.the |
66940 | 72 65 27 73 20 61 20 6c 6f 63 61 74 69 6f 6e 20 62 61 72 2e 0a 20 20 20 2a 2f 0a 20 20 5f 63 61 | re's.a.location.bar.....*/..._ca |
66960 | 63 68 65 45 6c 65 6d 65 6e 74 73 20 3a 20 66 75 6e 63 74 69 6f 6e 28 29 20 7b 0a 20 20 20 20 64 | cheElements.:.function().{.....d |
66980 | 65 6c 65 74 65 20 74 68 69 73 2e 5f 69 64 65 6e 74 69 74 79 42 6f 78 3b 0a 20 20 20 20 64 65 6c | elete.this._identityBox;.....del |
669a0 | 65 74 65 20 74 68 69 73 2e 5f 69 64 65 6e 74 69 74 79 49 63 6f 6e 4c 61 62 65 6c 3b 0a 20 20 20 | ete.this._identityIconLabel;.... |
669c0 | 20 74 68 69 73 2e 5f 69 64 65 6e 74 69 74 79 42 6f 78 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 | .this._identityBox.=.document.ge |
669e0 | 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 69 64 65 6e 74 69 74 79 2d 62 6f 78 22 29 3b 0a 20 20 | tElementById("identity-box");... |
66a00 | 20 20 74 68 69 73 2e 5f 69 64 65 6e 74 69 74 79 49 63 6f 6e 4c 61 62 65 6c 20 3d 20 64 6f 63 75 | ..this._identityIconLabel.=.docu |
66a20 | 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 69 64 65 6e 74 69 74 79 2d 69 63 | ment.getElementById("identity-ic |
66a40 | 6f 6e 2d 6c 61 62 65 6c 22 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 48 61 6e | on-label");...},..../**....*.Han |
66a60 | 64 6c 65 72 20 66 6f 72 20 6d 6f 75 73 65 63 6c 69 63 6b 73 20 6f 6e 20 74 68 65 20 22 4d 6f 72 | dler.for.mouseclicks.on.the."Mor |
66a80 | 65 20 49 6e 66 6f 72 6d 61 74 69 6f 6e 22 20 62 75 74 74 6f 6e 20 69 6e 20 74 68 65 0a 20 20 20 | e.Information".button.in.the.... |
66aa0 | 2a 20 22 69 64 65 6e 74 69 74 79 2d 70 6f 70 75 70 22 20 70 61 6e 65 6c 2e 0a 20 20 20 2a 2f 0a | *."identity-popup".panel.....*/. |
66ac0 | 20 20 68 61 6e 64 6c 65 4d 6f 72 65 49 6e 66 6f 43 6c 69 63 6b 20 3a 20 66 75 6e 63 74 69 6f 6e | ..handleMoreInfoClick.:.function |
66ae0 | 28 65 76 65 6e 74 29 20 7b 0a 20 20 20 20 64 69 73 70 6c 61 79 53 65 63 75 72 69 74 79 49 6e 66 | (event).{.....displaySecurityInf |
66b00 | 6f 28 29 3b 0a 20 20 20 20 65 76 65 6e 74 2e 73 74 6f 70 50 72 6f 70 61 67 61 74 69 6f 6e 28 29 | o();.....event.stopPropagation() |
66b20 | 3b 0a 20 20 7d 2c 0a 20 20 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 48 65 6c 70 65 72 20 74 6f 20 70 | ;...},....../**....*.Helper.to.p |
66b40 | 61 72 73 65 20 6f 75 74 20 74 68 65 20 69 6d 70 6f 72 74 61 6e 74 20 70 61 72 74 73 20 6f 66 20 | arse.out.the.important.parts.of. |
66b60 | 5f 6c 61 73 74 53 74 61 74 75 73 20 28 6f 66 20 74 68 65 20 53 53 4c 20 63 65 72 74 20 69 6e 0a | _lastStatus.(of.the.SSL.cert.in. |
66b80 | 20 20 20 2a 20 70 61 72 74 69 63 75 6c 61 72 29 20 66 6f 72 20 75 73 65 20 69 6e 20 63 6f 6e 73 | ...*.particular).for.use.in.cons |
66ba0 | 74 72 75 63 74 69 6e 67 20 69 64 65 6e 74 69 74 79 20 55 49 20 73 74 72 69 6e 67 73 0a 20 20 2a | tructing.identity.UI.strings...* |
66bc0 | 2f 0a 20 20 67 65 74 49 64 65 6e 74 69 74 79 44 61 74 61 20 3a 20 66 75 6e 63 74 69 6f 6e 28 29 | /...getIdentityData.:.function() |
66be0 | 20 7b 0a 20 20 20 20 76 61 72 20 72 65 73 75 6c 74 20 3d 20 7b 7d 3b 0a 20 20 20 20 76 61 72 20 | .{.....var.result.=.{};.....var. |
66c00 | 73 74 61 74 75 73 20 3d 20 74 68 69 73 2e 5f 6c 61 73 74 53 74 61 74 75 73 2e 51 75 65 72 79 49 | status.=.this._lastStatus.QueryI |
66c20 | 6e 74 65 72 66 61 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e | nterface(Components.interfaces.n |
66c40 | 73 49 53 53 4c 53 74 61 74 75 73 29 3b 0a 20 20 20 20 76 61 72 20 63 65 72 74 20 3d 20 73 74 61 | sISSLStatus);.....var.cert.=.sta |
66c60 | 74 75 73 2e 73 65 72 76 65 72 43 65 72 74 3b 0a 20 20 20 20 0a 20 20 20 20 2f 2f 20 48 75 6d 61 | tus.serverCert;..........//.Huma |
66c80 | 6e 20 72 65 61 64 61 62 6c 65 20 6e 61 6d 65 20 6f 66 20 53 75 62 6a 65 63 74 0a 20 20 20 20 72 | n.readable.name.of.Subject.....r |
66ca0 | 65 73 75 6c 74 2e 73 75 62 6a 65 63 74 4f 72 67 20 3d 20 63 65 72 74 2e 6f 72 67 61 6e 69 7a 61 | esult.subjectOrg.=.cert.organiza |
66cc0 | 74 69 6f 6e 3b 0a 20 20 20 20 0a 20 20 20 20 2f 2f 20 53 75 62 6a 65 63 74 4e 61 6d 65 20 66 69 | tion;..........//.SubjectName.fi |
66ce0 | 65 6c 64 73 2c 20 62 72 6f 6b 65 6e 20 75 70 20 66 6f 72 20 69 6e 64 69 76 69 64 75 61 6c 20 61 | elds,.broken.up.for.individual.a |
66d00 | 63 63 65 73 73 0a 20 20 20 20 69 66 20 28 63 65 72 74 2e 73 75 62 6a 65 63 74 4e 61 6d 65 29 20 | ccess.....if.(cert.subjectName). |
66d20 | 7b 0a 20 20 20 20 20 20 72 65 73 75 6c 74 2e 73 75 62 6a 65 63 74 4e 61 6d 65 46 69 65 6c 64 73 | {.......result.subjectNameFields |
66d40 | 20 3d 20 7b 7d 3b 0a 20 20 20 20 20 20 63 65 72 74 2e 73 75 62 6a 65 63 74 4e 61 6d 65 2e 73 70 | .=.{};.......cert.subjectName.sp |
66d60 | 6c 69 74 28 22 2c 22 29 2e 66 6f 72 45 61 63 68 28 66 75 6e 63 74 69 6f 6e 28 76 29 20 7b 0a 20 | lit(",").forEach(function(v).{.. |
66d80 | 20 20 20 20 20 20 20 76 61 72 20 66 69 65 6c 64 20 3d 20 76 2e 73 70 6c 69 74 28 22 3d 22 29 3b | .......var.field.=.v.split("="); |
66da0 | 0a 20 20 20 20 20 20 20 20 74 68 69 73 5b 66 69 65 6c 64 5b 30 5d 5d 20 3d 20 66 69 65 6c 64 5b | .........this[field[0]].=.field[ |
66dc0 | 31 5d 3b 0a 20 20 20 20 20 20 7d 2c 20 72 65 73 75 6c 74 2e 73 75 62 6a 65 63 74 4e 61 6d 65 46 | 1];.......},.result.subjectNameF |
66de0 | 69 65 6c 64 73 29 3b 0a 20 20 20 20 20 20 0a 20 20 20 20 20 20 2f 2f 20 43 61 6c 6c 20 6f 75 74 | ields);..............//.Call.out |
66e00 | 20 63 69 74 79 2c 20 73 74 61 74 65 2c 20 61 6e 64 20 63 6f 75 6e 74 72 79 20 73 70 65 63 69 66 | .city,.state,.and.country.specif |
66e20 | 69 63 61 6c 6c 79 0a 20 20 20 20 20 20 72 65 73 75 6c 74 2e 63 69 74 79 20 3d 20 72 65 73 75 6c | ically.......result.city.=.resul |
66e40 | 74 2e 73 75 62 6a 65 63 74 4e 61 6d 65 46 69 65 6c 64 73 2e 4c 3b 0a 20 20 20 20 20 20 72 65 73 | t.subjectNameFields.L;.......res |
66e60 | 75 6c 74 2e 73 74 61 74 65 20 3d 20 72 65 73 75 6c 74 2e 73 75 62 6a 65 63 74 4e 61 6d 65 46 69 | ult.state.=.result.subjectNameFi |
66e80 | 65 6c 64 73 2e 53 54 3b 0a 20 20 20 20 20 20 72 65 73 75 6c 74 2e 63 6f 75 6e 74 72 79 20 3d 20 | elds.ST;.......result.country.=. |
66ea0 | 72 65 73 75 6c 74 2e 73 75 62 6a 65 63 74 4e 61 6d 65 46 69 65 6c 64 73 2e 43 3b 0a 20 20 20 20 | result.subjectNameFields.C;..... |
66ec0 | 7d 0a 20 20 20 20 0a 20 20 20 20 2f 2f 20 48 75 6d 61 6e 20 72 65 61 64 61 62 6c 65 20 6e 61 6d | }..........//.Human.readable.nam |
66ee0 | 65 20 6f 66 20 43 65 72 74 69 66 69 63 61 74 65 20 41 75 74 68 6f 72 69 74 79 0a 20 20 20 20 72 | e.of.Certificate.Authority.....r |
66f00 | 65 73 75 6c 74 2e 63 61 4f 72 67 20 3d 20 20 63 65 72 74 2e 69 73 73 75 65 72 4f 72 67 61 6e 69 | esult.caOrg.=..cert.issuerOrgani |
66f20 | 7a 61 74 69 6f 6e 20 7c 7c 20 63 65 72 74 2e 69 73 73 75 65 72 43 6f 6d 6d 6f 6e 4e 61 6d 65 3b | zation.||.cert.issuerCommonName; |
66f40 | 0a 20 20 20 20 72 65 73 75 6c 74 2e 63 65 72 74 20 3d 20 63 65 72 74 3b 0a 20 20 20 20 0a 20 20 | .....result.cert.=.cert;........ |
66f60 | 20 20 72 65 74 75 72 6e 20 72 65 73 75 6c 74 3b 0a 20 20 7d 2c 0a 20 20 0a 20 20 2f 2a 2a 0a 20 | ..return.result;...},....../**.. |
66f80 | 20 20 2a 20 44 65 74 65 72 6d 69 6e 65 20 74 68 65 20 69 64 65 6e 74 69 74 79 20 6f 66 20 74 68 | ..*.Determine.the.identity.of.th |
66fa0 | 65 20 70 61 67 65 20 62 65 69 6e 67 20 64 69 73 70 6c 61 79 65 64 20 62 79 20 65 78 61 6d 69 6e | e.page.being.displayed.by.examin |
66fc0 | 69 6e 67 20 69 74 73 20 53 53 4c 20 63 65 72 74 0a 20 20 20 2a 20 28 69 66 20 61 76 61 69 6c 61 | ing.its.SSL.cert....*.(if.availa |
66fe0 | 62 6c 65 29 20 61 6e 64 2c 20 69 66 20 6e 65 63 65 73 73 61 72 79 2c 20 75 70 64 61 74 65 20 74 | ble).and,.if.necessary,.update.t |
67000 | 68 65 20 55 49 20 74 6f 20 72 65 66 6c 65 63 74 20 74 68 69 73 2e 20 20 49 6e 74 65 6e 64 65 64 | he.UI.to.reflect.this...Intended |
67020 | 20 74 6f 0a 20 20 20 2a 20 62 65 20 63 61 6c 6c 65 64 20 62 79 20 6f 6e 53 65 63 75 72 69 74 79 | .to....*.be.called.by.onSecurity |
67040 | 43 68 61 6e 67 65 0a 20 20 20 2a 20 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 50 52 55 69 6e 74 33 | Change....*.....*.@param.PRUint3 |
67060 | 32 20 73 74 61 74 65 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 4a 53 20 4f 62 6a 65 63 74 20 6c 6f | 2.state....*.@param.JS.Object.lo |
67080 | 63 61 74 69 6f 6e 20 74 68 61 74 20 6d 69 72 72 6f 72 73 20 61 6e 20 6e 73 4c 6f 63 61 74 69 6f | cation.that.mirrors.an.nsLocatio |
670a0 | 6e 20 28 69 2e 65 2e 20 68 61 73 20 2e 68 6f 73 74 20 61 6e 64 0a 20 20 20 2a 20 20 20 20 20 20 | n.(i.e..has..host.and....*...... |
670c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 68 6f 73 74 6e 61 6d 65 20 61 | ......................hostname.a |
670e0 | 6e 64 20 2e 70 6f 72 74 29 0a 20 20 20 2a 2f 0a 20 20 63 68 65 63 6b 49 64 65 6e 74 69 74 79 20 | nd..port)....*/...checkIdentity. |
67100 | 3a 20 66 75 6e 63 74 69 6f 6e 28 73 74 61 74 65 2c 20 6c 6f 63 61 74 69 6f 6e 29 20 7b 0a 20 20 | :.function(state,.location).{... |
67120 | 20 20 76 61 72 20 63 75 72 72 65 6e 74 53 74 61 74 75 73 20 3d 20 67 42 72 6f 77 73 65 72 2e 73 | ..var.currentStatus.=.gBrowser.s |
67140 | 65 63 75 72 69 74 79 55 49 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ecurityUI....................... |
67160 | 20 20 20 20 20 20 20 20 20 20 2e 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 28 43 6f 6d 70 6f 6e | ...........QueryInterface(Compon |
67180 | 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 53 53 4c 53 74 61 74 75 73 50 72 6f 76 | ents.interfaces.nsISSLStatusProv |
671a0 | 69 64 65 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ider)........................... |
671c0 | 20 20 20 20 20 20 2e 53 53 4c 53 74 61 74 75 73 3b 0a 20 20 20 20 74 68 69 73 2e 5f 6c 61 73 74 | .......SSLStatus;.....this._last |
671e0 | 53 74 61 74 75 73 20 3d 20 63 75 72 72 65 6e 74 53 74 61 74 75 73 3b 0a 20 20 20 20 74 68 69 73 | Status.=.currentStatus;.....this |
67200 | 2e 5f 6c 61 73 74 4c 6f 63 61 74 69 6f 6e 20 3d 20 6c 6f 63 61 74 69 6f 6e 3b 0a 20 20 20 20 0a | ._lastLocation.=.location;...... |
67220 | 20 20 20 20 69 66 20 28 73 74 61 74 65 20 26 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 | ....if.(state.&.Components.inter |
67240 | 66 61 63 65 73 2e 6e 73 49 57 65 62 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 2e 53 54 41 | faces.nsIWebProgressListener.STA |
67260 | 54 45 5f 49 44 45 4e 54 49 54 59 5f 45 56 5f 54 4f 50 4c 45 56 45 4c 29 0a 20 20 20 20 20 20 74 | TE_IDENTITY_EV_TOPLEVEL).......t |
67280 | 68 69 73 2e 73 65 74 4d 6f 64 65 28 74 68 69 73 2e 49 44 45 4e 54 49 54 59 5f 4d 4f 44 45 5f 49 | his.setMode(this.IDENTITY_MODE_I |
672a0 | 44 45 4e 54 49 46 49 45 44 29 3b 0a 20 20 20 20 65 6c 73 65 20 69 66 20 28 73 74 61 74 65 20 26 | DENTIFIED);.....else.if.(state.& |
672c0 | 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 57 65 62 50 72 6f | .Components.interfaces.nsIWebPro |
672e0 | 67 72 65 73 73 4c 69 73 74 65 6e 65 72 2e 53 54 41 54 45 5f 53 45 43 55 52 45 5f 48 49 47 48 29 | gressListener.STATE_SECURE_HIGH) |
67300 | 0a 20 20 20 20 20 20 74 68 69 73 2e 73 65 74 4d 6f 64 65 28 74 68 69 73 2e 49 44 45 4e 54 49 54 | .......this.setMode(this.IDENTIT |
67320 | 59 5f 4d 4f 44 45 5f 44 4f 4d 41 49 4e 5f 56 45 52 49 46 49 45 44 29 3b 0a 20 20 20 20 65 6c 73 | Y_MODE_DOMAIN_VERIFIED);.....els |
67340 | 65 0a 20 20 20 20 20 20 74 68 69 73 2e 73 65 74 4d 6f 64 65 28 74 68 69 73 2e 49 44 45 4e 54 49 | e.......this.setMode(this.IDENTI |
67360 | 54 59 5f 4d 4f 44 45 5f 55 4e 4b 4e 4f 57 4e 29 3b 0a 20 20 7d 2c 0a 20 20 0a 20 20 2f 2a 2a 0a | TY_MODE_UNKNOWN);...},....../**. |
67380 | 20 20 20 2a 20 52 65 74 75 72 6e 20 74 68 65 20 65 54 4c 44 2b 31 20 76 65 72 73 69 6f 6e 20 6f | ...*.Return.the.eTLD+1.version.o |
673a0 | 66 20 74 68 65 20 63 75 72 72 65 6e 74 20 68 6f 73 74 6e 61 6d 65 0a 20 20 20 2a 2f 0a 20 20 67 | f.the.current.hostname....*/...g |
673c0 | 65 74 45 66 66 65 63 74 69 76 65 48 6f 73 74 20 3a 20 66 75 6e 63 74 69 6f 6e 28 29 20 7b 0a 20 | etEffectiveHost.:.function().{.. |
673e0 | 20 20 20 2f 2f 20 43 61 63 68 65 20 74 68 65 20 65 54 4c 44 53 65 72 76 69 63 65 20 69 66 20 74 | ...//.Cache.the.eTLDService.if.t |
67400 | 68 69 73 20 69 73 20 6f 75 72 20 66 69 72 73 74 20 74 69 6d 65 20 74 68 72 6f 75 67 68 0a 20 20 | his.is.our.first.time.through... |
67420 | 20 20 69 66 20 28 21 74 68 69 73 2e 5f 65 54 4c 44 53 65 72 76 69 63 65 29 0a 20 20 20 20 20 20 | ..if.(!this._eTLDService)....... |
67440 | 74 68 69 73 2e 5f 65 54 4c 44 53 65 72 76 69 63 65 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 | this._eTLDService.=.Cc["@mozilla |
67460 | 2e 6f 72 67 2f 6e 65 74 77 6f 72 6b 2f 65 66 66 65 63 74 69 76 65 2d 74 6c 64 2d 73 65 72 76 69 | .org/network/effective-tld-servi |
67480 | 63 65 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ce;1"].......................... |
674a0 | 2e 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 45 66 66 65 63 74 69 76 65 54 4c 44 53 65 | .getService(Ci.nsIEffectiveTLDSe |
674c0 | 72 76 69 63 65 29 3b 0a 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 | rvice);.....try.{.......return.t |
674e0 | 68 69 73 2e 5f 65 54 4c 44 53 65 72 76 69 63 65 2e 67 65 74 42 61 73 65 44 6f 6d 61 69 6e 46 72 | his._eTLDService.getBaseDomainFr |
67500 | 6f 6d 48 6f 73 74 28 74 68 69 73 2e 5f 6c 61 73 74 4c 6f 63 61 74 69 6f 6e 2e 68 6f 73 74 6e 61 | omHost(this._lastLocation.hostna |
67520 | 6d 65 29 3b 0a 20 20 20 20 7d 20 63 61 74 63 68 20 28 65 29 20 7b 0a 20 20 20 20 20 20 2f 2f 20 | me);.....}.catch.(e).{.......//. |
67540 | 49 66 20 73 6f 6d 65 74 68 69 6e 67 20 67 6f 65 73 20 77 72 6f 6e 67 20 28 65 2e 67 2e 20 68 6f | If.something.goes.wrong.(e.g..ho |
67560 | 73 74 6e 61 6d 65 20 69 73 20 61 6e 20 49 50 20 61 64 64 72 65 73 73 29 20 6a 75 73 74 20 66 61 | stname.is.an.IP.address).just.fa |
67580 | 69 6c 20 62 61 63 6b 0a 20 20 20 20 20 20 2f 2f 20 74 6f 20 74 68 65 20 66 75 6c 6c 20 64 6f 6d | il.back.......//.to.the.full.dom |
675a0 | 61 69 6e 2e 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 6c 61 73 74 4c 6f 63 61 | ain........return.this._lastLoca |
675c0 | 74 69 6f 6e 2e 68 6f 73 74 6e 61 6d 65 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 20 20 0a 20 20 2f | tion.hostname;.....}...},....../ |
675e0 | 2a 2a 0a 20 20 20 2a 20 55 70 64 61 74 65 20 74 68 65 20 55 49 20 74 6f 20 72 65 66 6c 65 63 74 | **....*.Update.the.UI.to.reflect |
67600 | 20 74 68 65 20 73 70 65 63 69 66 69 65 64 20 6d 6f 64 65 2c 20 77 68 69 63 68 20 73 68 6f 75 6c | .the.specified.mode,.which.shoul |
67620 | 64 20 62 65 20 6f 6e 65 20 6f 66 20 74 68 65 0a 20 20 20 2a 20 49 44 45 4e 54 49 54 59 5f 4d 4f | d.be.one.of.the....*.IDENTITY_MO |
67640 | 44 45 5f 2a 20 63 6f 6e 73 74 61 6e 74 73 2e 0a 20 20 20 2a 2f 0a 20 20 73 65 74 4d 6f 64 65 20 | DE_*.constants.....*/...setMode. |
67660 | 3a 20 66 75 6e 63 74 69 6f 6e 28 6e 65 77 4d 6f 64 65 29 20 7b 0a 20 20 20 20 69 66 20 28 21 74 | :.function(newMode).{.....if.(!t |
67680 | 68 69 73 2e 5f 69 64 65 6e 74 69 74 79 42 6f 78 29 20 7b 0a 20 20 20 20 20 20 2f 2f 20 4e 6f 20 | his._identityBox).{.......//.No. |
676a0 | 69 64 65 6e 74 69 74 79 20 62 6f 78 20 6d 65 61 6e 73 20 74 68 65 20 69 64 65 6e 74 69 74 79 20 | identity.box.means.the.identity. |
676c0 | 62 6f 78 20 69 73 20 6e 6f 74 20 76 69 73 69 62 6c 65 2c 20 69 6e 20 77 68 69 63 68 0a 20 20 20 | box.is.not.visible,.in.which.... |
676e0 | 20 20 20 2f 2f 20 63 61 73 65 20 74 68 65 72 65 27 73 20 6e 6f 74 68 69 6e 67 20 74 6f 20 64 6f | ...//.case.there's.nothing.to.do |
67700 | 2e 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 74 68 69 73 2e | ........return;.....}......this. |
67720 | 5f 69 64 65 6e 74 69 74 79 42 6f 78 2e 63 6c 61 73 73 4e 61 6d 65 20 3d 20 6e 65 77 4d 6f 64 65 | _identityBox.className.=.newMode |
67740 | 3b 0a 20 20 20 20 74 68 69 73 2e 73 65 74 49 64 65 6e 74 69 74 79 4d 65 73 73 61 67 65 73 28 6e | ;.....this.setIdentityMessages(n |
67760 | 65 77 4d 6f 64 65 29 3b 0a 20 20 20 20 0a 20 20 20 20 2f 2f 20 55 70 64 61 74 65 20 74 68 65 20 | ewMode);..........//.Update.the. |
67780 | 70 6f 70 75 70 20 74 6f 6f 2c 20 69 66 20 69 74 27 73 20 6f 70 65 6e 0a 20 20 20 20 69 66 20 28 | popup.too,.if.it's.open.....if.( |
677a0 | 74 68 69 73 2e 5f 69 64 65 6e 74 69 74 79 50 6f 70 75 70 2e 73 74 61 74 65 20 3d 3d 20 22 6f 70 | this._identityPopup.state.==."op |
677c0 | 65 6e 22 29 0a 20 20 20 20 20 20 74 68 69 73 2e 73 65 74 50 6f 70 75 70 4d 65 73 73 61 67 65 73 | en").......this.setPopupMessages |
677e0 | 28 6e 65 77 4d 6f 64 65 29 3b 0a 20 20 7d 2c 0a 20 20 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 53 65 | (newMode);...},....../**....*.Se |
67800 | 74 20 75 70 20 74 68 65 20 6d 65 73 73 61 67 65 73 20 66 6f 72 20 74 68 65 20 70 72 69 6d 61 72 | t.up.the.messages.for.the.primar |
67820 | 79 20 69 64 65 6e 74 69 74 79 20 55 49 20 62 61 73 65 64 20 6f 6e 20 74 68 65 20 73 70 65 63 69 | y.identity.UI.based.on.the.speci |
67840 | 66 69 65 64 20 6d 6f 64 65 2c 0a 20 20 20 2a 20 61 6e 64 20 74 68 65 20 64 65 74 61 69 6c 73 20 | fied.mode,....*.and.the.details. |
67860 | 6f 66 20 74 68 65 20 53 53 4c 20 63 65 72 74 2c 20 77 68 65 72 65 20 61 70 70 6c 69 63 61 62 6c | of.the.SSL.cert,.where.applicabl |
67880 | 65 0a 20 20 20 2a 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 6e 65 77 4d 6f 64 65 20 54 68 65 20 6e | e....*....*.@param.newMode.The.n |
678a0 | 65 77 6c 79 20 73 65 74 20 69 64 65 6e 74 69 74 79 20 6d 6f 64 65 2e 20 20 53 68 6f 75 6c 64 20 | ewly.set.identity.mode...Should. |
678c0 | 62 65 20 6f 6e 65 20 6f 66 20 74 68 65 20 49 44 45 4e 54 49 54 59 5f 4d 4f 44 45 5f 2a 20 63 6f | be.one.of.the.IDENTITY_MODE_*.co |
678e0 | 6e 73 74 61 6e 74 73 2e 0a 20 20 20 2a 2f 0a 20 20 73 65 74 49 64 65 6e 74 69 74 79 4d 65 73 73 | nstants.....*/...setIdentityMess |
67900 | 61 67 65 73 20 3a 20 66 75 6e 63 74 69 6f 6e 28 6e 65 77 4d 6f 64 65 29 20 7b 0a 20 20 20 20 69 | ages.:.function(newMode).{.....i |
67920 | 66 20 28 6e 65 77 4d 6f 64 65 20 3d 3d 20 74 68 69 73 2e 49 44 45 4e 54 49 54 59 5f 4d 4f 44 45 | f.(newMode.==.this.IDENTITY_MODE |
67940 | 5f 44 4f 4d 41 49 4e 5f 56 45 52 49 46 49 45 44 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 69 44 | _DOMAIN_VERIFIED).{.......var.iD |
67960 | 61 74 61 20 3d 20 74 68 69 73 2e 67 65 74 49 64 65 6e 74 69 74 79 44 61 74 61 28 29 3b 20 20 20 | ata.=.this.getIdentityData();... |
67980 | 20 20 0a 20 20 20 20 20 20 0a 20 20 20 20 20 20 2f 2f 20 49 74 20 77 6f 75 6c 64 20 62 65 20 73 | ................//.It.would.be.s |
679a0 | 6f 72 74 20 6f 66 20 6e 69 63 65 20 74 6f 20 75 73 65 20 74 68 65 20 43 4e 3d 20 66 69 65 6c 64 | ort.of.nice.to.use.the.CN=.field |
679c0 | 20 69 6e 20 74 68 65 20 63 65 72 74 2c 20 73 69 6e 63 65 20 74 68 61 74 27 73 0a 20 20 20 20 20 | .in.the.cert,.since.that's...... |
679e0 | 20 2f 2f 20 74 79 70 69 63 61 6c 6c 79 20 77 68 61 74 20 77 65 20 77 61 6e 74 20 68 65 72 65 2c | .//.typically.what.we.want.here, |
67a00 | 20 62 75 74 20 74 68 61 6e 6b 73 20 74 6f 20 78 35 30 39 20 63 65 72 74 73 20 62 65 69 6e 67 20 | .but.thanks.to.x509.certs.being. |
67a20 | 65 78 74 65 6e 73 69 62 6c 65 2c 0a 20 20 20 20 20 20 2f 2f 20 69 74 27 73 20 6e 6f 74 20 74 68 | extensible,.......//.it's.not.th |
67a40 | 65 20 6f 6e 6c 79 20 70 6c 61 63 65 20 79 6f 75 20 68 61 76 65 20 74 6f 20 63 68 65 63 6b 2c 20 | e.only.place.you.have.to.check,. |
67a60 | 74 68 65 72 65 20 63 61 6e 20 62 65 20 6d 6f 72 65 20 74 68 61 6e 20 6f 6e 65 20 64 6f 6d 61 69 | there.can.be.more.than.one.domai |
67a80 | 6e 2c 0a 20 20 20 20 20 20 2f 2f 20 65 74 20 63 65 74 65 72 61 2c 20 61 64 20 6e 61 75 73 65 75 | n,.......//.et.cetera,.ad.nauseu |
67aa0 | 6d 2e 20 20 57 65 20 6b 6e 6f 77 20 74 68 65 20 63 65 72 74 20 69 73 20 76 61 6c 69 64 20 66 6f | m...We.know.the.cert.is.valid.fo |
67ac0 | 72 20 6c 6f 63 61 74 69 6f 6e 2e 68 6f 73 74 2c 20 73 6f 0a 20 20 20 20 20 20 2f 2f 20 6c 65 74 | r.location.host,.so.......//.let |
67ae0 | 27 73 20 6a 75 73 74 20 75 73 65 20 74 68 61 74 2e 20 43 68 65 63 6b 20 74 68 65 20 70 72 65 66 | 's.just.use.that..Check.the.pref |
67b00 | 20 74 6f 20 64 65 74 65 72 6d 69 6e 65 20 68 6f 77 20 6d 75 63 68 20 6f 66 20 74 68 65 20 76 65 | .to.determine.how.much.of.the.ve |
67b20 | 72 69 66 69 65 64 0a 20 20 20 20 20 20 2f 2f 20 68 6f 73 74 6e 61 6d 65 20 74 6f 20 73 68 6f 77 | rified.......//.hostname.to.show |
67b40 | 0a 20 20 20 20 20 20 76 61 72 20 69 63 6f 6e 5f 6c 61 62 65 6c 20 3d 20 22 22 3b 0a 20 20 20 20 | .......var.icon_label.=."";..... |
67b60 | 20 20 73 77 69 74 63 68 20 28 67 50 72 65 66 53 65 72 76 69 63 65 2e 67 65 74 49 6e 74 50 72 65 | ..switch.(gPrefService.getIntPre |
67b80 | 66 28 22 62 72 6f 77 73 65 72 2e 69 64 65 6e 74 69 74 79 2e 73 73 6c 5f 64 6f 6d 61 69 6e 5f 64 | f("browser.identity.ssl_domain_d |
67ba0 | 69 73 70 6c 61 79 22 29 29 20 7b 0a 20 20 20 20 20 20 20 20 63 61 73 65 20 32 20 3a 20 2f 2f 20 | isplay")).{.........case.2.:.//. |
67bc0 | 53 68 6f 77 20 66 75 6c 6c 20 64 6f 6d 61 69 6e 0a 20 20 20 20 20 20 20 20 20 20 69 63 6f 6e 5f | Show.full.domain...........icon_ |
67be0 | 6c 61 62 65 6c 20 3d 20 74 68 69 73 2e 5f 6c 61 73 74 4c 6f 63 61 74 69 6f 6e 2e 68 6f 73 74 6e | label.=.this._lastLocation.hostn |
67c00 | 61 6d 65 3b 0a 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 20 20 63 61 | ame;...........break;.........ca |
67c20 | 73 65 20 31 20 3a 20 2f 2f 20 53 68 6f 77 20 65 54 4c 44 2e 0a 20 20 20 20 20 20 20 20 20 20 69 | se.1.:.//.Show.eTLD............i |
67c40 | 63 6f 6e 5f 6c 61 62 65 6c 20 3d 20 74 68 69 73 2e 67 65 74 45 66 66 65 63 74 69 76 65 48 6f 73 | con_label.=.this.getEffectiveHos |
67c60 | 74 28 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 0a 20 20 20 20 20 20 2f 2f 20 57 65 20 | t();.......}..............//.We. |
67c80 | 6e 65 65 64 20 61 20 70 6f 72 74 20 6e 75 6d 62 65 72 20 66 6f 72 20 61 6c 6c 20 6c 6f 6f 6b 75 | need.a.port.number.for.all.looku |
67ca0 | 70 73 2e 20 20 49 66 20 6f 6e 65 20 68 61 73 6e 27 74 20 62 65 65 6e 20 73 70 65 63 69 66 69 65 | ps...If.one.hasn't.been.specifie |
67cc0 | 64 2c 20 75 73 65 0a 20 20 20 20 20 20 2f 2f 20 74 68 65 20 68 74 74 70 73 20 64 65 66 61 75 6c | d,.use.......//.the.https.defaul |
67ce0 | 74 0a 20 20 20 20 20 20 76 61 72 20 6c 6f 6f 6b 75 70 48 6f 73 74 20 3d 20 74 68 69 73 2e 5f 6c | t.......var.lookupHost.=.this._l |
67d00 | 61 73 74 4c 6f 63 61 74 69 6f 6e 2e 68 6f 73 74 3b 0a 20 20 20 20 20 20 69 66 20 28 6c 6f 6f 6b | astLocation.host;.......if.(look |
67d20 | 75 70 48 6f 73 74 2e 69 6e 64 65 78 4f 66 28 27 3a 27 29 20 3c 20 30 29 0a 20 20 20 20 20 20 20 | upHost.indexOf(':').<.0)........ |
67d40 | 20 6c 6f 6f 6b 75 70 48 6f 73 74 20 2b 3d 20 22 3a 34 34 33 22 3b 0a 0a 20 20 20 20 20 20 2f 2f | .lookupHost.+=.":443";........// |
67d60 | 20 43 61 63 68 65 20 74 68 65 20 6f 76 65 72 72 69 64 65 20 73 65 72 76 69 63 65 20 74 68 65 20 | .Cache.the.override.service.the. |
67d80 | 66 69 72 73 74 20 74 69 6d 65 20 77 65 20 6e 65 65 64 20 74 6f 20 63 68 65 63 6b 20 69 74 0a 20 | first.time.we.need.to.check.it.. |
67da0 | 20 20 20 20 20 69 66 20 28 21 74 68 69 73 2e 5f 6f 76 65 72 72 69 64 65 53 65 72 76 69 63 65 29 | .....if.(!this._overrideService) |
67dc0 | 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 6f 76 65 72 72 69 64 65 53 65 72 76 69 63 65 20 3d | .........this._overrideService.= |
67de0 | 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 | .Components.classes["@mozilla.or |
67e00 | 67 2f 73 65 63 75 72 69 74 79 2f 63 65 72 74 6f 76 65 72 72 69 64 65 3b 31 22 5d 0a 20 20 20 20 | g/security/certoverride;1"]..... |
67e20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
67e40 | 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 | .......getService(Components.int |
67e60 | 65 72 66 61 63 65 73 2e 6e 73 49 43 65 72 74 4f 76 65 72 72 69 64 65 53 65 72 76 69 63 65 29 3b | erfaces.nsICertOverrideService); |
67e80 | 0a 0a 20 20 20 20 20 20 2f 2f 20 56 65 72 69 66 69 65 72 20 69 73 20 65 69 74 68 65 72 20 74 68 | ........//.Verifier.is.either.th |
67ea0 | 65 20 43 41 20 4f 72 67 2c 20 66 6f 72 20 61 20 6e 6f 72 6d 61 6c 20 63 65 72 74 2c 20 6f 72 20 | e.CA.Org,.for.a.normal.cert,.or. |
67ec0 | 61 20 73 70 65 63 69 61 6c 20 73 74 72 69 6e 67 0a 20 20 20 20 20 20 2f 2f 20 66 6f 72 20 63 65 | a.special.string.......//.for.ce |
67ee0 | 72 74 73 20 74 68 61 74 20 61 72 65 20 74 72 75 73 74 65 64 20 62 65 63 61 75 73 65 20 6f 66 20 | rts.that.are.trusted.because.of. |
67f00 | 61 20 73 65 63 75 72 69 74 79 20 65 78 63 65 70 74 69 6f 6e 2e 0a 20 20 20 20 20 20 76 61 72 20 | a.security.exception........var. |
67f20 | 74 6f 6f 6c 74 69 70 20 3d 20 74 68 69 73 2e 5f 73 74 72 69 6e 67 42 75 6e 64 6c 65 2e 67 65 74 | tooltip.=.this._stringBundle.get |
67f40 | 46 6f 72 6d 61 74 74 65 64 53 74 72 69 6e 67 28 22 69 64 65 6e 74 69 74 79 2e 69 64 65 6e 74 69 | FormattedString("identity.identi |
67f60 | 66 69 65 64 2e 76 65 72 69 66 69 65 72 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | fied.verifier",................. |
67f80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
67fa0 | 20 20 20 20 20 20 20 20 20 20 5b 69 44 61 74 61 2e 63 61 4f 72 67 5d 29 3b 0a 20 20 20 20 20 20 | ..........[iData.caOrg]);....... |
67fc0 | 0a 20 20 20 20 20 20 2f 2f 20 43 68 65 63 6b 20 77 68 65 74 68 65 72 20 74 68 69 73 20 73 69 74 | .......//.Check.whether.this.sit |
67fe0 | 65 20 69 73 20 61 20 73 65 63 75 72 69 74 79 20 65 78 63 65 70 74 69 6f 6e 2e 20 58 50 43 6f 6e | e.is.a.security.exception..XPCon |
68000 | 6e 65 63 74 20 64 6f 65 73 20 74 68 65 20 72 69 67 68 74 0a 20 20 20 20 20 20 2f 2f 20 74 68 69 | nect.does.the.right.......//.thi |
68020 | 6e 67 20 68 65 72 65 20 69 6e 20 74 65 72 6d 73 20 6f 66 20 63 6f 6e 76 65 72 74 69 6e 67 20 5f | ng.here.in.terms.of.converting._ |
68040 | 6c 61 73 74 4c 6f 63 61 74 69 6f 6e 2e 70 6f 72 74 20 66 72 6f 6d 20 73 74 72 69 6e 67 20 74 6f | lastLocation.port.from.string.to |
68060 | 20 69 6e 74 2c 20 62 75 74 0a 20 20 20 20 20 20 2f 2f 20 74 68 65 20 6f 76 65 72 72 69 64 65 53 | .int,.but.......//.the.overrideS |
68080 | 65 72 76 69 63 65 20 64 6f 65 73 6e 27 74 20 6c 69 6b 65 20 75 6e 64 65 66 69 6e 65 64 20 70 6f | ervice.doesn't.like.undefined.po |
680a0 | 72 74 73 2c 20 73 6f 20 6d 61 6b 65 20 73 75 72 65 20 77 65 20 68 61 76 65 0a 20 20 20 20 20 20 | rts,.so.make.sure.we.have....... |
680c0 | 2f 2f 20 73 6f 6d 65 74 68 69 6e 67 20 69 6e 20 74 68 65 20 64 65 66 61 75 6c 74 20 63 61 73 65 | //.something.in.the.default.case |
680e0 | 20 28 62 75 67 20 34 33 32 32 34 31 29 2e 0a 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 6f | .(bug.432241)........if.(this._o |
68100 | 76 65 72 72 69 64 65 53 65 72 76 69 63 65 2e 68 61 73 4d 61 74 63 68 69 6e 67 4f 76 65 72 72 69 | verrideService.hasMatchingOverri |
68120 | 64 65 28 74 68 69 73 2e 5f 6c 61 73 74 4c 6f 63 61 74 69 6f 6e 2e 68 6f 73 74 6e 61 6d 65 2c 20 | de(this._lastLocation.hostname,. |
68140 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
68160 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 74 68 69 73 2e 5f 6c 61 73 74 | .....................(this._last |
68180 | 4c 6f 63 61 74 69 6f 6e 2e 70 6f 72 74 20 7c 7c 20 34 34 33 29 2c 0a 20 20 20 20 20 20 20 20 20 | Location.port.||.443),.......... |
681a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
681c0 | 20 20 20 20 20 20 20 20 20 20 20 69 44 61 74 61 2e 63 65 72 74 2c 20 7b 7d 2c 20 7b 7d 29 29 0a | ...........iData.cert,.{},.{})). |
681e0 | 20 20 20 20 20 20 20 20 74 6f 6f 6c 74 69 70 20 3d 20 74 68 69 73 2e 5f 73 74 72 69 6e 67 42 75 | ........tooltip.=.this._stringBu |
68200 | 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 69 64 65 6e 74 69 74 79 2e 69 64 65 6e 74 69 66 | ndle.getString("identity.identif |
68220 | 69 65 64 2e 76 65 72 69 66 69 65 64 5f 62 79 5f 79 6f 75 22 29 3b 0a 20 20 20 20 7d 0a 20 20 20 | ied.verified_by_you");.....}.... |
68240 | 20 65 6c 73 65 20 69 66 20 28 6e 65 77 4d 6f 64 65 20 3d 3d 20 74 68 69 73 2e 49 44 45 4e 54 49 | .else.if.(newMode.==.this.IDENTI |
68260 | 54 59 5f 4d 4f 44 45 5f 49 44 45 4e 54 49 46 49 45 44 29 20 7b 0a 20 20 20 20 20 20 2f 2f 20 49 | TY_MODE_IDENTIFIED).{.......//.I |
68280 | 66 20 69 74 27 73 20 69 64 65 6e 74 69 66 69 65 64 2c 20 74 68 65 6e 20 77 65 20 63 61 6e 20 70 | f.it's.identified,.then.we.can.p |
682a0 | 6f 70 75 6c 61 74 65 20 74 68 65 20 64 69 61 6c 6f 67 20 77 69 74 68 20 63 72 65 64 65 6e 74 69 | opulate.the.dialog.with.credenti |
682c0 | 61 6c 73 0a 20 20 20 20 20 20 69 44 61 74 61 20 3d 20 74 68 69 73 2e 67 65 74 49 64 65 6e 74 69 | als.......iData.=.this.getIdenti |
682e0 | 74 79 44 61 74 61 28 29 3b 20 20 0a 20 20 20 20 20 20 74 6f 6f 6c 74 69 70 20 3d 20 74 68 69 73 | tyData();.........tooltip.=.this |
68300 | 2e 5f 73 74 72 69 6e 67 42 75 6e 64 6c 65 2e 67 65 74 46 6f 72 6d 61 74 74 65 64 53 74 72 69 6e | ._stringBundle.getFormattedStrin |
68320 | 67 28 22 69 64 65 6e 74 69 74 79 2e 69 64 65 6e 74 69 66 69 65 64 2e 76 65 72 69 66 69 65 72 22 | g("identity.identified.verifier" |
68340 | 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ,............................... |
68360 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 5b 69 44 61 74 61 2e 63 | ........................[iData.c |
68380 | 61 4f 72 67 5d 29 3b 0a 20 20 20 20 20 20 69 66 20 28 69 44 61 74 61 2e 63 6f 75 6e 74 72 79 29 | aOrg]);.......if.(iData.country) |
683a0 | 0a 20 20 20 20 20 20 20 20 69 63 6f 6e 5f 6c 61 62 65 6c 20 3d 20 74 68 69 73 2e 5f 73 74 72 69 | .........icon_label.=.this._stri |
683c0 | 6e 67 42 75 6e 64 6c 65 2e 67 65 74 46 6f 72 6d 61 74 74 65 64 53 74 72 69 6e 67 28 22 69 64 65 | ngBundle.getFormattedString("ide |
683e0 | 6e 74 69 74 79 2e 69 64 65 6e 74 69 66 69 65 64 2e 74 69 74 6c 65 5f 77 69 74 68 5f 63 6f 75 6e | ntity.identified.title_with_coun |
68400 | 74 72 79 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | try",........................... |
68420 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
68440 | 20 5b 69 44 61 74 61 2e 73 75 62 6a 65 63 74 4f 72 67 2c 20 69 44 61 74 61 2e 63 6f 75 6e 74 72 | .[iData.subjectOrg,.iData.countr |
68460 | 79 5d 29 3b 0a 20 20 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 20 20 69 63 6f 6e 5f 6c 61 62 | y]);.......else.........icon_lab |
68480 | 65 6c 20 3d 20 69 44 61 74 61 2e 73 75 62 6a 65 63 74 4f 72 67 3b 0a 20 20 20 20 7d 0a 20 20 20 | el.=.iData.subjectOrg;.....}.... |
684a0 | 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 74 6f 6f 6c 74 69 70 20 3d 20 74 68 69 73 2e 5f 73 74 | .else.{.......tooltip.=.this._st |
684c0 | 72 69 6e 67 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 69 64 65 6e 74 69 74 79 2e 75 | ringBundle.getString("identity.u |
684e0 | 6e 6b 6e 6f 77 6e 2e 74 6f 6f 6c 74 69 70 22 29 3b 0a 20 20 20 20 20 20 69 63 6f 6e 5f 6c 61 62 | nknown.tooltip");.......icon_lab |
68500 | 65 6c 20 3d 20 22 22 3b 0a 20 20 20 20 7d 0a 20 20 20 20 0a 20 20 20 20 2f 2f 20 50 75 73 68 20 | el.=."";.....}..........//.Push. |
68520 | 74 68 65 20 61 70 70 72 6f 70 72 69 61 74 65 20 73 74 72 69 6e 67 73 20 6f 75 74 20 74 6f 20 74 | the.appropriate.strings.out.to.t |
68540 | 68 65 20 55 49 0a 20 20 20 20 74 68 69 73 2e 5f 69 64 65 6e 74 69 74 79 42 6f 78 2e 74 6f 6f 6c | he.UI.....this._identityBox.tool |
68560 | 74 69 70 54 65 78 74 20 3d 20 74 6f 6f 6c 74 69 70 3b 0a 20 20 20 20 74 68 69 73 2e 5f 69 64 65 | tipText.=.tooltip;.....this._ide |
68580 | 6e 74 69 74 79 49 63 6f 6e 4c 61 62 65 6c 2e 76 61 6c 75 65 20 3d 20 69 63 6f 6e 5f 6c 61 62 65 | ntityIconLabel.value.=.icon_labe |
685a0 | 6c 3b 0a 20 20 7d 2c 0a 20 20 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 53 65 74 20 75 70 20 74 68 65 | l;...},....../**....*.Set.up.the |
685c0 | 20 74 69 74 6c 65 20 61 6e 64 20 63 6f 6e 74 65 6e 74 20 6d 65 73 73 61 67 65 73 20 66 6f 72 20 | .title.and.content.messages.for. |
685e0 | 74 68 65 20 69 64 65 6e 74 69 74 79 20 6d 65 73 73 61 67 65 20 70 6f 70 75 70 2c 0a 20 20 20 2a | the.identity.message.popup,....* |
68600 | 20 62 61 73 65 64 20 6f 6e 20 74 68 65 20 73 70 65 63 69 66 69 65 64 20 6d 6f 64 65 2c 20 61 6e | .based.on.the.specified.mode,.an |
68620 | 64 20 74 68 65 20 64 65 74 61 69 6c 73 20 6f 66 20 74 68 65 20 53 53 4c 20 63 65 72 74 2c 20 77 | d.the.details.of.the.SSL.cert,.w |
68640 | 68 65 72 65 0a 20 20 20 2a 20 61 70 70 6c 69 63 61 62 6c 65 0a 20 20 20 2a 0a 20 20 20 2a 20 40 | here....*.applicable....*....*.@ |
68660 | 70 61 72 61 6d 20 6e 65 77 4d 6f 64 65 20 54 68 65 20 6e 65 77 6c 79 20 73 65 74 20 69 64 65 6e | param.newMode.The.newly.set.iden |
68680 | 74 69 74 79 20 6d 6f 64 65 2e 20 20 53 68 6f 75 6c 64 20 62 65 20 6f 6e 65 20 6f 66 20 74 68 65 | tity.mode...Should.be.one.of.the |
686a0 | 20 49 44 45 4e 54 49 54 59 5f 4d 4f 44 45 5f 2a 20 63 6f 6e 73 74 61 6e 74 73 2e 0a 20 20 20 2a | .IDENTITY_MODE_*.constants.....* |
686c0 | 2f 0a 20 20 73 65 74 50 6f 70 75 70 4d 65 73 73 61 67 65 73 20 3a 20 66 75 6e 63 74 69 6f 6e 28 | /...setPopupMessages.:.function( |
686e0 | 6e 65 77 4d 6f 64 65 29 20 7b 0a 20 20 20 20 20 20 0a 20 20 20 20 74 68 69 73 2e 5f 69 64 65 6e | newMode).{............this._iden |
68700 | 74 69 74 79 50 6f 70 75 70 2e 63 6c 61 73 73 4e 61 6d 65 20 3d 20 6e 65 77 4d 6f 64 65 3b 0a 20 | tityPopup.className.=.newMode;.. |
68720 | 20 20 20 74 68 69 73 2e 5f 69 64 65 6e 74 69 74 79 50 6f 70 75 70 43 6f 6e 74 65 6e 74 42 6f 78 | ...this._identityPopupContentBox |
68740 | 2e 63 6c 61 73 73 4e 61 6d 65 20 3d 20 6e 65 77 4d 6f 64 65 3b 0a 20 20 20 20 0a 20 20 20 20 2f | .className.=.newMode;........../ |
68760 | 2f 20 53 65 74 20 74 68 65 20 73 74 61 74 69 63 20 73 74 72 69 6e 67 73 20 75 70 20 66 72 6f 6e | /.Set.the.static.strings.up.fron |
68780 | 74 0a 20 20 20 20 74 68 69 73 2e 5f 69 64 65 6e 74 69 74 79 50 6f 70 75 70 45 6e 63 4c 61 62 65 | t.....this._identityPopupEncLabe |
687a0 | 6c 2e 74 65 78 74 43 6f 6e 74 65 6e 74 20 3d 20 74 68 69 73 2e 5f 73 74 61 74 69 63 53 74 72 69 | l.textContent.=.this._staticStri |
687c0 | 6e 67 73 5b 6e 65 77 4d 6f 64 65 5d 2e 65 6e 63 72 79 70 74 69 6f 6e 5f 6c 61 62 65 6c 3b 0a 20 | ngs[newMode].encryption_label;.. |
687e0 | 20 20 20 0a 20 20 20 20 2f 2f 20 49 6e 69 74 69 61 6c 69 7a 65 20 74 68 65 20 6f 70 74 69 6f 6e | ........//.Initialize.the.option |
68800 | 61 6c 20 73 74 72 69 6e 67 73 20 74 6f 20 65 6d 70 74 79 20 76 61 6c 75 65 73 0a 20 20 20 20 76 | al.strings.to.empty.values.....v |
68820 | 61 72 20 73 75 70 70 6c 65 6d 65 6e 74 61 6c 20 3d 20 22 22 3b 0a 20 20 20 20 76 61 72 20 76 65 | ar.supplemental.=."";.....var.ve |
68840 | 72 69 66 69 65 72 20 3d 20 22 22 3b 0a 20 20 20 20 0a 20 20 20 20 69 66 20 28 6e 65 77 4d 6f 64 | rifier.=."";..........if.(newMod |
68860 | 65 20 3d 3d 20 74 68 69 73 2e 49 44 45 4e 54 49 54 59 5f 4d 4f 44 45 5f 44 4f 4d 41 49 4e 5f 56 | e.==.this.IDENTITY_MODE_DOMAIN_V |
68880 | 45 52 49 46 49 45 44 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 69 44 61 74 61 20 3d 20 74 68 69 | ERIFIED).{.......var.iData.=.thi |
688a0 | 73 2e 67 65 74 49 64 65 6e 74 69 74 79 44 61 74 61 28 29 3b 0a 20 20 20 20 20 20 76 61 72 20 68 | s.getIdentityData();.......var.h |
688c0 | 6f 73 74 20 3d 20 74 68 69 73 2e 67 65 74 45 66 66 65 63 74 69 76 65 48 6f 73 74 28 29 3b 0a 20 | ost.=.this.getEffectiveHost();.. |
688e0 | 20 20 20 20 20 76 61 72 20 6f 77 6e 65 72 20 3d 20 74 68 69 73 2e 5f 73 74 72 69 6e 67 42 75 6e | .....var.owner.=.this._stringBun |
68900 | 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 69 64 65 6e 74 69 74 79 2e 6f 77 6e 65 72 55 6e 6b | dle.getString("identity.ownerUnk |
68920 | 6e 6f 77 6e 32 22 29 3b 0a 20 20 20 20 20 20 76 65 72 69 66 69 65 72 20 3d 20 74 68 69 73 2e 5f | nown2");.......verifier.=.this._ |
68940 | 69 64 65 6e 74 69 74 79 42 6f 78 2e 74 6f 6f 6c 74 69 70 54 65 78 74 3b 0a 20 20 20 20 20 20 73 | identityBox.tooltipText;.......s |
68960 | 75 70 70 6c 65 6d 65 6e 74 61 6c 20 3d 20 22 22 3b 0a 20 20 20 20 7d 0a 20 20 20 20 65 6c 73 65 | upplemental.=."";.....}.....else |
68980 | 20 69 66 20 28 6e 65 77 4d 6f 64 65 20 3d 3d 20 74 68 69 73 2e 49 44 45 4e 54 49 54 59 5f 4d 4f | .if.(newMode.==.this.IDENTITY_MO |
689a0 | 44 45 5f 49 44 45 4e 54 49 46 49 45 44 29 20 7b 0a 20 20 20 20 20 20 2f 2f 20 49 66 20 69 74 27 | DE_IDENTIFIED).{.......//.If.it' |
689c0 | 73 20 69 64 65 6e 74 69 66 69 65 64 2c 20 74 68 65 6e 20 77 65 20 63 61 6e 20 70 6f 70 75 6c 61 | s.identified,.then.we.can.popula |
689e0 | 74 65 20 74 68 65 20 64 69 61 6c 6f 67 20 77 69 74 68 20 63 72 65 64 65 6e 74 69 61 6c 73 0a 20 | te.the.dialog.with.credentials.. |
68a00 | 20 20 20 20 20 69 44 61 74 61 20 3d 20 74 68 69 73 2e 67 65 74 49 64 65 6e 74 69 74 79 44 61 74 | .....iData.=.this.getIdentityDat |
68a20 | 61 28 29 3b 0a 20 20 20 20 20 20 68 6f 73 74 20 3d 20 74 68 69 73 2e 67 65 74 45 66 66 65 63 74 | a();.......host.=.this.getEffect |
68a40 | 69 76 65 48 6f 73 74 28 29 3b 0a 20 20 20 20 20 20 6f 77 6e 65 72 20 3d 20 69 44 61 74 61 2e 73 | iveHost();.......owner.=.iData.s |
68a60 | 75 62 6a 65 63 74 4f 72 67 3b 20 0a 20 20 20 20 20 20 76 65 72 69 66 69 65 72 20 3d 20 74 68 69 | ubjectOrg;........verifier.=.thi |
68a80 | 73 2e 5f 69 64 65 6e 74 69 74 79 42 6f 78 2e 74 6f 6f 6c 74 69 70 54 65 78 74 3b 0a 0a 20 20 20 | s._identityBox.tooltipText;..... |
68aa0 | 20 20 20 2f 2f 20 42 75 69 6c 64 20 61 6e 20 61 70 70 72 6f 70 72 69 61 74 65 20 73 75 70 70 6c | ...//.Build.an.appropriate.suppl |
68ac0 | 65 6d 65 6e 74 61 6c 20 62 6c 6f 63 6b 20 6f 75 74 20 6f 66 20 77 68 61 74 65 76 65 72 20 6c 6f | emental.block.out.of.whatever.lo |
68ae0 | 63 61 74 69 6f 6e 20 64 61 74 61 20 77 65 20 68 61 76 65 0a 20 20 20 20 20 20 69 66 20 28 69 44 | cation.data.we.have.......if.(iD |
68b00 | 61 74 61 2e 63 69 74 79 29 0a 20 20 20 20 20 20 20 20 73 75 70 70 6c 65 6d 65 6e 74 61 6c 20 2b | ata.city).........supplemental.+ |
68b20 | 3d 20 69 44 61 74 61 2e 63 69 74 79 20 2b 20 22 5c 6e 22 3b 20 20 20 20 20 20 20 20 0a 20 20 20 | =.iData.city.+."\n";............ |
68b40 | 20 20 20 69 66 20 28 69 44 61 74 61 2e 73 74 61 74 65 20 26 26 20 69 44 61 74 61 2e 63 6f 75 6e | ...if.(iData.state.&&.iData.coun |
68b60 | 74 72 79 29 0a 20 20 20 20 20 20 20 20 73 75 70 70 6c 65 6d 65 6e 74 61 6c 20 2b 3d 20 74 68 69 | try).........supplemental.+=.thi |
68b80 | 73 2e 5f 73 74 72 69 6e 67 42 75 6e 64 6c 65 2e 67 65 74 46 6f 72 6d 61 74 74 65 64 53 74 72 69 | s._stringBundle.getFormattedStri |
68ba0 | 6e 67 28 22 69 64 65 6e 74 69 74 79 2e 69 64 65 6e 74 69 66 69 65 64 2e 73 74 61 74 65 5f 61 6e | ng("identity.identified.state_an |
68bc0 | 64 5f 63 6f 75 6e 74 72 79 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | d_country",..................... |
68be0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
68c00 | 20 20 20 20 20 20 20 20 20 20 5b 69 44 61 74 61 2e 73 74 61 74 65 2c 20 69 44 61 74 61 2e 63 6f | ..........[iData.state,.iData.co |
68c20 | 75 6e 74 72 79 5d 29 3b 0a 20 20 20 20 20 20 65 6c 73 65 20 69 66 20 28 69 44 61 74 61 2e 73 74 | untry]);.......else.if.(iData.st |
68c40 | 61 74 65 29 20 2f 2f 20 53 74 61 74 65 20 6f 6e 6c 79 0a 20 20 20 20 20 20 20 20 73 75 70 70 6c | ate).//.State.only.........suppl |
68c60 | 65 6d 65 6e 74 61 6c 20 2b 3d 20 69 44 61 74 61 2e 73 74 61 74 65 3b 0a 20 20 20 20 20 20 65 6c | emental.+=.iData.state;.......el |
68c80 | 73 65 20 69 66 20 28 69 44 61 74 61 2e 63 6f 75 6e 74 72 79 29 20 2f 2f 20 43 6f 75 6e 74 72 79 | se.if.(iData.country).//.Country |
68ca0 | 20 6f 6e 6c 79 0a 20 20 20 20 20 20 20 20 73 75 70 70 6c 65 6d 65 6e 74 61 6c 20 2b 3d 20 69 44 | .only.........supplemental.+=.iD |
68cc0 | 61 74 61 2e 63 6f 75 6e 74 72 79 3b 0a 20 20 20 20 7d 0a 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 | ata.country;.....}.....else.{... |
68ce0 | 20 20 20 20 2f 2f 20 54 68 65 73 65 20 73 74 72 69 6e 67 73 20 77 69 6c 6c 20 62 65 20 68 69 64 | ....//.These.strings.will.be.hid |
68d00 | 64 65 6e 20 69 6e 20 43 53 53 20 61 6e 79 68 6f 77 0a 20 20 20 20 20 20 68 6f 73 74 20 3d 20 22 | den.in.CSS.anyhow.......host.=." |
68d20 | 22 3b 0a 20 20 20 20 20 20 6f 77 6e 65 72 20 3d 20 22 22 3b 0a 20 20 20 20 7d 0a 20 20 20 20 0a | ";.......owner.=."";.....}...... |
68d40 | 20 20 20 20 2f 2f 20 50 75 73 68 20 74 68 65 20 61 70 70 72 6f 70 72 69 61 74 65 20 73 74 72 69 | ....//.Push.the.appropriate.stri |
68d60 | 6e 67 73 20 6f 75 74 20 74 6f 20 74 68 65 20 55 49 0a 20 20 20 20 74 68 69 73 2e 5f 69 64 65 6e | ngs.out.to.the.UI.....this._iden |
68d80 | 74 69 74 79 50 6f 70 75 70 43 6f 6e 74 65 6e 74 48 6f 73 74 2e 74 65 78 74 43 6f 6e 74 65 6e 74 | tityPopupContentHost.textContent |
68da0 | 20 3d 20 68 6f 73 74 3b 0a 20 20 20 20 74 68 69 73 2e 5f 69 64 65 6e 74 69 74 79 50 6f 70 75 70 | .=.host;.....this._identityPopup |
68dc0 | 43 6f 6e 74 65 6e 74 4f 77 6e 65 72 2e 74 65 78 74 43 6f 6e 74 65 6e 74 20 3d 20 6f 77 6e 65 72 | ContentOwner.textContent.=.owner |
68de0 | 3b 0a 20 20 20 20 74 68 69 73 2e 5f 69 64 65 6e 74 69 74 79 50 6f 70 75 70 43 6f 6e 74 65 6e 74 | ;.....this._identityPopupContent |
68e00 | 53 75 70 70 2e 74 65 78 74 43 6f 6e 74 65 6e 74 20 3d 20 73 75 70 70 6c 65 6d 65 6e 74 61 6c 3b | Supp.textContent.=.supplemental; |
68e20 | 0a 20 20 20 20 74 68 69 73 2e 5f 69 64 65 6e 74 69 74 79 50 6f 70 75 70 43 6f 6e 74 65 6e 74 56 | .....this._identityPopupContentV |
68e40 | 65 72 69 66 2e 74 65 78 74 43 6f 6e 74 65 6e 74 20 3d 20 76 65 72 69 66 69 65 72 3b 0a 20 20 7d | erif.textContent.=.verifier;...} |
68e60 | 2c 0a 0a 20 20 68 69 64 65 49 64 65 6e 74 69 74 79 50 6f 70 75 70 20 3a 20 66 75 6e 63 74 69 6f | ,....hideIdentityPopup.:.functio |
68e80 | 6e 28 29 20 7b 0a 20 20 20 20 74 68 69 73 2e 5f 69 64 65 6e 74 69 74 79 50 6f 70 75 70 2e 68 69 | n().{.....this._identityPopup.hi |
68ea0 | 64 65 50 6f 70 75 70 28 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 43 6c 69 63 | dePopup();...},..../**....*.Clic |
68ec0 | 6b 20 68 61 6e 64 6c 65 72 20 66 6f 72 20 74 68 65 20 69 64 65 6e 74 69 74 79 2d 62 6f 78 20 65 | k.handler.for.the.identity-box.e |
68ee0 | 6c 65 6d 65 6e 74 20 69 6e 20 70 72 69 6d 61 72 79 20 63 68 72 6f 6d 65 2e 20 20 0a 20 20 20 2a | lement.in.primary.chrome.......* |
68f00 | 2f 0a 20 20 68 61 6e 64 6c 65 49 64 65 6e 74 69 74 79 42 75 74 74 6f 6e 45 76 65 6e 74 20 3a 20 | /...handleIdentityButtonEvent.:. |
68f20 | 66 75 6e 63 74 69 6f 6e 28 65 76 65 6e 74 29 20 7b 0a 20 20 0a 20 20 20 20 65 76 65 6e 74 2e 73 | function(event).{........event.s |
68f40 | 74 6f 70 50 72 6f 70 61 67 61 74 69 6f 6e 28 29 3b 0a 20 0a 20 20 20 20 69 66 20 28 28 65 76 65 | topPropagation();.......if.((eve |
68f60 | 6e 74 2e 74 79 70 65 20 3d 3d 20 22 63 6c 69 63 6b 22 20 26 26 20 65 76 65 6e 74 2e 62 75 74 74 | nt.type.==."click".&&.event.butt |
68f80 | 6f 6e 20 21 3d 20 30 29 20 7c 7c 0a 20 20 20 20 20 20 20 20 28 65 76 65 6e 74 2e 74 79 70 65 20 | on.!=.0).||.........(event.type. |
68fa0 | 3d 3d 20 22 6b 65 79 70 72 65 73 73 22 20 26 26 20 65 76 65 6e 74 2e 63 68 61 72 43 6f 64 65 20 | ==."keypress".&&.event.charCode. |
68fc0 | 21 3d 20 4b 65 79 45 76 65 6e 74 2e 44 4f 4d 5f 56 4b 5f 53 50 41 43 45 20 26 26 0a 20 20 20 20 | !=.KeyEvent.DOM_VK_SPACE.&&..... |
68fe0 | 20 20 20 20 20 65 76 65 6e 74 2e 6b 65 79 43 6f 64 65 20 21 3d 20 4b 65 79 45 76 65 6e 74 2e 44 | .....event.keyCode.!=.KeyEvent.D |
69000 | 4f 4d 5f 56 4b 5f 52 45 54 55 52 4e 29 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 20 2f 2f 20 | OM_VK_RETURN)).......return;.//. |
69020 | 4c 65 66 74 20 63 6c 69 63 6b 2c 20 73 70 61 63 65 20 6f 72 20 65 6e 74 65 72 20 6f 6e 6c 79 0a | Left.click,.space.or.enter.only. |
69040 | 0a 20 20 20 20 2f 2f 20 52 65 76 65 72 74 20 74 68 65 20 63 6f 6e 74 65 6e 74 73 20 6f 66 20 74 | .....//.Revert.the.contents.of.t |
69060 | 68 65 20 6c 6f 63 61 74 69 6f 6e 20 62 61 72 2c 20 73 65 65 20 62 75 67 20 34 30 36 37 37 39 0a | he.location.bar,.see.bug.406779. |
69080 | 20 20 20 20 67 55 52 4c 42 61 72 2e 68 61 6e 64 6c 65 52 65 76 65 72 74 28 29 3b 0a 0a 20 20 20 | ....gURLBar.handleRevert();..... |
690a0 | 20 2f 2f 20 4d 61 6b 65 20 73 75 72 65 20 74 68 61 74 20 74 68 65 20 64 69 73 70 6c 61 79 3a 6e | .//.Make.sure.that.the.display:n |
690c0 | 6f 6e 65 20 73 74 79 6c 65 20 77 65 20 73 65 74 20 69 6e 20 78 75 6c 20 69 73 20 72 65 6d 6f 76 | one.style.we.set.in.xul.is.remov |
690e0 | 65 64 20 6e 6f 77 20 74 68 61 74 0a 20 20 20 20 2f 2f 20 74 68 65 20 70 6f 70 75 70 20 69 73 20 | ed.now.that.....//.the.popup.is. |
69100 | 61 63 74 75 61 6c 6c 79 20 6e 65 65 64 65 64 0a 20 20 20 20 74 68 69 73 2e 5f 69 64 65 6e 74 69 | actually.needed.....this._identi |
69120 | 74 79 50 6f 70 75 70 2e 68 69 64 64 65 6e 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 0a 20 20 20 | tyPopup.hidden.=.false;......... |
69140 | 20 2f 2f 20 54 65 6c 6c 20 74 68 65 20 70 6f 70 75 70 20 74 6f 20 63 6f 6e 73 75 6d 65 20 64 69 | .//.Tell.the.popup.to.consume.di |
69160 | 73 6d 69 73 73 20 63 6c 69 63 6b 73 2c 20 74 6f 20 61 76 6f 69 64 20 62 75 67 20 33 39 35 33 31 | smiss.clicks,.to.avoid.bug.39531 |
69180 | 34 0a 20 20 20 20 74 68 69 73 2e 5f 69 64 65 6e 74 69 74 79 50 6f 70 75 70 2e 70 6f 70 75 70 42 | 4.....this._identityPopup.popupB |
691a0 | 6f 78 4f 62 6a 65 63 74 0a 20 20 20 20 20 20 20 20 2e 73 65 74 43 6f 6e 73 75 6d 65 52 6f 6c 6c | oxObject..........setConsumeRoll |
691c0 | 75 70 45 76 65 6e 74 28 43 69 2e 6e 73 49 50 6f 70 75 70 42 6f 78 4f 62 6a 65 63 74 2e 52 4f 4c | upEvent(Ci.nsIPopupBoxObject.ROL |
691e0 | 4c 55 50 5f 43 4f 4e 53 55 4d 45 29 3b 0a 20 20 20 20 0a 20 20 20 20 2f 2f 20 55 70 64 61 74 65 | LUP_CONSUME);..........//.Update |
69200 | 20 74 68 65 20 70 6f 70 75 70 20 73 74 72 69 6e 67 73 0a 20 20 20 20 74 68 69 73 2e 73 65 74 50 | .the.popup.strings.....this.setP |
69220 | 6f 70 75 70 4d 65 73 73 61 67 65 73 28 74 68 69 73 2e 5f 69 64 65 6e 74 69 74 79 42 6f 78 2e 63 | opupMessages(this._identityBox.c |
69240 | 6c 61 73 73 4e 61 6d 65 29 3b 0a 20 20 20 20 0a 20 20 20 20 2f 2f 20 4d 61 6b 65 20 73 75 72 65 | lassName);..........//.Make.sure |
69260 | 20 74 68 65 20 69 64 65 6e 74 69 74 79 20 70 6f 70 75 70 20 68 61 6e 67 73 20 74 6f 77 61 72 64 | .the.identity.popup.hangs.toward |
69280 | 20 74 68 65 20 6d 69 64 64 6c 65 20 6f 66 20 74 68 65 20 6c 6f 63 61 74 69 6f 6e 20 62 61 72 0a | .the.middle.of.the.location.bar. |
692a0 | 20 20 20 20 2f 2f 20 69 6e 20 52 54 4c 20 62 75 69 6c 64 73 0a 20 20 20 20 76 61 72 20 70 6f 73 | ....//.in.RTL.builds.....var.pos |
692c0 | 69 74 69 6f 6e 20 3d 20 27 61 66 74 65 72 5f 73 74 61 72 74 27 3b 0a 20 20 20 20 69 66 20 28 67 | ition.=.'after_start';.....if.(g |
692e0 | 55 52 4c 42 61 72 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 63 68 72 6f 6d 65 64 69 72 22 29 | URLBar.getAttribute("chromedir") |
69300 | 20 3d 3d 20 22 72 74 6c 22 29 0a 20 20 20 20 20 20 70 6f 73 69 74 69 6f 6e 20 3d 20 27 61 66 74 | .==."rtl").......position.=.'aft |
69320 | 65 72 5f 65 6e 64 27 3b 0a 0a 20 20 20 20 2f 2f 20 41 64 64 20 74 68 65 20 22 6f 70 65 6e 22 20 | er_end';......//.Add.the."open". |
69340 | 61 74 74 72 69 62 75 74 65 20 74 6f 20 74 68 65 20 69 64 65 6e 74 69 74 79 20 62 6f 78 20 66 6f | attribute.to.the.identity.box.fo |
69360 | 72 20 73 74 79 6c 69 6e 67 0a 20 20 20 20 74 68 69 73 2e 5f 69 64 65 6e 74 69 74 79 42 6f 78 2e | r.styling.....this._identityBox. |
69380 | 73 65 74 41 74 74 72 69 62 75 74 65 28 22 6f 70 65 6e 22 2c 20 22 74 72 75 65 22 29 3b 0a 20 20 | setAttribute("open",."true");... |
693a0 | 20 20 76 61 72 20 73 65 6c 66 20 3d 20 74 68 69 73 3b 0a 20 20 20 20 74 68 69 73 2e 5f 69 64 65 | ..var.self.=.this;.....this._ide |
693c0 | 6e 74 69 74 79 50 6f 70 75 70 2e 61 64 64 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 28 22 70 6f 70 | ntityPopup.addEventListener("pop |
693e0 | 75 70 68 69 64 64 65 6e 22 2c 20 66 75 6e 63 74 69 6f 6e 20 28 65 29 20 7b 0a 20 20 20 20 20 20 | uphidden",.function.(e).{....... |
69400 | 65 2e 63 75 72 72 65 6e 74 54 61 72 67 65 74 2e 72 65 6d 6f 76 65 45 76 65 6e 74 4c 69 73 74 65 | e.currentTarget.removeEventListe |
69420 | 6e 65 72 28 22 70 6f 70 75 70 68 69 64 64 65 6e 22 2c 20 61 72 67 75 6d 65 6e 74 73 2e 63 61 6c | ner("popuphidden",.arguments.cal |
69440 | 6c 65 65 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 20 20 20 73 65 6c 66 2e 5f 69 64 65 6e 74 69 74 | lee,.false);.......self._identit |
69460 | 79 42 6f 78 2e 72 65 6d 6f 76 65 41 74 74 72 69 62 75 74 65 28 22 6f 70 65 6e 22 29 3b 0a 20 20 | yBox.removeAttribute("open");... |
69480 | 20 20 7d 2c 20 66 61 6c 73 65 29 3b 0a 0a 20 20 20 20 2f 2f 20 4e 6f 77 20 6f 70 65 6e 20 74 68 | ..},.false);......//.Now.open.th |
694a0 | 65 20 70 6f 70 75 70 2c 20 61 6e 63 68 6f 72 65 64 20 6f 66 66 20 74 68 65 20 70 72 69 6d 61 72 | e.popup,.anchored.off.the.primar |
694c0 | 79 20 63 68 72 6f 6d 65 20 65 6c 65 6d 65 6e 74 0a 20 20 20 20 74 68 69 73 2e 5f 69 64 65 6e 74 | y.chrome.element.....this._ident |
694e0 | 69 74 79 50 6f 70 75 70 2e 6f 70 65 6e 50 6f 70 75 70 28 74 68 69 73 2e 5f 69 64 65 6e 74 69 74 | ityPopup.openPopup(this._identit |
69500 | 79 42 6f 78 2c 20 70 6f 73 69 74 69 6f 6e 29 3b 0a 20 20 7d 0a 7d 3b 0a 0a 6c 65 74 20 44 6f 77 | yBox,.position);...}.};..let.Dow |
69520 | 6e 6c 6f 61 64 4d 6f 6e 69 74 6f 72 50 61 6e 65 6c 20 3d 20 7b 0a 20 20 2f 2f 2f 2f 2f 2f 2f 2f | nloadMonitorPanel.=.{...//////// |
69540 | 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f | //////////////////////////////// |
69560 | 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f | //////////////////////////////// |
69580 | 2f 2f 2f 2f 2f 2f 0a 20 20 2f 2f 2f 2f 20 44 6f 77 6e 6c 6f 61 64 4d 6f 6e 69 74 6f 72 50 61 6e | //////...////.DownloadMonitorPan |
695a0 | 65 6c 20 4d 65 6d 62 65 72 20 56 61 72 69 61 62 6c 65 73 0a 0a 20 20 5f 70 61 6e 65 6c 3a 20 6e | el.Member.Variables...._panel:.n |
695c0 | 75 6c 6c 2c 0a 20 20 5f 61 63 74 69 76 65 53 74 72 3a 20 6e 75 6c 6c 2c 0a 20 20 5f 70 61 75 73 | ull,..._activeStr:.null,..._paus |
695e0 | 65 64 53 74 72 3a 20 6e 75 6c 6c 2c 0a 20 20 5f 6c 61 73 74 54 69 6d 65 3a 20 49 6e 66 69 6e 69 | edStr:.null,..._lastTime:.Infini |
69600 | 74 79 2c 0a 20 20 5f 6c 69 73 74 65 6e 69 6e 67 3a 20 66 61 6c 73 65 2c 0a 0a 20 20 2f 2f 2f 2f | ty,..._listening:.false,....//// |
69620 | 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f | //////////////////////////////// |
69640 | 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f | //////////////////////////////// |
69660 | 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 0a 20 20 2f 2f 2f 2f 20 44 6f 77 6e 6c 6f 61 64 4d 6f 6e 69 74 6f | //////////...////.DownloadMonito |
69680 | 72 50 61 6e 65 6c 20 50 75 62 6c 69 63 20 4d 65 74 68 6f 64 73 0a 0a 20 20 2f 2a 2a 0a 20 20 20 | rPanel.Public.Methods..../**.... |
696a0 | 2a 20 49 6e 69 74 69 61 6c 69 7a 65 20 74 68 65 20 73 74 61 74 75 73 20 70 61 6e 65 6c 20 61 6e | *.Initialize.the.status.panel.an |
696c0 | 64 20 6d 65 6d 62 65 72 20 76 61 72 69 61 62 6c 65 73 0a 20 20 20 2a 2f 0a 20 20 69 6e 69 74 3a | d.member.variables....*/...init: |
696e0 | 20 66 75 6e 63 74 69 6f 6e 20 44 4d 50 5f 69 6e 69 74 28 29 20 7b 0a 20 20 20 20 2f 2f 20 4c 6f | .function.DMP_init().{.....//.Lo |
69700 | 61 64 20 74 68 65 20 6d 6f 64 75 6c 65 73 20 74 6f 20 68 65 6c 70 20 64 69 73 70 6c 61 79 20 73 | ad.the.modules.to.help.display.s |
69720 | 74 72 69 6e 67 73 0a 20 20 20 20 43 75 2e 69 6d 70 6f 72 74 28 22 72 65 73 6f 75 72 63 65 3a 2f | trings.....Cu.import("resource:/ |
69740 | 2f 67 72 65 2f 6d 6f 64 75 6c 65 73 2f 44 6f 77 6e 6c 6f 61 64 55 74 69 6c 73 2e 6a 73 6d 22 29 | /gre/modules/DownloadUtils.jsm") |
69760 | 3b 0a 0a 20 20 20 20 2f 2f 20 49 6e 69 74 69 61 6c 69 7a 65 20 22 70 72 69 76 61 74 65 22 20 6d | ;......//.Initialize."private".m |
69780 | 65 6d 62 65 72 20 76 61 72 69 61 62 6c 65 73 0a 20 20 20 20 74 68 69 73 2e 5f 70 61 6e 65 6c 20 | ember.variables.....this._panel. |
697a0 | 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 64 6f 77 6e 6c | =.document.getElementById("downl |
697c0 | 6f 61 64 2d 6d 6f 6e 69 74 6f 72 22 29 3b 0a 0a 20 20 20 20 2f 2f 20 43 61 63 68 65 20 74 68 65 | oad-monitor");......//.Cache.the |
697e0 | 20 73 74 61 74 75 73 20 73 74 72 69 6e 67 73 0a 20 20 20 20 6c 65 74 20 28 62 75 6e 64 6c 65 20 | .status.strings.....let.(bundle. |
69800 | 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 62 75 6e 64 6c | =.document.getElementById("bundl |
69820 | 65 5f 62 72 6f 77 73 65 72 22 29 29 20 7b 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 61 63 74 69 76 | e_browser")).{.......this._activ |
69840 | 65 53 74 72 20 3d 20 62 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 61 63 74 69 76 65 44 | eStr.=.bundle.getString("activeD |
69860 | 6f 77 6e 6c 6f 61 64 73 22 29 3b 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 70 61 75 73 65 64 53 74 | ownloads");.......this._pausedSt |
69880 | 72 20 3d 20 62 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 70 61 75 73 65 64 44 6f 77 6e | r.=.bundle.getString("pausedDown |
698a0 | 6c 6f 61 64 73 22 29 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 67 44 6f 77 6e 6c 6f 61 64 4d 67 72 | loads");.....}......gDownloadMgr |
698c0 | 2e 61 64 64 4c 69 73 74 65 6e 65 72 28 74 68 69 73 29 3b 0a 20 20 20 20 74 68 69 73 2e 5f 6c 69 | .addListener(this);.....this._li |
698e0 | 73 74 65 6e 69 6e 67 20 3d 20 74 72 75 65 3b 0a 0a 20 20 20 20 74 68 69 73 2e 75 70 64 61 74 65 | stening.=.true;......this.update |
69900 | 53 74 61 74 75 73 28 29 3b 0a 20 20 7d 2c 0a 0a 20 20 75 6e 69 6e 69 74 3a 20 66 75 6e 63 74 69 | Status();...},....uninit:.functi |
69920 | 6f 6e 20 44 4d 50 5f 75 6e 69 6e 69 74 28 29 20 7b 0a 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f | on.DMP_uninit().{.....if.(this._ |
69940 | 6c 69 73 74 65 6e 69 6e 67 29 0a 20 20 20 20 20 20 67 44 6f 77 6e 6c 6f 61 64 4d 67 72 2e 72 65 | listening).......gDownloadMgr.re |
69960 | 6d 6f 76 65 4c 69 73 74 65 6e 65 72 28 74 68 69 73 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a | moveListener(this);...},..../**. |
69980 | 20 20 20 2a 20 55 70 64 61 74 65 20 73 74 61 74 75 73 20 62 61 73 65 64 20 6f 6e 20 74 68 65 20 | ...*.Update.status.based.on.the. |
699a0 | 6e 75 6d 62 65 72 20 6f 66 20 61 63 74 69 76 65 20 61 6e 64 20 70 61 75 73 65 64 20 64 6f 77 6e | number.of.active.and.paused.down |
699c0 | 6c 6f 61 64 73 0a 20 20 20 2a 2f 0a 20 20 75 70 64 61 74 65 53 74 61 74 75 73 3a 20 66 75 6e 63 | loads....*/...updateStatus:.func |
699e0 | 74 69 6f 6e 20 44 4d 50 5f 75 70 64 61 74 65 53 74 61 74 75 73 28 29 20 7b 0a 20 20 20 20 6c 65 | tion.DMP_updateStatus().{.....le |
69a00 | 74 20 6e 75 6d 41 63 74 69 76 65 20 3d 20 67 44 6f 77 6e 6c 6f 61 64 4d 67 72 2e 61 63 74 69 76 | t.numActive.=.gDownloadMgr.activ |
69a20 | 65 44 6f 77 6e 6c 6f 61 64 43 6f 75 6e 74 3b 0a 0a 20 20 20 20 2f 2f 20 48 69 64 65 20 74 68 65 | eDownloadCount;......//.Hide.the |
69a40 | 20 70 61 6e 65 6c 20 61 6e 64 20 72 65 73 65 74 20 74 68 65 20 22 6c 61 73 74 20 74 69 6d 65 22 | .panel.and.reset.the."last.time" |
69a60 | 20 69 66 20 74 68 65 72 65 27 73 20 6e 6f 20 64 6f 77 6e 6c 6f 61 64 73 0a 20 20 20 20 69 66 20 | .if.there's.no.downloads.....if. |
69a80 | 28 6e 75 6d 41 63 74 69 76 65 20 3d 3d 20 30 29 20 7b 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 70 | (numActive.==.0).{.......this._p |
69aa0 | 61 6e 65 6c 2e 68 69 64 64 65 6e 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 74 68 69 73 2e 5f | anel.hidden.=.true;.......this._ |
69ac0 | 6c 61 73 74 54 69 6d 65 20 3d 20 49 6e 66 69 6e 69 74 79 3b 0a 0a 20 20 20 20 20 20 72 65 74 75 | lastTime.=.Infinity;........retu |
69ae0 | 72 6e 3b 0a 20 20 20 20 7d 0a 20 20 0a 20 20 20 20 2f 2f 20 46 69 6e 64 20 74 68 65 20 64 6f 77 | rn;.....}........//.Find.the.dow |
69b00 | 6e 6c 6f 61 64 20 77 69 74 68 20 74 68 65 20 6c 6f 6e 67 65 73 74 20 72 65 6d 61 69 6e 69 6e 67 | nload.with.the.longest.remaining |
69b20 | 20 74 69 6d 65 0a 20 20 20 20 6c 65 74 20 6e 75 6d 50 61 75 73 65 64 20 3d 20 30 3b 0a 20 20 20 | .time.....let.numPaused.=.0;.... |
69b40 | 20 6c 65 74 20 6d 61 78 54 69 6d 65 20 3d 20 2d 49 6e 66 69 6e 69 74 79 3b 0a 20 20 20 20 6c 65 | .let.maxTime.=.-Infinity;.....le |
69b60 | 74 20 64 6c 73 20 3d 20 67 44 6f 77 6e 6c 6f 61 64 4d 67 72 2e 61 63 74 69 76 65 44 6f 77 6e 6c | t.dls.=.gDownloadMgr.activeDownl |
69b80 | 6f 61 64 73 3b 0a 20 20 20 20 77 68 69 6c 65 20 28 64 6c 73 2e 68 61 73 4d 6f 72 65 45 6c 65 6d | oads;.....while.(dls.hasMoreElem |
69ba0 | 65 6e 74 73 28 29 29 20 7b 0a 20 20 20 20 20 20 6c 65 74 20 64 6c 20 3d 20 64 6c 73 2e 67 65 74 | ents()).{.......let.dl.=.dls.get |
69bc0 | 4e 65 78 74 28 29 2e 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 28 43 69 2e 6e 73 49 44 6f 77 6e | Next().QueryInterface(Ci.nsIDown |
69be0 | 6c 6f 61 64 29 3b 0a 20 20 20 20 20 20 69 66 20 28 64 6c 2e 73 74 61 74 65 20 3d 3d 20 67 44 6f | load);.......if.(dl.state.==.gDo |
69c00 | 77 6e 6c 6f 61 64 4d 67 72 2e 44 4f 57 4e 4c 4f 41 44 5f 44 4f 57 4e 4c 4f 41 44 49 4e 47 29 20 | wnloadMgr.DOWNLOAD_DOWNLOADING). |
69c20 | 7b 0a 20 20 20 20 20 20 20 20 2f 2f 20 46 69 67 75 72 65 20 6f 75 74 20 69 66 20 74 68 69 73 20 | {.........//.Figure.out.if.this. |
69c40 | 64 6f 77 6e 6c 6f 61 64 20 74 61 6b 65 73 20 6c 6f 6e 67 65 72 0a 20 20 20 20 20 20 20 20 69 66 | download.takes.longer.........if |
69c60 | 20 28 64 6c 2e 73 70 65 65 64 20 3e 20 30 20 26 26 20 64 6c 2e 73 69 7a 65 20 3e 20 30 29 0a 20 | .(dl.speed.>.0.&&.dl.size.>.0).. |
69c80 | 20 20 20 20 20 20 20 20 20 6d 61 78 54 69 6d 65 20 3d 20 4d 61 74 68 2e 6d 61 78 28 6d 61 78 54 | .........maxTime.=.Math.max(maxT |
69ca0 | 69 6d 65 2c 20 28 64 6c 2e 73 69 7a 65 20 2d 20 64 6c 2e 61 6d 6f 75 6e 74 54 72 61 6e 73 66 65 | ime,.(dl.size.-.dl.amountTransfe |
69cc0 | 72 72 65 64 29 20 2f 20 64 6c 2e 73 70 65 65 64 29 3b 0a 20 20 20 20 20 20 20 20 65 6c 73 65 0a | rred)./.dl.speed);.........else. |
69ce0 | 20 20 20 20 20 20 20 20 20 20 6d 61 78 54 69 6d 65 20 3d 20 2d 31 3b 0a 20 20 20 20 20 20 7d 0a | ..........maxTime.=.-1;.......}. |
69d00 | 20 20 20 20 20 20 65 6c 73 65 20 69 66 20 28 64 6c 2e 73 74 61 74 65 20 3d 3d 20 67 44 6f 77 6e | ......else.if.(dl.state.==.gDown |
69d20 | 6c 6f 61 64 4d 67 72 2e 44 4f 57 4e 4c 4f 41 44 5f 50 41 55 53 45 44 29 0a 20 20 20 20 20 20 20 | loadMgr.DOWNLOAD_PAUSED)........ |
69d40 | 20 6e 75 6d 50 61 75 73 65 64 2b 2b 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 2f 2f 20 47 65 74 20 | .numPaused++;.....}......//.Get. |
69d60 | 74 68 65 20 72 65 6d 61 69 6e 69 6e 67 20 74 69 6d 65 20 73 74 72 69 6e 67 20 61 6e 64 20 6c 61 | the.remaining.time.string.and.la |
69d80 | 73 74 20 73 65 63 20 66 6f 72 20 74 69 6d 65 20 65 73 74 69 6d 61 74 69 6f 6e 0a 20 20 20 20 6c | st.sec.for.time.estimation.....l |
69da0 | 65 74 20 74 69 6d 65 4c 65 66 74 3b 0a 20 20 20 20 5b 74 69 6d 65 4c 65 66 74 2c 20 74 68 69 73 | et.timeLeft;.....[timeLeft,.this |
69dc0 | 2e 5f 6c 61 73 74 54 69 6d 65 5d 20 3d 20 44 6f 77 6e 6c 6f 61 64 55 74 69 6c 73 2e 67 65 74 54 | ._lastTime].=.DownloadUtils.getT |
69de0 | 69 6d 65 4c 65 66 74 28 6d 61 78 54 69 6d 65 2c 20 74 68 69 73 2e 5f 6c 61 73 74 54 69 6d 65 29 | imeLeft(maxTime,.this._lastTime) |
69e00 | 3b 0a 0a 20 20 20 20 2f 2f 20 46 69 67 75 72 65 20 6f 75 74 20 68 6f 77 20 6d 61 6e 79 20 64 6f | ;......//.Figure.out.how.many.do |
69e20 | 77 6e 6c 6f 61 64 73 20 61 72 65 20 63 75 72 72 65 6e 74 6c 79 20 64 6f 77 6e 6c 6f 61 64 69 6e | wnloads.are.currently.downloadin |
69e40 | 67 0a 20 20 20 20 6c 65 74 20 6e 75 6d 44 6c 73 20 3d 20 6e 75 6d 41 63 74 69 76 65 20 2d 20 6e | g.....let.numDls.=.numActive.-.n |
69e60 | 75 6d 50 61 75 73 65 64 3b 0a 20 20 20 20 6c 65 74 20 73 74 61 74 75 73 20 3d 20 74 68 69 73 2e | umPaused;.....let.status.=.this. |
69e80 | 5f 61 63 74 69 76 65 53 74 72 3b 0a 0a 20 20 20 20 2f 2f 20 49 66 20 61 6c 6c 20 64 6f 77 6e 6c | _activeStr;......//.If.all.downl |
69ea0 | 6f 61 64 73 20 61 72 65 20 70 61 75 73 65 64 2c 20 73 68 6f 77 20 74 68 65 20 70 61 75 73 65 64 | oads.are.paused,.show.the.paused |
69ec0 | 20 6d 65 73 73 61 67 65 20 69 6e 73 74 65 61 64 0a 20 20 20 20 69 66 20 28 6e 75 6d 44 6c 73 20 | .message.instead.....if.(numDls. |
69ee0 | 3d 3d 20 30 29 20 7b 0a 20 20 20 20 20 20 6e 75 6d 44 6c 73 20 3d 20 6e 75 6d 50 61 75 73 65 64 | ==.0).{.......numDls.=.numPaused |
69f00 | 3b 0a 20 20 20 20 20 20 73 74 61 74 75 73 20 3d 20 74 68 69 73 2e 5f 70 61 75 73 65 64 53 74 72 | ;.......status.=.this._pausedStr |
69f20 | 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 2f 2f 20 47 65 74 20 74 68 65 20 63 6f 72 72 65 63 74 20 | ;.....}......//.Get.the.correct. |
69f40 | 70 6c 75 72 61 6c 20 66 6f 72 6d 20 61 6e 64 20 69 6e 73 65 72 74 20 74 68 65 20 6e 75 6d 62 65 | plural.form.and.insert.the.numbe |
69f60 | 72 20 6f 66 20 64 6f 77 6e 6c 6f 61 64 73 20 61 6e 64 20 74 69 6d 65 0a 20 20 20 20 2f 2f 20 6c | r.of.downloads.and.time.....//.l |
69f80 | 65 66 74 20 6d 65 73 73 61 67 65 20 69 66 20 6e 65 63 65 73 73 61 72 79 0a 20 20 20 20 73 74 61 | eft.message.if.necessary.....sta |
69fa0 | 74 75 73 20 3d 20 50 6c 75 72 61 6c 46 6f 72 6d 2e 67 65 74 28 6e 75 6d 44 6c 73 2c 20 73 74 61 | tus.=.PluralForm.get(numDls,.sta |
69fc0 | 74 75 73 29 3b 0a 20 20 20 20 73 74 61 74 75 73 20 3d 20 73 74 61 74 75 73 2e 72 65 70 6c 61 63 | tus);.....status.=.status.replac |
69fe0 | 65 28 22 23 31 22 2c 20 6e 75 6d 44 6c 73 29 3b 0a 20 20 20 20 73 74 61 74 75 73 20 3d 20 73 74 | e("#1",.numDls);.....status.=.st |
6a000 | 61 74 75 73 2e 72 65 70 6c 61 63 65 28 22 23 32 22 2c 20 74 69 6d 65 4c 65 66 74 29 3b 0a 0a 20 | atus.replace("#2",.timeLeft);... |
6a020 | 20 20 20 2f 2f 20 55 70 64 61 74 65 20 74 68 65 20 70 61 6e 65 6c 20 61 6e 64 20 73 68 6f 77 20 | ...//.Update.the.panel.and.show. |
6a040 | 69 74 0a 20 20 20 20 74 68 69 73 2e 5f 70 61 6e 65 6c 2e 6c 61 62 65 6c 20 3d 20 73 74 61 74 75 | it.....this._panel.label.=.statu |
6a060 | 73 3b 0a 20 20 20 20 74 68 69 73 2e 5f 70 61 6e 65 6c 2e 68 69 64 64 65 6e 20 3d 20 66 61 6c 73 | s;.....this._panel.hidden.=.fals |
6a080 | 65 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f | e;...},....///////////////////// |
6a0a0 | 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f | //////////////////////////////// |
6a0c0 | 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 0a 20 20 2f 2f 2f 2f | /////////////////////////...//// |
6a0e0 | 20 6e 73 49 44 6f 77 6e 6c 6f 61 64 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 0a 0a 20 20 | .nsIDownloadProgressListener.... |
6a100 | 2f 2a 2a 0a 20 20 20 2a 20 55 70 64 61 74 65 20 73 74 61 74 75 73 20 66 6f 72 20 64 6f 77 6e 6c | /**....*.Update.status.for.downl |
6a120 | 6f 61 64 20 70 72 6f 67 72 65 73 73 20 63 68 61 6e 67 65 73 0a 20 20 20 2a 2f 0a 20 20 6f 6e 50 | oad.progress.changes....*/...onP |
6a140 | 72 6f 67 72 65 73 73 43 68 61 6e 67 65 3a 20 66 75 6e 63 74 69 6f 6e 28 29 20 7b 0a 20 20 20 20 | rogressChange:.function().{..... |
6a160 | 74 68 69 73 2e 75 70 64 61 74 65 53 74 61 74 75 73 28 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a | this.updateStatus();...},..../** |
6a180 | 0a 20 20 20 2a 20 55 70 64 61 74 65 20 73 74 61 74 75 73 20 66 6f 72 20 64 6f 77 6e 6c 6f 61 64 | ....*.Update.status.for.download |
6a1a0 | 20 73 74 61 74 65 20 63 68 61 6e 67 65 73 0a 20 20 20 2a 2f 0a 20 20 6f 6e 44 6f 77 6e 6c 6f 61 | .state.changes....*/...onDownloa |
6a1c0 | 64 53 74 61 74 65 43 68 61 6e 67 65 3a 20 66 75 6e 63 74 69 6f 6e 28 29 20 7b 0a 20 20 20 20 74 | dStateChange:.function().{.....t |
6a1e0 | 68 69 73 2e 75 70 64 61 74 65 53 74 61 74 75 73 28 29 3b 0a 20 20 7d 2c 0a 0a 20 20 6f 6e 53 74 | his.updateStatus();...},....onSt |
6a200 | 61 74 65 43 68 61 6e 67 65 3a 20 66 75 6e 63 74 69 6f 6e 28 61 57 65 62 50 72 6f 67 72 65 73 73 | ateChange:.function(aWebProgress |
6a220 | 2c 20 61 52 65 71 75 65 73 74 2c 20 61 53 74 61 74 65 46 6c 61 67 73 2c 20 61 53 74 61 74 75 73 | ,.aRequest,.aStateFlags,.aStatus |
6a240 | 2c 20 61 44 6f 77 6e 6c 6f 61 64 29 20 7b 0a 20 20 7d 2c 0a 0a 20 20 6f 6e 53 65 63 75 72 69 74 | ,.aDownload).{...},....onSecurit |
6a260 | 79 43 68 61 6e 67 65 3a 20 66 75 6e 63 74 69 6f 6e 28 61 57 65 62 50 72 6f 67 72 65 73 73 2c 20 | yChange:.function(aWebProgress,. |
6a280 | 61 52 65 71 75 65 73 74 2c 20 61 53 74 61 74 65 2c 20 61 44 6f 77 6e 6c 6f 61 64 29 20 7b 0a 20 | aRequest,.aState,.aDownload).{.. |
6a2a0 | 20 7d 2c 0a 0a 20 20 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f | .},....///////////////////////// |
6a2c0 | 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f | //////////////////////////////// |
6a2e0 | 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 0a 20 20 2f 2f 2f 2f 20 6e 73 49 | /////////////////////...////.nsI |
6a300 | 53 75 70 70 6f 72 74 73 0a 0a 20 20 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 3a 20 58 50 43 4f | Supports....QueryInterface:.XPCO |
6a320 | 4d 55 74 69 6c 73 2e 67 65 6e 65 72 61 74 65 51 49 28 5b 43 69 2e 6e 73 49 44 6f 77 6e 6c 6f 61 | MUtils.generateQI([Ci.nsIDownloa |
6a340 | 64 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 5d 29 2c 0a 7d 3b 0a 0a 66 75 6e 63 74 69 6f | dProgressListener]),.};..functio |
6a360 | 6e 20 67 65 74 4e 6f 74 69 66 69 63 61 74 69 6f 6e 42 6f 78 28 61 57 69 6e 64 6f 77 29 20 7b 0a | n.getNotificationBox(aWindow).{. |
6a380 | 20 20 76 61 72 20 66 6f 75 6e 64 42 72 6f 77 73 65 72 20 3d 20 67 42 72 6f 77 73 65 72 2e 67 65 | ..var.foundBrowser.=.gBrowser.ge |
6a3a0 | 74 42 72 6f 77 73 65 72 46 6f 72 44 6f 63 75 6d 65 6e 74 28 61 57 69 6e 64 6f 77 2e 64 6f 63 75 | tBrowserForDocument(aWindow.docu |
6a3c0 | 6d 65 6e 74 29 3b 0a 20 20 69 66 20 28 66 6f 75 6e 64 42 72 6f 77 73 65 72 29 0a 20 20 20 20 72 | ment);...if.(foundBrowser).....r |
6a3e0 | 65 74 75 72 6e 20 67 42 72 6f 77 73 65 72 2e 67 65 74 4e 6f 74 69 66 69 63 61 74 69 6f 6e 42 6f | eturn.gBrowser.getNotificationBo |
6a400 | 78 28 66 6f 75 6e 64 42 72 6f 77 73 65 72 29 0a 20 20 72 65 74 75 72 6e 20 6e 75 6c 6c 3b 0a 7d | x(foundBrowser)...return.null;.} |
6a420 | 3b 0a 0a 2f 2a 20 44 45 50 52 45 43 41 54 45 44 20 2a 2f 0a 66 75 6e 63 74 69 6f 6e 20 67 65 74 | ;../*.DEPRECATED.*/.function.get |
6a440 | 42 72 6f 77 73 65 72 28 29 20 67 42 72 6f 77 73 65 72 3b 0a 66 75 6e 63 74 69 6f 6e 20 67 65 74 | Browser().gBrowser;.function.get |
6a460 | 4e 61 76 54 6f 6f 6c 62 6f 78 28 29 20 67 4e 61 76 54 6f 6f 6c 62 6f 78 3b 0a 0a 6c 65 74 20 67 | NavToolbox().gNavToolbox;..let.g |
6a480 | 50 72 69 76 61 74 65 42 72 6f 77 73 69 6e 67 55 49 20 3d 20 7b 0a 20 20 5f 6f 62 73 65 72 76 65 | PrivateBrowsingUI.=.{..._observe |
6a4a0 | 72 53 65 72 76 69 63 65 3a 20 6e 75 6c 6c 2c 0a 20 20 5f 70 72 69 76 61 74 65 42 72 6f 77 73 69 | rService:.null,..._privateBrowsi |
6a4c0 | 6e 67 53 65 72 76 69 63 65 3a 20 6e 75 6c 6c 2c 0a 20 20 5f 70 72 69 76 61 74 65 42 72 6f 77 73 | ngService:.null,..._privateBrows |
6a4e0 | 69 6e 67 41 75 74 6f 53 74 61 72 74 65 64 3a 20 66 61 6c 73 65 2c 0a 0a 20 20 69 6e 69 74 3a 20 | ingAutoStarted:.false,....init:. |
6a500 | 66 75 6e 63 74 69 6f 6e 20 50 42 55 49 5f 69 6e 69 74 28 29 20 7b 0a 20 20 20 20 74 68 69 73 2e | function.PBUI_init().{.....this. |
6a520 | 5f 6f 62 73 65 72 76 65 72 53 65 72 76 69 63 65 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e | _observerService.=.Cc["@mozilla. |
6a540 | 6f 72 67 2f 6f 62 73 65 72 76 65 72 2d 73 65 72 76 69 63 65 3b 31 22 5d 2e 0a 20 20 20 20 20 20 | org/observer-service;1"]........ |
6a560 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 53 65 72 76 69 63 65 | ......................getService |
6a580 | 28 43 69 2e 6e 73 49 4f 62 73 65 72 76 65 72 53 65 72 76 69 63 65 29 3b 0a 20 20 20 20 74 68 69 | (Ci.nsIObserverService);.....thi |
6a5a0 | 73 2e 5f 6f 62 73 65 72 76 65 72 53 65 72 76 69 63 65 2e 61 64 64 4f 62 73 65 72 76 65 72 28 74 | s._observerService.addObserver(t |
6a5c0 | 68 69 73 2c 20 22 70 72 69 76 61 74 65 2d 62 72 6f 77 73 69 6e 67 22 2c 20 66 61 6c 73 65 29 3b | his,."private-browsing",.false); |
6a5e0 | 0a 0a 20 20 20 20 74 68 69 73 2e 5f 70 72 69 76 61 74 65 42 72 6f 77 73 69 6e 67 53 65 72 76 69 | ......this._privateBrowsingServi |
6a600 | 63 65 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 70 72 69 76 61 74 65 62 72 6f | ce.=.Cc["@mozilla.org/privatebro |
6a620 | 77 73 69 6e 67 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | wsing;1"]....................... |
6a640 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 50 | ..............getService(Ci.nsIP |
6a660 | 72 69 76 61 74 65 42 72 6f 77 73 69 6e 67 53 65 72 76 69 63 65 29 3b 0a 0a 20 20 20 20 69 66 20 | rivateBrowsingService);......if. |
6a680 | 28 74 68 69 73 2e 70 72 69 76 61 74 65 42 72 6f 77 73 69 6e 67 45 6e 61 62 6c 65 64 29 0a 20 20 | (this.privateBrowsingEnabled)... |
6a6a0 | 20 20 20 20 74 68 69 73 2e 6f 6e 45 6e 74 65 72 50 72 69 76 61 74 65 42 72 6f 77 73 69 6e 67 28 | ....this.onEnterPrivateBrowsing( |
6a6c0 | 29 3b 0a 20 20 7d 2c 0a 0a 20 20 75 6e 69 6e 69 74 3a 20 66 75 6e 63 74 69 6f 6e 20 50 42 55 49 | );...},....uninit:.function.PBUI |
6a6e0 | 5f 75 6e 69 6e 74 28 29 20 7b 0a 20 20 20 20 74 68 69 73 2e 5f 6f 62 73 65 72 76 65 72 53 65 72 | _unint().{.....this._observerSer |
6a700 | 76 69 63 65 2e 72 65 6d 6f 76 65 4f 62 73 65 72 76 65 72 28 74 68 69 73 2c 20 22 70 72 69 76 61 | vice.removeObserver(this,."priva |
6a720 | 74 65 2d 62 72 6f 77 73 69 6e 67 22 29 3b 0a 20 20 7d 2c 0a 0a 20 20 6f 62 73 65 72 76 65 3a 20 | te-browsing");...},....observe:. |
6a740 | 66 75 6e 63 74 69 6f 6e 20 50 42 55 49 5f 6f 62 73 65 72 76 65 28 61 53 75 62 6a 65 63 74 2c 20 | function.PBUI_observe(aSubject,. |
6a760 | 61 54 6f 70 69 63 2c 20 61 44 61 74 61 29 20 7b 0a 20 20 20 20 69 66 20 28 61 54 6f 70 69 63 20 | aTopic,.aData).{.....if.(aTopic. |
6a780 | 3d 3d 20 22 70 72 69 76 61 74 65 2d 62 72 6f 77 73 69 6e 67 22 29 20 7b 0a 20 20 20 20 20 20 69 | ==."private-browsing").{.......i |
6a7a0 | 66 20 28 61 44 61 74 61 20 3d 3d 20 22 65 6e 74 65 72 22 29 0a 20 20 20 20 20 20 20 20 74 68 69 | f.(aData.==."enter").........thi |
6a7c0 | 73 2e 6f 6e 45 6e 74 65 72 50 72 69 76 61 74 65 42 72 6f 77 73 69 6e 67 28 29 3b 0a 20 20 20 20 | s.onEnterPrivateBrowsing();..... |
6a7e0 | 20 20 65 6c 73 65 20 69 66 20 28 61 44 61 74 61 20 3d 3d 20 22 65 78 69 74 22 29 0a 20 20 20 20 | ..else.if.(aData.==."exit")..... |
6a800 | 20 20 20 20 74 68 69 73 2e 6f 6e 45 78 69 74 50 72 69 76 61 74 65 42 72 6f 77 73 69 6e 67 28 29 | ....this.onExitPrivateBrowsing() |
6a820 | 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 5f 73 68 6f 75 6c 64 45 6e 74 65 72 3a 20 66 75 | ;.....}...},...._shouldEnter:.fu |
6a840 | 6e 63 74 69 6f 6e 20 50 42 55 49 5f 5f 73 68 6f 75 6c 64 45 6e 74 65 72 28 29 20 7b 0a 20 20 20 | nction.PBUI__shouldEnter().{.... |
6a860 | 20 74 72 79 20 7b 0a 20 20 20 20 20 20 2f 2f 20 4e 65 76 65 72 20 70 72 6f 6d 70 74 20 69 66 20 | .try.{.......//.Never.prompt.if. |
6a880 | 74 68 65 20 73 65 73 73 69 6f 6e 20 69 73 20 6e 6f 74 20 67 6f 69 6e 67 20 74 6f 20 62 65 20 63 | the.session.is.not.going.to.be.c |
6a8a0 | 6c 6f 73 65 64 2c 20 6f 72 20 69 66 20 75 73 65 72 20 68 61 73 0a 20 20 20 20 20 20 2f 2f 20 61 | losed,.or.if.user.has.......//.a |
6a8c0 | 6c 72 65 61 64 79 20 72 65 71 75 65 73 74 65 64 20 6e 6f 74 20 74 6f 20 62 65 20 70 72 6f 6d 70 | lready.requested.not.to.be.promp |
6a8e0 | 74 65 64 2e 0a 20 20 20 20 20 20 69 66 20 28 67 50 72 65 66 53 65 72 76 69 63 65 2e 67 65 74 42 | ted........if.(gPrefService.getB |
6a900 | 6f 6f 6c 50 72 65 66 28 22 62 72 6f 77 73 65 72 2e 70 72 69 76 61 74 65 62 72 6f 77 73 69 6e 67 | oolPref("browser.privatebrowsing |
6a920 | 2e 64 6f 6e 74 5f 70 72 6f 6d 70 74 5f 6f 6e 5f 65 6e 74 65 72 22 29 20 7c 7c 0a 20 20 20 20 20 | .dont_prompt_on_enter").||...... |
6a940 | 20 20 20 20 20 67 50 72 65 66 53 65 72 76 69 63 65 2e 67 65 74 42 6f 6f 6c 50 72 65 66 28 22 62 | .....gPrefService.getBoolPref("b |
6a960 | 72 6f 77 73 65 72 2e 70 72 69 76 61 74 65 62 72 6f 77 73 69 6e 67 2e 6b 65 65 70 5f 63 75 72 72 | rowser.privatebrowsing.keep_curr |
6a980 | 65 6e 74 5f 73 65 73 73 69 6f 6e 22 29 29 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 72 | ent_session")).........return.tr |
6a9a0 | 75 65 3b 0a 20 20 20 20 7d 0a 20 20 20 20 63 61 74 63 68 20 28 65 78 29 20 7b 20 7d 0a 0a 20 20 | ue;.....}.....catch.(ex).{.}.... |
6a9c0 | 20 20 76 61 72 20 62 75 6e 64 6c 65 53 65 72 76 69 63 65 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c | ..var.bundleService.=.Cc["@mozil |
6a9e0 | 6c 61 2e 6f 72 67 2f 69 6e 74 6c 2f 73 74 72 69 6e 67 62 75 6e 64 6c 65 3b 31 22 5d 2e 0a 20 20 | la.org/intl/stringbundle;1"].... |
6aa00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 53 65 72 76 69 63 65 | ......................getService |
6aa20 | 28 43 69 2e 6e 73 49 53 74 72 69 6e 67 42 75 6e 64 6c 65 53 65 72 76 69 63 65 29 3b 0a 20 20 20 | (Ci.nsIStringBundleService);.... |
6aa40 | 20 76 61 72 20 70 62 42 75 6e 64 6c 65 20 3d 20 62 75 6e 64 6c 65 53 65 72 76 69 63 65 2e 63 72 | .var.pbBundle.=.bundleService.cr |
6aa60 | 65 61 74 65 42 75 6e 64 6c 65 28 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 6c 6f 63 | eateBundle("chrome://browser/loc |
6aa80 | 61 6c 65 2f 62 72 6f 77 73 65 72 2e 70 72 6f 70 65 72 74 69 65 73 22 29 3b 0a 20 20 20 20 76 61 | ale/browser.properties");.....va |
6aaa0 | 72 20 62 72 61 6e 64 42 75 6e 64 6c 65 20 3d 20 62 75 6e 64 6c 65 53 65 72 76 69 63 65 2e 63 72 | r.brandBundle.=.bundleService.cr |
6aac0 | 65 61 74 65 42 75 6e 64 6c 65 28 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 61 6e 64 69 6e 67 2f 6c 6f | eateBundle("chrome://branding/lo |
6aae0 | 63 61 6c 65 2f 62 72 61 6e 64 2e 70 72 6f 70 65 72 74 69 65 73 22 29 3b 0a 0a 20 20 20 20 76 61 | cale/brand.properties");......va |
6ab00 | 72 20 61 70 70 4e 61 6d 65 20 3d 20 62 72 61 6e 64 42 75 6e 64 6c 65 2e 47 65 74 53 74 72 69 6e | r.appName.=.brandBundle.GetStrin |
6ab20 | 67 46 72 6f 6d 4e 61 6d 65 28 22 62 72 61 6e 64 53 68 6f 72 74 4e 61 6d 65 22 29 3b 0a 2f 2f 40 | gFromName("brandShortName");.//@ |
6ab40 | 6c 69 6e 65 20 37 30 36 31 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 | line.7061."/builds/moz2_slave/li |
6ab60 | 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 62 61 73 65 2f 63 6f 6e | nux_build/build/browser/base/con |
6ab80 | 74 65 6e 74 2f 62 72 6f 77 73 65 72 2e 6a 73 22 0a 20 20 20 20 76 61 72 20 64 69 61 6c 6f 67 54 | tent/browser.js".....var.dialogT |
6aba0 | 69 74 6c 65 20 3d 20 70 62 42 75 6e 64 6c 65 2e 47 65 74 53 74 72 69 6e 67 46 72 6f 6d 4e 61 6d | itle.=.pbBundle.GetStringFromNam |
6abc0 | 65 28 22 70 72 69 76 61 74 65 42 72 6f 77 73 69 6e 67 44 69 61 6c 6f 67 54 69 74 6c 65 22 29 3b | e("privateBrowsingDialogTitle"); |
6abe0 | 0a 20 20 20 20 76 61 72 20 68 65 61 64 65 72 20 3d 20 70 62 42 75 6e 64 6c 65 2e 47 65 74 53 74 | .....var.header.=.pbBundle.GetSt |
6ac00 | 72 69 6e 67 46 72 6f 6d 4e 61 6d 65 28 22 70 72 69 76 61 74 65 42 72 6f 77 73 69 6e 67 4d 65 73 | ringFromName("privateBrowsingMes |
6ac20 | 73 61 67 65 48 65 61 64 65 72 22 29 20 2b 20 22 5c 6e 5c 6e 22 3b 0a 2f 2f 40 6c 69 6e 65 20 37 | sageHeader").+."\n\n";.//@line.7 |
6ac40 | 30 36 34 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 | 064."/builds/moz2_slave/linux_bu |
6ac60 | 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 62 61 73 65 2f 63 6f 6e 74 65 6e 74 2f 62 | ild/build/browser/base/content/b |
6ac80 | 72 6f 77 73 65 72 2e 6a 73 22 0a 20 20 20 20 76 61 72 20 6d 65 73 73 61 67 65 20 3d 20 70 62 42 | rowser.js".....var.message.=.pbB |
6aca0 | 75 6e 64 6c 65 2e 66 6f 72 6d 61 74 53 74 72 69 6e 67 46 72 6f 6d 4e 61 6d 65 28 22 70 72 69 76 | undle.formatStringFromName("priv |
6acc0 | 61 74 65 42 72 6f 77 73 69 6e 67 4d 65 73 73 61 67 65 22 2c 20 5b 61 70 70 4e 61 6d 65 5d 2c 20 | ateBrowsingMessage",.[appName],. |
6ace0 | 31 29 3b 0a 0a 20 20 20 20 76 61 72 20 70 72 6f 6d 70 74 53 65 72 76 69 63 65 20 3d 20 43 63 5b | 1);......var.promptService.=.Cc[ |
6ad00 | 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 65 6d 62 65 64 63 6f 6d 70 2f 70 72 6f 6d 70 74 2d 73 | "@mozilla.org/embedcomp/prompt-s |
6ad20 | 65 72 76 69 63 65 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ervice;1"]...................... |
6ad40 | 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 50 72 6f 6d 70 74 53 65 72 76 69 | ....getService(Ci.nsIPromptServi |
6ad60 | 63 65 29 3b 0a 0a 20 20 20 20 76 61 72 20 66 6c 61 67 73 20 3d 20 70 72 6f 6d 70 74 53 65 72 76 | ce);......var.flags.=.promptServ |
6ad80 | 69 63 65 2e 42 55 54 54 4f 4e 5f 54 49 54 4c 45 5f 49 53 5f 53 54 52 49 4e 47 20 2a 20 70 72 6f | ice.BUTTON_TITLE_IS_STRING.*.pro |
6ada0 | 6d 70 74 53 65 72 76 69 63 65 2e 42 55 54 54 4f 4e 5f 50 4f 53 5f 30 20 2b 0a 20 20 20 20 20 20 | mptService.BUTTON_POS_0.+....... |
6adc0 | 20 20 20 20 20 20 20 20 20 20 70 72 6f 6d 70 74 53 65 72 76 69 63 65 2e 42 55 54 54 4f 4e 5f 54 | ..........promptService.BUTTON_T |
6ade0 | 49 54 4c 45 5f 49 53 5f 53 54 52 49 4e 47 20 2a 20 70 72 6f 6d 70 74 53 65 72 76 69 63 65 2e 42 | ITLE_IS_STRING.*.promptService.B |
6ae00 | 55 54 54 4f 4e 5f 50 4f 53 5f 31 20 2b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 | UTTON_POS_1.+.................pr |
6ae20 | 6f 6d 70 74 53 65 72 76 69 63 65 2e 42 55 54 54 4f 4e 5f 50 4f 53 5f 30 5f 44 45 46 41 55 4c 54 | omptService.BUTTON_POS_0_DEFAULT |
6ae40 | 3b 0a 0a 20 20 20 20 76 61 72 20 6e 65 76 65 72 41 73 6b 20 3d 20 7b 76 61 6c 75 65 3a 66 61 6c | ;......var.neverAsk.=.{value:fal |
6ae60 | 73 65 7d 3b 0a 20 20 20 20 76 61 72 20 62 75 74 74 6f 6e 30 54 69 74 6c 65 20 3d 20 70 62 42 75 | se};.....var.button0Title.=.pbBu |
6ae80 | 6e 64 6c 65 2e 47 65 74 53 74 72 69 6e 67 46 72 6f 6d 4e 61 6d 65 28 22 70 72 69 76 61 74 65 42 | ndle.GetStringFromName("privateB |
6aea0 | 72 6f 77 73 69 6e 67 59 65 73 54 69 74 6c 65 22 29 3b 0a 20 20 20 20 76 61 72 20 62 75 74 74 6f | rowsingYesTitle");.....var.butto |
6aec0 | 6e 31 54 69 74 6c 65 20 3d 20 70 62 42 75 6e 64 6c 65 2e 47 65 74 53 74 72 69 6e 67 46 72 6f 6d | n1Title.=.pbBundle.GetStringFrom |
6aee0 | 4e 61 6d 65 28 22 70 72 69 76 61 74 65 42 72 6f 77 73 69 6e 67 4e 6f 54 69 74 6c 65 22 29 3b 0a | Name("privateBrowsingNoTitle");. |
6af00 | 20 20 20 20 76 61 72 20 6e 65 76 65 72 41 73 6b 54 65 78 74 20 3d 20 70 62 42 75 6e 64 6c 65 2e | ....var.neverAskText.=.pbBundle. |
6af20 | 47 65 74 53 74 72 69 6e 67 46 72 6f 6d 4e 61 6d 65 28 22 70 72 69 76 61 74 65 42 72 6f 77 73 69 | GetStringFromName("privateBrowsi |
6af40 | 6e 67 4e 65 76 65 72 41 73 6b 22 29 3b 0a 0a 20 20 20 20 76 61 72 20 72 65 73 75 6c 74 3b 0a 20 | ngNeverAsk");......var.result;.. |
6af60 | 20 20 20 76 61 72 20 63 68 6f 69 63 65 20 3d 20 70 72 6f 6d 70 74 53 65 72 76 69 63 65 2e 63 6f | ...var.choice.=.promptService.co |
6af80 | 6e 66 69 72 6d 45 78 28 6e 75 6c 6c 2c 20 64 69 61 6c 6f 67 54 69 74 6c 65 2c 20 68 65 61 64 65 | nfirmEx(null,.dialogTitle,.heade |
6afa0 | 72 20 2b 20 6d 65 73 73 61 67 65 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | r.+.message,.................... |
6afc0 | 20 20 20 20 20 20 20 20 20 20 20 20 66 6c 61 67 73 2c 20 62 75 74 74 6f 6e 30 54 69 74 6c 65 2c | ............flags,.button0Title, |
6afe0 | 20 62 75 74 74 6f 6e 31 54 69 74 6c 65 2c 20 6e 75 6c 6c 2c 0a 20 20 20 20 20 20 20 20 20 20 20 | .button1Title,.null,............ |
6b000 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 65 76 65 72 41 73 6b 54 65 78 74 | ....................neverAskText |
6b020 | 2c 20 6e 65 76 65 72 41 73 6b 29 3b 0a 0a 20 20 20 20 73 77 69 74 63 68 20 28 63 68 6f 69 63 65 | ,.neverAsk);......switch.(choice |
6b040 | 29 20 7b 0a 20 20 20 20 63 61 73 65 20 30 3a 20 2f 2f 20 53 74 61 72 74 20 50 72 69 76 61 74 65 | ).{.....case.0:.//.Start.Private |
6b060 | 20 42 72 6f 77 73 69 6e 67 0a 20 20 20 20 20 20 72 65 73 75 6c 74 20 3d 20 74 72 75 65 3b 0a 20 | .Browsing.......result.=.true;.. |
6b080 | 20 20 20 20 20 69 66 20 28 6e 65 76 65 72 41 73 6b 2e 76 61 6c 75 65 29 0a 20 20 20 20 20 20 20 | .....if.(neverAsk.value)........ |
6b0a0 | 20 67 50 72 65 66 53 65 72 76 69 63 65 2e 73 65 74 42 6f 6f 6c 50 72 65 66 28 22 62 72 6f 77 73 | .gPrefService.setBoolPref("brows |
6b0c0 | 65 72 2e 70 72 69 76 61 74 65 62 72 6f 77 73 69 6e 67 2e 64 6f 6e 74 5f 70 72 6f 6d 70 74 5f 6f | er.privatebrowsing.dont_prompt_o |
6b0e0 | 6e 5f 65 6e 74 65 72 22 2c 20 74 72 75 65 29 3b 0a 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 | n_enter",.true);.......break;... |
6b100 | 20 20 63 61 73 65 20 31 3a 20 2f 2f 20 4b 65 65 70 0a 20 20 20 20 20 20 72 65 73 75 6c 74 20 3d | ..case.1:.//.Keep.......result.= |
6b120 | 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 | .false;.......break;.....}...... |
6b140 | 72 65 74 75 72 6e 20 72 65 73 75 6c 74 3b 0a 20 20 7d 2c 0a 0a 20 20 6f 6e 45 6e 74 65 72 50 72 | return.result;...},....onEnterPr |
6b160 | 69 76 61 74 65 42 72 6f 77 73 69 6e 67 3a 20 66 75 6e 63 74 69 6f 6e 20 50 42 55 49 5f 6f 6e 45 | ivateBrowsing:.function.PBUI_onE |
6b180 | 6e 74 65 72 50 72 69 76 61 74 65 42 72 6f 77 73 69 6e 67 28 29 20 7b 0a 20 20 20 20 74 68 69 73 | nterPrivateBrowsing().{.....this |
6b1a0 | 2e 5f 73 65 74 50 42 4d 65 6e 75 54 69 74 6c 65 28 22 73 74 6f 70 22 29 3b 0a 0a 20 20 20 20 64 | ._setPBMenuTitle("stop");......d |
6b1c0 | 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 6d 65 6e 75 5f 69 6d 70 | ocument.getElementById("menu_imp |
6b1e0 | 6f 72 74 22 29 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 64 69 73 61 62 6c 65 64 22 2c 20 22 | ort").setAttribute("disabled",." |
6b200 | 74 72 75 65 22 29 3b 0a 20 20 20 20 0a 20 20 20 20 2f 2f 20 44 69 73 61 62 6c 65 20 74 68 65 20 | true");..........//.Disable.the. |
6b220 | 43 6c 65 61 72 20 52 65 63 65 6e 74 20 48 69 73 74 6f 72 79 2e 2e 2e 20 6d 65 6e 75 20 69 74 65 | Clear.Recent.History....menu.ite |
6b240 | 6d 20 77 68 65 6e 20 69 6e 20 50 42 20 6d 6f 64 65 0a 20 20 20 20 2f 2f 20 31 2e 39 2e 31 20 62 | m.when.in.PB.mode.....//.1.9.1.b |
6b260 | 72 61 6e 63 68 20 6f 6e 6c 79 20 28 62 75 67 20 34 38 30 32 36 30 29 0a 20 20 20 20 64 6f 63 75 | ranch.only.(bug.480260).....docu |
6b280 | 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 54 6f 6f 6c 73 3a 53 61 6e 69 74 | ment.getElementById("Tools:Sanit |
6b2a0 | 69 7a 65 22 29 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 64 69 73 61 62 6c 65 64 22 2c 20 22 | ize").setAttribute("disabled",." |
6b2c0 | 74 72 75 65 22 29 3b 0a 0a 20 20 20 20 74 68 69 73 2e 5f 70 72 69 76 61 74 65 42 72 6f 77 73 69 | true");......this._privateBrowsi |
6b2e0 | 6e 67 41 75 74 6f 53 74 61 72 74 65 64 20 3d 20 74 68 69 73 2e 5f 70 72 69 76 61 74 65 42 72 6f | ngAutoStarted.=.this._privateBro |
6b300 | 77 73 69 6e 67 53 65 72 76 69 63 65 2e 61 75 74 6f 53 74 61 72 74 65 64 3b 0a 0a 20 20 20 20 69 | wsingService.autoStarted;......i |
6b320 | 66 20 28 74 68 69 73 2e 5f 70 72 69 76 61 74 65 42 72 6f 77 73 69 6e 67 41 75 74 6f 53 74 61 72 | f.(this._privateBrowsingAutoStar |
6b340 | 74 65 64 29 20 7b 0a 20 20 20 20 20 20 2f 2f 20 44 69 73 61 62 6c 65 20 74 68 65 20 6d 65 6e 75 | ted).{.......//.Disable.the.menu |
6b360 | 20 69 74 65 6d 20 69 6e 20 61 75 74 6f 2d 73 74 61 72 74 20 6d 6f 64 65 0a 20 20 20 20 20 20 64 | .item.in.auto-start.mode.......d |
6b380 | 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 70 72 69 76 61 74 65 42 | ocument.getElementById("privateB |
6b3a0 | 72 6f 77 73 69 6e 67 49 74 65 6d 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 73 65 74 | rowsingItem")................set |
6b3c0 | 41 74 74 72 69 62 75 74 65 28 22 64 69 73 61 62 6c 65 64 22 2c 20 22 74 72 75 65 22 29 3b 0a 20 | Attribute("disabled",."true");.. |
6b3e0 | 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 54 6f | .....document.getElementById("To |
6b400 | 6f 6c 73 3a 50 72 69 76 61 74 65 42 72 6f 77 73 69 6e 67 22 29 0a 20 20 20 20 20 20 20 20 20 20 | ols:PrivateBrowsing")........... |
6b420 | 20 20 20 20 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 64 69 73 61 62 6c 65 64 22 2c 20 22 74 | .....setAttribute("disabled",."t |
6b440 | 72 75 65 22 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 65 6c 73 65 20 69 66 20 28 77 69 6e 64 6f 77 | rue");.....}.....else.if.(window |
6b460 | 2e 6c 6f 63 61 74 69 6f 6e 2e 68 72 65 66 20 3d 3d 20 67 65 74 42 72 6f 77 73 65 72 55 52 4c 28 | .location.href.==.getBrowserURL( |
6b480 | 29 29 20 7b 0a 20 20 20 20 20 20 2f 2f 20 41 64 6a 75 73 74 20 74 68 65 20 77 69 6e 64 6f 77 27 | )).{.......//.Adjust.the.window' |
6b4a0 | 73 20 74 69 74 6c 65 0a 20 20 20 20 20 20 6c 65 74 20 64 6f 63 45 6c 65 6d 65 6e 74 20 3d 20 64 | s.title.......let.docElement.=.d |
6b4c0 | 6f 63 75 6d 65 6e 74 2e 64 6f 63 75 6d 65 6e 74 45 6c 65 6d 65 6e 74 3b 0a 20 20 20 20 20 20 64 | ocument.documentElement;.......d |
6b4e0 | 6f 63 45 6c 65 6d 65 6e 74 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 74 69 74 6c 65 22 2c 0a | ocElement.setAttribute("title",. |
6b500 | 20 20 20 20 20 20 20 20 64 6f 63 45 6c 65 6d 65 6e 74 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 | ........docElement.getAttribute( |
6b520 | 22 74 69 74 6c 65 5f 70 72 69 76 61 74 65 62 72 6f 77 73 69 6e 67 22 29 29 3b 0a 20 20 20 20 20 | "title_privatebrowsing"));...... |
6b540 | 20 64 6f 63 45 6c 65 6d 65 6e 74 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 74 69 74 6c 65 6d | .docElement.setAttribute("titlem |
6b560 | 6f 64 69 66 69 65 72 22 2c 0a 20 20 20 20 20 20 20 20 64 6f 63 45 6c 65 6d 65 6e 74 2e 67 65 74 | odifier",.........docElement.get |
6b580 | 41 74 74 72 69 62 75 74 65 28 22 74 69 74 6c 65 6d 6f 64 69 66 69 65 72 5f 70 72 69 76 61 74 65 | Attribute("titlemodifier_private |
6b5a0 | 62 72 6f 77 73 69 6e 67 22 29 29 3b 0a 20 20 20 20 20 20 64 6f 63 45 6c 65 6d 65 6e 74 2e 73 65 | browsing"));.......docElement.se |
6b5c0 | 74 41 74 74 72 69 62 75 74 65 28 22 62 72 6f 77 73 69 6e 67 6d 6f 64 65 22 2c 20 22 70 72 69 76 | tAttribute("browsingmode",."priv |
6b5e0 | 61 74 65 22 29 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 6f 6e 45 78 69 74 50 72 69 76 61 | ate");.....}...},....onExitPriva |
6b600 | 74 65 42 72 6f 77 73 69 6e 67 3a 20 66 75 6e 63 74 69 6f 6e 20 50 42 55 49 5f 6f 6e 45 78 69 74 | teBrowsing:.function.PBUI_onExit |
6b620 | 50 72 69 76 61 74 65 42 72 6f 77 73 69 6e 67 28 29 20 7b 0a 20 20 20 20 69 66 20 28 42 72 6f 77 | PrivateBrowsing().{.....if.(Brow |
6b640 | 73 65 72 53 65 61 72 63 68 2e 73 65 61 72 63 68 42 61 72 29 0a 20 20 20 20 20 20 42 72 6f 77 73 | serSearch.searchBar).......Brows |
6b660 | 65 72 53 65 61 72 63 68 2e 73 65 61 72 63 68 42 61 72 2e 74 65 78 74 62 6f 78 2e 72 65 73 65 74 | erSearch.searchBar.textbox.reset |
6b680 | 28 29 3b 0a 0a 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 | ();......document.getElementById |
6b6a0 | 28 22 6d 65 6e 75 5f 69 6d 70 6f 72 74 22 29 2e 72 65 6d 6f 76 65 41 74 74 72 69 62 75 74 65 28 | ("menu_import").removeAttribute( |
6b6c0 | 22 64 69 73 61 62 6c 65 64 22 29 3b 0a 0a 20 20 20 20 2f 2f 20 52 65 2d 65 6e 61 62 6c 65 20 74 | "disabled");......//.Re-enable.t |
6b6e0 | 68 65 20 43 6c 65 61 72 20 52 65 63 65 6e 74 20 48 69 73 74 6f 72 79 2e 2e 2e 20 6d 65 6e 75 20 | he.Clear.Recent.History....menu. |
6b700 | 69 74 65 6d 20 6f 6e 20 65 78 69 74 20 6f 66 20 50 42 20 6d 6f 64 65 0a 20 20 20 20 2f 2f 20 31 | item.on.exit.of.PB.mode.....//.1 |
6b720 | 2e 39 2e 31 20 62 72 61 6e 63 68 20 6f 6e 6c 79 20 28 62 75 67 20 34 38 30 32 36 30 29 0a 20 20 | .9.1.branch.only.(bug.480260)... |
6b740 | 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 54 6f 6f 6c 73 | ..document.getElementById("Tools |
6b760 | 3a 53 61 6e 69 74 69 7a 65 22 29 2e 72 65 6d 6f 76 65 41 74 74 72 69 62 75 74 65 28 22 64 69 73 | :Sanitize").removeAttribute("dis |
6b780 | 61 62 6c 65 64 22 29 3b 0a 0a 20 20 20 20 69 66 20 28 67 46 69 6e 64 42 61 72 29 0a 20 20 20 20 | abled");......if.(gFindBar)..... |
6b7a0 | 20 20 67 46 69 6e 64 42 61 72 2e 67 65 74 45 6c 65 6d 65 6e 74 28 22 66 69 6e 64 62 61 72 2d 74 | ..gFindBar.getElement("findbar-t |
6b7c0 | 65 78 74 62 6f 78 22 29 2e 72 65 73 65 74 28 29 3b 0a 0a 20 20 20 20 74 68 69 73 2e 5f 73 65 74 | extbox").reset();......this._set |
6b7e0 | 50 42 4d 65 6e 75 54 69 74 6c 65 28 22 73 74 61 72 74 22 29 3b 0a 0a 20 20 20 20 69 66 20 28 77 | PBMenuTitle("start");......if.(w |
6b800 | 69 6e 64 6f 77 2e 6c 6f 63 61 74 69 6f 6e 2e 68 72 65 66 20 3d 3d 20 67 65 74 42 72 6f 77 73 65 | indow.location.href.==.getBrowse |
6b820 | 72 55 52 4c 28 29 29 20 7b 0a 20 20 20 20 20 20 2f 2f 20 41 64 6a 75 73 74 20 74 68 65 20 77 69 | rURL()).{.......//.Adjust.the.wi |
6b840 | 6e 64 6f 77 27 73 20 74 69 74 6c 65 0a 20 20 20 20 20 20 6c 65 74 20 64 6f 63 45 6c 65 6d 65 6e | ndow's.title.......let.docElemen |
6b860 | 74 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 64 6f 63 75 6d 65 6e 74 45 6c 65 6d 65 6e 74 3b 0a 20 20 | t.=.document.documentElement;... |
6b880 | 20 20 20 20 64 6f 63 45 6c 65 6d 65 6e 74 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 74 69 74 | ....docElement.setAttribute("tit |
6b8a0 | 6c 65 22 2c 0a 20 20 20 20 20 20 20 20 64 6f 63 45 6c 65 6d 65 6e 74 2e 67 65 74 41 74 74 72 69 | le",.........docElement.getAttri |
6b8c0 | 62 75 74 65 28 22 74 69 74 6c 65 5f 6e 6f 72 6d 61 6c 22 29 29 3b 0a 20 20 20 20 20 20 64 6f 63 | bute("title_normal"));.......doc |
6b8e0 | 45 6c 65 6d 65 6e 74 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 74 69 74 6c 65 6d 6f 64 69 66 | Element.setAttribute("titlemodif |
6b900 | 69 65 72 22 2c 0a 20 20 20 20 20 20 20 20 64 6f 63 45 6c 65 6d 65 6e 74 2e 67 65 74 41 74 74 72 | ier",.........docElement.getAttr |
6b920 | 69 62 75 74 65 28 22 74 69 74 6c 65 6d 6f 64 69 66 69 65 72 5f 6e 6f 72 6d 61 6c 22 29 29 3b 0a | ibute("titlemodifier_normal"));. |
6b940 | 20 20 20 20 20 20 64 6f 63 45 6c 65 6d 65 6e 74 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 62 | ......docElement.setAttribute("b |
6b960 | 72 6f 77 73 69 6e 67 6d 6f 64 65 22 2c 20 22 6e 6f 72 6d 61 6c 22 29 3b 0a 20 20 20 20 7d 0a 0a | rowsingmode",."normal");.....}.. |
6b980 | 20 20 20 20 2f 2f 20 45 6e 61 62 6c 65 20 74 68 65 20 6d 65 6e 75 20 69 74 65 6d 20 69 6e 20 61 | ....//.Enable.the.menu.item.in.a |
6b9a0 | 66 74 65 72 20 65 78 69 74 69 6e 67 20 74 68 65 20 61 75 74 6f 2d 73 74 61 72 74 20 6d 6f 64 65 | fter.exiting.the.auto-start.mode |
6b9c0 | 0a 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 70 72 | .....document.getElementById("pr |
6b9e0 | 69 76 61 74 65 42 72 6f 77 73 69 6e 67 49 74 65 6d 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ivateBrowsingItem")............. |
6ba00 | 2e 72 65 6d 6f 76 65 41 74 74 72 69 62 75 74 65 28 22 64 69 73 61 62 6c 65 64 22 29 3b 0a 20 20 | .removeAttribute("disabled");... |
6ba20 | 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 54 6f 6f 6c 73 | ..document.getElementById("Tools |
6ba40 | 3a 50 72 69 76 61 74 65 42 72 6f 77 73 69 6e 67 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 2e | :PrivateBrowsing").............. |
6ba60 | 72 65 6d 6f 76 65 41 74 74 72 69 62 75 74 65 28 22 64 69 73 61 62 6c 65 64 22 29 3b 0a 0a 20 20 | removeAttribute("disabled");.... |
6ba80 | 20 20 74 68 69 73 2e 5f 70 72 69 76 61 74 65 42 72 6f 77 73 69 6e 67 41 75 74 6f 53 74 61 72 74 | ..this._privateBrowsingAutoStart |
6baa0 | 65 64 20 3d 20 66 61 6c 73 65 3b 0a 20 20 7d 2c 0a 0a 20 20 5f 73 65 74 50 42 4d 65 6e 75 54 69 | ed.=.false;...},...._setPBMenuTi |
6bac0 | 74 6c 65 3a 20 66 75 6e 63 74 69 6f 6e 20 50 42 55 49 5f 5f 73 65 74 50 42 4d 65 6e 75 54 69 74 | tle:.function.PBUI__setPBMenuTit |
6bae0 | 6c 65 28 61 4d 6f 64 65 29 20 7b 0a 20 20 20 20 6c 65 74 20 70 62 4d 65 6e 75 49 74 65 6d 20 3d | le(aMode).{.....let.pbMenuItem.= |
6bb00 | 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 70 72 69 76 61 74 | .document.getElementById("privat |
6bb20 | 65 42 72 6f 77 73 69 6e 67 49 74 65 6d 22 29 3b 0a 20 20 20 20 70 62 4d 65 6e 75 49 74 65 6d 2e | eBrowsingItem");.....pbMenuItem. |
6bb40 | 73 65 74 41 74 74 72 69 62 75 74 65 28 22 6c 61 62 65 6c 22 2c 20 70 62 4d 65 6e 75 49 74 65 6d | setAttribute("label",.pbMenuItem |
6bb60 | 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 61 4d 6f 64 65 20 2b 20 22 6c 61 62 65 6c 22 29 29 3b | .getAttribute(aMode.+."label")); |
6bb80 | 0a 20 20 20 20 70 62 4d 65 6e 75 49 74 65 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 61 63 | .....pbMenuItem.setAttribute("ac |
6bba0 | 63 65 73 73 6b 65 79 22 2c 20 70 62 4d 65 6e 75 49 74 65 6d 2e 67 65 74 41 74 74 72 69 62 75 74 | cesskey",.pbMenuItem.getAttribut |
6bbc0 | 65 28 61 4d 6f 64 65 20 2b 20 22 61 63 63 65 73 73 6b 65 79 22 29 29 3b 0a 20 20 7d 2c 0a 0a 20 | e(aMode.+."accesskey"));...},... |
6bbe0 | 20 74 6f 67 67 6c 65 4d 6f 64 65 3a 20 66 75 6e 63 74 69 6f 6e 20 50 42 55 49 5f 74 6f 67 67 6c | .toggleMode:.function.PBUI_toggl |
6bc00 | 65 4d 6f 64 65 28 29 20 7b 0a 20 20 20 20 2f 2f 20 70 72 6f 6d 70 74 20 74 68 65 20 75 73 65 72 | eMode().{.....//.prompt.the.user |
6bc20 | 73 20 6f 6e 20 65 6e 74 65 72 69 6e 67 20 74 68 65 20 70 72 69 76 61 74 65 20 6d 6f 64 65 2c 20 | s.on.entering.the.private.mode,. |
6bc40 | 69 66 20 6e 65 65 64 65 64 0a 20 20 20 20 69 66 20 28 21 74 68 69 73 2e 70 72 69 76 61 74 65 42 | if.needed.....if.(!this.privateB |
6bc60 | 72 6f 77 73 69 6e 67 45 6e 61 62 6c 65 64 29 0a 20 20 20 20 20 20 69 66 20 28 21 74 68 69 73 2e | rowsingEnabled).......if.(!this. |
6bc80 | 5f 73 68 6f 75 6c 64 45 6e 74 65 72 28 29 29 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a | _shouldEnter()).........return;. |
6bca0 | 0a 20 20 20 20 74 68 69 73 2e 5f 70 72 69 76 61 74 65 42 72 6f 77 73 69 6e 67 53 65 72 76 69 63 | .....this._privateBrowsingServic |
6bcc0 | 65 2e 70 72 69 76 61 74 65 42 72 6f 77 73 69 6e 67 45 6e 61 62 6c 65 64 20 3d 0a 20 20 20 20 20 | e.privateBrowsingEnabled.=...... |
6bce0 | 20 21 74 68 69 73 2e 70 72 69 76 61 74 65 42 72 6f 77 73 69 6e 67 45 6e 61 62 6c 65 64 3b 0a 20 | .!this.privateBrowsingEnabled;.. |
6bd00 | 20 7d 2c 0a 0a 20 20 67 65 74 20 70 72 69 76 61 74 65 42 72 6f 77 73 69 6e 67 45 6e 61 62 6c 65 | .},....get.privateBrowsingEnable |
6bd20 | 64 20 50 42 55 49 5f 67 65 74 5f 70 72 69 76 61 74 65 42 72 6f 77 73 69 6e 67 45 6e 61 62 6c 65 | d.PBUI_get_privateBrowsingEnable |
6bd40 | 64 28 29 20 7b 0a 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 70 72 69 76 61 74 65 42 72 | d().{.....return.this._privateBr |
6bd60 | 6f 77 73 69 6e 67 53 65 72 76 69 63 65 2e 70 72 69 76 61 74 65 42 72 6f 77 73 69 6e 67 45 6e 61 | owsingService.privateBrowsingEna |
6bd80 | 62 6c 65 64 3b 0a 20 20 7d 0a 7d 3b 0a 0a 6c 65 74 20 67 55 52 4c 42 61 72 45 6d 70 74 79 54 65 | bled;...}.};..let.gURLBarEmptyTe |
6bda0 | 78 74 20 3d 20 7b 0a 20 20 64 6f 6d 61 69 6e 3a 20 22 62 72 6f 77 73 65 72 2e 75 72 6c 62 61 72 | xt.=.{...domain:."browser.urlbar |
6bdc0 | 2e 22 2c 0a 0a 20 20 6f 62 73 65 72 76 65 3a 20 66 75 6e 63 74 69 6f 6e 20 55 42 45 54 5f 6f 62 | .",....observe:.function.UBET_ob |
6bde0 | 73 65 72 76 65 28 61 53 75 62 6a 65 63 74 2c 20 61 54 6f 70 69 63 2c 20 61 50 72 65 66 4e 61 6d | serve(aSubject,.aTopic,.aPrefNam |
6be00 | 65 29 20 7b 0a 20 20 20 20 69 66 20 28 61 54 6f 70 69 63 20 3d 3d 20 22 6e 73 50 72 65 66 3a 63 | e).{.....if.(aTopic.==."nsPref:c |
6be20 | 68 61 6e 67 65 64 22 29 20 7b 0a 20 20 20 20 20 20 73 77 69 74 63 68 20 28 61 50 72 65 66 4e 61 | hanged").{.......switch.(aPrefNa |
6be40 | 6d 65 29 20 7b 0a 20 20 20 20 20 20 63 61 73 65 20 22 62 72 6f 77 73 65 72 2e 75 72 6c 62 61 72 | me).{.......case."browser.urlbar |
6be60 | 2e 61 75 74 6f 63 6f 6d 70 6c 65 74 65 2e 65 6e 61 62 6c 65 64 22 3a 0a 20 20 20 20 20 20 63 61 | .autocomplete.enabled":.......ca |
6be80 | 73 65 20 22 62 72 6f 77 73 65 72 2e 75 72 6c 62 61 72 2e 64 65 66 61 75 6c 74 2e 62 65 68 61 76 | se."browser.urlbar.default.behav |
6bea0 | 69 6f 72 22 3a 0a 20 20 20 20 20 20 20 20 67 55 52 4c 42 61 72 2e 65 6d 70 74 79 54 65 78 74 20 | ior":.........gURLBar.emptyText. |
6bec0 | 3d 20 74 68 69 73 2e 76 61 6c 75 65 3b 0a 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 | =.this.value;.........break;.... |
6bee0 | 20 20 20 7d 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 67 65 74 20 76 61 6c 75 65 20 55 42 45 | ...}.....}...},....get.value.UBE |
6bf00 | 54 5f 67 65 74 5f 76 61 6c 75 65 28 29 20 7b 0a 20 20 20 20 6c 65 74 20 74 79 70 65 20 3d 20 22 | T_get_value().{.....let.type.=." |
6bf20 | 6e 6f 6e 65 22 3b 0a 20 20 20 20 69 66 20 28 67 50 72 65 66 53 65 72 76 69 63 65 2e 67 65 74 42 | none";.....if.(gPrefService.getB |
6bf40 | 6f 6f 6c 50 72 65 66 28 22 62 72 6f 77 73 65 72 2e 75 72 6c 62 61 72 2e 61 75 74 6f 63 6f 6d 70 | oolPref("browser.urlbar.autocomp |
6bf60 | 6c 65 74 65 2e 65 6e 61 62 6c 65 64 22 29 29 20 7b 0a 20 20 20 20 20 20 2f 2f 20 42 6f 74 74 6f | lete.enabled")).{.......//.Botto |
6bf80 | 6d 20 32 20 62 69 74 73 20 6f 66 20 64 65 66 61 75 6c 74 2e 62 65 68 61 76 69 6f 72 20 73 70 65 | m.2.bits.of.default.behavior.spe |
6bfa0 | 63 69 66 79 20 68 69 73 74 6f 72 79 2f 62 6f 6f 6b 6d 61 72 6b 0a 20 20 20 20 20 20 73 77 69 74 | cify.history/bookmark.......swit |
6bfc0 | 63 68 20 28 67 50 72 65 66 53 65 72 76 69 63 65 2e 67 65 74 49 6e 74 50 72 65 66 28 22 62 72 6f | ch.(gPrefService.getIntPref("bro |
6bfe0 | 77 73 65 72 2e 75 72 6c 62 61 72 2e 64 65 66 61 75 6c 74 2e 62 65 68 61 76 69 6f 72 22 29 20 26 | wser.urlbar.default.behavior").& |
6c000 | 20 33 29 20 7b 0a 20 20 20 20 20 20 63 61 73 65 20 30 3a 0a 20 20 20 20 20 20 20 20 74 79 70 65 | .3).{.......case.0:.........type |
6c020 | 20 3d 20 22 62 6f 6f 6b 6d 61 72 6b 68 69 73 74 6f 72 79 22 3b 0a 20 20 20 20 20 20 20 20 62 72 | .=."bookmarkhistory";.........br |
6c040 | 65 61 6b 3b 0a 20 20 20 20 20 20 63 61 73 65 20 31 3a 0a 20 20 20 20 20 20 20 20 74 79 70 65 20 | eak;.......case.1:.........type. |
6c060 | 3d 20 22 68 69 73 74 6f 72 79 22 3b 0a 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 | =."history";.........break;..... |
6c080 | 20 20 63 61 73 65 20 32 3a 0a 20 20 20 20 20 20 20 20 74 79 70 65 20 3d 20 22 62 6f 6f 6b 6d 61 | ..case.2:.........type.=."bookma |
6c0a0 | 72 6b 22 3b 0a 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 | rk";.........break;.......}..... |
6c0c0 | 7d 0a 20 20 20 20 72 65 74 75 72 6e 20 67 55 52 4c 42 61 72 2e 67 65 74 41 74 74 72 69 62 75 74 | }.....return.gURLBar.getAttribut |
6c0e0 | 65 28 74 79 70 65 20 2b 20 22 65 6d 70 74 79 74 65 78 74 22 29 3b 0a 20 20 7d 0a 7d 3b 0a 50 4b | e(type.+."emptytext");...}.};.PK |
6c100 | 03 04 14 00 00 00 00 00 f2 4b 18 3b fb 2a 66 9f bc 3b 01 00 bc 3b 01 00 1b 00 00 00 63 6f 6e 74 | .........K.;.*f..;...;......cont |
6c120 | 65 6e 74 2f 62 72 6f 77 73 65 72 2f 62 72 6f 77 73 65 72 2e 78 75 6c 3c 3f 78 6d 6c 20 76 65 72 | ent/browser/browser.xul<?xml.ver |
6c140 | 73 69 6f 6e 3d 22 31 2e 30 22 3f 3e 0a 0a 3c 3f 78 6d 6c 2d 73 74 79 6c 65 73 68 65 65 74 20 68 | sion="1.0"?>..<?xml-stylesheet.h |
6c160 | 72 65 66 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 62 72 | ref="chrome://browser/content/br |
6c180 | 6f 77 73 65 72 2e 63 73 73 22 20 74 79 70 65 3d 22 74 65 78 74 2f 63 73 73 22 3f 3e 0a 3c 3f 78 | owser.css".type="text/css"?>.<?x |
6c1a0 | 6d 6c 2d 73 74 79 6c 65 73 68 65 65 74 20 68 72 65 66 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f | ml-stylesheet.href="chrome://bro |
6c1c0 | 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 70 6c 61 63 65 73 2f 70 6c 61 63 65 73 2e 63 73 73 22 20 | wser/content/places/places.css". |
6c1e0 | 74 79 70 65 3d 22 74 65 78 74 2f 63 73 73 22 3f 3e 0a 0a 3c 3f 78 6d 6c 2d 73 74 79 6c 65 73 68 | type="text/css"?>..<?xml-stylesh |
6c200 | 65 65 74 20 68 72 65 66 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 73 6b 69 6e 2f | eet.href="chrome://browser/skin/ |
6c220 | 22 20 74 79 70 65 3d 22 74 65 78 74 2f 63 73 73 22 3f 3e 20 0a 0a 3c 3f 78 6d 6c 2d 73 74 79 6c | ".type="text/css"?>...<?xml-styl |
6c240 | 65 73 68 65 65 74 20 68 72 65 66 3d 22 63 68 72 6f 6d 65 3a 2f 2f 67 6c 6f 62 61 6c 2f 73 6b 69 | esheet.href="chrome://global/ski |
6c260 | 6e 2f 74 6f 6f 6c 62 61 72 2e 63 73 73 22 20 74 79 70 65 3d 22 74 65 78 74 2f 63 73 73 22 3f 3e | n/toolbar.css".type="text/css"?> |
6c280 | 0a 0a 3c 3f 78 75 6c 2d 6f 76 65 72 6c 61 79 20 68 72 65 66 3d 22 63 68 72 6f 6d 65 3a 2f 2f 67 | ..<?xul-overlay.href="chrome://g |
6c2a0 | 6c 6f 62 61 6c 2f 63 6f 6e 74 65 6e 74 2f 65 64 69 74 4d 65 6e 75 4f 76 65 72 6c 61 79 2e 78 75 | lobal/content/editMenuOverlay.xu |
6c2c0 | 6c 22 3f 3e 0a 3c 3f 78 75 6c 2d 6f 76 65 72 6c 61 79 20 68 72 65 66 3d 22 63 68 72 6f 6d 65 3a | l"?>.<?xul-overlay.href="chrome: |
6c2e0 | 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 62 61 73 65 4d 65 6e 75 4f 76 65 72 6c 61 | //browser/content/baseMenuOverla |
6c300 | 79 2e 78 75 6c 22 3f 3e 0a 3c 3f 78 75 6c 2d 6f 76 65 72 6c 61 79 20 68 72 65 66 3d 22 63 68 72 | y.xul"?>.<?xul-overlay.href="chr |
6c320 | 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 70 6c 61 63 65 73 2f 70 6c 61 | ome://browser/content/places/pla |
6c340 | 63 65 73 4f 76 65 72 6c 61 79 2e 78 75 6c 22 3f 3e 0a 0a 3c 21 44 4f 43 54 59 50 45 20 77 69 6e | cesOverlay.xul"?>..<!DOCTYPE.win |
6c360 | 64 6f 77 20 5b 0a 3c 21 45 4e 54 49 54 59 20 25 20 62 72 61 6e 64 44 54 44 20 53 59 53 54 45 4d | dow.[.<!ENTITY.%.brandDTD.SYSTEM |
6c380 | 20 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 61 6e 64 69 6e 67 2f 6c 6f 63 61 6c 65 2f 62 72 61 6e 64 | ."chrome://branding/locale/brand |
6c3a0 | 2e 64 74 64 22 20 3e 0a 25 62 72 61 6e 64 44 54 44 3b 0a 3c 21 45 4e 54 49 54 59 20 25 20 62 72 | .dtd".>.%brandDTD;.<!ENTITY.%.br |
6c3c0 | 6f 77 73 65 72 44 54 44 20 53 59 53 54 45 4d 20 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 | owserDTD.SYSTEM."chrome://browse |
6c3e0 | 72 2f 6c 6f 63 61 6c 65 2f 62 72 6f 77 73 65 72 2e 64 74 64 22 20 3e 0a 25 62 72 6f 77 73 65 72 | r/locale/browser.dtd".>.%browser |
6c400 | 44 54 44 3b 0a 3c 21 45 4e 54 49 54 59 20 25 20 67 6c 6f 62 61 6c 44 54 44 20 53 59 53 54 45 4d | DTD;.<!ENTITY.%.globalDTD.SYSTEM |
6c420 | 20 22 63 68 72 6f 6d 65 3a 2f 2f 67 6c 6f 62 61 6c 2f 6c 6f 63 61 6c 65 2f 67 6c 6f 62 61 6c 2e | ."chrome://global/locale/global. |
6c440 | 64 74 64 22 3e 0a 25 67 6c 6f 62 61 6c 44 54 44 3b 0a 3c 21 45 4e 54 49 54 59 20 25 20 67 6c 6f | dtd">.%globalDTD;.<!ENTITY.%.glo |
6c460 | 62 61 6c 52 65 67 69 6f 6e 44 54 44 20 53 59 53 54 45 4d 20 22 63 68 72 6f 6d 65 3a 2f 2f 67 6c | balRegionDTD.SYSTEM."chrome://gl |
6c480 | 6f 62 61 6c 2d 72 65 67 69 6f 6e 2f 6c 6f 63 61 6c 65 2f 72 65 67 69 6f 6e 2e 64 74 64 22 3e 0a | obal-region/locale/region.dtd">. |
6c4a0 | 25 67 6c 6f 62 61 6c 52 65 67 69 6f 6e 44 54 44 3b 0a 3c 21 45 4e 54 49 54 59 20 25 20 63 68 61 | %globalRegionDTD;.<!ENTITY.%.cha |
6c4c0 | 72 73 65 74 44 54 44 20 53 59 53 54 45 4d 20 22 63 68 72 6f 6d 65 3a 2f 2f 67 6c 6f 62 61 6c 2f | rsetDTD.SYSTEM."chrome://global/ |
6c4e0 | 6c 6f 63 61 6c 65 2f 63 68 61 72 73 65 74 4f 76 65 72 6c 61 79 2e 64 74 64 22 20 3e 0a 25 63 68 | locale/charsetOverlay.dtd".>.%ch |
6c500 | 61 72 73 65 74 44 54 44 3b 0a 3c 21 45 4e 54 49 54 59 20 25 20 74 65 78 74 63 6f 6e 74 65 78 74 | arsetDTD;.<!ENTITY.%.textcontext |
6c520 | 44 54 44 20 53 59 53 54 45 4d 20 22 63 68 72 6f 6d 65 3a 2f 2f 67 6c 6f 62 61 6c 2f 6c 6f 63 61 | DTD.SYSTEM."chrome://global/loca |
6c540 | 6c 65 2f 74 65 78 74 63 6f 6e 74 65 78 74 2e 64 74 64 22 20 3e 0a 25 74 65 78 74 63 6f 6e 74 65 | le/textcontext.dtd".>.%textconte |
6c560 | 78 74 44 54 44 3b 0a 3c 21 45 4e 54 49 54 59 20 25 20 70 6c 61 63 65 73 44 54 44 20 53 59 53 54 | xtDTD;.<!ENTITY.%.placesDTD.SYST |
6c580 | 45 4d 20 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 6c 6f 63 61 6c 65 2f 70 6c 61 63 | EM."chrome://browser/locale/plac |
6c5a0 | 65 73 2f 70 6c 61 63 65 73 2e 64 74 64 22 3e 0a 25 70 6c 61 63 65 73 44 54 44 3b 0a 3c 21 45 4e | es/places.dtd">.%placesDTD;.<!EN |
6c5c0 | 54 49 54 59 20 25 20 73 61 66 65 62 72 6f 77 73 69 6e 67 44 54 44 20 53 59 53 54 45 4d 20 22 63 | TITY.%.safebrowsingDTD.SYSTEM."c |
6c5e0 | 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 6c 6f 63 61 6c 65 2f 73 61 66 65 62 72 6f 77 73 | hrome://browser/locale/safebrows |
6c600 | 69 6e 67 2f 70 68 69 73 68 69 6e 67 2d 61 66 74 65 72 6c 6f 61 64 2d 77 61 72 6e 69 6e 67 2d 6d | ing/phishing-afterload-warning-m |
6c620 | 65 73 73 61 67 65 2e 64 74 64 22 3e 0a 25 73 61 66 65 62 72 6f 77 73 69 6e 67 44 54 44 3b 0a 5d | essage.dtd">.%safebrowsingDTD;.] |
6c640 | 3e 0a 0a 0a 3c 77 69 6e 64 6f 77 20 69 64 3d 22 6d 61 69 6e 2d 77 69 6e 64 6f 77 22 0a 20 20 20 | >...<window.id="main-window".... |
6c660 | 20 20 20 20 20 78 6d 6c 6e 73 3a 72 64 66 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e 77 33 2e 6f 72 | .....xmlns:rdf="http://www.w3.or |
6c680 | 67 2f 31 39 39 39 2f 30 32 2f 32 32 2d 72 64 66 2d 73 79 6e 74 61 78 2d 6e 73 23 22 0a 20 20 20 | g/1999/02/22-rdf-syntax-ns#".... |
6c6a0 | 20 20 20 20 20 78 6d 6c 6e 73 3a 73 76 67 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e 77 33 2e 6f 72 | .....xmlns:svg="http://www.w3.or |
6c6c0 | 67 2f 32 30 30 30 2f 73 76 67 22 0a 20 20 20 20 20 20 20 20 78 6d 6c 6e 73 3d 22 68 74 74 70 3a | g/2000/svg".........xmlns="http: |
6c6e0 | 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6b 65 79 6d 61 73 74 65 72 2f 67 61 74 65 | //www.mozilla.org/keymaster/gate |
6c700 | 6b 65 65 70 65 72 2f 74 68 65 72 65 2e 69 73 2e 6f 6e 6c 79 2e 78 75 6c 22 0a 20 20 20 20 20 20 | keeper/there.is.only.xul"....... |
6c720 | 20 20 6f 6e 6c 6f 61 64 3d 22 42 72 6f 77 73 65 72 53 74 61 72 74 75 70 28 29 22 20 6f 6e 75 6e | ..onload="BrowserStartup()".onun |
6c740 | 6c 6f 61 64 3d 22 42 72 6f 77 73 65 72 53 68 75 74 64 6f 77 6e 28 29 22 20 6f 6e 63 6c 6f 73 65 | load="BrowserShutdown()".onclose |
6c760 | 3d 22 72 65 74 75 72 6e 20 57 69 6e 64 6f 77 49 73 43 6c 6f 73 69 6e 67 28 29 3b 22 0a 20 20 20 | ="return.WindowIsClosing();".... |
6c780 | 20 20 20 20 20 74 69 74 6c 65 3d 22 26 6d 61 69 6e 57 69 6e 64 6f 77 2e 74 69 74 6c 65 3b 22 0a | .....title="&mainWindow.title;". |
6c7a0 | 20 20 20 20 20 20 20 20 74 69 74 6c 65 5f 6e 6f 72 6d 61 6c 3d 22 26 6d 61 69 6e 57 69 6e 64 6f | ........title_normal="&mainWindo |
6c7c0 | 77 2e 74 69 74 6c 65 3b 22 0a 20 20 20 20 20 20 20 20 74 69 74 6c 65 5f 70 72 69 76 61 74 65 62 | w.title;".........title_privateb |
6c7e0 | 72 6f 77 73 69 6e 67 3d 22 26 6d 61 69 6e 57 69 6e 64 6f 77 2e 74 69 74 6c 65 6d 6f 64 69 66 69 | rowsing="&mainWindow.titlemodifi |
6c800 | 65 72 3b 20 26 6d 61 69 6e 57 69 6e 64 6f 77 2e 74 69 74 6c 65 50 72 69 76 61 74 65 42 72 6f 77 | er;.&mainWindow.titlePrivateBrow |
6c820 | 73 69 6e 67 53 75 66 66 69 78 3b 22 0a 20 20 20 20 20 20 20 20 74 69 74 6c 65 6d 6f 64 69 66 69 | singSuffix;".........titlemodifi |
6c840 | 65 72 3d 22 26 6d 61 69 6e 57 69 6e 64 6f 77 2e 74 69 74 6c 65 6d 6f 64 69 66 69 65 72 3b 22 0a | er="&mainWindow.titlemodifier;". |
6c860 | 20 20 20 20 20 20 20 20 74 69 74 6c 65 6d 6f 64 69 66 69 65 72 5f 6e 6f 72 6d 61 6c 3d 22 26 6d | ........titlemodifier_normal="&m |
6c880 | 61 69 6e 57 69 6e 64 6f 77 2e 74 69 74 6c 65 6d 6f 64 69 66 69 65 72 3b 22 0a 20 20 20 20 20 20 | ainWindow.titlemodifier;"....... |
6c8a0 | 20 20 74 69 74 6c 65 6d 6f 64 69 66 69 65 72 5f 70 72 69 76 61 74 65 62 72 6f 77 73 69 6e 67 3d | ..titlemodifier_privatebrowsing= |
6c8c0 | 22 26 6d 61 69 6e 57 69 6e 64 6f 77 2e 74 69 74 6c 65 6d 6f 64 69 66 69 65 72 3b 20 26 6d 61 69 | "&mainWindow.titlemodifier;.&mai |
6c8e0 | 6e 57 69 6e 64 6f 77 2e 74 69 74 6c 65 50 72 69 76 61 74 65 42 72 6f 77 73 69 6e 67 53 75 66 66 | nWindow.titlePrivateBrowsingSuff |
6c900 | 69 78 3b 22 0a 20 20 20 20 20 20 20 20 74 69 74 6c 65 6d 65 6e 75 73 65 70 61 72 61 74 6f 72 3d | ix;".........titlemenuseparator= |
6c920 | 22 26 6d 61 69 6e 57 69 6e 64 6f 77 2e 74 69 74 6c 65 6d 6f 64 69 66 69 65 72 6d 65 6e 75 73 65 | "&mainWindow.titlemodifiermenuse |
6c940 | 70 61 72 61 74 6f 72 3b 22 0a 20 20 20 20 20 20 20 20 77 69 6e 64 6f 77 74 79 70 65 3d 22 6e 61 | parator;".........windowtype="na |
6c960 | 76 69 67 61 74 6f 72 3a 62 72 6f 77 73 65 72 22 0a 20 20 20 20 20 20 20 20 73 63 72 65 65 6e 58 | vigator:browser".........screenX |
6c980 | 3d 22 34 22 20 73 63 72 65 65 6e 59 3d 22 34 22 0a 20 20 20 20 20 20 20 20 62 72 6f 77 73 69 6e | ="4".screenY="4".........browsin |
6c9a0 | 67 6d 6f 64 65 3d 22 6e 6f 72 6d 61 6c 22 0a 20 20 20 20 20 20 20 20 70 65 72 73 69 73 74 3d 22 | gmode="normal".........persist=" |
6c9c0 | 73 63 72 65 65 6e 58 20 73 63 72 65 65 6e 59 20 77 69 64 74 68 20 68 65 69 67 68 74 20 73 69 7a | screenX.screenY.width.height.siz |
6c9e0 | 65 6d 6f 64 65 22 3e 20 0a 0a 0a 3c 73 63 72 69 70 74 20 74 79 70 65 3d 22 61 70 70 6c 69 63 61 | emode">....<script.type="applica |
6ca00 | 74 69 6f 6e 2f 78 2d 6a 61 76 61 73 63 72 69 70 74 22 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f | tion/x-javascript".src="chrome:/ |
6ca20 | 2f 67 6c 6f 62 61 6c 2f 63 6f 6e 74 65 6e 74 2f 70 72 69 6e 74 55 74 69 6c 73 2e 6a 73 22 2f 3e | /global/content/printUtils.js"/> |
6ca40 | 0a 3c 73 63 72 69 70 74 20 74 79 70 65 3d 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f 78 2d 6a 61 76 | .<script.type="application/x-jav |
6ca60 | 61 73 63 72 69 70 74 22 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 67 6c 6f 62 61 6c 2f 63 6f | ascript".src="chrome://global/co |
6ca80 | 6e 74 65 6e 74 2f 76 69 65 77 5a 6f 6f 6d 4f 76 65 72 6c 61 79 2e 6a 73 22 2f 3e 0a 3c 73 63 72 | ntent/viewZoomOverlay.js"/>.<scr |
6caa0 | 69 70 74 20 74 79 70 65 3d 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f 78 2d 6a 61 76 61 73 63 72 69 | ipt.type="application/x-javascri |
6cac0 | 70 74 22 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e | pt".src="chrome://browser/conten |
6cae0 | 74 2f 62 72 6f 77 73 65 72 2e 6a 73 22 2f 3e 0a 3c 73 63 72 69 70 74 20 74 79 70 65 3d 22 61 70 | t/browser.js"/>.<script.type="ap |
6cb00 | 70 6c 69 63 61 74 69 6f 6e 2f 78 2d 6a 61 76 61 73 63 72 69 70 74 22 20 73 72 63 3d 22 63 68 72 | plication/x-javascript".src="chr |
6cb20 | 6f 6d 65 3a 2f 2f 67 6c 6f 62 61 6c 2f 63 6f 6e 74 65 6e 74 2f 69 6e 6c 69 6e 65 53 70 65 6c 6c | ome://global/content/inlineSpell |
6cb40 | 43 68 65 63 6b 55 49 2e 6a 73 22 2f 3e 0a 3c 73 63 72 69 70 74 20 74 79 70 65 3d 22 61 70 70 6c | CheckUI.js"/>.<script.type="appl |
6cb60 | 69 63 61 74 69 6f 6e 2f 78 2d 6a 61 76 61 73 63 72 69 70 74 22 20 73 72 63 3d 22 63 68 72 6f 6d | ication/x-javascript".src="chrom |
6cb80 | 65 3a 2f 2f 67 6c 6f 62 61 6c 2f 63 6f 6e 74 65 6e 74 2f 76 69 65 77 53 6f 75 72 63 65 55 74 69 | e://global/content/viewSourceUti |
6cba0 | 6c 73 2e 6a 73 22 2f 3e 0a 3c 73 63 72 69 70 74 20 74 79 70 65 3d 22 61 70 70 6c 69 63 61 74 69 | ls.js"/>.<script.type="applicati |
6cbc0 | 6f 6e 2f 78 2d 6a 61 76 61 73 63 72 69 70 74 22 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 | on/x-javascript".src="chrome://b |
6cbe0 | 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 6e 73 43 6f 6e 74 65 78 74 4d 65 6e 75 2e 6a 73 22 | rowser/content/nsContextMenu.js" |
6cc00 | 2f 3e 0a 0a 3c 73 63 72 69 70 74 20 74 79 70 65 3d 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f 78 2d | />..<script.type="application/x- |
6cc20 | 6a 61 76 61 73 63 72 69 70 74 22 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 | javascript".src="chrome://browse |
6cc40 | 72 2f 63 6f 6e 74 65 6e 74 2f 73 61 66 65 62 72 6f 77 73 69 6e 67 2f 73 62 2d 6c 6f 61 64 65 72 | r/content/safebrowsing/sb-loader |
6cc60 | 2e 6a 73 22 2f 3e 0a 3c 73 63 72 69 70 74 20 74 79 70 65 3d 22 61 70 70 6c 69 63 61 74 69 6f 6e | .js"/>.<script.type="application |
6cc80 | 2f 78 2d 6a 61 76 61 73 63 72 69 70 74 22 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 67 6c 6f | /x-javascript".src="chrome://glo |
6cca0 | 62 61 6c 2f 63 6f 6e 74 65 6e 74 2f 63 6f 6e 74 65 6e 74 41 72 65 61 55 74 69 6c 73 2e 6a 73 22 | bal/content/contentAreaUtils.js" |
6ccc0 | 2f 3e 0a 0a 3c 73 63 72 69 70 74 20 74 79 70 65 3d 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f 6a 61 | />..<script.type="application/ja |
6cce0 | 76 61 73 63 72 69 70 74 22 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f | vascript".src="chrome://browser/ |
6cd00 | 63 6f 6e 74 65 6e 74 2f 70 6c 61 63 65 73 2f 65 64 69 74 42 6f 6f 6b 6d 61 72 6b 4f 76 65 72 6c | content/places/editBookmarkOverl |
6cd20 | 61 79 2e 6a 73 22 2f 3e 0a 0a 0a 0a 20 20 3c 73 74 72 69 6e 67 62 75 6e 64 6c 65 73 65 74 20 69 | ay.js"/>......<stringbundleset.i |
6cd40 | 64 3d 22 73 74 72 69 6e 67 62 75 6e 64 6c 65 73 65 74 22 3e 20 0a 20 20 20 20 3c 73 74 72 69 6e | d="stringbundleset">......<strin |
6cd60 | 67 62 75 6e 64 6c 65 20 69 64 3d 22 62 75 6e 64 6c 65 5f 62 72 61 6e 64 22 20 73 72 63 3d 22 63 | gbundle.id="bundle_brand".src="c |
6cd80 | 68 72 6f 6d 65 3a 2f 2f 62 72 61 6e 64 69 6e 67 2f 6c 6f 63 61 6c 65 2f 62 72 61 6e 64 2e 70 72 | hrome://branding/locale/brand.pr |
6cda0 | 6f 70 65 72 74 69 65 73 22 2f 3e 0a 20 20 20 20 3c 73 74 72 69 6e 67 62 75 6e 64 6c 65 20 69 64 | operties"/>.....<stringbundle.id |
6cdc0 | 3d 22 62 75 6e 64 6c 65 5f 73 68 65 6c 6c 22 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 | ="bundle_shell".src="chrome://br |
6cde0 | 6f 77 73 65 72 2f 6c 6f 63 61 6c 65 2f 73 68 65 6c 6c 73 65 72 76 69 63 65 2e 70 72 6f 70 65 72 | owser/locale/shellservice.proper |
6ce00 | 74 69 65 73 22 2f 3e 0a 20 20 20 20 3c 73 74 72 69 6e 67 62 75 6e 64 6c 65 20 69 64 3d 22 62 75 | ties"/>.....<stringbundle.id="bu |
6ce20 | 6e 64 6c 65 5f 70 72 65 66 65 72 65 6e 63 65 73 22 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f | ndle_preferences".src="chrome:// |
6ce40 | 62 72 6f 77 73 65 72 2f 6c 6f 63 61 6c 65 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 70 72 65 66 65 | browser/locale/preferences/prefe |
6ce60 | 72 65 6e 63 65 73 2e 70 72 6f 70 65 72 74 69 65 73 22 2f 3e 0a 20 20 3c 2f 73 74 72 69 6e 67 62 | rences.properties"/>...</stringb |
6ce80 | 75 6e 64 6c 65 73 65 74 3e 0a 0a 20 20 3c 63 6f 6d 6d 61 6e 64 73 65 74 20 69 64 3d 22 6d 61 69 | undleset>....<commandset.id="mai |
6cea0 | 6e 43 6f 6d 6d 61 6e 64 53 65 74 22 3e 0a 20 20 20 20 3c 63 6f 6d 6d 61 6e 64 20 69 64 3d 22 63 | nCommandSet">.....<command.id="c |
6cec0 | 6d 64 5f 6e 65 77 4e 61 76 69 67 61 74 6f 72 22 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | md_newNavigator"................ |
6cee0 | 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 4f 70 65 6e 42 72 6f 77 73 65 72 57 69 6e 64 6f 77 28 29 22 | .oncommand="OpenBrowserWindow()" |
6cf00 | 2f 3e 0a 20 20 20 20 3c 63 6f 6d 6d 61 6e 64 20 69 64 3d 22 63 6d 64 5f 68 61 6e 64 6c 65 42 61 | />.....<command.id="cmd_handleBa |
6cf20 | 63 6b 73 70 61 63 65 22 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 42 72 6f 77 73 65 72 48 61 6e 64 6c | ckspace".oncommand="BrowserHandl |
6cf40 | 65 42 61 63 6b 73 70 61 63 65 28 29 3b 22 20 2f 3e 0a 20 20 20 20 3c 63 6f 6d 6d 61 6e 64 20 69 | eBackspace();"./>.....<command.i |
6cf60 | 64 3d 22 63 6d 64 5f 68 61 6e 64 6c 65 53 68 69 66 74 42 61 63 6b 73 70 61 63 65 22 20 6f 6e 63 | d="cmd_handleShiftBackspace".onc |
6cf80 | 6f 6d 6d 61 6e 64 3d 22 42 72 6f 77 73 65 72 48 61 6e 64 6c 65 53 68 69 66 74 42 61 63 6b 73 70 | ommand="BrowserHandleShiftBacksp |
6cfa0 | 61 63 65 28 29 3b 22 20 2f 3e 0a 0a 20 20 20 20 3c 63 6f 6d 6d 61 6e 64 20 69 64 3d 22 63 6d 64 | ace();"./>......<command.id="cmd |
6cfc0 | 5f 6e 65 77 4e 61 76 69 67 61 74 6f 72 54 61 62 22 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 42 72 6f | _newNavigatorTab".oncommand="Bro |
6cfe0 | 77 73 65 72 4f 70 65 6e 54 61 62 28 29 3b 22 2f 3e 0a 20 20 20 20 3c 63 6f 6d 6d 61 6e 64 20 69 | wserOpenTab();"/>.....<command.i |
6d000 | 64 3d 22 42 72 6f 77 73 65 72 3a 4f 70 65 6e 46 69 6c 65 22 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d | d="Browser:OpenFile"..oncommand= |
6d020 | 22 42 72 6f 77 73 65 72 4f 70 65 6e 46 69 6c 65 57 69 6e 64 6f 77 28 29 3b 22 2f 3e 0a 20 20 20 | "BrowserOpenFileWindow();"/>.... |
6d040 | 20 3c 63 6f 6d 6d 61 6e 64 20 69 64 3d 22 42 72 6f 77 73 65 72 3a 53 61 76 65 50 61 67 65 22 20 | .<command.id="Browser:SavePage". |
6d060 | 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 73 61 76 65 44 6f 63 75 6d 65 6e 74 28 77 69 6e 64 6f 77 2e 63 | oncommand="saveDocument(window.c |
6d080 | 6f 6e 74 65 6e 74 2e 64 6f 63 75 6d 65 6e 74 29 3b 22 2f 3e 0a 20 20 20 20 3c 63 6f 6d 6d 61 6e | ontent.document);"/>.....<comman |
6d0a0 | 64 20 69 64 3d 22 42 72 6f 77 73 65 72 3a 53 61 76 65 46 72 61 6d 65 22 20 6f 6e 63 6f 6d 6d 61 | d.id="Browser:SaveFrame".oncomma |
6d0c0 | 6e 64 3d 22 73 61 76 65 46 72 61 6d 65 44 6f 63 75 6d 65 6e 74 28 29 3b 22 2f 3e 0a 0a 20 20 20 | nd="saveFrameDocument();"/>..... |
6d0e0 | 20 3c 63 6f 6d 6d 61 6e 64 20 69 64 3d 22 42 72 6f 77 73 65 72 3a 53 65 6e 64 4c 69 6e 6b 22 0a | .<command.id="Browser:SendLink". |
6d100 | 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 4d 61 69 6c 49 6e 74 65 | .............oncommand="MailInte |
6d120 | 67 72 61 74 69 6f 6e 2e 73 65 6e 64 4c 69 6e 6b 46 6f 72 57 69 6e 64 6f 77 28 77 69 6e 64 6f 77 | gration.sendLinkForWindow(window |
6d140 | 2e 63 6f 6e 74 65 6e 74 29 3b 22 2f 3e 0a 0a 20 20 20 20 3c 63 6f 6d 6d 61 6e 64 20 69 64 3d 22 | .content);"/>......<command.id=" |
6d160 | 63 6d 64 5f 70 61 67 65 53 65 74 75 70 22 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 50 72 69 6e 74 55 | cmd_pageSetup".oncommand="PrintU |
6d180 | 74 69 6c 73 2e 73 68 6f 77 50 61 67 65 53 65 74 75 70 28 29 3b 22 2f 3e 0a 20 20 20 20 3c 63 6f | tils.showPageSetup();"/>.....<co |
6d1a0 | 6d 6d 61 6e 64 20 69 64 3d 22 63 6d 64 5f 70 72 69 6e 74 22 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 | mmand.id="cmd_print".oncommand=" |
6d1c0 | 50 72 69 6e 74 55 74 69 6c 73 2e 70 72 69 6e 74 28 29 3b 22 2f 3e 0a 20 20 20 20 3c 63 6f 6d 6d | PrintUtils.print();"/>.....<comm |
6d1e0 | 61 6e 64 20 69 64 3d 22 63 6d 64 5f 70 72 69 6e 74 50 72 65 76 69 65 77 22 20 6f 6e 63 6f 6d 6d | and.id="cmd_printPreview".oncomm |
6d200 | 61 6e 64 3d 22 50 72 69 6e 74 55 74 69 6c 73 2e 70 72 69 6e 74 50 72 65 76 69 65 77 28 6f 6e 45 | and="PrintUtils.printPreview(onE |
6d220 | 6e 74 65 72 50 72 69 6e 74 50 72 65 76 69 65 77 2c 20 6f 6e 45 78 69 74 50 72 69 6e 74 50 72 65 | nterPrintPreview,.onExitPrintPre |
6d240 | 76 69 65 77 29 3b 22 2f 3e 0a 20 20 20 20 3c 63 6f 6d 6d 61 6e 64 20 69 64 3d 22 63 6d 64 5f 63 | view);"/>.....<command.id="cmd_c |
6d260 | 6c 6f 73 65 22 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 42 72 6f 77 73 65 72 43 6c 6f 73 65 54 61 62 | lose".oncommand="BrowserCloseTab |
6d280 | 4f 72 57 69 6e 64 6f 77 28 29 22 2f 3e 0a 20 20 20 20 3c 63 6f 6d 6d 61 6e 64 20 69 64 3d 22 63 | OrWindow()"/>.....<command.id="c |
6d2a0 | 6d 64 5f 63 6c 6f 73 65 57 69 6e 64 6f 77 22 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 42 72 6f 77 73 | md_closeWindow".oncommand="Brows |
6d2c0 | 65 72 54 72 79 54 6f 43 6c 6f 73 65 57 69 6e 64 6f 77 28 29 22 2f 3e 0a 20 20 20 20 3c 63 6f 6d | erTryToCloseWindow()"/>.....<com |
6d2e0 | 6d 61 6e 64 20 69 64 3d 22 63 6d 64 5f 74 6f 67 67 6c 65 54 61 73 6b 62 61 72 22 20 6f 6e 63 6f | mand.id="cmd_toggleTaskbar".onco |
6d300 | 6d 6d 61 6e 64 3d 22 67 6f 54 6f 67 67 6c 65 54 6f 6f 6c 62 61 72 28 27 73 74 61 74 75 73 2d 62 | mmand="goToggleToolbar('status-b |
6d320 | 61 72 27 2c 27 74 6f 67 67 6c 65 5f 74 61 73 6b 62 61 72 27 29 3b 22 2f 3e 0a 20 20 20 20 3c 63 | ar','toggle_taskbar');"/>.....<c |
6d340 | 6f 6d 6d 61 6e 64 20 69 64 3d 22 63 6d 64 5f 43 75 73 74 6f 6d 69 7a 65 54 6f 6f 6c 62 61 72 73 | ommand.id="cmd_CustomizeToolbars |
6d360 | 22 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 42 72 6f 77 73 65 72 43 75 73 74 6f 6d 69 7a 65 54 6f 6f | ".oncommand="BrowserCustomizeToo |
6d380 | 6c 62 61 72 28 29 22 2f 3e 0a 20 20 20 20 3c 63 6f 6d 6d 61 6e 64 20 69 64 3d 22 63 6d 64 5f 71 | lbar()"/>.....<command.id="cmd_q |
6d3a0 | 75 69 74 41 70 70 6c 69 63 61 74 69 6f 6e 22 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 6f 51 75 69 | uitApplication".oncommand="goQui |
6d3c0 | 74 41 70 70 6c 69 63 61 74 69 6f 6e 28 29 22 2f 3e 0a 0a 0a 20 20 20 20 3c 63 6f 6d 6d 61 6e 64 | tApplication()"/>.......<command |
6d3e0 | 73 65 74 20 69 64 3d 22 65 64 69 74 4d 65 6e 75 43 6f 6d 6d 61 6e 64 73 22 2f 3e 0a 0a 20 20 20 | set.id="editMenuCommands"/>..... |
6d400 | 20 3c 63 6f 6d 6d 61 6e 64 20 69 64 3d 22 56 69 65 77 3a 50 61 67 65 53 6f 75 72 63 65 22 20 6f | .<command.id="View:PageSource".o |
6d420 | 6e 63 6f 6d 6d 61 6e 64 3d 22 42 72 6f 77 73 65 72 56 69 65 77 53 6f 75 72 63 65 4f 66 44 6f 63 | ncommand="BrowserViewSourceOfDoc |
6d440 | 75 6d 65 6e 74 28 63 6f 6e 74 65 6e 74 2e 64 6f 63 75 6d 65 6e 74 29 3b 22 20 6f 62 73 65 72 76 | ument(content.document);".observ |
6d460 | 65 73 3d 22 69 73 49 6d 61 67 65 22 2f 3e 0a 20 20 20 20 3c 63 6f 6d 6d 61 6e 64 20 69 64 3d 22 | es="isImage"/>.....<command.id=" |
6d480 | 56 69 65 77 3a 50 61 67 65 49 6e 66 6f 22 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 42 72 6f 77 73 65 | View:PageInfo".oncommand="Browse |
6d4a0 | 72 50 61 67 65 49 6e 66 6f 28 29 3b 22 2f 3e 0a 20 20 20 20 3c 63 6f 6d 6d 61 6e 64 20 69 64 3d | rPageInfo();"/>.....<command.id= |
6d4c0 | 22 56 69 65 77 3a 46 75 6c 6c 53 63 72 65 65 6e 22 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 42 72 6f | "View:FullScreen".oncommand="Bro |
6d4e0 | 77 73 65 72 46 75 6c 6c 53 63 72 65 65 6e 28 29 3b 22 2f 3e 0a 20 20 20 20 3c 63 6f 6d 6d 61 6e | wserFullScreen();"/>.....<comman |
6d500 | 64 20 69 64 3d 22 63 6d 64 5f 66 69 6e 64 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 | d.id="cmd_find"..............onc |
6d520 | 6f 6d 6d 61 6e 64 3d 22 67 46 69 6e 64 42 61 72 2e 6f 6e 46 69 6e 64 43 6f 6d 6d 61 6e 64 28 29 | ommand="gFindBar.onFindCommand() |
6d540 | 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 62 73 65 72 76 65 73 3d 22 69 73 49 6d 61 67 | ;"..............observes="isImag |
6d560 | 65 22 2f 3e 0a 20 20 20 20 3c 63 6f 6d 6d 61 6e 64 20 69 64 3d 22 63 6d 64 5f 66 69 6e 64 41 67 | e"/>.....<command.id="cmd_findAg |
6d580 | 61 69 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 46 69 | ain"..............oncommand="gFi |
6d5a0 | 6e 64 42 61 72 2e 6f 6e 46 69 6e 64 41 67 61 69 6e 43 6f 6d 6d 61 6e 64 28 66 61 6c 73 65 29 3b | ndBar.onFindAgainCommand(false); |
6d5c0 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 62 73 65 72 76 65 73 3d 22 69 73 49 6d 61 67 65 | "..............observes="isImage |
6d5e0 | 22 2f 3e 0a 20 20 20 20 3c 63 6f 6d 6d 61 6e 64 20 69 64 3d 22 63 6d 64 5f 66 69 6e 64 50 72 65 | "/>.....<command.id="cmd_findPre |
6d600 | 76 69 6f 75 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 | vious"..............oncommand="g |
6d620 | 46 69 6e 64 42 61 72 2e 6f 6e 46 69 6e 64 41 67 61 69 6e 43 6f 6d 6d 61 6e 64 28 74 72 75 65 29 | FindBar.onFindAgainCommand(true) |
6d640 | 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 62 73 65 72 76 65 73 3d 22 69 73 49 6d 61 67 | ;"..............observes="isImag |
6d660 | 65 22 2f 3e 0a 20 20 20 20 3c 21 2d 2d 20 77 6f 72 6b 2d 61 72 6f 75 6e 64 20 62 75 67 20 33 39 | e"/>.....<!--.work-around.bug.39 |
6d680 | 32 35 31 32 20 2d 2d 3e 0a 20 20 20 20 3c 63 6f 6d 6d 61 6e 64 20 69 64 3d 22 42 72 6f 77 73 65 | 2512.-->.....<command.id="Browse |
6d6a0 | 72 3a 41 64 64 42 6f 6f 6b 6d 61 72 6b 41 73 22 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 6f | r:AddBookmarkAs"...............o |
6d6c0 | 6e 63 6f 6d 6d 61 6e 64 3d 22 50 6c 61 63 65 73 43 6f 6d 6d 61 6e 64 48 6f 6f 6b 2e 62 6f 6f 6b | ncommand="PlacesCommandHook.book |
6d6e0 | 6d 61 72 6b 43 75 72 72 65 6e 74 50 61 67 65 28 74 72 75 65 2c 20 50 6c 61 63 65 73 55 74 69 6c | markCurrentPage(true,.PlacesUtil |
6d700 | 73 2e 62 6f 6f 6b 6d 61 72 6b 73 4d 65 6e 75 46 6f 6c 64 65 72 49 64 29 3b 22 2f 3e 0a 20 20 20 | s.bookmarksMenuFolderId);"/>.... |
6d720 | 20 3c 21 2d 2d 20 54 68 65 20 63 6f 6d 6d 61 6e 64 20 69 73 20 64 69 73 61 62 6c 65 64 20 66 6f | .<!--.The.command.is.disabled.fo |
6d740 | 72 20 74 68 65 20 68 69 64 64 65 6e 20 77 69 6e 64 6f 77 2e 20 4f 74 68 65 72 77 69 73 65 20 69 | r.the.hidden.window..Otherwise.i |
6d760 | 74 73 20 65 6e 61 62 6c 65 64 0a 20 20 20 20 20 20 20 20 20 73 74 61 74 65 20 69 73 20 68 61 6e | ts.enabled..........state.is.han |
6d780 | 64 6c 65 64 20 62 79 20 74 68 65 20 42 6f 6f 6b 6d 61 72 6b 41 6c 6c 54 61 62 73 48 61 6e 64 6c | dled.by.the.BookmarkAllTabsHandl |
6d7a0 | 65 72 20 6f 62 6a 65 63 74 2e 20 2d 2d 3e 0a 20 20 20 20 3c 63 6f 6d 6d 61 6e 64 20 69 64 3d 22 | er.object..-->.....<command.id=" |
6d7c0 | 42 72 6f 77 73 65 72 3a 42 6f 6f 6b 6d 61 72 6b 41 6c 6c 54 61 62 73 22 0a 20 20 20 20 20 20 20 | Browser:BookmarkAllTabs"........ |
6d7e0 | 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 42 6f 6f 6b 6d 61 72 6b 41 6c 6c 54 61 62 | ......oncommand="gBookmarkAllTab |
6d800 | 73 48 61 6e 64 6c 65 72 2e 64 6f 43 6f 6d 6d 61 6e 64 28 29 3b 22 0a 20 20 20 20 20 20 20 20 20 | sHandler.doCommand();".......... |
6d820 | 20 20 20 20 64 69 73 61 62 6c 65 64 3d 22 74 72 75 65 22 2f 3e 0a 20 20 20 20 3c 63 6f 6d 6d 61 | ....disabled="true"/>.....<comma |
6d840 | 6e 64 20 69 64 3d 22 42 72 6f 77 73 65 72 3a 48 6f 6d 65 22 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e | nd.id="Browser:Home"....oncomman |
6d860 | 64 3d 22 42 72 6f 77 73 65 72 48 6f 6d 65 28 29 3b 22 2f 3e 0a 20 20 20 20 3c 63 6f 6d 6d 61 6e | d="BrowserHome();"/>.....<comman |
6d880 | 64 20 69 64 3d 22 42 72 6f 77 73 65 72 3a 42 61 63 6b 22 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 | d.id="Browser:Back"....oncommand |
6d8a0 | 3d 22 42 72 6f 77 73 65 72 42 61 63 6b 28 29 3b 22 20 64 69 73 61 62 6c 65 64 3d 22 74 72 75 65 | ="BrowserBack();".disabled="true |
6d8c0 | 22 2f 3e 0a 20 20 20 20 3c 63 6f 6d 6d 61 6e 64 20 69 64 3d 22 42 72 6f 77 73 65 72 3a 42 61 63 | "/>.....<command.id="Browser:Bac |
6d8e0 | 6b 4f 72 42 61 63 6b 44 75 70 6c 69 63 61 74 65 22 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 42 72 6f | kOrBackDuplicate".oncommand="Bro |
6d900 | 77 73 65 72 42 61 63 6b 28 65 76 65 6e 74 29 3b 22 20 64 69 73 61 62 6c 65 64 3d 22 74 72 75 65 | wserBack(event);".disabled="true |
6d920 | 22 3e 0a 20 20 20 20 20 20 3c 6f 62 73 65 72 76 65 73 20 65 6c 65 6d 65 6e 74 3d 22 42 72 6f 77 | ">.......<observes.element="Brow |
6d940 | 73 65 72 3a 42 61 63 6b 22 20 61 74 74 72 69 62 75 74 65 3d 22 64 69 73 61 62 6c 65 64 22 2f 3e | ser:Back".attribute="disabled"/> |
6d960 | 0a 20 20 20 20 3c 2f 63 6f 6d 6d 61 6e 64 3e 0a 20 20 20 20 3c 63 6f 6d 6d 61 6e 64 20 69 64 3d | .....</command>.....<command.id= |
6d980 | 22 42 72 6f 77 73 65 72 3a 46 6f 72 77 61 72 64 22 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 42 72 6f | "Browser:Forward".oncommand="Bro |
6d9a0 | 77 73 65 72 46 6f 72 77 61 72 64 28 29 3b 22 20 64 69 73 61 62 6c 65 64 3d 22 74 72 75 65 22 2f | wserForward();".disabled="true"/ |
6d9c0 | 3e 0a 20 20 20 20 3c 63 6f 6d 6d 61 6e 64 20 69 64 3d 22 42 72 6f 77 73 65 72 3a 46 6f 72 77 61 | >.....<command.id="Browser:Forwa |
6d9e0 | 72 64 4f 72 46 6f 72 77 61 72 64 44 75 70 6c 69 63 61 74 65 22 20 6f 6e 63 6f 6d 6d 61 6e 64 3d | rdOrForwardDuplicate".oncommand= |
6da00 | 22 42 72 6f 77 73 65 72 46 6f 72 77 61 72 64 28 65 76 65 6e 74 29 3b 22 20 64 69 73 61 62 6c 65 | "BrowserForward(event);".disable |
6da20 | 64 3d 22 74 72 75 65 22 3e 0a 20 20 20 20 20 20 3c 6f 62 73 65 72 76 65 73 20 65 6c 65 6d 65 6e | d="true">.......<observes.elemen |
6da40 | 74 3d 22 42 72 6f 77 73 65 72 3a 46 6f 72 77 61 72 64 22 20 61 74 74 72 69 62 75 74 65 3d 22 64 | t="Browser:Forward".attribute="d |
6da60 | 69 73 61 62 6c 65 64 22 2f 3e 0a 20 20 20 20 3c 2f 63 6f 6d 6d 61 6e 64 3e 0a 20 20 20 20 3c 63 | isabled"/>.....</command>.....<c |
6da80 | 6f 6d 6d 61 6e 64 20 69 64 3d 22 42 72 6f 77 73 65 72 3a 53 74 6f 70 22 20 20 20 20 6f 6e 63 6f | ommand.id="Browser:Stop"....onco |
6daa0 | 6d 6d 61 6e 64 3d 22 42 72 6f 77 73 65 72 53 74 6f 70 28 29 3b 22 20 64 69 73 61 62 6c 65 64 3d | mmand="BrowserStop();".disabled= |
6dac0 | 22 74 72 75 65 22 2f 3e 0a 20 20 20 20 3c 63 6f 6d 6d 61 6e 64 20 69 64 3d 22 42 72 6f 77 73 65 | "true"/>.....<command.id="Browse |
6dae0 | 72 3a 52 65 6c 6f 61 64 22 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 69 66 20 28 65 76 65 6e 74 2e | r:Reload"..oncommand="if.(event. |
6db00 | 73 68 69 66 74 4b 65 79 29 20 42 72 6f 77 73 65 72 52 65 6c 6f 61 64 53 6b 69 70 43 61 63 68 65 | shiftKey).BrowserReloadSkipCache |
6db20 | 28 29 3b 20 65 6c 73 65 20 42 72 6f 77 73 65 72 52 65 6c 6f 61 64 28 29 22 20 64 69 73 61 62 6c | ();.else.BrowserReload()".disabl |
6db40 | 65 64 3d 22 74 72 75 65 22 2f 3e 0a 20 20 20 20 3c 63 6f 6d 6d 61 6e 64 20 69 64 3d 22 42 72 6f | ed="true"/>.....<command.id="Bro |
6db60 | 77 73 65 72 3a 52 65 6c 6f 61 64 4f 72 44 75 70 6c 69 63 61 74 65 22 20 6f 6e 63 6f 6d 6d 61 6e | wser:ReloadOrDuplicate".oncomman |
6db80 | 64 3d 22 42 72 6f 77 73 65 72 52 65 6c 6f 61 64 4f 72 44 75 70 6c 69 63 61 74 65 28 65 76 65 6e | d="BrowserReloadOrDuplicate(even |
6dba0 | 74 29 22 20 64 69 73 61 62 6c 65 64 3d 22 74 72 75 65 22 3e 0a 20 20 20 20 20 20 3c 6f 62 73 65 | t)".disabled="true">.......<obse |
6dbc0 | 72 76 65 73 20 65 6c 65 6d 65 6e 74 3d 22 42 72 6f 77 73 65 72 3a 52 65 6c 6f 61 64 22 20 61 74 | rves.element="Browser:Reload".at |
6dbe0 | 74 72 69 62 75 74 65 3d 22 64 69 73 61 62 6c 65 64 22 2f 3e 0a 20 20 20 20 3c 2f 63 6f 6d 6d 61 | tribute="disabled"/>.....</comma |
6dc00 | 6e 64 3e 0a 20 20 20 20 3c 63 6f 6d 6d 61 6e 64 20 69 64 3d 22 42 72 6f 77 73 65 72 3a 52 65 6c | nd>.....<command.id="Browser:Rel |
6dc20 | 6f 61 64 53 6b 69 70 43 61 63 68 65 22 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 42 72 6f 77 73 65 72 | oadSkipCache".oncommand="Browser |
6dc40 | 52 65 6c 6f 61 64 53 6b 69 70 43 61 63 68 65 28 29 22 20 64 69 73 61 62 6c 65 64 3d 22 74 72 75 | ReloadSkipCache()".disabled="tru |
6dc60 | 65 22 3e 0a 20 20 20 20 20 20 3c 6f 62 73 65 72 76 65 73 20 65 6c 65 6d 65 6e 74 3d 22 42 72 6f | e">.......<observes.element="Bro |
6dc80 | 77 73 65 72 3a 52 65 6c 6f 61 64 22 20 61 74 74 72 69 62 75 74 65 3d 22 64 69 73 61 62 6c 65 64 | wser:Reload".attribute="disabled |
6dca0 | 22 2f 3e 0a 20 20 20 20 3c 2f 63 6f 6d 6d 61 6e 64 3e 0a 20 20 20 20 3c 63 6f 6d 6d 61 6e 64 20 | "/>.....</command>.....<command. |
6dcc0 | 69 64 3d 22 42 72 6f 77 73 65 72 3a 4e 65 78 74 54 61 62 22 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 | id="Browser:NextTab".oncommand=" |
6dce0 | 67 42 72 6f 77 73 65 72 2e 6d 54 61 62 43 6f 6e 74 61 69 6e 65 72 2e 61 64 76 61 6e 63 65 53 65 | gBrowser.mTabContainer.advanceSe |
6dd00 | 6c 65 63 74 65 64 54 61 62 28 31 2c 20 74 72 75 65 29 3b 22 2f 3e 0a 20 20 20 20 3c 63 6f 6d 6d | lectedTab(1,.true);"/>.....<comm |
6dd20 | 61 6e 64 20 69 64 3d 22 42 72 6f 77 73 65 72 3a 50 72 65 76 54 61 62 22 20 6f 6e 63 6f 6d 6d 61 | and.id="Browser:PrevTab".oncomma |
6dd40 | 6e 64 3d 22 67 42 72 6f 77 73 65 72 2e 6d 54 61 62 43 6f 6e 74 61 69 6e 65 72 2e 61 64 76 61 6e | nd="gBrowser.mTabContainer.advan |
6dd60 | 63 65 53 65 6c 65 63 74 65 64 54 61 62 28 2d 31 2c 20 74 72 75 65 29 3b 22 2f 3e 0a 20 20 20 20 | ceSelectedTab(-1,.true);"/>..... |
6dd80 | 3c 63 6f 6d 6d 61 6e 64 20 69 64 3d 22 63 6d 64 5f 66 75 6c 6c 5a 6f 6f 6d 52 65 64 75 63 65 22 | <command.id="cmd_fullZoomReduce" |
6dda0 | 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 46 75 6c 6c 5a 6f 6f 6d 2e 72 65 64 75 63 65 28 29 22 2f | ..oncommand="FullZoom.reduce()"/ |
6ddc0 | 3e 0a 20 20 20 20 3c 63 6f 6d 6d 61 6e 64 20 69 64 3d 22 63 6d 64 5f 66 75 6c 6c 5a 6f 6f 6d 45 | >.....<command.id="cmd_fullZoomE |
6dde0 | 6e 6c 61 72 67 65 22 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 46 75 6c 6c 5a 6f 6f 6d 2e 65 6e 6c 61 | nlarge".oncommand="FullZoom.enla |
6de00 | 72 67 65 28 29 22 2f 3e 0a 20 20 20 20 3c 63 6f 6d 6d 61 6e 64 20 69 64 3d 22 63 6d 64 5f 66 75 | rge()"/>.....<command.id="cmd_fu |
6de20 | 6c 6c 5a 6f 6f 6d 52 65 73 65 74 22 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 46 75 6c 6c 5a 6f | llZoomReset"...oncommand="FullZo |
6de40 | 6f 6d 2e 72 65 73 65 74 28 29 22 2f 3e 0a 20 20 20 20 3c 63 6f 6d 6d 61 6e 64 20 69 64 3d 22 63 | om.reset()"/>.....<command.id="c |
6de60 | 6d 64 5f 66 75 6c 6c 5a 6f 6f 6d 54 6f 67 67 6c 65 22 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 5a | md_fullZoomToggle"..oncommand="Z |
6de80 | 6f 6f 6d 4d 61 6e 61 67 65 72 2e 74 6f 67 67 6c 65 5a 6f 6f 6d 28 29 3b 22 2f 3e 0a 20 20 20 20 | oomManager.toggleZoom();"/>..... |
6dea0 | 3c 63 6f 6d 6d 61 6e 64 20 69 64 3d 22 42 72 6f 77 73 65 72 3a 4f 70 65 6e 4c 6f 63 61 74 69 6f | <command.id="Browser:OpenLocatio |
6dec0 | 6e 22 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 6f 70 65 6e 4c 6f 63 61 74 69 6f 6e 28 29 3b 22 2f 3e | n".oncommand="openLocation();"/> |
6dee0 | 0a 0a 20 20 20 20 3c 63 6f 6d 6d 61 6e 64 20 69 64 3d 22 54 6f 6f 6c 73 3a 53 65 61 72 63 68 22 | ......<command.id="Tools:Search" |
6df00 | 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 42 72 6f 77 73 65 72 53 65 61 72 63 68 2e 77 65 62 53 65 61 | .oncommand="BrowserSearch.webSea |
6df20 | 72 63 68 28 29 3b 22 2f 3e 20 20 20 20 0a 20 20 20 20 3c 63 6f 6d 6d 61 6e 64 20 69 64 3d 22 54 | rch();"/>.........<command.id="T |
6df40 | 6f 6f 6c 73 3a 44 6f 77 6e 6c 6f 61 64 73 22 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 42 72 6f 77 73 | ools:Downloads".oncommand="Brows |
6df60 | 65 72 44 6f 77 6e 6c 6f 61 64 73 55 49 28 29 3b 22 2f 3e 0a 20 20 20 20 3c 63 6f 6d 6d 61 6e 64 | erDownloadsUI();"/>.....<command |
6df80 | 20 69 64 3d 22 54 6f 6f 6c 73 3a 41 64 64 6f 6e 73 22 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 42 72 | .id="Tools:Addons".oncommand="Br |
6dfa0 | 6f 77 73 65 72 4f 70 65 6e 41 64 64 6f 6e 73 4d 67 72 28 29 3b 22 2f 3e 0a 20 20 20 20 3c 63 6f | owserOpenAddonsMgr();"/>.....<co |
6dfc0 | 6d 6d 61 6e 64 20 69 64 3d 22 54 6f 6f 6c 73 3a 53 61 6e 69 74 69 7a 65 22 0a 20 20 20 20 20 6f | mmand.id="Tools:Sanitize"......o |
6dfe0 | 6e 63 6f 6d 6d 61 6e 64 3d 22 43 63 5b 47 4c 55 45 5f 43 49 44 5d 2e 67 65 74 53 65 72 76 69 63 | ncommand="Cc[GLUE_CID].getServic |
6e000 | 65 28 43 69 2e 6e 73 49 42 72 6f 77 73 65 72 47 6c 75 65 29 2e 73 61 6e 69 74 69 7a 65 28 77 69 | e(Ci.nsIBrowserGlue).sanitize(wi |
6e020 | 6e 64 6f 77 20 7c 7c 20 6e 75 6c 6c 29 3b 22 2f 3e 0a 20 20 20 20 3c 63 6f 6d 6d 61 6e 64 20 69 | ndow.||.null);"/>.....<command.i |
6e040 | 64 3d 22 54 6f 6f 6c 73 3a 50 72 69 76 61 74 65 42 72 6f 77 73 69 6e 67 22 20 6f 6e 63 6f 6d 6d | d="Tools:PrivateBrowsing".oncomm |
6e060 | 61 6e 64 3d 22 67 50 72 69 76 61 74 65 42 72 6f 77 73 69 6e 67 55 49 2e 74 6f 67 67 6c 65 4d 6f | and="gPrivateBrowsingUI.toggleMo |
6e080 | 64 65 28 29 3b 22 2f 3e 0a 20 20 20 20 3c 63 6f 6d 6d 61 6e 64 20 69 64 3d 22 48 69 73 74 6f 72 | de();"/>.....<command.id="Histor |
6e0a0 | 79 3a 55 6e 64 6f 43 6c 6f 73 65 54 61 62 22 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 75 6e 64 6f 43 | y:UndoCloseTab".oncommand="undoC |
6e0c0 | 6c 6f 73 65 54 61 62 28 29 3b 22 2f 3e 0a 20 20 20 20 3c 63 6f 6d 6d 61 6e 64 20 69 64 3d 22 48 | loseTab();"/>.....<command.id="H |
6e0e0 | 69 73 74 6f 72 79 3a 55 6e 64 6f 43 6c 6f 73 65 57 69 6e 64 6f 77 22 20 6f 6e 63 6f 6d 6d 61 6e | istory:UndoCloseWindow".oncomman |
6e100 | 64 3d 22 75 6e 64 6f 43 6c 6f 73 65 57 69 6e 64 6f 77 28 29 3b 22 2f 3e 0a 20 20 3c 2f 63 6f 6d | d="undoCloseWindow();"/>...</com |
6e120 | 6d 61 6e 64 73 65 74 3e 0a 0a 20 20 3c 63 6f 6d 6d 61 6e 64 73 65 74 20 69 64 3d 22 70 6c 61 63 | mandset>....<commandset.id="plac |
6e140 | 65 73 43 6f 6d 6d 61 6e 64 73 22 3e 0a 20 20 20 20 3c 63 6f 6d 6d 61 6e 64 20 69 64 3d 22 42 72 | esCommands">.....<command.id="Br |
6e160 | 6f 77 73 65 72 3a 53 68 6f 77 41 6c 6c 42 6f 6f 6b 6d 61 72 6b 73 22 0a 20 20 20 20 20 20 20 20 | owser:ShowAllBookmarks"......... |
6e180 | 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 50 6c 61 63 65 73 43 6f 6d 6d 61 6e 64 48 6f 6f | .....oncommand="PlacesCommandHoo |
6e1a0 | 6b 2e 73 68 6f 77 50 6c 61 63 65 73 4f 72 67 61 6e 69 7a 65 72 28 27 41 6c 6c 42 6f 6f 6b 6d 61 | k.showPlacesOrganizer('AllBookma |
6e1c0 | 72 6b 73 27 29 3b 22 2f 3e 0a 20 20 20 20 3c 63 6f 6d 6d 61 6e 64 20 69 64 3d 22 42 72 6f 77 73 | rks');"/>.....<command.id="Brows |
6e1e0 | 65 72 3a 53 68 6f 77 41 6c 6c 48 69 73 74 6f 72 79 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | er:ShowAllHistory".............. |
6e200 | 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 50 6c 61 63 65 73 43 6f 6d 6d 61 6e 64 48 6f 6f 6b 2e 73 68 6f | oncommand="PlacesCommandHook.sho |
6e220 | 77 50 6c 61 63 65 73 4f 72 67 61 6e 69 7a 65 72 28 27 48 69 73 74 6f 72 79 27 29 3b 22 2f 3e 0a | wPlacesOrganizer('History');"/>. |
6e240 | 20 20 3c 2f 63 6f 6d 6d 61 6e 64 73 65 74 3e 0a 0a 20 20 3c 62 72 6f 61 64 63 61 73 74 65 72 73 | ..</commandset>....<broadcasters |
6e260 | 65 74 20 69 64 3d 22 6d 61 69 6e 42 72 6f 61 64 63 61 73 74 65 72 53 65 74 22 3e 0a 20 20 20 20 | et.id="mainBroadcasterSet">..... |
6e280 | 3c 62 72 6f 61 64 63 61 73 74 65 72 20 69 64 3d 22 76 69 65 77 42 6f 6f 6b 6d 61 72 6b 73 53 69 | <broadcaster.id="viewBookmarksSi |
6e2a0 | 64 65 62 61 72 22 20 61 75 74 6f 43 68 65 63 6b 3d 22 66 61 6c 73 65 22 20 6c 61 62 65 6c 3d 22 | debar".autoCheck="false".label=" |
6e2c0 | 26 62 6f 6f 6b 6d 61 72 6b 73 42 75 74 74 6f 6e 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 | &bookmarksButton.label;"........ |
6e2e0 | 20 20 20 20 20 20 20 20 20 20 74 79 70 65 3d 22 63 68 65 63 6b 62 6f 78 22 20 67 72 6f 75 70 3d | ..........type="checkbox".group= |
6e300 | 22 73 69 64 65 62 61 72 22 20 73 69 64 65 62 61 72 75 72 6c 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 | "sidebar".sidebarurl="chrome://b |
6e320 | 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 62 6f 6f 6b 6d 61 72 6b 73 2f 62 6f 6f 6b 6d 61 72 | rowser/content/bookmarks/bookmar |
6e340 | 6b 73 50 61 6e 65 6c 2e 78 75 6c 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e | ksPanel.xul"..................on |
6e360 | 63 6f 6d 6d 61 6e 64 3d 22 74 6f 67 67 6c 65 53 69 64 65 62 61 72 28 27 76 69 65 77 42 6f 6f 6b | command="toggleSidebar('viewBook |
6e380 | 6d 61 72 6b 73 53 69 64 65 62 61 72 27 29 3b 22 2f 3e 0a 0a 20 20 20 20 3c 21 2d 2d 20 66 6f 72 | marksSidebar');"/>......<!--.for |
6e3a0 | 20 62 6f 74 68 20 70 6c 61 63 65 73 20 61 6e 64 20 6e 6f 6e 2d 70 6c 61 63 65 73 2c 20 74 68 65 | .both.places.and.non-places,.the |
6e3c0 | 20 73 69 64 65 62 61 72 20 6c 69 76 65 73 20 61 74 20 0a 20 20 20 20 20 20 20 20 20 63 68 72 6f | .sidebar.lives.at...........chro |
6e3e0 | 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 68 69 73 74 6f 72 79 2f 68 69 73 | me://browser/content/history/his |
6e400 | 74 6f 72 79 2d 70 61 6e 65 6c 2e 78 75 6c 20 73 6f 20 74 68 65 72 65 20 61 72 65 20 6e 6f 0a 20 | tory-panel.xul.so.there.are.no.. |
6e420 | 20 20 20 20 20 20 20 20 70 72 6f 62 6c 65 6d 73 20 77 68 65 6e 20 73 77 69 74 63 68 69 6e 67 20 | ........problems.when.switching. |
6e440 | 62 65 74 77 65 65 6e 20 76 65 72 73 69 6f 6e 73 20 2d 2d 3e 0a 20 20 20 20 3c 62 72 6f 61 64 63 | between.versions.-->.....<broadc |
6e460 | 61 73 74 65 72 20 69 64 3d 22 76 69 65 77 48 69 73 74 6f 72 79 53 69 64 65 62 61 72 22 20 61 75 | aster.id="viewHistorySidebar".au |
6e480 | 74 6f 43 68 65 63 6b 3d 22 66 61 6c 73 65 22 20 73 69 64 65 62 61 72 74 69 74 6c 65 3d 22 26 68 | toCheck="false".sidebartitle="&h |
6e4a0 | 69 73 74 6f 72 79 42 75 74 74 6f 6e 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 | istoryButton.label;"............ |
6e4c0 | 20 20 20 20 20 20 74 79 70 65 3d 22 63 68 65 63 6b 62 6f 78 22 20 67 72 6f 75 70 3d 22 73 69 64 | ......type="checkbox".group="sid |
6e4e0 | 65 62 61 72 22 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 69 64 65 62 61 72 75 | ebar"...................sidebaru |
6e500 | 72 6c 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 68 69 73 | rl="chrome://browser/content/his |
6e520 | 74 6f 72 79 2f 68 69 73 74 6f 72 79 2d 70 61 6e 65 6c 2e 78 75 6c 22 0a 20 20 20 20 20 20 20 20 | tory/history-panel.xul"......... |
6e540 | 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 74 6f 67 67 6c 65 53 69 64 65 62 61 | .........oncommand="toggleSideba |
6e560 | 72 28 27 76 69 65 77 48 69 73 74 6f 72 79 53 69 64 65 62 61 72 27 29 3b 22 2f 3e 0a 20 20 20 20 | r('viewHistorySidebar');"/>..... |
6e580 | 20 20 20 20 20 20 20 20 20 20 20 20 20 0a 20 20 20 20 3c 62 72 6f 61 64 63 61 73 74 65 72 20 69 | ..................<broadcaster.i |
6e5a0 | 64 3d 22 76 69 65 77 57 65 62 50 61 6e 65 6c 73 53 69 64 65 62 61 72 22 20 61 75 74 6f 43 68 65 | d="viewWebPanelsSidebar".autoChe |
6e5c0 | 63 6b 3d 22 66 61 6c 73 65 22 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 79 70 | ck="false"...................typ |
6e5e0 | 65 3d 22 63 68 65 63 6b 62 6f 78 22 20 67 72 6f 75 70 3d 22 73 69 64 65 62 61 72 22 20 73 69 64 | e="checkbox".group="sidebar".sid |
6e600 | 65 62 61 72 75 72 6c 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e | ebarurl="chrome://browser/conten |
6e620 | 74 2f 77 65 62 2d 70 61 6e 65 6c 73 2e 78 75 6c 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | t/web-panels.xul"............... |
6e640 | 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 74 6f 67 67 6c 65 53 69 64 65 62 61 72 28 27 76 69 65 | ...oncommand="toggleSidebar('vie |
6e660 | 77 57 65 62 50 61 6e 65 6c 73 53 69 64 65 62 61 72 27 29 3b 22 2f 3e 0a 0a 20 20 20 20 3c 21 2d | wWebPanelsSidebar');"/>......<!- |
6e680 | 2d 20 70 6f 70 75 70 20 62 6c 6f 63 6b 69 6e 67 20 6d 65 6e 75 20 69 74 65 6d 73 20 2d 2d 3e 0a | -.popup.blocking.menu.items.-->. |
6e6a0 | 20 20 20 20 3c 62 72 6f 61 64 63 61 73 74 65 72 20 69 64 3d 22 62 6c 6f 63 6b 65 64 50 6f 70 75 | ....<broadcaster.id="blockedPopu |
6e6c0 | 70 41 6c 6c 6f 77 53 69 74 65 22 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 | pAllowSite"...................ac |
6e6e0 | 63 65 73 73 6b 65 79 3d 22 26 61 6c 6c 6f 77 50 6f 70 75 70 73 2e 61 63 63 65 73 73 6b 65 79 3b | cesskey="&allowPopups.accesskey; |
6e700 | 22 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 | "...................oncommand="g |
6e720 | 50 6f 70 75 70 42 6c 6f 63 6b 65 72 4f 62 73 65 72 76 65 72 2e 74 6f 67 67 6c 65 41 6c 6c 6f 77 | PopupBlockerObserver.toggleAllow |
6e740 | 50 6f 70 75 70 73 46 6f 72 53 69 74 65 28 65 76 65 6e 74 29 3b 22 2f 3e 0a 20 20 20 20 3c 62 72 | PopupsForSite(event);"/>.....<br |
6e760 | 6f 61 64 63 61 73 74 65 72 20 69 64 3d 22 62 6c 6f 63 6b 65 64 50 6f 70 75 70 45 64 69 74 53 65 | oadcaster.id="blockedPopupEditSe |
6e780 | 74 74 69 6e 67 73 22 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d | ttings"...................label= |
6e7a0 | 22 26 65 64 69 74 50 6f 70 75 70 53 65 74 74 69 6e 67 73 55 6e 69 78 2e 6c 61 62 65 6c 3b 22 20 | "&editPopupSettingsUnix.label;". |
6e7c0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 65 64 | ..................accesskey="&ed |
6e7e0 | 69 74 50 6f 70 75 70 53 65 74 74 69 6e 67 73 2e 61 63 63 65 73 73 6b 65 79 3b 22 20 0a 20 20 20 | itPopupSettings.accesskey;"..... |
6e800 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 50 6f 70 75 70 42 | ..............oncommand="gPopupB |
6e820 | 6c 6f 63 6b 65 72 4f 62 73 65 72 76 65 72 2e 65 64 69 74 50 6f 70 75 70 53 65 74 74 69 6e 67 73 | lockerObserver.editPopupSettings |
6e840 | 28 29 3b 22 2f 3e 0a 20 20 20 20 3c 62 72 6f 61 64 63 61 73 74 65 72 20 69 64 3d 22 62 6c 6f 63 | ();"/>.....<broadcaster.id="bloc |
6e860 | 6b 65 64 50 6f 70 75 70 44 6f 6e 74 53 68 6f 77 4d 65 73 73 61 67 65 22 20 0a 20 20 20 20 20 20 | kedPopupDontShowMessage"........ |
6e880 | 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 64 6f 6e 74 53 68 6f 77 4d | ...........accesskey="&dontShowM |
6e8a0 | 65 73 73 61 67 65 2e 61 63 63 65 73 73 6b 65 79 3b 22 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 | essage.accesskey;".............. |
6e8c0 | 20 20 20 20 20 74 79 70 65 3d 22 63 68 65 63 6b 62 6f 78 22 0a 20 20 20 20 20 20 20 20 20 20 20 | .....type="checkbox"............ |
6e8e0 | 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 50 6f 70 75 70 42 6c 6f 63 6b 65 72 4f 62 | ......oncommand="gPopupBlockerOb |
6e900 | 73 65 72 76 65 72 2e 64 6f 6e 74 53 68 6f 77 4d 65 73 73 61 67 65 28 29 3b 22 2f 3e 0a 20 20 20 | server.dontShowMessage();"/>.... |
6e920 | 20 3c 62 72 6f 61 64 63 61 73 74 65 72 20 69 64 3d 22 62 6c 6f 63 6b 65 64 50 6f 70 75 70 73 53 | .<broadcaster.id="blockedPopupsS |
6e940 | 65 70 61 72 61 74 6f 72 22 2f 3e 0a 20 20 20 20 3c 62 72 6f 61 64 63 61 73 74 65 72 20 69 64 3d | eparator"/>.....<broadcaster.id= |
6e960 | 22 69 73 49 6d 61 67 65 22 2f 3e 0a 20 20 20 20 3c 62 72 6f 61 64 63 61 73 74 65 72 20 69 64 3d | "isImage"/>.....<broadcaster.id= |
6e980 | 22 69 73 46 72 61 6d 65 49 6d 61 67 65 22 2f 3e 0a 20 20 3c 2f 62 72 6f 61 64 63 61 73 74 65 72 | "isFrameImage"/>...</broadcaster |
6e9a0 | 73 65 74 3e 0a 0a 20 20 3c 6b 65 79 73 65 74 20 69 64 3d 22 6d 61 69 6e 4b 65 79 73 65 74 22 3e | set>....<keyset.id="mainKeyset"> |
6e9c0 | 0a 20 20 20 20 3c 6b 65 79 20 69 64 3d 22 6b 65 79 5f 6e 65 77 4e 61 76 69 67 61 74 6f 72 22 0a | .....<key.id="key_newNavigator". |
6e9e0 | 20 20 20 20 20 20 20 20 20 6b 65 79 3d 22 26 6e 65 77 4e 61 76 69 67 61 74 6f 72 43 6d 64 2e 6b | .........key="&newNavigatorCmd.k |
6ea00 | 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 63 6d 64 5f 6e 65 77 4e 61 | ey;"..........command="cmd_newNa |
6ea20 | 76 69 67 61 74 6f 72 22 0a 20 20 20 20 20 20 20 20 20 6d 6f 64 69 66 69 65 72 73 3d 22 61 63 63 | vigator"..........modifiers="acc |
6ea40 | 65 6c 22 2f 3e 0a 20 20 20 20 3c 6b 65 79 20 69 64 3d 22 6b 65 79 5f 6e 65 77 4e 61 76 69 67 61 | el"/>.....<key.id="key_newNaviga |
6ea60 | 74 6f 72 54 61 62 22 20 6b 65 79 3d 22 26 74 61 62 43 6d 64 2e 63 6f 6d 6d 61 6e 64 6b 65 79 3b | torTab".key="&tabCmd.commandkey; |
6ea80 | 22 20 6d 6f 64 69 66 69 65 72 73 3d 22 61 63 63 65 6c 22 20 63 6f 6d 6d 61 6e 64 3d 22 63 6d 64 | ".modifiers="accel".command="cmd |
6eaa0 | 5f 6e 65 77 4e 61 76 69 67 61 74 6f 72 54 61 62 22 2f 3e 0a 20 20 20 20 3c 6b 65 79 20 69 64 3d | _newNavigatorTab"/>.....<key.id= |
6eac0 | 22 66 6f 63 75 73 55 52 4c 42 61 72 22 20 6b 65 79 3d 22 26 6f 70 65 6e 43 6d 64 2e 63 6f 6d 6d | "focusURLBar".key="&openCmd.comm |
6eae0 | 61 6e 64 6b 65 79 3b 22 20 63 6f 6d 6d 61 6e 64 3d 22 42 72 6f 77 73 65 72 3a 4f 70 65 6e 4c 6f | andkey;".command="Browser:OpenLo |
6eb00 | 63 61 74 69 6f 6e 22 0a 20 20 20 20 20 20 20 20 20 6d 6f 64 69 66 69 65 72 73 3d 22 61 63 63 65 | cation"..........modifiers="acce |
6eb20 | 6c 22 2f 3e 0a 20 20 20 20 3c 6b 65 79 20 69 64 3d 22 66 6f 63 75 73 55 52 4c 42 61 72 32 22 20 | l"/>.....<key.id="focusURLBar2". |
6eb40 | 6b 65 79 3d 22 26 75 72 6c 62 61 72 2e 61 63 63 65 73 73 6b 65 79 3b 22 20 63 6f 6d 6d 61 6e 64 | key="&urlbar.accesskey;".command |
6eb60 | 3d 22 42 72 6f 77 73 65 72 3a 4f 70 65 6e 4c 6f 63 61 74 69 6f 6e 22 0a 20 20 20 20 20 20 20 20 | ="Browser:OpenLocation"......... |
6eb80 | 20 6d 6f 64 69 66 69 65 72 73 3d 22 61 6c 74 22 2f 3e 0a 0a 20 20 20 20 3c 6b 65 79 20 69 64 3d | .modifiers="alt"/>......<key.id= |
6eba0 | 22 6b 65 79 5f 73 65 61 72 63 68 22 20 6b 65 79 3d 22 26 73 65 61 72 63 68 46 6f 63 75 73 2e 63 | "key_search".key="&searchFocus.c |
6ebc0 | 6f 6d 6d 61 6e 64 6b 65 79 3b 22 20 63 6f 6d 6d 61 6e 64 3d 22 54 6f 6f 6c 73 3a 53 65 61 72 63 | ommandkey;".command="Tools:Searc |
6ebe0 | 68 22 20 6d 6f 64 69 66 69 65 72 73 3d 22 61 63 63 65 6c 22 2f 3e 0a 20 20 20 20 3c 6b 65 79 20 | h".modifiers="accel"/>.....<key. |
6ec00 | 69 64 3d 22 6b 65 79 5f 73 65 61 72 63 68 32 22 20 6b 65 79 3d 22 26 73 65 61 72 63 68 46 6f 63 | id="key_search2".key="&searchFoc |
6ec20 | 75 73 55 6e 69 78 2e 63 6f 6d 6d 61 6e 64 6b 65 79 3b 22 20 63 6f 6d 6d 61 6e 64 3d 22 54 6f 6f | usUnix.commandkey;".command="Too |
6ec40 | 6c 73 3a 53 65 61 72 63 68 22 20 6d 6f 64 69 66 69 65 72 73 3d 22 61 63 63 65 6c 22 2f 3e 0a 20 | ls:Search".modifiers="accel"/>.. |
6ec60 | 20 20 20 3c 6b 65 79 20 69 64 3d 22 6b 65 79 5f 6f 70 65 6e 44 6f 77 6e 6c 6f 61 64 73 22 20 6b | ...<key.id="key_openDownloads".k |
6ec80 | 65 79 3d 22 26 64 6f 77 6e 6c 6f 61 64 73 55 6e 69 78 2e 63 6f 6d 6d 61 6e 64 6b 65 79 3b 22 20 | ey="&downloadsUnix.commandkey;". |
6eca0 | 63 6f 6d 6d 61 6e 64 3d 22 54 6f 6f 6c 73 3a 44 6f 77 6e 6c 6f 61 64 73 22 20 6d 6f 64 69 66 69 | command="Tools:Downloads".modifi |
6ecc0 | 65 72 73 3d 22 61 63 63 65 6c 2c 73 68 69 66 74 22 2f 3e 0a 20 20 20 20 3c 6b 65 79 20 69 64 3d | ers="accel,shift"/>.....<key.id= |
6ece0 | 22 6b 65 79 5f 65 72 72 6f 72 43 6f 6e 73 6f 6c 65 22 20 6b 65 79 3d 22 26 65 72 72 6f 72 43 6f | "key_errorConsole".key="&errorCo |
6ed00 | 6e 73 6f 6c 65 43 6d 64 2e 63 6f 6d 6d 61 6e 64 6b 65 79 3b 22 20 6f 6e 63 6f 6d 6d 61 6e 64 3d | nsoleCmd.commandkey;".oncommand= |
6ed20 | 22 74 6f 4a 61 76 61 53 63 72 69 70 74 43 6f 6e 73 6f 6c 65 28 29 3b 22 20 6d 6f 64 69 66 69 65 | "toJavaScriptConsole();".modifie |
6ed40 | 72 73 3d 22 61 63 63 65 6c 2c 73 68 69 66 74 22 2f 3e 0a 20 20 20 20 3c 6b 65 79 20 69 64 3d 22 | rs="accel,shift"/>.....<key.id=" |
6ed60 | 6f 70 65 6e 46 69 6c 65 4b 62 22 20 6b 65 79 3d 22 26 6f 70 65 6e 46 69 6c 65 43 6d 64 2e 63 6f | openFileKb".key="&openFileCmd.co |
6ed80 | 6d 6d 61 6e 64 6b 65 79 3b 22 20 63 6f 6d 6d 61 6e 64 3d 22 42 72 6f 77 73 65 72 3a 4f 70 65 6e | mmandkey;".command="Browser:Open |
6eda0 | 46 69 6c 65 22 20 20 6d 6f 64 69 66 69 65 72 73 3d 22 61 63 63 65 6c 22 2f 3e 0a 20 20 20 20 3c | File"..modifiers="accel"/>.....< |
6edc0 | 6b 65 79 20 69 64 3d 22 6b 65 79 5f 73 61 76 65 50 61 67 65 22 20 6b 65 79 3d 22 26 73 61 76 65 | key.id="key_savePage".key="&save |
6ede0 | 50 61 67 65 43 6d 64 2e 63 6f 6d 6d 61 6e 64 6b 65 79 3b 22 20 63 6f 6d 6d 61 6e 64 3d 22 42 72 | PageCmd.commandkey;".command="Br |
6ee00 | 6f 77 73 65 72 3a 53 61 76 65 50 61 67 65 22 20 6d 6f 64 69 66 69 65 72 73 3d 22 61 63 63 65 6c | owser:SavePage".modifiers="accel |
6ee20 | 22 2f 3e 0a 20 20 20 20 3c 6b 65 79 20 69 64 3d 22 70 72 69 6e 74 4b 62 22 20 6b 65 79 3d 22 26 | "/>.....<key.id="printKb".key="& |
6ee40 | 70 72 69 6e 74 43 6d 64 2e 63 6f 6d 6d 61 6e 64 6b 65 79 3b 22 20 63 6f 6d 6d 61 6e 64 3d 22 63 | printCmd.commandkey;".command="c |
6ee60 | 6d 64 5f 70 72 69 6e 74 22 20 20 6d 6f 64 69 66 69 65 72 73 3d 22 61 63 63 65 6c 22 2f 3e 0a 20 | md_print"..modifiers="accel"/>.. |
6ee80 | 20 20 20 3c 6b 65 79 20 69 64 3d 22 6b 65 79 5f 63 6c 6f 73 65 22 20 6b 65 79 3d 22 26 63 6c 6f | ...<key.id="key_close".key="&clo |
6eea0 | 73 65 43 6d 64 2e 6b 65 79 3b 22 20 63 6f 6d 6d 61 6e 64 3d 22 63 6d 64 5f 63 6c 6f 73 65 22 20 | seCmd.key;".command="cmd_close". |
6eec0 | 6d 6f 64 69 66 69 65 72 73 3d 22 61 63 63 65 6c 22 2f 3e 0a 20 20 20 20 3c 6b 65 79 20 69 64 3d | modifiers="accel"/>.....<key.id= |
6eee0 | 22 6b 65 79 5f 63 6c 6f 73 65 57 69 6e 64 6f 77 22 20 6b 65 79 3d 22 26 63 6c 6f 73 65 43 6d 64 | "key_closeWindow".key="&closeCmd |
6ef00 | 2e 6b 65 79 3b 22 20 63 6f 6d 6d 61 6e 64 3d 22 63 6d 64 5f 63 6c 6f 73 65 57 69 6e 64 6f 77 22 | .key;".command="cmd_closeWindow" |
6ef20 | 20 6d 6f 64 69 66 69 65 72 73 3d 22 61 63 63 65 6c 2c 73 68 69 66 74 22 2f 3e 0a 20 20 20 20 3c | .modifiers="accel,shift"/>.....< |
6ef40 | 6b 65 79 20 69 64 3d 22 6b 65 79 5f 75 6e 64 6f 22 0a 20 20 20 20 20 20 20 20 20 6b 65 79 3d 22 | key.id="key_undo"..........key=" |
6ef60 | 26 75 6e 64 6f 43 6d 64 2e 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 6d 6f 64 69 66 69 65 72 | &undoCmd.key;"..........modifier |
6ef80 | 73 3d 22 61 63 63 65 6c 22 2f 3e 0a 20 20 20 20 3c 6b 65 79 20 69 64 3d 22 6b 65 79 5f 72 65 64 | s="accel"/>.....<key.id="key_red |
6efa0 | 6f 22 20 6b 65 79 3d 22 26 75 6e 64 6f 43 6d 64 2e 6b 65 79 3b 22 20 6d 6f 64 69 66 69 65 72 73 | o".key="&undoCmd.key;".modifiers |
6efc0 | 3d 22 61 63 63 65 6c 2c 73 68 69 66 74 22 2f 3e 0a 20 20 20 20 3c 6b 65 79 20 69 64 3d 22 6b 65 | ="accel,shift"/>.....<key.id="ke |
6efe0 | 79 5f 63 75 74 22 0a 20 20 20 20 20 20 20 20 20 6b 65 79 3d 22 26 63 75 74 43 6d 64 2e 6b 65 79 | y_cut"..........key="&cutCmd.key |
6f000 | 3b 22 0a 20 20 20 20 20 20 20 20 20 6d 6f 64 69 66 69 65 72 73 3d 22 61 63 63 65 6c 22 2f 3e 0a | ;"..........modifiers="accel"/>. |
6f020 | 20 20 20 20 3c 6b 65 79 20 69 64 3d 22 6b 65 79 5f 63 6f 70 79 22 0a 20 20 20 20 20 20 20 20 20 | ....<key.id="key_copy".......... |
6f040 | 6b 65 79 3d 22 26 63 6f 70 79 43 6d 64 2e 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 6d 6f 64 | key="©Cmd.key;"..........mod |
6f060 | 69 66 69 65 72 73 3d 22 61 63 63 65 6c 22 2f 3e 0a 20 20 20 20 3c 6b 65 79 20 69 64 3d 22 6b 65 | ifiers="accel"/>.....<key.id="ke |
6f080 | 79 5f 70 61 73 74 65 22 0a 20 20 20 20 20 20 20 20 20 6b 65 79 3d 22 26 70 61 73 74 65 43 6d 64 | y_paste"..........key="&pasteCmd |
6f0a0 | 2e 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 6d 6f 64 69 66 69 65 72 73 3d 22 61 63 63 65 6c | .key;"..........modifiers="accel |
6f0c0 | 22 2f 3e 0a 20 20 20 20 3c 6b 65 79 20 69 64 3d 22 6b 65 79 5f 64 65 6c 65 74 65 22 20 6b 65 79 | "/>.....<key.id="key_delete".key |
6f0e0 | 63 6f 64 65 3d 22 56 4b 5f 44 45 4c 45 54 45 22 20 63 6f 6d 6d 61 6e 64 3d 22 63 6d 64 5f 64 65 | code="VK_DELETE".command="cmd_de |
6f100 | 6c 65 74 65 22 2f 3e 0a 20 20 20 20 3c 6b 65 79 20 69 64 3d 22 6b 65 79 5f 73 65 6c 65 63 74 41 | lete"/>.....<key.id="key_selectA |
6f120 | 6c 6c 22 20 6b 65 79 3d 22 26 73 65 6c 65 63 74 41 6c 6c 43 6d 64 2e 6b 65 79 3b 22 20 6d 6f 64 | ll".key="&selectAllCmd.key;".mod |
6f140 | 69 66 69 65 72 73 3d 22 61 63 63 65 6c 22 2f 3e 0a 0a 20 20 20 20 3c 6b 65 79 20 6b 65 79 63 6f | ifiers="accel"/>......<key.keyco |
6f160 | 64 65 3d 22 56 4b 5f 42 41 43 4b 22 20 63 6f 6d 6d 61 6e 64 3d 22 63 6d 64 5f 68 61 6e 64 6c 65 | de="VK_BACK".command="cmd_handle |
6f180 | 42 61 63 6b 73 70 61 63 65 22 2f 3e 0a 20 20 20 20 3c 6b 65 79 20 6b 65 79 63 6f 64 65 3d 22 56 | Backspace"/>.....<key.keycode="V |
6f1a0 | 4b 5f 42 41 43 4b 22 20 63 6f 6d 6d 61 6e 64 3d 22 63 6d 64 5f 68 61 6e 64 6c 65 53 68 69 66 74 | K_BACK".command="cmd_handleShift |
6f1c0 | 42 61 63 6b 73 70 61 63 65 22 20 6d 6f 64 69 66 69 65 72 73 3d 22 73 68 69 66 74 22 2f 3e 0a 20 | Backspace".modifiers="shift"/>.. |
6f1e0 | 20 20 20 3c 6b 65 79 20 69 64 3d 22 67 6f 42 61 63 6b 4b 62 22 20 20 6b 65 79 63 6f 64 65 3d 22 | ...<key.id="goBackKb"..keycode=" |
6f200 | 56 4b 5f 4c 45 46 54 22 20 63 6f 6d 6d 61 6e 64 3d 22 42 72 6f 77 73 65 72 3a 42 61 63 6b 22 20 | VK_LEFT".command="Browser:Back". |
6f220 | 6d 6f 64 69 66 69 65 72 73 3d 22 61 6c 74 22 2f 3e 0a 20 20 20 20 3c 6b 65 79 20 69 64 3d 22 67 | modifiers="alt"/>.....<key.id="g |
6f240 | 6f 46 6f 72 77 61 72 64 4b 62 22 20 20 6b 65 79 63 6f 64 65 3d 22 56 4b 5f 52 49 47 48 54 22 20 | oForwardKb"..keycode="VK_RIGHT". |
6f260 | 63 6f 6d 6d 61 6e 64 3d 22 42 72 6f 77 73 65 72 3a 46 6f 72 77 61 72 64 22 20 6d 6f 64 69 66 69 | command="Browser:Forward".modifi |
6f280 | 65 72 73 3d 22 61 6c 74 22 2f 3e 0a 20 20 20 20 3c 6b 65 79 20 69 64 3d 22 67 6f 42 61 63 6b 4b | ers="alt"/>.....<key.id="goBackK |
6f2a0 | 62 32 22 20 6b 65 79 3d 22 26 67 6f 42 61 63 6b 43 6d 64 2e 63 6f 6d 6d 61 6e 64 4b 65 79 3b 22 | b2".key="&goBackCmd.commandKey;" |
6f2c0 | 20 63 6f 6d 6d 61 6e 64 3d 22 42 72 6f 77 73 65 72 3a 42 61 63 6b 22 20 6d 6f 64 69 66 69 65 72 | .command="Browser:Back".modifier |
6f2e0 | 73 3d 22 61 63 63 65 6c 22 2f 3e 0a 20 20 20 20 3c 6b 65 79 20 69 64 3d 22 67 6f 46 6f 72 77 61 | s="accel"/>.....<key.id="goForwa |
6f300 | 72 64 4b 62 32 22 20 6b 65 79 3d 22 26 67 6f 46 6f 72 77 61 72 64 43 6d 64 2e 63 6f 6d 6d 61 6e | rdKb2".key="&goForwardCmd.comman |
6f320 | 64 4b 65 79 3b 22 20 63 6f 6d 6d 61 6e 64 3d 22 42 72 6f 77 73 65 72 3a 46 6f 72 77 61 72 64 22 | dKey;".command="Browser:Forward" |
6f340 | 20 6d 6f 64 69 66 69 65 72 73 3d 22 61 63 63 65 6c 22 2f 3e 0a 20 20 20 20 3c 6b 65 79 20 69 64 | .modifiers="accel"/>.....<key.id |
6f360 | 3d 22 67 6f 48 6f 6d 65 22 20 6b 65 79 63 6f 64 65 3d 22 56 4b 5f 48 4f 4d 45 22 20 63 6f 6d 6d | ="goHome".keycode="VK_HOME".comm |
6f380 | 61 6e 64 3d 22 42 72 6f 77 73 65 72 3a 48 6f 6d 65 22 20 6d 6f 64 69 66 69 65 72 73 3d 22 61 6c | and="Browser:Home".modifiers="al |
6f3a0 | 74 22 2f 3e 0a 20 20 20 20 3c 6b 65 79 20 6b 65 79 63 6f 64 65 3d 22 56 4b 5f 46 35 22 20 63 6f | t"/>.....<key.keycode="VK_F5".co |
6f3c0 | 6d 6d 61 6e 64 3d 22 42 72 6f 77 73 65 72 3a 52 65 6c 6f 61 64 22 2f 3e 0a 20 20 20 20 3c 6b 65 | mmand="Browser:Reload"/>.....<ke |
6f3e0 | 79 20 69 64 3d 22 73 68 6f 77 41 6c 6c 48 69 73 74 6f 72 79 4b 62 22 20 6b 65 79 3d 22 26 73 68 | y.id="showAllHistoryKb".key="&sh |
6f400 | 6f 77 41 6c 6c 48 69 73 74 6f 72 79 43 6d 64 2e 63 6f 6d 6d 61 6e 64 6b 65 79 3b 22 20 63 6f 6d | owAllHistoryCmd.commandkey;".com |
6f420 | 6d 61 6e 64 3d 22 42 72 6f 77 73 65 72 3a 53 68 6f 77 41 6c 6c 48 69 73 74 6f 72 79 22 20 6d 6f | mand="Browser:ShowAllHistory".mo |
6f440 | 64 69 66 69 65 72 73 3d 22 61 63 63 65 6c 2c 73 68 69 66 74 22 2f 3e 0a 20 20 20 20 3c 6b 65 79 | difiers="accel,shift"/>.....<key |
6f460 | 20 6b 65 79 63 6f 64 65 3d 22 56 4b 5f 46 35 22 20 63 6f 6d 6d 61 6e 64 3d 22 42 72 6f 77 73 65 | .keycode="VK_F5".command="Browse |
6f480 | 72 3a 52 65 6c 6f 61 64 53 6b 69 70 43 61 63 68 65 22 20 6d 6f 64 69 66 69 65 72 73 3d 22 61 63 | r:ReloadSkipCache".modifiers="ac |
6f4a0 | 63 65 6c 22 2f 3e 0a 20 20 20 20 3c 6b 65 79 20 69 64 3d 22 6b 65 79 5f 66 75 6c 6c 53 63 72 65 | cel"/>.....<key.id="key_fullScre |
6f4c0 | 65 6e 22 20 6b 65 79 63 6f 64 65 3d 22 56 4b 5f 46 31 31 22 20 63 6f 6d 6d 61 6e 64 3d 22 56 69 | en".keycode="VK_F11".command="Vi |
6f4e0 | 65 77 3a 46 75 6c 6c 53 63 72 65 65 6e 22 2f 3e 0a 20 20 20 20 3c 6b 65 79 20 6b 65 79 3d 22 26 | ew:FullScreen"/>.....<key.key="& |
6f500 | 72 65 6c 6f 61 64 43 6d 64 2e 63 6f 6d 6d 61 6e 64 6b 65 79 3b 22 20 63 6f 6d 6d 61 6e 64 3d 22 | reloadCmd.commandkey;".command=" |
6f520 | 42 72 6f 77 73 65 72 3a 52 65 6c 6f 61 64 22 20 6d 6f 64 69 66 69 65 72 73 3d 22 61 63 63 65 6c | Browser:Reload".modifiers="accel |
6f540 | 22 20 69 64 3d 22 6b 65 79 5f 72 65 6c 6f 61 64 22 2f 3e 0a 20 20 20 20 3c 6b 65 79 20 6b 65 79 | ".id="key_reload"/>.....<key.key |
6f560 | 3d 22 26 72 65 6c 6f 61 64 43 6d 64 2e 63 6f 6d 6d 61 6e 64 6b 65 79 3b 22 20 63 6f 6d 6d 61 6e | ="&reloadCmd.commandkey;".comman |
6f580 | 64 3d 22 42 72 6f 77 73 65 72 3a 52 65 6c 6f 61 64 53 6b 69 70 43 61 63 68 65 22 20 6d 6f 64 69 | d="Browser:ReloadSkipCache".modi |
6f5a0 | 66 69 65 72 73 3d 22 61 63 63 65 6c 2c 73 68 69 66 74 22 2f 3e 0a 20 20 20 20 3c 6b 65 79 20 69 | fiers="accel,shift"/>.....<key.i |
6f5c0 | 64 3d 22 6b 65 79 5f 76 69 65 77 53 6f 75 72 63 65 22 20 6b 65 79 3d 22 26 70 61 67 65 53 6f 75 | d="key_viewSource".key="&pageSou |
6f5e0 | 72 63 65 43 6d 64 2e 63 6f 6d 6d 61 6e 64 6b 65 79 3b 22 20 63 6f 6d 6d 61 6e 64 3d 22 56 69 65 | rceCmd.commandkey;".command="Vie |
6f600 | 77 3a 50 61 67 65 53 6f 75 72 63 65 22 20 6d 6f 64 69 66 69 65 72 73 3d 22 61 63 63 65 6c 22 2f | w:PageSource".modifiers="accel"/ |
6f620 | 3e 0a 20 20 20 20 3c 6b 65 79 20 69 64 3d 22 6b 65 79 5f 76 69 65 77 49 6e 66 6f 22 20 20 20 6b | >.....<key.id="key_viewInfo"...k |
6f640 | 65 79 3d 22 26 70 61 67 65 49 6e 66 6f 43 6d 64 2e 63 6f 6d 6d 61 6e 64 6b 65 79 3b 22 20 20 20 | ey="&pageInfoCmd.commandkey;"... |
6f660 | 63 6f 6d 6d 61 6e 64 3d 22 56 69 65 77 3a 50 61 67 65 49 6e 66 6f 22 20 20 20 6d 6f 64 69 66 69 | command="View:PageInfo"...modifi |
6f680 | 65 72 73 3d 22 61 63 63 65 6c 22 2f 3e 0a 20 20 20 20 3c 6b 65 79 20 69 64 3d 22 6b 65 79 5f 66 | ers="accel"/>.....<key.id="key_f |
6f6a0 | 69 6e 64 22 20 6b 65 79 3d 22 26 66 69 6e 64 4f 6e 43 6d 64 2e 63 6f 6d 6d 61 6e 64 6b 65 79 3b | ind".key="&findOnCmd.commandkey; |
6f6c0 | 22 20 63 6f 6d 6d 61 6e 64 3d 22 63 6d 64 5f 66 69 6e 64 22 20 6d 6f 64 69 66 69 65 72 73 3d 22 | ".command="cmd_find".modifiers=" |
6f6e0 | 61 63 63 65 6c 22 2f 3e 0a 20 20 20 20 3c 6b 65 79 20 69 64 3d 22 6b 65 79 5f 66 69 6e 64 41 67 | accel"/>.....<key.id="key_findAg |
6f700 | 61 69 6e 22 20 6b 65 79 3d 22 26 66 69 6e 64 41 67 61 69 6e 43 6d 64 2e 63 6f 6d 6d 61 6e 64 6b | ain".key="&findAgainCmd.commandk |
6f720 | 65 79 3b 22 20 63 6f 6d 6d 61 6e 64 3d 22 63 6d 64 5f 66 69 6e 64 41 67 61 69 6e 22 20 6d 6f 64 | ey;".command="cmd_findAgain".mod |
6f740 | 69 66 69 65 72 73 3d 22 61 63 63 65 6c 22 2f 3e 0a 20 20 20 20 3c 6b 65 79 20 69 64 3d 22 6b 65 | ifiers="accel"/>.....<key.id="ke |
6f760 | 79 5f 66 69 6e 64 50 72 65 76 69 6f 75 73 22 20 6b 65 79 3d 22 26 66 69 6e 64 41 67 61 69 6e 43 | y_findPrevious".key="&findAgainC |
6f780 | 6d 64 2e 63 6f 6d 6d 61 6e 64 6b 65 79 3b 22 20 63 6f 6d 6d 61 6e 64 3d 22 63 6d 64 5f 66 69 6e | md.commandkey;".command="cmd_fin |
6f7a0 | 64 50 72 65 76 69 6f 75 73 22 20 6d 6f 64 69 66 69 65 72 73 3d 22 61 63 63 65 6c 2c 73 68 69 66 | dPrevious".modifiers="accel,shif |
6f7c0 | 74 22 2f 3e 0a 20 20 20 20 3c 6b 65 79 20 6b 65 79 63 6f 64 65 3d 22 26 66 69 6e 64 41 67 61 69 | t"/>.....<key.keycode="&findAgai |
6f7e0 | 6e 43 6d 64 2e 63 6f 6d 6d 61 6e 64 6b 65 79 32 3b 22 20 63 6f 6d 6d 61 6e 64 3d 22 63 6d 64 5f | nCmd.commandkey2;".command="cmd_ |
6f800 | 66 69 6e 64 41 67 61 69 6e 22 2f 3e 0a 20 20 20 20 3c 6b 65 79 20 6b 65 79 63 6f 64 65 3d 22 26 | findAgain"/>.....<key.keycode="& |
6f820 | 66 69 6e 64 41 67 61 69 6e 43 6d 64 2e 63 6f 6d 6d 61 6e 64 6b 65 79 32 3b 22 20 20 63 6f 6d 6d | findAgainCmd.commandkey2;"..comm |
6f840 | 61 6e 64 3d 22 63 6d 64 5f 66 69 6e 64 50 72 65 76 69 6f 75 73 22 20 6d 6f 64 69 66 69 65 72 73 | and="cmd_findPrevious".modifiers |
6f860 | 3d 22 73 68 69 66 74 22 2f 3e 0a 0a 20 20 20 20 3c 6b 65 79 20 69 64 3d 22 61 64 64 42 6f 6f 6b | ="shift"/>......<key.id="addBook |
6f880 | 6d 61 72 6b 41 73 4b 62 22 20 6b 65 79 3d 22 26 62 6f 6f 6b 6d 61 72 6b 54 68 69 73 50 61 67 65 | markAsKb".key="&bookmarkThisPage |
6f8a0 | 43 6d 64 2e 63 6f 6d 6d 61 6e 64 6b 65 79 3b 22 20 63 6f 6d 6d 61 6e 64 3d 22 42 72 6f 77 73 65 | Cmd.commandkey;".command="Browse |
6f8c0 | 72 3a 41 64 64 42 6f 6f 6b 6d 61 72 6b 41 73 22 20 6d 6f 64 69 66 69 65 72 73 3d 22 61 63 63 65 | r:AddBookmarkAs".modifiers="acce |
6f8e0 | 6c 22 2f 3e 0a 20 20 20 20 3c 6b 65 79 20 69 64 3d 22 6d 61 6e 42 6f 6f 6b 6d 61 72 6b 4b 62 22 | l"/>.....<key.id="manBookmarkKb" |
6f900 | 20 6b 65 79 3d 22 26 62 6f 6f 6b 6d 61 72 6b 73 53 69 64 65 62 61 72 47 74 6b 43 6d 64 2e 63 6f | .key="&bookmarksSidebarGtkCmd.co |
6f920 | 6d 6d 61 6e 64 6b 65 79 3b 22 20 63 6f 6d 6d 61 6e 64 3d 22 42 72 6f 77 73 65 72 3a 53 68 6f 77 | mmandkey;".command="Browser:Show |
6f940 | 41 6c 6c 42 6f 6f 6b 6d 61 72 6b 73 22 20 6d 6f 64 69 66 69 65 72 73 3d 22 61 63 63 65 6c 2c 73 | AllBookmarks".modifiers="accel,s |
6f960 | 68 69 66 74 22 2f 3e 0a 20 20 20 20 3c 6b 65 79 20 69 64 3d 22 76 69 65 77 42 6f 6f 6b 6d 61 72 | hift"/>.....<key.id="viewBookmar |
6f980 | 6b 73 53 69 64 65 62 61 72 4b 62 22 20 6b 65 79 3d 22 26 62 6f 6f 6b 6d 61 72 6b 73 53 69 64 65 | ksSidebarKb".key="&bookmarksSide |
6f9a0 | 62 61 72 43 6d 64 2e 63 6f 6d 6d 61 6e 64 6b 65 79 3b 22 20 63 6f 6d 6d 61 6e 64 3d 22 76 69 65 | barCmd.commandkey;".command="vie |
6f9c0 | 77 42 6f 6f 6b 6d 61 72 6b 73 53 69 64 65 62 61 72 22 20 6d 6f 64 69 66 69 65 72 73 3d 22 61 63 | wBookmarksSidebar".modifiers="ac |
6f9e0 | 63 65 6c 22 2f 3e 0a 0a 20 20 20 20 3c 6b 65 79 20 69 64 3d 22 6b 65 79 5f 73 74 6f 70 22 20 6b | cel"/>......<key.id="key_stop".k |
6fa00 | 65 79 63 6f 64 65 3d 22 56 4b 5f 45 53 43 41 50 45 22 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 42 72 | eycode="VK_ESCAPE".oncommand="Br |
6fa20 | 6f 77 73 65 72 53 74 6f 70 28 29 3b 22 2f 3e 0a 20 20 20 20 0a 0a 20 20 20 20 3c 6b 65 79 20 69 | owserStop();"/>...........<key.i |
6fa40 | 64 3d 22 6b 65 79 5f 67 6f 74 6f 48 69 73 74 6f 72 79 22 0a 20 20 20 20 20 20 20 20 20 6b 65 79 | d="key_gotoHistory"..........key |
6fa60 | 3d 22 26 68 69 73 74 6f 72 79 53 69 64 65 62 61 72 43 6d 64 2e 63 6f 6d 6d 61 6e 64 4b 65 79 3b | ="&historySidebarCmd.commandKey; |
6fa80 | 22 0a 20 20 20 20 20 20 20 20 20 6d 6f 64 69 66 69 65 72 73 3d 22 61 63 63 65 6c 22 0a 20 20 20 | "..........modifiers="accel".... |
6faa0 | 20 20 20 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 76 69 65 77 48 69 73 74 6f 72 79 53 69 64 65 62 61 | ......command="viewHistorySideba |
6fac0 | 72 22 2f 3e 0a 0a 20 20 20 20 3c 6b 65 79 20 69 64 3d 22 6b 65 79 5f 66 75 6c 6c 5a 6f 6f 6d 52 | r"/>......<key.id="key_fullZoomR |
6fae0 | 65 64 75 63 65 22 20 20 6b 65 79 3d 22 26 66 75 6c 6c 5a 6f 6f 6d 52 65 64 75 63 65 43 6d 64 2e | educe"..key="&fullZoomReduceCmd. |
6fb00 | 63 6f 6d 6d 61 6e 64 6b 65 79 3b 22 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 63 6d 64 5f 66 75 6c 6c | commandkey;"...command="cmd_full |
6fb20 | 5a 6f 6f 6d 52 65 64 75 63 65 22 20 20 6d 6f 64 69 66 69 65 72 73 3d 22 61 63 63 65 6c 22 2f 3e | ZoomReduce"..modifiers="accel"/> |
6fb40 | 0a 20 20 20 20 3c 6b 65 79 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .....<key....................... |
6fb60 | 20 20 20 6b 65 79 3d 22 26 66 75 6c 6c 5a 6f 6f 6d 52 65 64 75 63 65 43 6d 64 2e 63 6f 6d 6d 61 | ...key="&fullZoomReduceCmd.comma |
6fb80 | 6e 64 6b 65 79 32 3b 22 20 20 63 6f 6d 6d 61 6e 64 3d 22 63 6d 64 5f 66 75 6c 6c 5a 6f 6f 6d 52 | ndkey2;"..command="cmd_fullZoomR |
6fba0 | 65 64 75 63 65 22 20 20 6d 6f 64 69 66 69 65 72 73 3d 22 61 63 63 65 6c 22 2f 3e 0a 20 20 20 20 | educe"..modifiers="accel"/>..... |
6fbc0 | 3c 6b 65 79 20 69 64 3d 22 6b 65 79 5f 66 75 6c 6c 5a 6f 6f 6d 45 6e 6c 61 72 67 65 22 20 6b 65 | <key.id="key_fullZoomEnlarge".ke |
6fbe0 | 79 3d 22 26 66 75 6c 6c 5a 6f 6f 6d 45 6e 6c 61 72 67 65 43 6d 64 2e 63 6f 6d 6d 61 6e 64 6b 65 | y="&fullZoomEnlargeCmd.commandke |
6fc00 | 79 3b 22 20 20 63 6f 6d 6d 61 6e 64 3d 22 63 6d 64 5f 66 75 6c 6c 5a 6f 6f 6d 45 6e 6c 61 72 67 | y;"..command="cmd_fullZoomEnlarg |
6fc20 | 65 22 20 6d 6f 64 69 66 69 65 72 73 3d 22 61 63 63 65 6c 22 2f 3e 0a 20 20 20 20 3c 6b 65 79 20 | e".modifiers="accel"/>.....<key. |
6fc40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6b 65 79 3d 22 26 66 | .........................key="&f |
6fc60 | 75 6c 6c 5a 6f 6f 6d 45 6e 6c 61 72 67 65 43 6d 64 2e 63 6f 6d 6d 61 6e 64 6b 65 79 32 3b 22 20 | ullZoomEnlargeCmd.commandkey2;". |
6fc80 | 63 6f 6d 6d 61 6e 64 3d 22 63 6d 64 5f 66 75 6c 6c 5a 6f 6f 6d 45 6e 6c 61 72 67 65 22 20 6d 6f | command="cmd_fullZoomEnlarge".mo |
6fca0 | 64 69 66 69 65 72 73 3d 22 61 63 63 65 6c 22 2f 3e 0a 20 20 20 20 3c 6b 65 79 20 20 20 20 20 20 | difiers="accel"/>.....<key...... |
6fcc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6b 65 79 3d 22 26 66 75 6c 6c 5a 6f | ....................key="&fullZo |
6fce0 | 6f 6d 45 6e 6c 61 72 67 65 43 6d 64 2e 63 6f 6d 6d 61 6e 64 6b 65 79 33 3b 22 20 63 6f 6d 6d 61 | omEnlargeCmd.commandkey3;".comma |
6fd00 | 6e 64 3d 22 63 6d 64 5f 66 75 6c 6c 5a 6f 6f 6d 45 6e 6c 61 72 67 65 22 20 6d 6f 64 69 66 69 65 | nd="cmd_fullZoomEnlarge".modifie |
6fd20 | 72 73 3d 22 61 63 63 65 6c 22 2f 3e 0a 20 20 20 20 3c 6b 65 79 20 69 64 3d 22 6b 65 79 5f 66 75 | rs="accel"/>.....<key.id="key_fu |
6fd40 | 6c 6c 5a 6f 6f 6d 52 65 73 65 74 22 20 20 20 6b 65 79 3d 22 26 66 75 6c 6c 5a 6f 6f 6d 52 65 73 | llZoomReset"...key="&fullZoomRes |
6fd60 | 65 74 43 6d 64 2e 63 6f 6d 6d 61 6e 64 6b 65 79 3b 22 20 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 63 | etCmd.commandkey;"....command="c |
6fd80 | 6d 64 5f 66 75 6c 6c 5a 6f 6f 6d 52 65 73 65 74 22 20 20 20 6d 6f 64 69 66 69 65 72 73 3d 22 61 | md_fullZoomReset"...modifiers="a |
6fda0 | 63 63 65 6c 22 2f 3e 0a 20 20 20 20 3c 6b 65 79 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ccel"/>.....<key................ |
6fdc0 | 20 20 20 20 20 20 20 20 20 20 6b 65 79 3d 22 26 66 75 6c 6c 5a 6f 6f 6d 52 65 73 65 74 43 6d 64 | ..........key="&fullZoomResetCmd |
6fde0 | 2e 63 6f 6d 6d 61 6e 64 6b 65 79 32 3b 22 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 63 6d 64 5f 66 75 | .commandkey2;"...command="cmd_fu |
6fe00 | 6c 6c 5a 6f 6f 6d 52 65 73 65 74 22 20 20 20 6d 6f 64 69 66 69 65 72 73 3d 22 61 63 63 65 6c 22 | llZoomReset"...modifiers="accel" |
6fe20 | 2f 3e 0a 20 20 20 20 0a 20 20 20 20 3c 6b 65 79 20 69 64 3d 22 6b 65 79 5f 73 77 69 74 63 68 54 | />..........<key.id="key_switchT |
6fe40 | 65 78 74 44 69 72 65 63 74 69 6f 6e 22 20 6b 65 79 3d 22 26 62 69 64 69 53 77 69 74 63 68 54 65 | extDirection".key="&bidiSwitchTe |
6fe60 | 78 74 44 69 72 65 63 74 69 6f 6e 49 74 65 6d 2e 63 6f 6d 6d 61 6e 64 6b 65 79 3b 22 20 63 6f 6d | xtDirectionItem.commandkey;".com |
6fe80 | 6d 61 6e 64 3d 22 63 6d 64 5f 73 77 69 74 63 68 54 65 78 74 44 69 72 65 63 74 69 6f 6e 22 20 6d | mand="cmd_switchTextDirection".m |
6fea0 | 6f 64 69 66 69 65 72 73 3d 22 61 63 63 65 6c 2c 73 68 69 66 74 22 20 2f 3e 0a 0a 20 20 20 20 3c | odifiers="accel,shift"./>......< |
6fec0 | 6b 65 79 20 69 64 3d 22 6b 65 79 5f 70 72 69 76 61 74 65 62 72 6f 77 73 69 6e 67 22 20 63 6f 6d | key.id="key_privatebrowsing".com |
6fee0 | 6d 61 6e 64 3d 22 54 6f 6f 6c 73 3a 50 72 69 76 61 74 65 42 72 6f 77 73 69 6e 67 22 20 6b 65 79 | mand="Tools:PrivateBrowsing".key |
6ff00 | 3d 22 26 70 72 69 76 61 74 65 42 72 6f 77 73 69 6e 67 43 6d 64 2e 63 6f 6d 6d 61 6e 64 6b 65 79 | ="&privateBrowsingCmd.commandkey |
6ff20 | 3b 22 20 6d 6f 64 69 66 69 65 72 73 3d 22 61 63 63 65 6c 2c 73 68 69 66 74 22 2f 3e 0a 20 20 20 | ;".modifiers="accel,shift"/>.... |
6ff40 | 20 3c 6b 65 79 20 69 64 3d 22 6b 65 79 5f 73 61 6e 69 74 69 7a 65 22 20 63 6f 6d 6d 61 6e 64 3d | .<key.id="key_sanitize".command= |
6ff60 | 22 54 6f 6f 6c 73 3a 53 61 6e 69 74 69 7a 65 22 20 6b 65 79 63 6f 64 65 3d 22 56 4b 5f 44 45 4c | "Tools:Sanitize".keycode="VK_DEL |
6ff80 | 45 54 45 22 20 6d 6f 64 69 66 69 65 72 73 3d 22 61 63 63 65 6c 2c 73 68 69 66 74 22 2f 3e 0a 20 | ETE".modifiers="accel,shift"/>.. |
6ffa0 | 20 20 20 3c 6b 65 79 20 69 64 3d 22 6b 65 79 5f 71 75 69 74 41 70 70 6c 69 63 61 74 69 6f 6e 22 | ...<key.id="key_quitApplication" |
6ffc0 | 20 6b 65 79 3d 22 26 71 75 69 74 41 70 70 6c 69 63 61 74 69 6f 6e 43 6d 64 4d 61 63 2e 6b 65 79 | .key="&quitApplicationCmdMac.key |
6ffe0 | 3b 22 20 63 6f 6d 6d 61 6e 64 3d 22 63 6d 64 5f 71 75 69 74 41 70 70 6c 69 63 61 74 69 6f 6e 22 | ;".command="cmd_quitApplication" |
70000 | 20 6d 6f 64 69 66 69 65 72 73 3d 22 61 63 63 65 6c 22 2f 3e 0a 0a 20 20 20 20 3c 6b 65 79 20 69 | .modifiers="accel"/>......<key.i |
70020 | 64 3d 22 6b 65 79 5f 75 6e 64 6f 43 6c 6f 73 65 54 61 62 22 20 63 6f 6d 6d 61 6e 64 3d 22 48 69 | d="key_undoCloseTab".command="Hi |
70040 | 73 74 6f 72 79 3a 55 6e 64 6f 43 6c 6f 73 65 54 61 62 22 20 6b 65 79 3d 22 26 74 61 62 43 6d 64 | story:UndoCloseTab".key="&tabCmd |
70060 | 2e 63 6f 6d 6d 61 6e 64 6b 65 79 3b 22 20 6d 6f 64 69 66 69 65 72 73 3d 22 61 63 63 65 6c 2c 73 | .commandkey;".modifiers="accel,s |
70080 | 68 69 66 74 22 2f 3e 0a 20 20 20 20 3c 6b 65 79 20 69 64 3d 22 6b 65 79 5f 75 6e 64 6f 43 6c 6f | hift"/>.....<key.id="key_undoClo |
700a0 | 73 65 57 69 6e 64 6f 77 22 20 63 6f 6d 6d 61 6e 64 3d 22 48 69 73 74 6f 72 79 3a 55 6e 64 6f 43 | seWindow".command="History:UndoC |
700c0 | 6c 6f 73 65 57 69 6e 64 6f 77 22 20 6b 65 79 3d 22 26 6e 65 77 4e 61 76 69 67 61 74 6f 72 43 6d | loseWindow".key="&newNavigatorCm |
700e0 | 64 2e 6b 65 79 3b 22 20 6d 6f 64 69 66 69 65 72 73 3d 22 61 63 63 65 6c 2c 73 68 69 66 74 22 2f | d.key;".modifiers="accel,shift"/ |
70100 | 3e 0a 0a 0a 20 20 20 3c 6b 65 79 20 69 64 3d 22 6b 65 79 5f 73 65 6c 65 63 74 54 61 62 31 22 20 | >......<key.id="key_selectTab1". |
70120 | 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 42 72 6f 77 73 65 72 2e 73 65 6c 65 63 74 54 61 62 41 74 49 | oncommand="gBrowser.selectTabAtI |
70140 | 6e 64 65 78 28 30 2c 20 65 76 65 6e 74 29 3b 22 20 6b 65 79 3d 22 31 22 20 6d 6f 64 69 66 69 65 | ndex(0,.event);".key="1".modifie |
70160 | 72 73 3d 22 61 6c 74 22 2f 3e 0a 20 20 20 3c 6b 65 79 20 69 64 3d 22 6b 65 79 5f 73 65 6c 65 63 | rs="alt"/>....<key.id="key_selec |
70180 | 74 54 61 62 32 22 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 42 72 6f 77 73 65 72 2e 73 65 6c 65 63 | tTab2".oncommand="gBrowser.selec |
701a0 | 74 54 61 62 41 74 49 6e 64 65 78 28 31 2c 20 65 76 65 6e 74 29 3b 22 20 6b 65 79 3d 22 32 22 20 | tTabAtIndex(1,.event);".key="2". |
701c0 | 6d 6f 64 69 66 69 65 72 73 3d 22 61 6c 74 22 2f 3e 0a 20 20 20 3c 6b 65 79 20 69 64 3d 22 6b 65 | modifiers="alt"/>....<key.id="ke |
701e0 | 79 5f 73 65 6c 65 63 74 54 61 62 33 22 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 42 72 6f 77 73 65 | y_selectTab3".oncommand="gBrowse |
70200 | 72 2e 73 65 6c 65 63 74 54 61 62 41 74 49 6e 64 65 78 28 32 2c 20 65 76 65 6e 74 29 3b 22 20 6b | r.selectTabAtIndex(2,.event);".k |
70220 | 65 79 3d 22 33 22 20 6d 6f 64 69 66 69 65 72 73 3d 22 61 6c 74 22 2f 3e 0a 20 20 20 3c 6b 65 79 | ey="3".modifiers="alt"/>....<key |
70240 | 20 69 64 3d 22 6b 65 79 5f 73 65 6c 65 63 74 54 61 62 34 22 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 | .id="key_selectTab4".oncommand=" |
70260 | 67 42 72 6f 77 73 65 72 2e 73 65 6c 65 63 74 54 61 62 41 74 49 6e 64 65 78 28 33 2c 20 65 76 65 | gBrowser.selectTabAtIndex(3,.eve |
70280 | 6e 74 29 3b 22 20 6b 65 79 3d 22 34 22 20 6d 6f 64 69 66 69 65 72 73 3d 22 61 6c 74 22 2f 3e 0a | nt);".key="4".modifiers="alt"/>. |
702a0 | 20 20 20 3c 6b 65 79 20 69 64 3d 22 6b 65 79 5f 73 65 6c 65 63 74 54 61 62 35 22 20 6f 6e 63 6f | ...<key.id="key_selectTab5".onco |
702c0 | 6d 6d 61 6e 64 3d 22 67 42 72 6f 77 73 65 72 2e 73 65 6c 65 63 74 54 61 62 41 74 49 6e 64 65 78 | mmand="gBrowser.selectTabAtIndex |
702e0 | 28 34 2c 20 65 76 65 6e 74 29 3b 22 20 6b 65 79 3d 22 35 22 20 6d 6f 64 69 66 69 65 72 73 3d 22 | (4,.event);".key="5".modifiers=" |
70300 | 61 6c 74 22 2f 3e 0a 20 20 20 3c 6b 65 79 20 69 64 3d 22 6b 65 79 5f 73 65 6c 65 63 74 54 61 62 | alt"/>....<key.id="key_selectTab |
70320 | 36 22 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 42 72 6f 77 73 65 72 2e 73 65 6c 65 63 74 54 61 62 | 6".oncommand="gBrowser.selectTab |
70340 | 41 74 49 6e 64 65 78 28 35 2c 20 65 76 65 6e 74 29 3b 22 20 6b 65 79 3d 22 36 22 20 6d 6f 64 69 | AtIndex(5,.event);".key="6".modi |
70360 | 66 69 65 72 73 3d 22 61 6c 74 22 2f 3e 0a 20 20 20 3c 6b 65 79 20 69 64 3d 22 6b 65 79 5f 73 65 | fiers="alt"/>....<key.id="key_se |
70380 | 6c 65 63 74 54 61 62 37 22 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 42 72 6f 77 73 65 72 2e 73 65 | lectTab7".oncommand="gBrowser.se |
703a0 | 6c 65 63 74 54 61 62 41 74 49 6e 64 65 78 28 36 2c 20 65 76 65 6e 74 29 3b 22 20 6b 65 79 3d 22 | lectTabAtIndex(6,.event);".key=" |
703c0 | 37 22 20 6d 6f 64 69 66 69 65 72 73 3d 22 61 6c 74 22 2f 3e 0a 20 20 20 3c 6b 65 79 20 69 64 3d | 7".modifiers="alt"/>....<key.id= |
703e0 | 22 6b 65 79 5f 73 65 6c 65 63 74 54 61 62 38 22 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 42 72 6f | "key_selectTab8".oncommand="gBro |
70400 | 77 73 65 72 2e 73 65 6c 65 63 74 54 61 62 41 74 49 6e 64 65 78 28 37 2c 20 65 76 65 6e 74 29 3b | wser.selectTabAtIndex(7,.event); |
70420 | 22 20 6b 65 79 3d 22 38 22 20 6d 6f 64 69 66 69 65 72 73 3d 22 61 6c 74 22 2f 3e 0a 20 20 20 3c | ".key="8".modifiers="alt"/>....< |
70440 | 6b 65 79 20 69 64 3d 22 6b 65 79 5f 73 65 6c 65 63 74 4c 61 73 74 54 61 62 22 20 6f 6e 63 6f 6d | key.id="key_selectLastTab".oncom |
70460 | 6d 61 6e 64 3d 22 67 42 72 6f 77 73 65 72 2e 73 65 6c 65 63 74 54 61 62 41 74 49 6e 64 65 78 28 | mand="gBrowser.selectTabAtIndex( |
70480 | 2d 31 2c 20 65 76 65 6e 74 29 3b 22 20 6b 65 79 3d 22 39 22 20 6d 6f 64 69 66 69 65 72 73 3d 22 | -1,.event);".key="9".modifiers=" |
704a0 | 61 6c 74 22 2f 3e 0a 0a 20 20 3c 2f 6b 65 79 73 65 74 3e 0a 0a 20 20 3c 6b 65 79 73 65 74 20 69 | alt"/>....</keyset>....<keyset.i |
704c0 | 64 3d 22 62 61 73 65 4d 65 6e 75 4b 65 79 73 65 74 22 20 2f 3e 0a 0a 20 20 3c 70 6f 70 75 70 73 | d="baseMenuKeyset"./>....<popups |
704e0 | 65 74 20 69 64 3d 22 6d 61 69 6e 50 6f 70 75 70 53 65 74 22 3e 0a 20 20 20 20 3c 6d 65 6e 75 70 | et.id="mainPopupSet">.....<menup |
70500 | 6f 70 75 70 20 69 64 3d 22 62 61 63 6b 46 6f 72 77 61 72 64 4d 65 6e 75 22 0a 20 20 20 20 20 20 | opup.id="backForwardMenu"....... |
70520 | 20 20 20 20 20 20 20 20 20 63 68 72 6f 6d 65 64 69 72 3d 22 26 6c 6f 63 61 6c 65 2e 64 69 72 3b | .........chromedir="&locale.dir; |
70540 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 70 6f 70 75 70 73 68 6f 77 69 6e 67 3d | "................onpopupshowing= |
70560 | 22 72 65 74 75 72 6e 20 46 69 6c 6c 48 69 73 74 6f 72 79 4d 65 6e 75 28 65 76 65 6e 74 2e 74 61 | "return.FillHistoryMenu(event.ta |
70580 | 72 67 65 74 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 | rget);"................oncommand |
705a0 | 3d 22 67 6f 74 6f 48 69 73 74 6f 72 79 49 6e 64 65 78 28 65 76 65 6e 74 29 3b 22 0a 20 20 20 20 | ="gotoHistoryIndex(event);"..... |
705c0 | 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6c 69 63 6b 3d 22 63 68 65 63 6b 46 6f 72 4d 69 64 64 | ...........onclick="checkForMidd |
705e0 | 6c 65 43 6c 69 63 6b 28 74 68 69 73 2c 20 65 76 65 6e 74 29 3b 22 2f 3e 0a 20 20 20 20 3c 74 6f | leClick(this,.event);"/>.....<to |
70600 | 6f 6c 74 69 70 20 69 64 3d 22 61 48 54 4d 4c 54 6f 6f 6c 74 69 70 22 20 6f 6e 70 6f 70 75 70 73 | oltip.id="aHTMLTooltip".onpopups |
70620 | 68 6f 77 69 6e 67 3d 22 72 65 74 75 72 6e 20 46 69 6c 6c 49 6e 48 54 4d 4c 54 6f 6f 6c 74 69 70 | howing="return.FillInHTMLTooltip |
70640 | 28 64 6f 63 75 6d 65 6e 74 2e 74 6f 6f 6c 74 69 70 4e 6f 64 65 29 3b 22 2f 3e 0a 0a 20 20 20 20 | (document.tooltipNode);"/>...... |
70660 | 3c 21 2d 2d 20 66 6f 72 20 73 65 61 72 63 68 20 61 6e 64 20 63 6f 6e 74 65 6e 74 20 66 6f 72 6d | <!--.for.search.and.content.form |
70680 | 66 69 6c 6c 2f 70 77 20 6d 61 6e 61 67 65 72 20 2d 2d 3e 0a 20 20 20 20 3c 70 61 6e 65 6c 20 74 | fill/pw.manager.-->.....<panel.t |
706a0 | 79 70 65 3d 22 61 75 74 6f 63 6f 6d 70 6c 65 74 65 22 20 63 68 72 6f 6d 65 64 69 72 3d 22 26 6c | ype="autocomplete".chromedir="&l |
706c0 | 6f 63 61 6c 65 2e 64 69 72 3b 22 20 69 64 3d 22 50 6f 70 75 70 41 75 74 6f 43 6f 6d 70 6c 65 74 | ocale.dir;".id="PopupAutoComplet |
706e0 | 65 22 20 6e 6f 61 75 74 6f 66 6f 63 75 73 3d 22 74 72 75 65 22 20 68 69 64 64 65 6e 3d 22 74 72 | e".noautofocus="true".hidden="tr |
70700 | 75 65 22 2f 3e 0a 0a 20 20 20 20 3c 21 2d 2d 20 66 6f 72 20 75 72 6c 20 62 61 72 20 61 75 74 6f | ue"/>......<!--.for.url.bar.auto |
70720 | 63 6f 6d 70 6c 65 74 65 20 2d 2d 3e 0a 20 20 20 20 3c 70 61 6e 65 6c 20 74 79 70 65 3d 22 61 75 | complete.-->.....<panel.type="au |
70740 | 74 6f 63 6f 6d 70 6c 65 74 65 2d 72 69 63 68 6c 69 73 74 62 6f 78 22 20 63 68 72 6f 6d 65 64 69 | tocomplete-richlistbox".chromedi |
70760 | 72 3d 22 26 6c 6f 63 61 6c 65 2e 64 69 72 3b 22 20 69 64 3d 22 50 6f 70 75 70 41 75 74 6f 43 6f | r="&locale.dir;".id="PopupAutoCo |
70780 | 6d 70 6c 65 74 65 52 69 63 68 52 65 73 75 6c 74 22 20 6e 6f 61 75 74 6f 66 6f 63 75 73 3d 22 74 | mpleteRichResult".noautofocus="t |
707a0 | 72 75 65 22 20 68 69 64 64 65 6e 3d 22 74 72 75 65 22 2f 3e 0a 0a 20 20 20 20 3c 70 61 6e 65 6c | rue".hidden="true"/>......<panel |
707c0 | 20 69 64 3d 22 65 64 69 74 42 6f 6f 6b 6d 61 72 6b 50 61 6e 65 6c 22 0a 20 20 20 20 20 20 20 20 | .id="editBookmarkPanel"......... |
707e0 | 20 20 20 6f 72 69 65 6e 74 3d 22 76 65 72 74 69 63 61 6c 22 0a 20 20 20 20 20 20 20 20 20 20 20 | ...orient="vertical"............ |
70800 | 69 67 6e 6f 72 65 6b 65 79 73 3d 22 74 72 75 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 68 69 64 | ignorekeys="true"............hid |
70820 | 64 65 6e 3d 22 74 72 75 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 6f 6e 70 6f 70 75 70 73 68 6f | den="true"............onpopupsho |
70840 | 77 6e 3d 22 53 74 61 72 55 49 2e 70 61 6e 65 6c 53 68 6f 77 6e 28 65 76 65 6e 74 29 3b 22 0a 20 | wn="StarUI.panelShown(event);".. |
70860 | 20 20 20 20 20 20 20 20 20 20 61 72 69 61 2d 6c 61 62 65 6c 6c 65 64 62 79 3d 22 65 64 69 74 42 | ..........aria-labelledby="editB |
70880 | 6f 6f 6b 6d 61 72 6b 50 61 6e 65 6c 54 69 74 6c 65 22 3e 0a 20 20 20 20 20 20 3c 72 6f 77 20 69 | ookmarkPanelTitle">.......<row.i |
708a0 | 64 3d 22 65 64 69 74 42 6f 6f 6b 6d 61 72 6b 50 61 6e 65 6c 48 65 61 64 65 72 22 20 61 6c 69 67 | d="editBookmarkPanelHeader".alig |
708c0 | 6e 3d 22 63 65 6e 74 65 72 22 20 68 69 64 64 65 6e 3d 22 74 72 75 65 22 3e 0a 20 20 20 20 20 20 | n="center".hidden="true">....... |
708e0 | 20 20 3c 76 62 6f 78 20 61 6c 69 67 6e 3d 22 63 65 6e 74 65 72 22 3e 0a 20 20 20 20 20 20 20 20 | ..<vbox.align="center">......... |
70900 | 20 20 3c 69 6d 61 67 65 20 69 64 3d 22 65 64 69 74 42 6f 6f 6b 6d 61 72 6b 50 61 6e 65 6c 53 74 | ..<image.id="editBookmarkPanelSt |
70920 | 61 72 49 63 6f 6e 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 2f 76 62 6f 78 3e 0a 20 20 20 20 20 20 | arIcon"/>.........</vbox>....... |
70940 | 20 20 3c 76 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 6c 61 62 65 6c 20 69 64 3d 22 65 64 | ..<vbox>...........<label.id="ed |
70960 | 69 74 42 6f 6f 6b 6d 61 72 6b 50 61 6e 65 6c 54 69 74 6c 65 22 2f 3e 0a 20 20 20 20 20 20 20 20 | itBookmarkPanelTitle"/>......... |
70980 | 20 20 3c 64 65 73 63 72 69 70 74 69 6f 6e 20 69 64 3d 22 65 64 69 74 42 6f 6f 6b 6d 61 72 6b 50 | ..<description.id="editBookmarkP |
709a0 | 61 6e 65 6c 44 65 73 63 72 69 70 74 69 6f 6e 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 68 62 | anelDescription"/>...........<hb |
709c0 | 6f 78 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 62 75 74 74 6f 6e 20 69 64 3d 22 65 64 69 74 | ox>.............<button.id="edit |
709e0 | 42 6f 6f 6b 6d 61 72 6b 50 61 6e 65 6c 55 6e 64 6f 52 65 6d 6f 76 65 42 75 74 74 6f 6e 22 0a 20 | BookmarkPanelUndoRemoveButton".. |
70a00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 68 69 64 64 65 6e 3d 22 74 72 75 65 22 | ...................hidden="true" |
70a20 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 | .....................oncommand=" |
70a40 | 53 74 61 72 55 49 2e 75 6e 64 6f 52 65 6d 6f 76 65 42 6f 6f 6b 6d 61 72 6b 43 6f 6d 6d 61 6e 64 | StarUI.undoRemoveBookmarkCommand |
70a60 | 28 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 | ();".....................label=" |
70a80 | 26 65 64 69 74 42 6f 6f 6b 6d 61 72 6b 2e 75 6e 64 6f 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 | &editBookmark.undo.label;"...... |
70aa0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 65 64 69 74 42 | ...............accesskey="&editB |
70ac0 | 6f 6f 6b 6d 61 72 6b 2e 75 6e 64 6f 2e 61 63 63 65 73 73 4b 65 79 3b 22 2f 3e 0a 20 20 20 20 20 | ookmark.undo.accessKey;"/>...... |
70ae0 | 20 20 20 20 20 20 20 3c 62 75 74 74 6f 6e 20 69 64 3d 22 65 64 69 74 42 6f 6f 6b 6d 61 72 6b 50 | .......<button.id="editBookmarkP |
70b00 | 61 6e 65 6c 52 65 6d 6f 76 65 42 75 74 74 6f 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | anelRemoveButton"............... |
70b20 | 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 53 74 61 72 55 49 2e 72 65 6d 6f 76 65 42 6f | ......oncommand="StarUI.removeBo |
70b40 | 6f 6b 6d 61 72 6b 42 75 74 74 6f 6e 43 6f 6d 6d 61 6e 64 28 29 3b 22 0a 20 20 20 20 20 20 20 20 | okmarkButtonCommand();"......... |
70b60 | 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 65 64 69 74 42 6f 6f 6b | ............accesskey="&editBook |
70b80 | 6d 61 72 6b 2e 72 65 6d 6f 76 65 42 6f 6f 6b 6d 61 72 6b 2e 61 63 63 65 73 73 4b 65 79 3b 22 2f | mark.removeBookmark.accessKey;"/ |
70ba0 | 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 62 75 74 74 6f 6e 20 69 64 3d 22 65 64 69 74 42 6f | >.............<button.id="editBo |
70bc0 | 6f 6b 6d 61 72 6b 50 61 6e 65 6c 45 64 69 74 42 75 74 74 6f 6e 22 0a 20 20 20 20 20 20 20 20 20 | okmarkPanelEditButton".......... |
70be0 | 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 53 74 61 72 55 49 2e 65 64 69 | ...........oncommand="StarUI.edi |
70c00 | 74 42 75 74 74 6f 6e 43 6f 6d 6d 61 6e 64 28 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | tButtonCommand();".............. |
70c20 | 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 65 64 69 74 42 6f 6f 6b 6d 61 72 6b 2e 65 64 69 74 | .......label="&editBookmark.edit |
70c40 | 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 | .label;".....................acc |
70c60 | 65 73 73 6b 65 79 3d 22 26 65 64 69 74 42 6f 6f 6b 6d 61 72 6b 2e 65 64 69 74 2e 61 63 63 65 73 | esskey="&editBookmark.edit.acces |
70c80 | 73 4b 65 79 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 2f 68 62 6f 78 3e 0a 20 20 20 20 20 | sKey;"/>...........</hbox>...... |
70ca0 | 20 20 20 3c 2f 76 62 6f 78 3e 0a 20 20 20 20 20 20 3c 2f 72 6f 77 3e 0a 20 20 20 20 20 20 3c 76 | ...</vbox>.......</row>.......<v |
70cc0 | 62 6f 78 20 69 64 3d 22 65 64 69 74 42 6f 6f 6b 6d 61 72 6b 50 61 6e 65 6c 43 6f 6e 74 65 6e 74 | box.id="editBookmarkPanelContent |
70ce0 | 22 20 66 6c 65 78 3d 22 31 22 20 68 69 64 64 65 6e 3d 22 74 72 75 65 22 2f 3e 0a 20 20 20 20 20 | ".flex="1".hidden="true"/>...... |
70d00 | 20 3c 68 62 6f 78 20 69 64 3d 22 65 64 69 74 42 6f 6f 6b 6d 61 72 6b 50 61 6e 65 6c 42 6f 74 74 | .<hbox.id="editBookmarkPanelBott |
70d20 | 6f 6d 42 75 74 74 6f 6e 73 22 20 70 61 63 6b 3d 22 65 6e 64 22 3e 0a 20 20 20 20 20 20 20 20 3c | omButtons".pack="end">.........< |
70d40 | 62 75 74 74 6f 6e 20 69 64 3d 22 65 64 69 74 42 6f 6f 6b 6d 61 72 6b 50 61 6e 65 6c 44 65 6c 65 | button.id="editBookmarkPanelDele |
70d60 | 74 65 42 75 74 74 6f 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d | teButton".................label= |
70d80 | 22 26 65 64 69 74 42 6f 6f 6b 6d 61 72 6b 2e 63 61 6e 63 65 6c 2e 6c 61 62 65 6c 3b 22 0a 20 20 | "&editBookmark.cancel.label;"... |
70da0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 53 74 61 72 55 49 2e | ..............oncommand="StarUI. |
70dc0 | 63 61 6e 63 65 6c 42 75 74 74 6f 6e 4f 6e 43 6f 6d 6d 61 6e 64 28 29 3b 22 2f 3e 0a 20 20 20 20 | cancelButtonOnCommand();"/>..... |
70de0 | 20 20 20 20 3c 62 75 74 74 6f 6e 20 69 64 3d 22 65 64 69 74 42 6f 6f 6b 6d 61 72 6b 50 61 6e 65 | ....<button.id="editBookmarkPane |
70e00 | 6c 44 6f 6e 65 42 75 74 74 6f 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 | lDoneButton".................lab |
70e20 | 65 6c 3d 22 26 65 64 69 74 42 6f 6f 6b 6d 61 72 6b 2e 64 6f 6e 65 2e 6c 61 62 65 6c 3b 22 0a 20 | el="&editBookmark.done.label;".. |
70e40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 65 66 61 75 6c 74 3d 22 74 72 75 65 22 0a 20 20 | ...............default="true"... |
70e60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 53 74 61 72 55 49 2e | ..............oncommand="StarUI. |
70e80 | 70 61 6e 65 6c 2e 68 69 64 65 50 6f 70 75 70 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 2f 68 62 | panel.hidePopup();"/>.......</hb |
70ea0 | 6f 78 3e 0a 20 20 20 20 3c 2f 70 61 6e 65 6c 3e 0a 0a 20 20 20 20 3c 70 6f 70 75 70 20 69 64 3d | ox>.....</panel>......<popup.id= |
70ec0 | 22 74 6f 6f 6c 62 61 72 2d 63 6f 6e 74 65 78 74 2d 6d 65 6e 75 22 0a 20 20 20 20 20 20 20 20 20 | "toolbar-context-menu".......... |
70ee0 | 20 20 6f 6e 70 6f 70 75 70 73 68 6f 77 69 6e 67 3d 22 6f 6e 56 69 65 77 54 6f 6f 6c 62 61 72 73 | ..onpopupshowing="onViewToolbars |
70f00 | 50 6f 70 75 70 53 68 6f 77 69 6e 67 28 65 76 65 6e 74 29 3b 22 3e 0a 20 20 20 20 20 20 3c 6d 65 | PopupShowing(event);">.......<me |
70f20 | 6e 75 73 65 70 61 72 61 74 6f 72 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 63 6f | nuseparator/>.......<menuitem.co |
70f40 | 6d 6d 61 6e 64 3d 22 63 6d 64 5f 43 75 73 74 6f 6d 69 7a 65 54 6f 6f 6c 62 61 72 73 22 0a 20 20 | mmand="cmd_CustomizeToolbars"... |
70f60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 76 69 65 77 43 75 73 74 6f 6d | ..............label="&viewCustom |
70f80 | 69 7a 65 54 6f 6f 6c 62 61 72 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | izeToolbar.label;".............. |
70fa0 | 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 76 69 65 77 43 75 73 74 6f 6d 69 7a 65 54 6f 6f 6c | ...accesskey="&viewCustomizeTool |
70fc0 | 62 61 72 2e 61 63 63 65 73 73 6b 65 79 3b 22 2f 3e 0a 20 20 20 20 3c 2f 70 6f 70 75 70 3e 0a 0a | bar.accesskey;"/>.....</popup>.. |
70fe0 | 20 20 20 20 3c 70 6f 70 75 70 20 69 64 3d 22 62 6c 6f 63 6b 65 64 50 6f 70 75 70 4f 70 74 69 6f | ....<popup.id="blockedPopupOptio |
71000 | 6e 73 22 20 0a 20 20 20 20 20 20 20 20 20 20 20 6f 6e 70 6f 70 75 70 73 68 6f 77 69 6e 67 3d 22 | ns".............onpopupshowing=" |
71020 | 67 50 6f 70 75 70 42 6c 6f 63 6b 65 72 4f 62 73 65 72 76 65 72 2e 66 69 6c 6c 50 6f 70 75 70 4c | gPopupBlockerObserver.fillPopupL |
71040 | 69 73 74 28 65 76 65 6e 74 29 3b 22 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 6f 62 | ist(event);">.......<menuitem.ob |
71060 | 73 65 72 76 65 73 3d 22 62 6c 6f 63 6b 65 64 50 6f 70 75 70 41 6c 6c 6f 77 53 69 74 65 22 2f 3e | serves="blockedPopupAllowSite"/> |
71080 | 0a 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 6f 62 73 65 72 76 65 73 3d 22 62 6c 6f 63 6b | .......<menuitem.observes="block |
710a0 | 65 64 50 6f 70 75 70 45 64 69 74 53 65 74 74 69 6e 67 73 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 | edPopupEditSettings"/>.......<me |
710c0 | 6e 75 69 74 65 6d 20 6f 62 73 65 72 76 65 73 3d 22 62 6c 6f 63 6b 65 64 50 6f 70 75 70 44 6f 6e | nuitem.observes="blockedPopupDon |
710e0 | 74 53 68 6f 77 4d 65 73 73 61 67 65 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 73 65 70 61 72 | tShowMessage"/>.......<menusepar |
71100 | 61 74 6f 72 20 6f 62 73 65 72 76 65 73 3d 22 62 6c 6f 63 6b 65 64 50 6f 70 75 70 73 53 65 70 61 | ator.observes="blockedPopupsSepa |
71120 | 72 61 74 6f 72 22 2f 3e 0a 20 20 20 20 3c 2f 70 6f 70 75 70 3e 0a 0a 20 20 20 20 3c 6d 65 6e 75 | rator"/>.....</popup>......<menu |
71140 | 70 6f 70 75 70 20 69 64 3d 22 61 75 74 6f 68 69 64 65 2d 63 6f 6e 74 65 78 74 22 0a 20 20 20 20 | popup.id="autohide-context"..... |
71160 | 20 20 20 20 20 20 20 6f 6e 70 6f 70 75 70 73 68 6f 77 69 6e 67 3d 22 46 75 6c 6c 53 63 72 65 65 | .......onpopupshowing="FullScree |
71180 | 6e 2e 67 65 74 41 75 74 6f 68 69 64 65 28 74 68 69 73 2e 66 69 72 73 74 43 68 69 6c 64 29 3b 22 | n.getAutohide(this.firstChild);" |
711a0 | 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 74 79 70 65 3d 22 63 68 65 63 6b 62 6f 78 | >.......<menuitem.type="checkbox |
711c0 | 22 20 6c 61 62 65 6c 3d 22 26 66 75 6c 6c 53 63 72 65 65 6e 41 75 74 6f 68 69 64 65 2e 6c 61 62 | ".label="&fullScreenAutohide.lab |
711e0 | 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 | el;".................accesskey=" |
71200 | 26 66 75 6c 6c 53 63 72 65 65 6e 41 75 74 6f 68 69 64 65 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a | &fullScreenAutohide.accesskey;". |
71220 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 46 75 6c 6c 53 | ................oncommand="FullS |
71240 | 63 72 65 65 6e 2e 73 65 74 41 75 74 6f 68 69 64 65 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 6d | creen.setAutohide();"/>.......<m |
71260 | 65 6e 75 73 65 70 61 72 61 74 6f 72 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 6c | enuseparator/>.......<menuitem.l |
71280 | 61 62 65 6c 3d 22 26 66 75 6c 6c 53 63 72 65 65 6e 45 78 69 74 2e 6c 61 62 65 6c 3b 22 0a 20 20 | abel="&fullScreenExit.label;"... |
712a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 66 75 6c 6c 53 63 | ..............accesskey="&fullSc |
712c0 | 72 65 65 6e 45 78 69 74 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 | reenExit.accesskey;"............ |
712e0 | 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 42 72 6f 77 73 65 72 46 75 6c 6c 53 63 72 65 65 | .....oncommand="BrowserFullScree |
71300 | 6e 28 29 3b 22 2f 3e 0a 20 20 20 20 3c 2f 6d 65 6e 75 70 6f 70 75 70 3e 0a 0a 20 20 20 20 3c 70 | n();"/>.....</menupopup>......<p |
71320 | 6f 70 75 70 20 69 64 3d 22 63 6f 6e 74 65 6e 74 41 72 65 61 43 6f 6e 74 65 78 74 4d 65 6e 75 22 | opup.id="contentAreaContextMenu" |
71340 | 0a 20 20 20 20 20 20 20 20 20 20 20 6f 6e 70 6f 70 75 70 73 68 6f 77 69 6e 67 3d 22 69 66 20 28 | ............onpopupshowing="if.( |
71360 | 65 76 65 6e 74 2e 74 61 72 67 65 74 20 21 3d 20 74 68 69 73 29 20 72 65 74 75 72 6e 20 74 72 75 | event.target.!=.this).return.tru |
71380 | 65 3b 20 75 70 64 61 74 65 45 64 69 74 55 49 56 69 73 69 62 69 6c 69 74 79 28 29 3b 20 67 43 6f | e;.updateEditUIVisibility();.gCo |
713a0 | 6e 74 65 78 74 4d 65 6e 75 20 3d 20 6e 65 77 20 6e 73 43 6f 6e 74 65 78 74 4d 65 6e 75 28 74 68 | ntextMenu.=.new.nsContextMenu(th |
713c0 | 69 73 2c 20 77 69 6e 64 6f 77 2e 67 65 74 42 72 6f 77 73 65 72 28 29 29 3b 20 72 65 74 75 72 6e | is,.window.getBrowser());.return |
713e0 | 20 67 43 6f 6e 74 65 78 74 4d 65 6e 75 2e 73 68 6f 75 6c 64 44 69 73 70 6c 61 79 3b 22 0a 20 20 | .gContextMenu.shouldDisplay;"... |
71400 | 20 20 20 20 20 20 20 20 20 6f 6e 70 6f 70 75 70 68 69 64 69 6e 67 3d 22 69 66 20 28 65 76 65 6e | .........onpopuphiding="if.(even |
71420 | 74 2e 74 61 72 67 65 74 20 3d 3d 20 74 68 69 73 29 20 7b 20 67 43 6f 6e 74 65 78 74 4d 65 6e 75 | t.target.==.this).{.gContextMenu |
71440 | 20 3d 20 6e 75 6c 6c 3b 20 75 70 64 61 74 65 45 64 69 74 55 49 56 69 73 69 62 69 6c 69 74 79 28 | .=.null;.updateEditUIVisibility( |
71460 | 29 3b 20 7d 22 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 73 70 65 6c | );.}">........<menuitem.id="spel |
71480 | 6c 2d 6e 6f 2d 73 75 67 67 65 73 74 69 6f 6e 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | l-no-suggestions"............... |
714a0 | 20 20 64 69 73 61 62 6c 65 64 3d 22 74 72 75 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ..disabled="true"............... |
714c0 | 20 20 6c 61 62 65 6c 3d 22 26 73 70 65 6c 6c 4e 6f 53 75 67 67 65 73 74 69 6f 6e 73 2e 6c 61 62 | ..label="&spellNoSuggestions.lab |
714e0 | 65 6c 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 73 70 65 6c 6c | el;"/>.......<menuitem.id="spell |
71500 | 2d 61 64 64 2d 74 6f 2d 64 69 63 74 69 6f 6e 61 72 79 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 | -add-to-dictionary"............. |
71520 | 20 20 20 20 6c 61 62 65 6c 3d 22 26 73 70 65 6c 6c 41 64 64 54 6f 44 69 63 74 69 6f 6e 61 72 79 | ....label="&spellAddToDictionary |
71540 | 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b | .label;".................accessk |
71560 | 65 79 3d 22 26 73 70 65 6c 6c 41 64 64 54 6f 44 69 63 74 69 6f 6e 61 72 79 2e 61 63 63 65 73 73 | ey="&spellAddToDictionary.access |
71580 | 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d | key;".................oncommand= |
715a0 | 22 49 6e 6c 69 6e 65 53 70 65 6c 6c 43 68 65 63 6b 65 72 55 49 2e 61 64 64 54 6f 44 69 63 74 69 | "InlineSpellCheckerUI.addToDicti |
715c0 | 6f 6e 61 72 79 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 73 65 70 61 72 61 74 6f 72 | onary();"/>.......<menuseparator |
715e0 | 20 69 64 3d 22 73 70 65 6c 6c 2d 73 75 67 67 65 73 74 69 6f 6e 73 2d 73 65 70 61 72 61 74 6f 72 | .id="spell-suggestions-separator |
71600 | 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d | "/>.......<menuitem.id="context- |
71620 | 6f 70 65 6e 6c 69 6e 6b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d | openlink".................label= |
71640 | 22 26 6f 70 65 6e 4c 69 6e 6b 43 6d 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 | "&openLinkCmd.label;"........... |
71660 | 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 6f 70 65 6e 4c 69 6e 6b 43 6d 64 2e 61 63 | ......accesskey="&openLinkCmd.ac |
71680 | 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d | cesskey;".................oncomm |
716a0 | 61 6e 64 3d 22 67 43 6f 6e 74 65 78 74 4d 65 6e 75 2e 6f 70 65 6e 4c 69 6e 6b 28 29 3b 22 2f 3e | and="gContextMenu.openLink();"/> |
716c0 | 0a 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 6f 70 65 | .......<menuitem.id="context-ope |
716e0 | 6e 6c 69 6e 6b 69 6e 74 61 62 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 | nlinkintab".................labe |
71700 | 6c 3d 22 26 6f 70 65 6e 4c 69 6e 6b 43 6d 64 49 6e 54 61 62 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 | l="&openLinkCmdInTab.label;".... |
71720 | 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 6f 70 65 6e 4c 69 6e | .............accesskey="&openLin |
71740 | 6b 43 6d 64 49 6e 54 61 62 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 | kCmdInTab.accesskey;"........... |
71760 | 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 43 6f 6e 74 65 78 74 4d 65 6e 75 2e 6f 70 | ......oncommand="gContextMenu.op |
71780 | 65 6e 4c 69 6e 6b 49 6e 54 61 62 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 73 65 70 | enLinkInTab();"/>.......<menusep |
717a0 | 61 72 61 74 6f 72 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 73 65 70 2d 6f 70 65 6e 22 2f 3e 0a 20 | arator.id="context-sep-open"/>.. |
717c0 | 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 62 6f 6f 6b 6d | .....<menuitem.id="context-bookm |
717e0 | 61 72 6b 6c 69 6e 6b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 | arklink".................label=" |
71800 | 26 62 6f 6f 6b 6d 61 72 6b 54 68 69 73 4c 69 6e 6b 43 6d 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 | &bookmarkThisLinkCmd.label;".... |
71820 | 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 62 6f 6f 6b 6d 61 72 | .............accesskey="&bookmar |
71840 | 6b 54 68 69 73 4c 69 6e 6b 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 | kThisLinkCmd.accesskey;"........ |
71860 | 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 43 6f 6e 74 65 78 74 4d 65 6e 75 | .........oncommand="gContextMenu |
71880 | 2e 62 6f 6f 6b 6d 61 72 6b 4c 69 6e 6b 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 69 | .bookmarkLink();"/>.......<menui |
718a0 | 74 65 6d 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 73 61 76 65 6c 69 6e 6b 22 0a 20 20 20 20 20 20 | tem.id="context-savelink"....... |
718c0 | 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 73 61 76 65 4c 69 6e 6b 43 6d 64 2e 6c 61 | ..........label="&saveLinkCmd.la |
718e0 | 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d | bel;".................accesskey= |
71900 | 22 26 73 61 76 65 4c 69 6e 6b 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 | "&saveLinkCmd.accesskey;"....... |
71920 | 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 43 6f 6e 74 65 78 74 4d 65 6e | ..........oncommand="gContextMen |
71940 | 75 2e 73 61 76 65 4c 69 6e 6b 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d | u.saveLink();"/>.......<menuitem |
71960 | 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 73 65 6e 64 6c 69 6e 6b 22 0a 20 20 20 20 20 20 20 20 20 | .id="context-sendlink".......... |
71980 | 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 73 65 6e 64 4c 69 6e 6b 43 6d 64 2e 6c 61 62 65 6c | .......label="&sendLinkCmd.label |
719a0 | 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 73 | ;".................accesskey="&s |
719c0 | 65 6e 64 4c 69 6e 6b 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 | endLinkCmd.accesskey;".......... |
719e0 | 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 43 6f 6e 74 65 78 74 4d 65 6e 75 2e 73 | .......oncommand="gContextMenu.s |
71a00 | 65 6e 64 4c 69 6e 6b 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 | endLink();"/>.......<menuitem.id |
71a20 | 3d 22 63 6f 6e 74 65 78 74 2d 63 6f 70 79 65 6d 61 69 6c 22 0a 20 20 20 20 20 20 20 20 20 20 20 | ="context-copyemail"............ |
71a40 | 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 63 6f 70 79 45 6d 61 69 6c 43 6d 64 2e 6c 61 62 65 6c 3b | .....label="©EmailCmd.label; |
71a60 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 63 6f | ".................accesskey="&co |
71a80 | 70 79 45 6d 61 69 6c 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 | pyEmailCmd.accesskey;".......... |
71aa0 | 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 43 6f 6e 74 65 78 74 4d 65 6e 75 2e 63 | .......oncommand="gContextMenu.c |
71ac0 | 6f 70 79 45 6d 61 69 6c 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 | opyEmail();"/>.......<menuitem.i |
71ae0 | 64 3d 22 63 6f 6e 74 65 78 74 2d 63 6f 70 79 6c 69 6e 6b 22 0a 20 20 20 20 20 20 20 20 20 20 20 | d="context-copylink"............ |
71b00 | 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 63 6f 70 79 4c 69 6e 6b 43 6d 64 2e 6c 61 62 65 6c 3b 22 | .....label="©LinkCmd.label;" |
71b20 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 63 6f 70 | .................accesskey="&cop |
71b40 | 79 4c 69 6e 6b 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 | yLinkCmd.accesskey;"............ |
71b60 | 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 6f 44 6f 43 6f 6d 6d 61 6e 64 28 27 63 6d 64 | .....oncommand="goDoCommand('cmd |
71b80 | 5f 63 6f 70 79 4c 69 6e 6b 27 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 73 65 70 61 72 | _copyLink');"/>.......<menusepar |
71ba0 | 61 74 6f 72 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 73 65 70 2d 63 6f 70 79 6c 69 6e 6b 22 2f 3e | ator.id="context-sep-copylink"/> |
71bc0 | 0a 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 6d 65 64 | .......<menuitem.id="context-med |
71be0 | 69 61 2d 70 6c 61 79 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 | ia-play".................label=" |
71c00 | 26 6d 65 64 69 61 50 6c 61 79 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | &mediaPlay.label;".............. |
71c20 | 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 6d 65 64 69 61 50 6c 61 79 2e 61 63 63 65 73 73 6b | ...accesskey="&mediaPlay.accessk |
71c40 | 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 | ey;".................oncommand=" |
71c60 | 67 43 6f 6e 74 65 78 74 4d 65 6e 75 2e 6d 65 64 69 61 43 6f 6d 6d 61 6e 64 28 27 70 6c 61 79 27 | gContextMenu.mediaCommand('play' |
71c80 | 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 63 6f 6e 74 65 78 | );"/>.......<menuitem.id="contex |
71ca0 | 74 2d 6d 65 64 69 61 2d 70 61 75 73 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c | t-media-pause".................l |
71cc0 | 61 62 65 6c 3d 22 26 6d 65 64 69 61 50 61 75 73 65 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 | abel="&mediaPause.label;"....... |
71ce0 | 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 6d 65 64 69 61 50 61 75 73 65 | ..........accesskey="&mediaPause |
71d00 | 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 | .accesskey;".................onc |
71d20 | 6f 6d 6d 61 6e 64 3d 22 67 43 6f 6e 74 65 78 74 4d 65 6e 75 2e 6d 65 64 69 61 43 6f 6d 6d 61 6e | ommand="gContextMenu.mediaComman |
71d40 | 64 28 27 70 61 75 73 65 27 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 | d('pause');"/>.......<menuitem.i |
71d60 | 64 3d 22 63 6f 6e 74 65 78 74 2d 6d 65 64 69 61 2d 6d 75 74 65 22 0a 20 20 20 20 20 20 20 20 20 | d="context-media-mute".......... |
71d80 | 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 6d 65 64 69 61 4d 75 74 65 2e 6c 61 62 65 6c 3b 22 | .......label="&mediaMute.label;" |
71da0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 6d 65 64 | .................accesskey="&med |
71dc0 | 69 61 4d 75 74 65 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | iaMute.accesskey;".............. |
71de0 | 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 43 6f 6e 74 65 78 74 4d 65 6e 75 2e 6d 65 64 69 61 | ...oncommand="gContextMenu.media |
71e00 | 43 6f 6d 6d 61 6e 64 28 27 6d 75 74 65 27 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 69 | Command('mute');"/>.......<menui |
71e20 | 74 65 6d 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 6d 65 64 69 61 2d 75 6e 6d 75 74 65 22 0a 20 20 | tem.id="context-media-unmute"... |
71e40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 6d 65 64 69 61 55 6e 6d 75 74 | ..............label="&mediaUnmut |
71e60 | 65 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 | e.label;".................access |
71e80 | 6b 65 79 3d 22 26 6d 65 64 69 61 55 6e 6d 75 74 65 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 | key="&mediaUnmute.accesskey;"... |
71ea0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 43 6f 6e 74 65 78 | ..............oncommand="gContex |
71ec0 | 74 4d 65 6e 75 2e 6d 65 64 69 61 43 6f 6d 6d 61 6e 64 28 27 75 6e 6d 75 74 65 27 29 3b 22 2f 3e | tMenu.mediaCommand('unmute');"/> |
71ee0 | 0a 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 6d 65 64 | .......<menuitem.id="context-med |
71f00 | 69 61 2d 73 68 6f 77 63 6f 6e 74 72 6f 6c 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ia-showcontrols"................ |
71f20 | 20 6c 61 62 65 6c 3d 22 26 6d 65 64 69 61 53 68 6f 77 43 6f 6e 74 72 6f 6c 73 2e 6c 61 62 65 6c | .label="&mediaShowControls.label |
71f40 | 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 6d | ;".................accesskey="&m |
71f60 | 65 64 69 61 53 68 6f 77 43 6f 6e 74 72 6f 6c 73 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 | ediaShowControls.accesskey;".... |
71f80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 43 6f 6e 74 65 78 74 | .............oncommand="gContext |
71fa0 | 4d 65 6e 75 2e 6d 65 64 69 61 43 6f 6d 6d 61 6e 64 28 27 73 68 6f 77 63 6f 6e 74 72 6f 6c 73 27 | Menu.mediaCommand('showcontrols' |
71fc0 | 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 63 6f 6e 74 65 78 | );"/>.......<menuitem.id="contex |
71fe0 | 74 2d 6d 65 64 69 61 2d 68 69 64 65 63 6f 6e 74 72 6f 6c 73 22 0a 20 20 20 20 20 20 20 20 20 20 | t-media-hidecontrols"........... |
72000 | 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 6d 65 64 69 61 48 69 64 65 43 6f 6e 74 72 6f 6c 73 2e | ......label="&mediaHideControls. |
72020 | 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 | label;".................accesske |
72040 | 79 3d 22 26 6d 65 64 69 61 48 69 64 65 43 6f 6e 74 72 6f 6c 73 2e 61 63 63 65 73 73 6b 65 79 3b | y="&mediaHideControls.accesskey; |
72060 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 43 6f | ".................oncommand="gCo |
72080 | 6e 74 65 78 74 4d 65 6e 75 2e 6d 65 64 69 61 43 6f 6d 6d 61 6e 64 28 27 68 69 64 65 63 6f 6e 74 | ntextMenu.mediaCommand('hidecont |
720a0 | 72 6f 6c 73 27 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 73 65 70 61 72 61 74 6f 72 20 | rols');"/>.......<menuseparator. |
720c0 | 69 64 3d 22 63 6f 6e 74 65 78 74 2d 6d 65 64 69 61 2d 73 65 70 2d 63 6f 6d 6d 61 6e 64 73 22 2f | id="context-media-sep-commands"/ |
720e0 | 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 72 65 | >.......<menuitem.id="context-re |
72100 | 6c 6f 61 64 69 6d 61 67 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c | loadimage".................label |
72120 | 3d 22 26 72 65 6c 6f 61 64 49 6d 61 67 65 43 6d 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 | ="&reloadImageCmd.label;"....... |
72140 | 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 72 65 6c 6f 61 64 49 6d 61 67 | ..........accesskey="&reloadImag |
72160 | 65 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | eCmd.accesskey;"................ |
72180 | 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 43 6f 6e 74 65 78 74 4d 65 6e 75 2e 72 65 6c 6f 61 64 49 | .oncommand="gContextMenu.reloadI |
721a0 | 6d 61 67 65 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 63 | mage();"/>.......<menuitem.id="c |
721c0 | 6f 6e 74 65 78 74 2d 76 69 65 77 69 6d 61 67 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ontext-viewimage"............... |
721e0 | 20 20 6c 61 62 65 6c 3d 22 26 76 69 65 77 49 6d 61 67 65 43 6d 64 2e 6c 61 62 65 6c 3b 22 0a 20 | ..label="&viewImageCmd.label;".. |
72200 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 76 69 65 77 49 | ...............accesskey="&viewI |
72220 | 6d 61 67 65 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 | mageCmd.accesskey;"............. |
72240 | 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 43 6f 6e 74 65 78 74 4d 65 6e 75 2e 76 69 65 77 | ....oncommand="gContextMenu.view |
72260 | 4d 65 64 69 61 28 65 76 65 6e 74 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f | Media(event);".................o |
72280 | 6e 63 6c 69 63 6b 3d 22 63 68 65 63 6b 46 6f 72 4d 69 64 64 6c 65 43 6c 69 63 6b 28 74 68 69 73 | nclick="checkForMiddleClick(this |
722a0 | 2c 20 65 76 65 6e 74 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d | ,.event);"/>.......<menuitem.id= |
722c0 | 22 63 6f 6e 74 65 78 74 2d 76 69 65 77 76 69 64 65 6f 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 | "context-viewvideo"............. |
722e0 | 20 20 20 20 6c 61 62 65 6c 3d 22 26 76 69 65 77 56 69 64 65 6f 43 6d 64 2e 6c 61 62 65 6c 3b 22 | ....label="&viewVideoCmd.label;" |
72300 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 76 69 65 | .................accesskey="&vie |
72320 | 77 56 69 64 65 6f 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 | wVideoCmd.accesskey;"........... |
72340 | 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 43 6f 6e 74 65 78 74 4d 65 6e 75 2e 76 69 | ......oncommand="gContextMenu.vi |
72360 | 65 77 4d 65 64 69 61 28 65 76 65 6e 74 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ewMedia(event);"................ |
72380 | 20 6f 6e 63 6c 69 63 6b 3d 22 63 68 65 63 6b 46 6f 72 4d 69 64 64 6c 65 43 6c 69 63 6b 28 74 68 | .onclick="checkForMiddleClick(th |
723a0 | 69 73 2c 20 65 76 65 6e 74 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 | is,.event);"/>.......<menuitem.i |
723c0 | 64 3d 22 63 6f 6e 74 65 78 74 2d 63 6f 70 79 69 6d 61 67 65 2d 63 6f 6e 74 65 6e 74 73 22 0a 20 | d="context-copyimage-contents".. |
723e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 63 6f 70 79 49 6d 61 67 65 | ...............label="©Image |
72400 | 43 6f 6e 74 65 6e 74 73 43 6d 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ContentsCmd.label;"............. |
72420 | 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 63 6f 70 79 49 6d 61 67 65 43 6f 6e 74 65 6e 74 | ....accesskey="©ImageContent |
72440 | 73 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | sCmd.accesskey;"................ |
72460 | 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 6f 44 6f 43 6f 6d 6d 61 6e 64 28 27 63 6d 64 5f 63 6f 70 | .oncommand="goDoCommand('cmd_cop |
72480 | 79 49 6d 61 67 65 43 6f 6e 74 65 6e 74 73 27 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 | yImageContents');"/>.......<menu |
724a0 | 69 74 65 6d 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 63 6f 70 79 69 6d 61 67 65 22 0a 20 20 20 20 | item.id="context-copyimage"..... |
724c0 | 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 63 6f 70 79 49 6d 61 67 65 43 6d 64 | ............label="©ImageCmd |
724e0 | 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b | .label;".................accessk |
72500 | 65 79 3d 22 26 63 6f 70 79 49 6d 61 67 65 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 | ey="©ImageCmd.accesskey;"... |
72520 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 43 6f 6e 74 65 78 | ..............oncommand="gContex |
72540 | 74 4d 65 6e 75 2e 63 6f 70 79 4d 65 64 69 61 4c 6f 63 61 74 69 6f 6e 28 29 3b 22 2f 3e 0a 20 20 | tMenu.copyMediaLocation();"/>... |
72560 | 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 63 6f 70 79 76 69 | ....<menuitem.id="context-copyvi |
72580 | 64 65 6f 75 72 6c 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 | deourl".................label="& |
725a0 | 63 6f 70 79 56 69 64 65 6f 55 52 4c 43 6d 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 | copyVideoURLCmd.label;"......... |
725c0 | 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 63 6f 70 79 56 69 64 65 6f 55 52 4c | ........accesskey="©VideoURL |
725e0 | 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | Cmd.accesskey;"................. |
72600 | 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 43 6f 6e 74 65 78 74 4d 65 6e 75 2e 63 6f 70 79 4d 65 64 69 | oncommand="gContextMenu.copyMedi |
72620 | 61 4c 6f 63 61 74 69 6f 6e 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 | aLocation();"/>.......<menuitem. |
72640 | 69 64 3d 22 63 6f 6e 74 65 78 74 2d 63 6f 70 79 61 75 64 69 6f 75 72 6c 22 0a 20 20 20 20 20 20 | id="context-copyaudiourl"....... |
72660 | 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 63 6f 70 79 41 75 64 69 6f 55 52 4c 43 6d | ..........label="©AudioURLCm |
72680 | 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 | d.label;".................access |
726a0 | 6b 65 79 3d 22 26 63 6f 70 79 41 75 64 69 6f 55 52 4c 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b | key="©AudioURLCmd.accesskey; |
726c0 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 43 6f | ".................oncommand="gCo |
726e0 | 6e 74 65 78 74 4d 65 6e 75 2e 63 6f 70 79 4d 65 64 69 61 4c 6f 63 61 74 69 6f 6e 28 29 3b 22 2f | ntextMenu.copyMediaLocation();"/ |
72700 | 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 73 65 70 61 72 61 74 6f 72 20 69 64 3d 22 63 6f 6e 74 65 | >.......<menuseparator.id="conte |
72720 | 78 74 2d 73 65 70 2d 63 6f 70 79 69 6d 61 67 65 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 69 | xt-sep-copyimage"/>.......<menui |
72740 | 74 65 6d 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 73 61 76 65 69 6d 61 67 65 22 0a 20 20 20 20 20 | tem.id="context-saveimage"...... |
72760 | 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 73 61 76 65 49 6d 61 67 65 43 6d 64 2e | ...........label="&saveImageCmd. |
72780 | 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 | label;".................accesske |
727a0 | 79 3d 22 26 73 61 76 65 49 6d 61 67 65 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 | y="&saveImageCmd.accesskey;".... |
727c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 43 6f 6e 74 65 78 74 | .............oncommand="gContext |
727e0 | 4d 65 6e 75 2e 73 61 76 65 4d 65 64 69 61 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 | Menu.saveMedia();"/>.......<menu |
72800 | 69 74 65 6d 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 73 65 6e 64 69 6d 61 67 65 22 20 20 0a 20 20 | item.id="context-sendimage"..... |
72820 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 73 65 6e 64 49 6d 61 67 65 43 | ..............label="&sendImageC |
72840 | 6d 64 2e 6c 61 62 65 6c 3b 22 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 | md.label;"..................acce |
72860 | 73 73 6b 65 79 3d 22 26 73 65 6e 64 49 6d 61 67 65 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 | sskey="&sendImageCmd.accesskey;" |
72880 | 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 43 6f | ..................oncommand="gCo |
728a0 | 6e 74 65 78 74 4d 65 6e 75 2e 73 65 6e 64 4d 65 64 69 61 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 | ntextMenu.sendMedia();"/>....... |
728c0 | 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 73 65 74 44 65 73 6b 74 6f 70 | <menuitem.id="context-setDesktop |
728e0 | 42 61 63 6b 67 72 6f 75 6e 64 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 | Background".................labe |
72900 | 6c 3d 22 26 73 65 74 44 65 73 6b 74 6f 70 42 61 63 6b 67 72 6f 75 6e 64 43 6d 64 2e 6c 61 62 65 | l="&setDesktopBackgroundCmd.labe |
72920 | 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 | l;".................accesskey="& |
72940 | 73 65 74 44 65 73 6b 74 6f 70 42 61 63 6b 67 72 6f 75 6e 64 43 6d 64 2e 61 63 63 65 73 73 6b 65 | setDesktopBackgroundCmd.accesske |
72960 | 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 | y;".................oncommand="g |
72980 | 43 6f 6e 74 65 78 74 4d 65 6e 75 2e 73 65 74 44 65 73 6b 74 6f 70 42 61 63 6b 67 72 6f 75 6e 64 | ContextMenu.setDesktopBackground |
729a0 | 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 63 6f 6e 74 65 | ();"/>.......<menuitem.id="conte |
729c0 | 78 74 2d 62 6c 6f 63 6b 69 6d 61 67 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 | xt-blockimage".................t |
729e0 | 79 70 65 3d 22 63 68 65 63 6b 62 6f 78 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 | ype="checkbox".................a |
72a00 | 63 63 65 73 73 6b 65 79 3d 22 26 62 6c 6f 63 6b 49 6d 61 67 65 43 6d 64 2e 61 63 63 65 73 73 6b | ccesskey="&blockImageCmd.accessk |
72a20 | 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 | ey;".................oncommand=" |
72a40 | 67 43 6f 6e 74 65 78 74 4d 65 6e 75 2e 74 6f 67 67 6c 65 49 6d 61 67 65 42 6c 6f 63 6b 69 6e 67 | gContextMenu.toggleImageBlocking |
72a60 | 28 74 68 69 73 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 27 63 68 65 63 6b 65 64 27 29 20 3d 3d | (this.getAttribute('checked').== |
72a80 | 20 27 74 72 75 65 27 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d | .'true');"/>.......<menuitem.id= |
72aa0 | 22 63 6f 6e 74 65 78 74 2d 73 61 76 65 76 69 64 65 6f 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 | "context-savevideo"............. |
72ac0 | 20 20 20 20 6c 61 62 65 6c 3d 22 26 73 61 76 65 56 69 64 65 6f 43 6d 64 2e 6c 61 62 65 6c 3b 22 | ....label="&saveVideoCmd.label;" |
72ae0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 73 61 76 | .................accesskey="&sav |
72b00 | 65 56 69 64 65 6f 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 | eVideoCmd.accesskey;"........... |
72b20 | 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 43 6f 6e 74 65 78 74 4d 65 6e 75 2e 73 61 | ......oncommand="gContextMenu.sa |
72b40 | 76 65 4d 65 64 69 61 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 | veMedia();"/>.......<menuitem.id |
72b60 | 3d 22 63 6f 6e 74 65 78 74 2d 73 61 76 65 61 75 64 69 6f 22 0a 20 20 20 20 20 20 20 20 20 20 20 | ="context-saveaudio"............ |
72b80 | 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 73 61 76 65 41 75 64 69 6f 43 6d 64 2e 6c 61 62 65 6c 3b | .....label="&saveAudioCmd.label; |
72ba0 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 73 61 | ".................accesskey="&sa |
72bc0 | 76 65 41 75 64 69 6f 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 | veAudioCmd.accesskey;".......... |
72be0 | 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 43 6f 6e 74 65 78 74 4d 65 6e 75 2e 73 | .......oncommand="gContextMenu.s |
72c00 | 61 76 65 4d 65 64 69 61 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 | aveMedia();"/>.......<menuitem.i |
72c20 | 64 3d 22 63 6f 6e 74 65 78 74 2d 73 65 6e 64 76 69 64 65 6f 22 0a 20 20 20 20 20 20 20 20 20 20 | d="context-sendvideo"........... |
72c40 | 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 73 65 6e 64 56 69 64 65 6f 43 6d 64 2e 6c 61 62 65 6c | ......label="&sendVideoCmd.label |
72c60 | 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 73 | ;".................accesskey="&s |
72c80 | 65 6e 64 56 69 64 65 6f 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 | endVideoCmd.accesskey;"......... |
72ca0 | 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 43 6f 6e 74 65 78 74 4d 65 6e 75 2e | ........oncommand="gContextMenu. |
72cc0 | 73 65 6e 64 4d 65 64 69 61 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 | sendMedia();"/>.......<menuitem. |
72ce0 | 69 64 3d 22 63 6f 6e 74 65 78 74 2d 73 65 6e 64 61 75 64 69 6f 22 0a 20 20 20 20 20 20 20 20 20 | id="context-sendaudio".......... |
72d00 | 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 73 65 6e 64 41 75 64 69 6f 43 6d 64 2e 6c 61 62 65 | .......label="&sendAudioCmd.labe |
72d20 | 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 | l;".................accesskey="& |
72d40 | 73 65 6e 64 41 75 64 69 6f 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 | sendAudioCmd.accesskey;"........ |
72d60 | 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 43 6f 6e 74 65 78 74 4d 65 6e 75 | .........oncommand="gContextMenu |
72d80 | 2e 73 65 6e 64 4d 65 64 69 61 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d | .sendMedia();"/>.......<menuitem |
72da0 | 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 62 61 63 6b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | .id="context-back".............. |
72dc0 | 20 20 20 6c 61 62 65 6c 3d 22 26 62 61 63 6b 43 6d 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 | ...label="&backCmd.label;"...... |
72de0 | 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 62 61 63 6b 43 6d 64 2e 61 | ...........accesskey="&backCmd.a |
72e00 | 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 68 72 6f 6d | ccesskey;".................chrom |
72e20 | 65 64 69 72 3d 22 26 6c 6f 63 61 6c 65 2e 64 69 72 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 | edir="&locale.dir;"............. |
72e40 | 20 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 42 72 6f 77 73 65 72 3a 42 61 63 6b 4f 72 42 61 63 6b 44 | ....command="Browser:BackOrBackD |
72e60 | 75 70 6c 69 63 61 74 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6c 69 63 | uplicate".................onclic |
72e80 | 6b 3d 22 63 68 65 63 6b 46 6f 72 4d 69 64 64 6c 65 43 6c 69 63 6b 28 74 68 69 73 2c 20 65 76 65 | k="checkForMiddleClick(this,.eve |
72ea0 | 6e 74 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 63 6f 6e 74 | nt);"/>.......<menuitem.id="cont |
72ec0 | 65 78 74 2d 66 6f 72 77 61 72 64 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 | ext-forward".................lab |
72ee0 | 65 6c 3d 22 26 66 6f 72 77 61 72 64 43 6d 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 | el="&forwardCmd.label;"......... |
72f00 | 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 66 6f 72 77 61 72 64 43 6d 64 2e 61 | ........accesskey="&forwardCmd.a |
72f20 | 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 68 72 6f 6d | ccesskey;".................chrom |
72f40 | 65 64 69 72 3d 22 26 6c 6f 63 61 6c 65 2e 64 69 72 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 | edir="&locale.dir;"............. |
72f60 | 20 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 42 72 6f 77 73 65 72 3a 46 6f 72 77 61 72 64 4f 72 46 6f | ....command="Browser:ForwardOrFo |
72f80 | 72 77 61 72 64 44 75 70 6c 69 63 61 74 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | rwardDuplicate"................. |
72fa0 | 6f 6e 63 6c 69 63 6b 3d 22 63 68 65 63 6b 46 6f 72 4d 69 64 64 6c 65 43 6c 69 63 6b 28 74 68 69 | onclick="checkForMiddleClick(thi |
72fc0 | 73 2c 20 65 76 65 6e 74 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 | s,.event);"/>.......<menuitem.id |
72fe0 | 3d 22 63 6f 6e 74 65 78 74 2d 72 65 6c 6f 61 64 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ="context-reload"............... |
73000 | 20 20 6c 61 62 65 6c 3d 22 26 72 65 6c 6f 61 64 43 6d 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 | ..label="&reloadCmd.label;"..... |
73020 | 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 72 65 6c 6f 61 64 43 6d | ............accesskey="&reloadCm |
73040 | 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f | d.accesskey;".................co |
73060 | 6d 6d 61 6e 64 3d 22 42 72 6f 77 73 65 72 3a 52 65 6c 6f 61 64 4f 72 44 75 70 6c 69 63 61 74 65 | mmand="Browser:ReloadOrDuplicate |
73080 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6c 69 63 6b 3d 22 63 68 65 63 6b | ".................onclick="check |
730a0 | 46 6f 72 4d 69 64 64 6c 65 43 6c 69 63 6b 28 74 68 69 73 2c 20 65 76 65 6e 74 29 3b 22 2f 3e 0a | ForMiddleClick(this,.event);"/>. |
730c0 | 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 73 74 6f 70 | ......<menuitem.id="context-stop |
730e0 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 73 74 6f 70 43 6d | ".................label="&stopCm |
73100 | 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 | d.label;".................access |
73120 | 6b 65 79 3d 22 26 73 74 6f 70 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 | key="&stopCmd.accesskey;"....... |
73140 | 20 20 20 20 20 20 20 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 42 72 6f 77 73 65 72 3a 53 74 6f 70 22 | ..........command="Browser:Stop" |
73160 | 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 73 65 70 61 72 61 74 6f 72 20 69 64 3d 22 63 6f 6e 74 | />.......<menuseparator.id="cont |
73180 | 65 78 74 2d 73 65 70 2d 73 74 6f 70 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 | ext-sep-stop"/>.......<menuitem. |
731a0 | 69 64 3d 22 63 6f 6e 74 65 78 74 2d 62 6f 6f 6b 6d 61 72 6b 70 61 67 65 22 0a 20 20 20 20 20 20 | id="context-bookmarkpage"....... |
731c0 | 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 62 6f 6f 6b 6d 61 72 6b 50 61 67 65 43 6d | ..........label="&bookmarkPageCm |
731e0 | 64 32 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 | d2.label;".................acces |
73200 | 73 6b 65 79 3d 22 26 62 6f 6f 6b 6d 61 72 6b 50 61 67 65 43 6d 64 32 2e 61 63 63 65 73 73 6b 65 | skey="&bookmarkPageCmd2.accesske |
73220 | 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 | y;".................oncommand="g |
73240 | 43 6f 6e 74 65 78 74 4d 65 6e 75 2e 62 6f 6f 6b 6d 61 72 6b 54 68 69 73 50 61 67 65 28 29 3b 22 | ContextMenu.bookmarkThisPage();" |
73260 | 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 73 | />.......<menuitem.id="context-s |
73280 | 61 76 65 70 61 67 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 | avepage".................label=" |
732a0 | 26 73 61 76 65 50 61 67 65 43 6d 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 | &savePageCmd.label;"............ |
732c0 | 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 73 61 76 65 50 61 67 65 43 6d 64 2e 61 63 63 | .....accesskey="&savePageCmd.acc |
732e0 | 65 73 73 6b 65 79 32 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d | esskey2;".................oncomm |
73300 | 61 6e 64 3d 22 67 43 6f 6e 74 65 78 74 4d 65 6e 75 2e 73 61 76 65 50 61 67 65 41 73 28 29 3b 22 | and="gContextMenu.savePageAs();" |
73320 | 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 73 | />.......<menuitem.id="context-s |
73340 | 65 6e 64 70 61 67 65 22 20 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c | endpage"...................label |
73360 | 3d 22 26 73 65 6e 64 50 61 67 65 43 6d 64 2e 6c 61 62 65 6c 3b 22 20 0a 20 20 20 20 20 20 20 20 | ="&sendPageCmd.label;".......... |
73380 | 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 73 65 6e 64 50 61 67 65 43 6d 64 2e | ........accesskey="&sendPageCmd. |
733a0 | 61 63 63 65 73 73 6b 65 79 3b 22 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 | accesskey;"..................onc |
733c0 | 6f 6d 6d 61 6e 64 3d 22 67 43 6f 6e 74 65 78 74 4d 65 6e 75 2e 73 65 6e 64 50 61 67 65 28 29 3b | ommand="gContextMenu.sendPage(); |
733e0 | 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 73 65 70 61 72 61 74 6f 72 20 69 64 3d 22 63 6f 6e | "/>.......<menuseparator.id="con |
73400 | 74 65 78 74 2d 73 65 70 2d 76 69 65 77 62 67 69 6d 61 67 65 22 2f 3e 20 20 0a 20 20 20 20 20 20 | text-sep-viewbgimage"/>......... |
73420 | 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 76 69 65 77 62 67 69 6d 61 67 | <menuitem.id="context-viewbgimag |
73440 | 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 76 69 65 77 42 | e".................label="&viewB |
73460 | 47 49 6d 61 67 65 43 6d 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | GImageCmd.label;"............... |
73480 | 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 76 69 65 77 42 47 49 6d 61 67 65 43 6d 64 2e 61 63 63 | ..accesskey="&viewBGImageCmd.acc |
734a0 | 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 | esskey;".................oncomma |
734c0 | 6e 64 3d 22 67 43 6f 6e 74 65 78 74 4d 65 6e 75 2e 76 69 65 77 42 47 49 6d 61 67 65 28 65 76 65 | nd="gContextMenu.viewBGImage(eve |
734e0 | 6e 74 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6c 69 63 6b 3d 22 63 | nt);".................onclick="c |
73500 | 68 65 63 6b 46 6f 72 4d 69 64 64 6c 65 43 6c 69 63 6b 28 74 68 69 73 2c 20 65 76 65 6e 74 29 3b | heckForMiddleClick(this,.event); |
73520 | 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d | "/>.......<menuitem.id="context- |
73540 | 75 6e 64 6f 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 75 6e | undo".................label="&un |
73560 | 64 6f 43 6d 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 | doCmd.label;".................ac |
73580 | 63 65 73 73 6b 65 79 3d 22 26 75 6e 64 6f 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 | cesskey="&undoCmd.accesskey;"... |
735a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 63 6d 64 5f 75 6e 64 6f 22 | ..............command="cmd_undo" |
735c0 | 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 73 65 70 61 72 61 74 6f 72 20 69 64 3d 22 63 6f 6e 74 | />.......<menuseparator.id="cont |
735e0 | 65 78 74 2d 73 65 70 2d 75 6e 64 6f 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 | ext-sep-undo"/>.......<menuitem. |
73600 | 69 64 3d 22 63 6f 6e 74 65 78 74 2d 63 75 74 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | id="context-cut"................ |
73620 | 20 6c 61 62 65 6c 3d 22 26 63 75 74 43 6d 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 | .label="&cutCmd.label;"......... |
73640 | 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 63 75 74 43 6d 64 2e 61 63 63 65 73 | ........accesskey="&cutCmd.acces |
73660 | 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 | skey;".................command=" |
73680 | 63 6d 64 5f 63 75 74 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 63 | cmd_cut"/>.......<menuitem.id="c |
736a0 | 6f 6e 74 65 78 74 2d 63 6f 70 79 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 | ontext-copy".................lab |
736c0 | 65 6c 3d 22 26 63 6f 70 79 43 6d 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 | el="©Cmd.label;"............ |
736e0 | 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 63 6f 70 79 43 6d 64 2e 61 63 63 65 73 73 6b | .....accesskey="©Cmd.accessk |
73700 | 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 63 6d | ey;".................command="cm |
73720 | 64 5f 63 6f 70 79 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 63 6f | d_copy"/>.......<menuitem.id="co |
73740 | 6e 74 65 78 74 2d 70 61 73 74 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 | ntext-paste".................lab |
73760 | 65 6c 3d 22 26 70 61 73 74 65 43 6d 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 | el="&pasteCmd.label;"........... |
73780 | 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 70 61 73 74 65 43 6d 64 2e 61 63 63 65 73 | ......accesskey="&pasteCmd.acces |
737a0 | 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 | skey;".................command=" |
737c0 | 63 6d 64 5f 70 61 73 74 65 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d | cmd_paste"/>.......<menuitem.id= |
737e0 | 22 63 6f 6e 74 65 78 74 2d 64 65 6c 65 74 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | "context-delete"................ |
73800 | 20 6c 61 62 65 6c 3d 22 26 64 65 6c 65 74 65 43 6d 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 | .label="&deleteCmd.label;"...... |
73820 | 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 64 65 6c 65 74 65 43 6d 64 | ...........accesskey="&deleteCmd |
73840 | 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6d | .accesskey;".................com |
73860 | 6d 61 6e 64 3d 22 63 6d 64 5f 64 65 6c 65 74 65 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 73 | mand="cmd_delete"/>.......<menus |
73880 | 65 70 61 72 61 74 6f 72 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 73 65 70 2d 70 61 73 74 65 22 2f | eparator.id="context-sep-paste"/ |
738a0 | 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 73 65 | >.......<menuitem.id="context-se |
738c0 | 6c 65 63 74 61 6c 6c 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 | lectall".................label=" |
738e0 | 26 73 65 6c 65 63 74 41 6c 6c 43 6d 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 | &selectAllCmd.label;"........... |
73900 | 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 73 65 6c 65 63 74 41 6c 6c 43 6d 64 2e 61 | ......accesskey="&selectAllCmd.a |
73920 | 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6d 6d 61 | ccesskey;".................comma |
73940 | 6e 64 3d 22 63 6d 64 5f 73 65 6c 65 63 74 41 6c 6c 22 2f 3e 20 20 20 20 20 20 0a 20 20 20 20 20 | nd="cmd_selectAll"/>............ |
73960 | 20 3c 6d 65 6e 75 73 65 70 61 72 61 74 6f 72 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 73 65 70 2d | .<menuseparator.id="context-sep- |
73980 | 73 65 6c 65 63 74 61 6c 6c 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d | selectall"/>.......<menuitem.id= |
739a0 | 22 63 6f 6e 74 65 78 74 2d 6b 65 79 77 6f 72 64 66 69 65 6c 64 22 0a 20 20 20 20 20 20 20 20 20 | "context-keywordfield".......... |
739c0 | 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 6b 65 79 77 6f 72 64 66 69 65 6c 64 2e 6c 61 62 65 | .......label="&keywordfield.labe |
739e0 | 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 | l;".................accesskey="& |
73a00 | 6b 65 79 77 6f 72 64 66 69 65 6c 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 | keywordfield.accesskey;"........ |
73a20 | 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 41 64 64 4b 65 79 77 6f 72 64 46 6f | .........oncommand="AddKeywordFo |
73a40 | 72 53 65 61 72 63 68 46 69 65 6c 64 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 | rSearchField();"/>.......<menuit |
73a60 | 65 6d 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 73 65 61 72 63 68 73 65 6c 65 63 74 22 0a 20 20 20 | em.id="context-searchselect".... |
73a80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 42 72 6f 77 73 65 72 53 | .............oncommand="BrowserS |
73aa0 | 65 61 72 63 68 2e 6c 6f 61 64 53 65 61 72 63 68 28 67 65 74 42 72 6f 77 73 65 72 53 65 6c 65 63 | earch.loadSearch(getBrowserSelec |
73ac0 | 74 69 6f 6e 28 29 2c 20 74 72 75 65 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 73 65 70 | tion(),.true);"/>.......<menusep |
73ae0 | 61 72 61 74 6f 72 20 69 64 3d 22 66 72 61 6d 65 2d 73 65 70 22 2f 3e 0a 20 20 20 20 20 20 3c 6d | arator.id="frame-sep"/>.......<m |
73b00 | 65 6e 75 20 69 64 3d 22 66 72 61 6d 65 22 20 6c 61 62 65 6c 3d 22 26 74 68 69 73 46 72 61 6d 65 | enu.id="frame".label="&thisFrame |
73b20 | 4d 65 6e 75 2e 6c 61 62 65 6c 3b 22 20 61 63 63 65 73 73 6b 65 79 3d 22 26 74 68 69 73 46 72 61 | Menu.label;".accesskey="&thisFra |
73b40 | 6d 65 4d 65 6e 75 2e 61 63 63 65 73 73 6b 65 79 3b 22 3e 0a 20 20 20 20 20 20 20 20 3c 6d 65 6e | meMenu.accesskey;">.........<men |
73b60 | 75 70 6f 70 75 70 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 | upopup>...........<menuitem.id=" |
73b80 | 63 6f 6e 74 65 78 74 2d 73 68 6f 77 6f 6e 6c 79 74 68 69 73 66 72 61 6d 65 22 0a 20 20 20 20 20 | context-showonlythisframe"...... |
73ba0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 73 68 6f 77 4f 6e 6c 79 54 | ...............label="&showOnlyT |
73bc0 | 68 69 73 46 72 61 6d 65 43 6d 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 | hisFrameCmd.label;"............. |
73be0 | 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 73 68 6f 77 4f 6e 6c 79 54 68 69 73 | ........accesskey="&showOnlyThis |
73c00 | 46 72 61 6d 65 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 | FrameCmd.accesskey;"............ |
73c20 | 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 43 6f 6e 74 65 78 74 4d 65 6e 75 | .........oncommand="gContextMenu |
73c40 | 2e 73 68 6f 77 4f 6e 6c 79 54 68 69 73 46 72 61 6d 65 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 20 | .showOnlyThisFrame();"/>........ |
73c60 | 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 6f 70 65 6e 66 72 61 | ...<menuitem.id="context-openfra |
73c80 | 6d 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 | me".....................label="& |
73ca0 | 6f 70 65 6e 46 72 61 6d 65 43 6d 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 | openFrameCmd.label;"............ |
73cc0 | 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 6f 70 65 6e 46 72 61 6d 65 43 6d | .........accesskey="&openFrameCm |
73ce0 | 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | d.accesskey;"................... |
73d00 | 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 43 6f 6e 74 65 78 74 4d 65 6e 75 2e 6f 70 65 6e 46 72 | ..oncommand="gContextMenu.openFr |
73d20 | 61 6d 65 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 | ame();"/>...........<menuitem.id |
73d40 | 3d 22 63 6f 6e 74 65 78 74 2d 6f 70 65 6e 66 72 61 6d 65 69 6e 74 61 62 22 0a 20 20 20 20 20 20 | ="context-openframeintab"....... |
73d60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 6f 70 65 6e 46 72 61 6d 65 43 | ..............label="&openFrameC |
73d80 | 6d 64 49 6e 54 61 62 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | mdInTab.label;"................. |
73da0 | 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 6f 70 65 6e 46 72 61 6d 65 43 6d 64 49 6e 54 61 | ....accesskey="&openFrameCmdInTa |
73dc0 | 62 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | b.accesskey;"................... |
73de0 | 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 43 6f 6e 74 65 78 74 4d 65 6e 75 2e 6f 70 65 6e 46 72 | ..oncommand="gContextMenu.openFr |
73e00 | 61 6d 65 49 6e 54 61 62 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 73 65 | ameInTab();"/>...........<menuse |
73e20 | 70 61 72 61 74 6f 72 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 | parator/>...........<menuitem.id |
73e40 | 3d 22 63 6f 6e 74 65 78 74 2d 72 65 6c 6f 61 64 66 72 61 6d 65 22 0a 20 20 20 20 20 20 20 20 20 | ="context-reloadframe".......... |
73e60 | 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 72 65 6c 6f 61 64 46 72 61 6d 65 43 6d | ...........label="&reloadFrameCm |
73e80 | 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 | d.label;".....................ac |
73ea0 | 63 65 73 73 6b 65 79 3d 22 26 72 65 6c 6f 61 64 46 72 61 6d 65 43 6d 64 2e 61 63 63 65 73 73 6b | cesskey="&reloadFrameCmd.accessk |
73ec0 | 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 | ey;".....................oncomma |
73ee0 | 6e 64 3d 22 67 43 6f 6e 74 65 78 74 4d 65 6e 75 2e 72 65 6c 6f 61 64 46 72 61 6d 65 28 29 3b 22 | nd="gContextMenu.reloadFrame();" |
73f00 | 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 73 65 70 61 72 61 74 6f 72 2f 3e 0a 20 20 | />...........<menuseparator/>... |
73f20 | 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 62 6f | ........<menuitem.id="context-bo |
73f40 | 6f 6b 6d 61 72 6b 66 72 61 6d 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | okmarkframe".................... |
73f60 | 20 6c 61 62 65 6c 3d 22 26 62 6f 6f 6b 6d 61 72 6b 54 68 69 73 46 72 61 6d 65 43 6d 64 2e 6c 61 | .label="&bookmarkThisFrameCmd.la |
73f80 | 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 | bel;".....................access |
73fa0 | 6b 65 79 3d 22 26 62 6f 6f 6b 6d 61 72 6b 54 68 69 73 46 72 61 6d 65 43 6d 64 2e 61 63 63 65 73 | key="&bookmarkThisFrameCmd.acces |
73fc0 | 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d | skey;".....................oncom |
73fe0 | 6d 61 6e 64 3d 22 67 43 6f 6e 74 65 78 74 4d 65 6e 75 2e 61 64 64 42 6f 6f 6b 6d 61 72 6b 46 6f | mand="gContextMenu.addBookmarkFo |
74000 | 72 46 72 61 6d 65 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d | rFrame();"/>...........<menuitem |
74020 | 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 73 61 76 65 66 72 61 6d 65 22 0a 20 20 20 20 20 20 20 20 | .id="context-saveframe"......... |
74040 | 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 73 61 76 65 46 72 61 6d 65 43 6d 64 | ............label="&saveFrameCmd |
74060 | 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 | .label;".....................acc |
74080 | 65 73 73 6b 65 79 3d 22 26 73 61 76 65 46 72 61 6d 65 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b | esskey="&saveFrameCmd.accesskey; |
740a0 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d | ".....................oncommand= |
740c0 | 22 67 43 6f 6e 74 65 78 74 4d 65 6e 75 2e 73 61 76 65 46 72 61 6d 65 28 29 3b 22 2f 3e 0a 20 20 | "gContextMenu.saveFrame();"/>... |
740e0 | 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 73 65 70 61 72 61 74 6f 72 2f 3e 0a 20 20 20 20 20 20 20 | ........<menuseparator/>........ |
74100 | 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 70 72 69 6e 74 66 72 | ...<menuitem.id="context-printfr |
74120 | 61 6d 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 | ame".....................label=" |
74140 | 26 70 72 69 6e 74 46 72 61 6d 65 43 6d 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 | &printFrameCmd.label;".......... |
74160 | 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 70 72 69 6e 74 46 72 61 6d | ...........accesskey="&printFram |
74180 | 65 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | eCmd.accesskey;"................ |
741a0 | 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 43 6f 6e 74 65 78 74 4d 65 6e 75 2e 70 72 69 | .....oncommand="gContextMenu.pri |
741c0 | 6e 74 46 72 61 6d 65 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 73 65 70 | ntFrame();"/>...........<menusep |
741e0 | 61 72 61 74 6f 72 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d | arator/>...........<menuitem.id= |
74200 | 22 63 6f 6e 74 65 78 74 2d 76 69 65 77 66 72 61 6d 65 73 6f 75 72 63 65 22 0a 20 20 20 20 20 20 | "context-viewframesource"....... |
74220 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 76 69 65 77 46 72 61 6d 65 53 | ..............label="&viewFrameS |
74240 | 6f 75 72 63 65 43 6d 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ourceCmd.label;"................ |
74260 | 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 76 69 65 77 46 72 61 6d 65 53 6f 75 72 63 65 | .....accesskey="&viewFrameSource |
74280 | 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | Cmd.accesskey;"................. |
742a0 | 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 43 6f 6e 74 65 78 74 4d 65 6e 75 2e 76 69 65 77 | ....oncommand="gContextMenu.view |
742c0 | 46 72 61 6d 65 53 6f 75 72 63 65 28 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | FrameSource();"................. |
742e0 | 20 20 20 20 6f 62 73 65 72 76 65 73 3d 22 69 73 46 72 61 6d 65 49 6d 61 67 65 22 2f 3e 0a 20 20 | ....observes="isFrameImage"/>... |
74300 | 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 76 69 | ........<menuitem.id="context-vi |
74320 | 65 77 66 72 61 6d 65 69 6e 66 6f 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ewframeinfo".................... |
74340 | 20 6c 61 62 65 6c 3d 22 26 76 69 65 77 46 72 61 6d 65 49 6e 66 6f 43 6d 64 2e 6c 61 62 65 6c 3b | .label="&viewFrameInfoCmd.label; |
74360 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d | ".....................accesskey= |
74380 | 22 26 76 69 65 77 46 72 61 6d 65 49 6e 66 6f 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 | "&viewFrameInfoCmd.accesskey;".. |
743a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 43 | ...................oncommand="gC |
743c0 | 6f 6e 74 65 78 74 4d 65 6e 75 2e 76 69 65 77 46 72 61 6d 65 49 6e 66 6f 28 29 3b 22 2f 3e 0a 20 | ontextMenu.viewFrameInfo();"/>.. |
743e0 | 20 20 20 20 20 20 20 3c 2f 6d 65 6e 75 70 6f 70 75 70 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 6e 75 | .......</menupopup>.......</menu |
74400 | 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 73 65 70 61 72 61 74 6f 72 20 69 64 3d 22 63 6f 6e 74 65 | >.......<menuseparator.id="conte |
74420 | 78 74 2d 73 65 70 2d 70 72 6f 70 65 72 74 69 65 73 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 | xt-sep-properties"/>.......<menu |
74440 | 69 74 65 6d 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 76 69 65 77 70 61 72 74 69 61 6c 73 6f 75 72 | item.id="context-viewpartialsour |
74460 | 63 65 2d 73 65 6c 65 63 74 69 6f 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 | ce-selection".................la |
74480 | 62 65 6c 3d 22 26 76 69 65 77 50 61 72 74 69 61 6c 53 6f 75 72 63 65 46 6f 72 53 65 6c 65 63 74 | bel="&viewPartialSourceForSelect |
744a0 | 69 6f 6e 43 6d 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 | ionCmd.label;".................a |
744c0 | 63 63 65 73 73 6b 65 79 3d 22 26 76 69 65 77 50 61 72 74 69 61 6c 53 6f 75 72 63 65 43 6d 64 2e | ccesskey="&viewPartialSourceCmd. |
744e0 | 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f | accesskey;".................onco |
74500 | 6d 6d 61 6e 64 3d 22 67 43 6f 6e 74 65 78 74 4d 65 6e 75 2e 76 69 65 77 50 61 72 74 69 61 6c 53 | mmand="gContextMenu.viewPartialS |
74520 | 6f 75 72 63 65 28 27 73 65 6c 65 63 74 69 6f 6e 27 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 | ource('selection');"............ |
74540 | 20 20 20 20 20 6f 62 73 65 72 76 65 73 3d 22 69 73 49 6d 61 67 65 22 2f 3e 0a 20 20 20 20 20 20 | .....observes="isImage"/>....... |
74560 | 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 76 69 65 77 70 61 72 74 69 61 | <menuitem.id="context-viewpartia |
74580 | 6c 73 6f 75 72 63 65 2d 6d 61 74 68 6d 6c 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | lsource-mathml"................. |
745a0 | 6c 61 62 65 6c 3d 22 26 76 69 65 77 50 61 72 74 69 61 6c 53 6f 75 72 63 65 46 6f 72 4d 61 74 68 | label="&viewPartialSourceForMath |
745c0 | 4d 4c 43 6d 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 | MLCmd.label;".................ac |
745e0 | 63 65 73 73 6b 65 79 3d 22 26 76 69 65 77 50 61 72 74 69 61 6c 53 6f 75 72 63 65 43 6d 64 2e 61 | cesskey="&viewPartialSourceCmd.a |
74600 | 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d | ccesskey;".................oncom |
74620 | 6d 61 6e 64 3d 22 67 43 6f 6e 74 65 78 74 4d 65 6e 75 2e 76 69 65 77 50 61 72 74 69 61 6c 53 6f | mand="gContextMenu.viewPartialSo |
74640 | 75 72 63 65 28 27 6d 61 74 68 6d 6c 27 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | urce('mathml');"................ |
74660 | 20 6f 62 73 65 72 76 65 73 3d 22 69 73 49 6d 61 67 65 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e | .observes="isImage"/>.......<men |
74680 | 75 69 74 65 6d 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 76 69 65 77 73 6f 75 72 63 65 22 0a 20 20 | uitem.id="context-viewsource"... |
746a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 76 69 65 77 50 61 67 65 53 6f | ..............label="&viewPageSo |
746c0 | 75 72 63 65 43 6d 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | urceCmd.label;"................. |
746e0 | 61 63 63 65 73 73 6b 65 79 3d 22 26 76 69 65 77 50 61 67 65 53 6f 75 72 63 65 43 6d 64 2e 61 63 | accesskey="&viewPageSourceCmd.ac |
74700 | 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d | cesskey;".................oncomm |
74720 | 61 6e 64 3d 22 42 72 6f 77 73 65 72 56 69 65 77 53 6f 75 72 63 65 4f 66 44 6f 63 75 6d 65 6e 74 | and="BrowserViewSourceOfDocument |
74740 | 28 67 43 6f 6e 74 65 78 74 4d 65 6e 75 2e 62 72 6f 77 73 65 72 2e 63 6f 6e 74 65 6e 74 44 6f 63 | (gContextMenu.browser.contentDoc |
74760 | 75 6d 65 6e 74 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 62 73 65 72 76 65 | ument);".................observe |
74780 | 73 3d 22 69 73 49 6d 61 67 65 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 | s="isImage"/>.......<menuitem.id |
747a0 | 3d 22 63 6f 6e 74 65 78 74 2d 76 69 65 77 69 6e 66 6f 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ="context-viewinfo"............. |
747c0 | 20 20 20 20 6c 61 62 65 6c 3d 22 26 76 69 65 77 50 61 67 65 49 6e 66 6f 43 6d 64 2e 6c 61 62 65 | ....label="&viewPageInfoCmd.labe |
747e0 | 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 | l;".................accesskey="& |
74800 | 76 69 65 77 50 61 67 65 49 6e 66 6f 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 | viewPageInfoCmd.accesskey;"..... |
74820 | 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 43 6f 6e 74 65 78 74 4d | ............oncommand="gContextM |
74840 | 65 6e 75 2e 76 69 65 77 49 6e 66 6f 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 | enu.viewInfo();"/>.......<menuit |
74860 | 65 6d 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 6d 65 74 61 64 61 74 61 22 0a 20 20 20 20 20 20 20 | em.id="context-metadata"........ |
74880 | 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 6d 65 74 61 64 61 74 61 43 6d 64 2e 6c 61 62 | .........label="&metadataCmd.lab |
748a0 | 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 | el;".................accesskey=" |
748c0 | 26 6d 65 74 61 64 61 74 61 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 | &metadataCmd.accesskey;"........ |
748e0 | 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 43 6f 6e 74 65 78 74 4d 65 6e 75 | .........oncommand="gContextMenu |
74900 | 2e 73 68 6f 77 4d 65 74 61 64 61 74 61 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 73 | .showMetadata();"/>.......<menus |
74920 | 65 70 61 72 61 74 6f 72 20 69 64 3d 22 73 70 65 6c 6c 2d 73 65 70 61 72 61 74 6f 72 22 2f 3e 0a | eparator.id="spell-separator"/>. |
74940 | 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 73 70 65 6c 6c 2d 63 68 65 63 6b 2d | ......<menuitem.id="spell-check- |
74960 | 65 6e 61 62 6c 65 64 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 | enabled".................label=" |
74980 | 26 73 70 65 6c 6c 43 68 65 63 6b 45 6e 61 62 6c 65 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 | &spellCheckEnable.label;"....... |
749a0 | 20 20 20 20 20 20 20 20 20 20 74 79 70 65 3d 22 63 68 65 63 6b 62 6f 78 22 0a 20 20 20 20 20 20 | ..........type="checkbox"....... |
749c0 | 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 73 70 65 6c 6c 43 68 65 63 6b | ..........accesskey="&spellCheck |
749e0 | 45 6e 61 62 6c 65 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | Enable.accesskey;".............. |
74a00 | 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 49 6e 6c 69 6e 65 53 70 65 6c 6c 43 68 65 63 6b 65 72 | ...oncommand="InlineSpellChecker |
74a20 | 55 49 2e 74 6f 67 67 6c 65 45 6e 61 62 6c 65 64 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 | UI.toggleEnabled();"/>.......<me |
74a40 | 6e 75 69 74 65 6d 20 69 64 3d 22 73 70 65 6c 6c 2d 61 64 64 2d 64 69 63 74 69 6f 6e 61 72 69 65 | nuitem.id="spell-add-dictionarie |
74a60 | 73 2d 6d 61 69 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 | s-main".................label="& |
74a80 | 73 70 65 6c 6c 41 64 64 44 69 63 74 69 6f 6e 61 72 69 65 73 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 | spellAddDictionaries.label;".... |
74aa0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 73 70 65 6c 6c 41 64 | .............accesskey="&spellAd |
74ac0 | 64 44 69 63 74 69 6f 6e 61 72 69 65 73 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 | dDictionaries.accesskey;"....... |
74ae0 | 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 43 6f 6e 74 65 78 74 4d 65 6e | ..........oncommand="gContextMen |
74b00 | 75 2e 61 64 64 44 69 63 74 69 6f 6e 61 72 69 65 73 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 6d | u.addDictionaries();"/>.......<m |
74b20 | 65 6e 75 20 69 64 3d 22 73 70 65 6c 6c 2d 64 69 63 74 69 6f 6e 61 72 69 65 73 22 0a 20 20 20 20 | enu.id="spell-dictionaries"..... |
74b40 | 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 73 70 65 6c 6c 44 69 63 74 69 6f 6e 61 72 69 65 | ........label="&spellDictionarie |
74b60 | 73 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d | s.label;".............accesskey= |
74b80 | 22 26 73 70 65 6c 6c 44 69 63 74 69 6f 6e 61 72 69 65 73 2e 61 63 63 65 73 73 6b 65 79 3b 22 3e | "&spellDictionaries.accesskey;"> |
74ba0 | 0a 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 70 6f 70 75 70 20 69 64 3d 22 73 70 65 6c 6c 2d | ...........<menupopup.id="spell- |
74bc0 | 64 69 63 74 69 6f 6e 61 72 69 65 73 2d 6d 65 6e 75 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 | dictionaries-menu">............. |
74be0 | 20 20 3c 6d 65 6e 75 73 65 70 61 72 61 74 6f 72 20 69 64 3d 22 73 70 65 6c 6c 2d 6c 61 6e 67 75 | ..<menuseparator.id="spell-langu |
74c00 | 61 67 65 2d 73 65 70 61 72 61 74 6f 72 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c | age-separator"/>...............< |
74c20 | 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 73 70 65 6c 6c 2d 61 64 64 2d 64 69 63 74 69 6f 6e 61 72 | menuitem.id="spell-add-dictionar |
74c40 | 69 65 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 | ies".........................lab |
74c60 | 65 6c 3d 22 26 73 70 65 6c 6c 41 64 64 44 69 63 74 69 6f 6e 61 72 69 65 73 2e 6c 61 62 65 6c 3b | el="&spellAddDictionaries.label; |
74c80 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 | ".........................access |
74ca0 | 6b 65 79 3d 22 26 73 70 65 6c 6c 41 64 64 44 69 63 74 69 6f 6e 61 72 69 65 73 2e 61 63 63 65 73 | key="&spellAddDictionaries.acces |
74cc0 | 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f | skey;".........................o |
74ce0 | 6e 63 6f 6d 6d 61 6e 64 3d 22 67 43 6f 6e 74 65 78 74 4d 65 6e 75 2e 61 64 64 44 69 63 74 69 6f | ncommand="gContextMenu.addDictio |
74d00 | 6e 61 72 69 65 73 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 2f 6d 65 6e 75 70 6f 70 | naries();"/>...........</menupop |
74d20 | 75 70 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 6e 75 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 73 65 70 | up>.......</menu>.......<menusep |
74d40 | 61 72 61 74 6f 72 20 68 69 64 64 65 6e 3d 22 74 72 75 65 22 20 69 64 3d 22 63 6f 6e 74 65 78 74 | arator.hidden="true".id="context |
74d60 | 2d 73 65 70 2d 62 69 64 69 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 68 69 64 | -sep-bidi"/>.......<menuitem.hid |
74d80 | 64 65 6e 3d 22 74 72 75 65 22 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 62 69 64 69 2d 74 65 78 74 | den="true".id="context-bidi-text |
74da0 | 2d 64 69 72 65 63 74 69 6f 6e 2d 74 6f 67 67 6c 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | -direction-toggle".............. |
74dc0 | 20 20 20 6c 61 62 65 6c 3d 22 26 62 69 64 69 53 77 69 74 63 68 54 65 78 74 44 69 72 65 63 74 69 | ...label="&bidiSwitchTextDirecti |
74de0 | 6f 6e 49 74 65 6d 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 | onItem.label;".................a |
74e00 | 63 63 65 73 73 6b 65 79 3d 22 26 62 69 64 69 53 77 69 74 63 68 54 65 78 74 44 69 72 65 63 74 69 | ccesskey="&bidiSwitchTextDirecti |
74e20 | 6f 6e 49 74 65 6d 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | onItem.accesskey;".............. |
74e40 | 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 63 6d 64 5f 73 77 69 74 63 68 54 65 78 74 44 69 72 65 63 74 | ...command="cmd_switchTextDirect |
74e60 | 69 6f 6e 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 68 69 64 64 65 6e 3d 22 74 | ion"/>.......<menuitem.hidden="t |
74e80 | 72 75 65 22 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 62 69 64 69 2d 70 61 67 65 2d 64 69 72 65 63 | rue".id="context-bidi-page-direc |
74ea0 | 74 69 6f 6e 2d 74 6f 67 67 6c 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 | tion-toggle".................lab |
74ec0 | 65 6c 3d 22 26 62 69 64 69 53 77 69 74 63 68 50 61 67 65 44 69 72 65 63 74 69 6f 6e 49 74 65 6d | el="&bidiSwitchPageDirectionItem |
74ee0 | 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b | .label;".................accessk |
74f00 | 65 79 3d 22 26 62 69 64 69 53 77 69 74 63 68 50 61 67 65 44 69 72 65 63 74 69 6f 6e 49 74 65 6d | ey="&bidiSwitchPageDirectionItem |
74f20 | 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 | .accesskey;".................onc |
74f40 | 6f 6d 6d 61 6e 64 3d 22 67 43 6f 6e 74 65 78 74 4d 65 6e 75 2e 73 77 69 74 63 68 50 61 67 65 44 | ommand="gContextMenu.switchPageD |
74f60 | 69 72 65 63 74 69 6f 6e 28 29 3b 22 2f 3e 0a 20 20 20 20 3c 2f 70 6f 70 75 70 3e 0a 0a 20 20 20 | irection();"/>.....</popup>..... |
74f80 | 20 3c 70 6f 70 75 70 20 69 64 3d 22 70 6c 61 63 65 73 43 6f 6e 74 65 78 74 22 2f 3e 0a 0a 20 20 | .<popup.id="placesContext"/>.... |
74fa0 | 20 20 3c 21 2d 2d 20 50 6f 70 75 70 20 66 6f 72 20 73 69 74 65 20 69 64 65 6e 74 69 74 79 20 69 | ..<!--.Popup.for.site.identity.i |
74fc0 | 6e 66 6f 72 6d 61 74 69 6f 6e 20 2d 2d 3e 0a 20 20 20 20 3c 70 61 6e 65 6c 20 69 64 3d 22 69 64 | nformation.-->.....<panel.id="id |
74fe0 | 65 6e 74 69 74 79 2d 70 6f 70 75 70 22 20 70 6f 73 69 74 69 6f 6e 3d 22 61 66 74 65 72 5f 73 74 | entity-popup".position="after_st |
75000 | 61 72 74 22 20 68 69 64 64 65 6e 3d 22 74 72 75 65 22 20 6e 6f 61 75 74 6f 66 6f 63 75 73 3d 22 | art".hidden="true".noautofocus=" |
75020 | 74 72 75 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 6f 6e 70 6f 70 75 70 73 68 6f 77 6e 3d 22 64 | true"............onpopupshown="d |
75040 | 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 27 69 64 65 6e 74 69 74 79 | ocument.getElementById('identity |
75060 | 2d 70 6f 70 75 70 2d 6d 6f 72 65 2d 69 6e 66 6f 2d 62 75 74 74 6f 6e 27 29 2e 66 6f 63 75 73 28 | -popup-more-info-button').focus( |
75080 | 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 6c 65 76 65 6c 3d 22 74 6f 70 22 0a 20 20 20 20 20 | );"............level="top"...... |
750a0 | 20 20 20 20 20 20 63 68 72 6f 6d 65 64 69 72 3d 22 26 6c 6f 63 61 6c 65 2e 64 69 72 3b 22 3e 0a | ......chromedir="&locale.dir;">. |
750c0 | 20 20 20 20 20 20 3c 68 62 6f 78 20 69 64 3d 22 69 64 65 6e 74 69 74 79 2d 70 6f 70 75 70 2d 63 | ......<hbox.id="identity-popup-c |
750e0 | 6f 6e 74 61 69 6e 65 72 22 20 61 6c 69 67 6e 3d 22 74 6f 70 22 3e 0a 20 20 20 20 20 20 20 20 3c | ontainer".align="top">.........< |
75100 | 69 6d 61 67 65 20 69 64 3d 22 69 64 65 6e 74 69 74 79 2d 70 6f 70 75 70 2d 69 63 6f 6e 22 2f 3e | image.id="identity-popup-icon"/> |
75120 | 0a 20 20 20 20 20 20 20 20 3c 76 62 6f 78 20 69 64 3d 22 69 64 65 6e 74 69 74 79 2d 70 6f 70 75 | .........<vbox.id="identity-popu |
75140 | 70 2d 63 6f 6e 74 65 6e 74 2d 62 6f 78 22 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 6c 61 62 65 6c | p-content-box">...........<label |
75160 | 20 69 64 3d 22 69 64 65 6e 74 69 74 79 2d 70 6f 70 75 70 2d 63 6f 6e 6e 65 63 74 65 64 54 6f 4c | .id="identity-popup-connectedToL |
75180 | 61 62 65 6c 22 20 76 61 6c 75 65 3d 22 26 69 64 65 6e 74 69 74 79 2e 63 6f 6e 6e 65 63 74 65 64 | abel".value="&identity.connected |
751a0 | 54 6f 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 6c 61 62 65 6c 20 69 64 3d 22 69 64 65 6e | To;"/>...........<label.id="iden |
751c0 | 74 69 74 79 2d 70 6f 70 75 70 2d 63 6f 6e 6e 65 63 74 65 64 54 6f 4c 61 62 65 6c 32 22 0a 20 20 | tity-popup-connectedToLabel2"... |
751e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 6c 75 65 3d 22 26 69 64 65 6e 74 69 74 79 2e | ...............value="&identity. |
75200 | 75 6e 76 65 72 69 66 69 65 64 73 69 74 65 32 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 64 | unverifiedsite2;"/>...........<d |
75220 | 65 73 63 72 69 70 74 69 6f 6e 20 69 64 3d 22 69 64 65 6e 74 69 74 79 2d 70 6f 70 75 70 2d 63 6f | escription.id="identity-popup-co |
75240 | 6e 74 65 6e 74 2d 68 6f 73 74 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 6c 61 62 65 6c 20 69 | ntent-host"/>...........<label.i |
75260 | 64 3d 22 69 64 65 6e 74 69 74 79 2d 70 6f 70 75 70 2d 72 75 6e 42 79 4c 61 62 65 6c 22 20 76 61 | d="identity-popup-runByLabel".va |
75280 | 6c 75 65 3d 22 26 69 64 65 6e 74 69 74 79 2e 72 75 6e 42 79 3b 22 2f 3e 0a 20 20 20 20 20 20 20 | lue="&identity.runBy;"/>........ |
752a0 | 20 20 20 3c 64 65 73 63 72 69 70 74 69 6f 6e 20 69 64 3d 22 69 64 65 6e 74 69 74 79 2d 70 6f 70 | ...<description.id="identity-pop |
752c0 | 75 70 2d 63 6f 6e 74 65 6e 74 2d 6f 77 6e 65 72 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 64 | up-content-owner"/>...........<d |
752e0 | 65 73 63 72 69 70 74 69 6f 6e 20 69 64 3d 22 69 64 65 6e 74 69 74 79 2d 70 6f 70 75 70 2d 63 6f | escription.id="identity-popup-co |
75300 | 6e 74 65 6e 74 2d 73 75 70 70 6c 65 6d 65 6e 74 61 6c 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 | ntent-supplemental"/>........... |
75320 | 3c 64 65 73 63 72 69 70 74 69 6f 6e 20 69 64 3d 22 69 64 65 6e 74 69 74 79 2d 70 6f 70 75 70 2d | <description.id="identity-popup- |
75340 | 63 6f 6e 74 65 6e 74 2d 76 65 72 69 66 69 65 72 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 68 | content-verifier"/>...........<h |
75360 | 62 6f 78 20 69 64 3d 22 69 64 65 6e 74 69 74 79 2d 70 6f 70 75 70 2d 65 6e 63 72 79 70 74 69 6f | box.id="identity-popup-encryptio |
75380 | 6e 22 20 66 6c 65 78 3d 22 31 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 76 62 6f 78 3e 0a | n".flex="1">.............<vbox>. |
753a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 69 6d 61 67 65 20 69 64 3d 22 69 64 65 6e 74 69 74 | ..............<image.id="identit |
753c0 | 79 2d 70 6f 70 75 70 2d 65 6e 63 72 79 70 74 69 6f 6e 2d 69 63 6f 6e 22 2f 3e 0a 20 20 20 20 20 | y-popup-encryption-icon"/>...... |
753e0 | 20 20 20 20 20 20 20 20 20 3c 73 70 61 63 65 72 20 66 6c 65 78 3d 22 31 22 2f 3e 0a 20 20 20 20 | .........<spacer.flex="1"/>..... |
75400 | 20 20 20 20 20 20 20 20 3c 2f 76 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 64 65 73 | ........</vbox>.............<des |
75420 | 63 72 69 70 74 69 6f 6e 20 69 64 3d 22 69 64 65 6e 74 69 74 79 2d 70 6f 70 75 70 2d 65 6e 63 72 | cription.id="identity-popup-encr |
75440 | 79 70 74 69 6f 6e 2d 6c 61 62 65 6c 22 20 66 6c 65 78 3d 22 31 22 2f 3e 0a 20 20 20 20 20 20 20 | yption-label".flex="1"/>........ |
75460 | 20 20 20 3c 2f 68 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 73 70 61 63 65 72 20 66 6c 65 | ...</hbox>...........<spacer.fle |
75480 | 78 3d 22 31 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 21 2d 2d 20 46 6f 6f 74 65 72 20 62 75 | x="1"/>...........<!--.Footer.bu |
754a0 | 74 74 6f 6e 20 74 6f 20 6f 70 65 6e 20 73 65 63 75 72 69 74 79 20 70 61 67 65 20 69 6e 66 6f 20 | tton.to.open.security.page.info. |
754c0 | 2d 2d 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 68 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 20 20 20 | -->...........<hbox>............ |
754e0 | 20 3c 73 70 61 63 65 72 20 66 6c 65 78 3d 22 31 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 | .<spacer.flex="1"/>............. |
75500 | 3c 62 75 74 74 6f 6e 20 69 64 3d 22 69 64 65 6e 74 69 74 79 2d 70 6f 70 75 70 2d 6d 6f 72 65 2d | <button.id="identity-popup-more- |
75520 | 69 6e 66 6f 2d 62 75 74 74 6f 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | info-button".................... |
75540 | 20 6c 61 62 65 6c 3d 22 26 69 64 65 6e 74 69 74 79 2e 6d 6f 72 65 49 6e 66 6f 4c 69 6e 6b 54 65 | .label="&identity.moreInfoLinkTe |
75560 | 78 74 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 62 6c 75 72 3d | xt;".....................onblur= |
75580 | 22 67 49 64 65 6e 74 69 74 79 48 61 6e 64 6c 65 72 2e 68 69 64 65 49 64 65 6e 74 69 74 79 50 6f | "gIdentityHandler.hideIdentityPo |
755a0 | 70 75 70 28 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f | pup();".....................onco |
755c0 | 6d 6d 61 6e 64 3d 22 67 49 64 65 6e 74 69 74 79 48 61 6e 64 6c 65 72 2e 68 61 6e 64 6c 65 4d 6f | mmand="gIdentityHandler.handleMo |
755e0 | 72 65 49 6e 66 6f 43 6c 69 63 6b 28 65 76 65 6e 74 29 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 | reInfoClick(event);"/>.......... |
75600 | 20 3c 2f 68 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 3c 2f 76 62 6f 78 3e 0a 20 20 20 20 20 20 3c | .</hbox>.........</vbox>.......< |
75620 | 2f 68 62 6f 78 3e 0a 20 20 20 20 3c 2f 70 61 6e 65 6c 3e 0a 0a 20 20 20 20 3c 74 6f 6f 6c 74 69 | /hbox>.....</panel>......<toolti |
75640 | 70 20 69 64 3d 22 75 72 6c 54 6f 6f 6c 74 69 70 22 3e 0a 20 20 20 20 20 20 3c 6c 61 62 65 6c 20 | p.id="urlTooltip">.......<label. |
75660 | 63 72 6f 70 3d 22 63 65 6e 74 65 72 22 20 66 6c 65 78 3d 22 31 22 20 63 6c 61 73 73 3d 22 74 6f | crop="center".flex="1".class="to |
75680 | 6f 6c 74 69 70 2d 6c 61 62 65 6c 22 2f 3e 0a 20 20 20 20 3c 2f 74 6f 6f 6c 74 69 70 3e 0a 20 20 | oltip-label"/>.....</tooltip>... |
756a0 | 3c 2f 70 6f 70 75 70 73 65 74 3e 0a 0a 20 20 3c 21 2d 2d 20 62 6f 6f 6b 6d 61 72 6b 73 20 74 6f | </popupset>....<!--.bookmarks.to |
756c0 | 6f 6c 62 61 72 20 74 6f 6f 6c 74 69 70 20 2d 2d 3e 0a 20 20 3c 74 6f 6f 6c 74 69 70 20 69 64 3d | olbar.tooltip.-->...<tooltip.id= |
756e0 | 22 62 74 54 6f 6f 6c 74 69 70 22 20 6e 6f 61 75 74 6f 68 69 64 65 3d 22 74 72 75 65 22 0a 20 20 | "btTooltip".noautohide="true"... |
75700 | 20 20 20 20 20 20 20 20 20 6f 6e 70 6f 70 75 70 73 68 6f 77 69 6e 67 3d 22 72 65 74 75 72 6e 20 | .........onpopupshowing="return. |
75720 | 42 6f 6f 6b 6d 61 72 6b 73 45 76 65 6e 74 48 61 6e 64 6c 65 72 2e 66 69 6c 6c 49 6e 42 54 54 6f | BookmarksEventHandler.fillInBTTo |
75740 | 6f 6c 74 69 70 28 64 6f 63 75 6d 65 6e 74 2e 74 6f 6f 6c 74 69 70 4e 6f 64 65 29 22 3e 0a 20 20 | oltip(document.tooltipNode)">... |
75760 | 20 20 3c 76 62 6f 78 20 69 64 3d 22 62 74 54 6f 6f 6c 74 69 70 54 65 78 74 42 6f 78 22 20 66 6c | ..<vbox.id="btTooltipTextBox".fl |
75780 | 65 78 3d 22 31 22 3e 0a 20 20 20 20 20 20 3c 6c 61 62 65 6c 20 69 64 3d 22 62 74 54 69 74 6c 65 | ex="1">.......<label.id="btTitle |
757a0 | 54 65 78 74 22 20 63 6c 61 73 73 3d 22 74 6f 6f 6c 74 69 70 2d 6c 61 62 65 6c 22 20 2f 3e 0a 20 | Text".class="tooltip-label"./>.. |
757c0 | 20 20 20 20 20 3c 6c 61 62 65 6c 20 69 64 3d 22 62 74 55 72 6c 54 65 78 74 22 20 63 72 6f 70 3d | .....<label.id="btUrlText".crop= |
757e0 | 22 63 65 6e 74 65 72 22 20 63 6c 61 73 73 3d 22 74 6f 6f 6c 74 69 70 2d 6c 61 62 65 6c 22 20 2f | "center".class="tooltip-label"./ |
75800 | 3e 0a 20 20 20 20 3c 2f 76 62 6f 78 3e 0a 20 20 3c 2f 74 6f 6f 6c 74 69 70 3e 0a 0a 20 20 3c 74 | >.....</vbox>...</tooltip>....<t |
75820 | 6f 6f 6c 62 6f 78 20 69 64 3d 22 6e 61 76 69 67 61 74 6f 72 2d 74 6f 6f 6c 62 6f 78 22 20 63 6c | oolbox.id="navigator-toolbox".cl |
75840 | 61 73 73 3d 22 74 6f 6f 6c 62 6f 78 2d 74 6f 70 22 20 6d 6f 64 65 3d 22 69 63 6f 6e 73 22 0a 20 | ass="toolbox-top".mode="icons".. |
75860 | 20 20 20 20 20 20 20 20 20 20 64 65 66 61 75 6c 74 6d 6f 64 65 3d 22 69 63 6f 6e 73 22 3e 0a 20 | ..........defaultmode="icons">.. |
75880 | 20 20 20 3c 21 2d 2d 20 4d 65 6e 75 20 2d 2d 3e 0a 20 20 20 20 3c 74 6f 6f 6c 62 61 72 20 74 79 | ...<!--.Menu.-->.....<toolbar.ty |
758a0 | 70 65 3d 22 6d 65 6e 75 62 61 72 22 20 69 64 3d 22 74 6f 6f 6c 62 61 72 2d 6d 65 6e 75 62 61 72 | pe="menubar".id="toolbar-menubar |
758c0 | 22 20 63 6c 61 73 73 3d 22 63 68 72 6f 6d 65 63 6c 61 73 73 2d 6d 65 6e 75 62 61 72 22 20 63 75 | ".class="chromeclass-menubar".cu |
758e0 | 73 74 6f 6d 69 7a 61 62 6c 65 3d 22 74 72 75 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 64 | stomizable="true"..............d |
75900 | 65 66 61 75 6c 74 73 65 74 3d 22 6d 65 6e 75 62 61 72 2d 69 74 65 6d 73 22 0a 20 20 20 20 20 20 | efaultset="menubar-items"....... |
75920 | 20 20 20 20 20 20 20 6d 6f 64 65 3d 22 69 63 6f 6e 73 22 20 69 63 6f 6e 73 69 7a 65 3d 22 73 6d | .......mode="icons".iconsize="sm |
75940 | 61 6c 6c 22 20 64 65 66 61 75 6c 74 69 63 6f 6e 73 69 7a 65 3d 22 73 6d 61 6c 6c 22 0a 20 20 20 | all".defaulticonsize="small".... |
75960 | 20 20 20 20 20 20 20 20 20 20 63 6f 6e 74 65 78 74 3d 22 74 6f 6f 6c 62 61 72 2d 63 6f 6e 74 65 | ..........context="toolbar-conte |
75980 | 78 74 2d 6d 65 6e 75 22 3e 0a 20 20 20 20 20 20 3c 74 6f 6f 6c 62 61 72 69 74 65 6d 20 69 64 3d | xt-menu">.......<toolbaritem.id= |
759a0 | 22 6d 65 6e 75 62 61 72 2d 69 74 65 6d 73 22 20 61 6c 69 67 6e 3d 22 63 65 6e 74 65 72 22 3e 0a | "menubar-items".align="center">. |
759c0 | 0a 20 20 20 20 20 20 20 3c 6d 65 6e 75 62 61 72 20 69 64 3d 22 6d 61 69 6e 2d 6d 65 6e 75 62 61 | ........<menubar.id="main-menuba |
759e0 | 72 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 74 79 6c 65 3d 22 62 6f 72 64 65 72 | r".................style="border |
75a00 | 3a 30 70 78 3b 70 61 64 64 69 6e 67 3a 30 70 78 3b 6d 61 72 67 69 6e 3a 30 70 78 3b 2d 6d 6f 7a | :0px;padding:0px;margin:0px;-moz |
75a20 | 2d 61 70 70 65 61 72 61 6e 63 65 3a 6e 6f 6e 65 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c | -appearance:none">.............< |
75a40 | 6d 65 6e 75 20 69 64 3d 22 66 69 6c 65 2d 6d 65 6e 75 22 20 6c 61 62 65 6c 3d 22 26 66 69 6c 65 | menu.id="file-menu".label="&file |
75a60 | 4d 65 6e 75 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 | Menu.label;"...................a |
75a80 | 63 63 65 73 73 6b 65 79 3d 22 26 66 69 6c 65 4d 65 6e 75 2e 61 63 63 65 73 73 6b 65 79 3b 22 3e | ccesskey="&fileMenu.accesskey;"> |
75aa0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 70 6f 70 75 70 20 69 64 3d 22 6d 65 | ...............<menupopup.id="me |
75ac0 | 6e 75 5f 46 69 6c 65 50 6f 70 75 70 22 20 6f 6e 70 6f 70 75 70 73 68 6f 77 69 6e 67 3d 22 67 65 | nu_FilePopup".onpopupshowing="ge |
75ae0 | 74 43 6f 6e 74 65 6e 74 41 72 65 61 46 72 61 6d 65 43 6f 75 6e 74 28 29 3b 22 3e 0a 20 20 20 20 | tContentAreaFrameCount();">..... |
75b00 | 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 6d 65 6e 75 5f 6e | ............<menuitem.id="menu_n |
75b20 | 65 77 4e 61 76 69 67 61 74 6f 72 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ewNavigator".................... |
75b40 | 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 6e 65 77 4e 61 76 69 67 61 74 6f 72 43 6d 64 2e 6c | .......label="&newNavigatorCmd.l |
75b60 | 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | abel;".......................... |
75b80 | 20 61 63 63 65 73 73 6b 65 79 3d 22 26 6e 65 77 4e 61 76 69 67 61 74 6f 72 43 6d 64 2e 61 63 63 | .accesskey="&newNavigatorCmd.acc |
75ba0 | 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | esskey;"........................ |
75bc0 | 20 20 20 6b 65 79 3d 22 6b 65 79 5f 6e 65 77 4e 61 76 69 67 61 74 6f 72 22 0a 20 20 20 20 20 20 | ...key="key_newNavigator"....... |
75be0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 63 6d 64 | ....................command="cmd |
75c00 | 5f 6e 65 77 4e 61 76 69 67 61 74 6f 72 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | _newNavigator"/>................ |
75c20 | 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 6d 65 6e 75 5f 6e 65 77 4e 61 76 69 67 61 74 6f 72 | .<menuitem.id="menu_newNavigator |
75c40 | 54 61 62 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c | Tab"...........................l |
75c60 | 61 62 65 6c 3d 22 26 74 61 62 43 6d 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 | abel="&tabCmd.label;"........... |
75c80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 63 6d 64 5f 6e 65 77 | ................command="cmd_new |
75ca0 | 4e 61 76 69 67 61 74 6f 72 54 61 62 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | NavigatorTab"................... |
75cc0 | 20 20 20 20 20 20 20 20 6b 65 79 3d 22 6b 65 79 5f 6e 65 77 4e 61 76 69 67 61 74 6f 72 54 61 62 | ........key="key_newNavigatorTab |
75ce0 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 | "...........................acce |
75d00 | 73 73 6b 65 79 3d 22 26 74 61 62 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 2f 3e 0a 20 20 20 | sskey="&tabCmd.accesskey;"/>.... |
75d20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 6d 65 6e 75 5f | .............<menuitem.id="menu_ |
75d40 | 6f 70 65 6e 4c 6f 63 61 74 69 6f 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | openLocation"................... |
75d60 | 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 6f 70 65 6e 4c 6f 63 61 74 69 6f 6e 43 6d 64 2e | ........label="&openLocationCmd. |
75d80 | 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | label;"......................... |
75da0 | 20 20 63 6f 6d 6d 61 6e 64 3d 22 42 72 6f 77 73 65 72 3a 4f 70 65 6e 4c 6f 63 61 74 69 6f 6e 22 | ..command="Browser:OpenLocation" |
75dc0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6b 65 79 3d 22 | ...........................key=" |
75de0 | 66 6f 63 75 73 55 52 4c 42 61 72 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | focusURLBar".................... |
75e00 | 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 6f 70 65 6e 4c 6f 63 61 74 69 6f 6e 43 | .......accesskey="&openLocationC |
75e20 | 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | md.accesskey;"/>................ |
75e40 | 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 6d 65 6e 75 5f 6f 70 65 6e 46 69 6c 65 22 0a 20 20 | .<menuitem.id="menu_openFile"... |
75e60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 | ........................label="& |
75e80 | 6f 70 65 6e 46 69 6c 65 43 6d 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 | openFileCmd.label;"............. |
75ea0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 42 72 6f 77 73 65 72 3a 4f | ..............command="Browser:O |
75ec0 | 70 65 6e 46 69 6c 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | penFile"........................ |
75ee0 | 20 20 20 6b 65 79 3d 22 6f 70 65 6e 46 69 6c 65 4b 62 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ...key="openFileKb"............. |
75f00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 6f 70 65 6e 46 69 | ..............accesskey="&openFi |
75f20 | 6c 65 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 | leCmd.accesskey;"/>............. |
75f40 | 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 6d 65 6e 75 5f 63 6c 6f 73 65 57 69 6e 64 | ....<menuitem.id="menu_closeWind |
75f60 | 6f 77 22 20 68 69 64 64 65 6e 3d 22 74 72 75 65 22 20 63 6f 6d 6d 61 6e 64 3d 22 63 6d 64 5f 63 | ow".hidden="true".command="cmd_c |
75f80 | 6c 6f 73 65 57 69 6e 64 6f 77 22 20 6b 65 79 3d 22 6b 65 79 5f 63 6c 6f 73 65 57 69 6e 64 6f 77 | loseWindow".key="key_closeWindow |
75fa0 | 22 20 6c 61 62 65 6c 3d 22 26 63 6c 6f 73 65 57 69 6e 64 6f 77 2e 6c 61 62 65 6c 3b 22 20 61 63 | ".label="&closeWindow.label;".ac |
75fc0 | 63 65 73 73 6b 65 79 3d 22 26 63 6c 6f 73 65 57 69 6e 64 6f 77 2e 61 63 63 65 73 73 6b 65 79 3b | cesskey="&closeWindow.accesskey; |
75fe0 | 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 | "/>.................<menuitem.id |
76000 | 3d 22 6d 65 6e 75 5f 63 6c 6f 73 65 22 20 6c 61 62 65 6c 3d 22 26 63 6c 6f 73 65 43 6d 64 2e 6c | ="menu_close".label="&closeCmd.l |
76020 | 61 62 65 6c 3b 22 20 6b 65 79 3d 22 6b 65 79 5f 63 6c 6f 73 65 22 20 61 63 63 65 73 73 6b 65 79 | abel;".key="key_close".accesskey |
76040 | 3d 22 26 63 6c 6f 73 65 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 20 63 6f 6d 6d 61 6e 64 3d | ="&closeCmd.accesskey;".command= |
76060 | 22 63 6d 64 5f 63 6c 6f 73 65 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d | "cmd_close"/>.................<m |
76080 | 65 6e 75 73 65 70 61 72 61 74 6f 72 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c | enuseparator/>.................< |
760a0 | 6d 65 6e 75 69 74 65 6d 20 6c 61 62 65 6c 3d 22 26 73 61 76 65 50 61 67 65 43 6d 64 2e 6c 61 62 | menuitem.label="&savePageCmd.lab |
760c0 | 65 6c 3b 22 20 61 63 63 65 73 73 6b 65 79 3d 22 26 73 61 76 65 50 61 67 65 43 6d 64 2e 61 63 63 | el;".accesskey="&savePageCmd.acc |
760e0 | 65 73 73 6b 65 79 3b 22 20 6b 65 79 3d 22 6b 65 79 5f 73 61 76 65 50 61 67 65 22 20 63 6f 6d 6d | esskey;".key="key_savePage".comm |
76100 | 61 6e 64 3d 22 42 72 6f 77 73 65 72 3a 53 61 76 65 50 61 67 65 22 0a 20 20 20 20 20 20 20 20 20 | and="Browser:SavePage".......... |
76120 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 64 3d 22 6d 65 6e 75 5f 73 61 76 65 50 61 | .................id="menu_savePa |
76140 | 67 65 22 20 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d | ge"./>.................<menuitem |
76160 | 20 69 64 3d 22 6d 65 6e 75 5f 73 61 76 65 46 72 61 6d 65 22 20 6c 61 62 65 6c 3d 22 26 73 61 76 | .id="menu_saveFrame".label="&sav |
76180 | 65 46 72 61 6d 65 43 6d 64 2e 6c 61 62 65 6c 3b 22 20 61 63 63 65 73 73 6b 65 79 3d 22 26 73 61 | eFrameCmd.label;".accesskey="&sa |
761a0 | 76 65 46 72 61 6d 65 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 20 63 6f 6d 6d 61 6e 64 3d 22 | veFrameCmd.accesskey;".command=" |
761c0 | 42 72 6f 77 73 65 72 3a 53 61 76 65 46 72 61 6d 65 22 20 68 69 64 64 65 6e 3d 22 74 72 75 65 22 | Browser:SaveFrame".hidden="true" |
761e0 | 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d | />.................<menuitem.id= |
76200 | 22 6d 65 6e 75 5f 73 65 6e 64 4c 69 6e 6b 22 20 20 6c 61 62 65 6c 3d 22 26 73 65 6e 64 50 61 67 | "menu_sendLink"..label="&sendPag |
76220 | 65 43 6d 64 2e 6c 61 62 65 6c 3b 22 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 73 65 6e 64 50 61 | eCmd.label;"..accesskey="&sendPa |
76240 | 67 65 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 20 20 63 6f 6d 6d 61 6e 64 3d 22 42 72 6f 77 | geCmd.accesskey;"..command="Brow |
76260 | 73 65 72 3a 53 65 6e 64 4c 69 6e 6b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ser:SendLink"/>................. |
76280 | 3c 6d 65 6e 75 73 65 70 61 72 61 74 6f 72 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | <menuseparator/>................ |
762a0 | 20 3c 6d 65 6e 75 69 74 65 6d 20 6c 61 62 65 6c 3d 22 26 70 72 69 6e 74 53 65 74 75 70 43 6d 64 | .<menuitem.label="&printSetupCmd |
762c0 | 2e 6c 61 62 65 6c 3b 22 20 61 63 63 65 73 73 6b 65 79 3d 22 26 70 72 69 6e 74 53 65 74 75 70 43 | .label;".accesskey="&printSetupC |
762e0 | 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 20 63 6f 6d 6d 61 6e 64 3d 22 63 6d 64 5f 70 61 67 65 | md.accesskey;".command="cmd_page |
76300 | 53 65 74 75 70 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | Setup".......................... |
76320 | 20 69 64 3d 22 6d 65 6e 75 5f 70 72 69 6e 74 53 65 74 75 70 22 20 2f 3e 0a 20 20 20 20 20 20 20 | .id="menu_printSetup"./>........ |
76340 | 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 6c 61 62 65 6c 3d 22 26 70 72 69 6e 74 | .........<menuitem.label="&print |
76360 | 50 72 65 76 69 65 77 43 6d 64 2e 6c 61 62 65 6c 3b 22 20 61 63 63 65 73 73 6b 65 79 3d 22 26 70 | PreviewCmd.label;".accesskey="&p |
76380 | 72 69 6e 74 50 72 65 76 69 65 77 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 20 63 6f 6d 6d 61 | rintPreviewCmd.accesskey;".comma |
763a0 | 6e 64 3d 22 63 6d 64 5f 70 72 69 6e 74 50 72 65 76 69 65 77 22 0a 20 20 20 20 20 20 20 20 20 20 | nd="cmd_printPreview"........... |
763c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 64 3d 22 6d 65 6e 75 5f 70 72 69 6e 74 50 72 | ................id="menu_printPr |
763e0 | 65 76 69 65 77 22 20 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 | eview"./>.................<menui |
76400 | 74 65 6d 20 6c 61 62 65 6c 3d 22 26 70 72 69 6e 74 43 6d 64 2e 6c 61 62 65 6c 3b 22 20 61 63 63 | tem.label="&printCmd.label;".acc |
76420 | 65 73 73 6b 65 79 3d 22 26 70 72 69 6e 74 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 20 6b 65 | esskey="&printCmd.accesskey;".ke |
76440 | 79 3d 22 70 72 69 6e 74 4b 62 22 20 63 6f 6d 6d 61 6e 64 3d 22 63 6d 64 5f 70 72 69 6e 74 22 0a | y="printKb".command="cmd_print". |
76460 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 64 3d 22 6d 65 | ..........................id="me |
76480 | 6e 75 5f 70 72 69 6e 74 22 20 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 | nu_print"./>.................<me |
764a0 | 6e 75 73 65 70 61 72 61 74 6f 72 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d | nuseparator/>.................<m |
764c0 | 65 6e 75 69 74 65 6d 20 6c 61 62 65 6c 3d 22 26 69 6d 70 6f 72 74 2e 6c 61 62 65 6c 3b 22 20 61 | enuitem.label="&import.label;".a |
764e0 | 63 63 65 73 73 6b 65 79 3d 22 26 69 6d 70 6f 72 74 2e 61 63 63 65 73 73 6b 65 79 3b 22 20 6f 6e | ccesskey="&import.accesskey;".on |
76500 | 63 6f 6d 6d 61 6e 64 3d 22 42 72 6f 77 73 65 72 49 6d 70 6f 72 74 28 29 3b 22 0a 20 20 20 20 20 | command="BrowserImport();"...... |
76520 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 64 3d 22 6d 65 6e 75 5f 69 6d | .....................id="menu_im |
76540 | 70 6f 72 74 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 73 65 70 | port"/>.................<menusep |
76560 | 61 72 61 74 6f 72 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 | arator/>.................<menuit |
76580 | 65 6d 20 69 64 3d 22 67 6f 4f 66 66 6c 69 6e 65 4d 65 6e 75 69 74 65 6d 22 0a 20 20 20 20 20 20 | em.id="goOfflineMenuitem"....... |
765a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 67 6f 4f 66 | ....................label="&goOf |
765c0 | 66 6c 69 6e 65 43 6d 64 2e 6c 61 62 65 6c 3b 22 20 61 63 63 65 73 73 6b 65 79 3d 22 26 67 6f 4f | flineCmd.label;".accesskey="&goO |
765e0 | 66 66 6c 69 6e 65 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 20 0a 20 20 20 20 20 20 20 20 20 | fflineCmd.accesskey;"........... |
76600 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 79 70 65 3d 22 63 68 65 63 6b 62 6f 78 22 | .................type="checkbox" |
76620 | 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 42 72 6f 77 73 65 72 4f 66 66 6c 69 6e 65 2e 74 6f 67 67 6c | .oncommand="BrowserOffline.toggl |
76640 | 65 4f 66 66 6c 69 6e 65 53 74 61 74 75 73 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 | eOfflineStatus();"/>............ |
76660 | 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 6d 65 6e 75 5f 46 69 6c 65 51 75 69 74 | .....<menuitem.id="menu_FileQuit |
76680 | 49 74 65 6d 22 20 0a 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 71 75 69 74 41 70 70 6c 69 | Item"..........label="&quitAppli |
766a0 | 63 61 74 69 6f 6e 43 6d 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 61 63 63 65 73 73 | cationCmd.label;".........access |
766c0 | 6b 65 79 3d 22 26 71 75 69 74 41 70 70 6c 69 63 61 74 69 6f 6e 43 6d 64 2e 61 63 63 65 73 73 6b | key="&quitApplicationCmd.accessk |
766e0 | 65 79 3b 22 0a 20 20 20 20 20 20 20 20 6b 65 79 3d 22 6b 65 79 5f 71 75 69 74 41 70 70 6c 69 63 | ey;".........key="key_quitApplic |
76700 | 61 74 69 6f 6e 22 0a 20 20 20 20 20 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 63 6d 64 5f 71 75 69 74 | ation".........command="cmd_quit |
76720 | 41 70 70 6c 69 63 61 74 69 6f 6e 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 6d | Application"/>...............</m |
76740 | 65 6e 75 70 6f 70 75 70 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 6d 65 6e 75 3e 0a 20 20 | enupopup>.............</menu>... |
76760 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 20 69 64 3d 22 65 64 69 74 2d 6d 65 6e 75 | .............<menu.id="edit-menu |
76780 | 22 20 6c 61 62 65 6c 3d 22 26 65 64 69 74 4d 65 6e 75 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 | ".label="&editMenu.label;"...... |
767a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 65 64 69 74 4d 65 6e | .............accesskey="&editMen |
767c0 | 75 2e 61 63 63 65 73 73 6b 65 79 3b 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 | u.accesskey;">...............<me |
767e0 | 6e 75 70 6f 70 75 70 20 69 64 3d 22 6d 65 6e 75 5f 45 64 69 74 50 6f 70 75 70 22 0a 20 20 20 20 | nupopup.id="menu_EditPopup"..... |
76800 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 70 6f 70 75 70 73 68 6f 77 | .....................onpopupshow |
76820 | 69 6e 67 3d 22 75 70 64 61 74 65 45 64 69 74 55 49 56 69 73 69 62 69 6c 69 74 79 28 29 22 0a 20 | ing="updateEditUIVisibility()".. |
76840 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 70 6f 70 75 70 68 | ........................onpopuph |
76860 | 69 64 64 65 6e 3d 22 75 70 64 61 74 65 45 64 69 74 55 49 56 69 73 69 62 69 6c 69 74 79 28 29 22 | idden="updateEditUIVisibility()" |
76880 | 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 6c 61 62 65 | >.................<menuitem.labe |
768a0 | 6c 3d 22 26 75 6e 64 6f 43 6d 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 | l="&undoCmd.label;"............. |
768c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 64 3d 22 6d 65 6e 75 5f 75 6e 64 6f 22 0a 20 20 20 | ..............id="menu_undo".... |
768e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6b 65 79 3d 22 6b 65 79 5f | .......................key="key_ |
76900 | 75 6e 64 6f 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | undo"........................... |
76920 | 61 63 63 65 73 73 6b 65 79 3d 22 26 75 6e 64 6f 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a | accesskey="&undoCmd.accesskey;". |
76940 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6d 6d 61 6e | ..........................comman |
76960 | 64 3d 22 63 6d 64 5f 75 6e 64 6f 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c | d="cmd_undo"/>.................< |
76980 | 6d 65 6e 75 69 74 65 6d 20 6c 61 62 65 6c 3d 22 26 72 65 64 6f 43 6d 64 2e 6c 61 62 65 6c 3b 22 | menuitem.label="&redoCmd.label;" |
769a0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 64 3d 22 6d | ...........................id="m |
769c0 | 65 6e 75 5f 72 65 64 6f 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | enu_redo"....................... |
769e0 | 20 20 20 20 6b 65 79 3d 22 6b 65 79 5f 72 65 64 6f 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ....key="key_redo".............. |
76a00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 72 65 64 6f 43 6d 64 | .............accesskey="&redoCmd |
76a20 | 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .accesskey;".................... |
76a40 | 20 20 20 20 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 63 6d 64 5f 72 65 64 6f 22 2f 3e 0a 20 20 20 20 | .......command="cmd_redo"/>..... |
76a60 | 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 73 65 70 61 72 61 74 6f 72 2f 3e 0a 20 20 20 | ............<menuseparator/>.... |
76a80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 6c 61 62 65 6c 3d 22 26 63 | .............<menuitem.label="&c |
76aa0 | 75 74 43 6d 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | utCmd.label;"................... |
76ac0 | 20 20 20 20 20 20 20 20 69 64 3d 22 6d 65 6e 75 5f 63 75 74 22 0a 20 20 20 20 20 20 20 20 20 20 | ........id="menu_cut"........... |
76ae0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6b 65 79 3d 22 6b 65 79 5f 63 75 74 22 0a 20 20 | ................key="key_cut"... |
76b00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 | ........................accesske |
76b20 | 79 3d 22 26 63 75 74 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 | y="&cutCmd.accesskey;".......... |
76b40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 63 6d 64 5f 63 75 | .................command="cmd_cu |
76b60 | 74 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 6c | t"/>.................<menuitem.l |
76b80 | 61 62 65 6c 3d 22 26 63 6f 70 79 43 6d 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 | abel="©Cmd.label;".......... |
76ba0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 64 3d 22 6d 65 6e 75 5f 63 6f 70 79 22 0a | .................id="menu_copy". |
76bc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6b 65 79 3d 22 6b | ..........................key="k |
76be0 | 65 79 5f 63 6f 70 79 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ey_copy"........................ |
76c00 | 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 63 6f 70 79 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 | ...accesskey="©Cmd.accesskey |
76c20 | 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6d | ;"...........................com |
76c40 | 6d 61 6e 64 3d 22 63 6d 64 5f 63 6f 70 79 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | mand="cmd_copy"/>............... |
76c60 | 20 20 3c 6d 65 6e 75 69 74 65 6d 20 6c 61 62 65 6c 3d 22 26 70 61 73 74 65 43 6d 64 2e 6c 61 62 | ..<menuitem.label="&pasteCmd.lab |
76c80 | 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 | el;"...........................i |
76ca0 | 64 3d 22 6d 65 6e 75 5f 70 61 73 74 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | d="menu_paste".................. |
76cc0 | 20 20 20 20 20 20 20 20 20 6b 65 79 3d 22 6b 65 79 5f 70 61 73 74 65 22 0a 20 20 20 20 20 20 20 | .........key="key_paste"........ |
76ce0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 70 | ...................accesskey="&p |
76d00 | 61 73 74 65 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 | asteCmd.accesskey;"............. |
76d20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 63 6d 64 5f 70 61 73 74 65 | ..............command="cmd_paste |
76d40 | 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 6c 61 | "/>.................<menuitem.la |
76d60 | 62 65 6c 3d 22 26 64 65 6c 65 74 65 43 6d 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 | bel="&deleteCmd.label;"......... |
76d80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 64 3d 22 6d 65 6e 75 5f 64 65 6c 65 74 | ..................id="menu_delet |
76da0 | 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6b 65 79 | e"...........................key |
76dc0 | 3d 22 6b 65 79 5f 64 65 6c 65 74 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ="key_delete"................... |
76de0 | 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 64 65 6c 65 74 65 43 6d 64 2e 61 63 | ........accesskey="&deleteCmd.ac |
76e00 | 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | cesskey;"....................... |
76e20 | 20 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 63 6d 64 5f 64 65 6c 65 74 65 22 2f 3e 0a 20 20 20 20 20 | ....command="cmd_delete"/>...... |
76e40 | 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 73 65 70 61 72 61 74 6f 72 2f 3e 0a 20 20 20 20 | ...........<menuseparator/>..... |
76e60 | 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 6d 65 6e 75 5f 73 | ............<menuitem.id="menu_s |
76e80 | 65 6c 65 63 74 41 6c 6c 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | electAll"....................... |
76ea0 | 20 20 20 20 6c 61 62 65 6c 3d 22 26 73 65 6c 65 63 74 41 6c 6c 43 6d 64 2e 6c 61 62 65 6c 3b 22 | ....label="&selectAllCmd.label;" |
76ec0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6b 65 79 3d 22 | ...........................key=" |
76ee0 | 6b 65 79 5f 73 65 6c 65 63 74 41 6c 6c 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | key_selectAll".................. |
76f00 | 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 73 65 6c 65 63 74 41 6c 6c 43 6d | .........accesskey="&selectAllCm |
76f20 | 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | d.accesskey;"................... |
76f40 | 20 20 20 20 20 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 63 6d 64 5f 73 65 6c 65 63 74 41 6c 6c 22 2f | ........command="cmd_selectAll"/ |
76f60 | 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 73 65 70 61 72 61 74 6f 72 | >.................<menuseparator |
76f80 | 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d | />.................<menuitem.id= |
76fa0 | 22 6d 65 6e 75 5f 66 69 6e 64 22 20 6c 61 62 65 6c 3d 22 26 66 69 6e 64 4f 6e 43 6d 64 2e 6c 61 | "menu_find".label="&findOnCmd.la |
76fc0 | 62 65 6c 3b 22 20 61 63 63 65 73 73 6b 65 79 3d 22 26 66 69 6e 64 4f 6e 43 6d 64 2e 61 63 63 65 | bel;".accesskey="&findOnCmd.acce |
76fe0 | 73 73 6b 65 79 3b 22 20 6b 65 79 3d 22 6b 65 79 5f 66 69 6e 64 22 20 63 6f 6d 6d 61 6e 64 3d 22 | sskey;".key="key_find".command=" |
77000 | 63 6d 64 5f 66 69 6e 64 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e | cmd_find"/>.................<men |
77020 | 75 69 74 65 6d 20 6c 61 62 65 6c 3d 22 26 66 69 6e 64 41 67 61 69 6e 43 6d 64 2e 6c 61 62 65 6c | uitem.label="&findAgainCmd.label |
77040 | 3b 22 20 61 63 63 65 73 73 6b 65 79 3d 22 26 66 69 6e 64 41 67 61 69 6e 43 6d 64 2e 61 63 63 65 | ;".accesskey="&findAgainCmd.acce |
77060 | 73 73 6b 65 79 3b 22 20 6b 65 79 3d 22 6b 65 79 5f 66 69 6e 64 41 67 61 69 6e 22 20 63 6f 6d 6d | sskey;".key="key_findAgain".comm |
77080 | 61 6e 64 3d 22 63 6d 64 5f 66 69 6e 64 41 67 61 69 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 | and="cmd_findAgain"............. |
770a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 64 3d 22 6d 65 6e 75 5f 66 69 6e 64 41 67 61 69 6e | ..............id="menu_findAgain |
770c0 | 22 20 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 73 65 70 61 72 61 | "./>.................<menusepara |
770e0 | 74 6f 72 20 68 69 64 64 65 6e 3d 22 74 72 75 65 22 20 69 64 3d 22 74 65 78 74 66 69 65 6c 64 44 | tor.hidden="true".id="textfieldD |
77100 | 69 72 65 63 74 69 6f 6e 2d 73 65 70 61 72 61 74 6f 72 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 | irection-separator"/>........... |
77120 | 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 74 65 78 74 66 69 65 6c 64 44 69 72 | ......<menuitem.id="textfieldDir |
77140 | 65 63 74 69 6f 6e 2d 73 77 61 70 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ection-swap".................... |
77160 | 20 20 20 20 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 63 6d 64 5f 73 77 69 74 63 68 54 65 78 74 44 69 | .......command="cmd_switchTextDi |
77180 | 72 65 63 74 69 6f 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | rection"........................ |
771a0 | 20 20 20 6b 65 79 3d 22 6b 65 79 5f 73 77 69 74 63 68 54 65 78 74 44 69 72 65 63 74 69 6f 6e 22 | ...key="key_switchTextDirection" |
771c0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c | ...........................label |
771e0 | 3d 22 26 62 69 64 69 53 77 69 74 63 68 54 65 78 74 44 69 72 65 63 74 69 6f 6e 49 74 65 6d 2e 6c | ="&bidiSwitchTextDirectionItem.l |
77200 | 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | abel;".......................... |
77220 | 20 61 63 63 65 73 73 6b 65 79 3d 22 26 62 69 64 69 53 77 69 74 63 68 54 65 78 74 44 69 72 65 63 | .accesskey="&bidiSwitchTextDirec |
77240 | 74 69 6f 6e 49 74 65 6d 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 | tionItem.accesskey;"............ |
77260 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 68 69 64 64 65 6e 3d 22 74 72 75 65 22 2f 3e 0a 20 | ...............hidden="true"/>.. |
77280 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 73 65 70 61 72 61 74 6f 72 2f 3e 0a | ...............<menuseparator/>. |
772a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 6d 65 | ................<menuitem.id="me |
772c0 | 6e 75 5f 70 72 65 66 65 72 65 6e 63 65 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | nu_preferences"................. |
772e0 | 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 70 72 65 66 65 72 65 6e 63 65 73 43 6d 64 | ..........label="&preferencesCmd |
77300 | 55 6e 69 78 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | Unix.label;".................... |
77320 | 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 70 72 65 66 65 72 65 6e 63 65 73 43 6d | .......accesskey="&preferencesCm |
77340 | 64 55 6e 69 78 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | dUnix.accesskey;"............... |
77360 | 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 6f 70 65 6e 50 72 65 66 65 | ............oncommand="openPrefe |
77380 | 72 65 6e 63 65 73 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 6d 65 6e | rences();"/>...............</men |
773a0 | 75 70 6f 70 75 70 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 6d 65 6e 75 3e 0a 20 20 0a 20 | upopup>.............</menu>..... |
773c0 | 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 20 69 64 3d 22 76 69 65 77 2d 6d 65 6e 75 22 20 | ...........<menu.id="view-menu". |
773e0 | 6c 61 62 65 6c 3d 22 26 76 69 65 77 4d 65 6e 75 2e 6c 61 62 65 6c 3b 22 20 61 63 63 65 73 73 6b | label="&viewMenu.label;".accessk |
77400 | 65 79 3d 22 26 76 69 65 77 4d 65 6e 75 2e 61 63 63 65 73 73 6b 65 79 3b 22 3e 0a 20 20 20 20 20 | ey="&viewMenu.accesskey;">...... |
77420 | 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 70 6f 70 75 70 20 69 64 3d 22 6d 65 6e 75 5f 76 69 65 | .........<menupopup.id="menu_vie |
77440 | 77 50 6f 70 75 70 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 20 69 | wPopup">.................<menu.i |
77460 | 64 3d 22 76 69 65 77 54 6f 6f 6c 62 61 72 73 4d 65 6e 75 22 20 6c 61 62 65 6c 3d 22 26 76 69 65 | d="viewToolbarsMenu".label="&vie |
77480 | 77 54 6f 6f 6c 62 61 72 73 4d 65 6e 75 2e 6c 61 62 65 6c 3b 22 20 61 63 63 65 73 73 6b 65 79 3d | wToolbarsMenu.label;".accesskey= |
774a0 | 22 26 76 69 65 77 54 6f 6f 6c 62 61 72 73 4d 65 6e 75 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 | "&viewToolbarsMenu.accesskey;".. |
774c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 70 6f 70 75 70 73 68 6f 77 | .....................onpopupshow |
774e0 | 69 6e 67 3d 22 6f 6e 56 69 65 77 54 6f 6f 6c 62 61 72 73 50 6f 70 75 70 53 68 6f 77 69 6e 67 28 | ing="onViewToolbarsPopupShowing( |
77500 | 65 76 65 6e 74 29 3b 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e | event);">...................<men |
77520 | 75 70 6f 70 75 70 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e | upopup>.....................<men |
77540 | 75 73 65 70 61 72 61 74 6f 72 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | useparator/>.................... |
77560 | 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 6c 61 62 65 6c 3d 22 26 76 69 65 77 43 75 73 74 6f 6d 69 | ...<menuitem.label="&viewCustomi |
77580 | 7a 65 54 6f 6f 6c 62 61 72 2e 6c 61 62 65 6c 3b 22 20 61 63 63 65 73 73 6b 65 79 3d 22 26 76 69 | zeToolbar.label;".accesskey="&vi |
775a0 | 65 77 43 75 73 74 6f 6d 69 7a 65 54 6f 6f 6c 62 61 72 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 | ewCustomizeToolbar.accesskey;".. |
775c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 | ...............................i |
775e0 | 64 3d 22 6d 65 6e 75 5f 63 75 73 74 6f 6d 69 7a 65 54 6f 6f 6c 62 61 72 73 22 0a 20 20 20 20 20 | d="menu_customizeToolbars"...... |
77600 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6d 6d 61 | ...........................comma |
77620 | 6e 64 3d 22 63 6d 64 5f 43 75 73 74 6f 6d 69 7a 65 54 6f 6f 6c 62 61 72 73 22 2f 3e 20 20 20 20 | nd="cmd_CustomizeToolbars"/>.... |
77640 | 20 20 20 20 20 20 20 20 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 6d 65 | ............................</me |
77660 | 6e 75 70 6f 70 75 70 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 6d 65 6e 75 3e | nupopup>.................</menu> |
77680 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 74 | .................<menuitem.id="t |
776a0 | 6f 67 67 6c 65 5f 74 61 73 6b 62 61 72 22 20 6c 61 62 65 6c 3d 22 26 74 61 73 6b 62 61 72 43 6d | oggle_taskbar".label="&taskbarCm |
776c0 | 64 2e 6c 61 62 65 6c 3b 22 20 61 63 63 65 73 73 6b 65 79 3d 22 26 74 61 73 6b 62 61 72 43 6d 64 | d.label;".accesskey="&taskbarCmd |
776e0 | 2e 61 63 63 65 73 73 6b 65 79 3b 22 20 74 79 70 65 3d 22 63 68 65 63 6b 62 6f 78 22 20 63 6f 6d | .accesskey;".type="checkbox".com |
77700 | 6d 61 6e 64 3d 22 63 6d 64 5f 74 6f 67 67 6c 65 54 61 73 6b 62 61 72 22 20 63 68 65 63 6b 65 64 | mand="cmd_toggleTaskbar".checked |
77720 | 3d 22 74 72 75 65 22 20 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 | ="true"./>.................<menu |
77740 | 20 69 64 3d 22 76 69 65 77 53 69 64 65 62 61 72 4d 65 6e 75 4d 65 6e 75 22 0a 20 20 20 20 20 20 | .id="viewSidebarMenuMenu"....... |
77760 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 76 69 65 77 53 69 64 65 | ................label="&viewSide |
77780 | 62 61 72 4d 65 6e 75 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | barMenu.label;"................. |
777a0 | 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 76 69 65 77 53 69 64 65 62 61 72 4d 65 6e | ......accesskey="&viewSidebarMen |
777c0 | 75 2e 61 63 63 65 73 73 6b 65 79 3b 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | u.accesskey;">.................. |
777e0 | 20 3c 6d 65 6e 75 70 6f 70 75 70 20 69 64 3d 22 76 69 65 77 53 69 64 65 62 61 72 4d 65 6e 75 22 | .<menupopup.id="viewSidebarMenu" |
77800 | 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 | >.....................<menuitem. |
77820 | 6b 65 79 3d 22 76 69 65 77 42 6f 6f 6b 6d 61 72 6b 73 53 69 64 65 62 61 72 4b 62 22 20 6f 62 73 | key="viewBookmarksSidebarKb".obs |
77840 | 65 72 76 65 73 3d 22 76 69 65 77 42 6f 6f 6b 6d 61 72 6b 73 53 69 64 65 62 61 72 22 20 61 63 63 | erves="viewBookmarksSidebar".acc |
77860 | 65 73 73 6b 65 79 3d 22 26 62 6f 6f 6b 6d 61 72 6b 73 53 69 64 65 62 61 72 43 6d 64 2e 61 63 63 | esskey="&bookmarksSidebarCmd.acc |
77880 | 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | esskey;"........................ |
778a0 | 20 20 20 20 20 20 20 69 64 3d 22 6d 65 6e 75 5f 62 6f 6f 6b 6d 61 72 6b 73 53 69 64 65 62 61 72 | .......id="menu_bookmarksSidebar |
778c0 | 22 20 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 | "./>.....................<menuit |
778e0 | 65 6d 20 6b 65 79 3d 22 6b 65 79 5f 67 6f 74 6f 48 69 73 74 6f 72 79 22 20 6f 62 73 65 72 76 65 | em.key="key_gotoHistory".observe |
77900 | 73 3d 22 76 69 65 77 48 69 73 74 6f 72 79 53 69 64 65 62 61 72 22 20 6c 61 62 65 6c 3d 22 26 68 | s="viewHistorySidebar".label="&h |
77920 | 69 73 74 6f 72 79 42 75 74 74 6f 6e 2e 6c 61 62 65 6c 3b 22 20 61 63 63 65 73 73 6b 65 79 3d 22 | istoryButton.label;".accesskey=" |
77940 | 26 68 69 73 74 6f 72 79 53 69 64 65 62 61 72 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 | &historySidebarCmd.accesskey;".. |
77960 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 64 3d | .............................id= |
77980 | 22 6d 65 6e 75 5f 68 69 73 74 6f 72 79 53 69 64 65 62 61 72 22 20 2f 3e 0a 20 20 20 20 20 20 20 | "menu_historySidebar"./>........ |
779a0 | 20 20 20 20 20 20 20 20 20 20 20 3c 2f 6d 65 6e 75 70 6f 70 75 70 3e 0a 20 20 20 20 20 20 20 20 | ...........</menupopup>......... |
779c0 | 20 20 20 20 20 20 20 20 3c 2f 6d 65 6e 75 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ........</menu>................. |
779e0 | 3c 6d 65 6e 75 73 65 70 61 72 61 74 6f 72 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | <menuseparator/>................ |
77a00 | 20 3c 6d 65 6e 75 69 74 65 6d 20 6c 61 62 65 6c 3d 22 26 73 74 6f 70 43 6d 64 2e 6c 61 62 65 6c | .<menuitem.label="&stopCmd.label |
77a20 | 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 64 3d | ;"...........................id= |
77a40 | 22 6d 65 6e 75 5f 73 74 6f 70 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | "menu_stop"..................... |
77a60 | 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 73 74 6f 70 43 6d 64 2e 61 63 63 65 73 73 | ......accesskey="&stopCmd.access |
77a80 | 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | key;"........................... |
77aa0 | 63 6f 6d 6d 61 6e 64 3d 22 42 72 6f 77 73 65 72 3a 53 74 6f 70 22 0a 20 20 20 20 20 20 20 20 20 | command="Browser:Stop".......... |
77ac0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6b 65 79 3d 22 6b 65 79 5f 73 74 6f 70 22 2f | .................key="key_stop"/ |
77ae0 | 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 6c 61 62 65 | >.................<menuitem.labe |
77b00 | 6c 3d 22 26 72 65 6c 6f 61 64 43 6d 64 2e 6c 61 62 65 6c 3b 22 20 61 63 63 65 73 73 6b 65 79 3d | l="&reloadCmd.label;".accesskey= |
77b20 | 22 26 72 65 6c 6f 61 64 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 20 6b 65 79 3d 22 6b 65 79 | "&reloadCmd.accesskey;".key="key |
77b40 | 5f 72 65 6c 6f 61 64 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | _reload"........................ |
77b60 | 20 20 20 69 64 3d 22 6d 65 6e 75 5f 72 65 6c 6f 61 64 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ...id="menu_reload"............. |
77b80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 42 72 6f 77 73 65 72 3a 52 | ..............command="Browser:R |
77ba0 | 65 6c 6f 61 64 4f 72 44 75 70 6c 69 63 61 74 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | eloadOrDuplicate"............... |
77bc0 | 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6c 69 63 6b 3d 22 63 68 65 63 6b 46 6f 72 4d 69 64 | ............onclick="checkForMid |
77be0 | 64 6c 65 43 6c 69 63 6b 28 74 68 69 73 2c 20 65 76 65 6e 74 29 3b 22 2f 3e 0a 20 20 20 20 20 20 | dleClick(this,.event);"/>....... |
77c00 | 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 73 65 70 61 72 61 74 6f 72 2f 3e 0a 20 20 20 20 20 | ..........<menuseparator/>...... |
77c20 | 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 20 69 64 3d 22 76 69 65 77 46 75 6c 6c 5a 6f 6f | ...........<menu.id="viewFullZoo |
77c40 | 6d 4d 65 6e 75 22 20 6c 61 62 65 6c 3d 22 26 66 75 6c 6c 5a 6f 6f 6d 2e 6c 61 62 65 6c 3b 22 20 | mMenu".label="&fullZoom.label;". |
77c60 | 61 63 63 65 73 73 6b 65 79 3d 22 26 66 75 6c 6c 5a 6f 6f 6d 2e 61 63 63 65 73 73 6b 65 79 3b 22 | accesskey="&fullZoom.accesskey;" |
77c80 | 20 6f 6e 70 6f 70 75 70 73 68 6f 77 69 6e 67 3d 22 46 75 6c 6c 5a 6f 6f 6d 2e 75 70 64 61 74 65 | .onpopupshowing="FullZoom.update |
77ca0 | 4d 65 6e 75 28 29 3b 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e | Menu();">...................<men |
77cc0 | 75 70 6f 70 75 70 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e | upopup>.....................<men |
77ce0 | 75 69 74 65 6d 20 6b 65 79 3d 22 6b 65 79 5f 66 75 6c 6c 5a 6f 6f 6d 45 6e 6c 61 72 67 65 22 20 | uitem.key="key_fullZoomEnlarge". |
77d00 | 6c 61 62 65 6c 3d 22 26 66 75 6c 6c 5a 6f 6f 6d 45 6e 6c 61 72 67 65 43 6d 64 2e 6c 61 62 65 6c | label="&fullZoomEnlargeCmd.label |
77d20 | 3b 22 20 61 63 63 65 73 73 6b 65 79 3d 22 26 66 75 6c 6c 5a 6f 6f 6d 45 6e 6c 61 72 67 65 43 6d | ;".accesskey="&fullZoomEnlargeCm |
77d40 | 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | d.accesskey;"................... |
77d60 | 20 20 20 20 20 20 20 20 20 20 20 20 69 64 3d 22 6d 65 6e 75 5f 7a 6f 6f 6d 45 6e 6c 61 72 67 65 | ............id="menu_zoomEnlarge |
77d80 | 22 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | "............................... |
77da0 | 20 63 6f 6d 6d 61 6e 64 3d 22 63 6d 64 5f 66 75 6c 6c 5a 6f 6f 6d 45 6e 6c 61 72 67 65 22 2f 3e | .command="cmd_fullZoomEnlarge"/> |
77dc0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 6b | .....................<menuitem.k |
77de0 | 65 79 3d 22 6b 65 79 5f 66 75 6c 6c 5a 6f 6f 6d 52 65 64 75 63 65 22 20 20 6c 61 62 65 6c 3d 22 | ey="key_fullZoomReduce"..label=" |
77e00 | 26 66 75 6c 6c 5a 6f 6f 6d 52 65 64 75 63 65 43 6d 64 2e 6c 61 62 65 6c 3b 22 20 20 61 63 63 65 | &fullZoomReduceCmd.label;"..acce |
77e20 | 73 73 6b 65 79 3d 22 26 66 75 6c 6c 5a 6f 6f 6d 52 65 64 75 63 65 43 6d 64 2e 61 63 63 65 73 73 | sskey="&fullZoomReduceCmd.access |
77e40 | 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | key;"........................... |
77e60 | 20 20 20 20 69 64 3d 22 6d 65 6e 75 5f 7a 6f 6f 6d 52 65 64 75 63 65 22 0a 20 20 20 20 20 20 20 | ....id="menu_zoomReduce"........ |
77e80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 | .......................command=" |
77ea0 | 63 6d 64 5f 66 75 6c 6c 5a 6f 6f 6d 52 65 64 75 63 65 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 | cmd_fullZoomReduce"/>........... |
77ec0 | 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 73 65 70 61 72 61 74 6f 72 2f 3e 0a 20 20 20 20 20 | ..........<menuseparator/>...... |
77ee0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 6b 65 79 3d 22 6b 65 | ...............<menuitem.key="ke |
77f00 | 79 5f 66 75 6c 6c 5a 6f 6f 6d 52 65 73 65 74 22 20 6c 61 62 65 6c 3d 22 26 66 75 6c 6c 5a 6f 6f | y_fullZoomReset".label="&fullZoo |
77f20 | 6d 52 65 73 65 74 43 6d 64 2e 6c 61 62 65 6c 3b 22 20 61 63 63 65 73 73 6b 65 79 3d 22 26 66 75 | mResetCmd.label;".accesskey="&fu |
77f40 | 6c 6c 5a 6f 6f 6d 52 65 73 65 74 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 | llZoomResetCmd.accesskey;"...... |
77f60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 64 3d 22 6d 65 6e | .........................id="men |
77f80 | 75 5f 7a 6f 6f 6d 52 65 73 65 74 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | u_zoomReset".................... |
77fa0 | 20 20 20 20 20 20 20 20 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 63 6d 64 5f 66 75 6c 6c 5a 6f 6f 6d | ...........command="cmd_fullZoom |
77fc0 | 52 65 73 65 74 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 | Reset"/>.....................<me |
77fe0 | 6e 75 73 65 70 61 72 61 74 6f 72 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | nuseparator/>................... |
78000 | 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 74 6f 67 67 6c 65 5f 7a 6f 6f 6d 22 20 6c 61 62 | ..<menuitem.id="toggle_zoom".lab |
78020 | 65 6c 3d 22 26 66 75 6c 6c 5a 6f 6f 6d 54 6f 67 67 6c 65 43 6d 64 2e 6c 61 62 65 6c 3b 22 20 61 | el="&fullZoomToggleCmd.label;".a |
78040 | 63 63 65 73 73 6b 65 79 3d 22 26 66 75 6c 6c 5a 6f 6f 6d 54 6f 67 67 6c 65 43 6d 64 2e 61 63 63 | ccesskey="&fullZoomToggleCmd.acc |
78060 | 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | esskey;"........................ |
78080 | 20 20 20 20 20 20 20 74 79 70 65 3d 22 63 68 65 63 6b 62 6f 78 22 20 63 6f 6d 6d 61 6e 64 3d 22 | .......type="checkbox".command=" |
780a0 | 63 6d 64 5f 66 75 6c 6c 5a 6f 6f 6d 54 6f 67 67 6c 65 22 20 63 68 65 63 6b 65 64 3d 22 66 61 6c | cmd_fullZoomToggle".checked="fal |
780c0 | 73 65 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 6d 65 6e 75 70 6f | se"/>...................</menupo |
780e0 | 70 75 70 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 6d 65 6e 75 3e 0a 20 20 20 | pup>.................</menu>.... |
78100 | 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 20 69 64 3d 22 70 61 67 65 53 74 79 6c 65 | .............<menu.id="pageStyle |
78120 | 4d 65 6e 75 22 20 6c 61 62 65 6c 3d 22 26 70 61 67 65 53 74 79 6c 65 4d 65 6e 75 2e 6c 61 62 65 | Menu".label="&pageStyleMenu.labe |
78140 | 6c 3b 22 20 61 63 63 65 73 73 6b 65 79 3d 22 26 70 61 67 65 53 74 79 6c 65 4d 65 6e 75 2e 61 63 | l;".accesskey="&pageStyleMenu.ac |
78160 | 63 65 73 73 6b 65 79 3b 22 20 6f 62 73 65 72 76 65 73 3d 22 69 73 49 6d 61 67 65 22 3e 0a 20 20 | cesskey;".observes="isImage">... |
78180 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 70 6f 70 75 70 20 6f 6e 70 6f 70 | ................<menupopup.onpop |
781a0 | 75 70 73 68 6f 77 69 6e 67 3d 22 73 74 79 6c 65 73 68 65 65 74 46 69 6c 6c 50 6f 70 75 70 28 74 | upshowing="stylesheetFillPopup(t |
781c0 | 68 69 73 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | his);".......................... |
781e0 | 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 73 74 79 6c 65 73 68 65 65 74 53 77 69 74 63 68 41 | ....oncommand="stylesheetSwitchA |
78200 | 6c 6c 28 77 69 6e 64 6f 77 2e 63 6f 6e 74 65 6e 74 2c 20 65 76 65 6e 74 2e 74 61 72 67 65 74 2e | ll(window.content,.event.target. |
78220 | 67 65 74 41 74 74 72 69 62 75 74 65 28 27 64 61 74 61 27 29 29 3b 20 73 65 74 53 74 79 6c 65 44 | getAttribute('data'));.setStyleD |
78240 | 69 73 61 62 6c 65 64 28 66 61 6c 73 65 29 3b 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | isabled(false);">............... |
78260 | 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 6c 61 62 65 6c 3d 22 26 70 61 67 65 53 74 79 6c | ......<menuitem.label="&pageStyl |
78280 | 65 4e 6f 53 74 79 6c 65 2e 6c 61 62 65 6c 3b 22 20 61 63 63 65 73 73 6b 65 79 3d 22 26 70 61 67 | eNoStyle.label;".accesskey="&pag |
782a0 | 65 53 74 79 6c 65 4e 6f 53 74 79 6c 65 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 | eStyleNoStyle.accesskey;"....... |
782c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 64 3d 22 6d 65 6e 75 | ........................id="menu |
782e0 | 5f 70 61 67 65 53 74 79 6c 65 4e 6f 53 74 79 6c 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | _pageStyleNoStyle".............. |
78300 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 73 65 74 53 | .................oncommand="setS |
78320 | 74 79 6c 65 44 69 73 61 62 6c 65 64 28 74 72 75 65 29 3b 20 65 76 65 6e 74 2e 73 74 6f 70 50 72 | tyleDisabled(true);.event.stopPr |
78340 | 6f 70 61 67 61 74 69 6f 6e 28 29 3b 22 20 74 79 70 65 3d 22 72 61 64 69 6f 22 2f 3e 0a 20 20 20 | opagation();".type="radio"/>.... |
78360 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 6c 61 62 65 6c | .................<menuitem.label |
78380 | 3d 22 26 70 61 67 65 53 74 79 6c 65 50 65 72 73 69 73 74 65 6e 74 4f 6e 6c 79 2e 6c 61 62 65 6c | ="&pageStylePersistentOnly.label |
783a0 | 3b 22 20 61 63 63 65 73 73 6b 65 79 3d 22 26 70 61 67 65 53 74 79 6c 65 50 65 72 73 69 73 74 65 | ;".accesskey="&pageStylePersiste |
783c0 | 6e 74 4f 6e 6c 79 2e 61 63 63 65 73 73 6b 65 79 3b 22 20 74 79 70 65 3d 22 72 61 64 69 6f 22 20 | ntOnly.accesskey;".type="radio". |
783e0 | 63 68 65 63 6b 65 64 3d 22 74 72 75 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | checked="true".................. |
78400 | 20 20 20 20 20 20 20 20 20 20 20 20 20 69 64 3d 22 6d 65 6e 75 5f 70 61 67 65 53 74 79 6c 65 50 | .............id="menu_pageStyleP |
78420 | 65 72 73 69 73 74 65 6e 74 4f 6e 6c 79 22 20 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ersistentOnly"./>............... |
78440 | 20 20 20 20 20 20 3c 6d 65 6e 75 73 65 70 61 72 61 74 6f 72 2f 3e 0a 20 20 20 20 20 20 20 20 20 | ......<menuseparator/>.......... |
78460 | 20 20 20 20 20 20 20 20 20 3c 2f 6d 65 6e 75 70 6f 70 75 70 3e 0a 20 20 20 20 20 20 20 20 20 20 | .........</menupopup>........... |
78480 | 20 20 20 20 20 20 3c 2f 6d 65 6e 75 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d | ......</menu>.................<m |
784a0 | 65 6e 75 20 69 64 3d 22 63 68 61 72 73 65 74 4d 65 6e 75 22 0a 20 20 20 20 20 20 20 20 20 20 20 | enu.id="charsetMenu"............ |
784c0 | 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 63 68 61 72 73 65 74 4d 65 6e 75 2e 6c | ...........label="&charsetMenu.l |
784e0 | 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 | abel;".......................acc |
78500 | 65 73 73 6b 65 79 3d 22 26 63 68 61 72 73 65 74 4d 65 6e 75 2e 61 63 63 65 73 73 6b 65 79 3b 22 | esskey="&charsetMenu.accesskey;" |
78520 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 61 74 61 73 6f 75 72 63 | .......................datasourc |
78540 | 65 73 3d 22 72 64 66 3a 63 68 61 72 73 65 74 2d 6d 65 6e 75 22 0a 20 20 20 20 20 20 20 20 20 20 | es="rdf:charset-menu"........... |
78560 | 20 20 20 20 20 20 20 20 20 20 20 20 72 65 66 3d 22 4e 43 3a 42 72 6f 77 73 65 72 43 68 61 72 73 | ............ref="NC:BrowserChars |
78580 | 65 74 4d 65 6e 75 52 6f 6f 74 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | etMenuRoot"..................... |
785a0 | 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 4d 75 6c 74 69 70 6c 65 78 48 61 6e 64 6c 65 72 28 65 76 | ..oncommand="MultiplexHandler(ev |
785c0 | 65 6e 74 29 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 70 6f | ent)".......................onpo |
785e0 | 70 75 70 73 68 6f 77 69 6e 67 3d 22 43 72 65 61 74 65 4d 65 6e 75 28 27 62 72 6f 77 73 65 72 27 | pupshowing="CreateMenu('browser' |
78600 | 29 3b 55 70 64 61 74 65 4d 65 6e 75 73 28 65 76 65 6e 74 29 22 0a 20 20 20 20 20 20 20 20 20 20 | );UpdateMenus(event)"........... |
78620 | 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 70 6f 70 75 70 73 68 6f 77 6e 3d 22 43 72 65 61 74 65 | ............onpopupshown="Create |
78640 | 4d 65 6e 75 28 27 6d 6f 72 65 2d 6d 65 6e 75 27 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 | Menu('more-menu');"............. |
78660 | 20 20 20 20 20 20 20 20 20 20 6f 62 73 65 72 76 65 73 3d 22 69 73 49 6d 61 67 65 22 3e 0a 20 20 | ..........observes="isImage">... |
78680 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 74 65 6d 70 6c 61 74 65 3e 0a 20 20 20 | ..................<template>.... |
786a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 72 75 6c 65 20 72 64 66 3a 74 | .....................<rule.rdf:t |
786c0 | 79 70 65 3d 22 68 74 74 70 3a 2f 2f 68 6f 6d 65 2e 6e 65 74 73 63 61 70 65 2e 63 6f 6d 2f 4e 43 | ype="http://home.netscape.com/NC |
786e0 | 2d 72 64 66 23 42 6f 6f 6b 6d 61 72 6b 53 65 70 61 72 61 74 6f 72 22 3e 0a 20 20 20 20 20 20 20 | -rdf#BookmarkSeparator">........ |
78700 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 70 6f 70 75 70 3e | .....................<menupopup> |
78720 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 | .............................<me |
78740 | 6e 75 73 65 70 61 72 61 74 6f 72 20 75 72 69 3d 22 2e 2e 2e 22 20 2f 3e 0a 20 20 20 20 20 20 20 | nuseparator.uri="..."./>........ |
78760 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 6d 65 6e 75 70 6f 70 75 70 | .....................</menupopup |
78780 | 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 72 75 6c 65 | >.........................</rule |
787a0 | 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 72 75 6c 65 3e | >.........................<rule> |
787c0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 | .............................<me |
787e0 | 6e 75 70 6f 70 75 70 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | nupopup>........................ |
78800 | 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 74 79 70 65 3d 22 72 61 64 69 6f 22 20 6e 61 6d 65 | .....<menuitem.type="radio".name |
78820 | 3d 22 63 68 61 72 73 65 74 47 72 6f 75 70 22 20 63 68 65 63 6b 65 64 3d 22 72 64 66 3a 68 74 74 | ="charsetGroup".checked="rdf:htt |
78840 | 70 3a 2f 2f 68 6f 6d 65 2e 6e 65 74 73 63 61 70 65 2e 63 6f 6d 2f 4e 43 2d 72 64 66 23 43 68 65 | p://home.netscape.com/NC-rdf#Che |
78860 | 63 6b 65 64 22 20 75 72 69 3d 22 2e 2e 2e 22 20 6c 61 62 65 6c 3d 22 72 64 66 3a 68 74 74 70 3a | cked".uri="...".label="rdf:http: |
78880 | 2f 2f 68 6f 6d 65 2e 6e 65 74 73 63 61 70 65 2e 63 6f 6d 2f 4e 43 2d 72 64 66 23 4e 61 6d 65 22 | //home.netscape.com/NC-rdf#Name" |
788a0 | 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c | />.............................< |
788c0 | 2f 6d 65 6e 75 70 6f 70 75 70 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | /menupopup>..................... |
788e0 | 20 20 20 20 3c 2f 72 75 6c 65 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ....</rule>..................... |
78900 | 3c 2f 74 65 6d 70 6c 61 74 65 3e 0a 20 20 20 20 20 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | </template>..................... |
78920 | 20 20 20 20 20 20 20 3c 6d 65 6e 75 70 6f 70 75 70 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | .......<menupopup>.............. |
78940 | 20 20 20 20 20 20 20 3c 6d 65 6e 75 20 6c 61 62 65 6c 3d 22 26 63 68 61 72 73 65 74 4d 65 6e 75 | .......<menu.label="&charsetMenu |
78960 | 41 75 74 6f 64 65 74 2e 6c 61 62 65 6c 3b 22 20 61 63 63 65 73 73 6b 65 79 3d 22 26 63 68 61 72 | Autodet.label;".accesskey="&char |
78980 | 73 65 74 4d 65 6e 75 41 75 74 6f 64 65 74 2e 61 63 63 65 73 73 6b 65 79 3b 22 20 64 61 74 61 73 | setMenuAutodet.accesskey;".datas |
789a0 | 6f 75 72 63 65 73 3d 22 72 64 66 3a 63 68 61 72 73 65 74 2d 6d 65 6e 75 22 20 72 65 66 3d 22 4e | ources="rdf:charset-menu".ref="N |
789c0 | 43 3a 42 72 6f 77 73 65 72 41 75 74 6f 64 65 74 4d 65 6e 75 52 6f 6f 74 22 3e 0a 20 20 20 20 20 | C:BrowserAutodetMenuRoot">...... |
789e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 74 65 6d 70 6c 61 74 65 3e 0a 20 20 | ...................<template>... |
78a00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 72 75 6c 65 20 | ..........................<rule. |
78a20 | 72 64 66 3a 74 79 70 65 3d 22 68 74 74 70 3a 2f 2f 68 6f 6d 65 2e 6e 65 74 73 63 61 70 65 2e 63 | rdf:type="http://home.netscape.c |
78a40 | 6f 6d 2f 4e 43 2d 72 64 66 23 43 68 61 72 73 65 74 44 65 74 65 63 74 6f 72 22 3e 0a 20 20 20 20 | om/NC-rdf#CharsetDetector">..... |
78a60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e | ............................<men |
78a80 | 75 70 6f 70 75 70 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | upopup>......................... |
78aa0 | 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 74 79 70 65 3d 22 72 61 64 69 6f 22 20 6e | ........<menuitem.type="radio".n |
78ac0 | 61 6d 65 3d 22 64 65 74 65 63 74 6f 72 47 72 6f 75 70 22 20 63 68 65 63 6b 65 64 3d 22 72 64 66 | ame="detectorGroup".checked="rdf |
78ae0 | 3a 68 74 74 70 3a 2f 2f 68 6f 6d 65 2e 6e 65 74 73 63 61 70 65 2e 63 6f 6d 2f 4e 43 2d 72 64 66 | :http://home.netscape.com/NC-rdf |
78b00 | 23 43 68 65 63 6b 65 64 22 20 75 72 69 3d 22 2e 2e 2e 22 20 6c 61 62 65 6c 3d 22 72 64 66 3a 68 | #Checked".uri="...".label="rdf:h |
78b20 | 74 74 70 3a 2f 2f 68 6f 6d 65 2e 6e 65 74 73 63 61 70 65 2e 63 6f 6d 2f 4e 43 2d 72 64 66 23 4e | ttp://home.netscape.com/NC-rdf#N |
78b40 | 61 6d 65 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ame"/>.......................... |
78b60 | 20 20 20 20 20 20 20 3c 2f 6d 65 6e 75 70 6f 70 75 70 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 | .......</menupopup>............. |
78b80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 72 75 6c 65 3e 0a 20 20 20 20 20 20 20 20 | ................</rule>......... |
78ba0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 74 65 6d 70 6c 61 74 65 3e 0a 20 20 20 20 | ................</template>..... |
78bc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 70 6f 70 75 70 3e 0a | ....................<menupopup>. |
78be0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 6d 65 6e 75 70 6f | ........................</menupo |
78c00 | 70 75 70 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 6d 65 6e 75 3e | pup>.....................</menu> |
78c20 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 20 6c 61 62 65 6c | .....................<menu.label |
78c40 | 3d 22 26 63 68 61 72 73 65 74 4d 65 6e 75 4d 6f 72 65 2e 6c 61 62 65 6c 3b 22 20 61 63 63 65 73 | ="&charsetMenuMore.label;".acces |
78c60 | 73 6b 65 79 3d 22 26 63 68 61 72 73 65 74 4d 65 6e 75 4d 6f 72 65 2e 61 63 63 65 73 73 6b 65 79 | skey="&charsetMenuMore.accesskey |
78c80 | 3b 22 20 64 61 74 61 73 6f 75 72 63 65 73 3d 22 72 64 66 3a 63 68 61 72 73 65 74 2d 6d 65 6e 75 | ;".datasources="rdf:charset-menu |
78ca0 | 22 20 72 65 66 3d 22 4e 43 3a 42 72 6f 77 73 65 72 4d 6f 72 65 43 68 61 72 73 65 74 4d 65 6e 75 | ".ref="NC:BrowserMoreCharsetMenu |
78cc0 | 52 6f 6f 74 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c | Root">.........................< |
78ce0 | 74 65 6d 70 6c 61 74 65 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | template>....................... |
78d00 | 20 20 20 20 20 20 3c 72 75 6c 65 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ......<rule>.................... |
78d20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 70 6f 70 75 70 3e 0a 20 20 20 20 20 20 20 | .............<menupopup>........ |
78d40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 | .........................<menuit |
78d60 | 65 6d 20 75 72 69 3d 22 2e 2e 2e 22 20 6c 61 62 65 6c 3d 22 72 64 66 3a 68 74 74 70 3a 2f 2f 68 | em.uri="...".label="rdf:http://h |
78d80 | 6f 6d 65 2e 6e 65 74 73 63 61 70 65 2e 63 6f 6d 2f 4e 43 2d 72 64 66 23 4e 61 6d 65 22 2f 3e 0a | ome.netscape.com/NC-rdf#Name"/>. |
78da0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
78dc0 | 3c 2f 6d 65 6e 75 70 6f 70 75 70 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | </menupopup>.................... |
78de0 | 20 20 20 20 20 20 20 20 20 3c 2f 72 75 6c 65 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .........</rule>................ |
78e00 | 20 20 20 20 20 20 20 20 20 3c 2f 74 65 6d 70 6c 61 74 65 3e 0a 20 20 20 20 20 20 20 20 20 20 20 | .........</template>............ |
78e20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 70 6f 70 75 70 3e 0a 20 20 20 20 20 20 20 | .............<menupopup>........ |
78e40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 20 6c 61 62 65 6c | .....................<menu.label |
78e60 | 3d 22 26 63 68 61 72 73 65 74 4d 65 6e 75 4d 6f 72 65 31 2e 6c 61 62 65 6c 3b 22 20 61 63 63 65 | ="&charsetMenuMore1.label;".acce |
78e80 | 73 73 6b 65 79 3d 22 26 63 68 61 72 73 65 74 4d 65 6e 75 4d 6f 72 65 31 2e 61 63 63 65 73 73 6b | sskey="&charsetMenuMore1.accessk |
78ea0 | 65 79 3b 22 20 64 61 74 61 73 6f 75 72 63 65 73 3d 22 72 64 66 3a 63 68 61 72 73 65 74 2d 6d 65 | ey;".datasources="rdf:charset-me |
78ec0 | 6e 75 22 20 72 65 66 3d 22 4e 43 3a 42 72 6f 77 73 65 72 4d 6f 72 65 31 43 68 61 72 73 65 74 4d | nu".ref="NC:BrowserMore1CharsetM |
78ee0 | 65 6e 75 52 6f 6f 74 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | enuRoot">....................... |
78f00 | 20 20 20 20 20 20 20 20 20 20 3c 74 65 6d 70 6c 61 74 65 3e 0a 20 20 20 20 20 20 20 20 20 20 20 | ..........<template>............ |
78f20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 72 75 6c 65 3e 0a | .........................<rule>. |
78f40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
78f60 | 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 70 6f 70 75 70 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ........<menupopup>............. |
78f80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e | ............................<men |
78fa0 | 75 69 74 65 6d 20 75 72 69 3d 22 2e 2e 2e 22 20 6c 61 62 65 6c 3d 22 72 64 66 3a 68 74 74 70 3a | uitem.uri="...".label="rdf:http: |
78fc0 | 2f 2f 68 6f 6d 65 2e 6e 65 74 73 63 61 70 65 2e 63 6f 6d 2f 4e 43 2d 72 64 66 23 4e 61 6d 65 22 | //home.netscape.com/NC-rdf#Name" |
78fe0 | 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | />.............................. |
79000 | 20 20 20 20 20 20 20 20 20 20 20 3c 2f 6d 65 6e 75 70 6f 70 75 70 3e 0a 20 20 20 20 20 20 20 20 | ...........</menupopup>......... |
79020 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 72 75 | ............................</ru |
79040 | 6c 65 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | le>............................. |
79060 | 20 20 20 20 3c 2f 74 65 6d 70 6c 61 74 65 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ....</template>................. |
79080 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 70 6f 70 75 70 3e 0a 20 20 20 20 | ................<menupopup>..... |
790a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 6d 65 | ............................</me |
790c0 | 6e 75 70 6f 70 75 70 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | nupopup>........................ |
790e0 | 20 20 20 20 20 3c 2f 6d 65 6e 75 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .....</menu>.................... |
79100 | 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 20 6c 61 62 65 6c 3d 22 26 63 68 61 72 73 65 74 4d 65 | .........<menu.label="&charsetMe |
79120 | 6e 75 4d 6f 72 65 32 2e 6c 61 62 65 6c 3b 22 20 61 63 63 65 73 73 6b 65 79 3d 22 26 63 68 61 72 | nuMore2.label;".accesskey="&char |
79140 | 73 65 74 4d 65 6e 75 4d 6f 72 65 32 2e 61 63 63 65 73 73 6b 65 79 3b 22 20 64 61 74 61 73 6f 75 | setMenuMore2.accesskey;".datasou |
79160 | 72 63 65 73 3d 22 72 64 66 3a 63 68 61 72 73 65 74 2d 6d 65 6e 75 22 20 72 65 66 3d 22 4e 43 3a | rces="rdf:charset-menu".ref="NC: |
79180 | 42 72 6f 77 73 65 72 4d 6f 72 65 32 43 68 61 72 73 65 74 4d 65 6e 75 52 6f 6f 74 22 3e 0a 20 20 | BrowserMore2CharsetMenuRoot">... |
791a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 74 | ..............................<t |
791c0 | 65 6d 70 6c 61 74 65 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | emplate>........................ |
791e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 72 75 6c 65 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 | .............<rule>............. |
79200 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e | ............................<men |
79220 | 75 70 6f 70 75 70 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | upopup>......................... |
79240 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 75 72 69 3d 22 2e | ................<menuitem.uri=". |
79260 | 2e 2e 22 20 6c 61 62 65 6c 3d 22 72 64 66 3a 68 74 74 70 3a 2f 2f 68 6f 6d 65 2e 6e 65 74 73 63 | ..".label="rdf:http://home.netsc |
79280 | 61 70 65 2e 63 6f 6d 2f 4e 43 2d 72 64 66 23 4e 61 6d 65 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 | ape.com/NC-rdf#Name"/>.......... |
792a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c | ...............................< |
792c0 | 2f 6d 65 6e 75 70 6f 70 75 70 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | /menupopup>..................... |
792e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 72 75 6c 65 3e 0a 20 20 20 20 20 20 20 20 | ................</rule>......... |
79300 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 74 65 6d 70 6c 61 | ........................</templa |
79320 | 74 65 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | te>............................. |
79340 | 20 20 20 20 3c 6d 65 6e 75 70 6f 70 75 70 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ....<menupopup>................. |
79360 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 6d 65 6e 75 70 6f 70 75 70 3e 0a 20 20 20 | ................</menupopup>.... |
79380 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 6d 65 6e 75 3e | .........................</menu> |
793a0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 | .............................<me |
793c0 | 6e 75 20 6c 61 62 65 6c 3d 22 26 63 68 61 72 73 65 74 4d 65 6e 75 4d 6f 72 65 33 2e 6c 61 62 65 | nu.label="&charsetMenuMore3.labe |
793e0 | 6c 3b 22 20 61 63 63 65 73 73 6b 65 79 3d 22 26 63 68 61 72 73 65 74 4d 65 6e 75 4d 6f 72 65 33 | l;".accesskey="&charsetMenuMore3 |
79400 | 2e 61 63 63 65 73 73 6b 65 79 3b 22 20 64 61 74 61 73 6f 75 72 63 65 73 3d 22 72 64 66 3a 63 68 | .accesskey;".datasources="rdf:ch |
79420 | 61 72 73 65 74 2d 6d 65 6e 75 22 20 72 65 66 3d 22 4e 43 3a 42 72 6f 77 73 65 72 4d 6f 72 65 33 | arset-menu".ref="NC:BrowserMore3 |
79440 | 43 68 61 72 73 65 74 4d 65 6e 75 52 6f 6f 74 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | CharsetMenuRoot">............... |
79460 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 74 65 6d 70 6c 61 74 65 3e 0a 20 20 20 | ..................<template>.... |
79480 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
794a0 | 20 3c 72 75 6c 65 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .<rule>......................... |
794c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 70 6f 70 75 70 3e 0a 20 20 20 20 | ................<menupopup>..... |
794e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
79500 | 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 75 72 69 3d 22 2e 2e 2e 22 20 6c 61 62 65 6c 3d 22 72 | ....<menuitem.uri="...".label="r |
79520 | 64 66 3a 68 74 74 70 3a 2f 2f 68 6f 6d 65 2e 6e 65 74 73 63 61 70 65 2e 63 6f 6d 2f 4e 43 2d 72 | df:http://home.netscape.com/NC-r |
79540 | 64 66 23 4e 61 6d 65 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | df#Name"/>...................... |
79560 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 6d 65 6e 75 70 6f 70 75 70 3e 0a | ...................</menupopup>. |
79580 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
795a0 | 20 20 20 20 3c 2f 72 75 6c 65 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ....</rule>..................... |
795c0 | 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 74 65 6d 70 6c 61 74 65 3e 0a 20 20 20 20 20 20 20 20 | ............</template>......... |
795e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 70 6f 70 | ........................<menupop |
79600 | 75 70 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | up>............................. |
79620 | 20 20 20 20 3c 2f 6d 65 6e 75 70 6f 70 75 70 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ....</menupopup>................ |
79640 | 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 6d 65 6e 75 3e 0a 20 20 20 20 20 20 20 20 20 20 20 | .............</menu>............ |
79660 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 20 6c 61 62 65 6c 3d 22 26 63 | .................<menu.label="&c |
79680 | 68 61 72 73 65 74 4d 65 6e 75 4d 6f 72 65 34 2e 6c 61 62 65 6c 3b 22 20 61 63 63 65 73 73 6b 65 | harsetMenuMore4.label;".accesske |
796a0 | 79 3d 22 26 63 68 61 72 73 65 74 4d 65 6e 75 4d 6f 72 65 34 2e 61 63 63 65 73 73 6b 65 79 3b 22 | y="&charsetMenuMore4.accesskey;" |
796c0 | 20 64 61 74 61 73 6f 75 72 63 65 73 3d 22 72 64 66 3a 63 68 61 72 73 65 74 2d 6d 65 6e 75 22 20 | .datasources="rdf:charset-menu". |
796e0 | 72 65 66 3d 22 4e 43 3a 42 72 6f 77 73 65 72 4d 6f 72 65 34 43 68 61 72 73 65 74 4d 65 6e 75 52 | ref="NC:BrowserMore4CharsetMenuR |
79700 | 6f 6f 74 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | oot">........................... |
79720 | 20 20 20 20 20 20 3c 74 65 6d 70 6c 61 74 65 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ......<template>................ |
79740 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 72 75 6c 65 3e 0a 20 20 20 20 | .....................<rule>..... |
79760 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
79780 | 20 20 20 20 3c 6d 65 6e 75 70 6f 70 75 70 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ....<menupopup>................. |
797a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 | ........................<menuite |
797c0 | 6d 20 75 72 69 3d 22 2e 2e 2e 22 20 6c 61 62 65 6c 3d 22 72 64 66 3a 68 74 74 70 3a 2f 2f 68 6f | m.uri="...".label="rdf:http://ho |
797e0 | 6d 65 2e 6e 65 74 73 63 61 70 65 2e 63 6f 6d 2f 4e 43 2d 72 64 66 23 4e 61 6d 65 22 2f 3e 0a 20 | me.netscape.com/NC-rdf#Name"/>.. |
79800 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
79820 | 20 20 20 20 20 20 20 3c 2f 6d 65 6e 75 70 6f 70 75 70 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 | .......</menupopup>............. |
79840 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 72 75 6c 65 3e 0a | ........................</rule>. |
79860 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
79880 | 3c 2f 74 65 6d 70 6c 61 74 65 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | </template>..................... |
798a0 | 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 70 6f 70 75 70 3e 0a 20 20 20 20 20 20 20 20 | ............<menupopup>......... |
798c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 6d 65 6e 75 70 6f | ........................</menupo |
798e0 | 70 75 70 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | pup>............................ |
79900 | 20 3c 2f 6d 65 6e 75 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .</menu>........................ |
79920 | 20 20 20 20 20 3c 6d 65 6e 75 20 6c 61 62 65 6c 3d 22 26 63 68 61 72 73 65 74 4d 65 6e 75 4d 6f | .....<menu.label="&charsetMenuMo |
79940 | 72 65 35 2e 6c 61 62 65 6c 3b 22 20 61 63 63 65 73 73 6b 65 79 3d 22 26 63 68 61 72 73 65 74 4d | re5.label;".accesskey="&charsetM |
79960 | 65 6e 75 4d 6f 72 65 35 2e 61 63 63 65 73 73 6b 65 79 3b 22 20 64 61 74 61 73 6f 75 72 63 65 73 | enuMore5.accesskey;".datasources |
79980 | 3d 22 72 64 66 3a 63 68 61 72 73 65 74 2d 6d 65 6e 75 22 20 72 65 66 3d 22 4e 43 3a 42 72 6f 77 | ="rdf:charset-menu".ref="NC:Brow |
799a0 | 73 65 72 4d 6f 72 65 35 43 68 61 72 73 65 74 4d 65 6e 75 52 6f 6f 74 22 3e 0a 20 20 20 20 20 20 | serMore5CharsetMenuRoot">....... |
799c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 74 65 6d 70 6c | ..........................<templ |
799e0 | 61 74 65 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ate>............................ |
79a00 | 20 20 20 20 20 20 20 20 20 3c 72 75 6c 65 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .........<rule>................. |
79a20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 70 6f 70 | ........................<menupop |
79a40 | 75 70 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | up>............................. |
79a60 | 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 75 72 69 3d 22 2e 2e 2e 22 20 | ............<menuitem.uri="...". |
79a80 | 6c 61 62 65 6c 3d 22 72 64 66 3a 68 74 74 70 3a 2f 2f 68 6f 6d 65 2e 6e 65 74 73 63 61 70 65 2e | label="rdf:http://home.netscape. |
79aa0 | 63 6f 6d 2f 4e 43 2d 72 64 66 23 4e 61 6d 65 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | com/NC-rdf#Name"/>.............. |
79ac0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 6d 65 6e | ...........................</men |
79ae0 | 75 70 6f 70 75 70 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | upopup>......................... |
79b00 | 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 72 75 6c 65 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ............</rule>............. |
79b20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 74 65 6d 70 6c 61 74 65 3e 0a | ....................</template>. |
79b40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
79b60 | 3c 6d 65 6e 75 70 6f 70 75 70 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | <menupopup>..................... |
79b80 | 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 6d 65 6e 75 70 6f 70 75 70 3e 0a 20 20 20 20 20 20 20 | ............</menupopup>........ |
79ba0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 6d 65 6e 75 3e 0a 20 20 20 | .....................</menu>.... |
79bc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 20 6c | .........................<menu.l |
79be0 | 61 62 65 6c 3d 22 26 63 68 61 72 73 65 74 4d 65 6e 75 55 6e 69 63 6f 64 65 2e 6c 61 62 65 6c 3b | abel="&charsetMenuUnicode.label; |
79c00 | 22 20 61 63 63 65 73 73 6b 65 79 3d 22 26 63 68 61 72 73 65 74 4d 65 6e 75 55 6e 69 63 6f 64 65 | ".accesskey="&charsetMenuUnicode |
79c20 | 2e 61 63 63 65 73 73 6b 65 79 3b 22 20 64 61 74 61 73 6f 75 72 63 65 73 3d 22 72 64 66 3a 63 68 | .accesskey;".datasources="rdf:ch |
79c40 | 61 72 73 65 74 2d 6d 65 6e 75 22 20 72 65 66 3d 22 4e 43 3a 42 72 6f 77 73 65 72 55 6e 69 63 6f | arset-menu".ref="NC:BrowserUnico |
79c60 | 64 65 43 68 61 72 73 65 74 4d 65 6e 75 52 6f 6f 74 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 | deCharsetMenuRoot">............. |
79c80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 74 65 6d 70 6c 61 74 65 3e 0a 20 | ....................<template>.. |
79ca0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
79cc0 | 20 20 20 3c 72 75 6c 65 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ...<rule>....................... |
79ce0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 70 6f 70 75 70 3e 0a 20 20 | ..................<menupopup>... |
79d00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
79d20 | 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 75 72 69 3d 22 2e 2e 2e 22 20 6c 61 62 65 6c 3d | ......<menuitem.uri="...".label= |
79d40 | 22 72 64 66 3a 68 74 74 70 3a 2f 2f 68 6f 6d 65 2e 6e 65 74 73 63 61 70 65 2e 63 6f 6d 2f 4e 43 | "rdf:http://home.netscape.com/NC |
79d60 | 2d 72 64 66 23 4e 61 6d 65 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | -rdf#Name"/>.................... |
79d80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 6d 65 6e 75 70 6f 70 75 70 | .....................</menupopup |
79da0 | 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | >............................... |
79dc0 | 20 20 20 20 20 20 3c 2f 72 75 6c 65 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ......</rule>................... |
79de0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 74 65 6d 70 6c 61 74 65 3e 0a 20 20 20 20 20 20 | ..............</template>....... |
79e00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 70 | ..........................<menup |
79e20 | 6f 70 75 70 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | opup>........................... |
79e40 | 20 20 20 20 20 20 3c 2f 6d 65 6e 75 70 6f 70 75 70 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ......</menupopup>.............. |
79e60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 6d 65 6e 75 3e 0a 20 20 20 20 20 20 20 20 20 | ...............</menu>.......... |
79e80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 73 65 70 61 72 61 74 6f | ...................<menuseparato |
79ea0 | 72 20 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 6d | r./>.........................</m |
79ec0 | 65 6e 75 70 6f 70 75 70 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f | enupopup>.....................</ |
79ee0 | 6d 65 6e 75 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 | menu>.....................<menui |
79f00 | 74 65 6d 20 6e 61 6d 65 3d 22 63 68 61 72 73 65 74 43 75 73 74 6f 6d 69 7a 65 22 20 61 63 63 65 | tem.name="charsetCustomize".acce |
79f20 | 73 73 6b 65 79 3d 22 26 63 68 61 72 73 65 74 43 75 73 74 6f 6d 69 7a 65 2e 61 63 63 65 73 73 6b | sskey="&charsetCustomize.accessk |
79f40 | 65 79 3b 22 20 6c 61 62 65 6c 3d 22 26 63 68 61 72 73 65 74 43 75 73 74 6f 6d 69 7a 65 2e 6c 61 | ey;".label="&charsetCustomize.la |
79f60 | 62 65 6c 3b 22 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 77 69 6e 64 6f 77 2e 6f 70 65 6e 44 69 61 6c | bel;".oncommand="window.openDial |
79f80 | 6f 67 28 27 63 68 72 6f 6d 65 3a 2f 2f 67 6c 6f 62 61 6c 2f 63 6f 6e 74 65 6e 74 2f 63 75 73 74 | og('chrome://global/content/cust |
79fa0 | 6f 6d 69 7a 65 43 68 61 72 73 65 74 2e 78 75 6c 27 2c 27 50 72 65 66 57 69 6e 64 6f 77 27 2c 20 | omizeCharset.xul','PrefWindow',. |
79fc0 | 27 63 68 72 6f 6d 65 2c 6d 6f 64 61 6c 3d 79 65 73 2c 72 65 73 69 7a 61 62 6c 65 3d 79 65 73 27 | 'chrome,modal=yes,resizable=yes' |
79fe0 | 2c 20 27 62 72 6f 77 73 65 72 27 29 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ,.'browser')"/>................. |
7a000 | 20 20 20 20 3c 2f 6d 65 6e 75 70 6f 70 75 70 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ....</menupopup>................ |
7a020 | 20 3c 2f 6d 65 6e 75 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 73 65 | .</menu>.................<menuse |
7a040 | 70 61 72 61 74 6f 72 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 | parator/>.................<menui |
7a060 | 74 65 6d 20 61 63 63 65 73 73 6b 65 79 3d 22 26 70 61 67 65 53 6f 75 72 63 65 43 6d 64 2e 61 63 | tem.accesskey="&pageSourceCmd.ac |
7a080 | 63 65 73 73 6b 65 79 3b 22 20 6c 61 62 65 6c 3d 22 26 70 61 67 65 53 6f 75 72 63 65 43 6d 64 2e | cesskey;".label="&pageSourceCmd. |
7a0a0 | 6c 61 62 65 6c 3b 22 20 6b 65 79 3d 22 6b 65 79 5f 76 69 65 77 53 6f 75 72 63 65 22 20 63 6f 6d | label;".key="key_viewSource".com |
7a0c0 | 6d 61 6e 64 3d 22 56 69 65 77 3a 50 61 67 65 53 6f 75 72 63 65 22 0a 20 20 20 20 20 20 20 20 20 | mand="View:PageSource".......... |
7a0e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 64 3d 22 6d 65 6e 75 5f 70 61 67 65 53 6f | .................id="menu_pageSo |
7a100 | 75 72 63 65 22 20 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 | urce"./>.................<menuit |
7a120 | 65 6d 20 61 63 63 65 73 73 6b 65 79 3d 22 26 66 75 6c 6c 53 63 72 65 65 6e 43 6d 64 2e 61 63 63 | em.accesskey="&fullScreenCmd.acc |
7a140 | 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | esskey;"........................ |
7a160 | 20 20 20 6c 61 62 65 6c 3d 22 26 66 75 6c 6c 53 63 72 65 65 6e 43 6d 64 2e 6c 61 62 65 6c 3b 22 | ...label="&fullScreenCmd.label;" |
7a180 | 20 6b 65 79 3d 22 6b 65 79 5f 66 75 6c 6c 53 63 72 65 65 6e 22 0a 20 20 20 20 20 20 20 20 20 20 | .key="key_fullScreen"........... |
7a1a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 64 3d 22 66 75 6c 6c 53 63 72 65 65 6e 49 74 | ................id="fullScreenIt |
7a1c0 | 65 6d 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 79 | em"...........................ty |
7a1e0 | 70 65 3d 22 63 68 65 63 6b 62 6f 78 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | pe="checkbox"................... |
7a200 | 20 20 20 20 20 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 56 69 65 77 3a 46 75 6c 6c 53 63 72 65 65 6e | ........command="View:FullScreen |
7a220 | 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 73 65 70 61 72 61 74 | "/>.................<menuseparat |
7a240 | 6f 72 20 68 69 64 64 65 6e 3d 22 74 72 75 65 22 20 69 64 3d 22 64 6f 63 75 6d 65 6e 74 44 69 72 | or.hidden="true".id="documentDir |
7a260 | 65 63 74 69 6f 6e 2d 73 65 70 61 72 61 74 6f 72 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ection-separator"/>............. |
7a280 | 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 68 69 64 64 65 6e 3d 22 74 72 75 65 22 20 69 64 3d 22 | ....<menuitem.hidden="true".id=" |
7a2a0 | 64 6f 63 75 6d 65 6e 74 44 69 72 65 63 74 69 6f 6e 2d 73 77 61 70 22 20 0a 20 20 20 20 20 20 20 | documentDirection-swap"......... |
7a2c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 62 69 64 69 53 | ...................label="&bidiS |
7a2e0 | 77 69 74 63 68 50 61 67 65 44 69 72 65 63 74 69 6f 6e 49 74 65 6d 2e 6c 61 62 65 6c 3b 22 0a 20 | witchPageDirectionItem.label;".. |
7a300 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b | .........................accessk |
7a320 | 65 79 3d 22 26 62 69 64 69 53 77 69 74 63 68 50 61 67 65 44 69 72 65 63 74 69 6f 6e 49 74 65 6d | ey="&bidiSwitchPageDirectionItem |
7a340 | 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .accesskey;".................... |
7a360 | 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 53 77 69 74 63 68 44 6f 63 75 6d 65 6e 74 | .......oncommand="SwitchDocument |
7a380 | 44 69 72 65 63 74 69 6f 6e 28 77 69 6e 64 6f 77 2e 63 6f 6e 74 65 6e 74 29 22 2f 3e 0a 20 20 20 | Direction(window.content)"/>.... |
7a3a0 | 20 20 20 20 20 20 20 20 20 20 20 3c 2f 6d 65 6e 75 70 6f 70 75 70 3e 0a 20 20 20 20 20 20 20 20 | ...........</menupopup>......... |
7a3c0 | 20 20 20 20 3c 2f 6d 65 6e 75 3e 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 20 69 | ....</menu>..............<menu.i |
7a3e0 | 64 3d 22 68 69 73 74 6f 72 79 2d 6d 65 6e 75 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | d="history-menu"................ |
7a400 | 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 76 61 72 20 6e 6f 64 65 20 3d 20 65 76 65 6e 74 2e 74 | ...oncommand="var.node.=.event.t |
7a420 | 61 72 67 65 74 2e 6e 6f 64 65 3b 20 69 66 20 28 6e 6f 64 65 29 20 7b 20 50 6c 61 63 65 73 55 49 | arget.node;.if.(node).{.PlacesUI |
7a440 | 55 74 69 6c 73 2e 6d 61 72 6b 50 61 67 65 41 73 54 79 70 65 64 28 6e 6f 64 65 2e 75 72 69 29 3b | Utils.markPageAsTyped(node.uri); |
7a460 | 20 6f 70 65 6e 55 49 4c 69 6e 6b 28 6e 6f 64 65 2e 75 72 69 2c 20 65 76 65 6e 74 2c 20 66 61 6c | .openUILink(node.uri,.event,.fal |
7a480 | 73 65 2c 20 74 72 75 65 29 3b 20 7d 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | se,.true);.}"................... |
7a4a0 | 6f 6e 63 6c 69 63 6b 3d 22 63 68 65 63 6b 46 6f 72 4d 69 64 64 6c 65 43 6c 69 63 6b 28 74 68 69 | onclick="checkForMiddleClick(thi |
7a4c0 | 73 2c 20 65 76 65 6e 74 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 | s,.event);"...................la |
7a4e0 | 62 65 6c 3d 22 26 68 69 73 74 6f 72 79 4d 65 6e 75 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 | bel="&historyMenu.label;"....... |
7a500 | 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 68 69 73 74 6f 72 79 4d | ............accesskey="&historyM |
7a520 | 65 6e 75 2e 61 63 63 65 73 73 6b 65 79 3b 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c | enu.accesskey;">...............< |
7a540 | 6d 65 6e 75 70 6f 70 75 70 20 69 64 3d 22 67 6f 50 6f 70 75 70 22 0a 20 20 20 20 20 20 20 20 20 | menupopup.id="goPopup".......... |
7a560 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 79 70 65 3d 22 70 6c 61 63 65 73 22 0a 20 20 | ................type="places"... |
7a580 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 70 6f 70 75 70 73 68 | .......................onpopupsh |
7a5a0 | 6f 77 69 6e 67 3d 22 48 69 73 74 6f 72 79 4d 65 6e 75 2e 6f 6e 50 6f 70 75 70 53 68 6f 77 69 6e | owing="HistoryMenu.onPopupShowin |
7a5c0 | 67 28 74 68 69 73 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | g(this);"....................... |
7a5e0 | 20 20 20 70 6c 61 63 65 3d 22 70 6c 61 63 65 3a 74 79 70 65 3d 30 26 61 6d 70 3b 73 6f 72 74 3d | ...place="place:type=0&sort= |
7a600 | 34 26 61 6d 70 3b 6d 61 78 52 65 73 75 6c 74 73 3d 31 30 22 0a 20 20 20 20 20 20 20 20 20 20 20 | 4&maxResults=10"............ |
7a620 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 6f 6f 6c 74 69 70 3d 22 62 74 54 6f 6f 6c 74 69 70 | ..............tooltip="btTooltip |
7a640 | 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d | ">.................<menuitem.id= |
7a660 | 22 68 69 73 74 6f 72 79 4d 65 6e 75 42 61 63 6b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | "historyMenuBack"............... |
7a680 | 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 62 61 63 6b 43 6d 64 2e 6c 61 62 65 | ............label="&backCmd.labe |
7a6a0 | 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6b 65 | l;"...........................ke |
7a6c0 | 79 3d 22 67 6f 42 61 63 6b 4b 62 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | y="goBackKb".................... |
7a6e0 | 20 20 20 20 20 20 20 63 68 72 6f 6d 65 64 69 72 3d 22 26 6c 6f 63 61 6c 65 2e 64 69 72 3b 22 0a | .......chromedir="&locale.dir;". |
7a700 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6d 6d 61 6e | ..........................comman |
7a720 | 64 3d 22 42 72 6f 77 73 65 72 3a 42 61 63 6b 4f 72 42 61 63 6b 44 75 70 6c 69 63 61 74 65 22 0a | d="Browser:BackOrBackDuplicate". |
7a740 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6c 69 63 | ..........................onclic |
7a760 | 6b 3d 22 63 68 65 63 6b 46 6f 72 4d 69 64 64 6c 65 43 6c 69 63 6b 28 74 68 69 73 2c 20 65 76 65 | k="checkForMiddleClick(this,.eve |
7a780 | 6e 74 29 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 | nt);"/>.................<menuite |
7a7a0 | 6d 20 69 64 3d 22 68 69 73 74 6f 72 79 4d 65 6e 75 46 6f 72 77 61 72 64 22 0a 20 20 20 20 20 20 | m.id="historyMenuForward"....... |
7a7c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 66 6f 72 77 | ....................label="&forw |
7a7e0 | 61 72 64 43 6d 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ardCmd.label;".................. |
7a800 | 20 20 20 20 20 20 20 20 20 6b 65 79 3d 22 67 6f 46 6f 72 77 61 72 64 4b 62 22 0a 20 20 20 20 20 | .........key="goForwardKb"...... |
7a820 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 68 72 6f 6d 65 64 69 72 3d 22 | .....................chromedir=" |
7a840 | 26 6c 6f 63 61 6c 65 2e 64 69 72 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | &locale.dir;"................... |
7a860 | 20 20 20 20 20 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 42 72 6f 77 73 65 72 3a 46 6f 72 77 61 72 64 | ........command="Browser:Forward |
7a880 | 4f 72 46 6f 72 77 61 72 64 44 75 70 6c 69 63 61 74 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 | OrForwardDuplicate"............. |
7a8a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6c 69 63 6b 3d 22 63 68 65 63 6b 46 6f 72 4d | ..............onclick="checkForM |
7a8c0 | 69 64 64 6c 65 43 6c 69 63 6b 28 74 68 69 73 2c 20 65 76 65 6e 74 29 3b 22 2f 3e 0a 20 20 20 20 | iddleClick(this,.event);"/>..... |
7a8e0 | 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 68 69 73 74 6f 72 | ............<menuitem.id="histor |
7a900 | 79 4d 65 6e 75 48 6f 6d 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | yMenuHome"...................... |
7a920 | 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 68 69 73 74 6f 72 79 48 6f 6d 65 43 6d 64 2e 6c 61 62 65 | .....label="&historyHomeCmd.labe |
7a940 | 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e | l;"...........................on |
7a960 | 63 6f 6d 6d 61 6e 64 3d 22 42 72 6f 77 73 65 72 47 6f 48 6f 6d 65 28 65 76 65 6e 74 29 3b 22 0a | command="BrowserGoHome(event);". |
7a980 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6c 69 63 | ..........................onclic |
7a9a0 | 6b 3d 22 63 68 65 63 6b 46 6f 72 4d 69 64 64 6c 65 43 6c 69 63 6b 28 74 68 69 73 2c 20 65 76 65 | k="checkForMiddleClick(this,.eve |
7a9c0 | 6e 74 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | nt);"........................... |
7a9e0 | 6b 65 79 3d 22 67 6f 48 6f 6d 65 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c | key="goHome"/>.................< |
7aa00 | 6d 65 6e 75 69 74 65 6d 20 6c 61 62 65 6c 3d 22 26 73 68 6f 77 41 6c 6c 48 69 73 74 6f 72 79 43 | menuitem.label="&showAllHistoryC |
7aa20 | 6d 64 32 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | md2.label;"..................... |
7aa40 | 20 20 20 20 20 20 69 64 3d 22 6d 65 6e 75 5f 73 68 6f 77 41 6c 6c 48 69 73 74 6f 72 79 22 20 0a | ......id="menu_showAllHistory".. |
7aa60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6b 65 79 3d 22 73 | ..........................key="s |
7aa80 | 68 6f 77 41 6c 6c 48 69 73 74 6f 72 79 4b 62 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | howAllHistoryKb"................ |
7aaa0 | 20 20 20 20 20 20 20 20 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 42 72 6f 77 73 65 72 3a 53 68 6f 77 | ...........command="Browser:Show |
7aac0 | 41 6c 6c 48 69 73 74 6f 72 79 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d | AllHistory"/>.................<m |
7aae0 | 65 6e 75 73 65 70 61 72 61 74 6f 72 20 69 64 3d 22 73 74 61 72 74 48 69 73 74 6f 72 79 53 65 70 | enuseparator.id="startHistorySep |
7ab00 | 61 72 61 74 6f 72 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 73 | arator"/>.................<menus |
7ab20 | 65 70 61 72 61 74 6f 72 20 69 64 3d 22 65 6e 64 48 69 73 74 6f 72 79 53 65 70 61 72 61 74 6f 72 | eparator.id="endHistorySeparator |
7ab40 | 22 20 62 75 69 6c 64 65 72 3d 22 65 6e 64 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ".builder="end"/>............... |
7ab60 | 20 20 3c 6d 65 6e 75 20 69 64 3d 22 68 69 73 74 6f 72 79 55 6e 64 6f 4d 65 6e 75 22 20 6c 61 62 | ..<menu.id="historyUndoMenu".lab |
7ab80 | 65 6c 3d 22 26 68 69 73 74 6f 72 79 55 6e 64 6f 4d 65 6e 75 2e 6c 61 62 65 6c 3b 22 20 64 69 73 | el="&historyUndoMenu.label;".dis |
7aba0 | 61 62 6c 65 64 3d 22 74 72 75 65 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | abled="true">................... |
7abc0 | 3c 6d 65 6e 75 70 6f 70 75 70 20 69 64 3d 22 68 69 73 74 6f 72 79 55 6e 64 6f 50 6f 70 75 70 22 | <menupopup.id="historyUndoPopup" |
7abe0 | 20 6f 6e 70 6f 70 75 70 73 68 6f 77 69 6e 67 3d 22 48 69 73 74 6f 72 79 4d 65 6e 75 2e 70 6f 70 | .onpopupshowing="HistoryMenu.pop |
7ac00 | 75 6c 61 74 65 55 6e 64 6f 53 75 62 6d 65 6e 75 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 | ulateUndoSubmenu();"/>.......... |
7ac20 | 20 20 20 20 20 20 20 3c 2f 6d 65 6e 75 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c | .......</menu>.................< |
7ac40 | 6d 65 6e 75 20 69 64 3d 22 68 69 73 74 6f 72 79 55 6e 64 6f 57 69 6e 64 6f 77 4d 65 6e 75 22 0a | menu.id="historyUndoWindowMenu". |
7ac60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 68 69 | ......................label="&hi |
7ac80 | 73 74 6f 72 79 55 6e 64 6f 57 69 6e 64 6f 77 4d 65 6e 75 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 | storyUndoWindowMenu.label;"..... |
7aca0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 69 73 61 62 6c 65 64 3d 22 74 72 75 65 | ..................disabled="true |
7acc0 | 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 70 6f 70 75 70 20 | ">...................<menupopup. |
7ace0 | 69 64 3d 22 68 69 73 74 6f 72 79 55 6e 64 6f 57 69 6e 64 6f 77 50 6f 70 75 70 22 0a 20 20 20 20 | id="historyUndoWindowPopup"..... |
7ad00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 70 6f 70 75 70 | .........................onpopup |
7ad20 | 73 68 6f 77 69 6e 67 3d 22 48 69 73 74 6f 72 79 4d 65 6e 75 2e 70 6f 70 75 6c 61 74 65 55 6e 64 | showing="HistoryMenu.populateUnd |
7ad40 | 6f 57 69 6e 64 6f 77 53 75 62 6d 65 6e 75 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 | oWindowSubmenu();"/>............ |
7ad60 | 20 20 20 20 20 3c 2f 6d 65 6e 75 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 6d 65 6e | .....</menu>...............</men |
7ad80 | 75 70 6f 70 75 70 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 6d 65 6e 75 3e 0a 0a 20 20 3c | upopup>.............</menu>....< |
7ada0 | 6d 65 6e 75 20 69 64 3d 22 62 6f 6f 6b 6d 61 72 6b 73 4d 65 6e 75 22 20 0a 20 20 20 20 20 20 20 | menu.id="bookmarksMenu"......... |
7adc0 | 20 6c 61 62 65 6c 3d 22 26 62 6f 6f 6b 6d 61 72 6b 73 4d 65 6e 75 2e 6c 61 62 65 6c 3b 22 20 61 | .label="&bookmarksMenu.label;".a |
7ade0 | 63 63 65 73 73 6b 65 79 3d 22 26 62 6f 6f 6b 6d 61 72 6b 73 4d 65 6e 75 2e 61 63 63 65 73 73 6b | ccesskey="&bookmarksMenu.accessk |
7ae00 | 65 79 3b 22 0a 20 20 20 20 20 20 20 20 6f 6e 64 72 61 67 65 6e 74 65 72 3d 22 50 6c 61 63 65 73 | ey;".........ondragenter="Places |
7ae20 | 4d 65 6e 75 44 4e 44 43 6f 6e 74 72 6f 6c 6c 65 72 2e 6f 6e 42 6f 6f 6b 6d 61 72 6b 73 4d 65 6e | MenuDNDController.onBookmarksMen |
7ae40 | 75 44 72 61 67 45 6e 74 65 72 28 65 76 65 6e 74 29 3b 22 0a 20 20 20 20 20 20 20 20 6f 6e 64 72 | uDragEnter(event);".........ondr |
7ae60 | 6f 70 3d 22 6e 73 44 72 61 67 41 6e 64 44 72 6f 70 2e 64 72 6f 70 28 65 76 65 6e 74 2c 20 42 6f | op="nsDragAndDrop.drop(event,.Bo |
7ae80 | 6f 6b 6d 61 72 6b 73 4d 65 6e 75 44 72 6f 70 48 61 6e 64 6c 65 72 29 3b 22 0a 20 20 20 20 20 20 | okmarksMenuDropHandler);"....... |
7aea0 | 20 20 6f 6e 64 72 61 67 6f 76 65 72 3d 22 6e 73 44 72 61 67 41 6e 64 44 72 6f 70 2e 64 72 61 67 | ..ondragover="nsDragAndDrop.drag |
7aec0 | 4f 76 65 72 28 65 76 65 6e 74 2c 20 42 6f 6f 6b 6d 61 72 6b 73 4d 65 6e 75 44 72 6f 70 48 61 6e | Over(event,.BookmarksMenuDropHan |
7aee0 | 64 6c 65 72 29 3b 22 0a 20 20 20 20 20 20 20 20 6f 6e 64 72 61 67 65 78 69 74 3d 22 6e 73 44 72 | dler);".........ondragexit="nsDr |
7af00 | 61 67 41 6e 64 44 72 6f 70 2e 64 72 61 67 45 78 69 74 28 65 76 65 6e 74 2c 20 42 6f 6f 6b 6d 61 | agAndDrop.dragExit(event,.Bookma |
7af20 | 72 6b 73 4d 65 6e 75 44 72 6f 70 48 61 6e 64 6c 65 72 29 3b 22 3e 0a 20 20 20 20 3c 6d 65 6e 75 | rksMenuDropHandler);">.....<menu |
7af40 | 70 6f 70 75 70 20 69 64 3d 22 62 6f 6f 6b 6d 61 72 6b 73 4d 65 6e 75 50 6f 70 75 70 22 0a 20 20 | popup.id="bookmarksMenuPopup"... |
7af60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 74 79 70 65 3d 22 70 6c 61 63 65 73 22 0a 20 20 20 20 20 | .............type="places"...... |
7af80 | 20 20 20 20 20 20 20 20 20 20 70 6c 61 63 65 3d 22 70 6c 61 63 65 3a 66 6f 6c 64 65 72 3d 42 4f | ..........place="place:folder=BO |
7afa0 | 4f 4b 4d 41 52 4b 53 5f 4d 45 4e 55 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6e | OKMARKS_MENU"................con |
7afc0 | 74 65 78 74 3d 22 70 6c 61 63 65 73 43 6f 6e 74 65 78 74 22 0a 20 20 20 20 20 20 20 20 20 20 20 | text="placesContext"............ |
7afe0 | 20 20 20 20 6f 70 65 6e 49 6e 54 61 62 73 3d 22 63 68 69 6c 64 72 65 6e 22 0a 20 20 20 20 20 20 | ....openInTabs="children"....... |
7b000 | 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 42 6f 6f 6b 6d 61 72 6b 73 45 76 65 | .........oncommand="BookmarksEve |
7b020 | 6e 74 48 61 6e 64 6c 65 72 2e 6f 6e 43 6f 6d 6d 61 6e 64 28 65 76 65 6e 74 29 3b 22 0a 20 20 20 | ntHandler.onCommand(event);".... |
7b040 | 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6c 69 63 6b 3d 22 42 6f 6f 6b 6d 61 72 6b 73 45 76 | ............onclick="BookmarksEv |
7b060 | 65 6e 74 48 61 6e 64 6c 65 72 2e 6f 6e 43 6c 69 63 6b 28 65 76 65 6e 74 29 3b 22 0a 20 20 20 20 | entHandler.onClick(event);"..... |
7b080 | 20 20 20 20 20 20 20 20 20 20 20 6f 6e 70 6f 70 75 70 73 68 6f 77 69 6e 67 3d 22 42 6f 6f 6b 6d | ...........onpopupshowing="Bookm |
7b0a0 | 61 72 6b 73 45 76 65 6e 74 48 61 6e 64 6c 65 72 2e 6f 6e 50 6f 70 75 70 53 68 6f 77 69 6e 67 28 | arksEventHandler.onPopupShowing( |
7b0c0 | 65 76 65 6e 74 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 6f 6f 6c 74 69 70 3d | event);"................tooltip= |
7b0e0 | 22 62 74 54 6f 6f 6c 74 69 70 22 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 6c 61 62 | "btTooltip">.......<menuitem.lab |
7b100 | 65 6c 3d 22 26 62 6f 6f 6b 6d 61 72 6b 54 68 69 73 50 61 67 65 43 6d 64 2e 6c 61 62 65 6c 3b 22 | el="&bookmarkThisPageCmd.label;" |
7b120 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 64 3d 22 6d 65 6e 75 5f 62 6f 6f 6b 6d 61 | .................id="menu_bookma |
7b140 | 72 6b 54 68 69 73 50 61 67 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6d 6d | rkThisPage".................comm |
7b160 | 61 6e 64 3d 22 42 72 6f 77 73 65 72 3a 41 64 64 42 6f 6f 6b 6d 61 72 6b 41 73 22 20 6b 65 79 3d | and="Browser:AddBookmarkAs".key= |
7b180 | 22 61 64 64 42 6f 6f 6b 6d 61 72 6b 41 73 4b 62 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 69 | "addBookmarkAsKb"/>.......<menui |
7b1a0 | 74 65 6d 20 69 64 3d 22 73 75 62 73 63 72 69 62 65 54 6f 50 61 67 65 4d 65 6e 75 69 74 65 6d 22 | tem.id="subscribeToPageMenuitem" |
7b1c0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 73 75 62 73 63 72 69 | .................label="&subscri |
7b1e0 | 62 65 54 6f 50 61 67 65 4d 65 6e 75 69 74 65 6d 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 | beToPageMenuitem.label;"........ |
7b200 | 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 72 65 74 75 72 6e 20 46 65 65 64 48 | .........oncommand="return.FeedH |
7b220 | 61 6e 64 6c 65 72 2e 73 75 62 73 63 72 69 62 65 54 6f 46 65 65 64 28 6e 75 6c 6c 2c 20 65 76 65 | andler.subscribeToFeed(null,.eve |
7b240 | 6e 74 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6c 69 63 6b 3d 22 63 | nt);".................onclick="c |
7b260 | 68 65 63 6b 46 6f 72 4d 69 64 64 6c 65 43 6c 69 63 6b 28 74 68 69 73 2c 20 65 76 65 6e 74 29 3b | heckForMiddleClick(this,.event); |
7b280 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 69 73 61 62 6c 65 64 3d 22 74 72 75 65 | ".................disabled="true |
7b2a0 | 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 20 69 64 3d 22 73 75 62 73 63 72 69 62 65 54 6f 50 | "/>.......<menu.id="subscribeToP |
7b2c0 | 61 67 65 4d 65 6e 75 70 6f 70 75 70 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d | ageMenupopup".............label= |
7b2e0 | 22 26 73 75 62 73 63 72 69 62 65 54 6f 50 61 67 65 4d 65 6e 75 70 6f 70 75 70 2e 6c 61 62 65 6c | "&subscribeToPageMenupopup.label |
7b300 | 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 68 69 64 64 65 6e 3d 22 74 72 75 65 22 3e 0a 20 20 | ;".............hidden="true">... |
7b320 | 20 20 20 20 20 20 3c 6d 65 6e 75 70 6f 70 75 70 20 69 64 3d 22 73 75 62 73 63 72 69 62 65 54 6f | ......<menupopup.id="subscribeTo |
7b340 | 50 61 67 65 53 75 62 6d 65 6e 75 4d 65 6e 75 70 6f 70 75 70 22 20 0a 20 20 20 20 20 20 20 20 20 | PageSubmenuMenupopup"........... |
7b360 | 20 20 20 20 20 20 20 20 20 20 6f 6e 70 6f 70 75 70 73 68 6f 77 69 6e 67 3d 22 72 65 74 75 72 6e | ..........onpopupshowing="return |
7b380 | 20 46 65 65 64 48 61 6e 64 6c 65 72 2e 62 75 69 6c 64 46 65 65 64 4c 69 73 74 28 65 76 65 6e 74 | .FeedHandler.buildFeedList(event |
7b3a0 | 2e 74 61 72 67 65 74 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e | .target);"....................on |
7b3c0 | 63 6f 6d 6d 61 6e 64 3d 22 72 65 74 75 72 6e 20 46 65 65 64 48 61 6e 64 6c 65 72 2e 73 75 62 73 | command="return.FeedHandler.subs |
7b3e0 | 63 72 69 62 65 54 6f 46 65 65 64 28 6e 75 6c 6c 2c 20 65 76 65 6e 74 29 3b 22 0a 20 20 20 20 20 | cribeToFeed(null,.event);"...... |
7b400 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6c 69 63 6b 3d 22 63 68 65 63 6b 46 6f 72 4d | ..............onclick="checkForM |
7b420 | 69 64 64 6c 65 43 6c 69 63 6b 28 74 68 69 73 2c 20 65 76 65 6e 74 29 3b 22 2f 3e 0a 20 20 20 20 | iddleClick(this,.event);"/>..... |
7b440 | 20 20 3c 2f 6d 65 6e 75 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 6c 61 62 65 6c 3d | ..</menu>.......<menuitem.label= |
7b460 | 22 26 61 64 64 43 75 72 50 61 67 65 73 43 6d 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 | "&addCurPagesCmd.label;"........ |
7b480 | 20 20 20 20 20 20 20 20 20 69 64 3d 22 6d 65 6e 75 5f 62 6f 6f 6b 6d 61 72 6b 41 6c 6c 54 61 62 | .........id="menu_bookmarkAllTab |
7b4a0 | 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 42 72 6f 77 | s".................command="Brow |
7b4c0 | 73 65 72 3a 42 6f 6f 6b 6d 61 72 6b 41 6c 6c 54 61 62 73 22 20 6b 65 79 3d 22 62 6f 6f 6b 6d 61 | ser:BookmarkAllTabs".key="bookma |
7b4e0 | 72 6b 41 6c 6c 54 61 62 73 4b 62 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 | rkAllTabsKb"/>.......<menuitem.i |
7b500 | 64 3d 22 62 6f 6f 6b 6d 61 72 6b 73 53 68 6f 77 41 6c 6c 22 0a 20 20 20 20 20 20 20 20 20 20 20 | d="bookmarksShowAll"............ |
7b520 | 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 6f 72 67 61 6e 69 7a 65 42 6f 6f 6b 6d 61 72 6b 73 2e 6c | .....label="&organizeBookmarks.l |
7b540 | 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 | abel;".................command=" |
7b560 | 42 72 6f 77 73 65 72 3a 53 68 6f 77 41 6c 6c 42 6f 6f 6b 6d 61 72 6b 73 22 0a 20 20 20 20 20 20 | Browser:ShowAllBookmarks"....... |
7b580 | 20 20 20 20 20 20 20 20 20 20 6b 65 79 3d 22 6d 61 6e 42 6f 6f 6b 6d 61 72 6b 4b 62 22 2f 3e 0a | ..........key="manBookmarkKb"/>. |
7b5a0 | 20 20 20 20 20 20 3c 6d 65 6e 75 73 65 70 61 72 61 74 6f 72 20 69 64 3d 22 6f 72 67 61 6e 69 7a | ......<menuseparator.id="organiz |
7b5c0 | 65 42 6f 6f 6b 6d 61 72 6b 73 53 65 70 61 72 61 74 6f 72 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 | eBookmarksSeparator"/>.......<me |
7b5e0 | 6e 75 20 69 64 3d 22 62 6f 6f 6b 6d 61 72 6b 73 54 6f 6f 6c 62 61 72 46 6f 6c 64 65 72 4d 65 6e | nu.id="bookmarksToolbarFolderMen |
7b600 | 75 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 63 6c 61 73 73 3d 22 6d 65 6e 75 2d 69 63 6f 6e 69 | u".............class="menu-iconi |
7b620 | 63 20 62 6f 6f 6b 6d 61 72 6b 2d 69 74 65 6d 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 | c.bookmark-item".............lab |
7b640 | 65 6c 3d 22 26 70 65 72 73 6f 6e 61 6c 62 61 72 43 6d 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 | el="&personalbarCmd.label;"..... |
7b660 | 20 20 20 20 20 20 20 20 63 6f 6e 74 61 69 6e 65 72 3d 22 74 72 75 65 22 3e 0a 20 20 20 20 20 20 | ........container="true">....... |
7b680 | 20 20 3c 6d 65 6e 75 70 6f 70 75 70 20 69 64 3d 22 62 6f 6f 6b 6d 61 72 6b 73 54 6f 6f 6c 62 61 | ..<menupopup.id="bookmarksToolba |
7b6a0 | 72 46 6f 6c 64 65 72 50 6f 70 75 70 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | rFolderPopup"................... |
7b6c0 | 20 74 79 70 65 3d 22 70 6c 61 63 65 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .type="places".................. |
7b6e0 | 20 20 70 6c 61 63 65 3d 22 70 6c 61 63 65 3a 66 6f 6c 64 65 72 3d 54 4f 4f 4c 42 41 52 22 0a 20 | ..place="place:folder=TOOLBAR".. |
7b700 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6e 74 65 78 74 3d 22 70 6c 61 63 65 | ..................context="place |
7b720 | 73 43 6f 6e 74 65 78 74 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 70 | sContext"....................onp |
7b740 | 6f 70 75 70 73 68 6f 77 69 6e 67 3d 22 42 6f 6f 6b 6d 61 72 6b 73 45 76 65 6e 74 48 61 6e 64 6c | opupshowing="BookmarksEventHandl |
7b760 | 65 72 2e 6f 6e 50 6f 70 75 70 53 68 6f 77 69 6e 67 28 65 76 65 6e 74 29 3b 22 2f 3e 0a 20 20 20 | er.onPopupShowing(event);"/>.... |
7b780 | 20 20 20 3c 2f 6d 65 6e 75 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 73 65 70 61 72 61 74 6f 72 2f | ...</menu>.......<menuseparator/ |
7b7a0 | 3e 0a 20 20 20 20 3c 2f 6d 65 6e 75 70 6f 70 75 70 3e 0a 20 20 3c 2f 6d 65 6e 75 3e 0a 0a 20 20 | >.....</menupopup>...</menu>.... |
7b7c0 | 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 20 69 64 3d 22 74 6f 6f 6c 73 2d 6d 65 6e 75 22 20 | ..........<menu.id="tools-menu". |
7b7e0 | 6c 61 62 65 6c 3d 22 26 74 6f 6f 6c 73 4d 65 6e 75 2e 6c 61 62 65 6c 3b 22 20 61 63 63 65 73 73 | label="&toolsMenu.label;".access |
7b800 | 6b 65 79 3d 22 26 74 6f 6f 6c 73 4d 65 6e 75 2e 61 63 63 65 73 73 6b 65 79 3b 22 3e 0a 20 20 20 | key="&toolsMenu.accesskey;">.... |
7b820 | 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 70 6f 70 75 70 20 69 64 3d 22 6d 65 6e 75 5f 54 | ...........<menupopup.id="menu_T |
7b840 | 6f 6f 6c 73 50 6f 70 75 70 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 | oolsPopup">...............<menui |
7b860 | 74 65 6d 20 6c 61 62 65 6c 3d 22 26 73 65 61 72 63 68 2e 6c 61 62 65 6c 3b 22 20 61 63 63 65 73 | tem.label="&search.label;".acces |
7b880 | 73 6b 65 79 3d 22 26 73 65 61 72 63 68 2e 61 63 63 65 73 73 6b 65 79 3b 22 20 0a 20 20 20 20 20 | skey="&search.accesskey;"....... |
7b8a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 64 3d 22 6d 65 6e 75 5f 73 65 61 72 | ...................id="menu_sear |
7b8c0 | 63 68 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6b 65 79 3d | ch".........................key= |
7b8e0 | 22 6b 65 79 5f 73 65 61 72 63 68 22 20 63 6f 6d 6d 61 6e 64 3d 22 54 6f 6f 6c 73 3a 53 65 61 72 | "key_search".command="Tools:Sear |
7b900 | 63 68 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 73 65 70 61 72 61 74 | ch"/>...............<menuseparat |
7b920 | 6f 72 20 69 64 3d 22 62 72 6f 77 73 65 72 54 6f 6f 6c 73 53 65 70 61 72 61 74 6f 72 22 2f 3e 0a | or.id="browserToolsSeparator"/>. |
7b940 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 6d 65 6e 75 | ..............<menuitem.id="menu |
7b960 | 5f 6f 70 65 6e 44 6f 77 6e 6c 6f 61 64 73 22 20 6c 61 62 65 6c 3d 22 26 64 6f 77 6e 6c 6f 61 64 | _openDownloads".label="&download |
7b980 | 73 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | s.label;"....................... |
7b9a0 | 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 64 6f 77 6e 6c 6f 61 64 73 2e 61 63 63 65 73 73 6b 65 | ..accesskey="&downloads.accesske |
7b9c0 | 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6b 65 79 3d | y;".........................key= |
7b9e0 | 22 6b 65 79 5f 6f 70 65 6e 44 6f 77 6e 6c 6f 61 64 73 22 20 63 6f 6d 6d 61 6e 64 3d 22 54 6f 6f | "key_openDownloads".command="Too |
7ba00 | 6c 73 3a 44 6f 77 6e 6c 6f 61 64 73 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d | ls:Downloads"/>...............<m |
7ba20 | 65 6e 75 69 74 65 6d 20 69 64 3d 22 6d 65 6e 75 5f 6f 70 65 6e 41 64 64 6f 6e 73 22 20 6c 61 62 | enuitem.id="menu_openAddons".lab |
7ba40 | 65 6c 3d 22 26 61 64 64 6f 6e 73 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 | el="&addons.label;"............. |
7ba60 | 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 61 64 64 6f 6e 73 2e 61 | ............accesskey="&addons.a |
7ba80 | 63 63 65 73 73 6b 65 79 3b 22 20 63 6f 6d 6d 61 6e 64 3d 22 54 6f 6f 6c 73 3a 41 64 64 6f 6e 73 | ccesskey;".command="Tools:Addons |
7baa0 | 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 73 65 70 61 72 61 74 6f 72 | "/>...............<menuseparator |
7bac0 | 20 69 64 3d 22 64 65 76 54 6f 6f 6c 73 53 65 70 61 72 61 74 6f 72 22 2f 3e 0a 20 20 20 20 20 20 | .id="devToolsSeparator"/>....... |
7bae0 | 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 6a 61 76 61 73 63 72 69 70 74 | ........<menuitem.id="javascript |
7bb00 | 43 6f 6e 73 6f 6c 65 22 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | Console"........................ |
7bb20 | 20 20 6c 61 62 65 6c 3d 22 26 65 72 72 6f 72 43 6f 6e 73 6f 6c 65 43 6d 64 2e 6c 61 62 65 6c 3b | ..label="&errorConsoleCmd.label; |
7bb40 | 22 20 61 63 63 65 73 73 6b 65 79 3d 22 26 65 72 72 6f 72 43 6f 6e 73 6f 6c 65 43 6d 64 2e 61 63 | ".accesskey="&errorConsoleCmd.ac |
7bb60 | 63 65 73 73 6b 65 79 3b 22 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | cesskey;"....................... |
7bb80 | 20 20 20 6b 65 79 3d 22 6b 65 79 5f 65 72 72 6f 72 43 6f 6e 73 6f 6c 65 22 20 6f 6e 63 6f 6d 6d | ...key="key_errorConsole".oncomm |
7bba0 | 61 6e 64 3d 22 74 6f 4a 61 76 61 53 63 72 69 70 74 43 6f 6e 73 6f 6c 65 28 29 3b 22 2f 3e 0a 20 | and="toJavaScriptConsole();"/>.. |
7bbc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 61 63 63 65 73 73 6b 65 79 | .............<menuitem.accesskey |
7bbe0 | 3d 22 26 70 61 67 65 49 6e 66 6f 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 20 6c 61 62 65 6c | ="&pageInfoCmd.accesskey;".label |
7bc00 | 3d 22 26 70 61 67 65 49 6e 66 6f 43 6d 64 2e 6c 61 62 65 6c 3b 22 20 20 20 0a 20 20 20 20 20 20 | ="&pageInfoCmd.label;".......... |
7bc20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 64 3d 22 6d 65 6e 75 5f 70 61 67 65 49 | ..................id="menu_pageI |
7bc40 | 6e 66 6f 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6b 65 79 | nfo".........................key |
7bc60 | 3d 22 6b 65 79 5f 76 69 65 77 49 6e 66 6f 22 20 63 6f 6d 6d 61 6e 64 3d 22 56 69 65 77 3a 50 61 | ="key_viewInfo".command="View:Pa |
7bc80 | 67 65 49 6e 66 6f 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 73 65 70 | geInfo"/>...............<menusep |
7bca0 | 61 72 61 74 6f 72 20 69 64 3d 22 73 61 6e 69 74 69 7a 65 53 65 70 61 72 61 74 6f 72 22 2f 3e 0a | arator.id="sanitizeSeparator"/>. |
7bcc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 70 72 69 76 | ..............<menuitem.id="priv |
7bce0 | 61 74 65 42 72 6f 77 73 69 6e 67 49 74 65 6d 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ateBrowsingItem"................ |
7bd00 | 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 70 72 69 76 61 74 65 42 72 6f 77 73 69 6e 67 | .........label="&privateBrowsing |
7bd20 | 43 6d 64 2e 73 74 61 72 74 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | Cmd.start.label;"............... |
7bd40 | 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 70 72 69 76 61 74 65 42 72 6f | ..........accesskey="&privateBro |
7bd60 | 77 73 69 6e 67 43 6d 64 2e 73 74 61 72 74 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 | wsingCmd.start.accesskey;"...... |
7bd80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 74 61 72 74 6c 61 62 65 6c 3d 22 26 | ...................startlabel="& |
7bda0 | 70 72 69 76 61 74 65 42 72 6f 77 73 69 6e 67 43 6d 64 2e 73 74 61 72 74 2e 6c 61 62 65 6c 3b 22 | privateBrowsingCmd.start.label;" |
7bdc0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 74 61 72 74 61 63 | .........................startac |
7bde0 | 63 65 73 73 6b 65 79 3d 22 26 70 72 69 76 61 74 65 42 72 6f 77 73 69 6e 67 43 6d 64 2e 73 74 61 | cesskey="&privateBrowsingCmd.sta |
7be00 | 72 74 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | rt.accesskey;".................. |
7be20 | 20 20 20 20 20 20 20 73 74 6f 70 6c 61 62 65 6c 3d 22 26 70 72 69 76 61 74 65 42 72 6f 77 73 69 | .......stoplabel="&privateBrowsi |
7be40 | 6e 67 43 6d 64 2e 73 74 6f 70 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ngCmd.stop.label;".............. |
7be60 | 20 20 20 20 20 20 20 20 20 20 20 73 74 6f 70 61 63 63 65 73 73 6b 65 79 3d 22 26 70 72 69 76 61 | ...........stopaccesskey="&priva |
7be80 | 74 65 42 72 6f 77 73 69 6e 67 43 6d 64 2e 73 74 6f 70 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 | teBrowsingCmd.stop.accesskey;".. |
7bea0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6b 65 79 3d 22 6b 65 79 5f | .......................key="key_ |
7bec0 | 70 72 69 76 61 74 65 62 72 6f 77 73 69 6e 67 22 20 63 6f 6d 6d 61 6e 64 3d 22 54 6f 6f 6c 73 3a | privatebrowsing".command="Tools: |
7bee0 | 50 72 69 76 61 74 65 42 72 6f 77 73 69 6e 67 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | PrivateBrowsing"/>.............. |
7bf00 | 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 73 61 6e 69 74 69 7a 65 49 74 65 6d 22 0a 20 20 20 | .<menuitem.id="sanitizeItem".... |
7bf20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 | .....................accesskey=" |
7bf40 | 26 63 6c 65 61 72 52 65 63 65 6e 74 48 69 73 74 6f 72 79 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 | &clearRecentHistoryCmd.accesskey |
7bf60 | 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c | ;".........................label |
7bf80 | 3d 22 26 63 6c 65 61 72 52 65 63 65 6e 74 48 69 73 74 6f 72 79 43 6d 64 2e 6c 61 62 65 6c 3b 22 | ="&clearRecentHistoryCmd.label;" |
7bfa0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6b 65 79 3d 22 6b 65 | .........................key="ke |
7bfc0 | 79 5f 73 61 6e 69 74 69 7a 65 22 20 63 6f 6d 6d 61 6e 64 3d 22 54 6f 6f 6c 73 3a 53 61 6e 69 74 | y_sanitize".command="Tools:Sanit |
7bfe0 | 69 7a 65 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 6d 65 6e 75 70 6f 70 75 70 | ize"/>...............</menupopup |
7c000 | 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 6d 65 6e 75 3e 0a 20 20 20 20 0a 20 20 20 20 20 | >.............</menu>........... |
7c020 | 20 20 20 20 20 3c 6d 65 6e 75 20 69 64 3d 22 68 65 6c 70 4d 65 6e 75 22 20 2f 3e 0a 20 20 20 20 | .....<menu.id="helpMenu"./>..... |
7c040 | 20 20 20 20 3c 2f 6d 65 6e 75 62 61 72 3e 0a 20 20 20 20 20 20 3c 2f 74 6f 6f 6c 62 61 72 69 74 | ....</menubar>.......</toolbarit |
7c060 | 65 6d 3e 0a 20 20 20 20 3c 2f 74 6f 6f 6c 62 61 72 3e 0a 0a 20 20 20 20 3c 74 6f 6f 6c 62 61 72 | em>.....</toolbar>......<toolbar |
7c080 | 70 61 6c 65 74 74 65 20 69 64 3d 22 42 72 6f 77 73 65 72 54 6f 6f 6c 62 61 72 50 61 6c 65 74 74 | palette.id="BrowserToolbarPalett |
7c0a0 | 65 22 3e 0a 0a 20 20 20 20 20 20 3c 74 6f 6f 6c 62 61 72 69 74 65 6d 20 69 64 3d 22 75 6e 69 66 | e">........<toolbaritem.id="unif |
7c0c0 | 69 65 64 2d 62 61 63 6b 2d 66 6f 72 77 61 72 64 2d 62 75 74 74 6f 6e 22 20 63 6c 61 73 73 3d 22 | ied-back-forward-button".class=" |
7c0e0 | 63 68 72 6f 6d 65 63 6c 61 73 73 2d 74 6f 6f 6c 62 61 72 2d 61 64 64 69 74 69 6f 6e 61 6c 22 0a | chromeclass-toolbar-additional". |
7c100 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6e 74 65 78 74 3d 22 62 61 63 6b | ...................context="back |
7c120 | 46 6f 72 77 61 72 64 4d 65 6e 75 22 3e 0a 20 20 20 20 20 20 20 20 3c 74 6f 6f 6c 62 61 72 62 75 | ForwardMenu">.........<toolbarbu |
7c140 | 74 74 6f 6e 20 69 64 3d 22 62 61 63 6b 2d 62 75 74 74 6f 6e 22 20 63 6c 61 73 73 3d 22 74 6f 6f | tton.id="back-button".class="too |
7c160 | 6c 62 61 72 62 75 74 74 6f 6e 2d 31 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | lbarbutton-1"................... |
7c180 | 20 20 20 20 20 63 68 72 6f 6d 65 64 69 72 3d 22 26 6c 6f 63 61 6c 65 2e 64 69 72 3b 22 0a 20 20 | .....chromedir="&locale.dir;"... |
7c1a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 62 61 63 | .....................label="&bac |
7c1c0 | 6b 43 6d 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | kCmd.label;".................... |
7c1e0 | 20 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 42 72 6f 77 73 65 72 3a 42 61 63 6b 4f 72 42 61 63 6b 44 | ....command="Browser:BackOrBackD |
7c200 | 75 70 6c 69 63 61 74 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | uplicate"....................... |
7c220 | 20 6f 6e 63 6c 69 63 6b 3d 22 63 68 65 63 6b 46 6f 72 4d 69 64 64 6c 65 43 6c 69 63 6b 28 74 68 | .onclick="checkForMiddleClick(th |
7c240 | 69 73 2c 20 65 76 65 6e 74 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | is,.event);".................... |
7c260 | 20 20 20 20 74 6f 6f 6c 74 69 70 74 65 78 74 3d 22 26 62 61 63 6b 42 75 74 74 6f 6e 2e 74 6f 6f | ....tooltiptext="&backButton.too |
7c280 | 6c 74 69 70 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 74 6f 6f 6c 62 61 72 62 75 74 74 6f 6e 20 | ltip;"/>.........<toolbarbutton. |
7c2a0 | 69 64 3d 22 66 6f 72 77 61 72 64 2d 62 75 74 74 6f 6e 22 20 63 6c 61 73 73 3d 22 74 6f 6f 6c 62 | id="forward-button".class="toolb |
7c2c0 | 61 72 62 75 74 74 6f 6e 2d 31 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | arbutton-1"..................... |
7c2e0 | 20 20 20 63 68 72 6f 6d 65 64 69 72 3d 22 26 6c 6f 63 61 6c 65 2e 64 69 72 3b 22 0a 20 20 20 20 | ...chromedir="&locale.dir;"..... |
7c300 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 66 6f 72 77 61 | ...................label="&forwa |
7c320 | 72 64 43 6d 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | rdCmd.label;"................... |
7c340 | 20 20 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 42 72 6f 77 73 65 72 3a 46 6f 72 77 61 72 64 4f 72 46 | .....command="Browser:ForwardOrF |
7c360 | 6f 72 77 61 72 64 44 75 70 6c 69 63 61 74 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | orwardDuplicate"................ |
7c380 | 20 20 20 20 20 20 20 20 6f 6e 63 6c 69 63 6b 3d 22 63 68 65 63 6b 46 6f 72 4d 69 64 64 6c 65 43 | ........onclick="checkForMiddleC |
7c3a0 | 6c 69 63 6b 28 74 68 69 73 2c 20 65 76 65 6e 74 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 | lick(this,.event);"............. |
7c3c0 | 20 20 20 20 20 20 20 20 20 20 20 74 6f 6f 6c 74 69 70 74 65 78 74 3d 22 26 66 6f 72 77 61 72 64 | ...........tooltiptext="&forward |
7c3e0 | 42 75 74 74 6f 6e 2e 74 6f 6f 6c 74 69 70 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 74 6f 6f 6c | Button.tooltip;"/>.........<tool |
7c400 | 62 61 72 62 75 74 74 6f 6e 20 69 64 3d 22 62 61 63 6b 2d 66 6f 72 77 61 72 64 2d 64 72 6f 70 6d | barbutton.id="back-forward-dropm |
7c420 | 61 72 6b 65 72 22 20 74 79 70 65 3d 22 6d 65 6e 75 22 20 63 68 72 6f 6d 65 64 69 72 3d 22 26 6c | arker".type="menu".chromedir="&l |
7c440 | 6f 63 61 6c 65 2e 64 69 72 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ocale.dir;"..................... |
7c460 | 20 20 20 64 69 73 61 62 6c 65 64 3d 22 74 72 75 65 22 20 74 6f 6f 6c 74 69 70 74 65 78 74 3d 22 | ...disabled="true".tooltiptext=" |
7c480 | 26 62 61 63 6b 46 6f 72 77 61 72 64 4d 65 6e 75 2e 74 6f 6f 6c 74 69 70 3b 22 0a 20 20 20 20 20 | &backForwardMenu.tooltip;"...... |
7c4a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 62 72 6f 61 64 63 61 73 74 3d 22 69 | ..................onbroadcast="i |
7c4c0 | 66 20 28 74 68 69 73 2e 64 69 73 61 62 6c 65 64 29 20 74 68 69 73 2e 64 69 73 61 62 6c 65 64 20 | f.(this.disabled).this.disabled. |
7c4e0 | 3d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | =............................... |
7c500 | 20 20 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 | ........document.getElementById( |
7c520 | 27 42 72 6f 77 73 65 72 3a 42 61 63 6b 27 29 2e 68 61 73 41 74 74 72 69 62 75 74 65 28 27 64 69 | 'Browser:Back').hasAttribute('di |
7c540 | 73 61 62 6c 65 64 27 29 20 26 61 6d 70 3b 26 61 6d 70 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 | sabled').&&............. |
7c560 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 6f 63 75 6d 65 | ..........................docume |
7c580 | 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 27 42 72 6f 77 73 65 72 3a 46 6f 72 77 61 | nt.getElementById('Browser:Forwa |
7c5a0 | 72 64 27 29 2e 68 61 73 41 74 74 72 69 62 75 74 65 28 27 64 69 73 61 62 6c 65 64 27 29 3b 22 3e | rd').hasAttribute('disabled');"> |
7c5c0 | 0a 20 20 20 20 20 20 20 20 20 20 3c 21 2d 2d 20 62 75 67 20 34 31 35 34 34 34 3a 20 65 76 65 6e | ...........<!--.bug.415444:.even |
7c5e0 | 74 2e 73 74 6f 70 50 72 6f 70 61 67 61 74 69 6f 6e 20 69 73 20 68 65 72 65 20 66 6f 72 20 74 68 | t.stopPropagation.is.here.for.th |
7c600 | 65 20 63 6c 6f 6e 65 64 20 76 65 72 73 69 6f 6e 20 6f 66 0a 20 20 20 20 20 20 20 20 20 20 20 20 | e.cloned.version.of............. |
7c620 | 20 20 20 74 68 69 73 20 6d 65 6e 75 70 6f 70 75 70 20 2d 2d 3e 0a 20 20 20 20 20 20 20 20 20 20 | ...this.menupopup.-->........... |
7c640 | 3c 6d 65 6e 75 70 6f 70 75 70 20 63 6f 6e 74 65 78 74 3d 22 22 0a 20 20 20 20 20 20 20 20 20 20 | <menupopup.context=""........... |
7c660 | 20 20 20 20 20 20 20 20 20 20 20 63 68 72 6f 6d 65 64 69 72 3d 22 26 6c 6f 63 61 6c 65 2e 64 69 | ...........chromedir="&locale.di |
7c680 | 72 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 6f 73 69 74 69 6f | r;"......................positio |
7c6a0 | 6e 3d 22 61 66 74 65 72 5f 73 74 61 72 74 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | n="after_start"................. |
7c6c0 | 20 20 20 20 20 6f 6e 70 6f 70 75 70 73 68 6f 77 69 6e 67 3d 22 72 65 74 75 72 6e 20 46 69 6c 6c | .....onpopupshowing="return.Fill |
7c6e0 | 48 69 73 74 6f 72 79 4d 65 6e 75 28 65 76 65 6e 74 2e 74 61 72 67 65 74 29 3b 22 0a 20 20 20 20 | HistoryMenu(event.target);"..... |
7c700 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 6f 74 6f | .................oncommand="goto |
7c720 | 48 69 73 74 6f 72 79 49 6e 64 65 78 28 65 76 65 6e 74 29 3b 20 65 76 65 6e 74 2e 73 74 6f 70 50 | HistoryIndex(event);.event.stopP |
7c740 | 72 6f 70 61 67 61 74 69 6f 6e 28 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ropagation();".................. |
7c760 | 20 20 20 20 6f 6e 63 6c 69 63 6b 3d 22 63 68 65 63 6b 46 6f 72 4d 69 64 64 6c 65 43 6c 69 63 6b | ....onclick="checkForMiddleClick |
7c780 | 28 74 68 69 73 2c 20 65 76 65 6e 74 29 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 6f 62 73 | (this,.event);"/>...........<obs |
7c7a0 | 65 72 76 65 73 20 65 6c 65 6d 65 6e 74 3d 22 42 72 6f 77 73 65 72 3a 42 61 63 6b 22 20 61 74 74 | erves.element="Browser:Back".att |
7c7c0 | 72 69 62 75 74 65 3d 22 64 69 73 61 62 6c 65 64 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 6f | ribute="disabled"/>...........<o |
7c7e0 | 62 73 65 72 76 65 73 20 65 6c 65 6d 65 6e 74 3d 22 42 72 6f 77 73 65 72 3a 46 6f 72 77 61 72 64 | bserves.element="Browser:Forward |
7c800 | 22 20 61 74 74 72 69 62 75 74 65 3d 22 64 69 73 61 62 6c 65 64 22 2f 3e 0a 20 20 20 20 20 20 20 | ".attribute="disabled"/>........ |
7c820 | 20 3c 2f 74 6f 6f 6c 62 61 72 62 75 74 74 6f 6e 3e 0a 20 20 20 20 20 20 3c 2f 74 6f 6f 6c 62 61 | .</toolbarbutton>.......</toolba |
7c840 | 72 69 74 65 6d 3e 0a 0a 20 20 20 20 20 20 3c 74 6f 6f 6c 62 61 72 62 75 74 74 6f 6e 20 69 64 3d | ritem>........<toolbarbutton.id= |
7c860 | 22 72 65 6c 6f 61 64 2d 62 75 74 74 6f 6e 22 20 63 6c 61 73 73 3d 22 74 6f 6f 6c 62 61 72 62 75 | "reload-button".class="toolbarbu |
7c880 | 74 74 6f 6e 2d 31 20 63 68 72 6f 6d 65 63 6c 61 73 73 2d 74 6f 6f 6c 62 61 72 2d 61 64 64 69 74 | tton-1.chromeclass-toolbar-addit |
7c8a0 | 69 6f 6e 61 6c 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 | ional"......................labe |
7c8c0 | 6c 3d 22 26 72 65 6c 6f 61 64 43 6d 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 | l="&reloadCmd.label;"........... |
7c8e0 | 20 20 20 20 20 20 20 20 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 42 72 6f 77 73 65 72 3a 52 65 6c 6f | ...........command="Browser:Relo |
7c900 | 61 64 4f 72 44 75 70 6c 69 63 61 74 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | adOrDuplicate".................. |
7c920 | 20 20 20 20 6f 6e 63 6c 69 63 6b 3d 22 63 68 65 63 6b 46 6f 72 4d 69 64 64 6c 65 43 6c 69 63 6b | ....onclick="checkForMiddleClick |
7c940 | 28 74 68 69 73 2c 20 65 76 65 6e 74 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | (this,.event);"................. |
7c960 | 20 20 20 20 20 74 6f 6f 6c 74 69 70 74 65 78 74 3d 22 26 72 65 6c 6f 61 64 42 75 74 74 6f 6e 2e | .....tooltiptext="&reloadButton. |
7c980 | 74 6f 6f 6c 74 69 70 3b 22 2f 3e 0a 0a 20 20 20 20 20 20 3c 74 6f 6f 6c 62 61 72 62 75 74 74 6f | tooltip;"/>........<toolbarbutto |
7c9a0 | 6e 20 69 64 3d 22 73 74 6f 70 2d 62 75 74 74 6f 6e 22 20 63 6c 61 73 73 3d 22 74 6f 6f 6c 62 61 | n.id="stop-button".class="toolba |
7c9c0 | 72 62 75 74 74 6f 6e 2d 31 20 63 68 72 6f 6d 65 63 6c 61 73 73 2d 74 6f 6f 6c 62 61 72 2d 61 64 | rbutton-1.chromeclass-toolbar-ad |
7c9e0 | 64 69 74 69 6f 6e 61 6c 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c | ditional"......................l |
7ca00 | 61 62 65 6c 3d 22 26 73 74 6f 70 43 6d 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 | abel="&stopCmd.label;".......... |
7ca20 | 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 42 72 6f 77 73 65 72 3a 53 74 6f | ............command="Browser:Sto |
7ca40 | 70 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 6f 6f 6c 74 69 70 74 | p"......................tooltipt |
7ca60 | 65 78 74 3d 22 26 73 74 6f 70 42 75 74 74 6f 6e 2e 74 6f 6f 6c 74 69 70 3b 22 2f 3e 0a 0a 20 20 | ext="&stopButton.tooltip;"/>.... |
7ca80 | 20 20 20 20 3c 74 6f 6f 6c 62 61 72 62 75 74 74 6f 6e 20 69 64 3d 22 68 6f 6d 65 2d 62 75 74 74 | ....<toolbarbutton.id="home-butt |
7caa0 | 6f 6e 22 20 63 6c 61 73 73 3d 22 74 6f 6f 6c 62 61 72 62 75 74 74 6f 6e 2d 31 20 63 68 72 6f 6d | on".class="toolbarbutton-1.chrom |
7cac0 | 65 63 6c 61 73 73 2d 74 6f 6f 6c 62 61 72 2d 61 64 64 69 74 69 6f 6e 61 6c 22 0a 20 20 20 20 20 | eclass-toolbar-additional"...... |
7cae0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 65 72 73 69 73 74 3d 22 63 6c 61 73 73 22 0a | ................persist="class". |
7cb00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 68 6f 6d | .....................label="&hom |
7cb20 | 65 42 75 74 74 6f 6e 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | eButton.label;"................. |
7cb40 | 20 20 20 20 20 6f 6e 64 72 61 67 6f 76 65 72 3d 22 6e 73 44 72 61 67 41 6e 64 44 72 6f 70 2e 64 | .....ondragover="nsDragAndDrop.d |
7cb60 | 72 61 67 4f 76 65 72 28 65 76 65 6e 74 2c 20 68 6f 6d 65 42 75 74 74 6f 6e 4f 62 73 65 72 76 65 | ragOver(event,.homeButtonObserve |
7cb80 | 72 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 64 72 61 67 | r);"......................ondrag |
7cba0 | 64 72 6f 70 3d 22 6e 73 44 72 61 67 41 6e 64 44 72 6f 70 2e 64 72 6f 70 28 65 76 65 6e 74 2c 20 | drop="nsDragAndDrop.drop(event,. |
7cbc0 | 68 6f 6d 65 42 75 74 74 6f 6e 4f 62 73 65 72 76 65 72 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 | homeButtonObserver);"........... |
7cbe0 | 20 20 20 20 20 20 20 20 20 20 20 6f 6e 64 72 61 67 65 78 69 74 3d 22 6e 73 44 72 61 67 41 6e 64 | ...........ondragexit="nsDragAnd |
7cc00 | 44 72 6f 70 2e 64 72 61 67 45 78 69 74 28 65 76 65 6e 74 2c 20 68 6f 6d 65 42 75 74 74 6f 6e 4f | Drop.dragExit(event,.homeButtonO |
7cc20 | 62 73 65 72 76 65 72 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | bserver);"...................... |
7cc40 | 6f 6e 63 6c 69 63 6b 3d 22 42 72 6f 77 73 65 72 47 6f 48 6f 6d 65 28 65 76 65 6e 74 29 3b 22 2f | onclick="BrowserGoHome(event);"/ |
7cc60 | 3e 0a 0a 20 20 20 20 20 20 3c 74 6f 6f 6c 62 61 72 69 74 65 6d 20 69 64 3d 22 75 72 6c 62 61 72 | >........<toolbaritem.id="urlbar |
7cc80 | 2d 63 6f 6e 74 61 69 6e 65 72 22 20 61 6c 69 67 6e 3d 22 63 65 6e 74 65 72 22 20 66 6c 65 78 3d | -container".align="center".flex= |
7cca0 | 22 34 30 30 22 20 70 65 72 73 69 73 74 3d 22 77 69 64 74 68 22 0a 20 20 20 20 20 20 20 20 20 20 | "400".persist="width"........... |
7ccc0 | 20 20 20 20 20 20 20 20 20 74 69 74 6c 65 3d 22 26 6c 6f 63 61 74 69 6f 6e 49 74 65 6d 2e 74 69 | .........title="&locationItem.ti |
7cce0 | 74 6c 65 3b 22 20 63 6c 61 73 73 3d 22 63 68 72 6f 6d 65 63 6c 61 73 73 2d 6c 6f 63 61 74 69 6f | tle;".class="chromeclass-locatio |
7cd00 | 6e 22 3e 0a 20 20 20 20 20 20 20 20 3c 74 65 78 74 62 6f 78 20 69 64 3d 22 75 72 6c 62 61 72 22 | n">.........<textbox.id="urlbar" |
7cd20 | 20 66 6c 65 78 3d 22 31 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 6f 6f 6b 6d | .flex="1"..................bookm |
7cd40 | 61 72 6b 68 69 73 74 6f 72 79 65 6d 70 74 79 74 65 78 74 3d 22 26 75 72 6c 62 61 72 2e 62 6f 6f | arkhistoryemptytext="&urlbar.boo |
7cd60 | 6b 6d 61 72 6b 68 69 73 74 6f 72 79 2e 65 6d 70 74 79 54 65 78 74 3b 22 0a 20 20 20 20 20 20 20 | kmarkhistory.emptyText;"........ |
7cd80 | 20 20 20 20 20 20 20 20 20 20 62 6f 6f 6b 6d 61 72 6b 65 6d 70 74 79 74 65 78 74 3d 22 26 75 72 | ..........bookmarkemptytext="&ur |
7cda0 | 6c 62 61 72 2e 62 6f 6f 6b 6d 61 72 6b 2e 65 6d 70 74 79 54 65 78 74 3b 22 0a 20 20 20 20 20 20 | lbar.bookmark.emptyText;"....... |
7cdc0 | 20 20 20 20 20 20 20 20 20 20 20 68 69 73 74 6f 72 79 65 6d 70 74 79 74 65 78 74 3d 22 26 75 72 | ...........historyemptytext="&ur |
7cde0 | 6c 62 61 72 2e 68 69 73 74 6f 72 79 2e 65 6d 70 74 79 54 65 78 74 3b 22 0a 20 20 20 20 20 20 20 | lbar.history.emptyText;"........ |
7ce00 | 20 20 20 20 20 20 20 20 20 20 6e 6f 6e 65 65 6d 70 74 79 74 65 78 74 3d 22 26 75 72 6c 62 61 72 | ..........noneemptytext="&urlbar |
7ce20 | 2e 6e 6f 6e 65 2e 65 6d 70 74 79 54 65 78 74 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .none.emptyText;"............... |
7ce40 | 20 20 20 63 68 72 6f 6d 65 64 69 72 3d 22 26 6c 6f 63 61 6c 65 2e 64 69 72 3b 22 0a 20 20 20 20 | ...chromedir="&locale.dir;"..... |
7ce60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 74 79 70 65 3d 22 61 75 74 6f 63 6f 6d 70 6c 65 74 65 22 | .............type="autocomplete" |
7ce80 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 75 74 6f 63 6f 6d 70 6c 65 74 65 73 65 | ..................autocompletese |
7cea0 | 61 72 63 68 3d 22 68 69 73 74 6f 72 79 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | arch="history".................. |
7cec0 | 61 75 74 6f 63 6f 6d 70 6c 65 74 65 70 6f 70 75 70 3d 22 50 6f 70 75 70 41 75 74 6f 43 6f 6d 70 | autocompletepopup="PopupAutoComp |
7cee0 | 6c 65 74 65 52 69 63 68 52 65 73 75 6c 74 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | leteRichResult"................. |
7cf00 | 20 63 6f 6d 70 6c 65 74 65 73 65 6c 65 63 74 65 64 69 6e 64 65 78 3d 22 74 72 75 65 22 0a 20 20 | .completeselectedindex="true"... |
7cf20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 61 62 73 63 72 6f 6c 6c 69 6e 67 3d 22 74 72 75 | ...............tabscrolling="tru |
7cf40 | 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 68 6f 77 63 6f 6d 6d 65 6e 74 63 | e"..................showcommentc |
7cf60 | 6f 6c 75 6d 6e 3d 22 74 72 75 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 68 | olumn="true"..................sh |
7cf80 | 6f 77 69 6d 61 67 65 63 6f 6c 75 6d 6e 3d 22 74 72 75 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 | owimagecolumn="true"............ |
7cfa0 | 20 20 20 20 20 20 65 6e 61 62 6c 65 68 69 73 74 6f 72 79 3d 22 74 72 75 65 22 0a 20 20 20 20 20 | ......enablehistory="true"...... |
7cfc0 | 20 20 20 20 20 20 20 20 20 20 20 20 6d 61 78 72 6f 77 73 3d 22 36 22 0a 20 20 20 20 20 20 20 20 | ............maxrows="6"......... |
7cfe0 | 20 20 20 20 20 20 20 20 20 6e 65 77 6c 69 6e 65 73 3d 22 73 74 72 69 70 73 75 72 72 6f 75 6e 64 | .........newlines="stripsurround |
7d000 | 69 6e 67 77 68 69 74 65 73 70 61 63 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ingwhitespace".................. |
7d020 | 6f 6e 69 6e 70 75 74 3d 22 67 42 72 6f 77 73 65 72 2e 75 73 65 72 54 79 70 65 64 56 61 6c 75 65 | oninput="gBrowser.userTypedValue |
7d040 | 20 3d 20 74 68 69 73 2e 76 61 6c 75 65 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .=.this.value;"................. |
7d060 | 20 6f 6e 74 65 78 74 65 6e 74 65 72 65 64 3d 22 74 68 69 73 2e 68 61 6e 64 6c 65 43 6f 6d 6d 61 | .ontextentered="this.handleComma |
7d080 | 6e 64 28 70 61 72 61 6d 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 74 | nd(param);"..................ont |
7d0a0 | 65 78 74 72 65 76 65 72 74 65 64 3d 22 72 65 74 75 72 6e 20 74 68 69 73 2e 68 61 6e 64 6c 65 52 | extreverted="return.this.handleR |
7d0c0 | 65 76 65 72 74 28 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 61 67 65 70 | evert();"..................pagep |
7d0e0 | 72 6f 78 79 73 74 61 74 65 3d 22 69 6e 76 61 6c 69 64 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 | roxystate="invalid"............. |
7d100 | 20 20 20 20 20 6f 6e 73 65 61 72 63 68 62 65 67 69 6e 3d 22 4c 6f 63 61 74 69 6f 6e 42 61 72 48 | .....onsearchbegin="LocationBarH |
7d120 | 65 6c 70 65 72 73 2e 5f 73 65 61 72 63 68 42 65 67 69 6e 28 29 3b 22 0a 20 20 20 20 20 20 20 20 | elpers._searchBegin();"......... |
7d140 | 20 20 20 20 20 20 20 20 20 6f 6e 73 65 61 72 63 68 63 6f 6d 70 6c 65 74 65 3d 22 4c 6f 63 61 74 | .........onsearchcomplete="Locat |
7d160 | 69 6f 6e 42 61 72 48 65 6c 70 65 72 73 2e 5f 73 65 61 72 63 68 43 6f 6d 70 6c 65 74 65 28 29 3b | ionBarHelpers._searchComplete(); |
7d180 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 66 6f 63 75 73 3d 22 64 6f 63 75 | "..................onfocus="docu |
7d1a0 | 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 27 69 64 65 6e 74 69 74 79 2d 62 6f | ment.getElementById('identity-bo |
7d1c0 | 78 27 29 2e 73 74 79 6c 65 2e 4d 6f 7a 55 73 65 72 46 6f 63 75 73 3d 20 27 6e 6f 72 6d 61 6c 27 | x').style.MozUserFocus=.'normal' |
7d1e0 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 62 6c 75 72 3d 22 64 6f 63 75 6d | "..................onblur="docum |
7d200 | 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 27 69 64 65 6e 74 69 74 79 2d 62 6f 78 | ent.getElementById('identity-box |
7d220 | 27 29 2e 73 74 79 6c 65 2e 4d 6f 7a 55 73 65 72 46 6f 63 75 73 20 3d 20 27 69 67 6e 6f 72 65 27 | ').style.MozUserFocus.=.'ignore' |
7d240 | 3b 22 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 21 2d 2d 20 55 73 65 20 6f 6e 63 6c 69 63 6b 20 69 | ;">...........<!--.Use.onclick.i |
7d260 | 6e 73 74 65 61 64 20 6f 66 20 6e 6f 72 6d 61 6c 20 70 6f 70 75 70 3d 20 73 79 6e 74 61 78 20 73 | nstead.of.normal.popup=.syntax.s |
7d280 | 69 6e 63 65 20 74 68 65 20 70 6f 70 75 70 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f | ince.the.popup................co |
7d2a0 | 64 65 20 66 69 72 65 73 20 6f 6e 6d 6f 75 73 65 64 6f 77 6e 2c 20 61 6e 64 20 68 65 6e 63 65 20 | de.fires.onmousedown,.and.hence. |
7d2c0 | 65 61 74 73 20 6f 75 72 20 66 61 76 69 63 6f 6e 20 64 72 61 67 20 65 76 65 6e 74 73 2e 0a 20 20 | eats.our.favicon.drag.events.... |
7d2e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 57 65 20 6f 6e 6c 79 20 61 64 64 20 74 68 65 20 69 64 65 | .............We.only.add.the.ide |
7d300 | 6e 74 69 74 79 2d 62 6f 78 20 62 75 74 74 6f 6e 20 74 6f 20 74 68 65 20 74 61 62 20 6f 72 64 65 | ntity-box.button.to.the.tab.orde |
7d320 | 72 20 77 68 65 6e 20 74 68 65 20 6c 6f 63 61 74 69 6f 6e 20 62 61 72 0a 20 20 20 20 20 20 20 20 | r.when.the.location.bar......... |
7d340 | 20 20 20 20 20 20 20 68 61 73 20 66 6f 63 75 73 2c 20 6f 74 68 65 72 77 69 73 65 20 70 72 65 73 | .......has.focus,.otherwise.pres |
7d360 | 73 69 6e 67 20 46 36 20 66 6f 63 75 73 65 73 20 69 74 20 69 6e 73 74 65 61 64 20 6f 66 20 74 68 | sing.F6.focuses.it.instead.of.th |
7d380 | 65 20 6c 6f 63 61 74 69 6f 6e 20 62 61 72 20 2d 2d 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 62 6f | e.location.bar.-->...........<bo |
7d3a0 | 78 20 69 64 3d 22 69 64 65 6e 74 69 74 79 2d 62 6f 78 22 20 72 6f 6c 65 3d 22 62 75 74 74 6f 6e | x.id="identity-box".role="button |
7d3c0 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 68 72 6f 6d 65 64 69 72 3d 22 26 6c 6f 63 | "................chromedir="&loc |
7d3e0 | 61 6c 65 2e 64 69 72 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6c 69 63 6b | ale.dir;"................onclick |
7d400 | 3d 22 67 49 64 65 6e 74 69 74 79 48 61 6e 64 6c 65 72 2e 68 61 6e 64 6c 65 49 64 65 6e 74 69 74 | ="gIdentityHandler.handleIdentit |
7d420 | 79 42 75 74 74 6f 6e 45 76 65 6e 74 28 65 76 65 6e 74 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 | yButtonEvent(event);"........... |
7d440 | 20 20 20 20 20 6f 6e 6b 65 79 70 72 65 73 73 3d 22 67 49 64 65 6e 74 69 74 79 48 61 6e 64 6c 65 | .....onkeypress="gIdentityHandle |
7d460 | 72 2e 68 61 6e 64 6c 65 49 64 65 6e 74 69 74 79 42 75 74 74 6f 6e 45 76 65 6e 74 28 65 76 65 6e | r.handleIdentityButtonEvent(even |
7d480 | 74 29 3b 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 68 62 6f 78 20 61 6c 69 67 6e 3d 22 63 | t);">.............<hbox.align="c |
7d4a0 | 65 6e 74 65 72 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 73 74 61 63 6b 20 69 64 3d | enter">...............<stack.id= |
7d4c0 | 22 70 61 67 65 2d 70 72 6f 78 79 2d 73 74 61 63 6b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | "page-proxy-stack".............. |
7d4e0 | 20 20 20 20 20 20 20 20 6f 6e 63 6c 69 63 6b 3d 22 50 61 67 65 50 72 6f 78 79 43 6c 69 63 6b 48 | ........onclick="PageProxyClickH |
7d500 | 61 6e 64 6c 65 72 28 65 76 65 6e 74 29 3b 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | andler(event);">................ |
7d520 | 20 3c 69 6d 61 67 65 20 69 64 3d 22 75 72 6c 62 61 72 2d 74 68 72 6f 62 62 65 72 22 20 62 75 73 | .<image.id="urlbar-throbber".bus |
7d540 | 79 3d 22 66 61 6c 73 65 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 69 6d 61 | y="false"/>.................<ima |
7d560 | 67 65 20 69 64 3d 22 70 61 67 65 2d 70 72 6f 78 79 2d 66 61 76 69 63 6f 6e 22 20 76 61 6c 69 64 | ge.id="page-proxy-favicon".valid |
7d580 | 61 74 65 3d 22 6e 65 76 65 72 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ate="never"..................... |
7d5a0 | 20 20 20 70 61 67 65 70 72 6f 78 79 73 74 61 74 65 3d 22 69 6e 76 61 6c 69 64 22 0a 20 20 20 20 | ...pageproxystate="invalid"..... |
7d5c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 64 72 61 67 67 65 73 74 75 72 65 | ...................ondraggesture |
7d5e0 | 3d 22 50 61 67 65 50 72 6f 78 79 44 72 61 67 47 65 73 74 75 72 65 28 65 76 65 6e 74 29 3b 22 0a | ="PageProxyDragGesture(event);". |
7d600 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 65 72 72 6f 72 3d 22 | .......................onerror=" |
7d620 | 74 68 69 73 2e 72 65 6d 6f 76 65 41 74 74 72 69 62 75 74 65 28 27 73 72 63 27 29 3b 22 2f 3e 0a | this.removeAttribute('src');"/>. |
7d640 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 73 74 61 63 6b 3e 0a 20 20 20 20 20 20 20 20 20 | ..............</stack>.......... |
7d660 | 20 20 20 20 20 3c 6c 61 62 65 6c 20 69 64 3d 22 69 64 65 6e 74 69 74 79 2d 69 63 6f 6e 2d 6c 61 | .....<label.id="identity-icon-la |
7d680 | 62 65 6c 22 20 63 72 6f 70 3d 22 63 65 6e 74 65 72 22 20 66 6c 65 78 3d 22 31 22 2f 3e 0a 20 20 | bel".crop="center".flex="1"/>... |
7d6a0 | 20 20 20 20 20 20 20 20 20 20 3c 2f 68 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 2f 62 6f | ..........</hbox>...........</bo |
7d6c0 | 78 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 68 62 6f 78 20 69 64 3d 22 75 72 6c 62 61 72 2d 69 63 | x>...........<hbox.id="urlbar-ic |
7d6e0 | 6f 6e 73 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 62 75 74 74 6f 6e 20 74 79 70 65 3d 22 | ons">.............<button.type=" |
7d700 | 6d 65 6e 75 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 74 79 6c 65 3d | menu".....................style= |
7d720 | 22 2d 6d 6f 7a 2d 75 73 65 72 2d 66 6f 63 75 73 3a 20 6e 6f 6e 65 22 0a 20 20 20 20 20 20 20 20 | "-moz-user-focus:.none"......... |
7d740 | 20 20 20 20 20 20 20 20 20 20 20 20 63 6c 61 73 73 3d 22 70 6c 61 69 6e 20 75 72 6c 62 61 72 2d | ............class="plain.urlbar- |
7d760 | 69 63 6f 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 64 3d 22 66 65 | icon".....................id="fe |
7d780 | 65 64 2d 62 75 74 74 6f 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 | ed-button".....................c |
7d7a0 | 68 72 6f 6d 65 64 69 72 3d 22 26 6c 6f 63 61 6c 65 2e 64 69 72 3b 22 0a 20 20 20 20 20 20 20 20 | hromedir="&locale.dir;"......... |
7d7c0 | 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6c 69 63 6b 3d 22 72 65 74 75 72 6e 20 46 65 65 64 | ............onclick="return.Feed |
7d7e0 | 48 61 6e 64 6c 65 72 2e 6f 6e 46 65 65 64 42 75 74 74 6f 6e 43 6c 69 63 6b 28 65 76 65 6e 74 29 | Handler.onFeedButtonClick(event) |
7d800 | 3b 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 70 6f 70 75 70 20 70 6f 73 | ;">...............<menupopup.pos |
7d820 | 69 74 69 6f 6e 3d 22 61 66 74 65 72 5f 65 6e 64 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ition="after_end"............... |
7d840 | 20 20 20 20 20 20 20 20 20 20 20 6f 6e 70 6f 70 75 70 73 68 6f 77 69 6e 67 3d 22 72 65 74 75 72 | ...........onpopupshowing="retur |
7d860 | 6e 20 46 65 65 64 48 61 6e 64 6c 65 72 2e 62 75 69 6c 64 46 65 65 64 4c 69 73 74 28 74 68 69 73 | n.FeedHandler.buildFeedList(this |
7d880 | 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 | );"..........................onc |
7d8a0 | 6f 6d 6d 61 6e 64 3d 22 72 65 74 75 72 6e 20 46 65 65 64 48 61 6e 64 6c 65 72 2e 73 75 62 73 63 | ommand="return.FeedHandler.subsc |
7d8c0 | 72 69 62 65 54 6f 46 65 65 64 28 6e 75 6c 6c 2c 20 65 76 65 6e 74 29 3b 22 0a 20 20 20 20 20 20 | ribeToFeed(null,.event);"....... |
7d8e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6c 69 63 6b 3d 22 63 68 65 63 | ...................onclick="chec |
7d900 | 6b 46 6f 72 4d 69 64 64 6c 65 43 6c 69 63 6b 28 74 68 69 73 2c 20 65 76 65 6e 74 29 3b 22 2f 3e | kForMiddleClick(this,.event);"/> |
7d920 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 62 75 74 74 6f 6e 3e 0a 20 20 20 20 20 20 20 20 20 | .............</button>.......... |
7d940 | 20 20 20 3c 69 6d 61 67 65 20 69 64 3d 22 73 74 61 72 2d 62 75 74 74 6f 6e 22 0a 20 20 20 20 20 | ...<image.id="star-button"...... |
7d960 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6c 61 73 73 3d 22 75 72 6c 62 61 72 2d 69 63 6f 6e | ..............class="urlbar-icon |
7d980 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6c 69 63 6b 3d 22 50 6c | "....................onclick="Pl |
7d9a0 | 61 63 65 73 53 74 61 72 42 75 74 74 6f 6e 2e 6f 6e 43 6c 69 63 6b 28 65 76 65 6e 74 29 3b 22 2f | acesStarButton.onClick(event);"/ |
7d9c0 | 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 69 6d 61 67 65 20 69 64 3d 22 67 6f 2d 62 75 74 74 | >.............<image.id="go-butt |
7d9e0 | 6f 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 68 72 6f 6d 65 64 69 72 | on"....................chromedir |
7da00 | 3d 22 26 6c 6f 63 61 6c 65 2e 64 69 72 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ="&locale.dir;"................. |
7da20 | 20 20 20 63 6c 61 73 73 3d 22 75 72 6c 62 61 72 2d 69 63 6f 6e 22 0a 20 20 20 20 20 20 20 20 20 | ...class="urlbar-icon".......... |
7da40 | 20 20 20 20 20 20 20 20 20 20 74 6f 6f 6c 74 69 70 74 65 78 74 3d 22 26 67 6f 45 6e 64 43 61 70 | ..........tooltiptext="&goEndCap |
7da60 | 2e 74 6f 6f 6c 74 69 70 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e | .tooltip;"....................on |
7da80 | 63 6c 69 63 6b 3d 22 67 55 52 4c 42 61 72 2e 68 61 6e 64 6c 65 43 6f 6d 6d 61 6e 64 28 65 76 65 | click="gURLBar.handleCommand(eve |
7daa0 | 6e 74 29 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 2f 68 62 6f 78 3e 0a 20 20 20 20 20 20 | nt);"/>...........</hbox>....... |
7dac0 | 20 20 3c 2f 74 65 78 74 62 6f 78 3e 0a 20 20 20 20 20 20 3c 2f 74 6f 6f 6c 62 61 72 69 74 65 6d | ..</textbox>.......</toolbaritem |
7dae0 | 3e 0a 0a 20 20 20 20 20 20 3c 74 6f 6f 6c 62 61 72 69 74 65 6d 20 69 64 3d 22 73 65 61 72 63 68 | >........<toolbaritem.id="search |
7db00 | 2d 63 6f 6e 74 61 69 6e 65 72 22 20 74 69 74 6c 65 3d 22 26 73 65 61 72 63 68 49 74 65 6d 2e 74 | -container".title="&searchItem.t |
7db20 | 69 74 6c 65 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 6c 69 67 6e 3d | itle;"....................align= |
7db40 | 22 63 65 6e 74 65 72 22 20 63 6c 61 73 73 3d 22 63 68 72 6f 6d 65 63 6c 61 73 73 2d 74 6f 6f 6c | "center".class="chromeclass-tool |
7db60 | 62 61 72 2d 61 64 64 69 74 69 6f 6e 61 6c 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | bar-additional"................. |
7db80 | 20 20 20 66 6c 65 78 3d 22 31 30 30 22 20 70 65 72 73 69 73 74 3d 22 77 69 64 74 68 22 3e 0a 20 | ...flex="100".persist="width">.. |
7dba0 | 20 20 20 20 20 20 20 3c 73 65 61 72 63 68 62 61 72 20 69 64 3d 22 73 65 61 72 63 68 62 61 72 22 | .......<searchbar.id="searchbar" |
7dbc0 | 20 66 6c 65 78 3d 22 31 22 20 63 68 72 6f 6d 65 64 69 72 3d 22 26 6c 6f 63 61 6c 65 2e 64 69 72 | .flex="1".chromedir="&locale.dir |
7dbe0 | 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 2f 74 6f 6f 6c 62 61 72 69 74 65 6d 3e 0a 0a 20 20 20 20 20 | ;"/>.......</toolbaritem>....... |
7dc00 | 20 3c 74 6f 6f 6c 62 61 72 62 75 74 74 6f 6e 20 69 64 3d 22 70 72 69 6e 74 2d 62 75 74 74 6f 6e | .<toolbarbutton.id="print-button |
7dc20 | 22 20 63 6c 61 73 73 3d 22 74 6f 6f 6c 62 61 72 62 75 74 74 6f 6e 2d 31 20 63 68 72 6f 6d 65 63 | ".class="toolbarbutton-1.chromec |
7dc40 | 6c 61 73 73 2d 74 6f 6f 6c 62 61 72 2d 61 64 64 69 74 69 6f 6e 61 6c 22 0a 20 20 20 20 20 20 20 | lass-toolbar-additional"........ |
7dc60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 70 72 69 6e 74 42 75 74 74 6f | ..............label="&printButto |
7dc80 | 6e 2e 6c 61 62 65 6c 3b 22 20 63 6f 6d 6d 61 6e 64 3d 22 63 6d 64 5f 70 72 69 6e 74 22 0a 20 20 | n.label;".command="cmd_print"... |
7dca0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 6f 6f 6c 74 69 70 74 65 78 74 3d 22 | ...................tooltiptext=" |
7dcc0 | 26 70 72 69 6e 74 42 75 74 74 6f 6e 2e 74 6f 6f 6c 74 69 70 3b 22 2f 3e 0a 0a 20 20 20 20 20 20 | &printButton.tooltip;"/>........ |
7dce0 | 3c 74 6f 6f 6c 62 61 72 69 74 65 6d 20 69 64 3d 22 6e 61 76 69 67 61 74 6f 72 2d 74 68 72 6f 62 | <toolbaritem.id="navigator-throb |
7dd00 | 62 65 72 22 20 74 69 74 6c 65 3d 22 26 74 68 72 6f 62 62 65 72 49 74 65 6d 2e 74 69 74 6c 65 3b | ber".title="&throbberItem.title; |
7dd20 | 22 20 61 6c 69 67 6e 3d 22 63 65 6e 74 65 72 22 20 70 61 63 6b 3d 22 63 65 6e 74 65 72 22 0a 20 | ".align="center".pack="center".. |
7dd40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 6f 75 73 65 74 68 72 6f 75 67 68 3d 22 | ..................mousethrough=" |
7dd60 | 61 6c 77 61 79 73 22 3e 0a 20 20 20 20 20 20 20 20 3c 69 6d 61 67 65 2f 3e 0a 20 20 20 20 20 20 | always">.........<image/>....... |
7dd80 | 3c 2f 74 6f 6f 6c 62 61 72 69 74 65 6d 3e 0a 0a 20 20 20 20 20 20 3c 74 6f 6f 6c 62 61 72 69 74 | </toolbaritem>........<toolbarit |
7dda0 | 65 6d 20 66 6c 65 78 3d 22 31 22 20 69 64 3d 22 70 65 72 73 6f 6e 61 6c 2d 62 6f 6f 6b 6d 61 72 | em.flex="1".id="personal-bookmar |
7ddc0 | 6b 73 22 20 74 69 74 6c 65 3d 22 26 62 6f 6f 6b 6d 61 72 6b 73 49 74 65 6d 2e 74 69 74 6c 65 3b | ks".title="&bookmarksItem.title; |
7dde0 | 22 3e 0a 20 20 20 20 20 20 20 20 20 3c 68 62 6f 78 20 69 64 3d 22 62 6f 6f 6b 6d 61 72 6b 73 42 | ">..........<hbox.id="bookmarksB |
7de00 | 61 72 43 6f 6e 74 65 6e 74 22 20 66 6c 65 78 3d 22 31 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 | arContent".flex="1"............. |
7de20 | 20 20 20 74 79 70 65 3d 22 70 6c 61 63 65 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ...type="places"................ |
7de40 | 70 6c 61 63 65 3d 22 70 6c 61 63 65 3a 66 6f 6c 64 65 72 3d 54 4f 4f 4c 42 41 52 22 0a 20 20 20 | place="place:folder=TOOLBAR".... |
7de60 | 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6e 74 65 78 74 3d 22 70 6c 61 63 65 73 43 6f 6e 74 65 | ............context="placesConte |
7de80 | 78 74 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6c 69 63 6b 3d 22 42 6f 6f 6b | xt"................onclick="Book |
7dea0 | 6d 61 72 6b 73 45 76 65 6e 74 48 61 6e 64 6c 65 72 2e 6f 6e 43 6c 69 63 6b 28 65 76 65 6e 74 29 | marksEventHandler.onClick(event) |
7dec0 | 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 42 6f 6f | ;"................oncommand="Boo |
7dee0 | 6b 6d 61 72 6b 73 45 76 65 6e 74 48 61 6e 64 6c 65 72 2e 6f 6e 43 6f 6d 6d 61 6e 64 28 65 76 65 | kmarksEventHandler.onCommand(eve |
7df00 | 6e 74 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 70 6f 70 75 70 73 68 6f 77 | nt);"................onpopupshow |
7df20 | 69 6e 67 3d 22 42 6f 6f 6b 6d 61 72 6b 73 45 76 65 6e 74 48 61 6e 64 6c 65 72 2e 6f 6e 50 6f 70 | ing="BookmarksEventHandler.onPop |
7df40 | 75 70 53 68 6f 77 69 6e 67 28 65 76 65 6e 74 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | upShowing(event);".............. |
7df60 | 20 20 74 6f 6f 6c 74 69 70 3d 22 62 74 54 6f 6f 6c 74 69 70 22 2f 3e 0a 20 20 20 20 20 20 3c 2f | ..tooltip="btTooltip"/>.......</ |
7df80 | 74 6f 6f 6c 62 61 72 69 74 65 6d 3e 0a 0a 20 20 20 20 20 20 20 20 3c 74 6f 6f 6c 62 61 72 62 75 | toolbaritem>..........<toolbarbu |
7dfa0 | 74 74 6f 6e 20 69 64 3d 22 64 6f 77 6e 6c 6f 61 64 73 2d 62 75 74 74 6f 6e 22 20 63 6c 61 73 73 | tton.id="downloads-button".class |
7dfc0 | 3d 22 74 6f 6f 6c 62 61 72 62 75 74 74 6f 6e 2d 31 20 63 68 72 6f 6d 65 63 6c 61 73 73 2d 74 6f | ="toolbarbutton-1.chromeclass-to |
7dfe0 | 6f 6c 62 61 72 2d 61 64 64 69 74 69 6f 6e 61 6c 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | olbar-additional"............... |
7e000 | 20 20 20 20 20 20 20 20 20 6f 62 73 65 72 76 65 73 3d 22 54 6f 6f 6c 73 3a 44 6f 77 6e 6c 6f 61 | .........observes="Tools:Downloa |
7e020 | 64 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 64 72 61 | ds"........................ondra |
7e040 | 67 64 72 6f 70 3d 22 6e 73 44 72 61 67 41 6e 64 44 72 6f 70 2e 64 72 6f 70 28 65 76 65 6e 74 2c | gdrop="nsDragAndDrop.drop(event, |
7e060 | 20 44 6f 77 6e 6c 6f 61 64 73 42 75 74 74 6f 6e 44 4e 44 4f 62 73 65 72 76 65 72 29 3b 20 65 76 | .DownloadsButtonDNDObserver);.ev |
7e080 | 65 6e 74 2e 73 74 6f 70 50 72 6f 70 61 67 61 74 69 6f 6e 28 29 22 0a 20 20 20 20 20 20 20 20 20 | ent.stopPropagation()".......... |
7e0a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 64 72 61 67 6f 76 65 72 3d 22 6e 73 44 72 61 67 | ..............ondragover="nsDrag |
7e0c0 | 41 6e 64 44 72 6f 70 2e 64 72 61 67 4f 76 65 72 28 65 76 65 6e 74 2c 20 44 6f 77 6e 6c 6f 61 64 | AndDrop.dragOver(event,.Download |
7e0e0 | 73 42 75 74 74 6f 6e 44 4e 44 4f 62 73 65 72 76 65 72 29 3b 20 65 76 65 6e 74 2e 73 74 6f 70 50 | sButtonDNDObserver);.event.stopP |
7e100 | 72 6f 70 61 67 61 74 69 6f 6e 28 29 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ropagation()"................... |
7e120 | 20 20 20 20 20 6f 6e 64 72 61 67 65 6e 74 65 72 3d 22 6e 73 44 72 61 67 41 6e 64 44 72 6f 70 2e | .....ondragenter="nsDragAndDrop. |
7e140 | 64 72 61 67 45 6e 74 65 72 28 65 76 65 6e 74 2c 20 44 6f 77 6e 6c 6f 61 64 73 42 75 74 74 6f 6e | dragEnter(event,.DownloadsButton |
7e160 | 44 4e 44 4f 62 73 65 72 76 65 72 29 3b 20 65 76 65 6e 74 2e 73 74 6f 70 50 72 6f 70 61 67 61 74 | DNDObserver);.event.stopPropagat |
7e180 | 69 6f 6e 28 29 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e | ion()"........................on |
7e1a0 | 64 72 61 67 65 78 69 74 3d 22 6e 73 44 72 61 67 41 6e 64 44 72 6f 70 2e 64 72 61 67 45 78 69 74 | dragexit="nsDragAndDrop.dragExit |
7e1c0 | 28 65 76 65 6e 74 2c 20 44 6f 77 6e 6c 6f 61 64 73 42 75 74 74 6f 6e 44 4e 44 4f 62 73 65 72 76 | (event,.DownloadsButtonDNDObserv |
7e1e0 | 65 72 29 3b 20 65 76 65 6e 74 2e 73 74 6f 70 50 72 6f 70 61 67 61 74 69 6f 6e 28 29 22 0a 20 20 | er);.event.stopPropagation()"... |
7e200 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 64 6f 77 | .....................label="&dow |
7e220 | 6e 6c 6f 61 64 73 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | nloads.label;".................. |
7e240 | 20 20 20 20 20 20 74 6f 6f 6c 74 69 70 74 65 78 74 3d 22 26 64 6f 77 6e 6c 6f 61 64 73 2e 74 6f | ......tooltiptext="&downloads.to |
7e260 | 6f 6c 74 69 70 3b 22 2f 3e 0a 0a 20 20 20 20 20 20 20 20 3c 74 6f 6f 6c 62 61 72 62 75 74 74 6f | oltip;"/>..........<toolbarbutto |
7e280 | 6e 20 69 64 3d 22 68 69 73 74 6f 72 79 2d 62 75 74 74 6f 6e 22 20 63 6c 61 73 73 3d 22 74 6f 6f | n.id="history-button".class="too |
7e2a0 | 6c 62 61 72 62 75 74 74 6f 6e 2d 31 20 63 68 72 6f 6d 65 63 6c 61 73 73 2d 74 6f 6f 6c 62 61 72 | lbarbutton-1.chromeclass-toolbar |
7e2c0 | 2d 61 64 64 69 74 69 6f 6e 61 6c 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | -additional".................... |
7e2e0 | 20 20 20 20 6f 62 73 65 72 76 65 73 3d 22 76 69 65 77 48 69 73 74 6f 72 79 53 69 64 65 62 61 72 | ....observes="viewHistorySidebar |
7e300 | 22 20 6c 61 62 65 6c 3d 22 26 68 69 73 74 6f 72 79 42 75 74 74 6f 6e 2e 6c 61 62 65 6c 3b 22 0a | ".label="&historyButton.label;". |
7e320 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 6f 6f 6c 74 69 70 74 65 | .......................tooltipte |
7e340 | 78 74 3d 22 26 68 69 73 74 6f 72 79 42 75 74 74 6f 6e 2e 74 6f 6f 6c 74 69 70 3b 22 2f 3e 0a 0a | xt="&historyButton.tooltip;"/>.. |
7e360 | 20 20 20 20 20 20 20 20 3c 74 6f 6f 6c 62 61 72 62 75 74 74 6f 6e 20 69 64 3d 22 62 6f 6f 6b 6d | ........<toolbarbutton.id="bookm |
7e380 | 61 72 6b 73 2d 62 75 74 74 6f 6e 22 20 63 6c 61 73 73 3d 22 74 6f 6f 6c 62 61 72 62 75 74 74 6f | arks-button".class="toolbarbutto |
7e3a0 | 6e 2d 31 20 63 68 72 6f 6d 65 63 6c 61 73 73 2d 74 6f 6f 6c 62 61 72 2d 61 64 64 69 74 69 6f 6e | n-1.chromeclass-toolbar-addition |
7e3c0 | 61 6c 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 62 73 65 72 | al"........................obser |
7e3e0 | 76 65 73 3d 22 76 69 65 77 42 6f 6f 6b 6d 61 72 6b 73 53 69 64 65 62 61 72 22 0a 20 20 20 20 20 | ves="viewBookmarksSidebar"...... |
7e400 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 6f 6f 6c 74 69 70 74 65 78 74 3d 22 26 | ..................tooltiptext="& |
7e420 | 62 6f 6f 6b 6d 61 72 6b 73 42 75 74 74 6f 6e 2e 74 6f 6f 6c 74 69 70 3b 22 0a 20 20 20 20 20 20 | bookmarksButton.tooltip;"....... |
7e440 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 64 72 61 67 6f 76 65 72 3d 22 6e 73 44 | .................ondragover="nsD |
7e460 | 72 61 67 41 6e 64 44 72 6f 70 2e 64 72 61 67 4f 76 65 72 28 65 76 65 6e 74 2c 20 62 6f 6f 6b 6d | ragAndDrop.dragOver(event,.bookm |
7e480 | 61 72 6b 73 42 75 74 74 6f 6e 4f 62 73 65 72 76 65 72 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 | arksButtonObserver);"........... |
7e4a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 64 72 61 67 64 72 6f 70 3d 22 6e 73 44 72 61 67 41 | .............ondragdrop="nsDragA |
7e4c0 | 6e 64 44 72 6f 70 2e 64 72 6f 70 28 65 76 65 6e 74 2c 20 62 6f 6f 6b 6d 61 72 6b 73 42 75 74 74 | ndDrop.drop(event,.bookmarksButt |
7e4e0 | 6f 6e 4f 62 73 65 72 76 65 72 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | onObserver);"................... |
7e500 | 20 20 20 20 20 6f 6e 64 72 61 67 65 78 69 74 3d 22 6e 73 44 72 61 67 41 6e 64 44 72 6f 70 2e 64 | .....ondragexit="nsDragAndDrop.d |
7e520 | 72 61 67 45 78 69 74 28 65 76 65 6e 74 2c 20 62 6f 6f 6b 6d 61 72 6b 73 42 75 74 74 6f 6e 4f 62 | ragExit(event,.bookmarksButtonOb |
7e540 | 73 65 72 76 65 72 29 3b 22 2f 3e 0a 0a 20 20 20 20 20 20 20 20 3c 74 6f 6f 6c 62 61 72 62 75 74 | server);"/>..........<toolbarbut |
7e560 | 74 6f 6e 20 69 64 3d 22 6e 65 77 2d 74 61 62 2d 62 75 74 74 6f 6e 22 20 63 6c 61 73 73 3d 22 74 | ton.id="new-tab-button".class="t |
7e580 | 6f 6f 6c 62 61 72 62 75 74 74 6f 6e 2d 31 20 63 68 72 6f 6d 65 63 6c 61 73 73 2d 74 6f 6f 6c 62 | oolbarbutton-1.chromeclass-toolb |
7e5a0 | 61 72 2d 61 64 64 69 74 69 6f 6e 61 6c 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ar-additional".................. |
7e5c0 | 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 74 61 62 43 6d 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 | ......label="&tabCmd.label;".... |
7e5e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 63 6d 64 | ....................command="cmd |
7e600 | 5f 6e 65 77 4e 61 76 69 67 61 74 6f 72 54 61 62 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | _newNavigatorTab"............... |
7e620 | 20 20 20 20 20 20 20 20 20 6f 6e 64 72 61 67 6f 76 65 72 3d 22 6e 73 44 72 61 67 41 6e 64 44 72 | .........ondragover="nsDragAndDr |
7e640 | 6f 70 2e 64 72 61 67 4f 76 65 72 28 65 76 65 6e 74 2c 20 6e 65 77 54 61 62 42 75 74 74 6f 6e 4f | op.dragOver(event,.newTabButtonO |
7e660 | 62 73 65 72 76 65 72 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | bserver);"...................... |
7e680 | 20 20 6f 6e 64 72 61 67 64 72 6f 70 3d 22 6e 73 44 72 61 67 41 6e 64 44 72 6f 70 2e 64 72 6f 70 | ..ondragdrop="nsDragAndDrop.drop |
7e6a0 | 28 65 76 65 6e 74 2c 20 6e 65 77 54 61 62 42 75 74 74 6f 6e 4f 62 73 65 72 76 65 72 29 3b 22 0a | (event,.newTabButtonObserver);". |
7e6c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 64 72 61 67 65 78 69 | .......................ondragexi |
7e6e0 | 74 3d 22 6e 73 44 72 61 67 41 6e 64 44 72 6f 70 2e 64 72 61 67 45 78 69 74 28 65 76 65 6e 74 2c | t="nsDragAndDrop.dragExit(event, |
7e700 | 20 6e 65 77 54 61 62 42 75 74 74 6f 6e 4f 62 73 65 72 76 65 72 29 3b 22 2f 3e 0a 0a 20 20 20 20 | .newTabButtonObserver);"/>...... |
7e720 | 20 20 20 20 3c 74 6f 6f 6c 62 61 72 62 75 74 74 6f 6e 20 69 64 3d 22 6e 65 77 2d 77 69 6e 64 6f | ....<toolbarbutton.id="new-windo |
7e740 | 77 2d 62 75 74 74 6f 6e 22 20 63 6c 61 73 73 3d 22 74 6f 6f 6c 62 61 72 62 75 74 74 6f 6e 2d 31 | w-button".class="toolbarbutton-1 |
7e760 | 20 63 68 72 6f 6d 65 63 6c 61 73 73 2d 74 6f 6f 6c 62 61 72 2d 61 64 64 69 74 69 6f 6e 61 6c 22 | .chromeclass-toolbar-additional" |
7e780 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 | ........................label="& |
7e7a0 | 6e 65 77 4e 61 76 69 67 61 74 6f 72 43 6d 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 | newNavigatorCmd.label;"......... |
7e7c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 6b 65 79 5f 6e 65 77 4e | ...............command="key_newN |
7e7e0 | 61 76 69 67 61 74 6f 72 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | avigator"....................... |
7e800 | 20 74 6f 6f 6c 74 69 70 74 65 78 74 3d 22 26 6e 65 77 57 69 6e 64 6f 77 42 75 74 74 6f 6e 2e 74 | .tooltiptext="&newWindowButton.t |
7e820 | 6f 6f 6c 74 69 70 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ooltip;"........................ |
7e840 | 6f 6e 64 72 61 67 6f 76 65 72 3d 22 6e 73 44 72 61 67 41 6e 64 44 72 6f 70 2e 64 72 61 67 4f 76 | ondragover="nsDragAndDrop.dragOv |
7e860 | 65 72 28 65 76 65 6e 74 2c 20 6e 65 77 57 69 6e 64 6f 77 42 75 74 74 6f 6e 4f 62 73 65 72 76 65 | er(event,.newWindowButtonObserve |
7e880 | 72 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 64 72 | r);"........................ondr |
7e8a0 | 61 67 64 72 6f 70 3d 22 6e 73 44 72 61 67 41 6e 64 44 72 6f 70 2e 64 72 6f 70 28 65 76 65 6e 74 | agdrop="nsDragAndDrop.drop(event |
7e8c0 | 2c 20 6e 65 77 57 69 6e 64 6f 77 42 75 74 74 6f 6e 4f 62 73 65 72 76 65 72 29 3b 22 0a 20 20 20 | ,.newWindowButtonObserver);".... |
7e8e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 64 72 61 67 65 78 69 74 3d 22 | ....................ondragexit=" |
7e900 | 6e 73 44 72 61 67 41 6e 64 44 72 6f 70 2e 64 72 61 67 45 78 69 74 28 65 76 65 6e 74 2c 20 6e 65 | nsDragAndDrop.dragExit(event,.ne |
7e920 | 77 57 69 6e 64 6f 77 42 75 74 74 6f 6e 4f 62 73 65 72 76 65 72 29 3b 22 2f 3e 0a 0a 20 20 20 20 | wWindowButtonObserver);"/>...... |
7e940 | 20 20 20 20 3c 74 6f 6f 6c 62 61 72 62 75 74 74 6f 6e 20 69 64 3d 22 63 75 74 2d 62 75 74 74 6f | ....<toolbarbutton.id="cut-butto |
7e960 | 6e 22 20 63 6c 61 73 73 3d 22 74 6f 6f 6c 62 61 72 62 75 74 74 6f 6e 2d 31 20 63 68 72 6f 6d 65 | n".class="toolbarbutton-1.chrome |
7e980 | 63 6c 61 73 73 2d 74 6f 6f 6c 62 61 72 2d 61 64 64 69 74 69 6f 6e 61 6c 22 0a 20 20 20 20 20 20 | class-toolbar-additional"....... |
7e9a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 63 75 74 43 6d 64 2e | .................label="&cutCmd. |
7e9c0 | 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 | label;"........................c |
7e9e0 | 6f 6d 6d 61 6e 64 3d 22 63 6d 64 5f 63 75 74 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ommand="cmd_cut"................ |
7ea00 | 20 20 20 20 20 20 20 20 74 6f 6f 6c 74 69 70 74 65 78 74 3d 22 26 63 75 74 42 75 74 74 6f 6e 2e | ........tooltiptext="&cutButton. |
7ea20 | 74 6f 6f 6c 74 69 70 3b 22 2f 3e 0a 0a 20 20 20 20 20 20 20 20 3c 74 6f 6f 6c 62 61 72 62 75 74 | tooltip;"/>..........<toolbarbut |
7ea40 | 74 6f 6e 20 69 64 3d 22 63 6f 70 79 2d 62 75 74 74 6f 6e 22 20 63 6c 61 73 73 3d 22 74 6f 6f 6c | ton.id="copy-button".class="tool |
7ea60 | 62 61 72 62 75 74 74 6f 6e 2d 31 20 63 68 72 6f 6d 65 63 6c 61 73 73 2d 74 6f 6f 6c 62 61 72 2d | barbutton-1.chromeclass-toolbar- |
7ea80 | 61 64 64 69 74 69 6f 6e 61 6c 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | additional"..................... |
7eaa0 | 20 20 20 6c 61 62 65 6c 3d 22 26 63 6f 70 79 43 6d 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 | ...label="©Cmd.label;"...... |
7eac0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 63 6d 64 5f 63 | ..................command="cmd_c |
7eae0 | 6f 70 79 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 6f 6f 6c | opy"........................tool |
7eb00 | 74 69 70 74 65 78 74 3d 22 26 63 6f 70 79 42 75 74 74 6f 6e 2e 74 6f 6f 6c 74 69 70 3b 22 2f 3e | tiptext="©Button.tooltip;"/> |
7eb20 | 0a 0a 20 20 20 20 20 20 20 20 3c 74 6f 6f 6c 62 61 72 62 75 74 74 6f 6e 20 69 64 3d 22 70 61 73 | ..........<toolbarbutton.id="pas |
7eb40 | 74 65 2d 62 75 74 74 6f 6e 22 20 63 6c 61 73 73 3d 22 74 6f 6f 6c 62 61 72 62 75 74 74 6f 6e 2d | te-button".class="toolbarbutton- |
7eb60 | 31 20 63 68 72 6f 6d 65 63 6c 61 73 73 2d 74 6f 6f 6c 62 61 72 2d 61 64 64 69 74 69 6f 6e 61 6c | 1.chromeclass-toolbar-additional |
7eb80 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 | "........................label=" |
7eba0 | 26 70 61 73 74 65 43 6d 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | &pasteCmd.label;"............... |
7ebc0 | 20 20 20 20 20 20 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 63 6d 64 5f 70 61 73 74 65 22 0a 20 20 20 | .........command="cmd_paste".... |
7ebe0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 6f 6f 6c 74 69 70 74 65 78 74 3d | ....................tooltiptext= |
7ec00 | 22 26 70 61 73 74 65 42 75 74 74 6f 6e 2e 74 6f 6f 6c 74 69 70 3b 22 2f 3e 0a 0a 20 20 20 20 3c | "&pasteButton.tooltip;"/>......< |
7ec20 | 2f 74 6f 6f 6c 62 61 72 70 61 6c 65 74 74 65 3e 0a 0a 20 20 20 20 3c 74 6f 6f 6c 62 61 72 20 69 | /toolbarpalette>......<toolbar.i |
7ec40 | 64 3d 22 6e 61 76 2d 62 61 72 22 20 63 6c 61 73 73 3d 22 74 6f 6f 6c 62 61 72 2d 70 72 69 6d 61 | d="nav-bar".class="toolbar-prima |
7ec60 | 72 79 20 63 68 72 6f 6d 65 63 6c 61 73 73 2d 74 6f 6f 6c 62 61 72 22 0a 20 20 20 20 20 20 20 20 | ry.chromeclass-toolbar"......... |
7ec80 | 20 20 20 20 20 74 6f 6f 6c 62 61 72 6e 61 6d 65 3d 22 26 6e 61 76 62 61 72 43 6d 64 2e 6c 61 62 | .....toolbarname="&navbarCmd.lab |
7eca0 | 65 6c 3b 22 20 61 63 63 65 73 73 6b 65 79 3d 22 26 6e 61 76 62 61 72 43 6d 64 2e 61 63 63 65 73 | el;".accesskey="&navbarCmd.acces |
7ecc0 | 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 66 75 6c 6c 73 63 72 65 65 6e 74 6f | skey;"..............fullscreento |
7ece0 | 6f 6c 62 61 72 3d 22 74 72 75 65 22 20 6d 6f 64 65 3d 22 69 63 6f 6e 73 22 20 69 63 6f 6e 73 69 | olbar="true".mode="icons".iconsi |
7ed00 | 7a 65 3d 22 6c 61 72 67 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 63 75 73 74 6f 6d 69 7a | ze="large"..............customiz |
7ed20 | 61 62 6c 65 3d 22 74 72 75 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 64 65 66 61 75 6c 74 | able="true"..............default |
7ed40 | 73 65 74 3d 22 75 6e 69 66 69 65 64 2d 62 61 63 6b 2d 66 6f 72 77 61 72 64 2d 62 75 74 74 6f 6e | set="unified-back-forward-button |
7ed60 | 2c 72 65 6c 6f 61 64 2d 62 75 74 74 6f 6e 2c 73 74 6f 70 2d 62 75 74 74 6f 6e 2c 68 6f 6d 65 2d | ,reload-button,stop-button,home- |
7ed80 | 62 75 74 74 6f 6e 2c 75 72 6c 62 61 72 2d 63 6f 6e 74 61 69 6e 65 72 2c 73 65 61 72 63 68 2d 63 | button,urlbar-container,search-c |
7eda0 | 6f 6e 74 61 69 6e 65 72 2c 66 75 6c 6c 73 63 72 65 65 6e 66 6c 65 78 2c 77 69 6e 64 6f 77 2d 63 | ontainer,fullscreenflex,window-c |
7edc0 | 6f 6e 74 72 6f 6c 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6e 74 65 78 74 3d 22 74 | ontrols"..............context="t |
7ede0 | 6f 6f 6c 62 61 72 2d 63 6f 6e 74 65 78 74 2d 6d 65 6e 75 22 3e 0a 20 20 20 20 20 20 3c 68 62 6f | oolbar-context-menu">.......<hbo |
7ee00 | 78 20 69 64 3d 22 66 75 6c 6c 73 63 72 65 65 6e 66 6c 65 78 22 20 66 6c 65 78 3d 22 31 22 20 68 | x.id="fullscreenflex".flex="1".h |
7ee20 | 69 64 64 65 6e 3d 22 74 72 75 65 22 20 66 75 6c 6c 73 63 72 65 65 6e 63 6f 6e 74 72 6f 6c 3d 22 | idden="true".fullscreencontrol=" |
7ee40 | 74 72 75 65 22 2f 3e 0a 20 20 20 20 20 20 3c 68 62 6f 78 20 69 64 3d 22 77 69 6e 64 6f 77 2d 63 | true"/>.......<hbox.id="window-c |
7ee60 | 6f 6e 74 72 6f 6c 73 22 20 68 69 64 64 65 6e 3d 22 74 72 75 65 22 20 66 75 6c 6c 73 63 72 65 65 | ontrols".hidden="true".fullscree |
7ee80 | 6e 63 6f 6e 74 72 6f 6c 3d 22 74 72 75 65 22 3e 0a 20 20 20 20 20 20 20 20 3c 74 6f 6f 6c 62 61 | ncontrol="true">.........<toolba |
7eea0 | 72 62 75 74 74 6f 6e 20 69 64 3d 22 6d 69 6e 69 6d 69 7a 65 2d 62 75 74 74 6f 6e 22 20 63 6c 61 | rbutton.id="minimize-button".cla |
7eec0 | 73 73 3d 22 74 6f 6f 6c 62 61 72 62 75 74 74 6f 6e 2d 31 22 0a 20 20 20 20 20 20 20 20 20 20 20 | ss="toolbarbutton-1"............ |
7eee0 | 20 20 20 20 20 20 20 20 20 20 20 20 74 6f 6f 6c 74 69 70 74 65 78 74 3d 22 26 66 75 6c 6c 53 63 | ............tooltiptext="&fullSc |
7ef00 | 72 65 65 6e 4d 69 6e 69 6d 69 7a 65 2e 74 6f 6f 6c 74 69 70 3b 22 0a 20 20 20 20 20 20 20 20 20 | reenMinimize.tooltip;".......... |
7ef20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 77 69 6e 64 6f 77 2e | ..............oncommand="window. |
7ef40 | 6d 69 6e 69 6d 69 7a 65 28 29 3b 22 2f 3e 0a 0a 20 20 20 20 20 20 20 20 3c 74 6f 6f 6c 62 61 72 | minimize();"/>..........<toolbar |
7ef60 | 62 75 74 74 6f 6e 20 69 64 3d 22 72 65 73 74 6f 72 65 2d 62 75 74 74 6f 6e 22 20 63 6c 61 73 73 | button.id="restore-button".class |
7ef80 | 3d 22 74 6f 6f 6c 62 61 72 62 75 74 74 6f 6e 2d 31 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ="toolbarbutton-1".............. |
7efa0 | 20 20 20 20 20 20 20 20 20 20 74 6f 6f 6c 74 69 70 74 65 78 74 3d 22 26 66 75 6c 6c 53 63 72 65 | ..........tooltiptext="&fullScre |
7efc0 | 65 6e 52 65 73 74 6f 72 65 2e 74 6f 6f 6c 74 69 70 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 | enRestore.tooltip;"............. |
7efe0 | 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 42 72 6f 77 73 65 72 46 75 6c | ...........oncommand="BrowserFul |
7f000 | 6c 53 63 72 65 65 6e 28 29 3b 22 2f 3e 0a 0a 20 20 20 20 20 20 20 20 3c 74 6f 6f 6c 62 61 72 62 | lScreen();"/>..........<toolbarb |
7f020 | 75 74 74 6f 6e 20 69 64 3d 22 63 6c 6f 73 65 2d 62 75 74 74 6f 6e 22 20 63 6c 61 73 73 3d 22 74 | utton.id="close-button".class="t |
7f040 | 6f 6f 6c 62 61 72 62 75 74 74 6f 6e 2d 31 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | oolbarbutton-1"................. |
7f060 | 20 20 20 20 20 20 20 74 6f 6f 6c 74 69 70 74 65 78 74 3d 22 26 66 75 6c 6c 53 63 72 65 65 6e 43 | .......tooltiptext="&fullScreenC |
7f080 | 6c 6f 73 65 2e 74 6f 6f 6c 74 69 70 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | lose.tooltip;".................. |
7f0a0 | 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 42 72 6f 77 73 65 72 54 72 79 54 6f 43 6c 6f | ......oncommand="BrowserTryToClo |
7f0c0 | 73 65 57 69 6e 64 6f 77 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 2f 68 62 6f 78 3e 0a 20 20 20 | seWindow();"/>.......</hbox>.... |
7f0e0 | 20 3c 2f 74 6f 6f 6c 62 61 72 3e 0a 0a 20 20 20 20 3c 74 6f 6f 6c 62 61 72 73 65 74 20 69 64 3d | .</toolbar>......<toolbarset.id= |
7f100 | 22 63 75 73 74 6f 6d 54 6f 6f 6c 62 61 72 73 22 20 63 6f 6e 74 65 78 74 3d 22 74 6f 6f 6c 62 61 | "customToolbars".context="toolba |
7f120 | 72 2d 63 6f 6e 74 65 78 74 2d 6d 65 6e 75 22 2f 3e 0a 0a 20 20 20 20 3c 74 6f 6f 6c 62 61 72 20 | r-context-menu"/>......<toolbar. |
7f140 | 69 64 3d 22 50 65 72 73 6f 6e 61 6c 54 6f 6f 6c 62 61 72 22 0a 20 20 20 20 20 20 20 20 20 20 20 | id="PersonalToolbar"............ |
7f160 | 20 20 6d 6f 64 65 3d 22 69 63 6f 6e 73 22 20 69 63 6f 6e 73 69 7a 65 3d 22 73 6d 61 6c 6c 22 20 | ..mode="icons".iconsize="small". |
7f180 | 64 65 66 61 75 6c 74 69 63 6f 6e 73 69 7a 65 3d 22 73 6d 61 6c 6c 22 0a 20 20 20 20 20 20 20 20 | defaulticonsize="small"......... |
7f1a0 | 20 20 20 20 20 63 6c 61 73 73 3d 22 63 68 72 6f 6d 65 63 6c 61 73 73 2d 64 69 72 65 63 74 6f 72 | .....class="chromeclass-director |
7f1c0 | 69 65 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6e 74 65 78 74 3d 22 74 6f 6f 6c 62 | ies"..............context="toolb |
7f1e0 | 61 72 2d 63 6f 6e 74 65 78 74 2d 6d 65 6e 75 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 64 65 | ar-context-menu"..............de |
7f200 | 66 61 75 6c 74 73 65 74 3d 22 70 65 72 73 6f 6e 61 6c 2d 62 6f 6f 6b 6d 61 72 6b 73 22 0a 20 20 | faultset="personal-bookmarks"... |
7f220 | 20 20 20 20 20 20 20 20 20 20 20 74 6f 6f 6c 62 61 72 6e 61 6d 65 3d 22 26 70 65 72 73 6f 6e 61 | ...........toolbarname="&persona |
7f240 | 6c 62 61 72 43 6d 64 2e 6c 61 62 65 6c 3b 22 20 61 63 63 65 73 73 6b 65 79 3d 22 26 70 65 72 73 | lbarCmd.label;".accesskey="&pers |
7f260 | 6f 6e 61 6c 62 61 72 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 | onalbarCmd.accesskey;".......... |
7f280 | 20 20 20 20 63 75 73 74 6f 6d 69 7a 61 62 6c 65 3d 22 74 72 75 65 22 2f 3e 0a 20 20 3c 2f 74 6f | ....customizable="true"/>...</to |
7f2a0 | 6f 6c 62 6f 78 3e 0a 0a 20 20 3c 68 62 6f 78 20 66 6c 65 78 3d 22 31 22 20 69 64 3d 22 62 72 6f | olbox>....<hbox.flex="1".id="bro |
7f2c0 | 77 73 65 72 22 3e 0a 20 20 20 20 3c 76 62 6f 78 20 69 64 3d 22 73 69 64 65 62 61 72 2d 62 6f 78 | wser">.....<vbox.id="sidebar-box |
7f2e0 | 22 20 68 69 64 64 65 6e 3d 22 74 72 75 65 22 20 63 6c 61 73 73 3d 22 63 68 72 6f 6d 65 63 6c 61 | ".hidden="true".class="chromecla |
7f300 | 73 73 2d 65 78 74 72 61 63 68 72 6f 6d 65 22 3e 0a 20 20 20 20 20 20 3c 73 69 64 65 62 61 72 68 | ss-extrachrome">.......<sidebarh |
7f320 | 65 61 64 65 72 20 61 6c 69 67 6e 3d 22 63 65 6e 74 65 72 22 3e 0a 20 20 20 20 20 20 20 20 3c 6c | eader.align="center">.........<l |
7f340 | 61 62 65 6c 20 69 64 3d 22 73 69 64 65 62 61 72 2d 74 69 74 6c 65 22 20 70 65 72 73 69 73 74 3d | abel.id="sidebar-title".persist= |
7f360 | 22 76 61 6c 75 65 22 20 66 6c 65 78 3d 22 31 22 20 63 72 6f 70 3d 22 65 6e 64 22 20 63 6f 6e 74 | "value".flex="1".crop="end".cont |
7f380 | 72 6f 6c 3d 22 73 69 64 65 62 61 72 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 69 6d 61 67 65 20 69 | rol="sidebar"/>.........<image.i |
7f3a0 | 64 3d 22 73 69 64 65 62 61 72 2d 74 68 72 6f 62 62 65 72 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c | d="sidebar-throbber"/>.........< |
7f3c0 | 74 6f 6f 6c 62 61 72 62 75 74 74 6f 6e 20 63 6c 61 73 73 3d 22 74 61 62 73 2d 63 6c 6f 73 65 62 | toolbarbutton.class="tabs-closeb |
7f3e0 | 75 74 74 6f 6e 22 20 74 6f 6f 6c 74 69 70 74 65 78 74 3d 22 26 73 69 64 65 62 61 72 43 6c 6f 73 | utton".tooltiptext="&sidebarClos |
7f400 | 65 42 75 74 74 6f 6e 2e 74 6f 6f 6c 74 69 70 3b 22 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 74 6f 67 | eButton.tooltip;".oncommand="tog |
7f420 | 67 6c 65 53 69 64 65 62 61 72 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 2f 73 69 64 65 62 61 72 | gleSidebar();"/>.......</sidebar |
7f440 | 68 65 61 64 65 72 3e 0a 20 20 20 20 20 20 3c 62 72 6f 77 73 65 72 20 69 64 3d 22 73 69 64 65 62 | header>.......<browser.id="sideb |
7f460 | 61 72 22 20 66 6c 65 78 3d 22 31 22 20 61 75 74 6f 73 63 72 6f 6c 6c 3d 22 66 61 6c 73 65 22 20 | ar".flex="1".autoscroll="false". |
7f480 | 64 69 73 61 62 6c 65 68 69 73 74 6f 72 79 3d 22 74 72 75 65 22 0a 20 20 20 20 20 20 20 20 20 20 | disablehistory="true"........... |
7f4a0 | 20 20 20 20 20 20 73 74 79 6c 65 3d 22 6d 69 6e 2d 77 69 64 74 68 3a 20 31 34 65 6d 3b 20 77 69 | ......style="min-width:.14em;.wi |
7f4c0 | 64 74 68 3a 20 31 38 65 6d 3b 20 6d 61 78 2d 77 69 64 74 68 3a 20 33 36 65 6d 3b 22 2f 3e 0a 20 | dth:.18em;.max-width:.36em;"/>.. |
7f4e0 | 20 20 20 3c 2f 76 62 6f 78 3e 0a 0a 20 20 20 20 3c 73 70 6c 69 74 74 65 72 20 69 64 3d 22 73 69 | ...</vbox>......<splitter.id="si |
7f500 | 64 65 62 61 72 2d 73 70 6c 69 74 74 65 72 22 20 63 6c 61 73 73 3d 22 63 68 72 6f 6d 65 63 6c 61 | debar-splitter".class="chromecla |
7f520 | 73 73 2d 65 78 74 72 61 63 68 72 6f 6d 65 22 20 68 69 64 64 65 6e 3d 22 74 72 75 65 22 2f 3e 0a | ss-extrachrome".hidden="true"/>. |
7f540 | 20 20 20 20 3c 76 62 6f 78 20 69 64 3d 22 61 70 70 63 6f 6e 74 65 6e 74 22 20 66 6c 65 78 3d 22 | ....<vbox.id="appcontent".flex=" |
7f560 | 31 22 3e 0a 20 20 20 20 20 20 3c 74 61 62 62 72 6f 77 73 65 72 20 69 64 3d 22 63 6f 6e 74 65 6e | 1">.......<tabbrowser.id="conten |
7f580 | 74 22 20 64 69 73 61 62 6c 65 68 69 73 74 6f 72 79 3d 22 74 72 75 65 22 0a 20 20 20 20 20 20 20 | t".disablehistory="true"........ |
7f5a0 | 20 20 20 20 20 20 20 20 20 20 20 66 6c 65 78 3d 22 31 22 20 63 6f 6e 74 65 6e 74 74 6f 6f 6c 74 | ...........flex="1".contenttoolt |
7f5c0 | 69 70 3d 22 61 48 54 4d 4c 54 6f 6f 6c 74 69 70 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ip="aHTMLTooltip"............... |
7f5e0 | 20 20 20 20 63 6f 6e 74 65 6e 74 63 6f 6e 74 65 78 74 6d 65 6e 75 3d 22 63 6f 6e 74 65 6e 74 41 | ....contentcontextmenu="contentA |
7f600 | 72 65 61 43 6f 6e 74 65 78 74 4d 65 6e 75 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | reaContextMenu"................. |
7f620 | 20 20 6f 6e 6e 65 77 74 61 62 3d 22 42 72 6f 77 73 65 72 4f 70 65 6e 54 61 62 28 29 3b 22 0a 20 | ..onnewtab="BrowserOpenTab();".. |
7f640 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 75 74 6f 63 6f 6d 70 6c 65 74 65 70 6f 70 | .................autocompletepop |
7f660 | 75 70 3d 22 50 6f 70 75 70 41 75 74 6f 43 6f 6d 70 6c 65 74 65 22 0a 20 20 20 20 20 20 20 20 20 | up="PopupAutoComplete".......... |
7f680 | 20 20 20 20 20 20 20 20 20 6f 6e 64 72 6f 70 3d 22 6e 73 44 72 61 67 41 6e 64 44 72 6f 70 2e 64 | .........ondrop="nsDragAndDrop.d |
7f6a0 | 72 6f 70 28 65 76 65 6e 74 2c 20 63 6f 6e 74 65 6e 74 41 72 65 61 44 4e 44 4f 62 73 65 72 76 65 | rop(event,.contentAreaDNDObserve |
7f6c0 | 72 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6c 69 63 6b 3d 22 | r);"...................onclick=" |
7f6e0 | 72 65 74 75 72 6e 20 63 6f 6e 74 65 6e 74 41 72 65 61 43 6c 69 63 6b 28 65 76 65 6e 74 2c 20 66 | return.contentAreaClick(event,.f |
7f700 | 61 6c 73 65 29 3b 22 2f 3e 0a 20 20 20 20 3c 2f 76 62 6f 78 3e 0a 20 20 3c 2f 68 62 6f 78 3e 0a | alse);"/>.....</vbox>...</hbox>. |
7f720 | 0a 20 20 3c 76 62 6f 78 20 69 64 3d 22 62 72 6f 77 73 65 72 2d 62 6f 74 74 6f 6d 62 6f 78 22 3e | ...<vbox.id="browser-bottombox"> |
7f740 | 0a 20 20 20 20 3c 66 69 6e 64 62 61 72 20 62 72 6f 77 73 65 72 69 64 3d 22 63 6f 6e 74 65 6e 74 | .....<findbar.browserid="content |
7f760 | 22 20 69 64 3d 22 46 69 6e 64 54 6f 6f 6c 62 61 72 22 2f 3e 0a 20 20 0a 20 20 20 20 3c 73 74 61 | ".id="FindToolbar"/>........<sta |
7f780 | 74 75 73 62 61 72 20 63 6c 61 73 73 3d 22 63 68 72 6f 6d 65 63 6c 61 73 73 2d 73 74 61 74 75 73 | tusbar.class="chromeclass-status |
7f7a0 | 22 20 69 64 3d 22 73 74 61 74 75 73 2d 62 61 72 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ".id="status-bar"............... |
7f7c0 | 20 6f 6e 64 72 6f 70 3d 22 6e 73 44 72 61 67 41 6e 64 44 72 6f 70 2e 64 72 6f 70 28 65 76 65 6e | .ondrop="nsDragAndDrop.drop(even |
7f7e0 | 74 2c 20 63 6f 6e 74 65 6e 74 41 72 65 61 44 4e 44 4f 62 73 65 72 76 65 72 29 3b 22 3e 0a 20 20 | t,.contentAreaDNDObserver);">... |
7f800 | 20 20 20 20 3c 73 74 61 74 75 73 62 61 72 70 61 6e 65 6c 20 69 64 3d 22 73 74 61 74 75 73 62 61 | ....<statusbarpanel.id="statusba |
7f820 | 72 2d 64 69 73 70 6c 61 79 22 20 6c 61 62 65 6c 3d 22 22 20 66 6c 65 78 3d 22 31 22 2f 3e 0a 20 | r-display".label="".flex="1"/>.. |
7f840 | 20 20 20 20 20 3c 73 74 61 74 75 73 62 61 72 70 61 6e 65 6c 20 63 6c 61 73 73 3d 22 73 74 61 74 | .....<statusbarpanel.class="stat |
7f860 | 75 73 62 61 72 70 61 6e 65 6c 2d 70 72 6f 67 72 65 73 73 22 20 63 6f 6c 6c 61 70 73 65 64 3d 22 | usbarpanel-progress".collapsed=" |
7f880 | 74 72 75 65 22 20 69 64 3d 22 73 74 61 74 75 73 62 61 72 2d 70 72 6f 67 72 65 73 73 70 61 6e 65 | true".id="statusbar-progresspane |
7f8a0 | 6c 22 3e 0a 20 20 20 20 20 20 20 20 3c 70 72 6f 67 72 65 73 73 6d 65 74 65 72 20 63 6c 61 73 73 | l">.........<progressmeter.class |
7f8c0 | 3d 22 70 72 6f 67 72 65 73 73 6d 65 74 65 72 2d 73 74 61 74 75 73 62 61 72 22 20 69 64 3d 22 73 | ="progressmeter-statusbar".id="s |
7f8e0 | 74 61 74 75 73 62 61 72 2d 69 63 6f 6e 22 20 6d 6f 64 65 3d 22 6e 6f 72 6d 61 6c 22 20 76 61 6c | tatusbar-icon".mode="normal".val |
7f900 | 75 65 3d 22 30 22 2f 3e 0a 20 20 20 20 20 20 3c 2f 73 74 61 74 75 73 62 61 72 70 61 6e 65 6c 3e | ue="0"/>.......</statusbarpanel> |
7f920 | 0a 20 20 20 20 20 20 3c 73 74 61 74 75 73 62 61 72 70 61 6e 65 6c 20 69 64 3d 22 64 6f 77 6e 6c | .......<statusbarpanel.id="downl |
7f940 | 6f 61 64 2d 6d 6f 6e 69 74 6f 72 22 20 63 6c 61 73 73 3d 22 73 74 61 74 75 73 62 61 72 70 61 6e | oad-monitor".class="statusbarpan |
7f960 | 65 6c 2d 69 63 6f 6e 69 63 2d 74 65 78 74 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | el-iconic-text"................. |
7f980 | 20 20 20 20 20 20 74 6f 6f 6c 74 69 70 74 65 78 74 3d 22 26 64 6f 77 6e 6c 6f 61 64 4d 6f 6e 69 | ......tooltiptext="&downloadMoni |
7f9a0 | 74 6f 72 32 2e 74 6f 6f 6c 74 69 70 3b 22 20 68 69 64 64 65 6e 3d 22 74 72 75 65 22 0a 20 20 20 | tor2.tooltip;".hidden="true".... |
7f9c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 54 6f 6f 6c | ...................command="Tool |
7f9e0 | 73 3a 44 6f 77 6e 6c 6f 61 64 73 22 2f 3e 0a 20 20 20 20 20 20 3c 73 74 61 74 75 73 62 61 72 70 | s:Downloads"/>.......<statusbarp |
7fa00 | 61 6e 65 6c 20 69 64 3d 22 73 65 63 75 72 69 74 79 2d 62 75 74 74 6f 6e 22 20 63 6c 61 73 73 3d | anel.id="security-button".class= |
7fa20 | 22 73 74 61 74 75 73 62 61 72 70 61 6e 65 6c 2d 69 63 6f 6e 69 63 2d 74 65 78 74 22 0a 20 20 20 | "statusbarpanel-iconic-text".... |
7fa40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 68 69 64 64 65 6e 3d 22 74 72 75 65 22 | ...................hidden="true" |
7fa60 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 64 62 6c 63 6c 69 63 | .......................ondblclic |
7fa80 | 6b 3d 22 69 66 20 28 65 76 65 6e 74 2e 62 75 74 74 6f 6e 20 3d 3d 20 30 29 20 64 69 73 70 6c 61 | k="if.(event.button.==.0).displa |
7faa0 | 79 53 65 63 75 72 69 74 79 49 6e 66 6f 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 73 74 61 74 75 | ySecurityInfo();"/>.......<statu |
7fac0 | 73 62 61 72 70 61 6e 65 6c 20 69 64 3d 22 70 61 67 65 2d 72 65 70 6f 72 74 2d 62 75 74 74 6f 6e | sbarpanel.id="page-report-button |
7fae0 | 22 20 74 79 70 65 3d 22 6d 65 6e 75 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ".type="menu"................... |
7fb00 | 20 20 20 20 63 6c 61 73 73 3d 22 73 74 61 74 75 73 62 61 72 70 61 6e 65 6c 2d 6d 65 6e 75 2d 69 | ....class="statusbarpanel-menu-i |
7fb20 | 63 6f 6e 69 63 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 6f 6f | conic".......................too |
7fb40 | 6c 74 69 70 74 65 78 74 3d 22 26 70 61 67 65 52 65 70 6f 72 74 49 63 6f 6e 2e 74 6f 6f 6c 74 69 | ltiptext="&pageReportIcon.toolti |
7fb60 | 70 3b 22 3e 0a 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 70 6f 70 75 70 20 6f 6e 70 6f 70 75 70 73 | p;">.........<menupopup.onpopups |
7fb80 | 68 6f 77 69 6e 67 3d 22 67 50 6f 70 75 70 42 6c 6f 63 6b 65 72 4f 62 73 65 72 76 65 72 2e 66 69 | howing="gPopupBlockerObserver.fi |
7fba0 | 6c 6c 50 6f 70 75 70 4c 69 73 74 28 65 76 65 6e 74 29 3b 22 3e 0a 20 20 20 20 20 20 20 20 20 20 | llPopupList(event);">........... |
7fbc0 | 3c 6d 65 6e 75 69 74 65 6d 20 6f 62 73 65 72 76 65 73 3d 22 62 6c 6f 63 6b 65 64 50 6f 70 75 70 | <menuitem.observes="blockedPopup |
7fbe0 | 41 6c 6c 6f 77 53 69 74 65 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d | AllowSite"/>...........<menuitem |
7fc00 | 20 6f 62 73 65 72 76 65 73 3d 22 62 6c 6f 63 6b 65 64 50 6f 70 75 70 45 64 69 74 53 65 74 74 69 | .observes="blockedPopupEditSetti |
7fc20 | 6e 67 73 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 6f 62 73 65 72 | ngs"/>...........<menuitem.obser |
7fc40 | 76 65 73 3d 22 62 6c 6f 63 6b 65 64 50 6f 70 75 70 44 6f 6e 74 53 68 6f 77 4d 65 73 73 61 67 65 | ves="blockedPopupDontShowMessage |
7fc60 | 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 73 65 70 61 72 61 74 6f 72 20 6f 62 73 | "/>...........<menuseparator.obs |
7fc80 | 65 72 76 65 73 3d 22 62 6c 6f 63 6b 65 64 50 6f 70 75 70 73 53 65 70 61 72 61 74 6f 72 22 2f 3e | erves="blockedPopupsSeparator"/> |
7fca0 | 0a 20 20 20 20 20 20 20 20 3c 2f 6d 65 6e 75 70 6f 70 75 70 3e 0a 20 20 20 20 20 20 3c 2f 73 74 | .........</menupopup>.......</st |
7fcc0 | 61 74 75 73 62 61 72 70 61 6e 65 6c 3e 0a 20 20 20 20 3c 2f 73 74 61 74 75 73 62 61 72 3e 0a 20 | atusbarpanel>.....</statusbar>.. |
7fce0 | 20 3c 2f 76 62 6f 78 3e 0a 3c 2f 77 69 6e 64 6f 77 3e 0a 50 4b 03 04 14 00 00 00 00 00 f2 4b 18 | .</vbox>.</window>.PK.........K. |
7fd00 | 3b 49 a1 b4 2f 56 02 00 00 56 02 00 00 27 00 00 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 | ;I../V...V...'...content/browser |
7fd20 | 2f 62 72 6f 77 73 65 72 2d 74 61 62 50 72 65 76 69 65 77 73 2e 78 6d 6c 3c 3f 78 6d 6c 20 76 65 | /browser-tabPreviews.xml<?xml.ve |
7fd40 | 72 73 69 6f 6e 3d 22 31 2e 30 22 3f 3e 0a 0a 0a 3c 62 69 6e 64 69 6e 67 73 20 69 64 3d 22 74 61 | rsion="1.0"?>...<bindings.id="ta |
7fd60 | 62 50 72 65 76 69 65 77 73 22 0a 20 20 20 20 20 20 20 20 20 20 78 6d 6c 6e 73 3d 22 68 74 74 70 | bPreviews"...........xmlns="http |
7fd80 | 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 78 62 6c 22 0a 20 20 20 20 20 20 20 20 | ://www.mozilla.org/xbl"......... |
7fda0 | 20 20 78 6d 6c 6e 73 3a 78 75 6c 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c 61 2e | ..xmlns:xul="http://www.mozilla. |
7fdc0 | 6f 72 67 2f 6b 65 79 6d 61 73 74 65 72 2f 67 61 74 65 6b 65 65 70 65 72 2f 74 68 65 72 65 2e 69 | org/keymaster/gatekeeper/there.i |
7fde0 | 73 2e 6f 6e 6c 79 2e 78 75 6c 22 0a 20 20 20 20 20 20 20 20 20 20 78 6d 6c 6e 73 3a 78 62 6c 3d | s.only.xul"...........xmlns:xbl= |
7fe00 | 22 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 78 62 6c 22 3e 0a 20 20 | "http://www.mozilla.org/xbl">... |
7fe20 | 3c 62 69 6e 64 69 6e 67 20 69 64 3d 22 63 74 72 6c 54 61 62 2d 74 68 75 6d 62 6e 61 69 6c 22 3e | <binding.id="ctrlTab-thumbnail"> |
7fe40 | 0a 20 20 20 20 3c 63 6f 6e 74 65 6e 74 20 61 6c 69 67 6e 3d 22 63 65 6e 74 65 72 22 3e 0a 20 20 | .....<content.align="center">... |
7fe60 | 20 20 20 20 3c 63 68 69 6c 64 72 65 6e 2f 3e 0a 20 20 20 20 20 20 3c 78 75 6c 3a 6c 61 62 65 6c | ....<children/>.......<xul:label |
7fe80 | 20 78 62 6c 3a 69 6e 68 65 72 69 74 73 3d 22 76 61 6c 75 65 3d 6c 61 62 65 6c 2c 63 72 6f 70 22 | .xbl:inherits="value=label,crop" |
7fea0 | 2f 3e 0a 20 20 20 20 3c 2f 63 6f 6e 74 65 6e 74 3e 0a 20 20 20 20 3c 68 61 6e 64 6c 65 72 73 3e | />.....</content>.....<handlers> |
7fec0 | 0a 20 20 20 20 20 20 3c 68 61 6e 64 6c 65 72 20 65 76 65 6e 74 3d 22 63 6c 69 63 6b 22 20 62 75 | .......<handler.event="click".bu |
7fee0 | 74 74 6f 6e 3d 22 30 22 20 61 63 74 69 6f 6e 3d 22 63 74 72 6c 54 61 62 2e 73 65 6c 65 63 74 54 | tton="0".action="ctrlTab.selectT |
7ff00 | 68 75 6d 62 6e 61 69 6c 28 74 68 69 73 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 68 61 6e 64 6c 65 | humbnail(this);"/>.......<handle |
7ff20 | 72 20 65 76 65 6e 74 3d 22 63 6c 69 63 6b 22 20 62 75 74 74 6f 6e 3d 22 31 22 20 61 63 74 69 6f | r.event="click".button="1".actio |
7ff40 | 6e 3d 22 67 42 72 6f 77 73 65 72 2e 72 65 6d 6f 76 65 54 61 62 28 74 68 69 73 2e 5f 74 61 62 29 | n="gBrowser.removeTab(this._tab) |
7ff60 | 3b 22 2f 3e 0a 20 20 20 20 3c 2f 68 61 6e 64 6c 65 72 73 3e 0a 20 20 3c 2f 62 69 6e 64 69 6e 67 | ;"/>.....</handlers>...</binding |
7ff80 | 3e 0a 3c 2f 62 69 6e 64 69 6e 67 73 3e 0a 50 4b 03 04 14 00 00 00 00 00 f2 4b 18 3b 5c 2b a6 2b | >.</bindings>.PK.........K.;\+.+ |
7ffa0 | 07 4c 00 00 07 4c 00 00 1d 00 00 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 63 72 65 64 | .L...L......content/browser/cred |
7ffc0 | 69 74 73 2e 78 68 74 6d 6c 3c 21 2d 2d 20 2d 2a 2d 20 4d 6f 64 65 3a 20 4a 61 76 61 3b 20 74 61 | its.xhtml<!--.-*-.Mode:.Java;.ta |
7ffe0 | 62 2d 77 69 64 74 68 3a 20 32 3b 20 69 6e 64 65 6e 74 2d 74 61 62 73 2d 6d 6f 64 65 3a 20 6e 69 | b-width:.2;.indent-tabs-mode:.ni |
80000 | 6c 3b 20 63 2d 62 61 73 69 63 2d 6f 66 66 73 65 74 3a 20 32 20 2d 2a 2d 0a 2d 2d 3e 0a 3c 21 44 | l;.c-basic-offset:.2.-*-.-->.<!D |
80020 | 4f 43 54 59 50 45 20 68 74 6d 6c 20 50 55 42 4c 49 43 20 22 2d 2f 2f 57 33 43 2f 2f 44 54 44 20 | OCTYPE.html.PUBLIC."-//W3C//DTD. |
80040 | 58 48 54 4d 4c 20 31 2e 31 2f 2f 45 4e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | XHTML.1.1//EN".................. |
80060 | 20 20 20 20 20 22 68 74 74 70 3a 2f 2f 77 77 77 2e 77 33 2e 6f 72 67 2f 54 52 2f 78 68 74 6d 6c | ....."http://www.w3.org/TR/xhtml |
80080 | 31 31 2f 44 54 44 2f 78 68 74 6d 6c 31 31 2e 64 74 64 22 0a 20 20 5b 0a 20 20 20 20 3c 21 45 4e | 11/DTD/xhtml11.dtd"...[.....<!EN |
800a0 | 54 49 54 59 20 25 20 62 72 61 6e 64 44 54 44 20 53 59 53 54 45 4d 20 22 63 68 72 6f 6d 65 3a 2f | TITY.%.brandDTD.SYSTEM."chrome:/ |
800c0 | 2f 62 72 61 6e 64 69 6e 67 2f 6c 6f 63 61 6c 65 2f 62 72 61 6e 64 2e 64 74 64 22 3e 0a 20 20 20 | /branding/locale/brand.dtd">.... |
800e0 | 20 25 62 72 61 6e 64 44 54 44 3b 0a 20 20 20 20 3c 21 45 4e 54 49 54 59 20 25 20 63 72 65 64 69 | .%brandDTD;.....<!ENTITY.%.credi |
80100 | 74 73 44 54 44 20 53 59 53 54 45 4d 20 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 6c | tsDTD.SYSTEM."chrome://browser/l |
80120 | 6f 63 61 6c 65 2f 63 72 65 64 69 74 73 2e 64 74 64 22 3e 0a 20 20 20 20 25 63 72 65 64 69 74 73 | ocale/credits.dtd">.....%credits |
80140 | 44 54 44 3b 0a 20 20 20 20 3c 21 45 4e 54 49 54 59 20 25 20 6c 69 63 65 6e 73 65 44 54 44 20 53 | DTD;.....<!ENTITY.%.licenseDTD.S |
80160 | 59 53 54 45 4d 20 22 63 68 72 6f 6d 65 3a 2f 2f 67 6c 6f 62 61 6c 2f 6c 6f 63 61 6c 65 2f 6c 69 | YSTEM."chrome://global/locale/li |
80180 | 63 65 6e 73 65 2e 64 74 64 22 3e 0a 20 20 20 20 25 6c 69 63 65 6e 73 65 44 54 44 3b 0a 20 20 20 | cense.dtd">.....%licenseDTD;.... |
801a0 | 20 3c 21 45 4e 54 49 54 59 20 25 20 67 6c 6f 62 61 6c 44 54 44 20 53 59 53 54 45 4d 20 22 63 68 | .<!ENTITY.%.globalDTD.SYSTEM."ch |
801c0 | 72 6f 6d 65 3a 2f 2f 67 6c 6f 62 61 6c 2f 6c 6f 63 61 6c 65 2f 67 6c 6f 62 61 6c 2e 64 74 64 22 | rome://global/locale/global.dtd" |
801e0 | 3e 0a 20 20 20 20 25 67 6c 6f 62 61 6c 44 54 44 3b 0a 20 20 5d 0a 3e 0a 0a 0a 3c 68 74 6d 6c 20 | >.....%globalDTD;...].>...<html. |
80200 | 78 6d 6c 6e 73 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e 77 33 2e 6f 72 67 2f 31 39 39 39 2f 78 68 | xmlns="http://www.w3.org/1999/xh |
80220 | 74 6d 6c 22 3e 0a 20 20 3c 68 65 61 64 3e 0a 20 20 20 20 3c 74 69 74 6c 65 3e 26 62 72 61 6e 64 | tml">...<head>.....<title>&brand |
80240 | 46 75 6c 6c 4e 61 6d 65 3b 20 43 72 65 64 69 74 73 3c 2f 74 69 74 6c 65 3e 0a 0a 20 20 20 20 3c | FullName;.Credits</title>......< |
80260 | 73 74 79 6c 65 3e 0a 20 20 20 20 20 20 68 74 6d 6c 20 7b 0a 20 20 20 20 20 20 20 20 62 61 63 6b | style>.......html.{.........back |
80280 | 67 72 6f 75 6e 64 2d 63 6f 6c 6f 72 3a 20 77 68 69 74 65 3b 0a 20 20 20 20 20 20 7d 0a 0a 20 20 | ground-color:.white;.......}.... |
802a0 | 20 20 20 20 2a 20 7b 0a 20 20 20 20 20 20 20 20 63 75 72 73 6f 72 3a 20 64 65 66 61 75 6c 74 3b | ....*.{.........cursor:.default; |
802c0 | 0a 20 20 20 20 20 20 20 20 2d 6d 6f 7a 2d 75 73 65 72 2d 73 65 6c 65 63 74 3a 20 6e 6f 6e 65 3b | .........-moz-user-select:.none; |
802e0 | 0a 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 23 74 69 74 6c 65 42 6f 78 20 7b 0a 20 20 20 20 | .......}........#titleBox.{..... |
80300 | 20 20 20 20 70 6f 73 69 74 69 6f 6e 3a 20 66 69 78 65 64 3b 0a 20 20 20 20 20 20 20 20 6c 65 66 | ....position:.fixed;.........lef |
80320 | 74 3a 20 30 70 78 3b 0a 20 20 20 20 20 20 20 20 74 6f 70 3a 20 30 70 78 3b 0a 20 20 20 20 20 20 | t:.0px;.........top:.0px;....... |
80340 | 20 20 72 69 67 68 74 3a 20 30 70 78 3b 0a 20 20 20 20 20 20 20 20 62 6f 74 74 6f 6d 3a 20 61 75 | ..right:.0px;.........bottom:.au |
80360 | 74 6f 3b 0a 20 20 20 20 20 20 20 20 7a 2d 69 6e 64 65 78 3a 20 39 39 39 3b 0a 20 20 20 20 20 20 | to;.........z-index:.999;....... |
80380 | 7d 0a 0a 20 20 20 20 20 20 23 66 6f 6f 74 65 72 42 6f 78 20 7b 0a 20 20 20 20 20 20 20 20 70 6f | }........#footerBox.{.........po |
803a0 | 73 69 74 69 6f 6e 3a 20 66 69 78 65 64 3b 0a 20 20 20 20 20 20 20 20 6c 65 66 74 3a 20 30 70 78 | sition:.fixed;.........left:.0px |
803c0 | 3b 0a 20 20 20 20 20 20 20 20 74 6f 70 3a 20 61 75 74 6f 3b 0a 20 20 20 20 20 20 20 20 72 69 67 | ;.........top:.auto;.........rig |
803e0 | 68 74 3a 20 30 70 78 3b 0a 20 20 20 20 20 20 20 20 62 6f 74 74 6f 6d 3a 20 30 70 78 3b 0a 20 20 | ht:.0px;.........bottom:.0px;... |
80400 | 20 20 20 20 20 20 7a 2d 69 6e 64 65 78 3a 20 39 39 39 3b 0a 20 20 20 20 20 20 7d 0a 0a 20 20 20 | ......z-index:.999;.......}..... |
80420 | 20 20 20 23 63 72 65 64 69 74 73 42 6f 78 20 7b 0a 20 20 20 20 20 20 20 20 70 6f 73 69 74 69 6f | ...#creditsBox.{.........positio |
80440 | 6e 3a 20 61 62 73 6f 6c 75 74 65 3b 0a 20 20 20 20 20 20 20 20 6c 65 66 74 3a 20 30 70 78 3b 0a | n:.absolute;.........left:.0px;. |
80460 | 20 20 20 20 20 20 20 20 74 6f 70 3a 20 30 70 78 3b 0a 20 20 20 20 20 20 20 20 62 6f 74 74 6f 6d | ........top:.0px;.........bottom |
80480 | 3a 20 38 70 78 3b 0a 20 20 20 20 20 20 20 20 6f 76 65 72 66 6c 6f 77 3a 20 68 69 64 64 65 6e 3b | :.8px;.........overflow:.hidden; |
804a0 | 0a 20 20 20 20 20 20 20 20 7a 2d 69 6e 64 65 78 3a 20 31 3b 0a 20 20 20 20 20 20 20 20 77 69 64 | .........z-index:.1;.........wid |
804c0 | 74 68 3a 20 32 38 30 70 78 3b 0a 20 20 20 20 20 20 20 20 6d 61 72 67 69 6e 2d 6c 65 66 74 3a 20 | th:.280px;.........margin-left:. |
804e0 | 31 30 70 78 3b 0a 20 20 20 20 20 20 20 20 6d 61 72 67 69 6e 2d 72 69 67 68 74 3a 20 31 30 70 78 | 10px;.........margin-right:.10px |
80500 | 3b 0a 20 20 20 20 20 20 20 20 66 6f 6e 74 2d 66 61 6d 69 6c 79 3a 20 41 72 69 61 6c 2c 20 73 61 | ;.........font-family:.Arial,.sa |
80520 | 6e 73 2d 73 65 72 69 66 3b 0a 20 20 20 20 20 20 20 20 66 6f 6e 74 2d 73 69 7a 65 3a 20 73 6d 61 | ns-serif;.........font-size:.sma |
80540 | 6c 6c 3b 0a 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 68 33 20 7b 0a 20 20 20 20 20 20 20 20 | ll;.......}........h3.{......... |
80560 | 66 6f 6e 74 2d 77 65 69 67 68 74 3a 20 62 6f 6c 64 3b 0a 20 20 20 20 20 20 20 20 66 6f 6e 74 2d | font-weight:.bold;.........font- |
80580 | 73 69 7a 65 3a 20 73 6d 61 6c 6c 3b 0a 20 20 20 20 20 20 20 20 74 65 78 74 2d 61 6c 69 67 6e 3a | size:.small;.........text-align: |
805a0 | 20 63 65 6e 74 65 72 3b 0a 20 20 20 20 20 20 20 20 6d 61 72 67 69 6e 3a 20 31 35 70 78 20 30 70 | .center;.........margin:.15px.0p |
805c0 | 78 20 35 70 78 20 30 70 78 3b 0a 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 2e 63 72 65 64 69 | x.5px.0px;.......}.........credi |
805e0 | 74 73 47 72 6f 75 70 20 7b 0a 20 20 20 20 20 20 20 20 6d 61 72 67 69 6e 2d 62 6f 74 74 6f 6d 3a | tsGroup.{.........margin-bottom: |
80600 | 20 31 70 78 3b 0a 20 20 20 20 20 20 20 20 74 65 78 74 2d 61 6c 69 67 6e 3a 20 63 65 6e 74 65 72 | .1px;.........text-align:.center |
80620 | 3b 0a 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 2e 66 6f 6f 74 6e 6f 74 65 20 7b 0a 20 20 20 | ;.......}.........footnote.{.... |
80640 | 20 20 20 20 20 66 6f 6e 74 2d 73 69 7a 65 3a 20 78 2d 73 6d 61 6c 6c 3b 0a 20 20 20 20 20 20 20 | .....font-size:.x-small;........ |
80660 | 20 74 65 78 74 2d 61 6c 69 67 6e 3a 20 6a 75 73 74 69 66 79 3b 0a 20 20 20 20 20 20 20 20 6c 69 | .text-align:.justify;.........li |
80680 | 6e 65 2d 68 65 69 67 68 74 3a 20 31 31 30 25 3b 0a 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 | ne-height:.110%;.......}........ |
806a0 | 68 32 2e 74 69 74 6c 65 20 7b 0a 20 20 20 20 20 20 20 20 6d 61 72 67 69 6e 2d 74 6f 70 3a 20 32 | h2.title.{.........margin-top:.2 |
806c0 | 30 30 70 78 3b 0a 20 20 20 20 20 20 20 20 6d 61 72 67 69 6e 2d 62 6f 74 74 6f 6d 3a 20 36 30 70 | 00px;.........margin-bottom:.60p |
806e0 | 78 3b 0a 20 20 20 20 20 20 20 20 74 65 78 74 2d 61 6c 69 67 6e 3a 20 63 65 6e 74 65 72 3b 0a 20 | x;.........text-align:.center;.. |
80700 | 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 2e 6c 69 6e 6b 73 20 7b 0a 20 20 20 20 20 20 20 20 66 | .....}.........links.{.........f |
80720 | 6f 6e 74 2d 77 65 69 67 68 74 3a 20 6e 6f 72 6d 61 6c 3b 0a 20 20 20 20 20 20 20 20 66 6f 6e 74 | ont-weight:.normal;.........font |
80740 | 2d 73 69 7a 65 3a 20 73 6d 61 6c 6c 3b 0a 20 20 20 20 20 20 20 20 66 6f 6e 74 2d 73 74 79 6c 65 | -size:.small;.........font-style |
80760 | 3a 20 69 74 61 6c 69 63 3b 0a 20 20 20 20 20 20 20 20 74 65 78 74 2d 61 6c 69 67 6e 3a 20 63 65 | :.italic;.........text-align:.ce |
80780 | 6e 74 65 72 3b 0a 20 20 20 20 20 20 20 20 6d 61 72 67 69 6e 3a 20 30 70 78 20 30 70 78 20 31 30 | nter;.........margin:.0px.0px.10 |
807a0 | 30 70 78 20 30 70 78 3b 0a 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 2e 6d 6f 74 74 6f 20 7b | 0px.0px;.......}.........motto.{ |
807c0 | 0a 20 20 20 20 20 20 20 20 6d 61 72 67 69 6e 2d 74 6f 70 3a 20 32 70 78 3b 0a 20 20 20 20 20 20 | .........margin-top:.2px;....... |
807e0 | 20 20 66 6f 6e 74 2d 73 74 79 6c 65 3a 20 69 74 61 6c 69 63 3b 0a 20 20 20 20 20 20 20 20 66 6f | ..font-style:.italic;.........fo |
80800 | 6e 74 2d 73 69 7a 65 3a 20 73 6d 61 6c 6c 3b 0a 20 20 20 20 20 20 20 20 66 6f 6e 74 2d 77 65 69 | nt-size:.small;.........font-wei |
80820 | 67 68 74 3a 20 6e 6f 72 6d 61 6c 3b 0a 20 20 20 20 20 20 20 20 70 61 64 64 69 6e 67 2d 6c 65 66 | ght:.normal;.........padding-lef |
80840 | 74 3a 20 32 65 6d 3b 0a 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 23 67 65 63 6b 6f 20 7b 0a | t:.2em;.......}........#gecko.{. |
80860 | 20 20 20 20 20 20 20 20 6d 61 72 67 69 6e 2d 74 6f 70 3a 20 20 20 20 31 30 30 70 78 3b 0a 20 20 | ........margin-top:....100px;... |
80880 | 20 20 20 20 20 20 6d 61 72 67 69 6e 2d 62 6f 74 74 6f 6d 3a 20 31 30 30 70 78 3b 0a 20 20 20 20 | ......margin-bottom:.100px;..... |
808a0 | 20 20 20 20 66 6f 6e 74 2d 73 69 7a 65 3a 20 6d 65 64 69 75 6d 3b 0a 20 20 20 20 20 20 7d 0a 0a | ....font-size:.medium;.......}.. |
808c0 | 20 20 20 20 20 20 61 20 7b 0a 20 20 20 20 20 20 20 20 63 6f 6c 6f 72 3a 20 62 6c 75 65 3b 0a 20 | ......a.{.........color:.blue;.. |
808e0 | 20 20 20 20 20 20 20 74 65 78 74 2d 64 65 63 6f 72 61 74 69 6f 6e 3a 20 75 6e 64 65 72 6c 69 6e | .......text-decoration:.underlin |
80900 | 65 3b 0a 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 75 6c 20 7b 0a 20 20 20 20 20 20 20 20 6d | e;.......}........ul.{.........m |
80920 | 61 72 67 69 6e 2d 74 6f 70 3a 20 30 70 78 3b 0a 20 20 20 20 20 20 20 20 6d 61 72 67 69 6e 2d 6c | argin-top:.0px;.........margin-l |
80940 | 65 66 74 3a 20 30 70 78 3b 0a 20 20 20 20 20 20 20 20 70 61 64 64 69 6e 67 2d 6c 65 66 74 3a 20 | eft:.0px;.........padding-left:. |
80960 | 30 70 78 3b 0a 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 6c 69 20 7b 0a 20 20 20 20 20 20 20 | 0px;.......}........li.{........ |
80980 | 20 6c 69 73 74 2d 73 74 79 6c 65 2d 74 79 70 65 3a 20 6e 6f 6e 65 3b 0a 20 20 20 20 20 20 7d 0a | .list-style-type:.none;.......}. |
809a0 | 0a 20 20 20 20 20 20 2e 63 65 6e 74 65 72 20 7b 0a 20 20 20 20 20 20 20 20 74 65 78 74 2d 61 6c | ........center.{.........text-al |
809c0 | 69 67 6e 3a 20 63 65 6e 74 65 72 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 3c 2f 73 74 79 6c 65 | ign:.center;.......}.....</style |
809e0 | 3e 0a 0a 20 20 20 20 3c 73 63 72 69 70 74 20 74 79 70 65 3d 22 61 70 70 6c 69 63 61 74 69 6f 6e | >......<script.type="application |
80a00 | 2f 78 2d 6a 61 76 61 73 63 72 69 70 74 22 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 67 6c 6f | /x-javascript".src="chrome://glo |
80a20 | 62 61 6c 2f 63 6f 6e 74 65 6e 74 2f 67 6c 6f 62 61 6c 4f 76 65 72 6c 61 79 2e 6a 73 22 3e 3c 2f | bal/content/globalOverlay.js"></ |
80a40 | 73 63 72 69 70 74 3e 0a 20 20 20 20 3c 73 63 72 69 70 74 20 74 79 70 65 3d 22 61 70 70 6c 69 63 | script>.....<script.type="applic |
80a60 | 61 74 69 6f 6e 2f 78 2d 6a 61 76 61 73 63 72 69 70 74 22 3e 0a 20 20 20 20 3c 21 5b 43 44 41 54 | ation/x-javascript">.....<![CDAT |
80a80 | 41 5b 0a 0a 20 20 20 20 20 20 76 61 72 20 67 43 72 65 64 69 74 73 49 6e 74 65 72 76 61 6c 20 3d | A[........var.gCreditsInterval.= |
80aa0 | 20 2d 31 3b 0a 0a 20 20 20 20 20 20 66 75 6e 63 74 69 6f 6e 20 75 6e 69 6e 69 74 28 29 0a 20 20 | .-1;........function.uninit()... |
80ac0 | 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 69 66 20 28 67 43 72 65 64 69 74 73 49 6e 74 65 72 76 | ....{.........if.(gCreditsInterv |
80ae0 | 61 6c 20 3e 20 2d 31 29 0a 20 20 20 20 20 20 20 20 20 20 63 6c 65 61 72 49 6e 74 65 72 76 61 6c | al.>.-1)...........clearInterval |
80b00 | 28 67 43 72 65 64 69 74 73 49 6e 74 65 72 76 61 6c 29 3b 0a 20 20 20 20 20 20 7d 0a 0a 20 20 20 | (gCreditsInterval);.......}..... |
80b20 | 20 20 20 66 75 6e 63 74 69 6f 6e 20 69 6e 69 74 28 29 0a 20 20 20 20 20 20 7b 0a 20 20 20 20 20 | ...function.init().......{...... |
80b40 | 20 20 20 76 61 72 20 63 62 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 | ...var.cb.=.document.getElementB |
80b60 | 79 49 64 28 22 63 72 65 64 69 74 73 42 6f 78 22 29 3b 0a 20 20 20 20 20 20 20 20 63 62 2e 73 63 | yId("creditsBox");.........cb.sc |
80b80 | 72 6f 6c 6c 54 6f 70 20 3d 20 30 3b 0a 20 20 20 20 20 20 20 20 73 65 74 54 69 6d 65 6f 75 74 28 | rollTop.=.0;.........setTimeout( |
80ba0 | 72 75 6e 43 72 65 64 69 74 73 2c 20 33 30 30 30 29 3b 0a 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 | runCredits,.3000);.......}...... |
80bc0 | 20 20 66 75 6e 63 74 69 6f 6e 20 72 75 6e 43 72 65 64 69 74 73 28 29 0a 20 20 20 20 20 20 7b 0a | ..function.runCredits().......{. |
80be0 | 20 20 20 20 20 20 20 20 67 43 72 65 64 69 74 73 49 6e 74 65 72 76 61 6c 20 3d 20 73 65 74 49 6e | ........gCreditsInterval.=.setIn |
80c00 | 74 65 72 76 61 6c 28 22 63 72 65 64 69 74 73 43 61 6c 6c 62 61 63 6b 28 29 22 2c 20 32 35 29 3b | terval("creditsCallback()",.25); |
80c20 | 0a 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 66 75 6e 63 74 69 6f 6e 20 63 72 65 64 69 74 73 | .......}........function.credits |
80c40 | 43 61 6c 6c 62 61 63 6b 28 29 0a 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 76 61 72 20 63 | Callback().......{.........var.c |
80c60 | 62 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 63 72 65 | b.=.document.getElementById("cre |
80c80 | 64 69 74 73 42 6f 78 22 29 3b 0a 20 20 20 20 20 20 20 20 76 61 72 20 6e 65 77 74 6f 70 20 3d 20 | ditsBox");.........var.newtop.=. |
80ca0 | 63 62 2e 73 63 72 6f 6c 6c 54 6f 70 20 2b 20 31 3b 0a 20 20 20 20 20 20 20 20 63 62 2e 73 63 72 | cb.scrollTop.+.1;.........cb.scr |
80cc0 | 6f 6c 6c 54 6f 70 20 3d 20 6e 65 77 74 6f 70 3b 0a 20 20 20 20 20 20 20 20 69 66 20 28 63 62 2e | ollTop.=.newtop;.........if.(cb. |
80ce0 | 73 63 72 6f 6c 6c 54 6f 70 20 21 3d 20 6e 65 77 74 6f 70 29 20 7b 0a 20 20 20 20 20 20 20 20 20 | scrollTop.!=.newtop).{.......... |
80d00 | 20 2f 2f 20 77 65 27 72 65 20 61 74 20 74 68 65 20 62 6f 74 74 6f 6d 0a 20 20 20 20 20 20 20 20 | .//.we're.at.the.bottom......... |
80d20 | 20 20 63 6c 65 61 72 49 6e 74 65 72 76 61 6c 28 67 43 72 65 64 69 74 73 49 6e 74 65 72 76 61 6c | ..clearInterval(gCreditsInterval |
80d40 | 29 3b 0a 20 20 20 20 20 20 20 20 20 20 73 65 74 54 69 6d 65 6f 75 74 28 66 75 6e 63 74 69 6f 6e | );...........setTimeout(function |
80d60 | 28 29 20 7b 20 63 62 2e 73 63 72 6f 6c 6c 54 6f 70 20 3d 20 30 20 7d 2c 20 31 30 30 30 30 29 3b | ().{.cb.scrollTop.=.0.},.10000); |
80d80 | 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 5d 5d 3e 0a 20 20 20 20 | .........}.......}......]]>..... |
80da0 | 3c 2f 73 63 72 69 70 74 3e 0a 20 20 3c 2f 68 65 61 64 3e 0a 20 20 3c 62 6f 64 79 20 6f 6e 6c 6f | </script>...</head>...<body.onlo |
80dc0 | 61 64 3d 22 69 6e 69 74 28 29 3b 22 20 6f 6e 75 6e 6c 6f 61 64 3d 22 75 6e 69 6e 69 74 28 29 3b | ad="init();".onunload="uninit(); |
80de0 | 22 3e 0a 20 20 20 20 3c 64 69 76 20 69 64 3d 22 74 69 74 6c 65 42 6f 78 22 3e 0a 20 20 20 20 20 | ">.....<div.id="titleBox">...... |
80e00 | 20 3c 69 6d 67 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 61 6e 64 69 6e 67 2f 63 6f 6e | .<img.src="chrome://branding/con |
80e20 | 74 65 6e 74 2f 61 62 6f 75 74 43 72 65 64 69 74 73 2e 70 6e 67 22 20 2f 3e 0a 20 20 20 20 3c 2f | tent/aboutCredits.png"./>.....</ |
80e40 | 64 69 76 3e 0a 0a 20 20 20 20 3c 64 69 76 20 69 64 3d 22 63 72 65 64 69 74 73 42 6f 78 22 3e 0a | div>......<div.id="creditsBox">. |
80e60 | 20 20 20 20 20 20 20 20 3c 68 32 20 63 6c 61 73 73 3d 22 74 69 74 6c 65 22 20 64 69 72 3d 22 26 | ........<h2.class="title".dir="& |
80e80 | 6c 6f 63 61 6c 65 2e 64 69 72 3b 22 3e 26 62 72 61 6e 64 46 75 6c 6c 4e 61 6d 65 3b 26 74 72 61 | locale.dir;">&brandFullName;&tra |
80ea0 | 64 65 3b 0a 20 20 20 20 20 20 20 20 20 20 3c 64 69 76 20 63 6c 61 73 73 3d 22 6d 6f 74 74 6f 22 | de;...........<div.class="motto" |
80ec0 | 3e 26 62 72 61 6e 64 4d 6f 74 74 6f 3b 3c 2f 64 69 76 3e 0a 20 20 20 20 20 20 20 20 3c 2f 68 32 | >&brandMotto;</div>.........</h2 |
80ee0 | 3e 0a 20 20 20 20 20 20 20 20 3c 64 69 76 20 63 6c 61 73 73 3d 22 6c 69 6e 6b 73 22 20 64 69 72 | >.........<div.class="links".dir |
80f00 | 3d 22 26 6c 6f 63 61 6c 65 2e 64 69 72 3b 22 3e 0a 20 20 20 20 20 20 20 20 20 20 26 63 72 65 64 | ="&locale.dir;">...........&cred |
80f20 | 69 74 2e 74 68 61 6e 6b 73 32 3b 20 3c 61 20 68 72 65 66 3d 22 22 20 6c 69 6e 6b 3d 22 61 62 6f | it.thanks2;.<a.href="".link="abo |
80f40 | 75 74 3a 63 72 65 64 69 74 73 22 20 6f 6e 63 6c 69 63 6b 3d 22 76 69 73 69 74 4c 69 6e 6b 28 65 | ut:credits".onclick="visitLink(e |
80f60 | 76 65 6e 74 29 3b 22 3e 26 63 72 65 64 69 74 2e 63 6f 6e 74 72 69 62 75 74 6f 72 73 32 3b 3c 2f | vent);">&credit.contributors2;</ |
80f80 | 61 3e 0a 20 20 20 20 20 20 20 20 3c 2f 64 69 76 3e 0a 0a 20 20 20 20 20 20 20 20 3c 64 69 76 20 | a>.........</div>..........<div. |
80fa0 | 63 6c 61 73 73 3d 22 63 72 65 64 69 74 73 47 72 6f 75 70 22 3e 0a 20 20 20 20 20 20 20 20 20 20 | class="creditsGroup">........... |
80fc0 | 3c 75 6c 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4a 6f 73 68 20 41 61 73 3c 2f 6c | <ul>.............<li>Josh.Aas</l |
80fe0 | 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 52 6f 62 65 72 74 20 41 63 63 65 74 74 | i>.............<li>Robert.Accett |
81000 | 75 72 61 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4c 75 63 61 73 20 41 | ura</li>.............<li>Lucas.A |
81020 | 64 61 6d 73 6b 69 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 45 68 73 61 | damski</li>.............<li>Ehsa |
81040 | 6e 20 41 6b 68 67 61 72 69 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 53 | n.Akhgari</li>.............<li>S |
81060 | 65 61 6e 20 41 6c 61 6d 61 72 65 73 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c | ean.Alamares</li>.............<l |
81080 | 69 3e 50 65 64 72 6f 20 41 6c 76 65 73 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c | i>Pedro.Alves</li>.............< |
810a0 | 6c 69 3e 44 61 76 69 64 20 41 6e 64 65 72 73 6f 6e 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 | li>David.Anderson</li>.......... |
810c0 | 20 20 20 3c 6c 69 3e 48 61 72 76 65 79 20 41 6e 64 65 72 73 6f 6e 3c 2f 6c 69 3e 0a 20 20 20 20 | ...<li>Harvey.Anderson</li>..... |
810e0 | 20 20 20 20 20 20 20 20 3c 6c 69 3e 53 6d 6f 6b 65 79 20 41 72 64 69 73 73 6f 6e 3c 2f 6c 69 3e | ........<li>Smokey.Ardisson</li> |
81100 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 52 6f 62 20 41 72 6e 6f 6c 64 3c 2f 6c 69 3e | .............<li>Rob.Arnold</li> |
81120 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 54 6f 6d 6f 79 61 20 41 73 61 69 3c 2f 6c 69 | .............<li>Tomoya.Asai</li |
81140 | 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 43 68 72 69 73 20 41 74 4c 65 65 3c 2f 6c | >.............<li>Chris.AtLee</l |
81160 | 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 44 69 65 74 72 69 63 68 20 41 79 61 6c | i>.............<li>Dietrich.Ayal |
81180 | 61 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4d 69 74 63 68 65 6c 6c 20 | a</li>.............<li>Mitchell. |
811a0 | 42 61 6b 65 72 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 52 68 69 61 6e | Baker</li>.............<li>Rhian |
811c0 | 20 42 61 6b 65 72 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4a 65 66 66 | .Baker</li>.............<li>Jeff |
811e0 | 20 42 61 6c 6f 67 68 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4a 61 6e | .Balogh</li>.............<li>Jan |
81200 | 20 42 61 6d 62 61 73 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 52 65 79 | .Bambas</li>.............<li>Rey |
81220 | 20 42 61 6e 67 6f 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4d 61 72 6b | .Bango</li>.............<li>Mark |
81240 | 20 42 61 6e 6e 65 72 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4a 61 73 | .Banner</li>.............<li>Jas |
81260 | 6f 6e 20 42 61 72 6e 61 62 65 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e | on.Barnabe</li>.............<li> |
81280 | 44 61 76 69 64 20 42 61 72 6f 6e 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 | David.Baron</li>.............<li |
812a0 | 3e 43 6f 6c 69 6e 20 42 61 72 72 65 74 74 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 | >Colin.Barrett</li>............. |
812c0 | 3c 6c 69 3e 43 75 72 74 69 73 20 42 61 72 74 6c 65 79 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 | <li>Curtis.Bartley</li>......... |
812e0 | 20 20 20 20 3c 6c 69 3e 42 6f 20 42 61 79 6c 65 73 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 | ....<li>Bo.Bayles</li>.......... |
81300 | 20 20 20 3c 6c 69 3e 43 68 72 69 73 74 6f 70 68 65 72 20 42 65 61 72 64 3c 2f 6c 69 3e 0a 20 20 | ...<li>Christopher.Beard</li>... |
81320 | 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 47 6c 65 6e 20 42 65 61 73 6c 65 79 3c 2f 6c 69 3e 0a | ..........<li>Glen.Beasley</li>. |
81340 | 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4a 75 61 6e 20 42 65 63 65 72 72 61 3c 2f 6c 69 | ............<li>Juan.Becerra</li |
81360 | 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 42 72 69 61 6e 20 42 65 68 6c 65 6e 64 6f | >.............<li>Brian.Behlendo |
81380 | 72 66 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4d 69 6b 65 20 42 65 6c | rf</li>.............<li>Mike.Bel |
813a0 | 74 7a 6e 65 72 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4d 69 63 20 42 | tzner</li>.............<li>Mic.B |
813c0 | 65 72 6d 61 6e 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 55 72 69 20 42 | erman</li>.............<li>Uri.B |
813e0 | 65 72 6e 73 74 65 69 6e 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 43 68 | ernstein</li>.............<li>Ch |
81400 | 72 69 73 74 69 61 6e 20 42 69 65 73 69 6e 67 65 72 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 | ristian.Biesinger</li>.......... |
81420 | 20 20 20 3c 6c 69 3e 41 6c 20 42 69 6c 6c 69 6e 67 73 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 | ...<li>Al.Billings</li>......... |
81440 | 20 20 20 20 3c 6c 69 3e 53 65 74 68 20 42 69 6e 64 65 72 6e 61 67 65 6c 3c 2f 6c 69 3e 0a 20 20 | ....<li>Seth.Bindernagel</li>... |
81460 | 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4c 75 6b 61 73 20 42 6c 61 6b 6b 3c 2f 6c 69 3e 0a 20 | ..........<li>Lukas.Blakk</li>.. |
81480 | 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4a 69 6d 20 42 6c 61 6e 64 79 3c 2f 6c 69 3e 0a 20 | ...........<li>Jim.Blandy</li>.. |
814a0 | 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 43 68 72 69 73 20 42 6c 69 7a 7a 61 72 64 3c 2f 6c | ...........<li>Chris.Blizzard</l |
814c0 | 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4a 61 6d 65 79 20 42 6f 6a 65 3c 2f 6c | i>.............<li>Jamey.Boje</l |
814e0 | 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 44 61 76 69 64 20 42 6f 6c 74 65 72 3c | i>.............<li>David.Bolter< |
81500 | 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4e 65 6c 73 6f 6e 20 42 6f 6c 79 | /li>.............<li>Nelson.Boly |
81520 | 61 72 64 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4d 61 72 63 6f 20 42 | ard</li>.............<li>Marco.B |
81540 | 6f 6e 61 72 64 6f 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 43 61 72 73 | onardo</li>.............<li>Cars |
81560 | 74 65 6e 20 42 6f 6f 6b 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 50 61 | ten.Book</li>.............<li>Pa |
81580 | 75 6c 20 42 6f 6f 6b 65 72 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4a | ul.Booker</li>.............<li>J |
815a0 | 65 6e 6e 69 66 65 72 20 42 6f 72 69 73 73 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ennifer.Boriss</li>............. |
815c0 | 3c 6c 69 3e 44 61 6e 20 42 6f 72 6e 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c | <li>Dan.Born</li>.............<l |
815e0 | 69 3e 41 72 70 61 64 20 42 6f 72 73 6f 73 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 | i>Arpad.Borsos</li>............. |
81600 | 3c 6c 69 3e 44 61 76 69 64 20 42 6f 73 77 65 6c 6c 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 | <li>David.Boswell</li>.......... |
81620 | 20 20 20 3c 6c 69 3e 4f 6e 64 c5 99 65 6a 20 42 72 61 62 6c 63 3c 2f 6c 69 3e 0a 20 20 20 20 20 | ...<li>Ond..ej.Brablc</li>...... |
81640 | 20 20 20 20 20 20 20 3c 6c 69 3e 43 61 74 68 65 72 69 6e 65 20 42 72 61 64 79 3c 2f 6c 69 3e 0a | .......<li>Catherine.Brady</li>. |
81660 | 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 44 61 76 65 20 42 72 61 67 73 61 6c 6c 61 3c 2f | ............<li>Dave.Bragsalla</ |
81680 | 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 41 6c 65 78 20 42 75 63 68 61 6e 61 | li>.............<li>Alex.Buchana |
816a0 | 6e 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 49 67 6f 72 20 42 75 6b 61 | n</li>.............<li>Igor.Buka |
816c0 | 6e 6f 76 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 53 69 6d 6f 6e 20 42 | nov</li>.............<li>Simon.B |
816e0 | c3 bc 6e 7a 6c 69 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4c 61 70 6f | ..nzli</li>.............<li>Lapo |
81700 | 20 43 61 6c 61 6d 61 6e 64 72 65 69 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c | .Calamandrei</li>.............<l |
81720 | 69 3e 44 61 76 65 20 43 61 6d 70 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 | i>Dave.Camp</li>.............<li |
81740 | 3e 52 6f 62 20 43 61 6d 70 62 65 6c 6c 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c | >Rob.Campbell</li>.............< |
81760 | 6c 69 3e 52 65 67 69 73 20 43 61 73 70 61 72 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 | li>Regis.Caspar</li>............ |
81780 | 20 3c 6c 69 3e 47 61 72 72 65 74 74 20 43 61 73 74 6f 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 | .<li>Garrett.Casto</li>......... |
817a0 | 20 20 20 20 3c 6c 69 3e 54 6f 6e 79 20 43 68 61 6e 67 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 | ....<li>Tony.Chang</li>......... |
817c0 | 20 20 20 20 3c 6c 69 3e 57 61 6e 2d 54 65 68 20 43 68 61 6e 67 3c 2f 6c 69 3e 0a 20 20 20 20 20 | ....<li>Wan-Teh.Chang</li>...... |
817e0 | 20 20 20 20 20 20 20 3c 6c 69 3e 45 6d 69 6c 79 20 43 68 65 6e 3c 2f 6c 69 3e 0a 20 20 20 20 20 | .......<li>Emily.Chen</li>...... |
81800 | 20 20 20 20 20 20 20 3c 6c 69 3e 47 69 6e 6e 20 43 68 65 6e 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 | .......<li>Ginn.Chen</li>....... |
81820 | 20 20 20 20 20 20 3c 6c 69 3e 50 61 73 63 61 6c 20 43 68 65 76 72 65 6c 3c 2f 6c 69 3e 0a 20 20 | ......<li>Pascal.Chevrel</li>... |
81840 | 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 41 64 61 6d 20 43 68 72 69 73 74 69 61 6e 3c 2f 6c 69 | ..........<li>Adam.Christian</li |
81860 | 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 54 6f 6e 79 20 43 68 75 6e 67 3c 2f 6c 69 | >.............<li>Tony.Chung</li |
81880 | 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 42 6f 62 20 43 6c 61 72 79 3c 2f 6c 69 3e | >.............<li>Bob.Clary</li> |
818a0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 57 69 6c 20 43 6c 6f 75 73 65 72 3c 2f 6c 69 | .............<li>Wil.Clouser</li |
818c0 | 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4d 61 72 79 20 43 6f 6c 76 69 67 3c 2f 6c | >.............<li>Mary.Colvig</l |
818e0 | 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4d 61 6a 6b 65 6e 20 43 6f 6e 6e 6f 72 | i>.............<li>Majken.Connor |
81900 | 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4d 69 6b 65 20 43 6f 6e 6e 6f | </li>.............<li>Mike.Conno |
81920 | 72 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 43 68 72 69 73 20 43 6f 6f | r</li>.............<li>Chris.Coo |
81940 | 70 65 72 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 45 72 69 63 20 43 6f | per</li>.............<li>Eric.Co |
81960 | 6f 70 65 72 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 50 61 75 6c 20 43 | oper</li>.............<li>Paul.C |
81980 | 72 61 63 69 75 6e 6f 69 75 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 42 | raciunoiu</li>.............<li>B |
819a0 | 72 69 61 6e 20 43 72 6f 77 64 65 72 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c | rian.Crowder</li>.............<l |
819c0 | 69 3e 4a 6f 68 6e 20 44 61 67 67 65 74 74 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 | i>John.Daggett</li>............. |
819e0 | 3c 6c 69 3e 44 61 76 69 64 20 44 61 68 6c 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 | <li>David.Dahl</li>............. |
81a00 | 3c 6c 69 3e 4d 69 63 68 61 65 6c 20 44 61 76 69 73 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 | <li>Michael.Davis</li>.......... |
81a20 | 20 20 20 3c 6c 69 3e 4e 65 69 6c 20 44 65 61 6b 69 6e 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 | ...<li>Neil.Deakin</li>......... |
81a40 | 20 20 20 20 3c 6c 69 3e 4a 75 6c 69 65 20 44 65 72 6f 63 68 65 3c 2f 6c 69 3e 0a 20 20 20 20 20 | ....<li>Julie.Deroche</li>...... |
81a60 | 20 20 20 20 20 20 20 3c 6c 69 3e 41 61 6b 61 73 68 20 44 65 73 61 69 3c 2f 6c 69 3e 0a 20 20 20 | .......<li>Aakash.Desai</li>.... |
81a80 | 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 52 79 61 6e 20 44 6f 68 65 72 74 79 3c 2f 6c 69 3e 0a 20 | .........<li>Ryan.Doherty</li>.. |
81aa0 | 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4a 75 73 74 69 6e 20 44 6f 6c 73 6b 65 3c 2f 6c 69 | ...........<li>Justin.Dolske</li |
81ac0 | 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 53 74 65 70 68 65 6e 20 44 6f 6e 6e 65 72 | >.............<li>Stephen.Donner |
81ae0 | 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 41 73 61 20 44 6f 74 7a 6c 65 | </li>.............<li>Asa.Dotzle |
81b00 | 72 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 43 68 72 69 73 20 44 6f 75 | r</li>.............<li>Chris.Dou |
81b20 | 62 6c 65 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4a 6f 65 20 44 72 65 | ble</li>.............<li>Joe.Dre |
81b40 | 77 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4a 61 73 6f 6e 20 44 75 65 | w</li>.............<li>Jason.Due |
81b60 | 6c 6c 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4b 61 72 73 74 65 6e 20 | ll</li>.............<li>Karsten. |
81b80 | 44 c3 bc 73 74 65 72 6c 6f 68 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e | D..sterloh</li>.............<li> |
81ba0 | 42 72 65 6e 64 61 6e 20 45 69 63 68 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c | Brendan.Eich</li>.............<l |
81bc0 | 69 3e 44 61 6e 69 65 6c 20 45 69 6e 73 70 61 6e 6a 65 72 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 | i>Daniel.Einspanjer</li>........ |
81be0 | 20 20 20 20 20 3c 6c 69 3e 4b 61 69 20 45 6e 67 65 72 74 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 | .....<li>Kai.Engert</li>........ |
81c00 | 20 20 20 20 20 3c 6c 69 3e 53 74 65 76 65 20 45 6e 67 6c 61 6e 64 3c 2f 6c 69 3e 0a 20 20 20 20 | .....<li>Steve.England</li>..... |
81c20 | 20 20 20 20 20 20 20 20 3c 6c 69 3e 4d 61 64 68 61 76 61 20 45 6e 72 6f 73 3c 2f 6c 69 3e 0a 20 | ........<li>Madhava.Enros</li>.. |
81c40 | 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 42 65 68 64 61 64 20 45 73 66 61 68 62 6f 64 3c 2f | ...........<li>Behdad.Esfahbod</ |
81c60 | 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 45 6c 69 6b 61 20 45 74 65 6d 61 64 | li>.............<li>Elika.Etemad |
81c80 | 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 41 6e 74 68 6f 6e 79 20 45 76 | </li>.............<li>Anthony.Ev |
81ca0 | 61 6e 73 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4a 61 73 6f 6e 20 45 | ans</li>.............<li>Jason.E |
81cc0 | 76 61 6e 73 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 41 6c 65 78 20 46 | vans</li>.............<li>Alex.F |
81ce0 | 61 61 62 6f 72 67 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4a 61 6e 65 | aaborg</li>.............<li>Jane |
81d00 | 20 46 69 6e 65 74 74 65 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4d 61 | .Finette</li>.............<li>Ma |
81d20 | 72 6b 20 46 69 6e 6b 6c 65 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 44 | rk.Finkle</li>.............<li>D |
81d40 | 61 72 69 6e 20 46 69 73 68 65 72 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 | arin.Fisher</li>.............<li |
81d60 | 3e 4a 61 79 73 6f 6e 20 46 69 74 74 69 70 61 6c 64 69 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 | >Jayson.Fittipaldi</li>......... |
81d80 | 20 20 20 20 3c 6c 69 3e 4a 75 73 74 69 6e 20 46 69 74 7a 68 75 67 68 3c 2f 6c 69 3e 0a 20 20 20 | ....<li>Justin.Fitzhugh</li>.... |
81da0 | 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 52 79 61 6e 20 46 6c 69 6e 74 3c 2f 6c 69 3e 0a 20 20 20 | .........<li>Ryan.Flint</li>.... |
81dc0 | 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 41 6c 69 78 20 46 72 61 6e 71 75 65 74 3c 2f 6c 69 3e 0a | .........<li>Alix.Franquet</li>. |
81de0 | 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 45 6c 69 20 46 72 69 65 64 6d 61 6e 3c 2f 6c 69 | ............<li>Eli.Friedman</li |
81e00 | 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 41 6e 64 72 65 61 73 20 47 61 6c 3c 2f 6c | >.............<li>Andreas.Gal</l |
81e20 | 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 53 74 65 76 65 6e 20 47 61 72 72 69 74 | i>.............<li>Steven.Garrit |
81e40 | 79 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 41 72 6d 65 6e 20 5a 61 6d | y</li>.............<li>Armen.Zam |
81e60 | 62 72 61 6e 6f 20 47 61 73 70 61 72 6e 69 61 6e 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 | brano.Gasparnian</li>........... |
81e80 | 20 20 3c 6c 69 3e 53 65 72 67 65 20 47 61 75 74 68 65 72 69 65 3c 2f 6c 69 3e 0a 20 20 20 20 20 | ..<li>Serge.Gautherie</li>...... |
81ea0 | 20 20 20 20 20 20 20 3c 6c 69 3e 4b 65 76 69 6e 20 47 65 72 69 63 68 3c 2f 6c 69 3e 0a 20 20 20 | .......<li>Kevin.Gerich</li>.... |
81ec0 | 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 54 61 72 61 73 20 47 6c 65 6b 3c 2f 6c 69 3e 0a 20 20 20 | .........<li>Taras.Glek</li>.... |
81ee0 | 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 41 72 61 76 69 6e 64 20 47 6f 74 74 69 70 61 74 69 3c 2f | .........<li>Aravind.Gottipati</ |
81f00 | 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 44 c3 a3 6f 20 47 6f 74 74 77 61 6c | li>.............<li>D..o.Gottwal |
81f20 | 64 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 5a 61 6b 20 47 72 65 61 6e | d</li>.............<li>Zak.Grean |
81f40 | 74 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4d 61 74 74 68 65 77 20 47 | t</li>.............<li>Matthew.G |
81f60 | 72 65 67 61 6e 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 57 69 6c 6c 20 | regan</li>.............<li>Will. |
81f80 | 47 75 61 72 61 6c 64 69 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 41 64 | Guaraldi</li>.............<li>Ad |
81fa0 | 61 6d 20 47 75 74 68 72 69 65 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e | am.Guthrie</li>.............<li> |
81fc0 | 4d 6f 68 61 6d 6d 61 64 20 52 65 7a 61 20 48 61 67 68 69 67 68 61 74 3c 2f 6c 69 3e 0a 20 20 20 | Mohammad.Reza.Haghighat</li>.... |
81fe0 | 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 41 6e 64 72 65 69 20 48 61 6a 64 75 6b 65 77 79 63 7a 3c | .........<li>Andrei.Hajdukewycz< |
82000 | 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 54 72 65 76 6f 72 20 48 61 72 64 | /li>.............<li>Trevor.Hard |
82020 | 63 61 73 74 6c 65 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 42 61 73 69 | castle</li>.............<li>Basi |
82040 | 6c 20 48 61 73 68 65 6d 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 49 61 | l.Hashem</li>.............<li>Ia |
82060 | 6e 20 48 61 79 77 61 72 64 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 42 | n.Hayward</li>.............<li>B |
82080 | 65 6e 20 48 65 61 72 73 75 6d 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e | en.Hearsum</li>.............<li> |
820a0 | 41 78 65 6c 20 48 65 63 68 74 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e | Axel.Hecht</li>.............<li> |
820c0 | 46 72 61 6e 6b 20 48 65 63 6b 65 72 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c | Frank.Hecker</li>.............<l |
820e0 | 69 3e 52 6f 62 65 72 74 20 48 65 6c 6d 65 72 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 | i>Robert.Helmer</li>............ |
82100 | 20 3c 6c 69 3e 53 74 65 66 61 6e 20 48 65 72 6d 65 73 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 | .<li>Stefan.Hermes</li>......... |
82120 | 20 20 20 20 3c 6c 69 3e 4a 6f 6e 20 48 69 63 6b 73 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 | ....<li>Jon.Hicks</li>.......... |
82140 | 20 20 20 3c 6c 69 3e 47 72 61 79 64 6f 6e 20 48 6f 61 72 65 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 | ...<li>Graydon.Hoare</li>....... |
82160 | 20 20 20 20 20 20 3c 6c 69 3e 43 68 72 69 73 20 48 6f 66 6d 61 6e 6e 3c 2f 6c 69 3e 0a 20 20 20 | ......<li>Chris.Hofmann</li>.... |
82180 | 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 54 69 6d 6f 74 68 79 20 48 6f 67 61 6e 3c 2f 6c 69 3e 0a | .........<li>Timothy.Hogan</li>. |
821a0 | 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 44 61 6e 69 65 6c 20 48 6f 6c 62 65 72 74 3c 2f | ............<li>Daniel.Holbert</ |
821c0 | 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 42 6f 62 62 79 20 48 6f 6c 6c 65 79 | li>.............<li>Bobby.Holley |
821e0 | 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4d 69 6b 65 20 48 6f 6d 6d 65 | </li>.............<li>Mike.Homme |
82200 | 79 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 53 74 65 70 68 65 6e 20 48 | y</li>.............<li>Stephen.H |
82220 | 6f 72 6c 61 6e 64 65 72 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 42 61 | orlander</li>.............<li>Ba |
82240 | 72 62 61 72 61 20 48 75 65 70 70 65 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c | rbara.Hueppe</li>.............<l |
82260 | 69 3e 41 6e 74 68 6f 6e 79 20 48 75 67 68 65 73 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 | i>Anthony.Hughes</li>........... |
82280 | 20 20 3c 6c 69 3e 44 61 76 69 64 20 48 75 6d 70 68 72 65 79 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 | ..<li>David.Humphrey</li>....... |
822a0 | 20 20 20 20 20 20 3c 6c 69 3e 54 61 6b 65 73 68 69 20 49 63 68 69 6d 61 72 75 3c 2f 6c 69 3e 0a | ......<li>Takeshi.Ichimaru</li>. |
822c0 | 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 43 68 72 69 73 20 49 6c 69 61 73 3c 2f 6c 69 3e | ............<li>Chris.Ilias</li> |
822e0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 45 72 69 20 49 6e 6f 75 65 3c 2f 6c 69 3e 0a | .............<li>Eri.Inoue</li>. |
82300 | 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4a 6f 69 63 68 69 20 49 74 6f 3c 2f 6c 69 3e 0a | ............<li>Joichi.Ito</li>. |
82320 | 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 53 74 65 76 65 6e 20 4a 6f 68 6e 73 6f 6e 3c 2f | ............<li>Steven.Johnson</ |
82340 | 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4c 61 75 72 65 6e 74 20 4a 6f 75 61 | li>.............<li>Laurent.Joua |
82360 | 6e 6e 65 61 75 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 52 6f 62 65 72 | nneau</li>.............<li>Rober |
82380 | 74 20 4b 61 69 73 65 72 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 47 65 | t.Kaiser</li>.............<li>Ge |
823a0 | 6e 20 4b 61 6e 61 69 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4d 61 73 | n.Kanai</li>.............<li>Mas |
823c0 | 61 6e 6f 72 69 20 4b 61 6e 65 6b 6f 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c | anori.Kaneko</li>.............<l |
823e0 | 69 3e 42 6c 61 6b 65 20 4b 61 70 6c 61 6e 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 | i>Blake.Kaplan</li>............. |
82400 | 3c 6c 69 3e 4d 69 6b 65 20 4b 61 70 6c 69 6e 73 6b 69 79 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 | <li>Mike.Kaplinskiy</li>........ |
82420 | 20 20 20 20 20 3c 6c 69 3e 4d 69 63 68 61 65 6c 20 4b 61 70 6c 79 3c 2f 6c 69 3e 0a 20 20 20 20 | .....<li>Michael.Kaply</li>..... |
82440 | 20 20 20 20 20 20 20 20 3c 6c 69 3e 4d 69 74 63 68 20 4b 61 70 6f 72 3c 2f 6c 69 3e 0a 20 20 20 | ........<li>Mitch.Kapor</li>.... |
82460 | 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4b 61 7a 75 79 6f 73 68 69 20 4b 61 74 6f 3c 2f 6c 69 3e | .........<li>Kazuyoshi.Kato</li> |
82480 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 54 6f 6d 6f 6d 69 20 4b 61 74 6f 3c 2f 6c 69 | .............<li>Tomomi.Kato</li |
824a0 | 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 41 6c 66 72 65 64 20 4b 61 79 73 65 72 3c | >.............<li>Alfred.Kayser< |
824c0 | 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4a 6f 6e 61 74 68 61 6e 20 4b 65 | /li>.............<li>Jonathan.Ke |
824e0 | 77 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 50 61 75 6c 20 4b 69 6d 3c | w</li>.............<li>Paul.Kim< |
82500 | 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4d 61 73 61 74 6f 73 68 69 20 4b | /li>.............<li>Masatoshi.K |
82520 | 69 6d 75 72 61 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 41 75 73 74 69 | imura</li>.............<li>Austi |
82540 | 6e 20 4b 69 6e 67 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 52 69 61 20 | n.King</li>.............<li>Ria. |
82560 | 4b 6c 61 61 73 73 65 6e 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4d 61 | Klaassen</li>.............<li>Ma |
82580 | 72 63 69 61 20 4b 6e 6f 75 73 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e | rcia.Knous</li>.............<li> |
825a0 | 4e 65 6c 73 6f 6e 20 4b 6f 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4d | Nelson.Ko</li>.............<li>M |
825c0 | 69 63 68 61 65 6c 20 4b 6f 68 6c 65 72 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c | ichael.Kohler</li>.............< |
825e0 | 6c 69 3e 47 61 72 79 20 4b 77 6f 6e 67 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c | li>Gary.Kwong</li>.............< |
82600 | 6c 69 3e 44 61 76 69 64 20 4c 61 6e 68 61 6d 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 | li>David.Lanham</li>............ |
82620 | 20 3c 6c 69 3e 42 72 61 64 20 4c 61 73 73 65 79 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 | .<li>Brad.Lassey</li>........... |
82640 | 20 20 3c 6c 69 3e 44 65 6c 70 68 69 6e 65 20 4c 65 62 c3 a9 64 65 6c 3c 2f 6c 69 3e 0a 20 20 20 | ..<li>Delphine.Leb..del</li>.... |
82660 | 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 45 64 77 61 72 64 20 4c 65 65 3c 2f 6c 69 3e 0a 20 20 20 | .........<li>Edward.Lee</li>.... |
82680 | 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4e 65 69 6c 20 4c 65 65 3c 2f 6c 69 3e 0a 20 20 20 20 20 | .........<li>Neil.Lee</li>...... |
826a0 | 20 20 20 20 20 20 20 3c 6c 69 3e 52 61 79 6d 6f 6e 64 20 4c 65 65 3c 2f 6c 69 3e 0a 20 20 20 20 | .......<li>Raymond.Lee</li>..... |
826c0 | 20 20 20 20 20 20 20 20 3c 6c 69 3e 47 61 72 72 65 74 74 20 4c 65 53 61 67 65 3c 2f 6c 69 3e 0a | ........<li>Garrett.LeSage</li>. |
826e0 | 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 41 61 72 6f 6e 20 4c 65 76 65 6e 74 68 61 6c 3c | ............<li>Aaron.Leventhal< |
82700 | 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 41 6e 6e 65 2d 4a 75 6c 69 65 20 | /li>.............<li>Anne-Julie. |
82720 | 4c 69 67 6e 65 61 75 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4a 6f 68 | Ligneau</li>.............<li>Joh |
82740 | 6e 20 4c 69 6c 6c 79 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 5a 61 63 | n.Lilly</li>.............<li>Zac |
82760 | 68 20 4c 69 70 74 6f 6e 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4b 61 | h.Lipton</li>.............<li>Ka |
82780 | 69 20 4c 69 75 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 52 65 65 64 20 | i.Liu</li>.............<li>Reed. |
827a0 | 4c 6f 64 65 6e 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4c 61 72 73 20 | Loden</li>.............<li>Lars. |
827c0 | 4c 6f 68 6e 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 52 6f 62 65 72 74 | Lohn</li>.............<li>Robert |
827e0 | 20 4c 6f 6e 67 73 6f 6e 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 42 6f | .Longson</li>.............<li>Bo |
82800 | 62 20 4c 6f 72 64 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 50 68 69 6c | b.Lord</li>.............<li>Phil |
82820 | 20 4d 61 63 68 61 6c 73 6b 69 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e | .Machalski</li>.............<li> |
82840 | 4a 6f 65 6c 20 4d 61 68 65 72 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e | Joel.Maher</li>.............<li> |
82860 | 45 72 65 20 4d 61 69 6a 61 6c 61 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 | Ere.Maijala</li>.............<li |
82880 | 3e 44 61 76 69 64 20 4d 61 6e 64 65 6c 69 6e 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 | >David.Mandelin</li>............ |
828a0 | 20 3c 6c 69 3e 47 65 72 76 61 73 65 20 4d 61 72 6b 68 61 6d 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 | .<li>Gervase.Markham</li>....... |
828c0 | 20 20 20 20 20 20 3c 6c 69 3e 53 65 61 6e 20 4d 61 72 74 65 6c 6c 3c 2f 6c 69 3e 0a 20 20 20 20 | ......<li>Sean.Martell</li>..... |
828e0 | 20 20 20 20 20 20 20 20 3c 6c 69 3e 4a 69 6d 20 4d 61 74 68 69 65 73 3c 2f 6c 69 3e 0a 20 20 20 | ........<li>Jim.Mathies</li>.... |
82900 | 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 45 72 69 63 61 20 4d 63 43 6c 75 72 65 3c 2f 6c 69 3e 0a | .........<li>Erica.McClure</li>. |
82920 | 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 47 72 61 65 6d 65 20 4d 63 43 75 74 63 68 65 6f | ............<li>Graeme.McCutcheo |
82940 | 6e 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 50 61 74 72 69 63 6b 20 4d | n</li>.............<li>Patrick.M |
82960 | 63 4d 61 6e 75 73 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 48 65 61 74 | cManus</li>.............<li>Heat |
82980 | 68 65 72 20 4d 65 65 6b 65 72 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e | her.Meeker</li>.............<li> |
829a0 | 57 61 6c 74 65 72 20 4d 65 69 6e 6c 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c | Walter.Meinl</li>.............<l |
829c0 | 69 3e 4d 79 6b 20 4d 65 6c 65 7a 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 | i>Myk.Melez</li>.............<li |
829e0 | 3e 46 65 64 65 72 69 63 6f 20 4d 65 6e 61 2d 51 75 69 6e 74 65 72 6f 3c 2f 6c 69 3e 0a 20 20 20 | >Federico.Mena-Quintero</li>.... |
82a00 | 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4d 61 72 6b 20 4d 65 6e 74 6f 76 61 69 3c 2f 6c 69 3e 0a | .........<li>Mark.Mentovai</li>. |
82a20 | 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4c 61 75 72 61 20 4d 65 73 61 3c 2f 6c 69 3e 0a | ............<li>Laura.Mesa</li>. |
82a40 | 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 53 74 65 76 65 6e 20 4d 69 63 68 61 75 64 3c 2f | ............<li>Steven.Michaud</ |
82a60 | 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4d 61 74 74 68 65 77 20 4d 69 64 64 | li>.............<li>Matthew.Midd |
82a80 | 6c 65 74 6f 6e 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 54 65 64 20 4d | leton</li>.............<li>Ted.M |
82aa0 | 69 65 6c 63 7a 61 72 65 6b 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 42 | ielczarek</li>.............<li>B |
82ac0 | 65 72 6e 64 20 4d 69 65 6c 6b 65 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 | ernd.Mielke</li>.............<li |
82ae0 | 3e 44 61 76 65 20 4d 69 6c 6c 65 72 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c | >Dave.Miller</li>.............<l |
82b00 | 69 3e 44 61 6e 20 4d 69 6c 6c 73 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 | i>Dan.Mills</li>.............<li |
82b20 | 3e 4d 69 63 68 61 65 6c 20 4d 6f 6e 72 65 61 6c 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 | >Michael.Monreal</li>........... |
82b40 | 20 20 3c 6c 69 3e 53 69 6d 6f 6e 20 4d 6f 6e 74 61 67 75 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 | ..<li>Simon.Montagu</li>........ |
82b60 | 20 20 20 20 20 3c 6c 69 3e 44 65 72 65 6b 20 4d 6f 6f 72 65 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 | .....<li>Derek.Moore</li>....... |
82b80 | 20 20 20 20 20 20 3c 6c 69 3e 4d 69 6b 65 20 4d 6f 72 67 61 6e 3c 2f 6c 69 3e 0a 20 20 20 20 20 | ......<li>Mike.Morgan</li>...... |
82ba0 | 20 20 20 20 20 20 20 3c 6c 69 3e 54 69 66 66 6e 65 79 20 4d 6f 72 74 65 6e 73 65 6e 3c 2f 6c 69 | .......<li>Tiffney.Mortensen</li |
82bc0 | 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 44 61 6e 20 4d 6f 73 65 64 61 6c 65 3c 2f | >.............<li>Dan.Mosedale</ |
82be0 | 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4d 69 63 68 61 65 6c 20 4d 6f 79 3c | li>.............<li>Michael.Moy< |
82c00 | 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4a 65 66 66 20 4d 75 69 7a 65 6c | /li>.............<li>Jeff.Muizel |
82c20 | 61 61 72 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4d 61 73 61 79 75 6b | aar</li>.............<li>Masayuk |
82c40 | 69 20 4e 61 6b 61 6e 6f 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4d 75 | i.Nakano</li>.............<li>Mu |
82c60 | 72 61 6c 69 20 4e 61 6e 64 69 67 61 6d 61 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 | rali.Nandigama</li>............. |
82c80 | 3c 6c 69 3e 4d 61 72 72 69 61 20 4e 61 7a 69 66 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 | <li>Marria.Nazif</li>........... |
82ca0 | 20 20 3c 6c 69 3e 4b 65 76 20 4e 65 65 64 68 61 6d 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 | ..<li>Kev.Needham</li>.......... |
82cc0 | 20 20 20 3c 6c 69 3e 4b 61 6f 72 69 20 4e 65 67 6f 72 6f 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 | ...<li>Kaori.Negoro</li>........ |
82ce0 | 20 20 20 20 20 3c 6c 69 3e 4e 69 63 68 6f 6c 61 73 20 4e 65 74 68 65 72 63 6f 74 65 3c 2f 6c 69 | .....<li>Nicholas.Nethercote</li |
82d00 | 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 42 65 6e 20 4e 65 77 6d 61 6e 3c 2f 6c 69 | >.............<li>Ben.Newman</li |
82d20 | 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4e 69 63 6b 20 4e 67 75 79 65 6e 3c 2f 6c | >.............<li>Nick.Nguyen</l |
82d40 | 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4a 6f 68 6e 61 74 68 61 6e 20 4e 69 67 | i>.............<li>Johnathan.Nig |
82d60 | 68 74 69 6e 67 61 6c 65 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 54 69 | htingale</li>.............<li>Ti |
82d80 | 6d 6f 74 68 79 20 4e 69 6b 6b 65 6c 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c | mothy.Nikkel</li>.............<l |
82da0 | 69 3e 41 6e 64 72 65 61 73 20 4e 69 6c 73 73 6f 6e 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 | i>Andreas.Nilsson</li>.......... |
82dc0 | 20 20 20 3c 6c 69 3e 54 72 69 73 74 61 6e 20 4e 69 74 6f 74 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 | ...<li>Tristan.Nitot</li>....... |
82de0 | 20 20 20 20 20 20 3c 6c 69 3e 41 6c 69 63 65 20 4e 6f 64 65 6c 6d 61 6e 3c 2f 6c 69 3e 0a 20 20 | ......<li>Alice.Nodelman</li>... |
82e00 | 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4d 61 74 74 68 65 77 20 4e 6f 6f 72 65 6e 62 65 72 67 | ..........<li>Matthew.Noorenberg |
82e20 | 68 65 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4d 69 63 68 61 6c 20 4e | he</li>.............<li>Michal.N |
82e40 | 6f 76 6f 74 6e 79 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 52 6f 62 65 | ovotny</li>.............<li>Robe |
82e60 | 72 74 20 4f 27 43 61 6c 6c 61 68 61 6e 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c | rt.O'Callahan</li>.............< |
82e80 | 6c 69 3e 4a 6f 68 6e 20 4f 27 44 75 69 6e 6e 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 | li>John.O'Duinn</li>............ |
82ea0 | 20 3c 6c 69 3e 50 61 75 6c 20 4f 27 53 68 61 6e 6e 65 73 73 79 3c 2f 6c 69 3e 0a 20 20 20 20 20 | .<li>Paul.O'Shannessy</li>...... |
82ec0 | 20 20 20 20 20 20 20 3c 6c 69 3e 4a 61 6e 20 4f 64 76 c3 a1 72 6b 6f 3c 2f 6c 69 3e 0a 20 20 20 | .......<li>Jan.Odv..rko</li>.... |
82ee0 | 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 54 6f 6d 6f 79 75 6b 69 20 4f 6b 61 7a 61 6b 69 3c 2f 6c | .........<li>Tomoyuki.Okazaki</l |
82f00 | 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4c 65 73 20 4f 72 63 68 61 72 64 3c 2f | i>.............<li>Les.Orchard</ |
82f20 | 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4a 65 72 65 6d 79 20 4f 72 65 6d 3c | li>.............<li>Jeremy.Orem< |
82f40 | 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4a 61 73 6f 6e 20 4f 72 65 6e 64 | /li>.............<li>Jason.Orend |
82f60 | 6f 72 66 66 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 48 69 64 65 6f 20 | orff</li>.............<li>Hideo. |
82f80 | 4f 73 68 69 6d 61 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4d 61 74 73 | Oshima</li>.............<li>Mats |
82fa0 | 20 50 61 6c 6d 67 72 65 6e 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 53 | .Palmgren</li>.............<li>S |
82fc0 | 74 75 61 72 74 20 50 61 72 6d 65 6e 74 65 72 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 | tuart.Parmenter</li>............ |
82fe0 | 20 3c 6c 69 3e 4a 61 79 20 50 61 74 65 6c 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 | .<li>Jay.Patel</li>............. |
83000 | 3c 6c 69 3e 43 68 72 69 73 20 50 65 61 72 63 65 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 | <li>Chris.Pearce</li>........... |
83020 | 20 20 3c 6c 69 3e 4a 61 76 69 65 72 20 50 65 64 65 6d 6f 6e 74 65 3c 2f 6c 69 3e 0a 20 20 20 20 | ..<li>Javier.Pedemonte</li>..... |
83040 | 20 20 20 20 20 20 20 20 3c 6c 69 3e 41 6c 66 72 65 64 20 50 65 6e 67 3c 2f 6c 69 3e 0a 20 20 20 | ........<li>Alfred.Peng</li>.... |
83060 | 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 43 68 72 69 73 74 69 61 6e 20 50 65 72 73 63 68 3c 2f 6c | .........<li>Christian.Persch</l |
83080 | 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4b 61 6c 6c 65 20 50 65 72 73 73 6f 6e | i>.............<li>Kalle.Persson |
830a0 | 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 55 6c 69 73 73 65 20 50 65 72 | </li>.............<li>Ulisse.Per |
830c0 | 75 73 69 6e 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4f 6c 6c 69 20 50 | usin</li>.............<li>Olli.P |
830e0 | 65 74 74 61 79 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4a 75 6c 69 65 | ettay</li>.............<li>Julie |
83100 | 6e 20 50 69 65 72 72 65 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 41 6e | n.Pierre</li>.............<li>An |
83120 | 74 68 6f 6e 79 20 50 69 72 61 69 6e 6f 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c | thony.Piraino</li>.............< |
83140 | 6c 69 3e 41 6c 65 78 20 50 6f 6c 76 69 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c | li>Alex.Polvi</li>.............< |
83160 | 6c 69 3e 4e 69 63 6b 6f 6c 61 79 20 50 6f 6e 6f 6d 61 72 65 76 3c 2f 6c 69 3e 0a 20 20 20 20 20 | li>Nickolay.Ponomarev</li>...... |
83180 | 20 20 20 20 20 20 20 3c 6c 69 3e 44 61 6e 20 50 6f 72 74 69 6c 6c 6f 3c 2f 6c 69 3e 0a 20 20 20 | .......<li>Dan.Portillo</li>.... |
831a0 | 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4b 61 72 65 6e 20 50 72 65 73 63 6f 74 74 3c 2f 6c 69 3e | .........<li>Karen.Prescott</li> |
831c0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 46 6c 6f 72 69 61 6e 20 51 75 c3 a8 7a 65 3c | .............<li>Florian.Qu..ze< |
831e0 | 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4b 72 75 70 61 20 52 61 6a 3c 2f | /li>.............<li>Krupa.Raj</ |
83200 | 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 41 72 75 6e 20 52 61 6e 67 61 6e 61 | li>.............<li>Arun.Rangana |
83220 | 74 68 61 6e 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4e 65 69 6c 20 52 | than</li>.............<li>Neil.R |
83240 | 61 73 68 62 72 6f 6f 6b 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 42 72 | ashbrook</li>.............<li>Br |
83260 | 65 74 20 52 65 63 6b 61 72 64 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e | et.Reckard</li>.............<li> |
83280 | 4a 2e 20 50 61 75 6c 20 52 65 65 64 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c | J..Paul.Reed</li>.............<l |
832a0 | 69 3e 52 69 63 6b 20 52 65 69 74 6d 61 69 65 72 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 | i>Rick.Reitmaier</li>........... |
832c0 | 20 20 3c 6c 69 3e 52 6f 62 65 72 74 20 52 65 6c 79 65 61 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 | ..<li>Robert.Relyea</li>........ |
832e0 | 20 20 20 20 20 3c 6c 69 3e 4a 6f 68 6e 20 52 65 73 69 67 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 | .....<li>John.Resig</li>........ |
83300 | 20 20 20 20 20 3c 6c 69 3e 44 65 62 20 52 69 63 68 61 72 64 73 6f 6e 3c 2f 6c 69 3e 0a 20 20 20 | .....<li>Deb.Richardson</li>.... |
83320 | 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 54 69 6d 20 52 69 6c 65 79 3c 2f 6c 69 3e 0a 20 20 20 20 | .........<li>Tim.Riley</li>..... |
83340 | 20 20 20 20 20 20 20 20 3c 6c 69 3e 50 68 69 6c 20 52 69 6e 67 6e 61 6c 64 61 3c 2f 6c 69 3e 0a | ........<li>Phil.Ringnalda</li>. |
83360 | 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4a 75 6c 69 65 6e 20 52 69 76 61 75 64 3c 2f 6c | ............<li>Julien.Rivaud</l |
83380 | 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4d 69 6b 65 61 6c 20 52 6f 67 65 72 73 | i>.............<li>Mikeal.Rogers |
833a0 | 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 44 61 76 69 64 20 52 6f 6c 6e | </li>.............<li>David.Roln |
833c0 | 69 74 7a 6b 79 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 41 73 61 66 20 | itzky</li>.............<li>Asaf. |
833e0 | 52 6f 6d 61 6e 6f 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4f 6c 65 67 | Romano</li>.............<li>Oleg |
83400 | 20 52 6f 6d 61 73 68 69 6e 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 50 | .Romashin</li>.............<li>P |
83420 | 61 75 6c 20 52 6f 75 67 65 74 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e | aul.Rouget</li>.............<li> |
83440 | 54 69 6d 20 52 6f 77 6c 65 79 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e | Tim.Rowley</li>.............<li> |
83460 | 4a 65 73 73 65 20 52 75 64 65 72 6d 61 6e 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 | Jesse.Ruderman</li>............. |
83480 | 3c 6c 69 3e 42 72 69 61 6e 20 52 79 6e 65 72 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 | <li>Brian.Ryner</li>............ |
834a0 | 20 3c 6c 69 3e 41 6c 65 78 61 6e 64 65 72 20 53 61 63 6b 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 | .<li>Alexander.Sack</li>........ |
834c0 | 20 20 20 20 20 3c 6c 69 3e 48 69 64 65 6f 20 53 61 69 74 6f 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 | .....<li>Hideo.Saito</li>....... |
834e0 | 20 20 20 20 20 20 3c 6c 69 3e 41 74 73 75 73 68 69 20 53 61 6b 61 69 3c 2f 6c 69 3e 0a 20 20 20 | ......<li>Atsushi.Sakai</li>.... |
83500 | 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 45 69 6b 6f 20 53 61 6b 75 6d 61 3c 2f 6c 69 3e 0a 20 20 | .........<li>Eiko.Sakuma</li>... |
83520 | 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 41 6e 64 72 65 69 20 53 61 70 72 79 6b 69 6e 3c 2f 6c | ..........<li>Andrei.Saprykin</l |
83540 | 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 41 6b 69 20 53 61 73 61 6b 69 3c 2f 6c | i>.............<li>Aki.Sasaki</l |
83560 | 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4b 65 6e 20 53 61 75 6e 64 65 72 73 3c | i>.............<li>Ken.Saunders< |
83580 | 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 52 6f 62 65 72 74 20 53 61 79 72 | /li>.............<li>Robert.Sayr |
835a0 | 65 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4d 69 6b 65 20 53 63 68 72 | e</li>.............<li>Mike.Schr |
835c0 | 6f 65 70 66 65 72 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4b 75 72 74 | oepfer</li>.............<li>Kurt |
835e0 | 20 53 63 68 75 6c 74 7a 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4b 65 | .Schultz</li>.............<li>Ke |
83600 | 69 74 68 20 53 63 68 77 61 72 7a 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 | ith.Schwarz</li>.............<li |
83620 | 3e 4a 75 73 74 69 6e 20 53 63 6f 74 74 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c | >Justin.Scott</li>.............< |
83640 | 6c 69 3e 48 69 72 6f 73 68 69 20 53 65 6b 69 79 61 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 | li>Hiroshi.Sekiya</li>.......... |
83660 | 20 20 20 3c 6c 69 3e 54 61 72 61 20 53 68 61 68 69 61 6e 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 | ...<li>Tara.Shahian</li>........ |
83680 | 20 20 20 20 20 3c 6c 69 3e 4d 65 6c 69 73 73 61 20 53 68 61 70 69 72 6f 3c 2f 6c 69 3e 0a 20 20 | .....<li>Melissa.Shapiro</li>... |
836a0 | 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 47 61 76 69 6e 20 53 68 61 72 70 3c 2f 6c 69 3e 0a 20 | ..........<li>Gavin.Sharp</li>.. |
836c0 | 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4d 69 6b 65 20 53 68 61 76 65 72 3c 2f 6c 69 3e 0a | ...........<li>Mike.Shaver</li>. |
836e0 | 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 45 72 69 63 20 53 68 65 70 68 65 72 64 3c 2f 6c | ............<li>Eric.Shepherd</l |
83700 | 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 48 69 72 6f 73 68 69 20 53 68 69 6d 6f | i>.............<li>Hiroshi.Shimo |
83720 | 64 61 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 41 74 73 75 73 68 69 20 | da</li>.............<li>Atsushi. |
83740 | 53 68 69 6d 6f 6e 6f 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4a 75 6e | Shimono</li>.............<li>Jun |
83760 | 67 73 68 69 6b 20 53 68 69 6e 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e | gshik.Shin</li>.............<li> |
83780 | 4a 6f 6e 61 73 20 53 69 63 6b 69 6e 67 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c | Jonas.Sicking</li>.............< |
837a0 | 6c 69 3e 44 61 6d 6f 6e 20 53 69 63 6f 72 65 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 | li>Damon.Sicore</li>............ |
837c0 | 20 3c 6c 69 3e 52 6f 67 65 72 20 42 2e 20 53 69 64 6a 65 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 | .<li>Roger.B..Sidje</li>........ |
837e0 | 20 20 20 20 20 3c 6c 69 3e 53 61 6d 75 65 6c 20 53 69 64 6c 65 72 3c 2f 6c 69 3e 0a 20 20 20 20 | .....<li>Samuel.Sidler</li>..... |
83800 | 20 20 20 20 20 20 20 20 3c 6c 69 3e 48 65 6e 72 69 6b 20 53 6b 75 70 69 6e 3c 2f 6c 69 3e 0a 20 | ........<li>Henrik.Skupin</li>.. |
83820 | 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4a 6f 68 6e 20 53 6c 61 74 65 72 3c 2f 6c 69 3e 0a | ...........<li>John.Slater</li>. |
83840 | 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 42 65 6e 6a 61 6d 69 6e 20 53 6d 65 64 62 65 72 | ............<li>Benjamin.Smedber |
83860 | 67 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 41 6e 64 72 65 77 20 53 6d | g</li>.............<li>Andrew.Sm |
83880 | 69 74 68 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 45 64 77 69 6e 20 53 | ith</li>.............<li>Edwin.S |
838a0 | 6d 69 74 68 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4d 61 72 6b 20 53 | mith</li>.............<li>Mark.S |
838c0 | 6d 69 74 68 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 57 69 6e 64 6f 77 | mith</li>.............<li>Window |
838e0 | 20 53 6e 79 64 65 72 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4a 6f 73 | .Snyder</li>.............<li>Jos |
83900 | 68 20 53 6f 72 65 66 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4e 6f 63 | h.Soref</li>.............<li>Noc |
83920 | 68 75 6d 20 53 6f 73 73 6f 6e 6b 6f 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c | hum.Sossonko</li>.............<l |
83940 | 69 3e 49 61 6e 20 53 70 65 6e 63 65 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c | i>Ian.Spence</li>.............<l |
83960 | 69 3e 53 65 74 68 20 53 70 69 74 7a 65 72 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 | i>Seth.Spitzer</li>............. |
83980 | 3c 6c 69 3e 4d 61 72 6b 75 73 20 53 74 61 6e 67 65 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 | <li>Markus.Stange</li>.......... |
839a0 | 20 20 20 3c 6c 69 3e 4a 61 6b 75 62 20 53 74 65 69 6e 65 72 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 | ...<li>Jakub.Steiner</li>....... |
839c0 | 20 20 20 20 20 20 3c 6c 69 3e 4a 6f 68 6e 6e 79 20 53 74 65 6e 62 61 63 6b 3c 2f 6c 69 3e 0a 20 | ......<li>Johnny.Stenback</li>.. |
839e0 | 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 42 72 61 6e 64 6f 6e 20 53 74 65 72 6e 65 3c 2f 6c | ...........<li>Brandon.Sterne</l |
83a00 | 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 52 6f 62 20 53 74 72 61 64 6c 69 6e 67 | i>.............<li>Rob.Stradling |
83a20 | 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 52 6f 62 65 72 74 20 53 74 72 | </li>.............<li>Robert.Str |
83a40 | 6f 6e 67 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4a 61 79 20 53 75 6c | ong</li>.............<li>Jay.Sul |
83a60 | 6c 69 76 61 6e 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 56 69 63 6b 79 | livan</li>.............<li>Vicky |
83a80 | 20 53 75 6e 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 41 6c 65 78 61 6e | .Sun</li>.............<li>Alexan |
83aa0 | 64 65 72 20 53 75 72 6b 6f 76 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e | der.Surkov</li>.............<li> |
83ac0 | 4d 61 72 6b 20 53 75 72 6d 61 6e 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 | Mark.Surman</li>.............<li |
83ae0 | 3e 41 6e 64 72 65 77 20 53 75 74 68 65 72 6c 61 6e 64 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 | >Andrew.Sutherland</li>......... |
83b00 | 20 20 20 20 3c 6c 69 3e 43 6c 69 6e 74 20 54 61 6c 62 65 72 74 3c 2f 6c 69 3e 0a 20 20 20 20 20 | ....<li>Clint.Talbert</li>...... |
83b20 | 20 20 20 20 20 20 20 3c 6c 69 3e 4d 61 72 67 61 72 65 74 20 54 61 6c 6c 6d 61 6e 3c 2f 6c 69 3e | .......<li>Margaret.Tallman</li> |
83b40 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 44 61 76 69 64 20 54 65 6e 73 65 72 3c 2f 6c | .............<li>David.Tenser</l |
83b60 | 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 43 68 72 69 73 20 54 68 6f 6d 61 73 3c | i>.............<li>Chris.Thomas< |
83b80 | 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4e 69 63 6b 20 54 68 6f 6d 61 73 | /li>.............<li>Nick.Thomas |
83ba0 | 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4c 61 75 72 61 20 54 68 6f 6d | </li>.............<li>Laura.Thom |
83bc0 | 73 6f 6e 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4b 61 72 6c 20 54 6f | son</li>.............<li>Karl.To |
83be0 | 6d 6c 69 6e 73 6f 6e 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 44 61 76 | mlinson</li>.............<li>Dav |
83c00 | 65 20 54 6f 77 6e 73 65 6e 64 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e | e.Townsend</li>.............<li> |
83c20 | 41 61 72 6f 6e 20 54 72 61 69 6e 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 | Aaron.Train</li>.............<li |
83c40 | 3e 50 68 6f 6e 67 20 54 72 61 6e 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 | >Phong.Tran</li>.............<li |
83c60 | 3e 42 65 6e 20 54 75 72 6e 65 72 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 | >Ben.Turner</li>.............<li |
83c80 | 3e 44 6f 75 67 20 54 75 72 6e 65 72 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c | >Doug.Turner</li>.............<l |
83ca0 | 69 3e 41 6d 69 c3 a9 20 54 79 72 72 65 6c 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 | i>Ami...Tyrrel</li>............. |
83cc0 | 3c 6c 69 3e 50 65 74 65 72 20 56 61 6e 20 64 65 72 20 42 65 6b 65 6e 3c 2f 6c 69 3e 0a 20 20 20 | <li>Peter.Van.der.Beken</li>.... |
83ce0 | 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 50 65 74 65 72 20 76 61 6e 20 64 65 72 20 57 6f 75 64 65 | .........<li>Peter.van.der.Woude |
83d00 | 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 54 65 75 6e 65 20 76 61 6e 20 | </li>.............<li>Teune.van. |
83d20 | 53 74 65 65 67 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 52 79 61 6e 20 | Steeg</li>.............<li>Ryan. |
83d40 | 56 61 6e 64 65 72 4d 65 75 6c 65 6e 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c | VanderMeulen</li>.............<l |
83d60 | 69 3e 44 61 6e 69 65 6c 20 56 65 64 69 74 7a 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 | i>Daniel.Veditz</li>............ |
83d80 | 20 3c 6c 69 3e 4d 69 63 68 61 65 6c 20 56 65 6e 74 6e 6f 72 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 | .<li>Michael.Ventnor</li>....... |
83da0 | 20 20 20 20 20 20 3c 6c 69 3e 41 6c 65 78 65 69 20 56 6f 6c 6b 6f 76 3c 2f 6c 69 3e 0a 20 20 20 | ......<li>Alexei.Volkov</li>.... |
83dc0 | 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 56 6c 61 64 69 6d 69 72 20 56 75 6b 69 c4 87 65 76 69 c4 | .........<li>Vladimir.Vuki..evi. |
83de0 | 87 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 48 c3 a5 6b 61 6e 20 57 61 | .</li>.............<li>H..kan.Wa |
83e00 | 61 72 61 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4a 65 66 66 20 57 61 | ara</li>.............<li>Jeff.Wa |
83e20 | 6c 64 65 6e 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 54 72 61 63 79 20 | lden</li>.............<li>Tracy. |
83e40 | 57 61 6c 6b 65 72 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 43 68 65 6e | Walker</li>.............<li>Chen |
83e60 | 67 20 57 61 6e 67 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4d 61 72 74 | g.Wang</li>.............<li>Mart |
83e80 | 69 6a 6e 20 57 61 72 67 65 72 73 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 | ijn.Wargers</li>.............<li |
83ea0 | 3e 4a 6f 6e 61 74 68 61 6e 20 57 61 74 74 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 | >Jonathan.Watt</li>............. |
83ec0 | 3c 6c 69 3e 50 65 74 65 72 20 57 65 69 6c 62 61 63 68 65 72 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 | <li>Peter.Weilbacher</li>....... |
83ee0 | 20 20 20 20 20 20 3c 6c 69 3e 5a 61 63 6b 20 57 65 69 6e 62 65 72 67 3c 2f 6c 69 3e 0a 20 20 20 | ......<li>Zack.Weinberg</li>.... |
83f00 | 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 46 72 c3 a9 64 c3 a9 72 69 63 20 57 65 6e 7a 65 6c 3c 2f | .........<li>Fr..d..ric.Wenzel</ |
83f20 | 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 53 74 65 66 66 65 6e 20 57 69 6c 62 | li>.............<li>Steffen.Wilb |
83f40 | 65 72 67 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 44 72 65 77 20 57 69 | erg</li>.............<li>Drew.Wi |
83f60 | 6c 6c 63 6f 78 6f 6e 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 53 68 61 | llcoxon</li>.............<li>Sha |
83f80 | 77 6e 20 57 69 6c 73 68 65 72 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e | wn.Wilsher</li>.............<li> |
83fa0 | 4b 61 74 68 6c 65 65 6e 20 57 69 6c 73 6f 6e 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 | Kathleen.Wilson</li>............ |
83fc0 | 20 3c 6c 69 3e 44 61 6e 20 57 69 74 74 65 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 | .<li>Dan.Witte</li>............. |
83fe0 | 3c 6c 69 3e 4a 6f 68 6e 20 57 6f 6c 66 65 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 | <li>John.Wolfe</li>............. |
84000 | 3c 6c 69 3e 53 74 65 76 65 20 57 6f 6e 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c | <li>Steve.Won</li>.............< |
84020 | 6c 69 3e 4a 75 73 74 69 6e 20 57 6f 6f 64 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 | li>Justin.Wood</li>............. |
84040 | 3c 6c 69 3e 4d 69 63 68 61 65 6c 20 57 75 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 | <li>Michael.Wu</li>............. |
84060 | 3c 6c 69 3e 4d 61 73 61 68 69 72 6f 20 59 61 6d 61 64 61 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 | <li>Masahiro.Yamada</li>........ |
84080 | 20 20 20 20 20 3c 6c 69 3e 53 61 74 6f 6b 6f 20 54 61 6b 69 74 61 20 59 61 6d 61 67 75 63 68 69 | .....<li>Satoko.Takita.Yamaguchi |
840a0 | 20 28 43 68 69 62 69 29 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 43 68 | .(Chibi)</li>.............<li>Ch |
840c0 | 72 69 73 74 69 6e 65 20 59 65 6e 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 | ristine.Yen</li>.............<li |
840e0 | 3e 4b 6f 68 65 69 20 59 6f 73 68 69 6e 6f 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 | >Kohei.Yoshino</li>............. |
84100 | 3c 6c 69 3e 53 68 69 67 65 72 75 20 59 6f 73 68 69 74 61 6b 65 3c 2f 6c 69 3e 0a 20 20 20 20 20 | <li>Shigeru.Yoshitake</li>...... |
84120 | 20 20 20 20 20 20 20 3c 6c 69 3e 42 6f 72 69 73 20 5a 62 61 72 73 6b 79 3c 2f 6c 69 3e 0a 20 20 | .......<li>Boris.Zbarsky</li>... |
84140 | 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4d 61 72 63 6f 20 5a 65 68 65 3c 2f 6c 69 3e 0a 20 20 | ..........<li>Marco.Zehe</li>... |
84160 | 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4d 61 74 74 68 65 77 20 5a 65 69 65 72 3c 2f 6c 69 3e | ..........<li>Matthew.Zeier</li> |
84180 | 0a 20 20 20 20 20 20 20 20 20 20 3c 2f 75 6c 3e 0a 0a 20 20 20 20 20 20 20 20 20 20 3c 64 69 76 | ...........</ul>............<div |
841a0 | 20 64 69 72 3d 22 26 6c 6f 63 61 6c 65 2e 64 69 72 3b 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 | .dir="&locale.dir;">............ |
841c0 | 20 26 63 72 65 64 69 74 2e 74 72 61 6e 73 6c 61 74 69 6f 6e 3b 0a 20 20 20 20 20 20 20 20 20 20 | .&credit.translation;........... |
841e0 | 3c 2f 64 69 76 3e 0a 20 20 20 20 20 20 20 20 3c 2f 64 69 76 3e 0a 0a 20 20 20 20 20 20 20 20 3c | </div>.........</div>..........< |
84200 | 21 2d 2d 20 6f 72 67 61 6e 69 7a 61 74 69 6f 6e 61 6c 20 73 75 70 70 6f 72 74 65 72 73 20 2d 2d | !--.organizational.supporters.-- |
84220 | 3e 0a 20 20 20 20 20 20 20 20 3c 64 69 76 20 63 6c 61 73 73 3d 22 63 72 65 64 69 74 73 47 72 6f | >.........<div.class="creditsGro |
84240 | 75 70 22 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 68 33 20 64 69 72 3d 22 26 6c 6f 63 61 6c 65 2e | up">...........<h3.dir="&locale. |
84260 | 64 69 72 3b 22 3e 26 63 72 65 64 69 74 2e 74 68 61 6e 6b 73 3b 3c 2f 68 33 3e 0a 20 20 20 20 20 | dir;">&credit.thanks;</h3>...... |
84280 | 20 20 20 20 20 3c 75 6c 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 47 6f 6f 67 6c 65 | .....<ul>.............<li>Google |
842a0 | 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 59 61 68 6f 6f 21 3c 2f 6c 69 | </li>.............<li>Yahoo!</li |
842c0 | 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 49 42 4d 3c 2f 6c 69 3e 0a 20 20 20 20 20 | >.............<li>IBM</li>...... |
842e0 | 20 20 20 20 20 20 20 3c 6c 69 3e 53 75 6e 20 4d 69 63 72 6f 73 79 73 74 65 6d 73 3c 2f 6c 69 3e | .......<li>Sun.Microsystems</li> |
84300 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 52 65 64 20 48 61 74 3c 2f 6c 69 3e 0a 20 20 | .............<li>Red.Hat</li>... |
84320 | 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ..........<li></li>............. |
84340 | 3c 6c 69 3e 4f 72 65 67 6f 6e 20 53 74 61 74 65 20 55 6e 69 76 65 72 73 69 74 79 20 2d 20 4f 70 | <li>Oregon.State.University.-.Op |
84360 | 65 6e 20 53 6f 75 72 63 65 20 4c 61 62 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c | en.Source.Lab</li>.............< |
84380 | 6c 69 3e 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 47 6c 6f 62 61 6c 20 | li></li>.............<li>Global. |
843a0 | 4e 65 74 6f 70 74 65 78 2c 20 49 6e 63 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c | Netoptex,.Inc</li>.............< |
843c0 | 6c 69 3e 49 6e 74 65 72 6e 65 74 20 53 6f 66 74 77 61 72 65 20 43 6f 6e 73 6f 72 74 69 75 6d 3c | li>Internet.Software.Consortium< |
843e0 | 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 3c 2f 6c 69 3e 0a 20 20 20 20 20 | /li>.............<li></li>...... |
84400 | 20 20 20 20 20 20 20 3c 6c 69 3e 43 6f 6f 6c 65 79 20 47 6f 64 77 61 72 64 2c 20 4c 4c 50 3c 2f | .......<li>Cooley.Godward,.LLP</ |
84420 | 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 47 72 65 65 6e 62 75 72 67 20 54 72 | li>.............<li>Greenburg.Tr |
84440 | 61 75 72 69 67 2c 20 4c 4c 50 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e | aurig,.LLP</li>.............<li> |
84460 | 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4f 75 74 43 61 73 74 20 43 6f | </li>.............<li>OutCast.Co |
84480 | 6d 6d 75 6e 69 63 61 74 69 6f 6e 73 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c | mmunications</li>.............<l |
844a0 | 69 3e 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 54 68 65 20 52 6f 79 61 | i></li>.............<li>The.Roya |
844c0 | 6c 20 4f 72 64 65 72 20 6f 66 20 45 78 70 65 72 69 65 6e 63 65 20 44 65 73 69 67 6e 3c 2f 6c 69 | l.Order.of.Experience.Design</li |
844e0 | 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 4e 6f 62 6f 78 3c 2f 6c 69 3e 0a 20 20 20 | >.............<li>Nobox</li>.... |
84500 | 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 73 69 6c 76 65 72 6f 72 61 6e 67 65 3c 2f 6c 69 3e 0a 20 | .........<li>silverorange</li>.. |
84520 | 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 47 6c 61 78 73 74 61 72 3c 2f 6c 69 3e 0a 20 20 20 | ...........<li>Glaxstar</li>.... |
84540 | 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c | .........<li></li>.............< |
84560 | 6c 69 3e 4d 6f 7a 69 6c 6c 61 5a 69 6e 65 20 43 6f 6d 6d 75 6e 69 74 79 3c 2f 6c 69 3e 0a 20 20 | li>MozillaZine.Community</li>... |
84580 | 20 20 20 20 20 20 20 20 3c 2f 75 6c 3e 0a 20 20 20 20 20 20 20 20 3c 2f 64 69 76 3e 0a 0a 20 20 | ........</ul>.........</div>.... |
845a0 | 20 20 20 20 20 20 3c 70 20 69 64 3d 22 67 65 63 6b 6f 22 20 63 6c 61 73 73 3d 22 63 65 6e 74 65 | ......<p.id="gecko".class="cente |
845c0 | 72 22 20 64 69 72 3d 22 26 6c 6f 63 61 6c 65 2e 64 69 72 3b 22 3e 26 63 72 65 64 69 74 2e 70 6f | r".dir="&locale.dir;">&credit.po |
845e0 | 77 65 72 65 64 42 79 47 65 63 6b 6f 52 65 67 3b 3c 2f 70 3e 0a 0a 20 20 20 20 20 20 20 20 3c 70 | weredByGeckoReg;</p>..........<p |
84600 | 20 63 6c 61 73 73 3d 22 66 6f 6f 74 6e 6f 74 65 22 20 64 69 72 3d 22 26 6c 6f 63 61 6c 65 2e 64 | .class="footnote".dir="&locale.d |
84620 | 69 72 3b 22 3e 0a 20 20 20 20 20 20 20 20 20 20 26 62 72 61 6e 64 46 75 6c 6c 4e 61 6d 65 3b 26 | ir;">...........&brandFullName;& |
84640 | 74 72 61 64 65 3b 20 26 6c 69 63 65 6e 73 65 2e 70 61 72 74 30 3b 20 26 63 6f 70 79 3b 31 39 39 | trade;.&license.part0;.©199 |
84660 | 38 2d 32 30 30 39 20 26 6c 69 63 65 6e 73 65 2e 70 61 72 74 31 3b 0a 20 20 20 20 20 20 20 20 20 | 8-2009.&license.part1;.......... |
84680 | 20 3c 61 20 68 72 65 66 3d 22 22 20 6c 69 6e 6b 3d 22 61 62 6f 75 74 3a 63 72 65 64 69 74 73 22 | .<a.href="".link="about:credits" |
846a0 | 20 6f 6e 63 6c 69 63 6b 3d 22 76 69 73 69 74 4c 69 6e 6b 28 65 76 65 6e 74 29 3b 22 3e 26 6c 69 | .onclick="visitLink(event);">&li |
846c0 | 63 65 6e 73 65 2e 63 6f 6e 74 72 69 62 3b 3c 2f 61 3e 2c 0a 20 20 20 20 20 20 20 20 20 20 26 6c | cense.contrib;</a>,...........&l |
846e0 | 69 63 65 6e 73 65 2e 70 61 72 74 32 3b 0a 20 20 20 20 20 20 20 20 20 20 3c 61 20 68 72 65 66 3d | icense.part2;...........<a.href= |
84700 | 22 22 20 6c 69 6e 6b 3d 22 61 62 6f 75 74 3a 6c 69 63 65 6e 73 65 22 20 6f 6e 63 6c 69 63 6b 3d | "".link="about:license".onclick= |
84720 | 22 76 69 73 69 74 4c 69 6e 6b 28 65 76 65 6e 74 29 3b 22 3e 61 62 6f 75 74 3a 6c 69 63 65 6e 73 | "visitLink(event);">about:licens |
84740 | 65 3c 2f 61 3e 0a 20 20 20 20 20 20 20 20 20 20 26 6c 69 63 65 6e 73 65 2e 70 61 72 74 33 3b 3c | e</a>...........&license.part3;< |
84760 | 2f 70 3e 0a 0a 20 20 20 20 20 20 20 20 3c 70 20 63 6c 61 73 73 3d 22 66 6f 6f 74 6e 6f 74 65 22 | /p>..........<p.class="footnote" |
84780 | 3e 0a 20 20 20 20 20 20 20 20 20 20 4d 6f 7a 69 6c 6c 61 20 46 69 72 65 66 6f 78 26 72 65 67 3b | >...........Mozilla.Firefox® |
847a0 | 20 61 6e 64 20 74 68 65 20 46 69 72 65 66 6f 78 20 6c 6f 67 6f 20 61 72 65 20 72 65 67 69 73 74 | .and.the.Firefox.logo.are.regist |
847c0 | 65 72 65 64 20 74 72 61 64 65 6d 61 72 6b 73 20 6f 66 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 | ered.trademarks.of.the.......... |
847e0 | 20 4d 6f 7a 69 6c 6c 61 20 46 6f 75 6e 64 61 74 69 6f 6e 2e 20 59 6f 75 20 61 72 65 20 6e 6f 74 | .Mozilla.Foundation..You.are.not |
84800 | 20 67 72 61 6e 74 65 64 20 72 69 67 68 74 73 20 6f 72 20 6c 69 63 65 6e 73 65 73 20 74 6f 20 74 | .granted.rights.or.licenses.to.t |
84820 | 68 65 20 74 72 61 64 65 6d 61 72 6b 73 0a 20 20 20 20 20 20 20 20 20 20 6f 66 20 74 68 65 20 4d | he.trademarks...........of.the.M |
84840 | 6f 7a 69 6c 6c 61 20 46 6f 75 6e 64 61 74 69 6f 6e 20 6f 72 20 61 6e 79 20 70 61 72 74 79 2c 20 | ozilla.Foundation.or.any.party,. |
84860 | 69 6e 63 6c 75 64 69 6e 67 20 77 69 74 68 6f 75 74 20 6c 69 6d 69 74 61 74 69 6f 6e 20 74 68 65 | including.without.limitation.the |
84880 | 0a 20 20 20 20 20 20 20 20 20 20 46 69 72 65 66 6f 78 20 6e 61 6d 65 20 6f 72 20 6c 6f 67 6f 2e | ...........Firefox.name.or.logo. |
848a0 | 20 47 65 63 6b 6f 26 72 65 67 3b 20 69 73 20 61 20 72 65 67 69 73 74 65 72 65 64 20 74 72 61 64 | .Gecko®.is.a.registered.trad |
848c0 | 65 6d 61 72 6b 20 6f 66 20 4e 65 74 73 63 61 70 65 0a 20 20 20 20 20 20 20 20 20 20 43 6f 6d 6d | emark.of.Netscape...........Comm |
848e0 | 75 6e 69 63 61 74 69 6f 6e 73 20 43 6f 72 70 6f 72 61 74 69 6f 6e 2e 3c 2f 70 3e 0a 0a 20 20 20 | unications.Corporation.</p>..... |
84900 | 20 20 20 20 20 3c 70 20 63 6c 61 73 73 3d 22 66 6f 6f 74 6e 6f 74 65 22 3e 0a 20 20 20 20 20 20 | .....<p.class="footnote">....... |
84920 | 20 20 20 20 55 2e 53 2e 20 47 4f 56 45 52 4e 4d 45 4e 54 20 45 4e 44 20 55 53 45 52 53 2e 20 54 | ....U.S..GOVERNMENT.END.USERS..T |
84940 | 68 65 20 53 6f 66 74 77 61 72 65 20 69 73 20 61 20 26 6c 64 71 75 6f 3b 63 6f 6d 6d 65 72 63 69 | he.Software.is.a.“commerci |
84960 | 61 6c 20 69 74 65 6d 2c 26 72 64 71 75 6f 3b 0a 20 20 20 20 20 20 20 20 20 20 61 73 20 74 68 61 | al.item,”...........as.tha |
84980 | 74 20 74 65 72 6d 20 69 73 20 64 65 66 69 6e 65 64 20 69 6e 20 34 38 20 43 2e 46 2e 52 2e 20 32 | t.term.is.defined.in.48.C.F.R..2 |
849a0 | 2e 31 30 31 20 28 4f 63 74 2e 20 31 39 39 35 29 2c 20 63 6f 6e 73 69 73 74 69 6e 67 20 6f 66 0a | .101.(Oct..1995),.consisting.of. |
849c0 | 20 20 20 20 20 20 20 20 20 20 26 6c 64 71 75 6f 3b 63 6f 6d 6d 65 72 63 69 61 6c 20 63 6f 6d 70 | ..........“commercial.comp |
849e0 | 75 74 65 72 20 73 6f 66 74 77 61 72 65 26 72 64 71 75 6f 3b 20 61 6e 64 20 26 6c 64 71 75 6f 3b | uter.software”.and.“ |
84a00 | 63 6f 6d 6d 65 72 63 69 61 6c 20 63 6f 6d 70 75 74 65 72 20 73 6f 66 74 77 61 72 65 0a 20 20 20 | commercial.computer.software.... |
84a20 | 20 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 61 74 69 6f 6e 2c 26 72 64 71 75 6f 3b 20 61 73 20 | .......documentation,”.as. |
84a40 | 73 75 63 68 20 74 65 72 6d 73 20 61 72 65 20 75 73 65 64 20 69 6e 20 34 38 20 43 2e 46 2e 52 2e | such.terms.are.used.in.48.C.F.R. |
84a60 | 20 31 32 2e 32 31 32 20 28 53 65 70 74 2e 20 31 39 39 35 29 2e 0a 20 20 20 20 20 20 20 20 20 20 | .12.212.(Sept..1995)............ |
84a80 | 43 6f 6e 73 69 73 74 65 6e 74 20 77 69 74 68 20 34 38 20 43 2e 46 2e 52 2e 20 31 32 2e 32 31 32 | Consistent.with.48.C.F.R..12.212 |
84aa0 | 20 61 6e 64 20 34 38 20 43 2e 46 2e 52 2e 20 32 32 37 2e 37 32 30 32 2d 31 20 74 68 72 6f 75 67 | .and.48.C.F.R..227.7202-1.throug |
84ac0 | 68 0a 20 20 20 20 20 20 20 20 20 20 32 32 37 2e 37 32 30 32 2d 34 20 28 4a 75 6e 65 20 31 39 39 | h...........227.7202-4.(June.199 |
84ae0 | 35 29 2c 20 61 6c 6c 20 55 2e 53 2e 20 47 6f 76 65 72 6e 6d 65 6e 74 20 45 6e 64 20 55 73 65 72 | 5),.all.U.S..Government.End.User |
84b00 | 73 20 61 63 71 75 69 72 65 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 53 6f 66 74 77 61 72 65 | s.acquire.the...........Software |
84b20 | 20 77 69 74 68 20 6f 6e 6c 79 20 74 68 6f 73 65 20 72 69 67 68 74 73 20 73 65 74 20 66 6f 72 74 | .with.only.those.rights.set.fort |
84b40 | 68 20 68 65 72 65 69 6e 2e 3c 2f 70 3e 0a 0a 20 20 20 20 3c 2f 64 69 76 3e 0a 0a 20 20 20 20 3c | h.herein.</p>......</div>......< |
84b60 | 64 69 76 20 69 64 3d 22 66 6f 6f 74 65 72 42 6f 78 22 3e 0a 20 20 20 20 20 20 3c 69 6d 67 20 73 | div.id="footerBox">.......<img.s |
84b80 | 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 61 6e 64 69 6e 67 2f 63 6f 6e 74 65 6e 74 2f 61 62 | rc="chrome://branding/content/ab |
84ba0 | 6f 75 74 46 6f 6f 74 65 72 2e 70 6e 67 22 20 2f 3e 0a 20 20 20 20 3c 2f 64 69 76 3e 0a 20 20 3c | outFooter.png"./>.....</div>...< |
84bc0 | 2f 62 6f 64 79 3e 0a 3c 2f 68 74 6d 6c 3e 0a 0a 50 4b 03 04 14 00 00 00 00 00 f2 4b 18 3b 32 e3 | /body>.</html>..PK.........K.;2. |
84be0 | 2a c3 d8 45 00 00 d8 45 00 00 1b 00 00 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 6d 65 | *..E...E......content/browser/me |
84c00 | 74 61 44 61 74 61 2e 6a 73 2f 2f 40 6c 69 6e 65 20 34 31 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a | taData.js//@line.41."/builds/moz |
84c20 | 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 | 2_slave/linux_build/build/browse |
84c40 | 72 2f 62 61 73 65 2f 63 6f 6e 74 65 6e 74 2f 6d 65 74 61 44 61 74 61 2e 6a 73 22 0a 0a 63 6f 6e | r/base/content/metaData.js"..con |
84c60 | 73 74 20 58 4c 69 6e 6b 4e 53 20 3d 20 22 68 74 74 70 3a 2f 2f 77 77 77 2e 77 33 2e 6f 72 67 2f | st.XLinkNS.=."http://www.w3.org/ |
84c80 | 31 39 39 39 2f 78 6c 69 6e 6b 22 3b 0a 63 6f 6e 73 74 20 58 55 4c 4e 53 20 3d 20 22 68 74 74 70 | 1999/xlink";.const.XULNS.=."http |
84ca0 | 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6b 65 79 6d 61 73 74 65 72 2f 67 61 74 | ://www.mozilla.org/keymaster/gat |
84cc0 | 65 6b 65 65 70 65 72 2f 74 68 65 72 65 2e 69 73 2e 6f 6e 6c 79 2e 78 75 6c 22 3b 0a 63 6f 6e 73 | ekeeper/there.is.only.xul";.cons |
84ce0 | 74 20 58 4d 4c 4e 53 20 3d 20 22 68 74 74 70 3a 2f 2f 77 77 77 2e 77 33 2e 6f 72 67 2f 58 4d 4c | t.XMLNS.=."http://www.w3.org/XML |
84d00 | 2f 31 39 39 38 2f 6e 61 6d 65 73 70 61 63 65 22 3b 0a 63 6f 6e 73 74 20 58 48 54 4d 4c 4e 53 20 | /1998/namespace";.const.XHTMLNS. |
84d20 | 3d 20 22 68 74 74 70 3a 2f 2f 77 77 77 2e 77 33 2e 6f 72 67 2f 31 39 39 39 2f 78 68 74 6d 6c 22 | =."http://www.w3.org/1999/xhtml" |
84d40 | 3b 0a 76 61 72 20 67 4d 65 74 61 64 61 74 61 42 75 6e 64 6c 65 3b 0a 76 61 72 20 67 4c 61 6e 67 | ;.var.gMetadataBundle;.var.gLang |
84d60 | 42 75 6e 64 6c 65 3b 0a 76 61 72 20 67 52 65 67 69 6f 6e 42 75 6e 64 6c 65 3b 0a 76 61 72 20 6e | Bundle;.var.gRegionBundle;.var.n |
84d80 | 6f 64 65 56 69 65 77 3b 0a 76 61 72 20 68 74 6d 6c 4d 6f 64 65 20 3d 20 66 61 6c 73 65 3b 0a 0a | odeView;.var.htmlMode.=.false;.. |
84da0 | 76 61 72 20 6f 6e 4c 69 6e 6b 20 20 20 3d 20 66 61 6c 73 65 3b 0a 76 61 72 20 6f 6e 49 6d 61 67 | var.onLink...=.false;.var.onImag |
84dc0 | 65 20 20 3d 20 66 61 6c 73 65 3b 0a 76 61 72 20 6f 6e 49 6e 73 44 65 6c 20 3d 20 66 61 6c 73 65 | e..=.false;.var.onInsDel.=.false |
84de0 | 3b 0a 76 61 72 20 6f 6e 51 75 6f 74 65 20 20 3d 20 66 61 6c 73 65 3b 0a 76 61 72 20 6f 6e 4d 69 | ;.var.onQuote..=.false;.var.onMi |
84e00 | 73 63 20 20 20 3d 20 66 61 6c 73 65 3b 0a 76 61 72 20 6f 6e 54 61 62 6c 65 20 20 3d 20 66 61 6c | sc...=.false;.var.onTable..=.fal |
84e20 | 73 65 3b 0a 76 61 72 20 6f 6e 54 69 74 6c 65 20 20 3d 20 66 61 6c 73 65 3b 0a 76 61 72 20 6f 6e | se;.var.onTitle..=.false;.var.on |
84e40 | 4c 61 6e 67 20 20 20 3d 20 66 61 6c 73 65 3b 0a 0a 2f 2f 20 49 6e 74 65 72 66 61 63 65 20 66 6f | Lang...=.false;..//.Interface.fo |
84e60 | 72 20 69 6d 61 67 65 20 6c 6f 61 64 69 6e 67 20 63 6f 6e 74 65 6e 74 0a 63 6f 6e 73 74 20 6e 73 | r.image.loading.content.const.ns |
84e80 | 49 49 6d 61 67 65 4c 6f 61 64 69 6e 67 43 6f 6e 74 65 6e 74 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 | IImageLoadingContent.=.Component |
84ea0 | 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 49 6d 61 67 65 4c 6f 61 64 69 6e 67 43 6f 6e 74 | s.interfaces.nsIImageLoadingCont |
84ec0 | 65 6e 74 3b 0a 0a 63 6f 6e 73 74 20 70 72 65 66 73 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 | ent;..const.prefs.=.Components.c |
84ee0 | 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 70 72 65 66 65 72 65 6e 63 65 73 | lasses["@mozilla.org/preferences |
84f00 | 2d 73 65 72 76 69 63 65 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 53 | -service;1"]................getS |
84f20 | 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 | ervice(Components.interfaces.nsI |
84f40 | 50 72 65 66 42 72 61 6e 63 68 29 3b 0a 0a 63 6f 6e 73 74 20 6e 73 49 43 61 63 68 65 53 65 72 76 | PrefBranch);..const.nsICacheServ |
84f60 | 69 63 65 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 43 | ice.=.Components.interfaces.nsIC |
84f80 | 61 63 68 65 53 65 72 76 69 63 65 3b 0a 63 6f 6e 73 74 20 63 61 63 68 65 53 65 72 76 69 63 65 20 | acheService;.const.cacheService. |
84fa0 | 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f | =.Components.classes["@mozilla.o |
84fc0 | 72 67 2f 6e 65 74 77 6f 72 6b 2f 63 61 63 68 65 2d 73 65 72 76 69 63 65 3b 31 22 5d 0a 20 20 20 | rg/network/cache-service;1"].... |
84fe0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 6e 73 | ...................getService(ns |
85000 | 49 43 61 63 68 65 53 65 72 76 69 63 65 29 3b 0a 76 61 72 20 68 74 74 70 43 61 63 68 65 53 65 73 | ICacheService);.var.httpCacheSes |
85020 | 73 69 6f 6e 20 3d 20 63 61 63 68 65 53 65 72 76 69 63 65 2e 63 72 65 61 74 65 53 65 73 73 69 6f | sion.=.cacheService.createSessio |
85040 | 6e 28 22 48 54 54 50 22 2c 20 30 2c 20 74 72 75 65 29 3b 0a 68 74 74 70 43 61 63 68 65 53 65 73 | n("HTTP",.0,.true);.httpCacheSes |
85060 | 73 69 6f 6e 2e 64 6f 6f 6d 45 6e 74 72 69 65 73 49 66 45 78 70 69 72 65 64 20 3d 20 66 61 6c 73 | sion.doomEntriesIfExpired.=.fals |
85080 | 65 3b 0a 76 61 72 20 66 74 70 43 61 63 68 65 53 65 73 73 69 6f 6e 20 3d 20 63 61 63 68 65 53 65 | e;.var.ftpCacheSession.=.cacheSe |
850a0 | 72 76 69 63 65 2e 63 72 65 61 74 65 53 65 73 73 69 6f 6e 28 22 46 54 50 22 2c 20 30 2c 20 74 72 | rvice.createSession("FTP",.0,.tr |
850c0 | 75 65 29 3b 0a 66 74 70 43 61 63 68 65 53 65 73 73 69 6f 6e 2e 64 6f 6f 6d 45 6e 74 72 69 65 73 | ue);.ftpCacheSession.doomEntries |
850e0 | 49 66 45 78 70 69 72 65 64 20 3d 20 66 61 6c 73 65 3b 0a 0a 63 6f 6e 73 74 20 50 52 45 46 5f 50 | IfExpired.=.false;..const.PREF_P |
85100 | 49 4e 47 53 5f 45 4e 41 42 4c 45 44 20 3d 20 22 62 72 6f 77 73 65 72 2e 73 65 6e 64 5f 70 69 6e | INGS_ENABLED.=."browser.send_pin |
85120 | 67 73 22 3b 0a 63 6f 6e 73 74 20 50 52 45 46 5f 50 49 4e 47 53 5f 4d 41 58 5f 50 45 52 5f 4c 49 | gs";.const.PREF_PINGS_MAX_PER_LI |
85140 | 4e 4b 20 3d 20 22 62 72 6f 77 73 65 72 2e 73 65 6e 64 5f 70 69 6e 67 73 2e 6d 61 78 5f 70 65 72 | NK.=."browser.send_pings.max_per |
85160 | 5f 6c 69 6e 6b 22 3b 0a 63 6f 6e 73 74 20 50 52 45 46 5f 50 49 4e 47 53 5f 52 45 51 55 49 52 45 | _link";.const.PREF_PINGS_REQUIRE |
85180 | 5f 53 41 4d 45 5f 48 4f 53 54 20 3d 20 22 62 72 6f 77 73 65 72 2e 73 65 6e 64 5f 70 69 6e 67 73 | _SAME_HOST.=."browser.send_pings |
851a0 | 2e 72 65 71 75 69 72 65 5f 73 61 6d 65 5f 68 6f 73 74 22 3b 0a 0a 2f 2a 2a 0a 20 2a 20 54 68 69 | .require_same_host";../**..*.Thi |
851c0 | 73 20 66 75 6e 63 74 69 6f 6e 20 67 65 6e 65 72 61 74 65 73 20 61 6e 20 61 72 72 61 79 20 6f 66 | s.function.generates.an.array.of |
851e0 | 20 70 69 6e 67 73 20 74 68 61 74 20 77 69 6c 6c 20 62 65 20 73 65 6e 74 20 69 66 20 74 68 65 20 | .pings.that.will.be.sent.if.the. |
85200 | 67 69 76 65 6e 0a 20 2a 20 61 6e 63 68 6f 72 20 65 6c 65 6d 65 6e 74 20 69 73 20 63 6c 69 63 6b | given..*.anchor.element.is.click |
85220 | 65 64 2e 20 20 49 74 20 62 61 73 69 63 61 6c 6c 79 20 64 75 70 6c 69 63 61 74 65 73 20 74 68 65 | ed...It.basically.duplicates.the |
85240 | 20 70 72 65 66 20 63 68 65 63 6b 69 6e 67 20 6c 6f 67 69 63 0a 20 2a 20 66 6f 75 6e 64 20 69 6e | .pref.checking.logic..*.found.in |
85260 | 20 6e 73 57 65 62 53 68 65 6c 6c 2e 63 70 70 2e 20 20 49 74 20 6d 69 67 68 74 20 62 65 20 6e 69 | .nsWebShell.cpp...It.might.be.ni |
85280 | 63 65 20 74 6f 20 65 78 70 6f 73 65 20 74 68 61 74 20 66 75 6e 63 74 69 6f 6e 61 6c 69 74 79 20 | ce.to.expose.that.functionality. |
852a0 | 6f 6e 0a 20 2a 20 73 6f 6d 65 20 69 6e 74 65 72 66 61 63 65 20 74 68 61 74 20 62 6f 74 68 20 6f | on..*.some.interface.that.both.o |
852c0 | 66 20 74 68 65 73 65 20 73 65 63 74 69 6f 6e 73 20 6f 66 20 63 6f 64 65 20 63 6f 75 6c 64 20 73 | f.these.sections.of.code.could.s |
852e0 | 68 61 72 65 2e 0a 20 2a 0a 20 2a 20 40 70 61 72 61 6d 20 65 6c 65 6d 0a 20 2a 20 20 20 41 6e 20 | hare...*..*.@param.elem..*...An. |
85300 | 61 6e 63 68 6f 72 20 6f 72 20 61 72 65 61 20 65 6c 65 6d 65 6e 74 0a 20 2a 20 40 72 65 74 75 72 | anchor.or.area.element..*.@retur |
85320 | 6e 20 0a 20 2a 20 20 20 41 6e 20 61 72 72 61 79 20 6f 66 20 55 52 4c 20 73 74 72 69 6e 67 73 20 | n...*...An.array.of.URL.strings. |
85340 | 63 6f 72 72 65 73 70 6f 6e 64 69 6e 67 20 74 6f 20 74 68 65 20 70 69 6e 67 73 20 74 68 61 74 20 | corresponding.to.the.pings.that. |
85360 | 77 6f 75 6c 64 20 6f 63 63 75 72 20 69 66 0a 20 2a 20 20 20 74 68 65 20 65 6c 65 6d 65 6e 74 27 | would.occur.if..*...the.element' |
85380 | 73 20 68 72 65 66 20 77 65 72 65 20 6c 6f 61 64 65 64 2e 0a 20 2a 2f 0a 66 75 6e 63 74 69 6f 6e | s.href.were.loaded...*/.function |
853a0 | 20 67 65 74 50 69 6e 67 73 28 65 6c 65 6d 29 0a 7b 0a 20 20 76 61 72 20 72 65 73 75 6c 74 20 3d | .getPings(elem).{...var.result.= |
853c0 | 20 5b 5d 3b 0a 0a 20 20 76 61 72 20 65 6e 61 62 6c 65 64 20 3d 20 70 72 65 66 73 2e 67 65 74 42 | .[];....var.enabled.=.prefs.getB |
853e0 | 6f 6f 6c 50 72 65 66 28 50 52 45 46 5f 50 49 4e 47 53 5f 45 4e 41 42 4c 45 44 29 3b 0a 20 20 69 | oolPref(PREF_PINGS_ENABLED);...i |
85400 | 66 20 28 21 65 6e 61 62 6c 65 64 29 0a 20 20 20 20 72 65 74 75 72 6e 20 72 65 73 75 6c 74 3b 0a | f.(!enabled).....return.result;. |
85420 | 20 20 76 61 72 20 6d 61 78 50 69 6e 67 73 20 3d 20 70 72 65 66 73 2e 67 65 74 49 6e 74 50 72 65 | ..var.maxPings.=.prefs.getIntPre |
85440 | 66 28 50 52 45 46 5f 50 49 4e 47 53 5f 4d 41 58 5f 50 45 52 5f 4c 49 4e 4b 29 3b 0a 20 20 69 66 | f(PREF_PINGS_MAX_PER_LINK);...if |
85460 | 20 28 6d 61 78 50 69 6e 67 73 20 3d 3d 20 30 29 0a 20 20 20 20 72 65 74 75 72 6e 20 72 65 73 75 | .(maxPings.==.0).....return.resu |
85480 | 6c 74 3b 0a 20 20 76 61 72 20 72 65 71 75 69 72 65 53 61 6d 65 48 6f 73 74 20 3d 20 70 72 65 66 | lt;...var.requireSameHost.=.pref |
854a0 | 73 2e 67 65 74 42 6f 6f 6c 50 72 65 66 28 50 52 45 46 5f 50 49 4e 47 53 5f 52 45 51 55 49 52 45 | s.getBoolPref(PREF_PINGS_REQUIRE |
854c0 | 5f 53 41 4d 45 5f 48 4f 53 54 29 3b 0a 0a 20 20 63 6f 6e 73 74 20 69 6f 73 20 3d 0a 20 20 20 20 | _SAME_HOST);....const.ios.=..... |
854e0 | 20 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f | ..Components.classes["@mozilla.o |
85500 | 72 67 2f 6e 65 74 77 6f 72 6b 2f 69 6f 2d 73 65 72 76 69 63 65 3b 31 22 5d 2e 0a 20 20 20 20 20 | rg/network/io-service;1"]....... |
85520 | 20 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 | .getService(Components.interface |
85540 | 73 2e 6e 73 49 49 4f 53 65 72 76 69 63 65 29 3b 0a 0a 20 20 76 61 72 20 64 6f 63 20 3d 20 65 6c | s.nsIIOService);....var.doc.=.el |
85560 | 65 6d 2e 6f 77 6e 65 72 44 6f 63 75 6d 65 6e 74 3b 0a 20 20 76 61 72 20 64 6f 63 55 52 49 20 3d | em.ownerDocument;...var.docURI.= |
85580 | 20 69 6f 73 2e 6e 65 77 55 52 49 28 64 6f 63 2e 64 6f 63 75 6d 65 6e 74 55 52 49 2c 20 64 6f 63 | .ios.newURI(doc.documentURI,.doc |
855a0 | 2e 63 68 61 72 61 63 74 65 72 53 65 74 2c 20 6e 75 6c 6c 29 3b 0a 0a 20 20 2f 2f 20 54 68 65 20 | .characterSet,.null);....//.The. |
855c0 | 55 52 4c 20 73 74 72 69 6e 67 73 20 72 65 74 75 72 6e 65 64 20 62 79 20 65 6c 65 6d 2e 70 69 6e | URL.strings.returned.by.elem.pin |
855e0 | 67 20 61 72 65 20 61 62 73 6f 6c 75 74 65 20 55 52 4c 73 2e 0a 20 20 76 61 72 20 70 69 6e 67 73 | g.are.absolute.URLs....var.pings |
85600 | 20 3d 20 65 6c 65 6d 2e 70 69 6e 67 3b 0a 20 20 69 66 20 28 21 70 69 6e 67 73 29 0a 20 20 20 20 | .=.elem.ping;...if.(!pings)..... |
85620 | 72 65 74 75 72 6e 20 72 65 73 75 6c 74 3b 0a 20 20 70 69 6e 67 73 20 3d 20 70 69 6e 67 73 2e 73 | return.result;...pings.=.pings.s |
85640 | 70 6c 69 74 28 22 20 22 29 3b 0a 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c | plit(".");...for.(var.i.=.0;.i.< |
85660 | 20 70 69 6e 67 73 2e 6c 65 6e 67 74 68 3b 20 2b 2b 69 29 20 7b 0a 20 20 20 20 69 66 20 28 72 65 | .pings.length;.++i).{.....if.(re |
85680 | 71 75 69 72 65 53 61 6d 65 48 6f 73 74 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 75 72 69 20 3d | quireSameHost).{.......var.uri.= |
856a0 | 20 69 6f 73 2e 6e 65 77 55 52 49 28 70 69 6e 67 73 5b 69 5d 2c 20 64 6f 63 2e 63 68 61 72 61 63 | .ios.newURI(pings[i],.doc.charac |
856c0 | 74 65 72 53 65 74 2c 20 6e 75 6c 6c 29 3b 0a 20 20 20 20 20 20 69 66 20 28 75 72 69 2e 61 73 63 | terSet,.null);.......if.(uri.asc |
856e0 | 69 69 48 6f 73 74 20 3d 3d 20 64 6f 63 55 52 49 2e 61 73 63 69 69 48 6f 73 74 29 0a 20 20 20 20 | iiHost.==.docURI.asciiHost)..... |
85700 | 20 20 20 20 72 65 73 75 6c 74 2e 70 75 73 68 28 70 69 6e 67 73 5b 69 5d 29 3b 0a 20 20 20 20 7d | ....result.push(pings[i]);.....} |
85720 | 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 72 65 73 75 6c 74 2e 70 75 73 68 28 70 69 6e 67 73 5b | .else.{.......result.push(pings[ |
85740 | 69 5d 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 69 66 20 28 72 65 73 75 6c 74 2e 6c 65 6e 67 74 68 | i]);.....}.....if.(result.length |
85760 | 20 3d 3d 20 6d 61 78 50 69 6e 67 73 29 0a 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 7d 0a 0a | .==.maxPings).......break;...}.. |
85780 | 20 20 72 65 74 75 72 6e 20 72 65 73 75 6c 74 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 6f 6e 4c | ..return.result;.}..function.onL |
857a0 | 6f 61 64 28 29 0a 7b 0a 20 20 67 4d 65 74 61 64 61 74 61 42 75 6e 64 6c 65 20 3d 20 64 6f 63 75 | oad().{...gMetadataBundle.=.docu |
857c0 | 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 62 75 6e 64 6c 65 5f 6d 65 74 61 | ment.getElementById("bundle_meta |
857e0 | 64 61 74 61 22 29 3b 0a 20 20 67 4c 61 6e 67 42 75 6e 64 6c 65 20 3d 20 64 6f 63 75 6d 65 6e 74 | data");...gLangBundle.=.document |
85800 | 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 62 75 6e 64 6c 65 5f 6c 61 6e 67 75 61 67 65 | .getElementById("bundle_language |
85820 | 73 22 29 3b 0a 20 20 67 52 65 67 69 6f 6e 42 75 6e 64 6c 65 20 3d 20 64 6f 63 75 6d 65 6e 74 2e | s");...gRegionBundle.=.document. |
85840 | 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 62 75 6e 64 6c 65 5f 72 65 67 69 6f 6e 73 22 29 | getElementById("bundle_regions") |
85860 | 3b 0a 20 20 0a 20 20 73 68 6f 77 4d 65 74 61 64 61 74 61 46 6f 72 28 77 69 6e 64 6f 77 2e 61 72 | ;......showMetadataFor(window.ar |
85880 | 67 75 6d 65 6e 74 73 5b 30 5d 29 3b 0a 20 20 6e 6f 64 65 56 69 65 77 20 3d 20 77 69 6e 64 6f 77 | guments[0]);...nodeView.=.window |
858a0 | 2e 61 72 67 75 6d 65 6e 74 73 5b 30 5d 2e 6f 77 6e 65 72 44 6f 63 75 6d 65 6e 74 2e 64 65 66 61 | .arguments[0].ownerDocument.defa |
858c0 | 75 6c 74 56 69 65 77 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 73 68 6f 77 4d 65 74 61 64 61 74 | ultView;.}..function.showMetadat |
858e0 | 61 46 6f 72 28 65 6c 65 6d 29 0a 7b 0a 20 20 2f 2f 20 73 6b 69 70 20 70 61 73 74 20 6e 6f 6e 2d | aFor(elem).{...//.skip.past.non- |
85900 | 65 6c 65 6d 65 6e 74 20 6e 6f 64 65 73 0a 20 20 77 68 69 6c 65 20 28 65 6c 65 6d 20 26 26 20 65 | element.nodes...while.(elem.&&.e |
85920 | 6c 65 6d 2e 6e 6f 64 65 54 79 70 65 20 21 3d 20 4e 6f 64 65 2e 45 4c 45 4d 45 4e 54 5f 4e 4f 44 | lem.nodeType.!=.Node.ELEMENT_NOD |
85940 | 45 29 0a 20 20 20 20 65 6c 65 6d 20 3d 20 65 6c 65 6d 2e 70 61 72 65 6e 74 4e 6f 64 65 3b 0a 0a | E).....elem.=.elem.parentNode;.. |
85960 | 20 20 69 66 20 28 21 65 6c 65 6d 29 20 7b 0a 20 20 20 20 61 6c 65 72 74 28 67 4d 65 74 61 64 61 | ..if.(!elem).{.....alert(gMetada |
85980 | 74 61 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 75 6e 61 62 6c 65 54 6f 53 68 6f 77 | taBundle.getString("unableToShow |
859a0 | 50 72 6f 70 73 22 29 29 3b 0a 20 20 20 20 77 69 6e 64 6f 77 2e 63 6c 6f 73 65 28 29 3b 0a 20 20 | Props"));.....window.close();... |
859c0 | 7d 0a 0a 20 20 69 66 20 28 65 6c 65 6d 2e 6f 77 6e 65 72 44 6f 63 75 6d 65 6e 74 2e 67 65 74 45 | }....if.(elem.ownerDocument.getE |
859e0 | 6c 65 6d 65 6e 74 73 42 79 4e 61 6d 65 20 26 26 20 21 65 6c 65 6d 2e 6f 77 6e 65 72 44 6f 63 75 | lementsByName.&&.!elem.ownerDocu |
85a00 | 6d 65 6e 74 2e 6e 61 6d 65 73 70 61 63 65 55 52 49 29 0a 20 20 20 20 68 74 6d 6c 4d 6f 64 65 20 | ment.namespaceURI).....htmlMode. |
85a20 | 3d 20 74 72 75 65 3b 0a 20 20 0a 20 20 2f 2f 20 68 74 6d 6c 6c 6f 63 61 6c 6e 61 6d 65 20 69 73 | =.true;......//.htmllocalname.is |
85a40 | 20 22 22 20 69 66 20 69 74 27 73 20 6e 6f 74 20 61 6e 20 68 74 6d 6c 20 74 61 67 2c 20 6f 72 20 | ."".if.it's.not.an.html.tag,.or. |
85a60 | 74 68 65 20 6e 61 6d 65 20 6f 66 20 74 68 65 20 74 61 67 20 69 66 20 69 74 20 69 73 2e 0a 20 20 | the.name.of.the.tag.if.it.is.... |
85a80 | 76 61 72 20 68 74 6d 6c 6c 6f 63 61 6c 6e 61 6d 65 20 3d 20 22 22 3b 0a 20 20 69 66 20 28 69 73 | var.htmllocalname.=."";...if.(is |
85aa0 | 48 54 4d 4c 45 6c 65 6d 65 6e 74 28 65 6c 65 6d 2c 22 22 29 29 20 7b 20 0a 20 20 20 20 68 74 6d | HTMLElement(elem,"")).{......htm |
85ac0 | 6c 6c 6f 63 61 6c 6e 61 6d 65 20 3d 20 65 6c 65 6d 2e 6c 6f 63 61 6c 4e 61 6d 65 2e 74 6f 4c 6f | llocalname.=.elem.localName.toLo |
85ae0 | 77 65 72 43 61 73 65 28 29 3b 0a 20 20 7d 0a 20 20 0a 20 20 2f 2f 20 57 65 20 6f 6e 6c 79 20 6c | werCase();...}......//.We.only.l |
85b00 | 6f 6f 6b 20 66 6f 72 20 69 6d 61 67 65 73 20 6f 6e 63 65 0a 20 20 63 68 65 63 6b 46 6f 72 49 6d | ook.for.images.once...checkForIm |
85b20 | 61 67 65 28 65 6c 65 6d 2c 20 68 74 6d 6c 6c 6f 63 61 6c 6e 61 6d 65 29 3b 0a 20 20 0a 20 20 2f | age(elem,.htmllocalname);....../ |
85b40 | 2f 20 57 61 6c 6b 20 75 70 20 74 68 65 20 74 72 65 65 2c 20 6c 6f 6f 6b 69 6e 67 20 66 6f 72 20 | /.Walk.up.the.tree,.looking.for. |
85b60 | 65 6c 65 6d 65 6e 74 73 20 6f 66 20 69 6e 74 65 72 65 73 74 2e 0a 20 20 2f 2f 20 45 61 63 68 20 | elements.of.interest....//.Each. |
85b80 | 6f 66 20 74 68 65 6d 20 63 6f 75 6c 64 20 62 65 20 61 74 20 61 20 64 69 66 66 65 72 65 6e 74 20 | of.them.could.be.at.a.different. |
85ba0 | 6c 65 76 65 6c 20 69 6e 20 74 68 65 20 74 72 65 65 2c 20 73 6f 20 74 68 65 79 20 65 61 63 68 0a | level.in.the.tree,.so.they.each. |
85bc0 | 20 20 2f 2f 20 6e 65 65 64 20 74 68 65 69 72 20 6f 77 6e 20 62 6f 6f 6c 65 61 6e 20 74 6f 20 74 | ..//.need.their.own.boolean.to.t |
85be0 | 65 6c 6c 20 75 73 20 74 6f 20 73 74 6f 70 20 6c 6f 6f 6b 69 6e 67 2e 0a 20 20 77 68 69 6c 65 20 | ell.us.to.stop.looking....while. |
85c00 | 28 65 6c 65 6d 20 26 26 20 65 6c 65 6d 2e 6e 6f 64 65 54 79 70 65 20 3d 3d 20 4e 6f 64 65 2e 45 | (elem.&&.elem.nodeType.==.Node.E |
85c20 | 4c 45 4d 45 4e 54 5f 4e 4f 44 45 29 20 7b 0a 20 20 20 20 68 74 6d 6c 6c 6f 63 61 6c 6e 61 6d 65 | LEMENT_NODE).{.....htmllocalname |
85c40 | 20 3d 20 22 22 3b 0a 20 20 20 20 69 66 20 28 69 73 48 54 4d 4c 45 6c 65 6d 65 6e 74 28 65 6c 65 | .=."";.....if.(isHTMLElement(ele |
85c60 | 6d 2c 22 22 29 29 20 7b 20 0a 20 20 20 20 20 20 68 74 6d 6c 6c 6f 63 61 6c 6e 61 6d 65 20 3d 20 | m,"")).{........htmllocalname.=. |
85c80 | 65 6c 65 6d 2e 6c 6f 63 61 6c 4e 61 6d 65 2e 74 6f 4c 6f 77 65 72 43 61 73 65 28 29 3b 0a 20 20 | elem.localName.toLowerCase();... |
85ca0 | 20 20 7d 0a 0a 20 20 20 20 69 66 20 28 21 6f 6e 4c 69 6e 6b 29 20 20 20 63 68 65 63 6b 46 6f 72 | ..}......if.(!onLink)...checkFor |
85cc0 | 4c 69 6e 6b 28 65 6c 65 6d 2c 20 68 74 6d 6c 6c 6f 63 61 6c 6e 61 6d 65 29 3b 0a 20 20 20 20 69 | Link(elem,.htmllocalname);.....i |
85ce0 | 66 20 28 21 6f 6e 49 6e 73 44 65 6c 29 20 63 68 65 63 6b 46 6f 72 49 6e 73 44 65 6c 28 65 6c 65 | f.(!onInsDel).checkForInsDel(ele |
85d00 | 6d 2c 20 68 74 6d 6c 6c 6f 63 61 6c 6e 61 6d 65 29 3b 0a 20 20 20 20 69 66 20 28 21 6f 6e 51 75 | m,.htmllocalname);.....if.(!onQu |
85d20 | 6f 74 65 29 20 20 63 68 65 63 6b 46 6f 72 51 75 6f 74 65 28 65 6c 65 6d 2c 20 68 74 6d 6c 6c 6f | ote)..checkForQuote(elem,.htmllo |
85d40 | 63 61 6c 6e 61 6d 65 29 3b 0a 20 20 20 20 69 66 20 28 21 6f 6e 54 61 62 6c 65 29 20 20 63 68 65 | calname);.....if.(!onTable)..che |
85d60 | 63 6b 46 6f 72 54 61 62 6c 65 28 65 6c 65 6d 2c 20 68 74 6d 6c 6c 6f 63 61 6c 6e 61 6d 65 29 3b | ckForTable(elem,.htmllocalname); |
85d80 | 0a 20 20 20 20 69 66 20 28 21 6f 6e 54 69 74 6c 65 29 20 20 63 68 65 63 6b 46 6f 72 54 69 74 6c | .....if.(!onTitle)..checkForTitl |
85da0 | 65 28 65 6c 65 6d 2c 20 68 74 6d 6c 6c 6f 63 61 6c 6e 61 6d 65 29 3b 0a 20 20 20 20 69 66 20 28 | e(elem,.htmllocalname);.....if.( |
85dc0 | 21 6f 6e 4c 61 6e 67 29 20 20 20 63 68 65 63 6b 46 6f 72 4c 61 6e 67 28 65 6c 65 6d 2c 20 68 74 | !onLang)...checkForLang(elem,.ht |
85de0 | 6d 6c 6c 6f 63 61 6c 6e 61 6d 65 29 3b 0a 20 20 20 20 20 20 0a 20 20 20 20 65 6c 65 6d 20 3d 20 | mllocalname);............elem.=. |
85e00 | 65 6c 65 6d 2e 70 61 72 65 6e 74 4e 6f 64 65 3b 0a 20 20 7d 0a 20 20 0a 20 20 2f 2f 20 44 65 63 | elem.parentNode;...}......//.Dec |
85e20 | 69 64 65 20 77 68 69 63 68 20 73 65 63 74 69 6f 6e 73 20 74 6f 20 73 68 6f 77 0a 20 20 76 61 72 | ide.which.sections.to.show...var |
85e40 | 20 6f 6e 4d 69 73 63 20 3d 20 6f 6e 54 61 62 6c 65 20 7c 7c 20 6f 6e 54 69 74 6c 65 20 7c 7c 20 | .onMisc.=.onTable.||.onTitle.||. |
85e60 | 6f 6e 4c 61 6e 67 3b 0a 20 20 69 66 20 28 21 6f 6e 4d 69 73 63 29 20 20 20 68 69 64 65 4e 6f 64 | onLang;...if.(!onMisc)...hideNod |
85e80 | 65 28 22 6d 69 73 63 2d 73 65 63 22 29 3b 0a 20 20 69 66 20 28 21 6f 6e 4c 69 6e 6b 29 20 20 20 | e("misc-sec");...if.(!onLink)... |
85ea0 | 68 69 64 65 4e 6f 64 65 28 22 6c 69 6e 6b 2d 73 65 63 22 29 3b 0a 20 20 69 66 20 28 21 6f 6e 49 | hideNode("link-sec");...if.(!onI |
85ec0 | 6d 61 67 65 29 20 20 68 69 64 65 4e 6f 64 65 28 22 69 6d 61 67 65 2d 73 65 63 22 29 3b 0a 20 20 | mage)..hideNode("image-sec");... |
85ee0 | 69 66 20 28 21 6f 6e 49 6e 73 44 65 6c 29 20 68 69 64 65 4e 6f 64 65 28 22 69 6e 73 64 65 6c 2d | if.(!onInsDel).hideNode("insdel- |
85f00 | 73 65 63 22 29 3b 0a 20 20 69 66 20 28 21 6f 6e 51 75 6f 74 65 29 20 20 68 69 64 65 4e 6f 64 65 | sec");...if.(!onQuote)..hideNode |
85f20 | 28 22 71 75 6f 74 65 2d 73 65 63 22 29 3b 0a 0a 20 20 2f 2f 20 46 69 78 20 74 68 65 20 4d 69 73 | ("quote-sec");....//.Fix.the.Mis |
85f40 | 63 20 73 65 63 74 69 6f 6e 20 76 69 73 69 62 69 6c 69 74 69 65 73 0a 20 20 69 66 20 28 6f 6e 4d | c.section.visibilities...if.(onM |
85f60 | 69 73 63 29 20 7b 0a 20 20 20 20 69 66 20 28 21 6f 6e 54 61 62 6c 65 29 20 68 69 64 65 4e 6f 64 | isc).{.....if.(!onTable).hideNod |
85f80 | 65 28 22 6d 69 73 63 2d 74 62 6c 73 75 6d 6d 61 72 79 22 29 3b 0a 20 20 20 20 69 66 20 28 21 6f | e("misc-tblsummary");.....if.(!o |
85fa0 | 6e 4c 61 6e 67 29 20 20 68 69 64 65 4e 6f 64 65 28 22 6d 69 73 63 2d 6c 61 6e 67 22 29 3b 0a 20 | nLang)..hideNode("misc-lang");.. |
85fc0 | 20 20 20 69 66 20 28 21 6f 6e 54 69 74 6c 65 29 20 68 69 64 65 4e 6f 64 65 28 22 6d 69 73 63 2d | ...if.(!onTitle).hideNode("misc- |
85fe0 | 74 69 74 6c 65 22 29 3b 0a 20 20 7d 0a 0a 20 20 2f 2f 20 47 65 74 20 72 69 64 20 6f 66 20 74 68 | title");...}....//.Get.rid.of.th |
86000 | 65 20 22 4e 6f 20 70 72 6f 70 65 72 74 69 65 73 22 20 6d 65 73 73 61 67 65 2e 20 54 68 69 73 20 | e."No.properties".message..This. |
86020 | 69 73 20 61 20 62 61 63 6b 73 74 6f 70 20 2d 0a 20 20 2f 2f 20 69 74 20 73 68 6f 75 6c 64 20 72 | is.a.backstop.-...//.it.should.r |
86040 | 65 61 6c 6c 79 20 6e 65 76 65 72 20 73 68 6f 77 2c 20 61 73 20 6c 6f 6e 67 20 61 73 20 6e 73 43 | eally.never.show,.as.long.as.nsC |
86060 | 6f 6e 74 65 78 74 4d 65 6e 75 2e 6a 73 27 73 0a 20 20 2f 2f 20 63 68 65 63 6b 69 6e 67 20 64 6f | ontextMenu.js's...//.checking.do |
86080 | 65 73 6e 27 74 20 67 65 74 20 62 72 6f 6b 65 6e 2e 0a 20 20 69 66 20 28 6f 6e 4c 69 6e 6b 20 7c | esn't.get.broken....if.(onLink.| |
860a0 | 7c 20 6f 6e 49 6d 61 67 65 20 7c 7c 20 6f 6e 49 6e 73 44 65 6c 20 7c 7c 20 6f 6e 51 75 6f 74 65 | |.onImage.||.onInsDel.||.onQuote |
860c0 | 20 7c 7c 20 6f 6e 4d 69 73 63 29 0a 20 20 20 20 68 69 64 65 4e 6f 64 65 28 22 6e 6f 2d 70 72 6f | .||.onMisc).....hideNode("no-pro |
860e0 | 70 65 72 74 69 65 73 22 29 0a 7d 0a 0a 0a 66 75 6e 63 74 69 6f 6e 20 63 68 65 63 6b 46 6f 72 49 | perties").}...function.checkForI |
86100 | 6d 61 67 65 28 65 6c 65 6d 2c 20 68 74 6d 6c 6c 6f 63 61 6c 6e 61 6d 65 29 0a 7b 0a 20 20 76 61 | mage(elem,.htmllocalname).{...va |
86120 | 72 20 69 6d 67 3b 0a 20 20 76 61 72 20 69 6d 67 54 79 70 65 3b 20 2f 2f 20 22 69 6d 67 22 20 3d | r.img;...var.imgType;.//."img".= |
86140 | 20 3c 69 6d 67 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 22 6f 62 6a 65 63 74 | .<img>................//."object |
86160 | 22 20 3d 20 3c 6f 62 6a 65 63 74 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 22 | ".=.<object>................//." |
86180 | 69 6e 70 75 74 22 20 3d 20 3c 69 6e 70 75 74 20 74 79 70 65 3d 69 6d 61 67 65 3e 0a 20 20 20 20 | input".=.<input.type=image>..... |
861a0 | 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 22 62 61 63 6b 67 72 6f 75 6e 64 22 20 3d 20 63 73 73 | ...........//."background".=.css |
861c0 | 20 62 61 63 6b 67 72 6f 75 6e 64 20 28 74 6f 20 62 65 20 61 64 64 65 64 20 6c 61 74 65 72 29 0a | .background.(to.be.added.later). |
861e0 | 20 20 76 61 72 20 69 73 6d 61 70 20 3d 20 66 61 6c 73 65 3b 0a 0a 20 20 69 66 20 28 68 74 6d 6c | ..var.ismap.=.false;....if.(html |
86200 | 6c 6f 63 61 6c 6e 61 6d 65 20 3d 3d 3d 20 22 69 6d 67 22 29 20 7b 0a 20 20 20 20 69 6d 67 20 3d | localname.===."img").{.....img.= |
86220 | 20 65 6c 65 6d 3b 0a 20 20 20 20 69 6d 67 54 79 70 65 20 3d 20 22 69 6d 67 22 3b 0a 0a 20 20 7d | .elem;.....imgType.=."img";....} |
86240 | 20 65 6c 73 65 20 69 66 20 28 68 74 6d 6c 6c 6f 63 61 6c 6e 61 6d 65 20 3d 3d 3d 20 22 6f 62 6a | .else.if.(htmllocalname.===."obj |
86260 | 65 63 74 22 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 65 6c 65 6d 2e 74 79 70 65 2e 73 | ect".&&..............elem.type.s |
86280 | 75 62 73 74 72 69 6e 67 28 30 2c 36 29 20 3d 3d 20 22 69 6d 61 67 65 2f 22 20 26 26 0a 20 20 20 | ubstring(0,6).==."image/".&&.... |
862a0 | 20 20 20 20 20 20 20 20 20 20 65 6c 65 6d 2e 64 61 74 61 29 20 7b 0a 20 20 20 20 69 6d 67 20 3d | ..........elem.data).{.....img.= |
862c0 | 20 65 6c 65 6d 3b 0a 20 20 20 20 69 6d 67 54 79 70 65 20 3d 20 22 6f 62 6a 65 63 74 22 3b 0a 0a | .elem;.....imgType.=."object";.. |
862e0 | 20 20 7d 20 65 6c 73 65 20 69 66 20 28 68 74 6d 6c 6c 6f 63 61 6c 6e 61 6d 65 20 3d 3d 3d 20 22 | ..}.else.if.(htmllocalname.===." |
86300 | 69 6e 70 75 74 22 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 65 6c 65 6d 2e 74 79 70 65 | input".&&..............elem.type |
86320 | 2e 74 6f 55 70 70 65 72 43 61 73 65 28 29 20 3d 3d 20 22 49 4d 41 47 45 22 29 20 7b 0a 20 20 20 | .toUpperCase().==."IMAGE").{.... |
86340 | 20 69 6d 67 20 3d 20 65 6c 65 6d 3b 0a 20 20 20 20 69 6d 67 54 79 70 65 20 3d 20 22 69 6e 70 75 | .img.=.elem;.....imgType.=."inpu |
86360 | 74 22 3b 0a 0a 20 20 7d 20 65 6c 73 65 20 69 66 20 28 68 74 6d 6c 6c 6f 63 61 6c 6e 61 6d 65 20 | t";....}.else.if.(htmllocalname. |
86380 | 3d 3d 3d 20 22 61 72 65 61 22 20 7c 7c 20 68 74 6d 6c 6c 6f 63 61 6c 6e 61 6d 65 20 3d 3d 3d 20 | ===."area".||.htmllocalname.===. |
863a0 | 22 61 22 29 20 7b 0a 0a 20 20 20 20 2f 2f 20 43 6c 69 63 6b 65 64 20 69 6e 20 69 6d 61 67 65 20 | "a").{......//.Clicked.in.image. |
863c0 | 6d 61 70 3f 0a 20 20 20 20 76 61 72 20 6d 61 70 20 3d 20 65 6c 65 6d 3b 0a 20 20 20 20 69 73 6d | map?.....var.map.=.elem;.....ism |
863e0 | 61 70 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 73 65 74 41 6c 74 28 6d 61 70 29 3b 0a 0a 20 20 20 | ap.=.true;.....setAlt(map);..... |
86400 | 20 77 68 69 6c 65 20 28 6d 61 70 20 26 26 20 6d 61 70 2e 6e 6f 64 65 54 79 70 65 20 3d 3d 20 4e | .while.(map.&&.map.nodeType.==.N |
86420 | 6f 64 65 2e 45 4c 45 4d 45 4e 54 5f 4e 4f 44 45 20 26 26 20 21 69 73 48 54 4d 4c 45 6c 65 6d 65 | ode.ELEMENT_NODE.&&.!isHTMLEleme |
86440 | 6e 74 28 6d 61 70 2c 22 6d 61 70 22 29 20 29 0a 20 20 20 20 20 20 6d 61 70 20 3d 20 6d 61 70 2e | nt(map,"map").).......map.=.map. |
86460 | 70 61 72 65 6e 74 4e 6f 64 65 3b 0a 0a 20 20 20 20 69 66 20 28 6d 61 70 20 26 26 20 6d 61 70 2e | parentNode;......if.(map.&&.map. |
86480 | 6e 6f 64 65 54 79 70 65 20 3d 3d 20 4e 6f 64 65 2e 45 4c 45 4d 45 4e 54 5f 4e 4f 44 45 29 20 7b | nodeType.==.Node.ELEMENT_NODE).{ |
864a0 | 0a 20 20 20 20 20 20 69 6d 67 20 3d 20 67 65 74 49 6d 61 67 65 46 6f 72 4d 61 70 28 6d 61 70 29 | .......img.=.getImageForMap(map) |
864c0 | 3b 0a 20 20 20 20 20 20 76 61 72 20 69 6d 67 4c 6f 63 61 6c 4e 61 6d 65 20 3d 20 69 6d 67 20 26 | ;.......var.imgLocalName.=.img.& |
864e0 | 26 20 69 6d 67 2e 6c 6f 63 61 6c 4e 61 6d 65 2e 74 6f 4c 6f 77 65 72 43 61 73 65 28 29 3b 0a 20 | &.img.localName.toLowerCase();.. |
86500 | 20 20 20 20 20 69 66 20 28 69 6d 67 4c 6f 63 61 6c 4e 61 6d 65 20 3d 3d 20 22 69 6d 67 22 20 7c | .....if.(imgLocalName.==."img".| |
86520 | 7c 20 69 6d 67 4c 6f 63 61 6c 4e 61 6d 65 20 3d 3d 20 22 6f 62 6a 65 63 74 22 29 0a 20 20 20 20 | |.imgLocalName.==."object")..... |
86540 | 20 20 20 20 20 20 69 6d 67 54 79 70 65 20 3d 20 69 6d 67 4c 6f 63 61 6c 4e 61 6d 65 3b 0a 20 20 | ......imgType.=.imgLocalName;... |
86560 | 20 20 7d 0a 20 20 7d 0a 0a 20 20 69 66 20 28 69 6d 67 29 20 7b 0a 0a 20 20 20 20 76 61 72 20 69 | ..}...}....if.(img).{......var.i |
86580 | 6d 67 55 52 4c 20 3d 20 69 6d 67 54 79 70 65 20 3d 3d 20 22 6f 62 6a 65 63 74 22 20 3f 20 69 6d | mgURL.=.imgType.==."object".?.im |
865a0 | 67 2e 64 61 74 61 20 3a 20 69 6d 67 2e 73 72 63 3b 0a 20 20 20 20 73 65 74 49 6e 66 6f 28 22 69 | g.data.:.img.src;.....setInfo("i |
865c0 | 6d 61 67 65 2d 75 72 6c 22 2c 20 69 6d 67 55 52 4c 29 3b 0a 20 20 20 20 76 61 72 20 73 69 7a 65 | mage-url",.imgURL);.....var.size |
865e0 | 20 3d 20 67 65 74 53 69 7a 65 28 69 6d 67 55 52 4c 29 3b 0a 0a 20 20 20 20 69 66 20 28 73 69 7a | .=.getSize(imgURL);......if.(siz |
86600 | 65 20 21 3d 20 2d 31 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 6b 62 53 69 7a 65 20 3d 20 73 69 | e.!=.-1).{.......var.kbSize.=.si |
86620 | 7a 65 20 2f 20 31 30 32 34 3b 0a 20 20 20 20 20 20 6b 62 53 69 7a 65 20 3d 20 4d 61 74 68 2e 72 | ze./.1024;.......kbSize.=.Math.r |
86640 | 6f 75 6e 64 28 6b 62 53 69 7a 65 2a 31 30 30 29 2f 31 30 30 3b 0a 20 20 20 20 20 20 73 65 74 49 | ound(kbSize*100)/100;.......setI |
86660 | 6e 66 6f 28 22 69 6d 61 67 65 2d 66 69 6c 65 73 69 7a 65 22 2c 20 67 4d 65 74 61 64 61 74 61 42 | nfo("image-filesize",.gMetadataB |
86680 | 75 6e 64 6c 65 2e 67 65 74 46 6f 72 6d 61 74 74 65 64 53 74 72 69 6e 67 28 22 69 6d 61 67 65 53 | undle.getFormattedString("imageS |
866a0 | 69 7a 65 22 2c 20 5b 6b 62 53 69 7a 65 2c 20 73 69 7a 65 5d 29 29 3b 0a 20 20 20 20 7d 20 65 6c | ize",.[kbSize,.size]));.....}.el |
866c0 | 73 65 20 7b 0a 20 20 20 20 20 20 73 65 74 49 6e 66 6f 28 22 69 6d 61 67 65 2d 66 69 6c 65 73 69 | se.{.......setInfo("image-filesi |
866e0 | 7a 65 22 2c 20 67 4d 65 74 61 64 61 74 61 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 | ze",.gMetadataBundle.getString(" |
86700 | 69 6d 61 67 65 53 69 7a 65 55 6e 6b 6e 6f 77 6e 22 29 29 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 | imageSizeUnknown"));.....}...... |
86720 | 76 61 72 20 69 6d 61 67 65 52 65 71 75 65 73 74 20 3d 20 69 6d 67 2e 51 75 65 72 79 49 6e 74 65 | var.imageRequest.=.img.QueryInte |
86740 | 72 66 61 63 65 28 6e 73 49 49 6d 61 67 65 4c 6f 61 64 69 6e 67 43 6f 6e 74 65 6e 74 29 0a 20 20 | rface(nsIImageLoadingContent)... |
86760 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 52 65 71 75 | .........................getRequ |
86780 | 65 73 74 28 6e 73 49 49 6d 61 67 65 4c 6f 61 64 69 6e 67 43 6f 6e 74 65 6e 74 2e 43 55 52 52 45 | est(nsIImageLoadingContent.CURRE |
867a0 | 4e 54 5f 52 45 51 55 45 53 54 29 3b 0a 20 20 20 20 76 61 72 20 69 6d 61 67 65 20 3d 20 69 6d 61 | NT_REQUEST);.....var.image.=.ima |
867c0 | 67 65 52 65 71 75 65 73 74 20 26 26 20 69 6d 61 67 65 52 65 71 75 65 73 74 2e 69 6d 61 67 65 3b | geRequest.&&.imageRequest.image; |
867e0 | 0a 20 20 20 20 76 61 72 20 69 6d 61 67 65 54 79 70 65 20 3d 20 22 22 3b 0a 20 20 20 20 69 66 20 | .....var.imageType.=."";.....if. |
86800 | 28 69 6d 61 67 65 52 65 71 75 65 73 74 29 20 7b 0a 20 20 20 20 20 20 69 6d 61 67 65 54 79 70 65 | (imageRequest).{.......imageType |
86820 | 20 3d 20 69 6d 61 67 65 52 65 71 75 65 73 74 2e 6d 69 6d 65 54 79 70 65 3b 0a 20 20 20 20 20 20 | .=.imageRequest.mimeType;....... |
86840 | 76 61 72 20 69 6d 61 67 65 4d 69 6d 65 54 79 70 65 20 3d 20 2f 5e 69 6d 61 67 65 5c 2f 28 2e 2a | var.imageMimeType.=./^image\/(.* |
86860 | 29 2f 2e 65 78 65 63 28 69 6d 61 67 65 54 79 70 65 29 3b 0a 20 20 20 20 20 20 69 66 20 28 69 6d | )/.exec(imageType);.......if.(im |
86880 | 61 67 65 4d 69 6d 65 54 79 70 65 29 20 7b 0a 20 20 20 20 20 20 20 20 69 6d 61 67 65 54 79 70 65 | ageMimeType).{.........imageType |
868a0 | 20 3d 20 69 6d 61 67 65 4d 69 6d 65 54 79 70 65 5b 31 5d 2e 74 6f 55 70 70 65 72 43 61 73 65 28 | .=.imageMimeType[1].toUpperCase( |
868c0 | 29 3b 0a 20 20 20 20 20 20 20 20 69 66 20 28 69 6d 61 67 65 20 26 26 20 69 6d 61 67 65 2e 6e 75 | );.........if.(image.&&.image.nu |
868e0 | 6d 46 72 61 6d 65 73 20 3e 20 31 29 0a 20 20 20 20 20 20 20 20 20 20 69 6d 61 67 65 54 79 70 65 | mFrames.>.1)...........imageType |
86900 | 20 3d 20 67 4d 65 74 61 64 61 74 61 42 75 6e 64 6c 65 2e 67 65 74 46 6f 72 6d 61 74 74 65 64 53 | .=.gMetadataBundle.getFormattedS |
86920 | 74 72 69 6e 67 28 22 61 6e 69 6d 61 74 65 64 49 6d 61 67 65 54 79 70 65 22 2c 0a 20 20 20 20 20 | tring("animatedImageType",...... |
86940 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
86960 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 5b 69 6d 61 67 65 54 79 70 65 2c 20 | ....................[imageType,. |
86980 | 69 6d 61 67 65 2e 6e 75 6d 46 72 61 6d 65 73 5d 29 3b 0a 20 20 20 20 20 20 20 20 65 6c 73 65 0a | image.numFrames]);.........else. |
869a0 | 20 20 20 20 20 20 20 20 20 20 69 6d 61 67 65 54 79 70 65 20 3d 20 67 4d 65 74 61 64 61 74 61 42 | ..........imageType.=.gMetadataB |
869c0 | 75 6e 64 6c 65 2e 67 65 74 46 6f 72 6d 61 74 74 65 64 53 74 72 69 6e 67 28 22 69 6d 61 67 65 54 | undle.getFormattedString("imageT |
869e0 | 79 70 65 22 2c 20 5b 69 6d 61 67 65 54 79 70 65 5d 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 | ype",.[imageType]);.......}..... |
86a00 | 7d 0a 20 20 20 20 73 65 74 49 6e 66 6f 28 22 69 6d 61 67 65 2d 74 79 70 65 22 2c 20 69 6d 61 67 | }.....setInfo("image-type",.imag |
86a20 | 65 54 79 70 65 29 3b 0a 0a 20 20 20 20 76 61 72 20 69 6d 61 67 65 53 69 7a 65 20 3d 20 22 22 3b | eType);......var.imageSize.=.""; |
86a40 | 0a 20 20 20 20 69 66 20 28 69 6d 67 2e 77 69 64 74 68 29 20 7b 0a 20 20 20 20 20 20 69 66 20 28 | .....if.(img.width).{.......if.( |
86a60 | 69 6d 61 67 65 20 26 26 20 28 69 6d 61 67 65 2e 77 69 64 74 68 20 21 3d 20 69 6d 67 2e 77 69 64 | image.&&.(image.width.!=.img.wid |
86a80 | 74 68 20 7c 7c 20 69 6d 61 67 65 2e 68 65 69 67 68 74 20 21 3d 20 69 6d 67 2e 68 65 69 67 68 74 | th.||.image.height.!=.img.height |
86aa0 | 29 29 0a 20 20 20 20 20 20 20 20 69 6d 61 67 65 53 69 7a 65 20 3d 20 67 4d 65 74 61 64 61 74 61 | )).........imageSize.=.gMetadata |
86ac0 | 42 75 6e 64 6c 65 2e 67 65 74 46 6f 72 6d 61 74 74 65 64 53 74 72 69 6e 67 28 22 69 6d 61 67 65 | Bundle.getFormattedString("image |
86ae0 | 44 69 6d 65 6e 73 69 6f 6e 73 53 63 61 6c 65 64 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | DimensionsScaled",.............. |
86b00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
86b20 | 20 20 20 20 20 20 20 20 20 20 5b 69 6d 61 67 65 2e 77 69 64 74 68 2c 20 69 6d 61 67 65 2e 68 65 | ..........[image.width,.image.he |
86b40 | 69 67 68 74 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ight,........................... |
86b60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 6d | ..............................im |
86b80 | 67 2e 77 69 64 74 68 2c 20 20 20 69 6d 67 2e 68 65 69 67 68 74 5d 29 3b 0a 20 20 20 20 20 20 65 | g.width,...img.height]);.......e |
86ba0 | 6c 73 65 0a 20 20 20 20 20 20 20 20 69 6d 61 67 65 53 69 7a 65 20 3d 20 67 4d 65 74 61 64 61 74 | lse.........imageSize.=.gMetadat |
86bc0 | 61 42 75 6e 64 6c 65 2e 67 65 74 46 6f 72 6d 61 74 74 65 64 53 74 72 69 6e 67 28 22 69 6d 61 67 | aBundle.getFormattedString("imag |
86be0 | 65 44 69 6d 65 6e 73 69 6f 6e 73 22 2c 20 5b 69 6d 67 2e 77 69 64 74 68 2c 20 69 6d 67 2e 68 65 | eDimensions",.[img.width,.img.he |
86c00 | 69 67 68 74 5d 29 3b 0a 20 20 20 20 7d 20 20 20 20 20 20 20 20 0a 20 20 20 20 73 65 74 49 6e 66 | ight]);.....}.............setInf |
86c20 | 6f 28 22 69 6d 61 67 65 2d 73 69 7a 65 22 2c 20 69 6d 61 67 65 53 69 7a 65 29 3b 0a 20 20 20 20 | o("image-size",.imageSize);..... |
86c40 | 20 0a 20 20 20 20 69 66 20 28 69 6d 67 54 79 70 65 20 3d 3d 20 22 69 6d 67 22 29 20 7b 0a 20 20 | ......if.(imgType.==."img").{... |
86c60 | 20 20 20 20 73 65 74 49 6e 66 6f 28 22 69 6d 61 67 65 2d 64 65 73 63 22 2c 20 69 6d 67 2e 6c 6f | ....setInfo("image-desc",.img.lo |
86c80 | 6e 67 44 65 73 63 29 3b 0a 20 20 20 20 7d 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 73 65 74 49 | ngDesc);.....}.else.{.......setI |
86ca0 | 6e 66 6f 28 22 69 6d 61 67 65 2d 64 65 73 63 22 2c 20 22 22 29 3b 0a 20 20 20 20 7d 0a 20 20 20 | nfo("image-desc",."");.....}.... |
86cc0 | 20 0a 20 20 20 20 6f 6e 49 6d 61 67 65 20 3d 20 74 72 75 65 3b 0a 20 20 7d 0a 0a 20 20 69 66 20 | ......onImage.=.true;...}....if. |
86ce0 | 28 21 69 73 6d 61 70 29 20 7b 0a 20 20 20 69 66 20 28 69 6d 67 54 79 70 65 20 3d 3d 20 22 69 6d | (!ismap).{....if.(imgType.==."im |
86d00 | 67 22 20 7c 7c 20 69 6d 67 54 79 70 65 20 3d 3d 20 22 69 6e 70 75 74 22 29 20 7b 0a 20 20 20 20 | g".||.imgType.==."input").{..... |
86d20 | 20 73 65 74 41 6c 74 28 69 6d 67 29 3b 0a 20 20 20 7d 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 68 | .setAlt(img);....}.else.{......h |
86d40 | 69 64 65 4e 6f 64 65 28 22 69 6d 61 67 65 2d 61 6c 74 22 29 3b 0a 20 20 20 7d 0a 20 20 7d 0a 7d | ideNode("image-alt");....}...}.} |
86d60 | 0a 0a 66 75 6e 63 74 69 6f 6e 20 63 68 65 63 6b 46 6f 72 4c 69 6e 6b 28 65 6c 65 6d 2c 20 68 74 | ..function.checkForLink(elem,.ht |
86d80 | 6d 6c 6c 6f 63 61 6c 6e 61 6d 65 29 0a 7b 0a 20 20 69 66 20 28 28 68 74 6d 6c 6c 6f 63 61 6c 6e | mllocalname).{...if.((htmllocaln |
86da0 | 61 6d 65 20 3d 3d 3d 20 22 61 22 20 26 26 20 65 6c 65 6d 2e 68 72 65 66 20 21 3d 20 22 22 29 20 | ame.===."a".&&.elem.href.!=.""). |
86dc0 | 7c 7c 0a 20 20 20 20 68 74 6d 6c 6c 6f 63 61 6c 6e 61 6d 65 20 3d 3d 3d 20 22 61 72 65 61 22 29 | ||.....htmllocalname.===."area") |
86de0 | 20 7b 0a 0a 20 20 20 20 73 65 74 49 6e 66 6f 28 22 6c 69 6e 6b 2d 6c 61 6e 67 22 2c 20 63 6f 6e | .{......setInfo("link-lang",.con |
86e00 | 76 65 72 74 4c 61 6e 67 75 61 67 65 43 6f 64 65 28 65 6c 65 6d 2e 67 65 74 41 74 74 72 69 62 75 | vertLanguageCode(elem.getAttribu |
86e20 | 74 65 28 22 68 72 65 66 6c 61 6e 67 22 29 29 29 3b 0a 20 20 20 20 73 65 74 49 6e 66 6f 28 22 6c | te("hreflang")));.....setInfo("l |
86e40 | 69 6e 6b 2d 75 72 6c 22 2c 20 20 65 6c 65 6d 2e 68 72 65 66 29 3b 0a 20 20 20 20 73 65 74 49 6e | ink-url",..elem.href);.....setIn |
86e60 | 66 6f 28 22 6c 69 6e 6b 2d 74 79 70 65 22 2c 20 65 6c 65 6d 2e 67 65 74 41 74 74 72 69 62 75 74 | fo("link-type",.elem.getAttribut |
86e80 | 65 28 22 74 79 70 65 22 29 29 3b 0a 20 20 20 20 73 65 74 49 6e 66 6f 28 22 6c 69 6e 6b 2d 72 65 | e("type"));.....setInfo("link-re |
86ea0 | 6c 22 2c 20 20 65 6c 65 6d 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 72 65 6c 22 29 29 3b 0a | l",..elem.getAttribute("rel"));. |
86ec0 | 20 20 20 20 73 65 74 49 6e 66 6f 28 22 6c 69 6e 6b 2d 72 65 76 22 2c 20 20 65 6c 65 6d 2e 67 65 | ....setInfo("link-rev",..elem.ge |
86ee0 | 74 41 74 74 72 69 62 75 74 65 28 22 72 65 76 22 29 29 3b 0a 20 20 20 20 73 65 74 49 6e 66 6f 28 | tAttribute("rev"));.....setInfo( |
86f00 | 22 6c 69 6e 6b 2d 70 69 6e 67 22 2c 20 67 65 74 50 69 6e 67 73 28 65 6c 65 6d 29 2e 6a 6f 69 6e | "link-ping",.getPings(elem).join |
86f20 | 28 27 5c 6e 27 29 29 3b 0a 0a 20 20 20 20 76 61 72 20 74 61 72 67 65 74 20 3d 20 65 6c 65 6d 2e | ('\n'));......var.target.=.elem. |
86f40 | 74 61 72 67 65 74 3b 0a 0a 20 20 20 20 73 77 69 74 63 68 20 28 74 61 72 67 65 74 29 20 7b 0a 20 | target;......switch.(target).{.. |
86f60 | 20 20 20 63 61 73 65 20 22 5f 74 6f 70 22 3a 0a 20 20 20 20 20 20 73 65 74 49 6e 66 6f 28 22 6c | ...case."_top":.......setInfo("l |
86f80 | 69 6e 6b 2d 74 61 72 67 65 74 22 2c 20 67 4d 65 74 61 64 61 74 61 42 75 6e 64 6c 65 2e 67 65 74 | ink-target",.gMetadataBundle.get |
86fa0 | 53 74 72 69 6e 67 28 22 73 61 6d 65 57 69 6e 64 6f 77 54 65 78 74 22 29 29 3b 0a 20 20 20 20 20 | String("sameWindowText"));...... |
86fc0 | 20 62 72 65 61 6b 3b 0a 20 20 20 20 63 61 73 65 20 22 5f 70 61 72 65 6e 74 22 3a 0a 20 20 20 20 | .break;.....case."_parent":..... |
86fe0 | 20 20 73 65 74 49 6e 66 6f 28 22 6c 69 6e 6b 2d 74 61 72 67 65 74 22 2c 20 67 4d 65 74 61 64 61 | ..setInfo("link-target",.gMetada |
87000 | 74 61 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 70 61 72 65 6e 74 46 72 61 6d 65 54 | taBundle.getString("parentFrameT |
87020 | 65 78 74 22 29 29 3b 0a 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 63 61 73 65 20 22 5f | ext"));.......break;.....case."_ |
87040 | 62 6c 61 6e 6b 22 3a 0a 20 20 20 20 20 20 76 61 72 20 77 68 65 72 65 20 3d 20 22 57 69 6e 64 6f | blank":.......var.where.=."Windo |
87060 | 77 22 3b 0a 20 20 20 20 20 20 76 61 72 20 6e 65 77 57 69 6e 64 6f 77 50 72 65 66 20 3d 20 70 72 | w";.......var.newWindowPref.=.pr |
87080 | 65 66 73 2e 67 65 74 49 6e 74 50 72 65 66 28 22 62 72 6f 77 73 65 72 2e 6c 69 6e 6b 2e 6f 70 65 | efs.getIntPref("browser.link.ope |
870a0 | 6e 5f 6e 65 77 77 69 6e 64 6f 77 22 29 3b 0a 20 20 20 20 20 20 69 66 20 28 6e 65 77 57 69 6e 64 | n_newwindow");.......if.(newWind |
870c0 | 6f 77 50 72 65 66 20 3d 3d 20 33 29 0a 20 20 20 20 20 20 20 20 77 68 65 72 65 20 3d 20 22 54 61 | owPref.==.3).........where.=."Ta |
870e0 | 62 22 3b 0a 20 20 20 20 20 20 73 65 74 49 6e 66 6f 28 22 6c 69 6e 6b 2d 74 61 72 67 65 74 22 2c | b";.......setInfo("link-target", |
87100 | 20 67 4d 65 74 61 64 61 74 61 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 6e 65 77 22 | .gMetadataBundle.getString("new" |
87120 | 20 2b 20 77 68 65 72 65 20 2b 20 22 54 65 78 74 22 29 29 3b 0a 20 20 20 20 20 20 62 72 65 61 6b | .+.where.+."Text"));.......break |
87140 | 3b 0a 20 20 20 20 63 61 73 65 20 22 22 3a 0a 20 20 20 20 63 61 73 65 20 22 5f 73 65 6c 66 22 3a | ;.....case."":.....case."_self": |
87160 | 0a 20 20 20 20 20 20 69 66 20 28 65 6c 65 6d 2e 6f 77 6e 65 72 44 6f 63 75 6d 65 6e 74 2e 64 65 | .......if.(elem.ownerDocument.de |
87180 | 66 61 75 6c 74 56 69 65 77 29 20 7b 0a 20 20 20 20 20 20 20 20 69 66 20 28 65 6c 65 6d 2e 6f 77 | faultView).{.........if.(elem.ow |
871a0 | 6e 65 72 44 6f 63 75 6d 65 6e 74 20 21 3d 20 65 6c 65 6d 2e 6f 77 6e 65 72 44 6f 63 75 6d 65 6e | nerDocument.!=.elem.ownerDocumen |
871c0 | 74 2e 64 65 66 61 75 6c 74 56 69 65 77 2e 63 6f 6e 74 65 6e 74 2e 64 6f 63 75 6d 65 6e 74 29 0a | t.defaultView.content.document). |
871e0 | 20 20 20 20 20 20 20 20 20 20 73 65 74 49 6e 66 6f 28 22 6c 69 6e 6b 2d 74 61 72 67 65 74 22 2c | ..........setInfo("link-target", |
87200 | 20 67 4d 65 74 61 64 61 74 61 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 73 61 6d 65 | .gMetadataBundle.getString("same |
87220 | 46 72 61 6d 65 54 65 78 74 22 29 29 3b 0a 20 20 20 20 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 | FrameText"));.........else...... |
87240 | 20 20 20 20 20 73 65 74 49 6e 66 6f 28 22 6c 69 6e 6b 2d 74 61 72 67 65 74 22 2c 20 67 4d 65 74 | .....setInfo("link-target",.gMet |
87260 | 61 64 61 74 61 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 73 61 6d 65 57 69 6e 64 6f | adataBundle.getString("sameWindo |
87280 | 77 54 65 78 74 22 29 29 3b 0a 20 20 20 20 20 20 7d 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 20 | wText"));.......}.else.{........ |
872a0 | 20 68 69 64 65 4e 6f 64 65 28 22 6c 69 6e 6b 2d 74 61 72 67 65 74 22 29 3b 0a 20 20 20 20 20 20 | .hideNode("link-target");....... |
872c0 | 7d 0a 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 64 65 66 61 75 6c 74 3a 0a 20 20 20 20 | }.......break;.....default:..... |
872e0 | 20 20 73 65 74 49 6e 66 6f 28 22 6c 69 6e 6b 2d 74 61 72 67 65 74 22 2c 20 22 5c 22 22 20 2b 20 | ..setInfo("link-target",."\"".+. |
87300 | 74 61 72 67 65 74 20 2b 20 22 5c 22 22 29 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 6f 6e 4c 69 6e | target.+."\"");.....}......onLin |
87320 | 6b 20 3d 20 74 72 75 65 3b 0a 20 20 7d 0a 0a 20 20 65 6c 73 65 20 69 66 20 28 65 6c 65 6d 2e 67 | k.=.true;...}....else.if.(elem.g |
87340 | 65 74 41 74 74 72 69 62 75 74 65 4e 53 28 58 4c 69 6e 6b 4e 53 2c 20 22 68 72 65 66 22 29 20 21 | etAttributeNS(XLinkNS,."href").! |
87360 | 3d 20 22 22 29 20 7b 0a 20 20 20 20 76 61 72 20 69 6f 53 65 72 76 69 63 65 20 3d 20 43 6f 6d 70 | =."").{.....var.ioService.=.Comp |
87380 | 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6e 65 74 | onents.classes["@mozilla.org/net |
873a0 | 77 6f 72 6b 2f 69 6f 2d 73 65 72 76 69 63 65 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 | work/io-service;1"]............. |
873c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 6f | ...................getService(Co |
873e0 | 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 49 4f 53 65 72 76 69 63 65 | mponents.interfaces.nsIIOService |
87400 | 29 3b 0a 20 20 20 20 76 61 72 20 75 72 6c 20 3d 20 65 6c 65 6d 2e 67 65 74 41 74 74 72 69 62 75 | );.....var.url.=.elem.getAttribu |
87420 | 74 65 4e 53 28 58 4c 69 6e 6b 4e 53 2c 20 22 68 72 65 66 22 29 3b 0a 20 20 20 20 74 72 79 20 7b | teNS(XLinkNS,."href");.....try.{ |
87440 | 0a 20 20 20 20 20 20 20 20 76 61 72 20 62 61 73 65 55 52 49 20 3d 20 69 6f 53 65 72 76 69 63 65 | .........var.baseURI.=.ioService |
87460 | 2e 6e 65 77 55 52 49 28 65 6c 65 6d 2e 62 61 73 65 55 52 49 2c 20 65 6c 65 6d 2e 6f 77 6e 65 72 | .newURI(elem.baseURI,.elem.owner |
87480 | 44 6f 63 75 6d 65 6e 74 2e 63 68 61 72 61 63 74 65 72 53 65 74 2c 20 6e 75 6c 6c 29 3b 0a 20 20 | Document.characterSet,.null);... |
874a0 | 20 20 20 20 20 20 75 72 6c 20 3d 20 69 6f 53 65 72 76 69 63 65 2e 6e 65 77 55 52 49 28 75 72 6c | ......url.=.ioService.newURI(url |
874c0 | 2c 20 65 6c 65 6d 2e 6f 77 6e 65 72 44 6f 63 75 6d 65 6e 74 2e 63 68 61 72 61 63 74 65 72 53 65 | ,.elem.ownerDocument.characterSe |
874e0 | 74 2c 20 62 61 73 65 55 52 49 29 2e 73 70 65 63 3b 0a 20 20 20 20 7d 20 63 61 74 63 68 20 28 65 | t,.baseURI).spec;.....}.catch.(e |
87500 | 29 20 7b 7d 0a 20 20 20 20 73 65 74 49 6e 66 6f 28 22 6c 69 6e 6b 2d 75 72 6c 22 2c 20 75 72 6c | ).{}.....setInfo("link-url",.url |
87520 | 29 3b 0a 20 20 20 20 73 65 74 49 6e 66 6f 28 22 6c 69 6e 6b 2d 6c 61 6e 67 22 2c 20 22 22 29 3b | );.....setInfo("link-lang",.""); |
87540 | 0a 20 20 20 20 73 65 74 49 6e 66 6f 28 22 6c 69 6e 6b 2d 74 79 70 65 22 2c 20 22 22 29 3b 0a 20 | .....setInfo("link-type",."");.. |
87560 | 20 20 20 73 65 74 49 6e 66 6f 28 22 6c 69 6e 6b 2d 72 65 6c 22 2c 20 22 22 29 3b 0a 20 20 20 20 | ...setInfo("link-rel",."");..... |
87580 | 73 65 74 49 6e 66 6f 28 22 6c 69 6e 6b 2d 72 65 76 22 2c 20 22 22 29 3b 0a 20 20 20 20 73 65 74 | setInfo("link-rev",."");.....set |
875a0 | 49 6e 66 6f 28 22 6c 69 6e 6b 2d 70 69 6e 67 22 2c 20 22 22 29 3b 0a 0a 20 20 20 20 73 77 69 74 | Info("link-ping",."");......swit |
875c0 | 63 68 20 28 65 6c 65 6d 2e 67 65 74 41 74 74 72 69 62 75 74 65 4e 53 28 58 4c 69 6e 6b 4e 53 2c | ch.(elem.getAttributeNS(XLinkNS, |
875e0 | 22 73 68 6f 77 22 29 29 20 7b 0a 20 20 20 20 63 61 73 65 20 22 65 6d 62 65 64 22 3a 0a 20 20 20 | "show")).{.....case."embed":.... |
87600 | 20 20 20 20 20 73 65 74 49 6e 66 6f 28 22 6c 69 6e 6b 2d 74 61 72 67 65 74 22 2c 20 67 4d 65 74 | .....setInfo("link-target",.gMet |
87620 | 61 64 61 74 61 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 65 6d 62 65 64 64 65 64 54 | adataBundle.getString("embeddedT |
87640 | 65 78 74 22 29 29 3b 0a 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 63 61 73 65 20 | ext"));.........break;.....case. |
87660 | 22 6e 65 77 22 3a 0a 20 20 20 20 20 20 20 20 73 65 74 49 6e 66 6f 28 22 6c 69 6e 6b 2d 74 61 72 | "new":.........setInfo("link-tar |
87680 | 67 65 74 22 2c 20 67 4d 65 74 61 64 61 74 61 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 | get",.gMetadataBundle.getString( |
876a0 | 22 6e 65 77 57 69 6e 64 6f 77 54 65 78 74 22 29 29 3b 0a 20 20 20 20 20 20 20 20 62 72 65 61 6b | "newWindowText"));.........break |
876c0 | 3b 0a 20 20 20 20 63 61 73 65 20 22 22 3a 0a 20 20 20 20 63 61 73 65 20 22 72 65 70 6c 61 63 65 | ;.....case."":.....case."replace |
876e0 | 22 3a 0a 20 20 20 20 20 20 20 20 69 66 20 28 65 6c 65 6d 2e 6f 77 6e 65 72 44 6f 63 75 6d 65 6e | ":.........if.(elem.ownerDocumen |
87700 | 74 20 21 3d 20 65 6c 65 6d 2e 6f 77 6e 65 72 44 6f 63 75 6d 65 6e 74 2e 64 65 66 61 75 6c 74 56 | t.!=.elem.ownerDocument.defaultV |
87720 | 69 65 77 2e 63 6f 6e 74 65 6e 74 2e 64 6f 63 75 6d 65 6e 74 29 0a 20 20 20 20 20 20 20 20 20 20 | iew.content.document)........... |
87740 | 20 20 73 65 74 49 6e 66 6f 28 22 6c 69 6e 6b 2d 74 61 72 67 65 74 22 2c 20 67 4d 65 74 61 64 61 | ..setInfo("link-target",.gMetada |
87760 | 74 61 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 73 61 6d 65 46 72 61 6d 65 54 65 78 | taBundle.getString("sameFrameTex |
87780 | 74 22 29 29 3b 0a 20 20 20 20 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 73 | t"));.........else.............s |
877a0 | 65 74 49 6e 66 6f 28 22 6c 69 6e 6b 2d 74 61 72 67 65 74 22 2c 20 67 4d 65 74 61 64 61 74 61 42 | etInfo("link-target",.gMetadataB |
877c0 | 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 73 61 6d 65 57 69 6e 64 6f 77 54 65 78 74 22 | undle.getString("sameWindowText" |
877e0 | 29 29 3b 0a 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 64 65 66 61 75 6c 74 3a 0a | ));.........break;.....default:. |
87800 | 20 20 20 20 20 20 20 20 73 65 74 49 6e 66 6f 28 22 6c 69 6e 6b 2d 74 61 72 67 65 74 22 2c 20 22 | ........setInfo("link-target",." |
87820 | 22 29 3b 0a 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 7d 0a 20 20 20 20 0a 20 20 | ");.........break;.....}........ |
87840 | 20 20 6f 6e 4c 69 6e 6b 20 3d 20 74 72 75 65 3b 0a 20 20 7d 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e | ..onLink.=.true;...}.}..function |
87860 | 20 63 68 65 63 6b 46 6f 72 49 6e 73 44 65 6c 28 65 6c 65 6d 2c 20 68 74 6d 6c 6c 6f 63 61 6c 6e | .checkForInsDel(elem,.htmllocaln |
87880 | 61 6d 65 29 0a 7b 0a 20 20 69 66 20 28 28 68 74 6d 6c 6c 6f 63 61 6c 6e 61 6d 65 20 3d 3d 3d 20 | ame).{...if.((htmllocalname.===. |
878a0 | 22 69 6e 73 22 20 7c 7c 20 68 74 6d 6c 6c 6f 63 61 6c 6e 61 6d 65 20 3d 3d 3d 20 22 64 65 6c 22 | "ins".||.htmllocalname.===."del" |
878c0 | 29 20 26 26 0a 20 20 20 20 28 65 6c 65 6d 2e 63 69 74 65 20 7c 7c 20 65 6c 65 6d 2e 64 61 74 65 | ).&&.....(elem.cite.||.elem.date |
878e0 | 54 69 6d 65 29 29 20 7b 0a 20 20 20 20 73 65 74 49 6e 66 6f 28 22 69 6e 73 64 65 6c 2d 63 69 74 | Time)).{.....setInfo("insdel-cit |
87900 | 65 22 2c 20 65 6c 65 6d 2e 63 69 74 65 29 3b 0a 20 20 20 20 73 65 74 49 6e 66 6f 28 22 69 6e 73 | e",.elem.cite);.....setInfo("ins |
87920 | 64 65 6c 2d 64 61 74 65 22 2c 20 65 6c 65 6d 2e 64 61 74 65 54 69 6d 65 29 3b 0a 20 20 20 20 6f | del-date",.elem.dateTime);.....o |
87940 | 6e 49 6e 73 44 65 6c 20 3d 20 74 72 75 65 3b 0a 20 20 7d 20 0a 7d 0a 0a 0a 66 75 6e 63 74 69 6f | nInsDel.=.true;...}..}...functio |
87960 | 6e 20 63 68 65 63 6b 46 6f 72 51 75 6f 74 65 28 65 6c 65 6d 2c 20 68 74 6d 6c 6c 6f 63 61 6c 6e | n.checkForQuote(elem,.htmllocaln |
87980 | 61 6d 65 29 0a 7b 0a 20 20 69 66 20 28 28 68 74 6d 6c 6c 6f 63 61 6c 6e 61 6d 65 20 3d 3d 3d 20 | ame).{...if.((htmllocalname.===. |
879a0 | 22 71 22 20 7c 7c 20 68 74 6d 6c 6c 6f 63 61 6c 6e 61 6d 65 20 3d 3d 3d 20 22 62 6c 6f 63 6b 71 | "q".||.htmllocalname.===."blockq |
879c0 | 75 6f 74 65 22 29 20 26 26 20 65 6c 65 6d 2e 63 69 74 65 29 20 7b 0a 20 20 20 20 73 65 74 49 6e | uote").&&.elem.cite).{.....setIn |
879e0 | 66 6f 28 22 71 75 6f 74 65 2d 63 69 74 65 22 2c 20 65 6c 65 6d 2e 63 69 74 65 29 3b 0a 20 20 20 | fo("quote-cite",.elem.cite);.... |
87a00 | 20 6f 6e 51 75 6f 74 65 20 3d 20 74 72 75 65 3b 0a 20 20 7d 20 0a 7d 0a 0a 66 75 6e 63 74 69 6f | .onQuote.=.true;...}..}..functio |
87a20 | 6e 20 63 68 65 63 6b 46 6f 72 54 61 62 6c 65 28 65 6c 65 6d 2c 20 68 74 6d 6c 6c 6f 63 61 6c 6e | n.checkForTable(elem,.htmllocaln |
87a40 | 61 6d 65 29 0a 7b 0a 20 20 69 66 20 28 68 74 6d 6c 6c 6f 63 61 6c 6e 61 6d 65 20 3d 3d 3d 20 22 | ame).{...if.(htmllocalname.===." |
87a60 | 74 61 62 6c 65 22 20 26 26 20 65 6c 65 6d 2e 73 75 6d 6d 61 72 79 29 20 7b 0a 20 20 20 20 73 65 | table".&&.elem.summary).{.....se |
87a80 | 74 49 6e 66 6f 28 22 6d 69 73 63 2d 74 62 6c 73 75 6d 6d 61 72 79 22 2c 20 65 6c 65 6d 2e 73 75 | tInfo("misc-tblsummary",.elem.su |
87aa0 | 6d 6d 61 72 79 29 3b 0a 20 20 20 20 6f 6e 54 61 62 6c 65 20 3d 20 74 72 75 65 3b 0a 20 20 7d 0a | mmary);.....onTable.=.true;...}. |
87ac0 | 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 63 68 65 63 6b 46 6f 72 4c 61 6e 67 28 65 6c 65 6d 2c 20 68 | }..function.checkForLang(elem,.h |
87ae0 | 74 6d 6c 6c 6f 63 61 6c 6e 61 6d 65 29 0a 7b 0a 20 20 69 66 20 28 28 68 74 6d 6c 6c 6f 63 61 6c | tmllocalname).{...if.((htmllocal |
87b00 | 6e 61 6d 65 20 26 26 20 65 6c 65 6d 2e 6c 61 6e 67 29 20 7c 7c 20 65 6c 65 6d 2e 67 65 74 41 74 | name.&&.elem.lang).||.elem.getAt |
87b20 | 74 72 69 62 75 74 65 4e 53 28 58 4d 4c 4e 53 2c 20 22 6c 61 6e 67 22 29 29 20 7b 0a 20 20 20 20 | tributeNS(XMLNS,."lang")).{..... |
87b40 | 76 61 72 20 61 62 62 72 3b 0a 20 20 20 20 69 66 20 28 68 74 6d 6c 6c 6f 63 61 6c 6e 61 6d 65 20 | var.abbr;.....if.(htmllocalname. |
87b60 | 26 26 20 65 6c 65 6d 2e 6c 61 6e 67 29 0a 20 20 20 20 20 20 61 62 62 72 20 3d 20 65 6c 65 6d 2e | &&.elem.lang).......abbr.=.elem. |
87b80 | 6c 61 6e 67 3b 0a 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 61 62 62 72 20 3d 20 65 6c 65 6d | lang;.....else.......abbr.=.elem |
87ba0 | 2e 67 65 74 41 74 74 72 69 62 75 74 65 4e 53 28 58 4d 4c 4e 53 2c 20 22 6c 61 6e 67 22 29 3b 0a | .getAttributeNS(XMLNS,."lang");. |
87bc0 | 20 20 20 20 20 20 20 20 0a 20 20 20 20 73 65 74 49 6e 66 6f 28 22 6d 69 73 63 2d 6c 61 6e 67 22 | .............setInfo("misc-lang" |
87be0 | 2c 20 63 6f 6e 76 65 72 74 4c 61 6e 67 75 61 67 65 43 6f 64 65 28 61 62 62 72 29 29 3b 0a 20 20 | ,.convertLanguageCode(abbr));... |
87c00 | 20 20 6f 6e 4c 61 6e 67 20 3d 20 74 72 75 65 3b 0a 20 20 7d 0a 7d 0a 20 20 20 20 0a 66 75 6e 63 | ..onLang.=.true;...}.}......func |
87c20 | 74 69 6f 6e 20 63 68 65 63 6b 46 6f 72 54 69 74 6c 65 28 65 6c 65 6d 2c 20 68 74 6d 6c 6c 6f 63 | tion.checkForTitle(elem,.htmlloc |
87c40 | 61 6c 6e 61 6d 65 29 0a 7b 0a 20 20 69 66 20 28 68 74 6d 6c 6c 6f 63 61 6c 6e 61 6d 65 20 26 26 | alname).{...if.(htmllocalname.&& |
87c60 | 20 65 6c 65 6d 2e 74 69 74 6c 65 29 20 7b 0a 20 20 20 20 73 65 74 49 6e 66 6f 28 22 6d 69 73 63 | .elem.title).{.....setInfo("misc |
87c80 | 2d 74 69 74 6c 65 22 2c 20 65 6c 65 6d 2e 74 69 74 6c 65 29 3b 0a 20 20 20 20 6f 6e 54 69 74 6c | -title",.elem.title);.....onTitl |
87ca0 | 65 20 3d 20 74 72 75 65 3b 0a 20 20 7d 20 20 20 20 0a 7d 0a 0a 2f 2a 0a 20 2a 20 53 65 74 20 74 | e.=.true;...}.....}../*..*.Set.t |
87cc0 | 65 78 74 20 6f 66 20 6e 6f 64 65 20 69 64 20 74 6f 20 76 61 6c 75 65 0a 20 2a 20 69 66 20 76 61 | ext.of.node.id.to.value..*.if.va |
87ce0 | 6c 75 65 3d 22 22 20 74 68 65 20 6e 6f 64 65 20 77 69 74 68 20 73 70 65 63 69 66 69 65 64 20 69 | lue="".the.node.with.specified.i |
87d00 | 64 20 69 73 20 68 69 64 64 65 6e 2e 0a 20 2a 20 4e 6f 64 65 20 73 68 6f 75 6c 64 20 62 65 20 68 | d.is.hidden...*.Node.should.be.h |
87d20 | 61 76 65 20 6f 6e 65 20 6f 66 20 74 68 65 73 65 20 66 6f 72 6d 73 0a 20 2a 20 3c 78 75 6c 3a 6c | ave.one.of.these.forms..*.<xul:l |
87d40 | 61 62 65 6c 20 69 64 3d 22 69 64 2d 74 65 78 74 22 20 76 61 6c 75 65 3d 22 22 2f 3e 0a 20 2a 20 | abel.id="id-text".value=""/>..*. |
87d60 | 3c 78 75 6c 3a 64 65 73 63 72 69 70 74 69 6f 6e 20 69 64 3d 22 69 64 2d 74 65 78 74 22 2f 3e 0a | <xul:description.id="id-text"/>. |
87d80 | 20 2a 2f 0a 66 75 6e 63 74 69 6f 6e 20 73 65 74 49 6e 66 6f 28 69 64 2c 20 76 61 6c 75 65 29 0a | .*/.function.setInfo(id,.value). |
87da0 | 7b 0a 20 20 69 66 20 28 21 76 61 6c 75 65 29 20 7b 0a 20 20 20 20 68 69 64 65 4e 6f 64 65 28 69 | {...if.(!value).{.....hideNode(i |
87dc0 | 64 29 3b 0a 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 7d 0a 0a 20 20 76 61 72 20 6e 6f 64 65 20 | d);.....return;...}....var.node. |
87de0 | 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 69 64 2b 22 2d 74 | =.document.getElementById(id+"-t |
87e00 | 65 78 74 22 29 3b 0a 0a 20 20 69 66 20 28 6e 6f 64 65 2e 6e 61 6d 65 73 70 61 63 65 55 52 49 20 | ext");....if.(node.namespaceURI. |
87e20 | 3d 3d 20 58 55 4c 4e 53 20 26 26 20 6e 6f 64 65 2e 6c 6f 63 61 6c 4e 61 6d 65 20 3d 3d 20 22 6c | ==.XULNS.&&.node.localName.==."l |
87e40 | 61 62 65 6c 22 20 7c 7c 0a 20 20 20 20 20 28 6e 6f 64 65 2e 6e 61 6d 65 73 70 61 63 65 55 52 49 | abel".||......(node.namespaceURI |
87e60 | 20 3d 3d 20 58 55 4c 4e 53 20 26 26 20 6e 6f 64 65 2e 6c 6f 63 61 6c 4e 61 6d 65 20 3d 3d 20 22 | .==.XULNS.&&.node.localName.==." |
87e80 | 74 65 78 74 62 6f 78 22 29 29 20 7b 0a 20 20 20 20 6e 6f 64 65 2e 73 65 74 41 74 74 72 69 62 75 | textbox")).{.....node.setAttribu |
87ea0 | 74 65 28 22 76 61 6c 75 65 22 2c 76 61 6c 75 65 29 3b 0a 0a 20 20 7d 20 65 6c 73 65 20 69 66 20 | te("value",value);....}.else.if. |
87ec0 | 28 6e 6f 64 65 2e 6e 61 6d 65 73 70 61 63 65 55 52 49 20 3d 3d 20 58 55 4c 4e 53 20 26 26 20 6e | (node.namespaceURI.==.XULNS.&&.n |
87ee0 | 6f 64 65 2e 6c 6f 63 61 6c 4e 61 6d 65 20 3d 3d 20 22 64 65 73 63 72 69 70 74 69 6f 6e 22 29 20 | ode.localName.==."description"). |
87f00 | 7b 0a 20 20 20 20 77 68 69 6c 65 20 28 6e 6f 64 65 2e 68 61 73 43 68 69 6c 64 4e 6f 64 65 73 28 | {.....while.(node.hasChildNodes( |
87f20 | 29 29 0a 20 20 20 20 20 20 6e 6f 64 65 2e 72 65 6d 6f 76 65 43 68 69 6c 64 28 6e 6f 64 65 2e 66 | )).......node.removeChild(node.f |
87f40 | 69 72 73 74 43 68 69 6c 64 29 3b 0a 20 20 20 20 6e 6f 64 65 2e 61 70 70 65 6e 64 43 68 69 6c 64 | irstChild);.....node.appendChild |
87f60 | 28 6e 6f 64 65 2e 6f 77 6e 65 72 44 6f 63 75 6d 65 6e 74 2e 63 72 65 61 74 65 54 65 78 74 4e 6f | (node.ownerDocument.createTextNo |
87f80 | 64 65 28 76 61 6c 75 65 29 29 3b 0a 20 20 7d 0a 7d 0a 0a 2f 2f 20 48 69 64 65 20 6e 6f 64 65 20 | de(value));...}.}..//.Hide.node. |
87fa0 | 77 69 74 68 20 73 70 65 63 69 66 69 65 64 20 69 64 0a 66 75 6e 63 74 69 6f 6e 20 68 69 64 65 4e | with.specified.id.function.hideN |
87fc0 | 6f 64 65 28 69 64 29 0a 7b 0a 20 20 20 20 76 61 72 20 73 74 79 6c 65 20 3d 20 64 6f 63 75 6d 65 | ode(id).{.....var.style.=.docume |
87fe0 | 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 69 64 29 2e 67 65 74 41 74 74 72 69 62 75 | nt.getElementById(id).getAttribu |
88000 | 74 65 28 22 73 74 79 6c 65 22 29 3b 0a 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 | te("style");.....document.getEle |
88020 | 6d 65 6e 74 42 79 49 64 28 69 64 29 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 73 74 79 6c 65 | mentById(id).setAttribute("style |
88040 | 22 2c 20 22 64 69 73 70 6c 61 79 3a 6e 6f 6e 65 3b 22 20 2b 20 73 74 79 6c 65 29 3b 0a 7d 0a 0a | ",."display:none;".+.style);.}.. |
88060 | 2f 2a 0a 20 2a 20 46 69 6e 64 20 3c 69 6d 67 3e 20 6f 72 20 3c 6f 62 6a 65 63 74 3e 20 77 68 69 | /*..*.Find.<img>.or.<object>.whi |
88080 | 63 68 20 75 73 65 73 20 61 6e 20 69 6d 61 67 65 6d 61 70 2e 0a 20 2a 20 49 66 20 6d 6f 72 65 20 | ch.uses.an.imagemap...*.If.more. |
880a0 | 74 68 65 6e 20 6f 6e 65 20 6f 62 6a 65 63 74 20 69 73 20 66 6f 75 6e 64 20 77 65 20 63 61 6e 27 | then.one.object.is.found.we.can' |
880c0 | 74 20 64 65 74 65 72 6d 69 6e 65 20 77 68 69 63 68 20 6f 6e 65 0a 20 2a 20 77 61 73 20 63 6c 69 | t.determine.which.one..*.was.cli |
880e0 | 63 6b 65 64 2e 0a 20 2a 0a 20 2a 20 54 68 69 73 20 63 6f 64 65 20 68 61 73 20 74 6f 20 62 65 20 | cked...*..*.This.code.has.to.be. |
88100 | 63 68 61 6e 67 65 64 20 6f 6e 63 65 20 62 75 67 20 31 38 38 32 20 69 73 20 66 69 78 65 64 2e 0a | changed.once.bug.1882.is.fixed.. |
88120 | 20 2a 20 4f 6e 63 65 20 62 75 67 20 37 32 35 32 37 20 69 73 20 66 69 78 65 64 20 74 68 69 73 20 | .*.Once.bug.72527.is.fixed.this. |
88140 | 63 6f 64 65 20 73 68 6f 75 6c 64 20 75 73 65 20 74 68 65 20 2e 69 6d 61 67 65 73 20 63 6f 6c 6c | code.should.use.the..images.coll |
88160 | 65 63 74 69 6f 6e 2e 0a 20 2a 2f 0a 66 75 6e 63 74 69 6f 6e 20 67 65 74 49 6d 61 67 65 46 6f 72 | ection...*/.function.getImageFor |
88180 | 4d 61 70 28 6d 61 70 29 0a 7b 0a 20 20 76 61 72 20 6d 61 70 75 72 69 20 3d 20 22 23 22 20 2b 20 | Map(map).{...var.mapuri.=."#".+. |
881a0 | 6d 61 70 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 6e 61 6d 65 22 29 3b 0a 20 20 76 61 72 20 | map.getAttribute("name");...var. |
881c0 | 6d 75 6c 74 69 70 6c 65 46 6f 75 6e 64 20 3d 20 66 61 6c 73 65 3b 0a 20 20 76 61 72 20 69 6d 67 | multipleFound.=.false;...var.img |
881e0 | 3b 0a 0a 20 20 76 61 72 20 6c 69 73 74 20 3d 20 67 65 74 48 54 4d 4c 45 6c 65 6d 65 6e 74 73 28 | ;....var.list.=.getHTMLElements( |
88200 | 6d 61 70 2e 6f 77 6e 65 72 44 6f 63 75 6d 65 6e 74 2c 20 22 69 6d 67 22 29 3b 0a 20 20 66 6f 72 | map.ownerDocument,."img");...for |
88220 | 20 28 76 61 72 20 69 3d 30 3b 20 69 20 3c 20 6c 69 73 74 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 | .(var.i=0;.i.<.list.length;.i++) |
88240 | 20 7b 0a 20 20 20 20 69 66 20 28 6c 69 73 74 2e 69 74 65 6d 28 69 29 2e 67 65 74 41 74 74 72 69 | .{.....if.(list.item(i).getAttri |
88260 | 62 75 74 65 28 22 75 73 65 6d 61 70 22 29 20 3d 3d 20 6d 61 70 75 72 69 29 20 7b 0a 20 20 20 20 | bute("usemap").==.mapuri).{..... |
88280 | 20 20 69 66 20 28 69 6d 67 29 20 7b 0a 20 20 20 20 20 20 20 20 6d 75 6c 74 69 70 6c 65 46 6f 75 | ..if.(img).{.........multipleFou |
882a0 | 6e 64 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 | nd.=.true;.........break;....... |
882c0 | 7d 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 20 20 69 6d 67 20 3d 20 6c 69 73 74 2e 69 74 65 6d | }.else.{.........img.=.list.item |
882e0 | 28 69 29 3b 0a 20 20 20 20 20 20 20 20 69 6d 67 54 79 70 65 20 3d 20 22 69 6d 67 22 3b 0a 20 20 | (i);.........imgType.=."img";... |
88300 | 20 20 20 20 7d 0a 20 20 20 20 7d 0a 20 20 7d 0a 0a 20 20 6c 69 73 74 20 3d 20 67 65 74 48 54 4d | ....}.....}...}....list.=.getHTM |
88320 | 4c 45 6c 65 6d 65 6e 74 73 28 6d 61 70 2e 6f 77 6e 65 72 44 6f 63 75 6d 65 6e 74 2c 20 22 6f 62 | LElements(map.ownerDocument,."ob |
88340 | 6a 65 63 74 22 29 3b 0a 20 20 66 6f 72 20 28 69 20 3d 20 30 3b 20 69 20 3c 20 6c 69 73 74 2e 6c | ject");...for.(i.=.0;.i.<.list.l |
88360 | 65 6e 67 74 68 3b 20 69 2b 2b 29 20 7b 0a 20 20 20 20 69 66 20 28 6c 69 73 74 2e 69 74 65 6d 28 | ength;.i++).{.....if.(list.item( |
88380 | 69 29 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 75 73 65 6d 61 70 22 29 20 3d 3d 20 6d 61 70 | i).getAttribute("usemap").==.map |
883a0 | 75 72 69 29 20 7b 0a 20 20 20 20 20 20 69 66 20 28 69 6d 67 29 20 7b 0a 20 20 20 20 20 20 20 20 | uri).{.......if.(img).{......... |
883c0 | 6d 75 6c 74 69 70 6c 65 46 6f 75 6e 64 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 62 72 | multipleFound.=.true;.........br |
883e0 | 65 61 6b 3b 0a 20 20 20 20 20 20 7d 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 20 20 69 6d 67 20 | eak;.......}.else.{.........img. |
88400 | 3d 20 6c 69 73 74 2e 69 74 65 6d 28 69 29 3b 0a 20 20 20 20 20 20 20 20 69 6d 67 54 79 70 65 20 | =.list.item(i);.........imgType. |
88420 | 3d 20 22 6f 62 6a 65 63 74 22 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 20 20 7d 0a 0a 20 | =."object";.......}.....}...}... |
88440 | 20 69 66 20 28 6d 75 6c 74 69 70 6c 65 46 6f 75 6e 64 29 0a 20 20 20 20 69 6d 67 20 3d 20 6e 75 | .if.(multipleFound).....img.=.nu |
88460 | 6c 6c 3b 0a 0a 20 20 72 65 74 75 72 6e 20 69 6d 67 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 67 | ll;....return.img;.}..function.g |
88480 | 65 74 48 54 4d 4c 45 6c 65 6d 65 6e 74 73 28 6e 6f 64 65 2c 20 6e 61 6d 65 29 0a 7b 0a 20 20 69 | etHTMLElements(node,.name).{...i |
884a0 | 66 20 28 68 74 6d 6c 4d 6f 64 65 29 0a 20 20 20 20 72 65 74 75 72 6e 20 6e 6f 64 65 2e 67 65 74 | f.(htmlMode).....return.node.get |
884c0 | 45 6c 65 6d 65 6e 74 73 42 79 54 61 67 4e 61 6d 65 28 6e 61 6d 65 29 3b 0a 20 20 72 65 74 75 72 | ElementsByTagName(name);...retur |
884e0 | 6e 20 6e 6f 64 65 2e 67 65 74 45 6c 65 6d 65 6e 74 73 42 79 54 61 67 4e 61 6d 65 4e 53 28 58 48 | n.node.getElementsByTagNameNS(XH |
88500 | 54 4d 4c 4e 53 2c 20 6e 61 6d 65 29 3b 0a 7d 0a 0a 2f 2f 20 6e 61 6d 65 20 73 68 6f 75 6c 64 20 | TMLNS,.name);.}..//.name.should. |
88520 | 62 65 20 69 6e 20 6c 6f 77 65 72 20 63 61 73 65 0a 66 75 6e 63 74 69 6f 6e 20 69 73 48 54 4d 4c | be.in.lower.case.function.isHTML |
88540 | 45 6c 65 6d 65 6e 74 28 6e 6f 64 65 2c 20 6e 61 6d 65 29 0a 7b 0a 20 20 69 66 20 28 6e 6f 64 65 | Element(node,.name).{...if.(node |
88560 | 2e 6e 6f 64 65 54 79 70 65 20 21 3d 20 4e 6f 64 65 2e 45 4c 45 4d 45 4e 54 5f 4e 4f 44 45 29 0a | .nodeType.!=.Node.ELEMENT_NODE). |
88580 | 20 20 20 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 0a 0a 20 20 69 66 20 28 68 74 6d 6c 4d 6f 64 | ....return.false;....if.(htmlMod |
885a0 | 65 29 0a 20 20 20 20 72 65 74 75 72 6e 20 21 6e 61 6d 65 20 7c 7c 20 6e 6f 64 65 2e 6c 6f 63 61 | e).....return.!name.||.node.loca |
885c0 | 6c 4e 61 6d 65 2e 74 6f 4c 6f 77 65 72 43 61 73 65 28 29 20 3d 3d 20 6e 61 6d 65 3b 0a 0a 20 20 | lName.toLowerCase().==.name;.... |
885e0 | 72 65 74 75 72 6e 20 28 21 6e 61 6d 65 20 7c 7c 20 6e 6f 64 65 2e 6c 6f 63 61 6c 4e 61 6d 65 20 | return.(!name.||.node.localName. |
88600 | 3d 3d 20 6e 61 6d 65 29 20 26 26 20 6e 6f 64 65 2e 6e 61 6d 65 73 70 61 63 65 55 52 49 20 3d 3d | ==.name).&&.node.namespaceURI.== |
88620 | 20 58 48 54 4d 4c 4e 53 3b 0a 7d 0a 0a 2f 2f 20 54 68 69 73 20 66 75 6e 63 74 69 6f 6e 20 63 6f | .XHTMLNS;.}..//.This.function.co |
88640 | 64 65 64 20 61 63 63 6f 72 64 69 6e 67 20 74 6f 20 74 68 65 20 73 70 65 63 20 61 74 3a 0a 2f 2f | ded.according.to.the.spec.at:.// |
88660 | 20 68 74 74 70 3a 2f 2f 77 77 77 2e 62 61 74 68 2e 61 63 2e 75 6b 2f 7e 70 79 38 69 65 68 2f 69 | .http://www.bath.ac.uk/~py8ieh/i |
88680 | 6e 74 65 72 6e 65 74 2f 64 69 73 63 75 73 73 69 6f 6e 2f 6d 65 74 61 64 61 74 61 2e 74 78 74 0a | nternet/discussion/metadata.txt. |
886a0 | 66 75 6e 63 74 69 6f 6e 20 63 6f 6e 76 65 72 74 4c 61 6e 67 75 61 67 65 43 6f 64 65 28 61 62 62 | function.convertLanguageCode(abb |
886c0 | 72 29 0a 7b 0a 20 20 69 66 20 28 21 61 62 62 72 29 20 72 65 74 75 72 6e 20 22 22 3b 0a 20 20 76 | r).{...if.(!abbr).return."";...v |
886e0 | 61 72 20 72 65 73 75 6c 74 3b 0a 20 20 76 61 72 20 6c 61 6e 67 75 61 67 65 20 3d 20 22 22 3b 0a | ar.result;...var.language.=."";. |
88700 | 20 20 76 61 72 20 72 65 67 69 6f 6e 3b 0a 20 20 76 61 72 20 69 73 5f 72 65 67 69 6f 6e 5f 73 65 | ..var.region;...var.is_region_se |
88720 | 74 20 3d 20 66 61 6c 73 65 3b 0a 20 20 76 61 72 20 74 6f 6b 65 6e 73 20 3d 20 61 62 62 72 2e 73 | t.=.false;...var.tokens.=.abbr.s |
88740 | 70 6c 69 74 28 22 2d 22 29 3b 0a 0a 20 20 69 66 20 28 74 6f 6b 65 6e 73 5b 30 5d 20 3d 3d 3d 20 | plit("-");....if.(tokens[0].===. |
88760 | 22 78 22 20 7c 7c 20 74 6f 6b 65 6e 73 5b 30 5d 20 3d 3d 3d 20 22 69 22 29 0a 20 20 7b 0a 20 20 | "x".||.tokens[0].===."i")...{... |
88780 | 20 20 2f 2f 20 78 20 61 6e 64 20 69 20 70 72 65 66 69 78 65 73 20 6d 65 61 6e 20 75 6e 6f 66 66 | ..//.x.and.i.prefixes.mean.unoff |
887a0 | 69 63 69 61 6c 20 6f 6e 65 73 2e 20 53 6f 20 77 65 20 75 70 70 65 72 2d 63 61 73 65 20 74 68 65 | icial.ones..So.we.upper-case.the |
887c0 | 20 66 69 72 73 74 0a 20 20 20 20 2f 2f 20 77 6f 72 64 20 61 6e 64 20 6c 65 61 76 65 20 74 68 65 | .first.....//.word.and.leave.the |
887e0 | 20 72 65 73 74 2e 0a 20 20 20 20 74 6f 6b 65 6e 73 2e 73 68 69 66 74 28 29 3b 0a 0a 20 20 20 20 | .rest......tokens.shift();...... |
88800 | 69 66 20 28 74 6f 6b 65 6e 73 5b 30 5d 29 0a 20 20 20 20 7b 0a 20 20 20 20 20 20 2f 2f 20 55 70 | if.(tokens[0]).....{.......//.Up |
88820 | 70 65 72 2d 63 61 73 65 20 66 69 72 73 74 20 6c 65 74 74 65 72 0a 20 20 20 20 20 20 6c 61 6e 67 | per-case.first.letter.......lang |
88840 | 75 61 67 65 20 3d 20 74 6f 6b 65 6e 73 5b 30 5d 2e 73 75 62 73 74 72 28 30 2c 20 31 29 2e 74 6f | uage.=.tokens[0].substr(0,.1).to |
88860 | 55 70 70 65 72 43 61 73 65 28 29 20 2b 20 74 6f 6b 65 6e 73 5b 30 5d 2e 73 75 62 73 74 72 28 31 | UpperCase().+.tokens[0].substr(1 |
88880 | 29 3b 0a 20 20 20 20 20 20 74 6f 6b 65 6e 73 2e 73 68 69 66 74 28 29 3b 0a 0a 20 20 20 20 20 20 | );.......tokens.shift();........ |
888a0 | 69 66 20 28 74 6f 6b 65 6e 73 5b 30 5d 29 0a 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 2f | if.(tokens[0]).......{........./ |
888c0 | 2f 20 41 64 64 20 6f 6e 20 74 68 65 20 72 65 73 74 20 61 73 20 73 70 61 63 65 2d 73 65 70 61 72 | /.Add.on.the.rest.as.space-separ |
888e0 | 61 74 65 64 20 73 74 72 69 6e 67 73 20 69 6e 73 69 64 65 20 74 68 65 20 62 72 61 63 6b 65 74 73 | ated.strings.inside.the.brackets |
88900 | 0a 20 20 20 20 20 20 20 20 72 65 67 69 6f 6e 20 3d 20 74 6f 6b 65 6e 73 2e 6a 6f 69 6e 28 22 20 | .........region.=.tokens.join(". |
88920 | 22 29 3b 0a 20 20 20 20 20 20 20 20 69 73 5f 72 65 67 69 6f 6e 5f 73 65 74 20 3d 20 74 72 75 65 | ");.........is_region_set.=.true |
88940 | 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 20 20 7d 0a 20 20 65 6c 73 65 0a 20 20 7b 0a 20 | ;.......}.....}...}...else...{.. |
88960 | 20 20 20 2f 2f 20 4f 74 68 65 72 77 69 73 65 20 77 65 20 74 72 65 61 74 20 74 68 65 20 66 69 72 | ...//.Otherwise.we.treat.the.fir |
88980 | 73 74 20 61 73 20 61 20 6c 61 6e 67 2c 20 74 68 65 20 73 65 63 6f 6e 64 20 61 73 20 61 20 72 65 | st.as.a.lang,.the.second.as.a.re |
889a0 | 67 69 6f 6e 0a 20 20 20 20 2f 2f 20 61 6e 64 20 74 68 65 20 72 65 73 74 20 61 73 20 73 74 72 69 | gion.....//.and.the.rest.as.stri |
889c0 | 6e 67 73 2e 0a 20 20 20 20 74 72 79 0a 20 20 20 20 7b 0a 20 20 20 20 20 20 6c 61 6e 67 75 61 67 | ngs......try.....{.......languag |
889e0 | 65 20 3d 20 67 4c 61 6e 67 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 74 6f 6b 65 6e 73 | e.=.gLangBundle.getString(tokens |
88a00 | 5b 30 5d 2e 74 6f 4c 6f 77 65 72 43 61 73 65 28 29 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 63 61 | [0].toLowerCase());.....}.....ca |
88a20 | 74 63 68 20 28 65 29 20 0a 20 20 20 20 7b 0a 20 20 20 20 20 20 2f 2f 20 4c 61 6e 67 75 61 67 65 | tch.(e)......{.......//.Language |
88a40 | 20 6e 6f 74 20 70 72 65 73 65 6e 74 20 69 6e 20 6c 61 6e 67 20 62 75 6e 64 6c 65 0a 20 20 20 20 | .not.present.in.lang.bundle..... |
88a60 | 20 20 6c 61 6e 67 75 61 67 65 20 3d 20 74 6f 6b 65 6e 73 5b 30 5d 3b 20 0a 20 20 20 20 7d 0a 0a | ..language.=.tokens[0];......}.. |
88a80 | 20 20 20 20 74 6f 6b 65 6e 73 2e 73 68 69 66 74 28 29 3b 0a 0a 20 20 20 20 69 66 20 28 74 6f 6b | ....tokens.shift();......if.(tok |
88aa0 | 65 6e 73 5b 30 5d 29 0a 20 20 20 20 7b 0a 20 20 20 20 20 20 74 72 79 0a 20 20 20 20 20 20 7b 0a | ens[0]).....{.......try.......{. |
88ac0 | 20 20 20 20 20 20 20 20 2f 2f 20 57 65 20 64 6f 6e 27 74 20 61 64 64 20 69 74 20 6f 6e 20 74 6f | ........//.We.don't.add.it.on.to |
88ae0 | 20 74 68 65 20 72 65 73 75 6c 74 20 69 6d 6d 65 64 69 61 74 65 6c 79 0a 20 20 20 20 20 20 20 20 | .the.result.immediately......... |
88b00 | 2f 2f 20 62 65 63 61 75 73 65 20 77 65 20 77 61 6e 74 20 74 6f 20 67 65 74 20 74 68 65 20 73 70 | //.because.we.want.to.get.the.sp |
88b20 | 61 63 69 6e 67 20 72 69 67 68 74 2e 0a 20 20 20 20 20 20 20 20 72 65 67 69 6f 6e 20 3d 20 67 52 | acing.right..........region.=.gR |
88b40 | 65 67 69 6f 6e 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 74 6f 6b 65 6e 73 5b 30 5d 2e | egionBundle.getString(tokens[0]. |
88b60 | 74 6f 4c 6f 77 65 72 43 61 73 65 28 29 29 3b 0a 0a 20 20 20 20 20 20 20 20 74 6f 6b 65 6e 73 2e | toLowerCase());..........tokens. |
88b80 | 73 68 69 66 74 28 29 3b 0a 0a 20 20 20 20 20 20 20 20 69 66 20 28 74 6f 6b 65 6e 73 5b 30 5d 29 | shift();..........if.(tokens[0]) |
88ba0 | 0a 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 41 64 64 20 6f 6e 20 74 | .........{...........//.Add.on.t |
88bc0 | 68 65 20 72 65 73 74 20 61 73 20 73 70 61 63 65 2d 73 65 70 61 72 61 74 65 64 20 73 74 72 69 6e | he.rest.as.space-separated.strin |
88be0 | 67 73 20 69 6e 73 69 64 65 20 74 68 65 20 62 72 61 63 6b 65 74 73 0a 20 20 20 20 20 20 20 20 20 | gs.inside.the.brackets.......... |
88c00 | 20 72 65 67 69 6f 6e 20 2b 3d 20 22 20 22 20 2b 20 74 6f 6b 65 6e 73 2e 6a 6f 69 6e 28 22 20 22 | .region.+=.".".+.tokens.join("." |
88c20 | 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 63 61 74 63 68 | );.........}.......}.......catch |
88c40 | 20 28 65 29 20 0a 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 2f 2f 20 52 65 67 69 6f 6e 20 | .(e)........{.........//.Region. |
88c60 | 6e 6f 74 20 70 72 65 73 65 6e 74 20 69 6e 20 72 65 67 69 6f 6e 20 62 75 6e 64 6c 65 0a 20 20 20 | not.present.in.region.bundle.... |
88c80 | 20 20 20 20 20 72 65 67 69 6f 6e 20 3d 20 74 6f 6b 65 6e 73 2e 6a 6f 69 6e 28 22 20 22 29 3b 0a | .....region.=.tokens.join(".");. |
88ca0 | 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 69 73 5f 72 65 67 69 6f 6e 5f 73 65 74 20 3d 20 74 | ......}........is_region_set.=.t |
88cc0 | 72 75 65 3b 0a 20 20 20 20 7d 0a 20 20 7d 0a 0a 20 20 69 66 20 28 69 73 5f 72 65 67 69 6f 6e 5f | rue;.....}...}....if.(is_region_ |
88ce0 | 73 65 74 29 20 7b 0a 20 20 20 20 72 65 73 75 6c 74 20 3d 20 67 4d 65 74 61 64 61 74 61 42 75 6e | set).{.....result.=.gMetadataBun |
88d00 | 64 6c 65 2e 67 65 74 46 6f 72 6d 61 74 74 65 64 53 74 72 69 6e 67 28 22 6c 61 6e 67 75 61 67 65 | dle.getFormattedString("language |
88d20 | 52 65 67 69 6f 6e 46 6f 72 6d 61 74 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | RegionFormat",.................. |
88d40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 5b | ...............................[ |
88d60 | 6c 61 6e 67 75 61 67 65 2c 20 72 65 67 69 6f 6e 5d 29 3b 0a 20 20 7d 20 65 6c 73 65 0a 20 20 20 | language,.region]);...}.else.... |
88d80 | 20 72 65 73 75 6c 74 20 3d 20 6c 61 6e 67 75 61 67 65 3b 0a 0a 20 20 72 65 74 75 72 6e 20 72 65 | .result.=.language;....return.re |
88da0 | 73 75 6c 74 3b 0a 7d 0a 0a 2f 2f 20 52 65 74 75 72 6e 73 20 74 68 65 20 73 69 7a 65 20 6f 66 20 | sult;.}..//.Returns.the.size.of. |
88dc0 | 74 68 65 20 55 52 4c 20 69 6e 20 62 79 74 65 73 3b 20 6d 75 73 74 20 62 65 20 63 61 63 68 65 64 | the.URL.in.bytes;.must.be.cached |
88de0 | 20 61 6e 64 20 74 68 65 72 65 66 6f 72 65 20 61 6e 20 48 54 54 50 20 6f 72 20 46 54 50 20 55 52 | .and.therefore.an.HTTP.or.FTP.UR |
88e00 | 4c 0a 66 75 6e 63 74 69 6f 6e 20 67 65 74 53 69 7a 65 28 75 72 6c 29 20 7b 0a 20 20 74 72 79 0a | L.function.getSize(url).{...try. |
88e20 | 20 20 7b 0a 20 20 20 20 76 61 72 20 63 61 63 68 65 45 6e 74 72 79 44 65 73 63 72 69 70 74 6f 72 | ..{.....var.cacheEntryDescriptor |
88e40 | 20 3d 20 68 74 74 70 43 61 63 68 65 53 65 73 73 69 6f 6e 2e 6f 70 65 6e 43 61 63 68 65 45 6e 74 | .=.httpCacheSession.openCacheEnt |
88e60 | 72 79 28 75 72 6c 2c 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 | ry(url,.Components.interfaces.ns |
88e80 | 49 43 61 63 68 65 2e 41 43 43 45 53 53 5f 52 45 41 44 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 20 | ICache.ACCESS_READ,.false);..... |
88ea0 | 69 66 28 63 61 63 68 65 45 6e 74 72 79 44 65 73 63 72 69 70 74 6f 72 29 0a 20 20 20 20 20 20 72 | if(cacheEntryDescriptor).......r |
88ec0 | 65 74 75 72 6e 20 63 61 63 68 65 45 6e 74 72 79 44 65 73 63 72 69 70 74 6f 72 2e 64 61 74 61 53 | eturn.cacheEntryDescriptor.dataS |
88ee0 | 69 7a 65 3b 0a 20 20 7d 0a 20 20 63 61 74 63 68 28 65 78 29 20 7b 7d 0a 20 20 74 72 79 0a 20 20 | ize;...}...catch(ex).{}...try... |
88f00 | 7b 0a 20 20 20 20 63 61 63 68 65 45 6e 74 72 79 44 65 73 63 72 69 70 74 6f 72 20 3d 20 66 74 70 | {.....cacheEntryDescriptor.=.ftp |
88f20 | 43 61 63 68 65 53 65 73 73 69 6f 6e 2e 6f 70 65 6e 43 61 63 68 65 45 6e 74 72 79 28 75 72 6c 2c | CacheSession.openCacheEntry(url, |
88f40 | 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 43 61 63 68 65 2e | .Components.interfaces.nsICache. |
88f60 | 41 43 43 45 53 53 5f 52 45 41 44 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 20 69 66 20 28 63 61 63 | ACCESS_READ,.false);.....if.(cac |
88f80 | 68 65 45 6e 74 72 79 44 65 73 63 72 69 70 74 6f 72 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 | heEntryDescriptor).......return. |
88fa0 | 63 61 63 68 65 45 6e 74 72 79 44 65 73 63 72 69 70 74 6f 72 2e 64 61 74 61 53 69 7a 65 3b 0a 20 | cacheEntryDescriptor.dataSize;.. |
88fc0 | 20 7d 0a 20 20 63 61 74 63 68 28 65 78 29 20 7b 7d 0a 20 20 72 65 74 75 72 6e 20 2d 31 3b 0a 7d | .}...catch(ex).{}...return.-1;.} |
88fe0 | 0a 0a 66 75 6e 63 74 69 6f 6e 20 73 65 74 41 6c 74 28 65 6c 65 6d 29 20 7b 0a 20 20 76 61 72 20 | ..function.setAlt(elem).{...var. |
89000 | 61 6c 74 54 65 78 74 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 | altText.=.document.getElementByI |
89020 | 64 28 22 69 6d 61 67 65 2d 61 6c 74 2d 74 65 78 74 22 29 3b 0a 20 20 69 66 20 28 65 6c 65 6d 2e | d("image-alt-text");...if.(elem. |
89040 | 68 61 73 41 74 74 72 69 62 75 74 65 28 22 61 6c 74 22 29 29 20 7b 0a 20 20 20 20 69 66 20 28 65 | hasAttribute("alt")).{.....if.(e |
89060 | 6c 65 6d 2e 61 6c 74 20 21 3d 20 22 22 29 20 7b 0a 20 20 20 20 20 20 61 6c 74 54 65 78 74 2e 76 | lem.alt.!=."").{.......altText.v |
89080 | 61 6c 75 65 20 3d 20 65 6c 65 6d 2e 61 6c 74 3b 0a 20 20 20 20 20 20 61 6c 74 54 65 78 74 2e 73 | alue.=.elem.alt;.......altText.s |
890a0 | 65 74 41 74 74 72 69 62 75 74 65 28 22 73 74 79 6c 65 22 2c 22 66 6f 6e 74 2d 73 74 79 6c 65 3a | etAttribute("style","font-style: |
890c0 | 69 6e 68 65 72 69 74 22 29 3b 0a 20 20 20 20 7d 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 61 6c | inherit");.....}.else.{.......al |
890e0 | 74 54 65 78 74 2e 76 61 6c 75 65 20 3d 20 67 4d 65 74 61 64 61 74 61 42 75 6e 64 6c 65 2e 67 65 | tText.value.=.gMetadataBundle.ge |
89100 | 74 53 74 72 69 6e 67 28 22 61 6c 74 54 65 78 74 42 6c 61 6e 6b 22 29 3b 0a 20 20 20 20 20 20 61 | tString("altTextBlank");.......a |
89120 | 6c 74 54 65 78 74 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 73 74 79 6c 65 22 2c 22 66 6f 6e | ltText.setAttribute("style","fon |
89140 | 74 2d 73 74 79 6c 65 3a 69 74 61 6c 69 63 22 29 3b 0a 20 20 20 20 7d 0a 20 20 7d 20 65 6c 73 65 | t-style:italic");.....}...}.else |
89160 | 20 7b 0a 20 20 20 20 61 6c 74 54 65 78 74 2e 76 61 6c 75 65 20 3d 20 67 4d 65 74 61 64 61 74 61 | .{.....altText.value.=.gMetadata |
89180 | 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 61 6c 74 54 65 78 74 4d 69 73 73 69 6e 67 | Bundle.getString("altTextMissing |
891a0 | 22 29 3b 0a 20 20 20 20 61 6c 74 54 65 78 74 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 73 74 | ");.....altText.setAttribute("st |
891c0 | 79 6c 65 22 2c 22 66 6f 6e 74 2d 73 74 79 6c 65 3a 69 74 61 6c 69 63 22 29 3b 0a 20 20 7d 0a 7d | yle","font-style:italic");...}.} |
891e0 | 0a 50 4b 03 04 14 00 00 00 00 00 f2 4b 18 3b 8b 52 76 30 b2 17 00 00 b2 17 00 00 1c 00 00 00 63 | .PK.........K.;.Rv0............c |
89200 | 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 6d 65 74 61 44 61 74 61 2e 78 75 6c 3c 3f 78 6d 6c | ontent/browser/metaData.xul<?xml |
89220 | 20 76 65 72 73 69 6f 6e 3d 22 31 2e 30 22 3f 3e 20 0a 0a 0a 3c 3f 78 6d 6c 2d 73 74 79 6c 65 73 | .version="1.0"?>....<?xml-styles |
89240 | 68 65 65 74 20 68 72 65 66 3d 22 63 68 72 6f 6d 65 3a 2f 2f 67 6c 6f 62 61 6c 2f 73 6b 69 6e 2f | heet.href="chrome://global/skin/ |
89260 | 22 20 74 79 70 65 3d 22 74 65 78 74 2f 63 73 73 22 3f 3e 0a 3c 3f 78 6d 6c 2d 73 74 79 6c 65 73 | ".type="text/css"?>.<?xml-styles |
89280 | 68 65 65 74 20 68 72 65 66 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 73 6b 69 6e | heet.href="chrome://browser/skin |
892a0 | 2f 70 61 67 65 49 6e 66 6f 2e 63 73 73 22 20 74 79 70 65 3d 22 74 65 78 74 2f 63 73 73 22 3f 3e | /pageInfo.css".type="text/css"?> |
892c0 | 0a 3c 3f 78 75 6c 2d 6f 76 65 72 6c 61 79 20 68 72 65 66 3d 22 63 68 72 6f 6d 65 3a 2f 2f 67 6c | .<?xul-overlay.href="chrome://gl |
892e0 | 6f 62 61 6c 2f 63 6f 6e 74 65 6e 74 2f 64 69 61 6c 6f 67 4f 76 65 72 6c 61 79 2e 78 75 6c 22 3f | obal/content/dialogOverlay.xul"? |
89300 | 3e 0a 0a 3c 21 44 4f 43 54 59 50 45 20 77 69 6e 64 6f 77 20 53 59 53 54 45 4d 20 22 63 68 72 6f | >..<!DOCTYPE.window.SYSTEM."chro |
89320 | 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 6c 6f 63 61 6c 65 2f 6d 65 74 61 44 61 74 61 2e 64 74 64 | me://browser/locale/metaData.dtd |
89340 | 22 20 3e 0a 0a 3c 77 69 6e 64 6f 77 20 69 64 3d 22 6d 65 74 61 64 61 74 61 22 0a 20 20 20 20 20 | ".>..<window.id="metadata"...... |
89360 | 20 20 20 78 6d 6c 6e 73 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 | ...xmlns="http://www.mozilla.org |
89380 | 2f 6b 65 79 6d 61 73 74 65 72 2f 67 61 74 65 6b 65 65 70 65 72 2f 74 68 65 72 65 2e 69 73 2e 6f | /keymaster/gatekeeper/there.is.o |
893a0 | 6e 6c 79 2e 78 75 6c 22 0a 20 20 20 20 20 20 20 20 74 69 74 6c 65 3d 22 26 63 61 70 74 69 6f 6e | nly.xul".........title="&caption |
893c0 | 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 6f 6e 6c 6f 61 64 3d 22 6f 6e 4c 6f 61 64 28 | .label;".........onload="onLoad( |
893e0 | 29 22 0a 20 20 20 20 20 20 20 20 63 6c 61 73 73 3d 22 64 69 61 6c 6f 67 22 0a 20 20 20 20 20 20 | )".........class="dialog"....... |
89400 | 20 20 73 74 79 6c 65 3d 22 77 69 64 74 68 3a 20 34 30 65 6d 3b 20 68 65 69 67 68 74 3a 20 31 30 | ..style="width:.40em;.height:.10 |
89420 | 65 6d 3b 22 0a 20 20 20 20 20 20 20 20 70 65 72 73 69 73 74 3d 22 73 63 72 65 65 6e 58 20 73 63 | em;".........persist="screenX.sc |
89440 | 72 65 65 6e 59 22 0a 20 20 20 20 20 20 20 20 73 63 72 65 65 6e 58 3d 22 32 34 22 20 73 63 72 65 | reenY".........screenX="24".scre |
89460 | 65 6e 59 3d 22 32 34 22 3e 0a 0a 20 20 3c 73 63 72 69 70 74 20 74 79 70 65 3d 22 61 70 70 6c 69 | enY="24">....<script.type="appli |
89480 | 63 61 74 69 6f 6e 2f 78 2d 6a 61 76 61 73 63 72 69 70 74 22 20 73 72 63 3d 22 63 68 72 6f 6d 65 | cation/x-javascript".src="chrome |
894a0 | 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 6d 65 74 61 44 61 74 61 2e 6a 73 22 2f | ://browser/content/metaData.js"/ |
894c0 | 3e 0a 0a 20 20 3c 6b 65 79 73 65 74 20 69 64 3d 22 64 69 61 6c 6f 67 4b 65 79 73 22 2f 3e 0a 0a | >....<keyset.id="dialogKeys"/>.. |
894e0 | 20 20 3c 73 74 72 69 6e 67 62 75 6e 64 6c 65 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 | ..<stringbundle.src="chrome://br |
89500 | 6f 77 73 65 72 2f 6c 6f 63 61 6c 65 2f 6d 65 74 61 44 61 74 61 2e 70 72 6f 70 65 72 74 69 65 73 | owser/locale/metaData.properties |
89520 | 22 20 69 64 3d 22 62 75 6e 64 6c 65 5f 6d 65 74 61 64 61 74 61 22 2f 3e 0a 20 20 3c 73 74 72 69 | ".id="bundle_metadata"/>...<stri |
89540 | 6e 67 62 75 6e 64 6c 65 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 67 6c 6f 62 61 6c 2f 6c 6f | ngbundle.src="chrome://global/lo |
89560 | 63 61 6c 65 2f 6c 61 6e 67 75 61 67 65 4e 61 6d 65 73 2e 70 72 6f 70 65 72 74 69 65 73 22 20 69 | cale/languageNames.properties".i |
89580 | 64 3d 22 62 75 6e 64 6c 65 5f 6c 61 6e 67 75 61 67 65 73 22 2f 3e 0a 20 20 3c 73 74 72 69 6e 67 | d="bundle_languages"/>...<string |
895a0 | 62 75 6e 64 6c 65 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 67 6c 6f 62 61 6c 2f 6c 6f 63 61 | bundle.src="chrome://global/loca |
895c0 | 6c 65 2f 72 65 67 69 6f 6e 4e 61 6d 65 73 2e 70 72 6f 70 65 72 74 69 65 73 22 20 69 64 3d 22 62 | le/regionNames.properties".id="b |
895e0 | 75 6e 64 6c 65 5f 72 65 67 69 6f 6e 73 22 2f 3e 0a 0a 20 20 3c 6c 61 62 65 6c 20 69 64 3d 22 6e | undle_regions"/>....<label.id="n |
89600 | 6f 2d 70 72 6f 70 65 72 74 69 65 73 22 20 76 61 6c 75 65 3d 22 26 6e 6f 2d 70 72 6f 70 65 72 74 | o-properties".value="&no-propert |
89620 | 69 65 73 2e 6c 61 62 65 6c 3b 22 2f 3e 0a 20 20 0a 20 20 3c 76 62 6f 78 20 69 64 3d 22 6c 69 6e | ies.label;"/>......<vbox.id="lin |
89640 | 6b 2d 73 65 63 22 3e 0a 20 20 20 20 3c 6c 61 62 65 6c 20 76 61 6c 75 65 3d 22 26 6c 69 6e 6b 2d | k-sec">.....<label.value="&link- |
89660 | 73 65 63 2e 6c 61 62 65 6c 3b 22 2f 3e 0a 20 20 20 20 3c 73 65 70 61 72 61 74 6f 72 20 63 6c 61 | sec.label;"/>.....<separator.cla |
89680 | 73 73 3d 22 67 72 6f 6f 76 65 22 2f 3e 0a 20 20 20 20 3c 67 72 69 64 3e 0a 20 20 20 20 20 20 3c | ss="groove"/>.....<grid>.......< |
896a0 | 63 6f 6c 75 6d 6e 73 3e 0a 20 20 20 20 20 20 20 20 3c 63 6f 6c 75 6d 6e 2f 3e 0a 20 20 20 20 20 | columns>.........<column/>...... |
896c0 | 20 20 20 3c 63 6f 6c 75 6d 6e 2f 3e 0a 20 20 20 20 20 20 20 20 3c 63 6f 6c 75 6d 6e 20 66 6c 65 | ...<column/>.........<column.fle |
896e0 | 78 3d 22 31 22 2f 3e 0a 20 20 20 20 20 20 3c 2f 63 6f 6c 75 6d 6e 73 3e 0a 20 20 20 20 20 20 3c | x="1"/>.......</columns>.......< |
89700 | 72 6f 77 73 3e 0a 20 20 20 20 20 20 20 20 3c 72 6f 77 20 69 64 3d 22 6c 69 6e 6b 2d 75 72 6c 22 | rows>.........<row.id="link-url" |
89720 | 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 73 65 70 61 72 61 74 6f 72 20 6f 72 69 65 6e 74 3d 22 76 | >...........<separator.orient="v |
89740 | 65 72 74 69 63 61 6c 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 6c 61 62 65 6c 20 76 61 6c 75 | ertical"/>...........<label.valu |
89760 | 65 3d 22 26 6c 69 6e 6b 2d 75 72 6c 2e 6c 61 62 65 6c 3b 20 22 2f 3e 0a 20 20 20 20 20 20 20 20 | e="&link-url.label;."/>......... |
89780 | 20 20 3c 74 65 78 74 62 6f 78 20 72 65 61 64 6f 6e 6c 79 3d 22 74 72 75 65 22 20 69 64 3d 22 6c | ..<textbox.readonly="true".id="l |
897a0 | 69 6e 6b 2d 75 72 6c 2d 74 65 78 74 22 20 63 6c 61 73 73 3d 22 75 72 69 2d 65 6c 65 6d 65 6e 74 | ink-url-text".class="uri-element |
897c0 | 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 2f 72 6f 77 3e 0a 20 20 20 20 20 20 20 20 3c 72 6f 77 20 | "/>.........</row>.........<row. |
897e0 | 69 64 3d 22 6c 69 6e 6b 2d 74 61 72 67 65 74 22 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 73 65 70 | id="link-target">...........<sep |
89800 | 61 72 61 74 6f 72 20 6f 72 69 65 6e 74 3d 22 76 65 72 74 69 63 61 6c 22 2f 3e 0a 20 20 20 20 20 | arator.orient="vertical"/>...... |
89820 | 20 20 20 20 20 3c 6c 61 62 65 6c 20 76 61 6c 75 65 3d 22 26 6c 69 6e 6b 2d 74 61 72 67 65 74 2e | .....<label.value="&link-target. |
89840 | 6c 61 62 65 6c 3b 20 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 74 65 78 74 62 6f 78 20 72 65 | label;."/>...........<textbox.re |
89860 | 61 64 6f 6e 6c 79 3d 22 74 72 75 65 22 20 69 64 3d 22 6c 69 6e 6b 2d 74 61 72 67 65 74 2d 74 65 | adonly="true".id="link-target-te |
89880 | 78 74 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 2f 72 6f 77 3e 0a 20 20 20 20 20 20 20 20 3c 72 6f | xt"/>.........</row>.........<ro |
898a0 | 77 20 69 64 3d 22 6c 69 6e 6b 2d 74 79 70 65 22 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 73 65 70 | w.id="link-type">...........<sep |
898c0 | 61 72 61 74 6f 72 20 6f 72 69 65 6e 74 3d 22 76 65 72 74 69 63 61 6c 22 2f 3e 0a 20 20 20 20 20 | arator.orient="vertical"/>...... |
898e0 | 20 20 20 20 20 3c 6c 61 62 65 6c 20 76 61 6c 75 65 3d 22 26 6c 69 6e 6b 2d 74 79 70 65 2e 6c 61 | .....<label.value="&link-type.la |
89900 | 62 65 6c 3b 20 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 74 65 78 74 62 6f 78 20 72 65 61 64 | bel;."/>...........<textbox.read |
89920 | 6f 6e 6c 79 3d 22 74 72 75 65 22 20 69 64 3d 22 6c 69 6e 6b 2d 74 79 70 65 2d 74 65 78 74 22 2f | only="true".id="link-type-text"/ |
89940 | 3e 0a 20 20 20 20 20 20 20 20 3c 2f 72 6f 77 3e 0a 20 20 20 20 20 20 20 20 3c 72 6f 77 20 69 64 | >.........</row>.........<row.id |
89960 | 3d 22 6c 69 6e 6b 2d 6c 61 6e 67 22 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 73 65 70 61 72 61 74 | ="link-lang">...........<separat |
89980 | 6f 72 20 6f 72 69 65 6e 74 3d 22 76 65 72 74 69 63 61 6c 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 | or.orient="vertical"/>.......... |
899a0 | 20 3c 6c 61 62 65 6c 20 76 61 6c 75 65 3d 22 26 6c 69 6e 6b 2d 6c 61 6e 67 2e 6c 61 62 65 6c 3b | .<label.value="&link-lang.label; |
899c0 | 20 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 74 65 78 74 62 6f 78 20 72 65 61 64 6f 6e 6c 79 | ."/>...........<textbox.readonly |
899e0 | 3d 22 74 72 75 65 22 20 69 64 3d 22 6c 69 6e 6b 2d 6c 61 6e 67 2d 74 65 78 74 22 2f 3e 0a 20 20 | ="true".id="link-lang-text"/>... |
89a00 | 20 20 20 20 20 20 3c 2f 72 6f 77 3e 0a 20 20 20 20 20 20 20 20 3c 72 6f 77 20 69 64 3d 22 6c 69 | ......</row>.........<row.id="li |
89a20 | 6e 6b 2d 72 65 6c 22 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 73 65 70 61 72 61 74 6f 72 20 6f 72 | nk-rel">...........<separator.or |
89a40 | 69 65 6e 74 3d 22 76 65 72 74 69 63 61 6c 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 6c 61 62 | ient="vertical"/>...........<lab |
89a60 | 65 6c 20 76 61 6c 75 65 3d 22 26 6c 69 6e 6b 2d 72 65 6c 2e 6c 61 62 65 6c 3b 20 22 2f 3e 0a 20 | el.value="&link-rel.label;."/>.. |
89a80 | 20 20 20 20 20 20 20 20 20 3c 74 65 78 74 62 6f 78 20 72 65 61 64 6f 6e 6c 79 3d 22 74 72 75 65 | .........<textbox.readonly="true |
89aa0 | 22 20 69 64 3d 22 6c 69 6e 6b 2d 72 65 6c 2d 74 65 78 74 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c | ".id="link-rel-text"/>.........< |
89ac0 | 2f 72 6f 77 3e 0a 20 20 20 20 20 20 20 20 3c 72 6f 77 20 69 64 3d 22 6c 69 6e 6b 2d 72 65 76 22 | /row>.........<row.id="link-rev" |
89ae0 | 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 73 65 70 61 72 61 74 6f 72 20 6f 72 69 65 6e 74 3d 22 76 | >...........<separator.orient="v |
89b00 | 65 72 74 69 63 61 6c 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 6c 61 62 65 6c 20 76 61 6c 75 | ertical"/>...........<label.valu |
89b20 | 65 3d 22 26 6c 69 6e 6b 2d 72 65 76 2e 6c 61 62 65 6c 3b 20 22 2f 3e 0a 20 20 20 20 20 20 20 20 | e="&link-rev.label;."/>......... |
89b40 | 20 20 3c 74 65 78 74 62 6f 78 20 72 65 61 64 6f 6e 6c 79 3d 22 74 72 75 65 22 20 69 64 3d 22 6c | ..<textbox.readonly="true".id="l |
89b60 | 69 6e 6b 2d 72 65 76 2d 74 65 78 74 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 2f 72 6f 77 3e 0a 20 | ink-rev-text"/>.........</row>.. |
89b80 | 20 20 20 20 20 20 20 3c 72 6f 77 20 69 64 3d 22 6c 69 6e 6b 2d 70 69 6e 67 22 3e 0a 20 20 20 20 | .......<row.id="link-ping">..... |
89ba0 | 20 20 20 20 20 20 3c 73 65 70 61 72 61 74 6f 72 20 6f 72 69 65 6e 74 3d 22 76 65 72 74 69 63 61 | ......<separator.orient="vertica |
89bc0 | 6c 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 6c 61 62 65 6c 20 76 61 6c 75 65 3d 22 26 6c 69 | l"/>...........<label.value="&li |
89be0 | 6e 6b 2d 70 69 6e 67 2e 6c 61 62 65 6c 3b 20 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 74 65 | nk-ping.label;."/>...........<te |
89c00 | 78 74 62 6f 78 20 72 65 61 64 6f 6e 6c 79 3d 22 74 72 75 65 22 20 6d 75 6c 74 69 6c 69 6e 65 3d | xtbox.readonly="true".multiline= |
89c20 | 22 74 72 75 65 22 20 69 64 3d 22 6c 69 6e 6b 2d 70 69 6e 67 2d 74 65 78 74 22 2f 3e 0a 20 20 20 | "true".id="link-ping-text"/>.... |
89c40 | 20 20 20 20 20 3c 2f 72 6f 77 3e 0a 20 20 20 20 20 20 3c 2f 72 6f 77 73 3e 0a 20 20 20 20 3c 2f | .....</row>.......</rows>.....</ |
89c60 | 67 72 69 64 3e 0a 20 20 20 20 3c 73 65 70 61 72 61 74 6f 72 2f 3e 0a 20 20 3c 2f 76 62 6f 78 3e | grid>.....<separator/>...</vbox> |
89c80 | 0a 20 20 3c 76 62 6f 78 20 69 64 3d 22 69 6d 61 67 65 2d 73 65 63 22 3e 0a 20 20 20 20 3c 6c 61 | ...<vbox.id="image-sec">.....<la |
89ca0 | 62 65 6c 20 76 61 6c 75 65 3d 22 26 69 6d 61 67 65 2d 73 65 63 2e 6c 61 62 65 6c 3b 22 2f 3e 0a | bel.value="&image-sec.label;"/>. |
89cc0 | 20 20 20 20 3c 73 65 70 61 72 61 74 6f 72 20 63 6c 61 73 73 3d 22 67 72 6f 6f 76 65 22 2f 3e 0a | ....<separator.class="groove"/>. |
89ce0 | 20 20 20 20 3c 67 72 69 64 3e 0a 20 20 20 20 20 20 3c 63 6f 6c 75 6d 6e 73 3e 0a 20 20 20 20 20 | ....<grid>.......<columns>...... |
89d00 | 20 20 20 3c 63 6f 6c 75 6d 6e 2f 3e 0a 20 20 20 20 20 20 20 20 3c 63 6f 6c 75 6d 6e 2f 3e 0a 20 | ...<column/>.........<column/>.. |
89d20 | 20 20 20 20 20 20 20 3c 63 6f 6c 75 6d 6e 20 66 6c 65 78 3d 22 31 22 2f 3e 0a 20 20 20 20 20 20 | .......<column.flex="1"/>....... |
89d40 | 3c 2f 63 6f 6c 75 6d 6e 73 3e 0a 20 20 20 20 20 20 3c 72 6f 77 73 3e 0a 20 20 20 20 20 20 20 20 | </columns>.......<rows>......... |
89d60 | 3c 72 6f 77 20 69 64 3d 22 69 6d 61 67 65 2d 75 72 6c 22 3e 0a 20 20 20 20 20 20 20 20 20 20 3c | <row.id="image-url">...........< |
89d80 | 73 65 70 61 72 61 74 6f 72 20 6f 72 69 65 6e 74 3d 22 76 65 72 74 69 63 61 6c 22 2f 3e 0a 20 20 | separator.orient="vertical"/>... |
89da0 | 20 20 20 20 20 20 20 20 3c 6c 61 62 65 6c 20 76 61 6c 75 65 3d 22 26 69 6d 61 67 65 2d 75 72 6c | ........<label.value="&image-url |
89dc0 | 2e 6c 61 62 65 6c 3b 20 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 74 65 78 74 62 6f 78 20 72 | .label;."/>...........<textbox.r |
89de0 | 65 61 64 6f 6e 6c 79 3d 22 74 72 75 65 22 20 69 64 3d 22 69 6d 61 67 65 2d 75 72 6c 2d 74 65 78 | eadonly="true".id="image-url-tex |
89e00 | 74 22 20 63 6c 61 73 73 3d 22 75 72 69 2d 65 6c 65 6d 65 6e 74 22 2f 3e 0a 20 20 20 20 20 20 20 | t".class="uri-element"/>........ |
89e20 | 20 3c 2f 72 6f 77 3e 0a 20 20 20 20 20 20 20 20 3c 72 6f 77 20 69 64 3d 22 69 6d 61 67 65 2d 74 | .</row>.........<row.id="image-t |
89e40 | 79 70 65 22 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 73 65 70 61 72 61 74 6f 72 20 6f 72 69 65 6e | ype">...........<separator.orien |
89e60 | 74 3d 22 76 65 72 74 69 63 61 6c 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 6c 61 62 65 6c 20 | t="vertical"/>...........<label. |
89e80 | 76 61 6c 75 65 3d 22 26 69 6d 61 67 65 2d 74 79 70 65 2e 6c 61 62 65 6c 3b 20 22 2f 3e 0a 20 20 | value="&image-type.label;."/>... |
89ea0 | 20 20 20 20 20 20 20 20 3c 74 65 78 74 62 6f 78 20 72 65 61 64 6f 6e 6c 79 3d 22 74 72 75 65 22 | ........<textbox.readonly="true" |
89ec0 | 20 69 64 3d 22 69 6d 61 67 65 2d 74 79 70 65 2d 74 65 78 74 22 2f 3e 0a 20 20 20 20 20 20 20 20 | .id="image-type-text"/>......... |
89ee0 | 3c 2f 72 6f 77 3e 0a 20 20 20 20 20 20 20 20 3c 72 6f 77 20 69 64 3d 22 69 6d 61 67 65 2d 73 69 | </row>.........<row.id="image-si |
89f00 | 7a 65 22 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 73 65 70 61 72 61 74 6f 72 20 6f 72 69 65 6e 74 | ze">...........<separator.orient |
89f20 | 3d 22 76 65 72 74 69 63 61 6c 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 6c 61 62 65 6c 20 76 | ="vertical"/>...........<label.v |
89f40 | 61 6c 75 65 3d 22 26 69 6d 61 67 65 2d 73 69 7a 65 2e 6c 61 62 65 6c 3b 20 22 2f 3e 0a 20 20 20 | alue="&image-size.label;."/>.... |
89f60 | 20 20 20 20 20 20 20 3c 74 65 78 74 62 6f 78 20 72 65 61 64 6f 6e 6c 79 3d 22 74 72 75 65 22 20 | .......<textbox.readonly="true". |
89f80 | 69 64 3d 22 69 6d 61 67 65 2d 73 69 7a 65 2d 74 65 78 74 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c | id="image-size-text"/>.........< |
89fa0 | 2f 72 6f 77 3e 0a 09 3c 72 6f 77 20 69 64 3d 22 69 6d 61 67 65 2d 66 69 6c 65 73 69 7a 65 22 3e | /row>..<row.id="image-filesize"> |
89fc0 | 0a 20 20 20 20 20 20 20 20 20 20 3c 73 65 70 61 72 61 74 6f 72 20 6f 72 69 65 6e 74 3d 22 76 65 | ...........<separator.orient="ve |
89fe0 | 72 74 69 63 61 6c 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 6c 61 62 65 6c 20 76 61 6c 75 65 | rtical"/>...........<label.value |
8a000 | 3d 22 26 69 6d 61 67 65 2d 66 69 6c 65 73 69 7a 65 2e 6c 61 62 65 6c 3b 20 22 2f 3e 0a 20 20 20 | ="&image-filesize.label;."/>.... |
8a020 | 20 20 20 20 20 20 20 3c 74 65 78 74 62 6f 78 20 72 65 61 64 6f 6e 6c 79 3d 22 74 72 75 65 22 20 | .......<textbox.readonly="true". |
8a040 | 69 64 3d 22 69 6d 61 67 65 2d 66 69 6c 65 73 69 7a 65 2d 74 65 78 74 22 2f 3e 0a 09 3c 2f 72 6f | id="image-filesize-text"/>..</ro |
8a060 | 77 3e 0a 20 20 20 20 20 20 20 20 3c 72 6f 77 20 69 64 3d 22 69 6d 61 67 65 2d 61 6c 74 22 3e 0a | w>.........<row.id="image-alt">. |
8a080 | 20 20 20 20 20 20 20 20 20 20 3c 73 65 70 61 72 61 74 6f 72 20 6f 72 69 65 6e 74 3d 22 76 65 72 | ..........<separator.orient="ver |
8a0a0 | 74 69 63 61 6c 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 6c 61 62 65 6c 20 76 61 6c 75 65 3d | tical"/>...........<label.value= |
8a0c0 | 22 26 69 6d 61 67 65 2d 61 6c 74 2e 6c 61 62 65 6c 3b 20 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 | "&image-alt.label;."/>.......... |
8a0e0 | 20 3c 74 65 78 74 62 6f 78 20 72 65 61 64 6f 6e 6c 79 3d 22 74 72 75 65 22 20 69 64 3d 22 69 6d | .<textbox.readonly="true".id="im |
8a100 | 61 67 65 2d 61 6c 74 2d 74 65 78 74 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 2f 72 6f 77 3e 0a 20 | age-alt-text"/>.........</row>.. |
8a120 | 20 20 20 20 20 20 20 3c 72 6f 77 20 69 64 3d 22 69 6d 61 67 65 2d 64 65 73 63 22 3e 0a 20 20 20 | .......<row.id="image-desc">.... |
8a140 | 20 20 20 20 20 20 20 3c 73 65 70 61 72 61 74 6f 72 20 6f 72 69 65 6e 74 3d 22 76 65 72 74 69 63 | .......<separator.orient="vertic |
8a160 | 61 6c 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 6c 61 62 65 6c 20 76 61 6c 75 65 3d 22 26 69 | al"/>...........<label.value="&i |
8a180 | 6d 61 67 65 2d 64 65 73 63 2e 6c 61 62 65 6c 3b 20 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c | mage-desc.label;."/>...........< |
8a1a0 | 74 65 78 74 62 6f 78 20 72 65 61 64 6f 6e 6c 79 3d 22 74 72 75 65 22 20 69 64 3d 22 69 6d 61 67 | textbox.readonly="true".id="imag |
8a1c0 | 65 2d 64 65 73 63 2d 74 65 78 74 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 2f 72 6f 77 3e 0a 20 20 | e-desc-text"/>.........</row>... |
8a1e0 | 20 20 20 20 3c 2f 72 6f 77 73 3e 0a 20 20 20 20 3c 2f 67 72 69 64 3e 0a 20 20 20 20 3c 73 65 70 | ....</rows>.....</grid>.....<sep |
8a200 | 61 72 61 74 6f 72 2f 3e 0a 20 20 3c 2f 76 62 6f 78 3e 0a 20 20 3c 76 62 6f 78 20 69 64 3d 22 69 | arator/>...</vbox>...<vbox.id="i |
8a220 | 6e 73 64 65 6c 2d 73 65 63 22 3e 0a 20 20 20 20 3c 6c 61 62 65 6c 20 76 61 6c 75 65 3d 22 26 69 | nsdel-sec">.....<label.value="&i |
8a240 | 6e 73 64 65 6c 2d 73 65 63 2e 6c 61 62 65 6c 3b 22 2f 3e 0a 20 20 20 20 3c 73 65 70 61 72 61 74 | nsdel-sec.label;"/>.....<separat |
8a260 | 6f 72 20 63 6c 61 73 73 3d 22 67 72 6f 6f 76 65 22 2f 3e 0a 20 20 20 20 3c 67 72 69 64 3e 0a 20 | or.class="groove"/>.....<grid>.. |
8a280 | 20 20 20 20 20 3c 63 6f 6c 75 6d 6e 73 3e 0a 20 20 20 20 20 20 20 20 3c 63 6f 6c 75 6d 6e 2f 3e | .....<columns>.........<column/> |
8a2a0 | 0a 20 20 20 20 20 20 20 20 3c 63 6f 6c 75 6d 6e 2f 3e 0a 20 20 20 20 20 20 20 20 3c 63 6f 6c 75 | .........<column/>.........<colu |
8a2c0 | 6d 6e 20 66 6c 65 78 3d 22 31 22 2f 3e 0a 20 20 20 20 20 20 3c 2f 63 6f 6c 75 6d 6e 73 3e 0a 20 | mn.flex="1"/>.......</columns>.. |
8a2e0 | 20 20 20 20 20 3c 72 6f 77 73 3e 0a 20 20 20 20 20 20 20 20 3c 72 6f 77 20 69 64 3d 22 69 6e 73 | .....<rows>.........<row.id="ins |
8a300 | 64 65 6c 2d 63 69 74 65 22 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 73 65 70 61 72 61 74 6f 72 20 | del-cite">...........<separator. |
8a320 | 6f 72 69 65 6e 74 3d 22 76 65 72 74 69 63 61 6c 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 6c | orient="vertical"/>...........<l |
8a340 | 61 62 65 6c 20 76 61 6c 75 65 3d 22 26 69 6e 73 64 65 6c 2d 63 69 74 65 2e 6c 61 62 65 6c 3b 20 | abel.value="&insdel-cite.label;. |
8a360 | 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 74 65 78 74 62 6f 78 20 72 65 61 64 6f 6e 6c 79 3d | "/>...........<textbox.readonly= |
8a380 | 22 74 72 75 65 22 20 69 64 3d 22 69 6e 73 64 65 6c 2d 63 69 74 65 2d 74 65 78 74 22 2f 3e 0a 20 | "true".id="insdel-cite-text"/>.. |
8a3a0 | 20 20 20 20 20 20 20 3c 2f 72 6f 77 3e 0a 20 20 20 20 20 20 20 20 3c 72 6f 77 20 69 64 3d 22 69 | .......</row>.........<row.id="i |
8a3c0 | 6e 73 64 65 6c 2d 64 61 74 65 22 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 73 65 70 61 72 61 74 6f | nsdel-date">...........<separato |
8a3e0 | 72 20 6f 72 69 65 6e 74 3d 22 76 65 72 74 69 63 61 6c 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 | r.orient="vertical"/>........... |
8a400 | 3c 6c 61 62 65 6c 20 76 61 6c 75 65 3d 22 26 69 6e 73 64 65 6c 2d 64 61 74 65 2e 6c 61 62 65 6c | <label.value="&insdel-date.label |
8a420 | 3b 20 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 74 65 78 74 62 6f 78 20 72 65 61 64 6f 6e 6c | ;."/>...........<textbox.readonl |
8a440 | 79 3d 22 74 72 75 65 22 20 69 64 3d 22 69 6e 73 64 65 6c 2d 64 61 74 65 2d 74 65 78 74 22 2f 3e | y="true".id="insdel-date-text"/> |
8a460 | 0a 20 20 20 20 20 20 20 20 3c 2f 72 6f 77 3e 0a 20 20 20 20 20 20 3c 2f 72 6f 77 73 3e 0a 20 20 | .........</row>.......</rows>... |
8a480 | 20 20 3c 2f 67 72 69 64 3e 0a 20 20 20 20 3c 73 65 70 61 72 61 74 6f 72 2f 3e 0a 20 20 3c 2f 76 | ..</grid>.....<separator/>...</v |
8a4a0 | 62 6f 78 3e 0a 20 20 3c 76 62 6f 78 20 69 64 3d 22 71 75 6f 74 65 2d 73 65 63 22 3e 0a 20 20 20 | box>...<vbox.id="quote-sec">.... |
8a4c0 | 20 3c 6c 61 62 65 6c 20 76 61 6c 75 65 3d 22 26 71 75 6f 74 65 2d 73 65 63 2e 6c 61 62 65 6c 3b | .<label.value=""e-sec.label; |
8a4e0 | 22 2f 3e 0a 20 20 20 20 3c 73 65 70 61 72 61 74 6f 72 20 63 6c 61 73 73 3d 22 67 72 6f 6f 76 65 | "/>.....<separator.class="groove |
8a500 | 22 2f 3e 0a 20 20 20 20 3c 67 72 69 64 3e 0a 20 20 20 20 20 20 3c 63 6f 6c 75 6d 6e 73 3e 0a 20 | "/>.....<grid>.......<columns>.. |
8a520 | 20 20 20 20 20 20 20 3c 63 6f 6c 75 6d 6e 2f 3e 0a 20 20 20 20 20 20 20 20 3c 63 6f 6c 75 6d 6e | .......<column/>.........<column |
8a540 | 2f 3e 0a 20 20 20 20 20 20 20 20 3c 63 6f 6c 75 6d 6e 20 66 6c 65 78 3d 22 31 22 2f 3e 0a 20 20 | />.........<column.flex="1"/>... |
8a560 | 20 20 20 20 3c 2f 63 6f 6c 75 6d 6e 73 3e 0a 20 20 20 20 20 20 3c 72 6f 77 73 3e 0a 20 20 20 20 | ....</columns>.......<rows>..... |
8a580 | 20 20 20 20 3c 72 6f 77 20 69 64 3d 22 71 75 6f 74 65 2d 63 69 74 65 22 3e 0a 20 20 20 20 20 20 | ....<row.id="quote-cite">....... |
8a5a0 | 20 20 20 20 3c 73 65 70 61 72 61 74 6f 72 20 6f 72 69 65 6e 74 3d 22 76 65 72 74 69 63 61 6c 22 | ....<separator.orient="vertical" |
8a5c0 | 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 6c 61 62 65 6c 20 76 61 6c 75 65 3d 22 26 71 75 6f 74 | />...........<label.value="" |
8a5e0 | 65 2d 63 69 74 65 2e 6c 61 62 65 6c 3b 20 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 74 65 78 | e-cite.label;."/>...........<tex |
8a600 | 74 62 6f 78 20 72 65 61 64 6f 6e 6c 79 3d 22 74 72 75 65 22 20 69 64 3d 22 71 75 6f 74 65 2d 63 | tbox.readonly="true".id="quote-c |
8a620 | 69 74 65 2d 74 65 78 74 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 2f 72 6f 77 3e 0a 20 20 20 20 20 | ite-text"/>.........</row>...... |
8a640 | 20 3c 2f 72 6f 77 73 3e 0a 20 20 20 20 3c 2f 67 72 69 64 3e 0a 20 20 20 20 3c 73 65 70 61 72 61 | .</rows>.....</grid>.....<separa |
8a660 | 74 6f 72 2f 3e 0a 20 20 3c 2f 76 62 6f 78 3e 0a 20 20 3c 76 62 6f 78 20 69 64 3d 22 6d 69 73 63 | tor/>...</vbox>...<vbox.id="misc |
8a680 | 2d 73 65 63 22 3e 0a 20 20 20 20 3c 6c 61 62 65 6c 20 76 61 6c 75 65 3d 22 26 6d 69 73 63 2d 73 | -sec">.....<label.value="&misc-s |
8a6a0 | 65 63 2e 6c 61 62 65 6c 3b 22 2f 3e 0a 20 20 20 20 3c 73 65 70 61 72 61 74 6f 72 20 63 6c 61 73 | ec.label;"/>.....<separator.clas |
8a6c0 | 73 3d 22 67 72 6f 6f 76 65 22 2f 3e 0a 20 20 20 20 3c 67 72 69 64 3e 0a 20 20 20 20 20 20 3c 63 | s="groove"/>.....<grid>.......<c |
8a6e0 | 6f 6c 75 6d 6e 73 3e 0a 20 20 20 20 20 20 20 20 3c 63 6f 6c 75 6d 6e 2f 3e 0a 20 20 20 20 20 20 | olumns>.........<column/>....... |
8a700 | 20 20 3c 63 6f 6c 75 6d 6e 2f 3e 0a 20 20 20 20 20 20 20 20 3c 63 6f 6c 75 6d 6e 20 66 6c 65 78 | ..<column/>.........<column.flex |
8a720 | 3d 22 31 22 2f 3e 0a 20 20 20 20 20 20 3c 2f 63 6f 6c 75 6d 6e 73 3e 0a 20 20 20 20 20 20 3c 72 | ="1"/>.......</columns>.......<r |
8a740 | 6f 77 73 3e 0a 20 20 20 20 20 20 20 20 3c 72 6f 77 20 69 64 3d 22 6d 69 73 63 2d 6c 61 6e 67 22 | ows>.........<row.id="misc-lang" |
8a760 | 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 73 65 70 61 72 61 74 6f 72 20 6f 72 69 65 6e 74 3d 22 76 | >...........<separator.orient="v |
8a780 | 65 72 74 69 63 61 6c 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 6c 61 62 65 6c 20 76 61 6c 75 | ertical"/>...........<label.valu |
8a7a0 | 65 3d 22 26 6d 69 73 63 2d 6c 61 6e 67 2e 6c 61 62 65 6c 3b 20 22 2f 3e 0a 20 20 20 20 20 20 20 | e="&misc-lang.label;."/>........ |
8a7c0 | 20 20 20 3c 74 65 78 74 62 6f 78 20 72 65 61 64 6f 6e 6c 79 3d 22 74 72 75 65 22 20 69 64 3d 22 | ...<textbox.readonly="true".id=" |
8a7e0 | 6d 69 73 63 2d 6c 61 6e 67 2d 74 65 78 74 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 2f 72 6f 77 3e | misc-lang-text"/>.........</row> |
8a800 | 0a 20 20 20 20 20 20 20 20 3c 72 6f 77 20 69 64 3d 22 6d 69 73 63 2d 74 69 74 6c 65 22 3e 0a 20 | .........<row.id="misc-title">.. |
8a820 | 20 20 20 20 20 20 20 20 20 3c 73 65 70 61 72 61 74 6f 72 20 6f 72 69 65 6e 74 3d 22 76 65 72 74 | .........<separator.orient="vert |
8a840 | 69 63 61 6c 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 6c 61 62 65 6c 20 76 61 6c 75 65 3d 22 | ical"/>...........<label.value=" |
8a860 | 26 6d 69 73 63 2d 74 69 74 6c 65 2e 6c 61 62 65 6c 3b 20 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 | &misc-title.label;."/>.......... |
8a880 | 20 3c 74 65 78 74 62 6f 78 20 72 65 61 64 6f 6e 6c 79 3d 22 74 72 75 65 22 20 69 64 3d 22 6d 69 | .<textbox.readonly="true".id="mi |
8a8a0 | 73 63 2d 74 69 74 6c 65 2d 74 65 78 74 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 2f 72 6f 77 3e 0a | sc-title-text"/>.........</row>. |
8a8c0 | 20 20 20 20 20 20 20 20 3c 72 6f 77 20 69 64 3d 22 6d 69 73 63 2d 74 62 6c 73 75 6d 6d 61 72 79 | ........<row.id="misc-tblsummary |
8a8e0 | 22 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 73 65 70 61 72 61 74 6f 72 20 6f 72 69 65 6e 74 3d 22 | ">...........<separator.orient=" |
8a900 | 76 65 72 74 69 63 61 6c 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 6c 61 62 65 6c 20 76 61 6c | vertical"/>...........<label.val |
8a920 | 75 65 3d 22 26 6d 69 73 63 2d 74 62 6c 73 75 6d 6d 61 72 79 2e 6c 61 62 65 6c 3b 20 22 2f 3e 0a | ue="&misc-tblsummary.label;."/>. |
8a940 | 20 20 20 20 20 20 20 20 20 20 3c 74 65 78 74 62 6f 78 20 72 65 61 64 6f 6e 6c 79 3d 22 74 72 75 | ..........<textbox.readonly="tru |
8a960 | 65 22 20 69 64 3d 22 6d 69 73 63 2d 74 62 6c 73 75 6d 6d 61 72 79 2d 74 65 78 74 22 2f 3e 0a 20 | e".id="misc-tblsummary-text"/>.. |
8a980 | 20 20 20 20 20 20 20 3c 2f 72 6f 77 3e 0a 20 20 20 20 20 20 3c 2f 72 6f 77 73 3e 0a 20 20 20 20 | .......</row>.......</rows>..... |
8a9a0 | 3c 2f 67 72 69 64 3e 0a 20 20 20 20 3c 73 65 70 61 72 61 74 6f 72 2f 3e 0a 20 20 3c 2f 76 62 6f | </grid>.....<separator/>...</vbo |
8a9c0 | 78 3e 0a 3c 2f 77 69 6e 64 6f 77 3e 0a 50 4b 03 04 14 00 00 00 00 00 f2 4b 18 3b dc ef 1b d9 13 | x>.</window>.PK.........K.;..... |
8a9e0 | 4c 00 00 13 4c 00 00 25 00 00 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 61 67 65 69 | L...L..%...content/browser/pagei |
8aa00 | 6e 66 6f 2f 70 61 67 65 49 6e 66 6f 2e 78 75 6c 3c 3f 78 6d 6c 20 76 65 72 73 69 6f 6e 3d 22 31 | nfo/pageInfo.xul<?xml.version="1 |
8aa20 | 2e 30 22 3f 3e 0a 0a 3c 3f 78 6d 6c 2d 73 74 79 6c 65 73 68 65 65 74 20 68 72 65 66 3d 22 63 68 | .0"?>..<?xml-stylesheet.href="ch |
8aa40 | 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 70 61 67 65 69 6e 66 6f 2f | rome://browser/content/pageinfo/ |
8aa60 | 70 61 67 65 49 6e 66 6f 2e 63 73 73 22 20 74 79 70 65 3d 22 74 65 78 74 2f 63 73 73 22 3f 3e 0a | pageInfo.css".type="text/css"?>. |
8aa80 | 3c 3f 78 6d 6c 2d 73 74 79 6c 65 73 68 65 65 74 20 68 72 65 66 3d 22 63 68 72 6f 6d 65 3a 2f 2f | <?xml-stylesheet.href="chrome:// |
8aaa0 | 62 72 6f 77 73 65 72 2f 73 6b 69 6e 2f 70 61 67 65 49 6e 66 6f 2e 63 73 73 22 20 74 79 70 65 3d | browser/skin/pageInfo.css".type= |
8aac0 | 22 74 65 78 74 2f 63 73 73 22 3f 3e 0a 0a 3c 21 44 4f 43 54 59 50 45 20 77 69 6e 64 6f 77 20 5b | "text/css"?>..<!DOCTYPE.window.[ |
8aae0 | 0a 20 20 3c 21 45 4e 54 49 54 59 20 25 20 70 61 67 65 49 6e 66 6f 44 54 44 20 53 59 53 54 45 4d | ...<!ENTITY.%.pageInfoDTD.SYSTEM |
8ab00 | 20 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 6c 6f 63 61 6c 65 2f 70 61 67 65 49 6e | ."chrome://browser/locale/pageIn |
8ab20 | 66 6f 2e 64 74 64 22 3e 0a 20 20 25 70 61 67 65 49 6e 66 6f 44 54 44 3b 0a 20 20 3c 21 45 4e 54 | fo.dtd">...%pageInfoDTD;...<!ENT |
8ab40 | 49 54 59 20 25 20 67 6c 6f 62 61 6c 20 53 59 53 54 45 4d 20 22 63 68 72 6f 6d 65 3a 2f 2f 67 6c | ITY.%.global.SYSTEM."chrome://gl |
8ab60 | 6f 62 61 6c 2f 6c 6f 63 61 6c 65 2f 67 6c 6f 62 61 6c 2e 64 74 64 22 3e 0a 20 20 25 67 6c 6f 62 | obal/locale/global.dtd">...%glob |
8ab80 | 61 6c 3b 0a 5d 3e 0a 0a 0a 3c 77 69 6e 64 6f 77 20 69 64 3d 22 6d 61 69 6e 2d 77 69 6e 64 6f 77 | al;.]>...<window.id="main-window |
8aba0 | 22 0a 20 20 78 6d 6c 6e 73 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 | "...xmlns="http://www.mozilla.or |
8abc0 | 67 2f 6b 65 79 6d 61 73 74 65 72 2f 67 61 74 65 6b 65 65 70 65 72 2f 74 68 65 72 65 2e 69 73 2e | g/keymaster/gatekeeper/there.is. |
8abe0 | 6f 6e 6c 79 2e 78 75 6c 22 0a 20 20 77 69 6e 64 6f 77 74 79 70 65 3d 22 42 72 6f 77 73 65 72 3a | only.xul"...windowtype="Browser: |
8ac00 | 70 61 67 65 2d 69 6e 66 6f 22 0a 20 20 6f 6e 6c 6f 61 64 3d 22 6f 6e 4c 6f 61 64 50 61 67 65 49 | page-info"...onload="onLoadPageI |
8ac20 | 6e 66 6f 28 29 22 0a 20 20 6f 6e 75 6e 6c 6f 61 64 3d 22 6f 6e 55 6e 6c 6f 61 64 50 61 67 65 49 | nfo()"...onunload="onUnloadPageI |
8ac40 | 6e 66 6f 28 29 22 0a 20 20 61 6c 69 67 6e 3d 22 73 74 72 65 74 63 68 22 0a 20 20 73 63 72 65 65 | nfo()"...align="stretch"...scree |
8ac60 | 6e 58 3d 22 31 30 22 20 73 63 72 65 65 6e 59 3d 22 31 30 22 0a 20 20 77 69 64 74 68 3d 22 26 70 | nX="10".screenY="10"...width="&p |
8ac80 | 61 67 65 49 6e 66 6f 57 69 6e 64 6f 77 2e 77 69 64 74 68 3b 22 20 68 65 69 67 68 74 3d 22 26 70 | ageInfoWindow.width;".height="&p |
8aca0 | 61 67 65 49 6e 66 6f 57 69 6e 64 6f 77 2e 68 65 69 67 68 74 3b 22 0a 20 20 70 65 72 73 69 73 74 | ageInfoWindow.height;"...persist |
8acc0 | 3d 22 73 63 72 65 65 6e 58 20 73 63 72 65 65 6e 59 20 77 69 64 74 68 20 68 65 69 67 68 74 20 73 | ="screenX.screenY.width.height.s |
8ace0 | 69 7a 65 6d 6f 64 65 22 3e 0a 0a 20 20 3c 73 63 72 69 70 74 20 74 79 70 65 3d 22 61 70 70 6c 69 | izemode">....<script.type="appli |
8ad00 | 63 61 74 69 6f 6e 2f 78 2d 6a 61 76 61 73 63 72 69 70 74 22 20 73 72 63 3d 22 63 68 72 6f 6d 65 | cation/x-javascript".src="chrome |
8ad20 | 3a 2f 2f 67 6c 6f 62 61 6c 2f 63 6f 6e 74 65 6e 74 2f 67 6c 6f 62 61 6c 4f 76 65 72 6c 61 79 2e | ://global/content/globalOverlay. |
8ad40 | 6a 73 22 2f 3e 0a 20 20 3c 73 63 72 69 70 74 20 74 79 70 65 3d 22 61 70 70 6c 69 63 61 74 69 6f | js"/>...<script.type="applicatio |
8ad60 | 6e 2f 78 2d 6a 61 76 61 73 63 72 69 70 74 22 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 67 6c | n/x-javascript".src="chrome://gl |
8ad80 | 6f 62 61 6c 2f 63 6f 6e 74 65 6e 74 2f 63 6f 6e 74 65 6e 74 41 72 65 61 55 74 69 6c 73 2e 6a 73 | obal/content/contentAreaUtils.js |
8ada0 | 22 2f 3e 0a 20 20 3c 73 63 72 69 70 74 20 74 79 70 65 3d 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f | "/>...<script.type="application/ |
8adc0 | 78 2d 6a 61 76 61 73 63 72 69 70 74 22 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 | x-javascript".src="chrome://brow |
8ade0 | 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 70 61 67 65 69 6e 66 6f 2f 70 61 67 65 49 6e 66 6f 2e 6a 73 | ser/content/pageinfo/pageInfo.js |
8ae00 | 22 2f 3e 0a 20 20 3c 73 63 72 69 70 74 20 74 79 70 65 3d 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f | "/>...<script.type="application/ |
8ae20 | 78 2d 6a 61 76 61 73 63 72 69 70 74 22 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 | x-javascript".src="chrome://brow |
8ae40 | 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 70 61 67 65 69 6e 66 6f 2f 66 65 65 64 73 2e 6a 73 22 2f 3e | ser/content/pageinfo/feeds.js"/> |
8ae60 | 0a 20 20 3c 73 63 72 69 70 74 20 74 79 70 65 3d 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f 78 2d 6a | ...<script.type="application/x-j |
8ae80 | 61 76 61 73 63 72 69 70 74 22 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 | avascript".src="chrome://browser |
8aea0 | 2f 63 6f 6e 74 65 6e 74 2f 70 61 67 65 69 6e 66 6f 2f 70 65 72 6d 69 73 73 69 6f 6e 73 2e 6a 73 | /content/pageinfo/permissions.js |
8aec0 | 22 2f 3e 0a 20 20 3c 73 63 72 69 70 74 20 74 79 70 65 3d 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f | "/>...<script.type="application/ |
8aee0 | 78 2d 6a 61 76 61 73 63 72 69 70 74 22 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 | x-javascript".src="chrome://brow |
8af00 | 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 70 61 67 65 69 6e 66 6f 2f 73 65 63 75 72 69 74 79 2e 6a 73 | ser/content/pageinfo/security.js |
8af20 | 22 2f 3e 0a 20 20 3c 73 63 72 69 70 74 20 74 79 70 65 3d 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f | "/>...<script.type="application/ |
8af40 | 78 2d 6a 61 76 61 73 63 72 69 70 74 22 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 | x-javascript".src="chrome://brow |
8af60 | 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 75 74 69 6c 69 74 79 4f 76 65 72 6c 61 79 2e 6a 73 22 2f 3e | ser/content/utilityOverlay.js"/> |
8af80 | 0a 0a 20 20 3c 73 74 72 69 6e 67 62 75 6e 64 6c 65 73 65 74 20 69 64 3d 22 70 61 67 65 69 6e 66 | ....<stringbundleset.id="pageinf |
8afa0 | 6f 62 75 6e 64 6c 65 73 65 74 22 3e 0a 20 20 20 20 3c 73 74 72 69 6e 67 62 75 6e 64 6c 65 20 69 | obundleset">.....<stringbundle.i |
8afc0 | 64 3d 22 70 61 67 65 69 6e 66 6f 62 75 6e 64 6c 65 22 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f | d="pageinfobundle".src="chrome:/ |
8afe0 | 2f 62 72 6f 77 73 65 72 2f 6c 6f 63 61 6c 65 2f 70 61 67 65 49 6e 66 6f 2e 70 72 6f 70 65 72 74 | /browser/locale/pageInfo.propert |
8b000 | 69 65 73 22 2f 3e 0a 20 20 20 20 3c 73 74 72 69 6e 67 62 75 6e 64 6c 65 20 69 64 3d 22 70 6b 69 | ies"/>.....<stringbundle.id="pki |
8b020 | 42 75 6e 64 6c 65 22 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 70 69 70 70 6b 69 2f 6c 6f 63 | Bundle".src="chrome://pippki/loc |
8b040 | 61 6c 65 2f 70 69 70 70 6b 69 2e 70 72 6f 70 65 72 74 69 65 73 22 2f 3e 0a 20 20 3c 2f 73 74 72 | ale/pippki.properties"/>...</str |
8b060 | 69 6e 67 62 75 6e 64 6c 65 73 65 74 3e 0a 0a 20 20 3c 63 6f 6d 6d 61 6e 64 73 65 74 20 69 64 3d | ingbundleset>....<commandset.id= |
8b080 | 22 70 61 67 65 49 6e 66 6f 43 6f 6d 6d 61 6e 64 53 65 74 22 3e 0a 20 20 20 20 3c 63 6f 6d 6d 61 | "pageInfoCommandSet">.....<comma |
8b0a0 | 6e 64 20 69 64 3d 22 63 6d 64 5f 63 6c 6f 73 65 22 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d | nd.id="cmd_close".....oncommand= |
8b0c0 | 22 77 69 6e 64 6f 77 2e 63 6c 6f 73 65 28 29 3b 22 2f 3e 0a 20 20 20 20 3c 63 6f 6d 6d 61 6e 64 | "window.close();"/>.....<command |
8b0e0 | 20 69 64 3d 22 63 6d 64 5f 68 65 6c 70 22 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 64 | .id="cmd_help"......oncommand="d |
8b100 | 6f 48 65 6c 70 42 75 74 74 6f 6e 28 29 3b 22 2f 3e 0a 20 20 20 20 3c 63 6f 6d 6d 61 6e 64 20 69 | oHelpButton();"/>.....<command.i |
8b120 | 64 3d 22 63 6d 64 5f 63 6f 70 79 22 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 64 6f 43 | d="cmd_copy"......oncommand="doC |
8b140 | 6f 70 79 28 29 3b 22 2f 3e 0a 20 20 20 20 3c 63 6f 6d 6d 61 6e 64 20 69 64 3d 22 63 6d 64 5f 73 | opy();"/>.....<command.id="cmd_s |
8b160 | 65 6c 65 63 74 61 6c 6c 22 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 64 6f 53 65 6c 65 63 74 41 6c 6c | electall".oncommand="doSelectAll |
8b180 | 28 29 3b 22 2f 3e 0a 0a 20 20 20 20 3c 21 2d 2d 20 70 65 72 6d 69 73 73 69 6f 6e 73 20 74 61 62 | ();"/>......<!--.permissions.tab |
8b1a0 | 20 2d 2d 3e 0a 20 20 20 20 3c 63 6f 6d 6d 61 6e 64 20 69 64 3d 22 63 6d 64 5f 69 6d 61 67 65 44 | .-->.....<command.id="cmd_imageD |
8b1c0 | 65 66 22 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 6f 6e 43 68 65 63 6b 62 6f 78 43 6c | ef"......oncommand="onCheckboxCl |
8b1e0 | 69 63 6b 28 27 69 6d 61 67 65 27 29 3b 22 2f 3e 0a 20 20 20 20 3c 63 6f 6d 6d 61 6e 64 20 69 64 | ick('image');"/>.....<command.id |
8b200 | 3d 22 63 6d 64 5f 70 6f 70 75 70 44 65 66 22 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 | ="cmd_popupDef"......oncommand=" |
8b220 | 6f 6e 43 68 65 63 6b 62 6f 78 43 6c 69 63 6b 28 27 70 6f 70 75 70 27 29 3b 22 2f 3e 0a 20 20 20 | onCheckboxClick('popup');"/>.... |
8b240 | 20 3c 63 6f 6d 6d 61 6e 64 20 69 64 3d 22 63 6d 64 5f 63 6f 6f 6b 69 65 44 65 66 22 20 20 20 20 | .<command.id="cmd_cookieDef".... |
8b260 | 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 6f 6e 43 68 65 63 6b 62 6f 78 43 6c 69 63 6b 28 27 63 6f 6f | .oncommand="onCheckboxClick('coo |
8b280 | 6b 69 65 27 29 3b 22 2f 3e 0a 20 20 20 20 3c 63 6f 6d 6d 61 6e 64 20 69 64 3d 22 63 6d 64 5f 69 | kie');"/>.....<command.id="cmd_i |
8b2a0 | 6e 73 74 61 6c 6c 44 65 66 22 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 6f 6e 43 68 65 63 6b | nstallDef"....oncommand="onCheck |
8b2c0 | 62 6f 78 43 6c 69 63 6b 28 27 69 6e 73 74 61 6c 6c 27 29 3b 22 2f 3e 0a 20 20 20 20 3c 63 6f 6d | boxClick('install');"/>.....<com |
8b2e0 | 6d 61 6e 64 20 69 64 3d 22 63 6d 64 5f 67 65 6f 44 65 66 22 20 20 20 20 20 20 20 20 6f 6e 63 6f | mand.id="cmd_geoDef"........onco |
8b300 | 6d 6d 61 6e 64 3d 22 6f 6e 43 68 65 63 6b 62 6f 78 43 6c 69 63 6b 28 27 67 65 6f 27 29 3b 22 2f | mmand="onCheckboxClick('geo');"/ |
8b320 | 3e 0a 20 20 20 20 3c 63 6f 6d 6d 61 6e 64 20 69 64 3d 22 63 6d 64 5f 69 6d 61 67 65 54 6f 67 67 | >.....<command.id="cmd_imageTogg |
8b340 | 6c 65 22 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 6f 6e 52 61 64 69 6f 43 6c 69 63 6b 28 27 69 | le"...oncommand="onRadioClick('i |
8b360 | 6d 61 67 65 27 29 3b 22 2f 3e 0a 20 20 20 20 3c 63 6f 6d 6d 61 6e 64 20 69 64 3d 22 63 6d 64 5f | mage');"/>.....<command.id="cmd_ |
8b380 | 70 6f 70 75 70 54 6f 67 67 6c 65 22 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 6f 6e 52 61 64 69 | popupToggle"...oncommand="onRadi |
8b3a0 | 6f 43 6c 69 63 6b 28 27 70 6f 70 75 70 27 29 3b 22 2f 3e 0a 20 20 20 20 3c 63 6f 6d 6d 61 6e 64 | oClick('popup');"/>.....<command |
8b3c0 | 20 69 64 3d 22 63 6d 64 5f 63 6f 6f 6b 69 65 54 6f 67 67 6c 65 22 20 20 6f 6e 63 6f 6d 6d 61 6e | .id="cmd_cookieToggle"..oncomman |
8b3e0 | 64 3d 22 6f 6e 52 61 64 69 6f 43 6c 69 63 6b 28 27 63 6f 6f 6b 69 65 27 29 3b 22 2f 3e 0a 20 20 | d="onRadioClick('cookie');"/>... |
8b400 | 20 20 3c 63 6f 6d 6d 61 6e 64 20 69 64 3d 22 63 6d 64 5f 69 6e 73 74 61 6c 6c 54 6f 67 67 6c 65 | ..<command.id="cmd_installToggle |
8b420 | 22 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 6f 6e 52 61 64 69 6f 43 6c 69 63 6b 28 27 69 6e 73 74 61 | ".oncommand="onRadioClick('insta |
8b440 | 6c 6c 27 29 3b 22 2f 3e 0a 20 20 20 20 3c 63 6f 6d 6d 61 6e 64 20 69 64 3d 22 63 6d 64 5f 67 65 | ll');"/>.....<command.id="cmd_ge |
8b460 | 6f 54 6f 67 67 6c 65 22 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 6f 6e 52 61 64 69 6f 43 | oToggle".....oncommand="onRadioC |
8b480 | 6c 69 63 6b 28 27 67 65 6f 27 29 3b 22 2f 3e 0a 20 20 3c 2f 63 6f 6d 6d 61 6e 64 73 65 74 3e 0a | lick('geo');"/>...</commandset>. |
8b4a0 | 0a 20 20 3c 6b 65 79 73 65 74 3e 0a 20 20 20 20 3c 6b 65 79 20 6b 65 79 3d 22 26 63 6c 6f 73 65 | ...<keyset>.....<key.key="&close |
8b4c0 | 57 69 6e 64 6f 77 2e 6b 65 79 3b 22 20 6d 6f 64 69 66 69 65 72 73 3d 22 61 63 63 65 6c 22 20 63 | Window.key;".modifiers="accel".c |
8b4e0 | 6f 6d 6d 61 6e 64 3d 22 63 6d 64 5f 63 6c 6f 73 65 22 2f 3e 0a 20 20 20 20 3c 6b 65 79 20 6b 65 | ommand="cmd_close"/>.....<key.ke |
8b500 | 79 63 6f 64 65 3d 22 56 4b 5f 45 53 43 41 50 45 22 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ycode="VK_ESCAPE"............... |
8b520 | 20 20 20 20 20 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 63 6d 64 5f 63 6c 6f 73 65 22 2f 3e 0a 20 20 | ........command="cmd_close"/>... |
8b540 | 20 20 3c 6b 65 79 20 6b 65 79 63 6f 64 65 3d 22 56 4b 5f 46 31 22 20 20 20 20 20 20 20 20 20 20 | ..<key.keycode="VK_F1".......... |
8b560 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 63 6d 64 5f 68 65 | .................command="cmd_he |
8b580 | 6c 70 22 2f 3e 0a 20 20 20 20 3c 6b 65 79 20 6b 65 79 3d 22 26 63 6f 70 79 2e 6b 65 79 3b 22 20 | lp"/>.....<key.key="©.key;". |
8b5a0 | 20 20 20 20 20 20 20 6d 6f 64 69 66 69 65 72 73 3d 22 61 63 63 65 6c 22 20 63 6f 6d 6d 61 6e 64 | .......modifiers="accel".command |
8b5c0 | 3d 22 63 6d 64 5f 63 6f 70 79 22 2f 3e 0a 20 20 20 20 3c 6b 65 79 20 6b 65 79 3d 22 26 73 65 6c | ="cmd_copy"/>.....<key.key="&sel |
8b5e0 | 65 63 74 61 6c 6c 2e 6b 65 79 3b 22 20 20 20 6d 6f 64 69 66 69 65 72 73 3d 22 61 63 63 65 6c 22 | ectall.key;"...modifiers="accel" |
8b600 | 20 63 6f 6d 6d 61 6e 64 3d 22 63 6d 64 5f 73 65 6c 65 63 74 61 6c 6c 22 2f 3e 0a 20 20 20 20 3c | .command="cmd_selectall"/>.....< |
8b620 | 6b 65 79 20 6b 65 79 3d 22 26 73 65 6c 65 63 74 61 6c 6c 2e 6b 65 79 3b 22 20 20 20 6d 6f 64 69 | key.key="&selectall.key;"...modi |
8b640 | 66 69 65 72 73 3d 22 61 6c 74 22 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 63 6d 64 5f 73 65 6c 65 63 | fiers="alt"...command="cmd_selec |
8b660 | 74 61 6c 6c 22 2f 3e 0a 20 20 3c 2f 6b 65 79 73 65 74 3e 0a 0a 20 20 3c 6d 65 6e 75 70 6f 70 75 | tall"/>...</keyset>....<menupopu |
8b680 | 70 20 69 64 3d 22 70 69 63 6f 6e 74 65 78 74 22 3e 0a 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 | p.id="picontext">.....<menuitem. |
8b6a0 | 69 64 3d 22 6d 65 6e 75 5f 73 65 6c 65 63 74 61 6c 6c 22 20 6c 61 62 65 6c 3d 22 26 73 65 6c 65 | id="menu_selectall".label="&sele |
8b6c0 | 63 74 61 6c 6c 2e 6c 61 62 65 6c 3b 22 20 63 6f 6d 6d 61 6e 64 3d 22 63 6d 64 5f 73 65 6c 65 63 | ctall.label;".command="cmd_selec |
8b6e0 | 74 61 6c 6c 22 20 61 63 63 65 73 73 6b 65 79 3d 22 26 73 65 6c 65 63 74 61 6c 6c 2e 61 63 63 65 | tall".accesskey="&selectall.acce |
8b700 | 73 73 6b 65 79 3b 22 2f 3e 0a 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 6d 65 6e 75 | sskey;"/>.....<menuitem.id="menu |
8b720 | 5f 63 6f 70 79 22 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 63 6f 70 79 2e 6c 61 62 65 6c 3b 22 | _copy"......label="©.label;" |
8b740 | 20 20 20 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 63 6d 64 5f 63 6f 70 79 22 20 20 20 20 20 20 61 63 | ......command="cmd_copy"......ac |
8b760 | 63 65 73 73 6b 65 79 3d 22 26 63 6f 70 79 2e 61 63 63 65 73 73 6b 65 79 3b 22 2f 3e 0a 20 20 3c | cesskey="©.accesskey;"/>...< |
8b780 | 2f 6d 65 6e 75 70 6f 70 75 70 3e 0a 0a 20 20 3c 77 69 6e 64 6f 77 64 72 61 67 62 6f 78 20 6f 72 | /menupopup>....<windowdragbox.or |
8b7a0 | 69 65 6e 74 3d 22 76 65 72 74 69 63 61 6c 22 3e 0a 20 20 20 20 3c 73 74 61 63 6b 20 69 64 3d 22 | ient="vertical">.....<stack.id=" |
8b7c0 | 74 6f 70 53 74 61 63 6b 42 61 72 22 3e 0a 20 20 20 20 20 20 3c 72 61 64 69 6f 67 72 6f 75 70 20 | topStackBar">.......<radiogroup. |
8b7e0 | 69 64 3d 22 76 69 65 77 47 72 6f 75 70 22 20 63 6c 61 73 73 3d 22 76 69 65 77 53 65 6c 65 63 74 | id="viewGroup".class="viewSelect |
8b800 | 6f 72 20 63 68 72 6f 6d 65 63 6c 61 73 73 2d 74 6f 6f 6c 62 61 72 22 20 6f 72 69 65 6e 74 3d 22 | or.chromeclass-toolbar".orient=" |
8b820 | 68 6f 72 69 7a 6f 6e 74 61 6c 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 68 | horizontal"...................ch |
8b840 | 72 6f 6d 65 64 69 72 3d 22 26 6c 6f 63 61 6c 65 2e 64 69 72 3b 22 3e 0a 20 20 20 20 20 20 20 20 | romedir="&locale.dir;">......... |
8b860 | 3c 72 61 64 69 6f 20 69 64 3d 22 67 65 6e 65 72 61 6c 54 61 62 22 20 20 6c 61 62 65 6c 3d 22 26 | <radio.id="generalTab"..label="& |
8b880 | 67 65 6e 65 72 61 6c 54 61 62 3b 22 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 67 65 6e 65 72 61 | generalTab;"..accesskey="&genera |
8b8a0 | 6c 54 61 62 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e | lTab.accesskey;"..............on |
8b8c0 | 63 6f 6d 6d 61 6e 64 3d 22 73 68 6f 77 54 61 62 28 27 67 65 6e 65 72 61 6c 27 29 3b 22 2f 3e 0a | command="showTab('general');"/>. |
8b8e0 | 20 20 20 20 20 20 20 20 3c 72 61 64 69 6f 20 69 64 3d 22 6d 65 64 69 61 54 61 62 22 20 20 20 20 | ........<radio.id="mediaTab".... |
8b900 | 6c 61 62 65 6c 3d 22 26 6d 65 64 69 61 54 61 62 3b 22 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d | label="&mediaTab;"....accesskey= |
8b920 | 22 26 6d 65 64 69 61 54 61 62 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 | "&mediaTab.accesskey;".......... |
8b940 | 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 73 68 6f 77 54 61 62 28 27 6d 65 64 69 61 27 29 3b | ....oncommand="showTab('media'); |
8b960 | 20 65 6e 73 75 72 65 53 65 6c 65 63 74 69 6f 6e 28 67 49 6d 61 67 65 56 69 65 77 29 22 20 68 69 | .ensureSelection(gImageView)".hi |
8b980 | 64 64 65 6e 3d 22 74 72 75 65 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 72 61 64 69 6f 20 69 64 3d | dden="true"/>.........<radio.id= |
8b9a0 | 22 66 65 65 64 54 61 62 22 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 66 65 65 64 54 61 62 3b 22 20 | "feedTab".....label="&feedTab;". |
8b9c0 | 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 66 65 65 64 54 61 62 2e 61 63 63 65 73 73 6b 65 | ....accesskey="&feedTab.accesske |
8b9e0 | 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 73 68 6f 77 | y;"..............oncommand="show |
8ba00 | 54 61 62 28 27 66 65 65 64 27 29 3b 22 20 68 69 64 64 65 6e 3d 22 74 72 75 65 22 2f 3e 0a 20 20 | Tab('feed');".hidden="true"/>... |
8ba20 | 20 20 20 20 20 20 3c 72 61 64 69 6f 20 69 64 3d 22 70 65 72 6d 54 61 62 22 20 20 20 20 20 6c 61 | ......<radio.id="permTab".....la |
8ba40 | 62 65 6c 3d 22 26 70 65 72 6d 54 61 62 3b 22 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 | bel="&permTab;".....accesskey="& |
8ba60 | 70 65 72 6d 54 61 62 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 | permTab.accesskey;"............. |
8ba80 | 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 73 68 6f 77 54 61 62 28 27 70 65 72 6d 27 29 3b 22 2f 3e 0a | .oncommand="showTab('perm');"/>. |
8baa0 | 20 20 20 20 20 20 20 20 3c 72 61 64 69 6f 20 69 64 3d 22 73 65 63 75 72 69 74 79 54 61 62 22 20 | ........<radio.id="securityTab". |
8bac0 | 6c 61 62 65 6c 3d 22 26 73 65 63 75 72 69 74 79 54 61 62 3b 22 20 61 63 63 65 73 73 6b 65 79 3d | label="&securityTab;".accesskey= |
8bae0 | 22 26 73 65 63 75 72 69 74 79 54 61 62 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 | "&securityTab.accesskey;"....... |
8bb00 | 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 73 68 6f 77 54 61 62 28 27 73 65 63 75 72 | .......oncommand="showTab('secur |
8bb20 | 69 74 79 27 29 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 21 2d 2d 20 4f 74 68 65 72 73 20 61 64 | ity');"/>.........<!--.Others.ad |
8bb40 | 64 65 64 20 62 79 20 6f 76 65 72 6c 61 79 20 2d 2d 3e 0a 20 20 20 20 20 20 3c 2f 72 61 64 69 6f | ded.by.overlay.-->.......</radio |
8bb60 | 67 72 6f 75 70 3e 0a 20 20 20 20 3c 2f 73 74 61 63 6b 3e 0a 20 20 3c 2f 77 69 6e 64 6f 77 64 72 | group>.....</stack>...</windowdr |
8bb80 | 61 67 62 6f 78 3e 0a 0a 20 20 3c 64 65 63 6b 20 69 64 3d 22 6d 61 69 6e 44 65 63 6b 22 20 66 6c | agbox>....<deck.id="mainDeck".fl |
8bba0 | 65 78 3d 22 31 22 3e 0a 20 20 20 20 3c 21 2d 2d 20 47 65 6e 65 72 61 6c 20 70 61 67 65 20 69 6e | ex="1">.....<!--.General.page.in |
8bbc0 | 66 6f 72 6d 61 74 69 6f 6e 20 2d 2d 3e 0a 20 20 20 20 3c 76 62 6f 78 20 69 64 3d 22 67 65 6e 65 | formation.-->.....<vbox.id="gene |
8bbe0 | 72 61 6c 50 61 6e 65 6c 22 3e 0a 20 20 20 20 20 20 3c 74 65 78 74 62 6f 78 20 63 6c 61 73 73 3d | ralPanel">.......<textbox.class= |
8bc00 | 22 68 65 61 64 65 72 22 20 72 65 61 64 6f 6e 6c 79 3d 22 74 72 75 65 22 20 69 64 3d 22 74 69 74 | "header".readonly="true".id="tit |
8bc20 | 6c 65 74 65 78 74 22 2f 3e 0a 20 20 20 20 20 20 3c 67 72 69 64 3e 0a 20 20 20 20 20 20 20 20 3c | letext"/>.......<grid>.........< |
8bc40 | 63 6f 6c 75 6d 6e 73 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 63 6f 6c 75 6d 6e 2f 3e 0a 20 20 20 | columns>...........<column/>.... |
8bc60 | 20 20 20 20 20 20 20 3c 63 6f 6c 75 6d 6e 20 63 6c 61 73 73 3d 22 67 72 69 64 53 65 70 61 72 61 | .......<column.class="gridSepara |
8bc80 | 74 6f 72 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 63 6f 6c 75 6d 6e 20 66 6c 65 78 3d 22 31 | tor"/>...........<column.flex="1 |
8bca0 | 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 2f 63 6f 6c 75 6d 6e 73 3e 0a 20 20 20 20 20 20 20 20 3c | "/>.........</columns>.........< |
8bcc0 | 72 6f 77 73 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 72 6f 77 3e 0a 20 20 20 20 20 20 20 20 20 20 | rows>...........<row>........... |
8bce0 | 20 20 3c 6c 61 62 65 6c 20 63 6f 6e 74 72 6f 6c 3d 22 75 72 6c 74 65 78 74 22 20 76 61 6c 75 65 | ..<label.control="urltext".value |
8bd00 | 3d 22 26 67 65 6e 65 72 61 6c 55 52 4c 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 73 | ="&generalURL;"/>.............<s |
8bd20 | 65 70 61 72 61 74 6f 72 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 74 65 78 74 62 6f 78 20 | eparator/>.............<textbox. |
8bd40 | 72 65 61 64 6f 6e 6c 79 3d 22 74 72 75 65 22 20 69 64 3d 22 75 72 6c 74 65 78 74 22 2f 3e 0a 20 | readonly="true".id="urltext"/>.. |
8bd60 | 20 20 20 20 20 20 20 20 20 3c 2f 72 6f 77 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 72 6f 77 3e 0a | .........</row>...........<row>. |
8bd80 | 20 20 20 20 20 20 20 20 20 20 20 20 3c 73 65 70 61 72 61 74 6f 72 20 63 6c 61 73 73 3d 22 74 68 | ............<separator.class="th |
8bda0 | 69 6e 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 2f 72 6f 77 3e 0a 20 20 20 20 20 20 20 20 20 | in"/>...........</row>.......... |
8bdc0 | 20 3c 72 6f 77 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 61 62 65 6c 20 63 6f 6e 74 72 6f | .<row>.............<label.contro |
8bde0 | 6c 3d 22 74 79 70 65 74 65 78 74 22 20 76 61 6c 75 65 3d 22 26 67 65 6e 65 72 61 6c 54 79 70 65 | l="typetext".value="&generalType |
8be00 | 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 73 65 70 61 72 61 74 6f 72 2f 3e 0a 20 20 | ;"/>.............<separator/>... |
8be20 | 20 20 20 20 20 20 20 20 20 20 3c 74 65 78 74 62 6f 78 20 72 65 61 64 6f 6e 6c 79 3d 22 74 72 75 | ..........<textbox.readonly="tru |
8be40 | 65 22 20 69 64 3d 22 74 79 70 65 74 65 78 74 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 2f 72 | e".id="typetext"/>...........</r |
8be60 | 6f 77 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 72 6f 77 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ow>...........<row>............. |
8be80 | 3c 6c 61 62 65 6c 20 63 6f 6e 74 72 6f 6c 3d 22 6d 6f 64 65 74 65 78 74 22 20 76 61 6c 75 65 3d | <label.control="modetext".value= |
8bea0 | 22 26 67 65 6e 65 72 61 6c 4d 6f 64 65 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 73 | "&generalMode;"/>.............<s |
8bec0 | 65 70 61 72 61 74 6f 72 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 74 65 78 74 62 6f 78 20 | eparator/>.............<textbox. |
8bee0 | 72 65 61 64 6f 6e 6c 79 3d 22 74 72 75 65 22 20 63 72 6f 70 3d 22 65 6e 64 22 20 69 64 3d 22 6d | readonly="true".crop="end".id="m |
8bf00 | 6f 64 65 74 65 78 74 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 2f 72 6f 77 3e 0a 20 20 20 20 | odetext"/>...........</row>..... |
8bf20 | 20 20 20 20 20 20 3c 72 6f 77 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 61 62 65 6c 20 63 | ......<row>.............<label.c |
8bf40 | 6f 6e 74 72 6f 6c 3d 22 65 6e 63 6f 64 69 6e 67 74 65 78 74 22 20 76 61 6c 75 65 3d 22 26 67 65 | ontrol="encodingtext".value="&ge |
8bf60 | 6e 65 72 61 6c 45 6e 63 6f 64 69 6e 67 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 73 | neralEncoding;"/>.............<s |
8bf80 | 65 70 61 72 61 74 6f 72 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 74 65 78 74 62 6f 78 20 | eparator/>.............<textbox. |
8bfa0 | 72 65 61 64 6f 6e 6c 79 3d 22 74 72 75 65 22 20 69 64 3d 22 65 6e 63 6f 64 69 6e 67 74 65 78 74 | readonly="true".id="encodingtext |
8bfc0 | 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 2f 72 6f 77 3e 0a 20 20 20 20 20 20 20 20 20 20 3c | "/>...........</row>...........< |
8bfe0 | 72 6f 77 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 61 62 65 6c 20 63 6f 6e 74 72 6f 6c 3d | row>.............<label.control= |
8c000 | 22 73 69 7a 65 74 65 78 74 22 20 76 61 6c 75 65 3d 22 26 67 65 6e 65 72 61 6c 53 69 7a 65 3b 22 | "sizetext".value="&generalSize;" |
8c020 | 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 73 65 70 61 72 61 74 6f 72 2f 3e 0a 20 20 20 20 | />.............<separator/>..... |
8c040 | 20 20 20 20 20 20 20 20 3c 74 65 78 74 62 6f 78 20 72 65 61 64 6f 6e 6c 79 3d 22 74 72 75 65 22 | ........<textbox.readonly="true" |
8c060 | 20 69 64 3d 22 73 69 7a 65 74 65 78 74 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 2f 72 6f 77 | .id="sizetext"/>...........</row |
8c080 | 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 72 6f 77 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c | >...........<row>.............<l |
8c0a0 | 61 62 65 6c 20 63 6f 6e 74 72 6f 6c 3d 22 72 65 66 65 72 74 65 78 74 22 20 76 61 6c 75 65 3d 22 | abel.control="refertext".value=" |
8c0c0 | 26 67 65 6e 65 72 61 6c 52 65 66 65 72 72 65 72 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 | &generalReferrer;"/>............ |
8c0e0 | 20 3c 73 65 70 61 72 61 74 6f 72 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 74 65 78 74 62 | .<separator/>.............<textb |
8c100 | 6f 78 20 72 65 61 64 6f 6e 6c 79 3d 22 74 72 75 65 22 20 69 64 3d 22 72 65 66 65 72 74 65 78 74 | ox.readonly="true".id="refertext |
8c120 | 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 2f 72 6f 77 3e 0a 20 20 20 20 20 20 20 20 20 20 3c | "/>...........</row>...........< |
8c140 | 72 6f 77 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 73 65 70 61 72 61 74 6f 72 20 63 6c 61 73 | row>.............<separator.clas |
8c160 | 73 3d 22 74 68 69 6e 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 2f 72 6f 77 3e 0a 20 20 20 20 | s="thin"/>...........</row>..... |
8c180 | 20 20 20 20 20 20 3c 72 6f 77 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 61 62 65 6c 20 63 | ......<row>.............<label.c |
8c1a0 | 6f 6e 74 72 6f 6c 3d 22 6d 6f 64 69 66 69 65 64 74 65 78 74 22 20 76 61 6c 75 65 3d 22 26 67 65 | ontrol="modifiedtext".value="&ge |
8c1c0 | 6e 65 72 61 6c 4d 6f 64 69 66 69 65 64 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 73 | neralModified;"/>.............<s |
8c1e0 | 65 70 61 72 61 74 6f 72 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 74 65 78 74 62 6f 78 20 | eparator/>.............<textbox. |
8c200 | 72 65 61 64 6f 6e 6c 79 3d 22 74 72 75 65 22 20 69 64 3d 22 6d 6f 64 69 66 69 65 64 74 65 78 74 | readonly="true".id="modifiedtext |
8c220 | 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 2f 72 6f 77 3e 0a 20 20 20 20 20 20 20 20 3c 2f 72 | "/>...........</row>.........</r |
8c240 | 6f 77 73 3e 0a 20 20 20 20 20 20 3c 2f 67 72 69 64 3e 0a 20 20 20 20 20 20 3c 73 65 70 61 72 61 | ows>.......</grid>.......<separa |
8c260 | 74 6f 72 20 63 6c 61 73 73 3d 22 74 68 69 6e 22 2f 3e 0a 20 20 20 20 20 20 3c 67 72 6f 75 70 62 | tor.class="thin"/>.......<groupb |
8c280 | 6f 78 20 69 64 3d 22 6d 65 74 61 54 61 67 73 22 20 66 6c 65 78 3d 22 31 22 20 63 6c 61 73 73 3d | ox.id="metaTags".flex="1".class= |
8c2a0 | 22 63 6f 6c 6c 61 70 73 61 62 6c 65 20 74 72 65 65 62 6f 78 22 3e 0a 20 20 20 20 20 20 20 20 3c | "collapsable.treebox">.........< |
8c2c0 | 63 61 70 74 69 6f 6e 20 69 64 3d 22 6d 65 74 61 54 61 67 73 43 61 70 74 69 6f 6e 22 20 6f 6e 63 | caption.id="metaTagsCaption".onc |
8c2e0 | 6c 69 63 6b 3d 22 74 6f 67 67 6c 65 47 72 6f 75 70 62 6f 78 28 27 6d 65 74 61 54 61 67 73 27 29 | lick="toggleGroupbox('metaTags') |
8c300 | 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 74 72 65 65 20 69 64 3d 22 6d 65 74 61 74 72 65 65 22 | ;"/>.........<tree.id="metatree" |
8c320 | 20 66 6c 65 78 3d 22 31 22 20 68 69 64 65 63 6f 6c 75 6d 6e 70 69 63 6b 65 72 3d 22 74 72 75 65 | .flex="1".hidecolumnpicker="true |
8c340 | 22 20 63 6f 6e 74 65 78 74 6d 65 6e 75 3d 22 70 69 63 6f 6e 74 65 78 74 22 3e 0a 20 20 20 20 20 | ".contextmenu="picontext">...... |
8c360 | 20 20 20 20 20 3c 74 72 65 65 63 6f 6c 73 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 74 72 65 | .....<treecols>.............<tre |
8c380 | 65 63 6f 6c 20 69 64 3d 22 6d 65 74 61 2d 6e 61 6d 65 22 20 20 20 20 6c 61 62 65 6c 3d 22 26 67 | ecol.id="meta-name"....label="&g |
8c3a0 | 65 6e 65 72 61 6c 4d 65 74 61 4e 61 6d 65 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | eneralMetaName;"................ |
8c3c0 | 20 20 20 20 20 20 70 65 72 73 69 73 74 3d 22 77 69 64 74 68 22 20 66 6c 65 78 3d 22 31 22 2f 3e | ......persist="width".flex="1"/> |
8c3e0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 73 70 6c 69 74 74 65 72 20 63 6c 61 73 73 3d 22 74 72 | .............<splitter.class="tr |
8c400 | 65 65 2d 73 70 6c 69 74 74 65 72 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 74 72 65 65 | ee-splitter"/>.............<tree |
8c420 | 63 6f 6c 20 69 64 3d 22 6d 65 74 61 2d 63 6f 6e 74 65 6e 74 22 20 6c 61 62 65 6c 3d 22 26 67 65 | col.id="meta-content".label="&ge |
8c440 | 6e 65 72 61 6c 4d 65 74 61 43 6f 6e 74 65 6e 74 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | neralMetaContent;".............. |
8c460 | 20 20 20 20 20 20 20 20 70 65 72 73 69 73 74 3d 22 77 69 64 74 68 22 20 66 6c 65 78 3d 22 34 22 | ........persist="width".flex="4" |
8c480 | 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 2f 74 72 65 65 63 6f 6c 73 3e 0a 20 20 20 20 20 20 20 | />...........</treecols>........ |
8c4a0 | 20 20 20 3c 74 72 65 65 63 68 69 6c 64 72 65 6e 20 66 6c 65 78 3d 22 31 22 2f 3e 0a 20 20 20 20 | ...<treechildren.flex="1"/>..... |
8c4c0 | 20 20 20 20 3c 2f 74 72 65 65 3e 20 20 20 20 20 20 20 20 0a 20 20 20 20 20 20 3c 2f 67 72 6f 75 | ....</tree>...............</grou |
8c4e0 | 70 62 6f 78 3e 0a 20 20 20 20 20 20 3c 67 72 6f 75 70 62 6f 78 20 69 64 3d 22 73 65 63 75 72 69 | pbox>.......<groupbox.id="securi |
8c500 | 74 79 42 6f 78 22 3e 0a 20 20 20 20 20 20 20 20 3c 63 61 70 74 69 6f 6e 20 69 64 3d 22 73 65 63 | tyBox">.........<caption.id="sec |
8c520 | 75 72 69 74 79 42 6f 78 43 61 70 74 69 6f 6e 22 20 6c 61 62 65 6c 3d 22 26 73 65 63 75 72 69 74 | urityBoxCaption".label="&securit |
8c540 | 79 48 65 61 64 65 72 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 64 65 73 63 72 69 70 74 69 6f 6e | yHeader;"/>.........<description |
8c560 | 20 69 64 3d 22 67 65 6e 65 72 61 6c 2d 73 65 63 75 72 69 74 79 2d 69 64 65 6e 74 69 74 79 22 20 | .id="general-security-identity". |
8c580 | 63 6c 61 73 73 3d 22 68 65 61 64 65 72 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 64 65 73 63 72 69 | class="header"/>.........<descri |
8c5a0 | 70 74 69 6f 6e 20 69 64 3d 22 67 65 6e 65 72 61 6c 2d 73 65 63 75 72 69 74 79 2d 70 72 69 76 61 | ption.id="general-security-priva |
8c5c0 | 63 79 22 20 20 63 6c 61 73 73 3d 22 68 65 61 64 65 72 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 68 | cy"..class="header"/>.........<h |
8c5e0 | 62 6f 78 20 61 6c 69 67 6e 3d 22 72 69 67 68 74 22 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 62 75 | box.align="right">...........<bu |
8c600 | 74 74 6f 6e 20 69 64 3d 22 73 65 63 75 72 69 74 79 2d 76 69 65 77 2d 64 65 74 61 69 6c 73 22 20 | tton.id="security-view-details". |
8c620 | 6c 61 62 65 6c 3d 22 26 67 65 6e 65 72 61 6c 53 65 63 75 72 69 74 79 44 65 74 61 69 6c 73 3b 22 | label="&generalSecurityDetails;" |
8c640 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 67 | ...................accesskey="&g |
8c660 | 65 6e 65 72 61 6c 53 65 63 75 72 69 74 79 44 65 74 61 69 6c 73 2e 61 63 63 65 73 73 6b 65 79 3b | eneralSecurityDetails.accesskey; |
8c680 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 6f | "...................oncommand="o |
8c6a0 | 6e 43 6c 69 63 6b 4d 6f 72 65 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 2f 68 62 6f 78 3e | nClickMore();"/>.........</hbox> |
8c6c0 | 0a 20 20 20 20 20 20 3c 2f 67 72 6f 75 70 62 6f 78 3e 0a 20 20 20 20 3c 2f 76 62 6f 78 3e 0a 0a | .......</groupbox>.....</vbox>.. |
8c6e0 | 20 20 20 20 3c 21 2d 2d 20 4d 65 64 69 61 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 20 2d 2d 3e 0a 20 | ....<!--.Media.information.-->.. |
8c700 | 20 20 20 3c 76 62 6f 78 20 69 64 3d 22 6d 65 64 69 61 50 61 6e 65 6c 22 3e 0a 20 20 20 20 20 20 | ...<vbox.id="mediaPanel">....... |
8c720 | 3c 74 72 65 65 20 69 64 3d 22 69 6d 61 67 65 74 72 65 65 22 20 6f 6e 73 65 6c 65 63 74 3d 22 6f | <tree.id="imagetree".onselect="o |
8c740 | 6e 49 6d 61 67 65 53 65 6c 65 63 74 28 29 3b 22 20 63 6f 6e 74 65 78 74 6d 65 6e 75 3d 22 70 69 | nImageSelect();".contextmenu="pi |
8c760 | 63 6f 6e 74 65 78 74 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 64 72 61 67 67 65 73 74 75 | context".............ondraggestu |
8c780 | 72 65 3d 22 6f 6e 42 65 67 69 6e 4c 69 6e 6b 44 72 61 67 28 65 76 65 6e 74 2c 27 69 6d 61 67 65 | re="onBeginLinkDrag(event,'image |
8c7a0 | 2d 61 64 64 72 65 73 73 27 2c 27 69 6d 61 67 65 2d 61 6c 74 27 29 22 3e 0a 20 20 20 20 20 20 20 | -address','image-alt')">........ |
8c7c0 | 20 3c 74 72 65 65 63 6f 6c 73 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 74 72 65 65 63 6f 6c 20 73 | .<treecols>...........<treecol.s |
8c7e0 | 6f 72 74 53 65 70 61 72 61 74 6f 72 73 3d 22 74 72 75 65 22 20 70 65 72 73 69 73 74 3d 22 68 69 | ortSeparators="true".persist="hi |
8c800 | 64 64 65 6e 20 77 69 64 74 68 22 20 66 6c 65 78 3d 22 31 30 22 0a 20 20 20 20 20 20 20 20 20 20 | dden.width".flex="10"........... |
8c820 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 77 69 64 74 68 3d 22 31 30 22 20 69 64 3d 22 69 6d 61 | ..............width="10".id="ima |
8c840 | 67 65 2d 61 64 64 72 65 73 73 22 20 6c 61 62 65 6c 3d 22 26 6d 65 64 69 61 41 64 64 72 65 73 73 | ge-address".label="&mediaAddress |
8c860 | 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 73 70 6c 69 74 74 65 72 20 63 6c 61 73 73 3d 22 | ;"/>...........<splitter.class=" |
8c880 | 74 72 65 65 2d 73 70 6c 69 74 74 65 72 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 74 72 65 65 | tree-splitter"/>...........<tree |
8c8a0 | 63 6f 6c 20 73 6f 72 74 53 65 70 61 72 61 74 6f 72 73 3d 22 74 72 75 65 22 20 70 65 72 73 69 73 | col.sortSeparators="true".persis |
8c8c0 | 74 3d 22 68 69 64 64 65 6e 20 77 69 64 74 68 22 20 66 6c 65 78 3d 22 32 22 0a 20 20 20 20 20 20 | t="hidden.width".flex="2"....... |
8c8e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 77 69 64 74 68 3d 22 32 22 20 20 69 64 3d | ..................width="2"..id= |
8c900 | 22 69 6d 61 67 65 2d 74 79 70 65 22 20 20 20 20 6c 61 62 65 6c 3d 22 26 6d 65 64 69 61 54 79 70 | "image-type"....label="&mediaTyp |
8c920 | 65 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 73 70 6c 69 74 74 65 72 20 63 6c 61 73 73 3d | e;"/>...........<splitter.class= |
8c940 | 22 74 72 65 65 2d 73 70 6c 69 74 74 65 72 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 74 72 65 | "tree-splitter"/>...........<tre |
8c960 | 65 63 6f 6c 20 73 6f 72 74 53 65 70 61 72 61 74 6f 72 73 3d 22 74 72 75 65 22 20 68 69 64 64 65 | ecol.sortSeparators="true".hidde |
8c980 | 6e 3d 22 74 72 75 65 22 20 70 65 72 73 69 73 74 3d 22 68 69 64 64 65 6e 20 77 69 64 74 68 22 20 | n="true".persist="hidden.width". |
8c9a0 | 66 6c 65 78 3d 22 32 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | flex="2"........................ |
8c9c0 | 20 77 69 64 74 68 3d 22 32 22 20 20 69 64 3d 22 69 6d 61 67 65 2d 73 69 7a 65 22 20 20 20 20 6c | .width="2"..id="image-size"....l |
8c9e0 | 61 62 65 6c 3d 22 26 6d 65 64 69 61 53 69 7a 65 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c | abel="&mediaSize;"/>...........< |
8ca00 | 73 70 6c 69 74 74 65 72 20 63 6c 61 73 73 3d 22 74 72 65 65 2d 73 70 6c 69 74 74 65 72 22 2f 3e | splitter.class="tree-splitter"/> |
8ca20 | 0a 20 20 20 20 20 20 20 20 20 20 3c 74 72 65 65 63 6f 6c 20 73 6f 72 74 53 65 70 61 72 61 74 6f | ...........<treecol.sortSeparato |
8ca40 | 72 73 3d 22 74 72 75 65 22 20 68 69 64 64 65 6e 3d 22 74 72 75 65 22 20 70 65 72 73 69 73 74 3d | rs="true".hidden="true".persist= |
8ca60 | 22 68 69 64 64 65 6e 20 77 69 64 74 68 22 20 66 6c 65 78 3d 22 34 22 0a 20 20 20 20 20 20 20 20 | "hidden.width".flex="4"......... |
8ca80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 77 69 64 74 68 3d 22 34 22 20 20 69 64 3d 22 69 | ................width="4"..id="i |
8caa0 | 6d 61 67 65 2d 61 6c 74 22 20 20 20 20 6c 61 62 65 6c 3d 22 26 6d 65 64 69 61 41 6c 74 48 65 61 | mage-alt"....label="&mediaAltHea |
8cac0 | 64 65 72 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 73 70 6c 69 74 74 65 72 20 63 6c 61 73 | der;"/>...........<splitter.clas |
8cae0 | 73 3d 22 74 72 65 65 2d 73 70 6c 69 74 74 65 72 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 74 | s="tree-splitter"/>...........<t |
8cb00 | 72 65 65 63 6f 6c 20 73 6f 72 74 53 65 70 61 72 61 74 6f 72 73 3d 22 74 72 75 65 22 20 68 69 64 | reecol.sortSeparators="true".hid |
8cb20 | 64 65 6e 3d 22 74 72 75 65 22 20 70 65 72 73 69 73 74 3d 22 68 69 64 64 65 6e 20 77 69 64 74 68 | den="true".persist="hidden.width |
8cb40 | 22 20 66 6c 65 78 3d 22 31 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ".flex="1"...................... |
8cb60 | 20 20 20 77 69 64 74 68 3d 22 31 22 20 20 69 64 3d 22 69 6d 61 67 65 2d 63 6f 75 6e 74 22 20 20 | ...width="1"..id="image-count".. |
8cb80 | 20 20 6c 61 62 65 6c 3d 22 26 6d 65 64 69 61 43 6f 75 6e 74 3b 22 2f 3e 0a 20 20 20 20 20 20 20 | ..label="&mediaCount;"/>........ |
8cba0 | 20 3c 2f 74 72 65 65 63 6f 6c 73 3e 0a 20 20 20 20 20 20 20 20 3c 74 72 65 65 63 68 69 6c 64 72 | .</treecols>.........<treechildr |
8cbc0 | 65 6e 20 66 6c 65 78 3d 22 31 22 2f 3e 0a 20 20 20 20 20 20 3c 2f 74 72 65 65 3e 0a 20 20 20 20 | en.flex="1"/>.......</tree>..... |
8cbe0 | 20 20 3c 73 70 6c 69 74 74 65 72 20 6f 72 69 65 6e 74 3d 22 76 65 72 74 69 63 61 6c 22 20 69 64 | ..<splitter.orient="vertical".id |
8cc00 | 3d 22 6d 65 64 69 61 53 70 6c 69 74 74 65 72 22 2f 3e 0a 20 20 20 20 20 20 3c 76 62 6f 78 20 66 | ="mediaSplitter"/>.......<vbox.f |
8cc20 | 6c 65 78 3d 22 31 22 20 69 64 3d 22 6d 65 64 69 61 50 72 65 76 69 65 77 42 6f 78 22 20 63 6f 6c | lex="1".id="mediaPreviewBox".col |
8cc40 | 6c 61 70 73 65 64 3d 22 74 72 75 65 22 3e 0a 20 20 20 20 20 20 20 20 3c 67 72 69 64 20 69 64 3d | lapsed="true">.........<grid.id= |
8cc60 | 22 6d 65 64 69 61 47 72 69 64 22 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 63 6f 6c 75 6d 6e 73 3e | "mediaGrid">...........<columns> |
8cc80 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 63 6f 6c 75 6d 6e 20 69 64 3d 22 6d 65 64 69 61 4c 61 | .............<column.id="mediaLa |
8cca0 | 62 65 6c 43 6f 6c 75 6d 6e 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 63 6f 6c 75 6d 6e | belColumn"/>.............<column |
8ccc0 | 20 63 6c 61 73 73 3d 22 67 72 69 64 53 65 70 61 72 61 74 6f 72 22 2f 3e 0a 20 20 20 20 20 20 20 | .class="gridSeparator"/>........ |
8cce0 | 20 20 20 20 20 3c 63 6f 6c 75 6d 6e 20 66 6c 65 78 3d 22 31 22 2f 3e 0a 20 20 20 20 20 20 20 20 | .....<column.flex="1"/>......... |
8cd00 | 20 20 3c 2f 63 6f 6c 75 6d 6e 73 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 72 6f 77 73 3e 0a 20 20 | ..</columns>...........<rows>... |
8cd20 | 20 20 20 20 20 20 20 20 20 20 3c 72 6f 77 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c | ..........<row>...............<l |
8cd40 | 61 62 65 6c 20 63 6f 6e 74 72 6f 6c 3d 22 69 6d 61 67 65 75 72 6c 74 65 78 74 22 20 76 61 6c 75 | abel.control="imageurltext".valu |
8cd60 | 65 3d 22 26 6d 65 64 69 61 4c 6f 63 61 74 69 6f 6e 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 | e="&mediaLocation;"/>........... |
8cd80 | 20 20 20 20 3c 73 65 70 61 72 61 74 6f 72 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c | ....<separator/>...............< |
8cda0 | 74 65 78 74 62 6f 78 20 72 65 61 64 6f 6e 6c 79 3d 22 74 72 75 65 22 20 69 64 3d 22 69 6d 61 67 | textbox.readonly="true".id="imag |
8cdc0 | 65 75 72 6c 74 65 78 74 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 72 6f 77 3e 0a 20 | eurltext"/>.............</row>.. |
8cde0 | 20 20 20 20 20 20 20 20 20 20 20 3c 72 6f 77 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c | ...........<row>...............< |
8ce00 | 6c 61 62 65 6c 20 63 6f 6e 74 72 6f 6c 3d 22 69 6d 61 67 65 74 79 70 65 74 65 78 74 22 20 76 61 | label.control="imagetypetext".va |
8ce20 | 6c 75 65 3d 22 26 67 65 6e 65 72 61 6c 54 79 70 65 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 | lue="&generalType;"/>........... |
8ce40 | 20 20 20 20 3c 73 65 70 61 72 61 74 6f 72 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c | ....<separator/>...............< |
8ce60 | 74 65 78 74 62 6f 78 20 72 65 61 64 6f 6e 6c 79 3d 22 74 72 75 65 22 20 69 64 3d 22 69 6d 61 67 | textbox.readonly="true".id="imag |
8ce80 | 65 74 79 70 65 74 65 78 74 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 72 6f 77 3e 0a | etypetext"/>.............</row>. |
8cea0 | 20 20 20 20 20 20 20 20 20 20 20 20 3c 72 6f 77 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ............<row>............... |
8cec0 | 3c 6c 61 62 65 6c 20 63 6f 6e 74 72 6f 6c 3d 22 69 6d 61 67 65 73 69 7a 65 74 65 78 74 22 20 76 | <label.control="imagesizetext".v |
8cee0 | 61 6c 75 65 3d 22 26 67 65 6e 65 72 61 6c 53 69 7a 65 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 | alue="&generalSize;"/>.......... |
8cf00 | 20 20 20 20 20 3c 73 65 70 61 72 61 74 6f 72 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .....<separator/>............... |
8cf20 | 3c 74 65 78 74 62 6f 78 20 72 65 61 64 6f 6e 6c 79 3d 22 74 72 75 65 22 20 69 64 3d 22 69 6d 61 | <textbox.readonly="true".id="ima |
8cf40 | 67 65 73 69 7a 65 74 65 78 74 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 72 6f 77 3e | gesizetext"/>.............</row> |
8cf60 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 72 6f 77 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | .............<row>.............. |
8cf80 | 20 3c 6c 61 62 65 6c 20 63 6f 6e 74 72 6f 6c 3d 22 69 6d 61 67 65 64 69 6d 65 6e 73 69 6f 6e 74 | .<label.control="imagedimensiont |
8cfa0 | 65 78 74 22 20 76 61 6c 75 65 3d 22 26 6d 65 64 69 61 44 69 6d 65 6e 73 69 6f 6e 3b 22 2f 3e 0a | ext".value="&mediaDimension;"/>. |
8cfc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 73 65 70 61 72 61 74 6f 72 2f 3e 0a 20 20 20 20 20 | ..............<separator/>...... |
8cfe0 | 20 20 20 20 20 20 20 20 20 3c 74 65 78 74 62 6f 78 20 72 65 61 64 6f 6e 6c 79 3d 22 74 72 75 65 | .........<textbox.readonly="true |
8d000 | 22 20 69 64 3d 22 69 6d 61 67 65 64 69 6d 65 6e 73 69 6f 6e 74 65 78 74 22 2f 3e 0a 20 20 20 20 | ".id="imagedimensiontext"/>..... |
8d020 | 20 20 20 20 20 20 20 20 3c 2f 72 6f 77 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 72 6f 77 3e | ........</row>.............<row> |
8d040 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 61 62 65 6c 20 63 6f 6e 74 72 6f 6c 3d 22 69 | ...............<label.control="i |
8d060 | 6d 61 67 65 74 65 78 74 22 20 76 61 6c 75 65 3d 22 26 6d 65 64 69 61 54 65 78 74 3b 22 2f 3e 0a | magetext".value="&mediaText;"/>. |
8d080 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 73 65 70 61 72 61 74 6f 72 2f 3e 0a 20 20 20 20 20 | ..............<separator/>...... |
8d0a0 | 20 20 20 20 20 20 20 20 20 3c 74 65 78 74 62 6f 78 20 72 65 61 64 6f 6e 6c 79 3d 22 74 72 75 65 | .........<textbox.readonly="true |
8d0c0 | 22 20 69 64 3d 22 69 6d 61 67 65 74 65 78 74 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c | ".id="imagetext"/>.............< |
8d0e0 | 2f 72 6f 77 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 72 6f 77 3e 0a 20 20 20 20 20 20 20 20 | /row>.............<row>......... |
8d100 | 20 20 20 20 20 20 3c 6c 61 62 65 6c 20 63 6f 6e 74 72 6f 6c 3d 22 69 6d 61 67 65 6c 6f 6e 67 64 | ......<label.control="imagelongd |
8d120 | 65 73 63 74 65 78 74 22 20 76 61 6c 75 65 3d 22 26 6d 65 64 69 61 4c 6f 6e 67 64 65 73 63 3b 22 | esctext".value="&mediaLongdesc;" |
8d140 | 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 73 65 70 61 72 61 74 6f 72 2f 3e 0a 20 20 | />...............<separator/>... |
8d160 | 20 20 20 20 20 20 20 20 20 20 20 20 3c 74 65 78 74 62 6f 78 20 72 65 61 64 6f 6e 6c 79 3d 22 74 | ............<textbox.readonly="t |
8d180 | 72 75 65 22 20 69 64 3d 22 69 6d 61 67 65 6c 6f 6e 67 64 65 73 63 74 65 78 74 22 2f 3e 0a 20 20 | rue".id="imagelongdesctext"/>... |
8d1a0 | 20 20 20 20 20 20 20 20 20 20 3c 2f 72 6f 77 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 2f 72 6f 77 | ..........</row>...........</row |
8d1c0 | 73 3e 0a 20 20 20 20 20 20 20 20 3c 2f 67 72 69 64 3e 0a 20 20 20 20 20 20 20 20 3c 68 62 6f 78 | s>.........</grid>.........<hbox |
8d1e0 | 20 61 6c 69 67 6e 3d 22 65 6e 64 22 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 76 62 6f 78 3e 0a 20 | .align="end">...........<vbox>.. |
8d200 | 20 20 20 20 20 20 20 20 20 20 20 3c 63 68 65 63 6b 62 6f 78 20 69 64 3d 22 62 6c 6f 63 6b 49 6d | ...........<checkbox.id="blockIm |
8d220 | 61 67 65 22 20 68 69 64 64 65 6e 3d 22 74 72 75 65 22 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 6f 6e | age".hidden="true".oncommand="on |
8d240 | 42 6c 6f 63 6b 49 6d 61 67 65 28 29 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | BlockImage()"................... |
8d260 | 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 6d 65 64 69 61 42 6c 6f 63 6b 49 6d 61 67 65 2e | ....accesskey="&mediaBlockImage. |
8d280 | 61 63 63 65 73 73 6b 65 79 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 61 62 65 6c | accesskey;"/>.............<label |
8d2a0 | 20 63 6f 6e 74 72 6f 6c 3d 22 74 68 65 70 72 65 76 69 65 77 69 6d 61 67 65 22 20 76 61 6c 75 65 | .control="thepreviewimage".value |
8d2c0 | 3d 22 26 6d 65 64 69 61 50 72 65 76 69 65 77 3b 22 20 63 6c 61 73 73 3d 22 68 65 61 64 65 72 22 | ="&mediaPreview;".class="header" |
8d2e0 | 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 2f 76 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 20 20 3c | />...........</vbox>...........< |
8d300 | 73 70 61 63 65 72 20 66 6c 65 78 3d 22 31 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 62 75 74 | spacer.flex="1"/>...........<but |
8d320 | 74 6f 6e 20 6c 61 62 65 6c 3d 22 26 6d 65 64 69 61 53 61 76 65 41 73 3b 22 20 61 63 63 65 73 73 | ton.label="&mediaSaveAs;".access |
8d340 | 6b 65 79 3d 22 26 6d 65 64 69 61 53 61 76 65 41 73 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 | key="&mediaSaveAs.accesskey;"... |
8d360 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 63 6f 6e 3d 22 73 61 76 65 22 20 69 64 3d 22 | ................icon="save".id=" |
8d380 | 69 6d 61 67 65 73 61 76 65 61 73 62 75 74 74 6f 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | imagesaveasbutton".............. |
8d3a0 | 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 73 61 76 65 4d 65 64 69 61 28 29 3b 22 2f 3e 0a | .....oncommand="saveMedia();"/>. |
8d3c0 | 20 20 20 20 20 20 20 20 3c 2f 68 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 3c 76 62 6f 78 20 63 6c | ........</hbox>.........<vbox.cl |
8d3e0 | 61 73 73 3d 22 69 6e 73 65 74 20 69 66 72 61 6d 65 22 20 66 6c 65 78 3d 22 31 22 20 70 61 63 6b | ass="inset.iframe".flex="1".pack |
8d400 | 3d 22 63 65 6e 74 65 72 22 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 68 62 6f 78 20 69 64 3d 22 74 | ="center">...........<hbox.id="t |
8d420 | 68 65 69 6d 61 67 65 63 6f 6e 74 61 69 6e 65 72 22 20 70 61 63 6b 3d 22 63 65 6e 74 65 72 22 3e | heimagecontainer".pack="center"> |
8d440 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 69 6d 61 67 65 20 69 64 3d 22 74 68 65 70 72 65 76 69 | .............<image.id="theprevi |
8d460 | 65 77 69 6d 61 67 65 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 2f 68 62 6f 78 3e 0a 20 20 20 | ewimage"/>...........</hbox>.... |
8d480 | 20 20 20 20 20 20 20 3c 68 62 6f 78 20 69 64 3d 22 62 72 6f 6b 65 6e 69 6d 61 67 65 63 6f 6e 74 | .......<hbox.id="brokenimagecont |
8d4a0 | 61 69 6e 65 72 22 20 70 61 63 6b 3d 22 63 65 6e 74 65 72 22 20 63 6f 6c 6c 61 70 73 65 64 3d 22 | ainer".pack="center".collapsed=" |
8d4c0 | 74 72 75 65 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 69 6d 61 67 65 20 69 64 3d 22 62 72 | true">.............<image.id="br |
8d4e0 | 6f 6b 65 6e 69 6d 61 67 65 22 20 73 72 63 3d 22 72 65 73 6f 75 72 63 65 3a 2f 2f 2f 72 65 73 2f | okenimage".src="resource:///res/ |
8d500 | 62 72 6f 6b 65 6e 2d 69 6d 61 67 65 2e 67 69 66 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 2f | broken-image.gif"/>...........</ |
8d520 | 68 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 3c 2f 76 62 6f 78 3e 0a 20 20 20 20 20 20 3c 2f 76 62 | hbox>.........</vbox>.......</vb |
8d540 | 6f 78 3e 0a 20 20 20 20 20 20 3c 68 62 6f 78 20 69 64 3d 22 6d 65 64 69 61 53 61 76 65 42 6f 78 | ox>.......<hbox.id="mediaSaveBox |
8d560 | 22 20 63 6f 6c 6c 61 70 73 65 64 3d 22 74 72 75 65 22 3e 0a 20 20 20 20 20 20 20 20 3c 73 70 61 | ".collapsed="true">.........<spa |
8d580 | 63 65 72 20 66 6c 65 78 3d 22 31 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 75 74 74 6f 6e 20 6c | cer.flex="1"/>.........<button.l |
8d5a0 | 61 62 65 6c 3d 22 26 6d 65 64 69 61 53 61 76 65 41 73 3b 22 20 61 63 63 65 73 73 6b 65 79 3d 22 | abel="&mediaSaveAs;".accesskey=" |
8d5c0 | 26 6d 65 64 69 61 53 61 76 65 41 73 32 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 | &mediaSaveAs2.accesskey;"....... |
8d5e0 | 20 20 20 20 20 20 20 20 20 20 69 63 6f 6e 3d 22 73 61 76 65 22 20 6f 6e 63 6f 6d 6d 61 6e 64 3d | ..........icon="save".oncommand= |
8d600 | 22 73 61 76 65 4d 65 64 69 61 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 2f 68 62 6f 78 3e 0a 20 | "saveMedia();"/>.......</hbox>.. |
8d620 | 20 20 20 3c 2f 76 62 6f 78 3e 0a 0a 20 20 20 20 3c 21 2d 2d 20 46 65 65 64 73 20 2d 2d 3e 0a 20 | ...</vbox>......<!--.Feeds.-->.. |
8d640 | 20 20 20 3c 76 62 6f 78 20 69 64 3d 22 66 65 65 64 50 61 6e 65 6c 22 3e 0a 20 20 20 20 20 20 3c | ...<vbox.id="feedPanel">.......< |
8d660 | 72 69 63 68 6c 69 73 74 62 6f 78 20 69 64 3d 22 66 65 65 64 4c 69 73 74 62 6f 78 22 20 66 6c 65 | richlistbox.id="feedListbox".fle |
8d680 | 78 3d 22 31 22 2f 3e 0a 20 20 20 20 3c 2f 76 62 6f 78 3e 0a 0a 20 20 20 20 3c 21 2d 2d 20 50 65 | x="1"/>.....</vbox>......<!--.Pe |
8d6a0 | 72 6d 69 73 73 69 6f 6e 73 20 2d 2d 3e 0a 20 20 20 20 3c 76 62 6f 78 20 69 64 3d 22 70 65 72 6d | rmissions.-->.....<vbox.id="perm |
8d6c0 | 50 61 6e 65 6c 22 3e 0a 20 20 20 20 20 20 3c 68 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 3c 6c 61 | Panel">.......<hbox>.........<la |
8d6e0 | 62 65 6c 20 76 61 6c 75 65 3d 22 26 70 65 72 6d 69 73 73 69 6f 6e 73 46 6f 72 3b 22 20 63 6f 6e | bel.value="&permissionsFor;".con |
8d700 | 74 72 6f 6c 3d 22 68 6f 73 74 54 65 78 74 22 20 2f 3e 0a 20 20 20 20 20 20 20 20 3c 74 65 78 74 | trol="hostText"./>.........<text |
8d720 | 62 6f 78 20 69 64 3d 22 68 6f 73 74 54 65 78 74 22 20 63 6c 61 73 73 3d 22 68 65 61 64 65 72 22 | box.id="hostText".class="header" |
8d740 | 20 72 65 61 64 6f 6e 6c 79 3d 22 74 72 75 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .readonly="true"................ |
8d760 | 20 20 63 72 6f 70 3d 22 65 6e 64 22 20 66 6c 65 78 3d 22 31 22 2f 3e 0a 20 20 20 20 20 20 3c 2f | ..crop="end".flex="1"/>.......</ |
8d780 | 68 62 6f 78 3e 0a 0a 20 20 20 20 20 20 3c 76 62 6f 78 20 69 64 3d 22 70 65 72 6d 4c 69 73 74 22 | hbox>........<vbox.id="permList" |
8d7a0 | 20 66 6c 65 78 3d 22 31 22 3e 0a 20 20 20 20 20 20 20 20 3c 76 62 6f 78 3e 0a 20 20 20 20 20 20 | .flex="1">.........<vbox>....... |
8d7c0 | 20 20 20 20 3c 6c 61 62 65 6c 20 76 61 6c 75 65 3d 22 26 70 65 72 6d 49 6d 61 67 65 3b 22 20 63 | ....<label.value="&permImage;".c |
8d7e0 | 6f 6e 74 72 6f 6c 3d 22 70 65 72 6d 49 6d 61 67 65 47 72 6f 75 70 20 69 6d 61 67 65 52 61 64 69 | ontrol="permImageGroup.imageRadi |
8d800 | 6f 47 72 6f 75 70 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 68 62 6f 78 20 69 64 3d 22 70 65 | oGroup"/>...........<hbox.id="pe |
8d820 | 72 6d 49 6d 61 67 65 47 72 6f 75 70 22 20 72 6f 6c 65 3d 22 67 72 6f 75 70 22 3e 0a 20 20 20 20 | rmImageGroup".role="group">..... |
8d840 | 20 20 20 20 20 20 20 20 3c 63 68 65 63 6b 62 6f 78 20 69 64 3d 22 69 6d 61 67 65 44 65 66 22 20 | ........<checkbox.id="imageDef". |
8d860 | 63 6f 6d 6d 61 6e 64 3d 22 63 6d 64 5f 69 6d 61 67 65 44 65 66 22 20 6c 61 62 65 6c 3d 22 26 70 | command="cmd_imageDef".label="&p |
8d880 | 65 72 6d 55 73 65 44 65 66 61 75 6c 74 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 73 | ermUseDefault;"/>.............<s |
8d8a0 | 70 61 63 65 72 20 66 6c 65 78 3d 22 31 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 72 61 | pacer.flex="1"/>.............<ra |
8d8c0 | 64 69 6f 67 72 6f 75 70 20 69 64 3d 22 69 6d 61 67 65 52 61 64 69 6f 47 72 6f 75 70 22 20 6f 72 | diogroup.id="imageRadioGroup".or |
8d8e0 | 69 65 6e 74 3d 22 68 6f 72 69 7a 6f 6e 74 61 6c 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ient="horizontal">.............. |
8d900 | 20 3c 72 61 64 69 6f 20 69 64 3d 22 69 6d 61 67 65 23 31 22 20 63 6f 6d 6d 61 6e 64 3d 22 63 6d | .<radio.id="image#1".command="cm |
8d920 | 64 5f 69 6d 61 67 65 54 6f 67 67 6c 65 22 20 6c 61 62 65 6c 3d 22 26 70 65 72 6d 41 6c 6c 6f 77 | d_imageToggle".label="&permAllow |
8d940 | 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 72 61 64 69 6f 20 69 64 3d 22 69 6d | ;"/>...............<radio.id="im |
8d960 | 61 67 65 23 32 22 20 63 6f 6d 6d 61 6e 64 3d 22 63 6d 64 5f 69 6d 61 67 65 54 6f 67 67 6c 65 22 | age#2".command="cmd_imageToggle" |
8d980 | 20 6c 61 62 65 6c 3d 22 26 70 65 72 6d 42 6c 6f 63 6b 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 | .label="&permBlock;"/>.......... |
8d9a0 | 20 20 20 3c 2f 72 61 64 69 6f 67 72 6f 75 70 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 2f 68 62 6f | ...</radiogroup>...........</hbo |
8d9c0 | 78 3e 0a 20 20 20 20 20 20 20 20 3c 2f 76 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 3c 76 62 6f 78 | x>.........</vbox>.........<vbox |
8d9e0 | 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 6c 61 62 65 6c 20 76 61 6c 75 65 3d 22 26 70 65 72 6d 50 | >...........<label.value="&permP |
8da00 | 6f 70 75 70 3b 22 20 63 6f 6e 74 72 6f 6c 3d 22 70 65 72 6d 50 6f 70 75 70 47 72 6f 75 70 20 70 | opup;".control="permPopupGroup.p |
8da20 | 6f 70 75 70 52 61 64 69 6f 47 72 6f 75 70 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 68 62 6f | opupRadioGroup"/>...........<hbo |
8da40 | 78 20 69 64 3d 22 70 65 72 6d 50 6f 70 75 70 47 72 6f 75 70 22 20 72 6f 6c 65 3d 22 67 72 6f 75 | x.id="permPopupGroup".role="grou |
8da60 | 70 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 63 68 65 63 6b 62 6f 78 20 69 64 3d 22 70 6f | p">.............<checkbox.id="po |
8da80 | 70 75 70 44 65 66 22 20 63 6f 6d 6d 61 6e 64 3d 22 63 6d 64 5f 70 6f 70 75 70 44 65 66 22 20 6c | pupDef".command="cmd_popupDef".l |
8daa0 | 61 62 65 6c 3d 22 26 70 65 72 6d 55 73 65 44 65 66 61 75 6c 74 3b 22 2f 3e 0a 20 20 20 20 20 20 | abel="&permUseDefault;"/>....... |
8dac0 | 20 20 20 20 20 20 3c 73 70 61 63 65 72 20 66 6c 65 78 3d 22 31 22 2f 3e 0a 20 20 20 20 20 20 20 | ......<spacer.flex="1"/>........ |
8dae0 | 20 20 20 20 20 3c 72 61 64 69 6f 67 72 6f 75 70 20 69 64 3d 22 70 6f 70 75 70 52 61 64 69 6f 47 | .....<radiogroup.id="popupRadioG |
8db00 | 72 6f 75 70 22 20 6f 72 69 65 6e 74 3d 22 68 6f 72 69 7a 6f 6e 74 61 6c 22 3e 0a 20 20 20 20 20 | roup".orient="horizontal">...... |
8db20 | 20 20 20 20 20 20 20 20 20 3c 72 61 64 69 6f 20 69 64 3d 22 70 6f 70 75 70 23 31 22 20 63 6f 6d | .........<radio.id="popup#1".com |
8db40 | 6d 61 6e 64 3d 22 63 6d 64 5f 70 6f 70 75 70 54 6f 67 67 6c 65 22 20 6c 61 62 65 6c 3d 22 26 70 | mand="cmd_popupToggle".label="&p |
8db60 | 65 72 6d 41 6c 6c 6f 77 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 72 61 64 69 | ermAllow;"/>...............<radi |
8db80 | 6f 20 69 64 3d 22 70 6f 70 75 70 23 32 22 20 63 6f 6d 6d 61 6e 64 3d 22 63 6d 64 5f 70 6f 70 75 | o.id="popup#2".command="cmd_popu |
8dba0 | 70 54 6f 67 67 6c 65 22 20 6c 61 62 65 6c 3d 22 26 70 65 72 6d 42 6c 6f 63 6b 3b 22 2f 3e 0a 20 | pToggle".label="&permBlock;"/>.. |
8dbc0 | 20 20 20 20 20 20 20 20 20 20 20 3c 2f 72 61 64 69 6f 67 72 6f 75 70 3e 0a 20 20 20 20 20 20 20 | ...........</radiogroup>........ |
8dbe0 | 20 20 20 3c 2f 68 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 3c 2f 76 62 6f 78 3e 0a 20 20 20 20 20 | ...</hbox>.........</vbox>...... |
8dc00 | 20 20 20 3c 76 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 6c 61 62 65 6c 20 76 61 6c 75 65 | ...<vbox>...........<label.value |
8dc20 | 3d 22 26 70 65 72 6d 43 6f 6f 6b 69 65 3b 22 20 63 6f 6e 74 72 6f 6c 3d 22 70 65 72 6d 43 6f 6f | ="&permCookie;".control="permCoo |
8dc40 | 6b 69 65 47 72 6f 75 70 20 63 6f 6f 6b 69 65 52 61 64 69 6f 47 72 6f 75 70 22 2f 3e 0a 20 20 20 | kieGroup.cookieRadioGroup"/>.... |
8dc60 | 20 20 20 20 20 20 20 3c 68 62 6f 78 20 69 64 3d 22 70 65 72 6d 43 6f 6f 6b 69 65 47 72 6f 75 70 | .......<hbox.id="permCookieGroup |
8dc80 | 22 20 72 6f 6c 65 3d 22 67 72 6f 75 70 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 63 68 65 | ".role="group">.............<che |
8dca0 | 63 6b 62 6f 78 20 69 64 3d 22 63 6f 6f 6b 69 65 44 65 66 22 20 63 6f 6d 6d 61 6e 64 3d 22 63 6d | ckbox.id="cookieDef".command="cm |
8dcc0 | 64 5f 63 6f 6f 6b 69 65 44 65 66 22 20 6c 61 62 65 6c 3d 22 26 70 65 72 6d 55 73 65 44 65 66 61 | d_cookieDef".label="&permUseDefa |
8dce0 | 75 6c 74 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 73 70 61 63 65 72 20 66 6c 65 78 | ult;"/>.............<spacer.flex |
8dd00 | 3d 22 31 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 72 61 64 69 6f 67 72 6f 75 70 20 69 | ="1"/>.............<radiogroup.i |
8dd20 | 64 3d 22 63 6f 6f 6b 69 65 52 61 64 69 6f 47 72 6f 75 70 22 20 6f 72 69 65 6e 74 3d 22 68 6f 72 | d="cookieRadioGroup".orient="hor |
8dd40 | 69 7a 6f 6e 74 61 6c 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 72 61 64 69 6f 20 69 | izontal">...............<radio.i |
8dd60 | 64 3d 22 63 6f 6f 6b 69 65 23 31 22 20 63 6f 6d 6d 61 6e 64 3d 22 63 6d 64 5f 63 6f 6f 6b 69 65 | d="cookie#1".command="cmd_cookie |
8dd80 | 54 6f 67 67 6c 65 22 20 6c 61 62 65 6c 3d 22 26 70 65 72 6d 41 6c 6c 6f 77 3b 22 2f 3e 0a 20 20 | Toggle".label="&permAllow;"/>... |
8dda0 | 20 20 20 20 20 20 20 20 20 20 20 20 3c 72 61 64 69 6f 20 69 64 3d 22 63 6f 6f 6b 69 65 23 38 22 | ............<radio.id="cookie#8" |
8ddc0 | 20 63 6f 6d 6d 61 6e 64 3d 22 63 6d 64 5f 63 6f 6f 6b 69 65 54 6f 67 67 6c 65 22 20 6c 61 62 65 | .command="cmd_cookieToggle".labe |
8dde0 | 6c 3d 22 26 70 65 72 6d 41 6c 6c 6f 77 53 65 73 73 69 6f 6e 3b 22 2f 3e 0a 20 20 20 20 20 20 20 | l="&permAllowSession;"/>........ |
8de00 | 20 20 20 20 20 20 20 3c 72 61 64 69 6f 20 69 64 3d 22 63 6f 6f 6b 69 65 23 32 22 20 63 6f 6d 6d | .......<radio.id="cookie#2".comm |
8de20 | 61 6e 64 3d 22 63 6d 64 5f 63 6f 6f 6b 69 65 54 6f 67 67 6c 65 22 20 6c 61 62 65 6c 3d 22 26 70 | and="cmd_cookieToggle".label="&p |
8de40 | 65 72 6d 42 6c 6f 63 6b 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 72 61 64 69 6f | ermBlock;"/>.............</radio |
8de60 | 67 72 6f 75 70 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 2f 68 62 6f 78 3e 0a 20 20 20 20 20 20 20 | group>...........</hbox>........ |
8de80 | 20 3c 2f 76 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 3c 76 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 | .</vbox>.........<vbox>......... |
8dea0 | 20 20 3c 6c 61 62 65 6c 20 76 61 6c 75 65 3d 22 26 70 65 72 6d 49 6e 73 74 61 6c 6c 3b 22 20 63 | ..<label.value="&permInstall;".c |
8dec0 | 6f 6e 74 72 6f 6c 3d 22 70 65 72 6d 49 6e 73 74 61 6c 6c 47 72 6f 75 70 20 69 6e 73 74 61 6c 6c | ontrol="permInstallGroup.install |
8dee0 | 52 61 64 69 6f 47 72 6f 75 70 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 68 62 6f 78 20 69 64 | RadioGroup"/>...........<hbox.id |
8df00 | 3d 22 70 65 72 6d 49 6e 73 74 61 6c 6c 47 72 6f 75 70 22 20 72 6f 6c 65 3d 22 67 72 6f 75 70 22 | ="permInstallGroup".role="group" |
8df20 | 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 63 68 65 63 6b 62 6f 78 20 69 64 3d 22 69 6e 73 74 | >.............<checkbox.id="inst |
8df40 | 61 6c 6c 44 65 66 22 20 63 6f 6d 6d 61 6e 64 3d 22 63 6d 64 5f 69 6e 73 74 61 6c 6c 44 65 66 22 | allDef".command="cmd_installDef" |
8df60 | 20 6c 61 62 65 6c 3d 22 26 70 65 72 6d 55 73 65 44 65 66 61 75 6c 74 3b 22 2f 3e 0a 20 20 20 20 | .label="&permUseDefault;"/>..... |
8df80 | 20 20 20 20 20 20 20 20 3c 73 70 61 63 65 72 20 66 6c 65 78 3d 22 31 22 2f 3e 0a 20 20 20 20 20 | ........<spacer.flex="1"/>...... |
8dfa0 | 20 20 20 20 20 20 20 3c 72 61 64 69 6f 67 72 6f 75 70 20 69 64 3d 22 69 6e 73 74 61 6c 6c 52 61 | .......<radiogroup.id="installRa |
8dfc0 | 64 69 6f 47 72 6f 75 70 22 20 6f 72 69 65 6e 74 3d 22 68 6f 72 69 7a 6f 6e 74 61 6c 22 3e 0a 20 | dioGroup".orient="horizontal">.. |
8dfe0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 72 61 64 69 6f 20 69 64 3d 22 69 6e 73 74 61 6c 6c 23 | .............<radio.id="install# |
8e000 | 31 22 20 63 6f 6d 6d 61 6e 64 3d 22 63 6d 64 5f 69 6e 73 74 61 6c 6c 54 6f 67 67 6c 65 22 20 6c | 1".command="cmd_installToggle".l |
8e020 | 61 62 65 6c 3d 22 26 70 65 72 6d 41 6c 6c 6f 77 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 | abel="&permAllow;"/>............ |
8e040 | 20 20 20 3c 72 61 64 69 6f 20 69 64 3d 22 69 6e 73 74 61 6c 6c 23 32 22 20 63 6f 6d 6d 61 6e 64 | ...<radio.id="install#2".command |
8e060 | 3d 22 63 6d 64 5f 69 6e 73 74 61 6c 6c 54 6f 67 67 6c 65 22 20 6c 61 62 65 6c 3d 22 26 70 65 72 | ="cmd_installToggle".label="&per |
8e080 | 6d 42 6c 6f 63 6b 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 72 61 64 69 6f 67 72 | mBlock;"/>.............</radiogr |
8e0a0 | 6f 75 70 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 2f 68 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 3c | oup>...........</hbox>.........< |
8e0c0 | 2f 76 62 6f 78 3e 0a 0a 20 20 20 20 20 20 20 20 3c 76 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 20 | /vbox>..........<vbox>.......... |
8e0e0 | 20 3c 6c 61 62 65 6c 20 76 61 6c 75 65 3d 22 26 70 65 72 6d 47 65 6f 3b 22 20 63 6f 6e 74 72 6f | .<label.value="&permGeo;".contro |
8e100 | 6c 3d 22 70 65 72 6d 47 65 6f 47 72 6f 75 70 20 67 65 6f 52 61 64 69 6f 47 72 6f 75 70 22 2f 3e | l="permGeoGroup.geoRadioGroup"/> |
8e120 | 0a 20 20 20 20 20 20 20 20 20 20 3c 68 62 6f 78 20 69 64 3d 22 70 65 72 6d 47 65 6f 47 72 6f 75 | ...........<hbox.id="permGeoGrou |
8e140 | 70 22 20 72 6f 6c 65 3d 22 67 72 6f 75 70 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 63 68 | p".role="group">.............<ch |
8e160 | 65 63 6b 62 6f 78 20 69 64 3d 22 67 65 6f 44 65 66 22 20 63 6f 6d 6d 61 6e 64 3d 22 63 6d 64 5f | eckbox.id="geoDef".command="cmd_ |
8e180 | 67 65 6f 44 65 66 22 20 6c 61 62 65 6c 3d 22 26 70 65 72 6d 41 73 6b 41 6c 77 61 79 73 3b 22 2f | geoDef".label="&permAskAlways;"/ |
8e1a0 | 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 73 70 61 63 65 72 20 66 6c 65 78 3d 22 31 22 2f 3e | >.............<spacer.flex="1"/> |
8e1c0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 72 61 64 69 6f 67 72 6f 75 70 20 69 64 3d 22 67 65 6f | .............<radiogroup.id="geo |
8e1e0 | 52 61 64 69 6f 47 72 6f 75 70 22 20 6f 72 69 65 6e 74 3d 22 68 6f 72 69 7a 6f 6e 74 61 6c 22 3e | RadioGroup".orient="horizontal"> |
8e200 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 72 61 64 69 6f 20 69 64 3d 22 67 65 6f 23 31 22 | ...............<radio.id="geo#1" |
8e220 | 20 63 6f 6d 6d 61 6e 64 3d 22 63 6d 64 5f 67 65 6f 54 6f 67 67 6c 65 22 20 6c 61 62 65 6c 3d 22 | .command="cmd_geoToggle".label=" |
8e240 | 26 70 65 72 6d 41 6c 6c 6f 77 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 72 61 | &permAllow;"/>...............<ra |
8e260 | 64 69 6f 20 69 64 3d 22 67 65 6f 23 32 22 20 63 6f 6d 6d 61 6e 64 3d 22 63 6d 64 5f 67 65 6f 54 | dio.id="geo#2".command="cmd_geoT |
8e280 | 6f 67 67 6c 65 22 20 6c 61 62 65 6c 3d 22 26 70 65 72 6d 42 6c 6f 63 6b 3b 22 2f 3e 0a 20 20 20 | oggle".label="&permBlock;"/>.... |
8e2a0 | 20 20 20 20 20 20 20 20 20 3c 2f 72 61 64 69 6f 67 72 6f 75 70 3e 0a 20 20 20 20 20 20 20 20 20 | .........</radiogroup>.......... |
8e2c0 | 20 3c 2f 68 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 3c 2f 76 62 6f 78 3e 0a 20 20 20 20 20 20 3c | .</hbox>.........</vbox>.......< |
8e2e0 | 2f 76 62 6f 78 3e 0a 20 20 20 20 3c 2f 76 62 6f 78 3e 0a 0a 20 20 20 20 3c 21 2d 2d 20 53 65 63 | /vbox>.....</vbox>......<!--.Sec |
8e300 | 75 72 69 74 79 20 26 20 50 72 69 76 61 63 79 20 2d 2d 3e 0a 20 20 20 20 3c 76 62 6f 78 20 69 64 | urity.&.Privacy.-->.....<vbox.id |
8e320 | 3d 22 73 65 63 75 72 69 74 79 50 61 6e 65 6c 22 3e 0a 20 20 20 20 20 20 3c 21 2d 2d 20 49 64 65 | ="securityPanel">.......<!--.Ide |
8e340 | 6e 74 69 74 79 20 53 65 63 74 69 6f 6e 20 2d 2d 3e 0a 20 20 20 20 20 20 3c 67 72 6f 75 70 62 6f | ntity.Section.-->.......<groupbo |
8e360 | 78 20 69 64 3d 22 73 65 63 75 72 69 74 79 2d 69 64 65 6e 74 69 74 79 2d 67 72 6f 75 70 62 6f 78 | x.id="security-identity-groupbox |
8e380 | 22 20 66 6c 65 78 3d 22 31 22 3e 0a 20 20 20 20 20 20 20 20 3c 63 61 70 74 69 6f 6e 20 69 64 3d | ".flex="1">.........<caption.id= |
8e3a0 | 22 73 65 63 75 72 69 74 79 2d 69 64 65 6e 74 69 74 79 22 20 6c 61 62 65 6c 3d 22 26 73 65 63 75 | "security-identity".label="&secu |
8e3c0 | 72 69 74 79 56 69 65 77 2e 69 64 65 6e 74 69 74 79 2e 68 65 61 64 65 72 3b 22 2f 3e 0a 20 20 20 | rityView.identity.header;"/>.... |
8e3e0 | 20 20 20 20 20 3c 67 72 69 64 20 66 6c 65 78 3d 22 31 22 3e 0a 20 20 20 20 20 20 20 20 20 20 3c | .....<grid.flex="1">...........< |
8e400 | 63 6f 6c 75 6d 6e 73 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 63 6f 6c 75 6d 6e 2f 3e 0a 20 | columns>.............<column/>.. |
8e420 | 20 20 20 20 20 20 20 20 20 20 20 3c 63 6f 6c 75 6d 6e 20 66 6c 65 78 3d 22 31 22 2f 3e 0a 20 20 | ...........<column.flex="1"/>... |
8e440 | 20 20 20 20 20 20 20 20 3c 2f 63 6f 6c 75 6d 6e 73 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 72 6f | ........</columns>...........<ro |
8e460 | 77 73 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 72 6f 77 3e 3c 21 2d 2d 20 44 6f 6d 61 69 6e | ws>.............<row><!--.Domain |
8e480 | 20 2d 2d 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 61 62 65 6c 20 69 64 3d 22 73 65 | .-->...............<label.id="se |
8e4a0 | 63 75 72 69 74 79 2d 69 64 65 6e 74 69 74 79 2d 64 6f 6d 61 69 6e 2d 6c 61 62 65 6c 22 0a 20 20 | curity-identity-domain-label"... |
8e4c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6c 61 73 73 3d 22 66 69 65 6c 64 4c | ...................class="fieldL |
8e4e0 | 61 62 65 6c 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 6c 75 65 | abel"......................value |
8e500 | 3d 22 26 73 65 63 75 72 69 74 79 56 69 65 77 2e 69 64 65 6e 74 69 74 79 2e 64 6f 6d 61 69 6e 3b | ="&securityView.identity.domain; |
8e520 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6e 74 72 6f 6c 3d 22 | "......................control=" |
8e540 | 73 65 63 75 72 69 74 79 2d 69 64 65 6e 74 69 74 79 2d 64 6f 6d 61 69 6e 2d 76 61 6c 75 65 22 2f | security-identity-domain-value"/ |
8e560 | 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 74 65 78 74 62 6f 78 20 69 64 3d 22 73 65 63 | >...............<textbox.id="sec |
8e580 | 75 72 69 74 79 2d 69 64 65 6e 74 69 74 79 2d 64 6f 6d 61 69 6e 2d 76 61 6c 75 65 22 0a 20 20 20 | urity-identity-domain-value".... |
8e5a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6c 61 73 73 3d 22 66 69 65 6c 64 | ....................class="field |
8e5c0 | 56 61 6c 75 65 22 20 72 65 61 64 6f 6e 6c 79 3d 22 74 72 75 65 22 2f 3e 0a 20 20 20 20 20 20 20 | Value".readonly="true"/>........ |
8e5e0 | 20 20 20 20 20 3c 2f 72 6f 77 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 72 6f 77 3e 3c 21 2d | .....</row>.............<row><!- |
8e600 | 2d 20 4f 77 6e 65 72 20 2d 2d 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 61 62 65 6c | -.Owner.-->...............<label |
8e620 | 20 69 64 3d 22 73 65 63 75 72 69 74 79 2d 69 64 65 6e 74 69 74 79 2d 6f 77 6e 65 72 2d 6c 61 62 | .id="security-identity-owner-lab |
8e640 | 65 6c 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6c 61 73 73 3d 22 | el"......................class=" |
8e660 | 66 69 65 6c 64 4c 61 62 65 6c 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | fieldLabel"..................... |
8e680 | 20 76 61 6c 75 65 3d 22 26 73 65 63 75 72 69 74 79 56 69 65 77 2e 69 64 65 6e 74 69 74 79 2e 6f | .value="&securityView.identity.o |
8e6a0 | 77 6e 65 72 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6e 74 | wner;"......................cont |
8e6c0 | 72 6f 6c 3d 22 73 65 63 75 72 69 74 79 2d 69 64 65 6e 74 69 74 79 2d 6f 77 6e 65 72 2d 76 61 6c | rol="security-identity-owner-val |
8e6e0 | 75 65 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 74 65 78 74 62 6f 78 20 69 64 3d | ue"/>...............<textbox.id= |
8e700 | 22 73 65 63 75 72 69 74 79 2d 69 64 65 6e 74 69 74 79 2d 6f 77 6e 65 72 2d 76 61 6c 75 65 22 0a | "security-identity-owner-value". |
8e720 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6c 61 73 73 3d 22 66 69 | .......................class="fi |
8e740 | 65 6c 64 56 61 6c 75 65 22 20 72 65 61 64 6f 6e 6c 79 3d 22 74 72 75 65 22 2f 3e 0a 20 20 20 20 | eldValue".readonly="true"/>..... |
8e760 | 20 20 20 20 20 20 20 20 3c 2f 72 6f 77 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 72 6f 77 3e | ........</row>.............<row> |
8e780 | 3c 21 2d 2d 20 56 65 72 69 66 69 65 72 20 2d 2d 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | <!--.Verifier.-->............... |
8e7a0 | 3c 6c 61 62 65 6c 20 69 64 3d 22 73 65 63 75 72 69 74 79 2d 69 64 65 6e 74 69 74 79 2d 76 65 72 | <label.id="security-identity-ver |
8e7c0 | 69 66 69 65 72 2d 6c 61 62 65 6c 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ifier-label".................... |
8e7e0 | 20 20 63 6c 61 73 73 3d 22 66 69 65 6c 64 4c 61 62 65 6c 22 0a 20 20 20 20 20 20 20 20 20 20 20 | ..class="fieldLabel"............ |
8e800 | 20 20 20 20 20 20 20 20 20 20 76 61 6c 75 65 3d 22 26 73 65 63 75 72 69 74 79 56 69 65 77 2e 69 | ..........value="&securityView.i |
8e820 | 64 65 6e 74 69 74 79 2e 76 65 72 69 66 69 65 72 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | dentity.verifier;".............. |
8e840 | 20 20 20 20 20 20 20 20 63 6f 6e 74 72 6f 6c 3d 22 73 65 63 75 72 69 74 79 2d 69 64 65 6e 74 69 | ........control="security-identi |
8e860 | 74 79 2d 76 65 72 69 66 69 65 72 2d 76 61 6c 75 65 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 | ty-verifier-value"/>............ |
8e880 | 20 20 20 3c 74 65 78 74 62 6f 78 20 69 64 3d 22 73 65 63 75 72 69 74 79 2d 69 64 65 6e 74 69 74 | ...<textbox.id="security-identit |
8e8a0 | 79 2d 76 65 72 69 66 69 65 72 2d 76 61 6c 75 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | y-verifier-value"............... |
8e8c0 | 20 20 20 20 20 20 20 20 20 63 6c 61 73 73 3d 22 66 69 65 6c 64 56 61 6c 75 65 22 20 72 65 61 64 | .........class="fieldValue".read |
8e8e0 | 6f 6e 6c 79 3d 22 74 72 75 65 22 20 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 72 6f 77 | only="true"./>.............</row |
8e900 | 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 2f 72 6f 77 73 3e 0a 20 20 20 20 20 20 20 20 3c 2f 67 72 | >...........</rows>.........</gr |
8e920 | 69 64 3e 0a 20 20 20 20 20 20 20 20 3c 73 70 61 63 65 72 20 66 6c 65 78 3d 22 31 22 2f 3e 0a 20 | id>.........<spacer.flex="1"/>.. |
8e940 | 20 20 20 20 20 20 20 3c 68 62 6f 78 20 70 61 63 6b 3d 22 65 6e 64 22 3e 3c 21 2d 2d 20 43 65 72 | .......<hbox.pack="end"><!--.Cer |
8e960 | 74 20 62 75 74 74 6f 6e 20 2d 2d 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 62 75 74 74 6f 6e 20 69 | t.button.-->...........<button.i |
8e980 | 64 3d 22 73 65 63 75 72 69 74 79 2d 76 69 65 77 2d 63 65 72 74 22 20 6c 61 62 65 6c 3d 22 26 73 | d="security-view-cert".label="&s |
8e9a0 | 65 63 75 72 69 74 79 56 69 65 77 2e 63 65 72 74 56 69 65 77 3b 22 0a 20 20 20 20 20 20 20 20 20 | ecurityView.certView;".......... |
8e9c0 | 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 73 65 63 75 72 69 74 79 56 69 65 | .........accesskey="&securityVie |
8e9e0 | 77 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | w.accesskey;"................... |
8ea00 | 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 73 65 63 75 72 69 74 79 2e 76 69 65 77 43 65 72 74 28 29 3b 22 | oncommand="security.viewCert();" |
8ea20 | 2f 3e 0a 20 20 20 20 20 20 20 20 3c 2f 68 62 6f 78 3e 0a 20 20 20 20 20 20 3c 2f 67 72 6f 75 70 | />.........</hbox>.......</group |
8ea40 | 62 6f 78 3e 0a 20 20 20 20 20 20 0a 20 20 20 20 20 20 3c 21 2d 2d 20 50 72 69 76 61 63 79 20 26 | box>..............<!--.Privacy.& |
8ea60 | 20 48 69 73 74 6f 72 79 20 73 65 63 74 69 6f 6e 20 2d 2d 3e 0a 20 20 20 20 20 20 3c 67 72 6f 75 | .History.section.-->.......<grou |
8ea80 | 70 62 6f 78 20 69 64 3d 22 73 65 63 75 72 69 74 79 2d 70 72 69 76 61 63 79 2d 67 72 6f 75 70 62 | pbox.id="security-privacy-groupb |
8eaa0 | 6f 78 22 20 66 6c 65 78 3d 22 31 22 3e 0a 20 20 20 20 20 20 20 20 3c 63 61 70 74 69 6f 6e 20 69 | ox".flex="1">.........<caption.i |
8eac0 | 64 3d 22 73 65 63 75 72 69 74 79 2d 70 72 69 76 61 63 79 22 20 6c 61 62 65 6c 3d 22 26 73 65 63 | d="security-privacy".label="&sec |
8eae0 | 75 72 69 74 79 56 69 65 77 2e 70 72 69 76 61 63 79 2e 68 65 61 64 65 72 3b 22 20 2f 3e 0a 20 20 | urityView.privacy.header;"./>... |
8eb00 | 20 20 20 20 20 20 3c 67 72 69 64 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 63 6f 6c 75 6d 6e 73 3e | ......<grid>...........<columns> |
8eb20 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 63 6f 6c 75 6d 6e 20 66 6c 65 78 3d 22 31 22 2f 3e 0a | .............<column.flex="1"/>. |
8eb40 | 20 20 20 20 20 20 20 20 20 20 20 20 3c 63 6f 6c 75 6d 6e 20 66 6c 65 78 3d 22 31 22 2f 3e 0a 20 | ............<column.flex="1"/>.. |
8eb60 | 20 20 20 20 20 20 20 20 20 3c 2f 63 6f 6c 75 6d 6e 73 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 72 | .........</columns>...........<r |
8eb80 | 6f 77 73 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 72 6f 77 3e 3c 21 2d 2d 20 48 69 73 74 6f | ows>.............<row><!--.Histo |
8eba0 | 72 79 20 2d 2d 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 61 62 65 6c 20 69 64 3d 22 | ry.-->...............<label.id=" |
8ebc0 | 73 65 63 75 72 69 74 79 2d 70 72 69 76 61 63 79 2d 68 69 73 74 6f 72 79 2d 6c 61 62 65 6c 22 0a | security-privacy-history-label". |
8ebe0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6e 74 72 | ...........................contr |
8ec00 | 6f 6c 3d 22 73 65 63 75 72 69 74 79 2d 70 72 69 76 61 63 79 2d 68 69 73 74 6f 72 79 2d 76 61 6c | ol="security-privacy-history-val |
8ec20 | 75 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 | ue"............................c |
8ec40 | 6c 61 73 73 3d 22 66 69 65 6c 64 4c 61 62 65 6c 22 3e 26 73 65 63 75 72 69 74 79 56 69 65 77 2e | lass="fieldLabel">&securityView. |
8ec60 | 70 72 69 76 61 63 79 2e 68 69 73 74 6f 72 79 3b 3c 2f 6c 61 62 65 6c 3e 0a 20 20 20 20 20 20 20 | privacy.history;</label>........ |
8ec80 | 20 20 20 20 20 20 20 3c 74 65 78 74 62 6f 78 20 69 64 3d 22 73 65 63 75 72 69 74 79 2d 70 72 69 | .......<textbox.id="security-pri |
8eca0 | 76 61 63 79 2d 68 69 73 74 6f 72 79 2d 76 61 6c 75 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 | vacy-history-value"............. |
8ecc0 | 20 20 20 20 20 20 20 20 20 20 20 63 6c 61 73 73 3d 22 66 69 65 6c 64 56 61 6c 75 65 22 0a 20 20 | ...........class="fieldValue"... |
8ece0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 6c 75 65 3d 22 26 73 65 63 | .....................value="&sec |
8ed00 | 75 72 69 74 79 56 69 65 77 2e 75 6e 6b 6e 6f 77 6e 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 | urityView.unknown;"............. |
8ed20 | 20 20 20 20 20 20 20 20 20 20 20 72 65 61 64 6f 6e 6c 79 3d 22 74 72 75 65 22 2f 3e 0a 20 20 20 | ...........readonly="true"/>.... |
8ed40 | 20 20 20 20 20 20 20 20 20 3c 2f 72 6f 77 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 72 6f 77 | .........</row>.............<row |
8ed60 | 3e 3c 21 2d 2d 20 43 6f 6f 6b 69 65 73 20 2d 2d 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ><!--.Cookies.-->............... |
8ed80 | 3c 6c 61 62 65 6c 20 69 64 3d 22 73 65 63 75 72 69 74 79 2d 70 72 69 76 61 63 79 2d 63 6f 6f 6b | <label.id="security-privacy-cook |
8eda0 | 69 65 73 2d 6c 61 62 65 6c 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ies-label"...................... |
8edc0 | 20 20 20 20 20 20 63 6f 6e 74 72 6f 6c 3d 22 73 65 63 75 72 69 74 79 2d 70 72 69 76 61 63 79 2d | ......control="security-privacy- |
8ede0 | 63 6f 6f 6b 69 65 73 2d 76 61 6c 75 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | cookies-value".................. |
8ee00 | 20 20 20 20 20 20 20 20 20 20 63 6c 61 73 73 3d 22 66 69 65 6c 64 4c 61 62 65 6c 22 3e 26 73 65 | ..........class="fieldLabel">&se |
8ee20 | 63 75 72 69 74 79 56 69 65 77 2e 70 72 69 76 61 63 79 2e 63 6f 6f 6b 69 65 73 3b 3c 2f 6c 61 62 | curityView.privacy.cookies;</lab |
8ee40 | 65 6c 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 68 62 6f 78 20 61 6c 69 67 6e 3d 22 63 | el>...............<hbox.align="c |
8ee60 | 65 6e 74 65 72 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 74 65 78 74 62 6f 78 | enter">.................<textbox |
8ee80 | 20 69 64 3d 22 73 65 63 75 72 69 74 79 2d 70 72 69 76 61 63 79 2d 63 6f 6f 6b 69 65 73 2d 76 61 | .id="security-privacy-cookies-va |
8eea0 | 6c 75 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6c | lue"..........................cl |
8eec0 | 61 73 73 3d 22 66 69 65 6c 64 56 61 6c 75 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ass="fieldValue"................ |
8eee0 | 20 20 20 20 20 20 20 20 20 20 76 61 6c 75 65 3d 22 26 73 65 63 75 72 69 74 79 56 69 65 77 2e 75 | ..........value="&securityView.u |
8ef00 | 6e 6b 6e 6f 77 6e 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | nknown;"........................ |
8ef20 | 20 20 66 6c 65 78 3d 22 31 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ..flex="1"...................... |
8ef40 | 20 20 20 20 72 65 61 64 6f 6e 6c 79 3d 22 74 72 75 65 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 | ....readonly="true"/>........... |
8ef60 | 20 20 20 20 20 20 3c 62 75 74 74 6f 6e 20 69 64 3d 22 73 65 63 75 72 69 74 79 2d 76 69 65 77 2d | ......<button.id="security-view- |
8ef80 | 63 6f 6f 6b 69 65 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | cookies"........................ |
8efa0 | 20 6c 61 62 65 6c 3d 22 26 73 65 63 75 72 69 74 79 56 69 65 77 2e 70 72 69 76 61 63 79 2e 76 69 | .label="&securityView.privacy.vi |
8efc0 | 65 77 43 6f 6f 6b 69 65 73 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ewCookies;"..................... |
8efe0 | 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 73 65 63 75 72 69 74 79 56 69 65 77 2e 70 72 69 | ....accesskey="&securityView.pri |
8f000 | 76 61 63 79 2e 76 69 65 77 43 6f 6f 6b 69 65 73 2e 61 63 63 65 73 73 4b 65 79 3b 22 0a 20 20 20 | vacy.viewCookies.accessKey;".... |
8f020 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 | .....................oncommand=" |
8f040 | 73 65 63 75 72 69 74 79 2e 76 69 65 77 43 6f 6f 6b 69 65 73 28 29 3b 22 2f 3e 0a 20 20 20 20 20 | security.viewCookies();"/>...... |
8f060 | 20 20 20 20 20 20 20 20 20 3c 2f 68 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 72 | .........</hbox>.............</r |
8f080 | 6f 77 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 72 6f 77 3e 3c 21 2d 2d 20 50 61 73 73 77 6f | ow>.............<row><!--.Passwo |
8f0a0 | 72 64 73 20 2d 2d 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 61 62 65 6c 20 69 64 3d | rds.-->...............<label.id= |
8f0c0 | 22 73 65 63 75 72 69 74 79 2d 70 72 69 76 61 63 79 2d 70 61 73 73 77 6f 72 64 73 2d 6c 61 62 65 | "security-privacy-passwords-labe |
8f0e0 | 6c 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 | l".............................c |
8f100 | 6f 6e 74 72 6f 6c 3d 22 73 65 63 75 72 69 74 79 2d 70 72 69 76 61 63 79 2d 70 61 73 73 77 6f 72 | ontrol="security-privacy-passwor |
8f120 | 64 73 2d 76 61 6c 75 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ds-value"....................... |
8f140 | 20 20 20 20 20 20 63 6c 61 73 73 3d 22 66 69 65 6c 64 4c 61 62 65 6c 22 3e 26 73 65 63 75 72 69 | ......class="fieldLabel">&securi |
8f160 | 74 79 56 69 65 77 2e 70 72 69 76 61 63 79 2e 70 61 73 73 77 6f 72 64 73 3b 3c 2f 6c 61 62 65 6c | tyView.privacy.passwords;</label |
8f180 | 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 68 62 6f 78 20 61 6c 69 67 6e 3d 22 63 65 6e | >...............<hbox.align="cen |
8f1a0 | 74 65 72 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 74 65 78 74 62 6f 78 20 69 | ter">.................<textbox.i |
8f1c0 | 64 3d 22 73 65 63 75 72 69 74 79 2d 70 72 69 76 61 63 79 2d 70 61 73 73 77 6f 72 64 73 2d 76 61 | d="security-privacy-passwords-va |
8f1e0 | 6c 75 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6c | lue"..........................cl |
8f200 | 61 73 73 3d 22 66 69 65 6c 64 56 61 6c 75 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ass="fieldValue"................ |
8f220 | 20 20 20 20 20 20 20 20 20 20 76 61 6c 75 65 3d 22 26 73 65 63 75 72 69 74 79 56 69 65 77 2e 75 | ..........value="&securityView.u |
8f240 | 6e 6b 6e 6f 77 6e 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | nknown;"........................ |
8f260 | 20 20 66 6c 65 78 3d 22 31 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ..flex="1"...................... |
8f280 | 20 20 20 20 72 65 61 64 6f 6e 6c 79 3d 22 74 72 75 65 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 | ....readonly="true"/>........... |
8f2a0 | 20 20 20 20 20 20 3c 62 75 74 74 6f 6e 20 69 64 3d 22 73 65 63 75 72 69 74 79 2d 76 69 65 77 2d | ......<button.id="security-view- |
8f2c0 | 70 61 73 73 77 6f 72 64 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | password"....................... |
8f2e0 | 20 20 6c 61 62 65 6c 3d 22 26 73 65 63 75 72 69 74 79 56 69 65 77 2e 70 72 69 76 61 63 79 2e 76 | ..label="&securityView.privacy.v |
8f300 | 69 65 77 50 61 73 73 77 6f 72 64 73 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | iewPasswords;".................. |
8f320 | 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 73 65 63 75 72 69 74 79 56 69 65 77 2e | .......accesskey="&securityView. |
8f340 | 70 72 69 76 61 63 79 2e 76 69 65 77 50 61 73 73 77 6f 72 64 73 2e 61 63 63 65 73 73 4b 65 79 3b | privacy.viewPasswords.accessKey; |
8f360 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d | ".........................oncomm |
8f380 | 61 6e 64 3d 22 73 65 63 75 72 69 74 79 2e 76 69 65 77 50 61 73 73 77 6f 72 64 73 28 29 3b 22 2f | and="security.viewPasswords();"/ |
8f3a0 | 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 68 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 | >...............</hbox>......... |
8f3c0 | 20 20 20 20 3c 2f 72 6f 77 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 2f 72 6f 77 73 3e 0a 20 20 20 | ....</row>...........</rows>.... |
8f3e0 | 20 20 20 20 20 3c 2f 67 72 69 64 3e 0a 20 20 20 20 20 20 3c 2f 67 72 6f 75 70 62 6f 78 3e 0a 20 | .....</grid>.......</groupbox>.. |
8f400 | 20 20 20 20 20 0a 20 20 20 20 20 20 3c 21 2d 2d 20 54 65 63 68 6e 69 63 61 6c 20 44 65 74 61 69 | ............<!--.Technical.Detai |
8f420 | 6c 73 20 73 65 63 74 69 6f 6e 20 2d 2d 3e 0a 20 20 20 20 20 20 3c 67 72 6f 75 70 62 6f 78 20 69 | ls.section.-->.......<groupbox.i |
8f440 | 64 3d 22 73 65 63 75 72 69 74 79 2d 74 65 63 68 6e 69 63 61 6c 2d 67 72 6f 75 70 62 6f 78 22 20 | d="security-technical-groupbox". |
8f460 | 66 6c 65 78 3d 22 31 22 3e 0a 20 20 20 20 20 20 20 20 3c 63 61 70 74 69 6f 6e 20 69 64 3d 22 73 | flex="1">.........<caption.id="s |
8f480 | 65 63 75 72 69 74 79 2d 74 65 63 68 6e 69 63 61 6c 22 20 6c 61 62 65 6c 3d 22 26 73 65 63 75 72 | ecurity-technical".label="&secur |
8f4a0 | 69 74 79 56 69 65 77 2e 74 65 63 68 6e 69 63 61 6c 2e 68 65 61 64 65 72 3b 22 20 2f 3e 0a 20 20 | ityView.technical.header;"./>... |
8f4c0 | 20 20 20 20 20 20 3c 76 62 6f 78 20 66 6c 65 78 3d 22 31 22 3e 0a 20 20 20 20 20 20 20 20 20 20 | ......<vbox.flex="1">........... |
8f4e0 | 3c 6c 61 62 65 6c 20 69 64 3d 22 73 65 63 75 72 69 74 79 2d 74 65 63 68 6e 69 63 61 6c 2d 73 68 | <label.id="security-technical-sh |
8f500 | 6f 72 74 66 6f 72 6d 22 20 63 6c 61 73 73 3d 22 66 69 65 6c 64 56 61 6c 75 65 22 2f 3e 0a 20 20 | ortform".class="fieldValue"/>... |
8f520 | 20 20 20 20 20 20 20 20 3c 64 65 73 63 72 69 70 74 69 6f 6e 20 69 64 3d 22 73 65 63 75 72 69 74 | ........<description.id="securit |
8f540 | 79 2d 74 65 63 68 6e 69 63 61 6c 2d 6c 6f 6e 67 66 6f 72 6d 31 22 20 63 6c 61 73 73 3d 22 66 69 | y-technical-longform1".class="fi |
8f560 | 65 6c 64 4c 61 62 65 6c 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 64 65 73 63 72 69 70 74 69 | eldLabel"/>...........<descripti |
8f580 | 6f 6e 20 69 64 3d 22 73 65 63 75 72 69 74 79 2d 74 65 63 68 6e 69 63 61 6c 2d 6c 6f 6e 67 66 6f | on.id="security-technical-longfo |
8f5a0 | 72 6d 32 22 20 63 6c 61 73 73 3d 22 66 69 65 6c 64 4c 61 62 65 6c 22 2f 3e 0a 20 20 20 20 20 20 | rm2".class="fieldLabel"/>....... |
8f5c0 | 20 20 3c 2f 76 62 6f 78 3e 0a 20 20 20 20 20 20 3c 2f 67 72 6f 75 70 62 6f 78 3e 0a 20 20 20 20 | ..</vbox>.......</groupbox>..... |
8f5e0 | 3c 2f 76 62 6f 78 3e 0a 20 20 20 20 3c 21 2d 2d 20 4f 74 68 65 72 73 20 61 64 64 65 64 20 62 79 | </vbox>.....<!--.Others.added.by |
8f600 | 20 6f 76 65 72 6c 61 79 20 2d 2d 3e 0a 20 20 3c 2f 64 65 63 6b 3e 0a 0a 0a 3c 2f 77 69 6e 64 6f | .overlay.-->...</deck>...</windo |
8f620 | 77 3e 0a 50 4b 03 04 14 00 00 00 00 00 f2 4b 18 3b 44 27 b6 8a b7 91 00 00 b7 91 00 00 24 00 00 | w>.PK.........K.;D'..........$.. |
8f640 | 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 61 67 65 69 6e 66 6f 2f 70 61 67 65 49 6e | .content/browser/pageinfo/pageIn |
8f660 | 66 6f 2e 6a 73 2f 2f 40 6c 69 6e 65 20 34 32 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c | fo.js//@line.42."/builds/moz2_sl |
8f680 | 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 62 61 | ave/linux_build/build/browser/ba |
8f6a0 | 73 65 2f 63 6f 6e 74 65 6e 74 2f 70 61 67 65 69 6e 66 6f 2f 70 61 67 65 49 6e 66 6f 2e 6a 73 22 | se/content/pageinfo/pageInfo.js" |
8f6c0 | 0a 0a 2f 2f 2a 2a 2a 2a 2a 2a 2a 2a 20 64 65 66 69 6e 65 20 61 20 6a 73 20 6f 62 6a 65 63 74 20 | ..//********.define.a.js.object. |
8f6e0 | 74 6f 20 69 6d 70 6c 65 6d 65 6e 74 20 6e 73 49 54 72 65 65 56 69 65 77 0a 66 75 6e 63 74 69 6f | to.implement.nsITreeView.functio |
8f700 | 6e 20 70 61 67 65 49 6e 66 6f 54 72 65 65 56 69 65 77 28 63 6f 6c 75 6d 6e 69 64 73 2c 20 63 6f | n.pageInfoTreeView(columnids,.co |
8f720 | 70 79 63 6f 6c 29 0a 7b 0a 20 20 2f 2f 20 63 6f 6c 75 6d 6e 69 64 73 20 69 73 20 61 6e 20 61 72 | pycol).{...//.columnids.is.an.ar |
8f740 | 72 61 79 20 6f 66 20 73 74 72 69 6e 67 73 20 69 6e 64 69 63 61 74 69 6e 67 20 74 68 65 20 6e 61 | ray.of.strings.indicating.the.na |
8f760 | 6d 65 73 20 6f 66 20 74 68 65 20 63 6f 6c 75 6d 6e 73 2c 20 69 6e 20 6f 72 64 65 72 0a 20 20 74 | mes.of.the.columns,.in.order...t |
8f780 | 68 69 73 2e 63 6f 6c 75 6d 6e 69 64 73 20 3d 20 63 6f 6c 75 6d 6e 69 64 73 3b 0a 20 20 74 68 69 | his.columnids.=.columnids;...thi |
8f7a0 | 73 2e 63 6f 6c 63 6f 75 6e 74 20 3d 20 63 6f 6c 75 6d 6e 69 64 73 2e 6c 65 6e 67 74 68 3b 0a 0a | s.colcount.=.columnids.length;.. |
8f7c0 | 20 20 2f 2f 20 63 6f 70 79 63 6f 6c 20 69 73 20 74 68 65 20 69 6e 64 65 78 20 6e 75 6d 62 65 72 | ..//.copycol.is.the.index.number |
8f7e0 | 20 66 6f 72 20 74 68 65 20 63 6f 6c 75 6d 6e 20 74 68 61 74 20 77 65 20 77 61 6e 74 20 74 6f 20 | .for.the.column.that.we.want.to. |
8f800 | 61 64 64 20 74 6f 0a 20 20 2f 2f 20 74 68 65 20 63 6f 70 79 2d 6e 2d 70 61 73 74 65 20 62 75 66 | add.to...//.the.copy-n-paste.buf |
8f820 | 66 65 72 20 77 68 65 6e 20 74 68 65 20 75 73 65 72 20 68 69 74 73 20 61 63 63 65 6c 2d 63 0a 20 | fer.when.the.user.hits.accel-c.. |
8f840 | 20 74 68 69 73 2e 63 6f 70 79 63 6f 6c 20 3d 20 63 6f 70 79 63 6f 6c 3b 0a 20 20 74 68 69 73 2e | .this.copycol.=.copycol;...this. |
8f860 | 72 6f 77 73 20 3d 20 30 3b 0a 20 20 74 68 69 73 2e 74 72 65 65 20 3d 20 6e 75 6c 6c 3b 0a 20 20 | rows.=.0;...this.tree.=.null;... |
8f880 | 74 68 69 73 2e 64 61 74 61 20 3d 20 5b 20 5d 3b 0a 20 20 74 68 69 73 2e 73 65 6c 65 63 74 69 6f | this.data.=.[.];...this.selectio |
8f8a0 | 6e 20 3d 20 6e 75 6c 6c 3b 0a 20 20 74 68 69 73 2e 73 6f 72 74 63 6f 6c 20 3d 20 6e 75 6c 6c 3b | n.=.null;...this.sortcol.=.null; |
8f8c0 | 0a 20 20 74 68 69 73 2e 73 6f 72 74 64 69 72 20 3d 20 30 3b 0a 7d 0a 0a 70 61 67 65 49 6e 66 6f | ...this.sortdir.=.0;.}..pageInfo |
8f8e0 | 54 72 65 65 56 69 65 77 2e 70 72 6f 74 6f 74 79 70 65 20 3d 20 7b 0a 20 20 73 65 74 20 72 6f 77 | TreeView.prototype.=.{...set.row |
8f900 | 43 6f 75 6e 74 28 63 29 20 7b 20 74 68 72 6f 77 20 22 72 6f 77 43 6f 75 6e 74 20 69 73 20 61 20 | Count(c).{.throw."rowCount.is.a. |
8f920 | 72 65 61 64 6f 6e 6c 79 20 70 72 6f 70 65 72 74 79 22 3b 20 7d 2c 0a 20 20 67 65 74 20 72 6f 77 | readonly.property";.},...get.row |
8f940 | 43 6f 75 6e 74 28 29 20 7b 20 72 65 74 75 72 6e 20 74 68 69 73 2e 72 6f 77 73 3b 20 7d 2c 0a 0a | Count().{.return.this.rows;.},.. |
8f960 | 20 20 73 65 74 54 72 65 65 3a 20 66 75 6e 63 74 69 6f 6e 28 74 72 65 65 29 0a 20 20 7b 0a 20 20 | ..setTree:.function(tree)...{... |
8f980 | 20 20 74 68 69 73 2e 74 72 65 65 20 3d 20 74 72 65 65 3b 0a 20 20 7d 2c 0a 0a 20 20 67 65 74 43 | ..this.tree.=.tree;...},....getC |
8f9a0 | 65 6c 6c 54 65 78 74 3a 20 66 75 6e 63 74 69 6f 6e 28 72 6f 77 2c 20 63 6f 6c 75 6d 6e 29 0a 20 | ellText:.function(row,.column).. |
8f9c0 | 20 7b 0a 20 20 20 20 2f 2f 20 72 6f 77 20 63 61 6e 20 62 65 20 6e 75 6c 6c 2c 20 62 75 74 20 6a | .{.....//.row.can.be.null,.but.j |
8f9e0 | 73 20 61 72 72 61 79 73 20 61 72 65 20 30 2d 69 6e 64 65 78 65 64 2e 0a 20 20 20 20 2f 2f 20 63 | s.arrays.are.0-indexed......//.c |
8fa00 | 6f 6c 69 64 78 20 63 61 6e 6e 6f 74 20 62 65 20 6e 75 6c 6c 2c 20 62 75 74 20 63 61 6e 20 62 65 | olidx.cannot.be.null,.but.can.be |
8fa20 | 20 6c 61 72 67 65 72 20 74 68 61 6e 20 74 68 65 20 6e 75 6d 62 65 72 0a 20 20 20 20 2f 2f 20 6f | .larger.than.the.number.....//.o |
8fa40 | 66 20 63 6f 6c 75 6d 6e 73 20 69 6e 20 74 68 65 20 61 72 72 61 79 20 28 77 68 65 6e 20 63 6f 6c | f.columns.in.the.array.(when.col |
8fa60 | 75 6d 6e 20 69 73 20 61 20 73 74 72 69 6e 67 20 6e 6f 74 20 69 6e 0a 20 20 20 20 2f 2f 20 74 68 | umn.is.a.string.not.in.....//.th |
8fa80 | 69 73 2e 63 6f 6c 75 6d 6e 69 64 73 2e 29 20 49 6e 20 74 68 69 73 20 63 61 73 65 20 69 74 27 73 | is.columnids.).In.this.case.it's |
8faa0 | 20 74 68 65 20 66 61 75 6c 74 20 6f 66 0a 20 20 20 20 2f 2f 20 77 68 6f 65 76 65 72 20 74 79 70 | .the.fault.of.....//.whoever.typ |
8fac0 | 6f 65 64 20 77 68 69 6c 65 20 63 61 6c 6c 69 6e 67 20 74 68 69 73 20 66 75 6e 63 74 69 6f 6e 2e | oed.while.calling.this.function. |
8fae0 | 0a 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 64 61 74 61 5b 72 6f 77 5d 5b 63 6f 6c 75 6d | .....return.this.data[row][colum |
8fb00 | 6e 2e 69 6e 64 65 78 5d 20 7c 7c 20 22 22 3b 0a 20 20 7d 2c 0a 0a 20 20 73 65 74 43 65 6c 6c 56 | n.index].||."";...},....setCellV |
8fb20 | 61 6c 75 65 3a 20 66 75 6e 63 74 69 6f 6e 28 72 6f 77 2c 20 63 6f 6c 75 6d 6e 2c 20 76 61 6c 75 | alue:.function(row,.column,.valu |
8fb40 | 65 29 0a 20 20 7b 0a 20 20 7d 2c 0a 0a 20 20 73 65 74 43 65 6c 6c 54 65 78 74 3a 20 66 75 6e 63 | e)...{...},....setCellText:.func |
8fb60 | 74 69 6f 6e 28 72 6f 77 2c 20 63 6f 6c 75 6d 6e 2c 20 76 61 6c 75 65 29 0a 20 20 7b 0a 20 20 20 | tion(row,.column,.value)...{.... |
8fb80 | 20 74 68 69 73 2e 64 61 74 61 5b 72 6f 77 5d 5b 63 6f 6c 75 6d 6e 2e 69 6e 64 65 78 5d 20 3d 20 | .this.data[row][column.index].=. |
8fba0 | 76 61 6c 75 65 3b 0a 20 20 7d 2c 0a 0a 20 20 61 64 64 52 6f 77 3a 20 66 75 6e 63 74 69 6f 6e 28 | value;...},....addRow:.function( |
8fbc0 | 72 6f 77 29 0a 20 20 7b 0a 20 20 20 20 74 68 69 73 2e 72 6f 77 73 20 3d 20 74 68 69 73 2e 64 61 | row)...{.....this.rows.=.this.da |
8fbe0 | 74 61 2e 70 75 73 68 28 72 6f 77 29 3b 0a 20 20 20 20 74 68 69 73 2e 72 6f 77 43 6f 75 6e 74 43 | ta.push(row);.....this.rowCountC |
8fc00 | 68 61 6e 67 65 64 28 74 68 69 73 2e 72 6f 77 73 20 2d 20 31 2c 20 31 29 3b 0a 20 20 7d 2c 0a 0a | hanged(this.rows.-.1,.1);...},.. |
8fc20 | 20 20 72 6f 77 43 6f 75 6e 74 43 68 61 6e 67 65 64 3a 20 66 75 6e 63 74 69 6f 6e 28 69 6e 64 65 | ..rowCountChanged:.function(inde |
8fc40 | 78 2c 20 63 6f 75 6e 74 29 0a 20 20 7b 0a 20 20 20 20 74 68 69 73 2e 74 72 65 65 2e 72 6f 77 43 | x,.count)...{.....this.tree.rowC |
8fc60 | 6f 75 6e 74 43 68 61 6e 67 65 64 28 69 6e 64 65 78 2c 20 63 6f 75 6e 74 29 3b 0a 20 20 7d 2c 0a | ountChanged(index,.count);...},. |
8fc80 | 0a 20 20 69 6e 76 61 6c 69 64 61 74 65 3a 20 66 75 6e 63 74 69 6f 6e 28 29 0a 20 20 7b 0a 20 20 | ...invalidate:.function()...{... |
8fca0 | 20 20 74 68 69 73 2e 74 72 65 65 2e 69 6e 76 61 6c 69 64 61 74 65 28 29 3b 0a 20 20 7d 2c 0a 0a | ..this.tree.invalidate();...},.. |
8fcc0 | 20 20 63 6c 65 61 72 3a 20 66 75 6e 63 74 69 6f 6e 28 29 0a 20 20 7b 0a 20 20 20 20 69 66 20 28 | ..clear:.function()...{.....if.( |
8fce0 | 74 68 69 73 2e 74 72 65 65 29 0a 20 20 20 20 20 20 74 68 69 73 2e 74 72 65 65 2e 72 6f 77 43 6f | this.tree).......this.tree.rowCo |
8fd00 | 75 6e 74 43 68 61 6e 67 65 64 28 30 2c 20 2d 74 68 69 73 2e 72 6f 77 73 29 3b 0a 20 20 20 20 74 | untChanged(0,.-this.rows);.....t |
8fd20 | 68 69 73 2e 72 6f 77 73 20 3d 20 30 3b 0a 20 20 20 20 74 68 69 73 2e 64 61 74 61 20 3d 20 5b 20 | his.rows.=.0;.....this.data.=.[. |
8fd40 | 5d 3b 0a 20 20 7d 2c 0a 0a 20 20 68 61 6e 64 6c 65 43 6f 70 79 3a 20 66 75 6e 63 74 69 6f 6e 28 | ];...},....handleCopy:.function( |
8fd60 | 72 6f 77 29 0a 20 20 7b 0a 20 20 20 20 72 65 74 75 72 6e 20 28 72 6f 77 20 3c 20 30 20 7c 7c 20 | row)...{.....return.(row.<.0.||. |
8fd80 | 74 68 69 73 2e 63 6f 70 79 63 6f 6c 20 3c 20 30 29 20 3f 20 22 22 20 3a 20 28 74 68 69 73 2e 64 | this.copycol.<.0).?."".:.(this.d |
8fda0 | 61 74 61 5b 72 6f 77 5d 5b 74 68 69 73 2e 63 6f 70 79 63 6f 6c 5d 20 7c 7c 20 22 22 29 3b 0a 20 | ata[row][this.copycol].||."");.. |
8fdc0 | 20 7d 2c 0a 0a 20 20 70 65 72 66 6f 72 6d 41 63 74 69 6f 6e 4f 6e 52 6f 77 3a 20 66 75 6e 63 74 | .},....performActionOnRow:.funct |
8fde0 | 69 6f 6e 28 61 63 74 69 6f 6e 2c 20 72 6f 77 29 0a 20 20 7b 0a 20 20 20 20 69 66 20 28 61 63 74 | ion(action,.row)...{.....if.(act |
8fe00 | 69 6f 6e 20 3d 3d 20 22 63 6f 70 79 22 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 64 61 74 61 20 | ion.==."copy").{.......var.data. |
8fe20 | 3d 20 74 68 69 73 2e 68 61 6e 64 6c 65 43 6f 70 79 28 72 6f 77 29 0a 20 20 20 20 20 20 74 68 69 | =.this.handleCopy(row).......thi |
8fe40 | 73 2e 74 72 65 65 2e 74 72 65 65 42 6f 64 79 2e 70 61 72 65 6e 74 4e 6f 64 65 2e 73 65 74 41 74 | s.tree.treeBody.parentNode.setAt |
8fe60 | 74 72 69 62 75 74 65 28 22 63 6f 70 79 62 75 66 66 65 72 22 2c 20 64 61 74 61 29 3b 0a 20 20 20 | tribute("copybuffer",.data);.... |
8fe80 | 20 7d 0a 20 20 7d 2c 0a 0a 20 20 67 65 74 52 6f 77 50 72 6f 70 65 72 74 69 65 73 3a 20 66 75 6e | .}...},....getRowProperties:.fun |
8fea0 | 63 74 69 6f 6e 28 72 6f 77 2c 20 70 72 6f 70 29 20 7b 20 7d 2c 0a 20 20 67 65 74 43 65 6c 6c 50 | ction(row,.prop).{.},...getCellP |
8fec0 | 72 6f 70 65 72 74 69 65 73 3a 20 66 75 6e 63 74 69 6f 6e 28 72 6f 77 2c 20 63 6f 6c 75 6d 6e 2c | roperties:.function(row,.column, |
8fee0 | 20 70 72 6f 70 29 20 7b 20 7d 2c 0a 20 20 67 65 74 43 6f 6c 75 6d 6e 50 72 6f 70 65 72 74 69 65 | .prop).{.},...getColumnPropertie |
8ff00 | 73 3a 20 66 75 6e 63 74 69 6f 6e 28 63 6f 6c 75 6d 6e 2c 20 70 72 6f 70 29 20 7b 20 7d 2c 0a 20 | s:.function(column,.prop).{.},.. |
8ff20 | 20 69 73 43 6f 6e 74 61 69 6e 65 72 3a 20 66 75 6e 63 74 69 6f 6e 28 69 6e 64 65 78 29 20 7b 20 | .isContainer:.function(index).{. |
8ff40 | 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 20 7d 2c 0a 20 20 69 73 43 6f 6e 74 61 69 6e 65 72 4f 70 | return.false;.},...isContainerOp |
8ff60 | 65 6e 3a 20 66 75 6e 63 74 69 6f 6e 28 69 6e 64 65 78 29 20 7b 20 72 65 74 75 72 6e 20 66 61 6c | en:.function(index).{.return.fal |
8ff80 | 73 65 3b 20 7d 2c 0a 20 20 69 73 53 65 70 61 72 61 74 6f 72 3a 20 66 75 6e 63 74 69 6f 6e 28 69 | se;.},...isSeparator:.function(i |
8ffa0 | 6e 64 65 78 29 20 7b 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 20 7d 2c 0a 20 20 69 73 53 6f 72 | ndex).{.return.false;.},...isSor |
8ffc0 | 74 65 64 3a 20 66 75 6e 63 74 69 6f 6e 28 29 20 7b 20 7d 2c 0a 20 20 63 61 6e 44 72 6f 70 3a 20 | ted:.function().{.},...canDrop:. |
8ffe0 | 66 75 6e 63 74 69 6f 6e 28 69 6e 64 65 78 2c 20 6f 72 69 65 6e 74 61 74 69 6f 6e 29 20 7b 20 72 | function(index,.orientation).{.r |
90000 | 65 74 75 72 6e 20 66 61 6c 73 65 3b 20 7d 2c 0a 20 20 64 72 6f 70 3a 20 66 75 6e 63 74 69 6f 6e | eturn.false;.},...drop:.function |
90020 | 28 72 6f 77 2c 20 6f 72 69 65 6e 74 61 74 69 6f 6e 29 20 7b 20 72 65 74 75 72 6e 20 66 61 6c 73 | (row,.orientation).{.return.fals |
90040 | 65 3b 20 7d 2c 0a 20 20 67 65 74 50 61 72 65 6e 74 49 6e 64 65 78 3a 20 66 75 6e 63 74 69 6f 6e | e;.},...getParentIndex:.function |
90060 | 28 69 6e 64 65 78 29 20 7b 20 72 65 74 75 72 6e 20 30 3b 20 7d 2c 0a 20 20 68 61 73 4e 65 78 74 | (index).{.return.0;.},...hasNext |
90080 | 53 69 62 6c 69 6e 67 3a 20 66 75 6e 63 74 69 6f 6e 28 69 6e 64 65 78 2c 20 61 66 74 65 72 29 20 | Sibling:.function(index,.after). |
900a0 | 7b 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 20 7d 2c 0a 20 20 67 65 74 4c 65 76 65 6c 3a 20 66 | {.return.false;.},...getLevel:.f |
900c0 | 75 6e 63 74 69 6f 6e 28 69 6e 64 65 78 29 20 7b 20 72 65 74 75 72 6e 20 30 3b 20 7d 2c 0a 20 20 | unction(index).{.return.0;.},... |
900e0 | 67 65 74 49 6d 61 67 65 53 72 63 3a 20 66 75 6e 63 74 69 6f 6e 28 72 6f 77 2c 20 63 6f 6c 75 6d | getImageSrc:.function(row,.colum |
90100 | 6e 29 20 7b 20 7d 2c 0a 20 20 67 65 74 50 72 6f 67 72 65 73 73 4d 6f 64 65 3a 20 66 75 6e 63 74 | n).{.},...getProgressMode:.funct |
90120 | 69 6f 6e 28 72 6f 77 2c 20 63 6f 6c 75 6d 6e 29 20 7b 20 7d 2c 0a 20 20 67 65 74 43 65 6c 6c 56 | ion(row,.column).{.},...getCellV |
90140 | 61 6c 75 65 3a 20 66 75 6e 63 74 69 6f 6e 28 72 6f 77 2c 20 63 6f 6c 75 6d 6e 29 20 7b 20 7d 2c | alue:.function(row,.column).{.}, |
90160 | 0a 20 20 74 6f 67 67 6c 65 4f 70 65 6e 53 74 61 74 65 3a 20 66 75 6e 63 74 69 6f 6e 28 69 6e 64 | ...toggleOpenState:.function(ind |
90180 | 65 78 29 20 7b 20 7d 2c 0a 20 20 63 79 63 6c 65 48 65 61 64 65 72 3a 20 66 75 6e 63 74 69 6f 6e | ex).{.},...cycleHeader:.function |
901a0 | 28 63 6f 6c 29 20 7b 20 7d 2c 0a 20 20 73 65 6c 65 63 74 69 6f 6e 43 68 61 6e 67 65 64 3a 20 66 | (col).{.},...selectionChanged:.f |
901c0 | 75 6e 63 74 69 6f 6e 28 29 20 7b 20 7d 2c 0a 20 20 63 79 63 6c 65 43 65 6c 6c 3a 20 66 75 6e 63 | unction().{.},...cycleCell:.func |
901e0 | 74 69 6f 6e 28 72 6f 77 2c 20 63 6f 6c 75 6d 6e 29 20 7b 20 7d 2c 0a 20 20 69 73 45 64 69 74 61 | tion(row,.column).{.},...isEdita |
90200 | 62 6c 65 3a 20 66 75 6e 63 74 69 6f 6e 28 72 6f 77 2c 20 63 6f 6c 75 6d 6e 29 20 7b 20 72 65 74 | ble:.function(row,.column).{.ret |
90220 | 75 72 6e 20 66 61 6c 73 65 3b 20 7d 2c 0a 20 20 69 73 53 65 6c 65 63 74 61 62 6c 65 3a 20 66 75 | urn.false;.},...isSelectable:.fu |
90240 | 6e 63 74 69 6f 6e 28 72 6f 77 2c 20 63 6f 6c 75 6d 6e 29 20 7b 20 72 65 74 75 72 6e 20 66 61 6c | nction(row,.column).{.return.fal |
90260 | 73 65 3b 20 7d 2c 0a 20 20 70 65 72 66 6f 72 6d 41 63 74 69 6f 6e 3a 20 66 75 6e 63 74 69 6f 6e | se;.},...performAction:.function |
90280 | 28 61 63 74 69 6f 6e 29 20 7b 20 7d 2c 0a 20 20 70 65 72 66 6f 72 6d 41 63 74 69 6f 6e 4f 6e 43 | (action).{.},...performActionOnC |
902a0 | 65 6c 6c 3a 20 66 75 6e 63 74 69 6f 6e 28 61 63 74 69 6f 6e 2c 20 72 6f 77 2c 20 63 6f 6c 75 6d | ell:.function(action,.row,.colum |
902c0 | 6e 29 20 7b 20 7d 0a 7d 3b 0a 0a 2f 2f 20 6d 6d 6d 2c 20 79 75 6d 6d 79 2e 20 67 6c 6f 62 61 6c | n).{.}.};..//.mmm,.yummy..global |
902e0 | 20 76 61 72 69 61 62 6c 65 73 2e 0a 76 61 72 20 67 57 69 6e 64 6f 77 20 3d 20 6e 75 6c 6c 3b 0a | .variables..var.gWindow.=.null;. |
90300 | 76 61 72 20 67 44 6f 63 75 6d 65 6e 74 20 3d 20 6e 75 6c 6c 3b 0a 0a 2f 2f 20 63 6f 6c 75 6d 6e | var.gDocument.=.null;..//.column |
90320 | 20 6e 75 6d 62 65 72 20 74 6f 20 68 65 6c 70 20 75 73 69 6e 67 20 74 68 65 20 64 61 74 61 20 61 | .number.to.help.using.the.data.a |
90340 | 72 72 61 79 0a 63 6f 6e 73 74 20 43 4f 4c 5f 49 4d 41 47 45 5f 41 44 44 52 45 53 53 20 3d 20 30 | rray.const.COL_IMAGE_ADDRESS.=.0 |
90360 | 3b 0a 63 6f 6e 73 74 20 43 4f 4c 5f 49 4d 41 47 45 5f 54 59 50 45 20 20 20 20 3d 20 31 3b 0a 63 | ;.const.COL_IMAGE_TYPE....=.1;.c |
90380 | 6f 6e 73 74 20 43 4f 4c 5f 49 4d 41 47 45 5f 53 49 5a 45 20 20 20 20 3d 20 32 3b 0a 63 6f 6e 73 | onst.COL_IMAGE_SIZE....=.2;.cons |
903a0 | 74 20 43 4f 4c 5f 49 4d 41 47 45 5f 41 4c 54 20 20 20 20 20 3d 20 33 3b 0a 63 6f 6e 73 74 20 43 | t.COL_IMAGE_ALT.....=.3;.const.C |
903c0 | 4f 4c 5f 49 4d 41 47 45 5f 43 4f 55 4e 54 20 20 20 3d 20 34 3b 0a 63 6f 6e 73 74 20 43 4f 4c 5f | OL_IMAGE_COUNT...=.4;.const.COL_ |
903e0 | 49 4d 41 47 45 5f 4e 4f 44 45 20 20 20 20 3d 20 35 3b 0a 63 6f 6e 73 74 20 43 4f 4c 5f 49 4d 41 | IMAGE_NODE....=.5;.const.COL_IMA |
90400 | 47 45 5f 42 47 20 20 20 20 20 20 3d 20 36 3b 0a 0a 2f 2f 20 63 6f 6c 75 6d 6e 20 6e 75 6d 62 65 | GE_BG......=.6;..//.column.numbe |
90420 | 72 20 74 6f 20 63 6f 70 79 20 66 72 6f 6d 2c 20 73 65 63 6f 6e 64 20 61 72 67 75 6d 65 6e 74 20 | r.to.copy.from,.second.argument. |
90440 | 74 6f 20 70 61 67 65 49 6e 66 6f 54 72 65 65 56 69 65 77 27 73 20 63 6f 6e 73 74 72 75 63 74 6f | to.pageInfoTreeView's.constructo |
90460 | 72 0a 63 6f 6e 73 74 20 43 4f 50 59 43 4f 4c 5f 4e 4f 4e 45 20 3d 20 2d 31 3b 0a 63 6f 6e 73 74 | r.const.COPYCOL_NONE.=.-1;.const |
90480 | 20 43 4f 50 59 43 4f 4c 5f 4d 45 54 41 5f 43 4f 4e 54 45 4e 54 20 3d 20 31 3b 0a 63 6f 6e 73 74 | .COPYCOL_META_CONTENT.=.1;.const |
904a0 | 20 43 4f 50 59 43 4f 4c 5f 49 4d 41 47 45 20 3d 20 43 4f 4c 5f 49 4d 41 47 45 5f 41 44 44 52 45 | .COPYCOL_IMAGE.=.COL_IMAGE_ADDRE |
904c0 | 53 53 3b 0a 0a 2f 2f 20 6f 6e 65 20 6e 73 49 54 72 65 65 56 69 65 77 20 66 6f 72 20 65 61 63 68 | SS;..//.one.nsITreeView.for.each |
904e0 | 20 74 72 65 65 20 69 6e 20 74 68 65 20 77 69 6e 64 6f 77 0a 76 61 72 20 67 4d 65 74 61 56 69 65 | .tree.in.the.window.var.gMetaVie |
90500 | 77 20 3d 20 6e 65 77 20 70 61 67 65 49 6e 66 6f 54 72 65 65 56 69 65 77 28 5b 22 6d 65 74 61 2d | w.=.new.pageInfoTreeView(["meta- |
90520 | 6e 61 6d 65 22 2c 22 6d 65 74 61 2d 63 6f 6e 74 65 6e 74 22 5d 2c 20 43 4f 50 59 43 4f 4c 5f 4d | name","meta-content"],.COPYCOL_M |
90540 | 45 54 41 5f 43 4f 4e 54 45 4e 54 29 3b 0a 76 61 72 20 67 49 6d 61 67 65 56 69 65 77 20 3d 20 6e | ETA_CONTENT);.var.gImageView.=.n |
90560 | 65 77 20 70 61 67 65 49 6e 66 6f 54 72 65 65 56 69 65 77 28 5b 22 69 6d 61 67 65 2d 61 64 64 72 | ew.pageInfoTreeView(["image-addr |
90580 | 65 73 73 22 2c 22 69 6d 61 67 65 2d 74 79 70 65 22 2c 22 69 6d 61 67 65 2d 73 69 7a 65 22 2c 0a | ess","image-type","image-size",. |
905a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
905c0 | 20 20 20 20 20 20 20 22 69 6d 61 67 65 2d 61 6c 74 22 2c 22 69 6d 61 67 65 2d 63 6f 75 6e 74 22 | ......."image-alt","image-count" |
905e0 | 2c 22 69 6d 61 67 65 2d 6e 6f 64 65 22 2c 22 69 6d 61 67 65 2d 62 67 22 5d 2c 0a 20 20 20 20 20 | ,"image-node","image-bg"],...... |
90600 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
90620 | 20 43 4f 50 59 43 4f 4c 5f 49 4d 41 47 45 29 3b 0a 0a 67 49 6d 61 67 65 56 69 65 77 2e 67 65 74 | .COPYCOL_IMAGE);..gImageView.get |
90640 | 43 65 6c 6c 50 72 6f 70 65 72 74 69 65 73 20 3d 20 66 75 6e 63 74 69 6f 6e 28 72 6f 77 2c 20 63 | CellProperties.=.function(row,.c |
90660 | 6f 6c 2c 20 70 72 6f 70 73 29 20 7b 0a 20 20 76 61 72 20 61 73 65 72 76 20 3d 20 43 6f 6d 70 6f | ol,.props).{...var.aserv.=.Compo |
90680 | 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 41 54 4f 4d 5f 43 4f 4e 54 52 41 43 54 49 44 5d 0a 20 | nents.classes[ATOM_CONTRACTID].. |
906a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 | ........................getServi |
906c0 | 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 41 74 6f 6d | ce(Components.interfaces.nsIAtom |
906e0 | 53 65 72 76 69 63 65 29 3b 0a 0a 20 20 69 66 20 28 67 49 6d 61 67 65 56 69 65 77 2e 64 61 74 61 | Service);....if.(gImageView.data |
90700 | 5b 72 6f 77 5d 5b 43 4f 4c 5f 49 4d 41 47 45 5f 53 49 5a 45 5d 20 3d 3d 20 67 53 74 72 69 6e 67 | [row][COL_IMAGE_SIZE].==.gString |
90720 | 73 2e 75 6e 6b 6e 6f 77 6e 20 26 26 0a 20 20 20 20 20 20 21 2f 5e 68 74 74 70 73 3a 2f 2e 74 65 | s.unknown.&&.......!/^https:/.te |
90740 | 73 74 28 67 49 6d 61 67 65 56 69 65 77 2e 64 61 74 61 5b 72 6f 77 5d 5b 43 4f 4c 5f 49 4d 41 47 | st(gImageView.data[row][COL_IMAG |
90760 | 45 5f 41 44 44 52 45 53 53 5d 29 29 0a 20 20 20 20 70 72 6f 70 73 2e 41 70 70 65 6e 64 45 6c 65 | E_ADDRESS])).....props.AppendEle |
90780 | 6d 65 6e 74 28 61 73 65 72 76 2e 67 65 74 41 74 6f 6d 28 22 62 72 6f 6b 65 6e 22 29 29 3b 0a 7d | ment(aserv.getAtom("broken"));.} |
907a0 | 3b 0a 0a 76 61 72 20 67 49 6d 61 67 65 48 61 73 68 20 3d 20 7b 20 7d 3b 0a 0a 2f 2f 20 6c 6f 63 | ;..var.gImageHash.=.{.};..//.loc |
907c0 | 61 6c 69 7a 65 64 20 73 74 72 69 6e 67 73 20 28 77 69 6c 6c 20 62 65 20 66 69 6c 6c 65 64 20 69 | alized.strings.(will.be.filled.i |
907e0 | 6e 20 77 68 65 6e 20 74 68 65 20 64 6f 63 75 6d 65 6e 74 20 69 73 20 6c 6f 61 64 65 64 29 0a 2f | n.when.the.document.is.loaded)./ |
90800 | 2f 20 74 68 69 73 20 69 73 6e 27 74 20 61 6c 6c 20 6f 66 20 74 68 65 6d 2c 20 74 68 65 73 65 20 | /.this.isn't.all.of.them,.these. |
90820 | 61 72 65 20 6a 75 73 74 20 74 68 65 20 6f 6e 65 73 20 74 68 61 74 20 77 6f 75 6c 64 20 6f 74 68 | are.just.the.ones.that.would.oth |
90840 | 65 72 77 69 73 65 20 68 61 76 65 20 62 65 65 6e 20 6c 6f 61 64 65 64 20 69 6e 73 69 64 65 20 61 | erwise.have.been.loaded.inside.a |
90860 | 20 6c 6f 6f 70 0a 76 61 72 20 67 53 74 72 69 6e 67 73 20 3d 20 7b 20 7d 3b 0a 76 61 72 20 67 42 | .loop.var.gStrings.=.{.};.var.gB |
90880 | 75 6e 64 6c 65 3b 0a 0a 63 6f 6e 73 74 20 50 45 52 4d 49 53 53 49 4f 4e 5f 43 4f 4e 54 52 41 43 | undle;..const.PERMISSION_CONTRAC |
908a0 | 54 49 44 20 20 20 20 20 3d 20 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 70 65 72 6d 69 73 73 69 | TID.....=."@mozilla.org/permissi |
908c0 | 6f 6e 6d 61 6e 61 67 65 72 3b 31 22 3b 0a 63 6f 6e 73 74 20 50 52 45 46 45 52 45 4e 43 45 53 5f | onmanager;1";.const.PREFERENCES_ |
908e0 | 43 4f 4e 54 52 41 43 54 49 44 20 20 20 20 3d 20 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 70 72 | CONTRACTID....=."@mozilla.org/pr |
90900 | 65 66 65 72 65 6e 63 65 73 2d 73 65 72 76 69 63 65 3b 31 22 3b 0a 63 6f 6e 73 74 20 41 54 4f 4d | eferences-service;1";.const.ATOM |
90920 | 5f 43 4f 4e 54 52 41 43 54 49 44 20 20 20 20 20 20 20 20 20 20 20 3d 20 22 40 6d 6f 7a 69 6c 6c | _CONTRACTID...........=."@mozill |
90940 | 61 2e 6f 72 67 2f 61 74 6f 6d 2d 73 65 72 76 69 63 65 3b 31 22 3b 0a 0a 2f 2f 20 61 20 6e 75 6d | a.org/atom-service;1";..//.a.num |
90960 | 62 65 72 20 6f 66 20 73 65 72 76 69 63 65 73 20 49 27 6c 6c 20 6e 65 65 64 20 6c 61 74 65 72 0a | ber.of.services.I'll.need.later. |
90980 | 2f 2f 20 74 68 65 20 63 61 63 68 65 20 73 65 72 76 69 63 65 73 0a 63 6f 6e 73 74 20 6e 73 49 43 | //.the.cache.services.const.nsIC |
909a0 | 61 63 68 65 53 65 72 76 69 63 65 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 | acheService.=.Components.interfa |
909c0 | 63 65 73 2e 6e 73 49 43 61 63 68 65 53 65 72 76 69 63 65 3b 0a 63 6f 6e 73 74 20 41 43 43 45 53 | ces.nsICacheService;.const.ACCES |
909e0 | 53 5f 52 45 41 44 20 20 20 20 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 | S_READ.....=.Components.interfac |
90a00 | 65 73 2e 6e 73 49 43 61 63 68 65 2e 41 43 43 45 53 53 5f 52 45 41 44 3b 0a 63 6f 6e 73 74 20 63 | es.nsICache.ACCESS_READ;.const.c |
90a20 | 61 63 68 65 53 65 72 76 69 63 65 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 | acheService.=.Components.classes |
90a40 | 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6e 65 74 77 6f 72 6b 2f 63 61 63 68 65 2d 73 65 72 | ["@mozilla.org/network/cache-ser |
90a60 | 76 69 63 65 3b 31 22 5d 2e 67 65 74 53 65 72 76 69 63 65 28 6e 73 49 43 61 63 68 65 53 65 72 76 | vice;1"].getService(nsICacheServ |
90a80 | 69 63 65 29 3b 0a 76 61 72 20 68 74 74 70 43 61 63 68 65 53 65 73 73 69 6f 6e 20 3d 20 63 61 63 | ice);.var.httpCacheSession.=.cac |
90aa0 | 68 65 53 65 72 76 69 63 65 2e 63 72 65 61 74 65 53 65 73 73 69 6f 6e 28 22 48 54 54 50 22 2c 20 | heService.createSession("HTTP",. |
90ac0 | 30 2c 20 74 72 75 65 29 3b 0a 68 74 74 70 43 61 63 68 65 53 65 73 73 69 6f 6e 2e 64 6f 6f 6d 45 | 0,.true);.httpCacheSession.doomE |
90ae0 | 6e 74 72 69 65 73 49 66 45 78 70 69 72 65 64 20 3d 20 66 61 6c 73 65 3b 0a 76 61 72 20 66 74 70 | ntriesIfExpired.=.false;.var.ftp |
90b00 | 43 61 63 68 65 53 65 73 73 69 6f 6e 20 3d 20 63 61 63 68 65 53 65 72 76 69 63 65 2e 63 72 65 61 | CacheSession.=.cacheService.crea |
90b20 | 74 65 53 65 73 73 69 6f 6e 28 22 46 54 50 22 2c 20 30 2c 20 74 72 75 65 29 3b 0a 66 74 70 43 61 | teSession("FTP",.0,.true);.ftpCa |
90b40 | 63 68 65 53 65 73 73 69 6f 6e 2e 64 6f 6f 6d 45 6e 74 72 69 65 73 49 66 45 78 70 69 72 65 64 20 | cheSession.doomEntriesIfExpired. |
90b60 | 3d 20 66 61 6c 73 65 3b 0a 0a 63 6f 6e 73 74 20 6e 73 49 43 6f 6f 6b 69 65 50 65 72 6d 69 73 73 | =.false;..const.nsICookiePermiss |
90b80 | 69 6f 6e 20 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 | ion..=.Components.interfaces.nsI |
90ba0 | 43 6f 6f 6b 69 65 50 65 72 6d 69 73 73 69 6f 6e 3b 0a 63 6f 6e 73 74 20 6e 73 49 50 65 72 6d 69 | CookiePermission;.const.nsIPermi |
90bc0 | 73 73 69 6f 6e 4d 61 6e 61 67 65 72 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 | ssionManager.=.Components.interf |
90be0 | 61 63 65 73 2e 6e 73 49 50 65 72 6d 69 73 73 69 6f 6e 4d 61 6e 61 67 65 72 3b 0a 0a 63 6f 6e 73 | aces.nsIPermissionManager;..cons |
90c00 | 74 20 6e 73 49 43 65 72 74 69 66 69 63 61 74 65 44 69 61 6c 6f 67 73 20 3d 20 43 6f 6d 70 6f 6e | t.nsICertificateDialogs.=.Compon |
90c20 | 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 43 65 72 74 69 66 69 63 61 74 65 44 69 | ents.interfaces.nsICertificateDi |
90c40 | 61 6c 6f 67 73 3b 0a 63 6f 6e 73 74 20 43 45 52 54 49 46 49 43 41 54 45 44 49 41 4c 4f 47 53 5f | alogs;.const.CERTIFICATEDIALOGS_ |
90c60 | 43 4f 4e 54 52 41 43 54 49 44 20 3d 20 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6e 73 43 65 72 | CONTRACTID.=."@mozilla.org/nsCer |
90c80 | 74 69 66 69 63 61 74 65 44 69 61 6c 6f 67 73 3b 31 22 0a 0a 2f 2f 20 63 6c 69 70 62 6f 61 72 64 | tificateDialogs;1"..//.clipboard |
90ca0 | 20 68 65 6c 70 65 72 0a 74 72 79 20 7b 0a 20 20 63 6f 6e 73 74 20 67 43 6c 69 70 62 6f 61 72 64 | .helper.try.{...const.gClipboard |
90cc0 | 48 65 6c 70 65 72 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f | Helper.=.Components.classes["@mo |
90ce0 | 7a 69 6c 6c 61 2e 6f 72 67 2f 77 69 64 67 65 74 2f 63 6c 69 70 62 6f 61 72 64 68 65 6c 70 65 72 | zilla.org/widget/clipboardhelper |
90d00 | 3b 31 22 5d 2e 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 | ;1"].getService(Components.inter |
90d20 | 66 61 63 65 73 2e 6e 73 49 43 6c 69 70 62 6f 61 72 64 48 65 6c 70 65 72 29 3b 0a 7d 0a 63 61 74 | faces.nsIClipboardHelper);.}.cat |
90d40 | 63 68 28 65 29 20 7b 0a 20 20 2f 2f 20 64 6f 20 6e 6f 74 68 69 6e 67 2c 20 6c 61 74 65 72 20 63 | ch(e).{...//.do.nothing,.later.c |
90d60 | 6f 64 65 20 77 69 6c 6c 20 68 61 6e 64 6c 65 20 74 68 65 20 65 72 72 6f 72 0a 7d 0a 0a 2f 2f 20 | ode.will.handle.the.error.}..//. |
90d80 | 49 6e 74 65 72 66 61 63 65 20 66 6f 72 20 69 6d 61 67 65 20 6c 6f 61 64 69 6e 67 20 63 6f 6e 74 | Interface.for.image.loading.cont |
90da0 | 65 6e 74 0a 63 6f 6e 73 74 20 6e 73 49 49 6d 61 67 65 4c 6f 61 64 69 6e 67 43 6f 6e 74 65 6e 74 | ent.const.nsIImageLoadingContent |
90dc0 | 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 49 6d 61 67 | .=.Components.interfaces.nsIImag |
90de0 | 65 4c 6f 61 64 69 6e 67 43 6f 6e 74 65 6e 74 3b 0a 0a 2f 2f 20 6e 61 6d 65 73 70 61 63 65 73 2c | eLoadingContent;..//.namespaces, |
90e00 | 20 64 6f 6e 27 74 20 6e 65 65 64 20 61 6c 6c 20 6f 66 20 74 68 65 73 65 20 79 65 74 2e 2e 2e 0a | .don't.need.all.of.these.yet.... |
90e20 | 63 6f 6e 73 74 20 58 4c 69 6e 6b 4e 53 20 20 3d 20 22 68 74 74 70 3a 2f 2f 77 77 77 2e 77 33 2e | const.XLinkNS..=."http://www.w3. |
90e40 | 6f 72 67 2f 31 39 39 39 2f 78 6c 69 6e 6b 22 3b 0a 63 6f 6e 73 74 20 58 55 4c 4e 53 20 20 20 20 | org/1999/xlink";.const.XULNS.... |
90e60 | 3d 20 22 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6b 65 79 6d 61 73 | =."http://www.mozilla.org/keymas |
90e80 | 74 65 72 2f 67 61 74 65 6b 65 65 70 65 72 2f 74 68 65 72 65 2e 69 73 2e 6f 6e 6c 79 2e 78 75 6c | ter/gatekeeper/there.is.only.xul |
90ea0 | 22 3b 0a 63 6f 6e 73 74 20 58 4d 4c 4e 53 20 20 20 20 3d 20 22 68 74 74 70 3a 2f 2f 77 77 77 2e | ";.const.XMLNS....=."http://www. |
90ec0 | 77 33 2e 6f 72 67 2f 58 4d 4c 2f 31 39 39 38 2f 6e 61 6d 65 73 70 61 63 65 22 3b 0a 63 6f 6e 73 | w3.org/XML/1998/namespace";.cons |
90ee0 | 74 20 58 48 54 4d 4c 4e 53 20 20 3d 20 22 68 74 74 70 3a 2f 2f 77 77 77 2e 77 33 2e 6f 72 67 2f | t.XHTMLNS..=."http://www.w3.org/ |
90f00 | 31 39 39 39 2f 78 68 74 6d 6c 22 3b 0a 63 6f 6e 73 74 20 58 48 54 4d 4c 32 4e 53 20 3d 20 22 68 | 1999/xhtml";.const.XHTML2NS.=."h |
90f20 | 74 74 70 3a 2f 2f 77 77 77 2e 77 33 2e 6f 72 67 2f 32 30 30 32 2f 30 36 2f 78 68 74 6d 6c 32 22 | ttp://www.w3.org/2002/06/xhtml2" |
90f40 | 0a 0a 63 6f 6e 73 74 20 58 48 54 4d 4c 4e 53 72 65 20 20 3d 20 22 5e 68 74 74 70 5c 3a 5c 2f 5c | ..const.XHTMLNSre..=."^http\:\/\ |
90f60 | 2f 77 77 77 5c 2e 77 33 5c 2e 6f 72 67 5c 2f 31 39 39 39 5c 2f 78 68 74 6d 6c 24 22 3b 0a 63 6f | /www\.w3\.org\/1999\/xhtml$";.co |
90f80 | 6e 73 74 20 58 48 54 4d 4c 32 4e 53 72 65 20 3d 20 22 5e 68 74 74 70 5c 3a 5c 2f 5c 2f 77 77 77 | nst.XHTML2NSre.=."^http\:\/\/www |
90fa0 | 5c 2e 77 33 5c 2e 6f 72 67 5c 2f 32 30 30 32 5c 2f 30 36 5c 2f 78 68 74 6d 6c 32 24 22 3b 0a 63 | \.w3\.org\/2002\/06\/xhtml2$";.c |
90fc0 | 6f 6e 73 74 20 58 48 54 4d 4c 72 65 20 3d 20 52 65 67 45 78 70 28 58 48 54 4d 4c 4e 53 72 65 20 | onst.XHTMLre.=.RegExp(XHTMLNSre. |
90fe0 | 2b 20 22 7c 22 20 2b 20 58 48 54 4d 4c 32 4e 53 72 65 2c 20 22 22 29 3b 0a 0a 2f 2a 20 4f 76 65 | +."|".+.XHTML2NSre,."");../*.Ove |
91000 | 72 6c 61 79 73 20 72 65 67 69 73 74 65 72 20 66 75 6e 63 74 69 6f 6e 73 20 68 65 72 65 2e 0a 20 | rlays.register.functions.here... |
91020 | 2a 20 54 68 65 73 65 20 61 72 72 61 79 73 20 61 72 65 20 75 73 65 64 20 74 6f 20 68 6f 6c 64 20 | *.These.arrays.are.used.to.hold. |
91040 | 63 61 6c 6c 62 61 63 6b 73 20 74 68 61 74 20 50 61 67 65 20 49 6e 66 6f 20 77 69 6c 6c 20 63 61 | callbacks.that.Page.Info.will.ca |
91060 | 6c 6c 20 61 74 0a 20 2a 20 76 61 72 69 6f 75 73 20 73 74 61 67 65 73 2e 20 55 73 65 20 74 68 65 | ll.at..*.various.stages..Use.the |
91080 | 6d 20 62 79 20 73 69 6d 70 6c 79 20 61 70 70 65 6e 64 69 6e 67 20 61 20 66 75 6e 63 74 69 6f 6e | m.by.simply.appending.a.function |
910a0 | 20 74 6f 20 74 68 65 6d 2e 0a 20 2a 20 46 6f 72 20 65 78 61 6d 70 6c 65 2c 20 61 64 64 20 61 20 | .to.them...*.For.example,.add.a. |
910c0 | 66 75 6e 63 74 69 6f 6e 20 74 6f 20 6f 6e 4c 6f 61 64 52 65 67 69 73 74 72 79 20 62 79 20 69 6e | function.to.onLoadRegistry.by.in |
910e0 | 76 6f 6b 69 6e 67 0a 20 2a 20 20 20 22 6f 6e 4c 6f 61 64 52 65 67 69 73 74 72 79 2e 70 75 73 68 | voking..*..."onLoadRegistry.push |
91100 | 28 58 58 58 4c 6f 61 64 46 75 6e 63 29 3b 22 0a 20 2a 20 54 68 65 20 58 58 58 4c 6f 61 64 46 75 | (XXXLoadFunc);"..*.The.XXXLoadFu |
91120 | 6e 63 20 73 68 6f 75 6c 64 20 62 65 20 75 6e 69 71 75 65 20 74 6f 20 74 68 65 20 6f 76 65 72 6c | nc.should.be.unique.to.the.overl |
91140 | 61 79 20 6d 6f 64 75 6c 65 2c 20 61 6e 64 20 77 69 6c 6c 20 62 65 0a 20 2a 20 69 6e 76 6f 6b 65 | ay.module,.and.will.be..*.invoke |
91160 | 64 20 61 73 20 22 58 58 58 4c 6f 61 64 46 75 6e 63 28 29 3b 22 0a 20 2a 2f 0a 0a 2f 2f 20 54 68 | d.as."XXXLoadFunc();"..*/..//.Th |
91180 | 65 73 65 20 66 75 6e 63 74 69 6f 6e 73 20 61 72 65 20 63 61 6c 6c 65 64 20 74 6f 20 62 75 69 6c | ese.functions.are.called.to.buil |
911a0 | 64 20 74 68 65 20 64 61 74 61 20 64 69 73 70 6c 61 79 65 64 20 69 6e 20 74 68 65 20 50 61 67 65 | d.the.data.displayed.in.the.Page |
911c0 | 0a 2f 2f 20 49 6e 66 6f 20 77 69 6e 64 6f 77 2e 20 54 68 65 20 67 6c 6f 62 61 6c 20 76 61 72 69 | .//.Info.window..The.global.vari |
911e0 | 61 62 6c 65 73 20 67 44 6f 63 75 6d 65 6e 74 20 61 6e 64 20 67 57 69 6e 64 6f 77 20 61 72 65 20 | ables.gDocument.and.gWindow.are. |
91200 | 73 65 74 2e 0a 76 61 72 20 6f 6e 4c 6f 61 64 52 65 67 69 73 74 72 79 20 3d 20 5b 20 5d 3b 0a 0a | set..var.onLoadRegistry.=.[.];.. |
91220 | 2f 2f 20 54 68 65 73 65 20 66 75 6e 63 74 69 6f 6e 73 20 61 72 65 20 63 61 6c 6c 65 64 20 74 6f | //.These.functions.are.called.to |
91240 | 20 72 65 6d 6f 76 65 20 6f 6c 64 20 64 61 74 61 20 73 74 69 6c 6c 20 64 69 73 70 6c 61 79 65 64 | .remove.old.data.still.displayed |
91260 | 20 69 6e 0a 2f 2f 20 74 68 65 20 77 69 6e 64 6f 77 20 77 68 65 6e 20 74 68 65 20 64 6f 63 75 6d | .in.//.the.window.when.the.docum |
91280 | 65 6e 74 20 77 68 6f 73 65 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 20 69 73 20 64 69 73 70 6c 61 79 | ent.whose.information.is.display |
912a0 | 65 64 0a 2f 2f 20 63 68 61 6e 67 65 73 2e 20 46 6f 72 20 65 78 61 6d 70 6c 65 2c 20 61 74 20 74 | ed.//.changes..For.example,.at.t |
912c0 | 68 69 73 20 74 69 6d 65 2c 20 74 68 65 20 6c 69 73 74 20 6f 66 20 69 6d 61 67 65 73 20 6f 66 20 | his.time,.the.list.of.images.of. |
912e0 | 74 68 65 20 4d 65 64 69 61 0a 2f 2f 20 74 61 62 20 69 73 20 63 6c 65 61 72 65 64 2e 0a 76 61 72 | the.Media.//.tab.is.cleared..var |
91300 | 20 6f 6e 52 65 73 65 74 52 65 67 69 73 74 72 79 20 3d 20 5b 20 5d 3b 0a 0a 2f 2f 20 54 68 65 73 | .onResetRegistry.=.[.];..//.Thes |
91320 | 65 20 61 72 65 20 63 61 6c 6c 65 64 20 6f 6e 63 65 20 66 6f 72 20 65 61 63 68 20 73 75 62 66 72 | e.are.called.once.for.each.subfr |
91340 | 61 6d 65 20 6f 66 20 74 68 65 20 74 61 72 67 65 74 20 64 6f 63 75 6d 65 6e 74 20 61 6e 64 0a 2f | ame.of.the.target.document.and./ |
91360 | 2f 20 74 68 65 20 74 61 72 67 65 74 20 64 6f 63 75 6d 65 6e 74 20 69 74 73 65 6c 66 2e 20 54 68 | /.the.target.document.itself..Th |
91380 | 65 20 66 72 61 6d 65 20 69 73 20 70 61 73 73 65 64 20 61 73 20 61 6e 20 61 72 67 75 6d 65 6e 74 | e.frame.is.passed.as.an.argument |
913a0 | 2e 0a 76 61 72 20 6f 6e 50 72 6f 63 65 73 73 46 72 61 6d 65 20 3d 20 5b 20 5d 3b 0a 0a 2f 2f 20 | ..var.onProcessFrame.=.[.];..//. |
913c0 | 54 68 65 73 65 20 66 75 6e 63 74 69 6f 6e 73 20 61 72 65 20 63 61 6c 6c 65 64 20 6f 6e 63 65 20 | These.functions.are.called.once. |
913e0 | 66 6f 72 20 65 61 63 68 20 65 6c 65 6d 65 6e 74 20 28 69 6e 20 61 6c 6c 20 73 75 62 66 72 61 6d | for.each.element.(in.all.subfram |
91400 | 65 73 2c 20 69 66 20 61 6e 79 29 0a 2f 2f 20 69 6e 20 74 68 65 20 74 61 72 67 65 74 20 64 6f 63 | es,.if.any).//.in.the.target.doc |
91420 | 75 6d 65 6e 74 2e 20 54 68 65 20 65 6c 65 6d 65 6e 74 20 69 73 20 70 61 73 73 65 64 20 61 73 20 | ument..The.element.is.passed.as. |
91440 | 61 6e 20 61 72 67 75 6d 65 6e 74 2e 0a 76 61 72 20 6f 6e 50 72 6f 63 65 73 73 45 6c 65 6d 65 6e | an.argument..var.onProcessElemen |
91460 | 74 20 3d 20 5b 20 5d 3b 0a 0a 2f 2f 20 54 68 65 73 65 20 66 75 6e 63 74 69 6f 6e 73 20 61 72 65 | t.=.[.];..//.These.functions.are |
91480 | 20 63 61 6c 6c 65 64 20 6f 6e 63 65 20 77 68 65 6e 20 61 6c 6c 20 74 68 65 20 65 6c 65 6d 65 6e | .called.once.when.all.the.elemen |
914a0 | 74 73 20 69 6e 20 61 6c 6c 20 6f 66 20 74 68 65 20 74 61 72 67 65 74 0a 2f 2f 20 64 6f 63 75 6d | ts.in.all.of.the.target.//.docum |
914c0 | 65 6e 74 20 28 61 6e 64 20 61 6c 6c 20 6f 66 20 69 74 73 20 73 75 62 66 72 61 6d 65 73 2c 20 69 | ent.(and.all.of.its.subframes,.i |
914e0 | 66 20 61 6e 79 29 20 68 61 76 65 20 62 65 65 6e 20 70 72 6f 63 65 73 73 65 64 0a 76 61 72 20 6f | f.any).have.been.processed.var.o |
91500 | 6e 46 69 6e 69 73 68 65 64 20 3d 20 5b 20 5d 3b 0a 0a 2f 2f 20 54 68 65 73 65 20 66 75 6e 63 74 | nFinished.=.[.];..//.These.funct |
91520 | 69 6f 6e 73 20 61 72 65 20 63 61 6c 6c 65 64 20 6f 6e 63 65 20 77 68 65 6e 20 74 68 65 20 50 61 | ions.are.called.once.when.the.Pa |
91540 | 67 65 20 49 6e 66 6f 20 77 69 6e 64 6f 77 20 69 73 20 63 6c 6f 73 65 64 2e 0a 76 61 72 20 6f 6e | ge.Info.window.is.closed..var.on |
91560 | 55 6e 6c 6f 61 64 52 65 67 69 73 74 72 79 20 3d 20 5b 20 5d 3b 0a 0a 0a 2f 2a 20 43 61 6c 6c 65 | UnloadRegistry.=.[.];.../*.Calle |
91580 | 64 20 77 68 65 6e 20 50 61 67 65 49 6e 66 6f 20 77 69 6e 64 6f 77 20 69 73 20 6c 6f 61 64 65 64 | d.when.PageInfo.window.is.loaded |
915a0 | 2e 20 20 41 72 67 75 6d 65 6e 74 73 20 61 72 65 3a 0a 20 2a 20 20 77 69 6e 64 6f 77 2e 61 72 67 | ...Arguments.are:..*..window.arg |
915c0 | 75 6d 65 6e 74 73 5b 30 5d 20 2d 20 28 6f 70 74 69 6f 6e 61 6c 29 20 61 6e 20 6f 62 6a 65 63 74 | uments[0].-.(optional).an.object |
915e0 | 20 63 6f 6e 73 69 73 74 69 6e 67 20 6f 66 0a 20 2a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .consisting.of..*............... |
91600 | 20 20 20 20 20 20 20 20 20 20 2d 20 64 6f 63 3a 20 28 6f 70 74 69 6f 6e 61 6c 29 20 64 6f 63 75 | ..........-.doc:.(optional).docu |
91620 | 6d 65 6e 74 20 74 6f 20 75 73 65 20 66 6f 72 20 73 6f 75 72 63 65 2e 20 69 66 20 6e 6f 74 20 70 | ment.to.use.for.source..if.not.p |
91640 | 72 6f 76 69 64 65 64 2c 0a 20 2a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | rovided,..*..................... |
91660 | 20 20 20 20 20 20 20 20 20 20 20 74 68 65 20 63 61 6c 6c 69 6e 67 20 77 69 6e 64 6f 77 27 73 20 | ...........the.calling.window's. |
91680 | 64 6f 63 75 6d 65 6e 74 20 77 69 6c 6c 20 62 65 20 75 73 65 64 0a 20 2a 20 20 20 20 20 20 20 20 | document.will.be.used..*........ |
916a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2d 20 69 6e 69 74 69 61 6c 54 61 62 3a 20 28 | .................-.initialTab:.( |
916c0 | 6f 70 74 69 6f 6e 61 6c 29 20 69 64 20 6f 66 20 74 68 65 20 69 6e 69 74 61 6c 20 74 61 62 20 74 | optional).id.of.the.inital.tab.t |
916e0 | 6f 20 64 69 73 70 6c 61 79 0a 20 2a 2f 0a 66 75 6e 63 74 69 6f 6e 20 6f 6e 4c 6f 61 64 50 61 67 | o.display..*/.function.onLoadPag |
91700 | 65 49 6e 66 6f 28 29 0a 7b 0a 20 20 67 42 75 6e 64 6c 65 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 | eInfo().{...gBundle.=.document.g |
91720 | 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 70 61 67 65 69 6e 66 6f 62 75 6e 64 6c 65 22 29 3b | etElementById("pageinfobundle"); |
91740 | 0a 20 20 67 53 74 72 69 6e 67 73 2e 75 6e 6b 6e 6f 77 6e 20 3d 20 67 42 75 6e 64 6c 65 2e 67 65 | ...gStrings.unknown.=.gBundle.ge |
91760 | 74 53 74 72 69 6e 67 28 22 75 6e 6b 6e 6f 77 6e 22 29 3b 0a 20 20 67 53 74 72 69 6e 67 73 2e 6e | tString("unknown");...gStrings.n |
91780 | 6f 74 53 65 74 20 3d 20 67 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 6e 6f 74 73 65 | otSet.=.gBundle.getString("notse |
917a0 | 74 22 29 3b 0a 20 20 67 53 74 72 69 6e 67 73 2e 6d 65 64 69 61 49 6d 67 20 3d 20 67 42 75 6e 64 | t");...gStrings.mediaImg.=.gBund |
917c0 | 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 6d 65 64 69 61 49 6d 67 22 29 3b 0a 20 20 67 53 74 72 | le.getString("mediaImg");...gStr |
917e0 | 69 6e 67 73 2e 6d 65 64 69 61 42 47 49 6d 67 20 3d 20 67 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 | ings.mediaBGImg.=.gBundle.getStr |
91800 | 69 6e 67 28 22 6d 65 64 69 61 42 47 49 6d 67 22 29 3b 0a 20 20 67 53 74 72 69 6e 67 73 2e 6d 65 | ing("mediaBGImg");...gStrings.me |
91820 | 64 69 61 4f 62 6a 65 63 74 20 3d 20 67 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 6d | diaObject.=.gBundle.getString("m |
91840 | 65 64 69 61 4f 62 6a 65 63 74 22 29 3b 0a 20 20 67 53 74 72 69 6e 67 73 2e 6d 65 64 69 61 45 6d | ediaObject");...gStrings.mediaEm |
91860 | 62 65 64 20 3d 20 67 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 6d 65 64 69 61 45 6d | bed.=.gBundle.getString("mediaEm |
91880 | 62 65 64 22 29 3b 0a 20 20 67 53 74 72 69 6e 67 73 2e 6d 65 64 69 61 4c 69 6e 6b 20 3d 20 67 42 | bed");...gStrings.mediaLink.=.gB |
918a0 | 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 6d 65 64 69 61 4c 69 6e 6b 22 29 3b 0a 20 20 | undle.getString("mediaLink");... |
918c0 | 67 53 74 72 69 6e 67 73 2e 6d 65 64 69 61 49 6e 70 75 74 20 3d 20 67 42 75 6e 64 6c 65 2e 67 65 | gStrings.mediaInput.=.gBundle.ge |
918e0 | 74 53 74 72 69 6e 67 28 22 6d 65 64 69 61 49 6e 70 75 74 22 29 3b 0a 0a 20 20 69 66 20 28 22 61 | tString("mediaInput");....if.("a |
91900 | 72 67 75 6d 65 6e 74 73 22 20 69 6e 20 77 69 6e 64 6f 77 20 26 26 20 77 69 6e 64 6f 77 2e 61 72 | rguments".in.window.&&.window.ar |
91920 | 67 75 6d 65 6e 74 73 2e 6c 65 6e 67 74 68 20 3e 3d 20 31 20 26 26 0a 20 20 20 20 20 20 20 77 69 | guments.length.>=.1.&&........wi |
91940 | 6e 64 6f 77 2e 61 72 67 75 6d 65 6e 74 73 5b 30 5d 20 26 26 20 77 69 6e 64 6f 77 2e 61 72 67 75 | ndow.arguments[0].&&.window.argu |
91960 | 6d 65 6e 74 73 5b 30 5d 2e 64 6f 63 29 20 7b 0a 20 20 20 20 67 44 6f 63 75 6d 65 6e 74 20 3d 20 | ments[0].doc).{.....gDocument.=. |
91980 | 77 69 6e 64 6f 77 2e 61 72 67 75 6d 65 6e 74 73 5b 30 5d 2e 64 6f 63 3b 0a 20 20 20 20 67 57 69 | window.arguments[0].doc;.....gWi |
919a0 | 6e 64 6f 77 20 3d 20 67 44 6f 63 75 6d 65 6e 74 2e 64 65 66 61 75 6c 74 56 69 65 77 3b 0a 20 20 | ndow.=.gDocument.defaultView;... |
919c0 | 7d 0a 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 69 66 20 28 22 67 42 72 6f 77 73 65 72 22 20 69 6e | }...else.{.....if.("gBrowser".in |
919e0 | 20 77 69 6e 64 6f 77 2e 6f 70 65 6e 65 72 29 0a 20 20 20 20 20 20 67 57 69 6e 64 6f 77 20 3d 20 | .window.opener).......gWindow.=. |
91a00 | 77 69 6e 64 6f 77 2e 6f 70 65 6e 65 72 2e 67 42 72 6f 77 73 65 72 2e 63 6f 6e 74 65 6e 74 57 69 | window.opener.gBrowser.contentWi |
91a20 | 6e 64 6f 77 3b 0a 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 67 57 69 6e 64 6f 77 20 3d 20 77 | ndow;.....else.......gWindow.=.w |
91a40 | 69 6e 64 6f 77 2e 6f 70 65 6e 65 72 2e 66 72 61 6d 65 73 5b 30 5d 3b 0a 20 20 20 20 67 44 6f 63 | indow.opener.frames[0];.....gDoc |
91a60 | 75 6d 65 6e 74 20 3d 20 67 57 69 6e 64 6f 77 2e 64 6f 63 75 6d 65 6e 74 3b 0a 20 20 7d 0a 0a 20 | ument.=.gWindow.document;...}... |
91a80 | 20 2f 2f 20 69 6e 69 74 20 6d 65 64 69 61 20 76 69 65 77 0a 20 20 76 61 72 20 69 6d 61 67 65 54 | .//.init.media.view...var.imageT |
91aa0 | 72 65 65 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 69 | ree.=.document.getElementById("i |
91ac0 | 6d 61 67 65 74 72 65 65 22 29 3b 0a 20 20 69 6d 61 67 65 54 72 65 65 2e 76 69 65 77 20 3d 20 67 | magetree");...imageTree.view.=.g |
91ae0 | 49 6d 61 67 65 56 69 65 77 3b 0a 0a 20 20 2f 2f 20 62 75 69 6c 64 20 74 68 65 20 63 6f 6e 74 65 | ImageView;....//.build.the.conte |
91b00 | 6e 74 0a 20 20 6c 6f 61 64 50 61 67 65 49 6e 66 6f 28 29 3b 0a 0a 20 20 2f 2a 20 53 65 6c 65 63 | nt...loadPageInfo();..../*.Selec |
91b20 | 74 20 74 68 65 20 72 65 71 75 65 73 74 65 64 20 74 61 62 2c 20 69 66 20 74 68 65 20 6e 61 6d 65 | t.the.requested.tab,.if.the.name |
91b40 | 20 69 73 20 73 70 65 63 69 66 69 65 64 20 2a 2f 0a 20 20 76 61 72 20 69 6e 69 74 69 61 6c 54 61 | .is.specified.*/...var.initialTa |
91b60 | 62 20 3d 20 22 67 65 6e 65 72 61 6c 54 61 62 22 3b 0a 20 20 69 66 20 28 22 61 72 67 75 6d 65 6e | b.=."generalTab";...if.("argumen |
91b80 | 74 73 22 20 69 6e 20 77 69 6e 64 6f 77 20 26 26 20 77 69 6e 64 6f 77 2e 61 72 67 75 6d 65 6e 74 | ts".in.window.&&.window.argument |
91ba0 | 73 2e 6c 65 6e 67 74 68 20 3e 3d 20 31 20 26 26 0a 20 20 20 20 20 20 20 77 69 6e 64 6f 77 2e 61 | s.length.>=.1.&&........window.a |
91bc0 | 72 67 75 6d 65 6e 74 73 5b 30 5d 20 26 26 20 77 69 6e 64 6f 77 2e 61 72 67 75 6d 65 6e 74 73 5b | rguments[0].&&.window.arguments[ |
91be0 | 30 5d 2e 69 6e 69 74 69 61 6c 54 61 62 29 0a 20 20 20 20 69 6e 69 74 69 61 6c 54 61 62 20 3d 20 | 0].initialTab).....initialTab.=. |
91c00 | 77 69 6e 64 6f 77 2e 61 72 67 75 6d 65 6e 74 73 5b 30 5d 2e 69 6e 69 74 69 61 6c 54 61 62 3b 0a | window.arguments[0].initialTab;. |
91c20 | 20 20 76 61 72 20 72 61 64 69 6f 47 72 6f 75 70 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 | ..var.radioGroup.=.document.getE |
91c40 | 6c 65 6d 65 6e 74 42 79 49 64 28 22 76 69 65 77 47 72 6f 75 70 22 29 3b 0a 20 20 69 6e 69 74 69 | lementById("viewGroup");...initi |
91c60 | 61 6c 54 61 62 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 | alTab.=.document.getElementById( |
91c80 | 69 6e 69 74 69 61 6c 54 61 62 29 20 7c 7c 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 | initialTab).||.document.getEleme |
91ca0 | 6e 74 42 79 49 64 28 22 67 65 6e 65 72 61 6c 54 61 62 22 29 3b 0a 20 20 72 61 64 69 6f 47 72 6f | ntById("generalTab");...radioGro |
91cc0 | 75 70 2e 73 65 6c 65 63 74 65 64 49 74 65 6d 20 3d 20 69 6e 69 74 69 61 6c 54 61 62 3b 0a 20 20 | up.selectedItem.=.initialTab;... |
91ce0 | 72 61 64 69 6f 47 72 6f 75 70 2e 73 65 6c 65 63 74 65 64 49 74 65 6d 2e 64 6f 43 6f 6d 6d 61 6e | radioGroup.selectedItem.doComman |
91d00 | 64 28 29 3b 0a 20 20 72 61 64 69 6f 47 72 6f 75 70 2e 66 6f 63 75 73 28 29 3b 0a 20 20 43 6f 6d | d();...radioGroup.focus();...Com |
91d20 | 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6f 62 | ponents.classes["@mozilla.org/ob |
91d40 | 73 65 72 76 65 72 2d 73 65 72 76 69 63 65 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2e | server-service;1"].............. |
91d60 | 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 | getService(Components.interfaces |
91d80 | 2e 6e 73 49 4f 62 73 65 72 76 65 72 53 65 72 76 69 63 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 | .nsIObserverService)............ |
91da0 | 20 2e 6e 6f 74 69 66 79 4f 62 73 65 72 76 65 72 73 28 77 69 6e 64 6f 77 2c 20 22 70 61 67 65 2d | ..notifyObservers(window,."page- |
91dc0 | 69 6e 66 6f 2d 64 69 61 6c 6f 67 2d 6c 6f 61 64 65 64 22 2c 20 6e 75 6c 6c 29 3b 0a 7d 0a 0a 66 | info-dialog-loaded",.null);.}..f |
91de0 | 75 6e 63 74 69 6f 6e 20 6c 6f 61 64 50 61 67 65 49 6e 66 6f 28 29 0a 7b 0a 20 20 76 61 72 20 74 | unction.loadPageInfo().{...var.t |
91e00 | 69 74 6c 65 46 6f 72 6d 61 74 20 3d 20 67 57 69 6e 64 6f 77 20 21 3d 20 67 57 69 6e 64 6f 77 2e | itleFormat.=.gWindow.!=.gWindow. |
91e20 | 74 6f 70 20 3f 20 22 70 61 67 65 49 6e 66 6f 2e 66 72 61 6d 65 2e 74 69 74 6c 65 22 0a 20 20 20 | top.?."pageInfo.frame.title".... |
91e40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
91e60 | 20 20 20 20 20 20 20 20 3a 20 22 70 61 67 65 49 6e 66 6f 2e 70 61 67 65 2e 74 69 74 6c 65 22 3b | ........:."pageInfo.page.title"; |
91e80 | 0a 20 20 64 6f 63 75 6d 65 6e 74 2e 74 69 74 6c 65 20 3d 20 67 42 75 6e 64 6c 65 2e 67 65 74 46 | ...document.title.=.gBundle.getF |
91ea0 | 6f 72 6d 61 74 74 65 64 53 74 72 69 6e 67 28 74 69 74 6c 65 46 6f 72 6d 61 74 2c 20 5b 67 44 6f | ormattedString(titleFormat,.[gDo |
91ec0 | 63 75 6d 65 6e 74 2e 6c 6f 63 61 74 69 6f 6e 5d 29 3b 0a 0a 20 20 64 6f 63 75 6d 65 6e 74 2e 67 | cument.location]);....document.g |
91ee0 | 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 6d 61 69 6e 2d 77 69 6e 64 6f 77 22 29 2e 73 65 74 | etElementById("main-window").set |
91f00 | 41 74 74 72 69 62 75 74 65 28 22 72 65 6c 61 74 65 64 55 72 6c 22 2c 20 67 44 6f 63 75 6d 65 6e | Attribute("relatedUrl",.gDocumen |
91f20 | 74 2e 6c 6f 63 61 74 69 6f 6e 29 3b 0a 0a 20 20 2f 2f 20 64 6f 20 74 68 65 20 65 61 73 79 20 73 | t.location);....//.do.the.easy.s |
91f40 | 74 75 66 66 20 66 69 72 73 74 0a 20 20 6d 61 6b 65 47 65 6e 65 72 61 6c 54 61 62 28 29 3b 0a 0a | tuff.first...makeGeneralTab();.. |
91f60 | 20 20 2f 2f 20 61 6e 64 20 74 68 65 6e 20 74 68 65 20 68 61 72 64 20 73 74 75 66 66 0a 20 20 6d | ..//.and.then.the.hard.stuff...m |
91f80 | 61 6b 65 54 61 62 73 28 67 44 6f 63 75 6d 65 6e 74 2c 20 67 57 69 6e 64 6f 77 29 3b 0a 0a 20 20 | akeTabs(gDocument,.gWindow);.... |
91fa0 | 69 6e 69 74 46 65 65 64 54 61 62 28 29 3b 0a 20 20 6f 6e 4c 6f 61 64 50 65 72 6d 69 73 73 69 6f | initFeedTab();...onLoadPermissio |
91fc0 | 6e 28 29 3b 0a 0a 20 20 2f 2a 20 43 61 6c 6c 20 72 65 67 69 73 74 65 72 65 64 20 6f 76 65 72 6c | n();..../*.Call.registered.overl |
91fe0 | 61 79 20 69 6e 69 74 20 66 75 6e 63 74 69 6f 6e 73 20 2a 2f 0a 20 20 6f 6e 4c 6f 61 64 52 65 67 | ay.init.functions.*/...onLoadReg |
92000 | 69 73 74 72 79 2e 66 6f 72 45 61 63 68 28 66 75 6e 63 74 69 6f 6e 28 66 75 6e 63 29 20 7b 20 66 | istry.forEach(function(func).{.f |
92020 | 75 6e 63 28 29 3b 20 7d 29 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 72 65 73 65 74 50 61 67 65 | unc();.});.}..function.resetPage |
92040 | 49 6e 66 6f 28 29 0a 7b 0a 20 20 2f 2a 20 52 65 73 65 74 20 4d 65 74 61 20 74 61 67 73 20 70 61 | Info().{.../*.Reset.Meta.tags.pa |
92060 | 72 74 20 2a 2f 0a 20 20 67 4d 65 74 61 56 69 65 77 2e 63 6c 65 61 72 28 29 3b 0a 0a 20 20 2f 2a | rt.*/...gMetaView.clear();..../* |
92080 | 20 52 65 73 65 74 20 4d 65 64 69 61 20 74 61 62 20 2a 2f 0a 20 20 76 61 72 20 6d 65 64 69 61 54 | .Reset.Media.tab.*/...var.mediaT |
920a0 | 61 62 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 6d 65 | ab.=.document.getElementById("me |
920c0 | 64 69 61 54 61 62 22 29 3b 0a 20 20 69 66 20 28 21 6d 65 64 69 61 54 61 62 2e 68 69 64 64 65 6e | diaTab");...if.(!mediaTab.hidden |
920e0 | 29 20 7b 0a 20 20 20 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a | ).{.....Components.classes["@moz |
92100 | 69 6c 6c 61 2e 6f 72 67 2f 6f 62 73 65 72 76 65 72 2d 73 65 72 76 69 63 65 3b 31 22 5d 0a 20 20 | illa.org/observer-service;1"]... |
92120 | 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e | .............getService(Componen |
92140 | 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 4f 62 73 65 72 76 65 72 53 65 72 76 69 63 65 | ts.interfaces.nsIObserverService |
92160 | 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 72 65 6d 6f 76 65 4f 62 73 65 72 76 65 72 28 | )................removeObserver( |
92180 | 69 6d 61 67 65 50 65 72 6d 69 73 73 69 6f 6e 4f 62 73 65 72 76 65 72 2c 20 22 70 65 72 6d 2d 63 | imagePermissionObserver,."perm-c |
921a0 | 68 61 6e 67 65 64 22 29 3b 0a 20 20 20 20 6d 65 64 69 61 54 61 62 2e 68 69 64 64 65 6e 20 3d 20 | hanged");.....mediaTab.hidden.=. |
921c0 | 74 72 75 65 3b 0a 20 20 7d 0a 20 20 67 49 6d 61 67 65 56 69 65 77 2e 63 6c 65 61 72 28 29 3b 0a | true;...}...gImageView.clear();. |
921e0 | 20 20 67 49 6d 61 67 65 48 61 73 68 20 3d 20 7b 7d 3b 0a 0a 20 20 2f 2a 20 52 65 73 65 74 20 46 | ..gImageHash.=.{};..../*.Reset.F |
92200 | 65 65 64 73 20 54 61 62 20 2a 2f 0a 20 20 76 61 72 20 66 65 65 64 4c 69 73 74 62 6f 78 20 3d 20 | eeds.Tab.*/...var.feedListbox.=. |
92220 | 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 66 65 65 64 4c 69 73 | document.getElementById("feedLis |
92240 | 74 62 6f 78 22 29 3b 0a 20 20 77 68 69 6c 65 20 28 66 65 65 64 4c 69 73 74 62 6f 78 2e 66 69 72 | tbox");...while.(feedListbox.fir |
92260 | 73 74 43 68 69 6c 64 29 0a 20 20 20 20 66 65 65 64 4c 69 73 74 62 6f 78 2e 72 65 6d 6f 76 65 43 | stChild).....feedListbox.removeC |
92280 | 68 69 6c 64 28 66 65 65 64 4c 69 73 74 62 6f 78 2e 66 69 72 73 74 43 68 69 6c 64 29 3b 0a 0a 20 | hild(feedListbox.firstChild);... |
922a0 | 20 2f 2a 20 43 61 6c 6c 20 72 65 67 69 73 74 65 72 65 64 20 6f 76 65 72 6c 61 79 20 72 65 73 65 | ./*.Call.registered.overlay.rese |
922c0 | 74 20 66 75 6e 63 74 69 6f 6e 73 20 2a 2f 0a 20 20 6f 6e 52 65 73 65 74 52 65 67 69 73 74 72 79 | t.functions.*/...onResetRegistry |
922e0 | 2e 66 6f 72 45 61 63 68 28 66 75 6e 63 74 69 6f 6e 28 66 75 6e 63 29 20 7b 20 66 75 6e 63 28 29 | .forEach(function(func).{.func() |
92300 | 3b 20 7d 29 3b 0a 0a 20 20 2f 2a 20 41 6e 64 20 6c 65 74 27 73 20 72 65 62 75 69 6c 64 20 74 68 | ;.});..../*.And.let's.rebuild.th |
92320 | 65 20 64 61 74 61 20 2a 2f 0a 20 20 6c 6f 61 64 50 61 67 65 49 6e 66 6f 28 29 3b 0a 7d 0a 0a 66 | e.data.*/...loadPageInfo();.}..f |
92340 | 75 6e 63 74 69 6f 6e 20 6f 6e 55 6e 6c 6f 61 64 50 61 67 65 49 6e 66 6f 28 29 0a 7b 0a 20 20 2f | unction.onUnloadPageInfo().{.../ |
92360 | 2f 20 52 65 6d 6f 76 65 20 74 68 65 20 6f 62 73 65 72 76 65 72 2c 20 6f 6e 6c 79 20 69 66 20 74 | /.Remove.the.observer,.only.if.t |
92380 | 68 65 72 65 20 69 73 20 61 74 20 6c 65 61 73 74 20 31 20 69 6d 61 67 65 2e 0a 20 20 69 66 20 28 | here.is.at.least.1.image....if.( |
923a0 | 21 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 6d 65 64 69 61 54 | !document.getElementById("mediaT |
923c0 | 61 62 22 29 2e 68 69 64 64 65 6e 29 20 7b 0a 20 20 20 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c | ab").hidden).{.....Components.cl |
923e0 | 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6f 62 73 65 72 76 65 72 2d 73 65 72 | asses["@mozilla.org/observer-ser |
92400 | 76 69 63 65 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 | vice;1"]................getServi |
92420 | 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 4f 62 73 65 | ce(Components.interfaces.nsIObse |
92440 | 72 76 65 72 53 65 72 76 69 63 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 72 65 6d 6f | rverService)................remo |
92460 | 76 65 4f 62 73 65 72 76 65 72 28 69 6d 61 67 65 50 65 72 6d 69 73 73 69 6f 6e 4f 62 73 65 72 76 | veObserver(imagePermissionObserv |
92480 | 65 72 2c 20 22 70 65 72 6d 2d 63 68 61 6e 67 65 64 22 29 3b 0a 20 20 7d 0a 0a 20 20 2f 2a 20 43 | er,."perm-changed");...}..../*.C |
924a0 | 61 6c 6c 20 72 65 67 69 73 74 65 72 65 64 20 6f 76 65 72 6c 61 79 20 75 6e 6c 6f 61 64 20 66 75 | all.registered.overlay.unload.fu |
924c0 | 6e 63 74 69 6f 6e 73 20 2a 2f 0a 20 20 6f 6e 55 6e 6c 6f 61 64 52 65 67 69 73 74 72 79 2e 66 6f | nctions.*/...onUnloadRegistry.fo |
924e0 | 72 45 61 63 68 28 66 75 6e 63 74 69 6f 6e 28 66 75 6e 63 29 20 7b 20 66 75 6e 63 28 29 3b 20 7d | rEach(function(func).{.func();.} |
92500 | 29 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 64 6f 48 65 6c 70 42 75 74 74 6f 6e 28 29 0a 7b 0a | );.}..function.doHelpButton().{. |
92520 | 20 20 63 6f 6e 73 74 20 68 65 6c 70 54 6f 70 69 63 73 20 3d 20 7b 0a 20 20 20 20 22 67 65 6e 65 | ..const.helpTopics.=.{....."gene |
92540 | 72 61 6c 50 61 6e 65 6c 22 3a 20 20 22 70 61 67 65 69 6e 66 6f 5f 67 65 6e 65 72 61 6c 22 2c 0a | ralPanel":.."pageinfo_general",. |
92560 | 20 20 20 20 22 6d 65 64 69 61 50 61 6e 65 6c 22 3a 20 20 20 20 22 70 61 67 65 69 6e 66 6f 5f 6d | ...."mediaPanel":...."pageinfo_m |
92580 | 65 64 69 61 22 2c 0a 20 20 20 20 22 66 65 65 64 50 61 6e 65 6c 22 3a 20 20 20 20 20 22 70 61 67 | edia",....."feedPanel":....."pag |
925a0 | 65 69 6e 66 6f 5f 66 65 65 64 22 2c 0a 20 20 20 20 22 70 65 72 6d 50 61 6e 65 6c 22 3a 20 20 20 | einfo_feed",....."permPanel":... |
925c0 | 20 20 22 70 61 67 65 69 6e 66 6f 5f 70 65 72 6d 69 73 73 69 6f 6e 73 22 2c 0a 20 20 20 20 22 73 | .."pageinfo_permissions",....."s |
925e0 | 65 63 75 72 69 74 79 50 61 6e 65 6c 22 3a 20 22 70 61 67 65 69 6e 66 6f 5f 73 65 63 75 72 69 74 | ecurityPanel":."pageinfo_securit |
92600 | 79 22 0a 20 20 7d 3b 0a 0a 20 20 76 61 72 20 64 65 63 6b 20 20 3d 20 64 6f 63 75 6d 65 6e 74 2e | y"...};....var.deck..=.document. |
92620 | 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 6d 61 69 6e 44 65 63 6b 22 29 3b 0a 20 20 76 61 | getElementById("mainDeck");...va |
92640 | 72 20 68 65 6c 70 64 6f 63 20 3d 20 68 65 6c 70 54 6f 70 69 63 73 5b 64 65 63 6b 2e 73 65 6c 65 | r.helpdoc.=.helpTopics[deck.sele |
92660 | 63 74 65 64 50 61 6e 65 6c 2e 69 64 5d 20 7c 7c 20 22 70 61 67 65 69 6e 66 6f 5f 67 65 6e 65 72 | ctedPanel.id].||."pageinfo_gener |
92680 | 61 6c 22 3b 0a 20 20 6f 70 65 6e 48 65 6c 70 4c 69 6e 6b 28 68 65 6c 70 64 6f 63 29 3b 0a 7d 0a | al";...openHelpLink(helpdoc);.}. |
926a0 | 0a 66 75 6e 63 74 69 6f 6e 20 73 68 6f 77 54 61 62 28 69 64 29 0a 7b 0a 20 20 76 61 72 20 64 65 | .function.showTab(id).{...var.de |
926c0 | 63 6b 20 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 6d | ck..=.document.getElementById("m |
926e0 | 61 69 6e 44 65 63 6b 22 29 3b 0a 20 20 76 61 72 20 70 61 67 65 6c 20 3d 20 64 6f 63 75 6d 65 6e | ainDeck");...var.pagel.=.documen |
92700 | 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 69 64 20 2b 20 22 50 61 6e 65 6c 22 29 3b 0a | t.getElementById(id.+."Panel");. |
92720 | 20 20 64 65 63 6b 2e 73 65 6c 65 63 74 65 64 50 61 6e 65 6c 20 3d 20 70 61 67 65 6c 3b 0a 7d 0a | ..deck.selectedPanel.=.pagel;.}. |
92740 | 0a 66 75 6e 63 74 69 6f 6e 20 6f 6e 43 6c 69 63 6b 4d 6f 72 65 28 29 0a 7b 0a 20 20 76 61 72 20 | .function.onClickMore().{...var. |
92760 | 72 61 64 69 6f 47 72 70 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 | radioGrp.=.document.getElementBy |
92780 | 49 64 28 22 76 69 65 77 47 72 6f 75 70 22 29 3b 0a 20 20 76 61 72 20 72 61 64 69 6f 45 6c 74 20 | Id("viewGroup");...var.radioElt. |
927a0 | 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 73 65 63 75 72 | =.document.getElementById("secur |
927c0 | 69 74 79 54 61 62 22 29 3b 0a 20 20 72 61 64 69 6f 47 72 70 2e 73 65 6c 65 63 74 65 64 49 74 65 | ityTab");...radioGrp.selectedIte |
927e0 | 6d 20 3d 20 72 61 64 69 6f 45 6c 74 3b 0a 20 20 73 68 6f 77 54 61 62 28 27 73 65 63 75 72 69 74 | m.=.radioElt;...showTab('securit |
92800 | 79 27 29 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 74 6f 67 67 6c 65 47 72 6f 75 70 62 6f 78 28 | y');.}..function.toggleGroupbox( |
92820 | 69 64 29 0a 7b 0a 20 20 76 61 72 20 65 6c 74 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c | id).{...var.elt.=.document.getEl |
92840 | 65 6d 65 6e 74 42 79 49 64 28 69 64 29 3b 0a 20 20 69 66 20 28 65 6c 74 2e 68 61 73 41 74 74 72 | ementById(id);...if.(elt.hasAttr |
92860 | 69 62 75 74 65 28 22 63 6c 6f 73 65 64 22 29 29 20 7b 0a 20 20 20 20 65 6c 74 2e 72 65 6d 6f 76 | ibute("closed")).{.....elt.remov |
92880 | 65 41 74 74 72 69 62 75 74 65 28 22 63 6c 6f 73 65 64 22 29 3b 0a 20 20 20 20 69 66 20 28 65 6c | eAttribute("closed");.....if.(el |
928a0 | 74 2e 66 6c 65 78 57 68 65 6e 4f 70 65 6e 65 64 29 0a 20 20 20 20 20 20 65 6c 74 2e 66 6c 65 78 | t.flexWhenOpened).......elt.flex |
928c0 | 20 3d 20 65 6c 74 2e 66 6c 65 78 57 68 65 6e 4f 70 65 6e 65 64 3b 0a 20 20 7d 0a 20 20 65 6c 73 | .=.elt.flexWhenOpened;...}...els |
928e0 | 65 20 7b 0a 20 20 20 20 65 6c 74 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 63 6c 6f 73 65 64 | e.{.....elt.setAttribute("closed |
92900 | 22 2c 20 22 74 72 75 65 22 29 3b 0a 20 20 20 20 69 66 20 28 65 6c 74 2e 66 6c 65 78 29 20 7b 0a | ",."true");.....if.(elt.flex).{. |
92920 | 20 20 20 20 20 20 65 6c 74 2e 66 6c 65 78 57 68 65 6e 4f 70 65 6e 65 64 20 3d 20 65 6c 74 2e 66 | ......elt.flexWhenOpened.=.elt.f |
92940 | 6c 65 78 3b 0a 20 20 20 20 20 20 65 6c 74 2e 66 6c 65 78 20 3d 20 30 3b 0a 20 20 20 20 7d 0a 20 | lex;.......elt.flex.=.0;.....}.. |
92960 | 20 7d 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 6d 61 6b 65 47 65 6e 65 72 61 6c 54 61 62 28 29 0a | .}.}..function.makeGeneralTab(). |
92980 | 7b 0a 20 20 76 61 72 20 74 69 74 6c 65 20 3d 20 28 67 44 6f 63 75 6d 65 6e 74 2e 74 69 74 6c 65 | {...var.title.=.(gDocument.title |
929a0 | 29 20 3f 20 67 42 75 6e 64 6c 65 2e 67 65 74 46 6f 72 6d 61 74 74 65 64 53 74 72 69 6e 67 28 22 | ).?.gBundle.getFormattedString(" |
929c0 | 70 61 67 65 54 69 74 6c 65 22 2c 20 5b 67 44 6f 63 75 6d 65 6e 74 2e 74 69 74 6c 65 5d 29 20 3a | pageTitle",.[gDocument.title]).: |
929e0 | 20 67 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 6e 6f 50 61 67 65 54 69 74 6c 65 22 | .gBundle.getString("noPageTitle" |
92a00 | 29 3b 0a 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 74 69 | );...document.getElementById("ti |
92a20 | 74 6c 65 74 65 78 74 22 29 2e 76 61 6c 75 65 20 3d 20 74 69 74 6c 65 3b 0a 0a 20 20 76 61 72 20 | tletext").value.=.title;....var. |
92a40 | 75 72 6c 20 3d 20 67 44 6f 63 75 6d 65 6e 74 2e 6c 6f 63 61 74 69 6f 6e 2e 74 6f 53 74 72 69 6e | url.=.gDocument.location.toStrin |
92a60 | 67 28 29 3b 0a 20 20 73 65 74 49 74 65 6d 56 61 6c 75 65 28 22 75 72 6c 74 65 78 74 22 2c 20 75 | g();...setItemValue("urltext",.u |
92a80 | 72 6c 29 3b 0a 0a 20 20 76 61 72 20 72 65 66 65 72 72 65 72 20 3d 20 28 22 72 65 66 65 72 72 65 | rl);....var.referrer.=.("referre |
92aa0 | 72 22 20 69 6e 20 67 44 6f 63 75 6d 65 6e 74 20 26 26 20 67 44 6f 63 75 6d 65 6e 74 2e 72 65 66 | r".in.gDocument.&&.gDocument.ref |
92ac0 | 65 72 72 65 72 29 3b 0a 20 20 73 65 74 49 74 65 6d 56 61 6c 75 65 28 22 72 65 66 65 72 74 65 78 | errer);...setItemValue("refertex |
92ae0 | 74 22 2c 20 72 65 66 65 72 72 65 72 29 3b 0a 0a 20 20 76 61 72 20 6d 6f 64 65 20 3d 20 28 22 63 | t",.referrer);....var.mode.=.("c |
92b00 | 6f 6d 70 61 74 4d 6f 64 65 22 20 69 6e 20 67 44 6f 63 75 6d 65 6e 74 20 26 26 20 67 44 6f 63 75 | ompatMode".in.gDocument.&&.gDocu |
92b20 | 6d 65 6e 74 2e 63 6f 6d 70 61 74 4d 6f 64 65 20 3d 3d 20 22 42 61 63 6b 43 6f 6d 70 61 74 22 29 | ment.compatMode.==."BackCompat") |
92b40 | 20 3f 20 22 67 65 6e 65 72 61 6c 51 75 69 72 6b 73 4d 6f 64 65 22 20 3a 20 22 67 65 6e 65 72 61 | .?."generalQuirksMode".:."genera |
92b60 | 6c 53 74 72 69 63 74 4d 6f 64 65 22 3b 0a 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d | lStrictMode";...document.getElem |
92b80 | 65 6e 74 42 79 49 64 28 22 6d 6f 64 65 74 65 78 74 22 29 2e 76 61 6c 75 65 20 3d 20 67 42 75 6e | entById("modetext").value.=.gBun |
92ba0 | 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 6d 6f 64 65 29 3b 0a 0a 20 20 2f 2f 20 66 69 6e 64 20 | dle.getString(mode);....//.find. |
92bc0 | 6f 75 74 20 74 68 65 20 6d 69 6d 65 20 74 79 70 65 0a 20 20 76 61 72 20 6d 69 6d 65 54 79 70 65 | out.the.mime.type...var.mimeType |
92be0 | 20 3d 20 67 44 6f 63 75 6d 65 6e 74 2e 63 6f 6e 74 65 6e 74 54 79 70 65 3b 0a 20 20 73 65 74 49 | .=.gDocument.contentType;...setI |
92c00 | 74 65 6d 56 61 6c 75 65 28 22 74 79 70 65 74 65 78 74 22 2c 20 6d 69 6d 65 54 79 70 65 29 3b 0a | temValue("typetext",.mimeType);. |
92c20 | 0a 20 20 2f 2f 20 67 65 74 20 74 68 65 20 64 6f 63 75 6d 65 6e 74 20 63 68 61 72 61 63 74 65 72 | ...//.get.the.document.character |
92c40 | 73 65 74 0a 20 20 76 61 72 20 65 6e 63 6f 64 69 6e 67 20 3d 20 67 44 6f 63 75 6d 65 6e 74 2e 63 | set...var.encoding.=.gDocument.c |
92c60 | 68 61 72 61 63 74 65 72 53 65 74 3b 0a 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 | haracterSet;...document.getEleme |
92c80 | 6e 74 42 79 49 64 28 22 65 6e 63 6f 64 69 6e 67 74 65 78 74 22 29 2e 76 61 6c 75 65 20 3d 20 65 | ntById("encodingtext").value.=.e |
92ca0 | 6e 63 6f 64 69 6e 67 3b 0a 0a 20 20 2f 2f 20 67 65 74 20 74 68 65 20 6d 65 74 61 20 74 61 67 73 | ncoding;....//.get.the.meta.tags |
92cc0 | 0a 20 20 76 61 72 20 6d 65 74 61 4e 6f 64 65 73 20 3d 20 67 44 6f 63 75 6d 65 6e 74 2e 67 65 74 | ...var.metaNodes.=.gDocument.get |
92ce0 | 45 6c 65 6d 65 6e 74 73 42 79 54 61 67 4e 61 6d 65 28 22 6d 65 74 61 22 29 3b 0a 20 20 76 61 72 | ElementsByTagName("meta");...var |
92d00 | 20 6c 65 6e 67 74 68 20 3d 20 6d 65 74 61 4e 6f 64 65 73 2e 6c 65 6e 67 74 68 3b 0a 0a 20 20 76 | .length.=.metaNodes.length;....v |
92d20 | 61 72 20 6d 65 74 61 47 72 6f 75 70 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 | ar.metaGroup.=.document.getEleme |
92d40 | 6e 74 42 79 49 64 28 22 6d 65 74 61 54 61 67 73 22 29 3b 0a 20 20 69 66 20 28 21 6c 65 6e 67 74 | ntById("metaTags");...if.(!lengt |
92d60 | 68 29 0a 20 20 20 20 6d 65 74 61 47 72 6f 75 70 2e 63 6f 6c 6c 61 70 73 65 64 20 3d 20 74 72 75 | h).....metaGroup.collapsed.=.tru |
92d80 | 65 3b 0a 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 76 61 72 20 6d 65 74 61 54 61 67 73 43 61 70 74 | e;...else.{.....var.metaTagsCapt |
92da0 | 69 6f 6e 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 6d | ion.=.document.getElementById("m |
92dc0 | 65 74 61 54 61 67 73 43 61 70 74 69 6f 6e 22 29 3b 0a 20 20 20 20 69 66 20 28 6c 65 6e 67 74 68 | etaTagsCaption");.....if.(length |
92de0 | 20 3d 3d 20 31 29 0a 20 20 20 20 20 20 6d 65 74 61 54 61 67 73 43 61 70 74 69 6f 6e 2e 6c 61 62 | .==.1).......metaTagsCaption.lab |
92e00 | 65 6c 20 3d 20 67 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 67 65 6e 65 72 61 6c 4d | el.=.gBundle.getString("generalM |
92e20 | 65 74 61 54 61 67 22 29 3b 0a 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 6d 65 74 61 54 61 67 | etaTag");.....else.......metaTag |
92e40 | 73 43 61 70 74 69 6f 6e 2e 6c 61 62 65 6c 20 3d 20 67 42 75 6e 64 6c 65 2e 67 65 74 46 6f 72 6d | sCaption.label.=.gBundle.getForm |
92e60 | 61 74 74 65 64 53 74 72 69 6e 67 28 22 67 65 6e 65 72 61 6c 4d 65 74 61 54 61 67 73 22 2c 20 5b | attedString("generalMetaTags",.[ |
92e80 | 6c 65 6e 67 74 68 5d 29 3b 0a 20 20 20 20 76 61 72 20 6d 65 74 61 54 72 65 65 20 3d 20 64 6f 63 | length]);.....var.metaTree.=.doc |
92ea0 | 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 6d 65 74 61 74 72 65 65 22 29 | ument.getElementById("metatree") |
92ec0 | 3b 0a 20 20 20 20 6d 65 74 61 54 72 65 65 2e 74 72 65 65 42 6f 78 4f 62 6a 65 63 74 2e 76 69 65 | ;.....metaTree.treeBoxObject.vie |
92ee0 | 77 20 3d 20 67 4d 65 74 61 56 69 65 77 3b 0a 0a 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d | w.=.gMetaView;......for.(var.i.= |
92f00 | 20 30 3b 20 69 20 3c 20 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 0a 20 20 20 20 20 20 67 4d 65 74 61 | .0;.i.<.length;.i++).......gMeta |
92f20 | 56 69 65 77 2e 61 64 64 52 6f 77 28 5b 6d 65 74 61 4e 6f 64 65 73 5b 69 5d 2e 6e 61 6d 65 20 7c | View.addRow([metaNodes[i].name.| |
92f40 | 7c 20 6d 65 74 61 4e 6f 64 65 73 5b 69 5d 2e 68 74 74 70 45 71 75 69 76 2c 20 6d 65 74 61 4e 6f | |.metaNodes[i].httpEquiv,.metaNo |
92f60 | 64 65 73 5b 69 5d 2e 63 6f 6e 74 65 6e 74 5d 29 3b 0a 0a 20 20 20 20 6d 65 74 61 47 72 6f 75 70 | des[i].content]);......metaGroup |
92f80 | 2e 63 6f 6c 6c 61 70 73 65 64 20 3d 20 66 61 6c 73 65 3b 0a 20 20 7d 0a 0a 20 20 2f 2f 20 67 65 | .collapsed.=.false;...}....//.ge |
92fa0 | 74 20 74 68 65 20 64 61 74 65 20 6f 66 20 6c 61 73 74 20 6d 6f 64 69 66 69 63 61 74 69 6f 6e 0a | t.the.date.of.last.modification. |
92fc0 | 20 20 76 61 72 20 6d 6f 64 69 66 69 65 64 54 65 78 74 20 3d 20 66 6f 72 6d 61 74 44 61 74 65 28 | ..var.modifiedText.=.formatDate( |
92fe0 | 67 44 6f 63 75 6d 65 6e 74 2e 6c 61 73 74 4d 6f 64 69 66 69 65 64 2c 20 67 53 74 72 69 6e 67 73 | gDocument.lastModified,.gStrings |
93000 | 2e 6e 6f 74 53 65 74 29 3b 0a 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 | .notSet);...document.getElementB |
93020 | 79 49 64 28 22 6d 6f 64 69 66 69 65 64 74 65 78 74 22 29 2e 76 61 6c 75 65 20 3d 20 6d 6f 64 69 | yId("modifiedtext").value.=.modi |
93040 | 66 69 65 64 54 65 78 74 3b 0a 0a 20 20 2f 2f 20 67 65 74 20 63 61 63 68 65 20 69 6e 66 6f 0a 20 | fiedText;....//.get.cache.info.. |
93060 | 20 76 61 72 20 63 61 63 68 65 4b 65 79 20 3d 20 75 72 6c 2e 72 65 70 6c 61 63 65 28 2f 23 2e 2a | .var.cacheKey.=.url.replace(/#.* |
93080 | 24 2f 2c 20 22 22 29 3b 0a 20 20 74 72 79 20 7b 0a 20 20 20 20 76 61 72 20 63 61 63 68 65 45 6e | $/,."");...try.{.....var.cacheEn |
930a0 | 74 72 79 44 65 73 63 72 69 70 74 6f 72 20 3d 20 68 74 74 70 43 61 63 68 65 53 65 73 73 69 6f 6e | tryDescriptor.=.httpCacheSession |
930c0 | 2e 6f 70 65 6e 43 61 63 68 65 45 6e 74 72 79 28 63 61 63 68 65 4b 65 79 2c 20 41 43 43 45 53 53 | .openCacheEntry(cacheKey,.ACCESS |
930e0 | 5f 52 45 41 44 2c 20 66 61 6c 73 65 29 3b 0a 20 20 7d 0a 20 20 63 61 74 63 68 28 65 78 29 20 7b | _READ,.false);...}...catch(ex).{ |
93100 | 0a 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 63 61 63 68 65 45 6e 74 72 79 44 65 73 63 72 | .....try.{.......cacheEntryDescr |
93120 | 69 70 74 6f 72 20 3d 20 66 74 70 43 61 63 68 65 53 65 73 73 69 6f 6e 2e 6f 70 65 6e 43 61 63 68 | iptor.=.ftpCacheSession.openCach |
93140 | 65 45 6e 74 72 79 28 63 61 63 68 65 4b 65 79 2c 20 41 43 43 45 53 53 5f 52 45 41 44 2c 20 66 61 | eEntry(cacheKey,.ACCESS_READ,.fa |
93160 | 6c 73 65 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 63 61 74 63 68 28 65 78 32 29 20 7b 20 7d 0a 20 | lse);.....}.....catch(ex2).{.}.. |
93180 | 20 7d 0a 0a 20 20 76 61 72 20 73 69 7a 65 54 65 78 74 3b 0a 20 20 69 66 20 28 63 61 63 68 65 45 | .}....var.sizeText;...if.(cacheE |
931a0 | 6e 74 72 79 44 65 73 63 72 69 70 74 6f 72 29 20 7b 0a 20 20 20 20 76 61 72 20 70 61 67 65 53 69 | ntryDescriptor).{.....var.pageSi |
931c0 | 7a 65 20 3d 20 63 61 63 68 65 45 6e 74 72 79 44 65 73 63 72 69 70 74 6f 72 2e 64 61 74 61 53 69 | ze.=.cacheEntryDescriptor.dataSi |
931e0 | 7a 65 3b 0a 20 20 20 20 76 61 72 20 6b 62 53 69 7a 65 20 3d 20 66 6f 72 6d 61 74 4e 75 6d 62 65 | ze;.....var.kbSize.=.formatNumbe |
93200 | 72 28 4d 61 74 68 2e 72 6f 75 6e 64 28 70 61 67 65 53 69 7a 65 20 2f 20 31 30 32 34 20 2a 20 31 | r(Math.round(pageSize./.1024.*.1 |
93220 | 30 30 29 20 2f 20 31 30 30 29 3b 0a 20 20 20 20 73 69 7a 65 54 65 78 74 20 3d 20 67 42 75 6e 64 | 00)./.100);.....sizeText.=.gBund |
93240 | 6c 65 2e 67 65 74 46 6f 72 6d 61 74 74 65 64 53 74 72 69 6e 67 28 22 67 65 6e 65 72 61 6c 53 69 | le.getFormattedString("generalSi |
93260 | 7a 65 22 2c 20 5b 6b 62 53 69 7a 65 2c 20 66 6f 72 6d 61 74 4e 75 6d 62 65 72 28 70 61 67 65 53 | ze",.[kbSize,.formatNumber(pageS |
93280 | 69 7a 65 29 5d 29 3b 0a 20 20 7d 0a 20 20 73 65 74 49 74 65 6d 56 61 6c 75 65 28 22 73 69 7a 65 | ize)]);...}...setItemValue("size |
932a0 | 74 65 78 74 22 2c 20 73 69 7a 65 54 65 78 74 29 3b 0a 0a 20 20 73 65 63 75 72 69 74 79 4f 6e 4c | text",.sizeText);....securityOnL |
932c0 | 6f 61 64 28 29 3b 0a 7d 0a 0a 2f 2f 2a 2a 2a 2a 2a 2a 2a 2a 20 47 65 6e 65 72 69 63 20 42 75 69 | oad();.}..//********.Generic.Bui |
932e0 | 6c 64 2d 61 2d 74 61 62 0a 2f 2f 20 41 73 73 75 6d 65 73 20 74 68 65 20 76 69 65 77 73 20 61 72 | ld-a-tab.//.Assumes.the.views.ar |
93300 | 65 20 65 6d 70 74 79 2e 20 4f 6e 6c 79 20 63 61 6c 6c 65 64 20 6f 6e 63 65 20 74 6f 20 62 75 69 | e.empty..Only.called.once.to.bui |
93320 | 6c 64 20 74 68 65 20 74 61 62 73 2c 20 61 6e 64 0a 2f 2f 20 64 6f 65 73 20 73 6f 20 62 79 20 66 | ld.the.tabs,.and.//.does.so.by.f |
93340 | 61 72 6d 69 6e 67 20 74 68 65 20 74 61 73 6b 20 6f 66 66 20 74 6f 20 61 6e 6f 74 68 65 72 20 74 | arming.the.task.off.to.another.t |
93360 | 68 72 65 61 64 20 76 69 61 20 73 65 74 54 69 6d 65 6f 75 74 28 29 2e 0a 2f 2f 20 54 68 65 20 61 | hread.via.setTimeout()..//.The.a |
93380 | 63 74 75 61 6c 20 77 6f 72 6b 20 69 73 20 64 6f 6e 65 20 77 69 74 68 20 61 20 54 72 65 65 57 61 | ctual.work.is.done.with.a.TreeWa |
933a0 | 6c 6b 65 72 20 74 68 61 74 20 63 61 6c 6c 73 20 64 6f 47 72 61 62 28 29 20 6f 6e 63 65 20 66 6f | lker.that.calls.doGrab().once.fo |
933c0 | 72 0a 2f 2f 20 65 61 63 68 20 65 6c 65 6d 65 6e 74 20 6e 6f 64 65 20 69 6e 20 74 68 65 20 64 6f | r.//.each.element.node.in.the.do |
933e0 | 63 75 6d 65 6e 74 2e 0a 0a 76 61 72 20 67 46 72 61 6d 65 4c 69 73 74 20 3d 20 5b 20 5d 3b 0a 0a | cument...var.gFrameList.=.[.];.. |
93400 | 66 75 6e 63 74 69 6f 6e 20 6d 61 6b 65 54 61 62 73 28 61 44 6f 63 75 6d 65 6e 74 2c 20 61 57 69 | function.makeTabs(aDocument,.aWi |
93420 | 6e 64 6f 77 29 0a 7b 0a 20 20 67 6f 54 68 72 6f 75 67 68 46 72 61 6d 65 73 28 61 44 6f 63 75 6d | ndow).{...goThroughFrames(aDocum |
93440 | 65 6e 74 2c 20 61 57 69 6e 64 6f 77 29 3b 0a 20 20 70 72 6f 63 65 73 73 46 72 61 6d 65 73 28 29 | ent,.aWindow);...processFrames() |
93460 | 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 67 6f 54 68 72 6f 75 67 68 46 72 61 6d 65 73 28 61 44 | ;.}..function.goThroughFrames(aD |
93480 | 6f 63 75 6d 65 6e 74 2c 20 61 57 69 6e 64 6f 77 29 0a 7b 0a 20 20 67 46 72 61 6d 65 4c 69 73 74 | ocument,.aWindow).{...gFrameList |
934a0 | 2e 70 75 73 68 28 61 44 6f 63 75 6d 65 6e 74 29 3b 0a 20 20 69 66 20 28 61 57 69 6e 64 6f 77 20 | .push(aDocument);...if.(aWindow. |
934c0 | 26 26 20 61 57 69 6e 64 6f 77 2e 66 72 61 6d 65 73 2e 6c 65 6e 67 74 68 20 3e 20 30 29 20 7b 0a | &&.aWindow.frames.length.>.0).{. |
934e0 | 20 20 20 20 76 61 72 20 6e 75 6d 20 3d 20 61 57 69 6e 64 6f 77 2e 66 72 61 6d 65 73 2e 6c 65 6e | ....var.num.=.aWindow.frames.len |
93500 | 67 74 68 3b 0a 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 6e 75 6d | gth;.....for.(var.i.=.0;.i.<.num |
93520 | 3b 20 69 2b 2b 29 0a 20 20 20 20 20 20 67 6f 54 68 72 6f 75 67 68 46 72 61 6d 65 73 28 61 57 69 | ;.i++).......goThroughFrames(aWi |
93540 | 6e 64 6f 77 2e 66 72 61 6d 65 73 5b 69 5d 2e 64 6f 63 75 6d 65 6e 74 2c 20 61 57 69 6e 64 6f 77 | ndow.frames[i].document,.aWindow |
93560 | 2e 66 72 61 6d 65 73 5b 69 5d 29 3b 20 20 2f 2f 20 72 65 63 75 72 73 65 20 74 68 72 6f 75 67 68 | .frames[i]);..//.recurse.through |
93580 | 20 74 68 65 20 66 72 61 6d 65 73 0a 20 20 7d 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 70 72 6f 63 | .the.frames...}.}..function.proc |
935a0 | 65 73 73 46 72 61 6d 65 73 28 29 0a 7b 0a 20 20 69 66 20 28 67 46 72 61 6d 65 4c 69 73 74 2e 6c | essFrames().{...if.(gFrameList.l |
935c0 | 65 6e 67 74 68 29 20 7b 0a 20 20 20 20 76 61 72 20 64 6f 63 20 3d 20 67 46 72 61 6d 65 4c 69 73 | ength).{.....var.doc.=.gFrameLis |
935e0 | 74 5b 30 5d 3b 0a 20 20 20 20 6f 6e 50 72 6f 63 65 73 73 46 72 61 6d 65 2e 66 6f 72 45 61 63 68 | t[0];.....onProcessFrame.forEach |
93600 | 28 66 75 6e 63 74 69 6f 6e 28 66 75 6e 63 29 20 7b 20 66 75 6e 63 28 64 6f 63 29 3b 20 7d 29 3b | (function(func).{.func(doc);.}); |
93620 | 0a 20 20 20 20 76 61 72 20 69 74 65 72 61 74 6f 72 20 3d 20 64 6f 63 2e 63 72 65 61 74 65 54 72 | .....var.iterator.=.doc.createTr |
93640 | 65 65 57 61 6c 6b 65 72 28 64 6f 63 2c 20 4e 6f 64 65 46 69 6c 74 65 72 2e 53 48 4f 57 5f 45 4c | eeWalker(doc,.NodeFilter.SHOW_EL |
93660 | 45 4d 45 4e 54 2c 20 67 72 61 62 41 6c 6c 2c 20 74 72 75 65 29 3b 0a 20 20 20 20 67 46 72 61 6d | EMENT,.grabAll,.true);.....gFram |
93680 | 65 4c 69 73 74 2e 73 68 69 66 74 28 29 3b 0a 20 20 20 20 73 65 74 54 69 6d 65 6f 75 74 28 64 6f | eList.shift();.....setTimeout(do |
936a0 | 47 72 61 62 2c 20 31 36 2c 20 69 74 65 72 61 74 6f 72 29 3b 0a 20 20 7d 0a 20 20 65 6c 73 65 0a | Grab,.16,.iterator);...}...else. |
936c0 | 20 20 20 20 6f 6e 46 69 6e 69 73 68 65 64 2e 66 6f 72 45 61 63 68 28 66 75 6e 63 74 69 6f 6e 28 | ....onFinished.forEach(function( |
936e0 | 66 75 6e 63 29 20 7b 20 66 75 6e 63 28 29 3b 20 7d 29 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 | func).{.func();.});.}..function. |
93700 | 64 6f 47 72 61 62 28 69 74 65 72 61 74 6f 72 29 0a 7b 0a 20 20 66 6f 72 20 28 76 61 72 20 69 20 | doGrab(iterator).{...for.(var.i. |
93720 | 3d 20 30 3b 20 69 20 3c 20 35 30 3b 20 2b 2b 69 29 0a 20 20 20 20 69 66 20 28 21 69 74 65 72 61 | =.0;.i.<.50;.++i).....if.(!itera |
93740 | 74 6f 72 2e 6e 65 78 74 4e 6f 64 65 28 29 29 20 7b 0a 20 20 20 20 20 20 70 72 6f 63 65 73 73 46 | tor.nextNode()).{.......processF |
93760 | 72 61 6d 65 73 28 29 3b 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 20 20 7d 0a 0a 20 20 | rames();.......return;.....}.... |
93780 | 73 65 74 54 69 6d 65 6f 75 74 28 64 6f 47 72 61 62 2c 20 31 36 2c 20 69 74 65 72 61 74 6f 72 29 | setTimeout(doGrab,.16,.iterator) |
937a0 | 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 65 6e 73 75 72 65 53 65 6c 65 63 74 69 6f 6e 28 76 69 | ;.}..function.ensureSelection(vi |
937c0 | 65 77 29 0a 7b 0a 20 20 2f 2f 20 6f 6e 6c 79 20 73 65 6c 65 63 74 20 73 6f 6d 65 74 68 69 6e 67 | ew).{...//.only.select.something |
937e0 | 20 69 66 20 6e 6f 74 68 69 6e 67 20 69 73 20 63 75 72 72 65 6e 74 6c 79 20 73 65 6c 65 63 74 65 | .if.nothing.is.currently.selecte |
93800 | 64 0a 20 20 2f 2f 20 61 6e 64 20 69 66 20 74 68 65 72 65 27 73 20 61 6e 79 74 68 69 6e 67 20 74 | d...//.and.if.there's.anything.t |
93820 | 6f 20 73 65 6c 65 63 74 0a 20 20 69 66 20 28 76 69 65 77 2e 73 65 6c 65 63 74 69 6f 6e 2e 63 6f | o.select...if.(view.selection.co |
93840 | 75 6e 74 20 3d 3d 20 30 20 26 26 20 76 69 65 77 2e 72 6f 77 43 6f 75 6e 74 29 0a 20 20 20 20 76 | unt.==.0.&&.view.rowCount).....v |
93860 | 69 65 77 2e 73 65 6c 65 63 74 69 6f 6e 2e 73 65 6c 65 63 74 28 30 29 3b 0a 7d 0a 0a 66 75 6e 63 | iew.selection.select(0);.}..func |
93880 | 74 69 6f 6e 20 61 64 64 49 6d 61 67 65 28 75 72 6c 2c 20 74 79 70 65 2c 20 61 6c 74 2c 20 65 6c | tion.addImage(url,.type,.alt,.el |
938a0 | 65 6d 2c 20 69 73 42 67 29 0a 7b 0a 20 20 69 66 20 28 21 75 72 6c 29 0a 20 20 20 20 72 65 74 75 | em,.isBg).{...if.(!url).....retu |
938c0 | 72 6e 3b 0a 0a 20 20 69 66 20 28 21 67 49 6d 61 67 65 48 61 73 68 2e 68 61 73 4f 77 6e 50 72 6f | rn;....if.(!gImageHash.hasOwnPro |
938e0 | 70 65 72 74 79 28 75 72 6c 29 29 0a 20 20 20 20 67 49 6d 61 67 65 48 61 73 68 5b 75 72 6c 5d 20 | perty(url)).....gImageHash[url]. |
93900 | 3d 20 7b 20 7d 3b 0a 20 20 69 66 20 28 21 67 49 6d 61 67 65 48 61 73 68 5b 75 72 6c 5d 2e 68 61 | =.{.};...if.(!gImageHash[url].ha |
93920 | 73 4f 77 6e 50 72 6f 70 65 72 74 79 28 74 79 70 65 29 29 0a 20 20 20 20 67 49 6d 61 67 65 48 61 | sOwnProperty(type)).....gImageHa |
93940 | 73 68 5b 75 72 6c 5d 5b 74 79 70 65 5d 20 3d 20 7b 20 7d 3b 0a 20 20 69 66 20 28 21 67 49 6d 61 | sh[url][type].=.{.};...if.(!gIma |
93960 | 67 65 48 61 73 68 5b 75 72 6c 5d 5b 74 79 70 65 5d 2e 68 61 73 4f 77 6e 50 72 6f 70 65 72 74 79 | geHash[url][type].hasOwnProperty |
93980 | 28 61 6c 74 29 29 20 7b 0a 20 20 20 20 67 49 6d 61 67 65 48 61 73 68 5b 75 72 6c 5d 5b 74 79 70 | (alt)).{.....gImageHash[url][typ |
939a0 | 65 5d 5b 61 6c 74 5d 20 3d 20 67 49 6d 61 67 65 56 69 65 77 2e 64 61 74 61 2e 6c 65 6e 67 74 68 | e][alt].=.gImageView.data.length |
939c0 | 3b 0a 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 2f 2f 20 6f 70 65 6e 20 66 6f 72 20 52 45 | ;.....try.{.......//.open.for.RE |
939e0 | 41 44 2c 20 69 6e 20 6e 6f 6e 2d 62 6c 6f 63 6b 69 6e 67 20 6d 6f 64 65 0a 20 20 20 20 20 20 76 | AD,.in.non-blocking.mode.......v |
93a00 | 61 72 20 63 61 63 68 65 45 6e 74 72 79 44 65 73 63 72 69 70 74 6f 72 20 3d 20 68 74 74 70 43 61 | ar.cacheEntryDescriptor.=.httpCa |
93a20 | 63 68 65 53 65 73 73 69 6f 6e 2e 6f 70 65 6e 43 61 63 68 65 45 6e 74 72 79 28 75 72 6c 2c 20 41 | cheSession.openCacheEntry(url,.A |
93a40 | 43 43 45 53 53 5f 52 45 41 44 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 63 61 | CCESS_READ,.false);.....}.....ca |
93a60 | 74 63 68 28 65 78 29 20 7b 0a 20 20 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 20 20 2f 2f | tch(ex).{.......try.{.........// |
93a80 | 20 6f 70 65 6e 20 66 6f 72 20 52 45 41 44 2c 20 69 6e 20 6e 6f 6e 2d 62 6c 6f 63 6b 69 6e 67 20 | .open.for.READ,.in.non-blocking. |
93aa0 | 6d 6f 64 65 0a 20 20 20 20 20 20 20 20 63 61 63 68 65 45 6e 74 72 79 44 65 73 63 72 69 70 74 6f | mode.........cacheEntryDescripto |
93ac0 | 72 20 3d 20 66 74 70 43 61 63 68 65 53 65 73 73 69 6f 6e 2e 6f 70 65 6e 43 61 63 68 65 45 6e 74 | r.=.ftpCacheSession.openCacheEnt |
93ae0 | 72 79 28 75 72 6c 2c 20 41 43 43 45 53 53 5f 52 45 41 44 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 | ry(url,.ACCESS_READ,.false);.... |
93b00 | 20 20 20 7d 0a 20 20 20 20 20 20 63 61 74 63 68 28 65 78 32 29 20 7b 20 7d 0a 20 20 20 20 7d 0a | ...}.......catch(ex2).{.}.....}. |
93b20 | 0a 20 20 20 20 76 61 72 20 73 69 7a 65 54 65 78 74 3b 0a 20 20 20 20 69 66 20 28 63 61 63 68 65 | .....var.sizeText;.....if.(cache |
93b40 | 45 6e 74 72 79 44 65 73 63 72 69 70 74 6f 72 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 70 61 67 | EntryDescriptor).{.......var.pag |
93b60 | 65 53 69 7a 65 20 3d 20 63 61 63 68 65 45 6e 74 72 79 44 65 73 63 72 69 70 74 6f 72 2e 64 61 74 | eSize.=.cacheEntryDescriptor.dat |
93b80 | 61 53 69 7a 65 3b 0a 20 20 20 20 20 20 76 61 72 20 6b 62 53 69 7a 65 20 3d 20 66 6f 72 6d 61 74 | aSize;.......var.kbSize.=.format |
93ba0 | 4e 75 6d 62 65 72 28 4d 61 74 68 2e 72 6f 75 6e 64 28 70 61 67 65 53 69 7a 65 20 2f 20 31 30 32 | Number(Math.round(pageSize./.102 |
93bc0 | 34 20 2a 20 31 30 30 29 20 2f 20 31 30 30 29 3b 0a 20 20 20 20 20 20 73 69 7a 65 54 65 78 74 20 | 4.*.100)./.100);.......sizeText. |
93be0 | 3d 20 67 42 75 6e 64 6c 65 2e 67 65 74 46 6f 72 6d 61 74 74 65 64 53 74 72 69 6e 67 28 22 6d 65 | =.gBundle.getFormattedString("me |
93c00 | 64 69 61 46 69 6c 65 53 69 7a 65 22 2c 20 5b 6b 62 53 69 7a 65 5d 29 3b 0a 20 20 20 20 7d 0a 20 | diaFileSize",.[kbSize]);.....}.. |
93c20 | 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 73 69 7a 65 54 65 78 74 20 3d 20 67 53 74 72 69 6e 67 | ...else.......sizeText.=.gString |
93c40 | 73 2e 75 6e 6b 6e 6f 77 6e 3b 0a 20 20 20 20 67 49 6d 61 67 65 56 69 65 77 2e 61 64 64 52 6f 77 | s.unknown;.....gImageView.addRow |
93c60 | 28 5b 75 72 6c 2c 20 74 79 70 65 2c 20 73 69 7a 65 54 65 78 74 2c 20 61 6c 74 2c 20 31 2c 20 65 | ([url,.type,.sizeText,.alt,.1,.e |
93c80 | 6c 65 6d 2c 20 69 73 42 67 5d 29 3b 0a 0a 20 20 20 20 2f 2f 20 41 64 64 20 74 68 65 20 6f 62 73 | lem,.isBg]);......//.Add.the.obs |
93ca0 | 65 72 76 65 72 2c 20 6f 6e 6c 79 20 6f 6e 63 65 2e 0a 20 20 20 20 69 66 20 28 67 49 6d 61 67 65 | erver,.only.once......if.(gImage |
93cc0 | 56 69 65 77 2e 64 61 74 61 2e 6c 65 6e 67 74 68 20 3d 3d 20 31 29 20 7b 0a 20 20 20 20 20 20 64 | View.data.length.==.1).{.......d |
93ce0 | 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 6d 65 64 69 61 54 61 62 | ocument.getElementById("mediaTab |
93d00 | 22 29 2e 68 69 64 64 65 6e 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 20 43 6f 6d 70 6f 6e 65 | ").hidden.=.false;.......Compone |
93d20 | 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6f 62 73 65 72 76 | nts.classes["@mozilla.org/observ |
93d40 | 65 72 2d 73 65 72 76 69 63 65 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e | er-service;1"].................. |
93d60 | 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 | getService(Components.interfaces |
93d80 | 2e 6e 73 49 4f 62 73 65 72 76 65 72 53 65 72 76 69 63 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 | .nsIObserverService)............ |
93da0 | 20 20 20 20 20 2e 61 64 64 4f 62 73 65 72 76 65 72 28 69 6d 61 67 65 50 65 72 6d 69 73 73 69 6f | ......addObserver(imagePermissio |
93dc0 | 6e 4f 62 73 65 72 76 65 72 2c 20 22 70 65 72 6d 2d 63 68 61 6e 67 65 64 22 2c 20 66 61 6c 73 65 | nObserver,."perm-changed",.false |
93de0 | 29 3b 0a 20 20 20 20 7d 0a 20 20 7d 0a 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 76 61 72 20 69 20 | );.....}...}...else.{.....var.i. |
93e00 | 3d 20 67 49 6d 61 67 65 48 61 73 68 5b 75 72 6c 5d 5b 74 79 70 65 5d 5b 61 6c 74 5d 3b 0a 20 20 | =.gImageHash[url][type][alt];... |
93e20 | 20 20 67 49 6d 61 67 65 56 69 65 77 2e 64 61 74 61 5b 69 5d 5b 43 4f 4c 5f 49 4d 41 47 45 5f 43 | ..gImageView.data[i][COL_IMAGE_C |
93e40 | 4f 55 4e 54 5d 2b 2b 3b 0a 20 20 7d 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 67 72 61 62 41 6c 6c | OUNT]++;...}.}..function.grabAll |
93e60 | 28 65 6c 65 6d 29 0a 7b 0a 20 20 2f 2f 20 63 68 65 63 6b 20 66 6f 72 20 62 61 63 6b 67 72 6f 75 | (elem).{...//.check.for.backgrou |
93e80 | 6e 64 20 69 6d 61 67 65 73 2c 20 61 6e 79 20 6e 6f 64 65 20 6d 61 79 20 68 61 76 65 20 6f 6e 65 | nd.images,.any.node.may.have.one |
93ea0 | 0a 20 20 76 61 72 20 43 6f 6d 70 75 74 65 64 53 74 79 6c 65 20 3d 20 65 6c 65 6d 2e 6f 77 6e 65 | ...var.ComputedStyle.=.elem.owne |
93ec0 | 72 44 6f 63 75 6d 65 6e 74 2e 64 65 66 61 75 6c 74 56 69 65 77 2e 67 65 74 43 6f 6d 70 75 74 65 | rDocument.defaultView.getCompute |
93ee0 | 64 53 74 79 6c 65 28 65 6c 65 6d 2c 20 22 22 29 3b 0a 20 20 76 61 72 20 75 72 6c 20 3d 20 43 6f | dStyle(elem,."");...var.url.=.Co |
93f00 | 6d 70 75 74 65 64 53 74 79 6c 65 20 26 26 20 43 6f 6d 70 75 74 65 64 53 74 79 6c 65 2e 67 65 74 | mputedStyle.&&.ComputedStyle.get |
93f20 | 50 72 6f 70 65 72 74 79 43 53 53 56 61 6c 75 65 28 22 62 61 63 6b 67 72 6f 75 6e 64 2d 69 6d 61 | PropertyCSSValue("background-ima |
93f40 | 67 65 22 29 3b 0a 20 20 69 66 20 28 75 72 6c 20 26 26 20 75 72 6c 2e 70 72 69 6d 69 74 69 76 65 | ge");...if.(url.&&.url.primitive |
93f60 | 54 79 70 65 20 3d 3d 20 43 53 53 50 72 69 6d 69 74 69 76 65 56 61 6c 75 65 2e 43 53 53 5f 55 52 | Type.==.CSSPrimitiveValue.CSS_UR |
93f80 | 49 29 0a 20 20 20 20 61 64 64 49 6d 61 67 65 28 75 72 6c 2e 67 65 74 53 74 72 69 6e 67 56 61 6c | I).....addImage(url.getStringVal |
93fa0 | 75 65 28 29 2c 20 67 53 74 72 69 6e 67 73 2e 6d 65 64 69 61 42 47 49 6d 67 2c 20 67 53 74 72 69 | ue(),.gStrings.mediaBGImg,.gStri |
93fc0 | 6e 67 73 2e 6e 6f 74 53 65 74 2c 20 65 6c 65 6d 2c 20 74 72 75 65 29 3b 0a 0a 20 20 2f 2f 20 6f | ngs.notSet,.elem,.true);....//.o |
93fe0 | 6e 65 20 73 77 69 5e 48 5e 48 5e 48 69 66 2d 65 6c 73 65 20 74 6f 20 72 75 6c 65 20 74 68 65 6d | ne.swi^H^H^Hif-else.to.rule.them |
94000 | 20 61 6c 6c 0a 20 20 69 66 20 28 65 6c 65 6d 20 69 6e 73 74 61 6e 63 65 6f 66 20 48 54 4d 4c 49 | .all...if.(elem.instanceof.HTMLI |
94020 | 6d 61 67 65 45 6c 65 6d 65 6e 74 29 0a 20 20 20 20 61 64 64 49 6d 61 67 65 28 65 6c 65 6d 2e 73 | mageElement).....addImage(elem.s |
94040 | 72 63 2c 20 67 53 74 72 69 6e 67 73 2e 6d 65 64 69 61 49 6d 67 2c 0a 20 20 20 20 20 20 20 20 20 | rc,.gStrings.mediaImg,.......... |
94060 | 20 20 20 20 28 65 6c 65 6d 2e 68 61 73 41 74 74 72 69 62 75 74 65 28 22 61 6c 74 22 29 29 20 3f | ....(elem.hasAttribute("alt")).? |
94080 | 20 65 6c 65 6d 2e 61 6c 74 20 3a 20 67 53 74 72 69 6e 67 73 2e 6e 6f 74 53 65 74 2c 20 65 6c 65 | .elem.alt.:.gStrings.notSet,.ele |
940a0 | 6d 2c 20 66 61 6c 73 65 29 3b 0a 2f 2f 40 6c 69 6e 65 20 36 31 37 20 22 2f 62 75 69 6c 64 73 2f | m,.false);.//@line.617."/builds/ |
940c0 | 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f | moz2_slave/linux_build/build/bro |
940e0 | 77 73 65 72 2f 62 61 73 65 2f 63 6f 6e 74 65 6e 74 2f 70 61 67 65 69 6e 66 6f 2f 70 61 67 65 49 | wser/base/content/pageinfo/pageI |
94100 | 6e 66 6f 2e 6a 73 22 0a 20 20 65 6c 73 65 20 69 66 20 28 65 6c 65 6d 20 69 6e 73 74 61 6e 63 65 | nfo.js"...else.if.(elem.instance |
94120 | 6f 66 20 53 56 47 49 6d 61 67 65 45 6c 65 6d 65 6e 74 29 20 7b 0a 20 20 20 20 74 72 79 20 7b 0a | of.SVGImageElement).{.....try.{. |
94140 | 20 20 20 20 20 20 2f 2f 20 4e 6f 74 65 3a 20 6d 61 6b 65 55 52 4c 41 62 73 6f 6c 75 74 65 20 77 | ......//.Note:.makeURLAbsolute.w |
94160 | 69 6c 6c 20 74 68 72 6f 77 20 69 66 20 65 69 74 68 65 72 20 74 68 65 20 62 61 73 65 55 52 49 20 | ill.throw.if.either.the.baseURI. |
94180 | 69 73 20 6e 6f 74 20 61 20 76 61 6c 69 64 20 55 52 49 0a 20 20 20 20 20 20 2f 2f 20 20 20 20 20 | is.not.a.valid.URI.......//..... |
941a0 | 20 20 6f 72 20 74 68 65 20 55 52 49 20 66 6f 72 6d 65 64 20 66 72 6f 6d 20 74 68 65 20 62 61 73 | ..or.the.URI.formed.from.the.bas |
941c0 | 65 55 52 49 20 61 6e 64 20 74 68 65 20 55 52 4c 20 69 73 20 6e 6f 74 20 61 20 76 61 6c 69 64 20 | eURI.and.the.URL.is.not.a.valid. |
941e0 | 55 52 49 0a 20 20 20 20 20 20 76 61 72 20 68 72 65 66 20 3d 20 6d 61 6b 65 55 52 4c 41 62 73 6f | URI.......var.href.=.makeURLAbso |
94200 | 6c 75 74 65 28 65 6c 65 6d 2e 62 61 73 65 55 52 49 2c 20 65 6c 65 6d 2e 68 72 65 66 2e 62 61 73 | lute(elem.baseURI,.elem.href.bas |
94220 | 65 56 61 6c 29 3b 0a 20 20 20 20 20 20 61 64 64 49 6d 61 67 65 28 68 72 65 66 2c 20 67 53 74 72 | eVal);.......addImage(href,.gStr |
94240 | 69 6e 67 73 2e 6d 65 64 69 61 49 6d 67 2c 20 22 22 2c 20 65 6c 65 6d 2c 20 66 61 6c 73 65 29 3b | ings.mediaImg,."",.elem,.false); |
94260 | 0a 20 20 20 20 7d 20 63 61 74 63 68 20 28 65 29 20 7b 20 7d 0a 20 20 7d 0a 2f 2f 40 6c 69 6e 65 | .....}.catch.(e).{.}...}.//@line |
94280 | 20 36 32 36 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 | .626."/builds/moz2_slave/linux_b |
942a0 | 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 62 61 73 65 2f 63 6f 6e 74 65 6e 74 2f | uild/build/browser/base/content/ |
942c0 | 70 61 67 65 69 6e 66 6f 2f 70 61 67 65 49 6e 66 6f 2e 6a 73 22 0a 20 20 65 6c 73 65 20 69 66 20 | pageinfo/pageInfo.js"...else.if. |
942e0 | 28 65 6c 65 6d 20 69 6e 73 74 61 6e 63 65 6f 66 20 48 54 4d 4c 4c 69 6e 6b 45 6c 65 6d 65 6e 74 | (elem.instanceof.HTMLLinkElement |
94300 | 29 20 7b 0a 20 20 20 20 69 66 20 28 65 6c 65 6d 2e 72 65 6c 20 26 26 20 2f 5c 62 69 63 6f 6e 5c | ).{.....if.(elem.rel.&&./\bicon\ |
94320 | 62 2f 69 2e 74 65 73 74 28 65 6c 65 6d 2e 72 65 6c 29 29 0a 20 20 20 20 20 20 61 64 64 49 6d 61 | b/i.test(elem.rel)).......addIma |
94340 | 67 65 28 65 6c 65 6d 2e 68 72 65 66 2c 20 67 53 74 72 69 6e 67 73 2e 6d 65 64 69 61 4c 69 6e 6b | ge(elem.href,.gStrings.mediaLink |
94360 | 2c 20 22 22 2c 20 65 6c 65 6d 2c 20 66 61 6c 73 65 29 3b 0a 20 20 7d 0a 20 20 65 6c 73 65 20 69 | ,."",.elem,.false);...}...else.i |
94380 | 66 20 28 65 6c 65 6d 20 69 6e 73 74 61 6e 63 65 6f 66 20 48 54 4d 4c 49 6e 70 75 74 45 6c 65 6d | f.(elem.instanceof.HTMLInputElem |
943a0 | 65 6e 74 20 7c 7c 20 65 6c 65 6d 20 69 6e 73 74 61 6e 63 65 6f 66 20 48 54 4d 4c 42 75 74 74 6f | ent.||.elem.instanceof.HTMLButto |
943c0 | 6e 45 6c 65 6d 65 6e 74 29 20 7b 0a 20 20 20 20 69 66 20 28 65 6c 65 6d 2e 74 79 70 65 2e 74 6f | nElement).{.....if.(elem.type.to |
943e0 | 4c 6f 77 65 72 43 61 73 65 28 29 20 3d 3d 20 22 69 6d 61 67 65 22 29 0a 20 20 20 20 20 20 61 64 | LowerCase().==."image").......ad |
94400 | 64 49 6d 61 67 65 28 65 6c 65 6d 2e 73 72 63 2c 20 67 53 74 72 69 6e 67 73 2e 6d 65 64 69 61 49 | dImage(elem.src,.gStrings.mediaI |
94420 | 6e 70 75 74 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 65 6c 65 6d 2e 68 61 73 41 74 | nput,................(elem.hasAt |
94440 | 74 72 69 62 75 74 65 28 22 61 6c 74 22 29 29 20 3f 20 65 6c 65 6d 2e 61 6c 74 20 3a 20 67 53 74 | tribute("alt")).?.elem.alt.:.gSt |
94460 | 72 69 6e 67 73 2e 6e 6f 74 53 65 74 2c 20 65 6c 65 6d 2c 20 66 61 6c 73 65 29 3b 0a 20 20 7d 0a | rings.notSet,.elem,.false);...}. |
94480 | 20 20 65 6c 73 65 20 69 66 20 28 65 6c 65 6d 20 69 6e 73 74 61 6e 63 65 6f 66 20 48 54 4d 4c 4f | ..else.if.(elem.instanceof.HTMLO |
944a0 | 62 6a 65 63 74 45 6c 65 6d 65 6e 74 29 0a 20 20 20 20 61 64 64 49 6d 61 67 65 28 65 6c 65 6d 2e | bjectElement).....addImage(elem. |
944c0 | 64 61 74 61 2c 20 67 53 74 72 69 6e 67 73 2e 6d 65 64 69 61 4f 62 6a 65 63 74 2c 20 67 65 74 56 | data,.gStrings.mediaObject,.getV |
944e0 | 61 6c 75 65 54 65 78 74 28 65 6c 65 6d 29 2c 20 65 6c 65 6d 2c 20 66 61 6c 73 65 29 3b 0a 20 20 | alueText(elem),.elem,.false);... |
94500 | 65 6c 73 65 20 69 66 20 28 65 6c 65 6d 20 69 6e 73 74 61 6e 63 65 6f 66 20 48 54 4d 4c 45 6d 62 | else.if.(elem.instanceof.HTMLEmb |
94520 | 65 64 45 6c 65 6d 65 6e 74 29 0a 20 20 20 20 61 64 64 49 6d 61 67 65 28 65 6c 65 6d 2e 73 72 63 | edElement).....addImage(elem.src |
94540 | 2c 20 67 53 74 72 69 6e 67 73 2e 6d 65 64 69 61 45 6d 62 65 64 2c 20 22 22 2c 20 65 6c 65 6d 2c | ,.gStrings.mediaEmbed,."",.elem, |
94560 | 20 66 61 6c 73 65 29 3b 0a 0a 20 20 6f 6e 50 72 6f 63 65 73 73 45 6c 65 6d 65 6e 74 2e 66 6f 72 | .false);....onProcessElement.for |
94580 | 45 61 63 68 28 66 75 6e 63 74 69 6f 6e 28 66 75 6e 63 29 20 7b 20 66 75 6e 63 28 65 6c 65 6d 29 | Each(function(func).{.func(elem) |
945a0 | 3b 20 7d 29 3b 0a 0a 20 20 72 65 74 75 72 6e 20 4e 6f 64 65 46 69 6c 74 65 72 2e 46 49 4c 54 45 | ;.});....return.NodeFilter.FILTE |
945c0 | 52 5f 41 43 43 45 50 54 3b 0a 7d 0a 0a 2f 2f 2a 2a 2a 2a 2a 2a 2a 2a 20 4c 69 6e 6b 20 53 74 75 | R_ACCEPT;.}..//********.Link.Stu |
945e0 | 66 66 0a 66 75 6e 63 74 69 6f 6e 20 6f 70 65 6e 55 52 4c 28 74 61 72 67 65 74 29 0a 7b 0a 20 20 | ff.function.openURL(target).{... |
94600 | 76 61 72 20 75 72 6c 20 3d 20 74 61 72 67 65 74 2e 70 61 72 65 6e 74 4e 6f 64 65 2e 63 68 69 6c | var.url.=.target.parentNode.chil |
94620 | 64 4e 6f 64 65 73 5b 32 5d 2e 76 61 6c 75 65 3b 0a 20 20 77 69 6e 64 6f 77 2e 6f 70 65 6e 28 75 | dNodes[2].value;...window.open(u |
94640 | 72 6c 2c 20 22 5f 62 6c 61 6e 6b 22 2c 20 22 63 68 72 6f 6d 65 22 29 3b 0a 7d 0a 0a 66 75 6e 63 | rl,."_blank",."chrome");.}..func |
94660 | 74 69 6f 6e 20 6f 6e 42 65 67 69 6e 4c 69 6e 6b 44 72 61 67 28 65 76 65 6e 74 2c 75 72 6c 46 69 | tion.onBeginLinkDrag(event,urlFi |
94680 | 65 6c 64 2c 64 65 73 63 46 69 65 6c 64 29 0a 7b 0a 20 20 69 66 20 28 65 76 65 6e 74 2e 6f 72 69 | eld,descField).{...if.(event.ori |
946a0 | 67 69 6e 61 6c 54 61 72 67 65 74 2e 6c 6f 63 61 6c 4e 61 6d 65 20 21 3d 20 22 74 72 65 65 63 68 | ginalTarget.localName.!=."treech |
946c0 | 69 6c 64 72 65 6e 22 29 0a 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 76 61 72 20 74 72 65 65 | ildren").....return;....var.tree |
946e0 | 20 3d 20 65 76 65 6e 74 2e 74 61 72 67 65 74 3b 0a 20 20 69 66 20 28 21 28 22 74 72 65 65 42 6f | .=.event.target;...if.(!("treeBo |
94700 | 78 4f 62 6a 65 63 74 22 20 69 6e 20 74 72 65 65 29 29 0a 20 20 20 20 74 72 65 65 20 3d 20 74 72 | xObject".in.tree)).....tree.=.tr |
94720 | 65 65 2e 70 61 72 65 6e 74 4e 6f 64 65 3b 0a 0a 20 20 76 61 72 20 72 6f 77 20 3d 20 74 72 65 65 | ee.parentNode;....var.row.=.tree |
94740 | 2e 74 72 65 65 42 6f 78 4f 62 6a 65 63 74 2e 67 65 74 52 6f 77 41 74 28 65 76 65 6e 74 2e 63 6c | .treeBoxObject.getRowAt(event.cl |
94760 | 69 65 6e 74 58 2c 20 65 76 65 6e 74 2e 63 6c 69 65 6e 74 59 29 3b 0a 20 20 69 66 20 28 72 6f 77 | ientX,.event.clientY);...if.(row |
94780 | 20 3d 3d 20 2d 31 29 0a 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 2f 2f 20 41 64 64 69 6e 67 | .==.-1).....return;....//.Adding |
947a0 | 20 55 52 4c 20 66 6c 61 76 6f 72 0a 20 20 76 61 72 20 63 6f 6c 20 3d 20 74 72 65 65 2e 63 6f 6c | .URL.flavor...var.col.=.tree.col |
947c0 | 75 6d 6e 73 5b 75 72 6c 46 69 65 6c 64 5d 3b 0a 20 20 76 61 72 20 75 72 6c 20 3d 20 74 72 65 65 | umns[urlField];...var.url.=.tree |
947e0 | 2e 76 69 65 77 2e 67 65 74 43 65 6c 6c 54 65 78 74 28 72 6f 77 2c 20 63 6f 6c 29 3b 0a 20 20 63 | .view.getCellText(row,.col);...c |
94800 | 6f 6c 20 3d 20 74 72 65 65 2e 63 6f 6c 75 6d 6e 73 5b 64 65 73 63 46 69 65 6c 64 5d 3b 0a 20 20 | ol.=.tree.columns[descField];... |
94820 | 76 61 72 20 64 65 73 63 20 3d 20 74 72 65 65 2e 76 69 65 77 2e 67 65 74 43 65 6c 6c 54 65 78 74 | var.desc.=.tree.view.getCellText |
94840 | 28 72 6f 77 2c 20 63 6f 6c 29 3b 0a 0a 20 20 76 61 72 20 64 74 20 3d 20 65 76 65 6e 74 2e 64 61 | (row,.col);....var.dt.=.event.da |
94860 | 74 61 54 72 61 6e 73 66 65 72 3b 0a 20 20 64 74 2e 73 65 74 44 61 74 61 28 22 74 65 78 74 2f 78 | taTransfer;...dt.setData("text/x |
94880 | 2d 6d 6f 7a 2d 75 72 6c 22 2c 20 75 72 6c 20 2b 20 22 5c 6e 22 20 2b 20 64 65 73 63 29 3b 0a 20 | -moz-url",.url.+."\n".+.desc);.. |
948a0 | 20 64 74 2e 73 65 74 44 61 74 61 28 22 74 65 78 74 2f 75 72 6c 2d 6c 69 73 74 22 2c 20 75 72 6c | .dt.setData("text/url-list",.url |
948c0 | 29 3b 0a 20 20 64 74 2e 73 65 74 44 61 74 61 28 22 74 65 78 74 2f 70 6c 61 69 6e 22 2c 20 75 72 | );...dt.setData("text/plain",.ur |
948e0 | 6c 29 3b 0a 7d 0a 0a 2f 2f 2a 2a 2a 2a 2a 2a 2a 2a 20 49 6d 61 67 65 20 53 74 75 66 66 0a 66 75 | l);.}..//********.Image.Stuff.fu |
94900 | 6e 63 74 69 6f 6e 20 67 65 74 53 65 6c 65 63 74 65 64 49 6d 61 67 65 28 74 72 65 65 29 0a 7b 0a | nction.getSelectedImage(tree).{. |
94920 | 20 20 69 66 20 28 21 67 49 6d 61 67 65 56 69 65 77 2e 72 6f 77 43 6f 75 6e 74 29 0a 20 20 20 20 | ..if.(!gImageView.rowCount)..... |
94940 | 72 65 74 75 72 6e 20 6e 75 6c 6c 3b 0a 0a 20 20 2f 2f 20 4f 6e 6c 79 20 77 6f 72 6b 73 20 69 66 | return.null;....//.Only.works.if |
94960 | 20 6f 6e 6c 79 20 6f 6e 65 20 69 74 65 6d 20 69 73 20 73 65 6c 65 63 74 65 64 0a 20 20 76 61 72 | .only.one.item.is.selected...var |
94980 | 20 63 6c 69 63 6b 65 64 52 6f 77 20 3d 20 74 72 65 65 2e 63 75 72 72 65 6e 74 49 6e 64 65 78 3b | .clickedRow.=.tree.currentIndex; |
949a0 | 0a 20 20 2f 2f 20 69 6d 61 67 65 2d 6e 6f 64 65 0a 20 20 72 65 74 75 72 6e 20 67 49 6d 61 67 65 | ...//.image-node...return.gImage |
949c0 | 56 69 65 77 2e 64 61 74 61 5b 63 6c 69 63 6b 65 64 52 6f 77 5d 5b 43 4f 4c 5f 49 4d 41 47 45 5f | View.data[clickedRow][COL_IMAGE_ |
949e0 | 4e 4f 44 45 5d 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 73 65 6c 65 63 74 53 61 76 65 46 6f 6c | NODE];.}..function.selectSaveFol |
94a00 | 64 65 72 28 29 0a 7b 0a 20 20 63 6f 6e 73 74 20 6e 73 49 4c 6f 63 61 6c 46 69 6c 65 20 3d 20 43 | der().{...const.nsILocalFile.=.C |
94a20 | 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 4c 6f 63 61 6c 46 69 6c | omponents.interfaces.nsILocalFil |
94a40 | 65 3b 0a 20 20 63 6f 6e 73 74 20 6e 73 49 46 69 6c 65 50 69 63 6b 65 72 20 3d 20 43 6f 6d 70 6f | e;...const.nsIFilePicker.=.Compo |
94a60 | 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 46 69 6c 65 50 69 63 6b 65 72 3b 0a | nents.interfaces.nsIFilePicker;. |
94a80 | 20 20 76 61 72 20 66 70 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 | ..var.fp.=.Components.classes["@ |
94aa0 | 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 66 69 6c 65 70 69 63 6b 65 72 3b 31 22 5d 0a 20 20 20 20 20 | mozilla.org/filepicker;1"]...... |
94ac0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 63 72 65 61 74 65 49 6e 73 74 61 6e 63 65 28 | .................createInstance( |
94ae0 | 6e 73 49 46 69 6c 65 50 69 63 6b 65 72 29 3b 0a 0a 20 20 76 61 72 20 74 69 74 6c 65 54 65 78 74 | nsIFilePicker);....var.titleText |
94b00 | 20 3d 20 67 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 6d 65 64 69 61 53 65 6c 65 63 | .=.gBundle.getString("mediaSelec |
94b20 | 74 46 6f 6c 64 65 72 22 29 3b 0a 20 20 66 70 2e 69 6e 69 74 28 77 69 6e 64 6f 77 2c 20 74 69 74 | tFolder");...fp.init(window,.tit |
94b40 | 6c 65 54 65 78 74 2c 20 6e 73 49 46 69 6c 65 50 69 63 6b 65 72 2e 6d 6f 64 65 47 65 74 46 6f 6c | leText,.nsIFilePicker.modeGetFol |
94b60 | 64 65 72 29 3b 0a 20 20 74 72 79 20 7b 0a 20 20 20 20 76 61 72 20 70 72 65 66 73 20 3d 20 43 6f | der);...try.{.....var.prefs.=.Co |
94b80 | 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 50 52 45 46 45 52 45 4e 43 45 53 5f 43 4f 4e | mponents.classes[PREFERENCES_CON |
94ba0 | 54 52 41 43 54 49 44 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | TRACTID]........................ |
94bc0 | 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 | ....getService(Components.interf |
94be0 | 61 63 65 73 2e 6e 73 49 50 72 65 66 42 72 61 6e 63 68 32 29 3b 0a 0a 20 20 20 20 76 61 72 20 69 | aces.nsIPrefBranch2);......var.i |
94c00 | 6e 69 74 69 61 6c 44 69 72 20 3d 20 70 72 65 66 73 2e 67 65 74 43 6f 6d 70 6c 65 78 56 61 6c 75 | nitialDir.=.prefs.getComplexValu |
94c20 | 65 28 22 62 72 6f 77 73 65 72 2e 64 6f 77 6e 6c 6f 61 64 2e 64 69 72 22 2c 20 6e 73 49 4c 6f 63 | e("browser.download.dir",.nsILoc |
94c40 | 61 6c 46 69 6c 65 29 3b 0a 20 20 20 20 69 66 20 28 69 6e 69 74 69 61 6c 44 69 72 29 0a 20 20 20 | alFile);.....if.(initialDir).... |
94c60 | 20 20 20 66 70 2e 64 69 73 70 6c 61 79 44 69 72 65 63 74 6f 72 79 20 3d 20 69 6e 69 74 69 61 6c | ...fp.displayDirectory.=.initial |
94c80 | 44 69 72 3b 0a 20 20 7d 0a 20 20 63 61 74 63 68 20 28 65 78 29 20 7b 20 7d 0a 0a 20 20 66 70 2e | Dir;...}...catch.(ex).{.}....fp. |
94ca0 | 61 70 70 65 6e 64 46 69 6c 74 65 72 73 28 6e 73 49 46 69 6c 65 50 69 63 6b 65 72 2e 66 69 6c 74 | appendFilters(nsIFilePicker.filt |
94cc0 | 65 72 41 6c 6c 29 3b 0a 20 20 76 61 72 20 72 65 74 20 3d 20 66 70 2e 73 68 6f 77 28 29 3b 0a 0a | erAll);...var.ret.=.fp.show();.. |
94ce0 | 20 20 69 66 20 28 72 65 74 20 3d 3d 20 6e 73 49 46 69 6c 65 50 69 63 6b 65 72 2e 72 65 74 75 72 | ..if.(ret.==.nsIFilePicker.retur |
94d00 | 6e 4f 4b 29 0a 20 20 20 20 72 65 74 75 72 6e 20 66 70 2e 66 69 6c 65 2e 51 75 65 72 79 49 6e 74 | nOK).....return.fp.file.QueryInt |
94d20 | 65 72 66 61 63 65 28 6e 73 49 4c 6f 63 61 6c 46 69 6c 65 29 3b 0a 20 20 72 65 74 75 72 6e 20 6e | erface(nsILocalFile);...return.n |
94d40 | 75 6c 6c 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 73 61 76 65 4d 65 64 69 61 28 29 0a 7b 0a 20 | ull;.}..function.saveMedia().{.. |
94d60 | 20 76 61 72 20 74 72 65 65 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 | .var.tree.=.document.getElementB |
94d80 | 79 49 64 28 22 69 6d 61 67 65 74 72 65 65 22 29 3b 0a 20 20 76 61 72 20 63 6f 75 6e 74 20 3d 20 | yId("imagetree");...var.count.=. |
94da0 | 74 72 65 65 2e 76 69 65 77 2e 73 65 6c 65 63 74 69 6f 6e 2e 63 6f 75 6e 74 3b 0a 20 20 69 66 20 | tree.view.selection.count;...if. |
94dc0 | 28 63 6f 75 6e 74 20 3d 3d 20 31 29 20 7b 0a 20 20 20 20 76 61 72 20 69 74 65 6d 20 3d 20 67 65 | (count.==.1).{.....var.item.=.ge |
94de0 | 74 53 65 6c 65 63 74 65 64 49 6d 61 67 65 28 74 72 65 65 29 3b 0a 20 20 20 20 76 61 72 20 75 72 | tSelectedImage(tree);.....var.ur |
94e00 | 6c 20 3d 20 67 49 6d 61 67 65 56 69 65 77 2e 64 61 74 61 5b 74 72 65 65 2e 63 75 72 72 65 6e 74 | l.=.gImageView.data[tree.current |
94e20 | 49 6e 64 65 78 5d 5b 43 4f 4c 5f 49 4d 41 47 45 5f 41 44 44 52 45 53 53 5d 3b 0a 0a 20 20 20 20 | Index][COL_IMAGE_ADDRESS];...... |
94e40 | 69 66 20 28 75 72 6c 29 0a 20 20 20 20 20 20 73 61 76 65 55 52 4c 28 75 72 6c 2c 20 6e 75 6c 6c | if.(url).......saveURL(url,.null |
94e60 | 2c 20 22 53 61 76 65 49 6d 61 67 65 54 69 74 6c 65 22 2c 20 66 61 6c 73 65 2c 20 66 61 6c 73 65 | ,."SaveImageTitle",.false,.false |
94e80 | 2c 20 6d 61 6b 65 55 52 49 28 69 74 65 6d 2e 62 61 73 65 55 52 49 29 29 3b 0a 20 20 7d 0a 20 20 | ,.makeURI(item.baseURI));...}... |
94ea0 | 65 6c 73 65 20 7b 0a 20 20 20 20 76 61 72 20 6f 64 69 72 20 20 3d 20 73 65 6c 65 63 74 53 61 76 | else.{.....var.odir..=.selectSav |
94ec0 | 65 46 6f 6c 64 65 72 28 29 3b 0a 20 20 20 20 76 61 72 20 73 74 61 72 74 20 3d 20 7b 20 7d 3b 0a | eFolder();.....var.start.=.{.};. |
94ee0 | 20 20 20 20 76 61 72 20 65 6e 64 20 20 20 3d 20 7b 20 7d 3b 0a 20 20 20 20 76 61 72 20 6e 75 6d | ....var.end...=.{.};.....var.num |
94f00 | 52 61 6e 67 65 73 20 3d 20 74 72 65 65 2e 76 69 65 77 2e 73 65 6c 65 63 74 69 6f 6e 2e 67 65 74 | Ranges.=.tree.view.selection.get |
94f20 | 52 61 6e 67 65 43 6f 75 6e 74 28 29 3b 0a 0a 20 20 20 20 76 61 72 20 72 6f 77 41 72 72 61 79 20 | RangeCount();......var.rowArray. |
94f40 | 3d 20 5b 20 5d 3b 0a 20 20 20 20 66 6f 72 20 28 76 61 72 20 74 20 3d 20 30 3b 20 74 20 3c 20 6e | =.[.];.....for.(var.t.=.0;.t.<.n |
94f60 | 75 6d 52 61 6e 67 65 73 3b 20 74 2b 2b 29 20 7b 0a 20 20 20 20 20 20 74 72 65 65 2e 76 69 65 77 | umRanges;.t++).{.......tree.view |
94f80 | 2e 73 65 6c 65 63 74 69 6f 6e 2e 67 65 74 52 61 6e 67 65 41 74 28 74 2c 20 73 74 61 72 74 2c 20 | .selection.getRangeAt(t,.start,. |
94fa0 | 65 6e 64 29 3b 0a 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 76 20 3d 20 73 74 61 72 74 2e 76 | end);.......for.(var.v.=.start.v |
94fc0 | 61 6c 75 65 3b 20 76 20 3c 3d 20 65 6e 64 2e 76 61 6c 75 65 3b 20 76 2b 2b 29 0a 20 20 20 20 20 | alue;.v.<=.end.value;.v++)...... |
94fe0 | 20 20 20 72 6f 77 41 72 72 61 79 2e 70 75 73 68 28 76 29 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 | ...rowArray.push(v);.....}...... |
95000 | 76 61 72 20 73 61 76 65 41 6e 49 6d 61 67 65 20 3d 20 66 75 6e 63 74 69 6f 6e 28 61 55 52 49 53 | var.saveAnImage.=.function(aURIS |
95020 | 74 72 69 6e 67 2c 20 61 43 68 6f 73 65 6e 44 61 74 61 2c 20 61 42 61 73 65 55 52 49 29 20 7b 0a | tring,.aChosenData,.aBaseURI).{. |
95040 | 20 20 20 20 20 20 69 6e 74 65 72 6e 61 6c 53 61 76 65 28 61 55 52 49 53 74 72 69 6e 67 2c 20 6e | ......internalSave(aURIString,.n |
95060 | 75 6c 6c 2c 20 6e 75 6c 6c 2c 20 6e 75 6c 6c 2c 20 6e 75 6c 6c 2c 20 66 61 6c 73 65 2c 20 22 53 | ull,.null,.null,.null,.false,."S |
95080 | 61 76 65 49 6d 61 67 65 54 69 74 6c 65 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | aveImageTitle",................. |
950a0 | 20 20 20 61 43 68 6f 73 65 6e 44 61 74 61 2c 20 61 42 61 73 65 55 52 49 29 3b 0a 20 20 20 20 7d | ...aChosenData,.aBaseURI);.....} |
950c0 | 0a 0a 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 72 6f 77 41 72 72 | ......for.(var.i.=.0;.i.<.rowArr |
950e0 | 61 79 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 76 20 3d 20 | ay.length;.i++).{.......var.v.=. |
95100 | 72 6f 77 41 72 72 61 79 5b 69 5d 3b 0a 20 20 20 20 20 20 76 61 72 20 64 69 72 20 3d 20 6f 64 69 | rowArray[i];.......var.dir.=.odi |
95120 | 72 2e 63 6c 6f 6e 65 28 29 3b 0a 20 20 20 20 20 20 76 61 72 20 69 74 65 6d 20 3d 20 67 49 6d 61 | r.clone();.......var.item.=.gIma |
95140 | 67 65 56 69 65 77 2e 64 61 74 61 5b 76 5d 5b 43 4f 4c 5f 49 4d 41 47 45 5f 4e 4f 44 45 5d 3b 0a | geView.data[v][COL_IMAGE_NODE];. |
95160 | 20 20 20 20 20 20 76 61 72 20 75 72 69 53 74 72 69 6e 67 20 3d 20 67 49 6d 61 67 65 56 69 65 77 | ......var.uriString.=.gImageView |
95180 | 2e 64 61 74 61 5b 76 5d 5b 43 4f 4c 5f 49 4d 41 47 45 5f 41 44 44 52 45 53 53 5d 3b 0a 20 20 20 | .data[v][COL_IMAGE_ADDRESS];.... |
951a0 | 20 20 20 76 61 72 20 75 72 69 20 3d 20 6d 61 6b 65 55 52 49 28 75 72 69 53 74 72 69 6e 67 29 3b | ...var.uri.=.makeURI(uriString); |
951c0 | 0a 20 0a 20 20 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 20 20 75 72 69 2e 51 75 65 72 79 | .........try.{.........uri.Query |
951e0 | 49 6e 74 65 72 66 61 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e | Interface(Components.interfaces. |
95200 | 6e 73 49 55 52 4c 29 3b 0a 20 20 20 20 20 20 20 20 64 69 72 2e 61 70 70 65 6e 64 28 64 65 63 6f | nsIURL);.........dir.append(deco |
95220 | 64 65 55 52 49 43 6f 6d 70 6f 6e 65 6e 74 28 75 72 69 2e 66 69 6c 65 4e 61 6d 65 29 29 3b 0a 20 | deURIComponent(uri.fileName));.. |
95240 | 20 20 20 20 20 7d 0a 20 20 20 20 20 20 63 61 74 63 68 28 65 78 29 20 7b 20 2f 2a 20 64 61 74 61 | .....}.......catch(ex).{./*.data |
95260 | 3a 20 75 72 69 73 20 2a 2f 20 7d 0a 0a 20 20 20 20 20 20 69 66 20 28 69 20 3d 3d 20 30 29 0a 20 | :.uris.*/.}........if.(i.==.0).. |
95280 | 20 20 20 20 20 20 20 73 61 76 65 41 6e 49 6d 61 67 65 28 75 72 69 53 74 72 69 6e 67 2c 20 6e 65 | .......saveAnImage(uriString,.ne |
952a0 | 77 20 41 75 74 6f 43 68 6f 73 65 6e 28 64 69 72 2c 20 75 72 69 29 2c 20 6d 61 6b 65 55 52 49 28 | w.AutoChosen(dir,.uri),.makeURI( |
952c0 | 69 74 65 6d 2e 62 61 73 65 55 52 49 29 29 3b 0a 20 20 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 | item.baseURI));.......else.{.... |
952e0 | 20 20 20 20 20 2f 2f 20 54 68 69 73 20 64 65 6c 61 79 20 69 73 20 61 20 68 61 63 6b 20 77 68 69 | .....//.This.delay.is.a.hack.whi |
95300 | 63 68 20 70 72 65 76 65 6e 74 73 20 74 68 65 20 64 6f 77 6e 6c 6f 61 64 20 6d 61 6e 61 67 65 72 | ch.prevents.the.download.manager |
95320 | 0a 20 20 20 20 20 20 20 20 2f 2f 20 66 72 6f 6d 20 6f 70 65 6e 69 6e 67 20 6d 61 6e 79 20 74 69 | .........//.from.opening.many.ti |
95340 | 6d 65 73 2e 20 53 65 65 20 62 75 67 20 33 37 37 33 33 39 2e 0a 20 20 20 20 20 20 20 20 73 65 74 | mes..See.bug.377339..........set |
95360 | 54 69 6d 65 6f 75 74 28 73 61 76 65 41 6e 49 6d 61 67 65 2c 20 32 30 30 2c 20 75 72 69 53 74 72 | Timeout(saveAnImage,.200,.uriStr |
95380 | 69 6e 67 2c 20 6e 65 77 20 41 75 74 6f 43 68 6f 73 65 6e 28 64 69 72 2c 20 75 72 69 29 2c 0a 20 | ing,.new.AutoChosen(dir,.uri),.. |
953a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 61 6b 65 55 52 49 28 69 74 65 6d 2e 62 | ..................makeURI(item.b |
953c0 | 61 73 65 55 52 49 29 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 20 20 7d 0a 7d 0a 0a 66 | aseURI));.......}.....}...}.}..f |
953e0 | 75 6e 63 74 69 6f 6e 20 6f 6e 42 6c 6f 63 6b 49 6d 61 67 65 28 29 0a 7b 0a 20 20 76 61 72 20 70 | unction.onBlockImage().{...var.p |
95400 | 65 72 6d 69 73 73 69 6f 6e 4d 61 6e 61 67 65 72 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c | ermissionManager.=.Components.cl |
95420 | 61 73 73 65 73 5b 50 45 52 4d 49 53 53 49 4f 4e 5f 43 4f 4e 54 52 41 43 54 49 44 5d 0a 20 20 20 | asses[PERMISSION_CONTRACTID].... |
95440 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
95460 | 20 2e 67 65 74 53 65 72 76 69 63 65 28 6e 73 49 50 65 72 6d 69 73 73 69 6f 6e 4d 61 6e 61 67 65 | ..getService(nsIPermissionManage |
95480 | 72 29 3b 0a 0a 20 20 76 61 72 20 63 68 65 63 6b 62 6f 78 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 | r);....var.checkbox.=.document.g |
954a0 | 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 62 6c 6f 63 6b 49 6d 61 67 65 22 29 3b 0a 20 20 76 | etElementById("blockImage");...v |
954c0 | 61 72 20 75 72 69 20 3d 20 6d 61 6b 65 55 52 49 28 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 | ar.uri.=.makeURI(document.getEle |
954e0 | 6d 65 6e 74 42 79 49 64 28 22 69 6d 61 67 65 75 72 6c 74 65 78 74 22 29 2e 76 61 6c 75 65 29 3b | mentById("imageurltext").value); |
95500 | 0a 20 20 69 66 20 28 63 68 65 63 6b 62 6f 78 2e 63 68 65 63 6b 65 64 29 0a 20 20 20 20 70 65 72 | ...if.(checkbox.checked).....per |
95520 | 6d 69 73 73 69 6f 6e 4d 61 6e 61 67 65 72 2e 61 64 64 28 75 72 69 2c 20 22 69 6d 61 67 65 22 2c | missionManager.add(uri,."image", |
95540 | 20 6e 73 49 50 65 72 6d 69 73 73 69 6f 6e 4d 61 6e 61 67 65 72 2e 44 45 4e 59 5f 41 43 54 49 4f | .nsIPermissionManager.DENY_ACTIO |
95560 | 4e 29 3b 0a 20 20 65 6c 73 65 0a 20 20 20 20 70 65 72 6d 69 73 73 69 6f 6e 4d 61 6e 61 67 65 72 | N);...else.....permissionManager |
95580 | 2e 72 65 6d 6f 76 65 28 75 72 69 2e 68 6f 73 74 2c 20 22 69 6d 61 67 65 22 29 3b 0a 7d 0a 0a 66 | .remove(uri.host,."image");.}..f |
955a0 | 75 6e 63 74 69 6f 6e 20 6f 6e 49 6d 61 67 65 53 65 6c 65 63 74 28 29 0a 7b 0a 20 20 76 61 72 20 | unction.onImageSelect().{...var. |
955c0 | 70 72 65 76 69 65 77 42 6f 78 20 20 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 | previewBox...=.document.getEleme |
955e0 | 6e 74 42 79 49 64 28 22 6d 65 64 69 61 50 72 65 76 69 65 77 42 6f 78 22 29 3b 0a 20 20 76 61 72 | ntById("mediaPreviewBox");...var |
95600 | 20 6d 65 64 69 61 53 61 76 65 42 6f 78 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d | .mediaSaveBox.=.document.getElem |
95620 | 65 6e 74 42 79 49 64 28 22 6d 65 64 69 61 53 61 76 65 42 6f 78 22 29 3b 0a 20 20 76 61 72 20 73 | entById("mediaSaveBox");...var.s |
95640 | 70 6c 69 74 74 65 72 20 20 20 20 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e | plitter.....=.document.getElemen |
95660 | 74 42 79 49 64 28 22 6d 65 64 69 61 53 70 6c 69 74 74 65 72 22 29 3b 0a 20 20 76 61 72 20 74 72 | tById("mediaSplitter");...var.tr |
95680 | 65 65 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 69 6d | ee.=.document.getElementById("im |
956a0 | 61 67 65 74 72 65 65 22 29 3b 0a 20 20 76 61 72 20 63 6f 75 6e 74 20 3d 20 74 72 65 65 2e 76 69 | agetree");...var.count.=.tree.vi |
956c0 | 65 77 2e 73 65 6c 65 63 74 69 6f 6e 2e 63 6f 75 6e 74 3b 0a 20 20 69 66 20 28 63 6f 75 6e 74 20 | ew.selection.count;...if.(count. |
956e0 | 3d 3d 20 30 29 20 7b 0a 20 20 20 20 70 72 65 76 69 65 77 42 6f 78 2e 63 6f 6c 6c 61 70 73 65 64 | ==.0).{.....previewBox.collapsed |
95700 | 20 20 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 6d 65 64 69 61 53 61 76 65 42 6f 78 2e 63 6f 6c 6c | ...=.true;.....mediaSaveBox.coll |
95720 | 61 70 73 65 64 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 73 70 6c 69 74 74 65 72 2e 63 6f 6c 6c 61 | apsed.=.true;.....splitter.colla |
95740 | 70 73 65 64 20 20 20 20 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 74 72 65 65 2e 66 6c 65 78 20 3d | psed.....=.true;.....tree.flex.= |
95760 | 20 31 3b 0a 20 20 7d 0a 20 20 65 6c 73 65 20 69 66 20 28 63 6f 75 6e 74 20 3e 20 31 29 20 7b 0a | .1;...}...else.if.(count.>.1).{. |
95780 | 20 20 20 20 73 70 6c 69 74 74 65 72 2e 63 6f 6c 6c 61 70 73 65 64 20 20 20 20 20 3d 20 74 72 75 | ....splitter.collapsed.....=.tru |
957a0 | 65 3b 0a 20 20 20 20 70 72 65 76 69 65 77 42 6f 78 2e 63 6f 6c 6c 61 70 73 65 64 20 20 20 3d 20 | e;.....previewBox.collapsed...=. |
957c0 | 74 72 75 65 3b 0a 20 20 20 20 6d 65 64 69 61 53 61 76 65 42 6f 78 2e 63 6f 6c 6c 61 70 73 65 64 | true;.....mediaSaveBox.collapsed |
957e0 | 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 74 72 65 65 2e 66 6c 65 78 20 3d 20 31 3b 0a 20 20 7d | .=.false;.....tree.flex.=.1;...} |
95800 | 0a 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 6d 65 64 69 61 53 61 76 65 42 6f 78 2e 63 6f 6c 6c 61 | ...else.{.....mediaSaveBox.colla |
95820 | 70 73 65 64 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 73 70 6c 69 74 74 65 72 2e 63 6f 6c 6c 61 70 | psed.=.true;.....splitter.collap |
95840 | 73 65 64 20 20 20 20 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 70 72 65 76 69 65 77 42 6f 78 2e | sed.....=.false;.....previewBox. |
95860 | 63 6f 6c 6c 61 70 73 65 64 20 20 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 74 72 65 65 2e 66 6c | collapsed...=.false;.....tree.fl |
95880 | 65 78 20 3d 20 30 3b 0a 20 20 20 20 6d 61 6b 65 50 72 65 76 69 65 77 28 74 72 65 65 2e 76 69 65 | ex.=.0;.....makePreview(tree.vie |
958a0 | 77 2e 73 65 6c 65 63 74 69 6f 6e 2e 63 75 72 72 65 6e 74 49 6e 64 65 78 29 3b 0a 20 20 7d 0a 7d | w.selection.currentIndex);...}.} |
958c0 | 0a 0a 66 75 6e 63 74 69 6f 6e 20 6d 61 6b 65 50 72 65 76 69 65 77 28 72 6f 77 29 0a 7b 0a 20 20 | ..function.makePreview(row).{... |
958e0 | 76 61 72 20 69 6d 61 67 65 54 72 65 65 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d | var.imageTree.=.document.getElem |
95900 | 65 6e 74 42 79 49 64 28 22 69 6d 61 67 65 74 72 65 65 22 29 3b 0a 20 20 76 61 72 20 69 74 65 6d | entById("imagetree");...var.item |
95920 | 20 3d 20 67 65 74 53 65 6c 65 63 74 65 64 49 6d 61 67 65 28 69 6d 61 67 65 54 72 65 65 29 3b 0a | .=.getSelectedImage(imageTree);. |
95940 | 20 20 76 61 72 20 75 72 6c 20 3d 20 67 49 6d 61 67 65 56 69 65 77 2e 64 61 74 61 5b 72 6f 77 5d | ..var.url.=.gImageView.data[row] |
95960 | 5b 43 4f 4c 5f 49 4d 41 47 45 5f 41 44 44 52 45 53 53 5d 3b 0a 20 20 76 61 72 20 69 73 42 47 20 | [COL_IMAGE_ADDRESS];...var.isBG. |
95980 | 3d 20 67 49 6d 61 67 65 56 69 65 77 2e 64 61 74 61 5b 72 6f 77 5d 5b 43 4f 4c 5f 49 4d 41 47 45 | =.gImageView.data[row][COL_IMAGE |
959a0 | 5f 42 47 5d 3b 0a 0a 20 20 73 65 74 49 74 65 6d 56 61 6c 75 65 28 22 69 6d 61 67 65 75 72 6c 74 | _BG];....setItemValue("imageurlt |
959c0 | 65 78 74 22 2c 20 75 72 6c 29 3b 0a 0a 20 20 76 61 72 20 69 6d 61 67 65 54 65 78 74 3b 0a 20 20 | ext",.url);....var.imageText;... |
959e0 | 69 66 20 28 21 69 73 42 47 20 26 26 0a 2f 2f 40 6c 69 6e 65 20 38 32 33 20 22 2f 62 75 69 6c 64 | if.(!isBG.&&.//@line.823."/build |
95a00 | 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 | s/moz2_slave/linux_build/build/b |
95a20 | 72 6f 77 73 65 72 2f 62 61 73 65 2f 63 6f 6e 74 65 6e 74 2f 70 61 67 65 69 6e 66 6f 2f 70 61 67 | rowser/base/content/pageinfo/pag |
95a40 | 65 49 6e 66 6f 2e 6a 73 22 0a 20 20 20 20 20 20 21 28 69 74 65 6d 20 69 6e 73 74 61 6e 63 65 6f | eInfo.js".......!(item.instanceo |
95a60 | 66 20 53 56 47 49 6d 61 67 65 45 6c 65 6d 65 6e 74 29 20 26 26 0a 2f 2f 40 6c 69 6e 65 20 38 32 | f.SVGImageElement).&&.//@line.82 |
95a80 | 35 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c | 5."/builds/moz2_slave/linux_buil |
95aa0 | 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 62 61 73 65 2f 63 6f 6e 74 65 6e 74 2f 70 61 67 | d/build/browser/base/content/pag |
95ac0 | 65 69 6e 66 6f 2f 70 61 67 65 49 6e 66 6f 2e 6a 73 22 0a 20 20 20 20 20 20 21 28 67 44 6f 63 75 | einfo/pageInfo.js".......!(gDocu |
95ae0 | 6d 65 6e 74 20 69 6e 73 74 61 6e 63 65 6f 66 20 49 6d 61 67 65 44 6f 63 75 6d 65 6e 74 29 29 20 | ment.instanceof.ImageDocument)). |
95b00 | 7b 0a 20 20 20 20 69 6d 61 67 65 54 65 78 74 20 3d 20 69 74 65 6d 2e 74 69 74 6c 65 20 7c 7c 20 | {.....imageText.=.item.title.||. |
95b20 | 69 74 65 6d 2e 61 6c 74 3b 0a 0a 20 20 20 20 69 66 20 28 21 69 6d 61 67 65 54 65 78 74 20 26 26 | item.alt;......if.(!imageText.&& |
95b40 | 20 21 28 69 74 65 6d 20 69 6e 73 74 61 6e 63 65 6f 66 20 48 54 4d 4c 49 6d 61 67 65 45 6c 65 6d | .!(item.instanceof.HTMLImageElem |
95b60 | 65 6e 74 29 29 0a 20 20 20 20 20 20 69 6d 61 67 65 54 65 78 74 20 3d 20 67 65 74 56 61 6c 75 65 | ent)).......imageText.=.getValue |
95b80 | 54 65 78 74 28 69 74 65 6d 29 3b 0a 20 20 7d 0a 20 20 73 65 74 49 74 65 6d 56 61 6c 75 65 28 22 | Text(item);...}...setItemValue(" |
95ba0 | 69 6d 61 67 65 74 65 78 74 22 2c 20 69 6d 61 67 65 54 65 78 74 29 3b 0a 0a 20 20 73 65 74 49 74 | imagetext",.imageText);....setIt |
95bc0 | 65 6d 56 61 6c 75 65 28 22 69 6d 61 67 65 6c 6f 6e 67 64 65 73 63 74 65 78 74 22 2c 20 69 74 65 | emValue("imagelongdesctext",.ite |
95be0 | 6d 2e 6c 6f 6e 67 44 65 73 63 29 3b 0a 0a 20 20 2f 2f 20 67 65 74 20 63 61 63 68 65 20 69 6e 66 | m.longDesc);....//.get.cache.inf |
95c00 | 6f 0a 20 20 76 61 72 20 63 61 63 68 65 4b 65 79 20 3d 20 75 72 6c 2e 72 65 70 6c 61 63 65 28 2f | o...var.cacheKey.=.url.replace(/ |
95c20 | 23 2e 2a 24 2f 2c 20 22 22 29 3b 0a 20 20 74 72 79 20 7b 0a 20 20 20 20 2f 2f 20 6f 70 65 6e 20 | #.*$/,."");...try.{.....//.open. |
95c40 | 66 6f 72 20 52 45 41 44 2c 20 69 6e 20 6e 6f 6e 2d 62 6c 6f 63 6b 69 6e 67 20 6d 6f 64 65 0a 20 | for.READ,.in.non-blocking.mode.. |
95c60 | 20 20 20 76 61 72 20 63 61 63 68 65 45 6e 74 72 79 44 65 73 63 72 69 70 74 6f 72 20 3d 20 68 74 | ...var.cacheEntryDescriptor.=.ht |
95c80 | 74 70 43 61 63 68 65 53 65 73 73 69 6f 6e 2e 6f 70 65 6e 43 61 63 68 65 45 6e 74 72 79 28 63 61 | tpCacheSession.openCacheEntry(ca |
95ca0 | 63 68 65 4b 65 79 2c 20 41 43 43 45 53 53 5f 52 45 41 44 2c 20 66 61 6c 73 65 29 3b 0a 20 20 7d | cheKey,.ACCESS_READ,.false);...} |
95cc0 | 0a 20 20 63 61 74 63 68 28 65 78 29 20 7b 0a 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 2f | ...catch(ex).{.....try.{......./ |
95ce0 | 2f 20 6f 70 65 6e 20 66 6f 72 20 52 45 41 44 2c 20 69 6e 20 6e 6f 6e 2d 62 6c 6f 63 6b 69 6e 67 | /.open.for.READ,.in.non-blocking |
95d00 | 20 6d 6f 64 65 0a 20 20 20 20 20 20 63 61 63 68 65 45 6e 74 72 79 44 65 73 63 72 69 70 74 6f 72 | .mode.......cacheEntryDescriptor |
95d20 | 20 3d 20 66 74 70 43 61 63 68 65 53 65 73 73 69 6f 6e 2e 6f 70 65 6e 43 61 63 68 65 45 6e 74 72 | .=.ftpCacheSession.openCacheEntr |
95d40 | 79 28 63 61 63 68 65 4b 65 79 2c 20 41 43 43 45 53 53 5f 52 45 41 44 2c 20 66 61 6c 73 65 29 3b | y(cacheKey,.ACCESS_READ,.false); |
95d60 | 0a 20 20 20 20 7d 0a 20 20 20 20 63 61 74 63 68 28 65 78 32 29 20 7b 20 7d 0a 20 20 7d 0a 0a 20 | .....}.....catch(ex2).{.}...}... |
95d80 | 20 2f 2f 20 66 69 6e 64 20 6f 75 74 20 74 68 65 20 66 69 6c 65 20 73 69 7a 65 0a 20 20 76 61 72 | .//.find.out.the.file.size...var |
95da0 | 20 73 69 7a 65 54 65 78 74 3b 0a 20 20 69 66 20 28 63 61 63 68 65 45 6e 74 72 79 44 65 73 63 72 | .sizeText;...if.(cacheEntryDescr |
95dc0 | 69 70 74 6f 72 29 20 7b 0a 20 20 20 20 76 61 72 20 69 6d 61 67 65 53 69 7a 65 20 3d 20 63 61 63 | iptor).{.....var.imageSize.=.cac |
95de0 | 68 65 45 6e 74 72 79 44 65 73 63 72 69 70 74 6f 72 2e 64 61 74 61 53 69 7a 65 3b 0a 20 20 20 20 | heEntryDescriptor.dataSize;..... |
95e00 | 76 61 72 20 6b 62 53 69 7a 65 20 3d 20 4d 61 74 68 2e 72 6f 75 6e 64 28 69 6d 61 67 65 53 69 7a | var.kbSize.=.Math.round(imageSiz |
95e20 | 65 20 2f 20 31 30 32 34 20 2a 20 31 30 30 29 20 2f 20 31 30 30 3b 0a 20 20 20 20 73 69 7a 65 54 | e./.1024.*.100)./.100;.....sizeT |
95e40 | 65 78 74 20 3d 20 67 42 75 6e 64 6c 65 2e 67 65 74 46 6f 72 6d 61 74 74 65 64 53 74 72 69 6e 67 | ext.=.gBundle.getFormattedString |
95e60 | 28 22 67 65 6e 65 72 61 6c 53 69 7a 65 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ("generalSize",................. |
95e80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 5b 66 6f 72 6d 61 | ..........................[forma |
95ea0 | 74 4e 75 6d 62 65 72 28 6b 62 53 69 7a 65 29 2c 20 66 6f 72 6d 61 74 4e 75 6d 62 65 72 28 69 6d | tNumber(kbSize),.formatNumber(im |
95ec0 | 61 67 65 53 69 7a 65 29 5d 29 3b 0a 20 20 7d 0a 20 20 65 6c 73 65 0a 20 20 20 20 73 69 7a 65 54 | ageSize)]);...}...else.....sizeT |
95ee0 | 65 78 74 20 3d 20 67 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 6d 65 64 69 61 55 6e | ext.=.gBundle.getString("mediaUn |
95f00 | 6b 6e 6f 77 6e 4e 6f 74 43 61 63 68 65 64 22 29 3b 0a 20 20 73 65 74 49 74 65 6d 56 61 6c 75 65 | knownNotCached");...setItemValue |
95f20 | 28 22 69 6d 61 67 65 73 69 7a 65 74 65 78 74 22 2c 20 73 69 7a 65 54 65 78 74 29 3b 0a 0a 20 20 | ("imagesizetext",.sizeText);.... |
95f40 | 76 61 72 20 6d 69 6d 65 54 79 70 65 3b 0a 20 20 76 61 72 20 6e 75 6d 46 72 61 6d 65 73 20 3d 20 | var.mimeType;...var.numFrames.=. |
95f60 | 31 3b 0a 20 20 69 66 20 28 69 74 65 6d 20 69 6e 73 74 61 6e 63 65 6f 66 20 48 54 4d 4c 4f 62 6a | 1;...if.(item.instanceof.HTMLObj |
95f80 | 65 63 74 45 6c 65 6d 65 6e 74 20 7c 7c 0a 20 20 20 20 20 20 69 74 65 6d 20 69 6e 73 74 61 6e 63 | ectElement.||.......item.instanc |
95fa0 | 65 6f 66 20 48 54 4d 4c 45 6d 62 65 64 45 6c 65 6d 65 6e 74 20 7c 7c 0a 20 20 20 20 20 20 69 74 | eof.HTMLEmbedElement.||.......it |
95fc0 | 65 6d 20 69 6e 73 74 61 6e 63 65 6f 66 20 48 54 4d 4c 4c 69 6e 6b 45 6c 65 6d 65 6e 74 29 0a 20 | em.instanceof.HTMLLinkElement).. |
95fe0 | 20 20 20 6d 69 6d 65 54 79 70 65 20 3d 20 69 74 65 6d 2e 74 79 70 65 3b 0a 0a 20 20 69 66 20 28 | ...mimeType.=.item.type;....if.( |
96000 | 21 6d 69 6d 65 54 79 70 65 20 26 26 20 21 69 73 42 47 20 26 26 20 69 74 65 6d 20 69 6e 73 74 61 | !mimeType.&&.!isBG.&&.item.insta |
96020 | 6e 63 65 6f 66 20 6e 73 49 49 6d 61 67 65 4c 6f 61 64 69 6e 67 43 6f 6e 74 65 6e 74 29 20 7b 0a | nceof.nsIImageLoadingContent).{. |
96040 | 20 20 20 20 76 61 72 20 69 6d 61 67 65 52 65 71 75 65 73 74 20 3d 20 69 74 65 6d 2e 67 65 74 52 | ....var.imageRequest.=.item.getR |
96060 | 65 71 75 65 73 74 28 6e 73 49 49 6d 61 67 65 4c 6f 61 64 69 6e 67 43 6f 6e 74 65 6e 74 2e 43 55 | equest(nsIImageLoadingContent.CU |
96080 | 52 52 45 4e 54 5f 52 45 51 55 45 53 54 29 3b 0a 20 20 20 20 69 66 20 28 69 6d 61 67 65 52 65 71 | RRENT_REQUEST);.....if.(imageReq |
960a0 | 75 65 73 74 29 20 7b 0a 20 20 20 20 20 20 6d 69 6d 65 54 79 70 65 20 3d 20 69 6d 61 67 65 52 65 | uest).{.......mimeType.=.imageRe |
960c0 | 71 75 65 73 74 2e 6d 69 6d 65 54 79 70 65 3b 0a 20 20 20 20 20 20 76 61 72 20 69 6d 61 67 65 20 | quest.mimeType;.......var.image. |
960e0 | 3d 20 69 6d 61 67 65 52 65 71 75 65 73 74 2e 69 6d 61 67 65 3b 0a 20 20 20 20 20 20 69 66 20 28 | =.imageRequest.image;.......if.( |
96100 | 69 6d 61 67 65 29 0a 20 20 20 20 20 20 20 20 6e 75 6d 46 72 61 6d 65 73 20 3d 20 69 6d 61 67 65 | image).........numFrames.=.image |
96120 | 2e 6e 75 6d 46 72 61 6d 65 73 3b 0a 20 20 20 20 7d 0a 20 20 7d 0a 20 20 69 66 20 28 21 6d 69 6d | .numFrames;.....}...}...if.(!mim |
96140 | 65 54 79 70 65 29 0a 20 20 20 20 6d 69 6d 65 54 79 70 65 20 3d 20 67 65 74 43 6f 6e 74 65 6e 74 | eType).....mimeType.=.getContent |
96160 | 54 79 70 65 46 72 6f 6d 48 65 61 64 65 72 73 28 63 61 63 68 65 45 6e 74 72 79 44 65 73 63 72 69 | TypeFromHeaders(cacheEntryDescri |
96180 | 70 74 6f 72 29 3b 0a 0a 20 20 76 61 72 20 69 6d 61 67 65 54 79 70 65 3b 0a 20 20 69 66 20 28 6d | ptor);....var.imageType;...if.(m |
961a0 | 69 6d 65 54 79 70 65 29 20 7b 0a 20 20 20 20 2f 2f 20 57 65 20 66 6f 75 6e 64 20 74 68 65 20 74 | imeType).{.....//.We.found.the.t |
961c0 | 79 70 65 2c 20 74 72 79 20 74 6f 20 64 69 73 70 6c 61 79 20 69 74 20 6e 69 63 65 6c 79 0a 20 20 | ype,.try.to.display.it.nicely... |
961e0 | 20 20 76 61 72 20 69 6d 61 67 65 4d 69 6d 65 54 79 70 65 20 3d 20 2f 5e 69 6d 61 67 65 5c 2f 28 | ..var.imageMimeType.=./^image\/( |
96200 | 2e 2a 29 2f 2e 65 78 65 63 28 6d 69 6d 65 54 79 70 65 29 3b 0a 20 20 20 20 69 66 20 28 69 6d 61 | .*)/.exec(mimeType);.....if.(ima |
96220 | 67 65 4d 69 6d 65 54 79 70 65 29 20 7b 0a 20 20 20 20 20 20 69 6d 61 67 65 54 79 70 65 20 3d 20 | geMimeType).{.......imageType.=. |
96240 | 69 6d 61 67 65 4d 69 6d 65 54 79 70 65 5b 31 5d 2e 74 6f 55 70 70 65 72 43 61 73 65 28 29 3b 0a | imageMimeType[1].toUpperCase();. |
96260 | 20 20 20 20 20 20 69 66 20 28 6e 75 6d 46 72 61 6d 65 73 20 3e 20 31 29 0a 20 20 20 20 20 20 20 | ......if.(numFrames.>.1)........ |
96280 | 20 69 6d 61 67 65 54 79 70 65 20 3d 20 67 42 75 6e 64 6c 65 2e 67 65 74 46 6f 72 6d 61 74 74 65 | .imageType.=.gBundle.getFormatte |
962a0 | 64 53 74 72 69 6e 67 28 22 6d 65 64 69 61 41 6e 69 6d 61 74 65 64 49 6d 61 67 65 54 79 70 65 22 | dString("mediaAnimatedImageType" |
962c0 | 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ,............................... |
962e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 5b 69 6d 61 67 65 54 79 70 65 2c 20 6e 75 6d | .................[imageType,.num |
96300 | 46 72 61 6d 65 73 5d 29 3b 0a 20 20 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 20 20 69 6d 61 | Frames]);.......else.........ima |
96320 | 67 65 54 79 70 65 20 3d 20 67 42 75 6e 64 6c 65 2e 67 65 74 46 6f 72 6d 61 74 74 65 64 53 74 72 | geType.=.gBundle.getFormattedStr |
96340 | 69 6e 67 28 22 6d 65 64 69 61 49 6d 61 67 65 54 79 70 65 22 2c 20 5b 69 6d 61 67 65 54 79 70 65 | ing("mediaImageType",.[imageType |
96360 | 5d 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 2f 2f 20 74 68 | ]);.....}.....else.{.......//.th |
96380 | 65 20 4d 49 4d 45 20 74 79 70 65 20 64 6f 65 73 6e 27 74 20 62 65 67 69 6e 20 77 69 74 68 20 69 | e.MIME.type.doesn't.begin.with.i |
963a0 | 6d 61 67 65 2f 2c 20 64 69 73 70 6c 61 79 20 74 68 65 20 72 61 77 20 74 79 70 65 0a 20 20 20 20 | mage/,.display.the.raw.type..... |
963c0 | 20 20 69 6d 61 67 65 54 79 70 65 20 3d 20 6d 69 6d 65 54 79 70 65 3b 0a 20 20 20 20 7d 0a 20 20 | ..imageType.=.mimeType;.....}... |
963e0 | 7d 0a 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 2f 2f 20 57 65 20 63 6f 75 6c 64 6e 27 74 20 66 69 | }...else.{.....//.We.couldn't.fi |
96400 | 6e 64 20 74 68 65 20 74 79 70 65 2c 20 66 61 6c 6c 20 62 61 63 6b 20 74 6f 20 74 68 65 20 76 61 | nd.the.type,.fall.back.to.the.va |
96420 | 6c 75 65 20 69 6e 20 74 68 65 20 74 72 65 65 76 69 65 77 0a 20 20 20 20 69 6d 61 67 65 54 79 70 | lue.in.the.treeview.....imageTyp |
96440 | 65 20 3d 20 67 49 6d 61 67 65 56 69 65 77 2e 64 61 74 61 5b 72 6f 77 5d 5b 43 4f 4c 5f 49 4d 41 | e.=.gImageView.data[row][COL_IMA |
96460 | 47 45 5f 54 59 50 45 5d 3b 0a 20 20 7d 0a 20 20 73 65 74 49 74 65 6d 56 61 6c 75 65 28 22 69 6d | GE_TYPE];...}...setItemValue("im |
96480 | 61 67 65 74 79 70 65 74 65 78 74 22 2c 20 69 6d 61 67 65 54 79 70 65 29 3b 0a 0a 20 20 76 61 72 | agetypetext",.imageType);....var |
964a0 | 20 69 6d 61 67 65 43 6f 6e 74 61 69 6e 65 72 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c | .imageContainer.=.document.getEl |
964c0 | 65 6d 65 6e 74 42 79 49 64 28 22 74 68 65 69 6d 61 67 65 63 6f 6e 74 61 69 6e 65 72 22 29 3b 0a | ementById("theimagecontainer");. |
964e0 | 20 20 76 61 72 20 6f 6c 64 49 6d 61 67 65 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 | ..var.oldImage.=.document.getEle |
96500 | 6d 65 6e 74 42 79 49 64 28 22 74 68 65 70 72 65 76 69 65 77 69 6d 61 67 65 22 29 3b 0a 0a 20 20 | mentById("thepreviewimage");.... |
96520 | 63 6f 6e 73 74 20 72 65 67 65 78 20 3d 20 2f 5e 28 68 74 74 70 73 3f 7c 66 74 70 7c 66 69 6c 65 | const.regex.=./^(https?|ftp|file |
96540 | 7c 67 6f 70 68 65 72 7c 61 62 6f 75 74 7c 63 68 72 6f 6d 65 7c 72 65 73 6f 75 72 63 65 29 3a 2f | |gopher|about|chrome|resource):/ |
96560 | 3b 0a 20 20 76 61 72 20 69 73 50 72 6f 74 6f 63 6f 6c 41 6c 6c 6f 77 65 64 20 3d 20 72 65 67 65 | ;...var.isProtocolAllowed.=.rege |
96580 | 78 2e 74 65 73 74 28 75 72 6c 29 3b 0a 20 20 69 66 20 28 2f 5e 64 61 74 61 3a 2f 2e 74 65 73 74 | x.test(url);...if.(/^data:/.test |
965a0 | 28 75 72 6c 29 20 26 26 20 2f 5e 69 6d 61 67 65 5c 2f 2f 2e 74 65 73 74 28 6d 69 6d 65 54 79 70 | (url).&&./^image\//.test(mimeTyp |
965c0 | 65 29 29 0a 20 20 20 20 69 73 50 72 6f 74 6f 63 6f 6c 41 6c 6c 6f 77 65 64 20 3d 20 74 72 75 65 | e)).....isProtocolAllowed.=.true |
965e0 | 3b 0a 0a 20 20 76 61 72 20 6e 65 77 49 6d 61 67 65 20 3d 20 6e 65 77 20 49 6d 61 67 65 28 29 3b | ;....var.newImage.=.new.Image(); |
96600 | 0a 20 20 6e 65 77 49 6d 61 67 65 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 69 64 22 2c 20 22 | ...newImage.setAttribute("id",." |
96620 | 74 68 65 70 72 65 76 69 65 77 69 6d 61 67 65 22 29 3b 0a 20 20 76 61 72 20 70 68 79 73 57 69 64 | thepreviewimage");...var.physWid |
96640 | 74 68 20 3d 20 30 2c 20 70 68 79 73 48 65 69 67 68 74 20 3d 20 30 3b 0a 20 20 76 61 72 20 77 69 | th.=.0,.physHeight.=.0;...var.wi |
96660 | 64 74 68 20 3d 20 30 2c 20 68 65 69 67 68 74 20 3d 20 30 3b 0a 0a 20 20 69 66 20 28 28 69 74 65 | dth.=.0,.height.=.0;....if.((ite |
96680 | 6d 20 69 6e 73 74 61 6e 63 65 6f 66 20 48 54 4d 4c 4c 69 6e 6b 45 6c 65 6d 65 6e 74 20 7c 7c 20 | m.instanceof.HTMLLinkElement.||. |
966a0 | 69 74 65 6d 20 69 6e 73 74 61 6e 63 65 6f 66 20 48 54 4d 4c 49 6e 70 75 74 45 6c 65 6d 65 6e 74 | item.instanceof.HTMLInputElement |
966c0 | 20 7c 7c 0a 20 20 20 20 20 20 20 69 74 65 6d 20 69 6e 73 74 61 6e 63 65 6f 66 20 48 54 4d 4c 49 | .||........item.instanceof.HTMLI |
966e0 | 6d 61 67 65 45 6c 65 6d 65 6e 74 20 7c 7c 0a 2f 2f 40 6c 69 6e 65 20 39 31 39 20 22 2f 62 75 69 | mageElement.||.//@line.919."/bui |
96700 | 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 | lds/moz2_slave/linux_build/build |
96720 | 2f 62 72 6f 77 73 65 72 2f 62 61 73 65 2f 63 6f 6e 74 65 6e 74 2f 70 61 67 65 69 6e 66 6f 2f 70 | /browser/base/content/pageinfo/p |
96740 | 61 67 65 49 6e 66 6f 2e 6a 73 22 0a 20 20 20 20 20 20 20 69 74 65 6d 20 69 6e 73 74 61 6e 63 65 | ageInfo.js"........item.instance |
96760 | 6f 66 20 53 56 47 49 6d 61 67 65 45 6c 65 6d 65 6e 74 20 7c 7c 0a 2f 2f 40 6c 69 6e 65 20 39 32 | of.SVGImageElement.||.//@line.92 |
96780 | 31 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c | 1."/builds/moz2_slave/linux_buil |
967a0 | 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 62 61 73 65 2f 63 6f 6e 74 65 6e 74 2f 70 61 67 | d/build/browser/base/content/pag |
967c0 | 65 69 6e 66 6f 2f 70 61 67 65 49 6e 66 6f 2e 6a 73 22 0a 20 20 20 20 20 20 28 69 74 65 6d 20 69 | einfo/pageInfo.js".......(item.i |
967e0 | 6e 73 74 61 6e 63 65 6f 66 20 48 54 4d 4c 4f 62 6a 65 63 74 45 6c 65 6d 65 6e 74 20 26 26 20 2f | nstanceof.HTMLObjectElement.&&./ |
96800 | 5e 69 6d 61 67 65 5c 2f 2f 2e 74 65 73 74 28 6d 69 6d 65 54 79 70 65 29 29 20 7c 7c 20 69 73 42 | ^image\//.test(mimeType)).||.isB |
96820 | 47 29 20 26 26 20 69 73 50 72 6f 74 6f 63 6f 6c 41 6c 6c 6f 77 65 64 29 20 7b 0a 20 20 20 20 6e | G).&&.isProtocolAllowed).{.....n |
96840 | 65 77 49 6d 61 67 65 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 73 72 63 22 2c 20 75 72 6c 29 | ewImage.setAttribute("src",.url) |
96860 | 3b 0a 20 20 20 20 70 68 79 73 57 69 64 74 68 20 3d 20 6e 65 77 49 6d 61 67 65 2e 77 69 64 74 68 | ;.....physWidth.=.newImage.width |
96880 | 20 7c 7c 20 30 3b 0a 20 20 20 20 70 68 79 73 48 65 69 67 68 74 20 3d 20 6e 65 77 49 6d 61 67 65 | .||.0;.....physHeight.=.newImage |
968a0 | 2e 68 65 69 67 68 74 20 7c 7c 20 30 3b 0a 0a 20 20 20 20 2f 2f 20 22 77 69 64 74 68 22 20 61 6e | .height.||.0;......//."width".an |
968c0 | 64 20 22 68 65 69 67 68 74 22 20 61 74 74 72 69 62 75 74 65 73 20 6d 75 73 74 20 62 65 20 73 65 | d."height".attributes.must.be.se |
968e0 | 74 20 74 6f 20 6e 65 77 49 6d 61 67 65 2c 0a 20 20 20 20 2f 2f 20 65 76 65 6e 20 69 66 20 74 68 | t.to.newImage,.....//.even.if.th |
96900 | 65 72 65 20 69 73 20 6e 6f 20 22 77 69 64 74 68 22 20 6f 72 20 22 68 65 69 67 68 74 20 61 74 74 | ere.is.no."width".or."height.att |
96920 | 72 69 62 75 74 65 20 69 6e 20 69 74 65 6d 3b 0a 20 20 20 20 2f 2f 20 6f 74 68 65 72 77 69 73 65 | ribute.in.item;.....//.otherwise |
96940 | 2c 20 74 68 65 20 70 72 65 76 69 65 77 20 69 6d 61 67 65 20 63 61 6e 6e 6f 74 20 62 65 20 64 69 | ,.the.preview.image.cannot.be.di |
96960 | 73 70 6c 61 79 65 64 20 63 6f 72 72 65 63 74 6c 79 2e 0a 20 20 20 20 69 66 20 28 21 69 73 42 47 | splayed.correctly......if.(!isBG |
96980 | 29 20 7b 0a 20 20 20 20 20 20 6e 65 77 49 6d 61 67 65 2e 77 69 64 74 68 20 3d 20 28 22 77 69 64 | ).{.......newImage.width.=.("wid |
969a0 | 74 68 22 20 69 6e 20 69 74 65 6d 20 26 26 20 69 74 65 6d 2e 77 69 64 74 68 29 20 7c 7c 20 6e 65 | th".in.item.&&.item.width).||.ne |
969c0 | 77 49 6d 61 67 65 2e 6e 61 74 75 72 61 6c 57 69 64 74 68 3b 0a 20 20 20 20 20 20 6e 65 77 49 6d | wImage.naturalWidth;.......newIm |
969e0 | 61 67 65 2e 68 65 69 67 68 74 20 3d 20 28 22 68 65 69 67 68 74 22 20 69 6e 20 69 74 65 6d 20 26 | age.height.=.("height".in.item.& |
96a00 | 26 20 69 74 65 6d 2e 68 65 69 67 68 74 29 20 7c 7c 20 6e 65 77 49 6d 61 67 65 2e 6e 61 74 75 72 | &.item.height).||.newImage.natur |
96a20 | 61 6c 48 65 69 67 68 74 3b 0a 20 20 20 20 7d 0a 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 | alHeight;.....}.....else.{...... |
96a40 | 20 2f 2f 20 74 68 65 20 57 69 64 74 68 20 61 6e 64 20 48 65 69 67 68 74 20 6f 66 20 61 6e 20 48 | .//.the.Width.and.Height.of.an.H |
96a60 | 54 4d 4c 20 74 61 67 20 73 68 6f 75 6c 64 20 6e 6f 74 20 62 65 20 75 73 65 64 20 66 6f 72 20 69 | TML.tag.should.not.be.used.for.i |
96a80 | 74 73 20 62 61 63 6b 67 72 6f 75 6e 64 20 69 6d 61 67 65 0a 20 20 20 20 20 20 2f 2f 20 28 66 6f | ts.background.image.......//.(fo |
96aa0 | 72 20 65 78 61 6d 70 6c 65 2c 20 22 74 61 62 6c 65 22 20 63 61 6e 20 68 61 76 65 20 22 77 69 64 | r.example,."table".can.have."wid |
96ac0 | 74 68 22 20 6f 72 20 22 68 65 69 67 68 74 22 20 61 74 74 72 69 62 75 74 65 73 29 0a 20 20 20 20 | th".or."height".attributes)..... |
96ae0 | 20 20 6e 65 77 49 6d 61 67 65 2e 77 69 64 74 68 20 3d 20 6e 65 77 49 6d 61 67 65 2e 6e 61 74 75 | ..newImage.width.=.newImage.natu |
96b00 | 72 61 6c 57 69 64 74 68 3b 0a 20 20 20 20 20 20 6e 65 77 49 6d 61 67 65 2e 68 65 69 67 68 74 20 | ralWidth;.......newImage.height. |
96b20 | 3d 20 6e 65 77 49 6d 61 67 65 2e 6e 61 74 75 72 61 6c 48 65 69 67 68 74 3b 0a 20 20 20 20 7d 0a | =.newImage.naturalHeight;.....}. |
96b40 | 0a 2f 2f 40 6c 69 6e 65 20 39 34 31 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 | .//@line.941."/builds/moz2_slave |
96b60 | 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 62 61 73 65 2f | /linux_build/build/browser/base/ |
96b80 | 63 6f 6e 74 65 6e 74 2f 70 61 67 65 69 6e 66 6f 2f 70 61 67 65 49 6e 66 6f 2e 6a 73 22 0a 20 20 | content/pageinfo/pageInfo.js"... |
96ba0 | 20 20 69 66 20 28 69 74 65 6d 20 69 6e 73 74 61 6e 63 65 6f 66 20 53 56 47 49 6d 61 67 65 45 6c | ..if.(item.instanceof.SVGImageEl |
96bc0 | 65 6d 65 6e 74 29 20 7b 0a 20 20 20 20 20 20 6e 65 77 49 6d 61 67 65 2e 77 69 64 74 68 20 3d 20 | ement).{.......newImage.width.=. |
96be0 | 69 74 65 6d 2e 77 69 64 74 68 2e 62 61 73 65 56 61 6c 2e 76 61 6c 75 65 3b 0a 20 20 20 20 20 20 | item.width.baseVal.value;....... |
96c00 | 6e 65 77 49 6d 61 67 65 2e 68 65 69 67 68 74 20 3d 20 69 74 65 6d 2e 68 65 69 67 68 74 2e 62 61 | newImage.height.=.item.height.ba |
96c20 | 73 65 56 61 6c 2e 76 61 6c 75 65 3b 0a 20 20 20 20 7d 0a 2f 2f 40 6c 69 6e 65 20 39 34 36 20 22 | seVal.value;.....}.//@line.946." |
96c40 | 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 | /builds/moz2_slave/linux_build/b |
96c60 | 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 62 61 73 65 2f 63 6f 6e 74 65 6e 74 2f 70 61 67 65 69 6e | uild/browser/base/content/pagein |
96c80 | 66 6f 2f 70 61 67 65 49 6e 66 6f 2e 6a 73 22 0a 0a 20 20 20 20 77 69 64 74 68 20 3d 20 6e 65 77 | fo/pageInfo.js"......width.=.new |
96ca0 | 49 6d 61 67 65 2e 77 69 64 74 68 3b 0a 20 20 20 20 68 65 69 67 68 74 20 3d 20 6e 65 77 49 6d 61 | Image.width;.....height.=.newIma |
96cc0 | 67 65 2e 68 65 69 67 68 74 3b 0a 0a 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d | ge.height;......document.getElem |
96ce0 | 65 6e 74 42 79 49 64 28 22 74 68 65 69 6d 61 67 65 63 6f 6e 74 61 69 6e 65 72 22 29 2e 63 6f 6c | entById("theimagecontainer").col |
96d00 | 6c 61 70 73 65 64 20 3d 20 66 61 6c 73 65 0a 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 | lapsed.=.false.....document.getE |
96d20 | 6c 65 6d 65 6e 74 42 79 49 64 28 22 62 72 6f 6b 65 6e 69 6d 61 67 65 63 6f 6e 74 61 69 6e 65 72 | lementById("brokenimagecontainer |
96d40 | 22 29 2e 63 6f 6c 6c 61 70 73 65 64 20 3d 20 74 72 75 65 3b 0a 20 20 7d 0a 20 20 65 6c 73 65 20 | ").collapsed.=.true;...}...else. |
96d60 | 7b 0a 20 20 20 20 2f 2f 20 66 61 6c 6c 62 61 63 6b 20 69 6d 61 67 65 20 66 6f 72 20 70 72 6f 74 | {.....//.fallback.image.for.prot |
96d80 | 6f 63 6f 6c 73 20 6e 6f 74 20 61 6c 6c 6f 77 65 64 20 28 65 2e 67 2e 2c 20 64 61 74 61 3a 20 6f | ocols.not.allowed.(e.g.,.data:.o |
96da0 | 72 20 6a 61 76 61 73 63 72 69 70 74 3a 29 0a 20 20 20 20 2f 2f 20 6f 72 20 65 6c 65 6d 65 6e 74 | r.javascript:).....//.or.element |
96dc0 | 73 20 6e 6f 74 20 5b 79 65 74 5d 20 68 61 6e 64 6c 65 64 20 28 65 2e 67 2e 2c 20 6f 62 6a 65 63 | s.not.[yet].handled.(e.g.,.objec |
96de0 | 74 2c 20 65 6d 62 65 64 29 2e 0a 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 | t,.embed)......document.getEleme |
96e00 | 6e 74 42 79 49 64 28 22 62 72 6f 6b 65 6e 69 6d 61 67 65 63 6f 6e 74 61 69 6e 65 72 22 29 2e 63 | ntById("brokenimagecontainer").c |
96e20 | 6f 6c 6c 61 70 73 65 64 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 | ollapsed.=.false;.....document.g |
96e40 | 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 74 68 65 69 6d 61 67 65 63 6f 6e 74 61 69 6e 65 72 | etElementById("theimagecontainer |
96e60 | 22 29 2e 63 6f 6c 6c 61 70 73 65 64 20 3d 20 74 72 75 65 3b 0a 20 20 7d 0a 0a 20 20 76 61 72 20 | ").collapsed.=.true;...}....var. |
96e80 | 69 6d 61 67 65 53 69 7a 65 20 3d 20 22 22 3b 0a 20 20 69 66 20 28 75 72 6c 29 20 7b 0a 20 20 20 | imageSize.=."";...if.(url).{.... |
96ea0 | 20 69 66 20 28 77 69 64 74 68 20 21 3d 20 70 68 79 73 57 69 64 74 68 20 7c 7c 20 68 65 69 67 68 | .if.(width.!=.physWidth.||.heigh |
96ec0 | 74 20 21 3d 20 70 68 79 73 48 65 69 67 68 74 29 20 7b 0a 20 20 20 20 20 20 69 6d 61 67 65 53 69 | t.!=.physHeight).{.......imageSi |
96ee0 | 7a 65 20 3d 20 67 42 75 6e 64 6c 65 2e 67 65 74 46 6f 72 6d 61 74 74 65 64 53 74 72 69 6e 67 28 | ze.=.gBundle.getFormattedString( |
96f00 | 22 6d 65 64 69 61 44 69 6d 65 6e 73 69 6f 6e 73 53 63 61 6c 65 64 22 2c 0a 20 20 20 20 20 20 20 | "mediaDimensionsScaled",........ |
96f20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
96f40 | 20 20 20 20 20 20 5b 66 6f 72 6d 61 74 4e 75 6d 62 65 72 28 70 68 79 73 57 69 64 74 68 29 2c 0a | ......[formatNumber(physWidth),. |
96f60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
96f80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 6f 72 6d 61 74 4e 75 6d 62 65 72 28 70 68 79 73 48 | ..............formatNumber(physH |
96fa0 | 65 69 67 68 74 29 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | eight),......................... |
96fc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 6f 72 6d 61 74 4e 75 6d 62 | ......................formatNumb |
96fe0 | 65 72 28 77 69 64 74 68 29 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | er(width),...................... |
97000 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 6f 72 6d 61 74 4e | .........................formatN |
97020 | 75 6d 62 65 72 28 68 65 69 67 68 74 29 5d 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 65 6c 73 65 20 | umber(height)]);.....}.....else. |
97040 | 7b 0a 20 20 20 20 20 20 69 6d 61 67 65 53 69 7a 65 20 3d 20 67 42 75 6e 64 6c 65 2e 67 65 74 46 | {.......imageSize.=.gBundle.getF |
97060 | 6f 72 6d 61 74 74 65 64 53 74 72 69 6e 67 28 22 6d 65 64 69 61 44 69 6d 65 6e 73 69 6f 6e 73 22 | ormattedString("mediaDimensions" |
97080 | 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ,............................... |
970a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 5b 66 6f 72 6d 61 74 4e 75 6d 62 65 72 28 77 69 64 | ...............[formatNumber(wid |
970c0 | 74 68 29 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | th),............................ |
970e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 6f 72 6d 61 74 4e 75 6d 62 65 72 28 | ...................formatNumber( |
97100 | 68 65 69 67 68 74 29 5d 29 3b 0a 20 20 20 20 7d 0a 20 20 7d 0a 20 20 73 65 74 49 74 65 6d 56 61 | height)]);.....}...}...setItemVa |
97120 | 6c 75 65 28 22 69 6d 61 67 65 64 69 6d 65 6e 73 69 6f 6e 74 65 78 74 22 2c 20 69 6d 61 67 65 53 | lue("imagedimensiontext",.imageS |
97140 | 69 7a 65 29 3b 0a 0a 20 20 6d 61 6b 65 42 6c 6f 63 6b 49 6d 61 67 65 28 75 72 6c 29 3b 0a 0a 20 | ize);....makeBlockImage(url);... |
97160 | 20 69 6d 61 67 65 43 6f 6e 74 61 69 6e 65 72 2e 72 65 6d 6f 76 65 43 68 69 6c 64 28 6f 6c 64 49 | .imageContainer.removeChild(oldI |
97180 | 6d 61 67 65 29 3b 0a 20 20 69 6d 61 67 65 43 6f 6e 74 61 69 6e 65 72 2e 61 70 70 65 6e 64 43 68 | mage);...imageContainer.appendCh |
971a0 | 69 6c 64 28 6e 65 77 49 6d 61 67 65 29 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 6d 61 6b 65 42 | ild(newImage);.}..function.makeB |
971c0 | 6c 6f 63 6b 49 6d 61 67 65 28 75 72 6c 29 0a 7b 0a 20 20 76 61 72 20 70 65 72 6d 69 73 73 69 6f | lockImage(url).{...var.permissio |
971e0 | 6e 4d 61 6e 61 67 65 72 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 50 45 | nManager.=.Components.classes[PE |
97200 | 52 4d 49 53 53 49 4f 4e 5f 43 4f 4e 54 52 41 43 54 49 44 5d 0a 20 20 20 20 20 20 20 20 20 20 20 | RMISSION_CONTRACTID]............ |
97220 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 | ..........................getSer |
97240 | 76 69 63 65 28 6e 73 49 50 65 72 6d 69 73 73 69 6f 6e 4d 61 6e 61 67 65 72 29 3b 0a 20 20 76 61 | vice(nsIPermissionManager);...va |
97260 | 72 20 70 72 65 66 73 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 50 52 45 | r.prefs.=.Components.classes[PRE |
97280 | 46 45 52 45 4e 43 45 53 5f 43 4f 4e 54 52 41 43 54 49 44 5d 0a 20 20 20 20 20 20 20 20 20 20 20 | FERENCES_CONTRACTID]............ |
972a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 | ..............getService(Compone |
972c0 | 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 50 72 65 66 42 72 61 6e 63 68 32 29 3b 0a | nts.interfaces.nsIPrefBranch2);. |
972e0 | 0a 20 20 76 61 72 20 63 68 65 63 6b 62 6f 78 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c | ...var.checkbox.=.document.getEl |
97300 | 65 6d 65 6e 74 42 79 49 64 28 22 62 6c 6f 63 6b 49 6d 61 67 65 22 29 3b 0a 20 20 76 61 72 20 69 | ementById("blockImage");...var.i |
97320 | 6d 61 67 65 50 72 65 66 20 3d 20 70 72 65 66 73 2e 67 65 74 49 6e 74 50 72 65 66 28 22 70 65 72 | magePref.=.prefs.getIntPref("per |
97340 | 6d 69 73 73 69 6f 6e 73 2e 64 65 66 61 75 6c 74 2e 69 6d 61 67 65 22 29 3b 0a 20 20 69 66 20 28 | missions.default.image");...if.( |
97360 | 21 28 2f 5e 68 74 74 70 73 3f 3a 2f 2e 74 65 73 74 28 75 72 6c 29 29 20 7c 7c 20 69 6d 61 67 65 | !(/^https?:/.test(url)).||.image |
97380 | 50 72 65 66 20 3d 3d 20 32 29 0a 20 20 20 20 2f 2f 20 57 65 20 63 61 6e 27 74 20 62 6c 6f 63 6b | Pref.==.2).....//.We.can't.block |
973a0 | 20 74 68 65 20 69 6d 61 67 65 73 20 66 72 6f 6d 20 74 68 69 73 20 68 6f 73 74 20 62 65 63 61 75 | .the.images.from.this.host.becau |
973c0 | 73 65 20 65 69 74 68 65 72 20 69 73 20 69 73 20 6e 6f 74 0a 20 20 20 20 2f 2f 20 66 6f 72 20 68 | se.either.is.is.not.....//.for.h |
973e0 | 74 74 70 28 73 29 20 6f 72 20 77 65 20 64 6f 6e 27 74 20 6c 6f 61 64 20 69 6d 61 67 65 73 20 61 | ttp(s).or.we.don't.load.images.a |
97400 | 74 20 61 6c 6c 0a 20 20 20 20 63 68 65 63 6b 62 6f 78 2e 68 69 64 64 65 6e 20 3d 20 74 72 75 65 | t.all.....checkbox.hidden.=.true |
97420 | 3b 0a 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 76 61 72 20 75 72 69 20 3d 20 6d 61 6b 65 55 52 49 | ;...else.{.....var.uri.=.makeURI |
97440 | 28 75 72 6c 29 3b 0a 20 20 20 20 69 66 20 28 75 72 69 2e 68 6f 73 74 29 20 7b 0a 20 20 20 20 20 | (url);.....if.(uri.host).{...... |
97460 | 20 63 68 65 63 6b 62 6f 78 2e 68 69 64 64 65 6e 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 20 | .checkbox.hidden.=.false;....... |
97480 | 63 68 65 63 6b 62 6f 78 2e 6c 61 62 65 6c 20 3d 20 67 42 75 6e 64 6c 65 2e 67 65 74 46 6f 72 6d | checkbox.label.=.gBundle.getForm |
974a0 | 61 74 74 65 64 53 74 72 69 6e 67 28 22 6d 65 64 69 61 42 6c 6f 63 6b 49 6d 61 67 65 22 2c 20 5b | attedString("mediaBlockImage",.[ |
974c0 | 75 72 69 2e 68 6f 73 74 5d 29 3b 0a 20 20 20 20 20 20 76 61 72 20 70 65 72 6d 20 3d 20 70 65 72 | uri.host]);.......var.perm.=.per |
974e0 | 6d 69 73 73 69 6f 6e 4d 61 6e 61 67 65 72 2e 74 65 73 74 50 65 72 6d 69 73 73 69 6f 6e 28 75 72 | missionManager.testPermission(ur |
97500 | 69 2c 20 22 69 6d 61 67 65 22 29 3b 0a 20 20 20 20 20 20 63 68 65 63 6b 62 6f 78 2e 63 68 65 63 | i,."image");.......checkbox.chec |
97520 | 6b 65 64 20 3d 20 70 65 72 6d 20 3d 3d 20 6e 73 49 50 65 72 6d 69 73 73 69 6f 6e 4d 61 6e 61 67 | ked.=.perm.==.nsIPermissionManag |
97540 | 65 72 2e 44 45 4e 59 5f 41 43 54 49 4f 4e 3b 0a 20 20 20 20 7d 0a 20 20 20 20 65 6c 73 65 0a 20 | er.DENY_ACTION;.....}.....else.. |
97560 | 20 20 20 20 20 63 68 65 63 6b 62 6f 78 2e 68 69 64 64 65 6e 20 3d 20 74 72 75 65 3b 0a 20 20 7d | .....checkbox.hidden.=.true;...} |
97580 | 0a 7d 0a 0a 76 61 72 20 69 6d 61 67 65 50 65 72 6d 69 73 73 69 6f 6e 4f 62 73 65 72 76 65 72 20 | .}..var.imagePermissionObserver. |
975a0 | 3d 20 7b 0a 20 20 6f 62 73 65 72 76 65 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 53 75 62 6a 65 63 | =.{...observe:.function.(aSubjec |
975c0 | 74 2c 20 61 54 6f 70 69 63 2c 20 61 44 61 74 61 29 0a 20 20 7b 0a 20 20 20 20 69 66 20 28 64 6f | t,.aTopic,.aData)...{.....if.(do |
975e0 | 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 6d 65 64 69 61 50 72 65 76 | cument.getElementById("mediaPrev |
97600 | 69 65 77 42 6f 78 22 29 2e 63 6f 6c 6c 61 70 73 65 64 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e | iewBox").collapsed).......return |
97620 | 3b 0a 0a 20 20 20 20 69 66 20 28 61 54 6f 70 69 63 20 3d 3d 20 22 70 65 72 6d 2d 63 68 61 6e 67 | ;......if.(aTopic.==."perm-chang |
97640 | 65 64 22 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 70 65 72 6d 69 73 73 69 6f 6e 20 3d 20 61 53 | ed").{.......var.permission.=.aS |
97660 | 75 62 6a 65 63 74 2e 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 | ubject.QueryInterface(Components |
97680 | 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 50 65 72 6d 69 73 73 69 6f 6e 29 3b 0a 20 20 20 20 | .interfaces.nsIPermission);..... |
976a0 | 20 20 69 66 20 28 70 65 72 6d 69 73 73 69 6f 6e 2e 74 79 70 65 20 3d 3d 20 22 69 6d 61 67 65 22 | ..if.(permission.type.==."image" |
976c0 | 29 20 7b 0a 20 20 20 20 20 20 20 20 76 61 72 20 69 6d 61 67 65 54 72 65 65 20 3d 20 64 6f 63 75 | ).{.........var.imageTree.=.docu |
976e0 | 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 69 6d 61 67 65 74 72 65 65 22 29 | ment.getElementById("imagetree") |
97700 | 3b 0a 20 20 20 20 20 20 20 20 76 61 72 20 72 6f 77 20 3d 20 69 6d 61 67 65 54 72 65 65 2e 63 75 | ;.........var.row.=.imageTree.cu |
97720 | 72 72 65 6e 74 49 6e 64 65 78 3b 0a 20 20 20 20 20 20 20 20 76 61 72 20 69 74 65 6d 20 3d 20 67 | rrentIndex;.........var.item.=.g |
97740 | 49 6d 61 67 65 56 69 65 77 2e 64 61 74 61 5b 72 6f 77 5d 5b 43 4f 4c 5f 49 4d 41 47 45 5f 4e 4f | ImageView.data[row][COL_IMAGE_NO |
97760 | 44 45 5d 3b 0a 20 20 20 20 20 20 20 20 76 61 72 20 75 72 6c 20 3d 20 67 49 6d 61 67 65 56 69 65 | DE];.........var.url.=.gImageVie |
97780 | 77 2e 64 61 74 61 5b 72 6f 77 5d 5b 43 4f 4c 5f 49 4d 41 47 45 5f 41 44 44 52 45 53 53 5d 3b 0a | w.data[row][COL_IMAGE_ADDRESS];. |
977a0 | 20 20 20 20 20 20 20 20 69 66 20 28 6d 61 6b 65 55 52 49 28 75 72 6c 29 2e 68 6f 73 74 20 3d 3d | ........if.(makeURI(url).host.== |
977c0 | 20 70 65 72 6d 69 73 73 69 6f 6e 2e 68 6f 73 74 29 0a 20 20 20 20 20 20 20 20 20 20 6d 61 6b 65 | .permission.host)...........make |
977e0 | 42 6c 6f 63 6b 49 6d 61 67 65 28 75 72 6c 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 20 | BlockImage(url);.......}.....}.. |
97800 | 20 7d 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 67 65 74 43 6f 6e 74 65 6e 74 54 79 70 65 46 72 6f | .}.}..function.getContentTypeFro |
97820 | 6d 48 65 61 64 65 72 73 28 63 61 63 68 65 45 6e 74 72 79 44 65 73 63 72 69 70 74 6f 72 29 0a 7b | mHeaders(cacheEntryDescriptor).{ |
97840 | 0a 20 20 69 66 20 28 21 63 61 63 68 65 45 6e 74 72 79 44 65 73 63 72 69 70 74 6f 72 29 0a 20 20 | ...if.(!cacheEntryDescriptor)... |
97860 | 20 20 72 65 74 75 72 6e 20 6e 75 6c 6c 3b 0a 0a 20 20 72 65 74 75 72 6e 20 28 2f 5e 43 6f 6e 74 | ..return.null;....return.(/^Cont |
97880 | 65 6e 74 2d 54 79 70 65 3a 5c 73 2a 28 2e 2a 3f 29 5c 73 2a 28 3f 3a 5c 3b 7c 24 29 2f 6d 69 0a | ent-Type:\s*(.*?)\s*(?:\;|$)/mi. |
978a0 | 20 20 20 20 20 20 20 20 20 20 2e 65 78 65 63 28 63 61 63 68 65 45 6e 74 72 79 44 65 73 63 72 69 | ...........exec(cacheEntryDescri |
978c0 | 70 74 6f 72 2e 67 65 74 4d 65 74 61 44 61 74 61 45 6c 65 6d 65 6e 74 28 22 72 65 73 70 6f 6e 73 | ptor.getMetaDataElement("respons |
978e0 | 65 2d 68 65 61 64 22 29 29 29 5b 31 5d 3b 0a 7d 0a 0a 2f 2f 2a 2a 2a 2a 2a 2a 2a 2a 20 4f 74 68 | e-head")))[1];.}..//********.Oth |
97900 | 65 72 20 4d 69 73 63 20 53 74 75 66 66 0a 2f 2f 20 4d 6f 64 69 66 69 65 64 20 66 72 6f 6d 20 74 | er.Misc.Stuff.//.Modified.from.t |
97920 | 68 65 20 4c 69 6e 6b 73 20 50 61 6e 65 6c 20 76 32 2e 33 2c 20 68 74 74 70 3a 2f 2f 73 65 67 6d | he.Links.Panel.v2.3,.http://segm |
97940 | 65 6e 74 37 2e 6e 65 74 2f 6d 6f 7a 69 6c 6c 61 2f 6c 69 6e 6b 73 2f 6c 69 6e 6b 73 2e 68 74 6d | ent7.net/mozilla/links/links.htm |
97960 | 6c 0a 2f 2f 20 70 61 72 73 65 20 61 20 6e 6f 64 65 20 74 6f 20 65 78 74 72 61 63 74 20 74 68 65 | l.//.parse.a.node.to.extract.the |
97980 | 20 63 6f 6e 74 65 6e 74 73 20 6f 66 20 74 68 65 20 6e 6f 64 65 0a 66 75 6e 63 74 69 6f 6e 20 67 | .contents.of.the.node.function.g |
979a0 | 65 74 56 61 6c 75 65 54 65 78 74 28 6e 6f 64 65 29 0a 7b 0a 20 20 76 61 72 20 76 61 6c 75 65 54 | etValueText(node).{...var.valueT |
979c0 | 65 78 74 20 3d 20 22 22 3b 0a 0a 20 20 2f 2f 20 66 6f 72 6d 20 69 6e 70 75 74 20 65 6c 65 6d 65 | ext.=."";....//.form.input.eleme |
979e0 | 6e 74 73 20 64 6f 6e 27 74 20 67 65 6e 65 72 61 6c 6c 79 20 63 6f 6e 74 61 69 6e 20 69 6e 66 6f | nts.don't.generally.contain.info |
97a00 | 72 6d 61 74 69 6f 6e 20 74 68 61 74 20 69 73 20 75 73 65 66 75 6c 20 74 6f 20 6f 75 72 20 63 61 | rmation.that.is.useful.to.our.ca |
97a20 | 6c 6c 65 72 73 2c 20 73 6f 20 72 65 74 75 72 6e 20 6e 6f 74 68 69 6e 67 0a 20 20 69 66 20 28 6e | llers,.so.return.nothing...if.(n |
97a40 | 6f 64 65 20 69 6e 73 74 61 6e 63 65 6f 66 20 48 54 4d 4c 49 6e 70 75 74 45 6c 65 6d 65 6e 74 20 | ode.instanceof.HTMLInputElement. |
97a60 | 7c 7c 0a 20 20 20 20 20 20 6e 6f 64 65 20 69 6e 73 74 61 6e 63 65 6f 66 20 48 54 4d 4c 53 65 6c | ||.......node.instanceof.HTMLSel |
97a80 | 65 63 74 45 6c 65 6d 65 6e 74 20 7c 7c 0a 20 20 20 20 20 20 6e 6f 64 65 20 69 6e 73 74 61 6e 63 | ectElement.||.......node.instanc |
97aa0 | 65 6f 66 20 48 54 4d 4c 54 65 78 74 41 72 65 61 45 6c 65 6d 65 6e 74 29 0a 20 20 20 20 72 65 74 | eof.HTMLTextAreaElement).....ret |
97ac0 | 75 72 6e 20 76 61 6c 75 65 54 65 78 74 3b 0a 0a 20 20 2f 2f 20 6f 74 68 65 72 77 69 73 65 20 72 | urn.valueText;....//.otherwise.r |
97ae0 | 65 63 75 72 73 65 20 66 6f 72 20 65 61 63 68 20 63 68 69 6c 64 0a 20 20 76 61 72 20 6c 65 6e 67 | ecurse.for.each.child...var.leng |
97b00 | 74 68 20 3d 20 6e 6f 64 65 2e 63 68 69 6c 64 4e 6f 64 65 73 2e 6c 65 6e 67 74 68 3b 0a 20 20 66 | th.=.node.childNodes.length;...f |
97b20 | 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 20 | or.(var.i.=.0;.i.<.length;.i++). |
97b40 | 7b 0a 20 20 20 20 76 61 72 20 63 68 69 6c 64 4e 6f 64 65 20 3d 20 6e 6f 64 65 2e 63 68 69 6c 64 | {.....var.childNode.=.node.child |
97b60 | 4e 6f 64 65 73 5b 69 5d 3b 0a 20 20 20 20 76 61 72 20 6e 6f 64 65 54 79 70 65 20 3d 20 63 68 69 | Nodes[i];.....var.nodeType.=.chi |
97b80 | 6c 64 4e 6f 64 65 2e 6e 6f 64 65 54 79 70 65 3b 0a 0a 20 20 20 20 2f 2f 20 74 65 78 74 20 6e 6f | ldNode.nodeType;......//.text.no |
97ba0 | 64 65 73 20 61 72 65 20 77 68 65 72 65 20 74 68 65 20 67 6f 6f 64 73 20 61 72 65 0a 20 20 20 20 | des.are.where.the.goods.are..... |
97bc0 | 69 66 20 28 6e 6f 64 65 54 79 70 65 20 3d 3d 20 4e 6f 64 65 2e 54 45 58 54 5f 4e 4f 44 45 29 0a | if.(nodeType.==.Node.TEXT_NODE). |
97be0 | 20 20 20 20 20 20 76 61 6c 75 65 54 65 78 74 20 2b 3d 20 22 20 22 20 2b 20 63 68 69 6c 64 4e 6f | ......valueText.+=.".".+.childNo |
97c00 | 64 65 2e 6e 6f 64 65 56 61 6c 75 65 3b 0a 20 20 20 20 2f 2f 20 61 6e 64 20 65 6c 65 6d 65 6e 74 | de.nodeValue;.....//.and.element |
97c20 | 73 20 63 61 6e 20 68 61 76 65 20 6d 6f 72 65 20 74 65 78 74 20 69 6e 73 69 64 65 20 74 68 65 6d | s.can.have.more.text.inside.them |
97c40 | 0a 20 20 20 20 65 6c 73 65 20 69 66 20 28 6e 6f 64 65 54 79 70 65 20 3d 3d 20 4e 6f 64 65 2e 45 | .....else.if.(nodeType.==.Node.E |
97c60 | 4c 45 4d 45 4e 54 5f 4e 4f 44 45 29 20 7b 0a 20 20 20 20 20 20 2f 2f 20 69 6d 61 67 65 73 20 61 | LEMENT_NODE).{.......//.images.a |
97c80 | 72 65 20 73 70 65 63 69 61 6c 2c 20 77 65 20 77 61 6e 74 20 74 6f 20 63 61 70 74 75 72 65 20 74 | re.special,.we.want.to.capture.t |
97ca0 | 68 65 20 61 6c 74 20 74 65 78 74 20 61 73 20 69 66 20 74 68 65 20 69 6d 61 67 65 20 77 65 72 65 | he.alt.text.as.if.the.image.were |
97cc0 | 6e 27 74 20 74 68 65 72 65 0a 20 20 20 20 20 20 69 66 20 28 63 68 69 6c 64 4e 6f 64 65 20 69 6e | n't.there.......if.(childNode.in |
97ce0 | 73 74 61 6e 63 65 6f 66 20 48 54 4d 4c 49 6d 61 67 65 45 6c 65 6d 65 6e 74 29 0a 20 20 20 20 20 | stanceof.HTMLImageElement)...... |
97d00 | 20 20 20 76 61 6c 75 65 54 65 78 74 20 2b 3d 20 22 20 22 20 2b 20 67 65 74 41 6c 74 54 65 78 74 | ...valueText.+=.".".+.getAltText |
97d20 | 28 63 68 69 6c 64 4e 6f 64 65 29 3b 0a 20 20 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 20 20 | (childNode);.......else......... |
97d40 | 76 61 6c 75 65 54 65 78 74 20 2b 3d 20 22 20 22 20 2b 20 67 65 74 56 61 6c 75 65 54 65 78 74 28 | valueText.+=.".".+.getValueText( |
97d60 | 63 68 69 6c 64 4e 6f 64 65 29 3b 0a 20 20 20 20 7d 0a 20 20 7d 0a 0a 20 20 72 65 74 75 72 6e 20 | childNode);.....}...}....return. |
97d80 | 73 74 72 69 70 57 53 28 76 61 6c 75 65 54 65 78 74 29 3b 0a 7d 0a 0a 2f 2f 20 43 6f 70 69 65 64 | stripWS(valueText);.}..//.Copied |
97da0 | 20 66 72 6f 6d 20 74 68 65 20 4c 69 6e 6b 73 20 50 61 6e 65 6c 20 76 32 2e 33 2c 20 68 74 74 70 | .from.the.Links.Panel.v2.3,.http |
97dc0 | 3a 2f 2f 73 65 67 6d 65 6e 74 37 2e 6e 65 74 2f 6d 6f 7a 69 6c 6c 61 2f 6c 69 6e 6b 73 2f 6c 69 | ://segment7.net/mozilla/links/li |
97de0 | 6e 6b 73 2e 68 74 6d 6c 0a 2f 2f 20 74 72 61 76 65 72 73 65 20 74 68 65 20 74 72 65 65 20 69 6e | nks.html.//.traverse.the.tree.in |
97e00 | 20 73 65 61 72 63 68 20 6f 66 20 61 6e 20 69 6d 67 20 6f 72 20 61 72 65 61 20 65 6c 65 6d 65 6e | .search.of.an.img.or.area.elemen |
97e20 | 74 20 61 6e 64 20 67 72 61 62 20 69 74 73 20 61 6c 74 20 74 61 67 0a 66 75 6e 63 74 69 6f 6e 20 | t.and.grab.its.alt.tag.function. |
97e40 | 67 65 74 41 6c 74 54 65 78 74 28 6e 6f 64 65 29 0a 7b 0a 20 20 76 61 72 20 61 6c 74 54 65 78 74 | getAltText(node).{...var.altText |
97e60 | 20 3d 20 22 22 3b 0a 0a 20 20 69 66 20 28 6e 6f 64 65 2e 61 6c 74 29 0a 20 20 20 20 72 65 74 75 | .=."";....if.(node.alt).....retu |
97e80 | 72 6e 20 6e 6f 64 65 2e 61 6c 74 3b 0a 20 20 76 61 72 20 6c 65 6e 67 74 68 20 3d 20 6e 6f 64 65 | rn.node.alt;...var.length.=.node |
97ea0 | 2e 63 68 69 6c 64 4e 6f 64 65 73 2e 6c 65 6e 67 74 68 3b 0a 20 20 66 6f 72 20 28 76 61 72 20 69 | .childNodes.length;...for.(var.i |
97ec0 | 20 3d 20 30 3b 20 69 20 3c 20 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 0a 20 20 20 20 69 66 20 28 28 | .=.0;.i.<.length;.i++).....if.(( |
97ee0 | 61 6c 74 54 65 78 74 20 3d 20 67 65 74 41 6c 74 54 65 78 74 28 6e 6f 64 65 2e 63 68 69 6c 64 4e | altText.=.getAltText(node.childN |
97f00 | 6f 64 65 73 5b 69 5d 29 20 21 3d 20 75 6e 64 65 66 69 6e 65 64 29 29 20 20 2f 2f 20 73 74 75 70 | odes[i]).!=.undefined))..//.stup |
97f20 | 69 64 20 6a 73 20 77 61 72 6e 69 6e 67 2e 2e 2e 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 61 6c | id.js.warning..........return.al |
97f40 | 74 54 65 78 74 3b 0a 20 20 72 65 74 75 72 6e 20 22 22 3b 0a 7d 0a 0a 2f 2f 20 43 6f 70 69 65 64 | tText;...return."";.}..//.Copied |
97f60 | 20 66 72 6f 6d 20 74 68 65 20 4c 69 6e 6b 73 20 50 61 6e 65 6c 20 76 32 2e 33 2c 20 68 74 74 70 | .from.the.Links.Panel.v2.3,.http |
97f80 | 3a 2f 2f 73 65 67 6d 65 6e 74 37 2e 6e 65 74 2f 6d 6f 7a 69 6c 6c 61 2f 6c 69 6e 6b 73 2f 6c 69 | ://segment7.net/mozilla/links/li |
97fa0 | 6e 6b 73 2e 68 74 6d 6c 0a 2f 2f 20 73 74 72 69 70 20 6c 65 61 64 69 6e 67 20 61 6e 64 20 74 72 | nks.html.//.strip.leading.and.tr |
97fc0 | 61 69 6c 69 6e 67 20 77 68 69 74 65 73 70 61 63 65 2c 20 61 6e 64 20 72 65 70 6c 61 63 65 20 6d | ailing.whitespace,.and.replace.m |
97fe0 | 75 6c 74 69 70 6c 65 20 63 6f 6e 73 65 63 75 74 69 76 65 20 77 68 69 74 65 73 70 61 63 65 20 63 | ultiple.consecutive.whitespace.c |
98000 | 68 61 72 61 63 74 65 72 73 20 77 69 74 68 20 61 20 73 69 6e 67 6c 65 20 73 70 61 63 65 0a 66 75 | haracters.with.a.single.space.fu |
98020 | 6e 63 74 69 6f 6e 20 73 74 72 69 70 57 53 28 74 65 78 74 29 0a 7b 0a 20 20 76 61 72 20 6d 69 64 | nction.stripWS(text).{...var.mid |
98040 | 64 6c 65 52 45 20 3d 20 2f 5c 73 2b 2f 67 3b 0a 20 20 76 61 72 20 65 6e 64 52 45 20 3d 20 2f 28 | dleRE.=./\s+/g;...var.endRE.=./( |
98060 | 5e 5c 73 2b 29 7c 28 5c 73 2b 24 29 2f 67 3b 0a 0a 20 20 74 65 78 74 20 3d 20 74 65 78 74 2e 72 | ^\s+)|(\s+$)/g;....text.=.text.r |
98080 | 65 70 6c 61 63 65 28 6d 69 64 64 6c 65 52 45 2c 20 22 20 22 29 3b 0a 20 20 72 65 74 75 72 6e 20 | eplace(middleRE,.".");...return. |
980a0 | 74 65 78 74 2e 72 65 70 6c 61 63 65 28 65 6e 64 52 45 2c 20 22 22 29 3b 0a 7d 0a 0a 66 75 6e 63 | text.replace(endRE,."");.}..func |
980c0 | 74 69 6f 6e 20 73 65 74 49 74 65 6d 56 61 6c 75 65 28 69 64 2c 20 76 61 6c 75 65 29 0a 7b 0a 20 | tion.setItemValue(id,.value).{.. |
980e0 | 20 76 61 72 20 69 74 65 6d 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 | .var.item.=.document.getElementB |
98100 | 79 49 64 28 69 64 29 3b 0a 20 20 69 66 20 28 76 61 6c 75 65 29 20 7b 0a 20 20 20 20 69 74 65 6d | yId(id);...if.(value).{.....item |
98120 | 2e 70 61 72 65 6e 74 4e 6f 64 65 2e 63 6f 6c 6c 61 70 73 65 64 20 3d 20 66 61 6c 73 65 3b 0a 20 | .parentNode.collapsed.=.false;.. |
98140 | 20 20 20 69 74 65 6d 2e 76 61 6c 75 65 20 3d 20 76 61 6c 75 65 3b 0a 20 20 7d 0a 20 20 65 6c 73 | ...item.value.=.value;...}...els |
98160 | 65 0a 20 20 20 20 69 74 65 6d 2e 70 61 72 65 6e 74 4e 6f 64 65 2e 63 6f 6c 6c 61 70 73 65 64 20 | e.....item.parentNode.collapsed. |
98180 | 3d 20 74 72 75 65 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 66 6f 72 6d 61 74 4e 75 6d 62 65 72 | =.true;.}..function.formatNumber |
981a0 | 28 6e 75 6d 62 65 72 29 0a 7b 0a 20 20 72 65 74 75 72 6e 20 28 2b 6e 75 6d 62 65 72 29 2e 74 6f | (number).{...return.(+number).to |
981c0 | 4c 6f 63 61 6c 65 53 74 72 69 6e 67 28 29 3b 20 20 2f 2f 20 63 6f 65 72 63 65 20 6e 75 6d 62 65 | LocaleString();..//.coerce.numbe |
981e0 | 72 20 74 6f 20 61 20 6e 75 6d 65 72 69 63 20 76 61 6c 75 65 20 62 65 66 6f 72 65 20 63 61 6c 6c | r.to.a.numeric.value.before.call |
98200 | 69 6e 67 20 74 6f 4c 6f 63 61 6c 65 53 74 72 69 6e 67 28 29 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e | ing.toLocaleString().}..function |
98220 | 20 66 6f 72 6d 61 74 44 61 74 65 28 64 61 74 65 73 74 72 2c 20 75 6e 6b 6e 6f 77 6e 29 0a 7b 0a | .formatDate(datestr,.unknown).{. |
98240 | 20 20 2f 2f 20 73 63 72 69 70 74 61 62 6c 65 20 64 61 74 65 20 66 6f 72 6d 61 74 74 65 72 2c 20 | ..//.scriptable.date.formatter,. |
98260 | 66 6f 72 20 70 72 65 74 74 79 20 70 72 69 6e 74 69 6e 67 20 64 61 74 65 73 0a 20 20 76 61 72 20 | for.pretty.printing.dates...var. |
98280 | 64 61 74 65 53 65 72 76 69 63 65 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 | dateService.=.Components.classes |
982a0 | 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 69 6e 74 6c 2f 73 63 72 69 70 74 61 62 6c 65 64 61 | ["@mozilla.org/intl/scriptableda |
982c0 | 74 65 66 6f 72 6d 61 74 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | teformat;1"].................... |
982e0 | 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 | ............getService(Component |
98300 | 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 53 63 72 69 70 74 61 62 6c 65 44 61 74 65 46 6f | s.interfaces.nsIScriptableDateFo |
98320 | 72 6d 61 74 29 3b 0a 0a 20 20 76 61 72 20 64 61 74 65 20 3d 20 6e 65 77 20 44 61 74 65 28 64 61 | rmat);....var.date.=.new.Date(da |
98340 | 74 65 73 74 72 29 3b 0a 20 20 69 66 20 28 21 64 61 74 65 2e 76 61 6c 75 65 4f 66 28 29 29 0a 20 | testr);...if.(!date.valueOf()).. |
98360 | 20 20 20 72 65 74 75 72 6e 20 75 6e 6b 6e 6f 77 6e 3b 0a 0a 20 20 72 65 74 75 72 6e 20 64 61 74 | ...return.unknown;....return.dat |
98380 | 65 53 65 72 76 69 63 65 2e 46 6f 72 6d 61 74 44 61 74 65 54 69 6d 65 28 22 22 2c 20 64 61 74 65 | eService.FormatDateTime("",.date |
983a0 | 53 65 72 76 69 63 65 2e 64 61 74 65 46 6f 72 6d 61 74 4c 6f 6e 67 2c 0a 20 20 20 20 20 20 20 20 | Service.dateFormatLong,......... |
983c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 61 74 65 | ............................date |
983e0 | 53 65 72 76 69 63 65 2e 74 69 6d 65 46 6f 72 6d 61 74 53 65 63 6f 6e 64 73 2c 0a 20 20 20 20 20 | Service.timeFormatSeconds,...... |
98400 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 | ...............................d |
98420 | 61 74 65 2e 67 65 74 46 75 6c 6c 59 65 61 72 28 29 2c 20 64 61 74 65 2e 67 65 74 4d 6f 6e 74 68 | ate.getFullYear(),.date.getMonth |
98440 | 28 29 2b 31 2c 20 64 61 74 65 2e 67 65 74 44 61 74 65 28 29 2c 0a 20 20 20 20 20 20 20 20 20 20 | ()+1,.date.getDate(),........... |
98460 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 61 74 65 2e 67 | ..........................date.g |
98480 | 65 74 48 6f 75 72 73 28 29 2c 20 64 61 74 65 2e 67 65 74 4d 69 6e 75 74 65 73 28 29 2c 20 64 61 | etHours(),.date.getMinutes(),.da |
984a0 | 74 65 2e 67 65 74 53 65 63 6f 6e 64 73 28 29 29 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 64 6f | te.getSeconds());.}..function.do |
984c0 | 43 6f 70 79 28 29 0a 7b 0a 20 20 69 66 20 28 21 67 43 6c 69 70 62 6f 61 72 64 48 65 6c 70 65 72 | Copy().{...if.(!gClipboardHelper |
984e0 | 29 0a 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 76 61 72 20 65 6c 65 6d 20 3d 20 64 6f 63 75 | ).....return;....var.elem.=.docu |
98500 | 6d 65 6e 74 2e 63 6f 6d 6d 61 6e 64 44 69 73 70 61 74 63 68 65 72 2e 66 6f 63 75 73 65 64 45 6c | ment.commandDispatcher.focusedEl |
98520 | 65 6d 65 6e 74 3b 0a 0a 20 20 69 66 20 28 65 6c 65 6d 20 26 26 20 22 74 72 65 65 42 6f 78 4f 62 | ement;....if.(elem.&&."treeBoxOb |
98540 | 6a 65 63 74 22 20 69 6e 20 65 6c 65 6d 29 20 7b 0a 20 20 20 20 76 61 72 20 76 69 65 77 20 3d 20 | ject".in.elem).{.....var.view.=. |
98560 | 65 6c 65 6d 2e 76 69 65 77 3b 0a 20 20 20 20 76 61 72 20 73 65 6c 65 63 74 69 6f 6e 20 3d 20 76 | elem.view;.....var.selection.=.v |
98580 | 69 65 77 2e 73 65 6c 65 63 74 69 6f 6e 3b 0a 20 20 20 20 76 61 72 20 74 65 78 74 20 3d 20 5b 5d | iew.selection;.....var.text.=.[] |
985a0 | 2c 20 74 6d 70 20 3d 20 27 27 3b 0a 20 20 20 20 76 61 72 20 6d 69 6e 20 3d 20 7b 7d 2c 20 6d 61 | ,.tmp.=.'';.....var.min.=.{},.ma |
985c0 | 78 20 3d 20 7b 7d 3b 0a 0a 20 20 20 20 76 61 72 20 63 6f 75 6e 74 20 3d 20 73 65 6c 65 63 74 69 | x.=.{};......var.count.=.selecti |
985e0 | 6f 6e 2e 67 65 74 52 61 6e 67 65 43 6f 75 6e 74 28 29 3b 0a 0a 20 20 20 20 66 6f 72 20 28 76 61 | on.getRangeCount();......for.(va |
98600 | 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 63 6f 75 6e 74 3b 20 69 2b 2b 29 20 7b 0a 20 20 20 20 20 | r.i.=.0;.i.<.count;.i++).{...... |
98620 | 20 73 65 6c 65 63 74 69 6f 6e 2e 67 65 74 52 61 6e 67 65 41 74 28 69 2c 20 6d 69 6e 2c 20 6d 61 | .selection.getRangeAt(i,.min,.ma |
98640 | 78 29 3b 0a 0a 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 72 6f 77 20 3d 20 6d 69 6e 2e 76 61 | x);........for.(var.row.=.min.va |
98660 | 6c 75 65 3b 20 72 6f 77 20 3c 3d 20 6d 61 78 2e 76 61 6c 75 65 3b 20 72 6f 77 2b 2b 29 20 7b 0a | lue;.row.<=.max.value;.row++).{. |
98680 | 20 20 20 20 20 20 20 20 76 69 65 77 2e 70 65 72 66 6f 72 6d 41 63 74 69 6f 6e 4f 6e 52 6f 77 28 | ........view.performActionOnRow( |
986a0 | 22 63 6f 70 79 22 2c 20 72 6f 77 29 3b 0a 0a 20 20 20 20 20 20 20 20 74 6d 70 20 3d 20 65 6c 65 | "copy",.row);..........tmp.=.ele |
986c0 | 6d 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 63 6f 70 79 62 75 66 66 65 72 22 29 3b 0a 20 20 | m.getAttribute("copybuffer");... |
986e0 | 20 20 20 20 20 20 69 66 20 28 74 6d 70 29 0a 20 20 20 20 20 20 20 20 20 20 74 65 78 74 2e 70 75 | ......if.(tmp)...........text.pu |
98700 | 73 68 28 74 6d 70 29 3b 0a 20 20 20 20 20 20 20 20 65 6c 65 6d 2e 72 65 6d 6f 76 65 41 74 74 72 | sh(tmp);.........elem.removeAttr |
98720 | 69 62 75 74 65 28 22 63 6f 70 79 62 75 66 66 65 72 22 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 | ibute("copybuffer");.......}.... |
98740 | 20 7d 0a 20 20 20 20 67 43 6c 69 70 62 6f 61 72 64 48 65 6c 70 65 72 2e 63 6f 70 79 53 74 72 69 | .}.....gClipboardHelper.copyStri |
98760 | 6e 67 28 74 65 78 74 2e 6a 6f 69 6e 28 22 5c 6e 22 29 29 3b 0a 20 20 7d 0a 7d 0a 0a 66 75 6e 63 | ng(text.join("\n"));...}.}..func |
98780 | 74 69 6f 6e 20 64 6f 53 65 6c 65 63 74 41 6c 6c 28 29 0a 7b 0a 20 20 76 61 72 20 65 6c 65 6d 20 | tion.doSelectAll().{...var.elem. |
987a0 | 3d 20 64 6f 63 75 6d 65 6e 74 2e 63 6f 6d 6d 61 6e 64 44 69 73 70 61 74 63 68 65 72 2e 66 6f 63 | =.document.commandDispatcher.foc |
987c0 | 75 73 65 64 45 6c 65 6d 65 6e 74 3b 0a 0a 20 20 69 66 20 28 65 6c 65 6d 20 26 26 20 22 74 72 65 | usedElement;....if.(elem.&&."tre |
987e0 | 65 42 6f 78 4f 62 6a 65 63 74 22 20 69 6e 20 65 6c 65 6d 29 0a 20 20 20 20 65 6c 65 6d 2e 76 69 | eBoxObject".in.elem).....elem.vi |
98800 | 65 77 2e 73 65 6c 65 63 74 69 6f 6e 2e 73 65 6c 65 63 74 41 6c 6c 28 29 3b 0a 7d 0a 50 4b 03 04 | ew.selection.selectAll();.}.PK.. |
98820 | 14 00 00 00 00 00 f2 4b 18 3b b4 37 75 ae 64 01 00 00 64 01 00 00 25 00 00 00 63 6f 6e 74 65 6e | .......K.;.7u.d...d...%...conten |
98840 | 74 2f 62 72 6f 77 73 65 72 2f 70 61 67 65 69 6e 66 6f 2f 70 61 67 65 49 6e 66 6f 2e 63 73 73 0a | t/browser/pageinfo/pageInfo.css. |
98860 | 23 76 69 65 77 47 72 6f 75 70 20 72 61 64 69 6f 20 7b 0a 20 20 2d 6d 6f 7a 2d 62 69 6e 64 69 6e | #viewGroup.radio.{...-moz-bindin |
98880 | 67 3a 20 75 72 6c 28 22 63 68 72 6f 6d 65 3a 2f 2f 6d 6f 7a 61 70 70 73 2f 63 6f 6e 74 65 6e 74 | g:.url("chrome://mozapps/content |
988a0 | 2f 65 78 74 65 6e 73 69 6f 6e 73 2f 65 78 74 65 6e 73 69 6f 6e 73 2e 78 6d 6c 23 76 69 65 77 62 | /extensions/extensions.xml#viewb |
988c0 | 75 74 74 6f 6e 22 29 3b 0a 7d 0a 0a 72 69 63 68 6c 69 73 74 69 74 65 6d 5b 66 65 65 64 5d 20 7b | utton");.}..richlistitem[feed].{ |
988e0 | 0a 20 20 2d 6d 6f 7a 2d 62 69 6e 64 69 6e 67 3a 20 75 72 6c 28 22 63 68 72 6f 6d 65 3a 2f 2f 62 | ...-moz-binding:.url("chrome://b |
98900 | 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 70 61 67 65 69 6e 66 6f 2f 66 65 65 64 73 2e 78 6d | rowser/content/pageinfo/feeds.xm |
98920 | 6c 23 66 65 65 64 22 29 3b 0a 7d 0a 0a 72 69 63 68 6c 69 73 74 69 74 65 6d 5b 66 65 65 64 5d 3a | l#feed");.}..richlistitem[feed]: |
98940 | 6e 6f 74 28 5b 73 65 6c 65 63 74 65 64 3d 22 74 72 75 65 22 5d 29 20 2e 66 65 65 64 2d 73 75 62 | not([selected="true"])..feed-sub |
98960 | 73 63 72 69 62 65 20 7b 0a 20 20 64 69 73 70 6c 61 79 3a 20 6e 6f 6e 65 3b 0a 7d 0a 0a 67 72 6f | scribe.{...display:.none;.}..gro |
98980 | 75 70 62 6f 78 5b 63 6c 6f 73 65 64 3d 22 74 72 75 65 22 5d 20 3e 20 2e 67 72 6f 75 70 62 6f 78 | upbox[closed="true"].>..groupbox |
989a0 | 2d 62 6f 64 79 20 7b 20 0a 20 20 76 69 73 69 62 69 6c 69 74 79 3a 20 63 6f 6c 6c 61 70 73 65 3b | -body.{....visibility:.collapse; |
989c0 | 0a 7d 0a 50 4b 03 04 14 00 00 00 00 00 f2 4b 18 3b f8 c7 0d 75 b7 06 00 00 b7 06 00 00 21 00 00 | .}.PK.........K.;...u........!.. |
989e0 | 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 61 67 65 69 6e 66 6f 2f 66 65 65 64 73 2e | .content/browser/pageinfo/feeds. |
98a00 | 6a 73 2f 2f 40 6c 69 6e 65 20 33 38 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 | js//@line.38."/builds/moz2_slave |
98a20 | 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 62 61 73 65 2f | /linux_build/build/browser/base/ |
98a40 | 63 6f 6e 74 65 6e 74 2f 70 61 67 65 69 6e 66 6f 2f 66 65 65 64 73 2e 6a 73 22 0a 0a 66 75 6e 63 | content/pageinfo/feeds.js"..func |
98a60 | 74 69 6f 6e 20 69 6e 69 74 46 65 65 64 54 61 62 28 29 0a 7b 0a 20 20 63 6f 6e 73 74 20 66 65 65 | tion.initFeedTab().{...const.fee |
98a80 | 64 54 79 70 65 73 20 3d 20 7b 0a 20 20 20 20 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f 72 73 73 2b | dTypes.=.{....."application/rss+ |
98aa0 | 78 6d 6c 22 3a 20 67 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 66 65 65 64 52 73 73 | xml":.gBundle.getString("feedRss |
98ac0 | 22 29 2c 0a 20 20 20 20 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f 61 74 6f 6d 2b 78 6d 6c 22 3a 20 | "),....."application/atom+xml":. |
98ae0 | 67 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 66 65 65 64 41 74 6f 6d 22 29 2c 0a 20 | gBundle.getString("feedAtom"),.. |
98b00 | 20 20 20 22 74 65 78 74 2f 78 6d 6c 22 3a 20 67 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 | ..."text/xml":.gBundle.getString |
98b20 | 28 22 66 65 65 64 58 4d 4c 22 29 2c 0a 20 20 20 20 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f 78 6d | ("feedXML"),....."application/xm |
98b40 | 6c 22 3a 20 67 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 66 65 65 64 58 4d 4c 22 29 | l":.gBundle.getString("feedXML") |
98b60 | 2c 0a 20 20 20 20 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f 72 64 66 2b 78 6d 6c 22 3a 20 67 42 75 | ,....."application/rdf+xml":.gBu |
98b80 | 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 66 65 65 64 58 4d 4c 22 29 0a 20 20 7d 3b 0a 0a | ndle.getString("feedXML")...};.. |
98ba0 | 20 20 2f 2f 20 67 65 74 20 74 68 65 20 66 65 65 64 73 0a 20 20 76 61 72 20 6c 69 6e 6b 4e 6f 64 | ..//.get.the.feeds...var.linkNod |
98bc0 | 65 73 20 3d 20 67 44 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 73 42 79 54 61 67 4e | es.=.gDocument.getElementsByTagN |
98be0 | 61 6d 65 28 22 6c 69 6e 6b 22 29 3b 0a 20 20 76 61 72 20 6c 65 6e 67 74 68 20 3d 20 6c 69 6e 6b | ame("link");...var.length.=.link |
98c00 | 4e 6f 64 65 73 2e 6c 65 6e 67 74 68 3b 0a 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 | Nodes.length;...for.(var.i.=.0;. |
98c20 | 69 20 3c 20 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 20 7b 0a 20 20 20 20 76 61 72 20 6c 69 6e 6b 20 | i.<.length;.i++).{.....var.link. |
98c40 | 3d 20 6c 69 6e 6b 4e 6f 64 65 73 5b 69 5d 3b 0a 20 20 20 20 69 66 20 28 21 6c 69 6e 6b 2e 68 72 | =.linkNodes[i];.....if.(!link.hr |
98c60 | 65 66 29 0a 20 20 20 20 20 20 63 6f 6e 74 69 6e 75 65 3b 0a 0a 20 20 20 20 76 61 72 20 72 65 6c | ef).......continue;......var.rel |
98c80 | 20 3d 20 6c 69 6e 6b 2e 72 65 6c 20 26 26 20 6c 69 6e 6b 2e 72 65 6c 2e 74 6f 4c 6f 77 65 72 43 | .=.link.rel.&&.link.rel.toLowerC |
98ca0 | 61 73 65 28 29 3b 0a 20 20 20 20 76 61 72 20 72 65 6c 73 20 3d 20 7b 7d 3b 0a 20 20 20 20 69 66 | ase();.....var.rels.=.{};.....if |
98cc0 | 20 28 72 65 6c 29 20 7b 0a 20 20 20 20 20 20 66 6f 72 20 65 61 63 68 20 28 6c 65 74 20 72 65 6c | .(rel).{.......for.each.(let.rel |
98ce0 | 56 61 6c 20 69 6e 20 72 65 6c 2e 73 70 6c 69 74 28 2f 5c 73 2b 2f 29 29 0a 20 20 20 20 20 20 20 | Val.in.rel.split(/\s+/))........ |
98d00 | 20 72 65 6c 73 5b 72 65 6c 56 61 6c 5d 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 | .rels[relVal].=.true;.....}..... |
98d20 | 20 69 66 20 28 72 65 6c 73 2e 66 65 65 64 20 7c 7c 20 28 6c 69 6e 6b 2e 74 79 70 65 20 26 26 20 | .if.(rels.feed.||.(link.type.&&. |
98d40 | 72 65 6c 73 2e 61 6c 74 65 72 6e 61 74 65 20 26 26 20 21 72 65 6c 73 2e 73 74 79 6c 65 73 68 65 | rels.alternate.&&.!rels.styleshe |
98d60 | 65 74 29 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 74 79 70 65 20 3d 20 69 73 56 61 6c 69 64 46 | et)).{.......var.type.=.isValidF |
98d80 | 65 65 64 28 6c 69 6e 6b 2c 20 67 44 6f 63 75 6d 65 6e 74 2e 6e 6f 64 65 50 72 69 6e 63 69 70 61 | eed(link,.gDocument.nodePrincipa |
98da0 | 6c 2c 20 72 65 6c 73 2e 66 65 65 64 29 3b 0a 20 20 20 20 20 20 69 66 20 28 74 79 70 65 29 20 7b | l,.rels.feed);.......if.(type).{ |
98dc0 | 0a 20 20 20 20 20 20 20 20 74 79 70 65 20 3d 20 66 65 65 64 54 79 70 65 73 5b 74 79 70 65 5d 20 | .........type.=.feedTypes[type]. |
98de0 | 7c 7c 20 66 65 65 64 54 79 70 65 73 5b 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f 72 73 73 2b 78 6d | ||.feedTypes["application/rss+xm |
98e00 | 6c 22 5d 3b 0a 20 20 20 20 20 20 20 20 61 64 64 52 6f 77 28 6c 69 6e 6b 2e 74 69 74 6c 65 2c 20 | l"];.........addRow(link.title,. |
98e20 | 74 79 70 65 2c 20 6c 69 6e 6b 2e 68 72 65 66 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a | type,.link.href);.......}.....}. |
98e40 | 20 20 7d 0a 0a 20 20 76 61 72 20 66 65 65 64 4c 69 73 74 62 6f 78 20 3d 20 64 6f 63 75 6d 65 6e | ..}....var.feedListbox.=.documen |
98e60 | 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 66 65 65 64 4c 69 73 74 62 6f 78 22 29 3b | t.getElementById("feedListbox"); |
98e80 | 0a 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 66 65 65 64 | ...document.getElementById("feed |
98ea0 | 54 61 62 22 29 2e 68 69 64 64 65 6e 20 3d 20 66 65 65 64 4c 69 73 74 62 6f 78 2e 67 65 74 52 6f | Tab").hidden.=.feedListbox.getRo |
98ec0 | 77 43 6f 75 6e 74 28 29 20 3d 3d 20 30 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 6f 6e 53 75 62 | wCount().==.0;.}..function.onSub |
98ee0 | 73 63 72 69 62 65 46 65 65 64 28 29 0a 7b 0a 20 20 76 61 72 20 6c 69 73 74 62 6f 78 20 3d 20 64 | scribeFeed().{...var.listbox.=.d |
98f00 | 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 66 65 65 64 4c 69 73 74 | ocument.getElementById("feedList |
98f20 | 62 6f 78 22 29 3b 0a 20 20 6f 70 65 6e 55 49 4c 69 6e 6b 28 6c 69 73 74 62 6f 78 2e 73 65 6c 65 | box");...openUILink(listbox.sele |
98f40 | 63 74 65 64 49 74 65 6d 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 66 65 65 64 55 52 4c 22 29 | ctedItem.getAttribute("feedURL") |
98f60 | 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 75 6c 6c 2c 20 66 61 6c 73 65 2c 20 74 72 75 65 | ,..............null,.false,.true |
98f80 | 2c 20 66 61 6c 73 65 2c 20 6e 75 6c 6c 29 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 61 64 64 52 | ,.false,.null);.}..function.addR |
98fa0 | 6f 77 28 6e 61 6d 65 2c 20 74 79 70 65 2c 20 75 72 6c 29 0a 7b 0a 20 20 76 61 72 20 69 74 65 6d | ow(name,.type,.url).{...var.item |
98fc0 | 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 63 72 65 61 74 65 45 6c 65 6d 65 6e 74 28 22 72 69 63 68 6c | .=.document.createElement("richl |
98fe0 | 69 73 74 69 74 65 6d 22 29 3b 0a 20 20 69 74 65 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 | istitem");...item.setAttribute(" |
99000 | 66 65 65 64 22 2c 20 22 74 72 75 65 22 29 3b 0a 20 20 69 74 65 6d 2e 73 65 74 41 74 74 72 69 62 | feed",."true");...item.setAttrib |
99020 | 75 74 65 28 22 6e 61 6d 65 22 2c 20 6e 61 6d 65 29 3b 0a 20 20 69 74 65 6d 2e 73 65 74 41 74 74 | ute("name",.name);...item.setAtt |
99040 | 72 69 62 75 74 65 28 22 74 79 70 65 22 2c 20 74 79 70 65 29 3b 0a 20 20 69 74 65 6d 2e 73 65 74 | ribute("type",.type);...item.set |
99060 | 41 74 74 72 69 62 75 74 65 28 22 66 65 65 64 55 52 4c 22 2c 20 75 72 6c 29 3b 0a 20 20 64 6f 63 | Attribute("feedURL",.url);...doc |
99080 | 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 66 65 65 64 4c 69 73 74 62 6f | ument.getElementById("feedListbo |
990a0 | 78 22 29 2e 61 70 70 65 6e 64 43 68 69 6c 64 28 69 74 65 6d 29 3b 0a 7d 0a 50 4b 03 04 14 00 00 | x").appendChild(item);.}.PK..... |
990c0 | 00 00 00 f2 4b 18 3b 65 1a aa 65 24 05 00 00 24 05 00 00 22 00 00 00 63 6f 6e 74 65 6e 74 2f 62 | ....K.;e..e$...$..."...content/b |
990e0 | 72 6f 77 73 65 72 2f 70 61 67 65 69 6e 66 6f 2f 66 65 65 64 73 2e 78 6d 6c 3c 3f 78 6d 6c 20 76 | rowser/pageinfo/feeds.xml<?xml.v |
99100 | 65 72 73 69 6f 6e 3d 22 31 2e 30 22 3f 3e 0a 0a 3c 21 44 4f 43 54 59 50 45 20 62 69 6e 64 69 6e | ersion="1.0"?>..<!DOCTYPE.bindin |
99120 | 67 73 20 5b 0a 20 20 3c 21 45 4e 54 49 54 59 20 25 20 70 61 67 65 49 6e 66 6f 44 54 44 20 53 59 | gs.[...<!ENTITY.%.pageInfoDTD.SY |
99140 | 53 54 45 4d 20 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 6c 6f 63 61 6c 65 2f 70 61 | STEM."chrome://browser/locale/pa |
99160 | 67 65 49 6e 66 6f 2e 64 74 64 22 3e 0a 20 20 25 70 61 67 65 49 6e 66 6f 44 54 44 3b 0a 5d 3e 0a | geInfo.dtd">...%pageInfoDTD;.]>. |
99180 | 0a 3c 62 69 6e 64 69 6e 67 73 20 69 64 3d 22 66 65 65 64 42 69 6e 64 69 6e 67 73 22 0a 20 20 20 | .<bindings.id="feedBindings".... |
991a0 | 20 20 20 20 20 20 20 78 6d 6c 6e 73 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c 61 | .......xmlns="http://www.mozilla |
991c0 | 2e 6f 72 67 2f 78 62 6c 22 0a 20 20 20 20 20 20 20 20 20 20 78 6d 6c 6e 73 3a 78 75 6c 3d 22 68 | .org/xbl"...........xmlns:xul="h |
991e0 | 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6b 65 79 6d 61 73 74 65 72 2f | ttp://www.mozilla.org/keymaster/ |
99200 | 67 61 74 65 6b 65 65 70 65 72 2f 74 68 65 72 65 2e 69 73 2e 6f 6e 6c 79 2e 78 75 6c 22 0a 20 20 | gatekeeper/there.is.only.xul"... |
99220 | 20 20 20 20 20 20 20 20 78 6d 6c 6e 73 3a 78 62 6c 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f | ........xmlns:xbl="http://www.mo |
99240 | 7a 69 6c 6c 61 2e 6f 72 67 2f 78 62 6c 22 3e 0a 0a 20 20 3c 62 69 6e 64 69 6e 67 20 69 64 3d 22 | zilla.org/xbl">....<binding.id=" |
99260 | 66 65 65 64 22 20 65 78 74 65 6e 64 73 3d 22 63 68 72 6f 6d 65 3a 2f 2f 67 6c 6f 62 61 6c 2f 63 | feed".extends="chrome://global/c |
99280 | 6f 6e 74 65 6e 74 2f 62 69 6e 64 69 6e 67 73 2f 72 69 63 68 6c 69 73 74 62 6f 78 2e 78 6d 6c 23 | ontent/bindings/richlistbox.xml# |
992a0 | 72 69 63 68 6c 69 73 74 69 74 65 6d 22 3e 0a 20 20 20 20 3c 63 6f 6e 74 65 6e 74 3e 0a 20 20 20 | richlistitem">.....<content>.... |
992c0 | 20 20 20 3c 78 75 6c 3a 76 62 6f 78 20 66 6c 65 78 3d 22 31 22 3e 0a 20 20 20 20 20 20 20 20 3c | ...<xul:vbox.flex="1">.........< |
992e0 | 78 75 6c 3a 68 62 6f 78 20 66 6c 65 78 3d 22 31 22 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 78 75 | xul:hbox.flex="1">...........<xu |
99300 | 6c 3a 74 65 78 74 62 6f 78 20 66 6c 65 78 3d 22 31 22 20 72 65 61 64 6f 6e 6c 79 3d 22 74 72 75 | l:textbox.flex="1".readonly="tru |
99320 | 65 22 20 78 62 6c 3a 69 6e 68 65 72 69 74 73 3d 22 76 61 6c 75 65 3d 6e 61 6d 65 22 0a 20 20 20 | e".xbl:inherits="value=name".... |
99340 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6c 61 73 73 3d 22 66 65 65 64 54 | ....................class="feedT |
99360 | 69 74 6c 65 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 78 75 6c 3a 6c 61 62 65 6c 20 78 62 6c | itle"/>...........<xul:label.xbl |
99380 | 3a 69 6e 68 65 72 69 74 73 3d 22 76 61 6c 75 65 3d 74 79 70 65 22 2f 3e 0a 20 20 20 20 20 20 20 | :inherits="value=type"/>........ |
993a0 | 20 3c 2f 78 75 6c 3a 68 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 3c 78 75 6c 3a 76 62 6f 78 3e 0a | .</xul:hbox>.........<xul:vbox>. |
993c0 | 20 20 20 20 20 20 20 20 20 20 3c 78 75 6c 3a 76 62 6f 78 20 61 6c 69 67 6e 3d 22 73 74 61 72 74 | ..........<xul:vbox.align="start |
993e0 | 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 78 75 6c 3a 68 62 6f 78 3e 0a 20 20 20 20 20 20 | ">.............<xul:hbox>....... |
99400 | 20 20 20 20 20 20 20 20 3c 78 75 6c 3a 6c 61 62 65 6c 20 78 62 6c 3a 69 6e 68 65 72 69 74 73 3d | ........<xul:label.xbl:inherits= |
99420 | 22 76 61 6c 75 65 3d 66 65 65 64 55 52 4c 2c 74 6f 6f 6c 74 69 70 74 65 78 74 3d 66 65 65 64 55 | "value=feedURL,tooltiptext=feedU |
99440 | 52 4c 22 20 63 6c 61 73 73 3d 22 74 65 78 74 2d 6c 69 6e 6b 22 20 66 6c 65 78 3d 22 31 22 0a 20 | RL".class="text-link".flex="1".. |
99460 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6c 69 63 6b 3d | ........................onclick= |
99480 | 22 6f 70 65 6e 55 49 4c 69 6e 6b 28 74 68 69 73 2e 76 61 6c 75 65 2c 20 65 76 65 6e 74 29 3b 22 | "openUILink(this.value,.event);" |
994a0 | 20 63 72 6f 70 3d 22 65 6e 64 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 78 75 6c 3a | .crop="end"/>.............</xul: |
994c0 | 68 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 2f 78 75 6c 3a 76 62 6f 78 3e 0a 20 20 20 20 | hbox>...........</xul:vbox>..... |
994e0 | 20 20 20 20 3c 2f 78 75 6c 3a 76 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 3c 78 75 6c 3a 68 62 6f | ....</xul:vbox>.........<xul:hbo |
99500 | 78 20 66 6c 65 78 3d 22 31 22 20 63 6c 61 73 73 3d 22 66 65 65 64 2d 73 75 62 73 63 72 69 62 65 | x.flex="1".class="feed-subscribe |
99520 | 22 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 78 75 6c 3a 73 70 61 63 65 72 20 66 6c 65 78 3d 22 31 | ">...........<xul:spacer.flex="1 |
99540 | 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 78 75 6c 3a 62 75 74 74 6f 6e 20 6c 61 62 65 6c 3d | "/>...........<xul:button.label= |
99560 | 22 26 66 65 65 64 53 75 62 73 63 72 69 62 65 3b 22 20 61 63 63 65 73 73 6b 65 79 3d 22 26 66 65 | "&feedSubscribe;".accesskey="&fe |
99580 | 65 64 53 75 62 73 63 72 69 62 65 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 | edSubscribe.accesskey;"......... |
995a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 6f 6e 53 75 62 73 63 | ..............oncommand="onSubsc |
995c0 | 72 69 62 65 46 65 65 64 28 29 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 2f 78 75 6c 3a 68 62 6f 78 | ribeFeed()"/>.........</xul:hbox |
995e0 | 3e 20 0a 20 20 20 20 20 20 3c 2f 78 75 6c 3a 76 62 6f 78 3e 0a 20 20 20 20 3c 2f 63 6f 6e 74 65 | >........</xul:vbox>.....</conte |
99600 | 6e 74 3e 0a 20 20 3c 2f 62 69 6e 64 69 6e 67 3e 0a 3c 2f 62 69 6e 64 69 6e 67 73 3e 0a 50 4b 03 | nt>...</binding>.</bindings>.PK. |
99620 | 04 14 00 00 00 00 00 f2 4b 18 3b 39 74 4c 61 2a 10 00 00 2a 10 00 00 27 00 00 00 63 6f 6e 74 65 | ........K.;9tLa*...*...'...conte |
99640 | 6e 74 2f 62 72 6f 77 73 65 72 2f 70 61 67 65 69 6e 66 6f 2f 70 65 72 6d 69 73 73 69 6f 6e 73 2e | nt/browser/pageinfo/permissions. |
99660 | 6a 73 2f 2f 40 6c 69 6e 65 20 33 36 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 | js//@line.36."/builds/moz2_slave |
99680 | 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 62 61 73 65 2f | /linux_build/build/browser/base/ |
996a0 | 63 6f 6e 74 65 6e 74 2f 70 61 67 65 69 6e 66 6f 2f 70 65 72 6d 69 73 73 69 6f 6e 73 2e 6a 73 22 | content/pageinfo/permissions.js" |
996c0 | 0a 63 6f 6e 73 74 20 41 4c 4c 4f 57 20 3d 20 6e 73 49 50 65 72 6d 69 73 73 69 6f 6e 4d 61 6e 61 | .const.ALLOW.=.nsIPermissionMana |
996e0 | 67 65 72 2e 41 4c 4c 4f 57 5f 41 43 54 49 4f 4e 3b 20 20 20 2f 2f 20 31 0a 63 6f 6e 73 74 20 42 | ger.ALLOW_ACTION;...//.1.const.B |
99700 | 4c 4f 43 4b 20 3d 20 6e 73 49 50 65 72 6d 69 73 73 69 6f 6e 4d 61 6e 61 67 65 72 2e 44 45 4e 59 | LOCK.=.nsIPermissionManager.DENY |
99720 | 5f 41 43 54 49 4f 4e 3b 20 20 20 20 2f 2f 20 32 0a 63 6f 6e 73 74 20 53 45 53 53 49 4f 4e 20 3d | _ACTION;....//.2.const.SESSION.= |
99740 | 20 6e 73 49 43 6f 6f 6b 69 65 50 65 72 6d 69 73 73 69 6f 6e 2e 41 43 43 45 53 53 5f 53 45 53 53 | .nsICookiePermission.ACCESS_SESS |
99760 | 49 4f 4e 3b 2f 2f 20 38 0a 76 61 72 20 67 50 65 72 6d 55 52 49 3b 0a 76 61 72 20 67 50 72 65 66 | ION;//.8.var.gPermURI;.var.gPref |
99780 | 73 3b 0a 0a 76 61 72 20 67 50 65 72 6d 4f 62 6a 20 3d 20 7b 0a 20 20 69 6d 61 67 65 3a 20 66 75 | s;..var.gPermObj.=.{...image:.fu |
997a0 | 6e 63 74 69 6f 6e 20 67 65 74 49 6d 61 67 65 44 65 66 61 75 6c 74 50 65 72 6d 69 73 73 69 6f 6e | nction.getImageDefaultPermission |
997c0 | 28 29 0a 20 20 7b 0a 20 20 20 20 69 66 20 28 67 50 72 65 66 73 2e 67 65 74 49 6e 74 50 72 65 66 | ()...{.....if.(gPrefs.getIntPref |
997e0 | 28 22 70 65 72 6d 69 73 73 69 6f 6e 73 2e 64 65 66 61 75 6c 74 2e 69 6d 61 67 65 22 29 20 3d 3d | ("permissions.default.image").== |
99800 | 20 32 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 42 4c 4f 43 4b 3b 0a 20 20 20 20 72 65 74 75 | .2).......return.BLOCK;.....retu |
99820 | 72 6e 20 41 4c 4c 4f 57 3b 0a 20 20 7d 2c 0a 20 20 63 6f 6f 6b 69 65 3a 20 66 75 6e 63 74 69 6f | rn.ALLOW;...},...cookie:.functio |
99840 | 6e 20 67 65 74 43 6f 6f 6b 69 65 44 65 66 61 75 6c 74 50 65 72 6d 69 73 73 69 6f 6e 28 29 0a 20 | n.getCookieDefaultPermission().. |
99860 | 20 7b 0a 20 20 20 20 69 66 20 28 67 50 72 65 66 73 2e 67 65 74 49 6e 74 50 72 65 66 28 22 6e 65 | .{.....if.(gPrefs.getIntPref("ne |
99880 | 74 77 6f 72 6b 2e 63 6f 6f 6b 69 65 2e 63 6f 6f 6b 69 65 42 65 68 61 76 69 6f 72 22 29 20 3d 3d | twork.cookie.cookieBehavior").== |
998a0 | 20 32 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 42 4c 4f 43 4b 3b 0a 0a 20 20 20 20 69 66 20 | .2).......return.BLOCK;......if. |
998c0 | 28 67 50 72 65 66 73 2e 67 65 74 49 6e 74 50 72 65 66 28 22 6e 65 74 77 6f 72 6b 2e 63 6f 6f 6b | (gPrefs.getIntPref("network.cook |
998e0 | 69 65 2e 6c 69 66 65 74 69 6d 65 50 6f 6c 69 63 79 22 29 20 3d 3d 20 32 29 0a 20 20 20 20 20 20 | ie.lifetimePolicy").==.2)....... |
99900 | 72 65 74 75 72 6e 20 53 45 53 53 49 4f 4e 3b 0a 20 20 20 20 72 65 74 75 72 6e 20 41 4c 4c 4f 57 | return.SESSION;.....return.ALLOW |
99920 | 3b 0a 20 20 7d 2c 0a 20 20 70 6f 70 75 70 3a 20 66 75 6e 63 74 69 6f 6e 20 67 65 74 50 6f 70 75 | ;...},...popup:.function.getPopu |
99940 | 70 44 65 66 61 75 6c 74 50 65 72 6d 69 73 73 69 6f 6e 28 29 0a 20 20 7b 0a 20 20 20 20 69 66 20 | pDefaultPermission()...{.....if. |
99960 | 28 67 50 72 65 66 73 2e 67 65 74 42 6f 6f 6c 50 72 65 66 28 22 64 6f 6d 2e 64 69 73 61 62 6c 65 | (gPrefs.getBoolPref("dom.disable |
99980 | 5f 6f 70 65 6e 5f 64 75 72 69 6e 67 5f 6c 6f 61 64 22 29 29 0a 20 20 20 20 20 20 72 65 74 75 72 | _open_during_load")).......retur |
999a0 | 6e 20 42 4c 4f 43 4b 3b 0a 20 20 20 20 72 65 74 75 72 6e 20 41 4c 4c 4f 57 3b 0a 20 20 7d 2c 0a | n.BLOCK;.....return.ALLOW;...},. |
999c0 | 20 20 69 6e 73 74 61 6c 6c 3a 20 66 75 6e 63 74 69 6f 6e 20 67 65 74 49 6e 73 74 61 6c 6c 44 65 | ..install:.function.getInstallDe |
999e0 | 66 61 75 6c 74 50 65 72 6d 69 73 73 69 6f 6e 28 29 0a 20 20 7b 0a 20 20 20 20 69 66 20 28 67 50 | faultPermission()...{.....if.(gP |
99a00 | 72 65 66 73 2e 67 65 74 42 6f 6f 6c 50 72 65 66 28 22 78 70 69 6e 73 74 61 6c 6c 2e 77 68 69 74 | refs.getBoolPref("xpinstall.whit |
99a20 | 65 6c 69 73 74 2e 72 65 71 75 69 72 65 64 22 29 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 42 | elist.required")).......return.B |
99a40 | 4c 4f 43 4b 3b 0a 20 20 20 20 72 65 74 75 72 6e 20 41 4c 4c 4f 57 3b 0a 20 20 7d 2c 0a 20 20 67 | LOCK;.....return.ALLOW;...},...g |
99a60 | 65 6f 3a 20 66 75 6e 63 74 69 6f 6e 20 67 65 74 47 65 6f 44 65 66 61 75 6c 74 50 65 72 6d 69 73 | eo:.function.getGeoDefaultPermis |
99a80 | 73 69 6f 6e 73 28 29 0a 20 20 7b 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 42 4c 4f 43 4b 3b 0a | sions()...{.......return.BLOCK;. |
99aa0 | 20 20 7d 0a 7d 3b 0a 0a 76 61 72 20 70 65 72 6d 69 73 73 69 6f 6e 4f 62 73 65 72 76 65 72 20 3d | ..}.};..var.permissionObserver.= |
99ac0 | 20 7b 0a 20 20 6f 62 73 65 72 76 65 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 53 75 62 6a 65 63 74 | .{...observe:.function.(aSubject |
99ae0 | 2c 20 61 54 6f 70 69 63 2c 20 61 44 61 74 61 29 0a 20 20 7b 0a 20 20 20 20 69 66 20 28 61 54 6f | ,.aTopic,.aData)...{.....if.(aTo |
99b00 | 70 69 63 20 3d 3d 20 22 70 65 72 6d 2d 63 68 61 6e 67 65 64 22 29 20 7b 0a 20 20 20 20 20 20 76 | pic.==."perm-changed").{.......v |
99b20 | 61 72 20 70 65 72 6d 69 73 73 69 6f 6e 20 3d 20 61 53 75 62 6a 65 63 74 2e 51 75 65 72 79 49 6e | ar.permission.=.aSubject.QueryIn |
99b40 | 74 65 72 66 61 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 | terface(Components.interfaces.ns |
99b60 | 49 50 65 72 6d 69 73 73 69 6f 6e 29 3b 0a 20 20 20 20 20 20 69 66 20 28 70 65 72 6d 69 73 73 69 | IPermission);.......if.(permissi |
99b80 | 6f 6e 2e 68 6f 73 74 20 3d 3d 20 67 50 65 72 6d 55 52 49 2e 68 6f 73 74 20 26 26 20 70 65 72 6d | on.host.==.gPermURI.host.&&.perm |
99ba0 | 69 73 73 69 6f 6e 2e 74 79 70 65 20 69 6e 20 67 50 65 72 6d 4f 62 6a 29 0a 20 20 20 20 20 20 20 | ission.type.in.gPermObj)........ |
99bc0 | 20 69 6e 69 74 52 6f 77 28 70 65 72 6d 69 73 73 69 6f 6e 2e 74 79 70 65 29 3b 0a 20 20 20 20 7d | .initRow(permission.type);.....} |
99be0 | 0a 20 20 7d 0a 7d 3b 0a 0a 66 75 6e 63 74 69 6f 6e 20 6f 6e 4c 6f 61 64 50 65 72 6d 69 73 73 69 | ...}.};..function.onLoadPermissi |
99c00 | 6f 6e 28 29 0a 7b 0a 20 20 67 50 72 65 66 73 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 | on().{...gPrefs.=.Components.cla |
99c20 | 73 73 65 73 5b 50 52 45 46 45 52 45 4e 43 45 53 5f 43 4f 4e 54 52 41 43 54 49 44 5d 0a 20 20 20 | sses[PREFERENCES_CONTRACTID].... |
99c40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 6f | ...................getService(Co |
99c60 | 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 50 72 65 66 42 72 61 6e 63 | mponents.interfaces.nsIPrefBranc |
99c80 | 68 32 29 3b 0a 0a 20 20 76 61 72 20 75 72 69 20 3d 20 67 44 6f 63 75 6d 65 6e 74 2e 64 6f 63 75 | h2);....var.uri.=.gDocument.docu |
99ca0 | 6d 65 6e 74 55 52 49 4f 62 6a 65 63 74 3b 0a 20 20 76 61 72 20 70 65 72 6d 54 61 62 20 3d 20 64 | mentURIObject;...var.permTab.=.d |
99cc0 | 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 70 65 72 6d 54 61 62 22 | ocument.getElementById("permTab" |
99ce0 | 29 3b 0a 20 20 69 66 28 2f 5e 68 74 74 70 73 3f 2f 2e 74 65 73 74 28 75 72 69 2e 73 63 68 65 6d | );...if(/^https?/.test(uri.schem |
99d00 | 65 29 29 20 7b 0a 20 20 20 20 67 50 65 72 6d 55 52 49 20 3d 20 75 72 69 3b 0a 20 20 20 20 76 61 | e)).{.....gPermURI.=.uri;.....va |
99d20 | 72 20 68 6f 73 74 54 65 78 74 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 | r.hostText.=.document.getElement |
99d40 | 42 79 49 64 28 22 68 6f 73 74 54 65 78 74 22 29 3b 0a 20 20 20 20 68 6f 73 74 54 65 78 74 2e 76 | ById("hostText");.....hostText.v |
99d60 | 61 6c 75 65 20 3d 20 67 50 65 72 6d 55 52 49 2e 68 6f 73 74 3b 0a 0a 20 20 20 20 66 6f 72 20 28 | alue.=.gPermURI.host;......for.( |
99d80 | 76 61 72 20 69 20 69 6e 20 67 50 65 72 6d 4f 62 6a 29 0a 20 20 20 20 20 20 69 6e 69 74 52 6f 77 | var.i.in.gPermObj).......initRow |
99da0 | 28 69 29 3b 0a 20 20 20 20 76 61 72 20 6f 73 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 | (i);.....var.os.=.Components.cla |
99dc0 | 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6f 62 73 65 72 76 65 72 2d 73 65 72 76 | sses["@mozilla.org/observer-serv |
99de0 | 69 63 65 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e | ice;1"]......................... |
99e00 | 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 | getService(Components.interfaces |
99e20 | 2e 6e 73 49 4f 62 73 65 72 76 65 72 53 65 72 76 69 63 65 29 3b 0a 20 20 20 20 6f 73 2e 61 64 64 | .nsIObserverService);.....os.add |
99e40 | 4f 62 73 65 72 76 65 72 28 70 65 72 6d 69 73 73 69 6f 6e 4f 62 73 65 72 76 65 72 2c 20 22 70 65 | Observer(permissionObserver,."pe |
99e60 | 72 6d 2d 63 68 61 6e 67 65 64 22 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 20 6f 6e 55 6e 6c 6f 61 | rm-changed",.false);.....onUnloa |
99e80 | 64 52 65 67 69 73 74 72 79 2e 70 75 73 68 28 6f 6e 55 6e 6c 6f 61 64 50 65 72 6d 69 73 73 69 6f | dRegistry.push(onUnloadPermissio |
99ea0 | 6e 29 3b 0a 20 20 20 20 70 65 72 6d 54 61 62 2e 68 69 64 64 65 6e 20 3d 20 66 61 6c 73 65 3b 0a | n);.....permTab.hidden.=.false;. |
99ec0 | 20 20 7d 0a 20 20 65 6c 73 65 0a 20 20 20 20 70 65 72 6d 54 61 62 2e 68 69 64 64 65 6e 20 3d 20 | ..}...else.....permTab.hidden.=. |
99ee0 | 74 72 75 65 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 6f 6e 55 6e 6c 6f 61 64 50 65 72 6d 69 73 | true;.}..function.onUnloadPermis |
99f00 | 73 69 6f 6e 28 29 0a 7b 0a 20 20 76 61 72 20 6f 73 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 | sion().{...var.os.=.Components.c |
99f20 | 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6f 62 73 65 72 76 65 72 2d 73 65 | lasses["@mozilla.org/observer-se |
99f40 | 72 76 69 63 65 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e | rvice;1"]....................... |
99f60 | 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 | getService(Components.interfaces |
99f80 | 2e 6e 73 49 4f 62 73 65 72 76 65 72 53 65 72 76 69 63 65 29 3b 0a 20 20 6f 73 2e 72 65 6d 6f 76 | .nsIObserverService);...os.remov |
99fa0 | 65 4f 62 73 65 72 76 65 72 28 70 65 72 6d 69 73 73 69 6f 6e 4f 62 73 65 72 76 65 72 2c 20 22 70 | eObserver(permissionObserver,."p |
99fc0 | 65 72 6d 2d 63 68 61 6e 67 65 64 22 29 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 69 6e 69 74 52 | erm-changed");.}..function.initR |
99fe0 | 6f 77 28 61 50 61 72 74 49 64 29 0a 7b 0a 20 20 76 61 72 20 70 65 72 6d 69 73 73 69 6f 6e 4d 61 | ow(aPartId).{...var.permissionMa |
9a000 | 6e 61 67 65 72 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 50 45 52 4d 49 | nager.=.Components.classes[PERMI |
9a020 | 53 53 49 4f 4e 5f 43 4f 4e 54 52 41 43 54 49 44 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | SSION_CONTRACTID]............... |
9a040 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 | .......................getServic |
9a060 | 65 28 6e 73 49 50 65 72 6d 69 73 73 69 6f 6e 4d 61 6e 61 67 65 72 29 3b 0a 0a 20 20 76 61 72 20 | e(nsIPermissionManager);....var. |
9a080 | 63 68 65 63 6b 62 6f 78 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 | checkbox.=.document.getElementBy |
9a0a0 | 49 64 28 61 50 61 72 74 49 64 20 2b 20 22 44 65 66 22 29 3b 0a 20 20 76 61 72 20 63 6f 6d 6d 61 | Id(aPartId.+."Def");...var.comma |
9a0c0 | 6e 64 20 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 63 | nd..=.document.getElementById("c |
9a0e0 | 6d 64 5f 22 20 2b 20 61 50 61 72 74 49 64 20 2b 20 22 54 6f 67 67 6c 65 22 29 3b 0a 20 20 76 61 | md_".+.aPartId.+."Toggle");...va |
9a100 | 72 20 70 65 72 6d 20 3d 20 70 65 72 6d 69 73 73 69 6f 6e 4d 61 6e 61 67 65 72 2e 74 65 73 74 50 | r.perm.=.permissionManager.testP |
9a120 | 65 72 6d 69 73 73 69 6f 6e 28 67 50 65 72 6d 55 52 49 2c 20 61 50 61 72 74 49 64 29 3b 0a 20 20 | ermission(gPermURI,.aPartId);... |
9a140 | 69 66 20 28 70 65 72 6d 29 20 7b 0a 20 20 20 20 63 68 65 63 6b 62 6f 78 2e 63 68 65 63 6b 65 64 | if.(perm).{.....checkbox.checked |
9a160 | 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 63 6f 6d 6d 61 6e 64 2e 72 65 6d 6f 76 65 41 74 74 72 | .=.false;.....command.removeAttr |
9a180 | 69 62 75 74 65 28 22 64 69 73 61 62 6c 65 64 22 29 3b 0a 20 20 7d 0a 20 20 65 6c 73 65 20 7b 0a | ibute("disabled");...}...else.{. |
9a1a0 | 20 20 20 20 63 68 65 63 6b 62 6f 78 2e 63 68 65 63 6b 65 64 20 3d 20 74 72 75 65 3b 0a 20 20 20 | ....checkbox.checked.=.true;.... |
9a1c0 | 20 63 6f 6d 6d 61 6e 64 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 64 69 73 61 62 6c 65 64 22 | .command.setAttribute("disabled" |
9a1e0 | 2c 20 22 74 72 75 65 22 29 3b 0a 20 20 20 20 70 65 72 6d 20 3d 20 67 50 65 72 6d 4f 62 6a 5b 61 | ,."true");.....perm.=.gPermObj[a |
9a200 | 50 61 72 74 49 64 5d 28 29 3b 0a 20 20 7d 0a 20 20 73 65 74 52 61 64 69 6f 53 74 61 74 65 28 61 | PartId]();...}...setRadioState(a |
9a220 | 50 61 72 74 49 64 2c 20 70 65 72 6d 29 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 6f 6e 43 68 65 | PartId,.perm);.}..function.onChe |
9a240 | 63 6b 62 6f 78 43 6c 69 63 6b 28 61 50 61 72 74 49 64 29 0a 7b 0a 20 20 76 61 72 20 70 65 72 6d | ckboxClick(aPartId).{...var.perm |
9a260 | 69 73 73 69 6f 6e 4d 61 6e 61 67 65 72 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 | issionManager.=.Components.class |
9a280 | 65 73 5b 50 45 52 4d 49 53 53 49 4f 4e 5f 43 4f 4e 54 52 41 43 54 49 44 5d 0a 20 20 20 20 20 20 | es[PERMISSION_CONTRACTID]....... |
9a2a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 | ...............................g |
9a2c0 | 65 74 53 65 72 76 69 63 65 28 6e 73 49 50 65 72 6d 69 73 73 69 6f 6e 4d 61 6e 61 67 65 72 29 3b | etService(nsIPermissionManager); |
9a2e0 | 0a 0a 20 20 76 61 72 20 63 6f 6d 6d 61 6e 64 20 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 | ....var.command..=.document.getE |
9a300 | 6c 65 6d 65 6e 74 42 79 49 64 28 22 63 6d 64 5f 22 20 2b 20 61 50 61 72 74 49 64 20 2b 20 22 54 | lementById("cmd_".+.aPartId.+."T |
9a320 | 6f 67 67 6c 65 22 29 3b 0a 20 20 76 61 72 20 63 68 65 63 6b 62 6f 78 20 3d 20 64 6f 63 75 6d 65 | oggle");...var.checkbox.=.docume |
9a340 | 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 61 50 61 72 74 49 64 20 2b 20 22 44 65 66 | nt.getElementById(aPartId.+."Def |
9a360 | 22 29 3b 0a 20 20 69 66 20 28 63 68 65 63 6b 62 6f 78 2e 63 68 65 63 6b 65 64 29 20 7b 0a 20 20 | ");...if.(checkbox.checked).{... |
9a380 | 20 20 70 65 72 6d 69 73 73 69 6f 6e 4d 61 6e 61 67 65 72 2e 72 65 6d 6f 76 65 28 67 50 65 72 6d | ..permissionManager.remove(gPerm |
9a3a0 | 55 52 49 2e 68 6f 73 74 2c 20 61 50 61 72 74 49 64 29 3b 0a 20 20 20 20 63 6f 6d 6d 61 6e 64 2e | URI.host,.aPartId);.....command. |
9a3c0 | 73 65 74 41 74 74 72 69 62 75 74 65 28 22 64 69 73 61 62 6c 65 64 22 2c 20 22 74 72 75 65 22 29 | setAttribute("disabled",."true") |
9a3e0 | 3b 0a 20 20 20 20 76 61 72 20 70 65 72 6d 20 3d 20 67 50 65 72 6d 4f 62 6a 5b 61 50 61 72 74 49 | ;.....var.perm.=.gPermObj[aPartI |
9a400 | 64 5d 28 29 3b 0a 20 20 20 20 73 65 74 52 61 64 69 6f 53 74 61 74 65 28 61 50 61 72 74 49 64 2c | d]();.....setRadioState(aPartId, |
9a420 | 20 70 65 72 6d 29 3b 0a 20 20 7d 0a 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 6f 6e 52 61 64 69 6f | .perm);...}...else.{.....onRadio |
9a440 | 43 6c 69 63 6b 28 61 50 61 72 74 49 64 29 3b 0a 20 20 20 20 63 6f 6d 6d 61 6e 64 2e 72 65 6d 6f | Click(aPartId);.....command.remo |
9a460 | 76 65 41 74 74 72 69 62 75 74 65 28 22 64 69 73 61 62 6c 65 64 22 29 3b 0a 20 20 7d 0a 7d 0a 0a | veAttribute("disabled");...}.}.. |
9a480 | 66 75 6e 63 74 69 6f 6e 20 6f 6e 52 61 64 69 6f 43 6c 69 63 6b 28 61 50 61 72 74 49 64 29 0a 7b | function.onRadioClick(aPartId).{ |
9a4a0 | 0a 20 20 76 61 72 20 70 65 72 6d 69 73 73 69 6f 6e 4d 61 6e 61 67 65 72 20 3d 20 43 6f 6d 70 6f | ...var.permissionManager.=.Compo |
9a4c0 | 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 50 45 52 4d 49 53 53 49 4f 4e 5f 43 4f 4e 54 52 41 43 | nents.classes[PERMISSION_CONTRAC |
9a4e0 | 54 49 44 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | TID]............................ |
9a500 | 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 6e 73 49 50 65 72 6d 69 73 73 69 | ..........getService(nsIPermissi |
9a520 | 6f 6e 4d 61 6e 61 67 65 72 29 3b 0a 0a 20 20 76 61 72 20 72 61 64 69 6f 47 72 6f 75 70 20 3d 20 | onManager);....var.radioGroup.=. |
9a540 | 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 61 50 61 72 74 49 64 20 | document.getElementById(aPartId. |
9a560 | 2b 20 22 52 61 64 69 6f 47 72 6f 75 70 22 29 3b 0a 20 20 76 61 72 20 69 64 20 3d 20 72 61 64 69 | +."RadioGroup");...var.id.=.radi |
9a580 | 6f 47 72 6f 75 70 2e 73 65 6c 65 63 74 65 64 49 74 65 6d 2e 69 64 3b 0a 20 20 76 61 72 20 70 65 | oGroup.selectedItem.id;...var.pe |
9a5a0 | 72 6d 69 73 73 69 6f 6e 20 3d 20 69 64 2e 73 70 6c 69 74 28 27 23 27 29 5b 31 5d 3b 0a 20 20 70 | rmission.=.id.split('#')[1];...p |
9a5c0 | 65 72 6d 69 73 73 69 6f 6e 4d 61 6e 61 67 65 72 2e 61 64 64 28 67 50 65 72 6d 55 52 49 2c 20 61 | ermissionManager.add(gPermURI,.a |
9a5e0 | 50 61 72 74 49 64 2c 20 70 65 72 6d 69 73 73 69 6f 6e 29 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e | PartId,.permission);.}..function |
9a600 | 20 73 65 74 52 61 64 69 6f 53 74 61 74 65 28 61 50 61 72 74 49 64 2c 20 61 56 61 6c 75 65 29 0a | .setRadioState(aPartId,.aValue). |
9a620 | 7b 0a 20 20 76 61 72 20 72 61 64 69 6f 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d | {...var.radio.=.document.getElem |
9a640 | 65 6e 74 42 79 49 64 28 61 50 61 72 74 49 64 20 2b 20 22 23 22 20 2b 20 61 56 61 6c 75 65 29 3b | entById(aPartId.+."#".+.aValue); |
9a660 | 0a 20 20 72 61 64 69 6f 2e 72 61 64 69 6f 47 72 6f 75 70 2e 73 65 6c 65 63 74 65 64 49 74 65 6d | ...radio.radioGroup.selectedItem |
9a680 | 20 3d 20 72 61 64 69 6f 3b 0a 7d 0a 50 4b 03 04 14 00 00 00 00 00 f2 4b 18 3b e3 0d 55 84 72 2c | .=.radio;.}.PK.........K.;..U.r, |
9a6a0 | 00 00 72 2c 00 00 24 00 00 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 61 67 65 69 6e | ..r,..$...content/browser/pagein |
9a6c0 | 66 6f 2f 73 65 63 75 72 69 74 79 2e 6a 73 2f 2f 40 6c 69 6e 65 20 34 30 20 22 2f 62 75 69 6c 64 | fo/security.js//@line.40."/build |
9a6e0 | 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 | s/moz2_slave/linux_build/build/b |
9a700 | 72 6f 77 73 65 72 2f 62 61 73 65 2f 63 6f 6e 74 65 6e 74 2f 70 61 67 65 69 6e 66 6f 2f 73 65 63 | rowser/base/content/pageinfo/sec |
9a720 | 75 72 69 74 79 2e 6a 73 22 0a 0a 76 61 72 20 73 65 63 75 72 69 74 79 20 3d 20 7b 0a 20 20 2f 2f | urity.js"..var.security.=.{...// |
9a740 | 20 44 69 73 70 6c 61 79 20 74 68 65 20 73 65 72 76 65 72 20 63 65 72 74 69 66 69 63 61 74 65 20 | .Display.the.server.certificate. |
9a760 | 28 73 74 61 74 69 63 29 0a 20 20 76 69 65 77 43 65 72 74 20 3a 20 66 75 6e 63 74 69 6f 6e 20 28 | (static)...viewCert.:.function.( |
9a780 | 29 20 7b 0a 20 20 20 20 76 61 72 20 63 65 72 74 20 3d 20 73 65 63 75 72 69 74 79 2e 5f 63 65 72 | ).{.....var.cert.=.security._cer |
9a7a0 | 74 3b 0a 20 20 20 20 76 69 65 77 43 65 72 74 48 65 6c 70 65 72 28 77 69 6e 64 6f 77 2c 20 63 65 | t;.....viewCertHelper(window,.ce |
9a7c0 | 72 74 29 3b 0a 20 20 7d 2c 0a 0a 20 20 5f 67 65 74 53 65 63 75 72 69 74 79 49 6e 66 6f 20 3a 20 | rt);...},...._getSecurityInfo.:. |
9a7e0 | 66 75 6e 63 74 69 6f 6e 28 29 20 7b 0a 20 20 20 20 63 6f 6e 73 74 20 6e 73 49 58 35 30 39 43 65 | function().{.....const.nsIX509Ce |
9a800 | 72 74 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 58 35 | rt.=.Components.interfaces.nsIX5 |
9a820 | 30 39 43 65 72 74 3b 0a 20 20 20 20 63 6f 6e 73 74 20 6e 73 49 58 35 30 39 43 65 72 74 44 42 20 | 09Cert;.....const.nsIX509CertDB. |
9a840 | 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 58 35 30 39 43 | =.Components.interfaces.nsIX509C |
9a860 | 65 72 74 44 42 3b 0a 20 20 20 20 63 6f 6e 73 74 20 6e 73 58 35 30 39 43 65 72 74 44 42 20 3d 20 | ertDB;.....const.nsX509CertDB.=. |
9a880 | 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 73 65 63 75 72 69 74 79 2f 78 35 30 39 63 65 72 74 64 | "@mozilla.org/security/x509certd |
9a8a0 | 62 3b 31 22 3b 0a 20 20 20 20 63 6f 6e 73 74 20 6e 73 49 53 53 4c 53 74 61 74 75 73 50 72 6f 76 | b;1";.....const.nsISSLStatusProv |
9a8c0 | 69 64 65 72 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 | ider.=.Components.interfaces.nsI |
9a8e0 | 53 53 4c 53 74 61 74 75 73 50 72 6f 76 69 64 65 72 3b 0a 20 20 20 20 63 6f 6e 73 74 20 6e 73 49 | SSLStatusProvider;.....const.nsI |
9a900 | 53 53 4c 53 74 61 74 75 73 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 | SSLStatus.=.Components.interface |
9a920 | 73 2e 6e 73 49 53 53 4c 53 74 61 74 75 73 3b 0a 0a 20 20 20 20 2f 2f 20 57 65 20 64 6f 6e 27 74 | s.nsISSLStatus;......//.We.don't |
9a940 | 20 68 61 76 65 20 73 65 70 61 72 61 74 65 20 69 6e 66 6f 20 66 6f 72 20 61 20 66 72 61 6d 65 2c | .have.separate.info.for.a.frame, |
9a960 | 20 72 65 74 75 72 6e 20 6e 75 6c 6c 20 75 6e 74 69 6c 20 66 75 72 74 68 65 72 20 6e 6f 74 69 63 | .return.null.until.further.notic |
9a980 | 65 0a 20 20 20 20 2f 2f 20 28 73 65 65 20 62 75 67 20 31 33 38 34 37 39 29 0a 20 20 20 20 69 66 | e.....//.(see.bug.138479).....if |
9a9a0 | 20 28 67 57 69 6e 64 6f 77 20 21 3d 20 67 57 69 6e 64 6f 77 2e 74 6f 70 29 0a 20 20 20 20 20 20 | .(gWindow.!=.gWindow.top)....... |
9a9c0 | 72 65 74 75 72 6e 20 6e 75 6c 6c 3b 0a 0a 20 20 20 20 76 61 72 20 68 4e 61 6d 65 20 3d 20 6e 75 | return.null;......var.hName.=.nu |
9a9e0 | 6c 6c 3b 0a 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 68 4e 61 6d 65 20 3d 20 67 57 69 6e | ll;.....try.{.......hName.=.gWin |
9aa00 | 64 6f 77 2e 6c 6f 63 61 74 69 6f 6e 2e 68 6f 73 74 3b 0a 20 20 20 20 7d 0a 20 20 20 20 63 61 74 | dow.location.host;.....}.....cat |
9aa20 | 63 68 20 28 65 78 63 65 70 74 69 6f 6e 29 20 7b 20 7d 0a 0a 20 20 20 20 76 61 72 20 75 69 20 3d | ch.(exception).{.}......var.ui.= |
9aa40 | 20 73 65 63 75 72 69 74 79 2e 5f 67 65 74 53 65 63 75 72 69 74 79 55 49 28 29 3b 0a 20 20 20 20 | .security._getSecurityUI();..... |
9aa60 | 69 66 20 28 21 75 69 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 6e 75 6c 6c 3b 0a 0a 20 20 20 | if.(!ui).......return.null;..... |
9aa80 | 20 76 61 72 20 69 73 42 72 6f 6b 65 6e 20 3d 0a 20 20 20 20 20 20 28 75 69 2e 73 74 61 74 65 20 | .var.isBroken.=.......(ui.state. |
9aaa0 | 26 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 57 65 62 50 72 | &.Components.interfaces.nsIWebPr |
9aac0 | 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 2e 53 54 41 54 45 5f 49 53 5f 42 52 4f 4b 45 4e 29 3b | ogressListener.STATE_IS_BROKEN); |
9aae0 | 0a 20 20 20 20 76 61 72 20 69 73 49 6e 73 65 63 75 72 65 20 3d 20 0a 20 20 20 20 20 20 28 75 69 | .....var.isInsecure.=........(ui |
9ab00 | 2e 73 74 61 74 65 20 26 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e | .state.&.Components.interfaces.n |
9ab20 | 73 49 57 65 62 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 2e 53 54 41 54 45 5f 49 53 5f 49 | sIWebProgressListener.STATE_IS_I |
9ab40 | 4e 53 45 43 55 52 45 29 3b 0a 20 20 20 20 76 61 72 20 69 73 45 56 20 3d 0a 20 20 20 20 20 20 28 | NSECURE);.....var.isEV.=.......( |
9ab60 | 75 69 2e 73 74 61 74 65 20 26 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 | ui.state.&.Components.interfaces |
9ab80 | 2e 6e 73 49 57 65 62 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 2e 53 54 41 54 45 5f 49 44 | .nsIWebProgressListener.STATE_ID |
9aba0 | 45 4e 54 49 54 59 5f 45 56 5f 54 4f 50 4c 45 56 45 4c 29 3b 0a 20 20 20 20 75 69 2e 51 75 65 72 | ENTITY_EV_TOPLEVEL);.....ui.Quer |
9abc0 | 79 49 6e 74 65 72 66 61 63 65 28 6e 73 49 53 53 4c 53 74 61 74 75 73 50 72 6f 76 69 64 65 72 29 | yInterface(nsISSLStatusProvider) |
9abe0 | 3b 0a 20 20 20 20 76 61 72 20 73 74 61 74 75 73 20 3d 20 75 69 2e 53 53 4c 53 74 61 74 75 73 3b | ;.....var.status.=.ui.SSLStatus; |
9ac00 | 0a 0a 20 20 20 20 69 66 20 28 21 69 73 49 6e 73 65 63 75 72 65 20 26 26 20 73 74 61 74 75 73 29 | ......if.(!isInsecure.&&.status) |
9ac20 | 20 7b 0a 20 20 20 20 20 20 73 74 61 74 75 73 2e 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 28 6e | .{.......status.QueryInterface(n |
9ac40 | 73 49 53 53 4c 53 74 61 74 75 73 29 3b 0a 20 20 20 20 20 20 76 61 72 20 63 65 72 74 20 3d 20 73 | sISSLStatus);.......var.cert.=.s |
9ac60 | 74 61 74 75 73 2e 73 65 72 76 65 72 43 65 72 74 3b 0a 20 20 20 20 20 20 76 61 72 20 69 73 73 75 | tatus.serverCert;.......var.issu |
9ac80 | 65 72 4e 61 6d 65 20 3d 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 61 70 49 73 73 75 65 72 4f | erName.=.........this.mapIssuerO |
9aca0 | 72 67 61 6e 69 7a 61 74 69 6f 6e 28 63 65 72 74 2e 69 73 73 75 65 72 4f 72 67 61 6e 69 7a 61 74 | rganization(cert.issuerOrganizat |
9acc0 | 69 6f 6e 29 20 7c 7c 20 63 65 72 74 2e 69 73 73 75 65 72 4e 61 6d 65 3b 0a 0a 20 20 20 20 20 20 | ion).||.cert.issuerName;........ |
9ace0 | 76 61 72 20 72 65 74 76 61 6c 20 3d 20 7b 0a 20 20 20 20 20 20 20 20 68 6f 73 74 4e 61 6d 65 20 | var.retval.=.{.........hostName. |
9ad00 | 3a 20 68 4e 61 6d 65 2c 0a 20 20 20 20 20 20 20 20 63 41 4e 61 6d 65 20 3a 20 69 73 73 75 65 72 | :.hName,.........cAName.:.issuer |
9ad20 | 4e 61 6d 65 2c 0a 20 20 20 20 20 20 20 20 65 6e 63 72 79 70 74 69 6f 6e 41 6c 67 6f 72 69 74 68 | Name,.........encryptionAlgorith |
9ad40 | 6d 20 3a 20 75 6e 64 65 66 69 6e 65 64 2c 0a 20 20 20 20 20 20 20 20 65 6e 63 72 79 70 74 69 6f | m.:.undefined,.........encryptio |
9ad60 | 6e 53 74 72 65 6e 67 74 68 20 3a 20 75 6e 64 65 66 69 6e 65 64 2c 0a 20 20 20 20 20 20 20 20 69 | nStrength.:.undefined,.........i |
9ad80 | 73 42 72 6f 6b 65 6e 20 3a 20 69 73 42 72 6f 6b 65 6e 2c 0a 20 20 20 20 20 20 20 20 69 73 45 56 | sBroken.:.isBroken,.........isEV |
9ada0 | 20 3a 20 69 73 45 56 2c 0a 20 20 20 20 20 20 20 20 63 65 72 74 20 3a 20 63 65 72 74 2c 0a 20 20 | .:.isEV,.........cert.:.cert,... |
9adc0 | 20 20 20 20 20 20 66 75 6c 6c 4c 6f 63 61 74 69 6f 6e 20 3a 20 67 57 69 6e 64 6f 77 2e 6c 6f 63 | ......fullLocation.:.gWindow.loc |
9ade0 | 61 74 69 6f 6e 0a 20 20 20 20 20 20 7d 3b 0a 0a 20 20 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 | ation.......};........try.{..... |
9ae00 | 20 20 20 20 72 65 74 76 61 6c 2e 65 6e 63 72 79 70 74 69 6f 6e 41 6c 67 6f 72 69 74 68 6d 20 3d | ....retval.encryptionAlgorithm.= |
9ae20 | 20 73 74 61 74 75 73 2e 63 69 70 68 65 72 4e 61 6d 65 3b 0a 20 20 20 20 20 20 20 20 72 65 74 76 | .status.cipherName;.........retv |
9ae40 | 61 6c 2e 65 6e 63 72 79 70 74 69 6f 6e 53 74 72 65 6e 67 74 68 20 3d 20 73 74 61 74 75 73 2e 73 | al.encryptionStrength.=.status.s |
9ae60 | 65 63 72 65 74 4b 65 79 4c 65 6e 67 74 68 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 63 61 | ecretKeyLength;.......}.......ca |
9ae80 | 74 63 68 20 28 65 29 20 7b 0a 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 | tch.(e).{.......}........return. |
9aea0 | 72 65 74 76 61 6c 3b 0a 20 20 20 20 7d 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 72 65 74 75 72 | retval;.....}.else.{.......retur |
9aec0 | 6e 20 7b 0a 20 20 20 20 20 20 20 20 68 6f 73 74 4e 61 6d 65 20 3a 20 68 4e 61 6d 65 2c 0a 20 20 | n.{.........hostName.:.hName,... |
9aee0 | 20 20 20 20 20 20 63 41 4e 61 6d 65 20 3a 20 22 22 2c 0a 20 20 20 20 20 20 20 20 65 6e 63 72 79 | ......cAName.:."",.........encry |
9af00 | 70 74 69 6f 6e 41 6c 67 6f 72 69 74 68 6d 20 3a 20 22 22 2c 0a 20 20 20 20 20 20 20 20 65 6e 63 | ptionAlgorithm.:."",.........enc |
9af20 | 72 79 70 74 69 6f 6e 53 74 72 65 6e 67 74 68 20 3a 20 30 2c 0a 20 20 20 20 20 20 20 20 69 73 42 | ryptionStrength.:.0,.........isB |
9af40 | 72 6f 6b 65 6e 20 3a 20 69 73 42 72 6f 6b 65 6e 2c 0a 20 20 20 20 20 20 20 20 69 73 45 56 20 3a | roken.:.isBroken,.........isEV.: |
9af60 | 20 69 73 45 56 2c 0a 20 20 20 20 20 20 20 20 63 65 72 74 20 3a 20 6e 75 6c 6c 2c 0a 20 20 20 20 | .isEV,.........cert.:.null,..... |
9af80 | 20 20 20 20 66 75 6c 6c 4c 6f 63 61 74 69 6f 6e 20 3a 20 67 57 69 6e 64 6f 77 2e 6c 6f 63 61 74 | ....fullLocation.:.gWindow.locat |
9afa0 | 69 6f 6e 20 20 20 20 20 20 20 20 0a 20 20 20 20 20 20 7d 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a | ion...............};.....}...},. |
9afc0 | 0a 20 20 2f 2f 20 46 69 6e 64 20 74 68 65 20 73 65 63 75 72 65 42 72 6f 77 73 65 72 55 49 20 6f | ...//.Find.the.secureBrowserUI.o |
9afe0 | 62 6a 65 63 74 20 28 69 66 20 70 72 65 73 65 6e 74 29 0a 20 20 5f 67 65 74 53 65 63 75 72 69 74 | bject.(if.present)..._getSecurit |
9b000 | 79 55 49 20 3a 20 66 75 6e 63 74 69 6f 6e 28 29 20 7b 0a 20 20 20 20 69 66 20 28 77 69 6e 64 6f | yUI.:.function().{.....if.(windo |
9b020 | 77 2e 6f 70 65 6e 65 72 2e 67 42 72 6f 77 73 65 72 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 | w.opener.gBrowser).......return. |
9b040 | 77 69 6e 64 6f 77 2e 6f 70 65 6e 65 72 2e 67 42 72 6f 77 73 65 72 2e 73 65 63 75 72 69 74 79 55 | window.opener.gBrowser.securityU |
9b060 | 49 3b 0a 20 20 20 20 72 65 74 75 72 6e 20 6e 75 6c 6c 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2f 20 49 | I;.....return.null;...},....//.I |
9b080 | 6e 74 65 72 66 61 63 65 20 66 6f 72 20 6d 61 70 70 69 6e 67 20 61 20 63 65 72 74 69 66 69 63 61 | nterface.for.mapping.a.certifica |
9b0a0 | 74 65 20 69 73 73 75 65 72 20 6f 72 67 61 6e 69 7a 61 74 69 6f 6e 20 74 6f 0a 20 20 2f 2f 20 74 | te.issuer.organization.to...//.t |
9b0c0 | 68 65 20 76 61 6c 75 65 20 74 6f 20 62 65 20 64 69 73 70 6c 61 79 65 64 2e 0a 20 20 2f 2f 20 42 | he.value.to.be.displayed....//.B |
9b0e0 | 75 67 20 38 32 30 31 37 20 2d 20 74 68 69 73 20 69 6d 70 6c 65 6d 65 6e 74 61 74 69 6f 6e 20 73 | ug.82017.-.this.implementation.s |
9b100 | 68 6f 75 6c 64 20 62 65 20 6d 6f 76 65 64 20 74 6f 20 70 69 70 6e 73 73 20 43 2b 2b 20 63 6f 64 | hould.be.moved.to.pipnss.C++.cod |
9b120 | 65 0a 20 20 6d 61 70 49 73 73 75 65 72 4f 72 67 61 6e 69 7a 61 74 69 6f 6e 3a 20 66 75 6e 63 74 | e...mapIssuerOrganization:.funct |
9b140 | 69 6f 6e 28 6e 61 6d 65 29 20 7b 0a 20 20 20 20 69 66 20 28 21 6e 61 6d 65 29 20 72 65 74 75 72 | ion(name).{.....if.(!name).retur |
9b160 | 6e 20 6e 75 6c 6c 3b 0a 0a 20 20 20 20 69 66 20 28 6e 61 6d 65 20 3d 3d 20 22 52 53 41 20 44 61 | n.null;......if.(name.==."RSA.Da |
9b180 | 74 61 20 53 65 63 75 72 69 74 79 2c 20 49 6e 63 2e 22 29 20 72 65 74 75 72 6e 20 22 56 65 72 69 | ta.Security,.Inc.").return."Veri |
9b1a0 | 73 69 67 6e 2c 20 49 6e 63 2e 22 3b 0a 0a 20 20 20 20 2f 2f 20 4e 6f 20 6d 61 70 70 69 6e 67 20 | sign,.Inc.";......//.No.mapping. |
9b1c0 | 72 65 71 75 69 72 65 64 0a 20 20 20 20 72 65 74 75 72 6e 20 6e 61 6d 65 3b 0a 20 20 7d 2c 0a 20 | required.....return.name;...},.. |
9b1e0 | 20 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 4f 70 65 6e 20 74 68 65 20 63 6f 6f 6b 69 65 20 6d 61 6e | ..../**....*.Open.the.cookie.man |
9b200 | 61 67 65 72 20 77 69 6e 64 6f 77 0a 20 20 20 2a 2f 0a 20 20 76 69 65 77 43 6f 6f 6b 69 65 73 20 | ager.window....*/...viewCookies. |
9b220 | 3a 20 66 75 6e 63 74 69 6f 6e 28 29 0a 20 20 7b 0a 20 20 20 20 76 61 72 20 77 6d 20 3d 20 43 6f | :.function()...{.....var.wm.=.Co |
9b240 | 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 61 | mponents.classes["@mozilla.org/a |
9b260 | 70 70 73 68 65 6c 6c 2f 77 69 6e 64 6f 77 2d 6d 65 64 69 61 74 6f 72 3b 31 22 5d 0a 20 20 20 20 | ppshell/window-mediator;1"]..... |
9b280 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 | ....................getService(C |
9b2a0 | 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 57 69 6e 64 6f 77 4d 65 | omponents.interfaces.nsIWindowMe |
9b2c0 | 64 69 61 74 6f 72 29 3b 0a 20 20 20 20 76 61 72 20 77 69 6e 20 3d 20 77 6d 2e 67 65 74 4d 6f 73 | diator);.....var.win.=.wm.getMos |
9b2e0 | 74 52 65 63 65 6e 74 57 69 6e 64 6f 77 28 22 42 72 6f 77 73 65 72 3a 43 6f 6f 6b 69 65 73 22 29 | tRecentWindow("Browser:Cookies") |
9b300 | 3b 0a 20 20 20 20 76 61 72 20 65 54 4c 44 53 65 72 76 69 63 65 20 3d 20 43 6f 6d 70 6f 6e 65 6e | ;.....var.eTLDService.=.Componen |
9b320 | 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6e 65 74 77 6f 72 6b | ts.classes["@mozilla.org/network |
9b340 | 2f 65 66 66 65 63 74 69 76 65 2d 74 6c 64 2d 73 65 72 76 69 63 65 3b 31 22 5d 2e 0a 20 20 20 20 | /effective-tld-service;1"]...... |
9b360 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d | ..................getService(Com |
9b380 | 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 45 66 66 65 63 74 69 76 65 54 | ponents.interfaces.nsIEffectiveT |
9b3a0 | 4c 44 53 65 72 76 69 63 65 29 3b 0a 0a 20 20 20 20 76 61 72 20 65 54 4c 44 3b 0a 20 20 20 20 76 | LDService);......var.eTLD;.....v |
9b3c0 | 61 72 20 75 72 69 20 3d 20 67 44 6f 63 75 6d 65 6e 74 2e 64 6f 63 75 6d 65 6e 74 55 52 49 4f 62 | ar.uri.=.gDocument.documentURIOb |
9b3e0 | 6a 65 63 74 3b 0a 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 65 54 4c 44 20 3d 20 65 54 4c | ject;.....try.{.......eTLD.=.eTL |
9b400 | 44 53 65 72 76 69 63 65 2e 67 65 74 42 61 73 65 44 6f 6d 61 69 6e 28 75 72 69 29 3b 0a 20 20 20 | DService.getBaseDomain(uri);.... |
9b420 | 20 7d 0a 20 20 20 20 63 61 74 63 68 20 28 65 29 20 7b 0a 20 20 20 20 20 20 2f 2f 20 67 65 74 42 | .}.....catch.(e).{.......//.getB |
9b440 | 61 73 65 44 6f 6d 61 69 6e 20 77 69 6c 6c 20 66 61 69 6c 20 69 66 20 74 68 65 20 68 6f 73 74 20 | aseDomain.will.fail.if.the.host. |
9b460 | 69 73 20 61 6e 20 49 50 20 61 64 64 72 65 73 73 20 6f 72 20 69 73 20 65 6d 70 74 79 0a 20 20 20 | is.an.IP.address.or.is.empty.... |
9b480 | 20 20 20 65 54 4c 44 20 3d 20 75 72 69 2e 61 73 63 69 69 48 6f 73 74 3b 0a 20 20 20 20 7d 0a 0a | ...eTLD.=.uri.asciiHost;.....}.. |
9b4a0 | 20 20 20 20 69 66 20 28 77 69 6e 29 20 7b 0a 20 20 20 20 20 20 77 69 6e 2e 67 43 6f 6f 6b 69 65 | ....if.(win).{.......win.gCookie |
9b4c0 | 73 57 69 6e 64 6f 77 2e 73 65 74 46 69 6c 74 65 72 28 65 54 4c 44 29 3b 0a 20 20 20 20 20 20 77 | sWindow.setFilter(eTLD);.......w |
9b4e0 | 69 6e 2e 66 6f 63 75 73 28 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 | in.focus();.....}.....else...... |
9b500 | 20 77 69 6e 64 6f 77 2e 6f 70 65 6e 44 69 61 6c 6f 67 28 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f | .window.openDialog("chrome://bro |
9b520 | 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 63 6f 6f 6b 69 65 73 | wser/content/preferences/cookies |
9b540 | 2e 78 75 6c 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 | .xul",........................." |
9b560 | 42 72 6f 77 73 65 72 3a 43 6f 6f 6b 69 65 73 22 2c 20 22 22 2c 20 7b 66 69 6c 74 65 72 53 74 72 | Browser:Cookies",."",.{filterStr |
9b580 | 69 6e 67 20 3a 20 65 54 4c 44 7d 29 3b 0a 20 20 7d 2c 0a 20 20 0a 20 20 2f 2a 2a 0a 20 20 20 2a | ing.:.eTLD});...},....../**....* |
9b5a0 | 20 4f 70 65 6e 20 74 68 65 20 6c 6f 67 69 6e 20 6d 61 6e 61 67 65 72 20 77 69 6e 64 6f 77 0a 20 | .Open.the.login.manager.window.. |
9b5c0 | 20 20 2a 2f 0a 20 20 76 69 65 77 50 61 73 73 77 6f 72 64 73 20 3a 20 66 75 6e 63 74 69 6f 6e 28 | ..*/...viewPasswords.:.function( |
9b5e0 | 29 0a 20 20 7b 0a 20 20 20 20 76 61 72 20 77 6d 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c | )...{.....var.wm.=.Components.cl |
9b600 | 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 61 70 70 73 68 65 6c 6c 2f 77 69 6e | asses["@mozilla.org/appshell/win |
9b620 | 64 6f 77 2d 6d 65 64 69 61 74 6f 72 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | dow-mediator;1"]................ |
9b640 | 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 | .........getService(Components.i |
9b660 | 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 57 69 6e 64 6f 77 4d 65 64 69 61 74 6f 72 29 3b 0a 20 20 | nterfaces.nsIWindowMediator);... |
9b680 | 20 20 76 61 72 20 77 69 6e 20 3d 20 77 6d 2e 67 65 74 4d 6f 73 74 52 65 63 65 6e 74 57 69 6e 64 | ..var.win.=.wm.getMostRecentWind |
9b6a0 | 6f 77 28 22 54 6f 6f 6c 6b 69 74 3a 50 61 73 73 77 6f 72 64 4d 61 6e 61 67 65 72 22 29 3b 0a 20 | ow("Toolkit:PasswordManager");.. |
9b6c0 | 20 20 20 69 66 20 28 77 69 6e 29 20 7b 0a 20 20 20 20 20 20 77 69 6e 2e 73 65 74 46 69 6c 74 65 | ...if.(win).{.......win.setFilte |
9b6e0 | 72 28 74 68 69 73 2e 5f 67 65 74 53 65 63 75 72 69 74 79 49 6e 66 6f 28 29 2e 68 6f 73 74 4e 61 | r(this._getSecurityInfo().hostNa |
9b700 | 6d 65 29 3b 0a 20 20 20 20 20 20 77 69 6e 2e 66 6f 63 75 73 28 29 3b 0a 20 20 20 20 7d 0a 20 20 | me);.......win.focus();.....}... |
9b720 | 20 20 65 6c 73 65 0a 20 20 20 20 20 20 77 69 6e 64 6f 77 2e 6f 70 65 6e 44 69 61 6c 6f 67 28 22 | ..else.......window.openDialog(" |
9b740 | 63 68 72 6f 6d 65 3a 2f 2f 70 61 73 73 77 6f 72 64 6d 67 72 2f 63 6f 6e 74 65 6e 74 2f 70 61 73 | chrome://passwordmgr/content/pas |
9b760 | 73 77 6f 72 64 4d 61 6e 61 67 65 72 2e 78 75 6c 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | swordManager.xul",.............. |
9b780 | 20 20 20 20 20 20 20 20 20 20 20 22 54 6f 6f 6c 6b 69 74 3a 50 61 73 73 77 6f 72 64 4d 61 6e 61 | ..........."Toolkit:PasswordMana |
9b7a0 | 67 65 72 22 2c 20 22 22 2c 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ger",."",....................... |
9b7c0 | 20 20 20 7b 66 69 6c 74 65 72 53 74 72 69 6e 67 20 3a 20 74 68 69 73 2e 5f 67 65 74 53 65 63 75 | ...{filterString.:.this._getSecu |
9b7e0 | 72 69 74 79 49 6e 66 6f 28 29 2e 68 6f 73 74 4e 61 6d 65 7d 29 3b 0a 20 20 7d 2c 0a 0a 20 20 5f | rityInfo().hostName});...},...._ |
9b800 | 63 65 72 74 20 3a 20 6e 75 6c 6c 0a 7d 3b 0a 0a 66 75 6e 63 74 69 6f 6e 20 73 65 63 75 72 69 74 | cert.:.null.};..function.securit |
9b820 | 79 4f 6e 4c 6f 61 64 28 29 20 7b 0a 20 20 76 61 72 20 69 6e 66 6f 20 3d 20 73 65 63 75 72 69 74 | yOnLoad().{...var.info.=.securit |
9b840 | 79 2e 5f 67 65 74 53 65 63 75 72 69 74 79 49 6e 66 6f 28 29 3b 0a 20 20 69 66 20 28 21 69 6e 66 | y._getSecurityInfo();...if.(!inf |
9b860 | 6f 29 20 7b 0a 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 | o).{.....document.getElementById |
9b880 | 28 22 73 65 63 75 72 69 74 79 54 61 62 22 29 2e 68 69 64 64 65 6e 20 3d 20 74 72 75 65 3b 0a 20 | ("securityTab").hidden.=.true;.. |
9b8a0 | 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 73 65 63 75 | ...document.getElementById("secu |
9b8c0 | 72 69 74 79 42 6f 78 22 29 2e 63 6f 6c 6c 61 70 73 65 64 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 | rityBox").collapsed.=.true;..... |
9b8e0 | 72 65 74 75 72 6e 3b 0a 20 20 7d 0a 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 64 6f 63 75 6d 65 6e | return;...}...else.{.....documen |
9b900 | 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 73 65 63 75 72 69 74 79 54 61 62 22 29 2e | t.getElementById("securityTab"). |
9b920 | 68 69 64 64 65 6e 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 | hidden.=.false;.....document.get |
9b940 | 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 73 65 63 75 72 69 74 79 42 6f 78 22 29 2e 63 6f 6c 6c 61 | ElementById("securityBox").colla |
9b960 | 70 73 65 64 20 3d 20 66 61 6c 73 65 3b 0a 20 20 7d 0a 0a 20 20 63 6f 6e 73 74 20 70 61 67 65 49 | psed.=.false;...}....const.pageI |
9b980 | 6e 66 6f 42 75 6e 64 6c 65 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 | nfoBundle.=.document.getElementB |
9b9a0 | 79 49 64 28 22 70 61 67 65 69 6e 66 6f 62 75 6e 64 6c 65 22 29 3b 0a 0a 20 20 2f 2a 20 53 65 74 | yId("pageinfobundle");..../*.Set |
9b9c0 | 20 49 64 65 6e 74 69 74 79 20 73 65 63 74 69 6f 6e 20 74 65 78 74 20 2a 2f 0a 20 20 73 65 74 54 | .Identity.section.text.*/...setT |
9b9e0 | 65 78 74 28 22 73 65 63 75 72 69 74 79 2d 69 64 65 6e 74 69 74 79 2d 64 6f 6d 61 69 6e 2d 76 61 | ext("security-identity-domain-va |
9ba00 | 6c 75 65 22 2c 20 69 6e 66 6f 2e 68 6f 73 74 4e 61 6d 65 29 3b 0a 20 20 0a 20 20 76 61 72 20 6f | lue",.info.hostName);......var.o |
9ba20 | 77 6e 65 72 2c 20 76 65 72 69 66 69 65 72 2c 20 67 65 6e 65 72 61 6c 50 61 67 65 49 64 65 6e 74 | wner,.verifier,.generalPageIdent |
9ba40 | 69 74 79 53 74 72 69 6e 67 3b 0a 20 20 69 66 20 28 69 6e 66 6f 2e 63 65 72 74 20 26 26 20 21 69 | ityString;...if.(info.cert.&&.!i |
9ba60 | 6e 66 6f 2e 69 73 42 72 6f 6b 65 6e 29 20 7b 0a 20 20 20 20 2f 2f 20 54 72 79 20 74 6f 20 70 75 | nfo.isBroken).{.....//.Try.to.pu |
9ba80 | 6c 6c 20 6f 75 74 20 6d 65 61 6e 69 6e 67 66 75 6c 20 76 61 6c 75 65 73 2e 20 20 54 65 63 68 6e | ll.out.meaningful.values...Techn |
9baa0 | 69 63 61 6c 6c 79 20 74 68 65 73 65 20 66 69 65 6c 64 73 20 61 72 65 20 6f 70 74 69 6f 6e 61 6c | ically.these.fields.are.optional |
9bac0 | 0a 20 20 20 20 2f 2f 20 73 6f 20 77 65 27 6c 6c 20 65 6d 70 6c 6f 79 20 66 61 6c 6c 62 61 63 6b | .....//.so.we'll.employ.fallback |
9bae0 | 73 20 77 68 65 72 65 20 61 70 70 72 6f 70 72 69 61 74 65 2e 20 20 54 68 65 20 45 56 20 73 70 65 | s.where.appropriate...The.EV.spe |
9bb00 | 63 20 73 74 61 74 65 73 20 74 68 61 74 20 4f 72 67 0a 20 20 20 20 2f 2f 20 66 69 65 6c 64 73 20 | c.states.that.Org.....//.fields. |
9bb20 | 6d 75 73 74 20 62 65 20 73 70 65 63 69 66 69 65 64 20 66 6f 72 20 73 75 62 6a 65 63 74 20 61 6e | must.be.specified.for.subject.an |
9bb40 | 64 20 69 73 73 75 65 72 20 73 6f 20 74 68 61 74 20 63 61 73 65 20 69 73 20 73 69 6d 70 6c 65 72 | d.issuer.so.that.case.is.simpler |
9bb60 | 2e 0a 20 20 20 20 69 66 20 28 69 6e 66 6f 2e 69 73 45 56 29 20 7b 0a 20 20 20 20 20 20 6f 77 6e | ......if.(info.isEV).{.......own |
9bb80 | 65 72 20 3d 20 69 6e 66 6f 2e 63 65 72 74 2e 6f 72 67 61 6e 69 7a 61 74 69 6f 6e 3b 0a 20 20 20 | er.=.info.cert.organization;.... |
9bba0 | 20 20 20 76 65 72 69 66 69 65 72 20 3d 20 73 65 63 75 72 69 74 79 2e 6d 61 70 49 73 73 75 65 72 | ...verifier.=.security.mapIssuer |
9bbc0 | 4f 72 67 61 6e 69 7a 61 74 69 6f 6e 28 69 6e 66 6f 2e 63 41 4e 61 6d 65 29 3b 0a 20 20 20 20 20 | Organization(info.cAName);...... |
9bbe0 | 20 67 65 6e 65 72 61 6c 50 61 67 65 49 64 65 6e 74 69 74 79 53 74 72 69 6e 67 20 3d 20 70 61 67 | .generalPageIdentityString.=.pag |
9bc00 | 65 49 6e 66 6f 42 75 6e 64 6c 65 2e 67 65 74 46 6f 72 6d 61 74 74 65 64 53 74 72 69 6e 67 28 22 | eInfoBundle.getFormattedString(" |
9bc20 | 67 65 6e 65 72 61 6c 53 69 74 65 49 64 65 6e 74 69 74 79 22 2c 0a 20 20 20 20 20 20 20 20 20 20 | generalSiteIdentity",........... |
9bc40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
9bc60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 5b 6f 77 6e 65 72 | ..........................[owner |
9bc80 | 2c 20 76 65 72 69 66 69 65 72 5d 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 65 6c 73 65 20 7b 0a 20 | ,.verifier]);.....}.....else.{.. |
9bca0 | 20 20 20 20 20 2f 2f 20 54 65 63 68 6e 69 63 61 6c 6c 79 2c 20 61 20 6e 6f 6e 2d 45 56 20 63 65 | .....//.Technically,.a.non-EV.ce |
9bcc0 | 72 74 20 6d 69 67 68 74 20 73 70 65 63 69 66 79 20 61 6e 20 6f 77 6e 65 72 20 69 6e 20 74 68 65 | rt.might.specify.an.owner.in.the |
9bce0 | 20 4f 20 66 69 65 6c 64 20 6f 72 20 6e 6f 74 2c 0a 20 20 20 20 20 20 2f 2f 20 64 65 70 65 6e 64 | .O.field.or.not,.......//.depend |
9bd00 | 69 6e 67 20 6f 6e 20 74 68 65 20 43 41 27 73 20 69 73 73 75 69 6e 67 20 70 6f 6c 69 63 69 65 73 | ing.on.the.CA's.issuing.policies |
9bd20 | 2e 20 20 48 6f 77 65 76 65 72 20 77 65 20 64 6f 6e 27 74 20 68 61 76 65 20 61 6e 79 20 70 72 6f | ...However.we.don't.have.any.pro |
9bd40 | 67 72 61 6d 6d 61 74 69 63 0a 20 20 20 20 20 20 2f 2f 20 77 61 79 20 74 6f 20 74 65 6c 6c 20 74 | grammatic.......//.way.to.tell.t |
9bd60 | 68 6f 73 65 20 61 70 61 72 74 2c 20 61 6e 64 20 6e 6f 20 70 6f 6c 69 63 79 20 77 61 79 20 74 6f | hose.apart,.and.no.policy.way.to |
9bd80 | 20 65 73 74 61 62 6c 69 73 68 20 77 68 69 63 68 20 6f 72 67 61 6e 69 7a 61 74 69 6f 6e 0a 20 20 | .establish.which.organization... |
9bda0 | 20 20 20 20 2f 2f 20 76 65 74 74 69 6e 67 20 73 74 61 6e 64 61 72 64 73 20 61 72 65 20 67 6f 6f | ....//.vetting.standards.are.goo |
9bdc0 | 64 20 65 6e 6f 75 67 68 20 28 74 68 61 74 27 73 20 77 68 61 74 20 45 56 20 69 73 20 66 6f 72 29 | d.enough.(that's.what.EV.is.for) |
9bde0 | 20 73 6f 20 77 65 20 64 65 66 61 75 6c 74 20 74 6f 0a 20 20 20 20 20 20 2f 2f 20 74 72 65 61 74 | .so.we.default.to.......//.treat |
9be00 | 69 6e 67 20 74 68 65 73 65 20 63 65 72 74 73 20 61 73 20 64 6f 6d 61 69 6e 2d 76 61 6c 69 64 61 | ing.these.certs.as.domain-valida |
9be20 | 74 65 64 20 6f 6e 6c 79 2e 0a 20 20 20 20 20 20 6f 77 6e 65 72 20 3d 20 70 61 67 65 49 6e 66 6f | ted.only........owner.=.pageInfo |
9be40 | 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 73 65 63 75 72 69 74 79 4e 6f 4f 77 6e 65 | Bundle.getString("securityNoOwne |
9be60 | 72 22 29 3b 0a 20 20 20 20 20 20 76 65 72 69 66 69 65 72 20 3d 20 73 65 63 75 72 69 74 79 2e 6d | r");.......verifier.=.security.m |
9be80 | 61 70 49 73 73 75 65 72 4f 72 67 61 6e 69 7a 61 74 69 6f 6e 28 69 6e 66 6f 2e 63 41 4e 61 6d 65 | apIssuerOrganization(info.cAName |
9bea0 | 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .||............................. |
9bec0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 66 6f 2e 63 65 72 74 2e 69 73 | ....................info.cert.is |
9bee0 | 73 75 65 72 43 6f 6d 6d 6f 6e 4e 61 6d 65 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | suerCommonName.||............... |
9bf00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
9bf20 | 20 20 69 6e 66 6f 2e 63 65 72 74 2e 69 73 73 75 65 72 4e 61 6d 65 29 3b 0a 20 20 20 20 20 20 67 | ..info.cert.issuerName);.......g |
9bf40 | 65 6e 65 72 61 6c 50 61 67 65 49 64 65 6e 74 69 74 79 53 74 72 69 6e 67 20 3d 20 6f 77 6e 65 72 | eneralPageIdentityString.=.owner |
9bf60 | 3b 0a 20 20 20 20 7d 0a 20 20 7d 0a 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 2f 2f 20 57 65 20 64 | ;.....}...}...else.{.....//.We.d |
9bf80 | 6f 6e 27 74 20 68 61 76 65 20 76 61 6c 69 64 20 69 64 65 6e 74 69 74 79 20 63 72 65 64 65 6e 74 | on't.have.valid.identity.credent |
9bfa0 | 69 61 6c 73 2e 0a 20 20 20 20 6f 77 6e 65 72 20 3d 20 70 61 67 65 49 6e 66 6f 42 75 6e 64 6c 65 | ials......owner.=.pageInfoBundle |
9bfc0 | 2e 67 65 74 53 74 72 69 6e 67 28 22 73 65 63 75 72 69 74 79 4e 6f 4f 77 6e 65 72 22 29 3b 0a 20 | .getString("securityNoOwner");.. |
9bfe0 | 20 20 20 76 65 72 69 66 69 65 72 20 3d 20 70 61 67 65 49 6e 66 6f 42 75 6e 64 6c 65 2e 67 65 74 | ...verifier.=.pageInfoBundle.get |
9c000 | 53 74 72 69 6e 67 28 22 6e 6f 74 73 65 74 22 29 3b 0a 20 20 20 20 67 65 6e 65 72 61 6c 50 61 67 | String("notset");.....generalPag |
9c020 | 65 49 64 65 6e 74 69 74 79 53 74 72 69 6e 67 20 3d 20 6f 77 6e 65 72 3b 0a 20 20 7d 0a 0a 20 20 | eIdentityString.=.owner;...}.... |
9c040 | 73 65 74 54 65 78 74 28 22 73 65 63 75 72 69 74 79 2d 69 64 65 6e 74 69 74 79 2d 6f 77 6e 65 72 | setText("security-identity-owner |
9c060 | 2d 76 61 6c 75 65 22 2c 20 6f 77 6e 65 72 29 3b 0a 20 20 73 65 74 54 65 78 74 28 22 73 65 63 75 | -value",.owner);...setText("secu |
9c080 | 72 69 74 79 2d 69 64 65 6e 74 69 74 79 2d 76 65 72 69 66 69 65 72 2d 76 61 6c 75 65 22 2c 20 76 | rity-identity-verifier-value",.v |
9c0a0 | 65 72 69 66 69 65 72 29 3b 0a 20 20 73 65 74 54 65 78 74 28 22 67 65 6e 65 72 61 6c 2d 73 65 63 | erifier);...setText("general-sec |
9c0c0 | 75 72 69 74 79 2d 69 64 65 6e 74 69 74 79 22 2c 20 67 65 6e 65 72 61 6c 50 61 67 65 49 64 65 6e | urity-identity",.generalPageIden |
9c0e0 | 74 69 74 79 53 74 72 69 6e 67 29 3b 0a 0a 20 20 2f 2a 20 4d 61 6e 61 67 65 20 74 68 65 20 56 69 | tityString);..../*.Manage.the.Vi |
9c100 | 65 77 20 43 65 72 74 20 62 75 74 74 6f 6e 2a 2f 0a 20 20 76 61 72 20 76 69 65 77 43 65 72 74 20 | ew.Cert.button*/...var.viewCert. |
9c120 | 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 73 65 63 75 72 | =.document.getElementById("secur |
9c140 | 69 74 79 2d 76 69 65 77 2d 63 65 72 74 22 29 3b 0a 20 20 69 66 20 28 69 6e 66 6f 2e 63 65 72 74 | ity-view-cert");...if.(info.cert |
9c160 | 29 20 7b 0a 20 20 20 20 73 65 63 75 72 69 74 79 2e 5f 63 65 72 74 20 3d 20 69 6e 66 6f 2e 63 65 | ).{.....security._cert.=.info.ce |
9c180 | 72 74 3b 0a 20 20 20 20 76 69 65 77 43 65 72 74 2e 63 6f 6c 6c 61 70 73 65 64 20 3d 20 66 61 6c | rt;.....viewCert.collapsed.=.fal |
9c1a0 | 73 65 3b 0a 20 20 7d 0a 20 20 65 6c 73 65 0a 20 20 20 20 76 69 65 77 43 65 72 74 2e 63 6f 6c 6c | se;...}...else.....viewCert.coll |
9c1c0 | 61 70 73 65 64 20 3d 20 74 72 75 65 3b 0a 0a 20 20 2f 2a 20 53 65 74 20 50 72 69 76 61 63 79 20 | apsed.=.true;..../*.Set.Privacy. |
9c1e0 | 26 20 48 69 73 74 6f 72 79 20 73 65 63 74 69 6f 6e 20 74 65 78 74 20 2a 2f 0a 20 20 76 61 72 20 | &.History.section.text.*/...var. |
9c200 | 79 65 73 53 74 72 20 3d 20 70 61 67 65 49 6e 66 6f 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e | yesStr.=.pageInfoBundle.getStrin |
9c220 | 67 28 22 79 65 73 22 29 3b 0a 20 20 76 61 72 20 6e 6f 53 74 72 20 3d 20 70 61 67 65 49 6e 66 6f | g("yes");...var.noStr.=.pageInfo |
9c240 | 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 6e 6f 22 29 3b 0a 0a 20 20 76 61 72 20 75 | Bundle.getString("no");....var.u |
9c260 | 72 69 20 3d 20 67 44 6f 63 75 6d 65 6e 74 2e 64 6f 63 75 6d 65 6e 74 55 52 49 4f 62 6a 65 63 74 | ri.=.gDocument.documentURIObject |
9c280 | 3b 0a 20 20 73 65 74 54 65 78 74 28 22 73 65 63 75 72 69 74 79 2d 70 72 69 76 61 63 79 2d 63 6f | ;...setText("security-privacy-co |
9c2a0 | 6f 6b 69 65 73 2d 76 61 6c 75 65 22 2c 0a 20 20 20 20 20 20 20 20 20 20 68 6f 73 74 48 61 73 43 | okies-value",...........hostHasC |
9c2c0 | 6f 6f 6b 69 65 73 28 75 72 69 29 20 3f 20 79 65 73 53 74 72 20 3a 20 6e 6f 53 74 72 29 3b 0a 20 | ookies(uri).?.yesStr.:.noStr);.. |
9c2e0 | 20 73 65 74 54 65 78 74 28 22 73 65 63 75 72 69 74 79 2d 70 72 69 76 61 63 79 2d 70 61 73 73 77 | .setText("security-privacy-passw |
9c300 | 6f 72 64 73 2d 76 61 6c 75 65 22 2c 0a 20 20 20 20 20 20 20 20 20 20 72 65 61 6c 6d 48 61 73 50 | ords-value",...........realmHasP |
9c320 | 61 73 73 77 6f 72 64 73 28 75 72 69 29 20 3f 20 79 65 73 53 74 72 20 3a 20 6e 6f 53 74 72 29 3b | asswords(uri).?.yesStr.:.noStr); |
9c340 | 0a 20 20 0a 20 20 76 61 72 20 76 69 73 69 74 43 6f 75 6e 74 20 3d 20 70 72 65 76 69 6f 75 73 56 | ......var.visitCount.=.previousV |
9c360 | 69 73 69 74 43 6f 75 6e 74 28 69 6e 66 6f 2e 68 6f 73 74 4e 61 6d 65 29 3b 0a 20 20 69 66 28 76 | isitCount(info.hostName);...if(v |
9c380 | 69 73 69 74 43 6f 75 6e 74 20 3e 20 31 29 20 7b 0a 20 20 20 20 73 65 74 54 65 78 74 28 22 73 65 | isitCount.>.1).{.....setText("se |
9c3a0 | 63 75 72 69 74 79 2d 70 72 69 76 61 63 79 2d 68 69 73 74 6f 72 79 2d 76 61 6c 75 65 22 2c 0a 20 | curity-privacy-history-value",.. |
9c3c0 | 20 20 20 20 20 20 20 20 20 20 20 70 61 67 65 49 6e 66 6f 42 75 6e 64 6c 65 2e 67 65 74 46 6f 72 | ...........pageInfoBundle.getFor |
9c3e0 | 6d 61 74 74 65 64 53 74 72 69 6e 67 28 22 73 65 63 75 72 69 74 79 4e 56 69 73 69 74 73 22 2c 20 | mattedString("securityNVisits",. |
9c400 | 5b 76 69 73 69 74 43 6f 75 6e 74 2e 74 6f 4c 6f 63 61 6c 65 53 74 72 69 6e 67 28 29 5d 29 29 3b | [visitCount.toLocaleString()])); |
9c420 | 0a 20 20 7d 0a 20 20 65 6c 73 65 20 69 66 20 28 76 69 73 69 74 43 6f 75 6e 74 20 3d 3d 20 31 29 | ...}...else.if.(visitCount.==.1) |
9c440 | 20 7b 0a 20 20 20 20 73 65 74 54 65 78 74 28 22 73 65 63 75 72 69 74 79 2d 70 72 69 76 61 63 79 | .{.....setText("security-privacy |
9c460 | 2d 68 69 73 74 6f 72 79 2d 76 61 6c 75 65 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 70 61 67 | -history-value",.............pag |
9c480 | 65 49 6e 66 6f 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 73 65 63 75 72 69 74 79 4f | eInfoBundle.getString("securityO |
9c4a0 | 6e 65 56 69 73 69 74 22 29 29 3b 0a 20 20 7d 0a 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 73 65 74 | neVisit"));...}...else.{.....set |
9c4c0 | 54 65 78 74 28 22 73 65 63 75 72 69 74 79 2d 70 72 69 76 61 63 79 2d 68 69 73 74 6f 72 79 2d 76 | Text("security-privacy-history-v |
9c4e0 | 61 6c 75 65 22 2c 20 6e 6f 53 74 72 29 3b 20 20 20 20 20 20 20 20 0a 20 20 7d 0a 0a 20 20 2f 2a | alue",.noStr);...........}..../* |
9c500 | 20 53 65 74 20 74 68 65 20 54 65 63 68 6e 69 63 61 6c 20 44 65 74 61 69 6c 20 73 65 63 74 69 6f | .Set.the.Technical.Detail.sectio |
9c520 | 6e 20 6d 65 73 73 61 67 65 73 20 2a 2f 0a 20 20 63 6f 6e 73 74 20 70 6b 69 42 75 6e 64 6c 65 20 | n.messages.*/...const.pkiBundle. |
9c540 | 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 70 6b 69 42 75 | =.document.getElementById("pkiBu |
9c560 | 6e 64 6c 65 22 29 3b 0a 20 20 76 61 72 20 68 64 72 3b 0a 20 20 76 61 72 20 6d 73 67 31 3b 0a 20 | ndle");...var.hdr;...var.msg1;.. |
9c580 | 20 76 61 72 20 6d 73 67 32 3b 0a 0a 20 20 69 66 20 28 69 6e 66 6f 2e 69 73 42 72 6f 6b 65 6e 29 | .var.msg2;....if.(info.isBroken) |
9c5a0 | 20 7b 0a 20 20 20 20 68 64 72 20 3d 20 70 6b 69 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 | .{.....hdr.=.pkiBundle.getString |
9c5c0 | 28 22 70 61 67 65 49 6e 66 6f 5f 4d 69 78 65 64 43 6f 6e 74 65 6e 74 22 29 3b 0a 20 20 20 20 6d | ("pageInfo_MixedContent");.....m |
9c5e0 | 73 67 31 20 3d 20 70 6b 69 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 70 61 67 65 49 | sg1.=.pkiBundle.getString("pageI |
9c600 | 6e 66 6f 5f 50 72 69 76 61 63 79 5f 4d 69 78 65 64 31 22 29 3b 0a 20 20 20 20 6d 73 67 32 20 3d | nfo_Privacy_Mixed1");.....msg2.= |
9c620 | 20 70 6b 69 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 70 61 67 65 49 6e 66 6f 5f 50 | .pkiBundle.getString("pageInfo_P |
9c640 | 72 69 76 61 63 79 5f 4e 6f 6e 65 32 22 29 3b 0a 20 20 7d 0a 20 20 65 6c 73 65 20 69 66 20 28 69 | rivacy_None2");...}...else.if.(i |
9c660 | 6e 66 6f 2e 65 6e 63 72 79 70 74 69 6f 6e 53 74 72 65 6e 67 74 68 20 3e 3d 20 39 30 29 20 7b 0a | nfo.encryptionStrength.>=.90).{. |
9c680 | 20 20 20 20 68 64 72 20 3d 20 70 6b 69 42 75 6e 64 6c 65 2e 67 65 74 46 6f 72 6d 61 74 74 65 64 | ....hdr.=.pkiBundle.getFormatted |
9c6a0 | 53 74 72 69 6e 67 28 22 70 61 67 65 49 6e 66 6f 5f 53 74 72 6f 6e 67 45 6e 63 72 79 70 74 69 6f | String("pageInfo_StrongEncryptio |
9c6c0 | 6e 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | n",............................. |
9c6e0 | 20 20 20 20 20 20 20 20 20 20 20 5b 69 6e 66 6f 2e 65 6e 63 72 79 70 74 69 6f 6e 41 6c 67 6f 72 | ...........[info.encryptionAlgor |
9c700 | 69 74 68 6d 2c 20 69 6e 66 6f 2e 65 6e 63 72 79 70 74 69 6f 6e 53 74 72 65 6e 67 74 68 20 2b 20 | ithm,.info.encryptionStrength.+. |
9c720 | 22 22 5d 29 3b 0a 20 20 20 20 6d 73 67 31 20 3d 20 70 6b 69 42 75 6e 64 6c 65 2e 67 65 74 53 74 | ""]);.....msg1.=.pkiBundle.getSt |
9c740 | 72 69 6e 67 28 22 70 61 67 65 49 6e 66 6f 5f 50 72 69 76 61 63 79 5f 53 74 72 6f 6e 67 31 22 29 | ring("pageInfo_Privacy_Strong1") |
9c760 | 3b 0a 20 20 20 20 6d 73 67 32 20 3d 20 70 6b 69 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 | ;.....msg2.=.pkiBundle.getString |
9c780 | 28 22 70 61 67 65 49 6e 66 6f 5f 50 72 69 76 61 63 79 5f 53 74 72 6f 6e 67 32 22 29 3b 0a 20 20 | ("pageInfo_Privacy_Strong2");... |
9c7a0 | 20 20 73 65 63 75 72 69 74 79 2e 5f 63 65 72 74 20 3d 20 69 6e 66 6f 2e 63 65 72 74 3b 0a 20 20 | ..security._cert.=.info.cert;... |
9c7c0 | 7d 0a 20 20 65 6c 73 65 20 69 66 20 28 69 6e 66 6f 2e 65 6e 63 72 79 70 74 69 6f 6e 53 74 72 65 | }...else.if.(info.encryptionStre |
9c7e0 | 6e 67 74 68 20 3e 20 30 29 20 7b 0a 20 20 20 20 68 64 72 20 20 3d 20 70 6b 69 42 75 6e 64 6c 65 | ngth.>.0).{.....hdr..=.pkiBundle |
9c800 | 2e 67 65 74 46 6f 72 6d 61 74 74 65 64 53 74 72 69 6e 67 28 22 70 61 67 65 49 6e 66 6f 5f 57 65 | .getFormattedString("pageInfo_We |
9c820 | 61 6b 45 6e 63 72 79 70 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | akEncryption",.................. |
9c840 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 5b 69 6e 66 6f 2e 65 6e 63 | .......................[info.enc |
9c860 | 72 79 70 74 69 6f 6e 41 6c 67 6f 72 69 74 68 6d 2c 20 69 6e 66 6f 2e 65 6e 63 72 79 70 74 69 6f | ryptionAlgorithm,.info.encryptio |
9c880 | 6e 53 74 72 65 6e 67 74 68 20 2b 20 22 22 5d 29 3b 0a 20 20 20 20 6d 73 67 31 20 3d 20 70 6b 69 | nStrength.+.""]);.....msg1.=.pki |
9c8a0 | 42 75 6e 64 6c 65 2e 67 65 74 46 6f 72 6d 61 74 74 65 64 53 74 72 69 6e 67 28 22 70 61 67 65 49 | Bundle.getFormattedString("pageI |
9c8c0 | 6e 66 6f 5f 50 72 69 76 61 63 79 5f 57 65 61 6b 31 22 2c 20 5b 69 6e 66 6f 2e 68 6f 73 74 4e 61 | nfo_Privacy_Weak1",.[info.hostNa |
9c8e0 | 6d 65 5d 29 3b 0a 20 20 20 20 6d 73 67 32 20 3d 20 70 6b 69 42 75 6e 64 6c 65 2e 67 65 74 53 74 | me]);.....msg2.=.pkiBundle.getSt |
9c900 | 72 69 6e 67 28 22 70 61 67 65 49 6e 66 6f 5f 50 72 69 76 61 63 79 5f 57 65 61 6b 32 22 29 3b 0a | ring("pageInfo_Privacy_Weak2");. |
9c920 | 20 20 7d 0a 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 68 64 72 20 3d 20 70 6b 69 42 75 6e 64 6c 65 | ..}...else.{.....hdr.=.pkiBundle |
9c940 | 2e 67 65 74 53 74 72 69 6e 67 28 22 70 61 67 65 49 6e 66 6f 5f 4e 6f 45 6e 63 72 79 70 74 69 6f | .getString("pageInfo_NoEncryptio |
9c960 | 6e 22 29 3b 0a 20 20 20 20 69 66 20 28 69 6e 66 6f 2e 68 6f 73 74 4e 61 6d 65 20 21 3d 20 6e 75 | n");.....if.(info.hostName.!=.nu |
9c980 | 6c 6c 29 0a 20 20 20 20 20 20 6d 73 67 31 20 3d 20 70 6b 69 42 75 6e 64 6c 65 2e 67 65 74 46 6f | ll).......msg1.=.pkiBundle.getFo |
9c9a0 | 72 6d 61 74 74 65 64 53 74 72 69 6e 67 28 22 70 61 67 65 49 6e 66 6f 5f 50 72 69 76 61 63 79 5f | rmattedString("pageInfo_Privacy_ |
9c9c0 | 4e 6f 6e 65 31 22 2c 20 5b 69 6e 66 6f 2e 68 6f 73 74 4e 61 6d 65 5d 29 3b 0a 20 20 20 20 65 6c | None1",.[info.hostName]);.....el |
9c9e0 | 73 65 0a 20 20 20 20 20 20 6d 73 67 31 20 3d 20 70 6b 69 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 | se.......msg1.=.pkiBundle.getStr |
9ca00 | 69 6e 67 28 22 70 61 67 65 49 6e 66 6f 5f 50 72 69 76 61 63 79 5f 4e 6f 6e 65 33 22 29 3b 0a 20 | ing("pageInfo_Privacy_None3");.. |
9ca20 | 20 20 20 6d 73 67 32 20 3d 20 70 6b 69 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 70 | ...msg2.=.pkiBundle.getString("p |
9ca40 | 61 67 65 49 6e 66 6f 5f 50 72 69 76 61 63 79 5f 4e 6f 6e 65 32 22 29 3b 0a 20 20 7d 0a 20 20 73 | ageInfo_Privacy_None2");...}...s |
9ca60 | 65 74 54 65 78 74 28 22 73 65 63 75 72 69 74 79 2d 74 65 63 68 6e 69 63 61 6c 2d 73 68 6f 72 74 | etText("security-technical-short |
9ca80 | 66 6f 72 6d 22 2c 20 68 64 72 29 3b 0a 20 20 73 65 74 54 65 78 74 28 22 73 65 63 75 72 69 74 79 | form",.hdr);...setText("security |
9caa0 | 2d 74 65 63 68 6e 69 63 61 6c 2d 6c 6f 6e 67 66 6f 72 6d 31 22 2c 20 6d 73 67 31 29 3b 0a 20 20 | -technical-longform1",.msg1);... |
9cac0 | 73 65 74 54 65 78 74 28 22 73 65 63 75 72 69 74 79 2d 74 65 63 68 6e 69 63 61 6c 2d 6c 6f 6e 67 | setText("security-technical-long |
9cae0 | 66 6f 72 6d 32 22 2c 20 6d 73 67 32 29 3b 20 0a 20 20 73 65 74 54 65 78 74 28 22 67 65 6e 65 72 | form2",.msg2);....setText("gener |
9cb00 | 61 6c 2d 73 65 63 75 72 69 74 79 2d 70 72 69 76 61 63 79 22 2c 20 68 64 72 29 3b 0a 7d 0a 0a 66 | al-security-privacy",.hdr);.}..f |
9cb20 | 75 6e 63 74 69 6f 6e 20 73 65 74 54 65 78 74 28 69 64 2c 20 76 61 6c 75 65 29 0a 7b 0a 20 20 76 | unction.setText(id,.value).{...v |
9cb40 | 61 72 20 65 6c 65 6d 65 6e 74 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 | ar.element.=.document.getElement |
9cb60 | 42 79 49 64 28 69 64 29 3b 0a 20 20 69 66 20 28 21 65 6c 65 6d 65 6e 74 29 0a 20 20 20 20 72 65 | ById(id);...if.(!element).....re |
9cb80 | 74 75 72 6e 3b 0a 20 20 69 66 20 28 65 6c 65 6d 65 6e 74 2e 6c 6f 63 61 6c 4e 61 6d 65 20 3d 3d | turn;...if.(element.localName.== |
9cba0 | 20 22 74 65 78 74 62 6f 78 22 20 7c 7c 20 65 6c 65 6d 65 6e 74 2e 6c 6f 63 61 6c 4e 61 6d 65 20 | ."textbox".||.element.localName. |
9cbc0 | 3d 3d 20 22 6c 61 62 65 6c 22 29 0a 20 20 20 20 65 6c 65 6d 65 6e 74 2e 76 61 6c 75 65 20 3d 20 | ==."label").....element.value.=. |
9cbe0 | 76 61 6c 75 65 3b 0a 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 69 66 20 28 65 6c 65 6d 65 6e 74 2e | value;...else.{.....if.(element. |
9cc00 | 68 61 73 43 68 69 6c 64 4e 6f 64 65 73 28 29 29 0a 20 20 20 20 20 20 65 6c 65 6d 65 6e 74 2e 72 | hasChildNodes()).......element.r |
9cc20 | 65 6d 6f 76 65 43 68 69 6c 64 28 65 6c 65 6d 65 6e 74 2e 66 69 72 73 74 43 68 69 6c 64 29 3b 0a | emoveChild(element.firstChild);. |
9cc40 | 20 20 20 20 76 61 72 20 74 65 78 74 4e 6f 64 65 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 63 72 65 61 | ....var.textNode.=.document.crea |
9cc60 | 74 65 54 65 78 74 4e 6f 64 65 28 76 61 6c 75 65 29 3b 0a 20 20 20 20 65 6c 65 6d 65 6e 74 2e 61 | teTextNode(value);.....element.a |
9cc80 | 70 70 65 6e 64 43 68 69 6c 64 28 74 65 78 74 4e 6f 64 65 29 3b 0a 20 20 7d 0a 7d 0a 0a 66 75 6e | ppendChild(textNode);...}.}..fun |
9cca0 | 63 74 69 6f 6e 20 76 69 65 77 43 65 72 74 48 65 6c 70 65 72 28 70 61 72 65 6e 74 2c 20 63 65 72 | ction.viewCertHelper(parent,.cer |
9ccc0 | 74 29 0a 7b 0a 20 20 69 66 20 28 21 63 65 72 74 29 0a 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 | t).{...if.(!cert).....return;... |
9cce0 | 20 76 61 72 20 63 64 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 43 45 52 | .var.cd.=.Components.classes[CER |
9cd00 | 54 49 46 49 43 41 54 45 44 49 41 4c 4f 47 53 5f 43 4f 4e 54 52 41 43 54 49 44 5d 2e 67 65 74 53 | TIFICATEDIALOGS_CONTRACTID].getS |
9cd20 | 65 72 76 69 63 65 28 6e 73 49 43 65 72 74 69 66 69 63 61 74 65 44 69 61 6c 6f 67 73 29 3b 0a 20 | ervice(nsICertificateDialogs);.. |
9cd40 | 20 63 64 2e 76 69 65 77 43 65 72 74 28 70 61 72 65 6e 74 2c 20 63 65 72 74 29 3b 0a 7d 0a 0a 2f | .cd.viewCert(parent,.cert);.}../ |
9cd60 | 2a 2a 0a 20 2a 20 52 65 74 75 72 6e 20 74 72 75 65 20 69 66 66 20 77 65 20 68 61 76 65 20 63 6f | **..*.Return.true.iff.we.have.co |
9cd80 | 6f 6b 69 65 73 20 66 6f 72 20 75 72 69 0a 20 2a 2f 0a 66 75 6e 63 74 69 6f 6e 20 68 6f 73 74 48 | okies.for.uri..*/.function.hostH |
9cda0 | 61 73 43 6f 6f 6b 69 65 73 28 75 72 69 29 20 7b 0a 20 20 76 61 72 20 63 6f 6f 6b 69 65 4d 61 6e | asCookies(uri).{...var.cookieMan |
9cdc0 | 61 67 65 72 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 | ager.=.Components.classes["@mozi |
9cde0 | 6c 6c 61 2e 6f 72 67 2f 63 6f 6f 6b 69 65 6d 61 6e 61 67 65 72 3b 31 22 5d 0a 20 20 20 20 20 20 | lla.org/cookiemanager;1"]....... |
9ce00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 | ...........................getSe |
9ce20 | 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 43 | rvice(Components.interfaces.nsIC |
9ce40 | 6f 6f 6b 69 65 4d 61 6e 61 67 65 72 32 29 3b 0a 0a 20 20 72 65 74 75 72 6e 20 63 6f 6f 6b 69 65 | ookieManager2);....return.cookie |
9ce60 | 4d 61 6e 61 67 65 72 2e 63 6f 75 6e 74 43 6f 6f 6b 69 65 73 46 72 6f 6d 48 6f 73 74 28 75 72 69 | Manager.countCookiesFromHost(uri |
9ce80 | 2e 61 73 63 69 69 48 6f 73 74 29 20 3e 20 30 3b 0a 7d 0a 0a 2f 2a 2a 0a 20 2a 20 52 65 74 75 72 | .asciiHost).>.0;.}../**..*.Retur |
9cea0 | 6e 20 74 72 75 65 20 69 66 66 20 72 65 61 6c 6d 20 28 70 72 6f 74 6f 3a 2f 2f 68 6f 73 74 3a 70 | n.true.iff.realm.(proto://host:p |
9cec0 | 6f 72 74 29 20 28 65 78 74 72 61 63 74 65 64 20 66 72 6f 6d 20 75 72 69 29 20 68 61 73 0a 20 2a | ort).(extracted.from.uri).has..* |
9cee0 | 20 73 61 76 65 64 20 70 61 73 73 77 6f 72 64 73 0a 20 2a 2f 0a 66 75 6e 63 74 69 6f 6e 20 72 65 | .saved.passwords..*/.function.re |
9cf00 | 61 6c 6d 48 61 73 50 61 73 73 77 6f 72 64 73 28 75 72 69 29 20 7b 0a 20 20 76 61 72 20 70 61 73 | almHasPasswords(uri).{...var.pas |
9cf20 | 73 77 6f 72 64 4d 61 6e 61 67 65 72 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 | swordManager.=.Components.classe |
9cf40 | 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6c 6f 67 69 6e 2d 6d 61 6e 61 67 65 72 3b 31 22 | s["@mozilla.org/login-manager;1" |
9cf60 | 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ]............................... |
9cf80 | 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 | .....getService(Components.inter |
9cfa0 | 66 61 63 65 73 2e 6e 73 49 4c 6f 67 69 6e 4d 61 6e 61 67 65 72 29 3b 0a 20 20 72 65 74 75 72 6e | faces.nsILoginManager);...return |
9cfc0 | 20 70 61 73 73 77 6f 72 64 4d 61 6e 61 67 65 72 2e 63 6f 75 6e 74 4c 6f 67 69 6e 73 28 75 72 69 | .passwordManager.countLogins(uri |
9cfe0 | 2e 70 72 65 50 61 74 68 2c 20 22 22 2c 20 22 22 29 20 3e 20 30 3b 0a 7d 0a 0a 2f 2a 2a 0a 20 2a | .prePath,."",."").>.0;.}../**..* |
9d000 | 20 52 65 74 75 72 6e 20 74 68 65 20 6e 75 6d 62 65 72 20 6f 66 20 70 72 65 76 69 6f 75 73 20 76 | .Return.the.number.of.previous.v |
9d020 | 69 73 69 74 73 20 72 65 63 6f 72 64 65 64 20 66 6f 72 20 68 6f 73 74 20 62 65 66 6f 72 65 20 74 | isits.recorded.for.host.before.t |
9d040 | 6f 64 61 79 2e 0a 20 2a 0a 20 2a 20 40 70 61 72 61 6d 20 68 6f 73 74 20 2d 20 74 68 65 20 64 6f | oday...*..*.@param.host.-.the.do |
9d060 | 6d 61 69 6e 20 6e 61 6d 65 20 74 6f 20 6c 6f 6f 6b 20 66 6f 72 20 69 6e 20 68 69 73 74 6f 72 79 | main.name.to.look.for.in.history |
9d080 | 0a 20 2a 2f 0a 66 75 6e 63 74 69 6f 6e 20 70 72 65 76 69 6f 75 73 56 69 73 69 74 43 6f 75 6e 74 | ..*/.function.previousVisitCount |
9d0a0 | 28 68 6f 73 74 2c 20 65 6e 64 54 69 6d 65 52 65 66 65 72 65 6e 63 65 29 20 7b 0a 20 20 69 66 20 | (host,.endTimeReference).{...if. |
9d0c0 | 28 21 68 6f 73 74 29 0a 20 20 20 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 0a 20 20 0a 20 20 76 | (!host).....return.false;......v |
9d0e0 | 61 72 20 68 69 73 74 6f 72 79 53 65 72 76 69 63 65 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 | ar.historyService.=.Components.c |
9d100 | 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 62 72 6f 77 73 65 72 2f 6e 61 76 | lasses["@mozilla.org/browser/nav |
9d120 | 2d 68 69 73 74 6f 72 79 2d 73 65 72 76 69 63 65 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 | -history-service;1"]............ |
9d140 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 | .......................getServic |
9d160 | 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 4e 61 76 48 69 | e(Components.interfaces.nsINavHi |
9d180 | 73 74 6f 72 79 53 65 72 76 69 63 65 29 3b 0a 20 20 20 20 0a 20 20 76 61 72 20 6f 70 74 69 6f 6e | storyService);........var.option |
9d1a0 | 73 20 3d 20 68 69 73 74 6f 72 79 53 65 72 76 69 63 65 2e 67 65 74 4e 65 77 51 75 65 72 79 4f 70 | s.=.historyService.getNewQueryOp |
9d1c0 | 74 69 6f 6e 73 28 29 3b 0a 20 20 6f 70 74 69 6f 6e 73 2e 72 65 73 75 6c 74 54 79 70 65 20 3d 20 | tions();...options.resultType.=. |
9d1e0 | 6f 70 74 69 6f 6e 73 2e 52 45 53 55 4c 54 53 5f 41 53 5f 56 49 53 49 54 3b 0a 20 20 0a 20 20 2f | options.RESULTS_AS_VISIT;....../ |
9d200 | 2f 20 53 65 61 72 63 68 20 66 6f 72 20 76 69 73 69 74 73 20 74 6f 20 74 68 69 73 20 68 6f 73 74 | /.Search.for.visits.to.this.host |
9d220 | 20 62 65 66 6f 72 65 20 74 6f 64 61 79 0a 20 20 76 61 72 20 71 75 65 72 79 20 3d 20 68 69 73 74 | .before.today...var.query.=.hist |
9d240 | 6f 72 79 53 65 72 76 69 63 65 2e 67 65 74 4e 65 77 51 75 65 72 79 28 29 3b 0a 20 20 71 75 65 72 | oryService.getNewQuery();...quer |
9d260 | 79 2e 65 6e 64 54 69 6d 65 52 65 66 65 72 65 6e 63 65 20 3d 20 71 75 65 72 79 2e 54 49 4d 45 5f | y.endTimeReference.=.query.TIME_ |
9d280 | 52 45 4c 41 54 49 56 45 5f 54 4f 44 41 59 3b 0a 20 20 71 75 65 72 79 2e 65 6e 64 54 69 6d 65 20 | RELATIVE_TODAY;...query.endTime. |
9d2a0 | 3d 20 30 3b 0a 20 20 71 75 65 72 79 2e 64 6f 6d 61 69 6e 20 3d 20 68 6f 73 74 3b 0a 0a 20 20 76 | =.0;...query.domain.=.host;....v |
9d2c0 | 61 72 20 72 65 73 75 6c 74 20 3d 20 68 69 73 74 6f 72 79 53 65 72 76 69 63 65 2e 65 78 65 63 75 | ar.result.=.historyService.execu |
9d2e0 | 74 65 51 75 65 72 79 28 71 75 65 72 79 2c 20 6f 70 74 69 6f 6e 73 29 3b 0a 20 20 72 65 73 75 6c | teQuery(query,.options);...resul |
9d300 | 74 2e 72 6f 6f 74 2e 63 6f 6e 74 61 69 6e 65 72 4f 70 65 6e 20 3d 20 74 72 75 65 3b 0a 20 20 72 | t.root.containerOpen.=.true;...r |
9d320 | 65 74 75 72 6e 20 72 65 73 75 6c 74 2e 72 6f 6f 74 2e 63 68 69 6c 64 43 6f 75 6e 74 3b 0a 7d 0a | eturn.result.root.childCount;.}. |
9d340 | 50 4b 03 04 14 00 00 00 00 00 f2 4b 18 3b 85 33 29 84 a6 0e 00 00 a6 0e 00 00 1f 00 00 00 63 6f | PK.........K.;.3).............co |
9d360 | 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 6f 70 65 6e 4c 6f 63 61 74 69 6f 6e 2e 6a 73 2f 2f 40 | ntent/browser/openLocation.js//@ |
9d380 | 6c 69 6e 65 20 34 31 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 | line.41."/builds/moz2_slave/linu |
9d3a0 | 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 62 61 73 65 2f 63 6f 6e 74 65 | x_build/build/browser/base/conte |
9d3c0 | 6e 74 2f 6f 70 65 6e 4c 6f 63 61 74 69 6f 6e 2e 6a 73 22 0a 0a 76 61 72 20 62 72 6f 77 73 65 72 | nt/openLocation.js"..var.browser |
9d3e0 | 3b 0a 76 61 72 20 64 69 61 6c 6f 67 20 3d 20 7b 7d 3b 0a 76 61 72 20 70 72 65 66 20 3d 20 6e 75 | ;.var.dialog.=.{};.var.pref.=.nu |
9d400 | 6c 6c 3b 0a 74 72 79 20 7b 0a 20 20 70 72 65 66 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c | ll;.try.{...pref.=.Components.cl |
9d420 | 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 70 72 65 66 65 72 65 6e 63 65 73 2d | asses["@mozilla.org/preferences- |
9d440 | 73 65 72 76 69 63 65 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e | service;1"]..................... |
9d460 | 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 | getService(Components.interfaces |
9d480 | 2e 6e 73 49 50 72 65 66 42 72 61 6e 63 68 29 3b 0a 7d 20 63 61 74 63 68 20 28 65 78 29 20 7b 0a | .nsIPrefBranch);.}.catch.(ex).{. |
9d4a0 | 20 20 2f 2f 20 6e 6f 74 20 63 72 69 74 69 63 61 6c 2c 20 72 65 6d 61 69 6e 20 73 69 6c 65 6e 74 | ..//.not.critical,.remain.silent |
9d4c0 | 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 6f 6e 4c 6f 61 64 28 29 0a 7b 0a 20 20 64 69 61 6c 6f 67 | .}..function.onLoad().{...dialog |
9d4e0 | 2e 69 6e 70 75 74 20 20 20 20 20 20 20 20 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 | .input.........=.document.getEle |
9d500 | 6d 65 6e 74 42 79 49 64 28 22 64 69 61 6c 6f 67 2e 69 6e 70 75 74 22 29 3b 0a 20 20 64 69 61 6c | mentById("dialog.input");...dial |
9d520 | 6f 67 2e 6f 70 65 6e 20 20 20 20 20 20 20 20 20 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 64 6f 63 75 | og.open..........=.document.docu |
9d540 | 6d 65 6e 74 45 6c 65 6d 65 6e 74 2e 67 65 74 42 75 74 74 6f 6e 28 22 61 63 63 65 70 74 22 29 3b | mentElement.getButton("accept"); |
9d560 | 0a 20 20 64 69 61 6c 6f 67 2e 6f 70 65 6e 57 68 65 72 65 4c 69 73 74 20 3d 20 64 6f 63 75 6d 65 | ...dialog.openWhereList.=.docume |
9d580 | 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 6f 70 65 6e 57 68 65 72 65 4c 69 73 74 | nt.getElementById("openWhereList |
9d5a0 | 22 29 3b 0a 20 20 64 69 61 6c 6f 67 2e 6f 70 65 6e 54 6f 70 57 69 6e 64 6f 77 20 3d 20 64 6f 63 | ");...dialog.openTopWindow.=.doc |
9d5c0 | 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 63 75 72 72 65 6e 74 57 69 6e | ument.getElementById("currentWin |
9d5e0 | 64 6f 77 22 29 3b 0a 20 20 64 69 61 6c 6f 67 2e 62 75 6e 64 6c 65 20 20 20 20 20 20 20 20 3d 20 | dow");...dialog.bundle........=. |
9d600 | 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 6f 70 65 6e 4c 6f 63 | document.getElementById("openLoc |
9d620 | 61 74 69 6f 6e 42 75 6e 64 6c 65 22 29 3b 0a 0a 20 20 69 66 20 28 22 61 72 67 75 6d 65 6e 74 73 | ationBundle");....if.("arguments |
9d640 | 22 20 69 6e 20 77 69 6e 64 6f 77 20 26 26 20 77 69 6e 64 6f 77 2e 61 72 67 75 6d 65 6e 74 73 2e | ".in.window.&&.window.arguments. |
9d660 | 6c 65 6e 67 74 68 20 3e 3d 20 31 29 0a 20 20 20 20 62 72 6f 77 73 65 72 20 3d 20 77 69 6e 64 6f | length.>=.1).....browser.=.windo |
9d680 | 77 2e 61 72 67 75 6d 65 6e 74 73 5b 30 5d 3b 0a 20 20 20 0a 20 20 64 69 61 6c 6f 67 2e 6f 70 65 | w.arguments[0];.......dialog.ope |
9d6a0 | 6e 57 68 65 72 65 4c 69 73 74 2e 73 65 6c 65 63 74 65 64 49 74 65 6d 20 3d 20 64 69 61 6c 6f 67 | nWhereList.selectedItem.=.dialog |
9d6c0 | 2e 6f 70 65 6e 54 6f 70 57 69 6e 64 6f 77 3b 0a 0a 20 20 69 66 20 28 70 72 65 66 29 20 7b 0a 20 | .openTopWindow;....if.(pref).{.. |
9d6e0 | 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 76 61 72 20 75 73 65 41 75 74 6f 46 69 6c 6c 20 3d | ...try.{.......var.useAutoFill.= |
9d700 | 20 70 72 65 66 2e 67 65 74 42 6f 6f 6c 50 72 65 66 28 22 62 72 6f 77 73 65 72 2e 75 72 6c 62 61 | .pref.getBoolPref("browser.urlba |
9d720 | 72 2e 61 75 74 6f 46 69 6c 6c 22 29 3b 0a 20 20 20 20 20 20 69 66 20 28 75 73 65 41 75 74 6f 46 | r.autoFill");.......if.(useAutoF |
9d740 | 69 6c 6c 29 0a 20 20 20 20 20 20 20 20 64 69 61 6c 6f 67 2e 69 6e 70 75 74 2e 73 65 74 41 74 74 | ill).........dialog.input.setAtt |
9d760 | 72 69 62 75 74 65 28 22 63 6f 6d 70 6c 65 74 65 64 65 66 61 75 6c 74 69 6e 64 65 78 22 2c 20 22 | ribute("completedefaultindex",." |
9d780 | 74 72 75 65 22 29 3b 0a 20 20 20 20 7d 20 63 61 74 63 68 20 28 65 78 29 20 7b 7d 0a 0a 20 20 20 | true");.....}.catch.(ex).{}..... |
9d7a0 | 20 74 72 79 20 7b 0a 20 20 20 20 20 20 76 61 72 20 76 61 6c 75 65 20 3d 20 70 72 65 66 2e 67 65 | .try.{.......var.value.=.pref.ge |
9d7c0 | 74 49 6e 74 50 72 65 66 28 22 67 65 6e 65 72 61 6c 2e 6f 70 65 6e 5f 6c 6f 63 61 74 69 6f 6e 2e | tIntPref("general.open_location. |
9d7e0 | 6c 61 73 74 5f 77 69 6e 64 6f 77 5f 63 68 6f 69 63 65 22 29 3b 0a 20 20 20 20 20 20 76 61 72 20 | last_window_choice");.......var. |
9d800 | 65 6c 65 6d 65 6e 74 20 3d 20 64 69 61 6c 6f 67 2e 6f 70 65 6e 57 68 65 72 65 4c 69 73 74 2e 67 | element.=.dialog.openWhereList.g |
9d820 | 65 74 45 6c 65 6d 65 6e 74 73 42 79 41 74 74 72 69 62 75 74 65 28 22 76 61 6c 75 65 22 2c 20 76 | etElementsByAttribute("value",.v |
9d840 | 61 6c 75 65 29 5b 30 5d 3b 0a 20 20 20 20 20 20 69 66 20 28 65 6c 65 6d 65 6e 74 29 0a 20 20 20 | alue)[0];.......if.(element).... |
9d860 | 20 20 20 20 20 64 69 61 6c 6f 67 2e 6f 70 65 6e 57 68 65 72 65 4c 69 73 74 2e 73 65 6c 65 63 74 | .....dialog.openWhereList.select |
9d880 | 65 64 49 74 65 6d 20 3d 20 65 6c 65 6d 65 6e 74 3b 0a 20 20 20 20 20 20 64 69 61 6c 6f 67 2e 69 | edItem.=.element;.......dialog.i |
9d8a0 | 6e 70 75 74 2e 76 61 6c 75 65 20 3d 20 70 72 65 66 2e 67 65 74 43 6f 6d 70 6c 65 78 56 61 6c 75 | nput.value.=.pref.getComplexValu |
9d8c0 | 65 28 22 67 65 6e 65 72 61 6c 2e 6f 70 65 6e 5f 6c 6f 63 61 74 69 6f 6e 2e 6c 61 73 74 5f 75 72 | e("general.open_location.last_ur |
9d8e0 | 6c 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | l",............................. |
9d900 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 | ....................Components.i |
9d920 | 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 53 75 70 70 6f 72 74 73 53 74 72 69 6e 67 29 2e 64 61 74 | nterfaces.nsISupportsString).dat |
9d940 | 61 3b 0a 20 20 20 20 7d 0a 20 20 20 20 63 61 74 63 68 28 65 78 29 20 7b 0a 20 20 20 20 7d 0a 20 | a;.....}.....catch(ex).{.....}.. |
9d960 | 20 20 20 69 66 20 28 64 69 61 6c 6f 67 2e 69 6e 70 75 74 2e 76 61 6c 75 65 29 0a 20 20 20 20 20 | ...if.(dialog.input.value)...... |
9d980 | 20 64 69 61 6c 6f 67 2e 69 6e 70 75 74 2e 73 65 6c 65 63 74 28 29 3b 20 2f 2f 20 58 58 58 20 73 | .dialog.input.select();.//.XXX.s |
9d9a0 | 68 6f 75 6c 64 20 70 72 6f 62 61 62 6c 79 20 62 65 20 64 6f 6e 65 20 61 75 74 6f 6d 61 74 69 63 | hould.probably.be.done.automatic |
9d9c0 | 61 6c 6c 79 0a 20 20 7d 0a 0a 20 20 64 6f 45 6e 61 62 6c 69 6e 67 28 29 3b 0a 7d 0a 0a 66 75 6e | ally...}....doEnabling();.}..fun |
9d9e0 | 63 74 69 6f 6e 20 64 6f 45 6e 61 62 6c 69 6e 67 28 29 0a 7b 0a 20 20 20 20 64 69 61 6c 6f 67 2e | ction.doEnabling().{.....dialog. |
9da00 | 6f 70 65 6e 2e 64 69 73 61 62 6c 65 64 20 3d 20 21 64 69 61 6c 6f 67 2e 69 6e 70 75 74 2e 76 61 | open.disabled.=.!dialog.input.va |
9da20 | 6c 75 65 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 6f 70 65 6e 28 29 0a 7b 0a 20 20 76 61 72 20 | lue;.}..function.open().{...var. |
9da40 | 75 72 6c 3b 0a 20 20 76 61 72 20 70 6f 73 74 44 61 74 61 20 3d 20 7b 7d 3b 0a 20 20 69 66 20 28 | url;...var.postData.=.{};...if.( |
9da60 | 62 72 6f 77 73 65 72 29 0a 20 20 20 20 75 72 6c 20 3d 20 62 72 6f 77 73 65 72 2e 67 65 74 53 68 | browser).....url.=.browser.getSh |
9da80 | 6f 72 74 63 75 74 4f 72 55 52 49 28 64 69 61 6c 6f 67 2e 69 6e 70 75 74 2e 76 61 6c 75 65 2c 20 | ortcutOrURI(dialog.input.value,. |
9daa0 | 70 6f 73 74 44 61 74 61 29 3b 0a 20 20 65 6c 73 65 0a 20 20 20 20 75 72 6c 20 3d 20 64 69 61 6c | postData);...else.....url.=.dial |
9dac0 | 6f 67 2e 69 6e 70 75 74 2e 76 61 6c 75 65 3b 0a 0a 20 20 74 72 79 20 7b 0a 20 20 20 20 2f 2f 20 | og.input.value;....try.{.....//. |
9dae0 | 57 68 69 63 68 65 76 65 72 20 74 61 72 67 65 74 20 77 65 20 75 73 65 20 66 6f 72 20 74 68 65 20 | Whichever.target.we.use.for.the. |
9db00 | 6c 6f 61 64 2c 20 77 65 20 61 6c 6c 6f 77 20 74 68 69 72 64 2d 70 61 72 74 79 20 73 65 72 76 69 | load,.we.allow.third-party.servi |
9db20 | 63 65 73 20 74 6f 0a 20 20 20 20 2f 2f 20 66 69 78 75 70 20 74 68 65 20 55 52 49 0a 20 20 20 20 | ces.to.....//.fixup.the.URI..... |
9db40 | 73 77 69 74 63 68 20 28 64 69 61 6c 6f 67 2e 6f 70 65 6e 57 68 65 72 65 4c 69 73 74 2e 76 61 6c | switch.(dialog.openWhereList.val |
9db60 | 75 65 29 20 7b 0a 20 20 20 20 20 20 63 61 73 65 20 22 30 22 3a 0a 20 20 20 20 20 20 20 20 62 72 | ue).{.......case."0":.........br |
9db80 | 6f 77 73 65 72 2e 6c 6f 61 64 55 52 49 28 75 72 6c 2c 20 6e 75 6c 6c 2c 20 70 6f 73 74 44 61 74 | owser.loadURI(url,.null,.postDat |
9dba0 | 61 2e 76 61 6c 75 65 2c 20 74 72 75 65 29 3b 0a 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 | a.value,.true);.........break;.. |
9dbc0 | 20 20 20 20 20 63 61 73 65 20 22 31 22 3a 0a 20 20 20 20 20 20 20 20 77 69 6e 64 6f 77 2e 6f 70 | .....case."1":.........window.op |
9dbe0 | 65 6e 65 72 2e 64 65 6c 61 79 65 64 4f 70 65 6e 57 69 6e 64 6f 77 28 67 65 74 42 72 6f 77 73 65 | ener.delayedOpenWindow(getBrowse |
9dc00 | 72 55 52 4c 28 29 2c 20 22 61 6c 6c 2c 64 69 61 6c 6f 67 3d 6e 6f 22 2c 0a 20 20 20 20 20 20 20 | rURL(),."all,dialog=no",........ |
9dc20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
9dc40 | 20 75 72 6c 2c 20 70 6f 73 74 44 61 74 61 2e 76 61 6c 75 65 2c 20 6e 75 6c 6c 2c 20 6e 75 6c 6c | .url,.postData.value,.null,.null |
9dc60 | 2c 20 74 72 75 65 29 3b 0a 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 63 61 | ,.true);.........break;.......ca |
9dc80 | 73 65 20 22 33 22 3a 0a 20 20 20 20 20 20 20 20 62 72 6f 77 73 65 72 2e 64 65 6c 61 79 65 64 4f | se."3":.........browser.delayedO |
9dca0 | 70 65 6e 54 61 62 28 75 72 6c 2c 20 6e 75 6c 6c 2c 20 6e 75 6c 6c 2c 20 70 6f 73 74 44 61 74 61 | penTab(url,.null,.null,.postData |
9dcc0 | 2e 76 61 6c 75 65 2c 20 74 72 75 65 29 3b 0a 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 | .value,.true);.........break;... |
9dce0 | 20 20 7d 0a 20 20 7d 0a 20 20 63 61 74 63 68 28 65 78 63 65 70 74 69 6f 6e 29 20 7b 0a 20 20 7d | ..}...}...catch(exception).{...} |
9dd00 | 0a 0a 20 20 69 66 20 28 70 72 65 66 29 20 7b 0a 20 20 20 20 76 61 72 20 73 74 72 20 3d 20 43 6f | ....if.(pref).{.....var.str.=.Co |
9dd20 | 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 73 | mponents.classes["@mozilla.org/s |
9dd40 | 75 70 70 6f 72 74 73 2d 73 74 72 69 6e 67 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | upports-string;1"].............. |
9dd60 | 20 20 20 20 20 20 20 20 20 20 20 2e 63 72 65 61 74 65 49 6e 73 74 61 6e 63 65 28 43 6f 6d 70 6f | ............createInstance(Compo |
9dd80 | 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 53 75 70 70 6f 72 74 73 53 74 72 69 | nents.interfaces.nsISupportsStri |
9dda0 | 6e 67 29 3b 0a 20 20 20 20 73 74 72 2e 64 61 74 61 20 3d 20 64 69 61 6c 6f 67 2e 69 6e 70 75 74 | ng);.....str.data.=.dialog.input |
9ddc0 | 2e 76 61 6c 75 65 3b 0a 20 20 20 20 70 72 65 66 2e 73 65 74 43 6f 6d 70 6c 65 78 56 61 6c 75 65 | .value;.....pref.setComplexValue |
9dde0 | 28 22 67 65 6e 65 72 61 6c 2e 6f 70 65 6e 5f 6c 6f 63 61 74 69 6f 6e 2e 6c 61 73 74 5f 75 72 6c | ("general.open_location.last_url |
9de00 | 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 43 6f 6d 70 | ",..........................Comp |
9de20 | 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 53 75 70 70 6f 72 74 73 53 74 72 | onents.interfaces.nsISupportsStr |
9de40 | 69 6e 67 2c 20 73 74 72 29 3b 0a 20 20 20 20 70 72 65 66 2e 73 65 74 49 6e 74 50 72 65 66 28 22 | ing,.str);.....pref.setIntPref(" |
9de60 | 67 65 6e 65 72 61 6c 2e 6f 70 65 6e 5f 6c 6f 63 61 74 69 6f 6e 2e 6c 61 73 74 5f 77 69 6e 64 6f | general.open_location.last_windo |
9de80 | 77 5f 63 68 6f 69 63 65 22 2c 20 64 69 61 6c 6f 67 2e 6f 70 65 6e 57 68 65 72 65 4c 69 73 74 2e | w_choice",.dialog.openWhereList. |
9dea0 | 76 61 6c 75 65 29 3b 0a 20 20 7d 0a 0a 20 20 2f 2f 20 44 65 6c 61 79 20 63 6c 6f 73 69 6e 67 20 | value);...}....//.Delay.closing. |
9dec0 | 73 6c 69 67 68 74 6c 79 20 74 6f 20 61 76 6f 69 64 20 74 69 6d 69 6e 67 20 62 75 67 20 6f 6e 20 | slightly.to.avoid.timing.bug.on. |
9dee0 | 4c 69 6e 75 78 2e 0a 20 20 77 69 6e 64 6f 77 2e 63 6c 6f 73 65 28 29 3b 0a 20 20 72 65 74 75 72 | Linux....window.close();...retur |
9df00 | 6e 20 66 61 6c 73 65 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 63 72 65 61 74 65 49 6e 73 74 61 | n.false;.}..function.createInsta |
9df20 | 6e 63 65 28 63 6f 6e 74 72 61 63 74 69 64 2c 20 69 69 64 4e 61 6d 65 29 0a 7b 0a 20 20 76 61 72 | nce(contractid,.iidName).{...var |
9df40 | 20 69 69 64 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 5b 69 69 64 | .iid.=.Components.interfaces[iid |
9df60 | 4e 61 6d 65 5d 3b 0a 20 20 72 65 74 75 72 6e 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 | Name];...return.Components.class |
9df80 | 65 73 5b 63 6f 6e 74 72 61 63 74 69 64 5d 2e 63 72 65 61 74 65 49 6e 73 74 61 6e 63 65 28 69 69 | es[contractid].createInstance(ii |
9dfa0 | 64 29 3b 0a 7d 0a 0a 63 6f 6e 73 74 20 6e 73 49 46 69 6c 65 50 69 63 6b 65 72 20 3d 20 43 6f 6d | d);.}..const.nsIFilePicker.=.Com |
9dfc0 | 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 46 69 6c 65 50 69 63 6b 65 72 | ponents.interfaces.nsIFilePicker |
9dfe0 | 3b 0a 66 75 6e 63 74 69 6f 6e 20 6f 6e 43 68 6f 6f 73 65 46 69 6c 65 28 29 0a 7b 0a 20 20 74 72 | ;.function.onChooseFile().{...tr |
9e000 | 79 20 7b 0a 20 20 20 20 76 61 72 20 66 70 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 | y.{.....var.fp.=.Components.clas |
9e020 | 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 66 69 6c 65 70 69 63 6b 65 72 3b 31 22 5d | ses["@mozilla.org/filepicker;1"] |
9e040 | 2e 63 72 65 61 74 65 49 6e 73 74 61 6e 63 65 28 6e 73 49 46 69 6c 65 50 69 63 6b 65 72 29 3b 0a | .createInstance(nsIFilePicker);. |
9e060 | 20 20 20 20 66 70 2e 69 6e 69 74 28 77 69 6e 64 6f 77 2c 20 64 69 61 6c 6f 67 2e 62 75 6e 64 6c | ....fp.init(window,.dialog.bundl |
9e080 | 65 2e 67 65 74 53 74 72 69 6e 67 28 22 63 68 6f 6f 73 65 46 69 6c 65 44 69 61 6c 6f 67 54 69 74 | e.getString("chooseFileDialogTit |
9e0a0 | 6c 65 22 29 2c 20 6e 73 49 46 69 6c 65 50 69 63 6b 65 72 2e 6d 6f 64 65 4f 70 65 6e 29 3b 0a 20 | le"),.nsIFilePicker.modeOpen);.. |
9e0c0 | 20 20 20 66 70 2e 61 70 70 65 6e 64 46 69 6c 74 65 72 73 28 6e 73 49 46 69 6c 65 50 69 63 6b 65 | ...fp.appendFilters(nsIFilePicke |
9e0e0 | 72 2e 66 69 6c 74 65 72 48 54 4d 4c 20 7c 20 6e 73 49 46 69 6c 65 50 69 63 6b 65 72 2e 66 69 6c | r.filterHTML.|.nsIFilePicker.fil |
9e100 | 74 65 72 54 65 78 74 20 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e | terText.|......................n |
9e120 | 73 49 46 69 6c 65 50 69 63 6b 65 72 2e 66 69 6c 74 65 72 41 6c 6c 20 7c 20 6e 73 49 46 69 6c 65 | sIFilePicker.filterAll.|.nsIFile |
9e140 | 50 69 63 6b 65 72 2e 66 69 6c 74 65 72 49 6d 61 67 65 73 20 7c 20 6e 73 49 46 69 6c 65 50 69 63 | Picker.filterImages.|.nsIFilePic |
9e160 | 6b 65 72 2e 66 69 6c 74 65 72 58 4d 4c 29 3b 0a 0a 20 20 20 20 69 66 20 28 66 70 2e 73 68 6f 77 | ker.filterXML);......if.(fp.show |
9e180 | 28 29 20 3d 3d 20 6e 73 49 46 69 6c 65 50 69 63 6b 65 72 2e 72 65 74 75 72 6e 4f 4b 20 26 26 20 | ().==.nsIFilePicker.returnOK.&&. |
9e1a0 | 66 70 2e 66 69 6c 65 55 52 4c 2e 73 70 65 63 20 26 26 20 66 70 2e 66 69 6c 65 55 52 4c 2e 73 70 | fp.fileURL.spec.&&.fp.fileURL.sp |
9e1c0 | 65 63 2e 6c 65 6e 67 74 68 20 3e 20 30 29 0a 20 20 20 20 20 20 64 69 61 6c 6f 67 2e 69 6e 70 75 | ec.length.>.0).......dialog.inpu |
9e1e0 | 74 2e 76 61 6c 75 65 20 3d 20 66 70 2e 66 69 6c 65 55 52 4c 2e 73 70 65 63 3b 0a 20 20 7d 0a 20 | t.value.=.fp.fileURL.spec;...}.. |
9e200 | 20 63 61 74 63 68 28 65 78 29 20 7b 0a 20 20 7d 0a 20 20 64 6f 45 6e 61 62 6c 69 6e 67 28 29 3b | .catch(ex).{...}...doEnabling(); |
9e220 | 0a 7d 0a 50 4b 03 04 14 00 00 00 00 00 f2 4b 18 3b 36 f0 96 8e 85 07 00 00 85 07 00 00 20 00 00 | .}.PK.........K.;6.............. |
9e240 | 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 6f 70 65 6e 4c 6f 63 61 74 69 6f 6e 2e 78 75 | .content/browser/openLocation.xu |
9e260 | 6c 3c 3f 78 6d 6c 20 76 65 72 73 69 6f 6e 3d 22 31 2e 30 22 3f 3e 20 0a 0a 3c 3f 78 6d 6c 2d 73 | l<?xml.version="1.0"?>...<?xml-s |
9e280 | 74 79 6c 65 73 68 65 65 74 20 68 72 65 66 3d 22 63 68 72 6f 6d 65 3a 2f 2f 67 6c 6f 62 61 6c 2f | tylesheet.href="chrome://global/ |
9e2a0 | 73 6b 69 6e 2f 22 20 74 79 70 65 3d 22 74 65 78 74 2f 63 73 73 22 3f 3e 0a 0a 3c 21 44 4f 43 54 | skin/".type="text/css"?>..<!DOCT |
9e2c0 | 59 50 45 20 64 69 61 6c 6f 67 20 53 59 53 54 45 4d 20 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 | YPE.dialog.SYSTEM."chrome://brow |
9e2e0 | 73 65 72 2f 6c 6f 63 61 6c 65 2f 6f 70 65 6e 4c 6f 63 61 74 69 6f 6e 2e 64 74 64 22 3e 0a 20 0a | ser/locale/openLocation.dtd">... |
9e300 | 3c 64 69 61 6c 6f 67 20 69 64 3d 22 6f 70 65 6e 4c 6f 63 61 74 69 6f 6e 22 0a 20 20 20 20 20 20 | <dialog.id="openLocation"....... |
9e320 | 20 20 78 6d 6c 6e 73 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f | ..xmlns="http://www.mozilla.org/ |
9e340 | 6b 65 79 6d 61 73 74 65 72 2f 67 61 74 65 6b 65 65 70 65 72 2f 74 68 65 72 65 2e 69 73 2e 6f 6e | keymaster/gatekeeper/there.is.on |
9e360 | 6c 79 2e 78 75 6c 22 0a 20 20 20 20 20 20 20 20 74 69 74 6c 65 3d 22 26 63 61 70 74 69 6f 6e 2e | ly.xul".........title="&caption. |
9e380 | 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 6f 6e 6c 6f 61 64 3d 22 6f 6e 4c 6f 61 64 28 29 | label;".........onload="onLoad() |
9e3a0 | 22 0a 20 20 20 20 20 20 20 20 62 75 74 74 6f 6e 6c 61 62 65 6c 61 63 63 65 70 74 3d 22 26 6f 70 | ".........buttonlabelaccept="&op |
9e3c0 | 65 6e 42 74 6e 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 62 75 74 74 6f 6e 69 63 6f 6e | enBtn.label;".........buttonicon |
9e3e0 | 61 63 63 65 70 74 3d 22 6f 70 65 6e 22 0a 20 20 20 20 20 20 20 20 6f 6e 64 69 61 6c 6f 67 61 63 | accept="open".........ondialogac |
9e400 | 63 65 70 74 3d 22 6f 70 65 6e 28 29 22 0a 20 20 20 20 20 20 20 20 73 74 79 6c 65 3d 22 77 69 64 | cept="open()".........style="wid |
9e420 | 74 68 3a 20 34 30 65 6d 3b 22 0a 20 20 20 20 20 20 20 20 70 65 72 73 69 73 74 3d 22 73 63 72 65 | th:.40em;".........persist="scre |
9e440 | 65 6e 58 20 73 63 72 65 65 6e 59 22 0a 20 20 20 20 20 20 20 20 73 63 72 65 65 6e 58 3d 22 32 34 | enX.screenY".........screenX="24 |
9e460 | 22 20 73 63 72 65 65 6e 59 3d 22 32 34 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0a 20 | ".screenY="24">................. |
9e480 | 20 3c 73 63 72 69 70 74 20 74 79 70 65 3d 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f 78 2d 6a 61 76 | .<script.type="application/x-jav |
9e4a0 | 61 73 63 72 69 70 74 22 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 67 6c 6f 62 61 6c 2f 63 6f | ascript".src="chrome://global/co |
9e4c0 | 6e 74 65 6e 74 2f 67 6c 6f 62 61 6c 4f 76 65 72 6c 61 79 2e 6a 73 22 2f 3e 20 0a 20 20 3c 73 63 | ntent/globalOverlay.js"/>....<sc |
9e4e0 | 72 69 70 74 20 74 79 70 65 3d 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f 78 2d 6a 61 76 61 73 63 72 | ript.type="application/x-javascr |
9e500 | 69 70 74 22 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 | ipt".src="chrome://browser/conte |
9e520 | 6e 74 2f 6f 70 65 6e 4c 6f 63 61 74 69 6f 6e 2e 6a 73 22 2f 3e 0a 20 20 3c 73 63 72 69 70 74 20 | nt/openLocation.js"/>...<script. |
9e540 | 74 79 70 65 3d 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f 78 2d 6a 61 76 61 73 63 72 69 70 74 22 20 | type="application/x-javascript". |
9e560 | 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 75 74 | src="chrome://browser/content/ut |
9e580 | 69 6c 69 74 79 4f 76 65 72 6c 61 79 2e 6a 73 22 2f 3e 0a 20 20 0a 20 20 3c 73 74 72 69 6e 67 62 | ilityOverlay.js"/>......<stringb |
9e5a0 | 75 6e 64 6c 65 20 69 64 3d 22 6f 70 65 6e 4c 6f 63 61 74 69 6f 6e 42 75 6e 64 6c 65 22 20 73 72 | undle.id="openLocationBundle".sr |
9e5c0 | 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 6c 6f 63 61 6c 65 2f 6f 70 65 6e 4c | c="chrome://browser/locale/openL |
9e5e0 | 6f 63 61 74 69 6f 6e 2e 70 72 6f 70 65 72 74 69 65 73 22 2f 3e 0a 0a 20 20 3c 68 62 6f 78 3e 0a | ocation.properties"/>....<hbox>. |
9e600 | 20 20 20 20 3c 73 65 70 61 72 61 74 6f 72 20 6f 72 69 65 6e 74 3d 22 76 65 72 74 69 63 61 6c 22 | ....<separator.orient="vertical" |
9e620 | 20 63 6c 61 73 73 3d 22 74 68 69 6e 22 2f 3e 0a 20 20 20 20 3c 76 62 6f 78 20 66 6c 65 78 3d 22 | .class="thin"/>.....<vbox.flex=" |
9e640 | 31 22 3e 0a 20 20 20 20 20 20 3c 64 65 73 63 72 69 70 74 69 6f 6e 3e 26 65 6e 74 65 72 2e 6c 61 | 1">.......<description>&enter.la |
9e660 | 62 65 6c 3b 3c 2f 64 65 73 63 72 69 70 74 69 6f 6e 3e 0a 20 20 20 20 20 20 3c 73 65 70 61 72 61 | bel;</description>.......<separa |
9e680 | 74 6f 72 20 63 6c 61 73 73 3d 22 74 68 69 6e 22 2f 3e 0a 0a 20 20 20 20 20 20 3c 68 62 6f 78 20 | tor.class="thin"/>........<hbox. |
9e6a0 | 61 6c 69 67 6e 3d 22 63 65 6e 74 65 72 22 3e 0a 20 20 20 20 20 20 20 20 3c 74 65 78 74 62 6f 78 | align="center">.........<textbox |
9e6c0 | 20 69 64 3d 22 64 69 61 6c 6f 67 2e 69 6e 70 75 74 22 20 66 6c 65 78 3d 22 31 22 20 74 79 70 65 | .id="dialog.input".flex="1".type |
9e6e0 | 3d 22 61 75 74 6f 63 6f 6d 70 6c 65 74 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ="autocomplete"................. |
9e700 | 20 20 63 6f 6d 70 6c 65 74 65 73 65 6c 65 63 74 65 64 69 6e 64 65 78 3d 22 74 72 75 65 22 0a 20 | ..completeselectedindex="true".. |
9e720 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 75 74 6f 63 6f 6d 70 6c 65 74 65 73 65 61 | .................autocompletesea |
9e740 | 72 63 68 3d 22 68 69 73 74 6f 72 79 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | rch="history"................... |
9e760 | 65 6e 61 62 6c 65 68 69 73 74 6f 72 79 3d 22 74 72 75 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 | enablehistory="true"............ |
9e780 | 20 20 20 20 20 20 20 63 6c 61 73 73 3d 22 75 72 69 2d 65 6c 65 6d 65 6e 74 22 0a 20 20 20 20 20 | .......class="uri-element"...... |
9e7a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 69 6e 70 75 74 3d 22 64 6f 45 6e 61 62 6c 69 6e 67 | .............oninput="doEnabling |
9e7c0 | 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 75 74 74 6f 6e 20 6c 61 62 65 6c 3d 22 26 63 | ();"/>.........<button.label="&c |
9e7e0 | 68 6f 6f 73 65 46 69 6c 65 2e 6c 61 62 65 6c 3b 22 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 6f 6e 43 | hooseFile.label;".oncommand="onC |
9e800 | 68 6f 6f 73 65 46 69 6c 65 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 2f 68 62 6f 78 3e 0a 20 20 | hooseFile();"/>.......</hbox>... |
9e820 | 20 20 20 20 3c 68 62 6f 78 20 61 6c 69 67 6e 3d 22 63 65 6e 74 65 72 22 3e 0a 20 20 20 20 20 20 | ....<hbox.align="center">....... |
9e840 | 20 20 3c 6c 61 62 65 6c 20 76 61 6c 75 65 3d 22 26 6f 70 65 6e 57 68 65 72 65 2e 6c 61 62 65 6c | ..<label.value="&openWhere.label |
9e860 | 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 6c 69 73 74 20 69 64 3d 22 6f 70 65 6e 57 | ;"/>.........<menulist.id="openW |
9e880 | 68 65 72 65 4c 69 73 74 22 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 70 6f 70 75 70 3e | hereList">...........<menupopup> |
9e8a0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 30 22 | .............<menuitem.value="0" |
9e8c0 | 20 69 64 3d 22 63 75 72 72 65 6e 74 57 69 6e 64 6f 77 22 20 6c 61 62 65 6c 3d 22 26 74 6f 70 57 | .id="currentWindow".label="&topW |
9e8e0 | 69 6e 64 6f 77 2e 6c 61 62 65 6c 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e | indow.label;"/>.............<men |
9e900 | 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 31 22 20 6c 61 62 65 6c 3d 22 26 6e 65 77 57 69 6e 64 6f | uitem.value="1".label="&newWindo |
9e920 | 77 2e 6c 61 62 65 6c 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 | w.label;"/>.............<menuite |
9e940 | 6d 20 76 61 6c 75 65 3d 22 33 22 20 6c 61 62 65 6c 3d 22 26 6e 65 77 54 61 62 2e 6c 61 62 65 6c | m.value="3".label="&newTab.label |
9e960 | 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 2f 6d 65 6e 75 70 6f 70 75 70 3e 0a 20 20 20 20 | ;"/>...........</menupopup>..... |
9e980 | 20 20 20 20 3c 2f 6d 65 6e 75 6c 69 73 74 3e 0a 20 20 20 20 20 20 20 20 3c 73 70 61 63 65 72 20 | ....</menulist>.........<spacer. |
9e9a0 | 66 6c 65 78 3d 22 31 22 2f 3e 0a 20 20 20 20 20 20 3c 2f 68 62 6f 78 3e 0a 20 20 20 20 3c 2f 76 | flex="1"/>.......</hbox>.....</v |
9e9c0 | 62 6f 78 3e 0a 20 20 3c 2f 68 62 6f 78 3e 20 0a 20 20 20 20 20 20 20 20 20 20 20 0a 3c 2f 64 69 | box>...</hbox>..............</di |
9e9e0 | 61 6c 6f 67 3e 0a 50 4b 03 04 14 00 00 00 00 00 f2 4b 18 3b 23 56 08 5e 9c 04 00 00 9c 04 00 00 | alog>.PK.........K.;#V.^........ |
9ea00 | 27 00 00 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 61 67 65 52 65 70 6f 72 74 46 69 | '...content/browser/pageReportFi |
9ea20 | 72 73 74 54 69 6d 65 2e 78 75 6c 3c 3f 78 6d 6c 20 76 65 72 73 69 6f 6e 3d 22 31 2e 30 22 3f 3e | rstTime.xul<?xml.version="1.0"?> |
9ea40 | 20 0a 0a 3c 3f 78 6d 6c 2d 73 74 79 6c 65 73 68 65 65 74 20 68 72 65 66 3d 22 63 68 72 6f 6d 65 | ...<?xml-stylesheet.href="chrome |
9ea60 | 3a 2f 2f 62 72 6f 77 73 65 72 2f 73 6b 69 6e 2f 22 20 74 79 70 65 3d 22 74 65 78 74 2f 63 73 73 | ://browser/skin/".type="text/css |
9ea80 | 22 3f 3e 0a 0a 3c 21 44 4f 43 54 59 50 45 20 64 69 61 6c 6f 67 20 5b 0a 20 20 3c 21 45 4e 54 49 | "?>..<!DOCTYPE.dialog.[...<!ENTI |
9eaa0 | 54 59 20 25 20 62 72 61 6e 64 44 54 44 20 53 59 53 54 45 4d 20 22 63 68 72 6f 6d 65 3a 2f 2f 62 | TY.%.brandDTD.SYSTEM."chrome://b |
9eac0 | 72 61 6e 64 69 6e 67 2f 6c 6f 63 61 6c 65 2f 62 72 61 6e 64 2e 64 74 64 22 20 3e 0a 20 20 25 62 | randing/locale/brand.dtd".>...%b |
9eae0 | 72 61 6e 64 44 54 44 3b 0a 20 20 3c 21 45 4e 54 49 54 59 20 25 20 70 61 67 65 52 65 70 6f 72 74 | randDTD;...<!ENTITY.%.pageReport |
9eb00 | 46 69 72 73 74 54 69 6d 65 44 54 44 20 53 59 53 54 45 4d 20 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 | FirstTimeDTD.SYSTEM."chrome://br |
9eb20 | 6f 77 73 65 72 2f 6c 6f 63 61 6c 65 2f 70 61 67 65 52 65 70 6f 72 74 46 69 72 73 74 54 69 6d 65 | owser/locale/pageReportFirstTime |
9eb40 | 2e 64 74 64 22 20 3e 0a 20 20 25 70 61 67 65 52 65 70 6f 72 74 46 69 72 73 74 54 69 6d 65 44 54 | .dtd".>...%pageReportFirstTimeDT |
9eb60 | 44 3b 0a 5d 3e 20 20 20 20 20 20 20 20 20 20 20 20 0a 20 0a 3c 64 69 61 6c 6f 67 20 69 64 3d 22 | D;.]>...............<dialog.id=" |
9eb80 | 70 61 67 65 52 65 70 6f 72 74 46 69 72 73 74 54 69 6d 65 22 0a 20 20 20 20 20 20 20 20 78 6d 6c | pageReportFirstTime".........xml |
9eba0 | 6e 73 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6b 65 79 6d 61 | ns="http://www.mozilla.org/keyma |
9ebc0 | 73 74 65 72 2f 67 61 74 65 6b 65 65 70 65 72 2f 74 68 65 72 65 2e 69 73 2e 6f 6e 6c 79 2e 78 75 | ster/gatekeeper/there.is.only.xu |
9ebe0 | 6c 22 0a 20 20 20 20 20 20 20 20 74 69 74 6c 65 3d 22 26 63 61 70 74 69 6f 6e 2e 6c 61 62 65 6c | l".........title="&caption.label |
9ec00 | 3b 22 0a 20 20 20 20 20 20 20 20 6f 6e 6c 6f 61 64 3d 22 73 65 74 54 69 6d 65 6f 75 74 28 66 75 | ;".........onload="setTimeout(fu |
9ec20 | 6e 63 74 69 6f 6e 28 29 20 7b 20 77 69 6e 64 6f 77 2e 73 69 7a 65 54 6f 43 6f 6e 74 65 6e 74 28 | nction().{.window.sizeToContent( |
9ec40 | 29 3b 20 7d 2c 20 31 30 30 29 3b 22 0a 20 20 20 20 20 20 20 20 73 74 79 6c 65 3d 22 77 69 64 74 | );.},.100);".........style="widt |
9ec60 | 68 3a 20 34 30 65 6d 3b 22 0a 20 20 20 20 20 20 20 20 62 75 74 74 6f 6e 73 3d 22 61 63 63 65 70 | h:.40em;".........buttons="accep |
9ec80 | 74 22 0a 20 20 20 20 20 20 20 20 70 65 72 73 69 73 74 3d 22 73 63 72 65 65 6e 58 20 73 63 72 65 | t".........persist="screenX.scre |
9eca0 | 65 6e 59 22 0a 20 20 20 20 20 20 20 20 73 63 72 65 65 6e 58 3d 22 32 34 22 20 73 63 72 65 65 6e | enY".........screenX="24".screen |
9ecc0 | 59 3d 22 32 34 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0a 20 20 3c 64 65 73 63 72 69 | Y="24">..................<descri |
9ece0 | 70 74 69 6f 6e 3e 0a 20 20 20 20 26 73 74 61 72 74 44 65 73 63 72 69 70 74 69 6f 6e 2e 6c 61 62 | ption>.....&startDescription.lab |
9ed00 | 65 6c 3b 0a 20 20 3c 2f 64 65 73 63 72 69 70 74 69 6f 6e 3e 0a 0a 20 20 3c 73 65 70 61 72 61 74 | el;...</description>....<separat |
9ed20 | 6f 72 20 63 6c 61 73 73 3d 22 74 68 69 6e 22 2f 3e 0a 0a 20 20 3c 68 62 6f 78 20 70 61 63 6b 3d | or.class="thin"/>....<hbox.pack= |
9ed40 | 22 63 65 6e 74 65 72 22 3e 0a 20 20 20 20 3c 73 74 61 74 75 73 62 61 72 20 73 74 79 6c 65 3d 22 | "center">.....<statusbar.style=" |
9ed60 | 77 69 64 74 68 3a 32 30 65 6d 22 3e 0a 20 20 20 20 20 20 3c 73 74 61 74 75 73 62 61 72 70 61 6e | width:20em">.......<statusbarpan |
9ed80 | 65 6c 20 66 6c 65 78 3d 22 31 22 20 70 61 63 6b 3d 22 6c 65 66 74 22 3e 3c 64 65 73 63 72 69 70 | el.flex="1".pack="left"><descrip |
9eda0 | 74 69 6f 6e 3e 26 64 6f 6e 65 2e 6c 61 62 65 6c 3b 3c 2f 64 65 73 63 72 69 70 74 69 6f 6e 3e 3c | tion>&done.label;</description>< |
9edc0 | 2f 73 74 61 74 75 73 62 61 72 70 61 6e 65 6c 3e 0a 20 20 20 20 20 20 3c 73 74 61 74 75 73 62 61 | /statusbarpanel>.......<statusba |
9ede0 | 72 70 61 6e 65 6c 20 63 6c 61 73 73 3d 22 73 74 61 74 75 73 62 61 72 70 61 6e 65 6c 2d 69 63 6f | rpanel.class="statusbarpanel-ico |
9ee00 | 6e 69 63 22 20 73 74 79 6c 65 3d 22 6d 69 6e 2d 68 65 69 67 68 74 3a 31 38 70 78 22 20 69 64 3d | nic".style="min-height:18px".id= |
9ee20 | 22 70 61 67 65 2d 72 65 70 6f 72 74 2d 62 75 74 74 6f 6e 22 20 62 6c 6f 63 6b 65 64 3d 22 74 72 | "page-report-button".blocked="tr |
9ee40 | 75 65 22 2f 3e 0a 20 20 20 20 3c 2f 73 74 61 74 75 73 62 61 72 3e 0a 20 20 3c 2f 68 62 6f 78 3e | ue"/>.....</statusbar>...</hbox> |
9ee60 | 0a 0a 20 20 3c 73 65 70 61 72 61 74 6f 72 20 63 6c 61 73 73 3d 22 74 68 69 6e 22 2f 3e 0a 0a 20 | ....<separator.class="thin"/>... |
9ee80 | 20 3c 64 65 73 63 72 69 70 74 69 6f 6e 3e 0a 20 20 20 20 26 65 6e 64 44 65 73 63 72 69 70 74 69 | .<description>.....&endDescripti |
9eea0 | 6f 6e 2e 6c 61 62 65 6c 3b 0a 20 20 3c 2f 64 65 73 63 72 69 70 74 69 6f 6e 3e 0a 0a 20 3c 2f 64 | on.label;...</description>...</d |
9eec0 | 69 61 6c 6f 67 3e 0a 50 4b 03 04 14 00 00 00 00 00 f2 4b 18 3b 1f 42 b8 0a d1 10 00 00 d1 10 00 | ialog>.PK.........K.;.B......... |
9eee0 | 00 1b 00 00 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 73 61 66 65 4d 6f 64 65 2e 6a 73 | .....content/browser/safeMode.js |
9ef00 | 2f 2f 40 6c 69 6e 65 20 33 39 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c | //@line.39."/builds/moz2_slave/l |
9ef20 | 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 62 61 73 65 2f 63 6f | inux_build/build/browser/base/co |
9ef40 | 6e 74 65 6e 74 2f 73 61 66 65 4d 6f 64 65 2e 6a 73 22 0a 0a 66 75 6e 63 74 69 6f 6e 20 72 65 73 | ntent/safeMode.js"..function.res |
9ef60 | 74 61 72 74 41 70 70 28 29 20 7b 0a 20 20 76 61 72 20 61 70 70 53 74 61 72 74 75 70 20 3d 20 43 | tartApp().{...var.appStartup.=.C |
9ef80 | 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f | omponents.classes["@mozilla.org/ |
9efa0 | 74 6f 6f 6c 6b 69 74 2f 61 70 70 2d 73 74 61 72 74 75 70 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 | toolkit/app-startup;1"]......... |
9efc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 | ......................getService |
9efe0 | 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 41 70 70 53 74 61 | (Components.interfaces.nsIAppSta |
9f000 | 72 74 75 70 29 3b 0a 20 20 61 70 70 53 74 61 72 74 75 70 2e 71 75 69 74 28 61 70 70 53 74 61 72 | rtup);...appStartup.quit(appStar |
9f020 | 74 75 70 2e 65 46 6f 72 63 65 51 75 69 74 20 7c 20 61 70 70 53 74 61 72 74 75 70 2e 65 52 65 73 | tup.eForceQuit.|.appStartup.eRes |
9f040 | 74 61 72 74 29 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 63 6c 65 61 72 41 6c 6c 50 72 65 66 73 | tart);.}..function.clearAllPrefs |
9f060 | 28 29 20 7b 0a 20 20 76 61 72 20 70 72 65 66 53 65 72 76 69 63 65 20 3d 20 43 6f 6d 70 6f 6e 65 | ().{...var.prefService.=.Compone |
9f080 | 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 70 72 65 66 65 72 | nts.classes["@mozilla.org/prefer |
9f0a0 | 65 6e 63 65 73 2d 73 65 72 76 69 63 65 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ences-service;1"]............... |
9f0c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 | .................getService(Comp |
9f0e0 | 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 50 72 65 66 53 65 72 76 69 63 65 | onents.interfaces.nsIPrefService |
9f100 | 29 3b 0a 20 20 70 72 65 66 53 65 72 76 69 63 65 2e 72 65 73 65 74 55 73 65 72 50 72 65 66 73 28 | );...prefService.resetUserPrefs( |
9f120 | 29 3b 0a 0a 20 20 2f 2f 20 52 65 6d 6f 76 65 20 74 68 65 20 70 72 65 66 2d 6f 76 65 72 72 69 64 | );....//.Remove.the.pref-overrid |
9f140 | 65 73 20 64 69 72 2c 20 69 66 20 69 74 20 65 78 69 73 74 73 0a 20 20 74 72 79 20 7b 0a 20 20 20 | es.dir,.if.it.exists...try.{.... |
9f160 | 20 76 61 72 20 66 69 6c 65 4c 6f 63 61 74 6f 72 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c | .var.fileLocator.=.Components.cl |
9f180 | 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 66 69 6c 65 2f 64 69 72 65 63 74 6f | asses["@mozilla.org/file/directo |
9f1a0 | 72 79 5f 73 65 72 76 69 63 65 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ry_service;1"].................. |
9f1c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f | ................getService(Compo |
9f1e0 | 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 50 72 6f 70 65 72 74 69 65 73 29 3b | nents.interfaces.nsIProperties); |
9f200 | 0a 20 20 20 20 63 6f 6e 73 74 20 4e 53 5f 41 50 50 5f 50 52 45 46 53 5f 4f 56 45 52 52 49 44 45 | .....const.NS_APP_PREFS_OVERRIDE |
9f220 | 5f 44 49 52 20 3d 20 22 50 72 65 66 44 4f 76 65 72 72 69 64 65 22 3b 0a 20 20 20 20 76 61 72 20 | _DIR.=."PrefDOverride";.....var. |
9f240 | 70 72 65 66 4f 76 65 72 72 69 64 65 73 44 69 72 20 3d 20 66 69 6c 65 4c 6f 63 61 74 6f 72 2e 67 | prefOverridesDir.=.fileLocator.g |
9f260 | 65 74 28 4e 53 5f 41 50 50 5f 50 52 45 46 53 5f 4f 56 45 52 52 49 44 45 5f 44 49 52 2c 0a 20 20 | et(NS_APP_PREFS_OVERRIDE_DIR,... |
9f280 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
9f2a0 | 20 20 20 20 20 20 20 20 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e | .........Components.interfaces.n |
9f2c0 | 73 49 46 69 6c 65 29 3b 0a 20 20 20 20 70 72 65 66 4f 76 65 72 72 69 64 65 73 44 69 72 2e 72 65 | sIFile);.....prefOverridesDir.re |
9f2e0 | 6d 6f 76 65 28 74 72 75 65 29 3b 0a 20 20 7d 20 63 61 74 63 68 20 28 65 78 29 20 7b 0a 20 20 20 | move(true);...}.catch.(ex).{.... |
9f300 | 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 75 74 69 6c 73 2e 72 65 70 6f 72 74 45 72 72 6f 72 28 65 78 | .Components.utils.reportError(ex |
9f320 | 29 3b 0a 20 20 7d 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 72 65 73 74 6f 72 65 44 65 66 61 75 6c | );...}.}..function.restoreDefaul |
9f340 | 74 42 6f 6f 6b 6d 61 72 6b 73 28 29 20 7b 0a 20 20 76 61 72 20 70 72 65 66 42 72 61 6e 63 68 20 | tBookmarks().{...var.prefBranch. |
9f360 | 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e | .=.Components.classes["@mozilla. |
9f380 | 6f 72 67 2f 70 72 65 66 65 72 65 6e 63 65 73 2d 73 65 72 76 69 63 65 3b 31 22 5d 0a 20 20 20 20 | org/preferences-service;1"]..... |
9f3a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 | ...........................getSe |
9f3c0 | 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 50 | rvice(Components.interfaces.nsIP |
9f3e0 | 72 65 66 42 72 61 6e 63 68 29 3b 0a 20 20 70 72 65 66 42 72 61 6e 63 68 2e 73 65 74 42 6f 6f 6c | refBranch);...prefBranch.setBool |
9f400 | 50 72 65 66 28 22 62 72 6f 77 73 65 72 2e 62 6f 6f 6b 6d 61 72 6b 73 2e 72 65 73 74 6f 72 65 5f | Pref("browser.bookmarks.restore_ |
9f420 | 64 65 66 61 75 6c 74 5f 62 6f 6f 6b 6d 61 72 6b 73 22 2c 20 74 72 75 65 29 3b 0a 7d 0a 0a 66 75 | default_bookmarks",.true);.}..fu |
9f440 | 6e 63 74 69 6f 6e 20 64 65 6c 65 74 65 4c 6f 63 61 6c 73 74 6f 72 65 28 29 20 7b 0a 20 20 63 6f | nction.deleteLocalstore().{...co |
9f460 | 6e 73 74 20 6e 73 49 44 69 72 65 63 74 6f 72 79 53 65 72 76 69 63 65 43 6f 6e 74 72 61 63 74 49 | nst.nsIDirectoryServiceContractI |
9f480 | 44 20 3d 20 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 66 69 6c 65 2f 64 69 72 65 63 74 6f 72 79 | D.=."@mozilla.org/file/directory |
9f4a0 | 5f 73 65 72 76 69 63 65 3b 31 22 3b 0a 20 20 63 6f 6e 73 74 20 6e 73 49 50 72 6f 70 65 72 74 69 | _service;1";...const.nsIProperti |
9f4c0 | 65 73 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 50 72 | es.=.Components.interfaces.nsIPr |
9f4e0 | 6f 70 65 72 74 69 65 73 3b 0a 20 20 76 61 72 20 64 69 72 65 63 74 6f 72 79 53 65 72 76 69 63 65 | operties;...var.directoryService |
9f500 | 20 3d 20 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 6e 73 49 44 69 72 65 63 74 | .=..Components.classes[nsIDirect |
9f520 | 6f 72 79 53 65 72 76 69 63 65 43 6f 6e 74 72 61 63 74 49 44 5d 0a 20 20 20 20 20 20 20 20 20 20 | oryServiceContractID]........... |
9f540 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 | ...........................getSe |
9f560 | 72 76 69 63 65 28 6e 73 49 50 72 6f 70 65 72 74 69 65 73 29 3b 0a 20 20 76 61 72 20 6c 6f 63 61 | rvice(nsIProperties);...var.loca |
9f580 | 6c 73 74 6f 72 65 46 69 6c 65 20 3d 20 64 69 72 65 63 74 6f 72 79 53 65 72 76 69 63 65 2e 67 65 | lstoreFile.=.directoryService.ge |
9f5a0 | 74 28 22 4c 53 74 6f 72 65 53 22 2c 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 | t("LStoreS",.Components.interfac |
9f5c0 | 65 73 2e 6e 73 49 46 69 6c 65 29 3b 0a 20 20 69 66 20 28 6c 6f 63 61 6c 73 74 6f 72 65 46 69 6c | es.nsIFile);...if.(localstoreFil |
9f5e0 | 65 2e 65 78 69 73 74 73 28 29 29 0a 20 20 20 20 6c 6f 63 61 6c 73 74 6f 72 65 46 69 6c 65 2e 72 | e.exists()).....localstoreFile.r |
9f600 | 65 6d 6f 76 65 28 66 61 6c 73 65 29 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 64 69 73 61 62 6c | emove(false);.}..function.disabl |
9f620 | 65 41 64 64 6f 6e 73 28 29 20 7b 0a 20 20 2f 2f 20 44 69 73 61 62 6c 65 20 61 64 64 6f 6e 73 0a | eAddons().{...//.Disable.addons. |
9f640 | 20 20 63 6f 6e 73 74 20 6e 73 49 55 70 64 61 74 65 49 74 65 6d 20 3d 20 43 6f 6d 70 6f 6e 65 6e | ..const.nsIUpdateItem.=.Componen |
9f660 | 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 55 70 64 61 74 65 49 74 65 6d 3b 0a 20 20 76 | ts.interfaces.nsIUpdateItem;...v |
9f680 | 61 72 20 65 6d 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a | ar.em.=.Components.classes["@moz |
9f6a0 | 69 6c 6c 61 2e 6f 72 67 2f 65 78 74 65 6e 73 69 6f 6e 73 2f 6d 61 6e 61 67 65 72 3b 31 22 5d 0a | illa.org/extensions/manager;1"]. |
9f6c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 | ......................getService |
9f6e0 | 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 45 78 74 65 6e 73 | (Components.interfaces.nsIExtens |
9f700 | 69 6f 6e 4d 61 6e 61 67 65 72 29 3b 0a 20 20 76 61 72 20 74 79 70 65 20 3d 20 6e 73 49 55 70 64 | ionManager);...var.type.=.nsIUpd |
9f720 | 61 74 65 49 74 65 6d 2e 54 59 50 45 5f 45 58 54 45 4e 53 49 4f 4e 20 2b 20 6e 73 49 55 70 64 61 | ateItem.TYPE_EXTENSION.+.nsIUpda |
9f740 | 74 65 49 74 65 6d 2e 54 59 50 45 5f 4c 4f 43 41 4c 45 3b 0a 20 20 76 61 72 20 69 74 65 6d 73 20 | teItem.TYPE_LOCALE;...var.items. |
9f760 | 3d 20 65 6d 2e 67 65 74 49 74 65 6d 4c 69 73 74 28 74 79 70 65 2c 20 7b 20 7d 29 3b 0a 20 20 66 | =.em.getItemList(type,.{.});...f |
9f780 | 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 69 74 65 6d 73 2e 6c 65 6e 67 74 68 3b | or.(var.i.=.0;.i.<.items.length; |
9f7a0 | 20 2b 2b 69 29 0a 20 20 20 20 65 6d 2e 64 69 73 61 62 6c 65 49 74 65 6d 28 69 74 65 6d 73 5b 69 | .++i).....em.disableItem(items[i |
9f7c0 | 5d 2e 69 64 29 3b 0a 0a 20 20 2f 2f 20 53 65 6c 65 63 74 20 74 68 65 20 64 65 66 61 75 6c 74 20 | ].id);....//.Select.the.default. |
9f7e0 | 74 68 65 6d 65 0a 20 20 76 61 72 20 70 72 65 66 42 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 | theme...var.prefB.=.Components.c |
9f800 | 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 70 72 65 66 65 72 65 6e 63 65 73 | lasses["@mozilla.org/preferences |
9f820 | 2d 73 65 72 76 69 63 65 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | -service;1"].................... |
9f840 | 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 | ......getService(Components.inte |
9f860 | 72 66 61 63 65 73 2e 6e 73 49 50 72 65 66 42 72 61 6e 63 68 29 3b 0a 20 20 69 66 20 28 70 72 65 | rfaces.nsIPrefBranch);...if.(pre |
9f880 | 66 42 2e 70 72 65 66 48 61 73 55 73 65 72 56 61 6c 75 65 28 22 67 65 6e 65 72 61 6c 2e 73 6b 69 | fB.prefHasUserValue("general.ski |
9f8a0 | 6e 73 2e 73 65 6c 65 63 74 65 64 53 6b 69 6e 22 29 29 0a 20 20 20 20 70 72 65 66 42 2e 63 6c 65 | ns.selectedSkin")).....prefB.cle |
9f8c0 | 61 72 55 73 65 72 50 72 65 66 28 22 67 65 6e 65 72 61 6c 2e 73 6b 69 6e 73 2e 73 65 6c 65 63 74 | arUserPref("general.skins.select |
9f8e0 | 65 64 53 6b 69 6e 22 29 3b 0a 0a 20 20 2f 2f 20 44 69 73 61 62 6c 65 20 70 6c 75 67 69 6e 73 0a | edSkin");....//.Disable.plugins. |
9f900 | 20 20 76 61 72 20 70 68 73 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 | ..var.phs.=.Components.classes[" |
9f920 | 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 70 6c 75 67 69 6e 2f 68 6f 73 74 3b 31 22 5d 0a 20 20 20 | @mozilla.org/plugin/host;1"].... |
9f940 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 | ....................getService(C |
9f960 | 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 50 6c 75 67 69 6e 48 6f | omponents.interfaces.nsIPluginHo |
9f980 | 73 74 29 3b 0a 20 20 76 61 72 20 70 6c 75 67 69 6e 73 20 3d 20 70 68 73 2e 67 65 74 50 6c 75 67 | st);...var.plugins.=.phs.getPlug |
9f9a0 | 69 6e 54 61 67 73 28 7b 20 7d 29 3b 0a 20 20 66 6f 72 20 28 69 20 3d 20 30 3b 20 69 20 3c 20 70 | inTags({.});...for.(i.=.0;.i.<.p |
9f9c0 | 6c 75 67 69 6e 73 2e 6c 65 6e 67 74 68 3b 20 2b 2b 69 29 0a 20 20 20 20 70 6c 75 67 69 6e 73 5b | lugins.length;.++i).....plugins[ |
9f9e0 | 69 5d 2e 64 69 73 61 62 6c 65 64 20 3d 20 74 72 75 65 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 | i].disabled.=.true;.}..function. |
9fa00 | 72 65 73 74 6f 72 65 44 65 66 61 75 6c 74 53 65 61 72 63 68 45 6e 67 69 6e 65 73 28 29 20 7b 0a | restoreDefaultSearchEngines().{. |
9fa20 | 20 20 76 61 72 20 73 65 61 72 63 68 53 65 72 76 69 63 65 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 | ..var.searchService.=.Components |
9fa40 | 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 62 72 6f 77 73 65 72 2f 73 | .classes["@mozilla.org/browser/s |
9fa60 | 65 61 72 63 68 2d 73 65 72 76 69 63 65 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | earch-service;1"]............... |
9fa80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 6f | ...................getService(Co |
9faa0 | 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 42 72 6f 77 73 65 72 53 65 | mponents.interfaces.nsIBrowserSe |
9fac0 | 61 72 63 68 53 65 72 76 69 63 65 29 3b 0a 0a 20 20 73 65 61 72 63 68 53 65 72 76 69 63 65 2e 72 | archService);....searchService.r |
9fae0 | 65 73 74 6f 72 65 44 65 66 61 75 6c 74 45 6e 67 69 6e 65 73 28 29 3b 0a 7d 0a 0a 66 75 6e 63 74 | estoreDefaultEngines();.}..funct |
9fb00 | 69 6f 6e 20 6f 6e 4f 4b 28 29 20 7b 0a 20 20 74 72 79 20 7b 0a 20 20 20 20 69 66 20 28 64 6f 63 | ion.onOK().{...try.{.....if.(doc |
9fb20 | 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 72 65 73 65 74 55 73 65 72 50 | ument.getElementById("resetUserP |
9fb40 | 72 65 66 73 22 29 2e 63 68 65 63 6b 65 64 29 0a 20 20 20 20 20 20 63 6c 65 61 72 41 6c 6c 50 72 | refs").checked).......clearAllPr |
9fb60 | 65 66 73 28 29 3b 0a 20 20 20 20 69 66 20 28 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 | efs();.....if.(document.getEleme |
9fb80 | 6e 74 42 79 49 64 28 22 72 65 73 65 74 42 6f 6f 6b 6d 61 72 6b 73 22 29 2e 63 68 65 63 6b 65 64 | ntById("resetBookmarks").checked |
9fba0 | 29 0a 20 20 20 20 20 20 72 65 73 74 6f 72 65 44 65 66 61 75 6c 74 42 6f 6f 6b 6d 61 72 6b 73 28 | ).......restoreDefaultBookmarks( |
9fbc0 | 29 3b 0a 20 20 20 20 69 66 20 28 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 | );.....if.(document.getElementBy |
9fbe0 | 49 64 28 22 72 65 73 65 74 54 6f 6f 6c 62 61 72 73 22 29 2e 63 68 65 63 6b 65 64 29 0a 20 20 20 | Id("resetToolbars").checked).... |
9fc00 | 20 20 20 64 65 6c 65 74 65 4c 6f 63 61 6c 73 74 6f 72 65 28 29 3b 0a 20 20 20 20 69 66 20 28 64 | ...deleteLocalstore();.....if.(d |
9fc20 | 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 64 69 73 61 62 6c 65 41 | ocument.getElementById("disableA |
9fc40 | 64 64 6f 6e 73 22 29 2e 63 68 65 63 6b 65 64 29 0a 20 20 20 20 20 20 64 69 73 61 62 6c 65 41 64 | ddons").checked).......disableAd |
9fc60 | 64 6f 6e 73 28 29 3b 0a 20 20 20 20 69 66 20 28 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d | dons();.....if.(document.getElem |
9fc80 | 65 6e 74 42 79 49 64 28 22 72 65 73 74 6f 72 65 53 65 61 72 63 68 22 29 2e 63 68 65 63 6b 65 64 | entById("restoreSearch").checked |
9fca0 | 29 0a 20 20 20 20 20 20 72 65 73 74 6f 72 65 44 65 66 61 75 6c 74 53 65 61 72 63 68 45 6e 67 69 | ).......restoreDefaultSearchEngi |
9fcc0 | 6e 65 73 28 29 3b 0a 20 20 7d 20 63 61 74 63 68 28 65 29 20 7b 0a 20 20 7d 0a 0a 20 20 72 65 73 | nes();...}.catch(e).{...}....res |
9fce0 | 74 61 72 74 41 70 70 28 29 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 6f 6e 43 61 6e 63 65 6c 28 | tartApp();.}..function.onCancel( |
9fd00 | 29 20 7b 0a 20 20 76 61 72 20 61 70 70 53 74 61 72 74 75 70 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 | ).{...var.appStartup.=.Component |
9fd20 | 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 74 6f 6f 6c 6b 69 74 2f | s.classes["@mozilla.org/toolkit/ |
9fd40 | 61 70 70 2d 73 74 61 72 74 75 70 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | app-startup;1"]................. |
9fd60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 | ..............getService(Compone |
9fd80 | 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 41 70 70 53 74 61 72 74 75 70 29 3b 0a 20 | nts.interfaces.nsIAppStartup);.. |
9fda0 | 20 61 70 70 53 74 61 72 74 75 70 2e 71 75 69 74 28 61 70 70 53 74 61 72 74 75 70 2e 65 46 6f 72 | .appStartup.quit(appStartup.eFor |
9fdc0 | 63 65 51 75 69 74 29 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 6f 6e 4c 6f 61 64 28 29 20 7b 0a | ceQuit);.}..function.onLoad().{. |
9fde0 | 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 74 61 73 6b 73 | ..document.getElementById("tasks |
9fe00 | 22 29 0a 20 20 20 20 20 20 20 20 20 20 2e 61 64 64 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 28 22 | ")............addEventListener(" |
9fe20 | 43 68 65 63 6b 62 6f 78 53 74 61 74 65 43 68 61 6e 67 65 22 2c 20 55 70 64 61 74 65 4f 4b 42 75 | CheckboxStateChange",.UpdateOKBu |
9fe40 | 74 74 6f 6e 53 74 61 74 65 2c 20 66 61 6c 73 65 29 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 55 | ttonState,.false);.}..function.U |
9fe60 | 70 64 61 74 65 4f 4b 42 75 74 74 6f 6e 53 74 61 74 65 28 29 20 7b 0a 20 20 64 6f 63 75 6d 65 6e | pdateOKButtonState().{...documen |
9fe80 | 74 2e 64 6f 63 75 6d 65 6e 74 45 6c 65 6d 65 6e 74 2e 67 65 74 42 75 74 74 6f 6e 28 22 61 63 63 | t.documentElement.getButton("acc |
9fea0 | 65 70 74 22 29 2e 64 69 73 61 62 6c 65 64 20 3d 20 0a 20 20 20 20 21 64 6f 63 75 6d 65 6e 74 2e | ept").disabled.=......!document. |
9fec0 | 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 72 65 73 65 74 55 73 65 72 50 72 65 66 73 22 29 | getElementById("resetUserPrefs") |
9fee0 | 2e 63 68 65 63 6b 65 64 20 26 26 0a 20 20 20 20 21 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 | .checked.&&.....!document.getEle |
9ff00 | 6d 65 6e 74 42 79 49 64 28 22 72 65 73 65 74 42 6f 6f 6b 6d 61 72 6b 73 22 29 2e 63 68 65 63 6b | mentById("resetBookmarks").check |
9ff20 | 65 64 20 26 26 0a 20 20 20 20 21 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 | ed.&&.....!document.getElementBy |
9ff40 | 49 64 28 22 72 65 73 65 74 54 6f 6f 6c 62 61 72 73 22 29 2e 63 68 65 63 6b 65 64 20 26 26 0a 20 | Id("resetToolbars").checked.&&.. |
9ff60 | 20 20 20 21 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 64 69 73 | ...!document.getElementById("dis |
9ff80 | 61 62 6c 65 41 64 64 6f 6e 73 22 29 2e 63 68 65 63 6b 65 64 20 26 26 0a 20 20 20 20 21 64 6f 63 | ableAddons").checked.&&.....!doc |
9ffa0 | 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 72 65 73 74 6f 72 65 53 65 61 | ument.getElementById("restoreSea |
9ffc0 | 72 63 68 22 29 2e 63 68 65 63 6b 65 64 3b 0a 7d 0a 50 4b 03 04 14 00 00 00 00 00 f2 4b 18 3b 29 | rch").checked;.}.PK.........K.;) |
9ffe0 | 0e d5 62 54 07 00 00 54 07 00 00 1c 00 00 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 73 | ..bT...T.......content/browser/s |
a0000 | 61 66 65 4d 6f 64 65 2e 78 75 6c 3c 3f 78 6d 6c 20 76 65 72 73 69 6f 6e 3d 22 31 2e 30 22 3f 3e | afeMode.xul<?xml.version="1.0"?> |
a0020 | 0a 0a 0a 3c 21 44 4f 43 54 59 50 45 20 70 72 65 66 77 69 6e 64 6f 77 20 5b 0a 3c 21 45 4e 54 49 | ...<!DOCTYPE.prefwindow.[.<!ENTI |
a0040 | 54 59 20 25 20 62 72 61 6e 64 44 54 44 20 53 59 53 54 45 4d 20 22 63 68 72 6f 6d 65 3a 2f 2f 62 | TY.%.brandDTD.SYSTEM."chrome://b |
a0060 | 72 61 6e 64 69 6e 67 2f 6c 6f 63 61 6c 65 2f 62 72 61 6e 64 2e 64 74 64 22 20 3e 0a 25 62 72 61 | randing/locale/brand.dtd".>.%bra |
a0080 | 6e 64 44 54 44 3b 0a 3c 21 45 4e 54 49 54 59 20 25 20 73 61 66 65 4d 6f 64 65 44 54 44 20 53 59 | ndDTD;.<!ENTITY.%.safeModeDTD.SY |
a00a0 | 53 54 45 4d 20 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 6c 6f 63 61 6c 65 2f 73 61 | STEM."chrome://browser/locale/sa |
a00c0 | 66 65 4d 6f 64 65 2e 64 74 64 22 20 3e 0a 25 73 61 66 65 4d 6f 64 65 44 54 44 3b 0a 3c 21 45 4e | feMode.dtd".>.%safeModeDTD;.<!EN |
a00e0 | 54 49 54 59 20 25 20 62 72 6f 77 73 65 72 44 54 44 20 53 59 53 54 45 4d 20 22 63 68 72 6f 6d 65 | TITY.%.browserDTD.SYSTEM."chrome |
a0100 | 3a 2f 2f 62 72 6f 77 73 65 72 2f 6c 6f 63 61 6c 65 2f 62 72 6f 77 73 65 72 2e 64 74 64 22 20 3e | ://browser/locale/browser.dtd".> |
a0120 | 0a 25 62 72 6f 77 73 65 72 44 54 44 3b 0a 5d 3e 0a 0a 3c 3f 78 6d 6c 2d 73 74 79 6c 65 73 68 65 | .%browserDTD;.]>..<?xml-styleshe |
a0140 | 65 74 20 68 72 65 66 3d 22 63 68 72 6f 6d 65 3a 2f 2f 67 6c 6f 62 61 6c 2f 73 6b 69 6e 2f 22 3f | et.href="chrome://global/skin/"? |
a0160 | 3e 0a 0a 3c 64 69 61 6c 6f 67 20 69 64 3d 22 73 61 66 65 4d 6f 64 65 44 69 61 6c 6f 67 22 0a 20 | >..<dialog.id="safeModeDialog".. |
a0180 | 20 20 20 20 20 20 20 20 20 20 20 78 6d 6c 6e 73 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a | ...........xmlns="http://www.moz |
a01a0 | 69 6c 6c 61 2e 6f 72 67 2f 6b 65 79 6d 61 73 74 65 72 2f 67 61 74 65 6b 65 65 70 65 72 2f 74 68 | illa.org/keymaster/gatekeeper/th |
a01c0 | 65 72 65 2e 69 73 2e 6f 6e 6c 79 2e 78 75 6c 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 69 74 | ere.is.only.xul".............tit |
a01e0 | 6c 65 3d 22 26 73 61 66 65 4d 6f 64 65 44 69 61 6c 6f 67 2e 74 69 74 6c 65 3b 22 0a 20 20 20 20 | le="&safeModeDialog.title;"..... |
a0200 | 20 20 20 20 20 20 20 20 62 75 74 74 6f 6e 73 3d 22 61 63 63 65 70 74 2c 63 61 6e 63 65 6c 2c 65 | ........buttons="accept,cancel,e |
a0220 | 78 74 72 61 31 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 62 75 74 74 6f 6e 6c 61 62 65 6c 61 63 | xtra1".............buttonlabelac |
a0240 | 63 65 70 74 3d 22 26 63 68 61 6e 67 65 41 6e 64 52 65 73 74 61 72 74 42 75 74 74 6f 6e 2e 6c 61 | cept="&changeAndRestartButton.la |
a0260 | 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 62 75 74 74 6f 6e 6c 61 62 65 6c 63 61 6e | bel;".............buttonlabelcan |
a0280 | 63 65 6c 3d 22 26 71 75 69 74 41 70 70 6c 69 63 61 74 69 6f 6e 43 6d 64 2e 6c 61 62 65 6c 3b 22 | cel="&quitApplicationCmd.label;" |
a02a0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 62 75 74 74 6f 6e 6c 61 62 65 6c 65 78 74 72 61 31 3d 22 | .............buttonlabelextra1=" |
a02c0 | 26 63 6f 6e 74 69 6e 75 65 42 75 74 74 6f 6e 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 | &continueButton.label;"......... |
a02e0 | 20 20 20 20 77 69 64 74 68 3d 22 26 77 69 6e 64 6f 77 2e 77 69 64 74 68 3b 22 0a 20 20 20 20 20 | ....width="&window.width;"...... |
a0300 | 20 20 20 20 20 20 20 6f 6e 64 69 61 6c 6f 67 61 63 63 65 70 74 3d 22 6f 6e 4f 4b 28 29 22 0a 20 | .......ondialogaccept="onOK()".. |
a0320 | 20 20 20 20 20 20 20 20 20 20 20 6f 6e 64 69 61 6c 6f 67 63 61 6e 63 65 6c 3d 22 6f 6e 43 61 6e | ...........ondialogcancel="onCan |
a0340 | 63 65 6c 28 29 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 64 69 61 6c 6f 67 65 78 74 72 61 | cel()".............ondialogextra |
a0360 | 31 3d 22 77 69 6e 64 6f 77 2e 63 6c 6f 73 65 28 29 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 6f | 1="window.close()".............o |
a0380 | 6e 6c 6f 61 64 3d 22 6f 6e 4c 6f 61 64 28 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 62 75 | nload="onLoad();".............bu |
a03a0 | 74 74 6f 6e 64 69 73 61 62 6c 65 64 61 63 63 65 70 74 3d 22 74 72 75 65 22 3e 0a 0a 20 20 3c 73 | ttondisabledaccept="true">....<s |
a03c0 | 63 72 69 70 74 20 74 79 70 65 3d 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f 78 2d 6a 61 76 61 73 63 | cript.type="application/x-javasc |
a03e0 | 72 69 70 74 22 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 | ript".src="chrome://browser/cont |
a0400 | 65 6e 74 2f 73 61 66 65 4d 6f 64 65 2e 6a 73 22 2f 3e 0a 0a 20 20 3c 73 74 72 69 6e 67 62 75 6e | ent/safeMode.js"/>....<stringbun |
a0420 | 64 6c 65 20 69 64 3d 22 70 72 65 66 65 72 65 6e 63 65 73 42 75 6e 64 6c 65 22 20 73 72 63 3d 22 | dle.id="preferencesBundle".src=" |
a0440 | 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 6c 6f 63 61 6c 65 2f 70 72 65 66 65 72 65 6e | chrome://browser/locale/preferen |
a0460 | 63 65 73 2f 70 72 65 66 65 72 65 6e 63 65 73 2e 70 72 6f 70 65 72 74 69 65 73 22 2f 3e 0a 0a 20 | ces/preferences.properties"/>... |
a0480 | 20 3c 64 65 73 63 72 69 70 74 69 6f 6e 3e 26 73 61 66 65 4d 6f 64 65 44 65 73 63 72 69 70 74 69 | .<description>&safeModeDescripti |
a04a0 | 6f 6e 2e 6c 61 62 65 6c 3b 3c 2f 64 65 73 63 72 69 70 74 69 6f 6e 3e 0a 0a 20 20 3c 73 65 70 61 | on.label;</description>....<sepa |
a04c0 | 72 61 74 6f 72 20 63 6c 61 73 73 3d 22 74 68 69 6e 22 2f 3e 0a 0a 20 20 3c 6c 61 62 65 6c 20 76 | rator.class="thin"/>....<label.v |
a04e0 | 61 6c 75 65 3d 22 26 73 61 66 65 4d 6f 64 65 44 65 73 63 72 69 70 74 69 6f 6e 32 2e 6c 61 62 65 | alue="&safeModeDescription2.labe |
a0500 | 6c 3b 22 2f 3e 0a 20 20 3c 76 62 6f 78 20 69 64 3d 22 74 61 73 6b 73 22 3e 0a 20 20 20 20 3c 63 | l;"/>...<vbox.id="tasks">.....<c |
a0520 | 68 65 63 6b 62 6f 78 20 69 64 3d 22 64 69 73 61 62 6c 65 41 64 64 6f 6e 73 22 20 20 6c 61 62 65 | heckbox.id="disableAddons"..labe |
a0540 | 6c 3d 22 26 64 69 73 61 62 6c 65 41 64 64 6f 6e 73 2e 6c 61 62 65 6c 3b 22 20 20 61 63 63 65 73 | l="&disableAddons.label;"..acces |
a0560 | 73 6b 65 79 3d 22 26 64 69 73 61 62 6c 65 41 64 64 6f 6e 73 2e 61 63 63 65 73 73 6b 65 79 3b 22 | skey="&disableAddons.accesskey;" |
a0580 | 2f 3e 0a 20 20 20 20 3c 63 68 65 63 6b 62 6f 78 20 69 64 3d 22 72 65 73 65 74 54 6f 6f 6c 62 61 | />.....<checkbox.id="resetToolba |
a05a0 | 72 73 22 20 20 6c 61 62 65 6c 3d 22 26 72 65 73 65 74 54 6f 6f 6c 62 61 72 73 2e 6c 61 62 65 6c | rs"..label="&resetToolbars.label |
a05c0 | 3b 22 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 72 65 73 65 74 54 6f 6f 6c 62 61 72 73 2e 61 63 | ;"..accesskey="&resetToolbars.ac |
a05e0 | 63 65 73 73 6b 65 79 3b 22 2f 3e 0a 20 20 20 20 3c 63 68 65 63 6b 62 6f 78 20 69 64 3d 22 72 65 | cesskey;"/>.....<checkbox.id="re |
a0600 | 73 65 74 42 6f 6f 6b 6d 61 72 6b 73 22 20 6c 61 62 65 6c 3d 22 26 72 65 73 65 74 42 6f 6f 6b 6d | setBookmarks".label="&resetBookm |
a0620 | 61 72 6b 73 2e 6c 61 62 65 6c 3b 22 20 61 63 63 65 73 73 6b 65 79 3d 22 26 72 65 73 65 74 42 6f | arks.label;".accesskey="&resetBo |
a0640 | 6f 6b 6d 61 72 6b 73 2e 61 63 63 65 73 73 6b 65 79 3b 22 2f 3e 0a 20 20 20 20 3c 63 68 65 63 6b | okmarks.accesskey;"/>.....<check |
a0660 | 62 6f 78 20 69 64 3d 22 72 65 73 65 74 55 73 65 72 50 72 65 66 73 22 20 6c 61 62 65 6c 3d 22 26 | box.id="resetUserPrefs".label="& |
a0680 | 72 65 73 65 74 55 73 65 72 50 72 65 66 73 2e 6c 61 62 65 6c 3b 22 20 61 63 63 65 73 73 6b 65 79 | resetUserPrefs.label;".accesskey |
a06a0 | 3d 22 26 72 65 73 65 74 55 73 65 72 50 72 65 66 73 2e 61 63 63 65 73 73 6b 65 79 3b 22 2f 3e 0a | ="&resetUserPrefs.accesskey;"/>. |
a06c0 | 20 20 20 20 3c 63 68 65 63 6b 62 6f 78 20 69 64 3d 22 72 65 73 74 6f 72 65 53 65 61 72 63 68 22 | ....<checkbox.id="restoreSearch" |
a06e0 | 20 20 6c 61 62 65 6c 3d 22 26 72 65 73 74 6f 72 65 53 65 61 72 63 68 2e 6c 61 62 65 6c 3b 22 20 | ..label="&restoreSearch.label;". |
a0700 | 20 61 63 63 65 73 73 6b 65 79 3d 22 26 72 65 73 74 6f 72 65 53 65 61 72 63 68 2e 61 63 63 65 73 | .accesskey="&restoreSearch.acces |
a0720 | 73 6b 65 79 3b 22 2f 3e 0a 20 20 3c 2f 76 62 6f 78 3e 0a 20 20 20 20 20 0a 20 20 3c 73 65 70 61 | skey;"/>...</vbox>.........<sepa |
a0740 | 72 61 74 6f 72 20 63 6c 61 73 73 3d 22 74 68 69 6e 22 2f 3e 0a 3c 2f 64 69 61 6c 6f 67 3e 0a 50 | rator.class="thin"/>.</dialog>.P |
a0760 | 4b 03 04 14 00 00 00 00 00 f2 4b 18 3b db ce 6a 21 00 3b 00 00 00 3b 00 00 1b 00 00 00 63 6f 6e | K.........K.;..j!.;...;......con |
a0780 | 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 73 61 6e 69 74 69 7a 65 2e 6a 73 2f 2f 40 6c 69 6e 65 20 | tent/browser/sanitize.js//@line. |
a07a0 | 34 31 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 | 41."/builds/moz2_slave/linux_bui |
a07c0 | 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 62 61 73 65 2f 63 6f 6e 74 65 6e 74 2f 73 61 | ld/build/browser/base/content/sa |
a07e0 | 6e 69 74 69 7a 65 2e 6a 73 22 0a 0a 66 75 6e 63 74 69 6f 6e 20 53 61 6e 69 74 69 7a 65 72 28 29 | nitize.js"..function.Sanitizer() |
a0800 | 20 7b 7d 0a 53 61 6e 69 74 69 7a 65 72 2e 70 72 6f 74 6f 74 79 70 65 20 3d 20 7b 0a 20 20 2f 2f | .{}.Sanitizer.prototype.=.{...// |
a0820 | 20 77 61 72 6e 69 6e 67 20 74 6f 20 74 68 65 20 63 61 6c 6c 65 72 3a 20 74 68 69 73 20 6f 6e 65 | .warning.to.the.caller:.this.one |
a0840 | 20 6d 61 79 20 72 61 69 73 65 20 61 6e 20 65 78 63 65 70 74 69 6f 6e 20 28 65 2e 67 2e 20 62 75 | .may.raise.an.exception.(e.g..bu |
a0860 | 67 20 23 32 36 35 30 32 38 29 0a 20 20 63 6c 65 61 72 49 74 65 6d 3a 20 66 75 6e 63 74 69 6f 6e | g.#265028)...clearItem:.function |
a0880 | 20 28 61 49 74 65 6d 4e 61 6d 65 29 0a 20 20 7b 0a 20 20 20 20 69 66 20 28 74 68 69 73 2e 69 74 | .(aItemName)...{.....if.(this.it |
a08a0 | 65 6d 73 5b 61 49 74 65 6d 4e 61 6d 65 5d 2e 63 61 6e 43 6c 65 61 72 29 0a 20 20 20 20 20 20 74 | ems[aItemName].canClear).......t |
a08c0 | 68 69 73 2e 69 74 65 6d 73 5b 61 49 74 65 6d 4e 61 6d 65 5d 2e 63 6c 65 61 72 28 29 3b 0a 20 20 | his.items[aItemName].clear();... |
a08e0 | 7d 2c 0a 0a 20 20 63 61 6e 43 6c 65 61 72 49 74 65 6d 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 49 | },....canClearItem:.function.(aI |
a0900 | 74 65 6d 4e 61 6d 65 29 0a 20 20 7b 0a 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 69 74 65 | temName)...{.....return.this.ite |
a0920 | 6d 73 5b 61 49 74 65 6d 4e 61 6d 65 5d 2e 63 61 6e 43 6c 65 61 72 3b 0a 20 20 7d 2c 0a 20 20 0a | ms[aItemName].canClear;...},.... |
a0940 | 20 20 70 72 65 66 44 6f 6d 61 69 6e 3a 20 22 22 2c 0a 20 20 0a 20 20 67 65 74 4e 61 6d 65 46 72 | ..prefDomain:."",......getNameFr |
a0960 | 6f 6d 50 72 65 66 65 72 65 6e 63 65 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 50 72 65 66 65 72 65 | omPreference:.function.(aPrefere |
a0980 | 6e 63 65 4e 61 6d 65 29 0a 20 20 7b 0a 20 20 20 20 72 65 74 75 72 6e 20 61 50 72 65 66 65 72 65 | nceName)...{.....return.aPrefere |
a09a0 | 6e 63 65 4e 61 6d 65 2e 73 75 62 73 74 72 28 74 68 69 73 2e 70 72 65 66 44 6f 6d 61 69 6e 2e 6c | nceName.substr(this.prefDomain.l |
a09c0 | 65 6e 67 74 68 29 3b 0a 20 20 7d 2c 0a 20 20 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 44 65 6c 65 74 | ength);...},....../**....*.Delet |
a09e0 | 65 73 20 70 72 69 76 61 63 79 20 73 65 6e 73 69 74 69 76 65 20 64 61 74 61 20 69 6e 20 61 20 62 | es.privacy.sensitive.data.in.a.b |
a0a00 | 61 74 63 68 2c 20 61 63 63 6f 72 64 69 6e 67 20 74 6f 20 75 73 65 72 20 70 72 65 66 65 72 65 6e | atch,.according.to.user.preferen |
a0a20 | 63 65 73 0a 20 20 20 2a 0a 20 20 20 2a 20 40 72 65 74 75 72 6e 73 20 20 6e 75 6c 6c 20 69 66 20 | ces....*....*.@returns..null.if. |
a0a40 | 65 76 65 72 79 74 68 69 6e 67 27 73 20 66 69 6e 65 3b 20 20 61 6e 20 6f 62 6a 65 63 74 20 69 6e | everything's.fine;..an.object.in |
a0a60 | 20 74 68 65 20 66 6f 72 6d 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 20 7b 20 69 74 65 6d 4e | .the.form....*...........{.itemN |
a0a80 | 61 6d 65 3a 20 65 72 72 6f 72 2c 20 2e 2e 2e 20 7d 20 6f 6e 20 28 70 61 72 74 69 61 6c 29 20 66 | ame:.error,.....}.on.(partial).f |
a0aa0 | 61 69 6c 75 72 65 0a 20 20 20 2a 2f 0a 20 20 73 61 6e 69 74 69 7a 65 3a 20 66 75 6e 63 74 69 6f | ailure....*/...sanitize:.functio |
a0ac0 | 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 76 61 72 20 70 73 76 63 20 3d 20 43 6f 6d 70 6f 6e 65 6e | n.()...{.....var.psvc.=.Componen |
a0ae0 | 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 70 72 65 66 65 72 65 | ts.classes["@mozilla.org/prefere |
a0b00 | 6e 63 65 73 2d 73 65 72 76 69 63 65 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | nces-service;1"]................ |
a0b20 | 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 | ...........getService(Components |
a0b40 | 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 50 72 65 66 53 65 72 76 69 63 65 29 3b 0a 20 20 20 | .interfaces.nsIPrefService);.... |
a0b60 | 20 76 61 72 20 62 72 61 6e 63 68 20 3d 20 70 73 76 63 2e 67 65 74 42 72 61 6e 63 68 28 74 68 69 | .var.branch.=.psvc.getBranch(thi |
a0b80 | 73 2e 70 72 65 66 44 6f 6d 61 69 6e 29 3b 0a 20 20 20 20 76 61 72 20 65 72 72 6f 72 73 20 3d 20 | s.prefDomain);.....var.errors.=. |
a0ba0 | 6e 75 6c 6c 3b 0a 0a 20 20 20 20 2f 2f 20 43 61 63 68 65 20 74 68 65 20 72 61 6e 67 65 20 6f 66 | null;......//.Cache.the.range.of |
a0bc0 | 20 74 69 6d 65 73 20 74 6f 20 63 6c 65 61 72 0a 20 20 20 20 69 66 20 28 74 68 69 73 2e 69 67 6e | .times.to.clear.....if.(this.ign |
a0be0 | 6f 72 65 54 69 6d 65 73 70 61 6e 29 0a 20 20 20 20 20 20 76 61 72 20 72 61 6e 67 65 20 3d 20 6e | oreTimespan).......var.range.=.n |
a0c00 | 75 6c 6c 3b 20 20 2f 2f 20 49 66 20 77 65 20 69 67 6e 6f 72 65 20 74 69 6d 65 73 70 61 6e 2c 20 | ull;..//.If.we.ignore.timespan,. |
a0c20 | 63 6c 65 61 72 20 65 76 65 72 79 74 68 69 6e 67 0a 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 | clear.everything.....else....... |
a0c40 | 72 61 6e 67 65 20 3d 20 74 68 69 73 2e 72 61 6e 67 65 20 7c 7c 20 53 61 6e 69 74 69 7a 65 72 2e | range.=.this.range.||.Sanitizer. |
a0c60 | 67 65 74 43 6c 65 61 72 52 61 6e 67 65 28 29 3b 0a 20 20 20 20 20 20 0a 20 20 20 20 66 6f 72 20 | getClearRange();............for. |
a0c80 | 28 76 61 72 20 69 74 65 6d 4e 61 6d 65 20 69 6e 20 74 68 69 73 2e 69 74 65 6d 73 29 20 7b 0a 20 | (var.itemName.in.this.items).{.. |
a0ca0 | 20 20 20 20 20 76 61 72 20 69 74 65 6d 20 3d 20 74 68 69 73 2e 69 74 65 6d 73 5b 69 74 65 6d 4e | .....var.item.=.this.items[itemN |
a0cc0 | 61 6d 65 5d 3b 0a 20 20 20 20 20 20 69 74 65 6d 2e 72 61 6e 67 65 20 3d 20 72 61 6e 67 65 3b 0a | ame];.......item.range.=.range;. |
a0ce0 | 20 20 20 20 20 20 69 66 20 28 22 63 6c 65 61 72 22 20 69 6e 20 69 74 65 6d 20 26 26 20 69 74 65 | ......if.("clear".in.item.&&.ite |
a0d00 | 6d 2e 63 61 6e 43 6c 65 61 72 20 26 26 20 62 72 61 6e 63 68 2e 67 65 74 42 6f 6f 6c 50 72 65 66 | m.canClear.&&.branch.getBoolPref |
a0d20 | 28 69 74 65 6d 4e 61 6d 65 29 29 20 7b 0a 20 20 20 20 20 20 20 20 2f 2f 20 53 6f 6d 65 20 6f 66 | (itemName)).{.........//.Some.of |
a0d40 | 20 74 68 65 73 65 20 63 6c 65 61 72 28 29 20 6d 61 79 20 72 61 69 73 65 20 65 78 63 65 70 74 69 | .these.clear().may.raise.excepti |
a0d60 | 6f 6e 73 20 28 73 65 65 20 62 75 67 20 23 32 36 35 30 32 38 29 0a 20 20 20 20 20 20 20 20 2f 2f | ons.(see.bug.#265028).........// |
a0d80 | 20 74 6f 20 73 61 6e 69 74 69 7a 65 20 61 73 20 6d 75 63 68 20 61 73 20 70 6f 73 73 69 62 6c 65 | .to.sanitize.as.much.as.possible |
a0da0 | 2c 20 77 65 20 63 61 74 63 68 20 61 6e 64 20 73 74 6f 72 65 20 74 68 65 6d 2c 20 0a 20 20 20 20 | ,.we.catch.and.store.them,...... |
a0dc0 | 20 20 20 20 2f 2f 20 72 61 74 68 65 72 20 74 68 61 6e 20 66 61 69 6c 20 66 61 73 74 2e 0a 20 20 | ....//.rather.than.fail.fast.... |
a0de0 | 20 20 20 20 20 20 2f 2f 20 43 61 6c 6c 65 72 73 20 73 68 6f 75 6c 64 20 63 68 65 63 6b 20 72 65 | ......//.Callers.should.check.re |
a0e00 | 74 75 72 6e 65 64 20 65 72 72 6f 72 73 20 61 6e 64 20 67 69 76 65 20 75 73 65 72 20 66 65 65 64 | turned.errors.and.give.user.feed |
a0e20 | 62 61 63 6b 0a 20 20 20 20 20 20 20 20 2f 2f 20 61 62 6f 75 74 20 69 74 65 6d 73 20 74 68 61 74 | back.........//.about.items.that |
a0e40 | 20 63 6f 75 6c 64 20 6e 6f 74 20 62 65 20 73 61 6e 69 74 69 7a 65 64 0a 20 20 20 20 20 20 20 20 | .could.not.be.sanitized......... |
a0e60 | 74 72 79 20 7b 0a 20 20 20 20 20 20 20 20 20 20 69 74 65 6d 2e 63 6c 65 61 72 28 29 3b 0a 20 20 | try.{...........item.clear();... |
a0e80 | 20 20 20 20 20 20 7d 20 63 61 74 63 68 28 65 72 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 69 66 | ......}.catch(er).{...........if |
a0ea0 | 20 28 21 65 72 72 6f 72 73 29 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 65 72 72 6f 72 73 20 3d | .(!errors)..............errors.= |
a0ec0 | 20 7b 7d 3b 0a 20 20 20 20 20 20 20 20 20 20 65 72 72 6f 72 73 5b 69 74 65 6d 4e 61 6d 65 5d 20 | .{};...........errors[itemName]. |
a0ee0 | 3d 20 65 72 3b 0a 20 20 20 20 20 20 20 20 20 20 64 75 6d 70 28 22 45 72 72 6f 72 20 73 61 6e 69 | =.er;...........dump("Error.sani |
a0f00 | 74 69 7a 69 6e 67 20 22 20 2b 20 69 74 65 6d 4e 61 6d 65 20 2b 20 22 3a 20 22 20 2b 20 65 72 20 | tizing.".+.itemName.+.":.".+.er. |
a0f20 | 2b 20 22 5c 6e 22 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d | +."\n");.........}.......}.....} |
a0f40 | 0a 20 20 20 20 72 65 74 75 72 6e 20 65 72 72 6f 72 73 3b 0a 20 20 7d 2c 0a 20 20 0a 20 20 2f 2f | .....return.errors;...},......// |
a0f60 | 20 54 69 6d 65 20 73 70 61 6e 20 6f 6e 6c 79 20 6d 61 6b 65 73 20 73 65 6e 73 65 20 69 6e 20 63 | .Time.span.only.makes.sense.in.c |
a0f80 | 65 72 74 61 69 6e 20 63 61 73 65 73 2e 20 20 43 6f 6e 73 75 6d 65 72 73 20 77 68 6f 20 77 61 6e | ertain.cases...Consumers.who.wan |
a0fa0 | 74 0a 20 20 2f 2f 20 74 6f 20 6f 6e 6c 79 20 63 6c 65 61 72 20 73 6f 6d 65 20 70 72 69 76 61 74 | t...//.to.only.clear.some.privat |
a0fc0 | 65 20 64 61 74 61 20 63 61 6e 20 6f 70 74 20 69 6e 20 62 79 20 73 65 74 74 69 6e 67 20 74 68 69 | e.data.can.opt.in.by.setting.thi |
a0fe0 | 73 20 74 6f 20 66 61 6c 73 65 2c 0a 20 20 2f 2f 20 61 6e 64 20 63 61 6e 20 6f 70 74 69 6f 6e 61 | s.to.false,...//.and.can.optiona |
a1000 | 6c 6c 79 20 73 70 65 63 69 66 79 20 61 20 73 70 65 63 69 66 69 63 20 72 61 6e 67 65 2e 20 20 49 | lly.specify.a.specific.range...I |
a1020 | 66 20 74 69 6d 65 73 70 61 6e 20 69 73 20 6e 6f 74 20 69 67 6e 6f 72 65 64 2c 0a 20 20 2f 2f 20 | f.timespan.is.not.ignored,...//. |
a1040 | 61 6e 64 20 72 61 6e 67 65 20 69 73 20 6e 6f 74 20 73 65 74 2c 20 73 61 6e 69 74 69 7a 65 28 29 | and.range.is.not.set,.sanitize() |
a1060 | 20 77 69 6c 6c 20 75 73 65 20 74 68 65 20 76 61 6c 75 65 20 6f 66 20 74 68 65 20 74 69 6d 65 73 | .will.use.the.value.of.the.times |
a1080 | 70 61 6e 0a 20 20 2f 2f 20 70 72 65 66 20 74 6f 20 64 65 74 65 72 6d 69 6e 65 20 61 20 72 61 6e | pan...//.pref.to.determine.a.ran |
a10a0 | 67 65 0a 20 20 69 67 6e 6f 72 65 54 69 6d 65 73 70 61 6e 20 3a 20 74 72 75 65 2c 0a 20 20 72 61 | ge...ignoreTimespan.:.true,...ra |
a10c0 | 6e 67 65 20 3a 20 6e 75 6c 6c 2c 0a 20 20 0a 20 20 69 74 65 6d 73 3a 20 7b 0a 20 20 20 20 63 61 | nge.:.null,......items:.{.....ca |
a10e0 | 63 68 65 3a 20 7b 0a 20 20 20 20 20 20 63 6c 65 61 72 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a | che:.{.......clear:.function.(). |
a1100 | 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 63 6f 6e 73 74 20 43 63 20 3d 20 43 6f 6d 70 6f | ......{.........const.Cc.=.Compo |
a1120 | 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 3b 0a 20 20 20 20 20 20 20 20 63 6f 6e 73 74 20 43 69 20 | nents.classes;.........const.Ci. |
a1140 | 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 3b 0a 20 20 20 20 20 20 20 | =.Components.interfaces;........ |
a1160 | 20 76 61 72 20 63 61 63 68 65 53 65 72 76 69 63 65 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 | .var.cacheService.=.Cc["@mozilla |
a1180 | 2e 6f 72 67 2f 6e 65 74 77 6f 72 6b 2f 63 61 63 68 65 2d 73 65 72 76 69 63 65 3b 31 22 5d 2e 0a | .org/network/cache-service;1"].. |
a11a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 53 65 72 | ..........................getSer |
a11c0 | 76 69 63 65 28 43 69 2e 6e 73 49 43 61 63 68 65 53 65 72 76 69 63 65 29 3b 0a 20 20 20 20 20 20 | vice(Ci.nsICacheService);....... |
a11e0 | 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 43 61 63 68 65 20 64 6f 65 73 6e | ..try.{...........//.Cache.doesn |
a1200 | 27 74 20 63 6f 6e 73 75 6c 74 20 74 69 6d 65 73 70 61 6e 2c 20 6e 6f 72 20 64 6f 65 73 20 69 74 | 't.consult.timespan,.nor.does.it |
a1220 | 20 68 61 76 65 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 66 61 63 69 6c 69 74 79 20 | .have.the...........//.facility. |
a1240 | 66 6f 72 20 74 69 6d 65 73 70 61 6e 2d 62 61 73 65 64 20 65 76 69 63 74 69 6f 6e 2e 20 20 57 69 | for.timespan-based.eviction...Wi |
a1260 | 70 65 20 69 74 2e 0a 20 20 20 20 20 20 20 20 20 20 63 61 63 68 65 53 65 72 76 69 63 65 2e 65 76 | pe.it............cacheService.ev |
a1280 | 69 63 74 45 6e 74 72 69 65 73 28 43 69 2e 6e 73 49 43 61 63 68 65 2e 53 54 4f 52 45 5f 41 4e 59 | ictEntries(Ci.nsICache.STORE_ANY |
a12a0 | 57 48 45 52 45 29 3b 0a 20 20 20 20 20 20 20 20 7d 20 63 61 74 63 68 28 65 72 29 20 7b 7d 0a 20 | WHERE);.........}.catch(er).{}.. |
a12c0 | 20 20 20 20 20 7d 2c 0a 20 20 20 20 20 20 0a 20 20 20 20 20 20 67 65 74 20 63 61 6e 43 6c 65 61 | .....},..............get.canClea |
a12e0 | 72 28 29 0a 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 72 75 65 3b | r().......{.........return.true; |
a1300 | 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 2c 0a 20 20 20 20 0a 20 20 20 20 63 6f 6f 6b 69 65 73 | .......}.....},..........cookies |
a1320 | 3a 20 7b 0a 20 20 20 20 20 20 63 6c 65 61 72 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 20 | :.{.......clear:.function.().... |
a1340 | 20 20 20 7b 0a 20 20 20 20 20 20 20 20 63 6f 6e 73 74 20 43 69 20 3d 20 43 6f 6d 70 6f 6e 65 6e | ...{.........const.Ci.=.Componen |
a1360 | 74 73 2e 69 6e 74 65 72 66 61 63 65 73 3b 0a 20 20 20 20 20 20 20 20 76 61 72 20 63 6f 6f 6b 69 | ts.interfaces;.........var.cooki |
a1380 | 65 4d 67 72 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 | eMgr.=.Components.classes["@mozi |
a13a0 | 6c 6c 61 2e 6f 72 67 2f 63 6f 6f 6b 69 65 6d 61 6e 61 67 65 72 3b 31 22 5d 0a 20 20 20 20 20 20 | lla.org/cookiemanager;1"]....... |
a13c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 | .............................get |
a13e0 | 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 43 6f 6f 6b 69 65 4d 61 6e 61 67 65 72 29 3b 0a 20 20 | Service(Ci.nsICookieManager);... |
a1400 | 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 72 61 6e 67 65 29 20 7b 0a 20 20 20 20 20 20 20 20 | ......if.(this.range).{......... |
a1420 | 20 20 2f 2f 20 49 74 65 72 61 74 65 20 74 68 72 6f 75 67 68 20 74 68 65 20 63 6f 6f 6b 69 65 73 | ..//.Iterate.through.the.cookies |
a1440 | 20 61 6e 64 20 64 65 6c 65 74 65 20 61 6e 79 20 63 72 65 61 74 65 64 20 61 66 74 65 72 20 6f 75 | .and.delete.any.created.after.ou |
a1460 | 72 20 63 75 74 6f 66 66 2e 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 63 6f 6f 6b 69 65 73 45 | r.cutoff............var.cookiesE |
a1480 | 6e 75 6d 20 3d 20 63 6f 6f 6b 69 65 4d 67 72 2e 65 6e 75 6d 65 72 61 74 6f 72 3b 0a 20 20 20 20 | num.=.cookieMgr.enumerator;..... |
a14a0 | 20 20 20 20 20 20 77 68 69 6c 65 20 28 63 6f 6f 6b 69 65 73 45 6e 75 6d 2e 68 61 73 4d 6f 72 65 | ......while.(cookiesEnum.hasMore |
a14c0 | 45 6c 65 6d 65 6e 74 73 28 29 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 63 6f | Elements()).{.............var.co |
a14e0 | 6f 6b 69 65 20 3d 20 63 6f 6f 6b 69 65 73 45 6e 75 6d 2e 67 65 74 4e 65 78 74 28 29 2e 51 75 65 | okie.=.cookiesEnum.getNext().Que |
a1500 | 72 79 49 6e 74 65 72 66 61 63 65 28 43 69 2e 6e 73 49 43 6f 6f 6b 69 65 32 29 3b 0a 20 20 20 20 | ryInterface(Ci.nsICookie2);..... |
a1520 | 20 20 20 20 20 20 20 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 63 6f 6f 6b 69 65 2e | .....................if.(cookie. |
a1540 | 63 72 65 61 74 69 6f 6e 54 69 6d 65 20 3e 20 74 68 69 73 2e 72 61 6e 67 65 5b 30 5d 29 0a 20 20 | creationTime.>.this.range[0])... |
a1560 | 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 54 68 69 73 20 63 6f 6f 6b 69 65 20 77 61 73 20 63 | ............//.This.cookie.was.c |
a1580 | 72 65 61 74 65 64 20 61 66 74 65 72 20 6f 75 72 20 63 75 74 6f 66 66 2c 20 63 6c 65 61 72 20 69 | reated.after.our.cutoff,.clear.i |
a15a0 | 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6f 6b 69 65 4d 67 72 2e 72 65 6d 6f 76 65 | t...............cookieMgr.remove |
a15c0 | 28 63 6f 6f 6b 69 65 2e 68 6f 73 74 2c 20 63 6f 6f 6b 69 65 2e 6e 61 6d 65 2c 20 63 6f 6f 6b 69 | (cookie.host,.cookie.name,.cooki |
a15e0 | 65 2e 70 61 74 68 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 | e.path,.false);...........}..... |
a1600 | 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 20 20 20 20 2f | ....}.........else.{.........../ |
a1620 | 2f 20 52 65 6d 6f 76 65 20 65 76 65 72 79 74 68 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 63 6f | /.Remove.everything...........co |
a1640 | 6f 6b 69 65 4d 67 72 2e 72 65 6d 6f 76 65 41 6c 6c 28 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 0a | okieMgr.removeAll();.........}.. |
a1660 | 20 20 20 20 20 20 20 20 2f 2f 20 63 6c 65 61 72 20 61 6e 79 20 6e 65 74 77 6f 72 6b 20 67 65 6f | ........//.clear.any.network.geo |
a1680 | 6c 6f 63 61 74 69 6f 6e 20 70 72 6f 76 69 64 65 72 20 73 65 73 73 69 6f 6e 73 0a 20 20 20 20 20 | location.provider.sessions...... |
a16a0 | 20 20 20 76 61 72 20 70 73 76 63 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 | ...var.psvc.=.Components.classes |
a16c0 | 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 70 72 65 66 65 72 65 6e 63 65 73 2d 73 65 72 76 69 | ["@mozilla.org/preferences-servi |
a16e0 | 63 65 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ce;1"].......................... |
a1700 | 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 | .....getService(Components.inter |
a1720 | 66 61 63 65 73 2e 6e 73 49 50 72 65 66 53 65 72 76 69 63 65 29 3b 0a 20 20 20 20 20 20 20 20 74 | faces.nsIPrefService);.........t |
a1740 | 72 79 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 62 72 61 6e 63 68 20 3d 20 70 73 | ry.{.............var.branch.=.ps |
a1760 | 76 63 2e 67 65 74 42 72 61 6e 63 68 28 22 67 65 6f 2e 77 69 66 69 2e 61 63 63 65 73 73 5f 74 6f | vc.getBranch("geo.wifi.access_to |
a1780 | 6b 65 6e 2e 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 62 72 61 6e 63 68 2e 64 65 6c 65 74 | ken.");.............branch.delet |
a17a0 | 65 42 72 61 6e 63 68 28 22 22 29 3b 0a 20 20 20 20 20 20 20 20 7d 20 63 61 74 63 68 20 28 65 29 | eBranch("");.........}.catch.(e) |
a17c0 | 20 7b 7d 0a 0a 20 20 20 20 20 20 7d 2c 0a 20 20 20 20 20 20 0a 20 20 20 20 20 20 67 65 74 20 63 | .{}........},..............get.c |
a17e0 | 61 6e 43 6c 65 61 72 28 29 0a 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e | anClear().......{.........return |
a1800 | 20 74 72 75 65 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 2c 0a 20 20 20 20 0a 20 20 20 20 6f | .true;.......}.....},..........o |
a1820 | 66 66 6c 69 6e 65 41 70 70 73 3a 20 7b 0a 20 20 20 20 20 20 63 6c 65 61 72 3a 20 66 75 6e 63 74 | fflineApps:.{.......clear:.funct |
a1840 | 69 6f 6e 20 28 29 0a 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 63 6f 6e 73 74 20 43 63 20 | ion.().......{.........const.Cc. |
a1860 | 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 3b 0a 20 20 20 20 20 20 20 20 63 6f | =.Components.classes;.........co |
a1880 | 6e 73 74 20 43 69 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 3b 0a | nst.Ci.=.Components.interfaces;. |
a18a0 | 20 20 20 20 20 20 20 20 76 61 72 20 63 61 63 68 65 53 65 72 76 69 63 65 20 3d 20 43 63 5b 22 40 | ........var.cacheService.=.Cc["@ |
a18c0 | 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6e 65 74 77 6f 72 6b 2f 63 61 63 68 65 2d 73 65 72 76 69 63 | mozilla.org/network/cache-servic |
a18e0 | 65 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | e;1"]........................... |
a1900 | 20 20 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 43 61 63 68 65 53 65 72 76 69 63 65 29 | ..getService(Ci.nsICacheService) |
a1920 | 3b 0a 20 20 20 20 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 4f 66 66 | ;.........try.{...........//.Off |
a1940 | 6c 69 6e 65 20 61 70 70 20 64 61 74 61 20 69 73 20 22 74 69 6d 65 6c 65 73 73 22 2c 20 61 6e 64 | line.app.data.is."timeless",.and |
a1960 | 20 64 6f 65 73 6e 27 74 20 72 65 73 70 65 63 74 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 74 68 | .doesn't.respect...........//.th |
a1980 | 65 20 73 65 74 74 69 6e 67 20 6f 66 20 74 69 6d 65 73 70 61 6e 2c 20 69 74 20 61 6c 77 61 79 73 | e.setting.of.timespan,.it.always |
a19a0 | 20 63 6c 65 61 72 73 20 65 76 65 72 79 74 68 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 63 61 63 | .clears.everything...........cac |
a19c0 | 68 65 53 65 72 76 69 63 65 2e 65 76 69 63 74 45 6e 74 72 69 65 73 28 43 69 2e 6e 73 49 43 61 63 | heService.evictEntries(Ci.nsICac |
a19e0 | 68 65 2e 53 54 4f 52 45 5f 4f 46 46 4c 49 4e 45 29 3b 0a 20 20 20 20 20 20 20 20 7d 20 63 61 74 | he.STORE_OFFLINE);.........}.cat |
a1a00 | 63 68 28 65 72 29 20 7b 7d 0a 0a 20 20 20 20 20 20 20 20 76 61 72 20 73 74 6f 72 61 67 65 4d 61 | ch(er).{}..........var.storageMa |
a1a20 | 6e 61 67 65 72 53 65 72 76 69 63 65 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f | nagerService.=.Cc["@mozilla.org/ |
a1a40 | 64 6f 6d 2f 73 74 6f 72 61 67 65 6d 61 6e 61 67 65 72 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 | dom/storagemanager;1"].......... |
a1a60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 53 | ............................getS |
a1a80 | 65 72 76 69 63 65 28 43 69 2e 6e 73 49 44 4f 4d 53 74 6f 72 61 67 65 4d 61 6e 61 67 65 72 29 3b | ervice(Ci.nsIDOMStorageManager); |
a1aa0 | 0a 20 20 20 20 20 20 20 20 73 74 6f 72 61 67 65 4d 61 6e 61 67 65 72 53 65 72 76 69 63 65 2e 63 | .........storageManagerService.c |
a1ac0 | 6c 65 61 72 4f 66 66 6c 69 6e 65 41 70 70 73 28 29 3b 0a 20 20 20 20 20 20 7d 2c 0a 0a 20 20 20 | learOfflineApps();.......},..... |
a1ae0 | 20 20 20 67 65 74 20 63 61 6e 43 6c 65 61 72 28 29 0a 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 | ...get.canClear().......{....... |
a1b00 | 20 20 20 20 72 65 74 75 72 6e 20 74 72 75 65 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 2c 0a | ....return.true;.......}.....},. |
a1b20 | 0a 20 20 20 20 68 69 73 74 6f 72 79 3a 20 7b 0a 20 20 20 20 20 20 63 6c 65 61 72 3a 20 66 75 6e | .....history:.{.......clear:.fun |
a1b40 | 63 74 69 6f 6e 20 28 29 0a 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 76 61 72 20 67 6c 6f | ction.().......{.........var.glo |
a1b60 | 62 61 6c 48 69 73 74 6f 72 79 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b | balHistory.=.Components.classes[ |
a1b80 | 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 62 72 6f 77 73 65 72 2f 67 6c 6f 62 61 6c 2d 68 69 73 | "@mozilla.org/browser/global-his |
a1ba0 | 74 6f 72 79 3b 32 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | tory;2"]........................ |
a1bc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f | ................getService(Compo |
a1be0 | 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 42 72 6f 77 73 65 72 48 69 73 74 6f | nents.interfaces.nsIBrowserHisto |
a1c00 | 72 79 29 3b 0a 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 72 61 6e 67 65 29 0a 20 20 20 | ry);.........if.(this.range).... |
a1c20 | 20 20 20 20 20 20 20 67 6c 6f 62 61 6c 48 69 73 74 6f 72 79 2e 51 75 65 72 79 49 6e 74 65 72 66 | .......globalHistory.QueryInterf |
a1c40 | 61 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 42 72 6f | ace(Components.interfaces.nsIBro |
a1c60 | 77 73 65 72 48 69 73 74 6f 72 79 5f 4d 4f 5a 49 4c 4c 41 5f 31 5f 39 5f 31 5f 41 44 44 49 54 49 | wserHistory_MOZILLA_1_9_1_ADDITI |
a1c80 | 4f 4e 53 29 2e 72 65 6d 6f 76 65 56 69 73 69 74 73 42 79 54 69 6d 65 66 72 61 6d 65 28 74 68 69 | ONS).removeVisitsByTimeframe(thi |
a1ca0 | 73 2e 72 61 6e 67 65 5b 30 5d 2c 20 74 68 69 73 2e 72 61 6e 67 65 5b 31 5d 29 3b 0a 20 20 20 20 | s.range[0],.this.range[1]);..... |
a1cc0 | 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 20 20 20 20 67 6c 6f 62 61 6c 48 69 73 74 6f 72 79 | ....else...........globalHistory |
a1ce0 | 2e 72 65 6d 6f 76 65 41 6c 6c 50 61 67 65 73 28 29 3b 0a 20 20 20 20 20 20 20 20 0a 20 20 20 20 | .removeAllPages();.............. |
a1d00 | 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 6f 73 20 3d 20 43 6f 6d | ....try.{...........var.os.=.Com |
a1d20 | 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6f 62 | ponents.classes["@mozilla.org/ob |
a1d40 | 73 65 72 76 65 72 2d 73 65 72 76 69 63 65 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | server-service;1"].............. |
a1d60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 | .................getService(Comp |
a1d80 | 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 4f 62 73 65 72 76 65 72 53 65 72 | onents.interfaces.nsIObserverSer |
a1da0 | 76 69 63 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 6f 73 2e 6e 6f 74 69 66 79 4f 62 73 65 72 76 | vice);...........os.notifyObserv |
a1dc0 | 65 72 73 28 6e 75 6c 6c 2c 20 22 62 72 6f 77 73 65 72 3a 70 75 72 67 65 2d 73 65 73 73 69 6f 6e | ers(null,."browser:purge-session |
a1de0 | 2d 68 69 73 74 6f 72 79 22 2c 20 22 22 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 | -history",."");.........}....... |
a1e00 | 20 20 63 61 74 63 68 20 28 65 29 20 7b 20 7d 0a 20 20 20 20 20 20 20 20 0a 20 20 20 20 20 20 20 | ..catch.(e).{.}................. |
a1e20 | 20 2f 2f 20 43 6c 65 61 72 20 6c 61 73 74 20 55 52 4c 20 6f 66 20 74 68 65 20 4f 70 65 6e 20 57 | .//.Clear.last.URL.of.the.Open.W |
a1e40 | 65 62 20 4c 6f 63 61 74 69 6f 6e 20 64 69 61 6c 6f 67 0a 20 20 20 20 20 20 20 20 76 61 72 20 70 | eb.Location.dialog.........var.p |
a1e60 | 72 65 66 73 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 | refs.=.Components.classes["@mozi |
a1e80 | 6c 6c 61 2e 6f 72 67 2f 70 72 65 66 65 72 65 6e 63 65 73 2d 73 65 72 76 69 63 65 3b 31 22 5d 0a | lla.org/preferences-service;1"]. |
a1ea0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 | ...............................g |
a1ec0 | 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e | etService(Components.interfaces. |
a1ee0 | 6e 73 49 50 72 65 66 42 72 61 6e 63 68 32 29 3b 0a 20 20 20 20 20 20 20 20 74 72 79 20 7b 0a 20 | nsIPrefBranch2);.........try.{.. |
a1f00 | 20 20 20 20 20 20 20 20 20 70 72 65 66 73 2e 63 6c 65 61 72 55 73 65 72 50 72 65 66 28 22 67 65 | .........prefs.clearUserPref("ge |
a1f20 | 6e 65 72 61 6c 2e 6f 70 65 6e 5f 6c 6f 63 61 74 69 6f 6e 2e 6c 61 73 74 5f 75 72 6c 22 29 3b 0a | neral.open_location.last_url");. |
a1f40 | 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 63 61 74 63 68 20 28 65 29 20 7b 20 7d 0a | ........}.........catch.(e).{.}. |
a1f60 | 20 20 20 20 20 20 7d 2c 0a 20 20 20 20 20 20 0a 20 20 20 20 20 20 67 65 74 20 63 61 6e 43 6c 65 | ......},..............get.canCle |
a1f80 | 61 72 28 29 0a 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 2f 2f 20 62 75 67 20 33 34 37 32 | ar().......{.........//.bug.3472 |
a1fa0 | 33 31 3a 20 41 6c 77 61 79 73 20 61 6c 6c 6f 77 20 63 6c 65 61 72 69 6e 67 20 68 69 73 74 6f 72 | 31:.Always.allow.clearing.histor |
a1fc0 | 79 20 64 75 65 20 74 6f 20 64 65 70 65 6e 64 65 6e 63 69 65 73 20 6f 6e 0a 20 20 20 20 20 20 20 | y.due.to.dependencies.on........ |
a1fe0 | 20 2f 2f 20 74 68 65 20 62 72 6f 77 73 65 72 3a 70 75 72 67 65 2d 73 65 73 73 69 6f 6e 2d 68 69 | .//.the.browser:purge-session-hi |
a2000 | 73 74 6f 72 79 20 6e 6f 74 69 66 69 63 61 74 69 6f 6e 2e 20 28 6c 69 6b 65 20 65 72 72 6f 72 20 | story.notification..(like.error. |
a2020 | 63 6f 6e 73 6f 6c 65 29 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 72 75 65 3b 0a 20 20 | console).........return.true;... |
a2040 | 20 20 20 20 7d 0a 20 20 20 20 7d 2c 0a 20 20 20 20 0a 20 20 20 20 66 6f 72 6d 64 61 74 61 3a 20 | ....}.....},..........formdata:. |
a2060 | 7b 0a 20 20 20 20 20 20 63 6c 65 61 72 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 20 20 20 | {.......clear:.function.()...... |
a2080 | 20 7b 0a 20 20 20 20 20 20 20 20 2f 2f 20 43 6c 65 61 72 20 75 6e 64 6f 20 68 69 73 74 6f 72 79 | .{.........//.Clear.undo.history |
a20a0 | 20 6f 66 20 61 6c 6c 20 73 65 61 72 63 68 42 61 72 73 0a 20 20 20 20 20 20 20 20 76 61 72 20 77 | .of.all.searchBars.........var.w |
a20c0 | 69 6e 64 6f 77 4d 61 6e 61 67 65 72 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 | indowManager.=.Components.classe |
a20e0 | 73 5b 27 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 61 70 70 73 68 65 6c 6c 2f 77 69 6e 64 6f 77 2d | s['@mozilla.org/appshell/window- |
a2100 | 6d 65 64 69 61 74 6f 72 3b 31 27 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | mediator;1'].................... |
a2120 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 | ....................getService(C |
a2140 | 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 57 69 6e 64 6f 77 4d 65 | omponents.interfaces.nsIWindowMe |
a2160 | 64 69 61 74 6f 72 29 3b 0a 20 20 20 20 20 20 20 20 76 61 72 20 77 69 6e 64 6f 77 73 20 3d 20 77 | diator);.........var.windows.=.w |
a2180 | 69 6e 64 6f 77 4d 61 6e 61 67 65 72 2e 67 65 74 45 6e 75 6d 65 72 61 74 6f 72 28 22 6e 61 76 69 | indowManager.getEnumerator("navi |
a21a0 | 67 61 74 6f 72 3a 62 72 6f 77 73 65 72 22 29 3b 0a 20 20 20 20 20 20 20 20 77 68 69 6c 65 20 28 | gator:browser");.........while.( |
a21c0 | 77 69 6e 64 6f 77 73 2e 68 61 73 4d 6f 72 65 45 6c 65 6d 65 6e 74 73 28 29 29 20 7b 0a 20 20 20 | windows.hasMoreElements()).{.... |
a21e0 | 20 20 20 20 20 20 20 76 61 72 20 73 65 61 72 63 68 42 61 72 20 3d 20 77 69 6e 64 6f 77 73 2e 67 | .......var.searchBar.=.windows.g |
a2200 | 65 74 4e 65 78 74 28 29 2e 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 | etNext().document.getElementById |
a2220 | 28 22 73 65 61 72 63 68 62 61 72 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 73 65 61 | ("searchbar");...........if.(sea |
a2240 | 72 63 68 42 61 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 73 65 61 72 63 68 42 61 72 2e 74 65 | rchBar).............searchBar.te |
a2260 | 78 74 62 6f 78 2e 72 65 73 65 74 28 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 | xtbox.reset();.........}........ |
a2280 | 20 20 76 61 72 20 66 6f 72 6d 48 69 73 74 6f 72 79 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 | ..var.formHistory.=.Components.c |
a22a0 | 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 73 61 74 63 68 65 6c 2f 66 6f 72 | lasses["@mozilla.org/satchel/for |
a22c0 | 6d 2d 68 69 73 74 6f 72 79 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | m-history;1"]................... |
a22e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 6f | ...................getService(Co |
a2300 | 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 46 6f 72 6d 48 69 73 74 6f | mponents.interfaces.nsIFormHisto |
a2320 | 72 79 32 29 3b 0a 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 72 61 6e 67 65 29 0a 20 20 | ry2);.........if.(this.range)... |
a2340 | 20 20 20 20 20 20 20 20 66 6f 72 6d 48 69 73 74 6f 72 79 2e 72 65 6d 6f 76 65 45 6e 74 72 69 65 | ........formHistory.removeEntrie |
a2360 | 73 42 79 54 69 6d 65 66 72 61 6d 65 28 74 68 69 73 2e 72 61 6e 67 65 5b 30 5d 2c 20 74 68 69 73 | sByTimeframe(this.range[0],.this |
a2380 | 2e 72 61 6e 67 65 5b 31 5d 29 3b 0a 20 20 20 20 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 20 | .range[1]);.........else........ |
a23a0 | 20 20 20 66 6f 72 6d 48 69 73 74 6f 72 79 2e 72 65 6d 6f 76 65 41 6c 6c 45 6e 74 72 69 65 73 28 | ...formHistory.removeAllEntries( |
a23c0 | 29 3b 0a 20 20 20 20 20 20 7d 2c 0a 0a 20 20 20 20 20 20 67 65 74 20 63 61 6e 43 6c 65 61 72 28 | );.......},........get.canClear( |
a23e0 | 29 0a 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 76 61 72 20 77 69 6e 64 6f 77 4d 61 6e 61 | ).......{.........var.windowMana |
a2400 | 67 65 72 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 27 40 6d 6f 7a 69 6c | ger.=.Components.classes['@mozil |
a2420 | 6c 61 2e 6f 72 67 2f 61 70 70 73 68 65 6c 6c 2f 77 69 6e 64 6f 77 2d 6d 65 64 69 61 74 6f 72 3b | la.org/appshell/window-mediator; |
a2440 | 31 27 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | 1']............................. |
a2460 | 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 | ...........getService(Components |
a2480 | 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 57 69 6e 64 6f 77 4d 65 64 69 61 74 6f 72 29 3b 0a | .interfaces.nsIWindowMediator);. |
a24a0 | 20 20 20 20 20 20 20 20 76 61 72 20 77 69 6e 64 6f 77 73 20 3d 20 77 69 6e 64 6f 77 4d 61 6e 61 | ........var.windows.=.windowMana |
a24c0 | 67 65 72 2e 67 65 74 45 6e 75 6d 65 72 61 74 6f 72 28 22 6e 61 76 69 67 61 74 6f 72 3a 62 72 6f | ger.getEnumerator("navigator:bro |
a24e0 | 77 73 65 72 22 29 3b 0a 20 20 20 20 20 20 20 20 77 68 69 6c 65 20 28 77 69 6e 64 6f 77 73 2e 68 | wser");.........while.(windows.h |
a2500 | 61 73 4d 6f 72 65 45 6c 65 6d 65 6e 74 73 28 29 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 76 61 | asMoreElements()).{...........va |
a2520 | 72 20 73 65 61 72 63 68 42 61 72 20 3d 20 77 69 6e 64 6f 77 73 2e 67 65 74 4e 65 78 74 28 29 2e | r.searchBar.=.windows.getNext(). |
a2540 | 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 73 65 61 72 63 68 62 | document.getElementById("searchb |
a2560 | 61 72 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 73 65 61 72 63 68 42 61 72 29 20 7b | ar");...........if.(searchBar).{ |
a2580 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 74 72 61 6e 73 61 63 74 69 6f 6e 4d 67 72 20 | .............var.transactionMgr. |
a25a0 | 3d 20 73 65 61 72 63 68 42 61 72 2e 74 65 78 74 62 6f 78 2e 65 64 69 74 6f 72 2e 74 72 61 6e 73 | =.searchBar.textbox.editor.trans |
a25c0 | 61 63 74 69 6f 6e 4d 61 6e 61 67 65 72 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 73 | actionManager;.............if.(s |
a25e0 | 65 61 72 63 68 42 61 72 2e 76 61 6c 75 65 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | earchBar.value.||............... |
a2600 | 20 20 74 72 61 6e 73 61 63 74 69 6f 6e 4d 67 72 2e 6e 75 6d 62 65 72 4f 66 55 6e 64 6f 49 74 65 | ..transactionMgr.numberOfUndoIte |
a2620 | 6d 73 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 72 61 6e 73 61 63 74 69 6f | ms.||.................transactio |
a2640 | 6e 4d 67 72 2e 6e 75 6d 62 65 72 4f 66 52 65 64 6f 49 74 65 6d 73 29 0a 20 20 20 20 20 20 20 20 | nMgr.numberOfRedoItems)......... |
a2660 | 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 | ......return.true;...........}.. |
a2680 | 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 76 61 72 20 66 6f 72 6d 48 69 73 74 6f 72 | .......}..........var.formHistor |
a26a0 | 79 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 | y.=.Components.classes["@mozilla |
a26c0 | 2e 6f 72 67 2f 73 61 74 63 68 65 6c 2f 66 6f 72 6d 2d 68 69 73 74 6f 72 79 3b 31 22 5d 0a 20 20 | .org/satchel/form-history;1"]... |
a26e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
a2700 | 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 | ...getService(Components.interfa |
a2720 | 63 65 73 2e 6e 73 49 46 6f 72 6d 48 69 73 74 6f 72 79 32 29 3b 0a 20 20 20 20 20 20 20 20 72 65 | ces.nsIFormHistory2);.........re |
a2740 | 74 75 72 6e 20 66 6f 72 6d 48 69 73 74 6f 72 79 2e 68 61 73 45 6e 74 72 69 65 73 3b 0a 20 20 20 | turn.formHistory.hasEntries;.... |
a2760 | 20 20 20 7d 0a 20 20 20 20 7d 2c 0a 20 20 20 20 0a 20 20 20 20 64 6f 77 6e 6c 6f 61 64 73 3a 20 | ...}.....},..........downloads:. |
a2780 | 7b 0a 20 20 20 20 20 20 63 6c 65 61 72 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 20 20 20 | {.......clear:.function.()...... |
a27a0 | 20 7b 0a 20 20 20 20 20 20 20 20 76 61 72 20 64 6c 4d 67 72 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 | .{.........var.dlMgr.=.Component |
a27c0 | 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 64 6f 77 6e 6c 6f 61 64 | s.classes["@mozilla.org/download |
a27e0 | 2d 6d 61 6e 61 67 65 72 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | -manager;1"].................... |
a2800 | 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 | ............getService(Component |
a2820 | 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 44 6f 77 6e 6c 6f 61 64 4d 61 6e 61 67 65 72 29 | s.interfaces.nsIDownloadManager) |
a2840 | 3b 0a 0a 20 20 20 20 20 20 20 20 76 61 72 20 64 6c 49 44 73 54 6f 52 65 6d 6f 76 65 20 3d 20 5b | ;..........var.dlIDsToRemove.=.[ |
a2860 | 5d 3b 0a 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 72 61 6e 67 65 29 20 7b 0a 20 20 20 | ];.........if.(this.range).{.... |
a2880 | 20 20 20 20 20 20 20 2f 2f 20 46 69 72 73 74 2c 20 72 65 6d 6f 76 65 20 74 68 65 20 63 6f 6d 70 | .......//.First,.remove.the.comp |
a28a0 | 6c 65 74 65 64 2f 63 61 6e 63 65 6c 6c 65 64 20 64 6f 77 6e 6c 6f 61 64 73 0a 20 20 20 20 20 20 | leted/cancelled.downloads....... |
a28c0 | 20 20 20 20 64 6c 4d 67 72 2e 72 65 6d 6f 76 65 44 6f 77 6e 6c 6f 61 64 73 42 79 54 69 6d 65 66 | ....dlMgr.removeDownloadsByTimef |
a28e0 | 72 61 6d 65 28 74 68 69 73 2e 72 61 6e 67 65 5b 30 5d 2c 20 74 68 69 73 2e 72 61 6e 67 65 5b 31 | rame(this.range[0],.this.range[1 |
a2900 | 5d 29 3b 0a 20 20 20 20 20 20 20 20 20 20 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 51 75 65 75 | ]);......................//.Queu |
a2920 | 65 20 75 70 20 61 6e 79 20 61 63 74 69 76 65 20 64 6f 77 6e 6c 6f 61 64 73 20 74 68 61 74 20 73 | e.up.any.active.downloads.that.s |
a2940 | 74 61 72 74 65 64 20 69 6e 20 74 68 65 20 74 69 6d 65 20 73 70 61 6e 20 61 73 20 77 65 6c 6c 0a | tarted.in.the.time.span.as.well. |
a2960 | 20 20 20 20 20 20 20 20 20 20 76 61 72 20 64 6c 73 45 6e 75 6d 20 3d 20 64 6c 4d 67 72 2e 61 63 | ..........var.dlsEnum.=.dlMgr.ac |
a2980 | 74 69 76 65 44 6f 77 6e 6c 6f 61 64 73 3b 0a 20 20 20 20 20 20 20 20 20 20 77 68 69 6c 65 28 64 | tiveDownloads;...........while(d |
a29a0 | 6c 73 45 6e 75 6d 2e 68 61 73 4d 6f 72 65 45 6c 65 6d 65 6e 74 73 28 29 29 20 7b 0a 20 20 20 20 | lsEnum.hasMoreElements()).{..... |
a29c0 | 20 20 20 20 20 20 20 20 76 61 72 20 64 6c 20 3d 20 64 6c 73 45 6e 75 6d 2e 6e 65 78 74 28 29 3b | ........var.dl.=.dlsEnum.next(); |
a29e0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 28 64 6c 2e 73 74 61 72 74 54 69 6d 65 20 3e 3d 20 | .............if(dl.startTime.>=. |
a2a00 | 74 68 69 73 2e 72 61 6e 67 65 5b 30 5d 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 6c 49 | this.range[0])...............dlI |
a2a20 | 44 73 54 6f 52 65 6d 6f 76 65 2e 70 75 73 68 28 64 6c 2e 69 64 29 3b 0a 20 20 20 20 20 20 20 20 | DsToRemove.push(dl.id);......... |
a2a40 | 20 20 7d 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 | ..}.........}.........else.{.... |
a2a60 | 20 20 20 20 20 20 20 2f 2f 20 43 6c 65 61 72 20 61 6c 6c 20 63 6f 6d 70 6c 65 74 65 64 2f 63 61 | .......//.Clear.all.completed/ca |
a2a80 | 6e 63 65 6c 6c 65 64 20 64 6f 77 6e 6c 6f 61 64 73 0a 20 20 20 20 20 20 20 20 20 20 64 6c 4d 67 | ncelled.downloads...........dlMg |
a2aa0 | 72 2e 63 6c 65 61 6e 55 70 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 0a 20 20 20 20 20 20 20 20 | r.cleanUp();.................... |
a2ac0 | 20 20 2f 2f 20 51 75 65 75 65 20 75 70 20 61 6c 6c 20 61 63 74 69 76 65 20 6f 6e 65 73 20 61 73 | ..//.Queue.up.all.active.ones.as |
a2ae0 | 20 77 65 6c 6c 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 64 6c 73 45 6e 75 6d 20 3d 20 64 6c | .well...........var.dlsEnum.=.dl |
a2b00 | 4d 67 72 2e 61 63 74 69 76 65 44 6f 77 6e 6c 6f 61 64 73 3b 0a 20 20 20 20 20 20 20 20 20 20 77 | Mgr.activeDownloads;...........w |
a2b20 | 68 69 6c 65 28 64 6c 73 45 6e 75 6d 2e 68 61 73 4d 6f 72 65 45 6c 65 6d 65 6e 74 73 28 29 29 20 | hile(dlsEnum.hasMoreElements()). |
a2b40 | 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 64 6c 49 44 73 54 6f 52 65 6d 6f 76 65 2e 70 75 73 68 | {.............dlIDsToRemove.push |
a2b60 | 28 64 6c 73 45 6e 75 6d 2e 6e 65 78 74 28 29 2e 69 64 29 3b 0a 20 20 20 20 20 20 20 20 20 20 7d | (dlsEnum.next().id);...........} |
a2b80 | 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 0a 20 20 20 20 20 20 20 20 2f 2f 20 52 | .........}..................//.R |
a2ba0 | 65 6d 6f 76 65 20 61 6e 79 20 71 75 65 75 65 64 20 75 70 20 61 63 74 69 76 65 20 64 6f 77 6e 6c | emove.any.queued.up.active.downl |
a2bc0 | 6f 61 64 73 0a 20 20 20 20 20 20 20 20 64 6c 49 44 73 54 6f 52 65 6d 6f 76 65 2e 66 6f 72 45 61 | oads.........dlIDsToRemove.forEa |
a2be0 | 63 68 28 66 75 6e 63 74 69 6f 6e 28 69 64 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 64 6c 4d 67 | ch(function(id).{...........dlMg |
a2c00 | 72 2e 72 65 6d 6f 76 65 44 6f 77 6e 6c 6f 61 64 28 69 64 29 3b 0a 20 20 20 20 20 20 20 20 7d 29 | r.removeDownload(id);.........}) |
a2c20 | 3b 0a 20 20 20 20 20 20 7d 2c 0a 0a 20 20 20 20 20 20 67 65 74 20 63 61 6e 43 6c 65 61 72 28 29 | ;.......},........get.canClear() |
a2c40 | 0a 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 76 61 72 20 64 6c 4d 67 72 20 3d 20 43 6f 6d | .......{.........var.dlMgr.=.Com |
a2c60 | 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 64 6f | ponents.classes["@mozilla.org/do |
a2c80 | 77 6e 6c 6f 61 64 2d 6d 61 6e 61 67 65 72 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | wnload-manager;1"].............. |
a2ca0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d | ..................getService(Com |
a2cc0 | 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 44 6f 77 6e 6c 6f 61 64 4d 61 | ponents.interfaces.nsIDownloadMa |
a2ce0 | 6e 61 67 65 72 29 3b 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 64 6c 4d 67 72 2e 63 61 6e | nager);.........return.dlMgr.can |
a2d00 | 43 6c 65 61 6e 55 70 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 2c 0a 20 20 20 20 0a 20 20 20 | CleanUp;.......}.....},......... |
a2d20 | 20 70 61 73 73 77 6f 72 64 73 3a 20 7b 0a 20 20 20 20 20 20 63 6c 65 61 72 3a 20 66 75 6e 63 74 | .passwords:.{.......clear:.funct |
a2d40 | 69 6f 6e 20 28 29 0a 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 76 61 72 20 70 77 6d 67 72 | ion.().......{.........var.pwmgr |
a2d60 | 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e | .=.Components.classes["@mozilla. |
a2d80 | 6f 72 67 2f 6c 6f 67 69 6e 2d 6d 61 6e 61 67 65 72 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 | org/login-manager;1"]........... |
a2da0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 | .....................getService( |
a2dc0 | 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 4c 6f 67 69 6e 4d 61 | Components.interfaces.nsILoginMa |
a2de0 | 6e 61 67 65 72 29 3b 0a 20 20 20 20 20 20 20 20 2f 2f 20 50 61 73 73 77 6f 72 64 73 20 61 72 65 | nager);.........//.Passwords.are |
a2e00 | 20 74 69 6d 65 6c 65 73 73 2c 20 61 6e 64 20 64 6f 6e 27 74 20 72 65 73 70 65 63 74 20 74 68 65 | .timeless,.and.don't.respect.the |
a2e20 | 20 74 69 6d 65 53 70 61 6e 20 73 65 74 74 69 6e 67 0a 20 20 20 20 20 20 20 20 70 77 6d 67 72 2e | .timeSpan.setting.........pwmgr. |
a2e40 | 72 65 6d 6f 76 65 41 6c 6c 4c 6f 67 69 6e 73 28 29 3b 0a 20 20 20 20 20 20 7d 2c 0a 20 20 20 20 | removeAllLogins();.......},..... |
a2e60 | 20 20 0a 20 20 20 20 20 20 67 65 74 20 63 61 6e 43 6c 65 61 72 28 29 0a 20 20 20 20 20 20 7b 0a | .........get.canClear().......{. |
a2e80 | 20 20 20 20 20 20 20 20 76 61 72 20 70 77 6d 67 72 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 | ........var.pwmgr.=.Components.c |
a2ea0 | 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6c 6f 67 69 6e 2d 6d 61 6e 61 67 | lasses["@mozilla.org/login-manag |
a2ec0 | 65 72 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | er;1"].......................... |
a2ee0 | 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 | ......getService(Components.inte |
a2f00 | 72 66 61 63 65 73 2e 6e 73 49 4c 6f 67 69 6e 4d 61 6e 61 67 65 72 29 3b 0a 20 20 20 20 20 20 20 | rfaces.nsILoginManager);........ |
a2f20 | 20 76 61 72 20 63 6f 75 6e 74 20 3d 20 70 77 6d 67 72 2e 63 6f 75 6e 74 4c 6f 67 69 6e 73 28 22 | .var.count.=.pwmgr.countLogins(" |
a2f40 | 22 2c 20 22 22 2c 20 22 22 29 3b 20 2f 2f 20 63 6f 75 6e 74 20 61 6c 6c 20 6c 6f 67 69 6e 73 0a | ",."",."");.//.count.all.logins. |
a2f60 | 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 28 63 6f 75 6e 74 20 3e 20 30 29 3b 0a 20 20 20 20 | ........return.(count.>.0);..... |
a2f80 | 20 20 7d 0a 20 20 20 20 7d 2c 0a 20 20 20 20 0a 20 20 20 20 73 65 73 73 69 6f 6e 73 3a 20 7b 0a | ..}.....},..........sessions:.{. |
a2fa0 | 20 20 20 20 20 20 63 6c 65 61 72 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 20 20 20 20 7b | ......clear:.function.().......{ |
a2fc0 | 0a 20 20 20 20 20 20 20 20 2f 2f 20 63 6c 65 61 72 20 61 6c 6c 20 61 75 74 68 20 74 6f 6b 65 6e | .........//.clear.all.auth.token |
a2fe0 | 73 0a 20 20 20 20 20 20 20 20 76 61 72 20 73 64 72 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 | s.........var.sdr.=.Components.c |
a3000 | 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 73 65 63 75 72 69 74 79 2f 73 64 | lasses["@mozilla.org/security/sd |
a3020 | 72 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | r;1"]........................... |
a3040 | 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 | ...getService(Components.interfa |
a3060 | 63 65 73 2e 6e 73 49 53 65 63 72 65 74 44 65 63 6f 64 65 72 52 69 6e 67 29 3b 0a 20 20 20 20 20 | ces.nsISecretDecoderRing);...... |
a3080 | 20 20 20 73 64 72 2e 6c 6f 67 6f 75 74 41 6e 64 54 65 61 72 64 6f 77 6e 28 29 3b 0a 0a 20 20 20 | ...sdr.logoutAndTeardown();..... |
a30a0 | 20 20 20 20 20 2f 2f 20 63 6c 65 61 72 20 70 6c 61 69 6e 20 48 54 54 50 20 61 75 74 68 20 73 65 | .....//.clear.plain.HTTP.auth.se |
a30c0 | 73 73 69 6f 6e 73 0a 20 20 20 20 20 20 20 20 76 61 72 20 61 75 74 68 4d 67 72 20 3d 20 43 6f 6d | ssions.........var.authMgr.=.Com |
a30e0 | 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 27 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6e 65 | ponents.classes['@mozilla.org/ne |
a3100 | 74 77 6f 72 6b 2f 68 74 74 70 2d 61 75 74 68 2d 6d 61 6e 61 67 65 72 3b 31 27 5d 0a 20 20 20 20 | twork/http-auth-manager;1']..... |
a3120 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 | .............................get |
a3140 | 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 | Service(Components.interfaces.ns |
a3160 | 49 48 74 74 70 41 75 74 68 4d 61 6e 61 67 65 72 29 3b 0a 20 20 20 20 20 20 20 20 61 75 74 68 4d | IHttpAuthManager);.........authM |
a3180 | 67 72 2e 63 6c 65 61 72 41 6c 6c 28 29 3b 0a 20 20 20 20 20 20 7d 2c 0a 20 20 20 20 20 20 0a 20 | gr.clearAll();.......},......... |
a31a0 | 20 20 20 20 20 67 65 74 20 63 61 6e 43 6c 65 61 72 28 29 0a 20 20 20 20 20 20 7b 0a 20 20 20 20 | .....get.canClear().......{..... |
a31c0 | 20 20 20 20 72 65 74 75 72 6e 20 74 72 75 65 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 2c 0a | ....return.true;.......}.....},. |
a31e0 | 20 20 20 20 0a 20 20 20 20 73 69 74 65 53 65 74 74 69 6e 67 73 3a 20 7b 0a 20 20 20 20 20 20 63 | .........siteSettings:.{.......c |
a3200 | 6c 65 61 72 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 | lear:.function.().......{....... |
a3220 | 20 20 76 61 72 20 70 6d 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 | ..var.pm.=.Components.classes["@ |
a3240 | 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 70 65 72 6d 69 73 73 69 6f 6e 6d 61 6e 61 67 65 72 3b 31 22 | mozilla.org/permissionmanager;1" |
a3260 | 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 | ]............................get |
a3280 | 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 | Service(Components.interfaces.ns |
a32a0 | 49 50 65 72 6d 69 73 73 69 6f 6e 4d 61 6e 61 67 65 72 29 3b 0a 20 20 20 20 20 20 20 20 70 6d 2e | IPermissionManager);.........pm. |
a32c0 | 72 65 6d 6f 76 65 41 6c 6c 28 29 3b 0a 20 20 20 20 20 20 20 20 0a 20 20 20 20 20 20 20 20 76 61 | removeAll();..................va |
a32e0 | 72 20 63 70 73 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a | r.cps.=.Components.classes["@moz |
a3300 | 69 6c 6c 61 2e 6f 72 67 2f 63 6f 6e 74 65 6e 74 2d 70 72 65 66 2f 73 65 72 76 69 63 65 3b 31 22 | illa.org/content-pref/service;1" |
a3320 | 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 | ].............................ge |
a3340 | 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e | tService(Components.interfaces.n |
a3360 | 73 49 43 6f 6e 74 65 6e 74 50 72 65 66 53 65 72 76 69 63 65 29 3b 0a 20 20 20 20 20 20 20 20 63 | sIContentPrefService);.........c |
a3380 | 70 73 2e 72 65 6d 6f 76 65 47 72 6f 75 70 65 64 50 72 65 66 73 28 29 3b 0a 20 20 20 20 20 20 7d | ps.removeGroupedPrefs();.......} |
a33a0 | 2c 0a 20 20 20 20 20 20 0a 20 20 20 20 20 20 67 65 74 20 63 61 6e 43 6c 65 61 72 28 29 0a 20 20 | ,..............get.canClear()... |
a33c0 | 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 72 75 65 3b 0a 20 20 20 20 20 | ....{.........return.true;...... |
a33e0 | 20 7d 0a 20 20 20 20 7d 0a 20 20 7d 0a 7d 3b 0a 0a 0a 0a 2f 2f 20 22 53 74 61 74 69 63 22 20 6d | .}.....}...}.};....//."Static".m |
a3400 | 65 6d 62 65 72 73 0a 53 61 6e 69 74 69 7a 65 72 2e 70 72 65 66 44 6f 6d 61 69 6e 20 20 20 20 20 | embers.Sanitizer.prefDomain..... |
a3420 | 20 20 20 20 20 3d 20 22 70 72 69 76 61 63 79 2e 73 61 6e 69 74 69 7a 65 2e 22 3b 0a 53 61 6e 69 | .....=."privacy.sanitize.";.Sani |
a3440 | 74 69 7a 65 72 2e 70 72 65 66 53 68 75 74 64 6f 77 6e 20 20 20 20 20 20 20 20 3d 20 22 73 61 6e | tizer.prefShutdown........=."san |
a3460 | 69 74 69 7a 65 4f 6e 53 68 75 74 64 6f 77 6e 22 3b 0a 53 61 6e 69 74 69 7a 65 72 2e 70 72 65 66 | itizeOnShutdown";.Sanitizer.pref |
a3480 | 44 69 64 53 68 75 74 64 6f 77 6e 20 20 20 20 20 3d 20 22 64 69 64 53 68 75 74 64 6f 77 6e 53 61 | DidShutdown.....=."didShutdownSa |
a34a0 | 6e 69 74 69 7a 65 22 3b 0a 0a 2f 2f 20 54 69 6d 65 20 73 70 61 6e 20 63 6f 6e 73 74 61 6e 74 73 | nitize";..//.Time.span.constants |
a34c0 | 20 63 6f 72 72 65 73 70 6f 6e 64 69 6e 67 20 74 6f 20 76 61 6c 75 65 73 20 6f 66 20 74 68 65 20 | .corresponding.to.values.of.the. |
a34e0 | 70 72 69 76 61 63 79 2e 73 61 6e 69 74 69 7a 65 2e 74 69 6d 65 53 70 61 6e 0a 2f 2f 20 70 72 65 | privacy.sanitize.timeSpan.//.pre |
a3500 | 66 2e 20 20 55 73 65 64 20 74 6f 20 64 65 74 65 72 6d 69 6e 65 20 68 6f 77 20 6d 75 63 68 20 68 | f...Used.to.determine.how.much.h |
a3520 | 69 73 74 6f 72 79 20 74 6f 20 63 6c 65 61 72 2c 20 66 6f 72 20 76 61 72 69 6f 75 73 20 69 74 65 | istory.to.clear,.for.various.ite |
a3540 | 6d 73 0a 53 61 6e 69 74 69 7a 65 72 2e 54 49 4d 45 53 50 41 4e 5f 45 56 45 52 59 54 48 49 4e 47 | ms.Sanitizer.TIMESPAN_EVERYTHING |
a3560 | 20 3d 20 30 3b 0a 53 61 6e 69 74 69 7a 65 72 2e 54 49 4d 45 53 50 41 4e 5f 48 4f 55 52 20 20 20 | .=.0;.Sanitizer.TIMESPAN_HOUR... |
a3580 | 20 20 20 20 3d 20 31 3b 0a 53 61 6e 69 74 69 7a 65 72 2e 54 49 4d 45 53 50 41 4e 5f 32 48 4f 55 | ....=.1;.Sanitizer.TIMESPAN_2HOU |
a35a0 | 52 53 20 20 20 20 20 3d 20 32 3b 0a 53 61 6e 69 74 69 7a 65 72 2e 54 49 4d 45 53 50 41 4e 5f 34 | RS.....=.2;.Sanitizer.TIMESPAN_4 |
a35c0 | 48 4f 55 52 53 20 20 20 20 20 3d 20 33 3b 0a 53 61 6e 69 74 69 7a 65 72 2e 54 49 4d 45 53 50 41 | HOURS.....=.3;.Sanitizer.TIMESPA |
a35e0 | 4e 5f 54 4f 44 41 59 20 20 20 20 20 20 3d 20 34 3b 0a 0a 2f 2f 20 52 65 74 75 72 6e 20 61 20 32 | N_TODAY......=.4;..//.Return.a.2 |
a3600 | 20 65 6c 65 6d 65 6e 74 20 61 72 72 61 79 20 72 65 70 72 65 73 65 6e 74 69 6e 67 20 74 68 65 20 | .element.array.representing.the. |
a3620 | 73 74 61 72 74 20 61 6e 64 20 65 6e 64 20 74 69 6d 65 73 2c 0a 2f 2f 20 69 6e 20 74 68 65 20 75 | start.and.end.times,.//.in.the.u |
a3640 | 53 65 63 2d 73 69 6e 63 65 2d 65 70 6f 63 68 20 66 6f 72 6d 61 74 20 74 68 61 74 20 50 52 54 69 | Sec-since-epoch.format.that.PRTi |
a3660 | 6d 65 20 6c 69 6b 65 73 2e 20 20 49 66 20 77 65 20 73 68 6f 75 6c 64 0a 2f 2f 20 63 6c 65 61 72 | me.likes...If.we.should.//.clear |
a3680 | 20 65 76 65 72 79 74 68 69 6e 67 2c 20 72 65 74 75 72 6e 20 6e 75 6c 6c 2e 20 20 55 73 65 20 74 | .everything,.return.null...Use.t |
a36a0 | 73 20 69 66 20 69 74 20 69 73 20 64 65 66 69 6e 65 64 3b 20 6f 74 68 65 72 77 69 73 65 0a 2f 2f | s.if.it.is.defined;.otherwise.// |
a36c0 | 20 75 73 65 20 74 68 65 20 74 69 6d 65 53 70 61 6e 20 70 72 65 66 2e 0a 53 61 6e 69 74 69 7a 65 | .use.the.timeSpan.pref..Sanitize |
a36e0 | 72 2e 67 65 74 43 6c 65 61 72 52 61 6e 67 65 20 3d 20 66 75 6e 63 74 69 6f 6e 20 28 74 73 29 20 | r.getClearRange.=.function.(ts). |
a3700 | 7b 0a 20 20 69 66 20 28 74 73 20 3d 3d 3d 20 75 6e 64 65 66 69 6e 65 64 29 0a 20 20 20 20 74 73 | {...if.(ts.===.undefined).....ts |
a3720 | 20 3d 20 53 61 6e 69 74 69 7a 65 72 2e 70 72 65 66 73 2e 67 65 74 49 6e 74 50 72 65 66 28 22 74 | .=.Sanitizer.prefs.getIntPref("t |
a3740 | 69 6d 65 53 70 61 6e 22 29 3b 0a 20 20 69 66 20 28 74 73 20 3d 3d 3d 20 53 61 6e 69 74 69 7a 65 | imeSpan");...if.(ts.===.Sanitize |
a3760 | 72 2e 54 49 4d 45 53 50 41 4e 5f 45 56 45 52 59 54 48 49 4e 47 29 0a 20 20 20 20 72 65 74 75 72 | r.TIMESPAN_EVERYTHING).....retur |
a3780 | 6e 20 6e 75 6c 6c 3b 0a 20 20 0a 20 20 2f 2f 20 50 52 54 69 6d 65 20 69 73 20 6d 69 63 72 6f 73 | n.null;......//.PRTime.is.micros |
a37a0 | 65 63 6f 6e 64 73 20 77 68 69 6c 65 20 4a 53 20 74 69 6d 65 20 69 73 20 6d 69 6c 6c 69 73 65 63 | econds.while.JS.time.is.millisec |
a37c0 | 6f 6e 64 73 0a 20 20 76 61 72 20 65 6e 64 44 61 74 65 20 3d 20 44 61 74 65 2e 6e 6f 77 28 29 20 | onds...var.endDate.=.Date.now(). |
a37e0 | 2a 20 31 30 30 30 3b 0a 20 20 73 77 69 74 63 68 20 28 74 73 29 20 7b 0a 20 20 20 20 63 61 73 65 | *.1000;...switch.(ts).{.....case |
a3800 | 20 53 61 6e 69 74 69 7a 65 72 2e 54 49 4d 45 53 50 41 4e 5f 48 4f 55 52 20 3a 0a 20 20 20 20 20 | .Sanitizer.TIMESPAN_HOUR.:...... |
a3820 | 20 76 61 72 20 73 74 61 72 74 44 61 74 65 20 3d 20 65 6e 64 44 61 74 65 20 2d 20 33 36 30 30 30 | .var.startDate.=.endDate.-.36000 |
a3840 | 30 30 30 30 30 3b 20 2f 2f 20 31 2a 36 30 2a 36 30 2a 31 30 30 30 30 30 30 0a 20 20 20 20 20 20 | 00000;.//.1*60*60*1000000....... |
a3860 | 62 72 65 61 6b 3b 0a 20 20 20 20 63 61 73 65 20 53 61 6e 69 74 69 7a 65 72 2e 54 49 4d 45 53 50 | break;.....case.Sanitizer.TIMESP |
a3880 | 41 4e 5f 32 48 4f 55 52 53 20 3a 0a 20 20 20 20 20 20 73 74 61 72 74 44 61 74 65 20 3d 20 65 6e | AN_2HOURS.:.......startDate.=.en |
a38a0 | 64 44 61 74 65 20 2d 20 37 32 30 30 30 30 30 30 30 30 3b 20 2f 2f 20 32 2a 36 30 2a 36 30 2a 31 | dDate.-.7200000000;.//.2*60*60*1 |
a38c0 | 30 30 30 30 30 30 0a 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 63 61 73 65 20 53 61 6e | 000000.......break;.....case.San |
a38e0 | 69 74 69 7a 65 72 2e 54 49 4d 45 53 50 41 4e 5f 34 48 4f 55 52 53 20 3a 0a 20 20 20 20 20 20 73 | itizer.TIMESPAN_4HOURS.:.......s |
a3900 | 74 61 72 74 44 61 74 65 20 3d 20 65 6e 64 44 61 74 65 20 2d 20 31 34 34 30 30 30 30 30 30 30 30 | tartDate.=.endDate.-.14400000000 |
a3920 | 3b 20 2f 2f 20 34 2a 36 30 2a 36 30 2a 31 30 30 30 30 30 30 0a 20 20 20 20 20 20 62 72 65 61 6b | ;.//.4*60*60*1000000.......break |
a3940 | 3b 0a 20 20 20 20 63 61 73 65 20 53 61 6e 69 74 69 7a 65 72 2e 54 49 4d 45 53 50 41 4e 5f 54 4f | ;.....case.Sanitizer.TIMESPAN_TO |
a3960 | 44 41 59 20 3a 0a 20 20 20 20 20 20 76 61 72 20 64 20 3d 20 6e 65 77 20 44 61 74 65 28 29 3b 20 | DAY.:.......var.d.=.new.Date();. |
a3980 | 20 2f 2f 20 53 74 61 72 74 20 77 69 74 68 20 74 6f 64 61 79 0a 20 20 20 20 20 20 64 2e 73 65 74 | .//.Start.with.today.......d.set |
a39a0 | 48 6f 75 72 73 28 30 29 3b 20 20 20 20 20 20 2f 2f 20 7a 65 72 6f 20 75 73 20 62 61 63 6b 20 74 | Hours(0);......//.zero.us.back.t |
a39c0 | 6f 20 6d 69 64 6e 69 67 68 74 2e 2e 2e 0a 20 20 20 20 20 20 64 2e 73 65 74 4d 69 6e 75 74 65 73 | o.midnight..........d.setMinutes |
a39e0 | 28 30 29 3b 0a 20 20 20 20 20 20 64 2e 73 65 74 53 65 63 6f 6e 64 73 28 30 29 3b 0a 20 20 20 20 | (0);.......d.setSeconds(0);..... |
a3a00 | 20 20 73 74 61 72 74 44 61 74 65 20 3d 20 64 2e 76 61 6c 75 65 4f 66 28 29 20 2a 20 31 30 30 30 | ..startDate.=.d.valueOf().*.1000 |
a3a20 | 3b 20 2f 2f 20 63 6f 6e 76 65 72 74 20 74 6f 20 65 70 6f 63 68 20 75 73 65 63 0a 20 20 20 20 20 | ;.//.convert.to.epoch.usec...... |
a3a40 | 20 62 72 65 61 6b 3b 0a 20 20 20 20 64 65 66 61 75 6c 74 3a 0a 20 20 20 20 20 20 74 68 72 6f 77 | .break;.....default:.......throw |
a3a60 | 20 22 49 6e 76 61 6c 69 64 20 74 69 6d 65 20 73 70 61 6e 20 66 6f 72 20 63 6c 65 61 72 20 70 72 | ."Invalid.time.span.for.clear.pr |
a3a80 | 69 76 61 74 65 20 64 61 74 61 3a 20 22 20 2b 20 74 73 3b 0a 20 20 7d 0a 20 20 72 65 74 75 72 6e | ivate.data:.".+.ts;...}...return |
a3aa0 | 20 5b 73 74 61 72 74 44 61 74 65 2c 20 65 6e 64 44 61 74 65 5d 3b 0a 7d 3b 0a 0a 53 61 6e 69 74 | .[startDate,.endDate];.};..Sanit |
a3ac0 | 69 7a 65 72 2e 5f 70 72 65 66 73 20 3d 20 6e 75 6c 6c 3b 0a 53 61 6e 69 74 69 7a 65 72 2e 5f 5f | izer._prefs.=.null;.Sanitizer.__ |
a3ae0 | 64 65 66 69 6e 65 47 65 74 74 65 72 5f 5f 28 22 70 72 65 66 73 22 2c 20 66 75 6e 63 74 69 6f 6e | defineGetter__("prefs",.function |
a3b00 | 28 29 20 0a 7b 0a 20 20 72 65 74 75 72 6e 20 53 61 6e 69 74 69 7a 65 72 2e 5f 70 72 65 66 73 20 | ()..{...return.Sanitizer._prefs. |
a3b20 | 3f 20 53 61 6e 69 74 69 7a 65 72 2e 5f 70 72 65 66 73 0a 20 20 20 20 3a 20 53 61 6e 69 74 69 7a | ?.Sanitizer._prefs.....:.Sanitiz |
a3b40 | 65 72 2e 5f 70 72 65 66 73 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 | er._prefs.=.Components.classes[" |
a3b60 | 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 70 72 65 66 65 72 65 6e 63 65 73 2d 73 65 72 76 69 63 65 | @mozilla.org/preferences-service |
a3b80 | 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 | ;1"]...........................g |
a3ba0 | 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e | etService(Components.interfaces. |
a3bc0 | 6e 73 49 50 72 65 66 53 65 72 76 69 63 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | nsIPrefService)................. |
a3be0 | 20 20 20 20 20 20 20 20 20 2e 67 65 74 42 72 61 6e 63 68 28 53 61 6e 69 74 69 7a 65 72 2e 70 72 | ..........getBranch(Sanitizer.pr |
a3c00 | 65 66 44 6f 6d 61 69 6e 29 3b 0a 7d 29 3b 0a 0a 2f 2f 20 53 68 6f 77 73 20 73 61 6e 69 74 69 7a | efDomain);.});..//.Shows.sanitiz |
a3c20 | 61 74 69 6f 6e 20 55 49 0a 53 61 6e 69 74 69 7a 65 72 2e 73 68 6f 77 55 49 20 3d 20 66 75 6e 63 | ation.UI.Sanitizer.showUI.=.func |
a3c40 | 74 69 6f 6e 28 61 50 61 72 65 6e 74 57 69 6e 64 6f 77 29 20 0a 7b 0a 20 20 76 61 72 20 77 77 20 | tion(aParentWindow)..{...var.ww. |
a3c60 | 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f | =.Components.classes["@mozilla.o |
a3c80 | 72 67 2f 65 6d 62 65 64 63 6f 6d 70 2f 77 69 6e 64 6f 77 2d 77 61 74 63 68 65 72 3b 31 22 5d 0a | rg/embedcomp/window-watcher;1"]. |
a3ca0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 | ......................getService |
a3cc0 | 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 57 69 6e 64 6f 77 | (Components.interfaces.nsIWindow |
a3ce0 | 57 61 74 63 68 65 72 29 3b 0a 2f 2f 40 6c 69 6e 65 20 34 34 31 20 22 2f 62 75 69 6c 64 73 2f 6d | Watcher);.//@line.441."/builds/m |
a3d00 | 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 | oz2_slave/linux_build/build/brow |
a3d20 | 73 65 72 2f 62 61 73 65 2f 63 6f 6e 74 65 6e 74 2f 73 61 6e 69 74 69 7a 65 2e 6a 73 22 0a 20 20 | ser/base/content/sanitize.js"... |
a3d40 | 77 77 2e 6f 70 65 6e 57 69 6e 64 6f 77 28 61 50 61 72 65 6e 74 57 69 6e 64 6f 77 2c 0a 2f 2f 40 | ww.openWindow(aParentWindow,.//@ |
a3d60 | 6c 69 6e 65 20 34 34 33 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e | line.443."/builds/moz2_slave/lin |
a3d80 | 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 62 61 73 65 2f 63 6f 6e 74 | ux_build/build/browser/base/cont |
a3da0 | 65 6e 74 2f 73 61 6e 69 74 69 7a 65 2e 6a 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ent/sanitize.js"................ |
a3dc0 | 20 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 73 61 6e 69 74 | ."chrome://browser/content/sanit |
a3de0 | 69 7a 65 2e 78 75 6c 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 53 61 6e 69 74 | ize.xul",................."Sanit |
a3e00 | 69 7a 65 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 63 68 72 6f 6d 65 2c 74 69 | ize",................."chrome,ti |
a3e20 | 74 6c 65 62 61 72 2c 64 69 61 6c 6f 67 2c 63 65 6e 74 65 72 73 63 72 65 65 6e 2c 6d 6f 64 61 6c | tlebar,dialog,centerscreen,modal |
a3e40 | 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 75 6c 6c 29 3b 0a 7d 3b 0a 0a 2f 2a | ",.................null);.};../* |
a3e60 | 2a 20 0a 20 2a 20 44 65 6c 65 74 65 73 20 70 72 69 76 61 63 79 20 73 65 6e 73 69 74 69 76 65 20 | *...*.Deletes.privacy.sensitive. |
a3e80 | 64 61 74 61 20 69 6e 20 61 20 62 61 74 63 68 2c 20 6f 70 74 69 6f 6e 61 6c 6c 79 20 73 68 6f 77 | data.in.a.batch,.optionally.show |
a3ea0 | 69 6e 67 20 74 68 65 20 0a 20 2a 20 73 61 6e 69 74 69 7a 65 20 55 49 2c 20 61 63 63 6f 72 64 69 | ing.the...*.sanitize.UI,.accordi |
a3ec0 | 6e 67 20 74 6f 20 75 73 65 72 20 70 72 65 66 65 72 65 6e 63 65 73 0a 20 2a 0a 20 2a 20 40 72 65 | ng.to.user.preferences..*..*.@re |
a3ee0 | 74 75 72 6e 73 20 20 6e 75 6c 6c 20 28 64 69 73 70 6c 61 79 65 64 20 55 49 2c 20 77 68 69 63 68 | turns..null.(displayed.UI,.which |
a3f00 | 20 73 68 6f 75 6c 64 20 68 61 6e 64 6c 65 20 65 72 72 6f 72 73 29 0a 20 2a 2f 0a 53 61 6e 69 74 | .should.handle.errors)..*/.Sanit |
a3f20 | 69 7a 65 72 2e 73 61 6e 69 74 69 7a 65 20 3d 20 66 75 6e 63 74 69 6f 6e 28 61 50 61 72 65 6e 74 | izer.sanitize.=.function(aParent |
a3f40 | 57 69 6e 64 6f 77 29 20 0a 7b 0a 20 20 53 61 6e 69 74 69 7a 65 72 2e 73 68 6f 77 55 49 28 61 50 | Window)..{...Sanitizer.showUI(aP |
a3f60 | 61 72 65 6e 74 57 69 6e 64 6f 77 29 3b 0a 20 20 72 65 74 75 72 6e 20 6e 75 6c 6c 3b 0a 7d 3b 0a | arentWindow);...return.null;.};. |
a3f80 | 0a 53 61 6e 69 74 69 7a 65 72 2e 6f 6e 53 74 61 72 74 75 70 20 3d 20 66 75 6e 63 74 69 6f 6e 28 | .Sanitizer.onStartup.=.function( |
a3fa0 | 29 20 0a 7b 0a 20 20 2f 2f 20 77 65 20 63 68 65 63 6b 20 66 6f 72 20 75 6e 63 6c 65 61 6e 20 65 | )..{...//.we.check.for.unclean.e |
a3fc0 | 78 69 74 20 77 69 74 68 20 70 65 6e 64 69 6e 67 20 73 61 6e 69 74 69 7a 61 74 69 6f 6e 0a 20 20 | xit.with.pending.sanitization... |
a3fe0 | 53 61 6e 69 74 69 7a 65 72 2e 5f 63 68 65 63 6b 41 6e 64 53 61 6e 69 74 69 7a 65 28 29 3b 0a 7d | Sanitizer._checkAndSanitize();.} |
a4000 | 3b 0a 0a 53 61 6e 69 74 69 7a 65 72 2e 6f 6e 53 68 75 74 64 6f 77 6e 20 3d 20 66 75 6e 63 74 69 | ;..Sanitizer.onShutdown.=.functi |
a4020 | 6f 6e 28 29 20 0a 7b 0a 20 20 2f 2f 20 77 65 20 63 68 65 63 6b 20 69 66 20 73 61 6e 69 74 69 7a | on()..{...//.we.check.if.sanitiz |
a4040 | 61 74 69 6f 6e 20 69 73 20 6e 65 65 64 65 64 20 61 6e 64 20 70 65 72 66 6f 72 6d 20 69 74 0a 20 | ation.is.needed.and.perform.it.. |
a4060 | 20 53 61 6e 69 74 69 7a 65 72 2e 5f 63 68 65 63 6b 41 6e 64 53 61 6e 69 74 69 7a 65 28 29 3b 0a | .Sanitizer._checkAndSanitize();. |
a4080 | 7d 3b 0a 0a 2f 2f 20 74 68 69 73 20 69 73 20 63 61 6c 6c 65 64 20 6f 6e 20 73 74 61 72 74 75 70 | };..//.this.is.called.on.startup |
a40a0 | 20 61 6e 64 20 73 68 75 74 64 6f 77 6e 2c 20 74 6f 20 70 65 72 66 6f 72 6d 20 70 65 6e 64 69 6e | .and.shutdown,.to.perform.pendin |
a40c0 | 67 20 73 61 6e 69 74 69 7a 61 74 69 6f 6e 73 0a 53 61 6e 69 74 69 7a 65 72 2e 5f 63 68 65 63 6b | g.sanitizations.Sanitizer._check |
a40e0 | 41 6e 64 53 61 6e 69 74 69 7a 65 20 3d 20 66 75 6e 63 74 69 6f 6e 28 29 20 0a 7b 0a 20 20 63 6f | AndSanitize.=.function()..{...co |
a4100 | 6e 73 74 20 70 72 65 66 73 20 3d 20 53 61 6e 69 74 69 7a 65 72 2e 70 72 65 66 73 3b 0a 20 20 69 | nst.prefs.=.Sanitizer.prefs;...i |
a4120 | 66 20 28 70 72 65 66 73 2e 67 65 74 42 6f 6f 6c 50 72 65 66 28 53 61 6e 69 74 69 7a 65 72 2e 70 | f.(prefs.getBoolPref(Sanitizer.p |
a4140 | 72 65 66 53 68 75 74 64 6f 77 6e 29 20 26 26 20 0a 20 20 20 20 20 20 21 70 72 65 66 73 2e 70 72 | refShutdown).&&........!prefs.pr |
a4160 | 65 66 48 61 73 55 73 65 72 56 61 6c 75 65 28 53 61 6e 69 74 69 7a 65 72 2e 70 72 65 66 44 69 64 | efHasUserValue(Sanitizer.prefDid |
a4180 | 53 68 75 74 64 6f 77 6e 29 29 20 7b 0a 20 20 20 20 2f 2f 20 74 68 69 73 20 69 73 20 61 20 73 68 | Shutdown)).{.....//.this.is.a.sh |
a41a0 | 75 74 64 6f 77 6e 20 6f 72 20 61 20 73 74 61 72 74 75 70 20 61 66 74 65 72 20 61 6e 20 75 6e 63 | utdown.or.a.startup.after.an.unc |
a41c0 | 6c 65 61 6e 20 65 78 69 74 0a 20 20 20 20 76 61 72 20 73 20 3d 20 6e 65 77 20 53 61 6e 69 74 69 | lean.exit.....var.s.=.new.Saniti |
a41e0 | 7a 65 72 28 29 3b 0a 20 20 20 20 73 2e 70 72 65 66 44 6f 6d 61 69 6e 20 3d 20 22 70 72 69 76 61 | zer();.....s.prefDomain.=."priva |
a4200 | 63 79 2e 63 6c 65 61 72 4f 6e 53 68 75 74 64 6f 77 6e 2e 22 3b 0a 20 20 20 20 73 2e 73 61 6e 69 | cy.clearOnShutdown.";.....s.sani |
a4220 | 74 69 7a 65 28 29 20 7c 7c 20 2f 2f 20 73 61 6e 69 74 69 7a 65 28 29 20 72 65 74 75 72 6e 73 20 | tize().||.//.sanitize().returns. |
a4240 | 6e 75 6c 6c 20 6f 6e 20 66 75 6c 6c 20 73 75 63 63 65 73 73 0a 20 20 20 20 20 20 70 72 65 66 73 | null.on.full.success.......prefs |
a4260 | 2e 73 65 74 42 6f 6f 6c 50 72 65 66 28 53 61 6e 69 74 69 7a 65 72 2e 70 72 65 66 44 69 64 53 68 | .setBoolPref(Sanitizer.prefDidSh |
a4280 | 75 74 64 6f 77 6e 2c 20 74 72 75 65 29 3b 0a 20 20 7d 0a 7d 3b 0a 0a 0a 50 4b 03 04 14 00 00 00 | utdown,.true);...}.};...PK...... |
a42a0 | 00 00 f2 4b 18 3b 4f f3 a3 02 d5 18 00 00 d5 18 00 00 1c 00 00 00 63 6f 6e 74 65 6e 74 2f 62 72 | ...K.;O...............content/br |
a42c0 | 6f 77 73 65 72 2f 73 61 6e 69 74 69 7a 65 2e 78 75 6c 3c 3f 78 6d 6c 20 76 65 72 73 69 6f 6e 3d | owser/sanitize.xul<?xml.version= |
a42e0 | 22 31 2e 30 22 3f 3e 0a 0a 0a 3c 3f 78 6d 6c 2d 73 74 79 6c 65 73 68 65 65 74 20 68 72 65 66 3d | "1.0"?>...<?xml-stylesheet.href= |
a4300 | 22 63 68 72 6f 6d 65 3a 2f 2f 67 6c 6f 62 61 6c 2f 73 6b 69 6e 2f 22 3f 3e 0a 3c 3f 78 6d 6c 2d | "chrome://global/skin/"?>.<?xml- |
a4320 | 73 74 79 6c 65 73 68 65 65 74 20 68 72 65 66 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 | stylesheet.href="chrome://browse |
a4340 | 72 2f 73 6b 69 6e 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 70 72 65 66 65 72 65 6e 63 65 73 2e 63 | r/skin/preferences/preferences.c |
a4360 | 73 73 22 20 74 79 70 65 3d 22 74 65 78 74 2f 63 73 73 22 3f 3e 20 0a 3c 3f 78 6d 6c 2d 73 74 79 | ss".type="text/css"?>..<?xml-sty |
a4380 | 6c 65 73 68 65 65 74 20 68 72 65 66 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 73 | lesheet.href="chrome://browser/s |
a43a0 | 6b 69 6e 2f 73 61 6e 69 74 69 7a 65 44 69 61 6c 6f 67 2e 63 73 73 22 3f 3e 0a 0a 0a 3c 3f 78 6d | kin/sanitizeDialog.css"?>...<?xm |
a43c0 | 6c 2d 73 74 79 6c 65 73 68 65 65 74 20 68 72 65 66 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 | l-stylesheet.href="chrome://brow |
a43e0 | 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 73 61 6e 69 74 69 7a 65 44 69 61 6c 6f 67 2e 63 73 73 22 3f | ser/content/sanitizeDialog.css"? |
a4400 | 3e 0a 0a 3c 21 44 4f 43 54 59 50 45 20 70 72 65 66 77 69 6e 64 6f 77 20 5b 0a 20 20 3c 21 45 4e | >..<!DOCTYPE.prefwindow.[...<!EN |
a4420 | 54 49 54 59 20 25 20 62 72 61 6e 64 44 54 44 20 53 59 53 54 45 4d 20 22 63 68 72 6f 6d 65 3a 2f | TITY.%.brandDTD.SYSTEM."chrome:/ |
a4440 | 2f 62 72 61 6e 64 69 6e 67 2f 6c 6f 63 61 6c 65 2f 62 72 61 6e 64 2e 64 74 64 22 3e 0a 20 20 3c | /branding/locale/brand.dtd">...< |
a4460 | 21 45 4e 54 49 54 59 20 25 20 73 61 6e 69 74 69 7a 65 44 54 44 20 53 59 53 54 45 4d 20 22 63 68 | !ENTITY.%.sanitizeDTD.SYSTEM."ch |
a4480 | 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 6c 6f 63 61 6c 65 2f 73 61 6e 69 74 69 7a 65 2e 64 | rome://browser/locale/sanitize.d |
a44a0 | 74 64 22 3e 0a 20 20 25 62 72 61 6e 64 44 54 44 3b 0a 20 20 25 73 61 6e 69 74 69 7a 65 44 54 44 | td">...%brandDTD;...%sanitizeDTD |
a44c0 | 3b 0a 5d 3e 0a 0a 3c 70 72 65 66 77 69 6e 64 6f 77 20 69 64 3d 22 53 61 6e 69 74 69 7a 65 44 69 | ;.]>..<prefwindow.id="SanitizeDi |
a44e0 | 61 6c 6f 67 22 20 74 79 70 65 3d 22 63 68 69 6c 64 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 78 | alog".type="child".............x |
a4500 | 6d 6c 6e 73 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6b 65 79 | mlns="http://www.mozilla.org/key |
a4520 | 6d 61 73 74 65 72 2f 67 61 74 65 6b 65 65 70 65 72 2f 74 68 65 72 65 2e 69 73 2e 6f 6e 6c 79 2e | master/gatekeeper/there.is.only. |
a4540 | 78 75 6c 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 64 6c 67 62 75 74 74 6f 6e 73 3d 22 61 63 63 | xul".............dlgbuttons="acc |
a4560 | 65 70 74 2c 63 61 6e 63 65 6c 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 69 74 6c 65 3d 22 26 | ept,cancel".............title="& |
a4580 | 73 61 6e 69 74 69 7a 65 44 69 61 6c 6f 67 32 2e 74 69 74 6c 65 3b 22 0a 20 20 20 20 20 20 20 20 | sanitizeDialog2.title;"......... |
a45a0 | 20 20 20 20 6e 6f 6e 65 76 65 72 79 74 68 69 6e 67 74 69 74 6c 65 3d 22 26 73 61 6e 69 74 69 7a | ....noneverythingtitle="&sanitiz |
a45c0 | 65 44 69 61 6c 6f 67 32 2e 74 69 74 6c 65 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 73 74 79 | eDialog2.title;".............sty |
a45e0 | 6c 65 3d 22 77 69 64 74 68 3a 20 26 64 69 61 6c 6f 67 2e 77 69 64 74 68 3b 3b 22 0a 20 20 20 20 | le="width:.&dialog.width;;"..... |
a4600 | 20 20 20 20 20 20 20 20 6f 6e 64 69 61 6c 6f 67 61 63 63 65 70 74 3d 22 67 53 61 6e 69 74 69 7a | ........ondialogaccept="gSanitiz |
a4620 | 65 50 72 6f 6d 70 74 44 69 61 6c 6f 67 2e 73 61 6e 69 74 69 7a 65 28 29 3b 22 3e 0a 0a 20 20 3c | ePromptDialog.sanitize();">....< |
a4640 | 70 72 65 66 70 61 6e 65 20 69 64 3d 22 53 61 6e 69 74 69 7a 65 44 69 61 6c 6f 67 50 61 6e 65 22 | prefpane.id="SanitizeDialogPane" |
a4660 | 20 6f 6e 70 61 6e 65 6c 6f 61 64 3d 22 67 53 61 6e 69 74 69 7a 65 50 72 6f 6d 70 74 44 69 61 6c | .onpaneload="gSanitizePromptDial |
a4680 | 6f 67 2e 69 6e 69 74 28 29 3b 22 3e 0a 20 20 20 20 3c 73 74 72 69 6e 67 62 75 6e 64 6c 65 20 69 | og.init();">.....<stringbundle.i |
a46a0 | 64 3d 22 62 75 6e 64 6c 65 42 72 6f 77 73 65 72 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | d="bundleBrowser"............... |
a46c0 | 20 20 20 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 6c 6f 63 61 6c 65 | ....src="chrome://browser/locale |
a46e0 | 2f 62 72 6f 77 73 65 72 2e 70 72 6f 70 65 72 74 69 65 73 22 2f 3e 0a 0a 20 20 20 20 3c 73 63 72 | /browser.properties"/>......<scr |
a4700 | 69 70 74 20 74 79 70 65 3d 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f 6a 61 76 61 73 63 72 69 70 74 | ipt.type="application/javascript |
a4720 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 | ".............src="chrome://brow |
a4740 | 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 73 61 6e 69 74 69 7a 65 2e 6a 73 22 2f 3e 0a 0a 0a 20 20 20 | ser/content/sanitize.js"/>...... |
a4760 | 20 3c 73 63 72 69 70 74 20 74 79 70 65 3d 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f 6a 61 76 61 73 | .<script.type="application/javas |
a4780 | 63 72 69 70 74 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f | cript".............src="chrome:/ |
a47a0 | 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 73 61 6e 69 74 69 7a 65 44 69 61 6c 6f 67 2e | /browser/content/sanitizeDialog. |
a47c0 | 6a 73 22 2f 3e 0a 0a 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 73 20 69 64 3d 22 73 61 6e 69 | js"/>......<preferences.id="sani |
a47e0 | 74 69 7a 65 50 72 65 66 65 72 65 6e 63 65 73 22 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 | tizePreferences">.......<prefere |
a4800 | 6e 63 65 20 69 64 3d 22 70 72 69 76 61 63 79 2e 63 70 64 2e 68 69 73 74 6f 72 79 22 20 20 20 20 | nce.id="privacy.cpd.history".... |
a4820 | 20 20 20 20 20 20 20 20 20 20 20 6e 61 6d 65 3d 22 70 72 69 76 61 63 79 2e 63 70 64 2e 68 69 73 | ...........name="privacy.cpd.his |
a4840 | 74 6f 72 79 22 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 79 70 65 3d 22 62 6f 6f 6c 22 2f | tory"...............type="bool"/ |
a4860 | 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 70 72 69 76 61 63 79 2e | >.......<preference.id="privacy. |
a4880 | 63 70 64 2e 66 6f 72 6d 64 61 74 61 22 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 61 6d 65 3d | cpd.formdata"..............name= |
a48a0 | 22 70 72 69 76 61 63 79 2e 63 70 64 2e 66 6f 72 6d 64 61 74 61 22 20 20 20 20 20 20 20 20 20 20 | "privacy.cpd.formdata".......... |
a48c0 | 20 20 20 20 74 79 70 65 3d 22 62 6f 6f 6c 22 2f 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 | ....type="bool"/>.......<prefere |
a48e0 | 6e 63 65 20 69 64 3d 22 70 72 69 76 61 63 79 2e 63 70 64 2e 70 61 73 73 77 6f 72 64 73 22 20 20 | nce.id="privacy.cpd.passwords".. |
a4900 | 20 20 20 20 20 20 20 20 20 20 20 6e 61 6d 65 3d 22 70 72 69 76 61 63 79 2e 63 70 64 2e 70 61 73 | ...........name="privacy.cpd.pas |
a4920 | 73 77 6f 72 64 73 22 20 20 20 20 20 20 20 20 20 20 20 20 20 74 79 70 65 3d 22 62 6f 6f 6c 22 2f | swords".............type="bool"/ |
a4940 | 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 70 72 69 76 61 63 79 2e | >.......<preference.id="privacy. |
a4960 | 63 70 64 2e 64 6f 77 6e 6c 6f 61 64 73 22 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 61 6d 65 3d | cpd.downloads".............name= |
a4980 | 22 70 72 69 76 61 63 79 2e 63 70 64 2e 64 6f 77 6e 6c 6f 61 64 73 22 20 20 20 20 20 20 20 20 20 | "privacy.cpd.downloads"......... |
a49a0 | 20 20 20 20 74 79 70 65 3d 22 62 6f 6f 6c 22 20 64 69 73 61 62 6c 65 64 3d 22 74 72 75 65 22 2f | ....type="bool".disabled="true"/ |
a49c0 | 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 70 72 69 76 61 63 79 2e | >.......<preference.id="privacy. |
a49e0 | 63 70 64 2e 63 6f 6f 6b 69 65 73 22 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 61 6d 65 3d | cpd.cookies"...............name= |
a4a00 | 22 70 72 69 76 61 63 79 2e 63 70 64 2e 63 6f 6f 6b 69 65 73 22 20 20 20 20 20 20 20 20 20 20 20 | "privacy.cpd.cookies"........... |
a4a20 | 20 20 20 20 74 79 70 65 3d 22 62 6f 6f 6c 22 2f 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 | ....type="bool"/>.......<prefere |
a4a40 | 6e 63 65 20 69 64 3d 22 70 72 69 76 61 63 79 2e 63 70 64 2e 63 61 63 68 65 22 20 20 20 20 20 20 | nce.id="privacy.cpd.cache"...... |
a4a60 | 20 20 20 20 20 20 20 20 20 20 20 6e 61 6d 65 3d 22 70 72 69 76 61 63 79 2e 63 70 64 2e 63 61 63 | ...........name="privacy.cpd.cac |
a4a80 | 68 65 22 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 79 70 65 3d 22 62 6f 6f 6c 22 2f | he".................type="bool"/ |
a4aa0 | 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 70 72 69 76 61 63 79 2e | >.......<preference.id="privacy. |
a4ac0 | 63 70 64 2e 6f 66 66 6c 69 6e 65 41 70 70 73 22 20 20 20 20 20 20 20 20 20 20 20 6e 61 6d 65 3d | cpd.offlineApps"...........name= |
a4ae0 | 22 70 72 69 76 61 63 79 2e 63 70 64 2e 6f 66 66 6c 69 6e 65 41 70 70 73 22 20 20 20 20 20 20 20 | "privacy.cpd.offlineApps"....... |
a4b00 | 20 20 20 20 74 79 70 65 3d 22 62 6f 6f 6c 22 2f 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 | ....type="bool"/>.......<prefere |
a4b20 | 6e 63 65 20 69 64 3d 22 70 72 69 76 61 63 79 2e 63 70 64 2e 73 65 73 73 69 6f 6e 73 22 20 20 20 | nce.id="privacy.cpd.sessions"... |
a4b40 | 20 20 20 20 20 20 20 20 20 20 20 6e 61 6d 65 3d 22 70 72 69 76 61 63 79 2e 63 70 64 2e 73 65 73 | ...........name="privacy.cpd.ses |
a4b60 | 73 69 6f 6e 73 22 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 79 70 65 3d 22 62 6f 6f 6c 22 2f | sions"..............type="bool"/ |
a4b80 | 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 70 72 69 76 61 63 79 2e | >.......<preference.id="privacy. |
a4ba0 | 63 70 64 2e 73 69 74 65 53 65 74 74 69 6e 67 73 22 20 20 20 20 20 20 20 20 20 20 6e 61 6d 65 3d | cpd.siteSettings"..........name= |
a4bc0 | 22 70 72 69 76 61 63 79 2e 63 70 64 2e 73 69 74 65 53 65 74 74 69 6e 67 73 22 20 20 20 20 20 20 | "privacy.cpd.siteSettings"...... |
a4be0 | 20 20 20 20 74 79 70 65 3d 22 62 6f 6f 6c 22 2f 3e 0a 20 20 20 20 3c 2f 70 72 65 66 65 72 65 6e | ....type="bool"/>.....</preferen |
a4c00 | 63 65 73 3e 0a 20 20 20 20 0a 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 73 20 69 64 3d 22 6e | ces>..........<preferences.id="n |
a4c20 | 6f 6e 49 74 65 6d 50 72 65 66 65 72 65 6e 63 65 73 22 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 65 | onItemPreferences">.......<prefe |
a4c40 | 72 65 6e 63 65 20 69 64 3d 22 70 72 69 76 61 63 79 2e 73 61 6e 69 74 69 7a 65 2e 74 69 6d 65 53 | rence.id="privacy.sanitize.timeS |
a4c60 | 70 61 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 61 6d 65 3d 22 70 72 69 | pan"...................name="pri |
a4c80 | 76 61 63 79 2e 73 61 6e 69 74 69 7a 65 2e 74 69 6d 65 53 70 61 6e 22 0a 20 20 20 20 20 20 20 20 | vacy.sanitize.timeSpan"......... |
a4ca0 | 20 20 20 20 20 20 20 20 20 20 74 79 70 65 3d 22 69 6e 74 22 2f 3e 0a 20 20 20 20 3c 2f 70 72 65 | ..........type="int"/>.....</pre |
a4cc0 | 66 65 72 65 6e 63 65 73 3e 0a 0a 20 20 20 20 3c 68 62 6f 78 20 69 64 3d 22 53 61 6e 69 74 69 7a | ferences>......<hbox.id="Sanitiz |
a4ce0 | 65 44 75 72 61 74 69 6f 6e 42 6f 78 22 20 61 6c 69 67 6e 3d 22 63 65 6e 74 65 72 22 3e 0a 20 20 | eDurationBox".align="center">... |
a4d00 | 20 20 20 20 3c 6c 61 62 65 6c 20 76 61 6c 75 65 3d 22 26 63 6c 65 61 72 54 69 6d 65 44 75 72 61 | ....<label.value="&clearTimeDura |
a4d20 | 74 69 6f 6e 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 | tion.label;"..............access |
a4d40 | 6b 65 79 3d 22 26 63 6c 65 61 72 54 69 6d 65 44 75 72 61 74 69 6f 6e 2e 61 63 63 65 73 73 6b 65 | key="&clearTimeDuration.accesske |
a4d60 | 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6e 74 72 6f 6c 3d 22 73 61 6e 69 74 69 | y;"..............control="saniti |
a4d80 | 7a 65 44 75 72 61 74 69 6f 6e 43 68 6f 69 63 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 69 | zeDurationChoice"..............i |
a4da0 | 64 3d 22 73 61 6e 69 74 69 7a 65 44 75 72 61 74 69 6f 6e 4c 61 62 65 6c 22 2f 3e 0a 20 20 20 20 | d="sanitizeDurationLabel"/>..... |
a4dc0 | 20 20 3c 6d 65 6e 75 6c 69 73 74 20 69 64 3d 22 73 61 6e 69 74 69 7a 65 44 75 72 61 74 69 6f 6e | ..<menulist.id="sanitizeDuration |
a4de0 | 43 68 6f 69 63 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 65 66 65 72 65 6e | Choice".................preferen |
a4e00 | 63 65 3d 22 70 72 69 76 61 63 79 2e 73 61 6e 69 74 69 7a 65 2e 74 69 6d 65 53 70 61 6e 22 0a 20 | ce="privacy.sanitize.timeSpan".. |
a4e20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 73 65 6c 65 63 74 3d 22 67 53 61 6e 69 74 69 | ...............onselect="gSaniti |
a4e40 | 7a 65 50 72 6f 6d 70 74 44 69 61 6c 6f 67 2e 73 65 6c 65 63 74 42 79 54 69 6d 65 73 70 61 6e 28 | zePromptDialog.selectByTimespan( |
a4e60 | 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 6c 65 78 3d 22 31 22 3e 0a 20 20 | );".................flex="1">... |
a4e80 | 20 20 20 20 20 20 3c 6d 65 6e 75 70 6f 70 75 70 20 69 64 3d 22 73 61 6e 69 74 69 7a 65 44 75 72 | ......<menupopup.id="sanitizeDur |
a4ea0 | 61 74 69 6f 6e 50 6f 70 75 70 22 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d | ationPopup">...........<menuitem |
a4ec0 | 20 6c 61 62 65 6c 3d 22 26 63 6c 65 61 72 54 69 6d 65 44 75 72 61 74 69 6f 6e 2e 6c 61 73 74 48 | .label="&clearTimeDuration.lastH |
a4ee0 | 6f 75 72 3b 22 20 76 61 6c 75 65 3d 22 31 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e | our;".value="1"/>...........<men |
a4f00 | 75 69 74 65 6d 20 6c 61 62 65 6c 3d 22 26 63 6c 65 61 72 54 69 6d 65 44 75 72 61 74 69 6f 6e 2e | uitem.label="&clearTimeDuration. |
a4f20 | 6c 61 73 74 32 48 6f 75 72 73 3b 22 20 76 61 6c 75 65 3d 22 32 22 2f 3e 0a 20 20 20 20 20 20 20 | last2Hours;".value="2"/>........ |
a4f40 | 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 6c 61 62 65 6c 3d 22 26 63 6c 65 61 72 54 69 6d 65 44 75 | ...<menuitem.label="&clearTimeDu |
a4f60 | 72 61 74 69 6f 6e 2e 6c 61 73 74 34 48 6f 75 72 73 3b 22 20 76 61 6c 75 65 3d 22 33 22 2f 3e 0a | ration.last4Hours;".value="3"/>. |
a4f80 | 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 6c 61 62 65 6c 3d 22 26 63 6c 65 61 | ..........<menuitem.label="&clea |
a4fa0 | 72 54 69 6d 65 44 75 72 61 74 69 6f 6e 2e 74 6f 64 61 79 3b 22 20 76 61 6c 75 65 3d 22 34 22 2f | rTimeDuration.today;".value="4"/ |
a4fc0 | 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 73 65 70 61 72 61 74 6f 72 2f 3e 0a 20 20 20 | >...........<menuseparator/>.... |
a4fe0 | 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 6c 61 62 65 6c 3d 22 26 63 6c 65 61 72 54 69 | .......<menuitem.label="&clearTi |
a5000 | 6d 65 44 75 72 61 74 69 6f 6e 2e 65 76 65 72 79 74 68 69 6e 67 3b 22 20 76 61 6c 75 65 3d 22 30 | meDuration.everything;".value="0 |
a5020 | 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 2f 6d 65 6e 75 70 6f 70 75 70 3e 0a 20 20 20 20 20 20 3c | "/>.........</menupopup>.......< |
a5040 | 2f 6d 65 6e 75 6c 69 73 74 3e 0a 20 20 20 20 20 20 3c 6c 61 62 65 6c 20 69 64 3d 22 73 61 6e 69 | /menulist>.......<label.id="sani |
a5060 | 74 69 7a 65 44 75 72 61 74 69 6f 6e 53 75 66 66 69 78 4c 61 62 65 6c 22 0a 20 20 20 20 20 20 20 | tizeDurationSuffixLabel"........ |
a5080 | 20 20 20 20 20 20 76 61 6c 75 65 3d 22 26 63 6c 65 61 72 54 69 6d 65 44 75 72 61 74 69 6f 6e 2e | ......value="&clearTimeDuration. |
a50a0 | 73 75 66 66 69 78 3b 22 2f 3e 0a 20 20 20 20 3c 2f 68 62 6f 78 3e 0a 0a 20 20 20 20 3c 73 65 70 | suffix;"/>.....</hbox>......<sep |
a50c0 | 61 72 61 74 6f 72 20 63 6c 61 73 73 3d 22 74 68 69 6e 22 2f 3e 0a 0a 0a 20 20 20 20 20 20 3c 76 | arator.class="thin"/>.........<v |
a50e0 | 62 6f 78 20 69 64 3d 22 73 61 6e 69 74 69 7a 65 45 76 65 72 79 74 68 69 6e 67 57 61 72 6e 69 6e | box.id="sanitizeEverythingWarnin |
a5100 | 67 42 6f 78 22 3e 0a 20 20 20 20 20 20 20 20 3c 73 70 61 63 65 72 20 66 6c 65 78 3d 22 31 22 2f | gBox">.........<spacer.flex="1"/ |
a5120 | 3e 0a 20 20 20 20 20 20 20 20 3c 68 62 6f 78 20 61 6c 69 67 6e 3d 22 63 65 6e 74 65 72 22 3e 0a | >.........<hbox.align="center">. |
a5140 | 20 20 20 20 20 20 20 20 20 20 3c 69 6d 61 67 65 20 69 64 3d 22 73 61 6e 69 74 69 7a 65 45 76 65 | ..........<image.id="sanitizeEve |
a5160 | 72 79 74 68 69 6e 67 57 61 72 6e 69 6e 67 49 63 6f 6e 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 | rythingWarningIcon"/>........... |
a5180 | 3c 76 62 6f 78 20 69 64 3d 22 73 61 6e 69 74 69 7a 65 45 76 65 72 79 74 68 69 6e 67 57 61 72 6e | <vbox.id="sanitizeEverythingWarn |
a51a0 | 69 6e 67 44 65 73 63 42 6f 78 22 20 66 6c 65 78 3d 22 31 22 3e 0a 20 20 20 20 20 20 20 20 20 20 | ingDescBox".flex="1">........... |
a51c0 | 20 20 3c 64 65 73 63 72 69 70 74 69 6f 6e 20 69 64 3d 22 73 61 6e 69 74 69 7a 65 45 76 65 72 79 | ..<description.id="sanitizeEvery |
a51e0 | 74 68 69 6e 67 57 61 72 6e 69 6e 67 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 64 65 73 | thingWarning"/>.............<des |
a5200 | 63 72 69 70 74 69 6f 6e 20 69 64 3d 22 73 61 6e 69 74 69 7a 65 45 76 65 72 79 74 68 69 6e 67 55 | cription.id="sanitizeEverythingU |
a5220 | 6e 64 6f 57 61 72 6e 69 6e 67 22 3e 26 73 61 6e 69 74 69 7a 65 45 76 65 72 79 74 68 69 6e 67 55 | ndoWarning">&sanitizeEverythingU |
a5240 | 6e 64 6f 57 61 72 6e 69 6e 67 3b 3c 2f 64 65 73 63 72 69 70 74 69 6f 6e 3e 0a 20 20 20 20 20 20 | ndoWarning;</description>....... |
a5260 | 20 20 20 20 3c 2f 76 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 3c 2f 68 62 6f 78 3e 0a 20 20 20 20 | ....</vbox>.........</hbox>..... |
a5280 | 20 20 20 20 3c 73 70 61 63 65 72 20 66 6c 65 78 3d 22 31 22 2f 3e 0a 20 20 20 20 20 20 3c 2f 76 | ....<spacer.flex="1"/>.......</v |
a52a0 | 62 6f 78 3e 0a 0a 0a 20 20 20 20 3c 73 65 70 61 72 61 74 6f 72 20 63 6c 61 73 73 3d 22 74 68 69 | box>.......<separator.class="thi |
a52c0 | 6e 22 2f 3e 0a 0a 20 20 20 20 3c 68 62 6f 78 20 69 64 3d 22 64 65 74 61 69 6c 73 45 78 70 61 6e | n"/>......<hbox.id="detailsExpan |
a52e0 | 64 65 72 57 72 61 70 70 65 72 22 20 61 6c 69 67 6e 3d 22 63 65 6e 74 65 72 22 3e 0a 20 20 20 20 | derWrapper".align="center">..... |
a5300 | 20 20 3c 62 75 74 74 6f 6e 20 74 79 70 65 3d 22 69 6d 61 67 65 22 0a 20 20 20 20 20 20 20 20 20 | ..<button.type="image".......... |
a5320 | 20 20 20 20 20 69 64 3d 22 64 65 74 61 69 6c 73 45 78 70 61 6e 64 65 72 22 0a 20 20 20 20 20 20 | .....id="detailsExpander"....... |
a5340 | 20 20 20 20 20 20 20 20 63 6c 61 73 73 3d 22 65 78 70 61 6e 64 65 72 2d 64 6f 77 6e 22 0a 20 20 | ........class="expander-down"... |
a5360 | 20 20 20 20 20 20 20 20 20 20 20 20 70 65 72 73 69 73 74 3d 22 63 6c 61 73 73 22 0a 20 20 20 20 | ............persist="class"..... |
a5380 | 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 53 61 6e 69 74 69 7a 65 50 72 | ..........oncommand="gSanitizePr |
a53a0 | 6f 6d 70 74 44 69 61 6c 6f 67 2e 74 6f 67 67 6c 65 49 74 65 6d 4c 69 73 74 28 29 3b 22 2f 3e 0a | omptDialog.toggleItemList();"/>. |
a53c0 | 20 20 20 20 20 20 3c 6c 61 62 65 6c 20 69 64 3d 22 64 65 74 61 69 6c 73 45 78 70 61 6e 64 65 72 | ......<label.id="detailsExpander |
a53e0 | 4c 61 62 65 6c 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 6c 75 65 3d 22 26 64 65 74 61 | Label"..............value="&deta |
a5400 | 69 6c 73 50 72 6f 67 72 65 73 73 69 76 65 44 69 73 63 6c 6f 73 75 72 65 2e 6c 61 62 65 6c 3b 22 | ilsProgressiveDisclosure.label;" |
a5420 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 64 65 74 61 69 6c | ..............accesskey="&detail |
a5440 | 73 50 72 6f 67 72 65 73 73 69 76 65 44 69 73 63 6c 6f 73 75 72 65 2e 61 63 63 65 73 73 6b 65 79 | sProgressiveDisclosure.accesskey |
a5460 | 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6e 74 72 6f 6c 3d 22 64 65 74 61 69 6c 73 | ;"..............control="details |
a5480 | 45 78 70 61 6e 64 65 72 22 2f 3e 0a 20 20 20 20 3c 2f 68 62 6f 78 3e 0a 20 20 20 20 3c 6c 69 73 | Expander"/>.....</hbox>.....<lis |
a54a0 | 74 62 6f 78 20 69 64 3d 22 69 74 65 6d 4c 69 73 74 22 20 72 6f 77 73 3d 22 36 22 20 63 6f 6c 6c | tbox.id="itemList".rows="6".coll |
a54c0 | 61 70 73 65 64 3d 22 74 72 75 65 22 20 70 65 72 73 69 73 74 3d 22 63 6f 6c 6c 61 70 73 65 64 22 | apsed="true".persist="collapsed" |
a54e0 | 3e 0a 20 20 20 20 20 20 3c 6c 69 73 74 69 74 65 6d 20 6c 61 62 65 6c 3d 22 26 69 74 65 6d 48 69 | >.......<listitem.label="&itemHi |
a5500 | 73 74 6f 72 79 41 6e 64 44 6f 77 6e 6c 6f 61 64 73 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 | storyAndDownloads.label;"....... |
a5520 | 20 20 20 20 20 20 20 20 20 20 74 79 70 65 3d 22 63 68 65 63 6b 62 6f 78 22 0a 20 20 20 20 20 20 | ..........type="checkbox"....... |
a5540 | 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 69 74 65 6d 48 69 73 74 6f 72 | ..........accesskey="&itemHistor |
a5560 | 79 41 6e 64 44 6f 77 6e 6c 6f 61 64 73 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 | yAndDownloads.accesskey;"....... |
a5580 | 20 20 20 20 20 20 20 20 20 20 70 72 65 66 65 72 65 6e 63 65 3d 22 70 72 69 76 61 63 79 2e 63 70 | ..........preference="privacy.cp |
a55a0 | 64 2e 68 69 73 74 6f 72 79 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 73 79 6e | d.history".................onsyn |
a55c0 | 63 66 72 6f 6d 70 72 65 66 65 72 65 6e 63 65 3d 22 72 65 74 75 72 6e 20 67 53 61 6e 69 74 69 7a | cfrompreference="return.gSanitiz |
a55e0 | 65 50 72 6f 6d 70 74 44 69 61 6c 6f 67 2e 6f 6e 52 65 61 64 47 65 6e 65 72 69 63 28 29 3b 22 2f | ePromptDialog.onReadGeneric();"/ |
a5600 | 3e 0a 20 20 20 20 20 20 3c 6c 69 73 74 69 74 65 6d 20 6c 61 62 65 6c 3d 22 26 69 74 65 6d 46 6f | >.......<listitem.label="&itemFo |
a5620 | 72 6d 53 65 61 72 63 68 48 69 73 74 6f 72 79 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 | rmSearchHistory.label;"......... |
a5640 | 20 20 20 20 20 20 20 20 74 79 70 65 3d 22 63 68 65 63 6b 62 6f 78 22 0a 20 20 20 20 20 20 20 20 | ........type="checkbox"......... |
a5660 | 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 69 74 65 6d 46 6f 72 6d 53 65 61 72 | ........accesskey="&itemFormSear |
a5680 | 63 68 48 69 73 74 6f 72 79 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 | chHistory.accesskey;"........... |
a56a0 | 20 20 20 20 20 20 70 72 65 66 65 72 65 6e 63 65 3d 22 70 72 69 76 61 63 79 2e 63 70 64 2e 66 6f | ......preference="privacy.cpd.fo |
a56c0 | 72 6d 64 61 74 61 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 73 79 6e 63 66 72 | rmdata".................onsyncfr |
a56e0 | 6f 6d 70 72 65 66 65 72 65 6e 63 65 3d 22 72 65 74 75 72 6e 20 67 53 61 6e 69 74 69 7a 65 50 72 | ompreference="return.gSanitizePr |
a5700 | 6f 6d 70 74 44 69 61 6c 6f 67 2e 6f 6e 52 65 61 64 47 65 6e 65 72 69 63 28 29 3b 22 2f 3e 0a 20 | omptDialog.onReadGeneric();"/>.. |
a5720 | 20 20 20 20 20 3c 6c 69 73 74 69 74 65 6d 20 6c 61 62 65 6c 3d 22 26 69 74 65 6d 43 6f 6f 6b 69 | .....<listitem.label="&itemCooki |
a5740 | 65 73 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 79 70 65 3d | es.label;".................type= |
a5760 | 22 63 68 65 63 6b 62 6f 78 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 | "checkbox".................acces |
a5780 | 73 6b 65 79 3d 22 26 69 74 65 6d 43 6f 6f 6b 69 65 73 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 | skey="&itemCookies.accesskey;".. |
a57a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 65 66 65 72 65 6e 63 65 3d 22 70 72 69 76 61 | ...............preference="priva |
a57c0 | 63 79 2e 63 70 64 2e 63 6f 6f 6b 69 65 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | cy.cpd.cookies"................. |
a57e0 | 6f 6e 73 79 6e 63 66 72 6f 6d 70 72 65 66 65 72 65 6e 63 65 3d 22 72 65 74 75 72 6e 20 67 53 61 | onsyncfrompreference="return.gSa |
a5800 | 6e 69 74 69 7a 65 50 72 6f 6d 70 74 44 69 61 6c 6f 67 2e 6f 6e 52 65 61 64 47 65 6e 65 72 69 63 | nitizePromptDialog.onReadGeneric |
a5820 | 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 6c 69 73 74 69 74 65 6d 20 6c 61 62 65 6c 3d 22 26 69 | ();"/>.......<listitem.label="&i |
a5840 | 74 65 6d 43 61 63 68 65 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | temCache.label;"................ |
a5860 | 20 74 79 70 65 3d 22 63 68 65 63 6b 62 6f 78 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .type="checkbox"................ |
a5880 | 20 61 63 63 65 73 73 6b 65 79 3d 22 26 69 74 65 6d 43 61 63 68 65 2e 61 63 63 65 73 73 6b 65 79 | .accesskey="&itemCache.accesskey |
a58a0 | 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 65 66 65 72 65 6e 63 65 3d 22 70 | ;".................preference="p |
a58c0 | 72 69 76 61 63 79 2e 63 70 64 2e 63 61 63 68 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | rivacy.cpd.cache"............... |
a58e0 | 20 20 6f 6e 73 79 6e 63 66 72 6f 6d 70 72 65 66 65 72 65 6e 63 65 3d 22 72 65 74 75 72 6e 20 67 | ..onsyncfrompreference="return.g |
a5900 | 53 61 6e 69 74 69 7a 65 50 72 6f 6d 70 74 44 69 61 6c 6f 67 2e 6f 6e 52 65 61 64 47 65 6e 65 72 | SanitizePromptDialog.onReadGener |
a5920 | 69 63 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 6c 69 73 74 69 74 65 6d 20 6c 61 62 65 6c 3d 22 | ic();"/>.......<listitem.label=" |
a5940 | 26 69 74 65 6d 41 63 74 69 76 65 4c 6f 67 69 6e 73 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 | &itemActiveLogins.label;"....... |
a5960 | 20 20 20 20 20 20 20 20 20 20 74 79 70 65 3d 22 63 68 65 63 6b 62 6f 78 22 0a 20 20 20 20 20 20 | ..........type="checkbox"....... |
a5980 | 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 69 74 65 6d 41 63 74 69 76 65 | ..........accesskey="&itemActive |
a59a0 | 4c 6f 67 69 6e 73 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | Logins.accesskey;".............. |
a59c0 | 20 20 20 70 72 65 66 65 72 65 6e 63 65 3d 22 70 72 69 76 61 63 79 2e 63 70 64 2e 73 65 73 73 69 | ...preference="privacy.cpd.sessi |
a59e0 | 6f 6e 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 73 79 6e 63 66 72 6f 6d 70 | ons".................onsyncfromp |
a5a00 | 72 65 66 65 72 65 6e 63 65 3d 22 72 65 74 75 72 6e 20 67 53 61 6e 69 74 69 7a 65 50 72 6f 6d 70 | reference="return.gSanitizePromp |
a5a20 | 74 44 69 61 6c 6f 67 2e 6f 6e 52 65 61 64 47 65 6e 65 72 69 63 28 29 3b 22 2f 3e 0a 20 20 20 20 | tDialog.onReadGeneric();"/>..... |
a5a40 | 20 20 3c 6c 69 73 74 69 74 65 6d 20 6c 61 62 65 6c 3d 22 26 69 74 65 6d 53 69 74 65 50 72 65 66 | ..<listitem.label="&itemSitePref |
a5a60 | 65 72 65 6e 63 65 73 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | erences.label;"................. |
a5a80 | 74 79 70 65 3d 22 63 68 65 63 6b 62 6f 78 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | type="checkbox"................. |
a5aa0 | 61 63 63 65 73 73 6b 65 79 3d 22 26 69 74 65 6d 53 69 74 65 50 72 65 66 65 72 65 6e 63 65 73 2e | accesskey="&itemSitePreferences. |
a5ac0 | 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 65 66 | accesskey;".................pref |
a5ae0 | 65 72 65 6e 63 65 3d 22 70 72 69 76 61 63 79 2e 63 70 64 2e 73 69 74 65 53 65 74 74 69 6e 67 73 | erence="privacy.cpd.siteSettings |
a5b00 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 6f 64 75 72 61 74 69 6f 6e 3d 22 74 72 | ".................noduration="tr |
a5b20 | 75 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 73 79 6e 63 66 72 6f 6d 70 72 | ue".................onsyncfrompr |
a5b40 | 65 66 65 72 65 6e 63 65 3d 22 72 65 74 75 72 6e 20 67 53 61 6e 69 74 69 7a 65 50 72 6f 6d 70 74 | eference="return.gSanitizePrompt |
a5b60 | 44 69 61 6c 6f 67 2e 6f 6e 52 65 61 64 47 65 6e 65 72 69 63 28 29 3b 22 2f 3e 0a 20 20 20 20 3c | Dialog.onReadGeneric();"/>.....< |
a5b80 | 2f 6c 69 73 74 62 6f 78 3e 0a 0a 20 20 3c 2f 70 72 65 66 70 61 6e 65 3e 0a 3c 2f 70 72 65 66 77 | /listbox>....</prefpane>.</prefw |
a5ba0 | 69 6e 64 6f 77 3e 0a 50 4b 03 04 14 00 00 00 00 00 f2 4b 18 3b 5b d8 bf 13 29 1f 00 00 29 1f 00 | indow>.PK.........K.;[...)...).. |
a5bc0 | 00 21 00 00 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 73 61 6e 69 74 69 7a 65 44 69 61 | .!...content/browser/sanitizeDia |
a5be0 | 6c 6f 67 2e 6a 73 2f 2a 20 2d 2a 2d 20 4d 6f 64 65 3a 20 4a 61 76 61 3b 20 74 61 62 2d 77 69 64 | log.js/*.-*-.Mode:.Java;.tab-wid |
a5c00 | 74 68 3a 20 32 3b 20 69 6e 64 65 6e 74 2d 74 61 62 73 2d 6d 6f 64 65 3a 20 6e 69 6c 3b 20 63 2d | th:.2;.indent-tabs-mode:.nil;.c- |
a5c20 | 62 61 73 69 63 2d 6f 66 66 73 65 74 3a 20 32 20 2d 2a 2d 20 2a 2f 0a 2f 2a 20 2a 2a 2a 2a 2a 20 | basic-offset:.2.-*-.*/./*.*****. |
a5c40 | 42 45 47 49 4e 20 4c 49 43 45 4e 53 45 20 42 4c 4f 43 4b 20 2a 2a 2a 2a 2a 0a 20 2a 20 56 65 72 | BEGIN.LICENSE.BLOCK.*****..*.Ver |
a5c60 | 73 69 6f 6e 3a 20 4d 50 4c 20 31 2e 31 2f 47 50 4c 20 32 2e 30 2f 4c 47 50 4c 20 32 2e 31 0a 20 | sion:.MPL.1.1/GPL.2.0/LGPL.2.1.. |
a5c80 | 2a 0a 20 2a 20 54 68 65 20 63 6f 6e 74 65 6e 74 73 20 6f 66 20 74 68 69 73 20 66 69 6c 65 20 61 | *..*.The.contents.of.this.file.a |
a5ca0 | 72 65 20 73 75 62 6a 65 63 74 20 74 6f 20 74 68 65 20 4d 6f 7a 69 6c 6c 61 20 50 75 62 6c 69 63 | re.subject.to.the.Mozilla.Public |
a5cc0 | 20 4c 69 63 65 6e 73 65 20 56 65 72 73 69 6f 6e 0a 20 2a 20 31 2e 31 20 28 74 68 65 20 22 4c 69 | .License.Version..*.1.1.(the."Li |
a5ce0 | 63 65 6e 73 65 22 29 3b 20 79 6f 75 20 6d 61 79 20 6e 6f 74 20 75 73 65 20 74 68 69 73 20 66 69 | cense");.you.may.not.use.this.fi |
a5d00 | 6c 65 20 65 78 63 65 70 74 20 69 6e 20 63 6f 6d 70 6c 69 61 6e 63 65 20 77 69 74 68 0a 20 2a 20 | le.except.in.compliance.with..*. |
a5d20 | 74 68 65 20 4c 69 63 65 6e 73 65 2e 20 59 6f 75 20 6d 61 79 20 6f 62 74 61 69 6e 20 61 20 63 6f | the.License..You.may.obtain.a.co |
a5d40 | 70 79 20 6f 66 20 74 68 65 20 4c 69 63 65 6e 73 65 20 61 74 0a 20 2a 20 68 74 74 70 3a 2f 2f 77 | py.of.the.License.at..*.http://w |
a5d60 | 77 77 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 4d 50 4c 2f 0a 20 2a 0a 20 2a 20 53 6f 66 74 77 61 | ww.mozilla.org/MPL/..*..*.Softwa |
a5d80 | 72 65 20 64 69 73 74 72 69 62 75 74 65 64 20 75 6e 64 65 72 20 74 68 65 20 4c 69 63 65 6e 73 65 | re.distributed.under.the.License |
a5da0 | 20 69 73 20 64 69 73 74 72 69 62 75 74 65 64 20 6f 6e 20 61 6e 20 22 41 53 20 49 53 22 20 62 61 | .is.distributed.on.an."AS.IS".ba |
a5dc0 | 73 69 73 2c 0a 20 2a 20 57 49 54 48 4f 55 54 20 57 41 52 52 41 4e 54 59 20 4f 46 20 41 4e 59 20 | sis,..*.WITHOUT.WARRANTY.OF.ANY. |
a5de0 | 4b 49 4e 44 2c 20 65 69 74 68 65 72 20 65 78 70 72 65 73 73 20 6f 72 20 69 6d 70 6c 69 65 64 2e | KIND,.either.express.or.implied. |
a5e00 | 20 53 65 65 20 74 68 65 20 4c 69 63 65 6e 73 65 0a 20 2a 20 66 6f 72 20 74 68 65 20 73 70 65 63 | .See.the.License..*.for.the.spec |
a5e20 | 69 66 69 63 20 6c 61 6e 67 75 61 67 65 20 67 6f 76 65 72 6e 69 6e 67 20 72 69 67 68 74 73 20 61 | ific.language.governing.rights.a |
a5e40 | 6e 64 20 6c 69 6d 69 74 61 74 69 6f 6e 73 20 75 6e 64 65 72 20 74 68 65 0a 20 2a 20 4c 69 63 65 | nd.limitations.under.the..*.Lice |
a5e60 | 6e 73 65 2e 0a 20 2a 0a 20 2a 20 54 68 65 20 4f 72 69 67 69 6e 61 6c 20 43 6f 64 65 20 69 73 20 | nse...*..*.The.Original.Code.is. |
a5e80 | 74 68 65 20 46 69 72 65 66 6f 78 20 53 61 6e 69 74 69 7a 65 72 2e 0a 20 2a 0a 20 2a 20 54 68 65 | the.Firefox.Sanitizer...*..*.The |
a5ea0 | 20 49 6e 69 74 69 61 6c 20 44 65 76 65 6c 6f 70 65 72 20 6f 66 20 74 68 65 20 4f 72 69 67 69 6e | .Initial.Developer.of.the.Origin |
a5ec0 | 61 6c 20 43 6f 64 65 20 69 73 0a 20 2a 20 42 65 6e 20 47 6f 6f 64 67 65 72 2e 0a 20 2a 20 50 6f | al.Code.is..*.Ben.Goodger...*.Po |
a5ee0 | 72 74 69 6f 6e 73 20 63 72 65 61 74 65 64 20 62 79 20 74 68 65 20 49 6e 69 74 69 61 6c 20 44 65 | rtions.created.by.the.Initial.De |
a5f00 | 76 65 6c 6f 70 65 72 20 61 72 65 20 43 6f 70 79 72 69 67 68 74 20 28 43 29 20 32 30 30 35 0a 20 | veloper.are.Copyright.(C).2005.. |
a5f20 | 2a 20 74 68 65 20 49 6e 69 74 69 61 6c 20 44 65 76 65 6c 6f 70 65 72 2e 20 41 6c 6c 20 52 69 67 | *.the.Initial.Developer..All.Rig |
a5f40 | 68 74 73 20 52 65 73 65 72 76 65 64 2e 0a 20 2a 0a 20 2a 20 43 6f 6e 74 72 69 62 75 74 6f 72 28 | hts.Reserved...*..*.Contributor( |
a5f60 | 73 29 3a 0a 20 2a 20 20 20 42 65 6e 20 47 6f 6f 64 67 65 72 20 3c 62 65 6e 40 6d 6f 7a 69 6c 6c | s):..*...Ben.Goodger.<ben@mozill |
a5f80 | 61 2e 6f 72 67 3e 0a 20 2a 20 20 20 47 69 6f 72 67 69 6f 20 4d 61 6f 6e 65 20 3c 67 2e 6d 61 6f | a.org>..*...Giorgio.Maone.<g.mao |
a5fa0 | 6e 65 40 69 6e 66 6f 72 6d 61 63 74 69 6f 6e 2e 63 6f 6d 3e 0a 20 2a 20 20 20 4a 6f 68 6e 61 74 | ne@informaction.com>..*...Johnat |
a5fc0 | 68 61 6e 20 4e 69 67 68 74 69 6e 67 61 6c 65 20 3c 6a 6f 68 6e 61 74 68 40 6d 6f 7a 69 6c 6c 61 | han.Nightingale.<johnath@mozilla |
a5fe0 | 2e 63 6f 6d 3e 0a 20 2a 20 20 20 44 72 65 77 20 57 69 6c 6c 63 6f 78 6f 6e 20 3c 61 64 77 40 6d | .com>..*...Drew.Willcoxon.<adw@m |
a6000 | 6f 7a 69 6c 6c 61 2e 63 6f 6d 3e 0a 20 2a 0a 20 2a 20 41 6c 74 65 72 6e 61 74 69 76 65 6c 79 2c | ozilla.com>..*..*.Alternatively, |
a6020 | 20 74 68 65 20 63 6f 6e 74 65 6e 74 73 20 6f 66 20 74 68 69 73 20 66 69 6c 65 20 6d 61 79 20 62 | .the.contents.of.this.file.may.b |
a6040 | 65 20 75 73 65 64 20 75 6e 64 65 72 20 74 68 65 20 74 65 72 6d 73 20 6f 66 0a 20 2a 20 65 69 74 | e.used.under.the.terms.of..*.eit |
a6060 | 68 65 72 20 74 68 65 20 47 4e 55 20 47 65 6e 65 72 61 6c 20 50 75 62 6c 69 63 20 4c 69 63 65 6e | her.the.GNU.General.Public.Licen |
a6080 | 73 65 20 56 65 72 73 69 6f 6e 20 32 20 6f 72 20 6c 61 74 65 72 20 28 74 68 65 20 22 47 50 4c 22 | se.Version.2.or.later.(the."GPL" |
a60a0 | 29 2c 20 6f 72 0a 20 2a 20 74 68 65 20 47 4e 55 20 4c 65 73 73 65 72 20 47 65 6e 65 72 61 6c 20 | ),.or..*.the.GNU.Lesser.General. |
a60c0 | 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 20 56 65 72 73 69 6f 6e 20 32 2e 31 20 6f 72 20 6c 61 | Public.License.Version.2.1.or.la |
a60e0 | 74 65 72 20 28 74 68 65 20 22 4c 47 50 4c 22 29 2c 0a 20 2a 20 69 6e 20 77 68 69 63 68 20 63 61 | ter.(the."LGPL"),..*.in.which.ca |
a6100 | 73 65 20 74 68 65 20 70 72 6f 76 69 73 69 6f 6e 73 20 6f 66 20 74 68 65 20 47 50 4c 20 6f 72 20 | se.the.provisions.of.the.GPL.or. |
a6120 | 74 68 65 20 4c 47 50 4c 20 61 72 65 20 61 70 70 6c 69 63 61 62 6c 65 20 69 6e 73 74 65 61 64 0a | the.LGPL.are.applicable.instead. |
a6140 | 20 2a 20 6f 66 20 74 68 6f 73 65 20 61 62 6f 76 65 2e 20 49 66 20 79 6f 75 20 77 69 73 68 20 74 | .*.of.those.above..If.you.wish.t |
a6160 | 6f 20 61 6c 6c 6f 77 20 75 73 65 20 6f 66 20 79 6f 75 72 20 76 65 72 73 69 6f 6e 20 6f 66 20 74 | o.allow.use.of.your.version.of.t |
a6180 | 68 69 73 20 66 69 6c 65 20 6f 6e 6c 79 0a 20 2a 20 75 6e 64 65 72 20 74 68 65 20 74 65 72 6d 73 | his.file.only..*.under.the.terms |
a61a0 | 20 6f 66 20 65 69 74 68 65 72 20 74 68 65 20 47 50 4c 20 6f 72 20 74 68 65 20 4c 47 50 4c 2c 20 | .of.either.the.GPL.or.the.LGPL,. |
a61c0 | 61 6e 64 20 6e 6f 74 20 74 6f 20 61 6c 6c 6f 77 20 6f 74 68 65 72 73 20 74 6f 0a 20 2a 20 75 73 | and.not.to.allow.others.to..*.us |
a61e0 | 65 20 79 6f 75 72 20 76 65 72 73 69 6f 6e 20 6f 66 20 74 68 69 73 20 66 69 6c 65 20 75 6e 64 65 | e.your.version.of.this.file.unde |
a6200 | 72 20 74 68 65 20 74 65 72 6d 73 20 6f 66 20 74 68 65 20 4d 50 4c 2c 20 69 6e 64 69 63 61 74 65 | r.the.terms.of.the.MPL,.indicate |
a6220 | 20 79 6f 75 72 0a 20 2a 20 64 65 63 69 73 69 6f 6e 20 62 79 20 64 65 6c 65 74 69 6e 67 20 74 68 | .your..*.decision.by.deleting.th |
a6240 | 65 20 70 72 6f 76 69 73 69 6f 6e 73 20 61 62 6f 76 65 20 61 6e 64 20 72 65 70 6c 61 63 65 20 74 | e.provisions.above.and.replace.t |
a6260 | 68 65 6d 20 77 69 74 68 20 74 68 65 20 6e 6f 74 69 63 65 0a 20 2a 20 61 6e 64 20 6f 74 68 65 72 | hem.with.the.notice..*.and.other |
a6280 | 20 70 72 6f 76 69 73 69 6f 6e 73 20 72 65 71 75 69 72 65 64 20 62 79 20 74 68 65 20 47 50 4c 20 | .provisions.required.by.the.GPL. |
a62a0 | 6f 72 20 74 68 65 20 4c 47 50 4c 2e 20 49 66 20 79 6f 75 20 64 6f 20 6e 6f 74 20 64 65 6c 65 74 | or.the.LGPL..If.you.do.not.delet |
a62c0 | 65 0a 20 2a 20 74 68 65 20 70 72 6f 76 69 73 69 6f 6e 73 20 61 62 6f 76 65 2c 20 61 20 72 65 63 | e..*.the.provisions.above,.a.rec |
a62e0 | 69 70 69 65 6e 74 20 6d 61 79 20 75 73 65 20 79 6f 75 72 20 76 65 72 73 69 6f 6e 20 6f 66 20 74 | ipient.may.use.your.version.of.t |
a6300 | 68 69 73 20 66 69 6c 65 20 75 6e 64 65 72 0a 20 2a 20 74 68 65 20 74 65 72 6d 73 20 6f 66 20 61 | his.file.under..*.the.terms.of.a |
a6320 | 6e 79 20 6f 6e 65 20 6f 66 20 74 68 65 20 4d 50 4c 2c 20 74 68 65 20 47 50 4c 20 6f 72 20 74 68 | ny.one.of.the.MPL,.the.GPL.or.th |
a6340 | 65 20 4c 47 50 4c 2e 0a 20 2a 0a 20 2a 20 2a 2a 2a 2a 2a 20 45 4e 44 20 4c 49 43 45 4e 53 45 20 | e.LGPL...*..*.*****.END.LICENSE. |
a6360 | 42 4c 4f 43 4b 20 2a 2a 2a 2a 2a 20 2a 2f 0a 0a 63 6f 6e 73 74 20 43 63 20 3d 20 43 6f 6d 70 6f | BLOCK.*****.*/..const.Cc.=.Compo |
a6380 | 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 3b 0a 63 6f 6e 73 74 20 43 69 20 3d 20 43 6f 6d 70 6f 6e | nents.classes;.const.Ci.=.Compon |
a63a0 | 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 3b 0a 0a 76 61 72 20 67 53 61 6e 69 74 69 7a 65 50 | ents.interfaces;..var.gSanitizeP |
a63c0 | 72 6f 6d 70 74 44 69 61 6c 6f 67 20 3d 20 7b 0a 0a 20 20 67 65 74 20 62 75 6e 64 6c 65 42 72 6f | romptDialog.=.{....get.bundleBro |
a63e0 | 77 73 65 72 28 29 0a 20 20 7b 0a 20 20 20 20 69 66 20 28 21 74 68 69 73 2e 5f 62 75 6e 64 6c 65 | wser()...{.....if.(!this._bundle |
a6400 | 42 72 6f 77 73 65 72 29 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 62 75 6e 64 6c 65 42 72 6f 77 73 | Browser).......this._bundleBrows |
a6420 | 65 72 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 62 75 | er.=.document.getElementById("bu |
a6440 | 6e 64 6c 65 42 72 6f 77 73 65 72 22 29 3b 0a 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f | ndleBrowser");.....return.this._ |
a6460 | 62 75 6e 64 6c 65 42 72 6f 77 73 65 72 3b 0a 20 20 7d 2c 0a 0a 20 20 67 65 74 20 73 65 6c 65 63 | bundleBrowser;...},....get.selec |
a6480 | 74 65 64 54 69 6d 65 73 70 61 6e 28 29 0a 20 20 7b 0a 20 20 20 20 76 61 72 20 64 75 72 4c 69 73 | tedTimespan()...{.....var.durLis |
a64a0 | 74 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 73 61 6e | t.=.document.getElementById("san |
a64c0 | 69 74 69 7a 65 44 75 72 61 74 69 6f 6e 43 68 6f 69 63 65 22 29 3b 0a 20 20 20 20 72 65 74 75 72 | itizeDurationChoice");.....retur |
a64e0 | 6e 20 70 61 72 73 65 49 6e 74 28 64 75 72 4c 69 73 74 2e 76 61 6c 75 65 29 3b 0a 20 20 7d 2c 0a | n.parseInt(durList.value);...},. |
a6500 | 0a 20 20 67 65 74 20 73 61 6e 69 74 69 7a 65 50 72 65 66 65 72 65 6e 63 65 73 28 29 0a 20 20 7b | ...get.sanitizePreferences()...{ |
a6520 | 0a 20 20 20 20 69 66 20 28 21 74 68 69 73 2e 5f 73 61 6e 69 74 69 7a 65 50 72 65 66 65 72 65 6e | .....if.(!this._sanitizePreferen |
a6540 | 63 65 73 29 20 7b 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 73 61 6e 69 74 69 7a 65 50 72 65 66 65 | ces).{.......this._sanitizePrefe |
a6560 | 72 65 6e 63 65 73 20 3d 0a 20 20 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 | rences.=.........document.getEle |
a6580 | 6d 65 6e 74 42 79 49 64 28 22 73 61 6e 69 74 69 7a 65 50 72 65 66 65 72 65 6e 63 65 73 22 29 3b | mentById("sanitizePreferences"); |
a65a0 | 0a 20 20 20 20 7d 0a 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 73 61 6e 69 74 69 7a 65 | .....}.....return.this._sanitize |
a65c0 | 50 72 65 66 65 72 65 6e 63 65 73 3b 0a 20 20 7d 2c 0a 0a 20 20 67 65 74 20 77 61 72 6e 69 6e 67 | Preferences;...},....get.warning |
a65e0 | 42 6f 78 28 29 0a 20 20 7b 0a 20 20 20 20 72 65 74 75 72 6e 20 64 6f 63 75 6d 65 6e 74 2e 67 65 | Box()...{.....return.document.ge |
a6600 | 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 73 61 6e 69 74 69 7a 65 45 76 65 72 79 74 68 69 6e 67 | tElementById("sanitizeEverything |
a6620 | 57 61 72 6e 69 6e 67 42 6f 78 22 29 3b 0a 20 20 7d 2c 0a 0a 20 20 69 6e 69 74 3a 20 66 75 6e 63 | WarningBox");...},....init:.func |
a6640 | 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 2f 2f 20 54 68 69 73 20 69 73 20 75 73 65 64 20 | tion.()...{.....//.This.is.used. |
a6660 | 62 79 20 73 65 6c 65 63 74 42 79 54 69 6d 65 73 70 61 6e 28 29 20 74 6f 20 64 65 74 65 72 6d 69 | by.selectByTimespan().to.determi |
a6680 | 6e 65 20 69 66 20 74 68 65 20 77 69 6e 64 6f 77 20 68 61 73 20 6c 6f 61 64 65 64 2e 0a 20 20 20 | ne.if.the.window.has.loaded..... |
a66a0 | 20 74 68 69 73 2e 5f 69 6e 69 74 65 64 20 3d 20 74 72 75 65 3b 0a 0a 20 20 20 20 76 61 72 20 73 | .this._inited.=.true;......var.s |
a66c0 | 20 3d 20 6e 65 77 20 53 61 6e 69 74 69 7a 65 72 28 29 3b 0a 20 20 20 20 73 2e 70 72 65 66 44 6f | .=.new.Sanitizer();.....s.prefDo |
a66e0 | 6d 61 69 6e 20 3d 20 22 70 72 69 76 61 63 79 2e 63 70 64 2e 22 3b 0a 20 20 20 20 66 6f 72 20 28 | main.=."privacy.cpd.";.....for.( |
a6700 | 6c 65 74 20 69 20 3d 20 30 3b 20 69 20 3c 20 74 68 69 73 2e 73 61 6e 69 74 69 7a 65 50 72 65 66 | let.i.=.0;.i.<.this.sanitizePref |
a6720 | 65 72 65 6e 63 65 73 2e 63 68 69 6c 64 4e 6f 64 65 73 2e 6c 65 6e 67 74 68 3b 20 2b 2b 69 29 20 | erences.childNodes.length;.++i). |
a6740 | 7b 0a 20 20 20 20 20 20 76 61 72 20 70 72 65 66 65 72 65 6e 63 65 20 3d 20 74 68 69 73 2e 73 61 | {.......var.preference.=.this.sa |
a6760 | 6e 69 74 69 7a 65 50 72 65 66 65 72 65 6e 63 65 73 2e 63 68 69 6c 64 4e 6f 64 65 73 5b 69 5d 3b | nitizePreferences.childNodes[i]; |
a6780 | 0a 20 20 20 20 20 20 76 61 72 20 6e 61 6d 65 20 3d 20 73 2e 67 65 74 4e 61 6d 65 46 72 6f 6d 50 | .......var.name.=.s.getNameFromP |
a67a0 | 72 65 66 65 72 65 6e 63 65 28 70 72 65 66 65 72 65 6e 63 65 2e 6e 61 6d 65 29 3b 0a 20 20 20 20 | reference(preference.name);..... |
a67c0 | 20 20 69 66 20 28 21 73 2e 63 61 6e 43 6c 65 61 72 49 74 65 6d 28 6e 61 6d 65 29 29 20 0a 20 20 | ..if.(!s.canClearItem(name)).... |
a67e0 | 20 20 20 20 20 20 70 72 65 66 65 72 65 6e 63 65 2e 64 69 73 61 62 6c 65 64 20 3d 20 74 72 75 65 | ......preference.disabled.=.true |
a6800 | 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 64 6f 63 75 6d 65 6e 74 45 6c | ;.....}......document.documentEl |
a6820 | 65 6d 65 6e 74 2e 67 65 74 42 75 74 74 6f 6e 28 22 61 63 63 65 70 74 22 29 2e 6c 61 62 65 6c 20 | ement.getButton("accept").label. |
a6840 | 3d 0a 20 20 20 20 20 20 74 68 69 73 2e 62 75 6e 64 6c 65 42 72 6f 77 73 65 72 2e 67 65 74 53 74 | =.......this.bundleBrowser.getSt |
a6860 | 72 69 6e 67 28 22 73 61 6e 69 74 69 7a 65 42 75 74 74 6f 6e 4f 4b 22 29 3b 0a 0a 20 20 20 20 69 | ring("sanitizeButtonOK");......i |
a6880 | 66 20 28 74 68 69 73 2e 73 65 6c 65 63 74 65 64 54 69 6d 65 73 70 61 6e 20 3d 3d 3d 20 53 61 6e | f.(this.selectedTimespan.===.San |
a68a0 | 69 74 69 7a 65 72 2e 54 49 4d 45 53 50 41 4e 5f 45 56 45 52 59 54 48 49 4e 47 29 20 7b 0a 20 20 | itizer.TIMESPAN_EVERYTHING).{... |
a68c0 | 20 20 20 20 74 68 69 73 2e 65 6e 73 75 72 65 57 61 72 6e 69 6e 67 49 73 49 6e 69 74 65 64 28 29 | ....this.ensureWarningIsInited() |
a68e0 | 3b 0a 20 20 20 20 20 20 74 68 69 73 2e 77 61 72 6e 69 6e 67 42 6f 78 2e 68 69 64 64 65 6e 20 3d | ;.......this.warningBox.hidden.= |
a6900 | 20 66 61 6c 73 65 3b 0a 20 20 20 20 7d 0a 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 74 68 69 | .false;.....}.....else.......thi |
a6920 | 73 2e 77 61 72 6e 69 6e 67 42 6f 78 2e 68 69 64 64 65 6e 20 3d 20 74 72 75 65 3b 0a 20 20 7d 2c | s.warningBox.hidden.=.true;...}, |
a6940 | 0a 0a 20 20 73 65 6c 65 63 74 42 79 54 69 6d 65 73 70 61 6e 3a 20 66 75 6e 63 74 69 6f 6e 20 28 | ....selectByTimespan:.function.( |
a6960 | 29 0a 20 20 7b 0a 20 20 20 20 2f 2f 20 54 68 69 73 20 6d 65 74 68 6f 64 20 69 73 20 74 68 65 20 | )...{.....//.This.method.is.the. |
a6980 | 6f 6e 73 65 6c 65 63 74 20 68 61 6e 64 6c 65 72 20 66 6f 72 20 74 68 65 20 64 75 72 61 74 69 6f | onselect.handler.for.the.duratio |
a69a0 | 6e 20 64 72 6f 70 64 6f 77 6e 2e 20 20 41 73 20 61 0a 20 20 20 20 2f 2f 20 72 65 73 75 6c 74 20 | n.dropdown...As.a.....//.result. |
a69c0 | 69 74 27 73 20 63 61 6c 6c 65 64 20 61 20 63 6f 75 70 6c 65 20 6f 66 20 74 69 6d 65 73 20 62 65 | it's.called.a.couple.of.times.be |
a69e0 | 66 6f 72 65 20 6f 6e 6c 6f 61 64 20 63 61 6c 6c 73 20 69 6e 69 74 28 29 2e 0a 20 20 20 20 69 66 | fore.onload.calls.init()......if |
a6a00 | 20 28 21 74 68 69 73 2e 5f 69 6e 69 74 65 64 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a | .(!this._inited).......return;.. |
a6a20 | 20 20 20 20 76 61 72 20 77 61 72 6e 69 6e 67 42 6f 78 20 3d 20 74 68 69 73 2e 77 61 72 6e 69 6e | ....var.warningBox.=.this.warnin |
a6a40 | 67 42 6f 78 3b 0a 0a 20 20 20 20 2f 2f 20 49 66 20 63 6c 65 61 72 69 6e 67 20 65 76 65 72 79 74 | gBox;......//.If.clearing.everyt |
a6a60 | 68 69 6e 67 0a 20 20 20 20 69 66 20 28 74 68 69 73 2e 73 65 6c 65 63 74 65 64 54 69 6d 65 73 70 | hing.....if.(this.selectedTimesp |
a6a80 | 61 6e 20 3d 3d 3d 20 53 61 6e 69 74 69 7a 65 72 2e 54 49 4d 45 53 50 41 4e 5f 45 56 45 52 59 54 | an.===.Sanitizer.TIMESPAN_EVERYT |
a6aa0 | 48 49 4e 47 29 20 7b 0a 20 20 20 20 20 20 74 68 69 73 2e 65 6e 73 75 72 65 57 61 72 6e 69 6e 67 | HING).{.......this.ensureWarning |
a6ac0 | 49 73 49 6e 69 74 65 64 28 29 3b 0a 20 20 20 20 20 20 69 66 20 28 77 61 72 6e 69 6e 67 42 6f 78 | IsInited();.......if.(warningBox |
a6ae0 | 2e 68 69 64 64 65 6e 29 20 7b 0a 20 20 20 20 20 20 20 20 77 61 72 6e 69 6e 67 42 6f 78 2e 68 69 | .hidden).{.........warningBox.hi |
a6b00 | 64 64 65 6e 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 20 20 20 77 69 6e 64 6f 77 2e 72 65 73 | dden.=.false;.........window.res |
a6b20 | 69 7a 65 42 79 28 30 2c 20 77 61 72 6e 69 6e 67 42 6f 78 2e 62 6f 78 4f 62 6a 65 63 74 2e 68 65 | izeBy(0,.warningBox.boxObject.he |
a6b40 | 69 67 68 74 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 77 69 6e 64 6f 77 2e 64 6f 63 75 | ight);.......}.......window.docu |
a6b60 | 6d 65 6e 74 2e 74 69 74 6c 65 20 3d 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 62 75 6e 64 6c 65 | ment.title.=.........this.bundle |
a6b80 | 42 72 6f 77 73 65 72 2e 67 65 74 53 74 72 69 6e 67 28 22 73 61 6e 69 74 69 7a 65 44 69 61 6c 6f | Browser.getString("sanitizeDialo |
a6ba0 | 67 32 2e 65 76 65 72 79 74 68 69 6e 67 2e 74 69 74 6c 65 22 29 3b 0a 20 20 20 20 20 20 72 65 74 | g2.everything.title");.......ret |
a6bc0 | 75 72 6e 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 2f 2f 20 49 66 20 63 6c 65 61 72 69 6e 67 20 61 | urn;.....}......//.If.clearing.a |
a6be0 | 20 73 70 65 63 69 66 69 63 20 74 69 6d 65 20 72 61 6e 67 65 0a 20 20 20 20 69 66 20 28 21 77 61 | .specific.time.range.....if.(!wa |
a6c00 | 72 6e 69 6e 67 42 6f 78 2e 68 69 64 64 65 6e 29 20 7b 0a 20 20 20 20 20 20 77 69 6e 64 6f 77 2e | rningBox.hidden).{.......window. |
a6c20 | 72 65 73 69 7a 65 42 79 28 30 2c 20 2d 77 61 72 6e 69 6e 67 42 6f 78 2e 62 6f 78 4f 62 6a 65 63 | resizeBy(0,.-warningBox.boxObjec |
a6c40 | 74 2e 68 65 69 67 68 74 29 3b 0a 20 20 20 20 20 20 77 61 72 6e 69 6e 67 42 6f 78 2e 68 69 64 64 | t.height);.......warningBox.hidd |
a6c60 | 65 6e 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 7d 0a 20 20 20 20 77 69 6e 64 6f 77 2e 64 6f 63 75 | en.=.true;.....}.....window.docu |
a6c80 | 6d 65 6e 74 2e 74 69 74 6c 65 20 3d 0a 20 20 20 20 20 20 77 69 6e 64 6f 77 2e 64 6f 63 75 6d 65 | ment.title.=.......window.docume |
a6ca0 | 6e 74 2e 64 6f 63 75 6d 65 6e 74 45 6c 65 6d 65 6e 74 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 | nt.documentElement.getAttribute( |
a6cc0 | 22 6e 6f 6e 65 76 65 72 79 74 68 69 6e 67 74 69 74 6c 65 22 29 3b 0a 20 20 7d 2c 0a 0a 20 20 73 | "noneverythingtitle");...},....s |
a6ce0 | 61 6e 69 74 69 7a 65 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 2f 2f 20 | anitize:.function.()...{.....//. |
a6d00 | 55 70 64 61 74 65 20 70 72 65 66 20 76 61 6c 75 65 73 20 62 65 66 6f 72 65 20 68 61 6e 64 69 6e | Update.pref.values.before.handin |
a6d20 | 67 20 6f 66 66 20 74 6f 20 74 68 65 20 73 61 6e 69 74 69 7a 65 72 20 28 62 75 67 20 34 35 33 34 | g.off.to.the.sanitizer.(bug.4534 |
a6d40 | 34 30 29 0a 20 20 20 20 74 68 69 73 2e 75 70 64 61 74 65 50 72 65 66 73 28 29 3b 0a 20 20 20 20 | 40).....this.updatePrefs();..... |
a6d60 | 76 61 72 20 73 20 3d 20 6e 65 77 20 53 61 6e 69 74 69 7a 65 72 28 29 3b 0a 20 20 20 20 73 2e 70 | var.s.=.new.Sanitizer();.....s.p |
a6d80 | 72 65 66 44 6f 6d 61 69 6e 20 3d 20 22 70 72 69 76 61 63 79 2e 63 70 64 2e 22 3b 0a 0a 20 20 20 | refDomain.=."privacy.cpd.";..... |
a6da0 | 20 73 2e 72 61 6e 67 65 20 3d 20 53 61 6e 69 74 69 7a 65 72 2e 67 65 74 43 6c 65 61 72 52 61 6e | .s.range.=.Sanitizer.getClearRan |
a6dc0 | 67 65 28 74 68 69 73 2e 73 65 6c 65 63 74 65 64 54 69 6d 65 73 70 61 6e 29 3b 0a 20 20 20 20 73 | ge(this.selectedTimespan);.....s |
a6de0 | 2e 69 67 6e 6f 72 65 54 69 6d 65 73 70 61 6e 20 3d 20 21 73 2e 72 61 6e 67 65 3b 0a 0a 20 20 20 | .ignoreTimespan.=.!s.range;..... |
a6e00 | 20 74 72 79 20 7b 0a 20 20 20 20 20 20 73 2e 73 61 6e 69 74 69 7a 65 28 29 3b 0a 20 20 20 20 7d | .try.{.......s.sanitize();.....} |
a6e20 | 20 63 61 74 63 68 20 28 65 72 29 20 7b 0a 20 20 20 20 20 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 75 | .catch.(er).{.......Components.u |
a6e40 | 74 69 6c 73 2e 72 65 70 6f 72 74 45 72 72 6f 72 28 22 45 78 63 65 70 74 69 6f 6e 20 64 75 72 69 | tils.reportError("Exception.duri |
a6e60 | 6e 67 20 73 61 6e 69 74 69 7a 65 3a 20 22 20 2b 20 65 72 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 | ng.sanitize:.".+.er);.....}..... |
a6e80 | 72 65 74 75 72 6e 20 74 72 75 65 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 49 66 | return.true;...},..../**....*.If |
a6ea0 | 20 74 68 65 20 70 61 6e 65 6c 20 74 68 61 74 20 64 69 73 70 6c 61 79 73 20 61 20 77 61 72 6e 69 | .the.panel.that.displays.a.warni |
a6ec0 | 6e 67 20 77 68 65 6e 20 74 68 65 20 64 75 72 61 74 69 6f 6e 20 69 73 20 22 45 76 65 72 79 74 68 | ng.when.the.duration.is."Everyth |
a6ee0 | 69 6e 67 22 20 69 73 0a 20 20 20 2a 20 6e 6f 74 20 73 65 74 20 75 70 2c 20 73 65 74 73 20 69 74 | ing".is....*.not.set.up,.sets.it |
a6f00 | 20 75 70 2e 20 20 4f 74 68 65 72 77 69 73 65 20 64 6f 65 73 20 6e 6f 74 68 69 6e 67 2e 0a 20 20 | .up...Otherwise.does.nothing.... |
a6f20 | 20 2a 2f 0a 20 20 65 6e 73 75 72 65 57 61 72 6e 69 6e 67 49 73 49 6e 69 74 65 64 3a 20 66 75 6e | .*/...ensureWarningIsInited:.fun |
a6f40 | 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 77 61 72 6e 69 | ction.()...{.....if.(this._warni |
a6f60 | 6e 67 49 73 49 6e 69 74 65 64 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 20 20 74 | ngIsInited).......return;......t |
a6f80 | 68 69 73 2e 5f 77 61 72 6e 69 6e 67 49 73 49 6e 69 74 65 64 20 3d 20 74 72 75 65 3b 0a 0a 20 20 | his._warningIsInited.=.true;.... |
a6fa0 | 20 20 2f 2f 20 49 66 20 74 68 65 20 64 61 74 65 20 61 6e 64 20 74 69 6d 65 2d 61 77 61 72 65 20 | ..//.If.the.date.and.time-aware. |
a6fc0 | 6c 6f 63 61 6c 65 20 77 61 72 6e 69 6e 67 20 73 74 72 69 6e 67 20 69 73 20 65 76 65 72 20 75 73 | locale.warning.string.is.ever.us |
a6fe0 | 65 64 20 61 67 61 69 6e 2c 0a 20 20 20 20 2f 2f 20 69 6e 69 74 69 61 6c 69 7a 65 20 69 74 20 68 | ed.again,.....//.initialize.it.h |
a7000 | 65 72 65 2e 20 20 43 75 72 72 65 6e 74 6c 79 20 77 65 20 75 73 65 20 74 68 65 20 6e 6f 2d 76 69 | ere...Currently.we.use.the.no-vi |
a7020 | 73 69 74 73 20 77 61 72 6e 69 6e 67 20 73 74 72 69 6e 67 2c 0a 20 20 20 20 2f 2f 20 77 68 69 63 | sits.warning.string,.....//.whic |
a7040 | 68 20 64 6f 65 73 20 6e 6f 74 20 69 6e 63 6c 75 64 65 20 64 61 74 65 20 61 6e 64 20 74 69 6d 65 | h.does.not.include.date.and.time |
a7060 | 2e 20 20 53 65 65 20 62 75 67 20 34 38 30 31 36 39 20 63 6f 6d 6d 65 6e 74 20 34 38 2e 0a 0a 20 | ...See.bug.480169.comment.48.... |
a7080 | 20 20 20 76 61 72 20 77 61 72 6e 69 6e 67 44 65 73 63 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 | ...var.warningDesc.=.document.ge |
a70a0 | 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 73 61 6e 69 74 69 7a 65 45 76 65 72 79 74 68 69 6e 67 | tElementById("sanitizeEverything |
a70c0 | 57 61 72 6e 69 6e 67 22 29 3b 0a 20 20 20 20 77 61 72 6e 69 6e 67 44 65 73 63 2e 74 65 78 74 43 | Warning");.....warningDesc.textC |
a70e0 | 6f 6e 74 65 6e 74 20 3d 0a 20 20 20 20 20 20 74 68 69 73 2e 62 75 6e 64 6c 65 42 72 6f 77 73 65 | ontent.=.......this.bundleBrowse |
a7100 | 72 2e 67 65 74 53 74 72 69 6e 67 28 22 73 61 6e 69 74 69 7a 65 45 76 65 72 79 74 68 69 6e 67 4e | r.getString("sanitizeEverythingN |
a7120 | 6f 56 69 73 69 74 73 57 61 72 6e 69 6e 67 22 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 | oVisitsWarning");...},..../**... |
a7140 | 20 2a 20 43 61 6c 6c 65 64 20 77 68 65 6e 20 74 68 65 20 76 61 6c 75 65 20 6f 66 20 61 20 70 72 | .*.Called.when.the.value.of.a.pr |
a7160 | 65 66 65 72 65 6e 63 65 20 65 6c 65 6d 65 6e 74 20 69 73 20 73 79 6e 63 65 64 20 66 72 6f 6d 20 | eference.element.is.synced.from. |
a7180 | 74 68 65 20 61 63 74 75 61 6c 0a 20 20 20 2a 20 70 72 65 66 2e 20 20 45 6e 61 62 6c 65 73 20 6f | the.actual....*.pref...Enables.o |
a71a0 | 72 20 64 69 73 61 62 6c 65 73 20 74 68 65 20 4f 4b 20 62 75 74 74 6f 6e 20 61 70 70 72 6f 70 72 | r.disables.the.OK.button.appropr |
a71c0 | 69 61 74 65 6c 79 2e 0a 20 20 20 2a 2f 0a 20 20 6f 6e 52 65 61 64 47 65 6e 65 72 69 63 3a 20 66 | iately.....*/...onReadGeneric:.f |
a71e0 | 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 76 61 72 20 66 6f 75 6e 64 20 3d 20 66 | unction.()...{.....var.found.=.f |
a7200 | 61 6c 73 65 3b 0a 0a 20 20 20 20 2f 2f 20 46 69 6e 64 20 61 6e 79 20 6f 74 68 65 72 20 70 72 65 | alse;......//.Find.any.other.pre |
a7220 | 66 20 74 68 61 74 27 73 20 63 68 65 63 6b 65 64 20 61 6e 64 20 65 6e 61 62 6c 65 64 2e 0a 20 20 | f.that's.checked.and.enabled.... |
a7240 | 20 20 76 61 72 20 69 20 3d 20 30 3b 0a 20 20 20 20 77 68 69 6c 65 20 28 21 66 6f 75 6e 64 20 26 | ..var.i.=.0;.....while.(!found.& |
a7260 | 26 20 69 20 3c 20 74 68 69 73 2e 73 61 6e 69 74 69 7a 65 50 72 65 66 65 72 65 6e 63 65 73 2e 63 | &.i.<.this.sanitizePreferences.c |
a7280 | 68 69 6c 64 4e 6f 64 65 73 2e 6c 65 6e 67 74 68 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 70 72 | hildNodes.length).{.......var.pr |
a72a0 | 65 66 65 72 65 6e 63 65 20 3d 20 74 68 69 73 2e 73 61 6e 69 74 69 7a 65 50 72 65 66 65 72 65 6e | eference.=.this.sanitizePreferen |
a72c0 | 63 65 73 2e 63 68 69 6c 64 4e 6f 64 65 73 5b 69 5d 3b 0a 0a 20 20 20 20 20 20 66 6f 75 6e 64 20 | ces.childNodes[i];........found. |
a72e0 | 3d 20 21 21 70 72 65 66 65 72 65 6e 63 65 2e 76 61 6c 75 65 20 26 26 0a 20 20 20 20 20 20 20 20 | =.!!preference.value.&&......... |
a7300 | 20 20 20 20 20 20 21 70 72 65 66 65 72 65 6e 63 65 2e 64 69 73 61 62 6c 65 64 3b 0a 20 20 20 20 | ......!preference.disabled;..... |
a7320 | 20 20 69 2b 2b 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 64 6f | ..i++;.....}......try.{.......do |
a7340 | 63 75 6d 65 6e 74 2e 64 6f 63 75 6d 65 6e 74 45 6c 65 6d 65 6e 74 2e 67 65 74 42 75 74 74 6f 6e | cument.documentElement.getButton |
a7360 | 28 22 61 63 63 65 70 74 22 29 2e 64 69 73 61 62 6c 65 64 20 3d 20 21 66 6f 75 6e 64 3b 0a 20 20 | ("accept").disabled.=.!found;... |
a7380 | 20 20 7d 0a 20 20 20 20 63 61 74 63 68 20 28 65 29 20 7b 20 7d 0a 20 20 20 20 72 65 74 75 72 6e | ..}.....catch.(e).{.}.....return |
a73a0 | 20 75 6e 64 65 66 69 6e 65 64 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 53 61 6e | .undefined;...},..../**....*.San |
a73c0 | 69 74 69 7a 65 72 2e 70 72 6f 74 6f 74 79 70 65 2e 73 61 6e 69 74 69 7a 65 28 29 20 72 65 71 75 | itizer.prototype.sanitize().requ |
a73e0 | 69 72 65 73 20 74 68 65 20 70 72 65 66 73 20 74 6f 20 62 65 20 75 70 2d 74 6f 2d 64 61 74 65 2e | ires.the.prefs.to.be.up-to-date. |
a7400 | 0a 20 20 20 2a 20 42 65 63 61 75 73 65 20 74 68 65 20 74 79 70 65 20 6f 66 20 74 68 69 73 20 70 | ....*.Because.the.type.of.this.p |
a7420 | 72 65 66 77 69 6e 64 6f 77 20 69 73 20 22 63 68 69 6c 64 22 20 2d 2d 20 61 6e 64 20 74 68 61 74 | refwindow.is."child".--.and.that |
a7440 | 27 73 20 6e 65 65 64 65 64 20 62 65 63 61 75 73 65 0a 20 20 20 2a 20 77 69 74 68 6f 75 74 20 69 | 's.needed.because....*.without.i |
a7460 | 74 20 74 68 65 20 64 69 61 6c 6f 67 20 68 61 73 20 6e 6f 20 4f 4b 20 61 6e 64 20 43 61 6e 63 65 | t.the.dialog.has.no.OK.and.Cance |
a7480 | 6c 20 62 75 74 74 6f 6e 73 20 2d 2d 20 74 68 65 20 70 72 65 66 73 20 61 72 65 20 6e 6f 74 0a 20 | l.buttons.--.the.prefs.are.not.. |
a74a0 | 20 20 2a 20 75 70 64 61 74 65 64 20 6f 6e 20 64 69 61 6c 6f 67 61 63 63 65 70 74 20 6f 6e 20 70 | ..*.updated.on.dialogaccept.on.p |
a74c0 | 6c 61 74 66 6f 72 6d 73 20 74 68 61 74 20 64 6f 6e 27 74 20 73 75 70 70 6f 72 74 20 69 6e 73 74 | latforms.that.don't.support.inst |
a74e0 | 61 6e 74 2d 61 70 70 6c 79 0a 20 20 20 2a 20 28 69 2e 65 2e 2c 20 57 69 6e 64 6f 77 73 29 2e 20 | ant-apply....*.(i.e.,.Windows).. |
a7500 | 20 57 65 20 6d 75 73 74 20 74 68 65 72 65 66 6f 72 65 20 6d 61 6e 75 61 6c 6c 79 20 73 65 74 20 | .We.must.therefore.manually.set. |
a7520 | 74 68 65 20 70 72 65 66 73 20 66 72 6f 6d 20 74 68 65 69 72 0a 20 20 20 2a 20 63 6f 72 72 65 73 | the.prefs.from.their....*.corres |
a7540 | 70 6f 6e 64 69 6e 67 20 70 72 65 66 65 72 65 6e 63 65 20 65 6c 65 6d 65 6e 74 73 2e 0a 20 20 20 | ponding.preference.elements..... |
a7560 | 2a 2f 0a 20 20 75 70 64 61 74 65 50 72 65 66 73 20 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 | */...updatePrefs.:.function.().. |
a7580 | 20 7b 0a 20 20 20 20 76 61 72 20 74 73 50 72 65 66 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 | .{.....var.tsPref.=.document.get |
a75a0 | 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 70 72 69 76 61 63 79 2e 73 61 6e 69 74 69 7a 65 2e 74 69 | ElementById("privacy.sanitize.ti |
a75c0 | 6d 65 53 70 61 6e 22 29 3b 0a 20 20 20 20 53 61 6e 69 74 69 7a 65 72 2e 70 72 65 66 73 2e 73 65 | meSpan");.....Sanitizer.prefs.se |
a75e0 | 74 49 6e 74 50 72 65 66 28 22 74 69 6d 65 53 70 61 6e 22 2c 20 74 68 69 73 2e 73 65 6c 65 63 74 | tIntPref("timeSpan",.this.select |
a7600 | 65 64 54 69 6d 65 73 70 61 6e 29 3b 0a 0a 20 20 20 20 2f 2f 20 4b 65 65 70 20 74 68 65 20 70 72 | edTimespan);......//.Keep.the.pr |
a7620 | 65 66 20 66 6f 72 20 74 68 65 20 64 6f 77 6e 6c 6f 61 64 20 68 69 73 74 6f 72 79 20 69 6e 20 73 | ef.for.the.download.history.in.s |
a7640 | 79 6e 63 20 77 69 74 68 20 74 68 65 20 68 69 73 74 6f 72 79 20 70 72 65 66 2e 0a 20 20 20 20 64 | ync.with.the.history.pref......d |
a7660 | 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 70 72 69 76 61 63 79 2e | ocument.getElementById("privacy. |
a7680 | 63 70 64 2e 64 6f 77 6e 6c 6f 61 64 73 22 29 2e 76 61 6c 75 65 20 3d 0a 20 20 20 20 20 20 64 6f | cpd.downloads").value.=.......do |
a76a0 | 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 70 72 69 76 61 63 79 2e 63 | cument.getElementById("privacy.c |
a76c0 | 70 64 2e 68 69 73 74 6f 72 79 22 29 2e 76 61 6c 75 65 3b 0a 0a 20 20 20 20 2f 2f 20 4e 6f 77 20 | pd.history").value;......//.Now. |
a76e0 | 6d 61 6e 75 61 6c 6c 79 20 73 65 74 20 74 68 65 20 70 72 65 66 73 20 66 72 6f 6d 20 74 68 65 69 | manually.set.the.prefs.from.thei |
a7700 | 72 20 63 6f 72 72 65 73 70 6f 6e 64 69 6e 67 20 70 72 65 66 65 72 65 6e 63 65 0a 20 20 20 20 2f | r.corresponding.preference...../ |
a7720 | 2f 20 65 6c 65 6d 65 6e 74 73 2e 0a 20 20 20 20 76 61 72 20 70 72 65 66 73 20 3d 20 74 68 69 73 | /.elements......var.prefs.=.this |
a7740 | 2e 73 61 6e 69 74 69 7a 65 50 72 65 66 65 72 65 6e 63 65 73 2e 72 6f 6f 74 42 72 61 6e 63 68 3b | .sanitizePreferences.rootBranch; |
a7760 | 0a 20 20 20 20 66 6f 72 20 28 6c 65 74 20 69 20 3d 20 30 3b 20 69 20 3c 20 74 68 69 73 2e 73 61 | .....for.(let.i.=.0;.i.<.this.sa |
a7780 | 6e 69 74 69 7a 65 50 72 65 66 65 72 65 6e 63 65 73 2e 63 68 69 6c 64 4e 6f 64 65 73 2e 6c 65 6e | nitizePreferences.childNodes.len |
a77a0 | 67 74 68 3b 20 2b 2b 69 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 70 20 3d 20 74 68 69 73 2e 73 | gth;.++i).{.......var.p.=.this.s |
a77c0 | 61 6e 69 74 69 7a 65 50 72 65 66 65 72 65 6e 63 65 73 2e 63 68 69 6c 64 4e 6f 64 65 73 5b 69 5d | anitizePreferences.childNodes[i] |
a77e0 | 3b 0a 20 20 20 20 20 20 70 72 65 66 73 2e 73 65 74 42 6f 6f 6c 50 72 65 66 28 70 2e 6e 61 6d 65 | ;.......prefs.setBoolPref(p.name |
a7800 | 2c 20 70 2e 76 61 6c 75 65 29 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 | ,.p.value);.....}...},..../**... |
a7820 | 20 2a 20 43 61 6c 6c 65 64 20 62 79 20 74 68 65 20 69 74 65 6d 20 6c 69 73 74 20 65 78 70 61 6e | .*.Called.by.the.item.list.expan |
a7840 | 64 65 72 20 62 75 74 74 6f 6e 20 74 6f 20 74 6f 67 67 6c 65 20 74 68 65 20 6c 69 73 74 27 73 20 | der.button.to.toggle.the.list's. |
a7860 | 76 69 73 69 62 69 6c 69 74 79 2e 0a 20 20 20 2a 2f 0a 20 20 74 6f 67 67 6c 65 49 74 65 6d 4c 69 | visibility.....*/...toggleItemLi |
a7880 | 73 74 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 76 61 72 20 69 74 65 6d | st:.function.()...{.....var.item |
a78a0 | 4c 69 73 74 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 | List.=.document.getElementById(" |
a78c0 | 69 74 65 6d 4c 69 73 74 22 29 3b 0a 20 20 20 20 76 61 72 20 65 78 70 61 6e 64 65 72 42 75 74 74 | itemList");.....var.expanderButt |
a78e0 | 6f 6e 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 64 65 | on.=.document.getElementById("de |
a7900 | 74 61 69 6c 73 45 78 70 61 6e 64 65 72 22 29 3b 0a 0a 20 20 20 20 2f 2f 20 53 68 6f 77 69 6e 67 | tailsExpander");......//.Showing |
a7920 | 20 69 74 65 6d 20 6c 69 73 74 0a 20 20 20 20 69 66 20 28 69 74 65 6d 4c 69 73 74 2e 63 6f 6c 6c | .item.list.....if.(itemList.coll |
a7940 | 61 70 73 65 64 29 20 7b 0a 20 20 20 20 20 20 65 78 70 61 6e 64 65 72 42 75 74 74 6f 6e 2e 63 6c | apsed).{.......expanderButton.cl |
a7960 | 61 73 73 4e 61 6d 65 20 3d 20 22 65 78 70 61 6e 64 65 72 2d 75 70 22 3b 0a 20 20 20 20 20 20 69 | assName.=."expander-up";.......i |
a7980 | 74 65 6d 4c 69 73 74 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 63 6f 6c 6c 61 70 73 65 64 22 | temList.setAttribute("collapsed" |
a79a0 | 2c 20 22 66 61 6c 73 65 22 29 3b 0a 20 20 20 20 20 20 77 69 6e 64 6f 77 2e 72 65 73 69 7a 65 42 | ,."false");.......window.resizeB |
a79c0 | 79 28 30 2c 20 69 74 65 6d 4c 69 73 74 2e 62 6f 78 4f 62 6a 65 63 74 2e 68 65 69 67 68 74 29 3b | y(0,.itemList.boxObject.height); |
a79e0 | 0a 20 20 20 20 7d 0a 20 20 20 20 2f 2f 20 48 69 64 69 6e 67 20 69 74 65 6d 20 6c 69 73 74 0a 20 | .....}.....//.Hiding.item.list.. |
a7a00 | 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 65 78 70 61 6e 64 65 72 42 75 74 74 6f 6e 2e 63 | ...else.{.......expanderButton.c |
a7a20 | 6c 61 73 73 4e 61 6d 65 20 3d 20 22 65 78 70 61 6e 64 65 72 2d 64 6f 77 6e 22 3b 0a 20 20 20 20 | lassName.=."expander-down";..... |
a7a40 | 20 20 77 69 6e 64 6f 77 2e 72 65 73 69 7a 65 42 79 28 30 2c 20 2d 69 74 65 6d 4c 69 73 74 2e 62 | ..window.resizeBy(0,.-itemList.b |
a7a60 | 6f 78 4f 62 6a 65 63 74 2e 68 65 69 67 68 74 29 3b 0a 20 20 20 20 20 20 69 74 65 6d 4c 69 73 74 | oxObject.height);.......itemList |
a7a80 | 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 63 6f 6c 6c 61 70 73 65 64 22 2c 20 22 74 72 75 65 | .setAttribute("collapsed",."true |
a7aa0 | 22 29 3b 0a 20 20 20 20 7d 0a 20 20 7d 0a 0a 2f 2f 40 6c 69 6e 65 20 35 32 35 20 22 2f 62 75 69 | ");.....}...}..//@line.525."/bui |
a7ac0 | 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 | lds/moz2_slave/linux_build/build |
a7ae0 | 2f 62 72 6f 77 73 65 72 2f 62 61 73 65 2f 63 6f 6e 74 65 6e 74 2f 73 61 6e 69 74 69 7a 65 44 69 | /browser/base/content/sanitizeDi |
a7b00 | 61 6c 6f 67 2e 6a 73 22 0a 0a 7d 3b 0a 0a 0a 50 4b 03 04 14 00 00 00 00 00 f2 4b 18 3b 3b 7e 18 | alog.js"..};...PK.........K.;;~. |
a7b20 | 96 73 01 00 00 73 01 00 00 22 00 00 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 73 61 6e | .s...s..."...content/browser/san |
a7b40 | 69 74 69 7a 65 44 69 61 6c 6f 67 2e 63 73 73 2f 2a 20 50 6c 61 63 65 73 20 74 72 65 65 20 2a 2f | itizeDialog.css/*.Places.tree.*/ |
a7b60 | 0a 0a 23 70 6c 61 63 65 73 54 72 65 65 63 68 69 6c 64 72 65 6e 20 7b 0a 20 20 2d 6d 6f 7a 2d 75 | ..#placesTreechildren.{...-moz-u |
a7b80 | 73 65 72 2d 66 6f 63 75 73 3a 20 6e 6f 72 6d 61 6c 3b 0a 7d 0a 0a 23 70 6c 61 63 65 73 54 72 65 | ser-focus:.normal;.}..#placesTre |
a7ba0 | 65 63 68 69 6c 64 72 65 6e 3a 3a 2d 6d 6f 7a 2d 74 72 65 65 2d 63 65 6c 6c 28 67 72 69 70 70 79 | echildren::-moz-tree-cell(grippy |
a7bc0 | 52 6f 77 29 2c 0a 23 70 6c 61 63 65 73 54 72 65 65 63 68 69 6c 64 72 65 6e 3a 3a 2d 6d 6f 7a 2d | Row),.#placesTreechildren::-moz- |
a7be0 | 74 72 65 65 2d 63 65 6c 6c 2d 74 65 78 74 28 67 72 69 70 70 79 52 6f 77 29 2c 0a 23 70 6c 61 63 | tree-cell-text(grippyRow),.#plac |
a7c00 | 65 73 54 72 65 65 63 68 69 6c 64 72 65 6e 3a 3a 2d 6d 6f 7a 2d 74 72 65 65 2d 69 6d 61 67 65 28 | esTreechildren::-moz-tree-image( |
a7c20 | 67 72 69 70 70 79 52 6f 77 29 20 7b 0a 20 20 63 75 72 73 6f 72 3a 20 2d 6d 6f 7a 2d 67 72 61 62 | grippyRow).{...cursor:.-moz-grab |
a7c40 | 3b 0a 7d 0a 0a 0a 2f 2a 20 53 61 6e 69 74 69 7a 65 20 65 76 65 72 79 74 68 69 6e 67 20 77 61 72 | ;.}.../*.Sanitize.everything.war |
a7c60 | 6e 69 6e 67 73 20 2a 2f 0a 0a 23 73 61 6e 69 74 69 7a 65 45 76 65 72 79 74 68 69 6e 67 57 61 72 | nings.*/..#sanitizeEverythingWar |
a7c80 | 6e 69 6e 67 2c 0a 23 73 61 6e 69 74 69 7a 65 45 76 65 72 79 74 68 69 6e 67 55 6e 64 6f 57 61 72 | ning,.#sanitizeEverythingUndoWar |
a7ca0 | 6e 69 6e 67 20 7b 0a 20 20 77 68 69 74 65 2d 73 70 61 63 65 3a 20 70 72 65 2d 77 72 61 70 3b 0a | ning.{...white-space:.pre-wrap;. |
a7cc0 | 7d 0a 50 4b 03 04 14 00 00 00 00 00 f2 4b 18 3b 0d fd a5 b2 7e 04 00 00 7e 04 00 00 1e 00 00 00 | }.PK.........K.;....~...~....... |
a7ce0 | 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 74 61 62 62 72 6f 77 73 65 72 2e 63 73 73 2e 74 | content/browser/tabbrowser.css.t |
a7d00 | 61 62 62 72 6f 77 73 65 72 2d 74 61 62 73 20 7b 0a 20 20 2d 6d 6f 7a 2d 62 69 6e 64 69 6e 67 3a | abbrowser-tabs.{...-moz-binding: |
a7d20 | 20 75 72 6c 28 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 74 | .url("chrome://browser/content/t |
a7d40 | 61 62 62 72 6f 77 73 65 72 2e 78 6d 6c 23 74 61 62 62 72 6f 77 73 65 72 2d 74 61 62 73 22 29 3b | abbrowser.xml#tabbrowser-tabs"); |
a7d60 | 0a 7d 0a 0a 2e 74 61 62 62 72 6f 77 73 65 72 2d 74 61 62 20 7b 0a 20 20 2d 6d 6f 7a 2d 62 69 6e | .}...tabbrowser-tab.{...-moz-bin |
a7d80 | 64 69 6e 67 3a 20 75 72 6c 28 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 | ding:.url("chrome://browser/cont |
a7da0 | 65 6e 74 2f 74 61 62 62 72 6f 77 73 65 72 2e 78 6d 6c 23 74 61 62 62 72 6f 77 73 65 72 2d 74 61 | ent/tabbrowser.xml#tabbrowser-ta |
a7dc0 | 62 22 29 3b 0a 7d 0a 0a 2e 74 61 62 62 72 6f 77 73 65 72 2d 61 72 72 6f 77 73 63 72 6f 6c 6c 62 | b");.}...tabbrowser-arrowscrollb |
a7de0 | 6f 78 20 7b 0a 20 20 2d 6d 6f 7a 2d 62 69 6e 64 69 6e 67 3a 20 75 72 6c 28 22 63 68 72 6f 6d 65 | ox.{...-moz-binding:.url("chrome |
a7e00 | 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 74 61 62 62 72 6f 77 73 65 72 2e 78 6d | ://browser/content/tabbrowser.xm |
a7e20 | 6c 23 74 61 62 62 72 6f 77 73 65 72 2d 61 72 72 6f 77 73 63 72 6f 6c 6c 62 6f 78 22 29 3b 0a 7d | l#tabbrowser-arrowscrollbox");.} |
a7e40 | 0a 0a 2e 74 61 62 73 2d 61 6c 6c 74 61 62 73 2d 70 6f 70 75 70 20 7b 0a 20 20 2d 6d 6f 7a 2d 62 | ...tabs-alltabs-popup.{...-moz-b |
a7e60 | 69 6e 64 69 6e 67 3a 20 75 72 6c 28 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f | inding:.url("chrome://browser/co |
a7e80 | 6e 74 65 6e 74 2f 74 61 62 62 72 6f 77 73 65 72 2e 78 6d 6c 23 74 61 62 62 72 6f 77 73 65 72 2d | ntent/tabbrowser.xml#tabbrowser- |
a7ea0 | 61 6c 6c 74 61 62 73 2d 70 6f 70 75 70 22 29 3b 0a 7d 0a 0a 2e 74 61 62 2d 63 6c 6f 73 65 2d 62 | alltabs-popup");.}...tab-close-b |
a7ec0 | 75 74 74 6f 6e 2c 20 2e 74 61 62 73 2d 63 6c 6f 73 65 62 75 74 74 6f 6e 20 7b 0a 20 20 2d 6d 6f | utton,..tabs-closebutton.{...-mo |
a7ee0 | 7a 2d 62 69 6e 64 69 6e 67 3a 20 75 72 6c 28 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 | z-binding:.url("chrome://browser |
a7f00 | 2f 63 6f 6e 74 65 6e 74 2f 74 61 62 62 72 6f 77 73 65 72 2e 78 6d 6c 23 74 61 62 62 72 6f 77 73 | /content/tabbrowser.xml#tabbrows |
a7f20 | 65 72 2d 63 6c 6f 73 65 2d 74 61 62 2d 62 75 74 74 6f 6e 22 29 3b 0a 7d 0a 0a 2e 74 61 62 2d 63 | er-close-tab-button");.}...tab-c |
a7f40 | 6c 6f 73 65 2d 62 75 74 74 6f 6e 20 7b 0a 20 20 64 69 73 70 6c 61 79 3a 20 6e 6f 6e 65 3b 0a 7d | lose-button.{...display:.none;.} |
a7f60 | 0a 0a 2e 74 61 62 62 72 6f 77 73 65 72 2d 74 61 62 73 3a 6e 6f 74 28 5b 63 6c 6f 73 65 62 75 74 | ...tabbrowser-tabs:not([closebut |
a7f80 | 74 6f 6e 73 3d 22 6e 6f 63 6c 6f 73 65 22 5d 29 3a 6e 6f 74 28 5b 63 6c 6f 73 65 62 75 74 74 6f | tons="noclose"]):not([closebutto |
a7fa0 | 6e 73 3d 22 63 6c 6f 73 65 61 74 65 6e 64 22 5d 29 20 3e 20 2e 74 61 62 62 72 6f 77 73 65 72 2d | ns="closeatend"]).>..tabbrowser- |
a7fc0 | 74 61 62 5b 73 65 6c 65 63 74 65 64 3d 22 74 72 75 65 22 5d 3a 6e 6f 74 28 3a 6f 6e 6c 79 2d 63 | tab[selected="true"]:not(:only-c |
a7fe0 | 68 69 6c 64 29 20 3e 20 2e 74 61 62 2d 63 6c 6f 73 65 2d 62 75 74 74 6f 6e 20 7b 0a 20 20 64 69 | hild).>..tab-close-button.{...di |
a8000 | 73 70 6c 61 79 3a 20 2d 6d 6f 7a 2d 62 6f 78 3b 0a 7d 0a 0a 2e 74 61 62 62 72 6f 77 73 65 72 2d | splay:.-moz-box;.}...tabbrowser- |
a8020 | 74 61 62 73 5b 63 6c 6f 73 65 62 75 74 74 6f 6e 73 3d 22 61 6c 6c 74 61 62 73 22 5d 20 3e 20 2e | tabs[closebuttons="alltabs"].>.. |
a8040 | 74 61 62 62 72 6f 77 73 65 72 2d 74 61 62 3a 6e 6f 74 28 3a 6f 6e 6c 79 2d 63 68 69 6c 64 29 20 | tabbrowser-tab:not(:only-child). |
a8060 | 3e 20 2e 74 61 62 2d 63 6c 6f 73 65 2d 62 75 74 74 6f 6e 20 7b 0a 20 20 64 69 73 70 6c 61 79 3a | >..tab-close-button.{...display: |
a8080 | 20 2d 6d 6f 7a 2d 62 6f 78 3b 0a 7d 0a 0a 2e 74 61 62 73 2d 63 6f 6e 74 61 69 6e 65 72 3a 6e 6f | .-moz-box;.}...tabs-container:no |
a80a0 | 74 28 5b 6f 76 65 72 66 6c 6f 77 3d 22 74 72 75 65 22 5d 29 20 3e 20 2e 74 61 62 73 2d 6e 65 77 | t([overflow="true"]).>..tabs-new |
a80c0 | 74 61 62 2d 62 75 74 74 6f 6e 2c 0a 2e 74 61 62 73 2d 63 6f 6e 74 61 69 6e 65 72 5b 6f 76 65 72 | tab-button,..tabs-container[over |
a80e0 | 66 6c 6f 77 3d 22 74 72 75 65 22 5d 20 3e 20 2e 74 61 62 62 72 6f 77 73 65 72 2d 61 72 72 6f 77 | flow="true"].>..tabbrowser-arrow |
a8100 | 73 63 72 6f 6c 6c 62 6f 78 20 3e 20 2e 74 61 62 73 2d 6e 65 77 74 61 62 2d 62 75 74 74 6f 6e 20 | scrollbox.>..tabs-newtab-button. |
a8120 | 7b 0a 20 20 76 69 73 69 62 69 6c 69 74 79 3a 20 63 6f 6c 6c 61 70 73 65 3b 0a 7d 0a 0a 2e 74 61 | {...visibility:.collapse;.}...ta |
a8140 | 62 73 2d 6e 65 77 74 61 62 2d 62 75 74 74 6f 6e 20 3e 20 2e 74 6f 6f 6c 62 61 72 62 75 74 74 6f | bs-newtab-button.>..toolbarbutto |
a8160 | 6e 2d 74 65 78 74 20 7b 0a 20 20 64 69 73 70 6c 61 79 3a 20 6e 6f 6e 65 3b 0a 7d 0a 50 4b 03 04 | n-text.{...display:.none;.}.PK.. |
a8180 | 14 00 00 00 00 00 f2 4b 18 3b db f2 49 60 13 17 02 00 13 17 02 00 1e 00 00 00 63 6f 6e 74 65 6e | .......K.;..I`............conten |
a81a0 | 74 2f 62 72 6f 77 73 65 72 2f 74 61 62 62 72 6f 77 73 65 72 2e 78 6d 6c 3c 3f 78 6d 6c 20 76 65 | t/browser/tabbrowser.xml<?xml.ve |
a81c0 | 72 73 69 6f 6e 3d 22 31 2e 30 22 3f 3e 0a 0a 3c 21 2d 2d 20 2a 2a 2a 2a 2a 20 42 45 47 49 4e 20 | rsion="1.0"?>..<!--.*****.BEGIN. |
a81e0 | 4c 49 43 45 4e 53 45 20 42 4c 4f 43 4b 20 2a 2a 2a 2a 2a 0a 20 20 20 2d 20 56 65 72 73 69 6f 6e | LICENSE.BLOCK.*****....-.Version |
a8200 | 3a 20 4d 50 4c 20 31 2e 31 2f 47 50 4c 20 32 2e 30 2f 4c 47 50 4c 20 32 2e 31 0a 20 20 20 2d 0a | :.MPL.1.1/GPL.2.0/LGPL.2.1....-. |
a8220 | 20 20 20 2d 20 54 68 65 20 63 6f 6e 74 65 6e 74 73 20 6f 66 20 74 68 69 73 20 66 69 6c 65 20 61 | ...-.The.contents.of.this.file.a |
a8240 | 72 65 20 73 75 62 6a 65 63 74 20 74 6f 20 74 68 65 20 4d 6f 7a 69 6c 6c 61 20 50 75 62 6c 69 63 | re.subject.to.the.Mozilla.Public |
a8260 | 20 4c 69 63 65 6e 73 65 20 56 65 72 73 69 6f 6e 0a 20 20 20 2d 20 31 2e 31 20 28 74 68 65 20 22 | .License.Version....-.1.1.(the." |
a8280 | 4c 69 63 65 6e 73 65 22 29 3b 20 79 6f 75 20 6d 61 79 20 6e 6f 74 20 75 73 65 20 74 68 69 73 20 | License");.you.may.not.use.this. |
a82a0 | 66 69 6c 65 20 65 78 63 65 70 74 20 69 6e 20 63 6f 6d 70 6c 69 61 6e 63 65 20 77 69 74 68 0a 20 | file.except.in.compliance.with.. |
a82c0 | 20 20 2d 20 74 68 65 20 4c 69 63 65 6e 73 65 2e 20 59 6f 75 20 6d 61 79 20 6f 62 74 61 69 6e 20 | ..-.the.License..You.may.obtain. |
a82e0 | 61 20 63 6f 70 79 20 6f 66 20 74 68 65 20 4c 69 63 65 6e 73 65 20 61 74 0a 20 20 20 2d 20 68 74 | a.copy.of.the.License.at....-.ht |
a8300 | 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 4d 50 4c 2f 0a 20 20 20 2d 0a 20 | tp://www.mozilla.org/MPL/....-.. |
a8320 | 20 20 2d 20 53 6f 66 74 77 61 72 65 20 64 69 73 74 72 69 62 75 74 65 64 20 75 6e 64 65 72 20 74 | ..-.Software.distributed.under.t |
a8340 | 68 65 20 4c 69 63 65 6e 73 65 20 69 73 20 64 69 73 74 72 69 62 75 74 65 64 20 6f 6e 20 61 6e 20 | he.License.is.distributed.on.an. |
a8360 | 22 41 53 20 49 53 22 20 62 61 73 69 73 2c 0a 20 20 20 2d 20 57 49 54 48 4f 55 54 20 57 41 52 52 | "AS.IS".basis,....-.WITHOUT.WARR |
a8380 | 41 4e 54 59 20 4f 46 20 41 4e 59 20 4b 49 4e 44 2c 20 65 69 74 68 65 72 20 65 78 70 72 65 73 73 | ANTY.OF.ANY.KIND,.either.express |
a83a0 | 20 6f 72 20 69 6d 70 6c 69 65 64 2e 20 53 65 65 20 74 68 65 20 4c 69 63 65 6e 73 65 0a 20 20 20 | .or.implied..See.the.License.... |
a83c0 | 2d 20 66 6f 72 20 74 68 65 20 73 70 65 63 69 66 69 63 20 6c 61 6e 67 75 61 67 65 20 67 6f 76 65 | -.for.the.specific.language.gove |
a83e0 | 72 6e 69 6e 67 20 72 69 67 68 74 73 20 61 6e 64 20 6c 69 6d 69 74 61 74 69 6f 6e 73 20 75 6e 64 | rning.rights.and.limitations.und |
a8400 | 65 72 20 74 68 65 0a 20 20 20 2d 20 4c 69 63 65 6e 73 65 2e 0a 20 20 20 2d 0a 20 20 20 2d 20 54 | er.the....-.License.....-....-.T |
a8420 | 68 65 20 4f 72 69 67 69 6e 61 6c 20 43 6f 64 65 20 69 73 20 74 68 69 73 20 66 69 6c 65 20 61 73 | he.Original.Code.is.this.file.as |
a8440 | 20 69 74 20 77 61 73 20 72 65 6c 65 61 73 65 64 20 6f 6e 20 4d 61 72 63 68 20 32 38 2c 20 32 30 | .it.was.released.on.March.28,.20 |
a8460 | 30 31 2e 0a 20 20 20 2d 0a 20 20 20 2d 20 54 68 65 20 49 6e 69 74 69 61 6c 20 44 65 76 65 6c 6f | 01.....-....-.The.Initial.Develo |
a8480 | 70 65 72 20 6f 66 20 74 68 65 20 4f 72 69 67 69 6e 61 6c 20 43 6f 64 65 20 69 73 0a 20 20 20 2d | per.of.the.Original.Code.is....- |
a84a0 | 20 44 61 76 69 64 20 48 79 61 74 74 2e 0a 20 20 20 2d 20 50 6f 72 74 69 6f 6e 73 20 63 72 65 61 | .David.Hyatt.....-.Portions.crea |
a84c0 | 74 65 64 20 62 79 20 74 68 65 20 49 6e 69 74 69 61 6c 20 44 65 76 65 6c 6f 70 65 72 20 61 72 65 | ted.by.the.Initial.Developer.are |
a84e0 | 20 43 6f 70 79 72 69 67 68 74 20 28 43 29 20 32 30 30 31 0a 20 20 20 2d 20 74 68 65 20 49 6e 69 | .Copyright.(C).2001....-.the.Ini |
a8500 | 74 69 61 6c 20 44 65 76 65 6c 6f 70 65 72 2e 20 41 6c 6c 20 52 69 67 68 74 73 20 52 65 73 65 72 | tial.Developer..All.Rights.Reser |
a8520 | 76 65 64 2e 0a 20 20 20 2d 0a 20 20 20 2d 20 43 6f 6e 74 72 69 62 75 74 6f 72 28 73 29 3a 0a 20 | ved.....-....-.Contributor(s):.. |
a8540 | 20 20 2d 20 20 20 44 61 76 69 64 20 48 79 61 74 74 20 3c 68 79 61 74 74 40 6e 65 74 73 63 61 70 | ..-...David.Hyatt.<hyatt@netscap |
a8560 | 65 2e 63 6f 6d 3e 20 28 4f 72 69 67 69 6e 61 6c 20 41 75 74 68 6f 72 20 6f 66 20 3c 74 61 62 62 | e.com>.(Original.Author.of.<tabb |
a8580 | 72 6f 77 73 65 72 3e 29 0a 20 20 20 2d 20 20 20 4d 69 6b 65 20 43 6f 6e 6e 6f 72 20 3c 6d 63 6f | rowser>)....-...Mike.Connor.<mco |
a85a0 | 6e 6e 6f 72 40 73 74 65 65 6c 67 72 79 70 68 6f 6e 2e 63 6f 6d 3e 0a 20 20 20 2d 20 20 20 50 65 | nnor@steelgryphon.com>....-...Pe |
a85c0 | 74 65 72 20 50 61 72 65 6e 74 65 20 3c 70 61 72 65 6e 74 65 40 63 73 2e 75 6e 63 2e 65 64 75 3e | ter.Parente.<parente@cs.unc.edu> |
a85e0 | 0a 20 20 20 2d 20 20 20 47 69 6f 72 67 69 6f 20 4d 61 6f 6e 65 20 3c 67 2e 6d 61 6f 6e 65 40 69 | ....-...Giorgio.Maone.<g.maone@i |
a8600 | 6e 66 6f 72 6d 61 63 74 69 6f 6e 2e 63 6f 6d 3e 0a 20 20 20 2d 20 20 20 41 73 61 66 20 52 6f 6d | nformaction.com>....-...Asaf.Rom |
a8620 | 61 6e 6f 20 3c 6d 6f 7a 69 6c 6c 61 2e 6d 61 6e 6f 40 73 65 6e 74 2e 63 6f 6d 3e 0a 20 20 20 2d | ano.<mozilla.mano@sent.com>....- |
a8640 | 20 20 20 53 65 74 68 20 53 70 69 74 7a 65 72 20 3c 73 73 70 69 74 7a 65 72 40 6d 6f 7a 69 6c 6c | ...Seth.Spitzer.<sspitzer@mozill |
a8660 | 61 2e 6f 72 67 3e 0a 20 20 20 2d 20 20 20 53 69 6d 6f 6e 20 42 c3 bc 6e 7a 6c 69 20 3c 7a 65 6e | a.org>....-...Simon.B..nzli.<zen |
a8680 | 69 6b 6f 40 67 6d 61 69 6c 2e 63 6f 6d 3e 0a 20 20 20 2d 20 20 20 4d 69 63 68 61 65 6c 20 56 65 | iko@gmail.com>....-...Michael.Ve |
a86a0 | 6e 74 6e 6f 72 20 3c 76 65 6e 74 6e 6f 72 2e 62 75 67 7a 69 6c 6c 61 40 79 61 68 6f 6f 2e 63 6f | ntnor.<ventnor.bugzilla@yahoo.co |
a86c0 | 6d 2e 61 75 3e 0a 20 20 20 2d 20 20 20 4d 61 72 6b 20 50 69 6c 67 72 69 6d 20 3c 70 69 6c 67 72 | m.au>....-...Mark.Pilgrim.<pilgr |
a86e0 | 69 6d 40 67 6d 61 69 6c 2e 63 6f 6d 3e 0a 20 20 20 2d 20 20 20 44 c3 a3 6f 20 47 6f 74 74 77 61 | im@gmail.com>....-...D..o.Gottwa |
a8700 | 6c 64 20 3c 64 61 6f 40 6d 6f 7a 69 6c 6c 61 2e 63 6f 6d 3e 0a 20 20 20 2d 20 20 20 50 61 75 6c | ld.<dao@mozilla.com>....-...Paul |
a8720 | 20 4f e2 80 99 53 68 61 6e 6e 65 73 73 79 20 3c 70 61 75 6c 40 6f 73 68 61 6e 6e 65 73 73 79 2e | .O...Shannessy.<paul@oshannessy. |
a8740 | 63 6f 6d 3e 0a 20 20 20 2d 0a 20 20 20 2d 20 41 6c 74 65 72 6e 61 74 69 76 65 6c 79 2c 20 74 68 | com>....-....-.Alternatively,.th |
a8760 | 65 20 63 6f 6e 74 65 6e 74 73 20 6f 66 20 74 68 69 73 20 66 69 6c 65 20 6d 61 79 20 62 65 20 75 | e.contents.of.this.file.may.be.u |
a8780 | 73 65 64 20 75 6e 64 65 72 20 74 68 65 20 74 65 72 6d 73 20 6f 66 0a 20 20 20 2d 20 65 69 74 68 | sed.under.the.terms.of....-.eith |
a87a0 | 65 72 20 74 68 65 20 47 4e 55 20 47 65 6e 65 72 61 6c 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 | er.the.GNU.General.Public.Licens |
a87c0 | 65 20 56 65 72 73 69 6f 6e 20 32 20 6f 72 20 6c 61 74 65 72 20 28 74 68 65 20 22 47 50 4c 22 29 | e.Version.2.or.later.(the."GPL") |
a87e0 | 2c 20 6f 72 0a 20 20 20 2d 20 74 68 65 20 47 4e 55 20 4c 65 73 73 65 72 20 47 65 6e 65 72 61 6c | ,.or....-.the.GNU.Lesser.General |
a8800 | 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 20 56 65 72 73 69 6f 6e 20 32 2e 31 20 6f 72 20 6c | .Public.License.Version.2.1.or.l |
a8820 | 61 74 65 72 20 28 74 68 65 20 22 4c 47 50 4c 22 29 2c 0a 20 20 20 2d 20 69 6e 20 77 68 69 63 68 | ater.(the."LGPL"),....-.in.which |
a8840 | 20 63 61 73 65 20 74 68 65 20 70 72 6f 76 69 73 69 6f 6e 73 20 6f 66 20 74 68 65 20 47 50 4c 20 | .case.the.provisions.of.the.GPL. |
a8860 | 6f 72 20 74 68 65 20 4c 47 50 4c 20 61 72 65 20 61 70 70 6c 69 63 61 62 6c 65 20 69 6e 73 74 65 | or.the.LGPL.are.applicable.inste |
a8880 | 61 64 0a 20 20 20 2d 20 6f 66 20 74 68 6f 73 65 20 61 62 6f 76 65 2e 20 49 66 20 79 6f 75 20 77 | ad....-.of.those.above..If.you.w |
a88a0 | 69 73 68 20 74 6f 20 61 6c 6c 6f 77 20 75 73 65 20 6f 66 20 79 6f 75 72 20 76 65 72 73 69 6f 6e | ish.to.allow.use.of.your.version |
a88c0 | 20 6f 66 20 74 68 69 73 20 66 69 6c 65 20 6f 6e 6c 79 0a 20 20 20 2d 20 75 6e 64 65 72 20 74 68 | .of.this.file.only....-.under.th |
a88e0 | 65 20 74 65 72 6d 73 20 6f 66 20 65 69 74 68 65 72 20 74 68 65 20 47 50 4c 20 6f 72 20 74 68 65 | e.terms.of.either.the.GPL.or.the |
a8900 | 20 4c 47 50 4c 2c 20 61 6e 64 20 6e 6f 74 20 74 6f 20 61 6c 6c 6f 77 20 6f 74 68 65 72 73 20 74 | .LGPL,.and.not.to.allow.others.t |
a8920 | 6f 0a 20 20 20 2d 20 75 73 65 20 79 6f 75 72 20 76 65 72 73 69 6f 6e 20 6f 66 20 74 68 69 73 20 | o....-.use.your.version.of.this. |
a8940 | 66 69 6c 65 20 75 6e 64 65 72 20 74 68 65 20 74 65 72 6d 73 20 6f 66 20 74 68 65 20 4d 50 4c 2c | file.under.the.terms.of.the.MPL, |
a8960 | 20 69 6e 64 69 63 61 74 65 20 79 6f 75 72 0a 20 20 20 2d 20 64 65 63 69 73 69 6f 6e 20 62 79 20 | .indicate.your....-.decision.by. |
a8980 | 64 65 6c 65 74 69 6e 67 20 74 68 65 20 70 72 6f 76 69 73 69 6f 6e 73 20 61 62 6f 76 65 20 61 6e | deleting.the.provisions.above.an |
a89a0 | 64 20 72 65 70 6c 61 63 65 20 74 68 65 6d 20 77 69 74 68 20 74 68 65 20 6e 6f 74 69 63 65 0a 20 | d.replace.them.with.the.notice.. |
a89c0 | 20 20 2d 20 61 6e 64 20 6f 74 68 65 72 20 70 72 6f 76 69 73 69 6f 6e 73 20 72 65 71 75 69 72 65 | ..-.and.other.provisions.require |
a89e0 | 64 20 62 79 20 74 68 65 20 47 50 4c 20 6f 72 20 74 68 65 20 4c 47 50 4c 2e 20 49 66 20 79 6f 75 | d.by.the.GPL.or.the.LGPL..If.you |
a8a00 | 20 64 6f 20 6e 6f 74 20 64 65 6c 65 74 65 0a 20 20 20 2d 20 74 68 65 20 70 72 6f 76 69 73 69 6f | .do.not.delete....-.the.provisio |
a8a20 | 6e 73 20 61 62 6f 76 65 2c 20 61 20 72 65 63 69 70 69 65 6e 74 20 6d 61 79 20 75 73 65 20 79 6f | ns.above,.a.recipient.may.use.yo |
a8a40 | 75 72 20 76 65 72 73 69 6f 6e 20 6f 66 20 74 68 69 73 20 66 69 6c 65 20 75 6e 64 65 72 0a 20 20 | ur.version.of.this.file.under... |
a8a60 | 20 2d 20 74 68 65 20 74 65 72 6d 73 20 6f 66 20 61 6e 79 20 6f 6e 65 20 6f 66 20 74 68 65 20 4d | .-.the.terms.of.any.one.of.the.M |
a8a80 | 50 4c 2c 20 74 68 65 20 47 50 4c 20 6f 72 20 74 68 65 20 4c 47 50 4c 2e 0a 20 20 20 2d 0a 20 20 | PL,.the.GPL.or.the.LGPL.....-... |
a8aa0 | 20 2d 20 2a 2a 2a 2a 2a 20 45 4e 44 20 4c 49 43 45 4e 53 45 20 42 4c 4f 43 4b 20 2a 2a 2a 2a 2a | .-.*****.END.LICENSE.BLOCK.***** |
a8ac0 | 20 2d 2d 3e 0a 0a 3c 21 44 4f 43 54 59 50 45 20 62 69 6e 64 69 6e 67 73 20 5b 0a 3c 21 45 4e 54 | .-->..<!DOCTYPE.bindings.[.<!ENT |
a8ae0 | 49 54 59 20 25 20 74 61 62 42 72 6f 77 73 65 72 44 54 44 20 53 59 53 54 45 4d 20 22 63 68 72 6f | ITY.%.tabBrowserDTD.SYSTEM."chro |
a8b00 | 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 6c 6f 63 61 6c 65 2f 74 61 62 62 72 6f 77 73 65 72 2e 64 | me://browser/locale/tabbrowser.d |
a8b20 | 74 64 22 20 3e 0a 25 74 61 62 42 72 6f 77 73 65 72 44 54 44 3b 0a 3c 21 45 4e 54 49 54 59 20 25 | td".>.%tabBrowserDTD;.<!ENTITY.% |
a8b40 | 20 67 6c 6f 62 61 6c 44 54 44 20 53 59 53 54 45 4d 20 22 63 68 72 6f 6d 65 3a 2f 2f 67 6c 6f 62 | .globalDTD.SYSTEM."chrome://glob |
a8b60 | 61 6c 2f 6c 6f 63 61 6c 65 2f 67 6c 6f 62 61 6c 2e 64 74 64 22 3e 0a 25 67 6c 6f 62 61 6c 44 54 | al/locale/global.dtd">.%globalDT |
a8b80 | 44 3b 0a 5d 3e 0a 0a 3c 62 69 6e 64 69 6e 67 73 20 69 64 3d 22 74 61 62 42 72 6f 77 73 65 72 42 | D;.]>..<bindings.id="tabBrowserB |
a8ba0 | 69 6e 64 69 6e 67 73 22 0a 20 20 20 20 20 20 20 20 20 20 78 6d 6c 6e 73 3d 22 68 74 74 70 3a 2f | indings"...........xmlns="http:/ |
a8bc0 | 2f 77 77 77 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 78 62 6c 22 0a 20 20 20 20 20 20 20 20 20 20 | /www.mozilla.org/xbl"........... |
a8be0 | 78 6d 6c 6e 73 3a 78 75 6c 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 | xmlns:xul="http://www.mozilla.or |
a8c00 | 67 2f 6b 65 79 6d 61 73 74 65 72 2f 67 61 74 65 6b 65 65 70 65 72 2f 74 68 65 72 65 2e 69 73 2e | g/keymaster/gatekeeper/there.is. |
a8c20 | 6f 6e 6c 79 2e 78 75 6c 22 0a 20 20 20 20 20 20 20 20 20 20 78 6d 6c 6e 73 3a 78 62 6c 3d 22 68 | only.xul"...........xmlns:xbl="h |
a8c40 | 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 78 62 6c 22 3e 0a 0a 20 20 3c | ttp://www.mozilla.org/xbl">....< |
a8c60 | 62 69 6e 64 69 6e 67 20 69 64 3d 22 74 61 62 62 72 6f 77 73 65 72 22 3e 0a 20 20 20 20 3c 72 65 | binding.id="tabbrowser">.....<re |
a8c80 | 73 6f 75 72 63 65 73 3e 0a 20 20 20 20 20 20 3c 73 74 79 6c 65 73 68 65 65 74 20 73 72 63 3d 22 | sources>.......<stylesheet.src=" |
a8ca0 | 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 74 61 62 62 72 6f 77 | chrome://browser/content/tabbrow |
a8cc0 | 73 65 72 2e 63 73 73 22 2f 3e 0a 20 20 20 20 3c 2f 72 65 73 6f 75 72 63 65 73 3e 0a 0a 20 20 20 | ser.css"/>.....</resources>..... |
a8ce0 | 20 3c 63 6f 6e 74 65 6e 74 3e 0a 20 20 20 20 20 20 3c 78 75 6c 3a 73 74 72 69 6e 67 62 75 6e 64 | .<content>.......<xul:stringbund |
a8d00 | 6c 65 20 61 6e 6f 6e 69 64 3d 22 74 62 73 74 72 69 6e 67 62 75 6e 64 6c 65 22 20 73 72 63 3d 22 | le.anonid="tbstringbundle".src=" |
a8d20 | 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 6c 6f 63 61 6c 65 2f 74 61 62 62 72 6f 77 73 | chrome://browser/locale/tabbrows |
a8d40 | 65 72 2e 70 72 6f 70 65 72 74 69 65 73 22 2f 3e 0a 20 20 20 20 20 20 3c 78 75 6c 3a 74 61 62 62 | er.properties"/>.......<xul:tabb |
a8d60 | 6f 78 20 61 6e 6f 6e 69 64 3d 22 74 61 62 62 6f 78 22 20 66 6c 65 78 3d 22 31 22 20 65 76 65 6e | ox.anonid="tabbox".flex="1".even |
a8d80 | 74 6e 6f 64 65 3d 22 64 6f 63 75 6d 65 6e 74 22 20 78 62 6c 3a 69 6e 68 65 72 69 74 73 3d 22 68 | tnode="document".xbl:inherits="h |
a8da0 | 61 6e 64 6c 65 43 74 72 6c 50 61 67 65 55 70 44 6f 77 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 | andleCtrlPageUpDown"............ |
a8dc0 | 20 20 20 20 20 20 20 6f 6e 73 65 6c 65 63 74 3d 22 69 66 20 28 21 28 27 75 70 64 61 74 65 43 75 | .......onselect="if.(!('updateCu |
a8de0 | 72 72 65 6e 74 42 72 6f 77 73 65 72 27 20 69 6e 20 74 68 69 73 2e 70 61 72 65 6e 74 4e 6f 64 65 | rrentBrowser'.in.this.parentNode |
a8e00 | 29 20 7c 7c 20 65 76 65 6e 74 2e 74 61 72 67 65 74 2e 6c 6f 63 61 6c 4e 61 6d 65 20 21 3d 20 27 | ).||.event.target.localName.!=.' |
a8e20 | 74 61 62 70 61 6e 65 6c 73 27 29 20 72 65 74 75 72 6e 3b 20 74 68 69 73 2e 70 61 72 65 6e 74 4e | tabpanels').return;.this.parentN |
a8e40 | 6f 64 65 2e 75 70 64 61 74 65 43 75 72 72 65 6e 74 42 72 6f 77 73 65 72 28 29 3b 22 3e 0a 20 20 | ode.updateCurrentBrowser();">... |
a8e60 | 20 20 20 20 20 20 3c 78 75 6c 3a 68 62 6f 78 20 63 6c 61 73 73 3d 22 74 61 62 2d 64 72 6f 70 2d | ......<xul:hbox.class="tab-drop- |
a8e80 | 69 6e 64 69 63 61 74 6f 72 2d 62 61 72 22 20 63 6f 6c 6c 61 70 73 65 64 3d 22 74 72 75 65 22 20 | indicator-bar".collapsed="true". |
a8ea0 | 63 68 72 6f 6d 65 64 69 72 3d 22 26 6c 6f 63 61 6c 65 2e 64 69 72 3b 22 0a 20 20 20 20 20 20 20 | chromedir="&locale.dir;"........ |
a8ec0 | 20 20 20 20 20 20 20 20 20 20 20 6f 6e 64 72 61 67 6f 76 65 72 3d 22 74 68 69 73 2e 70 61 72 65 | ...........ondragover="this.pare |
a8ee0 | 6e 74 4e 6f 64 65 2e 70 61 72 65 6e 74 4e 6f 64 65 2e 5f 6f 6e 44 72 61 67 4f 76 65 72 28 65 76 | ntNode.parentNode._onDragOver(ev |
a8f00 | 65 6e 74 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 64 72 61 67 6c | ent);"...................ondragl |
a8f20 | 65 61 76 65 3d 22 74 68 69 73 2e 70 61 72 65 6e 74 4e 6f 64 65 2e 70 61 72 65 6e 74 4e 6f 64 65 | eave="this.parentNode.parentNode |
a8f40 | 2e 5f 6f 6e 44 72 61 67 4c 65 61 76 65 28 65 76 65 6e 74 29 3b 22 0a 20 20 20 20 20 20 20 20 20 | ._onDragLeave(event);".......... |
a8f60 | 20 20 20 20 20 20 20 20 20 6f 6e 64 72 6f 70 3d 22 74 68 69 73 2e 70 61 72 65 6e 74 4e 6f 64 65 | .........ondrop="this.parentNode |
a8f80 | 2e 70 61 72 65 6e 74 4e 6f 64 65 2e 5f 6f 6e 44 72 6f 70 28 65 76 65 6e 74 29 3b 22 3e 0a 20 20 | .parentNode._onDrop(event);">... |
a8fa0 | 20 20 20 20 20 20 20 20 3c 78 75 6c 3a 68 62 6f 78 20 63 6c 61 73 73 3d 22 74 61 62 2d 64 72 6f | ........<xul:hbox.class="tab-dro |
a8fc0 | 70 2d 69 6e 64 69 63 61 74 6f 72 22 20 6d 6f 75 73 65 74 68 72 6f 75 67 68 3d 22 61 6c 77 61 79 | p-indicator".mousethrough="alway |
a8fe0 | 73 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 2f 78 75 6c 3a 68 62 6f 78 3e 0a 20 20 20 20 20 20 20 | s"/>.........</xul:hbox>........ |
a9000 | 20 3c 78 75 6c 3a 68 62 6f 78 20 63 6c 61 73 73 3d 22 74 61 62 62 72 6f 77 73 65 72 2d 73 74 72 | .<xul:hbox.class="tabbrowser-str |
a9020 | 69 70 22 20 63 6f 6c 6c 61 70 73 65 64 3d 22 74 72 75 65 22 20 74 6f 6f 6c 74 69 70 3d 22 5f 63 | ip".collapsed="true".tooltip="_c |
a9040 | 68 69 6c 64 22 20 63 6f 6e 74 65 78 74 3d 22 5f 63 68 69 6c 64 22 0a 20 20 20 20 20 20 20 20 20 | hild".context="_child".......... |
a9060 | 20 20 20 20 20 20 20 20 20 61 6e 6f 6e 69 64 3d 22 73 74 72 69 70 22 0a 20 20 20 20 20 20 20 20 | .........anonid="strip"......... |
a9080 | 20 20 20 20 20 20 20 20 20 20 6f 6e 64 72 61 67 73 74 61 72 74 3d 22 74 68 69 73 2e 70 61 72 65 | ..........ondragstart="this.pare |
a90a0 | 6e 74 4e 6f 64 65 2e 70 61 72 65 6e 74 4e 6f 64 65 2e 5f 6f 6e 44 72 61 67 53 74 61 72 74 28 65 | ntNode.parentNode._onDragStart(e |
a90c0 | 76 65 6e 74 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 64 72 61 67 | vent);"...................ondrag |
a90e0 | 6f 76 65 72 3d 22 74 68 69 73 2e 70 61 72 65 6e 74 4e 6f 64 65 2e 70 61 72 65 6e 74 4e 6f 64 65 | over="this.parentNode.parentNode |
a9100 | 2e 5f 6f 6e 44 72 61 67 4f 76 65 72 28 65 76 65 6e 74 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 | ._onDragOver(event);"........... |
a9120 | 20 20 20 20 20 20 20 20 6f 6e 64 72 6f 70 3d 22 74 68 69 73 2e 70 61 72 65 6e 74 4e 6f 64 65 2e | ........ondrop="this.parentNode. |
a9140 | 70 61 72 65 6e 74 4e 6f 64 65 2e 5f 6f 6e 44 72 6f 70 28 65 76 65 6e 74 29 3b 22 0a 20 20 20 20 | parentNode._onDrop(event);"..... |
a9160 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 64 72 61 67 65 6e 64 3d 22 74 68 69 73 2e 70 61 | ..............ondragend="this.pa |
a9180 | 72 65 6e 74 4e 6f 64 65 2e 70 61 72 65 6e 74 4e 6f 64 65 2e 5f 6f 6e 44 72 61 67 45 6e 64 28 65 | rentNode.parentNode._onDragEnd(e |
a91a0 | 76 65 6e 74 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 64 72 61 67 | vent);"...................ondrag |
a91c0 | 6c 65 61 76 65 3d 22 74 68 69 73 2e 70 61 72 65 6e 74 4e 6f 64 65 2e 70 61 72 65 6e 74 4e 6f 64 | leave="this.parentNode.parentNod |
a91e0 | 65 2e 5f 6f 6e 44 72 61 67 4c 65 61 76 65 28 65 76 65 6e 74 29 3b 22 3e 0a 20 20 20 20 20 20 20 | e._onDragLeave(event);">........ |
a9200 | 20 20 20 3c 78 75 6c 3a 74 6f 6f 6c 74 69 70 20 6f 6e 70 6f 70 75 70 73 68 6f 77 69 6e 67 3d 22 | ...<xul:tooltip.onpopupshowing=" |
a9220 | 72 65 74 75 72 6e 20 74 68 69 73 2e 70 61 72 65 6e 74 4e 6f 64 65 2e 70 61 72 65 6e 74 4e 6f 64 | return.this.parentNode.parentNod |
a9240 | 65 2e 70 61 72 65 6e 74 4e 6f 64 65 2e 63 72 65 61 74 65 54 6f 6f 6c 74 69 70 28 65 76 65 6e 74 | e.parentNode.createTooltip(event |
a9260 | 29 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 78 75 6c 3a 6d 65 6e 75 70 6f 70 75 70 20 61 | );"/>...........<xul:menupopup.a |
a9280 | 6e 6f 6e 69 64 3d 22 74 61 62 43 6f 6e 74 65 78 74 4d 65 6e 75 22 20 6f 6e 70 6f 70 75 70 73 68 | nonid="tabContextMenu".onpopupsh |
a92a0 | 6f 77 69 6e 67 3d 22 74 68 69 73 2e 70 61 72 65 6e 74 4e 6f 64 65 2e 70 61 72 65 6e 74 4e 6f 64 | owing="this.parentNode.parentNod |
a92c0 | 65 2e 70 61 72 65 6e 74 4e 6f 64 65 2e 75 70 64 61 74 65 50 6f 70 75 70 4d 65 6e 75 28 74 68 69 | e.parentNode.updatePopupMenu(thi |
a92e0 | 73 29 3b 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 78 75 6c 3a 6d 65 6e 75 69 74 65 6d 20 | s);">.............<xul:menuitem. |
a9300 | 69 64 3d 22 63 6f 6e 74 65 78 74 5f 6e 65 77 54 61 62 22 20 6c 61 62 65 6c 3d 22 26 6e 65 77 54 | id="context_newTab".label="&newT |
a9320 | 61 62 2e 6c 61 62 65 6c 3b 22 20 61 63 63 65 73 73 6b 65 79 3d 22 26 6e 65 77 54 61 62 2e 61 63 | ab.label;".accesskey="&newTab.ac |
a9340 | 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | cesskey;"....................... |
a9360 | 20 20 20 20 78 62 6c 3a 69 6e 68 65 72 69 74 73 3d 22 6f 6e 63 6f 6d 6d 61 6e 64 3d 6f 6e 6e 65 | ....xbl:inherits="oncommand=onne |
a9380 | 77 74 61 62 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 78 75 6c 3a 6d 65 6e 75 73 65 70 | wtab"/>.............<xul:menusep |
a93a0 | 61 72 61 74 6f 72 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 78 75 6c 3a 6d 65 6e 75 69 74 | arator/>.............<xul:menuit |
a93c0 | 65 6d 20 69 64 3d 22 63 6f 6e 74 65 78 74 5f 72 65 6c 6f 61 64 54 61 62 22 20 6c 61 62 65 6c 3d | em.id="context_reloadTab".label= |
a93e0 | 22 26 72 65 6c 6f 61 64 54 61 62 2e 6c 61 62 65 6c 3b 22 20 61 63 63 65 73 73 6b 65 79 3d 22 26 | "&reloadTab.label;".accesskey="& |
a9400 | 72 65 6c 6f 61 64 54 61 62 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 | reloadTab.accesskey;"........... |
a9420 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 76 61 72 20 74 | ................oncommand="var.t |
a9440 | 61 62 62 72 6f 77 73 65 72 20 3d 20 74 68 69 73 2e 70 61 72 65 6e 74 4e 6f 64 65 2e 70 61 72 65 | abbrowser.=.this.parentNode.pare |
a9460 | 6e 74 4e 6f 64 65 2e 70 61 72 65 6e 74 4e 6f 64 65 2e 70 61 72 65 6e 74 4e 6f 64 65 3b 0a 20 20 | ntNode.parentNode.parentNode;... |
a9480 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
a94a0 | 20 20 20 74 61 62 62 72 6f 77 73 65 72 2e 72 65 6c 6f 61 64 54 61 62 28 74 61 62 62 72 6f 77 73 | ...tabbrowser.reloadTab(tabbrows |
a94c0 | 65 72 2e 6d 43 6f 6e 74 65 78 74 54 61 62 29 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 | er.mContextTab);"/>............. |
a94e0 | 3c 78 75 6c 3a 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 63 6f 6e 74 65 78 74 5f 72 65 6c 6f 61 64 | <xul:menuitem.id="context_reload |
a9500 | 41 6c 6c 54 61 62 73 22 20 6c 61 62 65 6c 3d 22 26 72 65 6c 6f 61 64 41 6c 6c 54 61 62 73 2e 6c | AllTabs".label="&reloadAllTabs.l |
a9520 | 61 62 65 6c 3b 22 20 61 63 63 65 73 73 6b 65 79 3d 22 26 72 65 6c 6f 61 64 41 6c 6c 54 61 62 73 | abel;".accesskey="&reloadAllTabs |
a9540 | 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .accesskey;".................... |
a9560 | 20 20 20 20 20 20 20 74 62 61 74 74 72 3d 22 74 61 62 62 72 6f 77 73 65 72 2d 6d 75 6c 74 69 70 | .......tbattr="tabbrowser-multip |
a9580 | 6c 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e | le"...........................on |
a95a0 | 63 6f 6d 6d 61 6e 64 3d 22 76 61 72 20 74 61 62 62 72 6f 77 73 65 72 20 3d 20 74 68 69 73 2e 70 | command="var.tabbrowser.=.this.p |
a95c0 | 61 72 65 6e 74 4e 6f 64 65 2e 70 61 72 65 6e 74 4e 6f 64 65 2e 70 61 72 65 6e 74 4e 6f 64 65 2e | arentNode.parentNode.parentNode. |
a95e0 | 70 61 72 65 6e 74 4e 6f 64 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | parentNode;..................... |
a9600 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 61 62 62 72 6f 77 73 65 72 2e 72 65 6c 6f | .................tabbrowser.relo |
a9620 | 61 64 41 6c 6c 54 61 62 73 28 74 61 62 62 72 6f 77 73 65 72 2e 6d 43 6f 6e 74 65 78 74 54 61 62 | adAllTabs(tabbrowser.mContextTab |
a9640 | 29 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 78 75 6c 3a 6d 65 6e 75 69 74 65 6d 20 | );"/>.............<xul:menuitem. |
a9660 | 69 64 3d 22 63 6f 6e 74 65 78 74 5f 63 6c 6f 73 65 4f 74 68 65 72 54 61 62 73 22 20 6c 61 62 65 | id="context_closeOtherTabs".labe |
a9680 | 6c 3d 22 26 63 6c 6f 73 65 4f 74 68 65 72 54 61 62 73 2e 6c 61 62 65 6c 3b 22 20 61 63 63 65 73 | l="&closeOtherTabs.label;".acces |
a96a0 | 73 6b 65 79 3d 22 26 63 6c 6f 73 65 4f 74 68 65 72 54 61 62 73 2e 61 63 63 65 73 73 6b 65 79 3b | skey="&closeOtherTabs.accesskey; |
a96c0 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 62 61 74 | "...........................tbat |
a96e0 | 74 72 3d 22 74 61 62 62 72 6f 77 73 65 72 2d 6d 75 6c 74 69 70 6c 65 22 0a 20 20 20 20 20 20 20 | tr="tabbrowser-multiple"........ |
a9700 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 76 61 | ...................oncommand="va |
a9720 | 72 20 74 61 62 62 72 6f 77 73 65 72 20 3d 20 74 68 69 73 2e 70 61 72 65 6e 74 4e 6f 64 65 2e 70 | r.tabbrowser.=.this.parentNode.p |
a9740 | 61 72 65 6e 74 4e 6f 64 65 2e 70 61 72 65 6e 74 4e 6f 64 65 2e 70 61 72 65 6e 74 4e 6f 64 65 3b | arentNode.parentNode.parentNode; |
a9760 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
a9780 | 20 20 20 20 20 20 74 61 62 62 72 6f 77 73 65 72 2e 72 65 6d 6f 76 65 41 6c 6c 54 61 62 73 42 75 | ......tabbrowser.removeAllTabsBu |
a97a0 | 74 28 74 61 62 62 72 6f 77 73 65 72 2e 6d 43 6f 6e 74 65 78 74 54 61 62 29 3b 22 2f 3e 0a 20 20 | t(tabbrowser.mContextTab);"/>... |
a97c0 | 20 20 20 20 20 20 20 20 20 20 3c 78 75 6c 3a 6d 65 6e 75 73 65 70 61 72 61 74 6f 72 2f 3e 0a 20 | ..........<xul:menuseparator/>.. |
a97e0 | 20 20 20 20 20 20 20 20 20 20 20 3c 78 75 6c 3a 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 63 6f 6e | ...........<xul:menuitem.id="con |
a9800 | 74 65 78 74 5f 6f 70 65 6e 54 61 62 49 6e 57 69 6e 64 6f 77 22 20 6c 61 62 65 6c 3d 22 26 6f 70 | text_openTabInWindow".label="&op |
a9820 | 65 6e 54 61 62 49 6e 4e 65 77 57 69 6e 64 6f 77 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 | enTabInNewWindow.label;"........ |
a9840 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 6f | ...................accesskey="&o |
a9860 | 70 65 6e 54 61 62 49 6e 4e 65 77 57 69 6e 64 6f 77 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 | penTabInNewWindow.accesskey;"... |
a9880 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 62 61 74 74 72 3d 22 | ........................tbattr=" |
a98a0 | 74 61 62 62 72 6f 77 73 65 72 2d 6d 75 6c 74 69 70 6c 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 | tabbrowser-multiple"............ |
a98c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 76 61 72 20 74 61 | ...............oncommand="var.ta |
a98e0 | 62 62 72 6f 77 73 65 72 20 3d 20 74 68 69 73 2e 70 61 72 65 6e 74 4e 6f 64 65 2e 70 61 72 65 6e | bbrowser.=.this.parentNode.paren |
a9900 | 74 4e 6f 64 65 2e 70 61 72 65 6e 74 4e 6f 64 65 2e 70 61 72 65 6e 74 4e 6f 64 65 3b 0a 20 20 20 | tNode.parentNode.parentNode;.... |
a9920 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
a9940 | 20 20 74 61 62 62 72 6f 77 73 65 72 2e 72 65 70 6c 61 63 65 54 61 62 57 69 74 68 57 69 6e 64 6f | ..tabbrowser.replaceTabWithWindo |
a9960 | 77 28 74 61 62 62 72 6f 77 73 65 72 2e 6d 43 6f 6e 74 65 78 74 54 61 62 29 3b 22 2f 3e 0a 20 20 | w(tabbrowser.mContextTab);"/>... |
a9980 | 20 20 20 20 20 20 20 20 20 20 3c 78 75 6c 3a 6d 65 6e 75 73 65 70 61 72 61 74 6f 72 2f 3e 0a 20 | ..........<xul:menuseparator/>.. |
a99a0 | 20 20 20 20 20 20 20 20 20 20 20 3c 78 75 6c 3a 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 63 6f 6e | ...........<xul:menuitem.id="con |
a99c0 | 74 65 78 74 5f 62 6f 6f 6b 6d 61 72 6b 54 61 62 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | text_bookmarkTab"............... |
a99e0 | 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 62 6f 6f 6b 6d 61 72 6b 54 68 69 73 | ............label="&bookmarkThis |
a9a00 | 54 61 62 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | Tab.label;"..................... |
a9a20 | 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 62 6f 6f 6b 6d 61 72 6b 54 68 69 73 54 61 | ......accesskey="&bookmarkThisTa |
a9a40 | 62 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | b.accesskey;"................... |
a9a60 | 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 42 6f 6f 6b 6d 61 72 6b 54 68 69 73 54 | ........oncommand="BookmarkThisT |
a9a80 | 61 62 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 78 75 6c 3a 6d 65 6e 75 69 74 | ab();"/>.............<xul:menuit |
a9aa0 | 65 6d 20 69 64 3d 22 63 6f 6e 74 65 78 74 5f 62 6f 6f 6b 6d 61 72 6b 41 6c 6c 54 61 62 73 22 0a | em.id="context_bookmarkAllTabs". |
a9ac0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d | ..........................label= |
a9ae0 | 22 26 62 6f 6f 6b 6d 61 72 6b 41 6c 6c 54 61 62 73 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 | "&bookmarkAllTabs.label;"....... |
a9b00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 | ....................accesskey="& |
a9b20 | 62 6f 6f 6b 6d 61 72 6b 41 6c 6c 54 61 62 73 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 | bookmarkAllTabs.accesskey;"..... |
a9b40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 42 | ......................command="B |
a9b60 | 72 6f 77 73 65 72 3a 42 6f 6f 6b 6d 61 72 6b 41 6c 6c 54 61 62 73 22 2f 3e 0a 20 20 20 20 20 20 | rowser:BookmarkAllTabs"/>....... |
a9b80 | 20 20 20 20 20 20 3c 78 75 6c 3a 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 63 6f 6e 74 65 78 74 5f | ......<xul:menuitem.id="context_ |
a9ba0 | 75 6e 64 6f 43 6c 6f 73 65 54 61 62 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | undoCloseTab"................... |
a9bc0 | 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 75 6e 64 6f 43 6c 6f 73 65 54 61 62 2e 6c 61 62 | ........label="&undoCloseTab.lab |
a9be0 | 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 | el;"...........................a |
a9c00 | 63 63 65 73 73 6b 65 79 3d 22 26 75 6e 64 6f 43 6c 6f 73 65 54 61 62 2e 61 63 63 65 73 73 6b 65 | ccesskey="&undoCloseTab.accesske |
a9c20 | 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f | y;"...........................co |
a9c40 | 6d 6d 61 6e 64 3d 22 48 69 73 74 6f 72 79 3a 55 6e 64 6f 43 6c 6f 73 65 54 61 62 22 0a 20 20 20 | mmand="History:UndoCloseTab".... |
a9c60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 6e 6f 6e 69 64 3d 22 75 | .......................anonid="u |
a9c80 | 6e 64 6f 43 6c 6f 73 65 54 61 62 4d 65 6e 75 49 74 65 6d 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 | ndoCloseTabMenuItem"/>.......... |
a9ca0 | 20 20 20 3c 78 75 6c 3a 6d 65 6e 75 73 65 70 61 72 61 74 6f 72 2f 3e 0a 20 20 20 20 20 20 20 20 | ...<xul:menuseparator/>......... |
a9cc0 | 20 20 20 20 3c 78 75 6c 3a 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 63 6f 6e 74 65 78 74 5f 63 6c | ....<xul:menuitem.id="context_cl |
a9ce0 | 6f 73 65 54 61 62 22 20 6c 61 62 65 6c 3d 22 26 63 6c 6f 73 65 54 61 62 2e 6c 61 62 65 6c 3b 22 | oseTab".label="&closeTab.label;" |
a9d00 | 20 61 63 63 65 73 73 6b 65 79 3d 22 26 63 6c 6f 73 65 54 61 62 2e 61 63 63 65 73 73 6b 65 79 3b | .accesskey="&closeTab.accesskey; |
a9d20 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 62 61 74 | "...........................tbat |
a9d40 | 74 72 3d 22 74 61 62 62 72 6f 77 73 65 72 2d 6d 75 6c 74 69 70 6c 65 22 0a 20 20 20 20 20 20 20 | tr="tabbrowser-multiple"........ |
a9d60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 76 61 | ...................oncommand="va |
a9d80 | 72 20 74 61 62 62 72 6f 77 73 65 72 20 3d 20 74 68 69 73 2e 70 61 72 65 6e 74 4e 6f 64 65 2e 70 | r.tabbrowser.=.this.parentNode.p |
a9da0 | 61 72 65 6e 74 4e 6f 64 65 2e 70 61 72 65 6e 74 4e 6f 64 65 2e 70 61 72 65 6e 74 4e 6f 64 65 3b | arentNode.parentNode.parentNode; |
a9dc0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
a9de0 | 20 20 20 20 20 20 74 61 62 62 72 6f 77 73 65 72 2e 72 65 6d 6f 76 65 54 61 62 28 74 61 62 62 72 | ......tabbrowser.removeTab(tabbr |
a9e00 | 6f 77 73 65 72 2e 6d 43 6f 6e 74 65 78 74 54 61 62 29 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 | owser.mContextTab);"/>.......... |
a9e20 | 20 3c 2f 78 75 6c 3a 6d 65 6e 75 70 6f 70 75 70 3e 0a 0a 20 20 20 20 20 20 20 20 20 20 3c 78 75 | .</xul:menupopup>............<xu |
a9e40 | 6c 3a 74 61 62 73 20 63 6c 61 73 73 3d 22 74 61 62 62 72 6f 77 73 65 72 2d 74 61 62 73 22 20 66 | l:tabs.class="tabbrowser-tabs".f |
a9e60 | 6c 65 78 3d 22 31 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 6e 6f 6e | lex="1".....................anon |
a9e80 | 69 64 3d 22 74 61 62 63 6f 6e 74 61 69 6e 65 72 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | id="tabcontainer"............... |
a9ea0 | 20 20 20 20 20 20 73 65 74 66 6f 63 75 73 3d 22 66 61 6c 73 65 22 0a 20 20 20 20 20 20 20 20 20 | ......setfocus="false".......... |
a9ec0 | 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6c 69 63 6b 3d 22 74 68 69 73 2e 70 61 72 65 6e 74 4e | ...........onclick="this.parentN |
a9ee0 | 6f 64 65 2e 70 61 72 65 6e 74 4e 6f 64 65 2e 70 61 72 65 6e 74 4e 6f 64 65 2e 6f 6e 54 61 62 43 | ode.parentNode.parentNode.onTabC |
a9f00 | 6c 69 63 6b 28 65 76 65 6e 74 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | lick(event);"................... |
a9f20 | 20 20 78 62 6c 3a 69 6e 68 65 72 69 74 73 3d 22 6f 6e 6e 65 77 74 61 62 22 0a 20 20 20 20 20 20 | ..xbl:inherits="onnewtab"....... |
a9f40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 64 62 6c 63 6c 69 63 6b 3d 22 74 68 69 73 2e 70 | ..............ondblclick="this.p |
a9f60 | 61 72 65 6e 74 4e 6f 64 65 2e 70 61 72 65 6e 74 4e 6f 64 65 2e 70 61 72 65 6e 74 4e 6f 64 65 2e | arentNode.parentNode.parentNode. |
a9f80 | 6f 6e 54 61 62 42 61 72 44 62 6c 43 6c 69 63 6b 28 65 76 65 6e 74 29 3b 22 0a 20 20 20 20 20 20 | onTabBarDblClick(event);"....... |
a9fa0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6c 6f 73 65 74 61 62 3d 22 76 61 72 20 6e 6f | ..............onclosetab="var.no |
a9fc0 | 64 65 20 3d 20 74 68 69 73 2e 70 61 72 65 6e 74 4e 6f 64 65 3b 0a 20 20 20 20 20 20 20 20 20 20 | de.=.this.parentNode;........... |
a9fe0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 77 68 69 6c 65 20 28 6e 6f 64 | ......................while.(nod |
aa000 | 65 2e 6c 6f 63 61 6c 4e 61 6d 65 20 21 3d 20 27 74 61 62 62 72 6f 77 73 65 72 27 29 0a 20 20 20 | e.localName.!=.'tabbrowser').... |
aa020 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e | ...............................n |
aa040 | 6f 64 65 20 3d 20 6e 6f 64 65 2e 70 61 72 65 6e 74 4e 6f 64 65 3b 0a 20 20 20 20 20 20 20 20 20 | ode.=.node.parentNode;.......... |
aa060 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 6f 64 65 2e 72 65 6d 6f | .......................node.remo |
aa080 | 76 65 43 75 72 72 65 6e 74 54 61 62 28 29 3b 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 78 | veCurrentTab();">.............<x |
aa0a0 | 75 6c 3a 74 61 62 20 73 65 6c 65 63 74 65 64 3d 22 74 72 75 65 22 20 76 61 6c 69 64 61 74 65 3d | ul:tab.selected="true".validate= |
aa0c0 | 22 6e 65 76 65 72 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 65 | "never"......................one |
aa0e0 | 72 72 6f 72 3d 22 74 68 69 73 2e 72 65 6d 6f 76 65 41 74 74 72 69 62 75 74 65 28 27 69 6d 61 67 | rror="this.removeAttribute('imag |
aa100 | 65 27 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 61 78 77 69 | e');"......................maxwi |
aa120 | 64 74 68 3d 22 32 35 30 22 20 77 69 64 74 68 3d 22 30 22 20 6d 69 6e 77 69 64 74 68 3d 22 31 30 | dth="250".width="0".minwidth="10 |
aa140 | 30 22 20 66 6c 65 78 3d 22 31 30 30 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | 0".flex="100"................... |
aa160 | 20 20 20 63 6c 61 73 73 3d 22 74 61 62 62 72 6f 77 73 65 72 2d 74 61 62 22 20 6c 61 62 65 6c 3d | ...class="tabbrowser-tab".label= |
aa180 | 22 26 75 6e 74 69 74 6c 65 64 54 61 62 3b 22 20 63 72 6f 70 3d 22 65 6e 64 22 2f 3e 0a 20 20 20 | "&untitledTab;".crop="end"/>.... |
aa1a0 | 20 20 20 20 20 20 20 3c 2f 78 75 6c 3a 74 61 62 73 3e 0a 20 20 20 20 20 20 20 20 3c 2f 78 75 6c | .......</xul:tabs>.........</xul |
aa1c0 | 3a 68 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 3c 78 75 6c 3a 74 61 62 70 61 6e 65 6c 73 20 66 6c | :hbox>.........<xul:tabpanels.fl |
aa1e0 | 65 78 3d 22 31 22 20 63 6c 61 73 73 3d 22 70 6c 61 69 6e 22 20 73 65 6c 65 63 74 65 64 49 6e 64 | ex="1".class="plain".selectedInd |
aa200 | 65 78 3d 22 30 22 20 61 6e 6f 6e 69 64 3d 22 70 61 6e 65 6c 63 6f 6e 74 61 69 6e 65 72 22 3e 0a | ex="0".anonid="panelcontainer">. |
aa220 | 20 20 20 20 20 20 20 20 20 20 3c 78 75 6c 3a 6e 6f 74 69 66 69 63 61 74 69 6f 6e 62 6f 78 20 66 | ..........<xul:notificationbox.f |
aa240 | 6c 65 78 3d 22 31 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 78 75 6c 3a 62 72 6f 77 73 65 | lex="1">.............<xul:browse |
aa260 | 72 20 66 6c 65 78 3d 22 31 22 20 74 79 70 65 3d 22 63 6f 6e 74 65 6e 74 2d 70 72 69 6d 61 72 79 | r.flex="1".type="content-primary |
aa280 | 22 20 6d 65 73 73 61 67 65 3d 22 74 72 75 65 22 20 64 69 73 61 62 6c 65 68 69 73 74 6f 72 79 3d | ".message="true".disablehistory= |
aa2a0 | 22 74 72 75 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | "true".......................... |
aa2c0 | 78 62 6c 3a 69 6e 68 65 72 69 74 73 3d 22 74 6f 6f 6c 74 69 70 3d 63 6f 6e 74 65 6e 74 74 6f 6f | xbl:inherits="tooltip=contenttoo |
aa2e0 | 6c 74 69 70 2c 63 6f 6e 74 65 78 74 6d 65 6e 75 3d 63 6f 6e 74 65 6e 74 63 6f 6e 74 65 78 74 6d | ltip,contextmenu=contentcontextm |
aa300 | 65 6e 75 2c 61 75 74 6f 63 6f 6d 70 6c 65 74 65 70 6f 70 75 70 22 2f 3e 0a 20 20 20 20 20 20 20 | enu,autocompletepopup"/>........ |
aa320 | 20 20 20 3c 2f 78 75 6c 3a 6e 6f 74 69 66 69 63 61 74 69 6f 6e 62 6f 78 3e 0a 20 20 20 20 20 20 | ...</xul:notificationbox>....... |
aa340 | 20 20 3c 2f 78 75 6c 3a 74 61 62 70 61 6e 65 6c 73 3e 0a 20 20 20 20 20 20 3c 2f 78 75 6c 3a 74 | ..</xul:tabpanels>.......</xul:t |
aa360 | 61 62 62 6f 78 3e 0a 20 20 20 20 20 20 3c 63 68 69 6c 64 72 65 6e 2f 3e 0a 20 20 20 20 3c 2f 63 | abbox>.......<children/>.....</c |
aa380 | 6f 6e 74 65 6e 74 3e 0a 20 20 20 20 3c 69 6d 70 6c 65 6d 65 6e 74 61 74 69 6f 6e 3e 0a 20 20 20 | ontent>.....<implementation>.... |
aa3a0 | 20 20 20 3c 66 69 65 6c 64 20 6e 61 6d 65 3d 22 6d 50 72 65 66 73 22 20 72 65 61 64 6f 6e 6c 79 | ...<field.name="mPrefs".readonly |
aa3c0 | 3d 22 74 72 75 65 22 3e 0a 20 20 20 20 20 20 20 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 | ="true">.........Components.clas |
aa3e0 | 73 65 73 5b 27 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 70 72 65 66 65 72 65 6e 63 65 73 2d 73 65 | ses['@mozilla.org/preferences-se |
aa400 | 72 76 69 63 65 3b 31 27 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 | rvice;1']....................get |
aa420 | 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 | Service(Components.interfaces.ns |
aa440 | 49 50 72 65 66 53 65 72 76 69 63 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | IPrefService)................... |
aa460 | 2e 67 65 74 42 72 61 6e 63 68 28 6e 75 6c 6c 29 3b 0a 20 20 20 20 20 20 3c 2f 66 69 65 6c 64 3e | .getBranch(null);.......</field> |
aa480 | 0a 20 20 20 20 20 20 3c 66 69 65 6c 64 20 6e 61 6d 65 3d 22 6d 55 52 49 46 69 78 75 70 22 20 72 | .......<field.name="mURIFixup".r |
aa4a0 | 65 61 64 6f 6e 6c 79 3d 22 74 72 75 65 22 3e 0a 20 20 20 20 20 20 20 20 43 6f 6d 70 6f 6e 65 6e | eadonly="true">.........Componen |
aa4c0 | 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 64 6f 63 73 68 65 6c | ts.classes["@mozilla.org/docshel |
aa4e0 | 6c 2f 75 72 69 66 69 78 75 70 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | l/urifixup;1"].................. |
aa500 | 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 | ..getService(Components.interfac |
aa520 | 65 73 2e 6e 73 49 55 52 49 46 69 78 75 70 29 3b 0a 20 20 20 20 20 20 3c 2f 66 69 65 6c 64 3e 0a | es.nsIURIFixup);.......</field>. |
aa540 | 20 20 20 20 20 20 3c 66 69 65 6c 64 20 6e 61 6d 65 3d 22 6d 46 61 76 69 63 6f 6e 53 65 72 76 69 | ......<field.name="mFaviconServi |
aa560 | 63 65 22 20 72 65 61 64 6f 6e 6c 79 3d 22 74 72 75 65 22 3e 0a 20 20 20 20 20 20 20 20 43 6f 6d | ce".readonly="true">.........Com |
aa580 | 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 62 72 | ponents.classes["@mozilla.org/br |
aa5a0 | 6f 77 73 65 72 2f 66 61 76 69 63 6f 6e 2d 73 65 72 76 69 63 65 3b 31 22 5d 0a 20 20 20 20 20 20 | owser/favicon-service;1"]....... |
aa5c0 | 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e | .............getService(Componen |
aa5e0 | 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 46 61 76 69 63 6f 6e 53 65 72 76 69 63 65 29 | ts.interfaces.nsIFaviconService) |
aa600 | 3b 0a 20 20 20 20 20 20 3c 2f 66 69 65 6c 64 3e 0a 20 20 20 20 20 20 3c 66 69 65 6c 64 20 6e 61 | ;.......</field>.......<field.na |
aa620 | 6d 65 3d 22 6d 54 61 62 42 6f 78 22 20 72 65 61 64 6f 6e 6c 79 3d 22 74 72 75 65 22 3e 0a 20 20 | me="mTabBox".readonly="true">... |
aa640 | 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 41 6e 6f 6e 79 6d 6f 75 73 45 6c 65 6d 65 | ......document.getAnonymousEleme |
aa660 | 6e 74 42 79 41 74 74 72 69 62 75 74 65 28 74 68 69 73 2c 20 22 61 6e 6f 6e 69 64 22 2c 20 22 74 | ntByAttribute(this,."anonid",."t |
aa680 | 61 62 62 6f 78 22 29 3b 0a 20 20 20 20 20 20 3c 2f 66 69 65 6c 64 3e 0a 20 20 20 20 20 20 3c 66 | abbox");.......</field>.......<f |
aa6a0 | 69 65 6c 64 20 6e 61 6d 65 3d 22 6d 54 61 62 44 72 6f 70 49 6e 64 69 63 61 74 6f 72 42 61 72 22 | ield.name="mTabDropIndicatorBar" |
aa6c0 | 3e 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 54 61 62 42 6f 78 2e 63 68 69 6c 64 4e 6f 64 65 | >.........this.mTabBox.childNode |
aa6e0 | 73 5b 30 5d 0a 20 20 20 20 20 20 3c 2f 66 69 65 6c 64 3e 0a 20 20 20 20 20 20 3c 66 69 65 6c 64 | s[0].......</field>.......<field |
aa700 | 20 6e 61 6d 65 3d 22 6d 53 74 72 69 70 22 20 72 65 61 64 6f 6e 6c 79 3d 22 74 72 75 65 22 3e 0a | .name="mStrip".readonly="true">. |
aa720 | 20 20 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 41 6e 6f 6e 79 6d 6f 75 73 45 6c 65 | ........document.getAnonymousEle |
aa740 | 6d 65 6e 74 42 79 41 74 74 72 69 62 75 74 65 28 74 68 69 73 2c 20 22 61 6e 6f 6e 69 64 22 2c 20 | mentByAttribute(this,."anonid",. |
aa760 | 22 73 74 72 69 70 22 29 3b 0a 20 20 20 20 20 20 3c 2f 66 69 65 6c 64 3e 0a 20 20 20 20 20 20 3c | "strip");.......</field>.......< |
aa780 | 66 69 65 6c 64 20 6e 61 6d 65 3d 22 6d 54 61 62 43 6f 6e 74 61 69 6e 65 72 22 20 72 65 61 64 6f | field.name="mTabContainer".reado |
aa7a0 | 6e 6c 79 3d 22 74 72 75 65 22 3e 0a 20 20 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 | nly="true">.........document.get |
aa7c0 | 41 6e 6f 6e 79 6d 6f 75 73 45 6c 65 6d 65 6e 74 42 79 41 74 74 72 69 62 75 74 65 28 74 68 69 73 | AnonymousElementByAttribute(this |
aa7e0 | 2c 20 22 61 6e 6f 6e 69 64 22 2c 20 22 74 61 62 63 6f 6e 74 61 69 6e 65 72 22 29 3b 0a 20 20 20 | ,."anonid",."tabcontainer");.... |
aa800 | 20 20 20 3c 2f 66 69 65 6c 64 3e 0a 20 20 20 20 20 20 3c 66 69 65 6c 64 20 6e 61 6d 65 3d 22 6d | ...</field>.......<field.name="m |
aa820 | 50 61 6e 65 6c 43 6f 6e 74 61 69 6e 65 72 22 20 72 65 61 64 6f 6e 6c 79 3d 22 74 72 75 65 22 3e | PanelContainer".readonly="true"> |
aa840 | 0a 20 20 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 41 6e 6f 6e 79 6d 6f 75 73 45 6c | .........document.getAnonymousEl |
aa860 | 65 6d 65 6e 74 42 79 41 74 74 72 69 62 75 74 65 28 74 68 69 73 2c 20 22 61 6e 6f 6e 69 64 22 2c | ementByAttribute(this,."anonid", |
aa880 | 20 22 70 61 6e 65 6c 63 6f 6e 74 61 69 6e 65 72 22 29 3b 0a 20 20 20 20 20 20 3c 2f 66 69 65 6c | ."panelcontainer");.......</fiel |
aa8a0 | 64 3e 0a 20 20 20 20 20 20 3c 66 69 65 6c 64 20 6e 61 6d 65 3d 22 6d 54 61 62 73 22 20 72 65 61 | d>.......<field.name="mTabs".rea |
aa8c0 | 64 6f 6e 6c 79 3d 22 74 72 75 65 22 3e 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 54 61 62 43 | donly="true">.........this.mTabC |
aa8e0 | 6f 6e 74 61 69 6e 65 72 2e 63 68 69 6c 64 4e 6f 64 65 73 0a 20 20 20 20 20 20 3c 2f 66 69 65 6c | ontainer.childNodes.......</fiel |
aa900 | 64 3e 0a 20 20 20 20 20 20 3c 66 69 65 6c 64 20 6e 61 6d 65 3d 22 6d 53 74 72 69 6e 67 42 75 6e | d>.......<field.name="mStringBun |
aa920 | 64 6c 65 22 3e 0a 20 20 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 41 6e 6f 6e 79 6d | dle">.........document.getAnonym |
aa940 | 6f 75 73 45 6c 65 6d 65 6e 74 42 79 41 74 74 72 69 62 75 74 65 28 74 68 69 73 2c 20 22 61 6e 6f | ousElementByAttribute(this,."ano |
aa960 | 6e 69 64 22 2c 20 22 74 62 73 74 72 69 6e 67 62 75 6e 64 6c 65 22 29 3b 0a 20 20 20 20 20 20 3c | nid",."tbstringbundle");.......< |
aa980 | 2f 66 69 65 6c 64 3e 0a 20 20 20 20 20 20 3c 66 69 65 6c 64 20 6e 61 6d 65 3d 22 6d 55 6e 64 6f | /field>.......<field.name="mUndo |
aa9a0 | 43 6c 6f 73 65 54 61 62 4d 65 6e 75 49 74 65 6d 22 3e 0a 20 20 20 20 20 20 20 20 64 6f 63 75 6d | CloseTabMenuItem">.........docum |
aa9c0 | 65 6e 74 2e 67 65 74 41 6e 6f 6e 79 6d 6f 75 73 45 6c 65 6d 65 6e 74 42 79 41 74 74 72 69 62 75 | ent.getAnonymousElementByAttribu |
aa9e0 | 74 65 28 74 68 69 73 2c 20 22 61 6e 6f 6e 69 64 22 2c 20 22 75 6e 64 6f 43 6c 6f 73 65 54 61 62 | te(this,."anonid",."undoCloseTab |
aaa00 | 4d 65 6e 75 49 74 65 6d 22 29 3b 0a 20 20 20 20 20 20 3c 2f 66 69 65 6c 64 3e 0a 20 20 20 20 20 | MenuItem");.......</field>...... |
aaa20 | 20 3c 66 69 65 6c 64 20 6e 61 6d 65 3d 22 6d 43 75 72 72 65 6e 74 54 61 62 22 3e 0a 20 20 20 20 | .<field.name="mCurrentTab">..... |
aaa40 | 20 20 20 20 6e 75 6c 6c 0a 20 20 20 20 20 20 3c 2f 66 69 65 6c 64 3e 0a 20 20 20 20 20 20 3c 66 | ....null.......</field>.......<f |
aaa60 | 69 65 6c 64 20 6e 61 6d 65 3d 22 6d 43 75 72 72 65 6e 74 42 72 6f 77 73 65 72 22 3e 0a 20 20 20 | ield.name="mCurrentBrowser">.... |
aaa80 | 20 20 20 20 20 6e 75 6c 6c 0a 20 20 20 20 20 20 3c 2f 66 69 65 6c 64 3e 0a 20 20 20 20 20 20 3c | .....null.......</field>.......< |
aaaa0 | 66 69 65 6c 64 20 6e 61 6d 65 3d 22 6d 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 73 22 3e | field.name="mProgressListeners"> |
aaac0 | 0a 20 20 20 20 20 20 20 20 5b 5d 0a 20 20 20 20 20 20 3c 2f 66 69 65 6c 64 3e 0a 20 20 20 20 20 | .........[].......</field>...... |
aaae0 | 20 3c 66 69 65 6c 64 20 6e 61 6d 65 3d 22 6d 54 61 62 73 50 72 6f 67 72 65 73 73 4c 69 73 74 65 | .<field.name="mTabsProgressListe |
aab00 | 6e 65 72 73 22 3e 0a 20 20 20 20 20 20 20 20 5b 5d 0a 20 20 20 20 20 20 3c 2f 66 69 65 6c 64 3e | ners">.........[].......</field> |
aab20 | 0a 20 20 20 20 20 20 3c 66 69 65 6c 64 20 6e 61 6d 65 3d 22 6d 54 61 62 4c 69 73 74 65 6e 65 72 | .......<field.name="mTabListener |
aab40 | 73 22 3e 0a 20 20 20 20 20 20 20 20 6e 65 77 20 41 72 72 61 79 28 29 0a 20 20 20 20 20 20 3c 2f | s">.........new.Array().......</ |
aab60 | 66 69 65 6c 64 3e 0a 20 20 20 20 20 20 3c 66 69 65 6c 64 20 6e 61 6d 65 3d 22 6d 54 61 62 46 69 | field>.......<field.name="mTabFi |
aab80 | 6c 74 65 72 73 22 3e 0a 20 20 20 20 20 20 20 20 6e 65 77 20 41 72 72 61 79 28 29 0a 20 20 20 20 | lters">.........new.Array()..... |
aaba0 | 20 20 3c 2f 66 69 65 6c 64 3e 0a 20 20 20 20 20 20 3c 66 69 65 6c 64 20 6e 61 6d 65 3d 22 6d 54 | ..</field>.......<field.name="mT |
aabc0 | 61 62 62 65 64 4d 6f 64 65 22 3e 0a 20 20 20 20 20 20 20 20 66 61 6c 73 65 0a 20 20 20 20 20 20 | abbedMode">.........false....... |
aabe0 | 3c 2f 66 69 65 6c 64 3e 0a 20 20 20 20 20 20 3c 66 69 65 6c 64 20 6e 61 6d 65 3d 22 6d 49 73 42 | </field>.......<field.name="mIsB |
aac00 | 75 73 79 22 3e 0a 20 20 20 20 20 20 20 20 66 61 6c 73 65 0a 20 20 20 20 20 20 3c 2f 66 69 65 6c | usy">.........false.......</fiel |
aac20 | 64 3e 0a 20 20 20 20 20 20 3c 66 69 65 6c 64 20 6e 61 6d 65 3d 22 6d 43 6f 6e 74 65 78 74 54 61 | d>.......<field.name="mContextTa |
aac40 | 62 22 3e 0a 20 20 20 20 20 20 20 20 6e 75 6c 6c 0a 20 20 20 20 20 20 3c 2f 66 69 65 6c 64 3e 0a | b">.........null.......</field>. |
aac60 | 20 20 20 20 20 20 3c 66 69 65 6c 64 20 6e 61 6d 65 3d 22 61 72 72 6f 77 4b 65 79 73 53 68 6f 75 | ......<field.name="arrowKeysShou |
aac80 | 6c 64 57 72 61 70 22 20 72 65 61 64 6f 6e 6c 79 3d 22 74 72 75 65 22 3e 0a 20 20 20 20 20 20 20 | ldWrap".readonly="true">........ |
aaca0 | 20 66 61 6c 73 65 0a 20 20 20 20 20 20 3c 2f 66 69 65 6c 64 3e 0a 20 20 20 20 20 20 3c 66 69 65 | .false.......</field>.......<fie |
aacc0 | 6c 64 20 6e 61 6d 65 3d 22 6d 41 64 64 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 57 61 73 | ld.name="mAddProgressListenerWas |
aace0 | 43 61 6c 6c 65 64 22 3e 0a 20 20 20 20 20 20 20 20 66 61 6c 73 65 0a 20 20 20 20 20 20 3c 2f 66 | Called">.........false.......</f |
aad00 | 69 65 6c 64 3e 0a 20 20 20 20 20 20 3c 66 69 65 6c 64 20 6e 61 6d 65 3d 22 5f 62 72 6f 77 73 65 | ield>.......<field.name="_browse |
aad20 | 72 73 22 3e 0a 20 20 20 20 20 20 20 20 6e 75 6c 6c 0a 20 20 20 20 20 20 3c 2f 66 69 65 6c 64 3e | rs">.........null.......</field> |
aad40 | 0a 0a 20 20 20 20 20 20 3c 66 69 65 6c 64 20 6e 61 6d 65 3d 22 5f 62 6c 6f 63 6b 44 62 6c 43 6c | ........<field.name="_blockDblCl |
aad60 | 69 63 6b 22 3e 0a 20 20 20 20 20 20 20 20 66 61 6c 73 65 0a 20 20 20 20 20 20 3c 2f 66 69 65 6c | ick">.........false.......</fiel |
aad80 | 64 3e 0a 20 20 20 20 20 20 3c 66 69 65 6c 64 20 6e 61 6d 65 3d 22 5f 61 75 74 6f 53 63 72 6f 6c | d>.......<field.name="_autoScrol |
aada0 | 6c 50 6f 70 75 70 22 3e 0a 20 20 20 20 20 20 20 20 6e 75 6c 6c 0a 20 20 20 20 20 20 3c 2f 66 69 | lPopup">.........null.......</fi |
aadc0 | 65 6c 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 67 65 74 42 72 6f | eld>........<method.name="getBro |
aade0 | 77 73 65 72 41 74 49 6e 64 65 78 22 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 | wserAtIndex">.........<parameter |
aae00 | 20 6e 61 6d 65 3d 22 61 49 6e 64 65 78 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 0a | .name="aIndex"/>.........<body>. |
aae20 | 20 20 20 20 20 20 20 20 20 20 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ..........<![CDATA[............. |
aae40 | 72 65 74 75 72 6e 20 74 68 69 73 2e 62 72 6f 77 73 65 72 73 5b 61 49 6e 64 65 78 5d 3b 0a 20 20 | return.this.browsers[aIndex];... |
aae60 | 20 20 20 20 20 20 20 20 5d 5d 3e 0a 20 20 20 20 20 20 20 20 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 | ........]]>.........</body>..... |
aae80 | 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d | ..</method>........<method.name= |
aaea0 | 22 67 65 74 42 72 6f 77 73 65 72 49 6e 64 65 78 46 6f 72 44 6f 63 75 6d 65 6e 74 22 3e 0a 20 20 | "getBrowserIndexForDocument">... |
aaec0 | 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 44 6f 63 75 6d 65 6e 74 | ......<parameter.name="aDocument |
aaee0 | 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 21 5b | "/>.........<body>...........<![ |
aaf00 | 43 44 41 54 41 5b 0a 09 20 20 20 20 76 61 72 20 62 72 6f 77 73 65 72 73 20 3d 20 74 68 69 73 2e | CDATA[......var.browsers.=.this. |
aaf20 | 62 72 6f 77 73 65 72 73 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 | browsers;.............for.(var.i |
aaf40 | 20 3d 20 30 3b 20 69 20 3c 20 62 72 6f 77 73 65 72 73 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 0a | .=.0;.i.<.browsers.length;.i++). |
aaf60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 62 72 6f 77 73 65 72 73 5b 69 5d 2e 63 6f | ..............if.(browsers[i].co |
aaf80 | 6e 74 65 6e 74 44 6f 63 75 6d 65 6e 74 20 3d 3d 20 61 44 6f 63 75 6d 65 6e 74 29 0a 20 20 20 20 | ntentDocument.==.aDocument)..... |
aafa0 | 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 69 3b 0a 20 20 20 20 20 20 20 20 20 20 | ............return.i;........... |
aafc0 | 20 20 72 65 74 75 72 6e 20 2d 31 3b 0a 20 20 20 20 20 20 20 20 20 20 5d 5d 3e 0a 20 20 20 20 20 | ..return.-1;...........]]>...... |
aafe0 | 20 20 20 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 | ...</body>.......</method>...... |
ab000 | 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 67 65 74 42 72 6f 77 73 65 72 46 6f 72 44 6f 63 | ..<method.name="getBrowserForDoc |
ab020 | 75 6d 65 6e 74 22 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d | ument">.........<parameter.name= |
ab040 | 22 61 44 6f 63 75 6d 65 6e 74 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 0a 20 20 20 | "aDocument"/>.........<body>.... |
ab060 | 20 20 20 20 20 20 20 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 | .......<![CDATA[.............var |
ab080 | 20 69 6e 64 65 78 20 3d 20 74 68 69 73 2e 67 65 74 42 72 6f 77 73 65 72 49 6e 64 65 78 46 6f 72 | .index.=.this.getBrowserIndexFor |
ab0a0 | 44 6f 63 75 6d 65 6e 74 28 61 44 6f 63 75 6d 65 6e 74 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 | Document(aDocument);............ |
ab0c0 | 20 69 66 20 28 69 6e 64 65 78 20 3c 20 30 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 | .if.(index.<.0)...............re |
ab0e0 | 74 75 72 6e 20 6e 75 6c 6c 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 | turn.null;.............return.th |
ab100 | 69 73 2e 67 65 74 42 72 6f 77 73 65 72 41 74 49 6e 64 65 78 28 69 6e 64 65 78 29 3b 0a 20 20 20 | is.getBrowserAtIndex(index);.... |
ab120 | 20 20 20 20 20 20 20 5d 5d 3e 0a 20 20 20 20 20 20 20 20 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 | .......]]>.........</body>...... |
ab140 | 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 | .</method>........<method.name=" |
ab160 | 67 65 74 4e 6f 74 69 66 69 63 61 74 69 6f 6e 42 6f 78 22 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 | getNotificationBox">.........<pa |
ab180 | 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 42 72 6f 77 73 65 72 22 2f 3e 0a 20 20 20 20 20 20 | rameter.name="aBrowser"/>....... |
ab1a0 | 20 20 3c 62 6f 64 79 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 | ..<body>...........<![CDATA[.... |
ab1c0 | 20 20 20 20 20 20 20 20 20 69 66 20 28 61 42 72 6f 77 73 65 72 29 0a 20 20 20 20 20 20 20 20 20 | .........if.(aBrowser).......... |
ab1e0 | 20 20 20 20 20 72 65 74 75 72 6e 20 61 42 72 6f 77 73 65 72 2e 70 61 72 65 6e 74 4e 6f 64 65 3b | .....return.aBrowser.parentNode; |
ab200 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 20 69 66 20 28 74 68 69 73 2e 6d 43 75 72 72 | .............else.if.(this.mCurr |
ab220 | 65 6e 74 42 72 6f 77 73 65 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e | entBrowser)...............return |
ab240 | 20 74 68 69 73 2e 6d 43 75 72 72 65 6e 74 42 72 6f 77 73 65 72 2e 70 61 72 65 6e 74 4e 6f 64 65 | .this.mCurrentBrowser.parentNode |
ab260 | 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 6e 75 6c 6c 3b 0a 20 20 20 20 20 | ;.............return.null;...... |
ab280 | 20 20 20 20 20 5d 5d 3e 0a 20 20 20 20 20 20 20 20 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c | .....]]>.........</body>.......< |
ab2a0 | 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 21 2d 2d 20 41 20 77 65 62 20 70 72 6f 67 72 | /method>........<!--.A.web.progr |
ab2c0 | 65 73 73 20 6c 69 73 74 65 6e 65 72 20 6f 62 6a 65 63 74 20 64 65 66 69 6e 69 74 69 6f 6e 20 66 | ess.listener.object.definition.f |
ab2e0 | 6f 72 20 61 20 67 69 76 65 6e 20 74 61 62 2e 20 2d 2d 3e 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f | or.a.given.tab..-->.......<metho |
ab300 | 64 20 6e 61 6d 65 3d 22 6d 54 61 62 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 22 3e 0a 20 | d.name="mTabProgressListener">.. |
ab320 | 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 54 61 62 22 2f 3e 0a | .......<parameter.name="aTab"/>. |
ab340 | 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 42 72 6f 77 73 65 | ........<parameter.name="aBrowse |
ab360 | 72 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 53 | r"/>.........<parameter.name="aS |
ab380 | 74 61 72 74 73 42 6c 61 6e 6b 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 0a 20 20 20 | tartsBlank"/>.........<body>.... |
ab3a0 | 20 20 20 20 20 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 | .....<![CDATA[...........return. |
ab3c0 | 28 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 54 61 62 42 72 6f 77 73 65 72 3a 20 74 68 69 73 | ({.............mTabBrowser:.this |
ab3e0 | 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 54 61 62 3a 20 61 54 61 62 2c 0a 20 20 20 20 20 20 | ,.............mTab:.aTab,....... |
ab400 | 20 20 20 20 20 20 6d 42 72 6f 77 73 65 72 3a 20 61 42 72 6f 77 73 65 72 2c 0a 20 20 20 20 20 20 | ......mBrowser:.aBrowser,....... |
ab420 | 20 20 20 20 20 20 6d 42 6c 61 6e 6b 3a 20 61 53 74 61 72 74 73 42 6c 61 6e 6b 2c 0a 0a 20 20 20 | ......mBlank:.aStartsBlank,..... |
ab440 | 20 20 20 20 20 20 20 20 20 2f 2f 20 63 61 63 68 65 20 66 6c 61 67 73 20 66 6f 72 20 63 6f 72 72 | .........//.cache.flags.for.corr |
ab460 | 65 63 74 20 73 74 61 74 75 73 20 62 61 72 20 75 70 64 61 74 65 20 61 66 74 65 72 20 74 61 62 20 | ect.status.bar.update.after.tab. |
ab480 | 73 77 69 74 63 68 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 53 74 61 74 65 46 6c 61 67 | switching.............mStateFlag |
ab4a0 | 73 3a 20 30 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 53 74 61 74 75 73 3a 20 30 2c 0a 20 20 | s:.0,.............mStatus:.0,... |
ab4c0 | 20 20 20 20 20 20 20 20 20 20 6d 4d 65 73 73 61 67 65 3a 20 22 22 2c 0a 20 20 20 20 20 20 20 20 | ..........mMessage:."",......... |
ab4e0 | 20 20 20 20 6d 54 6f 74 61 6c 50 72 6f 67 72 65 73 73 3a 20 30 2c 0a 0a 20 20 20 20 20 20 20 20 | ....mTotalProgress:.0,.......... |
ab500 | 20 20 20 20 2f 2f 20 63 6f 75 6e 74 20 6f 66 20 6f 70 65 6e 20 72 65 71 75 65 73 74 73 20 28 73 | ....//.count.of.open.requests.(s |
ab520 | 68 6f 75 6c 64 20 61 6c 77 61 79 73 20 62 65 20 30 20 6f 72 20 31 29 0a 20 20 20 20 20 20 20 20 | hould.always.be.0.or.1)......... |
ab540 | 20 20 20 20 6d 52 65 71 75 65 73 74 43 6f 75 6e 74 3a 20 30 2c 0a 0a 20 20 20 20 20 20 20 20 20 | ....mRequestCount:.0,........... |
ab560 | 20 20 20 6f 6e 50 72 6f 67 72 65 73 73 43 68 61 6e 67 65 20 3a 20 66 75 6e 63 74 69 6f 6e 20 28 | ...onProgressChange.:.function.( |
ab580 | 61 57 65 62 50 72 6f 67 72 65 73 73 2c 20 61 52 65 71 75 65 73 74 2c 0a 20 20 20 20 20 20 20 20 | aWebProgress,.aRequest,......... |
ab5a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
ab5c0 | 20 61 43 75 72 53 65 6c 66 50 72 6f 67 72 65 73 73 2c 20 61 4d 61 78 53 65 6c 66 50 72 6f 67 72 | .aCurSelfProgress,.aMaxSelfProgr |
ab5e0 | 65 73 73 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ess,............................ |
ab600 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 43 75 72 54 6f 74 61 6c 50 72 6f 67 72 65 73 73 2c | ..............aCurTotalProgress, |
ab620 | 20 61 4d 61 78 54 6f 74 61 6c 50 72 6f 67 72 65 73 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 | .aMaxTotalProgress)............. |
ab640 | 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 54 6f 74 61 6c 50 72 6f 67 72 | {...............this.mTotalProgr |
ab660 | 65 73 73 20 3d 20 61 4d 61 78 54 6f 74 61 6c 50 72 6f 67 72 65 73 73 20 3f 20 61 43 75 72 54 6f | ess.=.aMaxTotalProgress.?.aCurTo |
ab680 | 74 61 6c 50 72 6f 67 72 65 73 73 20 2f 20 61 4d 61 78 54 6f 74 61 6c 50 72 6f 67 72 65 73 73 20 | talProgress./.aMaxTotalProgress. |
ab6a0 | 3a 20 30 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 6d 42 6c | :.0;................if.(this.mBl |
ab6c0 | 61 6e 6b 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 | ank).................return;.... |
ab6e0 | 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 6d 54 61 62 42 72 6f 77 73 65 72 | ............if.(this.mTabBrowser |
ab700 | 2e 6d 43 75 72 72 65 6e 74 54 61 62 20 3d 3d 20 74 68 69 73 2e 6d 54 61 62 29 20 7b 0a 20 20 20 | .mCurrentTab.==.this.mTab).{.... |
ab720 | 20 20 20 20 20 20 20 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c | .............for.(var.i.=.0;.i.< |
ab740 | 20 74 68 69 73 2e 6d 54 61 62 42 72 6f 77 73 65 72 2e 6d 50 72 6f 67 72 65 73 73 4c 69 73 74 65 | .this.mTabBrowser.mProgressListe |
ab760 | 6e 65 72 73 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ners.length;.i++).{............. |
ab780 | 20 20 20 20 20 20 76 61 72 20 70 20 3d 20 74 68 69 73 2e 6d 54 61 62 42 72 6f 77 73 65 72 2e 6d | ......var.p.=.this.mTabBrowser.m |
ab7a0 | 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 73 5b 69 5d 3b 0a 20 20 20 20 20 20 20 20 20 20 | ProgressListeners[i];........... |
ab7c0 | 20 20 20 20 20 20 20 20 69 66 20 28 70 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ........if.(p).................. |
ab7e0 | 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 | ...try.{.......................p |
ab800 | 2e 6f 6e 50 72 6f 67 72 65 73 73 43 68 61 6e 67 65 28 61 57 65 62 50 72 6f 67 72 65 73 73 2c 20 | .onProgressChange(aWebProgress,. |
ab820 | 61 52 65 71 75 65 73 74 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | aRequest,....................... |
ab840 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 43 75 72 53 65 6c 66 50 72 6f 67 72 | ...................aCurSelfProgr |
ab860 | 65 73 73 2c 20 61 4d 61 78 53 65 6c 66 50 72 6f 67 72 65 73 73 2c 0a 20 20 20 20 20 20 20 20 20 | ess,.aMaxSelfProgress,.......... |
ab880 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
ab8a0 | 61 43 75 72 54 6f 74 61 6c 50 72 6f 67 72 65 73 73 2c 20 61 4d 61 78 54 6f 74 61 6c 50 72 6f 67 | aCurTotalProgress,.aMaxTotalProg |
ab8c0 | 72 65 73 73 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 20 63 61 74 | ress);.....................}.cat |
ab8e0 | 63 68 20 28 65 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f | ch.(e).{......................./ |
ab900 | 2f 20 64 6f 6e 27 74 20 69 6e 68 69 62 69 74 20 6f 74 68 65 72 20 6c 69 73 74 65 6e 65 72 73 20 | /.don't.inhibit.other.listeners. |
ab920 | 6f 72 20 66 6f 6c 6c 6f 77 69 6e 67 20 63 6f 64 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | or.following.code............... |
ab940 | 20 20 20 20 20 20 20 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 75 74 69 6c 73 2e 72 65 70 6f 72 74 45 | ........Components.utils.reportE |
ab960 | 72 72 6f 72 28 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 | rror(e);.....................}.. |
ab980 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d | ...............}...............} |
ab9a0 | 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 | ................for.(var.i.=.0;. |
ab9c0 | 69 20 3c 20 74 68 69 73 2e 6d 54 61 62 42 72 6f 77 73 65 72 2e 6d 54 61 62 73 50 72 6f 67 72 65 | i.<.this.mTabBrowser.mTabsProgre |
ab9e0 | 73 73 4c 69 73 74 65 6e 65 72 73 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 20 7b 0a 20 20 20 20 20 | ssListeners.length;.i++).{...... |
aba00 | 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 70 20 3d 20 74 68 69 73 2e 6d 54 61 62 42 72 6f 77 | ...........var.p.=.this.mTabBrow |
aba20 | 73 65 72 2e 6d 54 61 62 73 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 73 5b 69 5d 3b 0a 20 | ser.mTabsProgressListeners[i];.. |
aba40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 70 29 0a 20 20 20 20 20 20 20 20 20 20 | ...............if.(p)........... |
aba60 | 20 20 20 20 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ........try.{................... |
aba80 | 20 20 70 2e 6f 6e 50 72 6f 67 72 65 73 73 43 68 61 6e 67 65 28 74 68 69 73 2e 6d 42 72 6f 77 73 | ..p.onProgressChange(this.mBrows |
abaa0 | 65 72 2c 20 61 57 65 62 50 72 6f 67 72 65 73 73 2c 20 61 52 65 71 75 65 73 74 2c 0a 20 20 20 20 | er,.aWebProgress,.aRequest,..... |
abac0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
abae0 | 20 20 20 61 43 75 72 53 65 6c 66 50 72 6f 67 72 65 73 73 2c 20 61 4d 61 78 53 65 6c 66 50 72 6f | ...aCurSelfProgress,.aMaxSelfPro |
abb00 | 67 72 65 73 73 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | gress,.......................... |
abb20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 43 75 72 54 6f 74 61 6c 50 72 6f 67 72 65 73 73 2c | ..............aCurTotalProgress, |
abb40 | 20 61 4d 61 78 54 6f 74 61 6c 50 72 6f 67 72 65 73 73 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 | .aMaxTotalProgress);............ |
abb60 | 20 20 20 20 20 20 20 7d 20 63 61 74 63 68 20 28 65 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 | .......}.catch.(e).{............ |
abb80 | 20 20 20 20 20 20 20 20 20 2f 2f 20 64 6f 6e 27 74 20 69 6e 68 69 62 69 74 20 6f 74 68 65 72 20 | .........//.don't.inhibit.other. |
abba0 | 6c 69 73 74 65 6e 65 72 73 20 6f 72 20 66 6f 6c 6c 6f 77 69 6e 67 20 63 6f 64 65 0a 20 20 20 20 | listeners.or.following.code..... |
abbc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 75 74 69 6c 73 | ................Components.utils |
abbe0 | 2e 72 65 70 6f 72 74 45 72 72 6f 72 28 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .reportError(e);................ |
abc00 | 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 | ...}...............}............ |
abc20 | 20 7d 2c 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 50 72 6f 67 72 65 73 73 43 68 61 6e 67 | .},..............onProgressChang |
abc40 | 65 36 34 20 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 57 65 62 50 72 6f 67 72 65 73 73 2c 20 61 52 | e64.:.function.(aWebProgress,.aR |
abc60 | 65 71 75 65 73 74 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | equest,......................... |
abc80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 43 75 72 53 65 6c 66 50 72 6f 67 72 65 73 | .................aCurSelfProgres |
abca0 | 73 2c 20 61 4d 61 78 53 65 6c 66 50 72 6f 67 72 65 73 73 2c 0a 20 20 20 20 20 20 20 20 20 20 20 | s,.aMaxSelfProgress,............ |
abcc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 43 | ..............................aC |
abce0 | 75 72 54 6f 74 61 6c 50 72 6f 67 72 65 73 73 2c 20 61 4d 61 78 54 6f 74 61 6c 50 72 6f 67 72 65 | urTotalProgress,.aMaxTotalProgre |
abd00 | 73 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ss).............{............... |
abd20 | 72 65 74 75 72 6e 20 74 68 69 73 2e 6f 6e 50 72 6f 67 72 65 73 73 43 68 61 6e 67 65 28 61 57 65 | return.this.onProgressChange(aWe |
abd40 | 62 50 72 6f 67 72 65 73 73 2c 20 61 52 65 71 75 65 73 74 2c 0a 20 20 20 20 20 20 20 20 20 20 20 | bProgress,.aRequest,............ |
abd60 | 20 20 20 20 20 61 43 75 72 53 65 6c 66 50 72 6f 67 72 65 73 73 2c 20 61 4d 61 78 53 65 6c 66 50 | .....aCurSelfProgress,.aMaxSelfP |
abd80 | 72 6f 67 72 65 73 73 2c 20 61 43 75 72 54 6f 74 61 6c 50 72 6f 67 72 65 73 73 2c 0a 20 20 20 20 | rogress,.aCurTotalProgress,..... |
abda0 | 20 20 20 20 20 20 20 20 20 20 20 20 61 4d 61 78 54 6f 74 61 6c 50 72 6f 67 72 65 73 73 29 3b 0a | ............aMaxTotalProgress);. |
abdc0 | 20 20 20 20 20 20 20 20 20 20 20 20 7d 2c 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 53 74 | ............},..............onSt |
abde0 | 61 74 65 43 68 61 6e 67 65 20 3a 20 66 75 6e 63 74 69 6f 6e 28 61 57 65 62 50 72 6f 67 72 65 73 | ateChange.:.function(aWebProgres |
abe00 | 73 2c 20 61 52 65 71 75 65 73 74 2c 20 61 53 74 61 74 65 46 6c 61 67 73 2c 20 61 53 74 61 74 75 | s,.aRequest,.aStateFlags,.aStatu |
abe20 | 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 | s).............{...............i |
abe40 | 66 20 28 21 61 52 65 71 75 65 73 74 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 | f.(!aRequest).................re |
abe60 | 74 75 72 6e 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 6f 6c 64 42 6c 61 6e | turn;................var.oldBlan |
abe80 | 6b 20 3d 20 74 68 69 73 2e 6d 42 6c 61 6e 6b 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | k.=.this.mBlank;................ |
abea0 | 63 6f 6e 73 74 20 6e 73 49 57 65 62 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 20 3d 20 43 | const.nsIWebProgressListener.=.C |
abec0 | 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 57 65 62 50 72 6f 67 72 | omponents.interfaces.nsIWebProgr |
abee0 | 65 73 73 4c 69 73 74 65 6e 65 72 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6e 73 74 | essListener;...............const |
abf00 | 20 6e 73 49 43 68 61 6e 6e 65 6c 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 | .nsIChannel.=.Components.interfa |
abf20 | 63 65 73 2e 6e 73 49 43 68 61 6e 6e 65 6c 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 | ces.nsIChannel;................i |
abf40 | 66 20 28 61 53 74 61 74 65 46 6c 61 67 73 20 26 20 6e 73 49 57 65 62 50 72 6f 67 72 65 73 73 4c | f.(aStateFlags.&.nsIWebProgressL |
abf60 | 69 73 74 65 6e 65 72 2e 53 54 41 54 45 5f 53 54 41 52 54 29 20 7b 0a 20 20 20 20 20 20 20 20 20 | istener.STATE_START).{.......... |
abf80 | 20 20 20 20 20 20 20 74 68 69 73 2e 6d 52 65 71 75 65 73 74 43 6f 75 6e 74 2b 2b 3b 0a 20 20 20 | .......this.mRequestCount++;.... |
abfa0 | 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 20 | ...........}...............else. |
abfc0 | 69 66 20 28 61 53 74 61 74 65 46 6c 61 67 73 20 26 20 6e 73 49 57 65 62 50 72 6f 67 72 65 73 73 | if.(aStateFlags.&.nsIWebProgress |
abfe0 | 4c 69 73 74 65 6e 65 72 2e 53 54 41 54 45 5f 53 54 4f 50 29 20 7b 0a 20 20 20 20 20 20 20 20 20 | Listener.STATE_STOP).{.......... |
ac000 | 20 20 20 20 20 20 20 63 6f 6e 73 74 20 4e 53 5f 45 52 52 4f 52 5f 55 4e 4b 4e 4f 57 4e 5f 48 4f | .......const.NS_ERROR_UNKNOWN_HO |
ac020 | 53 54 20 3d 20 32 31 35 32 33 39 38 38 37 38 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ST.=.2152398878;................ |
ac040 | 20 69 66 20 28 2d 2d 74 68 69 73 2e 6d 52 65 71 75 65 73 74 43 6f 75 6e 74 20 3e 20 30 20 26 26 | .if.(--this.mRequestCount.>.0.&& |
ac060 | 20 61 53 74 61 74 75 73 20 3d 3d 20 4e 53 5f 45 52 52 4f 52 5f 55 4e 4b 4e 4f 57 4e 5f 48 4f 53 | .aStatus.==.NS_ERROR_UNKNOWN_HOS |
ac080 | 54 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 74 6f 20 70 72 65 | T).{...................//.to.pre |
ac0a0 | 76 65 6e 74 20 62 75 67 20 32 33 35 38 32 35 3a 20 77 61 69 74 20 66 6f 72 20 74 68 65 20 72 65 | vent.bug.235825:.wait.for.the.re |
ac0c0 | 71 75 65 73 74 20 68 61 6e 64 6c 65 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | quest.handled................... |
ac0e0 | 2f 2f 20 62 79 20 74 68 65 20 61 75 74 6f 6d 61 74 69 63 20 6b 65 79 77 6f 72 64 20 72 65 73 6f | //.by.the.automatic.keyword.reso |
ac100 | 6c 76 65 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 | lver...................return;.. |
ac120 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ...............}................ |
ac140 | 20 2f 2f 20 73 69 6e 63 65 20 77 65 20 28 74 72 79 20 74 6f 29 20 6f 6e 6c 79 20 68 61 6e 64 6c | .//.since.we.(try.to).only.handl |
ac160 | 65 20 53 54 41 54 45 5f 53 54 4f 50 20 6f 66 20 74 68 65 20 6c 61 73 74 20 72 65 71 75 65 73 74 | e.STATE_STOP.of.the.last.request |
ac180 | 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 74 68 65 20 63 6f 75 6e 74 20 6f | ,.................//.the.count.o |
ac1a0 | 66 20 6f 70 65 6e 20 72 65 71 75 65 73 74 73 20 73 68 6f 75 6c 64 20 6e 6f 77 20 62 65 20 30 0a | f.open.requests.should.now.be.0. |
ac1c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 52 65 71 75 65 73 74 43 6f 75 | ................this.mRequestCou |
ac1e0 | 6e 74 20 3d 20 30 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 | nt.=.0;...............}......... |
ac200 | 20 20 20 20 20 20 20 69 66 20 28 61 53 74 61 74 65 46 6c 61 67 73 20 26 20 6e 73 49 57 65 62 50 | .......if.(aStateFlags.&.nsIWebP |
ac220 | 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 2e 53 54 41 54 45 5f 53 54 41 52 54 20 26 26 0a 20 | rogressListener.STATE_START.&&.. |
ac240 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 53 74 61 74 65 46 6c 61 67 73 20 26 20 6e | .................aStateFlags.&.n |
ac260 | 73 49 57 65 62 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 2e 53 54 41 54 45 5f 49 53 5f 4e | sIWebProgressListener.STATE_IS_N |
ac280 | 45 54 57 4f 52 4b 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 49 74 27 | ETWORK).{.................//.It' |
ac2a0 | 73 20 6f 6b 61 79 20 74 6f 20 63 6c 65 61 72 20 77 68 61 74 20 74 68 65 20 75 73 65 72 20 74 79 | s.okay.to.clear.what.the.user.ty |
ac2c0 | 70 65 64 20 77 68 65 6e 20 77 65 20 73 74 61 72 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ped.when.we.start............... |
ac2e0 | 20 20 2f 2f 20 6c 6f 61 64 69 6e 67 20 61 20 64 6f 63 75 6d 65 6e 74 2e 20 49 66 20 74 68 65 20 | ..//.loading.a.document..If.the. |
ac300 | 75 73 65 72 20 74 79 70 65 73 2c 20 74 68 69 73 20 63 6f 75 6e 74 65 72 20 67 65 74 73 0a 20 20 | user.types,.this.counter.gets... |
ac320 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 73 65 74 20 74 6f 20 7a 65 72 6f 2c 20 69 66 | ..............//.set.to.zero,.if |
ac340 | 20 74 68 65 20 64 6f 63 75 6d 65 6e 74 20 6c 6f 61 64 20 65 6e 64 73 20 77 69 74 68 6f 75 74 20 | .the.document.load.ends.without. |
ac360 | 61 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 6f 6e 4c 6f 63 61 74 69 6f 6e | an.................//.onLocation |
ac380 | 43 68 61 6e 67 65 2c 20 74 68 69 73 20 63 6f 75 6e 74 65 72 20 67 65 74 73 20 64 65 63 72 65 6d | Change,.this.counter.gets.decrem |
ac3a0 | 65 6e 74 65 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 28 73 6f 20 77 65 20 | ented.................//.(so.we. |
ac3c0 | 6b 65 65 70 20 69 74 20 77 68 69 6c 65 20 73 77 69 74 63 68 69 6e 67 20 74 61 62 73 20 61 66 74 | keep.it.while.switching.tabs.aft |
ac3e0 | 65 72 20 66 61 69 6c 65 64 20 6c 6f 61 64 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | er.failed.loads)................ |
ac400 | 20 2f 2f 20 57 65 20 6e 65 65 64 20 74 6f 20 61 64 64 20 32 20 62 65 63 61 75 73 65 20 6c 6f 61 | .//.We.need.to.add.2.because.loa |
ac420 | 64 55 52 49 57 69 74 68 46 6c 61 67 73 20 6d 61 79 20 68 61 76 65 0a 20 20 20 20 20 20 20 20 20 | dURIWithFlags.may.have.......... |
ac440 | 20 20 20 20 20 20 20 2f 2f 20 63 61 6e 63 65 6c 6c 65 64 20 61 20 70 65 6e 64 69 6e 67 20 6c 6f | .......//.cancelled.a.pending.lo |
ac460 | 61 64 20 77 68 69 63 68 20 77 6f 75 6c 64 20 68 61 76 65 20 63 6c 65 61 72 65 64 0a 20 20 20 20 | ad.which.would.have.cleared..... |
ac480 | 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 69 74 73 20 61 6e 63 68 6f 72 20 73 63 72 6f 6c 6c | ............//.its.anchor.scroll |
ac4a0 | 20 64 65 74 65 63 74 69 6f 6e 20 74 65 6d 70 6f 72 61 72 79 20 69 6e 63 72 65 6d 65 6e 74 2e 0a | .detection.temporary.increment.. |
ac4c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 61 57 65 62 50 72 6f 67 72 65 73 73 | ................if.(aWebProgress |
ac4e0 | 2e 44 4f 4d 57 69 6e 64 6f 77 20 3d 3d 20 74 68 69 73 2e 6d 42 72 6f 77 73 65 72 2e 63 6f 6e 74 | .DOMWindow.==.this.mBrowser.cont |
ac500 | 65 6e 74 57 69 6e 64 6f 77 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 | entWindow)...................thi |
ac520 | 73 2e 6d 42 72 6f 77 73 65 72 2e 75 73 65 72 54 79 70 65 64 43 6c 65 61 72 20 2b 3d 20 32 3b 0a | s.mBrowser.userTypedClear.+=.2;. |
ac540 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 74 68 69 73 2e 6d 42 6c 61 6e | .................if.(!this.mBlan |
ac560 | 6b 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 54 61 62 | k).{...................this.mTab |
ac580 | 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 62 75 73 79 22 2c 20 22 74 72 75 65 22 29 3b 0a 20 | .setAttribute("busy",."true");.. |
ac5a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 54 61 62 42 72 6f 77 73 65 | .................this.mTabBrowse |
ac5c0 | 72 2e 75 70 64 61 74 65 49 63 6f 6e 28 74 68 69 73 2e 6d 54 61 62 29 3b 0a 20 20 20 20 20 20 20 | r.updateIcon(this.mTab);........ |
ac5e0 | 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 54 61 62 42 72 6f 77 73 65 72 2e 73 65 74 54 | ...........this.mTabBrowser.setT |
ac600 | 61 62 54 69 74 6c 65 4c 6f 61 64 69 6e 67 28 74 68 69 73 2e 6d 54 61 62 29 3b 0a 0a 20 20 20 20 | abTitleLoading(this.mTab);...... |
ac620 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 6d 54 61 62 42 72 6f 77 73 | ..............if.(this.mTabBrows |
ac640 | 65 72 2e 6d 43 75 72 72 65 6e 74 54 61 62 20 3d 3d 20 74 68 69 73 2e 6d 54 61 62 29 0a 20 20 20 | er.mCurrentTab.==.this.mTab).... |
ac660 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 54 61 62 42 72 6f 77 73 65 | .................this.mTabBrowse |
ac680 | 72 2e 6d 49 73 42 75 73 79 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | r.mIsBusy.=.true;............... |
ac6a0 | 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ..}...............}............. |
ac6c0 | 20 20 65 6c 73 65 20 69 66 20 28 61 53 74 61 74 65 46 6c 61 67 73 20 26 20 6e 73 49 57 65 62 50 | ..else.if.(aStateFlags.&.nsIWebP |
ac6e0 | 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 2e 53 54 41 54 45 5f 53 54 4f 50 20 26 26 0a 20 20 | rogressListener.STATE_STOP.&&... |
ac700 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 53 74 61 74 65 46 6c 61 67 73 | .....................aStateFlags |
ac720 | 20 26 20 6e 73 49 57 65 62 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 2e 53 54 41 54 45 5f | .&.nsIWebProgressListener.STATE_ |
ac740 | 49 53 5f 4e 45 54 57 4f 52 4b 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 | IS_NETWORK).{.................if |
ac760 | 20 28 61 57 65 62 50 72 6f 67 72 65 73 73 2e 44 4f 4d 57 69 6e 64 6f 77 20 3d 3d 20 74 68 69 73 | .(aWebProgress.DOMWindow.==.this |
ac780 | 2e 6d 42 72 6f 77 73 65 72 2e 63 6f 6e 74 65 6e 74 57 69 6e 64 6f 77 29 20 7b 0a 20 20 20 20 20 | .mBrowser.contentWindow).{...... |
ac7a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 54 68 65 20 64 6f 63 75 6d 65 6e 74 20 69 73 20 | .............//.The.document.is. |
ac7c0 | 64 6f 6e 65 20 6c 6f 61 64 69 6e 67 2c 20 77 65 20 6e 6f 20 6c 6f 6e 67 65 72 20 77 61 6e 74 20 | done.loading,.we.no.longer.want. |
ac7e0 | 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 76 61 6c 75 65 20 63 | the...................//.value.c |
ac800 | 6c 65 61 72 65 64 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 68 | leared....................if.(th |
ac820 | 69 73 2e 6d 42 72 6f 77 73 65 72 2e 75 73 65 72 54 79 70 65 64 43 6c 65 61 72 20 3e 20 31 29 0a | is.mBrowser.userTypedClear.>.1). |
ac840 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 42 72 6f 77 73 65 | ....................this.mBrowse |
ac860 | 72 2e 75 73 65 72 54 79 70 65 64 43 6c 65 61 72 20 2d 3d 20 32 3b 0a 20 20 20 20 20 20 20 20 20 | r.userTypedClear.-=.2;.......... |
ac880 | 20 20 20 20 20 20 20 20 20 65 6c 73 65 20 69 66 20 28 74 68 69 73 2e 6d 42 72 6f 77 73 65 72 2e | .........else.if.(this.mBrowser. |
ac8a0 | 75 73 65 72 54 79 70 65 64 43 6c 65 61 72 20 3e 20 30 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 | userTypedClear.>.0)............. |
ac8c0 | 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 42 72 6f 77 73 65 72 2e 75 73 65 72 54 79 70 65 64 43 | ........this.mBrowser.userTypedC |
ac8e0 | 6c 65 61 72 2d 2d 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 | lear--;....................if.(! |
ac900 | 74 68 69 73 2e 6d 42 72 6f 77 73 65 72 2e 6d 49 63 6f 6e 55 52 4c 29 0a 20 20 20 20 20 20 20 20 | this.mBrowser.mIconURL)......... |
ac920 | 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 54 61 62 42 72 6f 77 73 65 72 2e 75 73 65 | ............this.mTabBrowser.use |
ac940 | 44 65 66 61 75 6c 74 49 63 6f 6e 28 74 68 69 73 2e 6d 54 61 62 29 3b 0a 20 20 20 20 20 20 20 20 | DefaultIcon(this.mTab);......... |
ac960 | 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 | ........}..................if.(t |
ac980 | 68 69 73 2e 6d 42 6c 61 6e 6b 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 | his.mBlank)...................th |
ac9a0 | 69 73 2e 6d 42 6c 61 6e 6b 20 3d 20 66 61 6c 73 65 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 | is.mBlank.=.false;.............. |
ac9c0 | 20 20 20 20 74 68 69 73 2e 6d 54 61 62 2e 72 65 6d 6f 76 65 41 74 74 72 69 62 75 74 65 28 22 62 | ....this.mTab.removeAttribute("b |
ac9e0 | 75 73 79 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 54 61 62 | usy");.................this.mTab |
aca00 | 42 72 6f 77 73 65 72 2e 75 70 64 61 74 65 49 63 6f 6e 28 74 68 69 73 2e 6d 54 61 62 29 3b 0a 0a | Browser.updateIcon(this.mTab);.. |
aca20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 6c 6f 63 61 74 69 6f 6e 20 3d 20 61 | ................var.location.=.a |
aca40 | 52 65 71 75 65 73 74 2e 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 28 6e 73 49 43 68 61 6e 6e 65 | Request.QueryInterface(nsIChanne |
aca60 | 6c 29 2e 55 52 49 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 46 6f 72 20 | l).URI;..................//.For. |
aca80 | 6b 65 79 77 6f 72 64 20 55 52 49 73 20 63 6c 65 61 72 20 74 68 65 20 75 73 65 72 20 74 79 70 65 | keyword.URIs.clear.the.user.type |
acaa0 | 64 20 76 61 6c 75 65 20 73 69 6e 63 65 20 74 68 65 79 20 77 69 6c 6c 20 62 65 20 63 68 61 6e 67 | d.value.since.they.will.be.chang |
acac0 | 65 64 20 69 6e 74 6f 20 72 65 61 6c 20 55 52 49 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ed.into.real.URIs............... |
acae0 | 20 20 69 66 20 28 6c 6f 63 61 74 69 6f 6e 2e 73 63 68 65 6d 65 20 3d 3d 20 22 6b 65 79 77 6f 72 | ..if.(location.scheme.==."keywor |
acb00 | 64 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 42 72 6f 77 | d")...................this.mBrow |
acb20 | 73 65 72 2e 75 73 65 72 54 79 70 65 64 56 61 6c 75 65 20 3d 20 6e 75 6c 6c 3b 0a 0a 20 20 20 20 | ser.userTypedValue.=.null;...... |
acb40 | 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 6d 54 61 62 2e 6c 61 62 65 6c 20 | ............if.(this.mTab.label. |
acb60 | 3d 3d 20 74 68 69 73 2e 6d 54 61 62 42 72 6f 77 73 65 72 2e 6d 53 74 72 69 6e 67 42 75 6e 64 6c | ==.this.mTabBrowser.mStringBundl |
acb80 | 65 2e 67 65 74 53 74 72 69 6e 67 28 22 74 61 62 73 2e 6c 6f 61 64 69 6e 67 22 29 29 0a 20 20 20 | e.getString("tabs.loading")).... |
acba0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 54 61 62 42 72 6f 77 73 65 72 2e | ...............this.mTabBrowser. |
acbc0 | 73 65 74 54 61 62 54 69 74 6c 65 28 74 68 69 73 2e 6d 54 61 62 29 3b 0a 0a 20 20 20 20 20 20 20 | setTabTitle(this.mTab);......... |
acbe0 | 20 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 6d 54 61 62 42 72 6f 77 73 65 72 2e 6d 43 | .........if.(this.mTabBrowser.mC |
acc00 | 75 72 72 65 6e 74 54 61 62 20 3d 3d 20 74 68 69 73 2e 6d 54 61 62 29 0a 20 20 20 20 20 20 20 20 | urrentTab.==.this.mTab)......... |
acc20 | 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 54 61 62 42 72 6f 77 73 65 72 2e 6d 49 73 42 75 | ..........this.mTabBrowser.mIsBu |
acc40 | 73 79 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 | sy.=.false;...............}..... |
acc60 | 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 6d 54 61 62 42 72 6f 77 73 65 72 2e | ...........if.(this.mTabBrowser. |
acc80 | 6d 43 75 72 72 65 6e 74 54 61 62 20 3d 3d 20 74 68 69 73 2e 6d 54 61 62 29 20 7b 0a 20 20 20 20 | mCurrentTab.==.this.mTab).{..... |
acca0 | 20 20 20 20 20 20 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 | ............for.(var.i.=.0;.i.<. |
accc0 | 74 68 69 73 2e 6d 54 61 62 42 72 6f 77 73 65 72 2e 6d 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e | this.mTabBrowser.mProgressListen |
acce0 | 65 72 73 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ers.length;.i++).{.............. |
acd00 | 20 20 20 20 20 76 61 72 20 70 20 3d 20 74 68 69 73 2e 6d 54 61 62 42 72 6f 77 73 65 72 2e 6d 50 | .....var.p.=.this.mTabBrowser.mP |
acd20 | 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 73 5b 69 5d 3b 0a 20 20 20 20 20 20 20 20 20 20 20 | rogressListeners[i];............ |
acd40 | 20 20 20 20 20 20 20 69 66 20 28 70 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .......if.(p)................... |
acd60 | 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 | ..try.{.......................if |
acd80 | 20 28 21 6f 6c 64 42 6c 61 6e 6b 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .(!oldBlank).................... |
acda0 | 20 20 20 20 20 70 2e 6f 6e 53 74 61 74 65 43 68 61 6e 67 65 28 61 57 65 62 50 72 6f 67 72 65 73 | .....p.onStateChange(aWebProgres |
acdc0 | 73 2c 20 61 52 65 71 75 65 73 74 2c 20 61 53 74 61 74 65 46 6c 61 67 73 2c 20 61 53 74 61 74 75 | s,.aRequest,.aStateFlags,.aStatu |
acde0 | 73 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 6d 61 6b | s);.......................//.mak |
ace00 | 65 20 73 75 72 65 20 74 68 61 74 20 74 68 65 20 76 69 73 69 62 6c 65 20 73 74 61 74 75 73 20 6f | e.sure.that.the.visible.status.o |
ace20 | 66 20 6e 65 77 20 62 6c 61 6e 6b 20 74 61 62 73 20 69 73 20 63 6f 72 72 65 63 74 6c 79 20 73 65 | f.new.blank.tabs.is.correctly.se |
ace40 | 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 20 69 66 20 | t.......................else.if. |
ace60 | 28 22 6f 6e 55 70 64 61 74 65 43 75 72 72 65 6e 74 42 72 6f 77 73 65 72 22 20 69 6e 20 70 29 0a | ("onUpdateCurrentBrowser".in.p). |
ace80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 2e 6f 6e 55 70 64 61 | ........................p.onUpda |
acea0 | 74 65 43 75 72 72 65 6e 74 42 72 6f 77 73 65 72 28 61 53 74 61 74 65 46 6c 61 67 73 2c 20 61 53 | teCurrentBrowser(aStateFlags,.aS |
acec0 | 74 61 74 75 73 2c 20 22 22 2c 20 30 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | tatus,."",.0);.................. |
acee0 | 20 20 20 7d 20 63 61 74 63 68 20 28 65 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ...}.catch.(e).{................ |
acf00 | 20 20 20 20 20 20 20 2f 2f 20 64 6f 6e 27 74 20 69 6e 68 69 62 69 74 20 6f 74 68 65 72 20 6c 69 | .......//.don't.inhibit.other.li |
acf20 | 73 74 65 6e 65 72 73 20 6f 72 20 66 6f 6c 6c 6f 77 69 6e 67 20 63 6f 64 65 0a 20 20 20 20 20 20 | steners.or.following.code....... |
acf40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 75 74 69 6c 73 | ................Components.utils |
acf60 | 2e 72 65 70 6f 72 74 45 72 72 6f 72 28 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .reportError(e);................ |
acf80 | 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 | .....}.................}........ |
acfa0 | 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 | .......}................for.(var |
acfc0 | 20 69 20 3d 20 30 3b 20 69 20 3c 20 74 68 69 73 2e 6d 54 61 62 42 72 6f 77 73 65 72 2e 6d 54 61 | .i.=.0;.i.<.this.mTabBrowser.mTa |
acfe0 | 62 73 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 73 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 | bsProgressListeners.length;.i++) |
ad000 | 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 70 20 3d 20 74 68 69 73 2e | .{.................var.p.=.this. |
ad020 | 6d 54 61 62 42 72 6f 77 73 65 72 2e 6d 54 61 62 73 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 | mTabBrowser.mTabsProgressListene |
ad040 | 72 73 5b 69 5d 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 70 29 0a 20 20 | rs[i];.................if.(p)... |
ad060 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 20 20 20 20 | ................try.{........... |
ad080 | 20 20 20 20 20 20 20 20 20 20 70 2e 6f 6e 53 74 61 74 65 43 68 61 6e 67 65 28 74 68 69 73 2e 6d | ..........p.onStateChange(this.m |
ad0a0 | 42 72 6f 77 73 65 72 2c 20 61 57 65 62 50 72 6f 67 72 65 73 73 2c 20 61 52 65 71 75 65 73 74 2c | Browser,.aWebProgress,.aRequest, |
ad0c0 | 20 61 53 74 61 74 65 46 6c 61 67 73 2c 20 61 53 74 61 74 75 73 29 3b 0a 20 20 20 20 20 20 20 20 | .aStateFlags,.aStatus);......... |
ad0e0 | 20 20 20 20 20 20 20 20 20 20 7d 20 63 61 74 63 68 20 28 65 29 20 7b 0a 20 20 20 20 20 20 20 20 | ..........}.catch.(e).{......... |
ad100 | 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 64 6f 6e 27 74 20 69 6e 68 69 62 69 74 20 6f 74 68 | ............//.don't.inhibit.oth |
ad120 | 65 72 20 6c 69 73 74 65 6e 65 72 73 20 6f 72 20 66 6f 6c 6c 6f 77 69 6e 67 20 63 6f 64 65 0a 20 | er.listeners.or.following.code.. |
ad140 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 75 74 | ...................Components.ut |
ad160 | 69 6c 73 2e 72 65 70 6f 72 74 45 72 72 6f 72 28 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ils.reportError(e);............. |
ad180 | 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 | ......}...............}......... |
ad1a0 | 20 20 20 20 20 20 20 69 66 20 28 61 53 74 61 74 65 46 6c 61 67 73 20 26 20 28 6e 73 49 57 65 62 | .......if.(aStateFlags.&.(nsIWeb |
ad1c0 | 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 2e 53 54 41 54 45 5f 53 54 41 52 54 20 7c 0a 20 | ProgressListener.STATE_START.|.. |
ad1e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
ad200 | 6e 73 49 57 65 62 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 2e 53 54 41 54 45 5f 53 54 4f | nsIWebProgressListener.STATE_STO |
ad220 | 50 29 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 72 65 73 65 74 20 63 | P)).{.................//.reset.c |
ad240 | 61 63 68 65 64 20 74 65 6d 70 6f 72 61 72 79 20 76 61 6c 75 65 73 20 61 74 20 62 65 67 69 6e 6e | ached.temporary.values.at.beginn |
ad260 | 69 6e 67 20 61 6e 64 20 65 6e 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 | ing.and.end.................this |
ad280 | 2e 6d 4d 65 73 73 61 67 65 20 3d 20 22 22 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .mMessage.=."";................. |
ad2a0 | 74 68 69 73 2e 6d 54 6f 74 61 6c 50 72 6f 67 72 65 73 73 20 3d 20 30 3b 0a 20 20 20 20 20 20 20 | this.mTotalProgress.=.0;........ |
ad2c0 | 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 53 74 61 | .......}...............this.mSta |
ad2e0 | 74 65 46 6c 61 67 73 20 3d 20 61 53 74 61 74 65 46 6c 61 67 73 3b 0a 20 20 20 20 20 20 20 20 20 | teFlags.=.aStateFlags;.......... |
ad300 | 20 20 20 20 20 74 68 69 73 2e 6d 53 74 61 74 75 73 20 3d 20 61 53 74 61 74 75 73 3b 0a 20 20 20 | .....this.mStatus.=.aStatus;.... |
ad320 | 20 20 20 20 20 20 20 20 20 7d 2c 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 4c 6f 63 61 74 | .........},..............onLocat |
ad340 | 69 6f 6e 43 68 61 6e 67 65 20 3a 20 66 75 6e 63 74 69 6f 6e 28 61 57 65 62 50 72 6f 67 72 65 73 | ionChange.:.function(aWebProgres |
ad360 | 73 2c 20 61 52 65 71 75 65 73 74 2c 20 61 4c 6f 63 61 74 69 6f 6e 29 0a 20 20 20 20 20 20 20 20 | s,.aRequest,.aLocation)......... |
ad380 | 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 54 68 65 20 64 6f 63 75 6d | ....{...............//.The.docum |
ad3a0 | 65 6e 74 20 6c 6f 61 64 65 64 20 63 6f 72 72 65 63 74 6c 79 2c 20 63 6c 65 61 72 20 74 68 65 20 | ent.loaded.correctly,.clear.the. |
ad3c0 | 76 61 6c 75 65 20 69 66 20 77 65 20 73 68 6f 75 6c 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | value.if.we.should.............. |
ad3e0 | 20 69 66 20 28 74 68 69 73 2e 6d 42 72 6f 77 73 65 72 2e 75 73 65 72 54 79 70 65 64 43 6c 65 61 | .if.(this.mBrowser.userTypedClea |
ad400 | 72 20 3e 20 30 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 42 72 6f | r.>.0).................this.mBro |
ad420 | 77 73 65 72 2e 75 73 65 72 54 79 70 65 64 56 61 6c 75 65 20 3d 20 6e 75 6c 6c 3b 0a 0a 20 20 20 | wser.userTypedValue.=.null;..... |
ad440 | 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 61 57 65 62 50 72 6f 67 72 65 73 73 2e 44 4f 4d 57 | ...........if.(aWebProgress.DOMW |
ad460 | 69 6e 64 6f 77 20 3d 3d 20 74 68 69 73 2e 6d 42 72 6f 77 73 65 72 2e 63 6f 6e 74 65 6e 74 57 69 | indow.==.this.mBrowser.contentWi |
ad480 | 6e 64 6f 77 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 57 65 62 50 72 | ndow.&&...................aWebPr |
ad4a0 | 6f 67 72 65 73 73 2e 69 73 4c 6f 61 64 69 6e 67 44 6f 63 75 6d 65 6e 74 29 0a 20 20 20 20 20 20 | ogress.isLoadingDocument)....... |
ad4c0 | 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 54 61 62 42 72 6f 77 73 65 72 2e 73 65 74 49 63 | ..........this.mTabBrowser.setIc |
ad4e0 | 6f 6e 28 74 68 69 73 2e 6d 54 61 62 2c 20 6e 75 6c 6c 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 | on(this.mTab,.null);............ |
ad500 | 20 20 20 20 2f 2f 20 63 68 61 6e 67 69 6e 67 20 6c 6f 63 61 74 69 6f 6e 2c 20 63 6c 65 61 72 20 | ....//.changing.location,.clear. |
ad520 | 6f 75 74 20 74 68 65 20 6d 69 73 73 69 6e 67 20 70 6c 75 67 69 6e 73 20 6c 69 73 74 0a 20 20 20 | out.the.missing.plugins.list.... |
ad540 | 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 42 72 6f 77 73 65 72 2e 6d 69 73 73 69 6e 67 | ...........this.mBrowser.missing |
ad560 | 50 6c 75 67 69 6e 73 20 3d 20 6e 75 6c 6c 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 | Plugins.=.null;................i |
ad580 | 66 20 28 74 68 69 73 2e 6d 42 6c 61 6e 6b 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | f.(this.mBlank)................. |
ad5a0 | 72 65 74 75 72 6e 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e | return;................if.(this. |
ad5c0 | 6d 54 61 62 42 72 6f 77 73 65 72 2e 6d 43 75 72 72 65 6e 74 54 61 62 20 3d 3d 20 74 68 69 73 2e | mTabBrowser.mCurrentTab.==.this. |
ad5e0 | 6d 54 61 62 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 | mTab).{.................for.(var |
ad600 | 20 69 20 3d 20 30 3b 20 69 20 3c 20 74 68 69 73 2e 6d 54 61 62 42 72 6f 77 73 65 72 2e 6d 50 72 | .i.=.0;.i.<.this.mTabBrowser.mPr |
ad620 | 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 73 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 20 7b 0a 20 | ogressListeners.length;.i++).{.. |
ad640 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 70 20 3d 20 74 68 69 73 2e 6d 54 | .................var.p.=.this.mT |
ad660 | 61 62 42 72 6f 77 73 65 72 2e 6d 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 73 5b 69 5d 3b | abBrowser.mProgressListeners[i]; |
ad680 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 70 29 0a 20 20 20 20 20 20 | ...................if.(p)....... |
ad6a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ..............try.{............. |
ad6c0 | 20 20 20 20 20 20 20 20 20 20 70 2e 6f 6e 4c 6f 63 61 74 69 6f 6e 43 68 61 6e 67 65 28 61 57 65 | ..........p.onLocationChange(aWe |
ad6e0 | 62 50 72 6f 67 72 65 73 73 2c 20 61 52 65 71 75 65 73 74 2c 20 61 4c 6f 63 61 74 69 6f 6e 29 3b | bProgress,.aRequest,.aLocation); |
ad700 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 20 63 61 74 63 68 20 28 65 29 | .....................}.catch.(e) |
ad720 | 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 64 6f 6e 27 | .{.......................//.don' |
ad740 | 74 20 69 6e 68 69 62 69 74 20 6f 74 68 65 72 20 6c 69 73 74 65 6e 65 72 73 0a 20 20 20 20 20 20 | t.inhibit.other.listeners....... |
ad760 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 75 74 69 6c 73 | ................Components.utils |
ad780 | 2e 72 65 70 6f 72 74 45 72 72 6f 72 28 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .reportError(e);................ |
ad7a0 | 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 | .....}.................}........ |
ad7c0 | 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 | .......}................for.(var |
ad7e0 | 20 69 20 3d 20 30 3b 20 69 20 3c 20 74 68 69 73 2e 6d 54 61 62 42 72 6f 77 73 65 72 2e 6d 54 61 | .i.=.0;.i.<.this.mTabBrowser.mTa |
ad800 | 62 73 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 73 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 | bsProgressListeners.length;.i++) |
ad820 | 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 70 20 3d 20 74 68 69 73 2e | .{.................var.p.=.this. |
ad840 | 6d 54 61 62 42 72 6f 77 73 65 72 2e 6d 54 61 62 73 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 | mTabBrowser.mTabsProgressListene |
ad860 | 72 73 5b 69 5d 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 70 29 0a 20 20 | rs[i];.................if.(p)... |
ad880 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 20 20 20 20 | ................try.{........... |
ad8a0 | 20 20 20 20 20 20 20 20 20 20 70 2e 6f 6e 4c 6f 63 61 74 69 6f 6e 43 68 61 6e 67 65 28 74 68 69 | ..........p.onLocationChange(thi |
ad8c0 | 73 2e 6d 42 72 6f 77 73 65 72 2c 20 61 57 65 62 50 72 6f 67 72 65 73 73 2c 20 61 52 65 71 75 65 | s.mBrowser,.aWebProgress,.aReque |
ad8e0 | 73 74 2c 20 61 4c 6f 63 61 74 69 6f 6e 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | st,.aLocation);................. |
ad900 | 20 20 7d 20 63 61 74 63 68 20 28 65 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ..}.catch.(e).{................. |
ad920 | 20 20 20 20 2f 2f 20 64 6f 6e 27 74 20 69 6e 68 69 62 69 74 20 6f 74 68 65 72 20 6c 69 73 74 65 | ....//.don't.inhibit.other.liste |
ad940 | 6e 65 72 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 43 6f 6d 70 6f 6e 65 | ners.....................Compone |
ad960 | 6e 74 73 2e 75 74 69 6c 73 2e 72 65 70 6f 72 74 45 72 72 6f 72 28 65 29 3b 0a 20 20 20 20 20 20 | nts.utils.reportError(e);....... |
ad980 | 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 | ............}...............}... |
ad9a0 | 20 20 20 20 20 20 20 20 20 20 7d 2c 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 53 74 61 74 | ..........},..............onStat |
ad9c0 | 75 73 43 68 61 6e 67 65 20 3a 20 66 75 6e 63 74 69 6f 6e 28 61 57 65 62 50 72 6f 67 72 65 73 73 | usChange.:.function(aWebProgress |
ad9e0 | 2c 20 61 52 65 71 75 65 73 74 2c 20 61 53 74 61 74 75 73 2c 20 61 4d 65 73 73 61 67 65 29 0a 20 | ,.aRequest,.aStatus,.aMessage).. |
ada00 | 20 20 20 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 | ...........{...............if.(t |
ada20 | 68 69 73 2e 6d 42 6c 61 6e 6b 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 | his.mBlank).................retu |
ada40 | 72 6e 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 6d 54 61 62 | rn;................if.(this.mTab |
ada60 | 42 72 6f 77 73 65 72 2e 6d 43 75 72 72 65 6e 74 54 61 62 20 3d 3d 20 74 68 69 73 2e 6d 54 61 62 | Browser.mCurrentTab.==.this.mTab |
ada80 | 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d | ).{.................for.(var.i.= |
adaa0 | 20 30 3b 20 69 20 3c 20 74 68 69 73 2e 6d 54 61 62 42 72 6f 77 73 65 72 2e 6d 50 72 6f 67 72 65 | .0;.i.<.this.mTabBrowser.mProgre |
adac0 | 73 73 4c 69 73 74 65 6e 65 72 73 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 20 7b 0a 20 20 20 20 20 | ssListeners.length;.i++).{...... |
adae0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 70 20 3d 20 74 68 69 73 2e 6d 54 61 62 42 72 | .............var.p.=.this.mTabBr |
adb00 | 6f 77 73 65 72 2e 6d 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 73 5b 69 5d 3b 0a 20 20 20 | owser.mProgressListeners[i];.... |
adb20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 70 29 0a 20 20 20 20 20 20 20 20 20 20 | ...............if.(p)........... |
adb40 | 20 20 20 20 20 20 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ..........try.{................. |
adb60 | 20 20 20 20 20 20 70 2e 6f 6e 53 74 61 74 75 73 43 68 61 6e 67 65 28 61 57 65 62 50 72 6f 67 72 | ......p.onStatusChange(aWebProgr |
adb80 | 65 73 73 2c 20 61 52 65 71 75 65 73 74 2c 20 61 53 74 61 74 75 73 2c 20 61 4d 65 73 73 61 67 65 | ess,.aRequest,.aStatus,.aMessage |
adba0 | 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 20 63 61 74 63 68 20 28 | );.....................}.catch.( |
adbc0 | 65 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 64 6f | e).{.......................//.do |
adbe0 | 6e 27 74 20 69 6e 68 69 62 69 74 20 6f 74 68 65 72 20 6c 69 73 74 65 6e 65 72 73 20 6f 72 20 66 | n't.inhibit.other.listeners.or.f |
adc00 | 6f 6c 6c 6f 77 69 6e 67 20 63 6f 64 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ollowing.code................... |
adc20 | 20 20 20 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 75 74 69 6c 73 2e 72 65 70 6f 72 74 45 72 72 6f 72 | ....Components.utils.reportError |
adc40 | 28 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 | (e);.....................}...... |
adc60 | 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 | ...........}...............}.... |
adc80 | 20 20 20 20 20 20 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 | ............for.(var.i.=.0;.i.<. |
adca0 | 74 68 69 73 2e 6d 54 61 62 42 72 6f 77 73 65 72 2e 6d 54 61 62 73 50 72 6f 67 72 65 73 73 4c 69 | this.mTabBrowser.mTabsProgressLi |
adcc0 | 73 74 65 6e 65 72 73 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 20 7b 0a 20 20 20 20 20 20 20 20 20 | steners.length;.i++).{.......... |
adce0 | 20 20 20 20 20 20 20 76 61 72 20 70 20 3d 20 74 68 69 73 2e 6d 54 61 62 42 72 6f 77 73 65 72 2e | .......var.p.=.this.mTabBrowser. |
add00 | 6d 54 61 62 73 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 73 5b 69 5d 3b 0a 20 20 20 20 20 | mTabsProgressListeners[i];...... |
add20 | 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 70 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ...........if.(p)............... |
add40 | 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 2e | ....try.{.....................p. |
add60 | 6f 6e 53 74 61 74 75 73 43 68 61 6e 67 65 28 74 68 69 73 2e 6d 42 72 6f 77 73 65 72 2c 20 61 57 | onStatusChange(this.mBrowser,.aW |
add80 | 65 62 50 72 6f 67 72 65 73 73 2c 20 61 52 65 71 75 65 73 74 2c 20 61 53 74 61 74 75 73 2c 20 61 | ebProgress,.aRequest,.aStatus,.a |
adda0 | 4d 65 73 73 61 67 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 20 63 61 | Message);...................}.ca |
addc0 | 74 63 68 20 28 65 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f | tch.(e).{.....................// |
adde0 | 20 64 6f 6e 27 74 20 69 6e 68 69 62 69 74 20 6f 74 68 65 72 20 6c 69 73 74 65 6e 65 72 73 20 6f | .don't.inhibit.other.listeners.o |
ade00 | 72 20 66 6f 6c 6c 6f 77 69 6e 67 20 63 6f 64 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | r.following.code................ |
ade20 | 20 20 20 20 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 75 74 69 6c 73 2e 72 65 70 6f 72 74 45 72 72 6f | .....Components.utils.reportErro |
ade40 | 72 28 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 | r(e);...................}....... |
ade60 | 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 4d | ........}................this.mM |
ade80 | 65 73 73 61 67 65 20 3d 20 61 4d 65 73 73 61 67 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d | essage.=.aMessage;.............} |
adea0 | 2c 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 53 65 63 75 72 69 74 79 43 68 61 6e 67 65 20 | ,..............onSecurityChange. |
adec0 | 3a 20 66 75 6e 63 74 69 6f 6e 28 61 57 65 62 50 72 6f 67 72 65 73 73 2c 20 61 52 65 71 75 65 73 | :.function(aWebProgress,.aReques |
adee0 | 74 2c 20 61 53 74 61 74 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 | t,.aState).............{........ |
adf00 | 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 6d 54 61 62 42 72 6f 77 73 65 72 2e 6d 43 75 72 | .......if.(this.mTabBrowser.mCur |
adf20 | 72 65 6e 74 54 61 62 20 3d 3d 20 74 68 69 73 2e 6d 54 61 62 29 20 7b 0a 20 20 20 20 20 20 20 20 | rentTab.==.this.mTab).{......... |
adf40 | 20 20 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 74 68 69 73 | ........for.(var.i.=.0;.i.<.this |
adf60 | 2e 6d 54 61 62 42 72 6f 77 73 65 72 2e 6d 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 73 2e | .mTabBrowser.mProgressListeners. |
adf80 | 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | length;.i++).{.................. |
adfa0 | 20 76 61 72 20 70 20 3d 20 74 68 69 73 2e 6d 54 61 62 42 72 6f 77 73 65 72 2e 6d 50 72 6f 67 72 | .var.p.=.this.mTabBrowser.mProgr |
adfc0 | 65 73 73 4c 69 73 74 65 6e 65 72 73 5b 69 5d 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | essListeners[i];................ |
adfe0 | 20 20 20 69 66 20 28 70 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 72 | ...if.(p).....................tr |
ae000 | 79 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 2e 6f 6e 53 65 | y.{.......................p.onSe |
ae020 | 63 75 72 69 74 79 43 68 61 6e 67 65 28 61 57 65 62 50 72 6f 67 72 65 73 73 2c 20 61 52 65 71 75 | curityChange(aWebProgress,.aRequ |
ae040 | 65 73 74 2c 20 61 53 74 61 74 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | est,.aState);................... |
ae060 | 20 20 7d 20 63 61 74 63 68 20 28 65 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ..}.catch.(e).{................. |
ae080 | 20 20 20 20 20 20 2f 2f 20 64 6f 6e 27 74 20 69 6e 68 69 62 69 74 20 6f 74 68 65 72 20 6c 69 73 | ......//.don't.inhibit.other.lis |
ae0a0 | 74 65 6e 65 72 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 43 6f 6d | teners.......................Com |
ae0c0 | 70 6f 6e 65 6e 74 73 2e 75 74 69 6c 73 2e 72 65 70 6f 72 74 45 72 72 6f 72 28 65 29 3b 0a 20 20 | ponents.utils.reportError(e);... |
ae0e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ..................}............. |
ae100 | 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 | ....}...............}........... |
ae120 | 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 74 68 69 73 2e 6d 54 | .....for.(var.i.=.0;.i.<.this.mT |
ae140 | 61 62 42 72 6f 77 73 65 72 2e 6d 54 61 62 73 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 73 | abBrowser.mTabsProgressListeners |
ae160 | 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .length;.i++).{................. |
ae180 | 76 61 72 20 70 20 3d 20 74 68 69 73 2e 6d 54 61 62 42 72 6f 77 73 65 72 2e 6d 54 61 62 73 50 72 | var.p.=.this.mTabBrowser.mTabsPr |
ae1a0 | 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 73 5b 69 5d 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ogressListeners[i];............. |
ae1c0 | 20 20 20 20 69 66 20 28 70 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 72 79 | ....if.(p)...................try |
ae1e0 | 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 2e 6f 6e 53 65 63 75 72 | .{.....................p.onSecur |
ae200 | 69 74 79 43 68 61 6e 67 65 28 74 68 69 73 2e 6d 42 72 6f 77 73 65 72 2c 20 61 57 65 62 50 72 6f | ityChange(this.mBrowser,.aWebPro |
ae220 | 67 72 65 73 73 2c 20 61 52 65 71 75 65 73 74 2c 20 61 53 74 61 74 65 29 3b 0a 20 20 20 20 20 20 | gress,.aRequest,.aState);....... |
ae240 | 20 20 20 20 20 20 20 20 20 20 20 20 7d 20 63 61 74 63 68 20 28 65 29 20 7b 0a 20 20 20 20 20 20 | ............}.catch.(e).{....... |
ae260 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 64 6f 6e 27 74 20 69 6e 68 69 62 69 74 20 6f | ..............//.don't.inhibit.o |
ae280 | 74 68 65 72 20 6c 69 73 74 65 6e 65 72 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ther.listeners.................. |
ae2a0 | 20 20 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 75 74 69 6c 73 2e 72 65 70 6f 72 74 45 72 72 6f 72 28 | ...Components.utils.reportError( |
ae2c0 | 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 | e);...................}......... |
ae2e0 | 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 2c 0a 0a 20 20 20 20 20 20 20 20 | ......}.............},.......... |
ae300 | 20 20 20 20 6f 6e 52 65 66 72 65 73 68 41 74 74 65 6d 70 74 65 64 20 3a 20 66 75 6e 63 74 69 6f | ....onRefreshAttempted.:.functio |
ae320 | 6e 28 61 57 65 62 50 72 6f 67 72 65 73 73 2c 20 61 55 52 49 2c 20 61 44 65 6c 61 79 2c 20 61 53 | n(aWebProgress,.aURI,.aDelay,.aS |
ae340 | 61 6d 65 55 52 49 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 | ameURI).............{........... |
ae360 | 20 20 20 20 76 61 72 20 61 6c 6c 6f 77 52 65 66 72 65 73 68 20 3d 20 74 72 75 65 3b 0a 20 20 20 | ....var.allowRefresh.=.true;.... |
ae380 | 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 6d 54 61 62 42 72 6f 77 73 65 72 2e | ...........if.(this.mTabBrowser. |
ae3a0 | 6d 43 75 72 72 65 6e 74 54 61 62 20 3d 3d 20 74 68 69 73 2e 6d 54 61 62 29 20 7b 0a 20 20 20 20 | mCurrentTab.==.this.mTab).{..... |
ae3c0 | 20 20 20 20 20 20 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 | ............for.(var.i.=.0;.i.<. |
ae3e0 | 74 68 69 73 2e 6d 54 61 62 42 72 6f 77 73 65 72 2e 6d 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e | this.mTabBrowser.mProgressListen |
ae400 | 65 72 73 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ers.length;.i++).{.............. |
ae420 | 20 20 20 20 20 76 61 72 20 70 20 3d 20 74 68 69 73 2e 6d 54 61 62 42 72 6f 77 73 65 72 2e 6d 50 | .....var.p.=.this.mTabBrowser.mP |
ae440 | 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 73 5b 69 5d 3b 0a 20 20 20 20 20 20 20 20 20 20 20 | rogressListeners[i];............ |
ae460 | 20 20 20 20 20 20 20 69 66 20 28 70 20 26 26 20 22 6f 6e 52 65 66 72 65 73 68 41 74 74 65 6d 70 | .......if.(p.&&."onRefreshAttemp |
ae480 | 74 65 64 22 20 69 6e 20 70 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ted".in.p).{.................... |
ae4a0 | 20 74 72 79 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 | .try.{.......................if. |
ae4c0 | 28 21 70 2e 6f 6e 52 65 66 72 65 73 68 41 74 74 65 6d 70 74 65 64 28 61 57 65 62 50 72 6f 67 72 | (!p.onRefreshAttempted(aWebProgr |
ae4e0 | 65 73 73 2c 20 61 55 52 49 2c 20 61 44 65 6c 61 79 2c 20 61 53 61 6d 65 55 52 49 29 29 0a 20 20 | ess,.aURI,.aDelay,.aSameURI))... |
ae500 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 6c 6c 6f 77 52 65 66 72 65 | ......................allowRefre |
ae520 | 73 68 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | sh.=.false;..................... |
ae540 | 20 7d 20 63 61 74 63 68 20 28 65 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .}.catch.(e).{.................. |
ae560 | 20 20 20 20 20 20 2f 2f 20 64 6f 6e 27 74 20 69 6e 68 69 62 69 74 20 6f 74 68 65 72 20 6c 69 73 | ......//.don't.inhibit.other.lis |
ae580 | 74 65 6e 65 72 73 20 6f 72 20 66 6f 6c 6c 6f 77 69 6e 67 20 63 6f 64 65 0a 20 20 20 20 20 20 20 | teners.or.following.code........ |
ae5a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 75 74 69 6c 73 | ................Components.utils |
ae5c0 | 2e 72 65 70 6f 72 74 45 72 72 6f 72 28 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .reportError(e);................ |
ae5e0 | 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 | ......}...................}..... |
ae600 | 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 | ............}...............}... |
ae620 | 20 20 20 20 20 20 20 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c | .............for.(var.i.=.0;.i.< |
ae640 | 20 74 68 69 73 2e 6d 54 61 62 42 72 6f 77 73 65 72 2e 6d 54 61 62 73 50 72 6f 67 72 65 73 73 4c | .this.mTabBrowser.mTabsProgressL |
ae660 | 69 73 74 65 6e 65 72 73 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 20 7b 0a 20 20 20 20 20 20 20 20 | isteners.length;.i++).{......... |
ae680 | 20 20 20 20 20 20 20 20 76 61 72 20 70 20 3d 20 74 68 69 73 2e 6d 54 61 62 42 72 6f 77 73 65 72 | ........var.p.=.this.mTabBrowser |
ae6a0 | 2e 6d 54 61 62 73 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 73 5b 69 5d 3b 0a 20 20 20 20 | .mTabsProgressListeners[i];..... |
ae6c0 | 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 70 20 26 26 20 22 6f 6e 52 65 66 72 65 73 68 41 | ............if.(p.&&."onRefreshA |
ae6e0 | 74 74 65 6d 70 74 65 64 22 20 69 6e 20 70 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ttempted".in.p).{............... |
ae700 | 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 | ....try.{.....................if |
ae720 | 20 28 21 70 2e 6f 6e 52 65 66 72 65 73 68 41 74 74 65 6d 70 74 65 64 28 74 68 69 73 2e 6d 42 72 | .(!p.onRefreshAttempted(this.mBr |
ae740 | 6f 77 73 65 72 2c 20 61 57 65 62 50 72 6f 67 72 65 73 73 2c 20 61 55 52 49 2c 20 61 44 65 6c 61 | owser,.aWebProgress,.aURI,.aDela |
ae760 | 79 2c 20 61 53 61 6d 65 55 52 49 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | y,.aSameURI))................... |
ae780 | 20 20 20 20 61 6c 6c 6f 77 52 65 66 72 65 73 68 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 20 | ....allowRefresh.=.false;....... |
ae7a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 20 63 61 74 63 68 20 28 65 29 20 7b 0a 20 20 20 20 20 | .............}.catch.(e).{...... |
ae7c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 64 6f 6e 27 74 20 69 6e 68 69 62 69 74 | ................//.don't.inhibit |
ae7e0 | 20 6f 74 68 65 72 20 6c 69 73 74 65 6e 65 72 73 20 6f 72 20 66 6f 6c 6c 6f 77 69 6e 67 20 63 6f | .other.listeners.or.following.co |
ae800 | 64 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 43 6f 6d 70 6f 6e 65 6e | de......................Componen |
ae820 | 74 73 2e 75 74 69 6c 73 2e 72 65 70 6f 72 74 45 72 72 6f 72 28 65 29 3b 0a 20 20 20 20 20 20 20 | ts.utils.reportError(e);........ |
ae840 | 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a | ............}.................}. |
ae860 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 | ..............}...............re |
ae880 | 74 75 72 6e 20 61 6c 6c 6f 77 52 65 66 72 65 73 68 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d | turn.allowRefresh;.............} |
ae8a0 | 2c 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 20 3a 20 | ,..............QueryInterface.:. |
ae8c0 | 66 75 6e 63 74 69 6f 6e 28 61 49 49 44 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0a 20 20 20 | function(aIID).............{.... |
ae8e0 | 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 61 49 49 44 2e 65 71 75 61 6c 73 28 43 6f 6d 70 6f | ...........if.(aIID.equals(Compo |
ae900 | 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 57 65 62 50 72 6f 67 72 65 73 73 4c | nents.interfaces.nsIWebProgressL |
ae920 | 69 73 74 65 6e 65 72 29 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 49 | istener).||...................aI |
ae940 | 49 44 2e 65 71 75 61 6c 73 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e | ID.equals(Components.interfaces. |
ae960 | 6e 73 49 57 65 62 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 32 29 20 7c 7c 0a 20 20 20 20 | nsIWebProgressListener2).||..... |
ae980 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 49 49 44 2e 65 71 75 61 6c 73 28 43 6f 6d 70 6f 6e | ..............aIID.equals(Compon |
ae9a0 | 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 53 75 70 70 6f 72 74 73 57 65 61 6b 52 | ents.interfaces.nsISupportsWeakR |
ae9c0 | 65 66 65 72 65 6e 63 65 29 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 | eference).||...................a |
ae9e0 | 49 49 44 2e 65 71 75 61 6c 73 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 | IID.equals(Components.interfaces |
aea00 | 2e 6e 73 49 53 75 70 70 6f 72 74 73 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 | .nsISupports)).................r |
aea20 | 65 74 75 72 6e 20 74 68 69 73 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 72 6f 77 20 | eturn.this;...............throw. |
aea40 | 43 6f 6d 70 6f 6e 65 6e 74 73 2e 72 65 73 75 6c 74 73 2e 4e 53 5f 4e 4f 49 4e 54 45 52 46 41 43 | Components.results.NS_NOINTERFAC |
aea60 | 45 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 7d 29 3b 0a 20 | E;.............}...........});.. |
aea80 | 20 20 20 20 20 20 20 5d 5d 3e 0a 20 20 20 20 20 20 20 20 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 | .......]]>.........</body>...... |
aeaa0 | 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 | .</method>........<method.name=" |
aeac0 | 73 65 74 49 63 6f 6e 22 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d | setIcon">.........<parameter.nam |
aeae0 | 65 3d 22 61 54 61 62 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 | e="aTab"/>.........<parameter.na |
aeb00 | 6d 65 3d 22 61 55 52 49 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 0a 20 20 20 20 20 | me="aURI"/>.........<body>...... |
aeb20 | 20 20 20 20 20 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 62 | .....<![CDATA[.............var.b |
aeb40 | 72 6f 77 73 65 72 20 3d 20 74 68 69 73 2e 67 65 74 42 72 6f 77 73 65 72 46 6f 72 54 61 62 28 61 | rowser.=.this.getBrowserForTab(a |
aeb60 | 54 61 62 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 62 72 6f 77 73 65 72 2e 6d 49 63 6f 6e 55 | Tab);.............browser.mIconU |
aeb80 | 52 4c 20 3d 20 61 55 52 49 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 61 55 52 49 | RL.=.aURI;..............if.(aURI |
aeba0 | 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 28 61 55 52 49 20 69 6e 73 | ).{...............if.(!(aURI.ins |
aebc0 | 74 61 6e 63 65 6f 66 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 | tanceof.Components.interfaces.ns |
aebe0 | 49 55 52 49 29 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 69 6f 73 | IURI)).{.................var.ios |
aec00 | 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e | .=.Components.classes["@mozilla. |
aec20 | 6f 72 67 2f 6e 65 74 77 6f 72 6b 2f 69 6f 2d 73 65 72 76 69 63 65 3b 31 22 5d 0a 20 20 20 20 20 | org/network/io-service;1"]...... |
aec40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e | ................................ |
aec60 | 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 | getService(Components.interfaces |
aec80 | 2e 6e 73 49 49 4f 53 65 72 76 69 63 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .nsIIOService);................. |
aeca0 | 61 55 52 49 20 3d 20 69 6f 73 2e 6e 65 77 55 52 49 28 61 55 52 49 2c 20 6e 75 6c 6c 2c 20 6e 75 | aURI.=.ios.newURI(aURI,.null,.nu |
aecc0 | 6c 6c 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 | ll);...............}............ |
aece0 | 20 20 20 69 66 20 28 74 68 69 73 2e 6d 46 61 76 69 63 6f 6e 53 65 72 76 69 63 65 29 0a 20 20 20 | ...if.(this.mFaviconService).... |
aed00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 46 61 76 69 63 6f 6e 53 65 72 76 69 63 | .............this.mFaviconServic |
aed20 | 65 2e 73 65 74 41 6e 64 4c 6f 61 64 46 61 76 69 63 6f 6e 46 6f 72 50 61 67 65 28 62 72 6f 77 73 | e.setAndLoadFaviconForPage(brows |
aed40 | 65 72 2e 63 75 72 72 65 6e 74 55 52 49 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | er.currentURI,.................. |
aed60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
aed80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 61 55 52 49 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 20 20 | .............aURI,.false);...... |
aeda0 | 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 75 70 64 61 74 | .......}..............this.updat |
aedc0 | 65 49 63 6f 6e 28 61 54 61 62 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 62 72 | eIcon(aTab);..............if.(br |
aede0 | 6f 77 73 65 72 20 3d 3d 20 74 68 69 73 2e 6d 43 75 72 72 65 6e 74 42 72 6f 77 73 65 72 29 20 7b | owser.==.this.mCurrentBrowser).{ |
aee00 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 | ...............for.(var.i.=.0;.i |
aee20 | 20 3c 20 74 68 69 73 2e 6d 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 73 2e 6c 65 6e 67 74 | .<.this.mProgressListeners.lengt |
aee40 | 68 3b 20 69 2b 2b 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 70 20 | h;.i++).{.................var.p. |
aee60 | 3d 20 74 68 69 73 2e 6d 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 73 5b 69 5d 3b 0a 20 20 | =.this.mProgressListeners[i];... |
aee80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 27 6f 6e 4c 69 6e 6b 49 63 6f 6e 41 76 61 | ..............if.('onLinkIconAva |
aeea0 | 69 6c 61 62 6c 65 27 20 69 6e 20 70 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ilable'.in.p)................... |
aeec0 | 74 72 79 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 2e 6f 6e 4c 69 | try.{.....................p.onLi |
aeee0 | 6e 6b 49 63 6f 6e 41 76 61 69 6c 61 62 6c 65 28 62 72 6f 77 73 65 72 29 3b 0a 20 20 20 20 20 20 | nkIconAvailable(browser);....... |
aef00 | 20 20 20 20 20 20 20 20 20 20 20 20 7d 20 63 61 74 63 68 20 28 65 29 20 7b 0a 20 20 20 20 20 20 | ............}.catch.(e).{....... |
aef20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 64 6f 6e 27 74 20 69 6e 68 69 62 69 74 20 6f | ..............//.don't.inhibit.o |
aef40 | 74 68 65 72 20 6c 69 73 74 65 6e 65 72 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ther.listeners.................. |
aef60 | 20 20 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 75 74 69 6c 73 2e 72 65 70 6f 72 74 45 72 72 6f 72 28 | ...Components.utils.reportError( |
aef80 | 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 | e);...................}......... |
aefa0 | 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 | ......}.............}........... |
aefc0 | 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 74 68 69 73 2e 6d 54 61 62 | ...for.(var.i.=.0;.i.<.this.mTab |
aefe0 | 73 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 73 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 20 | sProgressListeners.length;.i++). |
af000 | 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 70 20 3d 20 74 68 69 73 2e 6d 54 61 | {...............var.p.=.this.mTa |
af020 | 62 73 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 73 5b 69 5d 3b 0a 20 20 20 20 20 20 20 20 | bsProgressListeners[i];......... |
af040 | 20 20 20 20 20 20 69 66 20 28 27 6f 6e 4c 69 6e 6b 49 63 6f 6e 41 76 61 69 6c 61 62 6c 65 27 20 | ......if.('onLinkIconAvailable'. |
af060 | 69 6e 20 70 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 | in.p).................try.{..... |
af080 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 2e 6f 6e 4c 69 6e 6b 49 63 6f 6e 41 76 61 69 6c 61 | ..............p.onLinkIconAvaila |
af0a0 | 62 6c 65 28 62 72 6f 77 73 65 72 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 20 | ble(browser);.................}. |
af0c0 | 63 61 74 63 68 20 28 65 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f | catch.(e).{...................// |
af0e0 | 20 64 6f 6e 27 74 20 69 6e 68 69 62 69 74 20 6f 74 68 65 72 20 6c 69 73 74 65 6e 65 72 73 0a 20 | .don't.inhibit.other.listeners.. |
af100 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 75 74 69 6c | .................Components.util |
af120 | 73 2e 72 65 70 6f 72 74 45 72 72 6f 72 28 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | s.reportError(e);............... |
af140 | 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 5d 5d 3e 0a | ..}.............}...........]]>. |
af160 | 20 20 20 20 20 20 20 20 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a | ........</body>.......</method>. |
af180 | 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 75 70 64 61 74 65 49 63 6f 6e 22 | .......<method.name="updateIcon" |
af1a0 | 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 54 61 62 22 | >.........<parameter.name="aTab" |
af1c0 | 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 21 5b 43 | />.........<body>...........<![C |
af1e0 | 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 62 72 6f 77 73 65 72 20 3d 20 | DATA[.............var.browser.=. |
af200 | 74 68 69 73 2e 67 65 74 42 72 6f 77 73 65 72 46 6f 72 54 61 62 28 61 54 61 62 29 3b 0a 20 20 20 | this.getBrowserForTab(aTab);.... |
af220 | 20 20 20 20 20 20 20 20 20 69 66 20 28 21 61 54 61 62 2e 68 61 73 41 74 74 72 69 62 75 74 65 28 | .........if.(!aTab.hasAttribute( |
af240 | 22 62 75 73 79 22 29 20 26 26 20 62 72 6f 77 73 65 72 2e 6d 49 63 6f 6e 55 52 4c 29 0a 20 20 20 | "busy").&&.browser.mIconURL).... |
af260 | 20 20 20 20 20 20 20 20 20 20 20 61 54 61 62 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 69 6d | ...........aTab.setAttribute("im |
af280 | 61 67 65 22 2c 20 62 72 6f 77 73 65 72 2e 6d 49 63 6f 6e 55 52 4c 29 3b 0a 20 20 20 20 20 20 20 | age",.browser.mIconURL);........ |
af2a0 | 20 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 54 61 62 2e 72 65 6d | .....else...............aTab.rem |
af2c0 | 6f 76 65 41 74 74 72 69 62 75 74 65 28 22 69 6d 61 67 65 22 29 3b 0a 20 20 20 20 20 20 20 20 20 | oveAttribute("image");.......... |
af2e0 | 20 5d 5d 3e 0a 20 20 20 20 20 20 20 20 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 | .]]>.........</body>.......</met |
af300 | 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 73 68 6f 75 6c 64 | hod>........<method.name="should |
af320 | 4c 6f 61 64 46 61 76 49 63 6f 6e 22 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 | LoadFavIcon">.........<parameter |
af340 | 20 6e 61 6d 65 3d 22 61 55 52 49 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 0a 20 20 | .name="aURI"/>.........<body>... |
af360 | 20 20 20 20 20 20 20 20 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 | ........<![CDATA[.............re |
af380 | 74 75 72 6e 20 28 61 55 52 49 20 26 26 20 74 68 69 73 2e 6d 50 72 65 66 73 2e 67 65 74 42 6f 6f | turn.(aURI.&&.this.mPrefs.getBoo |
af3a0 | 6c 50 72 65 66 28 22 62 72 6f 77 73 65 72 2e 63 68 72 6f 6d 65 2e 73 69 74 65 5f 69 63 6f 6e 73 | lPref("browser.chrome.site_icons |
af3c0 | 22 29 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d | ").&&.....................this.m |
af3e0 | 50 72 65 66 73 2e 67 65 74 42 6f 6f 6c 50 72 65 66 28 22 62 72 6f 77 73 65 72 2e 63 68 72 6f 6d | Prefs.getBoolPref("browser.chrom |
af400 | 65 2e 66 61 76 69 63 6f 6e 73 22 29 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | e.favicons").&&................. |
af420 | 20 20 20 20 28 22 73 63 68 65 6d 65 49 73 22 20 69 6e 20 61 55 52 49 29 20 26 26 20 28 61 55 52 | ....("schemeIs".in.aURI).&&.(aUR |
af440 | 49 2e 73 63 68 65 6d 65 49 73 28 22 68 74 74 70 22 29 20 7c 7c 20 61 55 52 49 2e 73 63 68 65 6d | I.schemeIs("http").||.aURI.schem |
af460 | 65 49 73 28 22 68 74 74 70 73 22 29 29 29 3b 0a 20 20 20 20 20 20 20 20 20 20 5d 5d 3e 0a 20 20 | eIs("https")));...........]]>... |
af480 | 20 20 20 20 20 20 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 | ......</body>.......</method>... |
af4a0 | 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 75 73 65 44 65 66 61 75 6c 74 49 63 6f | .....<method.name="useDefaultIco |
af4c0 | 6e 22 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 54 61 | n">.........<parameter.name="aTa |
af4e0 | 62 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 21 | b"/>.........<body>...........<! |
af500 | 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 62 72 6f 77 73 65 72 20 | [CDATA[.............var.browser. |
af520 | 3d 20 74 68 69 73 2e 67 65 74 42 72 6f 77 73 65 72 46 6f 72 54 61 62 28 61 54 61 62 29 3b 0a 20 | =.this.getBrowserForTab(aTab);.. |
af540 | 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 62 72 6f 77 73 65 72 2e 63 6f 6e 74 65 6e 74 44 6f | ...........if.(browser.contentDo |
af560 | 63 75 6d 65 6e 74 20 69 6e 73 74 61 6e 63 65 6f 66 20 49 6d 61 67 65 44 6f 63 75 6d 65 6e 74 29 | cument.instanceof.ImageDocument) |
af580 | 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 6d 50 72 65 66 73 | .{...............if.(this.mPrefs |
af5a0 | 2e 67 65 74 42 6f 6f 6c 50 72 65 66 28 22 62 72 6f 77 73 65 72 2e 63 68 72 6f 6d 65 2e 73 69 74 | .getBoolPref("browser.chrome.sit |
af5c0 | 65 5f 69 63 6f 6e 73 22 29 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 72 79 | e_icons")).{.................try |
af5e0 | 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 73 7a 20 3d 20 74 68 | .{...................var.sz.=.th |
af600 | 69 73 2e 6d 50 72 65 66 73 2e 67 65 74 49 6e 74 50 72 65 66 28 22 62 72 6f 77 73 65 72 2e 63 68 | is.mPrefs.getIntPref("browser.ch |
af620 | 72 6f 6d 65 2e 69 6d 61 67 65 5f 69 63 6f 6e 73 2e 6d 61 78 5f 73 69 7a 65 22 29 3b 0a 20 20 20 | rome.image_icons.max_size");.... |
af640 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 73 7a 29 0a 20 20 20 20 20 20 20 20 | ...............if.(!sz)......... |
af660 | 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 | ............return;............. |
af680 | 20 20 20 20 20 20 20 76 61 72 20 72 65 71 20 3d 20 62 72 6f 77 73 65 72 2e 63 6f 6e 74 65 6e 74 | .......var.req.=.browser.content |
af6a0 | 44 6f 63 75 6d 65 6e 74 2e 69 6d 61 67 65 52 65 71 75 65 73 74 3b 0a 20 20 20 20 20 20 20 20 20 | Document.imageRequest;.......... |
af6c0 | 20 20 20 20 20 20 20 20 20 69 66 20 28 21 72 65 71 20 7c 7c 20 21 72 65 71 2e 69 6d 61 67 65 20 | .........if.(!req.||.!req.image. |
af6e0 | 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 71 2e 69 6d 61 | ||.......................req.ima |
af700 | 67 65 2e 77 69 64 74 68 20 3e 20 73 7a 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ge.width.>.sz.||................ |
af720 | 20 20 20 20 20 20 20 72 65 71 2e 69 6d 61 67 65 2e 68 65 69 67 68 74 20 3e 20 73 7a 29 0a 20 20 | .......req.image.height.>.sz)... |
af740 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 20 20 20 | ..................return;....... |
af760 | 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 73 65 74 49 63 6f 6e 28 61 54 61 62 2c 20 | .............this.setIcon(aTab,. |
af780 | 62 72 6f 77 73 65 72 2e 63 75 72 72 65 6e 74 55 52 49 2e 73 70 65 63 29 3b 0a 20 20 20 20 20 20 | browser.currentURI.spec);....... |
af7a0 | 20 20 20 20 20 20 20 20 20 20 7d 20 63 61 74 63 68 20 28 65 29 20 7b 20 7d 0a 20 20 20 20 20 20 | ..........}.catch.(e).{.}....... |
af7c0 | 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 | ........}.............}......... |
af7e0 | 20 20 20 20 2f 2f 20 55 73 65 20 64 6f 63 75 6d 65 6e 74 55 52 49 4f 62 6a 65 63 74 20 69 6e 20 | ....//.Use.documentURIObject.in. |
af800 | 74 68 65 20 63 68 65 63 6b 20 66 6f 72 20 73 68 6f 75 6c 64 4c 6f 61 64 46 61 76 49 63 6f 6e 20 | the.check.for.shouldLoadFavIcon. |
af820 | 73 6f 20 74 68 61 74 20 77 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 64 6f 20 74 68 65 | so.that.we.............//.do.the |
af840 | 20 72 69 67 68 74 20 74 68 69 6e 67 20 77 69 74 68 20 61 62 6f 75 74 3a 2d 73 74 79 6c 65 20 65 | .right.thing.with.about:-style.e |
af860 | 72 72 6f 72 20 70 61 67 65 73 2e 20 20 42 75 67 20 34 35 33 34 34 32 0a 20 20 20 20 20 20 20 20 | rror.pages...Bug.453442......... |
af880 | 20 20 20 20 65 6c 73 65 20 69 66 20 28 74 68 69 73 2e 73 68 6f 75 6c 64 4c 6f 61 64 46 61 76 49 | ....else.if.(this.shouldLoadFavI |
af8a0 | 63 6f 6e 28 62 72 6f 77 73 65 72 2e 63 6f 6e 74 65 6e 74 44 6f 63 75 6d 65 6e 74 2e 64 6f 63 75 | con(browser.contentDocument.docu |
af8c0 | 6d 65 6e 74 55 52 49 4f 62 6a 65 63 74 29 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | mentURIObject)).{............... |
af8e0 | 76 61 72 20 75 72 6c 20 3d 20 62 72 6f 77 73 65 72 2e 63 75 72 72 65 6e 74 55 52 49 2e 70 72 65 | var.url.=.browser.currentURI.pre |
af900 | 50 61 74 68 20 2b 20 22 2f 66 61 76 69 63 6f 6e 2e 69 63 6f 22 3b 0a 20 20 20 20 20 20 20 20 20 | Path.+."/favicon.ico";.......... |
af920 | 20 20 20 20 20 69 66 20 28 21 74 68 69 73 2e 69 73 46 61 69 6c 65 64 49 63 6f 6e 28 75 72 6c 29 | .....if.(!this.isFailedIcon(url) |
af940 | 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 73 65 74 49 63 6f 6e 28 61 | ).................this.setIcon(a |
af960 | 54 61 62 2c 20 75 72 6c 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 | Tab,.url);.............}........ |
af980 | 20 20 20 5d 5d 3e 0a 20 20 20 20 20 20 20 20 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d | ...]]>.........</body>.......</m |
af9a0 | 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 69 73 46 61 | ethod>........<method.name="isFa |
af9c0 | 69 6c 65 64 49 63 6f 6e 22 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 | iledIcon">.........<parameter.na |
af9e0 | 6d 65 3d 22 61 55 52 49 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 0a 20 20 20 20 20 | me="aURI"/>.........<body>...... |
afa00 | 20 20 20 20 20 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 | .....<![CDATA[.............if.(! |
afa20 | 28 61 55 52 49 20 69 6e 73 74 61 6e 63 65 6f 66 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 | (aURI.instanceof.Components.inte |
afa40 | 72 66 61 63 65 73 2e 6e 73 49 55 52 49 29 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | rfaces.nsIURI)).{............... |
afa60 | 76 61 72 20 69 6f 73 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d | var.ios.=.Components.classes["@m |
afa80 | 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6e 65 74 77 6f 72 6b 2f 69 6f 2d 73 65 72 76 69 63 65 3b 31 22 | ozilla.org/network/io-service;1" |
afaa0 | 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ]............................... |
afac0 | 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 | .....getService(Components.inter |
afae0 | 66 61 63 65 73 2e 6e 73 49 49 4f 53 65 72 76 69 63 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 | faces.nsIIOService);............ |
afb00 | 20 20 20 61 55 52 49 20 3d 20 69 6f 73 2e 6e 65 77 55 52 49 28 61 55 52 49 2c 20 6e 75 6c 6c 2c | ...aURI.=.ios.newURI(aURI,.null, |
afb20 | 20 6e 75 6c 6c 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 | .null);.............}........... |
afb40 | 20 20 20 69 66 20 28 74 68 69 73 2e 6d 46 61 76 69 63 6f 6e 53 65 72 76 69 63 65 29 0a 20 20 20 | ...if.(this.mFaviconService).... |
afb60 | 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 6d 46 61 76 69 63 6f 6e 53 | ...........return.this.mFaviconS |
afb80 | 65 72 76 69 63 65 2e 69 73 46 61 69 6c 65 64 46 61 76 69 63 6f 6e 28 61 55 52 49 29 3b 0a 20 20 | ervice.isFailedFavicon(aURI);... |
afba0 | 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 6e 75 6c 6c 3b 0a 20 20 20 20 20 20 20 20 20 | ..........return.null;.......... |
afbc0 | 20 5d 5d 3e 0a 20 20 20 20 20 20 20 20 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 | .]]>.........</body>.......</met |
afbe0 | 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 75 70 64 61 74 65 | hod>........<method.name="update |
afc00 | 54 69 74 6c 65 62 61 72 22 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 0a 20 20 20 20 20 20 | Titlebar">.........<body>....... |
afc20 | 20 20 20 20 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 6e 65 | ....<![CDATA[.............var.ne |
afc40 | 77 54 69 74 6c 65 20 3d 20 22 22 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 64 6f 63 | wTitle.=."";.............var.doc |
afc60 | 54 69 74 6c 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 64 6f 63 45 6c 65 6d 65 6e | Title;.............var.docElemen |
afc80 | 74 20 3d 20 74 68 69 73 2e 6f 77 6e 65 72 44 6f 63 75 6d 65 6e 74 2e 64 6f 63 75 6d 65 6e 74 45 | t.=.this.ownerDocument.documentE |
afca0 | 6c 65 6d 65 6e 74 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 73 65 70 20 3d 20 64 6f | lement;.............var.sep.=.do |
afcc0 | 63 45 6c 65 6d 65 6e 74 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 74 69 74 6c 65 6d 65 6e 75 | cElement.getAttribute("titlemenu |
afce0 | 73 65 70 61 72 61 74 6f 72 22 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 68 | separator");..............if.(th |
afd00 | 69 73 2e 64 6f 63 53 68 65 6c 6c 2e 63 6f 6e 74 65 6e 74 56 69 65 77 65 72 29 0a 20 20 20 20 20 | is.docShell.contentViewer)...... |
afd20 | 20 20 20 20 20 20 20 20 20 64 6f 63 54 69 74 6c 65 20 3d 20 74 68 69 73 2e 63 6f 6e 74 65 6e 74 | .........docTitle.=.this.content |
afd40 | 54 69 74 6c 65 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 64 6f 63 54 69 74 6c | Title;..............if.(!docTitl |
afd60 | 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 6f 63 54 69 74 6c 65 20 3d 20 64 6f 63 45 | e)...............docTitle.=.docE |
afd80 | 6c 65 6d 65 6e 74 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 74 69 74 6c 65 64 65 66 61 75 6c | lement.getAttribute("titledefaul |
afda0 | 74 22 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 6d 6f 64 69 66 69 65 72 20 3d | t");..............var.modifier.= |
afdc0 | 20 64 6f 63 45 6c 65 6d 65 6e 74 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 74 69 74 6c 65 6d | .docElement.getAttribute("titlem |
afde0 | 6f 64 69 66 69 65 72 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 64 6f 63 54 69 | odifier");.............if.(docTi |
afe00 | 74 6c 65 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 65 77 54 69 74 6c 65 20 2b 3d | tle).{...............newTitle.+= |
afe20 | 20 64 6f 63 45 6c 65 6d 65 6e 74 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 74 69 74 6c 65 70 | .docElement.getAttribute("titlep |
afe40 | 72 65 66 61 63 65 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 65 77 54 69 74 6c 65 | reface");...............newTitle |
afe60 | 20 2b 3d 20 64 6f 63 54 69 74 6c 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 | .+=.docTitle;...............if.( |
afe80 | 6d 6f 64 69 66 69 65 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 65 77 54 69 74 | modifier).................newTit |
afea0 | 6c 65 20 2b 3d 20 73 65 70 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 | le.+=.sep;.............}........ |
afec0 | 20 20 20 20 20 6e 65 77 54 69 74 6c 65 20 2b 3d 20 6d 6f 64 69 66 69 65 72 3b 0a 0a 20 20 20 20 | .....newTitle.+=.modifier;...... |
afee0 | 20 20 20 20 20 20 20 20 2f 2f 20 49 66 20 6c 6f 63 61 74 69 6f 6e 20 62 61 72 20 69 73 20 68 69 | ........//.If.location.bar.is.hi |
aff00 | 64 64 65 6e 20 61 6e 64 20 74 68 65 20 55 52 4c 20 74 79 70 65 20 73 75 70 70 6f 72 74 73 20 61 | dden.and.the.URL.type.supports.a |
aff20 | 20 68 6f 73 74 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 61 64 64 20 74 68 65 20 73 63 | .host,.............//.add.the.sc |
aff40 | 68 65 6d 65 20 61 6e 64 20 68 6f 73 74 20 74 6f 20 74 68 65 20 74 69 74 6c 65 20 74 6f 20 70 72 | heme.and.host.to.the.title.to.pr |
aff60 | 65 76 65 6e 74 20 73 70 6f 6f 66 69 6e 67 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 58 | event.spoofing..............//.X |
aff80 | 58 58 20 68 74 74 70 73 3a 2f 2f 62 75 67 7a 69 6c 6c 61 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f | XX.https://bugzilla.mozilla.org/ |
affa0 | 73 68 6f 77 5f 62 75 67 2e 63 67 69 3f 69 64 3d 32 32 31 38 33 23 63 32 33 39 0a 20 20 20 20 20 | show_bug.cgi?id=22183#c239...... |
affc0 | 20 20 20 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 64 | .......try.{...............if.(d |
affe0 | 6f 63 45 6c 65 6d 65 6e 74 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 63 68 72 6f 6d 65 68 69 | ocElement.getAttribute("chromehi |
b0000 | 64 64 65 6e 22 29 2e 69 6e 64 65 78 4f 66 28 22 6c 6f 63 61 74 69 6f 6e 22 29 20 21 3d 20 2d 31 | dden").indexOf("location").!=.-1 |
b0020 | 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 75 72 69 20 3d 20 74 68 | ).{.................var.uri.=.th |
b0040 | 69 73 2e 6d 55 52 49 46 69 78 75 70 2e 63 72 65 61 74 65 45 78 70 6f 73 61 62 6c 65 55 52 49 28 | is.mURIFixup.createExposableURI( |
b0060 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 | .............................thi |
b0080 | 73 2e 6d 43 75 72 72 65 6e 74 42 72 6f 77 73 65 72 2e 63 75 72 72 65 6e 74 55 52 49 29 3b 0a 20 | s.mCurrentBrowser.currentURI);.. |
b00a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 75 72 69 2e 73 63 68 65 6d 65 20 3d 3d | ...............if.(uri.scheme.== |
b00c0 | 20 22 61 62 6f 75 74 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 65 77 54 | ."about")...................newT |
b00e0 | 69 74 6c 65 20 3d 20 75 72 69 2e 73 70 65 63 20 2b 20 73 65 70 20 2b 20 6e 65 77 54 69 74 6c 65 | itle.=.uri.spec.+.sep.+.newTitle |
b0100 | 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 20 20 20 | ;.................else.......... |
b0120 | 20 20 20 20 20 20 20 20 20 6e 65 77 54 69 74 6c 65 20 3d 20 75 72 69 2e 70 72 65 50 61 74 68 20 | .........newTitle.=.uri.prePath. |
b0140 | 2b 20 73 65 70 20 2b 20 6e 65 77 54 69 74 6c 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | +.sep.+.newTitle;............... |
b0160 | 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 20 63 61 74 63 68 20 28 65 29 20 7b 7d 0a 0a 20 20 | }.............}.catch.(e).{}.... |
b0180 | 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6f 77 6e 65 72 44 6f 63 75 6d 65 6e 74 2e 74 69 74 | ..........this.ownerDocument.tit |
b01a0 | 6c 65 20 3d 20 6e 65 77 54 69 74 6c 65 3b 0a 20 20 20 20 20 20 20 20 20 20 5d 5d 3e 0a 20 20 20 | le.=.newTitle;...........]]>.... |
b01c0 | 20 20 20 20 20 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 | .....</body>.......</method>.... |
b01e0 | 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 75 70 64 61 74 65 50 6f 70 75 70 4d 65 6e | ....<method.name="updatePopupMen |
b0200 | 75 22 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 50 6f | u">.........<parameter.name="aPo |
b0220 | 70 75 70 4d 65 6e 75 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 0a 20 20 20 20 20 20 | pupMenu"/>.........<body>....... |
b0240 | 20 20 20 20 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d | ....<![CDATA[.............this.m |
b0260 | 43 6f 6e 74 65 78 74 54 61 62 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 70 6f 70 75 70 4e 6f 64 65 2e | ContextTab.=.document.popupNode. |
b0280 | 6c 6f 63 61 6c 4e 61 6d 65 20 3d 3d 20 22 74 61 62 22 20 3f 0a 20 20 20 20 20 20 20 20 20 20 20 | localName.==."tab".?............ |
b02a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 70 6f 70 | ....................document.pop |
b02c0 | 75 70 4e 6f 64 65 20 3a 20 74 68 69 73 2e 73 65 6c 65 63 74 65 64 54 61 62 3b 0a 20 20 20 20 20 | upNode.:.this.selectedTab;...... |
b02e0 | 20 20 20 20 20 20 20 76 61 72 20 64 69 73 61 62 6c 65 64 20 3d 20 74 68 69 73 2e 6d 54 61 62 73 | .......var.disabled.=.this.mTabs |
b0300 | 2e 6c 65 6e 67 74 68 20 3d 3d 20 31 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 6d 65 | .length.==.1;.............var.me |
b0320 | 6e 75 49 74 65 6d 73 20 3d 20 61 50 6f 70 75 70 4d 65 6e 75 2e 67 65 74 45 6c 65 6d 65 6e 74 73 | nuItems.=.aPopupMenu.getElements |
b0340 | 42 79 41 74 74 72 69 62 75 74 65 28 22 74 62 61 74 74 72 22 2c 20 22 74 61 62 62 72 6f 77 73 65 | ByAttribute("tbattr",."tabbrowse |
b0360 | 72 2d 6d 75 6c 74 69 70 6c 65 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 66 6f 72 20 28 76 | r-multiple");.............for.(v |
b0380 | 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 6d 65 6e 75 49 74 65 6d 73 2e 6c 65 6e 67 74 68 3b 20 | ar.i.=.0;.i.<.menuItems.length;. |
b03a0 | 69 2b 2b 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 65 6e 75 49 74 65 6d 73 5b 69 5d 2e | i++)...............menuItems[i]. |
b03c0 | 64 69 73 61 62 6c 65 64 20 3d 20 64 69 73 61 62 6c 65 64 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 | disabled.=.disabled;............ |
b03e0 | 20 20 2f 2f 20 53 65 73 73 69 6f 6e 20 73 74 6f 72 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f | ..//.Session.store............./ |
b0400 | 2f 20 58 58 58 7a 65 6e 69 6b 6f 20 73 68 6f 75 6c 64 27 74 20 77 65 20 6a 75 73 74 20 64 69 73 | /.XXXzeniko.should't.we.just.dis |
b0420 | 61 62 6c 65 20 74 68 69 73 20 69 74 65 6d 20 61 73 20 77 65 20 64 69 73 61 62 6c 65 0a 20 20 20 | able.this.item.as.we.disable.... |
b0440 | 20 20 20 20 20 20 20 20 20 2f 2f 20 74 68 65 20 74 61 62 62 72 6f 77 73 65 72 2d 6d 75 6c 74 69 | .........//.the.tabbrowser-multi |
b0460 | 70 6c 65 20 69 74 65 6d 73 20 61 62 6f 76 65 20 2d 20 66 6f 72 20 63 6f 6e 73 69 73 74 65 6e 63 | ple.items.above.-.for.consistenc |
b0480 | 79 3f 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 55 6e 64 6f 43 6c 6f 73 65 54 61 | y?.............this.mUndoCloseTa |
b04a0 | 62 4d 65 6e 75 49 74 65 6d 2e 68 69 64 64 65 6e 20 3d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | bMenuItem.hidden.=.............. |
b04c0 | 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 62 72 6f 77 73 65 72 2f 73 65 73 73 69 6f | .Cc["@mozilla.org/browser/sessio |
b04e0 | 6e 73 74 6f 72 65 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 53 65 72 | nstore;1"]................getSer |
b0500 | 76 69 63 65 28 43 69 2e 6e 73 49 53 65 73 73 69 6f 6e 53 74 6f 72 65 29 2e 0a 20 20 20 20 20 20 | vice(Ci.nsISessionStore)........ |
b0520 | 20 20 20 20 20 20 20 20 67 65 74 43 6c 6f 73 65 64 54 61 62 43 6f 75 6e 74 28 77 69 6e 64 6f 77 | ........getClosedTabCount(window |
b0540 | 29 20 3d 3d 20 30 3b 0a 20 20 20 20 20 20 20 20 20 20 5d 5d 3e 0a 20 20 20 20 20 20 20 20 3c 2f | ).==.0;...........]]>.........</ |
b0560 | 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 | body>.......</method>........<me |
b0580 | 74 68 6f 64 20 6e 61 6d 65 3d 22 75 70 64 61 74 65 43 75 72 72 65 6e 74 42 72 6f 77 73 65 72 22 | thod.name="updateCurrentBrowser" |
b05a0 | 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 46 6f 72 63 | >.........<parameter.name="aForc |
b05c0 | 65 55 70 64 61 74 65 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 0a 20 20 20 20 20 20 | eUpdate"/>.........<body>....... |
b05e0 | 20 20 20 20 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 6e 65 | ....<![CDATA[.............var.ne |
b0600 | 77 42 72 6f 77 73 65 72 20 3d 20 74 68 69 73 2e 67 65 74 42 72 6f 77 73 65 72 41 74 49 6e 64 65 | wBrowser.=.this.getBrowserAtInde |
b0620 | 78 28 74 68 69 73 2e 6d 54 61 62 43 6f 6e 74 61 69 6e 65 72 2e 73 65 6c 65 63 74 65 64 49 6e 64 | x(this.mTabContainer.selectedInd |
b0640 | 65 78 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 6d 43 75 72 72 65 | ex);.............if.(this.mCurre |
b0660 | 6e 74 42 72 6f 77 73 65 72 20 3d 3d 20 6e 65 77 42 72 6f 77 73 65 72 20 26 26 20 21 61 46 6f 72 | ntBrowser.==.newBrowser.&&.!aFor |
b0680 | 63 65 55 70 64 61 74 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a | ceUpdate)...............return;. |
b06a0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 6d 43 75 72 72 65 6e 74 54 61 | .............if.(this.mCurrentTa |
b06c0 | 62 20 21 3d 20 74 68 69 73 2e 73 65 6c 65 63 74 65 64 54 61 62 29 0a 20 20 20 20 20 20 20 20 20 | b.!=.this.selectedTab).......... |
b06e0 | 20 20 20 20 20 74 68 69 73 2e 6d 43 75 72 72 65 6e 74 54 61 62 2e 6f 77 6e 65 72 20 3d 20 6e 75 | .....this.mCurrentTab.owner.=.nu |
b0700 | 6c 6c 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 6d 43 75 72 72 65 | ll;..............if.(this.mCurre |
b0720 | 6e 74 42 72 6f 77 73 65 72 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 4f 6e | ntBrowser).{...............//.On |
b0740 | 6c 79 20 73 61 76 65 20 74 68 65 20 66 6f 63 75 73 65 64 20 65 6c 65 6d 65 6e 74 20 69 66 20 69 | ly.save.the.focused.element.if.i |
b0760 | 74 20 69 73 20 69 6e 20 6f 75 72 20 63 6f 6e 74 65 6e 74 20 77 69 6e 64 6f 77 0a 20 20 20 20 20 | t.is.in.our.content.window...... |
b0780 | 20 20 20 20 20 20 20 20 20 2f 2f 20 6f 72 20 69 6e 20 61 6e 20 61 6e 63 65 73 74 6f 72 20 77 69 | .........//.or.in.an.ancestor.wi |
b07a0 | 6e 64 6f 77 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 66 6f 63 75 73 65 64 57 | ndow................var.focusedW |
b07c0 | 69 6e 64 6f 77 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 63 6f 6d 6d 61 6e 64 44 69 73 70 61 74 63 68 | indow.=.document.commandDispatch |
b07e0 | 65 72 2e 66 6f 63 75 73 65 64 57 69 6e 64 6f 77 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | er.focusedWindow;............... |
b0800 | 76 61 72 20 73 61 76 65 46 6f 63 75 73 20 3d 20 66 61 6c 73 65 3b 0a 0a 20 20 20 20 20 20 20 20 | var.saveFocus.=.false;.......... |
b0820 | 20 20 20 20 20 20 69 66 20 28 66 6f 63 75 73 65 64 57 69 6e 64 6f 77 20 26 26 20 66 6f 63 75 73 | ......if.(focusedWindow.&&.focus |
b0840 | 65 64 57 69 6e 64 6f 77 2e 74 6f 70 20 3d 3d 20 77 69 6e 64 6f 77 2e 63 6f 6e 74 65 6e 74 29 20 | edWindow.top.==.window.content). |
b0860 | 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 61 76 65 46 6f 63 75 73 20 3d 20 74 72 | {.................saveFocus.=.tr |
b0880 | 75 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 | ue;...............}.else.{...... |
b08a0 | 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 63 6f 6e 74 65 6e 74 57 69 6e 64 6f 77 20 3d 20 77 | ...........var.contentWindow.=.w |
b08c0 | 69 6e 64 6f 77 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 77 68 69 6c 65 20 28 63 | indow;..................while.(c |
b08e0 | 6f 6e 74 65 6e 74 57 69 6e 64 6f 77 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ontentWindow).{................. |
b0900 | 20 20 69 66 20 28 63 6f 6e 74 65 6e 74 57 69 6e 64 6f 77 20 3d 3d 20 66 6f 63 75 73 65 64 57 69 | ..if.(contentWindow.==.focusedWi |
b0920 | 6e 64 6f 77 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 61 76 65 | ndow).{.....................save |
b0940 | 46 6f 63 75 73 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | Focus.=.true;................... |
b0960 | 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 | ..break;...................}.... |
b0980 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 63 6f 6e 74 65 6e 74 57 69 6e 64 6f | ................if.(contentWindo |
b09a0 | 77 2e 70 61 72 65 6e 74 20 3d 3d 20 63 6f 6e 74 65 6e 74 57 69 6e 64 6f 77 29 20 7b 0a 20 20 20 | w.parent.==.contentWindow).{.... |
b09c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 20 20 | .................break;......... |
b09e0 | 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 | ..........}....................c |
b0a00 | 6f 6e 74 65 6e 74 57 69 6e 64 6f 77 20 3d 20 63 6f 6e 74 65 6e 74 57 69 6e 64 6f 77 2e 70 61 72 | ontentWindow.=.contentWindow.par |
b0a20 | 65 6e 74 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 | ent;.................}.......... |
b0a40 | 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 73 61 76 65 46 6f | .....}................if.(saveFo |
b0a60 | 63 75 73 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 50 72 65 73 65 72 | cus).{.................//.Preser |
b0a80 | 76 65 20 74 68 65 20 63 75 72 72 65 6e 74 6c 79 2d 66 6f 63 75 73 65 64 20 65 6c 65 6d 65 6e 74 | ve.the.currently-focused.element |
b0aa0 | 20 6f 72 20 44 4f 4d 20 77 69 6e 64 6f 77 20 66 6f 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | .or.DOM.window.for.............. |
b0ac0 | 20 20 20 2f 2f 20 74 68 69 73 20 74 61 62 2e 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ...//.this.tab.................. |
b0ae0 | 20 74 68 69 73 2e 6d 43 75 72 72 65 6e 74 42 72 6f 77 73 65 72 2e 66 6f 63 75 73 65 64 57 69 6e | .this.mCurrentBrowser.focusedWin |
b0b00 | 64 6f 77 20 3d 20 66 6f 63 75 73 65 64 57 69 6e 64 6f 77 3b 0a 20 20 20 20 20 20 20 20 20 20 20 | dow.=.focusedWindow;............ |
b0b20 | 20 20 20 20 20 74 68 69 73 2e 6d 43 75 72 72 65 6e 74 42 72 6f 77 73 65 72 2e 66 6f 63 75 73 65 | .....this.mCurrentBrowser.focuse |
b0b40 | 64 45 6c 65 6d 65 6e 74 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 63 6f 6d 6d 61 6e 64 44 69 73 70 61 | dElement.=.document.commandDispa |
b0b60 | 74 63 68 65 72 2e 66 6f 63 75 73 65 64 45 6c 65 6d 65 6e 74 3b 0a 20 20 20 20 20 20 20 20 20 20 | tcher.focusedElement;........... |
b0b80 | 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 6d 43 | ....}................if.(this.mC |
b0ba0 | 75 72 72 65 6e 74 42 72 6f 77 73 65 72 2e 66 6f 63 75 73 65 64 45 6c 65 6d 65 6e 74 20 26 26 0a | urrentBrowser.focusedElement.&&. |
b0bc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 43 75 72 72 65 6e 74 42 | ..................this.mCurrentB |
b0be0 | 72 6f 77 73 65 72 2e 66 6f 63 75 73 65 64 45 6c 65 6d 65 6e 74 2e 70 61 72 65 6e 74 4e 6f 64 65 | rowser.focusedElement.parentNode |
b0c00 | 20 21 3d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 43 75 72 72 | .!=...................this.mCurr |
b0c20 | 65 6e 74 54 61 62 2e 70 61 72 65 6e 74 4e 6f 64 65 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 | entTab.parentNode).{............ |
b0c40 | 20 20 20 20 20 2f 2f 20 43 6c 65 61 72 20 66 6f 63 75 73 20 6f 75 74 6c 69 6e 65 20 62 65 66 6f | .....//.Clear.focus.outline.befo |
b0c60 | 72 65 20 77 65 20 64 72 61 77 20 6f 6e 20 74 6f 70 20 6f 66 20 69 74 2e 0a 20 20 20 20 20 20 20 | re.we.draw.on.top.of.it......... |
b0c80 | 20 20 20 20 20 20 20 20 20 2f 2f 20 4f 6e 6c 79 20 62 6c 75 72 20 74 68 65 20 66 6f 63 75 73 65 | .........//.Only.blur.the.focuse |
b0ca0 | 64 20 65 6c 65 6d 65 6e 74 20 69 66 20 69 74 20 69 73 6e 27 74 20 61 20 74 61 62 2c 20 0a 20 20 | d.element.if.it.isn't.a.tab,.... |
b0cc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 74 6f 20 61 76 6f 69 64 20 62 72 65 61 6b 69 | ..............//.to.avoid.breaki |
b0ce0 | 6e 67 20 6b 65 79 62 6f 61 72 64 20 74 61 62 20 6e 61 76 69 67 61 74 69 6f 6e 0a 20 20 20 20 20 | ng.keyboard.tab.navigation...... |
b0d00 | 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 65 6c 65 6d 20 3d 20 74 68 69 73 2e 6d 43 75 72 72 | ...........var.elem.=.this.mCurr |
b0d20 | 65 6e 74 42 72 6f 77 73 65 72 2e 66 6f 63 75 73 65 64 45 6c 65 6d 65 6e 74 3b 0a 20 20 20 20 20 | entBrowser.focusedElement;...... |
b0d40 | 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 65 6c 65 6d 20 69 6e 73 74 61 6e 63 65 6f 66 20 48 | ...........if.(elem.instanceof.H |
b0d60 | 54 4d 4c 45 6c 65 6d 65 6e 74 20 7c 7c 20 65 6c 65 6d 20 69 6e 73 74 61 6e 63 65 6f 66 20 58 55 | TMLElement.||.elem.instanceof.XU |
b0d80 | 4c 45 6c 65 6d 65 6e 74 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 6c | LElement).{...................el |
b0da0 | 65 6d 2e 62 6c 75 72 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 | em.blur();.................}.... |
b0dc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 | .............else.{............. |
b0de0 | 20 20 20 20 20 20 76 61 72 20 63 6f 6e 74 65 6e 74 20 3d 20 65 6c 65 6d 2e 6f 77 6e 65 72 44 6f | ......var.content.=.elem.ownerDo |
b0e00 | 63 75 6d 65 6e 74 2e 64 65 66 61 75 6c 74 56 69 65 77 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 | cument.defaultView;............. |
b0e20 | 20 20 20 20 20 20 69 66 20 28 63 6f 6e 74 65 6e 74 20 69 6e 73 74 61 6e 63 65 6f 66 20 43 6f 6d | ......if.(content.instanceof.Com |
b0e40 | 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 49 6e 74 65 72 66 61 63 65 52 | ponents.interfaces.nsIInterfaceR |
b0e60 | 65 71 75 65 73 74 6f 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f | equestor).....................co |
b0e80 | 6e 74 65 6e 74 2e 67 65 74 49 6e 74 65 72 66 61 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e | ntent.getInterface(Components.in |
b0ea0 | 74 65 72 66 61 63 65 73 2e 6e 73 49 44 4f 4d 57 69 6e 64 6f 77 55 74 69 6c 73 29 2e 66 6f 63 75 | terfaces.nsIDOMWindowUtils).focu |
b0ec0 | 73 28 6e 75 6c 6c 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 | s(null);.................}...... |
b0ee0 | 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 43 | .........}...............this.mC |
b0f00 | 75 72 72 65 6e 74 42 72 6f 77 73 65 72 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 74 79 70 65 | urrentBrowser.setAttribute("type |
b0f20 | 22 2c 20 22 63 6f 6e 74 65 6e 74 2d 74 61 72 67 65 74 61 62 6c 65 22 29 3b 0a 20 20 20 20 20 20 | ",."content-targetable");....... |
b0f40 | 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 75 70 64 61 74 65 50 | ......}..............var.updateP |
b0f60 | 61 67 65 52 65 70 6f 72 74 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 | ageReport.=.false;.............i |
b0f80 | 66 20 28 21 74 68 69 73 2e 6d 43 75 72 72 65 6e 74 42 72 6f 77 73 65 72 20 7c 7c 0a 20 20 20 20 | f.(!this.mCurrentBrowser.||..... |
b0fa0 | 20 20 20 20 20 20 20 20 20 20 20 20 28 74 68 69 73 2e 6d 43 75 72 72 65 6e 74 42 72 6f 77 73 65 | ............(this.mCurrentBrowse |
b0fc0 | 72 2e 70 61 67 65 52 65 70 6f 72 74 20 26 26 20 21 6e 65 77 42 72 6f 77 73 65 72 2e 70 61 67 65 | r.pageReport.&&.!newBrowser.page |
b0fe0 | 52 65 70 6f 72 74 29 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 21 74 68 69 | Report).||.................(!thi |
b1000 | 73 2e 6d 43 75 72 72 65 6e 74 42 72 6f 77 73 65 72 2e 70 61 67 65 52 65 70 6f 72 74 20 26 26 20 | s.mCurrentBrowser.pageReport.&&. |
b1020 | 6e 65 77 42 72 6f 77 73 65 72 2e 70 61 67 65 52 65 70 6f 72 74 29 29 0a 20 20 20 20 20 20 20 20 | newBrowser.pageReport))......... |
b1040 | 20 20 20 20 20 20 75 70 64 61 74 65 50 61 67 65 52 65 70 6f 72 74 20 3d 20 74 72 75 65 3b 0a 0a | ......updatePageReport.=.true;.. |
b1060 | 20 20 20 20 20 20 20 20 20 20 20 20 6e 65 77 42 72 6f 77 73 65 72 2e 73 65 74 41 74 74 72 69 62 | ............newBrowser.setAttrib |
b1080 | 75 74 65 28 22 74 79 70 65 22 2c 20 22 63 6f 6e 74 65 6e 74 2d 70 72 69 6d 61 72 79 22 29 3b 0a | ute("type",."content-primary");. |
b10a0 | 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 43 75 72 72 65 6e 74 42 72 6f 77 73 65 72 | ............this.mCurrentBrowser |
b10c0 | 20 3d 20 6e 65 77 42 72 6f 77 73 65 72 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e | .=.newBrowser;.............this. |
b10e0 | 6d 43 75 72 72 65 6e 74 54 61 62 20 3d 20 74 68 69 73 2e 73 65 6c 65 63 74 65 64 54 61 62 3b 0a | mCurrentTab.=.this.selectedTab;. |
b1100 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 75 70 64 61 74 65 50 61 67 65 52 65 70 6f 72 | .............if.(updatePageRepor |
b1120 | 74 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 43 75 72 72 65 6e 74 42 72 | t)...............this.mCurrentBr |
b1140 | 6f 77 73 65 72 2e 75 70 64 61 74 65 50 61 67 65 52 65 70 6f 72 74 28 29 3b 0a 0a 20 20 20 20 20 | owser.updatePageReport();....... |
b1160 | 20 20 20 20 20 20 20 2f 2f 20 55 70 64 61 74 65 20 74 68 65 20 55 52 4c 20 62 61 72 2e 0a 20 20 | .......//.Update.the.URL.bar.... |
b1180 | 20 20 20 20 20 20 20 20 20 20 76 61 72 20 6c 6f 63 20 3d 20 74 68 69 73 2e 6d 43 75 72 72 65 6e | ..........var.loc.=.this.mCurren |
b11a0 | 74 42 72 6f 77 73 65 72 2e 63 75 72 72 65 6e 74 55 52 49 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 | tBrowser.currentURI;............ |
b11c0 | 20 20 76 61 72 20 77 65 62 50 72 6f 67 72 65 73 73 20 3d 20 74 68 69 73 2e 6d 43 75 72 72 65 6e | ..var.webProgress.=.this.mCurren |
b11e0 | 74 42 72 6f 77 73 65 72 2e 77 65 62 50 72 6f 67 72 65 73 73 3b 0a 20 20 20 20 20 20 20 20 20 20 | tBrowser.webProgress;........... |
b1200 | 20 20 76 61 72 20 73 65 63 75 72 69 74 79 55 49 20 3d 20 74 68 69 73 2e 6d 43 75 72 72 65 6e 74 | ..var.securityUI.=.this.mCurrent |
b1220 | 42 72 6f 77 73 65 72 2e 73 65 63 75 72 69 74 79 55 49 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 | Browser.securityUI;............. |
b1240 | 20 76 61 72 20 69 2c 20 70 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 66 6f 72 20 28 69 20 3d 20 | .var.i,.p;.............for.(i.=. |
b1260 | 30 3b 20 69 20 3c 20 74 68 69 73 2e 6d 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 73 2e 6c | 0;.i.<.this.mProgressListeners.l |
b1280 | 65 6e 67 74 68 3b 20 69 2b 2b 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 20 3d 20 | ength;.i++).{...............p.=. |
b12a0 | 74 68 69 73 2e 6d 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 73 5b 69 5d 3b 0a 20 20 20 20 | this.mProgressListeners[i];..... |
b12c0 | 20 20 20 20 20 20 20 20 20 20 69 66 20 28 70 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ..........if.(p)................ |
b12e0 | 20 74 72 79 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 2e 6f 6e 4c 6f 63 | .try.{...................p.onLoc |
b1300 | 61 74 69 6f 6e 43 68 61 6e 67 65 28 77 65 62 50 72 6f 67 72 65 73 73 2c 20 6e 75 6c 6c 2c 20 6c | ationChange(webProgress,.null,.l |
b1320 | 6f 63 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 73 65 63 75 72 | oc);...................if.(secur |
b1340 | 69 74 79 55 49 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 2e 6f 6e 53 | ityUI).....................p.onS |
b1360 | 65 63 75 72 69 74 79 43 68 61 6e 67 65 28 77 65 62 50 72 6f 67 72 65 73 73 2c 20 6e 75 6c 6c 2c | ecurityChange(webProgress,.null, |
b1380 | 20 73 65 63 75 72 69 74 79 55 49 2e 73 74 61 74 65 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 | .securityUI.state);............. |
b13a0 | 20 20 20 20 20 20 20 2f 2f 20 6d 61 6b 65 20 73 75 72 65 20 74 68 61 74 20 61 6c 6c 20 73 74 61 | .......//.make.sure.that.all.sta |
b13c0 | 74 75 73 20 69 6e 64 69 63 61 74 6f 72 73 20 61 72 65 20 70 72 6f 70 65 72 6c 79 20 75 70 64 61 | tus.indicators.are.properly.upda |
b13e0 | 74 65 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 22 6f 6e 55 70 64 | ted...................if.("onUpd |
b1400 | 61 74 65 43 75 72 72 65 6e 74 42 72 6f 77 73 65 72 22 20 69 6e 20 70 29 20 7b 0a 20 20 20 20 20 | ateCurrentBrowser".in.p).{...... |
b1420 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 6c 69 73 74 65 6e 65 72 20 3d 20 74 68 | ...............var.listener.=.th |
b1440 | 69 73 2e 6d 54 61 62 4c 69 73 74 65 6e 65 72 73 5b 74 68 69 73 2e 6d 54 61 62 43 6f 6e 74 61 69 | is.mTabListeners[this.mTabContai |
b1460 | 6e 65 72 2e 73 65 6c 65 63 74 65 64 49 6e 64 65 78 5d 20 7c 7c 20 6e 75 6c 6c 3b 0a 20 20 20 20 | ner.selectedIndex].||.null;..... |
b1480 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 6c 69 73 74 65 6e 65 72 20 26 26 20 | ................if.(listener.&&. |
b14a0 | 6c 69 73 74 65 6e 65 72 2e 6d 53 74 61 74 65 46 6c 61 67 73 29 0a 20 20 20 20 20 20 20 20 20 20 | listener.mStateFlags)........... |
b14c0 | 20 20 20 20 20 20 20 20 20 20 20 20 70 2e 6f 6e 55 70 64 61 74 65 43 75 72 72 65 6e 74 42 72 6f | ............p.onUpdateCurrentBro |
b14e0 | 77 73 65 72 28 6c 69 73 74 65 6e 65 72 2e 6d 53 74 61 74 65 46 6c 61 67 73 2c 20 6c 69 73 74 65 | wser(listener.mStateFlags,.liste |
b1500 | 6e 65 72 2e 6d 53 74 61 74 75 73 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ner.mStatus,.................... |
b1520 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 69 73 74 | ............................list |
b1540 | 65 6e 65 72 2e 6d 4d 65 73 73 61 67 65 2c 20 6c 69 73 74 65 6e 65 72 2e 6d 54 6f 74 61 6c 50 72 | ener.mMessage,.listener.mTotalPr |
b1560 | 6f 67 72 65 73 73 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 | ogress);...................}.... |
b1580 | 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 20 63 61 74 63 68 20 28 65 29 20 7b 0a 20 20 20 20 20 | .............}.catch.(e).{...... |
b15a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 64 6f 6e 27 74 20 69 6e 68 69 62 69 74 20 6f 74 | .............//.don't.inhibit.ot |
b15c0 | 68 65 72 20 6c 69 73 74 65 6e 65 72 73 20 6f 72 20 66 6f 6c 6c 6f 77 69 6e 67 20 63 6f 64 65 0a | her.listeners.or.following.code. |
b15e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 75 74 69 | ..................Components.uti |
b1600 | 6c 73 2e 72 65 70 6f 72 74 45 72 72 6f 72 28 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ls.reportError(e);.............. |
b1620 | 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ...}.............}.............. |
b1640 | 74 68 69 73 2e 5f 66 61 73 74 46 69 6e 64 2e 73 65 74 44 6f 63 53 68 65 6c 6c 28 74 68 69 73 2e | this._fastFind.setDocShell(this. |
b1660 | 6d 43 75 72 72 65 6e 74 42 72 6f 77 73 65 72 2e 64 6f 63 53 68 65 6c 6c 29 3b 0a 0a 20 20 20 20 | mCurrentBrowser.docShell);...... |
b1680 | 20 20 20 20 20 20 20 20 2f 2f 20 55 70 64 61 74 65 20 74 68 65 20 77 69 6e 64 6f 77 20 74 69 74 | ........//.Update.the.window.tit |
b16a0 | 6c 65 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 75 70 64 61 74 65 54 69 74 6c 65 | le..............this.updateTitle |
b16c0 | 62 61 72 28 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 49 66 20 74 68 65 20 6e 65 | bar();..............//.If.the.ne |
b16e0 | 77 20 74 61 62 20 69 73 20 62 75 73 79 2c 20 61 6e 64 20 6f 75 72 20 63 75 72 72 65 6e 74 20 73 | w.tab.is.busy,.and.our.current.s |
b1700 | 74 61 74 65 20 69 73 20 6e 6f 74 20 62 75 73 79 2c 20 74 68 65 6e 0a 20 20 20 20 20 20 20 20 20 | tate.is.not.busy,.then.......... |
b1720 | 20 20 20 2f 2f 20 77 65 20 6e 65 65 64 20 74 6f 20 66 69 72 65 20 61 20 73 74 61 72 74 20 74 6f | ...//.we.need.to.fire.a.start.to |
b1740 | 20 61 6c 6c 20 70 72 6f 67 72 65 73 73 20 6c 69 73 74 65 6e 65 72 73 2e 0a 20 20 20 20 20 20 20 | .all.progress.listeners......... |
b1760 | 20 20 20 20 20 63 6f 6e 73 74 20 6e 73 49 57 65 62 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 | .....const.nsIWebProgressListene |
b1780 | 72 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 57 65 62 | r.=.Components.interfaces.nsIWeb |
b17a0 | 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 | ProgressListener;.............if |
b17c0 | 20 28 74 68 69 73 2e 6d 43 75 72 72 65 6e 74 54 61 62 2e 68 61 73 41 74 74 72 69 62 75 74 65 28 | .(this.mCurrentTab.hasAttribute( |
b17e0 | 22 62 75 73 79 22 29 20 26 26 20 21 74 68 69 73 2e 6d 49 73 42 75 73 79 29 20 7b 0a 20 20 20 20 | "busy").&&.!this.mIsBusy).{..... |
b1800 | 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 49 73 42 75 73 79 20 3d 20 74 72 75 65 3b 0a 20 | ..........this.mIsBusy.=.true;.. |
b1820 | 20 20 20 20 20 20 20 20 20 20 20 20 20 77 65 62 50 72 6f 67 72 65 73 73 20 3d 20 74 68 69 73 2e | .............webProgress.=.this. |
b1840 | 6d 43 75 72 72 65 6e 74 42 72 6f 77 73 65 72 2e 77 65 62 50 72 6f 67 72 65 73 73 3b 0a 20 20 20 | mCurrentBrowser.webProgress;.... |
b1860 | 20 20 20 20 20 20 20 20 20 20 20 66 6f 72 20 28 69 20 3d 20 30 3b 20 69 20 3c 20 74 68 69 73 2e | ...........for.(i.=.0;.i.<.this. |
b1880 | 6d 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 73 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 20 | mProgressListeners.length;.i++). |
b18a0 | 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 20 3d 20 74 68 69 73 2e 6d 50 72 6f 67 | {.................p.=.this.mProg |
b18c0 | 72 65 73 73 4c 69 73 74 65 6e 65 72 73 5b 69 5d 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ressListeners[i];............... |
b18e0 | 20 20 69 66 20 28 70 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 72 79 20 7b | ..if.(p)...................try.{ |
b1900 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 2e 6f 6e 53 74 61 74 65 43 68 | .....................p.onStateCh |
b1920 | 61 6e 67 65 28 77 65 62 50 72 6f 67 72 65 73 73 2c 20 6e 75 6c 6c 2c 20 6e 73 49 57 65 62 50 72 | ange(webProgress,.null,.nsIWebPr |
b1940 | 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 2e 53 54 41 54 45 5f 53 54 41 52 54 20 7c 20 6e 73 49 | ogressListener.STATE_START.|.nsI |
b1960 | 57 65 62 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 2e 53 54 41 54 45 5f 49 53 5f 4e 45 54 | WebProgressListener.STATE_IS_NET |
b1980 | 57 4f 52 4b 2c 20 30 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 20 63 61 | WORK,.0);...................}.ca |
b19a0 | 74 63 68 20 28 65 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f | tch.(e).{.....................// |
b19c0 | 20 64 6f 6e 27 74 20 69 6e 68 69 62 69 74 20 6f 74 68 65 72 20 6c 69 73 74 65 6e 65 72 73 20 6f | .don't.inhibit.other.listeners.o |
b19e0 | 72 20 66 6f 6c 6c 6f 77 69 6e 67 20 63 6f 64 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | r.following.code................ |
b1a00 | 20 20 20 20 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 75 74 69 6c 73 2e 72 65 70 6f 72 74 45 72 72 6f | .....Components.utils.reportErro |
b1a20 | 72 28 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 | r(e);...................}....... |
b1a40 | 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 | ........}.............}......... |
b1a60 | 20 20 20 20 20 2f 2f 20 49 66 20 74 68 65 20 6e 65 77 20 74 61 62 20 69 73 20 6e 6f 74 20 62 75 | .....//.If.the.new.tab.is.not.bu |
b1a80 | 73 79 2c 20 61 6e 64 20 6f 75 72 20 63 75 72 72 65 6e 74 20 73 74 61 74 65 20 69 73 20 62 75 73 | sy,.and.our.current.state.is.bus |
b1aa0 | 79 2c 20 74 68 65 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 77 65 20 6e 65 65 64 20 74 | y,.then.............//.we.need.t |
b1ac0 | 6f 20 66 69 72 65 20 61 20 73 74 6f 70 20 74 6f 20 61 6c 6c 20 70 72 6f 67 72 65 73 73 20 6c 69 | o.fire.a.stop.to.all.progress.li |
b1ae0 | 73 74 65 6e 65 72 73 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 74 68 69 73 2e 6d | steners..............if.(!this.m |
b1b00 | 43 75 72 72 65 6e 74 54 61 62 2e 68 61 73 41 74 74 72 69 62 75 74 65 28 22 62 75 73 79 22 29 20 | CurrentTab.hasAttribute("busy"). |
b1b20 | 26 26 20 74 68 69 73 2e 6d 49 73 42 75 73 79 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | &&.this.mIsBusy).{.............. |
b1b40 | 20 74 68 69 73 2e 6d 49 73 42 75 73 79 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 20 20 20 20 | .this.mIsBusy.=.false;.......... |
b1b60 | 20 20 20 20 20 77 65 62 50 72 6f 67 72 65 73 73 20 3d 20 74 68 69 73 2e 6d 43 75 72 72 65 6e 74 | .....webProgress.=.this.mCurrent |
b1b80 | 42 72 6f 77 73 65 72 2e 77 65 62 50 72 6f 67 72 65 73 73 3b 0a 20 20 20 20 20 20 20 20 20 20 20 | Browser.webProgress;............ |
b1ba0 | 20 20 20 66 6f 72 20 28 69 20 3d 20 30 3b 20 69 20 3c 20 74 68 69 73 2e 6d 50 72 6f 67 72 65 73 | ...for.(i.=.0;.i.<.this.mProgres |
b1bc0 | 73 4c 69 73 74 65 6e 65 72 73 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 20 7b 0a 20 20 20 20 20 20 | sListeners.length;.i++).{....... |
b1be0 | 20 20 20 20 20 20 20 20 20 20 70 20 3d 20 74 68 69 73 2e 6d 50 72 6f 67 72 65 73 73 4c 69 73 74 | ..........p.=.this.mProgressList |
b1c00 | 65 6e 65 72 73 5b 69 5d 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 70 29 | eners[i];.................if.(p) |
b1c20 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 20 | ...................try.{........ |
b1c40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 70 2e 6f 6e 53 74 61 74 65 43 68 61 6e 67 65 28 77 65 62 | .............p.onStateChange(web |
b1c60 | 50 72 6f 67 72 65 73 73 2c 20 6e 75 6c 6c 2c 20 6e 73 49 57 65 62 50 72 6f 67 72 65 73 73 4c 69 | Progress,.null,.nsIWebProgressLi |
b1c80 | 73 74 65 6e 65 72 2e 53 54 41 54 45 5f 53 54 4f 50 20 7c 20 6e 73 49 57 65 62 50 72 6f 67 72 65 | stener.STATE_STOP.|.nsIWebProgre |
b1ca0 | 73 73 4c 69 73 74 65 6e 65 72 2e 53 54 41 54 45 5f 49 53 5f 4e 45 54 57 4f 52 4b 2c 20 30 29 3b | ssListener.STATE_IS_NETWORK,.0); |
b1cc0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 20 63 61 74 63 68 20 28 65 29 20 7b | ...................}.catch.(e).{ |
b1ce0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 64 6f 6e 27 74 20 69 6e | .....................//.don't.in |
b1d00 | 68 69 62 69 74 20 6f 74 68 65 72 20 6c 69 73 74 65 6e 65 72 73 20 6f 72 20 66 6f 6c 6c 6f 77 69 | hibit.other.listeners.or.followi |
b1d20 | 6e 67 20 63 6f 64 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 43 6f 6d 70 | ng.code.....................Comp |
b1d40 | 6f 6e 65 6e 74 73 2e 75 74 69 6c 73 2e 72 65 70 6f 72 74 45 72 72 6f 72 28 65 29 3b 0a 20 20 20 | onents.utils.reportError(e);.... |
b1d60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d | ...............}...............} |
b1d80 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 57 | .............}..............//.W |
b1da0 | 65 27 76 65 20 73 65 6c 65 63 74 65 64 20 74 68 65 20 6e 65 77 20 74 61 62 2c 20 73 6f 20 67 6f | e've.selected.the.new.tab,.so.go |
b1dc0 | 20 61 68 65 61 64 20 61 6e 64 20 6e 6f 74 69 66 79 20 6c 69 73 74 65 6e 65 72 73 2e 0a 20 20 20 | .ahead.and.notify.listeners..... |
b1de0 | 20 20 20 20 20 20 20 20 20 76 61 72 20 65 76 65 6e 74 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 63 72 | .........var.event.=.document.cr |
b1e00 | 65 61 74 65 45 76 65 6e 74 28 22 45 76 65 6e 74 73 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 | eateEvent("Events");............ |
b1e20 | 20 65 76 65 6e 74 2e 69 6e 69 74 45 76 65 6e 74 28 22 54 61 62 53 65 6c 65 63 74 22 2c 20 74 72 | .event.initEvent("TabSelect",.tr |
b1e40 | 75 65 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 43 75 | ue,.false);.............this.mCu |
b1e60 | 72 72 65 6e 74 54 61 62 2e 64 69 73 70 61 74 63 68 45 76 65 6e 74 28 65 76 65 6e 74 29 3b 0a 0a | rrentTab.dispatchEvent(event);.. |
b1e80 | 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 64 6f 63 75 6d 65 6e 74 2e 63 6f 6d 6d 61 6e 64 | ............if.(document.command |
b1ea0 | 44 69 73 70 61 74 63 68 65 72 2e 66 6f 63 75 73 65 64 45 6c 65 6d 65 6e 74 20 26 26 0a 20 20 20 | Dispatcher.focusedElement.&&.... |
b1ec0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 63 6f 6d 6d 61 6e 64 44 69 73 | .............document.commandDis |
b1ee0 | 70 61 74 63 68 65 72 2e 66 6f 63 75 73 65 64 45 6c 65 6d 65 6e 74 2e 70 61 72 65 6e 74 4e 6f 64 | patcher.focusedElement.parentNod |
b1f00 | 65 20 3d 3d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 43 75 72 72 65 | e.==.................this.mCurre |
b1f20 | 6e 74 54 61 62 2e 70 61 72 65 6e 74 4e 6f 64 65 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ntTab.parentNode).{............. |
b1f40 | 20 20 2f 2f 20 54 68 65 20 66 6f 63 75 73 20 69 73 20 6f 6e 20 61 20 74 61 62 20 69 6e 20 74 68 | ..//.The.focus.is.on.a.tab.in.th |
b1f60 | 65 20 73 61 6d 65 20 74 61 62 20 70 61 6e 65 6c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 | e.same.tab.panel...............r |
b1f80 | 65 74 75 72 6e 3b 20 20 2f 2f 20 49 66 20 66 6f 63 75 73 20 77 61 73 20 6f 6e 20 61 20 74 61 62 | eturn;..//.If.focus.was.on.a.tab |
b1fa0 | 2c 20 73 77 69 74 63 68 69 6e 67 20 74 61 62 73 20 66 6f 63 75 73 65 73 20 74 68 65 20 6e 65 77 | ,.switching.tabs.focuses.the.new |
b1fc0 | 20 74 61 62 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 | .tab.............}.............. |
b1fe0 | 76 61 72 20 77 68 61 74 54 6f 46 6f 63 75 73 20 3d 20 77 69 6e 64 6f 77 2e 63 6f 6e 74 65 6e 74 | var.whatToFocus.=.window.content |
b2000 | 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 46 6f 63 75 73 20 74 68 65 20 70 72 65 76 | ;..............//.Focus.the.prev |
b2020 | 69 6f 75 73 6c 79 20 66 6f 63 75 73 65 64 20 65 6c 65 6d 65 6e 74 20 6f 72 20 77 69 6e 64 6f 77 | iously.focused.element.or.window |
b2040 | 2c 20 62 75 74 20 6d 61 6b 65 20 73 75 72 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 74 | ,.but.make.sure.............//.t |
b2060 | 68 65 20 66 6f 63 75 73 65 64 20 65 6c 65 6d 65 6e 74 20 69 73 20 73 74 69 6c 6c 20 70 61 72 74 | he.focused.element.is.still.part |
b2080 | 20 6f 66 20 74 68 65 20 64 6f 63 75 6d 65 6e 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 6c 65 74 | .of.the.document.............let |
b20a0 | 20 66 6f 63 75 73 65 64 45 6c 65 6d 20 3d 20 6e 65 77 42 72 6f 77 73 65 72 2e 66 6f 63 75 73 65 | .focusedElem.=.newBrowser.focuse |
b20c0 | 64 45 6c 65 6d 65 6e 74 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 66 6f 63 75 73 65 | dElement;.............if.(focuse |
b20e0 | 64 45 6c 65 6d 20 26 26 20 66 6f 63 75 73 65 64 45 6c 65 6d 2e 6f 77 6e 65 72 44 6f 63 75 6d 65 | dElem.&&.focusedElem.ownerDocume |
b2100 | 6e 74 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 21 28 66 6f 63 75 73 65 64 45 | nt.&&.................!(focusedE |
b2120 | 6c 65 6d 2e 6f 77 6e 65 72 44 6f 63 75 6d 65 6e 74 2e 63 6f 6d 70 61 72 65 44 6f 63 75 6d 65 6e | lem.ownerDocument.compareDocumen |
b2140 | 74 50 6f 73 69 74 69 6f 6e 28 66 6f 63 75 73 65 64 45 6c 65 6d 29 20 26 0a 20 20 20 20 20 20 20 | tPosition(focusedElem).&........ |
b2160 | 20 20 20 20 20 20 20 20 20 20 20 4e 6f 64 65 2e 44 4f 43 55 4d 45 4e 54 5f 50 4f 53 49 54 49 4f | ...........Node.DOCUMENT_POSITIO |
b2180 | 4e 5f 44 49 53 43 4f 4e 4e 45 43 54 45 44 29 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | N_DISCONNECTED)).{.............. |
b21a0 | 20 69 66 20 28 6e 65 77 42 72 6f 77 73 65 72 2e 66 6f 63 75 73 65 64 45 6c 65 6d 65 6e 74 2e 70 | .if.(newBrowser.focusedElement.p |
b21c0 | 61 72 65 6e 74 4e 6f 64 65 20 21 3d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 | arentNode.!=...................t |
b21e0 | 68 69 73 2e 6d 43 75 72 72 65 6e 74 54 61 62 2e 70 61 72 65 6e 74 4e 6f 64 65 29 20 7b 0a 20 20 | his.mCurrentTab.parentNode).{... |
b2200 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 46 6f 63 75 73 20 74 68 65 20 72 65 6d 65 6d | ..............//.Focus.the.remem |
b2220 | 62 65 72 65 64 20 65 6c 65 6d 65 6e 74 20 75 6e 6c 65 73 73 20 69 74 27 73 20 69 6e 20 74 68 65 | bered.element.unless.it's.in.the |
b2240 | 20 63 75 72 72 65 6e 74 20 74 61 62 20 70 61 6e 65 6c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | .current.tab.panel.............. |
b2260 | 20 20 20 77 68 61 74 54 6f 46 6f 63 75 73 20 3d 20 6e 65 77 42 72 6f 77 73 65 72 2e 66 6f 63 75 | ...whatToFocus.=.newBrowser.focu |
b2280 | 73 65 64 45 6c 65 6d 65 6e 74 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 | sedElement;...............}..... |
b22a0 | 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 20 69 66 20 28 6e | ........}.............else.if.(n |
b22c0 | 65 77 42 72 6f 77 73 65 72 2e 66 6f 63 75 73 65 64 57 69 6e 64 6f 77 29 20 7b 0a 20 20 20 20 20 | ewBrowser.focusedWindow).{...... |
b22e0 | 20 20 20 20 20 20 20 20 20 77 68 61 74 54 6f 46 6f 63 75 73 20 3d 20 6e 65 77 42 72 6f 77 73 65 | .........whatToFocus.=.newBrowse |
b2300 | 72 2e 66 6f 63 75 73 65 64 57 69 6e 64 6f 77 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 | r.focusedWindow;.............}.. |
b2320 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 43 68 61 6e 67 65 20 66 6f 63 75 73 20 66 6f 72 | .............//.Change.focus.for |
b2340 | 20 74 68 69 73 20 77 69 6e 64 6f 77 20 74 6f 20 7c 77 68 61 74 54 6f 46 6f 63 75 73 7c 2c 20 77 | .this.window.to.|whatToFocus|,.w |
b2360 | 69 74 68 6f 75 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 66 6f 63 75 73 69 6e 67 20 74 | ithout.............//.focusing.t |
b2380 | 68 65 20 77 69 6e 64 6f 77 20 69 74 73 65 6c 66 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 | he.window.itself..............va |
b23a0 | 72 20 63 6d 64 44 69 73 70 61 74 63 68 65 72 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 63 6f 6d 6d 61 | r.cmdDispatcher.=.document.comma |
b23c0 | 6e 64 44 69 73 70 61 74 63 68 65 72 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 77 | ndDispatcher;..............var.w |
b23e0 | 77 20 3d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 | w.=...............Components.cla |
b2400 | 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 65 6d 62 65 64 63 6f 6d 70 2f 77 69 6e | sses["@mozilla.org/embedcomp/win |
b2420 | 64 6f 77 2d 77 61 74 63 68 65 72 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | dow-watcher;1"]................. |
b2440 | 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 | .........getService(Components.i |
b2460 | 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 57 69 6e 64 6f 77 57 61 74 63 68 65 72 29 3b 0a 20 20 20 | nterfaces.nsIWindowWatcher);.... |
b2480 | 20 20 20 20 20 20 20 20 20 69 66 20 28 77 77 2e 61 63 74 69 76 65 57 69 6e 64 6f 77 20 3d 3d 20 | .........if.(ww.activeWindow.==. |
b24a0 | 77 69 6e 64 6f 77 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6d 64 44 69 73 70 61 | window).{...............cmdDispa |
b24c0 | 74 63 68 65 72 2e 73 75 70 70 72 65 73 73 46 6f 63 75 73 53 63 72 6f 6c 6c 20 3d 20 74 72 75 65 | tcher.suppressFocusScroll.=.true |
b24e0 | 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 77 68 61 74 54 6f 46 6f 63 75 73 20 | ;...............if.(whatToFocus. |
b2500 | 69 6e 73 74 61 6e 63 65 6f 66 20 48 54 4d 4c 45 6c 65 6d 65 6e 74 20 7c 7c 0a 20 20 20 20 20 20 | instanceof.HTMLElement.||....... |
b2520 | 20 20 20 20 20 20 20 20 20 20 20 20 77 68 61 74 54 6f 46 6f 63 75 73 20 69 6e 73 74 61 6e 63 65 | ............whatToFocus.instance |
b2540 | 6f 66 20 58 55 4c 45 6c 65 6d 65 6e 74 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | of.XULElement.||................ |
b2560 | 20 20 20 77 68 61 74 54 6f 46 6f 63 75 73 20 69 6e 73 74 61 6e 63 65 6f 66 20 57 69 6e 64 6f 77 | ...whatToFocus.instanceof.Window |
b2580 | 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 77 68 61 74 54 6f 46 6f 63 75 73 2e | ).{.................whatToFocus. |
b25a0 | 66 6f 63 75 73 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 | focus();...............}........ |
b25c0 | 20 20 20 20 20 20 20 65 6c 73 65 20 69 66 20 28 77 68 61 74 54 6f 46 6f 63 75 73 20 69 6e 73 74 | .......else.if.(whatToFocus.inst |
b25e0 | 61 6e 63 65 6f 66 20 4e 6f 64 65 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 | anceof.Node).{.................v |
b2600 | 61 72 20 63 6f 6e 74 65 6e 74 20 3d 20 77 69 6e 64 6f 77 2e 63 6f 6e 74 65 6e 74 3b 0a 20 20 20 | ar.content.=.window.content;.... |
b2620 | 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 63 6f 6e 74 65 6e 74 20 69 6e 73 74 61 6e 63 | .............if.(content.instanc |
b2640 | 65 6f 66 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 49 6e 74 | eof.Components.interfaces.nsIInt |
b2660 | 65 72 66 61 63 65 52 65 71 75 65 73 74 6f 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | erfaceRequestor)................ |
b2680 | 20 20 20 63 6f 6e 74 65 6e 74 2e 67 65 74 49 6e 74 65 72 66 61 63 65 28 43 6f 6d 70 6f 6e 65 6e | ...content.getInterface(Componen |
b26a0 | 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 44 4f 4d 57 69 6e 64 6f 77 55 74 69 6c 73 29 | ts.interfaces.nsIDOMWindowUtils) |
b26c0 | 2e 66 6f 63 75 73 28 77 68 61 74 54 6f 46 6f 63 75 73 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 | .focus(whatToFocus);............ |
b26e0 | 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6d 64 44 69 73 70 61 74 63 68 65 72 | ...}...............cmdDispatcher |
b2700 | 2e 73 75 70 70 72 65 73 73 46 6f 63 75 73 53 63 72 6f 6c 6c 20 3d 20 66 61 6c 73 65 3b 0a 20 20 | .suppressFocusScroll.=.false;... |
b2720 | 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 20 7b 0a 20 | ..........}.............else.{.. |
b2740 | 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 73 65 74 20 74 68 65 20 65 6c 65 6d 65 6e 74 20 | .............//.set.the.element. |
b2760 | 69 6e 20 63 6f 6d 6d 61 6e 64 20 64 69 73 70 61 74 63 68 65 72 20 73 6f 20 66 6f 63 75 73 20 77 | in.command.dispatcher.so.focus.w |
b2780 | 69 6c 6c 20 72 65 73 74 6f 72 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 70 72 6f | ill.restore...............//.pro |
b27a0 | 70 65 72 6c 79 20 77 68 65 6e 20 74 68 65 20 77 69 6e 64 6f 77 20 64 6f 65 73 20 62 65 63 6f 6d | perly.when.the.window.does.becom |
b27c0 | 65 20 61 63 74 69 76 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 77 68 61 74 54 | e.active...............if.(whatT |
b27e0 | 6f 46 6f 63 75 73 20 69 6e 73 74 61 6e 63 65 6f 66 20 57 69 6e 64 6f 77 29 20 7b 0a 20 20 20 20 | oFocus.instanceof.Window).{..... |
b2800 | 20 20 20 20 20 20 20 20 20 20 20 20 63 6d 64 44 69 73 70 61 74 63 68 65 72 2e 66 6f 63 75 73 65 | ............cmdDispatcher.focuse |
b2820 | 64 57 69 6e 64 6f 77 20 3d 20 77 68 61 74 54 6f 46 6f 63 75 73 3b 0a 20 20 20 20 20 20 20 20 20 | dWindow.=.whatToFocus;.......... |
b2840 | 20 20 20 20 20 20 20 63 6d 64 44 69 73 70 61 74 63 68 65 72 2e 66 6f 63 75 73 65 64 45 6c 65 6d | .......cmdDispatcher.focusedElem |
b2860 | 65 6e 74 20 3d 20 6e 75 6c 6c 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 | ent.=.null;...............}..... |
b2880 | 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ..........else.{................ |
b28a0 | 20 63 6d 64 44 69 73 70 61 74 63 68 65 72 2e 66 6f 63 75 73 65 64 57 69 6e 64 6f 77 20 3d 20 77 | .cmdDispatcher.focusedWindow.=.w |
b28c0 | 68 61 74 54 6f 46 6f 63 75 73 2e 6f 77 6e 65 72 44 6f 63 75 6d 65 6e 74 2e 64 65 66 61 75 6c 74 | hatToFocus.ownerDocument.default |
b28e0 | 56 69 65 77 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6d 64 44 69 73 70 61 74 63 | View;.................cmdDispatc |
b2900 | 68 65 72 2e 66 6f 63 75 73 65 64 45 6c 65 6d 65 6e 74 20 3d 20 77 68 61 74 54 6f 46 6f 63 75 73 | her.focusedElement.=.whatToFocus |
b2920 | 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a | ;...............}.............}. |
b2940 | 20 20 20 20 20 20 20 20 20 20 5d 5d 3e 0a 20 20 20 20 20 20 20 20 3c 2f 62 6f 64 79 3e 0a 20 20 | ..........]]>.........</body>... |
b2960 | 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d | ....</method>........<method.nam |
b2980 | 65 3d 22 6f 6e 54 61 62 43 6c 69 63 6b 22 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 | e="onTabClick">.........<paramet |
b29a0 | 65 72 20 6e 61 6d 65 3d 22 65 76 65 6e 74 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e | er.name="event"/>.........<body> |
b29c0 | 0a 20 20 20 20 20 20 20 20 20 20 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 20 | ...........<![CDATA[............ |
b29e0 | 20 69 66 20 28 65 76 65 6e 74 2e 62 75 74 74 6f 6e 20 21 3d 20 31 20 7c 7c 20 65 76 65 6e 74 2e | .if.(event.button.!=.1.||.event. |
b2a00 | 74 61 72 67 65 74 2e 6c 6f 63 61 6c 4e 61 6d 65 20 21 3d 20 27 74 61 62 27 29 0a 20 20 20 20 20 | target.localName.!=.'tab')...... |
b2a20 | 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 | .........return;..............if |
b2a40 | 20 28 74 68 69 73 2e 6d 54 61 62 73 2e 6c 65 6e 67 74 68 20 3e 20 31 20 7c 7c 0a 20 20 20 20 20 | .(this.mTabs.length.>.1.||...... |
b2a60 | 20 20 20 20 20 20 20 20 20 20 20 21 74 68 69 73 2e 6d 50 72 65 66 73 2e 67 65 74 42 6f 6f 6c 50 | ...........!this.mPrefs.getBoolP |
b2a80 | 72 65 66 28 22 62 72 6f 77 73 65 72 2e 74 61 62 73 2e 63 6c 6f 73 65 57 69 6e 64 6f 77 57 69 74 | ref("browser.tabs.closeWindowWit |
b2aa0 | 68 4c 61 73 74 54 61 62 22 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 72 | hLastTab"))...............this.r |
b2ac0 | 65 6d 6f 76 65 54 61 62 28 65 76 65 6e 74 2e 74 61 72 67 65 74 29 3b 0a 0a 20 20 20 20 20 20 20 | emoveTab(event.target);......... |
b2ae0 | 20 20 20 20 20 65 76 65 6e 74 2e 73 74 6f 70 50 72 6f 70 61 67 61 74 69 6f 6e 28 29 3b 0a 20 20 | .....event.stopPropagation();... |
b2b00 | 20 20 20 20 20 20 20 20 5d 5d 3e 0a 20 20 20 20 20 20 20 20 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 | ........]]>.........</body>..... |
b2b20 | 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d | ..</method>........<method.name= |
b2b40 | 22 6f 6e 54 69 74 6c 65 43 68 61 6e 67 65 64 22 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d | "onTitleChanged">.........<param |
b2b60 | 65 74 65 72 20 6e 61 6d 65 3d 22 65 76 74 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e | eter.name="evt"/>.........<body> |
b2b80 | 0a 20 20 20 20 20 20 20 20 20 20 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 20 | ...........<![CDATA[............ |
b2ba0 | 20 69 66 20 28 65 76 74 2e 74 61 72 67 65 74 20 21 3d 20 74 68 69 73 2e 63 6f 6e 74 65 6e 74 44 | .if.(evt.target.!=.this.contentD |
b2bc0 | 6f 63 75 6d 65 6e 74 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a | ocument)...............return;.. |
b2be0 | 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 74 61 62 42 72 6f 77 73 65 72 20 3d 20 74 68 69 | ............var.tabBrowser.=.thi |
b2c00 | 73 2e 70 61 72 65 6e 74 4e 6f 64 65 2e 70 61 72 65 6e 74 4e 6f 64 65 2e 70 61 72 65 6e 74 4e 6f | s.parentNode.parentNode.parentNo |
b2c20 | 64 65 2e 70 61 72 65 6e 74 4e 6f 64 65 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 | de.parentNode;..............var. |
b2c40 | 74 61 62 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 41 6e 6f 6e 79 6d 6f 75 73 45 6c 65 6d 65 | tab.=.document.getAnonymousEleme |
b2c60 | 6e 74 42 79 41 74 74 72 69 62 75 74 65 28 74 61 62 42 72 6f 77 73 65 72 2c 20 22 6c 69 6e 6b 65 | ntByAttribute(tabBrowser,."linke |
b2c80 | 64 70 61 6e 65 6c 22 2c 20 74 68 69 73 2e 70 61 72 65 6e 74 4e 6f 64 65 2e 69 64 29 3b 0a 20 20 | dpanel",.this.parentNode.id);... |
b2ca0 | 20 20 20 20 20 20 20 20 20 20 74 61 62 42 72 6f 77 73 65 72 2e 73 65 74 54 61 62 54 69 74 6c 65 | ..........tabBrowser.setTabTitle |
b2cc0 | 28 74 61 62 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 61 62 20 3d 3d 20 74 | (tab);..............if.(tab.==.t |
b2ce0 | 61 62 42 72 6f 77 73 65 72 2e 6d 43 75 72 72 65 6e 74 54 61 62 29 0a 20 20 20 20 20 20 20 20 20 | abBrowser.mCurrentTab).......... |
b2d00 | 20 20 20 20 20 74 61 62 42 72 6f 77 73 65 72 2e 75 70 64 61 74 65 54 69 74 6c 65 62 61 72 28 29 | .....tabBrowser.updateTitlebar() |
b2d20 | 3b 0a 20 20 20 20 20 20 20 20 20 20 5d 5d 3e 0a 20 20 20 20 20 20 20 20 3c 2f 62 6f 64 79 3e 0a | ;...........]]>.........</body>. |
b2d40 | 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e | ......</method>........<method.n |
b2d60 | 61 6d 65 3d 22 73 65 74 54 61 62 54 69 74 6c 65 4c 6f 61 64 69 6e 67 22 3e 0a 20 20 20 20 20 20 | ame="setTabTitleLoading">....... |
b2d80 | 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 54 61 62 22 2f 3e 0a 20 20 20 20 20 | ..<parameter.name="aTab"/>...... |
b2da0 | 20 20 20 3c 62 6f 64 79 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 21 5b 43 44 41 54 41 5b 0a 20 20 | ...<body>...........<![CDATA[... |
b2dc0 | 20 20 20 20 20 20 20 20 20 20 61 54 61 62 2e 6c 61 62 65 6c 20 3d 20 74 68 69 73 2e 6d 53 74 72 | ..........aTab.label.=.this.mStr |
b2de0 | 69 6e 67 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 74 61 62 73 2e 6c 6f 61 64 69 6e | ingBundle.getString("tabs.loadin |
b2e00 | 67 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 61 54 61 62 2e 73 65 74 41 74 74 72 69 62 75 | g");.............aTab.setAttribu |
b2e20 | 74 65 28 22 63 72 6f 70 22 2c 20 22 65 6e 64 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 5d 5d 3e | te("crop",."end");...........]]> |
b2e40 | 0a 20 20 20 20 20 20 20 20 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e | .........</body>.......</method> |
b2e60 | 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 73 65 74 54 61 62 54 69 74 6c | ........<method.name="setTabTitl |
b2e80 | 65 22 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 54 61 | e">.........<parameter.name="aTa |
b2ea0 | 62 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 21 | b"/>.........<body>...........<! |
b2ec0 | 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 62 72 6f 77 73 65 72 20 | [CDATA[.............var.browser. |
b2ee0 | 3d 20 74 68 69 73 2e 67 65 74 42 72 6f 77 73 65 72 46 6f 72 54 61 62 28 61 54 61 62 29 3b 0a 20 | =.this.getBrowserForTab(aTab);.. |
b2f00 | 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 63 72 6f 70 20 3d 20 22 65 6e 64 22 3b 0a 20 20 20 | ...........var.crop.=."end";.... |
b2f20 | 20 20 20 20 20 20 20 20 20 76 61 72 20 74 69 74 6c 65 20 3d 20 62 72 6f 77 73 65 72 2e 63 6f 6e | .........var.title.=.browser.con |
b2f40 | 74 65 6e 74 54 69 74 6c 65 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 74 69 74 | tentTitle;..............if.(!tit |
b2f60 | 6c 65 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 62 72 6f 77 73 65 72 2e | le).{...............if.(browser. |
b2f80 | 63 75 72 72 65 6e 74 55 52 49 2e 73 70 65 63 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | currentURI.spec).{.............. |
b2fa0 | 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 69 74 6c 65 | ...try.{...................title |
b2fc0 | 20 3d 20 74 68 69 73 2e 6d 55 52 49 46 69 78 75 70 2e 63 72 65 61 74 65 45 78 70 6f 73 61 62 6c | .=.this.mURIFixup.createExposabl |
b2fe0 | 65 55 52 49 28 62 72 6f 77 73 65 72 2e 63 75 72 72 65 6e 74 55 52 49 29 2e 73 70 65 63 3b 0a 20 | eURI(browser.currentURI).spec;.. |
b3000 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 20 63 61 74 63 68 28 65 78 29 20 7b 0a 20 20 20 | ...............}.catch(ex).{.... |
b3020 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 69 74 6c 65 20 3d 20 62 72 6f 77 73 65 72 2e 63 | ...............title.=.browser.c |
b3040 | 75 72 72 65 6e 74 55 52 49 2e 73 70 65 63 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | urrentURI.spec;................. |
b3060 | 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | }...............}............... |
b3080 | 20 69 66 20 28 74 69 74 6c 65 20 26 26 20 74 69 74 6c 65 20 21 3d 20 22 61 62 6f 75 74 3a 62 6c | .if.(title.&&.title.!=."about:bl |
b30a0 | 61 6e 6b 22 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 41 74 20 74 68 | ank").{.................//.At.th |
b30c0 | 69 73 20 70 6f 69 6e 74 2c 20 77 65 20 6e 6f 77 20 68 61 76 65 20 61 20 55 52 49 2e 0a 20 20 20 | is.point,.we.now.have.a.URI..... |
b30e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 4c 65 74 27 73 20 74 72 79 20 74 6f 20 75 6e 65 | .............//.Let's.try.to.une |
b3100 | 73 63 61 70 65 20 69 74 20 75 73 69 6e 67 20 61 20 63 68 61 72 61 63 74 65 72 20 73 65 74 0a 20 | scape.it.using.a.character.set.. |
b3120 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 69 6e 20 63 61 73 65 20 74 68 65 20 55 52 | ...............//.in.case.the.UR |
b3140 | 49 20 69 73 20 6e 6f 74 20 41 53 43 49 49 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | I.is.not.ASCII.................. |
b3160 | 74 72 79 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 63 68 61 72 | try.{...................var.char |
b3180 | 61 63 74 65 72 53 65 74 20 3d 20 62 72 6f 77 73 65 72 2e 63 6f 6e 74 65 6e 74 44 6f 63 75 6d 65 | acterSet.=.browser.contentDocume |
b31a0 | 6e 74 2e 63 68 61 72 61 63 74 65 72 53 65 74 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | nt.characterSet;................ |
b31c0 | 20 20 20 63 6f 6e 73 74 20 74 65 78 74 54 6f 53 75 62 55 52 49 20 3d 20 43 6f 6d 70 6f 6e 65 6e | ...const.textToSubURI.=.Componen |
b31e0 | 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 69 6e 74 6c 2f 74 65 | ts.classes["@mozilla.org/intl/te |
b3200 | 78 74 74 6f 73 75 62 75 72 69 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | xttosuburi;1"].................. |
b3220 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
b3240 | 2e 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 | .getService(Components.interface |
b3260 | 73 2e 6e 73 49 54 65 78 74 54 6f 53 75 62 55 52 49 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 | s.nsITextToSubURI);............. |
b3280 | 20 20 20 20 20 20 74 69 74 6c 65 20 3d 20 74 65 78 74 54 6f 53 75 62 55 52 49 2e 75 6e 45 73 63 | ......title.=.textToSubURI.unEsc |
b32a0 | 61 70 65 4e 6f 6e 41 73 63 69 69 55 52 49 28 63 68 61 72 61 63 74 65 72 53 65 74 2c 20 74 69 74 | apeNonAsciiURI(characterSet,.tit |
b32c0 | 6c 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 20 63 61 74 63 68 28 65 78 29 | le);.................}.catch(ex) |
b32e0 | 20 7b 20 2f 2a 20 44 6f 20 6e 6f 74 68 69 6e 67 2e 20 2a 2f 20 7d 0a 0a 20 20 20 20 20 20 20 20 | .{./*.Do.nothing..*/.}.......... |
b3300 | 20 20 20 20 20 20 20 20 63 72 6f 70 20 3d 20 22 63 65 6e 74 65 72 22 3b 0a 0a 20 20 20 20 20 20 | ........crop.=."center";........ |
b3320 | 20 20 20 20 20 20 20 20 7d 20 65 6c 73 65 20 2f 2f 20 53 74 69 6c 6c 20 6e 6f 20 74 69 74 6c 65 | ........}.else.//.Still.no.title |
b3340 | 3f 20 20 46 61 6c 6c 20 62 61 63 6b 20 74 6f 20 6f 75 72 20 75 6e 74 69 74 6c 65 64 20 73 74 72 | ?..Fall.back.to.our.untitled.str |
b3360 | 69 6e 67 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 69 74 6c 65 20 3d 20 74 68 69 | ing..................title.=.thi |
b3380 | 73 2e 6d 53 74 72 69 6e 67 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 74 61 62 73 2e | s.mStringBundle.getString("tabs. |
b33a0 | 75 6e 74 69 74 6c 65 64 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 | untitled");.............}....... |
b33c0 | 20 20 20 20 20 20 20 61 54 61 62 2e 6c 61 62 65 6c 20 3d 20 74 69 74 6c 65 3b 0a 20 20 20 20 20 | .......aTab.label.=.title;...... |
b33e0 | 20 20 20 20 20 20 20 61 54 61 62 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 63 72 6f 70 22 2c | .......aTab.setAttribute("crop", |
b3400 | 20 63 72 6f 70 29 3b 0a 20 20 20 20 20 20 20 20 20 20 5d 5d 3e 0a 20 20 20 20 20 20 20 20 3c 2f | .crop);...........]]>.........</ |
b3420 | 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 | body>.......</method>........<me |
b3440 | 74 68 6f 64 20 6e 61 6d 65 3d 22 73 65 74 53 74 72 69 70 56 69 73 69 62 69 6c 69 74 79 54 6f 22 | thod.name="setStripVisibilityTo" |
b3460 | 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 53 68 6f 77 | >.........<parameter.name="aShow |
b3480 | 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 0a 20 20 20 20 20 20 20 20 3c 21 5b 43 44 | "/>.........<body>.........<![CD |
b34a0 | 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 53 74 72 69 70 2e 63 6f 6c 6c 61 | ATA[...........this.mStrip.colla |
b34c0 | 70 73 65 64 20 3d 20 21 61 53 68 6f 77 3b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 61 53 68 | psed.=.!aShow;...........if.(aSh |
b34e0 | 6f 77 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 58 58 58 64 77 68 20 74 65 6d 70 | ow).{.............//.XXXdwh.temp |
b3500 | 6f 72 61 72 79 20 75 6e 63 6c 65 61 6e 20 64 65 70 65 6e 64 65 6e 63 79 20 6f 6e 20 73 70 65 63 | orary.unclean.dependency.on.spec |
b3520 | 69 66 69 63 20 6d 65 6e 75 20 69 74 65 6d 73 20 69 6e 20 6e 61 76 69 67 61 74 6f 72 2e 78 75 6c | ific.menu.items.in.navigator.xul |
b3540 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 | .............document.getElement |
b3560 | 42 79 49 64 28 22 6d 65 6e 75 5f 63 6c 6f 73 65 57 69 6e 64 6f 77 22 29 2e 68 69 64 64 65 6e 20 | ById("menu_closeWindow").hidden. |
b3580 | 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 | =.false;.............document.ge |
b35a0 | 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 6d 65 6e 75 5f 63 6c 6f 73 65 22 29 2e 73 65 74 41 74 | tElementById("menu_close").setAt |
b35c0 | 74 72 69 62 75 74 65 28 22 6c 61 62 65 6c 22 2c 20 74 68 69 73 2e 6d 53 74 72 69 6e 67 42 75 6e | tribute("label",.this.mStringBun |
b35e0 | 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 74 61 62 73 2e 63 6c 6f 73 65 54 61 62 22 29 29 3b | dle.getString("tabs.closeTab")); |
b3600 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 74 68 69 73 2e 6d 54 61 62 62 65 64 4d 6f | .............if.(!this.mTabbedMo |
b3620 | 64 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 65 6e 74 65 72 54 61 62 62 | de)...............this.enterTabb |
b3640 | 65 64 4d 6f 64 65 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 | edMode();...........}........... |
b3660 | 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 58 58 58 64 77 68 20 74 65 6d | else.{.............//.XXXdwh.tem |
b3680 | 70 6f 72 61 72 79 20 75 6e 63 6c 65 61 6e 20 64 65 70 65 6e 64 65 6e 63 79 20 6f 6e 20 73 70 65 | porary.unclean.dependency.on.spe |
b36a0 | 63 69 66 69 63 20 6d 65 6e 75 20 69 74 65 6d 73 20 69 6e 20 6e 61 76 69 67 61 74 6f 72 2e 78 75 | cific.menu.items.in.navigator.xu |
b36c0 | 6c 0a 20 20 20 20 20 20 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e | l.............document.getElemen |
b36e0 | 74 42 79 49 64 28 22 6d 65 6e 75 5f 63 6c 6f 73 65 57 69 6e 64 6f 77 22 29 2e 68 69 64 64 65 6e | tById("menu_closeWindow").hidden |
b3700 | 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 | .=.true;.............document.ge |
b3720 | 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 6d 65 6e 75 5f 63 6c 6f 73 65 22 29 2e 73 65 74 41 74 | tElementById("menu_close").setAt |
b3740 | 74 72 69 62 75 74 65 28 22 6c 61 62 65 6c 22 2c 20 74 68 69 73 2e 6d 53 74 72 69 6e 67 42 75 6e | tribute("label",.this.mStringBun |
b3760 | 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 74 61 62 73 2e 63 6c 6f 73 65 22 29 29 3b 0a 20 20 | dle.getString("tabs.close"));... |
b3780 | 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 5d 5d 3e 0a 20 20 20 20 20 20 20 20 3c 2f | ........}.........]]>.........</ |
b37a0 | 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 | body>.......</method>........<me |
b37c0 | 74 68 6f 64 20 6e 61 6d 65 3d 22 67 65 74 53 74 72 69 70 56 69 73 69 62 69 6c 69 74 79 22 3e 0a | thod.name="getStripVisibility">. |
b37e0 | 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 | ........<body>...........return. |
b3800 | 21 74 68 69 73 2e 6d 53 74 72 69 70 2e 63 6f 6c 6c 61 70 73 65 64 3b 0a 20 20 20 20 20 20 20 20 | !this.mStrip.collapsed;......... |
b3820 | 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c | </body>.......</method>........< |
b3840 | 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 65 6e 74 65 72 54 61 62 62 65 64 4d 6f 64 65 22 3e 0a 20 | method.name="enterTabbedMode">.. |
b3860 | 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 21 5b 43 44 41 54 41 | .......<body>...........<![CDATA |
b3880 | 5b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 54 61 62 62 65 64 4d 6f 64 65 20 3d | [.............this.mTabbedMode.= |
b38a0 | 20 74 72 75 65 3b 20 2f 2f 20 57 65 6c 63 6f 6d 65 20 74 6f 20 6d 75 6c 74 69 2d 74 61 62 62 65 | .true;.//.Welcome.to.multi-tabbe |
b38c0 | 64 20 6d 6f 64 65 2e 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 47 65 74 20 74 68 65 20 | d.mode...............//.Get.the. |
b38e0 | 66 69 72 73 74 20 74 61 62 20 61 6c 6c 20 68 6f 6f 6b 65 64 20 75 70 20 77 69 74 68 20 61 20 74 | first.tab.all.hooked.up.with.a.t |
b3900 | 69 74 6c 65 20 6c 69 73 74 65 6e 65 72 20 61 6e 64 20 70 6f 70 75 70 20 62 6c 6f 63 6b 69 6e 67 | itle.listener.and.popup.blocking |
b3920 | 20 6c 69 73 74 65 6e 65 72 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 43 75 72 | .listener..............this.mCur |
b3940 | 72 65 6e 74 42 72 6f 77 73 65 72 2e 61 64 64 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 28 22 44 4f | rentBrowser.addEventListener("DO |
b3960 | 4d 54 69 74 6c 65 43 68 61 6e 67 65 64 22 2c 20 74 68 69 73 2e 6f 6e 54 69 74 6c 65 43 68 61 6e | MTitleChanged",.this.onTitleChan |
b3980 | 67 65 64 2c 20 74 72 75 65 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 58 55 4c | ged,.true);..............if.(XUL |
b39a0 | 42 72 6f 77 73 65 72 57 69 6e 64 6f 77 2e 69 73 42 75 73 79 29 20 7b 0a 20 20 20 20 20 20 20 20 | BrowserWindow.isBusy).{......... |
b39c0 | 20 20 20 20 20 20 74 68 69 73 2e 6d 43 75 72 72 65 6e 74 54 61 62 2e 73 65 74 41 74 74 72 69 62 | ......this.mCurrentTab.setAttrib |
b39e0 | 75 74 65 28 22 62 75 73 79 22 2c 20 22 74 72 75 65 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 | ute("busy",."true");............ |
b3a00 | 20 20 20 74 68 69 73 2e 6d 49 73 42 75 73 79 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 | ...this.mIsBusy.=.true;......... |
b3a20 | 20 20 20 20 20 20 74 68 69 73 2e 73 65 74 54 61 62 54 69 74 6c 65 4c 6f 61 64 69 6e 67 28 74 68 | ......this.setTabTitleLoading(th |
b3a40 | 69 73 2e 6d 43 75 72 72 65 6e 74 54 61 62 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 | is.mCurrentTab);...............t |
b3a60 | 68 69 73 2e 75 70 64 61 74 65 49 63 6f 6e 28 74 68 69 73 2e 6d 43 75 72 72 65 6e 74 54 61 62 29 | his.updateIcon(this.mCurrentTab) |
b3a80 | 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 20 20 20 | ;.............}.else.{.......... |
b3aa0 | 20 20 20 20 20 74 68 69 73 2e 73 65 74 54 61 62 54 69 74 6c 65 28 74 68 69 73 2e 6d 43 75 72 72 | .....this.setTabTitle(this.mCurr |
b3ac0 | 65 6e 74 54 61 62 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 73 65 74 49 | entTab);...............this.setI |
b3ae0 | 63 6f 6e 28 74 68 69 73 2e 6d 43 75 72 72 65 6e 74 54 61 62 2c 20 74 68 69 73 2e 6d 43 75 72 72 | con(this.mCurrentTab,.this.mCurr |
b3b00 | 65 6e 74 42 72 6f 77 73 65 72 2e 6d 49 63 6f 6e 55 52 4c 29 3b 0a 20 20 20 20 20 20 20 20 20 20 | entBrowser.mIconURL);........... |
b3b20 | 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 66 69 6c 74 65 72 3b 0a 20 20 20 | ..}..............var.filter;.... |
b3b40 | 20 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 6d 54 61 62 46 69 6c 74 65 72 73 2e 6c 65 | .........if.(this.mTabFilters.le |
b3b60 | 6e 67 74 68 20 3e 20 30 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 55 73 65 | ngth.>.0).{...............//.Use |
b3b80 | 20 74 68 65 20 66 69 6c 74 65 72 20 68 6f 6f 6b 65 64 20 75 70 20 69 6e 20 6f 75 72 20 61 64 64 | .the.filter.hooked.up.in.our.add |
b3ba0 | 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 | ProgressListener...............f |
b3bc0 | 69 6c 74 65 72 20 3d 20 74 68 69 73 2e 6d 54 61 62 46 69 6c 74 65 72 73 5b 30 5d 3b 0a 20 20 20 | ilter.=.this.mTabFilters[0];.... |
b3be0 | 20 20 20 20 20 20 20 20 20 7d 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .........}.else.{............... |
b3c00 | 2f 2f 20 63 72 65 61 74 65 20 61 20 66 69 6c 74 65 72 20 61 6e 64 20 68 6f 6f 6b 20 69 74 20 75 | //.create.a.filter.and.hook.it.u |
b3c20 | 70 20 74 6f 20 6f 75 72 20 66 69 72 73 74 20 62 72 6f 77 73 65 72 0a 20 20 20 20 20 20 20 20 20 | p.to.our.first.browser.......... |
b3c40 | 20 20 20 20 20 66 69 6c 74 65 72 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 | .....filter.=.Components.classes |
b3c60 | 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 61 70 70 73 68 65 6c 6c 2f 63 6f 6d 70 6f 6e 65 6e | ["@mozilla.org/appshell/componen |
b3c80 | 74 2f 62 72 6f 77 73 65 72 2d 73 74 61 74 75 73 2d 66 69 6c 74 65 72 3b 31 22 5d 0a 20 20 20 20 | t/browser-status-filter;1"]..... |
b3ca0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 63 72 | ..............................cr |
b3cc0 | 65 61 74 65 49 6e 73 74 61 6e 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 | eateInstance(Components.interfac |
b3ce0 | 65 73 2e 6e 73 49 57 65 62 50 72 6f 67 72 65 73 73 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 | es.nsIWebProgress);............. |
b3d00 | 20 20 74 68 69 73 2e 6d 54 61 62 46 69 6c 74 65 72 73 5b 30 5d 20 3d 20 66 69 6c 74 65 72 3b 0a | ..this.mTabFilters[0].=.filter;. |
b3d20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 43 75 72 72 65 6e 74 42 72 6f 77 73 | ..............this.mCurrentBrows |
b3d40 | 65 72 2e 77 65 62 50 72 6f 67 72 65 73 73 2e 61 64 64 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e | er.webProgress.addProgressListen |
b3d60 | 65 72 28 66 69 6c 74 65 72 2c 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 | er(filter,.Components.interfaces |
b3d80 | 2e 6e 73 49 57 65 62 50 72 6f 67 72 65 73 73 2e 4e 4f 54 49 46 59 5f 41 4c 4c 29 3b 0a 20 20 20 | .nsIWebProgress.NOTIFY_ALL);.... |
b3da0 | 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 52 65 6d 6f 76 | .........}..............//.Remov |
b3dc0 | 65 20 61 6c 6c 20 6f 75 72 20 70 72 6f 67 72 65 73 73 20 6c 69 73 74 65 6e 65 72 73 20 66 72 6f | e.all.our.progress.listeners.fro |
b3de0 | 6d 20 74 68 65 20 61 63 74 69 76 65 20 62 72 6f 77 73 65 72 27 73 20 66 69 6c 74 65 72 2e 0a 20 | m.the.active.browser's.filter... |
b3e00 | 20 20 20 20 20 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 74 | ...........for.(var.i.=.0;.i.<.t |
b3e20 | 68 69 73 2e 6d 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 73 2e 6c 65 6e 67 74 68 3b 20 69 | his.mProgressListeners.length;.i |
b3e40 | 2b 2b 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 70 20 3d 20 74 68 69 73 | ++).{...............var.p.=.this |
b3e60 | 2e 6d 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 73 5b 69 5d 3b 0a 20 20 20 20 20 20 20 20 | .mProgressListeners[i];......... |
b3e80 | 20 20 20 20 20 20 69 66 20 28 70 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 69 6c | ......if.(p).................fil |
b3ea0 | 74 65 72 2e 72 65 6d 6f 76 65 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 28 70 29 3b 0a 20 | ter.removeProgressListener(p);.. |
b3ec0 | 20 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 57 69 72 | ...........}..............//.Wir |
b3ee0 | 65 20 75 70 20 61 20 70 72 6f 67 72 65 73 73 20 6c 69 73 74 65 6e 65 72 20 74 6f 20 6f 75 72 20 | e.up.a.progress.listener.to.our. |
b3f00 | 66 69 6c 74 65 72 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6e 73 74 20 6c 69 73 74 65 6e | filter..............const.listen |
b3f20 | 65 72 20 3d 20 74 68 69 73 2e 6d 54 61 62 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 28 74 | er.=.this.mTabProgressListener(t |
b3f40 | 68 69 73 2e 6d 43 75 72 72 65 6e 74 54 61 62 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | his.mCurrentTab,................ |
b3f60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
b3f80 | 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 43 75 72 72 65 6e 74 42 72 6f 77 73 65 72 2c 0a 20 20 | ........this.mCurrentBrowser,... |
b3fa0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
b3fc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 61 6c 73 65 29 3b 0a 20 20 20 | .....................false);.... |
b3fe0 | 20 20 20 20 20 20 20 20 20 66 69 6c 74 65 72 2e 61 64 64 50 72 6f 67 72 65 73 73 4c 69 73 74 65 | .........filter.addProgressListe |
b4000 | 6e 65 72 28 6c 69 73 74 65 6e 65 72 2c 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 | ner(listener,.Components.interfa |
b4020 | 63 65 73 2e 6e 73 49 57 65 62 50 72 6f 67 72 65 73 73 2e 4e 4f 54 49 46 59 5f 41 4c 4c 29 3b 0a | ces.nsIWebProgress.NOTIFY_ALL);. |
b4040 | 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 54 61 62 4c 69 73 74 65 6e 65 72 73 5b 30 | ............this.mTabListeners[0 |
b4060 | 5d 20 3d 20 6c 69 73 74 65 6e 65 72 3b 0a 20 20 20 20 20 20 20 20 20 20 5d 5d 3e 0a 20 20 20 20 | ].=.listener;...........]]>..... |
b4080 | 20 20 20 20 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 | ....</body>.......</method>..... |
b40a0 | 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 6c 6f 61 64 4f 6e 65 54 61 62 22 3e 0a 20 20 | ...<method.name="loadOneTab">... |
b40c0 | 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 55 52 49 22 2f 3e 0a 20 | ......<parameter.name="aURI"/>.. |
b40e0 | 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 52 65 66 65 72 72 65 | .......<parameter.name="aReferre |
b4100 | 72 55 52 49 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d | rURI"/>.........<parameter.name= |
b4120 | 22 61 43 68 61 72 73 65 74 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 | "aCharset"/>.........<parameter. |
b4140 | 6e 61 6d 65 3d 22 61 50 6f 73 74 44 61 74 61 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 | name="aPostData"/>.........<para |
b4160 | 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 4c 6f 61 64 49 6e 42 61 63 6b 67 72 6f 75 6e 64 22 2f 3e | meter.name="aLoadInBackground"/> |
b4180 | 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 41 6c 6c 6f 77 | .........<parameter.name="aAllow |
b41a0 | 54 68 69 72 64 50 61 72 74 79 46 69 78 75 70 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 | ThirdPartyFixup"/>.........<body |
b41c0 | 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 | >...........<![CDATA[........... |
b41e0 | 20 20 76 61 72 20 62 67 4c 6f 61 64 20 3d 20 28 61 4c 6f 61 64 49 6e 42 61 63 6b 67 72 6f 75 6e | ..var.bgLoad.=.(aLoadInBackgroun |
b4200 | 64 20 21 3d 20 6e 75 6c 6c 29 20 3f 20 61 4c 6f 61 64 49 6e 42 61 63 6b 67 72 6f 75 6e 64 20 3a | d.!=.null).?.aLoadInBackground.: |
b4220 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d | ..........................this.m |
b4240 | 50 72 65 66 73 2e 67 65 74 42 6f 6f 6c 50 72 65 66 28 22 62 72 6f 77 73 65 72 2e 74 61 62 73 2e | Prefs.getBoolPref("browser.tabs. |
b4260 | 6c 6f 61 64 49 6e 42 61 63 6b 67 72 6f 75 6e 64 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 | loadInBackground");............. |
b4280 | 76 61 72 20 6f 77 6e 65 72 20 3d 20 62 67 4c 6f 61 64 20 3f 20 6e 75 6c 6c 20 3a 20 74 68 69 73 | var.owner.=.bgLoad.?.null.:.this |
b42a0 | 2e 73 65 6c 65 63 74 65 64 54 61 62 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 74 61 | .selectedTab;.............var.ta |
b42c0 | 62 20 3d 20 74 68 69 73 2e 61 64 64 54 61 62 28 61 55 52 49 2c 20 61 52 65 66 65 72 72 65 72 55 | b.=.this.addTab(aURI,.aReferrerU |
b42e0 | 52 49 2c 20 61 43 68 61 72 73 65 74 2c 20 61 50 6f 73 74 44 61 74 61 2c 20 6f 77 6e 65 72 2c 0a | RI,.aCharset,.aPostData,.owner,. |
b4300 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
b4320 | 20 20 61 41 6c 6c 6f 77 54 68 69 72 64 50 61 72 74 79 46 69 78 75 70 29 3b 0a 20 20 20 20 20 20 | ..aAllowThirdPartyFixup);....... |
b4340 | 20 20 20 20 20 20 69 66 20 28 21 62 67 4c 6f 61 64 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ......if.(!bgLoad).............. |
b4360 | 20 74 68 69 73 2e 73 65 6c 65 63 74 65 64 54 61 62 20 3d 20 74 61 62 3b 0a 0a 20 20 20 20 20 20 | .this.selectedTab.=.tab;........ |
b4380 | 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 61 62 3b 0a 20 20 20 20 20 20 20 20 20 5d 5d 3e 0a 20 | ......return.tab;..........]]>.. |
b43a0 | 20 20 20 20 20 20 20 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a | .......</body>.......</method>.. |
b43c0 | 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 6c 6f 61 64 54 61 62 73 22 3e 0a 20 | ......<method.name="loadTabs">.. |
b43e0 | 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 55 52 49 73 22 2f 3e | .......<parameter.name="aURIs"/> |
b4400 | 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 4c 6f 61 64 49 | .........<parameter.name="aLoadI |
b4420 | 6e 42 61 63 6b 67 72 6f 75 6e 64 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 | nBackground"/>.........<paramete |
b4440 | 72 20 6e 61 6d 65 3d 22 61 52 65 70 6c 61 63 65 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 | r.name="aReplace"/>.........<bod |
b4460 | 79 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 61 55 52 49 73 | y><![CDATA[...........if.(!aURIs |
b4480 | 2e 6c 65 6e 67 74 68 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 | .length).............return;.... |
b44a0 | 20 20 20 20 20 20 20 20 2f 2f 20 54 68 65 20 74 61 62 20 73 65 6c 65 63 74 65 64 20 61 66 74 65 | ........//.The.tab.selected.afte |
b44c0 | 72 20 74 68 69 73 20 6e 65 77 20 74 61 62 20 69 73 20 63 6c 6f 73 65 64 20 28 69 2e 65 2e 20 74 | r.this.new.tab.is.closed.(i.e..t |
b44e0 | 68 65 20 6e 65 77 20 74 61 62 27 73 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 22 6f 77 6e 65 72 | he.new.tab's...........//."owner |
b4500 | 22 29 20 69 73 20 74 68 65 20 6e 65 78 74 20 61 64 6a 61 63 65 6e 74 20 74 61 62 20 28 69 2e 65 | ").is.the.next.adjacent.tab.(i.e |
b4520 | 2e 20 6e 6f 74 20 74 68 65 20 70 72 65 76 69 6f 75 73 6c 79 20 76 69 65 77 65 64 20 74 61 62 29 | ..not.the.previously.viewed.tab) |
b4540 | 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 77 68 65 6e 20 73 65 76 65 72 61 6c 20 75 72 6c 73 20 | ...........//.when.several.urls. |
b4560 | 61 72 65 20 6f 70 65 6e 65 64 20 68 65 72 65 20 28 69 2e 65 2e 20 63 6c 6f 73 69 6e 67 20 74 68 | are.opened.here.(i.e..closing.th |
b4580 | 65 20 66 69 72 73 74 20 73 68 6f 75 6c 64 20 73 65 6c 65 63 74 0a 20 20 20 20 20 20 20 20 20 20 | e.first.should.select........... |
b45a0 | 2f 2f 20 74 68 65 20 6e 65 78 74 20 6f 66 20 6d 61 6e 79 20 55 52 4c 73 20 6f 70 65 6e 65 64 29 | //.the.next.of.many.URLs.opened) |
b45c0 | 20 6f 72 20 69 66 20 74 68 65 20 70 72 65 66 20 74 6f 20 68 61 76 65 20 55 49 20 6c 69 6e 6b 73 | .or.if.the.pref.to.have.UI.links |
b45e0 | 20 6f 70 65 6e 65 64 20 69 6e 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 74 68 65 20 62 61 63 6b | .opened.in...........//.the.back |
b4600 | 67 72 6f 75 6e 64 20 69 73 20 73 65 74 20 28 69 2e 65 2e 20 74 68 65 20 6c 69 6e 6b 20 69 73 20 | ground.is.set.(i.e..the.link.is. |
b4620 | 6e 6f 74 20 62 65 69 6e 67 20 6f 70 65 6e 65 64 20 6d 6f 64 61 6c 6c 79 29 0a 20 20 20 20 20 20 | not.being.opened.modally)....... |
b4640 | 20 20 20 20 2f 2f 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 69 2e 65 2e 0a 20 20 20 20 20 20 20 | ....//...........//.i.e......... |
b4660 | 20 20 20 2f 2f 20 20 20 20 4e 75 6d 62 65 72 20 6f 66 20 55 52 4c 73 20 20 20 20 4c 6f 61 64 20 | ...//....Number.of.URLs....Load. |
b4680 | 55 49 20 4c 69 6e 6b 73 20 69 6e 20 42 47 20 20 20 20 20 20 20 46 6f 63 75 73 20 4c 61 73 74 20 | UI.Links.in.BG.......Focus.Last. |
b46a0 | 56 69 65 77 65 64 3f 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 20 20 20 3d 3d 20 31 20 20 20 20 | Viewed?...........//....==.1.... |
b46c0 | 20 20 20 20 20 20 20 20 20 20 66 61 6c 73 65 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ..........false................. |
b46e0 | 20 20 20 20 59 45 53 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 20 20 20 3d 3d 20 31 20 20 20 20 | ....YES...........//....==.1.... |
b4700 | 20 20 20 20 20 20 20 20 20 20 74 72 75 65 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ..........true.................. |
b4720 | 20 20 20 20 4e 4f 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 20 20 20 3e 20 31 20 20 20 20 20 20 | ....NO...........//....>.1...... |
b4740 | 20 20 20 20 20 20 20 20 20 66 61 6c 73 65 2f 74 72 75 65 20 20 20 20 20 20 20 20 20 20 20 20 20 | .........false/true............. |
b4760 | 20 20 20 4e 4f 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 6f 77 6e 65 72 20 3d 20 28 61 55 52 | ...NO...........var.owner.=.(aUR |
b4780 | 49 73 2e 6c 65 6e 67 74 68 20 3e 20 31 29 20 7c 7c 20 61 4c 6f 61 64 49 6e 42 61 63 6b 67 72 6f | Is.length.>.1).||.aLoadInBackgro |
b47a0 | 75 6e 64 20 3f 20 6e 75 6c 6c 20 3a 20 74 68 69 73 2e 73 65 6c 65 63 74 65 64 54 61 62 3b 0a 20 | und.?.null.:.this.selectedTab;.. |
b47c0 | 20 20 20 20 20 20 20 20 20 76 61 72 20 66 69 72 73 74 54 61 62 41 64 64 65 64 20 3d 20 6e 75 6c | .........var.firstTabAdded.=.nul |
b47e0 | 6c 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 61 52 65 70 6c 61 63 65 29 20 7b 0a 20 20 | l;............if.(aReplace).{... |
b4800 | 20 20 20 20 20 20 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 | ..........try.{...............th |
b4820 | 69 73 2e 6c 6f 61 64 55 52 49 28 61 55 52 49 73 5b 30 5d 2c 20 6e 75 6c 6c 2c 20 6e 75 6c 6c 29 | is.loadURI(aURIs[0],.null,.null) |
b4840 | 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 20 63 61 74 63 68 20 28 65 29 20 7b 0a 20 20 20 20 | ;.............}.catch.(e).{..... |
b4860 | 20 20 20 20 20 20 20 20 20 20 2f 2f 20 49 67 6e 6f 72 65 20 66 61 69 6c 75 72 65 20 69 6e 20 63 | ..........//.Ignore.failure.in.c |
b4880 | 61 73 65 20 61 20 55 52 49 20 69 73 20 77 72 6f 6e 67 2c 20 73 6f 20 77 65 20 63 61 6e 20 63 6f | ase.a.URI.is.wrong,.so.we.can.co |
b48a0 | 6e 74 69 6e 75 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 6f 70 65 6e 69 6e 67 20 | ntinue...............//.opening. |
b48c0 | 74 68 65 20 6e 65 78 74 20 6f 6e 65 73 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 | the.next.ones..............}.... |
b48e0 | 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 20 20 | .......}...........else......... |
b4900 | 20 20 20 20 66 69 72 73 74 54 61 62 41 64 64 65 64 20 3d 20 74 68 69 73 2e 61 64 64 54 61 62 28 | ....firstTabAdded.=.this.addTab( |
b4920 | 61 55 52 49 73 5b 30 5d 2c 20 6e 75 6c 6c 2c 20 6e 75 6c 6c 2c 20 6e 75 6c 6c 2c 20 6f 77 6e 65 | aURIs[0],.null,.null,.null,.owne |
b4940 | 72 2c 20 66 61 6c 73 65 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 74 61 62 4e 75 6d | r,.false);............var.tabNum |
b4960 | 20 3d 20 74 68 69 73 2e 6d 54 61 62 43 6f 6e 74 61 69 6e 65 72 2e 73 65 6c 65 63 74 65 64 49 6e | .=.this.mTabContainer.selectedIn |
b4980 | 64 65 78 3b 0a 20 20 20 20 20 20 20 20 20 20 66 6f 72 20 28 6c 65 74 20 69 20 3d 20 31 3b 20 69 | dex;...........for.(let.i.=.1;.i |
b49a0 | 20 3c 20 61 55 52 49 73 2e 6c 65 6e 67 74 68 3b 20 2b 2b 69 29 20 7b 0a 20 20 20 20 20 20 20 20 | .<.aURIs.length;.++i).{......... |
b49c0 | 20 20 20 20 6c 65 74 20 74 61 62 20 3d 20 74 68 69 73 2e 61 64 64 54 61 62 28 61 55 52 49 73 5b | ....let.tab.=.this.addTab(aURIs[ |
b49e0 | 69 5d 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 61 52 65 70 6c 61 63 65 29 0a 20 | i]);.............if.(aReplace).. |
b4a00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 6f 76 65 54 61 62 54 6f 28 74 61 62 2c | .............this.moveTabTo(tab, |
b4a20 | 20 2b 2b 74 61 62 4e 75 6d 29 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 | .++tabNum);...........}......... |
b4a40 | 20 20 20 69 66 20 28 21 61 4c 6f 61 64 49 6e 42 61 63 6b 67 72 6f 75 6e 64 29 20 7b 0a 20 20 20 | ...if.(!aLoadInBackground).{.... |
b4a60 | 20 20 20 20 20 20 20 20 20 69 66 20 28 66 69 72 73 74 54 61 62 41 64 64 65 64 29 20 7b 0a 20 20 | .........if.(firstTabAdded).{... |
b4a80 | 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 2e 73 65 6c 65 63 74 65 64 54 61 62 20 73 65 74 74 | ............//..selectedTab.sett |
b4aa0 | 65 72 20 66 6f 63 75 73 65 73 20 74 68 65 20 63 6f 6e 74 65 6e 74 20 61 72 65 61 0a 20 20 20 20 | er.focuses.the.content.area..... |
b4ac0 | 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 73 65 6c 65 63 74 65 64 54 61 62 20 3d 20 66 69 72 | ..........this.selectedTab.=.fir |
b4ae0 | 73 74 54 61 62 41 64 64 65 64 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 | stTabAdded;.............}....... |
b4b00 | 20 20 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 77 69 6e 64 6f 77 2e | ......else...............window. |
b4b20 | 63 6f 6e 74 65 6e 74 2e 66 6f 63 75 73 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 | content.focus();...........}.... |
b4b40 | 20 20 20 20 20 5d 5d 3e 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a | .....]]></body>.......</method>. |
b4b60 | 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 61 64 64 54 61 62 22 3e 0a 20 20 | .......<method.name="addTab">... |
b4b80 | 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 55 52 49 22 2f 3e 0a 20 | ......<parameter.name="aURI"/>.. |
b4ba0 | 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 52 65 66 65 72 72 65 | .......<parameter.name="aReferre |
b4bc0 | 72 55 52 49 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d | rURI"/>.........<parameter.name= |
b4be0 | 22 61 43 68 61 72 73 65 74 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 | "aCharset"/>.........<parameter. |
b4c00 | 6e 61 6d 65 3d 22 61 50 6f 73 74 44 61 74 61 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 | name="aPostData"/>.........<para |
b4c20 | 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 4f 77 6e 65 72 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 70 | meter.name="aOwner"/>.........<p |
b4c40 | 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 41 6c 6c 6f 77 54 68 69 72 64 50 61 72 74 79 46 | arameter.name="aAllowThirdPartyF |
b4c60 | 69 78 75 70 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 0a 20 20 20 20 20 20 20 20 20 | ixup"/>.........<body>.......... |
b4c80 | 20 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 62 72 6f | .<![CDATA[.............this._bro |
b4ca0 | 77 73 65 72 73 20 3d 20 6e 75 6c 6c 3b 20 2f 2f 20 69 6e 76 61 6c 69 64 61 74 65 20 63 61 63 68 | wsers.=.null;.//.invalidate.cach |
b4cc0 | 65 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 74 68 69 73 2e 6d 54 61 62 62 65 64 | e..............if.(!this.mTabbed |
b4ce0 | 4d 6f 64 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 65 6e 74 65 72 54 61 | Mode)...............this.enterTa |
b4d00 | 62 62 65 64 4d 6f 64 65 28 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 69 66 20 77 | bbedMode();..............//.if.w |
b4d20 | 65 27 72 65 20 61 64 64 69 6e 67 20 74 61 62 73 2c 20 77 65 27 72 65 20 70 61 73 74 20 69 6e 74 | e're.adding.tabs,.we're.past.int |
b4d40 | 65 72 72 75 70 74 20 6d 6f 64 65 2c 20 64 69 74 63 68 20 74 68 65 20 6f 77 6e 65 72 0a 20 20 20 | errupt.mode,.ditch.the.owner.... |
b4d60 | 20 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 6d 43 75 72 72 65 6e 74 54 61 62 2e 6f 77 | .........if.(this.mCurrentTab.ow |
b4d80 | 6e 65 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 43 75 72 72 65 6e 74 | ner)...............this.mCurrent |
b4da0 | 54 61 62 2e 6f 77 6e 65 72 20 3d 20 6e 75 6c 6c 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 | Tab.owner.=.null;..............v |
b4dc0 | 61 72 20 74 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 63 72 65 61 74 65 45 6c 65 6d 65 6e 74 4e 53 28 | ar.t.=.document.createElementNS( |
b4de0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c | ..............."http://www.mozil |
b4e00 | 6c 61 2e 6f 72 67 2f 6b 65 79 6d 61 73 74 65 72 2f 67 61 74 65 6b 65 65 70 65 72 2f 74 68 65 72 | la.org/keymaster/gatekeeper/ther |
b4e20 | 65 2e 69 73 2e 6f 6e 6c 79 2e 78 75 6c 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | e.is.only.xul",................. |
b4e40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 74 61 | ............................."ta |
b4e60 | 62 22 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 62 6c 61 6e 6b 20 3d 20 28 61 | b");..............var.blank.=.(a |
b4e80 | 55 52 49 20 3d 3d 20 22 61 62 6f 75 74 3a 62 6c 61 6e 6b 22 29 3b 0a 0a 20 20 20 20 20 20 20 20 | URI.==."about:blank");.......... |
b4ea0 | 20 20 20 20 69 66 20 28 62 6c 61 6e 6b 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 2e 73 | ....if.(blank)...............t.s |
b4ec0 | 65 74 41 74 74 72 69 62 75 74 65 28 22 6c 61 62 65 6c 22 2c 20 74 68 69 73 2e 6d 53 74 72 69 6e | etAttribute("label",.this.mStrin |
b4ee0 | 67 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 74 61 62 73 2e 75 6e 74 69 74 6c 65 64 | gBundle.getString("tabs.untitled |
b4f00 | 22 29 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 20 20 20 20 | "));.............else........... |
b4f20 | 20 20 20 20 74 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 6c 61 62 65 6c 22 2c 20 61 55 52 49 | ....t.setAttribute("label",.aURI |
b4f40 | 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 | );..............t.setAttribute(" |
b4f60 | 63 72 6f 70 22 2c 20 22 65 6e 64 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 2e 6d 61 78 | crop",."end");.............t.max |
b4f80 | 57 69 64 74 68 20 3d 20 74 68 69 73 2e 6d 54 61 62 43 6f 6e 74 61 69 6e 65 72 2e 6d 54 61 62 4d | Width.=.this.mTabContainer.mTabM |
b4fa0 | 61 78 57 69 64 74 68 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 2e 6d 69 6e 57 69 64 74 68 20 | axWidth;.............t.minWidth. |
b4fc0 | 3d 20 74 68 69 73 2e 6d 54 61 62 43 6f 6e 74 61 69 6e 65 72 2e 6d 54 61 62 4d 69 6e 57 69 64 74 | =.this.mTabContainer.mTabMinWidt |
b4fe0 | 68 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 2e 77 69 64 74 68 20 3d 20 30 3b 0a 20 20 20 20 | h;.............t.width.=.0;..... |
b5000 | 20 20 20 20 20 20 20 20 74 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 66 6c 65 78 22 2c 20 22 | ........t.setAttribute("flex",." |
b5020 | 31 30 30 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 2e 73 65 74 41 74 74 72 69 62 75 74 | 100");.............t.setAttribut |
b5040 | 65 28 22 76 61 6c 69 64 61 74 65 22 2c 20 22 6e 65 76 65 72 22 29 3b 0a 20 20 20 20 20 20 20 20 | e("validate",."never");......... |
b5060 | 20 20 20 20 74 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 6f 6e 65 72 72 6f 72 22 2c 20 22 74 | ....t.setAttribute("onerror",."t |
b5080 | 68 69 73 2e 72 65 6d 6f 76 65 41 74 74 72 69 62 75 74 65 28 27 69 6d 61 67 65 27 29 3b 22 29 3b | his.removeAttribute('image');"); |
b50a0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 2e 63 6c 61 73 73 4e 61 6d 65 20 3d 20 22 74 61 62 62 | .............t.className.=."tabb |
b50c0 | 72 6f 77 73 65 72 2d 74 61 62 22 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d | rowser-tab";..............this.m |
b50e0 | 54 61 62 43 6f 6e 74 61 69 6e 65 72 2e 61 70 70 65 6e 64 43 68 69 6c 64 28 74 29 3b 0a 0a 20 20 | TabContainer.appendChild(t);.... |
b5100 | 20 20 20 20 20 20 20 20 20 20 69 66 20 28 64 6f 63 75 6d 65 6e 74 2e 64 65 66 61 75 6c 74 56 69 | ..........if.(document.defaultVi |
b5120 | 65 77 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 43 | ew..........................getC |
b5140 | 6f 6d 70 75 74 65 64 53 74 79 6c 65 28 74 68 69 73 2e 6d 54 61 62 43 6f 6e 74 61 69 6e 65 72 2c | omputedStyle(this.mTabContainer, |
b5160 | 20 22 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 64 69 | ."")..........................di |
b5180 | 72 65 63 74 69 6f 6e 20 3d 3d 20 22 72 74 6c 22 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 | rection.==."rtl").{............. |
b51a0 | 20 20 2f 2a 20 49 6e 20 52 54 4c 20 55 49 2c 20 74 68 65 20 74 61 62 20 69 73 20 76 69 73 75 61 | ../*.In.RTL.UI,.the.tab.is.visua |
b51c0 | 6c 6c 79 20 61 64 64 65 64 20 74 6f 20 74 68 65 20 6c 65 66 74 20 73 69 64 65 20 6f 66 20 74 68 | lly.added.to.the.left.side.of.th |
b51e0 | 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2a 20 74 61 62 73 74 72 69 70 2e 20 54 68 69 | e................*.tabstrip..Thi |
b5200 | 73 20 6d 65 61 6e 73 20 74 68 65 20 74 61 62 73 74 69 70 20 68 61 73 20 74 6f 20 62 65 20 73 63 | s.means.the.tabstip.has.to.be.sc |
b5220 | 72 6f 6c 6c 65 64 20 62 61 63 6b 20 69 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2a 20 | rolled.back.in................*. |
b5240 | 6f 72 64 65 72 20 74 6f 20 6d 61 6b 65 20 73 75 72 65 20 74 68 65 20 73 61 6d 65 20 73 65 74 20 | order.to.make.sure.the.same.set. |
b5260 | 6f 66 20 74 61 62 73 20 69 73 20 76 69 73 69 62 6c 65 20 62 65 66 6f 72 65 20 61 6e 64 0a 20 20 | of.tabs.is.visible.before.and... |
b5280 | 20 20 20 20 20 20 20 20 20 20 20 20 20 2a 20 61 66 74 65 72 20 74 68 65 20 6e 65 77 20 74 61 62 | .............*.after.the.new.tab |
b52a0 | 20 69 73 20 61 64 64 65 64 20 2a 2f 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 | .is.added.*/................this |
b52c0 | 2e 6d 54 61 62 43 6f 6e 74 61 69 6e 65 72 2e 6d 54 61 62 73 74 72 69 70 2e 73 63 72 6f 6c 6c 42 | .mTabContainer.mTabstrip.scrollB |
b52e0 | 6f 78 4f 62 6a 65 63 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 73 63 72 6f | oxObject....................scro |
b5300 | 6c 6c 42 79 28 74 68 69 73 2e 6d 54 61 62 43 6f 6e 74 61 69 6e 65 72 2e 66 69 72 73 74 43 68 69 | llBy(this.mTabContainer.firstChi |
b5320 | 6c 64 2e 62 6f 78 4f 62 6a 65 63 74 2e 77 69 64 74 68 2c 20 30 29 3b 0a 20 20 20 20 20 20 20 20 | ld.boxObject.width,.0);......... |
b5340 | 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 69 6e 76 61 6c 69 64 61 74 65 | ....}..............//.invalidate |
b5360 | 20 63 61 63 68 65 2c 20 62 65 63 61 75 73 65 20 6d 54 61 62 43 6f 6e 74 61 69 6e 65 72 20 69 73 | .cache,.because.mTabContainer.is |
b5380 | 20 61 62 6f 75 74 20 74 6f 20 63 68 61 6e 67 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 | .about.to.change.............thi |
b53a0 | 73 2e 5f 62 72 6f 77 73 65 72 73 20 3d 20 6e 75 6c 6c 3b 20 0a 0a 20 20 20 20 20 20 20 20 20 20 | s._browsers.=.null;............. |
b53c0 | 20 20 2f 2f 20 49 66 20 74 68 69 73 20 6e 65 77 20 74 61 62 20 69 73 20 6f 77 6e 65 64 20 62 79 | ..//.If.this.new.tab.is.owned.by |
b53e0 | 20 61 6e 6f 74 68 65 72 2c 20 61 73 73 65 72 74 20 74 68 61 74 20 72 65 6c 61 74 69 6f 6e 73 68 | .another,.assert.that.relationsh |
b5400 | 69 70 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 61 4f 77 6e 65 72 29 0a 20 20 20 20 20 | ip.............if.(aOwner)...... |
b5420 | 20 20 20 20 20 20 20 20 20 74 2e 6f 77 6e 65 72 20 3d 20 61 4f 77 6e 65 72 3b 0a 0a 20 20 20 20 | .........t.owner.=.aOwner;...... |
b5440 | 20 20 20 20 20 20 20 20 76 61 72 20 62 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 63 72 65 61 74 65 45 | ........var.b.=.document.createE |
b5460 | 6c 65 6d 65 6e 74 4e 53 28 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 68 74 74 70 3a 2f 2f | lementNS(..............."http:// |
b5480 | 77 77 77 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6b 65 79 6d 61 73 74 65 72 2f 67 61 74 65 6b 65 | www.mozilla.org/keymaster/gateke |
b54a0 | 65 70 65 72 2f 74 68 65 72 65 2e 69 73 2e 6f 6e 6c 79 2e 78 75 6c 22 2c 0a 20 20 20 20 20 20 20 | eper/there.is.only.xul",........ |
b54c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
b54e0 | 20 20 20 20 20 20 22 62 72 6f 77 73 65 72 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 62 2e | ......"browser");.............b. |
b5500 | 73 65 74 41 74 74 72 69 62 75 74 65 28 22 74 79 70 65 22 2c 20 22 63 6f 6e 74 65 6e 74 2d 74 61 | setAttribute("type",."content-ta |
b5520 | 72 67 65 74 61 62 6c 65 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 62 2e 73 65 74 41 74 74 | rgetable");.............b.setAtt |
b5540 | 72 69 62 75 74 65 28 22 6d 65 73 73 61 67 65 22 2c 20 22 74 72 75 65 22 29 3b 0a 20 20 20 20 20 | ribute("message",."true");...... |
b5560 | 20 20 20 20 20 20 20 62 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 63 6f 6e 74 65 78 74 6d 65 | .......b.setAttribute("contextme |
b5580 | 6e 75 22 2c 20 74 68 69 73 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 63 6f 6e 74 65 6e 74 63 | nu",.this.getAttribute("contentc |
b55a0 | 6f 6e 74 65 78 74 6d 65 6e 75 22 29 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 62 2e 73 65 74 | ontextmenu"));.............b.set |
b55c0 | 41 74 74 72 69 62 75 74 65 28 22 74 6f 6f 6c 74 69 70 22 2c 20 74 68 69 73 2e 67 65 74 41 74 74 | Attribute("tooltip",.this.getAtt |
b55e0 | 72 69 62 75 74 65 28 22 63 6f 6e 74 65 6e 74 74 6f 6f 6c 74 69 70 22 29 29 3b 0a 20 20 20 20 20 | ribute("contenttooltip"));...... |
b5600 | 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 68 61 73 41 74 74 72 69 62 75 74 65 28 22 61 75 | .......if.(this.hasAttribute("au |
b5620 | 74 6f 63 6f 6d 70 6c 65 74 65 70 6f 70 75 70 22 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | tocompletepopup")).............. |
b5640 | 20 62 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 61 75 74 6f 63 6f 6d 70 6c 65 74 65 70 6f 70 | .b.setAttribute("autocompletepop |
b5660 | 75 70 22 2c 20 74 68 69 73 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 61 75 74 6f 63 6f 6d 70 | up",.this.getAttribute("autocomp |
b5680 | 6c 65 74 65 70 6f 70 75 70 22 29 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 62 2e 73 65 74 41 | letepopup"));.............b.setA |
b56a0 | 74 74 72 69 62 75 74 65 28 22 61 75 74 6f 73 63 72 6f 6c 6c 70 6f 70 75 70 22 2c 20 74 68 69 73 | ttribute("autoscrollpopup",.this |
b56c0 | 2e 5f 61 75 74 6f 53 63 72 6f 6c 6c 50 6f 70 75 70 2e 69 64 29 3b 0a 0a 20 20 20 20 20 20 20 20 | ._autoScrollPopup.id);.......... |
b56e0 | 20 20 20 20 2f 2f 20 41 64 64 20 74 68 65 20 4d 65 73 73 61 67 65 20 61 6e 64 20 74 68 65 20 42 | ....//.Add.the.Message.and.the.B |
b5700 | 72 6f 77 73 65 72 20 74 6f 20 74 68 65 20 62 6f 78 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 | rowser.to.the.box.............va |
b5720 | 72 20 6e 6f 74 69 66 69 63 61 74 69 6f 6e 62 6f 78 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 63 72 65 | r.notificationbox.=.document.cre |
b5740 | 61 74 65 45 6c 65 6d 65 6e 74 4e 53 28 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ateElementNS(................... |
b5760 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f | .................."http://www.mo |
b5780 | 7a 69 6c 6c 61 2e 6f 72 67 2f 6b 65 79 6d 61 73 74 65 72 2f 67 61 74 65 6b 65 65 70 65 72 2f 74 | zilla.org/keymaster/gatekeeper/t |
b57a0 | 68 65 72 65 2e 69 73 2e 6f 6e 6c 79 2e 78 75 6c 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | here.is.only.xul",.............. |
b57c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 6e 6f 74 69 66 69 63 61 | ......................."notifica |
b57e0 | 74 69 6f 6e 62 6f 78 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 6e 6f 74 69 66 69 63 61 74 | tionbox");.............notificat |
b5800 | 69 6f 6e 62 6f 78 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 66 6c 65 78 22 2c 20 22 31 22 29 | ionbox.setAttribute("flex",."1") |
b5820 | 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 6e 6f 74 69 66 69 63 61 74 69 6f 6e 62 6f 78 2e 61 70 | ;.............notificationbox.ap |
b5840 | 70 65 6e 64 43 68 69 6c 64 28 62 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 62 2e 73 65 74 41 | pendChild(b);.............b.setA |
b5860 | 74 74 72 69 62 75 74 65 28 22 66 6c 65 78 22 2c 20 22 31 22 29 3b 0a 20 20 20 20 20 20 20 20 20 | ttribute("flex",."1");.......... |
b5880 | 20 20 20 74 68 69 73 2e 6d 50 61 6e 65 6c 43 6f 6e 74 61 69 6e 65 72 2e 61 70 70 65 6e 64 43 68 | ...this.mPanelContainer.appendCh |
b58a0 | 69 6c 64 28 6e 6f 74 69 66 69 63 61 74 69 6f 6e 62 6f 78 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 | ild(notificationbox);........... |
b58c0 | 20 20 20 62 2e 61 64 64 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 28 22 44 4f 4d 54 69 74 6c 65 43 | ...b.addEventListener("DOMTitleC |
b58e0 | 68 61 6e 67 65 64 22 2c 20 74 68 69 73 2e 6f 6e 54 69 74 6c 65 43 68 61 6e 67 65 64 2c 20 74 72 | hanged",.this.onTitleChanged,.tr |
b5900 | 75 65 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 6d 53 74 72 69 | ue);..............if.(this.mStri |
b5920 | 70 2e 63 6f 6c 6c 61 70 73 65 64 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e | p.collapsed)...............this. |
b5940 | 73 65 74 53 74 72 69 70 56 69 73 69 62 69 6c 69 74 79 54 6f 28 74 72 75 65 29 3b 0a 0a 20 20 20 | setStripVisibilityTo(true);..... |
b5960 | 20 20 20 20 20 20 20 20 20 2f 2f 20 77 69 72 65 20 75 70 20 61 20 70 72 6f 67 72 65 73 73 20 6c | .........//.wire.up.a.progress.l |
b5980 | 69 73 74 65 6e 65 72 20 66 6f 72 20 74 68 65 20 6e 65 77 20 62 72 6f 77 73 65 72 20 6f 62 6a 65 | istener.for.the.new.browser.obje |
b59a0 | 63 74 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 70 6f 73 69 74 69 6f 6e 20 3d 20 74 | ct..............var.position.=.t |
b59c0 | 68 69 73 2e 6d 54 61 62 43 6f 6e 74 61 69 6e 65 72 2e 63 68 69 6c 64 4e 6f 64 65 73 2e 6c 65 6e | his.mTabContainer.childNodes.len |
b59e0 | 67 74 68 2d 31 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 74 61 62 4c 69 73 74 65 6e | gth-1;.............var.tabListen |
b5a00 | 65 72 20 3d 20 74 68 69 73 2e 6d 54 61 62 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 28 74 | er.=.this.mTabProgressListener(t |
b5a20 | 2c 20 62 2c 20 62 6c 61 6e 6b 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6e 73 74 20 66 | ,.b,.blank);.............const.f |
b5a40 | 69 6c 74 65 72 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a | ilter.=.Components.classes["@moz |
b5a60 | 69 6c 6c 61 2e 6f 72 67 2f 61 70 70 73 68 65 6c 6c 2f 63 6f 6d 70 6f 6e 65 6e 74 2f 62 72 6f 77 | illa.org/appshell/component/brow |
b5a80 | 73 65 72 2d 73 74 61 74 75 73 2d 66 69 6c 74 65 72 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 | ser-status-filter;1"]........... |
b5aa0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 63 72 65 61 | ............................crea |
b5ac0 | 74 65 49 6e 73 74 61 6e 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 | teInstance(Components.interfaces |
b5ae0 | 2e 6e 73 49 57 65 62 50 72 6f 67 72 65 73 73 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 66 69 | .nsIWebProgress);.............fi |
b5b00 | 6c 74 65 72 2e 61 64 64 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 28 74 61 62 4c 69 73 74 | lter.addProgressListener(tabList |
b5b20 | 65 6e 65 72 2c 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 57 | ener,.Components.interfaces.nsIW |
b5b40 | 65 62 50 72 6f 67 72 65 73 73 2e 4e 4f 54 49 46 59 5f 41 4c 4c 29 3b 0a 20 20 20 20 20 20 20 20 | ebProgress.NOTIFY_ALL);......... |
b5b60 | 20 20 20 20 62 2e 77 65 62 50 72 6f 67 72 65 73 73 2e 61 64 64 50 72 6f 67 72 65 73 73 4c 69 73 | ....b.webProgress.addProgressLis |
b5b80 | 74 65 6e 65 72 28 66 69 6c 74 65 72 2c 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 | tener(filter,.Components.interfa |
b5ba0 | 63 65 73 2e 6e 73 49 57 65 62 50 72 6f 67 72 65 73 73 2e 4e 4f 54 49 46 59 5f 41 4c 4c 29 3b 0a | ces.nsIWebProgress.NOTIFY_ALL);. |
b5bc0 | 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 54 61 62 4c 69 73 74 65 6e 65 72 73 5b 70 | ............this.mTabListeners[p |
b5be0 | 6f 73 69 74 69 6f 6e 5d 20 3d 20 74 61 62 4c 69 73 74 65 6e 65 72 3b 0a 20 20 20 20 20 20 20 20 | osition].=.tabListener;......... |
b5c00 | 20 20 20 20 74 68 69 73 2e 6d 54 61 62 46 69 6c 74 65 72 73 5b 70 6f 73 69 74 69 6f 6e 5d 20 3d | ....this.mTabFilters[position].= |
b5c20 | 20 66 69 6c 74 65 72 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 62 2e 5f 66 61 73 74 46 69 6e | .filter;..............b._fastFin |
b5c40 | 64 20 3d 20 74 68 69 73 2e 66 61 73 74 46 69 6e 64 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 | d.=.this.fastFind;.............. |
b5c60 | 76 61 72 20 75 6e 69 71 75 65 49 64 20 3d 20 22 70 61 6e 65 6c 22 20 2b 20 44 61 74 65 2e 6e 6f | var.uniqueId.=."panel".+.Date.no |
b5c80 | 77 28 29 20 2b 20 70 6f 73 69 74 69 6f 6e 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 | w().+.position;.............this |
b5ca0 | 2e 6d 50 61 6e 65 6c 43 6f 6e 74 61 69 6e 65 72 2e 6c 61 73 74 43 68 69 6c 64 2e 69 64 20 3d 20 | .mPanelContainer.lastChild.id.=. |
b5cc0 | 75 6e 69 71 75 65 49 64 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 2e 6c 69 6e 6b 65 64 50 61 | uniqueId;.............t.linkedPa |
b5ce0 | 6e 65 6c 20 3d 20 75 6e 69 71 75 65 49 64 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 2e 6c 69 | nel.=.uniqueId;.............t.li |
b5d00 | 6e 6b 65 64 42 72 6f 77 73 65 72 20 3d 20 62 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 2e 5f | nkedBrowser.=.b;.............t._ |
b5d20 | 74 50 6f 73 20 3d 20 70 6f 73 69 74 69 6f 6e 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 | tPos.=.position;.............if. |
b5d40 | 28 74 2e 70 72 65 76 69 6f 75 73 53 69 62 6c 69 6e 67 2e 73 65 6c 65 63 74 65 64 29 0a 20 20 20 | (t.previousSibling.selected).... |
b5d60 | 20 20 20 20 20 20 20 20 20 20 20 74 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 61 66 74 65 72 | ...........t.setAttribute("after |
b5d80 | 73 65 6c 65 63 74 65 64 22 2c 20 74 72 75 65 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 | selected",.true);..............i |
b5da0 | 66 20 28 21 62 6c 61 6e 6b 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 53 74 | f.(!blank).{...............//.St |
b5dc0 | 6f 70 20 74 68 65 20 65 78 69 73 74 69 6e 67 20 61 62 6f 75 74 3a 62 6c 61 6e 6b 20 6c 6f 61 64 | op.the.existing.about:blank.load |
b5de0 | 2e 20 20 4f 74 68 65 72 77 69 73 65 2c 20 69 66 20 61 55 52 49 0a 20 20 20 20 20 20 20 20 20 20 | ...Otherwise,.if.aURI........... |
b5e00 | 20 20 20 20 2f 2f 20 64 6f 65 73 6e 27 74 20 73 74 6f 70 20 69 6e 2d 70 72 6f 67 72 65 73 73 20 | ....//.doesn't.stop.in-progress. |
b5e20 | 6c 6f 61 64 73 20 6f 6e 20 69 74 73 20 6f 77 6e 2c 20 77 65 27 6c 6c 20 67 65 74 20 69 6e 74 6f | loads.on.its.own,.we'll.get.into |
b5e40 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 74 72 6f 75 62 6c 65 20 77 69 74 68 20 6d | ...............//.trouble.with.m |
b5e60 | 75 6c 74 69 70 6c 65 20 70 61 72 61 6c 6c 65 6c 20 6c 6f 61 64 73 20 72 75 6e 6e 69 6e 67 20 61 | ultiple.parallel.loads.running.a |
b5e80 | 74 20 6f 6e 63 65 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 2e 73 74 6f 70 28 29 3b 0a | t.once................b.stop();. |
b5ea0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 70 72 65 74 65 6e 64 20 74 68 65 20 75 73 | ...............//.pretend.the.us |
b5ec0 | 65 72 20 74 79 70 65 64 20 74 68 69 73 20 73 6f 20 69 74 27 6c 6c 20 62 65 20 61 76 61 69 6c 61 | er.typed.this.so.it'll.be.availa |
b5ee0 | 62 6c 65 20 74 69 6c 6c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 74 68 65 20 64 6f | ble.till...............//.the.do |
b5f00 | 63 75 6d 65 6e 74 20 73 75 63 63 65 73 73 66 75 6c 6c 79 20 6c 6f 61 64 73 0a 20 20 20 20 20 20 | cument.successfully.loads....... |
b5f20 | 20 20 20 20 20 20 20 20 62 2e 75 73 65 72 54 79 70 65 64 56 61 6c 75 65 20 3d 20 61 55 52 49 3b | ........b.userTypedValue.=.aURI; |
b5f40 | 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 61 50 6f 73 74 44 61 74 61 20 3d 3d | ................if.(aPostData.== |
b5f60 | 3d 20 75 6e 64 65 66 69 6e 65 64 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 50 6f | =.undefined).................aPo |
b5f80 | 73 74 44 61 74 61 20 3d 20 6e 75 6c 6c 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6e | stData.=.null;...............con |
b5fa0 | 73 74 20 6e 73 49 57 65 62 4e 61 76 69 67 61 74 69 6f 6e 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 | st.nsIWebNavigation.=.Components |
b5fc0 | 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 57 65 62 4e 61 76 69 67 61 74 69 6f 6e 3b 0a 20 20 | .interfaces.nsIWebNavigation;... |
b5fe0 | 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 66 6c 61 67 73 20 3d 20 6e 73 49 57 65 62 4e 61 | ............var.flags.=.nsIWebNa |
b6000 | 76 69 67 61 74 69 6f 6e 2e 4c 4f 41 44 5f 46 4c 41 47 53 5f 4e 4f 4e 45 3b 0a 20 20 20 20 20 20 | vigation.LOAD_FLAGS_NONE;....... |
b6020 | 20 20 20 20 20 20 20 20 69 66 20 28 61 41 6c 6c 6f 77 54 68 69 72 64 50 61 72 74 79 46 69 78 75 | ........if.(aAllowThirdPartyFixu |
b6040 | 70 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 6c 61 67 73 20 3d 20 6e 73 49 | p).{.................flags.=.nsI |
b6060 | 57 65 62 4e 61 76 69 67 61 74 69 6f 6e 2e 4c 4f 41 44 5f 46 4c 41 47 53 5f 41 4c 4c 4f 57 5f 54 | WebNavigation.LOAD_FLAGS_ALLOW_T |
b6080 | 48 49 52 44 5f 50 41 52 54 59 5f 46 49 58 55 50 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | HIRD_PARTY_FIXUP;............... |
b60a0 | 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 20 20 20 20 | }...............try.{........... |
b60c0 | 20 20 20 20 20 20 62 2e 6c 6f 61 64 55 52 49 57 69 74 68 46 6c 61 67 73 28 61 55 52 49 2c 20 66 | ......b.loadURIWithFlags(aURI,.f |
b60e0 | 6c 61 67 73 2c 20 61 52 65 66 65 72 72 65 72 55 52 49 2c 20 61 43 68 61 72 73 65 74 2c 20 61 50 | lags,.aReferrerURI,.aCharset,.aP |
b6100 | 6f 73 74 44 61 74 61 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 | ostData);...............}....... |
b6120 | 20 20 20 20 20 20 20 20 63 61 74 63 68 20 28 65 78 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 | ........catch.(ex).{............ |
b6140 | 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ...}.............}.............. |
b6160 | 2f 2f 20 7c 73 65 74 54 69 6d 65 6f 75 74 7c 20 68 65 72 65 20 74 6f 20 65 6e 73 75 72 65 20 77 | //.|setTimeout|.here.to.ensure.w |
b6180 | 65 27 72 65 20 70 6f 73 74 20 72 65 66 6c 6f 77 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 | e're.post.reflow.............var |
b61a0 | 20 5f 64 65 6c 61 79 65 64 55 70 64 61 74 65 20 3d 20 66 75 6e 63 74 69 6f 6e 28 61 54 61 62 43 | ._delayedUpdate.=.function(aTabC |
b61c0 | 6f 6e 74 61 69 6e 65 72 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 54 61 62 43 6f | ontainer).{...............aTabCo |
b61e0 | 6e 74 61 69 6e 65 72 2e 61 64 6a 75 73 74 54 61 62 73 74 72 69 70 28 29 3b 0a 0a 20 20 20 20 20 | ntainer.adjustTabstrip();....... |
b6200 | 20 20 20 20 20 20 20 20 20 69 66 20 28 61 54 61 62 43 6f 6e 74 61 69 6e 65 72 2e 73 65 6c 65 63 | .........if.(aTabContainer.selec |
b6220 | 74 65 64 49 74 65 6d 20 21 3d 20 74 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 54 | tedItem.!=.t).................aT |
b6240 | 61 62 43 6f 6e 74 61 69 6e 65 72 2e 5f 6e 6f 74 69 66 79 42 61 63 6b 67 72 6f 75 6e 64 54 61 62 | abContainer._notifyBackgroundTab |
b6260 | 28 74 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 58 58 58 6d 61 6e 6f 3a 20 | (t);................//.XXXmano:. |
b6280 | 74 68 69 73 20 69 73 20 61 20 74 65 6d 70 6f 72 61 72 79 20 77 6f 72 6b 61 72 6f 75 6e 64 20 74 | this.is.a.temporary.workaround.t |
b62a0 | 6f 20 62 75 67 20 33 34 33 35 38 35 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 57 65 | o.bug.343585...............//.We |
b62c0 | 20 6e 65 65 64 20 74 6f 20 6d 61 6e 75 61 6c 6c 79 20 75 70 64 61 74 65 20 74 68 65 20 73 63 72 | .need.to.manually.update.the.scr |
b62e0 | 6f 6c 6c 20 62 75 74 74 6f 6e 73 20 64 69 73 61 62 6c 65 64 20 73 74 61 74 65 0a 20 20 20 20 20 | oll.buttons.disabled.state...... |
b6300 | 20 20 20 20 20 20 20 20 20 2f 2f 20 69 66 20 61 20 74 61 62 20 77 61 73 20 69 6e 73 65 72 74 65 | .........//.if.a.tab.was.inserte |
b6320 | 64 20 74 6f 20 74 68 65 20 6f 76 65 72 66 6c 6f 77 20 61 72 65 61 20 6f 72 20 72 65 6d 6f 76 65 | d.to.the.overflow.area.or.remove |
b6340 | 64 20 66 72 6f 6d 20 69 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 77 69 74 68 6f | d.from.it...............//.witho |
b6360 | 75 74 20 61 6e 79 20 73 63 72 6f 6c 6c 69 6e 67 20 61 6e 64 20 77 68 65 6e 20 74 68 65 20 74 61 | ut.any.scrolling.and.when.the.ta |
b6380 | 62 62 61 72 20 68 61 73 20 61 6c 72 65 61 64 79 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f | bbar.has.already.............../ |
b63a0 | 2f 20 6f 76 65 72 66 6c 6f 77 65 64 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 54 61 62 | /.overflowed................aTab |
b63c0 | 43 6f 6e 74 61 69 6e 65 72 2e 6d 54 61 62 73 74 72 69 70 2e 5f 75 70 64 61 74 65 53 63 72 6f 6c | Container.mTabstrip._updateScrol |
b63e0 | 6c 42 75 74 74 6f 6e 73 44 69 73 61 62 6c 65 64 53 74 61 74 65 28 29 3b 0a 20 20 20 20 20 20 20 | lButtonsDisabledState();........ |
b6400 | 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 73 65 74 54 69 6d 65 6f 75 74 28 5f 64 | .....}.............setTimeout(_d |
b6420 | 65 6c 61 79 65 64 55 70 64 61 74 65 2c 20 30 2c 20 74 68 69 73 2e 6d 54 61 62 43 6f 6e 74 61 69 | elayedUpdate,.0,.this.mTabContai |
b6440 | 6e 65 72 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 44 69 73 70 61 74 63 68 20 61 | ner);..............//.Dispatch.a |
b6460 | 20 6e 65 77 20 74 61 62 20 6e 6f 74 69 66 69 63 61 74 69 6f 6e 2e 20 20 57 65 20 64 6f 20 74 68 | .new.tab.notification...We.do.th |
b6480 | 69 73 20 6f 6e 63 65 20 77 65 27 72 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 65 6e 74 | is.once.we're.............//.ent |
b64a0 | 69 72 65 6c 79 20 64 6f 6e 65 2c 20 73 6f 20 74 68 61 74 20 74 68 69 6e 67 73 20 61 72 65 20 69 | irely.done,.so.that.things.are.i |
b64c0 | 6e 20 61 20 63 6f 6e 73 69 73 74 65 6e 74 20 73 74 61 74 65 0a 20 20 20 20 20 20 20 20 20 20 20 | n.a.consistent.state............ |
b64e0 | 20 2f 2f 20 65 76 65 6e 20 69 66 20 74 68 65 20 65 76 65 6e 74 20 6c 69 73 74 65 6e 65 72 20 6f | .//.even.if.the.event.listener.o |
b6500 | 70 65 6e 73 20 6f 72 20 63 6c 6f 73 65 73 20 74 61 62 73 2e 0a 20 20 20 20 20 20 20 20 20 20 20 | pens.or.closes.tabs............. |
b6520 | 20 76 61 72 20 65 76 74 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 63 72 65 61 74 65 45 76 65 6e 74 28 | .var.evt.=.document.createEvent( |
b6540 | 22 45 76 65 6e 74 73 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 65 76 74 2e 69 6e 69 74 45 | "Events");.............evt.initE |
b6560 | 76 65 6e 74 28 22 54 61 62 4f 70 65 6e 22 2c 20 74 72 75 65 2c 20 66 61 6c 73 65 29 3b 0a 20 20 | vent("TabOpen",.true,.false);... |
b6580 | 20 20 20 20 20 20 20 20 20 20 74 2e 64 69 73 70 61 74 63 68 45 76 65 6e 74 28 65 76 74 29 3b 0a | ..........t.dispatchEvent(evt);. |
b65a0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 3b 0a 20 20 20 20 20 20 20 20 20 | .............return.t;.......... |
b65c0 | 20 5d 5d 3e 0a 20 20 20 20 20 20 20 20 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 | .]]>.........</body>.......</met |
b65e0 | 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 77 61 72 6e 41 62 | hod>........<method.name="warnAb |
b6600 | 6f 75 74 43 6c 6f 73 69 6e 67 54 61 62 73 22 3e 0a 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 | outClosingTabs">.......<paramete |
b6620 | 72 20 6e 61 6d 65 3d 22 61 41 6c 6c 22 2f 3e 0a 20 20 20 20 20 20 3c 62 6f 64 79 3e 0a 20 20 20 | r.name="aAll"/>.......<body>.... |
b6640 | 20 20 20 20 20 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 6e 75 6d | .....<![CDATA[...........var.num |
b6660 | 54 61 62 73 20 3d 20 74 68 69 73 2e 6d 54 61 62 43 6f 6e 74 61 69 6e 65 72 2e 63 68 69 6c 64 4e | Tabs.=.this.mTabContainer.childN |
b6680 | 6f 64 65 73 2e 6c 65 6e 67 74 68 3b 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 72 65 61 6c 6c | odes.length;...........var.reall |
b66a0 | 79 43 6c 6f 73 65 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 6e 75 6d | yClose.=.true;...........if.(num |
b66c0 | 54 61 62 73 20 3c 3d 20 31 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 72 65 | Tabs.<=.1).............return.re |
b66e0 | 61 6c 6c 79 43 6c 6f 73 65 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 63 6f 6e 73 74 20 70 72 65 66 | allyClose;............const.pref |
b6700 | 20 3d 20 22 62 72 6f 77 73 65 72 2e 74 61 62 73 2e 77 61 72 6e 4f 6e 43 6c 6f 73 65 22 3b 0a 20 | .=."browser.tabs.warnOnClose";.. |
b6720 | 20 20 20 20 20 20 20 20 20 76 61 72 20 73 68 6f 75 6c 64 50 72 6f 6d 70 74 20 3d 20 74 68 69 73 | .........var.shouldPrompt.=.this |
b6740 | 2e 6d 50 72 65 66 73 2e 67 65 74 42 6f 6f 6c 50 72 65 66 28 70 72 65 66 29 3b 0a 0a 20 20 20 20 | .mPrefs.getBoolPref(pref);...... |
b6760 | 20 20 20 20 20 20 69 66 20 28 73 68 6f 75 6c 64 50 72 6f 6d 70 74 29 20 7b 0a 20 20 20 20 20 20 | ......if.(shouldPrompt).{....... |
b6780 | 20 20 20 20 20 20 76 61 72 20 70 72 6f 6d 70 74 53 65 72 76 69 63 65 20 3d 20 43 6f 6d 70 6f 6e | ......var.promptService.=.Compon |
b67a0 | 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 65 6d 62 65 64 | ents.classes["@mozilla.org/embed |
b67c0 | 63 6f 6d 70 2f 70 72 6f 6d 70 74 2d 73 65 72 76 69 63 65 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 | comp/prompt-service;1"]......... |
b67e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
b6800 | 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 | ...getService(Components.interfa |
b6820 | 63 65 73 2e 6e 73 49 50 72 6f 6d 70 74 53 65 72 76 69 63 65 29 3b 0a 0a 20 20 20 20 20 20 20 20 | ces.nsIPromptService);.......... |
b6840 | 20 20 20 20 2f 2f 64 65 66 61 75 6c 74 20 74 6f 20 74 72 75 65 3a 20 69 66 20 69 74 20 77 65 72 | ....//default.to.true:.if.it.wer |
b6860 | 65 20 66 61 6c 73 65 2c 20 77 65 20 77 6f 75 6c 64 6e 27 74 20 67 65 74 20 74 68 69 73 20 66 61 | e.false,.we.wouldn't.get.this.fa |
b6880 | 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 77 61 72 6e 4f 6e 43 6c 6f 73 65 20 3d 20 | r.............var.warnOnClose.=. |
b68a0 | 7b 20 76 61 6c 75 65 3a 74 72 75 65 20 7d 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 | {.value:true.};.............var. |
b68c0 | 62 75 6e 64 6c 65 20 3d 20 74 68 69 73 2e 6d 53 74 72 69 6e 67 42 75 6e 64 6c 65 3b 0a 20 20 20 | bundle.=.this.mStringBundle;.... |
b68e0 | 20 20 20 20 20 20 20 20 20 76 61 72 20 74 61 62 73 54 6f 43 6c 6f 73 65 20 3d 20 6e 75 6d 54 61 | .........var.tabsToClose.=.numTa |
b6900 | 62 73 3b 20 20 2f 2f 6e 75 6d 62 65 72 20 6f 66 20 74 61 62 73 20 74 6f 20 62 65 20 72 65 6d 6f | bs;..//number.of.tabs.to.be.remo |
b6920 | 76 65 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 61 41 6c 6c 29 0a 20 20 20 20 20 | ved.............if.(!aAll)...... |
b6940 | 20 20 20 20 20 20 20 20 20 2d 2d 74 61 62 73 54 6f 43 6c 6f 73 65 3b 0a 0a 20 20 20 20 20 20 20 | .........--tabsToClose;......... |
b6960 | 20 20 20 20 20 76 61 72 20 6d 65 73 73 61 67 65 4b 65 79 20 3d 20 28 74 61 62 73 54 6f 43 6c 6f | .....var.messageKey.=.(tabsToClo |
b6980 | 73 65 20 3d 3d 20 31 29 20 3f 20 22 74 61 62 73 2e 63 6c 6f 73 65 57 61 72 6e 69 6e 67 4f 6e 65 | se.==.1).?."tabs.closeWarningOne |
b69a0 | 54 61 62 22 20 3a 20 22 74 61 62 73 2e 63 6c 6f 73 65 57 61 72 6e 69 6e 67 4d 75 6c 74 69 70 6c | Tab".:."tabs.closeWarningMultipl |
b69c0 | 65 54 61 62 73 22 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 63 6c 6f 73 65 4b 65 79 | eTabs";.............var.closeKey |
b69e0 | 20 3d 20 28 74 61 62 73 54 6f 43 6c 6f 73 65 20 3d 3d 20 31 29 20 3f 20 22 74 61 62 73 2e 63 6c | .=.(tabsToClose.==.1).?."tabs.cl |
b6a00 | 6f 73 65 42 75 74 74 6f 6e 4f 6e 65 22 20 3a 20 22 74 61 62 73 2e 63 6c 6f 73 65 42 75 74 74 6f | oseButtonOne".:."tabs.closeButto |
b6a20 | 6e 4d 75 6c 74 69 70 6c 65 22 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 66 6f 63 75 73 | nMultiple";.............//.focus |
b6a40 | 20 74 68 65 20 77 69 6e 64 6f 77 20 62 65 66 6f 72 65 20 70 72 6f 6d 70 74 69 6e 67 2e 0a 20 20 | .the.window.before.prompting.... |
b6a60 | 20 20 20 20 20 20 20 20 20 20 2f 2f 20 74 68 69 73 20 77 69 6c 6c 20 72 61 69 73 65 20 61 6e 79 | ..........//.this.will.raise.any |
b6a80 | 20 6d 69 6e 69 6d 69 7a 65 64 20 77 69 6e 64 6f 77 2c 20 77 68 69 63 68 20 77 69 6c 6c 0a 20 20 | .minimized.window,.which.will... |
b6aa0 | 20 20 20 20 20 20 20 20 20 20 2f 2f 20 6d 61 6b 65 20 69 74 20 6f 62 76 69 6f 75 73 20 77 68 69 | ..........//.make.it.obvious.whi |
b6ac0 | 63 68 20 77 69 6e 64 6f 77 20 74 68 65 20 70 72 6f 6d 70 74 20 69 73 20 66 6f 72 20 61 6e 64 20 | ch.window.the.prompt.is.for.and. |
b6ae0 | 77 69 6c 6c 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 73 6f 6c 76 65 20 74 68 65 20 70 72 | will.............//.solve.the.pr |
b6b00 | 6f 62 6c 65 6d 20 6f 66 20 77 69 6e 64 6f 77 73 20 22 6f 62 73 63 75 72 69 6e 67 22 20 74 68 65 | oblem.of.windows."obscuring".the |
b6b20 | 20 70 72 6f 6d 70 74 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 73 65 65 20 62 75 67 20 | .prompt..............//.see.bug. |
b6b40 | 23 33 35 30 32 39 39 20 66 6f 72 20 6d 6f 72 65 20 64 65 74 61 69 6c 73 0a 20 20 20 20 20 20 20 | #350299.for.more.details........ |
b6b60 | 20 20 20 20 20 77 69 6e 64 6f 77 2e 66 6f 63 75 73 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 | .....window.focus();............ |
b6b80 | 20 76 61 72 20 62 75 74 74 6f 6e 50 72 65 73 73 65 64 20 3d 20 70 72 6f 6d 70 74 53 65 72 76 69 | .var.buttonPressed.=.promptServi |
b6ba0 | 63 65 2e 63 6f 6e 66 69 72 6d 45 78 28 77 69 6e 64 6f 77 2c 0a 20 20 20 20 20 20 20 20 20 20 20 | ce.confirmEx(window,............ |
b6bc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
b6be0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 62 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 27 74 | .............bundle.getString('t |
b6c00 | 61 62 73 2e 63 6c 6f 73 65 57 61 72 6e 69 6e 67 54 69 74 6c 65 27 29 2c 0a 20 20 20 20 20 20 20 | abs.closeWarningTitle'),........ |
b6c20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
b6c40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 75 6e 64 6c 65 2e 67 65 74 46 6f 72 6d 61 | .................bundle.getForma |
b6c60 | 74 74 65 64 53 74 72 69 6e 67 28 6d 65 73 73 61 67 65 4b 65 79 2c 20 5b 74 61 62 73 54 6f 43 6c | ttedString(messageKey,.[tabsToCl |
b6c80 | 6f 73 65 5d 29 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ose]),.......................... |
b6ca0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 | ...............................( |
b6cc0 | 70 72 6f 6d 70 74 53 65 72 76 69 63 65 2e 42 55 54 54 4f 4e 5f 54 49 54 4c 45 5f 49 53 5f 53 54 | promptService.BUTTON_TITLE_IS_ST |
b6ce0 | 52 49 4e 47 20 2a 20 70 72 6f 6d 70 74 53 65 72 76 69 63 65 2e 42 55 54 54 4f 4e 5f 50 4f 53 5f | RING.*.promptService.BUTTON_POS_ |
b6d00 | 30 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | 0).............................. |
b6d20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2b 20 28 70 72 | ...........................+.(pr |
b6d40 | 6f 6d 70 74 53 65 72 76 69 63 65 2e 42 55 54 54 4f 4e 5f 54 49 54 4c 45 5f 43 41 4e 43 45 4c 20 | omptService.BUTTON_TITLE_CANCEL. |
b6d60 | 2a 20 70 72 6f 6d 70 74 53 65 72 76 69 63 65 2e 42 55 54 54 4f 4e 5f 50 4f 53 5f 31 29 2c 0a 20 | *.promptService.BUTTON_POS_1),.. |
b6d80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
b6da0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 75 6e 64 6c 65 2e 67 65 | .......................bundle.ge |
b6dc0 | 74 53 74 72 69 6e 67 28 63 6c 6f 73 65 4b 65 79 29 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | tString(closeKey),.............. |
b6de0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
b6e00 | 20 20 20 20 20 20 20 20 20 20 20 6e 75 6c 6c 2c 20 6e 75 6c 6c 2c 0a 20 20 20 20 20 20 20 20 20 | ...........null,.null,.......... |
b6e20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
b6e40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 | ...............bundle.getString( |
b6e60 | 27 74 61 62 73 2e 63 6c 6f 73 65 57 61 72 6e 69 6e 67 50 72 6f 6d 70 74 4d 65 27 29 2c 0a 20 20 | 'tabs.closeWarningPromptMe'),... |
b6e80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
b6ea0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 77 61 72 6e 4f 6e 43 6c 6f 73 | ......................warnOnClos |
b6ec0 | 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 61 6c 6c 79 43 6c 6f 73 65 20 3d 20 28 62 | e);.............reallyClose.=.(b |
b6ee0 | 75 74 74 6f 6e 50 72 65 73 73 65 64 20 3d 3d 20 30 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 | uttonPressed.==.0);............. |
b6f00 | 2f 2f 20 64 6f 6e 27 74 20 73 65 74 20 74 68 65 20 70 72 65 66 20 75 6e 6c 65 73 73 20 74 68 65 | //.don't.set.the.pref.unless.the |
b6f20 | 79 20 70 72 65 73 73 20 4f 4b 20 61 6e 64 20 69 74 27 73 20 66 61 6c 73 65 0a 20 20 20 20 20 20 | y.press.OK.and.it's.false....... |
b6f40 | 20 20 20 20 20 20 69 66 20 28 72 65 61 6c 6c 79 43 6c 6f 73 65 20 26 26 20 21 77 61 72 6e 4f 6e | ......if.(reallyClose.&&.!warnOn |
b6f60 | 43 6c 6f 73 65 2e 76 61 6c 75 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e | Close.value)...............this. |
b6f80 | 6d 50 72 65 66 73 2e 73 65 74 42 6f 6f 6c 50 72 65 66 28 70 72 65 66 2c 20 66 61 6c 73 65 29 3b | mPrefs.setBoolPref(pref,.false); |
b6fa0 | 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 72 65 | ...........}...........return.re |
b6fc0 | 61 6c 6c 79 43 6c 6f 73 65 3b 0a 20 20 20 20 20 20 20 20 5d 5d 3e 0a 20 20 20 20 20 20 3c 2f 62 | allyClose;.........]]>.......</b |
b6fe0 | 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 | ody>.......</method>........<met |
b7000 | 68 6f 64 20 6e 61 6d 65 3d 22 72 65 6d 6f 76 65 41 6c 6c 54 61 62 73 42 75 74 22 3e 0a 20 20 20 | hod.name="removeAllTabsBut">.... |
b7020 | 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 54 61 62 22 2f 3e 0a 20 20 | .....<parameter.name="aTab"/>... |
b7040 | 20 20 20 20 20 20 3c 62 6f 64 79 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 21 5b 43 44 41 54 41 5b | ......<body>...........<![CDATA[ |
b7060 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 77 61 72 6e 41 62 6f 75 74 43 | .............if.(this.warnAboutC |
b7080 | 6c 6f 73 69 6e 67 54 61 62 73 28 66 61 6c 73 65 29 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 | losingTabs(false)).{............ |
b70a0 | 20 20 20 74 68 69 73 2e 73 65 6c 65 63 74 65 64 54 61 62 20 3d 20 61 54 61 62 3b 0a 0a 20 20 20 | ...this.selectedTab.=.aTab;..... |
b70c0 | 20 20 20 20 20 20 20 20 20 20 20 66 6f 72 20 28 6c 65 74 20 69 20 3d 20 74 68 69 73 2e 6d 54 61 | ...........for.(let.i.=.this.mTa |
b70e0 | 62 73 2e 6c 65 6e 67 74 68 20 2d 20 31 3b 20 69 20 3e 3d 20 30 3b 20 2d 2d 69 29 20 7b 0a 20 20 | bs.length.-.1;.i.>=.0;.--i).{... |
b7100 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 6d 54 61 62 73 5b 69 5d 20 | ..............if.(this.mTabs[i]. |
b7120 | 21 3d 20 61 54 61 62 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e | !=.aTab)...................this. |
b7140 | 72 65 6d 6f 76 65 54 61 62 28 74 68 69 73 2e 6d 54 61 62 73 5b 69 5d 29 3b 0a 20 20 20 20 20 20 | removeTab(this.mTabs[i]);....... |
b7160 | 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 | ........}.............}......... |
b7180 | 20 20 5d 5d 3e 0a 20 20 20 20 20 20 20 20 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 | ..]]>.........</body>.......</me |
b71a0 | 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 72 65 6d 6f 76 | thod>........<method.name="remov |
b71c0 | 65 43 75 72 72 65 6e 74 54 61 62 22 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 0a 20 20 20 | eCurrentTab">.........<body>.... |
b71e0 | 20 20 20 20 20 20 20 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 | .......<![CDATA[.............thi |
b7200 | 73 2e 72 65 6d 6f 76 65 54 61 62 28 74 68 69 73 2e 6d 43 75 72 72 65 6e 74 54 61 62 29 3b 0a 20 | s.removeTab(this.mCurrentTab);.. |
b7220 | 20 20 20 20 20 20 20 20 20 5d 5d 3e 0a 20 20 20 20 20 20 20 20 3c 2f 62 6f 64 79 3e 0a 20 20 20 | .........]]>.........</body>.... |
b7240 | 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 | ...</method>........<method.name |
b7260 | 3d 22 72 65 73 65 74 4f 77 6e 65 72 22 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 | ="resetOwner">.........<paramete |
b7280 | 72 20 6e 61 6d 65 3d 22 6f 6c 64 49 6e 64 65 78 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 | r.name="oldIndex"/>.........<bod |
b72a0 | 79 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 | y>...........<![CDATA[.......... |
b72c0 | 20 20 20 2f 2f 20 52 65 73 65 74 20 74 68 65 20 6f 77 6e 65 72 20 70 72 6f 70 65 72 74 79 2c 20 | ...//.Reset.the.owner.property,. |
b72e0 | 73 69 6e 63 65 20 77 65 27 72 65 20 6c 65 61 76 69 6e 67 20 74 68 65 20 6d 6f 64 61 6c 6c 79 20 | since.we're.leaving.the.modally. |
b7300 | 6f 70 65 6e 65 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 74 61 62 20 66 6f 72 20 61 6e | opened.............//.tab.for.an |
b7320 | 6f 74 68 65 72 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 6f 6c 64 49 6e 64 65 78 20 | other..............if.(oldIndex. |
b7340 | 3c 20 74 68 69 73 2e 6d 54 61 62 43 6f 6e 74 61 69 6e 65 72 2e 63 68 69 6c 64 4e 6f 64 65 73 2e | <.this.mTabContainer.childNodes. |
b7360 | 6c 65 6e 67 74 68 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 74 61 62 20 | length).{...............var.tab. |
b7380 | 3d 20 74 68 69 73 2e 6d 54 61 62 43 6f 6e 74 61 69 6e 65 72 2e 63 68 69 6c 64 4e 6f 64 65 73 5b | =.this.mTabContainer.childNodes[ |
b73a0 | 6f 6c 64 49 6e 64 65 78 5d 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 61 62 2e 6f 77 6e | oldIndex];...............tab.own |
b73c0 | 65 72 20 3d 20 6e 75 6c 6c 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 | er.=.null;.............}........ |
b73e0 | 20 20 20 5d 5d 3e 0a 20 20 20 20 20 20 20 20 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d | ...]]>.........</body>.......</m |
b7400 | 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 66 69 65 6c 64 20 6e 61 6d 65 3d 22 5f 72 65 6d 6f | ethod>........<field.name="_remo |
b7420 | 76 69 6e 67 54 61 62 73 22 3e 0a 20 20 20 20 20 20 20 20 5b 5d 0a 20 20 20 20 20 20 3c 2f 66 69 | vingTabs">.........[].......</fi |
b7440 | 65 6c 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 72 65 6d 6f 76 65 | eld>........<method.name="remove |
b7460 | 54 61 62 22 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 | Tab">.........<parameter.name="a |
b7480 | 54 61 62 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 0a 20 20 20 20 20 20 20 20 20 20 | Tab"/>.........<body>........... |
b74a0 | 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 65 6e 64 52 | <![CDATA[.............this._endR |
b74c0 | 65 6d 6f 76 65 54 61 62 28 74 68 69 73 2e 5f 62 65 67 69 6e 52 65 6d 6f 76 65 54 61 62 28 61 54 | emoveTab(this._beginRemoveTab(aT |
b74e0 | 61 62 2c 20 66 61 6c 73 65 2c 20 6e 75 6c 6c 2c 20 74 72 75 65 29 29 3b 0a 20 20 20 20 20 20 20 | ab,.false,.null,.true));........ |
b7500 | 20 20 20 5d 5d 3e 0a 20 20 20 20 20 20 20 20 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d | ...]]>.........</body>.......</m |
b7520 | 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 21 2d 2d 20 54 61 62 20 63 6c 6f 73 65 20 72 65 71 | ethod>........<!--.Tab.close.req |
b7540 | 75 65 73 74 73 20 61 72 65 20 69 67 6e 6f 72 65 64 20 69 66 20 74 68 65 20 77 69 6e 64 6f 77 20 | uests.are.ignored.if.the.window. |
b7560 | 69 73 20 63 6c 6f 73 69 6e 67 20 61 6e 79 77 61 79 2c 0a 20 20 20 20 20 20 20 20 20 20 20 65 2e | is.closing.anyway,............e. |
b7580 | 67 2e 20 77 68 65 6e 20 68 6f 6c 64 69 6e 67 20 43 74 72 6c 2b 57 2e 20 2d 2d 3e 0a 20 20 20 20 | g..when.holding.Ctrl+W..-->..... |
b75a0 | 20 20 3c 66 69 65 6c 64 20 6e 61 6d 65 3d 22 5f 77 69 6e 64 6f 77 49 73 43 6c 6f 73 69 6e 67 22 | ..<field.name="_windowIsClosing" |
b75c0 | 3e 0a 20 20 20 20 20 20 20 20 66 61 6c 73 65 0a 20 20 20 20 20 20 3c 2f 66 69 65 6c 64 3e 0a 0a | >.........false.......</field>.. |
b75e0 | 20 20 20 20 20 20 3c 21 2d 2d 20 52 65 74 75 72 6e 73 20 65 76 65 72 79 74 68 69 6e 67 20 74 68 | ......<!--.Returns.everything.th |
b7600 | 61 74 20 5f 65 6e 64 52 65 6d 6f 76 65 54 61 62 20 6e 65 65 64 73 20 69 6e 20 61 6e 20 61 72 72 | at._endRemoveTab.needs.in.an.arr |
b7620 | 61 79 2e 20 2d 2d 3e 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 5f 62 65 67 | ay..-->.......<method.name="_beg |
b7640 | 69 6e 52 65 6d 6f 76 65 54 61 62 22 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 | inRemoveTab">.........<parameter |
b7660 | 20 6e 61 6d 65 3d 22 61 54 61 62 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 | .name="aTab"/>.........<paramete |
b7680 | 72 20 6e 61 6d 65 3d 22 61 54 61 62 57 69 6c 6c 42 65 4d 6f 76 65 64 22 2f 3e 0a 20 20 20 20 20 | r.name="aTabWillBeMoved"/>...... |
b76a0 | 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 43 6c 6f 73 65 57 69 6e 64 6f 77 | ...<parameter.name="aCloseWindow |
b76c0 | 57 69 74 68 4c 61 73 74 54 61 62 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 | WithLastTab"/>.........<paramete |
b76e0 | 72 20 6e 61 6d 65 3d 22 61 43 6c 6f 73 65 57 69 6e 64 6f 77 46 61 73 74 70 61 74 68 22 2f 3e 0a | r.name="aCloseWindowFastpath"/>. |
b7700 | 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 21 5b 43 44 41 54 | ........<body>...........<![CDAT |
b7720 | 41 5b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 72 65 6d 6f 76 69 6e | A[.............if.(this._removin |
b7740 | 67 54 61 62 73 2e 69 6e 64 65 78 4f 66 28 61 54 61 62 29 20 3e 20 2d 31 20 7c 7c 20 74 68 69 73 | gTabs.indexOf(aTab).>.-1.||.this |
b7760 | 2e 5f 77 69 6e 64 6f 77 49 73 43 6c 6f 73 69 6e 67 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ._windowIsClosing).............. |
b7780 | 20 72 65 74 75 72 6e 20 6e 75 6c 6c 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 62 | .return.null;..............var.b |
b77a0 | 72 6f 77 73 65 72 20 3d 20 74 68 69 73 2e 67 65 74 42 72 6f 77 73 65 72 46 6f 72 54 61 62 28 61 | rowser.=.this.getBrowserForTab(a |
b77c0 | 54 61 62 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 61 54 61 62 57 69 6c 6c | Tab);..............if.(!aTabWill |
b77e0 | 42 65 4d 6f 76 65 64 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 65 74 20 64 73 20 | BeMoved).{...............let.ds. |
b7800 | 3d 20 62 72 6f 77 73 65 72 2e 64 6f 63 53 68 65 6c 6c 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 | =.browser.docShell;............. |
b7820 | 20 20 69 66 20 28 64 73 2e 63 6f 6e 74 65 6e 74 56 69 65 77 65 72 20 26 26 20 21 64 73 2e 63 6f | ..if.(ds.contentViewer.&&.!ds.co |
b7840 | 6e 74 65 6e 74 56 69 65 77 65 72 2e 70 65 72 6d 69 74 55 6e 6c 6f 61 64 28 29 29 0a 20 20 20 20 | ntentViewer.permitUnload())..... |
b7860 | 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 6e 75 6c 6c 3b 0a 20 20 20 20 20 20 20 | ............return.null;........ |
b7880 | 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 63 6c 6f 73 65 57 69 6e | .....}..............var.closeWin |
b78a0 | 64 6f 77 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 6c 20 3d | dow.=.false;.............var.l.= |
b78c0 | 20 74 68 69 73 2e 6d 54 61 62 73 2e 6c 65 6e 67 74 68 20 2d 20 74 68 69 73 2e 5f 72 65 6d 6f 76 | .this.mTabs.length.-.this._remov |
b78e0 | 69 6e 67 54 61 62 73 2e 6c 65 6e 67 74 68 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 | ingTabs.length;.............var. |
b7900 | 6e 65 77 54 61 62 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 | newTab.=.false;.............if.( |
b7920 | 6c 20 3d 3d 20 31 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6c 6f 73 65 57 69 6e | l.==.1).{...............closeWin |
b7940 | 64 6f 77 20 3d 20 61 43 6c 6f 73 65 57 69 6e 64 6f 77 57 69 74 68 4c 61 73 74 54 61 62 20 21 3d | dow.=.aCloseWindowWithLastTab.!= |
b7960 | 20 6e 75 6c 6c 20 3f 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .null.?......................... |
b7980 | 20 20 20 20 61 43 6c 6f 73 65 57 69 6e 64 6f 77 57 69 74 68 4c 61 73 74 54 61 62 20 3a 0a 20 20 | ....aCloseWindowWithLastTab.:... |
b79a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d | ..........................this.m |
b79c0 | 50 72 65 66 73 2e 67 65 74 42 6f 6f 6c 50 72 65 66 28 22 62 72 6f 77 73 65 72 2e 74 61 62 73 2e | Prefs.getBoolPref("browser.tabs. |
b79e0 | 63 6c 6f 73 65 57 69 6e 64 6f 77 57 69 74 68 4c 61 73 74 54 61 62 22 29 3b 0a 0a 20 20 20 20 20 | closeWindowWithLastTab");....... |
b7a00 | 20 20 20 20 20 20 20 20 20 2f 2f 20 43 6c 6f 73 69 6e 67 20 74 68 65 20 74 61 62 20 61 6e 64 20 | .........//.Closing.the.tab.and. |
b7a20 | 72 65 70 6c 61 63 69 6e 67 20 69 74 20 77 69 74 68 20 61 20 62 6c 61 6e 6b 20 6f 6e 65 20 69 73 | replacing.it.with.a.blank.one.is |
b7a40 | 20 6e 6f 74 61 62 6c 79 20 73 6c 6f 77 65 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f | .notably.slower...............// |
b7a60 | 20 74 68 61 6e 20 63 6c 6f 73 69 6e 67 20 74 68 65 20 77 69 6e 64 6f 77 20 72 69 67 68 74 20 61 | .than.closing.the.window.right.a |
b7a80 | 77 61 79 2e 20 49 66 20 74 68 65 20 63 61 6c 6c 65 72 20 6f 70 74 73 20 69 6e 2c 20 74 61 6b 65 | way..If.the.caller.opts.in,.take |
b7aa0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 74 68 65 20 66 61 73 74 20 70 61 74 68 2e | ...............//.the.fast.path. |
b7ac0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 63 6c 6f 73 65 57 69 6e 64 6f 77 20 26 | ...............if.(closeWindow.& |
b7ae0 | 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 43 6c 6f 73 65 57 69 6e 64 6f 77 | &...................aCloseWindow |
b7b00 | 46 61 73 74 70 61 74 68 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 | Fastpath.&&...................th |
b7b20 | 69 73 2e 5f 72 65 6d 6f 76 69 6e 67 54 61 62 73 2e 6c 65 6e 67 74 68 20 3d 3d 20 30 20 26 26 0a | is._removingTabs.length.==.0.&&. |
b7b40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 74 68 69 73 2e 5f 77 69 6e 64 6f 77 49 | ..................(this._windowI |
b7b60 | 73 43 6c 6f 73 69 6e 67 20 3d 20 77 69 6e 64 6f 77 2e 63 6c 6f 73 65 57 69 6e 64 6f 77 28 74 72 | sClosing.=.window.closeWindow(tr |
b7b80 | 75 65 29 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 6e 75 6c | ue))).................return.nul |
b7ba0 | 6c 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 65 77 54 61 62 20 3d 20 74 72 75 65 3b | l;................newTab.=.true; |
b7bc0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 2b 2b 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ...............l++;............. |
b7be0 | 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 6c 20 3d 3d 20 32 29 20 7b 0a 20 20 20 20 | }.............if.(l.==.2).{..... |
b7c00 | 20 20 20 20 20 20 20 20 20 20 6c 65 74 20 61 75 74 6f 68 69 64 65 20 3d 20 74 68 69 73 2e 6d 50 | ..........let.autohide.=.this.mP |
b7c20 | 72 65 66 73 2e 67 65 74 42 6f 6f 6c 50 72 65 66 28 22 62 72 6f 77 73 65 72 2e 74 61 62 73 2e 61 | refs.getBoolPref("browser.tabs.a |
b7c40 | 75 74 6f 48 69 64 65 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 65 74 20 74 61 62 | utoHide");...............let.tab |
b7c60 | 53 74 72 69 70 48 69 64 65 20 3d 20 21 77 69 6e 64 6f 77 2e 74 6f 6f 6c 62 61 72 2e 76 69 73 69 | StripHide.=.!window.toolbar.visi |
b7c80 | 62 6c 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 61 75 74 6f 68 69 64 65 20 | ble;...............if.(autohide. |
b7ca0 | 7c 7c 20 74 61 62 53 74 72 69 70 48 69 64 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ||.tabStripHide)................ |
b7cc0 | 20 74 68 69 73 2e 73 65 74 53 74 72 69 70 56 69 73 69 62 69 6c 69 74 79 54 6f 28 66 61 6c 73 65 | .this.setStripVisibilityTo(false |
b7ce0 | 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 | );.............}..............th |
b7d00 | 69 73 2e 5f 72 65 6d 6f 76 69 6e 67 54 61 62 73 2e 70 75 73 68 28 61 54 61 62 29 3b 0a 0a 20 20 | is._removingTabs.push(aTab);.... |
b7d20 | 20 20 20 20 20 20 20 20 20 20 2f 2f 20 57 65 27 72 65 20 63 6f 6d 6d 69 74 74 65 64 20 74 6f 20 | ..........//.We're.committed.to. |
b7d40 | 63 6c 6f 73 69 6e 67 20 74 68 65 20 74 61 62 20 6e 6f 77 2e 0a 20 20 20 20 20 20 20 20 20 20 20 | closing.the.tab.now............. |
b7d60 | 20 2f 2f 20 44 69 73 70 61 74 63 68 20 61 20 6e 6f 74 69 66 69 63 61 74 69 6f 6e 2e 0a 20 20 20 | .//.Dispatch.a.notification..... |
b7d80 | 20 20 20 20 20 20 20 20 20 2f 2f 20 57 65 20 64 69 73 70 61 74 63 68 20 69 74 20 62 65 66 6f 72 | .........//.We.dispatch.it.befor |
b7da0 | 65 20 61 6e 79 20 74 65 61 72 64 6f 77 6e 20 73 6f 20 74 68 61 74 20 65 76 65 6e 74 20 6c 69 73 | e.any.teardown.so.that.event.lis |
b7dc0 | 74 65 6e 65 72 73 20 63 61 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 69 6e 73 70 65 63 | teners.can.............//.inspec |
b7de0 | 74 20 74 68 65 20 74 61 62 20 74 68 61 74 27 73 20 61 62 6f 75 74 20 74 6f 20 63 6c 6f 73 65 2e | t.the.tab.that's.about.to.close. |
b7e00 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 65 76 74 20 3d 20 64 6f 63 75 6d 65 6e 74 2e | .............var.evt.=.document. |
b7e20 | 63 72 65 61 74 65 45 76 65 6e 74 28 22 55 49 45 76 65 6e 74 22 29 3b 0a 20 20 20 20 20 20 20 20 | createEvent("UIEvent");......... |
b7e40 | 20 20 20 20 65 76 74 2e 69 6e 69 74 55 49 45 76 65 6e 74 28 22 54 61 62 43 6c 6f 73 65 22 2c 20 | ....evt.initUIEvent("TabClose",. |
b7e60 | 74 72 75 65 2c 20 66 61 6c 73 65 2c 20 77 69 6e 64 6f 77 2c 20 61 54 61 62 57 69 6c 6c 42 65 4d | true,.false,.window,.aTabWillBeM |
b7e80 | 6f 76 65 64 20 3f 20 31 20 3a 20 30 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 61 54 61 62 2e | oved.?.1.:.0);.............aTab. |
b7ea0 | 64 69 73 70 61 74 63 68 45 76 65 6e 74 28 65 76 74 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 | dispatchEvent(evt);............. |
b7ec0 | 20 2f 2f 20 52 65 6d 6f 76 65 20 74 68 65 20 74 61 62 27 73 20 66 69 6c 74 65 72 20 61 6e 64 20 | .//.Remove.the.tab's.filter.and. |
b7ee0 | 70 72 6f 67 72 65 73 73 20 6c 69 73 74 65 6e 65 72 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 63 | progress.listener..............c |
b7f00 | 6f 6e 73 74 20 66 69 6c 74 65 72 20 3d 20 74 68 69 73 2e 6d 54 61 62 46 69 6c 74 65 72 73 5b 61 | onst.filter.=.this.mTabFilters[a |
b7f20 | 54 61 62 2e 5f 74 50 6f 73 5d 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 62 72 6f 77 73 65 72 2e | Tab._tPos];.............browser. |
b7f40 | 77 65 62 50 72 6f 67 72 65 73 73 2e 72 65 6d 6f 76 65 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e | webProgress.removeProgressListen |
b7f60 | 65 72 28 66 69 6c 74 65 72 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 66 69 6c 74 65 72 2e 72 | er(filter);.............filter.r |
b7f80 | 65 6d 6f 76 65 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 28 74 68 69 73 2e 6d 54 61 62 4c | emoveProgressListener(this.mTabL |
b7fa0 | 69 73 74 65 6e 65 72 73 5b 61 54 61 62 2e 5f 74 50 6f 73 5d 29 3b 0a 0a 20 20 20 20 20 20 20 20 | isteners[aTab._tPos]);.......... |
b7fc0 | 20 20 20 20 2f 2f 20 52 65 6d 6f 76 65 20 6f 75 72 20 74 69 74 6c 65 20 63 68 61 6e 67 65 20 61 | ....//.Remove.our.title.change.a |
b7fe0 | 6e 64 20 62 6c 6f 63 6b 69 6e 67 20 6c 69 73 74 65 6e 65 72 73 0a 20 20 20 20 20 20 20 20 20 20 | nd.blocking.listeners........... |
b8000 | 20 20 62 72 6f 77 73 65 72 2e 72 65 6d 6f 76 65 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 28 22 44 | ..browser.removeEventListener("D |
b8020 | 4f 4d 54 69 74 6c 65 43 68 61 6e 67 65 64 22 2c 20 74 68 69 73 2e 6f 6e 54 69 74 6c 65 43 68 61 | OMTitleChanged",.this.onTitleCha |
b8040 | 6e 67 65 64 2c 20 74 72 75 65 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 57 65 20 | nged,.true);..............//.We. |
b8060 | 61 72 65 20 6e 6f 20 6c 6f 6e 67 65 72 20 74 68 65 20 70 72 69 6d 61 72 79 20 63 6f 6e 74 65 6e | are.no.longer.the.primary.conten |
b8080 | 74 20 61 72 65 61 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 62 72 6f 77 73 65 72 2e 73 65 74 41 | t.area..............browser.setA |
b80a0 | 74 74 72 69 62 75 74 65 28 22 74 79 70 65 22 2c 20 22 63 6f 6e 74 65 6e 74 2d 74 61 72 67 65 74 | ttribute("type",."content-target |
b80c0 | 61 62 6c 65 22 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 52 65 6d 6f 76 65 20 74 | able");..............//.Remove.t |
b80e0 | 68 69 73 20 74 61 62 20 61 73 20 74 68 65 20 6f 77 6e 65 72 20 6f 66 20 61 6e 79 20 6f 74 68 65 | his.tab.as.the.owner.of.any.othe |
b8100 | 72 20 74 61 62 73 2c 20 73 69 6e 63 65 20 69 74 27 73 20 67 6f 69 6e 67 20 61 77 61 79 2e 0a 20 | r.tabs,.since.it's.going.away... |
b8120 | 20 20 20 20 20 20 20 20 20 20 20 41 72 72 61 79 2e 66 6f 72 45 61 63 68 28 74 68 69 73 2e 6d 54 | ...........Array.forEach(this.mT |
b8140 | 61 62 73 2c 20 66 75 6e 63 74 69 6f 6e 20 28 74 61 62 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 | abs,.function.(tab).{........... |
b8160 | 20 20 20 20 69 66 20 28 22 6f 77 6e 65 72 22 20 69 6e 20 74 61 62 20 26 26 20 74 61 62 2e 6f 77 | ....if.("owner".in.tab.&&.tab.ow |
b8180 | 6e 65 72 20 3d 3d 20 61 54 61 62 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 | ner.==.aTab).................//. |
b81a0 | 7c 74 61 62 7c 20 69 73 20 61 20 63 68 69 6c 64 20 6f 66 20 74 68 65 20 74 61 62 20 77 65 27 72 | |tab|.is.a.child.of.the.tab.we'r |
b81c0 | 65 20 72 65 6d 6f 76 69 6e 67 2c 20 6d 61 6b 65 20 69 74 20 61 6e 20 6f 72 70 68 61 6e 0a 20 20 | e.removing,.make.it.an.orphan... |
b81e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 61 62 2e 6f 77 6e 65 72 20 3d 20 6e 75 6c 6c 3b 0a | ..............tab.owner.=.null;. |
b8200 | 20 20 20 20 20 20 20 20 20 20 20 20 7d 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 | ............});..............ret |
b8220 | 75 72 6e 20 5b 61 54 61 62 2c 20 63 6c 6f 73 65 57 69 6e 64 6f 77 2c 20 6e 65 77 54 61 62 5d 3b | urn.[aTab,.closeWindow,.newTab]; |
b8240 | 0a 20 20 20 20 20 20 20 20 20 20 5d 5d 3e 0a 20 20 20 20 20 20 20 20 3c 2f 62 6f 64 79 3e 0a 20 | ...........]]>.........</body>.. |
b8260 | 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 | .....</method>........<method.na |
b8280 | 6d 65 3d 22 5f 65 6e 64 52 65 6d 6f 76 65 54 61 62 22 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 | me="_endRemoveTab">.........<par |
b82a0 | 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 72 67 73 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f | ameter.name="args"/>.........<bo |
b82c0 | 64 79 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 | dy>...........<![CDATA[......... |
b82e0 | 20 20 20 20 69 66 20 28 21 61 72 67 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 | ....if.(!args)...............ret |
b8300 | 75 72 6e 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 5b 61 54 61 62 2c 20 61 43 6c 6f | urn;.............var.[aTab,.aClo |
b8320 | 73 65 57 69 6e 64 6f 77 2c 20 61 4e 65 77 54 61 62 5d 20 3d 20 61 72 67 73 3b 0a 0a 20 20 20 20 | seWindow,.aNewTab].=.args;...... |
b8340 | 20 20 20 20 20 20 20 20 2f 2f 20 75 70 64 61 74 65 20 74 68 65 20 55 49 20 65 61 72 6c 79 20 66 | ........//.update.the.UI.early.f |
b8360 | 6f 72 20 72 65 73 70 6f 6e 73 69 76 65 6e 65 73 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 61 54 | or.responsiveness.............aT |
b8380 | 61 62 2e 63 6f 6c 6c 61 70 73 65 64 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 | ab.collapsed.=.true;............ |
b83a0 | 20 69 66 20 28 61 4e 65 77 54 61 62 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 | .if.(aNewTab)...............this |
b83c0 | 2e 61 64 64 54 61 62 28 22 61 62 6f 75 74 3a 62 6c 61 6e 6b 22 29 3b 0a 20 20 20 20 20 20 20 20 | .addTab("about:blank");......... |
b83e0 | 20 20 20 20 74 68 69 73 2e 74 61 62 43 6f 6e 74 61 69 6e 65 72 2e 5f 66 69 6c 6c 54 72 61 69 6c | ....this.tabContainer._fillTrail |
b8400 | 69 6e 67 47 61 70 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 62 6c 75 72 | ingGap();.............this._blur |
b8420 | 54 61 62 28 61 54 61 62 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 72 65 | Tab(aTab);..............this._re |
b8440 | 6d 6f 76 69 6e 67 54 61 62 73 2e 73 70 6c 69 63 65 28 74 68 69 73 2e 5f 72 65 6d 6f 76 69 6e 67 | movingTabs.splice(this._removing |
b8460 | 54 61 62 73 2e 69 6e 64 65 78 4f 66 28 61 54 61 62 29 2c 20 31 29 3b 0a 0a 20 20 20 20 20 20 20 | Tabs.indexOf(aTab),.1);......... |
b8480 | 20 20 20 20 20 69 66 20 28 61 43 6c 6f 73 65 57 69 6e 64 6f 77 29 20 7b 0a 20 20 20 20 20 20 20 | .....if.(aCloseWindow).{........ |
b84a0 | 20 20 20 20 20 20 20 74 68 69 73 2e 5f 77 69 6e 64 6f 77 49 73 43 6c 6f 73 69 6e 67 20 3d 20 74 | .......this._windowIsClosing.=.t |
b84c0 | 72 75 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 77 68 69 6c 65 20 28 74 68 69 73 2e 5f | rue;...............while.(this._ |
b84e0 | 72 65 6d 6f 76 69 6e 67 54 61 62 73 2e 6c 65 6e 67 74 68 29 0a 20 20 20 20 20 20 20 20 20 20 20 | removingTabs.length)............ |
b8500 | 20 20 20 20 20 74 68 69 73 2e 5f 65 6e 64 52 65 6d 6f 76 65 54 61 62 28 5b 74 68 69 73 2e 5f 72 | .....this._endRemoveTab([this._r |
b8520 | 65 6d 6f 76 69 6e 67 54 61 62 73 5b 30 5d 2c 20 66 61 6c 73 65 5d 29 3b 0a 20 20 20 20 20 20 20 | emovingTabs[0],.false]);........ |
b8540 | 20 20 20 20 20 7d 20 65 6c 73 65 20 69 66 20 28 21 74 68 69 73 2e 5f 77 69 6e 64 6f 77 49 73 43 | .....}.else.if.(!this._windowIsC |
b8560 | 6c 6f 73 69 6e 67 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 73 65 65 20 6e | losing).{...............//.see.n |
b8580 | 6f 74 65 73 20 69 6e 20 61 64 64 54 61 62 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 75 6e | otes.in.addTab...............fun |
b85a0 | 63 74 69 6f 6e 20 5f 64 65 6c 61 79 65 64 55 70 64 61 74 65 28 61 54 61 62 43 6f 6e 74 61 69 6e | ction._delayedUpdate(aTabContain |
b85c0 | 65 72 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 54 61 62 43 6f 6e 74 61 69 | er).{.................aTabContai |
b85e0 | 6e 65 72 2e 61 64 6a 75 73 74 54 61 62 73 74 72 69 70 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 | ner.adjustTabstrip();........... |
b8600 | 20 20 20 20 20 20 61 54 61 62 43 6f 6e 74 61 69 6e 65 72 2e 6d 54 61 62 73 74 72 69 70 2e 5f 75 | ......aTabContainer.mTabstrip._u |
b8620 | 70 64 61 74 65 53 63 72 6f 6c 6c 42 75 74 74 6f 6e 73 44 69 73 61 62 6c 65 64 53 74 61 74 65 28 | pdateScrollButtonsDisabledState( |
b8640 | 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 | );...............};............. |
b8660 | 20 20 73 65 74 54 69 6d 65 6f 75 74 28 5f 64 65 6c 61 79 65 64 55 70 64 61 74 65 2c 20 30 2c 20 | ..setTimeout(_delayedUpdate,.0,. |
b8680 | 74 68 69 73 2e 74 61 62 43 6f 6e 74 61 69 6e 65 72 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 | this.tabContainer);............. |
b86a0 | 20 20 20 69 66 20 28 61 4e 65 77 54 61 62 20 26 26 20 67 55 52 4c 42 61 72 29 0a 20 20 20 20 20 | ...if.(aNewTab.&&.gURLBar)...... |
b86c0 | 20 20 20 20 20 20 20 20 20 20 20 67 55 52 4c 42 61 72 2e 66 6f 63 75 73 28 29 3b 0a 20 20 20 20 | ...........gURLBar.focus();..... |
b86e0 | 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 57 65 27 72 65 20 | ........}..............//.We're. |
b8700 | 67 6f 69 6e 67 20 74 6f 20 72 65 6d 6f 76 65 20 74 68 65 20 74 61 62 20 61 6e 64 20 74 68 65 20 | going.to.remove.the.tab.and.the. |
b8720 | 62 72 6f 77 73 65 72 20 6e 6f 77 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 43 6c 65 61 | browser.now..............//.Clea |
b8740 | 6e 20 75 70 20 6d 54 61 62 46 69 6c 74 65 72 73 20 61 6e 64 20 6d 54 61 62 4c 69 73 74 65 6e 65 | n.up.mTabFilters.and.mTabListene |
b8760 | 72 73 20 6e 6f 77 20 72 61 74 68 65 72 20 74 68 61 6e 20 69 6e 0a 20 20 20 20 20 20 20 20 20 20 | rs.now.rather.than.in........... |
b8780 | 20 20 2f 2f 20 5f 62 65 67 69 6e 52 65 6d 6f 76 65 54 61 62 2c 20 73 6f 20 74 68 61 74 20 74 68 | ..//._beginRemoveTab,.so.that.th |
b87a0 | 65 69 72 20 73 69 7a 65 20 69 73 20 61 6c 77 61 79 73 20 69 6e 20 73 79 6e 63 20 77 69 74 68 20 | eir.size.is.always.in.sync.with. |
b87c0 | 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 6e 75 6d 62 65 72 20 6f 66 20 74 61 62 | the.............//.number.of.tab |
b87e0 | 73 20 61 6e 64 20 62 72 6f 77 73 65 72 73 20 28 74 68 65 20 78 62 6c 20 64 65 73 74 72 75 63 74 | s.and.browsers.(the.xbl.destruct |
b8800 | 6f 72 20 64 65 70 65 6e 64 73 20 6f 6e 20 74 68 69 73 29 2e 0a 20 20 20 20 20 20 20 20 20 20 20 | or.depends.on.this)............. |
b8820 | 20 74 68 69 73 2e 6d 54 61 62 46 69 6c 74 65 72 73 2e 73 70 6c 69 63 65 28 61 54 61 62 2e 5f 74 | .this.mTabFilters.splice(aTab._t |
b8840 | 50 6f 73 2c 20 31 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 54 61 62 4c 69 | Pos,.1);.............this.mTabLi |
b8860 | 73 74 65 6e 65 72 73 2e 73 70 6c 69 63 65 28 61 54 61 62 2e 5f 74 50 6f 73 2c 20 31 29 3b 0a 0a | steners.splice(aTab._tPos,.1);.. |
b8880 | 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 62 72 6f 77 73 65 72 20 3d 20 74 68 69 73 2e 67 | ............var.browser.=.this.g |
b88a0 | 65 74 42 72 6f 77 73 65 72 46 6f 72 54 61 62 28 61 54 61 62 29 3b 0a 0a 20 20 20 20 20 20 20 20 | etBrowserForTab(aTab);.......... |
b88c0 | 20 20 20 20 2f 2f 20 42 65 63 61 75 73 65 20 6f 66 20 74 68 65 20 77 61 79 20 58 42 4c 20 77 6f | ....//.Because.of.the.way.XBL.wo |
b88e0 | 72 6b 73 20 28 66 69 65 6c 64 73 20 6a 75 73 74 20 73 65 74 20 4a 53 0a 20 20 20 20 20 20 20 20 | rks.(fields.just.set.JS......... |
b8900 | 20 20 20 20 2f 2f 20 70 72 6f 70 65 72 74 69 65 73 20 6f 6e 20 74 68 65 20 65 6c 65 6d 65 6e 74 | ....//.properties.on.the.element |
b8920 | 29 20 61 6e 64 20 74 68 65 20 63 6f 64 65 20 77 65 20 68 61 76 65 20 69 6e 20 70 6c 61 63 65 0a | ).and.the.code.we.have.in.place. |
b8940 | 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 74 6f 20 70 72 65 73 65 72 76 65 20 74 68 65 20 4a | ............//.to.preserve.the.J |
b8960 | 53 20 6f 62 6a 65 63 74 73 20 66 6f 72 20 61 6e 79 20 65 6c 65 6d 65 6e 74 73 20 74 68 61 74 20 | S.objects.for.any.elements.that. |
b8980 | 68 61 76 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 4a 53 20 70 72 6f 70 65 72 74 69 65 | have.............//.JS.propertie |
b89a0 | 73 20 73 65 74 20 6f 6e 20 74 68 65 6d 2c 20 74 68 65 20 62 72 6f 77 73 65 72 20 65 6c 65 6d 65 | s.set.on.them,.the.browser.eleme |
b89c0 | 6e 74 20 77 6f 6e 27 74 20 62 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 64 65 73 74 72 | nt.won't.be.............//.destr |
b89e0 | 6f 79 65 64 20 75 6e 74 69 6c 20 74 68 65 20 64 6f 63 75 6d 65 6e 74 20 67 6f 65 73 20 61 77 61 | oyed.until.the.document.goes.awa |
b8a00 | 79 2e 20 20 53 6f 20 77 65 20 66 6f 72 63 65 20 61 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f | y...So.we.force.a.............// |
b8a20 | 20 63 6c 65 61 6e 75 70 20 6f 75 72 73 65 6c 76 65 73 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 | .cleanup.ourselves.............. |
b8a40 | 2f 2f 20 54 68 69 73 20 68 61 73 20 74 6f 20 68 61 70 70 65 6e 20 62 65 66 6f 72 65 20 77 65 20 | //.This.has.to.happen.before.we. |
b8a60 | 72 65 6d 6f 76 65 20 74 68 65 20 63 68 69 6c 64 20 73 6f 20 74 68 61 74 20 74 68 65 0a 20 20 20 | remove.the.child.so.that.the.... |
b8a80 | 20 20 20 20 20 20 20 20 20 2f 2f 20 58 42 4c 20 69 6d 70 6c 65 6d 65 6e 74 61 74 69 6f 6e 20 6f | .........//.XBL.implementation.o |
b8aa0 | 66 20 6e 73 49 4f 62 73 65 72 76 65 72 20 73 74 69 6c 6c 20 77 6f 72 6b 73 2e 20 20 42 75 74 0a | f.nsIObserver.still.works...But. |
b8ac0 | 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 63 6c 65 61 72 69 6e 67 20 66 6f 63 75 73 65 64 57 | ............//.clearing.focusedW |
b8ae0 | 69 6e 64 6f 77 20 68 61 70 70 65 6e 73 20 62 65 6c 6f 77 20 62 65 63 61 75 73 65 20 69 74 20 67 | indow.happens.below.because.it.g |
b8b00 | 65 74 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 72 65 73 65 74 20 62 79 20 75 70 64 61 | ets.............//.reset.by.upda |
b8b20 | 74 65 43 75 72 72 65 6e 74 42 72 6f 77 73 65 72 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 62 72 | teCurrentBrowser..............br |
b8b40 | 6f 77 73 65 72 2e 64 65 73 74 72 6f 79 28 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 | owser.destroy();..............if |
b8b60 | 20 28 62 72 6f 77 73 65 72 20 3d 3d 20 74 68 69 73 2e 6d 43 75 72 72 65 6e 74 42 72 6f 77 73 65 | .(browser.==.this.mCurrentBrowse |
b8b80 | 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 43 75 72 72 65 6e 74 42 72 | r)...............this.mCurrentBr |
b8ba0 | 6f 77 73 65 72 20 3d 20 6e 75 6c 6c 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 49 6e | owser.=.null;..............//.In |
b8bc0 | 76 61 6c 69 64 61 74 65 20 62 72 6f 77 73 65 72 73 20 63 61 63 68 65 2c 20 61 73 20 74 68 65 20 | validate.browsers.cache,.as.the. |
b8be0 | 74 61 62 20 69 73 20 72 65 6d 6f 76 65 64 20 66 72 6f 6d 20 74 68 65 0a 20 20 20 20 20 20 20 20 | tab.is.removed.from.the......... |
b8c00 | 20 20 20 20 2f 2f 20 74 61 62 20 63 6f 6e 74 61 69 6e 65 72 2e 0a 20 20 20 20 20 20 20 20 20 20 | ....//.tab.container............ |
b8c20 | 20 20 74 68 69 73 2e 5f 62 72 6f 77 73 65 72 73 20 3d 20 6e 75 6c 6c 3b 0a 0a 20 20 20 20 20 20 | ..this._browsers.=.null;........ |
b8c40 | 20 20 20 20 20 20 2f 2f 20 52 65 6d 6f 76 65 20 74 68 65 20 74 61 62 20 2e 2e 2e 0a 20 20 20 20 | ......//.Remove.the.tab......... |
b8c60 | 20 20 20 20 20 20 20 20 74 68 69 73 2e 74 61 62 43 6f 6e 74 61 69 6e 65 72 2e 72 65 6d 6f 76 65 | ........this.tabContainer.remove |
b8c80 | 43 68 69 6c 64 28 61 54 61 62 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 2e 2e 2e | Child(aTab);..............//.... |
b8ca0 | 20 61 6e 64 20 66 69 78 20 75 70 20 74 68 65 20 5f 74 50 6f 73 20 70 72 6f 70 65 72 74 69 65 73 | .and.fix.up.the._tPos.properties |
b8cc0 | 20 69 6d 6d 65 64 69 61 74 65 6c 79 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 66 6f 72 20 28 6c | .immediately..............for.(l |
b8ce0 | 65 74 20 69 20 3d 20 61 54 61 62 2e 5f 74 50 6f 73 3b 20 69 20 3c 20 74 68 69 73 2e 6d 54 61 62 | et.i.=.aTab._tPos;.i.<.this.mTab |
b8d00 | 73 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 | s.length;.i++)...............thi |
b8d20 | 73 2e 6d 54 61 62 73 5b 69 5d 2e 5f 74 50 6f 73 20 3d 20 69 3b 0a 0a 20 20 20 20 20 20 20 20 20 | s.mTabs[i]._tPos.=.i;........... |
b8d40 | 20 20 20 2f 2f 20 75 70 64 61 74 65 20 66 69 72 73 74 2d 74 61 62 2f 6c 61 73 74 2d 74 61 62 2f | ...//.update.first-tab/last-tab/ |
b8d60 | 62 65 66 6f 72 65 73 65 6c 65 63 74 65 64 2f 61 66 74 65 72 73 65 6c 65 63 74 65 64 20 61 74 74 | beforeselected/afterselected.att |
b8d80 | 72 69 62 75 74 65 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 73 65 6c 65 63 74 65 | ributes.............this.selecte |
b8da0 | 64 54 61 62 2e 5f 73 65 6c 65 63 74 65 64 20 3d 20 74 72 75 65 3b 0a 0a 20 20 20 20 20 20 20 20 | dTab._selected.=.true;.......... |
b8dc0 | 20 20 20 20 2f 2f 20 54 68 69 73 20 77 69 6c 6c 20 75 6e 6c 6f 61 64 20 74 68 65 20 64 6f 63 75 | ....//.This.will.unload.the.docu |
b8de0 | 6d 65 6e 74 2e 20 41 6e 20 75 6e 6c 6f 61 64 20 68 61 6e 64 6c 65 72 20 63 6f 75 6c 64 20 72 65 | ment..An.unload.handler.could.re |
b8e00 | 6d 6f 76 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 64 65 70 65 6e 64 61 6e 74 20 74 61 | move.............//.dependant.ta |
b8e20 | 62 73 2c 20 73 6f 20 69 74 27 73 20 69 6d 70 6f 72 74 61 6e 74 20 74 68 61 74 20 74 68 65 20 74 | bs,.so.it's.important.that.the.t |
b8e40 | 61 62 62 72 6f 77 73 65 72 20 69 73 20 6e 6f 77 20 69 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 | abbrowser.is.now.in............. |
b8e60 | 2f 2f 20 61 20 63 6f 6e 73 69 73 74 65 6e 74 20 73 74 61 74 65 20 28 74 61 62 20 72 65 6d 6f 76 | //.a.consistent.state.(tab.remov |
b8e80 | 65 64 2c 20 74 61 62 20 70 6f 73 69 74 69 6f 6e 73 20 75 70 64 61 74 65 64 2c 20 65 74 63 2e 29 | ed,.tab.positions.updated,.etc.) |
b8ea0 | 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 41 6c 73 6f 2c 20 69 74 27 73 20 69 6d 70 6f | ..............//.Also,.it's.impo |
b8ec0 | 72 74 61 6e 74 20 74 68 61 74 20 61 6e 6f 74 68 65 72 20 74 61 62 20 68 61 73 20 62 65 65 6e 20 | rtant.that.another.tab.has.been. |
b8ee0 | 73 65 6c 65 63 74 65 64 20 62 65 66 6f 72 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 74 | selected.before.............//.t |
b8f00 | 68 65 20 70 61 6e 65 6c 20 69 73 20 72 65 6d 6f 76 65 64 3b 20 6f 74 68 65 72 77 69 73 65 2c 20 | he.panel.is.removed;.otherwise,. |
b8f20 | 61 20 72 61 6e 64 6f 6d 20 73 69 62 6c 69 6e 67 20 70 61 6e 65 6c 20 63 61 6e 20 66 6c 61 73 68 | a.random.sibling.panel.can.flash |
b8f40 | 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 50 61 6e 65 6c 43 6f 6e 74 61 69 6e | ..............this.mPanelContain |
b8f60 | 65 72 2e 72 65 6d 6f 76 65 43 68 69 6c 64 28 62 72 6f 77 73 65 72 2e 70 61 72 65 6e 74 4e 6f 64 | er.removeChild(browser.parentNod |
b8f80 | 65 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 41 73 20 74 68 65 20 70 61 6e 65 6c | e);..............//.As.the.panel |
b8fa0 | 20 69 73 20 72 65 6d 6f 76 65 64 2c 20 74 68 65 20 72 65 6d 6f 76 61 6c 20 6f 66 20 61 20 64 65 | .is.removed,.the.removal.of.a.de |
b8fc0 | 70 65 6e 64 65 6e 74 20 64 6f 63 75 6d 65 6e 74 20 63 61 6e 0a 20 20 20 20 20 20 20 20 20 20 20 | pendent.document.can............ |
b8fe0 | 20 2f 2f 20 63 61 75 73 65 20 74 68 65 20 77 68 6f 6c 65 20 77 69 6e 64 6f 77 20 74 6f 20 63 6c | .//.cause.the.whole.window.to.cl |
b9000 | 6f 73 65 2e 20 53 6f 20 61 74 20 74 68 69 73 20 70 6f 69 6e 74 2c 20 69 74 27 73 20 70 6f 73 73 | ose..So.at.this.point,.it's.poss |
b9020 | 69 62 6c 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 74 68 61 74 20 74 68 65 20 62 69 6e | ible.............//.that.the.bin |
b9040 | 64 69 6e 67 20 69 73 20 64 65 73 74 72 75 63 74 65 64 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ding.is.destructed.............. |
b9060 | 69 66 20 28 74 68 69 73 2e 6d 54 61 62 42 6f 78 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | if.(this.mTabBox)............... |
b9080 | 74 68 69 73 2e 6d 54 61 62 42 6f 78 2e 73 65 6c 65 63 74 65 64 50 61 6e 65 6c 20 3d 20 74 68 69 | this.mTabBox.selectedPanel.=.thi |
b90a0 | 73 2e 67 65 74 42 72 6f 77 73 65 72 46 6f 72 54 61 62 28 74 68 69 73 2e 6d 43 75 72 72 65 6e 74 | s.getBrowserForTab(this.mCurrent |
b90c0 | 54 61 62 29 2e 70 61 72 65 6e 74 4e 6f 64 65 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f | Tab).parentNode;..............// |
b90e0 | 20 73 65 65 20 63 6f 6d 6d 65 6e 74 20 61 62 6f 75 74 20 64 65 73 74 72 6f 79 20 61 62 6f 76 65 | .see.comment.about.destroy.above |
b9100 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 62 72 6f 77 73 65 72 2e 66 6f 63 75 73 65 64 57 69 6e 64 | .............browser.focusedWind |
b9120 | 6f 77 20 3d 20 6e 75 6c 6c 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 62 72 6f 77 73 65 72 2e 66 | ow.=.null;.............browser.f |
b9140 | 6f 63 75 73 65 64 45 6c 65 6d 65 6e 74 20 3d 20 6e 75 6c 6c 3b 0a 0a 20 20 20 20 20 20 20 20 20 | ocusedElement.=.null;........... |
b9160 | 20 20 20 69 66 20 28 61 43 6c 6f 73 65 57 69 6e 64 6f 77 29 0a 20 20 20 20 20 20 20 20 20 20 20 | ...if.(aCloseWindow)............ |
b9180 | 20 20 20 74 68 69 73 2e 5f 77 69 6e 64 6f 77 49 73 43 6c 6f 73 69 6e 67 20 3d 20 63 6c 6f 73 65 | ...this._windowIsClosing.=.close |
b91a0 | 57 69 6e 64 6f 77 28 74 72 75 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 5d 5d 3e 0a 20 20 20 20 | Window(true);...........]]>..... |
b91c0 | 20 20 20 20 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 | ....</body>.......</method>..... |
b91e0 | 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 5f 62 6c 75 72 54 61 62 22 3e 0a 20 20 20 20 | ...<method.name="_blurTab">..... |
b9200 | 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 54 61 62 22 2f 3e 0a 20 20 20 | ....<parameter.name="aTab"/>.... |
b9220 | 20 20 20 20 20 3c 62 6f 64 79 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 21 5b 43 44 41 54 41 5b 0a | .....<body>...........<![CDATA[. |
b9240 | 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 6d 43 75 72 72 65 6e 74 54 61 62 | ............if.(this.mCurrentTab |
b9260 | 20 21 3d 20 61 54 61 62 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a | .!=.aTab)...............return;. |
b9280 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 61 54 61 62 2e 6f 77 6e 65 72 20 26 26 0a 20 | .............if.(aTab.owner.&&.. |
b92a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 72 65 6d 6f 76 69 6e 67 54 61 62 | ...............this._removingTab |
b92c0 | 73 2e 69 6e 64 65 78 4f 66 28 61 54 61 62 2e 6f 77 6e 65 72 29 20 3d 3d 20 2d 31 20 26 26 0a 20 | s.indexOf(aTab.owner).==.-1.&&.. |
b92e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 50 72 65 66 73 2e 67 65 74 42 6f | ...............this.mPrefs.getBo |
b9300 | 6f 6c 50 72 65 66 28 22 62 72 6f 77 73 65 72 2e 74 61 62 73 2e 73 65 6c 65 63 74 4f 77 6e 65 72 | olPref("browser.tabs.selectOwner |
b9320 | 4f 6e 43 6c 6f 73 65 22 29 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e | OnClose")).{...............this. |
b9340 | 73 65 6c 65 63 74 65 64 54 61 62 20 3d 20 61 54 61 62 2e 6f 77 6e 65 72 3b 0a 20 20 20 20 20 20 | selectedTab.=.aTab.owner;....... |
b9360 | 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 | ........return;.............}... |
b9380 | 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 74 61 62 20 3d 20 61 54 61 62 3b 0a 0a 20 20 20 20 | ...........var.tab.=.aTab;...... |
b93a0 | 20 20 20 20 20 20 20 20 64 6f 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 61 62 20 3d | ........do.{...............tab.= |
b93c0 | 20 74 61 62 2e 6e 65 78 74 53 69 62 6c 69 6e 67 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 20 | .tab.nextSibling;.............}. |
b93e0 | 77 68 69 6c 65 20 28 74 61 62 20 26 26 20 74 68 69 73 2e 5f 72 65 6d 6f 76 69 6e 67 54 61 62 73 | while.(tab.&&.this._removingTabs |
b9400 | 2e 69 6e 64 65 78 4f 66 28 74 61 62 29 20 21 3d 20 2d 31 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 | .indexOf(tab).!=.-1);........... |
b9420 | 20 20 20 69 66 20 28 21 74 61 62 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 61 62 | ...if.(!tab).{...............tab |
b9440 | 20 3d 20 61 54 61 62 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 6f 20 7b 0a 20 20 20 | .=.aTab;................do.{.... |
b9460 | 20 20 20 20 20 20 20 20 20 20 20 20 20 74 61 62 20 3d 20 74 61 62 2e 70 72 65 76 69 6f 75 73 53 | .............tab.=.tab.previousS |
b9480 | 69 62 6c 69 6e 67 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 20 77 68 69 6c 65 20 28 74 | ibling;...............}.while.(t |
b94a0 | 61 62 20 26 26 20 74 68 69 73 2e 5f 72 65 6d 6f 76 69 6e 67 54 61 62 73 2e 69 6e 64 65 78 4f 66 | ab.&&.this._removingTabs.indexOf |
b94c0 | 28 74 61 62 29 20 21 3d 20 2d 31 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 | (tab).!=.-1);.............}..... |
b94e0 | 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 73 65 6c 65 63 74 65 64 54 61 62 20 3d 20 74 61 62 3b | .........this.selectedTab.=.tab; |
b9500 | 0a 20 20 20 20 20 20 20 20 20 20 5d 5d 3e 0a 20 20 20 20 20 20 20 20 3c 2f 62 6f 64 79 3e 0a 20 | ...........]]>.........</body>.. |
b9520 | 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 | .....</method>........<method.na |
b9540 | 6d 65 3d 22 73 77 61 70 42 72 6f 77 73 65 72 73 41 6e 64 43 6c 6f 73 65 4f 74 68 65 72 22 3e 0a | me="swapBrowsersAndCloseOther">. |
b9560 | 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 4f 75 72 54 61 62 | ........<parameter.name="aOurTab |
b9580 | 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 4f 74 | "/>.........<parameter.name="aOt |
b95a0 | 68 65 72 54 61 62 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 0a 20 20 20 20 20 20 20 | herTab"/>.........<body>........ |
b95c0 | 20 20 20 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 54 68 61 74 | ...<![CDATA[.............//.That |
b95e0 | 27 73 20 67 42 72 6f 77 73 65 72 20 66 6f 72 20 74 68 65 20 6f 74 68 65 72 20 77 69 6e 64 6f 77 | 's.gBrowser.for.the.other.window |
b9600 | 2c 20 6e 6f 74 20 74 68 65 20 74 61 62 27 73 20 62 72 6f 77 73 65 72 21 0a 20 20 20 20 20 20 20 | ,.not.the.tab's.browser!........ |
b9620 | 20 20 20 20 20 76 61 72 20 72 65 6d 6f 74 65 42 72 6f 77 73 65 72 20 3d 0a 20 20 20 20 20 20 20 | .....var.remoteBrowser.=........ |
b9640 | 20 20 20 20 20 20 20 61 4f 74 68 65 72 54 61 62 2e 6f 77 6e 65 72 44 6f 63 75 6d 65 6e 74 2e 64 | .......aOtherTab.ownerDocument.d |
b9660 | 65 66 61 75 6c 74 56 69 65 77 2e 67 65 74 42 72 6f 77 73 65 72 28 29 3b 0a 0a 20 20 20 20 20 20 | efaultView.getBrowser();........ |
b9680 | 20 20 20 20 20 20 2f 2f 20 46 69 72 73 74 2c 20 73 74 61 72 74 20 74 65 61 72 64 6f 77 6e 20 6f | ......//.First,.start.teardown.o |
b96a0 | 66 20 74 68 65 20 6f 74 68 65 72 20 62 72 6f 77 73 65 72 2e 20 20 4d 61 6b 65 20 73 75 72 65 20 | f.the.other.browser...Make.sure. |
b96c0 | 74 6f 20 6e 6f 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 66 69 72 65 20 74 68 65 20 62 | to.not.............//.fire.the.b |
b96e0 | 65 66 6f 72 65 75 6e 6c 6f 61 64 20 65 76 65 6e 74 20 69 6e 20 74 68 65 20 70 72 6f 63 65 73 73 | eforeunload.event.in.the.process |
b9700 | 2e 20 20 43 6c 6f 73 65 20 74 68 65 20 6f 74 68 65 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f | ...Close.the.other............./ |
b9720 | 2f 20 77 69 6e 64 6f 77 20 69 66 20 74 68 69 73 20 77 61 73 20 69 74 73 20 6c 61 73 74 20 74 61 | /.window.if.this.was.its.last.ta |
b9740 | 62 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 65 6e 64 52 65 6d 6f 76 65 41 72 67 73 | b..............var.endRemoveArgs |
b9760 | 20 3d 20 72 65 6d 6f 74 65 42 72 6f 77 73 65 72 2e 5f 62 65 67 69 6e 52 65 6d 6f 76 65 54 61 62 | .=.remoteBrowser._beginRemoveTab |
b9780 | 28 61 4f 74 68 65 72 54 61 62 2c 20 74 72 75 65 2c 20 74 72 75 65 29 3b 0a 0a 20 20 20 20 20 20 | (aOtherTab,.true,.true);........ |
b97a0 | 20 20 20 20 20 20 2f 2f 20 55 6e 68 6f 6f 6b 20 6f 75 72 20 70 72 6f 67 72 65 73 73 20 6c 69 73 | ......//.Unhook.our.progress.lis |
b97c0 | 74 65 6e 65 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 6f 75 72 49 6e 64 65 78 20 3d | tener.............var.ourIndex.= |
b97e0 | 20 61 4f 75 72 54 61 62 2e 5f 74 50 6f 73 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6e 73 | .aOurTab._tPos;.............cons |
b9800 | 74 20 66 69 6c 74 65 72 20 3d 20 74 68 69 73 2e 6d 54 61 62 46 69 6c 74 65 72 73 5b 6f 75 72 49 | t.filter.=.this.mTabFilters[ourI |
b9820 | 6e 64 65 78 5d 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 74 61 62 4c 69 73 74 65 6e | ndex];.............var.tabListen |
b9840 | 65 72 20 3d 20 74 68 69 73 2e 6d 54 61 62 4c 69 73 74 65 6e 65 72 73 5b 6f 75 72 49 6e 64 65 78 | er.=.this.mTabListeners[ourIndex |
b9860 | 5d 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 6f 75 72 42 72 6f 77 73 65 72 20 3d 20 | ];.............var.ourBrowser.=. |
b9880 | 74 68 69 73 2e 67 65 74 42 72 6f 77 73 65 72 46 6f 72 54 61 62 28 61 4f 75 72 54 61 62 29 3b 0a | this.getBrowserForTab(aOurTab);. |
b98a0 | 20 20 20 20 20 20 20 20 20 20 20 20 6f 75 72 42 72 6f 77 73 65 72 2e 77 65 62 50 72 6f 67 72 65 | ............ourBrowser.webProgre |
b98c0 | 73 73 2e 72 65 6d 6f 76 65 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 28 66 69 6c 74 65 72 | ss.removeProgressListener(filter |
b98e0 | 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 66 69 6c 74 65 72 2e 72 65 6d 6f 76 65 50 72 6f 67 | );.............filter.removeProg |
b9900 | 72 65 73 73 4c 69 73 74 65 6e 65 72 28 74 61 62 4c 69 73 74 65 6e 65 72 29 3b 0a 20 20 20 20 20 | ressListener(tabListener);...... |
b9920 | 20 20 20 20 20 20 20 76 61 72 20 74 61 62 4c 69 73 74 65 6e 65 72 42 6c 61 6e 6b 20 3d 20 74 61 | .......var.tabListenerBlank.=.ta |
b9940 | 62 4c 69 73 74 65 6e 65 72 2e 6d 42 6c 61 6e 6b 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f | bListener.mBlank;............../ |
b9960 | 2f 20 57 6f 72 6b 61 72 6f 75 6e 64 73 20 66 6f 72 20 62 75 67 20 34 35 38 36 39 37 0a 20 20 20 | /.Workarounds.for.bug.458697.... |
b9980 | 20 20 20 20 20 20 20 20 20 2f 2f 20 49 63 6f 6e 20 6d 69 67 68 74 20 68 61 76 65 20 62 65 65 6e | .........//.Icon.might.have.been |
b99a0 | 20 73 65 74 20 6f 6e 20 44 4f 4d 4c 69 6e 6b 41 64 64 65 64 2c 20 64 6f 6e 27 74 20 6f 76 65 72 | .set.on.DOMLinkAdded,.don't.over |
b99c0 | 72 69 64 65 20 74 68 61 74 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 6f 75 72 42 | ride.that..............if.(!ourB |
b99e0 | 72 6f 77 73 65 72 2e 6d 49 63 6f 6e 55 52 4c 20 26 26 20 61 4f 74 68 65 72 54 61 62 2e 6c 69 6e | rowser.mIconURL.&&.aOtherTab.lin |
b9a00 | 6b 65 64 42 72 6f 77 73 65 72 2e 6d 49 63 6f 6e 55 52 4c 29 0a 20 20 20 20 20 20 20 20 20 20 20 | kedBrowser.mIconURL)............ |
b9a20 | 20 20 20 74 68 69 73 2e 73 65 74 49 63 6f 6e 28 61 4f 75 72 54 61 62 2c 20 61 4f 74 68 65 72 54 | ...this.setIcon(aOurTab,.aOtherT |
b9a40 | 61 62 2e 6c 69 6e 6b 65 64 42 72 6f 77 73 65 72 2e 6d 49 63 6f 6e 55 52 4c 29 3b 0a 20 20 20 20 | ab.linkedBrowser.mIconURL);..... |
b9a60 | 20 20 20 20 20 20 20 20 76 61 72 20 69 73 42 75 73 79 20 3d 20 61 4f 74 68 65 72 54 61 62 2e 68 | ........var.isBusy.=.aOtherTab.h |
b9a80 | 61 73 41 74 74 72 69 62 75 74 65 28 22 62 75 73 79 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 | asAttribute("busy");............ |
b9aa0 | 20 69 66 20 28 69 73 42 75 73 79 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 4f 75 | .if.(isBusy).{...............aOu |
b9ac0 | 72 54 61 62 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 62 75 73 79 22 2c 20 22 74 72 75 65 22 | rTab.setAttribute("busy",."true" |
b9ae0 | 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 61 4f 75 72 54 61 62 20 3d 3d 20 | );...............if.(aOurTab.==. |
b9b00 | 74 68 69 73 2e 73 65 6c 65 63 74 65 64 54 61 62 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | this.selectedTab)............... |
b9b20 | 20 20 74 68 69 73 2e 6d 49 73 42 75 73 79 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 20 | ..this.mIsBusy.=.true;.......... |
b9b40 | 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 53 77 61 70 20 74 68 65 20 64 6f | ...}..............//.Swap.the.do |
b9b60 | 63 73 68 65 6c 6c 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 6f 75 72 42 72 6f 77 73 65 72 2e 73 | cshells.............ourBrowser.s |
b9b80 | 77 61 70 44 6f 63 53 68 65 6c 6c 73 28 61 4f 74 68 65 72 54 61 62 2e 6c 69 6e 6b 65 64 42 72 6f | wapDocShells(aOtherTab.linkedBro |
b9ba0 | 77 73 65 72 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 46 69 6e 69 73 68 20 74 65 | wser);..............//.Finish.te |
b9bc0 | 61 72 69 6e 67 20 64 6f 77 6e 20 74 68 65 20 74 61 62 20 74 68 61 74 27 73 20 67 6f 69 6e 67 20 | aring.down.the.tab.that's.going. |
b9be0 | 61 77 61 79 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 6d 6f 74 65 42 72 6f 77 73 65 72 2e | away..............remoteBrowser. |
b9c00 | 5f 65 6e 64 52 65 6d 6f 76 65 54 61 62 28 65 6e 64 52 65 6d 6f 76 65 41 72 67 73 29 3b 0a 0a 20 | _endRemoveTab(endRemoveArgs);... |
b9c20 | 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 52 65 73 74 6f 72 65 20 74 68 65 20 70 72 6f 67 72 65 | ...........//.Restore.the.progre |
b9c40 | 73 73 20 6c 69 73 74 65 6e 65 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 61 62 4c 69 73 74 65 | ss.listener.............tabListe |
b9c60 | 6e 65 72 20 3d 20 74 68 69 73 2e 6d 54 61 62 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 28 | ner.=.this.mTabProgressListener( |
b9c80 | 61 4f 75 72 54 61 62 2c 20 6f 75 72 42 72 6f 77 73 65 72 2c 0a 20 20 20 20 20 20 20 20 20 20 20 | aOurTab,.ourBrowser,............ |
b9ca0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
b9cc0 | 20 20 20 20 20 20 20 20 20 74 61 62 4c 69 73 74 65 6e 65 72 42 6c 61 6e 6b 29 3b 0a 20 20 20 20 | .........tabListenerBlank);..... |
b9ce0 | 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 54 61 62 4c 69 73 74 65 6e 65 72 73 5b 6f 75 72 49 6e | ........this.mTabListeners[ourIn |
b9d00 | 64 65 78 5d 20 3d 20 74 61 62 4c 69 73 74 65 6e 65 72 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 | dex].=.tabListener;............. |
b9d20 | 66 69 6c 74 65 72 2e 61 64 64 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 28 74 61 62 4c 69 | filter.addProgressListener(tabLi |
b9d40 | 73 74 65 6e 65 72 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 43 6f 6d 70 6f 6e 65 6e 74 73 | stener,...............Components |
b9d60 | 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 57 65 62 50 72 6f 67 72 65 73 73 2e 4e 4f 54 49 46 | .interfaces.nsIWebProgress.NOTIF |
b9d80 | 59 5f 41 4c 4c 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 6f 75 72 42 72 6f 77 73 65 72 2e | Y_ALL);..............ourBrowser. |
b9da0 | 77 65 62 50 72 6f 67 72 65 73 73 2e 61 64 64 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 28 | webProgress.addProgressListener( |
b9dc0 | 66 69 6c 74 65 72 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 43 6f 6d 70 6f 6e 65 6e 74 73 | filter,...............Components |
b9de0 | 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 57 65 62 50 72 6f 67 72 65 73 73 2e 4e 4f 54 49 46 | .interfaces.nsIWebProgress.NOTIF |
b9e00 | 59 5f 41 4c 4c 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 69 73 42 75 73 79 29 | Y_ALL);..............if.(isBusy) |
b9e20 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 73 65 74 54 61 62 54 69 74 6c 65 4c | ...............this.setTabTitleL |
b9e40 | 6f 61 64 69 6e 67 28 61 4f 75 72 54 61 62 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 65 6c 73 | oading(aOurTab);.............els |
b9e60 | 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 73 65 74 54 61 62 54 69 74 6c 65 | e...............this.setTabTitle |
b9e80 | 28 61 4f 75 72 54 61 62 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 75 70 64 61 | (aOurTab);.............this.upda |
b9ea0 | 74 65 49 63 6f 6e 28 61 4f 75 72 54 61 62 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f | teIcon(aOurTab);..............// |
b9ec0 | 20 49 66 20 74 68 65 20 74 61 62 20 77 61 73 20 61 6c 72 65 61 64 79 20 73 65 6c 65 63 74 65 64 | .If.the.tab.was.already.selected |
b9ee0 | 20 28 74 68 69 73 20 68 61 70 70 70 65 6e 73 20 69 6e 20 74 68 65 20 73 63 65 6e 61 72 69 6f 0a | .(this.happpens.in.the.scenario. |
b9f00 | 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 6f 66 20 72 65 70 6c 61 63 65 54 61 62 57 69 74 68 | ............//.of.replaceTabWith |
b9f20 | 57 69 6e 64 6f 77 29 2c 20 6e 6f 74 69 66 79 20 6f 6e 4c 6f 63 61 74 69 6f 6e 43 68 61 6e 67 65 | Window),.notify.onLocationChange |
b9f40 | 2c 20 65 74 63 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 61 4f 75 72 54 61 62 20 3d | ,.etc..............if.(aOurTab.= |
b9f60 | 3d 20 74 68 69 73 2e 73 65 6c 65 63 74 65 64 54 61 62 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 | =.this.selectedTab)............. |
b9f80 | 20 20 74 68 69 73 2e 75 70 64 61 74 65 43 75 72 72 65 6e 74 42 72 6f 77 73 65 72 28 74 72 75 65 | ..this.updateCurrentBrowser(true |
b9fa0 | 29 3b 0a 20 20 20 20 20 20 20 20 20 20 5d 5d 3e 0a 20 20 20 20 20 20 20 20 3c 2f 62 6f 64 79 3e | );...........]]>.........</body> |
b9fc0 | 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 | .......</method>........<method. |
b9fe0 | 6e 61 6d 65 3d 22 72 65 6c 6f 61 64 41 6c 6c 54 61 62 73 22 3e 0a 20 20 20 20 20 20 20 20 3c 62 | name="reloadAllTabs">.........<b |
ba000 | 6f 64 79 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 | ody>...........<![CDATA[........ |
ba020 | 20 20 20 20 20 76 61 72 20 6c 20 3d 20 74 68 69 73 2e 6d 50 61 6e 65 6c 43 6f 6e 74 61 69 6e 65 | .....var.l.=.this.mPanelContaine |
ba040 | 72 2e 63 68 69 6c 64 4e 6f 64 65 73 2e 6c 65 6e 67 74 68 3b 0a 20 20 20 20 20 20 20 20 20 20 20 | r.childNodes.length;............ |
ba060 | 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 6c 3b 20 69 2b 2b 29 20 7b 0a 20 | .for.(var.i.=.0;.i.<.l;.i++).{.. |
ba080 | 20 20 20 20 20 20 20 20 20 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | .............try.{.............. |
ba0a0 | 20 20 20 74 68 69 73 2e 67 65 74 42 72 6f 77 73 65 72 41 74 49 6e 64 65 78 28 69 29 2e 72 65 6c | ...this.getBrowserAtIndex(i).rel |
ba0c0 | 6f 61 64 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 20 63 61 74 63 68 20 28 65 29 | oad();...............}.catch.(e) |
ba0e0 | 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 69 67 6e 6f 72 65 20 66 61 69 | .{.................//.ignore.fai |
ba100 | 6c 75 72 65 20 74 6f 20 72 65 6c 6f 61 64 20 73 6f 20 6f 74 68 65 72 73 20 77 69 6c 6c 20 62 65 | lure.to.reload.so.others.will.be |
ba120 | 20 72 65 6c 6f 61 64 65 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 | .reloaded...............}....... |
ba140 | 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 5d 5d 3e 0a 20 20 20 20 20 20 20 20 3c 2f | ......}...........]]>.........</ |
ba160 | 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 | body>.......</method>........<me |
ba180 | 74 68 6f 64 20 6e 61 6d 65 3d 22 72 65 6c 6f 61 64 54 61 62 22 3e 0a 20 20 20 20 20 20 20 20 3c | thod.name="reloadTab">.........< |
ba1a0 | 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 54 61 62 22 2f 3e 0a 20 20 20 20 20 20 20 20 | parameter.name="aTab"/>......... |
ba1c0 | 3c 62 6f 64 79 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 | <body>...........<![CDATA[...... |
ba1e0 | 20 20 20 20 20 20 20 74 68 69 73 2e 67 65 74 42 72 6f 77 73 65 72 46 6f 72 54 61 62 28 61 54 61 | .......this.getBrowserForTab(aTa |
ba200 | 62 29 2e 72 65 6c 6f 61 64 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 5d 5d 3e 0a 20 20 20 20 20 | b).reload();...........]]>...... |
ba220 | 20 20 20 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 | ...</body>.......</method>...... |
ba240 | 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 6f 6e 54 61 62 42 61 72 44 62 6c 43 6c 69 63 6b | ..<method.name="onTabBarDblClick |
ba260 | 22 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 45 76 65 | ">.........<parameter.name="aEve |
ba280 | 6e 74 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 0a 20 20 20 20 20 20 20 20 20 20 3c | nt"/>.........<body>...........< |
ba2a0 | 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 53 65 65 20 68 61 63 6b | ![CDATA[.............//.See.hack |
ba2c0 | 20 6e 6f 74 65 20 69 6e 20 74 68 65 20 74 61 62 62 72 6f 77 73 65 72 2d 63 6c 6f 73 65 2d 62 75 | .note.in.the.tabbrowser-close-bu |
ba2e0 | 74 74 6f 6e 20 62 69 6e 64 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 74 68 | tton.binding.............if.(!th |
ba300 | 69 73 2e 5f 62 6c 6f 63 6b 44 62 6c 43 6c 69 63 6b 20 26 26 20 61 45 76 65 6e 74 2e 62 75 74 74 | is._blockDblClick.&&.aEvent.butt |
ba320 | 6f 6e 20 3d 3d 20 30 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 45 76 65 6e | on.==.0.&&.................aEven |
ba340 | 74 2e 6f 72 69 67 69 6e 61 6c 54 61 72 67 65 74 2e 6c 6f 63 61 6c 4e 61 6d 65 20 3d 3d 20 22 62 | t.originalTarget.localName.==."b |
ba360 | 6f 78 22 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 78 78 78 20 74 68 69 73 | ox").{...............//.xxx.this |
ba380 | 20 6e 65 65 64 73 20 74 6f 20 63 68 65 63 6b 20 74 68 61 74 20 77 65 27 72 65 20 69 6e 20 74 68 | .needs.to.check.that.we're.in.th |
ba3a0 | 65 20 65 6d 70 74 79 20 61 72 65 61 20 6f 66 20 74 68 65 20 74 61 62 73 74 72 69 70 0a 20 20 20 | e.empty.area.of.the.tabstrip.... |
ba3c0 | 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 65 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 63 72 65 61 | ...........var.e.=.document.crea |
ba3e0 | 74 65 45 76 65 6e 74 28 22 45 76 65 6e 74 73 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | teEvent("Events");.............. |
ba400 | 20 65 2e 69 6e 69 74 45 76 65 6e 74 28 22 4e 65 77 54 61 62 22 2c 20 74 72 75 65 2c 20 74 72 75 | .e.initEvent("NewTab",.true,.tru |
ba420 | 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 64 69 73 70 61 74 63 68 45 | e);...............this.dispatchE |
ba440 | 76 65 6e 74 28 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 | vent(e);.............}.......... |
ba460 | 20 5d 5d 3e 0a 20 20 20 20 20 20 20 20 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 | .]]>.........</body>.......</met |
ba480 | 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 61 64 64 50 72 6f | hod>........<method.name="addPro |
ba4a0 | 67 72 65 73 73 4c 69 73 74 65 6e 65 72 22 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 | gressListener">.........<paramet |
ba4c0 | 65 72 20 6e 61 6d 65 3d 22 61 4c 69 73 74 65 6e 65 72 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 70 | er.name="aListener"/>.........<p |
ba4e0 | 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 4d 61 73 6b 22 2f 3e 0a 20 20 20 20 20 20 20 20 | arameter.name="aMask"/>......... |
ba500 | 3c 62 6f 64 79 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 | <body>...........<![CDATA[...... |
ba520 | 20 20 20 20 20 20 20 69 66 20 28 21 74 68 69 73 2e 6d 41 64 64 50 72 6f 67 72 65 73 73 4c 69 73 | .......if.(!this.mAddProgressLis |
ba540 | 74 65 6e 65 72 57 61 73 43 61 6c 6c 65 64 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | tenerWasCalled).{............... |
ba560 | 74 68 69 73 2e 6d 41 64 64 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 57 61 73 43 61 6c 6c | this.mAddProgressListenerWasCall |
ba580 | 65 64 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 61 75 74 | ed.=.true;...............var.aut |
ba5a0 | 6f 48 69 64 65 20 3d 20 74 68 69 73 2e 6d 50 72 65 66 73 2e 67 65 74 42 6f 6f 6c 50 72 65 66 28 | oHide.=.this.mPrefs.getBoolPref( |
ba5c0 | 22 62 72 6f 77 73 65 72 2e 74 61 62 73 2e 61 75 74 6f 48 69 64 65 22 29 3b 0a 20 20 20 20 20 20 | "browser.tabs.autoHide");....... |
ba5e0 | 20 20 20 20 20 20 20 20 76 61 72 20 74 61 62 53 74 72 69 70 48 69 64 65 20 3d 20 21 77 69 6e 64 | ........var.tabStripHide.=.!wind |
ba600 | 6f 77 2e 74 6f 6f 6c 62 61 72 2e 76 69 73 69 62 6c 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ow.toolbar.visible;............. |
ba620 | 20 20 69 66 20 28 21 61 75 74 6f 48 69 64 65 20 26 26 20 21 74 61 62 53 74 72 69 70 48 69 64 65 | ..if.(!autoHide.&&.!tabStripHide |
ba640 | 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 73 65 74 53 74 72 69 70 56 | ).................this.setStripV |
ba660 | 69 73 69 62 69 6c 69 74 79 54 6f 28 74 72 75 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d | isibilityTo(true);.............} |
ba680 | 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 74 68 69 73 2e 6d 54 61 62 62 65 64 4d | ..............if.(!this.mTabbedM |
ba6a0 | 6f 64 65 20 26 26 20 74 68 69 73 2e 6d 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 73 2e 6c | ode.&&.this.mProgressListeners.l |
ba6c0 | 65 6e 67 74 68 20 3d 3d 20 31 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 49 | ength.==.1).{...............//.I |
ba6e0 | 66 20 77 65 20 61 72 65 20 61 64 64 69 6e 67 20 61 20 32 6e 64 20 70 72 6f 67 72 65 73 73 20 6c | f.we.are.adding.a.2nd.progress.l |
ba700 | 69 73 74 65 6e 65 72 2c 20 77 65 20 6e 65 65 64 20 74 6f 20 65 6e 74 65 72 20 74 61 62 62 65 64 | istener,.we.need.to.enter.tabbed |
ba720 | 20 6d 6f 64 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 62 65 63 61 75 73 65 20 74 | .mode...............//.because.t |
ba740 | 68 65 20 62 72 6f 77 73 65 72 20 73 74 61 74 75 73 20 66 69 6c 74 65 72 20 63 61 6e 20 6f 6e 6c | he.browser.status.filter.can.onl |
ba760 | 79 20 68 61 6e 64 6c 65 20 6f 6e 65 20 70 72 6f 67 72 65 73 73 20 6c 69 73 74 65 6e 65 72 2e 0a | y.handle.one.progress.listener.. |
ba780 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 49 6e 20 74 61 62 62 65 64 20 6d 6f 64 65 2c | ..............//.In.tabbed.mode, |
ba7a0 | 20 6d 54 61 62 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 20 69 73 20 75 73 65 64 20 77 68 | .mTabProgressListener.is.used.wh |
ba7c0 | 69 63 68 20 77 69 6c 6c 20 69 74 65 72 61 74 65 20 6f 76 65 72 20 61 6c 6c 20 6c 69 73 74 65 6e | ich.will.iterate.over.all.listen |
ba7e0 | 65 72 73 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 65 6e 74 65 72 54 61 62 | ers................this.enterTab |
ba800 | 62 65 64 4d 6f 64 65 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 | bedMode();.............}........ |
ba820 | 20 20 20 20 20 20 74 68 69 73 2e 6d 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 73 2e 70 75 | ......this.mProgressListeners.pu |
ba840 | 73 68 28 61 4c 69 73 74 65 6e 65 72 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 | sh(aListener);..............if.( |
ba860 | 21 74 68 69 73 2e 6d 54 61 62 62 65 64 4d 6f 64 65 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 | !this.mTabbedMode).{............ |
ba880 | 20 20 20 2f 2f 20 49 66 20 73 6f 6d 65 6f 6e 65 20 64 6f 65 73 20 74 68 69 73 3a 0a 20 20 20 20 | ...//.If.someone.does.this:..... |
ba8a0 | 20 20 20 20 20 20 20 20 20 20 2f 2f 20 61 64 64 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 | ..........//.addProgressListener |
ba8c0 | 2c 20 72 65 6d 6f 76 65 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 2c 20 61 64 64 50 72 6f | ,.removeProgressListener,.addPro |
ba8e0 | 67 72 65 73 73 4c 69 73 74 65 6e 65 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 64 | gressListener...............//.d |
ba900 | 6f 6e 27 74 20 63 72 65 61 74 65 20 61 20 6e 65 77 20 66 69 6c 74 65 72 3b 20 72 65 75 73 65 20 | on't.create.a.new.filter;.reuse. |
ba920 | 74 68 65 20 65 78 69 73 74 69 6e 67 20 66 69 6c 74 65 72 2e 0a 20 20 20 20 20 20 20 20 20 20 20 | the.existing.filter............. |
ba940 | 20 20 20 69 66 20 28 74 68 69 73 2e 6d 54 61 62 46 69 6c 74 65 72 73 2e 6c 65 6e 67 74 68 20 3d | ...if.(this.mTabFilters.length.= |
ba960 | 3d 20 30 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 68 6f 6f 6b 20 61 | =.0).{.................//.hook.a |
ba980 | 20 66 69 6c 74 65 72 20 75 70 20 74 6f 20 6f 75 72 20 66 69 72 73 74 20 62 72 6f 77 73 65 72 0a | .filter.up.to.our.first.browser. |
ba9a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6e 73 74 20 66 69 6c 74 65 72 20 3d 20 43 | ................const.filter.=.C |
ba9c0 | 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f | omponents.classes["@mozilla.org/ |
ba9e0 | 61 70 70 73 68 65 6c 6c 2f 63 6f 6d 70 6f 6e 65 6e 74 2f 62 72 6f 77 73 65 72 2d 73 74 61 74 75 | appshell/component/browser-statu |
baa00 | 73 2d 66 69 6c 74 65 72 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | s-filter;1"].................... |
baa20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 63 72 65 61 74 65 49 6e 73 | .......................createIns |
baa40 | 74 61 6e 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 57 | tance(Components.interfaces.nsIW |
baa60 | 65 62 50 72 6f 67 72 65 73 73 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 | ebProgress);.................thi |
baa80 | 73 2e 6d 54 61 62 46 69 6c 74 65 72 73 5b 30 5d 20 3d 20 66 69 6c 74 65 72 3b 0a 20 20 20 20 20 | s.mTabFilters[0].=.filter;...... |
baaa0 | 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 43 75 72 72 65 6e 74 42 72 6f 77 73 65 72 2e | ...........this.mCurrentBrowser. |
baac0 | 77 65 62 50 72 6f 67 72 65 73 73 2e 61 64 64 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 28 | webProgress.addProgressListener( |
baae0 | 66 69 6c 74 65 72 2c 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 | filter,.Components.interfaces.ns |
bab00 | 49 57 65 62 50 72 6f 67 72 65 73 73 2e 4e 4f 54 49 46 59 5f 41 4c 4c 29 3b 0a 20 20 20 20 20 20 | IWebProgress.NOTIFY_ALL);....... |
bab20 | 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 44 69 72 65 | ........}................//.Dire |
bab40 | 63 74 6c 79 20 68 6f 6f 6b 20 74 68 65 20 6c 69 73 74 65 6e 65 72 20 75 70 20 74 6f 20 74 68 65 | ctly.hook.the.listener.up.to.the |
bab60 | 20 66 69 6c 74 65 72 20 66 6f 72 20 62 65 74 74 65 72 20 70 65 72 66 6f 72 6d 61 6e 63 65 0a 20 | .filter.for.better.performance.. |
bab80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 54 61 62 46 69 6c 74 65 72 73 5b 30 5d | .............this.mTabFilters[0] |
baba0 | 2e 61 64 64 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 28 61 4c 69 73 74 65 6e 65 72 2c 20 | .addProgressListener(aListener,. |
babc0 | 61 4d 61 73 6b 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 | aMask);.............}........... |
babe0 | 5d 5d 3e 0a 20 20 20 20 20 20 20 20 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 | ]]>.........</body>.......</meth |
bac00 | 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 72 65 6d 6f 76 65 50 | od>........<method.name="removeP |
bac20 | 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 22 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d | rogressListener">.........<param |
bac40 | 65 74 65 72 20 6e 61 6d 65 3d 22 61 4c 69 73 74 65 6e 65 72 22 2f 3e 0a 20 20 20 20 20 20 20 20 | eter.name="aListener"/>......... |
bac60 | 3c 62 6f 64 79 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 | <body>...........<![CDATA[...... |
bac80 | 20 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 74 68 69 73 2e | .......for.(var.i.=.0;.i.<.this. |
baca0 | 6d 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 73 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 20 | mProgressListeners.length;.i++). |
bacc0 | 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 6d 50 72 6f 67 72 65 | {...............if.(this.mProgre |
bace0 | 73 73 4c 69 73 74 65 6e 65 72 73 5b 69 5d 20 3d 3d 20 61 4c 69 73 74 65 6e 65 72 29 20 7b 0a 20 | ssListeners[i].==.aListener).{.. |
bad00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 50 72 6f 67 72 65 73 73 4c 69 73 | ...............this.mProgressLis |
bad20 | 74 65 6e 65 72 73 2e 73 70 6c 69 63 65 28 69 2c 20 31 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 | teners.splice(i,.1);............ |
bad40 | 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 | .....break;...............}..... |
bad60 | 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 74 68 69 73 | ........}..............if.(!this |
bad80 | 2e 6d 54 61 62 62 65 64 4d 6f 64 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 44 | .mTabbedMode)...............//.D |
bada0 | 6f 6e 27 74 20 66 6f 72 67 65 74 20 74 6f 20 72 65 6d 6f 76 65 20 69 74 20 66 72 6f 6d 20 74 68 | on't.forget.to.remove.it.from.th |
badc0 | 65 20 66 69 6c 74 65 72 20 77 65 20 68 6f 6f 6b 65 64 20 69 74 20 75 70 20 74 6f 0a 20 20 20 20 | e.filter.we.hooked.it.up.to..... |
bade0 | 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 54 61 62 46 69 6c 74 65 72 73 5b 30 5d 2e 72 65 | ..........this.mTabFilters[0].re |
bae00 | 6d 6f 76 65 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 28 61 4c 69 73 74 65 6e 65 72 29 3b | moveProgressListener(aListener); |
bae20 | 0a 20 20 20 20 20 20 20 20 20 5d 5d 3e 0a 20 20 20 20 20 20 20 20 3c 2f 62 6f 64 79 3e 0a 20 20 | ..........]]>.........</body>... |
bae40 | 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d | ....</method>........<method.nam |
bae60 | 65 3d 22 61 64 64 54 61 62 73 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 22 3e 0a 20 20 20 | e="addTabsProgressListener">.... |
bae80 | 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 4c 69 73 74 65 6e 65 72 22 | .....<parameter.name="aListener" |
baea0 | 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 | />.........<body>...........if.( |
baec0 | 21 74 68 69 73 2e 6d 54 61 62 62 65 64 4d 6f 64 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 | !this.mTabbedMode).............t |
baee0 | 68 69 73 2e 65 6e 74 65 72 54 61 62 62 65 64 4d 6f 64 65 28 29 3b 0a 20 20 20 20 20 20 20 20 20 | his.enterTabbedMode();.......... |
baf00 | 20 74 68 69 73 2e 6d 54 61 62 73 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 73 2e 70 75 73 | .this.mTabsProgressListeners.pus |
baf20 | 68 28 61 4c 69 73 74 65 6e 65 72 29 3b 0a 20 20 20 20 20 20 20 20 3c 2f 62 6f 64 79 3e 0a 20 20 | h(aListener);.........</body>... |
baf40 | 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d | ....</method>........<method.nam |
baf60 | 65 3d 22 72 65 6d 6f 76 65 54 61 62 73 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 22 3e 0a | e="removeTabsProgressListener">. |
baf80 | 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 4c 69 73 74 65 6e | ........<parameter.name="aListen |
bafa0 | 65 72 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 0a 20 20 20 20 20 20 20 20 3c 21 5b | er"/>.........<body>.........<![ |
bafc0 | 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 70 6f 73 20 3d 20 74 68 69 73 2e | CDATA[...........var.pos.=.this. |
bafe0 | 6d 54 61 62 73 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 73 2e 69 6e 64 65 78 4f 66 28 61 | mTabsProgressListeners.indexOf(a |
bb000 | 4c 69 73 74 65 6e 65 72 29 3b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 70 6f 73 20 3e 3d 20 | Listener);...........if.(pos.>=. |
bb020 | 30 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 54 61 62 73 50 72 6f 67 72 65 73 | 0).............this.mTabsProgres |
bb040 | 73 4c 69 73 74 65 6e 65 72 73 2e 73 70 6c 69 63 65 28 70 6f 73 2c 20 31 29 3b 0a 20 20 20 20 20 | sListeners.splice(pos,.1);...... |
bb060 | 20 20 20 5d 5d 3e 0a 20 20 20 20 20 20 20 20 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d | ...]]>.........</body>.......</m |
bb080 | 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 67 65 74 42 | ethod>........<method.name="getB |
bb0a0 | 72 6f 77 73 65 72 46 6f 72 54 61 62 22 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 | rowserForTab">.........<paramete |
bb0c0 | 72 20 6e 61 6d 65 3d 22 61 54 61 62 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 0a 20 | r.name="aTab"/>.........<body>.. |
bb0e0 | 20 20 20 20 20 20 20 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 | .......<![CDATA[...........retur |
bb100 | 6e 20 61 54 61 62 2e 6c 69 6e 6b 65 64 42 72 6f 77 73 65 72 3b 0a 20 20 20 20 20 20 20 20 5d 5d | n.aTab.linkedBrowser;.........]] |
bb120 | 3e 0a 20 20 20 20 20 20 20 20 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 | >.........</body>.......</method |
bb140 | 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 73 65 6c 65 63 74 54 61 62 | >........<method.name="selectTab |
bb160 | 41 74 49 6e 64 65 78 22 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d | AtIndex">.........<parameter.nam |
bb180 | 65 3d 22 61 49 6e 64 65 78 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 | e="aIndex"/>.........<parameter. |
bb1a0 | 6e 61 6d 65 3d 22 61 45 76 65 6e 74 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 0a 20 | name="aEvent"/>.........<body>.. |
bb1c0 | 20 20 20 20 20 20 20 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 63 6f | .......<![CDATA[...........//.co |
bb1e0 | 75 6e 74 20 62 61 63 6b 77 61 72 64 73 20 66 6f 72 20 61 49 6e 64 65 78 20 3c 20 30 0a 20 20 20 | unt.backwards.for.aIndex.<.0.... |
bb200 | 20 20 20 20 20 20 20 69 66 20 28 61 49 6e 64 65 78 20 3c 20 30 29 0a 20 20 20 20 20 20 20 20 20 | .......if.(aIndex.<.0).......... |
bb220 | 20 20 20 61 49 6e 64 65 78 20 2b 3d 20 74 68 69 73 2e 6d 54 61 62 73 2e 6c 65 6e 67 74 68 3b 0a | ...aIndex.+=.this.mTabs.length;. |
bb240 | 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 61 49 6e 64 65 78 20 3e 3d 20 30 20 26 26 0a 20 20 | ...........if.(aIndex.>=.0.&&... |
bb260 | 20 20 20 20 20 20 20 20 20 20 20 20 61 49 6e 64 65 78 20 3c 20 74 68 69 73 2e 6d 54 61 62 73 2e | ............aIndex.<.this.mTabs. |
bb280 | 6c 65 6e 67 74 68 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 49 6e 64 65 78 20 21 | length.&&...............aIndex.! |
bb2a0 | 3d 20 74 68 69 73 2e 74 61 62 43 6f 6e 74 61 69 6e 65 72 2e 73 65 6c 65 63 74 65 64 49 6e 64 65 | =.this.tabContainer.selectedInde |
bb2c0 | 78 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 73 65 6c 65 63 74 65 64 54 61 62 20 | x).............this.selectedTab. |
bb2e0 | 3d 20 74 68 69 73 2e 6d 54 61 62 73 5b 61 49 6e 64 65 78 5d 3b 0a 0a 20 20 20 20 20 20 20 20 20 | =.this.mTabs[aIndex];........... |
bb300 | 20 69 66 20 28 61 45 76 65 6e 74 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 61 45 76 65 6e | .if.(aEvent).{.............aEven |
bb320 | 74 2e 70 72 65 76 65 6e 74 44 65 66 61 75 6c 74 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 | t.preventDefault();............. |
bb340 | 61 45 76 65 6e 74 2e 73 74 6f 70 50 72 6f 70 61 67 61 74 69 6f 6e 28 29 3b 0a 20 20 20 20 20 20 | aEvent.stopPropagation();....... |
bb360 | 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 5d 5d 3e 0a 20 20 20 20 20 20 20 20 3c 2f 62 6f 64 79 | ....}.........]]>.........</body |
bb380 | 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 70 72 6f 70 65 72 | >.......</method>........<proper |
bb3a0 | 74 79 20 6e 61 6d 65 3d 22 74 61 62 43 6f 6e 74 61 69 6e 65 72 22 20 72 65 61 64 6f 6e 6c 79 3d | ty.name="tabContainer".readonly= |
bb3c0 | 22 74 72 75 65 22 3e 0a 20 20 20 20 20 20 20 20 3c 67 65 74 74 65 72 3e 0a 20 20 20 20 20 20 20 | "true">.........<getter>........ |
bb3e0 | 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 6d 54 61 62 43 6f 6e 74 61 69 6e 65 72 3b 0a 20 20 | ...return.this.mTabContainer;... |
bb400 | 20 20 20 20 20 20 3c 2f 67 65 74 74 65 72 3e 0a 20 20 20 20 20 20 3c 2f 70 72 6f 70 65 72 74 79 | ......</getter>.......</property |
bb420 | 3e 0a 0a 20 20 20 20 20 20 3c 70 72 6f 70 65 72 74 79 20 6e 61 6d 65 3d 22 73 65 6c 65 63 74 65 | >........<property.name="selecte |
bb440 | 64 54 61 62 22 3e 0a 20 20 20 20 20 20 20 20 3c 67 65 74 74 65 72 3e 0a 20 20 20 20 20 20 20 20 | dTab">.........<getter>......... |
bb460 | 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 6d 54 61 62 42 6f 78 2e 73 65 6c 65 63 74 65 64 54 61 | ..return.this.mTabBox.selectedTa |
bb480 | 62 3b 0a 20 20 20 20 20 20 20 20 3c 2f 67 65 74 74 65 72 3e 0a 20 20 20 20 20 20 20 20 3c 73 65 | b;.........</getter>.........<se |
bb4a0 | 74 74 65 72 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 | tter>...........<![CDATA[....... |
bb4c0 | 20 20 20 20 2f 2f 20 55 70 64 61 74 65 20 74 68 65 20 74 61 62 0a 20 20 20 20 20 20 20 20 20 20 | ....//.Update.the.tab........... |
bb4e0 | 74 68 69 73 2e 6d 54 61 62 42 6f 78 2e 73 65 6c 65 63 74 65 64 54 61 62 20 3d 20 76 61 6c 3b 0a | this.mTabBox.selectedTab.=.val;. |
bb500 | 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 76 61 6c 3b 0a 20 20 20 20 20 20 20 20 20 20 | ..........return.val;........... |
bb520 | 5d 5d 3e 0a 20 20 20 20 20 20 20 20 3c 2f 73 65 74 74 65 72 3e 0a 20 20 20 20 20 20 3c 2f 70 72 | ]]>.........</setter>.......</pr |
bb540 | 6f 70 65 72 74 79 3e 0a 0a 20 20 20 20 20 20 3c 70 72 6f 70 65 72 74 79 20 6e 61 6d 65 3d 22 73 | operty>........<property.name="s |
bb560 | 65 6c 65 63 74 65 64 42 72 6f 77 73 65 72 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | electedBrowser"................. |
bb580 | 6f 6e 67 65 74 3d 22 72 65 74 75 72 6e 20 74 68 69 73 2e 6d 43 75 72 72 65 6e 74 42 72 6f 77 73 | onget="return.this.mCurrentBrows |
bb5a0 | 65 72 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 61 64 6f 6e 6c 79 3d 22 74 | er;".................readonly="t |
bb5c0 | 72 75 65 22 2f 3e 0a 0a 20 20 20 20 20 20 3c 70 72 6f 70 65 72 74 79 20 6e 61 6d 65 3d 22 62 72 | rue"/>........<property.name="br |
bb5e0 | 6f 77 73 65 72 73 22 20 72 65 61 64 6f 6e 6c 79 3d 22 74 72 75 65 22 3e 0a 20 20 20 20 20 20 20 | owsers".readonly="true">........ |
bb600 | 3c 67 65 74 74 65 72 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 | <getter>...........<![CDATA[.... |
bb620 | 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 62 72 6f 77 73 65 72 73 20 7c | .........return.this._browsers.| |
bb640 | 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 74 68 69 73 2e 5f 62 72 6f 77 | |....................(this._brow |
bb660 | 73 65 72 73 20 3d 20 41 72 72 61 79 2e 6d 61 70 28 74 68 69 73 2e 6d 54 61 62 73 2c 20 66 75 6e | sers.=.Array.map(this.mTabs,.fun |
bb680 | 63 74 69 6f 6e 20 28 74 61 62 29 20 74 61 62 2e 6c 69 6e 6b 65 64 42 72 6f 77 73 65 72 29 29 3b | ction.(tab).tab.linkedBrowser)); |
bb6a0 | 0a 20 20 20 20 20 20 20 20 20 20 5d 5d 3e 0a 20 20 20 20 20 20 20 20 3c 2f 67 65 74 74 65 72 3e | ...........]]>.........</getter> |
bb6c0 | 0a 20 20 20 20 20 20 3c 2f 70 72 6f 70 65 72 74 79 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f | .......</property>........<metho |
bb6e0 | 64 20 6e 61 6d 65 3d 22 5f 6f 6e 44 72 61 67 53 74 61 72 74 22 3e 0a 20 20 20 20 20 20 20 20 3c | d.name="_onDragStart">.........< |
bb700 | 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 45 76 65 6e 74 22 2f 3e 0a 20 20 20 20 20 20 | parameter.name="aEvent"/>....... |
bb720 | 20 20 3c 62 6f 64 79 3e 0a 20 20 20 20 20 20 20 20 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 | ..<body>.........<![CDATA[...... |
bb740 | 20 20 20 20 20 76 61 72 20 74 61 72 67 65 74 20 3d 20 61 45 76 65 6e 74 2e 74 61 72 67 65 74 3b | .....var.target.=.aEvent.target; |
bb760 | 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 61 72 67 65 74 2e 6c 6f 63 61 6c 4e 61 6d 65 20 | ...........if.(target.localName. |
bb780 | 3d 3d 20 22 74 61 62 22 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 45 76 65 6e 74 | ==."tab".&&...............aEvent |
bb7a0 | 2e 6f 72 69 67 69 6e 61 6c 54 61 72 67 65 74 2e 6c 6f 63 61 6c 4e 61 6d 65 20 21 3d 20 22 74 6f | .originalTarget.localName.!=."to |
bb7c0 | 6f 6c 62 61 72 62 75 74 74 6f 6e 22 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 | olbarbutton").{.............var. |
bb7e0 | 64 74 20 3d 20 61 45 76 65 6e 74 2e 64 61 74 61 54 72 61 6e 73 66 65 72 3b 0a 20 20 20 20 20 20 | dt.=.aEvent.dataTransfer;....... |
bb800 | 20 20 20 20 20 20 64 74 2e 6d 6f 7a 53 65 74 44 61 74 61 41 74 28 54 41 42 5f 44 52 4f 50 5f 54 | ......dt.mozSetDataAt(TAB_DROP_T |
bb820 | 59 50 45 2c 20 74 61 72 67 65 74 2c 20 30 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 | YPE,.target,.0);.............var |
bb840 | 20 75 72 69 20 3d 20 74 68 69 73 2e 67 65 74 42 72 6f 77 73 65 72 46 6f 72 54 61 62 28 61 45 76 | .uri.=.this.getBrowserForTab(aEv |
bb860 | 65 6e 74 2e 74 61 72 67 65 74 29 2e 63 75 72 72 65 6e 74 55 52 49 3b 0a 20 20 20 20 20 20 20 20 | ent.target).currentURI;......... |
bb880 | 20 20 20 20 76 61 72 20 73 70 65 63 20 3d 20 75 72 69 20 3f 20 75 72 69 2e 73 70 65 63 20 3a 20 | ....var.spec.=.uri.?.uri.spec.:. |
bb8a0 | 22 61 62 6f 75 74 3a 62 6c 61 6e 6b 22 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 57 | "about:blank";..............//.W |
bb8c0 | 65 20 6d 75 73 74 20 6e 6f 74 20 73 65 74 20 74 65 78 74 2f 78 2d 6d 6f 7a 2d 75 72 6c 20 6f 72 | e.must.not.set.text/x-moz-url.or |
bb8e0 | 20 74 65 78 74 2f 70 6c 61 69 6e 20 64 61 74 61 20 68 65 72 65 2c 0a 20 20 20 20 20 20 20 20 20 | .text/plain.data.here,.......... |
bb900 | 20 20 20 2f 2f 20 6f 74 68 65 72 77 69 73 65 20 74 72 79 69 6e 67 20 74 6f 20 64 65 61 74 63 68 | ...//.otherwise.trying.to.deatch |
bb920 | 20 74 68 65 20 74 61 62 20 62 79 20 64 72 6f 70 70 69 6e 67 20 69 74 20 6f 6e 20 74 68 65 20 64 | .the.tab.by.dropping.it.on.the.d |
bb940 | 65 73 6b 74 6f 70 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 6d 61 79 20 72 65 73 75 6c 74 | esktop.............//.may.result |
bb960 | 20 69 6e 20 61 6e 20 22 69 6e 74 65 72 6e 65 74 20 73 68 6f 72 74 63 75 74 22 0a 20 20 20 20 20 | .in.an."internet.shortcut"...... |
bb980 | 20 20 20 20 20 20 20 64 74 2e 6d 6f 7a 53 65 74 44 61 74 61 41 74 28 22 74 65 78 74 2f 78 2d 6d | .......dt.mozSetDataAt("text/x-m |
bb9a0 | 6f 7a 2d 74 65 78 74 2d 69 6e 74 65 72 6e 61 6c 22 2c 20 73 70 65 63 2c 20 30 29 3b 0a 0a 20 20 | oz-text-internal",.spec,.0);.... |
bb9c0 | 20 20 20 20 20 20 20 20 20 20 2f 2f 20 53 65 74 20 74 68 65 20 63 75 72 73 6f 72 20 74 6f 20 61 | ..........//.Set.the.cursor.to.a |
bb9e0 | 6e 20 61 72 72 6f 77 20 64 75 72 69 6e 67 20 74 61 62 20 64 72 61 67 73 2e 0a 20 20 20 20 20 20 | n.arrow.during.tab.drags........ |
bba00 | 20 20 20 20 20 20 64 74 2e 6d 6f 7a 43 75 72 73 6f 72 20 3d 20 22 64 65 66 61 75 6c 74 22 3b 0a | ......dt.mozCursor.=."default";. |
bba20 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 63 61 6e 76 61 73 20 3d 20 74 61 62 50 72 65 | .............var.canvas.=.tabPre |
bba40 | 76 69 65 77 73 2e 63 61 70 74 75 72 65 28 74 61 72 67 65 74 2c 20 66 61 6c 73 65 29 3b 0a 20 20 | views.capture(target,.false);... |
bba60 | 20 20 20 20 20 20 20 20 20 20 64 74 2e 73 65 74 44 72 61 67 49 6d 61 67 65 28 63 61 6e 76 61 73 | ..........dt.setDragImage(canvas |
bba80 | 2c 20 30 2c 20 30 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 61 45 76 65 6e 74 2e 73 74 6f 70 | ,.0,.0);.............aEvent.stop |
bbaa0 | 50 72 6f 70 61 67 61 74 69 6f 6e 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 | Propagation();...........}...... |
bbac0 | 20 20 20 20 20 20 74 68 69 73 2e 5f 64 72 61 67 4c 65 66 74 57 69 6e 64 6f 77 20 3d 20 66 61 6c | ......this._dragLeftWindow.=.fal |
bbae0 | 73 65 3b 0a 20 20 20 20 20 20 20 20 5d 5d 3e 0a 20 20 20 20 20 20 20 20 3c 2f 62 6f 64 79 3e 0a | se;.........]]>.........</body>. |
bbb00 | 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 66 69 65 6c 64 20 6e 61 | ......</method>........<field.na |
bbb20 | 6d 65 3d 22 6d 44 72 61 67 54 69 6d 65 22 3e 30 3c 2f 66 69 65 6c 64 3e 0a 20 20 20 20 20 20 3c | me="mDragTime">0</field>.......< |
bbb40 | 66 69 65 6c 64 20 6e 61 6d 65 3d 22 6d 44 72 61 67 4f 76 65 72 44 65 6c 61 79 22 3e 33 35 30 3c | field.name="mDragOverDelay">350< |
bbb60 | 2f 66 69 65 6c 64 3e 0a 0a 20 20 20 20 20 20 3c 66 69 65 6c 64 20 6e 61 6d 65 3d 22 5f 73 75 70 | /field>........<field.name="_sup |
bbb80 | 70 6f 72 74 65 64 4c 69 6e 6b 44 72 6f 70 54 79 70 65 73 22 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 | portedLinkDropTypes"><![CDATA[.. |
bbba0 | 20 20 20 20 20 20 20 5b 22 74 65 78 74 2f 78 2d 6d 6f 7a 2d 75 72 6c 22 2c 20 22 74 65 78 74 2f | .......["text/x-moz-url",."text/ |
bbbc0 | 75 72 69 2d 6c 69 73 74 22 2c 20 22 74 65 78 74 2f 70 6c 61 69 6e 22 2c 20 22 61 70 70 6c 69 63 | uri-list",."text/plain",."applic |
bbbe0 | 61 74 69 6f 6e 2f 78 2d 6d 6f 7a 2d 66 69 6c 65 22 5d 0a 20 20 20 20 20 20 5d 5d 3e 3c 2f 66 69 | ation/x-moz-file"].......]]></fi |
bbc00 | 65 6c 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 5f 73 65 74 45 66 | eld>........<method.name="_setEf |
bbc20 | 66 65 63 74 41 6c 6c 6f 77 65 64 46 6f 72 44 61 74 61 54 72 61 6e 73 66 65 72 22 3e 0a 20 20 20 | fectAllowedForDataTransfer">.... |
bbc40 | 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 45 76 65 6e 74 22 2f 3e 0a | .....<parameter.name="aEvent"/>. |
bbc60 | 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 21 5b 43 44 41 54 | ........<body>...........<![CDAT |
bbc80 | 41 5b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 64 74 20 3d 20 61 45 76 65 6e 74 2e 64 | A[.............var.dt.=.aEvent.d |
bbca0 | 61 74 61 54 72 61 6e 73 66 65 72 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 44 69 73 61 | ataTransfer;.............//.Disa |
bbcc0 | 6c 6c 6f 77 20 64 72 6f 70 70 69 6e 67 20 6d 75 6c 74 69 70 6c 65 20 69 74 65 6d 73 0a 20 20 20 | llow.dropping.multiple.items.... |
bbce0 | 20 20 20 20 20 20 20 20 20 69 66 20 28 64 74 2e 6d 6f 7a 49 74 65 6d 43 6f 75 6e 74 20 3e 20 31 | .........if.(dt.mozItemCount.>.1 |
bbd00 | 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 64 74 2e 65 66 66 65 63 74 | )...............return.dt.effect |
bbd20 | 41 6c 6c 6f 77 65 64 20 3d 20 22 6e 6f 6e 65 22 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 | Allowed.=."none";..............v |
bbd40 | 61 72 20 74 79 70 65 73 20 3d 20 64 74 2e 6d 6f 7a 54 79 70 65 73 41 74 28 30 29 3b 0a 20 20 20 | ar.types.=.dt.mozTypesAt(0);.... |
bbd60 | 20 20 20 20 20 20 20 20 20 76 61 72 20 73 6f 75 72 63 65 4e 6f 64 65 20 3d 20 6e 75 6c 6c 3b 0a | .........var.sourceNode.=.null;. |
bbd80 | 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 74 61 62 73 20 61 72 65 20 61 6c 77 61 79 73 20 61 | ............//.tabs.are.always.a |
bbda0 | 64 64 65 64 20 61 73 20 74 68 65 20 66 69 72 73 74 20 74 79 70 65 0a 20 20 20 20 20 20 20 20 20 | dded.as.the.first.type.......... |
bbdc0 | 20 20 20 69 66 20 28 74 79 70 65 73 5b 30 5d 20 3d 3d 20 54 41 42 5f 44 52 4f 50 5f 54 59 50 45 | ...if.(types[0].==.TAB_DROP_TYPE |
bbde0 | 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 73 6f 75 72 63 65 4e 6f 64 65 | ).{...............var.sourceNode |
bbe00 | 20 3d 20 64 74 2e 6d 6f 7a 47 65 74 44 61 74 61 41 74 28 54 41 42 5f 44 52 4f 50 5f 54 59 50 45 | .=.dt.mozGetDataAt(TAB_DROP_TYPE |
bbe20 | 2c 20 30 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 73 6f 75 72 63 65 4e 6f | ,.0);...............if.(sourceNo |
bbe40 | 64 65 20 69 6e 73 74 61 6e 63 65 6f 66 20 58 55 4c 45 6c 65 6d 65 6e 74 20 26 26 0a 20 20 20 20 | de.instanceof.XULElement.&&..... |
bbe60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 6f 75 72 63 65 4e 6f 64 65 2e 6c 6f 63 61 6c 4e 61 | ..............sourceNode.localNa |
bbe80 | 6d 65 20 3d 3d 20 22 74 61 62 22 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | me.==."tab".&&.................. |
bbea0 | 20 28 73 6f 75 72 63 65 4e 6f 64 65 2e 70 61 72 65 6e 74 4e 6f 64 65 20 3d 3d 20 74 68 69 73 2e | .(sourceNode.parentNode.==.this. |
bbec0 | 6d 54 61 62 43 6f 6e 74 61 69 6e 65 72 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | mTabContainer.||................ |
bbee0 | 20 20 20 20 28 73 6f 75 72 63 65 4e 6f 64 65 2e 6f 77 6e 65 72 44 6f 63 75 6d 65 6e 74 2e 64 65 | ....(sourceNode.ownerDocument.de |
bbf00 | 66 61 75 6c 74 56 69 65 77 20 69 6e 73 74 61 6e 63 65 6f 66 20 43 68 72 6f 6d 65 57 69 6e 64 6f | faultView.instanceof.ChromeWindo |
bbf20 | 77 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 6f 75 72 63 65 4e | w.&&.....................sourceN |
bbf40 | 6f 64 65 2e 6f 77 6e 65 72 44 6f 63 75 6d 65 6e 74 2e 64 6f 63 75 6d 65 6e 74 45 6c 65 6d 65 6e | ode.ownerDocument.documentElemen |
bbf60 | 74 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 77 69 6e 64 6f 77 74 79 70 65 22 29 20 3d 3d 20 | t.getAttribute("windowtype").==. |
bbf80 | 22 6e 61 76 69 67 61 74 6f 72 3a 62 72 6f 77 73 65 72 22 29 29 29 20 7b 0a 20 20 20 20 20 20 20 | "navigator:browser"))).{........ |
bbfa0 | 20 20 20 20 20 20 20 20 20 69 66 20 28 73 6f 75 72 63 65 4e 6f 64 65 2e 70 61 72 65 6e 74 4e 6f | .........if.(sourceNode.parentNo |
bbfc0 | 64 65 20 3d 3d 20 74 68 69 73 2e 6d 54 61 62 43 6f 6e 74 61 69 6e 65 72 20 26 26 0a 20 20 20 20 | de.==.this.mTabContainer.&&..... |
bbfe0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 61 45 76 65 6e 74 2e 73 63 72 65 65 6e 58 20 | ................(aEvent.screenX. |
bc000 | 3e 3d 20 73 6f 75 72 63 65 4e 6f 64 65 2e 62 6f 78 4f 62 6a 65 63 74 2e 73 63 72 65 65 6e 58 20 | >=.sourceNode.boxObject.screenX. |
bc020 | 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 45 76 65 6e 74 2e | &&.......................aEvent. |
bc040 | 73 63 72 65 65 6e 58 20 3c 3d 20 28 73 6f 75 72 63 65 4e 6f 64 65 2e 62 6f 78 4f 62 6a 65 63 74 | screenX.<=.(sourceNode.boxObject |
bc060 | 2e 73 63 72 65 65 6e 58 20 2b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .screenX.+...................... |
bc080 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 6f 75 72 63 65 4e 6f 64 65 2e 62 | ....................sourceNode.b |
bc0a0 | 6f 78 4f 62 6a 65 63 74 2e 77 69 64 74 68 29 29 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 | oxObject.width))).{............. |
bc0c0 | 20 20 20 20 20 20 72 65 74 75 72 6e 20 64 74 2e 65 66 66 65 63 74 41 6c 6c 6f 77 65 64 20 3d 20 | ......return.dt.effectAllowed.=. |
bc0e0 | 22 6e 6f 6e 65 22 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 | "none";.................}....... |
bc100 | 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 64 74 2e 65 66 66 65 63 74 41 6c 6c 6f 77 | ...........return.dt.effectAllow |
bc120 | 65 64 20 3d 20 22 63 6f 70 79 4d 6f 76 65 22 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d | ed.=."copyMove";...............} |
bc140 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 66 6f 72 20 | .............}..............for. |
bc160 | 28 76 61 72 20 69 3d 30 3b 20 69 20 3c 20 74 68 69 73 2e 5f 73 75 70 70 6f 72 74 65 64 4c 69 6e | (var.i=0;.i.<.this._supportedLin |
bc180 | 6b 44 72 6f 70 54 79 70 65 73 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 20 7b 0a 20 20 20 20 20 20 | kDropTypes.length;.i++).{....... |
bc1a0 | 20 20 20 20 20 20 20 20 69 66 20 28 74 79 70 65 73 2e 63 6f 6e 74 61 69 6e 73 28 74 68 69 73 2e | ........if.(types.contains(this. |
bc1c0 | 5f 73 75 70 70 6f 72 74 65 64 4c 69 6e 6b 44 72 6f 70 54 79 70 65 73 5b 69 5d 29 29 20 7b 0a 20 | _supportedLinkDropTypes[i])).{.. |
bc1e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 48 65 72 65 20 77 65 20 6e 65 65 64 20 74 | ...............//.Here.we.need.t |
bc200 | 6f 20 74 6f 20 64 6f 20 74 68 69 73 20 6d 61 6e 75 61 6c 6c 79 0a 20 20 20 20 20 20 20 20 20 20 | o.to.do.this.manually........... |
bc220 | 20 20 20 20 20 20 72 65 74 75 72 6e 20 64 74 2e 65 66 66 65 63 74 41 6c 6c 6f 77 65 64 20 3d 20 | ......return.dt.effectAllowed.=. |
bc240 | 64 74 2e 64 72 6f 70 45 66 66 65 63 74 20 3d 20 22 6c 69 6e 6b 22 3b 0a 20 20 20 20 20 20 20 20 | dt.dropEffect.=."link";......... |
bc260 | 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 | ......}.............}........... |
bc280 | 20 20 72 65 74 75 72 6e 20 64 74 2e 65 66 66 65 63 74 41 6c 6c 6f 77 65 64 20 3d 20 22 6e 6f 6e | ..return.dt.effectAllowed.=."non |
bc2a0 | 65 22 3b 0a 20 20 20 20 20 20 20 20 20 20 5d 5d 3e 0a 20 20 20 20 20 20 20 20 3c 2f 62 6f 64 79 | e";...........]]>.........</body |
bc2c0 | 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 | >.......</method>........<method |
bc2e0 | 20 6e 61 6d 65 3d 22 5f 6f 6e 44 72 61 67 4f 76 65 72 22 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 | .name="_onDragOver">.........<pa |
bc300 | 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 45 76 65 6e 74 22 2f 3e 0a 20 20 20 20 20 20 20 20 | rameter.name="aEvent"/>......... |
bc320 | 3c 62 6f 64 79 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 | <body>...........<![CDATA[...... |
bc340 | 20 20 20 20 20 20 20 76 61 72 20 65 66 66 65 63 74 73 20 3d 20 74 68 69 73 2e 5f 73 65 74 45 66 | .......var.effects.=.this._setEf |
bc360 | 66 65 63 74 41 6c 6c 6f 77 65 64 46 6f 72 44 61 74 61 54 72 61 6e 73 66 65 72 28 61 45 76 65 6e | fectAllowedForDataTransfer(aEven |
bc380 | 74 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 69 62 20 3d 20 74 68 69 73 2e 6d | t);..............var.ib.=.this.m |
bc3a0 | 54 61 62 44 72 6f 70 49 6e 64 69 63 61 74 6f 72 42 61 72 3b 0a 20 20 20 20 20 20 20 20 20 20 20 | TabDropIndicatorBar;............ |
bc3c0 | 20 69 66 20 28 65 66 66 65 63 74 73 20 3d 3d 20 22 22 20 7c 7c 20 65 66 66 65 63 74 73 20 3d 3d | .if.(effects.==."".||.effects.== |
bc3e0 | 20 22 6e 6f 6e 65 22 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 62 2e 63 6f 6c 6c | ."none").{...............ib.coll |
bc400 | 61 70 73 65 64 20 3d 20 22 74 72 75 65 22 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 | apsed.=."true";...............re |
bc420 | 74 75 72 6e 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 | turn;.............}............. |
bc440 | 61 45 76 65 6e 74 2e 70 72 65 76 65 6e 74 44 65 66 61 75 6c 74 28 29 3b 0a 20 20 20 20 20 20 20 | aEvent.preventDefault();........ |
bc460 | 20 20 20 20 20 61 45 76 65 6e 74 2e 73 74 6f 70 50 72 6f 70 61 67 61 74 69 6f 6e 28 29 3b 0a 0a | .....aEvent.stopPropagation();.. |
bc480 | 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 74 61 62 53 74 72 69 70 20 3d 20 74 68 69 73 2e | ............var.tabStrip.=.this. |
bc4a0 | 6d 54 61 62 43 6f 6e 74 61 69 6e 65 72 2e 6d 54 61 62 73 74 72 69 70 3b 0a 20 20 20 20 20 20 20 | mTabContainer.mTabstrip;........ |
bc4c0 | 20 20 20 20 20 76 61 72 20 6c 74 72 20 3d 20 28 77 69 6e 64 6f 77 2e 67 65 74 43 6f 6d 70 75 74 | .....var.ltr.=.(window.getComput |
bc4e0 | 65 64 53 74 79 6c 65 28 74 68 69 73 2e 70 61 72 65 6e 74 4e 6f 64 65 2c 20 6e 75 6c 6c 29 2e 64 | edStyle(this.parentNode,.null).d |
bc500 | 69 72 65 63 74 69 6f 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | irection........................ |
bc520 | 3d 3d 20 22 6c 74 72 22 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 61 75 74 6f 73 | ==."ltr");..............//.autos |
bc540 | 63 72 6f 6c 6c 20 74 68 65 20 74 61 62 20 73 74 72 69 70 20 69 66 20 77 65 20 64 72 61 67 20 6f | croll.the.tab.strip.if.we.drag.o |
bc560 | 76 65 72 20 74 68 65 20 73 63 72 6f 6c 6c 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 62 75 | ver.the.scroll.............//.bu |
bc580 | 74 74 6f 6e 73 2c 20 65 76 65 6e 20 69 66 20 77 65 20 61 72 65 6e 27 74 20 64 72 61 67 67 69 6e | ttons,.even.if.we.aren't.draggin |
bc5a0 | 67 20 61 20 74 61 62 2c 20 62 75 74 20 74 68 65 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f | g.a.tab,.but.then.............// |
bc5c0 | 20 72 65 74 75 72 6e 20 74 6f 20 61 76 6f 69 64 20 64 72 61 77 69 6e 67 20 74 68 65 20 64 72 6f | .return.to.avoid.drawing.the.dro |
bc5e0 | 70 20 69 6e 64 69 63 61 74 6f 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 70 69 78 65 | p.indicator.............var.pixe |
bc600 | 6c 73 54 6f 53 63 72 6f 6c 6c 20 3d 20 30 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 | lsToScroll.=.0;.............if.( |
bc620 | 74 68 69 73 2e 6d 54 61 62 43 6f 6e 74 61 69 6e 65 72 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 | this.mTabContainer.getAttribute( |
bc640 | 22 6f 76 65 72 66 6c 6f 77 22 29 20 3d 3d 20 22 74 72 75 65 22 29 20 7b 0a 20 20 20 20 20 20 20 | "overflow").==."true").{........ |
bc660 | 20 20 20 20 20 20 20 76 61 72 20 74 61 72 67 65 74 41 6e 6f 6e 69 64 20 3d 20 61 45 76 65 6e 74 | .......var.targetAnonid.=.aEvent |
bc680 | 2e 6f 72 69 67 69 6e 61 6c 54 61 72 67 65 74 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 61 6e | .originalTarget.getAttribute("an |
bc6a0 | 6f 6e 69 64 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 77 69 74 63 68 20 28 74 61 | onid");...............switch.(ta |
bc6c0 | 72 67 65 74 41 6e 6f 6e 69 64 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 | rgetAnonid).{.................ca |
bc6e0 | 73 65 20 22 73 63 72 6f 6c 6c 62 75 74 74 6f 6e 2d 75 70 22 3a 0a 20 20 20 20 20 20 20 20 20 20 | se."scrollbutton-up":........... |
bc700 | 20 20 20 20 20 20 20 20 70 69 78 65 6c 73 54 6f 53 63 72 6f 6c 6c 20 3d 20 74 61 62 53 74 72 69 | ........pixelsToScroll.=.tabStri |
bc720 | 70 2e 73 63 72 6f 6c 6c 49 6e 63 72 65 6d 65 6e 74 20 2a 20 2d 31 3b 0a 20 20 20 20 20 20 20 20 | p.scrollIncrement.*.-1;......... |
bc740 | 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ..........break;................ |
bc760 | 20 63 61 73 65 20 22 73 63 72 6f 6c 6c 62 75 74 74 6f 6e 2d 64 6f 77 6e 22 3a 0a 20 20 20 20 20 | .case."scrollbutton-down":...... |
bc780 | 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 22 61 6c 6c 74 61 62 73 2d 62 75 74 74 6f 6e 22 | ...........case."alltabs-button" |
bc7a0 | 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 22 6e 65 77 74 61 62 2d 62 | :.................case."newtab-b |
bc7c0 | 75 74 74 6f 6e 22 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 69 78 65 6c 73 | utton":...................pixels |
bc7e0 | 54 6f 53 63 72 6f 6c 6c 20 3d 20 74 61 62 53 74 72 69 70 2e 73 63 72 6f 6c 6c 49 6e 63 72 65 6d | ToScroll.=.tabStrip.scrollIncrem |
bc800 | 65 6e 74 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 | ent;...................break;... |
bc820 | 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 | ............}...............if.( |
bc840 | 70 69 78 65 6c 73 54 6f 53 63 72 6f 6c 6c 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | pixelsToScroll)................. |
bc860 | 74 61 62 53 74 72 69 70 2e 73 63 72 6f 6c 6c 42 79 50 69 78 65 6c 73 28 28 6c 74 72 20 3f 20 31 | tabStrip.scrollByPixels((ltr.?.1 |
bc880 | 20 3a 20 2d 31 29 20 2a 20 70 69 78 65 6c 73 54 6f 53 63 72 6f 6c 6c 29 3b 0a 20 20 20 20 20 20 | .:.-1).*.pixelsToScroll);....... |
bc8a0 | 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 65 66 66 65 63 74 73 | ......}..............if.(effects |
bc8c0 | 20 3d 3d 20 22 6c 69 6e 6b 22 20 26 26 20 61 45 76 65 6e 74 2e 74 61 72 67 65 74 2e 6c 6f 63 61 | .==."link".&&.aEvent.target.loca |
bc8e0 | 6c 4e 61 6d 65 20 3d 3d 20 22 74 61 62 22 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | lName.==."tab").{............... |
bc900 | 69 66 20 28 21 74 68 69 73 2e 6d 44 72 61 67 54 69 6d 65 29 20 0a 20 20 20 20 20 20 20 20 20 20 | if.(!this.mDragTime)............ |
bc920 | 20 20 20 20 20 20 74 68 69 73 2e 6d 44 72 61 67 54 69 6d 65 20 3d 20 44 61 74 65 2e 6e 6f 77 28 | ......this.mDragTime.=.Date.now( |
bc940 | 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 44 61 74 65 2e 6e 6f 77 28 29 20 | );...............if.(Date.now(). |
bc960 | 3e 3d 20 74 68 69 73 2e 6d 44 72 61 67 54 69 6d 65 20 2b 20 74 68 69 73 2e 6d 44 72 61 67 4f 76 | >=.this.mDragTime.+.this.mDragOv |
bc980 | 65 72 44 65 6c 61 79 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 54 | erDelay).................this.mT |
bc9a0 | 61 62 43 6f 6e 74 61 69 6e 65 72 2e 73 65 6c 65 63 74 65 64 49 74 65 6d 20 3d 20 61 45 76 65 6e | abContainer.selectedItem.=.aEven |
bc9c0 | 74 2e 74 61 72 67 65 74 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a | t.target;...............return;. |
bc9e0 | 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 6e | ............}..............var.n |
bca00 | 65 77 49 6e 64 65 78 20 3d 20 74 68 69 73 2e 67 65 74 4e 65 77 49 6e 64 65 78 28 61 45 76 65 6e | ewIndex.=.this.getNewIndex(aEven |
bca20 | 74 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 69 62 20 3d 20 74 68 69 73 2e 6d 54 | t);.............var.ib.=.this.mT |
bca40 | 61 62 44 72 6f 70 49 6e 64 69 63 61 74 6f 72 42 61 72 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 | abDropIndicatorBar;............. |
bca60 | 76 61 72 20 69 6e 64 20 3d 20 69 62 2e 66 69 72 73 74 43 68 69 6c 64 3b 0a 20 20 20 20 20 20 20 | var.ind.=.ib.firstChild;........ |
bca80 | 20 20 20 20 20 76 61 72 20 74 61 62 53 74 72 69 70 42 6f 78 4f 62 6a 65 63 74 20 3d 20 74 61 62 | .....var.tabStripBoxObject.=.tab |
bcaa0 | 53 74 72 69 70 2e 73 63 72 6f 6c 6c 42 6f 78 4f 62 6a 65 63 74 3b 0a 20 20 20 20 20 20 20 20 20 | Strip.scrollBoxObject;.......... |
bcac0 | 20 20 20 76 61 72 20 6d 69 6e 4d 61 72 67 69 6e 20 3d 20 74 61 62 53 74 72 69 70 42 6f 78 4f 62 | ...var.minMargin.=.tabStripBoxOb |
bcae0 | 6a 65 63 74 2e 78 20 2d 20 74 68 69 73 2e 62 6f 78 4f 62 6a 65 63 74 2e 78 3b 0a 20 20 20 20 20 | ject.x.-.this.boxObject.x;...... |
bcb00 | 20 20 20 20 20 20 20 2f 2f 20 6d 61 6b 65 20 73 75 72 65 20 77 65 20 64 6f 6e 27 74 20 70 6c 61 | .......//.make.sure.we.don't.pla |
bcb20 | 63 65 20 74 68 65 20 74 61 62 20 64 72 6f 70 20 69 6e 64 69 63 61 74 6f 72 20 70 61 73 74 20 74 | ce.the.tab.drop.indicator.past.t |
bcb40 | 68 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 65 64 67 65 2c 20 6f 72 20 74 68 65 20 63 | he.............//.edge,.or.the.c |
bcb60 | 6f 6e 74 61 69 6e 69 6e 67 20 62 6f 78 20 77 69 6c 6c 20 66 6c 65 78 20 61 6e 64 20 73 74 72 65 | ontaining.box.will.flex.and.stre |
bcb80 | 74 63 68 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 74 68 65 20 74 61 62 20 64 72 6f 70 20 | tch.............//.the.tab.drop. |
bcba0 | 69 6e 64 69 63 61 74 6f 72 20 62 61 72 2c 20 77 68 69 63 68 20 77 69 6c 6c 20 66 6c 65 78 20 74 | indicator.bar,.which.will.flex.t |
bcbc0 | 68 65 20 75 72 6c 20 62 61 72 2e 20 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 58 58 58 | he.url.bar................//.XXX |
bcbe0 | 20 74 6f 64 6f 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 6a 75 73 74 20 75 73 65 20 66 69 | .todo.............//.just.use.fi |
bcc00 | 72 73 74 20 76 61 6c 75 65 20 69 66 20 79 6f 75 20 63 61 6e 20 66 69 67 75 72 65 20 6f 75 74 20 | rst.value.if.you.can.figure.out. |
bcc20 | 68 6f 77 20 74 6f 20 67 65 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 74 68 65 20 74 61 | how.to.get.............//.the.ta |
bcc40 | 62 20 64 72 6f 70 20 69 6e 64 69 63 61 74 6f 72 20 74 6f 20 63 72 6f 70 20 69 6e 73 74 65 61 64 | b.drop.indicator.to.crop.instead |
bcc60 | 20 6f 66 20 66 6c 65 78 20 61 6e 64 20 73 74 72 65 74 63 68 0a 20 20 20 20 20 20 20 20 20 20 20 | .of.flex.and.stretch............ |
bcc80 | 20 2f 2f 20 74 68 65 20 74 61 62 20 64 72 6f 70 20 69 6e 64 69 63 61 74 6f 72 20 62 61 72 2e 0a | .//.the.tab.drop.indicator.bar.. |
bcca0 | 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 6d 61 78 4d 61 72 67 69 6e 20 3d 20 4d 61 74 68 | ............var.maxMargin.=.Math |
bccc0 | 2e 6d 69 6e 28 6d 69 6e 4d 61 72 67 69 6e 20 2b 20 74 61 62 53 74 72 69 70 42 6f 78 4f 62 6a 65 | .min(minMargin.+.tabStripBoxObje |
bcce0 | 63 74 2e 77 69 64 74 68 2c 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ct.width,....................... |
bcd00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 62 2e 62 6f 78 4f 62 6a 65 63 74 2e 78 20 2b | ................ib.boxObject.x.+ |
bcd20 | 20 69 62 2e 62 6f 78 4f 62 6a 65 63 74 2e 77 69 64 74 68 20 2d 0a 20 20 20 20 20 20 20 20 20 20 | .ib.boxObject.width.-........... |
bcd40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 64 2e 62 | ...........................ind.b |
bcd60 | 6f 78 4f 62 6a 65 63 74 2e 77 69 64 74 68 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 | oxObject.width);.............if. |
bcd80 | 28 21 6c 74 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 5b 6d 69 6e 4d 61 72 67 69 6e 2c | (!ltr)...............[minMargin, |
bcda0 | 20 6d 61 78 4d 61 72 67 69 6e 5d 20 3d 20 5b 74 68 69 73 2e 62 6f 78 4f 62 6a 65 63 74 2e 77 69 | .maxMargin].=.[this.boxObject.wi |
bcdc0 | 64 74 68 20 2d 20 6d 61 78 4d 61 72 67 69 6e 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | dth.-.maxMargin,................ |
bcde0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 62 6f | .........................this.bo |
bce00 | 78 4f 62 6a 65 63 74 2e 77 69 64 74 68 20 2d 20 6d 69 6e 4d 61 72 67 69 6e 5d 3b 0a 20 20 20 20 | xObject.width.-.minMargin];..... |
bce20 | 20 20 20 20 20 20 20 20 76 61 72 20 6e 65 77 4d 61 72 67 69 6e 2c 20 74 61 62 42 6f 78 4f 62 6a | ........var.newMargin,.tabBoxObj |
bce40 | 65 63 74 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 70 69 78 65 6c 73 54 6f 53 63 72 | ect;.............if.(pixelsToScr |
bce60 | 6f 6c 6c 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 69 66 20 77 65 20 61 72 | oll).{...............//.if.we.ar |
bce80 | 65 20 73 63 72 6f 6c 6c 69 6e 67 2c 20 70 75 74 20 74 68 65 20 64 72 6f 70 20 69 6e 64 69 63 61 | e.scrolling,.put.the.drop.indica |
bcea0 | 74 6f 72 20 61 74 20 74 68 65 20 65 64 67 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f | tor.at.the.edge...............// |
bcec0 | 20 73 6f 20 74 68 61 74 20 69 74 20 64 6f 65 73 6e 27 74 20 6a 75 6d 70 20 77 68 69 6c 65 20 73 | .so.that.it.doesn't.jump.while.s |
bcee0 | 63 72 6f 6c 6c 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 65 77 4d 61 72 67 69 6e | crolling...............newMargin |
bcf00 | 20 3d 20 28 70 69 78 65 6c 73 54 6f 53 63 72 6f 6c 6c 20 3e 20 30 29 20 3f 20 6d 61 78 4d 61 72 | .=.(pixelsToScroll.>.0).?.maxMar |
bcf20 | 67 69 6e 20 3a 20 6d 69 6e 4d 61 72 67 69 6e 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 | gin.:.minMargin;.............}.. |
bcf40 | 20 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ...........else.{............... |
bcf60 | 69 66 20 28 6e 65 77 49 6e 64 65 78 20 3d 3d 20 74 68 69 73 2e 6d 54 61 62 73 2e 6c 65 6e 67 74 | if.(newIndex.==.this.mTabs.lengt |
bcf80 | 68 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 61 62 42 6f 78 4f 62 6a 65 63 | h).{.................tabBoxObjec |
bcfa0 | 74 20 3d 20 20 74 68 69 73 2e 6d 54 61 62 73 5b 6e 65 77 49 6e 64 65 78 2d 31 5d 2e 62 6f 78 4f | t.=..this.mTabs[newIndex-1].boxO |
bcfc0 | 62 6a 65 63 74 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 6c 74 72 29 0a | bject;.................if.(ltr). |
bcfe0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 65 77 4d 61 72 67 69 6e 20 3d 20 74 61 | ..................newMargin.=.ta |
bd000 | 62 42 6f 78 4f 62 6a 65 63 74 2e 73 63 72 65 65 6e 58 20 2d 20 74 68 69 73 2e 62 6f 78 4f 62 6a | bBoxObject.screenX.-.this.boxObj |
bd020 | 65 63 74 2e 73 63 72 65 65 6e 58 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ect.screenX..................... |
bd040 | 20 20 20 20 20 20 20 20 20 20 2b 20 74 61 62 42 6f 78 4f 62 6a 65 63 74 2e 77 69 64 74 68 3b 0a | ..........+.tabBoxObject.width;. |
bd060 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 20 20 20 20 20 | ................else............ |
bd080 | 20 20 20 20 20 20 20 6e 65 77 4d 61 72 67 69 6e 20 3d 20 74 68 69 73 2e 62 6f 78 4f 62 6a 65 63 | .......newMargin.=.this.boxObjec |
bd0a0 | 74 2e 73 63 72 65 65 6e 58 20 2d 20 74 61 62 42 6f 78 4f 62 6a 65 63 74 2e 73 63 72 65 65 6e 58 | t.screenX.-.tabBoxObject.screenX |
bd0c0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2b | ...............................+ |
bd0e0 | 20 74 68 69 73 2e 62 6f 78 4f 62 6a 65 63 74 2e 77 69 64 74 68 3b 0a 20 20 20 20 20 20 20 20 20 | .this.boxObject.width;.......... |
bd100 | 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 | .....}...............else.{..... |
bd120 | 20 20 20 20 20 20 20 20 20 20 20 20 74 61 62 42 6f 78 4f 62 6a 65 63 74 20 3d 20 20 74 68 69 73 | ............tabBoxObject.=..this |
bd140 | 2e 6d 54 61 62 73 5b 6e 65 77 49 6e 64 65 78 5d 2e 62 6f 78 4f 62 6a 65 63 74 3b 0a 20 20 20 20 | .mTabs[newIndex].boxObject;..... |
bd160 | 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 6c 74 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 | ............if.(ltr)............ |
bd180 | 20 20 20 20 20 20 20 6e 65 77 4d 61 72 67 69 6e 20 3d 20 74 61 62 42 6f 78 4f 62 6a 65 63 74 2e | .......newMargin.=.tabBoxObject. |
bd1a0 | 73 63 72 65 65 6e 58 20 2d 20 74 68 69 73 2e 62 6f 78 4f 62 6a 65 63 74 2e 73 63 72 65 65 6e 58 | screenX.-.this.boxObject.screenX |
bd1c0 | 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 20 20 20 | ;.................else.......... |
bd1e0 | 20 20 20 20 20 20 20 20 20 6e 65 77 4d 61 72 67 69 6e 20 3d 20 74 68 69 73 2e 62 6f 78 4f 62 6a | .........newMargin.=.this.boxObj |
bd200 | 65 63 74 2e 73 63 72 65 65 6e 58 20 2d 20 74 61 62 42 6f 78 4f 62 6a 65 63 74 2e 73 63 72 65 65 | ect.screenX.-.tabBoxObject.scree |
bd220 | 6e 58 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | nX.............................. |
bd240 | 20 2b 20 74 68 69 73 2e 62 6f 78 4f 62 6a 65 63 74 2e 77 69 64 74 68 20 2d 20 74 61 62 42 6f 78 | .+.this.boxObject.width.-.tabBox |
bd260 | 4f 62 6a 65 63 74 2e 77 69 64 74 68 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 | Object.width;...............}... |
bd280 | 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 65 6e 73 75 72 65 20 77 65 20 6e 65 76 65 72 20 70 | ............//.ensure.we.never.p |
bd2a0 | 6c 61 63 65 20 74 68 65 20 64 72 6f 70 20 69 6e 64 69 63 61 74 6f 72 20 62 65 79 6f 6e 64 20 6f | lace.the.drop.indicator.beyond.o |
bd2c0 | 75 72 20 6c 69 6d 69 74 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 6e 65 77 4d | ur.limits...............if.(newM |
bd2e0 | 61 72 67 69 6e 20 3c 20 6d 69 6e 4d 61 72 67 69 6e 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | argin.<.minMargin).............. |
bd300 | 20 20 20 6e 65 77 4d 61 72 67 69 6e 20 3d 20 6d 69 6e 4d 61 72 67 69 6e 3b 0a 20 20 20 20 20 20 | ...newMargin.=.minMargin;....... |
bd320 | 20 20 20 20 20 20 20 20 65 6c 73 65 20 69 66 20 28 6e 65 77 4d 61 72 67 69 6e 20 3e 20 6d 61 78 | ........else.if.(newMargin.>.max |
bd340 | 4d 61 72 67 69 6e 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 65 77 4d 61 72 67 69 | Margin).................newMargi |
bd360 | 6e 20 3d 20 6d 61 78 4d 61 72 67 69 6e 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 | n.=.maxMargin;.............}.... |
bd380 | 20 20 20 20 20 20 20 20 20 20 69 6e 64 2e 73 74 79 6c 65 2e 4d 6f 7a 4d 61 72 67 69 6e 53 74 61 | ..........ind.style.MozMarginSta |
bd3a0 | 72 74 20 3d 20 6e 65 77 4d 61 72 67 69 6e 20 2b 20 27 70 78 27 3b 0a 0a 20 20 20 20 20 20 20 20 | rt.=.newMargin.+.'px';.......... |
bd3c0 | 20 20 20 20 69 62 2e 63 6f 6c 6c 61 70 73 65 64 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 20 | ....ib.collapsed.=.false;....... |
bd3e0 | 20 20 20 20 5d 5d 3e 0a 20 20 20 20 20 20 20 20 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f | ....]]>.........</body>.......</ |
bd400 | 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 5f 6f 6e | method>........<method.name="_on |
bd420 | 44 72 6f 70 22 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 | Drop">.........<parameter.name=" |
bd440 | 61 45 76 65 6e 74 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 0a 20 20 20 20 20 20 20 | aEvent"/>.........<body>........ |
bd460 | 20 20 20 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 64 74 20 | ...<![CDATA[.............var.dt. |
bd480 | 3d 20 61 45 76 65 6e 74 2e 64 61 74 61 54 72 61 6e 73 66 65 72 3b 0a 20 20 20 20 20 20 20 20 20 | =.aEvent.dataTransfer;.......... |
bd4a0 | 20 20 20 76 61 72 20 64 72 6f 70 45 66 66 65 63 74 20 3d 20 64 74 2e 64 72 6f 70 45 66 66 65 63 | ...var.dropEffect.=.dt.dropEffec |
bd4c0 | 74 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 64 72 61 67 67 65 64 54 61 62 3b 0a 20 | t;.............var.draggedTab;.. |
bd4e0 | 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 64 72 6f 70 45 66 66 65 63 74 20 21 3d 20 22 6c 69 | ...........if.(dropEffect.!=."li |
bd500 | 6e 6b 22 29 20 7b 20 2f 2f 20 63 6f 70 79 20 6f 72 20 6d 6f 76 65 0a 20 20 20 20 20 20 20 20 20 | nk").{.//.copy.or.move.......... |
bd520 | 20 20 20 20 20 64 72 61 67 67 65 64 54 61 62 20 3d 20 64 74 2e 6d 6f 7a 47 65 74 44 61 74 61 41 | .....draggedTab.=.dt.mozGetDataA |
bd540 | 74 28 54 41 42 5f 44 52 4f 50 5f 54 59 50 45 2c 20 30 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 | t(TAB_DROP_TYPE,.0);............ |
bd560 | 20 20 20 2f 2f 20 6e 6f 74 20 6f 75 72 20 64 72 6f 70 20 74 68 65 6e 0a 20 20 20 20 20 20 20 20 | ...//.not.our.drop.then......... |
bd580 | 20 20 20 20 20 20 69 66 20 28 21 64 72 61 67 67 65 64 54 61 62 29 0a 20 20 20 20 20 20 20 20 20 | ......if.(!draggedTab).......... |
bd5a0 | 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 | .......return;.............}.... |
bd5c0 | 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 54 61 62 44 72 6f 70 49 6e 64 69 63 61 74 6f 72 | ..........this.mTabDropIndicator |
bd5e0 | 42 61 72 2e 63 6f 6c 6c 61 70 73 65 64 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 20 20 | Bar.collapsed.=.true;........... |
bd600 | 20 20 61 45 76 65 6e 74 2e 73 74 6f 70 50 72 6f 70 61 67 61 74 69 6f 6e 28 29 3b 0a 0a 20 20 20 | ..aEvent.stopPropagation();..... |
bd620 | 20 20 20 20 20 20 20 20 20 69 66 20 28 64 72 61 67 67 65 64 54 61 62 20 26 26 20 28 64 72 6f 70 | .........if.(draggedTab.&&.(drop |
bd640 | 45 66 66 65 63 74 20 3d 3d 20 22 63 6f 70 79 22 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 | Effect.==."copy".||............. |
bd660 | 20 20 20 20 64 72 61 67 67 65 64 54 61 62 2e 70 61 72 65 6e 74 4e 6f 64 65 20 3d 3d 20 74 68 69 | ....draggedTab.parentNode.==.thi |
bd680 | 73 2e 6d 54 61 62 43 6f 6e 74 61 69 6e 65 72 29 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 | s.mTabContainer)).{............. |
bd6a0 | 20 20 76 61 72 20 6e 65 77 49 6e 64 65 78 20 3d 20 74 68 69 73 2e 67 65 74 4e 65 77 49 6e 64 65 | ..var.newIndex.=.this.getNewInde |
bd6c0 | 78 28 61 45 76 65 6e 74 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 64 72 6f | x(aEvent);...............if.(dro |
bd6e0 | 70 45 66 66 65 63 74 20 3d 3d 20 22 63 6f 70 79 22 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 | pEffect.==."copy").{............ |
bd700 | 20 20 20 20 20 2f 2f 20 63 6f 70 79 20 74 68 65 20 64 72 6f 70 70 65 64 20 74 61 62 20 28 77 68 | .....//.copy.the.dropped.tab.(wh |
bd720 | 65 72 65 76 65 72 20 69 74 27 73 20 66 72 6f 6d 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | erever.it's.from)............... |
bd740 | 20 20 76 61 72 20 6e 65 77 54 61 62 20 3d 20 74 68 69 73 2e 64 75 70 6c 69 63 61 74 65 54 61 62 | ..var.newTab.=.this.duplicateTab |
bd760 | 28 64 72 61 67 67 65 64 54 61 62 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 | (draggedTab);.................th |
bd780 | 69 73 2e 6d 6f 76 65 54 61 62 54 6f 28 6e 65 77 54 61 62 2c 20 6e 65 77 49 6e 64 65 78 29 3b 0a | is.moveTabTo(newTab,.newIndex);. |
bd7a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 64 72 61 67 67 65 64 54 61 62 2e 70 | ................if.(draggedTab.p |
bd7c0 | 61 72 65 6e 74 4e 6f 64 65 20 21 3d 20 74 68 69 73 2e 6d 54 61 62 43 6f 6e 74 61 69 6e 65 72 20 | arentNode.!=.this.mTabContainer. |
bd7e0 | 7c 7c 20 61 45 76 65 6e 74 2e 73 68 69 66 74 4b 65 79 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ||.aEvent.shiftKey)............. |
bd800 | 20 20 20 20 20 20 74 68 69 73 2e 73 65 6c 65 63 74 65 64 54 61 62 20 3d 20 6e 65 77 54 61 62 3b | ......this.selectedTab.=.newTab; |
bd820 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 | ...............}...............e |
bd840 | 6c 73 65 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 6d 6f 76 65 20 74 68 | lse.{.................//.move.th |
bd860 | 65 20 64 72 6f 70 70 65 64 20 74 61 62 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 | e.dropped.tab.................if |
bd880 | 20 28 6e 65 77 49 6e 64 65 78 20 3e 20 64 72 61 67 67 65 64 54 61 62 2e 5f 74 50 6f 73 29 0a 20 | .(newIndex.>.draggedTab._tPos).. |
bd8a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 65 77 49 6e 64 65 78 2d 2d 3b 0a 20 20 20 | .................newIndex--;.... |
bd8c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 6e 65 77 49 6e 64 65 78 20 21 3d 20 64 72 61 | .............if.(newIndex.!=.dra |
bd8e0 | 67 67 65 64 54 61 62 2e 5f 74 50 6f 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ggedTab._tPos).................. |
bd900 | 20 74 68 69 73 2e 6d 6f 76 65 54 61 62 54 6f 28 64 72 61 67 67 65 64 54 61 62 2c 20 6e 65 77 49 | .this.moveTabTo(draggedTab,.newI |
bd920 | 6e 64 65 78 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 | ndex);...............}.......... |
bd940 | 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 20 69 66 20 28 64 72 61 67 67 65 | ...}.............else.if.(dragge |
bd960 | 64 54 61 62 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 73 77 61 70 20 74 68 | dTab).{...............//.swap.th |
bd980 | 65 20 64 72 6f 70 70 65 64 20 74 61 62 20 77 69 74 68 20 61 20 6e 65 77 20 6f 6e 65 20 77 65 20 | e.dropped.tab.with.a.new.one.we. |
bd9a0 | 63 72 65 61 74 65 20 61 6e 64 20 74 68 65 6e 20 63 6c 6f 73 65 0a 20 20 20 20 20 20 20 20 20 20 | create.and.then.close........... |
bd9c0 | 20 20 20 20 2f 2f 20 69 74 20 69 6e 20 74 68 65 20 6f 74 68 65 72 20 77 69 6e 64 6f 77 20 28 6d | ....//.it.in.the.other.window.(m |
bd9e0 | 61 6b 69 6e 67 20 69 74 20 73 65 65 6d 20 74 6f 20 68 61 76 65 20 6d 6f 76 65 64 20 62 65 74 77 | aking.it.seem.to.have.moved.betw |
bda00 | 65 65 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 77 69 6e 64 6f 77 73 29 0a 20 20 | een...............//.windows)... |
bda20 | 20 20 20 20 20 20 20 20 20 20 20 20 6e 65 77 49 6e 64 65 78 20 3d 20 74 68 69 73 2e 67 65 74 4e | ............newIndex.=.this.getN |
bda40 | 65 77 49 6e 64 65 78 28 61 45 76 65 6e 74 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e | ewIndex(aEvent);...............n |
bda60 | 65 77 54 61 62 20 3d 20 74 68 69 73 2e 61 64 64 54 61 62 28 22 61 62 6f 75 74 3a 62 6c 61 6e 6b | ewTab.=.this.addTab("about:blank |
bda80 | 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 6e 65 77 42 72 6f 77 73 65 72 | ");...............var.newBrowser |
bdaa0 | 20 3d 20 74 68 69 73 2e 67 65 74 42 72 6f 77 73 65 72 46 6f 72 54 61 62 28 6e 65 77 54 61 62 29 | .=.this.getBrowserForTab(newTab) |
bdac0 | 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 53 74 6f 70 20 74 68 65 20 61 62 6f 75 | ;...............//.Stop.the.abou |
bdae0 | 74 3a 62 6c 61 6e 6b 20 6c 6f 61 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 65 77 42 72 | t:blank.load...............newBr |
bdb00 | 6f 77 73 65 72 2e 73 74 6f 70 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 6d | owser.stop();...............//.m |
bdb20 | 61 6b 65 20 73 75 72 65 20 69 74 20 68 61 73 20 61 20 64 6f 63 73 68 65 6c 6c 0a 20 20 20 20 20 | ake.sure.it.has.a.docshell...... |
bdb40 | 20 20 20 20 20 20 20 20 20 6e 65 77 42 72 6f 77 73 65 72 2e 64 6f 63 53 68 65 6c 6c 3b 0a 20 20 | .........newBrowser.docShell;... |
bdb60 | 20 20 20 20 20 20 20 20 20 20 20 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e | ...........................this. |
bdb80 | 6d 6f 76 65 54 61 62 54 6f 28 6e 65 77 54 61 62 2c 20 6e 65 77 49 6e 64 65 78 29 3b 0a 20 20 20 | moveTabTo(newTab,.newIndex);.... |
bdba0 | 20 20 20 20 20 20 20 20 20 20 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 73 | ..........................this.s |
bdbc0 | 77 61 70 42 72 6f 77 73 65 72 73 41 6e 64 43 6c 6f 73 65 4f 74 68 65 72 28 6e 65 77 54 61 62 2c | wapBrowsersAndCloseOther(newTab, |
bdbe0 | 20 64 72 61 67 67 65 64 54 61 62 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 | .draggedTab);................//. |
bdc00 | 57 65 20 6e 65 65 64 20 74 6f 20 73 65 74 20 73 65 6c 65 63 74 65 64 54 61 62 20 61 66 74 65 72 | We.need.to.set.selectedTab.after |
bdc20 | 20 77 65 27 76 65 20 64 6f 6e 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 73 77 61 | .we've.done...............//.swa |
bdc40 | 70 42 72 6f 77 73 65 72 73 41 6e 64 43 6c 6f 73 65 4f 74 68 65 72 2c 20 73 6f 20 74 68 61 74 20 | pBrowsersAndCloseOther,.so.that. |
bdc60 | 74 68 65 20 75 70 64 61 74 65 43 75 72 72 65 6e 74 42 72 6f 77 73 65 72 0a 20 20 20 20 20 20 20 | the.updateCurrentBrowser........ |
bdc80 | 20 20 20 20 20 20 20 2f 2f 20 69 74 20 74 72 69 67 67 65 72 73 20 77 69 6c 6c 20 63 6f 72 72 65 | .......//.it.triggers.will.corre |
bdca0 | 63 74 6c 79 20 75 70 64 61 74 65 20 6f 75 72 20 55 52 4c 20 62 61 72 2e 0a 20 20 20 20 20 20 20 | ctly.update.our.URL.bar......... |
bdcc0 | 20 20 20 20 20 20 20 74 68 69 73 2e 73 65 6c 65 63 74 65 64 54 61 62 20 3d 20 6e 65 77 54 61 62 | .......this.selectedTab.=.newTab |
bdce0 | 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 | ;.............}.............else |
bdd00 | 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 75 72 6c 3b 0a 20 20 20 20 20 20 | .{...............var.url;....... |
bdd20 | 20 20 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 3d 30 3b 20 69 20 3c 20 74 68 69 73 2e 5f | ........for.(var.i=0;.i.<.this._ |
bdd40 | 73 75 70 70 6f 72 74 65 64 4c 69 6e 6b 44 72 6f 70 54 79 70 65 73 2e 6c 65 6e 67 74 68 3b 20 69 | supportedLinkDropTypes.length;.i |
bdd60 | 2b 2b 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 65 74 20 64 61 74 61 54 79 | ++).{.................let.dataTy |
bdd80 | 70 65 20 3d 20 74 68 69 73 2e 5f 73 75 70 70 6f 72 74 65 64 4c 69 6e 6b 44 72 6f 70 54 79 70 65 | pe.=.this._supportedLinkDropType |
bdda0 | 73 5b 69 5d 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 75 72 69 2d 6c 69 73 | s[i];.................//.uri-lis |
bddc0 | 74 3a 20 66 6f 72 20 6e 6f 77 2c 20 73 75 70 70 6f 72 74 20 64 72 6f 70 70 69 6e 67 20 6f 66 20 | t:.for.now,.support.dropping.of. |
bdde0 | 74 68 65 20 66 69 72 73 74 20 55 52 4c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f | the.first.URL.................// |
bde00 | 20 6f 6e 6c 79 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 69 73 55 52 4c 4c | .only.................var.isURLL |
bde20 | 69 73 74 20 3d 20 64 61 74 61 54 79 70 65 20 3d 3d 20 22 74 65 78 74 2f 75 72 69 2d 6c 69 73 74 | ist.=.dataType.==."text/uri-list |
bde40 | 22 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 65 74 20 75 72 6c 44 61 74 61 20 3d | ";.................let.urlData.= |
bde60 | 20 69 73 55 52 4c 4c 69 73 74 20 3f 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .isURLList.?.................... |
bde80 | 20 20 20 20 20 20 20 20 20 20 20 64 74 2e 6d 6f 7a 47 65 74 44 61 74 61 41 74 28 22 55 52 4c 22 | ...........dt.mozGetDataAt("URL" |
bdea0 | 2c 20 30 29 20 3a 20 64 74 2e 6d 6f 7a 47 65 74 44 61 74 61 41 74 28 64 61 74 61 54 79 70 65 2c | ,.0).:.dt.mozGetDataAt(dataType, |
bdec0 | 20 30 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 75 72 6c 44 61 74 61 | .0);.................if.(urlData |
bdee0 | 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 75 72 6c 20 3d 20 74 72 61 6e | ).{...................url.=.tran |
bdf00 | 73 66 65 72 55 74 69 6c 73 2e 72 65 74 72 69 65 76 65 55 52 4c 46 72 6f 6d 44 61 74 61 28 75 72 | sferUtils.retrieveURLFromData(ur |
bdf20 | 6c 44 61 74 61 2c 20 69 73 55 52 4c 4c 69 73 74 20 3f 20 22 74 65 78 74 2f 70 6c 61 69 6e 22 20 | lData,.isURLList.?."text/plain". |
bdf40 | 3a 20 64 61 74 61 54 79 70 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 | :.dataType);...................b |
bdf60 | 72 65 61 6b 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 | reak;.................}......... |
bdf80 | 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 4e 53 5f 41 53 53 45 52 54 28 | ......}...............NS_ASSERT( |
bdfa0 | 75 72 6c 2c 20 22 49 6e 20 74 68 65 20 64 72 6f 70 20 65 76 65 6e 74 2c 20 61 74 20 6c 65 61 73 | url,."In.the.drop.event,.at.leas |
bdfc0 | 74 20 6f 6e 65 20 6d 69 6d 65 2d 74 79 70 65 20 73 68 6f 75 6c 64 20 6d 61 74 63 68 20 6f 75 72 | t.one.mime-type.should.match.our |
bdfe0 | 20 73 75 70 70 6f 72 74 65 64 20 74 79 70 65 73 22 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 | .supported.types");............. |
be000 | 20 20 20 2f 2f 20 76 61 6c 69 64 20 75 72 6c 73 20 64 6f 6e 27 74 20 63 6f 6e 74 61 69 6e 20 73 | ...//.valid.urls.don't.contain.s |
be020 | 70 61 63 65 73 20 27 20 27 3b 20 69 66 20 77 65 20 68 61 76 65 20 61 20 73 70 61 63 65 20 69 74 | paces.'.';.if.we.have.a.space.it |
be040 | 20 69 73 6e 27 74 20 61 20 76 61 6c 69 64 20 75 72 6c 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 | .isn't.a.valid.url.............. |
be060 | 20 20 2f 2f 20 41 6c 73 6f 20 64 69 73 61 6c 6c 6f 77 20 64 72 6f 70 70 69 6e 67 20 6a 61 76 61 | ..//.Also.disallow.dropping.java |
be080 | 73 63 72 69 70 74 3a 20 6f 72 20 64 61 74 61 3a 20 75 72 6c 73 2d 2d 62 61 69 6c 20 6f 75 74 0a | script:.or.data:.urls--bail.out. |
be0a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 75 72 6c 20 7c 7c 20 21 75 72 6c 2e 6c | ..............if.(!url.||.!url.l |
be0c0 | 65 6e 67 74 68 20 7c 7c 20 75 72 6c 2e 69 6e 64 65 78 4f 66 28 22 20 22 2c 20 30 29 20 21 3d 20 | ength.||.url.indexOf(".",.0).!=. |
be0e0 | 2d 31 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 5e 5c 73 2a 28 6a 61 | -1.||.................../^\s*(ja |
be100 | 76 61 73 63 72 69 70 74 7c 64 61 74 61 29 3a 2f 2e 74 65 73 74 28 75 72 6c 29 29 0a 20 20 20 20 | vascript|data):/.test(url))..... |
be120 | 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 | ............return;............. |
be140 | 20 20 20 2f 2f 20 58 58 58 6d 61 6e 6f 3a 20 74 65 6d 70 6f 72 61 72 79 20 66 69 78 20 75 6e 74 | ...//.XXXmano:.temporary.fix.unt |
be160 | 69 6c 20 64 72 61 67 44 72 6f 70 53 65 63 75 72 69 74 79 43 68 65 63 6b 20 6d 61 6b 65 20 74 68 | il.dragDropSecurityCheck.make.th |
be180 | 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 64 72 61 67 2d 73 65 73 73 69 6f 6e 20 | e...............//.drag-session. |
be1a0 | 61 6e 20 6f 70 74 69 6f 6e 61 6c 20 70 61 72 61 6d 74 65 72 0a 20 20 20 20 20 20 20 20 20 20 20 | an.optional.paramter............ |
be1c0 | 20 20 20 76 61 72 20 64 72 61 67 53 65 72 76 69 63 65 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c | ...var.dragService.=.Cc["@mozill |
be1e0 | 61 2e 6f 72 67 2f 77 69 64 67 65 74 2f 64 72 61 67 73 65 72 76 69 63 65 3b 31 22 5d 2e 0a 20 20 | a.org/widget/dragservice;1"].... |
be200 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 | ..............................ge |
be220 | 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 44 72 61 67 53 65 72 76 69 63 65 29 3b 0a 20 20 20 | tService(Ci.nsIDragService);.... |
be240 | 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 64 72 61 67 53 65 73 73 69 6f 6e 20 3d 20 64 72 61 | ...........var.dragSession.=.dra |
be260 | 67 53 65 72 76 69 63 65 2e 67 65 74 43 75 72 72 65 6e 74 53 65 73 73 69 6f 6e 28 29 3b 0a 20 20 | gService.getCurrentSession();... |
be280 | 20 20 20 20 20 20 20 20 20 20 20 20 6e 73 44 72 61 67 41 6e 64 44 72 6f 70 2e 64 72 61 67 44 72 | ............nsDragAndDrop.dragDr |
be2a0 | 6f 70 53 65 63 75 72 69 74 79 43 68 65 63 6b 28 61 45 76 65 6e 74 2c 20 64 72 61 67 53 65 73 73 | opSecurityCheck(aEvent,.dragSess |
be2c0 | 69 6f 6e 2c 20 75 72 6c 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 62 67 | ion,.url);................var.bg |
be2e0 | 4c 6f 61 64 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 72 79 20 7b | Load.=.true;...............try.{ |
be300 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 67 4c 6f 61 64 20 3d 20 74 68 69 73 2e 6d | .................bgLoad.=.this.m |
be320 | 50 72 65 66 73 2e 67 65 74 42 6f 6f 6c 50 72 65 66 28 22 62 72 6f 77 73 65 72 2e 74 61 62 73 2e | Prefs.getBoolPref("browser.tabs. |
be340 | 6c 6f 61 64 49 6e 42 61 63 6b 67 72 6f 75 6e 64 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 | loadInBackground");............. |
be360 | 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 74 63 68 20 28 65 29 20 7b 20 7d 0a | ..}...............catch.(e).{.}. |
be380 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 61 45 76 65 6e 74 2e 73 68 69 66 74 4b | ...............if.(aEvent.shiftK |
be3a0 | 65 79 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 67 4c 6f 61 64 20 3d 20 21 62 67 | ey).................bgLoad.=.!bg |
be3c0 | 4c 6f 61 64 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 64 6f 63 75 6d 65 6e | Load;................if.(documen |
be3e0 | 74 2e 67 65 74 42 69 6e 64 69 6e 67 50 61 72 65 6e 74 28 61 45 76 65 6e 74 2e 6f 72 69 67 69 6e | t.getBindingParent(aEvent.origin |
be400 | 61 6c 54 61 72 67 65 74 29 2e 6c 6f 63 61 6c 4e 61 6d 65 20 21 3d 20 22 74 61 62 22 20 7c 7c 20 | alTarget).localName.!=."tab".||. |
be420 | 64 72 6f 70 45 66 66 65 63 74 20 3d 3d 20 22 63 6f 70 79 22 29 20 7b 0a 20 20 20 20 20 20 20 20 | dropEffect.==."copy").{......... |
be440 | 20 20 20 20 20 20 20 20 2f 2f 20 57 65 27 72 65 20 61 64 64 69 6e 67 20 61 20 6e 65 77 20 74 61 | ........//.We're.adding.a.new.ta |
be460 | 62 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 65 77 49 6e 64 65 78 20 3d 20 74 68 | b..................newIndex.=.th |
be480 | 69 73 2e 67 65 74 4e 65 77 49 6e 64 65 78 28 61 45 76 65 6e 74 29 3b 0a 20 20 20 20 20 20 20 20 | is.getNewIndex(aEvent);......... |
be4a0 | 20 20 20 20 20 20 20 20 6e 65 77 54 61 62 20 3d 20 74 68 69 73 2e 6c 6f 61 64 4f 6e 65 54 61 62 | ........newTab.=.this.loadOneTab |
be4c0 | 28 67 65 74 53 68 6f 72 74 63 75 74 4f 72 55 52 49 28 75 72 6c 29 2c 20 6e 75 6c 6c 2c 20 6e 75 | (getShortcutOrURI(url),.null,.nu |
be4e0 | 6c 6c 2c 20 6e 75 6c 6c 2c 20 62 67 4c 6f 61 64 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 20 20 20 | ll,.null,.bgLoad,.false);....... |
be500 | 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 6f 76 65 54 61 62 54 6f 28 6e 65 77 54 61 62 2c | ..........this.moveTabTo(newTab, |
be520 | 20 6e 65 77 49 6e 64 65 78 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 | .newIndex);...............}..... |
be540 | 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ..........else.{................ |
be560 | 20 2f 2f 20 4c 6f 61 64 20 69 6e 20 61 6e 20 65 78 69 73 74 69 6e 67 20 74 61 62 2e 0a 20 20 20 | .//.Load.in.an.existing.tab..... |
be580 | 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 74 61 62 20 3d 20 61 45 76 65 6e 74 2e 74 61 | .............var.tab.=.aEvent.ta |
be5a0 | 72 67 65 74 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 | rget;.................try.{..... |
be5c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 67 65 74 42 72 6f 77 73 65 72 46 6f 72 | ..............this.getBrowserFor |
be5e0 | 54 61 62 28 74 61 62 29 2e 6c 6f 61 64 55 52 49 28 67 65 74 53 68 6f 72 74 63 75 74 4f 72 55 52 | Tab(tab).loadURI(getShortcutOrUR |
be600 | 49 28 75 72 6c 29 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 | I(url));...................if.(t |
be620 | 68 69 73 2e 6d 43 75 72 72 65 6e 74 54 61 62 20 21 3d 20 74 61 62 20 26 26 20 21 62 67 4c 6f 61 | his.mCurrentTab.!=.tab.&&.!bgLoa |
be640 | 64 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 73 65 6c 65 | d).....................this.sele |
be660 | 63 74 65 64 54 61 62 20 3d 20 74 61 62 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d | ctedTab.=.tab;.................} |
be680 | 20 63 61 74 63 68 28 65 78 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f | .catch(ex).{.................../ |
be6a0 | 2f 20 4a 75 73 74 20 69 67 6e 6f 72 65 20 69 6e 76 61 6c 69 64 20 75 72 6c 73 0a 20 20 20 20 20 | /.Just.ignore.invalid.urls...... |
be6c0 | 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 | ...........}...............}.... |
be6e0 | 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 5d 5d 3e 0a 20 20 20 20 20 20 20 | .........}...........]]>........ |
be700 | 20 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 | .</body>.......</method>........ |
be720 | 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 5f 6f 6e 44 72 61 67 45 6e 64 22 3e 0a 20 20 20 20 20 | <method.name="_onDragEnd">...... |
be740 | 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 45 76 65 6e 74 22 2f 3e 0a 20 20 | ...<parameter.name="aEvent"/>... |
be760 | 20 20 20 20 20 20 3c 62 6f 64 79 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 21 5b 43 44 41 54 41 5b | ......<body>...........<![CDATA[ |
be780 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 4e 6f 74 65 3a 20 77 68 69 6c 65 20 74 68 69 73 | .............//.Note:.while.this |
be7a0 | 20 63 61 73 65 20 69 73 20 63 6f 72 72 65 63 74 6c 79 20 68 61 6e 64 6c 65 64 20 68 65 72 65 2c | .case.is.correctly.handled.here, |
be7c0 | 20 74 68 69 73 20 65 76 65 6e 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 69 73 6e 27 74 | .this.event.............//.isn't |
be7e0 | 20 64 69 73 70 61 74 63 68 65 64 20 77 68 65 6e 20 74 68 65 20 74 61 62 20 69 73 20 6d 6f 76 65 | .dispatched.when.the.tab.is.move |
be800 | 64 20 77 69 74 68 69 6e 20 74 68 65 20 74 61 62 73 74 72 69 70 2c 0a 20 20 20 20 20 20 20 20 20 | d.within.the.tabstrip,.......... |
be820 | 20 20 20 2f 2f 20 73 65 65 20 62 75 67 20 34 36 30 38 30 31 2e 0a 0a 20 20 20 20 20 20 20 20 20 | ...//.see.bug.460801............ |
be840 | 20 20 20 2f 2f 20 2a 20 6d 6f 7a 55 73 65 72 43 61 6e 63 65 6c 6c 65 64 20 3d 20 74 68 65 20 75 | ...//.*.mozUserCancelled.=.the.u |
be860 | 73 65 72 20 70 72 65 73 73 65 64 20 45 53 43 20 74 6f 20 63 61 6e 63 65 6c 20 74 68 65 20 64 72 | ser.pressed.ESC.to.cancel.the.dr |
be880 | 61 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 64 74 20 3d 20 61 45 76 65 6e 74 2e 64 | ag.............var.dt.=.aEvent.d |
be8a0 | 61 74 61 54 72 61 6e 73 66 65 72 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 64 74 2e | ataTransfer;.............if.(dt. |
be8c0 | 6d 6f 7a 55 73 65 72 43 61 6e 63 65 6c 6c 65 64 20 7c 7c 20 64 74 2e 64 72 6f 70 45 66 66 65 63 | mozUserCancelled.||.dt.dropEffec |
be8e0 | 74 20 21 3d 20 22 6e 6f 6e 65 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 | t.!=."none")...............retur |
be900 | 6e 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 44 69 73 61 62 6c 65 20 64 65 74 61 63 | n;..............//.Disable.detac |
be920 | 68 20 77 69 74 68 69 6e 20 74 68 65 20 62 72 6f 77 73 65 72 20 74 6f 6f 6c 62 6f 78 0a 20 20 20 | h.within.the.browser.toolbox.... |
be940 | 20 20 20 20 20 20 20 20 20 76 61 72 20 65 58 20 3d 20 61 45 76 65 6e 74 2e 73 63 72 65 65 6e 58 | .........var.eX.=.aEvent.screenX |
be960 | 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 77 58 20 3d 20 77 69 6e 64 6f 77 2e 73 63 | ;.............var.wX.=.window.sc |
be980 | 72 65 65 6e 58 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 63 68 65 63 6b 20 69 66 20 74 | reenX;.............//.check.if.t |
be9a0 | 68 65 20 64 72 6f 70 20 70 6f 69 6e 74 20 69 73 20 68 6f 72 69 7a 6f 6e 74 61 6c 6c 79 20 77 69 | he.drop.point.is.horizontally.wi |
be9c0 | 74 68 69 6e 20 74 68 65 20 77 69 6e 64 6f 77 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 | thin.the.window.............if.( |
be9e0 | 65 58 20 3e 20 77 58 20 26 26 20 65 58 20 3c 20 28 77 58 20 2b 20 77 69 6e 64 6f 77 2e 6f 75 74 | eX.>.wX.&&.eX.<.(wX.+.window.out |
bea00 | 65 72 57 69 64 74 68 29 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 62 6f | erWidth)).{...............var.bo |
bea20 | 20 3d 20 74 68 69 73 2e 6d 54 61 62 43 6f 6e 74 61 69 6e 65 72 2e 6d 54 61 62 73 74 72 69 70 2e | .=.this.mTabContainer.mTabstrip. |
bea40 | 62 6f 78 4f 62 6a 65 63 74 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 61 6c 73 6f | boxObject;...............//.also |
bea60 | 20 61 76 6f 69 64 20 64 65 74 61 63 68 69 6e 67 20 69 66 20 74 68 65 20 74 68 65 20 74 61 62 20 | .avoid.detaching.if.the.the.tab. |
bea80 | 77 61 73 20 64 72 6f 70 70 65 64 20 74 6f 6f 20 63 6c 6f 73 65 20 74 6f 0a 20 20 20 20 20 20 20 | was.dropped.too.close.to........ |
beaa0 | 20 20 20 20 20 20 20 2f 2f 20 74 68 65 20 74 61 62 62 61 72 20 28 68 61 6c 66 20 61 20 74 61 62 | .......//.the.tabbar.(half.a.tab |
beac0 | 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 65 6e 64 53 63 72 65 65 6e 59 20 3d | )...............var.endScreenY.= |
beae0 | 20 62 6f 2e 73 63 72 65 65 6e 59 20 2b 20 31 2e 35 20 2a 20 62 6f 2e 68 65 69 67 68 74 3b 0a 20 | .bo.screenY.+.1.5.*.bo.height;.. |
beb00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 65 59 20 3d 20 61 45 76 65 6e 74 2e 73 63 72 | .............var.eY.=.aEvent.scr |
beb20 | 65 65 6e 59 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 65 59 20 3c 20 65 6e 64 | eenY;...............if.(eY.<.end |
beb40 | 53 63 72 65 65 6e 59 20 26 26 20 65 59 20 3e 20 77 69 6e 64 6f 77 2e 73 63 72 65 65 6e 59 29 0a | ScreenY.&&.eY.>.window.screenY). |
beb60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 20 20 20 20 20 20 | ................return;......... |
beb80 | 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 64 72 61 67 67 65 64 54 61 | ....}..............var.draggedTa |
beba0 | 62 20 3d 20 64 74 2e 6d 6f 7a 47 65 74 44 61 74 61 41 74 28 54 41 42 5f 44 52 4f 50 5f 54 59 50 | b.=.dt.mozGetDataAt(TAB_DROP_TYP |
bebc0 | 45 2c 20 30 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 72 65 70 6c 61 63 65 54 | E,.0);.............this.replaceT |
bebe0 | 61 62 57 69 74 68 57 69 6e 64 6f 77 28 64 72 61 67 67 65 64 54 61 62 29 3b 0a 20 20 20 20 20 20 | abWithWindow(draggedTab);....... |
bec00 | 20 20 20 20 20 20 61 45 76 65 6e 74 2e 73 74 6f 70 50 72 6f 70 61 67 61 74 69 6f 6e 28 29 3b 0a | ......aEvent.stopPropagation();. |
bec20 | 20 20 20 20 20 20 20 20 20 20 5d 5d 3e 0a 20 20 20 20 20 20 20 20 3c 2f 62 6f 64 79 3e 0a 20 20 | ..........]]>.........</body>... |
bec40 | 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 21 2d 2d 20 4d 6f 76 65 73 20 | ....</method>........<!--.Moves. |
bec60 | 61 20 74 61 62 20 74 6f 20 61 20 6e 65 77 20 62 72 6f 77 73 65 72 20 77 69 6e 64 6f 77 2c 20 75 | a.tab.to.a.new.browser.window,.u |
bec80 | 6e 6c 65 73 73 20 69 74 27 73 20 61 6c 72 65 61 64 79 20 74 68 65 20 6f 6e 6c 79 20 74 61 62 0a | nless.it's.already.the.only.tab. |
beca0 | 20 20 20 20 20 20 20 20 20 20 20 69 6e 20 74 68 65 20 63 75 72 72 65 6e 74 20 77 69 6e 64 6f 77 | ...........in.the.current.window |
becc0 | 2c 20 69 6e 20 77 68 69 63 68 20 63 61 73 65 20 74 68 69 73 20 77 69 6c 6c 20 64 6f 20 6e 6f 74 | ,.in.which.case.this.will.do.not |
bece0 | 68 69 6e 67 2e 20 2d 2d 3e 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 72 65 | hing..-->.......<method.name="re |
bed00 | 70 6c 61 63 65 54 61 62 57 69 74 68 57 69 6e 64 6f 77 22 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 | placeTabWithWindow">.........<pa |
bed20 | 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 54 61 62 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 | rameter.name="aTab"/>.........<b |
bed40 | 6f 64 79 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 | ody>...........<![CDATA[........ |
bed60 | 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 6d 54 61 62 73 2e 6c 65 6e 67 74 68 20 3d 3d 20 31 29 | .....if.(this.mTabs.length.==.1) |
bed80 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 20 20 20 20 20 20 | ...............return;.......... |
beda0 | 20 20 20 20 2f 2f 20 74 65 6c 6c 20 61 20 6e 65 77 20 77 69 6e 64 6f 77 20 74 6f 20 74 61 6b 65 | ....//.tell.a.new.window.to.take |
bedc0 | 20 74 68 65 20 22 64 72 6f 70 70 65 64 22 20 74 61 62 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 | .the."dropped".tab.............v |
bede0 | 61 72 20 77 77 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 65 6d 62 65 64 63 6f | ar.ww.=.Cc["@mozilla.org/embedco |
bee00 | 6d 70 2f 77 69 6e 64 6f 77 2d 77 61 74 63 68 65 72 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 | mp/window-watcher;1"]........... |
bee20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 57 69 | .............getService(Ci.nsIWi |
bee40 | 6e 64 6f 77 57 61 74 63 68 65 72 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e | ndowWatcher);.............return |
bee60 | 20 77 77 2e 6f 70 65 6e 57 69 6e 64 6f 77 28 77 69 6e 64 6f 77 2c 0a 20 20 20 20 20 20 20 20 20 | .ww.openWindow(window,.......... |
bee80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 42 72 6f 77 73 | ........................getBrows |
beea0 | 65 72 55 52 4c 28 29 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | erURL(),........................ |
beec0 | 20 20 20 20 20 20 20 20 20 20 6e 75 6c 6c 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ..........null,................. |
beee0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 63 68 72 6f 6d 65 2c 64 69 61 6c 6f 67 3d | ................."chrome,dialog= |
bef00 | 6e 6f 2c 61 6c 6c 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | no,all",........................ |
bef20 | 20 20 20 20 20 20 20 20 20 20 61 54 61 62 29 3b 0a 20 20 20 20 20 20 20 20 20 20 5d 5d 3e 0a 20 | ..........aTab);...........]]>.. |
bef40 | 20 20 20 20 20 20 20 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a | .......</body>.......</method>.. |
bef60 | 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 5f 6f 6e 44 72 61 67 4c 65 61 76 65 | ......<method.name="_onDragLeave |
bef80 | 22 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 45 76 65 | ">.........<parameter.name="aEve |
befa0 | 6e 74 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 0a 20 20 20 20 20 20 20 20 20 20 3c | nt"/>.........<body>...........< |
befc0 | 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 44 72 61 67 54 | ![CDATA[.............this.mDragT |
befe0 | 69 6d 65 20 3d 20 30 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 54 68 69 73 20 64 6f | ime.=.0;..............//.This.do |
bf000 | 65 73 20 6e 6f 74 20 77 6f 72 6b 20 61 74 20 61 6c 6c 20 28 73 65 65 20 62 75 67 20 34 35 38 36 | es.not.work.at.all.(see.bug.4586 |
bf020 | 31 33 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 74 61 72 67 65 74 20 3d 20 61 45 76 | 13).............var.target.=.aEv |
bf040 | 65 6e 74 2e 72 65 6c 61 74 65 64 54 61 72 67 65 74 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 77 | ent.relatedTarget;.............w |
bf060 | 68 69 6c 65 20 28 74 61 72 67 65 74 20 26 26 20 74 61 72 67 65 74 20 21 3d 20 74 68 69 73 29 0a | hile.(target.&&.target.!=.this). |
bf080 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 61 72 67 65 74 20 3d 20 74 61 72 67 65 74 2e 70 61 | ..............target.=.target.pa |
bf0a0 | 72 65 6e 74 4e 6f 64 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 61 72 67 65 74 | rentNode;.............if.(target |
bf0c0 | 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 20 20 20 20 20 | )...............return;......... |
bf0e0 | 20 20 20 20 20 74 68 69 73 2e 6d 54 61 62 44 72 6f 70 49 6e 64 69 63 61 74 6f 72 42 61 72 2e 63 | .....this.mTabDropIndicatorBar.c |
bf100 | 6f 6c 6c 61 70 73 65 64 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 61 45 76 | ollapsed.=.true;.............aEv |
bf120 | 65 6e 74 2e 73 74 6f 70 50 72 6f 70 61 67 61 74 69 6f 6e 28 29 3b 0a 20 20 20 20 20 20 20 20 20 | ent.stopPropagation();.......... |
bf140 | 20 5d 5d 3e 0a 20 20 20 20 20 20 20 20 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 | .]]>.........</body>.......</met |
bf160 | 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 6d 6f 76 65 54 61 | hod>........<method.name="moveTa |
bf180 | 62 54 6f 22 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 | bTo">.........<parameter.name="a |
bf1a0 | 54 61 62 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 | Tab"/>.........<parameter.name=" |
bf1c0 | 61 49 6e 64 65 78 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 0a 20 20 20 20 20 20 20 | aIndex"/>.........<body>........ |
bf1e0 | 20 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 62 72 6f 77 73 | .<![CDATA[...........this._brows |
bf200 | 65 72 73 20 3d 20 6e 75 6c 6c 3b 20 2f 2f 20 69 6e 76 61 6c 69 64 61 74 65 20 63 61 63 68 65 0a | ers.=.null;.//.invalidate.cache. |
bf220 | 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 54 61 62 46 69 6c 74 65 72 73 2e 73 70 6c 69 63 | ..........this.mTabFilters.splic |
bf240 | 65 28 61 49 6e 64 65 78 2c 20 30 2c 20 74 68 69 73 2e 6d 54 61 62 46 69 6c 74 65 72 73 2e 73 70 | e(aIndex,.0,.this.mTabFilters.sp |
bf260 | 6c 69 63 65 28 61 54 61 62 2e 5f 74 50 6f 73 2c 20 31 29 5b 30 5d 29 3b 0a 20 20 20 20 20 20 20 | lice(aTab._tPos,.1)[0]);........ |
bf280 | 20 20 20 74 68 69 73 2e 6d 54 61 62 4c 69 73 74 65 6e 65 72 73 2e 73 70 6c 69 63 65 28 61 49 6e | ...this.mTabListeners.splice(aIn |
bf2a0 | 64 65 78 2c 20 30 2c 20 74 68 69 73 2e 6d 54 61 62 4c 69 73 74 65 6e 65 72 73 2e 73 70 6c 69 63 | dex,.0,.this.mTabListeners.splic |
bf2c0 | 65 28 61 54 61 62 2e 5f 74 50 6f 73 2c 20 31 29 5b 30 5d 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 | e(aTab._tPos,.1)[0]);........... |
bf2e0 | 20 76 61 72 20 6f 6c 64 50 6f 73 69 74 69 6f 6e 20 3d 20 61 54 61 62 2e 5f 74 50 6f 73 3b 0a 0a | .var.oldPosition.=.aTab._tPos;.. |
bf300 | 20 20 20 20 20 20 20 20 20 20 61 49 6e 64 65 78 20 3d 20 61 49 6e 64 65 78 20 3c 20 61 54 61 62 | ..........aIndex.=.aIndex.<.aTab |
bf320 | 2e 5f 74 50 6f 73 20 3f 20 61 49 6e 64 65 78 3a 20 61 49 6e 64 65 78 2b 31 3b 0a 20 20 20 20 20 | ._tPos.?.aIndex:.aIndex+1;...... |
bf340 | 20 20 20 20 20 74 68 69 73 2e 6d 43 75 72 72 65 6e 74 54 61 62 2e 5f 73 65 6c 65 63 74 65 64 20 | .....this.mCurrentTab._selected. |
bf360 | 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 75 73 65 20 2e 69 74 65 6d 28 | =.false;...........//.use..item( |
bf380 | 29 20 69 6e 73 74 65 61 64 20 6f 66 20 5b 5d 20 62 65 63 61 75 73 65 20 64 72 61 67 67 69 6e 67 | ).instead.of.[].because.dragging |
bf3a0 | 20 74 6f 20 74 68 65 20 65 6e 64 20 6f 66 20 74 68 65 20 73 74 72 69 70 20 67 6f 65 73 20 6f 75 | .to.the.end.of.the.strip.goes.ou |
bf3c0 | 74 20 6f 66 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 62 6f 75 6e 64 73 3a 20 2e 69 74 65 6d 28 | t.of...........//.bounds:..item( |
bf3e0 | 29 20 72 65 74 75 72 6e 73 20 6e 75 6c 6c 20 28 73 6f 20 69 74 20 61 63 74 73 20 6c 69 6b 65 20 | ).returns.null.(so.it.acts.like. |
bf400 | 61 70 70 65 6e 64 43 68 69 6c 64 29 2c 20 62 75 74 20 5b 5d 20 74 68 72 6f 77 73 0a 20 20 20 20 | appendChild),.but.[].throws..... |
bf420 | 20 20 20 20 20 20 74 68 69 73 2e 6d 54 61 62 43 6f 6e 74 61 69 6e 65 72 2e 69 6e 73 65 72 74 42 | ......this.mTabContainer.insertB |
bf440 | 65 66 6f 72 65 28 61 54 61 62 2c 20 74 68 69 73 2e 6d 54 61 62 43 6f 6e 74 61 69 6e 65 72 2e 63 | efore(aTab,.this.mTabContainer.c |
bf460 | 68 69 6c 64 4e 6f 64 65 73 2e 69 74 65 6d 28 61 49 6e 64 65 78 29 29 3b 0a 20 20 20 20 20 20 20 | hildNodes.item(aIndex));........ |
bf480 | 20 20 20 2f 2f 20 69 6e 76 61 6c 69 64 61 74 65 20 63 61 63 68 65 2c 20 62 65 63 61 75 73 65 20 | ...//.invalidate.cache,.because. |
bf4a0 | 6d 54 61 62 43 6f 6e 74 61 69 6e 65 72 20 69 73 20 61 62 6f 75 74 20 74 6f 20 63 68 61 6e 67 65 | mTabContainer.is.about.to.change |
bf4c0 | 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 62 72 6f 77 73 65 72 73 20 3d 20 6e 75 6c 6c | ...........this._browsers.=.null |
bf4e0 | 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 69 3b 0a 20 20 20 20 20 20 20 20 20 20 66 6f | ;............var.i;...........fo |
bf500 | 72 20 28 69 20 3d 20 30 3b 20 69 20 3c 20 74 68 69 73 2e 6d 54 61 62 43 6f 6e 74 61 69 6e 65 72 | r.(i.=.0;.i.<.this.mTabContainer |
bf520 | 2e 63 68 69 6c 64 4e 6f 64 65 73 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 20 7b 0a 20 20 20 20 20 | .childNodes.length;.i++).{...... |
bf540 | 20 20 20 20 20 20 20 74 68 69 73 2e 6d 54 61 62 43 6f 6e 74 61 69 6e 65 72 2e 63 68 69 6c 64 4e | .......this.mTabContainer.childN |
bf560 | 6f 64 65 73 5b 69 5d 2e 5f 74 50 6f 73 20 3d 20 69 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 | odes[i]._tPos.=.i;.............t |
bf580 | 68 69 73 2e 6d 54 61 62 43 6f 6e 74 61 69 6e 65 72 2e 63 68 69 6c 64 4e 6f 64 65 73 5b 69 5d 2e | his.mTabContainer.childNodes[i]. |
bf5a0 | 5f 73 65 6c 65 63 74 65 64 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 | _selected.=.false;...........}.. |
bf5c0 | 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 43 75 72 72 65 6e 74 54 61 62 2e 5f 73 65 6c 65 63 | .........this.mCurrentTab._selec |
bf5e0 | 74 65 64 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 54 61 62 43 | ted.=.true;...........this.mTabC |
bf600 | 6f 6e 74 61 69 6e 65 72 2e 6d 54 61 62 73 74 72 69 70 2e 73 63 72 6f 6c 6c 42 6f 78 4f 62 6a 65 | ontainer.mTabstrip.scrollBoxObje |
bf620 | 63 74 2e 65 6e 73 75 72 65 45 6c 65 6d 65 6e 74 49 73 56 69 73 69 62 6c 65 28 74 68 69 73 2e 6d | ct.ensureElementIsVisible(this.m |
bf640 | 43 75 72 72 65 6e 74 54 61 62 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 65 76 74 20 | CurrentTab);............var.evt. |
bf660 | 3d 20 64 6f 63 75 6d 65 6e 74 2e 63 72 65 61 74 65 45 76 65 6e 74 28 22 55 49 45 76 65 6e 74 73 | =.document.createEvent("UIEvents |
bf680 | 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 65 76 74 2e 69 6e 69 74 55 49 45 76 65 6e 74 28 22 54 | ");...........evt.initUIEvent("T |
bf6a0 | 61 62 4d 6f 76 65 22 2c 20 74 72 75 65 2c 20 66 61 6c 73 65 2c 20 77 69 6e 64 6f 77 2c 20 6f 6c | abMove",.true,.false,.window,.ol |
bf6c0 | 64 50 6f 73 69 74 69 6f 6e 29 3b 0a 20 20 20 20 20 20 20 20 20 20 61 54 61 62 2e 64 69 73 70 61 | dPosition);...........aTab.dispa |
bf6e0 | 74 63 68 45 76 65 6e 74 28 65 76 74 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e | tchEvent(evt);............return |
bf700 | 20 61 54 61 62 3b 0a 20 20 20 20 20 20 20 20 5d 5d 3e 0a 20 20 20 20 20 20 20 20 3c 2f 62 6f 64 | .aTab;.........]]>.........</bod |
bf720 | 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f | y>.......</method>........<metho |
bf740 | 64 20 6e 61 6d 65 3d 22 67 65 74 4e 65 77 49 6e 64 65 78 22 3e 0a 20 20 20 20 20 20 20 20 3c 70 | d.name="getNewIndex">.........<p |
bf760 | 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 45 76 65 6e 74 22 2f 3e 0a 20 20 20 20 20 20 20 | arameter.name="aEvent"/>........ |
bf780 | 20 3c 62 6f 64 79 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 | .<body>...........<![CDATA[..... |
bf7a0 | 20 20 20 20 20 20 20 20 76 61 72 20 69 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 77 | ........var.i;.............if.(w |
bf7c0 | 69 6e 64 6f 77 2e 67 65 74 43 6f 6d 70 75 74 65 64 53 74 79 6c 65 28 74 68 69 73 2e 70 61 72 65 | indow.getComputedStyle(this.pare |
bf7e0 | 6e 74 4e 6f 64 65 2c 20 6e 75 6c 6c 29 2e 64 69 72 65 63 74 69 6f 6e 20 3d 3d 20 22 6c 74 72 22 | ntNode,.null).direction.==."ltr" |
bf800 | 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 6f 72 20 28 69 20 3d 20 61 45 76 65 6e | ).{...............for.(i.=.aEven |
bf820 | 74 2e 74 61 72 67 65 74 2e 6c 6f 63 61 6c 4e 61 6d 65 20 3d 3d 20 22 74 61 62 22 20 3f 20 61 45 | t.target.localName.==."tab".?.aE |
bf840 | 76 65 6e 74 2e 74 61 72 67 65 74 2e 5f 74 50 6f 73 20 3a 20 30 3b 20 69 20 3c 20 74 68 69 73 2e | vent.target._tPos.:.0;.i.<.this. |
bf860 | 6d 54 61 62 73 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | mTabs.length;.i++).............. |
bf880 | 20 20 20 69 66 20 28 61 45 76 65 6e 74 2e 73 63 72 65 65 6e 58 20 3c 20 74 68 69 73 2e 6d 54 61 | ...if.(aEvent.screenX.<.this.mTa |
bf8a0 | 62 73 5b 69 5d 2e 62 6f 78 4f 62 6a 65 63 74 2e 73 63 72 65 65 6e 58 20 2b 20 74 68 69 73 2e 6d | bs[i].boxObject.screenX.+.this.m |
bf8c0 | 54 61 62 73 5b 69 5d 2e 62 6f 78 4f 62 6a 65 63 74 2e 77 69 64 74 68 20 2f 20 32 29 20 0a 20 20 | Tabs[i].boxObject.width./.2).... |
bf8e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 69 3b 0a 20 20 20 20 20 20 | ................return.i;....... |
bf900 | 20 20 20 20 20 20 7d 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 6f 72 | ......}.else.{...............for |
bf920 | 20 28 69 20 3d 20 61 45 76 65 6e 74 2e 74 61 72 67 65 74 2e 6c 6f 63 61 6c 4e 61 6d 65 20 3d 3d | .(i.=.aEvent.target.localName.== |
bf940 | 20 22 74 61 62 22 20 3f 20 61 45 76 65 6e 74 2e 74 61 72 67 65 74 2e 5f 74 50 6f 73 20 3a 20 30 | ."tab".?.aEvent.target._tPos.:.0 |
bf960 | 3b 20 69 20 3c 20 74 68 69 73 2e 6d 54 61 62 73 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 0a 20 20 | ;.i.<.this.mTabs.length;.i++)... |
bf980 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 61 45 76 65 6e 74 2e 73 63 72 65 65 6e 58 | ..............if.(aEvent.screenX |
bf9a0 | 20 3e 20 74 68 69 73 2e 6d 54 61 62 73 5b 69 5d 2e 62 6f 78 4f 62 6a 65 63 74 2e 73 63 72 65 65 | .>.this.mTabs[i].boxObject.scree |
bf9c0 | 6e 58 20 2b 20 74 68 69 73 2e 6d 54 61 62 73 5b 69 5d 2e 62 6f 78 4f 62 6a 65 63 74 2e 77 69 64 | nX.+.this.mTabs[i].boxObject.wid |
bf9e0 | 74 68 20 2f 20 32 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e | th./.2)...................return |
bfa00 | 20 69 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 | .i;.............}.............re |
bfa20 | 74 75 72 6e 20 74 68 69 73 2e 6d 54 61 62 73 2e 6c 65 6e 67 74 68 3b 0a 20 20 20 20 20 20 20 20 | turn.this.mTabs.length;......... |
bfa40 | 20 20 5d 5d 3e 0a 20 20 20 20 20 20 20 20 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 | ..]]>.........</body>.......</me |
bfa60 | 74 68 6f 64 3e 0a 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 6d 6f 76 65 | thod>.........<method.name="move |
bfa80 | 54 61 62 46 6f 72 77 61 72 64 22 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 0a 20 20 20 20 | TabForward">.........<body>..... |
bfaa0 | 20 20 20 20 20 20 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 | ......<![CDATA[.............var. |
bfac0 | 74 61 62 50 6f 73 20 3d 20 74 68 69 73 2e 6d 43 75 72 72 65 6e 74 54 61 62 2e 5f 74 50 6f 73 3b | tabPos.=.this.mCurrentTab._tPos; |
bfae0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 61 62 50 6f 73 20 3c 20 74 68 69 73 2e 62 | .............if.(tabPos.<.this.b |
bfb00 | 72 6f 77 73 65 72 73 2e 6c 65 6e 67 74 68 20 2d 20 31 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 | rowsers.length.-.1).{........... |
bfb20 | 20 20 20 20 74 68 69 73 2e 6d 6f 76 65 54 61 62 54 6f 28 74 68 69 73 2e 6d 43 75 72 72 65 6e 74 | ....this.moveTabTo(this.mCurrent |
bfb40 | 54 61 62 2c 20 74 61 62 50 6f 73 20 2b 20 31 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | Tab,.tabPos.+.1);............... |
bfb60 | 74 68 69 73 2e 6d 43 75 72 72 65 6e 74 54 61 62 2e 66 6f 63 75 73 28 29 3b 0a 20 20 20 20 20 20 | this.mCurrentTab.focus();....... |
bfb80 | 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 20 69 66 20 28 74 68 69 | ......}.............else.if.(thi |
bfba0 | 73 2e 61 72 72 6f 77 4b 65 79 73 53 68 6f 75 6c 64 57 72 61 70 29 0a 20 20 20 20 20 20 20 20 20 | s.arrowKeysShouldWrap).......... |
bfbc0 | 20 20 20 20 20 74 68 69 73 2e 6d 6f 76 65 54 61 62 54 6f 53 74 61 72 74 28 29 3b 0a 20 20 20 20 | .....this.moveTabToStart();..... |
bfbe0 | 20 20 20 20 20 20 5d 5d 3e 0a 20 20 20 20 20 20 20 20 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 | ......]]>.........</body>....... |
bfc00 | 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 6d | </method>........<method.name="m |
bfc20 | 6f 76 65 54 61 62 42 61 63 6b 77 61 72 64 22 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 0a | oveTabBackward">.........<body>. |
bfc40 | 20 20 20 20 20 20 20 20 20 20 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ..........<![CDATA[............. |
bfc60 | 76 61 72 20 74 61 62 50 6f 73 20 3d 20 74 68 69 73 2e 6d 43 75 72 72 65 6e 74 54 61 62 2e 5f 74 | var.tabPos.=.this.mCurrentTab._t |
bfc80 | 50 6f 73 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 61 62 50 6f 73 20 3e 20 30 29 | Pos;.............if.(tabPos.>.0) |
bfca0 | 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 6f 76 65 54 61 62 54 6f 28 | .{...............this.moveTabTo( |
bfcc0 | 74 68 69 73 2e 6d 43 75 72 72 65 6e 74 54 61 62 2c 20 74 61 62 50 6f 73 20 2d 20 31 29 3b 0a 20 | this.mCurrentTab,.tabPos.-.1);.. |
bfce0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 43 75 72 72 65 6e 74 54 61 62 2e 66 6f | .............this.mCurrentTab.fo |
bfd00 | 63 75 73 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 | cus();.............}............ |
bfd20 | 20 65 6c 73 65 20 69 66 20 28 74 68 69 73 2e 61 72 72 6f 77 4b 65 79 73 53 68 6f 75 6c 64 57 72 | .else.if.(this.arrowKeysShouldWr |
bfd40 | 61 70 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 6f 76 65 54 61 62 54 6f | ap)...............this.moveTabTo |
bfd60 | 45 6e 64 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 5d 5d 3e 0a 20 20 20 20 20 20 20 20 3c 2f 62 | End();...........]]>.........</b |
bfd80 | 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 | ody>.......</method>........<met |
bfda0 | 68 6f 64 20 6e 61 6d 65 3d 22 6d 6f 76 65 54 61 62 54 6f 53 74 61 72 74 22 3e 0a 20 20 20 20 20 | hod.name="moveTabToStart">...... |
bfdc0 | 20 20 20 3c 62 6f 64 79 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 21 5b 43 44 41 54 41 5b 0a 20 20 | ...<body>...........<![CDATA[... |
bfde0 | 20 20 20 20 20 20 20 20 20 20 76 61 72 20 74 61 62 50 6f 73 20 3d 20 74 68 69 73 2e 6d 43 75 72 | ..........var.tabPos.=.this.mCur |
bfe00 | 72 65 6e 74 54 61 62 2e 5f 74 50 6f 73 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 | rentTab._tPos;.............if.(t |
bfe20 | 61 62 50 6f 73 20 3e 20 30 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e | abPos.>.0).{...............this. |
bfe40 | 6d 6f 76 65 54 61 62 54 6f 28 74 68 69 73 2e 6d 43 75 72 72 65 6e 74 54 61 62 2c 20 30 29 3b 0a | moveTabTo(this.mCurrentTab,.0);. |
bfe60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 43 75 72 72 65 6e 74 54 61 62 2e 66 | ..............this.mCurrentTab.f |
bfe80 | 6f 63 75 73 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 | ocus();.............}........... |
bfea0 | 5d 5d 3e 0a 20 20 20 20 20 20 20 20 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 | ]]>.........</body>.......</meth |
bfec0 | 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 6d 6f 76 65 54 61 62 | od>........<method.name="moveTab |
bfee0 | 54 6f 45 6e 64 22 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 0a 20 20 20 20 20 20 20 20 20 | ToEnd">.........<body>.......... |
bff00 | 20 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 74 61 62 50 6f | .<![CDATA[.............var.tabPo |
bff20 | 73 20 3d 20 74 68 69 73 2e 6d 43 75 72 72 65 6e 74 54 61 62 2e 5f 74 50 6f 73 3b 0a 20 20 20 20 | s.=.this.mCurrentTab._tPos;..... |
bff40 | 20 20 20 20 20 20 20 20 69 66 20 28 74 61 62 50 6f 73 20 3c 20 74 68 69 73 2e 62 72 6f 77 73 65 | ........if.(tabPos.<.this.browse |
bff60 | 72 73 2e 6c 65 6e 67 74 68 20 2d 20 31 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 | rs.length.-.1).{...............t |
bff80 | 68 69 73 2e 6d 6f 76 65 54 61 62 54 6f 28 74 68 69 73 2e 6d 43 75 72 72 65 6e 74 54 61 62 2c 0a | his.moveTabTo(this.mCurrentTab,. |
bffa0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 | .............................thi |
bffc0 | 73 2e 62 72 6f 77 73 65 72 73 2e 6c 65 6e 67 74 68 20 2d 20 31 29 3b 0a 20 20 20 20 20 20 20 20 | s.browsers.length.-.1);......... |
bffe0 | 20 20 20 20 20 20 74 68 69 73 2e 6d 43 75 72 72 65 6e 74 54 61 62 2e 66 6f 63 75 73 28 29 3b 0a | ......this.mCurrentTab.focus();. |
c0000 | 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 5d 5d 3e 0a 20 20 20 20 | ............}...........]]>..... |
c0020 | 20 20 20 20 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 | ....</body>.......</method>..... |
c0040 | 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 6d 6f 76 65 54 61 62 4f 76 65 72 22 3e 0a 20 | ...<method.name="moveTabOver">.. |
c0060 | 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 45 76 65 6e 74 22 2f | .......<parameter.name="aEvent"/ |
c0080 | 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 21 5b 43 44 | >.........<body>...........<![CD |
c00a0 | 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 64 69 72 65 63 74 69 6f 6e 20 3d | ATA[.............var.direction.= |
c00c0 | 20 77 69 6e 64 6f 77 2e 67 65 74 43 6f 6d 70 75 74 65 64 53 74 79 6c 65 28 74 68 69 73 2e 70 61 | .window.getComputedStyle(this.pa |
c00e0 | 72 65 6e 74 4e 6f 64 65 2c 20 6e 75 6c 6c 29 2e 64 69 72 65 63 74 69 6f 6e 3b 0a 20 20 20 20 20 | rentNode,.null).direction;...... |
c0100 | 20 20 20 20 20 20 20 69 66 20 28 28 64 69 72 65 63 74 69 6f 6e 20 3d 3d 20 22 6c 74 72 22 20 26 | .......if.((direction.==."ltr".& |
c0120 | 26 20 61 45 76 65 6e 74 2e 6b 65 79 43 6f 64 65 20 3d 3d 20 4b 65 79 45 76 65 6e 74 2e 44 4f 4d | &.aEvent.keyCode.==.KeyEvent.DOM |
c0140 | 5f 56 4b 5f 52 49 47 48 54 29 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 64 | _VK_RIGHT).||.................(d |
c0160 | 69 72 65 63 74 69 6f 6e 20 3d 3d 20 22 72 74 6c 22 20 26 26 20 61 45 76 65 6e 74 2e 6b 65 79 43 | irection.==."rtl".&&.aEvent.keyC |
c0180 | 6f 64 65 20 3d 3d 20 4b 65 79 45 76 65 6e 74 2e 44 4f 4d 5f 56 4b 5f 4c 45 46 54 29 29 0a 20 20 | ode.==.KeyEvent.DOM_VK_LEFT))... |
c01a0 | 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 6f 76 65 54 61 62 46 6f 72 77 61 72 64 28 | ............this.moveTabForward( |
c01c0 | 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 | );.............else............. |
c01e0 | 20 20 74 68 69 73 2e 6d 6f 76 65 54 61 62 42 61 63 6b 77 61 72 64 28 29 3b 0a 20 20 20 20 20 20 | ..this.moveTabBackward();....... |
c0200 | 20 20 20 20 5d 5d 3e 0a 20 20 20 20 20 20 20 20 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f | ....]]>.........</body>.......</ |
c0220 | 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 64 75 70 | method>........<method.name="dup |
c0240 | 6c 69 63 61 74 65 54 61 62 22 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e | licateTab">.........<parameter.n |
c0260 | 61 6d 65 3d 22 61 54 61 62 22 2f 3e 3c 21 2d 2d 20 63 61 6e 20 62 65 20 66 72 6f 6d 20 61 20 64 | ame="aTab"/><!--.can.be.from.a.d |
c0280 | 69 66 66 65 72 65 6e 74 20 77 69 6e 64 6f 77 20 61 73 20 77 65 6c 6c 20 2d 2d 3e 0a 20 20 20 20 | ifferent.window.as.well.-->..... |
c02a0 | 20 20 20 20 3c 62 6f 64 79 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 21 5b 43 44 41 54 41 5b 0a 20 | ....<body>...........<![CDATA[.. |
c02c0 | 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 74 72 79 20 74 6f 20 68 61 76 65 20 53 65 73 73 69 6f | ...........//.try.to.have.Sessio |
c02e0 | 6e 53 74 6f 72 65 20 64 75 70 6c 69 63 61 74 65 20 74 68 65 20 67 69 76 65 6e 20 74 61 62 0a 20 | nStore.duplicate.the.given.tab.. |
c0300 | 20 20 20 20 20 20 20 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 | ...........try.{...............v |
c0320 | 61 72 20 73 73 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a | ar.ss.=.Components.classes["@moz |
c0340 | 69 6c 6c 61 2e 6f 72 67 2f 62 72 6f 77 73 65 72 2f 73 65 73 73 69 6f 6e 73 74 6f 72 65 3b 31 22 | illa.org/browser/sessionstore;1" |
c0360 | 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ]............................... |
c0380 | 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 | ....getService(Components.interf |
c03a0 | 61 63 65 73 2e 6e 73 49 53 65 73 73 69 6f 6e 53 74 6f 72 65 29 3b 0a 20 20 20 20 20 20 20 20 20 | aces.nsISessionStore);.......... |
c03c0 | 20 20 20 20 20 72 65 74 75 72 6e 20 73 73 2e 64 75 70 6c 69 63 61 74 65 54 61 62 28 77 69 6e 64 | .....return.ss.duplicateTab(wind |
c03e0 | 6f 77 2c 20 61 54 61 62 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 20 63 61 74 63 68 20 28 | ow,.aTab);.............}.catch.( |
c0400 | 65 78 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 66 61 6c 6c 20 62 61 63 6b | ex).{...............//.fall.back |
c0420 | 20 74 6f 20 62 61 73 69 63 20 55 52 4c 20 63 6f 70 79 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 | .to.basic.URL.copying........... |
c0440 | 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 6c 6f 61 64 4f 6e 65 54 61 62 28 74 68 69 73 2e | ....return.this.loadOneTab(this. |
c0460 | 67 65 74 42 72 6f 77 73 65 72 46 6f 72 54 61 62 28 61 54 61 62 29 2e 63 75 72 72 65 6e 74 55 52 | getBrowserForTab(aTab).currentUR |
c0480 | 49 2e 73 70 65 63 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 | I.spec);.............}.......... |
c04a0 | 20 5d 5d 3e 0a 20 20 20 20 20 20 20 20 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 | .]]>.........</body>.......</met |
c04c0 | 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 21 2d 2d 20 42 45 47 49 4e 20 46 4f 52 57 41 52 44 45 44 | hod>........<!--.BEGIN.FORWARDED |
c04e0 | 20 42 52 4f 57 53 45 52 20 50 52 4f 50 45 52 54 49 45 53 2e 20 20 49 46 20 59 4f 55 20 41 44 44 | .BROWSER.PROPERTIES...IF.YOU.ADD |
c0500 | 20 41 20 50 52 4f 50 45 52 54 59 20 54 4f 20 54 48 45 20 42 52 4f 57 53 45 52 20 45 4c 45 4d 45 | .A.PROPERTY.TO.THE.BROWSER.ELEME |
c0520 | 4e 54 0a 20 20 20 20 20 20 20 20 20 20 20 4d 41 4b 45 20 53 55 52 45 20 54 4f 20 41 44 44 20 49 | NT............MAKE.SURE.TO.ADD.I |
c0540 | 54 20 48 45 52 45 20 41 53 20 57 45 4c 4c 2e 20 2d 2d 3e 0a 20 20 20 20 20 20 3c 70 72 6f 70 65 | T.HERE.AS.WELL..-->.......<prope |
c0560 | 72 74 79 20 6e 61 6d 65 3d 22 63 61 6e 47 6f 42 61 63 6b 22 0a 20 20 20 20 20 20 20 20 20 20 20 | rty.name="canGoBack"............ |
c0580 | 20 20 20 20 20 6f 6e 67 65 74 3d 22 72 65 74 75 72 6e 20 74 68 69 73 2e 6d 43 75 72 72 65 6e 74 | .....onget="return.this.mCurrent |
c05a0 | 42 72 6f 77 73 65 72 2e 63 61 6e 47 6f 42 61 63 6b 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 | Browser.canGoBack;"............. |
c05c0 | 20 20 20 20 72 65 61 64 6f 6e 6c 79 3d 22 74 72 75 65 22 2f 3e 0a 0a 20 20 20 20 20 20 3c 70 72 | ....readonly="true"/>........<pr |
c05e0 | 6f 70 65 72 74 79 20 6e 61 6d 65 3d 22 63 61 6e 47 6f 46 6f 72 77 61 72 64 22 0a 20 20 20 20 20 | operty.name="canGoForward"...... |
c0600 | 20 20 20 20 20 20 20 20 20 20 20 6f 6e 67 65 74 3d 22 72 65 74 75 72 6e 20 74 68 69 73 2e 6d 43 | ...........onget="return.this.mC |
c0620 | 75 72 72 65 6e 74 42 72 6f 77 73 65 72 2e 63 61 6e 47 6f 46 6f 72 77 61 72 64 3b 22 0a 20 20 20 | urrentBrowser.canGoForward;".... |
c0640 | 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 61 64 6f 6e 6c 79 3d 22 74 72 75 65 22 2f 3e 0a 0a | .............readonly="true"/>.. |
c0660 | 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 67 6f 42 61 63 6b 22 3e 0a 20 20 20 | ......<method.name="goBack">.... |
c0680 | 20 20 20 20 20 3c 62 6f 64 79 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 21 5b 43 44 41 54 41 5b 0a | .....<body>...........<![CDATA[. |
c06a0 | 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 6d 43 75 72 72 65 6e 74 | ............return.this.mCurrent |
c06c0 | 42 72 6f 77 73 65 72 2e 67 6f 42 61 63 6b 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 5d 5d 3e 0a | Browser.goBack();...........]]>. |
c06e0 | 20 20 20 20 20 20 20 20 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a | ........</body>.......</method>. |
c0700 | 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 67 6f 46 6f 72 77 61 72 64 22 3e | .......<method.name="goForward"> |
c0720 | 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 21 5b 43 44 41 | .........<body>...........<![CDA |
c0740 | 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 6d 43 75 72 | TA[.............return.this.mCur |
c0760 | 72 65 6e 74 42 72 6f 77 73 65 72 2e 67 6f 46 6f 72 77 61 72 64 28 29 3b 0a 20 20 20 20 20 20 20 | rentBrowser.goForward();........ |
c0780 | 20 20 20 5d 5d 3e 0a 20 20 20 20 20 20 20 20 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d | ...]]>.........</body>.......</m |
c07a0 | 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 72 65 6c 6f | ethod>........<method.name="relo |
c07c0 | 61 64 22 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 21 | ad">.........<body>...........<! |
c07e0 | 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e | [CDATA[.............return.this. |
c0800 | 6d 43 75 72 72 65 6e 74 42 72 6f 77 73 65 72 2e 72 65 6c 6f 61 64 28 29 3b 0a 20 20 20 20 20 20 | mCurrentBrowser.reload();....... |
c0820 | 20 20 20 20 5d 5d 3e 0a 20 20 20 20 20 20 20 20 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f | ....]]>.........</body>.......</ |
c0840 | 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 72 65 6c | method>........<method.name="rel |
c0860 | 6f 61 64 57 69 74 68 46 6c 61 67 73 22 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 | oadWithFlags">.........<paramete |
c0880 | 72 20 6e 61 6d 65 3d 22 61 46 6c 61 67 73 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e | r.name="aFlags"/>.........<body> |
c08a0 | 0a 20 20 20 20 20 20 20 20 20 20 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 20 | ...........<![CDATA[............ |
c08c0 | 20 72 65 74 75 72 6e 20 74 68 69 73 2e 6d 43 75 72 72 65 6e 74 42 72 6f 77 73 65 72 2e 72 65 6c | .return.this.mCurrentBrowser.rel |
c08e0 | 6f 61 64 57 69 74 68 46 6c 61 67 73 28 61 46 6c 61 67 73 29 3b 0a 20 20 20 20 20 20 20 20 20 20 | oadWithFlags(aFlags);........... |
c0900 | 5d 5d 3e 0a 20 20 20 20 20 20 20 20 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 | ]]>.........</body>.......</meth |
c0920 | 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 73 74 6f 70 22 3e 0a | od>........<method.name="stop">. |
c0940 | 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 21 5b 43 44 41 54 | ........<body>...........<![CDAT |
c0960 | 41 5b 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 6d 43 75 72 72 | A[.............return.this.mCurr |
c0980 | 65 6e 74 42 72 6f 77 73 65 72 2e 73 74 6f 70 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 5d 5d 3e | entBrowser.stop();...........]]> |
c09a0 | 0a 20 20 20 20 20 20 20 20 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e | .........</body>.......</method> |
c09c0 | 0a 0a 20 20 20 20 20 20 3c 21 2d 2d 20 74 68 72 6f 77 73 20 65 78 63 65 70 74 69 6f 6e 20 66 6f | ........<!--.throws.exception.fo |
c09e0 | 72 20 75 6e 6b 6e 6f 77 6e 20 73 63 68 65 6d 65 73 20 2d 2d 3e 0a 20 20 20 20 20 20 3c 6d 65 74 | r.unknown.schemes.-->.......<met |
c0a00 | 68 6f 64 20 6e 61 6d 65 3d 22 6c 6f 61 64 55 52 49 22 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 | hod.name="loadURI">.........<par |
c0a20 | 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 55 52 49 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 | ameter.name="aURI"/>.........<pa |
c0a40 | 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 52 65 66 65 72 72 65 72 55 52 49 22 2f 3e 0a 20 20 | rameter.name="aReferrerURI"/>... |
c0a60 | 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 43 68 61 72 73 65 74 22 | ......<parameter.name="aCharset" |
c0a80 | 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 21 5b 43 | />.........<body>...........<![C |
c0aa0 | 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 6d 43 | DATA[.............return.this.mC |
c0ac0 | 75 72 72 65 6e 74 42 72 6f 77 73 65 72 2e 6c 6f 61 64 55 52 49 28 61 55 52 49 2c 20 61 52 65 66 | urrentBrowser.loadURI(aURI,.aRef |
c0ae0 | 65 72 72 65 72 55 52 49 2c 20 61 43 68 61 72 73 65 74 29 3b 0a 20 20 20 20 20 20 20 20 20 20 5d | errerURI,.aCharset);...........] |
c0b00 | 5d 3e 0a 20 20 20 20 20 20 20 20 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f | ]>.........</body>.......</metho |
c0b20 | 64 3e 0a 0a 20 20 20 20 20 20 3c 21 2d 2d 20 74 68 72 6f 77 73 20 65 78 63 65 70 74 69 6f 6e 20 | d>........<!--.throws.exception. |
c0b40 | 66 6f 72 20 75 6e 6b 6e 6f 77 6e 20 73 63 68 65 6d 65 73 20 2d 2d 3e 0a 20 20 20 20 20 20 3c 6d | for.unknown.schemes.-->.......<m |
c0b60 | 65 74 68 6f 64 20 6e 61 6d 65 3d 22 6c 6f 61 64 55 52 49 57 69 74 68 46 6c 61 67 73 22 3e 0a 20 | ethod.name="loadURIWithFlags">.. |
c0b80 | 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 55 52 49 22 2f 3e 0a | .......<parameter.name="aURI"/>. |
c0ba0 | 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 46 6c 61 67 73 22 | ........<parameter.name="aFlags" |
c0bc0 | 2f 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 52 65 66 | />.........<parameter.name="aRef |
c0be0 | 65 72 72 65 72 55 52 49 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e | errerURI"/>.........<parameter.n |
c0c00 | 61 6d 65 3d 22 61 43 68 61 72 73 65 74 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 | ame="aCharset"/>.........<parame |
c0c20 | 74 65 72 20 6e 61 6d 65 3d 22 61 50 6f 73 74 44 61 74 61 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c | ter.name="aPostData"/>.........< |
c0c40 | 62 6f 64 79 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 | body>...........<![CDATA[....... |
c0c60 | 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 6d 43 75 72 72 65 6e 74 42 72 6f 77 73 65 | ......return.this.mCurrentBrowse |
c0c80 | 72 2e 6c 6f 61 64 55 52 49 57 69 74 68 46 6c 61 67 73 28 61 55 52 49 2c 20 61 46 6c 61 67 73 2c | r.loadURIWithFlags(aURI,.aFlags, |
c0ca0 | 20 61 52 65 66 65 72 72 65 72 55 52 49 2c 20 61 43 68 61 72 73 65 74 2c 20 61 50 6f 73 74 44 61 | .aReferrerURI,.aCharset,.aPostDa |
c0cc0 | 74 61 29 3b 0a 20 20 20 20 20 20 20 20 20 20 5d 5d 3e 0a 20 20 20 20 20 20 20 20 3c 2f 62 6f 64 | ta);...........]]>.........</bod |
c0ce0 | 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f | y>.......</method>........<metho |
c0d00 | 64 20 6e 61 6d 65 3d 22 67 6f 48 6f 6d 65 22 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 0a | d.name="goHome">.........<body>. |
c0d20 | 20 20 20 20 20 20 20 20 20 20 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ..........<![CDATA[............. |
c0d40 | 72 65 74 75 72 6e 20 74 68 69 73 2e 6d 43 75 72 72 65 6e 74 42 72 6f 77 73 65 72 2e 67 6f 48 6f | return.this.mCurrentBrowser.goHo |
c0d60 | 6d 65 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 5d 5d 3e 0a 20 20 20 20 20 20 20 20 3c 2f 62 6f | me();...........]]>.........</bo |
c0d80 | 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 70 72 6f 70 | dy>.......</method>........<prop |
c0da0 | 65 72 74 79 20 6e 61 6d 65 3d 22 68 6f 6d 65 50 61 67 65 22 3e 0a 20 20 20 20 20 20 20 20 3c 67 | erty.name="homePage">.........<g |
c0dc0 | 65 74 74 65 72 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 | etter>...........<![CDATA[...... |
c0de0 | 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 6d 43 75 72 72 65 6e 74 42 72 6f 77 73 | .......return.this.mCurrentBrows |
c0e00 | 65 72 2e 68 6f 6d 65 50 61 67 65 3b 0a 20 20 20 20 20 20 20 20 20 20 5d 5d 3e 0a 20 20 20 20 20 | er.homePage;...........]]>...... |
c0e20 | 20 20 20 3c 2f 67 65 74 74 65 72 3e 0a 20 20 20 20 20 20 20 20 3c 73 65 74 74 65 72 3e 0a 20 20 | ...</getter>.........<setter>... |
c0e40 | 20 20 20 20 20 20 20 20 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 | ........<![CDATA[.............th |
c0e60 | 69 73 2e 6d 43 75 72 72 65 6e 74 42 72 6f 77 73 65 72 2e 68 6f 6d 65 50 61 67 65 20 3d 20 76 61 | is.mCurrentBrowser.homePage.=.va |
c0e80 | 6c 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 76 61 6c 3b 0a 20 20 20 20 20 | l;.............return.val;...... |
c0ea0 | 20 20 20 20 20 5d 5d 3e 0a 20 20 20 20 20 20 20 20 3c 2f 73 65 74 74 65 72 3e 0a 20 20 20 20 20 | .....]]>.........</setter>...... |
c0ec0 | 20 3c 2f 70 72 6f 70 65 72 74 79 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 | .</property>........<method.name |
c0ee0 | 3d 22 67 6f 74 6f 49 6e 64 65 78 22 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 | ="gotoIndex">.........<parameter |
c0f00 | 20 6e 61 6d 65 3d 22 61 49 6e 64 65 78 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 0a | .name="aIndex"/>.........<body>. |
c0f20 | 20 20 20 20 20 20 20 20 20 20 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ..........<![CDATA[............. |
c0f40 | 72 65 74 75 72 6e 20 74 68 69 73 2e 6d 43 75 72 72 65 6e 74 42 72 6f 77 73 65 72 2e 67 6f 74 6f | return.this.mCurrentBrowser.goto |
c0f60 | 49 6e 64 65 78 28 61 49 6e 64 65 78 29 3b 0a 20 20 20 20 20 20 20 20 20 20 5d 5d 3e 0a 20 20 20 | Index(aIndex);...........]]>.... |
c0f80 | 20 20 20 20 20 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 | .....</body>.......</method>.... |
c0fa0 | 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 61 74 74 61 63 68 46 6f 72 6d 46 69 6c 6c | ....<method.name="attachFormFill |
c0fc0 | 22 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 | ">.........<body><![CDATA[...... |
c0fe0 | 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 74 68 69 73 2e 6d 50 | .....for.(var.i.=.0;.i.<.this.mP |
c1000 | 61 6e 65 6c 43 6f 6e 74 61 69 6e 65 72 2e 63 68 69 6c 64 4e 6f 64 65 73 2e 6c 65 6e 67 74 68 3b | anelContainer.childNodes.length; |
c1020 | 20 2b 2b 69 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 63 62 20 3d 20 74 68 69 | .++i).{.............var.cb.=.thi |
c1040 | 73 2e 67 65 74 42 72 6f 77 73 65 72 41 74 49 6e 64 65 78 28 69 29 3b 0a 20 20 20 20 20 20 20 20 | s.getBrowserAtIndex(i);......... |
c1060 | 20 20 20 20 63 62 2e 61 74 74 61 63 68 46 6f 72 6d 46 69 6c 6c 28 29 3b 0a 20 20 20 20 20 20 20 | ....cb.attachFormFill();........ |
c1080 | 20 20 20 7d 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f | ...}.........]]></body>.......</ |
c10a0 | 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 64 65 74 | method>........<method.name="det |
c10c0 | 61 63 68 46 6f 72 6d 46 69 6c 6c 22 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 3c 21 5b 43 | achFormFill">.........<body><![C |
c10e0 | 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 | DATA[...........for.(var.i.=.0;. |
c1100 | 69 20 3c 20 74 68 69 73 2e 6d 50 61 6e 65 6c 43 6f 6e 74 61 69 6e 65 72 2e 63 68 69 6c 64 4e 6f | i.<.this.mPanelContainer.childNo |
c1120 | 64 65 73 2e 6c 65 6e 67 74 68 3b 20 2b 2b 69 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 | des.length;.++i).{.............v |
c1140 | 61 72 20 63 62 20 3d 20 74 68 69 73 2e 67 65 74 42 72 6f 77 73 65 72 41 74 49 6e 64 65 78 28 69 | ar.cb.=.this.getBrowserAtIndex(i |
c1160 | 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 63 62 2e 64 65 74 61 63 68 46 6f 72 6d 46 69 6c 6c | );.............cb.detachFormFill |
c1180 | 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 62 6f 64 | ();...........}.........]]></bod |
c11a0 | 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 70 72 6f 70 65 | y>.......</method>........<prope |
c11c0 | 72 74 79 20 6e 61 6d 65 3d 22 70 61 67 65 52 65 70 6f 72 74 22 0a 20 20 20 20 20 20 20 20 20 20 | rty.name="pageReport"........... |
c11e0 | 20 20 20 20 20 20 6f 6e 67 65 74 3d 22 72 65 74 75 72 6e 20 74 68 69 73 2e 6d 43 75 72 72 65 6e | ......onget="return.this.mCurren |
c1200 | 74 42 72 6f 77 73 65 72 2e 70 61 67 65 52 65 70 6f 72 74 3b 22 0a 20 20 20 20 20 20 20 20 20 20 | tBrowser.pageReport;"........... |
c1220 | 20 20 20 20 20 20 72 65 61 64 6f 6e 6c 79 3d 22 74 72 75 65 22 2f 3e 0a 0a 20 20 20 20 20 20 3c | ......readonly="true"/>........< |
c1240 | 70 72 6f 70 65 72 74 79 20 6e 61 6d 65 3d 22 63 75 72 72 65 6e 74 55 52 49 22 0a 20 20 20 20 20 | property.name="currentURI"...... |
c1260 | 20 20 20 20 20 20 20 20 20 20 20 6f 6e 67 65 74 3d 22 72 65 74 75 72 6e 20 74 68 69 73 2e 6d 43 | ...........onget="return.this.mC |
c1280 | 75 72 72 65 6e 74 42 72 6f 77 73 65 72 2e 63 75 72 72 65 6e 74 55 52 49 3b 22 0a 20 20 20 20 20 | urrentBrowser.currentURI;"...... |
c12a0 | 20 20 20 20 20 20 20 20 20 20 20 72 65 61 64 6f 6e 6c 79 3d 22 74 72 75 65 22 2f 3e 0a 0a 20 20 | ...........readonly="true"/>.... |
c12c0 | 20 20 20 20 3c 66 69 65 6c 64 20 6e 61 6d 65 3d 22 5f 66 61 73 74 46 69 6e 64 22 3e 6e 75 6c 6c | ....<field.name="_fastFind">null |
c12e0 | 3c 2f 66 69 65 6c 64 3e 0a 20 20 20 20 20 20 3c 70 72 6f 70 65 72 74 79 20 6e 61 6d 65 3d 22 66 | </field>.......<property.name="f |
c1300 | 61 73 74 46 69 6e 64 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 61 64 6f 6e 6c | astFind".................readonl |
c1320 | 79 3d 22 74 72 75 65 22 3e 0a 20 20 20 20 20 20 20 20 3c 67 65 74 74 65 72 3e 0a 20 20 20 20 20 | y="true">.........<getter>...... |
c1340 | 20 20 20 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 74 68 69 73 | ...<![CDATA[...........if.(!this |
c1360 | 2e 5f 66 61 73 74 46 69 6e 64 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f | ._fastFind).{.............this._ |
c1380 | 66 61 73 74 46 69 6e 64 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 | fastFind.=.Components.classes["@ |
c13a0 | 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 74 79 70 65 61 68 65 61 64 66 69 6e 64 3b 31 22 5d 0a 20 20 | mozilla.org/typeaheadfind;1"]... |
c13c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
c13e0 | 20 20 20 20 20 2e 63 72 65 61 74 65 49 6e 73 74 61 6e 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e | ......createInstance(Components. |
c1400 | 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 54 79 70 65 41 68 65 61 64 46 69 6e 64 29 3b 0a 20 20 | interfaces.nsITypeAheadFind);... |
c1420 | 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 66 61 73 74 46 69 6e 64 2e 69 6e 69 74 28 74 68 | ..........this._fastFind.init(th |
c1440 | 69 73 2e 64 6f 63 53 68 65 6c 6c 29 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 | is.docShell);...........}....... |
c1460 | 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 66 61 73 74 46 69 6e 64 3b 0a 20 20 20 20 20 | ....return.this._fastFind;...... |
c1480 | 20 20 20 5d 5d 3e 0a 20 20 20 20 20 20 20 20 3c 2f 67 65 74 74 65 72 3e 0a 20 20 20 20 20 20 3c | ...]]>.........</getter>.......< |
c14a0 | 2f 70 72 6f 70 65 72 74 79 3e 0a 0a 20 20 20 20 20 20 3c 70 72 6f 70 65 72 74 79 20 6e 61 6d 65 | /property>........<property.name |
c14c0 | 3d 22 64 6f 63 53 68 65 6c 6c 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 67 65 | ="docShell".................onge |
c14e0 | 74 3d 22 72 65 74 75 72 6e 20 74 68 69 73 2e 6d 43 75 72 72 65 6e 74 42 72 6f 77 73 65 72 2e 64 | t="return.this.mCurrentBrowser.d |
c1500 | 6f 63 53 68 65 6c 6c 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 61 64 6f 6e 6c | ocShell".................readonl |
c1520 | 79 3d 22 74 72 75 65 22 2f 3e 0a 0a 20 20 20 20 20 20 3c 70 72 6f 70 65 72 74 79 20 6e 61 6d 65 | y="true"/>........<property.name |
c1540 | 3d 22 77 65 62 4e 61 76 69 67 61 74 69 6f 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ="webNavigation"................ |
c1560 | 20 6f 6e 67 65 74 3d 22 72 65 74 75 72 6e 20 74 68 69 73 2e 6d 43 75 72 72 65 6e 74 42 72 6f 77 | .onget="return.this.mCurrentBrow |
c1580 | 73 65 72 2e 77 65 62 4e 61 76 69 67 61 74 69 6f 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ser.webNavigation".............. |
c15a0 | 20 20 20 72 65 61 64 6f 6e 6c 79 3d 22 74 72 75 65 22 2f 3e 0a 0a 20 20 20 20 20 20 3c 70 72 6f | ...readonly="true"/>........<pro |
c15c0 | 70 65 72 74 79 20 6e 61 6d 65 3d 22 77 65 62 42 72 6f 77 73 65 72 46 69 6e 64 22 0a 20 20 20 20 | perty.name="webBrowserFind"..... |
c15e0 | 20 20 20 20 20 20 20 20 20 20 20 20 72 65 61 64 6f 6e 6c 79 3d 22 74 72 75 65 22 0a 20 20 20 20 | ............readonly="true"..... |
c1600 | 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 67 65 74 3d 22 72 65 74 75 72 6e 20 74 68 69 73 2e 6d | ............onget="return.this.m |
c1620 | 43 75 72 72 65 6e 74 42 72 6f 77 73 65 72 2e 77 65 62 42 72 6f 77 73 65 72 46 69 6e 64 22 2f 3e | CurrentBrowser.webBrowserFind"/> |
c1640 | 0a 0a 20 20 20 20 20 20 3c 70 72 6f 70 65 72 74 79 20 6e 61 6d 65 3d 22 77 65 62 50 72 6f 67 72 | ........<property.name="webProgr |
c1660 | 65 73 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 61 64 6f 6e 6c 79 3d 22 74 | ess".................readonly="t |
c1680 | 72 75 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 67 65 74 3d 22 72 65 74 75 | rue".................onget="retu |
c16a0 | 72 6e 20 74 68 69 73 2e 6d 43 75 72 72 65 6e 74 42 72 6f 77 73 65 72 2e 77 65 62 50 72 6f 67 72 | rn.this.mCurrentBrowser.webProgr |
c16c0 | 65 73 73 22 2f 3e 0a 0a 20 20 20 20 20 20 3c 70 72 6f 70 65 72 74 79 20 6e 61 6d 65 3d 22 63 6f | ess"/>........<property.name="co |
c16e0 | 6e 74 65 6e 74 57 69 6e 64 6f 77 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 61 | ntentWindow".................rea |
c1700 | 64 6f 6e 6c 79 3d 22 74 72 75 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 67 | donly="true".................ong |
c1720 | 65 74 3d 22 72 65 74 75 72 6e 20 74 68 69 73 2e 6d 43 75 72 72 65 6e 74 42 72 6f 77 73 65 72 2e | et="return.this.mCurrentBrowser. |
c1740 | 63 6f 6e 74 65 6e 74 57 69 6e 64 6f 77 22 2f 3e 0a 0a 20 20 20 20 20 20 3c 70 72 6f 70 65 72 74 | contentWindow"/>........<propert |
c1760 | 79 20 6e 61 6d 65 3d 22 73 65 73 73 69 6f 6e 48 69 73 74 6f 72 79 22 0a 20 20 20 20 20 20 20 20 | y.name="sessionHistory"......... |
c1780 | 20 20 20 20 20 20 20 20 6f 6e 67 65 74 3d 22 72 65 74 75 72 6e 20 74 68 69 73 2e 6d 43 75 72 72 | ........onget="return.this.mCurr |
c17a0 | 65 6e 74 42 72 6f 77 73 65 72 2e 73 65 73 73 69 6f 6e 48 69 73 74 6f 72 79 3b 22 0a 20 20 20 20 | entBrowser.sessionHistory;"..... |
c17c0 | 20 20 20 20 20 20 20 20 20 20 20 20 72 65 61 64 6f 6e 6c 79 3d 22 74 72 75 65 22 2f 3e 0a 0a 20 | ............readonly="true"/>... |
c17e0 | 20 20 20 20 20 3c 70 72 6f 70 65 72 74 79 20 6e 61 6d 65 3d 22 6d 61 72 6b 75 70 44 6f 63 75 6d | .....<property.name="markupDocum |
c1800 | 65 6e 74 56 69 65 77 65 72 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 67 65 74 | entViewer".................onget |
c1820 | 3d 22 72 65 74 75 72 6e 20 74 68 69 73 2e 6d 43 75 72 72 65 6e 74 42 72 6f 77 73 65 72 2e 6d 61 | ="return.this.mCurrentBrowser.ma |
c1840 | 72 6b 75 70 44 6f 63 75 6d 65 6e 74 56 69 65 77 65 72 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 | rkupDocumentViewer;"............ |
c1860 | 20 20 20 20 20 72 65 61 64 6f 6e 6c 79 3d 22 74 72 75 65 22 2f 3e 0a 0a 20 20 20 20 20 20 3c 70 | .....readonly="true"/>........<p |
c1880 | 72 6f 70 65 72 74 79 20 6e 61 6d 65 3d 22 63 6f 6e 74 65 6e 74 56 69 65 77 65 72 45 64 69 74 22 | roperty.name="contentViewerEdit" |
c18a0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 67 65 74 3d 22 72 65 74 75 72 6e 20 74 | .................onget="return.t |
c18c0 | 68 69 73 2e 6d 43 75 72 72 65 6e 74 42 72 6f 77 73 65 72 2e 63 6f 6e 74 65 6e 74 56 69 65 77 65 | his.mCurrentBrowser.contentViewe |
c18e0 | 72 45 64 69 74 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 61 64 6f 6e 6c 79 | rEdit;".................readonly |
c1900 | 3d 22 74 72 75 65 22 2f 3e 0a 0a 20 20 20 20 20 20 3c 70 72 6f 70 65 72 74 79 20 6e 61 6d 65 3d | ="true"/>........<property.name= |
c1920 | 22 63 6f 6e 74 65 6e 74 56 69 65 77 65 72 46 69 6c 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 | "contentViewerFile"............. |
c1940 | 20 20 20 20 6f 6e 67 65 74 3d 22 72 65 74 75 72 6e 20 74 68 69 73 2e 6d 43 75 72 72 65 6e 74 42 | ....onget="return.this.mCurrentB |
c1960 | 72 6f 77 73 65 72 2e 63 6f 6e 74 65 6e 74 56 69 65 77 65 72 46 69 6c 65 3b 22 0a 20 20 20 20 20 | rowser.contentViewerFile;"...... |
c1980 | 20 20 20 20 20 20 20 20 20 20 20 72 65 61 64 6f 6e 6c 79 3d 22 74 72 75 65 22 2f 3e 0a 0a 20 20 | ...........readonly="true"/>.... |
c19a0 | 20 20 20 20 3c 70 72 6f 70 65 72 74 79 20 6e 61 6d 65 3d 22 64 6f 63 75 6d 65 6e 74 43 68 61 72 | ....<property.name="documentChar |
c19c0 | 73 65 74 49 6e 66 6f 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 67 65 74 3d 22 | setInfo".................onget=" |
c19e0 | 72 65 74 75 72 6e 20 74 68 69 73 2e 6d 43 75 72 72 65 6e 74 42 72 6f 77 73 65 72 2e 64 6f 63 75 | return.this.mCurrentBrowser.docu |
c1a00 | 6d 65 6e 74 43 68 61 72 73 65 74 49 6e 66 6f 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | mentCharsetInfo;"............... |
c1a20 | 20 20 72 65 61 64 6f 6e 6c 79 3d 22 74 72 75 65 22 2f 3e 0a 0a 20 20 20 20 20 20 3c 70 72 6f 70 | ..readonly="true"/>........<prop |
c1a40 | 65 72 74 79 20 6e 61 6d 65 3d 22 63 6f 6e 74 65 6e 74 44 6f 63 75 6d 65 6e 74 22 0a 20 20 20 20 | erty.name="contentDocument"..... |
c1a60 | 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 67 65 74 3d 22 72 65 74 75 72 6e 20 74 68 69 73 2e 6d | ............onget="return.this.m |
c1a80 | 43 75 72 72 65 6e 74 42 72 6f 77 73 65 72 2e 63 6f 6e 74 65 6e 74 44 6f 63 75 6d 65 6e 74 3b 22 | CurrentBrowser.contentDocument;" |
c1aa0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 61 64 6f 6e 6c 79 3d 22 74 72 75 65 22 | .................readonly="true" |
c1ac0 | 2f 3e 0a 0a 20 20 20 20 20 20 3c 70 72 6f 70 65 72 74 79 20 6e 61 6d 65 3d 22 63 6f 6e 74 65 6e | />........<property.name="conten |
c1ae0 | 74 54 69 74 6c 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 67 65 74 3d 22 72 | tTitle".................onget="r |
c1b00 | 65 74 75 72 6e 20 74 68 69 73 2e 6d 43 75 72 72 65 6e 74 42 72 6f 77 73 65 72 2e 63 6f 6e 74 65 | eturn.this.mCurrentBrowser.conte |
c1b20 | 6e 74 54 69 74 6c 65 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 61 64 6f 6e | ntTitle;".................readon |
c1b40 | 6c 79 3d 22 74 72 75 65 22 2f 3e 0a 0a 20 20 20 20 20 20 3c 70 72 6f 70 65 72 74 79 20 6e 61 6d | ly="true"/>........<property.nam |
c1b60 | 65 3d 22 63 6f 6e 74 65 6e 74 50 72 69 6e 63 69 70 61 6c 22 0a 20 20 20 20 20 20 20 20 20 20 20 | e="contentPrincipal"............ |
c1b80 | 20 20 20 20 20 6f 6e 67 65 74 3d 22 72 65 74 75 72 6e 20 74 68 69 73 2e 6d 43 75 72 72 65 6e 74 | .....onget="return.this.mCurrent |
c1ba0 | 42 72 6f 77 73 65 72 2e 63 6f 6e 74 65 6e 74 50 72 69 6e 63 69 70 61 6c 3b 22 0a 20 20 20 20 20 | Browser.contentPrincipal;"...... |
c1bc0 | 20 20 20 20 20 20 20 20 20 20 20 72 65 61 64 6f 6e 6c 79 3d 22 74 72 75 65 22 2f 3e 0a 0a 20 20 | ...........readonly="true"/>.... |
c1be0 | 20 20 20 20 3c 70 72 6f 70 65 72 74 79 20 6e 61 6d 65 3d 22 73 65 63 75 72 69 74 79 55 49 22 0a | ....<property.name="securityUI". |
c1c00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 67 65 74 3d 22 72 65 74 75 72 6e 20 74 68 | ................onget="return.th |
c1c20 | 69 73 2e 6d 43 75 72 72 65 6e 74 42 72 6f 77 73 65 72 2e 73 65 63 75 72 69 74 79 55 49 3b 22 0a | is.mCurrentBrowser.securityUI;". |
c1c40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 61 64 6f 6e 6c 79 3d 22 74 72 75 65 22 2f | ................readonly="true"/ |
c1c60 | 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 64 72 61 67 44 72 6f 70 53 | >........<method.name="dragDropS |
c1c80 | 65 63 75 72 69 74 79 43 68 65 63 6b 22 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 | ecurityCheck">.........<paramete |
c1ca0 | 72 20 6e 61 6d 65 3d 22 61 45 76 65 6e 74 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d | r.name="aEvent"/>.........<param |
c1cc0 | 65 74 65 72 20 6e 61 6d 65 3d 22 61 44 72 61 67 53 65 73 73 69 6f 6e 22 2f 3e 0a 20 20 20 20 20 | eter.name="aDragSession"/>...... |
c1ce0 | 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 55 72 69 22 2f 3e 0a 20 20 20 20 | ...<parameter.name="aUri"/>..... |
c1d00 | 20 20 20 20 3c 62 6f 64 79 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 21 5b 43 44 41 54 41 5b 0a 20 | ....<body>...........<![CDATA[.. |
c1d20 | 20 20 20 20 20 20 20 20 20 20 20 6e 73 44 72 61 67 41 6e 64 44 72 6f 70 2e 64 72 61 67 44 72 6f | ...........nsDragAndDrop.dragDro |
c1d40 | 70 53 65 63 75 72 69 74 79 43 68 65 63 6b 28 61 45 76 65 6e 74 2c 20 61 44 72 61 67 53 65 73 73 | pSecurityCheck(aEvent,.aDragSess |
c1d60 | 69 6f 6e 2c 20 61 55 72 69 29 3b 0a 20 20 20 20 20 20 20 20 20 20 5d 5d 3e 0a 20 20 20 20 20 20 | ion,.aUri);...........]]>....... |
c1d80 | 20 20 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 | ..</body>.......</method>....... |
c1da0 | 20 3c 66 69 65 6c 64 20 6e 61 6d 65 3d 22 5f 6b 65 79 45 76 65 6e 74 48 61 6e 64 6c 65 72 22 20 | .<field.name="_keyEventHandler". |
c1dc0 | 72 65 61 64 6f 6e 6c 79 3d 22 74 72 75 65 22 3e 0a 20 20 20 20 20 20 3c 21 5b 43 44 41 54 41 5b | readonly="true">.......<![CDATA[ |
c1de0 | 28 7b 0a 20 20 20 20 20 20 20 20 74 61 62 62 72 6f 77 73 65 72 3a 20 74 68 69 73 2c 0a 20 20 20 | ({.........tabbrowser:.this,.... |
c1e00 | 20 20 20 20 20 68 61 6e 64 6c 65 45 76 65 6e 74 3a 20 66 75 6e 63 74 69 6f 6e 20 68 61 6e 64 6c | .....handleEvent:.function.handl |
c1e20 | 65 45 76 65 6e 74 28 61 45 76 65 6e 74 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 | eEvent(aEvent).{...........if.(! |
c1e40 | 61 45 76 65 6e 74 2e 69 73 54 72 75 73 74 65 64 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 | aEvent.isTrusted).{............. |
c1e60 | 2f 2f 20 44 6f 6e 27 74 20 6c 65 74 20 75 6e 74 72 75 73 74 65 64 20 65 76 65 6e 74 73 20 6d 65 | //.Don't.let.untrusted.events.me |
c1e80 | 73 73 20 77 69 74 68 20 74 61 62 73 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e | ss.with.tabs..............return |
c1ea0 | 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 27 61 6c | ;...........}............if.('al |
c1ec0 | 74 4b 65 79 27 20 69 6e 20 61 45 76 65 6e 74 20 26 26 20 61 45 76 65 6e 74 2e 61 6c 74 4b 65 79 | tKey'.in.aEvent.&&.aEvent.altKey |
c1ee0 | 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 20 20 20 20 20 20 20 20 | ).............return;........... |
c1f00 | 69 66 20 28 28 27 63 74 72 6c 4b 65 79 27 20 69 6e 20 61 45 76 65 6e 74 20 26 26 20 61 45 76 65 | if.(('ctrlKey'.in.aEvent.&&.aEve |
c1f20 | 6e 74 2e 63 74 72 6c 4b 65 79 29 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 21 28 27 | nt.ctrlKey).&&...............!(' |
c1f40 | 73 68 69 66 74 4b 65 79 27 20 69 6e 20 61 45 76 65 6e 74 20 26 26 20 61 45 76 65 6e 74 2e 73 68 | shiftKey'.in.aEvent.&&.aEvent.sh |
c1f60 | 69 66 74 4b 65 79 29 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 21 28 27 6d 65 74 61 | iftKey).&&...............!('meta |
c1f80 | 4b 65 79 27 20 69 6e 20 61 45 76 65 6e 74 20 26 26 20 61 45 76 65 6e 74 2e 6d 65 74 61 4b 65 79 | Key'.in.aEvent.&&.aEvent.metaKey |
c1fa0 | 29 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 61 45 76 65 6e 74 2e 6b 65 79 43 | )).{.............if.(aEvent.keyC |
c1fc0 | 6f 64 65 20 3d 3d 20 4b 65 79 45 76 65 6e 74 2e 44 4f 4d 5f 56 4b 5f 46 34 20 26 26 0a 20 20 20 | ode.==.KeyEvent.DOM_VK_F4.&&.... |
c1fe0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 74 61 62 62 72 6f 77 73 65 72 2e 6d 54 61 | .............this.tabbrowser.mTa |
c2000 | 62 42 6f 78 2e 68 61 6e 64 6c 65 43 74 72 6c 50 61 67 65 55 70 44 6f 77 6e 29 20 7b 0a 20 20 20 | bBox.handleCtrlPageUpDown).{.... |
c2020 | 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 74 61 62 62 72 6f 77 73 65 72 2e 72 65 6d 6f 76 | ...........this.tabbrowser.remov |
c2040 | 65 43 75 72 72 65 6e 74 54 61 62 28 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 45 | eCurrentTab();................aE |
c2060 | 76 65 6e 74 2e 73 74 6f 70 50 72 6f 70 61 67 61 74 69 6f 6e 28 29 3b 0a 20 20 20 20 20 20 20 20 | vent.stopPropagation();......... |
c2080 | 20 20 20 20 20 20 61 45 76 65 6e 74 2e 70 72 65 76 65 6e 74 44 65 66 61 75 6c 74 28 29 3b 0a 20 | ......aEvent.preventDefault();.. |
c20a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 20 20 20 20 20 20 20 20 20 | .............return;............ |
c20c0 | 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 61 45 76 65 6e 74 2e 74 61 72 67 65 74 | .}.............if.(aEvent.target |
c20e0 | 2e 6c 6f 63 61 6c 4e 61 6d 65 20 3d 3d 20 22 74 61 62 62 72 6f 77 73 65 72 22 29 20 7b 0a 20 20 | .localName.==."tabbrowser").{... |
c2100 | 20 20 20 20 20 20 20 20 20 20 20 20 73 77 69 74 63 68 20 28 61 45 76 65 6e 74 2e 6b 65 79 43 6f | ............switch.(aEvent.keyCo |
c2120 | 64 65 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 4b 65 79 45 76 | de).{.................case.KeyEv |
c2140 | 65 6e 74 2e 44 4f 4d 5f 56 4b 5f 55 50 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ent.DOM_VK_UP:.................. |
c2160 | 20 74 68 69 73 2e 74 61 62 62 72 6f 77 73 65 72 2e 6d 6f 76 65 54 61 62 42 61 63 6b 77 61 72 64 | .this.tabbrowser.moveTabBackward |
c2180 | 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 | ();...................break;.... |
c21a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 4b 65 79 45 76 65 6e 74 2e 44 4f 4d 5f 56 | .............case.KeyEvent.DOM_V |
c21c0 | 4b 5f 44 4f 57 4e 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 74 | K_DOWN:...................this.t |
c21e0 | 61 62 62 72 6f 77 73 65 72 2e 6d 6f 76 65 54 61 62 46 6f 72 77 61 72 64 28 29 3b 0a 20 20 20 20 | abbrowser.moveTabForward();..... |
c2200 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 20 20 20 20 20 | ..............break;............ |
c2220 | 20 20 20 20 20 63 61 73 65 20 4b 65 79 45 76 65 6e 74 2e 44 4f 4d 5f 56 4b 5f 52 49 47 48 54 3a | .....case.KeyEvent.DOM_VK_RIGHT: |
c2240 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 4b 65 79 45 76 65 6e 74 2e 44 | .................case.KeyEvent.D |
c2260 | 4f 4d 5f 56 4b 5f 4c 45 46 54 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 | OM_VK_LEFT:...................th |
c2280 | 69 73 2e 74 61 62 62 72 6f 77 73 65 72 2e 6d 6f 76 65 54 61 62 4f 76 65 72 28 61 45 76 65 6e 74 | is.tabbrowser.moveTabOver(aEvent |
c22a0 | 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 | );...................break;..... |
c22c0 | 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 4b 65 79 45 76 65 6e 74 2e 44 4f 4d 5f 56 4b | ............case.KeyEvent.DOM_VK |
c22e0 | 5f 48 4f 4d 45 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 74 61 | _HOME:...................this.ta |
c2300 | 62 62 72 6f 77 73 65 72 2e 6d 6f 76 65 54 61 62 54 6f 53 74 61 72 74 28 29 3b 0a 20 20 20 20 20 | bbrowser.moveTabToStart();...... |
c2320 | 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 | .............break;............. |
c2340 | 20 20 20 20 63 61 73 65 20 4b 65 79 45 76 65 6e 74 2e 44 4f 4d 5f 56 4b 5f 45 4e 44 3a 0a 20 20 | ....case.KeyEvent.DOM_VK_END:... |
c2360 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 74 61 62 62 72 6f 77 73 65 72 2e | ................this.tabbrowser. |
c2380 | 6d 6f 76 65 54 61 62 54 6f 45 6e 64 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | moveTabToEnd();................. |
c23a0 | 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 65 66 61 75 6c 74 | ..break;.................default |
c23c0 | 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 53 74 6f 70 20 74 68 65 20 | :...................//.Stop.the. |
c23e0 | 6b 65 79 70 72 65 73 73 20 65 76 65 6e 74 20 66 6f 72 20 74 68 65 20 61 62 6f 76 65 20 6b 65 79 | keypress.event.for.the.above.key |
c2400 | 62 6f 61 72 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 73 68 6f 72 74 | board...................//.short |
c2420 | 63 75 74 73 20 6f 6e 6c 79 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 | cuts.only....................ret |
c2440 | 75 72 6e 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 | urn;...............}............ |
c2460 | 20 20 20 61 45 76 65 6e 74 2e 73 74 6f 70 50 72 6f 70 61 67 61 74 69 6f 6e 28 29 3b 0a 20 20 20 | ...aEvent.stopPropagation();.... |
c2480 | 20 20 20 20 20 20 20 20 20 20 20 61 45 76 65 6e 74 2e 70 72 65 76 65 6e 74 44 65 66 61 75 6c 74 | ...........aEvent.preventDefault |
c24a0 | 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 | ();.............}...........}... |
c24c0 | 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 7d 29 5d 5d 3e 0a 20 20 20 20 20 20 3c 2f 66 69 65 6c | ......}.......})]]>.......</fiel |
c24e0 | 64 3e 0a 0a 20 20 20 20 20 20 3c 70 72 6f 70 65 72 74 79 20 6e 61 6d 65 3d 22 75 73 65 72 54 79 | d>........<property.name="userTy |
c2500 | 70 65 64 43 6c 65 61 72 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 67 65 74 3d | pedClear".................onget= |
c2520 | 22 72 65 74 75 72 6e 20 74 68 69 73 2e 6d 43 75 72 72 65 6e 74 42 72 6f 77 73 65 72 2e 75 73 65 | "return.this.mCurrentBrowser.use |
c2540 | 72 54 79 70 65 64 43 6c 65 61 72 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e | rTypedClear;".................on |
c2560 | 73 65 74 3d 22 72 65 74 75 72 6e 20 74 68 69 73 2e 6d 43 75 72 72 65 6e 74 42 72 6f 77 73 65 72 | set="return.this.mCurrentBrowser |
c2580 | 2e 75 73 65 72 54 79 70 65 64 43 6c 65 61 72 20 3d 20 76 61 6c 3b 22 2f 3e 0a 0a 20 20 20 20 20 | .userTypedClear.=.val;"/>....... |
c25a0 | 20 3c 70 72 6f 70 65 72 74 79 20 6e 61 6d 65 3d 22 75 73 65 72 54 79 70 65 64 56 61 6c 75 65 22 | .<property.name="userTypedValue" |
c25c0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 67 65 74 3d 22 72 65 74 75 72 6e 20 74 | .................onget="return.t |
c25e0 | 68 69 73 2e 6d 43 75 72 72 65 6e 74 42 72 6f 77 73 65 72 2e 75 73 65 72 54 79 70 65 64 56 61 6c | his.mCurrentBrowser.userTypedVal |
c2600 | 75 65 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 73 65 74 3d 22 72 65 74 75 | ue;".................onset="retu |
c2620 | 72 6e 20 74 68 69 73 2e 6d 43 75 72 72 65 6e 74 42 72 6f 77 73 65 72 2e 75 73 65 72 54 79 70 65 | rn.this.mCurrentBrowser.userType |
c2640 | 64 56 61 6c 75 65 20 3d 20 76 61 6c 3b 22 2f 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 | dValue.=.val;"/>........<method. |
c2660 | 6e 61 6d 65 3d 22 63 72 65 61 74 65 54 6f 6f 6c 74 69 70 22 3e 0a 20 20 20 20 20 20 20 20 3c 70 | name="createTooltip">.........<p |
c2680 | 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 65 76 65 6e 74 22 2f 3e 0a 20 20 20 20 20 20 20 20 | arameter.name="event"/>......... |
c26a0 | 3c 62 6f 64 79 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 | <body>...........<![CDATA[...... |
c26c0 | 20 20 20 20 20 20 20 65 76 65 6e 74 2e 73 74 6f 70 50 72 6f 70 61 67 61 74 69 6f 6e 28 29 3b 0a | .......event.stopPropagation();. |
c26e0 | 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 74 6e 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 74 6f | ............var.tn.=.document.to |
c2700 | 6f 6c 74 69 70 4e 6f 64 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 6e 2e 6c 6f | oltipNode;.............if.(tn.lo |
c2720 | 63 61 6c 4e 61 6d 65 20 21 3d 20 22 74 61 62 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | calName.!=."tab")............... |
c2740 | 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 20 2f 2f 20 4e 6f 74 20 61 20 74 61 62 2c 20 73 6f 20 63 | return.false;.//.Not.a.tab,.so.c |
c2760 | 61 6e 63 65 6c 20 74 68 65 20 74 6f 6f 6c 74 69 70 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 | ancel.the.tooltip.............if |
c2780 | 20 28 22 6d 4f 76 65 72 43 6c 6f 73 65 42 75 74 74 6f 6e 22 20 69 6e 20 74 6e 20 26 26 20 74 6e | .("mOverCloseButton".in.tn.&&.tn |
c27a0 | 2e 6d 4f 76 65 72 43 6c 6f 73 65 42 75 74 74 6f 6e 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 | .mOverCloseButton).{............ |
c27c0 | 20 20 20 65 76 65 6e 74 2e 74 61 72 67 65 74 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 6c 61 | ...event.target.setAttribute("la |
c27e0 | 62 65 6c 22 2c 20 74 6e 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 63 6c 6f 73 65 74 61 62 74 | bel",.tn.getAttribute("closetabt |
c2800 | 65 78 74 22 29 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 72 75 | ext"));...............return.tru |
c2820 | 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 | e;.............}.............if. |
c2840 | 28 74 6e 2e 68 61 73 41 74 74 72 69 62 75 74 65 28 22 6c 61 62 65 6c 22 29 29 20 7b 0a 20 20 20 | (tn.hasAttribute("label")).{.... |
c2860 | 20 20 20 20 20 20 20 20 20 20 20 65 76 65 6e 74 2e 74 61 72 67 65 74 2e 73 65 74 41 74 74 72 69 | ...........event.target.setAttri |
c2880 | 62 75 74 65 28 22 6c 61 62 65 6c 22 2c 20 74 6e 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 6c | bute("label",.tn.getAttribute("l |
c28a0 | 61 62 65 6c 22 29 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 72 | abel"));...............return.tr |
c28c0 | 75 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 | ue;.............}.............re |
c28e0 | 74 75 72 6e 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 20 20 20 20 20 5d 5d 3e 0a 20 20 20 20 20 20 | turn.false;...........]]>....... |
c2900 | 20 20 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 | ..</body>.......</method>....... |
c2920 | 20 3c 63 6f 6e 73 74 72 75 63 74 6f 72 3e 0a 20 20 20 20 20 20 20 20 3c 21 5b 43 44 41 54 41 5b | .<constructor>.........<![CDATA[ |
c2940 | 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 43 75 72 72 65 6e 74 42 72 6f 77 73 65 72 20 | ...........this.mCurrentBrowser. |
c2960 | 3d 20 74 68 69 73 2e 6d 50 61 6e 65 6c 43 6f 6e 74 61 69 6e 65 72 2e 63 68 69 6c 64 4e 6f 64 65 | =.this.mPanelContainer.childNode |
c2980 | 73 5b 30 5d 2e 66 69 72 73 74 43 68 69 6c 64 3b 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e | s[0].firstChild;...........this. |
c29a0 | 6d 43 75 72 72 65 6e 74 54 61 62 20 3d 20 74 68 69 73 2e 6d 54 61 62 43 6f 6e 74 61 69 6e 65 72 | mCurrentTab.=.this.mTabContainer |
c29c0 | 2e 66 69 72 73 74 43 68 69 6c 64 3b 0a 20 20 20 20 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e | .firstChild;...........document. |
c29e0 | 61 64 64 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 28 22 6b 65 79 70 72 65 73 73 22 2c 20 74 68 69 | addEventListener("keypress",.thi |
c2a00 | 73 2e 5f 6b 65 79 45 76 65 6e 74 48 61 6e 64 6c 65 72 2c 20 66 61 6c 73 65 29 3b 0a 0a 20 20 20 | s._keyEventHandler,.false);..... |
c2a20 | 20 20 20 20 20 20 20 76 61 72 20 75 6e 69 71 75 65 49 64 20 3d 20 22 70 61 6e 65 6c 22 20 2b 20 | .......var.uniqueId.=."panel".+. |
c2a40 | 44 61 74 65 2e 6e 6f 77 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 50 61 6e 65 | Date.now();...........this.mPane |
c2a60 | 6c 43 6f 6e 74 61 69 6e 65 72 2e 63 68 69 6c 64 4e 6f 64 65 73 5b 30 5d 2e 69 64 20 3d 20 75 6e | lContainer.childNodes[0].id.=.un |
c2a80 | 69 71 75 65 49 64 3b 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 54 61 62 43 6f 6e 74 61 | iqueId;...........this.mTabConta |
c2aa0 | 69 6e 65 72 2e 63 68 69 6c 64 4e 6f 64 65 73 5b 30 5d 2e 6c 69 6e 6b 65 64 50 61 6e 65 6c 20 3d | iner.childNodes[0].linkedPanel.= |
c2ac0 | 20 75 6e 69 71 75 65 49 64 3b 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 54 61 62 43 6f | .uniqueId;...........this.mTabCo |
c2ae0 | 6e 74 61 69 6e 65 72 2e 63 68 69 6c 64 4e 6f 64 65 73 5b 30 5d 2e 5f 74 50 6f 73 20 3d 20 30 3b | ntainer.childNodes[0]._tPos.=.0; |
c2b00 | 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 54 61 62 43 6f 6e 74 61 69 6e 65 72 2e 63 68 | ...........this.mTabContainer.ch |
c2b20 | 69 6c 64 4e 6f 64 65 73 5b 30 5d 2e 6c 69 6e 6b 65 64 42 72 6f 77 73 65 72 20 3d 20 74 68 69 73 | ildNodes[0].linkedBrowser.=.this |
c2b40 | 2e 6d 50 61 6e 65 6c 43 6f 6e 74 61 69 6e 65 72 2e 63 68 69 6c 64 4e 6f 64 65 73 5b 30 5d 2e 66 | .mPanelContainer.childNodes[0].f |
c2b60 | 69 72 73 74 43 68 69 6c 64 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 73 65 74 20 75 70 20 | irstChild;............//.set.up. |
c2b80 | 74 68 65 20 73 68 61 72 65 64 20 61 75 74 6f 73 63 72 6f 6c 6c 20 70 6f 70 75 70 0a 20 20 20 20 | the.shared.autoscroll.popup..... |
c2ba0 | 20 20 20 20 20 20 74 68 69 73 2e 5f 61 75 74 6f 53 63 72 6f 6c 6c 50 6f 70 75 70 20 3d 20 74 68 | ......this._autoScrollPopup.=.th |
c2bc0 | 69 73 2e 6d 43 75 72 72 65 6e 74 42 72 6f 77 73 65 72 2e 5f 63 72 65 61 74 65 41 75 74 6f 53 63 | is.mCurrentBrowser._createAutoSc |
c2be0 | 72 6f 6c 6c 50 6f 70 75 70 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 61 70 70 65 | rollPopup();...........this.appe |
c2c00 | 6e 64 43 68 69 6c 64 28 74 68 69 73 2e 5f 61 75 74 6f 53 63 72 6f 6c 6c 50 6f 70 75 70 29 3b 0a | ndChild(this._autoScrollPopup);. |
c2c20 | 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 43 75 72 72 65 6e 74 42 72 6f 77 73 65 72 2e 73 | ..........this.mCurrentBrowser.s |
c2c40 | 65 74 41 74 74 72 69 62 75 74 65 28 22 61 75 74 6f 73 63 72 6f 6c 6c 70 6f 70 75 70 22 2c 20 74 | etAttribute("autoscrollpopup",.t |
c2c60 | 68 69 73 2e 5f 61 75 74 6f 53 63 72 6f 6c 6c 50 6f 70 75 70 2e 69 64 29 3b 0a 20 20 20 20 20 20 | his._autoScrollPopup.id);....... |
c2c80 | 20 20 5d 5d 3e 0a 20 20 20 20 20 20 3c 2f 63 6f 6e 73 74 72 75 63 74 6f 72 3e 0a 0a 20 20 20 20 | ..]]>.......</constructor>...... |
c2ca0 | 20 20 3c 64 65 73 74 72 75 63 74 6f 72 3e 0a 20 20 20 20 20 20 20 20 3c 21 5b 43 44 41 54 41 5b | ..<destructor>.........<![CDATA[ |
c2cc0 | 0a 20 20 20 20 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 74 | ...........for.(var.i.=.0;.i.<.t |
c2ce0 | 68 69 73 2e 6d 54 61 62 4c 69 73 74 65 6e 65 72 73 2e 6c 65 6e 67 74 68 3b 20 2b 2b 69 29 20 7b | his.mTabListeners.length;.++i).{ |
c2d00 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 67 65 74 42 72 6f 77 73 65 72 41 74 49 6e | .............this.getBrowserAtIn |
c2d20 | 64 65 78 28 69 29 2e 77 65 62 50 72 6f 67 72 65 73 73 2e 72 65 6d 6f 76 65 50 72 6f 67 72 65 73 | dex(i).webProgress.removeProgres |
c2d40 | 73 4c 69 73 74 65 6e 65 72 28 74 68 69 73 2e 6d 54 61 62 46 69 6c 74 65 72 73 5b 69 5d 29 3b 0a | sListener(this.mTabFilters[i]);. |
c2d60 | 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 54 61 62 46 69 6c 74 65 72 73 5b 69 5d 2e | ............this.mTabFilters[i]. |
c2d80 | 72 65 6d 6f 76 65 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 28 74 68 69 73 2e 6d 54 61 62 | removeProgressListener(this.mTab |
c2da0 | 4c 69 73 74 65 6e 65 72 73 5b 69 5d 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e | Listeners[i]);.............this. |
c2dc0 | 6d 54 61 62 46 69 6c 74 65 72 73 5b 69 5d 20 3d 20 6e 75 6c 6c 3b 0a 20 20 20 20 20 20 20 20 20 | mTabFilters[i].=.null;.......... |
c2de0 | 20 20 20 74 68 69 73 2e 6d 54 61 62 4c 69 73 74 65 6e 65 72 73 5b 69 5d 20 3d 20 6e 75 6c 6c 3b | ...this.mTabListeners[i].=.null; |
c2e00 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 67 65 74 42 72 6f 77 73 65 72 41 74 49 6e | .............this.getBrowserAtIn |
c2e20 | 64 65 78 28 69 29 2e 72 65 6d 6f 76 65 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 28 22 44 4f 4d 54 | dex(i).removeEventListener("DOMT |
c2e40 | 69 74 6c 65 43 68 61 6e 67 65 64 22 2c 20 74 68 69 73 2e 6f 6e 54 69 74 6c 65 43 68 61 6e 67 65 | itleChanged",.this.onTitleChange |
c2e60 | 64 2c 20 74 72 75 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 | d,.true);...........}........... |
c2e80 | 64 6f 63 75 6d 65 6e 74 2e 72 65 6d 6f 76 65 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 28 22 6b 65 | document.removeEventListener("ke |
c2ea0 | 79 70 72 65 73 73 22 2c 20 74 68 69 73 2e 5f 6b 65 79 45 76 65 6e 74 48 61 6e 64 6c 65 72 2c 20 | ypress",.this._keyEventHandler,. |
c2ec0 | 66 61 6c 73 65 29 3b 0a 20 20 20 20 20 20 20 20 5d 5d 3e 0a 20 20 20 20 20 20 3c 2f 64 65 73 74 | false);.........]]>.......</dest |
c2ee0 | 72 75 63 74 6f 72 3e 0a 20 20 20 20 3c 2f 69 6d 70 6c 65 6d 65 6e 74 61 74 69 6f 6e 3e 0a 0a 20 | ructor>.....</implementation>... |
c2f00 | 20 20 20 3c 68 61 6e 64 6c 65 72 73 3e 0a 20 20 20 20 20 20 3c 68 61 6e 64 6c 65 72 20 65 76 65 | ...<handlers>.......<handler.eve |
c2f20 | 6e 74 3d 22 44 4f 4d 57 69 6e 64 6f 77 43 6c 6f 73 65 22 20 70 68 61 73 65 3d 22 63 61 70 74 75 | nt="DOMWindowClose".phase="captu |
c2f40 | 72 69 6e 67 22 3e 0a 20 20 20 20 20 20 20 20 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 | ring">.........<![CDATA[........ |
c2f60 | 20 20 20 69 66 20 28 21 65 76 65 6e 74 2e 69 73 54 72 75 73 74 65 64 29 0a 20 20 20 20 20 20 20 | ...if.(!event.isTrusted)........ |
c2f80 | 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 63 6f 6e 73 74 20 62 72 | .....return;............const.br |
c2fa0 | 6f 77 73 65 72 73 20 3d 20 74 68 69 73 2e 6d 50 61 6e 65 6c 43 6f 6e 74 61 69 6e 65 72 2e 63 68 | owsers.=.this.mPanelContainer.ch |
c2fc0 | 69 6c 64 4e 6f 64 65 73 3b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 62 72 6f 77 73 65 72 73 | ildNodes;...........if.(browsers |
c2fe0 | 2e 6c 65 6e 67 74 68 20 3d 3d 20 31 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 54 | .length.==.1).{.............//.T |
c3000 | 68 65 72 65 27 73 20 6f 6e 6c 79 20 6f 6e 65 20 62 72 6f 77 73 65 72 20 6c 65 66 74 2e 20 49 66 | here's.only.one.browser.left..If |
c3020 | 20 61 20 77 69 6e 64 6f 77 20 69 73 20 62 65 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f | .a.window.is.being............./ |
c3040 | 2f 20 63 6c 6f 73 65 64 20 61 6e 64 20 74 68 65 20 77 69 6e 64 6f 77 20 69 73 20 2a 6e 6f 74 2a | /.closed.and.the.window.is.*not* |
c3060 | 20 74 68 65 20 77 69 6e 64 6f 77 20 69 6e 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f | .the.window.in.the............./ |
c3080 | 2f 20 62 72 6f 77 73 65 72 20 74 68 61 74 27 73 20 73 74 69 6c 6c 20 61 72 6f 75 6e 64 2c 20 70 | /.browser.that's.still.around,.p |
c30a0 | 72 65 76 65 6e 74 20 74 68 65 20 65 76 65 6e 74 27 73 20 64 65 66 61 75 6c 74 0a 20 20 20 20 20 | revent.the.event's.default...... |
c30c0 | 20 20 20 20 20 20 20 2f 2f 20 61 63 74 69 6f 6e 20 74 6f 20 70 72 65 76 65 6e 74 20 63 6c 6f 73 | .......//.action.to.prevent.clos |
c30e0 | 69 6e 67 20 61 20 77 69 6e 64 6f 77 20 74 68 61 74 27 73 20 62 65 69 6e 67 20 63 6c 6f 73 65 64 | ing.a.window.that's.being.closed |
c3100 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 61 6c 72 65 61 64 79 2e 0a 20 20 20 20 20 20 20 | .............//.already......... |
c3120 | 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 67 65 74 42 72 6f 77 73 65 72 41 74 49 6e 64 65 78 28 | .....if.(this.getBrowserAtIndex( |
c3140 | 30 29 2e 63 6f 6e 74 65 6e 74 57 69 6e 64 6f 77 20 21 3d 20 65 76 65 6e 74 2e 74 61 72 67 65 74 | 0).contentWindow.!=.event.target |
c3160 | 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 76 65 6e 74 2e 70 72 65 76 65 6e 74 44 65 66 | )...............event.preventDef |
c3180 | 61 75 6c 74 28 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 20 | ault();..............return;.... |
c31a0 | 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 69 20 3d 20 30 3b 0a 20 | .......}............var.i.=.0;.. |
c31c0 | 20 20 20 20 20 20 20 20 20 66 6f 72 20 28 3b 20 69 20 3c 20 62 72 6f 77 73 65 72 73 2e 6c 65 6e | .........for.(;.i.<.browsers.len |
c31e0 | 67 74 68 3b 20 2b 2b 69 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 | gth;.++i).{.............if.(this |
c3200 | 2e 67 65 74 42 72 6f 77 73 65 72 41 74 49 6e 64 65 78 28 69 29 2e 63 6f 6e 74 65 6e 74 57 69 6e | .getBrowserAtIndex(i).contentWin |
c3220 | 64 6f 77 20 3d 3d 20 65 76 65 6e 74 2e 74 61 72 67 65 74 29 20 7b 0a 20 20 20 20 20 20 20 20 20 | dow.==.event.target).{.......... |
c3240 | 20 20 20 20 20 74 68 69 73 2e 72 65 6d 6f 76 65 54 61 62 28 74 68 69 73 2e 6d 54 61 62 43 6f 6e | .....this.removeTab(this.mTabCon |
c3260 | 74 61 69 6e 65 72 2e 63 68 69 6c 64 4e 6f 64 65 73 5b 69 5d 29 3b 0a 20 20 20 20 20 20 20 20 20 | tainer.childNodes[i]);.......... |
c3280 | 20 20 20 20 20 65 76 65 6e 74 2e 70 72 65 76 65 6e 74 44 65 66 61 75 6c 74 28 29 3b 0a 0a 20 20 | .....event.preventDefault();.... |
c32a0 | 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d | ............break;.............} |
c32c0 | 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 5d 5d 3e 0a 20 20 20 20 20 20 3c | ...........}.........]]>.......< |
c32e0 | 2f 68 61 6e 64 6c 65 72 3e 0a 20 20 20 20 20 20 3c 68 61 6e 64 6c 65 72 20 65 76 65 6e 74 3d 22 | /handler>.......<handler.event=" |
c3300 | 44 4f 4d 57 69 6c 6c 4f 70 65 6e 4d 6f 64 61 6c 44 69 61 6c 6f 67 22 20 70 68 61 73 65 3d 22 63 | DOMWillOpenModalDialog".phase="c |
c3320 | 61 70 74 75 72 69 6e 67 22 3e 0a 20 20 20 20 20 20 20 20 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 | apturing">.........<![CDATA[.... |
c3340 | 20 20 20 20 20 20 20 69 66 20 28 21 65 76 65 6e 74 2e 69 73 54 72 75 73 74 65 64 29 0a 20 20 20 | .......if.(!event.isTrusted).... |
c3360 | 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 57 | .........return;............//.W |
c3380 | 65 27 72 65 20 61 62 6f 75 74 20 74 6f 20 6f 70 65 6e 20 61 20 6d 6f 64 61 6c 20 64 69 61 6c 6f | e're.about.to.open.a.modal.dialo |
c33a0 | 67 2c 20 6d 61 6b 65 20 73 75 72 65 20 74 68 65 20 6f 70 65 6e 69 6e 67 0a 20 20 20 20 20 20 20 | g,.make.sure.the.opening........ |
c33c0 | 20 20 20 2f 2f 20 74 61 62 20 69 73 20 62 72 6f 75 67 68 74 20 74 6f 20 74 68 65 20 66 72 6f 6e | ...//.tab.is.brought.to.the.fron |
c33e0 | 74 2e 0a 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 74 61 72 67 65 74 54 6f 70 20 3d 20 65 76 | t.............var.targetTop.=.ev |
c3400 | 65 6e 74 2e 74 61 72 67 65 74 2e 74 6f 70 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 66 6f 72 20 28 | ent.target.top;............for.( |
c3420 | 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 62 72 6f 77 73 65 72 73 2e 6c 65 6e 67 74 68 3b 20 | var.i.=.0;.i.<.browsers.length;. |
c3440 | 2b 2b 69 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 67 65 74 42 | ++i).{.............if.(this.getB |
c3460 | 72 6f 77 73 65 72 41 74 49 6e 64 65 78 28 69 29 2e 63 6f 6e 74 65 6e 74 57 69 6e 64 6f 77 20 3d | rowserAtIndex(i).contentWindow.= |
c3480 | 3d 20 74 61 72 67 65 74 54 6f 70 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 | =.targetTop).{...............thi |
c34a0 | 73 2e 73 65 6c 65 63 74 65 64 54 61 62 20 3d 20 74 68 69 73 2e 6d 54 61 62 43 6f 6e 74 61 69 6e | s.selectedTab.=.this.mTabContain |
c34c0 | 65 72 2e 63 68 69 6c 64 4e 6f 64 65 73 5b 69 5d 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | er.childNodes[i];............... |
c34e0 | 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 | .break;.............}........... |
c3500 | 7d 0a 20 20 20 20 20 20 20 20 5d 5d 3e 0a 20 20 20 20 20 20 3c 2f 68 61 6e 64 6c 65 72 3e 0a 20 | }.........]]>.......</handler>.. |
c3520 | 20 20 20 3c 2f 68 61 6e 64 6c 65 72 73 3e 0a 20 20 3c 2f 62 69 6e 64 69 6e 67 3e 0a 0a 20 20 3c | ...</handlers>...</binding>....< |
c3540 | 62 69 6e 64 69 6e 67 20 69 64 3d 22 74 61 62 62 72 6f 77 73 65 72 2d 61 72 72 6f 77 73 63 72 6f | binding.id="tabbrowser-arrowscro |
c3560 | 6c 6c 62 6f 78 22 20 65 78 74 65 6e 64 73 3d 22 63 68 72 6f 6d 65 3a 2f 2f 67 6c 6f 62 61 6c 2f | llbox".extends="chrome://global/ |
c3580 | 63 6f 6e 74 65 6e 74 2f 62 69 6e 64 69 6e 67 73 2f 73 63 72 6f 6c 6c 62 6f 78 2e 78 6d 6c 23 61 | content/bindings/scrollbox.xml#a |
c35a0 | 72 72 6f 77 73 63 72 6f 6c 6c 62 6f 78 2d 63 6c 69 63 6b 74 6f 73 63 72 6f 6c 6c 22 3e 0a 20 20 | rrowscrollbox-clicktoscroll">... |
c35c0 | 20 20 3c 69 6d 70 6c 65 6d 65 6e 74 61 74 69 6f 6e 3e 0a 20 20 20 20 20 20 3c 21 2d 2d 20 4f 76 | ..<implementation>.......<!--.Ov |
c35e0 | 65 72 72 69 64 65 20 73 63 72 6f 6c 6c 62 6f 78 2e 78 6d 6c 20 6d 65 74 68 6f 64 2c 20 73 69 6e | erride.scrollbox.xml.method,.sin |
c3600 | 63 65 20 6f 75 72 20 73 63 72 6f 6c 6c 62 6f 78 27 73 20 63 68 69 6c 64 72 65 6e 20 61 72 65 0a | ce.our.scrollbox's.children.are. |
c3620 | 20 20 20 20 20 20 20 20 20 20 20 69 6e 68 65 72 69 74 65 64 20 66 72 6f 6d 20 74 68 65 20 62 69 | ...........inherited.from.the.bi |
c3640 | 6e 64 69 6e 67 20 70 61 72 65 6e 74 20 2d 2d 3e 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e | nding.parent.-->.......<method.n |
c3660 | 61 6d 65 3d 22 5f 67 65 74 53 63 72 6f 6c 6c 61 62 6c 65 45 6c 65 6d 65 6e 74 73 22 3e 0a 20 20 | ame="_getScrollableElements">... |
c3680 | 20 20 20 20 20 20 3c 62 6f 64 79 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 | ......<body><![CDATA[........... |
c36a0 | 72 65 74 75 72 6e 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 42 69 6e 64 69 6e 67 50 61 72 65 6e 74 | return.document.getBindingParent |
c36c0 | 28 74 68 69 73 29 2e 63 68 69 6c 64 4e 6f 64 65 73 3b 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f | (this).childNodes;.........]]></ |
c36e0 | 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 20 20 20 20 3c 2f 69 6d 70 6c | body>.......</method>.....</impl |
c3700 | 65 6d 65 6e 74 61 74 69 6f 6e 3e 0a 0a 20 20 20 20 3c 68 61 6e 64 6c 65 72 73 3e 0a 20 20 20 20 | ementation>......<handlers>..... |
c3720 | 20 20 3c 68 61 6e 64 6c 65 72 20 65 76 65 6e 74 3d 22 75 6e 64 65 72 66 6c 6f 77 22 3e 3c 21 5b | ..<handler.event="underflow"><![ |
c3740 | 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 69 66 20 28 65 76 65 6e 74 2e 64 65 74 61 69 6c | CDATA[..........if.(event.detail |
c3760 | 20 3d 3d 20 30 29 0a 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 20 2f 2f 20 49 67 6e | .==.0)............return;.//.Ign |
c3780 | 6f 72 65 20 76 65 72 74 69 63 61 6c 20 65 76 65 6e 74 73 0a 0a 20 20 20 20 20 20 20 20 20 76 61 | ore.vertical.events...........va |
c37a0 | 72 20 74 61 62 73 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 42 69 6e 64 69 6e 67 50 61 72 65 | r.tabs.=.document.getBindingPare |
c37c0 | 6e 74 28 74 68 69 73 29 3b 0a 20 20 20 20 20 20 20 20 20 74 61 62 73 2e 72 65 6d 6f 76 65 41 74 | nt(this);..........tabs.removeAt |
c37e0 | 74 72 69 62 75 74 65 28 22 6f 76 65 72 66 6c 6f 77 22 29 3b 0a 20 20 20 20 20 20 5d 5d 3e 3c 2f | tribute("overflow");.......]]></ |
c3800 | 68 61 6e 64 6c 65 72 3e 0a 20 20 20 20 20 20 3c 68 61 6e 64 6c 65 72 20 65 76 65 6e 74 3d 22 6f | handler>.......<handler.event="o |
c3820 | 76 65 72 66 6c 6f 77 22 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 69 66 20 28 | verflow"><![CDATA[..........if.( |
c3840 | 65 76 65 6e 74 2e 64 65 74 61 69 6c 20 3d 3d 20 30 29 0a 20 20 20 20 20 20 20 20 20 20 20 72 65 | event.detail.==.0)............re |
c3860 | 74 75 72 6e 3b 20 2f 2f 20 49 67 6e 6f 72 65 20 76 65 72 74 69 63 61 6c 20 65 76 65 6e 74 73 0a | turn;.//.Ignore.vertical.events. |
c3880 | 0a 20 20 20 20 20 20 20 20 20 76 61 72 20 74 61 62 73 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 | ..........var.tabs.=.document.ge |
c38a0 | 74 42 69 6e 64 69 6e 67 50 61 72 65 6e 74 28 74 68 69 73 29 3b 0a 20 20 20 20 20 20 20 20 20 74 | tBindingParent(this);..........t |
c38c0 | 61 62 73 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 6f 76 65 72 66 6c 6f 77 22 2c 20 22 74 72 | abs.setAttribute("overflow",."tr |
c38e0 | 75 65 22 29 3b 0a 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 73 63 72 6f 6c 6c 42 6f 78 4f 62 6a | ue");..........this.scrollBoxObj |
c3900 | 65 63 74 2e 65 6e 73 75 72 65 45 6c 65 6d 65 6e 74 49 73 56 69 73 69 62 6c 65 28 74 61 62 73 2e | ect.ensureElementIsVisible(tabs. |
c3920 | 73 65 6c 65 63 74 65 64 49 74 65 6d 29 3b 0a 20 20 20 20 20 20 5d 5d 3e 3c 2f 68 61 6e 64 6c 65 | selectedItem);.......]]></handle |
c3940 | 72 3e 0a 0a 0a 20 20 20 20 3c 2f 68 61 6e 64 6c 65 72 73 3e 0a 0a 20 20 3c 2f 62 69 6e 64 69 6e | r>.......</handlers>....</bindin |
c3960 | 67 3e 0a 0a 20 20 3c 62 69 6e 64 69 6e 67 20 69 64 3d 22 74 61 62 62 72 6f 77 73 65 72 2d 74 61 | g>....<binding.id="tabbrowser-ta |
c3980 | 62 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 65 78 74 65 6e 64 73 3d 22 63 68 72 6f 6d 65 3a 2f | bs"............extends="chrome:/ |
c39a0 | 2f 67 6c 6f 62 61 6c 2f 63 6f 6e 74 65 6e 74 2f 62 69 6e 64 69 6e 67 73 2f 74 61 62 62 6f 78 2e | /global/content/bindings/tabbox. |
c39c0 | 78 6d 6c 23 74 61 62 73 22 3e 0a 20 20 20 20 3c 63 6f 6e 74 65 6e 74 3e 0a 20 20 20 20 20 20 3c | xml#tabs">.....<content>.......< |
c39e0 | 78 75 6c 3a 73 74 61 63 6b 20 66 6c 65 78 3d 22 31 22 20 63 6c 61 73 73 3d 22 74 61 62 73 2d 73 | xul:stack.flex="1".class="tabs-s |
c3a00 | 74 61 63 6b 22 3e 0a 20 20 20 20 20 20 20 20 3c 78 75 6c 3a 76 62 6f 78 3e 0a 20 20 20 20 20 20 | tack">.........<xul:vbox>....... |
c3a20 | 20 20 20 20 3c 78 75 6c 3a 73 70 61 63 65 72 20 66 6c 65 78 3d 22 31 22 2f 3e 0a 20 20 20 20 20 | ....<xul:spacer.flex="1"/>...... |
c3a40 | 20 20 20 20 20 3c 78 75 6c 3a 68 62 6f 78 20 63 6c 61 73 73 3d 22 74 61 62 73 2d 62 6f 74 74 6f | .....<xul:hbox.class="tabs-botto |
c3a60 | 6d 22 20 61 6c 69 67 6e 3d 22 63 65 6e 74 65 72 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 2f 78 75 | m".align="center"/>.........</xu |
c3a80 | 6c 3a 76 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 3c 78 75 6c 3a 68 62 6f 78 20 78 62 6c 3a 69 6e | l:vbox>.........<xul:hbox.xbl:in |
c3aa0 | 68 65 72 69 74 73 3d 22 6f 76 65 72 66 6c 6f 77 22 20 63 6c 61 73 73 3d 22 74 61 62 73 2d 63 6f | herits="overflow".class="tabs-co |
c3ac0 | 6e 74 61 69 6e 65 72 22 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 78 75 6c 3a 61 72 72 6f 77 73 63 | ntainer">...........<xul:arrowsc |
c3ae0 | 72 6f 6c 6c 62 6f 78 20 61 6e 6f 6e 69 64 3d 22 61 72 72 6f 77 73 63 72 6f 6c 6c 62 6f 78 22 20 | rollbox.anonid="arrowscrollbox". |
c3b00 | 6f 72 69 65 6e 74 3d 22 68 6f 72 69 7a 6f 6e 74 61 6c 22 20 66 6c 65 78 3d 22 31 22 0a 20 20 20 | orient="horizontal".flex="1".... |
c3b20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 74 79 6c 65 | ...........................style |
c3b40 | 3d 22 6d 69 6e 2d 77 69 64 74 68 3a 20 31 70 78 3b 22 20 63 68 72 6f 6d 65 64 69 72 3d 22 26 6c | ="min-width:.1px;".chromedir="&l |
c3b60 | 6f 63 61 6c 65 2e 64 69 72 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ocale.dir;"..................... |
c3b80 | 20 20 20 20 20 20 20 20 20 20 63 6c 69 63 6b 74 6f 73 63 72 6f 6c 6c 3d 22 74 72 75 65 22 0a 20 | ..........clicktoscroll="true".. |
c3ba0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6c 61 | .............................cla |
c3bc0 | 73 73 3d 22 74 61 62 62 72 6f 77 73 65 72 2d 61 72 72 6f 77 73 63 72 6f 6c 6c 62 6f 78 22 3e 0a | ss="tabbrowser-arrowscrollbox">. |
c3be0 | 20 20 20 20 20 20 20 20 20 20 20 20 3c 63 68 69 6c 64 72 65 6e 20 69 6e 63 6c 75 64 65 73 3d 22 | ............<children.includes=" |
c3c00 | 74 61 62 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 63 68 69 6c 64 72 65 6e 2f 3e 0a 20 | tab"/>.............<children/>.. |
c3c20 | 20 20 20 20 20 20 20 20 20 20 20 3c 78 75 6c 3a 74 6f 6f 6c 62 61 72 62 75 74 74 6f 6e 20 63 6c | ...........<xul:toolbarbutton.cl |
c3c40 | 61 73 73 3d 22 74 61 62 73 2d 6e 65 77 74 61 62 2d 62 75 74 74 6f 6e 22 0a 20 20 20 20 20 20 20 | ass="tabs-newtab-button"........ |
c3c60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6d 6d 61 6e 64 3d | ........................command= |
c3c80 | 22 63 6d 64 5f 6e 65 77 4e 61 76 69 67 61 74 6f 72 54 61 62 22 20 63 68 72 6f 6d 65 64 69 72 3d | "cmd_newNavigatorTab".chromedir= |
c3ca0 | 22 26 6c 6f 63 61 6c 65 2e 64 69 72 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | "&locale.dir;".................. |
c3cc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 6f 6f 6c 74 69 70 74 65 78 74 3d 22 26 6e 65 77 54 | ..............tooltiptext="&newT |
c3ce0 | 61 62 42 75 74 74 6f 6e 2e 74 6f 6f 6c 74 69 70 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c | abButton.tooltip;"/>...........< |
c3d00 | 2f 78 75 6c 3a 61 72 72 6f 77 73 63 72 6f 6c 6c 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 20 20 3c | /xul:arrowscrollbox>...........< |
c3d20 | 78 75 6c 3a 74 6f 6f 6c 62 61 72 62 75 74 74 6f 6e 20 63 6c 61 73 73 3d 22 74 61 62 73 2d 6e 65 | xul:toolbarbutton.class="tabs-ne |
c3d40 | 77 74 61 62 2d 62 75 74 74 6f 6e 22 20 61 6e 6f 6e 69 64 3d 22 6e 65 77 74 61 62 2d 62 75 74 74 | wtab-button".anonid="newtab-butt |
c3d60 | 6f 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | on"............................. |
c3d80 | 20 63 6f 6d 6d 61 6e 64 3d 22 63 6d 64 5f 6e 65 77 4e 61 76 69 67 61 74 6f 72 54 61 62 22 20 63 | .command="cmd_newNavigatorTab".c |
c3da0 | 68 72 6f 6d 65 64 69 72 3d 22 26 6c 6f 63 61 6c 65 2e 64 69 72 3b 22 0a 20 20 20 20 20 20 20 20 | hromedir="&locale.dir;"......... |
c3dc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 6f 6f 6c 74 69 70 74 65 78 74 | .....................tooltiptext |
c3de0 | 3d 22 26 6e 65 77 54 61 62 42 75 74 74 6f 6e 2e 74 6f 6f 6c 74 69 70 3b 22 2f 3e 0a 20 20 20 20 | ="&newTabButton.tooltip;"/>..... |
c3e00 | 20 20 20 20 20 20 3c 78 75 6c 3a 73 74 61 63 6b 20 61 6c 69 67 6e 3d 22 63 65 6e 74 65 72 22 20 | ......<xul:stack.align="center". |
c3e20 | 70 61 63 6b 3d 22 65 6e 64 22 20 63 68 72 6f 6d 65 64 69 72 3d 22 26 6c 6f 63 61 6c 65 2e 64 69 | pack="end".chromedir="&locale.di |
c3e40 | 72 3b 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 78 75 6c 3a 68 62 6f 78 20 66 6c 65 78 3d | r;">.............<xul:hbox.flex= |
c3e60 | 22 31 22 20 63 6c 61 73 73 3d 22 74 61 62 73 2d 61 6c 6c 74 61 62 73 2d 62 6f 78 22 20 61 6e 6f | "1".class="tabs-alltabs-box".ano |
c3e80 | 6e 69 64 3d 22 61 6c 6c 74 61 62 73 2d 62 6f 78 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 | nid="alltabs-box"/>............. |
c3ea0 | 3c 78 75 6c 3a 68 62 6f 78 20 66 6c 65 78 3d 22 31 22 20 63 6c 61 73 73 3d 22 74 61 62 73 2d 61 | <xul:hbox.flex="1".class="tabs-a |
c3ec0 | 6c 6c 74 61 62 73 2d 62 6f 78 2d 61 6e 69 6d 61 74 65 22 20 61 6e 6f 6e 69 64 3d 22 61 6c 6c 74 | lltabs-box-animate".anonid="allt |
c3ee0 | 61 62 73 2d 62 6f 78 2d 61 6e 69 6d 61 74 65 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c | abs-box-animate"/>.............< |
c3f00 | 78 75 6c 3a 74 6f 6f 6c 62 61 72 62 75 74 74 6f 6e 20 63 6c 61 73 73 3d 22 74 61 62 73 2d 61 6c | xul:toolbarbutton.class="tabs-al |
c3f20 | 6c 74 61 62 73 2d 62 75 74 74 6f 6e 22 20 74 79 70 65 3d 22 6d 65 6e 75 22 20 61 6e 6f 6e 69 64 | ltabs-button".type="menu".anonid |
c3f40 | 3d 22 61 6c 6c 74 61 62 73 2d 62 75 74 74 6f 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ="alltabs-button"............... |
c3f60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 6f 6f 6c 74 69 70 74 65 78 74 3d 22 26 6c | .................tooltiptext="&l |
c3f80 | 69 73 74 41 6c 6c 54 61 62 73 2e 6c 61 62 65 6c 3b 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 | istAllTabs.label;">............. |
c3fa0 | 20 3c 78 75 6c 3a 6d 65 6e 75 70 6f 70 75 70 20 63 6c 61 73 73 3d 22 74 61 62 73 2d 61 6c 6c 74 | .<xul:menupopup.class="tabs-allt |
c3fc0 | 61 62 73 2d 70 6f 70 75 70 22 20 61 6e 6f 6e 69 64 3d 22 61 6c 6c 74 61 62 73 2d 70 6f 70 75 70 | abs-popup".anonid="alltabs-popup |
c3fe0 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 6f | ".............................po |
c4000 | 73 69 74 69 6f 6e 3d 22 61 66 74 65 72 5f 65 6e 64 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 | sition="after_end"/>............ |
c4020 | 20 3c 2f 78 75 6c 3a 74 6f 6f 6c 62 61 72 62 75 74 74 6f 6e 3e 0a 20 20 20 20 20 20 20 20 20 20 | .</xul:toolbarbutton>........... |
c4040 | 3c 2f 78 75 6c 3a 73 74 61 63 6b 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 78 75 6c 3a 74 6f 6f 6c | </xul:stack>...........<xul:tool |
c4060 | 62 61 72 62 75 74 74 6f 6e 20 61 6e 6f 6e 69 64 3d 22 74 61 62 73 2d 63 6c 6f 73 65 62 75 74 74 | barbutton.anonid="tabs-closebutt |
c4080 | 6f 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | on"............................. |
c40a0 | 20 63 6c 61 73 73 3d 22 63 6c 6f 73 65 2d 62 75 74 74 6f 6e 20 74 61 62 73 2d 63 6c 6f 73 65 62 | .class="close-button.tabs-closeb |
c40c0 | 75 74 74 6f 6e 22 20 63 68 72 6f 6d 65 64 69 72 3d 22 26 6c 6f 63 61 6c 65 2e 64 69 72 3b 22 2f | utton".chromedir="&locale.dir;"/ |
c40e0 | 3e 0a 20 20 20 20 20 20 20 20 3c 2f 78 75 6c 3a 68 62 6f 78 3e 0a 20 20 20 20 20 20 3c 2f 78 75 | >.........</xul:hbox>.......</xu |
c4100 | 6c 3a 73 74 61 63 6b 3e 0a 20 20 20 20 3c 2f 63 6f 6e 74 65 6e 74 3e 0a 20 20 20 20 3c 69 6d 70 | l:stack>.....</content>.....<imp |
c4120 | 6c 65 6d 65 6e 74 61 74 69 6f 6e 20 69 6d 70 6c 65 6d 65 6e 74 73 3d 22 6e 73 49 54 69 6d 65 72 | lementation.implements="nsITimer |
c4140 | 43 61 6c 6c 62 61 63 6b 2c 20 6e 73 49 44 4f 4d 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 22 3e 0a | Callback,.nsIDOMEventListener">. |
c4160 | 20 20 20 20 20 20 3c 63 6f 6e 73 74 72 75 63 74 6f 72 3e 0a 20 20 20 20 20 20 20 20 3c 21 5b 43 | ......<constructor>.........<![C |
c4180 | 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 70 62 32 20 3d 0a 20 20 20 20 20 20 | DATA[...........var.pb2.=....... |
c41a0 | 20 20 20 20 20 20 20 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 27 40 6d 6f 7a | ........Components.classes['@moz |
c41c0 | 69 6c 6c 61 2e 6f 72 67 2f 70 72 65 66 65 72 65 6e 63 65 73 2d 73 65 72 76 69 63 65 3b 31 27 5d | illa.org/preferences-service;1'] |
c41e0 | 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f | ................getService(Compo |
c4200 | 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 50 72 65 66 42 72 61 6e 63 68 32 29 | nents.interfaces.nsIPrefBranch2) |
c4220 | 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 | ;............try.{.............t |
c4240 | 68 69 73 2e 6d 54 61 62 4d 69 6e 57 69 64 74 68 20 3d 20 70 62 32 2e 67 65 74 49 6e 74 50 72 65 | his.mTabMinWidth.=.pb2.getIntPre |
c4260 | 66 28 22 62 72 6f 77 73 65 72 2e 74 61 62 73 2e 74 61 62 4d 69 6e 57 69 64 74 68 22 29 3b 0a 20 | f("browser.tabs.tabMinWidth");.. |
c4280 | 20 20 20 20 20 20 20 20 20 7d 20 63 61 74 63 68 20 28 65 29 20 7b 0a 20 20 20 20 20 20 20 20 20 | .........}.catch.(e).{.......... |
c42a0 | 20 7d 0a 20 20 20 20 20 20 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 | .}...........try.{.............t |
c42c0 | 68 69 73 2e 6d 54 61 62 4d 61 78 57 69 64 74 68 20 3d 20 70 62 32 2e 67 65 74 49 6e 74 50 72 65 | his.mTabMaxWidth.=.pb2.getIntPre |
c42e0 | 66 28 22 62 72 6f 77 73 65 72 2e 74 61 62 73 2e 74 61 62 4d 61 78 57 69 64 74 68 22 29 3b 0a 20 | f("browser.tabs.tabMaxWidth");.. |
c4300 | 20 20 20 20 20 20 20 20 20 7d 20 63 61 74 63 68 20 28 65 29 20 7b 0a 20 20 20 20 20 20 20 20 20 | .........}.catch.(e).{.......... |
c4320 | 20 7d 0a 20 20 20 20 20 20 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 | .}...........try.{.............t |
c4340 | 68 69 73 2e 6d 54 61 62 43 6c 69 70 57 69 64 74 68 20 3d 20 70 62 32 2e 67 65 74 49 6e 74 50 72 | his.mTabClipWidth.=.pb2.getIntPr |
c4360 | 65 66 28 22 62 72 6f 77 73 65 72 2e 74 61 62 73 2e 74 61 62 43 6c 69 70 57 69 64 74 68 22 29 3b | ef("browser.tabs.tabClipWidth"); |
c4380 | 0a 20 20 20 20 20 20 20 20 20 20 7d 20 63 61 74 63 68 20 28 65 29 20 7b 0a 20 20 20 20 20 20 20 | ...........}.catch.(e).{........ |
c43a0 | 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 | ...}...........try.{............ |
c43c0 | 20 74 68 69 73 2e 6d 43 6c 6f 73 65 42 75 74 74 6f 6e 73 20 3d 20 70 62 32 2e 67 65 74 49 6e 74 | .this.mCloseButtons.=.pb2.getInt |
c43e0 | 50 72 65 66 28 22 62 72 6f 77 73 65 72 2e 74 61 62 73 2e 63 6c 6f 73 65 42 75 74 74 6f 6e 73 22 | Pref("browser.tabs.closeButtons" |
c4400 | 29 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 20 63 61 74 63 68 20 28 65 29 20 7b 0a 20 20 20 20 20 | );...........}.catch.(e).{...... |
c4420 | 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 66 69 72 73 74 43 68 69 6c | .....}............this.firstChil |
c4440 | 64 2e 6d 69 6e 57 69 64 74 68 20 3d 20 74 68 69 73 2e 6d 54 61 62 4d 69 6e 57 69 64 74 68 3b 0a | d.minWidth.=.this.mTabMinWidth;. |
c4460 | 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 66 69 72 73 74 43 68 69 6c 64 2e 6d 61 78 57 69 64 | ..........this.firstChild.maxWid |
c4480 | 74 68 20 3d 20 74 68 69 73 2e 6d 54 61 62 4d 61 78 57 69 64 74 68 3b 0a 20 20 20 20 20 20 20 20 | th.=.this.mTabMaxWidth;......... |
c44a0 | 20 20 74 68 69 73 2e 61 64 6a 75 73 74 54 61 62 73 74 72 69 70 28 29 3b 0a 0a 20 20 20 20 20 20 | ..this.adjustTabstrip();........ |
c44c0 | 20 20 20 20 70 62 32 2e 61 64 64 4f 62 73 65 72 76 65 72 28 22 62 72 6f 77 73 65 72 2e 74 61 62 | ....pb2.addObserver("browser.tab |
c44e0 | 73 2e 63 6c 6f 73 65 42 75 74 74 6f 6e 73 22 2c 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | s.closeButtons",................ |
c4500 | 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 70 72 65 66 4f 62 73 65 72 76 65 72 2c 20 | ............this._prefObserver,. |
c4520 | 66 61 6c 73 65 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 77 69 6e 64 6f 77 2e 61 64 64 45 76 65 | false);............window.addEve |
c4540 | 6e 74 4c 69 73 74 65 6e 65 72 28 22 72 65 73 69 7a 65 22 2c 20 74 68 69 73 2c 20 66 61 6c 73 65 | ntListener("resize",.this,.false |
c4560 | 29 3b 0a 20 20 20 20 20 20 20 20 5d 5d 3e 0a 20 20 20 20 20 20 3c 2f 63 6f 6e 73 74 72 75 63 74 | );.........]]>.......</construct |
c4580 | 6f 72 3e 0a 0a 20 20 20 20 20 20 3c 64 65 73 74 72 75 63 74 6f 72 3e 0a 20 20 20 20 20 20 20 20 | or>........<destructor>......... |
c45a0 | 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 70 62 32 20 3d 0a 20 20 | <![CDATA[...........var.pb2.=... |
c45c0 | 20 20 20 20 20 20 20 20 20 20 20 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 27 | ............Components.classes[' |
c45e0 | 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 70 72 65 66 65 72 65 6e 63 65 73 2d 73 65 72 76 69 63 65 | @mozilla.org/preferences-service |
c4600 | 3b 31 27 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 | ;1']................getService(C |
c4620 | 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 50 72 65 66 42 72 61 6e | omponents.interfaces.nsIPrefBran |
c4640 | 63 68 32 29 3b 0a 20 20 20 20 20 20 20 20 20 20 70 62 32 2e 72 65 6d 6f 76 65 4f 62 73 65 72 76 | ch2);...........pb2.removeObserv |
c4660 | 65 72 28 22 62 72 6f 77 73 65 72 2e 74 61 62 73 2e 63 6c 6f 73 65 42 75 74 74 6f 6e 73 22 2c 20 | er("browser.tabs.closeButtons",. |
c4680 | 74 68 69 73 2e 5f 70 72 65 66 4f 62 73 65 72 76 65 72 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 | this._prefObserver);............ |
c46a0 | 2f 2f 20 52 65 6c 65 61 73 65 20 74 69 6d 65 72 20 74 6f 20 61 76 6f 69 64 20 72 65 66 65 72 65 | //.Release.timer.to.avoid.refere |
c46c0 | 6e 63 65 20 63 79 63 6c 65 73 2e 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f | nce.cycles............if.(this._ |
c46e0 | 61 6e 69 6d 61 74 65 54 69 6d 65 72 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 | animateTimer).{.............this |
c4700 | 2e 5f 61 6e 69 6d 61 74 65 54 69 6d 65 72 2e 63 61 6e 63 65 6c 28 29 3b 0a 20 20 20 20 20 20 20 | ._animateTimer.cancel();........ |
c4720 | 20 20 20 20 20 74 68 69 73 2e 5f 61 6e 69 6d 61 74 65 54 69 6d 65 72 20 3d 20 6e 75 6c 6c 3b 0a | .....this._animateTimer.=.null;. |
c4740 | 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 5d 5d 3e 0a 20 20 20 20 20 20 3c 2f | ..........}.........]]>.......</ |
c4760 | 64 65 73 74 72 75 63 74 6f 72 3e 0a 0a 20 20 20 20 20 20 3c 66 69 65 6c 64 20 6e 61 6d 65 3d 22 | destructor>........<field.name=" |
c4780 | 6d 54 61 62 73 74 72 69 70 57 69 64 74 68 22 3e 30 3c 2f 66 69 65 6c 64 3e 0a 0a 20 20 20 20 20 | mTabstripWidth">0</field>....... |
c47a0 | 20 3c 66 69 65 6c 64 20 6e 61 6d 65 3d 22 6d 54 61 62 73 74 72 69 70 22 3e 0a 20 20 20 20 20 20 | .<field.name="mTabstrip">....... |
c47c0 | 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 41 6e 6f 6e 79 6d 6f 75 73 45 6c 65 6d 65 6e 74 42 79 | ..document.getAnonymousElementBy |
c47e0 | 41 74 74 72 69 62 75 74 65 28 74 68 69 73 2c 20 22 61 6e 6f 6e 69 64 22 2c 20 22 61 72 72 6f 77 | Attribute(this,."anonid",."arrow |
c4800 | 73 63 72 6f 6c 6c 62 6f 78 22 29 3b 0a 20 20 20 20 20 20 3c 2f 66 69 65 6c 64 3e 0a 0a 20 20 20 | scrollbox");.......</field>..... |
c4820 | 20 20 20 3c 66 69 65 6c 64 20 6e 61 6d 65 3d 22 6d 54 61 62 73 74 72 69 70 43 6c 6f 73 65 62 75 | ...<field.name="mTabstripClosebu |
c4840 | 74 74 6f 6e 22 3e 0a 20 20 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 41 6e 6f 6e 79 | tton">.........document.getAnony |
c4860 | 6d 6f 75 73 45 6c 65 6d 65 6e 74 42 79 41 74 74 72 69 62 75 74 65 28 74 68 69 73 2c 20 22 61 6e | mousElementByAttribute(this,."an |
c4880 | 6f 6e 69 64 22 2c 20 22 74 61 62 73 2d 63 6c 6f 73 65 62 75 74 74 6f 6e 22 29 3b 0a 20 20 20 20 | onid",."tabs-closebutton");..... |
c48a0 | 20 20 3c 2f 66 69 65 6c 64 3e 0a 0a 20 20 20 20 20 20 3c 66 69 65 6c 64 20 6e 61 6d 65 3d 22 5f | ..</field>........<field.name="_ |
c48c0 | 70 72 65 66 4f 62 73 65 72 76 65 72 22 3e 28 7b 0a 20 20 20 20 20 20 20 20 74 61 62 62 6f 78 3a | prefObserver">({.........tabbox: |
c48e0 | 20 74 68 69 73 2c 0a 20 20 0a 20 20 20 20 20 20 20 20 6f 62 73 65 72 76 65 3a 20 66 75 6e 63 74 | .this,............observe:.funct |
c4900 | 69 6f 6e 28 73 75 62 6a 65 63 74 2c 20 74 6f 70 69 63 2c 20 64 61 74 61 29 0a 20 20 20 20 20 20 | ion(subject,.topic,.data)....... |
c4920 | 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 6f 70 69 63 20 3d 3d 20 22 6e 73 50 72 | ..{...........if.(topic.==."nsPr |
c4940 | 65 66 3a 63 68 61 6e 67 65 64 22 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 73 77 69 74 63 | ef:changed").{.............switc |
c4960 | 68 20 28 64 61 74 61 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 22 62 72 6f | h.(data).{.............case."bro |
c4980 | 77 73 65 72 2e 74 61 62 73 2e 63 6c 6f 73 65 42 75 74 74 6f 6e 73 22 3a 0a 20 20 20 20 20 20 20 | wser.tabs.closeButtons":........ |
c49a0 | 20 20 20 20 20 20 20 73 75 62 6a 65 63 74 2e 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 28 43 6f | .......subject.QueryInterface(Co |
c49c0 | 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 50 72 65 66 42 72 61 6e 63 | mponents.interfaces.nsIPrefBranc |
c49e0 | 68 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 74 61 62 62 6f 78 2e 6d 43 | h);...............this.tabbox.mC |
c4a00 | 6c 6f 73 65 42 75 74 74 6f 6e 73 20 3d 20 73 75 62 6a 65 63 74 2e 67 65 74 49 6e 74 50 72 65 66 | loseButtons.=.subject.getIntPref |
c4a20 | 28 22 62 72 6f 77 73 65 72 2e 74 61 62 73 2e 63 6c 6f 73 65 42 75 74 74 6f 6e 73 22 29 3b 0a 20 | ("browser.tabs.closeButtons");.. |
c4a40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 74 61 62 62 6f 78 2e 61 64 6a 75 73 74 54 | .............this.tabbox.adjustT |
c4a60 | 61 62 73 74 72 69 70 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a | abstrip();...............break;. |
c4a80 | 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 | ............}...........}....... |
c4aa0 | 20 20 7d 2c 0a 20 20 0a 20 20 20 20 20 20 20 20 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 3a 20 | ..},............QueryInterface:. |
c4ac0 | 66 75 6e 63 74 69 6f 6e 28 61 49 49 44 29 0a 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 | function(aIID).........{........ |
c4ae0 | 20 20 20 69 66 20 28 61 49 49 44 2e 65 71 75 61 6c 73 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e | ...if.(aIID.equals(Components.in |
c4b00 | 74 65 72 66 61 63 65 73 2e 6e 73 49 4f 62 73 65 72 76 65 72 29 20 7c 7c 0a 20 20 20 20 20 20 20 | terfaces.nsIObserver).||........ |
c4b20 | 20 20 20 20 20 20 20 61 49 49 44 2e 65 71 75 61 6c 73 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e | .......aIID.equals(Components.in |
c4b40 | 74 65 72 66 61 63 65 73 2e 6e 73 49 53 75 70 70 6f 72 74 73 29 29 0a 20 20 20 20 20 20 20 20 20 | terfaces.nsISupports)).......... |
c4b60 | 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 3b 0a 20 20 20 20 20 20 20 20 20 20 74 68 72 6f 77 20 | ...return.this;...........throw. |
c4b80 | 43 6f 6d 70 6f 6e 65 6e 74 73 2e 72 65 73 75 6c 74 73 2e 4e 53 5f 4e 4f 49 4e 54 45 52 46 41 43 | Components.results.NS_NOINTERFAC |
c4ba0 | 45 3b 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 7d 29 3b 0a 20 20 20 20 20 20 3c | E;.........}.........});.......< |
c4bc0 | 2f 66 69 65 6c 64 3e 0a 20 20 20 20 20 20 3c 66 69 65 6c 64 20 6e 61 6d 65 3d 22 6d 54 61 62 4d | /field>.......<field.name="mTabM |
c4be0 | 69 6e 57 69 64 74 68 22 3e 31 30 30 3c 2f 66 69 65 6c 64 3e 0a 20 20 20 20 20 20 3c 66 69 65 6c | inWidth">100</field>.......<fiel |
c4c00 | 64 20 6e 61 6d 65 3d 22 6d 54 61 62 4d 61 78 57 69 64 74 68 22 3e 32 35 30 3c 2f 66 69 65 6c 64 | d.name="mTabMaxWidth">250</field |
c4c20 | 3e 0a 20 20 20 20 20 20 3c 66 69 65 6c 64 20 6e 61 6d 65 3d 22 6d 54 61 62 43 6c 69 70 57 69 64 | >.......<field.name="mTabClipWid |
c4c40 | 74 68 22 3e 31 34 30 3c 2f 66 69 65 6c 64 3e 0a 20 20 20 20 20 20 3c 66 69 65 6c 64 20 6e 61 6d | th">140</field>.......<field.nam |
c4c60 | 65 3d 22 6d 43 6c 6f 73 65 42 75 74 74 6f 6e 73 22 3e 31 3c 2f 66 69 65 6c 64 3e 0a 0a 20 20 20 | e="mCloseButtons">1</field>..... |
c4c80 | 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 61 64 6a 75 73 74 54 61 62 73 74 72 69 70 22 | ...<method.name="adjustTabstrip" |
c4ca0 | 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 | >.........<body><![CDATA[....... |
c4cc0 | 20 20 20 20 2f 2f 20 6d 6f 64 65 73 20 66 6f 72 20 74 61 62 73 74 72 69 70 0a 20 20 20 20 20 20 | ....//.modes.for.tabstrip....... |
c4ce0 | 20 20 20 20 2f 2f 20 30 20 2d 20 61 63 74 69 76 65 74 61 62 20 20 3d 20 63 6c 6f 73 65 20 62 75 | ....//.0.-.activetab..=.close.bu |
c4d00 | 74 74 6f 6e 20 6f 6e 20 61 63 74 69 76 65 20 74 61 62 20 6f 6e 6c 79 0a 20 20 20 20 20 20 20 20 | tton.on.active.tab.only......... |
c4d20 | 20 20 2f 2f 20 31 20 2d 20 61 6c 6c 74 61 62 73 20 20 20 20 3d 20 63 6c 6f 73 65 20 62 75 74 74 | ..//.1.-.alltabs....=.close.butt |
c4d40 | 6f 6e 73 20 6f 6e 20 61 6c 6c 20 74 61 62 73 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 32 20 2d | ons.on.all.tabs...........//.2.- |
c4d60 | 20 6e 6f 63 6c 6f 73 65 20 20 20 20 3d 20 6e 6f 20 63 6c 6f 73 65 20 62 75 74 74 6f 6e 73 20 61 | .noclose....=.no.close.buttons.a |
c4d80 | 74 20 61 6c 6c 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 33 20 2d 20 63 6c 6f 73 65 61 74 65 6e | t.all...........//.3.-.closeaten |
c4da0 | 64 20 3d 20 63 6c 6f 73 65 20 62 75 74 74 6f 6e 20 61 74 20 74 68 65 20 65 6e 64 20 6f 66 20 74 | d.=.close.button.at.the.end.of.t |
c4dc0 | 68 65 20 74 61 62 73 74 72 69 70 0a 20 20 20 20 20 20 20 20 20 20 73 77 69 74 63 68 20 28 74 68 | he.tabstrip...........switch.(th |
c4de0 | 69 73 2e 6d 43 6c 6f 73 65 42 75 74 74 6f 6e 73 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 63 61 | is.mCloseButtons).{...........ca |
c4e00 | 73 65 20 30 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 73 65 74 41 74 74 72 69 62 | se.0:.............this.setAttrib |
c4e20 | 75 74 65 28 22 63 6c 6f 73 65 62 75 74 74 6f 6e 73 22 2c 20 22 61 63 74 69 76 65 74 61 62 22 29 | ute("closebuttons",."activetab") |
c4e40 | 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 20 20 20 20 63 | ;.............break;...........c |
c4e60 | 61 73 65 20 31 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 77 69 64 74 68 20 3d 20 74 | ase.1:.............var.width.=.t |
c4e80 | 68 69 73 2e 66 69 72 73 74 43 68 69 6c 64 2e 62 6f 78 4f 62 6a 65 63 74 2e 77 69 64 74 68 3b 0a | his.firstChild.boxObject.width;. |
c4ea0 | 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 30 20 77 69 64 74 68 20 69 73 20 61 6e 20 69 6e 76 | ............//.0.width.is.an.inv |
c4ec0 | 61 6c 69 64 20 76 61 6c 75 65 20 61 6e 64 20 69 6e 64 69 63 61 74 65 73 0a 20 20 20 20 20 20 20 | alid.value.and.indicates........ |
c4ee0 | 20 20 20 20 20 2f 2f 20 61 6e 20 69 74 65 6d 20 77 69 74 68 6f 75 74 20 64 69 73 70 6c 61 79 2c | .....//.an.item.without.display, |
c4f00 | 20 73 6f 20 69 67 6e 6f 72 65 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 77 69 64 74 | .so.ignore..............if.(widt |
c4f20 | 68 20 3e 20 74 68 69 73 2e 6d 54 61 62 43 6c 69 70 57 69 64 74 68 20 7c 7c 20 77 69 64 74 68 20 | h.>.this.mTabClipWidth.||.width. |
c4f40 | 3d 3d 20 30 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 73 65 74 41 74 74 72 | ==.0)...............this.setAttr |
c4f60 | 69 62 75 74 65 28 22 63 6c 6f 73 65 62 75 74 74 6f 6e 73 22 2c 20 22 61 6c 6c 74 61 62 73 22 29 | ibute("closebuttons",."alltabs") |
c4f80 | 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ;.............else.............. |
c4fa0 | 20 74 68 69 73 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 63 6c 6f 73 65 62 75 74 74 6f 6e 73 | .this.setAttribute("closebuttons |
c4fc0 | 22 2c 20 22 61 63 74 69 76 65 74 61 62 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 | ",."activetab");.............bre |
c4fe0 | 61 6b 3b 0a 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 32 3a 0a 20 20 20 20 20 20 20 20 20 20 | ak;...........case.2:........... |
c5000 | 63 61 73 65 20 33 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 73 65 74 41 74 74 72 | case.3:.............this.setAttr |
c5020 | 69 62 75 74 65 28 22 63 6c 6f 73 65 62 75 74 74 6f 6e 73 22 2c 20 22 6e 6f 63 6c 6f 73 65 22 29 | ibute("closebuttons",."noclose") |
c5040 | 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 20 20 20 20 7d | ;.............break;...........} |
c5060 | 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 54 61 62 73 74 72 69 70 43 6c 6f 73 65 62 75 | ...........this.mTabstripClosebu |
c5080 | 74 74 6f 6e 2e 63 6f 6c 6c 61 70 73 65 64 20 3d 20 74 68 69 73 2e 6d 43 6c 6f 73 65 42 75 74 74 | tton.collapsed.=.this.mCloseButt |
c50a0 | 6f 6e 73 20 21 3d 20 33 3b 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 62 6f 64 79 3e 0a 20 20 20 | ons.!=.3;.........]]></body>.... |
c50c0 | 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 20 20 20 20 20 20 20 20 0a 20 20 20 20 20 20 3c 66 69 65 | ...</method>................<fie |
c50e0 | 6c 64 20 6e 61 6d 65 3d 22 5f 6d 50 72 65 66 73 22 3e 6e 75 6c 6c 3c 2f 66 69 65 6c 64 3e 0a 20 | ld.name="_mPrefs">null</field>.. |
c5100 | 20 20 20 20 20 3c 70 72 6f 70 65 72 74 79 20 6e 61 6d 65 3d 22 6d 50 72 65 66 73 22 20 72 65 61 | .....<property.name="mPrefs".rea |
c5120 | 64 6f 6e 6c 79 3d 22 74 72 75 65 22 3e 0a 20 20 20 20 20 20 20 20 3c 67 65 74 74 65 72 3e 0a 20 | donly="true">.........<getter>.. |
c5140 | 20 20 20 20 20 20 20 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 | .......<![CDATA[...........if.(! |
c5160 | 74 68 69 73 2e 5f 6d 50 72 65 66 73 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 | this._mPrefs).{.............this |
c5180 | 2e 5f 6d 50 72 65 66 73 20 3d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 43 6f 6d 70 6f 6e 65 | ._mPrefs.=...............Compone |
c51a0 | 6e 74 73 2e 63 6c 61 73 73 65 73 5b 27 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 70 72 65 66 65 72 | nts.classes['@mozilla.org/prefer |
c51c0 | 65 6e 63 65 73 2d 73 65 72 76 69 63 65 3b 31 27 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ences-service;1']............... |
c51e0 | 20 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 | .getService(Components.interface |
c5200 | 73 2e 6e 73 49 50 72 65 66 42 72 61 6e 63 68 32 29 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 | s.nsIPrefBranch2);...........}.. |
c5220 | 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 6d 50 72 65 66 73 3b 0a 20 20 | .........return.this._mPrefs;... |
c5240 | 20 20 20 20 20 20 5d 5d 3e 0a 20 20 20 20 20 20 20 20 3c 2f 67 65 74 74 65 72 3e 0a 20 20 20 20 | ......]]>.........</getter>..... |
c5260 | 20 20 3c 2f 70 72 6f 70 65 72 74 79 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d | ..</property>........<method.nam |
c5280 | 65 3d 22 5f 68 61 6e 64 6c 65 54 61 62 53 65 6c 65 63 74 22 3e 0a 20 20 20 20 20 20 20 20 3c 62 | e="_handleTabSelect">.........<b |
c52a0 | 6f 64 79 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 54 61 | ody><![CDATA[...........this.mTa |
c52c0 | 62 73 74 72 69 70 2e 65 6e 73 75 72 65 45 6c 65 6d 65 6e 74 49 73 56 69 73 69 62 6c 65 28 74 68 | bstrip.ensureElementIsVisible(th |
c52e0 | 69 73 2e 73 65 6c 65 63 74 65 64 49 74 65 6d 29 3b 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 62 | is.selectedItem);.........]]></b |
c5300 | 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 | ody>.......</method>........<met |
c5320 | 68 6f 64 20 6e 61 6d 65 3d 22 5f 66 69 6c 6c 54 72 61 69 6c 69 6e 67 47 61 70 22 3e 0a 20 20 20 | hod.name="_fillTrailingGap">.... |
c5340 | 20 20 20 20 20 3c 62 6f 64 79 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 74 | .....<body><![CDATA[...........t |
c5360 | 72 79 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 69 66 20 77 65 27 72 65 20 61 74 20 | ry.{.............//.if.we're.at. |
c5380 | 74 68 65 20 72 69 67 68 74 20 73 69 64 65 20 28 61 6e 64 20 6e 6f 74 20 74 68 65 20 6c 6f 67 69 | the.right.side.(and.not.the.logi |
c53a0 | 63 61 6c 20 65 6e 64 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 77 68 69 63 68 20 69 73 | cal.end,.............//.which.is |
c53c0 | 20 77 68 79 20 74 68 69 73 20 77 6f 72 6b 73 20 66 6f 72 20 62 6f 74 68 20 4c 54 52 20 61 6e 64 | .why.this.works.for.both.LTR.and |
c53e0 | 20 52 54 4c 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 6f 66 20 74 68 65 20 74 61 62 73 | .RTL).............//.of.the.tabs |
c5400 | 74 72 69 70 2c 20 77 65 20 6e 65 65 64 20 74 6f 20 65 6e 73 75 72 65 20 74 68 61 74 20 77 65 20 | trip,.we.need.to.ensure.that.we. |
c5420 | 73 74 61 79 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 63 6f 6d 70 6c 65 74 65 6c 79 20 73 | stay.............//.completely.s |
c5440 | 63 72 6f 6c 6c 65 64 20 74 6f 20 74 68 65 20 72 69 67 68 74 20 73 69 64 65 0a 20 20 20 20 20 20 | crolled.to.the.right.side....... |
c5460 | 20 20 20 20 20 20 76 61 72 20 74 61 62 53 74 72 69 70 20 3d 20 74 68 69 73 2e 6d 54 61 62 73 74 | ......var.tabStrip.=.this.mTabst |
c5480 | 72 69 70 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 73 63 72 6f 6c 6c 50 6f 73 20 3d | rip;.............var.scrollPos.= |
c54a0 | 20 7b 7d 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 61 62 53 74 72 69 70 2e 73 63 72 6f 6c 6c | .{};.............tabStrip.scroll |
c54c0 | 42 6f 78 4f 62 6a 65 63 74 2e 67 65 74 50 6f 73 69 74 69 6f 6e 28 73 63 72 6f 6c 6c 50 6f 73 2c | BoxObject.getPosition(scrollPos, |
c54e0 | 20 7b 7d 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 73 63 72 6f 6c 6c 65 64 53 69 | .{});.............var.scrolledSi |
c5500 | 7a 65 20 3d 20 7b 7d 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 61 62 53 74 72 69 70 2e 73 63 | ze.=.{};.............tabStrip.sc |
c5520 | 72 6f 6c 6c 42 6f 78 4f 62 6a 65 63 74 2e 67 65 74 53 63 72 6f 6c 6c 65 64 53 69 7a 65 28 73 63 | rollBoxObject.getScrolledSize(sc |
c5540 | 72 6f 6c 6c 65 64 53 69 7a 65 2c 20 7b 7d 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 | rolledSize,.{});..............if |
c5560 | 20 28 73 63 72 6f 6c 6c 50 6f 73 2e 76 61 6c 75 65 20 2b 20 74 61 62 53 74 72 69 70 2e 62 6f 78 | .(scrollPos.value.+.tabStrip.box |
c5580 | 4f 62 6a 65 63 74 2e 77 69 64 74 68 20 3e 3d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | Object.width.>=................. |
c55a0 | 73 63 72 6f 6c 6c 65 64 53 69 7a 65 2e 76 61 6c 75 65 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 | scrolledSize.value).{........... |
c55c0 | 20 20 20 20 74 61 62 53 74 72 69 70 2e 73 63 72 6f 6c 6c 42 79 50 69 78 65 6c 73 28 2d 31 29 3b | ....tabStrip.scrollByPixels(-1); |
c55e0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 7d 20 63 61 74 63 68 | .............}...........}.catch |
c5600 | 20 28 65 29 20 7b 7d 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 | .(e).{}.........]]></body>...... |
c5620 | 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 | .</method>........<method.name=" |
c5640 | 68 61 6e 64 6c 65 45 76 65 6e 74 22 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 | handleEvent">.........<parameter |
c5660 | 20 6e 61 6d 65 3d 22 61 45 76 65 6e 74 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 3c | .name="aEvent"/>.........<body>< |
c5680 | 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 73 77 69 74 63 68 20 28 61 45 76 65 6e | ![CDATA[...........switch.(aEven |
c56a0 | 74 2e 74 79 70 65 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 22 72 65 73 69 | t.type).{.............case."resi |
c56c0 | 7a 65 22 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 77 69 64 74 68 20 3d 20 74 | ze":...............var.width.=.t |
c56e0 | 68 69 73 2e 6d 54 61 62 73 74 72 69 70 2e 62 6f 78 4f 62 6a 65 63 74 2e 77 69 64 74 68 3b 0a 20 | his.mTabstrip.boxObject.width;.. |
c5700 | 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 77 69 64 74 68 20 21 3d 20 74 68 69 73 2e 6d | .............if.(width.!=.this.m |
c5720 | 54 61 62 73 74 72 69 70 57 69 64 74 68 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | TabstripWidth).{................ |
c5740 | 20 74 68 69 73 2e 61 64 6a 75 73 74 54 61 62 73 74 72 69 70 28 29 3b 0a 20 20 20 20 20 20 20 20 | .this.adjustTabstrip();......... |
c5760 | 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 66 69 6c 6c 54 72 61 69 6c 69 6e 67 47 61 70 28 29 3b | ........this._fillTrailingGap(); |
c5780 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 68 61 6e 64 6c 65 54 61 62 | .................this._handleTab |
c57a0 | 53 65 6c 65 63 74 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d | Select();.................this.m |
c57c0 | 54 61 62 73 74 72 69 70 57 69 64 74 68 20 3d 20 77 69 64 74 68 3b 0a 20 20 20 20 20 20 20 20 20 | TabstripWidth.=.width;.......... |
c57e0 | 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 | .....}...............break;..... |
c5800 | 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 | ......}.........]]></body>...... |
c5820 | 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 66 69 65 6c 64 20 6e 61 6d 65 3d 22 6d | .</method>........<field.name="m |
c5840 | 41 6c 6c 54 61 62 73 50 6f 70 75 70 22 3e 0a 20 20 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e | AllTabsPopup">.........document. |
c5860 | 67 65 74 41 6e 6f 6e 79 6d 6f 75 73 45 6c 65 6d 65 6e 74 42 79 41 74 74 72 69 62 75 74 65 28 74 | getAnonymousElementByAttribute(t |
c5880 | 68 69 73 2c 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | his,............................ |
c58a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 61 6e 6f 6e 69 64 22 2c 20 | ......................"anonid",. |
c58c0 | 22 61 6c 6c 74 61 62 73 2d 70 6f 70 75 70 22 29 3b 0a 20 20 20 20 20 20 3c 2f 66 69 65 6c 64 3e | "alltabs-popup");.......</field> |
c58e0 | 0a 0a 20 20 20 20 20 20 3c 66 69 65 6c 64 20 6e 61 6d 65 3d 22 6d 41 6c 6c 54 61 62 73 42 6f 78 | ........<field.name="mAllTabsBox |
c5900 | 41 6e 69 6d 61 74 65 22 3e 0a 20 20 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 41 6e | Animate">.........document.getAn |
c5920 | 6f 6e 79 6d 6f 75 73 45 6c 65 6d 65 6e 74 42 79 41 74 74 72 69 62 75 74 65 28 74 68 69 73 2c 20 | onymousElementByAttribute(this,. |
c5940 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
c5960 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 61 6e 6f 6e 69 64 22 2c 0a 20 20 20 20 20 | ................."anonid",...... |
c5980 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
c59a0 | 20 20 20 20 20 20 20 20 20 20 20 22 61 6c 6c 74 61 62 73 2d 62 6f 78 2d 61 6e 69 6d 61 74 65 22 | ..........."alltabs-box-animate" |
c59c0 | 29 3b 0a 20 20 20 20 20 20 3c 2f 66 69 65 6c 64 3e 0a 0a 0a 20 20 20 20 20 20 3c 66 69 65 6c 64 | );.......</field>.........<field |
c59e0 | 20 6e 61 6d 65 3d 22 5f 61 6e 69 6d 61 74 65 54 69 6d 65 72 22 3e 6e 75 6c 6c 3c 2f 66 69 65 6c | .name="_animateTimer">null</fiel |
c5a00 | 64 3e 0a 20 20 20 20 20 20 3c 66 69 65 6c 64 20 6e 61 6d 65 3d 22 5f 61 6e 69 6d 61 74 65 53 74 | d>.......<field.name="_animateSt |
c5a20 | 65 70 22 3e 2d 31 3c 2f 66 69 65 6c 64 3e 0a 20 20 20 20 20 20 3c 66 69 65 6c 64 20 6e 61 6d 65 | ep">-1</field>.......<field.name |
c5a40 | 3d 22 5f 61 6e 69 6d 61 74 65 44 65 6c 61 79 22 3e 32 35 3c 2f 66 69 65 6c 64 3e 0a 20 20 20 20 | ="_animateDelay">25</field>..... |
c5a60 | 20 20 3c 66 69 65 6c 64 20 6e 61 6d 65 3d 22 5f 61 6e 69 6d 61 74 65 50 65 72 63 65 6e 74 73 22 | ..<field.name="_animatePercents" |
c5a80 | 3e 0a 20 20 20 20 20 20 20 5b 31 2e 30 30 2c 20 30 2e 38 35 2c 20 30 2e 38 30 2c 20 30 2e 37 35 | >........[1.00,.0.85,.0.80,.0.75 |
c5aa0 | 2c 20 30 2e 37 31 2c 20 30 2e 36 38 2c 20 30 2e 36 35 2c 20 30 2e 36 32 2c 20 30 2e 35 39 2c 20 | ,.0.71,.0.68,.0.65,.0.62,.0.59,. |
c5ac0 | 30 2e 35 37 2c 0a 20 20 20 20 20 20 20 20 30 2e 35 34 2c 20 30 2e 35 32 2c 20 30 2e 35 30 2c 20 | 0.57,.........0.54,.0.52,.0.50,. |
c5ae0 | 30 2e 34 37 2c 20 30 2e 34 35 2c 20 30 2e 34 34 2c 20 30 2e 34 32 2c 20 30 2e 34 30 2c 20 30 2e | 0.47,.0.45,.0.44,.0.42,.0.40,.0. |
c5b00 | 33 38 2c 20 30 2e 33 37 2c 0a 20 20 20 20 20 20 20 20 30 2e 33 35 2c 20 30 2e 33 34 2c 20 30 2e | 38,.0.37,.........0.35,.0.34,.0. |
c5b20 | 33 32 2c 20 30 2e 33 31 2c 20 30 2e 33 30 2c 20 30 2e 32 39 2c 20 30 2e 32 38 2c 20 30 2e 32 37 | 32,.0.31,.0.30,.0.29,.0.28,.0.27 |
c5b40 | 2c 20 30 2e 32 36 2c 20 30 2e 32 35 2c 0a 20 20 20 20 20 20 20 20 30 2e 32 34 2c 20 30 2e 32 33 | ,.0.26,.0.25,.........0.24,.0.23 |
c5b60 | 2c 20 30 2e 32 33 2c 20 30 2e 32 32 2c 20 30 2e 32 32 2c 20 30 2e 32 31 2c 20 30 2e 32 31 2c 20 | ,.0.23,.0.22,.0.22,.0.21,.0.21,. |
c5b80 | 30 2e 32 31 2c 20 30 2e 32 30 2c 20 30 2e 32 30 2c 0a 20 20 20 20 20 20 20 20 30 2e 32 30 2c 20 | 0.21,.0.20,.0.20,.........0.20,. |
c5ba0 | 30 2e 32 30 2c 20 30 2e 32 30 2c 20 30 2e 32 30 2c 20 30 2e 32 30 2c 20 30 2e 32 30 2c 20 30 2e | 0.20,.0.20,.0.20,.0.20,.0.20,.0. |
c5bc0 | 31 39 2c 20 30 2e 31 39 2c 20 30 2e 31 39 2c 20 30 2e 31 38 2c 0a 20 20 20 20 20 20 20 20 30 2e | 19,.0.19,.0.19,.0.18,.........0. |
c5be0 | 31 38 2c 20 30 2e 31 37 2c 20 30 2e 31 37 2c 20 30 2e 31 36 2c 20 30 2e 31 35 2c 20 30 2e 31 34 | 18,.0.17,.0.17,.0.16,.0.15,.0.14 |
c5c00 | 2c 20 30 2e 31 33 2c 20 30 2e 31 31 2c 20 30 2e 30 39 2c 20 30 2e 30 36 5d 0a 20 20 20 20 20 20 | ,.0.13,.0.11,.0.09,.0.06]....... |
c5c20 | 3c 2f 66 69 65 6c 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 5f 73 | </field>........<method.name="_s |
c5c40 | 74 6f 70 41 6e 69 6d 61 74 69 6f 6e 22 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 3c 21 5b | topAnimation">.........<body><![ |
c5c60 | 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 61 6e 69 6d 61 | CDATA[...........if.(this._anima |
c5c80 | 74 65 53 74 65 70 20 21 3d 20 2d 31 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 | teStep.!=.-1).{.............if.( |
c5ca0 | 74 68 69 73 2e 5f 61 6e 69 6d 61 74 65 54 69 6d 65 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 | this._animateTimer)............. |
c5cc0 | 20 20 74 68 69 73 2e 5f 61 6e 69 6d 61 74 65 54 69 6d 65 72 2e 63 61 6e 63 65 6c 28 29 3b 0a 0a | ..this._animateTimer.cancel();.. |
c5ce0 | 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 61 6e 69 6d 61 74 65 53 74 65 70 20 3d 20 | ............this._animateStep.=. |
c5d00 | 2d 31 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 41 6c 6c 54 61 62 73 42 6f 78 | -1;.............this.mAllTabsBox |
c5d20 | 41 6e 69 6d 61 74 65 2e 73 74 79 6c 65 2e 6f 70 61 63 69 74 79 20 3d 20 30 2e 30 3b 0a 20 20 20 | Animate.style.opacity.=.0.0;.... |
c5d40 | 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 | .......}.........]]></body>..... |
c5d60 | 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 20 20 20 20 20 20 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 | ..</method>..............<method |
c5d80 | 20 6e 61 6d 65 3d 22 5f 6e 6f 74 69 66 79 42 61 63 6b 67 72 6f 75 6e 64 54 61 62 22 3e 0a 20 20 | .name="_notifyBackgroundTab">... |
c5da0 | 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 54 61 62 22 2f 3e 0a 20 | ......<parameter.name="aTab"/>.. |
c5dc0 | 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 | .......<body><![CDATA[.......... |
c5de0 | 20 76 61 72 20 74 73 62 6f 20 3d 20 74 68 69 73 2e 6d 54 61 62 73 74 72 69 70 2e 73 63 72 6f 6c | .var.tsbo.=.this.mTabstrip.scrol |
c5e00 | 6c 42 6f 78 4f 62 6a 65 63 74 3b 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 74 73 62 6f 53 74 | lBoxObject;...........var.tsboSt |
c5e20 | 61 72 74 20 3d 20 74 73 62 6f 2e 73 63 72 65 65 6e 58 3b 0a 20 20 20 20 20 20 20 20 20 20 76 61 | art.=.tsbo.screenX;...........va |
c5e40 | 72 20 74 73 62 6f 45 6e 64 20 3d 20 74 73 62 6f 53 74 61 72 74 20 2b 20 74 73 62 6f 2e 77 69 64 | r.tsboEnd.=.tsboStart.+.tsbo.wid |
c5e60 | 74 68 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 63 74 62 6f 20 3d 20 61 54 61 62 2e 62 | th;............var.ctbo.=.aTab.b |
c5e80 | 6f 78 4f 62 6a 65 63 74 3b 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 63 74 62 6f 53 74 61 72 | oxObject;...........var.ctboStar |
c5ea0 | 74 20 3d 20 63 74 62 6f 2e 73 63 72 65 65 6e 58 3b 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 | t.=.ctbo.screenX;...........var. |
c5ec0 | 63 74 62 6f 45 6e 64 20 3d 20 63 74 62 6f 53 74 61 72 74 20 2b 20 63 74 62 6f 2e 77 69 64 74 68 | ctboEnd.=.ctboStart.+.ctbo.width |
c5ee0 | 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 49 73 20 74 68 65 20 6e 65 77 20 74 61 62 20 61 | ;............//.Is.the.new.tab.a |
c5f00 | 6c 72 65 61 64 79 20 63 6f 6d 70 6c 65 74 65 6c 79 20 76 69 73 69 62 6c 65 3f 0a 20 20 20 20 20 | lready.completely.visible?...... |
c5f20 | 20 20 20 20 20 69 66 20 28 74 73 62 6f 53 74 61 72 74 20 3c 3d 20 63 74 62 6f 53 74 61 72 74 20 | .....if.(tsboStart.<=.ctboStart. |
c5f40 | 26 26 20 63 74 62 6f 45 6e 64 20 3c 3d 20 74 73 62 6f 45 6e 64 29 0a 20 20 20 20 20 20 20 20 20 | &&.ctboEnd.<=.tsboEnd).......... |
c5f60 | 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 6d | ...return;............if.(this.m |
c5f80 | 54 61 62 73 74 72 69 70 2e 73 6d 6f 6f 74 68 53 63 72 6f 6c 6c 29 20 7b 0a 20 20 20 20 20 20 20 | Tabstrip.smoothScroll).{........ |
c5fa0 | 20 20 20 20 20 76 61 72 20 73 65 6c 53 74 61 72 74 20 3d 20 74 68 69 73 2e 73 65 6c 65 63 74 65 | .....var.selStart.=.this.selecte |
c5fc0 | 64 49 74 65 6d 2e 62 6f 78 4f 62 6a 65 63 74 2e 73 63 72 65 65 6e 58 3b 0a 20 20 20 20 20 20 20 | dItem.boxObject.screenX;........ |
c5fe0 | 20 20 20 20 20 76 61 72 20 73 65 6c 45 6e 64 20 3d 20 73 65 6c 53 74 61 72 74 20 2b 20 74 68 69 | .....var.selEnd.=.selStart.+.thi |
c6000 | 73 2e 73 65 6c 65 63 74 65 64 49 74 65 6d 2e 62 6f 78 4f 62 6a 65 63 74 2e 77 69 64 74 68 3b 0a | s.selectedItem.boxObject.width;. |
c6020 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 43 61 6e 20 77 65 20 6d 61 6b 65 20 62 6f 74 68 | .............//.Can.we.make.both |
c6040 | 20 74 68 65 20 6e 65 77 20 74 61 62 20 61 6e 64 20 74 68 65 20 73 65 6c 65 63 74 65 64 20 74 61 | .the.new.tab.and.the.selected.ta |
c6060 | 62 20 63 6f 6d 70 6c 65 74 65 6c 79 20 76 69 73 69 62 6c 65 3f 0a 20 20 20 20 20 20 20 20 20 20 | b.completely.visible?........... |
c6080 | 20 20 69 66 20 28 4d 61 74 68 2e 6d 61 78 28 63 74 62 6f 45 6e 64 20 2d 20 73 65 6c 53 74 61 72 | ..if.(Math.max(ctboEnd.-.selStar |
c60a0 | 74 2c 20 73 65 6c 45 6e 64 20 2d 20 63 74 62 6f 53 74 61 72 74 29 20 3c 3d 20 74 73 62 6f 2e 77 | t,.selEnd.-.ctboStart).<=.tsbo.w |
c60c0 | 69 64 74 68 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 54 61 62 73 | idth).{...............this.mTabs |
c60e0 | 74 72 69 70 2e 65 6e 73 75 72 65 45 6c 65 6d 65 6e 74 49 73 56 69 73 69 62 6c 65 28 61 54 61 62 | trip.ensureElementIsVisible(aTab |
c6100 | 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 20 20 20 20 20 | );...............return;........ |
c6120 | 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 54 61 62 73 74 72 | .....}..............this.mTabstr |
c6140 | 69 70 2e 5f 73 6d 6f 6f 74 68 53 63 72 6f 6c 6c 42 79 50 69 78 65 6c 73 28 74 68 69 73 2e 6d 54 | ip._smoothScrollByPixels(this.mT |
c6160 | 61 62 73 74 72 69 70 2e 5f 69 73 4c 54 52 53 63 72 6f 6c 6c 62 6f 78 20 3f 0a 20 20 20 20 20 20 | abstrip._isLTRScrollbox.?....... |
c6180 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
c61a0 | 20 20 20 20 20 20 20 20 20 20 20 73 65 6c 53 74 61 72 74 20 2d 20 74 73 62 6f 53 74 61 72 74 20 | ...........selStart.-.tsboStart. |
c61c0 | 3a 20 73 65 6c 45 6e 64 20 2d 20 74 73 62 6f 45 6e 64 29 3b 0a 20 20 20 20 20 20 20 20 20 20 7d | :.selEnd.-.tsboEnd);...........} |
c61e0 | 0a 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 73 74 61 72 74 20 74 68 65 20 66 6c 61 73 68 20 74 | ............//.start.the.flash.t |
c6200 | 69 6d 65 72 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 61 6e 69 6d 61 74 65 53 74 65 70 | imer...........this._animateStep |
c6220 | 20 3d 20 30 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 74 68 69 73 2e 5f 61 6e 69 6d | .=.0;............if.(!this._anim |
c6240 | 61 74 65 54 69 6d 65 72 29 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 61 6e 69 | ateTimer)..............this._ani |
c6260 | 6d 61 74 65 54 69 6d 65 72 20 3d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 43 6f 6d 70 6f 6e | mateTimer.=...............Compon |
c6280 | 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 74 69 6d 65 72 | ents.classes["@mozilla.org/timer |
c62a0 | 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 63 72 | ;1"]..........................cr |
c62c0 | 65 61 74 65 49 6e 73 74 61 6e 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 | eateInstance(Components.interfac |
c62e0 | 65 73 2e 6e 73 49 54 69 6d 65 72 29 3b 0a 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 0a 20 20 20 | es.nsITimer);...........else.... |
c6300 | 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 61 6e 69 6d 61 74 65 54 69 6d 65 72 2e 63 61 6e | ..........this._animateTimer.can |
c6320 | 63 65 6c 28 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 61 6e 69 6d 61 74 65 54 | cel();............this._animateT |
c6340 | 69 6d 65 72 2e 69 6e 69 74 57 69 74 68 43 61 6c 6c 62 61 63 6b 28 74 68 69 73 2c 20 74 68 69 73 | imer.initWithCallback(this,.this |
c6360 | 2e 5f 61 6e 69 6d 61 74 65 44 65 6c 61 79 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ._animateDelay,................. |
c6380 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 | ..............................th |
c63a0 | 69 73 2e 5f 61 6e 69 6d 61 74 65 54 69 6d 65 72 2e 54 59 50 45 5f 52 45 50 45 41 54 49 4e 47 5f | is._animateTimer.TYPE_REPEATING_ |
c63c0 | 53 4c 41 43 4b 29 3b 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 | SLACK);.........]]></body>...... |
c63e0 | 20 3c 2f 6d 65 74 68 6f 64 3e 0a 20 20 20 20 20 20 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 | .</method>..............<method. |
c6400 | 6e 61 6d 65 3d 22 6e 6f 74 69 66 79 22 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 | name="notify">.........<paramete |
c6420 | 72 20 6e 61 6d 65 3d 22 61 54 69 6d 65 72 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e | r.name="aTimer"/>.........<body> |
c6440 | 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 64 6f 63 75 6d 65 6e | <![CDATA[...........if.(!documen |
c6460 | 74 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 61 54 69 6d 65 72 2e 63 61 6e 63 65 6c 28 29 3b 0a | t).............aTimer.cancel();. |
c6480 | 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 70 65 72 63 65 6e 74 20 3d 20 74 68 69 73 2e 5f 61 | ...........var.percent.=.this._a |
c64a0 | 6e 69 6d 61 74 65 50 65 72 63 65 6e 74 73 5b 74 68 69 73 2e 5f 61 6e 69 6d 61 74 65 53 74 65 70 | nimatePercents[this._animateStep |
c64c0 | 5d 3b 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 41 6c 6c 54 61 62 73 42 6f 78 41 6e 69 | ];...........this.mAllTabsBoxAni |
c64e0 | 6d 61 74 65 2e 73 74 79 6c 65 2e 6f 70 61 63 69 74 79 20 3d 20 70 65 72 63 65 6e 74 3b 0a 0a 20 | mate.style.opacity.=.percent;... |
c6500 | 20 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 61 6e 69 6d 61 74 65 53 74 65 70 20 3c | .........if.(this._animateStep.< |
c6520 | 20 28 74 68 69 73 2e 5f 61 6e 69 6d 61 74 65 50 65 72 63 65 6e 74 73 2e 6c 65 6e 67 74 68 20 2d | .(this._animatePercents.length.- |
c6540 | 20 31 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 61 6e 69 6d 61 74 65 53 74 | .1)).............this._animateSt |
c6560 | 65 70 2b 2b 3b 0a 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 20 20 20 20 20 | ep++;...........else............ |
c6580 | 20 74 68 69 73 2e 5f 73 74 6f 70 41 6e 69 6d 61 74 69 6f 6e 28 29 3b 0a 20 20 20 20 20 20 20 20 | .this._stopAnimation();......... |
c65a0 | 5d 5d 3e 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 20 20 20 20 3c | ]]></body>.......</method>.....< |
c65c0 | 2f 69 6d 70 6c 65 6d 65 6e 74 61 74 69 6f 6e 3e 0a 20 20 20 20 3c 68 61 6e 64 6c 65 72 73 3e 0a | /implementation>.....<handlers>. |
c65e0 | 20 20 20 20 20 20 3c 68 61 6e 64 6c 65 72 20 65 76 65 6e 74 3d 22 54 61 62 53 65 6c 65 63 74 22 | ......<handler.event="TabSelect" |
c6600 | 20 61 63 74 69 6f 6e 3d 22 74 68 69 73 2e 5f 68 61 6e 64 6c 65 54 61 62 53 65 6c 65 63 74 28 29 | .action="this._handleTabSelect() |
c6620 | 3b 22 2f 3e 0a 20 20 20 20 3c 2f 68 61 6e 64 6c 65 72 73 3e 0a 20 20 3c 2f 62 69 6e 64 69 6e 67 | ;"/>.....</handlers>...</binding |
c6640 | 3e 0a 0a 20 20 3c 21 2d 2d 20 61 6c 6c 74 61 62 73 2d 70 6f 70 75 70 20 62 69 6e 64 69 6e 67 0a | >....<!--.alltabs-popup.binding. |
c6660 | 20 20 20 20 20 20 20 54 68 69 73 20 62 69 6e 64 69 6e 67 20 72 65 6c 69 65 73 20 6f 6e 20 74 68 | .......This.binding.relies.on.th |
c6680 | 65 20 73 74 72 75 63 74 75 72 65 20 6f 66 20 74 68 65 20 74 61 62 62 72 6f 77 73 65 72 20 62 69 | e.structure.of.the.tabbrowser.bi |
c66a0 | 6e 64 69 6e 67 2e 0a 20 20 20 20 20 20 20 54 68 65 72 65 66 6f 72 65 20 69 74 20 73 68 6f 75 6c | nding.........Therefore.it.shoul |
c66c0 | 64 20 6f 6e 6c 79 20 62 65 20 75 73 65 64 20 61 73 20 61 20 63 68 69 6c 64 20 6f 66 20 74 68 65 | d.only.be.used.as.a.child.of.the |
c66e0 | 20 74 61 62 73 20 65 6c 65 6d 65 6e 74 2e 0a 20 20 20 20 20 20 20 54 68 69 73 20 62 69 6e 64 69 | .tabs.element.........This.bindi |
c6700 | 6e 67 20 69 73 20 65 78 70 6f 73 65 64 20 61 73 20 61 20 70 73 65 75 64 6f 2d 70 75 62 6c 69 63 | ng.is.exposed.as.a.pseudo-public |
c6720 | 2d 41 50 49 20 73 6f 20 74 68 65 6d 65 73 20 63 61 6e 20 63 75 73 74 6f 6d 69 7a 65 0a 20 20 20 | -API.so.themes.can.customize.... |
c6740 | 20 20 20 20 74 68 65 20 74 61 62 62 61 72 20 61 70 70 65 61 72 61 6e 63 65 20 77 69 74 68 6f 75 | ....the.tabbar.appearance.withou |
c6760 | 74 20 68 61 76 69 6e 67 20 74 6f 20 62 65 20 73 63 72 69 70 74 61 62 6c 65 0a 20 20 20 20 20 20 | t.having.to.be.scriptable....... |
c6780 | 20 28 73 65 65 20 67 6c 6f 62 61 6c 42 69 6e 64 69 6e 67 73 2e 78 6d 6c 20 69 6e 20 50 69 6e 73 | .(see.globalBindings.xml.in.Pins |
c67a0 | 74 72 69 70 65 20 66 6f 72 20 65 78 61 6d 70 6c 65 29 2e 0a 20 20 2d 2d 3e 0a 0a 20 20 3c 62 69 | tripe.for.example)....-->....<bi |
c67c0 | 6e 64 69 6e 67 20 69 64 3d 22 74 61 62 62 72 6f 77 73 65 72 2d 61 6c 6c 74 61 62 73 2d 70 6f 70 | nding.id="tabbrowser-alltabs-pop |
c67e0 | 75 70 22 0a 20 20 20 20 20 20 20 20 20 20 20 65 78 74 65 6e 64 73 3d 22 63 68 72 6f 6d 65 3a 2f | up"............extends="chrome:/ |
c6800 | 2f 67 6c 6f 62 61 6c 2f 63 6f 6e 74 65 6e 74 2f 62 69 6e 64 69 6e 67 73 2f 70 6f 70 75 70 2e 78 | /global/content/bindings/popup.x |
c6820 | 6d 6c 23 70 6f 70 75 70 22 3e 0a 20 20 20 20 3c 69 6d 70 6c 65 6d 65 6e 74 61 74 69 6f 6e 20 69 | ml#popup">.....<implementation.i |
c6840 | 6d 70 6c 65 6d 65 6e 74 73 3d 22 6e 73 49 44 4f 4d 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 22 3e | mplements="nsIDOMEventListener"> |
c6860 | 0a 20 20 20 20 20 20 3c 66 69 65 6c 64 20 6e 61 6d 65 3d 22 5f 78 75 6c 57 69 6e 64 6f 77 22 3e | .......<field.name="_xulWindow"> |
c6880 | 0a 20 20 20 20 20 20 20 20 6e 75 6c 6c 0a 20 20 20 20 20 20 3c 2f 66 69 65 6c 64 3e 0a 0a 20 20 | .........null.......</field>.... |
c68a0 | 20 20 20 20 3c 63 6f 6e 73 74 72 75 63 74 6f 72 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 | ....<constructor><![CDATA[...... |
c68c0 | 20 20 20 2f 2f 20 57 65 20 63 61 6e 6e 6f 74 20 63 61 63 68 65 20 74 68 65 20 58 55 4c 42 72 6f | ...//.We.cannot.cache.the.XULBro |
c68e0 | 77 73 65 72 57 69 6e 64 6f 77 20 6f 62 6a 65 63 74 20 69 74 73 65 6c 66 20 73 69 6e 63 65 20 69 | wserWindow.object.itself.since.i |
c6900 | 74 20 6d 69 67 68 74 0a 20 20 20 20 20 20 20 20 2f 2f 20 62 65 20 73 65 74 20 61 66 74 65 72 20 | t.might.........//.be.set.after. |
c6920 | 74 68 69 73 20 62 69 6e 64 69 6e 67 20 69 73 20 63 6f 6e 73 74 72 75 63 74 65 64 2e 0a 20 20 20 | this.binding.is.constructed..... |
c6940 | 20 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 78 75 6c 57 69 | .....try.{...........this._xulWi |
c6960 | 6e 64 6f 77 20 3d 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 77 69 6e 64 6f 77 2e 51 75 65 72 79 | ndow.=..............window.Query |
c6980 | 49 6e 74 65 72 66 61 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e | Interface(Components.interfaces. |
c69a0 | 6e 73 49 49 6e 74 65 72 66 61 63 65 52 65 71 75 65 73 74 6f 72 29 0a 20 20 20 20 20 20 20 20 20 | nsIInterfaceRequestor).......... |
c69c0 | 20 20 20 20 20 20 20 20 20 2e 67 65 74 49 6e 74 65 72 66 61 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 | ..........getInterface(Component |
c69e0 | 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 57 65 62 4e 61 76 69 67 61 74 69 6f 6e 29 0a 20 | s.interfaces.nsIWebNavigation).. |
c6a00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 | ..................QueryInterface |
c6a20 | 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 44 6f 63 53 68 65 | (Components.interfaces.nsIDocShe |
c6a40 | 6c 6c 54 72 65 65 49 74 65 6d 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 74 | llTreeItem)....................t |
c6a60 | 72 65 65 4f 77 6e 65 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 51 75 65 72 | reeOwner....................Quer |
c6a80 | 79 49 6e 74 65 72 66 61 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 | yInterface(Components.interfaces |
c6aa0 | 2e 6e 73 49 49 6e 74 65 72 66 61 63 65 52 65 71 75 65 73 74 6f 72 29 0a 20 20 20 20 20 20 20 20 | .nsIInterfaceRequestor)......... |
c6ac0 | 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 49 6e 74 65 72 66 61 63 65 28 43 6f 6d 70 6f 6e 65 6e | ...........getInterface(Componen |
c6ae0 | 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 58 55 4c 57 69 6e 64 6f 77 29 3b 0a 20 20 20 | ts.interfaces.nsIXULWindow);.... |
c6b00 | 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 63 61 74 63 68 28 65 78 29 20 7b 20 7d 0a 20 20 20 | .....}.........catch(ex).{.}.... |
c6b20 | 20 20 20 5d 5d 3e 3c 2f 63 6f 6e 73 74 72 75 63 74 6f 72 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 | ...]]></constructor>........<met |
c6b40 | 68 6f 64 20 6e 61 6d 65 3d 22 5f 6d 65 6e 75 49 74 65 6d 4f 6e 43 6f 6d 6d 61 6e 64 22 3e 0a 20 | hod.name="_menuItemOnCommand">.. |
c6b60 | 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 45 76 65 6e 74 22 2f | .......<parameter.name="aEvent"/ |
c6b80 | 3e 0a 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 | >..........<body><![CDATA[...... |
c6ba0 | 20 20 20 20 20 76 61 72 20 74 61 62 63 6f 6e 74 61 69 6e 65 72 20 3d 20 64 6f 63 75 6d 65 6e 74 | .....var.tabcontainer.=.document |
c6bc0 | 2e 67 65 74 42 69 6e 64 69 6e 67 50 61 72 65 6e 74 28 74 68 69 73 29 3b 0a 20 20 20 20 20 20 20 | .getBindingParent(this);........ |
c6be0 | 20 20 20 74 61 62 63 6f 6e 74 61 69 6e 65 72 2e 73 65 6c 65 63 74 65 64 49 74 65 6d 20 3d 20 61 | ...tabcontainer.selectedItem.=.a |
c6c00 | 45 76 65 6e 74 2e 74 61 72 67 65 74 2e 74 61 62 3b 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 62 | Event.target.tab;.........]]></b |
c6c20 | 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 | ody>.......</method>........<met |
c6c40 | 68 6f 64 20 6e 61 6d 65 3d 22 5f 74 61 62 4f 6e 41 74 74 72 4d 6f 64 69 66 69 65 64 22 3e 0a 20 | hod.name="_tabOnAttrModified">.. |
c6c60 | 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 45 76 65 6e 74 22 2f | .......<parameter.name="aEvent"/ |
c6c80 | 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 | >.........<body><![CDATA[....... |
c6ca0 | 20 20 20 20 76 61 72 20 6d 65 6e 75 49 74 65 6d 20 3d 20 61 45 76 65 6e 74 2e 74 61 72 67 65 74 | ....var.menuItem.=.aEvent.target |
c6cc0 | 2e 6d 43 6f 72 72 65 73 70 6f 6e 64 69 6e 67 4d 65 6e 75 69 74 65 6d 3b 0a 20 20 20 20 20 20 20 | .mCorrespondingMenuitem;........ |
c6ce0 | 20 20 20 69 66 20 28 6d 65 6e 75 49 74 65 6d 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 | ...if.(menuItem).{.............v |
c6d00 | 61 72 20 61 74 74 72 4e 61 6d 65 20 3d 20 61 45 76 65 6e 74 2e 61 74 74 72 4e 61 6d 65 3b 0a 20 | ar.attrName.=.aEvent.attrName;.. |
c6d20 | 20 20 20 20 20 20 20 20 20 20 20 73 77 69 74 63 68 20 28 61 74 74 72 4e 61 6d 65 29 20 7b 0a 20 | ...........switch.(attrName).{.. |
c6d40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 22 6c 61 62 65 6c 22 3a 0a 20 20 20 20 20 | .............case."label":...... |
c6d60 | 20 20 20 20 20 20 20 20 20 63 61 73 65 20 22 63 72 6f 70 22 3a 0a 20 20 20 20 20 20 20 20 20 20 | .........case."crop":........... |
c6d80 | 20 20 20 20 63 61 73 65 20 22 62 75 73 79 22 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 | ....case."busy":...............c |
c6da0 | 61 73 65 20 22 69 6d 61 67 65 22 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 | ase."image":...............case. |
c6dc0 | 22 73 65 6c 65 63 74 65 64 22 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 | "selected":.................if.( |
c6de0 | 61 45 76 65 6e 74 2e 61 74 74 72 43 68 61 6e 67 65 20 3d 3d 20 61 45 76 65 6e 74 2e 52 45 4d 4f | aEvent.attrChange.==.aEvent.REMO |
c6e00 | 56 41 4c 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 65 6e 75 49 74 65 6d 2e | VAL)...................menuItem. |
c6e20 | 72 65 6d 6f 76 65 41 74 74 72 69 62 75 74 65 28 61 74 74 72 4e 61 6d 65 29 3b 0a 20 20 20 20 20 | removeAttribute(attrName);...... |
c6e40 | 20 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ...........else................. |
c6e60 | 20 20 6d 65 6e 75 49 74 65 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 61 74 74 72 4e 61 6d 65 | ..menuItem.setAttribute(attrName |
c6e80 | 2c 20 61 45 76 65 6e 74 2e 6e 65 77 56 61 6c 75 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ,.aEvent.newValue);............. |
c6ea0 | 7d 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 62 6f 64 79 3e | }...........}.........]]></body> |
c6ec0 | 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 | .......</method>........<method. |
c6ee0 | 6e 61 6d 65 3d 22 5f 74 61 62 4f 6e 54 61 62 43 6c 6f 73 65 22 3e 0a 20 20 20 20 20 20 20 20 3c | name="_tabOnTabClose">.........< |
c6f00 | 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 45 76 65 6e 74 22 2f 3e 0a 0a 20 20 20 20 20 | parameter.name="aEvent"/>....... |
c6f20 | 20 20 20 3c 62 6f 64 79 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 | ...<body><![CDATA[...........var |
c6f40 | 20 6d 65 6e 75 49 74 65 6d 20 3d 20 61 45 76 65 6e 74 2e 74 61 72 67 65 74 2e 6d 43 6f 72 72 65 | .menuItem.=.aEvent.target.mCorre |
c6f60 | 73 70 6f 6e 64 69 6e 67 4d 65 6e 75 69 74 65 6d 3b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 | spondingMenuitem;...........if.( |
c6f80 | 6d 65 6e 75 49 74 65 6d 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 72 65 6d 6f 76 | menuItem).............this.remov |
c6fa0 | 65 43 68 69 6c 64 28 6d 65 6e 75 49 74 65 6d 29 3b 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 62 | eChild(menuItem);.........]]></b |
c6fc0 | 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 | ody>.......</method>........<met |
c6fe0 | 68 6f 64 20 6e 61 6d 65 3d 22 68 61 6e 64 6c 65 45 76 65 6e 74 22 3e 0a 20 20 20 20 20 20 20 20 | hod.name="handleEvent">......... |
c7000 | 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 45 76 65 6e 74 22 2f 3e 0a 20 20 20 20 20 | <parameter.name="aEvent"/>...... |
c7020 | 20 20 20 3c 62 6f 64 79 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 | ...<body><![CDATA[...........if. |
c7040 | 28 21 61 45 76 65 6e 74 2e 69 73 54 72 75 73 74 65 64 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 | (!aEvent.isTrusted)............. |
c7060 | 72 65 74 75 72 6e 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 73 77 69 74 63 68 20 28 61 45 76 65 6e | return;............switch.(aEven |
c7080 | 74 2e 74 79 70 65 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 22 63 6f 6d 6d | t.type).{.............case."comm |
c70a0 | 61 6e 64 22 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 6d 65 6e 75 49 74 | and":...............this._menuIt |
c70c0 | 65 6d 4f 6e 43 6f 6d 6d 61 6e 64 28 61 45 76 65 6e 74 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 | emOnCommand(aEvent);............ |
c70e0 | 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 22 44 4f 4d 41 | ...break;.............case."DOMA |
c7100 | 74 74 72 4d 6f 64 69 66 69 65 64 22 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 | ttrModified":...............this |
c7120 | 2e 5f 74 61 62 4f 6e 41 74 74 72 4d 6f 64 69 66 69 65 64 28 61 45 76 65 6e 74 29 3b 0a 20 20 20 | ._tabOnAttrModified(aEvent);.... |
c7140 | 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 63 61 | ...........break;.............ca |
c7160 | 73 65 20 22 54 61 62 43 6c 6f 73 65 22 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 | se."TabClose":...............thi |
c7180 | 73 2e 5f 74 61 62 4f 6e 54 61 62 43 6c 6f 73 65 28 61 45 76 65 6e 74 29 3b 0a 20 20 20 20 20 20 | s._tabOnTabClose(aEvent);....... |
c71a0 | 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 | ........break;.............case. |
c71c0 | 22 54 61 62 4f 70 65 6e 22 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 63 | "TabOpen":...............this._c |
c71e0 | 72 65 61 74 65 54 61 62 4d 65 6e 75 49 74 65 6d 28 61 45 76 65 6e 74 2e 6f 72 69 67 69 6e 61 6c | reateTabMenuItem(aEvent.original |
c7200 | 54 61 72 67 65 74 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 | Target);...............break;... |
c7220 | 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 22 73 63 72 6f 6c 6c 22 3a 0a 20 20 20 20 20 20 20 | ..........case."scroll":........ |
c7240 | 20 20 20 20 20 20 20 74 68 69 73 2e 5f 75 70 64 61 74 65 54 61 62 73 56 69 73 69 62 69 6c 69 74 | .......this._updateTabsVisibilit |
c7260 | 79 53 74 61 74 75 73 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a | yStatus();...............break;. |
c7280 | 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 62 6f 64 79 3e 0a 20 | ..........}.........]]></body>.. |
c72a0 | 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 | .....</method>........<method.na |
c72c0 | 6d 65 3d 22 5f 75 70 64 61 74 65 54 61 62 73 56 69 73 69 62 69 6c 69 74 79 53 74 61 74 75 73 22 | me="_updateTabsVisibilityStatus" |
c72e0 | 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 | >.........<body><![CDATA[....... |
c7300 | 20 20 20 20 76 61 72 20 74 61 62 43 6f 6e 74 61 69 6e 65 72 20 3d 20 64 6f 63 75 6d 65 6e 74 2e | ....var.tabContainer.=.document. |
c7320 | 67 65 74 42 69 6e 64 69 6e 67 50 61 72 65 6e 74 28 74 68 69 73 29 3b 0a 20 20 20 20 20 20 20 20 | getBindingParent(this);......... |
c7340 | 20 20 2f 2f 20 57 65 20 64 6f 6e 27 74 20 77 61 6e 74 20 6d 65 6e 75 20 69 74 65 6d 20 64 65 63 | ..//.We.don't.want.menu.item.dec |
c7360 | 6f 72 61 74 69 6f 6e 20 75 6e 6c 65 73 73 20 74 68 65 72 65 20 69 73 20 6f 76 65 72 66 6c 6f 77 | oration.unless.there.is.overflow |
c7380 | 2e 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 61 62 43 6f 6e 74 61 69 6e 65 72 2e 67 65 74 | ............if.(tabContainer.get |
c73a0 | 41 74 74 72 69 62 75 74 65 28 22 6f 76 65 72 66 6c 6f 77 22 29 20 21 3d 20 22 74 72 75 65 22 29 | Attribute("overflow").!=."true") |
c73c0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 | .............return;............ |
c73e0 | 76 61 72 20 74 61 62 73 74 72 69 70 42 4f 20 3d 20 74 61 62 43 6f 6e 74 61 69 6e 65 72 2e 6d 54 | var.tabstripBO.=.tabContainer.mT |
c7400 | 61 62 73 74 72 69 70 2e 73 63 72 6f 6c 6c 42 6f 78 4f 62 6a 65 63 74 3b 0a 20 20 20 20 20 20 20 | abstrip.scrollBoxObject;........ |
c7420 | 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 74 68 69 73 2e 63 68 69 6c | ...for.(var.i.=.0;.i.<.this.chil |
c7440 | 64 4e 6f 64 65 73 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 | dNodes.length;.i++).{........... |
c7460 | 20 20 76 61 72 20 63 75 72 54 61 62 42 4f 20 3d 20 74 68 69 73 2e 63 68 69 6c 64 4e 6f 64 65 73 | ..var.curTabBO.=.this.childNodes |
c7480 | 5b 69 5d 2e 74 61 62 2e 62 6f 78 4f 62 6a 65 63 74 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 | [i].tab.boxObject;.............i |
c74a0 | 66 20 28 63 75 72 54 61 62 42 4f 2e 73 63 72 65 65 6e 58 20 3e 3d 20 74 61 62 73 74 72 69 70 42 | f.(curTabBO.screenX.>=.tabstripB |
c74c0 | 4f 2e 73 63 72 65 65 6e 58 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 75 72 | O.screenX.&&.................cur |
c74e0 | 54 61 62 42 4f 2e 73 63 72 65 65 6e 58 20 2b 20 63 75 72 54 61 62 42 4f 2e 77 69 64 74 68 20 3c | TabBO.screenX.+.curTabBO.width.< |
c7500 | 3d 20 74 61 62 73 74 72 69 70 42 4f 2e 73 63 72 65 65 6e 58 20 2b 20 74 61 62 73 74 72 69 70 42 | =.tabstripBO.screenX.+.tabstripB |
c7520 | 4f 2e 77 69 64 74 68 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 63 68 69 6c | O.width)...............this.chil |
c7540 | 64 4e 6f 64 65 73 5b 69 5d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 74 61 62 49 73 56 69 73 | dNodes[i].setAttribute("tabIsVis |
c7560 | 69 62 6c 65 22 2c 20 22 74 72 75 65 22 29 3b 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 65 6c 73 | ible",."true");..............els |
c7580 | 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 63 68 69 6c 64 4e 6f 64 65 73 5b | e...............this.childNodes[ |
c75a0 | 69 5d 2e 72 65 6d 6f 76 65 41 74 74 72 69 62 75 74 65 28 22 74 61 62 49 73 56 69 73 69 62 6c 65 | i].removeAttribute("tabIsVisible |
c75c0 | 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 62 6f 64 | ");...........}.........]]></bod |
c75e0 | 79 3e 0a 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 | y>........</method>........<meth |
c7600 | 6f 64 20 6e 61 6d 65 3d 22 5f 63 72 65 61 74 65 54 61 62 4d 65 6e 75 49 74 65 6d 22 3e 0a 20 20 | od.name="_createTabMenuItem">... |
c7620 | 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 54 61 62 22 2f 3e 0a 20 | ......<parameter.name="aTab"/>.. |
c7640 | 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 | .......<body><![CDATA[.......... |
c7660 | 20 76 61 72 20 6d 65 6e 75 49 74 65 6d 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 63 72 65 61 74 65 45 | .var.menuItem.=.document.createE |
c7680 | 6c 65 6d 65 6e 74 4e 53 28 0a 20 20 20 20 20 20 20 20 20 20 20 20 22 68 74 74 70 3a 2f 2f 77 77 | lementNS(............."http://ww |
c76a0 | 77 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6b 65 79 6d 61 73 74 65 72 2f 67 61 74 65 6b 65 65 70 | w.mozilla.org/keymaster/gatekeep |
c76c0 | 65 72 2f 74 68 65 72 65 2e 69 73 2e 6f 6e 6c 79 2e 78 75 6c 22 2c 20 0a 20 20 20 20 20 20 20 20 | er/there.is.only.xul",.......... |
c76e0 | 20 20 20 20 22 6d 65 6e 75 69 74 65 6d 22 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 6d 65 6e 75 | ...."menuitem");............menu |
c7700 | 49 74 65 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 63 6c 61 73 73 22 2c 20 22 6d 65 6e 75 | Item.setAttribute("class",."menu |
c7720 | 69 74 65 6d 2d 69 63 6f 6e 69 63 20 61 6c 6c 74 61 62 73 2d 69 74 65 6d 22 29 3b 0a 0a 20 20 20 | item-iconic.alltabs-item");..... |
c7740 | 20 20 20 20 20 20 20 6d 65 6e 75 49 74 65 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 6c 61 | .......menuItem.setAttribute("la |
c7760 | 62 65 6c 22 2c 20 61 54 61 62 2e 6c 61 62 65 6c 29 3b 0a 20 20 20 20 20 20 20 20 20 20 6d 65 6e | bel",.aTab.label);...........men |
c7780 | 75 49 74 65 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 63 72 6f 70 22 2c 20 61 54 61 62 2e | uItem.setAttribute("crop",.aTab. |
c77a0 | 67 65 74 41 74 74 72 69 62 75 74 65 28 22 63 72 6f 70 22 29 29 3b 0a 20 20 20 20 20 20 20 20 20 | getAttribute("crop"));.......... |
c77c0 | 20 6d 65 6e 75 49 74 65 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 69 6d 61 67 65 22 2c 20 | .menuItem.setAttribute("image",. |
c77e0 | 61 54 61 62 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 69 6d 61 67 65 22 29 29 3b 0a 0a 20 20 | aTab.getAttribute("image"));.... |
c7800 | 20 20 20 20 20 20 20 20 69 66 20 28 61 54 61 62 2e 68 61 73 41 74 74 72 69 62 75 74 65 28 22 62 | ........if.(aTab.hasAttribute("b |
c7820 | 75 73 79 22 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 65 6e 75 49 74 65 6d 2e 73 65 74 41 | usy")).............menuItem.setA |
c7840 | 74 74 72 69 62 75 74 65 28 22 62 75 73 79 22 2c 20 61 54 61 62 2e 67 65 74 41 74 74 72 69 62 75 | ttribute("busy",.aTab.getAttribu |
c7860 | 74 65 28 22 62 75 73 79 22 29 29 3b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 61 54 61 62 2e | te("busy"));...........if.(aTab. |
c7880 | 73 65 6c 65 63 74 65 64 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 65 6e 75 49 74 65 6d 2e 73 | selected).............menuItem.s |
c78a0 | 65 74 41 74 74 72 69 62 75 74 65 28 22 73 65 6c 65 63 74 65 64 22 2c 20 22 74 72 75 65 22 29 3b | etAttribute("selected",."true"); |
c78c0 | 0a 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 4b 65 65 70 20 73 6f 6d 65 20 61 74 74 72 69 62 75 | ............//.Keep.some.attribu |
c78e0 | 74 65 73 20 6f 66 20 74 68 65 20 6d 65 6e 75 69 74 65 6d 20 69 6e 20 73 79 6e 63 20 77 69 74 68 | tes.of.the.menuitem.in.sync.with |
c7900 | 20 69 74 73 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 63 6f 72 72 65 73 70 6f 6e 64 69 6e 67 20 | .its...........//.corresponding. |
c7920 | 74 61 62 20 28 65 2e 67 2e 20 74 68 65 20 74 61 62 20 6c 61 62 65 6c 29 0a 20 20 20 20 20 20 20 | tab.(e.g..the.tab.label)........ |
c7940 | 20 20 20 61 54 61 62 2e 6d 43 6f 72 72 65 73 70 6f 6e 64 69 6e 67 4d 65 6e 75 69 74 65 6d 20 3d | ...aTab.mCorrespondingMenuitem.= |
c7960 | 20 6d 65 6e 75 49 74 65 6d 3b 0a 20 20 20 20 20 20 20 20 20 20 61 54 61 62 2e 61 64 64 45 76 65 | .menuItem;...........aTab.addEve |
c7980 | 6e 74 4c 69 73 74 65 6e 65 72 28 22 44 4f 4d 41 74 74 72 4d 6f 64 69 66 69 65 64 22 2c 20 74 68 | ntListener("DOMAttrModified",.th |
c79a0 | 69 73 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 61 54 61 62 2e 61 64 64 45 76 | is,.false);...........aTab.addEv |
c79c0 | 65 6e 74 4c 69 73 74 65 6e 65 72 28 22 54 61 62 43 6c 6f 73 65 22 2c 20 74 68 69 73 2c 20 66 61 | entListener("TabClose",.this,.fa |
c79e0 | 6c 73 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 6d 65 6e 75 49 74 65 6d 2e 74 61 62 20 3d 20 61 | lse);...........menuItem.tab.=.a |
c7a00 | 54 61 62 3b 0a 20 20 20 20 20 20 20 20 20 20 6d 65 6e 75 49 74 65 6d 2e 61 64 64 45 76 65 6e 74 | Tab;...........menuItem.addEvent |
c7a20 | 4c 69 73 74 65 6e 65 72 28 22 63 6f 6d 6d 61 6e 64 22 2c 20 74 68 69 73 2c 20 66 61 6c 73 65 29 | Listener("command",.this,.false) |
c7a40 | 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 61 70 70 65 6e 64 43 68 69 6c 64 28 6d 65 | ;............this.appendChild(me |
c7a60 | 6e 75 49 74 65 6d 29 3b 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 6d 65 6e 75 49 74 | nuItem);...........return.menuIt |
c7a80 | 65 6d 3b 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d | em;.........]]></body>.......</m |
c7aa0 | 65 74 68 6f 64 3e 0a 20 20 20 20 3c 2f 69 6d 70 6c 65 6d 65 6e 74 61 74 69 6f 6e 3e 0a 0a 20 20 | ethod>.....</implementation>.... |
c7ac0 | 20 20 3c 68 61 6e 64 6c 65 72 73 3e 0a 20 20 20 20 20 20 3c 68 61 6e 64 6c 65 72 20 65 76 65 6e | ..<handlers>.......<handler.even |
c7ae0 | 74 3d 22 70 6f 70 75 70 73 68 6f 77 69 6e 67 22 3e 0a 0a 20 20 20 20 20 20 3c 21 5b 43 44 41 54 | t="popupshowing">........<![CDAT |
c7b00 | 41 5b 0a 20 20 20 20 20 20 20 20 2f 2f 20 73 65 74 20 75 70 20 74 68 65 20 6d 65 6e 75 20 70 6f | A[.........//.set.up.the.menu.po |
c7b20 | 70 75 70 0a 20 20 20 20 20 20 20 20 76 61 72 20 74 61 62 63 6f 6e 74 61 69 6e 65 72 20 3d 20 64 | pup.........var.tabcontainer.=.d |
c7b40 | 6f 63 75 6d 65 6e 74 2e 67 65 74 42 69 6e 64 69 6e 67 50 61 72 65 6e 74 28 74 68 69 73 29 3b 0a | ocument.getBindingParent(this);. |
c7b60 | 20 20 20 20 20 20 20 20 76 61 72 20 74 61 62 73 20 3d 20 74 61 62 63 6f 6e 74 61 69 6e 65 72 2e | ........var.tabs.=.tabcontainer. |
c7b80 | 63 68 69 6c 64 4e 6f 64 65 73 3b 0a 0a 20 20 20 20 20 20 20 20 2f 2f 20 4c 69 73 74 65 6e 20 66 | childNodes;..........//.Listen.f |
c7ba0 | 6f 72 20 63 68 61 6e 67 65 73 20 69 6e 20 74 68 65 20 74 61 62 20 62 61 72 2e 0a 20 20 20 20 20 | or.changes.in.the.tab.bar....... |
c7bc0 | 20 20 20 76 61 72 20 74 61 62 62 72 6f 77 73 65 72 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 | ...var.tabbrowser.=.document.get |
c7be0 | 42 69 6e 64 69 6e 67 50 61 72 65 6e 74 28 74 61 62 63 6f 6e 74 61 69 6e 65 72 29 3b 0a 20 20 20 | BindingParent(tabcontainer);.... |
c7c00 | 20 20 20 20 20 74 61 62 62 72 6f 77 73 65 72 2e 61 64 64 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 | .....tabbrowser.addEventListener |
c7c20 | 28 22 54 61 62 4f 70 65 6e 22 2c 20 74 68 69 73 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 20 20 20 | ("TabOpen",.this,.false);....... |
c7c40 | 20 20 74 61 62 63 6f 6e 74 61 69 6e 65 72 2e 6d 54 61 62 73 74 72 69 70 2e 61 64 64 45 76 65 6e | ..tabcontainer.mTabstrip.addEven |
c7c60 | 74 4c 69 73 74 65 6e 65 72 28 22 73 63 72 6f 6c 6c 22 2c 20 74 68 69 73 2c 20 66 61 6c 73 65 29 | tListener("scroll",.this,.false) |
c7c80 | 3b 0a 0a 20 20 20 20 20 20 20 20 2f 2f 20 69 66 20 61 6e 20 61 6e 69 6d 61 74 69 6f 6e 20 69 73 | ;..........//.if.an.animation.is |
c7ca0 | 20 69 6e 20 70 72 6f 67 72 65 73 73 20 61 6e 64 20 74 68 65 20 75 73 65 72 0a 20 20 20 20 20 20 | .in.progress.and.the.user....... |
c7cc0 | 20 20 2f 2f 20 63 6c 69 63 6b 73 20 6f 6e 20 74 68 65 20 22 61 6c 6c 20 74 61 62 73 22 20 62 75 | ..//.clicks.on.the."all.tabs".bu |
c7ce0 | 74 74 6f 6e 2c 20 73 74 6f 70 20 74 68 65 20 61 6e 69 6d 61 74 69 6f 6e 0a 20 20 20 20 20 20 20 | tton,.stop.the.animation........ |
c7d00 | 20 74 61 62 63 6f 6e 74 61 69 6e 65 72 2e 5f 73 74 6f 70 41 6e 69 6d 61 74 69 6f 6e 28 29 3b 0a | .tabcontainer._stopAnimation();. |
c7d20 | 0a 20 20 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 74 61 62 | .........for.(var.i.=.0;.i.<.tab |
c7d40 | 73 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e | s.length;.i++).{...........this. |
c7d60 | 5f 63 72 65 61 74 65 54 61 62 4d 65 6e 75 49 74 65 6d 28 74 61 62 73 5b 69 5d 29 3b 0a 20 20 20 | _createTabMenuItem(tabs[i]);.... |
c7d80 | 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 75 70 64 61 74 65 54 61 62 73 56 | .....}.........this._updateTabsV |
c7da0 | 69 73 69 62 69 6c 69 74 79 53 74 61 74 75 73 28 29 3b 0a 20 20 20 20 20 20 5d 5d 3e 3c 2f 68 61 | isibilityStatus();.......]]></ha |
c7dc0 | 6e 64 6c 65 72 3e 0a 0a 20 20 20 20 20 20 3c 68 61 6e 64 6c 65 72 20 65 76 65 6e 74 3d 22 70 6f | ndler>........<handler.event="po |
c7de0 | 70 75 70 68 69 64 69 6e 67 22 3e 0a 20 20 20 20 20 20 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 | puphiding">.......<![CDATA[..... |
c7e00 | 20 20 20 20 2f 2f 20 63 6c 65 61 72 20 6f 75 74 20 74 68 65 20 6d 65 6e 75 20 70 6f 70 75 70 20 | ....//.clear.out.the.menu.popup. |
c7e20 | 61 6e 64 20 72 65 6d 6f 76 65 20 74 68 65 20 6c 69 73 74 65 6e 65 72 73 0a 20 20 20 20 20 20 20 | and.remove.the.listeners........ |
c7e40 | 20 77 68 69 6c 65 20 28 74 68 69 73 2e 68 61 73 43 68 69 6c 64 4e 6f 64 65 73 28 29 29 20 7b 0a | .while.(this.hasChildNodes()).{. |
c7e60 | 20 20 20 20 20 20 20 20 20 20 76 61 72 20 6d 65 6e 75 49 74 65 6d 20 3d 20 74 68 69 73 2e 6c 61 | ..........var.menuItem.=.this.la |
c7e80 | 73 74 43 68 69 6c 64 3b 0a 20 20 20 20 20 20 20 20 20 20 6d 65 6e 75 49 74 65 6d 2e 72 65 6d 6f | stChild;...........menuItem.remo |
c7ea0 | 76 65 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 28 22 63 6f 6d 6d 61 6e 64 22 2c 20 74 68 69 73 2c | veEventListener("command",.this, |
c7ec0 | 20 66 61 6c 73 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 6d 65 6e 75 49 74 65 6d 2e 74 61 62 2e | .false);...........menuItem.tab. |
c7ee0 | 72 65 6d 6f 76 65 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 28 22 44 4f 4d 41 74 74 72 4d 6f 64 69 | removeEventListener("DOMAttrModi |
c7f00 | 66 69 65 64 22 2c 20 74 68 69 73 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 6d | fied",.this,.false);...........m |
c7f20 | 65 6e 75 49 74 65 6d 2e 74 61 62 2e 72 65 6d 6f 76 65 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 28 | enuItem.tab.removeEventListener( |
c7f40 | 22 54 61 62 43 6c 6f 73 65 22 2c 20 74 68 69 73 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 20 20 20 | "TabClose",.this,.false);....... |
c7f60 | 20 20 20 20 6d 65 6e 75 49 74 65 6d 2e 74 61 62 2e 6d 43 6f 72 72 65 73 70 6f 6e 64 69 6e 67 4d | ....menuItem.tab.mCorrespondingM |
c7f80 | 65 6e 75 69 74 65 6d 20 3d 20 6e 75 6c 6c 3b 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 72 | enuitem.=.null;...........this.r |
c7fa0 | 65 6d 6f 76 65 43 68 69 6c 64 28 6d 65 6e 75 49 74 65 6d 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a | emoveChild(menuItem);.........}. |
c7fc0 | 20 20 20 20 20 20 20 20 76 61 72 20 74 61 62 63 6f 6e 74 61 69 6e 65 72 20 3d 20 64 6f 63 75 6d | ........var.tabcontainer.=.docum |
c7fe0 | 65 6e 74 2e 67 65 74 42 69 6e 64 69 6e 67 50 61 72 65 6e 74 28 74 68 69 73 29 3b 0a 20 20 20 20 | ent.getBindingParent(this);..... |
c8000 | 20 20 20 20 74 61 62 63 6f 6e 74 61 69 6e 65 72 2e 6d 54 61 62 73 74 72 69 70 2e 72 65 6d 6f 76 | ....tabcontainer.mTabstrip.remov |
c8020 | 65 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 28 22 73 63 72 6f 6c 6c 22 2c 20 74 68 69 73 2c 20 66 | eEventListener("scroll",.this,.f |
c8040 | 61 6c 73 65 29 3b 0a 20 20 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 42 69 6e 64 69 | alse);.........document.getBindi |
c8060 | 6e 67 50 61 72 65 6e 74 28 74 61 62 63 6f 6e 74 61 69 6e 65 72 29 2e 72 65 6d 6f 76 65 45 76 65 | ngParent(tabcontainer).removeEve |
c8080 | 6e 74 4c 69 73 74 65 6e 65 72 28 22 54 61 62 4f 70 65 6e 22 2c 20 74 68 69 73 2c 20 66 61 6c 73 | ntListener("TabOpen",.this,.fals |
c80a0 | 65 29 3b 0a 20 20 20 20 20 20 5d 5d 3e 3c 2f 68 61 6e 64 6c 65 72 3e 0a 0a 20 20 20 20 20 20 3c | e);.......]]></handler>........< |
c80c0 | 68 61 6e 64 6c 65 72 20 65 76 65 6e 74 3d 22 44 4f 4d 4d 65 6e 75 49 74 65 6d 41 63 74 69 76 65 | handler.event="DOMMenuItemActive |
c80e0 | 22 3e 0a 20 20 20 20 20 20 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 69 66 20 28 21 | ">.......<![CDATA[.........if.(! |
c8100 | 74 68 69 73 2e 5f 78 75 6c 57 69 6e 64 6f 77 20 7c 7c 20 21 74 68 69 73 2e 5f 78 75 6c 57 69 6e | this._xulWindow.||.!this._xulWin |
c8120 | 64 6f 77 2e 58 55 4c 42 72 6f 77 73 65 72 57 69 6e 64 6f 77 29 0a 20 20 20 20 20 20 20 20 20 20 | dow.XULBrowserWindow)........... |
c8140 | 72 65 74 75 72 6e 3b 0a 0a 20 20 20 20 20 20 20 20 76 61 72 20 74 61 62 20 3d 20 65 76 65 6e 74 | return;..........var.tab.=.event |
c8160 | 2e 74 61 72 67 65 74 2e 74 61 62 3b 0a 20 20 20 20 20 20 20 20 69 66 20 28 74 61 62 29 20 7b 0a | .target.tab;.........if.(tab).{. |
c8180 | 20 20 20 20 20 20 20 20 20 20 76 61 72 20 73 74 61 74 75 73 54 65 78 74 20 3d 20 74 61 62 2e 6c | ..........var.statusText.=.tab.l |
c81a0 | 69 6e 6b 65 64 42 72 6f 77 73 65 72 2e 63 75 72 72 65 6e 74 55 52 49 2e 73 70 65 63 3b 0a 20 20 | inkedBrowser.currentURI.spec;... |
c81c0 | 20 20 20 20 20 20 20 20 69 66 20 28 73 74 61 74 75 73 54 65 78 74 20 3d 3d 20 22 61 62 6f 75 74 | ........if.(statusText.==."about |
c81e0 | 3a 62 6c 61 6e 6b 22 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 58 58 58 68 61 63 | :blank").{.............//.XXXhac |
c8200 | 6b 3a 20 50 61 73 73 69 6e 67 20 61 20 73 70 61 63 65 20 68 65 72 65 20 28 61 6e 64 20 6e 6f 74 | k:.Passing.a.space.here.(and.not |
c8220 | 20 22 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 74 6f 20 6d 61 6b 65 20 73 75 72 65 | ."").............//.to.make.sure |
c8240 | 20 74 68 65 20 74 68 65 20 62 72 6f 77 73 65 72 20 69 6d 70 6c 65 6d 65 6e 74 61 74 69 6f 6e 20 | .the.the.browser.implementation. |
c8260 | 77 6f 75 6c 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 73 74 69 6c 6c 20 63 6f 6e 73 69 | would.............//.still.consi |
c8280 | 64 65 72 20 69 74 20 61 20 68 6f 76 65 72 65 64 20 6c 69 6e 6b 2e 0a 20 20 20 20 20 20 20 20 20 | der.it.a.hovered.link........... |
c82a0 | 20 20 20 73 74 61 74 75 73 54 65 78 74 20 3d 20 22 20 22 3b 0a 20 20 20 20 20 20 20 20 20 20 7d | ...statusText.=.".";...........} |
c82c0 | 0a 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 78 75 6c 57 69 6e 64 6f 77 2e 58 55 4c 42 | ............this._xulWindow.XULB |
c82e0 | 72 6f 77 73 65 72 57 69 6e 64 6f 77 2e 73 65 74 4f 76 65 72 4c 69 6e 6b 28 73 74 61 74 75 73 54 | rowserWindow.setOverLink(statusT |
c8300 | 65 78 74 2c 20 6e 75 6c 6c 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 5d 5d 3e 3c | ext,.null);.........}.......]]>< |
c8320 | 2f 68 61 6e 64 6c 65 72 3e 0a 0a 20 20 20 20 20 20 3c 68 61 6e 64 6c 65 72 20 65 76 65 6e 74 3d | /handler>........<handler.event= |
c8340 | 22 44 4f 4d 4d 65 6e 75 49 74 65 6d 49 6e 61 63 74 69 76 65 22 3e 0a 20 20 20 20 20 20 3c 21 5b | "DOMMenuItemInactive">.......<![ |
c8360 | 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 69 66 20 28 21 74 68 69 73 2e 5f 78 75 6c 57 69 6e | CDATA[.........if.(!this._xulWin |
c8380 | 64 6f 77 20 7c 7c 20 21 74 68 69 73 2e 5f 78 75 6c 57 69 6e 64 6f 77 2e 58 55 4c 42 72 6f 77 73 | dow.||.!this._xulWindow.XULBrows |
c83a0 | 65 72 57 69 6e 64 6f 77 29 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 20 | erWindow)...........return;..... |
c83c0 | 20 20 20 20 20 74 68 69 73 2e 5f 78 75 6c 57 69 6e 64 6f 77 2e 58 55 4c 42 72 6f 77 73 65 72 57 | .....this._xulWindow.XULBrowserW |
c83e0 | 69 6e 64 6f 77 2e 73 65 74 4f 76 65 72 4c 69 6e 6b 28 22 22 2c 20 6e 75 6c 6c 29 3b 0a 20 20 20 | indow.setOverLink("",.null);.... |
c8400 | 20 20 20 5d 5d 3e 3c 2f 68 61 6e 64 6c 65 72 3e 0a 0a 20 20 20 20 3c 2f 68 61 6e 64 6c 65 72 73 | ...]]></handler>......</handlers |
c8420 | 3e 0a 20 20 3c 2f 62 69 6e 64 69 6e 67 3e 0a 0a 20 20 3c 21 2d 2d 20 63 6c 6f 73 65 2d 74 61 62 | >...</binding>....<!--.close-tab |
c8440 | 2d 62 75 74 74 6f 6e 20 62 69 6e 64 69 6e 67 0a 20 20 20 20 20 20 20 54 68 69 73 20 62 69 6e 64 | -button.binding........This.bind |
c8460 | 69 6e 67 20 72 65 6c 69 65 73 20 6f 6e 20 74 68 65 20 73 74 72 75 63 74 75 72 65 20 6f 66 20 74 | ing.relies.on.the.structure.of.t |
c8480 | 68 65 20 74 61 62 62 72 6f 77 73 65 72 20 62 69 6e 64 69 6e 67 2e 0a 20 20 20 20 20 20 20 54 68 | he.tabbrowser.binding.........Th |
c84a0 | 65 72 65 66 6f 72 65 20 69 74 20 73 68 6f 75 6c 64 20 6f 6e 6c 79 20 62 65 20 75 73 65 64 20 61 | erefore.it.should.only.be.used.a |
c84c0 | 73 20 61 20 63 68 69 6c 64 20 6f 66 20 74 68 65 20 74 61 62 20 6f 72 20 74 68 65 20 74 61 62 73 | s.a.child.of.the.tab.or.the.tabs |
c84e0 | 0a 20 20 20 20 20 20 20 65 6c 65 6d 65 6e 74 20 28 69 6e 20 62 6f 74 68 20 63 61 73 65 73 2c 20 | ........element.(in.both.cases,. |
c8500 | 77 68 65 6e 20 74 68 65 79 20 61 72 65 20 61 6e 6f 6e 79 6d 6f 75 73 20 6e 6f 64 65 73 20 6f 66 | when.they.are.anonymous.nodes.of |
c8520 | 20 3c 74 61 62 62 72 6f 77 73 65 72 3e 29 2e 0a 20 20 20 20 20 20 20 54 68 69 73 20 62 69 6e 64 | .<tabbrowser>).........This.bind |
c8540 | 69 6e 67 20 69 73 20 65 78 70 6f 73 65 64 20 61 73 20 61 20 70 73 65 75 64 6f 2d 70 75 62 6c 69 | ing.is.exposed.as.a.pseudo-publi |
c8560 | 63 2d 41 50 49 20 73 6f 20 74 68 65 6d 65 73 20 63 61 6e 20 63 75 73 74 6f 6d 69 7a 65 0a 20 20 | c-API.so.themes.can.customize... |
c8580 | 20 20 20 20 20 74 68 65 20 74 61 62 62 61 72 20 61 70 70 65 61 72 61 6e 63 65 20 77 69 74 68 6f | .....the.tabbar.appearance.witho |
c85a0 | 75 74 20 68 61 76 69 6e 67 20 74 6f 20 62 65 20 73 63 72 69 70 74 61 62 6c 65 0a 20 20 20 20 20 | ut.having.to.be.scriptable...... |
c85c0 | 20 20 28 73 65 65 20 67 6c 6f 62 61 6c 42 69 6e 64 69 6e 67 73 2e 78 6d 6c 20 69 6e 20 50 69 6e | ..(see.globalBindings.xml.in.Pin |
c85e0 | 73 74 72 69 70 65 20 66 6f 72 20 65 78 61 6d 70 6c 65 29 2e 0a 20 20 2d 2d 3e 0a 20 20 3c 62 69 | stripe.for.example)....-->...<bi |
c8600 | 6e 64 69 6e 67 20 69 64 3d 22 74 61 62 62 72 6f 77 73 65 72 2d 63 6c 6f 73 65 2d 74 61 62 2d 62 | nding.id="tabbrowser-close-tab-b |
c8620 | 75 74 74 6f 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 65 78 74 65 6e 64 73 3d 22 63 68 72 6f 6d | utton"............extends="chrom |
c8640 | 65 3a 2f 2f 67 6c 6f 62 61 6c 2f 63 6f 6e 74 65 6e 74 2f 62 69 6e 64 69 6e 67 73 2f 74 6f 6f 6c | e://global/content/bindings/tool |
c8660 | 62 61 72 62 75 74 74 6f 6e 2e 78 6d 6c 23 74 6f 6f 6c 62 61 72 62 75 74 74 6f 6e 2d 69 6d 61 67 | barbutton.xml#toolbarbutton-imag |
c8680 | 65 22 3e 0a 20 20 20 20 3c 68 61 6e 64 6c 65 72 73 3e 0a 20 20 20 20 20 20 3c 68 61 6e 64 6c 65 | e">.....<handlers>.......<handle |
c86a0 | 72 20 65 76 65 6e 74 3d 22 63 6c 69 63 6b 22 20 62 75 74 74 6f 6e 3d 22 30 22 3e 3c 21 5b 43 44 | r.event="click".button="0"><![CD |
c86c0 | 41 54 41 5b 0a 20 20 20 20 20 20 20 20 76 61 72 20 62 69 6e 64 69 6e 67 50 61 72 65 6e 74 20 3d | ATA[.........var.bindingParent.= |
c86e0 | 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 42 69 6e 64 69 6e 67 50 61 72 65 6e 74 28 74 68 69 73 29 | .document.getBindingParent(this) |
c8700 | 3b 0a 20 20 20 20 20 20 20 20 69 66 20 28 62 69 6e 64 69 6e 67 50 61 72 65 6e 74 29 20 7b 0a 20 | ;.........if.(bindingParent).{.. |
c8720 | 20 20 20 20 20 20 20 20 20 76 61 72 20 74 61 62 62 65 64 42 72 6f 77 73 65 72 20 3d 20 64 6f 63 | .........var.tabbedBrowser.=.doc |
c8740 | 75 6d 65 6e 74 2e 67 65 74 42 69 6e 64 69 6e 67 50 61 72 65 6e 74 28 62 69 6e 64 69 6e 67 50 61 | ument.getBindingParent(bindingPa |
c8760 | 72 65 6e 74 29 3b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 62 69 6e 64 69 6e 67 50 61 72 65 | rent);...........if.(bindingPare |
c8780 | 6e 74 2e 6c 6f 63 61 6c 4e 61 6d 65 20 3d 3d 20 22 74 61 62 22 29 20 7b 0a 20 20 20 20 20 20 20 | nt.localName.==."tab").{........ |
c87a0 | 20 20 20 20 20 2f 2a 20 54 68 65 20 6f 6e 6c 79 20 73 65 71 75 65 6e 63 65 20 69 6e 20 77 68 69 | ...../*.The.only.sequence.in.whi |
c87c0 | 63 68 20 61 20 73 65 63 6f 6e 64 20 63 6c 69 63 6b 20 65 76 65 6e 74 20 28 69 2e 65 2e 20 64 62 | ch.a.second.click.event.(i.e..db |
c87e0 | 6c 63 6c 69 6b 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 2a 20 63 61 6e 20 62 65 20 64 69 73 | lclik)..............*.can.be.dis |
c8800 | 70 61 74 63 68 65 64 20 6f 6e 20 61 6e 20 69 6e 2d 74 61 62 20 63 6c 6f 73 65 20 62 75 74 74 6f | patched.on.an.in-tab.close.butto |
c8820 | 6e 20 69 73 20 77 68 65 6e 20 69 74 20 69 73 20 73 68 6f 77 6e 0a 20 20 20 20 20 20 20 20 20 20 | n.is.when.it.is.shown........... |
c8840 | 20 20 20 2a 20 61 66 74 65 72 20 74 68 65 20 66 69 72 73 74 20 63 6c 69 63 6b 20 28 69 2e 65 2e | ...*.after.the.first.click.(i.e. |
c8860 | 20 74 68 65 20 66 69 72 73 74 20 63 6c 69 63 6b 20 65 76 65 6e 74 20 77 61 73 20 64 69 73 70 61 | .the.first.click.event.was.dispa |
c8880 | 74 63 68 65 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 2a 20 6f 6e 20 74 68 65 20 74 61 62 29 | tched..............*.on.the.tab) |
c88a0 | 2e 20 54 68 69 73 20 68 61 70 70 65 6e 73 20 77 68 65 6e 20 77 65 20 73 68 6f 77 20 74 68 65 20 | ..This.happens.when.we.show.the. |
c88c0 | 63 6c 6f 73 65 20 62 75 74 74 6f 6e 20 6f 6e 6c 79 20 6f 6e 0a 20 20 20 20 20 20 20 20 20 20 20 | close.button.only.on............ |
c88e0 | 20 20 2a 20 74 68 65 20 61 63 74 69 76 65 20 74 61 62 2e 20 28 62 75 67 20 33 35 32 30 32 31 29 | ..*.the.active.tab..(bug.352021) |
c8900 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 2a 20 54 68 65 20 6f 6e 6c 79 20 73 65 71 75 65 6e 63 | ..............*.The.only.sequenc |
c8920 | 65 20 69 6e 20 77 68 69 63 68 20 61 20 74 68 69 72 64 20 63 6c 69 63 6b 20 65 76 65 6e 74 20 63 | e.in.which.a.third.click.event.c |
c8940 | 61 6e 20 62 65 20 64 69 73 70 61 74 63 68 65 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 2a 20 | an.be.dispatched..............*. |
c8960 | 6f 6e 20 61 6e 20 69 6e 2d 74 61 62 20 63 6c 6f 73 65 20 62 75 74 74 6f 6e 20 69 73 20 77 68 65 | on.an.in-tab.close.button.is.whe |
c8980 | 6e 20 74 68 65 20 74 61 62 20 77 61 73 20 6f 70 65 6e 65 64 20 77 69 74 68 20 61 0a 20 20 20 20 | n.the.tab.was.opened.with.a..... |
c89a0 | 20 20 20 20 20 20 20 20 20 2a 20 64 6f 75 62 6c 65 20 63 6c 69 63 6b 20 6f 6e 20 74 68 65 20 74 | .........*.double.click.on.the.t |
c89c0 | 61 62 62 61 72 2e 20 28 62 75 67 20 33 37 38 33 34 34 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 | abbar..(bug.378344)............. |
c89e0 | 20 2a 20 49 6e 20 62 6f 74 68 20 63 61 73 65 73 2c 20 69 74 20 69 73 20 6d 6f 73 74 20 6c 69 6b | .*.In.both.cases,.it.is.most.lik |
c8a00 | 65 6c 79 20 74 68 61 74 20 74 68 65 20 63 6c 6f 73 65 20 62 75 74 74 6f 6e 20 61 72 65 61 20 68 | ely.that.the.close.button.area.h |
c8a20 | 61 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 2a 20 62 65 65 6e 20 61 63 63 69 64 65 6e 74 61 | as..............*.been.accidenta |
c8a40 | 6c 6c 79 20 63 6c 69 63 6b 65 64 2c 20 74 68 65 72 65 66 6f 72 65 20 77 65 20 64 6f 20 6e 6f 74 | lly.clicked,.therefore.we.do.not |
c8a60 | 20 63 6c 6f 73 65 20 74 68 65 20 74 61 62 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 2a 0a 20 | .close.the.tab...............*.. |
c8a80 | 20 20 20 20 20 20 20 20 20 20 20 20 2a 20 57 65 20 64 6f 6e 27 74 20 77 61 6e 74 20 74 6f 20 69 | ............*.We.don't.want.to.i |
c8aa0 | 67 6e 6f 72 65 20 70 72 6f 63 65 73 73 69 6e 67 20 6f 66 20 6d 6f 72 65 20 74 68 61 6e 20 6f 6e | gnore.processing.of.more.than.on |
c8ac0 | 65 20 63 6c 69 63 6b 20 65 76 65 6e 74 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 2a 20 74 68 | e.click.event,..............*.th |
c8ae0 | 6f 75 67 68 2c 20 73 69 6e 63 65 20 74 68 65 20 75 73 65 72 20 6d 69 67 68 74 20 61 63 74 75 61 | ough,.since.the.user.might.actua |
c8b00 | 6c 6c 79 20 62 65 20 72 65 70 65 61 74 65 64 6c 79 20 63 6c 69 63 6b 69 6e 67 20 74 6f 0a 20 20 | lly.be.repeatedly.clicking.to... |
c8b20 | 20 20 20 20 20 20 20 20 20 20 20 2a 20 63 6c 6f 73 65 20 6d 61 6e 79 20 74 61 62 73 20 61 74 20 | ...........*.close.many.tabs.at. |
c8b40 | 6f 6e 63 65 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 2a 2f 0a 20 20 20 20 20 20 20 20 20 20 | once...............*/........... |
c8b60 | 20 20 69 66 20 28 65 76 65 6e 74 2e 64 65 74 61 69 6c 20 3e 20 31 20 26 26 20 21 74 68 69 73 2e | ..if.(event.detail.>.1.&&.!this. |
c8b80 | 5f 69 67 6e 6f 72 65 64 43 6c 69 63 6b 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 | _ignoredClick).{...............t |
c8ba0 | 68 69 73 2e 5f 69 67 6e 6f 72 65 64 43 6c 69 63 6b 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 | his._ignoredClick.=.true;....... |
c8bc0 | 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 | ........return;.............}... |
c8be0 | 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 52 65 73 65 74 20 74 68 65 20 22 69 67 6e 6f 72 65 64 | ...........//.Reset.the."ignored |
c8c00 | 20 63 6c 69 63 6b 22 20 66 6c 61 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 69 | .click".flag.............this._i |
c8c20 | 67 6e 6f 72 65 64 43 6c 69 63 6b 20 3d 20 66 61 6c 73 65 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 | gnoredClick.=.false;............ |
c8c40 | 20 20 74 61 62 62 65 64 42 72 6f 77 73 65 72 2e 72 65 6d 6f 76 65 54 61 62 28 62 69 6e 64 69 6e | ..tabbedBrowser.removeTab(bindin |
c8c60 | 67 50 61 72 65 6e 74 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 61 62 62 65 64 42 72 6f 77 | gParent);.............tabbedBrow |
c8c80 | 73 65 72 2e 5f 62 6c 6f 63 6b 44 62 6c 43 6c 69 63 6b 20 3d 20 74 72 75 65 3b 0a 0a 20 20 20 20 | ser._blockDblClick.=.true;...... |
c8ca0 | 20 20 20 20 20 20 20 20 2f 2a 20 58 58 58 6d 61 6e 6f 20 68 61 63 6b 20 28 73 65 65 20 62 75 67 | ......../*.XXXmano.hack.(see.bug |
c8cc0 | 20 33 34 33 36 32 38 29 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 2a 20 53 69 6e 63 65 20 77 | .343628):..............*.Since.w |
c8ce0 | 65 27 72 65 20 72 65 6d 6f 76 69 6e 67 20 74 68 65 20 65 76 65 6e 74 20 74 61 72 67 65 74 2c 20 | e're.removing.the.event.target,. |
c8d00 | 69 66 20 74 68 65 20 75 73 65 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 2a 20 64 6f 75 62 6c | if.the.user..............*.doubl |
c8d20 | 65 2d 63 6c 69 63 6b 73 20 74 68 69 73 20 62 75 74 74 6f 6e 2c 20 74 68 65 20 64 62 6c 63 6c 69 | e-clicks.this.button,.the.dblcli |
c8d40 | 63 6b 20 65 76 65 6e 74 20 77 69 6c 6c 20 62 65 20 64 69 73 70 61 74 63 68 65 64 0a 20 20 20 20 | ck.event.will.be.dispatched..... |
c8d60 | 20 20 20 20 20 20 20 20 20 2a 20 77 69 74 68 20 74 68 65 20 74 61 62 62 61 72 20 61 73 20 69 74 | .........*.with.the.tabbar.as.it |
c8d80 | 73 20 65 76 65 6e 74 20 74 61 72 67 65 74 20 28 61 6e 64 20 65 78 70 6c 69 63 69 74 2f 6f 72 69 | s.event.target.(and.explicit/ori |
c8da0 | 67 69 6e 61 6c 54 61 72 67 65 74 29 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 2a 20 77 68 69 | ginalTarget),..............*.whi |
c8dc0 | 63 68 20 74 72 65 61 74 73 20 74 68 61 74 20 61 73 20 61 20 6d 6f 75 73 65 20 67 65 73 74 75 72 | ch.treats.that.as.a.mouse.gestur |
c8de0 | 65 20 66 6f 72 20 6f 70 65 6e 69 6e 67 20 61 20 6e 65 77 20 74 61 62 2e 0a 20 20 20 20 20 20 20 | e.for.opening.a.new.tab......... |
c8e00 | 20 20 20 20 20 20 2a 20 49 6e 20 74 68 69 73 20 63 6f 6e 74 65 78 74 2c 20 77 65 27 72 65 20 6d | ......*.In.this.context,.we're.m |
c8e20 | 61 6e 75 61 6c 6c 79 20 62 6c 6f 63 6b 69 6e 67 20 74 68 65 20 64 62 6c 63 6c 69 63 6b 20 65 76 | anually.blocking.the.dblclick.ev |
c8e40 | 65 6e 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 2a 20 28 73 65 65 20 6f 6e 54 61 62 42 61 72 | ent..............*.(see.onTabBar |
c8e60 | 44 62 6c 43 6c 69 63 6b 29 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 2a 2f 0a 20 20 20 20 20 | DblClick)...............*/...... |
c8e80 | 20 20 20 20 20 20 20 76 61 72 20 63 6c 69 63 6b 65 64 4f 6e 63 65 20 3d 20 66 61 6c 73 65 3b 0a | .......var.clickedOnce.=.false;. |
c8ea0 | 20 20 20 20 20 20 20 20 20 20 20 20 66 75 6e 63 74 69 6f 6e 20 65 6e 61 62 6c 65 44 62 6c 43 6c | ............function.enableDblCl |
c8ec0 | 69 63 6b 28 65 76 65 6e 74 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 65 | ick(event).{...............if.(e |
c8ee0 | 76 65 6e 74 2e 64 65 74 61 69 6c 20 3d 3d 20 31 20 26 26 20 21 63 6c 69 63 6b 65 64 4f 6e 63 65 | vent.detail.==.1.&&.!clickedOnce |
c8f00 | 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6c 69 63 6b 65 64 4f 6e 63 65 20 | ).{.................clickedOnce. |
c8f20 | 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a | =.true;.................return;. |
c8f40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 65 | ..............}...............se |
c8f60 | 74 54 69 6d 65 6f 75 74 28 66 75 6e 63 74 69 6f 6e 28 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 | tTimeout(function().{........... |
c8f80 | 20 20 20 20 20 20 74 61 62 62 65 64 42 72 6f 77 73 65 72 2e 5f 62 6c 6f 63 6b 44 62 6c 43 6c 69 | ......tabbedBrowser._blockDblCli |
c8fa0 | 63 6b 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 2c 20 30 29 3b | ck.=.false;...............},.0); |
c8fc0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 61 62 62 65 64 42 72 6f 77 73 65 72 2e 72 65 6d | ...............tabbedBrowser.rem |
c8fe0 | 6f 76 65 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 28 22 63 6c 69 63 6b 22 2c 20 65 6e 61 62 6c 65 | oveEventListener("click",.enable |
c9000 | 44 62 6c 43 6c 69 63 6b 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a | DblClick,.false);.............}. |
c9020 | 20 20 20 20 20 20 20 20 20 20 20 20 74 61 62 62 65 64 42 72 6f 77 73 65 72 2e 61 64 64 45 76 65 | ............tabbedBrowser.addEve |
c9040 | 6e 74 4c 69 73 74 65 6e 65 72 28 22 63 6c 69 63 6b 22 2c 20 65 6e 61 62 6c 65 44 62 6c 43 6c 69 | ntListener("click",.enableDblCli |
c9060 | 63 6b 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 | ck,.false);...........}......... |
c9080 | 20 20 65 6c 73 65 20 2f 2f 20 22 74 61 62 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 61 62 | ..else.//."tabs".............tab |
c90a0 | 62 65 64 42 72 6f 77 73 65 72 2e 72 65 6d 6f 76 65 43 75 72 72 65 6e 74 54 61 62 28 29 3b 0a 20 | bedBrowser.removeCurrentTab();.. |
c90c0 | 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 5d 5d 3e 3c 2f 68 61 6e 64 6c 65 72 3e 0a 20 20 20 | .......}.......]]></handler>.... |
c90e0 | 20 20 20 3c 68 61 6e 64 6c 65 72 20 65 76 65 6e 74 3d 22 64 62 6c 63 6c 69 63 6b 22 20 62 75 74 | ...<handler.event="dblclick".but |
c9100 | 74 6f 6e 3d 22 30 22 20 70 68 61 73 65 3d 22 63 61 70 74 75 72 69 6e 67 22 3e 0a 20 20 20 20 20 | ton="0".phase="capturing">...... |
c9120 | 20 20 20 2f 2f 20 66 6f 72 20 74 68 65 20 6f 6e 65 2d 63 6c 6f 73 65 2d 62 75 74 74 6f 6e 20 63 | ...//.for.the.one-close-button.c |
c9140 | 61 73 65 0a 20 20 20 20 20 20 20 20 65 76 65 6e 74 2e 73 74 6f 70 50 72 6f 70 61 67 61 74 69 6f | ase.........event.stopPropagatio |
c9160 | 6e 28 29 3b 0a 20 20 20 20 20 20 3c 2f 68 61 6e 64 6c 65 72 3e 0a 20 20 20 20 3c 2f 68 61 6e 64 | n();.......</handler>.....</hand |
c9180 | 6c 65 72 73 3e 0a 20 20 3c 2f 62 69 6e 64 69 6e 67 3e 0a 0a 20 20 3c 62 69 6e 64 69 6e 67 20 69 | lers>...</binding>....<binding.i |
c91a0 | 64 3d 22 74 61 62 62 72 6f 77 73 65 72 2d 74 61 62 22 20 64 69 73 70 6c 61 79 3d 22 78 75 6c 3a | d="tabbrowser-tab".display="xul: |
c91c0 | 68 62 6f 78 22 0a 20 20 20 20 20 20 20 20 20 20 20 65 78 74 65 6e 64 73 3d 22 63 68 72 6f 6d 65 | hbox"............extends="chrome |
c91e0 | 3a 2f 2f 67 6c 6f 62 61 6c 2f 63 6f 6e 74 65 6e 74 2f 62 69 6e 64 69 6e 67 73 2f 74 61 62 62 6f | ://global/content/bindings/tabbo |
c9200 | 78 2e 78 6d 6c 23 74 61 62 22 3e 0a 20 20 20 20 3c 63 6f 6e 74 65 6e 74 20 63 68 72 6f 6d 65 64 | x.xml#tab">.....<content.chromed |
c9220 | 69 72 3d 22 26 6c 6f 63 61 6c 65 2e 64 69 72 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 63 | ir="&locale.dir;"..............c |
c9240 | 6c 6f 73 65 74 61 62 74 65 78 74 3d 22 26 63 6c 6f 73 65 54 61 62 2e 6c 61 62 65 6c 3b 22 3e 0a | losetabtext="&closeTab.label;">. |
c9260 | 20 20 20 20 20 20 3c 78 75 6c 3a 69 6d 61 67 65 20 78 62 6c 3a 69 6e 68 65 72 69 74 73 3d 22 76 | ......<xul:image.xbl:inherits="v |
c9280 | 61 6c 69 64 61 74 65 2c 73 72 63 3d 69 6d 61 67 65 22 20 63 6c 61 73 73 3d 22 74 61 62 2d 69 63 | alidate,src=image".class="tab-ic |
c92a0 | 6f 6e 2d 69 6d 61 67 65 22 2f 3e 0a 20 20 20 20 20 20 3c 78 75 6c 3a 6c 61 62 65 6c 20 66 6c 65 | on-image"/>.......<xul:label.fle |
c92c0 | 78 3d 22 31 22 20 78 62 6c 3a 69 6e 68 65 72 69 74 73 3d 22 76 61 6c 75 65 3d 6c 61 62 65 6c 2c | x="1".xbl:inherits="value=label, |
c92e0 | 63 72 6f 70 2c 61 63 63 65 73 73 6b 65 79 22 20 63 6c 61 73 73 3d 22 74 61 62 2d 74 65 78 74 22 | crop,accesskey".class="tab-text" |
c9300 | 2f 3e 0a 20 20 20 20 20 20 3c 78 75 6c 3a 74 6f 6f 6c 62 61 72 62 75 74 74 6f 6e 20 61 6e 6f 6e | />.......<xul:toolbarbutton.anon |
c9320 | 69 64 3d 22 63 6c 6f 73 65 2d 62 75 74 74 6f 6e 22 20 74 61 62 69 6e 64 65 78 3d 22 2d 31 22 20 | id="close-button".tabindex="-1". |
c9340 | 63 6c 61 73 73 3d 22 74 61 62 2d 63 6c 6f 73 65 2d 62 75 74 74 6f 6e 22 2f 3e 0a 20 20 20 20 3c | class="tab-close-button"/>.....< |
c9360 | 2f 63 6f 6e 74 65 6e 74 3e 0a 0a 20 20 20 20 3c 69 6d 70 6c 65 6d 65 6e 74 61 74 69 6f 6e 3e 0a | /content>......<implementation>. |
c9380 | 20 20 20 20 20 20 3c 66 69 65 6c 64 20 6e 61 6d 65 3d 22 6d 4f 76 65 72 43 6c 6f 73 65 42 75 74 | ......<field.name="mOverCloseBut |
c93a0 | 74 6f 6e 22 3e 66 61 6c 73 65 3c 2f 66 69 65 6c 64 3e 0a 09 20 20 3c 66 69 65 6c 64 20 6e 61 6d | ton">false</field>....<field.nam |
c93c0 | 65 3d 22 6d 43 6f 72 72 65 73 70 6f 6e 64 69 6e 67 4d 65 6e 75 69 74 65 6d 22 3e 6e 75 6c 6c 3c | e="mCorrespondingMenuitem">null< |
c93e0 | 2f 66 69 65 6c 64 3e 0a 20 20 20 20 3c 2f 69 6d 70 6c 65 6d 65 6e 74 61 74 69 6f 6e 3e 0a 0a 20 | /field>.....</implementation>... |
c9400 | 20 20 20 3c 68 61 6e 64 6c 65 72 73 3e 0a 20 20 20 20 20 20 3c 68 61 6e 64 6c 65 72 20 65 76 65 | ...<handlers>.......<handler.eve |
c9420 | 6e 74 3d 22 6d 6f 75 73 65 6f 76 65 72 22 3e 0a 20 20 20 20 20 20 20 20 76 61 72 20 61 6e 6f 6e | nt="mouseover">.........var.anon |
c9440 | 69 64 20 3d 20 65 76 65 6e 74 2e 6f 72 69 67 69 6e 61 6c 54 61 72 67 65 74 2e 67 65 74 41 74 74 | id.=.event.originalTarget.getAtt |
c9460 | 72 69 62 75 74 65 28 22 61 6e 6f 6e 69 64 22 29 3b 0a 20 20 20 20 20 20 20 20 69 66 20 28 61 6e | ribute("anonid");.........if.(an |
c9480 | 6f 6e 69 64 20 3d 3d 20 22 63 6c 6f 73 65 2d 62 75 74 74 6f 6e 22 29 0a 20 20 20 20 20 20 20 20 | onid.==."close-button")......... |
c94a0 | 20 20 74 68 69 73 2e 6d 4f 76 65 72 43 6c 6f 73 65 42 75 74 74 6f 6e 20 3d 20 74 72 75 65 3b 0a | ..this.mOverCloseButton.=.true;. |
c94c0 | 20 20 20 20 20 20 3c 2f 68 61 6e 64 6c 65 72 3e 0a 20 20 20 20 20 20 3c 68 61 6e 64 6c 65 72 20 | ......</handler>.......<handler. |
c94e0 | 65 76 65 6e 74 3d 22 6d 6f 75 73 65 6f 75 74 22 3e 0a 20 20 20 20 20 20 20 20 76 61 72 20 61 6e | event="mouseout">.........var.an |
c9500 | 6f 6e 69 64 20 3d 20 65 76 65 6e 74 2e 6f 72 69 67 69 6e 61 6c 54 61 72 67 65 74 2e 67 65 74 41 | onid.=.event.originalTarget.getA |
c9520 | 74 74 72 69 62 75 74 65 28 22 61 6e 6f 6e 69 64 22 29 3b 0a 20 20 20 20 20 20 20 20 69 66 20 28 | ttribute("anonid");.........if.( |
c9540 | 61 6e 6f 6e 69 64 20 3d 3d 20 22 63 6c 6f 73 65 2d 62 75 74 74 6f 6e 22 29 0a 20 20 20 20 20 20 | anonid.==."close-button")....... |
c9560 | 20 20 20 20 74 68 69 73 2e 6d 4f 76 65 72 43 6c 6f 73 65 42 75 74 74 6f 6e 20 3d 20 66 61 6c 73 | ....this.mOverCloseButton.=.fals |
c9580 | 65 3b 0a 20 20 20 20 20 20 3c 2f 68 61 6e 64 6c 65 72 3e 0a 20 20 20 20 20 20 3c 68 61 6e 64 6c | e;.......</handler>.......<handl |
c95a0 | 65 72 20 65 76 65 6e 74 3d 22 64 72 61 67 73 74 61 72 74 22 20 70 68 61 73 65 3d 22 63 61 70 74 | er.event="dragstart".phase="capt |
c95c0 | 75 72 69 6e 67 22 3e 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 73 74 79 6c 65 2e 4d 6f 7a 55 73 | uring">.........this.style.MozUs |
c95e0 | 65 72 46 6f 63 75 73 20 3d 20 27 27 3b 0a 20 20 20 20 20 20 3c 2f 68 61 6e 64 6c 65 72 3e 0a 20 | erFocus.=.'';.......</handler>.. |
c9600 | 20 20 20 20 20 3c 68 61 6e 64 6c 65 72 20 65 76 65 6e 74 3d 22 6d 6f 75 73 65 64 6f 77 6e 22 20 | .....<handler.event="mousedown". |
c9620 | 62 75 74 74 6f 6e 3d 22 30 22 20 70 68 61 73 65 3d 22 63 61 70 74 75 72 69 6e 67 22 3e 0a 20 20 | button="0".phase="capturing">... |
c9640 | 20 20 20 20 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 6d | ....<![CDATA[.........if.(this.m |
c9660 | 4f 76 65 72 43 6c 6f 73 65 42 75 74 74 6f 6e 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 65 76 65 | OverCloseButton).{...........eve |
c9680 | 6e 74 2e 73 74 6f 70 50 72 6f 70 61 67 61 74 69 6f 6e 28 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a | nt.stopPropagation();.........}. |
c96a0 | 20 20 20 20 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 73 74 | ........else.{...........this.st |
c96c0 | 79 6c 65 2e 4d 6f 7a 55 73 65 72 46 6f 63 75 73 20 3d 20 27 69 67 6e 6f 72 65 27 3b 0a 20 20 20 | yle.MozUserFocus.=.'ignore';.... |
c96e0 | 20 20 20 20 20 20 20 74 68 69 73 2e 63 6c 69 65 6e 74 54 6f 70 3b 20 2f 2f 20 6a 75 73 74 20 75 | .......this.clientTop;.//.just.u |
c9700 | 73 69 6e 67 20 74 68 69 73 20 74 6f 20 66 6c 75 73 68 20 73 74 79 6c 65 20 75 70 64 61 74 65 73 | sing.this.to.flush.style.updates |
c9720 | 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 5d 5d 3e 0a 20 20 20 20 20 20 3c 2f 68 61 6e | .........}.......]]>.......</han |
c9740 | 64 6c 65 72 3e 0a 20 20 20 20 20 20 3c 68 61 6e 64 6c 65 72 20 65 76 65 6e 74 3d 22 6d 6f 75 73 | dler>.......<handler.event="mous |
c9760 | 65 64 6f 77 6e 22 20 62 75 74 74 6f 6e 3d 22 31 22 3e 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e | edown".button="1">.........this. |
c9780 | 73 74 79 6c 65 2e 4d 6f 7a 55 73 65 72 46 6f 63 75 73 20 3d 20 27 69 67 6e 6f 72 65 27 3b 0a 20 | style.MozUserFocus.=.'ignore';.. |
c97a0 | 20 20 20 20 20 20 20 74 68 69 73 2e 63 6c 69 65 6e 74 54 6f 70 3b 0a 20 20 20 20 20 20 3c 2f 68 | .......this.clientTop;.......</h |
c97c0 | 61 6e 64 6c 65 72 3e 0a 20 20 20 20 20 20 3c 68 61 6e 64 6c 65 72 20 65 76 65 6e 74 3d 22 6d 6f | andler>.......<handler.event="mo |
c97e0 | 75 73 65 64 6f 77 6e 22 20 62 75 74 74 6f 6e 3d 22 32 22 3e 0a 20 20 20 20 20 20 20 20 74 68 69 | usedown".button="2">.........thi |
c9800 | 73 2e 73 74 79 6c 65 2e 4d 6f 7a 55 73 65 72 46 6f 63 75 73 20 3d 20 27 69 67 6e 6f 72 65 27 3b | s.style.MozUserFocus.=.'ignore'; |
c9820 | 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 63 6c 69 65 6e 74 54 6f 70 3b 0a 20 20 20 20 20 20 3c | .........this.clientTop;.......< |
c9840 | 2f 68 61 6e 64 6c 65 72 3e 0a 20 20 20 20 20 20 3c 68 61 6e 64 6c 65 72 20 65 76 65 6e 74 3d 22 | /handler>.......<handler.event=" |
c9860 | 6d 6f 75 73 65 75 70 22 3e 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 73 74 79 6c 65 2e 4d 6f 7a | mouseup">.........this.style.Moz |
c9880 | 55 73 65 72 46 6f 63 75 73 20 3d 20 27 27 3b 0a 20 20 20 20 20 20 3c 2f 68 61 6e 64 6c 65 72 3e | UserFocus.=.'';.......</handler> |
c98a0 | 0a 20 20 20 20 3c 2f 68 61 6e 64 6c 65 72 73 3e 0a 20 20 3c 2f 62 69 6e 64 69 6e 67 3e 0a 0a 3c | .....</handlers>...</binding>..< |
c98c0 | 2f 62 69 6e 64 69 6e 67 73 3e 0a 50 4b 03 04 14 00 00 00 00 00 f2 4b 18 3b 0c 51 7c 60 ca 4c 00 | /bindings>.PK.........K.;.Q|`.L. |
c98e0 | 00 ca 4c 00 00 22 00 00 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 75 72 6c 62 61 72 42 | ..L.."...content/browser/urlbarB |
c9900 | 69 6e 64 69 6e 67 73 2e 78 6d 6c 3c 3f 78 6d 6c 20 76 65 72 73 69 6f 6e 3d 22 31 2e 30 22 3f 3e | indings.xml<?xml.version="1.0"?> |
c9920 | 0a 0a 0a 3c 62 69 6e 64 69 6e 67 73 20 69 64 3d 22 75 72 6c 62 61 72 42 69 6e 64 69 6e 67 73 22 | ...<bindings.id="urlbarBindings" |
c9940 | 20 78 6d 6c 6e 73 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 78 | .xmlns="http://www.mozilla.org/x |
c9960 | 62 6c 22 3e 0a 0a 20 20 3c 62 69 6e 64 69 6e 67 20 69 64 3d 22 75 72 6c 62 61 72 22 20 65 78 74 | bl">....<binding.id="urlbar".ext |
c9980 | 65 6e 64 73 3d 22 63 68 72 6f 6d 65 3a 2f 2f 67 6c 6f 62 61 6c 2f 63 6f 6e 74 65 6e 74 2f 62 69 | ends="chrome://global/content/bi |
c99a0 | 6e 64 69 6e 67 73 2f 61 75 74 6f 63 6f 6d 70 6c 65 74 65 2e 78 6d 6c 23 61 75 74 6f 63 6f 6d 70 | ndings/autocomplete.xml#autocomp |
c99c0 | 6c 65 74 65 22 3e 0a 20 20 20 20 3c 69 6d 70 6c 65 6d 65 6e 74 61 74 69 6f 6e 20 69 6d 70 6c 65 | lete">.....<implementation.imple |
c99e0 | 6d 65 6e 74 73 3d 22 6e 73 49 4f 62 73 65 72 76 65 72 2c 20 6e 73 49 44 4f 4d 45 76 65 6e 74 4c | ments="nsIObserver,.nsIDOMEventL |
c9a00 | 69 73 74 65 6e 65 72 22 3e 0a 20 20 20 20 20 20 3c 63 6f 6e 73 74 72 75 63 74 6f 72 3e 3c 21 5b | istener">.......<constructor><![ |
c9a20 | 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 70 72 65 66 73 20 3d 20 43 6f 6d | CDATA[.........this._prefs.=.Com |
c9a40 | 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 70 72 | ponents.classes["@mozilla.org/pr |
c9a60 | 65 66 65 72 65 6e 63 65 73 2d 73 65 72 76 69 63 65 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 | eferences-service;1"]........... |
c9a80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 | .......................getServic |
c9aa0 | 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 50 72 65 66 53 | e(Components.interfaces.nsIPrefS |
c9ac0 | 65 72 76 69 63 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ervice)......................... |
c9ae0 | 20 20 20 20 20 20 20 20 2e 67 65 74 42 72 61 6e 63 68 28 22 62 72 6f 77 73 65 72 2e 75 72 6c 62 | .........getBranch("browser.urlb |
c9b00 | 61 72 2e 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ar.")........................... |
c9b20 | 20 20 20 20 20 20 2e 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 | .......QueryInterface(Components |
c9b40 | 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 50 72 65 66 42 72 61 6e 63 68 32 29 3b 0a 0a 20 20 | .interfaces.nsIPrefBranch2);.... |
c9b60 | 20 20 20 20 20 20 74 68 69 73 2e 5f 70 72 65 66 73 2e 61 64 64 4f 62 73 65 72 76 65 72 28 22 22 | ......this._prefs.addObserver("" |
c9b80 | 2c 20 74 68 69 73 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 63 6c 69 | ,.this,.false);.........this.cli |
c9ba0 | 63 6b 53 65 6c 65 63 74 73 41 6c 6c 20 3d 20 74 68 69 73 2e 5f 70 72 65 66 73 2e 67 65 74 42 6f | ckSelectsAll.=.this._prefs.getBo |
c9bc0 | 6f 6c 50 72 65 66 28 22 63 6c 69 63 6b 53 65 6c 65 63 74 73 41 6c 6c 22 29 3b 0a 20 20 20 20 20 | olPref("clickSelectsAll");...... |
c9be0 | 20 20 20 74 68 69 73 2e 64 6f 75 62 6c 65 43 6c 69 63 6b 53 65 6c 65 63 74 73 41 6c 6c 20 3d 20 | ...this.doubleClickSelectsAll.=. |
c9c00 | 74 68 69 73 2e 5f 70 72 65 66 73 2e 67 65 74 42 6f 6f 6c 50 72 65 66 28 22 64 6f 75 62 6c 65 43 | this._prefs.getBoolPref("doubleC |
c9c20 | 6c 69 63 6b 53 65 6c 65 63 74 73 41 6c 6c 22 29 3b 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 63 | lickSelectsAll");.........this.c |
c9c40 | 6f 6d 70 6c 65 74 65 44 65 66 61 75 6c 74 49 6e 64 65 78 20 3d 20 74 68 69 73 2e 5f 70 72 65 66 | ompleteDefaultIndex.=.this._pref |
c9c60 | 73 2e 67 65 74 42 6f 6f 6c 50 72 65 66 28 22 61 75 74 6f 46 69 6c 6c 22 29 3b 0a 0a 20 20 20 20 | s.getBoolPref("autoFill");...... |
c9c80 | 20 20 20 20 74 68 69 73 2e 5f 75 72 6c 54 6f 6f 6c 74 69 70 20 3d 20 64 6f 63 75 6d 65 6e 74 2e | ....this._urlTooltip.=.document. |
c9ca0 | 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 75 72 6c 54 6f 6f 6c 74 69 70 22 29 3b 0a 0a 20 | getElementById("urlTooltip");... |
c9cc0 | 20 20 20 20 20 20 20 74 68 69 73 2e 69 6e 70 75 74 46 69 65 6c 64 2e 63 6f 6e 74 72 6f 6c 6c 65 | .......this.inputField.controlle |
c9ce0 | 72 73 2e 69 6e 73 65 72 74 43 6f 6e 74 72 6f 6c 6c 65 72 41 74 28 30 2c 20 74 68 69 73 2e 5f 63 | rs.insertControllerAt(0,.this._c |
c9d00 | 6f 70 79 43 75 74 43 6f 6e 74 72 6f 6c 6c 65 72 29 3b 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e | opyCutController);.........this. |
c9d20 | 69 6e 70 75 74 46 69 65 6c 64 2e 61 64 64 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 28 22 6d 6f 75 | inputField.addEventListener("mou |
c9d40 | 73 65 64 6f 77 6e 22 2c 20 74 68 69 73 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 20 20 20 20 20 74 | sedown",.this,.false);.........t |
c9d60 | 68 69 73 2e 69 6e 70 75 74 46 69 65 6c 64 2e 61 64 64 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 28 | his.inputField.addEventListener( |
c9d80 | 22 6d 6f 75 73 65 6d 6f 76 65 22 2c 20 74 68 69 73 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 20 20 | "mousemove",.this,.false);...... |
c9da0 | 20 20 20 74 68 69 73 2e 69 6e 70 75 74 46 69 65 6c 64 2e 61 64 64 45 76 65 6e 74 4c 69 73 74 65 | ...this.inputField.addEventListe |
c9dc0 | 6e 65 72 28 22 6d 6f 75 73 65 6f 75 74 22 2c 20 74 68 69 73 2c 20 66 61 6c 73 65 29 3b 0a 20 20 | ner("mouseout",.this,.false);... |
c9de0 | 20 20 20 20 5d 5d 3e 3c 2f 63 6f 6e 73 74 72 75 63 74 6f 72 3e 0a 0a 20 20 20 20 20 20 3c 64 65 | ....]]></constructor>........<de |
c9e00 | 73 74 72 75 63 74 6f 72 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e | structor><![CDATA[.........this. |
c9e20 | 5f 70 72 65 66 73 2e 72 65 6d 6f 76 65 4f 62 73 65 72 76 65 72 28 22 22 2c 20 74 68 69 73 29 3b | _prefs.removeObserver("",.this); |
c9e40 | 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 70 72 65 66 73 20 3d 20 6e 75 6c 6c 3b 0a 20 20 20 | .........this._prefs.=.null;.... |
c9e60 | 20 20 20 20 20 74 68 69 73 2e 69 6e 70 75 74 46 69 65 6c 64 2e 63 6f 6e 74 72 6f 6c 6c 65 72 73 | .....this.inputField.controllers |
c9e80 | 2e 72 65 6d 6f 76 65 43 6f 6e 74 72 6f 6c 6c 65 72 28 74 68 69 73 2e 5f 63 6f 70 79 43 75 74 43 | .removeController(this._copyCutC |
c9ea0 | 6f 6e 74 72 6f 6c 6c 65 72 29 3b 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 69 6e 70 75 74 46 69 | ontroller);.........this.inputFi |
c9ec0 | 65 6c 64 2e 72 65 6d 6f 76 65 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 28 22 6d 6f 75 73 65 64 6f | eld.removeEventListener("mousedo |
c9ee0 | 77 6e 22 2c 20 74 68 69 73 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e | wn",.this,.false);.........this. |
c9f00 | 69 6e 70 75 74 46 69 65 6c 64 2e 72 65 6d 6f 76 65 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 28 22 | inputField.removeEventListener(" |
c9f20 | 6d 6f 75 73 65 6d 6f 76 65 22 2c 20 74 68 69 73 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 20 20 20 | mousemove",.this,.false);....... |
c9f40 | 20 20 74 68 69 73 2e 69 6e 70 75 74 46 69 65 6c 64 2e 72 65 6d 6f 76 65 45 76 65 6e 74 4c 69 73 | ..this.inputField.removeEventLis |
c9f60 | 74 65 6e 65 72 28 22 6d 6f 75 73 65 6f 75 74 22 2c 20 74 68 69 73 2c 20 66 61 6c 73 65 29 3b 0a | tener("mouseout",.this,.false);. |
c9f80 | 20 20 20 20 20 20 5d 5d 3e 3c 2f 64 65 73 74 72 75 63 74 6f 72 3e 0a 0a 20 20 20 20 20 20 3c 6d | ......]]></destructor>........<m |
c9fa0 | 65 74 68 6f 64 20 6e 61 6d 65 3d 22 68 61 6e 64 6c 65 52 65 76 65 72 74 22 3e 0a 20 20 20 20 20 | ethod.name="handleRevert">...... |
c9fc0 | 20 20 20 3c 62 6f 64 79 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 | ...<body><![CDATA[...........var |
c9fe0 | 20 69 73 53 63 72 6f 6c 6c 69 6e 67 20 3d 20 74 68 69 73 2e 70 6f 70 75 70 4f 70 65 6e 3b 0a 0a | .isScrolling.=.this.popupOpen;.. |
ca000 | 20 20 20 20 20 20 20 20 20 20 67 42 72 6f 77 73 65 72 2e 75 73 65 72 54 79 70 65 64 56 61 6c 75 | ..........gBrowser.userTypedValu |
ca020 | 65 20 3d 20 6e 75 6c 6c 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 64 6f 6e 27 74 20 72 65 | e.=.null;............//.don't.re |
ca040 | 76 65 72 74 20 74 6f 20 6c 61 73 74 20 76 61 6c 69 64 20 75 72 6c 20 75 6e 6c 65 73 73 20 70 61 | vert.to.last.valid.url.unless.pa |
ca060 | 67 65 20 69 73 20 4e 4f 54 20 6c 6f 61 64 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 61 | ge.is.NOT.loading...........//.a |
ca080 | 6e 64 20 75 73 65 72 20 69 73 20 4e 4f 54 20 6b 65 79 2d 73 63 72 6f 6c 6c 69 6e 67 20 74 68 72 | nd.user.is.NOT.key-scrolling.thr |
ca0a0 | 6f 75 67 68 20 61 75 74 6f 63 6f 6d 70 6c 65 74 65 20 6c 69 73 74 0a 20 20 20 20 20 20 20 20 20 | ough.autocomplete.list.......... |
ca0c0 | 20 69 66 20 28 21 58 55 4c 42 72 6f 77 73 65 72 57 69 6e 64 6f 77 2e 69 73 42 75 73 79 20 26 26 | .if.(!XULBrowserWindow.isBusy.&& |
ca0e0 | 20 21 69 73 53 63 72 6f 6c 6c 69 6e 67 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 55 52 4c | .!isScrolling).{.............URL |
ca100 | 42 61 72 53 65 74 55 52 49 28 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 49 66 20 | BarSetURI();..............//.If. |
ca120 | 74 68 65 20 76 61 6c 75 65 20 69 73 6e 27 74 20 65 6d 70 74 79 20 61 6e 64 20 74 68 65 20 75 72 | the.value.isn't.empty.and.the.ur |
ca140 | 6c 62 61 72 20 68 61 73 20 66 6f 63 75 73 2c 20 73 65 6c 65 63 74 20 74 68 65 20 76 61 6c 75 65 | lbar.has.focus,.select.the.value |
ca160 | 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 76 61 6c 75 65 20 26 26 20 | ..............if.(this.value.&&. |
ca180 | 74 68 69 73 2e 68 61 73 41 74 74 72 69 62 75 74 65 28 22 66 6f 63 75 73 65 64 22 29 29 0a 20 20 | this.hasAttribute("focused"))... |
ca1a0 | 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 73 65 6c 65 63 74 28 29 3b 0a 20 20 20 20 20 | ............this.select();...... |
ca1c0 | 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 74 65 6c 6c 20 77 69 64 67 65 74 | .....}............//.tell.widget |
ca1e0 | 20 74 6f 20 72 65 76 65 72 74 20 74 6f 20 6c 61 73 74 20 74 79 70 65 64 20 74 65 78 74 20 6f 6e | .to.revert.to.last.typed.text.on |
ca200 | 6c 79 20 69 66 20 74 68 65 20 75 73 65 72 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 77 61 73 20 | ly.if.the.user...........//.was. |
ca220 | 73 63 72 6f 6c 6c 69 6e 67 20 77 68 65 6e 20 74 68 65 79 20 68 69 74 20 65 73 63 61 70 65 0a 20 | scrolling.when.they.hit.escape.. |
ca240 | 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 21 69 73 53 63 72 6f 6c 6c 69 6e 67 3b 0a 20 20 | .........return.!isScrolling;... |
ca260 | 20 20 20 20 20 20 5d 5d 3e 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e | ......]]></body>.......</method> |
ca280 | 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 68 61 6e 64 6c 65 43 6f 6d 6d | ........<method.name="handleComm |
ca2a0 | 61 6e 64 22 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 | and">.........<parameter.name="a |
ca2c0 | 54 72 69 67 67 65 72 69 6e 67 45 76 65 6e 74 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 | TriggeringEvent"/>.........<body |
ca2e0 | 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 61 54 72 69 67 67 65 | ><![CDATA[...........if.(aTrigge |
ca300 | 72 69 6e 67 45 76 65 6e 74 20 69 6e 73 74 61 6e 63 65 6f 66 20 4d 6f 75 73 65 45 76 65 6e 74 20 | ringEvent.instanceof.MouseEvent. |
ca320 | 26 26 20 61 54 72 69 67 67 65 72 69 6e 67 45 76 65 6e 74 2e 62 75 74 74 6f 6e 20 3d 3d 20 32 29 | &&.aTriggeringEvent.button.==.2) |
ca340 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 20 2f 2f 20 44 6f 20 6e 6f 74 68 69 | .............return;.//.Do.nothi |
ca360 | 6e 67 20 66 6f 72 20 72 69 67 68 74 20 63 6c 69 63 6b 73 0a 0a 20 20 20 20 20 20 20 20 20 20 76 | ng.for.right.clicks............v |
ca380 | 61 72 20 5b 75 72 6c 2c 20 70 6f 73 74 44 61 74 61 5d 20 3d 20 74 68 69 73 2e 5f 63 61 6e 6f 6e | ar.[url,.postData].=.this._canon |
ca3a0 | 69 7a 65 55 52 4c 28 61 54 72 69 67 67 65 72 69 6e 67 45 76 65 6e 74 29 3b 0a 20 20 20 20 20 20 | izeURL(aTriggeringEvent);....... |
ca3c0 | 20 20 20 20 69 66 20 28 21 75 72 6c 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e | ....if.(!url).............return |
ca3e0 | 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 76 61 6c 75 65 20 3d 20 75 72 6c 3b 0a 20 | ;............this.value.=.url;.. |
ca400 | 20 20 20 20 20 20 20 20 20 67 42 72 6f 77 73 65 72 2e 75 73 65 72 54 79 70 65 64 56 61 6c 75 65 | .........gBrowser.userTypedValue |
ca420 | 20 3d 20 75 72 6c 3b 0a 20 20 20 20 20 20 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 20 20 | .=.url;...........try.{......... |
ca440 | 20 20 20 20 61 64 64 54 6f 55 72 6c 62 61 72 48 69 73 74 6f 72 79 28 75 72 6c 29 3b 0a 20 20 20 | ....addToUrlbarHistory(url);.... |
ca460 | 20 20 20 20 20 20 20 7d 20 63 61 74 63 68 20 28 65 78 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 | .......}.catch.(ex).{........... |
ca480 | 20 20 2f 2f 20 54 68 69 6e 67 73 20 6d 61 79 20 67 6f 20 77 72 6f 6e 67 20 77 68 65 6e 20 61 64 | ..//.Things.may.go.wrong.when.ad |
ca4a0 | 64 69 6e 67 20 75 72 6c 20 74 6f 20 73 65 73 73 69 6f 6e 20 68 69 73 74 6f 72 79 2c 0a 20 20 20 | ding.url.to.session.history,.... |
ca4c0 | 20 20 20 20 20 20 20 20 20 2f 2f 20 62 75 74 20 64 6f 6e 27 74 20 6c 65 74 20 74 68 61 74 20 69 | .........//.but.don't.let.that.i |
ca4e0 | 6e 74 65 72 66 65 72 65 20 77 69 74 68 20 74 68 65 20 6c 6f 61 64 69 6e 67 20 6f 66 20 74 68 65 | nterfere.with.the.loading.of.the |
ca500 | 20 75 72 6c 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 43 75 2e 72 65 70 6f 72 74 45 72 72 6f 72 | .url..............Cu.reportError |
ca520 | 28 65 78 29 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 | (ex);...........}............if. |
ca540 | 28 61 54 72 69 67 67 65 72 69 6e 67 45 76 65 6e 74 20 69 6e 73 74 61 6e 63 65 6f 66 20 4d 6f 75 | (aTriggeringEvent.instanceof.Mou |
ca560 | 73 65 45 76 65 6e 74 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 57 65 20 68 61 76 | seEvent).{.............//.We.hav |
ca580 | 65 20 61 20 6d 6f 75 73 65 20 65 76 65 6e 74 20 28 66 72 6f 6d 20 74 68 65 20 67 6f 20 62 75 74 | e.a.mouse.event.(from.the.go.but |
ca5a0 | 74 6f 6e 29 2c 20 73 6f 20 75 73 65 20 74 68 65 20 73 74 61 6e 64 61 72 64 0a 20 20 20 20 20 20 | ton),.so.use.the.standard....... |
ca5c0 | 20 20 20 20 20 20 2f 2f 20 55 49 20 6c 69 6e 6b 20 62 65 68 61 76 69 6f 72 73 0a 20 20 20 20 20 | ......//.UI.link.behaviors...... |
ca5e0 | 20 20 20 20 20 20 20 6f 70 65 6e 55 49 4c 69 6e 6b 28 75 72 6c 2c 20 61 54 72 69 67 67 65 72 69 | .......openUILink(url,.aTriggeri |
ca600 | 6e 67 45 76 65 6e 74 2c 20 66 61 6c 73 65 2c 20 66 61 6c 73 65 2c 0a 20 20 20 20 20 20 20 20 20 | ngEvent,.false,.false,.......... |
ca620 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 72 75 65 20 2f 2a 20 61 6c 6c 6f 77 20 74 68 69 72 | ..............true./*.allow.thir |
ca640 | 64 20 70 61 72 74 79 20 66 69 78 75 70 20 2a 2f 2c 20 70 6f 73 74 44 61 74 61 29 3b 0a 20 20 20 | d.party.fixup.*/,.postData);.... |
ca660 | 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 | .........return;...........}.... |
ca680 | 20 20 20 20 20 20 20 20 69 66 20 28 61 54 72 69 67 67 65 72 69 6e 67 45 76 65 6e 74 20 26 26 20 | ........if.(aTriggeringEvent.&&. |
ca6a0 | 61 54 72 69 67 67 65 72 69 6e 67 45 76 65 6e 74 2e 61 6c 74 4b 65 79 29 20 7b 0a 20 20 20 20 20 | aTriggeringEvent.altKey).{...... |
ca6c0 | 20 20 20 20 20 20 20 74 68 69 73 2e 68 61 6e 64 6c 65 52 65 76 65 72 74 28 29 3b 0a 20 20 20 20 | .......this.handleRevert();..... |
ca6e0 | 20 20 20 20 20 20 20 20 63 6f 6e 74 65 6e 74 2e 66 6f 63 75 73 28 29 3b 0a 20 20 20 20 20 20 20 | ........content.focus();........ |
ca700 | 20 20 20 20 20 67 42 72 6f 77 73 65 72 2e 6c 6f 61 64 4f 6e 65 54 61 62 28 75 72 6c 2c 20 6e 75 | .....gBrowser.loadOneTab(url,.nu |
ca720 | 6c 6c 2c 20 6e 75 6c 6c 2c 20 70 6f 73 74 44 61 74 61 2c 20 66 61 6c 73 65 2c 0a 20 20 20 20 20 | ll,.null,.postData,.false,...... |
ca740 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 72 75 65 20 | ...........................true. |
ca760 | 2f 2a 20 61 6c 6c 6f 77 20 74 68 69 72 64 20 70 61 72 74 79 20 66 69 78 75 70 20 2a 2f 29 3b 0a | /*.allow.third.party.fixup.*/);. |
ca780 | 20 20 20 20 20 20 20 20 20 20 20 20 61 54 72 69 67 67 65 72 69 6e 67 45 76 65 6e 74 2e 70 72 65 | ............aTriggeringEvent.pre |
ca7a0 | 76 65 6e 74 44 65 66 61 75 6c 74 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 61 54 72 69 67 | ventDefault();.............aTrig |
ca7c0 | 67 65 72 69 6e 67 45 76 65 6e 74 2e 73 74 6f 70 50 72 6f 70 61 67 61 74 69 6f 6e 28 29 3b 0a 20 | geringEvent.stopPropagation();.. |
ca7e0 | 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 | .........}...........else....... |
ca800 | 20 20 20 20 20 20 6c 6f 61 64 55 52 49 28 75 72 6c 2c 20 6e 75 6c 6c 2c 20 70 6f 73 74 44 61 74 | ......loadURI(url,.null,.postDat |
ca820 | 61 2c 20 74 72 75 65 20 2f 2a 20 61 6c 6c 6f 77 20 74 68 69 72 64 20 70 61 72 74 79 20 66 69 78 | a,.true./*.allow.third.party.fix |
ca840 | 75 70 20 2a 2f 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 66 6f 63 75 73 45 6c 65 6d 65 6e 74 28 | up.*/);............focusElement( |
ca860 | 63 6f 6e 74 65 6e 74 29 3b 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 62 6f 64 79 3e 0a 20 20 20 | content);.........]]></body>.... |
ca880 | 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 | ...</method>........<method.name |
ca8a0 | 3d 22 5f 63 61 6e 6f 6e 69 7a 65 55 52 4c 22 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 | ="_canonizeURL">.........<parame |
ca8c0 | 74 65 72 20 6e 61 6d 65 3d 22 61 54 72 69 67 67 65 72 69 6e 67 45 76 65 6e 74 22 2f 3e 0a 20 20 | ter.name="aTriggeringEvent"/>... |
ca8e0 | 20 20 20 20 20 20 3c 62 6f 64 79 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 | ......<body><![CDATA[........... |
ca900 | 76 61 72 20 75 72 6c 20 3d 20 74 68 69 73 2e 76 61 6c 75 65 3b 0a 20 20 20 20 20 20 20 20 20 20 | var.url.=.this.value;........... |
ca920 | 69 66 20 28 21 75 72 6c 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 5b 22 22 | if.(!url).............return.["" |
ca940 | 2c 20 6e 75 6c 6c 5d 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 4f 6e 6c 79 20 61 64 64 20 | ,.null];............//.Only.add. |
ca960 | 74 68 65 20 73 75 66 66 69 78 20 77 68 65 6e 20 74 68 65 20 55 52 4c 20 62 61 72 20 76 61 6c 75 | the.suffix.when.the.URL.bar.valu |
ca980 | 65 20 69 73 6e 27 74 20 61 6c 72 65 61 64 79 20 22 55 52 4c 2d 6c 69 6b 65 22 2c 0a 20 20 20 20 | e.isn't.already."URL-like",..... |
ca9a0 | 20 20 20 20 20 20 2f 2f 20 61 6e 64 20 6f 6e 6c 79 20 69 66 20 77 65 20 67 65 74 20 61 20 6b 65 | ......//.and.only.if.we.get.a.ke |
ca9c0 | 79 62 6f 61 72 64 20 65 76 65 6e 74 2c 20 74 6f 20 6d 61 74 63 68 20 75 73 65 72 20 65 78 70 65 | yboard.event,.to.match.user.expe |
ca9e0 | 63 74 61 74 69 6f 6e 73 2e 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 2f 5e 5c 73 2a 28 77 | ctations............if.(!/^\s*(w |
caa00 | 77 77 7c 68 74 74 70 73 3f 29 5c 62 7c 5c 2f 5c 73 2a 24 2f 69 2e 74 65 73 74 28 75 72 6c 29 20 | ww|https?)\b|\/\s*$/i.test(url). |
caa20 | 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 61 54 72 69 67 67 65 72 69 6e 67 45 76 65 | &&...............(aTriggeringEve |
caa40 | 6e 74 20 69 6e 73 74 61 6e 63 65 6f 66 20 4b 65 79 45 76 65 6e 74 29 29 20 7b 0a 20 20 20 20 20 | nt.instanceof.KeyEvent)).{...... |
caa60 | 20 20 20 20 20 20 20 6c 65 74 20 61 63 63 65 6c 20 3d 20 61 54 72 69 67 67 65 72 69 6e 67 45 76 | .......let.accel.=.aTriggeringEv |
caa80 | 65 6e 74 2e 63 74 72 6c 4b 65 79 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 6c 65 74 20 73 68 69 | ent.ctrlKey;.............let.shi |
caaa0 | 66 74 20 3d 20 61 54 72 69 67 67 65 72 69 6e 67 45 76 65 6e 74 2e 73 68 69 66 74 4b 65 79 3b 0a | ft.=.aTriggeringEvent.shiftKey;. |
caac0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 6c 65 74 20 73 75 66 66 69 78 20 3d 20 22 22 3b 0a 0a 20 | .............let.suffix.=."";... |
caae0 | 20 20 20 20 20 20 20 20 20 20 20 73 77 69 74 63 68 20 28 74 72 75 65 29 20 7b 0a 20 20 20 20 20 | ...........switch.(true).{...... |
cab00 | 20 20 20 20 20 20 20 20 20 63 61 73 65 20 28 61 63 63 65 6c 20 26 26 20 73 68 69 66 74 29 3a 0a | .........case.(accel.&&.shift):. |
cab20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 75 66 66 69 78 20 3d 20 22 2e 6f 72 67 2f 22 | ................suffix.=.".org/" |
cab40 | 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 20 | ;.................break;........ |
cab60 | 20 20 20 20 20 20 20 63 61 73 65 20 28 73 68 69 66 74 29 3a 0a 20 20 20 20 20 20 20 20 20 20 20 | .......case.(shift):............ |
cab80 | 20 20 20 20 20 73 75 66 66 69 78 20 3d 20 22 2e 6e 65 74 2f 22 3b 0a 20 20 20 20 20 20 20 20 20 | .....suffix.=.".net/";.......... |
caba0 | 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 | .......break;...............case |
cabc0 | 20 28 61 63 63 65 6c 29 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 72 79 20 7b 0a | .(accel):.................try.{. |
cabe0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 75 66 66 69 78 20 3d 20 67 50 72 65 66 | ..................suffix.=.gPref |
cac00 | 53 65 72 76 69 63 65 2e 67 65 74 43 68 61 72 50 72 65 66 28 22 62 72 6f 77 73 65 72 2e 66 69 78 | Service.getCharPref("browser.fix |
cac20 | 75 70 2e 61 6c 74 65 72 6e 61 74 65 2e 73 75 66 66 69 78 22 29 3b 0a 20 20 20 20 20 20 20 20 20 | up.alternate.suffix");.......... |
cac40 | 20 20 20 20 20 20 20 20 20 69 66 20 28 73 75 66 66 69 78 2e 63 68 61 72 41 74 28 73 75 66 66 69 | .........if.(suffix.charAt(suffi |
cac60 | 78 2e 6c 65 6e 67 74 68 20 2d 20 31 29 20 21 3d 20 22 2f 22 29 0a 20 20 20 20 20 20 20 20 20 20 | x.length.-.1).!=."/")........... |
cac80 | 20 20 20 20 20 20 20 20 20 20 73 75 66 66 69 78 20 2b 3d 20 22 2f 22 3b 0a 20 20 20 20 20 20 20 | ..........suffix.+=."/";........ |
caca0 | 20 20 20 20 20 20 20 20 20 7d 20 63 61 74 63 68 28 65 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 | .........}.catch(e).{........... |
cacc0 | 20 20 20 20 20 20 20 20 73 75 66 66 69 78 20 3d 20 22 2e 63 6f 6d 2f 22 3b 0a 20 20 20 20 20 20 | ........suffix.=.".com/";....... |
cace0 | 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 | ..........}.................brea |
cad00 | 6b 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 | k;.............}..............if |
cad20 | 20 28 73 75 66 66 69 78 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 74 72 69 | .(suffix).{...............//.tri |
cad40 | 6d 20 6c 65 61 64 69 6e 67 2f 74 72 61 69 6c 69 6e 67 20 73 70 61 63 65 73 20 28 62 75 67 20 32 | m.leading/trailing.spaces.(bug.2 |
cad60 | 33 33 32 30 35 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 75 72 6c 20 3d 20 75 72 6c 2e 74 | 33205)...............url.=.url.t |
cad80 | 72 69 6d 28 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 54 61 63 6b 20 77 77 | rim();................//.Tack.ww |
cada0 | 77 2e 20 61 6e 64 20 73 75 66 66 69 78 20 6f 6e 2e 20 20 49 66 20 75 73 65 72 20 68 61 73 20 61 | w..and.suffix.on...If.user.has.a |
cadc0 | 70 70 65 6e 64 65 64 20 64 69 72 65 63 74 6f 72 69 65 73 2c 20 69 6e 73 65 72 74 0a 20 20 20 20 | ppended.directories,.insert..... |
cade0 | 20 20 20 20 20 20 20 20 20 20 2f 2f 20 73 75 66 66 69 78 20 62 65 66 6f 72 65 20 74 68 65 6d 20 | ..........//.suffix.before.them. |
cae00 | 28 62 75 67 20 32 37 39 30 33 35 29 2e 20 20 42 65 20 63 61 72 65 66 75 6c 20 6e 6f 74 20 74 6f | (bug.279035)...Be.careful.not.to |
cae20 | 20 67 65 74 20 74 77 6f 20 73 6c 61 73 68 65 73 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .get.two.slashes................ |
cae40 | 2f 2f 20 41 6c 73 6f 2c 20 64 6f 6e 27 74 20 61 64 64 20 74 68 65 20 73 75 66 66 69 78 20 69 66 | //.Also,.don't.add.the.suffix.if |
cae60 | 20 69 74 27 73 20 69 6e 20 74 68 65 20 6f 72 69 67 69 6e 61 6c 20 75 72 6c 20 28 62 75 67 20 32 | .it's.in.the.original.url.(bug.2 |
cae80 | 33 33 38 35 33 29 2e 0a 20 20 20 20 20 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 65 74 | 33853).......................let |
caea0 | 20 66 69 72 73 74 53 6c 61 73 68 20 3d 20 75 72 6c 2e 69 6e 64 65 78 4f 66 28 22 2f 22 29 3b 0a | .firstSlash.=.url.indexOf("/");. |
caec0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 65 74 20 65 78 69 73 74 69 6e 67 53 75 66 66 69 78 | ..............let.existingSuffix |
caee0 | 20 3d 20 75 72 6c 2e 69 6e 64 65 78 4f 66 28 73 75 66 66 69 78 2e 73 75 62 73 74 72 69 6e 67 28 | .=.url.indexOf(suffix.substring( |
caf00 | 30 2c 20 73 75 66 66 69 78 2e 6c 65 6e 67 74 68 20 2d 20 31 29 29 3b 0a 0a 20 20 20 20 20 20 20 | 0,.suffix.length.-.1));......... |
caf20 | 20 20 20 20 20 20 20 2f 2f 20 2a 20 4c 6f 67 69 63 20 66 6f 72 20 73 6c 61 73 68 20 61 6e 64 20 | .......//.*.Logic.for.slash.and. |
caf40 | 65 78 69 73 74 69 6e 67 20 73 75 66 66 69 78 20 28 65 78 61 6d 70 6c 65 29 0a 20 20 20 20 20 20 | existing.suffix.(example)....... |
caf60 | 20 20 20 20 20 20 20 20 2f 2f 20 4e 6f 20 73 6c 61 73 68 2c 20 6e 6f 20 73 75 66 66 69 78 3a 20 | ........//.No.slash,.no.suffix:. |
caf80 | 41 64 64 20 73 75 66 66 69 78 20 28 6d 6f 7a 69 6c 6c 61 29 0a 20 20 20 20 20 20 20 20 20 20 20 | Add.suffix.(mozilla)............ |
cafa0 | 20 20 20 2f 2f 20 4e 6f 20 73 6c 61 73 68 2c 20 79 65 73 20 73 75 66 66 69 78 3a 20 41 64 64 20 | ...//.No.slash,.yes.suffix:.Add. |
cafc0 | 73 6c 61 73 68 20 28 6d 6f 7a 69 6c 6c 61 2e 63 6f 6d 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 | slash.(mozilla.com)............. |
cafe0 | 20 20 2f 2f 20 59 65 73 20 73 6c 61 73 68 2c 20 6e 6f 20 73 75 66 66 69 78 3a 20 49 6e 73 65 72 | ..//.Yes.slash,.no.suffix:.Inser |
cb000 | 74 20 73 75 66 66 69 78 20 28 6d 6f 7a 69 6c 6c 61 2f 73 74 75 66 66 29 0a 20 20 20 20 20 20 20 | t.suffix.(mozilla/stuff)........ |
cb020 | 20 20 20 20 20 20 20 2f 2f 20 59 65 73 20 73 6c 61 73 68 2c 20 73 75 66 66 69 78 20 62 65 66 6f | .......//.Yes.slash,.suffix.befo |
cb040 | 72 65 20 73 6c 61 73 68 3a 20 44 6f 20 6e 6f 74 68 69 6e 67 20 28 6d 6f 7a 69 6c 6c 61 2e 63 6f | re.slash:.Do.nothing.(mozilla.co |
cb060 | 6d 2f 73 74 75 66 66 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 59 65 73 20 73 6c | m/stuff)...............//.Yes.sl |
cb080 | 61 73 68 2c 20 73 75 66 66 69 78 20 61 66 74 65 72 20 73 6c 61 73 68 3a 20 49 6e 73 65 72 74 20 | ash,.suffix.after.slash:.Insert. |
cb0a0 | 73 75 66 66 69 78 20 28 6d 6f 7a 69 6c 6c 61 2f 3f 73 74 75 66 66 3d 2e 63 6f 6d 29 0a 20 20 20 | suffix.(mozilla/?stuff=.com).... |
cb0c0 | 20 20 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 66 69 72 73 74 53 6c 61 73 68 | ..................if.(firstSlash |
cb0e0 | 20 3e 3d 20 30 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 65 78 69 | .>=.0).{.................if.(exi |
cb100 | 73 74 69 6e 67 53 75 66 66 69 78 20 3d 3d 20 2d 31 20 7c 7c 20 65 78 69 73 74 69 6e 67 53 75 66 | stingSuffix.==.-1.||.existingSuf |
cb120 | 66 69 78 20 3e 20 66 69 72 73 74 53 6c 61 73 68 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | fix.>.firstSlash)............... |
cb140 | 20 20 20 20 75 72 6c 20 3d 20 75 72 6c 2e 73 75 62 73 74 72 69 6e 67 28 30 2c 20 66 69 72 73 74 | ....url.=.url.substring(0,.first |
cb160 | 53 6c 61 73 68 29 20 2b 20 73 75 66 66 69 78 20 2b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | Slash).+.suffix.+............... |
cb180 | 20 20 20 20 20 20 20 20 20 20 75 72 6c 2e 73 75 62 73 74 72 69 6e 67 28 66 69 72 73 74 53 6c 61 | ..........url.substring(firstSla |
cb1a0 | 73 68 20 2b 20 31 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 20 65 6c 73 65 0a 20 20 | sh.+.1);...............}.else... |
cb1c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 75 72 6c 20 3d 20 75 72 6c 20 2b 20 28 65 78 69 73 74 | ..............url.=.url.+.(exist |
cb1e0 | 69 6e 67 53 75 66 66 69 78 20 3d 3d 20 2d 31 20 3f 20 73 75 66 66 69 78 20 3a 20 22 2f 22 29 3b | ingSuffix.==.-1.?.suffix.:."/"); |
cb200 | 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 75 72 6c 20 3d 20 22 68 74 74 70 3a 2f 2f 77 77 | ................url.=."http://ww |
cb220 | 77 2e 22 20 2b 20 75 72 6c 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 | w.".+.url;.............}........ |
cb240 | 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 70 6f 73 74 44 61 74 61 20 3d 20 7b | ...}............var.postData.=.{ |
cb260 | 7d 3b 0a 20 20 20 20 20 20 20 20 20 20 75 72 6c 20 3d 20 67 65 74 53 68 6f 72 74 63 75 74 4f 72 | };...........url.=.getShortcutOr |
cb280 | 55 52 49 28 75 72 6c 2c 20 70 6f 73 74 44 61 74 61 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 72 | URI(url,.postData);............r |
cb2a0 | 65 74 75 72 6e 20 5b 75 72 6c 2c 20 70 6f 73 74 44 61 74 61 2e 76 61 6c 75 65 5d 3b 0a 20 20 20 | eturn.[url,.postData.value];.... |
cb2c0 | 20 20 20 20 20 5d 5d 3e 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a | .....]]></body>.......</method>. |
cb2e0 | 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 5f 69 6e 69 74 55 52 4c 54 6f 6f | .......<method.name="_initURLToo |
cb300 | 6c 74 69 70 22 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 | ltip">.........<body><![CDATA[.. |
cb320 | 20 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 66 6f 63 75 73 65 64 20 7c 7c 20 74 68 69 | .........if.(this.focused.||.thi |
cb340 | 73 2e 76 61 6c 75 65 20 3d 3d 20 22 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 | s.value.==."").............retur |
cb360 | 6e 3b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 74 6f 6f 6c 74 69 70 54 69 | n;...........if.(this._tooltipTi |
cb380 | 6d 65 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 63 6c 65 61 72 54 69 6d 65 6f 75 74 28 74 68 | mer).............clearTimeout(th |
cb3a0 | 69 73 2e 5f 74 6f 6f 6c 74 69 70 54 69 6d 65 72 29 3b 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 | is._tooltipTimer);...........thi |
cb3c0 | 73 2e 5f 74 6f 6f 6c 74 69 70 54 69 6d 65 72 20 3d 20 73 65 74 54 69 6d 65 6f 75 74 28 66 75 6e | s._tooltipTimer.=.setTimeout(fun |
cb3e0 | 63 74 69 6f 6e 20 28 73 65 6c 66 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 73 65 6c 66 2e | ction.(self).{.............self. |
cb400 | 5f 74 6f 6f 6c 74 69 70 54 69 6d 65 72 20 3d 20 30 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 | _tooltipTimer.=.0;.............v |
cb420 | 61 72 20 6c 61 62 65 6c 20 3d 20 73 65 6c 66 2e 5f 75 72 6c 54 6f 6f 6c 74 69 70 2e 66 69 72 73 | ar.label.=.self._urlTooltip.firs |
cb440 | 74 43 68 69 6c 64 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 2e 76 61 6c 75 65 20 | tChild;.............label.value. |
cb460 | 3d 20 73 65 6c 66 2e 76 61 6c 75 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 62 4f | =.self.value;.............var.bO |
cb480 | 20 3d 20 73 65 6c 66 2e 62 6f 78 4f 62 6a 65 63 74 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 73 | .=.self.boxObject;.............s |
cb4a0 | 65 6c 66 2e 5f 75 72 6c 54 6f 6f 6c 74 69 70 2e 6d 61 78 57 69 64 74 68 20 3d 20 62 4f 2e 77 69 | elf._urlTooltip.maxWidth.=.bO.wi |
cb4c0 | 64 74 68 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 73 65 6c 66 2e 5f 75 72 6c 54 6f 6f 6c 74 69 | dth;.............self._urlToolti |
cb4e0 | 70 2e 73 68 6f 77 50 6f 70 75 70 28 73 65 6c 66 2c 20 62 4f 2e 73 63 72 65 65 6e 58 2c 20 62 4f | p.showPopup(self,.bO.screenX,.bO |
cb500 | 2e 73 63 72 65 65 6e 59 20 2b 20 62 4f 2e 68 65 69 67 68 74 2c 20 22 74 6f 6f 6c 74 69 70 22 29 | .screenY.+.bO.height,."tooltip") |
cb520 | 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 2c 20 37 30 30 2c 20 74 68 69 73 29 3b 0a 20 20 20 20 20 | ;...........},.700,.this);...... |
cb540 | 20 20 20 5d 5d 3e 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 | ...]]></body>.......</method>... |
cb560 | 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 5f 68 69 64 65 55 52 4c 54 6f 6f 6c 74 | .....<method.name="_hideURLToolt |
cb580 | 69 70 22 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 | ip">.........<body><![CDATA[.... |
cb5a0 | 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 74 6f 6f 6c 74 69 70 54 69 6d 65 72 29 20 7b | .......if.(this._tooltipTimer).{ |
cb5c0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 63 6c 65 61 72 54 69 6d 65 6f 75 74 28 74 68 69 73 2e 5f | .............clearTimeout(this._ |
cb5e0 | 74 6f 6f 6c 74 69 70 54 69 6d 65 72 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e | tooltipTimer);.............this. |
cb600 | 5f 74 6f 6f 6c 74 69 70 54 69 6d 65 72 20 3d 20 30 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 | _tooltipTimer.=.0;...........}.. |
cb620 | 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 75 72 6c 54 6f 6f 6c 74 69 70 2e 68 69 64 65 50 6f | .........this._urlTooltip.hidePo |
cb640 | 70 75 70 28 29 3b 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 | pup();.........]]></body>....... |
cb660 | 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 6f | </method>........<method.name="o |
cb680 | 6e 44 72 61 67 4f 76 65 72 22 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 0a 20 20 20 20 20 | nDragOver">.........<body>...... |
cb6a0 | 20 20 20 20 20 72 65 74 75 72 6e 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 3c 2f 62 6f 64 79 | .....return.true;.........</body |
cb6c0 | 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 | >.......</method>........<method |
cb6e0 | 20 6e 61 6d 65 3d 22 6f 6e 44 72 6f 70 22 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 | .name="onDrop">.........<paramet |
cb700 | 65 72 20 6e 61 6d 65 3d 22 61 45 76 65 6e 74 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 | er.name="aEvent"/>.........<para |
cb720 | 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 58 66 65 72 44 61 74 61 22 2f 3e 0a 20 20 20 20 20 20 20 | meter.name="aXferData"/>........ |
cb740 | 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 44 72 61 67 53 65 73 73 69 6f 6e 22 2f | .<parameter.name="aDragSession"/ |
cb760 | 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 | >.........<body><![CDATA[....... |
cb780 | 20 20 20 20 76 61 72 20 75 72 6c 20 3d 20 74 72 61 6e 73 66 65 72 55 74 69 6c 73 2e 72 65 74 72 | ....var.url.=.transferUtils.retr |
cb7a0 | 69 65 76 65 55 52 4c 46 72 6f 6d 44 61 74 61 28 61 58 66 65 72 44 61 74 61 2e 64 61 74 61 2c 20 | ieveURLFromData(aXferData.data,. |
cb7c0 | 61 58 66 65 72 44 61 74 61 2e 66 6c 61 76 6f 75 72 2e 63 6f 6e 74 65 6e 74 54 79 70 65 29 3b 0a | aXferData.flavour.contentType);. |
cb7e0 | 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 54 68 65 20 55 52 4c 20 62 61 72 20 61 75 74 6f 6d 61 | ...........//.The.URL.bar.automa |
cb800 | 74 69 63 61 6c 6c 79 20 68 61 6e 64 6c 65 73 20 69 6e 70 75 74 73 20 77 69 74 68 20 6e 65 77 6c | tically.handles.inputs.with.newl |
cb820 | 69 6e 65 20 63 68 61 72 61 63 74 65 72 73 2c 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 73 6f 20 | ine.characters,...........//.so. |
cb840 | 77 65 20 63 61 6e 20 67 65 74 20 61 77 61 79 20 77 69 74 68 20 74 72 65 61 74 69 6e 67 20 74 65 | we.can.get.away.with.treating.te |
cb860 | 78 74 2f 78 2d 6d 6f 7a 2d 75 72 6c 20 66 6c 61 76 6f 75 72 73 20 61 73 20 74 65 78 74 2f 75 6e | xt/x-moz-url.flavours.as.text/un |
cb880 | 69 63 6f 64 65 2e 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 75 72 6c 29 20 7b 0a 20 20 20 20 | icode............if.(url).{..... |
cb8a0 | 20 20 20 20 20 20 20 20 6e 73 44 72 61 67 41 6e 64 44 72 6f 70 2e 64 72 61 67 44 72 6f 70 53 65 | ........nsDragAndDrop.dragDropSe |
cb8c0 | 63 75 72 69 74 79 43 68 65 63 6b 28 61 45 76 65 6e 74 2c 20 61 44 72 61 67 53 65 73 73 69 6f 6e | curityCheck(aEvent,.aDragSession |
cb8e0 | 2c 20 75 72 6c 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 76 61 6c 75 65 20 | ,.url);..............this.value. |
cb900 | 3d 20 75 72 6c 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 53 65 74 50 61 67 65 50 72 6f 78 79 53 | =.url;.............SetPageProxyS |
cb920 | 74 61 74 65 28 22 69 6e 76 61 6c 69 64 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 72 79 | tate("invalid");.............try |
cb940 | 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 75 72 6c 53 65 63 75 72 69 74 79 43 68 65 63 | .{...............urlSecurityChec |
cb960 | 6b 28 74 68 69 73 2e 76 61 6c 75 65 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | k(this.value,................... |
cb980 | 20 20 20 20 20 20 20 20 20 20 20 20 20 67 42 72 6f 77 73 65 72 2e 63 6f 6e 74 65 6e 74 50 72 69 | .............gBrowser.contentPri |
cb9a0 | 6e 63 69 70 61 6c 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ncipal,......................... |
cb9c0 | 20 20 20 20 20 20 20 43 69 2e 6e 73 49 53 63 72 69 70 74 53 65 63 75 72 69 74 79 4d 61 6e 61 67 | .......Ci.nsIScriptSecurityManag |
cb9e0 | 65 72 2e 44 49 53 41 4c 4c 4f 57 5f 49 4e 48 45 52 49 54 5f 50 52 49 4e 43 49 50 41 4c 29 3b 0a | er.DISALLOW_INHERIT_PRINCIPAL);. |
cba00 | 20 20 20 20 20 20 20 20 20 20 20 20 7d 20 63 61 74 63 68 20 28 65 78 29 20 7b 0a 20 20 20 20 20 | ............}.catch.(ex).{...... |
cba20 | 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 | .........return;.............}.. |
cba40 | 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 68 61 6e 64 6c 65 43 6f 6d 6d 61 6e 64 28 29 3b | ...........this.handleCommand(); |
cba60 | 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 62 6f 64 79 3e 0a | ...........}.........]]></body>. |
cba80 | 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e | ......</method>........<method.n |
cbaa0 | 61 6d 65 3d 22 67 65 74 53 75 70 70 6f 72 74 65 64 46 6c 61 76 6f 75 72 73 22 3e 0a 20 20 20 20 | ame="getSupportedFlavours">..... |
cbac0 | 20 20 20 20 3c 62 6f 64 79 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 76 61 | ....<body><![CDATA[...........va |
cbae0 | 72 20 66 6c 61 76 6f 75 72 53 65 74 20 3d 20 6e 65 77 20 46 6c 61 76 6f 75 72 53 65 74 28 29 3b | r.flavourSet.=.new.FlavourSet(); |
cbb00 | 0a 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 46 61 76 6f 72 20 74 65 78 74 2f 78 2d 6d 6f 7a 2d | ............//.Favor.text/x-moz- |
cbb20 | 75 72 6c 20 73 69 6e 63 65 20 74 65 78 74 2f 75 6e 69 63 6f 64 65 20 63 6f 6d 69 6e 67 20 66 72 | url.since.text/unicode.coming.fr |
cbb40 | 6f 6d 20 57 69 6e 33 32 20 31 2e 38 20 62 72 61 6e 63 68 0a 20 20 20 20 20 20 20 20 20 20 2f 2f | om.Win32.1.8.branch...........// |
cbb60 | 20 64 72 6f 70 73 20 63 6f 6e 74 61 69 6e 73 20 55 52 4c 5c 6e 74 65 78 74 2e 20 20 54 68 65 20 | .drops.contains.URL\ntext...The. |
cbb80 | 70 72 65 76 69 6f 75 73 20 63 6f 6d 6d 65 6e 74 20 68 65 72 65 20 73 61 69 64 20 74 68 61 74 0a | previous.comment.here.said.that. |
cbba0 | 20 20 20 20 20 20 20 20 20 20 2f 2f 20 70 6c 61 69 6e 20 74 65 78 74 20 64 72 6f 70 73 20 6f 66 | ..........//.plain.text.drops.of |
cbbc0 | 74 65 6e 20 63 6f 6d 65 20 77 69 74 68 20 74 65 78 74 2f 78 2d 6d 6f 7a 2d 75 72 6c 20 66 6c 61 | ten.come.with.text/x-moz-url.fla |
cbbe0 | 76 6f 72 2c 20 62 75 74 20 49 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 68 61 76 65 6e 27 74 20 | vor,.but.I...........//.haven't. |
cbc00 | 73 65 65 6e 20 74 68 61 74 2c 20 73 6f 20 68 6f 70 65 66 75 6c 6c 79 20 74 68 61 74 20 62 65 68 | seen.that,.so.hopefully.that.beh |
cbc20 | 61 76 69 6f 72 20 68 61 73 20 63 68 61 6e 67 65 64 2e 0a 20 20 20 20 20 20 20 20 20 20 66 6c 61 | avior.has.changed............fla |
cbc40 | 76 6f 75 72 53 65 74 2e 61 70 70 65 6e 64 46 6c 61 76 6f 75 72 28 22 74 65 78 74 2f 78 2d 6d 6f | vourSet.appendFlavour("text/x-mo |
cbc60 | 7a 2d 75 72 6c 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 66 6c 61 76 6f 75 72 53 65 74 2e 61 70 | z-url");...........flavourSet.ap |
cbc80 | 70 65 6e 64 46 6c 61 76 6f 75 72 28 22 74 65 78 74 2f 75 6e 69 63 6f 64 65 22 29 3b 0a 20 20 20 | pendFlavour("text/unicode");.... |
cbca0 | 20 20 20 20 20 20 20 66 6c 61 76 6f 75 72 53 65 74 2e 61 70 70 65 6e 64 46 6c 61 76 6f 75 72 28 | .......flavourSet.appendFlavour( |
cbcc0 | 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f 78 2d 6d 6f 7a 2d 66 69 6c 65 22 2c 20 22 6e 73 49 46 69 | "application/x-moz-file",."nsIFi |
cbce0 | 6c 65 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 66 6c 61 76 6f 75 72 53 65 | le");...........return.flavourSe |
cbd00 | 74 3b 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 | t;.........]]></body>.......</me |
cbd20 | 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 5f 67 65 74 53 | thod>........<method.name="_getS |
cbd40 | 65 6c 65 63 74 65 64 56 61 6c 75 65 46 6f 72 43 6c 69 70 62 6f 61 72 64 22 3e 0a 20 20 20 20 20 | electedValueForClipboard">...... |
cbd60 | 20 20 20 3c 62 6f 64 79 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 | ...<body><![CDATA[...........var |
cbd80 | 20 76 61 6c 20 3d 20 74 68 69 73 2e 76 61 6c 75 65 2e 73 75 62 73 74 72 69 6e 67 28 74 68 69 73 | .val.=.this.value.substring(this |
cbda0 | 2e 73 65 6c 65 63 74 69 6f 6e 53 74 61 72 74 2c 20 74 68 69 73 2e 73 65 6c 65 63 74 69 6f 6e 45 | .selectionStart,.this.selectionE |
cbdc0 | 6e 64 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 49 66 20 74 68 65 20 65 6e 74 69 72 65 | nd);............//.If.the.entire |
cbde0 | 20 76 61 6c 75 65 20 69 73 20 73 65 6c 65 63 74 65 64 20 61 6e 64 20 69 74 27 73 20 61 20 76 61 | .value.is.selected.and.it's.a.va |
cbe00 | 6c 69 64 20 6e 6f 6e 2d 6a 61 76 61 73 63 72 69 70 74 2c 0a 20 20 20 20 20 20 20 20 20 20 2f 2f | lid.non-javascript,...........// |
cbe20 | 20 6e 6f 6e 2d 64 61 74 61 20 55 52 49 2c 20 65 6e 63 6f 64 65 20 69 74 2e 0a 20 20 20 20 20 20 | .non-data.URI,.encode.it........ |
cbe40 | 20 20 20 20 69 66 20 28 76 61 6c 20 3d 3d 20 74 68 69 73 2e 76 61 6c 75 65 20 26 26 0a 20 20 20 | ....if.(val.==.this.value.&&.... |
cbe60 | 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 70 61 | ...........this.getAttribute("pa |
cbe80 | 67 65 70 72 6f 78 79 73 74 61 74 65 22 29 20 3d 3d 20 22 76 61 6c 69 64 22 29 20 7b 0a 20 20 20 | geproxystate").==."valid").{.... |
cbea0 | 20 20 20 20 20 20 20 20 20 6c 65 74 20 75 72 69 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 6c 65 | .........let.uri;.............le |
cbec0 | 74 20 69 6f 53 65 72 76 69 63 65 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6e | t.ioService.=.Cc["@mozilla.org/n |
cbee0 | 65 74 77 6f 72 6b 2f 69 6f 2d 73 65 72 76 69 63 65 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 | etwork/io-service;1"]........... |
cbf00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 | .....................getService( |
cbf20 | 43 69 2e 6e 73 49 49 4f 53 65 72 76 69 63 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 72 | Ci.nsIIOService);.............tr |
cbf40 | 79 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 75 72 69 20 3d 20 69 6f 53 65 72 76 69 63 | y.{...............uri.=.ioServic |
cbf60 | 65 2e 6e 65 77 55 52 49 28 76 61 6c 2c 20 6e 75 6c 6c 2c 20 6e 75 6c 6c 29 3b 0a 20 20 20 20 20 | e.newURI(val,.null,.null);...... |
cbf80 | 20 20 20 20 20 20 20 7d 20 63 61 74 63 68 20 28 65 29 20 7b 7d 0a 0a 20 20 20 20 20 20 20 20 20 | .......}.catch.(e).{}........... |
cbfa0 | 20 20 20 69 66 20 28 75 72 69 20 26 26 20 21 75 72 69 2e 73 63 68 65 6d 65 49 73 28 22 6a 61 76 | ...if.(uri.&&.!uri.schemeIs("jav |
cbfc0 | 61 73 63 72 69 70 74 22 29 20 26 26 20 21 75 72 69 2e 73 63 68 65 6d 65 49 73 28 22 64 61 74 61 | ascript").&&.!uri.schemeIs("data |
cbfe0 | 22 29 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 6c 20 3d 20 75 72 69 2e 73 70 | ")).{...............val.=.uri.sp |
cc000 | 65 63 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 50 61 72 65 6e 74 68 65 73 65 | ec;................//.Parenthese |
cc020 | 73 20 61 72 65 20 6b 6e 6f 77 6e 20 74 6f 20 63 6f 6e 66 75 73 65 20 74 68 69 72 64 2d 70 61 72 | s.are.known.to.confuse.third-par |
cc040 | 74 79 20 61 70 70 6c 69 63 61 74 69 6f 6e 73 20 28 62 75 67 20 34 35 38 35 36 35 29 2e 0a 20 20 | ty.applications.(bug.458565).... |
cc060 | 20 20 20 20 20 20 20 20 20 20 20 20 76 61 6c 20 3d 20 76 61 6c 2e 72 65 70 6c 61 63 65 28 2f 5b | ............val.=.val.replace(/[ |
cc080 | 28 29 5d 2f 67 2c 20 66 75 6e 63 74 69 6f 6e 20 28 63 29 20 65 73 63 61 70 65 28 63 29 29 3b 0a | ()]/g,.function.(c).escape(c));. |
cc0a0 | 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 | ............}...........}....... |
cc0c0 | 20 20 20 20 20 72 65 74 75 72 6e 20 76 61 6c 3b 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 62 6f | .....return.val;.........]]></bo |
cc0e0 | 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 66 69 65 6c | dy>.......</method>........<fiel |
cc100 | 64 20 6e 61 6d 65 3d 22 5f 63 6f 70 79 43 75 74 43 6f 6e 74 72 6f 6c 6c 65 72 22 3e 3c 21 5b 43 | d.name="_copyCutController"><![C |
cc120 | 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 28 7b 0a 20 20 20 20 20 20 20 20 20 20 75 72 6c 62 61 | DATA[.........({...........urlba |
cc140 | 72 3a 20 74 68 69 73 2c 0a 20 20 20 20 20 20 20 20 20 20 64 6f 43 6f 6d 6d 61 6e 64 3a 20 66 75 | r:.this,...........doCommand:.fu |
cc160 | 6e 63 74 69 6f 6e 28 61 43 6f 6d 6d 61 6e 64 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 | nction(aCommand).{.............v |
cc180 | 61 72 20 75 72 6c 62 61 72 20 3d 20 74 68 69 73 2e 75 72 6c 62 61 72 3b 0a 20 20 20 20 20 20 20 | ar.urlbar.=.this.urlbar;........ |
cc1a0 | 20 20 20 20 20 76 61 72 20 76 61 6c 20 3d 20 75 72 6c 62 61 72 2e 5f 67 65 74 53 65 6c 65 63 74 | .....var.val.=.urlbar._getSelect |
cc1c0 | 65 64 56 61 6c 75 65 46 6f 72 43 6c 69 70 62 6f 61 72 64 28 29 3b 0a 20 20 20 20 20 20 20 20 20 | edValueForClipboard();.......... |
cc1e0 | 20 20 20 69 66 20 28 21 76 61 6c 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 | ...if.(!val)...............retur |
cc200 | 6e 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 61 43 6f 6d 6d 61 6e 64 20 3d 3d 20 | n;..............if.(aCommand.==. |
cc220 | 22 63 6d 64 5f 63 75 74 22 20 26 26 20 74 68 69 73 2e 69 73 43 6f 6d 6d 61 6e 64 45 6e 61 62 6c | "cmd_cut".&&.this.isCommandEnabl |
cc240 | 65 64 28 61 43 6f 6d 6d 61 6e 64 29 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 65 | ed(aCommand)).{...............le |
cc260 | 74 20 73 74 61 72 74 20 3d 20 75 72 6c 62 61 72 2e 73 65 6c 65 63 74 69 6f 6e 53 74 61 72 74 3b | t.start.=.urlbar.selectionStart; |
cc280 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 65 74 20 65 6e 64 20 3d 20 75 72 6c 62 61 72 2e | ...............let.end.=.urlbar. |
cc2a0 | 73 65 6c 65 63 74 69 6f 6e 45 6e 64 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 75 72 6c 62 | selectionEnd;...............urlb |
cc2c0 | 61 72 2e 76 61 6c 75 65 20 3d 20 75 72 6c 62 61 72 2e 76 61 6c 75 65 2e 73 75 62 73 74 72 69 6e | ar.value.=.urlbar.value.substrin |
cc2e0 | 67 28 30 2c 20 73 74 61 72 74 29 20 2b 20 75 72 6c 62 61 72 2e 76 61 6c 75 65 2e 73 75 62 73 74 | g(0,.start).+.urlbar.value.subst |
cc300 | 72 69 6e 67 28 65 6e 64 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 75 72 6c 62 61 72 2e | ring(end);...............urlbar. |
cc320 | 73 65 6c 65 63 74 69 6f 6e 53 74 61 72 74 20 3d 20 75 72 6c 62 61 72 2e 73 65 6c 65 63 74 69 6f | selectionStart.=.urlbar.selectio |
cc340 | 6e 45 6e 64 20 3d 20 73 74 61 72 74 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 53 65 74 50 | nEnd.=.start;...............SetP |
cc360 | 61 67 65 50 72 6f 78 79 53 74 61 74 65 28 22 69 6e 76 61 6c 69 64 22 29 3b 0a 20 20 20 20 20 20 | ageProxyState("invalid");....... |
cc380 | 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c | ......}..............Cc["@mozill |
cc3a0 | 61 2e 6f 72 67 2f 77 69 64 67 65 74 2f 63 6c 69 70 62 6f 61 72 64 68 65 6c 70 65 72 3b 31 22 5d | a.org/widget/clipboardhelper;1"] |
cc3c0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 | ................getService(Ci.ns |
cc3e0 | 49 43 6c 69 70 62 6f 61 72 64 48 65 6c 70 65 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | IClipboardHelper)............... |
cc400 | 2e 63 6f 70 79 53 74 72 69 6e 67 28 76 61 6c 29 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 2c 0a 20 | .copyString(val);...........},.. |
cc420 | 20 20 20 20 20 20 20 20 20 73 75 70 70 6f 72 74 73 43 6f 6d 6d 61 6e 64 3a 20 66 75 6e 63 74 69 | .........supportsCommand:.functi |
cc440 | 6f 6e 28 61 43 6f 6d 6d 61 6e 64 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 73 77 69 74 63 | on(aCommand).{.............switc |
cc460 | 68 20 28 61 43 6f 6d 6d 61 6e 64 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 | h.(aCommand).{...............cas |
cc480 | 65 20 22 63 6d 64 5f 63 6f 70 79 22 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 | e."cmd_copy":...............case |
cc4a0 | 20 22 63 6d 64 5f 63 75 74 22 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 | ."cmd_cut":.................retu |
cc4c0 | 72 6e 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 | rn.true;.............}.......... |
cc4e0 | 20 20 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 2c 0a 20 20 | ...return.false;...........},... |
cc500 | 20 20 20 20 20 20 20 20 69 73 43 6f 6d 6d 61 6e 64 45 6e 61 62 6c 65 64 3a 20 66 75 6e 63 74 69 | ........isCommandEnabled:.functi |
cc520 | 6f 6e 28 61 43 6f 6d 6d 61 6e 64 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 | on(aCommand).{.............retur |
cc540 | 6e 20 74 68 69 73 2e 73 75 70 70 6f 72 74 73 43 6f 6d 6d 61 6e 64 28 61 43 6f 6d 6d 61 6e 64 29 | n.this.supportsCommand(aCommand) |
cc560 | 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 61 43 6f 6d 6d 61 6e 64 | .&&....................(aCommand |
cc580 | 20 21 3d 20 22 63 6d 64 5f 63 75 74 22 20 7c 7c 20 21 74 68 69 73 2e 75 72 6c 62 61 72 2e 72 65 | .!=."cmd_cut".||.!this.urlbar.re |
cc5a0 | 61 64 4f 6e 6c 79 29 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 | adOnly).&&....................th |
cc5c0 | 69 73 2e 75 72 6c 62 61 72 2e 73 65 6c 65 63 74 69 6f 6e 53 74 61 72 74 20 3c 20 74 68 69 73 2e | is.urlbar.selectionStart.<.this. |
cc5e0 | 75 72 6c 62 61 72 2e 73 65 6c 65 63 74 69 6f 6e 45 6e 64 3b 0a 20 20 20 20 20 20 20 20 20 20 7d | urlbar.selectionEnd;...........} |
cc600 | 2c 0a 20 20 20 20 20 20 20 20 20 20 6f 6e 45 76 65 6e 74 3a 20 66 75 6e 63 74 69 6f 6e 28 61 45 | ,...........onEvent:.function(aE |
cc620 | 76 65 6e 74 4e 61 6d 65 29 20 7b 7d 0a 20 20 20 20 20 20 20 20 7d 29 0a 20 20 20 20 20 20 5d 5d | ventName).{}.........}).......]] |
cc640 | 3e 3c 2f 66 69 65 6c 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 6f | ></field>........<method.name="o |
cc660 | 62 73 65 72 76 65 22 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 | bserve">.........<parameter.name |
cc680 | 3d 22 61 53 75 62 6a 65 63 74 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 | ="aSubject"/>.........<parameter |
cc6a0 | 20 6e 61 6d 65 3d 22 61 54 6f 70 69 63 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 | .name="aTopic"/>.........<parame |
cc6c0 | 74 65 72 20 6e 61 6d 65 3d 22 61 44 61 74 61 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 | ter.name="aData"/>.........<body |
cc6e0 | 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 61 54 6f 70 69 63 20 | ><![CDATA[...........if.(aTopic. |
cc700 | 3d 3d 20 22 6e 73 50 72 65 66 3a 63 68 61 6e 67 65 64 22 29 20 7b 0a 20 20 20 20 20 20 20 20 20 | ==."nsPref:changed").{.......... |
cc720 | 20 20 20 73 77 69 74 63 68 28 61 44 61 74 61 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ...switch(aData).{.............. |
cc740 | 20 63 61 73 65 20 22 63 6c 69 63 6b 53 65 6c 65 63 74 73 41 6c 6c 22 3a 0a 20 20 20 20 20 20 20 | .case."clickSelectsAll":........ |
cc760 | 20 20 20 20 20 20 20 63 61 73 65 20 22 64 6f 75 62 6c 65 43 6c 69 63 6b 53 65 6c 65 63 74 73 41 | .......case."doubleClickSelectsA |
cc780 | 6c 6c 22 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 5b 61 44 61 74 61 5d | ll":.................this[aData] |
cc7a0 | 20 3d 20 74 68 69 73 2e 5f 70 72 65 66 73 2e 67 65 74 42 6f 6f 6c 50 72 65 66 28 61 44 61 74 61 | .=.this._prefs.getBoolPref(aData |
cc7c0 | 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 | );.................break;....... |
cc7e0 | 20 20 20 20 20 20 20 20 63 61 73 65 20 22 61 75 74 6f 46 69 6c 6c 22 3a 0a 20 20 20 20 20 20 20 | ........case."autoFill":........ |
cc800 | 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 63 6f 6d 70 6c 65 74 65 44 65 66 61 75 6c 74 49 6e 64 | .........this.completeDefaultInd |
cc820 | 65 78 20 3d 20 74 68 69 73 2e 5f 70 72 65 66 73 2e 67 65 74 42 6f 6f 6c 50 72 65 66 28 61 44 61 | ex.=.this._prefs.getBoolPref(aDa |
cc840 | 74 61 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 | ta);.................break;..... |
cc860 | 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 5d 5d | ........}...........}.........]] |
cc880 | 3e 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 | ></body>.......</method>........ |
cc8a0 | 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 68 61 6e 64 6c 65 45 76 65 6e 74 22 3e 0a 20 20 20 20 | <method.name="handleEvent">..... |
cc8c0 | 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 45 76 65 6e 74 22 2f 3e 0a 20 | ....<parameter.name="aEvent"/>.. |
cc8e0 | 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 | .......<body><![CDATA[.......... |
cc900 | 20 73 77 69 74 63 68 20 28 61 45 76 65 6e 74 2e 74 79 70 65 29 20 7b 0a 20 20 20 20 20 20 20 20 | .switch.(aEvent.type).{......... |
cc920 | 20 20 20 20 63 61 73 65 20 22 6d 6f 75 73 65 64 6f 77 6e 22 3a 0a 20 20 20 20 20 20 20 20 20 20 | ....case."mousedown":........... |
cc940 | 20 20 20 20 69 66 20 28 74 68 69 73 2e 64 6f 75 62 6c 65 43 6c 69 63 6b 53 65 6c 65 63 74 73 41 | ....if.(this.doubleClickSelectsA |
cc960 | 6c 6c 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 45 76 65 6e 74 2e 62 | ll.&&...................aEvent.b |
cc980 | 75 74 74 6f 6e 20 3d 3d 20 30 20 26 26 20 61 45 76 65 6e 74 2e 64 65 74 61 69 6c 20 3d 3d 20 32 | utton.==.0.&&.aEvent.detail.==.2 |
cc9a0 | 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 65 64 69 74 6f 72 2e | ).{.................this.editor. |
cc9c0 | 73 65 6c 65 63 74 41 6c 6c 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 45 76 | selectAll();.................aEv |
cc9e0 | 65 6e 74 2e 70 72 65 76 65 6e 74 44 65 66 61 75 6c 74 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 | ent.preventDefault();........... |
cca00 | 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 | ....}...............break;...... |
cca20 | 20 20 20 20 20 20 20 63 61 73 65 20 22 6d 6f 75 73 65 6d 6f 76 65 22 3a 0a 20 20 20 20 20 20 20 | .......case."mousemove":........ |
cca40 | 20 20 20 20 20 20 20 74 68 69 73 2e 5f 69 6e 69 74 55 52 4c 54 6f 6f 6c 74 69 70 28 29 3b 0a 20 | .......this._initURLTooltip();.. |
cca60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 | .............break;............. |
cca80 | 63 61 73 65 20 22 6d 6f 75 73 65 6f 75 74 22 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 | case."mouseout":...............t |
ccaa0 | 68 69 73 2e 5f 68 69 64 65 55 52 4c 54 6f 6f 6c 74 69 70 28 29 3b 0a 20 20 20 20 20 20 20 20 20 | his._hideURLTooltip();.......... |
ccac0 | 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 | .....break;...........}......... |
ccae0 | 5d 5d 3e 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 | ]]></body>.......</method>...... |
ccb00 | 20 20 3c 70 72 6f 70 65 72 74 79 20 6e 61 6d 65 3d 22 74 65 78 74 56 61 6c 75 65 22 0a 20 20 20 | ..<property.name="textValue".... |
ccb20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 67 65 74 3d 22 72 65 74 75 72 6e 20 74 68 69 73 2e | .............onget="return.this. |
ccb40 | 76 61 6c 75 65 3b 22 3e 0a 20 20 20 20 20 20 20 20 3c 73 65 74 74 65 72 3e 0a 20 20 20 20 20 20 | value;">.........<setter>....... |
ccb60 | 20 20 20 20 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 74 72 79 20 7b 0a 20 20 | ....<![CDATA[...........try.{... |
ccb80 | 20 20 20 20 20 20 20 20 20 20 6c 65 74 20 75 72 69 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 | ..........let.uri.=.Cc["@mozilla |
ccba0 | 2e 6f 72 67 2f 6e 65 74 77 6f 72 6b 2f 69 6f 2d 73 65 72 76 69 63 65 3b 31 22 5d 2e 0a 20 20 20 | .org/network/io-service;1"]..... |
ccbc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 69 | ...................getService(Ci |
ccbe0 | 2e 6e 73 49 49 4f 53 65 72 76 69 63 65 29 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .nsIIOService).................. |
ccc00 | 20 20 20 20 20 20 6e 65 77 55 52 49 28 76 61 6c 2c 20 6e 75 6c 6c 2c 20 6e 75 6c 6c 29 3b 0a 20 | ......newURI(val,.null,.null);.. |
ccc20 | 20 20 20 20 20 20 20 20 20 20 20 76 61 6c 20 3d 20 6c 6f 73 73 6c 65 73 73 44 65 63 6f 64 65 55 | ...........val.=.losslessDecodeU |
ccc40 | 52 49 28 75 72 69 29 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 20 63 61 74 63 68 20 28 65 78 29 20 | RI(uri);...........}.catch.(ex). |
ccc60 | 7b 20 7d 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 76 61 6c 75 65 20 3d 20 76 61 6c 3b 0a | {.}...........this.value.=.val;. |
ccc80 | 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 43 6f 6d 70 6c 65 74 69 6e 67 20 61 20 72 65 73 75 6c | ...........//.Completing.a.resul |
ccca0 | 74 20 73 68 6f 75 6c 64 20 73 69 6d 75 6c 61 74 65 20 74 68 65 20 75 73 65 72 20 74 79 70 69 6e | t.should.simulate.the.user.typin |
cccc0 | 67 20 74 68 65 20 72 65 73 75 6c 74 2c 20 73 6f 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 66 69 | g.the.result,.so...........//.fi |
ccce0 | 72 65 20 61 6e 20 69 6e 70 75 74 20 65 76 65 6e 74 2e 0a 20 20 20 20 20 20 20 20 20 20 6c 65 74 | re.an.input.event............let |
ccd00 | 20 65 76 74 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 63 72 65 61 74 65 45 76 65 6e 74 28 22 55 49 45 | .evt.=.document.createEvent("UIE |
ccd20 | 76 65 6e 74 73 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 65 76 74 2e 69 6e 69 74 55 49 45 76 65 | vents");...........evt.initUIEve |
ccd40 | 6e 74 28 22 69 6e 70 75 74 22 2c 20 74 72 75 65 2c 20 66 61 6c 73 65 2c 20 77 69 6e 64 6f 77 2c | nt("input",.true,.false,.window, |
ccd60 | 20 30 29 3b 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 49 67 6e 6f 72 65 49 6e 70 75 74 | .0);...........this.mIgnoreInput |
ccd80 | 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 64 69 73 70 61 74 63 68 | .=.true;...........this.dispatch |
ccda0 | 45 76 65 6e 74 28 65 76 74 29 3b 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 49 67 6e 6f | Event(evt);...........this.mIgno |
ccdc0 | 72 65 49 6e 70 75 74 20 3d 20 66 61 6c 73 65 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 | reInput.=.false;............retu |
ccde0 | 72 6e 20 74 68 69 73 2e 76 61 6c 75 65 3b 0a 20 20 20 20 20 20 20 20 20 20 5d 5d 3e 0a 20 20 20 | rn.this.value;...........]]>.... |
cce00 | 20 20 20 20 20 3c 2f 73 65 74 74 65 72 3e 0a 20 20 20 20 20 20 3c 2f 70 72 6f 70 65 72 74 79 3e | .....</setter>.......</property> |
cce20 | 0a 20 20 20 20 3c 2f 69 6d 70 6c 65 6d 65 6e 74 61 74 69 6f 6e 3e 0a 0a 20 20 20 20 3c 68 61 6e | .....</implementation>......<han |
cce40 | 64 6c 65 72 73 3e 0a 20 20 20 20 20 20 3c 68 61 6e 64 6c 65 72 20 65 76 65 6e 74 3d 22 66 6f 63 | dlers>.......<handler.event="foc |
cce60 | 75 73 22 20 70 68 61 73 65 3d 22 63 61 70 74 75 72 69 6e 67 22 20 61 63 74 69 6f 6e 3d 22 74 68 | us".phase="capturing".action="th |
cce80 | 69 73 2e 5f 68 69 64 65 55 52 4c 54 6f 6f 6c 74 69 70 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c | is._hideURLTooltip();"/>.......< |
ccea0 | 68 61 6e 64 6c 65 72 20 65 76 65 6e 74 3d 22 64 72 61 67 6f 76 65 72 22 20 70 68 61 73 65 3d 22 | handler.event="dragover".phase=" |
ccec0 | 63 61 70 74 75 72 69 6e 67 22 20 61 63 74 69 6f 6e 3d 22 6e 73 44 72 61 67 41 6e 64 44 72 6f 70 | capturing".action="nsDragAndDrop |
ccee0 | 2e 64 72 61 67 4f 76 65 72 28 65 76 65 6e 74 2c 20 74 68 69 73 29 3b 22 2f 3e 0a 20 20 20 20 20 | .dragOver(event,.this);"/>...... |
ccf00 | 20 3c 68 61 6e 64 6c 65 72 20 65 76 65 6e 74 3d 22 64 72 6f 70 22 20 70 68 61 73 65 3d 22 63 61 | .<handler.event="drop".phase="ca |
ccf20 | 70 74 75 72 69 6e 67 22 20 61 63 74 69 6f 6e 3d 22 6e 73 44 72 61 67 41 6e 64 44 72 6f 70 2e 64 | pturing".action="nsDragAndDrop.d |
ccf40 | 72 6f 70 28 65 76 65 6e 74 2c 20 74 68 69 73 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 68 61 6e 64 | rop(event,.this);"/>.......<hand |
ccf60 | 6c 65 72 20 65 76 65 6e 74 3d 22 73 65 6c 65 63 74 22 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 | ler.event="select"><![CDATA[.... |
ccf80 | 20 20 20 20 20 69 66 20 28 21 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 77 69 64 67 65 | .....if.(!Cc["@mozilla.org/widge |
ccfa0 | 74 2f 63 6c 69 70 62 6f 61 72 64 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e | t/clipboard;1"]................. |
ccfc0 | 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 43 6c 69 70 62 6f 61 72 64 29 0a 20 20 20 20 | getService(Ci.nsIClipboard)..... |
ccfe0 | 20 20 20 20 20 20 20 20 20 20 20 2e 73 75 70 70 6f 72 74 73 53 65 6c 65 63 74 69 6f 6e 43 6c 69 | ............supportsSelectionCli |
cd000 | 70 62 6f 61 72 64 28 29 29 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 20 | pboard())...........return;..... |
cd020 | 20 20 20 20 20 76 61 72 20 76 61 6c 20 3d 20 74 68 69 73 2e 5f 67 65 74 53 65 6c 65 63 74 65 64 | .....var.val.=.this._getSelected |
cd040 | 56 61 6c 75 65 46 6f 72 43 6c 69 70 62 6f 61 72 64 28 29 3b 0a 20 20 20 20 20 20 20 20 69 66 20 | ValueForClipboard();.........if. |
cd060 | 28 21 76 61 6c 29 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 20 20 20 20 | (!val)...........return;........ |
cd080 | 20 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 77 69 64 67 65 74 2f 63 6c 69 70 62 6f | ..Cc["@mozilla.org/widget/clipbo |
cd0a0 | 61 72 64 68 65 6c 70 65 72 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 | ardhelper;1"]............getServ |
cd0c0 | 69 63 65 28 43 69 2e 6e 73 49 43 6c 69 70 62 6f 61 72 64 48 65 6c 70 65 72 29 0a 20 20 20 20 20 | ice(Ci.nsIClipboardHelper)...... |
cd0e0 | 20 20 20 20 20 2e 63 6f 70 79 53 74 72 69 6e 67 54 6f 43 6c 69 70 62 6f 61 72 64 28 76 61 6c 2c | ......copyStringToClipboard(val, |
cd100 | 20 43 69 2e 6e 73 49 43 6c 69 70 62 6f 61 72 64 2e 6b 53 65 6c 65 63 74 69 6f 6e 43 6c 69 70 62 | .Ci.nsIClipboard.kSelectionClipb |
cd120 | 6f 61 72 64 29 3b 0a 20 20 20 20 20 20 5d 5d 3e 3c 2f 68 61 6e 64 6c 65 72 3e 0a 20 20 20 20 3c | oard);.......]]></handler>.....< |
cd140 | 2f 68 61 6e 64 6c 65 72 73 3e 0a 0a 20 20 3c 2f 62 69 6e 64 69 6e 67 3e 0a 0a 20 20 3c 21 2d 2d | /handlers>....</binding>....<!-- |
cd160 | 20 4e 6f 74 65 3a 20 74 68 69 73 20 62 69 6e 64 69 6e 67 20 69 73 20 61 70 70 6c 69 65 64 20 74 | .Note:.this.binding.is.applied.t |
cd180 | 6f 20 74 68 65 20 61 75 74 6f 63 6f 6d 70 6c 65 74 65 20 70 6f 70 75 70 20 75 73 65 64 20 69 6e | o.the.autocomplete.popup.used.in |
cd1a0 | 20 74 68 65 20 53 65 61 72 63 68 20 62 61 72 20 61 6e 64 20 69 6e 20 77 65 62 20 70 61 67 65 20 | .the.Search.bar.and.in.web.page. |
cd1c0 | 63 6f 6e 74 65 6e 74 20 2d 2d 3e 0a 20 20 3c 62 69 6e 64 69 6e 67 20 69 64 3d 22 62 72 6f 77 73 | content.-->...<binding.id="brows |
cd1e0 | 65 72 2d 61 75 74 6f 63 6f 6d 70 6c 65 74 65 2d 72 65 73 75 6c 74 2d 70 6f 70 75 70 22 20 65 78 | er-autocomplete-result-popup".ex |
cd200 | 74 65 6e 64 73 3d 22 63 68 72 6f 6d 65 3a 2f 2f 67 6c 6f 62 61 6c 2f 63 6f 6e 74 65 6e 74 2f 62 | tends="chrome://global/content/b |
cd220 | 69 6e 64 69 6e 67 73 2f 61 75 74 6f 63 6f 6d 70 6c 65 74 65 2e 78 6d 6c 23 61 75 74 6f 63 6f 6d | indings/autocomplete.xml#autocom |
cd240 | 70 6c 65 74 65 2d 72 65 73 75 6c 74 2d 70 6f 70 75 70 22 3e 0a 20 20 20 20 3c 69 6d 70 6c 65 6d | plete-result-popup">.....<implem |
cd260 | 65 6e 74 61 74 69 6f 6e 3e 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 6f 70 | entation>.......<method.name="op |
cd280 | 65 6e 41 75 74 6f 63 6f 6d 70 6c 65 74 65 50 6f 70 75 70 22 3e 0a 20 20 20 20 20 20 20 20 3c 70 | enAutocompletePopup">.........<p |
cd2a0 | 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 49 6e 70 75 74 22 2f 3e 0a 20 20 20 20 20 20 20 | arameter.name="aInput"/>........ |
cd2c0 | 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 45 6c 65 6d 65 6e 74 22 2f 3e 0a 20 20 | .<parameter.name="aElement"/>... |
cd2e0 | 20 20 20 20 20 20 3c 62 6f 64 79 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 21 5b 43 44 41 54 41 5b | ......<body>...........<![CDATA[ |
cd300 | 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 69 6e 69 74 69 61 6c 6c 79 20 74 68 65 20 70 61 6e 65 | ...........//.initially.the.pane |
cd320 | 6c 20 69 73 20 68 69 64 64 65 6e 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 74 6f 20 61 76 6f 69 | l.is.hidden...........//.to.avoi |
cd340 | 64 20 69 6d 70 61 63 74 69 6e 67 20 73 74 61 72 74 75 70 20 2f 20 6e 65 77 20 77 69 6e 64 6f 77 | d.impacting.startup./.new.window |
cd360 | 20 70 65 72 66 6f 72 6d 61 6e 63 65 0a 20 20 20 20 20 20 20 20 20 20 61 49 6e 70 75 74 2e 70 6f | .performance...........aInput.po |
cd380 | 70 75 70 2e 68 69 64 64 65 6e 20 3d 20 66 61 6c 73 65 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 2f | pup.hidden.=.false;............/ |
cd3a0 | 2f 20 74 68 69 73 20 6d 65 74 68 6f 64 20 69 73 20 64 65 66 69 6e 65 64 20 6f 6e 20 74 68 65 20 | /.this.method.is.defined.on.the. |
cd3c0 | 62 61 73 65 20 62 69 6e 64 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 6f 70 65 | base.binding...........this._ope |
cd3e0 | 6e 41 75 74 6f 63 6f 6d 70 6c 65 74 65 50 6f 70 75 70 28 61 49 6e 70 75 74 2c 20 61 45 6c 65 6d | nAutocompletePopup(aInput,.aElem |
cd400 | 65 6e 74 29 3b 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c | ent);.........]]></body>.......< |
cd420 | 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 6f 6e | /method>........<method.name="on |
cd440 | 50 6f 70 75 70 43 6c 69 63 6b 22 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 | PopupClick">.........<parameter. |
cd460 | 6e 61 6d 65 3d 22 61 45 76 65 6e 74 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 3c 21 | name="aEvent"/>.........<body><! |
cd480 | 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 49 67 6e 6f 72 65 20 61 6c 6c 20 | [CDATA[...........//.Ignore.all. |
cd4a0 | 72 69 67 68 74 2d 63 6c 69 63 6b 73 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 61 45 76 65 6e | right-clicks...........if.(aEven |
cd4c0 | 74 2e 62 75 74 74 6f 6e 20 3d 3d 20 32 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 | t.button.==.2).............retur |
cd4e0 | 6e 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 63 6f 6e 74 72 6f 6c 6c 65 72 20 3d 20 74 | n;............var.controller.=.t |
cd500 | 68 69 73 2e 76 69 65 77 2e 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 28 43 6f 6d 70 6f 6e 65 6e | his.view.QueryInterface(Componen |
cd520 | 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 41 75 74 6f 43 6f 6d 70 6c 65 74 65 43 6f 6e | ts.interfaces.nsIAutoCompleteCon |
cd540 | 74 72 6f 6c 6c 65 72 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 43 68 65 63 6b 20 66 6f | troller);............//.Check.fo |
cd560 | 72 20 75 6e 6d 6f 64 69 66 69 65 64 20 6c 65 66 74 2d 63 6c 69 63 6b 2c 20 61 6e 64 20 75 73 65 | r.unmodified.left-click,.and.use |
cd580 | 20 64 65 66 61 75 6c 74 20 62 65 68 61 76 69 6f 72 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 | .default.behavior...........if.( |
cd5a0 | 61 45 76 65 6e 74 2e 62 75 74 74 6f 6e 20 3d 3d 20 30 20 26 26 20 21 61 45 76 65 6e 74 2e 73 68 | aEvent.button.==.0.&&.!aEvent.sh |
cd5c0 | 69 66 74 4b 65 79 20 26 26 20 21 61 45 76 65 6e 74 2e 63 74 72 6c 4b 65 79 20 26 26 0a 20 20 20 | iftKey.&&.!aEvent.ctrlKey.&&.... |
cd5e0 | 20 20 20 20 20 20 20 20 20 20 20 21 61 45 76 65 6e 74 2e 61 6c 74 4b 65 79 20 26 26 20 21 61 45 | ...........!aEvent.altKey.&&.!aE |
cd600 | 76 65 6e 74 2e 6d 65 74 61 4b 65 79 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6e 74 | vent.metaKey).{.............cont |
cd620 | 72 6f 6c 6c 65 72 2e 68 61 6e 64 6c 65 45 6e 74 65 72 28 74 72 75 65 29 3b 0a 20 20 20 20 20 20 | roller.handleEnter(true);....... |
cd640 | 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 | ......return;...........}....... |
cd660 | 20 20 20 20 20 2f 2f 20 43 68 65 63 6b 20 66 6f 72 20 6d 69 64 64 6c 65 2d 63 6c 69 63 6b 20 6f | .....//.Check.for.middle-click.o |
cd680 | 72 20 6d 6f 64 69 66 69 65 64 20 63 6c 69 63 6b 73 20 6f 6e 20 74 68 65 20 73 65 61 72 63 68 20 | r.modified.clicks.on.the.search. |
cd6a0 | 62 61 72 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 73 65 61 72 63 68 42 61 72 20 3d 20 42 72 | bar...........var.searchBar.=.Br |
cd6c0 | 6f 77 73 65 72 53 65 61 72 63 68 2e 73 65 61 72 63 68 42 61 72 3b 0a 20 20 20 20 20 20 20 20 20 | owserSearch.searchBar;.......... |
cd6e0 | 20 69 66 20 28 73 65 61 72 63 68 42 61 72 20 26 26 20 73 65 61 72 63 68 42 61 72 2e 74 65 78 74 | .if.(searchBar.&&.searchBar.text |
cd700 | 62 6f 78 20 3d 3d 20 74 68 69 73 2e 6d 49 6e 70 75 74 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 | box.==.this.mInput).{........... |
cd720 | 20 20 2f 2f 20 48 61 6e 64 6c 65 20 73 65 61 72 63 68 20 62 61 72 20 70 6f 70 75 70 20 63 6c 69 | ..//.Handle.search.bar.popup.cli |
cd740 | 63 6b 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 73 65 61 72 63 68 20 3d 20 63 6f 6e | cks.............var.search.=.con |
cd760 | 74 72 6f 6c 6c 65 72 2e 67 65 74 56 61 6c 75 65 41 74 28 74 68 69 73 2e 73 65 6c 65 63 74 65 64 | troller.getValueAt(this.selected |
cd780 | 49 6e 64 65 78 29 3b 0a 20 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 63 6c 6f 73 65 20 | Index);................//.close. |
cd7a0 | 74 68 65 20 61 75 74 6f 63 6f 6d 70 6c 65 74 65 20 70 6f 70 75 70 20 61 6e 64 20 72 65 76 65 72 | the.autocomplete.popup.and.rever |
cd7c0 | 74 20 74 68 65 20 65 6e 74 65 72 65 64 20 73 65 61 72 63 68 20 74 65 72 6d 0a 20 20 20 20 20 20 | t.the.entered.search.term....... |
cd7e0 | 20 20 20 20 20 20 74 68 69 73 2e 63 6c 6f 73 65 50 6f 70 75 70 28 29 3b 0a 20 20 20 20 20 20 20 | ......this.closePopup();........ |
cd800 | 20 20 20 20 20 63 6f 6e 74 72 6f 6c 6c 65 72 2e 68 61 6e 64 6c 65 45 73 63 61 70 65 28 29 3b 0a | .....controller.handleEscape();. |
cd820 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 46 69 6c 6c 20 69 6e 20 74 68 65 20 73 65 61 72 | .............//.Fill.in.the.sear |
cd840 | 63 68 20 62 61 72 27 73 20 76 61 6c 75 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 73 65 61 72 63 | ch.bar's.value.............searc |
cd860 | 68 42 61 72 2e 76 61 6c 75 65 20 3d 20 73 65 61 72 63 68 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 | hBar.value.=.search;............ |
cd880 | 20 20 2f 2f 20 6f 70 65 6e 20 74 68 65 20 73 65 61 72 63 68 20 72 65 73 75 6c 74 73 20 61 63 63 | ..//.open.the.search.results.acc |
cd8a0 | 6f 72 64 69 6e 67 20 74 6f 20 74 68 65 20 63 6c 69 63 6b 69 6e 67 20 73 75 62 74 6c 65 74 79 0a | ording.to.the.clicking.subtlety. |
cd8c0 | 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 77 68 65 72 65 20 3d 20 77 68 65 72 65 54 6f 4f | ............var.where.=.whereToO |
cd8e0 | 70 65 6e 4c 69 6e 6b 28 61 45 76 65 6e 74 2c 20 66 61 6c 73 65 2c 20 74 72 75 65 29 3b 0a 20 20 | penLink(aEvent,.false,.true);... |
cd900 | 20 20 20 20 20 20 20 20 20 20 73 65 61 72 63 68 42 61 72 2e 64 6f 53 65 61 72 63 68 28 73 65 61 | ..........searchBar.doSearch(sea |
cd920 | 72 63 68 2c 20 77 68 65 72 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 | rch,.where);...........}........ |
cd940 | 20 20 20 5d 5d 3e 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a | ...]]></body>.........</method>. |
cd960 | 20 20 20 20 20 20 3c 2f 69 6d 70 6c 65 6d 65 6e 74 61 74 69 6f 6e 3e 0a 20 20 20 20 3c 2f 62 69 | ......</implementation>.....</bi |
cd980 | 6e 64 69 6e 67 3e 0a 0a 20 20 20 20 3c 62 69 6e 64 69 6e 67 20 69 64 3d 22 75 72 6c 62 61 72 2d | nding>......<binding.id="urlbar- |
cd9a0 | 72 69 63 68 2d 72 65 73 75 6c 74 2d 70 6f 70 75 70 22 20 65 78 74 65 6e 64 73 3d 22 63 68 72 6f | rich-result-popup".extends="chro |
cd9c0 | 6d 65 3a 2f 2f 67 6c 6f 62 61 6c 2f 63 6f 6e 74 65 6e 74 2f 62 69 6e 64 69 6e 67 73 2f 61 75 74 | me://global/content/bindings/aut |
cd9e0 | 6f 63 6f 6d 70 6c 65 74 65 2e 78 6d 6c 23 61 75 74 6f 63 6f 6d 70 6c 65 74 65 2d 72 69 63 68 2d | ocomplete.xml#autocomplete-rich- |
cda00 | 72 65 73 75 6c 74 2d 70 6f 70 75 70 22 3e 0a 20 20 20 20 20 20 3c 69 6d 70 6c 65 6d 65 6e 74 61 | result-popup">.......<implementa |
cda20 | 74 69 6f 6e 3e 0a 20 20 20 20 20 20 3c 66 69 65 6c 64 20 6e 61 6d 65 3d 22 5f 6d 61 78 52 65 73 | tion>.......<field.name="_maxRes |
cda40 | 75 6c 74 73 22 3e 30 3c 2f 66 69 65 6c 64 3e 0a 0a 20 20 20 20 20 20 3c 66 69 65 6c 64 20 6e 61 | ults">0</field>........<field.na |
cda60 | 6d 65 3d 22 5f 62 75 6e 64 6c 65 22 20 72 65 61 64 6f 6e 6c 79 3d 22 74 72 75 65 22 3e 0a 20 20 | me="_bundle".readonly="true">... |
cda80 | 20 20 20 20 20 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 69 6e 74 6c 2f 73 74 72 69 | ......Cc["@mozilla.org/intl/stri |
cdaa0 | 6e 67 62 75 6e 64 6c 65 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 67 65 74 53 65 72 76 69 | ngbundle;1"]............getServi |
cdac0 | 63 65 28 43 69 2e 6e 73 49 53 74 72 69 6e 67 42 75 6e 64 6c 65 53 65 72 76 69 63 65 29 2e 0a 20 | ce(Ci.nsIStringBundleService)... |
cdae0 | 20 20 20 20 20 20 20 20 20 63 72 65 61 74 65 42 75 6e 64 6c 65 28 22 63 68 72 6f 6d 65 3a 2f 2f | .........createBundle("chrome:// |
cdb00 | 62 72 6f 77 73 65 72 2f 6c 6f 63 61 6c 65 2f 70 6c 61 63 65 73 2f 70 6c 61 63 65 73 2e 70 72 6f | browser/locale/places/places.pro |
cdb20 | 70 65 72 74 69 65 73 22 29 3b 0a 20 20 20 20 20 20 3c 2f 66 69 65 6c 64 3e 0a 0a 20 20 20 20 20 | perties");.......</field>....... |
cdb40 | 20 3c 70 72 6f 70 65 72 74 79 20 6e 61 6d 65 3d 22 6d 61 78 52 65 73 75 6c 74 73 22 20 72 65 61 | .<property.name="maxResults".rea |
cdb60 | 64 6f 6e 6c 79 3d 22 74 72 75 65 22 3e 0a 20 20 20 20 20 20 20 20 3c 67 65 74 74 65 72 3e 0a 20 | donly="true">.........<getter>.. |
cdb80 | 20 20 20 20 20 20 20 20 20 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 | .........<![CDATA[.............i |
cdba0 | 66 20 28 21 74 68 69 73 2e 5f 6d 61 78 52 65 73 75 6c 74 73 29 20 7b 0a 20 20 20 20 20 20 20 20 | f.(!this._maxResults).{......... |
cdbc0 | 20 20 20 20 20 20 76 61 72 20 70 72 65 66 53 65 72 76 69 63 65 20 3d 0a 20 20 20 20 20 20 20 20 | ......var.prefService.=......... |
cdbe0 | 20 20 20 20 20 20 20 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a | ........Components.classes["@moz |
cdc00 | 69 6c 6c 61 2e 6f 72 67 2f 70 72 65 66 65 72 65 6e 63 65 73 2d 73 65 72 76 69 63 65 3b 31 22 5d | illa.org/preferences-service;1"] |
cdc20 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 | ............................getS |
cdc40 | 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 | ervice(Components.interfaces.nsI |
cdc60 | 50 72 65 66 42 72 61 6e 63 68 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e | PrefBranch);...............this. |
cdc80 | 5f 6d 61 78 52 65 73 75 6c 74 73 20 3d 20 70 72 65 66 53 65 72 76 69 63 65 2e 67 65 74 49 6e 74 | _maxResults.=.prefService.getInt |
cdca0 | 50 72 65 66 28 22 62 72 6f 77 73 65 72 2e 75 72 6c 62 61 72 2e 6d 61 78 52 69 63 68 52 65 73 75 | Pref("browser.urlbar.maxRichResu |
cdcc0 | 6c 74 73 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 | lts");.............}............ |
cdce0 | 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 6d 61 78 52 65 73 75 6c 74 73 3b 0a 20 20 20 20 20 20 | .return.this._maxResults;....... |
cdd00 | 20 20 20 20 5d 5d 3e 0a 20 20 20 20 20 20 20 20 3c 2f 67 65 74 74 65 72 3e 0a 20 20 20 20 20 20 | ....]]>.........</getter>....... |
cdd20 | 3c 2f 70 72 6f 70 65 72 74 79 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d | </property>........<method.name= |
cdd40 | 22 6f 70 65 6e 41 75 74 6f 63 6f 6d 70 6c 65 74 65 50 6f 70 75 70 22 3e 0a 20 20 20 20 20 20 20 | "openAutocompletePopup">........ |
cdd60 | 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 49 6e 70 75 74 22 2f 3e 0a 20 20 20 20 | .<parameter.name="aInput"/>..... |
cdd80 | 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 45 6c 65 6d 65 6e 74 22 2f 3e | ....<parameter.name="aElement"/> |
cdda0 | 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 21 5b 43 44 41 | .........<body>...........<![CDA |
cddc0 | 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 69 6e 69 74 69 61 6c 6c 79 20 74 68 65 20 70 | TA[...........//.initially.the.p |
cdde0 | 61 6e 65 6c 20 69 73 20 68 69 64 64 65 6e 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 74 6f 20 61 | anel.is.hidden...........//.to.a |
cde00 | 76 6f 69 64 20 69 6d 70 61 63 74 69 6e 67 20 73 74 61 72 74 75 70 20 2f 20 6e 65 77 20 77 69 6e | void.impacting.startup./.new.win |
cde20 | 64 6f 77 20 70 65 72 66 6f 72 6d 61 6e 63 65 0a 20 20 20 20 20 20 20 20 20 20 61 49 6e 70 75 74 | dow.performance...........aInput |
cde40 | 2e 70 6f 70 75 70 2e 68 69 64 64 65 6e 20 3d 20 66 61 6c 73 65 3b 0a 0a 20 20 20 20 20 20 20 20 | .popup.hidden.=.false;.......... |
cde60 | 20 20 2f 2f 20 74 68 69 73 20 6d 65 74 68 6f 64 20 69 73 20 64 65 66 69 6e 65 64 20 6f 6e 20 74 | ..//.this.method.is.defined.on.t |
cde80 | 68 65 20 62 61 73 65 20 62 69 6e 64 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f | he.base.binding...........this._ |
cdea0 | 6f 70 65 6e 41 75 74 6f 63 6f 6d 70 6c 65 74 65 50 6f 70 75 70 28 61 49 6e 70 75 74 2c 20 61 45 | openAutocompletePopup(aInput,.aE |
cdec0 | 6c 65 6d 65 6e 74 29 3b 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 | lement);.........]]></body>..... |
cdee0 | 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d | ..</method>........<method.name= |
cdf00 | 22 6f 6e 50 6f 70 75 70 43 6c 69 63 6b 22 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 | "onPopupClick">.........<paramet |
cdf20 | 65 72 20 6e 61 6d 65 3d 22 61 45 76 65 6e 74 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 | er.name="aEvent"/>.........<body |
cdf40 | 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 | >...........<![CDATA[........... |
cdf60 | 2f 2f 20 49 67 6e 6f 72 65 20 72 69 67 68 74 2d 63 6c 69 63 6b 73 0a 20 20 20 20 20 20 20 20 20 | //.Ignore.right-clicks.......... |
cdf80 | 20 69 66 20 28 61 45 76 65 6e 74 2e 62 75 74 74 6f 6e 20 3d 3d 20 32 29 0a 20 20 20 20 20 20 20 | .if.(aEvent.button.==.2)........ |
cdfa0 | 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 63 6f 6e 74 | .....return;............var.cont |
cdfc0 | 72 6f 6c 6c 65 72 20 3d 20 74 68 69 73 2e 76 69 65 77 2e 51 75 65 72 79 49 6e 74 65 72 66 61 63 | roller.=.this.view.QueryInterfac |
cdfe0 | 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 41 75 74 6f 43 | e(Components.interfaces.nsIAutoC |
ce000 | 6f 6d 70 6c 65 74 65 43 6f 6e 74 72 6f 6c 6c 65 72 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 2f | ompleteController);............/ |
ce020 | 2f 20 43 68 65 63 6b 20 66 6f 72 20 75 6e 6d 6f 64 69 66 69 65 64 20 6c 65 66 74 2d 63 6c 69 63 | /.Check.for.unmodified.left-clic |
ce040 | 6b 2c 20 61 6e 64 20 75 73 65 20 64 65 66 61 75 6c 74 20 62 65 68 61 76 69 6f 72 0a 20 20 20 20 | k,.and.use.default.behavior..... |
ce060 | 20 20 20 20 20 20 69 66 20 28 61 45 76 65 6e 74 2e 62 75 74 74 6f 6e 20 3d 3d 20 30 20 26 26 20 | ......if.(aEvent.button.==.0.&&. |
ce080 | 21 61 45 76 65 6e 74 2e 73 68 69 66 74 4b 65 79 20 26 26 20 21 61 45 76 65 6e 74 2e 63 74 72 6c | !aEvent.shiftKey.&&.!aEvent.ctrl |
ce0a0 | 4b 65 79 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 21 61 45 76 65 6e 74 2e 61 6c 74 | Key.&&...............!aEvent.alt |
ce0c0 | 4b 65 79 20 26 26 20 21 61 45 76 65 6e 74 2e 6d 65 74 61 4b 65 79 29 20 7b 0a 20 20 20 20 20 20 | Key.&&.!aEvent.metaKey).{....... |
ce0e0 | 20 20 20 20 20 20 63 6f 6e 74 72 6f 6c 6c 65 72 2e 68 61 6e 64 6c 65 45 6e 74 65 72 28 74 72 75 | ......controller.handleEnter(tru |
ce100 | 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 20 20 20 20 20 20 | e);.............return;......... |
ce120 | 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 43 68 65 63 6b 20 66 6f 72 20 6d 69 64 64 | ..}............//.Check.for.midd |
ce140 | 6c 65 2d 63 6c 69 63 6b 20 6f 72 20 6d 6f 64 69 66 69 65 64 20 63 6c 69 63 6b 73 20 6f 6e 20 74 | le-click.or.modified.clicks.on.t |
ce160 | 68 65 20 55 52 4c 20 62 61 72 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 67 55 52 4c 42 61 72 | he.URL.bar...........if.(gURLBar |
ce180 | 20 26 26 20 74 68 69 73 2e 6d 49 6e 70 75 74 20 3d 3d 20 67 55 52 4c 42 61 72 29 20 7b 0a 20 20 | .&&.this.mInput.==.gURLBar).{... |
ce1a0 | 20 20 20 20 20 20 20 20 20 20 76 61 72 20 75 72 6c 20 3d 20 63 6f 6e 74 72 6f 6c 6c 65 72 2e 67 | ..........var.url.=.controller.g |
ce1c0 | 65 74 56 61 6c 75 65 41 74 28 74 68 69 73 2e 73 65 6c 65 63 74 65 64 49 6e 64 65 78 29 3b 0a 0a | etValueAt(this.selectedIndex);.. |
ce1e0 | 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 63 6c 6f 73 65 20 74 68 65 20 61 75 74 6f 63 6f 6d | ............//.close.the.autocom |
ce200 | 70 6c 65 74 65 20 70 6f 70 75 70 20 61 6e 64 20 72 65 76 65 72 74 20 74 68 65 20 65 6e 74 65 72 | plete.popup.and.revert.the.enter |
ce220 | 65 64 20 61 64 64 72 65 73 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 63 6c 6f 73 | ed.address.............this.clos |
ce240 | 65 50 6f 70 75 70 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6e 74 72 6f 6c 6c 65 72 | ePopup();.............controller |
ce260 | 2e 68 61 6e 64 6c 65 45 73 63 61 70 65 28 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f | .handleEscape();..............// |
ce280 | 20 72 65 73 70 65 63 74 20 74 68 65 20 75 73 75 61 6c 20 63 6c 69 63 6b 69 6e 67 20 73 75 62 74 | .respect.the.usual.clicking.subt |
ce2a0 | 6c 65 74 69 65 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 6f 70 65 6e 55 49 4c 69 6e 6b 28 75 72 | leties.............openUILink(ur |
ce2c0 | 6c 2c 20 61 45 76 65 6e 74 29 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 | l,.aEvent);...........}......... |
ce2e0 | 5d 5d 3e 0a 20 20 20 20 20 20 20 20 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 | ]]>.........</body>.......</meth |
ce300 | 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 63 72 65 61 74 65 52 | od>........<method.name="createR |
ce320 | 65 73 75 6c 74 4c 61 62 65 6c 22 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 | esultLabel">.........<parameter. |
ce340 | 6e 61 6d 65 3d 22 61 54 69 74 6c 65 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 | name="aTitle"/>.........<paramet |
ce360 | 65 72 20 6e 61 6d 65 3d 22 61 55 72 6c 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 | er.name="aUrl"/>.........<parame |
ce380 | 74 65 72 20 6e 61 6d 65 3d 22 61 54 79 70 65 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 | ter.name="aType"/>.........<body |
ce3a0 | 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 | >...........<![CDATA[........... |
ce3c0 | 20 20 76 61 72 20 6c 61 62 65 6c 20 3d 20 61 54 69 74 6c 65 20 2b 20 22 20 22 20 2b 20 61 55 72 | ..var.label.=.aTitle.+.".".+.aUr |
ce3e0 | 6c 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 63 6f 6e 76 65 72 74 20 61 54 79 70 65 20 | l;.............//.convert.aType. |
ce400 | 28 65 78 3a 20 22 61 63 2d 72 65 73 75 6c 74 2d 74 79 70 65 2d 3c 61 54 79 70 65 3e 22 29 20 74 | (ex:."ac-result-type-<aType>").t |
ce420 | 6f 20 74 65 78 74 20 74 6f 20 62 65 20 73 70 6f 6b 65 20 61 6c 6f 75 64 0a 20 20 20 20 20 20 20 | o.text.to.be.spoke.aloud........ |
ce440 | 20 20 20 20 20 2f 2f 20 62 79 20 73 63 72 65 65 6e 20 72 65 61 64 65 72 73 2e 20 20 63 6f 6e 76 | .....//.by.screen.readers...conv |
ce460 | 65 72 74 20 22 74 61 67 22 20 61 6e 64 20 22 62 6f 6f 6b 6d 61 72 6b 22 20 74 6f 20 74 68 65 20 | ert."tag".and."bookmark".to.the. |
ce480 | 6c 6f 63 61 6c 69 7a 65 64 20 76 65 72 73 69 6f 6e 73 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 | localized.versions,............. |
ce4a0 | 2f 2f 20 62 75 74 20 64 6f 6e 27 74 20 64 6f 20 61 6e 79 74 68 69 6e 67 20 66 6f 72 20 22 66 61 | //.but.don't.do.anything.for."fa |
ce4c0 | 76 69 63 6f 6e 22 20 28 74 68 65 20 64 65 66 61 75 6c 74 29 0a 20 20 20 20 20 20 20 20 20 20 20 | vicon".(the.default)............ |
ce4e0 | 20 69 66 20 28 61 54 79 70 65 20 21 3d 20 22 66 61 76 69 63 6f 6e 22 29 20 7b 0a 20 20 20 20 20 | .if.(aType.!=."favicon").{...... |
ce500 | 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 20 2b 3d 20 22 20 22 20 2b 20 74 68 69 73 2e 5f 62 75 | .........label.+=.".".+.this._bu |
ce520 | 6e 64 6c 65 2e 47 65 74 53 74 72 69 6e 67 46 72 6f 6d 4e 61 6d 65 28 61 54 79 70 65 20 2b 20 22 | ndle.GetStringFromName(aType.+." |
ce540 | 52 65 73 75 6c 74 4c 61 62 65 6c 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 | ResultLabel");.............}.... |
ce560 | 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 6c 61 62 65 6c 3b 0a 20 20 20 20 20 20 20 20 20 | .........return.label;.......... |
ce580 | 20 5d 5d 3e 0a 20 20 20 20 20 20 20 20 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 | .]]>.........</body>.......</met |
ce5a0 | 68 6f 64 3e 0a 0a 20 20 20 20 3c 2f 69 6d 70 6c 65 6d 65 6e 74 61 74 69 6f 6e 3e 0a 20 20 3c 2f | hod>......</implementation>...</ |
ce5c0 | 62 69 6e 64 69 6e 67 3e 0a 3c 2f 62 69 6e 64 69 6e 67 73 3e 0a 50 4b 03 04 14 00 00 00 00 00 f2 | binding>.</bindings>.PK......... |
ce5e0 | 4b 18 3b 59 61 d0 d8 e2 54 00 00 e2 54 00 00 21 00 00 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 | K.;Ya...T...T..!...content/brows |
ce600 | 65 72 2f 75 74 69 6c 69 74 79 4f 76 65 72 6c 61 79 2e 6a 73 2f 2f 40 6c 69 6e 65 20 33 39 20 22 | er/utilityOverlay.js//@line.39." |
ce620 | 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 | /builds/moz2_slave/linux_build/b |
ce640 | 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 62 61 73 65 2f 63 6f 6e 74 65 6e 74 2f 75 74 69 6c 69 74 | uild/browser/base/content/utilit |
ce660 | 79 4f 76 65 72 6c 61 79 2e 6a 73 22 0a 0a 2f 2a 2a 0a 20 2a 20 43 6f 6d 6d 75 6e 69 63 61 74 6f | yOverlay.js"../**..*.Communicato |
ce680 | 72 20 53 68 61 72 65 64 20 55 74 69 6c 69 74 79 20 4c 69 62 72 61 72 79 0a 20 2a 20 66 6f 72 20 | r.Shared.Utility.Library..*.for. |
ce6a0 | 73 68 61 72 65 64 20 61 70 70 6c 69 63 61 74 69 6f 6e 20 67 6c 75 65 20 66 6f 72 20 74 68 65 20 | shared.application.glue.for.the. |
ce6c0 | 43 6f 6d 6d 75 6e 69 63 61 74 6f 72 20 73 75 69 74 65 20 6f 66 20 61 70 70 6c 69 63 61 74 69 6f | Communicator.suite.of.applicatio |
ce6e0 | 6e 73 0a 20 2a 2a 2f 0a 0a 76 61 72 20 54 41 42 5f 44 52 4f 50 5f 54 59 50 45 20 3d 20 22 61 70 | ns..**/..var.TAB_DROP_TYPE.=."ap |
ce700 | 70 6c 69 63 61 74 69 6f 6e 2f 78 2d 6d 6f 7a 2d 74 61 62 62 72 6f 77 73 65 72 2d 74 61 62 22 3b | plication/x-moz-tabbrowser-tab"; |
ce720 | 0a 0a 76 61 72 20 67 42 69 64 69 55 49 20 3d 20 66 61 6c 73 65 3b 0a 0a 66 75 6e 63 74 69 6f 6e | ..var.gBidiUI.=.false;..function |
ce740 | 20 67 65 74 42 72 6f 77 73 65 72 55 52 4c 28 29 0a 7b 0a 20 20 72 65 74 75 72 6e 20 22 63 68 72 | .getBrowserURL().{...return."chr |
ce760 | 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2e 78 75 | ome://browser/content/browser.xu |
ce780 | 6c 22 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 67 6f 54 6f 67 67 6c 65 54 6f 6f 6c 62 61 72 28 | l";.}..function.goToggleToolbar( |
ce7a0 | 20 69 64 2c 20 65 6c 65 6d 65 6e 74 49 44 20 29 0a 7b 0a 20 20 76 61 72 20 74 6f 6f 6c 62 61 72 | .id,.elementID.).{...var.toolbar |
ce7c0 | 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 69 64 29 3b 0a | .=.document.getElementById(id);. |
ce7e0 | 20 20 76 61 72 20 65 6c 65 6d 65 6e 74 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d | ..var.element.=.document.getElem |
ce800 | 65 6e 74 42 79 49 64 28 65 6c 65 6d 65 6e 74 49 44 29 3b 0a 20 20 69 66 20 28 74 6f 6f 6c 62 61 | entById(elementID);...if.(toolba |
ce820 | 72 29 0a 20 20 7b 0a 20 20 20 20 76 61 72 20 69 73 48 69 64 64 65 6e 20 3d 20 74 6f 6f 6c 62 61 | r)...{.....var.isHidden.=.toolba |
ce840 | 72 2e 68 69 64 64 65 6e 3b 0a 20 20 20 20 74 6f 6f 6c 62 61 72 2e 68 69 64 64 65 6e 20 3d 20 21 | r.hidden;.....toolbar.hidden.=.! |
ce860 | 69 73 48 69 64 64 65 6e 3b 0a 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 70 65 72 73 69 73 74 28 69 | isHidden;.....document.persist(i |
ce880 | 64 2c 20 27 68 69 64 64 65 6e 27 29 3b 0a 20 20 20 20 69 66 20 28 65 6c 65 6d 65 6e 74 29 20 7b | d,.'hidden');.....if.(element).{ |
ce8a0 | 0a 20 20 20 20 20 20 65 6c 65 6d 65 6e 74 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 63 68 65 | .......element.setAttribute("che |
ce8c0 | 63 6b 65 64 22 2c 20 69 73 48 69 64 64 65 6e 20 3f 20 22 74 72 75 65 22 20 3a 20 22 66 61 6c 73 | cked",.isHidden.?."true".:."fals |
ce8e0 | 65 22 29 3b 0a 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 70 65 72 73 69 73 74 28 65 6c 65 6d | e");.......document.persist(elem |
ce900 | 65 6e 74 49 44 2c 20 27 63 68 65 63 6b 65 64 27 29 3b 0a 20 20 20 20 7d 0a 20 20 7d 0a 7d 0a 0a | entID,.'checked');.....}...}.}.. |
ce920 | 66 75 6e 63 74 69 6f 6e 20 67 65 74 54 6f 70 57 69 6e 28 29 0a 7b 0a 20 20 76 61 72 20 77 69 6e | function.getTopWin().{...var.win |
ce940 | 64 6f 77 4d 61 6e 61 67 65 72 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b | dowManager.=.Components.classes[ |
ce960 | 27 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 61 70 70 73 68 65 6c 6c 2f 77 69 6e 64 6f 77 2d 6d 65 | '@mozilla.org/appshell/window-me |
ce980 | 64 69 61 74 6f 72 3b 31 27 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | diator;1']...................... |
ce9a0 | 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 | ............getService(Component |
ce9c0 | 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 57 69 6e 64 6f 77 4d 65 64 69 61 74 6f 72 29 3b | s.interfaces.nsIWindowMediator); |
ce9e0 | 0a 20 20 72 65 74 75 72 6e 20 77 69 6e 64 6f 77 4d 61 6e 61 67 65 72 2e 67 65 74 4d 6f 73 74 52 | ...return.windowManager.getMostR |
cea00 | 65 63 65 6e 74 57 69 6e 64 6f 77 28 22 6e 61 76 69 67 61 74 6f 72 3a 62 72 6f 77 73 65 72 22 29 | ecentWindow("navigator:browser") |
cea20 | 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 6f 70 65 6e 54 6f 70 57 69 6e 28 20 75 72 6c 20 29 0a | ;.}..function.openTopWin(.url.). |
cea40 | 7b 0a 20 20 6f 70 65 6e 55 49 4c 69 6e 6b 28 75 72 6c 2c 20 7b 7d 29 0a 7d 0a 0a 66 75 6e 63 74 | {...openUILink(url,.{}).}..funct |
cea60 | 69 6f 6e 20 67 65 74 42 6f 6f 6c 50 72 65 66 20 28 20 70 72 65 66 6e 61 6d 65 2c 20 64 65 66 20 | ion.getBoolPref.(.prefname,.def. |
cea80 | 29 0a 7b 0a 20 20 74 72 79 20 7b 20 0a 20 20 20 20 76 61 72 20 70 72 65 66 20 3d 20 43 6f 6d 70 | ).{...try.{......var.pref.=.Comp |
ceaa0 | 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 70 72 65 | onents.classes["@mozilla.org/pre |
ceac0 | 66 65 72 65 6e 63 65 73 2d 73 65 72 76 69 63 65 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 | ferences-service;1"]............ |
ceae0 | 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e | .............getService(Componen |
ceb00 | 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 50 72 65 66 42 72 61 6e 63 68 29 3b 0a 20 20 | ts.interfaces.nsIPrefBranch);... |
ceb20 | 20 20 72 65 74 75 72 6e 20 70 72 65 66 2e 67 65 74 42 6f 6f 6c 50 72 65 66 28 70 72 65 66 6e 61 | ..return.pref.getBoolPref(prefna |
ceb40 | 6d 65 29 3b 0a 20 20 7d 0a 20 20 63 61 74 63 68 28 65 72 29 20 7b 0a 20 20 20 20 72 65 74 75 72 | me);...}...catch(er).{.....retur |
ceb60 | 6e 20 64 65 66 3b 0a 20 20 7d 0a 7d 0a 0a 2f 2f 20 43 68 61 6e 67 65 20 66 6f 63 75 73 20 66 6f | n.def;...}.}..//.Change.focus.fo |
ceb80 | 72 20 74 68 69 73 20 62 72 6f 77 73 65 72 20 77 69 6e 64 6f 77 20 74 6f 20 7c 61 45 6c 65 6d 65 | r.this.browser.window.to.|aEleme |
ceba0 | 6e 74 7c 2c 20 77 69 74 68 6f 75 74 20 66 6f 63 75 73 69 6e 67 20 74 68 65 0a 2f 2f 20 77 69 6e | nt|,.without.focusing.the.//.win |
cebc0 | 64 6f 77 20 69 74 73 65 6c 66 2e 0a 66 75 6e 63 74 69 6f 6e 20 66 6f 63 75 73 45 6c 65 6d 65 6e | dow.itself..function.focusElemen |
cebe0 | 74 28 61 45 6c 65 6d 65 6e 74 29 20 7b 0a 20 20 2f 2f 20 54 68 69 73 20 69 73 20 61 20 72 65 64 | t(aElement).{...//.This.is.a.red |
cec00 | 6f 20 6f 66 20 74 68 65 20 66 69 78 20 66 6f 72 20 6a 61 67 20 62 75 67 20 39 31 38 38 34 0a 20 | o.of.the.fix.for.jag.bug.91884.. |
cec20 | 20 76 61 72 20 77 77 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d | .var.ww.=.Components.classes["@m |
cec40 | 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 65 6d 62 65 64 63 6f 6d 70 2f 77 69 6e 64 6f 77 2d 77 61 74 63 | ozilla.org/embedcomp/window-watc |
cec60 | 68 65 72 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 | her;1"].......................ge |
cec80 | 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e | tService(Components.interfaces.n |
ceca0 | 73 49 57 69 6e 64 6f 77 57 61 74 63 68 65 72 29 3b 0a 20 20 69 66 20 28 77 69 6e 64 6f 77 20 3d | sIWindowWatcher);...if.(window.= |
cecc0 | 3d 20 77 77 2e 61 63 74 69 76 65 57 69 6e 64 6f 77 29 0a 20 20 20 20 61 45 6c 65 6d 65 6e 74 2e | =.ww.activeWindow).....aElement. |
cece0 | 66 6f 63 75 73 28 29 3b 0a 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 2f 2f 20 73 65 74 20 74 68 65 | focus();...else.{.....//.set.the |
ced00 | 20 65 6c 65 6d 65 6e 74 20 69 6e 20 63 6f 6d 6d 61 6e 64 20 64 69 73 70 61 74 63 68 65 72 20 73 | .element.in.command.dispatcher.s |
ced20 | 6f 20 66 6f 63 75 73 20 77 69 6c 6c 20 72 65 73 74 6f 72 65 20 70 72 6f 70 65 72 6c 79 0a 20 20 | o.focus.will.restore.properly... |
ced40 | 20 20 2f 2f 20 77 68 65 6e 20 74 68 65 20 77 69 6e 64 6f 77 20 64 6f 65 73 20 62 65 63 6f 6d 65 | ..//.when.the.window.does.become |
ced60 | 20 61 63 74 69 76 65 0a 20 20 20 20 76 61 72 20 63 6d 64 44 69 73 70 61 74 63 68 65 72 20 3d 20 | .active.....var.cmdDispatcher.=. |
ced80 | 64 6f 63 75 6d 65 6e 74 2e 63 6f 6d 6d 61 6e 64 44 69 73 70 61 74 63 68 65 72 3b 0a 20 20 20 20 | document.commandDispatcher;..... |
ceda0 | 69 66 20 28 61 45 6c 65 6d 65 6e 74 20 69 6e 73 74 61 6e 63 65 6f 66 20 57 69 6e 64 6f 77 29 20 | if.(aElement.instanceof.Window). |
cedc0 | 7b 0a 20 20 20 20 20 20 63 6d 64 44 69 73 70 61 74 63 68 65 72 2e 66 6f 63 75 73 65 64 57 69 6e | {.......cmdDispatcher.focusedWin |
cede0 | 64 6f 77 20 3d 20 61 45 6c 65 6d 65 6e 74 3b 0a 20 20 20 20 20 20 63 6d 64 44 69 73 70 61 74 63 | dow.=.aElement;.......cmdDispatc |
cee00 | 68 65 72 2e 66 6f 63 75 73 65 64 45 6c 65 6d 65 6e 74 20 3d 20 6e 75 6c 6c 3b 0a 20 20 20 20 7d | her.focusedElement.=.null;.....} |
cee20 | 0a 20 20 20 20 65 6c 73 65 20 69 66 20 28 61 45 6c 65 6d 65 6e 74 20 69 6e 73 74 61 6e 63 65 6f | .....else.if.(aElement.instanceo |
cee40 | 66 20 45 6c 65 6d 65 6e 74 29 20 7b 0a 20 20 20 20 20 20 63 6d 64 44 69 73 70 61 74 63 68 65 72 | f.Element).{.......cmdDispatcher |
cee60 | 2e 66 6f 63 75 73 65 64 57 69 6e 64 6f 77 20 3d 20 61 45 6c 65 6d 65 6e 74 2e 6f 77 6e 65 72 44 | .focusedWindow.=.aElement.ownerD |
cee80 | 6f 63 75 6d 65 6e 74 2e 64 65 66 61 75 6c 74 56 69 65 77 3b 0a 20 20 20 20 20 20 63 6d 64 44 69 | ocument.defaultView;.......cmdDi |
ceea0 | 73 70 61 74 63 68 65 72 2e 66 6f 63 75 73 65 64 45 6c 65 6d 65 6e 74 20 3d 20 61 45 6c 65 6d 65 | spatcher.focusedElement.=.aEleme |
ceec0 | 6e 74 3b 0a 20 20 20 20 7d 0a 20 20 7d 0a 7d 0a 0a 2f 2f 20 6f 70 65 6e 55 49 4c 69 6e 6b 20 68 | nt;.....}...}.}..//.openUILink.h |
ceee0 | 61 6e 64 6c 65 73 20 63 6c 69 63 6b 73 20 6f 6e 20 55 49 20 65 6c 65 6d 65 6e 74 73 20 74 68 61 | andles.clicks.on.UI.elements.tha |
cef00 | 74 20 63 61 75 73 65 20 55 52 4c 73 20 74 6f 20 6c 6f 61 64 2e 0a 66 75 6e 63 74 69 6f 6e 20 6f | t.cause.URLs.to.load..function.o |
cef20 | 70 65 6e 55 49 4c 69 6e 6b 28 20 75 72 6c 2c 20 65 2c 20 69 67 6e 6f 72 65 42 75 74 74 6f 6e 2c | penUILink(.url,.e,.ignoreButton, |
cef40 | 20 69 67 6e 6f 72 65 41 6c 74 2c 20 61 6c 6c 6f 77 4b 65 79 77 6f 72 64 46 69 78 75 70 2c 20 70 | .ignoreAlt,.allowKeywordFixup,.p |
cef60 | 6f 73 74 44 61 74 61 2c 20 72 65 66 65 72 72 65 72 55 72 6c 20 29 0a 7b 0a 20 20 76 61 72 20 77 | ostData,.referrerUrl.).{...var.w |
cef80 | 68 65 72 65 20 3d 20 77 68 65 72 65 54 6f 4f 70 65 6e 4c 69 6e 6b 28 65 2c 20 69 67 6e 6f 72 65 | here.=.whereToOpenLink(e,.ignore |
cefa0 | 42 75 74 74 6f 6e 2c 20 69 67 6e 6f 72 65 41 6c 74 29 3b 0a 20 20 6f 70 65 6e 55 49 4c 69 6e 6b | Button,.ignoreAlt);...openUILink |
cefc0 | 49 6e 28 75 72 6c 2c 20 77 68 65 72 65 2c 20 61 6c 6c 6f 77 4b 65 79 77 6f 72 64 46 69 78 75 70 | In(url,.where,.allowKeywordFixup |
cefe0 | 2c 20 70 6f 73 74 44 61 74 61 2c 20 72 65 66 65 72 72 65 72 55 72 6c 29 3b 0a 7d 0a 0a 0a 2f 2a | ,.postData,.referrerUrl);.}.../* |
cf000 | 20 77 68 65 72 65 54 6f 4f 70 65 6e 4c 69 6e 6b 28 29 20 6c 6f 6f 6b 73 20 61 74 20 61 6e 20 65 | .whereToOpenLink().looks.at.an.e |
cf020 | 76 65 6e 74 20 74 6f 20 64 65 63 69 64 65 20 77 68 65 72 65 20 74 6f 20 6f 70 65 6e 20 61 20 6c | vent.to.decide.where.to.open.a.l |
cf040 | 69 6e 6b 2e 0a 20 2a 0a 20 2a 20 54 68 65 20 65 76 65 6e 74 20 6d 61 79 20 62 65 20 61 20 6d 6f | ink...*..*.The.event.may.be.a.mo |
cf060 | 75 73 65 20 65 76 65 6e 74 20 28 63 6c 69 63 6b 2c 20 64 6f 75 62 6c 65 2d 63 6c 69 63 6b 2c 20 | use.event.(click,.double-click,. |
cf080 | 6d 69 64 64 6c 65 2d 63 6c 69 63 6b 29 20 6f 72 20 6b 65 79 70 72 65 73 73 20 65 76 65 6e 74 20 | middle-click).or.keypress.event. |
cf0a0 | 28 65 6e 74 65 72 29 2e 0a 20 2a 0a 20 2a 20 4f 6e 20 57 69 6e 64 6f 77 73 2c 20 74 68 65 20 6d | (enter)...*..*.On.Windows,.the.m |
cf0c0 | 6f 64 69 66 69 65 72 73 20 61 72 65 3a 0a 20 2a 20 43 74 72 6c 20 20 20 20 20 20 20 20 6e 65 77 | odifiers.are:..*.Ctrl........new |
cf0e0 | 20 74 61 62 2c 20 73 65 6c 65 63 74 65 64 0a 20 2a 20 53 68 69 66 74 20 20 20 20 20 20 20 6e 65 | .tab,.selected..*.Shift.......ne |
cf100 | 77 20 77 69 6e 64 6f 77 0a 20 2a 20 43 74 72 6c 2b 53 68 69 66 74 20 20 6e 65 77 20 74 61 62 2c | w.window..*.Ctrl+Shift..new.tab, |
cf120 | 20 69 6e 20 62 61 63 6b 67 72 6f 75 6e 64 0a 20 2a 20 41 6c 74 20 20 20 20 20 20 20 20 20 73 61 | .in.background..*.Alt.........sa |
cf140 | 76 65 0a 20 2a 0a 20 2a 20 59 6f 75 20 63 61 6e 20 73 77 61 70 20 43 74 72 6c 20 61 6e 64 20 43 | ve..*..*.You.can.swap.Ctrl.and.C |
cf160 | 74 72 6c 2b 73 68 69 66 74 20 62 79 20 74 6f 67 67 6c 69 6e 67 20 74 68 65 20 68 69 64 64 65 6e | trl+shift.by.toggling.the.hidden |
cf180 | 20 70 72 65 66 0a 20 2a 20 62 72 6f 77 73 65 72 2e 74 61 62 73 2e 6c 6f 61 64 42 6f 6f 6b 6d 61 | .pref..*.browser.tabs.loadBookma |
cf1a0 | 72 6b 73 49 6e 42 61 63 6b 67 72 6f 75 6e 64 20 28 6e 6f 74 20 62 72 6f 77 73 65 72 2e 74 61 62 | rksInBackground.(not.browser.tab |
cf1c0 | 73 2e 6c 6f 61 64 49 6e 42 61 63 6b 67 72 6f 75 6e 64 2c 20 77 68 69 63 68 0a 20 2a 20 69 73 20 | s.loadInBackground,.which..*.is. |
cf1e0 | 66 6f 72 20 63 6f 6e 74 65 6e 74 20 61 72 65 61 20 6c 69 6e 6b 73 29 2e 0a 20 2a 0a 20 2a 20 4d | for.content.area.links)...*..*.M |
cf200 | 69 64 64 6c 65 2d 63 6c 69 63 6b 69 6e 67 20 69 73 20 74 68 65 20 73 61 6d 65 20 61 73 20 43 74 | iddle-clicking.is.the.same.as.Ct |
cf220 | 72 6c 2b 63 6c 69 63 6b 69 6e 67 20 28 69 74 20 6f 70 65 6e 73 20 61 20 6e 65 77 20 74 61 62 29 | rl+clicking.(it.opens.a.new.tab) |
cf240 | 20 61 6e 64 20 69 74 20 69 73 0a 20 2a 20 73 75 62 6a 65 63 74 20 74 6f 20 74 68 65 20 73 68 69 | .and.it.is..*.subject.to.the.shi |
cf260 | 66 74 20 6d 6f 64 69 66 69 65 72 20 61 6e 64 20 70 72 65 66 20 69 6e 20 74 68 65 20 73 61 6d 65 | ft.modifier.and.pref.in.the.same |
cf280 | 20 77 61 79 2e 0a 20 2a 0a 20 2a 20 45 78 63 65 70 74 69 6f 6e 73 3a 20 0a 20 2a 20 2d 20 41 6c | .way...*..*.Exceptions:...*.-.Al |
cf2a0 | 74 20 69 73 20 69 67 6e 6f 72 65 64 20 66 6f 72 20 6d 65 6e 75 20 69 74 65 6d 73 20 73 65 6c 65 | t.is.ignored.for.menu.items.sele |
cf2c0 | 63 74 65 64 20 75 73 69 6e 67 20 74 68 65 20 6b 65 79 62 6f 61 72 64 20 73 6f 20 79 6f 75 20 64 | cted.using.the.keyboard.so.you.d |
cf2e0 | 6f 6e 27 74 20 61 63 63 69 64 65 6e 74 61 6c 6c 79 20 73 61 76 65 20 73 74 75 66 66 2e 20 20 0a | on't.accidentally.save.stuff.... |
cf300 | 20 2a 20 20 20 20 28 43 75 72 72 65 6e 74 6c 79 2c 20 74 68 65 20 41 6c 74 20 69 73 6e 27 74 20 | .*....(Currently,.the.Alt.isn't. |
cf320 | 73 65 6e 74 20 68 65 72 65 20 61 74 20 61 6c 6c 20 66 6f 72 20 6d 65 6e 75 20 69 74 65 6d 73 2c | sent.here.at.all.for.menu.items, |
cf340 | 20 62 75 74 20 74 68 61 74 20 77 69 6c 6c 20 63 68 61 6e 67 65 20 69 6e 20 62 75 67 20 31 32 36 | .but.that.will.change.in.bug.126 |
cf360 | 31 38 39 2e 29 0a 20 2a 20 2d 20 41 6c 74 20 69 73 20 68 61 72 64 20 74 6f 20 75 73 65 20 69 6e | 189.)..*.-.Alt.is.hard.to.use.in |
cf380 | 20 63 6f 6e 74 65 78 74 20 6d 65 6e 75 73 2c 20 62 65 63 61 75 73 65 20 70 72 65 73 73 69 6e 67 | .context.menus,.because.pressing |
cf3a0 | 20 41 6c 74 20 63 6c 6f 73 65 73 20 74 68 65 20 6d 65 6e 75 2e 0a 20 2a 20 2d 20 41 6c 74 20 63 | .Alt.closes.the.menu...*.-.Alt.c |
cf3c0 | 61 6e 27 74 20 62 65 20 75 73 65 64 20 6f 6e 20 74 68 65 20 62 6f 6f 6b 6d 61 72 6b 73 20 74 6f | an't.be.used.on.the.bookmarks.to |
cf3e0 | 6f 6c 62 61 72 20 62 65 63 61 75 73 65 20 41 6c 74 20 69 73 20 75 73 65 64 20 66 6f 72 20 22 74 | olbar.because.Alt.is.used.for."t |
cf400 | 72 65 61 74 20 74 68 69 73 20 61 73 20 73 6f 6d 65 74 68 69 6e 67 20 64 72 61 67 67 61 62 6c 65 | reat.this.as.something.draggable |
cf420 | 22 2e 0a 20 2a 20 2d 20 54 68 65 20 62 75 74 74 6f 6e 20 69 73 20 69 67 6e 6f 72 65 64 20 66 6f | "...*.-.The.button.is.ignored.fo |
cf440 | 72 20 74 68 65 20 6d 69 64 64 6c 65 2d 63 6c 69 63 6b 2d 70 61 73 74 65 2d 55 52 4c 20 66 65 61 | r.the.middle-click-paste-URL.fea |
cf460 | 74 75 72 65 2c 20 73 69 6e 63 65 20 69 74 27 73 20 61 6c 77 61 79 73 20 61 20 6d 69 64 64 6c 65 | ture,.since.it's.always.a.middle |
cf480 | 2d 63 6c 69 63 6b 2e 0a 20 2a 2f 0a 66 75 6e 63 74 69 6f 6e 20 77 68 65 72 65 54 6f 4f 70 65 6e | -click...*/.function.whereToOpen |
cf4a0 | 4c 69 6e 6b 28 20 65 2c 20 69 67 6e 6f 72 65 42 75 74 74 6f 6e 2c 20 69 67 6e 6f 72 65 41 6c 74 | Link(.e,.ignoreButton,.ignoreAlt |
cf4c0 | 20 29 0a 7b 0a 20 20 2f 2f 20 54 68 69 73 20 6d 65 74 68 6f 64 20 6d 75 73 74 20 74 72 65 61 74 | .).{...//.This.method.must.treat |
cf4e0 | 20 61 20 6e 75 6c 6c 20 65 76 65 6e 74 20 6c 69 6b 65 20 61 20 6c 65 66 74 20 63 6c 69 63 6b 20 | .a.null.event.like.a.left.click. |
cf500 | 77 69 74 68 6f 75 74 20 6d 6f 64 69 66 69 65 72 20 6b 65 79 73 20 28 69 2e 65 2e 0a 20 20 2f 2f | without.modifier.keys.(i.e....// |
cf520 | 20 65 20 3d 20 7b 20 73 68 69 66 74 4b 65 79 3a 66 61 6c 73 65 2c 20 63 74 72 6c 4b 65 79 3a 66 | .e.=.{.shiftKey:false,.ctrlKey:f |
cf540 | 61 6c 73 65 2c 20 6d 65 74 61 4b 65 79 3a 66 61 6c 73 65 2c 20 61 6c 74 4b 65 79 3a 66 61 6c 73 | alse,.metaKey:false,.altKey:fals |
cf560 | 65 2c 20 62 75 74 74 6f 6e 3a 30 20 7d 29 0a 20 20 2f 2f 20 66 6f 72 20 63 6f 6d 70 61 74 69 62 | e,.button:0.})...//.for.compatib |
cf580 | 69 6c 69 74 79 20 70 75 72 70 6f 73 65 73 2e 0a 20 20 69 66 20 28 21 65 29 0a 20 20 20 20 72 65 | ility.purposes....if.(!e).....re |
cf5a0 | 74 75 72 6e 20 22 63 75 72 72 65 6e 74 22 3b 0a 0a 20 20 76 61 72 20 73 68 69 66 74 20 3d 20 65 | turn."current";....var.shift.=.e |
cf5c0 | 2e 73 68 69 66 74 4b 65 79 3b 0a 20 20 76 61 72 20 63 74 72 6c 20 3d 20 20 65 2e 63 74 72 6c 4b | .shiftKey;...var.ctrl.=..e.ctrlK |
cf5e0 | 65 79 3b 0a 20 20 76 61 72 20 6d 65 74 61 20 3d 20 20 65 2e 6d 65 74 61 4b 65 79 3b 0a 20 20 76 | ey;...var.meta.=..e.metaKey;...v |
cf600 | 61 72 20 61 6c 74 20 20 3d 20 20 65 2e 61 6c 74 4b 65 79 20 26 26 20 21 69 67 6e 6f 72 65 41 6c | ar.alt..=..e.altKey.&&.!ignoreAl |
cf620 | 74 3b 0a 0a 20 20 2f 2f 20 69 67 6e 6f 72 65 42 75 74 74 6f 6e 20 61 6c 6c 6f 77 73 20 22 6d 69 | t;....//.ignoreButton.allows."mi |
cf640 | 64 64 6c 65 2d 63 6c 69 63 6b 20 70 61 73 74 65 22 20 74 6f 20 75 73 65 20 66 75 6e 63 74 69 6f | ddle-click.paste".to.use.functio |
cf660 | 6e 20 77 69 74 68 6f 75 74 20 61 6c 77 61 79 73 20 6f 70 65 6e 69 6e 67 20 69 6e 20 61 20 6e 65 | n.without.always.opening.in.a.ne |
cf680 | 77 20 77 69 6e 64 6f 77 2e 0a 20 20 76 61 72 20 6d 69 64 64 6c 65 20 3d 20 21 69 67 6e 6f 72 65 | w.window....var.middle.=.!ignore |
cf6a0 | 42 75 74 74 6f 6e 20 26 26 20 65 2e 62 75 74 74 6f 6e 20 3d 3d 20 31 3b 0a 20 20 76 61 72 20 6d | Button.&&.e.button.==.1;...var.m |
cf6c0 | 69 64 64 6c 65 55 73 65 73 54 61 62 73 20 3d 20 67 65 74 42 6f 6f 6c 50 72 65 66 28 22 62 72 6f | iddleUsesTabs.=.getBoolPref("bro |
cf6e0 | 77 73 65 72 2e 74 61 62 73 2e 6f 70 65 6e 74 61 62 66 6f 72 2e 6d 69 64 64 6c 65 63 6c 69 63 6b | wser.tabs.opentabfor.middleclick |
cf700 | 22 2c 20 74 72 75 65 29 3b 0a 0a 20 20 2f 2f 20 44 6f 6e 27 74 20 64 6f 20 61 6e 79 74 68 69 6e | ",.true);....//.Don't.do.anythin |
cf720 | 67 20 73 70 65 63 69 61 6c 20 77 69 74 68 20 72 69 67 68 74 2d 6d 6f 75 73 65 20 63 6c 69 63 6b | g.special.with.right-mouse.click |
cf740 | 73 2e 20 20 54 68 65 79 27 72 65 20 70 72 6f 62 61 62 6c 79 20 63 6c 69 63 6b 73 20 6f 6e 20 63 | s...They're.probably.clicks.on.c |
cf760 | 6f 6e 74 65 78 74 20 6d 65 6e 75 20 69 74 65 6d 73 2e 0a 0a 2f 2f 40 6c 69 6e 65 20 31 37 31 20 | ontext.menu.items...//@line.171. |
cf780 | 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f | "/builds/moz2_slave/linux_build/ |
cf7a0 | 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 62 61 73 65 2f 63 6f 6e 74 65 6e 74 2f 75 74 69 6c 69 | build/browser/base/content/utili |
cf7c0 | 74 79 4f 76 65 72 6c 61 79 2e 6a 73 22 0a 20 20 69 66 20 28 63 74 72 6c 20 7c 7c 20 28 6d 69 64 | tyOverlay.js"...if.(ctrl.||.(mid |
cf7e0 | 64 6c 65 20 26 26 20 6d 69 64 64 6c 65 55 73 65 73 54 61 62 73 29 29 20 7b 0a 2f 2f 40 6c 69 6e | dle.&&.middleUsesTabs)).{.//@lin |
cf800 | 65 20 31 37 33 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f | e.173."/builds/moz2_slave/linux_ |
cf820 | 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 62 61 73 65 2f 63 6f 6e 74 65 6e 74 | build/build/browser/base/content |
cf840 | 2f 75 74 69 6c 69 74 79 4f 76 65 72 6c 61 79 2e 6a 73 22 0a 20 20 20 20 69 66 20 28 73 68 69 66 | /utilityOverlay.js".....if.(shif |
cf860 | 74 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 22 74 61 62 73 68 69 66 74 65 64 22 3b 0a 20 20 | t).......return."tabshifted";... |
cf880 | 20 20 65 6c 73 65 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 22 74 61 62 22 3b 0a 20 20 7d 0a 20 | ..else.......return."tab";...}.. |
cf8a0 | 20 65 6c 73 65 20 69 66 20 28 61 6c 74 29 20 7b 0a 20 20 20 20 72 65 74 75 72 6e 20 22 73 61 76 | .else.if.(alt).{.....return."sav |
cf8c0 | 65 22 3b 0a 20 20 7d 0a 20 20 65 6c 73 65 20 69 66 20 28 73 68 69 66 74 20 7c 7c 20 28 6d 69 64 | e";...}...else.if.(shift.||.(mid |
cf8e0 | 64 6c 65 20 26 26 20 21 6d 69 64 64 6c 65 55 73 65 73 54 61 62 73 29 29 20 7b 0a 20 20 20 20 72 | dle.&&.!middleUsesTabs)).{.....r |
cf900 | 65 74 75 72 6e 20 22 77 69 6e 64 6f 77 22 3b 0a 20 20 7d 0a 20 20 65 6c 73 65 20 7b 0a 20 20 20 | eturn."window";...}...else.{.... |
cf920 | 20 72 65 74 75 72 6e 20 22 63 75 72 72 65 6e 74 22 3b 0a 20 20 7d 0a 7d 0a 0a 2f 2a 20 6f 70 65 | .return."current";...}.}../*.ope |
cf940 | 6e 55 49 4c 69 6e 6b 49 6e 20 6f 70 65 6e 73 20 61 20 55 52 4c 20 69 6e 20 61 20 70 6c 61 63 65 | nUILinkIn.opens.a.URL.in.a.place |
cf960 | 20 73 70 65 63 69 66 69 65 64 20 62 79 20 74 68 65 20 70 61 72 61 6d 65 74 65 72 20 7c 77 68 65 | .specified.by.the.parameter.|whe |
cf980 | 72 65 7c 2e 0a 20 2a 0a 20 2a 20 7c 77 68 65 72 65 7c 20 63 61 6e 20 62 65 3a 0a 20 2a 20 20 22 | re|...*..*.|where|.can.be:..*.." |
cf9a0 | 63 75 72 72 65 6e 74 22 20 20 20 20 20 63 75 72 72 65 6e 74 20 74 61 62 20 20 20 20 20 20 20 20 | current".....current.tab........ |
cf9c0 | 20 20 20 20 28 69 66 20 74 68 65 72 65 20 61 72 65 6e 27 74 20 61 6e 79 20 62 72 6f 77 73 65 72 | ....(if.there.aren't.any.browser |
cf9e0 | 20 77 69 6e 64 6f 77 73 2c 20 74 68 65 6e 20 69 6e 20 61 20 6e 65 77 20 77 69 6e 64 6f 77 20 69 | .windows,.then.in.a.new.window.i |
cfa00 | 6e 73 74 65 61 64 29 0a 20 2a 20 20 22 74 61 62 22 20 20 20 20 20 20 20 20 20 6e 65 77 20 74 61 | nstead)..*.."tab".........new.ta |
cfa20 | 62 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 69 66 20 74 68 65 72 65 20 61 72 65 6e 27 | b................(if.there.aren' |
cfa40 | 74 20 61 6e 79 20 62 72 6f 77 73 65 72 20 77 69 6e 64 6f 77 73 2c 20 74 68 65 6e 20 69 6e 20 61 | t.any.browser.windows,.then.in.a |
cfa60 | 20 6e 65 77 20 77 69 6e 64 6f 77 20 69 6e 73 74 65 61 64 29 0a 20 2a 20 20 22 74 61 62 73 68 69 | .new.window.instead)..*.."tabshi |
cfa80 | 66 74 65 64 22 20 20 73 61 6d 65 20 61 73 20 22 74 61 62 22 20 62 75 74 20 69 6e 20 62 61 63 6b | fted"..same.as."tab".but.in.back |
cfaa0 | 67 72 6f 75 6e 64 20 69 66 20 64 65 66 61 75 6c 74 20 69 73 20 74 6f 20 73 65 6c 65 63 74 20 6e | ground.if.default.is.to.select.n |
cfac0 | 65 77 20 74 61 62 73 2c 20 61 6e 64 20 76 69 63 65 20 76 65 72 73 61 0a 20 2a 20 20 22 77 69 6e | ew.tabs,.and.vice.versa..*.."win |
cfae0 | 64 6f 77 22 20 20 20 20 20 20 6e 65 77 20 77 69 6e 64 6f 77 0a 20 2a 20 20 22 73 61 76 65 22 20 | dow"......new.window..*.."save". |
cfb00 | 20 20 20 20 20 20 20 73 61 76 65 20 74 6f 20 64 69 73 6b 20 28 77 69 74 68 20 6e 6f 20 66 69 6c | .......save.to.disk.(with.no.fil |
cfb20 | 65 6e 61 6d 65 20 68 69 6e 74 21 29 0a 20 2a 0a 20 2a 20 61 6c 6c 6f 77 54 68 69 72 64 50 61 72 | ename.hint!)..*..*.allowThirdPar |
cfb40 | 74 79 46 69 78 75 70 20 63 6f 6e 74 72 6f 6c 73 20 77 68 65 74 68 65 72 20 74 68 69 72 64 20 70 | tyFixup.controls.whether.third.p |
cfb60 | 61 72 74 79 20 73 65 72 76 69 63 65 73 20 73 75 63 68 20 61 73 20 47 6f 6f 67 6c 65 27 73 0a 20 | arty.services.such.as.Google's.. |
cfb80 | 2a 20 49 20 46 65 65 6c 20 4c 75 63 6b 79 20 61 72 65 20 61 6c 6c 6f 77 65 64 20 74 6f 20 69 6e | *.I.Feel.Lucky.are.allowed.to.in |
cfba0 | 74 65 72 70 72 65 74 20 74 68 69 73 20 55 52 4c 2e 20 54 68 69 73 20 70 61 72 61 6d 65 74 65 72 | terpret.this.URL..This.parameter |
cfbc0 | 20 6d 61 79 20 62 65 0a 20 2a 20 75 6e 64 65 66 69 6e 65 64 2c 20 77 68 69 63 68 20 69 73 20 74 | .may.be..*.undefined,.which.is.t |
cfbe0 | 72 65 61 74 65 64 20 61 73 20 66 61 6c 73 65 2e 0a 20 2a 2f 0a 66 75 6e 63 74 69 6f 6e 20 6f 70 | reated.as.false...*/.function.op |
cfc00 | 65 6e 55 49 4c 69 6e 6b 49 6e 28 20 75 72 6c 2c 20 77 68 65 72 65 2c 20 61 6c 6c 6f 77 54 68 69 | enUILinkIn(.url,.where,.allowThi |
cfc20 | 72 64 50 61 72 74 79 46 69 78 75 70 2c 20 70 6f 73 74 44 61 74 61 2c 20 72 65 66 65 72 72 65 72 | rdPartyFixup,.postData,.referrer |
cfc40 | 55 72 6c 20 29 0a 7b 0a 20 20 69 66 20 28 21 77 68 65 72 65 20 7c 7c 20 21 75 72 6c 29 0a 20 20 | Url.).{...if.(!where.||.!url)... |
cfc60 | 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 69 66 20 28 77 68 65 72 65 20 3d 3d 20 22 73 61 76 65 22 | ..return;....if.(where.==."save" |
cfc80 | 29 20 7b 0a 20 20 20 20 73 61 76 65 55 52 4c 28 75 72 6c 2c 20 6e 75 6c 6c 2c 20 6e 75 6c 6c 2c | ).{.....saveURL(url,.null,.null, |
cfca0 | 20 74 72 75 65 2c 20 6e 75 6c 6c 2c 20 72 65 66 65 72 72 65 72 55 72 6c 29 3b 0a 20 20 20 20 72 | .true,.null,.referrerUrl);.....r |
cfcc0 | 65 74 75 72 6e 3b 0a 20 20 7d 0a 20 20 63 6f 6e 73 74 20 43 63 20 3d 20 43 6f 6d 70 6f 6e 65 6e | eturn;...}...const.Cc.=.Componen |
cfce0 | 74 73 2e 63 6c 61 73 73 65 73 3b 0a 20 20 63 6f 6e 73 74 20 43 69 20 3d 20 43 6f 6d 70 6f 6e 65 | ts.classes;...const.Ci.=.Compone |
cfd00 | 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 3b 0a 0a 20 20 76 61 72 20 77 20 3d 20 67 65 74 54 6f | nts.interfaces;....var.w.=.getTo |
cfd20 | 70 57 69 6e 28 29 3b 0a 0a 20 20 69 66 20 28 21 77 20 7c 7c 20 77 68 65 72 65 20 3d 3d 20 22 77 | pWin();....if.(!w.||.where.==."w |
cfd40 | 69 6e 64 6f 77 22 29 20 7b 0a 20 20 20 20 76 61 72 20 73 61 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 | indow").{.....var.sa.=.Cc["@mozi |
cfd60 | 6c 6c 61 2e 6f 72 67 2f 73 75 70 70 6f 72 74 73 2d 61 72 72 61 79 3b 31 22 5d 2e 0a 20 20 20 20 | lla.org/supports-array;1"]...... |
cfd80 | 20 20 20 20 20 20 20 20 20 63 72 65 61 74 65 49 6e 73 74 61 6e 63 65 28 43 69 2e 6e 73 49 53 75 | .........createInstance(Ci.nsISu |
cfda0 | 70 70 6f 72 74 73 41 72 72 61 79 29 3b 0a 0a 20 20 20 20 76 61 72 20 77 75 72 69 20 3d 20 43 63 | pportsArray);......var.wuri.=.Cc |
cfdc0 | 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 73 75 70 70 6f 72 74 73 2d 73 74 72 69 6e 67 3b 31 | ["@mozilla.org/supports-string;1 |
cfde0 | 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 72 65 61 74 65 49 6e 73 74 61 6e 63 | "].................createInstanc |
cfe00 | 65 28 43 69 2e 6e 73 49 53 75 70 70 6f 72 74 73 53 74 72 69 6e 67 29 3b 0a 20 20 20 20 77 75 72 | e(Ci.nsISupportsString);.....wur |
cfe20 | 69 2e 64 61 74 61 20 3d 20 75 72 6c 3b 0a 0a 20 20 20 20 73 61 2e 41 70 70 65 6e 64 45 6c 65 6d | i.data.=.url;......sa.AppendElem |
cfe40 | 65 6e 74 28 77 75 72 69 29 3b 0a 20 20 20 20 73 61 2e 41 70 70 65 6e 64 45 6c 65 6d 65 6e 74 28 | ent(wuri);.....sa.AppendElement( |
cfe60 | 6e 75 6c 6c 29 3b 0a 20 20 20 20 73 61 2e 41 70 70 65 6e 64 45 6c 65 6d 65 6e 74 28 72 65 66 65 | null);.....sa.AppendElement(refe |
cfe80 | 72 72 65 72 55 72 6c 29 3b 0a 20 20 20 20 73 61 2e 41 70 70 65 6e 64 45 6c 65 6d 65 6e 74 28 70 | rrerUrl);.....sa.AppendElement(p |
cfea0 | 6f 73 74 44 61 74 61 29 3b 0a 20 20 20 20 73 61 2e 41 70 70 65 6e 64 45 6c 65 6d 65 6e 74 28 61 | ostData);.....sa.AppendElement(a |
cfec0 | 6c 6c 6f 77 54 68 69 72 64 50 61 72 74 79 46 69 78 75 70 29 3b 0a 0a 20 20 20 20 76 61 72 20 77 | llowThirdPartyFixup);......var.w |
cfee0 | 77 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 65 6d 62 65 64 63 6f 6d 70 2f 77 | w.=.Cc["@mozilla.org/embedcomp/w |
cff00 | 69 6e 64 6f 77 2d 77 61 74 63 68 65 72 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | indow-watcher;1"]............... |
cff20 | 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 57 69 6e 64 6f 77 57 61 74 63 68 65 72 29 3b | getService(Ci.nsIWindowWatcher); |
cff40 | 0a 0a 20 20 20 20 77 77 2e 6f 70 65 6e 57 69 6e 64 6f 77 28 77 20 7c 7c 20 77 69 6e 64 6f 77 2c | ......ww.openWindow(w.||.window, |
cff60 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 42 72 6f 77 73 65 72 55 52 4c | ...................getBrowserURL |
cff80 | 28 29 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 75 6c 6c 2c 0a 20 20 20 20 | (),...................null,..... |
cffa0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 63 68 72 6f 6d 65 2c 64 69 61 6c 6f 67 3d 6e 6f 2c | .............."chrome,dialog=no, |
cffc0 | 61 6c 6c 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 61 29 3b 0a 0a 20 20 | all",...................sa);.... |
cffe0 | 20 20 72 65 74 75 72 6e 3b 0a 20 20 7d 0a 0a 20 20 76 61 72 20 6c 6f 61 64 49 6e 42 61 63 6b 67 | ..return;...}....var.loadInBackg |
d0000 | 72 6f 75 6e 64 20 3d 20 67 65 74 42 6f 6f 6c 50 72 65 66 28 22 62 72 6f 77 73 65 72 2e 74 61 62 | round.=.getBoolPref("browser.tab |
d0020 | 73 2e 6c 6f 61 64 42 6f 6f 6b 6d 61 72 6b 73 49 6e 42 61 63 6b 67 72 6f 75 6e 64 22 2c 20 66 61 | s.loadBookmarksInBackground",.fa |
d0040 | 6c 73 65 29 3b 0a 0a 20 20 73 77 69 74 63 68 20 28 77 68 65 72 65 29 20 7b 0a 20 20 63 61 73 65 | lse);....switch.(where).{...case |
d0060 | 20 22 63 75 72 72 65 6e 74 22 3a 0a 20 20 20 20 77 2e 6c 6f 61 64 55 52 49 28 75 72 6c 2c 20 72 | ."current":.....w.loadURI(url,.r |
d0080 | 65 66 65 72 72 65 72 55 72 6c 2c 20 70 6f 73 74 44 61 74 61 2c 20 61 6c 6c 6f 77 54 68 69 72 64 | eferrerUrl,.postData,.allowThird |
d00a0 | 50 61 72 74 79 46 69 78 75 70 29 3b 0a 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 63 61 73 65 20 22 | PartyFixup);.....break;...case." |
d00c0 | 74 61 62 73 68 69 66 74 65 64 22 3a 0a 20 20 20 20 6c 6f 61 64 49 6e 42 61 63 6b 67 72 6f 75 6e | tabshifted":.....loadInBackgroun |
d00e0 | 64 20 3d 20 21 6c 6f 61 64 49 6e 42 61 63 6b 67 72 6f 75 6e 64 3b 0a 20 20 20 20 2f 2f 20 66 61 | d.=.!loadInBackground;.....//.fa |
d0100 | 6c 6c 20 74 68 72 6f 75 67 68 0a 20 20 63 61 73 65 20 22 74 61 62 22 3a 0a 20 20 20 20 76 61 72 | ll.through...case."tab":.....var |
d0120 | 20 62 72 6f 77 73 65 72 20 3d 20 77 2e 67 65 74 42 72 6f 77 73 65 72 28 29 3b 0a 20 20 20 20 62 | .browser.=.w.getBrowser();.....b |
d0140 | 72 6f 77 73 65 72 2e 6c 6f 61 64 4f 6e 65 54 61 62 28 75 72 6c 2c 20 72 65 66 65 72 72 65 72 55 | rowser.loadOneTab(url,.referrerU |
d0160 | 72 6c 2c 20 6e 75 6c 6c 2c 20 70 6f 73 74 44 61 74 61 2c 20 6c 6f 61 64 49 6e 42 61 63 6b 67 72 | rl,.null,.postData,.loadInBackgr |
d0180 | 6f 75 6e 64 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 6c 6c | ound,........................all |
d01a0 | 6f 77 54 68 69 72 64 50 61 72 74 79 46 69 78 75 70 20 7c 7c 20 66 61 6c 73 65 29 3b 0a 20 20 20 | owThirdPartyFixup.||.false);.... |
d01c0 | 20 62 72 65 61 6b 3b 0a 20 20 7d 0a 0a 20 20 2f 2f 20 43 61 6c 6c 20 66 6f 63 75 73 45 6c 65 6d | .break;...}....//.Call.focusElem |
d01e0 | 65 6e 74 28 77 2e 63 6f 6e 74 65 6e 74 29 20 69 6e 73 74 65 61 64 20 6f 66 20 77 2e 63 6f 6e 74 | ent(w.content).instead.of.w.cont |
d0200 | 65 6e 74 2e 66 6f 63 75 73 28 29 20 74 6f 20 6d 61 6b 65 20 73 75 72 65 0a 20 20 2f 2f 20 74 68 | ent.focus().to.make.sure...//.th |
d0220 | 61 74 20 77 65 20 64 6f 6e 27 74 20 72 61 69 73 65 20 74 68 65 20 6f 6c 64 20 77 69 6e 64 6f 77 | at.we.don't.raise.the.old.window |
d0240 | 2c 20 73 69 6e 63 65 20 74 68 65 20 55 52 49 20 77 65 20 6a 75 73 74 20 6c 6f 61 64 65 64 20 6d | ,.since.the.URI.we.just.loaded.m |
d0260 | 61 79 20 68 61 76 65 0a 20 20 2f 2f 20 72 65 73 75 6c 74 65 64 20 69 6e 20 61 20 6e 65 77 20 66 | ay.have...//.resulted.in.a.new.f |
d0280 | 72 6f 6e 74 6d 6f 73 74 20 77 69 6e 64 6f 77 20 28 65 2e 67 2e 20 22 6a 61 76 61 73 63 72 69 70 | rontmost.window.(e.g.."javascrip |
d02a0 | 74 3a 77 69 6e 64 6f 77 2e 6f 70 65 6e 28 27 27 29 3b 22 29 2e 0a 20 20 66 6f 63 75 73 45 6c 65 | t:window.open('');")....focusEle |
d02c0 | 6d 65 6e 74 28 77 2e 63 6f 6e 74 65 6e 74 29 3b 0a 7d 0a 0a 2f 2f 20 55 73 65 64 20 61 73 20 61 | ment(w.content);.}..//.Used.as.a |
d02e0 | 6e 20 6f 6e 63 6c 69 63 6b 20 68 61 6e 64 6c 65 72 20 66 6f 72 20 55 49 20 65 6c 65 6d 65 6e 74 | n.onclick.handler.for.UI.element |
d0300 | 73 20 77 69 74 68 20 6c 69 6e 6b 2d 6c 69 6b 65 20 62 65 68 61 76 69 6f 72 2e 0a 2f 2f 20 65 2e | s.with.link-like.behavior..//.e. |
d0320 | 67 2e 20 6f 6e 63 6c 69 63 6b 3d 22 63 68 65 63 6b 46 6f 72 4d 69 64 64 6c 65 43 6c 69 63 6b 28 | g..onclick="checkForMiddleClick( |
d0340 | 74 68 69 73 2c 20 65 76 65 6e 74 29 3b 22 0a 66 75 6e 63 74 69 6f 6e 20 63 68 65 63 6b 46 6f 72 | this,.event);".function.checkFor |
d0360 | 4d 69 64 64 6c 65 43 6c 69 63 6b 28 6e 6f 64 65 2c 20 65 76 65 6e 74 29 20 7b 0a 20 20 2f 2f 20 | MiddleClick(node,.event).{...//. |
d0380 | 57 65 20 73 68 6f 75 6c 64 20 62 65 20 75 73 69 6e 67 20 74 68 65 20 64 69 73 61 62 6c 65 64 20 | We.should.be.using.the.disabled. |
d03a0 | 70 72 6f 70 65 72 74 79 20 68 65 72 65 20 69 6e 73 74 65 61 64 20 6f 66 20 74 68 65 20 61 74 74 | property.here.instead.of.the.att |
d03c0 | 72 69 62 75 74 65 2c 0a 20 20 2f 2f 20 62 75 74 20 73 6f 6d 65 20 65 6c 65 6d 65 6e 74 73 20 74 | ribute,...//.but.some.elements.t |
d03e0 | 68 61 74 20 74 68 69 73 20 66 75 6e 63 74 69 6f 6e 20 69 73 20 75 73 65 64 20 77 69 74 68 20 64 | hat.this.function.is.used.with.d |
d0400 | 6f 6e 27 74 20 73 75 70 70 6f 72 74 20 69 74 20 28 65 2e 67 2e 0a 20 20 2f 2f 20 6d 65 6e 75 69 | on't.support.it.(e.g....//.menui |
d0420 | 74 65 6d 29 2e 0a 20 20 69 66 20 28 6e 6f 64 65 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 64 | tem)....if.(node.getAttribute("d |
d0440 | 69 73 61 62 6c 65 64 22 29 20 3d 3d 20 22 74 72 75 65 22 29 0a 20 20 20 20 72 65 74 75 72 6e 3b | isabled").==."true").....return; |
d0460 | 20 2f 2f 20 44 6f 20 6e 6f 74 68 69 6e 67 0a 0a 20 20 69 66 20 28 65 76 65 6e 74 2e 62 75 74 74 | .//.Do.nothing....if.(event.butt |
d0480 | 6f 6e 20 3d 3d 20 31 29 20 7b 0a 20 20 20 20 2f 2a 20 45 78 65 63 75 74 65 20 74 68 65 20 6e 6f | on.==.1).{...../*.Execute.the.no |
d04a0 | 64 65 27 73 20 6f 6e 63 6f 6d 6d 61 6e 64 20 6f 72 20 63 6f 6d 6d 61 6e 64 2e 0a 20 20 20 20 20 | de's.oncommand.or.command....... |
d04c0 | 2a 0a 20 20 20 20 20 2a 20 58 58 58 3a 20 77 65 20 73 68 6f 75 6c 64 20 75 73 65 20 6e 6f 64 65 | *......*.XXX:.we.should.use.node |
d04e0 | 2e 6f 6e 63 6f 6d 6d 61 6e 64 28 65 76 65 6e 74 29 20 6f 6e 63 65 20 62 75 67 20 32 34 36 37 32 | .oncommand(event).once.bug.24672 |
d0500 | 30 20 69 73 20 66 69 78 65 64 2e 0a 20 20 20 20 20 2a 2f 0a 20 20 20 20 76 61 72 20 74 61 72 67 | 0.is.fixed.......*/.....var.targ |
d0520 | 65 74 20 3d 20 6e 6f 64 65 2e 68 61 73 41 74 74 72 69 62 75 74 65 28 22 6f 6e 63 6f 6d 6d 61 6e | et.=.node.hasAttribute("oncomman |
d0540 | 64 22 29 20 3f 20 6e 6f 64 65 20 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 6f | d").?.node.:..................no |
d0560 | 64 65 2e 6f 77 6e 65 72 44 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 | de.ownerDocument.getElementById( |
d0580 | 6e 6f 64 65 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 63 6f 6d 6d 61 6e 64 22 29 29 3b 0a 20 | node.getAttribute("command"));.. |
d05a0 | 20 20 20 76 61 72 20 66 6e 20 3d 20 6e 65 77 20 46 75 6e 63 74 69 6f 6e 28 22 65 76 65 6e 74 22 | ...var.fn.=.new.Function("event" |
d05c0 | 2c 20 74 61 72 67 65 74 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 6f 6e 63 6f 6d 6d 61 6e 64 | ,.target.getAttribute("oncommand |
d05e0 | 22 29 29 3b 0a 20 20 20 20 66 6e 2e 63 61 6c 6c 28 74 61 72 67 65 74 2c 20 65 76 65 6e 74 29 3b | "));.....fn.call(target,.event); |
d0600 | 0a 0a 20 20 20 20 2f 2f 20 49 66 20 74 68 65 20 6d 69 64 64 6c 65 2d 63 6c 69 63 6b 20 77 61 73 | ......//.If.the.middle-click.was |
d0620 | 20 6f 6e 20 70 61 72 74 20 6f 66 20 61 20 6d 65 6e 75 2c 20 63 6c 6f 73 65 20 74 68 65 20 6d 65 | .on.part.of.a.menu,.close.the.me |
d0640 | 6e 75 2e 0a 20 20 20 20 2f 2f 20 28 4d 65 6e 75 73 20 63 6c 6f 73 65 20 61 75 74 6f 6d 61 74 69 | nu......//.(Menus.close.automati |
d0660 | 63 61 6c 6c 79 20 77 69 74 68 20 6c 65 66 74 2d 63 6c 69 63 6b 20 62 75 74 20 6e 6f 74 20 77 69 | cally.with.left-click.but.not.wi |
d0680 | 74 68 20 6d 69 64 64 6c 65 2d 63 6c 69 63 6b 2e 29 0a 20 20 20 20 63 6c 6f 73 65 4d 65 6e 75 73 | th.middle-click.).....closeMenus |
d06a0 | 28 65 76 65 6e 74 2e 74 61 72 67 65 74 29 3b 0a 20 20 7d 0a 7d 0a 0a 2f 2f 20 43 6c 6f 73 65 73 | (event.target);...}.}..//.Closes |
d06c0 | 20 61 6c 6c 20 70 6f 70 75 70 73 20 74 68 61 74 20 61 72 65 20 61 6e 63 65 73 74 6f 72 73 20 6f | .all.popups.that.are.ancestors.o |
d06e0 | 66 20 74 68 65 20 6e 6f 64 65 2e 0a 66 75 6e 63 74 69 6f 6e 20 63 6c 6f 73 65 4d 65 6e 75 73 28 | f.the.node..function.closeMenus( |
d0700 | 6e 6f 64 65 29 0a 7b 0a 20 20 69 66 20 28 22 74 61 67 4e 61 6d 65 22 20 69 6e 20 6e 6f 64 65 29 | node).{...if.("tagName".in.node) |
d0720 | 20 7b 0a 20 20 20 20 69 66 20 28 6e 6f 64 65 2e 6e 61 6d 65 73 70 61 63 65 55 52 49 20 3d 3d 20 | .{.....if.(node.namespaceURI.==. |
d0740 | 22 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6b 65 79 6d 61 73 74 65 | "http://www.mozilla.org/keymaste |
d0760 | 72 2f 67 61 74 65 6b 65 65 70 65 72 2f 74 68 65 72 65 2e 69 73 2e 6f 6e 6c 79 2e 78 75 6c 22 0a | r/gatekeeper/there.is.only.xul". |
d0780 | 20 20 20 20 26 26 20 28 6e 6f 64 65 2e 74 61 67 4e 61 6d 65 20 3d 3d 20 22 6d 65 6e 75 70 6f 70 | ....&&.(node.tagName.==."menupop |
d07a0 | 75 70 22 20 7c 7c 20 6e 6f 64 65 2e 74 61 67 4e 61 6d 65 20 3d 3d 20 22 70 6f 70 75 70 22 29 29 | up".||.node.tagName.==."popup")) |
d07c0 | 0a 20 20 20 20 20 20 6e 6f 64 65 2e 68 69 64 65 50 6f 70 75 70 28 29 3b 0a 0a 20 20 20 20 63 6c | .......node.hidePopup();......cl |
d07e0 | 6f 73 65 4d 65 6e 75 73 28 6e 6f 64 65 2e 70 61 72 65 6e 74 4e 6f 64 65 29 3b 0a 20 20 7d 0a 7d | oseMenus(node.parentNode);...}.} |
d0800 | 0a 0a 2f 2f 20 47 61 74 68 65 72 20 61 6c 6c 20 64 65 73 63 65 6e 64 65 6e 74 20 74 65 78 74 20 | ..//.Gather.all.descendent.text. |
d0820 | 75 6e 64 65 72 20 67 69 76 65 6e 20 64 6f 63 75 6d 65 6e 74 20 6e 6f 64 65 2e 0a 66 75 6e 63 74 | under.given.document.node..funct |
d0840 | 69 6f 6e 20 67 61 74 68 65 72 54 65 78 74 55 6e 64 65 72 20 28 20 72 6f 6f 74 20 29 20 0a 7b 0a | ion.gatherTextUnder.(.root.)..{. |
d0860 | 20 20 76 61 72 20 74 65 78 74 20 3d 20 22 22 3b 0a 20 20 76 61 72 20 6e 6f 64 65 20 3d 20 72 6f | ..var.text.=."";...var.node.=.ro |
d0880 | 6f 74 2e 66 69 72 73 74 43 68 69 6c 64 3b 0a 20 20 76 61 72 20 64 65 70 74 68 20 3d 20 31 3b 0a | ot.firstChild;...var.depth.=.1;. |
d08a0 | 20 20 77 68 69 6c 65 20 28 20 6e 6f 64 65 20 26 26 20 64 65 70 74 68 20 3e 20 30 20 29 20 7b 0a | ..while.(.node.&&.depth.>.0.).{. |
d08c0 | 20 20 20 20 2f 2f 20 53 65 65 20 69 66 20 74 68 69 73 20 6e 6f 64 65 20 69 73 20 74 65 78 74 2e | ....//.See.if.this.node.is.text. |
d08e0 | 0a 20 20 20 20 69 66 20 28 20 6e 6f 64 65 2e 6e 6f 64 65 54 79 70 65 20 3d 3d 20 4e 6f 64 65 2e | .....if.(.node.nodeType.==.Node. |
d0900 | 54 45 58 54 5f 4e 4f 44 45 20 29 20 7b 0a 20 20 20 20 20 20 2f 2f 20 41 64 64 20 74 68 69 73 20 | TEXT_NODE.).{.......//.Add.this. |
d0920 | 74 65 78 74 20 74 6f 20 6f 75 72 20 63 6f 6c 6c 65 63 74 69 6f 6e 2e 0a 20 20 20 20 20 20 74 65 | text.to.our.collection........te |
d0940 | 78 74 20 2b 3d 20 22 20 22 20 2b 20 6e 6f 64 65 2e 64 61 74 61 3b 0a 20 20 20 20 7d 20 65 6c 73 | xt.+=.".".+.node.data;.....}.els |
d0960 | 65 20 69 66 20 28 20 6e 6f 64 65 20 69 6e 73 74 61 6e 63 65 6f 66 20 48 54 4d 4c 49 6d 61 67 65 | e.if.(.node.instanceof.HTMLImage |
d0980 | 45 6c 65 6d 65 6e 74 29 20 7b 0a 20 20 20 20 20 20 2f 2f 20 49 66 20 69 74 20 68 61 73 20 61 6e | Element).{.......//.If.it.has.an |
d09a0 | 20 61 6c 74 3d 20 61 74 74 72 69 62 75 74 65 2c 20 75 73 65 20 74 68 61 74 2e 0a 20 20 20 20 20 | .alt=.attribute,.use.that....... |
d09c0 | 20 76 61 72 20 61 6c 74 54 65 78 74 20 3d 20 6e 6f 64 65 2e 67 65 74 41 74 74 72 69 62 75 74 65 | .var.altText.=.node.getAttribute |
d09e0 | 28 20 22 61 6c 74 22 20 29 3b 0a 20 20 20 20 20 20 69 66 20 28 20 61 6c 74 54 65 78 74 20 26 26 | (."alt".);.......if.(.altText.&& |
d0a00 | 20 61 6c 74 54 65 78 74 20 21 3d 20 22 22 20 29 20 7b 0a 20 20 20 20 20 20 20 20 74 65 78 74 20 | .altText.!=."".).{.........text. |
d0a20 | 3d 20 61 6c 74 54 65 78 74 3b 0a 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 | =.altText;.........break;....... |
d0a40 | 7d 0a 20 20 20 20 7d 0a 20 20 20 20 2f 2f 20 46 69 6e 64 20 6e 65 78 74 20 6e 6f 64 65 20 74 6f | }.....}.....//.Find.next.node.to |
d0a60 | 20 74 65 73 74 2e 0a 20 20 20 20 2f 2f 20 46 69 72 73 74 2c 20 73 65 65 20 69 66 20 74 68 69 73 | .test......//.First,.see.if.this |
d0a80 | 20 6e 6f 64 65 20 68 61 73 20 63 68 69 6c 64 72 65 6e 2e 0a 20 20 20 20 69 66 20 28 20 6e 6f 64 | .node.has.children......if.(.nod |
d0aa0 | 65 2e 68 61 73 43 68 69 6c 64 4e 6f 64 65 73 28 29 20 29 20 7b 0a 20 20 20 20 20 20 2f 2f 20 47 | e.hasChildNodes().).{.......//.G |
d0ac0 | 6f 20 74 6f 20 66 69 72 73 74 20 63 68 69 6c 64 2e 0a 20 20 20 20 20 20 6e 6f 64 65 20 3d 20 6e | o.to.first.child........node.=.n |
d0ae0 | 6f 64 65 2e 66 69 72 73 74 43 68 69 6c 64 3b 0a 20 20 20 20 20 20 64 65 70 74 68 2b 2b 3b 0a 20 | ode.firstChild;.......depth++;.. |
d0b00 | 20 20 20 7d 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 2f 2f 20 4e 6f 20 63 68 69 6c 64 72 65 6e | ...}.else.{.......//.No.children |
d0b20 | 2c 20 74 72 79 20 6e 65 78 74 20 73 69 62 6c 69 6e 67 2e 0a 20 20 20 20 20 20 69 66 20 28 20 6e | ,.try.next.sibling........if.(.n |
d0b40 | 6f 64 65 2e 6e 65 78 74 53 69 62 6c 69 6e 67 20 29 20 7b 0a 20 20 20 20 20 20 20 20 6e 6f 64 65 | ode.nextSibling.).{.........node |
d0b60 | 20 3d 20 6e 6f 64 65 2e 6e 65 78 74 53 69 62 6c 69 6e 67 3b 0a 20 20 20 20 20 20 7d 20 65 6c 73 | .=.node.nextSibling;.......}.els |
d0b80 | 65 20 7b 0a 20 20 20 20 20 20 20 20 2f 2f 20 4c 61 73 74 20 72 65 73 6f 72 74 20 69 73 20 6f 75 | e.{.........//.Last.resort.is.ou |
d0ba0 | 72 20 6e 65 78 74 20 6f 6c 64 65 73 74 20 75 6e 63 6c 65 2f 61 75 6e 74 2e 0a 20 20 20 20 20 20 | r.next.oldest.uncle/aunt........ |
d0bc0 | 20 20 6e 6f 64 65 20 3d 20 6e 6f 64 65 2e 70 61 72 65 6e 74 4e 6f 64 65 2e 6e 65 78 74 53 69 62 | ..node.=.node.parentNode.nextSib |
d0be0 | 6c 69 6e 67 3b 0a 20 20 20 20 20 20 20 20 64 65 70 74 68 2d 2d 3b 0a 20 20 20 20 20 20 7d 0a 20 | ling;.........depth--;.......}.. |
d0c00 | 20 20 20 7d 0a 20 20 7d 0a 20 20 2f 2f 20 53 74 72 69 70 20 6c 65 61 64 69 6e 67 20 77 68 69 74 | ...}...}...//.Strip.leading.whit |
d0c20 | 65 73 70 61 63 65 2e 0a 20 20 74 65 78 74 20 3d 20 74 65 78 74 2e 72 65 70 6c 61 63 65 28 20 2f | espace....text.=.text.replace(./ |
d0c40 | 5e 5c 73 2b 2f 2c 20 22 22 20 29 3b 0a 20 20 2f 2f 20 53 74 72 69 70 20 74 72 61 69 6c 69 6e 67 | ^\s+/,."".);...//.Strip.trailing |
d0c60 | 20 77 68 69 74 65 73 70 61 63 65 2e 0a 20 20 74 65 78 74 20 3d 20 74 65 78 74 2e 72 65 70 6c 61 | .whitespace....text.=.text.repla |
d0c80 | 63 65 28 20 2f 5c 73 2b 24 2f 2c 20 22 22 20 29 3b 0a 20 20 2f 2f 20 43 6f 6d 70 72 65 73 73 20 | ce(./\s+$/,."".);...//.Compress. |
d0ca0 | 72 65 6d 61 69 6e 69 6e 67 20 77 68 69 74 65 73 70 61 63 65 2e 0a 20 20 74 65 78 74 20 3d 20 74 | remaining.whitespace....text.=.t |
d0cc0 | 65 78 74 2e 72 65 70 6c 61 63 65 28 20 2f 5c 73 2b 2f 67 2c 20 22 20 22 20 29 3b 0a 20 20 72 65 | ext.replace(./\s+/g,.".".);...re |
d0ce0 | 74 75 72 6e 20 74 65 78 74 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 67 65 74 53 68 65 6c 6c 53 | turn.text;.}..function.getShellS |
d0d00 | 65 72 76 69 63 65 28 29 0a 7b 0a 20 20 76 61 72 20 73 68 65 6c 6c 20 3d 20 6e 75 6c 6c 3b 0a 20 | ervice().{...var.shell.=.null;.. |
d0d20 | 20 74 72 79 20 7b 0a 20 20 20 20 73 68 65 6c 6c 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c | .try.{.....shell.=.Components.cl |
d0d40 | 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 62 72 6f 77 73 65 72 2f 73 68 65 6c | asses["@mozilla.org/browser/shel |
d0d60 | 6c 2d 73 65 72 76 69 63 65 3b 31 22 5d 0a 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 | l-service;1"]........getService( |
d0d80 | 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 53 68 65 6c 6c 53 65 | Components.interfaces.nsIShellSe |
d0da0 | 72 76 69 63 65 29 3b 0a 20 20 7d 20 63 61 74 63 68 20 28 65 29 20 7b 64 75 6d 70 28 22 2a 2a 2a | rvice);...}.catch.(e).{dump("*** |
d0dc0 | 20 65 20 3d 20 22 20 2b 20 65 20 2b 20 22 5c 6e 22 29 3b 7d 0a 20 20 72 65 74 75 72 6e 20 73 68 | .e.=.".+.e.+."\n");}...return.sh |
d0de0 | 65 6c 6c 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 69 73 42 69 64 69 45 6e 61 62 6c 65 64 28 29 | ell;.}..function.isBidiEnabled() |
d0e00 | 20 7b 0a 20 20 2f 2f 20 66 69 72 73 74 20 63 68 65 63 6b 20 74 68 65 20 70 72 65 66 2e 0a 20 20 | .{...//.first.check.the.pref.... |
d0e20 | 69 66 20 28 67 65 74 42 6f 6f 6c 50 72 65 66 28 22 62 69 64 69 2e 62 72 6f 77 73 65 72 2e 75 69 | if.(getBoolPref("bidi.browser.ui |
d0e40 | 22 2c 20 66 61 6c 73 65 29 29 0a 20 20 20 20 72 65 74 75 72 6e 20 74 72 75 65 3b 0a 0a 20 20 2f | ",.false)).....return.true;..../ |
d0e60 | 2f 20 69 66 20 74 68 65 20 70 72 65 66 20 69 73 6e 27 74 20 73 65 74 2c 20 63 68 65 63 6b 20 66 | /.if.the.pref.isn't.set,.check.f |
d0e80 | 6f 72 20 61 6e 20 52 54 4c 20 6c 6f 63 61 6c 65 20 61 6e 64 20 66 6f 72 63 65 20 74 68 65 20 70 | or.an.RTL.locale.and.force.the.p |
d0ea0 | 72 65 66 20 74 6f 20 74 72 75 65 0a 20 20 2f 2f 20 69 66 20 77 65 20 66 69 6e 64 20 6f 6e 65 2e | ref.to.true...//.if.we.find.one. |
d0ec0 | 0a 20 20 76 61 72 20 72 76 20 3d 20 66 61 6c 73 65 3b 0a 0a 20 20 74 72 79 20 7b 0a 20 20 20 20 | ...var.rv.=.false;....try.{..... |
d0ee0 | 76 61 72 20 6c 6f 63 61 6c 65 53 65 72 76 69 63 65 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 | var.localeService.=.Components.c |
d0f00 | 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 69 6e 74 6c 2f 6e 73 6c 6f 63 61 | lasses["@mozilla.org/intl/nsloca |
d0f20 | 6c 65 73 65 72 76 69 63 65 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | leservice;1"]................... |
d0f40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 | .................getService(Comp |
d0f60 | 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 4c 6f 63 61 6c 65 53 65 72 76 69 | onents.interfaces.nsILocaleServi |
d0f80 | 63 65 29 3b 0a 20 20 20 20 76 61 72 20 73 79 73 74 65 6d 4c 6f 63 61 6c 65 20 3d 20 6c 6f 63 61 | ce);.....var.systemLocale.=.loca |
d0fa0 | 6c 65 53 65 72 76 69 63 65 2e 67 65 74 53 79 73 74 65 6d 4c 6f 63 61 6c 65 28 29 2e 67 65 74 43 | leService.getSystemLocale().getC |
d0fc0 | 61 74 65 67 6f 72 79 28 22 4e 53 49 4c 4f 43 41 4c 45 5f 43 54 59 50 45 22 29 2e 73 75 62 73 74 | ategory("NSILOCALE_CTYPE").subst |
d0fe0 | 72 28 30 2c 33 29 3b 0a 0a 20 20 20 20 73 77 69 74 63 68 20 28 73 79 73 74 65 6d 4c 6f 63 61 6c | r(0,3);......switch.(systemLocal |
d1000 | 65 29 20 7b 0a 20 20 20 20 20 20 63 61 73 65 20 22 61 72 2d 22 3a 0a 20 20 20 20 20 20 63 61 73 | e).{.......case."ar-":.......cas |
d1020 | 65 20 22 68 65 2d 22 3a 0a 20 20 20 20 20 20 63 61 73 65 20 22 66 61 2d 22 3a 0a 20 20 20 20 20 | e."he-":.......case."fa-":...... |
d1040 | 20 63 61 73 65 20 22 75 72 2d 22 3a 0a 20 20 20 20 20 20 63 61 73 65 20 22 73 79 72 22 3a 0a 20 | .case."ur-":.......case."syr":.. |
d1060 | 20 20 20 20 20 20 20 72 76 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 76 61 72 20 70 72 | .......rv.=.true;.........var.pr |
d1080 | 65 66 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c | ef.=.Components.classes["@mozill |
d10a0 | 61 2e 6f 72 67 2f 70 72 65 66 65 72 65 6e 63 65 73 2d 73 65 72 76 69 63 65 3b 31 22 5d 0a 20 20 | a.org/preferences-service;1"]... |
d10c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 | ............................getS |
d10e0 | 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 | ervice(Components.interfaces.nsI |
d1100 | 50 72 65 66 42 72 61 6e 63 68 29 3b 0a 20 20 20 20 20 20 20 20 70 72 65 66 2e 73 65 74 42 6f 6f | PrefBranch);.........pref.setBoo |
d1120 | 6c 50 72 65 66 28 22 62 69 64 69 2e 62 72 6f 77 73 65 72 2e 75 69 22 2c 20 74 72 75 65 29 3b 0a | lPref("bidi.browser.ui",.true);. |
d1140 | 20 20 20 20 7d 0a 20 20 7d 20 63 61 74 63 68 20 28 65 29 20 7b 7d 0a 0a 20 20 72 65 74 75 72 6e | ....}...}.catch.(e).{}....return |
d1160 | 20 72 76 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 6f 70 65 6e 41 62 6f 75 74 44 69 61 6c 6f 67 | .rv;.}..function.openAboutDialog |
d1180 | 28 29 0a 7b 0a 2f 2f 40 6c 69 6e 65 20 34 30 31 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 | ().{.//@line.401."/builds/moz2_s |
d11a0 | 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 62 | lave/linux_build/build/browser/b |
d11c0 | 61 73 65 2f 63 6f 6e 74 65 6e 74 2f 75 74 69 6c 69 74 79 4f 76 65 72 6c 61 79 2e 6a 73 22 0a 20 | ase/content/utilityOverlay.js".. |
d11e0 | 20 77 69 6e 64 6f 77 2e 6f 70 65 6e 44 69 61 6c 6f 67 28 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f | .window.openDialog("chrome://bro |
d1200 | 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 61 62 6f 75 74 44 69 61 6c 6f 67 2e 78 75 6c 22 2c 20 22 | wser/content/aboutDialog.xul",." |
d1220 | 41 62 6f 75 74 22 2c 20 22 63 65 6e 74 65 72 73 63 72 65 65 6e 2c 63 68 72 6f 6d 65 2c 72 65 73 | About",."centerscreen,chrome,res |
d1240 | 69 7a 61 62 6c 65 3d 6e 6f 22 29 3b 0a 2f 2f 40 6c 69 6e 65 20 34 30 33 20 22 2f 62 75 69 6c 64 | izable=no");.//@line.403."/build |
d1260 | 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 | s/moz2_slave/linux_build/build/b |
d1280 | 72 6f 77 73 65 72 2f 62 61 73 65 2f 63 6f 6e 74 65 6e 74 2f 75 74 69 6c 69 74 79 4f 76 65 72 6c | rowser/base/content/utilityOverl |
d12a0 | 61 79 2e 6a 73 22 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 6f 70 65 6e 50 72 65 66 65 72 65 6e 63 | ay.js".}..function.openPreferenc |
d12c0 | 65 73 28 70 61 6e 65 49 44 2c 20 65 78 74 72 61 41 72 67 73 29 0a 7b 0a 20 20 76 61 72 20 69 6e | es(paneID,.extraArgs).{...var.in |
d12e0 | 73 74 61 6e 74 41 70 70 6c 79 20 3d 20 67 65 74 42 6f 6f 6c 50 72 65 66 28 22 62 72 6f 77 73 65 | stantApply.=.getBoolPref("browse |
d1300 | 72 2e 70 72 65 66 65 72 65 6e 63 65 73 2e 69 6e 73 74 61 6e 74 41 70 70 6c 79 22 2c 20 66 61 6c | r.preferences.instantApply",.fal |
d1320 | 73 65 29 3b 0a 20 20 76 61 72 20 66 65 61 74 75 72 65 73 20 3d 20 22 63 68 72 6f 6d 65 2c 74 69 | se);...var.features.=."chrome,ti |
d1340 | 74 6c 65 62 61 72 2c 74 6f 6f 6c 62 61 72 2c 63 65 6e 74 65 72 73 63 72 65 65 6e 22 20 2b 20 28 | tlebar,toolbar,centerscreen".+.( |
d1360 | 69 6e 73 74 61 6e 74 41 70 70 6c 79 20 3f 20 22 2c 64 69 61 6c 6f 67 3d 6e 6f 22 20 3a 20 22 2c | instantApply.?.",dialog=no".:.", |
d1380 | 6d 6f 64 61 6c 22 29 3b 0a 0a 20 20 76 61 72 20 77 6d 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e | modal");....var.wm.=.Components. |
d13a0 | 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 61 70 70 73 68 65 6c 6c 2f 77 | classes["@mozilla.org/appshell/w |
d13c0 | 69 6e 64 6f 77 2d 6d 65 64 69 61 74 6f 72 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | indow-mediator;1"].............. |
d13e0 | 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 | .........getService(Components.i |
d1400 | 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 57 69 6e 64 6f 77 4d 65 64 69 61 74 6f 72 29 3b 0a 20 20 | nterfaces.nsIWindowMediator);... |
d1420 | 76 61 72 20 77 69 6e 20 3d 20 77 6d 2e 67 65 74 4d 6f 73 74 52 65 63 65 6e 74 57 69 6e 64 6f 77 | var.win.=.wm.getMostRecentWindow |
d1440 | 28 22 42 72 6f 77 73 65 72 3a 50 72 65 66 65 72 65 6e 63 65 73 22 29 3b 0a 20 20 69 66 20 28 77 | ("Browser:Preferences");...if.(w |
d1460 | 69 6e 29 20 7b 0a 20 20 20 20 77 69 6e 2e 66 6f 63 75 73 28 29 3b 0a 20 20 20 20 69 66 20 28 70 | in).{.....win.focus();.....if.(p |
d1480 | 61 6e 65 49 44 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 70 61 6e 65 20 3d 20 77 69 6e 2e 64 6f | aneID).{.......var.pane.=.win.do |
d14a0 | 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 70 61 6e 65 49 44 29 3b 0a 20 | cument.getElementById(paneID);.. |
d14c0 | 20 20 20 20 20 77 69 6e 2e 64 6f 63 75 6d 65 6e 74 2e 64 6f 63 75 6d 65 6e 74 45 6c 65 6d 65 6e | .....win.document.documentElemen |
d14e0 | 74 2e 73 68 6f 77 50 61 6e 65 28 70 61 6e 65 29 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 69 66 20 | t.showPane(pane);.....}......if. |
d1500 | 28 65 78 74 72 61 41 72 67 73 20 26 26 20 65 78 74 72 61 41 72 67 73 5b 22 61 64 76 61 6e 63 65 | (extraArgs.&&.extraArgs["advance |
d1520 | 64 54 61 62 22 5d 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 61 64 76 61 6e 63 65 64 50 61 6e 65 | dTab"]).{.......var.advancedPane |
d1540 | 54 61 62 73 20 3d 20 77 69 6e 2e 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 | Tabs.=.win.document.getElementBy |
d1560 | 49 64 28 22 61 64 76 61 6e 63 65 64 50 72 65 66 73 22 29 3b 0a 20 20 20 20 20 20 61 64 76 61 6e | Id("advancedPrefs");.......advan |
d1580 | 63 65 64 50 61 6e 65 54 61 62 73 2e 73 65 6c 65 63 74 65 64 54 61 62 20 3d 20 77 69 6e 2e 64 6f | cedPaneTabs.selectedTab.=.win.do |
d15a0 | 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 65 78 74 72 61 41 72 67 73 5b | cument.getElementById(extraArgs[ |
d15c0 | 22 61 64 76 61 6e 63 65 64 54 61 62 22 5d 29 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 72 65 74 75 | "advancedTab"]);.....}......retu |
d15e0 | 72 6e 20 77 69 6e 3b 0a 20 20 7d 0a 0a 20 20 72 65 74 75 72 6e 20 6f 70 65 6e 44 69 61 6c 6f 67 | rn.win;...}....return.openDialog |
d1600 | 28 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 70 72 65 66 65 | ("chrome://browser/content/prefe |
d1620 | 72 65 6e 63 65 73 2f 70 72 65 66 65 72 65 6e 63 65 73 2e 78 75 6c 22 2c 0a 20 20 20 20 20 20 20 | rences/preferences.xul",........ |
d1640 | 20 20 20 20 20 20 20 20 20 20 20 20 20 22 50 72 65 66 65 72 65 6e 63 65 73 22 2c 20 66 65 61 74 | ............."Preferences",.feat |
d1660 | 75 72 65 73 2c 20 70 61 6e 65 49 44 2c 20 65 78 74 72 61 41 72 67 73 29 3b 0a 7d 0a 0a 66 75 6e | ures,.paneID,.extraArgs);.}..fun |
d1680 | 63 74 69 6f 6e 20 6f 70 65 6e 41 64 76 61 6e 63 65 64 50 72 65 66 65 72 65 6e 63 65 73 28 74 61 | ction.openAdvancedPreferences(ta |
d16a0 | 62 49 44 29 0a 7b 0a 20 20 72 65 74 75 72 6e 20 6f 70 65 6e 50 72 65 66 65 72 65 6e 63 65 73 28 | bID).{...return.openPreferences( |
d16c0 | 22 70 61 6e 65 41 64 76 61 6e 63 65 64 22 2c 20 7b 20 22 61 64 76 61 6e 63 65 64 54 61 62 22 20 | "paneAdvanced",.{."advancedTab". |
d16e0 | 3a 20 74 61 62 49 44 20 7d 29 3b 0a 7d 0a 0a 2f 2a 2a 0a 20 2a 20 4f 70 65 6e 73 20 74 68 65 20 | :.tabID.});.}../**..*.Opens.the. |
d1700 | 72 65 6c 65 61 73 65 20 6e 6f 74 65 73 20 70 61 67 65 20 66 6f 72 20 74 68 69 73 20 76 65 72 73 | release.notes.page.for.this.vers |
d1720 | 69 6f 6e 20 6f 66 20 74 68 65 20 61 70 70 6c 69 63 61 74 69 6f 6e 2e 0a 20 2a 2f 0a 66 75 6e 63 | ion.of.the.application...*/.func |
d1740 | 74 69 6f 6e 20 6f 70 65 6e 52 65 6c 65 61 73 65 4e 6f 74 65 73 28 29 0a 7b 0a 20 20 76 61 72 20 | tion.openReleaseNotes().{...var. |
d1760 | 66 6f 72 6d 61 74 74 65 72 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 | formatter.=.Components.classes[" |
d1780 | 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 74 6f 6f 6c 6b 69 74 2f 55 52 4c 46 6f 72 6d 61 74 74 65 | @mozilla.org/toolkit/URLFormatte |
d17a0 | 72 53 65 72 76 69 63 65 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | rService;1"].................... |
d17c0 | 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e | ..........getService(Components. |
d17e0 | 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 55 52 4c 46 6f 72 6d 61 74 74 65 72 29 3b 0a 20 20 76 | interfaces.nsIURLFormatter);...v |
d1800 | 61 72 20 72 65 6c 6e 6f 74 65 73 55 52 4c 20 3d 20 66 6f 72 6d 61 74 74 65 72 2e 66 6f 72 6d 61 | ar.relnotesURL.=.formatter.forma |
d1820 | 74 55 52 4c 50 72 65 66 28 22 61 70 70 2e 72 65 6c 65 61 73 65 4e 6f 74 65 73 55 52 4c 22 29 3b | tURLPref("app.releaseNotesURL"); |
d1840 | 0a 20 20 0a 20 20 6f 70 65 6e 55 49 4c 69 6e 6b 49 6e 28 72 65 6c 6e 6f 74 65 73 55 52 4c 2c 20 | ......openUILinkIn(relnotesURL,. |
d1860 | 22 74 61 62 22 29 3b 0a 7d 0a 0a 2f 2f 40 6c 69 6e 65 20 34 35 30 20 22 2f 62 75 69 6c 64 73 2f | "tab");.}..//@line.450."/builds/ |
d1880 | 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f | moz2_slave/linux_build/build/bro |
d18a0 | 77 73 65 72 2f 62 61 73 65 2f 63 6f 6e 74 65 6e 74 2f 75 74 69 6c 69 74 79 4f 76 65 72 6c 61 79 | wser/base/content/utilityOverlay |
d18c0 | 2e 6a 73 22 0a 2f 2a 2a 0a 20 2a 20 4f 70 65 6e 73 20 74 68 65 20 75 70 64 61 74 65 20 6d 61 6e | .js"./**..*.Opens.the.update.man |
d18e0 | 61 67 65 72 20 61 6e 64 20 63 68 65 63 6b 73 20 66 6f 72 20 75 70 64 61 74 65 73 20 74 6f 20 74 | ager.and.checks.for.updates.to.t |
d1900 | 68 65 20 61 70 70 6c 69 63 61 74 69 6f 6e 2e 0a 20 2a 2f 0a 66 75 6e 63 74 69 6f 6e 20 63 68 65 | he.application...*/.function.che |
d1920 | 63 6b 46 6f 72 55 70 64 61 74 65 73 28 29 0a 7b 0a 20 20 76 61 72 20 75 6d 20 3d 20 0a 20 20 20 | ckForUpdates().{...var.um.=..... |
d1940 | 20 20 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e | ...Components.classes["@mozilla. |
d1960 | 6f 72 67 2f 75 70 64 61 74 65 73 2f 75 70 64 61 74 65 2d 6d 61 6e 61 67 65 72 3b 31 22 5d 2e 0a | org/updates/update-manager;1"].. |
d1980 | 20 20 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 | ......getService(Components.inte |
d19a0 | 72 66 61 63 65 73 2e 6e 73 49 55 70 64 61 74 65 4d 61 6e 61 67 65 72 29 3b 0a 20 20 76 61 72 20 | rfaces.nsIUpdateManager);...var. |
d19c0 | 70 72 6f 6d 70 74 65 72 20 3d 20 0a 20 20 20 20 20 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 | prompter.=........Components.cla |
d19e0 | 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 75 70 64 61 74 65 73 2f 75 70 64 61 74 | sses["@mozilla.org/updates/updat |
d1a00 | 65 2d 70 72 6f 6d 70 74 3b 31 22 5d 2e 0a 20 20 20 20 20 20 63 72 65 61 74 65 49 6e 73 74 61 6e | e-prompt;1"]........createInstan |
d1a20 | 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 55 70 64 61 | ce(Components.interfaces.nsIUpda |
d1a40 | 74 65 50 72 6f 6d 70 74 29 3b 0a 0a 20 20 2f 2f 20 49 66 20 74 68 65 72 65 27 73 20 61 6e 20 75 | tePrompt);....//.If.there's.an.u |
d1a60 | 70 64 61 74 65 20 72 65 61 64 79 20 74 6f 20 62 65 20 61 70 70 6c 69 65 64 2c 20 73 68 6f 77 20 | pdate.ready.to.be.applied,.show. |
d1a80 | 74 68 65 20 22 55 70 64 61 74 65 20 44 6f 77 6e 6c 6f 61 64 65 64 22 0a 20 20 2f 2f 20 55 49 20 | the."Update.Downloaded"...//.UI. |
d1aa0 | 69 6e 73 74 65 61 64 20 61 6e 64 20 6c 65 74 20 74 68 65 20 75 73 65 72 20 6b 6e 6f 77 20 74 68 | instead.and.let.the.user.know.th |
d1ac0 | 65 79 20 68 61 76 65 20 74 6f 20 72 65 73 74 61 72 74 20 74 68 65 20 62 72 6f 77 73 65 72 20 66 | ey.have.to.restart.the.browser.f |
d1ae0 | 6f 72 0a 20 20 2f 2f 20 74 68 65 20 63 68 61 6e 67 65 73 20 74 6f 20 62 65 20 61 70 70 6c 69 65 | or...//.the.changes.to.be.applie |
d1b00 | 64 2e 20 0a 20 20 69 66 20 28 75 6d 2e 61 63 74 69 76 65 55 70 64 61 74 65 20 26 26 20 75 6d 2e | d.....if.(um.activeUpdate.&&.um. |
d1b20 | 61 63 74 69 76 65 55 70 64 61 74 65 2e 73 74 61 74 65 20 3d 3d 20 22 70 65 6e 64 69 6e 67 22 29 | activeUpdate.state.==."pending") |
d1b40 | 0a 20 20 20 20 70 72 6f 6d 70 74 65 72 2e 73 68 6f 77 55 70 64 61 74 65 44 6f 77 6e 6c 6f 61 64 | .....prompter.showUpdateDownload |
d1b60 | 65 64 28 75 6d 2e 61 63 74 69 76 65 55 70 64 61 74 65 29 3b 0a 20 20 65 6c 73 65 0a 20 20 20 20 | ed(um.activeUpdate);...else..... |
d1b80 | 70 72 6f 6d 70 74 65 72 2e 63 68 65 63 6b 46 6f 72 55 70 64 61 74 65 73 28 29 3b 0a 7d 0a 2f 2f | prompter.checkForUpdates();.}.// |
d1ba0 | 40 6c 69 6e 65 20 34 37 31 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 | @line.471."/builds/moz2_slave/li |
d1bc0 | 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 62 61 73 65 2f 63 6f 6e | nux_build/build/browser/base/con |
d1be0 | 74 65 6e 74 2f 75 74 69 6c 69 74 79 4f 76 65 72 6c 61 79 2e 6a 73 22 0a 0a 66 75 6e 63 74 69 6f | tent/utilityOverlay.js"..functio |
d1c00 | 6e 20 62 75 69 6c 64 48 65 6c 70 4d 65 6e 75 28 29 0a 7b 0a 20 20 2f 2f 20 45 6e 61 62 6c 65 2f | n.buildHelpMenu().{...//.Enable/ |
d1c20 | 64 69 73 61 62 6c 65 20 74 68 65 20 22 52 65 70 6f 72 74 20 57 65 62 20 46 6f 72 67 65 72 79 22 | disable.the."Report.Web.Forgery" |
d1c40 | 20 6d 65 6e 75 20 69 74 65 6d 2e 20 20 73 61 66 65 62 72 6f 77 73 69 6e 67 20 6f 62 6a 65 63 74 | .menu.item...safebrowsing.object |
d1c60 | 0a 20 20 2f 2f 20 6d 61 79 20 6e 6f 74 20 65 78 69 73 74 20 69 6e 20 4f 53 58 0a 20 20 69 66 20 | ...//.may.not.exist.in.OSX...if. |
d1c80 | 28 74 79 70 65 6f 66 20 73 61 66 65 62 72 6f 77 73 69 6e 67 20 21 3d 20 22 75 6e 64 65 66 69 6e | (typeof.safebrowsing.!=."undefin |
d1ca0 | 65 64 22 29 0a 20 20 20 20 73 61 66 65 62 72 6f 77 73 69 6e 67 2e 73 65 74 52 65 70 6f 72 74 50 | ed").....safebrowsing.setReportP |
d1cc0 | 68 69 73 68 69 6e 67 4d 65 6e 75 28 29 3b 0a 0a 2f 2f 40 6c 69 6e 65 20 34 38 30 20 22 2f 62 75 | hishingMenu();..//@line.480."/bu |
d1ce0 | 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c | ilds/moz2_slave/linux_build/buil |
d1d00 | 64 2f 62 72 6f 77 73 65 72 2f 62 61 73 65 2f 63 6f 6e 74 65 6e 74 2f 75 74 69 6c 69 74 79 4f 76 | d/browser/base/content/utilityOv |
d1d20 | 65 72 6c 61 79 2e 6a 73 22 0a 20 20 76 61 72 20 75 70 64 61 74 65 73 20 3d 20 0a 20 20 20 20 20 | erlay.js"...var.updates.=....... |
d1d40 | 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 | .Components.classes["@mozilla.or |
d1d60 | 67 2f 75 70 64 61 74 65 73 2f 75 70 64 61 74 65 2d 73 65 72 76 69 63 65 3b 31 22 5d 2e 0a 20 20 | g/updates/update-service;1"].... |
d1d80 | 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 | ....getService(Components.interf |
d1da0 | 61 63 65 73 2e 6e 73 49 41 70 70 6c 69 63 61 74 69 6f 6e 55 70 64 61 74 65 53 65 72 76 69 63 65 | aces.nsIApplicationUpdateService |
d1dc0 | 29 3b 0a 20 20 76 61 72 20 75 6d 20 3d 20 0a 20 20 20 20 20 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e | );...var.um.=........Components. |
d1de0 | 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 75 70 64 61 74 65 73 2f 75 70 | classes["@mozilla.org/updates/up |
d1e00 | 64 61 74 65 2d 6d 61 6e 61 67 65 72 3b 31 22 5d 2e 0a 20 20 20 20 20 20 67 65 74 53 65 72 76 69 | date-manager;1"]........getServi |
d1e20 | 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 55 70 64 61 | ce(Components.interfaces.nsIUpda |
d1e40 | 74 65 4d 61 6e 61 67 65 72 29 3b 0a 0a 20 20 2f 2f 20 44 69 73 61 62 6c 65 20 74 68 65 20 55 49 | teManager);....//.Disable.the.UI |
d1e60 | 20 69 66 20 74 68 65 20 75 70 64 61 74 65 20 65 6e 61 62 6c 65 64 20 70 72 65 66 20 68 61 73 20 | .if.the.update.enabled.pref.has. |
d1e80 | 62 65 65 6e 20 6c 6f 63 6b 65 64 20 62 79 20 74 68 65 20 0a 20 20 2f 2f 20 61 64 6d 69 6e 69 73 | been.locked.by.the....//.adminis |
d1ea0 | 74 72 61 74 6f 72 20 6f 72 20 69 66 20 77 65 20 63 61 6e 6e 6f 74 20 75 70 64 61 74 65 20 66 6f | trator.or.if.we.cannot.update.fo |
d1ec0 | 72 20 73 6f 6d 65 20 6f 74 68 65 72 20 72 65 61 73 6f 6e 0a 20 20 76 61 72 20 63 68 65 63 6b 46 | r.some.other.reason...var.checkF |
d1ee0 | 6f 72 55 70 64 61 74 65 73 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 | orUpdates.=.document.getElementB |
d1f00 | 79 49 64 28 22 63 68 65 63 6b 46 6f 72 55 70 64 61 74 65 73 22 29 3b 0a 20 20 76 61 72 20 63 61 | yId("checkForUpdates");...var.ca |
d1f20 | 6e 55 70 64 61 74 65 20 3d 20 75 70 64 61 74 65 73 2e 63 61 6e 55 70 64 61 74 65 3b 0a 20 20 63 | nUpdate.=.updates.canUpdate;...c |
d1f40 | 68 65 63 6b 46 6f 72 55 70 64 61 74 65 73 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 64 69 73 | heckForUpdates.setAttribute("dis |
d1f60 | 61 62 6c 65 64 22 2c 20 21 63 61 6e 55 70 64 61 74 65 29 3b 0a 20 20 69 66 20 28 21 63 61 6e 55 | abled",.!canUpdate);...if.(!canU |
d1f80 | 70 64 61 74 65 29 0a 20 20 20 20 72 65 74 75 72 6e 3b 20 0a 0a 20 20 76 61 72 20 73 74 72 69 6e | pdate).....return;.....var.strin |
d1fa0 | 67 73 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 62 75 | gs.=.document.getElementById("bu |
d1fc0 | 6e 64 6c 65 5f 62 72 6f 77 73 65 72 22 29 3b 0a 20 20 76 61 72 20 61 63 74 69 76 65 55 70 64 61 | ndle_browser");...var.activeUpda |
d1fe0 | 74 65 20 3d 20 75 6d 2e 61 63 74 69 76 65 55 70 64 61 74 65 3b 0a 20 20 0a 20 20 2f 2f 20 49 66 | te.=.um.activeUpdate;......//.If |
d2000 | 20 74 68 65 72 65 27 73 20 61 6e 20 61 63 74 69 76 65 20 75 70 64 61 74 65 2c 20 73 75 62 73 74 | .there's.an.active.update,.subst |
d2020 | 69 74 75 74 65 20 69 74 73 20 6e 61 6d 65 20 69 6e 74 6f 20 74 68 65 20 6c 61 62 65 6c 0a 20 20 | itute.its.name.into.the.label... |
d2040 | 2f 2f 20 77 65 20 73 68 6f 77 20 66 6f 72 20 74 68 69 73 20 69 74 65 6d 2c 20 6f 74 68 65 72 77 | //.we.show.for.this.item,.otherw |
d2060 | 69 73 65 20 64 69 73 70 6c 61 79 20 61 20 67 65 6e 65 72 69 63 20 6c 61 62 65 6c 2e 0a 20 20 66 | ise.display.a.generic.label....f |
d2080 | 75 6e 63 74 69 6f 6e 20 67 65 74 53 74 72 69 6e 67 57 69 74 68 55 70 64 61 74 65 4e 61 6d 65 28 | unction.getStringWithUpdateName( |
d20a0 | 6b 65 79 29 20 7b 0a 20 20 20 20 69 66 20 28 61 63 74 69 76 65 55 70 64 61 74 65 20 26 26 20 61 | key).{.....if.(activeUpdate.&&.a |
d20c0 | 63 74 69 76 65 55 70 64 61 74 65 2e 6e 61 6d 65 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 73 | ctiveUpdate.name).......return.s |
d20e0 | 74 72 69 6e 67 73 2e 67 65 74 46 6f 72 6d 61 74 74 65 64 53 74 72 69 6e 67 28 6b 65 79 2c 20 5b | trings.getFormattedString(key,.[ |
d2100 | 61 63 74 69 76 65 55 70 64 61 74 65 2e 6e 61 6d 65 5d 29 3b 0a 20 20 20 20 72 65 74 75 72 6e 20 | activeUpdate.name]);.....return. |
d2120 | 73 74 72 69 6e 67 73 2e 67 65 74 53 74 72 69 6e 67 28 6b 65 79 20 2b 20 22 46 61 6c 6c 62 61 63 | strings.getString(key.+."Fallbac |
d2140 | 6b 22 29 3b 0a 20 20 7d 0a 20 20 0a 20 20 2f 2f 20 42 79 20 64 65 66 61 75 6c 74 2c 20 73 68 6f | k");...}......//.By.default,.sho |
d2160 | 77 20 22 43 68 65 63 6b 20 66 6f 72 20 55 70 64 61 74 65 73 2e 2e 2e 22 0a 20 20 76 61 72 20 6b | w."Check.for.Updates..."...var.k |
d2180 | 65 79 20 3d 20 22 64 65 66 61 75 6c 74 22 3b 0a 20 20 69 66 20 28 61 63 74 69 76 65 55 70 64 61 | ey.=."default";...if.(activeUpda |
d21a0 | 74 65 29 20 7b 0a 20 20 20 20 73 77 69 74 63 68 20 28 61 63 74 69 76 65 55 70 64 61 74 65 2e 73 | te).{.....switch.(activeUpdate.s |
d21c0 | 74 61 74 65 29 20 7b 0a 20 20 20 20 63 61 73 65 20 22 64 6f 77 6e 6c 6f 61 64 69 6e 67 22 3a 0a | tate).{.....case."downloading":. |
d21e0 | 20 20 20 20 20 20 2f 2f 20 49 66 20 77 65 27 72 65 20 64 6f 77 6e 6c 6f 61 64 69 6e 67 20 61 6e | ......//.If.we're.downloading.an |
d2200 | 20 75 70 64 61 74 65 20 61 74 20 70 72 65 73 65 6e 74 2c 20 73 68 6f 77 20 74 68 65 20 74 65 78 | .update.at.present,.show.the.tex |
d2220 | 74 3a 0a 20 20 20 20 20 20 2f 2f 20 22 44 6f 77 6e 6c 6f 61 64 69 6e 67 20 46 69 72 65 66 6f 78 | t:.......//."Downloading.Firefox |
d2240 | 20 78 2e 78 2e 2e 2e 22 20 6f 74 68 65 72 77 69 73 65 20 77 65 27 72 65 20 70 61 75 73 65 64 2c | .x.x...".otherwise.we're.paused, |
d2260 | 20 61 6e 64 20 73 68 6f 77 0a 20 20 20 20 20 20 2f 2f 20 22 52 65 73 75 6d 65 20 44 6f 77 6e 6c | .and.show.......//."Resume.Downl |
d2280 | 6f 61 64 69 6e 67 20 46 69 72 65 66 6f 78 20 78 2e 78 2e 2e 2e 22 0a 20 20 20 20 20 20 6b 65 79 | oading.Firefox.x.x...".......key |
d22a0 | 20 3d 20 75 70 64 61 74 65 73 2e 69 73 44 6f 77 6e 6c 6f 61 64 69 6e 67 20 3f 20 22 64 6f 77 6e | .=.updates.isDownloading.?."down |
d22c0 | 6c 6f 61 64 69 6e 67 22 20 3a 20 22 72 65 73 75 6d 65 22 3b 0a 20 20 20 20 20 20 62 72 65 61 6b | loading".:."resume";.......break |
d22e0 | 3b 0a 20 20 20 20 63 61 73 65 20 22 70 65 6e 64 69 6e 67 22 3a 0a 20 20 20 20 20 20 2f 2f 20 49 | ;.....case."pending":.......//.I |
d2300 | 66 20 77 65 27 72 65 20 77 61 69 74 69 6e 67 20 66 6f 72 20 74 68 65 20 75 73 65 72 20 74 6f 20 | f.we're.waiting.for.the.user.to. |
d2320 | 72 65 73 74 61 72 74 2c 20 73 68 6f 77 3a 20 22 41 70 70 6c 79 20 44 6f 77 6e 6c 6f 61 64 65 64 | restart,.show:."Apply.Downloaded |
d2340 | 0a 20 20 20 20 20 20 2f 2f 20 55 70 64 61 74 65 73 20 4e 6f 77 2e 2e 2e 22 0a 20 20 20 20 20 20 | .......//.Updates.Now..."....... |
d2360 | 6b 65 79 20 3d 20 22 70 65 6e 64 69 6e 67 22 3b 0a 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 | key.=."pending";.......break;... |
d2380 | 20 20 7d 0a 20 20 7d 0a 20 20 63 68 65 63 6b 46 6f 72 55 70 64 61 74 65 73 2e 6c 61 62 65 6c 20 | ..}...}...checkForUpdates.label. |
d23a0 | 3d 20 67 65 74 53 74 72 69 6e 67 57 69 74 68 55 70 64 61 74 65 4e 61 6d 65 28 22 75 70 64 61 74 | =.getStringWithUpdateName("updat |
d23c0 | 65 73 49 74 65 6d 5f 22 20 2b 20 6b 65 79 29 3b 0a 20 20 69 66 20 28 75 6d 2e 61 63 74 69 76 65 | esItem_".+.key);...if.(um.active |
d23e0 | 55 70 64 61 74 65 20 26 26 20 75 70 64 61 74 65 73 2e 69 73 44 6f 77 6e 6c 6f 61 64 69 6e 67 29 | Update.&&.updates.isDownloading) |
d2400 | 0a 20 20 20 20 63 68 65 63 6b 46 6f 72 55 70 64 61 74 65 73 2e 73 65 74 41 74 74 72 69 62 75 74 | .....checkForUpdates.setAttribut |
d2420 | 65 28 22 6c 6f 61 64 69 6e 67 22 2c 20 22 74 72 75 65 22 29 3b 0a 20 20 65 6c 73 65 0a 20 20 20 | e("loading",."true");...else.... |
d2440 | 20 63 68 65 63 6b 46 6f 72 55 70 64 61 74 65 73 2e 72 65 6d 6f 76 65 41 74 74 72 69 62 75 74 65 | .checkForUpdates.removeAttribute |
d2460 | 28 22 6c 6f 61 64 69 6e 67 22 29 3b 0a 2f 2f 40 6c 69 6e 65 20 35 33 32 20 22 2f 62 75 69 6c 64 | ("loading");.//@line.532."/build |
d2480 | 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 | s/moz2_slave/linux_build/build/b |
d24a0 | 72 6f 77 73 65 72 2f 62 61 73 65 2f 63 6f 6e 74 65 6e 74 2f 75 74 69 6c 69 74 79 4f 76 65 72 6c | rowser/base/content/utilityOverl |
d24c0 | 61 79 2e 6a 73 22 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 69 73 45 6c 65 6d 65 6e 74 56 69 73 69 | ay.js".}..function.isElementVisi |
d24e0 | 62 6c 65 28 61 45 6c 65 6d 65 6e 74 29 0a 7b 0a 20 20 69 66 20 28 21 61 45 6c 65 6d 65 6e 74 29 | ble(aElement).{...if.(!aElement) |
d2500 | 0a 20 20 20 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 0a 0a 20 20 2f 2f 20 49 66 20 61 45 6c 65 | .....return.false;....//.If.aEle |
d2520 | 6d 65 6e 74 20 6f 72 20 61 20 64 69 72 65 63 74 20 6f 72 20 69 6e 64 69 72 65 63 74 20 70 61 72 | ment.or.a.direct.or.indirect.par |
d2540 | 65 6e 74 20 69 73 20 68 69 64 64 65 6e 20 6f 72 20 63 6f 6c 6c 61 70 73 65 64 2c 0a 20 20 2f 2f | ent.is.hidden.or.collapsed,...// |
d2560 | 20 68 65 69 67 68 74 2c 20 77 69 64 74 68 20 6f 72 20 62 6f 74 68 20 77 69 6c 6c 20 62 65 20 30 | .height,.width.or.both.will.be.0 |
d2580 | 2e 0a 20 20 76 61 72 20 62 6f 20 3d 20 61 45 6c 65 6d 65 6e 74 2e 62 6f 78 4f 62 6a 65 63 74 3b | ....var.bo.=.aElement.boxObject; |
d25a0 | 0a 20 20 72 65 74 75 72 6e 20 28 62 6f 2e 68 65 69 67 68 74 20 3e 20 30 20 26 26 20 62 6f 2e 77 | ...return.(bo.height.>.0.&&.bo.w |
d25c0 | 69 64 74 68 20 3e 20 30 29 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 6d 61 6b 65 55 52 4c 41 62 | idth.>.0);.}..function.makeURLAb |
d25e0 | 73 6f 6c 75 74 65 28 61 42 61 73 65 2c 20 61 55 72 6c 29 0a 7b 0a 20 20 2f 2f 20 4e 6f 74 65 3a | solute(aBase,.aUrl).{...//.Note: |
d2600 | 20 20 6d 61 6b 65 55 52 49 28 29 20 77 69 6c 6c 20 74 68 72 6f 77 20 69 66 20 61 55 72 69 20 69 | ..makeURI().will.throw.if.aUri.i |
d2620 | 73 20 6e 6f 74 20 61 20 76 61 6c 69 64 20 55 52 49 0a 20 20 72 65 74 75 72 6e 20 6d 61 6b 65 55 | s.not.a.valid.URI...return.makeU |
d2640 | 52 49 28 61 55 72 6c 2c 20 6e 75 6c 6c 2c 20 6d 61 6b 65 55 52 49 28 61 42 61 73 65 29 29 2e 73 | RI(aUrl,.null,.makeURI(aBase)).s |
d2660 | 70 65 63 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 67 65 74 42 72 6f 77 73 65 72 46 72 6f 6d 43 | pec;.}..function.getBrowserFromC |
d2680 | 6f 6e 74 65 6e 74 57 69 6e 64 6f 77 28 61 43 6f 6e 74 65 6e 74 57 69 6e 64 6f 77 29 0a 7b 0a 20 | ontentWindow(aContentWindow).{.. |
d26a0 | 20 76 61 72 20 62 72 6f 77 73 65 72 73 20 3d 20 67 42 72 6f 77 73 65 72 2e 62 72 6f 77 73 65 72 | .var.browsers.=.gBrowser.browser |
d26c0 | 73 3b 0a 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 62 72 6f 77 73 65 72 | s;...for.(var.i.=.0;.i.<.browser |
d26e0 | 73 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 20 7b 0a 20 20 20 20 69 66 20 28 62 72 6f 77 73 65 72 | s.length;.i++).{.....if.(browser |
d2700 | 73 5b 69 5d 2e 63 6f 6e 74 65 6e 74 57 69 6e 64 6f 77 20 3d 3d 20 61 43 6f 6e 74 65 6e 74 57 69 | s[i].contentWindow.==.aContentWi |
d2720 | 6e 64 6f 77 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 62 72 6f 77 73 65 72 73 5b 69 5d 3b 0a | ndow).......return.browsers[i];. |
d2740 | 20 20 7d 0a 20 20 72 65 74 75 72 6e 20 6e 75 6c 6c 3b 0a 7d 0a 0a 0a 2f 2a 2a 0a 20 2a 20 6f 70 | ..}...return.null;.}.../**..*.op |
d2760 | 65 6e 4e 65 77 54 61 62 57 69 74 68 3a 20 6f 70 65 6e 73 20 61 20 6e 65 77 20 74 61 62 20 77 69 | enNewTabWith:.opens.a.new.tab.wi |
d2780 | 74 68 20 74 68 65 20 67 69 76 65 6e 20 55 52 4c 2e 0a 20 2a 0a 20 2a 20 40 70 61 72 61 6d 20 61 | th.the.given.URL...*..*.@param.a |
d27a0 | 55 52 4c 0a 20 2a 20 20 20 20 20 20 20 20 54 68 65 20 55 52 4c 20 74 6f 20 6f 70 65 6e 20 28 61 | URL..*........The.URL.to.open.(a |
d27c0 | 73 20 61 20 73 74 72 69 6e 67 29 2e 0a 20 2a 20 40 70 61 72 61 6d 20 61 44 6f 63 75 6d 65 6e 74 | s.a.string)...*.@param.aDocument |
d27e0 | 0a 20 2a 20 20 20 20 20 20 20 20 54 68 65 20 64 6f 63 75 6d 65 6e 74 20 66 72 6f 6d 20 77 68 69 | ..*........The.document.from.whi |
d2800 | 63 68 20 74 68 65 20 55 52 4c 20 63 61 6d 65 2c 20 6f 72 20 6e 75 6c 6c 2e 20 54 68 69 73 20 69 | ch.the.URL.came,.or.null..This.i |
d2820 | 73 20 75 73 65 64 20 74 6f 20 73 65 74 20 74 68 65 0a 20 2a 20 20 20 20 20 20 20 20 72 65 66 65 | s.used.to.set.the..*........refe |
d2840 | 72 72 65 72 20 68 65 61 64 65 72 20 61 6e 64 20 74 6f 20 64 6f 20 61 20 73 65 63 75 72 69 74 79 | rrer.header.and.to.do.a.security |
d2860 | 20 63 68 65 63 6b 20 6f 66 20 77 68 65 74 68 65 72 20 74 68 65 20 64 6f 63 75 6d 65 6e 74 20 69 | .check.of.whether.the.document.i |
d2880 | 73 0a 20 2a 20 20 20 20 20 20 20 20 61 6c 6c 6f 77 65 64 20 74 6f 20 72 65 66 65 72 65 6e 63 65 | s..*........allowed.to.reference |
d28a0 | 20 74 68 65 20 55 52 4c 2e 20 49 66 20 6e 75 6c 6c 2c 20 74 68 65 72 65 20 77 69 6c 6c 20 62 65 | .the.URL..If.null,.there.will.be |
d28c0 | 20 6e 6f 20 72 65 66 65 72 72 65 72 0a 20 2a 20 20 20 20 20 20 20 20 68 65 61 64 65 72 20 61 6e | .no.referrer..*........header.an |
d28e0 | 64 20 6e 6f 20 73 65 63 75 72 69 74 79 20 63 68 65 63 6b 2e 0a 20 2a 20 40 70 61 72 61 6d 20 61 | d.no.security.check...*.@param.a |
d2900 | 50 6f 73 74 44 61 74 61 0a 20 2a 20 20 20 20 20 20 20 20 46 6f 72 6d 20 50 4f 53 54 20 64 61 74 | PostData..*........Form.POST.dat |
d2920 | 61 2c 20 6f 72 20 6e 75 6c 6c 2e 0a 20 2a 20 40 70 61 72 61 6d 20 61 45 76 65 6e 74 0a 20 2a 20 | a,.or.null...*.@param.aEvent..*. |
d2940 | 20 20 20 20 20 20 20 54 68 65 20 74 72 69 67 67 65 72 69 6e 67 20 65 76 65 6e 74 20 28 66 6f 72 | .......The.triggering.event.(for |
d2960 | 20 74 68 65 20 70 75 72 70 6f 73 65 20 6f 66 20 64 65 74 65 72 6d 69 6e 69 6e 67 20 77 68 65 74 | .the.purpose.of.determining.whet |
d2980 | 68 65 72 20 74 6f 20 6f 70 65 6e 0a 20 2a 20 20 20 20 20 20 20 20 69 6e 20 74 68 65 20 62 61 63 | her.to.open..*........in.the.bac |
d29a0 | 6b 67 72 6f 75 6e 64 29 2c 20 6f 72 20 6e 75 6c 6c 2e 0a 20 2a 20 40 70 61 72 61 6d 20 61 41 6c | kground),.or.null...*.@param.aAl |
d29c0 | 6c 6f 77 54 68 69 72 64 50 61 72 74 79 46 69 78 75 70 0a 20 2a 20 20 20 20 20 20 20 20 49 66 20 | lowThirdPartyFixup..*........If. |
d29e0 | 74 72 75 65 2c 20 74 68 65 6e 20 77 65 20 61 6c 6c 6f 77 20 74 68 65 20 55 52 4c 20 74 65 78 74 | true,.then.we.allow.the.URL.text |
d2a00 | 20 74 6f 20 62 65 20 73 65 6e 74 20 74 6f 20 74 68 69 72 64 20 70 61 72 74 79 20 73 65 72 76 69 | .to.be.sent.to.third.party.servi |
d2a20 | 63 65 73 0a 20 2a 20 20 20 20 20 20 20 20 28 65 2e 67 2e 2c 20 47 6f 6f 67 6c 65 27 73 20 49 20 | ces..*........(e.g.,.Google's.I. |
d2a40 | 46 65 65 6c 20 4c 75 63 6b 79 29 20 66 6f 72 20 69 6e 74 65 72 70 72 65 74 61 74 69 6f 6e 2e 20 | Feel.Lucky).for.interpretation.. |
d2a60 | 54 68 69 73 20 70 61 72 61 6d 65 74 65 72 20 6d 61 79 0a 20 2a 20 20 20 20 20 20 20 20 62 65 20 | This.parameter.may..*........be. |
d2a80 | 75 6e 64 65 66 69 6e 65 64 20 69 6e 20 77 68 69 63 68 20 63 61 73 65 20 69 74 20 69 73 20 74 72 | undefined.in.which.case.it.is.tr |
d2aa0 | 65 61 74 65 64 20 61 73 20 66 61 6c 73 65 2e 0a 20 2a 20 40 70 61 72 61 6d 20 5b 6f 70 74 69 6f | eated.as.false...*.@param.[optio |
d2ac0 | 6e 61 6c 5d 20 61 52 65 66 65 72 72 65 72 0a 20 2a 20 20 20 20 20 20 20 20 49 66 20 61 44 6f 63 | nal].aReferrer..*........If.aDoc |
d2ae0 | 75 6d 65 6e 74 20 69 73 20 6e 75 6c 6c 2c 20 74 68 65 6e 20 74 68 69 73 20 77 69 6c 6c 20 62 65 | ument.is.null,.then.this.will.be |
d2b00 | 20 75 73 65 64 20 61 73 20 74 68 65 20 72 65 66 65 72 72 65 72 2e 0a 20 2a 20 20 20 20 20 20 20 | .used.as.the.referrer...*....... |
d2b20 | 20 54 68 65 72 65 20 77 69 6c 6c 20 62 65 20 6e 6f 20 73 65 63 75 72 69 74 79 20 63 68 65 63 6b | .There.will.be.no.security.check |
d2b40 | 2e 0a 20 2a 2f 20 0a 66 75 6e 63 74 69 6f 6e 20 6f 70 65 6e 4e 65 77 54 61 62 57 69 74 68 28 61 | ...*/..function.openNewTabWith(a |
d2b60 | 55 52 4c 2c 20 61 44 6f 63 75 6d 65 6e 74 2c 20 61 50 6f 73 74 44 61 74 61 2c 20 61 45 76 65 6e | URL,.aDocument,.aPostData,.aEven |
d2b80 | 74 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 41 6c 6c 6f | t,.........................aAllo |
d2ba0 | 77 54 68 69 72 64 50 61 72 74 79 46 69 78 75 70 2c 20 61 52 65 66 65 72 72 65 72 29 0a 7b 0a 20 | wThirdPartyFixup,.aReferrer).{.. |
d2bc0 | 20 69 66 20 28 61 44 6f 63 75 6d 65 6e 74 29 0a 20 20 20 20 75 72 6c 53 65 63 75 72 69 74 79 43 | .if.(aDocument).....urlSecurityC |
d2be0 | 68 65 63 6b 28 61 55 52 4c 2c 20 61 44 6f 63 75 6d 65 6e 74 2e 6e 6f 64 65 50 72 69 6e 63 69 70 | heck(aURL,.aDocument.nodePrincip |
d2c00 | 61 6c 29 3b 0a 0a 20 20 76 61 72 20 70 72 65 66 53 76 63 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 | al);....var.prefSvc.=.Components |
d2c20 | 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 70 72 65 66 65 72 65 6e 63 | .classes["@mozilla.org/preferenc |
d2c40 | 65 73 2d 73 65 72 76 69 63 65 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | es-service;1"].................. |
d2c60 | 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e | ..........getService(Components. |
d2c80 | 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 50 72 65 66 53 65 72 76 69 63 65 29 3b 0a 20 20 70 72 | interfaces.nsIPrefService);...pr |
d2ca0 | 65 66 53 76 63 20 3d 20 70 72 65 66 53 76 63 2e 67 65 74 42 72 61 6e 63 68 28 6e 75 6c 6c 29 3b | efSvc.=.prefSvc.getBranch(null); |
d2cc0 | 0a 0a 20 20 2f 2f 20 73 68 6f 75 6c 64 20 77 65 20 6f 70 65 6e 20 69 74 20 69 6e 20 61 20 6e 65 | ....//.should.we.open.it.in.a.ne |
d2ce0 | 77 20 74 61 62 3f 0a 20 20 76 61 72 20 6c 6f 61 64 49 6e 42 61 63 6b 67 72 6f 75 6e 64 20 3d 20 | w.tab?...var.loadInBackground.=. |
d2d00 | 74 72 75 65 3b 0a 20 20 74 72 79 20 7b 0a 20 20 20 20 6c 6f 61 64 49 6e 42 61 63 6b 67 72 6f 75 | true;...try.{.....loadInBackgrou |
d2d20 | 6e 64 20 3d 20 70 72 65 66 53 76 63 2e 67 65 74 42 6f 6f 6c 50 72 65 66 28 22 62 72 6f 77 73 65 | nd.=.prefSvc.getBoolPref("browse |
d2d40 | 72 2e 74 61 62 73 2e 6c 6f 61 64 49 6e 42 61 63 6b 67 72 6f 75 6e 64 22 29 3b 0a 20 20 7d 0a 20 | r.tabs.loadInBackground");...}.. |
d2d60 | 20 63 61 74 63 68 28 65 78 29 20 7b 0a 20 20 7d 0a 0a 20 20 69 66 20 28 61 45 76 65 6e 74 20 26 | .catch(ex).{...}....if.(aEvent.& |
d2d80 | 26 20 61 45 76 65 6e 74 2e 73 68 69 66 74 4b 65 79 29 0a 20 20 20 20 6c 6f 61 64 49 6e 42 61 63 | &.aEvent.shiftKey).....loadInBac |
d2da0 | 6b 67 72 6f 75 6e 64 20 3d 20 21 6c 6f 61 64 49 6e 42 61 63 6b 67 72 6f 75 6e 64 3b 0a 0a 20 20 | kground.=.!loadInBackground;.... |
d2dc0 | 2f 2f 20 41 73 20 69 6e 20 6f 70 65 6e 4e 65 77 57 69 6e 64 6f 77 57 69 74 68 28 29 2c 20 77 65 | //.As.in.openNewWindowWith(),.we |
d2de0 | 20 77 61 6e 74 20 74 6f 20 70 61 73 73 20 74 68 65 20 63 68 61 72 73 65 74 20 6f 66 20 74 68 65 | .want.to.pass.the.charset.of.the |
d2e00 | 0a 20 20 2f 2f 20 63 75 72 72 65 6e 74 20 64 6f 63 75 6d 65 6e 74 20 6f 76 65 72 20 74 6f 20 61 | ...//.current.document.over.to.a |
d2e20 | 20 6e 65 77 20 74 61 62 2e 20 0a 20 20 76 61 72 20 77 69 6e 74 79 70 65 20 3d 20 64 6f 63 75 6d | .new.tab.....var.wintype.=.docum |
d2e40 | 65 6e 74 2e 64 6f 63 75 6d 65 6e 74 45 6c 65 6d 65 6e 74 2e 67 65 74 41 74 74 72 69 62 75 74 65 | ent.documentElement.getAttribute |
d2e60 | 28 22 77 69 6e 64 6f 77 74 79 70 65 22 29 3b 0a 20 20 76 61 72 20 6f 72 69 67 69 6e 43 68 61 72 | ("windowtype");...var.originChar |
d2e80 | 73 65 74 3b 0a 20 20 69 66 20 28 77 69 6e 74 79 70 65 20 3d 3d 20 22 6e 61 76 69 67 61 74 6f 72 | set;...if.(wintype.==."navigator |
d2ea0 | 3a 62 72 6f 77 73 65 72 22 29 0a 20 20 20 20 6f 72 69 67 69 6e 43 68 61 72 73 65 74 20 3d 20 77 | :browser").....originCharset.=.w |
d2ec0 | 69 6e 64 6f 77 2e 63 6f 6e 74 65 6e 74 2e 64 6f 63 75 6d 65 6e 74 2e 63 68 61 72 61 63 74 65 72 | indow.content.document.character |
d2ee0 | 53 65 74 3b 0a 0a 20 20 2f 2f 20 6f 70 65 6e 20 6c 69 6e 6b 20 69 6e 20 6e 65 77 20 74 61 62 0a | Set;....//.open.link.in.new.tab. |
d2f00 | 20 20 76 61 72 20 72 65 66 65 72 72 65 72 55 52 49 20 3d 20 61 44 6f 63 75 6d 65 6e 74 20 3f 20 | ..var.referrerURI.=.aDocument.?. |
d2f20 | 61 44 6f 63 75 6d 65 6e 74 2e 64 6f 63 75 6d 65 6e 74 55 52 49 4f 62 6a 65 63 74 20 3a 20 61 52 | aDocument.documentURIObject.:.aR |
d2f40 | 65 66 65 72 72 65 72 3b 0a 20 20 76 61 72 20 62 72 6f 77 73 65 72 20 3d 20 74 6f 70 2e 64 6f 63 | eferrer;...var.browser.=.top.doc |
d2f60 | 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 63 6f 6e 74 65 6e 74 22 29 3b | ument.getElementById("content"); |
d2f80 | 0a 20 20 72 65 74 75 72 6e 20 62 72 6f 77 73 65 72 2e 6c 6f 61 64 4f 6e 65 54 61 62 28 61 55 52 | ...return.browser.loadOneTab(aUR |
d2fa0 | 4c 2c 20 72 65 66 65 72 72 65 72 55 52 49 2c 20 6f 72 69 67 69 6e 43 68 61 72 73 65 74 2c 20 61 | L,.referrerURI,.originCharset,.a |
d2fc0 | 50 6f 73 74 44 61 74 61 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | PostData,....................... |
d2fe0 | 20 20 20 20 20 20 6c 6f 61 64 49 6e 42 61 63 6b 67 72 6f 75 6e 64 2c 20 61 41 6c 6c 6f 77 54 68 | ......loadInBackground,.aAllowTh |
d3000 | 69 72 64 50 61 72 74 79 46 69 78 75 70 20 7c 7c 20 66 61 6c 73 65 29 3b 0a 7d 0a 0a 66 75 6e 63 | irdPartyFixup.||.false);.}..func |
d3020 | 74 69 6f 6e 20 6f 70 65 6e 4e 65 77 57 69 6e 64 6f 77 57 69 74 68 28 61 55 52 4c 2c 20 61 44 6f | tion.openNewWindowWith(aURL,.aDo |
d3040 | 63 75 6d 65 6e 74 2c 20 61 50 6f 73 74 44 61 74 61 2c 20 61 41 6c 6c 6f 77 54 68 69 72 64 50 61 | cument,.aPostData,.aAllowThirdPa |
d3060 | 72 74 79 46 69 78 75 70 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | rtyFixup,....................... |
d3080 | 20 20 20 20 20 61 52 65 66 65 72 72 65 72 29 0a 7b 0a 20 20 69 66 20 28 61 44 6f 63 75 6d 65 6e | .....aReferrer).{...if.(aDocumen |
d30a0 | 74 29 0a 20 20 20 20 75 72 6c 53 65 63 75 72 69 74 79 43 68 65 63 6b 28 61 55 52 4c 2c 20 61 44 | t).....urlSecurityCheck(aURL,.aD |
d30c0 | 6f 63 75 6d 65 6e 74 2e 6e 6f 64 65 50 72 69 6e 63 69 70 61 6c 29 3b 0a 0a 20 20 2f 2f 20 69 66 | ocument.nodePrincipal);....//.if |
d30e0 | 20 61 6e 64 20 6f 6e 6c 79 20 69 66 20 74 68 65 20 63 75 72 72 65 6e 74 20 77 69 6e 64 6f 77 20 | .and.only.if.the.current.window. |
d3100 | 69 73 20 61 20 62 72 6f 77 73 65 72 20 77 69 6e 64 6f 77 20 61 6e 64 20 69 74 20 68 61 73 20 61 | is.a.browser.window.and.it.has.a |
d3120 | 0a 20 20 2f 2f 20 64 6f 63 75 6d 65 6e 74 20 77 69 74 68 20 61 20 63 68 61 72 61 63 74 65 72 20 | ...//.document.with.a.character. |
d3140 | 73 65 74 2c 20 74 68 65 6e 20 65 78 74 72 61 63 74 20 74 68 65 20 63 75 72 72 65 6e 74 20 63 68 | set,.then.extract.the.current.ch |
d3160 | 61 72 73 65 74 20 6d 65 6e 75 0a 20 20 2f 2f 20 73 65 74 74 69 6e 67 20 66 72 6f 6d 20 74 68 65 | arset.menu...//.setting.from.the |
d3180 | 20 63 75 72 72 65 6e 74 20 64 6f 63 75 6d 65 6e 74 20 61 6e 64 20 75 73 65 20 69 74 20 74 6f 20 | .current.document.and.use.it.to. |
d31a0 | 69 6e 69 74 69 61 6c 69 7a 65 20 74 68 65 20 6e 65 77 20 62 72 6f 77 73 65 72 0a 20 20 2f 2f 20 | initialize.the.new.browser...//. |
d31c0 | 77 69 6e 64 6f 77 2e 2e 2e 0a 20 20 76 61 72 20 63 68 61 72 73 65 74 41 72 67 20 3d 20 6e 75 6c | window......var.charsetArg.=.nul |
d31e0 | 6c 3b 0a 20 20 76 61 72 20 77 69 6e 74 79 70 65 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 64 6f 63 75 | l;...var.wintype.=.document.docu |
d3200 | 6d 65 6e 74 45 6c 65 6d 65 6e 74 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 77 69 6e 64 6f 77 | mentElement.getAttribute("window |
d3220 | 74 79 70 65 22 29 3b 0a 20 20 69 66 20 28 77 69 6e 74 79 70 65 20 3d 3d 20 22 6e 61 76 69 67 61 | type");...if.(wintype.==."naviga |
d3240 | 74 6f 72 3a 62 72 6f 77 73 65 72 22 29 0a 20 20 20 20 63 68 61 72 73 65 74 41 72 67 20 3d 20 22 | tor:browser").....charsetArg.=." |
d3260 | 63 68 61 72 73 65 74 3d 22 20 2b 20 77 69 6e 64 6f 77 2e 63 6f 6e 74 65 6e 74 2e 64 6f 63 75 6d | charset=".+.window.content.docum |
d3280 | 65 6e 74 2e 63 68 61 72 61 63 74 65 72 53 65 74 3b 0a 0a 20 20 76 61 72 20 72 65 66 65 72 72 65 | ent.characterSet;....var.referre |
d32a0 | 72 55 52 49 20 3d 20 61 44 6f 63 75 6d 65 6e 74 20 3f 20 61 44 6f 63 75 6d 65 6e 74 2e 64 6f 63 | rURI.=.aDocument.?.aDocument.doc |
d32c0 | 75 6d 65 6e 74 55 52 49 4f 62 6a 65 63 74 20 3a 20 61 52 65 66 65 72 72 65 72 3b 0a 20 20 72 65 | umentURIObject.:.aReferrer;...re |
d32e0 | 74 75 72 6e 20 77 69 6e 64 6f 77 2e 6f 70 65 6e 44 69 61 6c 6f 67 28 67 65 74 42 72 6f 77 73 65 | turn.window.openDialog(getBrowse |
d3300 | 72 55 52 4c 28 29 2c 20 22 5f 62 6c 61 6e 6b 22 2c 20 22 63 68 72 6f 6d 65 2c 61 6c 6c 2c 64 69 | rURL(),."_blank",."chrome,all,di |
d3320 | 61 6c 6f 67 3d 6e 6f 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | alog=no",....................... |
d3340 | 20 20 20 20 20 61 55 52 4c 2c 20 63 68 61 72 73 65 74 41 72 67 2c 20 72 65 66 65 72 72 65 72 55 | .....aURL,.charsetArg,.referrerU |
d3360 | 52 49 2c 20 61 50 6f 73 74 44 61 74 61 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | RI,.aPostData,.................. |
d3380 | 20 20 20 20 20 20 20 20 20 20 61 41 6c 6c 6f 77 54 68 69 72 64 50 61 72 74 79 46 69 78 75 70 29 | ..........aAllowThirdPartyFixup) |
d33a0 | 3b 0a 7d 0a 0a 2f 2a 2a 0a 20 2a 20 69 73 56 61 6c 69 64 46 65 65 64 3a 20 63 68 65 63 6b 73 20 | ;.}../**..*.isValidFeed:.checks. |
d33c0 | 77 68 65 74 68 65 72 20 74 68 65 20 67 69 76 65 6e 20 64 61 74 61 20 72 65 70 72 65 73 65 6e 74 | whether.the.given.data.represent |
d33e0 | 73 20 61 20 76 61 6c 69 64 20 66 65 65 64 2e 0a 20 2a 0a 20 2a 20 40 70 61 72 61 6d 20 20 61 4c | s.a.valid.feed...*..*.@param..aL |
d3400 | 69 6e 6b 0a 20 2a 20 20 20 20 20 20 20 20 20 41 6e 20 6f 62 6a 65 63 74 20 72 65 70 72 65 73 65 | ink..*.........An.object.represe |
d3420 | 6e 74 69 6e 67 20 61 20 66 65 65 64 20 77 69 74 68 20 74 69 74 6c 65 2c 20 68 72 65 66 20 61 6e | nting.a.feed.with.title,.href.an |
d3440 | 64 20 74 79 70 65 2e 0a 20 2a 20 40 70 61 72 61 6d 20 20 61 50 72 69 6e 63 69 70 61 6c 0a 20 2a | d.type...*.@param..aPrincipal..* |
d3460 | 20 20 20 20 20 20 20 20 20 54 68 65 20 70 72 69 6e 63 69 70 61 6c 20 6f 66 20 74 68 65 20 64 6f | .........The.principal.of.the.do |
d3480 | 63 75 6d 65 6e 74 2c 20 75 73 65 64 20 66 6f 72 20 73 65 63 75 72 69 74 79 20 63 68 65 63 6b 2e | cument,.used.for.security.check. |
d34a0 | 0a 20 2a 20 40 70 61 72 61 6d 20 20 61 49 73 46 65 65 64 0a 20 2a 20 20 20 20 20 20 20 20 20 57 | ..*.@param..aIsFeed..*.........W |
d34c0 | 68 65 74 68 65 72 20 74 68 69 73 20 69 73 20 61 6c 72 65 61 64 79 20 61 20 6b 6e 6f 77 6e 20 66 | hether.this.is.already.a.known.f |
d34e0 | 65 65 64 20 6f 72 20 6e 6f 74 2c 20 69 66 20 74 72 75 65 20 6f 6e 6c 79 20 61 20 73 65 63 75 72 | eed.or.not,.if.true.only.a.secur |
d3500 | 69 74 79 0a 20 2a 20 20 20 20 20 20 20 20 20 63 68 65 63 6b 20 77 69 6c 6c 20 62 65 20 70 65 72 | ity..*.........check.will.be.per |
d3520 | 66 6f 72 6d 65 64 2e 0a 20 2a 2f 20 0a 66 75 6e 63 74 69 6f 6e 20 69 73 56 61 6c 69 64 46 65 65 | formed...*/..function.isValidFee |
d3540 | 64 28 61 4c 69 6e 6b 2c 20 61 50 72 69 6e 63 69 70 61 6c 2c 20 61 49 73 46 65 65 64 29 0a 7b 0a | d(aLink,.aPrincipal,.aIsFeed).{. |
d3560 | 20 20 69 66 20 28 21 61 4c 69 6e 6b 20 7c 7c 20 21 61 50 72 69 6e 63 69 70 61 6c 29 0a 20 20 20 | ..if.(!aLink.||.!aPrincipal).... |
d3580 | 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 0a 0a 20 20 76 61 72 20 74 79 70 65 20 3d 20 61 4c 69 | .return.false;....var.type.=.aLi |
d35a0 | 6e 6b 2e 74 79 70 65 2e 74 6f 4c 6f 77 65 72 43 61 73 65 28 29 2e 72 65 70 6c 61 63 65 28 2f 5e | nk.type.toLowerCase().replace(/^ |
d35c0 | 5c 73 2b 7c 5c 73 2a 28 3f 3a 3b 2e 2a 29 3f 24 2f 67 2c 20 22 22 29 3b 0a 20 20 69 66 20 28 21 | \s+|\s*(?:;.*)?$/g,."");...if.(! |
d35e0 | 61 49 73 46 65 65 64 29 20 7b 0a 20 20 20 20 61 49 73 46 65 65 64 20 3d 20 28 74 79 70 65 20 3d | aIsFeed).{.....aIsFeed.=.(type.= |
d3600 | 3d 20 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f 72 73 73 2b 78 6d 6c 22 20 7c 7c 0a 20 20 20 20 20 | =."application/rss+xml".||...... |
d3620 | 20 20 20 20 20 20 20 20 20 20 74 79 70 65 20 3d 3d 20 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f 61 | ..........type.==."application/a |
d3640 | 74 6f 6d 2b 78 6d 6c 22 29 3b 0a 20 20 7d 0a 0a 20 20 69 66 20 28 61 49 73 46 65 65 64 29 20 7b | tom+xml");...}....if.(aIsFeed).{ |
d3660 | 0a 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 75 72 6c 53 65 63 75 72 69 74 79 43 68 65 63 | .....try.{.......urlSecurityChec |
d3680 | 6b 28 61 4c 69 6e 6b 2e 68 72 65 66 2c 20 61 50 72 69 6e 63 69 70 61 6c 2c 0a 20 20 20 20 20 20 | k(aLink.href,.aPrincipal,....... |
d36a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 | .................Components.inte |
d36c0 | 72 66 61 63 65 73 2e 6e 73 49 53 63 72 69 70 74 53 65 63 75 72 69 74 79 4d 61 6e 61 67 65 72 2e | rfaces.nsIScriptSecurityManager. |
d36e0 | 44 49 53 41 4c 4c 4f 57 5f 49 4e 48 45 52 49 54 5f 50 52 49 4e 43 49 50 41 4c 29 3b 0a 20 20 20 | DISALLOW_INHERIT_PRINCIPAL);.... |
d3700 | 20 20 20 72 65 74 75 72 6e 20 74 79 70 65 20 7c 7c 20 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f 72 | ...return.type.||."application/r |
d3720 | 73 73 2b 78 6d 6c 22 3b 0a 20 20 20 20 7d 0a 20 20 20 20 63 61 74 63 68 28 65 78 29 20 7b 0a 20 | ss+xml";.....}.....catch(ex).{.. |
d3740 | 20 20 20 7d 0a 20 20 7d 0a 0a 20 20 72 65 74 75 72 6e 20 6e 75 6c 6c 3b 0a 7d 0a 0a 2f 2f 20 61 | ...}...}....return.null;.}..//.a |
d3760 | 43 61 6c 6c 65 64 46 72 6f 6d 4d 6f 64 61 6c 20 69 73 20 6f 70 74 69 6f 6e 61 6c 0a 66 75 6e 63 | CalledFromModal.is.optional.func |
d3780 | 74 69 6f 6e 20 6f 70 65 6e 48 65 6c 70 4c 69 6e 6b 28 61 48 65 6c 70 54 6f 70 69 63 2c 20 61 43 | tion.openHelpLink(aHelpTopic,.aC |
d37a0 | 61 6c 6c 65 64 46 72 6f 6d 4d 6f 64 61 6c 29 20 7b 0a 20 20 76 61 72 20 75 72 6c 20 3d 20 43 6f | alledFromModal).{...var.url.=.Co |
d37c0 | 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 74 | mponents.classes["@mozilla.org/t |
d37e0 | 6f 6f 6c 6b 69 74 2f 55 52 4c 46 6f 72 6d 61 74 74 65 72 53 65 72 76 69 63 65 3b 31 22 5d 0a 20 | oolkit/URLFormatterService;1"].. |
d3800 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 | ......................getService |
d3820 | 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 55 52 4c 46 6f 72 | (Components.interfaces.nsIURLFor |
d3840 | 6d 61 74 74 65 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 66 | matter)........................f |
d3860 | 6f 72 6d 61 74 55 52 4c 50 72 65 66 28 22 61 70 70 2e 73 75 70 70 6f 72 74 2e 62 61 73 65 55 52 | ormatURLPref("app.support.baseUR |
d3880 | 4c 22 29 3b 0a 20 20 75 72 6c 20 2b 3d 20 61 48 65 6c 70 54 6f 70 69 63 3b 0a 0a 20 20 76 61 72 | L");...url.+=.aHelpTopic;....var |
d38a0 | 20 77 68 65 72 65 20 3d 20 61 43 61 6c 6c 65 64 46 72 6f 6d 4d 6f 64 61 6c 20 3f 20 22 77 69 6e | .where.=.aCalledFromModal.?."win |
d38c0 | 64 6f 77 22 20 3a 20 22 74 61 62 22 3b 0a 20 20 6f 70 65 6e 55 49 4c 69 6e 6b 49 6e 28 75 72 6c | dow".:."tab";...openUILinkIn(url |
d38e0 | 2c 20 77 68 65 72 65 29 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 6f 70 65 6e 50 72 65 66 73 48 | ,.where);.}..function.openPrefsH |
d3900 | 65 6c 70 28 29 20 7b 0a 20 20 76 61 72 20 70 72 65 66 73 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 | elp().{...var.prefs.=.Components |
d3920 | 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 70 72 65 66 65 72 65 6e 63 | .classes["@mozilla.org/preferenc |
d3940 | 65 73 2d 73 65 72 76 69 63 65 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | es-service;1"].................. |
d3960 | 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e | ........getService(Components.in |
d3980 | 74 65 72 66 61 63 65 73 2e 6e 73 49 50 72 65 66 42 72 61 6e 63 68 32 29 3b 0a 0a 20 20 2f 2f 20 | terfaces.nsIPrefBranch2);....//. |
d39a0 | 6e 6f 6e 2d 69 6e 73 74 61 6e 74 20 61 70 70 6c 79 20 70 72 65 66 77 69 6e 64 6f 77 73 20 61 72 | non-instant.apply.prefwindows.ar |
d39c0 | 65 20 75 73 75 61 6c 6c 79 20 6d 6f 64 61 6c 2c 20 73 6f 20 77 65 20 63 61 6e 27 74 20 6f 70 65 | e.usually.modal,.so.we.can't.ope |
d39e0 | 6e 20 69 6e 20 74 68 65 20 74 6f 70 6d 6f 73 74 20 77 69 6e 64 6f 77 2c 20 0a 20 20 2f 2f 20 73 | n.in.the.topmost.window,....//.s |
d3a00 | 69 6e 63 65 20 69 74 73 20 70 72 6f 62 61 62 6c 79 20 62 65 68 69 6e 64 20 74 68 65 20 77 69 6e | ince.its.probably.behind.the.win |
d3a20 | 64 6f 77 2e 0a 20 20 76 61 72 20 69 6e 73 74 61 6e 74 41 70 70 6c 79 20 3d 20 70 72 65 66 73 2e | dow....var.instantApply.=.prefs. |
d3a40 | 67 65 74 42 6f 6f 6c 50 72 65 66 28 22 62 72 6f 77 73 65 72 2e 70 72 65 66 65 72 65 6e 63 65 73 | getBoolPref("browser.preferences |
d3a60 | 2e 69 6e 73 74 61 6e 74 41 70 70 6c 79 22 29 3b 0a 0a 20 20 76 61 72 20 68 65 6c 70 54 6f 70 69 | .instantApply");....var.helpTopi |
d3a80 | 63 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 73 42 79 54 61 67 4e 61 6d | c.=.document.getElementsByTagNam |
d3aa0 | 65 28 22 70 72 65 66 77 69 6e 64 6f 77 22 29 5b 30 5d 2e 63 75 72 72 65 6e 74 50 61 6e 65 2e 68 | e("prefwindow")[0].currentPane.h |
d3ac0 | 65 6c 70 54 6f 70 69 63 3b 0a 20 20 6f 70 65 6e 48 65 6c 70 4c 69 6e 6b 28 68 65 6c 70 54 6f 70 | elpTopic;...openHelpLink(helpTop |
d3ae0 | 69 63 2c 20 21 69 6e 73 74 61 6e 74 41 70 70 6c 79 29 3b 0a 7d 0a 50 4b 03 04 14 00 00 00 00 00 | ic,.!instantApply);.}.PK........ |
d3b00 | f2 4b 18 3b c4 6a d6 fc 8e 0c 00 00 8e 0c 00 00 1d 00 00 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 | .K.;.j..............content/brow |
d3b20 | 73 65 72 2f 77 65 62 2d 70 61 6e 65 6c 73 2e 6a 73 2f 2f 40 6c 69 6e 65 20 33 39 20 22 2f 62 75 | ser/web-panels.js//@line.39."/bu |
d3b40 | 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c | ilds/moz2_slave/linux_build/buil |
d3b60 | 64 2f 62 72 6f 77 73 65 72 2f 62 61 73 65 2f 63 6f 6e 74 65 6e 74 2f 77 65 62 2d 70 61 6e 65 6c | d/browser/base/content/web-panel |
d3b80 | 73 2e 6a 73 22 0a 0a 63 6f 6e 73 74 20 4e 53 5f 45 52 52 4f 52 5f 4d 4f 44 55 4c 45 5f 4e 45 54 | s.js"..const.NS_ERROR_MODULE_NET |
d3ba0 | 57 4f 52 4b 20 3d 20 32 31 35 32 33 39 38 38 34 38 3b 0a 63 6f 6e 73 74 20 4e 53 5f 4e 45 54 5f | WORK.=.2152398848;.const.NS_NET_ |
d3bc0 | 53 54 41 54 55 53 5f 52 45 41 44 5f 46 52 4f 4d 20 3d 20 4e 53 5f 45 52 52 4f 52 5f 4d 4f 44 55 | STATUS_READ_FROM.=.NS_ERROR_MODU |
d3be0 | 4c 45 5f 4e 45 54 57 4f 52 4b 20 2b 20 38 3b 0a 63 6f 6e 73 74 20 4e 53 5f 4e 45 54 5f 53 54 41 | LE_NETWORK.+.8;.const.NS_NET_STA |
d3c00 | 54 55 53 5f 57 52 4f 54 45 5f 54 4f 20 20 3d 20 4e 53 5f 45 52 52 4f 52 5f 4d 4f 44 55 4c 45 5f | TUS_WROTE_TO..=.NS_ERROR_MODULE_ |
d3c20 | 4e 45 54 57 4f 52 4b 20 2b 20 39 3b 0a 0a 66 75 6e 63 74 69 6f 6e 20 67 65 74 50 61 6e 65 6c 42 | NETWORK.+.9;..function.getPanelB |
d3c40 | 72 6f 77 73 65 72 28 29 0a 7b 0a 20 20 20 20 72 65 74 75 72 6e 20 64 6f 63 75 6d 65 6e 74 2e 67 | rowser().{.....return.document.g |
d3c60 | 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 77 65 62 2d 70 61 6e 65 6c 73 2d 62 72 6f 77 73 65 | etElementById("web-panels-browse |
d3c80 | 72 22 29 3b 0a 7d 0a 0a 76 61 72 20 70 61 6e 65 6c 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 | r");.}..var.panelProgressListene |
d3ca0 | 72 20 3d 20 7b 0a 20 20 20 20 6f 6e 50 72 6f 67 72 65 73 73 43 68 61 6e 67 65 20 3a 20 66 75 6e | r.=.{.....onProgressChange.:.fun |
d3cc0 | 63 74 69 6f 6e 20 28 61 57 65 62 50 72 6f 67 72 65 73 73 2c 20 61 52 65 71 75 65 73 74 2c 0a 20 | ction.(aWebProgress,.aRequest,.. |
d3ce0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
d3d00 | 61 43 75 72 53 65 6c 66 50 72 6f 67 72 65 73 73 2c 20 61 4d 61 78 53 65 6c 66 50 72 6f 67 72 65 | aCurSelfProgress,.aMaxSelfProgre |
d3d20 | 73 73 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ss,............................. |
d3d40 | 20 20 20 20 20 61 43 75 72 54 6f 74 61 6c 50 72 6f 67 72 65 73 73 2c 20 61 4d 61 78 54 6f 74 61 | .....aCurTotalProgress,.aMaxTota |
d3d60 | 6c 50 72 6f 67 72 65 73 73 29 20 7b 0a 20 20 20 20 7d 2c 0a 20 20 20 20 0a 20 20 20 20 6f 6e 53 | lProgress).{.....},..........onS |
d3d80 | 74 61 74 65 43 68 61 6e 67 65 20 3a 20 66 75 6e 63 74 69 6f 6e 28 61 57 65 62 50 72 6f 67 72 65 | tateChange.:.function(aWebProgre |
d3da0 | 73 73 2c 20 61 52 65 71 75 65 73 74 2c 20 61 53 74 61 74 65 46 6c 61 67 73 2c 20 61 53 74 61 74 | ss,.aRequest,.aStateFlags,.aStat |
d3dc0 | 75 73 29 0a 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 69 66 20 28 21 61 52 65 71 75 65 73 74 29 | us).....{.........if.(!aRequest) |
d3de0 | 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 20 20 20 20 20 20 2f 2f 69 67 | ...........return;..........//ig |
d3e00 | 6e 6f 72 65 20 6c 6f 63 61 6c 2f 72 65 73 6f 75 72 63 65 3a 2f 63 68 72 6f 6d 65 3a 20 66 69 6c | nore.local/resource:/chrome:.fil |
d3e20 | 65 73 0a 20 20 20 20 20 20 20 20 69 66 20 28 61 53 74 61 74 75 73 20 3d 3d 20 4e 53 5f 4e 45 54 | es.........if.(aStatus.==.NS_NET |
d3e40 | 5f 53 54 41 54 55 53 5f 52 45 41 44 5f 46 52 4f 4d 20 7c 7c 20 61 53 74 61 74 75 73 20 3d 3d 20 | _STATUS_READ_FROM.||.aStatus.==. |
d3e60 | 4e 53 5f 4e 45 54 5f 53 54 41 54 55 53 5f 57 52 4f 54 45 5f 54 4f 29 0a 20 20 20 20 20 20 20 20 | NS_NET_STATUS_WROTE_TO)......... |
d3e80 | 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 20 20 20 20 20 20 69 66 20 28 61 53 74 61 74 65 46 6c | ...return;..........if.(aStateFl |
d3ea0 | 61 67 73 20 26 20 43 69 2e 6e 73 49 57 65 62 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 2e | ags.&.Ci.nsIWebProgressListener. |
d3ec0 | 53 54 41 54 45 5f 53 54 41 52 54 20 26 26 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 61 53 74 61 | STATE_START.&&..............aSta |
d3ee0 | 74 65 46 6c 61 67 73 20 26 20 43 69 2e 6e 73 49 57 65 62 50 72 6f 67 72 65 73 73 4c 69 73 74 65 | teFlags.&.Ci.nsIWebProgressListe |
d3f00 | 6e 65 72 2e 53 54 41 54 45 5f 49 53 5f 4e 45 54 57 4f 52 4b 29 20 7b 0a 20 20 20 20 20 20 20 20 | ner.STATE_IS_NETWORK).{......... |
d3f20 | 20 20 20 20 77 69 6e 64 6f 77 2e 70 61 72 65 6e 74 2e 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c | ....window.parent.document.getEl |
d3f40 | 65 6d 65 6e 74 42 79 49 64 28 27 73 69 64 65 62 61 72 2d 74 68 72 6f 62 62 65 72 27 29 2e 73 65 | ementById('sidebar-throbber').se |
d3f60 | 74 41 74 74 72 69 62 75 74 65 28 22 6c 6f 61 64 69 6e 67 22 2c 20 22 74 72 75 65 22 29 3b 0a 20 | tAttribute("loading",."true");.. |
d3f80 | 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 65 6c 73 65 20 69 66 20 28 61 53 74 61 74 65 | .......}.........else.if.(aState |
d3fa0 | 46 6c 61 67 73 20 26 20 43 69 2e 6e 73 49 57 65 62 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 | Flags.&.Ci.nsIWebProgressListene |
d3fc0 | 72 2e 53 54 41 54 45 5f 53 54 4f 50 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | r.STATE_STOP.&&................. |
d3fe0 | 61 53 74 61 74 65 46 6c 61 67 73 20 26 20 43 69 2e 6e 73 49 57 65 62 50 72 6f 67 72 65 73 73 4c | aStateFlags.&.Ci.nsIWebProgressL |
d4000 | 69 73 74 65 6e 65 72 2e 53 54 41 54 45 5f 49 53 5f 4e 45 54 57 4f 52 4b 29 20 7b 0a 20 20 20 20 | istener.STATE_IS_NETWORK).{..... |
d4020 | 20 20 20 20 20 20 20 20 77 69 6e 64 6f 77 2e 70 61 72 65 6e 74 2e 64 6f 63 75 6d 65 6e 74 2e 67 | ........window.parent.document.g |
d4040 | 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 27 73 69 64 65 62 61 72 2d 74 68 72 6f 62 62 65 72 27 | etElementById('sidebar-throbber' |
d4060 | 29 2e 72 65 6d 6f 76 65 41 74 74 72 69 62 75 74 65 28 22 6c 6f 61 64 69 6e 67 22 29 3b 0a 20 20 | ).removeAttribute("loading");... |
d4080 | 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 20 20 20 20 2c 0a 0a 20 20 20 20 6f 6e 4c 6f 63 61 74 | ......}.....}.....,......onLocat |
d40a0 | 69 6f 6e 43 68 61 6e 67 65 20 3a 20 66 75 6e 63 74 69 6f 6e 28 61 57 65 62 50 72 6f 67 72 65 73 | ionChange.:.function(aWebProgres |
d40c0 | 73 2c 20 61 52 65 71 75 65 73 74 2c 20 61 4c 6f 63 61 74 69 6f 6e 29 20 7b 0a 20 20 20 20 20 20 | s,.aRequest,.aLocation).{....... |
d40e0 | 20 20 55 70 64 61 74 65 42 61 63 6b 46 6f 72 77 61 72 64 43 6f 6d 6d 61 6e 64 73 28 67 65 74 50 | ..UpdateBackForwardCommands(getP |
d4100 | 61 6e 65 6c 42 72 6f 77 73 65 72 28 29 2e 77 65 62 4e 61 76 69 67 61 74 69 6f 6e 29 3b 0a 20 20 | anelBrowser().webNavigation);... |
d4120 | 20 20 7d 2c 0a 0a 20 20 20 20 6f 6e 53 74 61 74 75 73 43 68 61 6e 67 65 20 3a 20 66 75 6e 63 74 | ..},......onStatusChange.:.funct |
d4140 | 69 6f 6e 28 61 57 65 62 50 72 6f 67 72 65 73 73 2c 20 61 52 65 71 75 65 73 74 2c 20 61 53 74 61 | ion(aWebProgress,.aRequest,.aSta |
d4160 | 74 75 73 2c 20 61 4d 65 73 73 61 67 65 29 20 7b 0a 20 20 20 20 7d 2c 0a 0a 20 20 20 20 6f 6e 53 | tus,.aMessage).{.....},......onS |
d4180 | 65 63 75 72 69 74 79 43 68 61 6e 67 65 20 3a 20 66 75 6e 63 74 69 6f 6e 28 61 57 65 62 50 72 6f | ecurityChange.:.function(aWebPro |
d41a0 | 67 72 65 73 73 2c 20 61 52 65 71 75 65 73 74 2c 20 61 53 74 61 74 65 29 20 7b 20 0a 20 20 20 20 | gress,.aRequest,.aState).{...... |
d41c0 | 7d 2c 0a 0a 20 20 20 20 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 20 3a 20 66 75 6e 63 74 69 6f | },......QueryInterface.:.functio |
d41e0 | 6e 28 61 49 49 44 29 0a 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 69 66 20 28 61 49 49 44 2e 65 | n(aIID).....{.........if.(aIID.e |
d4200 | 71 75 61 6c 73 28 43 69 2e 6e 73 49 57 65 62 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 29 | quals(Ci.nsIWebProgressListener) |
d4220 | 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 61 49 49 44 2e 65 71 75 61 6c 73 28 43 69 2e 6e | .||.............aIID.equals(Ci.n |
d4240 | 73 49 53 75 70 70 6f 72 74 73 57 65 61 6b 52 65 66 65 72 65 6e 63 65 29 20 7c 7c 0a 20 20 20 20 | sISupportsWeakReference).||..... |
d4260 | 20 20 20 20 20 20 20 20 61 49 49 44 2e 65 71 75 61 6c 73 28 43 69 2e 6e 73 49 53 75 70 70 6f 72 | ........aIID.equals(Ci.nsISuppor |
d4280 | 74 73 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 3b 0a 20 20 | ts)).............return.this;... |
d42a0 | 20 20 20 20 20 20 74 68 72 6f 77 20 43 72 2e 4e 53 5f 4e 4f 49 4e 54 45 52 46 41 43 45 3b 0a 20 | ......throw.Cr.NS_NOINTERFACE;.. |
d42c0 | 20 20 20 7d 0a 7d 3b 0a 0a 76 61 72 20 67 4c 6f 61 64 46 69 72 65 64 20 3d 20 66 61 6c 73 65 3b | ...}.};..var.gLoadFired.=.false; |
d42e0 | 0a 66 75 6e 63 74 69 6f 6e 20 6c 6f 61 64 57 65 62 50 61 6e 65 6c 28 61 55 52 49 29 20 7b 0a 20 | .function.loadWebPanel(aURI).{.. |
d4300 | 20 20 20 76 61 72 20 70 61 6e 65 6c 42 72 6f 77 73 65 72 20 3d 20 67 65 74 50 61 6e 65 6c 42 72 | ...var.panelBrowser.=.getPanelBr |
d4320 | 6f 77 73 65 72 28 29 3b 0a 20 20 20 20 69 66 20 28 67 4c 6f 61 64 46 69 72 65 64 29 20 7b 0a 20 | owser();.....if.(gLoadFired).{.. |
d4340 | 20 20 20 20 20 20 20 70 61 6e 65 6c 42 72 6f 77 73 65 72 2e 77 65 62 4e 61 76 69 67 61 74 69 6f | .......panelBrowser.webNavigatio |
d4360 | 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 6c 6f 61 64 55 52 49 28 61 | n......................loadURI(a |
d4380 | 55 52 49 2c 20 6e 73 49 57 65 62 4e 61 76 69 67 61 74 69 6f 6e 2e 4c 4f 41 44 5f 46 4c 41 47 53 | URI,.nsIWebNavigation.LOAD_FLAGS |
d43a0 | 5f 4e 4f 4e 45 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | _NONE,.......................... |
d43c0 | 20 20 20 20 6e 75 6c 6c 2c 20 6e 75 6c 6c 2c 20 6e 75 6c 6c 29 3b 0a 20 20 20 20 7d 0a 20 20 20 | ....null,.null,.null);.....}.... |
d43e0 | 20 70 61 6e 65 6c 42 72 6f 77 73 65 72 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 63 61 63 68 | .panelBrowser.setAttribute("cach |
d4400 | 65 64 75 72 6c 22 2c 20 61 55 52 49 29 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 6c 6f 61 64 28 | edurl",.aURI);.}..function.load( |
d4420 | 29 0a 7b 0a 20 20 20 20 76 61 72 20 70 61 6e 65 6c 42 72 6f 77 73 65 72 20 3d 20 67 65 74 50 61 | ).{.....var.panelBrowser.=.getPa |
d4440 | 6e 65 6c 42 72 6f 77 73 65 72 28 29 3b 0a 20 20 20 20 70 61 6e 65 6c 42 72 6f 77 73 65 72 2e 77 | nelBrowser();.....panelBrowser.w |
d4460 | 65 62 50 72 6f 67 72 65 73 73 2e 61 64 64 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 28 70 | ebProgress.addProgressListener(p |
d4480 | 61 6e 65 6c 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 2c 0a 20 20 20 20 20 20 20 20 20 20 | anelProgressListener,........... |
d44a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
d44c0 | 20 20 20 20 20 20 20 43 69 2e 6e 73 49 57 65 62 50 72 6f 67 72 65 73 73 2e 4e 4f 54 49 46 59 5f | .......Ci.nsIWebProgress.NOTIFY_ |
d44e0 | 41 4c 4c 29 3b 0a 20 20 20 20 69 66 20 28 70 61 6e 65 6c 42 72 6f 77 73 65 72 2e 67 65 74 41 74 | ALL);.....if.(panelBrowser.getAt |
d4500 | 74 72 69 62 75 74 65 28 22 63 61 63 68 65 64 75 72 6c 22 29 29 20 7b 0a 20 20 20 20 20 20 20 20 | tribute("cachedurl")).{......... |
d4520 | 70 61 6e 65 6c 42 72 6f 77 73 65 72 2e 77 65 62 4e 61 76 69 67 61 74 69 6f 6e 0a 20 20 20 20 20 | panelBrowser.webNavigation...... |
d4540 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 6c 6f 61 64 55 52 49 28 70 61 6e 65 6c 42 72 6f | ................loadURI(panelBro |
d4560 | 77 73 65 72 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 63 61 63 68 65 64 75 72 6c 22 29 2c 0a | wser.getAttribute("cachedurl"),. |
d4580 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 73 49 | .............................nsI |
d45a0 | 57 65 62 4e 61 76 69 67 61 74 69 6f 6e 2e 4c 4f 41 44 5f 46 4c 41 47 53 5f 4e 4f 4e 45 2c 20 6e | WebNavigation.LOAD_FLAGS_NONE,.n |
d45c0 | 75 6c 6c 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ull,............................ |
d45e0 | 20 20 6e 75 6c 6c 2c 20 6e 75 6c 6c 29 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 67 4c 6f 61 64 46 | ..null,.null);.....}......gLoadF |
d4600 | 69 72 65 64 20 3d 20 74 72 75 65 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 75 6e 6c 6f 61 64 28 | ired.=.true;.}..function.unload( |
d4620 | 29 0a 7b 0a 20 20 20 20 67 65 74 50 61 6e 65 6c 42 72 6f 77 73 65 72 28 29 2e 77 65 62 50 72 6f | ).{.....getPanelBrowser().webPro |
d4640 | 67 72 65 73 73 2e 72 65 6d 6f 76 65 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 28 70 61 6e | gress.removeProgressListener(pan |
d4660 | 65 6c 50 72 6f 67 72 65 73 73 4c 69 73 74 65 6e 65 72 29 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e | elProgressListener);.}..function |
d4680 | 20 50 61 6e 65 6c 42 72 6f 77 73 65 72 53 74 6f 70 28 29 0a 7b 0a 20 20 20 20 67 65 74 50 61 6e | .PanelBrowserStop().{.....getPan |
d46a0 | 65 6c 42 72 6f 77 73 65 72 28 29 2e 77 65 62 4e 61 76 69 67 61 74 69 6f 6e 2e 73 74 6f 70 28 6e | elBrowser().webNavigation.stop(n |
d46c0 | 73 49 57 65 62 4e 61 76 69 67 61 74 69 6f 6e 2e 53 54 4f 50 5f 41 4c 4c 29 0a 7d 0a 0a 66 75 6e | sIWebNavigation.STOP_ALL).}..fun |
d46e0 | 63 74 69 6f 6e 20 50 61 6e 65 6c 42 72 6f 77 73 65 72 52 65 6c 6f 61 64 28 29 0a 7b 0a 20 20 20 | ction.PanelBrowserReload().{.... |
d4700 | 20 67 65 74 50 61 6e 65 6c 42 72 6f 77 73 65 72 28 29 2e 77 65 62 4e 61 76 69 67 61 74 69 6f 6e | .getPanelBrowser().webNavigation |
d4720 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 73 65 73 73 69 6f 6e 48 69 | .......................sessionHi |
d4740 | 73 74 6f 72 79 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 51 75 65 72 | story.......................Quer |
d4760 | 79 49 6e 74 65 72 66 61 63 65 28 6e 73 49 57 65 62 4e 61 76 69 67 61 74 69 6f 6e 29 0a 20 20 20 | yInterface(nsIWebNavigation).... |
d4780 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 72 65 6c 6f 61 64 28 6e 73 49 57 65 62 | ...................reload(nsIWeb |
d47a0 | 4e 61 76 69 67 61 74 69 6f 6e 2e 4c 4f 41 44 5f 46 4c 41 47 53 5f 4e 4f 4e 45 29 3b 0a 7d 0a 50 | Navigation.LOAD_FLAGS_NONE);.}.P |
d47c0 | 4b 03 04 14 00 00 00 00 00 f2 4b 18 3b 1f 54 79 f5 11 45 00 00 11 45 00 00 1e 00 00 00 63 6f 6e | K.........K.;.Ty..E...E......con |
d47e0 | 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 77 65 62 2d 70 61 6e 65 6c 73 2e 78 75 6c 3c 3f 78 6d 6c | tent/browser/web-panels.xul<?xml |
d4800 | 20 76 65 72 73 69 6f 6e 3d 22 31 2e 30 22 3f 3e 0a 0a 0a 3c 3f 78 6d 6c 2d 73 74 79 6c 65 73 68 | .version="1.0"?>...<?xml-stylesh |
d4820 | 65 65 74 20 68 72 65 66 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 73 6b 69 6e 2f | eet.href="chrome://browser/skin/ |
d4840 | 22 20 74 79 70 65 3d 22 74 65 78 74 2f 63 73 73 22 3f 3e 20 0a 3c 3f 78 75 6c 2d 6f 76 65 72 6c | ".type="text/css"?>..<?xul-overl |
d4860 | 61 79 20 68 72 65 66 3d 22 63 68 72 6f 6d 65 3a 2f 2f 67 6c 6f 62 61 6c 2f 63 6f 6e 74 65 6e 74 | ay.href="chrome://global/content |
d4880 | 2f 65 64 69 74 4d 65 6e 75 4f 76 65 72 6c 61 79 2e 78 75 6c 22 3f 3e 0a 3c 3f 78 75 6c 2d 6f 76 | /editMenuOverlay.xul"?>.<?xul-ov |
d48a0 | 65 72 6c 61 79 20 68 72 65 66 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e | erlay.href="chrome://browser/con |
d48c0 | 74 65 6e 74 2f 70 6c 61 63 65 73 2f 70 6c 61 63 65 73 4f 76 65 72 6c 61 79 2e 78 75 6c 22 3f 3e | tent/places/placesOverlay.xul"?> |
d48e0 | 0a 0a 3c 21 44 4f 43 54 59 50 45 20 70 61 67 65 20 5b 0a 3c 21 45 4e 54 49 54 59 20 25 20 62 72 | ..<!DOCTYPE.page.[.<!ENTITY.%.br |
d4900 | 6f 77 73 65 72 44 54 44 20 53 59 53 54 45 4d 20 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 | owserDTD.SYSTEM."chrome://browse |
d4920 | 72 2f 6c 6f 63 61 6c 65 2f 62 72 6f 77 73 65 72 2e 64 74 64 22 3e 0a 25 62 72 6f 77 73 65 72 44 | r/locale/browser.dtd">.%browserD |
d4940 | 54 44 3b 0a 3c 21 45 4e 54 49 54 59 20 25 20 74 65 78 74 63 6f 6e 74 65 78 74 44 54 44 20 53 59 | TD;.<!ENTITY.%.textcontextDTD.SY |
d4960 | 53 54 45 4d 20 22 63 68 72 6f 6d 65 3a 2f 2f 67 6c 6f 62 61 6c 2f 6c 6f 63 61 6c 65 2f 74 65 78 | STEM."chrome://global/locale/tex |
d4980 | 74 63 6f 6e 74 65 78 74 2e 64 74 64 22 3e 0a 25 74 65 78 74 63 6f 6e 74 65 78 74 44 54 44 3b 0a | tcontext.dtd">.%textcontextDTD;. |
d49a0 | 3c 21 45 4e 54 49 54 59 20 25 20 67 6c 6f 62 61 6c 44 54 44 20 53 59 53 54 45 4d 20 22 63 68 72 | <!ENTITY.%.globalDTD.SYSTEM."chr |
d49c0 | 6f 6d 65 3a 2f 2f 67 6c 6f 62 61 6c 2f 6c 6f 63 61 6c 65 2f 67 6c 6f 62 61 6c 2e 64 74 64 22 3e | ome://global/locale/global.dtd"> |
d49e0 | 0a 25 67 6c 6f 62 61 6c 44 54 44 3b 0a 5d 3e 0a 0a 3c 70 61 67 65 20 69 64 3d 22 77 65 62 70 61 | .%globalDTD;.]>..<page.id="webpa |
d4a00 | 6e 65 6c 73 2d 77 69 6e 64 6f 77 22 0a 20 20 20 20 20 20 20 20 78 6d 6c 6e 73 3a 72 64 66 3d 22 | nels-window".........xmlns:rdf=" |
d4a20 | 68 74 74 70 3a 2f 2f 77 77 77 2e 77 33 2e 6f 72 67 2f 31 39 39 39 2f 30 32 2f 32 32 2d 72 64 66 | http://www.w3.org/1999/02/22-rdf |
d4a40 | 2d 73 79 6e 74 61 78 2d 6e 73 23 22 0a 20 20 20 20 20 20 20 20 78 6d 6c 6e 73 3d 22 68 74 74 70 | -syntax-ns#".........xmlns="http |
d4a60 | 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6b 65 79 6d 61 73 74 65 72 2f 67 61 74 | ://www.mozilla.org/keymaster/gat |
d4a80 | 65 6b 65 65 70 65 72 2f 74 68 65 72 65 2e 69 73 2e 6f 6e 6c 79 2e 78 75 6c 22 0a 20 20 20 20 20 | ekeeper/there.is.only.xul"...... |
d4aa0 | 20 20 20 6f 6e 6c 6f 61 64 3d 22 6c 6f 61 64 28 29 22 20 6f 6e 75 6e 6c 6f 61 64 3d 22 75 6e 6c | ...onload="load()".onunload="unl |
d4ac0 | 6f 61 64 28 29 22 3e 0a 20 20 3c 73 63 72 69 70 74 20 74 79 70 65 3d 22 61 70 70 6c 69 63 61 74 | oad()">...<script.type="applicat |
d4ae0 | 69 6f 6e 2f 78 2d 6a 61 76 61 73 63 72 69 70 74 22 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f | ion/x-javascript".src="chrome:// |
d4b00 | 67 6c 6f 62 61 6c 2f 63 6f 6e 74 65 6e 74 2f 63 6f 6e 74 65 6e 74 41 72 65 61 55 74 69 6c 73 2e | global/content/contentAreaUtils. |
d4b20 | 6a 73 22 2f 3e 0a 20 20 3c 73 63 72 69 70 74 20 74 79 70 65 3d 22 61 70 70 6c 69 63 61 74 69 6f | js"/>...<script.type="applicatio |
d4b40 | 6e 2f 78 2d 6a 61 76 61 73 63 72 69 70 74 22 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 | n/x-javascript".src="chrome://br |
d4b60 | 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2e 6a 73 22 2f 3e 0a 20 20 3c 73 | owser/content/browser.js"/>...<s |
d4b80 | 63 72 69 70 74 20 74 79 70 65 3d 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f 78 2d 6a 61 76 61 73 63 | cript.type="application/x-javasc |
d4ba0 | 72 69 70 74 22 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 67 6c 6f 62 61 6c 2f 63 6f 6e 74 65 | ript".src="chrome://global/conte |
d4bc0 | 6e 74 2f 69 6e 6c 69 6e 65 53 70 65 6c 6c 43 68 65 63 6b 55 49 2e 6a 73 22 2f 3e 0a 20 20 3c 73 | nt/inlineSpellCheckUI.js"/>...<s |
d4be0 | 63 72 69 70 74 20 74 79 70 65 3d 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f 78 2d 6a 61 76 61 73 63 | cript.type="application/x-javasc |
d4c00 | 72 69 70 74 22 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 | ript".src="chrome://browser/cont |
d4c20 | 65 6e 74 2f 6e 73 43 6f 6e 74 65 78 74 4d 65 6e 75 2e 6a 73 22 2f 3e 0a 20 20 3c 73 63 72 69 70 | ent/nsContextMenu.js"/>...<scrip |
d4c40 | 74 20 74 79 70 65 3d 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f 78 2d 6a 61 76 61 73 63 72 69 70 74 | t.type="application/x-javascript |
d4c60 | 22 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f | ".src="chrome://browser/content/ |
d4c80 | 77 65 62 2d 70 61 6e 65 6c 73 2e 6a 73 22 2f 3e 0a 0a 20 20 3c 73 74 72 69 6e 67 62 75 6e 64 6c | web-panels.js"/>....<stringbundl |
d4ca0 | 65 73 65 74 20 69 64 3d 22 73 74 72 69 6e 67 62 75 6e 64 6c 65 73 65 74 22 3e 20 0a 20 20 20 20 | eset.id="stringbundleset">...... |
d4cc0 | 3c 73 74 72 69 6e 67 62 75 6e 64 6c 65 20 69 64 3d 22 62 75 6e 64 6c 65 5f 62 72 6f 77 73 65 72 | <stringbundle.id="bundle_browser |
d4ce0 | 22 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 6c 6f 63 61 6c 65 2f 62 | ".src="chrome://browser/locale/b |
d4d00 | 72 6f 77 73 65 72 2e 70 72 6f 70 65 72 74 69 65 73 22 2f 3e 0a 20 20 3c 2f 73 74 72 69 6e 67 62 | rowser.properties"/>...</stringb |
d4d20 | 75 6e 64 6c 65 73 65 74 3e 0a 0a 20 20 3c 62 72 6f 61 64 63 61 73 74 65 72 73 65 74 20 69 64 3d | undleset>....<broadcasterset.id= |
d4d40 | 22 6d 61 69 6e 42 72 6f 61 64 63 61 73 74 65 72 53 65 74 22 3e 0a 20 20 20 20 3c 62 72 6f 61 64 | "mainBroadcasterSet">.....<broad |
d4d60 | 63 61 73 74 65 72 20 69 64 3d 22 69 73 46 72 61 6d 65 49 6d 61 67 65 22 2f 3e 0a 20 20 3c 2f 62 | caster.id="isFrameImage"/>...</b |
d4d80 | 72 6f 61 64 63 61 73 74 65 72 73 65 74 3e 0a 0a 20 20 3c 63 6f 6d 6d 61 6e 64 73 65 74 20 69 64 | roadcasterset>....<commandset.id |
d4da0 | 3d 22 6d 61 69 6e 43 6f 6d 6d 61 6e 64 73 65 74 22 3e 0a 20 20 20 20 3c 63 6f 6d 6d 61 6e 64 20 | ="mainCommandset">.....<command. |
d4dc0 | 69 64 3d 22 42 72 6f 77 73 65 72 3a 42 61 63 6b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 6f | id="Browser:Back"..............o |
d4de0 | 6e 63 6f 6d 6d 61 6e 64 3d 22 67 65 74 50 61 6e 65 6c 42 72 6f 77 73 65 72 28 29 2e 77 65 62 4e | ncommand="getPanelBrowser().webN |
d4e00 | 61 76 69 67 61 74 69 6f 6e 2e 67 6f 42 61 63 6b 28 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 | avigation.goBack();"............ |
d4e20 | 20 20 64 69 73 61 62 6c 65 64 3d 22 74 72 75 65 22 2f 3e 0a 20 20 20 20 3c 63 6f 6d 6d 61 6e 64 | ..disabled="true"/>.....<command |
d4e40 | 20 69 64 3d 22 42 72 6f 77 73 65 72 3a 46 6f 72 77 61 72 64 22 0a 20 20 20 20 20 20 20 20 20 20 | .id="Browser:Forward"........... |
d4e60 | 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 65 74 50 61 6e 65 6c 42 72 6f 77 73 65 72 28 29 2e | ...oncommand="getPanelBrowser(). |
d4e80 | 77 65 62 4e 61 76 69 67 61 74 69 6f 6e 2e 67 6f 46 6f 72 77 61 72 64 28 29 3b 22 0a 20 20 20 20 | webNavigation.goForward();"..... |
d4ea0 | 20 20 20 20 20 20 20 20 20 64 69 73 61 62 6c 65 64 3d 22 74 72 75 65 22 2f 3e 0a 20 20 20 20 3c | .........disabled="true"/>.....< |
d4ec0 | 63 6f 6d 6d 61 6e 64 20 69 64 3d 22 42 72 6f 77 73 65 72 3a 53 74 6f 70 22 20 6f 6e 63 6f 6d 6d | command.id="Browser:Stop".oncomm |
d4ee0 | 61 6e 64 3d 22 50 61 6e 65 6c 42 72 6f 77 73 65 72 53 74 6f 70 28 29 3b 22 2f 3e 0a 20 20 20 20 | and="PanelBrowserStop();"/>..... |
d4f00 | 3c 63 6f 6d 6d 61 6e 64 20 69 64 3d 22 42 72 6f 77 73 65 72 3a 52 65 6c 6f 61 64 22 20 6f 6e 63 | <command.id="Browser:Reload".onc |
d4f20 | 6f 6d 6d 61 6e 64 3d 22 50 61 6e 65 6c 42 72 6f 77 73 65 72 52 65 6c 6f 61 64 28 29 3b 22 2f 3e | ommand="PanelBrowserReload();"/> |
d4f40 | 0a 20 20 3c 2f 63 6f 6d 6d 61 6e 64 73 65 74 3e 0a 0a 20 20 3c 70 6f 70 75 70 73 65 74 20 69 64 | ...</commandset>....<popupset.id |
d4f60 | 3d 22 6d 61 69 6e 50 6f 70 75 70 53 65 74 22 3e 0a 20 20 20 20 3c 70 6f 70 75 70 20 69 64 3d 22 | ="mainPopupSet">.....<popup.id=" |
d4f80 | 63 6f 6e 74 65 6e 74 41 72 65 61 43 6f 6e 74 65 78 74 4d 65 6e 75 22 0a 20 20 20 20 20 20 20 20 | contentAreaContextMenu"......... |
d4fa0 | 20 20 20 6f 6e 70 6f 70 75 70 73 68 6f 77 69 6e 67 3d 22 69 66 20 28 65 76 65 6e 74 2e 74 61 72 | ...onpopupshowing="if.(event.tar |
d4fc0 | 67 65 74 20 21 3d 20 74 68 69 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | get.!=.this).................... |
d4fe0 | 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 20 | ..........return.true;.......... |
d5000 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 43 6f 6e 74 65 78 74 4d 65 6e 75 20 3d | ..................gContextMenu.= |
d5020 | 20 6e 65 77 20 6e 73 43 6f 6e 74 65 78 74 4d 65 6e 75 28 74 68 69 73 2c 20 67 65 74 50 61 6e 65 | .new.nsContextMenu(this,.getPane |
d5040 | 6c 42 72 6f 77 73 65 72 28 29 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | lBrowser());.................... |
d5060 | 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 67 43 6f 6e 74 65 78 74 4d 65 6e 75 2e 73 68 6f 75 | ........return.gContextMenu.shou |
d5080 | 6c 64 44 69 73 70 6c 61 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 6f 6e 70 6f 70 75 70 68 69 | ldDisplay;"............onpopuphi |
d50a0 | 64 69 6e 67 3d 22 69 66 20 28 65 76 65 6e 74 2e 74 61 72 67 65 74 20 3d 3d 20 74 68 69 73 29 0a | ding="if.(event.target.==.this). |
d50c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 43 6f 6e | ............................gCon |
d50e0 | 74 65 78 74 4d 65 6e 75 20 3d 20 6e 75 6c 6c 3b 22 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 6e 75 69 | textMenu.=.null;">........<menui |
d5100 | 74 65 6d 20 69 64 3d 22 73 70 65 6c 6c 2d 6e 6f 2d 73 75 67 67 65 73 74 69 6f 6e 73 22 0a 20 20 | tem.id="spell-no-suggestions"... |
d5120 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 69 73 61 62 6c 65 64 3d 22 74 72 75 65 22 0a 20 20 | ..............disabled="true"... |
d5140 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 73 70 65 6c 6c 4e 6f 53 75 67 | ..............label="&spellNoSug |
d5160 | 67 65 73 74 69 6f 6e 73 2e 6c 61 62 65 6c 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 | gestions.label;"/>.......<menuit |
d5180 | 65 6d 20 69 64 3d 22 73 70 65 6c 6c 2d 61 64 64 2d 74 6f 2d 64 69 63 74 69 6f 6e 61 72 79 22 0a | em.id="spell-add-to-dictionary". |
d51a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 73 70 65 6c 6c 41 64 64 | ................label="&spellAdd |
d51c0 | 54 6f 44 69 63 74 69 6f 6e 61 72 79 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 | ToDictionary.label;"............ |
d51e0 | 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 73 70 65 6c 6c 41 64 64 54 6f 44 69 63 74 69 | .....accesskey="&spellAddToDicti |
d5200 | 6f 6e 61 72 79 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | onary.accesskey;"............... |
d5220 | 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 49 6e 6c 69 6e 65 53 70 65 6c 6c 43 68 65 63 6b 65 72 55 | ..oncommand="InlineSpellCheckerU |
d5240 | 49 2e 61 64 64 54 6f 44 69 63 74 69 6f 6e 61 72 79 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 6d | I.addToDictionary();"/>.......<m |
d5260 | 65 6e 75 73 65 70 61 72 61 74 6f 72 20 69 64 3d 22 73 70 65 6c 6c 2d 73 75 67 67 65 73 74 69 6f | enuseparator.id="spell-suggestio |
d5280 | 6e 73 2d 73 65 70 61 72 61 74 6f 72 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 | ns-separator"/>.......<menuitem. |
d52a0 | 69 64 3d 22 63 6f 6e 74 65 78 74 2d 6f 70 65 6e 6c 69 6e 6b 22 0a 20 20 20 20 20 20 20 20 20 20 | id="context-openlink"........... |
d52c0 | 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 6f 70 65 6e 4c 69 6e 6b 43 6d 64 2e 6c 61 62 65 6c 3b | ......label="&openLinkCmd.label; |
d52e0 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 6f 70 | ".................accesskey="&op |
d5300 | 65 6e 4c 69 6e 6b 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 | enLinkCmd.accesskey;"........... |
d5320 | 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 43 6f 6e 74 65 78 74 4d 65 6e 75 2e 6f 70 | ......oncommand="gContextMenu.op |
d5340 | 65 6e 4c 69 6e 6b 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d | enLink();"/>.......<menuitem.id= |
d5360 | 22 63 6f 6e 74 65 78 74 2d 6f 70 65 6e 6c 69 6e 6b 69 6e 74 61 62 22 0a 20 20 20 20 20 20 20 20 | "context-openlinkintab"......... |
d5380 | 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 6f 70 65 6e 4c 69 6e 6b 43 6d 64 49 6e 54 61 62 | ........label="&openLinkCmdInTab |
d53a0 | 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b | .label;".................accessk |
d53c0 | 65 79 3d 22 26 6f 70 65 6e 4c 69 6e 6b 43 6d 64 49 6e 54 61 62 2e 61 63 63 65 73 73 6b 65 79 3b | ey="&openLinkCmdInTab.accesskey; |
d53e0 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 43 6f | ".................oncommand="gCo |
d5400 | 6e 74 65 78 74 4d 65 6e 75 2e 6f 70 65 6e 4c 69 6e 6b 49 6e 54 61 62 28 29 3b 22 2f 3e 0a 20 20 | ntextMenu.openLinkInTab();"/>... |
d5420 | 20 20 20 20 3c 6d 65 6e 75 73 65 70 61 72 61 74 6f 72 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 73 | ....<menuseparator.id="context-s |
d5440 | 65 70 2d 6f 70 65 6e 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 63 | ep-open"/>.......<menuitem.id="c |
d5460 | 6f 6e 74 65 78 74 2d 62 6f 6f 6b 6d 61 72 6b 6c 69 6e 6b 22 0a 20 20 20 20 20 20 20 20 20 20 20 | ontext-bookmarklink"............ |
d5480 | 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 62 6f 6f 6b 6d 61 72 6b 54 68 69 73 4c 69 6e 6b 43 6d 64 | .....label="&bookmarkThisLinkCmd |
d54a0 | 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b | .label;".................accessk |
d54c0 | 65 79 3d 22 26 62 6f 6f 6b 6d 61 72 6b 54 68 69 73 4c 69 6e 6b 43 6d 64 2e 61 63 63 65 73 73 6b | ey="&bookmarkThisLinkCmd.accessk |
d54e0 | 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 | ey;".................oncommand=" |
d5500 | 67 43 6f 6e 74 65 78 74 4d 65 6e 75 2e 62 6f 6f 6b 6d 61 72 6b 4c 69 6e 6b 28 29 3b 22 2f 3e 0a | gContextMenu.bookmarkLink();"/>. |
d5520 | 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 73 61 76 65 | ......<menuitem.id="context-save |
d5540 | 6c 69 6e 6b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 73 61 | link".................label="&sa |
d5560 | 76 65 4c 69 6e 6b 43 6d 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | veLinkCmd.label;"............... |
d5580 | 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 73 61 76 65 4c 69 6e 6b 43 6d 64 2e 61 63 63 65 73 73 | ..accesskey="&saveLinkCmd.access |
d55a0 | 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d | key;".................oncommand= |
d55c0 | 22 67 43 6f 6e 74 65 78 74 4d 65 6e 75 2e 73 61 76 65 4c 69 6e 6b 28 29 3b 22 2f 3e 0a 20 20 20 | "gContextMenu.saveLink();"/>.... |
d55e0 | 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 73 65 6e 64 6c 69 6e | ...<menuitem.id="context-sendlin |
d5600 | 6b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 73 65 6e 64 4c | k".................label="&sendL |
d5620 | 69 6e 6b 43 6d 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 | inkCmd.label;".................a |
d5640 | 63 63 65 73 73 6b 65 79 3d 22 26 73 65 6e 64 4c 69 6e 6b 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 | ccesskey="&sendLinkCmd.accesskey |
d5660 | 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 43 | ;".................oncommand="gC |
d5680 | 6f 6e 74 65 78 74 4d 65 6e 75 2e 73 65 6e 64 4c 69 6e 6b 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 | ontextMenu.sendLink();"/>....... |
d56a0 | 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 63 6f 70 79 65 6d 61 69 6c 22 | <menuitem.id="context-copyemail" |
d56c0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 63 6f 70 79 45 6d 61 | .................label="©Ema |
d56e0 | 69 6c 43 6d 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 | ilCmd.label;".................ac |
d5700 | 63 65 73 73 6b 65 79 3d 22 26 63 6f 70 79 45 6d 61 69 6c 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 | cesskey="©EmailCmd.accesskey |
d5720 | 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 43 | ;".................oncommand="gC |
d5740 | 6f 6e 74 65 78 74 4d 65 6e 75 2e 63 6f 70 79 45 6d 61 69 6c 28 29 3b 22 2f 3e 0a 20 20 20 20 20 | ontextMenu.copyEmail();"/>...... |
d5760 | 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 63 6f 70 79 6c 69 6e 6b 22 | .<menuitem.id="context-copylink" |
d5780 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 63 6f 70 79 4c 69 6e | .................label="©Lin |
d57a0 | 6b 43 6d 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 | kCmd.label;".................acc |
d57c0 | 65 73 73 6b 65 79 3d 22 26 63 6f 70 79 4c 69 6e 6b 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 | esskey="©LinkCmd.accesskey;" |
d57e0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 6f 44 6f | .................oncommand="goDo |
d5800 | 43 6f 6d 6d 61 6e 64 28 27 63 6d 64 5f 63 6f 70 79 4c 69 6e 6b 27 29 3b 22 2f 3e 0a 20 20 20 20 | Command('cmd_copyLink');"/>..... |
d5820 | 20 20 3c 6d 65 6e 75 73 65 70 61 72 61 74 6f 72 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 73 65 70 | ..<menuseparator.id="context-sep |
d5840 | 2d 63 6f 70 79 6c 69 6e 6b 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d | -copylink"/>.......<menuitem.id= |
d5860 | 22 63 6f 6e 74 65 78 74 2d 6d 65 64 69 61 2d 70 6c 61 79 22 0a 20 20 20 20 20 20 20 20 20 20 20 | "context-media-play"............ |
d5880 | 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 6d 65 64 69 61 50 6c 61 79 2e 6c 61 62 65 6c 3b 22 0a 20 | .....label="&mediaPlay.label;".. |
d58a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 6d 65 64 69 61 | ...............accesskey="&media |
d58c0 | 50 6c 61 79 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | Play.accesskey;"................ |
d58e0 | 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 43 6f 6e 74 65 78 74 4d 65 6e 75 2e 6d 65 64 69 61 43 6f | .oncommand="gContextMenu.mediaCo |
d5900 | 6d 6d 61 6e 64 28 27 70 6c 61 79 27 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 | mmand('play');"/>.......<menuite |
d5920 | 6d 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 6d 65 64 69 61 2d 70 61 75 73 65 22 0a 20 20 20 20 20 | m.id="context-media-pause"...... |
d5940 | 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 6d 65 64 69 61 50 61 75 73 65 2e 6c 61 | ...........label="&mediaPause.la |
d5960 | 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d | bel;".................accesskey= |
d5980 | 22 26 6d 65 64 69 61 50 61 75 73 65 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 | "&mediaPause.accesskey;"........ |
d59a0 | 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 43 6f 6e 74 65 78 74 4d 65 6e 75 | .........oncommand="gContextMenu |
d59c0 | 2e 6d 65 64 69 61 43 6f 6d 6d 61 6e 64 28 27 70 61 75 73 65 27 29 3b 22 2f 3e 0a 20 20 20 20 20 | .mediaCommand('pause');"/>...... |
d59e0 | 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 6d 65 64 69 61 2d 6d 75 74 | .<menuitem.id="context-media-mut |
d5a00 | 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 6d 65 64 69 61 | e".................label="&media |
d5a20 | 4d 75 74 65 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 | Mute.label;".................acc |
d5a40 | 65 73 73 6b 65 79 3d 22 26 6d 65 64 69 61 4d 75 74 65 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 | esskey="&mediaMute.accesskey;".. |
d5a60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 43 6f 6e 74 65 | ...............oncommand="gConte |
d5a80 | 78 74 4d 65 6e 75 2e 6d 65 64 69 61 43 6f 6d 6d 61 6e 64 28 27 6d 75 74 65 27 29 3b 22 2f 3e 0a | xtMenu.mediaCommand('mute');"/>. |
d5aa0 | 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 6d 65 64 69 | ......<menuitem.id="context-medi |
d5ac0 | 61 2d 75 6e 6d 75 74 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d | a-unmute".................label= |
d5ae0 | 22 26 6d 65 64 69 61 55 6e 6d 75 74 65 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 | "&mediaUnmute.label;"........... |
d5b00 | 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 6d 65 64 69 61 55 6e 6d 75 74 65 2e 61 63 | ......accesskey="&mediaUnmute.ac |
d5b20 | 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d | cesskey;".................oncomm |
d5b40 | 61 6e 64 3d 22 67 43 6f 6e 74 65 78 74 4d 65 6e 75 2e 6d 65 64 69 61 43 6f 6d 6d 61 6e 64 28 27 | and="gContextMenu.mediaCommand(' |
d5b60 | 75 6e 6d 75 74 65 27 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d | unmute');"/>.......<menuitem.id= |
d5b80 | 22 63 6f 6e 74 65 78 74 2d 6d 65 64 69 61 2d 73 68 6f 77 63 6f 6e 74 72 6f 6c 73 22 0a 20 20 20 | "context-media-showcontrols".... |
d5ba0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 6d 65 64 69 61 53 68 6f 77 43 6f | .............label="&mediaShowCo |
d5bc0 | 6e 74 72 6f 6c 73 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 | ntrols.label;".................a |
d5be0 | 63 63 65 73 73 6b 65 79 3d 22 26 6d 65 64 69 61 53 68 6f 77 43 6f 6e 74 72 6f 6c 73 2e 61 63 63 | ccesskey="&mediaShowControls.acc |
d5c00 | 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 | esskey;".................oncomma |
d5c20 | 6e 64 3d 22 67 43 6f 6e 74 65 78 74 4d 65 6e 75 2e 6d 65 64 69 61 43 6f 6d 6d 61 6e 64 28 27 73 | nd="gContextMenu.mediaCommand('s |
d5c40 | 68 6f 77 63 6f 6e 74 72 6f 6c 73 27 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 | howcontrols');"/>.......<menuite |
d5c60 | 6d 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 6d 65 64 69 61 2d 68 69 64 65 63 6f 6e 74 72 6f 6c 73 | m.id="context-media-hidecontrols |
d5c80 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 6d 65 64 69 61 48 | ".................label="&mediaH |
d5ca0 | 69 64 65 43 6f 6e 74 72 6f 6c 73 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ideControls.label;"............. |
d5cc0 | 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 6d 65 64 69 61 48 69 64 65 43 6f 6e 74 72 6f 6c | ....accesskey="&mediaHideControl |
d5ce0 | 73 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e | s.accesskey;".................on |
d5d00 | 63 6f 6d 6d 61 6e 64 3d 22 67 43 6f 6e 74 65 78 74 4d 65 6e 75 2e 6d 65 64 69 61 43 6f 6d 6d 61 | command="gContextMenu.mediaComma |
d5d20 | 6e 64 28 27 68 69 64 65 63 6f 6e 74 72 6f 6c 73 27 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 | nd('hidecontrols');"/>.......<me |
d5d40 | 6e 75 73 65 70 61 72 61 74 6f 72 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 6d 65 64 69 61 2d 73 65 | nuseparator.id="context-media-se |
d5d60 | 70 2d 63 6f 6d 6d 61 6e 64 73 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 | p-commands"/>.......<menuitem.id |
d5d80 | 3d 22 63 6f 6e 74 65 78 74 2d 72 65 6c 6f 61 64 69 6d 61 67 65 22 0a 20 20 20 20 20 20 20 20 20 | ="context-reloadimage".......... |
d5da0 | 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 72 65 6c 6f 61 64 49 6d 61 67 65 43 6d 64 2e 6c 61 | .......label="&reloadImageCmd.la |
d5dc0 | 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d | bel;".................accesskey= |
d5de0 | 22 26 72 65 6c 6f 61 64 49 6d 61 67 65 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 | "&reloadImageCmd.accesskey;".... |
d5e00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 43 6f 6e 74 65 78 74 | .............oncommand="gContext |
d5e20 | 4d 65 6e 75 2e 72 65 6c 6f 61 64 49 6d 61 67 65 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 | Menu.reloadImage();"/>.......<me |
d5e40 | 6e 75 69 74 65 6d 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 76 69 65 77 69 6d 61 67 65 22 0a 20 20 | nuitem.id="context-viewimage"... |
d5e60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 76 69 65 77 49 6d 61 67 65 43 | ..............label="&viewImageC |
d5e80 | 6d 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 | md.label;".................acces |
d5ea0 | 73 6b 65 79 3d 22 26 76 69 65 77 49 6d 61 67 65 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a | skey="&viewImageCmd.accesskey;". |
d5ec0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 43 6f 6e 74 | ................oncommand="gCont |
d5ee0 | 65 78 74 4d 65 6e 75 2e 76 69 65 77 4d 65 64 69 61 28 65 76 65 6e 74 29 3b 22 0a 20 20 20 20 20 | extMenu.viewMedia(event);"...... |
d5f00 | 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6c 69 63 6b 3d 22 63 68 65 63 6b 46 6f 72 4d 69 64 64 | ...........onclick="checkForMidd |
d5f20 | 6c 65 43 6c 69 63 6b 28 74 68 69 73 2c 20 65 76 65 6e 74 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c | leClick(this,.event);"/>.......< |
d5f40 | 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 76 69 65 77 76 69 64 65 6f 22 0a | menuitem.id="context-viewvideo". |
d5f60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 76 69 65 77 56 69 64 65 | ................label="&viewVide |
d5f80 | 6f 43 6d 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 | oCmd.label;".................acc |
d5fa0 | 65 73 73 6b 65 79 3d 22 26 76 69 65 77 56 69 64 65 6f 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b | esskey="&viewVideoCmd.accesskey; |
d5fc0 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 43 6f | ".................oncommand="gCo |
d5fe0 | 6e 74 65 78 74 4d 65 6e 75 2e 76 69 65 77 4d 65 64 69 61 28 65 76 65 6e 74 29 3b 22 0a 20 20 20 | ntextMenu.viewMedia(event);".... |
d6000 | 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6c 69 63 6b 3d 22 63 68 65 63 6b 46 6f 72 4d 69 | .............onclick="checkForMi |
d6020 | 64 64 6c 65 43 6c 69 63 6b 28 74 68 69 73 2c 20 65 76 65 6e 74 29 3b 22 2f 3e 0a 20 20 20 20 20 | ddleClick(this,.event);"/>...... |
d6040 | 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 63 6f 70 79 69 6d 61 67 65 | .<menuitem.id="context-copyimage |
d6060 | 2d 63 6f 6e 74 65 6e 74 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c | -contents".................label |
d6080 | 3d 22 26 63 6f 70 79 49 6d 61 67 65 43 6f 6e 74 65 6e 74 73 43 6d 64 2e 6c 61 62 65 6c 3b 22 0a | ="©ImageContentsCmd.label;". |
d60a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 63 6f 70 79 | ................accesskey="© |
d60c0 | 49 6d 61 67 65 43 6f 6e 74 65 6e 74 73 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 | ImageContentsCmd.accesskey;".... |
d60e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 6f 44 6f 43 6f 6d 6d | .............oncommand="goDoComm |
d6100 | 61 6e 64 28 27 63 6d 64 5f 63 6f 70 79 49 6d 61 67 65 43 6f 6e 74 65 6e 74 73 27 29 3b 22 2f 3e | and('cmd_copyImageContents');"/> |
d6120 | 0a 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 63 6f 70 | .......<menuitem.id="context-cop |
d6140 | 79 69 6d 61 67 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 | yimage".................label="& |
d6160 | 63 6f 70 79 49 6d 61 67 65 43 6d 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 | copyImageCmd.label;"............ |
d6180 | 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 63 6f 70 79 49 6d 61 67 65 43 6d 64 2e 61 63 | .....accesskey="©ImageCmd.ac |
d61a0 | 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d | cesskey;".................oncomm |
d61c0 | 61 6e 64 3d 22 67 43 6f 6e 74 65 78 74 4d 65 6e 75 2e 63 6f 70 79 4d 65 64 69 61 4c 6f 63 61 74 | and="gContextMenu.copyMediaLocat |
d61e0 | 69 6f 6e 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 63 6f | ion();"/>.......<menuitem.id="co |
d6200 | 6e 74 65 78 74 2d 63 6f 70 79 76 69 64 65 6f 75 72 6c 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ntext-copyvideourl"............. |
d6220 | 20 20 20 20 6c 61 62 65 6c 3d 22 26 63 6f 70 79 56 69 64 65 6f 55 52 4c 43 6d 64 2e 6c 61 62 65 | ....label="©VideoURLCmd.labe |
d6240 | 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 | l;".................accesskey="& |
d6260 | 63 6f 70 79 56 69 64 65 6f 55 52 4c 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 | copyVideoURLCmd.accesskey;"..... |
d6280 | 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 43 6f 6e 74 65 78 74 4d | ............oncommand="gContextM |
d62a0 | 65 6e 75 2e 63 6f 70 79 4d 65 64 69 61 4c 6f 63 61 74 69 6f 6e 28 29 3b 22 2f 3e 0a 20 20 20 20 | enu.copyMediaLocation();"/>..... |
d62c0 | 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 63 6f 70 79 61 75 64 69 | ..<menuitem.id="context-copyaudi |
d62e0 | 6f 75 72 6c 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 63 6f | ourl".................label="&co |
d6300 | 70 79 41 75 64 69 6f 55 52 4c 43 6d 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 | pyAudioURLCmd.label;"........... |
d6320 | 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 63 6f 70 79 41 75 64 69 6f 55 52 4c 43 6d | ......accesskey="©AudioURLCm |
d6340 | 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e | d.accesskey;".................on |
d6360 | 63 6f 6d 6d 61 6e 64 3d 22 67 43 6f 6e 74 65 78 74 4d 65 6e 75 2e 63 6f 70 79 4d 65 64 69 61 4c | command="gContextMenu.copyMediaL |
d6380 | 6f 63 61 74 69 6f 6e 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 73 65 70 61 72 61 74 | ocation();"/>.......<menuseparat |
d63a0 | 6f 72 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 73 65 70 2d 63 6f 70 79 69 6d 61 67 65 22 2f 3e 0a | or.id="context-sep-copyimage"/>. |
d63c0 | 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 73 61 76 65 | ......<menuitem.id="context-save |
d63e0 | 69 6d 61 67 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 73 | image".................label="&s |
d6400 | 61 76 65 49 6d 61 67 65 43 6d 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 | aveImageCmd.label;"............. |
d6420 | 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 73 61 76 65 49 6d 61 67 65 43 6d 64 2e 61 63 63 | ....accesskey="&saveImageCmd.acc |
d6440 | 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 | esskey;".................oncomma |
d6460 | 6e 64 3d 22 67 43 6f 6e 74 65 78 74 4d 65 6e 75 2e 73 61 76 65 4d 65 64 69 61 28 29 3b 22 2f 3e | nd="gContextMenu.saveMedia();"/> |
d6480 | 0a 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 73 65 6e | .......<menuitem.id="context-sen |
d64a0 | 64 69 6d 61 67 65 22 20 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d | dimage"...................label= |
d64c0 | 22 26 73 65 6e 64 49 6d 61 67 65 43 6d 64 2e 6c 61 62 65 6c 3b 22 20 0a 20 20 20 20 20 20 20 20 | "&sendImageCmd.label;".......... |
d64e0 | 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 73 65 6e 64 49 6d 61 67 65 43 6d 64 | ........accesskey="&sendImageCmd |
d6500 | 2e 61 63 63 65 73 73 6b 65 79 3b 22 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e | .accesskey;"..................on |
d6520 | 63 6f 6d 6d 61 6e 64 3d 22 67 43 6f 6e 74 65 78 74 4d 65 6e 75 2e 73 65 6e 64 4d 65 64 69 61 28 | command="gContextMenu.sendMedia( |
d6540 | 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 63 6f 6e 74 65 78 | );"/>.......<menuitem.id="contex |
d6560 | 74 2d 73 65 74 44 65 73 6b 74 6f 70 42 61 63 6b 67 72 6f 75 6e 64 22 0a 20 20 20 20 20 20 20 20 | t-setDesktopBackground"......... |
d6580 | 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 73 65 74 44 65 73 6b 74 6f 70 42 61 63 6b 67 72 | ........label="&setDesktopBackgr |
d65a0 | 6f 75 6e 64 43 6d 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | oundCmd.label;"................. |
d65c0 | 61 63 63 65 73 73 6b 65 79 3d 22 26 73 65 74 44 65 73 6b 74 6f 70 42 61 63 6b 67 72 6f 75 6e 64 | accesskey="&setDesktopBackground |
d65e0 | 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | Cmd.accesskey;"................. |
d6600 | 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 43 6f 6e 74 65 78 74 4d 65 6e 75 2e 73 65 74 44 65 73 6b 74 | oncommand="gContextMenu.setDeskt |
d6620 | 6f 70 42 61 63 6b 67 72 6f 75 6e 64 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 | opBackground();"/>.......<menuit |
d6640 | 65 6d 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 62 6c 6f 63 6b 69 6d 61 67 65 22 0a 20 20 20 20 20 | em.id="context-blockimage"...... |
d6660 | 20 20 20 20 20 20 20 20 20 20 20 74 79 70 65 3d 22 63 68 65 63 6b 62 6f 78 22 0a 20 20 20 20 20 | ...........type="checkbox"...... |
d6680 | 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 62 6c 6f 63 6b 49 6d 61 67 | ...........accesskey="&blockImag |
d66a0 | 65 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | eCmd.accesskey;"................ |
d66c0 | 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 43 6f 6e 74 65 78 74 4d 65 6e 75 2e 74 6f 67 67 6c 65 49 | .oncommand="gContextMenu.toggleI |
d66e0 | 6d 61 67 65 42 6c 6f 63 6b 69 6e 67 28 74 68 69 73 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 27 | mageBlocking(this.getAttribute(' |
d6700 | 63 68 65 63 6b 65 64 27 29 20 3d 3d 20 27 74 72 75 65 27 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c | checked').==.'true');"/>.......< |
d6720 | 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 73 61 76 65 76 69 64 65 6f 22 0a | menuitem.id="context-savevideo". |
d6740 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 73 61 76 65 56 69 64 65 | ................label="&saveVide |
d6760 | 6f 43 6d 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 | oCmd.label;".................acc |
d6780 | 65 73 73 6b 65 79 3d 22 26 73 61 76 65 56 69 64 65 6f 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b | esskey="&saveVideoCmd.accesskey; |
d67a0 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 43 6f | ".................oncommand="gCo |
d67c0 | 6e 74 65 78 74 4d 65 6e 75 2e 73 61 76 65 4d 65 64 69 61 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 | ntextMenu.saveMedia();"/>....... |
d67e0 | 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 73 61 76 65 61 75 64 69 6f 22 | <menuitem.id="context-saveaudio" |
d6800 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 73 61 76 65 41 75 64 | .................label="&saveAud |
d6820 | 69 6f 43 6d 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 | ioCmd.label;".................ac |
d6840 | 63 65 73 73 6b 65 79 3d 22 26 73 61 76 65 41 75 64 69 6f 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 | cesskey="&saveAudioCmd.accesskey |
d6860 | 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 43 | ;".................oncommand="gC |
d6880 | 6f 6e 74 65 78 74 4d 65 6e 75 2e 73 61 76 65 4d 65 64 69 61 28 29 3b 22 2f 3e 0a 20 20 20 20 20 | ontextMenu.saveMedia();"/>...... |
d68a0 | 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 73 65 6e 64 76 69 64 65 6f | .<menuitem.id="context-sendvideo |
d68c0 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 73 65 6e 64 56 69 | ".................label="&sendVi |
d68e0 | 64 65 6f 43 6d 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 | deoCmd.label;".................a |
d6900 | 63 63 65 73 73 6b 65 79 3d 22 26 73 65 6e 64 56 69 64 65 6f 43 6d 64 2e 61 63 63 65 73 73 6b 65 | ccesskey="&sendVideoCmd.accesske |
d6920 | 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 | y;".................oncommand="g |
d6940 | 43 6f 6e 74 65 78 74 4d 65 6e 75 2e 73 65 6e 64 4d 65 64 69 61 28 29 3b 22 2f 3e 0a 20 20 20 20 | ContextMenu.sendMedia();"/>..... |
d6960 | 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 73 65 6e 64 61 75 64 69 | ..<menuitem.id="context-sendaudi |
d6980 | 6f 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 73 65 6e 64 41 | o".................label="&sendA |
d69a0 | 75 64 69 6f 43 6d 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | udioCmd.label;"................. |
d69c0 | 61 63 63 65 73 73 6b 65 79 3d 22 26 73 65 6e 64 41 75 64 69 6f 43 6d 64 2e 61 63 63 65 73 73 6b | accesskey="&sendAudioCmd.accessk |
d69e0 | 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 | ey;".................oncommand=" |
d6a00 | 67 43 6f 6e 74 65 78 74 4d 65 6e 75 2e 73 65 6e 64 4d 65 64 69 61 28 29 3b 22 2f 3e 0a 20 20 20 | gContextMenu.sendMedia();"/>.... |
d6a20 | 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 62 61 63 6b 22 0a 20 | ...<menuitem.id="context-back".. |
d6a40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 62 61 63 6b 43 6d 64 2e 6c | ...............label="&backCmd.l |
d6a60 | 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 | abel;".................accesskey |
d6a80 | 3d 22 26 62 61 63 6b 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 | ="&backCmd.accesskey;".......... |
d6aa0 | 20 20 20 20 20 20 20 63 68 72 6f 6d 65 64 69 72 3d 22 26 6c 6f 63 61 6c 65 2e 64 69 72 3b 22 0a | .......chromedir="&locale.dir;". |
d6ac0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 42 72 6f 77 73 65 72 | ................command="Browser |
d6ae0 | 3a 42 61 63 6b 4f 72 42 61 63 6b 44 75 70 6c 69 63 61 74 65 22 0a 20 20 20 20 20 20 20 20 20 20 | :BackOrBackDuplicate"........... |
d6b00 | 20 20 20 20 20 20 6f 6e 63 6c 69 63 6b 3d 22 63 68 65 63 6b 46 6f 72 4d 69 64 64 6c 65 43 6c 69 | ......onclick="checkForMiddleCli |
d6b20 | 63 6b 28 74 68 69 73 2c 20 65 76 65 6e 74 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 69 | ck(this,.event);"/>.......<menui |
d6b40 | 74 65 6d 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 66 6f 72 77 61 72 64 22 0a 20 20 20 20 20 20 20 | tem.id="context-forward"........ |
d6b60 | 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 66 6f 72 77 61 72 64 43 6d 64 2e 6c 61 62 65 | .........label="&forwardCmd.labe |
d6b80 | 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 | l;".................accesskey="& |
d6ba0 | 66 6f 72 77 61 72 64 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 | forwardCmd.accesskey;".......... |
d6bc0 | 20 20 20 20 20 20 20 63 68 72 6f 6d 65 64 69 72 3d 22 26 6c 6f 63 61 6c 65 2e 64 69 72 3b 22 0a | .......chromedir="&locale.dir;". |
d6be0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 42 72 6f 77 73 65 72 | ................command="Browser |
d6c00 | 3a 46 6f 72 77 61 72 64 4f 72 46 6f 72 77 61 72 64 44 75 70 6c 69 63 61 74 65 22 0a 20 20 20 20 | :ForwardOrForwardDuplicate"..... |
d6c20 | 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6c 69 63 6b 3d 22 63 68 65 63 6b 46 6f 72 4d 69 64 | ............onclick="checkForMid |
d6c40 | 64 6c 65 43 6c 69 63 6b 28 74 68 69 73 2c 20 65 76 65 6e 74 29 3b 22 2f 3e 0a 20 20 20 20 20 20 | dleClick(this,.event);"/>....... |
d6c60 | 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 72 65 6c 6f 61 64 22 0a 20 20 | <menuitem.id="context-reload"... |
d6c80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 72 65 6c 6f 61 64 43 6d 64 2e | ..............label="&reloadCmd. |
d6ca0 | 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 | label;".................accesske |
d6cc0 | 79 3d 22 26 72 65 6c 6f 61 64 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 | y="&reloadCmd.accesskey;"....... |
d6ce0 | 20 20 20 20 20 20 20 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 42 72 6f 77 73 65 72 3a 52 65 6c 6f 61 | ..........command="Browser:Reloa |
d6d00 | 64 4f 72 44 75 70 6c 69 63 61 74 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e | dOrDuplicate".................on |
d6d20 | 63 6c 69 63 6b 3d 22 63 68 65 63 6b 46 6f 72 4d 69 64 64 6c 65 43 6c 69 63 6b 28 74 68 69 73 2c | click="checkForMiddleClick(this, |
d6d40 | 20 65 76 65 6e 74 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 | .event);"/>.......<menuitem.id=" |
d6d60 | 63 6f 6e 74 65 78 74 2d 73 74 6f 70 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 | context-stop".................la |
d6d80 | 62 65 6c 3d 22 26 73 74 6f 70 43 6d 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 | bel="&stopCmd.label;"........... |
d6da0 | 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 73 74 6f 70 43 6d 64 2e 61 63 63 65 73 73 | ......accesskey="&stopCmd.access |
d6dc0 | 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 42 | key;".................command="B |
d6de0 | 72 6f 77 73 65 72 3a 53 74 6f 70 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 73 65 70 61 72 61 | rowser:Stop"/>.......<menusepara |
d6e00 | 74 6f 72 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 73 65 70 2d 73 74 6f 70 22 2f 3e 0a 20 20 20 20 | tor.id="context-sep-stop"/>..... |
d6e20 | 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 62 6f 6f 6b 6d 61 72 6b | ..<menuitem.id="context-bookmark |
d6e40 | 70 61 67 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 62 6f | page".................label="&bo |
d6e60 | 6f 6b 6d 61 72 6b 50 61 67 65 43 6d 64 32 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 | okmarkPageCmd2.label;".......... |
d6e80 | 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 62 6f 6f 6b 6d 61 72 6b 50 61 67 65 43 | .......accesskey="&bookmarkPageC |
d6ea0 | 6d 64 32 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | md2.accesskey;"................. |
d6ec0 | 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 43 6f 6e 74 65 78 74 4d 65 6e 75 2e 62 6f 6f 6b 6d 61 72 6b | oncommand="gContextMenu.bookmark |
d6ee0 | 54 68 69 73 50 61 67 65 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 | ThisPage();"/>.......<menuitem.i |
d6f00 | 64 3d 22 63 6f 6e 74 65 78 74 2d 73 61 76 65 70 61 67 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 | d="context-savepage"............ |
d6f20 | 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 73 61 76 65 50 61 67 65 43 6d 64 2e 6c 61 62 65 6c 3b 22 | .....label="&savePageCmd.label;" |
d6f40 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 73 61 76 | .................accesskey="&sav |
d6f60 | 65 50 61 67 65 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 32 3b 22 0a 20 20 20 20 20 20 20 20 20 20 | ePageCmd.accesskey2;"........... |
d6f80 | 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 43 6f 6e 74 65 78 74 4d 65 6e 75 2e 73 61 | ......oncommand="gContextMenu.sa |
d6fa0 | 76 65 50 61 67 65 41 73 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 | vePageAs();"/>.......<menuitem.i |
d6fc0 | 64 3d 22 63 6f 6e 74 65 78 74 2d 73 65 6e 64 70 61 67 65 22 20 20 0a 20 20 20 20 20 20 20 20 20 | d="context-sendpage"............ |
d6fe0 | 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 73 65 6e 64 50 61 67 65 43 6d 64 2e 6c 61 62 65 6c | .......label="&sendPageCmd.label |
d7000 | 3b 22 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 | ;"..................accesskey="& |
d7020 | 73 65 6e 64 50 61 67 65 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 20 0a 20 20 20 20 20 20 20 | sendPageCmd.accesskey;"......... |
d7040 | 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 43 6f 6e 74 65 78 74 4d 65 6e 75 | .........oncommand="gContextMenu |
d7060 | 2e 73 65 6e 64 50 61 67 65 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 73 65 70 61 72 | .sendPage();"/>.......<menusepar |
d7080 | 61 74 6f 72 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 73 65 70 2d 76 69 65 77 62 67 69 6d 61 67 65 | ator.id="context-sep-viewbgimage |
d70a0 | 22 2f 3e 20 20 0a 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 63 6f 6e 74 65 78 | "/>.........<menuitem.id="contex |
d70c0 | 74 2d 76 69 65 77 62 67 69 6d 61 67 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c | t-viewbgimage".................l |
d70e0 | 61 62 65 6c 3d 22 26 76 69 65 77 42 47 49 6d 61 67 65 43 6d 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 | abel="&viewBGImageCmd.label;"... |
d7100 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 76 69 65 77 42 47 | ..............accesskey="&viewBG |
d7120 | 49 6d 61 67 65 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 | ImageCmd.accesskey;"............ |
d7140 | 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 43 6f 6e 74 65 78 74 4d 65 6e 75 2e 76 69 65 | .....oncommand="gContextMenu.vie |
d7160 | 77 42 47 49 6d 61 67 65 28 65 76 65 6e 74 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | wBGImage(event);"............... |
d7180 | 20 20 6f 6e 63 6c 69 63 6b 3d 22 63 68 65 63 6b 46 6f 72 4d 69 64 64 6c 65 43 6c 69 63 6b 28 74 | ..onclick="checkForMiddleClick(t |
d71a0 | 68 69 73 2c 20 65 76 65 6e 74 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 | his,.event);"/>.......<menuitem. |
d71c0 | 69 64 3d 22 63 6f 6e 74 65 78 74 2d 75 6e 64 6f 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | id="context-undo"............... |
d71e0 | 20 20 6c 61 62 65 6c 3d 22 26 75 6e 64 6f 43 6d 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 | ..label="&undoCmd.label;"....... |
d7200 | 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 75 6e 64 6f 43 6d 64 2e 61 63 | ..........accesskey="&undoCmd.ac |
d7220 | 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6d 6d 61 6e | cesskey;".................comman |
d7240 | 64 3d 22 63 6d 64 5f 75 6e 64 6f 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 73 65 70 61 72 61 | d="cmd_undo"/>.......<menusepara |
d7260 | 74 6f 72 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 73 65 70 2d 75 6e 64 6f 22 2f 3e 0a 20 20 20 20 | tor.id="context-sep-undo"/>..... |
d7280 | 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 63 75 74 22 0a 20 20 20 | ..<menuitem.id="context-cut".... |
d72a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 63 75 74 43 6d 64 2e 6c 61 62 65 | .............label="&cutCmd.labe |
d72c0 | 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 | l;".................accesskey="& |
d72e0 | 63 75 74 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | cutCmd.accesskey;".............. |
d7300 | 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 63 6d 64 5f 63 75 74 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 | ...command="cmd_cut"/>.......<me |
d7320 | 6e 75 69 74 65 6d 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 63 6f 70 79 22 0a 20 20 20 20 20 20 20 | nuitem.id="context-copy"........ |
d7340 | 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 63 6f 70 79 43 6d 64 2e 6c 61 62 65 6c 3b 22 | .........label="©Cmd.label;" |
d7360 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 63 6f 70 | .................accesskey="&cop |
d7380 | 79 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | yCmd.accesskey;"................ |
d73a0 | 20 63 6f 6d 6d 61 6e 64 3d 22 63 6d 64 5f 63 6f 70 79 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e | .command="cmd_copy"/>.......<men |
d73c0 | 75 69 74 65 6d 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 70 61 73 74 65 22 0a 20 20 20 20 20 20 20 | uitem.id="context-paste"........ |
d73e0 | 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 70 61 73 74 65 43 6d 64 2e 6c 61 62 65 6c 3b | .........label="&pasteCmd.label; |
d7400 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 70 61 | ".................accesskey="&pa |
d7420 | 73 74 65 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | steCmd.accesskey;".............. |
d7440 | 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 63 6d 64 5f 70 61 73 74 65 22 2f 3e 0a 20 20 20 20 20 20 3c | ...command="cmd_paste"/>.......< |
d7460 | 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 64 65 6c 65 74 65 22 0a 20 20 20 | menuitem.id="context-delete".... |
d7480 | 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 64 65 6c 65 74 65 43 6d 64 2e 6c | .............label="&deleteCmd.l |
d74a0 | 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 | abel;".................accesskey |
d74c0 | 3d 22 26 64 65 6c 65 74 65 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 | ="&deleteCmd.accesskey;"........ |
d74e0 | 20 20 20 20 20 20 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 63 6d 64 5f 64 65 6c 65 74 65 22 2f 3e 0a | .........command="cmd_delete"/>. |
d7500 | 20 20 20 20 20 20 3c 6d 65 6e 75 73 65 70 61 72 61 74 6f 72 20 69 64 3d 22 63 6f 6e 74 65 78 74 | ......<menuseparator.id="context |
d7520 | 2d 73 65 70 2d 70 61 73 74 65 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 | -sep-paste"/>.......<menuitem.id |
d7540 | 3d 22 63 6f 6e 74 65 78 74 2d 73 65 6c 65 63 74 61 6c 6c 22 0a 20 20 20 20 20 20 20 20 20 20 20 | ="context-selectall"............ |
d7560 | 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 73 65 6c 65 63 74 41 6c 6c 43 6d 64 2e 6c 61 62 65 6c 3b | .....label="&selectAllCmd.label; |
d7580 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 73 65 | ".................accesskey="&se |
d75a0 | 6c 65 63 74 41 6c 6c 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 | lectAllCmd.accesskey;".......... |
d75c0 | 20 20 20 20 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 63 6d 64 5f 73 65 6c 65 63 74 41 6c 6c 22 2f 3e | .......command="cmd_selectAll"/> |
d75e0 | 20 20 20 20 20 20 0a 20 20 20 20 20 20 3c 6d 65 6e 75 73 65 70 61 72 61 74 6f 72 20 69 64 3d 22 | .............<menuseparator.id=" |
d7600 | 63 6f 6e 74 65 78 74 2d 73 65 70 2d 73 65 6c 65 63 74 61 6c 6c 22 2f 3e 0a 20 20 20 20 20 20 3c | context-sep-selectall"/>.......< |
d7620 | 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 6b 65 79 77 6f 72 64 66 69 65 6c | menuitem.id="context-keywordfiel |
d7640 | 64 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 6b 65 79 77 6f | d".................label="&keywo |
d7660 | 72 64 66 69 65 6c 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | rdfield.label;"................. |
d7680 | 61 63 63 65 73 73 6b 65 79 3d 22 26 6b 65 79 77 6f 72 64 66 69 65 6c 64 2e 61 63 63 65 73 73 6b | accesskey="&keywordfield.accessk |
d76a0 | 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 | ey;".................oncommand=" |
d76c0 | 41 64 64 4b 65 79 77 6f 72 64 46 6f 72 53 65 61 72 63 68 46 69 65 6c 64 28 29 3b 22 2f 3e 0a 20 | AddKeywordForSearchField();"/>.. |
d76e0 | 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 73 65 61 72 63 | .....<menuitem.id="context-searc |
d7700 | 68 73 65 6c 65 63 74 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 | hselect".................oncomma |
d7720 | 6e 64 3d 22 42 72 6f 77 73 65 72 53 65 61 72 63 68 2e 6c 6f 61 64 53 65 61 72 63 68 28 67 65 74 | nd="BrowserSearch.loadSearch(get |
d7740 | 42 72 6f 77 73 65 72 53 65 6c 65 63 74 69 6f 6e 28 29 2c 20 74 72 75 65 29 3b 22 2f 3e 0a 20 20 | BrowserSelection(),.true);"/>... |
d7760 | 20 20 20 20 3c 6d 65 6e 75 73 65 70 61 72 61 74 6f 72 20 69 64 3d 22 66 72 61 6d 65 2d 73 65 70 | ....<menuseparator.id="frame-sep |
d7780 | 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 20 69 64 3d 22 66 72 61 6d 65 22 20 6c 61 62 65 6c | "/>.......<menu.id="frame".label |
d77a0 | 3d 22 26 74 68 69 73 46 72 61 6d 65 4d 65 6e 75 2e 6c 61 62 65 6c 3b 22 20 61 63 63 65 73 73 6b | ="&thisFrameMenu.label;".accessk |
d77c0 | 65 79 3d 22 26 74 68 69 73 46 72 61 6d 65 4d 65 6e 75 2e 61 63 63 65 73 73 6b 65 79 3b 22 3e 0a | ey="&thisFrameMenu.accesskey;">. |
d77e0 | 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 70 6f 70 75 70 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 6d | ........<menupopup>...........<m |
d7800 | 65 6e 75 69 74 65 6d 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 73 68 6f 77 6f 6e 6c 79 74 68 69 73 | enuitem.id="context-showonlythis |
d7820 | 66 72 61 6d 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c | frame".....................label |
d7840 | 3d 22 26 73 68 6f 77 4f 6e 6c 79 54 68 69 73 46 72 61 6d 65 43 6d 64 2e 6c 61 62 65 6c 3b 22 0a | ="&showOnlyThisFrameCmd.label;". |
d7860 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 | ....................accesskey="& |
d7880 | 73 68 6f 77 4f 6e 6c 79 54 68 69 73 46 72 61 6d 65 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 | showOnlyThisFrameCmd.accesskey;" |
d78a0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 | .....................oncommand=" |
d78c0 | 67 43 6f 6e 74 65 78 74 4d 65 6e 75 2e 73 68 6f 77 4f 6e 6c 79 54 68 69 73 46 72 61 6d 65 28 29 | gContextMenu.showOnlyThisFrame() |
d78e0 | 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 63 6f 6e | ;"/>...........<menuitem.id="con |
d7900 | 74 65 78 74 2d 6f 70 65 6e 66 72 61 6d 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | text-openframe"................. |
d7920 | 20 20 20 20 6c 61 62 65 6c 3d 22 26 6f 70 65 6e 46 72 61 6d 65 43 6d 64 2e 6c 61 62 65 6c 3b 22 | ....label="&openFrameCmd.label;" |
d7940 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 | .....................accesskey=" |
d7960 | 26 6f 70 65 6e 46 72 61 6d 65 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 | &openFrameCmd.accesskey;"....... |
d7980 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 43 6f 6e 74 65 78 | ..............oncommand="gContex |
d79a0 | 74 4d 65 6e 75 2e 6f 70 65 6e 46 72 61 6d 65 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 | tMenu.openFrame();"/>........... |
d79c0 | 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 6f 70 65 6e 66 72 61 6d 65 69 | <menuitem.id="context-openframei |
d79e0 | 6e 74 61 62 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d | ntab".....................label= |
d7a00 | 22 26 6f 70 65 6e 46 72 61 6d 65 43 6d 64 49 6e 54 61 62 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 | "&openFrameCmdInTab.label;"..... |
d7a20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 6f 70 65 6e | ................accesskey="&open |
d7a40 | 46 72 61 6d 65 43 6d 64 49 6e 54 61 62 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 | FrameCmdInTab.accesskey;"....... |
d7a60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 43 6f 6e 74 65 78 | ..............oncommand="gContex |
d7a80 | 74 4d 65 6e 75 2e 6f 70 65 6e 46 72 61 6d 65 49 6e 54 61 62 28 29 3b 22 2f 3e 0a 20 20 20 20 20 | tMenu.openFrameInTab();"/>...... |
d7aa0 | 20 20 20 20 20 3c 6d 65 6e 75 73 65 70 61 72 61 74 6f 72 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 | .....<menuseparator/>........... |
d7ac0 | 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 72 65 6c 6f 61 64 66 72 61 6d | <menuitem.id="context-reloadfram |
d7ae0 | 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 72 | e".....................label="&r |
d7b00 | 65 6c 6f 61 64 46 72 61 6d 65 43 6d 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 | eloadFrameCmd.label;"........... |
d7b20 | 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 72 65 6c 6f 61 64 46 72 61 6d | ..........accesskey="&reloadFram |
d7b40 | 65 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | eCmd.accesskey;"................ |
d7b60 | 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 43 6f 6e 74 65 78 74 4d 65 6e 75 2e 72 65 6c | .....oncommand="gContextMenu.rel |
d7b80 | 6f 61 64 46 72 61 6d 65 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 73 65 | oadFrame();"/>...........<menuse |
d7ba0 | 70 61 72 61 74 6f 72 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 | parator/>...........<menuitem.id |
d7bc0 | 3d 22 63 6f 6e 74 65 78 74 2d 62 6f 6f 6b 6d 61 72 6b 66 72 61 6d 65 22 0a 20 20 20 20 20 20 20 | ="context-bookmarkframe"........ |
d7be0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 62 6f 6f 6b 6d 61 72 6b 54 68 69 | .............label="&bookmarkThi |
d7c00 | 73 46 72 61 6d 65 43 6d 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | sFrameCmd.label;"............... |
d7c20 | 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 62 6f 6f 6b 6d 61 72 6b 54 68 69 73 46 72 | ......accesskey="&bookmarkThisFr |
d7c40 | 61 6d 65 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ameCmd.accesskey;".............. |
d7c60 | 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 43 6f 6e 74 65 78 74 4d 65 6e 75 2e 61 | .......oncommand="gContextMenu.a |
d7c80 | 64 64 42 6f 6f 6b 6d 61 72 6b 46 6f 72 46 72 61 6d 65 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 20 | ddBookmarkForFrame();"/>........ |
d7ca0 | 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 73 61 76 65 66 72 61 | ...<menuitem.id="context-savefra |
d7cc0 | 6d 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 | me".....................label="& |
d7ce0 | 73 61 76 65 46 72 61 6d 65 43 6d 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 | saveFrameCmd.label;"............ |
d7d00 | 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 73 61 76 65 46 72 61 6d 65 43 6d | .........accesskey="&saveFrameCm |
d7d20 | 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | d.accesskey;"................... |
d7d40 | 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 43 6f 6e 74 65 78 74 4d 65 6e 75 2e 73 61 76 65 46 72 | ..oncommand="gContextMenu.saveFr |
d7d60 | 61 6d 65 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 73 65 70 61 72 61 74 | ame();"/>...........<menuseparat |
d7d80 | 6f 72 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 63 6f 6e | or/>...........<menuitem.id="con |
d7da0 | 74 65 78 74 2d 70 72 69 6e 74 66 72 61 6d 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | text-printframe"................ |
d7dc0 | 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 70 72 69 6e 74 46 72 61 6d 65 43 6d 64 2e 6c 61 62 65 6c | .....label="&printFrameCmd.label |
d7de0 | 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 | ;".....................accesskey |
d7e00 | 3d 22 26 70 72 69 6e 74 46 72 61 6d 65 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 | ="&printFrameCmd.accesskey;".... |
d7e20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 43 6f 6e | .................oncommand="gCon |
d7e40 | 74 65 78 74 4d 65 6e 75 2e 70 72 69 6e 74 46 72 61 6d 65 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 | textMenu.printFrame();"/>....... |
d7e60 | 20 20 20 20 3c 6d 65 6e 75 73 65 70 61 72 61 74 6f 72 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c | ....<menuseparator/>...........< |
d7e80 | 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 76 69 65 77 66 72 61 6d 65 73 6f | menuitem.id="context-viewframeso |
d7ea0 | 75 72 63 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d | urce".....................label= |
d7ec0 | 22 26 76 69 65 77 46 72 61 6d 65 53 6f 75 72 63 65 43 6d 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 | "&viewFrameSourceCmd.label;".... |
d7ee0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 76 69 65 | .................accesskey="&vie |
d7f00 | 77 46 72 61 6d 65 53 6f 75 72 63 65 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 | wFrameSourceCmd.accesskey;"..... |
d7f20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 43 6f 6e 74 | ................oncommand="gCont |
d7f40 | 65 78 74 4d 65 6e 75 2e 76 69 65 77 46 72 61 6d 65 53 6f 75 72 63 65 28 29 3b 22 0a 20 20 20 20 | extMenu.viewFrameSource();"..... |
d7f60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 62 73 65 72 76 65 73 3d 22 69 73 46 72 61 6d | ................observes="isFram |
d7f80 | 65 49 6d 61 67 65 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 | eImage"/>...........<menuitem.id |
d7fa0 | 3d 22 63 6f 6e 74 65 78 74 2d 76 69 65 77 66 72 61 6d 65 69 6e 66 6f 22 0a 20 20 20 20 20 20 20 | ="context-viewframeinfo"........ |
d7fc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 76 69 65 77 46 72 61 6d 65 49 6e | .............label="&viewFrameIn |
d7fe0 | 66 6f 43 6d 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | foCmd.label;"................... |
d8000 | 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 76 69 65 77 46 72 61 6d 65 49 6e 66 6f 43 6d 64 2e 61 | ..accesskey="&viewFrameInfoCmd.a |
d8020 | 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f | ccesskey;".....................o |
d8040 | 6e 63 6f 6d 6d 61 6e 64 3d 22 67 43 6f 6e 74 65 78 74 4d 65 6e 75 2e 76 69 65 77 46 72 61 6d 65 | ncommand="gContextMenu.viewFrame |
d8060 | 49 6e 66 6f 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 2f 6d 65 6e 75 70 6f 70 75 70 3e 0a | Info();"/>.........</menupopup>. |
d8080 | 20 20 20 20 20 20 3c 2f 6d 65 6e 75 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 73 65 70 61 72 61 74 | ......</menu>.......<menuseparat |
d80a0 | 6f 72 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 73 65 70 2d 70 72 6f 70 65 72 74 69 65 73 22 2f 3e | or.id="context-sep-properties"/> |
d80c0 | 0a 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 76 69 65 | .......<menuitem.id="context-vie |
d80e0 | 77 70 61 72 74 69 61 6c 73 6f 75 72 63 65 2d 73 65 6c 65 63 74 69 6f 6e 22 0a 20 20 20 20 20 20 | wpartialsource-selection"....... |
d8100 | 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 76 69 65 77 50 61 72 74 69 61 6c 53 6f 75 | ..........label="&viewPartialSou |
d8120 | 72 63 65 46 6f 72 53 65 6c 65 63 74 69 6f 6e 43 6d 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 | rceForSelectionCmd.label;"...... |
d8140 | 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 76 69 65 77 50 61 72 74 69 | ...........accesskey="&viewParti |
d8160 | 61 6c 53 6f 75 72 63 65 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 | alSourceCmd.accesskey;"......... |
d8180 | 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 43 6f 6e 74 65 78 74 4d 65 6e 75 2e | ........oncommand="gContextMenu. |
d81a0 | 76 69 65 77 50 61 72 74 69 61 6c 53 6f 75 72 63 65 28 27 73 65 6c 65 63 74 69 6f 6e 27 29 3b 22 | viewPartialSource('selection');" |
d81c0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 62 73 65 72 76 65 73 3d 22 69 73 49 6d 61 | .................observes="isIma |
d81e0 | 67 65 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 63 6f 6e 74 65 78 | ge"/>.......<menuitem.id="contex |
d8200 | 74 2d 76 69 65 77 70 61 72 74 69 61 6c 73 6f 75 72 63 65 2d 6d 61 74 68 6d 6c 22 0a 20 20 20 20 | t-viewpartialsource-mathml"..... |
d8220 | 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 76 69 65 77 50 61 72 74 69 61 6c 53 | ............label="&viewPartialS |
d8240 | 6f 75 72 63 65 46 6f 72 4d 61 74 68 4d 4c 43 6d 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 | ourceForMathMLCmd.label;"....... |
d8260 | 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 76 69 65 77 50 61 72 74 69 61 | ..........accesskey="&viewPartia |
d8280 | 6c 53 6f 75 72 63 65 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 | lSourceCmd.accesskey;".......... |
d82a0 | 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 43 6f 6e 74 65 78 74 4d 65 6e 75 2e 76 | .......oncommand="gContextMenu.v |
d82c0 | 69 65 77 50 61 72 74 69 61 6c 53 6f 75 72 63 65 28 27 6d 61 74 68 6d 6c 27 29 3b 22 0a 20 20 20 | iewPartialSource('mathml');".... |
d82e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 62 73 65 72 76 65 73 3d 22 69 73 49 6d 61 67 65 22 2f | .............observes="isImage"/ |
d8300 | 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 76 69 | >.......<menuitem.id="context-vi |
d8320 | 65 77 73 6f 75 72 63 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d | ewsource".................label= |
d8340 | 22 26 76 69 65 77 50 61 67 65 53 6f 75 72 63 65 43 6d 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 | "&viewPageSourceCmd.label;"..... |
d8360 | 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 76 69 65 77 50 61 67 65 | ............accesskey="&viewPage |
d8380 | 53 6f 75 72 63 65 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 | SourceCmd.accesskey;"........... |
d83a0 | 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 42 72 6f 77 73 65 72 56 69 65 77 53 6f 75 72 | ......oncommand="BrowserViewSour |
d83c0 | 63 65 4f 66 44 6f 63 75 6d 65 6e 74 28 67 43 6f 6e 74 65 78 74 4d 65 6e 75 2e 62 72 6f 77 73 65 | ceOfDocument(gContextMenu.browse |
d83e0 | 72 2e 63 6f 6e 74 65 6e 74 44 6f 63 75 6d 65 6e 74 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 | r.contentDocument);"............ |
d8400 | 20 20 20 20 20 6f 62 73 65 72 76 65 73 3d 22 69 73 49 6d 61 67 65 22 2f 3e 0a 20 20 20 20 20 20 | .....observes="isImage"/>....... |
d8420 | 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 76 69 65 77 69 6e 66 6f 22 0a | <menuitem.id="context-viewinfo". |
d8440 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 76 69 65 77 50 61 67 65 | ................label="&viewPage |
d8460 | 49 6e 66 6f 43 6d 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | InfoCmd.label;"................. |
d8480 | 61 63 63 65 73 73 6b 65 79 3d 22 26 76 69 65 77 50 61 67 65 49 6e 66 6f 43 6d 64 2e 61 63 63 65 | accesskey="&viewPageInfoCmd.acce |
d84a0 | 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e | sskey;".................oncomman |
d84c0 | 64 3d 22 67 43 6f 6e 74 65 78 74 4d 65 6e 75 2e 76 69 65 77 49 6e 66 6f 28 29 3b 22 2f 3e 0a 20 | d="gContextMenu.viewInfo();"/>.. |
d84e0 | 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 6d 65 74 61 64 | .....<menuitem.id="context-metad |
d8500 | 61 74 61 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 6d 65 74 | ata".................label="&met |
d8520 | 61 64 61 74 61 43 6d 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | adataCmd.label;"................ |
d8540 | 20 61 63 63 65 73 73 6b 65 79 3d 22 26 6d 65 74 61 64 61 74 61 43 6d 64 2e 61 63 63 65 73 73 6b | .accesskey="&metadataCmd.accessk |
d8560 | 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 | ey;".................oncommand=" |
d8580 | 67 43 6f 6e 74 65 78 74 4d 65 6e 75 2e 73 68 6f 77 4d 65 74 61 64 61 74 61 28 29 3b 22 2f 3e 0a | gContextMenu.showMetadata();"/>. |
d85a0 | 20 20 20 20 20 20 3c 6d 65 6e 75 73 65 70 61 72 61 74 6f 72 20 69 64 3d 22 73 70 65 6c 6c 2d 73 | ......<menuseparator.id="spell-s |
d85c0 | 65 70 61 72 61 74 6f 72 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 | eparator"/>.......<menuitem.id=" |
d85e0 | 73 70 65 6c 6c 2d 63 68 65 63 6b 2d 65 6e 61 62 6c 65 64 22 0a 20 20 20 20 20 20 20 20 20 20 20 | spell-check-enabled"............ |
d8600 | 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 73 70 65 6c 6c 43 68 65 63 6b 45 6e 61 62 6c 65 2e 6c 61 | .....label="&spellCheckEnable.la |
d8620 | 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 79 70 65 3d 22 63 68 65 63 | bel;".................type="chec |
d8640 | 6b 62 6f 78 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d | kbox".................accesskey= |
d8660 | 22 26 73 70 65 6c 6c 43 68 65 63 6b 45 6e 61 62 6c 65 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 | "&spellCheckEnable.accesskey;".. |
d8680 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 49 6e 6c 69 6e 65 | ...............oncommand="Inline |
d86a0 | 53 70 65 6c 6c 43 68 65 63 6b 65 72 55 49 2e 74 6f 67 67 6c 65 45 6e 61 62 6c 65 64 28 29 3b 22 | SpellCheckerUI.toggleEnabled();" |
d86c0 | 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 73 70 65 6c 6c 2d 61 64 64 | />.......<menuitem.id="spell-add |
d86e0 | 2d 64 69 63 74 69 6f 6e 61 72 69 65 73 2d 6d 61 69 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 | -dictionaries-main"............. |
d8700 | 20 20 20 20 6c 61 62 65 6c 3d 22 26 73 70 65 6c 6c 41 64 64 44 69 63 74 69 6f 6e 61 72 69 65 73 | ....label="&spellAddDictionaries |
d8720 | 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b | .label;".................accessk |
d8740 | 65 79 3d 22 26 73 70 65 6c 6c 41 64 64 44 69 63 74 69 6f 6e 61 72 69 65 73 2e 61 63 63 65 73 73 | ey="&spellAddDictionaries.access |
d8760 | 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d | key;".................oncommand= |
d8780 | 22 67 43 6f 6e 74 65 78 74 4d 65 6e 75 2e 61 64 64 44 69 63 74 69 6f 6e 61 72 69 65 73 28 29 3b | "gContextMenu.addDictionaries(); |
d87a0 | 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 20 69 64 3d 22 73 70 65 6c 6c 2d 64 69 63 74 69 6f | "/>.......<menu.id="spell-dictio |
d87c0 | 6e 61 72 69 65 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 73 70 65 6c | naries".............label="&spel |
d87e0 | 6c 44 69 63 74 69 6f 6e 61 72 69 65 73 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 | lDictionaries.label;"........... |
d8800 | 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 73 70 65 6c 6c 44 69 63 74 69 6f 6e 61 72 69 65 73 2e | ..accesskey="&spellDictionaries. |
d8820 | 61 63 63 65 73 73 6b 65 79 3b 22 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 70 6f 70 75 | accesskey;">...........<menupopu |
d8840 | 70 20 69 64 3d 22 73 70 65 6c 6c 2d 64 69 63 74 69 6f 6e 61 72 69 65 73 2d 6d 65 6e 75 22 3e 0a | p.id="spell-dictionaries-menu">. |
d8860 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 73 65 70 61 72 61 74 6f 72 20 69 64 3d | ..............<menuseparator.id= |
d8880 | 22 73 70 65 6c 6c 2d 6c 61 6e 67 75 61 67 65 2d 73 65 70 61 72 61 74 6f 72 22 2f 3e 0a 20 20 20 | "spell-language-separator"/>.... |
d88a0 | 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 73 70 65 6c 6c 2d 61 | ...........<menuitem.id="spell-a |
d88c0 | 64 64 2d 64 69 63 74 69 6f 6e 61 72 69 65 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | dd-dictionaries"................ |
d88e0 | 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 73 70 65 6c 6c 41 64 64 44 69 63 74 69 6f 6e | .........label="&spellAddDiction |
d8900 | 61 72 69 65 73 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | aries.label;"................... |
d8920 | 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 73 70 65 6c 6c 41 64 64 44 69 63 74 69 6f | ......accesskey="&spellAddDictio |
d8940 | 6e 61 72 69 65 73 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | naries.accesskey;".............. |
d8960 | 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 43 6f 6e 74 65 78 74 4d 65 | ...........oncommand="gContextMe |
d8980 | 6e 75 2e 61 64 64 44 69 63 74 69 6f 6e 61 72 69 65 73 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 20 | nu.addDictionaries();"/>........ |
d89a0 | 20 20 20 3c 2f 6d 65 6e 75 70 6f 70 75 70 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 6e 75 3e 0a 20 20 | ...</menupopup>.......</menu>... |
d89c0 | 20 20 20 20 3c 6d 65 6e 75 73 65 70 61 72 61 74 6f 72 20 68 69 64 64 65 6e 3d 22 74 72 75 65 22 | ....<menuseparator.hidden="true" |
d89e0 | 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 73 65 70 2d 62 69 64 69 22 2f 3e 0a 20 20 20 20 20 20 3c | .id="context-sep-bidi"/>.......< |
d8a00 | 6d 65 6e 75 69 74 65 6d 20 68 69 64 64 65 6e 3d 22 74 72 75 65 22 20 69 64 3d 22 63 6f 6e 74 65 | menuitem.hidden="true".id="conte |
d8a20 | 78 74 2d 62 69 64 69 2d 74 65 78 74 2d 64 69 72 65 63 74 69 6f 6e 2d 74 6f 67 67 6c 65 22 0a 20 | xt-bidi-text-direction-toggle".. |
d8a40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 62 69 64 69 53 77 69 74 63 | ...............label="&bidiSwitc |
d8a60 | 68 54 65 78 74 44 69 72 65 63 74 69 6f 6e 49 74 65 6d 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 | hTextDirectionItem.label;"...... |
d8a80 | 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 62 69 64 69 53 77 69 74 63 | ...........accesskey="&bidiSwitc |
d8aa0 | 68 54 65 78 74 44 69 72 65 63 74 69 6f 6e 49 74 65 6d 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 | hTextDirectionItem.accesskey;".. |
d8ac0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 63 6d 64 5f 73 77 69 74 | ...............command="cmd_swit |
d8ae0 | 63 68 54 65 78 74 44 69 72 65 63 74 69 6f 6e 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 | chTextDirection"/>.......<menuit |
d8b00 | 65 6d 20 68 69 64 64 65 6e 3d 22 74 72 75 65 22 20 69 64 3d 22 63 6f 6e 74 65 78 74 2d 62 69 64 | em.hidden="true".id="context-bid |
d8b20 | 69 2d 70 61 67 65 2d 64 69 72 65 63 74 69 6f 6e 2d 74 6f 67 67 6c 65 22 0a 20 20 20 20 20 20 20 | i-page-direction-toggle"........ |
d8b40 | 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 62 69 64 69 53 77 69 74 63 68 50 61 67 65 44 | .........label="&bidiSwitchPageD |
d8b60 | 69 72 65 63 74 69 6f 6e 49 74 65 6d 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 | irectionItem.label;"............ |
d8b80 | 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 62 69 64 69 53 77 69 74 63 68 50 61 67 65 44 | .....accesskey="&bidiSwitchPageD |
d8ba0 | 69 72 65 63 74 69 6f 6e 49 74 65 6d 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 | irectionItem.accesskey;"........ |
d8bc0 | 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 43 6f 6e 74 65 78 74 4d 65 6e 75 | .........oncommand="gContextMenu |
d8be0 | 2e 73 77 69 74 63 68 50 61 67 65 44 69 72 65 63 74 69 6f 6e 28 29 3b 22 2f 3e 0a 20 20 20 20 3c | .switchPageDirection();"/>.....< |
d8c00 | 2f 70 6f 70 75 70 3e 0a 20 20 3c 2f 70 6f 70 75 70 73 65 74 3e 0a 0a 20 20 3c 63 6f 6d 6d 61 6e | /popup>...</popupset>....<comman |
d8c20 | 64 73 65 74 20 69 64 3d 22 65 64 69 74 4d 65 6e 75 43 6f 6d 6d 61 6e 64 73 22 2f 3e 20 0a 20 20 | dset.id="editMenuCommands"/>.... |
d8c40 | 3c 62 72 6f 77 73 65 72 20 69 64 3d 22 77 65 62 2d 70 61 6e 65 6c 73 2d 62 72 6f 77 73 65 72 22 | <browser.id="web-panels-browser" |
d8c60 | 20 70 65 72 73 69 73 74 3d 22 63 61 63 68 65 64 75 72 6c 22 20 74 79 70 65 3d 22 63 6f 6e 74 65 | .persist="cachedurl".type="conte |
d8c80 | 6e 74 22 20 66 6c 65 78 3d 22 31 22 0a 20 20 20 20 20 20 20 20 20 20 20 63 6f 6e 74 65 78 74 3d | nt".flex="1"............context= |
d8ca0 | 22 63 6f 6e 74 65 6e 74 41 72 65 61 43 6f 6e 74 65 78 74 4d 65 6e 75 22 0a 20 20 20 20 20 20 20 | "contentAreaContextMenu"........ |
d8cc0 | 20 20 20 20 6f 6e 63 6c 69 63 6b 3d 22 72 65 74 75 72 6e 20 77 69 6e 64 6f 77 2e 70 61 72 65 6e | ....onclick="return.window.paren |
d8ce0 | 74 2e 63 6f 6e 74 65 6e 74 41 72 65 61 43 6c 69 63 6b 28 65 76 65 6e 74 2c 20 74 72 75 65 29 3b | t.contentAreaClick(event,.true); |
d8d00 | 22 2f 3e 0a 3c 2f 70 61 67 65 3e 0a 50 4b 03 04 14 00 00 00 00 00 f2 4b 18 3b b9 8e 1b 0d 66 08 | "/>.</page>.PK.........K.;....f. |
d8d20 | 00 00 66 08 00 00 23 00 00 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 62 61 73 65 4d 65 | ..f...#...content/browser/baseMe |
d8d40 | 6e 75 4f 76 65 72 6c 61 79 2e 78 75 6c 3c 3f 78 6d 6c 20 76 65 72 73 69 6f 6e 3d 22 31 2e 30 22 | nuOverlay.xul<?xml.version="1.0" |
d8d60 | 3f 3e 0a 0a 0a 3c 21 44 4f 43 54 59 50 45 20 6f 76 65 72 6c 61 79 20 5b 0a 3c 21 45 4e 54 49 54 | ?>...<!DOCTYPE.overlay.[.<!ENTIT |
d8d80 | 59 20 25 20 62 72 61 6e 64 44 54 44 20 53 59 53 54 45 4d 20 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 | Y.%.brandDTD.SYSTEM."chrome://br |
d8da0 | 61 6e 64 69 6e 67 2f 6c 6f 63 61 6c 65 2f 62 72 61 6e 64 2e 64 74 64 22 3e 0a 25 62 72 61 6e 64 | anding/locale/brand.dtd">.%brand |
d8dc0 | 44 54 44 3b 0a 3c 21 45 4e 54 49 54 59 20 25 20 62 61 73 65 4d 65 6e 75 4f 76 65 72 6c 61 79 44 | DTD;.<!ENTITY.%.baseMenuOverlayD |
d8de0 | 54 44 20 53 59 53 54 45 4d 20 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 6c 6f 63 61 | TD.SYSTEM."chrome://browser/loca |
d8e00 | 6c 65 2f 62 61 73 65 4d 65 6e 75 4f 76 65 72 6c 61 79 2e 64 74 64 22 3e 0a 25 62 61 73 65 4d 65 | le/baseMenuOverlay.dtd">.%baseMe |
d8e20 | 6e 75 4f 76 65 72 6c 61 79 44 54 44 3b 0a 5d 3e 0a 3c 6f 76 65 72 6c 61 79 20 69 64 3d 22 62 61 | nuOverlayDTD;.]>.<overlay.id="ba |
d8e40 | 73 65 4d 65 6e 75 4f 76 65 72 6c 61 79 22 0a 20 20 20 20 20 20 20 20 20 78 6d 6c 6e 73 3a 72 64 | seMenuOverlay"..........xmlns:rd |
d8e60 | 66 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e 77 33 2e 6f 72 67 2f 31 39 39 39 2f 30 32 2f 32 32 2d | f="http://www.w3.org/1999/02/22- |
d8e80 | 72 64 66 2d 73 79 6e 74 61 78 2d 6e 73 23 22 0a 20 20 20 20 20 20 20 20 20 78 6d 6c 6e 73 3d 22 | rdf-syntax-ns#"..........xmlns=" |
d8ea0 | 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6b 65 79 6d 61 73 74 65 72 | http://www.mozilla.org/keymaster |
d8ec0 | 2f 67 61 74 65 6b 65 65 70 65 72 2f 74 68 65 72 65 2e 69 73 2e 6f 6e 6c 79 2e 78 75 6c 22 3e 0a | /gatekeeper/there.is.only.xul">. |
d8ee0 | 0a 3c 73 63 72 69 70 74 20 74 79 70 65 3d 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f 78 2d 6a 61 76 | .<script.type="application/x-jav |
d8f00 | 61 73 63 72 69 70 74 22 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 | ascript".src="chrome://browser/c |
d8f20 | 6f 6e 74 65 6e 74 2f 75 74 69 6c 69 74 79 4f 76 65 72 6c 61 79 2e 6a 73 22 2f 3e 0a 0a 0a 20 20 | ontent/utilityOverlay.js"/>..... |
d8f40 | 20 20 3c 6d 65 6e 75 20 69 64 3d 22 68 65 6c 70 4d 65 6e 75 22 0a 20 20 20 20 20 20 20 20 20 20 | ..<menu.id="helpMenu"........... |
d8f60 | 6c 61 62 65 6c 3d 22 26 68 65 6c 70 4d 65 6e 75 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 | label="&helpMenu.label;"........ |
d8f80 | 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 68 65 6c 70 4d 65 6e 75 2e 61 63 63 65 73 73 6b 65 | ...accesskey="&helpMenu.accesske |
d8fa0 | 79 3b 22 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 70 6f 70 75 70 20 69 64 3d 22 6d 65 6e 75 5f 48 | y;">.......<menupopup.id="menu_H |
d8fc0 | 65 6c 70 50 6f 70 75 70 22 20 6f 6e 70 6f 70 75 70 73 68 6f 77 69 6e 67 3d 22 62 75 69 6c 64 48 | elpPopup".onpopupshowing="buildH |
d8fe0 | 65 6c 70 4d 65 6e 75 28 29 3b 22 3e 0a 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 | elpMenu();">.........<menuitem.i |
d9000 | 64 3d 22 6d 65 6e 75 5f 6f 70 65 6e 48 65 6c 70 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | d="menu_openHelp"............... |
d9020 | 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 6f 70 65 6e 48 65 6c 70 4c 69 6e 6b 28 27 66 69 72 | ....oncommand="openHelpLink('fir |
d9040 | 65 66 6f 78 2d 68 65 6c 70 27 29 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c | efox-help')"...................l |
d9060 | 61 62 65 6c 3d 22 26 68 65 6c 70 43 6f 6e 74 65 6e 74 73 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 | abel="&helpContents.label;"..... |
d9080 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 68 65 6c 70 43 6f | ..............accesskey="&helpCo |
d90a0 | 6e 74 65 6e 74 73 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ntents.accesskey;".............. |
d90c0 | 20 20 20 20 20 6b 65 79 3d 22 6b 65 79 5f 6f 70 65 6e 48 65 6c 70 22 2f 3e 0a 20 20 20 20 20 20 | .....key="key_openHelp"/>....... |
d90e0 | 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 72 65 6c 65 61 73 65 4e 6f 74 65 73 22 0a 20 20 | ..<menuitem.id="releaseNotes"... |
d9100 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 68 65 6c 70 | ................accesskey="&help |
d9120 | 52 65 6c 65 61 73 65 4e 6f 74 65 73 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 | ReleaseNotes.accesskey;"........ |
d9140 | 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 68 65 6c 70 52 65 6c 65 61 73 65 4e 6f | ...........label="&helpReleaseNo |
d9160 | 74 65 73 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e | tes.label;"...................on |
d9180 | 63 6f 6d 6d 61 6e 64 3d 22 6f 70 65 6e 52 65 6c 65 61 73 65 4e 6f 74 65 73 28 29 22 0a 20 20 20 | command="openReleaseNotes()".... |
d91a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6c 69 63 6b 3d 22 63 68 65 63 6b 46 6f 72 | ...............onclick="checkFor |
d91c0 | 4d 69 64 64 6c 65 43 6c 69 63 6b 28 74 68 69 73 2c 20 65 76 65 6e 74 29 3b 22 2f 3e 0a 20 20 20 | MiddleClick(this,.event);"/>.... |
d91e0 | 20 20 20 20 20 3c 6d 65 6e 75 73 65 70 61 72 61 74 6f 72 20 69 64 3d 22 75 70 64 61 74 65 53 65 | .....<menuseparator.id="updateSe |
d9200 | 70 61 72 61 74 6f 72 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d | parator"/>.........<menuitem.id= |
d9220 | 22 63 68 65 63 6b 46 6f 72 55 70 64 61 74 65 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | "checkForUpdates"............... |
d9240 | 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 75 70 64 61 74 65 43 6d 64 2e 61 63 63 65 73 73 | ....accesskey="&updateCmd.access |
d9260 | 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 | key;"...................label="& |
d9280 | 75 70 64 61 74 65 43 6d 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | updateCmd.label;"............... |
d92a0 | 20 20 20 20 63 6c 61 73 73 3d 22 6d 65 6e 75 69 74 65 6d 2d 69 63 6f 6e 69 63 22 0a 20 20 20 20 | ....class="menuitem-iconic"..... |
d92c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 63 68 65 63 6b 46 6f | ..............oncommand="checkFo |
d92e0 | 72 55 70 64 61 74 65 73 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 73 65 70 61 | rUpdates();"/>.........<menusepa |
d9300 | 72 61 74 6f 72 20 69 64 3d 22 61 62 6f 75 74 53 65 70 61 72 61 74 6f 72 22 2f 3e 0a 20 20 20 20 | rator.id="aboutSeparator"/>..... |
d9320 | 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 61 62 6f 75 74 4e 61 6d 65 22 0a 20 20 20 | ....<menuitem.id="aboutName".... |
d9340 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 61 62 6f 75 74 | ...............accesskey="&about |
d9360 | 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | Cmd.accesskey;"................. |
d9380 | 20 20 6c 61 62 65 6c 3d 22 26 61 62 6f 75 74 43 6d 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 | ..label="&aboutCmd.label;"...... |
d93a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 6f 70 65 6e 41 62 6f 75 | .............oncommand="openAbou |
d93c0 | 74 44 69 61 6c 6f 67 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 6e 75 70 6f 70 75 70 3e | tDialog();"/>.......</menupopup> |
d93e0 | 0a 20 20 20 20 3c 2f 6d 65 6e 75 3e 0a 0a 20 20 20 20 3c 6b 65 79 73 65 74 20 69 64 3d 22 62 61 | .....</menu>......<keyset.id="ba |
d9400 | 73 65 4d 65 6e 75 4b 65 79 73 65 74 22 3e 0a 20 20 20 20 20 20 20 20 3c 6b 65 79 20 69 64 3d 22 | seMenuKeyset">.........<key.id=" |
d9420 | 6b 65 79 5f 6f 70 65 6e 48 65 6c 70 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d | key_openHelp".............oncomm |
d9440 | 61 6e 64 3d 22 6f 70 65 6e 48 65 6c 70 4c 69 6e 6b 28 27 66 69 72 65 66 6f 78 2d 66 31 27 29 3b | and="openHelpLink('firefox-f1'); |
d9460 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 6b 65 79 63 6f 64 65 3d 22 26 6f 70 65 6e 48 65 6c 70 | ".............keycode="&openHelp |
d9480 | 2e 63 6f 6d 6d 61 6e 64 6b 65 79 3b 22 2f 3e 0a 20 20 20 20 3c 2f 6b 65 79 73 65 74 3e 0a 0a 20 | .commandkey;"/>.....</keyset>... |
d94a0 | 20 20 20 3c 73 74 72 69 6e 67 62 75 6e 64 6c 65 73 65 74 20 69 64 3d 22 73 74 72 69 6e 67 62 75 | ...<stringbundleset.id="stringbu |
d94c0 | 6e 64 6c 65 73 65 74 22 3e 0a 20 20 20 20 20 20 20 20 3c 73 74 72 69 6e 67 62 75 6e 64 6c 65 20 | ndleset">.........<stringbundle. |
d94e0 | 69 64 3d 22 62 75 6e 64 6c 65 5f 62 72 6f 77 73 65 72 22 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a | id="bundle_browser".src="chrome: |
d9500 | 2f 2f 62 72 6f 77 73 65 72 2f 6c 6f 63 61 6c 65 2f 62 72 6f 77 73 65 72 2e 70 72 6f 70 65 72 74 | //browser/locale/browser.propert |
d9520 | 69 65 73 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 73 74 72 69 6e 67 62 75 6e 64 6c 65 20 69 64 3d | ies"/>.........<stringbundle.id= |
d9540 | 22 62 75 6e 64 6c 65 5f 62 72 6f 77 73 65 72 5f 72 65 67 69 6f 6e 22 20 73 72 63 3d 22 63 68 72 | "bundle_browser_region".src="chr |
d9560 | 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2d 72 65 67 69 6f 6e 2f 6c 6f 63 61 6c 65 2f 72 65 67 69 | ome://browser-region/locale/regi |
d9580 | 6f 6e 2e 70 72 6f 70 65 72 74 69 65 73 22 2f 3e 0a 20 20 20 20 3c 2f 73 74 72 69 6e 67 62 75 6e | on.properties"/>.....</stringbun |
d95a0 | 64 6c 65 73 65 74 3e 0a 3c 2f 6f 76 65 72 6c 61 79 3e 0a 50 4b 03 04 14 00 00 00 00 00 f2 4b 18 | dleset>.</overlay>.PK.........K. |
d95c0 | 3b f0 5f 9c df 25 c8 00 00 25 c8 00 00 20 00 00 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 | ;._..%...%.......content/browser |
d95e0 | 2f 6e 73 43 6f 6e 74 65 78 74 4d 65 6e 75 2e 6a 73 2f 2f 40 6c 69 6e 65 20 36 30 20 22 2f 62 75 | /nsContextMenu.js//@line.60."/bu |
d9600 | 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c | ilds/moz2_slave/linux_build/buil |
d9620 | 64 2f 62 72 6f 77 73 65 72 2f 62 61 73 65 2f 63 6f 6e 74 65 6e 74 2f 6e 73 43 6f 6e 74 65 78 74 | d/browser/base/content/nsContext |
d9640 | 4d 65 6e 75 2e 6a 73 22 0a 0a 66 75 6e 63 74 69 6f 6e 20 6e 73 43 6f 6e 74 65 78 74 4d 65 6e 75 | Menu.js"..function.nsContextMenu |
d9660 | 28 61 58 75 6c 4d 65 6e 75 2c 20 61 42 72 6f 77 73 65 72 29 20 7b 0a 20 20 74 68 69 73 2e 74 61 | (aXulMenu,.aBrowser).{...this.ta |
d9680 | 72 67 65 74 20 20 20 20 20 20 20 20 20 20 20 20 3d 20 6e 75 6c 6c 3b 0a 20 20 74 68 69 73 2e 62 | rget............=.null;...this.b |
d96a0 | 72 6f 77 73 65 72 20 20 20 20 20 20 20 20 20 20 20 3d 20 6e 75 6c 6c 3b 0a 20 20 74 68 69 73 2e | rowser...........=.null;...this. |
d96c0 | 6d 65 6e 75 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3d 20 6e 75 6c 6c 3b 0a 20 20 74 68 69 73 | menu..............=.null;...this |
d96e0 | 2e 69 73 46 72 61 6d 65 49 6d 61 67 65 20 20 20 20 20 20 3d 20 66 61 6c 73 65 3b 0a 20 20 74 68 | .isFrameImage......=.false;...th |
d9700 | 69 73 2e 6f 6e 54 65 78 74 49 6e 70 75 74 20 20 20 20 20 20 20 3d 20 66 61 6c 73 65 3b 0a 20 20 | is.onTextInput.......=.false;... |
d9720 | 74 68 69 73 2e 6f 6e 4b 65 79 77 6f 72 64 46 69 65 6c 64 20 20 20 20 3d 20 66 61 6c 73 65 3b 0a | this.onKeywordField....=.false;. |
d9740 | 20 20 74 68 69 73 2e 6f 6e 49 6d 61 67 65 20 20 20 20 20 20 20 20 20 20 20 3d 20 66 61 6c 73 65 | ..this.onImage...........=.false |
d9760 | 3b 0a 20 20 74 68 69 73 2e 6f 6e 4c 6f 61 64 65 64 49 6d 61 67 65 20 20 20 20 20 3d 20 66 61 6c | ;...this.onLoadedImage.....=.fal |
d9780 | 73 65 3b 0a 20 20 74 68 69 73 2e 6f 6e 43 6f 6d 70 6c 65 74 65 64 49 6d 61 67 65 20 20 3d 20 66 | se;...this.onCompletedImage..=.f |
d97a0 | 61 6c 73 65 3b 0a 20 20 74 68 69 73 2e 6f 6e 43 61 6e 76 61 73 20 20 20 20 20 20 20 20 20 20 3d | alse;...this.onCanvas..........= |
d97c0 | 20 66 61 6c 73 65 3b 0a 20 20 74 68 69 73 2e 6f 6e 56 69 64 65 6f 20 20 20 20 20 20 20 20 20 20 | .false;...this.onVideo.......... |
d97e0 | 20 3d 20 66 61 6c 73 65 3b 0a 20 20 74 68 69 73 2e 6f 6e 41 75 64 69 6f 20 20 20 20 20 20 20 20 | .=.false;...this.onAudio........ |
d9800 | 20 20 20 3d 20 66 61 6c 73 65 3b 0a 20 20 74 68 69 73 2e 6f 6e 4c 69 6e 6b 20 20 20 20 20 20 20 | ...=.false;...this.onLink....... |
d9820 | 20 20 20 20 20 3d 20 66 61 6c 73 65 3b 0a 20 20 74 68 69 73 2e 6f 6e 4d 61 69 6c 74 6f 4c 69 6e | .....=.false;...this.onMailtoLin |
d9840 | 6b 20 20 20 20 20 20 3d 20 66 61 6c 73 65 3b 0a 20 20 74 68 69 73 2e 6f 6e 53 61 76 65 61 62 6c | k......=.false;...this.onSaveabl |
d9860 | 65 4c 69 6e 6b 20 20 20 20 3d 20 66 61 6c 73 65 3b 0a 20 20 74 68 69 73 2e 6f 6e 4d 65 74 61 44 | eLink....=.false;...this.onMetaD |
d9880 | 61 74 61 49 74 65 6d 20 20 20 20 3d 20 66 61 6c 73 65 3b 0a 20 20 74 68 69 73 2e 6f 6e 4d 61 74 | ataItem....=.false;...this.onMat |
d98a0 | 68 4d 4c 20 20 20 20 20 20 20 20 20 20 3d 20 66 61 6c 73 65 3b 0a 20 20 74 68 69 73 2e 6c 69 6e | hML..........=.false;...this.lin |
d98c0 | 6b 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3d 20 66 61 6c 73 65 3b 0a 20 20 74 68 69 73 2e 6c | k..............=.false;...this.l |
d98e0 | 69 6e 6b 55 52 4c 20 20 20 20 20 20 20 20 20 20 20 3d 20 22 22 3b 0a 20 20 74 68 69 73 2e 6c 69 | inkURL...........=."";...this.li |
d9900 | 6e 6b 55 52 49 20 20 20 20 20 20 20 20 20 20 20 3d 20 6e 75 6c 6c 3b 0a 20 20 74 68 69 73 2e 6c | nkURI...........=.null;...this.l |
d9920 | 69 6e 6b 50 72 6f 74 6f 63 6f 6c 20 20 20 20 20 20 3d 20 6e 75 6c 6c 3b 0a 20 20 74 68 69 73 2e | inkProtocol......=.null;...this. |
d9940 | 69 6e 46 72 61 6d 65 20 20 20 20 20 20 20 20 20 20 20 3d 20 66 61 6c 73 65 3b 0a 20 20 74 68 69 | inFrame...........=.false;...thi |
d9960 | 73 2e 68 61 73 42 47 49 6d 61 67 65 20 20 20 20 20 20 20 20 3d 20 66 61 6c 73 65 3b 0a 20 20 74 | s.hasBGImage........=.false;...t |
d9980 | 68 69 73 2e 69 73 54 65 78 74 53 65 6c 65 63 74 65 64 20 20 20 20 3d 20 66 61 6c 73 65 3b 0a 20 | his.isTextSelected....=.false;.. |
d99a0 | 20 74 68 69 73 2e 69 73 43 6f 6e 74 65 6e 74 53 65 6c 65 63 74 65 64 20 3d 20 66 61 6c 73 65 3b | .this.isContentSelected.=.false; |
d99c0 | 0a 20 20 74 68 69 73 2e 73 68 6f 75 6c 64 44 69 73 70 6c 61 79 20 20 20 20 20 3d 20 74 72 75 65 | ...this.shouldDisplay.....=.true |
d99e0 | 3b 0a 20 20 74 68 69 73 2e 69 73 44 65 73 69 67 6e 4d 6f 64 65 20 20 20 20 20 20 3d 20 66 61 6c | ;...this.isDesignMode......=.fal |
d9a00 | 73 65 3b 0a 20 20 74 68 69 73 2e 70 6f 73 73 69 62 6c 65 53 70 65 6c 6c 43 68 65 63 6b 69 6e 67 | se;...this.possibleSpellChecking |
d9a20 | 20 3d 20 66 61 6c 73 65 3b 0a 20 20 74 68 69 73 2e 65 6c 6c 69 70 73 69 73 20 3d 20 22 5c 75 32 | .=.false;...this.ellipsis.=."\u2 |
d9a40 | 30 32 36 22 3b 0a 20 20 74 72 79 20 7b 0a 20 20 20 20 74 68 69 73 2e 65 6c 6c 69 70 73 69 73 20 | 026";...try.{.....this.ellipsis. |
d9a60 | 3d 20 67 50 72 65 66 53 65 72 76 69 63 65 2e 67 65 74 43 6f 6d 70 6c 65 78 56 61 6c 75 65 28 22 | =.gPrefService.getComplexValue(" |
d9a80 | 69 6e 74 6c 2e 65 6c 6c 69 70 73 69 73 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | intl.ellipsis",................. |
d9aa0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
d9ac0 | 20 43 69 2e 6e 73 49 50 72 65 66 4c 6f 63 61 6c 69 7a 65 64 53 74 72 69 6e 67 29 2e 64 61 74 61 | .Ci.nsIPrefLocalizedString).data |
d9ae0 | 3b 0a 20 20 7d 20 63 61 74 63 68 20 28 65 29 20 7b 20 7d 0a 0a 20 20 2f 2f 20 49 6e 69 74 69 61 | ;...}.catch.(e).{.}....//.Initia |
d9b00 | 6c 69 7a 65 20 6e 65 77 20 6d 65 6e 75 2e 0a 20 20 74 68 69 73 2e 69 6e 69 74 4d 65 6e 75 28 61 | lize.new.menu....this.initMenu(a |
d9b20 | 58 75 6c 4d 65 6e 75 2c 20 61 42 72 6f 77 73 65 72 29 3b 0a 7d 0a 0a 2f 2f 20 50 72 6f 74 6f 74 | XulMenu,.aBrowser);.}..//.Protot |
d9b40 | 79 70 65 20 66 6f 72 20 6e 73 43 6f 6e 74 65 78 74 4d 65 6e 75 20 22 63 6c 61 73 73 2e 22 0a 6e | ype.for.nsContextMenu."class.".n |
d9b60 | 73 43 6f 6e 74 65 78 74 4d 65 6e 75 2e 70 72 6f 74 6f 74 79 70 65 20 3d 20 7b 0a 20 20 2f 2f 20 | sContextMenu.prototype.=.{...//. |
d9b80 | 6f 6e 44 65 73 74 72 6f 79 20 69 73 20 61 20 6e 6f 2d 6f 70 20 61 74 20 74 68 69 73 20 70 6f 69 | onDestroy.is.a.no-op.at.this.poi |
d9ba0 | 6e 74 2e 0a 20 20 6f 6e 44 65 73 74 72 6f 79 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 20 7b 0a 20 | nt....onDestroy:.function.().{.. |
d9bc0 | 20 7d 2c 0a 0a 20 20 2f 2f 20 49 6e 69 74 69 61 6c 69 7a 65 20 63 6f 6e 74 65 78 74 20 6d 65 6e | .},....//.Initialize.context.men |
d9be0 | 75 2e 0a 20 20 69 6e 69 74 4d 65 6e 75 3a 20 66 75 6e 63 74 69 6f 6e 20 43 4d 5f 69 6e 69 74 4d | u....initMenu:.function.CM_initM |
d9c00 | 65 6e 75 28 61 50 6f 70 75 70 2c 20 61 42 72 6f 77 73 65 72 29 20 7b 0a 20 20 20 20 74 68 69 73 | enu(aPopup,.aBrowser).{.....this |
d9c20 | 2e 6d 65 6e 75 20 3d 20 61 50 6f 70 75 70 3b 0a 20 20 20 20 74 68 69 73 2e 62 72 6f 77 73 65 72 | .menu.=.aPopup;.....this.browser |
d9c40 | 20 3d 20 61 42 72 6f 77 73 65 72 3b 0a 0a 20 20 20 20 74 68 69 73 2e 69 73 46 72 61 6d 65 49 6d | .=.aBrowser;......this.isFrameIm |
d9c60 | 61 67 65 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 69 | age.=.document.getElementById("i |
d9c80 | 73 46 72 61 6d 65 49 6d 61 67 65 22 29 3b 0a 0a 20 20 20 20 2f 2f 20 47 65 74 20 63 6f 6e 74 65 | sFrameImage");......//.Get.conte |
d9ca0 | 78 74 75 61 6c 20 69 6e 66 6f 2e 0a 20 20 20 20 74 68 69 73 2e 73 65 74 54 61 72 67 65 74 28 64 | xtual.info......this.setTarget(d |
d9cc0 | 6f 63 75 6d 65 6e 74 2e 70 6f 70 75 70 4e 6f 64 65 2c 20 64 6f 63 75 6d 65 6e 74 2e 70 6f 70 75 | ocument.popupNode,.document.popu |
d9ce0 | 70 52 61 6e 67 65 50 61 72 65 6e 74 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | pRangeParent,................... |
d9d00 | 20 64 6f 63 75 6d 65 6e 74 2e 70 6f 70 75 70 52 61 6e 67 65 4f 66 66 73 65 74 29 3b 0a 0a 20 20 | .document.popupRangeOffset);.... |
d9d20 | 20 20 74 68 69 73 2e 69 73 54 65 78 74 53 65 6c 65 63 74 65 64 20 3d 20 74 68 69 73 2e 69 73 54 | ..this.isTextSelected.=.this.isT |
d9d40 | 65 78 74 53 65 6c 65 63 74 69 6f 6e 28 29 3b 0a 20 20 20 20 74 68 69 73 2e 69 73 43 6f 6e 74 65 | extSelection();.....this.isConte |
d9d60 | 6e 74 53 65 6c 65 63 74 65 64 20 3d 20 74 68 69 73 2e 69 73 43 6f 6e 74 65 6e 74 53 65 6c 65 63 | ntSelected.=.this.isContentSelec |
d9d80 | 74 69 6f 6e 28 29 3b 0a 0a 20 20 20 20 2f 2f 20 49 6e 69 74 69 61 6c 69 7a 65 20 28 64 69 73 61 | tion();......//.Initialize.(disa |
d9da0 | 62 6c 65 2f 72 65 6d 6f 76 65 29 20 6d 65 6e 75 20 69 74 65 6d 73 2e 0a 20 20 20 20 74 68 69 73 | ble/remove).menu.items......this |
d9dc0 | 2e 69 6e 69 74 49 74 65 6d 73 28 29 3b 0a 20 20 7d 2c 0a 0a 20 20 69 6e 69 74 49 74 65 6d 73 3a | .initItems();...},....initItems: |
d9de0 | 20 66 75 6e 63 74 69 6f 6e 20 43 4d 5f 69 6e 69 74 49 74 65 6d 73 28 29 20 7b 0a 20 20 20 20 74 | .function.CM_initItems().{.....t |
d9e00 | 68 69 73 2e 69 6e 69 74 4f 70 65 6e 49 74 65 6d 73 28 29 3b 0a 20 20 20 20 74 68 69 73 2e 69 6e | his.initOpenItems();.....this.in |
d9e20 | 69 74 4e 61 76 69 67 61 74 69 6f 6e 49 74 65 6d 73 28 29 3b 0a 20 20 20 20 74 68 69 73 2e 69 6e | itNavigationItems();.....this.in |
d9e40 | 69 74 56 69 65 77 49 74 65 6d 73 28 29 3b 0a 20 20 20 20 74 68 69 73 2e 69 6e 69 74 4d 69 73 63 | itViewItems();.....this.initMisc |
d9e60 | 49 74 65 6d 73 28 29 3b 0a 20 20 20 20 74 68 69 73 2e 69 6e 69 74 53 70 65 6c 6c 69 6e 67 49 74 | Items();.....this.initSpellingIt |
d9e80 | 65 6d 73 28 29 3b 0a 20 20 20 20 74 68 69 73 2e 69 6e 69 74 53 61 76 65 49 74 65 6d 73 28 29 3b | ems();.....this.initSaveItems(); |
d9ea0 | 0a 20 20 20 20 74 68 69 73 2e 69 6e 69 74 43 6c 69 70 62 6f 61 72 64 49 74 65 6d 73 28 29 3b 0a | .....this.initClipboardItems();. |
d9ec0 | 20 20 20 20 74 68 69 73 2e 69 6e 69 74 4d 65 74 61 64 61 74 61 49 74 65 6d 73 28 29 3b 0a 20 20 | ....this.initMetadataItems();... |
d9ee0 | 20 20 74 68 69 73 2e 69 6e 69 74 4d 65 64 69 61 50 6c 61 79 65 72 49 74 65 6d 73 28 29 3b 0a 20 | ..this.initMediaPlayerItems();.. |
d9f00 | 20 7d 2c 0a 0a 20 20 69 6e 69 74 4f 70 65 6e 49 74 65 6d 73 3a 20 66 75 6e 63 74 69 6f 6e 20 43 | .},....initOpenItems:.function.C |
d9f20 | 4d 5f 69 6e 69 74 4f 70 65 6e 49 74 65 6d 73 28 29 20 7b 0a 20 20 20 20 76 61 72 20 69 73 4d 61 | M_initOpenItems().{.....var.isMa |
d9f40 | 69 6c 74 6f 49 6e 74 65 72 6e 61 6c 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 69 66 20 28 74 68 | iltoInternal.=.false;.....if.(th |
d9f60 | 69 73 2e 6f 6e 4d 61 69 6c 74 6f 4c 69 6e 6b 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 6d 61 69 | is.onMailtoLink).{.......var.mai |
d9f80 | 6c 74 6f 48 61 6e 64 6c 65 72 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 75 72 | ltoHandler.=.Cc["@mozilla.org/ur |
d9fa0 | 69 6c 6f 61 64 65 72 2f 65 78 74 65 72 6e 61 6c 2d 70 72 6f 74 6f 63 6f 6c 2d 73 65 72 76 69 63 | iloader/external-protocol-servic |
d9fc0 | 65 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | e;1"]........................... |
d9fe0 | 20 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 45 78 74 65 72 6e 61 6c 50 72 6f 74 6f 63 | .getService(Ci.nsIExternalProtoc |
da000 | 6f 6c 53 65 72 76 69 63 65 29 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | olService)...................... |
da020 | 20 20 20 20 20 20 67 65 74 50 72 6f 74 6f 63 6f 6c 48 61 6e 64 6c 65 72 49 6e 66 6f 28 22 6d 61 | ......getProtocolHandlerInfo("ma |
da040 | 69 6c 74 6f 22 29 3b 0a 20 20 20 20 20 20 69 73 4d 61 69 6c 74 6f 49 6e 74 65 72 6e 61 6c 20 3d | ilto");.......isMailtoInternal.= |
da060 | 20 28 21 6d 61 69 6c 74 6f 48 61 6e 64 6c 65 72 2e 61 6c 77 61 79 73 41 73 6b 42 65 66 6f 72 65 | .(!mailtoHandler.alwaysAskBefore |
da080 | 48 61 6e 64 6c 69 6e 67 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | Handling.&&..................... |
da0a0 | 20 20 20 20 20 20 6d 61 69 6c 74 6f 48 61 6e 64 6c 65 72 2e 70 72 65 66 65 72 72 65 64 41 63 74 | ......mailtoHandler.preferredAct |
da0c0 | 69 6f 6e 20 3d 3d 20 43 69 2e 6e 73 49 48 61 6e 64 6c 65 72 49 6e 66 6f 2e 75 73 65 48 65 6c 70 | ion.==.Ci.nsIHandlerInfo.useHelp |
da0e0 | 65 72 41 70 70 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | erApp.&&........................ |
da100 | 20 20 20 28 6d 61 69 6c 74 6f 48 61 6e 64 6c 65 72 2e 70 72 65 66 65 72 72 65 64 41 70 70 6c 69 | ...(mailtoHandler.preferredAppli |
da120 | 63 61 74 69 6f 6e 48 61 6e 64 6c 65 72 20 69 6e 73 74 61 6e 63 65 6f 66 20 43 69 2e 6e 73 49 57 | cationHandler.instanceof.Ci.nsIW |
da140 | 65 62 48 61 6e 64 6c 65 72 41 70 70 29 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 76 61 72 20 73 68 | ebHandlerApp));.....}.....var.sh |
da160 | 6f 75 6c 64 53 68 6f 77 20 3d 20 74 68 69 73 2e 6f 6e 53 61 76 65 61 62 6c 65 4c 69 6e 6b 20 7c | ouldShow.=.this.onSaveableLink.| |
da180 | 7c 20 69 73 4d 61 69 6c 74 6f 49 6e 74 65 72 6e 61 6c 3b 0a 20 20 20 20 74 68 69 73 2e 73 68 6f | |.isMailtoInternal;.....this.sho |
da1a0 | 77 49 74 65 6d 28 22 63 6f 6e 74 65 78 74 2d 6f 70 65 6e 6c 69 6e 6b 22 2c 20 73 68 6f 75 6c 64 | wItem("context-openlink",.should |
da1c0 | 53 68 6f 77 29 3b 0a 20 20 20 20 74 68 69 73 2e 73 68 6f 77 49 74 65 6d 28 22 63 6f 6e 74 65 78 | Show);.....this.showItem("contex |
da1e0 | 74 2d 6f 70 65 6e 6c 69 6e 6b 69 6e 74 61 62 22 2c 20 73 68 6f 75 6c 64 53 68 6f 77 29 3b 0a 20 | t-openlinkintab",.shouldShow);.. |
da200 | 20 20 20 74 68 69 73 2e 73 68 6f 77 49 74 65 6d 28 22 63 6f 6e 74 65 78 74 2d 73 65 70 2d 6f 70 | ...this.showItem("context-sep-op |
da220 | 65 6e 22 2c 20 73 68 6f 75 6c 64 53 68 6f 77 29 3b 0a 20 20 7d 2c 0a 0a 20 20 69 6e 69 74 4e 61 | en",.shouldShow);...},....initNa |
da240 | 76 69 67 61 74 69 6f 6e 49 74 65 6d 73 3a 20 66 75 6e 63 74 69 6f 6e 20 43 4d 5f 69 6e 69 74 4e | vigationItems:.function.CM_initN |
da260 | 61 76 69 67 61 74 69 6f 6e 49 74 65 6d 73 28 29 20 7b 0a 20 20 20 20 76 61 72 20 73 68 6f 75 6c | avigationItems().{.....var.shoul |
da280 | 64 53 68 6f 77 20 3d 20 21 28 74 68 69 73 2e 69 73 43 6f 6e 74 65 6e 74 53 65 6c 65 63 74 65 64 | dShow.=.!(this.isContentSelected |
da2a0 | 20 7c 7c 20 74 68 69 73 2e 6f 6e 4c 69 6e 6b 20 7c 7c 20 74 68 69 73 2e 6f 6e 49 6d 61 67 65 20 | .||.this.onLink.||.this.onImage. |
da2c0 | 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6f | ||........................this.o |
da2e0 | 6e 43 61 6e 76 61 73 20 7c 7c 20 74 68 69 73 2e 6f 6e 56 69 64 65 6f 20 7c 7c 20 74 68 69 73 2e | nCanvas.||.this.onVideo.||.this. |
da300 | 6f 6e 41 75 64 69 6f 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | onAudio.||...................... |
da320 | 20 20 74 68 69 73 2e 6f 6e 54 65 78 74 49 6e 70 75 74 29 3b 0a 20 20 20 20 74 68 69 73 2e 73 68 | ..this.onTextInput);.....this.sh |
da340 | 6f 77 49 74 65 6d 28 22 63 6f 6e 74 65 78 74 2d 62 61 63 6b 22 2c 20 73 68 6f 75 6c 64 53 68 6f | owItem("context-back",.shouldSho |
da360 | 77 29 3b 0a 20 20 20 20 74 68 69 73 2e 73 68 6f 77 49 74 65 6d 28 22 63 6f 6e 74 65 78 74 2d 66 | w);.....this.showItem("context-f |
da380 | 6f 72 77 61 72 64 22 2c 20 73 68 6f 75 6c 64 53 68 6f 77 29 3b 0a 20 20 20 20 74 68 69 73 2e 73 | orward",.shouldShow);.....this.s |
da3a0 | 68 6f 77 49 74 65 6d 28 22 63 6f 6e 74 65 78 74 2d 72 65 6c 6f 61 64 22 2c 20 73 68 6f 75 6c 64 | howItem("context-reload",.should |
da3c0 | 53 68 6f 77 29 3b 0a 20 20 20 20 74 68 69 73 2e 73 68 6f 77 49 74 65 6d 28 22 63 6f 6e 74 65 78 | Show);.....this.showItem("contex |
da3e0 | 74 2d 73 74 6f 70 22 2c 20 73 68 6f 75 6c 64 53 68 6f 77 29 3b 0a 20 20 20 20 74 68 69 73 2e 73 | t-stop",.shouldShow);.....this.s |
da400 | 68 6f 77 49 74 65 6d 28 22 63 6f 6e 74 65 78 74 2d 73 65 70 2d 73 74 6f 70 22 2c 20 73 68 6f 75 | howItem("context-sep-stop",.shou |
da420 | 6c 64 53 68 6f 77 29 3b 0a 0a 20 20 20 20 2f 2f 20 58 58 58 3a 20 53 74 6f 70 20 69 73 20 64 65 | ldShow);......//.XXX:.Stop.is.de |
da440 | 74 65 72 6d 69 6e 65 64 20 69 6e 20 62 72 6f 77 73 65 72 2e 6a 73 3b 20 74 68 65 20 63 61 6e 53 | termined.in.browser.js;.the.canS |
da460 | 74 6f 70 20 62 72 6f 61 64 63 61 73 74 65 72 20 69 73 20 62 72 6f 6b 65 6e 0a 20 20 20 20 2f 2f | top.broadcaster.is.broken.....// |
da480 | 74 68 69 73 2e 73 65 74 49 74 65 6d 41 74 74 72 46 72 6f 6d 4e 6f 64 65 28 20 22 63 6f 6e 74 65 | this.setItemAttrFromNode(."conte |
da4a0 | 78 74 2d 73 74 6f 70 22 2c 20 22 64 69 73 61 62 6c 65 64 22 2c 20 22 63 61 6e 53 74 6f 70 22 20 | xt-stop",."disabled",."canStop". |
da4c0 | 29 3b 0a 20 20 7d 2c 0a 0a 20 20 69 6e 69 74 53 61 76 65 49 74 65 6d 73 3a 20 66 75 6e 63 74 69 | );...},....initSaveItems:.functi |
da4e0 | 6f 6e 20 43 4d 5f 69 6e 69 74 53 61 76 65 49 74 65 6d 73 28 29 20 7b 0a 20 20 20 20 76 61 72 20 | on.CM_initSaveItems().{.....var. |
da500 | 73 68 6f 75 6c 64 53 68 6f 77 20 3d 20 21 28 74 68 69 73 2e 6f 6e 54 65 78 74 49 6e 70 75 74 20 | shouldShow.=.!(this.onTextInput. |
da520 | 7c 7c 20 74 68 69 73 2e 6f 6e 4c 69 6e 6b 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ||.this.onLink.||............... |
da540 | 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 69 73 43 6f 6e 74 65 6e 74 53 65 6c 65 63 74 65 64 20 | .........this.isContentSelected. |
da560 | 7c 7c 20 74 68 69 73 2e 6f 6e 49 6d 61 67 65 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ||.this.onImage.||.............. |
da580 | 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6f 6e 43 61 6e 76 61 73 20 7c 7c 20 74 68 69 73 2e | ..........this.onCanvas.||.this. |
da5a0 | 6f 6e 56 69 64 65 6f 20 7c 7c 20 74 68 69 73 2e 6f 6e 41 75 64 69 6f 29 3b 0a 20 20 20 20 74 68 | onVideo.||.this.onAudio);.....th |
da5c0 | 69 73 2e 73 68 6f 77 49 74 65 6d 28 22 63 6f 6e 74 65 78 74 2d 73 61 76 65 70 61 67 65 22 2c 20 | is.showItem("context-savepage",. |
da5e0 | 73 68 6f 75 6c 64 53 68 6f 77 29 3b 0a 20 20 20 20 74 68 69 73 2e 73 68 6f 77 49 74 65 6d 28 22 | shouldShow);.....this.showItem(" |
da600 | 63 6f 6e 74 65 78 74 2d 73 65 6e 64 70 61 67 65 22 2c 20 73 68 6f 75 6c 64 53 68 6f 77 29 3b 0a | context-sendpage",.shouldShow);. |
da620 | 0a 20 20 20 20 2f 2f 20 53 61 76 65 2b 53 65 6e 64 20 6c 69 6e 6b 20 64 65 70 65 6e 64 73 20 6f | .....//.Save+Send.link.depends.o |
da640 | 6e 20 77 68 65 74 68 65 72 20 77 65 27 72 65 20 69 6e 20 61 20 6c 69 6e 6b 2e 0a 20 20 20 20 74 | n.whether.we're.in.a.link......t |
da660 | 68 69 73 2e 73 68 6f 77 49 74 65 6d 28 22 63 6f 6e 74 65 78 74 2d 73 61 76 65 6c 69 6e 6b 22 2c | his.showItem("context-savelink", |
da680 | 20 74 68 69 73 2e 6f 6e 53 61 76 65 61 62 6c 65 4c 69 6e 6b 29 3b 0a 20 20 20 20 74 68 69 73 2e | .this.onSaveableLink);.....this. |
da6a0 | 73 68 6f 77 49 74 65 6d 28 22 63 6f 6e 74 65 78 74 2d 73 65 6e 64 6c 69 6e 6b 22 2c 20 74 68 69 | showItem("context-sendlink",.thi |
da6c0 | 73 2e 6f 6e 53 61 76 65 61 62 6c 65 4c 69 6e 6b 29 3b 0a 0a 20 20 20 20 2f 2f 20 53 61 76 65 20 | s.onSaveableLink);......//.Save. |
da6e0 | 69 6d 61 67 65 20 64 65 70 65 6e 64 73 20 6f 6e 20 68 61 76 69 6e 67 20 6c 6f 61 64 65 64 20 69 | image.depends.on.having.loaded.i |
da700 | 74 73 20 63 6f 6e 74 65 6e 74 2c 20 76 69 64 65 6f 20 61 6e 64 20 61 75 64 69 6f 20 64 6f 6e 27 | ts.content,.video.and.audio.don' |
da720 | 74 2e 0a 20 20 20 20 74 68 69 73 2e 73 68 6f 77 49 74 65 6d 28 22 63 6f 6e 74 65 78 74 2d 73 61 | t......this.showItem("context-sa |
da740 | 76 65 69 6d 61 67 65 22 2c 20 74 68 69 73 2e 6f 6e 4c 6f 61 64 65 64 49 6d 61 67 65 20 7c 7c 20 | veimage",.this.onLoadedImage.||. |
da760 | 74 68 69 73 2e 6f 6e 43 61 6e 76 61 73 29 3b 0a 20 20 20 20 74 68 69 73 2e 73 68 6f 77 49 74 65 | this.onCanvas);.....this.showIte |
da780 | 6d 28 22 63 6f 6e 74 65 78 74 2d 73 61 76 65 76 69 64 65 6f 22 2c 20 74 68 69 73 2e 6f 6e 56 69 | m("context-savevideo",.this.onVi |
da7a0 | 64 65 6f 29 3b 0a 20 20 20 20 74 68 69 73 2e 73 68 6f 77 49 74 65 6d 28 22 63 6f 6e 74 65 78 74 | deo);.....this.showItem("context |
da7c0 | 2d 73 61 76 65 61 75 64 69 6f 22 2c 20 74 68 69 73 2e 6f 6e 41 75 64 69 6f 29 3b 0a 20 20 20 20 | -saveaudio",.this.onAudio);..... |
da7e0 | 74 68 69 73 2e 73 65 74 49 74 65 6d 41 74 74 72 28 22 63 6f 6e 74 65 78 74 2d 73 61 76 65 76 69 | this.setItemAttr("context-savevi |
da800 | 64 65 6f 22 2c 20 22 64 69 73 61 62 6c 65 64 22 2c 20 21 74 68 69 73 2e 6d 65 64 69 61 55 52 4c | deo",."disabled",.!this.mediaURL |
da820 | 29 3b 0a 20 20 20 20 74 68 69 73 2e 73 65 74 49 74 65 6d 41 74 74 72 28 22 63 6f 6e 74 65 78 74 | );.....this.setItemAttr("context |
da840 | 2d 73 61 76 65 61 75 64 69 6f 22 2c 20 22 64 69 73 61 62 6c 65 64 22 2c 20 21 74 68 69 73 2e 6d | -saveaudio",."disabled",.!this.m |
da860 | 65 64 69 61 55 52 4c 29 3b 0a 20 20 20 20 2f 2f 20 53 65 6e 64 20 6d 65 64 69 61 20 55 52 4c 20 | ediaURL);.....//.Send.media.URL. |
da880 | 28 62 75 74 20 6e 6f 74 20 66 6f 72 20 63 61 6e 76 61 73 2c 20 73 69 6e 63 65 20 69 74 27 73 20 | (but.not.for.canvas,.since.it's. |
da8a0 | 61 20 62 69 67 20 64 61 74 61 3a 20 55 52 4c 29 0a 20 20 20 20 74 68 69 73 2e 73 68 6f 77 49 74 | a.big.data:.URL).....this.showIt |
da8c0 | 65 6d 28 22 63 6f 6e 74 65 78 74 2d 73 65 6e 64 69 6d 61 67 65 22 2c 20 74 68 69 73 2e 6f 6e 49 | em("context-sendimage",.this.onI |
da8e0 | 6d 61 67 65 29 3b 0a 20 20 20 20 74 68 69 73 2e 73 68 6f 77 49 74 65 6d 28 22 63 6f 6e 74 65 78 | mage);.....this.showItem("contex |
da900 | 74 2d 73 65 6e 64 76 69 64 65 6f 22 2c 20 74 68 69 73 2e 6f 6e 56 69 64 65 6f 29 3b 0a 20 20 20 | t-sendvideo",.this.onVideo);.... |
da920 | 20 74 68 69 73 2e 73 68 6f 77 49 74 65 6d 28 22 63 6f 6e 74 65 78 74 2d 73 65 6e 64 61 75 64 69 | .this.showItem("context-sendaudi |
da940 | 6f 22 2c 20 74 68 69 73 2e 6f 6e 41 75 64 69 6f 29 3b 0a 20 20 20 20 74 68 69 73 2e 73 65 74 49 | o",.this.onAudio);.....this.setI |
da960 | 74 65 6d 41 74 74 72 28 22 63 6f 6e 74 65 78 74 2d 73 65 6e 64 76 69 64 65 6f 22 2c 20 22 64 69 | temAttr("context-sendvideo",."di |
da980 | 73 61 62 6c 65 64 22 2c 20 21 74 68 69 73 2e 6d 65 64 69 61 55 52 4c 29 3b 0a 20 20 20 20 74 68 | sabled",.!this.mediaURL);.....th |
da9a0 | 69 73 2e 73 65 74 49 74 65 6d 41 74 74 72 28 22 63 6f 6e 74 65 78 74 2d 73 65 6e 64 61 75 64 69 | is.setItemAttr("context-sendaudi |
da9c0 | 6f 22 2c 20 22 64 69 73 61 62 6c 65 64 22 2c 20 21 74 68 69 73 2e 6d 65 64 69 61 55 52 4c 29 3b | o",."disabled",.!this.mediaURL); |
da9e0 | 0a 20 20 7d 2c 0a 0a 20 20 69 6e 69 74 56 69 65 77 49 74 65 6d 73 3a 20 66 75 6e 63 74 69 6f 6e | ...},....initViewItems:.function |
daa00 | 20 43 4d 5f 69 6e 69 74 56 69 65 77 49 74 65 6d 73 28 29 20 7b 0a 20 20 20 20 2f 2f 20 56 69 65 | .CM_initViewItems().{.....//.Vie |
daa20 | 77 20 73 6f 75 72 63 65 20 69 73 20 61 6c 77 61 79 73 20 4f 4b 2c 20 75 6e 6c 65 73 73 20 69 6e | w.source.is.always.OK,.unless.in |
daa40 | 20 64 69 72 65 63 74 6f 72 79 20 6c 69 73 74 69 6e 67 2e 0a 20 20 20 20 74 68 69 73 2e 73 68 6f | .directory.listing......this.sho |
daa60 | 77 49 74 65 6d 28 22 63 6f 6e 74 65 78 74 2d 76 69 65 77 70 61 72 74 69 61 6c 73 6f 75 72 63 65 | wItem("context-viewpartialsource |
daa80 | 2d 73 65 6c 65 63 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 | -selection",...................t |
daaa0 | 68 69 73 2e 69 73 43 6f 6e 74 65 6e 74 53 65 6c 65 63 74 65 64 29 3b 0a 20 20 20 20 74 68 69 73 | his.isContentSelected);.....this |
daac0 | 2e 73 68 6f 77 49 74 65 6d 28 22 63 6f 6e 74 65 78 74 2d 76 69 65 77 70 61 72 74 69 61 6c 73 6f | .showItem("context-viewpartialso |
daae0 | 75 72 63 65 2d 6d 61 74 68 6d 6c 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | urce-mathml",................... |
dab00 | 74 68 69 73 2e 6f 6e 4d 61 74 68 4d 4c 20 26 26 20 21 74 68 69 73 2e 69 73 43 6f 6e 74 65 6e 74 | this.onMathML.&&.!this.isContent |
dab20 | 53 65 6c 65 63 74 65 64 29 3b 0a 0a 20 20 20 20 76 61 72 20 73 68 6f 75 6c 64 53 68 6f 77 20 3d | Selected);......var.shouldShow.= |
dab40 | 20 21 28 74 68 69 73 2e 69 73 43 6f 6e 74 65 6e 74 53 65 6c 65 63 74 65 64 20 7c 7c 0a 20 20 20 | .!(this.isContentSelected.||.... |
dab60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6f 6e 49 6d 61 67 65 | ....................this.onImage |
dab80 | 20 7c 7c 20 74 68 69 73 2e 6f 6e 43 61 6e 76 61 73 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 | .||.this.onCanvas.||............ |
daba0 | 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6f 6e 56 69 64 65 6f 20 7c 7c 20 74 68 69 73 | ............this.onVideo.||.this |
dabc0 | 2e 6f 6e 41 75 64 69 6f 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .onAudio.||..................... |
dabe0 | 20 20 20 74 68 69 73 2e 6f 6e 4c 69 6e 6b 20 7c 7c 20 74 68 69 73 2e 6f 6e 54 65 78 74 49 6e 70 | ...this.onLink.||.this.onTextInp |
dac00 | 75 74 29 3b 0a 20 20 20 20 74 68 69 73 2e 73 68 6f 77 49 74 65 6d 28 22 63 6f 6e 74 65 78 74 2d | ut);.....this.showItem("context- |
dac20 | 76 69 65 77 73 6f 75 72 63 65 22 2c 20 73 68 6f 75 6c 64 53 68 6f 77 29 3b 0a 20 20 20 20 74 68 | viewsource",.shouldShow);.....th |
dac40 | 69 73 2e 73 68 6f 77 49 74 65 6d 28 22 63 6f 6e 74 65 78 74 2d 76 69 65 77 69 6e 66 6f 22 2c 20 | is.showItem("context-viewinfo",. |
dac60 | 73 68 6f 75 6c 64 53 68 6f 77 29 3b 0a 0a 20 20 20 20 74 68 69 73 2e 73 68 6f 77 49 74 65 6d 28 | shouldShow);......this.showItem( |
dac80 | 22 63 6f 6e 74 65 78 74 2d 73 65 70 2d 70 72 6f 70 65 72 74 69 65 73 22 2c 0a 20 20 20 20 20 20 | "context-sep-properties",....... |
daca0 | 20 20 20 20 20 20 20 20 20 20 20 20 21 28 74 68 69 73 2e 69 73 43 6f 6e 74 65 6e 74 53 65 6c 65 | ............!(this.isContentSele |
dacc0 | 63 74 65 64 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 | cted.||.....................this |
dace0 | 2e 6f 6e 54 65 78 74 49 6e 70 75 74 20 7c 7c 20 74 68 69 73 2e 6f 6e 43 61 6e 76 61 73 20 7c 7c | .onTextInput.||.this.onCanvas.|| |
dad00 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6f 6e 56 69 64 65 | .....................this.onVide |
dad20 | 6f 20 7c 7c 20 74 68 69 73 2e 6f 6e 41 75 64 69 6f 29 29 3b 0a 0a 20 20 20 20 2f 2f 20 53 65 74 | o.||.this.onAudio));......//.Set |
dad40 | 20 61 73 20 44 65 73 6b 74 6f 70 20 62 61 63 6b 67 72 6f 75 6e 64 20 64 65 70 65 6e 64 73 20 6f | .as.Desktop.background.depends.o |
dad60 | 6e 20 77 68 65 74 68 65 72 20 61 6e 20 69 6d 61 67 65 20 77 61 73 20 63 6c 69 63 6b 65 64 20 6f | n.whether.an.image.was.clicked.o |
dad80 | 6e 2c 0a 20 20 20 20 2f 2f 20 61 6e 64 20 6f 6e 6c 79 20 77 6f 72 6b 73 20 69 66 20 77 65 20 68 | n,.....//.and.only.works.if.we.h |
dada0 | 61 76 65 20 61 20 73 68 65 6c 6c 20 73 65 72 76 69 63 65 2e 0a 20 20 20 20 76 61 72 20 68 61 76 | ave.a.shell.service......var.hav |
dadc0 | 65 53 65 74 44 65 73 6b 74 6f 70 42 61 63 6b 67 72 6f 75 6e 64 20 3d 20 66 61 6c 73 65 3b 0a 2f | eSetDesktopBackground.=.false;./ |
dade0 | 2f 40 6c 69 6e 65 20 32 31 34 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c | /@line.214."/builds/moz2_slave/l |
dae00 | 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 62 61 73 65 2f 63 6f | inux_build/build/browser/base/co |
dae20 | 6e 74 65 6e 74 2f 6e 73 43 6f 6e 74 65 78 74 4d 65 6e 75 2e 6a 73 22 0a 20 20 20 20 2f 2f 20 4f | ntent/nsContextMenu.js".....//.O |
dae40 | 6e 6c 79 20 65 6e 61 62 6c 65 20 53 65 74 20 61 73 20 44 65 73 6b 74 6f 70 20 42 61 63 6b 67 72 | nly.enable.Set.as.Desktop.Backgr |
dae60 | 6f 75 6e 64 20 69 66 20 77 65 20 63 61 6e 20 67 65 74 20 74 68 65 20 73 68 65 6c 6c 20 73 65 72 | ound.if.we.can.get.the.shell.ser |
dae80 | 76 69 63 65 2e 0a 20 20 20 20 76 61 72 20 73 68 65 6c 6c 20 3d 20 67 65 74 53 68 65 6c 6c 53 65 | vice......var.shell.=.getShellSe |
daea0 | 72 76 69 63 65 28 29 3b 0a 20 20 20 20 69 66 20 28 73 68 65 6c 6c 29 0a 20 20 20 20 20 20 68 61 | rvice();.....if.(shell).......ha |
daec0 | 76 65 53 65 74 44 65 73 6b 74 6f 70 42 61 63 6b 67 72 6f 75 6e 64 20 3d 20 74 72 75 65 3b 0a 2f | veSetDesktopBackground.=.true;./ |
daee0 | 2f 40 6c 69 6e 65 20 32 31 39 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c | /@line.219."/builds/moz2_slave/l |
daf00 | 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 62 61 73 65 2f 63 6f | inux_build/build/browser/base/co |
daf20 | 6e 74 65 6e 74 2f 6e 73 43 6f 6e 74 65 78 74 4d 65 6e 75 2e 6a 73 22 0a 20 20 20 20 74 68 69 73 | ntent/nsContextMenu.js".....this |
daf40 | 2e 73 68 6f 77 49 74 65 6d 28 22 63 6f 6e 74 65 78 74 2d 73 65 74 44 65 73 6b 74 6f 70 42 61 63 | .showItem("context-setDesktopBac |
daf60 | 6b 67 72 6f 75 6e 64 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 68 61 76 65 | kground",...................have |
daf80 | 53 65 74 44 65 73 6b 74 6f 70 42 61 63 6b 67 72 6f 75 6e 64 20 26 26 20 74 68 69 73 2e 6f 6e 4c | SetDesktopBackground.&&.this.onL |
dafa0 | 6f 61 64 65 64 49 6d 61 67 65 29 3b 0a 0a 20 20 20 20 69 66 20 28 68 61 76 65 53 65 74 44 65 73 | oadedImage);......if.(haveSetDes |
dafc0 | 6b 74 6f 70 42 61 63 6b 67 72 6f 75 6e 64 20 26 26 20 74 68 69 73 2e 6f 6e 4c 6f 61 64 65 64 49 | ktopBackground.&&.this.onLoadedI |
dafe0 | 6d 61 67 65 29 20 7b 0a 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e | mage).{.......document.getElemen |
db000 | 74 42 79 49 64 28 22 63 6f 6e 74 65 78 74 2d 73 65 74 44 65 73 6b 74 6f 70 42 61 63 6b 67 72 6f | tById("context-setDesktopBackgro |
db020 | 75 6e 64 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 64 69 73 61 62 6c 65 64 20 3d 20 | und")................disabled.=. |
db040 | 74 68 69 73 2e 64 69 73 61 62 6c 65 53 65 74 44 65 73 6b 74 6f 70 42 61 63 6b 67 72 6f 75 6e 64 | this.disableSetDesktopBackground |
db060 | 28 29 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 2f 2f 20 52 65 6c 6f 61 64 20 69 6d 61 67 65 20 64 | ();.....}......//.Reload.image.d |
db080 | 65 70 65 6e 64 73 20 6f 6e 20 61 6e 20 69 6d 61 67 65 20 74 68 61 74 27 73 20 6e 6f 74 20 66 75 | epends.on.an.image.that's.not.fu |
db0a0 | 6c 6c 79 20 6c 6f 61 64 65 64 0a 20 20 20 20 74 68 69 73 2e 73 68 6f 77 49 74 65 6d 28 22 63 6f | lly.loaded.....this.showItem("co |
db0c0 | 6e 74 65 78 74 2d 72 65 6c 6f 61 64 69 6d 61 67 65 22 2c 20 28 74 68 69 73 2e 6f 6e 49 6d 61 67 | ntext-reloadimage",.(this.onImag |
db0e0 | 65 20 26 26 20 21 74 68 69 73 2e 6f 6e 43 6f 6d 70 6c 65 74 65 64 49 6d 61 67 65 29 29 3b 0a 0a | e.&&.!this.onCompletedImage));.. |
db100 | 20 20 20 20 2f 2f 20 56 69 65 77 20 69 6d 61 67 65 20 64 65 70 65 6e 64 73 20 6f 6e 20 68 61 76 | ....//.View.image.depends.on.hav |
db120 | 69 6e 67 20 61 6e 20 69 6d 61 67 65 20 74 68 61 74 27 73 20 6e 6f 74 20 73 74 61 6e 64 61 6c 6f | ing.an.image.that's.not.standalo |
db140 | 6e 65 0a 20 20 20 20 2f 2f 20 28 6f 72 20 69 73 20 69 6e 20 61 20 66 72 61 6d 65 29 2c 20 6f 72 | ne.....//.(or.is.in.a.frame),.or |
db160 | 20 61 20 63 61 6e 76 61 73 2e 0a 20 20 20 20 74 68 69 73 2e 73 68 6f 77 49 74 65 6d 28 22 63 6f | .a.canvas......this.showItem("co |
db180 | 6e 74 65 78 74 2d 76 69 65 77 69 6d 61 67 65 22 2c 20 28 74 68 69 73 2e 6f 6e 49 6d 61 67 65 20 | ntext-viewimage",.(this.onImage. |
db1a0 | 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 21 74 68 69 73 2e 6f 6e 53 74 | &&...................(!this.onSt |
db1c0 | 61 6e 64 61 6c 6f 6e 65 49 6d 61 67 65 20 7c 7c 20 74 68 69 73 2e 69 6e 46 72 61 6d 65 29 29 20 | andaloneImage.||.this.inFrame)). |
db1e0 | 7c 7c 20 74 68 69 73 2e 6f 6e 43 61 6e 76 61 73 29 3b 0a 0a 20 20 20 20 74 68 69 73 2e 73 68 6f | ||.this.onCanvas);......this.sho |
db200 | 77 49 74 65 6d 28 22 63 6f 6e 74 65 78 74 2d 76 69 65 77 76 69 64 65 6f 22 2c 20 74 68 69 73 2e | wItem("context-viewvideo",.this. |
db220 | 6f 6e 56 69 64 65 6f 29 3b 0a 20 20 20 20 74 68 69 73 2e 73 65 74 49 74 65 6d 41 74 74 72 28 22 | onVideo);.....this.setItemAttr(" |
db240 | 63 6f 6e 74 65 78 74 2d 76 69 65 77 76 69 64 65 6f 22 2c 20 20 22 64 69 73 61 62 6c 65 64 22 2c | context-viewvideo",.."disabled", |
db260 | 20 21 74 68 69 73 2e 6d 65 64 69 61 55 52 4c 29 3b 0a 0a 20 20 20 20 2f 2f 20 56 69 65 77 20 62 | .!this.mediaURL);......//.View.b |
db280 | 61 63 6b 67 72 6f 75 6e 64 20 69 6d 61 67 65 20 64 65 70 65 6e 64 73 20 6f 6e 20 77 68 65 74 68 | ackground.image.depends.on.wheth |
db2a0 | 65 72 20 74 68 65 72 65 20 69 73 20 6f 6e 65 2e 0a 20 20 20 20 74 68 69 73 2e 73 68 6f 77 49 74 | er.there.is.one......this.showIt |
db2c0 | 65 6d 28 22 63 6f 6e 74 65 78 74 2d 76 69 65 77 62 67 69 6d 61 67 65 22 2c 20 73 68 6f 75 6c 64 | em("context-viewbgimage",.should |
db2e0 | 53 68 6f 77 29 3b 0a 20 20 20 20 74 68 69 73 2e 73 68 6f 77 49 74 65 6d 28 22 63 6f 6e 74 65 78 | Show);.....this.showItem("contex |
db300 | 74 2d 73 65 70 2d 76 69 65 77 62 67 69 6d 61 67 65 22 2c 20 73 68 6f 75 6c 64 53 68 6f 77 29 3b | t-sep-viewbgimage",.shouldShow); |
db320 | 0a 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 63 6f | .....document.getElementById("co |
db340 | 6e 74 65 78 74 2d 76 69 65 77 62 67 69 6d 61 67 65 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ntext-viewbgimage")............. |
db360 | 2e 64 69 73 61 62 6c 65 64 20 3d 20 21 74 68 69 73 2e 68 61 73 42 47 49 6d 61 67 65 3b 0a 20 20 | .disabled.=.!this.hasBGImage;... |
db380 | 7d 2c 0a 0a 20 20 69 6e 69 74 4d 69 73 63 49 74 65 6d 73 3a 20 66 75 6e 63 74 69 6f 6e 20 43 4d | },....initMiscItems:.function.CM |
db3a0 | 5f 69 6e 69 74 4d 69 73 63 49 74 65 6d 73 28 29 20 7b 0a 20 20 20 20 2f 2f 20 55 73 65 20 22 42 | _initMiscItems().{.....//.Use."B |
db3c0 | 6f 6f 6b 6d 61 72 6b 20 54 68 69 73 20 4c 69 6e 6b 22 20 69 66 20 6f 6e 20 61 20 6c 69 6e 6b 2e | ookmark.This.Link".if.on.a.link. |
db3e0 | 0a 20 20 20 20 74 68 69 73 2e 73 68 6f 77 49 74 65 6d 28 22 63 6f 6e 74 65 78 74 2d 62 6f 6f 6b | .....this.showItem("context-book |
db400 | 6d 61 72 6b 70 61 67 65 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 21 28 74 | markpage",...................!(t |
db420 | 68 69 73 2e 69 73 43 6f 6e 74 65 6e 74 53 65 6c 65 63 74 65 64 20 7c 7c 20 74 68 69 73 2e 6f 6e | his.isContentSelected.||.this.on |
db440 | 54 65 78 74 49 6e 70 75 74 20 7c 7c 20 74 68 69 73 2e 6f 6e 4c 69 6e 6b 20 7c 7c 0a 20 20 20 20 | TextInput.||.this.onLink.||..... |
db460 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6f 6e 49 6d 61 67 65 20 7c 7c 20 | ................this.onImage.||. |
db480 | 74 68 69 73 2e 6f 6e 56 69 64 65 6f 20 7c 7c 20 74 68 69 73 2e 6f 6e 41 75 64 69 6f 29 29 3b 0a | this.onVideo.||.this.onAudio));. |
db4a0 | 20 20 20 20 74 68 69 73 2e 73 68 6f 77 49 74 65 6d 28 22 63 6f 6e 74 65 78 74 2d 62 6f 6f 6b 6d | ....this.showItem("context-bookm |
db4c0 | 61 72 6b 6c 69 6e 6b 22 2c 20 74 68 69 73 2e 6f 6e 4c 69 6e 6b 20 26 26 20 21 74 68 69 73 2e 6f | arklink",.this.onLink.&&.!this.o |
db4e0 | 6e 4d 61 69 6c 74 6f 4c 69 6e 6b 29 3b 0a 20 20 20 20 74 68 69 73 2e 73 68 6f 77 49 74 65 6d 28 | nMailtoLink);.....this.showItem( |
db500 | 22 63 6f 6e 74 65 78 74 2d 73 65 61 72 63 68 73 65 6c 65 63 74 22 2c 20 74 68 69 73 2e 69 73 54 | "context-searchselect",.this.isT |
db520 | 65 78 74 53 65 6c 65 63 74 65 64 29 3b 0a 20 20 20 20 74 68 69 73 2e 73 68 6f 77 49 74 65 6d 28 | extSelected);.....this.showItem( |
db540 | 22 63 6f 6e 74 65 78 74 2d 6b 65 79 77 6f 72 64 66 69 65 6c 64 22 2c 0a 20 20 20 20 20 20 20 20 | "context-keywordfield",......... |
db560 | 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6f 6e 54 65 78 74 49 6e 70 75 74 20 26 26 20 74 68 | ..........this.onTextInput.&&.th |
db580 | 69 73 2e 6f 6e 4b 65 79 77 6f 72 64 46 69 65 6c 64 29 3b 0a 20 20 20 20 74 68 69 73 2e 73 68 6f | is.onKeywordField);.....this.sho |
db5a0 | 77 49 74 65 6d 28 22 66 72 61 6d 65 22 2c 20 74 68 69 73 2e 69 6e 46 72 61 6d 65 29 3b 0a 20 20 | wItem("frame",.this.inFrame);... |
db5c0 | 20 20 74 68 69 73 2e 73 68 6f 77 49 74 65 6d 28 22 66 72 61 6d 65 2d 73 65 70 22 2c 20 74 68 69 | ..this.showItem("frame-sep",.thi |
db5e0 | 73 2e 69 6e 46 72 61 6d 65 29 3b 0a 0a 20 20 20 20 2f 2f 20 48 69 64 65 20 6d 65 6e 75 20 65 6e | s.inFrame);......//.Hide.menu.en |
db600 | 74 72 69 65 73 20 66 6f 72 20 69 6d 61 67 65 73 2c 20 73 68 6f 77 20 6f 74 68 65 72 77 69 73 65 | tries.for.images,.show.otherwise |
db620 | 0a 20 20 20 20 69 66 20 28 74 68 69 73 2e 69 6e 46 72 61 6d 65 29 20 7b 0a 20 20 20 20 20 20 69 | .....if.(this.inFrame).{.......i |
db640 | 66 20 28 6d 69 6d 65 54 79 70 65 49 73 54 65 78 74 42 61 73 65 64 28 74 68 69 73 2e 74 61 72 67 | f.(mimeTypeIsTextBased(this.targ |
db660 | 65 74 2e 6f 77 6e 65 72 44 6f 63 75 6d 65 6e 74 2e 63 6f 6e 74 65 6e 74 54 79 70 65 29 29 0a 20 | et.ownerDocument.contentType)).. |
db680 | 20 20 20 20 20 20 20 74 68 69 73 2e 69 73 46 72 61 6d 65 49 6d 61 67 65 2e 72 65 6d 6f 76 65 41 | .......this.isFrameImage.removeA |
db6a0 | 74 74 72 69 62 75 74 65 28 27 68 69 64 64 65 6e 27 29 3b 0a 20 20 20 20 20 20 65 6c 73 65 0a 20 | ttribute('hidden');.......else.. |
db6c0 | 20 20 20 20 20 20 20 74 68 69 73 2e 69 73 46 72 61 6d 65 49 6d 61 67 65 2e 73 65 74 41 74 74 72 | .......this.isFrameImage.setAttr |
db6e0 | 69 62 75 74 65 28 27 68 69 64 64 65 6e 27 2c 20 27 74 72 75 65 27 29 3b 0a 20 20 20 20 7d 0a 0a | ibute('hidden',.'true');.....}.. |
db700 | 20 20 20 20 2f 2f 20 42 69 44 69 20 55 49 0a 20 20 20 20 74 68 69 73 2e 73 68 6f 77 49 74 65 6d | ....//.BiDi.UI.....this.showItem |
db720 | 28 22 63 6f 6e 74 65 78 74 2d 73 65 70 2d 62 69 64 69 22 2c 20 74 6f 70 2e 67 42 69 64 69 55 49 | ("context-sep-bidi",.top.gBidiUI |
db740 | 29 3b 0a 20 20 20 20 74 68 69 73 2e 73 68 6f 77 49 74 65 6d 28 22 63 6f 6e 74 65 78 74 2d 62 69 | );.....this.showItem("context-bi |
db760 | 64 69 2d 74 65 78 74 2d 64 69 72 65 63 74 69 6f 6e 2d 74 6f 67 67 6c 65 22 2c 0a 20 20 20 20 20 | di-text-direction-toggle",...... |
db780 | 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6f 6e 54 65 78 74 49 6e 70 75 74 20 26 26 | .............this.onTextInput.&& |
db7a0 | 20 74 6f 70 2e 67 42 69 64 69 55 49 29 3b 0a 20 20 20 20 74 68 69 73 2e 73 68 6f 77 49 74 65 6d | .top.gBidiUI);.....this.showItem |
db7c0 | 28 22 63 6f 6e 74 65 78 74 2d 62 69 64 69 2d 70 61 67 65 2d 64 69 72 65 63 74 69 6f 6e 2d 74 6f | ("context-bidi-page-direction-to |
db7e0 | 67 67 6c 65 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 21 74 68 69 73 2e 6f | ggle",...................!this.o |
db800 | 6e 54 65 78 74 49 6e 70 75 74 20 26 26 20 74 6f 70 2e 67 42 69 64 69 55 49 29 3b 0a 0a 20 20 20 | nTextInput.&&.top.gBidiUI);..... |
db820 | 20 69 66 20 28 74 68 69 73 2e 6f 6e 49 6d 61 67 65 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 62 | .if.(this.onImage).{.......var.b |
db840 | 6c 6f 63 6b 49 6d 61 67 65 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 | lockImage.=.document.getElementB |
db860 | 79 49 64 28 22 63 6f 6e 74 65 78 74 2d 62 6c 6f 63 6b 69 6d 61 67 65 22 29 3b 0a 0a 20 20 20 20 | yId("context-blockimage");...... |
db880 | 20 20 76 61 72 20 75 72 69 20 3d 20 74 68 69 73 2e 74 61 72 67 65 74 0a 20 20 20 20 20 20 20 20 | ..var.uri.=.this.target......... |
db8a0 | 20 20 20 20 20 20 20 20 20 20 20 20 2e 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 28 43 69 2e 6e | .............QueryInterface(Ci.n |
db8c0 | 73 49 49 6d 61 67 65 4c 6f 61 64 69 6e 67 43 6f 6e 74 65 6e 74 29 0a 20 20 20 20 20 20 20 20 20 | sIImageLoadingContent).......... |
db8e0 | 20 20 20 20 20 20 20 20 20 20 20 2e 63 75 72 72 65 6e 74 55 52 49 3b 0a 0a 20 20 20 20 20 20 2f | ............currentURI;......../ |
db900 | 2f 20 74 68 69 73 20 74 68 72 6f 77 73 20 69 66 20 74 68 65 20 69 6d 61 67 65 20 55 52 49 20 64 | /.this.throws.if.the.image.URI.d |
db920 | 6f 65 73 6e 27 74 20 68 61 76 65 20 61 20 68 6f 73 74 20 28 65 67 2c 20 64 61 74 61 3a 20 69 6d | oesn't.have.a.host.(eg,.data:.im |
db940 | 61 67 65 20 55 52 49 73 29 0a 20 20 20 20 20 20 2f 2f 20 73 65 65 20 62 75 67 20 32 39 33 37 35 | age.URIs).......//.see.bug.29375 |
db960 | 38 20 66 6f 72 20 64 65 74 61 69 6c 73 0a 20 20 20 20 20 20 76 61 72 20 68 6f 73 74 4c 61 62 65 | 8.for.details.......var.hostLabe |
db980 | 6c 20 3d 20 22 22 3b 0a 20 20 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 20 20 68 6f 73 74 | l.=."";.......try.{.........host |
db9a0 | 4c 61 62 65 6c 20 3d 20 75 72 69 2e 68 6f 73 74 3b 0a 20 20 20 20 20 20 7d 20 63 61 74 63 68 20 | Label.=.uri.host;.......}.catch. |
db9c0 | 28 65 78 29 20 7b 20 7d 0a 0a 20 20 20 20 20 20 69 66 20 28 68 6f 73 74 4c 61 62 65 6c 29 20 7b | (ex).{.}........if.(hostLabel).{ |
db9e0 | 0a 20 20 20 20 20 20 20 20 76 61 72 20 73 68 6f 72 74 65 6e 65 64 55 72 69 48 6f 73 74 20 3d 20 | .........var.shortenedUriHost.=. |
dba00 | 68 6f 73 74 4c 61 62 65 6c 2e 72 65 70 6c 61 63 65 28 2f 5e 77 77 77 5c 2e 2f 69 2c 22 22 29 3b | hostLabel.replace(/^www\./i,""); |
dba20 | 0a 20 20 20 20 20 20 20 20 69 66 20 28 73 68 6f 72 74 65 6e 65 64 55 72 69 48 6f 73 74 2e 6c 65 | .........if.(shortenedUriHost.le |
dba40 | 6e 67 74 68 20 3e 20 31 35 29 0a 20 20 20 20 20 20 20 20 20 20 73 68 6f 72 74 65 6e 65 64 55 72 | ngth.>.15)...........shortenedUr |
dba60 | 69 48 6f 73 74 20 3d 20 73 68 6f 72 74 65 6e 65 64 55 72 69 48 6f 73 74 2e 73 75 62 73 74 72 28 | iHost.=.shortenedUriHost.substr( |
dba80 | 30 2c 31 35 29 20 2b 20 74 68 69 73 2e 65 6c 6c 69 70 73 69 73 3b 0a 20 20 20 20 20 20 20 20 62 | 0,15).+.this.ellipsis;.........b |
dbaa0 | 6c 6f 63 6b 49 6d 61 67 65 2e 6c 61 62 65 6c 20 3d 20 67 4e 61 76 69 67 61 74 6f 72 42 75 6e 64 | lockImage.label.=.gNavigatorBund |
dbac0 | 6c 65 2e 67 65 74 46 6f 72 6d 61 74 74 65 64 53 74 72 69 6e 67 28 22 62 6c 6f 63 6b 49 6d 61 67 | le.getFormattedString("blockImag |
dbae0 | 65 73 22 2c 20 5b 73 68 6f 72 74 65 6e 65 64 55 72 69 48 6f 73 74 5d 29 3b 0a 0a 20 20 20 20 20 | es",.[shortenedUriHost]);....... |
dbb00 | 20 20 20 69 66 20 28 74 68 69 73 2e 69 73 49 6d 61 67 65 42 6c 6f 63 6b 65 64 28 29 29 0a 20 20 | ...if.(this.isImageBlocked())... |
dbb20 | 20 20 20 20 20 20 20 20 62 6c 6f 63 6b 49 6d 61 67 65 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 | ........blockImage.setAttribute( |
dbb40 | 22 63 68 65 63 6b 65 64 22 2c 20 22 74 72 75 65 22 29 3b 0a 20 20 20 20 20 20 20 20 65 6c 73 65 | "checked",."true");.........else |
dbb60 | 0a 20 20 20 20 20 20 20 20 20 20 62 6c 6f 63 6b 49 6d 61 67 65 2e 72 65 6d 6f 76 65 41 74 74 72 | ...........blockImage.removeAttr |
dbb80 | 69 62 75 74 65 28 22 63 68 65 63 6b 65 64 22 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a | ibute("checked");.......}.....}. |
dbba0 | 0a 20 20 20 20 2f 2f 20 4f 6e 6c 79 20 73 68 6f 77 20 74 68 65 20 62 6c 6f 63 6b 20 69 6d 61 67 | .....//.Only.show.the.block.imag |
dbbc0 | 65 20 69 74 65 6d 20 69 66 20 74 68 65 20 69 6d 61 67 65 20 63 61 6e 20 62 65 20 62 6c 6f 63 6b | e.item.if.the.image.can.be.block |
dbbe0 | 65 64 0a 20 20 20 20 74 68 69 73 2e 73 68 6f 77 49 74 65 6d 28 22 63 6f 6e 74 65 78 74 2d 62 6c | ed.....this.showItem("context-bl |
dbc00 | 6f 63 6b 69 6d 61 67 65 22 2c 20 74 68 69 73 2e 6f 6e 49 6d 61 67 65 20 26 26 20 68 6f 73 74 4c | ockimage",.this.onImage.&&.hostL |
dbc20 | 61 62 65 6c 20 26 26 0a 20 20 20 20 20 20 21 67 50 72 69 76 61 74 65 42 72 6f 77 73 69 6e 67 55 | abel.&&.......!gPrivateBrowsingU |
dbc40 | 49 2e 70 72 69 76 61 74 65 42 72 6f 77 73 69 6e 67 45 6e 61 62 6c 65 64 29 3b 0a 20 20 7d 2c 0a | I.privateBrowsingEnabled);...},. |
dbc60 | 0a 20 20 69 6e 69 74 53 70 65 6c 6c 69 6e 67 49 74 65 6d 73 3a 20 66 75 6e 63 74 69 6f 6e 28 29 | ...initSpellingItems:.function() |
dbc80 | 20 7b 0a 20 20 20 20 76 61 72 20 63 61 6e 53 70 65 6c 6c 20 3d 20 49 6e 6c 69 6e 65 53 70 65 6c | .{.....var.canSpell.=.InlineSpel |
dbca0 | 6c 43 68 65 63 6b 65 72 55 49 2e 63 61 6e 53 70 65 6c 6c 43 68 65 63 6b 3b 0a 20 20 20 20 76 61 | lCheckerUI.canSpellCheck;.....va |
dbcc0 | 72 20 6f 6e 4d 69 73 73 70 65 6c 6c 69 6e 67 20 3d 20 49 6e 6c 69 6e 65 53 70 65 6c 6c 43 68 65 | r.onMisspelling.=.InlineSpellChe |
dbce0 | 63 6b 65 72 55 49 2e 6f 76 65 72 4d 69 73 73 70 65 6c 6c 69 6e 67 3b 0a 20 20 20 20 74 68 69 73 | ckerUI.overMisspelling;.....this |
dbd00 | 2e 73 68 6f 77 49 74 65 6d 28 22 73 70 65 6c 6c 2d 63 68 65 63 6b 2d 65 6e 61 62 6c 65 64 22 2c | .showItem("spell-check-enabled", |
dbd20 | 20 63 61 6e 53 70 65 6c 6c 29 3b 0a 20 20 20 20 74 68 69 73 2e 73 68 6f 77 49 74 65 6d 28 22 73 | .canSpell);.....this.showItem("s |
dbd40 | 70 65 6c 6c 2d 73 65 70 61 72 61 74 6f 72 22 2c 20 63 61 6e 53 70 65 6c 6c 20 7c 7c 20 74 68 69 | pell-separator",.canSpell.||.thi |
dbd60 | 73 2e 70 6f 73 73 69 62 6c 65 53 70 65 6c 6c 43 68 65 63 6b 69 6e 67 29 3b 0a 20 20 20 20 69 66 | s.possibleSpellChecking);.....if |
dbd80 | 20 28 63 61 6e 53 70 65 6c 6c 29 20 7b 0a 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 | .(canSpell).{.......document.get |
dbda0 | 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 73 70 65 6c 6c 2d 63 68 65 63 6b 2d 65 6e 61 62 6c 65 64 | ElementById("spell-check-enabled |
dbdc0 | 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 | ")................setAttribute(" |
dbde0 | 63 68 65 63 6b 65 64 22 2c 20 49 6e 6c 69 6e 65 53 70 65 6c 6c 43 68 65 63 6b 65 72 55 49 2e 65 | checked",.InlineSpellCheckerUI.e |
dbe00 | 6e 61 62 6c 65 64 29 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 74 68 69 73 2e 73 68 6f 77 49 74 65 | nabled);.....}......this.showIte |
dbe20 | 6d 28 22 73 70 65 6c 6c 2d 61 64 64 2d 74 6f 2d 64 69 63 74 69 6f 6e 61 72 79 22 2c 20 6f 6e 4d | m("spell-add-to-dictionary",.onM |
dbe40 | 69 73 73 70 65 6c 6c 69 6e 67 29 3b 0a 0a 20 20 20 20 2f 2f 20 73 75 67 67 65 73 74 69 6f 6e 20 | isspelling);......//.suggestion. |
dbe60 | 6c 69 73 74 0a 20 20 20 20 74 68 69 73 2e 73 68 6f 77 49 74 65 6d 28 22 73 70 65 6c 6c 2d 73 75 | list.....this.showItem("spell-su |
dbe80 | 67 67 65 73 74 69 6f 6e 73 2d 73 65 70 61 72 61 74 6f 72 22 2c 20 6f 6e 4d 69 73 73 70 65 6c 6c | ggestions-separator",.onMisspell |
dbea0 | 69 6e 67 29 3b 0a 20 20 20 20 69 66 20 28 6f 6e 4d 69 73 73 70 65 6c 6c 69 6e 67 29 20 7b 0a 20 | ing);.....if.(onMisspelling).{.. |
dbec0 | 20 20 20 20 20 76 61 72 20 6d 65 6e 75 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d | .....var.menu.=.document.getElem |
dbee0 | 65 6e 74 42 79 49 64 28 22 63 6f 6e 74 65 6e 74 41 72 65 61 43 6f 6e 74 65 78 74 4d 65 6e 75 22 | entById("contentAreaContextMenu" |
dbf00 | 29 3b 0a 20 20 20 20 20 20 76 61 72 20 73 75 67 67 65 73 74 69 6f 6e 73 53 65 70 61 72 61 74 6f | );.......var.suggestionsSeparato |
dbf20 | 72 20 3d 0a 20 20 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 | r.=.........document.getElementB |
dbf40 | 79 49 64 28 22 73 70 65 6c 6c 2d 61 64 64 2d 74 6f 2d 64 69 63 74 69 6f 6e 61 72 79 22 29 3b 0a | yId("spell-add-to-dictionary");. |
dbf60 | 20 20 20 20 20 20 76 61 72 20 6e 75 6d 73 75 67 20 3d 20 49 6e 6c 69 6e 65 53 70 65 6c 6c 43 68 | ......var.numsug.=.InlineSpellCh |
dbf80 | 65 63 6b 65 72 55 49 2e 61 64 64 53 75 67 67 65 73 74 69 6f 6e 73 54 6f 4d 65 6e 75 28 6d 65 6e | eckerUI.addSuggestionsToMenu(men |
dbfa0 | 75 2c 20 73 75 67 67 65 73 74 69 6f 6e 73 53 65 70 61 72 61 74 6f 72 2c 20 35 29 3b 0a 20 20 20 | u,.suggestionsSeparator,.5);.... |
dbfc0 | 20 20 20 74 68 69 73 2e 73 68 6f 77 49 74 65 6d 28 22 73 70 65 6c 6c 2d 6e 6f 2d 73 75 67 67 65 | ...this.showItem("spell-no-sugge |
dbfe0 | 73 74 69 6f 6e 73 22 2c 20 6e 75 6d 73 75 67 20 3d 3d 20 30 29 3b 0a 20 20 20 20 7d 0a 20 20 20 | stions",.numsug.==.0);.....}.... |
dc000 | 20 65 6c 73 65 0a 20 20 20 20 20 20 74 68 69 73 2e 73 68 6f 77 49 74 65 6d 28 22 73 70 65 6c 6c | .else.......this.showItem("spell |
dc020 | 2d 6e 6f 2d 73 75 67 67 65 73 74 69 6f 6e 73 22 2c 20 66 61 6c 73 65 29 3b 0a 0a 20 20 20 20 2f | -no-suggestions",.false);....../ |
dc040 | 2f 20 64 69 63 74 69 6f 6e 61 72 79 20 6c 69 73 74 0a 20 20 20 20 74 68 69 73 2e 73 68 6f 77 49 | /.dictionary.list.....this.showI |
dc060 | 74 65 6d 28 22 73 70 65 6c 6c 2d 64 69 63 74 69 6f 6e 61 72 69 65 73 22 2c 20 49 6e 6c 69 6e 65 | tem("spell-dictionaries",.Inline |
dc080 | 53 70 65 6c 6c 43 68 65 63 6b 65 72 55 49 2e 65 6e 61 62 6c 65 64 29 3b 0a 20 20 20 20 69 66 20 | SpellCheckerUI.enabled);.....if. |
dc0a0 | 28 63 61 6e 53 70 65 6c 6c 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 64 69 63 74 4d 65 6e 75 20 | (canSpell).{.......var.dictMenu. |
dc0c0 | 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 73 70 65 6c 6c | =.document.getElementById("spell |
dc0e0 | 2d 64 69 63 74 69 6f 6e 61 72 69 65 73 2d 6d 65 6e 75 22 29 3b 0a 20 20 20 20 20 20 76 61 72 20 | -dictionaries-menu");.......var. |
dc100 | 64 69 63 74 53 65 70 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 | dictSep.=.document.getElementByI |
dc120 | 64 28 22 73 70 65 6c 6c 2d 6c 61 6e 67 75 61 67 65 2d 73 65 70 61 72 61 74 6f 72 22 29 3b 0a 20 | d("spell-language-separator");.. |
dc140 | 20 20 20 20 20 49 6e 6c 69 6e 65 53 70 65 6c 6c 43 68 65 63 6b 65 72 55 49 2e 61 64 64 44 69 63 | .....InlineSpellCheckerUI.addDic |
dc160 | 74 69 6f 6e 61 72 79 4c 69 73 74 54 6f 4d 65 6e 75 28 64 69 63 74 4d 65 6e 75 2c 20 64 69 63 74 | tionaryListToMenu(dictMenu,.dict |
dc180 | 53 65 70 29 3b 0a 20 20 20 20 20 20 74 68 69 73 2e 73 68 6f 77 49 74 65 6d 28 22 73 70 65 6c 6c | Sep);.......this.showItem("spell |
dc1a0 | 2d 61 64 64 2d 64 69 63 74 69 6f 6e 61 72 69 65 73 2d 6d 61 69 6e 22 2c 20 66 61 6c 73 65 29 3b | -add-dictionaries-main",.false); |
dc1c0 | 0a 20 20 20 20 7d 0a 20 20 20 20 65 6c 73 65 20 69 66 20 28 74 68 69 73 2e 70 6f 73 73 69 62 6c | .....}.....else.if.(this.possibl |
dc1e0 | 65 53 70 65 6c 6c 43 68 65 63 6b 69 6e 67 29 20 7b 0a 20 20 20 20 20 20 2f 2f 20 77 68 65 6e 20 | eSpellChecking).{.......//.when. |
dc200 | 74 68 65 72 65 20 69 73 20 6e 6f 20 73 70 65 6c 6c 63 68 65 63 6b 65 72 20 62 75 74 20 77 65 20 | there.is.no.spellchecker.but.we. |
dc220 | 6d 69 67 68 74 20 62 65 20 61 62 6c 65 20 74 6f 20 73 70 65 6c 6c 63 68 65 63 6b 0a 20 20 20 20 | might.be.able.to.spellcheck..... |
dc240 | 20 20 2f 2f 20 61 64 64 20 74 68 65 20 61 64 64 20 74 6f 20 64 69 63 74 69 6f 6e 61 72 69 65 73 | ..//.add.the.add.to.dictionaries |
dc260 | 20 69 74 65 6d 2e 20 54 68 69 73 20 77 69 6c 6c 20 65 6e 73 75 72 65 20 74 68 61 74 20 70 65 6f | .item..This.will.ensure.that.peo |
dc280 | 70 6c 65 0a 20 20 20 20 20 20 2f 2f 20 77 69 74 68 20 6e 6f 20 64 69 63 74 69 6f 6e 61 72 69 65 | ple.......//.with.no.dictionarie |
dc2a0 | 73 20 77 69 6c 6c 20 62 65 20 61 62 6c 65 20 74 6f 20 64 6f 77 6e 6c 6f 61 64 20 74 68 65 6d 0a | s.will.be.able.to.download.them. |
dc2c0 | 20 20 20 20 20 20 74 68 69 73 2e 73 68 6f 77 49 74 65 6d 28 22 73 70 65 6c 6c 2d 61 64 64 2d 64 | ......this.showItem("spell-add-d |
dc2e0 | 69 63 74 69 6f 6e 61 72 69 65 73 2d 6d 61 69 6e 22 2c 20 74 72 75 65 29 3b 0a 20 20 20 20 7d 0a | ictionaries-main",.true);.....}. |
dc300 | 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 74 68 69 73 2e 73 68 6f 77 49 74 65 6d 28 22 73 70 | ....else.......this.showItem("sp |
dc320 | 65 6c 6c 2d 61 64 64 2d 64 69 63 74 69 6f 6e 61 72 69 65 73 2d 6d 61 69 6e 22 2c 20 66 61 6c 73 | ell-add-dictionaries-main",.fals |
dc340 | 65 29 3b 0a 20 20 7d 2c 0a 0a 20 20 69 6e 69 74 43 6c 69 70 62 6f 61 72 64 49 74 65 6d 73 3a 20 | e);...},....initClipboardItems:. |
dc360 | 66 75 6e 63 74 69 6f 6e 28 29 20 7b 0a 20 20 20 20 2f 2f 20 43 6f 70 79 20 64 65 70 65 6e 64 73 | function().{.....//.Copy.depends |
dc380 | 20 6f 6e 20 77 68 65 74 68 65 72 20 74 68 65 72 65 20 69 73 20 73 65 6c 65 63 74 65 64 20 74 65 | .on.whether.there.is.selected.te |
dc3a0 | 78 74 2e 0a 20 20 20 20 2f 2f 20 45 6e 61 62 6c 69 6e 67 20 74 68 69 73 20 63 6f 6e 74 65 78 74 | xt......//.Enabling.this.context |
dc3c0 | 20 6d 65 6e 75 20 69 74 65 6d 20 69 73 20 6e 6f 77 20 64 6f 6e 65 20 74 68 72 6f 75 67 68 20 74 | .menu.item.is.now.done.through.t |
dc3e0 | 68 65 20 67 6c 6f 62 61 6c 0a 20 20 20 20 2f 2f 20 63 6f 6d 6d 61 6e 64 20 75 70 64 61 74 69 6e | he.global.....//.command.updatin |
dc400 | 67 20 73 79 73 74 65 6d 0a 20 20 20 20 2f 2f 20 74 68 69 73 2e 73 65 74 49 74 65 6d 41 74 74 72 | g.system.....//.this.setItemAttr |
dc420 | 28 20 22 63 6f 6e 74 65 78 74 2d 63 6f 70 79 22 2c 20 22 64 69 73 61 62 6c 65 64 22 2c 20 21 74 | (."context-copy",."disabled",.!t |
dc440 | 68 69 73 2e 69 73 54 65 78 74 53 65 6c 65 63 74 65 64 28 29 20 29 3b 0a 20 20 20 20 67 6f 55 70 | his.isTextSelected().);.....goUp |
dc460 | 64 61 74 65 47 6c 6f 62 61 6c 45 64 69 74 4d 65 6e 75 49 74 65 6d 73 28 29 3b 0a 0a 20 20 20 20 | dateGlobalEditMenuItems();...... |
dc480 | 74 68 69 73 2e 73 68 6f 77 49 74 65 6d 28 22 63 6f 6e 74 65 78 74 2d 75 6e 64 6f 22 2c 20 74 68 | this.showItem("context-undo",.th |
dc4a0 | 69 73 2e 6f 6e 54 65 78 74 49 6e 70 75 74 29 3b 0a 20 20 20 20 74 68 69 73 2e 73 68 6f 77 49 74 | is.onTextInput);.....this.showIt |
dc4c0 | 65 6d 28 22 63 6f 6e 74 65 78 74 2d 73 65 70 2d 75 6e 64 6f 22 2c 20 74 68 69 73 2e 6f 6e 54 65 | em("context-sep-undo",.this.onTe |
dc4e0 | 78 74 49 6e 70 75 74 29 3b 0a 20 20 20 20 74 68 69 73 2e 73 68 6f 77 49 74 65 6d 28 22 63 6f 6e | xtInput);.....this.showItem("con |
dc500 | 74 65 78 74 2d 63 75 74 22 2c 20 74 68 69 73 2e 6f 6e 54 65 78 74 49 6e 70 75 74 29 3b 0a 20 20 | text-cut",.this.onTextInput);... |
dc520 | 20 20 74 68 69 73 2e 73 68 6f 77 49 74 65 6d 28 22 63 6f 6e 74 65 78 74 2d 63 6f 70 79 22 2c 0a | ..this.showItem("context-copy",. |
dc540 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 69 73 43 6f 6e 74 65 6e 74 | ..................this.isContent |
dc560 | 53 65 6c 65 63 74 65 64 20 7c 7c 20 74 68 69 73 2e 6f 6e 54 65 78 74 49 6e 70 75 74 29 3b 0a 20 | Selected.||.this.onTextInput);.. |
dc580 | 20 20 20 74 68 69 73 2e 73 68 6f 77 49 74 65 6d 28 22 63 6f 6e 74 65 78 74 2d 70 61 73 74 65 22 | ...this.showItem("context-paste" |
dc5a0 | 2c 20 74 68 69 73 2e 6f 6e 54 65 78 74 49 6e 70 75 74 29 3b 0a 20 20 20 20 74 68 69 73 2e 73 68 | ,.this.onTextInput);.....this.sh |
dc5c0 | 6f 77 49 74 65 6d 28 22 63 6f 6e 74 65 78 74 2d 64 65 6c 65 74 65 22 2c 20 74 68 69 73 2e 6f 6e | owItem("context-delete",.this.on |
dc5e0 | 54 65 78 74 49 6e 70 75 74 29 3b 0a 20 20 20 20 74 68 69 73 2e 73 68 6f 77 49 74 65 6d 28 22 63 | TextInput);.....this.showItem("c |
dc600 | 6f 6e 74 65 78 74 2d 73 65 70 2d 70 61 73 74 65 22 2c 20 74 68 69 73 2e 6f 6e 54 65 78 74 49 6e | ontext-sep-paste",.this.onTextIn |
dc620 | 70 75 74 29 3b 0a 20 20 20 20 74 68 69 73 2e 73 68 6f 77 49 74 65 6d 28 22 63 6f 6e 74 65 78 74 | put);.....this.showItem("context |
dc640 | 2d 73 65 6c 65 63 74 61 6c 6c 22 2c 20 21 28 74 68 69 73 2e 6f 6e 4c 69 6e 6b 20 7c 7c 20 74 68 | -selectall",.!(this.onLink.||.th |
dc660 | 69 73 2e 6f 6e 49 6d 61 67 65 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | is.onImage.||................... |
dc680 | 74 68 69 73 2e 6f 6e 56 69 64 65 6f 20 7c 7c 20 74 68 69 73 2e 6f 6e 41 75 64 69 6f 29 20 7c 7c | this.onVideo.||.this.onAudio).|| |
dc6a0 | 20 74 68 69 73 2e 69 73 44 65 73 69 67 6e 4d 6f 64 65 29 3b 0a 20 20 20 20 74 68 69 73 2e 73 68 | .this.isDesignMode);.....this.sh |
dc6c0 | 6f 77 49 74 65 6d 28 22 63 6f 6e 74 65 78 74 2d 73 65 70 2d 73 65 6c 65 63 74 61 6c 6c 22 2c 20 | owItem("context-sep-selectall",. |
dc6e0 | 74 68 69 73 2e 69 73 43 6f 6e 74 65 6e 74 53 65 6c 65 63 74 65 64 20 29 3b 0a 0a 20 20 20 20 2f | this.isContentSelected.);....../ |
dc700 | 2f 20 58 58 58 20 64 72 0a 20 20 20 20 2f 2f 20 2d 2d 2d 2d 2d 2d 0a 20 20 20 20 2f 2f 20 6e 73 | /.XXX.dr.....//.------.....//.ns |
dc720 | 44 6f 63 75 6d 65 6e 74 56 69 65 77 65 72 2e 63 70 70 20 68 61 73 20 63 6f 64 65 20 74 6f 20 64 | DocumentViewer.cpp.has.code.to.d |
dc740 | 65 74 65 72 6d 69 6e 65 20 77 68 65 74 68 65 72 20 77 65 27 72 65 0a 20 20 20 20 2f 2f 20 6f 6e | etermine.whether.we're.....//.on |
dc760 | 20 61 20 6c 69 6e 6b 20 6f 72 20 61 6e 20 69 6d 61 67 65 2e 20 77 65 20 72 65 61 6c 6c 79 20 6f | .a.link.or.an.image..we.really.o |
dc780 | 75 67 68 74 20 74 6f 20 62 65 20 75 73 69 6e 67 20 74 68 61 74 2e 2e 2e 0a 0a 20 20 20 20 2f 2f | ught.to.be.using.that.........// |
dc7a0 | 20 43 6f 70 79 20 65 6d 61 69 6c 20 6c 69 6e 6b 20 64 65 70 65 6e 64 73 20 6f 6e 20 77 68 65 74 | .Copy.email.link.depends.on.whet |
dc7c0 | 68 65 72 20 77 65 27 72 65 20 6f 6e 20 61 6e 20 65 6d 61 69 6c 20 6c 69 6e 6b 2e 0a 20 20 20 20 | her.we're.on.an.email.link...... |
dc7e0 | 74 68 69 73 2e 73 68 6f 77 49 74 65 6d 28 22 63 6f 6e 74 65 78 74 2d 63 6f 70 79 65 6d 61 69 6c | this.showItem("context-copyemail |
dc800 | 22 2c 20 74 68 69 73 2e 6f 6e 4d 61 69 6c 74 6f 4c 69 6e 6b 29 3b 0a 0a 20 20 20 20 2f 2f 20 43 | ",.this.onMailtoLink);......//.C |
dc820 | 6f 70 79 20 6c 69 6e 6b 20 6c 6f 63 61 74 69 6f 6e 20 64 65 70 65 6e 64 73 20 6f 6e 20 77 68 65 | opy.link.location.depends.on.whe |
dc840 | 74 68 65 72 20 77 65 27 72 65 20 6f 6e 20 61 20 6e 6f 6e 2d 6d 61 69 6c 74 6f 20 6c 69 6e 6b 2e | ther.we're.on.a.non-mailto.link. |
dc860 | 0a 20 20 20 20 74 68 69 73 2e 73 68 6f 77 49 74 65 6d 28 22 63 6f 6e 74 65 78 74 2d 63 6f 70 79 | .....this.showItem("context-copy |
dc880 | 6c 69 6e 6b 22 2c 20 74 68 69 73 2e 6f 6e 4c 69 6e 6b 20 26 26 20 21 74 68 69 73 2e 6f 6e 4d 61 | link",.this.onLink.&&.!this.onMa |
dc8a0 | 69 6c 74 6f 4c 69 6e 6b 29 3b 0a 20 20 20 20 74 68 69 73 2e 73 68 6f 77 49 74 65 6d 28 22 63 6f | iltoLink);.....this.showItem("co |
dc8c0 | 6e 74 65 78 74 2d 73 65 70 2d 63 6f 70 79 6c 69 6e 6b 22 2c 20 74 68 69 73 2e 6f 6e 4c 69 6e 6b | ntext-sep-copylink",.this.onLink |
dc8e0 | 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 74 68 69 73 2e 6f 6e 49 6d | .&&...................(this.onIm |
dc900 | 61 67 65 20 7c 7c 20 74 68 69 73 2e 6f 6e 56 69 64 65 6f 20 7c 7c 20 74 68 69 73 2e 6f 6e 41 75 | age.||.this.onVideo.||.this.onAu |
dc920 | 64 69 6f 29 29 3b 0a 0a 2f 2f 40 6c 69 6e 65 20 33 37 39 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a | dio));..//@line.379."/builds/moz |
dc940 | 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 | 2_slave/linux_build/build/browse |
dc960 | 72 2f 62 61 73 65 2f 63 6f 6e 74 65 6e 74 2f 6e 73 43 6f 6e 74 65 78 74 4d 65 6e 75 2e 6a 73 22 | r/base/content/nsContextMenu.js" |
dc980 | 0a 20 20 20 20 2f 2f 20 43 6f 70 79 20 69 6d 61 67 65 20 63 6f 6e 74 65 6e 74 73 20 64 65 70 65 | .....//.Copy.image.contents.depe |
dc9a0 | 6e 64 73 20 6f 6e 20 77 68 65 74 68 65 72 20 77 65 27 72 65 20 6f 6e 20 61 6e 20 69 6d 61 67 65 | nds.on.whether.we're.on.an.image |
dc9c0 | 2e 0a 20 20 20 20 74 68 69 73 2e 73 68 6f 77 49 74 65 6d 28 22 63 6f 6e 74 65 78 74 2d 63 6f 70 | ......this.showItem("context-cop |
dc9e0 | 79 69 6d 61 67 65 2d 63 6f 6e 74 65 6e 74 73 22 2c 20 74 68 69 73 2e 6f 6e 49 6d 61 67 65 29 3b | yimage-contents",.this.onImage); |
dca00 | 0a 2f 2f 40 6c 69 6e 65 20 33 38 32 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 | .//@line.382."/builds/moz2_slave |
dca20 | 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 62 61 73 65 2f | /linux_build/build/browser/base/ |
dca40 | 63 6f 6e 74 65 6e 74 2f 6e 73 43 6f 6e 74 65 78 74 4d 65 6e 75 2e 6a 73 22 0a 20 20 20 20 2f 2f | content/nsContextMenu.js".....// |
dca60 | 20 43 6f 70 79 20 69 6d 61 67 65 20 6c 6f 63 61 74 69 6f 6e 20 64 65 70 65 6e 64 73 20 6f 6e 20 | .Copy.image.location.depends.on. |
dca80 | 77 68 65 74 68 65 72 20 77 65 27 72 65 20 6f 6e 20 61 6e 20 69 6d 61 67 65 2e 0a 20 20 20 20 74 | whether.we're.on.an.image......t |
dcaa0 | 68 69 73 2e 73 68 6f 77 49 74 65 6d 28 22 63 6f 6e 74 65 78 74 2d 63 6f 70 79 69 6d 61 67 65 22 | his.showItem("context-copyimage" |
dcac0 | 2c 20 74 68 69 73 2e 6f 6e 49 6d 61 67 65 29 3b 0a 20 20 20 20 74 68 69 73 2e 73 68 6f 77 49 74 | ,.this.onImage);.....this.showIt |
dcae0 | 65 6d 28 22 63 6f 6e 74 65 78 74 2d 63 6f 70 79 76 69 64 65 6f 75 72 6c 22 2c 20 74 68 69 73 2e | em("context-copyvideourl",.this. |
dcb00 | 6f 6e 56 69 64 65 6f 29 3b 0a 20 20 20 20 74 68 69 73 2e 73 68 6f 77 49 74 65 6d 28 22 63 6f 6e | onVideo);.....this.showItem("con |
dcb20 | 74 65 78 74 2d 63 6f 70 79 61 75 64 69 6f 75 72 6c 22 2c 20 74 68 69 73 2e 6f 6e 41 75 64 69 6f | text-copyaudiourl",.this.onAudio |
dcb40 | 29 3b 0a 20 20 20 20 74 68 69 73 2e 73 65 74 49 74 65 6d 41 74 74 72 28 22 63 6f 6e 74 65 78 74 | );.....this.setItemAttr("context |
dcb60 | 2d 63 6f 70 79 76 69 64 65 6f 75 72 6c 22 2c 20 20 22 64 69 73 61 62 6c 65 64 22 2c 20 21 74 68 | -copyvideourl",.."disabled",.!th |
dcb80 | 69 73 2e 6d 65 64 69 61 55 52 4c 29 3b 0a 20 20 20 20 74 68 69 73 2e 73 65 74 49 74 65 6d 41 74 | is.mediaURL);.....this.setItemAt |
dcba0 | 74 72 28 22 63 6f 6e 74 65 78 74 2d 63 6f 70 79 61 75 64 69 6f 75 72 6c 22 2c 20 20 22 64 69 73 | tr("context-copyaudiourl",.."dis |
dcbc0 | 61 62 6c 65 64 22 2c 20 21 74 68 69 73 2e 6d 65 64 69 61 55 52 4c 29 3b 0a 20 20 20 20 74 68 69 | abled",.!this.mediaURL);.....thi |
dcbe0 | 73 2e 73 68 6f 77 49 74 65 6d 28 22 63 6f 6e 74 65 78 74 2d 73 65 70 2d 63 6f 70 79 69 6d 61 67 | s.showItem("context-sep-copyimag |
dcc00 | 65 22 2c 20 74 68 69 73 2e 6f 6e 49 6d 61 67 65 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 | e",.this.onImage.||............. |
dcc20 | 20 20 20 20 20 20 74 68 69 73 2e 6f 6e 56 69 64 65 6f 20 7c 7c 20 74 68 69 73 2e 6f 6e 41 75 64 | ......this.onVideo.||.this.onAud |
dcc40 | 69 6f 29 3b 0a 20 20 7d 2c 0a 0a 20 20 69 6e 69 74 4d 65 74 61 64 61 74 61 49 74 65 6d 73 3a 20 | io);...},....initMetadataItems:. |
dcc60 | 66 75 6e 63 74 69 6f 6e 28 29 20 7b 0a 20 20 20 20 2f 2f 20 53 68 6f 77 20 69 66 20 75 73 65 72 | function().{.....//.Show.if.user |
dcc80 | 20 63 6c 69 63 6b 65 64 20 6f 6e 20 73 6f 6d 65 74 68 69 6e 67 20 77 68 69 63 68 20 68 61 73 20 | .clicked.on.something.which.has. |
dcca0 | 6d 65 74 61 64 61 74 61 2e 0a 20 20 20 20 74 68 69 73 2e 73 68 6f 77 49 74 65 6d 28 22 63 6f 6e | metadata......this.showItem("con |
dccc0 | 74 65 78 74 2d 6d 65 74 61 64 61 74 61 22 2c 20 74 68 69 73 2e 6f 6e 4d 65 74 61 44 61 74 61 49 | text-metadata",.this.onMetaDataI |
dcce0 | 74 65 6d 29 3b 0a 20 20 7d 2c 0a 0a 20 20 69 6e 69 74 4d 65 64 69 61 50 6c 61 79 65 72 49 74 65 | tem);...},....initMediaPlayerIte |
dcd00 | 6d 73 3a 20 66 75 6e 63 74 69 6f 6e 28 29 20 7b 0a 20 20 20 20 76 61 72 20 6f 6e 4d 65 64 69 61 | ms:.function().{.....var.onMedia |
dcd20 | 20 3d 20 28 74 68 69 73 2e 6f 6e 56 69 64 65 6f 20 7c 7c 20 74 68 69 73 2e 6f 6e 41 75 64 69 6f | .=.(this.onVideo.||.this.onAudio |
dcd40 | 29 3b 0a 20 20 20 20 2f 2f 20 53 65 76 65 72 61 6c 20 6d 75 74 75 61 6c 6c 79 20 65 78 63 6c 75 | );.....//.Several.mutually.exclu |
dcd60 | 73 69 76 65 20 69 74 65 6d 73 2e 2e 2e 20 70 6c 61 79 2f 70 61 75 73 65 2c 20 6d 75 74 65 2f 75 | sive.items....play/pause,.mute/u |
dcd80 | 6e 6d 75 74 65 2c 20 73 68 6f 77 2f 68 69 64 65 0a 20 20 20 20 74 68 69 73 2e 73 68 6f 77 49 74 | nmute,.show/hide.....this.showIt |
dcda0 | 65 6d 28 22 63 6f 6e 74 65 78 74 2d 6d 65 64 69 61 2d 70 6c 61 79 22 2c 20 20 6f 6e 4d 65 64 69 | em("context-media-play",..onMedi |
dcdc0 | 61 20 26 26 20 74 68 69 73 2e 74 61 72 67 65 74 2e 70 61 75 73 65 64 29 3b 0a 20 20 20 20 74 68 | a.&&.this.target.paused);.....th |
dcde0 | 69 73 2e 73 68 6f 77 49 74 65 6d 28 22 63 6f 6e 74 65 78 74 2d 6d 65 64 69 61 2d 70 61 75 73 65 | is.showItem("context-media-pause |
dce00 | 22 2c 20 6f 6e 4d 65 64 69 61 20 26 26 20 21 74 68 69 73 2e 74 61 72 67 65 74 2e 70 61 75 73 65 | ",.onMedia.&&.!this.target.pause |
dce20 | 64 29 3b 0a 20 20 20 20 74 68 69 73 2e 73 68 6f 77 49 74 65 6d 28 22 63 6f 6e 74 65 78 74 2d 6d | d);.....this.showItem("context-m |
dce40 | 65 64 69 61 2d 6d 75 74 65 22 2c 20 20 20 6f 6e 4d 65 64 69 61 20 26 26 20 21 74 68 69 73 2e 74 | edia-mute",...onMedia.&&.!this.t |
dce60 | 61 72 67 65 74 2e 6d 75 74 65 64 29 3b 0a 20 20 20 20 74 68 69 73 2e 73 68 6f 77 49 74 65 6d 28 | arget.muted);.....this.showItem( |
dce80 | 22 63 6f 6e 74 65 78 74 2d 6d 65 64 69 61 2d 75 6e 6d 75 74 65 22 2c 20 6f 6e 4d 65 64 69 61 20 | "context-media-unmute",.onMedia. |
dcea0 | 26 26 20 74 68 69 73 2e 74 61 72 67 65 74 2e 6d 75 74 65 64 29 3b 0a 20 20 20 20 74 68 69 73 2e | &&.this.target.muted);.....this. |
dcec0 | 73 68 6f 77 49 74 65 6d 28 22 63 6f 6e 74 65 78 74 2d 6d 65 64 69 61 2d 73 68 6f 77 63 6f 6e 74 | showItem("context-media-showcont |
dcee0 | 72 6f 6c 73 22 2c 20 6f 6e 4d 65 64 69 61 20 26 26 20 21 74 68 69 73 2e 74 61 72 67 65 74 2e 63 | rols",.onMedia.&&.!this.target.c |
dcf00 | 6f 6e 74 72 6f 6c 73 29 0a 20 20 20 20 74 68 69 73 2e 73 68 6f 77 49 74 65 6d 28 22 63 6f 6e 74 | ontrols).....this.showItem("cont |
dcf20 | 65 78 74 2d 6d 65 64 69 61 2d 68 69 64 65 63 6f 6e 74 72 6f 6c 73 22 2c 20 6f 6e 4d 65 64 69 61 | ext-media-hidecontrols",.onMedia |
dcf40 | 20 26 26 20 74 68 69 73 2e 74 61 72 67 65 74 2e 63 6f 6e 74 72 6f 6c 73 29 0a 20 20 20 20 2f 2f | .&&.this.target.controls).....// |
dcf60 | 20 44 69 73 61 62 6c 65 20 74 68 65 6d 20 77 68 65 6e 20 74 68 65 72 65 20 69 73 6e 27 74 20 61 | .Disable.them.when.there.isn't.a |
dcf80 | 20 76 61 6c 69 64 20 6d 65 64 69 61 20 73 6f 75 72 63 65 20 6c 6f 61 64 65 64 2e 0a 20 20 20 20 | .valid.media.source.loaded...... |
dcfa0 | 69 66 20 28 6f 6e 4d 65 64 69 61 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 68 61 73 45 72 72 6f | if.(onMedia).{.......var.hasErro |
dcfc0 | 72 20 3d 20 28 74 68 69 73 2e 74 61 72 67 65 74 2e 65 72 72 6f 72 20 21 3d 20 6e 75 6c 6c 29 3b | r.=.(this.target.error.!=.null); |
dcfe0 | 0a 20 20 20 20 20 20 74 68 69 73 2e 73 65 74 49 74 65 6d 41 74 74 72 28 22 63 6f 6e 74 65 78 74 | .......this.setItemAttr("context |
dd000 | 2d 6d 65 64 69 61 2d 70 6c 61 79 22 2c 20 20 22 64 69 73 61 62 6c 65 64 22 2c 20 68 61 73 45 72 | -media-play",.."disabled",.hasEr |
dd020 | 72 6f 72 29 3b 0a 20 20 20 20 20 20 74 68 69 73 2e 73 65 74 49 74 65 6d 41 74 74 72 28 22 63 6f | ror);.......this.setItemAttr("co |
dd040 | 6e 74 65 78 74 2d 6d 65 64 69 61 2d 70 61 75 73 65 22 2c 20 22 64 69 73 61 62 6c 65 64 22 2c 20 | ntext-media-pause",."disabled",. |
dd060 | 68 61 73 45 72 72 6f 72 29 3b 0a 20 20 20 20 20 20 74 68 69 73 2e 73 65 74 49 74 65 6d 41 74 74 | hasError);.......this.setItemAtt |
dd080 | 72 28 22 63 6f 6e 74 65 78 74 2d 6d 65 64 69 61 2d 6d 75 74 65 22 2c 20 20 20 22 64 69 73 61 62 | r("context-media-mute",..."disab |
dd0a0 | 6c 65 64 22 2c 20 68 61 73 45 72 72 6f 72 29 3b 0a 20 20 20 20 20 20 74 68 69 73 2e 73 65 74 49 | led",.hasError);.......this.setI |
dd0c0 | 74 65 6d 41 74 74 72 28 22 63 6f 6e 74 65 78 74 2d 6d 65 64 69 61 2d 75 6e 6d 75 74 65 22 2c 20 | temAttr("context-media-unmute",. |
dd0e0 | 22 64 69 73 61 62 6c 65 64 22 2c 20 68 61 73 45 72 72 6f 72 29 3b 0a 20 20 20 20 20 20 74 68 69 | "disabled",.hasError);.......thi |
dd100 | 73 2e 73 65 74 49 74 65 6d 41 74 74 72 28 22 63 6f 6e 74 65 78 74 2d 6d 65 64 69 61 2d 73 68 6f | s.setItemAttr("context-media-sho |
dd120 | 77 63 6f 6e 74 72 6f 6c 73 22 2c 20 22 64 69 73 61 62 6c 65 64 22 2c 20 68 61 73 45 72 72 6f 72 | wcontrols",."disabled",.hasError |
dd140 | 29 3b 0a 20 20 20 20 20 20 74 68 69 73 2e 73 65 74 49 74 65 6d 41 74 74 72 28 22 63 6f 6e 74 65 | );.......this.setItemAttr("conte |
dd160 | 78 74 2d 6d 65 64 69 61 2d 68 69 64 65 63 6f 6e 74 72 6f 6c 73 22 2c 20 22 64 69 73 61 62 6c 65 | xt-media-hidecontrols",."disable |
dd180 | 64 22 2c 20 68 61 73 45 72 72 6f 72 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 74 68 69 73 2e 73 68 | d",.hasError);.....}.....this.sh |
dd1a0 | 6f 77 49 74 65 6d 28 22 63 6f 6e 74 65 78 74 2d 6d 65 64 69 61 2d 73 65 70 2d 63 6f 6d 6d 61 6e | owItem("context-media-sep-comman |
dd1c0 | 64 73 22 2c 20 20 6f 6e 4d 65 64 69 61 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2f 20 53 65 74 20 76 | ds",..onMedia);...},....//.Set.v |
dd1e0 | 61 72 69 6f 75 73 20 63 6f 6e 74 65 78 74 20 6d 65 6e 75 20 61 74 74 72 69 62 75 74 65 73 20 62 | arious.context.menu.attributes.b |
dd200 | 61 73 65 64 20 6f 6e 20 74 68 65 20 73 74 61 74 65 20 6f 66 20 74 68 65 20 77 6f 72 6c 64 2e 0a | ased.on.the.state.of.the.world.. |
dd220 | 20 20 73 65 74 54 61 72 67 65 74 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 4e 6f 64 65 2c 20 61 52 | ..setTarget:.function.(aNode,.aR |
dd240 | 61 6e 67 65 50 61 72 65 6e 74 2c 20 61 52 61 6e 67 65 4f 66 66 73 65 74 29 20 7b 0a 20 20 20 20 | angeParent,.aRangeOffset).{..... |
dd260 | 63 6f 6e 73 74 20 78 75 6c 4e 53 20 3d 20 22 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c | const.xulNS.=."http://www.mozill |
dd280 | 61 2e 6f 72 67 2f 6b 65 79 6d 61 73 74 65 72 2f 67 61 74 65 6b 65 65 70 65 72 2f 74 68 65 72 65 | a.org/keymaster/gatekeeper/there |
dd2a0 | 2e 69 73 2e 6f 6e 6c 79 2e 78 75 6c 22 3b 0a 20 20 20 20 69 66 20 28 61 4e 6f 64 65 2e 6e 61 6d | .is.only.xul";.....if.(aNode.nam |
dd2c0 | 65 73 70 61 63 65 55 52 49 20 3d 3d 20 78 75 6c 4e 53 20 7c 7c 0a 20 20 20 20 20 20 20 20 74 68 | espaceURI.==.xulNS.||.........th |
dd2e0 | 69 73 2e 69 73 54 61 72 67 65 74 41 46 6f 72 6d 43 6f 6e 74 72 6f 6c 28 61 4e 6f 64 65 29 29 20 | is.isTargetAFormControl(aNode)). |
dd300 | 7b 0a 20 20 20 20 20 20 74 68 69 73 2e 73 68 6f 75 6c 64 44 69 73 70 6c 61 79 20 3d 20 66 61 6c | {.......this.shouldDisplay.=.fal |
dd320 | 73 65 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 2f 2f 20 49 6e 69 74 69 61 6c 69 7a 65 20 63 6f 6e | se;.....}......//.Initialize.con |
dd340 | 74 65 78 74 75 61 6c 20 69 6e 66 6f 2e 0a 20 20 20 20 74 68 69 73 2e 6f 6e 49 6d 61 67 65 20 20 | textual.info......this.onImage.. |
dd360 | 20 20 20 20 20 20 20 20 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 74 68 69 73 2e 6f 6e 4c 6f 61 | .........=.false;.....this.onLoa |
dd380 | 64 65 64 49 6d 61 67 65 20 20 20 20 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 74 68 69 73 2e 6f | dedImage.....=.false;.....this.o |
dd3a0 | 6e 43 6f 6d 70 6c 65 74 65 64 49 6d 61 67 65 20 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 74 68 | nCompletedImage..=.false;.....th |
dd3c0 | 69 73 2e 6f 6e 53 74 61 6e 64 61 6c 6f 6e 65 49 6d 61 67 65 20 3d 20 66 61 6c 73 65 3b 0a 20 20 | is.onStandaloneImage.=.false;... |
dd3e0 | 20 20 74 68 69 73 2e 6f 6e 43 61 6e 76 61 73 20 20 20 20 20 20 20 20 20 20 3d 20 66 61 6c 73 65 | ..this.onCanvas..........=.false |
dd400 | 3b 0a 20 20 20 20 74 68 69 73 2e 6f 6e 56 69 64 65 6f 20 20 20 20 20 20 20 20 20 20 20 3d 20 66 | ;.....this.onVideo...........=.f |
dd420 | 61 6c 73 65 3b 0a 20 20 20 20 74 68 69 73 2e 6f 6e 41 75 64 69 6f 20 20 20 20 20 20 20 20 20 20 | alse;.....this.onAudio.......... |
dd440 | 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 74 68 69 73 2e 6f 6e 4d 65 74 61 44 61 74 61 49 74 65 | .=.false;.....this.onMetaDataIte |
dd460 | 6d 20 20 20 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 74 68 69 73 2e 6f 6e 54 65 78 74 49 6e 70 | m....=.false;.....this.onTextInp |
dd480 | 75 74 20 20 20 20 20 20 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 74 68 69 73 2e 6f 6e 4b 65 79 | ut.......=.false;.....this.onKey |
dd4a0 | 77 6f 72 64 46 69 65 6c 64 20 20 20 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 74 68 69 73 2e 6d | wordField....=.false;.....this.m |
dd4c0 | 65 64 69 61 55 52 4c 20 20 20 20 20 20 20 20 20 20 3d 20 22 22 3b 0a 20 20 20 20 74 68 69 73 2e | ediaURL..........=."";.....this. |
dd4e0 | 6f 6e 4c 69 6e 6b 20 20 20 20 20 20 20 20 20 20 20 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 74 | onLink............=.false;.....t |
dd500 | 68 69 73 2e 6c 69 6e 6b 55 52 4c 20 20 20 20 20 20 20 20 20 20 20 3d 20 22 22 3b 0a 20 20 20 20 | his.linkURL...........=."";..... |
dd520 | 74 68 69 73 2e 6c 69 6e 6b 55 52 49 20 20 20 20 20 20 20 20 20 20 20 3d 20 6e 75 6c 6c 3b 0a 20 | this.linkURI...........=.null;.. |
dd540 | 20 20 20 74 68 69 73 2e 6c 69 6e 6b 50 72 6f 74 6f 63 6f 6c 20 20 20 20 20 20 3d 20 22 22 3b 0a | ...this.linkProtocol......=."";. |
dd560 | 20 20 20 20 74 68 69 73 2e 6f 6e 4d 61 74 68 4d 4c 20 20 20 20 20 20 20 20 20 20 3d 20 66 61 6c | ....this.onMathML..........=.fal |
dd580 | 73 65 3b 0a 20 20 20 20 74 68 69 73 2e 69 6e 46 72 61 6d 65 20 20 20 20 20 20 20 20 20 20 20 3d | se;.....this.inFrame...........= |
dd5a0 | 20 66 61 6c 73 65 3b 0a 20 20 20 20 74 68 69 73 2e 68 61 73 42 47 49 6d 61 67 65 20 20 20 20 20 | .false;.....this.hasBGImage..... |
dd5c0 | 20 20 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 74 68 69 73 2e 62 67 49 6d 61 67 65 55 52 4c 20 | ...=.false;.....this.bgImageURL. |
dd5e0 | 20 20 20 20 20 20 20 3d 20 22 22 3b 0a 20 20 20 20 74 68 69 73 2e 70 6f 73 73 69 62 6c 65 53 70 | .......=."";.....this.possibleSp |
dd600 | 65 6c 6c 43 68 65 63 6b 69 6e 67 20 3d 20 66 61 6c 73 65 3b 0a 0a 20 20 20 20 2f 2f 20 43 6c 65 | ellChecking.=.false;......//.Cle |
dd620 | 61 72 20 61 6e 79 20 6f 6c 64 20 73 70 65 6c 6c 63 68 65 63 6b 69 6e 67 20 69 74 65 6d 73 20 66 | ar.any.old.spellchecking.items.f |
dd640 | 72 6f 6d 20 74 68 65 20 6d 65 6e 75 2c 20 74 68 69 73 20 75 73 65 64 20 74 6f 0a 20 20 20 20 2f | rom.the.menu,.this.used.to...../ |
dd660 | 2f 20 62 65 20 69 6e 20 74 68 65 20 6d 65 6e 75 20 68 69 64 69 6e 67 20 63 6f 64 65 20 62 75 74 | /.be.in.the.menu.hiding.code.but |
dd680 | 20 77 61 73 6e 27 74 20 67 65 74 74 69 6e 67 20 63 61 6c 6c 65 64 20 69 6e 20 61 6c 6c 0a 20 20 | .wasn't.getting.called.in.all... |
dd6a0 | 20 20 2f 2f 20 73 69 74 75 61 74 69 6f 6e 73 2e 20 48 65 72 65 2c 20 77 65 20 63 61 6e 20 65 6e | ..//.situations..Here,.we.can.en |
dd6c0 | 73 75 72 65 20 69 74 20 67 65 74 73 20 63 6c 65 61 6e 65 64 20 75 70 20 61 6e 79 20 74 69 6d 65 | sure.it.gets.cleaned.up.any.time |
dd6e0 | 20 74 68 65 0a 20 20 20 20 2f 2f 20 6d 65 6e 75 20 69 73 20 73 68 6f 77 6e 2e 20 4e 6f 74 65 3a | .the.....//.menu.is.shown..Note: |
dd700 | 20 6d 75 73 74 20 62 65 20 62 65 66 6f 72 65 20 75 6e 69 6e 69 74 20 62 65 63 61 75 73 65 20 74 | .must.be.before.uninit.because.t |
dd720 | 68 61 74 20 63 6c 65 61 72 73 20 74 68 65 0a 20 20 20 20 2f 2f 20 69 6e 74 65 72 6e 61 6c 20 76 | hat.clears.the.....//.internal.v |
dd740 | 61 72 73 0a 20 20 20 20 49 6e 6c 69 6e 65 53 70 65 6c 6c 43 68 65 63 6b 65 72 55 49 2e 63 6c 65 | ars.....InlineSpellCheckerUI.cle |
dd760 | 61 72 53 75 67 67 65 73 74 69 6f 6e 73 46 72 6f 6d 4d 65 6e 75 28 29 3b 0a 20 20 20 20 49 6e 6c | arSuggestionsFromMenu();.....Inl |
dd780 | 69 6e 65 53 70 65 6c 6c 43 68 65 63 6b 65 72 55 49 2e 63 6c 65 61 72 44 69 63 74 69 6f 6e 61 72 | ineSpellCheckerUI.clearDictionar |
dd7a0 | 79 4c 69 73 74 46 72 6f 6d 4d 65 6e 75 28 29 3b 0a 0a 20 20 20 20 49 6e 6c 69 6e 65 53 70 65 6c | yListFromMenu();......InlineSpel |
dd7c0 | 6c 43 68 65 63 6b 65 72 55 49 2e 75 6e 69 6e 69 74 28 29 3b 0a 0a 20 20 20 20 2f 2f 20 52 65 6d | lCheckerUI.uninit();......//.Rem |
dd7e0 | 65 6d 62 65 72 20 74 68 65 20 6e 6f 64 65 20 74 68 61 74 20 77 61 73 20 63 6c 69 63 6b 65 64 2e | ember.the.node.that.was.clicked. |
dd800 | 0a 20 20 20 20 74 68 69 73 2e 74 61 72 67 65 74 20 3d 20 61 4e 6f 64 65 3b 0a 0a 20 20 20 20 2f | .....this.target.=.aNode;....../ |
dd820 | 2f 20 46 69 72 73 74 2c 20 64 6f 20 63 68 65 63 6b 73 20 66 6f 72 20 6e 6f 64 65 73 20 74 68 61 | /.First,.do.checks.for.nodes.tha |
dd840 | 74 20 6e 65 76 65 72 20 68 61 76 65 20 63 68 69 6c 64 72 65 6e 2e 0a 20 20 20 20 69 66 20 28 74 | t.never.have.children......if.(t |
dd860 | 68 69 73 2e 74 61 72 67 65 74 2e 6e 6f 64 65 54 79 70 65 20 3d 3d 20 4e 6f 64 65 2e 45 4c 45 4d | his.target.nodeType.==.Node.ELEM |
dd880 | 45 4e 54 5f 4e 4f 44 45 29 20 7b 0a 20 20 20 20 20 20 2f 2f 20 53 65 65 20 69 66 20 74 68 65 20 | ENT_NODE).{.......//.See.if.the. |
dd8a0 | 75 73 65 72 20 63 6c 69 63 6b 65 64 20 6f 6e 20 61 6e 20 69 6d 61 67 65 2e 0a 20 20 20 20 20 20 | user.clicked.on.an.image........ |
dd8c0 | 69 66 20 28 74 68 69 73 2e 74 61 72 67 65 74 20 69 6e 73 74 61 6e 63 65 6f 66 20 43 69 2e 6e 73 | if.(this.target.instanceof.Ci.ns |
dd8e0 | 49 49 6d 61 67 65 4c 6f 61 64 69 6e 67 43 6f 6e 74 65 6e 74 20 26 26 0a 20 20 20 20 20 20 20 20 | IImageLoadingContent.&&......... |
dd900 | 20 20 74 68 69 73 2e 74 61 72 67 65 74 2e 63 75 72 72 65 6e 74 55 52 49 29 20 7b 0a 20 20 20 20 | ..this.target.currentURI).{..... |
dd920 | 20 20 20 20 74 68 69 73 2e 6f 6e 49 6d 61 67 65 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 | ....this.onImage.=.true;........ |
dd940 | 20 74 68 69 73 2e 6f 6e 4d 65 74 61 44 61 74 61 49 74 65 6d 20 3d 20 74 72 75 65 3b 0a 20 20 20 | .this.onMetaDataItem.=.true;.... |
dd960 | 20 20 20 20 20 20 20 20 20 20 20 20 20 0a 20 20 20 20 20 20 20 20 76 61 72 20 72 65 71 75 65 73 | ......................var.reques |
dd980 | 74 20 3d 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 74 61 72 67 65 74 2e 67 65 74 52 65 71 | t.=...........this.target.getReq |
dd9a0 | 75 65 73 74 28 43 69 2e 6e 73 49 49 6d 61 67 65 4c 6f 61 64 69 6e 67 43 6f 6e 74 65 6e 74 2e 43 | uest(Ci.nsIImageLoadingContent.C |
dd9c0 | 55 52 52 45 4e 54 5f 52 45 51 55 45 53 54 29 3b 0a 20 20 20 20 20 20 20 20 69 66 20 28 72 65 71 | URRENT_REQUEST);.........if.(req |
dd9e0 | 75 65 73 74 20 26 26 20 28 72 65 71 75 65 73 74 2e 69 6d 61 67 65 53 74 61 74 75 73 20 26 20 72 | uest.&&.(request.imageStatus.&.r |
dda00 | 65 71 75 65 73 74 2e 53 54 41 54 55 53 5f 53 49 5a 45 5f 41 56 41 49 4c 41 42 4c 45 29 29 0a 20 | equest.STATUS_SIZE_AVAILABLE)).. |
dda20 | 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6f 6e 4c 6f 61 64 65 64 49 6d 61 67 65 20 3d 20 74 72 | .........this.onLoadedImage.=.tr |
dda40 | 75 65 3b 0a 20 20 20 20 20 20 20 20 69 66 20 28 72 65 71 75 65 73 74 20 26 26 20 28 72 65 71 75 | ue;.........if.(request.&&.(requ |
dda60 | 65 73 74 2e 69 6d 61 67 65 53 74 61 74 75 73 20 26 20 72 65 71 75 65 73 74 2e 53 54 41 54 55 53 | est.imageStatus.&.request.STATUS |
dda80 | 5f 4c 4f 41 44 5f 43 4f 4d 50 4c 45 54 45 29 29 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e | _LOAD_COMPLETE))...........this. |
ddaa0 | 6f 6e 43 6f 6d 70 6c 65 74 65 64 49 6d 61 67 65 20 3d 20 74 72 75 65 3b 0a 0a 20 20 20 20 20 20 | onCompletedImage.=.true;........ |
ddac0 | 20 20 74 68 69 73 2e 6d 65 64 69 61 55 52 4c 20 3d 20 74 68 69 73 2e 74 61 72 67 65 74 2e 63 75 | ..this.mediaURL.=.this.target.cu |
ddae0 | 72 72 65 6e 74 55 52 49 2e 73 70 65 63 3b 0a 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e | rrentURI.spec;.........if.(this. |
ddb00 | 74 61 72 67 65 74 2e 6f 77 6e 65 72 44 6f 63 75 6d 65 6e 74 20 69 6e 73 74 61 6e 63 65 6f 66 20 | target.ownerDocument.instanceof. |
ddb20 | 49 6d 61 67 65 44 6f 63 75 6d 65 6e 74 29 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6f 6e | ImageDocument)...........this.on |
ddb40 | 53 74 61 6e 64 61 6c 6f 6e 65 49 6d 61 67 65 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 7d 0a | StandaloneImage.=.true;.......}. |
ddb60 | 20 20 20 20 20 20 65 6c 73 65 20 69 66 20 28 74 68 69 73 2e 74 61 72 67 65 74 20 69 6e 73 74 61 | ......else.if.(this.target.insta |
ddb80 | 6e 63 65 6f 66 20 48 54 4d 4c 43 61 6e 76 61 73 45 6c 65 6d 65 6e 74 29 20 7b 0a 20 20 20 20 20 | nceof.HTMLCanvasElement).{...... |
ddba0 | 20 20 20 74 68 69 73 2e 6f 6e 43 61 6e 76 61 73 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 7d | ...this.onCanvas.=.true;.......} |
ddbc0 | 0a 20 20 20 20 20 20 65 6c 73 65 20 69 66 20 28 74 68 69 73 2e 74 61 72 67 65 74 20 69 6e 73 74 | .......else.if.(this.target.inst |
ddbe0 | 61 6e 63 65 6f 66 20 48 54 4d 4c 56 69 64 65 6f 45 6c 65 6d 65 6e 74 29 20 7b 0a 20 20 20 20 20 | anceof.HTMLVideoElement).{...... |
ddc00 | 20 20 20 74 68 69 73 2e 6f 6e 56 69 64 65 6f 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 | ...this.onVideo.=.true;......... |
ddc20 | 74 68 69 73 2e 6d 65 64 69 61 55 52 4c 20 3d 20 74 68 69 73 2e 74 61 72 67 65 74 2e 63 75 72 72 | this.mediaURL.=.this.target.curr |
ddc40 | 65 6e 74 53 72 63 20 7c 7c 20 74 68 69 73 2e 74 61 72 67 65 74 2e 73 72 63 3b 0a 20 20 20 20 20 | entSrc.||.this.target.src;...... |
ddc60 | 20 7d 0a 20 20 20 20 20 20 65 6c 73 65 20 69 66 20 28 74 68 69 73 2e 74 61 72 67 65 74 20 69 6e | .}.......else.if.(this.target.in |
ddc80 | 73 74 61 6e 63 65 6f 66 20 48 54 4d 4c 41 75 64 69 6f 45 6c 65 6d 65 6e 74 29 20 7b 0a 20 20 20 | stanceof.HTMLAudioElement).{.... |
ddca0 | 20 20 20 20 20 74 68 69 73 2e 6f 6e 41 75 64 69 6f 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 | .....this.onAudio.=.true;....... |
ddcc0 | 20 20 74 68 69 73 2e 6d 65 64 69 61 55 52 4c 20 3d 20 74 68 69 73 2e 74 61 72 67 65 74 2e 63 75 | ..this.mediaURL.=.this.target.cu |
ddce0 | 72 72 65 6e 74 53 72 63 20 7c 7c 20 74 68 69 73 2e 74 61 72 67 65 74 2e 73 72 63 3b 0a 20 20 20 | rrentSrc.||.this.target.src;.... |
ddd00 | 20 20 20 7d 0a 20 20 20 20 20 20 65 6c 73 65 20 69 66 20 28 74 68 69 73 2e 74 61 72 67 65 74 20 | ...}.......else.if.(this.target. |
ddd20 | 69 6e 73 74 61 6e 63 65 6f 66 20 48 54 4d 4c 49 6e 70 75 74 45 6c 65 6d 65 6e 74 20 29 20 7b 0a | instanceof.HTMLInputElement.).{. |
ddd40 | 20 20 20 20 20 20 20 20 74 68 69 73 2e 6f 6e 54 65 78 74 49 6e 70 75 74 20 3d 20 74 68 69 73 2e | ........this.onTextInput.=.this. |
ddd60 | 69 73 54 61 72 67 65 74 41 54 65 78 74 42 6f 78 28 74 68 69 73 2e 74 61 72 67 65 74 29 3b 0a 20 | isTargetATextBox(this.target);.. |
ddd80 | 20 20 20 20 20 20 20 2f 2f 20 61 6c 6c 6f 77 20 73 70 65 6c 6c 63 68 65 63 6b 69 6e 67 20 55 49 | .......//.allow.spellchecking.UI |
ddda0 | 20 6f 6e 20 61 6c 6c 20 77 72 69 74 61 62 6c 65 20 74 65 78 74 20 62 6f 78 65 73 20 65 78 63 65 | .on.all.writable.text.boxes.exce |
dddc0 | 70 74 20 70 61 73 73 77 6f 72 64 73 0a 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 6f 6e | pt.passwords.........if.(this.on |
ddde0 | 54 65 78 74 49 6e 70 75 74 20 26 26 20 21 20 74 68 69 73 2e 74 61 72 67 65 74 2e 72 65 61 64 4f | TextInput.&&.!.this.target.readO |
dde00 | 6e 6c 79 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 74 61 72 67 65 74 2e 74 | nly.&&.............this.target.t |
dde20 | 79 70 65 20 21 3d 20 22 70 61 73 73 77 6f 72 64 22 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 74 | ype.!=."password").{...........t |
dde40 | 68 69 73 2e 70 6f 73 73 69 62 6c 65 53 70 65 6c 6c 43 68 65 63 6b 69 6e 67 20 3d 20 74 72 75 65 | his.possibleSpellChecking.=.true |
dde60 | 3b 0a 20 20 20 20 20 20 20 20 20 20 49 6e 6c 69 6e 65 53 70 65 6c 6c 43 68 65 63 6b 65 72 55 49 | ;...........InlineSpellCheckerUI |
dde80 | 2e 69 6e 69 74 28 74 68 69 73 2e 74 61 72 67 65 74 2e 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 | .init(this.target.QueryInterface |
ddea0 | 28 43 69 2e 6e 73 49 44 4f 4d 4e 53 45 64 69 74 61 62 6c 65 45 6c 65 6d 65 6e 74 29 2e 65 64 69 | (Ci.nsIDOMNSEditableElement).edi |
ddec0 | 74 6f 72 29 3b 0a 20 20 20 20 20 20 20 20 20 20 49 6e 6c 69 6e 65 53 70 65 6c 6c 43 68 65 63 6b | tor);...........InlineSpellCheck |
ddee0 | 65 72 55 49 2e 69 6e 69 74 46 72 6f 6d 45 76 65 6e 74 28 61 52 61 6e 67 65 50 61 72 65 6e 74 2c | erUI.initFromEvent(aRangeParent, |
ddf00 | 20 61 52 61 6e 67 65 4f 66 66 73 65 74 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 | .aRangeOffset);.........}....... |
ddf20 | 20 20 74 68 69 73 2e 6f 6e 4b 65 79 77 6f 72 64 46 69 65 6c 64 20 3d 20 74 68 69 73 2e 69 73 54 | ..this.onKeywordField.=.this.isT |
ddf40 | 61 72 67 65 74 41 4b 65 79 77 6f 72 64 46 69 65 6c 64 28 74 68 69 73 2e 74 61 72 67 65 74 29 3b | argetAKeywordField(this.target); |
ddf60 | 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 65 6c 73 65 20 69 66 20 28 74 68 69 73 2e 74 61 72 | .......}.......else.if.(this.tar |
ddf80 | 67 65 74 20 69 6e 73 74 61 6e 63 65 6f 66 20 48 54 4d 4c 54 65 78 74 41 72 65 61 45 6c 65 6d 65 | get.instanceof.HTMLTextAreaEleme |
ddfa0 | 6e 74 29 20 7b 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 6f 6e 54 65 78 74 49 6e 70 75 74 20 3d | nt).{.........this.onTextInput.= |
ddfc0 | 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 69 66 20 28 21 74 68 69 73 2e 74 61 72 67 65 74 2e | .true;.........if.(!this.target. |
ddfe0 | 72 65 61 64 4f 6e 6c 79 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 70 6f 73 73 69 | readOnly).{...........this.possi |
de000 | 62 6c 65 53 70 65 6c 6c 43 68 65 63 6b 69 6e 67 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 | bleSpellChecking.=.true;........ |
de020 | 20 20 20 49 6e 6c 69 6e 65 53 70 65 6c 6c 43 68 65 63 6b 65 72 55 49 2e 69 6e 69 74 28 74 68 69 | ...InlineSpellCheckerUI.init(thi |
de040 | 73 2e 74 61 72 67 65 74 2e 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 28 43 69 2e 6e 73 49 44 4f | s.target.QueryInterface(Ci.nsIDO |
de060 | 4d 4e 53 45 64 69 74 61 62 6c 65 45 6c 65 6d 65 6e 74 29 2e 65 64 69 74 6f 72 29 3b 0a 20 20 20 | MNSEditableElement).editor);.... |
de080 | 20 20 20 20 20 20 20 49 6e 6c 69 6e 65 53 70 65 6c 6c 43 68 65 63 6b 65 72 55 49 2e 69 6e 69 74 | .......InlineSpellCheckerUI.init |
de0a0 | 46 72 6f 6d 45 76 65 6e 74 28 61 52 61 6e 67 65 50 61 72 65 6e 74 2c 20 61 52 61 6e 67 65 4f 66 | FromEvent(aRangeParent,.aRangeOf |
de0c0 | 66 73 65 74 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 65 | fset);.........}.......}.......e |
de0e0 | 6c 73 65 20 69 66 20 28 74 68 69 73 2e 74 61 72 67 65 74 20 69 6e 73 74 61 6e 63 65 6f 66 20 48 | lse.if.(this.target.instanceof.H |
de100 | 54 4d 4c 48 74 6d 6c 45 6c 65 6d 65 6e 74 29 20 7b 0a 20 20 20 20 20 20 20 20 76 61 72 20 62 6f | TMLHtmlElement).{.........var.bo |
de120 | 64 79 45 6c 74 20 3d 20 74 68 69 73 2e 74 61 72 67 65 74 2e 6f 77 6e 65 72 44 6f 63 75 6d 65 6e | dyElt.=.this.target.ownerDocumen |
de140 | 74 2e 62 6f 64 79 3b 0a 20 20 20 20 20 20 20 20 69 66 20 28 62 6f 64 79 45 6c 74 29 20 7b 0a 20 | t.body;.........if.(bodyElt).{.. |
de160 | 20 20 20 20 20 20 20 20 20 76 61 72 20 63 6f 6d 70 75 74 65 64 55 52 4c 20 3d 20 74 68 69 73 2e | .........var.computedURL.=.this. |
de180 | 67 65 74 43 6f 6d 70 75 74 65 64 55 52 4c 28 62 6f 64 79 45 6c 74 2c 20 22 62 61 63 6b 67 72 6f | getComputedURL(bodyElt,."backgro |
de1a0 | 75 6e 64 2d 69 6d 61 67 65 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 63 6f 6d 70 75 | und-image");...........if.(compu |
de1c0 | 74 65 64 55 52 4c 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 68 61 73 42 47 | tedURL).{.............this.hasBG |
de1e0 | 49 6d 61 67 65 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 62 | Image.=.true;.............this.b |
de200 | 67 49 6d 61 67 65 55 52 4c 20 3d 20 6d 61 6b 65 55 52 4c 41 62 73 6f 6c 75 74 65 28 62 6f 64 79 | gImageURL.=.makeURLAbsolute(body |
de220 | 45 6c 74 2e 62 61 73 65 55 52 49 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | Elt.baseURI,.................... |
de240 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6d 70 75 | ...........................compu |
de260 | 74 65 64 55 52 4c 29 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 7d 0a 20 | tedURL);...........}.........}.. |
de280 | 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 0a 20 20 20 20 2f 2f 20 53 65 63 6f 6e 64 2c 20 62 75 62 | .....}.....}......//.Second,.bub |
de2a0 | 62 6c 65 20 6f 75 74 2c 20 6c 6f 6f 6b 69 6e 67 20 66 6f 72 20 69 74 65 6d 73 20 6f 66 20 69 6e | ble.out,.looking.for.items.of.in |
de2c0 | 74 65 72 65 73 74 20 74 68 61 74 20 63 61 6e 20 68 61 76 65 20 63 68 69 6c 64 65 6e 2e 0a 20 20 | terest.that.can.have.childen.... |
de2e0 | 20 20 2f 2f 20 41 6c 77 61 79 73 20 70 69 63 6b 20 74 68 65 20 69 6e 6e 65 72 6d 6f 73 74 20 6c | ..//.Always.pick.the.innermost.l |
de300 | 69 6e 6b 2c 20 62 61 63 6b 67 72 6f 75 6e 64 20 69 6d 61 67 65 2c 20 65 74 63 2e 0a 20 20 20 20 | ink,.background.image,.etc...... |
de320 | 63 6f 6e 73 74 20 58 4d 4c 4e 53 20 3d 20 22 68 74 74 70 3a 2f 2f 77 77 77 2e 77 33 2e 6f 72 67 | const.XMLNS.=."http://www.w3.org |
de340 | 2f 58 4d 4c 2f 31 39 39 38 2f 6e 61 6d 65 73 70 61 63 65 22 3b 0a 20 20 20 20 76 61 72 20 65 6c | /XML/1998/namespace";.....var.el |
de360 | 65 6d 20 3d 20 74 68 69 73 2e 74 61 72 67 65 74 3b 0a 20 20 20 20 77 68 69 6c 65 20 28 65 6c 65 | em.=.this.target;.....while.(ele |
de380 | 6d 29 20 7b 0a 20 20 20 20 20 20 69 66 20 28 65 6c 65 6d 2e 6e 6f 64 65 54 79 70 65 20 3d 3d 20 | m).{.......if.(elem.nodeType.==. |
de3a0 | 4e 6f 64 65 2e 45 4c 45 4d 45 4e 54 5f 4e 4f 44 45 29 20 7b 0a 20 20 20 20 20 20 20 20 2f 2f 20 | Node.ELEMENT_NODE).{.........//. |
de3c0 | 4c 69 6e 6b 3f 0a 20 20 20 20 20 20 20 20 69 66 20 28 21 74 68 69 73 2e 6f 6e 4c 69 6e 6b 20 26 | Link?.........if.(!this.onLink.& |
de3e0 | 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 28 28 65 6c 65 6d 20 69 6e 73 74 61 6e 63 65 6f 66 | &..............((elem.instanceof |
de400 | 20 48 54 4d 4c 41 6e 63 68 6f 72 45 6c 65 6d 65 6e 74 20 26 26 20 65 6c 65 6d 2e 68 72 65 66 29 | .HTMLAnchorElement.&&.elem.href) |
de420 | 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 65 6c 65 6d 20 69 6e 73 74 61 6e 63 65 | .||...............(elem.instance |
de440 | 6f 66 20 48 54 4d 4c 41 72 65 61 45 6c 65 6d 65 6e 74 20 26 26 20 65 6c 65 6d 2e 68 72 65 66 29 | of.HTMLAreaElement.&&.elem.href) |
de460 | 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 6c 65 6d 20 69 6e 73 74 61 6e 63 65 6f | .||...............elem.instanceo |
de480 | 66 20 48 54 4d 4c 4c 69 6e 6b 45 6c 65 6d 65 6e 74 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 | f.HTMLLinkElement.||............ |
de4a0 | 20 20 20 65 6c 65 6d 2e 67 65 74 41 74 74 72 69 62 75 74 65 4e 53 28 22 68 74 74 70 3a 2f 2f 77 | ...elem.getAttributeNS("http://w |
de4c0 | 77 77 2e 77 33 2e 6f 72 67 2f 31 39 39 39 2f 78 6c 69 6e 6b 22 2c 20 22 74 79 70 65 22 29 20 3d | ww.w3.org/1999/xlink",."type").= |
de4e0 | 3d 20 22 73 69 6d 70 6c 65 22 29 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 0a 20 20 20 20 | =."simple")).{.................. |
de500 | 20 20 20 20 20 20 2f 2f 20 54 61 72 67 65 74 20 69 73 20 61 20 6c 69 6e 6b 20 6f 72 20 61 20 64 | ......//.Target.is.a.link.or.a.d |
de520 | 65 73 63 65 6e 64 61 6e 74 20 6f 66 20 61 20 6c 69 6e 6b 2e 0a 20 20 20 20 20 20 20 20 20 20 74 | escendant.of.a.link............t |
de540 | 68 69 73 2e 6f 6e 4c 69 6e 6b 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 | his.onLink.=.true;...........thi |
de560 | 73 2e 6f 6e 4d 65 74 61 44 61 74 61 49 74 65 6d 20 3d 20 74 72 75 65 3b 0a 0a 20 20 20 20 20 20 | s.onMetaDataItem.=.true;........ |
de580 | 20 20 20 20 2f 2f 20 78 78 78 6d 70 63 3a 20 74 68 69 73 20 69 73 20 6b 69 6e 64 20 6f 66 20 61 | ....//.xxxmpc:.this.is.kind.of.a |
de5a0 | 20 68 61 63 6b 20 74 6f 20 77 6f 72 6b 20 61 72 6f 75 6e 64 20 61 20 47 65 63 6b 6f 20 62 75 67 | .hack.to.work.around.a.Gecko.bug |
de5c0 | 20 28 73 65 65 20 62 75 67 20 32 36 36 39 33 32 29 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 77 | .(see.bug.266932)...........//.w |
de5e0 | 65 27 72 65 20 67 6f 69 6e 67 20 74 6f 20 77 61 6c 6b 20 75 70 20 74 68 65 20 44 4f 4d 20 6c 6f | e're.going.to.walk.up.the.DOM.lo |
de600 | 6f 6b 69 6e 67 20 66 6f 72 20 61 20 70 61 72 65 6e 74 20 6c 69 6e 6b 20 6e 6f 64 65 2c 0a 20 20 | oking.for.a.parent.link.node,... |
de620 | 20 20 20 20 20 20 20 20 2f 2f 20 74 68 69 73 20 73 68 6f 75 6c 64 6e 27 74 20 62 65 20 6e 65 63 | ........//.this.shouldn't.be.nec |
de640 | 65 73 73 61 72 79 2c 20 62 75 74 20 77 65 27 72 65 20 6d 61 74 63 68 69 6e 67 20 74 68 65 20 65 | essary,.but.we're.matching.the.e |
de660 | 78 69 73 74 69 6e 67 20 62 65 68 61 76 69 6f 75 72 20 66 6f 72 20 6c 65 66 74 20 63 6c 69 63 6b | xisting.behaviour.for.left.click |
de680 | 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 72 65 61 6c 4c 69 6e 6b 20 3d 20 65 6c 65 6d 3b 0a | ...........var.realLink.=.elem;. |
de6a0 | 20 20 20 20 20 20 20 20 20 20 76 61 72 20 70 61 72 65 6e 74 20 3d 20 65 6c 65 6d 3b 0a 20 20 20 | ..........var.parent.=.elem;.... |
de6c0 | 20 20 20 20 20 20 20 77 68 69 6c 65 20 28 28 70 61 72 65 6e 74 20 3d 20 70 61 72 65 6e 74 2e 70 | .......while.((parent.=.parent.p |
de6e0 | 61 72 65 6e 74 4e 6f 64 65 29 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 | arentNode).&&..................( |
de700 | 70 61 72 65 6e 74 2e 6e 6f 64 65 54 79 70 65 20 3d 3d 20 4e 6f 64 65 2e 45 4c 45 4d 45 4e 54 5f | parent.nodeType.==.Node.ELEMENT_ |
de720 | 4e 4f 44 45 29 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 | NODE)).{.............try.{...... |
de740 | 20 20 20 20 20 20 20 20 20 69 66 20 28 28 70 61 72 65 6e 74 20 69 6e 73 74 61 6e 63 65 6f 66 20 | .........if.((parent.instanceof. |
de760 | 48 54 4d 4c 41 6e 63 68 6f 72 45 6c 65 6d 65 6e 74 20 26 26 20 70 61 72 65 6e 74 2e 68 72 65 66 | HTMLAnchorElement.&&.parent.href |
de780 | 29 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 61 72 65 6e 74 20 69 | ).||...................(parent.i |
de7a0 | 6e 73 74 61 6e 63 65 6f 66 20 48 54 4d 4c 41 72 65 61 45 6c 65 6d 65 6e 74 20 26 26 20 70 61 72 | nstanceof.HTMLAreaElement.&&.par |
de7c0 | 65 6e 74 2e 68 72 65 66 29 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 | ent.href).||...................p |
de7e0 | 61 72 65 6e 74 20 69 6e 73 74 61 6e 63 65 6f 66 20 48 54 4d 4c 4c 69 6e 6b 45 6c 65 6d 65 6e 74 | arent.instanceof.HTMLLinkElement |
de800 | 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 61 72 65 6e 74 2e 67 65 74 | .||...................parent.get |
de820 | 41 74 74 72 69 62 75 74 65 4e 53 28 22 68 74 74 70 3a 2f 2f 77 77 77 2e 77 33 2e 6f 72 67 2f 31 | AttributeNS("http://www.w3.org/1 |
de840 | 39 39 39 2f 78 6c 69 6e 6b 22 2c 20 22 74 79 70 65 22 29 20 3d 3d 20 22 73 69 6d 70 6c 65 22 29 | 999/xlink",."type").==."simple") |
de860 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 61 6c 4c 69 6e 6b 20 3d 20 70 61 72 65 | .................realLink.=.pare |
de880 | 6e 74 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 20 63 61 74 63 68 20 28 65 29 20 7b 20 7d 0a | nt;.............}.catch.(e).{.}. |
de8a0 | 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 0a 20 20 20 20 20 20 20 20 20 | ..........}..................... |
de8c0 | 20 2f 2f 20 52 65 6d 65 6d 62 65 72 20 63 6f 72 72 65 73 70 6f 6e 64 69 6e 67 20 65 6c 65 6d 65 | .//.Remember.corresponding.eleme |
de8e0 | 6e 74 2e 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6c 69 6e 6b 20 3d 20 72 65 61 6c 4c 69 | nt............this.link.=.realLi |
de900 | 6e 6b 3b 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6c 69 6e 6b 55 52 4c 20 3d 20 74 68 69 | nk;...........this.linkURL.=.thi |
de920 | 73 2e 67 65 74 4c 69 6e 6b 55 52 4c 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6c | s.getLinkURL();...........this.l |
de940 | 69 6e 6b 55 52 49 20 3d 20 74 68 69 73 2e 67 65 74 4c 69 6e 6b 55 52 49 28 29 3b 0a 20 20 20 20 | inkURI.=.this.getLinkURI();..... |
de960 | 20 20 20 20 20 20 74 68 69 73 2e 6c 69 6e 6b 50 72 6f 74 6f 63 6f 6c 20 3d 20 74 68 69 73 2e 67 | ......this.linkProtocol.=.this.g |
de980 | 65 74 4c 69 6e 6b 50 72 6f 74 6f 63 6f 6c 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 | etLinkProtocol();...........this |
de9a0 | 2e 6f 6e 4d 61 69 6c 74 6f 4c 69 6e 6b 20 3d 20 28 74 68 69 73 2e 6c 69 6e 6b 50 72 6f 74 6f 63 | .onMailtoLink.=.(this.linkProtoc |
de9c0 | 6f 6c 20 3d 3d 20 22 6d 61 69 6c 74 6f 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e | ol.==."mailto");...........this. |
de9e0 | 6f 6e 53 61 76 65 61 62 6c 65 4c 69 6e 6b 20 3d 20 74 68 69 73 2e 69 73 4c 69 6e 6b 53 61 76 65 | onSaveableLink.=.this.isLinkSave |
dea00 | 61 62 6c 65 28 20 74 68 69 73 2e 6c 69 6e 6b 20 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 | able(.this.link.);.........}.... |
dea20 | 20 20 20 20 20 20 2f 2f 20 4d 65 74 61 64 61 74 61 20 69 74 65 6d 3f 0a 20 20 20 20 20 20 20 20 | ......//.Metadata.item?......... |
dea40 | 69 66 20 28 21 74 68 69 73 2e 6f 6e 4d 65 74 61 44 61 74 61 49 74 65 6d 29 20 7b 0a 20 20 20 20 | if.(!this.onMetaDataItem).{..... |
dea60 | 20 20 20 20 20 20 2f 2f 20 57 65 20 64 69 73 70 6c 61 79 20 6d 65 74 61 64 61 74 61 20 6f 6e 20 | ......//.We.display.metadata.on. |
dea80 | 61 6e 79 74 68 69 6e 67 20 77 68 69 63 68 20 66 69 74 73 0a 20 20 20 20 20 20 20 20 20 20 2f 2f | anything.which.fits...........// |
deaa0 | 20 74 68 65 20 62 65 6c 6f 77 20 74 65 73 74 2c 20 61 73 20 77 65 6c 6c 20 61 73 20 66 6f 72 20 | .the.below.test,.as.well.as.for. |
deac0 | 6c 69 6e 6b 73 20 61 6e 64 20 69 6d 61 67 65 73 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 28 77 | links.and.images...........//.(w |
deae0 | 68 69 63 68 20 73 65 74 20 74 68 69 73 2e 6f 6e 4d 65 74 61 44 61 74 61 49 74 65 6d 20 74 6f 20 | hich.set.this.onMetaDataItem.to. |
deb00 | 74 72 75 65 20 65 6c 73 65 77 68 65 72 65 29 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 28 65 | true.elsewhere)...........if.((e |
deb20 | 6c 65 6d 20 69 6e 73 74 61 6e 63 65 6f 66 20 48 54 4d 4c 51 75 6f 74 65 45 6c 65 6d 65 6e 74 20 | lem.instanceof.HTMLQuoteElement. |
deb40 | 26 26 20 65 6c 65 6d 2e 63 69 74 65 29 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 | &&.elem.cite).||...............( |
deb60 | 65 6c 65 6d 20 69 6e 73 74 61 6e 63 65 6f 66 20 48 54 4d 4c 54 61 62 6c 65 45 6c 65 6d 65 6e 74 | elem.instanceof.HTMLTableElement |
deb80 | 20 26 26 20 65 6c 65 6d 2e 73 75 6d 6d 61 72 79 29 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 | .&&.elem.summary).||............ |
deba0 | 20 20 20 28 65 6c 65 6d 20 69 6e 73 74 61 6e 63 65 6f 66 20 48 54 4d 4c 4d 6f 64 45 6c 65 6d 65 | ...(elem.instanceof.HTMLModEleme |
debc0 | 6e 74 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 65 6c 65 6d 2e 63 69 74 65 20 | nt.&&................(elem.cite. |
debe0 | 7c 7c 20 65 6c 65 6d 2e 64 61 74 65 54 69 6d 65 29 29 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 | ||.elem.dateTime)).||........... |
dec00 | 20 20 20 20 28 65 6c 65 6d 20 69 6e 73 74 61 6e 63 65 6f 66 20 48 54 4d 4c 45 6c 65 6d 65 6e 74 | ....(elem.instanceof.HTMLElement |
dec20 | 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 65 6c 65 6d 2e 74 69 74 6c 65 20 7c | .&&................(elem.title.| |
dec40 | 7c 20 65 6c 65 6d 2e 6c 61 6e 67 29 29 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 | |.elem.lang)).||...............e |
dec60 | 6c 65 6d 2e 67 65 74 41 74 74 72 69 62 75 74 65 4e 53 28 58 4d 4c 4e 53 2c 20 22 6c 61 6e 67 22 | lem.getAttributeNS(XMLNS,."lang" |
dec80 | 29 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6f 6e 4d 65 74 61 44 61 74 61 | )).{.............this.onMetaData |
deca0 | 49 74 65 6d 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 | Item.=.true;...........}........ |
decc0 | 20 7d 0a 0a 20 20 20 20 20 20 20 20 2f 2f 20 42 61 63 6b 67 72 6f 75 6e 64 20 69 6d 61 67 65 3f | .}..........//.Background.image? |
dece0 | 20 20 44 6f 6e 27 74 20 62 6f 74 68 65 72 20 69 66 20 77 65 27 76 65 20 61 6c 72 65 61 64 79 20 | ..Don't.bother.if.we've.already. |
ded00 | 66 6f 75 6e 64 20 61 0a 20 20 20 20 20 20 20 20 2f 2f 20 62 61 63 6b 67 72 6f 75 6e 64 20 69 6d | found.a.........//.background.im |
ded20 | 61 67 65 20 66 75 72 74 68 65 72 20 64 6f 77 6e 20 74 68 65 20 68 69 65 72 61 72 63 68 79 2e 20 | age.further.down.the.hierarchy.. |
ded40 | 20 4f 74 68 65 72 77 69 73 65 2c 0a 20 20 20 20 20 20 20 20 2f 2f 20 77 65 20 6c 6f 6f 6b 20 66 | .Otherwise,.........//.we.look.f |
ded60 | 6f 72 20 74 68 65 20 63 6f 6d 70 75 74 65 64 20 62 61 63 6b 67 72 6f 75 6e 64 2d 69 6d 61 67 65 | or.the.computed.background-image |
ded80 | 20 73 74 79 6c 65 2e 0a 20 20 20 20 20 20 20 20 69 66 20 28 21 74 68 69 73 2e 68 61 73 42 47 49 | .style..........if.(!this.hasBGI |
deda0 | 6d 61 67 65 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 62 67 49 6d 67 55 72 6c 20 3d | mage).{...........var.bgImgUrl.= |
dedc0 | 20 74 68 69 73 2e 67 65 74 43 6f 6d 70 75 74 65 64 55 52 4c 28 20 65 6c 65 6d 2c 20 22 62 61 63 | .this.getComputedURL(.elem,."bac |
dede0 | 6b 67 72 6f 75 6e 64 2d 69 6d 61 67 65 22 20 29 3b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 | kground-image".);...........if.( |
dee00 | 62 67 49 6d 67 55 72 6c 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 68 61 73 | bgImgUrl).{.............this.has |
dee20 | 42 47 49 6d 61 67 65 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 | BGImage.=.true;.............this |
dee40 | 2e 62 67 49 6d 61 67 65 55 52 4c 20 3d 20 6d 61 6b 65 55 52 4c 41 62 73 6f 6c 75 74 65 28 65 6c | .bgImageURL.=.makeURLAbsolute(el |
dee60 | 65 6d 2e 62 61 73 65 55 52 49 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | em.baseURI,..................... |
dee80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 67 49 6d 67 55 | ..........................bgImgU |
deea0 | 72 6c 29 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 | rl);...........}.........}...... |
deec0 | 20 7d 0a 0a 20 20 20 20 20 20 65 6c 65 6d 20 3d 20 65 6c 65 6d 2e 70 61 72 65 6e 74 4e 6f 64 65 | .}........elem.=.elem.parentNode |
deee0 | 3b 0a 20 20 20 20 7d 0a 20 20 20 20 0a 20 20 20 20 2f 2f 20 53 65 65 20 69 66 20 74 68 65 20 75 | ;.....}..........//.See.if.the.u |
def00 | 73 65 72 20 63 6c 69 63 6b 65 64 20 6f 6e 20 4d 61 74 68 4d 4c 0a 20 20 20 20 63 6f 6e 73 74 20 | ser.clicked.on.MathML.....const. |
def20 | 4e 53 5f 4d 61 74 68 4d 4c 20 3d 20 22 68 74 74 70 3a 2f 2f 77 77 77 2e 77 33 2e 6f 72 67 2f 31 | NS_MathML.=."http://www.w3.org/1 |
def40 | 39 39 38 2f 4d 61 74 68 2f 4d 61 74 68 4d 4c 22 3b 0a 20 20 20 20 69 66 20 28 28 74 68 69 73 2e | 998/Math/MathML";.....if.((this. |
def60 | 74 61 72 67 65 74 2e 6e 6f 64 65 54 79 70 65 20 3d 3d 20 4e 6f 64 65 2e 54 45 58 54 5f 4e 4f 44 | target.nodeType.==.Node.TEXT_NOD |
def80 | 45 20 26 26 0a 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 74 61 72 67 65 74 2e 70 61 72 65 6e 74 | E.&&..........this.target.parent |
defa0 | 4e 6f 64 65 2e 6e 61 6d 65 73 70 61 63 65 55 52 49 20 3d 3d 20 4e 53 5f 4d 61 74 68 4d 4c 29 0a | Node.namespaceURI.==.NS_MathML). |
defc0 | 20 20 20 20 20 20 20 20 20 7c 7c 20 28 74 68 69 73 2e 74 61 72 67 65 74 2e 6e 61 6d 65 73 70 61 | .........||.(this.target.namespa |
defe0 | 63 65 55 52 49 20 3d 3d 20 4e 53 5f 4d 61 74 68 4d 4c 29 29 0a 20 20 20 20 20 20 74 68 69 73 2e | ceURI.==.NS_MathML)).......this. |
df000 | 6f 6e 4d 61 74 68 4d 4c 20 3d 20 74 72 75 65 3b 0a 0a 20 20 20 20 2f 2f 20 53 65 65 20 69 66 20 | onMathML.=.true;......//.See.if. |
df020 | 74 68 65 20 75 73 65 72 20 63 6c 69 63 6b 65 64 20 69 6e 20 61 20 66 72 61 6d 65 2e 0a 20 20 20 | the.user.clicked.in.a.frame..... |
df040 | 20 76 61 72 20 64 6f 63 44 65 66 61 75 6c 74 56 69 65 77 20 3d 20 74 68 69 73 2e 74 61 72 67 65 | .var.docDefaultView.=.this.targe |
df060 | 74 2e 6f 77 6e 65 72 44 6f 63 75 6d 65 6e 74 2e 64 65 66 61 75 6c 74 56 69 65 77 3b 0a 20 20 20 | t.ownerDocument.defaultView;.... |
df080 | 20 69 66 20 28 64 6f 63 44 65 66 61 75 6c 74 56 69 65 77 20 21 3d 20 64 6f 63 44 65 66 61 75 6c | .if.(docDefaultView.!=.docDefaul |
df0a0 | 74 56 69 65 77 2e 74 6f 70 29 0a 20 20 20 20 20 20 74 68 69 73 2e 69 6e 46 72 61 6d 65 20 3d 20 | tView.top).......this.inFrame.=. |
df0c0 | 74 72 75 65 3b 0a 0a 20 20 20 20 2f 2f 20 69 66 20 74 68 65 20 64 6f 63 75 6d 65 6e 74 20 69 73 | true;......//.if.the.document.is |
df0e0 | 20 65 64 69 74 61 62 6c 65 2c 20 73 68 6f 77 20 63 6f 6e 74 65 78 74 20 6d 65 6e 75 20 6c 69 6b | .editable,.show.context.menu.lik |
df100 | 65 20 69 6e 20 74 65 78 74 20 69 6e 70 75 74 73 0a 20 20 20 20 76 61 72 20 77 69 6e 20 3d 20 74 | e.in.text.inputs.....var.win.=.t |
df120 | 68 69 73 2e 74 61 72 67 65 74 2e 6f 77 6e 65 72 44 6f 63 75 6d 65 6e 74 2e 64 65 66 61 75 6c 74 | his.target.ownerDocument.default |
df140 | 56 69 65 77 3b 0a 20 20 20 20 69 66 20 28 77 69 6e 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 69 | View;.....if.(win).{.......var.i |
df160 | 73 45 64 69 74 61 62 6c 65 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 20 74 72 79 20 7b 0a 20 | sEditable.=.false;.......try.{.. |
df180 | 20 20 20 20 20 20 20 76 61 72 20 65 64 69 74 69 6e 67 53 65 73 73 69 6f 6e 20 3d 20 77 69 6e 2e | .......var.editingSession.=.win. |
df1a0 | 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 28 43 69 2e 6e 73 49 49 6e 74 65 72 66 61 63 65 52 65 | QueryInterface(Ci.nsIInterfaceRe |
df1c0 | 71 75 65 73 74 6f 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | questor)........................ |
df1e0 | 20 20 20 20 20 20 20 20 20 2e 67 65 74 49 6e 74 65 72 66 61 63 65 28 43 69 2e 6e 73 49 57 65 62 | ..........getInterface(Ci.nsIWeb |
df200 | 4e 61 76 69 67 61 74 69 6f 6e 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | Navigation)..................... |
df220 | 20 20 20 20 20 20 20 20 20 20 20 20 2e 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 28 43 69 2e 6e | .............QueryInterface(Ci.n |
df240 | 73 49 49 6e 74 65 72 66 61 63 65 52 65 71 75 65 73 74 6f 72 29 0a 20 20 20 20 20 20 20 20 20 20 | sIInterfaceRequestor)........... |
df260 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 49 6e 74 65 72 66 | .......................getInterf |
df280 | 61 63 65 28 43 69 2e 6e 73 49 45 64 69 74 69 6e 67 53 65 73 73 69 6f 6e 29 3b 0a 20 20 20 20 20 | ace(Ci.nsIEditingSession);...... |
df2a0 | 20 20 20 69 66 20 28 65 64 69 74 69 6e 67 53 65 73 73 69 6f 6e 2e 77 69 6e 64 6f 77 49 73 45 64 | ...if.(editingSession.windowIsEd |
df2c0 | 69 74 61 62 6c 65 28 77 69 6e 29 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e | itable(win).&&.............this. |
df2e0 | 67 65 74 43 6f 6d 70 75 74 65 64 53 74 79 6c 65 28 74 68 69 73 2e 74 61 72 67 65 74 2c 20 22 2d | getComputedStyle(this.target,."- |
df300 | 6d 6f 7a 2d 75 73 65 72 2d 6d 6f 64 69 66 79 22 29 20 3d 3d 20 22 72 65 61 64 2d 77 72 69 74 65 | moz-user-modify").==."read-write |
df320 | 22 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 69 73 45 64 69 74 61 62 6c 65 20 3d 20 74 72 75 65 | ").{...........isEditable.=.true |
df340 | 3b 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 63 61 74 63 68 28 | ;.........}.......}.......catch( |
df360 | 65 78 29 20 7b 0a 20 20 20 20 20 20 20 20 2f 2f 20 49 66 20 73 6f 6d 65 6f 6e 65 20 62 75 69 6c | ex).{.........//.If.someone.buil |
df380 | 74 20 77 69 74 68 20 63 6f 6d 70 6f 73 65 72 20 64 69 73 61 62 6c 65 64 2c 20 77 65 20 63 61 6e | t.with.composer.disabled,.we.can |
df3a0 | 27 74 20 67 65 74 20 61 6e 20 65 64 69 74 69 6e 67 20 73 65 73 73 69 6f 6e 2e 0a 20 20 20 20 20 | 't.get.an.editing.session....... |
df3c0 | 20 7d 0a 0a 20 20 20 20 20 20 69 66 20 28 69 73 45 64 69 74 61 62 6c 65 29 20 7b 0a 20 20 20 20 | .}........if.(isEditable).{..... |
df3e0 | 20 20 20 20 74 68 69 73 2e 6f 6e 54 65 78 74 49 6e 70 75 74 20 20 20 20 20 20 20 3d 20 74 72 75 | ....this.onTextInput.......=.tru |
df400 | 65 3b 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 6f 6e 4b 65 79 77 6f 72 64 46 69 65 6c 64 20 20 | e;.........this.onKeywordField.. |
df420 | 20 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 6f 6e 49 6d 61 67 65 20 | ..=.false;.........this.onImage. |
df440 | 20 20 20 20 20 20 20 20 20 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e | ..........=.false;.........this. |
df460 | 6f 6e 4c 6f 61 64 65 64 49 6d 61 67 65 20 20 20 20 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 | onLoadedImage.....=.false;...... |
df480 | 20 20 20 74 68 69 73 2e 6f 6e 43 6f 6d 70 6c 65 74 65 64 49 6d 61 67 65 20 20 3d 20 66 61 6c 73 | ...this.onCompletedImage..=.fals |
df4a0 | 65 3b 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 6f 6e 4d 65 74 61 44 61 74 61 49 74 65 6d 20 20 | e;.........this.onMetaDataItem.. |
df4c0 | 20 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 6f 6e 4d 61 74 68 4d 4c | ..=.false;.........this.onMathML |
df4e0 | 20 20 20 20 20 20 20 20 20 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e | ..........=.false;.........this. |
df500 | 69 6e 46 72 61 6d 65 20 20 20 20 20 20 20 20 20 20 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 | inFrame...........=.false;...... |
df520 | 20 20 20 74 68 69 73 2e 68 61 73 42 47 49 6d 61 67 65 20 20 20 20 20 20 20 20 3d 20 66 61 6c 73 | ...this.hasBGImage........=.fals |
df540 | 65 3b 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 69 73 44 65 73 69 67 6e 4d 6f 64 65 20 20 20 20 | e;.........this.isDesignMode.... |
df560 | 20 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 70 6f 73 73 69 62 6c 65 53 | ..=.true;.........this.possibleS |
df580 | 70 65 6c 6c 43 68 65 63 6b 69 6e 67 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 49 6e 6c | pellChecking.=.true;.........Inl |
df5a0 | 69 6e 65 53 70 65 6c 6c 43 68 65 63 6b 65 72 55 49 2e 69 6e 69 74 28 65 64 69 74 69 6e 67 53 65 | ineSpellCheckerUI.init(editingSe |
df5c0 | 73 73 69 6f 6e 2e 67 65 74 45 64 69 74 6f 72 46 6f 72 57 69 6e 64 6f 77 28 77 69 6e 29 29 3b 0a | ssion.getEditorForWindow(win));. |
df5e0 | 20 20 20 20 20 20 20 20 76 61 72 20 63 61 6e 53 70 65 6c 6c 20 3d 20 49 6e 6c 69 6e 65 53 70 65 | ........var.canSpell.=.InlineSpe |
df600 | 6c 6c 43 68 65 63 6b 65 72 55 49 2e 63 61 6e 53 70 65 6c 6c 43 68 65 63 6b 3b 0a 20 20 20 20 20 | llCheckerUI.canSpellCheck;...... |
df620 | 20 20 20 49 6e 6c 69 6e 65 53 70 65 6c 6c 43 68 65 63 6b 65 72 55 49 2e 69 6e 69 74 46 72 6f 6d | ...InlineSpellCheckerUI.initFrom |
df640 | 45 76 65 6e 74 28 61 52 61 6e 67 65 50 61 72 65 6e 74 2c 20 61 52 61 6e 67 65 4f 66 66 73 65 74 | Event(aRangeParent,.aRangeOffset |
df660 | 29 3b 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 73 68 6f 77 49 74 65 6d 28 22 73 70 65 6c 6c 2d | );.........this.showItem("spell- |
df680 | 63 68 65 63 6b 2d 65 6e 61 62 6c 65 64 22 2c 20 63 61 6e 53 70 65 6c 6c 29 3b 0a 20 20 20 20 20 | check-enabled",.canSpell);...... |
df6a0 | 20 20 20 74 68 69 73 2e 73 68 6f 77 49 74 65 6d 28 22 73 70 65 6c 6c 2d 73 65 70 61 72 61 74 6f | ...this.showItem("spell-separato |
df6c0 | 72 22 2c 20 63 61 6e 53 70 65 6c 6c 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 20 20 7d | r",.canSpell);.......}.....}...} |
df6e0 | 2c 0a 0a 20 20 2f 2f 20 52 65 74 75 72 6e 73 20 74 68 65 20 63 6f 6d 70 75 74 65 64 20 73 74 79 | ,....//.Returns.the.computed.sty |
df700 | 6c 65 20 61 74 74 72 69 62 75 74 65 20 66 6f 72 20 74 68 65 20 67 69 76 65 6e 20 65 6c 65 6d 65 | le.attribute.for.the.given.eleme |
df720 | 6e 74 2e 0a 20 20 67 65 74 43 6f 6d 70 75 74 65 64 53 74 79 6c 65 3a 20 66 75 6e 63 74 69 6f 6e | nt....getComputedStyle:.function |
df740 | 28 61 45 6c 65 6d 2c 20 61 50 72 6f 70 29 20 7b 0a 20 20 20 20 72 65 74 75 72 6e 20 61 45 6c 65 | (aElem,.aProp).{.....return.aEle |
df760 | 6d 2e 6f 77 6e 65 72 44 6f 63 75 6d 65 6e 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | m.ownerDocument................. |
df780 | 2e 64 65 66 61 75 6c 74 56 69 65 77 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 | .defaultView..................ge |
df7a0 | 74 43 6f 6d 70 75 74 65 64 53 74 79 6c 65 28 61 45 6c 65 6d 2c 20 22 22 29 2e 67 65 74 50 72 6f | tComputedStyle(aElem,."").getPro |
df7c0 | 70 65 72 74 79 56 61 6c 75 65 28 61 50 72 6f 70 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2f 20 52 65 | pertyValue(aProp);...},....//.Re |
df7e0 | 74 75 72 6e 73 20 61 20 22 75 72 6c 22 2d 74 79 70 65 20 63 6f 6d 70 75 74 65 64 20 73 74 79 6c | turns.a."url"-type.computed.styl |
df800 | 65 20 61 74 74 72 69 62 75 74 65 20 76 61 6c 75 65 2c 20 77 69 74 68 20 74 68 65 20 75 72 6c 28 | e.attribute.value,.with.the.url( |
df820 | 29 20 73 74 72 69 70 70 65 64 2e 0a 20 20 67 65 74 43 6f 6d 70 75 74 65 64 55 52 4c 3a 20 66 75 | ).stripped....getComputedURL:.fu |
df840 | 6e 63 74 69 6f 6e 28 61 45 6c 65 6d 2c 20 61 50 72 6f 70 29 20 7b 0a 20 20 20 20 76 61 72 20 75 | nction(aElem,.aProp).{.....var.u |
df860 | 72 6c 20 3d 20 61 45 6c 65 6d 2e 6f 77 6e 65 72 44 6f 63 75 6d 65 6e 74 0a 20 20 20 20 20 20 20 | rl.=.aElem.ownerDocument........ |
df880 | 20 20 20 20 20 20 20 20 20 20 20 20 2e 64 65 66 61 75 6c 74 56 69 65 77 2e 67 65 74 43 6f 6d 70 | .............defaultView.getComp |
df8a0 | 75 74 65 64 53 74 79 6c 65 28 61 45 6c 65 6d 2c 20 22 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 | utedStyle(aElem,."")............ |
df8c0 | 20 20 20 20 20 20 20 20 2e 67 65 74 50 72 6f 70 65 72 74 79 43 53 53 56 61 6c 75 65 28 61 50 72 | .........getPropertyCSSValue(aPr |
df8e0 | 6f 70 29 3b 0a 20 20 20 20 72 65 74 75 72 6e 20 75 72 6c 2e 70 72 69 6d 69 74 69 76 65 54 79 70 | op);.....return.url.primitiveTyp |
df900 | 65 20 3d 3d 20 43 53 53 50 72 69 6d 69 74 69 76 65 56 61 6c 75 65 2e 43 53 53 5f 55 52 49 20 3f | e.==.CSSPrimitiveValue.CSS_URI.? |
df920 | 0a 20 20 20 20 20 20 20 20 20 20 20 75 72 6c 2e 67 65 74 53 74 72 69 6e 67 56 61 6c 75 65 28 29 | ............url.getStringValue() |
df940 | 20 3a 20 6e 75 6c 6c 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2f 20 52 65 74 75 72 6e 73 20 74 72 75 65 | .:.null;...},....//.Returns.true |
df960 | 20 69 66 20 63 6c 69 63 6b 65 64 2d 6f 6e 20 6c 69 6e 6b 20 74 61 72 67 65 74 73 20 61 20 72 65 | .if.clicked-on.link.targets.a.re |
df980 | 73 6f 75 72 63 65 20 74 68 61 74 20 63 61 6e 20 62 65 20 73 61 76 65 64 2e 0a 20 20 69 73 4c 69 | source.that.can.be.saved....isLi |
df9a0 | 6e 6b 53 61 76 65 61 62 6c 65 3a 20 66 75 6e 63 74 69 6f 6e 28 61 4c 69 6e 6b 29 20 7b 0a 20 20 | nkSaveable:.function(aLink).{... |
df9c0 | 20 20 2f 2f 20 57 65 20 64 6f 6e 27 74 20 64 6f 20 74 68 65 20 52 69 67 68 74 20 54 68 69 6e 67 | ..//.We.don't.do.the.Right.Thing |
df9e0 | 20 66 6f 72 20 6e 65 77 73 2f 73 6e 65 77 73 20 79 65 74 2c 20 73 6f 20 74 75 72 6e 20 74 68 65 | .for.news/snews.yet,.so.turn.the |
dfa00 | 6d 20 6f 66 66 0a 20 20 20 20 2f 2f 20 75 6e 74 69 6c 20 77 65 20 64 6f 2e 0a 20 20 20 20 72 65 | m.off.....//.until.we.do......re |
dfa20 | 74 75 72 6e 20 74 68 69 73 2e 6c 69 6e 6b 50 72 6f 74 6f 63 6f 6c 20 26 26 20 21 28 0a 20 20 20 | turn.this.linkProtocol.&&.!(.... |
dfa40 | 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6c 69 6e 6b 50 72 6f 74 6f 63 6f 6c 20 3d 3d 20 22 | ..........this.linkProtocol.==." |
dfa60 | 6d 61 69 6c 74 6f 22 20 20 20 20 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 | mailto".....||..............this |
dfa80 | 2e 6c 69 6e 6b 50 72 6f 74 6f 63 6f 6c 20 3d 3d 20 22 6a 61 76 61 73 63 72 69 70 74 22 20 7c 7c | .linkProtocol.==."javascript".|| |
dfaa0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6c 69 6e 6b 50 72 6f 74 6f 63 6f 6c 20 | ..............this.linkProtocol. |
dfac0 | 3d 3d 20 22 6e 65 77 73 22 20 20 20 20 20 20 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ==."news".......||.............. |
dfae0 | 74 68 69 73 2e 6c 69 6e 6b 50 72 6f 74 6f 63 6f 6c 20 3d 3d 20 22 73 6e 65 77 73 22 20 20 20 20 | this.linkProtocol.==."snews".... |
dfb00 | 20 20 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2f 20 4f 70 65 6e 20 6c 69 6e 6b 65 64 2d 74 6f 20 55 | ..);...},....//.Open.linked-to.U |
dfb20 | 52 4c 20 69 6e 20 61 20 6e 65 77 20 77 69 6e 64 6f 77 2e 0a 20 20 6f 70 65 6e 4c 69 6e 6b 20 3a | RL.in.a.new.window....openLink.: |
dfb40 | 20 66 75 6e 63 74 69 6f 6e 20 28 29 20 7b 0a 20 20 20 20 6f 70 65 6e 4e 65 77 57 69 6e 64 6f 77 | .function.().{.....openNewWindow |
dfb60 | 57 69 74 68 28 74 68 69 73 2e 6c 69 6e 6b 55 52 4c 2c 20 74 68 69 73 2e 74 61 72 67 65 74 2e 6f | With(this.linkURL,.this.target.o |
dfb80 | 77 6e 65 72 44 6f 63 75 6d 65 6e 74 2c 20 6e 75 6c 6c 2c 20 66 61 6c 73 65 29 3b 0a 20 20 7d 2c | wnerDocument,.null,.false);...}, |
dfba0 | 0a 0a 20 20 2f 2f 20 4f 70 65 6e 20 6c 69 6e 6b 65 64 2d 74 6f 20 55 52 4c 20 69 6e 20 61 20 6e | ....//.Open.linked-to.URL.in.a.n |
dfbc0 | 65 77 20 74 61 62 2e 0a 20 20 6f 70 65 6e 4c 69 6e 6b 49 6e 54 61 62 3a 20 66 75 6e 63 74 69 6f | ew.tab....openLinkInTab:.functio |
dfbe0 | 6e 28 29 20 7b 0a 20 20 20 20 6f 70 65 6e 4e 65 77 54 61 62 57 69 74 68 28 74 68 69 73 2e 6c 69 | n().{.....openNewTabWith(this.li |
dfc00 | 6e 6b 55 52 4c 2c 20 74 68 69 73 2e 74 61 72 67 65 74 2e 6f 77 6e 65 72 44 6f 63 75 6d 65 6e 74 | nkURL,.this.target.ownerDocument |
dfc20 | 2c 20 6e 75 6c 6c 2c 20 6e 75 6c 6c 2c 20 66 61 6c 73 65 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2f | ,.null,.null,.false);...},....// |
dfc40 | 20 4f 70 65 6e 20 66 72 61 6d 65 20 69 6e 20 61 20 6e 65 77 20 74 61 62 2e 0a 20 20 6f 70 65 6e | .Open.frame.in.a.new.tab....open |
dfc60 | 46 72 61 6d 65 49 6e 54 61 62 3a 20 66 75 6e 63 74 69 6f 6e 28 29 20 7b 0a 20 20 20 20 76 61 72 | FrameInTab:.function().{.....var |
dfc80 | 20 64 6f 63 20 3d 20 74 68 69 73 2e 74 61 72 67 65 74 2e 6f 77 6e 65 72 44 6f 63 75 6d 65 6e 74 | .doc.=.this.target.ownerDocument |
dfca0 | 3b 0a 20 20 20 20 76 61 72 20 66 72 61 6d 65 55 52 4c 20 3d 20 64 6f 63 2e 6c 6f 63 61 74 69 6f | ;.....var.frameURL.=.doc.locatio |
dfcc0 | 6e 2e 68 72 65 66 3b 0a 20 20 20 20 76 61 72 20 72 65 66 65 72 72 65 72 20 3d 20 64 6f 63 2e 72 | n.href;.....var.referrer.=.doc.r |
dfce0 | 65 66 65 72 72 65 72 3b 0a 0a 20 20 20 20 72 65 74 75 72 6e 20 6f 70 65 6e 4e 65 77 54 61 62 57 | eferrer;......return.openNewTabW |
dfd00 | 69 74 68 28 66 72 61 6d 65 55 52 4c 2c 20 6e 75 6c 6c 2c 20 6e 75 6c 6c 2c 20 6e 75 6c 6c 2c 20 | ith(frameURL,.null,.null,.null,. |
dfd20 | 66 61 6c 73 65 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | false,.......................... |
dfd40 | 20 72 65 66 65 72 72 65 72 20 3f 20 6d 61 6b 65 55 52 49 28 72 65 66 65 72 72 65 72 29 20 3a 20 | .referrer.?.makeURI(referrer).:. |
dfd60 | 6e 75 6c 6c 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2f 20 52 65 6c 6f 61 64 20 63 6c 69 63 6b 65 64 | null);...},....//.Reload.clicked |
dfd80 | 2d 69 6e 20 66 72 61 6d 65 2e 0a 20 20 72 65 6c 6f 61 64 46 72 61 6d 65 3a 20 66 75 6e 63 74 69 | -in.frame....reloadFrame:.functi |
dfda0 | 6f 6e 28 29 20 7b 0a 20 20 20 20 74 68 69 73 2e 74 61 72 67 65 74 2e 6f 77 6e 65 72 44 6f 63 75 | on().{.....this.target.ownerDocu |
dfdc0 | 6d 65 6e 74 2e 6c 6f 63 61 74 69 6f 6e 2e 72 65 6c 6f 61 64 28 29 3b 0a 20 20 7d 2c 0a 0a 20 20 | ment.location.reload();...},.... |
dfde0 | 2f 2f 20 4f 70 65 6e 20 63 6c 69 63 6b 65 64 2d 69 6e 20 66 72 61 6d 65 20 69 6e 20 69 74 73 20 | //.Open.clicked-in.frame.in.its. |
dfe00 | 6f 77 6e 20 77 69 6e 64 6f 77 2e 0a 20 20 6f 70 65 6e 46 72 61 6d 65 3a 20 66 75 6e 63 74 69 6f | own.window....openFrame:.functio |
dfe20 | 6e 28 29 20 7b 0a 20 20 20 20 76 61 72 20 64 6f 63 20 3d 20 74 68 69 73 2e 74 61 72 67 65 74 2e | n().{.....var.doc.=.this.target. |
dfe40 | 6f 77 6e 65 72 44 6f 63 75 6d 65 6e 74 3b 0a 20 20 20 20 76 61 72 20 66 72 61 6d 65 55 52 4c 20 | ownerDocument;.....var.frameURL. |
dfe60 | 3d 20 64 6f 63 2e 6c 6f 63 61 74 69 6f 6e 2e 68 72 65 66 3b 0a 20 20 20 20 76 61 72 20 72 65 66 | =.doc.location.href;.....var.ref |
dfe80 | 65 72 72 65 72 20 3d 20 64 6f 63 2e 72 65 66 65 72 72 65 72 3b 0a 0a 20 20 20 20 72 65 74 75 72 | errer.=.doc.referrer;......retur |
dfea0 | 6e 20 6f 70 65 6e 4e 65 77 57 69 6e 64 6f 77 57 69 74 68 28 66 72 61 6d 65 55 52 4c 2c 20 6e 75 | n.openNewWindowWith(frameURL,.nu |
dfec0 | 6c 6c 2c 20 6e 75 6c 6c 2c 20 66 61 6c 73 65 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ll,.null,.false,................ |
dfee0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 66 65 72 72 65 72 20 3f 20 6d 61 6b 65 55 52 49 | ..............referrer.?.makeURI |
dff00 | 28 72 65 66 65 72 72 65 72 29 20 3a 20 6e 75 6c 6c 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2f 20 4f | (referrer).:.null);...},....//.O |
dff20 | 70 65 6e 20 63 6c 69 63 6b 65 64 2d 69 6e 20 66 72 61 6d 65 20 69 6e 20 74 68 65 20 73 61 6d 65 | pen.clicked-in.frame.in.the.same |
dff40 | 20 77 69 6e 64 6f 77 2e 0a 20 20 73 68 6f 77 4f 6e 6c 79 54 68 69 73 46 72 61 6d 65 3a 20 66 75 | .window....showOnlyThisFrame:.fu |
dff60 | 6e 63 74 69 6f 6e 28 29 20 7b 0a 20 20 20 20 76 61 72 20 64 6f 63 20 3d 20 74 68 69 73 2e 74 61 | nction().{.....var.doc.=.this.ta |
dff80 | 72 67 65 74 2e 6f 77 6e 65 72 44 6f 63 75 6d 65 6e 74 3b 0a 20 20 20 20 76 61 72 20 66 72 61 6d | rget.ownerDocument;.....var.fram |
dffa0 | 65 55 52 4c 20 3d 20 64 6f 63 2e 6c 6f 63 61 74 69 6f 6e 2e 68 72 65 66 3b 0a 0a 20 20 20 20 75 | eURL.=.doc.location.href;......u |
dffc0 | 72 6c 53 65 63 75 72 69 74 79 43 68 65 63 6b 28 66 72 61 6d 65 55 52 4c 2c 20 74 68 69 73 2e 62 | rlSecurityCheck(frameURL,.this.b |
dffe0 | 72 6f 77 73 65 72 2e 63 6f 6e 74 65 6e 74 50 72 69 6e 63 69 70 61 6c 2c 0a 20 20 20 20 20 20 20 | rowser.contentPrincipal,........ |
e0000 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 43 69 2e 6e 73 49 53 63 72 69 70 74 53 65 63 75 72 69 | ..............Ci.nsIScriptSecuri |
e0020 | 74 79 4d 61 6e 61 67 65 72 2e 44 49 53 41 4c 4c 4f 57 5f 53 43 52 49 50 54 29 3b 0a 20 20 20 20 | tyManager.DISALLOW_SCRIPT);..... |
e0040 | 76 61 72 20 72 65 66 65 72 72 65 72 20 3d 20 64 6f 63 2e 72 65 66 65 72 72 65 72 3b 0a 20 20 20 | var.referrer.=.doc.referrer;.... |
e0060 | 20 74 68 69 73 2e 62 72 6f 77 73 65 72 2e 6c 6f 61 64 55 52 49 28 66 72 61 6d 65 55 52 4c 2c 20 | .this.browser.loadURI(frameURL,. |
e0080 | 72 65 66 65 72 72 65 72 20 3f 20 6d 61 6b 65 55 52 49 28 72 65 66 65 72 72 65 72 29 20 3a 20 6e | referrer.?.makeURI(referrer).:.n |
e00a0 | 75 6c 6c 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2f 20 56 69 65 77 20 50 61 72 74 69 61 6c 20 53 6f | ull);...},....//.View.Partial.So |
e00c0 | 75 72 63 65 0a 20 20 76 69 65 77 50 61 72 74 69 61 6c 53 6f 75 72 63 65 3a 20 66 75 6e 63 74 69 | urce...viewPartialSource:.functi |
e00e0 | 6f 6e 28 61 43 6f 6e 74 65 78 74 29 20 7b 0a 20 20 20 20 76 61 72 20 66 6f 63 75 73 65 64 57 69 | on(aContext).{.....var.focusedWi |
e0100 | 6e 64 6f 77 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 63 6f 6d 6d 61 6e 64 44 69 73 70 61 74 63 68 65 | ndow.=.document.commandDispatche |
e0120 | 72 2e 66 6f 63 75 73 65 64 57 69 6e 64 6f 77 3b 0a 20 20 20 20 69 66 20 28 66 6f 63 75 73 65 64 | r.focusedWindow;.....if.(focused |
e0140 | 57 69 6e 64 6f 77 20 3d 3d 20 77 69 6e 64 6f 77 29 0a 20 20 20 20 20 20 66 6f 63 75 73 65 64 57 | Window.==.window).......focusedW |
e0160 | 69 6e 64 6f 77 20 3d 20 63 6f 6e 74 65 6e 74 3b 0a 0a 20 20 20 20 76 61 72 20 64 6f 63 43 68 61 | indow.=.content;......var.docCha |
e0180 | 72 73 65 74 20 3d 20 6e 75 6c 6c 3b 0a 20 20 20 20 69 66 20 28 66 6f 63 75 73 65 64 57 69 6e 64 | rset.=.null;.....if.(focusedWind |
e01a0 | 6f 77 29 0a 20 20 20 20 20 20 64 6f 63 43 68 61 72 73 65 74 20 3d 20 22 63 68 61 72 73 65 74 3d | ow).......docCharset.=."charset= |
e01c0 | 22 20 2b 20 66 6f 63 75 73 65 64 57 69 6e 64 6f 77 2e 64 6f 63 75 6d 65 6e 74 2e 63 68 61 72 61 | ".+.focusedWindow.document.chara |
e01e0 | 63 74 65 72 53 65 74 3b 0a 0a 20 20 20 20 2f 2f 20 22 56 69 65 77 20 53 65 6c 65 63 74 69 6f 6e | cterSet;......//."View.Selection |
e0200 | 20 53 6f 75 72 63 65 22 20 61 6e 64 20 6f 74 68 65 72 73 20 73 75 63 68 20 61 73 20 22 56 69 65 | .Source".and.others.such.as."Vie |
e0220 | 77 20 4d 61 74 68 4d 4c 20 53 6f 75 72 63 65 22 0a 20 20 20 20 2f 2f 20 61 72 65 20 6d 75 74 75 | w.MathML.Source".....//.are.mutu |
e0240 | 61 6c 6c 79 20 65 78 63 6c 75 73 69 76 65 2c 20 77 69 74 68 20 74 68 65 20 70 72 65 63 65 64 65 | ally.exclusive,.with.the.precede |
e0260 | 6e 63 65 20 67 69 76 65 6e 20 74 6f 20 74 68 65 20 73 65 6c 65 63 74 69 6f 6e 0a 20 20 20 20 2f | nce.given.to.the.selection...../ |
e0280 | 2f 20 77 68 65 6e 20 74 68 65 72 65 20 69 73 20 6f 6e 65 0a 20 20 20 20 76 61 72 20 72 65 66 65 | /.when.there.is.one.....var.refe |
e02a0 | 72 65 6e 63 65 20 3d 20 6e 75 6c 6c 3b 0a 20 20 20 20 69 66 20 28 61 43 6f 6e 74 65 78 74 20 3d | rence.=.null;.....if.(aContext.= |
e02c0 | 3d 20 22 73 65 6c 65 63 74 69 6f 6e 22 29 0a 20 20 20 20 20 20 72 65 66 65 72 65 6e 63 65 20 3d | =."selection").......reference.= |
e02e0 | 20 66 6f 63 75 73 65 64 57 69 6e 64 6f 77 2e 67 65 74 53 65 6c 65 63 74 69 6f 6e 28 29 3b 0a 20 | .focusedWindow.getSelection();.. |
e0300 | 20 20 20 65 6c 73 65 20 69 66 20 28 61 43 6f 6e 74 65 78 74 20 3d 3d 20 22 6d 61 74 68 6d 6c 22 | ...else.if.(aContext.==."mathml" |
e0320 | 29 0a 20 20 20 20 20 20 72 65 66 65 72 65 6e 63 65 20 3d 20 74 68 69 73 2e 74 61 72 67 65 74 3b | ).......reference.=.this.target; |
e0340 | 0a 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 74 68 72 6f 77 20 22 6e 6f 74 20 72 65 61 63 68 | .....else.......throw."not.reach |
e0360 | 65 64 22 3b 0a 0a 20 20 20 20 2f 2f 20 75 6e 75 73 65 64 20 28 61 6e 64 20 70 6c 61 79 20 6e 69 | ed";......//.unused.(and.play.ni |
e0380 | 63 65 20 66 6f 72 20 66 72 61 67 6d 65 6e 74 73 20 67 65 6e 65 72 61 74 65 64 20 76 69 61 20 58 | ce.for.fragments.generated.via.X |
e03a0 | 53 4c 54 20 74 6f 6f 29 0a 20 20 20 20 76 61 72 20 64 6f 63 55 72 6c 20 3d 20 6e 75 6c 6c 3b 0a | SLT.too).....var.docUrl.=.null;. |
e03c0 | 20 20 20 20 77 69 6e 64 6f 77 2e 6f 70 65 6e 44 69 61 6c 6f 67 28 22 63 68 72 6f 6d 65 3a 2f 2f | ....window.openDialog("chrome:// |
e03e0 | 67 6c 6f 62 61 6c 2f 63 6f 6e 74 65 6e 74 2f 76 69 65 77 50 61 72 74 69 61 6c 53 6f 75 72 63 65 | global/content/viewPartialSource |
e0400 | 2e 78 75 6c 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 5f 62 | .xul",......................."_b |
e0420 | 6c 61 6e 6b 22 2c 20 22 73 63 72 6f 6c 6c 62 61 72 73 2c 72 65 73 69 7a 61 62 6c 65 2c 63 68 72 | lank",."scrollbars,resizable,chr |
e0440 | 6f 6d 65 2c 64 69 61 6c 6f 67 3d 6e 6f 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ome,dialog=no",................. |
e0460 | 20 20 20 20 20 20 64 6f 63 55 72 6c 2c 20 64 6f 63 43 68 61 72 73 65 74 2c 20 72 65 66 65 72 65 | ......docUrl,.docCharset,.refere |
e0480 | 6e 63 65 2c 20 61 43 6f 6e 74 65 78 74 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2f 20 4f 70 65 6e 20 | nce,.aContext);...},....//.Open. |
e04a0 | 6e 65 77 20 22 76 69 65 77 20 73 6f 75 72 63 65 22 20 77 69 6e 64 6f 77 20 77 69 74 68 20 74 68 | new."view.source".window.with.th |
e04c0 | 65 20 66 72 61 6d 65 27 73 20 55 52 4c 2e 0a 20 20 76 69 65 77 46 72 61 6d 65 53 6f 75 72 63 65 | e.frame's.URL....viewFrameSource |
e04e0 | 3a 20 66 75 6e 63 74 69 6f 6e 28 29 20 7b 0a 20 20 20 20 42 72 6f 77 73 65 72 56 69 65 77 53 6f | :.function().{.....BrowserViewSo |
e0500 | 75 72 63 65 4f 66 44 6f 63 75 6d 65 6e 74 28 74 68 69 73 2e 74 61 72 67 65 74 2e 6f 77 6e 65 72 | urceOfDocument(this.target.owner |
e0520 | 44 6f 63 75 6d 65 6e 74 29 3b 0a 20 20 7d 2c 0a 0a 20 20 76 69 65 77 49 6e 66 6f 3a 20 66 75 6e | Document);...},....viewInfo:.fun |
e0540 | 63 74 69 6f 6e 28 29 20 7b 0a 20 20 20 20 42 72 6f 77 73 65 72 50 61 67 65 49 6e 66 6f 28 74 68 | ction().{.....BrowserPageInfo(th |
e0560 | 69 73 2e 74 61 72 67 65 74 2e 6f 77 6e 65 72 44 6f 63 75 6d 65 6e 74 2e 64 65 66 61 75 6c 74 56 | is.target.ownerDocument.defaultV |
e0580 | 69 65 77 2e 74 6f 70 2e 64 6f 63 75 6d 65 6e 74 29 3b 0a 20 20 7d 2c 0a 0a 20 20 76 69 65 77 46 | iew.top.document);...},....viewF |
e05a0 | 72 61 6d 65 49 6e 66 6f 3a 20 66 75 6e 63 74 69 6f 6e 28 29 20 7b 0a 20 20 20 20 42 72 6f 77 73 | rameInfo:.function().{.....Brows |
e05c0 | 65 72 50 61 67 65 49 6e 66 6f 28 74 68 69 73 2e 74 61 72 67 65 74 2e 6f 77 6e 65 72 44 6f 63 75 | erPageInfo(this.target.ownerDocu |
e05e0 | 6d 65 6e 74 29 3b 0a 20 20 7d 2c 0a 0a 20 20 72 65 6c 6f 61 64 49 6d 61 67 65 3a 20 66 75 6e 63 | ment);...},....reloadImage:.func |
e0600 | 74 69 6f 6e 28 65 29 20 7b 0a 20 20 20 20 75 72 6c 53 65 63 75 72 69 74 79 43 68 65 63 6b 28 74 | tion(e).{.....urlSecurityCheck(t |
e0620 | 68 69 73 2e 6d 65 64 69 61 55 52 4c 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | his.mediaURL,................... |
e0640 | 20 20 20 74 68 69 73 2e 62 72 6f 77 73 65 72 2e 63 6f 6e 74 65 6e 74 50 72 69 6e 63 69 70 61 6c | ...this.browser.contentPrincipal |
e0660 | 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 43 69 2e 6e 73 49 53 63 72 | ,......................Ci.nsIScr |
e0680 | 69 70 74 53 65 63 75 72 69 74 79 4d 61 6e 61 67 65 72 2e 44 49 53 41 4c 4c 4f 57 5f 53 43 52 49 | iptSecurityManager.DISALLOW_SCRI |
e06a0 | 50 54 29 3b 0a 0a 20 20 20 20 69 66 20 28 74 68 69 73 2e 74 61 72 67 65 74 20 69 6e 73 74 61 6e | PT);......if.(this.target.instan |
e06c0 | 63 65 6f 66 20 43 69 2e 6e 73 49 49 6d 61 67 65 4c 6f 61 64 69 6e 67 43 6f 6e 74 65 6e 74 29 0a | ceof.Ci.nsIImageLoadingContent). |
e06e0 | 20 20 20 20 20 20 74 68 69 73 2e 74 61 72 67 65 74 2e 66 6f 72 63 65 52 65 6c 6f 61 64 28 29 3b | ......this.target.forceReload(); |
e0700 | 0a 20 20 7d 2c 0a 0a 20 20 2f 2f 20 43 68 61 6e 67 65 20 63 75 72 72 65 6e 74 20 77 69 6e 64 6f | ...},....//.Change.current.windo |
e0720 | 77 20 74 6f 20 74 68 65 20 55 52 4c 20 6f 66 20 74 68 65 20 69 6d 61 67 65 2c 20 76 69 64 65 6f | w.to.the.URL.of.the.image,.video |
e0740 | 2c 20 6f 72 20 61 75 64 69 6f 2e 0a 20 20 76 69 65 77 4d 65 64 69 61 3a 20 66 75 6e 63 74 69 6f | ,.or.audio....viewMedia:.functio |
e0760 | 6e 28 65 29 20 7b 0a 20 20 20 20 76 61 72 20 76 69 65 77 55 52 4c 3b 0a 0a 20 20 20 20 69 66 20 | n(e).{.....var.viewURL;......if. |
e0780 | 28 74 68 69 73 2e 6f 6e 43 61 6e 76 61 73 29 0a 20 20 20 20 20 20 76 69 65 77 55 52 4c 20 3d 20 | (this.onCanvas).......viewURL.=. |
e07a0 | 74 68 69 73 2e 74 61 72 67 65 74 2e 74 6f 44 61 74 61 55 52 4c 28 29 3b 0a 20 20 20 20 65 6c 73 | this.target.toDataURL();.....els |
e07c0 | 65 20 7b 0a 20 20 20 20 20 20 76 69 65 77 55 52 4c 20 3d 20 74 68 69 73 2e 6d 65 64 69 61 55 52 | e.{.......viewURL.=.this.mediaUR |
e07e0 | 4c 3b 0a 20 20 20 20 20 20 75 72 6c 53 65 63 75 72 69 74 79 43 68 65 63 6b 28 76 69 65 77 55 52 | L;.......urlSecurityCheck(viewUR |
e0800 | 4c 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 62 | L,........................this.b |
e0820 | 72 6f 77 73 65 72 2e 63 6f 6e 74 65 6e 74 50 72 69 6e 63 69 70 61 6c 2c 0a 20 20 20 20 20 20 20 | rowser.contentPrincipal,........ |
e0840 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 43 69 2e 6e 73 49 53 63 72 69 70 74 53 65 63 75 | ................Ci.nsIScriptSecu |
e0860 | 72 69 74 79 4d 61 6e 61 67 65 72 2e 44 49 53 41 4c 4c 4f 57 5f 53 43 52 49 50 54 29 3b 0a 20 20 | rityManager.DISALLOW_SCRIPT);... |
e0880 | 20 20 7d 0a 0a 20 20 20 20 76 61 72 20 64 6f 63 20 3d 20 74 68 69 73 2e 74 61 72 67 65 74 2e 6f | ..}......var.doc.=.this.target.o |
e08a0 | 77 6e 65 72 44 6f 63 75 6d 65 6e 74 3b 0a 20 20 20 20 6f 70 65 6e 55 49 4c 69 6e 6b 28 76 69 65 | wnerDocument;.....openUILink(vie |
e08c0 | 77 55 52 4c 2c 20 65 2c 20 6e 75 6c 6c 2c 20 6e 75 6c 6c 2c 20 6e 75 6c 6c 2c 20 6e 75 6c 6c 2c | wURL,.e,.null,.null,.null,.null, |
e08e0 | 20 64 6f 63 2e 64 6f 63 75 6d 65 6e 74 55 52 49 4f 62 6a 65 63 74 20 29 3b 0a 20 20 7d 2c 0a 0a | .doc.documentURIObject.);...},.. |
e0900 | 20 20 2f 2f 20 43 68 61 6e 67 65 20 63 75 72 72 65 6e 74 20 77 69 6e 64 6f 77 20 74 6f 20 74 68 | ..//.Change.current.window.to.th |
e0920 | 65 20 55 52 4c 20 6f 66 20 74 68 65 20 62 61 63 6b 67 72 6f 75 6e 64 20 69 6d 61 67 65 2e 0a 20 | e.URL.of.the.background.image... |
e0940 | 20 76 69 65 77 42 47 49 6d 61 67 65 3a 20 66 75 6e 63 74 69 6f 6e 28 65 29 20 7b 0a 20 20 20 20 | .viewBGImage:.function(e).{..... |
e0960 | 75 72 6c 53 65 63 75 72 69 74 79 43 68 65 63 6b 28 74 68 69 73 2e 62 67 49 6d 61 67 65 55 52 4c | urlSecurityCheck(this.bgImageURL |
e0980 | 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 62 72 6f 77 | ,......................this.brow |
e09a0 | 73 65 72 2e 63 6f 6e 74 65 6e 74 50 72 69 6e 63 69 70 61 6c 2c 0a 20 20 20 20 20 20 20 20 20 20 | ser.contentPrincipal,........... |
e09c0 | 20 20 20 20 20 20 20 20 20 20 20 43 69 2e 6e 73 49 53 63 72 69 70 74 53 65 63 75 72 69 74 79 4d | ...........Ci.nsIScriptSecurityM |
e09e0 | 61 6e 61 67 65 72 2e 44 49 53 41 4c 4c 4f 57 5f 53 43 52 49 50 54 29 3b 0a 20 20 20 20 76 61 72 | anager.DISALLOW_SCRIPT);.....var |
e0a00 | 20 64 6f 63 20 3d 20 74 68 69 73 2e 74 61 72 67 65 74 2e 6f 77 6e 65 72 44 6f 63 75 6d 65 6e 74 | .doc.=.this.target.ownerDocument |
e0a20 | 3b 0a 20 20 20 20 6f 70 65 6e 55 49 4c 69 6e 6b 28 74 68 69 73 2e 62 67 49 6d 61 67 65 55 52 4c | ;.....openUILink(this.bgImageURL |
e0a40 | 2c 20 65 2c 20 6e 75 6c 6c 2c 20 6e 75 6c 6c 2c 20 6e 75 6c 6c 2c 20 6e 75 6c 6c 2c 20 64 6f 63 | ,.e,.null,.null,.null,.null,.doc |
e0a60 | 2e 64 6f 63 75 6d 65 6e 74 55 52 49 4f 62 6a 65 63 74 20 29 3b 0a 20 20 7d 2c 0a 0a 20 20 64 69 | .documentURIObject.);...},....di |
e0a80 | 73 61 62 6c 65 53 65 74 44 65 73 6b 74 6f 70 42 61 63 6b 67 72 6f 75 6e 64 3a 20 66 75 6e 63 74 | sableSetDesktopBackground:.funct |
e0aa0 | 69 6f 6e 28 29 20 7b 0a 20 20 20 20 2f 2f 20 44 69 73 61 62 6c 65 20 74 68 65 20 53 65 74 20 61 | ion().{.....//.Disable.the.Set.a |
e0ac0 | 73 20 44 65 73 6b 74 6f 70 20 42 61 63 6b 67 72 6f 75 6e 64 20 6d 65 6e 75 20 69 74 65 6d 20 69 | s.Desktop.Background.menu.item.i |
e0ae0 | 66 20 77 65 27 72 65 20 73 74 69 6c 6c 20 74 72 79 69 6e 67 0a 20 20 20 20 2f 2f 20 74 6f 20 6c | f.we're.still.trying.....//.to.l |
e0b00 | 6f 61 64 20 74 68 65 20 69 6d 61 67 65 20 6f 72 20 74 68 65 20 6c 6f 61 64 20 66 61 69 6c 65 64 | oad.the.image.or.the.load.failed |
e0b20 | 2e 0a 20 20 20 20 69 66 20 28 21 28 74 68 69 73 2e 74 61 72 67 65 74 20 69 6e 73 74 61 6e 63 65 | ......if.(!(this.target.instance |
e0b40 | 6f 66 20 43 69 2e 6e 73 49 49 6d 61 67 65 4c 6f 61 64 69 6e 67 43 6f 6e 74 65 6e 74 29 29 0a 20 | of.Ci.nsIImageLoadingContent)).. |
e0b60 | 20 20 20 20 20 72 65 74 75 72 6e 20 74 72 75 65 3b 0a 0a 20 20 20 20 69 66 20 28 28 22 63 6f 6d | .....return.true;......if.(("com |
e0b80 | 70 6c 65 74 65 22 20 69 6e 20 74 68 69 73 2e 74 61 72 67 65 74 29 20 26 26 20 21 74 68 69 73 2e | plete".in.this.target).&&.!this. |
e0ba0 | 74 61 72 67 65 74 2e 63 6f 6d 70 6c 65 74 65 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 72 | target.complete).......return.tr |
e0bc0 | 75 65 3b 0a 0a 20 20 20 20 69 66 20 28 74 68 69 73 2e 74 61 72 67 65 74 2e 63 75 72 72 65 6e 74 | ue;......if.(this.target.current |
e0be0 | 55 52 49 2e 73 63 68 65 6d 65 49 73 28 22 6a 61 76 61 73 63 72 69 70 74 22 29 29 0a 20 20 20 20 | URI.schemeIs("javascript"))..... |
e0c00 | 20 20 72 65 74 75 72 6e 20 74 72 75 65 3b 0a 0a 20 20 20 20 76 61 72 20 72 65 71 75 65 73 74 20 | ..return.true;......var.request. |
e0c20 | 3d 20 74 68 69 73 2e 74 61 72 67 65 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | =.this.target................... |
e0c40 | 20 20 20 20 2e 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 28 43 69 2e 6e 73 49 49 6d 61 67 65 4c | .....QueryInterface(Ci.nsIImageL |
e0c60 | 6f 61 64 69 6e 67 43 6f 6e 74 65 6e 74 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | oadingContent).................. |
e0c80 | 20 20 20 20 20 2e 67 65 74 52 65 71 75 65 73 74 28 43 69 2e 6e 73 49 49 6d 61 67 65 4c 6f 61 64 | ......getRequest(Ci.nsIImageLoad |
e0ca0 | 69 6e 67 43 6f 6e 74 65 6e 74 2e 43 55 52 52 45 4e 54 5f 52 45 51 55 45 53 54 29 3b 0a 20 20 20 | ingContent.CURRENT_REQUEST);.... |
e0cc0 | 20 69 66 20 28 21 72 65 71 75 65 73 74 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 72 75 65 | .if.(!request).......return.true |
e0ce0 | 3b 0a 0a 20 20 20 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 0a 20 20 7d 2c 0a 0a 20 20 73 65 74 | ;......return.false;...},....set |
e0d00 | 44 65 73 6b 74 6f 70 42 61 63 6b 67 72 6f 75 6e 64 3a 20 66 75 6e 63 74 69 6f 6e 28 29 20 7b 0a | DesktopBackground:.function().{. |
e0d20 | 20 20 20 20 2f 2f 20 50 61 72 61 6e 6f 69 61 3a 20 63 68 65 63 6b 20 64 69 73 61 62 6c 65 53 65 | ....//.Paranoia:.check.disableSe |
e0d40 | 74 44 65 73 6b 74 6f 70 42 61 63 6b 67 72 6f 75 6e 64 20 61 67 61 69 6e 2c 20 69 6e 20 63 61 73 | tDesktopBackground.again,.in.cas |
e0d60 | 65 20 74 68 65 0a 20 20 20 20 2f 2f 20 69 6d 61 67 65 20 63 68 61 6e 67 65 64 20 73 69 6e 63 65 | e.the.....//.image.changed.since |
e0d80 | 20 74 68 65 20 63 6f 6e 74 65 78 74 20 6d 65 6e 75 20 77 61 73 20 69 6e 69 74 69 61 74 65 64 2e | .the.context.menu.was.initiated. |
e0da0 | 0a 20 20 20 20 69 66 20 28 74 68 69 73 2e 64 69 73 61 62 6c 65 53 65 74 44 65 73 6b 74 6f 70 42 | .....if.(this.disableSetDesktopB |
e0dc0 | 61 63 6b 67 72 6f 75 6e 64 28 29 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 20 20 | ackground()).......return;...... |
e0de0 | 75 72 6c 53 65 63 75 72 69 74 79 43 68 65 63 6b 28 74 68 69 73 2e 74 61 72 67 65 74 2e 63 75 72 | urlSecurityCheck(this.target.cur |
e0e00 | 72 65 6e 74 55 52 49 2e 73 70 65 63 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | rentURI.spec,................... |
e0e20 | 20 20 20 74 68 69 73 2e 74 61 72 67 65 74 2e 6f 77 6e 65 72 44 6f 63 75 6d 65 6e 74 2e 6e 6f 64 | ...this.target.ownerDocument.nod |
e0e40 | 65 50 72 69 6e 63 69 70 61 6c 29 3b 0a 0a 20 20 20 20 2f 2f 20 43 6f 6e 66 69 72 6d 20 73 69 6e | ePrincipal);......//.Confirm.sin |
e0e60 | 63 65 20 69 74 27 73 20 61 6e 6e 6f 79 69 6e 67 20 69 66 20 79 6f 75 20 68 69 74 20 74 68 69 73 | ce.it's.annoying.if.you.hit.this |
e0e80 | 20 61 63 63 69 64 65 6e 74 61 6c 6c 79 2e 0a 20 20 20 20 63 6f 6e 73 74 20 6b 44 65 73 6b 74 6f | .accidentally......const.kDeskto |
e0ea0 | 70 42 61 63 6b 67 72 6f 75 6e 64 55 52 4c 20 3d 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | pBackgroundURL.=................ |
e0ec0 | 20 20 20 20 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 73 65 | ...."chrome://browser/content/se |
e0ee0 | 74 44 65 73 6b 74 6f 70 42 61 63 6b 67 72 6f 75 6e 64 2e 78 75 6c 22 3b 0a 2f 2f 40 6c 69 6e 65 | tDesktopBackground.xul";.//@line |
e0f00 | 20 38 34 37 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 | .847."/builds/moz2_slave/linux_b |
e0f20 | 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 62 61 73 65 2f 63 6f 6e 74 65 6e 74 2f | uild/build/browser/base/content/ |
e0f40 | 6e 73 43 6f 6e 74 65 78 74 4d 65 6e 75 2e 6a 73 22 0a 20 20 20 20 2f 2f 20 4f 6e 20 6e 6f 6e 2d | nsContextMenu.js".....//.On.non- |
e0f60 | 4d 61 63 20 70 6c 61 74 66 6f 72 6d 73 2c 20 74 68 65 20 53 65 74 20 57 61 6c 6c 70 61 70 65 72 | Mac.platforms,.the.Set.Wallpaper |
e0f80 | 20 64 69 61 6c 6f 67 20 69 73 20 6d 6f 64 61 6c 2e 0a 20 20 20 20 6f 70 65 6e 44 69 61 6c 6f 67 | .dialog.is.modal......openDialog |
e0fa0 | 28 6b 44 65 73 6b 74 6f 70 42 61 63 6b 67 72 6f 75 6e 64 55 52 4c 2c 20 22 22 2c 0a 20 20 20 20 | (kDesktopBackgroundURL,."",..... |
e0fc0 | 20 20 20 20 20 20 20 20 20 20 20 22 63 65 6e 74 65 72 73 63 72 65 65 6e 2c 63 68 72 6f 6d 65 2c | ..........."centerscreen,chrome, |
e0fe0 | 64 69 61 6c 6f 67 2c 6d 6f 64 61 6c 2c 64 65 70 65 6e 64 65 6e 74 22 2c 0a 20 20 20 20 20 20 20 | dialog,modal,dependent",........ |
e1000 | 20 20 20 20 20 20 20 20 74 68 69 73 2e 74 61 72 67 65 74 29 3b 0a 2f 2f 40 6c 69 6e 65 20 38 35 | ........this.target);.//@line.85 |
e1020 | 32 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c | 2."/builds/moz2_slave/linux_buil |
e1040 | 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 62 61 73 65 2f 63 6f 6e 74 65 6e 74 2f 6e 73 43 | d/build/browser/base/content/nsC |
e1060 | 6f 6e 74 65 78 74 4d 65 6e 75 2e 6a 73 22 0a 20 20 7d 2c 0a 0a 20 20 2f 2f 20 53 61 76 65 20 55 | ontextMenu.js"...},....//.Save.U |
e1080 | 52 4c 20 6f 66 20 63 6c 69 63 6b 65 64 2d 6f 6e 20 66 72 61 6d 65 2e 0a 20 20 73 61 76 65 46 72 | RL.of.clicked-on.frame....saveFr |
e10a0 | 61 6d 65 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 20 7b 0a 20 20 20 20 73 61 76 65 44 6f 63 75 6d | ame:.function.().{.....saveDocum |
e10c0 | 65 6e 74 28 74 68 69 73 2e 74 61 72 67 65 74 2e 6f 77 6e 65 72 44 6f 63 75 6d 65 6e 74 29 3b 0a | ent(this.target.ownerDocument);. |
e10e0 | 20 20 7d 2c 0a 0a 20 20 2f 2f 20 53 61 76 65 20 55 52 4c 20 6f 66 20 63 6c 69 63 6b 65 64 2d 6f | ..},....//.Save.URL.of.clicked-o |
e1100 | 6e 20 6c 69 6e 6b 2e 0a 20 20 73 61 76 65 4c 69 6e 6b 3a 20 66 75 6e 63 74 69 6f 6e 28 29 20 7b | n.link....saveLink:.function().{ |
e1120 | 0a 20 20 20 20 2f 2f 20 63 61 6e 6f 6e 69 63 61 6c 20 64 65 66 20 69 6e 20 6e 73 55 52 49 4c 6f | .....//.canonical.def.in.nsURILo |
e1140 | 61 64 65 72 2e 68 0a 20 20 20 20 63 6f 6e 73 74 20 4e 53 5f 45 52 52 4f 52 5f 53 41 56 45 5f 4c | ader.h.....const.NS_ERROR_SAVE_L |
e1160 | 49 4e 4b 5f 41 53 5f 54 49 4d 45 4f 55 54 20 3d 20 30 78 38 30 35 64 30 30 32 30 3b 0a 20 20 20 | INK_AS_TIMEOUT.=.0x805d0020;.... |
e1180 | 20 0a 20 20 20 20 76 61 72 20 64 6f 63 20 3d 20 20 74 68 69 73 2e 74 61 72 67 65 74 2e 6f 77 6e | ......var.doc.=..this.target.own |
e11a0 | 65 72 44 6f 63 75 6d 65 6e 74 3b 0a 20 20 20 20 75 72 6c 53 65 63 75 72 69 74 79 43 68 65 63 6b | erDocument;.....urlSecurityCheck |
e11c0 | 28 74 68 69 73 2e 6c 69 6e 6b 55 52 4c 2c 20 64 6f 63 2e 6e 6f 64 65 50 72 69 6e 63 69 70 61 6c | (this.linkURL,.doc.nodePrincipal |
e11e0 | 29 3b 0a 20 20 20 20 76 61 72 20 6c 69 6e 6b 54 65 78 74 20 3d 20 74 68 69 73 2e 6c 69 6e 6b 54 | );.....var.linkText.=.this.linkT |
e1200 | 65 78 74 28 29 3b 0a 20 20 20 20 76 61 72 20 6c 69 6e 6b 55 52 4c 20 3d 20 74 68 69 73 2e 6c 69 | ext();.....var.linkURL.=.this.li |
e1220 | 6e 6b 55 52 4c 3b 0a 0a 0a 20 20 20 20 2f 2f 20 61 6e 20 6f 62 6a 65 63 74 20 74 6f 20 70 72 6f | nkURL;.......//.an.object.to.pro |
e1240 | 78 79 20 74 68 65 20 64 61 74 61 20 74 68 72 6f 75 67 68 20 74 6f 0a 20 20 20 20 2f 2f 20 6e 73 | xy.the.data.through.to.....//.ns |
e1260 | 49 45 78 74 65 72 6e 61 6c 48 65 6c 70 65 72 41 70 70 53 65 72 76 69 63 65 2e 64 6f 43 6f 6e 74 | IExternalHelperAppService.doCont |
e1280 | 65 6e 74 2c 20 77 68 69 63 68 20 77 69 6c 6c 20 77 61 69 74 20 66 6f 72 20 74 68 65 0a 20 20 20 | ent,.which.will.wait.for.the.... |
e12a0 | 20 2f 2f 20 61 70 70 72 6f 70 72 69 61 74 65 20 4d 49 4d 45 2d 74 79 70 65 20 68 65 61 64 65 72 | .//.appropriate.MIME-type.header |
e12c0 | 73 20 61 6e 64 20 74 68 65 6e 20 70 72 6f 6d 70 74 20 74 68 65 20 75 73 65 72 20 77 69 74 68 20 | s.and.then.prompt.the.user.with. |
e12e0 | 61 0a 20 20 20 20 2f 2f 20 66 69 6c 65 20 70 69 63 6b 65 72 0a 20 20 20 20 66 75 6e 63 74 69 6f | a.....//.file.picker.....functio |
e1300 | 6e 20 73 61 76 65 41 73 4c 69 73 74 65 6e 65 72 28 29 20 7b 7d 0a 20 20 20 20 73 61 76 65 41 73 | n.saveAsListener().{}.....saveAs |
e1320 | 4c 69 73 74 65 6e 65 72 2e 70 72 6f 74 6f 74 79 70 65 20 3d 20 7b 0a 20 20 20 20 20 20 65 78 74 | Listener.prototype.=.{.......ext |
e1340 | 4c 69 73 74 65 6e 65 72 3a 20 6e 75 6c 6c 2c 20 0a 0a 20 20 20 20 20 20 6f 6e 53 74 61 72 74 52 | Listener:.null,.........onStartR |
e1360 | 65 71 75 65 73 74 3a 20 66 75 6e 63 74 69 6f 6e 20 73 61 76 65 4c 69 6e 6b 41 73 5f 6f 6e 53 74 | equest:.function.saveLinkAs_onSt |
e1380 | 61 72 74 52 65 71 75 65 73 74 28 61 52 65 71 75 65 73 74 2c 20 61 43 6f 6e 74 65 78 74 29 20 7b | artRequest(aRequest,.aContext).{ |
e13a0 | 0a 0a 20 20 20 20 20 20 20 20 2f 2f 20 69 66 20 74 68 65 20 74 69 6d 65 72 20 66 69 72 65 64 2c | ..........//.if.the.timer.fired, |
e13c0 | 20 74 68 65 20 65 72 72 6f 72 20 73 74 61 74 75 73 20 77 69 6c 6c 20 68 61 76 65 20 62 65 65 6e | .the.error.status.will.have.been |
e13e0 | 20 63 61 75 73 65 64 20 62 79 20 74 68 61 74 2c 0a 20 20 20 20 20 20 20 20 2f 2f 20 61 6e 64 20 | .caused.by.that,.........//.and. |
e1400 | 77 65 27 6c 6c 20 62 65 20 72 65 73 74 61 72 74 69 6e 67 20 69 6e 20 6f 6e 53 74 6f 70 52 65 71 | we'll.be.restarting.in.onStopReq |
e1420 | 75 65 73 74 2c 20 73 6f 20 6e 6f 20 72 65 61 73 6f 6e 20 74 6f 20 6e 6f 74 69 66 79 0a 20 20 20 | uest,.so.no.reason.to.notify.... |
e1440 | 20 20 20 20 20 2f 2f 20 74 68 65 20 75 73 65 72 0a 20 20 20 20 20 20 20 20 69 66 20 28 61 52 65 | .....//.the.user.........if.(aRe |
e1460 | 71 75 65 73 74 2e 73 74 61 74 75 73 20 3d 3d 20 4e 53 5f 45 52 52 4f 52 5f 53 41 56 45 5f 4c 49 | quest.status.==.NS_ERROR_SAVE_LI |
e1480 | 4e 4b 5f 41 53 5f 54 49 4d 45 4f 55 54 29 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b | NK_AS_TIMEOUT)...........return; |
e14a0 | 0a 0a 20 20 20 20 20 20 20 20 74 69 6d 65 72 2e 63 61 6e 63 65 6c 28 29 3b 0a 0a 20 20 20 20 20 | ..........timer.cancel();....... |
e14c0 | 20 20 20 2f 2f 20 73 6f 6d 65 20 6f 74 68 65 72 20 65 72 72 6f 72 20 6f 63 63 75 72 65 64 3b 20 | ...//.some.other.error.occured;. |
e14e0 | 6e 6f 74 69 66 79 20 74 68 65 20 75 73 65 72 2e 2e 2e 0a 20 20 20 20 20 20 20 20 69 66 20 28 21 | notify.the.user............if.(! |
e1500 | 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 73 53 75 63 63 65 73 73 43 6f 64 65 28 61 52 65 71 75 65 73 | Components.isSuccessCode(aReques |
e1520 | 74 2e 73 74 61 74 75 73 29 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 74 72 79 20 7b 0a 20 20 20 | t.status)).{...........try.{.... |
e1540 | 20 20 20 20 20 20 20 20 20 63 6f 6e 73 74 20 73 62 73 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c | .........const.sbs.=.Cc["@mozill |
e1560 | 61 2e 6f 72 67 2f 69 6e 74 6c 2f 73 74 72 69 6e 67 62 75 6e 64 6c 65 3b 31 22 5d 2e 0a 20 20 20 | a.org/intl/stringbundle;1"]..... |
e1580 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 | .....................getService( |
e15a0 | 43 69 2e 6e 73 49 53 74 72 69 6e 67 42 75 6e 64 6c 65 53 65 72 76 69 63 65 29 3b 0a 20 20 20 20 | Ci.nsIStringBundleService);..... |
e15c0 | 20 20 20 20 20 20 20 20 63 6f 6e 73 74 20 62 75 6e 64 6c 65 20 3d 20 73 62 73 2e 63 72 65 61 74 | ........const.bundle.=.sbs.creat |
e15e0 | 65 42 75 6e 64 6c 65 28 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 63 68 | eBundle(....................."ch |
e1600 | 72 6f 6d 65 3a 2f 2f 6d 6f 7a 61 70 70 73 2f 6c 6f 63 61 6c 65 2f 64 6f 77 6e 6c 6f 61 64 73 2f | rome://mozapps/locale/downloads/ |
e1620 | 64 6f 77 6e 6c 6f 61 64 73 2e 70 72 6f 70 65 72 74 69 65 73 22 29 3b 0a 20 20 20 20 20 20 20 20 | downloads.properties");......... |
e1640 | 20 20 20 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6e 73 74 20 74 69 74 6c 65 20 3d 20 62 | .................const.title.=.b |
e1660 | 75 6e 64 6c 65 2e 47 65 74 53 74 72 69 6e 67 46 72 6f 6d 4e 61 6d 65 28 22 64 6f 77 6e 6c 6f 61 | undle.GetStringFromName("downloa |
e1680 | 64 45 72 72 6f 72 41 6c 65 72 74 54 69 74 6c 65 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 | dErrorAlertTitle");............. |
e16a0 | 63 6f 6e 73 74 20 6d 73 67 20 3d 20 62 75 6e 64 6c 65 2e 47 65 74 53 74 72 69 6e 67 46 72 6f 6d | const.msg.=.bundle.GetStringFrom |
e16c0 | 4e 61 6d 65 28 22 64 6f 77 6e 6c 6f 61 64 45 72 72 6f 72 47 65 6e 65 72 69 63 22 29 3b 0a 20 20 | Name("downloadErrorGeneric");... |
e16e0 | 20 20 20 20 20 20 20 20 20 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6e 73 74 20 70 72 6f | .......................const.pro |
e1700 | 6d 70 74 53 76 63 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 65 6d 62 65 64 63 | mptSvc.=.Cc["@mozilla.org/embedc |
e1720 | 6f 6d 70 2f 70 72 6f 6d 70 74 2d 73 65 72 76 69 63 65 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 | omp/prompt-service;1"].......... |
e1740 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 53 65 72 76 69 63 65 | ......................getService |
e1760 | 28 43 69 2e 6e 73 49 50 72 6f 6d 70 74 53 65 72 76 69 63 65 29 3b 0a 20 20 20 20 20 20 20 20 20 | (Ci.nsIPromptService);.......... |
e1780 | 20 20 20 70 72 6f 6d 70 74 53 76 63 2e 61 6c 65 72 74 28 64 6f 63 2e 64 65 66 61 75 6c 74 56 69 | ...promptSvc.alert(doc.defaultVi |
e17a0 | 65 77 2c 20 74 69 74 6c 65 2c 20 6d 73 67 29 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 20 63 61 74 | ew,.title,.msg);...........}.cat |
e17c0 | 63 68 20 28 65 78 29 20 7b 7d 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 20 | ch.(ex).{}...........return;.... |
e17e0 | 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 76 61 72 20 65 78 74 48 65 6c 70 65 72 41 70 70 | .....}..........var.extHelperApp |
e1800 | 53 76 63 20 3d 20 0a 20 20 20 20 20 20 20 20 20 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 | Svc.=............Cc["@mozilla.or |
e1820 | 67 2f 75 72 69 6c 6f 61 64 65 72 2f 65 78 74 65 72 6e 61 6c 2d 68 65 6c 70 65 72 2d 61 70 70 2d | g/uriloader/external-helper-app- |
e1840 | 73 65 72 76 69 63 65 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 67 65 74 53 65 72 76 69 63 | service;1"]............getServic |
e1860 | 65 28 43 69 2e 6e 73 49 45 78 74 65 72 6e 61 6c 48 65 6c 70 65 72 41 70 70 53 65 72 76 69 63 65 | e(Ci.nsIExternalHelperAppService |
e1880 | 29 3b 0a 20 20 20 20 20 20 20 20 76 61 72 20 63 68 61 6e 6e 65 6c 20 3d 20 61 52 65 71 75 65 73 | );.........var.channel.=.aReques |
e18a0 | 74 2e 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 28 43 69 2e 6e 73 49 43 68 61 6e 6e 65 6c 29 3b | t.QueryInterface(Ci.nsIChannel); |
e18c0 | 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 65 78 74 4c 69 73 74 65 6e 65 72 20 3d 20 0a 20 20 20 | .........this.extListener.=..... |
e18e0 | 20 20 20 20 20 20 20 65 78 74 48 65 6c 70 65 72 41 70 70 53 76 63 2e 64 6f 43 6f 6e 74 65 6e 74 | .......extHelperAppSvc.doContent |
e1900 | 28 63 68 61 6e 6e 65 6c 2e 63 6f 6e 74 65 6e 74 54 79 70 65 2c 20 61 52 65 71 75 65 73 74 2c 20 | (channel.contentType,.aRequest,. |
e1920 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
e1940 | 20 20 20 20 20 64 6f 63 2e 64 65 66 61 75 6c 74 56 69 65 77 2c 20 74 72 75 65 29 3b 0a 20 20 20 | .....doc.defaultView,.true);.... |
e1960 | 20 20 20 20 20 74 68 69 73 2e 65 78 74 4c 69 73 74 65 6e 65 72 2e 6f 6e 53 74 61 72 74 52 65 71 | .....this.extListener.onStartReq |
e1980 | 75 65 73 74 28 61 52 65 71 75 65 73 74 2c 20 61 43 6f 6e 74 65 78 74 29 3b 0a 20 20 20 20 20 20 | uest(aRequest,.aContext);....... |
e19a0 | 7d 2c 20 0a 0a 20 20 20 20 20 20 6f 6e 53 74 6f 70 52 65 71 75 65 73 74 3a 20 66 75 6e 63 74 69 | },.........onStopRequest:.functi |
e19c0 | 6f 6e 20 73 61 76 65 4c 69 6e 6b 41 73 5f 6f 6e 53 74 6f 70 52 65 71 75 65 73 74 28 61 52 65 71 | on.saveLinkAs_onStopRequest(aReq |
e19e0 | 75 65 73 74 2c 20 61 43 6f 6e 74 65 78 74 2c 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | uest,.aContext,................. |
e1a00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
e1a20 | 20 20 20 20 20 20 20 20 61 53 74 61 74 75 73 43 6f 64 65 29 20 7b 0a 20 20 20 20 20 20 20 20 69 | ........aStatusCode).{.........i |
e1a40 | 66 20 28 61 53 74 61 74 75 73 43 6f 64 65 20 3d 3d 20 4e 53 5f 45 52 52 4f 52 5f 53 41 56 45 5f | f.(aStatusCode.==.NS_ERROR_SAVE_ |
e1a60 | 4c 49 4e 4b 5f 41 53 5f 54 49 4d 45 4f 55 54 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 | LINK_AS_TIMEOUT).{...........//. |
e1a80 | 64 6f 20 69 74 20 74 68 65 20 6f 6c 64 20 66 61 73 68 69 6f 6e 65 64 20 77 61 79 2c 20 77 68 69 | do.it.the.old.fashioned.way,.whi |
e1aa0 | 63 68 20 77 69 6c 6c 20 70 69 63 6b 20 74 68 65 20 62 65 73 74 20 66 69 6c 65 6e 61 6d 65 0a 20 | ch.will.pick.the.best.filename.. |
e1ac0 | 20 20 20 20 20 20 20 20 20 2f 2f 20 69 74 20 63 61 6e 20 77 69 74 68 6f 75 74 20 77 61 69 74 69 | .........//.it.can.without.waiti |
e1ae0 | 6e 67 2e 0a 20 20 20 20 20 20 20 20 20 20 73 61 76 65 55 52 4c 28 6c 69 6e 6b 55 52 4c 2c 20 6c | ng............saveURL(linkURL,.l |
e1b00 | 69 6e 6b 54 65 78 74 2c 20 6e 75 6c 6c 2c 20 74 72 75 65 2c 20 66 61 6c 73 65 2c 20 64 6f 63 2e | inkText,.null,.true,.false,.doc. |
e1b20 | 64 6f 63 75 6d 65 6e 74 55 52 49 4f 62 6a 65 63 74 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 | documentURIObject);.........}... |
e1b40 | 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 65 78 74 4c 69 73 74 65 6e 65 72 29 0a 20 20 20 20 | ......if.(this.extListener)..... |
e1b60 | 20 20 20 20 20 20 74 68 69 73 2e 65 78 74 4c 69 73 74 65 6e 65 72 2e 6f 6e 53 74 6f 70 52 65 71 | ......this.extListener.onStopReq |
e1b80 | 75 65 73 74 28 61 52 65 71 75 65 73 74 2c 20 61 43 6f 6e 74 65 78 74 2c 20 61 53 74 61 74 75 73 | uest(aRequest,.aContext,.aStatus |
e1ba0 | 43 6f 64 65 29 3b 0a 20 20 20 20 20 20 7d 2c 0a 20 20 20 20 20 20 20 0a 20 20 20 20 20 20 6f 6e | Code);.......},...............on |
e1bc0 | 44 61 74 61 41 76 61 69 6c 61 62 6c 65 3a 20 66 75 6e 63 74 69 6f 6e 20 73 61 76 65 4c 69 6e 6b | DataAvailable:.function.saveLink |
e1be0 | 41 73 5f 6f 6e 44 61 74 61 41 76 61 69 6c 61 62 6c 65 28 61 52 65 71 75 65 73 74 2c 20 61 43 6f | As_onDataAvailable(aRequest,.aCo |
e1c00 | 6e 74 65 78 74 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ntext,.......................... |
e1c20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
e1c40 | 20 20 61 49 6e 70 75 74 53 74 72 65 61 6d 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ..aInputStream,................. |
e1c60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
e1c80 | 20 20 20 20 20 20 20 20 20 20 20 61 4f 66 66 73 65 74 2c 20 61 43 6f 75 6e 74 29 20 7b 0a 20 20 | ...........aOffset,.aCount).{... |
e1ca0 | 20 20 20 20 20 20 74 68 69 73 2e 65 78 74 4c 69 73 74 65 6e 65 72 2e 6f 6e 44 61 74 61 41 76 61 | ......this.extListener.onDataAva |
e1cc0 | 69 6c 61 62 6c 65 28 61 52 65 71 75 65 73 74 2c 20 61 43 6f 6e 74 65 78 74 2c 20 61 49 6e 70 75 | ilable(aRequest,.aContext,.aInpu |
e1ce0 | 74 53 74 72 65 61 6d 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | tStream,........................ |
e1d00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 4f 66 66 73 65 74 2c 20 61 43 6f 75 6e | ..................aOffset,.aCoun |
e1d20 | 74 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 0a 20 20 20 20 2f 2f 20 69 6e 20 63 61 73 | t);.......}.....}......//.in.cas |
e1d40 | 65 20 77 65 20 6e 65 65 64 20 74 6f 20 70 72 6f 6d 70 74 20 74 68 65 20 75 73 65 72 20 66 6f 72 | e.we.need.to.prompt.the.user.for |
e1d60 | 20 61 75 74 68 65 6e 74 69 63 61 74 69 6f 6e 0a 20 20 20 20 66 75 6e 63 74 69 6f 6e 20 63 61 6c | .authentication.....function.cal |
e1d80 | 6c 62 61 63 6b 73 28 29 20 7b 7d 0a 20 20 20 20 63 61 6c 6c 62 61 63 6b 73 2e 70 72 6f 74 6f 74 | lbacks().{}.....callbacks.protot |
e1da0 | 79 70 65 20 3d 20 7b 0a 20 20 20 20 20 20 67 65 74 49 6e 74 65 72 66 61 63 65 3a 20 66 75 6e 63 | ype.=.{.......getInterface:.func |
e1dc0 | 74 69 6f 6e 20 73 4c 41 5f 63 61 6c 6c 62 61 63 6b 73 5f 67 65 74 49 6e 74 65 72 66 61 63 65 28 | tion.sLA_callbacks_getInterface( |
e1de0 | 61 49 49 44 29 20 7b 0a 20 20 20 20 20 20 20 20 69 66 20 28 61 49 49 44 2e 65 71 75 61 6c 73 28 | aIID).{.........if.(aIID.equals( |
e1e00 | 43 69 2e 6e 73 49 41 75 74 68 50 72 6f 6d 70 74 29 20 7c 7c 20 61 49 49 44 2e 65 71 75 61 6c 73 | Ci.nsIAuthPrompt).||.aIID.equals |
e1e20 | 28 43 69 2e 6e 73 49 41 75 74 68 50 72 6f 6d 70 74 32 29 29 20 7b 0a 20 20 20 20 20 20 20 20 20 | (Ci.nsIAuthPrompt2)).{.......... |
e1e40 | 20 76 61 72 20 77 77 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 65 6d 62 65 64 | .var.ww.=.Cc["@mozilla.org/embed |
e1e60 | 63 6f 6d 70 2f 77 69 6e 64 6f 77 2d 77 61 74 63 68 65 72 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 | comp/window-watcher;1"]......... |
e1e80 | 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 50 72 6f | ............getService(Ci.nsIPro |
e1ea0 | 6d 70 74 46 61 63 74 6f 72 79 29 3b 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 77 77 | mptFactory);...........return.ww |
e1ec0 | 2e 67 65 74 50 72 6f 6d 70 74 28 64 6f 63 2e 64 65 66 61 75 6c 74 56 69 65 77 2c 20 61 49 49 44 | .getPrompt(doc.defaultView,.aIID |
e1ee0 | 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 74 68 72 6f 77 20 43 72 2e 4e 53 | );.........}.........throw.Cr.NS |
e1f00 | 5f 45 52 52 4f 52 5f 4e 4f 5f 49 4e 54 45 52 46 41 43 45 3b 0a 20 20 20 20 20 20 7d 20 0a 20 20 | _ERROR_NO_INTERFACE;.......}.... |
e1f20 | 20 20 7d 0a 0a 20 20 20 20 2f 2f 20 69 66 20 69 74 20 77 65 20 64 6f 6e 27 74 20 68 61 76 65 20 | ..}......//.if.it.we.don't.have. |
e1f40 | 74 68 65 20 68 65 61 64 65 72 73 20 61 66 74 65 72 20 61 20 73 68 6f 72 74 20 74 69 6d 65 2c 20 | the.headers.after.a.short.time,. |
e1f60 | 74 68 65 20 75 73 65 72 20 0a 20 20 20 20 2f 2f 20 77 6f 6e 27 74 20 68 61 76 65 20 72 65 63 65 | the.user......//.won't.have.rece |
e1f80 | 69 76 65 64 20 61 6e 79 20 66 65 65 64 62 61 63 6b 20 66 72 6f 6d 20 74 68 65 69 72 20 63 6c 69 | ived.any.feedback.from.their.cli |
e1fa0 | 63 6b 2e 20 20 74 68 61 74 27 73 20 62 61 64 2e 20 20 73 6f 0a 20 20 20 20 2f 2f 20 77 65 20 67 | ck...that's.bad...so.....//.we.g |
e1fc0 | 69 76 65 20 75 70 20 77 61 69 74 69 6e 67 20 66 6f 72 20 74 68 65 20 66 69 6c 65 6e 61 6d 65 2e | ive.up.waiting.for.the.filename. |
e1fe0 | 20 0a 20 20 20 20 66 75 6e 63 74 69 6f 6e 20 74 69 6d 65 72 43 61 6c 6c 62 61 63 6b 28 29 20 7b | ......function.timerCallback().{ |
e2000 | 7d 0a 20 20 20 20 74 69 6d 65 72 43 61 6c 6c 62 61 63 6b 2e 70 72 6f 74 6f 74 79 70 65 20 3d 20 | }.....timerCallback.prototype.=. |
e2020 | 7b 0a 20 20 20 20 20 20 6e 6f 74 69 66 79 3a 20 66 75 6e 63 74 69 6f 6e 20 73 4c 41 5f 74 69 6d | {.......notify:.function.sLA_tim |
e2040 | 65 72 5f 6e 6f 74 69 66 79 28 61 54 69 6d 65 72 29 20 7b 0a 20 20 20 20 20 20 20 20 63 68 61 6e | er_notify(aTimer).{.........chan |
e2060 | 6e 65 6c 2e 63 61 6e 63 65 6c 28 4e 53 5f 45 52 52 4f 52 5f 53 41 56 45 5f 4c 49 4e 4b 5f 41 53 | nel.cancel(NS_ERROR_SAVE_LINK_AS |
e2080 | 5f 54 49 4d 45 4f 55 54 29 3b 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 20 20 20 | _TIMEOUT);.........return;...... |
e20a0 | 20 7d 0a 20 20 20 20 7d 0a 0a 20 20 20 20 2f 2f 20 73 65 74 20 75 70 20 61 20 63 68 61 6e 6e 65 | .}.....}......//.set.up.a.channe |
e20c0 | 6c 20 74 6f 20 64 6f 20 74 68 65 20 73 61 76 69 6e 67 0a 20 20 20 20 76 61 72 20 69 6f 53 65 72 | l.to.do.the.saving.....var.ioSer |
e20e0 | 76 69 63 65 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6e 65 74 77 6f 72 6b 2f | vice.=.Cc["@mozilla.org/network/ |
e2100 | 69 6f 2d 73 65 72 76 69 63 65 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | io-service;1"].................. |
e2120 | 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 49 4f 53 65 72 76 69 63 65 29 3b | ....getService(Ci.nsIIOService); |
e2140 | 0a 20 20 20 20 76 61 72 20 63 68 61 6e 6e 65 6c 20 3d 20 69 6f 53 65 72 76 69 63 65 2e 6e 65 77 | .....var.channel.=.ioService.new |
e2160 | 43 68 61 6e 6e 65 6c 46 72 6f 6d 55 52 49 28 74 68 69 73 2e 67 65 74 4c 69 6e 6b 55 52 49 28 29 | ChannelFromURI(this.getLinkURI() |
e2180 | 29 3b 0a 20 20 20 20 63 68 61 6e 6e 65 6c 2e 6e 6f 74 69 66 69 63 61 74 69 6f 6e 43 61 6c 6c 62 | );.....channel.notificationCallb |
e21a0 | 61 63 6b 73 20 3d 20 6e 65 77 20 63 61 6c 6c 62 61 63 6b 73 28 29 3b 0a 20 20 20 20 63 68 61 6e | acks.=.new.callbacks();.....chan |
e21c0 | 6e 65 6c 2e 6c 6f 61 64 46 6c 61 67 73 20 7c 3d 20 43 69 2e 6e 73 49 52 65 71 75 65 73 74 2e 4c | nel.loadFlags.|=.Ci.nsIRequest.L |
e21e0 | 4f 41 44 5f 42 59 50 41 53 53 5f 43 41 43 48 45 20 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | OAD_BYPASS_CACHE.|.............. |
e2200 | 20 20 20 20 20 20 20 20 20 20 20 20 43 69 2e 6e 73 49 43 68 61 6e 6e 65 6c 2e 4c 4f 41 44 5f 43 | ............Ci.nsIChannel.LOAD_C |
e2220 | 41 4c 4c 5f 43 4f 4e 54 45 4e 54 5f 53 4e 49 46 46 45 52 53 3b 0a 20 20 20 20 69 66 20 28 63 68 | ALL_CONTENT_SNIFFERS;.....if.(ch |
e2240 | 61 6e 6e 65 6c 20 69 6e 73 74 61 6e 63 65 6f 66 20 43 69 2e 6e 73 49 48 74 74 70 43 68 61 6e 6e | annel.instanceof.Ci.nsIHttpChann |
e2260 | 65 6c 29 0a 20 20 20 20 20 20 63 68 61 6e 6e 65 6c 2e 72 65 66 65 72 72 65 72 20 3d 20 64 6f 63 | el).......channel.referrer.=.doc |
e2280 | 2e 64 6f 63 75 6d 65 6e 74 55 52 49 4f 62 6a 65 63 74 3b 0a 0a 20 20 20 20 2f 2f 20 66 61 6c 6c | .documentURIObject;......//.fall |
e22a0 | 62 61 63 6b 20 74 6f 20 74 68 65 20 6f 6c 64 20 77 61 79 20 69 66 20 77 65 20 64 6f 6e 27 74 20 | back.to.the.old.way.if.we.don't. |
e22c0 | 73 65 65 20 74 68 65 20 68 65 61 64 65 72 73 20 71 75 69 63 6b 6c 79 20 0a 20 20 20 20 76 61 72 | see.the.headers.quickly......var |
e22e0 | 20 74 69 6d 65 54 6f 57 61 69 74 20 3d 20 0a 20 20 20 20 20 20 67 50 72 65 66 53 65 72 76 69 63 | .timeToWait.=........gPrefServic |
e2300 | 65 2e 67 65 74 49 6e 74 50 72 65 66 28 22 62 72 6f 77 73 65 72 2e 64 6f 77 6e 6c 6f 61 64 2e 73 | e.getIntPref("browser.download.s |
e2320 | 61 76 65 4c 69 6e 6b 41 73 46 69 6c 65 6e 61 6d 65 54 69 6d 65 6f 75 74 22 29 3b 0a 20 20 20 20 | aveLinkAsFilenameTimeout");..... |
e2340 | 76 61 72 20 74 69 6d 65 72 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 74 69 6d | var.timer.=.Cc["@mozilla.org/tim |
e2360 | 65 72 3b 31 22 5d 2e 63 72 65 61 74 65 49 6e 73 74 61 6e 63 65 28 43 69 2e 6e 73 49 54 69 6d 65 | er;1"].createInstance(Ci.nsITime |
e2380 | 72 29 3b 0a 20 20 20 20 74 69 6d 65 72 2e 69 6e 69 74 57 69 74 68 43 61 6c 6c 62 61 63 6b 28 6e | r);.....timer.initWithCallback(n |
e23a0 | 65 77 20 74 69 6d 65 72 43 61 6c 6c 62 61 63 6b 28 29 2c 20 74 69 6d 65 54 6f 57 61 69 74 2c 0a | ew.timerCallback(),.timeToWait,. |
e23c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 69 6d 65 72 | ...........................timer |
e23e0 | 2e 54 59 50 45 5f 4f 4e 45 5f 53 48 4f 54 29 3b 0a 0a 20 20 20 20 2f 2f 20 6b 69 63 6b 20 6f 66 | .TYPE_ONE_SHOT);......//.kick.of |
e2400 | 66 20 74 68 65 20 63 68 61 6e 6e 65 6c 20 77 69 74 68 20 6f 75 72 20 70 72 6f 78 79 20 6f 62 6a | f.the.channel.with.our.proxy.obj |
e2420 | 65 63 74 20 61 73 20 74 68 65 20 6c 69 73 74 65 6e 65 72 0a 20 20 20 20 63 68 61 6e 6e 65 6c 2e | ect.as.the.listener.....channel. |
e2440 | 61 73 79 6e 63 4f 70 65 6e 28 6e 65 77 20 73 61 76 65 41 73 4c 69 73 74 65 6e 65 72 28 29 2c 20 | asyncOpen(new.saveAsListener(),. |
e2460 | 6e 75 6c 6c 29 3b 0a 20 20 7d 2c 0a 0a 20 20 73 65 6e 64 4c 69 6e 6b 3a 20 66 75 6e 63 74 69 6f | null);...},....sendLink:.functio |
e2480 | 6e 28 29 20 7b 0a 20 20 20 20 2f 2f 20 77 65 20 64 6f 6e 27 74 20 6b 6e 6f 77 20 74 68 65 20 74 | n().{.....//.we.don't.know.the.t |
e24a0 | 69 74 6c 65 20 6f 66 20 74 68 65 20 6c 69 6e 6b 20 73 6f 20 70 61 73 73 20 69 6e 20 61 6e 20 65 | itle.of.the.link.so.pass.in.an.e |
e24c0 | 6d 70 74 79 20 73 74 72 69 6e 67 0a 20 20 20 20 4d 61 69 6c 49 6e 74 65 67 72 61 74 69 6f 6e 2e | mpty.string.....MailIntegration. |
e24e0 | 73 65 6e 64 4d 65 73 73 61 67 65 28 20 74 68 69 73 2e 6c 69 6e 6b 55 52 4c 2c 20 22 22 20 29 3b | sendMessage(.this.linkURL,."".); |
e2500 | 0a 20 20 7d 2c 0a 0a 20 20 2f 2f 20 42 61 63 6b 77 61 72 64 73 2d 63 6f 6d 70 61 74 61 62 69 6c | ...},....//.Backwards-compatabil |
e2520 | 69 74 79 20 77 72 61 70 70 65 72 0a 20 20 73 61 76 65 49 6d 61 67 65 20 3a 20 66 75 6e 63 74 69 | ity.wrapper...saveImage.:.functi |
e2540 | 6f 6e 28 29 20 7b 0a 20 20 20 20 69 66 20 28 74 68 69 73 2e 6f 6e 43 61 6e 76 61 73 20 7c 7c 20 | on().{.....if.(this.onCanvas.||. |
e2560 | 74 68 69 73 2e 6f 6e 49 6d 61 67 65 29 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 73 61 76 65 4d | this.onImage).........this.saveM |
e2580 | 65 64 69 61 28 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2f 20 53 61 76 65 20 55 52 4c 20 6f 66 20 74 | edia();...},....//.Save.URL.of.t |
e25a0 | 68 65 20 63 6c 69 63 6b 65 64 20 75 70 6f 6e 20 69 6d 61 67 65 2c 20 76 69 64 65 6f 2c 20 6f 72 | he.clicked.upon.image,.video,.or |
e25c0 | 20 61 75 64 69 6f 2e 0a 20 20 73 61 76 65 4d 65 64 69 61 3a 20 66 75 6e 63 74 69 6f 6e 28 29 20 | .audio....saveMedia:.function(). |
e25e0 | 7b 0a 20 20 20 20 76 61 72 20 64 6f 63 20 3d 20 20 74 68 69 73 2e 74 61 72 67 65 74 2e 6f 77 6e | {.....var.doc.=..this.target.own |
e2600 | 65 72 44 6f 63 75 6d 65 6e 74 3b 0a 20 20 20 20 69 66 20 28 74 68 69 73 2e 6f 6e 43 61 6e 76 61 | erDocument;.....if.(this.onCanva |
e2620 | 73 29 20 7b 0a 20 20 20 20 20 20 2f 2f 20 42 79 70 61 73 73 20 63 61 63 68 65 2c 20 73 69 6e 63 | s).{.......//.Bypass.cache,.sinc |
e2640 | 65 20 69 74 27 73 20 61 20 64 61 74 61 3a 20 55 52 4c 2e 0a 20 20 20 20 20 20 73 61 76 65 49 6d | e.it's.a.data:.URL........saveIm |
e2660 | 61 67 65 55 52 4c 28 74 68 69 73 2e 74 61 72 67 65 74 2e 74 6f 44 61 74 61 55 52 4c 28 29 2c 20 | ageURL(this.target.toDataURL(),. |
e2680 | 22 63 61 6e 76 61 73 2e 70 6e 67 22 2c 20 22 53 61 76 65 49 6d 61 67 65 54 69 74 6c 65 22 2c 0a | "canvas.png",."SaveImageTitle",. |
e26a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 72 75 65 2c 20 66 61 6c 73 65 2c 20 | ...................true,.false,. |
e26c0 | 64 6f 63 2e 64 6f 63 75 6d 65 6e 74 55 52 49 4f 62 6a 65 63 74 29 3b 0a 20 20 20 20 7d 0a 20 20 | doc.documentURIObject);.....}... |
e26e0 | 20 20 65 6c 73 65 20 69 66 20 28 74 68 69 73 2e 6f 6e 49 6d 61 67 65 29 20 7b 0a 20 20 20 20 20 | ..else.if.(this.onImage).{...... |
e2700 | 20 75 72 6c 53 65 63 75 72 69 74 79 43 68 65 63 6b 28 74 68 69 73 2e 6d 65 64 69 61 55 52 4c 2c | .urlSecurityCheck(this.mediaURL, |
e2720 | 20 64 6f 63 2e 6e 6f 64 65 50 72 69 6e 63 69 70 61 6c 29 3b 0a 20 20 20 20 20 20 73 61 76 65 49 | .doc.nodePrincipal);.......saveI |
e2740 | 6d 61 67 65 55 52 4c 28 74 68 69 73 2e 6d 65 64 69 61 55 52 4c 2c 20 6e 75 6c 6c 2c 20 22 53 61 | mageURL(this.mediaURL,.null,."Sa |
e2760 | 76 65 49 6d 61 67 65 54 69 74 6c 65 22 2c 20 66 61 6c 73 65 2c 0a 20 20 20 20 20 20 20 20 20 20 | veImageTitle",.false,........... |
e2780 | 20 20 20 20 20 20 20 20 20 66 61 6c 73 65 2c 20 64 6f 63 2e 64 6f 63 75 6d 65 6e 74 55 52 49 4f | .........false,.doc.documentURIO |
e27a0 | 62 6a 65 63 74 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 65 6c 73 65 20 69 66 20 28 74 68 69 73 2e | bject);.....}.....else.if.(this. |
e27c0 | 6f 6e 56 69 64 65 6f 20 7c 7c 20 74 68 69 73 2e 6f 6e 41 75 64 69 6f 29 20 7b 0a 20 20 20 20 20 | onVideo.||.this.onAudio).{...... |
e27e0 | 20 75 72 6c 53 65 63 75 72 69 74 79 43 68 65 63 6b 28 74 68 69 73 2e 6d 65 64 69 61 55 52 4c 2c | .urlSecurityCheck(this.mediaURL, |
e2800 | 20 64 6f 63 2e 6e 6f 64 65 50 72 69 6e 63 69 70 61 6c 29 3b 0a 20 20 20 20 20 20 76 61 72 20 64 | .doc.nodePrincipal);.......var.d |
e2820 | 69 61 6c 6f 67 54 69 74 6c 65 20 3d 20 74 68 69 73 2e 6f 6e 56 69 64 65 6f 20 3f 20 22 53 61 76 | ialogTitle.=.this.onVideo.?."Sav |
e2840 | 65 56 69 64 65 6f 54 69 74 6c 65 22 20 3a 20 22 53 61 76 65 41 75 64 69 6f 54 69 74 6c 65 22 3b | eVideoTitle".:."SaveAudioTitle"; |
e2860 | 0a 20 20 20 20 20 20 73 61 76 65 55 52 4c 28 74 68 69 73 2e 6d 65 64 69 61 55 52 4c 2c 20 6e 75 | .......saveURL(this.mediaURL,.nu |
e2880 | 6c 6c 2c 20 64 69 61 6c 6f 67 54 69 74 6c 65 2c 20 66 61 6c 73 65 2c 0a 20 20 20 20 20 20 20 20 | ll,.dialogTitle,.false,......... |
e28a0 | 20 20 20 20 20 20 66 61 6c 73 65 2c 20 64 6f 63 2e 64 6f 63 75 6d 65 6e 74 55 52 49 4f 62 6a 65 | ......false,.doc.documentURIObje |
e28c0 | 63 74 29 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 2f 2f 20 42 61 63 6b 77 61 72 64 73 2d | ct);.....}...},....//.Backwards- |
e28e0 | 63 6f 6d 70 61 74 61 62 69 6c 69 74 79 20 77 72 61 70 70 65 72 0a 20 20 73 65 6e 64 49 6d 61 67 | compatability.wrapper...sendImag |
e2900 | 65 20 3a 20 66 75 6e 63 74 69 6f 6e 28 29 20 7b 0a 20 20 20 20 69 66 20 28 74 68 69 73 2e 6f 6e | e.:.function().{.....if.(this.on |
e2920 | 43 61 6e 76 61 73 20 7c 7c 20 74 68 69 73 2e 6f 6e 49 6d 61 67 65 29 0a 20 20 20 20 20 20 20 20 | Canvas.||.this.onImage)......... |
e2940 | 74 68 69 73 2e 73 65 6e 64 4d 65 64 69 61 28 29 3b 0a 20 20 7d 2c 0a 0a 20 20 73 65 6e 64 4d 65 | this.sendMedia();...},....sendMe |
e2960 | 64 69 61 3a 20 66 75 6e 63 74 69 6f 6e 28 29 20 7b 0a 20 20 20 20 4d 61 69 6c 49 6e 74 65 67 72 | dia:.function().{.....MailIntegr |
e2980 | 61 74 69 6f 6e 2e 73 65 6e 64 4d 65 73 73 61 67 65 28 74 68 69 73 2e 6d 65 64 69 61 55 52 4c 2c | ation.sendMessage(this.mediaURL, |
e29a0 | 20 22 22 29 3b 0a 20 20 7d 2c 0a 0a 20 20 74 6f 67 67 6c 65 49 6d 61 67 65 42 6c 6f 63 6b 69 6e | ."");...},....toggleImageBlockin |
e29c0 | 67 3a 20 66 75 6e 63 74 69 6f 6e 28 61 42 6c 6f 63 6b 29 20 7b 0a 20 20 20 20 76 61 72 20 70 65 | g:.function(aBlock).{.....var.pe |
e29e0 | 72 6d 69 73 73 69 6f 6e 6d 61 6e 61 67 65 72 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f | rmissionmanager.=.Cc["@mozilla.o |
e2a00 | 72 67 2f 70 65 72 6d 69 73 73 69 6f 6e 6d 61 6e 61 67 65 72 3b 31 22 5d 2e 0a 20 20 20 20 20 20 | rg/permissionmanager;1"]........ |
e2a20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 53 65 72 76 69 63 65 | ......................getService |
e2a40 | 28 43 69 2e 6e 73 49 50 65 72 6d 69 73 73 69 6f 6e 4d 61 6e 61 67 65 72 29 3b 0a 0a 20 20 20 20 | (Ci.nsIPermissionManager);...... |
e2a60 | 76 61 72 20 75 72 69 20 3d 20 74 68 69 73 2e 74 61 72 67 65 74 2e 51 75 65 72 79 49 6e 74 65 72 | var.uri.=.this.target.QueryInter |
e2a80 | 66 61 63 65 28 43 69 2e 6e 73 49 49 6d 61 67 65 4c 6f 61 64 69 6e 67 43 6f 6e 74 65 6e 74 29 2e | face(Ci.nsIImageLoadingContent). |
e2aa0 | 63 75 72 72 65 6e 74 55 52 49 3b 0a 0a 20 20 20 20 69 66 20 28 61 42 6c 6f 63 6b 29 0a 20 20 20 | currentURI;......if.(aBlock).... |
e2ac0 | 20 20 20 70 65 72 6d 69 73 73 69 6f 6e 6d 61 6e 61 67 65 72 2e 61 64 64 28 75 72 69 2c 20 22 69 | ...permissionmanager.add(uri,."i |
e2ae0 | 6d 61 67 65 22 2c 20 43 69 2e 6e 73 49 50 65 72 6d 69 73 73 69 6f 6e 4d 61 6e 61 67 65 72 2e 44 | mage",.Ci.nsIPermissionManager.D |
e2b00 | 45 4e 59 5f 41 43 54 49 4f 4e 29 3b 0a 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 70 65 72 6d | ENY_ACTION);.....else.......perm |
e2b20 | 69 73 73 69 6f 6e 6d 61 6e 61 67 65 72 2e 72 65 6d 6f 76 65 28 75 72 69 2e 68 6f 73 74 2c 20 22 | issionmanager.remove(uri.host,." |
e2b40 | 69 6d 61 67 65 22 29 3b 0a 0a 20 20 20 20 76 61 72 20 62 72 61 6e 64 42 75 6e 64 6c 65 20 3d 20 | image");......var.brandBundle.=. |
e2b60 | 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 62 75 6e 64 6c 65 5f | document.getElementById("bundle_ |
e2b80 | 62 72 61 6e 64 22 29 3b 0a 20 20 20 20 76 61 72 20 61 70 70 20 3d 20 62 72 61 6e 64 42 75 6e 64 | brand");.....var.app.=.brandBund |
e2ba0 | 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 62 72 61 6e 64 53 68 6f 72 74 4e 61 6d 65 22 29 3b 0a | le.getString("brandShortName");. |
e2bc0 | 20 20 20 20 76 61 72 20 62 75 6e 64 6c 65 5f 62 72 6f 77 73 65 72 20 3d 20 64 6f 63 75 6d 65 6e | ....var.bundle_browser.=.documen |
e2be0 | 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 62 75 6e 64 6c 65 5f 62 72 6f 77 73 65 72 | t.getElementById("bundle_browser |
e2c00 | 22 29 3b 0a 20 20 20 20 76 61 72 20 6d 65 73 73 61 67 65 20 3d 20 62 75 6e 64 6c 65 5f 62 72 6f | ");.....var.message.=.bundle_bro |
e2c20 | 77 73 65 72 2e 67 65 74 46 6f 72 6d 61 74 74 65 64 53 74 72 69 6e 67 28 61 42 6c 6f 63 6b 20 3f | wser.getFormattedString(aBlock.? |
e2c40 | 0a 20 20 20 20 20 22 69 6d 61 67 65 42 6c 6f 63 6b 65 64 57 61 72 6e 69 6e 67 22 20 3a 20 22 69 | ......"imageBlockedWarning".:."i |
e2c60 | 6d 61 67 65 41 6c 6c 6f 77 65 64 57 61 72 6e 69 6e 67 22 2c 20 5b 61 70 70 2c 20 75 72 69 2e 68 | mageAllowedWarning",.[app,.uri.h |
e2c80 | 6f 73 74 5d 29 3b 0a 0a 20 20 20 20 76 61 72 20 6e 6f 74 69 66 69 63 61 74 69 6f 6e 42 6f 78 20 | ost]);......var.notificationBox. |
e2ca0 | 3d 20 74 68 69 73 2e 62 72 6f 77 73 65 72 2e 67 65 74 4e 6f 74 69 66 69 63 61 74 69 6f 6e 42 6f | =.this.browser.getNotificationBo |
e2cc0 | 78 28 29 3b 0a 20 20 20 20 76 61 72 20 6e 6f 74 69 66 69 63 61 74 69 6f 6e 20 3d 20 6e 6f 74 69 | x();.....var.notification.=.noti |
e2ce0 | 66 69 63 61 74 69 6f 6e 42 6f 78 2e 67 65 74 4e 6f 74 69 66 69 63 61 74 69 6f 6e 57 69 74 68 56 | ficationBox.getNotificationWithV |
e2d00 | 61 6c 75 65 28 22 69 6d 61 67 65 73 2d 62 6c 6f 63 6b 65 64 22 29 3b 0a 0a 20 20 20 20 69 66 20 | alue("images-blocked");......if. |
e2d20 | 28 6e 6f 74 69 66 69 63 61 74 69 6f 6e 29 0a 20 20 20 20 20 20 6e 6f 74 69 66 69 63 61 74 69 6f | (notification).......notificatio |
e2d40 | 6e 2e 6c 61 62 65 6c 20 3d 20 6d 65 73 73 61 67 65 3b 0a 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 | n.label.=.message;.....else.{... |
e2d60 | 20 20 20 20 76 61 72 20 73 65 6c 66 20 3d 20 74 68 69 73 3b 0a 20 20 20 20 20 20 76 61 72 20 62 | ....var.self.=.this;.......var.b |
e2d80 | 75 74 74 6f 6e 73 20 3d 20 5b 7b 0a 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3a 20 62 75 6e 64 6c | uttons.=.[{.........label:.bundl |
e2da0 | 65 5f 62 72 6f 77 73 65 72 2e 67 65 74 53 74 72 69 6e 67 28 22 75 6e 64 6f 22 29 2c 0a 20 20 20 | e_browser.getString("undo"),.... |
e2dc0 | 20 20 20 20 20 61 63 63 65 73 73 4b 65 79 3a 20 62 75 6e 64 6c 65 5f 62 72 6f 77 73 65 72 2e 67 | .....accessKey:.bundle_browser.g |
e2de0 | 65 74 53 74 72 69 6e 67 28 22 75 6e 64 6f 2e 61 63 63 65 73 73 4b 65 79 22 29 2c 0a 20 20 20 20 | etString("undo.accessKey"),..... |
e2e00 | 20 20 20 20 63 61 6c 6c 62 61 63 6b 3a 20 66 75 6e 63 74 69 6f 6e 28 29 20 7b 20 73 65 6c 66 2e | ....callback:.function().{.self. |
e2e20 | 74 6f 67 67 6c 65 49 6d 61 67 65 42 6c 6f 63 6b 69 6e 67 28 21 61 42 6c 6f 63 6b 29 3b 20 7d 0a | toggleImageBlocking(!aBlock);.}. |
e2e40 | 20 20 20 20 20 20 7d 5d 3b 0a 20 20 20 20 20 20 63 6f 6e 73 74 20 70 72 69 6f 72 69 74 79 20 3d | ......}];.......const.priority.= |
e2e60 | 20 6e 6f 74 69 66 69 63 61 74 69 6f 6e 42 6f 78 2e 50 52 49 4f 52 49 54 59 5f 57 41 52 4e 49 4e | .notificationBox.PRIORITY_WARNIN |
e2e80 | 47 5f 4d 45 44 49 55 4d 3b 0a 20 20 20 20 20 20 6e 6f 74 69 66 69 63 61 74 69 6f 6e 42 6f 78 2e | G_MEDIUM;.......notificationBox. |
e2ea0 | 61 70 70 65 6e 64 4e 6f 74 69 66 69 63 61 74 69 6f 6e 28 6d 65 73 73 61 67 65 2c 20 22 69 6d 61 | appendNotification(message,."ima |
e2ec0 | 67 65 73 2d 62 6c 6f 63 6b 65 64 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ges-blocked",................... |
e2ee0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 63 68 72 6f 6d 65 3a 2f | ......................."chrome:/ |
e2f00 | 2f 62 72 6f 77 73 65 72 2f 73 6b 69 6e 2f 49 6e 66 6f 2e 70 6e 67 22 2c 0a 20 20 20 20 20 20 20 | /browser/skin/Info.png",........ |
e2f20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
e2f40 | 20 20 70 72 69 6f 72 69 74 79 2c 20 62 75 74 74 6f 6e 73 29 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 | ..priority,.buttons);.....}..... |
e2f60 | 20 2f 2f 20 52 65 6c 6f 61 64 20 74 68 65 20 70 61 67 65 20 74 6f 20 73 68 6f 77 20 74 68 65 20 | .//.Reload.the.page.to.show.the. |
e2f80 | 65 66 66 65 63 74 20 69 6e 73 74 61 6e 74 6c 79 0a 20 20 20 20 42 72 6f 77 73 65 72 52 65 6c 6f | effect.instantly.....BrowserRelo |
e2fa0 | 61 64 28 29 3b 0a 20 20 7d 2c 0a 0a 20 20 69 73 49 6d 61 67 65 42 6c 6f 63 6b 65 64 3a 20 66 75 | ad();...},....isImageBlocked:.fu |
e2fc0 | 6e 63 74 69 6f 6e 28 29 20 7b 0a 20 20 20 20 76 61 72 20 70 65 72 6d 69 73 73 69 6f 6e 6d 61 6e | nction().{.....var.permissionman |
e2fe0 | 61 67 65 72 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 70 65 72 6d 69 73 73 69 | ager.=.Cc["@mozilla.org/permissi |
e3000 | 6f 6e 6d 61 6e 61 67 65 72 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | onmanager;1"]................... |
e3020 | 20 20 20 20 20 20 20 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 50 65 72 6d | ...........getService(Ci.nsIPerm |
e3040 | 69 73 73 69 6f 6e 4d 61 6e 61 67 65 72 29 3b 0a 0a 20 20 20 20 76 61 72 20 75 72 69 20 3d 20 74 | issionManager);......var.uri.=.t |
e3060 | 68 69 73 2e 74 61 72 67 65 74 2e 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 28 43 69 2e 6e 73 49 | his.target.QueryInterface(Ci.nsI |
e3080 | 49 6d 61 67 65 4c 6f 61 64 69 6e 67 43 6f 6e 74 65 6e 74 29 2e 63 75 72 72 65 6e 74 55 52 49 3b | ImageLoadingContent).currentURI; |
e30a0 | 0a 0a 20 20 20 20 72 65 74 75 72 6e 20 70 65 72 6d 69 73 73 69 6f 6e 6d 61 6e 61 67 65 72 2e 74 | ......return.permissionmanager.t |
e30c0 | 65 73 74 50 65 72 6d 69 73 73 69 6f 6e 28 75 72 69 2c 20 22 69 6d 61 67 65 22 29 20 3d 3d 20 43 | estPermission(uri,."image").==.C |
e30e0 | 69 2e 6e 73 49 50 65 72 6d 69 73 73 69 6f 6e 4d 61 6e 61 67 65 72 2e 44 45 4e 59 5f 41 43 54 49 | i.nsIPermissionManager.DENY_ACTI |
e3100 | 4f 4e 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2f 20 47 65 6e 65 72 61 74 65 20 65 6d 61 69 6c 20 61 64 | ON;...},....//.Generate.email.ad |
e3120 | 64 72 65 73 73 20 61 6e 64 20 70 75 74 20 69 74 20 6f 6e 20 63 6c 69 70 62 6f 61 72 64 2e 0a 20 | dress.and.put.it.on.clipboard... |
e3140 | 20 63 6f 70 79 45 6d 61 69 6c 3a 20 66 75 6e 63 74 69 6f 6e 28 29 20 7b 0a 20 20 20 20 2f 2f 20 | .copyEmail:.function().{.....//. |
e3160 | 43 6f 70 79 20 74 68 65 20 63 6f 6d 6d 61 2d 73 65 70 61 72 61 74 65 64 20 6c 69 73 74 20 6f 66 | Copy.the.comma-separated.list.of |
e3180 | 20 65 6d 61 69 6c 20 61 64 64 72 65 73 73 65 73 20 6f 6e 6c 79 2e 0a 20 20 20 20 2f 2f 20 54 68 | .email.addresses.only......//.Th |
e31a0 | 65 72 65 20 61 72 65 20 6f 74 68 65 72 20 77 61 79 73 20 6f 66 20 65 6d 62 65 64 64 69 6e 67 20 | ere.are.other.ways.of.embedding. |
e31c0 | 65 6d 61 69 6c 20 61 64 64 72 65 73 73 65 73 20 69 6e 20 61 20 6d 61 69 6c 74 6f 3a 0a 20 20 20 | email.addresses.in.a.mailto:.... |
e31e0 | 20 2f 2f 20 6c 69 6e 6b 2c 20 62 75 74 20 73 75 63 68 20 63 6f 6d 70 6c 65 78 20 70 61 72 73 69 | .//.link,.but.such.complex.parsi |
e3200 | 6e 67 20 69 73 20 62 65 79 6f 6e 64 20 75 73 2e 0a 20 20 20 20 76 61 72 20 75 72 6c 20 3d 20 74 | ng.is.beyond.us......var.url.=.t |
e3220 | 68 69 73 2e 6c 69 6e 6b 55 52 4c 3b 0a 20 20 20 20 76 61 72 20 71 6d 61 72 6b 20 3d 20 75 72 6c | his.linkURL;.....var.qmark.=.url |
e3240 | 2e 69 6e 64 65 78 4f 66 28 22 3f 22 29 3b 0a 20 20 20 20 76 61 72 20 61 64 64 72 65 73 73 65 73 | .indexOf("?");.....var.addresses |
e3260 | 3b 0a 0a 20 20 20 20 2f 2f 20 37 20 3d 3d 20 6c 65 6e 67 74 68 20 6f 66 20 22 6d 61 69 6c 74 6f | ;......//.7.==.length.of."mailto |
e3280 | 3a 22 0a 20 20 20 20 61 64 64 72 65 73 73 65 73 20 3d 20 71 6d 61 72 6b 20 3e 20 37 20 3f 20 75 | :".....addresses.=.qmark.>.7.?.u |
e32a0 | 72 6c 2e 73 75 62 73 74 72 69 6e 67 28 37 2c 20 71 6d 61 72 6b 29 20 3a 20 75 72 6c 2e 73 75 62 | rl.substring(7,.qmark).:.url.sub |
e32c0 | 73 74 72 28 37 29 3b 0a 0a 20 20 20 20 2f 2f 20 4c 65 74 27 73 20 74 72 79 20 74 6f 20 75 6e 65 | str(7);......//.Let's.try.to.une |
e32e0 | 73 63 61 70 65 20 69 74 20 75 73 69 6e 67 20 61 20 63 68 61 72 61 63 74 65 72 20 73 65 74 0a 20 | scape.it.using.a.character.set.. |
e3300 | 20 20 20 2f 2f 20 69 6e 20 63 61 73 65 20 74 68 65 20 61 64 64 72 65 73 73 20 69 73 20 6e 6f 74 | ...//.in.case.the.address.is.not |
e3320 | 20 41 53 43 49 49 2e 0a 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 76 61 72 20 63 68 61 72 | .ASCII......try.{.......var.char |
e3340 | 61 63 74 65 72 53 65 74 20 3d 20 74 68 69 73 2e 74 61 72 67 65 74 2e 6f 77 6e 65 72 44 6f 63 75 | acterSet.=.this.target.ownerDocu |
e3360 | 6d 65 6e 74 2e 63 68 61 72 61 63 74 65 72 53 65 74 3b 0a 20 20 20 20 20 20 63 6f 6e 73 74 20 74 | ment.characterSet;.......const.t |
e3380 | 65 78 74 54 6f 53 75 62 55 52 49 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 69 | extToSubURI.=.Cc["@mozilla.org/i |
e33a0 | 6e 74 6c 2f 74 65 78 74 74 6f 73 75 62 75 72 69 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 | ntl/texttosuburi;1"]............ |
e33c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e | .................getService(Ci.n |
e33e0 | 73 49 54 65 78 74 54 6f 53 75 62 55 52 49 29 3b 0a 20 20 20 20 20 20 61 64 64 72 65 73 73 65 73 | sITextToSubURI);.......addresses |
e3400 | 20 3d 20 74 65 78 74 54 6f 53 75 62 55 52 49 2e 75 6e 45 73 63 61 70 65 55 52 49 46 6f 72 55 49 | .=.textToSubURI.unEscapeURIForUI |
e3420 | 28 63 68 61 72 61 63 74 65 72 53 65 74 2c 20 61 64 64 72 65 73 73 65 73 29 3b 0a 20 20 20 20 7d | (characterSet,.addresses);.....} |
e3440 | 0a 20 20 20 20 63 61 74 63 68 28 65 78 29 20 7b 0a 20 20 20 20 20 20 2f 2f 20 44 6f 20 6e 6f 74 | .....catch(ex).{.......//.Do.not |
e3460 | 68 69 6e 67 2e 0a 20 20 20 20 7d 0a 0a 20 20 20 20 76 61 72 20 63 6c 69 70 62 6f 61 72 64 20 3d | hing......}......var.clipboard.= |
e3480 | 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 77 69 64 67 65 74 2f 63 6c 69 70 62 6f 61 | .Cc["@mozilla.org/widget/clipboa |
e34a0 | 72 64 68 65 6c 70 65 72 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | rdhelper;1"].................... |
e34c0 | 20 20 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 43 6c 69 70 62 6f 61 72 64 48 65 6c 70 | ..getService(Ci.nsIClipboardHelp |
e34e0 | 65 72 29 3b 0a 20 20 20 20 63 6c 69 70 62 6f 61 72 64 2e 63 6f 70 79 53 74 72 69 6e 67 28 61 64 | er);.....clipboard.copyString(ad |
e3500 | 64 72 65 73 73 65 73 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2f 20 4f 70 65 6e 20 4d 65 74 61 64 61 | dresses);...},....//.Open.Metada |
e3520 | 74 61 20 77 69 6e 64 6f 77 20 66 6f 72 20 6e 6f 64 65 0a 20 20 73 68 6f 77 4d 65 74 61 64 61 74 | ta.window.for.node...showMetadat |
e3540 | 61 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 20 7b 0a 20 20 20 20 77 69 6e 64 6f 77 2e 6f 70 65 6e | a:.function.().{.....window.open |
e3560 | 44 69 61 6c 6f 67 28 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 | Dialog("chrome://browser/content |
e3580 | 2f 6d 65 74 61 44 61 74 61 2e 78 75 6c 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | /metaData.xul",................. |
e35a0 | 20 20 20 20 20 20 22 5f 62 6c 61 6e 6b 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ......"_blank",................. |
e35c0 | 20 20 20 20 20 20 22 73 63 72 6f 6c 6c 62 61 72 73 2c 72 65 73 69 7a 61 62 6c 65 2c 63 68 72 6f | ......"scrollbars,resizable,chro |
e35e0 | 6d 65 2c 64 69 61 6c 6f 67 3d 6e 6f 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | me,dialog=no",.................. |
e3600 | 20 20 20 20 20 74 68 69 73 2e 74 61 72 67 65 74 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2f 2f 2f 2f | .....this.target);...},....///// |
e3620 | 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 0a 20 20 2f 2f 20 55 74 69 6c 69 74 69 65 73 20 2f 2f 0a 20 20 2f | //////////...//.Utilities.//.../ |
e3640 | 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 0a 0a 20 20 2f 2f 20 53 68 6f 77 2f 68 69 64 65 20 6f | //////////////....//.Show/hide.o |
e3660 | 6e 65 20 69 74 65 6d 20 28 73 70 65 63 69 66 69 65 64 20 76 69 61 20 6e 61 6d 65 20 6f 72 20 74 | ne.item.(specified.via.name.or.t |
e3680 | 68 65 20 69 74 65 6d 20 65 6c 65 6d 65 6e 74 20 69 74 73 65 6c 66 29 2e 0a 20 20 73 68 6f 77 49 | he.item.element.itself)....showI |
e36a0 | 74 65 6d 3a 20 66 75 6e 63 74 69 6f 6e 28 61 49 74 65 6d 4f 72 49 64 2c 20 61 53 68 6f 77 29 20 | tem:.function(aItemOrId,.aShow). |
e36c0 | 7b 0a 20 20 20 20 76 61 72 20 69 74 65 6d 20 3d 20 61 49 74 65 6d 4f 72 49 64 2e 63 6f 6e 73 74 | {.....var.item.=.aItemOrId.const |
e36e0 | 72 75 63 74 6f 72 20 3d 3d 20 53 74 72 69 6e 67 20 3f 0a 20 20 20 20 20 20 64 6f 63 75 6d 65 6e | ructor.==.String.?.......documen |
e3700 | 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 61 49 74 65 6d 4f 72 49 64 29 20 3a 20 61 49 | t.getElementById(aItemOrId).:.aI |
e3720 | 74 65 6d 4f 72 49 64 3b 0a 20 20 20 20 69 66 20 28 69 74 65 6d 29 0a 20 20 20 20 20 20 69 74 65 | temOrId;.....if.(item).......ite |
e3740 | 6d 2e 68 69 64 64 65 6e 20 3d 20 21 61 53 68 6f 77 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2f 20 53 65 | m.hidden.=.!aShow;...},....//.Se |
e3760 | 74 20 67 69 76 65 6e 20 61 74 74 72 69 62 75 74 65 20 6f 66 20 73 70 65 63 69 66 69 65 64 20 63 | t.given.attribute.of.specified.c |
e3780 | 6f 6e 74 65 78 74 2d 6d 65 6e 75 20 69 74 65 6d 2e 20 20 49 66 20 74 68 65 0a 20 20 2f 2f 20 76 | ontext-menu.item...If.the...//.v |
e37a0 | 61 6c 75 65 20 69 73 20 6e 75 6c 6c 2c 20 74 68 65 6e 20 69 74 20 72 65 6d 6f 76 65 73 20 74 68 | alue.is.null,.then.it.removes.th |
e37c0 | 65 20 61 74 74 72 69 62 75 74 65 20 28 77 68 69 63 68 20 77 6f 72 6b 73 0a 20 20 2f 2f 20 6e 69 | e.attribute.(which.works...//.ni |
e37e0 | 63 65 6c 79 20 66 6f 72 20 74 68 65 20 64 69 73 61 62 6c 65 64 20 61 74 74 72 69 62 75 74 65 29 | cely.for.the.disabled.attribute) |
e3800 | 2e 0a 20 20 73 65 74 49 74 65 6d 41 74 74 72 3a 20 66 75 6e 63 74 69 6f 6e 28 61 49 44 2c 20 61 | ....setItemAttr:.function(aID,.a |
e3820 | 41 74 74 72 2c 20 61 56 61 6c 20 29 20 7b 0a 20 20 20 20 76 61 72 20 65 6c 65 6d 20 3d 20 64 6f | Attr,.aVal.).{.....var.elem.=.do |
e3840 | 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 61 49 44 29 3b 0a 20 20 20 20 | cument.getElementById(aID);..... |
e3860 | 69 66 20 28 65 6c 65 6d 29 20 7b 0a 20 20 20 20 20 20 69 66 20 28 61 56 61 6c 20 3d 3d 20 6e 75 | if.(elem).{.......if.(aVal.==.nu |
e3880 | 6c 6c 29 20 7b 0a 20 20 20 20 20 20 20 20 2f 2f 20 6e 75 6c 6c 20 69 6e 64 69 63 61 74 65 73 20 | ll).{.........//.null.indicates. |
e38a0 | 61 74 74 72 20 73 68 6f 75 6c 64 20 62 65 20 72 65 6d 6f 76 65 64 2e 0a 20 20 20 20 20 20 20 20 | attr.should.be.removed.......... |
e38c0 | 65 6c 65 6d 2e 72 65 6d 6f 76 65 41 74 74 72 69 62 75 74 65 28 61 41 74 74 72 29 3b 0a 20 20 20 | elem.removeAttribute(aAttr);.... |
e38e0 | 20 20 20 7d 0a 20 20 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 20 20 2f 2f 20 53 65 74 | ...}.......else.{.........//.Set |
e3900 | 20 61 74 74 72 3d 76 61 6c 2e 0a 20 20 20 20 20 20 20 20 65 6c 65 6d 2e 73 65 74 41 74 74 72 69 | .attr=val..........elem.setAttri |
e3920 | 62 75 74 65 28 61 41 74 74 72 2c 20 61 56 61 6c 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d | bute(aAttr,.aVal);.......}.....} |
e3940 | 0a 20 20 7d 2c 0a 0a 20 20 2f 2f 20 53 65 74 20 63 6f 6e 74 65 78 74 20 6d 65 6e 75 20 61 74 74 | ...},....//.Set.context.menu.att |
e3960 | 72 69 62 75 74 65 20 61 63 63 6f 72 64 69 6e 67 20 74 6f 20 6c 69 6b 65 20 61 74 74 72 69 62 75 | ribute.according.to.like.attribu |
e3980 | 74 65 20 6f 66 20 61 6e 6f 74 68 65 72 20 6e 6f 64 65 0a 20 20 2f 2f 20 28 73 75 63 68 20 61 73 | te.of.another.node...//.(such.as |
e39a0 | 20 61 20 62 72 6f 61 64 63 61 73 74 65 72 29 2e 0a 20 20 73 65 74 49 74 65 6d 41 74 74 72 46 72 | .a.broadcaster)....setItemAttrFr |
e39c0 | 6f 6d 4e 6f 64 65 3a 20 66 75 6e 63 74 69 6f 6e 28 61 49 74 65 6d 5f 69 64 2c 20 61 41 74 74 72 | omNode:.function(aItem_id,.aAttr |
e39e0 | 2c 20 61 4f 74 68 65 72 5f 69 64 29 20 7b 0a 20 20 20 20 76 61 72 20 65 6c 65 6d 20 3d 20 64 6f | ,.aOther_id).{.....var.elem.=.do |
e3a00 | 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 61 4f 74 68 65 72 5f 69 64 29 | cument.getElementById(aOther_id) |
e3a20 | 3b 0a 20 20 20 20 69 66 20 28 65 6c 65 6d 20 26 26 20 65 6c 65 6d 2e 67 65 74 41 74 74 72 69 62 | ;.....if.(elem.&&.elem.getAttrib |
e3a40 | 75 74 65 28 61 41 74 74 72 29 20 3d 3d 20 22 74 72 75 65 22 29 0a 20 20 20 20 20 20 74 68 69 73 | ute(aAttr).==."true").......this |
e3a60 | 2e 73 65 74 49 74 65 6d 41 74 74 72 28 61 49 74 65 6d 5f 69 64 2c 20 61 41 74 74 72 2c 20 22 74 | .setItemAttr(aItem_id,.aAttr,."t |
e3a80 | 72 75 65 22 29 3b 0a 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 74 68 69 73 2e 73 65 74 49 74 | rue");.....else.......this.setIt |
e3aa0 | 65 6d 41 74 74 72 28 61 49 74 65 6d 5f 69 64 2c 20 61 41 74 74 72 2c 20 6e 75 6c 6c 29 3b 0a 20 | emAttr(aItem_id,.aAttr,.null);.. |
e3ac0 | 20 7d 2c 0a 0a 20 20 2f 2f 20 54 65 6d 70 6f 72 61 72 79 20 77 6f 72 6b 61 72 6f 75 6e 64 20 66 | .},....//.Temporary.workaround.f |
e3ae0 | 6f 72 20 44 4f 4d 20 61 70 69 20 6e 6f 74 20 79 65 74 20 69 6d 70 6c 65 6d 65 6e 74 65 64 20 62 | or.DOM.api.not.yet.implemented.b |
e3b00 | 79 20 58 55 4c 20 6e 6f 64 65 73 2e 0a 20 20 63 6c 6f 6e 65 4e 6f 64 65 3a 20 66 75 6e 63 74 69 | y.XUL.nodes....cloneNode:.functi |
e3b20 | 6f 6e 28 61 49 74 65 6d 29 20 7b 0a 20 20 20 20 2f 2f 20 43 72 65 61 74 65 20 61 6e 6f 74 68 65 | on(aItem).{.....//.Create.anothe |
e3b40 | 72 20 65 6c 65 6d 65 6e 74 20 6c 69 6b 65 20 74 68 65 20 6f 6e 65 20 77 65 27 72 65 20 63 6c 6f | r.element.like.the.one.we're.clo |
e3b60 | 6e 69 6e 67 2e 0a 20 20 20 20 76 61 72 20 6e 6f 64 65 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 63 72 | ning......var.node.=.document.cr |
e3b80 | 65 61 74 65 45 6c 65 6d 65 6e 74 28 61 49 74 65 6d 2e 74 61 67 4e 61 6d 65 29 3b 0a 0a 20 20 20 | eateElement(aItem.tagName);..... |
e3ba0 | 20 2f 2f 20 43 6f 70 79 20 61 74 74 72 69 62 75 74 65 73 20 66 72 6f 6d 20 61 72 67 75 6d 65 6e | .//.Copy.attributes.from.argumen |
e3bc0 | 74 20 69 74 65 6d 20 74 6f 20 74 68 65 20 6e 65 77 20 6f 6e 65 2e 0a 20 20 20 20 76 61 72 20 61 | t.item.to.the.new.one......var.a |
e3be0 | 74 74 72 73 20 3d 20 61 49 74 65 6d 2e 61 74 74 72 69 62 75 74 65 73 3b 0a 20 20 20 20 66 6f 72 | ttrs.=.aItem.attributes;.....for |
e3c00 | 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 61 74 74 72 73 2e 6c 65 6e 67 74 68 3b 20 69 | .(var.i.=.0;.i.<.attrs.length;.i |
e3c20 | 2b 2b 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 61 74 74 72 20 3d 20 61 74 74 72 73 2e 69 74 65 | ++).{.......var.attr.=.attrs.ite |
e3c40 | 6d 28 69 29 3b 0a 20 20 20 20 20 20 6e 6f 64 65 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 61 74 | m(i);.......node.setAttribute(at |
e3c60 | 74 72 2e 6e 6f 64 65 4e 61 6d 65 2c 20 61 74 74 72 2e 6e 6f 64 65 56 61 6c 75 65 29 3b 0a 20 20 | tr.nodeName,.attr.nodeValue);... |
e3c80 | 20 20 7d 0a 0a 20 20 20 20 2f 2f 20 56 6f 69 6c 61 21 0a 20 20 20 20 72 65 74 75 72 6e 20 6e 6f | ..}......//.Voila!.....return.no |
e3ca0 | 64 65 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2f 20 47 65 6e 65 72 61 74 65 20 66 75 6c 6c 79 20 71 75 | de;...},....//.Generate.fully.qu |
e3cc0 | 61 6c 69 66 69 65 64 20 55 52 4c 20 66 6f 72 20 63 6c 69 63 6b 65 64 2d 6f 6e 20 6c 69 6e 6b 2e | alified.URL.for.clicked-on.link. |
e3ce0 | 0a 20 20 67 65 74 4c 69 6e 6b 55 52 4c 3a 20 66 75 6e 63 74 69 6f 6e 28 29 20 7b 0a 20 20 20 20 | ...getLinkURL:.function().{..... |
e3d00 | 76 61 72 20 68 72 65 66 20 3d 20 74 68 69 73 2e 6c 69 6e 6b 2e 68 72 65 66 3b 20 20 0a 20 20 20 | var.href.=.this.link.href;...... |
e3d20 | 20 69 66 20 28 68 72 65 66 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 68 72 65 66 3b 0a 0a 20 | .if.(href).......return.href;... |
e3d40 | 20 20 20 68 72 65 66 20 3d 20 74 68 69 73 2e 6c 69 6e 6b 2e 67 65 74 41 74 74 72 69 62 75 74 65 | ...href.=.this.link.getAttribute |
e3d60 | 4e 53 28 22 68 74 74 70 3a 2f 2f 77 77 77 2e 77 33 2e 6f 72 67 2f 31 39 39 39 2f 78 6c 69 6e 6b | NS("http://www.w3.org/1999/xlink |
e3d80 | 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ",.............................. |
e3da0 | 20 20 20 20 20 20 20 22 68 72 65 66 22 29 3b 0a 0a 20 20 20 20 69 66 20 28 21 68 72 65 66 20 7c | ......."href");......if.(!href.| |
e3dc0 | 7c 20 21 68 72 65 66 2e 6d 61 74 63 68 28 2f 5c 53 2f 29 29 20 7b 0a 20 20 20 20 20 20 2f 2f 20 | |.!href.match(/\S/)).{.......//. |
e3de0 | 57 69 74 68 6f 75 74 20 74 68 69 73 20 77 65 20 74 72 79 20 74 6f 20 73 61 76 65 20 61 73 20 74 | Without.this.we.try.to.save.as.t |
e3e00 | 68 65 20 63 75 72 72 65 6e 74 20 64 6f 63 2c 0a 20 20 20 20 20 20 2f 2f 20 66 6f 72 20 65 78 61 | he.current.doc,.......//.for.exa |
e3e20 | 6d 70 6c 65 2c 20 48 54 4d 4c 20 63 61 73 65 20 61 6c 73 6f 20 74 68 72 6f 77 73 20 69 66 20 65 | mple,.HTML.case.also.throws.if.e |
e3e40 | 6d 70 74 79 0a 20 20 20 20 20 20 74 68 72 6f 77 20 22 45 6d 70 74 79 20 68 72 65 66 22 3b 0a 20 | mpty.......throw."Empty.href";.. |
e3e60 | 20 20 20 7d 0a 0a 20 20 20 20 72 65 74 75 72 6e 20 6d 61 6b 65 55 52 4c 41 62 73 6f 6c 75 74 65 | ...}......return.makeURLAbsolute |
e3e80 | 28 74 68 69 73 2e 6c 69 6e 6b 2e 62 61 73 65 55 52 49 2c 20 68 72 65 66 29 3b 0a 20 20 7d 2c 0a | (this.link.baseURI,.href);...},. |
e3ea0 | 20 20 0a 20 20 67 65 74 4c 69 6e 6b 55 52 49 3a 20 66 75 6e 63 74 69 6f 6e 28 29 20 7b 0a 20 20 | .....getLinkURI:.function().{... |
e3ec0 | 20 20 76 61 72 20 69 6f 53 65 72 76 69 63 65 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f | ..var.ioService.=.Cc["@mozilla.o |
e3ee0 | 72 67 2f 6e 65 74 77 6f 72 6b 2f 69 6f 2d 73 65 72 76 69 63 65 3b 31 22 5d 2e 0a 20 20 20 20 20 | rg/network/io-service;1"]....... |
e3f00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 | ...............getService(Ci.nsI |
e3f20 | 49 4f 53 65 72 76 69 63 65 29 3b 0a 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 72 65 74 75 | IOService);.....try.{.......retu |
e3f40 | 72 6e 20 69 6f 53 65 72 76 69 63 65 2e 6e 65 77 55 52 49 28 74 68 69 73 2e 6c 69 6e 6b 55 52 4c | rn.ioService.newURI(this.linkURL |
e3f60 | 2c 20 6e 75 6c 6c 2c 20 6e 75 6c 6c 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 63 61 74 63 68 20 28 | ,.null,.null);.....}.....catch.( |
e3f80 | 65 78 29 20 7b 0a 20 20 20 20 20 2f 2f 20 65 2e 67 2e 20 65 6d 70 74 79 20 55 52 4c 20 73 74 72 | ex).{......//.e.g..empty.URL.str |
e3fa0 | 69 6e 67 0a 20 20 20 20 7d 0a 0a 20 20 20 20 72 65 74 75 72 6e 20 6e 75 6c 6c 3b 0a 20 20 7d 2c | ing.....}......return.null;...}, |
e3fc0 | 0a 20 20 0a 20 20 67 65 74 4c 69 6e 6b 50 72 6f 74 6f 63 6f 6c 3a 20 66 75 6e 63 74 69 6f 6e 28 | ......getLinkProtocol:.function( |
e3fe0 | 29 20 7b 0a 20 20 20 20 69 66 20 28 74 68 69 73 2e 6c 69 6e 6b 55 52 49 29 0a 20 20 20 20 20 20 | ).{.....if.(this.linkURI)....... |
e4000 | 72 65 74 75 72 6e 20 74 68 69 73 2e 6c 69 6e 6b 55 52 49 2e 73 63 68 65 6d 65 3b 20 2f 2f 20 63 | return.this.linkURI.scheme;.//.c |
e4020 | 61 6e 20 62 65 20 7c 75 6e 64 65 66 69 6e 65 64 7c 0a 0a 20 20 20 20 72 65 74 75 72 6e 20 6e 75 | an.be.|undefined|......return.nu |
e4040 | 6c 6c 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2f 20 47 65 74 20 74 65 78 74 20 6f 66 20 6c 69 6e 6b 2e | ll;...},....//.Get.text.of.link. |
e4060 | 0a 20 20 6c 69 6e 6b 54 65 78 74 3a 20 66 75 6e 63 74 69 6f 6e 28 29 20 7b 0a 20 20 20 20 76 61 | ...linkText:.function().{.....va |
e4080 | 72 20 74 65 78 74 20 3d 20 67 61 74 68 65 72 54 65 78 74 55 6e 64 65 72 28 74 68 69 73 2e 6c 69 | r.text.=.gatherTextUnder(this.li |
e40a0 | 6e 6b 29 3b 0a 20 20 20 20 69 66 20 28 21 74 65 78 74 20 7c 7c 20 21 74 65 78 74 2e 6d 61 74 63 | nk);.....if.(!text.||.!text.matc |
e40c0 | 68 28 2f 5c 53 2f 29 29 20 7b 0a 20 20 20 20 20 20 74 65 78 74 20 3d 20 74 68 69 73 2e 6c 69 6e | h(/\S/)).{.......text.=.this.lin |
e40e0 | 6b 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 74 69 74 6c 65 22 29 3b 0a 20 20 20 20 20 20 69 | k.getAttribute("title");.......i |
e4100 | 66 20 28 21 74 65 78 74 20 7c 7c 20 21 74 65 78 74 2e 6d 61 74 63 68 28 2f 5c 53 2f 29 29 20 7b | f.(!text.||.!text.match(/\S/)).{ |
e4120 | 0a 20 20 20 20 20 20 20 20 74 65 78 74 20 3d 20 74 68 69 73 2e 6c 69 6e 6b 2e 67 65 74 41 74 74 | .........text.=.this.link.getAtt |
e4140 | 72 69 62 75 74 65 28 22 61 6c 74 22 29 3b 0a 20 20 20 20 20 20 20 20 69 66 20 28 21 74 65 78 74 | ribute("alt");.........if.(!text |
e4160 | 20 7c 7c 20 21 74 65 78 74 2e 6d 61 74 63 68 28 2f 5c 53 2f 29 29 0a 20 20 20 20 20 20 20 20 20 | .||.!text.match(/\S/)).......... |
e4180 | 20 74 65 78 74 20 3d 20 74 68 69 73 2e 6c 69 6e 6b 55 52 4c 3b 0a 20 20 20 20 20 20 7d 0a 20 20 | .text.=.this.linkURL;.......}... |
e41a0 | 20 20 7d 0a 0a 20 20 20 20 72 65 74 75 72 6e 20 74 65 78 74 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2f | ..}......return.text;...},....// |
e41c0 | 20 47 65 74 20 73 65 6c 65 63 74 65 64 20 74 65 78 74 2e 20 4f 6e 6c 79 20 64 69 73 70 6c 61 79 | .Get.selected.text..Only.display |
e41e0 | 20 74 68 65 20 66 69 72 73 74 20 31 35 20 63 68 61 72 73 2e 0a 20 20 69 73 54 65 78 74 53 65 6c | .the.first.15.chars....isTextSel |
e4200 | 65 63 74 69 6f 6e 3a 20 66 75 6e 63 74 69 6f 6e 28 29 20 7b 0a 20 20 20 20 2f 2f 20 47 65 74 20 | ection:.function().{.....//.Get. |
e4220 | 31 36 20 63 68 61 72 61 63 74 65 72 73 2c 20 73 6f 20 74 68 61 74 20 77 65 20 63 61 6e 20 74 72 | 16.characters,.so.that.we.can.tr |
e4240 | 69 6d 20 74 68 65 20 73 65 6c 65 63 74 69 6f 6e 20 69 66 20 69 74 27 73 20 67 72 65 61 74 65 72 | im.the.selection.if.it's.greater |
e4260 | 0a 20 20 20 20 2f 2f 20 74 68 61 6e 20 31 35 20 63 68 61 72 73 0a 20 20 20 20 76 61 72 20 73 65 | .....//.than.15.chars.....var.se |
e4280 | 6c 65 63 74 65 64 54 65 78 74 20 3d 20 67 65 74 42 72 6f 77 73 65 72 53 65 6c 65 63 74 69 6f 6e | lectedText.=.getBrowserSelection |
e42a0 | 28 31 36 29 3b 0a 0a 20 20 20 20 69 66 20 28 21 73 65 6c 65 63 74 65 64 54 65 78 74 29 0a 20 20 | (16);......if.(!selectedText)... |
e42c0 | 20 20 20 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 0a 0a 20 20 20 20 69 66 20 28 73 65 6c 65 63 | ....return.false;......if.(selec |
e42e0 | 74 65 64 54 65 78 74 2e 6c 65 6e 67 74 68 20 3e 20 31 35 29 0a 20 20 20 20 20 20 73 65 6c 65 63 | tedText.length.>.15).......selec |
e4300 | 74 65 64 54 65 78 74 20 3d 20 73 65 6c 65 63 74 65 64 54 65 78 74 2e 73 75 62 73 74 72 28 30 2c | tedText.=.selectedText.substr(0, |
e4320 | 31 35 29 20 2b 20 74 68 69 73 2e 65 6c 6c 69 70 73 69 73 3b 0a 0a 20 20 20 20 2f 2f 20 55 73 65 | 15).+.this.ellipsis;......//.Use |
e4340 | 20 74 68 65 20 63 75 72 72 65 6e 74 20 65 6e 67 69 6e 65 20 69 66 20 74 68 65 20 73 65 61 72 63 | .the.current.engine.if.the.searc |
e4360 | 68 20 62 61 72 20 69 73 20 76 69 73 69 62 6c 65 2c 20 74 68 65 20 64 65 66 61 75 6c 74 0a 20 20 | h.bar.is.visible,.the.default... |
e4380 | 20 20 2f 2f 20 65 6e 67 69 6e 65 20 6f 74 68 65 72 77 69 73 65 2e 0a 20 20 20 20 76 61 72 20 65 | ..//.engine.otherwise......var.e |
e43a0 | 6e 67 69 6e 65 4e 61 6d 65 20 3d 20 22 22 3b 0a 20 20 20 20 76 61 72 20 73 73 20 3d 20 43 63 5b | ngineName.=."";.....var.ss.=.Cc[ |
e43c0 | 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 62 72 6f 77 73 65 72 2f 73 65 61 72 63 68 2d 73 65 72 | "@mozilla.org/browser/search-ser |
e43e0 | 76 69 63 65 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 53 65 72 76 69 63 | vice;1"]...............getServic |
e4400 | 65 28 43 69 2e 6e 73 49 42 72 6f 77 73 65 72 53 65 61 72 63 68 53 65 72 76 69 63 65 29 3b 0a 20 | e(Ci.nsIBrowserSearchService);.. |
e4420 | 20 20 20 69 66 20 28 69 73 45 6c 65 6d 65 6e 74 56 69 73 69 62 6c 65 28 42 72 6f 77 73 65 72 53 | ...if.(isElementVisible(BrowserS |
e4440 | 65 61 72 63 68 2e 73 65 61 72 63 68 42 61 72 29 29 0a 20 20 20 20 20 20 65 6e 67 69 6e 65 4e 61 | earch.searchBar)).......engineNa |
e4460 | 6d 65 20 3d 20 73 73 2e 63 75 72 72 65 6e 74 45 6e 67 69 6e 65 2e 6e 61 6d 65 3b 0a 20 20 20 20 | me.=.ss.currentEngine.name;..... |
e4480 | 65 6c 73 65 0a 20 20 20 20 20 20 65 6e 67 69 6e 65 4e 61 6d 65 20 3d 20 73 73 2e 64 65 66 61 75 | else.......engineName.=.ss.defau |
e44a0 | 6c 74 45 6e 67 69 6e 65 2e 6e 61 6d 65 3b 0a 0a 20 20 20 20 2f 2f 20 66 6f 72 6d 61 74 20 22 53 | ltEngine.name;......//.format."S |
e44c0 | 65 61 72 63 68 20 3c 65 6e 67 69 6e 65 3e 20 66 6f 72 20 3c 73 65 6c 65 63 74 69 6f 6e 3e 22 20 | earch.<engine>.for.<selection>". |
e44e0 | 73 74 72 69 6e 67 20 74 6f 20 73 68 6f 77 20 69 6e 20 6d 65 6e 75 0a 20 20 20 20 76 61 72 20 6d | string.to.show.in.menu.....var.m |
e4500 | 65 6e 75 4c 61 62 65 6c 20 3d 20 67 4e 61 76 69 67 61 74 6f 72 42 75 6e 64 6c 65 2e 67 65 74 46 | enuLabel.=.gNavigatorBundle.getF |
e4520 | 6f 72 6d 61 74 74 65 64 53 74 72 69 6e 67 28 22 63 6f 6e 74 65 78 74 4d 65 6e 75 53 65 61 72 63 | ormattedString("contextMenuSearc |
e4540 | 68 54 65 78 74 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | hText",......................... |
e4560 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
e4580 | 5b 65 6e 67 69 6e 65 4e 61 6d 65 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | [engineName,.................... |
e45a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
e45c0 | 20 20 20 20 20 20 73 65 6c 65 63 74 65 64 54 65 78 74 5d 29 3b 0a 20 20 20 20 64 6f 63 75 6d 65 | ......selectedText]);.....docume |
e45e0 | 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 63 6f 6e 74 65 78 74 2d 73 65 61 72 63 | nt.getElementById("context-searc |
e4600 | 68 73 65 6c 65 63 74 22 29 2e 6c 61 62 65 6c 20 3d 20 6d 65 6e 75 4c 61 62 65 6c 3b 0a 20 20 20 | hselect").label.=.menuLabel;.... |
e4620 | 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 63 6f 6e 74 65 78 | .document.getElementById("contex |
e4640 | 74 2d 73 65 61 72 63 68 73 65 6c 65 63 74 22 29 2e 61 63 63 65 73 73 4b 65 79 20 3d 0a 20 20 20 | t-searchselect").accessKey.=.... |
e4660 | 20 20 20 20 20 20 20 20 20 20 67 4e 61 76 69 67 61 74 6f 72 42 75 6e 64 6c 65 2e 67 65 74 53 74 | ..........gNavigatorBundle.getSt |
e4680 | 72 69 6e 67 28 22 63 6f 6e 74 65 78 74 4d 65 6e 75 53 65 61 72 63 68 54 65 78 74 2e 61 63 63 65 | ring("contextMenuSearchText.acce |
e46a0 | 73 73 6b 65 79 22 29 3b 20 0a 0a 20 20 20 20 72 65 74 75 72 6e 20 74 72 75 65 3b 0a 20 20 7d 2c | sskey");.......return.true;...}, |
e46c0 | 0a 0a 20 20 2f 2f 20 52 65 74 75 72 6e 73 20 74 72 75 65 20 69 66 20 61 6e 79 74 68 69 6e 67 20 | ....//.Returns.true.if.anything. |
e46e0 | 69 73 20 73 65 6c 65 63 74 65 64 2e 0a 20 20 69 73 43 6f 6e 74 65 6e 74 53 65 6c 65 63 74 69 6f | is.selected....isContentSelectio |
e4700 | 6e 3a 20 66 75 6e 63 74 69 6f 6e 28 29 20 7b 0a 20 20 20 20 72 65 74 75 72 6e 20 21 64 6f 63 75 | n:.function().{.....return.!docu |
e4720 | 6d 65 6e 74 2e 63 6f 6d 6d 61 6e 64 44 69 73 70 61 74 63 68 65 72 2e 66 6f 63 75 73 65 64 57 69 | ment.commandDispatcher.focusedWi |
e4740 | 6e 64 6f 77 2e 67 65 74 53 65 6c 65 63 74 69 6f 6e 28 29 2e 69 73 43 6f 6c 6c 61 70 73 65 64 3b | ndow.getSelection().isCollapsed; |
e4760 | 0a 20 20 7d 2c 0a 0a 20 20 74 6f 53 74 72 69 6e 67 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 20 7b | ...},....toString:.function.().{ |
e4780 | 0a 20 20 20 20 72 65 74 75 72 6e 20 22 63 6f 6e 74 65 78 74 4d 65 6e 75 2e 74 61 72 67 65 74 20 | .....return."contextMenu.target. |
e47a0 | 20 20 20 20 3d 20 22 20 2b 20 74 68 69 73 2e 74 61 72 67 65 74 20 2b 20 22 5c 6e 22 20 2b 0a 20 | ....=.".+.this.target.+."\n".+.. |
e47c0 | 20 20 20 20 20 20 20 20 20 20 22 63 6f 6e 74 65 78 74 4d 65 6e 75 2e 6f 6e 49 6d 61 67 65 20 20 | .........."contextMenu.onImage.. |
e47e0 | 20 20 3d 20 22 20 2b 20 74 68 69 73 2e 6f 6e 49 6d 61 67 65 20 2b 20 22 5c 6e 22 20 2b 0a 20 20 | ..=.".+.this.onImage.+."\n".+... |
e4800 | 20 20 20 20 20 20 20 20 20 22 63 6f 6e 74 65 78 74 4d 65 6e 75 2e 6f 6e 4c 69 6e 6b 20 20 20 20 | ........."contextMenu.onLink.... |
e4820 | 20 3d 20 22 20 2b 20 74 68 69 73 2e 6f 6e 4c 69 6e 6b 20 2b 20 22 5c 6e 22 20 2b 0a 20 20 20 20 | .=.".+.this.onLink.+."\n".+..... |
e4840 | 20 20 20 20 20 20 20 22 63 6f 6e 74 65 78 74 4d 65 6e 75 2e 6c 69 6e 6b 20 20 20 20 20 20 20 3d | ......."contextMenu.link.......= |
e4860 | 20 22 20 2b 20 74 68 69 73 2e 6c 69 6e 6b 20 2b 20 22 5c 6e 22 20 2b 0a 20 20 20 20 20 20 20 20 | .".+.this.link.+."\n".+......... |
e4880 | 20 20 20 22 63 6f 6e 74 65 78 74 4d 65 6e 75 2e 69 6e 46 72 61 6d 65 20 20 20 20 3d 20 22 20 2b | ..."contextMenu.inFrame....=.".+ |
e48a0 | 20 74 68 69 73 2e 69 6e 46 72 61 6d 65 20 2b 20 22 5c 6e 22 20 2b 0a 20 20 20 20 20 20 20 20 20 | .this.inFrame.+."\n".+.......... |
e48c0 | 20 20 22 63 6f 6e 74 65 78 74 4d 65 6e 75 2e 68 61 73 42 47 49 6d 61 67 65 20 3d 20 22 20 2b 20 | .."contextMenu.hasBGImage.=.".+. |
e48e0 | 74 68 69 73 2e 68 61 73 42 47 49 6d 61 67 65 20 2b 20 22 5c 6e 22 3b 0a 20 20 7d 2c 0a 0a 20 20 | this.hasBGImage.+."\n";...},.... |
e4900 | 2f 2f 20 52 65 74 75 72 6e 73 20 74 72 75 65 20 69 66 20 61 4e 6f 64 65 20 69 73 20 61 20 66 72 | //.Returns.true.if.aNode.is.a.fr |
e4920 | 6f 6d 20 63 6f 6e 74 72 6f 6c 20 28 65 78 63 65 70 74 20 74 65 78 74 20 62 6f 78 65 73 20 61 6e | om.control.(except.text.boxes.an |
e4940 | 64 20 69 6d 61 67 65 73 29 2e 0a 20 20 2f 2f 20 54 68 69 73 20 69 73 20 75 73 65 64 20 74 6f 20 | d.images)....//.This.is.used.to. |
e4960 | 64 69 73 61 62 6c 65 20 74 68 65 20 63 6f 6e 74 65 78 74 20 6d 65 6e 75 20 66 6f 72 20 66 6f 72 | disable.the.context.menu.for.for |
e4980 | 6d 20 63 6f 6e 74 72 6f 6c 73 2e 0a 20 20 69 73 54 61 72 67 65 74 41 46 6f 72 6d 43 6f 6e 74 72 | m.controls....isTargetAFormContr |
e49a0 | 6f 6c 3a 20 66 75 6e 63 74 69 6f 6e 28 61 4e 6f 64 65 29 20 7b 0a 20 20 20 20 69 66 20 28 61 4e | ol:.function(aNode).{.....if.(aN |
e49c0 | 6f 64 65 20 69 6e 73 74 61 6e 63 65 6f 66 20 48 54 4d 4c 49 6e 70 75 74 45 6c 65 6d 65 6e 74 29 | ode.instanceof.HTMLInputElement) |
e49e0 | 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 28 61 4e 6f 64 65 2e 74 79 70 65 20 21 3d 20 22 74 65 | .......return.(aNode.type.!=."te |
e4a00 | 78 74 22 20 26 26 20 61 4e 6f 64 65 2e 74 79 70 65 20 21 3d 20 22 70 61 73 73 77 6f 72 64 22 20 | xt".&&.aNode.type.!=."password". |
e4a20 | 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 4e 6f 64 65 2e 74 79 70 65 20 21 3d 20 22 | &&...............aNode.type.!=." |
e4a40 | 69 6d 61 67 65 22 29 3b 0a 0a 20 20 20 20 72 65 74 75 72 6e 20 28 61 4e 6f 64 65 20 69 6e 73 74 | image");......return.(aNode.inst |
e4a60 | 61 6e 63 65 6f 66 20 48 54 4d 4c 42 75 74 74 6f 6e 45 6c 65 6d 65 6e 74 29 20 7c 7c 0a 20 20 20 | anceof.HTMLButtonElement).||.... |
e4a80 | 20 20 20 20 20 20 20 20 28 61 4e 6f 64 65 20 69 6e 73 74 61 6e 63 65 6f 66 20 48 54 4d 4c 53 65 | ........(aNode.instanceof.HTMLSe |
e4aa0 | 6c 65 63 74 45 6c 65 6d 65 6e 74 29 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 28 61 4e 6f 64 | lectElement).||............(aNod |
e4ac0 | 65 20 69 6e 73 74 61 6e 63 65 6f 66 20 48 54 4d 4c 4f 70 74 69 6f 6e 45 6c 65 6d 65 6e 74 29 20 | e.instanceof.HTMLOptionElement). |
e4ae0 | 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 28 61 4e 6f 64 65 20 69 6e 73 74 61 6e 63 65 6f 66 20 | ||............(aNode.instanceof. |
e4b00 | 48 54 4d 4c 4f 70 74 47 72 6f 75 70 45 6c 65 6d 65 6e 74 29 3b 0a 20 20 7d 2c 0a 0a 20 20 69 73 | HTMLOptGroupElement);...},....is |
e4b20 | 54 61 72 67 65 74 41 54 65 78 74 42 6f 78 3a 20 66 75 6e 63 74 69 6f 6e 28 6e 6f 64 65 29 20 7b | TargetATextBox:.function(node).{ |
e4b40 | 0a 20 20 20 20 69 66 20 28 6e 6f 64 65 20 69 6e 73 74 61 6e 63 65 6f 66 20 48 54 4d 4c 49 6e 70 | .....if.(node.instanceof.HTMLInp |
e4b60 | 75 74 45 6c 65 6d 65 6e 74 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 28 6e 6f 64 65 2e 74 79 | utElement).......return.(node.ty |
e4b80 | 70 65 20 3d 3d 20 22 74 65 78 74 22 20 7c 7c 20 6e 6f 64 65 2e 74 79 70 65 20 3d 3d 20 22 70 61 | pe.==."text".||.node.type.==."pa |
e4ba0 | 73 73 77 6f 72 64 22 29 0a 0a 20 20 20 20 72 65 74 75 72 6e 20 28 6e 6f 64 65 20 69 6e 73 74 61 | ssword")......return.(node.insta |
e4bc0 | 6e 63 65 6f 66 20 48 54 4d 4c 54 65 78 74 41 72 65 61 45 6c 65 6d 65 6e 74 29 3b 0a 20 20 7d 2c | nceof.HTMLTextAreaElement);...}, |
e4be0 | 0a 0a 20 20 69 73 54 61 72 67 65 74 41 4b 65 79 77 6f 72 64 46 69 65 6c 64 3a 20 66 75 6e 63 74 | ....isTargetAKeywordField:.funct |
e4c00 | 69 6f 6e 28 61 4e 6f 64 65 29 20 7b 0a 20 20 20 20 69 66 20 28 21 28 61 4e 6f 64 65 20 69 6e 73 | ion(aNode).{.....if.(!(aNode.ins |
e4c20 | 74 61 6e 63 65 6f 66 20 48 54 4d 4c 49 6e 70 75 74 45 6c 65 6d 65 6e 74 29 29 0a 20 20 20 20 20 | tanceof.HTMLInputElement))...... |
e4c40 | 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 0a 0a 20 20 20 20 76 61 72 20 66 6f 72 6d 20 3d 20 61 | .return.false;......var.form.=.a |
e4c60 | 4e 6f 64 65 2e 66 6f 72 6d 3b 0a 20 20 20 20 69 66 20 28 21 66 6f 72 6d 20 7c 7c 20 61 4e 6f 64 | Node.form;.....if.(!form.||.aNod |
e4c80 | 65 2e 74 79 70 65 20 3d 3d 20 22 70 61 73 73 77 6f 72 64 22 29 0a 20 20 20 20 20 20 72 65 74 75 | e.type.==."password").......retu |
e4ca0 | 72 6e 20 66 61 6c 73 65 3b 0a 0a 20 20 20 20 76 61 72 20 6d 65 74 68 6f 64 20 3d 20 66 6f 72 6d | rn.false;......var.method.=.form |
e4cc0 | 2e 6d 65 74 68 6f 64 2e 74 6f 55 70 70 65 72 43 61 73 65 28 29 3b 0a 0a 20 20 20 20 2f 2f 20 54 | .method.toUpperCase();......//.T |
e4ce0 | 68 65 73 65 20 61 72 65 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 74 79 70 65 73 20 6f 66 20 | hese.are.the.following.types.of. |
e4d00 | 66 6f 72 6d 73 20 77 65 20 63 61 6e 20 63 72 65 61 74 65 20 6b 65 79 77 6f 72 64 73 20 66 6f 72 | forms.we.can.create.keywords.for |
e4d20 | 3a 0a 20 20 20 20 2f 2f 0a 20 20 20 20 2f 2f 20 6d 65 74 68 6f 64 20 20 20 65 6e 63 6f 64 69 6e | :.....//.....//.method...encodin |
e4d40 | 67 20 74 79 70 65 20 20 20 20 20 20 20 63 61 6e 20 63 72 65 61 74 65 20 6b 65 79 77 6f 72 64 0a | g.type.......can.create.keyword. |
e4d60 | 20 20 20 20 2f 2f 20 47 45 54 20 20 20 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ....//.GET......*............... |
e4d80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 59 45 53 0a 20 20 20 20 2f 2f 20 20 20 20 | ..................YES.....//.... |
e4da0 | 20 20 20 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ......*......................... |
e4dc0 | 20 20 20 20 20 20 20 20 59 45 53 0a 20 20 20 20 2f 2f 20 50 4f 53 54 20 20 20 20 20 20 20 20 20 | ........YES.....//.POST......... |
e4de0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 59 45 | ..............................YE |
e4e00 | 53 0a 20 20 20 20 2f 2f 20 50 4f 53 54 20 20 20 20 20 61 70 70 6c 69 63 61 74 69 6f 6e 2f 78 2d | S.....//.POST.....application/x- |
e4e20 | 77 77 77 2d 66 6f 72 6d 2d 75 72 6c 65 6e 63 6f 64 65 64 20 59 45 53 0a 20 20 20 20 2f 2f 20 50 | www-form-urlencoded.YES.....//.P |
e4e40 | 4f 53 54 20 20 20 20 20 74 65 78 74 2f 70 6c 61 69 6e 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | OST.....text/plain.............. |
e4e60 | 20 20 20 20 20 20 20 20 20 20 4e 4f 20 28 61 20 6c 69 74 74 6c 65 20 74 72 69 63 6b 79 20 74 6f | ..........NO.(a.little.tricky.to |
e4e80 | 20 64 6f 29 0a 20 20 20 20 2f 2f 20 50 4f 53 54 20 20 20 20 20 6d 75 6c 74 69 70 61 72 74 2f 66 | .do).....//.POST.....multipart/f |
e4ea0 | 6f 72 6d 2d 64 61 74 61 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 4e 4f 0a 20 20 20 20 2f 2f | orm-data...............NO.....// |
e4ec0 | 20 50 4f 53 54 20 20 20 20 20 65 76 65 72 79 74 68 69 6e 67 20 65 6c 73 65 20 20 20 20 20 20 20 | .POST.....everything.else....... |
e4ee0 | 20 20 20 20 20 20 20 20 20 20 20 20 59 45 53 0a 20 20 20 20 72 65 74 75 72 6e 20 28 6d 65 74 68 | ............YES.....return.(meth |
e4f00 | 6f 64 20 3d 3d 20 22 47 45 54 22 20 7c 7c 20 6d 65 74 68 6f 64 20 3d 3d 20 22 22 29 20 7c 7c 0a | od.==."GET".||.method.==."").||. |
e4f20 | 20 20 20 20 20 20 20 20 20 20 20 28 66 6f 72 6d 2e 65 6e 63 74 79 70 65 20 21 3d 20 22 74 65 78 | ...........(form.enctype.!=."tex |
e4f40 | 74 2f 70 6c 61 69 6e 22 29 20 26 26 20 28 66 6f 72 6d 2e 65 6e 63 74 79 70 65 20 21 3d 20 22 6d | t/plain").&&.(form.enctype.!=."m |
e4f60 | 75 6c 74 69 70 61 72 74 2f 66 6f 72 6d 2d 64 61 74 61 22 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2f | ultipart/form-data");...},....// |
e4f80 | 20 44 65 74 65 72 6d 69 6e 65 73 20 77 68 65 74 68 65 72 20 6f 72 20 6e 6f 74 20 74 68 65 20 73 | .Determines.whether.or.not.the.s |
e4fa0 | 65 70 61 72 61 74 6f 72 20 77 69 74 68 20 74 68 65 20 73 70 65 63 69 66 69 65 64 20 49 44 20 73 | eparator.with.the.specified.ID.s |
e4fc0 | 68 6f 75 6c 64 20 62 65 0a 20 20 2f 2f 20 73 68 6f 77 6e 20 6f 72 20 6e 6f 74 20 62 79 20 64 65 | hould.be...//.shown.or.not.by.de |
e4fe0 | 74 65 72 6d 69 6e 69 6e 67 20 69 66 20 74 68 65 72 65 20 61 72 65 20 61 6e 79 20 6e 6f 6e 2d 68 | termining.if.there.are.any.non-h |
e5000 | 69 64 64 65 6e 20 69 74 65 6d 73 20 62 65 74 77 65 65 6e 20 69 74 0a 20 20 2f 2f 20 61 6e 64 20 | idden.items.between.it...//.and. |
e5020 | 74 68 65 20 70 72 65 76 69 6f 75 73 20 73 65 70 61 72 61 74 6f 72 2e 0a 20 20 73 68 6f 75 6c 64 | the.previous.separator....should |
e5040 | 53 68 6f 77 53 65 70 61 72 61 74 6f 72 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 53 65 70 61 72 61 | ShowSeparator:.function.(aSepara |
e5060 | 74 6f 72 49 44 29 20 7b 0a 20 20 20 20 76 61 72 20 73 65 70 61 72 61 74 6f 72 20 3d 20 64 6f 63 | torID).{.....var.separator.=.doc |
e5080 | 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 61 53 65 70 61 72 61 74 6f 72 49 | ument.getElementById(aSeparatorI |
e50a0 | 44 29 3b 0a 20 20 20 20 69 66 20 28 73 65 70 61 72 61 74 6f 72 29 20 7b 0a 20 20 20 20 20 20 76 | D);.....if.(separator).{.......v |
e50c0 | 61 72 20 73 69 62 6c 69 6e 67 20 3d 20 73 65 70 61 72 61 74 6f 72 2e 70 72 65 76 69 6f 75 73 53 | ar.sibling.=.separator.previousS |
e50e0 | 69 62 6c 69 6e 67 3b 0a 20 20 20 20 20 20 77 68 69 6c 65 20 28 73 69 62 6c 69 6e 67 20 26 26 20 | ibling;.......while.(sibling.&&. |
e5100 | 73 69 62 6c 69 6e 67 2e 6c 6f 63 61 6c 4e 61 6d 65 20 21 3d 20 22 6d 65 6e 75 73 65 70 61 72 61 | sibling.localName.!=."menusepara |
e5120 | 74 6f 72 22 29 20 7b 0a 20 20 20 20 20 20 20 20 69 66 20 28 21 73 69 62 6c 69 6e 67 2e 68 69 64 | tor").{.........if.(!sibling.hid |
e5140 | 64 65 6e 29 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 72 75 65 3b 0a 20 20 20 20 | den)...........return.true;..... |
e5160 | 20 20 20 20 73 69 62 6c 69 6e 67 20 3d 20 73 69 62 6c 69 6e 67 2e 70 72 65 76 69 6f 75 73 53 69 | ....sibling.=.sibling.previousSi |
e5180 | 62 6c 69 6e 67 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 20 20 20 20 72 65 74 75 72 6e 20 | bling;.......}.....}.....return. |
e51a0 | 66 61 6c 73 65 3b 0a 20 20 7d 2c 0a 0a 20 20 61 64 64 44 69 63 74 69 6f 6e 61 72 69 65 73 3a 20 | false;...},....addDictionaries:. |
e51c0 | 66 75 6e 63 74 69 6f 6e 28 29 20 7b 0a 20 20 20 20 76 61 72 20 75 72 69 20 3d 20 66 6f 72 6d 61 | function().{.....var.uri.=.forma |
e51e0 | 74 55 52 4c 28 22 62 72 6f 77 73 65 72 2e 64 69 63 74 69 6f 6e 61 72 69 65 73 2e 64 6f 77 6e 6c | tURL("browser.dictionaries.downl |
e5200 | 6f 61 64 2e 75 72 6c 22 2c 20 74 72 75 65 29 3b 0a 0a 20 20 20 20 76 61 72 20 6c 6f 63 61 6c 65 | oad.url",.true);......var.locale |
e5220 | 20 3d 20 22 2d 22 3b 0a 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 6c 6f 63 61 6c 65 20 3d | .=."-";.....try.{.......locale.= |
e5240 | 20 67 50 72 65 66 53 65 72 76 69 63 65 2e 67 65 74 43 6f 6d 70 6c 65 78 56 61 6c 75 65 28 22 69 | .gPrefService.getComplexValue("i |
e5260 | 6e 74 6c 2e 61 63 63 65 70 74 5f 6c 61 6e 67 75 61 67 65 73 22 2c 0a 20 20 20 20 20 20 20 20 20 | ntl.accept_languages",.......... |
e5280 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
e52a0 | 20 20 20 43 69 2e 6e 73 49 50 72 65 66 4c 6f 63 61 6c 69 7a 65 64 53 74 72 69 6e 67 29 2e 64 61 | ...Ci.nsIPrefLocalizedString).da |
e52c0 | 74 61 3b 0a 20 20 20 20 7d 0a 20 20 20 20 63 61 74 63 68 20 28 65 29 20 7b 20 7d 0a 0a 20 20 20 | ta;.....}.....catch.(e).{.}..... |
e52e0 | 20 76 61 72 20 76 65 72 73 69 6f 6e 20 3d 20 22 2d 22 3b 0a 20 20 20 20 74 72 79 20 7b 0a 20 20 | .var.version.=."-";.....try.{... |
e5300 | 20 20 20 20 76 65 72 73 69 6f 6e 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 78 | ....version.=.Cc["@mozilla.org/x |
e5320 | 72 65 2f 61 70 70 2d 69 6e 66 6f 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | re/app-info;1"]................. |
e5340 | 20 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 58 55 4c 41 70 70 49 6e 66 6f 29 2e 76 65 | .getService(Ci.nsIXULAppInfo).ve |
e5360 | 72 73 69 6f 6e 3b 0a 20 20 20 20 7d 0a 20 20 20 20 63 61 74 63 68 20 28 65 29 20 7b 20 7d 0a 0a | rsion;.....}.....catch.(e).{.}.. |
e5380 | 20 20 20 20 75 72 69 20 3d 20 75 72 69 2e 72 65 70 6c 61 63 65 28 2f 25 4c 4f 43 41 4c 45 25 2f | ....uri.=.uri.replace(/%LOCALE%/ |
e53a0 | 2c 20 65 73 63 61 70 65 28 6c 6f 63 61 6c 65 29 29 2e 72 65 70 6c 61 63 65 28 2f 25 56 45 52 53 | ,.escape(locale)).replace(/%VERS |
e53c0 | 49 4f 4e 25 2f 2c 20 76 65 72 73 69 6f 6e 29 3b 0a 0a 20 20 20 20 76 61 72 20 6e 65 77 57 69 6e | ION%/,.version);......var.newWin |
e53e0 | 64 6f 77 50 72 65 66 20 3d 20 67 50 72 65 66 53 65 72 76 69 63 65 2e 67 65 74 49 6e 74 50 72 65 | dowPref.=.gPrefService.getIntPre |
e5400 | 66 28 22 62 72 6f 77 73 65 72 2e 6c 69 6e 6b 2e 6f 70 65 6e 5f 6e 65 77 77 69 6e 64 6f 77 22 29 | f("browser.link.open_newwindow") |
e5420 | 3b 0a 20 20 20 20 76 61 72 20 77 68 65 72 65 20 3d 20 6e 65 77 57 69 6e 64 6f 77 50 72 65 66 20 | ;.....var.where.=.newWindowPref. |
e5440 | 3d 3d 20 33 20 3f 20 22 74 61 62 22 20 3a 20 22 77 69 6e 64 6f 77 22 3b 0a 0a 20 20 20 20 6f 70 | ==.3.?."tab".:."window";......op |
e5460 | 65 6e 55 49 4c 69 6e 6b 49 6e 28 75 72 69 2c 20 77 68 65 72 65 29 3b 0a 20 20 7d 2c 0a 0a 20 20 | enUILinkIn(uri,.where);...},.... |
e5480 | 62 6f 6f 6b 6d 61 72 6b 54 68 69 73 50 61 67 65 3a 20 66 75 6e 63 74 69 6f 6e 20 43 4d 5f 62 6f | bookmarkThisPage:.function.CM_bo |
e54a0 | 6f 6b 6d 61 72 6b 54 68 69 73 50 61 67 65 28 29 20 7b 0a 20 20 20 20 77 69 6e 64 6f 77 2e 74 6f | okmarkThisPage().{.....window.to |
e54c0 | 70 2e 50 6c 61 63 65 73 43 6f 6d 6d 61 6e 64 48 6f 6f 6b 2e 62 6f 6f 6b 6d 61 72 6b 50 61 67 65 | p.PlacesCommandHook.bookmarkPage |
e54e0 | 28 74 68 69 73 2e 62 72 6f 77 73 65 72 2c 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 62 6f 6f 6b 6d | (this.browser,.PlacesUtils.bookm |
e5500 | 61 72 6b 73 4d 65 6e 75 46 6f 6c 64 65 72 49 64 2c 20 74 72 75 65 29 3b 0a 20 20 7d 2c 0a 0a 20 | arksMenuFolderId,.true);...},... |
e5520 | 20 62 6f 6f 6b 6d 61 72 6b 4c 69 6e 6b 3a 20 66 75 6e 63 74 69 6f 6e 20 43 4d 5f 62 6f 6f 6b 6d | .bookmarkLink:.function.CM_bookm |
e5540 | 61 72 6b 4c 69 6e 6b 28 29 20 7b 0a 20 20 20 20 77 69 6e 64 6f 77 2e 74 6f 70 2e 50 6c 61 63 65 | arkLink().{.....window.top.Place |
e5560 | 73 43 6f 6d 6d 61 6e 64 48 6f 6f 6b 2e 62 6f 6f 6b 6d 61 72 6b 4c 69 6e 6b 28 50 6c 61 63 65 73 | sCommandHook.bookmarkLink(Places |
e5580 | 55 74 69 6c 73 2e 62 6f 6f 6b 6d 61 72 6b 73 4d 65 6e 75 46 6f 6c 64 65 72 49 64 2c 20 74 68 69 | Utils.bookmarksMenuFolderId,.thi |
e55a0 | 73 2e 6c 69 6e 6b 55 52 4c 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | s.linkURL,...................... |
e55c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6c 69 | .........................this.li |
e55e0 | 6e 6b 54 65 78 74 28 29 29 3b 0a 20 20 7d 2c 0a 0a 20 20 61 64 64 42 6f 6f 6b 6d 61 72 6b 46 6f | nkText());...},....addBookmarkFo |
e5600 | 72 46 72 61 6d 65 3a 20 66 75 6e 63 74 69 6f 6e 20 43 4d 5f 61 64 64 42 6f 6f 6b 6d 61 72 6b 46 | rFrame:.function.CM_addBookmarkF |
e5620 | 6f 72 46 72 61 6d 65 28 29 20 7b 0a 20 20 20 20 76 61 72 20 64 6f 63 20 3d 20 74 68 69 73 2e 74 | orFrame().{.....var.doc.=.this.t |
e5640 | 61 72 67 65 74 2e 6f 77 6e 65 72 44 6f 63 75 6d 65 6e 74 3b 0a 20 20 20 20 76 61 72 20 75 72 69 | arget.ownerDocument;.....var.uri |
e5660 | 20 3d 20 64 6f 63 2e 64 6f 63 75 6d 65 6e 74 55 52 49 4f 62 6a 65 63 74 3b 0a 0a 20 20 20 20 76 | .=.doc.documentURIObject;......v |
e5680 | 61 72 20 69 74 65 6d 49 64 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 67 65 74 4d 6f 73 74 52 | ar.itemId.=.PlacesUtils.getMostR |
e56a0 | 65 63 65 6e 74 42 6f 6f 6b 6d 61 72 6b 46 6f 72 55 52 49 28 75 72 69 29 3b 0a 20 20 20 20 69 66 | ecentBookmarkForURI(uri);.....if |
e56c0 | 20 28 69 74 65 6d 49 64 20 3d 3d 20 2d 31 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 74 69 74 6c | .(itemId.==.-1).{.......var.titl |
e56e0 | 65 20 3d 20 64 6f 63 2e 74 69 74 6c 65 3b 0a 20 20 20 20 20 20 76 61 72 20 64 65 73 63 72 69 70 | e.=.doc.title;.......var.descrip |
e5700 | 74 69 6f 6e 20 3d 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 67 65 74 44 65 73 63 72 69 70 74 | tion.=.PlacesUIUtils.getDescript |
e5720 | 69 6f 6e 46 72 6f 6d 44 6f 63 75 6d 65 6e 74 28 64 6f 63 29 3b 0a 0a 20 20 20 20 20 20 76 61 72 | ionFromDocument(doc);........var |
e5740 | 20 64 65 73 63 41 6e 6e 6f 20 3d 20 7b 20 6e 61 6d 65 3a 20 44 45 53 43 52 49 50 54 49 4f 4e 5f | .descAnno.=.{.name:.DESCRIPTION_ |
e5760 | 41 4e 4e 4f 2c 20 76 61 6c 75 65 3a 20 64 65 73 63 72 69 70 74 69 6f 6e 20 7d 3b 0a 20 20 20 20 | ANNO,.value:.description.};..... |
e5780 | 20 20 76 61 72 20 74 78 6e 20 3d 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 70 74 6d 2e 63 72 | ..var.txn.=.PlacesUIUtils.ptm.cr |
e57a0 | 65 61 74 65 49 74 65 6d 28 75 72 69 2c 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | eateItem(uri,................... |
e57c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 | ..........................Places |
e57e0 | 55 74 69 6c 73 2e 62 6f 6f 6b 6d 61 72 6b 73 4d 65 6e 75 46 6f 6c 64 65 72 49 64 2c 0a 20 20 20 | Utils.bookmarksMenuFolderId,.... |
e5800 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
e5820 | 20 20 20 20 20 20 20 20 2d 31 2c 20 74 69 74 6c 65 2c 20 6e 75 6c 6c 2c 20 5b 64 65 73 63 41 6e | ........-1,.title,.null,.[descAn |
e5840 | 6e 6f 5d 29 3b 0a 20 20 20 20 20 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 70 74 6d 2e 64 6f | no]);.......PlacesUIUtils.ptm.do |
e5860 | 54 72 61 6e 73 61 63 74 69 6f 6e 28 74 78 6e 29 3b 0a 20 20 20 20 20 20 69 74 65 6d 49 64 20 3d | Transaction(txn);.......itemId.= |
e5880 | 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 67 65 74 4d 6f 73 74 52 65 63 65 6e 74 42 6f 6f 6b 6d 61 | .PlacesUtils.getMostRecentBookma |
e58a0 | 72 6b 46 6f 72 55 52 49 28 75 72 69 29 3b 0a 20 20 20 20 20 20 53 74 61 72 55 49 2e 62 65 67 69 | rkForURI(uri);.......StarUI.begi |
e58c0 | 6e 42 61 74 63 68 28 29 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 77 69 6e 64 6f 77 2e 74 6f 70 2e | nBatch();.....}......window.top. |
e58e0 | 53 74 61 72 55 49 2e 73 68 6f 77 45 64 69 74 42 6f 6f 6b 6d 61 72 6b 50 6f 70 75 70 28 69 74 65 | StarUI.showEditBookmarkPopup(ite |
e5900 | 6d 49 64 2c 20 74 68 69 73 2e 62 72 6f 77 73 65 72 2c 20 22 6f 76 65 72 6c 61 70 22 29 3b 0a 20 | mId,.this.browser,."overlap");.. |
e5920 | 20 7d 2c 0a 0a 20 20 73 61 76 65 50 61 67 65 41 73 3a 20 66 75 6e 63 74 69 6f 6e 20 43 4d 5f 73 | .},....savePageAs:.function.CM_s |
e5940 | 61 76 65 50 61 67 65 41 73 28 29 20 7b 0a 20 20 20 20 73 61 76 65 44 6f 63 75 6d 65 6e 74 28 74 | avePageAs().{.....saveDocument(t |
e5960 | 68 69 73 2e 62 72 6f 77 73 65 72 2e 63 6f 6e 74 65 6e 74 44 6f 63 75 6d 65 6e 74 29 3b 0a 20 20 | his.browser.contentDocument);... |
e5980 | 7d 2c 0a 0a 20 20 73 65 6e 64 50 61 67 65 3a 20 66 75 6e 63 74 69 6f 6e 20 43 4d 5f 73 65 6e 64 | },....sendPage:.function.CM_send |
e59a0 | 50 61 67 65 28 29 20 7b 0a 20 20 20 20 4d 61 69 6c 49 6e 74 65 67 72 61 74 69 6f 6e 2e 73 65 6e | Page().{.....MailIntegration.sen |
e59c0 | 64 4c 69 6e 6b 46 6f 72 57 69 6e 64 6f 77 28 74 68 69 73 2e 62 72 6f 77 73 65 72 2e 63 6f 6e 74 | dLinkForWindow(this.browser.cont |
e59e0 | 65 6e 74 57 69 6e 64 6f 77 29 3b 20 20 0a 20 20 7d 2c 0a 0a 20 20 70 72 69 6e 74 46 72 61 6d 65 | entWindow);.....},....printFrame |
e5a00 | 3a 20 66 75 6e 63 74 69 6f 6e 20 43 4d 5f 70 72 69 6e 74 46 72 61 6d 65 28 29 20 7b 0a 20 20 20 | :.function.CM_printFrame().{.... |
e5a20 | 20 50 72 69 6e 74 55 74 69 6c 73 2e 70 72 69 6e 74 28 74 68 69 73 2e 74 61 72 67 65 74 2e 6f 77 | .PrintUtils.print(this.target.ow |
e5a40 | 6e 65 72 44 6f 63 75 6d 65 6e 74 2e 64 65 66 61 75 6c 74 56 69 65 77 29 3b 0a 20 20 7d 2c 0a 0a | nerDocument.defaultView);...},.. |
e5a60 | 20 20 73 77 69 74 63 68 50 61 67 65 44 69 72 65 63 74 69 6f 6e 3a 20 66 75 6e 63 74 69 6f 6e 20 | ..switchPageDirection:.function. |
e5a80 | 43 4d 5f 73 77 69 74 63 68 50 61 67 65 44 69 72 65 63 74 69 6f 6e 28 29 20 7b 0a 20 20 20 20 53 | CM_switchPageDirection().{.....S |
e5aa0 | 77 69 74 63 68 44 6f 63 75 6d 65 6e 74 44 69 72 65 63 74 69 6f 6e 28 74 68 69 73 2e 62 72 6f 77 | witchDocumentDirection(this.brow |
e5ac0 | 73 65 72 2e 63 6f 6e 74 65 6e 74 57 69 6e 64 6f 77 29 3b 0a 20 20 7d 2c 0a 0a 20 20 6d 65 64 69 | ser.contentWindow);...},....medi |
e5ae0 | 61 43 6f 6d 6d 61 6e 64 20 3a 20 66 75 6e 63 74 69 6f 6e 20 43 4d 5f 6d 65 64 69 61 43 6f 6d 6d | aCommand.:.function.CM_mediaComm |
e5b00 | 61 6e 64 28 63 6f 6d 6d 61 6e 64 29 20 7b 0a 20 20 20 20 76 61 72 20 6d 65 64 69 61 20 3d 20 74 | and(command).{.....var.media.=.t |
e5b20 | 68 69 73 2e 74 61 72 67 65 74 3b 0a 0a 20 20 20 20 73 77 69 74 63 68 20 28 63 6f 6d 6d 61 6e 64 | his.target;......switch.(command |
e5b40 | 29 20 7b 0a 20 20 20 20 20 20 63 61 73 65 20 22 70 6c 61 79 22 3a 0a 20 20 20 20 20 20 20 20 6d | ).{.......case."play":.........m |
e5b60 | 65 64 69 61 2e 70 6c 61 79 28 29 3b 0a 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 | edia.play();.........break;..... |
e5b80 | 20 20 63 61 73 65 20 22 70 61 75 73 65 22 3a 0a 20 20 20 20 20 20 20 20 6d 65 64 69 61 2e 70 61 | ..case."pause":.........media.pa |
e5ba0 | 75 73 65 28 29 3b 0a 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 63 61 73 65 | use();.........break;.......case |
e5bc0 | 20 22 6d 75 74 65 22 3a 0a 20 20 20 20 20 20 20 20 6d 65 64 69 61 2e 6d 75 74 65 64 20 3d 20 74 | ."mute":.........media.muted.=.t |
e5be0 | 72 75 65 3b 0a 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 63 61 73 65 20 22 | rue;.........break;.......case." |
e5c00 | 75 6e 6d 75 74 65 22 3a 0a 20 20 20 20 20 20 20 20 6d 65 64 69 61 2e 6d 75 74 65 64 20 3d 20 66 | unmute":.........media.muted.=.f |
e5c20 | 61 6c 73 65 3b 0a 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 63 61 73 65 20 | alse;.........break;.......case. |
e5c40 | 22 68 69 64 65 63 6f 6e 74 72 6f 6c 73 22 3a 0a 20 20 20 20 20 20 20 20 6d 65 64 69 61 2e 72 65 | "hidecontrols":.........media.re |
e5c60 | 6d 6f 76 65 41 74 74 72 69 62 75 74 65 28 22 63 6f 6e 74 72 6f 6c 73 22 29 3b 0a 20 20 20 20 20 | moveAttribute("controls");...... |
e5c80 | 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 63 61 73 65 20 22 73 68 6f 77 63 6f 6e 74 72 6f | ...break;.......case."showcontro |
e5ca0 | 6c 73 22 3a 0a 20 20 20 20 20 20 20 20 6d 65 64 69 61 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 | ls":.........media.setAttribute( |
e5cc0 | 22 63 6f 6e 74 72 6f 6c 73 22 2c 20 22 74 72 75 65 22 29 3b 0a 20 20 20 20 20 20 20 20 62 72 65 | "controls",."true");.........bre |
e5ce0 | 61 6b 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 63 6f 70 79 4d 65 64 69 61 4c 6f 63 61 74 | ak;.....}...},....copyMediaLocat |
e5d00 | 69 6f 6e 20 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 20 7b 0a 20 20 20 20 76 61 72 20 63 6c 69 70 | ion.:.function.().{.....var.clip |
e5d20 | 62 6f 61 72 64 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 77 69 64 67 65 74 2f | board.=.Cc["@mozilla.org/widget/ |
e5d40 | 63 6c 69 70 62 6f 61 72 64 68 65 6c 70 65 72 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 20 | clipboardhelper;1"]............. |
e5d60 | 20 20 20 20 20 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 43 6c 69 70 62 6f | .........getService(Ci.nsIClipbo |
e5d80 | 61 72 64 48 65 6c 70 65 72 29 3b 0a 20 20 20 20 63 6c 69 70 62 6f 61 72 64 2e 63 6f 70 79 53 74 | ardHelper);.....clipboard.copySt |
e5da0 | 72 69 6e 67 28 74 68 69 73 2e 6d 65 64 69 61 55 52 4c 29 3b 0a 20 20 7d 2c 0a 0a 20 20 67 65 74 | ring(this.mediaURL);...},....get |
e5dc0 | 20 69 6d 61 67 65 55 52 4c 28 29 20 7b 0a 20 20 20 20 69 66 20 28 74 68 69 73 2e 6f 6e 49 6d 61 | .imageURL().{.....if.(this.onIma |
e5de0 | 67 65 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 6d 65 64 69 61 55 52 4c 3b 0a | ge).......return.this.mediaURL;. |
e5e00 | 20 20 20 20 72 65 74 75 72 6e 20 22 22 3b 0a 20 20 7d 0a 7d 3b 0a 50 4b 03 04 14 00 00 00 00 00 | ....return."";...}.};.PK........ |
e5e20 | f2 4b 18 3b 88 99 14 63 17 00 00 00 17 00 00 00 20 00 00 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 | .K.;...c............content/brow |
e5e40 | 73 65 72 2f 68 69 64 64 65 6e 57 69 6e 64 6f 77 2e 78 75 6c 3c 3f 78 6d 6c 20 76 65 72 73 69 6f | ser/hiddenWindow.xul<?xml.versio |
e5e60 | 6e 3d 22 31 2e 30 22 3f 3e 0a 0a 50 4b 03 04 14 00 00 00 00 00 f2 4b 18 3b 68 14 f4 47 fa 01 00 | n="1.0"?>..PK.........K.;h..G... |
e5e80 | 00 fa 01 00 00 25 00 00 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 76 69 65 77 53 6f 75 | .....%...content/browser/viewSou |
e5ea0 | 72 63 65 4f 76 65 72 6c 61 79 2e 78 75 6c 3c 3f 78 6d 6c 20 76 65 72 73 69 6f 6e 3d 22 31 2e 30 | rceOverlay.xul<?xml.version="1.0 |
e5ec0 | 22 3f 3e 0a 0a 3c 3f 78 75 6c 2d 6f 76 65 72 6c 61 79 20 68 72 65 66 3d 22 63 68 72 6f 6d 65 3a | "?>..<?xul-overlay.href="chrome: |
e5ee0 | 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 62 61 73 65 4d 65 6e 75 4f 76 65 72 6c 61 | //browser/content/baseMenuOverla |
e5f00 | 79 2e 78 75 6c 22 3f 3e 0a 0a 3c 6f 76 65 72 6c 61 79 20 69 64 3d 22 76 69 65 77 53 6f 75 72 63 | y.xul"?>..<overlay.id="viewSourc |
e5f20 | 65 4f 76 65 72 6c 61 79 22 0a 20 20 20 20 20 20 20 20 20 78 6d 6c 6e 73 3a 72 64 66 3d 22 68 74 | eOverlay"..........xmlns:rdf="ht |
e5f40 | 74 70 3a 2f 2f 77 77 77 2e 77 33 2e 6f 72 67 2f 31 39 39 39 2f 30 32 2f 32 32 2d 72 64 66 2d 73 | tp://www.w3.org/1999/02/22-rdf-s |
e5f60 | 79 6e 74 61 78 2d 6e 73 23 22 0a 20 20 20 20 20 20 20 20 20 78 6d 6c 6e 73 3d 22 68 74 74 70 3a | yntax-ns#"..........xmlns="http: |
e5f80 | 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6b 65 79 6d 61 73 74 65 72 2f 67 61 74 65 | //www.mozilla.org/keymaster/gate |
e5fa0 | 6b 65 65 70 65 72 2f 74 68 65 72 65 2e 69 73 2e 6f 6e 6c 79 2e 78 75 6c 22 3e 0a 0a 3c 77 69 6e | keeper/there.is.only.xul">..<win |
e5fc0 | 64 6f 77 20 69 64 3d 22 76 69 65 77 53 6f 75 72 63 65 22 3e 0a 20 20 3c 63 6f 6d 6d 61 6e 64 73 | dow.id="viewSource">...<commands |
e5fe0 | 65 74 20 69 64 3d 22 62 61 73 65 4d 65 6e 75 43 6f 6d 6d 61 6e 64 53 65 74 22 2f 3e 0a 20 20 3c | et.id="baseMenuCommandSet"/>...< |
e6000 | 6b 65 79 73 65 74 20 69 64 3d 22 62 61 73 65 4d 65 6e 75 4b 65 79 73 65 74 22 2f 3e 0a 20 20 3c | keyset.id="baseMenuKeyset"/>...< |
e6020 | 73 74 72 69 6e 67 62 75 6e 64 6c 65 73 65 74 20 69 64 3d 22 73 74 72 69 6e 67 62 75 6e 64 6c 65 | stringbundleset.id="stringbundle |
e6040 | 73 65 74 22 2f 3e 0a 3c 2f 77 69 6e 64 6f 77 3e 0a 0a 3c 6d 65 6e 75 62 61 72 20 69 64 3d 22 76 | set"/>.</window>..<menubar.id="v |
e6060 | 69 65 77 53 6f 75 72 63 65 2d 6d 61 69 6e 2d 6d 65 6e 75 62 61 72 22 3e 0a 20 20 3c 6d 65 6e 75 | iewSource-main-menubar">...<menu |
e6080 | 20 69 64 3d 22 68 65 6c 70 4d 65 6e 75 22 2f 3e 0a 3c 2f 6d 65 6e 75 62 61 72 3e 0a 0a 3c 2f 6f | .id="helpMenu"/>.</menubar>..</o |
e60a0 | 76 65 72 6c 61 79 3e 0a 50 4b 03 04 14 00 00 00 00 00 f2 4b 18 3b f9 67 aa 8d 70 03 02 00 70 03 | verlay>.PK.........K.;.g..p...p. |
e60c0 | 02 00 1c 00 00 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 6c 69 63 65 6e 73 65 2e 68 74 | ......content/browser/license.ht |
e60e0 | 6d 6c 3c 21 44 4f 43 54 59 50 45 20 48 54 4d 4c 20 50 55 42 4c 49 43 20 22 2d 2f 2f 57 33 43 2f | ml<!DOCTYPE.HTML.PUBLIC."-//W3C/ |
e6100 | 2f 44 54 44 20 48 54 4d 4c 20 34 2e 30 31 2f 2f 45 4e 22 20 0a 20 20 20 20 20 20 20 20 20 20 20 | /DTD.HTML.4.01//EN"............. |
e6120 | 20 20 20 20 20 20 20 20 20 20 20 22 68 74 74 70 3a 2f 2f 77 77 77 2e 77 33 2e 6f 72 67 2f 54 52 | ..........."http://www.w3.org/TR |
e6140 | 2f 68 74 6d 6c 34 2f 73 74 72 69 63 74 2e 64 74 64 22 3e 0a 3c 21 2d 2d 20 2a 2a 2a 2a 2a 20 42 | /html4/strict.dtd">.<!--.*****.B |
e6160 | 45 47 49 4e 20 4c 49 43 45 4e 53 45 20 42 4c 4f 43 4b 20 2a 2a 2a 2a 2a 0a 20 20 20 2d 20 56 65 | EGIN.LICENSE.BLOCK.*****....-.Ve |
e6180 | 72 73 69 6f 6e 3a 20 4d 50 4c 20 31 2e 31 2f 47 50 4c 20 32 2e 30 2f 4c 47 50 4c 20 32 2e 31 0a | rsion:.MPL.1.1/GPL.2.0/LGPL.2.1. |
e61a0 | 20 20 20 2d 0a 20 20 20 2d 20 54 68 65 20 63 6f 6e 74 65 6e 74 73 20 6f 66 20 74 68 69 73 20 66 | ...-....-.The.contents.of.this.f |
e61c0 | 69 6c 65 20 61 72 65 20 73 75 62 6a 65 63 74 20 74 6f 20 74 68 65 20 4d 6f 7a 69 6c 6c 61 20 50 | ile.are.subject.to.the.Mozilla.P |
e61e0 | 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 20 56 65 72 73 69 6f 6e 0a 20 20 20 2d 20 31 2e 31 20 28 | ublic.License.Version....-.1.1.( |
e6200 | 74 68 65 20 22 4c 69 63 65 6e 73 65 22 29 3b 20 79 6f 75 20 6d 61 79 20 6e 6f 74 20 75 73 65 20 | the."License");.you.may.not.use. |
e6220 | 74 68 69 73 20 66 69 6c 65 20 65 78 63 65 70 74 20 69 6e 20 63 6f 6d 70 6c 69 61 6e 63 65 20 77 | this.file.except.in.compliance.w |
e6240 | 69 74 68 0a 20 20 20 2d 20 74 68 65 20 4c 69 63 65 6e 73 65 2e 20 59 6f 75 20 6d 61 79 20 6f 62 | ith....-.the.License..You.may.ob |
e6260 | 74 61 69 6e 20 61 20 63 6f 70 79 20 6f 66 20 74 68 65 20 4c 69 63 65 6e 73 65 20 61 74 0a 20 20 | tain.a.copy.of.the.License.at... |
e6280 | 20 2d 20 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 4d 50 4c 2f 0a 20 | .-.http://www.mozilla.org/MPL/.. |
e62a0 | 20 20 2d 0a 20 20 20 2d 20 53 6f 66 74 77 61 72 65 20 64 69 73 74 72 69 62 75 74 65 64 20 75 6e | ..-....-.Software.distributed.un |
e62c0 | 64 65 72 20 74 68 65 20 4c 69 63 65 6e 73 65 20 69 73 20 64 69 73 74 72 69 62 75 74 65 64 20 6f | der.the.License.is.distributed.o |
e62e0 | 6e 20 61 6e 20 22 41 53 20 49 53 22 20 62 61 73 69 73 2c 0a 20 20 20 2d 20 57 49 54 48 4f 55 54 | n.an."AS.IS".basis,....-.WITHOUT |
e6300 | 20 57 41 52 52 41 4e 54 59 20 4f 46 20 41 4e 59 20 4b 49 4e 44 2c 20 65 69 74 68 65 72 20 65 78 | .WARRANTY.OF.ANY.KIND,.either.ex |
e6320 | 70 72 65 73 73 20 6f 72 20 69 6d 70 6c 69 65 64 2e 20 53 65 65 20 74 68 65 20 4c 69 63 65 6e 73 | press.or.implied..See.the.Licens |
e6340 | 65 0a 20 20 20 2d 20 66 6f 72 20 74 68 65 20 73 70 65 63 69 66 69 63 20 6c 61 6e 67 75 61 67 65 | e....-.for.the.specific.language |
e6360 | 20 67 6f 76 65 72 6e 69 6e 67 20 72 69 67 68 74 73 20 61 6e 64 20 6c 69 6d 69 74 61 74 69 6f 6e | .governing.rights.and.limitation |
e6380 | 73 20 75 6e 64 65 72 20 74 68 65 0a 20 20 20 2d 20 4c 69 63 65 6e 73 65 2e 0a 20 20 20 2d 0a 20 | s.under.the....-.License.....-.. |
e63a0 | 20 20 2d 20 54 68 65 20 4f 72 69 67 69 6e 61 6c 20 43 6f 64 65 20 69 73 20 6d 6f 7a 69 6c 6c 61 | ..-.The.Original.Code.is.mozilla |
e63c0 | 2e 6f 72 67 20 63 6f 64 65 2e 0a 20 20 20 2d 0a 20 20 20 2d 20 54 68 65 20 49 6e 69 74 69 61 6c | .org.code.....-....-.The.Initial |
e63e0 | 20 44 65 76 65 6c 6f 70 65 72 20 6f 66 20 74 68 65 20 4f 72 69 67 69 6e 61 6c 20 43 6f 64 65 20 | .Developer.of.the.Original.Code. |
e6400 | 69 73 0a 20 20 20 2d 20 47 65 72 76 61 73 65 20 4d 61 72 6b 68 61 6d 2e 0a 20 20 20 2d 20 50 6f | is....-.Gervase.Markham.....-.Po |
e6420 | 72 74 69 6f 6e 73 20 63 72 65 61 74 65 64 20 62 79 20 74 68 65 20 49 6e 69 74 69 61 6c 20 44 65 | rtions.created.by.the.Initial.De |
e6440 | 76 65 6c 6f 70 65 72 20 61 72 65 20 43 6f 70 79 72 69 67 68 74 20 28 43 29 20 32 30 30 36 0a 20 | veloper.are.Copyright.(C).2006.. |
e6460 | 20 20 2d 20 74 68 65 20 49 6e 69 74 69 61 6c 20 44 65 76 65 6c 6f 70 65 72 2e 20 41 6c 6c 20 52 | ..-.the.Initial.Developer..All.R |
e6480 | 69 67 68 74 73 20 52 65 73 65 72 76 65 64 2e 0a 20 20 20 2d 0a 20 20 20 2d 20 43 6f 6e 74 72 69 | ights.Reserved.....-....-.Contri |
e64a0 | 62 75 74 6f 72 28 73 29 3a 0a 20 20 20 2d 20 20 20 45 68 73 61 6e 20 41 6b 68 67 61 72 69 20 3c | butor(s):....-...Ehsan.Akhgari.< |
e64c0 | 65 68 73 61 6e 2e 61 6b 68 67 61 72 69 40 67 6d 61 69 6c 2e 63 6f 6d 3e 0a 20 20 20 2d 0a 20 20 | ehsan.akhgari@gmail.com>....-... |
e64e0 | 20 2d 20 41 6c 74 65 72 6e 61 74 69 76 65 6c 79 2c 20 74 68 65 20 63 6f 6e 74 65 6e 74 73 20 6f | .-.Alternatively,.the.contents.o |
e6500 | 66 20 74 68 69 73 20 66 69 6c 65 20 6d 61 79 20 62 65 20 75 73 65 64 20 75 6e 64 65 72 20 74 68 | f.this.file.may.be.used.under.th |
e6520 | 65 20 74 65 72 6d 73 20 6f 66 0a 20 20 20 2d 20 65 69 74 68 65 72 20 74 68 65 20 47 4e 55 20 47 | e.terms.of....-.either.the.GNU.G |
e6540 | 65 6e 65 72 61 6c 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 20 56 65 72 73 69 6f 6e 20 32 20 | eneral.Public.License.Version.2. |
e6560 | 6f 72 20 6c 61 74 65 72 20 28 74 68 65 20 22 47 50 4c 22 29 2c 20 6f 72 0a 20 20 20 2d 20 74 68 | or.later.(the."GPL"),.or....-.th |
e6580 | 65 20 47 4e 55 20 4c 65 73 73 65 72 20 47 65 6e 65 72 61 6c 20 50 75 62 6c 69 63 20 4c 69 63 65 | e.GNU.Lesser.General.Public.Lice |
e65a0 | 6e 73 65 20 56 65 72 73 69 6f 6e 20 32 2e 31 20 6f 72 20 6c 61 74 65 72 20 28 74 68 65 20 22 4c | nse.Version.2.1.or.later.(the."L |
e65c0 | 47 50 4c 22 29 2c 0a 20 20 20 2d 20 69 6e 20 77 68 69 63 68 20 63 61 73 65 20 74 68 65 20 70 72 | GPL"),....-.in.which.case.the.pr |
e65e0 | 6f 76 69 73 69 6f 6e 73 20 6f 66 20 74 68 65 20 47 50 4c 20 6f 72 20 74 68 65 20 4c 47 50 4c 20 | ovisions.of.the.GPL.or.the.LGPL. |
e6600 | 61 72 65 20 61 70 70 6c 69 63 61 62 6c 65 20 69 6e 73 74 65 61 64 0a 20 20 20 2d 20 6f 66 20 74 | are.applicable.instead....-.of.t |
e6620 | 68 6f 73 65 20 61 62 6f 76 65 2e 20 49 66 20 79 6f 75 20 77 69 73 68 20 74 6f 20 61 6c 6c 6f 77 | hose.above..If.you.wish.to.allow |
e6640 | 20 75 73 65 20 6f 66 20 79 6f 75 72 20 76 65 72 73 69 6f 6e 20 6f 66 20 74 68 69 73 20 66 69 6c | .use.of.your.version.of.this.fil |
e6660 | 65 20 6f 6e 6c 79 0a 20 20 20 2d 20 75 6e 64 65 72 20 74 68 65 20 74 65 72 6d 73 20 6f 66 20 65 | e.only....-.under.the.terms.of.e |
e6680 | 69 74 68 65 72 20 74 68 65 20 47 50 4c 20 6f 72 20 74 68 65 20 4c 47 50 4c 2c 20 61 6e 64 20 6e | ither.the.GPL.or.the.LGPL,.and.n |
e66a0 | 6f 74 20 74 6f 20 61 6c 6c 6f 77 20 6f 74 68 65 72 73 20 74 6f 0a 20 20 20 2d 20 75 73 65 20 79 | ot.to.allow.others.to....-.use.y |
e66c0 | 6f 75 72 20 76 65 72 73 69 6f 6e 20 6f 66 20 74 68 69 73 20 66 69 6c 65 20 75 6e 64 65 72 20 74 | our.version.of.this.file.under.t |
e66e0 | 68 65 20 74 65 72 6d 73 20 6f 66 20 74 68 65 20 4d 50 4c 2c 20 69 6e 64 69 63 61 74 65 20 79 6f | he.terms.of.the.MPL,.indicate.yo |
e6700 | 75 72 0a 20 20 20 2d 20 64 65 63 69 73 69 6f 6e 20 62 79 20 64 65 6c 65 74 69 6e 67 20 74 68 65 | ur....-.decision.by.deleting.the |
e6720 | 20 70 72 6f 76 69 73 69 6f 6e 73 20 61 62 6f 76 65 20 61 6e 64 20 72 65 70 6c 61 63 65 20 74 68 | .provisions.above.and.replace.th |
e6740 | 65 6d 20 77 69 74 68 20 74 68 65 20 6e 6f 74 69 63 65 0a 20 20 20 2d 20 61 6e 64 20 6f 74 68 65 | em.with.the.notice....-.and.othe |
e6760 | 72 20 70 72 6f 76 69 73 69 6f 6e 73 20 72 65 71 75 69 72 65 64 20 62 79 20 74 68 65 20 47 50 4c | r.provisions.required.by.the.GPL |
e6780 | 20 6f 72 20 74 68 65 20 4c 47 50 4c 2e 20 49 66 20 79 6f 75 20 64 6f 20 6e 6f 74 20 64 65 6c 65 | .or.the.LGPL..If.you.do.not.dele |
e67a0 | 74 65 0a 20 20 20 2d 20 74 68 65 20 70 72 6f 76 69 73 69 6f 6e 73 20 61 62 6f 76 65 2c 20 61 20 | te....-.the.provisions.above,.a. |
e67c0 | 72 65 63 69 70 69 65 6e 74 20 6d 61 79 20 75 73 65 20 79 6f 75 72 20 76 65 72 73 69 6f 6e 20 6f | recipient.may.use.your.version.o |
e67e0 | 66 20 74 68 69 73 20 66 69 6c 65 20 75 6e 64 65 72 0a 20 20 20 2d 20 74 68 65 20 74 65 72 6d 73 | f.this.file.under....-.the.terms |
e6800 | 20 6f 66 20 61 6e 79 20 6f 6e 65 20 6f 66 20 74 68 65 20 4d 50 4c 2c 20 74 68 65 20 47 50 4c 20 | .of.any.one.of.the.MPL,.the.GPL. |
e6820 | 6f 72 20 74 68 65 20 4c 47 50 4c 2e 0a 20 20 20 2d 0a 20 20 20 2d 20 2a 2a 2a 2a 2a 20 45 4e 44 | or.the.LGPL.....-....-.*****.END |
e6840 | 20 4c 49 43 45 4e 53 45 20 42 4c 4f 43 4b 20 2a 2a 2a 2a 2a 20 2d 2d 3e 0a 0a 3c 68 74 6d 6c 20 | .LICENSE.BLOCK.*****.-->..<html. |
e6860 | 6c 61 6e 67 3d 22 65 6e 22 3e 0a 20 20 3c 68 65 61 64 3e 0a 20 20 20 20 3c 6d 65 74 61 20 68 74 | lang="en">...<head>.....<meta.ht |
e6880 | 74 70 2d 65 71 75 69 76 3d 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 20 63 6f 6e 74 65 6e 74 3d | tp-equiv="Content-Type".content= |
e68a0 | 22 74 65 78 74 2f 68 74 6d 6c 3b 63 68 61 72 73 65 74 3d 75 74 66 2d 38 22 3e 0a 20 20 20 20 3c | "text/html;charset=utf-8">.....< |
e68c0 | 74 69 74 6c 65 3e 61 62 6f 75 74 3a 6c 69 63 65 6e 73 65 3c 2f 74 69 74 6c 65 3e 0a 0a 20 20 20 | title>about:license</title>..... |
e68e0 | 20 3c 73 74 79 6c 65 20 74 79 70 65 3d 22 74 65 78 74 2f 63 73 73 22 3e 0a 20 20 20 20 20 20 2e | .<style.type="text/css">........ |
e6900 | 76 65 72 79 2d 73 74 72 6f 6e 67 20 7b 0a 20 20 20 20 20 20 20 20 74 65 78 74 2d 74 72 61 6e 73 | very-strong.{.........text-trans |
e6920 | 66 6f 72 6d 3a 20 75 70 70 65 72 63 61 73 65 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 0a | form:.uppercase;.......}........ |
e6940 | 20 20 20 20 20 20 2e 70 61 74 68 20 7b 0a 20 20 20 20 20 20 20 20 66 6f 6e 74 2d 66 61 6d 69 6c | .......path.{.........font-famil |
e6960 | 79 3a 20 6d 6f 6e 6f 73 70 61 63 65 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 0a 20 20 20 | y:.monospace;.......}........... |
e6980 | 20 20 20 64 74 20 7b 0a 20 20 20 20 20 20 20 20 66 6f 6e 74 2d 77 65 69 67 68 74 3a 20 62 6f 6c | ...dt.{.........font-weight:.bol |
e69a0 | 64 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 0a 20 20 20 20 20 20 64 64 20 70 20 7b 0a 20 | d;.......}..............dd.p.{.. |
e69c0 | 20 20 20 20 20 20 20 6d 61 72 67 69 6e 3a 20 30 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 | .......margin:.0;.......}....... |
e69e0 | 0a 20 20 20 20 20 20 2e 67 6e 75 2d 6e 75 6d 62 65 72 20 7b 0a 20 20 20 20 20 20 20 20 66 6f 6e | ........gnu-number.{.........fon |
e6a00 | 74 2d 77 65 69 67 68 74 3a 20 62 6f 6c 64 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 3c 2f 73 74 | t-weight:.bold;.......}.....</st |
e6a20 | 79 6c 65 3e 0a 20 20 20 20 3c 6c 69 6e 6b 20 72 65 6c 3d 22 73 74 79 6c 65 73 68 65 65 74 22 20 | yle>.....<link.rel="stylesheet". |
e6a40 | 68 72 65 66 3d 22 63 68 72 6f 6d 65 3a 2f 2f 67 6c 6f 62 61 6c 2f 73 6b 69 6e 2f 61 62 6f 75 74 | href="chrome://global/skin/about |
e6a60 | 2e 63 73 73 22 20 74 79 70 65 3d 22 74 65 78 74 2f 63 73 73 22 3e 0a 0a 20 20 20 20 3c 73 63 72 | .css".type="text/css">......<scr |
e6a80 | 69 70 74 20 74 79 70 65 3d 22 74 65 78 74 2f 6a 61 76 61 73 63 72 69 70 74 22 3e 0a 20 20 20 20 | ipt.type="text/javascript">..... |
e6aa0 | 66 75 6e 63 74 69 6f 6e 20 63 6f 72 72 65 63 74 53 70 65 6c 6c 69 6e 67 28 29 0a 20 20 20 20 7b | function.correctSpelling().....{ |
e6ac0 | 0a 20 20 20 20 20 20 2f 2f 20 4e 6f 74 65 20 74 68 61 74 20 74 68 69 73 20 63 6f 64 65 20 6f 6e | .......//.Note.that.this.code.on |
e6ae0 | 6c 79 20 72 75 6e 73 20 69 66 20 74 68 65 20 70 61 67 65 20 69 73 20 72 65 71 75 65 73 74 65 64 | ly.runs.if.the.page.is.requested |
e6b00 | 20 75 73 69 6e 67 20 74 68 65 0a 20 20 20 20 20 20 2f 2f 20 55 52 4c 20 63 6f 6e 74 61 69 6e 69 | .using.the.......//.URL.containi |
e6b20 | 6e 67 20 74 68 65 20 63 6f 72 72 65 63 74 20 73 70 65 6c 6c 69 6e 67 20 2d 20 69 2e 65 2e 20 22 | ng.the.correct.spelling.-.i.e.." |
e6b40 | 61 62 6f 75 74 3a 6c 69 63 65 6e 63 65 22 2e 0a 20 20 20 20 20 20 69 66 20 28 64 6f 63 75 6d 65 | about:licence"........if.(docume |
e6b60 | 6e 74 2e 6c 6f 63 61 74 69 6f 6e 2e 68 72 65 66 2e 6d 61 74 63 68 28 22 69 63 65 6e 63 65 22 29 | nt.location.href.match("icence") |
e6b80 | 29 0a 20 20 20 20 20 20 7b 20 20 20 20 20 20 20 0a 20 20 20 20 20 20 20 20 66 75 6e 63 74 69 6f | ).......{................functio |
e6ba0 | 6e 20 61 63 63 65 70 74 4e 6f 64 65 28 6e 6f 64 65 29 0a 20 20 20 20 20 20 20 20 7b 0a 20 20 20 | n.acceptNode(node).........{.... |
e6bc0 | 20 20 20 20 20 20 20 69 66 20 28 6e 6f 64 65 2e 68 61 73 41 74 74 72 69 62 75 74 65 28 22 63 6c | .......if.(node.hasAttribute("cl |
e6be0 | 61 73 73 22 29 29 20 0a 20 20 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ass"))............{............. |
e6c00 | 76 61 72 20 63 20 3d 20 22 20 22 20 2b 20 6e 6f 64 65 2e 63 6c 61 73 73 4e 61 6d 65 20 2b 20 22 | var.c.=.".".+.node.className.+." |
e6c20 | 20 22 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 63 2e 69 6e 64 65 78 4f 66 28 22 20 | .";.............if.(c.indexOf(". |
e6c40 | 63 6f 72 72 65 63 74 6d 65 20 22 29 20 21 3d 20 2d 31 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 | correctme.").!=.-1)............. |
e6c60 | 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 4e 6f 64 65 46 69 6c 74 65 | {...............return.NodeFilte |
e6c80 | 72 2e 46 49 4c 54 45 52 5f 41 43 43 45 50 54 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 | r.FILTER_ACCEPT;.............}.. |
e6ca0 | 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 20 69 66 20 28 6e 6f | .........}...........else.if.(no |
e6cc0 | 64 65 2e 6e 6f 64 65 4e 61 6d 65 20 3d 3d 20 22 48 31 22 29 0a 20 20 20 20 20 20 20 20 20 20 7b | de.nodeName.==."H1")...........{ |
e6ce0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 4e 6f 64 65 46 69 6c 74 65 72 2e 46 | .............return.NodeFilter.F |
e6d00 | 49 4c 54 45 52 5f 41 43 43 45 50 54 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 | ILTER_ACCEPT;...........}....... |
e6d20 | 20 20 20 20 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 4e 6f 64 65 46 69 6c 74 65 72 | ...............return.NodeFilter |
e6d40 | 2e 46 49 4c 54 45 52 5f 53 4b 49 50 3b 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 | .FILTER_SKIP;.........}......... |
e6d60 | 20 76 61 72 20 74 72 65 65 57 61 6c 6b 65 72 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 63 72 65 61 74 | .var.treeWalker.=.document.creat |
e6d80 | 65 54 72 65 65 57 61 6c 6b 65 72 28 64 6f 63 75 6d 65 6e 74 2e 64 6f 63 75 6d 65 6e 74 45 6c 65 | eTreeWalker(document.documentEle |
e6da0 | 6d 65 6e 74 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ment,........................... |
e6dc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 4e 6f 64 65 46 69 6c | .........................NodeFil |
e6de0 | 74 65 72 2e 53 48 4f 57 5f 45 4c 45 4d 45 4e 54 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ter.SHOW_ELEMENT,............... |
e6e00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
e6e20 | 20 20 20 20 20 61 63 63 65 70 74 4e 6f 64 65 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .....acceptNode,................ |
e6e40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
e6e60 | 20 20 20 20 74 72 75 65 29 3b 0a 20 20 20 20 20 20 20 20 69 66 20 28 74 72 65 65 57 61 6c 6b 65 | ....true);.........if.(treeWalke |
e6e80 | 72 29 20 0a 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 6e 6f 64 65 | r)..........{...........var.node |
e6ea0 | 20 3d 20 74 72 65 65 57 61 6c 6b 65 72 2e 6e 65 78 74 4e 6f 64 65 28 29 3b 0a 20 20 20 20 20 20 | .=.treeWalker.nextNode();....... |
e6ec0 | 20 20 20 20 77 68 69 6c 65 20 28 6e 6f 64 65 29 20 0a 20 20 20 20 20 20 20 20 20 20 7b 0a 20 20 | ....while.(node)............{... |
e6ee0 | 20 20 20 20 20 20 20 20 20 20 76 61 72 20 74 65 78 74 20 3d 20 6e 6f 64 65 2e 69 6e 6e 65 72 48 | ..........var.text.=.node.innerH |
e6f00 | 54 4d 4c 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 65 78 74 20 3d 20 74 65 78 74 2e 72 65 | TML;..............text.=.text.re |
e6f20 | 70 6c 61 63 65 28 2f 69 63 65 6e 73 65 5c 62 2f 67 69 2c 20 22 69 63 65 6e 63 65 22 29 3b 0a 20 | place(/icense\b/gi,."icence");.. |
e6f40 | 20 20 20 20 20 20 20 20 20 20 20 74 65 78 74 20 3d 20 74 65 78 74 2e 72 65 70 6c 61 63 65 28 2f | ...........text.=.text.replace(/ |
e6f60 | 69 63 65 6e 73 65 73 5c 62 2f 67 69 2c 20 22 69 63 65 6e 63 65 73 22 29 3b 0a 0a 20 20 20 20 20 | icenses\b/gi,."icences");....... |
e6f80 | 20 20 20 20 20 20 20 6e 6f 64 65 2e 69 6e 6e 65 72 48 54 4d 4c 20 3d 20 74 65 78 74 3b 0a 20 20 | .......node.innerHTML.=.text;... |
e6fa0 | 20 20 20 20 20 20 20 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 6e 6f 64 65 20 3d 20 74 72 65 65 | .....................node.=.tree |
e6fc0 | 57 61 6c 6b 65 72 2e 6e 65 78 74 4e 6f 64 65 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 | Walker.nextNode();...........}.. |
e6fe0 | 20 20 20 20 20 20 20 20 20 0a 20 20 20 20 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 74 69 74 | ....................document.tit |
e7000 | 6c 65 20 3d 20 22 61 62 6f 75 74 3a 6c 69 63 65 6e 63 65 22 3b 0a 20 20 20 20 20 20 20 20 7d 0a | le.=."about:licence";.........}. |
e7020 | 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 20 20 20 20 0a 20 20 20 20 77 69 6e 64 6f 77 2e 6f 6e | ......}.....}..........window.on |
e7040 | 6c 6f 61 64 20 3d 20 63 6f 72 72 65 63 74 53 70 65 6c 6c 69 6e 67 3b 0a 20 20 20 20 3c 2f 73 63 | load.=.correctSpelling;.....</sc |
e7060 | 72 69 70 74 3e 20 20 20 20 0a 20 20 3c 2f 68 65 61 64 3e 0a 0a 20 20 3c 62 6f 64 79 20 69 64 3d | ript>.......</head>....<body.id= |
e7080 | 22 6c 69 63 2d 69 6e 66 6f 22 20 63 6c 61 73 73 3d 22 61 62 6f 75 74 50 61 67 65 57 69 64 65 43 | "lic-info".class="aboutPageWideC |
e70a0 | 6f 6e 74 61 69 6e 65 72 22 3e 0a 20 20 20 20 3c 68 31 20 63 6c 61 73 73 3d 22 63 6f 72 72 65 63 | ontainer">.....<h1.class="correc |
e70c0 | 74 6d 65 22 3e 3c 61 20 6e 61 6d 65 3d 22 74 6f 70 22 3e 3c 2f 61 3e 61 62 6f 75 74 3a 6c 69 63 | tme"><a.name="top"></a>about:lic |
e70e0 | 65 6e 73 65 3c 2f 68 31 3e 0a 0a 20 20 20 20 3c 64 69 76 20 63 6c 61 73 73 3d 22 63 6f 72 72 65 | ense</h1>......<div.class="corre |
e7100 | 63 74 6d 65 22 3e 0a 0a 20 20 20 20 3c 70 3e 3c 62 3e 42 69 6e 61 72 69 65 73 3c 2f 62 3e 20 6f | ctme">......<p><b>Binaries</b>.o |
e7120 | 66 20 74 68 69 73 20 70 72 6f 64 75 63 74 20 68 61 76 65 20 62 65 65 6e 20 6d 61 64 65 20 61 76 | f.this.product.have.been.made.av |
e7140 | 61 69 6c 61 62 6c 65 20 74 6f 20 79 6f 75 20 62 79 20 74 68 65 0a 20 20 20 20 3c 61 20 68 72 65 | ailable.to.you.by.the.....<a.hre |
e7160 | 66 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 22 3e 4d 6f 7a 69 | f="http://www.mozilla.org/">Mozi |
e7180 | 6c 6c 61 20 50 72 6f 6a 65 63 74 3c 2f 61 3e 20 75 6e 64 65 72 20 74 68 65 20 4d 6f 7a 69 6c 6c | lla.Project</a>.under.the.Mozill |
e71a0 | 61 0a 20 20 20 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 2e 20 3c 61 20 68 72 65 66 3d 22 61 | a.....Public.License..<a.href="a |
e71c0 | 62 6f 75 74 3a 72 69 67 68 74 73 22 3e 4b 6e 6f 77 20 79 6f 75 72 20 72 69 67 68 74 73 3c 2f 61 | bout:rights">Know.your.rights</a |
e71e0 | 3e 2e 3c 2f 70 3e 0a 20 20 20 20 0a 20 20 20 20 3c 70 3e 41 6c 6c 20 6f 66 20 74 68 65 20 3c 62 | >.</p>..........<p>All.of.the.<b |
e7200 | 3e 73 6f 75 72 63 65 20 63 6f 64 65 3c 2f 62 3e 20 74 6f 20 74 68 69 73 20 70 72 6f 64 75 63 74 | >source.code</b>.to.this.product |
e7220 | 20 69 73 20 0a 20 20 20 20 20 20 20 3c 61 20 68 72 65 66 3d 22 68 74 74 70 73 3a 2f 2f 64 65 76 | .is.........<a.href="https://dev |
e7240 | 65 6c 6f 70 65 72 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 65 6e 2f 4d 6f 7a 69 6c 6c 61 5f 53 6f | eloper.mozilla.org/en/Mozilla_So |
e7260 | 75 72 63 65 5f 43 6f 64 65 5f 25 32 38 4d 65 72 63 75 72 69 61 6c 25 32 39 22 3e 61 76 61 69 6c | urce_Code_%28Mercurial%29">avail |
e7280 | 61 62 6c 65 3c 2f 61 3e 20 0a 20 20 20 20 20 20 20 75 6e 64 65 72 20 6c 69 63 65 6e 73 65 73 20 | able</a>.........under.licenses. |
e72a0 | 77 68 69 63 68 20 61 72 65 20 62 6f 74 68 20 0a 20 20 20 20 20 20 20 3c 61 20 68 72 65 66 3d 22 | which.are.both.........<a.href=" |
e72c0 | 68 74 74 70 3a 2f 2f 77 77 77 2e 67 6e 75 2e 6f 72 67 2f 70 68 69 6c 6f 73 6f 70 68 79 2f 66 72 | http://www.gnu.org/philosophy/fr |
e72e0 | 65 65 2d 73 77 2e 68 74 6d 6c 22 3e 66 72 65 65 3c 2f 61 3e 20 61 6e 64 20 0a 20 20 20 20 20 20 | ee-sw.html">free</a>.and........ |
e7300 | 20 3c 61 20 68 72 65 66 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e 6f 70 65 6e 73 6f 75 72 63 65 2e | .<a.href="http://www.opensource. |
e7320 | 6f 72 67 2f 64 6f 63 73 2f 64 65 66 69 6e 69 74 69 6f 6e 2e 70 68 70 22 3e 6f 70 65 6e 20 73 6f | org/docs/definition.php">open.so |
e7340 | 75 72 63 65 3c 2f 61 3e 2e 0a 20 20 20 20 20 20 20 4d 6f 73 74 20 69 73 20 61 76 61 69 6c 61 62 | urce</a>.........Most.is.availab |
e7360 | 6c 65 20 75 6e 64 65 72 20 61 6e 79 20 6f 6e 65 20 6f 66 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e | le.under.any.one.of.the.followin |
e7380 | 67 3a 0a 20 20 20 20 20 20 20 74 68 65 20 4d 6f 7a 69 6c 6c 61 20 50 75 62 6c 69 63 20 4c 69 63 | g:........the.Mozilla.Public.Lic |
e73a0 | 65 6e 73 65 20 28 4d 50 4c 29 2c 20 74 68 65 20 47 4e 55 20 47 65 6e 65 72 61 6c 20 50 75 62 6c | ense.(MPL),.the.GNU.General.Publ |
e73c0 | 69 63 20 0a 20 20 20 20 20 20 20 4c 69 63 65 6e 73 65 20 28 47 50 4c 29 20 61 6e 64 20 74 68 65 | ic.........License.(GPL).and.the |
e73e0 | 20 47 4e 55 20 4c 65 73 73 65 72 20 47 65 6e 65 72 61 6c 20 50 75 62 6c 69 63 20 4c 69 63 65 6e | .GNU.Lesser.General.Public.Licen |
e7400 | 73 65 20 28 4c 47 50 4c 29 2e 0a 20 20 20 20 20 20 20 54 68 61 74 20 69 73 2c 20 79 6f 75 20 6d | se.(LGPL).........That.is,.you.m |
e7420 | 61 79 20 63 6f 70 79 20 61 6e 64 20 64 69 73 74 72 69 62 75 74 65 20 73 75 63 68 20 73 6f 66 74 | ay.copy.and.distribute.such.soft |
e7440 | 77 61 72 65 20 61 63 63 6f 72 64 69 6e 67 20 74 6f 20 74 68 65 20 0a 20 20 20 20 20 20 20 74 65 | ware.according.to.the.........te |
e7460 | 72 6d 73 20 6f 66 20 61 6e 79 20 6f 6e 65 20 6f 66 20 74 68 6f 73 65 20 74 68 72 65 65 20 6c 69 | rms.of.any.one.of.those.three.li |
e7480 | 63 65 6e 73 65 73 2e 0a 20 20 20 20 3c 2f 70 3e 0a 0a 20 20 20 20 3c 75 6c 3e 0a 20 20 20 20 20 | censes......</p>......<ul>...... |
e74a0 | 20 3c 6c 69 3e 3c 61 20 68 72 65 66 3d 22 61 62 6f 75 74 3a 6c 69 63 65 6e 73 65 23 6d 70 6c 22 | .<li><a.href="about:license#mpl" |
e74c0 | 3e 4d 6f 7a 69 6c 6c 61 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 3c 2f 61 3e 0a 20 20 20 20 | >Mozilla.Public.License</a>..... |
e74e0 | 20 20 20 20 3c 75 6c 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 3c 61 20 68 72 65 66 3d 22 | ....<ul>...........<li><a.href=" |
e7500 | 61 62 6f 75 74 3a 6c 69 63 65 6e 73 65 23 69 6e 69 74 69 61 6c 2d 64 65 76 65 6c 6f 70 65 72 73 | about:license#initial-developers |
e7520 | 22 3e 49 6e 69 74 69 61 6c 0a 20 20 20 20 20 20 20 20 20 20 44 65 76 65 6c 6f 70 65 72 73 3c 2f | ">Initial...........Developers</ |
e7540 | 61 3e 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 3c 2f 75 6c 3e 0a 20 20 20 20 20 20 3c 2f 6c 69 | a></li>.........</ul>.......</li |
e7560 | 3e 0a 20 20 20 20 20 20 3c 6c 69 3e 3c 61 20 68 72 65 66 3d 22 61 62 6f 75 74 3a 6c 69 63 65 6e | >.......<li><a.href="about:licen |
e7580 | 73 65 23 67 70 6c 22 3e 47 4e 55 20 47 65 6e 65 72 61 6c 20 50 75 62 6c 69 63 20 4c 69 63 65 6e | se#gpl">GNU.General.Public.Licen |
e75a0 | 73 65 3c 2f 61 3e 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 3c 6c 69 3e 3c 61 20 68 72 65 66 3d 22 61 | se</a></li>.......<li><a.href="a |
e75c0 | 62 6f 75 74 3a 6c 69 63 65 6e 73 65 23 6c 67 70 6c 22 3e 47 4e 55 20 4c 65 73 73 65 72 20 47 65 | bout:license#lgpl">GNU.Lesser.Ge |
e75e0 | 6e 65 72 61 6c 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 3c 2f 61 3e 3c 2f 6c 69 3e 0a 20 20 | neral.Public.License</a></li>... |
e7600 | 20 20 3c 2f 75 6c 3e 0a 20 20 20 20 0a 20 20 20 20 3c 70 3e 54 68 65 20 72 65 6d 61 69 6e 64 65 | ..</ul>..........<p>The.remainde |
e7620 | 72 20 6f 66 20 74 68 65 20 73 6f 66 74 77 61 72 65 20 77 68 69 63 68 20 69 73 20 6e 6f 74 20 75 | r.of.the.software.which.is.not.u |
e7640 | 6e 64 65 72 20 74 68 65 20 4d 50 4c 2f 4c 47 50 4c 2f 47 50 4c 20 0a 20 20 20 20 20 20 20 74 72 | nder.the.MPL/LGPL/GPL.........tr |
e7660 | 69 2d 6c 69 63 65 6e 73 65 20 69 73 20 61 76 61 69 6c 61 62 6c 65 20 75 6e 64 65 72 20 6f 6e 65 | i-license.is.available.under.one |
e7680 | 20 6f 66 0a 20 20 20 20 20 20 20 61 20 76 61 72 69 65 74 79 20 6f 66 20 6d 6f 72 65 20 70 65 72 | .of........a.variety.of.more.per |
e76a0 | 6d 69 73 73 69 76 65 20 6c 69 63 65 6e 73 65 73 2e 20 54 68 6f 73 65 20 74 68 61 74 20 72 65 71 | missive.licenses..Those.that.req |
e76c0 | 75 69 72 65 20 72 65 70 72 6f 64 75 63 74 69 6f 6e 20 0a 20 20 20 20 20 20 20 6f 66 20 74 68 65 | uire.reproduction.........of.the |
e76e0 | 20 6c 69 63 65 6e 73 65 20 74 65 78 74 20 69 6e 20 74 68 65 20 64 69 73 74 72 69 62 75 74 69 6f | .license.text.in.the.distributio |
e7700 | 6e 20 61 72 65 20 67 69 76 65 6e 20 62 65 6c 6f 77 2e 20 0a 20 20 20 20 20 20 20 28 4e 6f 74 65 | n.are.given.below..........(Note |
e7720 | 3a 20 79 6f 75 72 20 63 6f 70 79 20 6f 66 20 74 68 69 73 20 70 72 6f 64 75 63 74 20 6d 61 79 20 | :.your.copy.of.this.product.may. |
e7740 | 6e 6f 74 20 63 6f 6e 74 61 69 6e 20 63 6f 64 65 20 63 6f 76 65 72 65 64 20 62 79 20 6f 6e 65 20 | not.contain.code.covered.by.one. |
e7760 | 0a 20 20 20 20 20 20 20 6f 72 20 6d 6f 72 65 20 6f 66 20 74 68 65 20 6c 69 63 65 6e 73 65 73 20 | ........or.more.of.the.licenses. |
e7780 | 6c 69 73 74 65 64 20 68 65 72 65 2c 20 64 65 70 65 6e 64 69 6e 67 20 6f 6e 20 74 68 65 20 65 78 | listed.here,.depending.on.the.ex |
e77a0 | 61 63 74 20 70 72 6f 64 75 63 74 20 0a 20 20 20 20 20 20 20 61 6e 64 20 76 65 72 73 69 6f 6e 20 | act.product.........and.version. |
e77c0 | 79 6f 75 20 63 68 6f 6f 73 65 2e 29 0a 20 20 20 20 3c 2f 70 3e 0a 20 20 20 20 0a 20 20 20 20 3c | you.choose.).....</p>..........< |
e77e0 | 75 6c 3e 0a 20 20 20 20 20 20 3c 6c 69 3e 3c 61 20 68 72 65 66 3d 22 61 62 6f 75 74 3a 6c 69 63 | ul>.......<li><a.href="about:lic |
e7800 | 65 6e 73 65 23 61 70 70 6c 65 2d 6d 6f 7a 69 6c 6c 61 22 3e 41 70 70 6c 65 2f 4d 6f 7a 69 6c 6c | ense#apple-mozilla">Apple/Mozill |
e7820 | 61 20 4e 50 52 75 6e 74 69 6d 65 20 4c 69 63 65 6e 73 65 3c 2f 61 3e 3c 2f 6c 69 3e 0a 20 20 20 | a.NPRuntime.License</a></li>.... |
e7840 | 20 20 20 3c 6c 69 3e 3c 61 20 68 72 65 66 3d 22 61 62 6f 75 74 3a 6c 69 63 65 6e 73 65 23 62 72 | ...<li><a.href="about:license#br |
e7860 | 65 61 6b 70 61 64 22 3e 42 72 65 61 6b 70 61 64 20 4c 69 63 65 6e 73 65 3c 2f 61 3e 3c 2f 6c 69 | eakpad">Breakpad.License</a></li |
e7880 | 3e 0a 20 20 20 20 20 20 3c 6c 69 3e 3c 61 20 68 72 65 66 3d 22 61 62 6f 75 74 3a 6c 69 63 65 6e | >.......<li><a.href="about:licen |
e78a0 | 73 65 23 62 73 70 61 74 63 68 22 3e 62 73 70 61 74 63 68 20 4c 69 63 65 6e 73 65 3c 2f 61 3e 3c | se#bspatch">bspatch.License</a>< |
e78c0 | 2f 6c 69 3e 0a 20 20 20 20 20 20 3c 6c 69 3e 3c 61 20 68 72 65 66 3d 22 61 62 6f 75 74 3a 6c 69 | /li>.......<li><a.href="about:li |
e78e0 | 63 65 6e 73 65 23 63 61 69 72 6f 22 3e 43 61 69 72 6f 20 43 6f 6d 70 6f 6e 65 6e 74 20 4c 69 63 | cense#cairo">Cairo.Component.Lic |
e7900 | 65 6e 73 65 73 3c 2f 61 3e 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 3c 6c 69 3e 3c 61 20 68 72 65 66 | enses</a></li>.......<li><a.href |
e7920 | 3d 22 61 62 6f 75 74 3a 6c 69 63 65 6e 73 65 23 63 73 69 72 6f 22 3e 43 53 49 52 4f 20 41 75 73 | ="about:license#csiro">CSIRO.Aus |
e7940 | 74 72 61 6c 69 61 20 4c 69 63 65 6e 73 65 3c 2f 61 3e 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 3c 6c | tralia.License</a></li>.......<l |
e7960 | 69 3e 3c 61 20 68 72 65 66 3d 22 61 62 6f 75 74 3a 6c 69 63 65 6e 73 65 23 68 75 6e 73 70 65 6c | i><a.href="about:license#hunspel |
e7980 | 6c 2d 6e 6c 22 3e 44 75 74 63 68 20 53 70 65 6c 6c 63 68 65 63 6b 69 6e 67 20 44 69 63 74 69 6f | l-nl">Dutch.Spellchecking.Dictio |
e79a0 | 6e 61 72 79 3c 2f 61 3e 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 3c 6c 69 3e 3c 61 20 68 72 65 66 3d | nary</a></li>.......<li><a.href= |
e79c0 | 22 61 62 6f 75 74 3a 6c 69 63 65 6e 73 65 23 65 78 70 61 74 22 3e 45 78 70 61 74 20 4c 69 63 65 | "about:license#expat">Expat.Lice |
e79e0 | 6e 73 65 3c 2f 61 3e 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 3c 6c 69 3e 3c 61 20 68 72 65 66 3d 22 | nse</a></li>.......<li><a.href=" |
e7a00 | 61 62 6f 75 74 3a 6c 69 63 65 6e 73 65 23 67 72 6f 77 6c 22 3e 47 72 6f 77 6c 20 4c 69 63 65 6e | about:license#growl">Growl.Licen |
e7a20 | 73 65 3c 2f 61 3e 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 3c 6c 69 3e 3c 61 20 68 72 65 66 3d 22 61 | se</a></li>.......<li><a.href="a |
e7a40 | 62 6f 75 74 3a 6c 69 63 65 6e 73 65 23 6a 70 6e 69 63 22 3e 4a 61 70 61 6e 20 4e 65 74 77 6f 72 | bout:license#jpnic">Japan.Networ |
e7a60 | 6b 20 49 6e 66 6f 72 6d 61 74 69 6f 6e 20 43 65 6e 74 72 65 20 4c 69 63 65 6e 73 65 3c 2f 61 3e | k.Information.Centre.License</a> |
e7a80 | 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 3c 6c 69 3e 3c 61 20 68 72 65 66 3d 22 61 62 6f 75 74 3a 6c | </li>.......<li><a.href="about:l |
e7aa0 | 69 63 65 6e 73 65 23 6a 65 70 22 3e 4a 61 76 61 20 45 6d 62 65 64 64 69 6e 67 20 50 6c 75 67 69 | icense#jep">Java.Embedding.Plugi |
e7ac0 | 6e 20 4c 69 63 65 6e 73 65 3c 2f 61 3e 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 3c 6c 69 3e 3c 61 20 | n.License</a></li>.......<li><a. |
e7ae0 | 68 72 65 66 3d 22 61 62 6f 75 74 3a 6c 69 63 65 6e 73 65 23 6a 65 6d 61 6c 6c 6f 63 22 3e 6a 65 | href="about:license#jemalloc">je |
e7b00 | 6d 61 6c 6c 6f 63 20 4c 69 63 65 6e 73 65 3c 2f 61 3e 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 3c 6c | malloc.License</a></li>.......<l |
e7b20 | 69 3e 3c 61 20 68 72 65 66 3d 22 61 62 6f 75 74 3a 6c 69 63 65 6e 73 65 23 68 75 6e 73 70 65 6c | i><a.href="about:license#hunspel |
e7b40 | 6c 2d 6c 74 22 3e 4c 69 74 68 75 61 6e 69 61 6e 20 53 70 65 6c 6c 63 68 65 63 6b 69 6e 67 20 44 | l-lt">Lithuanian.Spellchecking.D |
e7b60 | 69 63 74 69 6f 6e 61 72 79 3c 2f 61 3e 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 3c 6c 69 3e 3c 61 20 | ictionary</a></li>.......<li><a. |
e7b80 | 68 72 65 66 3d 22 61 62 6f 75 74 3a 6c 69 63 65 6e 73 65 23 6c 69 74 74 6c 65 63 6d 73 22 3e 4c | href="about:license#littlecms">L |
e7ba0 | 69 74 74 6c 65 20 63 6d 73 20 4c 69 63 65 6e 73 65 3c 2f 61 3e 3c 2f 6c 69 3e 0a 20 20 20 20 20 | ittle.cms.License</a></li>...... |
e7bc0 | 20 3c 6c 69 3e 3c 61 20 68 72 65 66 3d 22 61 62 6f 75 74 3a 6c 69 63 65 6e 73 65 23 6f 70 65 6e | .<li><a.href="about:license#open |
e7be0 | 76 69 73 69 6f 6e 22 3e 4f 70 65 6e 56 69 73 69 6f 6e 20 4c 69 63 65 6e 73 65 3c 2f 61 3e 3c 2f | vision">OpenVision.License</a></ |
e7c00 | 6c 69 3e 0a 20 20 20 20 20 20 3c 6c 69 3e 3c 61 20 68 72 65 66 3d 22 61 62 6f 75 74 3a 6c 69 63 | li>.......<li><a.href="about:lic |
e7c20 | 65 6e 73 65 23 78 64 67 22 3e 52 65 64 20 48 61 74 20 78 64 67 5f 75 73 65 72 5f 64 69 72 5f 6c | ense#xdg">Red.Hat.xdg_user_dir_l |
e7c40 | 6f 6f 6b 75 70 20 4c 69 63 65 6e 73 65 3c 2f 61 3e 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 3c 6c 69 | ookup.License</a></li>.......<li |
e7c60 | 3e 3c 61 20 68 72 65 66 3d 22 61 62 6f 75 74 3a 6c 69 63 65 6e 73 65 23 68 75 6e 73 70 65 6c 6c | ><a.href="about:license#hunspell |
e7c80 | 2d 72 75 22 3e 52 75 73 73 69 61 6e 20 53 70 65 6c 6c 63 68 65 63 6b 69 6e 67 20 44 69 63 74 69 | -ru">Russian.Spellchecking.Dicti |
e7ca0 | 6f 6e 61 72 79 3c 2f 61 3e 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 3c 6c 69 3e 3c 61 20 68 72 65 66 | onary</a></li>.......<li><a.href |
e7cc0 | 3d 22 61 62 6f 75 74 3a 6c 69 63 65 6e 73 65 23 73 70 61 72 6b 6c 65 22 3e 53 70 61 72 6b 6c 65 | ="about:license#sparkle">Sparkle |
e7ce0 | 20 4c 69 63 65 6e 73 65 3c 2f 61 3e 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 3c 6c 69 3e 3c 61 20 68 | .License</a></li>.......<li><a.h |
e7d00 | 72 65 66 3d 22 61 62 6f 75 74 3a 6c 69 63 65 6e 73 65 23 73 75 6e 73 6f 66 74 22 3e 53 75 6e 53 | ref="about:license#sunsoft">SunS |
e7d20 | 6f 66 74 20 4c 69 63 65 6e 73 65 3c 2f 61 3e 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 3c 6c 69 3e 3c | oft.License</a></li>.......<li>< |
e7d40 | 61 20 68 72 65 66 3d 22 61 62 6f 75 74 3a 6c 69 63 65 6e 73 65 23 75 63 61 6c 22 3e 55 6e 69 76 | a.href="about:license#ucal">Univ |
e7d60 | 65 72 73 69 74 79 20 6f 66 20 43 61 6c 69 66 6f 72 6e 69 61 20 4c 69 63 65 6e 73 65 3c 2f 61 3e | ersity.of.California.License</a> |
e7d80 | 3c 2f 6c 69 3e 20 20 20 20 20 20 0a 20 20 20 20 20 20 3c 6c 69 3e 3c 61 20 68 72 65 66 3d 22 61 | </li>.............<li><a.href="a |
e7da0 | 62 6f 75 74 3a 6c 69 63 65 6e 73 65 23 68 75 6e 73 70 65 6c 6c 2d 65 6e 2d 55 53 22 3e 55 53 20 | bout:license#hunspell-en-US">US. |
e7dc0 | 45 6e 67 6c 69 73 68 20 53 70 65 6c 6c 63 68 65 63 6b 69 6e 67 20 44 69 63 74 69 6f 6e 61 72 79 | English.Spellchecking.Dictionary |
e7de0 | 3c 2f 61 3e 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 3c 6c 69 3e 3c 61 20 68 72 65 66 3d 22 61 62 6f | </a></li>.......<li><a.href="abo |
e7e00 | 75 74 3a 6c 69 63 65 6e 73 65 23 78 69 70 68 22 3e 58 69 70 68 2e 6f 72 67 20 46 6f 75 6e 64 61 | ut:license#xiph">Xiph.org.Founda |
e7e20 | 74 69 6f 6e 20 4c 69 63 65 6e 73 65 3c 2f 61 3e 3c 2f 6c 69 3e 0a 20 20 20 20 3c 2f 75 6c 3e 0a | tion.License</a></li>.....</ul>. |
e7e40 | 20 20 20 20 0a 20 20 20 20 3c 75 6c 3e 20 20 20 20 20 20 0a 20 20 20 20 20 20 3c 6c 69 3e 3c 61 | .........<ul>.............<li><a |
e7e60 | 20 68 72 65 66 3d 22 61 62 6f 75 74 3a 6c 69 63 65 6e 73 65 23 6f 74 68 65 72 2d 6e 6f 74 69 63 | .href="about:license#other-notic |
e7e80 | 65 73 22 3e 4f 74 68 65 72 20 52 65 71 75 69 72 65 64 20 4e 6f 74 69 63 65 73 3c 2f 61 3e 0a 20 | es">Other.Required.Notices</a>.. |
e7ea0 | 20 20 20 20 20 3c 6c 69 3e 3c 61 20 68 72 65 66 3d 22 61 62 6f 75 74 3a 6c 69 63 65 6e 73 65 23 | .....<li><a.href="about:license# |
e7ec0 | 6f 70 74 69 6f 6e 61 6c 2d 6e 6f 74 69 63 65 73 22 3e 4f 70 74 69 6f 6e 61 6c 20 4e 6f 74 69 63 | optional-notices">Optional.Notic |
e7ee0 | 65 73 3c 2f 61 3e 0a 20 20 20 20 3c 2f 75 6c 3e 0a 20 20 20 20 0a 20 20 20 20 3c 2f 64 69 76 3e | es</a>.....</ul>..........</div> |
e7f00 | 0a 20 20 20 20 0a 20 20 20 20 3c 68 72 3e 0a 0a 20 20 20 20 3c 68 31 3e 3c 61 20 6e 61 6d 65 3d | ..........<hr>......<h1><a.name= |
e7f20 | 22 6d 70 6c 22 3e 3c 2f 61 3e 4d 6f 7a 69 6c 6c 61 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 | "mpl"></a>Mozilla.Public.License |
e7f40 | 3c 2f 68 31 3e 0a 20 20 20 20 0a 20 20 20 20 3c 70 3e 56 65 72 73 69 6f 6e 20 31 2e 31 3c 2f 70 | </h1>..........<p>Version.1.1</p |
e7f60 | 3e 0a 20 20 20 20 0a 20 20 20 20 3c 68 32 20 69 64 3d 22 73 65 63 74 69 6f 6e 2d 31 22 3e 31 2e | >..........<h2.id="section-1">1. |
e7f80 | 20 44 65 66 69 6e 69 74 69 6f 6e 73 2e 3c 2f 68 32 3e 0a 0a 20 20 20 20 3c 64 6c 3e 0a 20 20 20 | .Definitions.</h2>......<dl>.... |
e7fa0 | 20 20 20 3c 64 74 20 69 64 3d 22 73 65 63 74 69 6f 6e 2d 31 2e 30 2e 31 22 3e 31 2e 30 2e 31 2e | ...<dt.id="section-1.0.1">1.0.1. |
e7fc0 | 20 22 43 6f 6d 6d 65 72 63 69 61 6c 20 55 73 65 22 3c 2f 64 74 3e 0a 0a 20 20 20 20 20 20 3c 64 | ."Commercial.Use"</dt>........<d |
e7fe0 | 64 3e 6d 65 61 6e 73 20 64 69 73 74 72 69 62 75 74 69 6f 6e 20 6f 72 20 6f 74 68 65 72 77 69 73 | d>means.distribution.or.otherwis |
e8000 | 65 20 6d 61 6b 69 6e 67 20 74 68 65 20 43 6f 76 65 72 65 64 20 43 6f 64 65 20 61 76 61 69 6c 61 | e.making.the.Covered.Code.availa |
e8020 | 62 6c 65 20 74 6f 0a 20 20 20 20 20 20 61 20 74 68 69 72 64 20 70 61 72 74 79 2e 3c 2f 64 64 3e | ble.to.......a.third.party.</dd> |
e8040 | 0a 0a 20 20 20 20 20 20 3c 64 74 20 69 64 3d 22 73 65 63 74 69 6f 6e 2d 31 2e 31 22 3e 31 2e 31 | ........<dt.id="section-1.1">1.1 |
e8060 | 2e 20 22 43 6f 6e 74 72 69 62 75 74 6f 72 22 3c 2f 64 74 3e 0a 0a 20 20 20 20 20 20 3c 64 64 3e | .."Contributor"</dt>........<dd> |
e8080 | 6d 65 61 6e 73 20 65 61 63 68 20 65 6e 74 69 74 79 20 74 68 61 74 20 63 72 65 61 74 65 73 20 6f | means.each.entity.that.creates.o |
e80a0 | 72 20 63 6f 6e 74 72 69 62 75 74 65 73 20 74 6f 20 74 68 65 20 63 72 65 61 74 69 6f 6e 20 6f 66 | r.contributes.to.the.creation.of |
e80c0 | 0a 20 20 20 20 20 20 4d 6f 64 69 66 69 63 61 74 69 6f 6e 73 2e 3c 2f 64 64 3e 0a 0a 20 20 20 20 | .......Modifications.</dd>...... |
e80e0 | 20 20 3c 64 74 20 69 64 3d 22 73 65 63 74 69 6f 6e 2d 31 2e 32 22 3e 31 2e 32 2e 20 22 43 6f 6e | ..<dt.id="section-1.2">1.2.."Con |
e8100 | 74 72 69 62 75 74 6f 72 20 56 65 72 73 69 6f 6e 22 3c 2f 64 74 3e 0a 0a 20 20 20 20 20 20 3c 64 | tributor.Version"</dt>........<d |
e8120 | 64 3e 6d 65 61 6e 73 20 74 68 65 20 63 6f 6d 62 69 6e 61 74 69 6f 6e 20 6f 66 20 74 68 65 20 4f | d>means.the.combination.of.the.O |
e8140 | 72 69 67 69 6e 61 6c 20 43 6f 64 65 2c 20 70 72 69 6f 72 20 4d 6f 64 69 66 69 63 61 74 69 6f 6e | riginal.Code,.prior.Modification |
e8160 | 73 20 75 73 65 64 0a 20 20 20 20 20 20 62 79 20 61 20 43 6f 6e 74 72 69 62 75 74 6f 72 2c 20 61 | s.used.......by.a.Contributor,.a |
e8180 | 6e 64 20 74 68 65 20 4d 6f 64 69 66 69 63 61 74 69 6f 6e 73 20 6d 61 64 65 20 62 79 20 74 68 61 | nd.the.Modifications.made.by.tha |
e81a0 | 74 20 70 61 72 74 69 63 75 6c 61 72 0a 20 20 20 20 20 20 43 6f 6e 74 72 69 62 75 74 6f 72 2e 3c | t.particular.......Contributor.< |
e81c0 | 2f 64 64 3e 0a 0a 20 20 20 20 20 20 3c 64 74 20 69 64 3d 22 73 65 63 74 69 6f 6e 2d 31 2e 33 22 | /dd>........<dt.id="section-1.3" |
e81e0 | 3e 31 2e 33 2e 20 22 43 6f 76 65 72 65 64 20 43 6f 64 65 22 3c 2f 64 74 3e 0a 0a 20 20 20 20 20 | >1.3.."Covered.Code"</dt>....... |
e8200 | 20 3c 64 64 3e 6d 65 61 6e 73 20 74 68 65 20 4f 72 69 67 69 6e 61 6c 20 43 6f 64 65 20 6f 72 20 | .<dd>means.the.Original.Code.or. |
e8220 | 4d 6f 64 69 66 69 63 61 74 69 6f 6e 73 20 6f 72 20 74 68 65 20 63 6f 6d 62 69 6e 61 74 69 6f 6e | Modifications.or.the.combination |
e8240 | 20 6f 66 20 74 68 65 0a 20 20 20 20 20 20 4f 72 69 67 69 6e 61 6c 20 43 6f 64 65 20 61 6e 64 20 | .of.the.......Original.Code.and. |
e8260 | 4d 6f 64 69 66 69 63 61 74 69 6f 6e 73 2c 20 69 6e 20 65 61 63 68 20 63 61 73 65 20 69 6e 63 6c | Modifications,.in.each.case.incl |
e8280 | 75 64 69 6e 67 20 70 6f 72 74 69 6f 6e 73 0a 20 20 20 20 20 20 74 68 65 72 65 6f 66 2e 3c 2f 64 | uding.portions.......thereof.</d |
e82a0 | 64 3e 0a 0a 20 20 20 20 20 20 3c 64 74 20 69 64 3d 22 73 65 63 74 69 6f 6e 2d 31 2e 34 22 3e 31 | d>........<dt.id="section-1.4">1 |
e82c0 | 2e 34 2e 20 22 45 6c 65 63 74 72 6f 6e 69 63 20 44 69 73 74 72 69 62 75 74 69 6f 6e 20 4d 65 63 | .4.."Electronic.Distribution.Mec |
e82e0 | 68 61 6e 69 73 6d 22 3c 2f 64 74 3e 0a 0a 20 20 20 20 20 20 3c 64 64 3e 6d 65 61 6e 73 20 61 20 | hanism"</dt>........<dd>means.a. |
e8300 | 6d 65 63 68 61 6e 69 73 6d 20 67 65 6e 65 72 61 6c 6c 79 20 61 63 63 65 70 74 65 64 20 69 6e 20 | mechanism.generally.accepted.in. |
e8320 | 74 68 65 20 73 6f 66 74 77 61 72 65 20 64 65 76 65 6c 6f 70 6d 65 6e 74 0a 20 20 20 20 20 20 63 | the.software.development.......c |
e8340 | 6f 6d 6d 75 6e 69 74 79 20 66 6f 72 20 74 68 65 20 65 6c 65 63 74 72 6f 6e 69 63 20 74 72 61 6e | ommunity.for.the.electronic.tran |
e8360 | 73 66 65 72 20 6f 66 20 64 61 74 61 2e 3c 2f 64 64 3e 0a 0a 20 20 20 20 20 20 3c 64 74 20 69 64 | sfer.of.data.</dd>........<dt.id |
e8380 | 3d 22 73 65 63 74 69 6f 6e 2d 31 2e 35 22 3e 31 2e 35 2e 20 22 45 78 65 63 75 74 61 62 6c 65 22 | ="section-1.5">1.5.."Executable" |
e83a0 | 3c 2f 64 74 3e 0a 0a 20 20 20 20 20 20 3c 64 64 3e 6d 65 61 6e 73 20 43 6f 76 65 72 65 64 20 43 | </dt>........<dd>means.Covered.C |
e83c0 | 6f 64 65 20 69 6e 20 61 6e 79 20 66 6f 72 6d 20 6f 74 68 65 72 20 74 68 61 6e 20 53 6f 75 72 63 | ode.in.any.form.other.than.Sourc |
e83e0 | 65 20 43 6f 64 65 2e 3c 2f 64 64 3e 0a 0a 20 20 20 20 20 20 3c 64 74 20 69 64 3d 22 73 65 63 74 | e.Code.</dd>........<dt.id="sect |
e8400 | 69 6f 6e 2d 31 2e 36 22 3e 31 2e 36 2e 20 22 49 6e 69 74 69 61 6c 20 44 65 76 65 6c 6f 70 65 72 | ion-1.6">1.6.."Initial.Developer |
e8420 | 22 3c 2f 64 74 3e 0a 0a 20 20 20 20 20 20 3c 64 64 3e 6d 65 61 6e 73 20 74 68 65 20 69 6e 64 69 | "</dt>........<dd>means.the.indi |
e8440 | 76 69 64 75 61 6c 20 6f 72 20 65 6e 74 69 74 79 20 69 64 65 6e 74 69 66 69 65 64 20 61 73 20 74 | vidual.or.entity.identified.as.t |
e8460 | 68 65 20 49 6e 69 74 69 61 6c 20 44 65 76 65 6c 6f 70 65 72 20 69 6e 0a 20 20 20 20 20 20 74 68 | he.Initial.Developer.in.......th |
e8480 | 65 20 53 6f 75 72 63 65 20 43 6f 64 65 20 6e 6f 74 69 63 65 20 72 65 71 75 69 72 65 64 20 62 79 | e.Source.Code.notice.required.by |
e84a0 | 20 3c 61 20 68 72 65 66 3d 22 23 65 78 68 69 62 69 74 2d 61 22 3e 45 78 68 69 62 69 74 0a 20 20 | .<a.href="#exhibit-a">Exhibit... |
e84c0 | 20 20 20 20 41 3c 2f 61 3e 2e 3c 2f 64 64 3e 0a 0a 20 20 20 20 20 20 3c 64 74 20 69 64 3d 22 73 | ....A</a>.</dd>........<dt.id="s |
e84e0 | 65 63 74 69 6f 6e 2d 31 2e 37 22 3e 31 2e 37 2e 20 22 4c 61 72 67 65 72 20 57 6f 72 6b 22 3c 2f | ection-1.7">1.7.."Larger.Work"</ |
e8500 | 64 74 3e 0a 0a 20 20 20 20 20 20 3c 64 64 3e 6d 65 61 6e 73 20 61 20 77 6f 72 6b 20 77 68 69 63 | dt>........<dd>means.a.work.whic |
e8520 | 68 20 63 6f 6d 62 69 6e 65 73 20 43 6f 76 65 72 65 64 20 43 6f 64 65 20 6f 72 20 70 6f 72 74 69 | h.combines.Covered.Code.or.porti |
e8540 | 6f 6e 73 20 74 68 65 72 65 6f 66 20 77 69 74 68 0a 20 20 20 20 20 20 63 6f 64 65 20 6e 6f 74 20 | ons.thereof.with.......code.not. |
e8560 | 67 6f 76 65 72 6e 65 64 20 62 79 20 74 68 65 20 74 65 72 6d 73 20 6f 66 20 74 68 69 73 20 4c 69 | governed.by.the.terms.of.this.Li |
e8580 | 63 65 6e 73 65 2e 3c 2f 64 64 3e 0a 0a 20 20 20 20 20 20 3c 64 74 20 69 64 3d 22 73 65 63 74 69 | cense.</dd>........<dt.id="secti |
e85a0 | 6f 6e 2d 31 2e 38 22 3e 31 2e 38 2e 20 22 4c 69 63 65 6e 73 65 22 3c 2f 64 74 3e 0a 0a 20 20 20 | on-1.8">1.8.."License"</dt>..... |
e85c0 | 20 20 20 3c 64 64 3e 6d 65 61 6e 73 20 74 68 69 73 20 64 6f 63 75 6d 65 6e 74 2e 3c 2f 64 64 3e | ...<dd>means.this.document.</dd> |
e85e0 | 0a 0a 20 20 20 20 20 20 3c 64 74 20 69 64 3d 22 73 65 63 74 69 6f 6e 2d 31 2e 38 2e 31 22 3e 31 | ........<dt.id="section-1.8.1">1 |
e8600 | 2e 38 2e 31 2e 20 22 4c 69 63 65 6e 73 61 62 6c 65 22 3c 2f 64 74 3e 0a 0a 20 20 20 20 20 20 3c | .8.1.."Licensable"</dt>........< |
e8620 | 64 64 3e 6d 65 61 6e 73 20 68 61 76 69 6e 67 20 74 68 65 20 72 69 67 68 74 20 74 6f 20 67 72 61 | dd>means.having.the.right.to.gra |
e8640 | 6e 74 2c 20 74 6f 20 74 68 65 20 6d 61 78 69 6d 75 6d 20 65 78 74 65 6e 74 20 70 6f 73 73 69 62 | nt,.to.the.maximum.extent.possib |
e8660 | 6c 65 2c 0a 20 20 20 20 20 20 77 68 65 74 68 65 72 20 61 74 20 74 68 65 20 74 69 6d 65 20 6f 66 | le,.......whether.at.the.time.of |
e8680 | 20 74 68 65 20 69 6e 69 74 69 61 6c 20 67 72 61 6e 74 20 6f 72 20 73 75 62 73 65 71 75 65 6e 74 | .the.initial.grant.or.subsequent |
e86a0 | 6c 79 20 61 63 71 75 69 72 65 64 2c 20 61 6e 79 0a 20 20 20 20 20 20 61 6e 64 20 61 6c 6c 20 6f | ly.acquired,.any.......and.all.o |
e86c0 | 66 20 74 68 65 20 72 69 67 68 74 73 20 63 6f 6e 76 65 79 65 64 20 68 65 72 65 69 6e 2e 3c 2f 64 | f.the.rights.conveyed.herein.</d |
e86e0 | 64 3e 0a 0a 20 20 20 20 20 20 3c 64 74 20 69 64 3d 22 73 65 63 74 69 6f 6e 2d 31 2e 39 22 3e 31 | d>........<dt.id="section-1.9">1 |
e8700 | 2e 39 2e 20 22 4d 6f 64 69 66 69 63 61 74 69 6f 6e 73 22 3c 2f 64 74 3e 0a 0a 20 20 20 20 20 20 | .9.."Modifications"</dt>........ |
e8720 | 3c 64 64 3e 0a 20 20 20 20 20 20 20 20 3c 70 3e 6d 65 61 6e 73 20 61 6e 79 20 61 64 64 69 74 69 | <dd>.........<p>means.any.additi |
e8740 | 6f 6e 20 74 6f 20 6f 72 20 64 65 6c 65 74 69 6f 6e 20 66 72 6f 6d 20 74 68 65 20 73 75 62 73 74 | on.to.or.deletion.from.the.subst |
e8760 | 61 6e 63 65 20 6f 72 20 73 74 72 75 63 74 75 72 65 20 6f 66 0a 20 20 20 20 20 20 20 20 65 69 74 | ance.or.structure.of.........eit |
e8780 | 68 65 72 20 74 68 65 20 4f 72 69 67 69 6e 61 6c 20 43 6f 64 65 20 6f 72 20 61 6e 79 20 70 72 65 | her.the.Original.Code.or.any.pre |
e87a0 | 76 69 6f 75 73 20 4d 6f 64 69 66 69 63 61 74 69 6f 6e 73 2e 20 57 68 65 6e 20 43 6f 76 65 72 65 | vious.Modifications..When.Covere |
e87c0 | 64 0a 20 20 20 20 20 20 20 20 43 6f 64 65 20 69 73 20 72 65 6c 65 61 73 65 64 20 61 73 20 61 20 | d.........Code.is.released.as.a. |
e87e0 | 73 65 72 69 65 73 20 6f 66 20 66 69 6c 65 73 2c 20 61 20 4d 6f 64 69 66 69 63 61 74 69 6f 6e 20 | series.of.files,.a.Modification. |
e8800 | 69 73 3a 3c 2f 70 3e 0a 0a 20 20 20 20 20 20 20 20 3c 6f 6c 3e 0a 20 20 20 20 20 20 20 20 20 20 | is:</p>..........<ol>........... |
e8820 | 3c 6c 69 20 69 64 3d 22 73 65 63 74 69 6f 6e 2d 31 2e 39 2d 61 22 3e 41 6e 79 20 61 64 64 69 74 | <li.id="section-1.9-a">Any.addit |
e8840 | 69 6f 6e 20 74 6f 20 6f 72 20 64 65 6c 65 74 69 6f 6e 20 66 72 6f 6d 20 74 68 65 20 63 6f 6e 74 | ion.to.or.deletion.from.the.cont |
e8860 | 65 6e 74 73 0a 20 20 20 20 20 20 20 20 20 20 6f 66 20 61 20 66 69 6c 65 20 63 6f 6e 74 61 69 6e | ents...........of.a.file.contain |
e8880 | 69 6e 67 20 4f 72 69 67 69 6e 61 6c 20 43 6f 64 65 20 6f 72 20 70 72 65 76 69 6f 75 73 20 4d 6f | ing.Original.Code.or.previous.Mo |
e88a0 | 64 69 66 69 63 61 74 69 6f 6e 73 2e 3c 2f 6c 69 3e 0a 0a 20 20 20 20 20 20 20 20 20 20 3c 6c 69 | difications.</li>............<li |
e88c0 | 20 69 64 3d 22 73 65 63 74 69 6f 6e 2d 31 2e 39 2d 62 22 3e 41 6e 79 20 6e 65 77 20 66 69 6c 65 | .id="section-1.9-b">Any.new.file |
e88e0 | 20 74 68 61 74 20 63 6f 6e 74 61 69 6e 73 20 61 6e 79 20 70 61 72 74 20 6f 66 20 74 68 65 0a 20 | .that.contains.any.part.of.the.. |
e8900 | 20 20 20 20 20 20 20 20 20 4f 72 69 67 69 6e 61 6c 20 43 6f 64 65 20 6f 72 20 70 72 65 76 69 6f | .........Original.Code.or.previo |
e8920 | 75 73 20 4d 6f 64 69 66 69 63 61 74 69 6f 6e 73 2e 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 3c | us.Modifications.</li>.........< |
e8940 | 2f 6f 6c 3e 0a 20 20 20 20 20 20 3c 2f 64 64 3e 0a 0a 20 20 20 20 20 20 3c 64 74 20 69 64 3d 22 | /ol>.......</dd>........<dt.id=" |
e8960 | 73 65 63 74 69 6f 6e 2d 31 2e 31 30 22 3e 31 2e 31 30 2e 20 22 4f 72 69 67 69 6e 61 6c 20 43 6f | section-1.10">1.10.."Original.Co |
e8980 | 64 65 22 3c 2f 64 74 3e 0a 0a 20 20 20 20 20 20 3c 64 64 3e 6d 65 61 6e 73 20 53 6f 75 72 63 65 | de"</dt>........<dd>means.Source |
e89a0 | 20 43 6f 64 65 20 6f 66 20 63 6f 6d 70 75 74 65 72 20 73 6f 66 74 77 61 72 65 20 63 6f 64 65 20 | .Code.of.computer.software.code. |
e89c0 | 77 68 69 63 68 20 69 73 20 64 65 73 63 72 69 62 65 64 20 69 6e 20 74 68 65 0a 20 20 20 20 20 20 | which.is.described.in.the....... |
e89e0 | 53 6f 75 72 63 65 20 43 6f 64 65 20 6e 6f 74 69 63 65 20 72 65 71 75 69 72 65 64 20 62 79 20 3c | Source.Code.notice.required.by.< |
e8a00 | 61 20 68 72 65 66 3d 22 23 65 78 68 69 62 69 74 2d 61 22 3e 45 78 68 69 62 69 74 20 41 3c 2f 61 | a.href="#exhibit-a">Exhibit.A</a |
e8a20 | 3e 20 61 73 0a 20 20 20 20 20 20 4f 72 69 67 69 6e 61 6c 20 43 6f 64 65 2c 20 61 6e 64 20 77 68 | >.as.......Original.Code,.and.wh |
e8a40 | 69 63 68 2c 20 61 74 20 74 68 65 20 74 69 6d 65 20 6f 66 20 69 74 73 20 72 65 6c 65 61 73 65 20 | ich,.at.the.time.of.its.release. |
e8a60 | 75 6e 64 65 72 20 74 68 69 73 20 4c 69 63 65 6e 73 65 0a 20 20 20 20 20 20 69 73 20 6e 6f 74 20 | under.this.License.......is.not. |
e8a80 | 61 6c 72 65 61 64 79 20 43 6f 76 65 72 65 64 20 43 6f 64 65 20 67 6f 76 65 72 6e 65 64 20 62 79 | already.Covered.Code.governed.by |
e8aa0 | 20 74 68 69 73 20 4c 69 63 65 6e 73 65 2e 3c 2f 64 64 3e 0a 0a 20 20 20 20 20 20 3c 64 74 20 69 | .this.License.</dd>........<dt.i |
e8ac0 | 64 3d 22 73 65 63 74 69 6f 6e 2d 31 2e 31 30 2e 31 22 3e 31 2e 31 30 2e 31 2e 20 22 50 61 74 65 | d="section-1.10.1">1.10.1.."Pate |
e8ae0 | 6e 74 20 43 6c 61 69 6d 73 22 3c 2f 64 74 3e 0a 0a 20 20 20 20 20 20 3c 64 64 3e 6d 65 61 6e 73 | nt.Claims"</dt>........<dd>means |
e8b00 | 20 61 6e 79 20 70 61 74 65 6e 74 20 63 6c 61 69 6d 28 73 29 2c 20 6e 6f 77 20 6f 77 6e 65 64 20 | .any.patent.claim(s),.now.owned. |
e8b20 | 6f 72 20 68 65 72 65 61 66 74 65 72 20 61 63 71 75 69 72 65 64 2c 20 69 6e 63 6c 75 64 69 6e 67 | or.hereafter.acquired,.including |
e8b40 | 0a 20 20 20 20 20 20 77 69 74 68 6f 75 74 20 6c 69 6d 69 74 61 74 69 6f 6e 2c 20 6d 65 74 68 6f | .......without.limitation,.metho |
e8b60 | 64 2c 20 70 72 6f 63 65 73 73 2c 20 61 6e 64 20 61 70 70 61 72 61 74 75 73 20 63 6c 61 69 6d 73 | d,.process,.and.apparatus.claims |
e8b80 | 2c 20 69 6e 20 61 6e 79 20 70 61 74 65 6e 74 0a 20 20 20 20 20 20 4c 69 63 65 6e 73 61 62 6c 65 | ,.in.any.patent.......Licensable |
e8ba0 | 20 62 79 20 67 72 61 6e 74 6f 72 2e 3c 2f 64 64 3e 0a 0a 20 20 20 20 20 20 3c 64 74 20 69 64 3d | .by.grantor.</dd>........<dt.id= |
e8bc0 | 22 73 65 63 74 69 6f 6e 2d 31 2e 31 31 22 3e 31 2e 31 31 2e 20 22 53 6f 75 72 63 65 20 43 6f 64 | "section-1.11">1.11.."Source.Cod |
e8be0 | 65 22 3c 2f 64 74 3e 0a 0a 20 20 20 20 20 20 3c 64 64 3e 6d 65 61 6e 73 20 74 68 65 20 70 72 65 | e"</dt>........<dd>means.the.pre |
e8c00 | 66 65 72 72 65 64 20 66 6f 72 6d 20 6f 66 20 74 68 65 20 43 6f 76 65 72 65 64 20 43 6f 64 65 20 | ferred.form.of.the.Covered.Code. |
e8c20 | 66 6f 72 20 6d 61 6b 69 6e 67 20 6d 6f 64 69 66 69 63 61 74 69 6f 6e 73 0a 20 20 20 20 20 20 74 | for.making.modifications.......t |
e8c40 | 6f 20 69 74 2c 20 69 6e 63 6c 75 64 69 6e 67 20 61 6c 6c 20 6d 6f 64 75 6c 65 73 20 69 74 20 63 | o.it,.including.all.modules.it.c |
e8c60 | 6f 6e 74 61 69 6e 73 2c 20 70 6c 75 73 20 61 6e 79 20 61 73 73 6f 63 69 61 74 65 64 20 69 6e 74 | ontains,.plus.any.associated.int |
e8c80 | 65 72 66 61 63 65 0a 20 20 20 20 20 20 64 65 66 69 6e 69 74 69 6f 6e 20 66 69 6c 65 73 2c 20 73 | erface.......definition.files,.s |
e8ca0 | 63 72 69 70 74 73 20 75 73 65 64 20 74 6f 20 63 6f 6e 74 72 6f 6c 20 63 6f 6d 70 69 6c 61 74 69 | cripts.used.to.control.compilati |
e8cc0 | 6f 6e 20 61 6e 64 20 69 6e 73 74 61 6c 6c 61 74 69 6f 6e 20 6f 66 0a 20 20 20 20 20 20 61 6e 20 | on.and.installation.of.......an. |
e8ce0 | 45 78 65 63 75 74 61 62 6c 65 2c 20 6f 72 20 73 6f 75 72 63 65 20 63 6f 64 65 20 64 69 66 66 65 | Executable,.or.source.code.diffe |
e8d00 | 72 65 6e 74 69 61 6c 20 63 6f 6d 70 61 72 69 73 6f 6e 73 20 61 67 61 69 6e 73 74 20 65 69 74 68 | rential.comparisons.against.eith |
e8d20 | 65 72 20 74 68 65 0a 20 20 20 20 20 20 4f 72 69 67 69 6e 61 6c 20 43 6f 64 65 20 6f 72 20 61 6e | er.the.......Original.Code.or.an |
e8d40 | 6f 74 68 65 72 20 77 65 6c 6c 20 6b 6e 6f 77 6e 2c 20 61 76 61 69 6c 61 62 6c 65 20 43 6f 76 65 | other.well.known,.available.Cove |
e8d60 | 72 65 64 20 43 6f 64 65 20 6f 66 20 74 68 65 0a 20 20 20 20 20 20 43 6f 6e 74 72 69 62 75 74 6f | red.Code.of.the.......Contributo |
e8d80 | 72 27 73 20 63 68 6f 69 63 65 2e 20 54 68 65 20 53 6f 75 72 63 65 20 43 6f 64 65 20 63 61 6e 20 | r's.choice..The.Source.Code.can. |
e8da0 | 62 65 20 69 6e 20 61 20 63 6f 6d 70 72 65 73 73 65 64 20 6f 72 20 61 72 63 68 69 76 61 6c 0a 20 | be.in.a.compressed.or.archival.. |
e8dc0 | 20 20 20 20 20 66 6f 72 6d 2c 20 70 72 6f 76 69 64 65 64 20 74 68 65 20 61 70 70 72 6f 70 72 69 | .....form,.provided.the.appropri |
e8de0 | 61 74 65 20 64 65 63 6f 6d 70 72 65 73 73 69 6f 6e 20 6f 72 20 64 65 2d 61 72 63 68 69 76 69 6e | ate.decompression.or.de-archivin |
e8e00 | 67 20 73 6f 66 74 77 61 72 65 20 69 73 0a 20 20 20 20 20 20 77 69 64 65 6c 79 20 61 76 61 69 6c | g.software.is.......widely.avail |
e8e20 | 61 62 6c 65 20 66 6f 72 20 6e 6f 20 63 68 61 72 67 65 2e 3c 2f 64 64 3e 0a 0a 20 20 20 20 20 20 | able.for.no.charge.</dd>........ |
e8e40 | 3c 64 74 20 69 64 3d 22 73 65 63 74 69 6f 6e 2d 31 2e 31 32 22 3e 31 2e 31 32 2e 20 22 59 6f 75 | <dt.id="section-1.12">1.12.."You |
e8e60 | 22 20 28 6f 72 20 22 59 6f 75 72 22 29 3c 2f 64 74 3e 0a 0a 20 20 20 20 20 20 3c 64 64 3e 6d 65 | ".(or."Your")</dt>........<dd>me |
e8e80 | 61 6e 73 20 61 6e 20 69 6e 64 69 76 69 64 75 61 6c 20 6f 72 20 61 20 6c 65 67 61 6c 20 65 6e 74 | ans.an.individual.or.a.legal.ent |
e8ea0 | 69 74 79 20 65 78 65 72 63 69 73 69 6e 67 20 72 69 67 68 74 73 20 75 6e 64 65 72 2c 20 61 6e 64 | ity.exercising.rights.under,.and |
e8ec0 | 0a 20 20 20 20 20 20 63 6f 6d 70 6c 79 69 6e 67 20 77 69 74 68 20 61 6c 6c 20 6f 66 20 74 68 65 | .......complying.with.all.of.the |
e8ee0 | 20 74 65 72 6d 73 20 6f 66 2c 20 74 68 69 73 20 4c 69 63 65 6e 73 65 20 6f 72 20 61 20 66 75 74 | .terms.of,.this.License.or.a.fut |
e8f00 | 75 72 65 20 76 65 72 73 69 6f 6e 20 6f 66 0a 20 20 20 20 20 20 74 68 69 73 20 4c 69 63 65 6e 73 | ure.version.of.......this.Licens |
e8f20 | 65 20 69 73 73 75 65 64 20 75 6e 64 65 72 20 3c 61 20 68 72 65 66 3d 22 23 73 65 63 74 69 6f 6e | e.issued.under.<a.href="#section |
e8f40 | 2d 36 2e 31 22 3e 53 65 63 74 69 6f 6e 20 36 2e 31 2e 3c 2f 61 3e 20 46 6f 72 0a 20 20 20 20 20 | -6.1">Section.6.1.</a>.For...... |
e8f60 | 20 6c 65 67 61 6c 20 65 6e 74 69 74 69 65 73 2c 20 22 59 6f 75 22 20 69 6e 63 6c 75 64 65 73 20 | .legal.entities,."You".includes. |
e8f80 | 61 6e 79 20 65 6e 74 69 74 79 20 77 68 69 63 68 20 63 6f 6e 74 72 6f 6c 73 2c 20 69 73 20 63 6f | any.entity.which.controls,.is.co |
e8fa0 | 6e 74 72 6f 6c 6c 65 64 0a 20 20 20 20 20 20 62 79 2c 20 6f 72 20 69 73 20 75 6e 64 65 72 20 63 | ntrolled.......by,.or.is.under.c |
e8fc0 | 6f 6d 6d 6f 6e 20 63 6f 6e 74 72 6f 6c 20 77 69 74 68 20 59 6f 75 2e 20 46 6f 72 20 70 75 72 70 | ommon.control.with.You..For.purp |
e8fe0 | 6f 73 65 73 20 6f 66 20 74 68 69 73 20 64 65 66 69 6e 69 74 69 6f 6e 2c 0a 20 20 20 20 20 20 22 | oses.of.this.definition,......." |
e9000 | 63 6f 6e 74 72 6f 6c 22 20 6d 65 61 6e 73 20 28 61 29 20 74 68 65 20 70 6f 77 65 72 2c 20 64 69 | control".means.(a).the.power,.di |
e9020 | 72 65 63 74 20 6f 72 20 69 6e 64 69 72 65 63 74 2c 20 74 6f 20 63 61 75 73 65 20 74 68 65 20 64 | rect.or.indirect,.to.cause.the.d |
e9040 | 69 72 65 63 74 69 6f 6e 0a 20 20 20 20 20 20 6f 72 20 6d 61 6e 61 67 65 6d 65 6e 74 20 6f 66 20 | irection.......or.management.of. |
e9060 | 73 75 63 68 20 65 6e 74 69 74 79 2c 20 77 68 65 74 68 65 72 20 62 79 20 63 6f 6e 74 72 61 63 74 | such.entity,.whether.by.contract |
e9080 | 20 6f 72 20 6f 74 68 65 72 77 69 73 65 2c 20 6f 72 20 28 62 29 0a 20 20 20 20 20 20 6f 77 6e 65 | .or.otherwise,.or.(b).......owne |
e90a0 | 72 73 68 69 70 20 6f 66 20 6d 6f 72 65 20 74 68 61 6e 20 66 69 66 74 79 20 70 65 72 63 65 6e 74 | rship.of.more.than.fifty.percent |
e90c0 | 20 28 35 30 25 29 20 6f 66 20 74 68 65 20 6f 75 74 73 74 61 6e 64 69 6e 67 20 73 68 61 72 65 73 | .(50%).of.the.outstanding.shares |
e90e0 | 20 6f 72 0a 20 20 20 20 20 20 62 65 6e 65 66 69 63 69 61 6c 20 6f 77 6e 65 72 73 68 69 70 20 6f | .or.......beneficial.ownership.o |
e9100 | 66 20 73 75 63 68 20 65 6e 74 69 74 79 2e 3c 2f 64 64 3e 0a 20 20 20 20 3c 2f 64 6c 3e 0a 0a 20 | f.such.entity.</dd>.....</dl>... |
e9120 | 20 20 20 3c 68 32 20 69 64 3d 22 73 65 63 74 69 6f 6e 2d 32 22 3e 32 2e 20 53 6f 75 72 63 65 20 | ...<h2.id="section-2">2..Source. |
e9140 | 43 6f 64 65 20 4c 69 63 65 6e 73 65 2e 3c 2f 68 32 3e 0a 0a 20 20 20 20 3c 68 33 20 69 64 3d 22 | Code.License.</h2>......<h3.id=" |
e9160 | 73 65 63 74 69 6f 6e 2d 32 2e 31 22 3e 32 2e 31 2e 20 54 68 65 20 49 6e 69 74 69 61 6c 20 44 65 | section-2.1">2.1..The.Initial.De |
e9180 | 76 65 6c 6f 70 65 72 20 47 72 61 6e 74 2e 3c 2f 68 33 3e 0a 0a 20 20 20 20 3c 70 3e 54 68 65 20 | veloper.Grant.</h3>......<p>The. |
e91a0 | 49 6e 69 74 69 61 6c 20 44 65 76 65 6c 6f 70 65 72 20 68 65 72 65 62 79 20 67 72 61 6e 74 73 20 | Initial.Developer.hereby.grants. |
e91c0 | 59 6f 75 20 61 20 77 6f 72 6c 64 2d 77 69 64 65 2c 20 72 6f 79 61 6c 74 79 2d 66 72 65 65 2c 0a | You.a.world-wide,.royalty-free,. |
e91e0 | 20 20 20 20 6e 6f 6e 2d 65 78 63 6c 75 73 69 76 65 20 6c 69 63 65 6e 73 65 2c 20 73 75 62 6a 65 | ....non-exclusive.license,.subje |
e9200 | 63 74 20 74 6f 20 74 68 69 72 64 20 70 61 72 74 79 20 69 6e 74 65 6c 6c 65 63 74 75 61 6c 20 70 | ct.to.third.party.intellectual.p |
e9220 | 72 6f 70 65 72 74 79 0a 20 20 20 20 63 6c 61 69 6d 73 3a 3c 2f 70 3e 0a 0a 20 20 20 20 3c 6f 6c | roperty.....claims:</p>......<ol |
e9240 | 3e 0a 20 20 20 20 20 20 3c 6c 69 20 69 64 3d 22 73 65 63 74 69 6f 6e 2d 32 2e 31 2d 61 22 3e 75 | >.......<li.id="section-2.1-a">u |
e9260 | 6e 64 65 72 20 69 6e 74 65 6c 6c 65 63 74 75 61 6c 20 70 72 6f 70 65 72 74 79 20 72 69 67 68 74 | nder.intellectual.property.right |
e9280 | 73 20 28 6f 74 68 65 72 20 74 68 61 6e 0a 20 20 20 20 20 20 70 61 74 65 6e 74 20 6f 72 20 74 72 | s.(other.than.......patent.or.tr |
e92a0 | 61 64 65 6d 61 72 6b 29 20 4c 69 63 65 6e 73 61 62 6c 65 20 62 79 20 49 6e 69 74 69 61 6c 20 44 | ademark).Licensable.by.Initial.D |
e92c0 | 65 76 65 6c 6f 70 65 72 20 74 6f 20 75 73 65 2c 20 72 65 70 72 6f 64 75 63 65 2c 0a 20 20 20 20 | eveloper.to.use,.reproduce,..... |
e92e0 | 20 20 6d 6f 64 69 66 79 2c 20 64 69 73 70 6c 61 79 2c 20 70 65 72 66 6f 72 6d 2c 20 73 75 62 6c | ..modify,.display,.perform,.subl |
e9300 | 69 63 65 6e 73 65 20 61 6e 64 20 64 69 73 74 72 69 62 75 74 65 20 74 68 65 20 4f 72 69 67 69 6e | icense.and.distribute.the.Origin |
e9320 | 61 6c 20 43 6f 64 65 20 28 6f 72 0a 20 20 20 20 20 20 70 6f 72 74 69 6f 6e 73 20 74 68 65 72 65 | al.Code.(or.......portions.there |
e9340 | 6f 66 29 20 77 69 74 68 20 6f 72 20 77 69 74 68 6f 75 74 20 4d 6f 64 69 66 69 63 61 74 69 6f 6e | of).with.or.without.Modification |
e9360 | 73 2c 20 61 6e 64 2f 6f 72 20 61 73 20 70 61 72 74 20 6f 66 20 61 0a 20 20 20 20 20 20 4c 61 72 | s,.and/or.as.part.of.a.......Lar |
e9380 | 67 65 72 20 57 6f 72 6b 3b 20 61 6e 64 3c 2f 6c 69 3e 0a 0a 20 20 20 20 20 20 3c 6c 69 20 69 64 | ger.Work;.and</li>........<li.id |
e93a0 | 3d 22 73 65 63 74 69 6f 6e 2d 32 2e 31 2d 62 22 3e 75 6e 64 65 72 20 50 61 74 65 6e 74 73 20 43 | ="section-2.1-b">under.Patents.C |
e93c0 | 6c 61 69 6d 73 20 69 6e 66 72 69 6e 67 65 64 20 62 79 20 74 68 65 20 6d 61 6b 69 6e 67 2c 0a 20 | laims.infringed.by.the.making,.. |
e93e0 | 20 20 20 20 20 75 73 69 6e 67 20 6f 72 20 73 65 6c 6c 69 6e 67 20 6f 66 20 4f 72 69 67 69 6e 61 | .....using.or.selling.of.Origina |
e9400 | 6c 20 43 6f 64 65 2c 20 74 6f 20 6d 61 6b 65 2c 20 68 61 76 65 20 6d 61 64 65 2c 20 75 73 65 2c | l.Code,.to.make,.have.made,.use, |
e9420 | 20 70 72 61 63 74 69 63 65 2c 0a 20 20 20 20 20 20 73 65 6c 6c 2c 20 61 6e 64 20 6f 66 66 65 72 | .practice,.......sell,.and.offer |
e9440 | 20 66 6f 72 20 73 61 6c 65 2c 20 61 6e 64 2f 6f 72 20 6f 74 68 65 72 77 69 73 65 20 64 69 73 70 | .for.sale,.and/or.otherwise.disp |
e9460 | 6f 73 65 20 6f 66 20 74 68 65 20 4f 72 69 67 69 6e 61 6c 20 43 6f 64 65 0a 20 20 20 20 20 20 28 | ose.of.the.Original.Code.......( |
e9480 | 6f 72 20 70 6f 72 74 69 6f 6e 73 20 74 68 65 72 65 6f 66 29 2e 3c 2f 6c 69 3e 0a 0a 20 20 20 20 | or.portions.thereof).</li>...... |
e94a0 | 20 20 3c 6c 69 20 69 64 3d 22 73 65 63 74 69 6f 6e 2d 32 2e 31 2d 63 22 3e 74 68 65 20 6c 69 63 | ..<li.id="section-2.1-c">the.lic |
e94c0 | 65 6e 73 65 73 20 67 72 61 6e 74 65 64 20 69 6e 20 74 68 69 73 20 53 65 63 74 69 6f 6e 20 32 2e | enses.granted.in.this.Section.2. |
e94e0 | 31 20 28 3c 61 20 68 72 65 66 3d 0a 20 20 20 20 20 20 22 23 73 65 63 74 69 6f 6e 2d 32 2e 31 2d | 1.(<a.href=......."#section-2.1- |
e9500 | 61 22 3e 61 3c 2f 61 3e 29 20 61 6e 64 20 28 3c 61 20 68 72 65 66 3d 22 23 73 65 63 74 69 6f 6e | a">a</a>).and.(<a.href="#section |
e9520 | 2d 32 2e 31 2d 62 22 3e 62 3c 2f 61 3e 29 20 61 72 65 0a 20 20 20 20 20 20 65 66 66 65 63 74 69 | -2.1-b">b</a>).are.......effecti |
e9540 | 76 65 20 6f 6e 20 74 68 65 20 64 61 74 65 20 49 6e 69 74 69 61 6c 20 44 65 76 65 6c 6f 70 65 72 | ve.on.the.date.Initial.Developer |
e9560 | 20 66 69 72 73 74 20 64 69 73 74 72 69 62 75 74 65 73 20 4f 72 69 67 69 6e 61 6c 20 43 6f 64 65 | .first.distributes.Original.Code |
e9580 | 0a 20 20 20 20 20 20 75 6e 64 65 72 20 74 68 65 20 74 65 72 6d 73 20 6f 66 20 74 68 69 73 20 4c | .......under.the.terms.of.this.L |
e95a0 | 69 63 65 6e 73 65 2e 3c 2f 6c 69 3e 0a 0a 20 20 20 20 20 20 3c 6c 69 20 69 64 3d 22 73 65 63 74 | icense.</li>........<li.id="sect |
e95c0 | 69 6f 6e 2d 32 2e 31 2d 64 22 3e 4e 6f 74 77 69 74 68 73 74 61 6e 64 69 6e 67 20 53 65 63 74 69 | ion-2.1-d">Notwithstanding.Secti |
e95e0 | 6f 6e 20 32 2e 31 20 28 3c 61 20 68 72 65 66 3d 0a 20 20 20 20 20 20 22 23 73 65 63 74 69 6f 6e | on.2.1.(<a.href=......."#section |
e9600 | 2d 32 2e 31 2d 62 22 3e 62 3c 2f 61 3e 29 20 61 62 6f 76 65 2c 20 6e 6f 20 70 61 74 65 6e 74 20 | -2.1-b">b</a>).above,.no.patent. |
e9620 | 6c 69 63 65 6e 73 65 20 69 73 20 67 72 61 6e 74 65 64 3a 20 31 29 20 66 6f 72 20 63 6f 64 65 0a | license.is.granted:.1).for.code. |
e9640 | 20 20 20 20 20 20 74 68 61 74 20 59 6f 75 20 64 65 6c 65 74 65 20 66 72 6f 6d 20 74 68 65 20 4f | ......that.You.delete.from.the.O |
e9660 | 72 69 67 69 6e 61 6c 20 43 6f 64 65 3b 20 32 29 20 73 65 70 61 72 61 74 65 20 66 72 6f 6d 20 74 | riginal.Code;.2).separate.from.t |
e9680 | 68 65 20 4f 72 69 67 69 6e 61 6c 0a 20 20 20 20 20 20 43 6f 64 65 3b 20 6f 72 20 33 29 20 66 6f | he.Original.......Code;.or.3).fo |
e96a0 | 72 20 69 6e 66 72 69 6e 67 65 6d 65 6e 74 73 20 63 61 75 73 65 64 20 62 79 3a 20 69 29 20 74 68 | r.infringements.caused.by:.i).th |
e96c0 | 65 20 6d 6f 64 69 66 69 63 61 74 69 6f 6e 20 6f 66 20 74 68 65 0a 20 20 20 20 20 20 4f 72 69 67 | e.modification.of.the.......Orig |
e96e0 | 69 6e 61 6c 20 43 6f 64 65 20 6f 72 20 69 69 29 20 74 68 65 20 63 6f 6d 62 69 6e 61 74 69 6f 6e | inal.Code.or.ii).the.combination |
e9700 | 20 6f 66 20 74 68 65 20 4f 72 69 67 69 6e 61 6c 20 43 6f 64 65 20 77 69 74 68 20 6f 74 68 65 72 | .of.the.Original.Code.with.other |
e9720 | 0a 20 20 20 20 20 20 73 6f 66 74 77 61 72 65 20 6f 72 20 64 65 76 69 63 65 73 2e 3c 2f 6c 69 3e | .......software.or.devices.</li> |
e9740 | 0a 20 20 20 20 3c 2f 6f 6c 3e 0a 0a 20 20 20 20 3c 68 33 20 69 64 3d 22 73 65 63 74 69 6f 6e 2d | .....</ol>......<h3.id="section- |
e9760 | 32 2e 32 22 3e 32 2e 32 2e 20 43 6f 6e 74 72 69 62 75 74 6f 72 20 47 72 61 6e 74 2e 3c 2f 68 33 | 2.2">2.2..Contributor.Grant.</h3 |
e9780 | 3e 0a 0a 20 20 20 20 3c 70 3e 53 75 62 6a 65 63 74 20 74 6f 20 74 68 69 72 64 20 70 61 72 74 79 | >......<p>Subject.to.third.party |
e97a0 | 20 69 6e 74 65 6c 6c 65 63 74 75 61 6c 20 70 72 6f 70 65 72 74 79 20 63 6c 61 69 6d 73 2c 20 65 | .intellectual.property.claims,.e |
e97c0 | 61 63 68 20 43 6f 6e 74 72 69 62 75 74 6f 72 0a 20 20 20 20 68 65 72 65 62 79 20 67 72 61 6e 74 | ach.Contributor.....hereby.grant |
e97e0 | 73 20 59 6f 75 20 61 20 77 6f 72 6c 64 2d 77 69 64 65 2c 20 72 6f 79 61 6c 74 79 2d 66 72 65 65 | s.You.a.world-wide,.royalty-free |
e9800 | 2c 20 6e 6f 6e 2d 65 78 63 6c 75 73 69 76 65 20 6c 69 63 65 6e 73 65 3c 2f 70 3e 0a 0a 20 20 20 | ,.non-exclusive.license</p>..... |
e9820 | 20 3c 6f 6c 3e 0a 20 20 20 20 20 20 3c 6c 69 20 69 64 3d 22 73 65 63 74 69 6f 6e 2d 32 2e 32 2d | .<ol>.......<li.id="section-2.2- |
e9840 | 61 22 3e 75 6e 64 65 72 20 69 6e 74 65 6c 6c 65 63 74 75 61 6c 20 70 72 6f 70 65 72 74 79 20 72 | a">under.intellectual.property.r |
e9860 | 69 67 68 74 73 20 28 6f 74 68 65 72 20 74 68 61 6e 0a 20 20 20 20 20 20 70 61 74 65 6e 74 20 6f | ights.(other.than.......patent.o |
e9880 | 72 20 74 72 61 64 65 6d 61 72 6b 29 20 4c 69 63 65 6e 73 61 62 6c 65 20 62 79 20 43 6f 6e 74 72 | r.trademark).Licensable.by.Contr |
e98a0 | 69 62 75 74 6f 72 2c 20 74 6f 20 75 73 65 2c 20 72 65 70 72 6f 64 75 63 65 2c 0a 20 20 20 20 20 | ibutor,.to.use,.reproduce,...... |
e98c0 | 20 6d 6f 64 69 66 79 2c 20 64 69 73 70 6c 61 79 2c 20 70 65 72 66 6f 72 6d 2c 20 73 75 62 6c 69 | .modify,.display,.perform,.subli |
e98e0 | 63 65 6e 73 65 20 61 6e 64 20 64 69 73 74 72 69 62 75 74 65 20 74 68 65 20 4d 6f 64 69 66 69 63 | cense.and.distribute.the.Modific |
e9900 | 61 74 69 6f 6e 73 0a 20 20 20 20 20 20 63 72 65 61 74 65 64 20 62 79 20 73 75 63 68 20 43 6f 6e | ations.......created.by.such.Con |
e9920 | 74 72 69 62 75 74 6f 72 20 28 6f 72 20 70 6f 72 74 69 6f 6e 73 20 74 68 65 72 65 6f 66 29 20 65 | tributor.(or.portions.thereof).e |
e9940 | 69 74 68 65 72 20 6f 6e 20 61 6e 20 75 6e 6d 6f 64 69 66 69 65 64 0a 20 20 20 20 20 20 62 61 73 | ither.on.an.unmodified.......bas |
e9960 | 69 73 2c 20 77 69 74 68 20 6f 74 68 65 72 20 4d 6f 64 69 66 69 63 61 74 69 6f 6e 73 2c 20 61 73 | is,.with.other.Modifications,.as |
e9980 | 20 43 6f 76 65 72 65 64 20 43 6f 64 65 20 61 6e 64 2f 6f 72 20 61 73 20 70 61 72 74 20 6f 66 20 | .Covered.Code.and/or.as.part.of. |
e99a0 | 61 0a 20 20 20 20 20 20 4c 61 72 67 65 72 20 57 6f 72 6b 3b 20 61 6e 64 3c 2f 6c 69 3e 0a 0a 20 | a.......Larger.Work;.and</li>... |
e99c0 | 20 20 20 20 20 3c 6c 69 20 69 64 3d 22 73 65 63 74 69 6f 6e 2d 32 2e 32 2d 62 22 3e 75 6e 64 65 | .....<li.id="section-2.2-b">unde |
e99e0 | 72 20 50 61 74 65 6e 74 20 43 6c 61 69 6d 73 20 69 6e 66 72 69 6e 67 65 64 20 62 79 20 74 68 65 | r.Patent.Claims.infringed.by.the |
e9a00 | 20 6d 61 6b 69 6e 67 2c 0a 20 20 20 20 20 20 75 73 69 6e 67 2c 20 6f 72 20 73 65 6c 6c 69 6e 67 | .making,.......using,.or.selling |
e9a20 | 20 6f 66 20 4d 6f 64 69 66 69 63 61 74 69 6f 6e 73 20 6d 61 64 65 20 62 79 20 74 68 61 74 20 43 | .of.Modifications.made.by.that.C |
e9a40 | 6f 6e 74 72 69 62 75 74 6f 72 20 65 69 74 68 65 72 20 61 6c 6f 6e 65 0a 20 20 20 20 20 20 61 6e | ontributor.either.alone.......an |
e9a60 | 64 2f 6f 72 20 69 6e 20 63 6f 6d 62 69 6e 61 74 69 6f 6e 20 77 69 74 68 20 69 74 73 20 43 6f 6e | d/or.in.combination.with.its.Con |
e9a80 | 74 72 69 62 75 74 6f 72 20 56 65 72 73 69 6f 6e 20 28 6f 72 20 70 6f 72 74 69 6f 6e 73 20 6f 66 | tributor.Version.(or.portions.of |
e9aa0 | 20 73 75 63 68 0a 20 20 20 20 20 20 63 6f 6d 62 69 6e 61 74 69 6f 6e 29 2c 20 74 6f 20 6d 61 6b | .such.......combination),.to.mak |
e9ac0 | 65 2c 20 75 73 65 2c 20 73 65 6c 6c 2c 20 6f 66 66 65 72 20 66 6f 72 20 73 61 6c 65 2c 20 68 61 | e,.use,.sell,.offer.for.sale,.ha |
e9ae0 | 76 65 20 6d 61 64 65 2c 20 61 6e 64 2f 6f 72 0a 20 20 20 20 20 20 6f 74 68 65 72 77 69 73 65 20 | ve.made,.and/or.......otherwise. |
e9b00 | 64 69 73 70 6f 73 65 20 6f 66 3a 20 31 29 20 4d 6f 64 69 66 69 63 61 74 69 6f 6e 73 20 6d 61 64 | dispose.of:.1).Modifications.mad |
e9b20 | 65 20 62 79 20 74 68 61 74 20 43 6f 6e 74 72 69 62 75 74 6f 72 20 28 6f 72 0a 20 20 20 20 20 20 | e.by.that.Contributor.(or....... |
e9b40 | 70 6f 72 74 69 6f 6e 73 20 74 68 65 72 65 6f 66 29 3b 20 61 6e 64 20 32 29 20 74 68 65 20 63 6f | portions.thereof);.and.2).the.co |
e9b60 | 6d 62 69 6e 61 74 69 6f 6e 20 6f 66 20 4d 6f 64 69 66 69 63 61 74 69 6f 6e 73 20 6d 61 64 65 20 | mbination.of.Modifications.made. |
e9b80 | 62 79 20 74 68 61 74 0a 20 20 20 20 20 20 43 6f 6e 74 72 69 62 75 74 6f 72 20 77 69 74 68 20 69 | by.that.......Contributor.with.i |
e9ba0 | 74 73 20 43 6f 6e 74 72 69 62 75 74 6f 72 20 56 65 72 73 69 6f 6e 20 28 6f 72 20 70 6f 72 74 69 | ts.Contributor.Version.(or.porti |
e9bc0 | 6f 6e 73 20 6f 66 20 73 75 63 68 0a 20 20 20 20 20 20 63 6f 6d 62 69 6e 61 74 69 6f 6e 29 2e 3c | ons.of.such.......combination).< |
e9be0 | 2f 6c 69 3e 0a 0a 20 20 20 20 20 20 3c 6c 69 20 69 64 3d 22 73 65 63 74 69 6f 6e 2d 32 2e 32 2d | /li>........<li.id="section-2.2- |
e9c00 | 63 22 3e 74 68 65 20 6c 69 63 65 6e 73 65 73 20 67 72 61 6e 74 65 64 20 69 6e 20 53 65 63 74 69 | c">the.licenses.granted.in.Secti |
e9c20 | 6f 6e 73 20 32 2e 32 20 28 3c 61 20 68 72 65 66 3d 0a 20 20 20 20 20 20 22 23 73 65 63 74 69 6f | ons.2.2.(<a.href=......."#sectio |
e9c40 | 6e 2d 32 2e 32 2d 61 22 3e 61 3c 2f 61 3e 29 20 61 6e 64 20 32 2e 32 20 28 3c 61 20 68 72 65 66 | n-2.2-a">a</a>).and.2.2.(<a.href |
e9c60 | 3d 22 23 73 65 63 74 69 6f 6e 2d 32 2e 32 2d 62 22 3e 62 3c 2f 61 3e 29 20 61 72 65 0a 20 20 20 | ="#section-2.2-b">b</a>).are.... |
e9c80 | 20 20 20 65 66 66 65 63 74 69 76 65 20 6f 6e 20 74 68 65 20 64 61 74 65 20 43 6f 6e 74 72 69 62 | ...effective.on.the.date.Contrib |
e9ca0 | 75 74 6f 72 20 66 69 72 73 74 20 6d 61 6b 65 73 20 43 6f 6d 6d 65 72 63 69 61 6c 20 55 73 65 20 | utor.first.makes.Commercial.Use. |
e9cc0 | 6f 66 20 74 68 65 0a 20 20 20 20 20 20 43 6f 76 65 72 65 64 20 43 6f 64 65 2e 3c 2f 6c 69 3e 0a | of.the.......Covered.Code.</li>. |
e9ce0 | 0a 20 20 20 20 20 20 3c 6c 69 20 69 64 3d 22 73 65 63 74 69 6f 6e 2d 32 2e 32 2d 64 22 3e 4e 6f | .......<li.id="section-2.2-d">No |
e9d00 | 74 77 69 74 68 73 74 61 6e 64 69 6e 67 20 53 65 63 74 69 6f 6e 20 32 2e 32 20 28 3c 61 20 68 72 | twithstanding.Section.2.2.(<a.hr |
e9d20 | 65 66 3d 0a 20 20 20 20 20 20 22 23 73 65 63 74 69 6f 6e 2d 32 2e 32 2d 62 22 3e 62 3c 2f 61 3e | ef=......."#section-2.2-b">b</a> |
e9d40 | 29 20 61 62 6f 76 65 2c 20 6e 6f 20 70 61 74 65 6e 74 20 6c 69 63 65 6e 73 65 20 69 73 20 67 72 | ).above,.no.patent.license.is.gr |
e9d60 | 61 6e 74 65 64 3a 20 31 29 20 66 6f 72 20 61 6e 79 0a 20 20 20 20 20 20 63 6f 64 65 20 74 68 61 | anted:.1).for.any.......code.tha |
e9d80 | 74 20 43 6f 6e 74 72 69 62 75 74 6f 72 20 68 61 73 20 64 65 6c 65 74 65 64 20 66 72 6f 6d 20 74 | t.Contributor.has.deleted.from.t |
e9da0 | 68 65 20 43 6f 6e 74 72 69 62 75 74 6f 72 20 56 65 72 73 69 6f 6e 3b 20 32 29 0a 20 20 20 20 20 | he.Contributor.Version;.2)...... |
e9dc0 | 20 73 65 70 61 72 61 74 65 20 66 72 6f 6d 20 74 68 65 20 43 6f 6e 74 72 69 62 75 74 6f 72 20 56 | .separate.from.the.Contributor.V |
e9de0 | 65 72 73 69 6f 6e 3b 20 33 29 20 66 6f 72 20 69 6e 66 72 69 6e 67 65 6d 65 6e 74 73 20 63 61 75 | ersion;.3).for.infringements.cau |
e9e00 | 73 65 64 20 62 79 3a 20 69 29 0a 20 20 20 20 20 20 74 68 69 72 64 20 70 61 72 74 79 20 6d 6f 64 | sed.by:.i).......third.party.mod |
e9e20 | 69 66 69 63 61 74 69 6f 6e 73 20 6f 66 20 43 6f 6e 74 72 69 62 75 74 6f 72 20 56 65 72 73 69 6f | ifications.of.Contributor.Versio |
e9e40 | 6e 20 6f 72 20 69 69 29 20 74 68 65 20 63 6f 6d 62 69 6e 61 74 69 6f 6e 0a 20 20 20 20 20 20 6f | n.or.ii).the.combination.......o |
e9e60 | 66 20 4d 6f 64 69 66 69 63 61 74 69 6f 6e 73 20 6d 61 64 65 20 62 79 20 74 68 61 74 20 43 6f 6e | f.Modifications.made.by.that.Con |
e9e80 | 74 72 69 62 75 74 6f 72 20 77 69 74 68 20 6f 74 68 65 72 20 73 6f 66 74 77 61 72 65 20 28 65 78 | tributor.with.other.software.(ex |
e9ea0 | 63 65 70 74 20 61 73 0a 20 20 20 20 20 20 70 61 72 74 20 6f 66 20 74 68 65 20 43 6f 6e 74 72 69 | cept.as.......part.of.the.Contri |
e9ec0 | 62 75 74 6f 72 20 56 65 72 73 69 6f 6e 29 20 6f 72 20 6f 74 68 65 72 20 64 65 76 69 63 65 73 3b | butor.Version).or.other.devices; |
e9ee0 | 20 6f 72 20 34 29 20 75 6e 64 65 72 20 50 61 74 65 6e 74 0a 20 20 20 20 20 20 43 6c 61 69 6d 73 | .or.4).under.Patent.......Claims |
e9f00 | 20 69 6e 66 72 69 6e 67 65 64 20 62 79 20 43 6f 76 65 72 65 64 20 43 6f 64 65 20 69 6e 20 74 68 | .infringed.by.Covered.Code.in.th |
e9f20 | 65 20 61 62 73 65 6e 63 65 20 6f 66 20 4d 6f 64 69 66 69 63 61 74 69 6f 6e 73 20 6d 61 64 65 20 | e.absence.of.Modifications.made. |
e9f40 | 62 79 0a 20 20 20 20 20 20 74 68 61 74 20 43 6f 6e 74 72 69 62 75 74 6f 72 2e 3c 2f 6c 69 3e 0a | by.......that.Contributor.</li>. |
e9f60 | 20 20 20 20 3c 2f 6f 6c 3e 0a 0a 20 20 20 20 3c 68 32 20 69 64 3d 22 73 65 63 74 69 6f 6e 2d 33 | ....</ol>......<h2.id="section-3 |
e9f80 | 22 3e 33 2e 20 44 69 73 74 72 69 62 75 74 69 6f 6e 20 4f 62 6c 69 67 61 74 69 6f 6e 73 2e 3c 2f | ">3..Distribution.Obligations.</ |
e9fa0 | 68 32 3e 0a 0a 20 20 20 20 3c 68 33 20 69 64 3d 22 73 65 63 74 69 6f 6e 2d 33 2e 31 22 3e 33 2e | h2>......<h3.id="section-3.1">3. |
e9fc0 | 31 2e 20 41 70 70 6c 69 63 61 74 69 6f 6e 20 6f 66 20 4c 69 63 65 6e 73 65 2e 3c 2f 68 33 3e 0a | 1..Application.of.License.</h3>. |
e9fe0 | 0a 20 20 20 20 3c 70 3e 54 68 65 20 4d 6f 64 69 66 69 63 61 74 69 6f 6e 73 20 77 68 69 63 68 20 | .....<p>The.Modifications.which. |
ea000 | 59 6f 75 20 63 72 65 61 74 65 20 6f 72 20 74 6f 20 77 68 69 63 68 20 59 6f 75 20 63 6f 6e 74 72 | You.create.or.to.which.You.contr |
ea020 | 69 62 75 74 65 20 61 72 65 0a 20 20 20 20 67 6f 76 65 72 6e 65 64 20 62 79 20 74 68 65 20 74 65 | ibute.are.....governed.by.the.te |
ea040 | 72 6d 73 20 6f 66 20 74 68 69 73 20 4c 69 63 65 6e 73 65 2c 20 69 6e 63 6c 75 64 69 6e 67 20 77 | rms.of.this.License,.including.w |
ea060 | 69 74 68 6f 75 74 20 6c 69 6d 69 74 61 74 69 6f 6e 20 53 65 63 74 69 6f 6e 0a 20 20 20 20 3c 61 | ithout.limitation.Section.....<a |
ea080 | 20 68 72 65 66 3d 22 23 73 65 63 74 69 6f 6e 2d 32 2e 32 22 3e 32 2e 32 3c 2f 61 3e 2e 20 54 68 | .href="#section-2.2">2.2</a>..Th |
ea0a0 | 65 20 53 6f 75 72 63 65 20 43 6f 64 65 20 76 65 72 73 69 6f 6e 20 6f 66 20 43 6f 76 65 72 65 64 | e.Source.Code.version.of.Covered |
ea0c0 | 20 43 6f 64 65 20 6d 61 79 0a 20 20 20 20 62 65 20 64 69 73 74 72 69 62 75 74 65 64 20 6f 6e 6c | .Code.may.....be.distributed.onl |
ea0e0 | 79 20 75 6e 64 65 72 20 74 68 65 20 74 65 72 6d 73 20 6f 66 20 74 68 69 73 20 4c 69 63 65 6e 73 | y.under.the.terms.of.this.Licens |
ea100 | 65 20 6f 72 20 61 20 66 75 74 75 72 65 20 76 65 72 73 69 6f 6e 20 6f 66 0a 20 20 20 20 74 68 69 | e.or.a.future.version.of.....thi |
ea120 | 73 20 4c 69 63 65 6e 73 65 20 72 65 6c 65 61 73 65 64 20 75 6e 64 65 72 20 53 65 63 74 69 6f 6e | s.License.released.under.Section |
ea140 | 20 3c 61 20 68 72 65 66 3d 22 23 73 65 63 74 69 6f 6e 2d 36 2e 31 22 3e 36 2e 31 3c 2f 61 3e 2c | .<a.href="#section-6.1">6.1</a>, |
ea160 | 20 61 6e 64 20 59 6f 75 0a 20 20 20 20 6d 75 73 74 20 69 6e 63 6c 75 64 65 20 61 20 63 6f 70 79 | .and.You.....must.include.a.copy |
ea180 | 20 6f 66 20 74 68 69 73 20 4c 69 63 65 6e 73 65 20 77 69 74 68 20 65 76 65 72 79 20 63 6f 70 79 | .of.this.License.with.every.copy |
ea1a0 | 20 6f 66 20 74 68 65 20 53 6f 75 72 63 65 20 43 6f 64 65 20 59 6f 75 0a 20 20 20 20 64 69 73 74 | .of.the.Source.Code.You.....dist |
ea1c0 | 72 69 62 75 74 65 2e 20 59 6f 75 20 6d 61 79 20 6e 6f 74 20 6f 66 66 65 72 20 6f 72 20 69 6d 70 | ribute..You.may.not.offer.or.imp |
ea1e0 | 6f 73 65 20 61 6e 79 20 74 65 72 6d 73 20 6f 6e 20 61 6e 79 20 53 6f 75 72 63 65 20 43 6f 64 65 | ose.any.terms.on.any.Source.Code |
ea200 | 0a 20 20 20 20 76 65 72 73 69 6f 6e 20 74 68 61 74 20 61 6c 74 65 72 73 20 6f 72 20 72 65 73 74 | .....version.that.alters.or.rest |
ea220 | 72 69 63 74 73 20 74 68 65 20 61 70 70 6c 69 63 61 62 6c 65 20 76 65 72 73 69 6f 6e 20 6f 66 20 | ricts.the.applicable.version.of. |
ea240 | 74 68 69 73 20 4c 69 63 65 6e 73 65 20 6f 72 0a 20 20 20 20 74 68 65 20 72 65 63 69 70 69 65 6e | this.License.or.....the.recipien |
ea260 | 74 73 27 20 72 69 67 68 74 73 20 68 65 72 65 75 6e 64 65 72 2e 20 48 6f 77 65 76 65 72 2c 20 59 | ts'.rights.hereunder..However,.Y |
ea280 | 6f 75 20 6d 61 79 20 69 6e 63 6c 75 64 65 20 61 6e 20 61 64 64 69 74 69 6f 6e 61 6c 0a 20 20 20 | ou.may.include.an.additional.... |
ea2a0 | 20 64 6f 63 75 6d 65 6e 74 20 6f 66 66 65 72 69 6e 67 20 74 68 65 20 61 64 64 69 74 69 6f 6e 61 | .document.offering.the.additiona |
ea2c0 | 6c 20 72 69 67 68 74 73 20 64 65 73 63 72 69 62 65 64 20 69 6e 20 53 65 63 74 69 6f 6e 20 3c 61 | l.rights.described.in.Section.<a |
ea2e0 | 20 68 72 65 66 3d 0a 20 20 20 20 22 23 73 65 63 74 69 6f 6e 2d 33 2e 35 22 3e 33 2e 35 3c 2f 61 | .href=....."#section-3.5">3.5</a |
ea300 | 3e 2e 3c 2f 70 3e 0a 0a 20 20 20 20 3c 68 33 20 69 64 3d 22 73 65 63 74 69 6f 6e 2d 33 2e 32 22 | >.</p>......<h3.id="section-3.2" |
ea320 | 3e 33 2e 32 2e 20 41 76 61 69 6c 61 62 69 6c 69 74 79 20 6f 66 20 53 6f 75 72 63 65 20 43 6f 64 | >3.2..Availability.of.Source.Cod |
ea340 | 65 2e 3c 2f 68 33 3e 0a 0a 20 20 20 20 3c 70 3e 41 6e 79 20 4d 6f 64 69 66 69 63 61 74 69 6f 6e | e.</h3>......<p>Any.Modification |
ea360 | 20 77 68 69 63 68 20 59 6f 75 20 63 72 65 61 74 65 20 6f 72 20 74 6f 20 77 68 69 63 68 20 59 6f | .which.You.create.or.to.which.Yo |
ea380 | 75 20 63 6f 6e 74 72 69 62 75 74 65 20 6d 75 73 74 20 62 65 0a 20 20 20 20 6d 61 64 65 20 61 76 | u.contribute.must.be.....made.av |
ea3a0 | 61 69 6c 61 62 6c 65 20 69 6e 20 53 6f 75 72 63 65 20 43 6f 64 65 20 66 6f 72 6d 20 75 6e 64 65 | ailable.in.Source.Code.form.unde |
ea3c0 | 72 20 74 68 65 20 74 65 72 6d 73 20 6f 66 20 74 68 69 73 20 4c 69 63 65 6e 73 65 20 65 69 74 68 | r.the.terms.of.this.License.eith |
ea3e0 | 65 72 0a 20 20 20 20 6f 6e 20 74 68 65 20 73 61 6d 65 20 6d 65 64 69 61 20 61 73 20 61 6e 20 45 | er.....on.the.same.media.as.an.E |
ea400 | 78 65 63 75 74 61 62 6c 65 20 76 65 72 73 69 6f 6e 20 6f 72 20 76 69 61 20 61 6e 20 61 63 63 65 | xecutable.version.or.via.an.acce |
ea420 | 70 74 65 64 20 45 6c 65 63 74 72 6f 6e 69 63 0a 20 20 20 20 44 69 73 74 72 69 62 75 74 69 6f 6e | pted.Electronic.....Distribution |
ea440 | 20 4d 65 63 68 61 6e 69 73 6d 20 74 6f 20 61 6e 79 6f 6e 65 20 74 6f 20 77 68 6f 6d 20 79 6f 75 | .Mechanism.to.anyone.to.whom.you |
ea460 | 20 6d 61 64 65 20 61 6e 20 45 78 65 63 75 74 61 62 6c 65 20 76 65 72 73 69 6f 6e 0a 20 20 20 20 | .made.an.Executable.version..... |
ea480 | 61 76 61 69 6c 61 62 6c 65 3b 20 61 6e 64 20 69 66 20 6d 61 64 65 20 61 76 61 69 6c 61 62 6c 65 | available;.and.if.made.available |
ea4a0 | 20 76 69 61 20 45 6c 65 63 74 72 6f 6e 69 63 20 44 69 73 74 72 69 62 75 74 69 6f 6e 20 4d 65 63 | .via.Electronic.Distribution.Mec |
ea4c0 | 68 61 6e 69 73 6d 2c 0a 20 20 20 20 6d 75 73 74 20 72 65 6d 61 69 6e 20 61 76 61 69 6c 61 62 6c | hanism,.....must.remain.availabl |
ea4e0 | 65 20 66 6f 72 20 61 74 20 6c 65 61 73 74 20 74 77 65 6c 76 65 20 28 31 32 29 20 6d 6f 6e 74 68 | e.for.at.least.twelve.(12).month |
ea500 | 73 20 61 66 74 65 72 20 74 68 65 20 64 61 74 65 20 69 74 0a 20 20 20 20 69 6e 69 74 69 61 6c 6c | s.after.the.date.it.....initiall |
ea520 | 79 20 62 65 63 61 6d 65 20 61 76 61 69 6c 61 62 6c 65 2c 20 6f 72 20 61 74 20 6c 65 61 73 74 20 | y.became.available,.or.at.least. |
ea540 | 73 69 78 20 28 36 29 20 6d 6f 6e 74 68 73 20 61 66 74 65 72 20 61 20 73 75 62 73 65 71 75 65 6e | six.(6).months.after.a.subsequen |
ea560 | 74 0a 20 20 20 20 76 65 72 73 69 6f 6e 20 6f 66 20 74 68 61 74 20 70 61 72 74 69 63 75 6c 61 72 | t.....version.of.that.particular |
ea580 | 20 4d 6f 64 69 66 69 63 61 74 69 6f 6e 20 68 61 73 20 62 65 65 6e 20 6d 61 64 65 20 61 76 61 69 | .Modification.has.been.made.avai |
ea5a0 | 6c 61 62 6c 65 20 74 6f 20 73 75 63 68 0a 20 20 20 20 72 65 63 69 70 69 65 6e 74 73 2e 20 59 6f | lable.to.such.....recipients..Yo |
ea5c0 | 75 20 61 72 65 20 72 65 73 70 6f 6e 73 69 62 6c 65 20 66 6f 72 20 65 6e 73 75 72 69 6e 67 20 74 | u.are.responsible.for.ensuring.t |
ea5e0 | 68 61 74 20 74 68 65 20 53 6f 75 72 63 65 20 43 6f 64 65 20 76 65 72 73 69 6f 6e 0a 20 20 20 20 | hat.the.Source.Code.version..... |
ea600 | 72 65 6d 61 69 6e 73 20 61 76 61 69 6c 61 62 6c 65 20 65 76 65 6e 20 69 66 20 74 68 65 20 45 6c | remains.available.even.if.the.El |
ea620 | 65 63 74 72 6f 6e 69 63 20 44 69 73 74 72 69 62 75 74 69 6f 6e 20 4d 65 63 68 61 6e 69 73 6d 20 | ectronic.Distribution.Mechanism. |
ea640 | 69 73 0a 20 20 20 20 6d 61 69 6e 74 61 69 6e 65 64 20 62 79 20 61 20 74 68 69 72 64 20 70 61 72 | is.....maintained.by.a.third.par |
ea660 | 74 79 2e 3c 2f 70 3e 0a 0a 20 20 20 20 3c 68 33 20 69 64 3d 22 73 65 63 74 69 6f 6e 2d 33 2e 33 | ty.</p>......<h3.id="section-3.3 |
ea680 | 22 3e 33 2e 33 2e 20 44 65 73 63 72 69 70 74 69 6f 6e 20 6f 66 20 4d 6f 64 69 66 69 63 61 74 69 | ">3.3..Description.of.Modificati |
ea6a0 | 6f 6e 73 2e 3c 2f 68 33 3e 0a 0a 20 20 20 20 3c 70 3e 59 6f 75 20 6d 75 73 74 20 63 61 75 73 65 | ons.</h3>......<p>You.must.cause |
ea6c0 | 20 61 6c 6c 20 43 6f 76 65 72 65 64 20 43 6f 64 65 20 74 6f 20 77 68 69 63 68 20 59 6f 75 20 63 | .all.Covered.Code.to.which.You.c |
ea6e0 | 6f 6e 74 72 69 62 75 74 65 20 74 6f 20 63 6f 6e 74 61 69 6e 20 61 0a 20 20 20 20 66 69 6c 65 20 | ontribute.to.contain.a.....file. |
ea700 | 64 6f 63 75 6d 65 6e 74 69 6e 67 20 74 68 65 20 63 68 61 6e 67 65 73 20 59 6f 75 20 6d 61 64 65 | documenting.the.changes.You.made |
ea720 | 20 74 6f 20 63 72 65 61 74 65 20 74 68 61 74 20 43 6f 76 65 72 65 64 20 43 6f 64 65 20 61 6e 64 | .to.create.that.Covered.Code.and |
ea740 | 20 74 68 65 0a 20 20 20 20 64 61 74 65 20 6f 66 20 61 6e 79 20 63 68 61 6e 67 65 2e 20 59 6f 75 | .the.....date.of.any.change..You |
ea760 | 20 6d 75 73 74 20 69 6e 63 6c 75 64 65 20 61 20 70 72 6f 6d 69 6e 65 6e 74 20 73 74 61 74 65 6d | .must.include.a.prominent.statem |
ea780 | 65 6e 74 20 74 68 61 74 20 74 68 65 0a 20 20 20 20 4d 6f 64 69 66 69 63 61 74 69 6f 6e 20 69 73 | ent.that.the.....Modification.is |
ea7a0 | 20 64 65 72 69 76 65 64 2c 20 64 69 72 65 63 74 6c 79 20 6f 72 20 69 6e 64 69 72 65 63 74 6c 79 | .derived,.directly.or.indirectly |
ea7c0 | 2c 20 66 72 6f 6d 20 4f 72 69 67 69 6e 61 6c 20 43 6f 64 65 0a 20 20 20 20 70 72 6f 76 69 64 65 | ,.from.Original.Code.....provide |
ea7e0 | 64 20 62 79 20 74 68 65 20 49 6e 69 74 69 61 6c 20 44 65 76 65 6c 6f 70 65 72 20 61 6e 64 20 69 | d.by.the.Initial.Developer.and.i |
ea800 | 6e 63 6c 75 64 69 6e 67 20 74 68 65 20 6e 61 6d 65 20 6f 66 20 74 68 65 20 49 6e 69 74 69 61 6c | ncluding.the.name.of.the.Initial |
ea820 | 0a 20 20 20 20 44 65 76 65 6c 6f 70 65 72 20 69 6e 20 28 61 29 20 74 68 65 20 53 6f 75 72 63 65 | .....Developer.in.(a).the.Source |
ea840 | 20 43 6f 64 65 2c 20 61 6e 64 20 28 62 29 20 69 6e 20 61 6e 79 20 6e 6f 74 69 63 65 20 69 6e 20 | .Code,.and.(b).in.any.notice.in. |
ea860 | 61 6e 20 45 78 65 63 75 74 61 62 6c 65 0a 20 20 20 20 76 65 72 73 69 6f 6e 20 6f 72 20 72 65 6c | an.Executable.....version.or.rel |
ea880 | 61 74 65 64 20 64 6f 63 75 6d 65 6e 74 61 74 69 6f 6e 20 69 6e 20 77 68 69 63 68 20 59 6f 75 20 | ated.documentation.in.which.You. |
ea8a0 | 64 65 73 63 72 69 62 65 20 74 68 65 20 6f 72 69 67 69 6e 20 6f 72 0a 20 20 20 20 6f 77 6e 65 72 | describe.the.origin.or.....owner |
ea8c0 | 73 68 69 70 20 6f 66 20 74 68 65 20 43 6f 76 65 72 65 64 20 43 6f 64 65 2e 3c 2f 70 3e 0a 0a 20 | ship.of.the.Covered.Code.</p>... |
ea8e0 | 20 20 20 3c 68 33 20 69 64 3d 22 73 65 63 74 69 6f 6e 2d 33 2e 34 22 3e 33 2e 34 2e 20 49 6e 74 | ...<h3.id="section-3.4">3.4..Int |
ea900 | 65 6c 6c 65 63 74 75 61 6c 20 50 72 6f 70 65 72 74 79 20 4d 61 74 74 65 72 73 3c 2f 68 33 3e 0a | ellectual.Property.Matters</h3>. |
ea920 | 0a 20 20 20 20 3c 68 34 20 69 64 3d 22 73 65 63 74 69 6f 6e 2d 33 2e 34 2d 61 22 3e 28 61 29 20 | .....<h4.id="section-3.4-a">(a). |
ea940 | 54 68 69 72 64 20 50 61 72 74 79 20 43 6c 61 69 6d 73 3c 2f 68 34 3e 0a 0a 20 20 20 20 3c 70 3e | Third.Party.Claims</h4>......<p> |
ea960 | 49 66 20 43 6f 6e 74 72 69 62 75 74 6f 72 20 68 61 73 20 6b 6e 6f 77 6c 65 64 67 65 20 74 68 61 | If.Contributor.has.knowledge.tha |
ea980 | 74 20 61 20 6c 69 63 65 6e 73 65 20 75 6e 64 65 72 20 61 20 74 68 69 72 64 20 70 61 72 74 79 27 | t.a.license.under.a.third.party' |
ea9a0 | 73 0a 20 20 20 20 69 6e 74 65 6c 6c 65 63 74 75 61 6c 20 70 72 6f 70 65 72 74 79 20 72 69 67 68 | s.....intellectual.property.righ |
ea9c0 | 74 73 20 69 73 20 72 65 71 75 69 72 65 64 20 74 6f 20 65 78 65 72 63 69 73 65 20 74 68 65 20 72 | ts.is.required.to.exercise.the.r |
ea9e0 | 69 67 68 74 73 20 67 72 61 6e 74 65 64 20 62 79 0a 20 20 20 20 73 75 63 68 20 43 6f 6e 74 72 69 | ights.granted.by.....such.Contri |
eaa00 | 62 75 74 6f 72 20 75 6e 64 65 72 20 53 65 63 74 69 6f 6e 73 20 3c 61 20 68 72 65 66 3d 22 23 73 | butor.under.Sections.<a.href="#s |
eaa20 | 65 63 74 69 6f 6e 2d 32 2e 31 22 3e 32 2e 31 3c 2f 61 3e 20 6f 72 20 3c 61 20 68 72 65 66 3d 0a | ection-2.1">2.1</a>.or.<a.href=. |
eaa40 | 20 20 20 20 22 23 73 65 63 74 69 6f 6e 2d 32 2e 32 22 3e 32 2e 32 3c 2f 61 3e 2c 20 43 6f 6e 74 | ...."#section-2.2">2.2</a>,.Cont |
eaa60 | 72 69 62 75 74 6f 72 20 6d 75 73 74 20 69 6e 63 6c 75 64 65 20 61 20 74 65 78 74 20 66 69 6c 65 | ributor.must.include.a.text.file |
eaa80 | 20 77 69 74 68 20 74 68 65 0a 20 20 20 20 53 6f 75 72 63 65 20 43 6f 64 65 20 64 69 73 74 72 69 | .with.the.....Source.Code.distri |
eaaa0 | 62 75 74 69 6f 6e 20 74 69 74 6c 65 64 20 22 4c 45 47 41 4c 22 20 77 68 69 63 68 20 64 65 73 63 | bution.titled."LEGAL".which.desc |
eaac0 | 72 69 62 65 73 20 74 68 65 20 63 6c 61 69 6d 20 61 6e 64 20 74 68 65 0a 20 20 20 20 70 61 72 74 | ribes.the.claim.and.the.....part |
eaae0 | 79 20 6d 61 6b 69 6e 67 20 74 68 65 20 63 6c 61 69 6d 20 69 6e 20 73 75 66 66 69 63 69 65 6e 74 | y.making.the.claim.in.sufficient |
eab00 | 20 64 65 74 61 69 6c 20 74 68 61 74 20 61 20 72 65 63 69 70 69 65 6e 74 20 77 69 6c 6c 20 6b 6e | .detail.that.a.recipient.will.kn |
eab20 | 6f 77 20 77 68 6f 6d 0a 20 20 20 20 74 6f 20 63 6f 6e 74 61 63 74 2e 20 49 66 20 43 6f 6e 74 72 | ow.whom.....to.contact..If.Contr |
eab40 | 69 62 75 74 6f 72 20 6f 62 74 61 69 6e 73 20 73 75 63 68 20 6b 6e 6f 77 6c 65 64 67 65 20 61 66 | ibutor.obtains.such.knowledge.af |
eab60 | 74 65 72 20 74 68 65 20 4d 6f 64 69 66 69 63 61 74 69 6f 6e 20 69 73 0a 20 20 20 20 6d 61 64 65 | ter.the.Modification.is.....made |
eab80 | 20 61 76 61 69 6c 61 62 6c 65 20 61 73 20 64 65 73 63 72 69 62 65 64 20 69 6e 20 53 65 63 74 69 | .available.as.described.in.Secti |
eaba0 | 6f 6e 20 3c 61 20 68 72 65 66 3d 22 23 73 65 63 74 69 6f 6e 2d 33 2e 32 22 3e 33 2e 32 3c 2f 61 | on.<a.href="#section-3.2">3.2</a |
eabc0 | 3e 2c 0a 20 20 20 20 43 6f 6e 74 72 69 62 75 74 6f 72 20 73 68 61 6c 6c 20 70 72 6f 6d 70 74 6c | >,.....Contributor.shall.promptl |
eabe0 | 79 20 6d 6f 64 69 66 79 20 74 68 65 20 4c 45 47 41 4c 20 66 69 6c 65 20 69 6e 20 61 6c 6c 20 63 | y.modify.the.LEGAL.file.in.all.c |
eac00 | 6f 70 69 65 73 20 43 6f 6e 74 72 69 62 75 74 6f 72 0a 20 20 20 20 6d 61 6b 65 73 20 61 76 61 69 | opies.Contributor.....makes.avai |
eac20 | 6c 61 62 6c 65 20 74 68 65 72 65 61 66 74 65 72 20 61 6e 64 20 73 68 61 6c 6c 20 74 61 6b 65 20 | lable.thereafter.and.shall.take. |
eac40 | 6f 74 68 65 72 20 73 74 65 70 73 20 28 73 75 63 68 20 61 73 20 6e 6f 74 69 66 79 69 6e 67 0a 20 | other.steps.(such.as.notifying.. |
eac60 | 20 20 20 61 70 70 72 6f 70 72 69 61 74 65 20 6d 61 69 6c 69 6e 67 20 6c 69 73 74 73 20 6f 72 20 | ...appropriate.mailing.lists.or. |
eac80 | 6e 65 77 73 67 72 6f 75 70 73 29 20 72 65 61 73 6f 6e 61 62 6c 79 20 63 61 6c 63 75 6c 61 74 65 | newsgroups).reasonably.calculate |
eaca0 | 64 20 74 6f 20 69 6e 66 6f 72 6d 0a 20 20 20 20 74 68 6f 73 65 20 77 68 6f 20 72 65 63 65 69 76 | d.to.inform.....those.who.receiv |
eacc0 | 65 64 20 74 68 65 20 43 6f 76 65 72 65 64 20 43 6f 64 65 20 74 68 61 74 20 6e 65 77 20 6b 6e 6f | ed.the.Covered.Code.that.new.kno |
eace0 | 77 6c 65 64 67 65 20 68 61 73 20 62 65 65 6e 0a 20 20 20 20 6f 62 74 61 69 6e 65 64 2e 3c 2f 70 | wledge.has.been.....obtained.</p |
ead00 | 3e 0a 0a 20 20 20 20 3c 68 34 20 69 64 3d 22 73 65 63 74 69 6f 6e 2d 33 2e 34 2d 62 22 3e 28 62 | >......<h4.id="section-3.4-b">(b |
ead20 | 29 20 43 6f 6e 74 72 69 62 75 74 6f 72 20 41 50 49 73 3c 2f 68 34 3e 0a 0a 20 20 20 20 3c 70 3e | ).Contributor.APIs</h4>......<p> |
ead40 | 49 66 20 43 6f 6e 74 72 69 62 75 74 6f 72 27 73 20 4d 6f 64 69 66 69 63 61 74 69 6f 6e 73 20 69 | If.Contributor's.Modifications.i |
ead60 | 6e 63 6c 75 64 65 20 61 6e 20 61 70 70 6c 69 63 61 74 69 6f 6e 20 70 72 6f 67 72 61 6d 6d 69 6e | nclude.an.application.programmin |
ead80 | 67 0a 20 20 20 20 69 6e 74 65 72 66 61 63 65 20 61 6e 64 20 43 6f 6e 74 72 69 62 75 74 6f 72 20 | g.....interface.and.Contributor. |
eada0 | 68 61 73 20 6b 6e 6f 77 6c 65 64 67 65 20 6f 66 20 70 61 74 65 6e 74 20 6c 69 63 65 6e 73 65 73 | has.knowledge.of.patent.licenses |
eadc0 | 20 77 68 69 63 68 20 61 72 65 0a 20 20 20 20 72 65 61 73 6f 6e 61 62 6c 79 20 6e 65 63 65 73 73 | .which.are.....reasonably.necess |
eade0 | 61 72 79 20 74 6f 20 69 6d 70 6c 65 6d 65 6e 74 20 74 68 61 74 20 3c 61 62 62 72 3e 41 50 49 3c | ary.to.implement.that.<abbr>API< |
eae00 | 2f 61 62 62 72 3e 2c 20 43 6f 6e 74 72 69 62 75 74 6f 72 20 6d 75 73 74 0a 20 20 20 20 61 6c 73 | /abbr>,.Contributor.must.....als |
eae20 | 6f 20 69 6e 63 6c 75 64 65 20 74 68 69 73 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 20 69 6e 20 74 68 | o.include.this.information.in.th |
eae40 | 65 20 3c 73 74 72 6f 6e 67 20 63 6c 61 73 73 3d 0a 20 20 20 20 22 76 65 72 79 2d 73 74 72 6f 6e | e.<strong.class=....."very-stron |
eae60 | 67 22 3e 6c 65 67 61 6c 3c 2f 73 74 72 6f 6e 67 3e 20 66 69 6c 65 2e 3c 2f 70 3e 0a 0a 20 20 20 | g">legal</strong>.file.</p>..... |
eae80 | 20 3c 68 34 20 69 64 3d 22 73 65 63 74 69 6f 6e 2d 33 2e 34 2d 63 22 3e 28 63 29 20 52 65 70 72 | .<h4.id="section-3.4-c">(c).Repr |
eaea0 | 65 73 65 6e 74 61 74 69 6f 6e 73 2e 3c 2f 68 34 3e 0a 0a 20 20 20 20 3c 70 3e 43 6f 6e 74 72 69 | esentations.</h4>......<p>Contri |
eaec0 | 62 75 74 6f 72 20 72 65 70 72 65 73 65 6e 74 73 20 74 68 61 74 2c 20 65 78 63 65 70 74 20 61 73 | butor.represents.that,.except.as |
eaee0 | 20 64 69 73 63 6c 6f 73 65 64 20 70 75 72 73 75 61 6e 74 20 74 6f 20 53 65 63 74 69 6f 6e 20 33 | .disclosed.pursuant.to.Section.3 |
eaf00 | 2e 34 0a 20 20 20 20 28 3c 61 20 68 72 65 66 3d 22 23 73 65 63 74 69 6f 6e 2d 33 2e 34 2d 61 22 | .4.....(<a.href="#section-3.4-a" |
eaf20 | 3e 61 3c 2f 61 3e 29 20 61 62 6f 76 65 2c 20 43 6f 6e 74 72 69 62 75 74 6f 72 20 62 65 6c 69 65 | >a</a>).above,.Contributor.belie |
eaf40 | 76 65 73 20 74 68 61 74 0a 20 20 20 20 43 6f 6e 74 72 69 62 75 74 6f 72 27 73 20 4d 6f 64 69 66 | ves.that.....Contributor's.Modif |
eaf60 | 69 63 61 74 69 6f 6e 73 20 61 72 65 20 43 6f 6e 74 72 69 62 75 74 6f 72 27 73 20 6f 72 69 67 69 | ications.are.Contributor's.origi |
eaf80 | 6e 61 6c 20 63 72 65 61 74 69 6f 6e 28 73 29 20 61 6e 64 2f 6f 72 0a 20 20 20 20 43 6f 6e 74 72 | nal.creation(s).and/or.....Contr |
eafa0 | 69 62 75 74 6f 72 20 68 61 73 20 73 75 66 66 69 63 69 65 6e 74 20 72 69 67 68 74 73 20 74 6f 20 | ibutor.has.sufficient.rights.to. |
eafc0 | 67 72 61 6e 74 20 74 68 65 20 72 69 67 68 74 73 20 63 6f 6e 76 65 79 65 64 20 62 79 20 74 68 69 | grant.the.rights.conveyed.by.thi |
eafe0 | 73 0a 20 20 20 20 4c 69 63 65 6e 73 65 2e 3c 2f 70 3e 0a 0a 20 20 20 20 3c 68 33 20 69 64 3d 22 | s.....License.</p>......<h3.id=" |
eb000 | 73 65 63 74 69 6f 6e 2d 33 2e 35 22 3e 33 2e 35 2e 20 52 65 71 75 69 72 65 64 20 4e 6f 74 69 63 | section-3.5">3.5..Required.Notic |
eb020 | 65 73 2e 3c 2f 68 33 3e 0a 0a 20 20 20 20 3c 70 3e 59 6f 75 20 6d 75 73 74 20 64 75 70 6c 69 63 | es.</h3>......<p>You.must.duplic |
eb040 | 61 74 65 20 74 68 65 20 6e 6f 74 69 63 65 20 69 6e 20 3c 61 20 68 72 65 66 3d 22 23 65 78 68 69 | ate.the.notice.in.<a.href="#exhi |
eb060 | 62 69 74 2d 61 22 3e 45 78 68 69 62 69 74 20 41 3c 2f 61 3e 20 69 6e 0a 20 20 20 20 65 61 63 68 | bit-a">Exhibit.A</a>.in.....each |
eb080 | 20 66 69 6c 65 20 6f 66 20 74 68 65 20 53 6f 75 72 63 65 20 43 6f 64 65 2e 20 49 66 20 69 74 20 | .file.of.the.Source.Code..If.it. |
eb0a0 | 69 73 20 6e 6f 74 20 70 6f 73 73 69 62 6c 65 20 74 6f 20 70 75 74 20 73 75 63 68 20 6e 6f 74 69 | is.not.possible.to.put.such.noti |
eb0c0 | 63 65 20 69 6e 20 61 0a 20 20 20 20 70 61 72 74 69 63 75 6c 61 72 20 53 6f 75 72 63 65 20 43 6f | ce.in.a.....particular.Source.Co |
eb0e0 | 64 65 20 66 69 6c 65 20 64 75 65 20 74 6f 20 69 74 73 20 73 74 72 75 63 74 75 72 65 2c 20 74 68 | de.file.due.to.its.structure,.th |
eb100 | 65 6e 20 59 6f 75 20 6d 75 73 74 20 69 6e 63 6c 75 64 65 0a 20 20 20 20 73 75 63 68 20 6e 6f 74 | en.You.must.include.....such.not |
eb120 | 69 63 65 20 69 6e 20 61 20 6c 6f 63 61 74 69 6f 6e 20 28 73 75 63 68 20 61 73 20 61 20 72 65 6c | ice.in.a.location.(such.as.a.rel |
eb140 | 65 76 61 6e 74 20 64 69 72 65 63 74 6f 72 79 29 20 77 68 65 72 65 20 61 20 75 73 65 72 20 77 6f | evant.directory).where.a.user.wo |
eb160 | 75 6c 64 0a 20 20 20 20 62 65 20 6c 69 6b 65 6c 79 20 74 6f 20 6c 6f 6f 6b 20 66 6f 72 20 73 75 | uld.....be.likely.to.look.for.su |
eb180 | 63 68 20 61 20 6e 6f 74 69 63 65 2e 20 49 66 20 59 6f 75 20 63 72 65 61 74 65 64 20 6f 6e 65 20 | ch.a.notice..If.You.created.one. |
eb1a0 | 6f 72 20 6d 6f 72 65 0a 20 20 20 20 4d 6f 64 69 66 69 63 61 74 69 6f 6e 28 73 29 20 59 6f 75 20 | or.more.....Modification(s).You. |
eb1c0 | 6d 61 79 20 61 64 64 20 79 6f 75 72 20 6e 61 6d 65 20 61 73 20 61 20 43 6f 6e 74 72 69 62 75 74 | may.add.your.name.as.a.Contribut |
eb1e0 | 6f 72 20 74 6f 20 74 68 65 20 6e 6f 74 69 63 65 0a 20 20 20 20 64 65 73 63 72 69 62 65 64 20 69 | or.to.the.notice.....described.i |
eb200 | 6e 20 3c 61 20 68 72 65 66 3d 22 23 65 78 68 69 62 69 74 2d 61 22 3e 45 78 68 69 62 69 74 20 41 | n.<a.href="#exhibit-a">Exhibit.A |
eb220 | 3c 2f 61 3e 2e 20 59 6f 75 20 6d 75 73 74 20 61 6c 73 6f 20 64 75 70 6c 69 63 61 74 65 0a 20 20 | </a>..You.must.also.duplicate... |
eb240 | 20 20 74 68 69 73 20 4c 69 63 65 6e 73 65 20 69 6e 20 61 6e 79 20 64 6f 63 75 6d 65 6e 74 61 74 | ..this.License.in.any.documentat |
eb260 | 69 6f 6e 20 66 6f 72 20 74 68 65 20 53 6f 75 72 63 65 20 43 6f 64 65 20 77 68 65 72 65 20 59 6f | ion.for.the.Source.Code.where.Yo |
eb280 | 75 20 64 65 73 63 72 69 62 65 0a 20 20 20 20 72 65 63 69 70 69 65 6e 74 73 27 20 72 69 67 68 74 | u.describe.....recipients'.right |
eb2a0 | 73 20 6f 72 20 6f 77 6e 65 72 73 68 69 70 20 72 69 67 68 74 73 20 72 65 6c 61 74 69 6e 67 20 74 | s.or.ownership.rights.relating.t |
eb2c0 | 6f 20 43 6f 76 65 72 65 64 20 43 6f 64 65 2e 20 59 6f 75 20 6d 61 79 0a 20 20 20 20 63 68 6f 6f | o.Covered.Code..You.may.....choo |
eb2e0 | 73 65 20 74 6f 20 6f 66 66 65 72 2c 20 61 6e 64 20 74 6f 20 63 68 61 72 67 65 20 61 20 66 65 65 | se.to.offer,.and.to.charge.a.fee |
eb300 | 20 66 6f 72 2c 20 77 61 72 72 61 6e 74 79 2c 20 73 75 70 70 6f 72 74 2c 20 69 6e 64 65 6d 6e 69 | .for,.warranty,.support,.indemni |
eb320 | 74 79 20 6f 72 0a 20 20 20 20 6c 69 61 62 69 6c 69 74 79 20 6f 62 6c 69 67 61 74 69 6f 6e 73 20 | ty.or.....liability.obligations. |
eb340 | 74 6f 20 6f 6e 65 20 6f 72 20 6d 6f 72 65 20 72 65 63 69 70 69 65 6e 74 73 20 6f 66 20 43 6f 76 | to.one.or.more.recipients.of.Cov |
eb360 | 65 72 65 64 20 43 6f 64 65 2e 20 48 6f 77 65 76 65 72 2c 0a 20 20 20 20 59 6f 75 20 6d 61 79 20 | ered.Code..However,.....You.may. |
eb380 | 64 6f 20 73 6f 20 6f 6e 6c 79 20 6f 6e 20 59 6f 75 72 20 6f 77 6e 20 62 65 68 61 6c 66 2c 20 61 | do.so.only.on.Your.own.behalf,.a |
eb3a0 | 6e 64 20 6e 6f 74 20 6f 6e 20 62 65 68 61 6c 66 20 6f 66 20 74 68 65 20 49 6e 69 74 69 61 6c 0a | nd.not.on.behalf.of.the.Initial. |
eb3c0 | 20 20 20 20 44 65 76 65 6c 6f 70 65 72 20 6f 72 20 61 6e 79 20 43 6f 6e 74 72 69 62 75 74 6f 72 | ....Developer.or.any.Contributor |
eb3e0 | 2e 20 59 6f 75 20 6d 75 73 74 20 6d 61 6b 65 20 69 74 20 61 62 73 6f 6c 75 74 65 6c 79 20 63 6c | ..You.must.make.it.absolutely.cl |
eb400 | 65 61 72 20 74 68 61 6e 20 61 6e 79 0a 20 20 20 20 73 75 63 68 20 77 61 72 72 61 6e 74 79 2c 20 | ear.than.any.....such.warranty,. |
eb420 | 73 75 70 70 6f 72 74 2c 20 69 6e 64 65 6d 6e 69 74 79 20 6f 72 20 6c 69 61 62 69 6c 69 74 79 20 | support,.indemnity.or.liability. |
eb440 | 6f 62 6c 69 67 61 74 69 6f 6e 20 69 73 20 6f 66 66 65 72 65 64 20 62 79 20 59 6f 75 0a 20 20 20 | obligation.is.offered.by.You.... |
eb460 | 20 61 6c 6f 6e 65 2c 20 61 6e 64 20 59 6f 75 20 68 65 72 65 62 79 20 61 67 72 65 65 20 74 6f 20 | .alone,.and.You.hereby.agree.to. |
eb480 | 69 6e 64 65 6d 6e 69 66 79 20 74 68 65 20 49 6e 69 74 69 61 6c 20 44 65 76 65 6c 6f 70 65 72 20 | indemnify.the.Initial.Developer. |
eb4a0 | 61 6e 64 20 65 76 65 72 79 0a 20 20 20 20 43 6f 6e 74 72 69 62 75 74 6f 72 20 66 6f 72 20 61 6e | and.every.....Contributor.for.an |
eb4c0 | 79 20 6c 69 61 62 69 6c 69 74 79 20 69 6e 63 75 72 72 65 64 20 62 79 20 74 68 65 20 49 6e 69 74 | y.liability.incurred.by.the.Init |
eb4e0 | 69 61 6c 20 44 65 76 65 6c 6f 70 65 72 20 6f 72 20 73 75 63 68 0a 20 20 20 20 43 6f 6e 74 72 69 | ial.Developer.or.such.....Contri |
eb500 | 62 75 74 6f 72 20 61 73 20 61 20 72 65 73 75 6c 74 20 6f 66 20 77 61 72 72 61 6e 74 79 2c 20 73 | butor.as.a.result.of.warranty,.s |
eb520 | 75 70 70 6f 72 74 2c 20 69 6e 64 65 6d 6e 69 74 79 20 6f 72 20 6c 69 61 62 69 6c 69 74 79 20 74 | upport,.indemnity.or.liability.t |
eb540 | 65 72 6d 73 0a 20 20 20 20 59 6f 75 20 6f 66 66 65 72 2e 3c 2f 70 3e 0a 0a 20 20 20 20 3c 68 33 | erms.....You.offer.</p>......<h3 |
eb560 | 20 69 64 3d 22 73 65 63 74 69 6f 6e 2d 33 2e 36 22 3e 33 2e 36 2e 20 44 69 73 74 72 69 62 75 74 | .id="section-3.6">3.6..Distribut |
eb580 | 69 6f 6e 20 6f 66 20 45 78 65 63 75 74 61 62 6c 65 20 56 65 72 73 69 6f 6e 73 2e 3c 2f 68 33 3e | ion.of.Executable.Versions.</h3> |
eb5a0 | 0a 0a 20 20 20 20 3c 70 3e 59 6f 75 20 6d 61 79 20 64 69 73 74 72 69 62 75 74 65 20 43 6f 76 65 | ......<p>You.may.distribute.Cove |
eb5c0 | 72 65 64 20 43 6f 64 65 20 69 6e 20 45 78 65 63 75 74 61 62 6c 65 20 66 6f 72 6d 20 6f 6e 6c 79 | red.Code.in.Executable.form.only |
eb5e0 | 20 69 66 20 74 68 65 0a 20 20 20 20 72 65 71 75 69 72 65 6d 65 6e 74 73 20 6f 66 20 53 65 63 74 | .if.the.....requirements.of.Sect |
eb600 | 69 6f 6e 73 20 3c 61 20 68 72 65 66 3d 22 23 73 65 63 74 69 6f 6e 2d 33 2e 31 22 3e 33 2e 31 3c | ions.<a.href="#section-3.1">3.1< |
eb620 | 2f 61 3e 2c 20 3c 61 20 68 72 65 66 3d 0a 20 20 20 20 22 23 73 65 63 74 69 6f 6e 2d 33 2e 32 22 | /a>,.<a.href=....."#section-3.2" |
eb640 | 3e 33 2e 32 3c 2f 61 3e 2c 20 3c 61 20 68 72 65 66 3d 22 23 73 65 63 74 69 6f 6e 2d 33 2e 33 22 | >3.2</a>,.<a.href="#section-3.3" |
eb660 | 3e 33 2e 33 3c 2f 61 3e 2c 20 3c 61 20 68 72 65 66 3d 0a 20 20 20 20 22 23 73 65 63 74 69 6f 6e | >3.3</a>,.<a.href=....."#section |
eb680 | 2d 33 2e 34 22 3e 33 2e 34 3c 2f 61 3e 20 61 6e 64 20 3c 61 20 68 72 65 66 3d 22 23 73 65 63 74 | -3.4">3.4</a>.and.<a.href="#sect |
eb6a0 | 69 6f 6e 2d 33 2e 35 22 3e 33 2e 35 3c 2f 61 3e 20 68 61 76 65 20 62 65 65 6e 20 6d 65 74 20 66 | ion-3.5">3.5</a>.have.been.met.f |
eb6c0 | 6f 72 0a 20 20 20 20 74 68 61 74 20 43 6f 76 65 72 65 64 20 43 6f 64 65 2c 20 61 6e 64 20 69 66 | or.....that.Covered.Code,.and.if |
eb6e0 | 20 59 6f 75 20 69 6e 63 6c 75 64 65 20 61 20 6e 6f 74 69 63 65 20 73 74 61 74 69 6e 67 20 74 68 | .You.include.a.notice.stating.th |
eb700 | 61 74 20 74 68 65 20 53 6f 75 72 63 65 20 43 6f 64 65 0a 20 20 20 20 76 65 72 73 69 6f 6e 20 6f | at.the.Source.Code.....version.o |
eb720 | 66 20 74 68 65 20 43 6f 76 65 72 65 64 20 43 6f 64 65 20 69 73 20 61 76 61 69 6c 61 62 6c 65 20 | f.the.Covered.Code.is.available. |
eb740 | 75 6e 64 65 72 20 74 68 65 20 74 65 72 6d 73 20 6f 66 20 74 68 69 73 20 4c 69 63 65 6e 73 65 2c | under.the.terms.of.this.License, |
eb760 | 0a 20 20 20 20 69 6e 63 6c 75 64 69 6e 67 20 61 20 64 65 73 63 72 69 70 74 69 6f 6e 20 6f 66 20 | .....including.a.description.of. |
eb780 | 68 6f 77 20 61 6e 64 20 77 68 65 72 65 20 59 6f 75 20 68 61 76 65 20 66 75 6c 66 69 6c 6c 65 64 | how.and.where.You.have.fulfilled |
eb7a0 | 20 74 68 65 20 6f 62 6c 69 67 61 74 69 6f 6e 73 0a 20 20 20 20 6f 66 20 53 65 63 74 69 6f 6e 20 | .the.obligations.....of.Section. |
eb7c0 | 3c 61 20 68 72 65 66 3d 22 23 73 65 63 74 69 6f 6e 2d 33 2e 32 22 3e 33 2e 32 3c 2f 61 3e 2e 20 | <a.href="#section-3.2">3.2</a>.. |
eb7e0 | 54 68 65 20 6e 6f 74 69 63 65 20 6d 75 73 74 20 62 65 20 63 6f 6e 73 70 69 63 75 6f 75 73 6c 79 | The.notice.must.be.conspicuously |
eb800 | 0a 20 20 20 20 69 6e 63 6c 75 64 65 64 20 69 6e 20 61 6e 79 20 6e 6f 74 69 63 65 20 69 6e 20 61 | .....included.in.any.notice.in.a |
eb820 | 6e 20 45 78 65 63 75 74 61 62 6c 65 20 76 65 72 73 69 6f 6e 2c 20 72 65 6c 61 74 65 64 20 64 6f | n.Executable.version,.related.do |
eb840 | 63 75 6d 65 6e 74 61 74 69 6f 6e 20 6f 72 0a 20 20 20 20 63 6f 6c 6c 61 74 65 72 61 6c 20 69 6e | cumentation.or.....collateral.in |
eb860 | 20 77 68 69 63 68 20 59 6f 75 20 64 65 73 63 72 69 62 65 20 72 65 63 69 70 69 65 6e 74 73 27 20 | .which.You.describe.recipients'. |
eb880 | 72 69 67 68 74 73 20 72 65 6c 61 74 69 6e 67 20 74 6f 20 74 68 65 20 43 6f 76 65 72 65 64 0a 20 | rights.relating.to.the.Covered.. |
eb8a0 | 20 20 20 43 6f 64 65 2e 20 59 6f 75 20 6d 61 79 20 64 69 73 74 72 69 62 75 74 65 20 74 68 65 20 | ...Code..You.may.distribute.the. |
eb8c0 | 45 78 65 63 75 74 61 62 6c 65 20 76 65 72 73 69 6f 6e 20 6f 66 20 43 6f 76 65 72 65 64 20 43 6f | Executable.version.of.Covered.Co |
eb8e0 | 64 65 20 6f 72 0a 20 20 20 20 6f 77 6e 65 72 73 68 69 70 20 72 69 67 68 74 73 20 75 6e 64 65 72 | de.or.....ownership.rights.under |
eb900 | 20 61 20 6c 69 63 65 6e 73 65 20 6f 66 20 59 6f 75 72 20 63 68 6f 69 63 65 2c 20 77 68 69 63 68 | .a.license.of.Your.choice,.which |
eb920 | 20 6d 61 79 20 63 6f 6e 74 61 69 6e 20 74 65 72 6d 73 0a 20 20 20 20 64 69 66 66 65 72 65 6e 74 | .may.contain.terms.....different |
eb940 | 20 66 72 6f 6d 20 74 68 69 73 20 4c 69 63 65 6e 73 65 2c 20 70 72 6f 76 69 64 65 64 20 74 68 61 | .from.this.License,.provided.tha |
eb960 | 74 20 59 6f 75 20 61 72 65 20 69 6e 20 63 6f 6d 70 6c 69 61 6e 63 65 20 77 69 74 68 20 74 68 65 | t.You.are.in.compliance.with.the |
eb980 | 0a 20 20 20 20 74 65 72 6d 73 20 6f 66 20 74 68 69 73 20 4c 69 63 65 6e 73 65 20 61 6e 64 20 74 | .....terms.of.this.License.and.t |
eb9a0 | 68 61 74 20 74 68 65 20 6c 69 63 65 6e 73 65 20 66 6f 72 20 74 68 65 20 45 78 65 63 75 74 61 62 | hat.the.license.for.the.Executab |
eb9c0 | 6c 65 20 76 65 72 73 69 6f 6e 20 64 6f 65 73 0a 20 20 20 20 6e 6f 74 20 61 74 74 65 6d 70 74 20 | le.version.does.....not.attempt. |
eb9e0 | 74 6f 20 6c 69 6d 69 74 20 6f 72 20 61 6c 74 65 72 20 74 68 65 20 72 65 63 69 70 69 65 6e 74 27 | to.limit.or.alter.the.recipient' |
eba00 | 73 20 72 69 67 68 74 73 20 69 6e 20 74 68 65 20 53 6f 75 72 63 65 20 43 6f 64 65 0a 20 20 20 20 | s.rights.in.the.Source.Code..... |
eba20 | 76 65 72 73 69 6f 6e 20 66 72 6f 6d 20 74 68 65 20 72 69 67 68 74 73 20 73 65 74 20 66 6f 72 74 | version.from.the.rights.set.fort |
eba40 | 68 20 69 6e 20 74 68 69 73 20 4c 69 63 65 6e 73 65 2e 20 49 66 20 59 6f 75 20 64 69 73 74 72 69 | h.in.this.License..If.You.distri |
eba60 | 62 75 74 65 20 74 68 65 0a 20 20 20 20 45 78 65 63 75 74 61 62 6c 65 20 76 65 72 73 69 6f 6e 20 | bute.the.....Executable.version. |
eba80 | 75 6e 64 65 72 20 61 20 64 69 66 66 65 72 65 6e 74 20 6c 69 63 65 6e 73 65 20 59 6f 75 20 6d 75 | under.a.different.license.You.mu |
ebaa0 | 73 74 20 6d 61 6b 65 20 69 74 20 61 62 73 6f 6c 75 74 65 6c 79 0a 20 20 20 20 63 6c 65 61 72 20 | st.make.it.absolutely.....clear. |
ebac0 | 74 68 61 74 20 61 6e 79 20 74 65 72 6d 73 20 77 68 69 63 68 20 64 69 66 66 65 72 20 66 72 6f 6d | that.any.terms.which.differ.from |
ebae0 | 20 74 68 69 73 20 4c 69 63 65 6e 73 65 20 61 72 65 20 6f 66 66 65 72 65 64 20 62 79 20 59 6f 75 | .this.License.are.offered.by.You |
ebb00 | 0a 20 20 20 20 61 6c 6f 6e 65 2c 20 6e 6f 74 20 62 79 20 74 68 65 20 49 6e 69 74 69 61 6c 20 44 | .....alone,.not.by.the.Initial.D |
ebb20 | 65 76 65 6c 6f 70 65 72 20 6f 72 20 61 6e 79 20 43 6f 6e 74 72 69 62 75 74 6f 72 2e 20 59 6f 75 | eveloper.or.any.Contributor..You |
ebb40 | 20 68 65 72 65 62 79 20 61 67 72 65 65 20 74 6f 0a 20 20 20 20 69 6e 64 65 6d 6e 69 66 79 20 74 | .hereby.agree.to.....indemnify.t |
ebb60 | 68 65 20 49 6e 69 74 69 61 6c 20 44 65 76 65 6c 6f 70 65 72 20 61 6e 64 20 65 76 65 72 79 20 43 | he.Initial.Developer.and.every.C |
ebb80 | 6f 6e 74 72 69 62 75 74 6f 72 20 66 6f 72 20 61 6e 79 20 6c 69 61 62 69 6c 69 74 79 0a 20 20 20 | ontributor.for.any.liability.... |
ebba0 | 20 69 6e 63 75 72 72 65 64 20 62 79 20 74 68 65 20 49 6e 69 74 69 61 6c 20 44 65 76 65 6c 6f 70 | .incurred.by.the.Initial.Develop |
ebbc0 | 65 72 20 6f 72 20 73 75 63 68 20 43 6f 6e 74 72 69 62 75 74 6f 72 20 61 73 20 61 20 72 65 73 75 | er.or.such.Contributor.as.a.resu |
ebbe0 | 6c 74 20 6f 66 20 61 6e 79 0a 20 20 20 20 73 75 63 68 20 74 65 72 6d 73 20 59 6f 75 20 6f 66 66 | lt.of.any.....such.terms.You.off |
ebc00 | 65 72 2e 3c 2f 70 3e 0a 0a 20 20 20 20 3c 68 33 20 69 64 3d 22 73 65 63 74 69 6f 6e 2d 33 2e 37 | er.</p>......<h3.id="section-3.7 |
ebc20 | 22 3e 33 2e 37 2e 20 4c 61 72 67 65 72 20 57 6f 72 6b 73 2e 3c 2f 68 33 3e 0a 0a 20 20 20 20 3c | ">3.7..Larger.Works.</h3>......< |
ebc40 | 70 3e 59 6f 75 20 6d 61 79 20 63 72 65 61 74 65 20 61 20 4c 61 72 67 65 72 20 57 6f 72 6b 20 62 | p>You.may.create.a.Larger.Work.b |
ebc60 | 79 20 63 6f 6d 62 69 6e 69 6e 67 20 43 6f 76 65 72 65 64 20 43 6f 64 65 20 77 69 74 68 20 6f 74 | y.combining.Covered.Code.with.ot |
ebc80 | 68 65 72 20 63 6f 64 65 0a 20 20 20 20 6e 6f 74 20 67 6f 76 65 72 6e 65 64 20 62 79 20 74 68 65 | her.code.....not.governed.by.the |
ebca0 | 20 74 65 72 6d 73 20 6f 66 20 74 68 69 73 20 4c 69 63 65 6e 73 65 20 61 6e 64 20 64 69 73 74 72 | .terms.of.this.License.and.distr |
ebcc0 | 69 62 75 74 65 20 74 68 65 20 4c 61 72 67 65 72 20 57 6f 72 6b 20 61 73 0a 20 20 20 20 61 20 73 | ibute.the.Larger.Work.as.....a.s |
ebce0 | 69 6e 67 6c 65 20 70 72 6f 64 75 63 74 2e 20 49 6e 20 73 75 63 68 20 61 20 63 61 73 65 2c 20 59 | ingle.product..In.such.a.case,.Y |
ebd00 | 6f 75 20 6d 75 73 74 20 6d 61 6b 65 20 73 75 72 65 20 74 68 65 20 72 65 71 75 69 72 65 6d 65 6e | ou.must.make.sure.the.requiremen |
ebd20 | 74 73 20 6f 66 0a 20 20 20 20 74 68 69 73 20 4c 69 63 65 6e 73 65 20 61 72 65 20 66 75 6c 66 69 | ts.of.....this.License.are.fulfi |
ebd40 | 6c 6c 65 64 20 66 6f 72 20 74 68 65 20 43 6f 76 65 72 65 64 20 43 6f 64 65 2e 3c 2f 70 3e 0a 0a | lled.for.the.Covered.Code.</p>.. |
ebd60 | 20 20 20 20 3c 68 32 20 69 64 3d 22 73 65 63 74 69 6f 6e 2d 34 22 3e 34 2e 20 49 6e 61 62 69 6c | ....<h2.id="section-4">4..Inabil |
ebd80 | 69 74 79 20 74 6f 20 43 6f 6d 70 6c 79 20 44 75 65 20 74 6f 20 53 74 61 74 75 74 65 20 6f 72 0a | ity.to.Comply.Due.to.Statute.or. |
ebda0 | 20 20 20 20 52 65 67 75 6c 61 74 69 6f 6e 2e 3c 2f 68 32 3e 0a 0a 20 20 20 20 3c 70 3e 49 66 20 | ....Regulation.</h2>......<p>If. |
ebdc0 | 69 74 20 69 73 20 69 6d 70 6f 73 73 69 62 6c 65 20 66 6f 72 20 59 6f 75 20 74 6f 20 63 6f 6d 70 | it.is.impossible.for.You.to.comp |
ebde0 | 6c 79 20 77 69 74 68 20 61 6e 79 20 6f 66 20 74 68 65 20 74 65 72 6d 73 20 6f 66 20 74 68 69 73 | ly.with.any.of.the.terms.of.this |
ebe00 | 0a 20 20 20 20 4c 69 63 65 6e 73 65 20 77 69 74 68 20 72 65 73 70 65 63 74 20 74 6f 20 73 6f 6d | .....License.with.respect.to.som |
ebe20 | 65 20 6f 72 20 61 6c 6c 20 6f 66 20 74 68 65 20 43 6f 76 65 72 65 64 20 43 6f 64 65 20 64 75 65 | e.or.all.of.the.Covered.Code.due |
ebe40 | 20 74 6f 20 73 74 61 74 75 74 65 2c 0a 20 20 20 20 6a 75 64 69 63 69 61 6c 20 6f 72 64 65 72 2c | .to.statute,.....judicial.order, |
ebe60 | 20 6f 72 20 72 65 67 75 6c 61 74 69 6f 6e 20 74 68 65 6e 20 59 6f 75 20 6d 75 73 74 3a 20 28 61 | .or.regulation.then.You.must:.(a |
ebe80 | 29 20 63 6f 6d 70 6c 79 20 77 69 74 68 20 74 68 65 20 74 65 72 6d 73 20 6f 66 0a 20 20 20 20 74 | ).comply.with.the.terms.of.....t |
ebea0 | 68 69 73 20 4c 69 63 65 6e 73 65 20 74 6f 20 74 68 65 20 6d 61 78 69 6d 75 6d 20 65 78 74 65 6e | his.License.to.the.maximum.exten |
ebec0 | 74 20 70 6f 73 73 69 62 6c 65 3b 20 61 6e 64 20 28 62 29 20 64 65 73 63 72 69 62 65 20 74 68 65 | t.possible;.and.(b).describe.the |
ebee0 | 0a 20 20 20 20 6c 69 6d 69 74 61 74 69 6f 6e 73 20 61 6e 64 20 74 68 65 20 63 6f 64 65 20 74 68 | .....limitations.and.the.code.th |
ebf00 | 65 79 20 61 66 66 65 63 74 2e 20 53 75 63 68 20 64 65 73 63 72 69 70 74 69 6f 6e 20 6d 75 73 74 | ey.affect..Such.description.must |
ebf20 | 20 62 65 20 69 6e 63 6c 75 64 65 64 20 69 6e 0a 20 20 20 20 74 68 65 20 3c 73 74 72 6f 6e 67 20 | .be.included.in.....the.<strong. |
ebf40 | 63 6c 61 73 73 3d 22 76 65 72 79 2d 73 74 72 6f 6e 67 22 3e 6c 65 67 61 6c 3c 2f 73 74 72 6f 6e | class="very-strong">legal</stron |
ebf60 | 67 3e 20 66 69 6c 65 20 64 65 73 63 72 69 62 65 64 20 69 6e 20 53 65 63 74 69 6f 6e 20 3c 61 0a | g>.file.described.in.Section.<a. |
ebf80 | 20 20 20 20 68 72 65 66 3d 22 23 73 65 63 74 69 6f 6e 2d 33 2e 34 22 3e 33 2e 34 3c 2f 61 3e 20 | ....href="#section-3.4">3.4</a>. |
ebfa0 | 61 6e 64 20 6d 75 73 74 20 62 65 20 69 6e 63 6c 75 64 65 64 20 77 69 74 68 20 61 6c 6c 20 64 69 | and.must.be.included.with.all.di |
ebfc0 | 73 74 72 69 62 75 74 69 6f 6e 73 20 6f 66 0a 20 20 20 20 74 68 65 20 53 6f 75 72 63 65 20 43 6f | stributions.of.....the.Source.Co |
ebfe0 | 64 65 2e 20 45 78 63 65 70 74 20 74 6f 20 74 68 65 20 65 78 74 65 6e 74 20 70 72 6f 68 69 62 69 | de..Except.to.the.extent.prohibi |
ec000 | 74 65 64 20 62 79 20 73 74 61 74 75 74 65 20 6f 72 20 72 65 67 75 6c 61 74 69 6f 6e 2c 0a 20 20 | ted.by.statute.or.regulation,... |
ec020 | 20 20 73 75 63 68 20 64 65 73 63 72 69 70 74 69 6f 6e 20 6d 75 73 74 20 62 65 20 73 75 66 66 69 | ..such.description.must.be.suffi |
ec040 | 63 69 65 6e 74 6c 79 20 64 65 74 61 69 6c 65 64 20 66 6f 72 20 61 20 72 65 63 69 70 69 65 6e 74 | ciently.detailed.for.a.recipient |
ec060 | 20 6f 66 20 6f 72 64 69 6e 61 72 79 0a 20 20 20 20 73 6b 69 6c 6c 20 74 6f 20 62 65 20 61 62 6c | .of.ordinary.....skill.to.be.abl |
ec080 | 65 20 74 6f 20 75 6e 64 65 72 73 74 61 6e 64 20 69 74 2e 3c 2f 70 3e 0a 0a 20 20 20 20 3c 68 32 | e.to.understand.it.</p>......<h2 |
ec0a0 | 20 69 64 3d 22 73 65 63 74 69 6f 6e 2d 35 22 3e 35 2e 20 41 70 70 6c 69 63 61 74 69 6f 6e 20 6f | .id="section-5">5..Application.o |
ec0c0 | 66 20 74 68 69 73 20 4c 69 63 65 6e 73 65 2e 3c 2f 68 32 3e 0a 0a 20 20 20 20 3c 70 3e 54 68 69 | f.this.License.</h2>......<p>Thi |
ec0e0 | 73 20 4c 69 63 65 6e 73 65 20 61 70 70 6c 69 65 73 20 74 6f 20 63 6f 64 65 20 74 6f 20 77 68 69 | s.License.applies.to.code.to.whi |
ec100 | 63 68 20 74 68 65 20 49 6e 69 74 69 61 6c 20 44 65 76 65 6c 6f 70 65 72 20 68 61 73 20 61 74 74 | ch.the.Initial.Developer.has.att |
ec120 | 61 63 68 65 64 0a 20 20 20 20 74 68 65 20 6e 6f 74 69 63 65 20 69 6e 20 3c 61 20 68 72 65 66 3d | ached.....the.notice.in.<a.href= |
ec140 | 22 23 65 78 68 69 62 69 74 2d 61 22 3e 45 78 68 69 62 69 74 20 41 3c 2f 61 3e 20 61 6e 64 20 74 | "#exhibit-a">Exhibit.A</a>.and.t |
ec160 | 6f 20 72 65 6c 61 74 65 64 20 43 6f 76 65 72 65 64 0a 20 20 20 20 43 6f 64 65 2e 3c 2f 70 3e 0a | o.related.Covered.....Code.</p>. |
ec180 | 0a 20 20 20 20 3c 68 32 20 69 64 3d 22 73 65 63 74 69 6f 6e 2d 36 22 3e 36 2e 20 56 65 72 73 69 | .....<h2.id="section-6">6..Versi |
ec1a0 | 6f 6e 73 20 6f 66 20 74 68 65 20 4c 69 63 65 6e 73 65 2e 3c 2f 68 32 3e 0a 0a 20 20 20 20 3c 68 | ons.of.the.License.</h2>......<h |
ec1c0 | 33 20 69 64 3d 22 73 65 63 74 69 6f 6e 2d 36 2e 31 22 3e 36 2e 31 2e 20 4e 65 77 20 56 65 72 73 | 3.id="section-6.1">6.1..New.Vers |
ec1e0 | 69 6f 6e 73 3c 2f 68 33 3e 0a 0a 20 20 20 20 3c 70 3e 4e 65 74 73 63 61 70 65 20 43 6f 6d 6d 75 | ions</h3>......<p>Netscape.Commu |
ec200 | 6e 69 63 61 74 69 6f 6e 73 20 43 6f 72 70 6f 72 61 74 69 6f 6e 20 28 22 4e 65 74 73 63 61 70 65 | nications.Corporation.("Netscape |
ec220 | 22 29 20 6d 61 79 20 70 75 62 6c 69 73 68 20 72 65 76 69 73 65 64 0a 20 20 20 20 61 6e 64 2f 6f | ").may.publish.revised.....and/o |
ec240 | 72 20 6e 65 77 20 76 65 72 73 69 6f 6e 73 20 6f 66 20 74 68 65 20 4c 69 63 65 6e 73 65 20 66 72 | r.new.versions.of.the.License.fr |
ec260 | 6f 6d 20 74 69 6d 65 20 74 6f 20 74 69 6d 65 2e 20 45 61 63 68 20 76 65 72 73 69 6f 6e 20 77 69 | om.time.to.time..Each.version.wi |
ec280 | 6c 6c 20 62 65 0a 20 20 20 20 67 69 76 65 6e 20 61 20 64 69 73 74 69 6e 67 75 69 73 68 69 6e 67 | ll.be.....given.a.distinguishing |
ec2a0 | 20 76 65 72 73 69 6f 6e 20 6e 75 6d 62 65 72 2e 3c 2f 70 3e 0a 0a 20 20 20 20 3c 68 33 20 69 64 | .version.number.</p>......<h3.id |
ec2c0 | 3d 22 73 65 63 74 69 6f 6e 2d 36 2e 32 22 3e 36 2e 32 2e 20 45 66 66 65 63 74 20 6f 66 20 4e 65 | ="section-6.2">6.2..Effect.of.Ne |
ec2e0 | 77 20 56 65 72 73 69 6f 6e 73 3c 2f 68 33 3e 0a 0a 20 20 20 20 3c 70 3e 4f 6e 63 65 20 43 6f 76 | w.Versions</h3>......<p>Once.Cov |
ec300 | 65 72 65 64 20 43 6f 64 65 20 68 61 73 20 62 65 65 6e 20 70 75 62 6c 69 73 68 65 64 20 75 6e 64 | ered.Code.has.been.published.und |
ec320 | 65 72 20 61 20 70 61 72 74 69 63 75 6c 61 72 20 76 65 72 73 69 6f 6e 20 6f 66 20 74 68 65 0a 20 | er.a.particular.version.of.the.. |
ec340 | 20 20 20 4c 69 63 65 6e 73 65 2c 20 59 6f 75 20 6d 61 79 20 61 6c 77 61 79 73 20 63 6f 6e 74 69 | ...License,.You.may.always.conti |
ec360 | 6e 75 65 20 74 6f 20 75 73 65 20 69 74 20 75 6e 64 65 72 20 74 68 65 20 74 65 72 6d 73 20 6f 66 | nue.to.use.it.under.the.terms.of |
ec380 | 20 74 68 61 74 20 76 65 72 73 69 6f 6e 2e 0a 20 20 20 20 59 6f 75 20 6d 61 79 20 61 6c 73 6f 20 | .that.version......You.may.also. |
ec3a0 | 63 68 6f 6f 73 65 20 74 6f 20 75 73 65 20 73 75 63 68 20 43 6f 76 65 72 65 64 20 43 6f 64 65 20 | choose.to.use.such.Covered.Code. |
ec3c0 | 75 6e 64 65 72 20 74 68 65 20 74 65 72 6d 73 20 6f 66 20 61 6e 79 0a 20 20 20 20 73 75 62 73 65 | under.the.terms.of.any.....subse |
ec3e0 | 71 75 65 6e 74 20 76 65 72 73 69 6f 6e 20 6f 66 20 74 68 65 20 4c 69 63 65 6e 73 65 20 70 75 62 | quent.version.of.the.License.pub |
ec400 | 6c 69 73 68 65 64 20 62 79 20 4e 65 74 73 63 61 70 65 2e 20 4e 6f 20 6f 6e 65 20 6f 74 68 65 72 | lished.by.Netscape..No.one.other |
ec420 | 20 74 68 61 6e 0a 20 20 20 20 4e 65 74 73 63 61 70 65 20 68 61 73 20 74 68 65 20 72 69 67 68 74 | .than.....Netscape.has.the.right |
ec440 | 20 74 6f 20 6d 6f 64 69 66 79 20 74 68 65 20 74 65 72 6d 73 20 61 70 70 6c 69 63 61 62 6c 65 20 | .to.modify.the.terms.applicable. |
ec460 | 74 6f 20 43 6f 76 65 72 65 64 20 43 6f 64 65 0a 20 20 20 20 63 72 65 61 74 65 64 20 75 6e 64 65 | to.Covered.Code.....created.unde |
ec480 | 72 20 74 68 69 73 20 4c 69 63 65 6e 73 65 2e 3c 2f 70 3e 0a 0a 20 20 20 20 3c 68 33 20 69 64 3d | r.this.License.</p>......<h3.id= |
ec4a0 | 22 73 65 63 74 69 6f 6e 2d 36 2e 33 22 3e 36 2e 33 2e 20 44 65 72 69 76 61 74 69 76 65 20 57 6f | "section-6.3">6.3..Derivative.Wo |
ec4c0 | 72 6b 73 3c 2f 68 33 3e 0a 0a 20 20 20 20 3c 70 3e 49 66 20 59 6f 75 20 63 72 65 61 74 65 20 6f | rks</h3>......<p>If.You.create.o |
ec4e0 | 72 20 75 73 65 20 61 20 6d 6f 64 69 66 69 65 64 20 76 65 72 73 69 6f 6e 20 6f 66 20 74 68 69 73 | r.use.a.modified.version.of.this |
ec500 | 20 4c 69 63 65 6e 73 65 20 28 77 68 69 63 68 20 79 6f 75 20 6d 61 79 0a 20 20 20 20 6f 6e 6c 79 | .License.(which.you.may.....only |
ec520 | 20 64 6f 20 69 6e 20 6f 72 64 65 72 20 74 6f 20 61 70 70 6c 79 20 69 74 20 74 6f 20 63 6f 64 65 | .do.in.order.to.apply.it.to.code |
ec540 | 20 77 68 69 63 68 20 69 73 20 6e 6f 74 20 61 6c 72 65 61 64 79 20 43 6f 76 65 72 65 64 20 43 6f | .which.is.not.already.Covered.Co |
ec560 | 64 65 0a 20 20 20 20 67 6f 76 65 72 6e 65 64 20 62 79 20 74 68 69 73 20 4c 69 63 65 6e 73 65 29 | de.....governed.by.this.License) |
ec580 | 2c 20 59 6f 75 20 6d 75 73 74 20 28 61 29 20 72 65 6e 61 6d 65 20 59 6f 75 72 20 6c 69 63 65 6e | ,.You.must.(a).rename.Your.licen |
ec5a0 | 73 65 20 73 6f 20 74 68 61 74 20 74 68 65 0a 20 20 20 20 70 68 72 61 73 65 73 20 22 4d 6f 7a 69 | se.so.that.the.....phrases."Mozi |
ec5c0 | 6c 6c 61 22 2c 20 22 4d 4f 5a 49 4c 4c 41 50 4c 22 2c 20 22 4d 4f 5a 50 4c 22 2c 20 22 4e 65 74 | lla",."MOZILLAPL",."MOZPL",."Net |
ec5e0 | 73 63 61 70 65 22 2c 20 22 4d 50 4c 22 2c 20 22 4e 50 4c 22 20 6f 72 20 61 6e 79 0a 20 20 20 20 | scape",."MPL",."NPL".or.any..... |
ec600 | 63 6f 6e 66 75 73 69 6e 67 6c 79 20 73 69 6d 69 6c 61 72 20 70 68 72 61 73 65 20 64 6f 20 6e 6f | confusingly.similar.phrase.do.no |
ec620 | 74 20 61 70 70 65 61 72 20 69 6e 20 79 6f 75 72 20 6c 69 63 65 6e 73 65 20 28 65 78 63 65 70 74 | t.appear.in.your.license.(except |
ec640 | 20 74 6f 20 6e 6f 74 65 0a 20 20 20 20 74 68 61 74 20 79 6f 75 72 20 6c 69 63 65 6e 73 65 20 64 | .to.note.....that.your.license.d |
ec660 | 69 66 66 65 72 73 20 66 72 6f 6d 20 74 68 69 73 20 4c 69 63 65 6e 73 65 29 20 61 6e 64 20 28 62 | iffers.from.this.License).and.(b |
ec680 | 29 20 6f 74 68 65 72 77 69 73 65 20 6d 61 6b 65 20 69 74 0a 20 20 20 20 63 6c 65 61 72 20 74 68 | ).otherwise.make.it.....clear.th |
ec6a0 | 61 74 20 59 6f 75 72 20 76 65 72 73 69 6f 6e 20 6f 66 20 74 68 65 20 6c 69 63 65 6e 73 65 20 63 | at.Your.version.of.the.license.c |
ec6c0 | 6f 6e 74 61 69 6e 73 20 74 65 72 6d 73 20 77 68 69 63 68 20 64 69 66 66 65 72 20 66 72 6f 6d 20 | ontains.terms.which.differ.from. |
ec6e0 | 74 68 65 0a 20 20 20 20 4d 6f 7a 69 6c 6c 61 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 20 61 | the.....Mozilla.Public.License.a |
ec700 | 6e 64 20 4e 65 74 73 63 61 70 65 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 2e 20 28 46 69 6c | nd.Netscape.Public.License..(Fil |
ec720 | 6c 69 6e 67 20 69 6e 20 74 68 65 20 6e 61 6d 65 20 6f 66 0a 20 20 20 20 74 68 65 20 49 6e 69 74 | ling.in.the.name.of.....the.Init |
ec740 | 69 61 6c 20 44 65 76 65 6c 6f 70 65 72 2c 20 4f 72 69 67 69 6e 61 6c 20 43 6f 64 65 20 6f 72 20 | ial.Developer,.Original.Code.or. |
ec760 | 43 6f 6e 74 72 69 62 75 74 6f 72 20 69 6e 20 74 68 65 20 6e 6f 74 69 63 65 20 64 65 73 63 72 69 | Contributor.in.the.notice.descri |
ec780 | 62 65 64 0a 20 20 20 20 69 6e 20 3c 61 20 68 72 65 66 3d 22 23 65 78 68 69 62 69 74 2d 61 22 3e | bed.....in.<a.href="#exhibit-a"> |
ec7a0 | 45 78 68 69 62 69 74 20 41 3c 2f 61 3e 20 73 68 61 6c 6c 20 6e 6f 74 20 6f 66 20 74 68 65 6d 73 | Exhibit.A</a>.shall.not.of.thems |
ec7c0 | 65 6c 76 65 73 20 62 65 20 64 65 65 6d 65 64 20 74 6f 0a 20 20 20 20 62 65 20 6d 6f 64 69 66 69 | elves.be.deemed.to.....be.modifi |
ec7e0 | 63 61 74 69 6f 6e 73 20 6f 66 20 74 68 69 73 20 4c 69 63 65 6e 73 65 2e 29 3c 2f 70 3e 0a 0a 20 | cations.of.this.License.)</p>... |
ec800 | 20 20 20 3c 68 32 20 69 64 3d 22 73 65 63 74 69 6f 6e 2d 37 22 3e 37 2e 20 3c 73 74 72 6f 6e 67 | ...<h2.id="section-7">7..<strong |
ec820 | 20 63 6c 61 73 73 3d 22 76 65 72 79 2d 73 74 72 6f 6e 67 22 3e 44 69 73 63 6c 61 69 6d 65 72 20 | .class="very-strong">Disclaimer. |
ec840 | 6f 66 0a 20 20 20 20 77 61 72 72 61 6e 74 79 3c 2f 73 74 72 6f 6e 67 3e 3c 2f 68 32 3e 0a 0a 20 | of.....warranty</strong></h2>... |
ec860 | 20 20 20 3c 70 3e 3c 73 74 72 6f 6e 67 20 63 6c 61 73 73 3d 22 76 65 72 79 2d 73 74 72 6f 6e 67 | ...<p><strong.class="very-strong |
ec880 | 22 3e 43 6f 76 65 72 65 64 20 63 6f 64 65 20 69 73 20 70 72 6f 76 69 64 65 64 20 75 6e 64 65 72 | ">Covered.code.is.provided.under |
ec8a0 | 20 74 68 69 73 20 6c 69 63 65 6e 73 65 0a 20 20 20 20 6f 6e 20 61 6e 20 22 61 73 20 69 73 22 20 | .this.license.....on.an."as.is". |
ec8c0 | 62 61 73 69 73 2c 20 77 69 74 68 6f 75 74 20 77 61 72 72 61 6e 74 79 20 6f 66 20 61 6e 79 20 6b | basis,.without.warranty.of.any.k |
ec8e0 | 69 6e 64 2c 20 65 69 74 68 65 72 20 65 78 70 72 65 73 73 65 64 20 6f 72 0a 20 20 20 20 69 6d 70 | ind,.either.expressed.or.....imp |
ec900 | 6c 69 65 64 2c 20 69 6e 63 6c 75 64 69 6e 67 2c 20 77 69 74 68 6f 75 74 20 6c 69 6d 69 74 61 74 | lied,.including,.without.limitat |
ec920 | 69 6f 6e 2c 20 77 61 72 72 61 6e 74 69 65 73 20 74 68 61 74 20 74 68 65 20 63 6f 76 65 72 65 64 | ion,.warranties.that.the.covered |
ec940 | 20 63 6f 64 65 20 69 73 0a 20 20 20 20 66 72 65 65 20 6f 66 20 64 65 66 65 63 74 73 2c 20 6d 65 | .code.is.....free.of.defects,.me |
ec960 | 72 63 68 61 6e 74 61 62 6c 65 2c 20 66 69 74 20 66 6f 72 20 61 20 70 61 72 74 69 63 75 6c 61 72 | rchantable,.fit.for.a.particular |
ec980 | 20 70 75 72 70 6f 73 65 20 6f 72 0a 20 20 20 20 6e 6f 6e 2d 69 6e 66 72 69 6e 67 69 6e 67 2e 20 | .purpose.or.....non-infringing.. |
ec9a0 | 54 68 65 20 65 6e 74 69 72 65 20 72 69 73 6b 20 61 73 20 74 6f 20 74 68 65 20 71 75 61 6c 69 74 | The.entire.risk.as.to.the.qualit |
ec9c0 | 79 20 61 6e 64 20 70 65 72 66 6f 72 6d 61 6e 63 65 20 6f 66 20 74 68 65 0a 20 20 20 20 63 6f 76 | y.and.performance.of.the.....cov |
ec9e0 | 65 72 65 64 20 63 6f 64 65 20 69 73 20 77 69 74 68 20 79 6f 75 2e 20 53 68 6f 75 6c 64 20 61 6e | ered.code.is.with.you..Should.an |
eca00 | 79 20 63 6f 76 65 72 65 64 20 63 6f 64 65 20 70 72 6f 76 65 20 64 65 66 65 63 74 69 76 65 20 69 | y.covered.code.prove.defective.i |
eca20 | 6e 20 61 6e 79 0a 20 20 20 20 72 65 73 70 65 63 74 2c 20 79 6f 75 20 28 6e 6f 74 20 74 68 65 20 | n.any.....respect,.you.(not.the. |
eca40 | 69 6e 69 74 69 61 6c 20 64 65 76 65 6c 6f 70 65 72 20 6f 72 20 61 6e 79 20 6f 74 68 65 72 20 63 | initial.developer.or.any.other.c |
eca60 | 6f 6e 74 72 69 62 75 74 6f 72 29 20 61 73 73 75 6d 65 0a 20 20 20 20 74 68 65 20 63 6f 73 74 20 | ontributor).assume.....the.cost. |
eca80 | 6f 66 20 61 6e 79 20 6e 65 63 65 73 73 61 72 79 20 73 65 72 76 69 63 69 6e 67 2c 20 72 65 70 61 | of.any.necessary.servicing,.repa |
ecaa0 | 69 72 20 6f 72 20 63 6f 72 72 65 63 74 69 6f 6e 2e 20 54 68 69 73 20 64 69 73 63 6c 61 69 6d 65 | ir.or.correction..This.disclaime |
ecac0 | 72 0a 20 20 20 20 6f 66 20 77 61 72 72 61 6e 74 79 20 63 6f 6e 73 74 69 74 75 74 65 73 20 61 6e | r.....of.warranty.constitutes.an |
ecae0 | 20 65 73 73 65 6e 74 69 61 6c 20 70 61 72 74 20 6f 66 20 74 68 69 73 20 6c 69 63 65 6e 73 65 2e | .essential.part.of.this.license. |
ecb00 | 20 4e 6f 20 75 73 65 20 6f 66 20 61 6e 79 0a 20 20 20 20 63 6f 76 65 72 65 64 20 63 6f 64 65 20 | .No.use.of.any.....covered.code. |
ecb20 | 69 73 20 61 75 74 68 6f 72 69 7a 65 64 20 68 65 72 65 75 6e 64 65 72 20 65 78 63 65 70 74 20 75 | is.authorized.hereunder.except.u |
ecb40 | 6e 64 65 72 20 74 68 69 73 0a 20 20 20 20 64 69 73 63 6c 61 69 6d 65 72 2e 3c 2f 73 74 72 6f 6e | nder.this.....disclaimer.</stron |
ecb60 | 67 3e 3c 2f 70 3e 0a 0a 20 20 20 20 3c 68 32 20 69 64 3d 22 73 65 63 74 69 6f 6e 2d 38 22 3e 38 | g></p>......<h2.id="section-8">8 |
ecb80 | 2e 20 54 65 72 6d 69 6e 61 74 69 6f 6e 3c 2f 68 32 3e 0a 0a 20 20 20 20 3c 70 20 69 64 3d 22 73 | ..Termination</h2>......<p.id="s |
ecba0 | 65 63 74 69 6f 6e 2d 38 2e 31 22 3e 38 2e 31 2e 20 54 68 69 73 20 4c 69 63 65 6e 73 65 20 61 6e | ection-8.1">8.1..This.License.an |
ecbc0 | 64 20 74 68 65 20 72 69 67 68 74 73 20 67 72 61 6e 74 65 64 20 68 65 72 65 75 6e 64 65 72 20 77 | d.the.rights.granted.hereunder.w |
ecbe0 | 69 6c 6c 0a 20 20 20 20 74 65 72 6d 69 6e 61 74 65 20 61 75 74 6f 6d 61 74 69 63 61 6c 6c 79 20 | ill.....terminate.automatically. |
ecc00 | 69 66 20 59 6f 75 20 66 61 69 6c 20 74 6f 20 63 6f 6d 70 6c 79 20 77 69 74 68 20 74 65 72 6d 73 | if.You.fail.to.comply.with.terms |
ecc20 | 20 68 65 72 65 69 6e 20 61 6e 64 20 66 61 69 6c 20 74 6f 0a 20 20 20 20 63 75 72 65 20 73 75 63 | .herein.and.fail.to.....cure.suc |
ecc40 | 68 20 62 72 65 61 63 68 20 77 69 74 68 69 6e 20 33 30 20 64 61 79 73 20 6f 66 20 62 65 63 6f 6d | h.breach.within.30.days.of.becom |
ecc60 | 69 6e 67 20 61 77 61 72 65 20 6f 66 20 74 68 65 20 62 72 65 61 63 68 2e 20 41 6c 6c 0a 20 20 20 | ing.aware.of.the.breach..All.... |
ecc80 | 20 73 75 62 6c 69 63 65 6e 73 65 73 20 74 6f 20 74 68 65 20 43 6f 76 65 72 65 64 20 43 6f 64 65 | .sublicenses.to.the.Covered.Code |
ecca0 | 20 77 68 69 63 68 20 61 72 65 20 70 72 6f 70 65 72 6c 79 20 67 72 61 6e 74 65 64 20 73 68 61 6c | .which.are.properly.granted.shal |
eccc0 | 6c 20 73 75 72 76 69 76 65 0a 20 20 20 20 61 6e 79 20 74 65 72 6d 69 6e 61 74 69 6f 6e 20 6f 66 | l.survive.....any.termination.of |
ecce0 | 20 74 68 69 73 20 4c 69 63 65 6e 73 65 2e 20 50 72 6f 76 69 73 69 6f 6e 73 20 77 68 69 63 68 2c | .this.License..Provisions.which, |
ecd00 | 20 62 79 20 74 68 65 69 72 20 6e 61 74 75 72 65 2c 20 6d 75 73 74 0a 20 20 20 20 72 65 6d 61 69 | .by.their.nature,.must.....remai |
ecd20 | 6e 20 69 6e 20 65 66 66 65 63 74 20 62 65 79 6f 6e 64 20 74 68 65 20 74 65 72 6d 69 6e 61 74 69 | n.in.effect.beyond.the.terminati |
ecd40 | 6f 6e 20 6f 66 20 74 68 69 73 20 4c 69 63 65 6e 73 65 20 73 68 61 6c 6c 20 73 75 72 76 69 76 65 | on.of.this.License.shall.survive |
ecd60 | 2e 3c 2f 70 3e 0a 0a 20 20 20 20 3c 70 20 69 64 3d 22 73 65 63 74 69 6f 6e 2d 38 2e 32 22 3e 38 | .</p>......<p.id="section-8.2">8 |
ecd80 | 2e 32 2e 20 49 66 20 59 6f 75 20 69 6e 69 74 69 61 74 65 20 6c 69 74 69 67 61 74 69 6f 6e 20 62 | .2..If.You.initiate.litigation.b |
ecda0 | 79 20 61 73 73 65 72 74 69 6e 67 20 61 20 70 61 74 65 6e 74 0a 20 20 20 20 69 6e 66 72 69 6e 67 | y.asserting.a.patent.....infring |
ecdc0 | 65 6d 65 6e 74 20 63 6c 61 69 6d 20 28 65 78 63 6c 75 64 69 6e 67 20 64 65 63 6c 61 74 6f 72 79 | ement.claim.(excluding.declatory |
ecde0 | 20 6a 75 64 67 6d 65 6e 74 20 61 63 74 69 6f 6e 73 29 20 61 67 61 69 6e 73 74 20 49 6e 69 74 69 | .judgment.actions).against.Initi |
ece00 | 61 6c 0a 20 20 20 20 44 65 76 65 6c 6f 70 65 72 20 6f 72 20 61 20 43 6f 6e 74 72 69 62 75 74 6f | al.....Developer.or.a.Contributo |
ece20 | 72 20 28 74 68 65 20 49 6e 69 74 69 61 6c 20 44 65 76 65 6c 6f 70 65 72 20 6f 72 20 43 6f 6e 74 | r.(the.Initial.Developer.or.Cont |
ece40 | 72 69 62 75 74 6f 72 20 61 67 61 69 6e 73 74 0a 20 20 20 20 77 68 6f 6d 20 59 6f 75 20 66 69 6c | ributor.against.....whom.You.fil |
ece60 | 65 20 73 75 63 68 20 61 63 74 69 6f 6e 20 69 73 20 72 65 66 65 72 72 65 64 20 74 6f 20 61 73 20 | e.such.action.is.referred.to.as. |
ece80 | 22 50 61 72 74 69 63 69 70 61 6e 74 22 29 20 61 6c 6c 65 67 69 6e 67 0a 20 20 20 20 74 68 61 74 | "Participant").alleging.....that |
ecea0 | 3a 3c 2f 70 3e 0a 0a 20 20 20 20 3c 6f 6c 3e 0a 20 20 20 20 20 20 3c 6c 69 20 69 64 3d 22 73 65 | :</p>......<ol>.......<li.id="se |
ecec0 | 63 74 69 6f 6e 2d 38 2e 32 2d 61 22 3e 73 75 63 68 20 50 61 72 74 69 63 69 70 61 6e 74 27 73 20 | ction-8.2-a">such.Participant's. |
ecee0 | 43 6f 6e 74 72 69 62 75 74 6f 72 20 56 65 72 73 69 6f 6e 20 64 69 72 65 63 74 6c 79 20 6f 72 0a | Contributor.Version.directly.or. |
ecf00 | 20 20 20 20 20 20 69 6e 64 69 72 65 63 74 6c 79 20 69 6e 66 72 69 6e 67 65 73 20 61 6e 79 20 70 | ......indirectly.infringes.any.p |
ecf20 | 61 74 65 6e 74 2c 20 74 68 65 6e 20 61 6e 79 20 61 6e 64 20 61 6c 6c 20 72 69 67 68 74 73 20 67 | atent,.then.any.and.all.rights.g |
ecf40 | 72 61 6e 74 65 64 20 62 79 20 73 75 63 68 0a 20 20 20 20 20 20 50 61 72 74 69 63 69 70 61 6e 74 | ranted.by.such.......Participant |
ecf60 | 20 74 6f 20 59 6f 75 20 75 6e 64 65 72 20 53 65 63 74 69 6f 6e 73 20 3c 61 20 68 72 65 66 3d 22 | .to.You.under.Sections.<a.href=" |
ecf80 | 23 73 65 63 74 69 6f 6e 2d 32 2e 31 22 3e 32 2e 31 3c 2f 61 3e 20 61 6e 64 2f 6f 72 0a 20 20 20 | #section-2.1">2.1</a>.and/or.... |
ecfa0 | 20 20 20 3c 61 20 68 72 65 66 3d 22 23 73 65 63 74 69 6f 6e 2d 32 2e 32 22 3e 32 2e 32 3c 2f 61 | ...<a.href="#section-2.2">2.2</a |
ecfc0 | 3e 20 6f 66 20 74 68 69 73 20 4c 69 63 65 6e 73 65 20 73 68 61 6c 6c 2c 20 75 70 6f 6e 20 36 30 | >.of.this.License.shall,.upon.60 |
ecfe0 | 20 64 61 79 73 20 6e 6f 74 69 63 65 0a 20 20 20 20 20 20 66 72 6f 6d 20 50 61 72 74 69 63 69 70 | .days.notice.......from.Particip |
ed000 | 61 6e 74 20 74 65 72 6d 69 6e 61 74 65 20 70 72 6f 73 70 65 63 74 69 76 65 6c 79 2c 20 75 6e 6c | ant.terminate.prospectively,.unl |
ed020 | 65 73 73 20 69 66 20 77 69 74 68 69 6e 20 36 30 20 64 61 79 73 20 61 66 74 65 72 0a 20 20 20 20 | ess.if.within.60.days.after..... |
ed040 | 20 20 72 65 63 65 69 70 74 20 6f 66 20 6e 6f 74 69 63 65 20 59 6f 75 20 65 69 74 68 65 72 3a 20 | ..receipt.of.notice.You.either:. |
ed060 | 28 69 29 20 61 67 72 65 65 20 69 6e 20 77 72 69 74 69 6e 67 20 74 6f 20 70 61 79 20 50 61 72 74 | (i).agree.in.writing.to.pay.Part |
ed080 | 69 63 69 70 61 6e 74 20 61 0a 20 20 20 20 20 20 6d 75 74 75 61 6c 6c 79 20 61 67 72 65 65 61 62 | icipant.a.......mutually.agreeab |
ed0a0 | 6c 65 20 72 65 61 73 6f 6e 61 62 6c 65 20 72 6f 79 61 6c 74 79 20 66 6f 72 20 59 6f 75 72 20 70 | le.reasonable.royalty.for.Your.p |
ed0c0 | 61 73 74 20 61 6e 64 20 66 75 74 75 72 65 20 75 73 65 20 6f 66 0a 20 20 20 20 20 20 4d 6f 64 69 | ast.and.future.use.of.......Modi |
ed0e0 | 66 69 63 61 74 69 6f 6e 73 20 6d 61 64 65 20 62 79 20 73 75 63 68 20 50 61 72 74 69 63 69 70 61 | fications.made.by.such.Participa |
ed100 | 6e 74 2c 20 6f 72 20 28 69 69 29 20 77 69 74 68 64 72 61 77 20 59 6f 75 72 20 6c 69 74 69 67 61 | nt,.or.(ii).withdraw.Your.litiga |
ed120 | 74 69 6f 6e 0a 20 20 20 20 20 20 63 6c 61 69 6d 20 77 69 74 68 20 72 65 73 70 65 63 74 20 74 6f | tion.......claim.with.respect.to |
ed140 | 20 74 68 65 20 43 6f 6e 74 72 69 62 75 74 6f 72 20 56 65 72 73 69 6f 6e 20 61 67 61 69 6e 73 74 | .the.Contributor.Version.against |
ed160 | 20 73 75 63 68 20 50 61 72 74 69 63 69 70 61 6e 74 2e 0a 20 20 20 20 20 20 49 66 20 77 69 74 68 | .such.Participant........If.with |
ed180 | 69 6e 20 36 30 20 64 61 79 73 20 6f 66 20 6e 6f 74 69 63 65 2c 20 61 20 72 65 61 73 6f 6e 61 62 | in.60.days.of.notice,.a.reasonab |
ed1a0 | 6c 65 20 72 6f 79 61 6c 74 79 20 61 6e 64 20 70 61 79 6d 65 6e 74 20 61 72 72 61 6e 67 65 6d 65 | le.royalty.and.payment.arrangeme |
ed1c0 | 6e 74 0a 20 20 20 20 20 20 61 72 65 20 6e 6f 74 20 6d 75 74 75 61 6c 6c 79 20 61 67 72 65 65 64 | nt.......are.not.mutually.agreed |
ed1e0 | 20 75 70 6f 6e 20 69 6e 20 77 72 69 74 69 6e 67 20 62 79 20 74 68 65 20 70 61 72 74 69 65 73 20 | .upon.in.writing.by.the.parties. |
ed200 | 6f 72 20 74 68 65 20 6c 69 74 69 67 61 74 69 6f 6e 0a 20 20 20 20 20 20 63 6c 61 69 6d 20 69 73 | or.the.litigation.......claim.is |
ed220 | 20 6e 6f 74 20 77 69 74 68 64 72 61 77 6e 2c 20 74 68 65 20 72 69 67 68 74 73 20 67 72 61 6e 74 | .not.withdrawn,.the.rights.grant |
ed240 | 65 64 20 62 79 20 50 61 72 74 69 63 69 70 61 6e 74 20 74 6f 20 59 6f 75 20 75 6e 64 65 72 0a 20 | ed.by.Participant.to.You.under.. |
ed260 | 20 20 20 20 20 53 65 63 74 69 6f 6e 73 20 3c 61 20 68 72 65 66 3d 22 23 73 65 63 74 69 6f 6e 2d | .....Sections.<a.href="#section- |
ed280 | 32 2e 31 22 3e 32 2e 31 3c 2f 61 3e 20 61 6e 64 2f 6f 72 20 3c 61 20 68 72 65 66 3d 0a 20 20 20 | 2.1">2.1</a>.and/or.<a.href=.... |
ed2a0 | 20 20 20 22 23 73 65 63 74 69 6f 6e 2d 32 2e 32 22 3e 32 2e 32 3c 2f 61 3e 20 61 75 74 6f 6d 61 | ..."#section-2.2">2.2</a>.automa |
ed2c0 | 74 69 63 61 6c 6c 79 20 74 65 72 6d 69 6e 61 74 65 20 61 74 20 74 68 65 20 65 78 70 69 72 61 74 | tically.terminate.at.the.expirat |
ed2e0 | 69 6f 6e 20 6f 66 20 74 68 65 0a 20 20 20 20 20 20 36 30 20 64 61 79 20 6e 6f 74 69 63 65 20 70 | ion.of.the.......60.day.notice.p |
ed300 | 65 72 69 6f 64 20 73 70 65 63 69 66 69 65 64 20 61 62 6f 76 65 2e 3c 2f 6c 69 3e 0a 0a 20 20 20 | eriod.specified.above.</li>..... |
ed320 | 20 20 20 3c 6c 69 20 69 64 3d 22 73 65 63 74 69 6f 6e 2d 38 2e 32 2d 62 22 3e 61 6e 79 20 73 6f | ...<li.id="section-8.2-b">any.so |
ed340 | 66 74 77 61 72 65 2c 20 68 61 72 64 77 61 72 65 2c 20 6f 72 20 64 65 76 69 63 65 2c 20 6f 74 68 | ftware,.hardware,.or.device,.oth |
ed360 | 65 72 20 74 68 61 6e 20 73 75 63 68 0a 20 20 20 20 20 20 50 61 72 74 69 63 69 70 61 6e 74 27 73 | er.than.such.......Participant's |
ed380 | 20 43 6f 6e 74 72 69 62 75 74 6f 72 20 56 65 72 73 69 6f 6e 2c 20 64 69 72 65 63 74 6c 79 20 6f | .Contributor.Version,.directly.o |
ed3a0 | 72 20 69 6e 64 69 72 65 63 74 6c 79 20 69 6e 66 72 69 6e 67 65 73 20 61 6e 79 0a 20 20 20 20 20 | r.indirectly.infringes.any...... |
ed3c0 | 20 70 61 74 65 6e 74 2c 20 74 68 65 6e 20 61 6e 79 20 72 69 67 68 74 73 20 67 72 61 6e 74 65 64 | .patent,.then.any.rights.granted |
ed3e0 | 20 74 6f 20 59 6f 75 20 62 79 20 73 75 63 68 20 50 61 72 74 69 63 69 70 61 6e 74 20 75 6e 64 65 | .to.You.by.such.Participant.unde |
ed400 | 72 20 53 65 63 74 69 6f 6e 73 0a 20 20 20 20 20 20 32 2e 31 28 3c 61 20 68 72 65 66 3d 22 23 73 | r.Sections.......2.1(<a.href="#s |
ed420 | 65 63 74 69 6f 6e 2d 32 2e 31 2d 62 22 3e 62 3c 2f 61 3e 29 20 61 6e 64 20 32 2e 32 28 3c 61 20 | ection-2.1-b">b</a>).and.2.2(<a. |
ed440 | 68 72 65 66 3d 0a 20 20 20 20 20 20 22 23 73 65 63 74 69 6f 6e 2d 32 2e 32 2d 62 22 3e 62 3c 2f | href=......."#section-2.2-b">b</ |
ed460 | 61 3e 29 20 61 72 65 20 72 65 76 6f 6b 65 64 20 65 66 66 65 63 74 69 76 65 20 61 73 20 6f 66 20 | a>).are.revoked.effective.as.of. |
ed480 | 74 68 65 20 64 61 74 65 20 59 6f 75 20 66 69 72 73 74 0a 20 20 20 20 20 20 6d 61 64 65 2c 20 75 | the.date.You.first.......made,.u |
ed4a0 | 73 65 64 2c 20 73 6f 6c 64 2c 20 64 69 73 74 72 69 62 75 74 65 64 2c 20 6f 72 20 68 61 64 20 6d | sed,.sold,.distributed,.or.had.m |
ed4c0 | 61 64 65 2c 20 4d 6f 64 69 66 69 63 61 74 69 6f 6e 73 20 6d 61 64 65 20 62 79 20 74 68 61 74 0a | ade,.Modifications.made.by.that. |
ed4e0 | 20 20 20 20 20 20 50 61 72 74 69 63 69 70 61 6e 74 2e 3c 2f 6c 69 3e 0a 20 20 20 20 3c 2f 6f 6c | ......Participant.</li>.....</ol |
ed500 | 3e 0a 0a 20 20 20 20 3c 70 20 69 64 3d 22 73 65 63 74 69 6f 6e 2d 38 2e 33 22 3e 38 2e 33 2e 20 | >......<p.id="section-8.3">8.3.. |
ed520 | 49 66 20 59 6f 75 20 61 73 73 65 72 74 20 61 20 70 61 74 65 6e 74 20 69 6e 66 72 69 6e 67 65 6d | If.You.assert.a.patent.infringem |
ed540 | 65 6e 74 20 63 6c 61 69 6d 20 61 67 61 69 6e 73 74 0a 20 20 20 20 50 61 72 74 69 63 69 70 61 6e | ent.claim.against.....Participan |
ed560 | 74 20 61 6c 6c 65 67 69 6e 67 20 74 68 61 74 20 73 75 63 68 20 50 61 72 74 69 63 69 70 61 6e 74 | t.alleging.that.such.Participant |
ed580 | 27 73 20 43 6f 6e 74 72 69 62 75 74 6f 72 20 56 65 72 73 69 6f 6e 20 64 69 72 65 63 74 6c 79 0a | 's.Contributor.Version.directly. |
ed5a0 | 20 20 20 20 6f 72 20 69 6e 64 69 72 65 63 74 6c 79 20 69 6e 66 72 69 6e 67 65 73 20 61 6e 79 20 | ....or.indirectly.infringes.any. |
ed5c0 | 70 61 74 65 6e 74 20 77 68 65 72 65 20 73 75 63 68 20 63 6c 61 69 6d 20 69 73 20 72 65 73 6f 6c | patent.where.such.claim.is.resol |
ed5e0 | 76 65 64 20 28 73 75 63 68 20 61 73 20 62 79 0a 20 20 20 20 6c 69 63 65 6e 73 65 20 6f 72 20 73 | ved.(such.as.by.....license.or.s |
ed600 | 65 74 74 6c 65 6d 65 6e 74 29 20 70 72 69 6f 72 20 74 6f 20 74 68 65 20 69 6e 69 74 69 61 74 69 | ettlement).prior.to.the.initiati |
ed620 | 6f 6e 20 6f 66 20 70 61 74 65 6e 74 20 69 6e 66 72 69 6e 67 65 6d 65 6e 74 0a 20 20 20 20 6c 69 | on.of.patent.infringement.....li |
ed640 | 74 69 67 61 74 69 6f 6e 2c 20 74 68 65 6e 20 74 68 65 20 72 65 61 73 6f 6e 61 62 6c 65 20 76 61 | tigation,.then.the.reasonable.va |
ed660 | 6c 75 65 20 6f 66 20 74 68 65 20 6c 69 63 65 6e 73 65 73 20 67 72 61 6e 74 65 64 20 62 79 20 73 | lue.of.the.licenses.granted.by.s |
ed680 | 75 63 68 0a 20 20 20 20 50 61 72 74 69 63 69 70 61 6e 74 20 75 6e 64 65 72 20 53 65 63 74 69 6f | uch.....Participant.under.Sectio |
ed6a0 | 6e 73 20 3c 61 20 68 72 65 66 3d 22 23 73 65 63 74 69 6f 6e 2d 32 2e 31 22 3e 32 2e 31 3c 2f 61 | ns.<a.href="#section-2.1">2.1</a |
ed6c0 | 3e 20 6f 72 20 3c 61 20 68 72 65 66 3d 0a 20 20 20 20 22 23 73 65 63 74 69 6f 6e 2d 32 2e 32 22 | >.or.<a.href=....."#section-2.2" |
ed6e0 | 3e 32 2e 32 3c 2f 61 3e 20 73 68 61 6c 6c 20 62 65 20 74 61 6b 65 6e 20 69 6e 74 6f 20 61 63 63 | >2.2</a>.shall.be.taken.into.acc |
ed700 | 6f 75 6e 74 20 69 6e 20 64 65 74 65 72 6d 69 6e 69 6e 67 20 74 68 65 0a 20 20 20 20 61 6d 6f 75 | ount.in.determining.the.....amou |
ed720 | 6e 74 20 6f 72 20 76 61 6c 75 65 20 6f 66 20 61 6e 79 20 70 61 79 6d 65 6e 74 20 6f 72 20 6c 69 | nt.or.value.of.any.payment.or.li |
ed740 | 63 65 6e 73 65 2e 3c 2f 70 3e 0a 0a 20 20 20 20 3c 70 20 69 64 3d 22 73 65 63 74 69 6f 6e 2d 38 | cense.</p>......<p.id="section-8 |
ed760 | 2e 34 22 3e 38 2e 34 2e 20 49 6e 20 74 68 65 20 65 76 65 6e 74 20 6f 66 20 74 65 72 6d 69 6e 61 | .4">8.4..In.the.event.of.termina |
ed780 | 74 69 6f 6e 20 75 6e 64 65 72 20 53 65 63 74 69 6f 6e 73 20 3c 61 0a 20 20 20 20 68 72 65 66 3d | tion.under.Sections.<a.....href= |
ed7a0 | 22 23 73 65 63 74 69 6f 6e 2d 38 2e 31 22 3e 38 2e 31 3c 2f 61 3e 20 6f 72 20 3c 61 20 68 72 65 | "#section-8.1">8.1</a>.or.<a.hre |
ed7c0 | 66 3d 22 23 73 65 63 74 69 6f 6e 2d 38 2e 32 22 3e 38 2e 32 3c 2f 61 3e 20 61 62 6f 76 65 2c 20 | f="#section-8.2">8.2</a>.above,. |
ed7e0 | 61 6c 6c 0a 20 20 20 20 65 6e 64 20 75 73 65 72 20 6c 69 63 65 6e 73 65 20 61 67 72 65 65 6d 65 | all.....end.user.license.agreeme |
ed800 | 6e 74 73 20 28 65 78 63 6c 75 64 69 6e 67 20 64 69 73 74 72 69 62 75 74 6f 72 73 20 61 6e 64 20 | nts.(excluding.distributors.and. |
ed820 | 72 65 73 65 6c 6c 65 72 73 29 20 77 68 69 63 68 0a 20 20 20 20 68 61 76 65 20 62 65 65 6e 20 76 | resellers).which.....have.been.v |
ed840 | 61 6c 69 64 6c 79 20 67 72 61 6e 74 65 64 20 62 79 20 59 6f 75 20 6f 72 20 61 6e 79 20 64 69 73 | alidly.granted.by.You.or.any.dis |
ed860 | 74 72 69 62 75 74 6f 72 20 68 65 72 65 75 6e 64 65 72 20 70 72 69 6f 72 20 74 6f 0a 20 20 20 20 | tributor.hereunder.prior.to..... |
ed880 | 74 65 72 6d 69 6e 61 74 69 6f 6e 20 73 68 61 6c 6c 20 73 75 72 76 69 76 65 20 74 65 72 6d 69 6e | termination.shall.survive.termin |
ed8a0 | 61 74 69 6f 6e 2e 3c 2f 70 3e 0a 0a 20 20 20 20 3c 68 32 20 69 64 3d 22 73 65 63 74 69 6f 6e 2d | ation.</p>......<h2.id="section- |
ed8c0 | 39 22 3e 39 2e 20 3c 73 74 72 6f 6e 67 20 63 6c 61 73 73 3d 22 76 65 72 79 2d 73 74 72 6f 6e 67 | 9">9..<strong.class="very-strong |
ed8e0 | 22 3e 4c 69 6d 69 74 61 74 69 6f 6e 20 6f 66 0a 20 20 20 20 6c 69 61 62 69 6c 69 74 79 3c 2f 73 | ">Limitation.of.....liability</s |
ed900 | 74 72 6f 6e 67 3e 3c 2f 68 32 3e 0a 0a 20 20 20 20 3c 70 3e 3c 73 74 72 6f 6e 67 20 63 6c 61 73 | trong></h2>......<p><strong.clas |
ed920 | 73 3d 22 76 65 72 79 2d 73 74 72 6f 6e 67 22 3e 55 6e 64 65 72 20 6e 6f 20 63 69 72 63 75 6d 73 | s="very-strong">Under.no.circums |
ed940 | 74 61 6e 63 65 73 20 61 6e 64 20 75 6e 64 65 72 20 6e 6f 20 6c 65 67 61 6c 0a 20 20 20 20 74 68 | tances.and.under.no.legal.....th |
ed960 | 65 6f 72 79 2c 20 77 68 65 74 68 65 72 20 74 6f 72 74 20 28 69 6e 63 6c 75 64 69 6e 67 20 6e 65 | eory,.whether.tort.(including.ne |
ed980 | 67 6c 69 67 65 6e 63 65 29 2c 20 63 6f 6e 74 72 61 63 74 2c 20 6f 72 20 6f 74 68 65 72 77 69 73 | gligence),.contract,.or.otherwis |
ed9a0 | 65 2c 20 73 68 61 6c 6c 0a 20 20 20 20 79 6f 75 2c 20 74 68 65 20 69 6e 69 74 69 61 6c 20 64 65 | e,.shall.....you,.the.initial.de |
ed9c0 | 76 65 6c 6f 70 65 72 2c 20 61 6e 79 20 6f 74 68 65 72 20 63 6f 6e 74 72 69 62 75 74 6f 72 2c 20 | veloper,.any.other.contributor,. |
ed9e0 | 6f 72 20 61 6e 79 20 64 69 73 74 72 69 62 75 74 6f 72 20 6f 66 0a 20 20 20 20 63 6f 76 65 72 65 | or.any.distributor.of.....covere |
eda00 | 64 20 63 6f 64 65 2c 20 6f 72 20 61 6e 79 20 73 75 70 70 6c 69 65 72 20 6f 66 20 61 6e 79 20 6f | d.code,.or.any.supplier.of.any.o |
eda20 | 66 20 73 75 63 68 20 70 61 72 74 69 65 73 2c 20 62 65 20 6c 69 61 62 6c 65 20 74 6f 20 61 6e 79 | f.such.parties,.be.liable.to.any |
eda40 | 0a 20 20 20 20 70 65 72 73 6f 6e 20 66 6f 72 20 61 6e 79 20 69 6e 64 69 72 65 63 74 2c 20 73 70 | .....person.for.any.indirect,.sp |
eda60 | 65 63 69 61 6c 2c 20 69 6e 63 69 64 65 6e 74 61 6c 2c 20 6f 72 20 63 6f 6e 73 65 71 75 65 6e 74 | ecial,.incidental,.or.consequent |
eda80 | 69 61 6c 20 64 61 6d 61 67 65 73 20 6f 66 0a 20 20 20 20 61 6e 79 20 63 68 61 72 61 63 74 65 72 | ial.damages.of.....any.character |
edaa0 | 20 69 6e 63 6c 75 64 69 6e 67 2c 20 77 69 74 68 6f 75 74 20 6c 69 6d 69 74 61 74 69 6f 6e 2c 20 | .including,.without.limitation,. |
edac0 | 64 61 6d 61 67 65 73 20 66 6f 72 20 6c 6f 73 73 20 6f 66 20 67 6f 6f 64 77 69 6c 6c 2c 0a 20 20 | damages.for.loss.of.goodwill,... |
edae0 | 20 20 77 6f 72 6b 20 73 74 6f 70 70 61 67 65 2c 20 63 6f 6d 70 75 74 65 72 20 66 61 69 6c 75 72 | ..work.stoppage,.computer.failur |
edb00 | 65 20 6f 72 20 6d 61 6c 66 75 6e 63 74 69 6f 6e 2c 20 6f 72 20 61 6e 79 20 61 6e 64 20 61 6c 6c | e.or.malfunction,.or.any.and.all |
edb20 | 20 6f 74 68 65 72 0a 20 20 20 20 63 6f 6d 6d 65 72 63 69 61 6c 20 64 61 6d 61 67 65 73 20 6f 72 | .other.....commercial.damages.or |
edb40 | 20 6c 6f 73 73 65 73 2c 20 65 76 65 6e 20 69 66 20 73 75 63 68 20 70 61 72 74 79 20 73 68 61 6c | .losses,.even.if.such.party.shal |
edb60 | 6c 20 68 61 76 65 20 62 65 65 6e 20 69 6e 66 6f 72 6d 65 64 0a 20 20 20 20 6f 66 20 74 68 65 20 | l.have.been.informed.....of.the. |
edb80 | 70 6f 73 73 69 62 69 6c 69 74 79 20 6f 66 20 73 75 63 68 20 64 61 6d 61 67 65 73 2e 20 54 68 69 | possibility.of.such.damages..Thi |
edba0 | 73 20 6c 69 6d 69 74 61 74 69 6f 6e 20 6f 66 20 6c 69 61 62 69 6c 69 74 79 20 73 68 61 6c 6c 20 | s.limitation.of.liability.shall. |
edbc0 | 6e 6f 74 0a 20 20 20 20 61 70 70 6c 79 20 74 6f 20 6c 69 61 62 69 6c 69 74 79 20 66 6f 72 20 64 | not.....apply.to.liability.for.d |
edbe0 | 65 61 74 68 20 6f 72 20 70 65 72 73 6f 6e 61 6c 20 69 6e 6a 75 72 79 20 72 65 73 75 6c 74 69 6e | eath.or.personal.injury.resultin |
edc00 | 67 20 66 72 6f 6d 20 73 75 63 68 20 70 61 72 74 79 27 73 0a 20 20 20 20 6e 65 67 6c 69 67 65 6e | g.from.such.party's.....negligen |
edc20 | 63 65 20 74 6f 20 74 68 65 20 65 78 74 65 6e 74 20 61 70 70 6c 69 63 61 62 6c 65 20 6c 61 77 20 | ce.to.the.extent.applicable.law. |
edc40 | 70 72 6f 68 69 62 69 74 73 20 73 75 63 68 20 6c 69 6d 69 74 61 74 69 6f 6e 2e 20 53 6f 6d 65 0a | prohibits.such.limitation..Some. |
edc60 | 20 20 20 20 6a 75 72 69 73 64 69 63 74 69 6f 6e 73 20 64 6f 20 6e 6f 74 20 61 6c 6c 6f 77 20 74 | ....jurisdictions.do.not.allow.t |
edc80 | 68 65 20 65 78 63 6c 75 73 69 6f 6e 20 6f 72 20 6c 69 6d 69 74 61 74 69 6f 6e 20 6f 66 20 69 6e | he.exclusion.or.limitation.of.in |
edca0 | 63 69 64 65 6e 74 61 6c 20 6f 72 0a 20 20 20 20 63 6f 6e 73 65 71 75 65 6e 74 69 61 6c 20 64 61 | cidental.or.....consequential.da |
edcc0 | 6d 61 67 65 73 2c 20 73 6f 20 74 68 69 73 20 65 78 63 6c 75 73 69 6f 6e 20 61 6e 64 20 6c 69 6d | mages,.so.this.exclusion.and.lim |
edce0 | 69 74 61 74 69 6f 6e 20 6d 61 79 20 6e 6f 74 20 61 70 70 6c 79 20 74 6f 0a 20 20 20 20 79 6f 75 | itation.may.not.apply.to.....you |
edd00 | 2e 3c 2f 73 74 72 6f 6e 67 3e 3c 2f 70 3e 0a 0a 20 20 20 20 3c 68 32 20 69 64 3d 22 73 65 63 74 | .</strong></p>......<h2.id="sect |
edd20 | 69 6f 6e 2d 31 30 22 3e 31 30 2e 20 3c 61 62 62 72 20 74 69 74 6c 65 3d 22 55 6e 69 74 65 64 20 | ion-10">10..<abbr.title="United. |
edd40 | 53 74 61 74 65 73 22 3e 55 2e 53 2e 3c 2f 61 62 62 72 3e 20 67 6f 76 65 72 6e 6d 65 6e 74 0a 20 | States">U.S.</abbr>.government.. |
edd60 | 20 20 20 65 6e 64 20 75 73 65 72 73 3c 2f 68 32 3e 0a 0a 20 20 20 20 3c 70 3e 54 68 65 20 43 6f | ...end.users</h2>......<p>The.Co |
edd80 | 76 65 72 65 64 20 43 6f 64 65 20 69 73 20 61 20 22 63 6f 6d 6d 65 72 63 69 61 6c 20 69 74 65 6d | vered.Code.is.a."commercial.item |
edda0 | 2c 22 20 61 73 20 74 68 61 74 20 74 65 72 6d 20 69 73 20 64 65 66 69 6e 65 64 20 69 6e 20 34 38 | ,".as.that.term.is.defined.in.48 |
eddc0 | 0a 20 20 20 20 3c 61 62 62 72 3e 43 2e 46 2e 52 2e 3c 2f 61 62 62 72 3e 20 32 2e 31 30 31 20 28 | .....<abbr>C.F.R.</abbr>.2.101.( |
edde0 | 3c 61 62 62 72 20 74 69 74 6c 65 3d 22 4f 63 74 6f 62 65 72 22 3e 4f 63 74 2e 3c 2f 61 62 62 72 | <abbr.title="October">Oct.</abbr |
ede00 | 3e 20 31 39 39 35 29 2c 0a 20 20 20 20 63 6f 6e 73 69 73 74 69 6e 67 20 6f 66 20 22 63 6f 6d 6d | >.1995),.....consisting.of."comm |
ede20 | 65 72 63 69 61 6c 20 63 6f 6d 70 75 74 65 72 20 73 6f 66 74 77 61 72 65 22 20 61 6e 64 20 22 63 | ercial.computer.software".and."c |
ede40 | 6f 6d 6d 65 72 63 69 61 6c 20 63 6f 6d 70 75 74 65 72 0a 20 20 20 20 73 6f 66 74 77 61 72 65 20 | ommercial.computer.....software. |
ede60 | 64 6f 63 75 6d 65 6e 74 61 74 69 6f 6e 2c 22 20 61 73 20 73 75 63 68 20 74 65 72 6d 73 20 61 72 | documentation,".as.such.terms.ar |
ede80 | 65 20 75 73 65 64 20 69 6e 20 34 38 20 3c 61 62 62 72 3e 43 2e 46 2e 52 2e 3c 2f 61 62 62 72 3e | e.used.in.48.<abbr>C.F.R.</abbr> |
edea0 | 0a 20 20 20 20 31 32 2e 32 31 32 20 28 3c 61 62 62 72 20 74 69 74 6c 65 3d 22 53 65 70 74 65 6d | .....12.212.(<abbr.title="Septem |
edec0 | 62 65 72 22 3e 53 65 70 74 2e 3c 2f 61 62 62 72 3e 20 31 39 39 35 29 2e 20 43 6f 6e 73 69 73 74 | ber">Sept.</abbr>.1995)..Consist |
edee0 | 65 6e 74 20 77 69 74 68 20 34 38 0a 20 20 20 20 3c 61 62 62 72 3e 43 2e 46 2e 52 2e 3c 2f 61 62 | ent.with.48.....<abbr>C.F.R.</ab |
edf00 | 62 72 3e 20 31 32 2e 32 31 32 20 61 6e 64 20 34 38 20 3c 61 62 62 72 3e 43 2e 46 2e 52 2e 3c 2f | br>.12.212.and.48.<abbr>C.F.R.</ |
edf20 | 61 62 62 72 3e 20 32 32 37 2e 37 32 30 32 2d 31 20 74 68 72 6f 75 67 68 0a 20 20 20 20 32 32 37 | abbr>.227.7202-1.through.....227 |
edf40 | 2e 37 32 30 32 2d 34 20 28 4a 75 6e 65 20 31 39 39 35 29 2c 20 61 6c 6c 20 3c 61 62 62 72 3e 55 | .7202-4.(June.1995),.all.<abbr>U |
edf60 | 2e 53 2e 3c 2f 61 62 62 72 3e 20 47 6f 76 65 72 6e 6d 65 6e 74 20 45 6e 64 20 55 73 65 72 73 20 | .S.</abbr>.Government.End.Users. |
edf80 | 61 63 71 75 69 72 65 0a 20 20 20 20 43 6f 76 65 72 65 64 20 43 6f 64 65 20 77 69 74 68 20 6f 6e | acquire.....Covered.Code.with.on |
edfa0 | 6c 79 20 74 68 6f 73 65 20 72 69 67 68 74 73 20 73 65 74 20 66 6f 72 74 68 20 68 65 72 65 69 6e | ly.those.rights.set.forth.herein |
edfc0 | 2e 3c 2f 70 3e 0a 0a 20 20 20 20 3c 68 32 20 69 64 3d 22 73 65 63 74 69 6f 6e 2d 31 31 22 3e 31 | .</p>......<h2.id="section-11">1 |
edfe0 | 31 2e 20 4d 69 73 63 65 6c 6c 61 6e 65 6f 75 73 3c 2f 68 32 3e 0a 0a 20 20 20 20 3c 70 3e 54 68 | 1..Miscellaneous</h2>......<p>Th |
ee000 | 69 73 20 4c 69 63 65 6e 73 65 20 72 65 70 72 65 73 65 6e 74 73 20 74 68 65 20 63 6f 6d 70 6c 65 | is.License.represents.the.comple |
ee020 | 74 65 20 61 67 72 65 65 6d 65 6e 74 20 63 6f 6e 63 65 72 6e 69 6e 67 20 73 75 62 6a 65 63 74 20 | te.agreement.concerning.subject. |
ee040 | 6d 61 74 74 65 72 0a 20 20 20 20 68 65 72 65 6f 66 2e 20 49 66 20 61 6e 79 20 70 72 6f 76 69 73 | matter.....hereof..If.any.provis |
ee060 | 69 6f 6e 20 6f 66 20 74 68 69 73 20 4c 69 63 65 6e 73 65 20 69 73 20 68 65 6c 64 20 74 6f 20 62 | ion.of.this.License.is.held.to.b |
ee080 | 65 20 75 6e 65 6e 66 6f 72 63 65 61 62 6c 65 2c 20 73 75 63 68 0a 20 20 20 20 70 72 6f 76 69 73 | e.unenforceable,.such.....provis |
ee0a0 | 69 6f 6e 20 73 68 61 6c 6c 20 62 65 20 72 65 66 6f 72 6d 65 64 20 6f 6e 6c 79 20 74 6f 20 74 68 | ion.shall.be.reformed.only.to.th |
ee0c0 | 65 20 65 78 74 65 6e 74 20 6e 65 63 65 73 73 61 72 79 20 74 6f 20 6d 61 6b 65 20 69 74 0a 20 20 | e.extent.necessary.to.make.it... |
ee0e0 | 20 20 65 6e 66 6f 72 63 65 61 62 6c 65 2e 20 54 68 69 73 20 4c 69 63 65 6e 73 65 20 73 68 61 6c | ..enforceable..This.License.shal |
ee100 | 6c 20 62 65 20 67 6f 76 65 72 6e 65 64 20 62 79 20 43 61 6c 69 66 6f 72 6e 69 61 20 6c 61 77 20 | l.be.governed.by.California.law. |
ee120 | 70 72 6f 76 69 73 69 6f 6e 73 0a 20 20 20 20 28 65 78 63 65 70 74 20 74 6f 20 74 68 65 20 65 78 | provisions.....(except.to.the.ex |
ee140 | 74 65 6e 74 20 61 70 70 6c 69 63 61 62 6c 65 20 6c 61 77 2c 20 69 66 20 61 6e 79 2c 20 70 72 6f | tent.applicable.law,.if.any,.pro |
ee160 | 76 69 64 65 73 20 6f 74 68 65 72 77 69 73 65 29 2c 0a 20 20 20 20 65 78 63 6c 75 64 69 6e 67 20 | vides.otherwise),.....excluding. |
ee180 | 69 74 73 20 63 6f 6e 66 6c 69 63 74 2d 6f 66 2d 6c 61 77 20 70 72 6f 76 69 73 69 6f 6e 73 2e 20 | its.conflict-of-law.provisions.. |
ee1a0 | 57 69 74 68 20 72 65 73 70 65 63 74 20 74 6f 20 64 69 73 70 75 74 65 73 20 69 6e 20 77 68 69 63 | With.respect.to.disputes.in.whic |
ee1c0 | 68 0a 20 20 20 20 61 74 20 6c 65 61 73 74 20 6f 6e 65 20 70 61 72 74 79 20 69 73 20 61 20 63 69 | h.....at.least.one.party.is.a.ci |
ee1e0 | 74 69 7a 65 6e 20 6f 66 2c 20 6f 72 20 61 6e 20 65 6e 74 69 74 79 20 63 68 61 72 74 65 72 65 64 | tizen.of,.or.an.entity.chartered |
ee200 | 20 6f 72 20 72 65 67 69 73 74 65 72 65 64 20 74 6f 0a 20 20 20 20 64 6f 20 62 75 73 69 6e 65 73 | .or.registered.to.....do.busines |
ee220 | 73 20 69 6e 20 74 68 65 20 55 6e 69 74 65 64 20 53 74 61 74 65 73 20 6f 66 20 41 6d 65 72 69 63 | s.in.the.United.States.of.Americ |
ee240 | 61 2c 20 61 6e 79 20 6c 69 74 69 67 61 74 69 6f 6e 20 72 65 6c 61 74 69 6e 67 20 74 6f 0a 20 20 | a,.any.litigation.relating.to... |
ee260 | 20 20 74 68 69 73 20 4c 69 63 65 6e 73 65 20 73 68 61 6c 6c 20 62 65 20 73 75 62 6a 65 63 74 20 | ..this.License.shall.be.subject. |
ee280 | 74 6f 20 74 68 65 20 6a 75 72 69 73 64 69 63 74 69 6f 6e 20 6f 66 20 74 68 65 20 46 65 64 65 72 | to.the.jurisdiction.of.the.Feder |
ee2a0 | 61 6c 20 43 6f 75 72 74 73 20 6f 66 0a 20 20 20 20 74 68 65 20 4e 6f 72 74 68 65 72 6e 20 44 69 | al.Courts.of.....the.Northern.Di |
ee2c0 | 73 74 72 69 63 74 20 6f 66 20 43 61 6c 69 66 6f 72 6e 69 61 2c 20 77 69 74 68 20 76 65 6e 75 65 | strict.of.California,.with.venue |
ee2e0 | 20 6c 79 69 6e 67 20 69 6e 20 53 61 6e 74 61 20 43 6c 61 72 61 0a 20 20 20 20 43 6f 75 6e 74 79 | .lying.in.Santa.Clara.....County |
ee300 | 2c 20 43 61 6c 69 66 6f 72 6e 69 61 2c 20 77 69 74 68 20 74 68 65 20 6c 6f 73 69 6e 67 20 70 61 | ,.California,.with.the.losing.pa |
ee320 | 72 74 79 20 72 65 73 70 6f 6e 73 69 62 6c 65 20 66 6f 72 20 63 6f 73 74 73 2c 20 69 6e 63 6c 75 | rty.responsible.for.costs,.inclu |
ee340 | 64 69 6e 67 0a 20 20 20 20 77 69 74 68 6f 75 74 20 6c 69 6d 69 74 61 74 69 6f 6e 2c 20 63 6f 75 | ding.....without.limitation,.cou |
ee360 | 72 74 20 63 6f 73 74 73 20 61 6e 64 20 72 65 61 73 6f 6e 61 62 6c 65 20 61 74 74 6f 72 6e 65 79 | rt.costs.and.reasonable.attorney |
ee380 | 73 27 20 66 65 65 73 20 61 6e 64 0a 20 20 20 20 65 78 70 65 6e 73 65 73 2e 20 54 68 65 20 61 70 | s'.fees.and.....expenses..The.ap |
ee3a0 | 70 6c 69 63 61 74 69 6f 6e 20 6f 66 20 74 68 65 20 55 6e 69 74 65 64 20 4e 61 74 69 6f 6e 73 20 | plication.of.the.United.Nations. |
ee3c0 | 43 6f 6e 76 65 6e 74 69 6f 6e 20 6f 6e 20 43 6f 6e 74 72 61 63 74 73 20 66 6f 72 0a 20 20 20 20 | Convention.on.Contracts.for..... |
ee3e0 | 74 68 65 20 49 6e 74 65 72 6e 61 74 69 6f 6e 61 6c 20 53 61 6c 65 20 6f 66 20 47 6f 6f 64 73 20 | the.International.Sale.of.Goods. |
ee400 | 69 73 20 65 78 70 72 65 73 73 6c 79 20 65 78 63 6c 75 64 65 64 2e 20 41 6e 79 20 6c 61 77 20 6f | is.expressly.excluded..Any.law.o |
ee420 | 72 0a 20 20 20 20 72 65 67 75 6c 61 74 69 6f 6e 20 77 68 69 63 68 20 70 72 6f 76 69 64 65 73 20 | r.....regulation.which.provides. |
ee440 | 74 68 61 74 20 74 68 65 20 6c 61 6e 67 75 61 67 65 20 6f 66 20 61 20 63 6f 6e 74 72 61 63 74 20 | that.the.language.of.a.contract. |
ee460 | 73 68 61 6c 6c 20 62 65 0a 20 20 20 20 63 6f 6e 73 74 72 75 65 64 20 61 67 61 69 6e 73 74 20 74 | shall.be.....construed.against.t |
ee480 | 68 65 20 64 72 61 66 74 65 72 20 73 68 61 6c 6c 20 6e 6f 74 20 61 70 70 6c 79 20 74 6f 20 74 68 | he.drafter.shall.not.apply.to.th |
ee4a0 | 69 73 20 4c 69 63 65 6e 73 65 2e 3c 2f 70 3e 0a 0a 20 20 20 20 3c 68 32 20 69 64 3d 22 73 65 63 | is.License.</p>......<h2.id="sec |
ee4c0 | 74 69 6f 6e 2d 31 32 22 3e 31 32 2e 20 52 65 73 70 6f 6e 73 69 62 69 6c 69 74 79 20 66 6f 72 20 | tion-12">12..Responsibility.for. |
ee4e0 | 63 6c 61 69 6d 73 3c 2f 68 32 3e 0a 0a 20 20 20 20 3c 70 3e 41 73 20 62 65 74 77 65 65 6e 20 49 | claims</h2>......<p>As.between.I |
ee500 | 6e 69 74 69 61 6c 20 44 65 76 65 6c 6f 70 65 72 20 61 6e 64 20 74 68 65 20 43 6f 6e 74 72 69 62 | nitial.Developer.and.the.Contrib |
ee520 | 75 74 6f 72 73 2c 20 65 61 63 68 20 70 61 72 74 79 20 69 73 0a 20 20 20 20 72 65 73 70 6f 6e 73 | utors,.each.party.is.....respons |
ee540 | 69 62 6c 65 20 66 6f 72 20 63 6c 61 69 6d 73 20 61 6e 64 20 64 61 6d 61 67 65 73 20 61 72 69 73 | ible.for.claims.and.damages.aris |
ee560 | 69 6e 67 2c 20 64 69 72 65 63 74 6c 79 20 6f 72 20 69 6e 64 69 72 65 63 74 6c 79 2c 20 6f 75 74 | ing,.directly.or.indirectly,.out |
ee580 | 20 6f 66 0a 20 20 20 20 69 74 73 20 75 74 69 6c 69 7a 61 74 69 6f 6e 20 6f 66 20 72 69 67 68 74 | .of.....its.utilization.of.right |
ee5a0 | 73 20 75 6e 64 65 72 20 74 68 69 73 20 4c 69 63 65 6e 73 65 20 61 6e 64 20 59 6f 75 20 61 67 72 | s.under.this.License.and.You.agr |
ee5c0 | 65 65 20 74 6f 20 77 6f 72 6b 20 77 69 74 68 0a 20 20 20 20 49 6e 69 74 69 61 6c 20 44 65 76 65 | ee.to.work.with.....Initial.Deve |
ee5e0 | 6c 6f 70 65 72 20 61 6e 64 20 43 6f 6e 74 72 69 62 75 74 6f 72 73 20 74 6f 20 64 69 73 74 72 69 | loper.and.Contributors.to.distri |
ee600 | 62 75 74 65 20 73 75 63 68 20 72 65 73 70 6f 6e 73 69 62 69 6c 69 74 79 20 6f 6e 20 61 6e 0a 20 | bute.such.responsibility.on.an.. |
ee620 | 20 20 20 65 71 75 69 74 61 62 6c 65 20 62 61 73 69 73 2e 20 4e 6f 74 68 69 6e 67 20 68 65 72 65 | ...equitable.basis..Nothing.here |
ee640 | 69 6e 20 69 73 20 69 6e 74 65 6e 64 65 64 20 6f 72 20 73 68 61 6c 6c 20 62 65 20 64 65 65 6d 65 | in.is.intended.or.shall.be.deeme |
ee660 | 64 20 74 6f 0a 20 20 20 20 63 6f 6e 73 74 69 74 75 74 65 20 61 6e 79 20 61 64 6d 69 73 73 69 6f | d.to.....constitute.any.admissio |
ee680 | 6e 20 6f 66 20 6c 69 61 62 69 6c 69 74 79 2e 3c 2f 70 3e 0a 0a 20 20 20 20 3c 68 32 20 69 64 3d | n.of.liability.</p>......<h2.id= |
ee6a0 | 22 73 65 63 74 69 6f 6e 2d 31 33 22 3e 31 33 2e 20 4d 75 6c 74 69 70 6c 65 2d 6c 69 63 65 6e 73 | "section-13">13..Multiple-licens |
ee6c0 | 65 64 20 63 6f 64 65 3c 2f 68 32 3e 0a 0a 20 20 20 20 3c 70 3e 49 6e 69 74 69 61 6c 20 44 65 76 | ed.code</h2>......<p>Initial.Dev |
ee6e0 | 65 6c 6f 70 65 72 20 6d 61 79 20 64 65 73 69 67 6e 61 74 65 20 70 6f 72 74 69 6f 6e 73 20 6f 66 | eloper.may.designate.portions.of |
ee700 | 20 74 68 65 20 43 6f 76 65 72 65 64 20 43 6f 64 65 20 61 73 0a 20 20 20 20 22 4d 75 6c 74 69 70 | .the.Covered.Code.as....."Multip |
ee720 | 6c 65 2d 4c 69 63 65 6e 73 65 64 22 2e 20 22 4d 75 6c 74 69 70 6c 65 2d 4c 69 63 65 6e 73 65 64 | le-Licensed".."Multiple-Licensed |
ee740 | 22 20 6d 65 61 6e 73 20 74 68 61 74 20 74 68 65 20 49 6e 69 74 69 61 6c 20 44 65 76 65 6c 6f 70 | ".means.that.the.Initial.Develop |
ee760 | 65 72 0a 20 20 20 20 70 65 72 6d 69 74 73 20 79 6f 75 20 74 6f 20 75 74 69 6c 69 7a 65 20 70 6f | er.....permits.you.to.utilize.po |
ee780 | 72 74 69 6f 6e 73 20 6f 66 20 74 68 65 20 43 6f 76 65 72 65 64 20 43 6f 64 65 20 75 6e 64 65 72 | rtions.of.the.Covered.Code.under |
ee7a0 | 20 59 6f 75 72 20 63 68 6f 69 63 65 20 6f 66 0a 20 20 20 20 74 68 65 20 3c 61 62 62 72 3e 4d 50 | .Your.choice.of.....the.<abbr>MP |
ee7c0 | 4c 3c 2f 61 62 62 72 3e 20 6f 72 20 74 68 65 20 61 6c 74 65 72 6e 61 74 69 76 65 20 6c 69 63 65 | L</abbr>.or.the.alternative.lice |
ee7e0 | 6e 73 65 73 2c 20 69 66 20 61 6e 79 2c 20 73 70 65 63 69 66 69 65 64 20 62 79 20 74 68 65 0a 20 | nses,.if.any,.specified.by.the.. |
ee800 | 20 20 20 49 6e 69 74 69 61 6c 20 44 65 76 65 6c 6f 70 65 72 20 69 6e 20 74 68 65 20 66 69 6c 65 | ...Initial.Developer.in.the.file |
ee820 | 20 64 65 73 63 72 69 62 65 64 20 69 6e 20 3c 61 20 68 72 65 66 3d 22 23 65 78 68 69 62 69 74 2d | .described.in.<a.href="#exhibit- |
ee840 | 61 22 3e 45 78 68 69 62 69 74 0a 20 20 20 20 41 3c 2f 61 3e 2e 3c 2f 70 3e 0a 0a 20 20 20 20 3c | a">Exhibit.....A</a>.</p>......< |
ee860 | 68 32 20 69 64 3d 22 65 78 68 69 62 69 74 2d 61 22 3e 45 78 68 69 62 69 74 20 41 20 2d 20 4d 6f | h2.id="exhibit-a">Exhibit.A.-.Mo |
ee880 | 7a 69 6c 6c 61 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 2e 3c 2f 68 32 3e 0a 0a 3c 70 72 65 | zilla.Public.License.</h2>..<pre |
ee8a0 | 3e 0a 22 54 68 65 20 63 6f 6e 74 65 6e 74 73 20 6f 66 20 74 68 69 73 20 66 69 6c 65 20 61 72 65 | >."The.contents.of.this.file.are |
ee8c0 | 20 73 75 62 6a 65 63 74 20 74 6f 20 74 68 65 20 4d 6f 7a 69 6c 6c 61 20 50 75 62 6c 69 63 20 4c | .subject.to.the.Mozilla.Public.L |
ee8e0 | 69 63 65 6e 73 65 0a 56 65 72 73 69 6f 6e 20 31 2e 31 20 28 74 68 65 20 22 4c 69 63 65 6e 73 65 | icense.Version.1.1.(the."License |
ee900 | 22 29 3b 20 79 6f 75 20 6d 61 79 20 6e 6f 74 20 75 73 65 20 74 68 69 73 20 66 69 6c 65 20 65 78 | ");.you.may.not.use.this.file.ex |
ee920 | 63 65 70 74 20 69 6e 0a 63 6f 6d 70 6c 69 61 6e 63 65 20 77 69 74 68 20 74 68 65 20 4c 69 63 65 | cept.in.compliance.with.the.Lice |
ee940 | 6e 73 65 2e 20 59 6f 75 20 6d 61 79 20 6f 62 74 61 69 6e 20 61 20 63 6f 70 79 20 6f 66 20 74 68 | nse..You.may.obtain.a.copy.of.th |
ee960 | 65 20 4c 69 63 65 6e 73 65 20 61 74 0a 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c 61 2e | e.License.at.http://www.mozilla. |
ee980 | 6f 72 67 2f 4d 50 4c 2f 0a 0a 53 6f 66 74 77 61 72 65 20 64 69 73 74 72 69 62 75 74 65 64 20 75 | org/MPL/..Software.distributed.u |
ee9a0 | 6e 64 65 72 20 74 68 65 20 4c 69 63 65 6e 73 65 20 69 73 20 64 69 73 74 72 69 62 75 74 65 64 20 | nder.the.License.is.distributed. |
ee9c0 | 6f 6e 20 61 6e 20 22 41 53 20 49 53 22 0a 62 61 73 69 73 2c 20 57 49 54 48 4f 55 54 20 57 41 52 | on.an."AS.IS".basis,.WITHOUT.WAR |
ee9e0 | 52 41 4e 54 59 20 4f 46 20 41 4e 59 20 4b 49 4e 44 2c 20 65 69 74 68 65 72 20 65 78 70 72 65 73 | RANTY.OF.ANY.KIND,.either.expres |
eea00 | 73 20 6f 72 20 69 6d 70 6c 69 65 64 2e 20 53 65 65 20 74 68 65 0a 4c 69 63 65 6e 73 65 20 66 6f | s.or.implied..See.the.License.fo |
eea20 | 72 20 74 68 65 20 73 70 65 63 69 66 69 63 20 6c 61 6e 67 75 61 67 65 20 67 6f 76 65 72 6e 69 6e | r.the.specific.language.governin |
eea40 | 67 20 72 69 67 68 74 73 20 61 6e 64 20 6c 69 6d 69 74 61 74 69 6f 6e 73 0a 75 6e 64 65 72 20 74 | g.rights.and.limitations.under.t |
eea60 | 68 65 20 4c 69 63 65 6e 73 65 2e 0a 0a 54 68 65 20 4f 72 69 67 69 6e 61 6c 20 43 6f 64 65 20 69 | he.License...The.Original.Code.i |
eea80 | 73 20 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f | s.______________________________ |
eeaa0 | 5f 5f 5f 5f 5f 5f 5f 5f 2e 0a 0a 54 68 65 20 49 6e 69 74 69 61 6c 20 44 65 76 65 6c 6f 70 65 72 | ________...The.Initial.Developer |
eeac0 | 20 6f 66 20 74 68 65 20 4f 72 69 67 69 6e 61 6c 20 43 6f 64 65 20 69 73 20 5f 5f 5f 5f 5f 5f 5f | .of.the.Original.Code.is._______ |
eeae0 | 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 2e 0a 50 6f 72 74 69 6f 6e 73 20 63 72 65 61 | _________________..Portions.crea |
eeb00 | 74 65 64 20 62 79 20 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 20 61 72 | ted.by.______________________.ar |
eeb20 | 65 20 43 6f 70 79 72 69 67 68 74 20 28 43 29 20 5f 5f 5f 5f 5f 5f 0a 5f 5f 5f 5f 5f 5f 5f 5f 5f | e.Copyright.(C).______._________ |
eeb40 | 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 2e 20 41 6c 6c 20 52 69 67 68 74 73 20 52 65 73 65 72 | ______________..All.Rights.Reser |
eeb60 | 76 65 64 2e 0a 0a 43 6f 6e 74 72 69 62 75 74 6f 72 28 73 29 3a 20 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f | ved...Contributor(s):.__________ |
eeb80 | 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 2e 0a 0a 41 | ____________________________...A |
eeba0 | 6c 74 65 72 6e 61 74 69 76 65 6c 79 2c 20 74 68 65 20 63 6f 6e 74 65 6e 74 73 20 6f 66 20 74 68 | lternatively,.the.contents.of.th |
eebc0 | 69 73 20 66 69 6c 65 20 6d 61 79 20 62 65 20 75 73 65 64 20 75 6e 64 65 72 20 74 68 65 20 74 65 | is.file.may.be.used.under.the.te |
eebe0 | 72 6d 73 0a 6f 66 20 74 68 65 20 5f 5f 5f 5f 5f 20 6c 69 63 65 6e 73 65 20 28 74 68 65 20 20 22 | rms.of.the._____.license.(the.." |
eec00 | 5b 5f 5f 5f 5d 20 4c 69 63 65 6e 73 65 22 29 2c 20 69 6e 20 77 68 69 63 68 20 63 61 73 65 20 74 | [___].License"),.in.which.case.t |
eec20 | 68 65 0a 70 72 6f 76 69 73 69 6f 6e 73 20 6f 66 20 5b 5f 5f 5f 5f 5f 5f 5d 20 4c 69 63 65 6e 73 | he.provisions.of.[______].Licens |
eec40 | 65 20 61 72 65 20 61 70 70 6c 69 63 61 62 6c 65 20 69 6e 73 74 65 61 64 20 6f 66 20 74 68 6f 73 | e.are.applicable.instead.of.thos |
eec60 | 65 0a 61 62 6f 76 65 2e 20 49 66 20 79 6f 75 20 77 69 73 68 20 74 6f 20 61 6c 6c 6f 77 20 75 73 | e.above..If.you.wish.to.allow.us |
eec80 | 65 20 6f 66 20 79 6f 75 72 20 76 65 72 73 69 6f 6e 20 6f 66 20 74 68 69 73 20 66 69 6c 65 20 6f | e.of.your.version.of.this.file.o |
eeca0 | 6e 6c 79 0a 75 6e 64 65 72 20 74 68 65 20 74 65 72 6d 73 20 6f 66 20 74 68 65 20 5b 5f 5f 5f 5f | nly.under.the.terms.of.the.[____ |
eecc0 | 5d 20 4c 69 63 65 6e 73 65 20 61 6e 64 20 6e 6f 74 20 74 6f 20 61 6c 6c 6f 77 20 6f 74 68 65 72 | ].License.and.not.to.allow.other |
eece0 | 73 20 74 6f 20 75 73 65 0a 79 6f 75 72 20 76 65 72 73 69 6f 6e 20 6f 66 20 74 68 69 73 20 66 69 | s.to.use.your.version.of.this.fi |
eed00 | 6c 65 20 75 6e 64 65 72 20 74 68 65 20 4d 50 4c 2c 20 69 6e 64 69 63 61 74 65 20 79 6f 75 72 20 | le.under.the.MPL,.indicate.your. |
eed20 | 64 65 63 69 73 69 6f 6e 20 62 79 0a 64 65 6c 65 74 69 6e 67 20 74 68 65 20 70 72 6f 76 69 73 69 | decision.by.deleting.the.provisi |
eed40 | 6f 6e 73 20 61 62 6f 76 65 20 61 6e 64 20 72 65 70 6c 61 63 65 20 74 68 65 6d 20 77 69 74 68 20 | ons.above.and.replace.them.with. |
eed60 | 74 68 65 20 6e 6f 74 69 63 65 20 61 6e 64 0a 6f 74 68 65 72 20 70 72 6f 76 69 73 69 6f 6e 73 20 | the.notice.and.other.provisions. |
eed80 | 72 65 71 75 69 72 65 64 20 62 79 20 74 68 65 20 5b 5f 5f 5f 5d 20 4c 69 63 65 6e 73 65 2e 20 49 | required.by.the.[___].License..I |
eeda0 | 66 20 79 6f 75 20 64 6f 20 6e 6f 74 20 64 65 6c 65 74 65 0a 74 68 65 20 70 72 6f 76 69 73 69 6f | f.you.do.not.delete.the.provisio |
eedc0 | 6e 73 20 61 62 6f 76 65 2c 20 61 20 72 65 63 69 70 69 65 6e 74 20 6d 61 79 20 75 73 65 20 79 6f | ns.above,.a.recipient.may.use.yo |
eede0 | 75 72 20 76 65 72 73 69 6f 6e 20 6f 66 20 74 68 69 73 20 66 69 6c 65 0a 75 6e 64 65 72 20 65 69 | ur.version.of.this.file.under.ei |
eee00 | 74 68 65 72 20 74 68 65 20 4d 50 4c 20 6f 72 20 74 68 65 20 5b 5f 5f 5f 5d 20 4c 69 63 65 6e 73 | ther.the.MPL.or.the.[___].Licens |
eee20 | 65 2e 22 0a 3c 2f 70 72 65 3e 0a 0a 20 20 20 20 3c 70 3e 4e 4f 54 45 3a 20 54 68 65 20 74 65 78 | e.".</pre>......<p>NOTE:.The.tex |
eee40 | 74 20 6f 66 20 74 68 69 73 20 45 78 68 69 62 69 74 20 41 20 6d 61 79 20 64 69 66 66 65 72 20 73 | t.of.this.Exhibit.A.may.differ.s |
eee60 | 6c 69 67 68 74 6c 79 20 66 72 6f 6d 20 74 68 65 20 74 65 78 74 20 6f 66 0a 20 20 20 20 74 68 65 | lightly.from.the.text.of.....the |
eee80 | 20 6e 6f 74 69 63 65 73 20 69 6e 20 74 68 65 20 53 6f 75 72 63 65 20 43 6f 64 65 20 66 69 6c 65 | .notices.in.the.Source.Code.file |
eeea0 | 73 20 6f 66 20 74 68 65 20 4f 72 69 67 69 6e 61 6c 20 43 6f 64 65 2e 20 59 6f 75 20 73 68 6f 75 | s.of.the.Original.Code..You.shou |
eeec0 | 6c 64 20 75 73 65 0a 20 20 20 20 74 68 65 20 74 65 78 74 20 6f 66 20 74 68 69 73 20 45 78 68 69 | ld.use.....the.text.of.this.Exhi |
eeee0 | 62 69 74 20 41 20 72 61 74 68 65 72 20 74 68 61 6e 20 74 68 65 20 74 65 78 74 20 66 6f 75 6e 64 | bit.A.rather.than.the.text.found |
eef00 | 20 69 6e 20 74 68 65 20 4f 72 69 67 69 6e 61 6c 20 43 6f 64 65 0a 20 20 20 20 53 6f 75 72 63 65 | .in.the.Original.Code.....Source |
eef20 | 20 43 6f 64 65 20 66 6f 72 20 59 6f 75 72 20 4d 6f 64 69 66 69 63 61 74 69 6f 6e 73 2e 3c 2f 70 | .Code.for.Your.Modifications.</p |
eef40 | 3e 0a 0a 20 20 20 20 3c 68 72 3e 0a 20 20 20 20 0a 20 20 20 20 3c 68 32 3e 3c 61 20 6e 61 6d 65 | >......<hr>..........<h2><a.name |
eef60 | 3d 22 69 6e 69 74 69 61 6c 2d 64 65 76 65 6c 6f 70 65 72 73 22 3e 3c 2f 61 3e 49 6e 69 74 69 61 | ="initial-developers"></a>Initia |
eef80 | 6c 20 44 65 76 65 6c 6f 70 65 72 73 3c 2f 68 32 3e 0a 20 20 20 20 0a 20 20 20 20 3c 70 3e 0a 20 | l.Developers</h2>..........<p>.. |
eefa0 | 20 20 20 20 20 49 6e 20 61 63 63 6f 72 64 61 6e 63 65 20 77 69 74 68 20 4d 50 4c 20 0a 20 20 20 | .....In.accordance.with.MPL..... |
eefc0 | 20 20 20 3c 61 20 68 72 65 66 3d 22 61 62 6f 75 74 3a 6c 69 63 65 6e 73 65 23 73 65 63 74 69 6f | ...<a.href="about:license#sectio |
eefe0 | 6e 2d 33 2e 33 22 3e 73 65 63 74 69 6f 6e 20 33 2e 33 3c 2f 61 3e 2c 20 77 65 20 73 74 61 74 65 | n-3.3">section.3.3</a>,.we.state |
ef000 | 20 74 68 61 74 20 74 68 69 73 20 0a 20 20 20 20 20 20 73 6f 66 74 77 61 72 65 20 69 73 20 64 65 | .that.this........software.is.de |
ef020 | 72 69 76 65 64 2c 20 64 69 72 65 63 74 6c 79 20 6f 72 20 69 6e 64 69 72 65 63 74 6c 79 2c 20 66 | rived,.directly.or.indirectly,.f |
ef040 | 72 6f 6d 20 4f 72 69 67 69 6e 61 6c 20 43 6f 64 65 20 70 72 6f 76 69 64 65 64 0a 20 20 20 20 20 | rom.Original.Code.provided...... |
ef060 | 20 62 79 20 73 6f 6d 65 20 6f 72 20 61 6c 6c 20 6f 66 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 | .by.some.or.all.of.the.following |
ef080 | 20 70 65 6f 70 6c 65 2c 20 63 6f 6d 70 61 6e 69 65 73 20 61 6e 64 20 6f 72 67 61 6e 69 73 61 74 | .people,.companies.and.organisat |
ef0a0 | 69 6f 6e 73 3a 0a 20 20 20 20 3c 2f 70 3e 0a 20 20 20 20 0a 20 20 20 20 3c 70 3e 0a 3c 21 2d 2d | ions:.....</p>..........<p>.<!-- |
ef0c0 | 20 54 68 69 73 20 6c 69 73 74 20 63 72 65 61 74 65 64 20 66 72 6f 6d 20 6d 6f 7a 69 6c 6c 61 2d | .This.list.created.from.mozilla- |
ef0e0 | 31 2e 39 2e 31 20 61 6e 64 20 63 6f 6d 6d 2d 63 65 6e 74 72 61 6c 20 6f 6e 20 32 30 30 39 2d 30 | 1.9.1.and.comm-central.on.2009-0 |
ef100 | 36 2d 30 39 2e 0a 20 20 20 20 20 49 74 20 77 61 73 20 63 72 65 61 74 65 64 20 75 73 69 6e 67 20 | 6-09.......It.was.created.using. |
ef120 | 61 20 6d 6f 64 69 66 69 65 64 20 76 65 72 73 69 6f 6e 20 6f 66 20 74 68 65 20 22 72 65 6c 69 63 | a.modified.version.of.the."relic |
ef140 | 22 20 73 63 72 69 70 74 20 69 6e 0a 20 20 20 20 20 74 6f 6f 6c 73 2f 72 65 6c 69 63 2c 20 61 6c | ".script.in......tools/relic,.al |
ef160 | 6f 6e 67 20 77 69 74 68 20 74 68 65 20 6d 61 6b 65 2d 69 64 2d 6c 69 73 74 20 73 63 72 69 70 74 | ong.with.the.make-id-list.script |
ef180 | 20 69 6e 20 74 68 65 20 73 61 6d 65 20 64 69 72 65 63 74 6f 72 79 2e 0a 20 20 20 20 20 53 65 65 | .in.the.same.directory.......See |
ef1a0 | 20 74 68 65 20 63 6f 6d 6d 65 6e 74 73 20 69 6e 20 6d 61 6b 65 2d 69 64 2d 6c 69 73 74 20 66 6f | .the.comments.in.make-id-list.fo |
ef1c0 | 72 20 69 6e 73 74 72 75 63 74 69 6f 6e 73 20 6f 6e 20 68 6f 77 20 74 6f 20 72 65 67 65 6e 65 72 | r.instructions.on.how.to.regener |
ef1e0 | 61 74 65 2e 0a 20 2d 2d 3e 20 20 20 20 0a 0a 41 61 72 6f 6e 20 4c 65 76 65 6e 74 68 61 6c 2c 0a | ate...-->......Aaron.Leventhal,. |
ef200 | 41 61 72 6f 6e 20 4e 6f 77 61 63 6b 2c 0a 41 61 72 6f 6e 20 54 72 61 69 6e 2c 0a 41 63 74 69 76 | Aaron.Nowack,.Aaron.Train,.Activ |
ef220 | 65 53 74 61 74 65 20 54 6f 6f 6c 20 43 6f 72 70 2c 0a 41 64 6f 62 65 20 53 79 73 74 65 6d 20 49 | eState.Tool.Corp,.Adobe.System.I |
ef240 | 6e 63 6f 72 70 6f 72 61 74 65 64 2c 0a 41 6b 6b 61 6e 61 20 50 65 63 6b 2c 0a 41 6c 65 78 20 46 | ncorporated,.Akkana.Peck,.Alex.F |
ef260 | 72 69 74 7a 65 2c 0a 41 6c 65 78 61 6e 64 65 72 20 4a 2e 20 56 69 6e 63 65 6e 74 2c 0a 41 6c 66 | ritze,.Alexander.J..Vincent,.Alf |
ef280 | 72 65 64 20 50 65 6e 67 2c 0a 41 6c 69 63 65 20 4e 6f 64 65 6c 6d 61 6e 2c 0a 41 6e 64 72 65 61 | red.Peng,.Alice.Nodelman,.Andrea |
ef2a0 | 73 20 47 61 6c 2c 0a 41 6e 64 72 65 61 73 20 4f 74 74 65 2c 0a 41 6e 64 72 65 77 20 54 68 6f 6d | s.Gal,.Andreas.Otte,.Andrew.Thom |
ef2c0 | 70 73 6f 6e 2c 0a 41 72 65 6e 74 4a 61 6e 20 42 61 6e 63 6b 2c 0a 41 73 61 66 20 52 6f 6d 61 6e | pson,.ArentJan.Banck,.Asaf.Roman |
ef2e0 | 6f 2c 0a 41 78 65 6c 20 48 65 63 68 74 2c 0a 42 65 6e 20 42 75 63 6b 73 63 68 2c 0a 42 65 6e 20 | o,.Axel.Hecht,.Ben.Bucksch,.Ben. |
ef300 | 47 6f 6f 64 67 65 72 2c 0a 42 65 6e 20 54 75 72 6e 65 72 2c 0a 42 65 6e 6a 61 6d 69 6e 20 53 6d | Goodger,.Ben.Turner,.Benjamin.Sm |
ef320 | 65 64 62 65 72 67 2c 0a 42 65 72 65 6e 64 20 43 6f 72 6e 65 6c 69 75 73 2c 0a 42 65 72 6e 64 20 | edberg,.Berend.Cornelius,.Bernd. |
ef340 | 4d 69 65 6c 6b 65 2c 0a 42 6a 26 6f 75 6d 6c 3b 72 6e 20 4a 61 63 6b 65 2c 0a 42 6c 61 6b 65 20 | Mielke,.Björn.Jacke,.Blake. |
ef360 | 52 6f 73 73 2c 0a 42 6c 75 65 20 53 74 61 74 69 63 2c 0a 42 6f 72 69 73 20 5a 62 61 72 73 6b 79 | Ross,.Blue.Static,.Boris.Zbarsky |
ef380 | 2c 0a 42 72 61 64 20 4c 61 73 73 65 79 2c 0a 42 72 61 64 6c 65 79 20 42 61 65 74 7a 2c 0a 42 72 | ,.Brad.Lassey,.Bradley.Baetz,.Br |
ef3a0 | 65 6e 64 61 6e 20 45 69 63 68 2c 0a 42 72 69 61 6e 20 42 6f 62 65 72 2c 0a 42 72 69 61 6e 20 43 | endan.Eich,.Brian.Bober,.Brian.C |
ef3c0 | 72 6f 77 64 65 72 2c 0a 42 72 69 61 6e 20 52 79 6e 65 72 2c 0a 42 72 75 6e 6f 20 42 72 6f 77 6e | rowder,.Brian.Ryner,.Bruno.Brown |
ef3e0 | 69 6e 67 2c 0a 42 72 75 6e 6f 20 45 73 63 68 65 72 6c 2c 0a 42 72 75 6e 6f 20 48 61 69 62 6c 65 | ing,.Bruno.Escherl,.Bruno.Haible |
ef400 | 2c 0a 43 61 69 6f 20 54 69 61 67 6f 20 4f 6c 69 76 65 69 72 61 2c 0a 43 68 69 6e 6d 61 79 20 44 | ,.Caio.Tiago.Oliveira,.Chinmay.D |
ef420 | 65 65 70 61 6b 62 68 61 69 20 50 61 74 65 6c 2c 0a 43 68 72 69 73 20 44 6f 75 62 6c 65 2c 0a 43 | eepakbhai.Patel,.Chris.Double,.C |
ef440 | 68 72 69 73 20 4d 63 41 66 65 65 2c 0a 43 68 72 69 73 74 69 61 6e 20 42 69 65 73 69 6e 67 65 72 | hris.McAfee,.Christian.Biesinger |
ef460 | 2c 0a 43 68 72 69 73 74 6f 70 68 65 72 20 41 2e 20 41 69 6c 6c 6f 6e 2c 0a 43 68 72 69 73 74 6f | ,.Christopher.A..Aillon,.Christo |
ef480 | 70 68 65 72 20 42 6c 69 7a 7a 61 72 64 2c 0a 43 68 72 69 73 74 6f 70 68 65 72 20 48 6f 65 73 73 | pher.Blizzard,.Christopher.Hoess |
ef4a0 | 2c 0a 43 68 72 69 73 74 6f 70 68 65 72 20 53 65 61 77 6f 6f 64 2c 0a 43 6c 69 6e 74 20 54 61 6c | ,.Christopher.Seawood,.Clint.Tal |
ef4c0 | 62 65 72 74 2c 0a 43 72 61 69 67 20 54 6f 70 70 65 72 2c 0a 43 72 6f 63 6f 64 69 6c 65 20 43 6c | bert,.Craig.Topper,.Crocodile.Cl |
ef4e0 | 69 70 73 20 4c 74 64 2c 0a 43 53 49 52 4f 2c 0a 43 79 72 75 73 20 50 61 74 65 6c 2c 0a 44 26 61 | ips.Ltd,.CSIRO,.Cyrus.Patel,.D&a |
ef500 | 74 69 6c 64 65 3b 6f 20 47 6f 74 74 77 61 6c 64 2c 0a 44 61 69 6e 69 73 20 4a 6f 6e 69 74 69 73 | tilde;o.Gottwald,.Dainis.Jonitis |
ef520 | 2c 0a 44 61 6e 20 4d 6f 73 65 64 61 6c 65 2c 0a 44 61 6e 69 65 6c 20 42 6f 65 6c 7a 6c 65 2c 0a | ,.Dan.Mosedale,.Daniel.Boelzle,. |
ef540 | 44 61 6e 69 65 6c 20 42 72 6f 6f 6b 73 2c 0a 44 61 6e 69 65 6c 20 47 6c 61 7a 6d 61 6e 2c 0a 44 | Daniel.Brooks,.Daniel.Glazman,.D |
ef560 | 61 6e 69 65 6c 20 4b 6f 75 72 69 6c 2c 0a 44 61 6e 69 65 6c 20 57 69 74 74 65 2c 0a 44 61 6e 74 | aniel.Kouril,.Daniel.Witte,.Dant |
ef580 | 69 66 65 72 20 44 61 6e 67 2c 0a 44 61 72 69 6e 20 46 69 73 68 65 72 2c 0a 44 61 76 65 20 4c 69 | ifer.Dang,.Darin.Fisher,.Dave.Li |
ef5a0 | 65 62 72 65 69 63 68 2c 0a 44 61 76 65 20 54 6f 77 6e 73 65 6e 64 2c 0a 44 61 76 69 64 20 41 73 | ebreich,.Dave.Townsend,.David.As |
ef5c0 | 63 68 65 72 2c 0a 44 61 76 69 64 20 42 69 65 6e 76 65 6e 75 2c 0a 44 61 76 69 64 20 42 72 61 64 | cher,.David.Bienvenu,.David.Brad |
ef5e0 | 6c 65 79 2c 0a 44 61 76 69 64 20 45 69 6e 73 74 65 69 6e 2c 0a 44 61 76 69 64 20 48 61 6d 70 2d | ley,.David.Einstein,.David.Hamp- |
ef600 | 47 6f 6e 73 61 6c 76 65 73 2c 0a 44 61 76 69 64 20 48 79 61 74 74 2c 0a 44 61 76 69 64 20 50 2e | Gonsalves,.David.Hyatt,.David.P. |
ef620 | 20 43 61 6c 64 77 65 6c 6c 2c 0a 44 69 61 6e 65 20 54 72 6f 75 74 2c 0a 44 69 65 74 72 69 63 68 | .Caldwell,.Diane.Trout,.Dietrich |
ef640 | 20 41 79 61 6c 61 2c 0a 44 69 67 69 74 61 6c 20 43 72 65 61 74 69 6f 6e 73 20 32 20 49 6e 63 2c | .Ayala,.Digital.Creations.2.Inc, |
ef660 | 0a 44 69 73 72 75 70 74 69 76 65 20 49 6e 6e 6f 76 61 74 69 6f 6e 73 20 53 41 52 4c 2c 0a 44 6f | .Disruptive.Innovations.SARL,.Do |
ef680 | 72 6f 6e 20 52 6f 73 65 6e 62 65 72 67 2c 0a 44 6f 75 67 20 54 75 72 6e 65 72 2c 0a 45 64 77 61 | ron.Rosenberg,.Doug.Turner,.Edwa |
ef6a0 | 72 64 20 4c 65 65 2c 0a 45 68 73 61 6e 20 41 6b 68 67 61 72 69 2c 0a 45 6c 69 6b 61 20 4a 2e 20 | rd.Lee,.Ehsan.Akhgari,.Elika.J.. |
ef6c0 | 45 74 65 6d 61 64 2c 0a 45 72 69 63 20 42 65 6c 68 61 69 72 65 2c 0a 45 72 69 63 20 48 6f 64 65 | Etemad,.Eric.Belhaire,.Eric.Hode |
ef6e0 | 6c 2c 0a 45 73 62 65 6e 20 4d 6f 73 65 20 48 61 6e 73 65 6e 2c 0a 46 6c 6f 72 69 61 6e 20 51 75 | l,.Esben.Mose.Hansen,.Florian.Qu |
ef700 | 65 7a 65 2c 0a 46 72 61 6e 6b 20 53 63 68 26 6f 75 6d 6c 3b 6e 68 65 69 74 2c 0a 46 72 65 64 20 | eze,.Frank.Schönheit,.Fred. |
ef720 | 4a 65 6e 64 72 7a 65 6a 65 77 73 6b 69 2c 0a 46 72 65 64 72 69 6b 20 48 6f 6c 6d 71 76 69 73 74 | Jendrzejewski,.Fredrik.Holmqvist |
ef740 | 2c 0a 47 61 76 69 6e 20 53 68 61 72 70 2c 0a 47 65 72 76 61 73 65 20 4d 61 72 6b 68 61 6d 2c 0a | ,.Gavin.Sharp,.Gervase.Markham,. |
ef760 | 47 69 6a 73 20 4b 72 75 69 74 62 6f 73 63 68 2c 0a 47 69 6f 72 67 69 6f 20 4d 61 6f 6e 65 2c 0a | Gijs.Kruitbosch,.Giorgio.Maone,. |
ef780 | 47 6f 6f 67 6c 65 20 49 6e 63 2c 0a 47 72 61 65 6d 65 20 4d 63 43 75 74 63 68 65 6f 6e 2c 0a 48 | Google.Inc,.Graeme.McCutcheon,.H |
ef7a0 | 26 61 72 69 6e 67 3b 6b 61 6e 20 57 61 61 72 61 2c 0a 48 65 72 69 6f 74 2d 57 61 74 74 20 55 6e | åkan.Waara,.Heriot-Watt.Un |
ef7c0 | 69 76 65 72 73 69 74 79 2c 0a 48 65 77 6c 65 74 74 2d 50 61 63 6b 61 72 64 20 43 6f 6d 70 61 6e | iversity,.Hewlett-Packard.Compan |
ef7e0 | 79 2c 0a 48 6f 6e 7a 61 20 42 61 6d 62 61 73 2c 0a 69 2d 44 4e 53 2e 6e 65 74 20 49 6e 74 65 72 | y,.Honza.Bambas,.i-DNS.net.Inter |
ef800 | 6e 61 74 69 6f 6e 61 6c 2c 0a 49 61 6e 20 48 69 63 6b 73 6f 6e 2c 0a 49 61 6e 20 4e 65 61 6c 2c | national,.Ian.Hickson,.Ian.Neal, |
ef820 | 0a 49 61 6e 20 4f 65 73 63 68 67 65 72 2c 0a 49 42 4d 20 43 6f 72 70 6f 72 61 74 69 6f 6e 2c 0a | .Ian.Oeschger,.IBM.Corporation,. |
ef840 | 49 67 6f 72 20 42 75 6b 61 6e 6f 76 2c 0a 49 6e 6e 6f 54 65 6b 20 53 79 73 74 65 6d 62 65 72 61 | Igor.Bukanov,.InnoTek.Systembera |
ef860 | 74 75 6e 67 20 47 6d 62 48 2c 0a 49 6e 74 65 6c 20 43 6f 72 70 6f 72 61 74 69 6f 6e 2c 0a 4a 61 | tung.GmbH,.Intel.Corporation,.Ja |
ef880 | 6d 65 73 20 42 6f 73 74 6f 6e 2c 0a 4a 61 6d 65 73 20 4c 2e 20 4e 61 6e 63 65 2c 0a 4a 61 6d 69 | mes.Boston,.James.L..Nance,.Jami |
ef8a0 | 65 20 5a 61 77 69 6e 73 6b 69 2c 0a 4a 61 6e 20 56 61 72 67 61 2c 0a 4a 61 6e 20 57 72 6f 62 65 | e.Zawinski,.Jan.Varga,.Jan.Wrobe |
ef8c0 | 6c 2c 0a 4a 61 73 6f 6e 20 42 61 72 6e 61 62 65 2c 0a 4a 61 73 6f 6e 20 4f 72 65 6e 64 6f 72 66 | l,.Jason.Barnabe,.Jason.Orendorf |
ef8e0 | 66 2c 0a 4a 65 61 6e 2d 46 72 61 6e 63 6f 69 73 20 44 75 63 61 72 72 6f 7a 2c 0a 4a 65 66 66 20 | f,.Jean-Francois.Ducarroz,.Jeff. |
ef900 | 54 73 61 69 2c 0a 4a 65 66 66 20 57 61 6c 64 65 6e 2c 0a 4a 69 6d 20 42 6c 61 6e 64 79 2c 0a 4a | Tsai,.Jeff.Walden,.Jim.Blandy,.J |
ef920 | 69 6d 20 4d 61 74 68 69 65 73 2c 0a 4a 6f 65 20 48 65 77 69 74 74 2c 0a 4a 6f 65 79 20 4d 69 6e | im.Mathies,.Joe.Hewitt,.Joey.Min |
ef940 | 74 61 2c 0a 4a 6f 68 6e 20 42 2e 20 4b 65 69 73 65 72 2c 0a 4a 6f 68 6e 20 43 2e 20 47 72 69 67 | ta,.John.B..Keiser,.John.C..Grig |
ef960 | 67 73 2c 0a 4a 6f 68 6e 20 46 61 69 72 68 75 72 73 74 2c 0a 4a 6f 68 6e 20 57 6f 6c 66 65 2c 0a | gs,.John.Fairhurst,.John.Wolfe,. |
ef980 | 4a 6f 6e 61 73 20 53 69 63 6b 69 6e 67 2c 0a 4a 6f 6e 61 74 68 61 6e 20 57 61 74 74 2c 0a 4a 6f | Jonas.Sicking,.Jonathan.Watt,.Jo |
ef9a0 | 73 68 20 47 65 65 6e 65 6e 2c 0a 4a 6f 73 68 20 53 6f 72 65 66 2c 0a 4a 6f 73 68 75 61 20 43 72 | sh.Geenen,.Josh.Soref,.Joshua.Cr |
ef9c0 | 61 6e 6d 65 72 2c 0a 4a 75 61 6e 20 4c 61 6e 67 2c 0a 4a 75 6e 67 73 68 69 6b 20 53 68 69 6e 2c | anmer,.Juan.Lang,.Jungshik.Shin, |
ef9e0 | 0a 4a 75 73 73 69 20 4b 75 6b 6b 6f 6e 65 6e 2c 0a 4b 61 72 73 74 65 6e 20 44 26 75 75 6d 6c 3b | .Jussi.Kukkonen,.Karsten.Dü |
efa00 | 73 74 65 72 6c 6f 68 2c 0a 4b 61 74 68 6c 65 65 6e 20 42 72 61 64 65 2c 0a 4b 65 69 74 68 20 56 | sterloh,.Kathleen.Brade,.Keith.V |
efa20 | 69 73 63 6f 2c 0a 4b 65 6e 20 48 65 72 72 6f 6e 2c 0a 4b 65 6e 74 20 4a 61 6d 65 73 2c 0a 4b 65 | isco,.Ken.Herron,.Kent.James,.Ke |
efa40 | 76 69 6e 20 47 65 72 69 63 68 2c 0a 4b 65 76 69 6e 20 48 65 6e 64 72 69 63 6b 73 2c 0a 4b 69 70 | vin.Gerich,.Kevin.Hendricks,.Kip |
efa60 | 70 20 45 2e 42 2e 20 48 69 63 6b 6d 61 6e 2c 0a 4b 49 53 41 2c 0a 4c 26 61 61 63 75 74 65 3b 73 | p.E.B..Hickman,.KISA,.Lás |
efa80 | 7a 6c 26 6f 61 63 75 74 65 3b 20 4e 26 65 61 63 75 74 65 3b 6d 65 74 68 2c 0a 4c 2e 20 44 61 76 | zló.Németh,.L..Dav |
efaa0 | 69 64 20 42 61 72 6f 6e 2c 0a 4c 65 76 20 53 65 72 65 62 72 79 61 6b 6f 76 2c 0a 4d 61 67 6e 75 | id.Baron,.Lev.Serebryakov,.Magnu |
efac0 | 73 20 4d 65 6c 69 6e 2c 0a 4d 61 6b 6f 74 6f 20 4b 61 74 6f 2c 0a 4d 61 72 63 20 42 65 76 61 6e | s.Melin,.Makoto.Kato,.Marc.Bevan |
efae0 | 64 2c 0a 4d 61 72 63 6f 20 50 65 73 65 6e 74 69 20 47 72 69 74 74 69 2c 0a 4d 61 72 6b 20 27 4d | d,.Marco.Pesenti.Gritti,.Mark.'M |
efb00 | 6f 6f 6b 27 20 59 65 6e 2c 0a 4d 61 72 6b 20 42 61 6e 6e 65 72 2c 0a 4d 61 72 6b 20 46 69 6e 6b | ook'.Yen,.Mark.Banner,.Mark.Fink |
efb20 | 6c 65 2c 0a 4d 61 72 6b 20 48 61 6d 6d 6f 6e 64 2c 0a 4d 61 72 6b 20 4d 65 6e 74 6f 76 61 69 2c | le,.Mark.Hammond,.Mark.Mentovai, |
efb40 | 0a 4d 61 72 6b 75 73 20 47 2e 20 4b 75 68 6e 2c 0a 4d 61 72 6b 75 73 20 53 74 61 6e 67 65 2c 0a | .Markus.G..Kuhn,.Markus.Stange,. |
efb60 | 4d 61 74 73 20 50 61 6c 6d 67 72 65 6e 2c 0a 4d 61 74 74 68 65 77 20 57 69 6c 6c 69 73 2c 0a 4d | Mats.Palmgren,.Matthew.Willis,.M |
efb80 | 69 63 68 61 65 6c 20 4a 2e 20 46 72 6f 6d 62 65 72 67 65 72 2c 0a 4d 69 63 68 61 65 6c 20 4a 6f | ichael.J..Fromberger,.Michael.Jo |
efba0 | 68 6e 73 74 6f 6e 2c 0a 4d 69 63 68 61 65 6c 20 56 65 6e 74 6e 6f 72 2c 0a 4d 69 63 68 61 6c 20 | hnston,.Michael.Ventnor,.Michal. |
efbc0 | 43 65 72 65 73 6e 61 2c 0a 4d 69 63 68 69 65 6c 20 76 61 6e 20 4c 65 65 75 77 65 6e 2c 0a 4d 69 | Ceresna,.Michiel.van.Leeuwen,.Mi |
efbe0 | 6b 65 20 43 6f 6e 6e 6f 72 2c 0a 4d 69 6b 65 20 50 69 6e 6b 65 72 74 6f 6e 2c 0a 4d 69 6b 65 20 | ke.Connor,.Mike.Pinkerton,.Mike. |
efc00 | 50 6f 74 74 65 72 2c 0a 4d 69 6b 65 20 53 68 61 76 65 72 2c 0a 4d 49 54 52 45 20 43 6f 72 70 6f | Potter,.Mike.Shaver,.MITRE.Corpo |
efc20 | 72 61 74 69 6f 6e 2c 0a 4d 6f 7a 64 65 76 20 47 72 6f 75 70 2c 0a 4d 6f 7a 69 6c 6c 61 20 43 6f | ration,.Mozdev.Group,.Mozilla.Co |
efc40 | 72 70 6f 72 61 74 69 6f 6e 2c 0a 4d 6f 7a 69 6c 6c 61 20 46 6f 75 6e 64 61 74 69 6f 6e 2c 0a 4d | rporation,.Mozilla.Foundation,.M |
efc60 | 6f 7a 69 6c 6c 61 20 4a 61 70 61 6e 2c 0a 4d 6f 7a 69 6c 6c 61 20 4d 65 73 73 61 67 69 6e 67 2c | ozilla.Japan,.Mozilla.Messaging, |
efc80 | 0a 4e 61 6f 6b 69 20 48 6f 74 74 61 2c 0a 4e 65 69 6c 20 44 65 61 6b 69 6e 2c 0a 4e 65 69 6c 20 | .Naoki.Hotta,.Neil.Deakin,.Neil. |
efca0 | 52 61 73 68 62 72 6f 6f 6b 2c 0a 4e 65 6c 73 6f 6e 20 42 2e 20 42 6f 6c 79 61 72 64 2c 0a 4e 65 | Rashbrook,.Nelson.B..Bolyard,.Ne |
efcc0 | 74 73 63 61 70 65 20 43 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e 73 20 43 6f 72 70 6f 72 61 74 69 6f | tscape.Communications.Corporatio |
efce0 | 6e 2c 0a 4e 69 63 6b 20 4b 72 65 65 67 65 72 2c 0a 4e 69 63 6b 6f 6c 61 79 20 50 6f 6e 6f 6d 61 | n,.Nick.Kreeger,.Nickolay.Ponoma |
efd00 | 72 65 76 2c 0a 4e 6f 63 68 75 6d 20 53 6f 73 73 6f 6e 6b 6f 2c 0a 4e 6f 6b 69 61 2c 0a 4e 6f 76 | rev,.Nochum.Sossonko,.Nokia,.Nov |
efd20 | 65 6c 6c 20 49 6e 63 2c 0a 4e 54 54 2c 0a 4f 45 6f 6e 65 20 43 6f 72 70 6f 72 61 74 69 6f 6e 2c | ell.Inc,.NTT,.OEone.Corporation, |
efd40 | 0a 4f 6c 65 67 20 52 6f 6d 61 73 68 69 6e 2c 0a 4f 6c 69 76 69 65 72 20 50 61 72 6e 69 65 72 65 | .Oleg.Romashin,.Olivier.Parniere |
efd60 | 2c 0a 4f 6c 6c 69 20 50 65 74 74 61 79 2c 0a 4f 72 61 63 6c 65 20 43 6f 72 70 6f 72 61 74 69 6f | ,.Olli.Pettay,.Oracle.Corporatio |
efd80 | 6e 2c 0a 50 61 6f 6c 6f 20 41 6d 61 64 69 6e 69 2c 0a 50 61 74 74 61 72 61 20 4b 69 61 74 69 73 | n,.Paolo.Amadini,.Pattara.Kiatis |
efda0 | 65 76 69 2c 0a 50 61 75 6c 20 41 73 68 66 6f 72 64 2c 0a 50 61 75 6c 20 4b 6f 63 68 65 72 2c 0a | evi,.Paul.Ashford,.Paul.Kocher,. |
efdc0 | 50 61 75 6c 20 53 61 6e 64 6f 7a 2c 0a 50 61 75 6c 20 54 6f 6d 6c 69 6e 2c 0a 50 65 74 65 72 20 | Paul.Sandoz,.Paul.Tomlin,.Peter. |
efde0 | 41 6e 6e 65 6d 61 2c 0a 50 65 74 65 72 20 56 61 6e 20 64 65 72 20 42 65 6b 65 6e 2c 0a 50 65 74 | Annema,.Peter.Van.der.Beken,.Pet |
efe00 | 65 72 20 57 65 69 6c 62 61 63 68 65 72 2c 0a 50 65 74 72 20 4b 6f 73 74 6b 61 2c 0a 50 68 69 6c | er.Weilbacher,.Petr.Kostka,.Phil |
efe20 | 20 52 69 6e 67 6e 61 6c 64 61 2c 0a 50 68 69 6c 69 70 70 20 4b 65 77 69 73 63 68 2c 0a 50 69 65 | .Ringnalda,.Philipp.Kewisch,.Pie |
efe40 | 72 72 65 20 43 68 61 6e 69 61 6c 2c 0a 50 4f 54 49 20 49 6e 63 2c 0a 51 75 61 6c 63 6f 6d 6d 20 | rre.Chanial,.POTI.Inc,.Qualcomm. |
efe60 | 49 6e 63 2c 0a 52 2e 4a 2e 20 4b 65 6c 6c 65 72 2c 0a 52 61 6a 69 76 20 44 61 79 61 6c 2c 0a 52 | Inc,.R.J..Keller,.Rajiv.Dayal,.R |
efe80 | 61 6d 61 6c 69 6e 67 61 6d 20 53 61 72 61 76 61 6e 61 6e 2c 0a 52 65 64 20 48 61 74 20 49 6e 63 | amalingam.Saravanan,.Red.Hat.Inc |
efea0 | 2c 0a 52 69 63 68 20 53 61 6c 7a 2c 0a 52 69 63 68 61 72 64 20 43 2e 20 53 77 69 66 74 2c 0a 52 | ,.Rich.Salz,.Richard.C..Swift,.R |
efec0 | 69 63 68 61 72 64 20 4c 2e 20 57 61 6c 73 68 2c 0a 52 69 63 68 61 72 64 20 56 65 72 68 6f 65 76 | ichard.L..Walsh,.Richard.Verhoev |
efee0 | 65 6e 2c 0a 52 6f 62 65 72 74 20 41 63 63 65 74 74 75 72 61 2c 0a 52 6f 62 65 72 74 20 4a 6f 68 | en,.Robert.Accettura,.Robert.Joh |
eff00 | 6e 20 43 68 75 72 63 68 69 6c 6c 2c 0a 52 6f 62 65 72 74 20 4b 61 69 73 65 72 2c 0a 52 6f 62 65 | n.Churchill,.Robert.Kaiser,.Robe |
eff20 | 72 74 20 4c 6f 6e 67 73 6f 6e 2c 0a 52 6f 62 65 72 74 20 4f 27 43 61 6c 6c 61 68 61 6e 2c 0a 52 | rt.Longson,.Robert.O'Callahan,.R |
eff40 | 6f 62 65 72 74 20 52 65 6c 79 65 61 2c 0a 52 6f 62 65 72 74 20 53 61 79 72 65 2c 0a 52 6f 62 65 | obert.Relyea,.Robert.Sayre,.Robe |
eff60 | 72 74 20 53 74 72 6f 6e 67 2c 0a 52 6f 6c 61 6e 64 20 4d 61 69 6e 7a 2c 0a 52 53 41 20 53 65 63 | rt.Strong,.Roland.Mainz,.RSA.Sec |
eff80 | 75 72 69 74 79 20 49 6e 63 2c 0a 52 79 61 6e 20 43 61 73 73 69 6e 2c 0a 52 79 61 6e 20 56 61 6e | urity.Inc,.Ryan.Cassin,.Ryan.Van |
effa0 | 64 65 72 4d 65 75 6c 65 6e 2c 0a 53 61 6d 70 68 61 6e 20 52 61 72 75 65 6e 72 6f 6d 2c 0a 53 63 | derMeulen,.Samphan.Raruenrom,.Sc |
effc0 | 6f 6f 74 65 72 20 4d 6f 72 72 69 73 2c 0a 53 63 6f 74 74 20 4d 61 63 47 72 65 67 6f 72 2c 0a 53 | ooter.Morris,.Scott.MacGregor,.S |
effe0 | 65 62 61 73 74 69 61 6e 20 53 63 68 77 69 65 67 65 72 2c 0a 53 65 72 67 65 69 20 44 6f 6c 67 6f | ebastian.Schwieger,.Sergei.Dolgo |
f0000 | 76 2c 0a 53 65 74 68 20 53 70 69 74 7a 65 72 2c 0a 53 68 61 77 6e 20 57 69 6c 73 68 65 72 2c 0a | v,.Seth.Spitzer,.Shawn.Wilsher,. |
f0020 | 53 68 79 20 53 68 61 6c 6f 6d 2c 0a 53 69 64 64 68 61 72 74 68 20 41 67 61 72 77 61 6c 2c 0a 53 | Shy.Shalom,.Siddharth.Agarwal,.S |
f0040 | 69 6d 64 65 73 6b 20 54 65 63 68 6e 6f 6c 6f 67 69 65 73 20 49 6e 63 2c 0a 53 69 6d 6d 75 6c 65 | imdesk.Technologies.Inc,.Simmule |
f0060 | 20 54 75 72 6e 65 72 2c 0a 53 69 6d 6f 6e 20 42 26 75 75 6d 6c 3b 6e 7a 6c 69 2c 0a 53 69 6d 6f | .Turner,.Simon.Bünzli,.Simo |
f0080 | 6e 20 4d 6f 6e 74 61 67 75 2c 0a 53 69 6d 6f 6e 20 50 61 71 75 65 74 2c 0a 53 69 6d 6f 6e 20 57 | n.Montagu,.Simon.Paquet,.Simon.W |
f00a0 | 69 6c 6b 69 6e 73 6f 6e 2c 0a 53 71 6c 69 74 65 20 50 72 6f 6a 65 63 74 2c 0a 53 72 69 6c 61 74 | ilkinson,.Sqlite.Project,.Srilat |
f00c0 | 68 61 20 4d 6f 74 75 72 69 2c 0a 53 74 61 6e 66 6f 72 64 20 55 6e 69 76 65 72 73 69 74 79 2c 0a | ha.Moturi,.Stanford.University,. |
f00e0 | 53 74 65 66 61 6e 20 53 69 74 74 65 72 2c 0a 53 74 65 70 68 65 6e 20 48 6f 72 6c 61 6e 64 65 72 | Stefan.Sitter,.Stephen.Horlander |
f0100 | 2c 0a 53 74 65 76 65 20 53 77 61 6e 73 6f 6e 2c 0a 53 74 75 61 72 74 20 50 61 72 6d 65 6e 74 65 | ,.Steve.Swanson,.Stuart.Parmente |
f0120 | 72 2c 0a 53 75 6e 20 4d 69 63 72 6f 73 79 73 74 65 6d 73 20 49 6e 63 2c 0a 53 79 6c 76 61 69 6e | r,.Sun.Microsystems.Inc,.Sylvain |
f0140 | 20 50 61 73 63 68 65 2c 0a 54 65 64 20 4d 69 65 6c 63 7a 61 72 65 6b 2c 0a 54 68 65 70 70 69 74 | .Pasche,.Ted.Mielczarek,.Theppit |
f0160 | 61 6b 20 4b 61 72 6f 6f 6e 62 6f 6f 6e 79 61 6e 61 6e 2c 0a 54 68 6f 6d 61 73 20 4b 2e 20 44 79 | ak.Karoonboonyanan,.Thomas.K..Dy |
f0180 | 61 73 2c 0a 54 69 6d 20 43 6f 70 70 65 72 66 69 65 6c 64 2c 0a 54 6f 6d 20 53 74 20 44 65 6e 69 | as,.Tim.Copperfield,.Tom.St.Deni |
f01a0 | 73 2c 0a 55 6e 69 76 65 72 73 69 74 79 20 6f 66 20 51 75 65 65 6e 73 6c 61 6e 64 2c 0a 56 65 65 | s,.University.of.Queensland,.Vee |
f01c0 | 20 53 61 74 61 79 61 6d 61 73 2c 0a 56 69 6e 63 65 6e 74 20 42 26 65 61 63 75 74 65 3b 72 6f 6e | .Satayamas,.Vincent.Béron |
f01e0 | 2c 0a 56 6c 61 64 69 6d 69 72 20 56 75 6b 69 63 65 76 69 63 2c 0a 57 6c 61 64 69 6d 69 72 20 50 | ,.Vladimir.Vukicevic,.Wladimir.P |
f0200 | 61 6c 61 6e 74 2c 0a 57 6f 6c 66 67 61 6e 67 20 52 6f 73 65 6e 61 75 65 72 2c 0a 59 41 4d 41 53 | alant,.Wolfgang.Rosenauer,.YAMAS |
f0220 | 48 49 54 41 20 4d 61 6b 6f 74 6f 2c 0a 5a 61 63 6b 20 52 75 73 69 6e 2c 0a 5a 65 72 6f 2d 4b 6e | HITA.Makoto,.Zack.Rusin,.Zero-Kn |
f0240 | 6f 77 6c 65 64 67 65 20 53 79 73 74 65 6d 73 2c 0a 26 23 78 30 31 37 64 3b 69 67 61 20 53 61 6e | owledge.Systems,.Žiga.San |
f0260 | 63 69 6e 2e 0a 20 20 20 20 3c 2f 70 3e 0a 0a 20 20 20 20 3c 68 72 3e 0a 0a 20 20 20 20 3c 68 31 | cin......</p>......<hr>......<h1 |
f0280 | 3e 3c 61 20 6e 61 6d 65 3d 22 67 70 6c 22 3e 3c 2f 61 3e 47 4e 55 20 47 65 6e 65 72 61 6c 20 50 | ><a.name="gpl"></a>GNU.General.P |
f02a0 | 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 3c 2f 68 31 3e 0a 20 20 20 20 0a 20 20 20 20 3c 70 3e 56 | ublic.License</h1>..........<p>V |
f02c0 | 65 72 73 69 6f 6e 20 32 2c 20 4a 75 6e 65 20 31 39 39 31 3c 2f 70 3e 0a 20 20 20 20 0a 3c 70 3e | ersion.2,.June.1991</p>......<p> |
f02e0 | 43 6f 70 79 72 69 67 68 74 20 28 43 29 20 31 39 38 39 2c 20 31 39 39 31 20 46 72 65 65 20 53 6f | Copyright.(C).1989,.1991.Free.So |
f0300 | 66 74 77 61 72 65 20 46 6f 75 6e 64 61 74 69 6f 6e 2c 20 49 6e 63 2e 0a 20 20 20 20 20 20 20 20 | ftware.Foundation,.Inc.......... |
f0320 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 35 31 20 46 72 61 6e 6b 6c 69 6e 20 53 74 2c 20 46 | ...............51.Franklin.St,.F |
f0340 | 69 66 74 68 20 46 6c 6f 6f 72 2c 20 42 6f 73 74 6f 6e 2c 20 4d 41 20 20 30 32 31 31 30 2d 31 33 | ifth.Floor,.Boston,.MA..02110-13 |
f0360 | 30 31 20 20 55 53 41 0a 0a 3c 70 3e 20 45 76 65 72 79 6f 6e 65 20 69 73 20 70 65 72 6d 69 74 74 | 01..USA..<p>.Everyone.is.permitt |
f0380 | 65 64 20 74 6f 20 63 6f 70 79 20 61 6e 64 20 64 69 73 74 72 69 62 75 74 65 20 76 65 72 62 61 74 | ed.to.copy.and.distribute.verbat |
f03a0 | 69 6d 20 63 6f 70 69 65 73 0a 20 6f 66 20 74 68 69 73 20 6c 69 63 65 6e 73 65 20 64 6f 63 75 6d | im.copies..of.this.license.docum |
f03c0 | 65 6e 74 2c 20 62 75 74 20 63 68 61 6e 67 69 6e 67 20 69 74 20 69 73 20 6e 6f 74 20 61 6c 6c 6f | ent,.but.changing.it.is.not.allo |
f03e0 | 77 65 64 2e 0a 0a 09 09 09 20 20 20 20 3c 68 32 3e 50 72 65 61 6d 62 6c 65 3c 2f 68 32 3e 0a 0a | wed..........<h2>Preamble</h2>.. |
f0400 | 3c 70 3e 20 20 54 68 65 20 6c 69 63 65 6e 73 65 73 20 66 6f 72 20 6d 6f 73 74 20 73 6f 66 74 77 | <p>..The.licenses.for.most.softw |
f0420 | 61 72 65 20 61 72 65 20 64 65 73 69 67 6e 65 64 20 74 6f 20 74 61 6b 65 20 61 77 61 79 20 79 6f | are.are.designed.to.take.away.yo |
f0440 | 75 72 0a 66 72 65 65 64 6f 6d 20 74 6f 20 73 68 61 72 65 20 61 6e 64 20 63 68 61 6e 67 65 20 69 | ur.freedom.to.share.and.change.i |
f0460 | 74 2e 20 20 42 79 20 63 6f 6e 74 72 61 73 74 2c 20 74 68 65 20 47 4e 55 20 47 65 6e 65 72 61 6c | t...By.contrast,.the.GNU.General |
f0480 | 20 50 75 62 6c 69 63 0a 4c 69 63 65 6e 73 65 20 69 73 20 69 6e 74 65 6e 64 65 64 20 74 6f 20 67 | .Public.License.is.intended.to.g |
f04a0 | 75 61 72 61 6e 74 65 65 20 79 6f 75 72 20 66 72 65 65 64 6f 6d 20 74 6f 20 73 68 61 72 65 20 61 | uarantee.your.freedom.to.share.a |
f04c0 | 6e 64 20 63 68 61 6e 67 65 20 66 72 65 65 0a 73 6f 66 74 77 61 72 65 2d 2d 74 6f 20 6d 61 6b 65 | nd.change.free.software--to.make |
f04e0 | 20 73 75 72 65 20 74 68 65 20 73 6f 66 74 77 61 72 65 20 69 73 20 66 72 65 65 20 66 6f 72 20 61 | .sure.the.software.is.free.for.a |
f0500 | 6c 6c 20 69 74 73 20 75 73 65 72 73 2e 20 20 54 68 69 73 0a 47 65 6e 65 72 61 6c 20 50 75 62 6c | ll.its.users...This.General.Publ |
f0520 | 69 63 20 4c 69 63 65 6e 73 65 20 61 70 70 6c 69 65 73 20 74 6f 20 6d 6f 73 74 20 6f 66 20 74 68 | ic.License.applies.to.most.of.th |
f0540 | 65 20 46 72 65 65 20 53 6f 66 74 77 61 72 65 0a 46 6f 75 6e 64 61 74 69 6f 6e 27 73 20 73 6f 66 | e.Free.Software.Foundation's.sof |
f0560 | 74 77 61 72 65 20 61 6e 64 20 74 6f 20 61 6e 79 20 6f 74 68 65 72 20 70 72 6f 67 72 61 6d 20 77 | tware.and.to.any.other.program.w |
f0580 | 68 6f 73 65 20 61 75 74 68 6f 72 73 20 63 6f 6d 6d 69 74 20 74 6f 0a 75 73 69 6e 67 20 69 74 2e | hose.authors.commit.to.using.it. |
f05a0 | 20 20 28 53 6f 6d 65 20 6f 74 68 65 72 20 46 72 65 65 20 53 6f 66 74 77 61 72 65 20 46 6f 75 6e | ..(Some.other.Free.Software.Foun |
f05c0 | 64 61 74 69 6f 6e 20 73 6f 66 74 77 61 72 65 20 69 73 20 63 6f 76 65 72 65 64 20 62 79 0a 74 68 | dation.software.is.covered.by.th |
f05e0 | 65 20 47 4e 55 20 4c 69 62 72 61 72 79 20 47 65 6e 65 72 61 6c 20 50 75 62 6c 69 63 20 4c 69 63 | e.GNU.Library.General.Public.Lic |
f0600 | 65 6e 73 65 20 69 6e 73 74 65 61 64 2e 29 20 20 59 6f 75 20 63 61 6e 20 61 70 70 6c 79 20 69 74 | ense.instead.)..You.can.apply.it |
f0620 | 20 74 6f 0a 79 6f 75 72 20 70 72 6f 67 72 61 6d 73 2c 20 74 6f 6f 2e 0a 0a 3c 70 3e 20 20 57 68 | .to.your.programs,.too...<p>..Wh |
f0640 | 65 6e 20 77 65 20 73 70 65 61 6b 20 6f 66 20 66 72 65 65 20 73 6f 66 74 77 61 72 65 2c 20 77 65 | en.we.speak.of.free.software,.we |
f0660 | 20 61 72 65 20 72 65 66 65 72 72 69 6e 67 20 74 6f 20 66 72 65 65 64 6f 6d 2c 20 6e 6f 74 0a 70 | .are.referring.to.freedom,.not.p |
f0680 | 72 69 63 65 2e 20 20 4f 75 72 20 47 65 6e 65 72 61 6c 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 | rice...Our.General.Public.Licens |
f06a0 | 65 73 20 61 72 65 20 64 65 73 69 67 6e 65 64 20 74 6f 20 6d 61 6b 65 20 73 75 72 65 20 74 68 61 | es.are.designed.to.make.sure.tha |
f06c0 | 74 20 79 6f 75 0a 68 61 76 65 20 74 68 65 20 66 72 65 65 64 6f 6d 20 74 6f 20 64 69 73 74 72 69 | t.you.have.the.freedom.to.distri |
f06e0 | 62 75 74 65 20 63 6f 70 69 65 73 20 6f 66 20 66 72 65 65 20 73 6f 66 74 77 61 72 65 20 28 61 6e | bute.copies.of.free.software.(an |
f0700 | 64 20 63 68 61 72 67 65 20 66 6f 72 0a 74 68 69 73 20 73 65 72 76 69 63 65 20 69 66 20 79 6f 75 | d.charge.for.this.service.if.you |
f0720 | 20 77 69 73 68 29 2c 20 74 68 61 74 20 79 6f 75 20 72 65 63 65 69 76 65 20 73 6f 75 72 63 65 20 | .wish),.that.you.receive.source. |
f0740 | 63 6f 64 65 20 6f 72 20 63 61 6e 20 67 65 74 20 69 74 0a 69 66 20 79 6f 75 20 77 61 6e 74 20 69 | code.or.can.get.it.if.you.want.i |
f0760 | 74 2c 20 74 68 61 74 20 79 6f 75 20 63 61 6e 20 63 68 61 6e 67 65 20 74 68 65 20 73 6f 66 74 77 | t,.that.you.can.change.the.softw |
f0780 | 61 72 65 20 6f 72 20 75 73 65 20 70 69 65 63 65 73 20 6f 66 20 69 74 0a 69 6e 20 6e 65 77 20 66 | are.or.use.pieces.of.it.in.new.f |
f07a0 | 72 65 65 20 70 72 6f 67 72 61 6d 73 3b 20 61 6e 64 20 74 68 61 74 20 79 6f 75 20 6b 6e 6f 77 20 | ree.programs;.and.that.you.know. |
f07c0 | 79 6f 75 20 63 61 6e 20 64 6f 20 74 68 65 73 65 20 74 68 69 6e 67 73 2e 0a 0a 3c 70 3e 20 20 54 | you.can.do.these.things...<p>..T |
f07e0 | 6f 20 70 72 6f 74 65 63 74 20 79 6f 75 72 20 72 69 67 68 74 73 2c 20 77 65 20 6e 65 65 64 20 74 | o.protect.your.rights,.we.need.t |
f0800 | 6f 20 6d 61 6b 65 20 72 65 73 74 72 69 63 74 69 6f 6e 73 20 74 68 61 74 20 66 6f 72 62 69 64 0a | o.make.restrictions.that.forbid. |
f0820 | 61 6e 79 6f 6e 65 20 74 6f 20 64 65 6e 79 20 79 6f 75 20 74 68 65 73 65 20 72 69 67 68 74 73 20 | anyone.to.deny.you.these.rights. |
f0840 | 6f 72 20 74 6f 20 61 73 6b 20 79 6f 75 20 74 6f 20 73 75 72 72 65 6e 64 65 72 20 74 68 65 20 72 | or.to.ask.you.to.surrender.the.r |
f0860 | 69 67 68 74 73 2e 0a 54 68 65 73 65 20 72 65 73 74 72 69 63 74 69 6f 6e 73 20 74 72 61 6e 73 6c | ights..These.restrictions.transl |
f0880 | 61 74 65 20 74 6f 20 63 65 72 74 61 69 6e 20 72 65 73 70 6f 6e 73 69 62 69 6c 69 74 69 65 73 20 | ate.to.certain.responsibilities. |
f08a0 | 66 6f 72 20 79 6f 75 20 69 66 20 79 6f 75 0a 64 69 73 74 72 69 62 75 74 65 20 63 6f 70 69 65 73 | for.you.if.you.distribute.copies |
f08c0 | 20 6f 66 20 74 68 65 20 73 6f 66 74 77 61 72 65 2c 20 6f 72 20 69 66 20 79 6f 75 20 6d 6f 64 69 | .of.the.software,.or.if.you.modi |
f08e0 | 66 79 20 69 74 2e 0a 0a 3c 70 3e 20 20 46 6f 72 20 65 78 61 6d 70 6c 65 2c 20 69 66 20 79 6f 75 | fy.it...<p>..For.example,.if.you |
f0900 | 20 64 69 73 74 72 69 62 75 74 65 20 63 6f 70 69 65 73 20 6f 66 20 73 75 63 68 20 61 20 70 72 6f | .distribute.copies.of.such.a.pro |
f0920 | 67 72 61 6d 2c 20 77 68 65 74 68 65 72 0a 67 72 61 74 69 73 20 6f 72 20 66 6f 72 20 61 20 66 65 | gram,.whether.gratis.or.for.a.fe |
f0940 | 65 2c 20 79 6f 75 20 6d 75 73 74 20 67 69 76 65 20 74 68 65 20 72 65 63 69 70 69 65 6e 74 73 20 | e,.you.must.give.the.recipients. |
f0960 | 61 6c 6c 20 74 68 65 20 72 69 67 68 74 73 20 74 68 61 74 0a 79 6f 75 20 68 61 76 65 2e 20 20 59 | all.the.rights.that.you.have...Y |
f0980 | 6f 75 20 6d 75 73 74 20 6d 61 6b 65 20 73 75 72 65 20 74 68 61 74 20 74 68 65 79 2c 20 74 6f 6f | ou.must.make.sure.that.they,.too |
f09a0 | 2c 20 72 65 63 65 69 76 65 20 6f 72 20 63 61 6e 20 67 65 74 20 74 68 65 0a 73 6f 75 72 63 65 20 | ,.receive.or.can.get.the.source. |
f09c0 | 63 6f 64 65 2e 20 20 41 6e 64 20 79 6f 75 20 6d 75 73 74 20 73 68 6f 77 20 74 68 65 6d 20 74 68 | code...And.you.must.show.them.th |
f09e0 | 65 73 65 20 74 65 72 6d 73 20 73 6f 20 74 68 65 79 20 6b 6e 6f 77 20 74 68 65 69 72 0a 72 69 67 | ese.terms.so.they.know.their.rig |
f0a00 | 68 74 73 2e 0a 0a 3c 70 3e 20 20 57 65 20 70 72 6f 74 65 63 74 20 79 6f 75 72 20 72 69 67 68 74 | hts...<p>..We.protect.your.right |
f0a20 | 73 20 77 69 74 68 20 74 77 6f 20 73 74 65 70 73 3a 20 28 31 29 20 63 6f 70 79 72 69 67 68 74 20 | s.with.two.steps:.(1).copyright. |
f0a40 | 74 68 65 20 73 6f 66 74 77 61 72 65 2c 20 61 6e 64 0a 28 32 29 20 6f 66 66 65 72 20 79 6f 75 20 | the.software,.and.(2).offer.you. |
f0a60 | 74 68 69 73 20 6c 69 63 65 6e 73 65 20 77 68 69 63 68 20 67 69 76 65 73 20 79 6f 75 20 6c 65 67 | this.license.which.gives.you.leg |
f0a80 | 61 6c 20 70 65 72 6d 69 73 73 69 6f 6e 20 74 6f 20 63 6f 70 79 2c 0a 64 69 73 74 72 69 62 75 74 | al.permission.to.copy,.distribut |
f0aa0 | 65 20 61 6e 64 2f 6f 72 20 6d 6f 64 69 66 79 20 74 68 65 20 73 6f 66 74 77 61 72 65 2e 0a 0a 3c | e.and/or.modify.the.software...< |
f0ac0 | 70 3e 20 20 41 6c 73 6f 2c 20 66 6f 72 20 65 61 63 68 20 61 75 74 68 6f 72 27 73 20 70 72 6f 74 | p>..Also,.for.each.author's.prot |
f0ae0 | 65 63 74 69 6f 6e 20 61 6e 64 20 6f 75 72 73 2c 20 77 65 20 77 61 6e 74 20 74 6f 20 6d 61 6b 65 | ection.and.ours,.we.want.to.make |
f0b00 | 20 63 65 72 74 61 69 6e 0a 74 68 61 74 20 65 76 65 72 79 6f 6e 65 20 75 6e 64 65 72 73 74 61 6e | .certain.that.everyone.understan |
f0b20 | 64 73 20 74 68 61 74 20 74 68 65 72 65 20 69 73 20 6e 6f 20 77 61 72 72 61 6e 74 79 20 66 6f 72 | ds.that.there.is.no.warranty.for |
f0b40 | 20 74 68 69 73 20 66 72 65 65 0a 73 6f 66 74 77 61 72 65 2e 20 20 49 66 20 74 68 65 20 73 6f 66 | .this.free.software...If.the.sof |
f0b60 | 74 77 61 72 65 20 69 73 20 6d 6f 64 69 66 69 65 64 20 62 79 20 73 6f 6d 65 6f 6e 65 20 65 6c 73 | tware.is.modified.by.someone.els |
f0b80 | 65 20 61 6e 64 20 70 61 73 73 65 64 20 6f 6e 2c 20 77 65 0a 77 61 6e 74 20 69 74 73 20 72 65 63 | e.and.passed.on,.we.want.its.rec |
f0ba0 | 69 70 69 65 6e 74 73 20 74 6f 20 6b 6e 6f 77 20 74 68 61 74 20 77 68 61 74 20 74 68 65 79 20 68 | ipients.to.know.that.what.they.h |
f0bc0 | 61 76 65 20 69 73 20 6e 6f 74 20 74 68 65 20 6f 72 69 67 69 6e 61 6c 2c 20 73 6f 0a 74 68 61 74 | ave.is.not.the.original,.so.that |
f0be0 | 20 61 6e 79 20 70 72 6f 62 6c 65 6d 73 20 69 6e 74 72 6f 64 75 63 65 64 20 62 79 20 6f 74 68 65 | .any.problems.introduced.by.othe |
f0c00 | 72 73 20 77 69 6c 6c 20 6e 6f 74 20 72 65 66 6c 65 63 74 20 6f 6e 20 74 68 65 20 6f 72 69 67 69 | rs.will.not.reflect.on.the.origi |
f0c20 | 6e 61 6c 0a 61 75 74 68 6f 72 73 27 20 72 65 70 75 74 61 74 69 6f 6e 73 2e 0a 0a 3c 70 3e 20 20 | nal.authors'.reputations...<p>.. |
f0c40 | 46 69 6e 61 6c 6c 79 2c 20 61 6e 79 20 66 72 65 65 20 70 72 6f 67 72 61 6d 20 69 73 20 74 68 72 | Finally,.any.free.program.is.thr |
f0c60 | 65 61 74 65 6e 65 64 20 63 6f 6e 73 74 61 6e 74 6c 79 20 62 79 20 73 6f 66 74 77 61 72 65 0a 70 | eatened.constantly.by.software.p |
f0c80 | 61 74 65 6e 74 73 2e 20 20 57 65 20 77 69 73 68 20 74 6f 20 61 76 6f 69 64 20 74 68 65 20 64 61 | atents...We.wish.to.avoid.the.da |
f0ca0 | 6e 67 65 72 20 74 68 61 74 20 72 65 64 69 73 74 72 69 62 75 74 6f 72 73 20 6f 66 20 61 20 66 72 | nger.that.redistributors.of.a.fr |
f0cc0 | 65 65 0a 70 72 6f 67 72 61 6d 20 77 69 6c 6c 20 69 6e 64 69 76 69 64 75 61 6c 6c 79 20 6f 62 74 | ee.program.will.individually.obt |
f0ce0 | 61 69 6e 20 70 61 74 65 6e 74 20 6c 69 63 65 6e 73 65 73 2c 20 69 6e 20 65 66 66 65 63 74 20 6d | ain.patent.licenses,.in.effect.m |
f0d00 | 61 6b 69 6e 67 20 74 68 65 0a 70 72 6f 67 72 61 6d 20 70 72 6f 70 72 69 65 74 61 72 79 2e 20 20 | aking.the.program.proprietary... |
f0d20 | 54 6f 20 70 72 65 76 65 6e 74 20 74 68 69 73 2c 20 77 65 20 68 61 76 65 20 6d 61 64 65 20 69 74 | To.prevent.this,.we.have.made.it |
f0d40 | 20 63 6c 65 61 72 20 74 68 61 74 20 61 6e 79 0a 70 61 74 65 6e 74 20 6d 75 73 74 20 62 65 20 6c | .clear.that.any.patent.must.be.l |
f0d60 | 69 63 65 6e 73 65 64 20 66 6f 72 20 65 76 65 72 79 6f 6e 65 27 73 20 66 72 65 65 20 75 73 65 20 | icensed.for.everyone's.free.use. |
f0d80 | 6f 72 20 6e 6f 74 20 6c 69 63 65 6e 73 65 64 20 61 74 20 61 6c 6c 2e 0a 0a 3c 70 3e 20 20 54 68 | or.not.licensed.at.all...<p>..Th |
f0da0 | 65 20 70 72 65 63 69 73 65 20 74 65 72 6d 73 20 61 6e 64 20 63 6f 6e 64 69 74 69 6f 6e 73 20 66 | e.precise.terms.and.conditions.f |
f0dc0 | 6f 72 20 63 6f 70 79 69 6e 67 2c 20 64 69 73 74 72 69 62 75 74 69 6f 6e 20 61 6e 64 0a 6d 6f 64 | or.copying,.distribution.and.mod |
f0de0 | 69 66 69 63 61 74 69 6f 6e 20 66 6f 6c 6c 6f 77 2e 0a 0a 09 09 20 20 20 20 3c 68 32 3e 47 4e 55 | ification.follow.........<h2>GNU |
f0e00 | 20 47 45 4e 45 52 41 4c 20 50 55 42 4c 49 43 20 4c 49 43 45 4e 53 45 3c 2f 68 32 3e 0a 20 20 20 | .GENERAL.PUBLIC.LICENSE</h2>.... |
f0e20 | 3c 68 32 3e 54 45 52 4d 53 20 41 4e 44 20 43 4f 4e 44 49 54 49 4f 4e 53 20 46 4f 52 20 43 4f 50 | <h2>TERMS.AND.CONDITIONS.FOR.COP |
f0e40 | 59 49 4e 47 2c 20 44 49 53 54 52 49 42 55 54 49 4f 4e 20 41 4e 44 20 4d 4f 44 49 46 49 43 41 54 | YING,.DISTRIBUTION.AND.MODIFICAT |
f0e60 | 49 4f 4e 3c 2f 68 32 3e 0a 0a 3c 70 3e 3c 73 70 61 6e 20 63 6c 61 73 73 3d 22 67 6e 75 2d 6e 75 | ION</h2>..<p><span.class="gnu-nu |
f0e80 | 6d 62 65 72 22 3e 30 2e 20 3c 2f 73 70 61 6e 3e 20 0a 54 68 69 73 20 4c 69 63 65 6e 73 65 20 61 | mber">0..</span>..This.License.a |
f0ea0 | 70 70 6c 69 65 73 20 74 6f 20 61 6e 79 20 70 72 6f 67 72 61 6d 20 6f 72 20 6f 74 68 65 72 20 77 | pplies.to.any.program.or.other.w |
f0ec0 | 6f 72 6b 20 77 68 69 63 68 20 63 6f 6e 74 61 69 6e 73 0a 61 20 6e 6f 74 69 63 65 20 70 6c 61 63 | ork.which.contains.a.notice.plac |
f0ee0 | 65 64 20 62 79 20 74 68 65 20 63 6f 70 79 72 69 67 68 74 20 68 6f 6c 64 65 72 20 73 61 79 69 6e | ed.by.the.copyright.holder.sayin |
f0f00 | 67 20 69 74 20 6d 61 79 20 62 65 20 64 69 73 74 72 69 62 75 74 65 64 0a 75 6e 64 65 72 20 74 68 | g.it.may.be.distributed.under.th |
f0f20 | 65 20 74 65 72 6d 73 20 6f 66 20 74 68 69 73 20 47 65 6e 65 72 61 6c 20 50 75 62 6c 69 63 20 4c | e.terms.of.this.General.Public.L |
f0f40 | 69 63 65 6e 73 65 2e 20 20 54 68 65 20 22 50 72 6f 67 72 61 6d 22 2c 20 62 65 6c 6f 77 2c 0a 72 | icense...The."Program",.below,.r |
f0f60 | 65 66 65 72 73 20 74 6f 20 61 6e 79 20 73 75 63 68 20 70 72 6f 67 72 61 6d 20 6f 72 20 77 6f 72 | efers.to.any.such.program.or.wor |
f0f80 | 6b 2c 20 61 6e 64 20 61 20 22 77 6f 72 6b 20 62 61 73 65 64 20 6f 6e 20 74 68 65 20 50 72 6f 67 | k,.and.a."work.based.on.the.Prog |
f0fa0 | 72 61 6d 22 0a 6d 65 61 6e 73 20 65 69 74 68 65 72 20 74 68 65 20 50 72 6f 67 72 61 6d 20 6f 72 | ram".means.either.the.Program.or |
f0fc0 | 20 61 6e 79 20 64 65 72 69 76 61 74 69 76 65 20 77 6f 72 6b 20 75 6e 64 65 72 20 63 6f 70 79 72 | .any.derivative.work.under.copyr |
f0fe0 | 69 67 68 74 20 6c 61 77 3a 0a 74 68 61 74 20 69 73 20 74 6f 20 73 61 79 2c 20 61 20 77 6f 72 6b | ight.law:.that.is.to.say,.a.work |
f1000 | 20 63 6f 6e 74 61 69 6e 69 6e 67 20 74 68 65 20 50 72 6f 67 72 61 6d 20 6f 72 20 61 20 70 6f 72 | .containing.the.Program.or.a.por |
f1020 | 74 69 6f 6e 20 6f 66 20 69 74 2c 0a 65 69 74 68 65 72 20 76 65 72 62 61 74 69 6d 20 6f 72 20 77 | tion.of.it,.either.verbatim.or.w |
f1040 | 69 74 68 20 6d 6f 64 69 66 69 63 61 74 69 6f 6e 73 20 61 6e 64 2f 6f 72 20 74 72 61 6e 73 6c 61 | ith.modifications.and/or.transla |
f1060 | 74 65 64 20 69 6e 74 6f 20 61 6e 6f 74 68 65 72 0a 6c 61 6e 67 75 61 67 65 2e 20 20 28 48 65 72 | ted.into.another.language...(Her |
f1080 | 65 69 6e 61 66 74 65 72 2c 20 74 72 61 6e 73 6c 61 74 69 6f 6e 20 69 73 20 69 6e 63 6c 75 64 65 | einafter,.translation.is.include |
f10a0 | 64 20 77 69 74 68 6f 75 74 20 6c 69 6d 69 74 61 74 69 6f 6e 20 69 6e 0a 74 68 65 20 74 65 72 6d | d.without.limitation.in.the.term |
f10c0 | 20 22 6d 6f 64 69 66 69 63 61 74 69 6f 6e 22 2e 29 20 20 45 61 63 68 20 6c 69 63 65 6e 73 65 65 | ."modification".)..Each.licensee |
f10e0 | 20 69 73 20 61 64 64 72 65 73 73 65 64 20 61 73 20 22 79 6f 75 22 2e 0a 0a 3c 70 3e 41 63 74 69 | .is.addressed.as."you"...<p>Acti |
f1100 | 76 69 74 69 65 73 20 6f 74 68 65 72 20 74 68 61 6e 20 63 6f 70 79 69 6e 67 2c 20 64 69 73 74 72 | vities.other.than.copying,.distr |
f1120 | 69 62 75 74 69 6f 6e 20 61 6e 64 20 6d 6f 64 69 66 69 63 61 74 69 6f 6e 20 61 72 65 20 6e 6f 74 | ibution.and.modification.are.not |
f1140 | 0a 63 6f 76 65 72 65 64 20 62 79 20 74 68 69 73 20 4c 69 63 65 6e 73 65 3b 20 74 68 65 79 20 61 | .covered.by.this.License;.they.a |
f1160 | 72 65 20 6f 75 74 73 69 64 65 20 69 74 73 20 73 63 6f 70 65 2e 20 20 54 68 65 20 61 63 74 20 6f | re.outside.its.scope...The.act.o |
f1180 | 66 0a 72 75 6e 6e 69 6e 67 20 74 68 65 20 50 72 6f 67 72 61 6d 20 69 73 20 6e 6f 74 20 72 65 73 | f.running.the.Program.is.not.res |
f11a0 | 74 72 69 63 74 65 64 2c 20 61 6e 64 20 74 68 65 20 6f 75 74 70 75 74 20 66 72 6f 6d 20 74 68 65 | tricted,.and.the.output.from.the |
f11c0 | 20 50 72 6f 67 72 61 6d 0a 69 73 20 63 6f 76 65 72 65 64 20 6f 6e 6c 79 20 69 66 20 69 74 73 20 | .Program.is.covered.only.if.its. |
f11e0 | 63 6f 6e 74 65 6e 74 73 20 63 6f 6e 73 74 69 74 75 74 65 20 61 20 77 6f 72 6b 20 62 61 73 65 64 | contents.constitute.a.work.based |
f1200 | 20 6f 6e 20 74 68 65 0a 50 72 6f 67 72 61 6d 20 28 69 6e 64 65 70 65 6e 64 65 6e 74 20 6f 66 20 | .on.the.Program.(independent.of. |
f1220 | 68 61 76 69 6e 67 20 62 65 65 6e 20 6d 61 64 65 20 62 79 20 72 75 6e 6e 69 6e 67 20 74 68 65 20 | having.been.made.by.running.the. |
f1240 | 50 72 6f 67 72 61 6d 29 2e 0a 57 68 65 74 68 65 72 20 74 68 61 74 20 69 73 20 74 72 75 65 20 64 | Program)..Whether.that.is.true.d |
f1260 | 65 70 65 6e 64 73 20 6f 6e 20 77 68 61 74 20 74 68 65 20 50 72 6f 67 72 61 6d 20 64 6f 65 73 2e | epends.on.what.the.Program.does. |
f1280 | 0a 0a 3c 70 3e 3c 73 70 61 6e 20 63 6c 61 73 73 3d 22 67 6e 75 2d 6e 75 6d 62 65 72 22 3e 31 2e | ..<p><span.class="gnu-number">1. |
f12a0 | 20 3c 2f 73 70 61 6e 3e 0a 59 6f 75 20 6d 61 79 20 63 6f 70 79 20 61 6e 64 20 64 69 73 74 72 69 | .</span>.You.may.copy.and.distri |
f12c0 | 62 75 74 65 20 76 65 72 62 61 74 69 6d 20 63 6f 70 69 65 73 20 6f 66 20 74 68 65 20 50 72 6f 67 | bute.verbatim.copies.of.the.Prog |
f12e0 | 72 61 6d 27 73 0a 73 6f 75 72 63 65 20 63 6f 64 65 20 61 73 20 79 6f 75 20 72 65 63 65 69 76 65 | ram's.source.code.as.you.receive |
f1300 | 20 69 74 2c 20 69 6e 20 61 6e 79 20 6d 65 64 69 75 6d 2c 20 70 72 6f 76 69 64 65 64 20 74 68 61 | .it,.in.any.medium,.provided.tha |
f1320 | 74 20 79 6f 75 0a 63 6f 6e 73 70 69 63 75 6f 75 73 6c 79 20 61 6e 64 20 61 70 70 72 6f 70 72 69 | t.you.conspicuously.and.appropri |
f1340 | 61 74 65 6c 79 20 70 75 62 6c 69 73 68 20 6f 6e 20 65 61 63 68 20 63 6f 70 79 20 61 6e 20 61 70 | ately.publish.on.each.copy.an.ap |
f1360 | 70 72 6f 70 72 69 61 74 65 0a 63 6f 70 79 72 69 67 68 74 20 6e 6f 74 69 63 65 20 61 6e 64 20 64 | propriate.copyright.notice.and.d |
f1380 | 69 73 63 6c 61 69 6d 65 72 20 6f 66 20 77 61 72 72 61 6e 74 79 3b 20 6b 65 65 70 20 69 6e 74 61 | isclaimer.of.warranty;.keep.inta |
f13a0 | 63 74 20 61 6c 6c 20 74 68 65 0a 6e 6f 74 69 63 65 73 20 74 68 61 74 20 72 65 66 65 72 20 74 6f | ct.all.the.notices.that.refer.to |
f13c0 | 20 74 68 69 73 20 4c 69 63 65 6e 73 65 20 61 6e 64 20 74 6f 20 74 68 65 20 61 62 73 65 6e 63 65 | .this.License.and.to.the.absence |
f13e0 | 20 6f 66 20 61 6e 79 20 77 61 72 72 61 6e 74 79 3b 0a 61 6e 64 20 67 69 76 65 20 61 6e 79 20 6f | .of.any.warranty;.and.give.any.o |
f1400 | 74 68 65 72 20 72 65 63 69 70 69 65 6e 74 73 20 6f 66 20 74 68 65 20 50 72 6f 67 72 61 6d 20 61 | ther.recipients.of.the.Program.a |
f1420 | 20 63 6f 70 79 20 6f 66 20 74 68 69 73 20 4c 69 63 65 6e 73 65 0a 61 6c 6f 6e 67 20 77 69 74 68 | .copy.of.this.License.along.with |
f1440 | 20 74 68 65 20 50 72 6f 67 72 61 6d 2e 0a 0a 3c 70 3e 59 6f 75 20 6d 61 79 20 63 68 61 72 67 65 | .the.Program...<p>You.may.charge |
f1460 | 20 61 20 66 65 65 20 66 6f 72 20 74 68 65 20 70 68 79 73 69 63 61 6c 20 61 63 74 20 6f 66 20 74 | .a.fee.for.the.physical.act.of.t |
f1480 | 72 61 6e 73 66 65 72 72 69 6e 67 20 61 20 63 6f 70 79 2c 20 61 6e 64 0a 79 6f 75 20 6d 61 79 20 | ransferring.a.copy,.and.you.may. |
f14a0 | 61 74 20 79 6f 75 72 20 6f 70 74 69 6f 6e 20 6f 66 66 65 72 20 77 61 72 72 61 6e 74 79 20 70 72 | at.your.option.offer.warranty.pr |
f14c0 | 6f 74 65 63 74 69 6f 6e 20 69 6e 20 65 78 63 68 61 6e 67 65 20 66 6f 72 20 61 20 66 65 65 2e 0a | otection.in.exchange.for.a.fee.. |
f14e0 | 0a 3c 70 3e 3c 73 70 61 6e 20 63 6c 61 73 73 3d 22 67 6e 75 2d 6e 75 6d 62 65 72 22 3e 32 2e 20 | .<p><span.class="gnu-number">2.. |
f1500 | 3c 2f 73 70 61 6e 3e 0a 59 6f 75 20 6d 61 79 20 6d 6f 64 69 66 79 20 79 6f 75 72 20 63 6f 70 79 | </span>.You.may.modify.your.copy |
f1520 | 20 6f 72 20 63 6f 70 69 65 73 20 6f 66 20 74 68 65 20 50 72 6f 67 72 61 6d 20 6f 72 20 61 6e 79 | .or.copies.of.the.Program.or.any |
f1540 | 20 70 6f 72 74 69 6f 6e 0a 6f 66 20 69 74 2c 20 74 68 75 73 20 66 6f 72 6d 69 6e 67 20 61 20 77 | .portion.of.it,.thus.forming.a.w |
f1560 | 6f 72 6b 20 62 61 73 65 64 20 6f 6e 20 74 68 65 20 50 72 6f 67 72 61 6d 2c 20 61 6e 64 20 63 6f | ork.based.on.the.Program,.and.co |
f1580 | 70 79 20 61 6e 64 0a 64 69 73 74 72 69 62 75 74 65 20 73 75 63 68 20 6d 6f 64 69 66 69 63 61 74 | py.and.distribute.such.modificat |
f15a0 | 69 6f 6e 73 20 6f 72 20 77 6f 72 6b 20 75 6e 64 65 72 20 74 68 65 20 74 65 72 6d 73 20 6f 66 20 | ions.or.work.under.the.terms.of. |
f15c0 | 53 65 63 74 69 6f 6e 20 31 0a 61 62 6f 76 65 2c 20 70 72 6f 76 69 64 65 64 20 74 68 61 74 20 79 | Section.1.above,.provided.that.y |
f15e0 | 6f 75 20 61 6c 73 6f 20 6d 65 65 74 20 61 6c 6c 20 6f 66 20 74 68 65 73 65 20 63 6f 6e 64 69 74 | ou.also.meet.all.of.these.condit |
f1600 | 69 6f 6e 73 3a 0a 0a 20 20 20 20 61 29 20 59 6f 75 20 6d 75 73 74 20 63 61 75 73 65 20 74 68 65 | ions:......a).You.must.cause.the |
f1620 | 20 6d 6f 64 69 66 69 65 64 20 66 69 6c 65 73 20 74 6f 20 63 61 72 72 79 20 70 72 6f 6d 69 6e 65 | .modified.files.to.carry.promine |
f1640 | 6e 74 20 6e 6f 74 69 63 65 73 0a 20 20 20 20 73 74 61 74 69 6e 67 20 74 68 61 74 20 79 6f 75 20 | nt.notices.....stating.that.you. |
f1660 | 63 68 61 6e 67 65 64 20 74 68 65 20 66 69 6c 65 73 20 61 6e 64 20 74 68 65 20 64 61 74 65 20 6f | changed.the.files.and.the.date.o |
f1680 | 66 20 61 6e 79 20 63 68 61 6e 67 65 2e 0a 0a 20 20 20 20 62 29 20 59 6f 75 20 6d 75 73 74 20 63 | f.any.change.......b).You.must.c |
f16a0 | 61 75 73 65 20 61 6e 79 20 77 6f 72 6b 20 74 68 61 74 20 79 6f 75 20 64 69 73 74 72 69 62 75 74 | ause.any.work.that.you.distribut |
f16c0 | 65 20 6f 72 20 70 75 62 6c 69 73 68 2c 20 74 68 61 74 20 69 6e 0a 20 20 20 20 77 68 6f 6c 65 20 | e.or.publish,.that.in.....whole. |
f16e0 | 6f 72 20 69 6e 20 70 61 72 74 20 63 6f 6e 74 61 69 6e 73 20 6f 72 20 69 73 20 64 65 72 69 76 65 | or.in.part.contains.or.is.derive |
f1700 | 64 20 66 72 6f 6d 20 74 68 65 20 50 72 6f 67 72 61 6d 20 6f 72 20 61 6e 79 0a 20 20 20 20 70 61 | d.from.the.Program.or.any.....pa |
f1720 | 72 74 20 74 68 65 72 65 6f 66 2c 20 74 6f 20 62 65 20 6c 69 63 65 6e 73 65 64 20 61 73 20 61 20 | rt.thereof,.to.be.licensed.as.a. |
f1740 | 77 68 6f 6c 65 20 61 74 20 6e 6f 20 63 68 61 72 67 65 20 74 6f 20 61 6c 6c 20 74 68 69 72 64 0a | whole.at.no.charge.to.all.third. |
f1760 | 20 20 20 20 70 61 72 74 69 65 73 20 75 6e 64 65 72 20 74 68 65 20 74 65 72 6d 73 20 6f 66 20 74 | ....parties.under.the.terms.of.t |
f1780 | 68 69 73 20 4c 69 63 65 6e 73 65 2e 0a 0a 20 20 20 20 63 29 20 49 66 20 74 68 65 20 6d 6f 64 69 | his.License.......c).If.the.modi |
f17a0 | 66 69 65 64 20 70 72 6f 67 72 61 6d 20 6e 6f 72 6d 61 6c 6c 79 20 72 65 61 64 73 20 63 6f 6d 6d | fied.program.normally.reads.comm |
f17c0 | 61 6e 64 73 20 69 6e 74 65 72 61 63 74 69 76 65 6c 79 0a 20 20 20 20 77 68 65 6e 20 72 75 6e 2c | ands.interactively.....when.run, |
f17e0 | 20 79 6f 75 20 6d 75 73 74 20 63 61 75 73 65 20 69 74 2c 20 77 68 65 6e 20 73 74 61 72 74 65 64 | .you.must.cause.it,.when.started |
f1800 | 20 72 75 6e 6e 69 6e 67 20 66 6f 72 20 73 75 63 68 0a 20 20 20 20 69 6e 74 65 72 61 63 74 69 76 | .running.for.such.....interactiv |
f1820 | 65 20 75 73 65 20 69 6e 20 74 68 65 20 6d 6f 73 74 20 6f 72 64 69 6e 61 72 79 20 77 61 79 2c 20 | e.use.in.the.most.ordinary.way,. |
f1840 | 74 6f 20 70 72 69 6e 74 20 6f 72 20 64 69 73 70 6c 61 79 20 61 6e 0a 20 20 20 20 61 6e 6e 6f 75 | to.print.or.display.an.....annou |
f1860 | 6e 63 65 6d 65 6e 74 20 69 6e 63 6c 75 64 69 6e 67 20 61 6e 20 61 70 70 72 6f 70 72 69 61 74 65 | ncement.including.an.appropriate |
f1880 | 20 63 6f 70 79 72 69 67 68 74 20 6e 6f 74 69 63 65 20 61 6e 64 20 61 0a 20 20 20 20 6e 6f 74 69 | .copyright.notice.and.a.....noti |
f18a0 | 63 65 20 74 68 61 74 20 74 68 65 72 65 20 69 73 20 6e 6f 20 77 61 72 72 61 6e 74 79 20 28 6f 72 | ce.that.there.is.no.warranty.(or |
f18c0 | 20 65 6c 73 65 2c 20 73 61 79 69 6e 67 20 74 68 61 74 20 79 6f 75 20 70 72 6f 76 69 64 65 0a 20 | .else,.saying.that.you.provide.. |
f18e0 | 20 20 20 61 20 77 61 72 72 61 6e 74 79 29 20 61 6e 64 20 74 68 61 74 20 75 73 65 72 73 20 6d 61 | ...a.warranty).and.that.users.ma |
f1900 | 79 20 72 65 64 69 73 74 72 69 62 75 74 65 20 74 68 65 20 70 72 6f 67 72 61 6d 20 75 6e 64 65 72 | y.redistribute.the.program.under |
f1920 | 0a 20 20 20 20 74 68 65 73 65 20 63 6f 6e 64 69 74 69 6f 6e 73 2c 20 61 6e 64 20 74 65 6c 6c 69 | .....these.conditions,.and.telli |
f1940 | 6e 67 20 74 68 65 20 75 73 65 72 20 68 6f 77 20 74 6f 20 76 69 65 77 20 61 20 63 6f 70 79 20 6f | ng.the.user.how.to.view.a.copy.o |
f1960 | 66 20 74 68 69 73 0a 20 20 20 20 4c 69 63 65 6e 73 65 2e 20 20 28 45 78 63 65 70 74 69 6f 6e 3a | f.this.....License...(Exception: |
f1980 | 20 69 66 20 74 68 65 20 50 72 6f 67 72 61 6d 20 69 74 73 65 6c 66 20 69 73 20 69 6e 74 65 72 61 | .if.the.Program.itself.is.intera |
f19a0 | 63 74 69 76 65 20 62 75 74 0a 20 20 20 20 64 6f 65 73 20 6e 6f 74 20 6e 6f 72 6d 61 6c 6c 79 20 | ctive.but.....does.not.normally. |
f19c0 | 70 72 69 6e 74 20 73 75 63 68 20 61 6e 20 61 6e 6e 6f 75 6e 63 65 6d 65 6e 74 2c 20 79 6f 75 72 | print.such.an.announcement,.your |
f19e0 | 20 77 6f 72 6b 20 62 61 73 65 64 20 6f 6e 0a 20 20 20 20 74 68 65 20 50 72 6f 67 72 61 6d 20 69 | .work.based.on.....the.Program.i |
f1a00 | 73 20 6e 6f 74 20 72 65 71 75 69 72 65 64 20 74 6f 20 70 72 69 6e 74 20 61 6e 20 61 6e 6e 6f 75 | s.not.required.to.print.an.annou |
f1a20 | 6e 63 65 6d 65 6e 74 2e 29 0a 0a 3c 70 3e 54 68 65 73 65 20 72 65 71 75 69 72 65 6d 65 6e 74 73 | ncement.)..<p>These.requirements |
f1a40 | 20 61 70 70 6c 79 20 74 6f 20 74 68 65 20 6d 6f 64 69 66 69 65 64 20 77 6f 72 6b 20 61 73 20 61 | .apply.to.the.modified.work.as.a |
f1a60 | 20 77 68 6f 6c 65 2e 20 20 49 66 0a 69 64 65 6e 74 69 66 69 61 62 6c 65 20 73 65 63 74 69 6f 6e | .whole...If.identifiable.section |
f1a80 | 73 20 6f 66 20 74 68 61 74 20 77 6f 72 6b 20 61 72 65 20 6e 6f 74 20 64 65 72 69 76 65 64 20 66 | s.of.that.work.are.not.derived.f |
f1aa0 | 72 6f 6d 20 74 68 65 20 50 72 6f 67 72 61 6d 2c 0a 61 6e 64 20 63 61 6e 20 62 65 20 72 65 61 73 | rom.the.Program,.and.can.be.reas |
f1ac0 | 6f 6e 61 62 6c 79 20 63 6f 6e 73 69 64 65 72 65 64 20 69 6e 64 65 70 65 6e 64 65 6e 74 20 61 6e | onably.considered.independent.an |
f1ae0 | 64 20 73 65 70 61 72 61 74 65 20 77 6f 72 6b 73 20 69 6e 0a 74 68 65 6d 73 65 6c 76 65 73 2c 20 | d.separate.works.in.themselves,. |
f1b00 | 74 68 65 6e 20 74 68 69 73 20 4c 69 63 65 6e 73 65 2c 20 61 6e 64 20 69 74 73 20 74 65 72 6d 73 | then.this.License,.and.its.terms |
f1b20 | 2c 20 64 6f 20 6e 6f 74 20 61 70 70 6c 79 20 74 6f 20 74 68 6f 73 65 0a 73 65 63 74 69 6f 6e 73 | ,.do.not.apply.to.those.sections |
f1b40 | 20 77 68 65 6e 20 79 6f 75 20 64 69 73 74 72 69 62 75 74 65 20 74 68 65 6d 20 61 73 20 73 65 70 | .when.you.distribute.them.as.sep |
f1b60 | 61 72 61 74 65 20 77 6f 72 6b 73 2e 20 20 42 75 74 20 77 68 65 6e 20 79 6f 75 0a 64 69 73 74 72 | arate.works...But.when.you.distr |
f1b80 | 69 62 75 74 65 20 74 68 65 20 73 61 6d 65 20 73 65 63 74 69 6f 6e 73 20 61 73 20 70 61 72 74 20 | ibute.the.same.sections.as.part. |
f1ba0 | 6f 66 20 61 20 77 68 6f 6c 65 20 77 68 69 63 68 20 69 73 20 61 20 77 6f 72 6b 20 62 61 73 65 64 | of.a.whole.which.is.a.work.based |
f1bc0 | 0a 6f 6e 20 74 68 65 20 50 72 6f 67 72 61 6d 2c 20 74 68 65 20 64 69 73 74 72 69 62 75 74 69 6f | .on.the.Program,.the.distributio |
f1be0 | 6e 20 6f 66 20 74 68 65 20 77 68 6f 6c 65 20 6d 75 73 74 20 62 65 20 6f 6e 20 74 68 65 20 74 65 | n.of.the.whole.must.be.on.the.te |
f1c00 | 72 6d 73 20 6f 66 0a 74 68 69 73 20 4c 69 63 65 6e 73 65 2c 20 77 68 6f 73 65 20 70 65 72 6d 69 | rms.of.this.License,.whose.permi |
f1c20 | 73 73 69 6f 6e 73 20 66 6f 72 20 6f 74 68 65 72 20 6c 69 63 65 6e 73 65 65 73 20 65 78 74 65 6e | ssions.for.other.licensees.exten |
f1c40 | 64 20 74 6f 20 74 68 65 0a 65 6e 74 69 72 65 20 77 68 6f 6c 65 2c 20 61 6e 64 20 74 68 75 73 20 | d.to.the.entire.whole,.and.thus. |
f1c60 | 74 6f 20 65 61 63 68 20 61 6e 64 20 65 76 65 72 79 20 70 61 72 74 20 72 65 67 61 72 64 6c 65 73 | to.each.and.every.part.regardles |
f1c80 | 73 20 6f 66 20 77 68 6f 20 77 72 6f 74 65 20 69 74 2e 0a 0a 3c 70 3e 54 68 75 73 2c 20 69 74 20 | s.of.who.wrote.it...<p>Thus,.it. |
f1ca0 | 69 73 20 6e 6f 74 20 74 68 65 20 69 6e 74 65 6e 74 20 6f 66 20 74 68 69 73 20 73 65 63 74 69 6f | is.not.the.intent.of.this.sectio |
f1cc0 | 6e 20 74 6f 20 63 6c 61 69 6d 20 72 69 67 68 74 73 20 6f 72 20 63 6f 6e 74 65 73 74 0a 79 6f 75 | n.to.claim.rights.or.contest.you |
f1ce0 | 72 20 72 69 67 68 74 73 20 74 6f 20 77 6f 72 6b 20 77 72 69 74 74 65 6e 20 65 6e 74 69 72 65 6c | r.rights.to.work.written.entirel |
f1d00 | 79 20 62 79 20 79 6f 75 3b 20 72 61 74 68 65 72 2c 20 74 68 65 20 69 6e 74 65 6e 74 20 69 73 20 | y.by.you;.rather,.the.intent.is. |
f1d20 | 74 6f 0a 65 78 65 72 63 69 73 65 20 74 68 65 20 72 69 67 68 74 20 74 6f 20 63 6f 6e 74 72 6f 6c | to.exercise.the.right.to.control |
f1d40 | 20 74 68 65 20 64 69 73 74 72 69 62 75 74 69 6f 6e 20 6f 66 20 64 65 72 69 76 61 74 69 76 65 20 | .the.distribution.of.derivative. |
f1d60 | 6f 72 0a 63 6f 6c 6c 65 63 74 69 76 65 20 77 6f 72 6b 73 20 62 61 73 65 64 20 6f 6e 20 74 68 65 | or.collective.works.based.on.the |
f1d80 | 20 50 72 6f 67 72 61 6d 2e 0a 0a 3c 70 3e 49 6e 20 61 64 64 69 74 69 6f 6e 2c 20 6d 65 72 65 20 | .Program...<p>In.addition,.mere. |
f1da0 | 61 67 67 72 65 67 61 74 69 6f 6e 20 6f 66 20 61 6e 6f 74 68 65 72 20 77 6f 72 6b 20 6e 6f 74 20 | aggregation.of.another.work.not. |
f1dc0 | 62 61 73 65 64 20 6f 6e 20 74 68 65 20 50 72 6f 67 72 61 6d 0a 77 69 74 68 20 74 68 65 20 50 72 | based.on.the.Program.with.the.Pr |
f1de0 | 6f 67 72 61 6d 20 28 6f 72 20 77 69 74 68 20 61 20 77 6f 72 6b 20 62 61 73 65 64 20 6f 6e 20 74 | ogram.(or.with.a.work.based.on.t |
f1e00 | 68 65 20 50 72 6f 67 72 61 6d 29 20 6f 6e 20 61 20 76 6f 6c 75 6d 65 20 6f 66 0a 61 20 73 74 6f | he.Program).on.a.volume.of.a.sto |
f1e20 | 72 61 67 65 20 6f 72 20 64 69 73 74 72 69 62 75 74 69 6f 6e 20 6d 65 64 69 75 6d 20 64 6f 65 73 | rage.or.distribution.medium.does |
f1e40 | 20 6e 6f 74 20 62 72 69 6e 67 20 74 68 65 20 6f 74 68 65 72 20 77 6f 72 6b 20 75 6e 64 65 72 0a | .not.bring.the.other.work.under. |
f1e60 | 74 68 65 20 73 63 6f 70 65 20 6f 66 20 74 68 69 73 20 4c 69 63 65 6e 73 65 2e 0a 0a 3c 70 3e 3c | the.scope.of.this.License...<p>< |
f1e80 | 73 70 61 6e 20 63 6c 61 73 73 3d 22 67 6e 75 2d 6e 75 6d 62 65 72 22 3e 33 2e 20 3c 2f 73 70 61 | span.class="gnu-number">3..</spa |
f1ea0 | 6e 3e 0a 59 6f 75 20 6d 61 79 20 63 6f 70 79 20 61 6e 64 20 64 69 73 74 72 69 62 75 74 65 20 74 | n>.You.may.copy.and.distribute.t |
f1ec0 | 68 65 20 50 72 6f 67 72 61 6d 20 28 6f 72 20 61 20 77 6f 72 6b 20 62 61 73 65 64 20 6f 6e 20 69 | he.Program.(or.a.work.based.on.i |
f1ee0 | 74 2c 0a 75 6e 64 65 72 20 53 65 63 74 69 6f 6e 20 32 29 20 69 6e 20 6f 62 6a 65 63 74 20 63 6f | t,.under.Section.2).in.object.co |
f1f00 | 64 65 20 6f 72 20 65 78 65 63 75 74 61 62 6c 65 20 66 6f 72 6d 20 75 6e 64 65 72 20 74 68 65 20 | de.or.executable.form.under.the. |
f1f20 | 74 65 72 6d 73 20 6f 66 0a 53 65 63 74 69 6f 6e 73 20 31 20 61 6e 64 20 32 20 61 62 6f 76 65 20 | terms.of.Sections.1.and.2.above. |
f1f40 | 70 72 6f 76 69 64 65 64 20 74 68 61 74 20 79 6f 75 20 61 6c 73 6f 20 64 6f 20 6f 6e 65 20 6f 66 | provided.that.you.also.do.one.of |
f1f60 | 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 3a 0a 0a 20 20 20 20 61 29 20 41 63 63 6f 6d 70 61 6e | .the.following:......a).Accompan |
f1f80 | 79 20 69 74 20 77 69 74 68 20 74 68 65 20 63 6f 6d 70 6c 65 74 65 20 63 6f 72 72 65 73 70 6f 6e | y.it.with.the.complete.correspon |
f1fa0 | 64 69 6e 67 20 6d 61 63 68 69 6e 65 2d 72 65 61 64 61 62 6c 65 0a 20 20 20 20 73 6f 75 72 63 65 | ding.machine-readable.....source |
f1fc0 | 20 63 6f 64 65 2c 20 77 68 69 63 68 20 6d 75 73 74 20 62 65 20 64 69 73 74 72 69 62 75 74 65 64 | .code,.which.must.be.distributed |
f1fe0 | 20 75 6e 64 65 72 20 74 68 65 20 74 65 72 6d 73 20 6f 66 20 53 65 63 74 69 6f 6e 73 0a 20 20 20 | .under.the.terms.of.Sections.... |
f2000 | 20 31 20 61 6e 64 20 32 20 61 62 6f 76 65 20 6f 6e 20 61 20 6d 65 64 69 75 6d 20 63 75 73 74 6f | .1.and.2.above.on.a.medium.custo |
f2020 | 6d 61 72 69 6c 79 20 75 73 65 64 20 66 6f 72 20 73 6f 66 74 77 61 72 65 20 69 6e 74 65 72 63 68 | marily.used.for.software.interch |
f2040 | 61 6e 67 65 3b 20 6f 72 2c 0a 0a 20 20 20 20 62 29 20 41 63 63 6f 6d 70 61 6e 79 20 69 74 20 77 | ange;.or,......b).Accompany.it.w |
f2060 | 69 74 68 20 61 20 77 72 69 74 74 65 6e 20 6f 66 66 65 72 2c 20 76 61 6c 69 64 20 66 6f 72 20 61 | ith.a.written.offer,.valid.for.a |
f2080 | 74 20 6c 65 61 73 74 20 74 68 72 65 65 0a 20 20 20 20 79 65 61 72 73 2c 20 74 6f 20 67 69 76 65 | t.least.three.....years,.to.give |
f20a0 | 20 61 6e 79 20 74 68 69 72 64 20 70 61 72 74 79 2c 20 66 6f 72 20 61 20 63 68 61 72 67 65 20 6e | .any.third.party,.for.a.charge.n |
f20c0 | 6f 20 6d 6f 72 65 20 74 68 61 6e 20 79 6f 75 72 0a 20 20 20 20 63 6f 73 74 20 6f 66 20 70 68 79 | o.more.than.your.....cost.of.phy |
f20e0 | 73 69 63 61 6c 6c 79 20 70 65 72 66 6f 72 6d 69 6e 67 20 73 6f 75 72 63 65 20 64 69 73 74 72 69 | sically.performing.source.distri |
f2100 | 62 75 74 69 6f 6e 2c 20 61 20 63 6f 6d 70 6c 65 74 65 0a 20 20 20 20 6d 61 63 68 69 6e 65 2d 72 | bution,.a.complete.....machine-r |
f2120 | 65 61 64 61 62 6c 65 20 63 6f 70 79 20 6f 66 20 74 68 65 20 63 6f 72 72 65 73 70 6f 6e 64 69 6e | eadable.copy.of.the.correspondin |
f2140 | 67 20 73 6f 75 72 63 65 20 63 6f 64 65 2c 20 74 6f 20 62 65 0a 20 20 20 20 64 69 73 74 72 69 62 | g.source.code,.to.be.....distrib |
f2160 | 75 74 65 64 20 75 6e 64 65 72 20 74 68 65 20 74 65 72 6d 73 20 6f 66 20 53 65 63 74 69 6f 6e 73 | uted.under.the.terms.of.Sections |
f2180 | 20 31 20 61 6e 64 20 32 20 61 62 6f 76 65 20 6f 6e 20 61 20 6d 65 64 69 75 6d 0a 20 20 20 20 63 | .1.and.2.above.on.a.medium.....c |
f21a0 | 75 73 74 6f 6d 61 72 69 6c 79 20 75 73 65 64 20 66 6f 72 20 73 6f 66 74 77 61 72 65 20 69 6e 74 | ustomarily.used.for.software.int |
f21c0 | 65 72 63 68 61 6e 67 65 3b 20 6f 72 2c 0a 0a 20 20 20 20 63 29 20 41 63 63 6f 6d 70 61 6e 79 20 | erchange;.or,......c).Accompany. |
f21e0 | 69 74 20 77 69 74 68 20 74 68 65 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 20 79 6f 75 20 72 65 63 65 | it.with.the.information.you.rece |
f2200 | 69 76 65 64 20 61 73 20 74 6f 20 74 68 65 20 6f 66 66 65 72 0a 20 20 20 20 74 6f 20 64 69 73 74 | ived.as.to.the.offer.....to.dist |
f2220 | 72 69 62 75 74 65 20 63 6f 72 72 65 73 70 6f 6e 64 69 6e 67 20 73 6f 75 72 63 65 20 63 6f 64 65 | ribute.corresponding.source.code |
f2240 | 2e 20 20 28 54 68 69 73 20 61 6c 74 65 72 6e 61 74 69 76 65 20 69 73 0a 20 20 20 20 61 6c 6c 6f | ...(This.alternative.is.....allo |
f2260 | 77 65 64 20 6f 6e 6c 79 20 66 6f 72 20 6e 6f 6e 63 6f 6d 6d 65 72 63 69 61 6c 20 64 69 73 74 72 | wed.only.for.noncommercial.distr |
f2280 | 69 62 75 74 69 6f 6e 20 61 6e 64 20 6f 6e 6c 79 20 69 66 20 79 6f 75 0a 20 20 20 20 72 65 63 65 | ibution.and.only.if.you.....rece |
f22a0 | 69 76 65 64 20 74 68 65 20 70 72 6f 67 72 61 6d 20 69 6e 20 6f 62 6a 65 63 74 20 63 6f 64 65 20 | ived.the.program.in.object.code. |
f22c0 | 6f 72 20 65 78 65 63 75 74 61 62 6c 65 20 66 6f 72 6d 20 77 69 74 68 20 73 75 63 68 0a 20 20 20 | or.executable.form.with.such.... |
f22e0 | 20 61 6e 20 6f 66 66 65 72 2c 20 69 6e 20 61 63 63 6f 72 64 20 77 69 74 68 20 53 75 62 73 65 63 | .an.offer,.in.accord.with.Subsec |
f2300 | 74 69 6f 6e 20 62 20 61 62 6f 76 65 2e 29 0a 0a 3c 70 3e 54 68 65 20 73 6f 75 72 63 65 20 63 6f | tion.b.above.)..<p>The.source.co |
f2320 | 64 65 20 66 6f 72 20 61 20 77 6f 72 6b 20 6d 65 61 6e 73 20 74 68 65 20 70 72 65 66 65 72 72 65 | de.for.a.work.means.the.preferre |
f2340 | 64 20 66 6f 72 6d 20 6f 66 20 74 68 65 20 77 6f 72 6b 20 66 6f 72 0a 6d 61 6b 69 6e 67 20 6d 6f | d.form.of.the.work.for.making.mo |
f2360 | 64 69 66 69 63 61 74 69 6f 6e 73 20 74 6f 20 69 74 2e 20 20 46 6f 72 20 61 6e 20 65 78 65 63 75 | difications.to.it...For.an.execu |
f2380 | 74 61 62 6c 65 20 77 6f 72 6b 2c 20 63 6f 6d 70 6c 65 74 65 20 73 6f 75 72 63 65 0a 63 6f 64 65 | table.work,.complete.source.code |
f23a0 | 20 6d 65 61 6e 73 20 61 6c 6c 20 74 68 65 20 73 6f 75 72 63 65 20 63 6f 64 65 20 66 6f 72 20 61 | .means.all.the.source.code.for.a |
f23c0 | 6c 6c 20 6d 6f 64 75 6c 65 73 20 69 74 20 63 6f 6e 74 61 69 6e 73 2c 20 70 6c 75 73 20 61 6e 79 | ll.modules.it.contains,.plus.any |
f23e0 | 0a 61 73 73 6f 63 69 61 74 65 64 20 69 6e 74 65 72 66 61 63 65 20 64 65 66 69 6e 69 74 69 6f 6e | .associated.interface.definition |
f2400 | 20 66 69 6c 65 73 2c 20 70 6c 75 73 20 74 68 65 20 73 63 72 69 70 74 73 20 75 73 65 64 20 74 6f | .files,.plus.the.scripts.used.to |
f2420 | 0a 63 6f 6e 74 72 6f 6c 20 63 6f 6d 70 69 6c 61 74 69 6f 6e 20 61 6e 64 20 69 6e 73 74 61 6c 6c | .control.compilation.and.install |
f2440 | 61 74 69 6f 6e 20 6f 66 20 74 68 65 20 65 78 65 63 75 74 61 62 6c 65 2e 20 20 48 6f 77 65 76 65 | ation.of.the.executable...Howeve |
f2460 | 72 2c 20 61 73 20 61 0a 73 70 65 63 69 61 6c 20 65 78 63 65 70 74 69 6f 6e 2c 20 74 68 65 20 73 | r,.as.a.special.exception,.the.s |
f2480 | 6f 75 72 63 65 20 63 6f 64 65 20 64 69 73 74 72 69 62 75 74 65 64 20 6e 65 65 64 20 6e 6f 74 20 | ource.code.distributed.need.not. |
f24a0 | 69 6e 63 6c 75 64 65 0a 61 6e 79 74 68 69 6e 67 20 74 68 61 74 20 69 73 20 6e 6f 72 6d 61 6c 6c | include.anything.that.is.normall |
f24c0 | 79 20 64 69 73 74 72 69 62 75 74 65 64 20 28 69 6e 20 65 69 74 68 65 72 20 73 6f 75 72 63 65 20 | y.distributed.(in.either.source. |
f24e0 | 6f 72 20 62 69 6e 61 72 79 0a 66 6f 72 6d 29 20 77 69 74 68 20 74 68 65 20 6d 61 6a 6f 72 20 63 | or.binary.form).with.the.major.c |
f2500 | 6f 6d 70 6f 6e 65 6e 74 73 20 28 63 6f 6d 70 69 6c 65 72 2c 20 6b 65 72 6e 65 6c 2c 20 61 6e 64 | omponents.(compiler,.kernel,.and |
f2520 | 20 73 6f 20 6f 6e 29 20 6f 66 20 74 68 65 0a 6f 70 65 72 61 74 69 6e 67 20 73 79 73 74 65 6d 20 | .so.on).of.the.operating.system. |
f2540 | 6f 6e 20 77 68 69 63 68 20 74 68 65 20 65 78 65 63 75 74 61 62 6c 65 20 72 75 6e 73 2c 20 75 6e | on.which.the.executable.runs,.un |
f2560 | 6c 65 73 73 20 74 68 61 74 20 63 6f 6d 70 6f 6e 65 6e 74 0a 69 74 73 65 6c 66 20 61 63 63 6f 6d | less.that.component.itself.accom |
f2580 | 70 61 6e 69 65 73 20 74 68 65 20 65 78 65 63 75 74 61 62 6c 65 2e 0a 0a 3c 70 3e 49 66 20 64 69 | panies.the.executable...<p>If.di |
f25a0 | 73 74 72 69 62 75 74 69 6f 6e 20 6f 66 20 65 78 65 63 75 74 61 62 6c 65 20 6f 72 20 6f 62 6a 65 | stribution.of.executable.or.obje |
f25c0 | 63 74 20 63 6f 64 65 20 69 73 20 6d 61 64 65 20 62 79 20 6f 66 66 65 72 69 6e 67 0a 61 63 63 65 | ct.code.is.made.by.offering.acce |
f25e0 | 73 73 20 74 6f 20 63 6f 70 79 20 66 72 6f 6d 20 61 20 64 65 73 69 67 6e 61 74 65 64 20 70 6c 61 | ss.to.copy.from.a.designated.pla |
f2600 | 63 65 2c 20 74 68 65 6e 20 6f 66 66 65 72 69 6e 67 20 65 71 75 69 76 61 6c 65 6e 74 0a 61 63 63 | ce,.then.offering.equivalent.acc |
f2620 | 65 73 73 20 74 6f 20 63 6f 70 79 20 74 68 65 20 73 6f 75 72 63 65 20 63 6f 64 65 20 66 72 6f 6d | ess.to.copy.the.source.code.from |
f2640 | 20 74 68 65 20 73 61 6d 65 20 70 6c 61 63 65 20 63 6f 75 6e 74 73 20 61 73 0a 64 69 73 74 72 69 | .the.same.place.counts.as.distri |
f2660 | 62 75 74 69 6f 6e 20 6f 66 20 74 68 65 20 73 6f 75 72 63 65 20 63 6f 64 65 2c 20 65 76 65 6e 20 | bution.of.the.source.code,.even. |
f2680 | 74 68 6f 75 67 68 20 74 68 69 72 64 20 70 61 72 74 69 65 73 20 61 72 65 20 6e 6f 74 0a 63 6f 6d | though.third.parties.are.not.com |
f26a0 | 70 65 6c 6c 65 64 20 74 6f 20 63 6f 70 79 20 74 68 65 20 73 6f 75 72 63 65 20 61 6c 6f 6e 67 20 | pelled.to.copy.the.source.along. |
f26c0 | 77 69 74 68 20 74 68 65 20 6f 62 6a 65 63 74 20 63 6f 64 65 2e 0a 0a 3c 70 3e 3c 73 70 61 6e 20 | with.the.object.code...<p><span. |
f26e0 | 63 6c 61 73 73 3d 22 67 6e 75 2d 6e 75 6d 62 65 72 22 3e 34 2e 20 3c 2f 73 70 61 6e 3e 0a 59 6f | class="gnu-number">4..</span>.Yo |
f2700 | 75 20 6d 61 79 20 6e 6f 74 20 63 6f 70 79 2c 20 6d 6f 64 69 66 79 2c 20 73 75 62 6c 69 63 65 6e | u.may.not.copy,.modify,.sublicen |
f2720 | 73 65 2c 20 6f 72 20 64 69 73 74 72 69 62 75 74 65 20 74 68 65 20 50 72 6f 67 72 61 6d 0a 65 78 | se,.or.distribute.the.Program.ex |
f2740 | 63 65 70 74 20 61 73 20 65 78 70 72 65 73 73 6c 79 20 70 72 6f 76 69 64 65 64 20 75 6e 64 65 72 | cept.as.expressly.provided.under |
f2760 | 20 74 68 69 73 20 4c 69 63 65 6e 73 65 2e 20 20 41 6e 79 20 61 74 74 65 6d 70 74 0a 6f 74 68 65 | .this.License...Any.attempt.othe |
f2780 | 72 77 69 73 65 20 74 6f 20 63 6f 70 79 2c 20 6d 6f 64 69 66 79 2c 20 73 75 62 6c 69 63 65 6e 73 | rwise.to.copy,.modify,.sublicens |
f27a0 | 65 20 6f 72 20 64 69 73 74 72 69 62 75 74 65 20 74 68 65 20 50 72 6f 67 72 61 6d 20 69 73 0a 76 | e.or.distribute.the.Program.is.v |
f27c0 | 6f 69 64 2c 20 61 6e 64 20 77 69 6c 6c 20 61 75 74 6f 6d 61 74 69 63 61 6c 6c 79 20 74 65 72 6d | oid,.and.will.automatically.term |
f27e0 | 69 6e 61 74 65 20 79 6f 75 72 20 72 69 67 68 74 73 20 75 6e 64 65 72 20 74 68 69 73 20 4c 69 63 | inate.your.rights.under.this.Lic |
f2800 | 65 6e 73 65 2e 0a 48 6f 77 65 76 65 72 2c 20 70 61 72 74 69 65 73 20 77 68 6f 20 68 61 76 65 20 | ense..However,.parties.who.have. |
f2820 | 72 65 63 65 69 76 65 64 20 63 6f 70 69 65 73 2c 20 6f 72 20 72 69 67 68 74 73 2c 20 66 72 6f 6d | received.copies,.or.rights,.from |
f2840 | 20 79 6f 75 20 75 6e 64 65 72 0a 74 68 69 73 20 4c 69 63 65 6e 73 65 20 77 69 6c 6c 20 6e 6f 74 | .you.under.this.License.will.not |
f2860 | 20 68 61 76 65 20 74 68 65 69 72 20 6c 69 63 65 6e 73 65 73 20 74 65 72 6d 69 6e 61 74 65 64 20 | .have.their.licenses.terminated. |
f2880 | 73 6f 20 6c 6f 6e 67 20 61 73 20 73 75 63 68 0a 70 61 72 74 69 65 73 20 72 65 6d 61 69 6e 20 69 | so.long.as.such.parties.remain.i |
f28a0 | 6e 20 66 75 6c 6c 20 63 6f 6d 70 6c 69 61 6e 63 65 2e 0a 0a 3c 70 3e 3c 73 70 61 6e 20 63 6c 61 | n.full.compliance...<p><span.cla |
f28c0 | 73 73 3d 22 67 6e 75 2d 6e 75 6d 62 65 72 22 3e 35 2e 20 3c 2f 73 70 61 6e 3e 0a 59 6f 75 20 61 | ss="gnu-number">5..</span>.You.a |
f28e0 | 72 65 20 6e 6f 74 20 72 65 71 75 69 72 65 64 20 74 6f 20 61 63 63 65 70 74 20 74 68 69 73 20 4c | re.not.required.to.accept.this.L |
f2900 | 69 63 65 6e 73 65 2c 20 73 69 6e 63 65 20 79 6f 75 20 68 61 76 65 20 6e 6f 74 0a 73 69 67 6e 65 | icense,.since.you.have.not.signe |
f2920 | 64 20 69 74 2e 20 20 48 6f 77 65 76 65 72 2c 20 6e 6f 74 68 69 6e 67 20 65 6c 73 65 20 67 72 61 | d.it...However,.nothing.else.gra |
f2940 | 6e 74 73 20 79 6f 75 20 70 65 72 6d 69 73 73 69 6f 6e 20 74 6f 20 6d 6f 64 69 66 79 20 6f 72 0a | nts.you.permission.to.modify.or. |
f2960 | 64 69 73 74 72 69 62 75 74 65 20 74 68 65 20 50 72 6f 67 72 61 6d 20 6f 72 20 69 74 73 20 64 65 | distribute.the.Program.or.its.de |
f2980 | 72 69 76 61 74 69 76 65 20 77 6f 72 6b 73 2e 20 20 54 68 65 73 65 20 61 63 74 69 6f 6e 73 20 61 | rivative.works...These.actions.a |
f29a0 | 72 65 0a 70 72 6f 68 69 62 69 74 65 64 20 62 79 20 6c 61 77 20 69 66 20 79 6f 75 20 64 6f 20 6e | re.prohibited.by.law.if.you.do.n |
f29c0 | 6f 74 20 61 63 63 65 70 74 20 74 68 69 73 20 4c 69 63 65 6e 73 65 2e 20 20 54 68 65 72 65 66 6f | ot.accept.this.License...Therefo |
f29e0 | 72 65 2c 20 62 79 0a 6d 6f 64 69 66 79 69 6e 67 20 6f 72 20 64 69 73 74 72 69 62 75 74 69 6e 67 | re,.by.modifying.or.distributing |
f2a00 | 20 74 68 65 20 50 72 6f 67 72 61 6d 20 28 6f 72 20 61 6e 79 20 77 6f 72 6b 20 62 61 73 65 64 20 | .the.Program.(or.any.work.based. |
f2a20 | 6f 6e 20 74 68 65 0a 50 72 6f 67 72 61 6d 29 2c 20 79 6f 75 20 69 6e 64 69 63 61 74 65 20 79 6f | on.the.Program),.you.indicate.yo |
f2a40 | 75 72 20 61 63 63 65 70 74 61 6e 63 65 20 6f 66 20 74 68 69 73 20 4c 69 63 65 6e 73 65 20 74 6f | ur.acceptance.of.this.License.to |
f2a60 | 20 64 6f 20 73 6f 2c 20 61 6e 64 0a 61 6c 6c 20 69 74 73 20 74 65 72 6d 73 20 61 6e 64 20 63 6f | .do.so,.and.all.its.terms.and.co |
f2a80 | 6e 64 69 74 69 6f 6e 73 20 66 6f 72 20 63 6f 70 79 69 6e 67 2c 20 64 69 73 74 72 69 62 75 74 69 | nditions.for.copying,.distributi |
f2aa0 | 6e 67 20 6f 72 20 6d 6f 64 69 66 79 69 6e 67 0a 74 68 65 20 50 72 6f 67 72 61 6d 20 6f 72 20 77 | ng.or.modifying.the.Program.or.w |
f2ac0 | 6f 72 6b 73 20 62 61 73 65 64 20 6f 6e 20 69 74 2e 0a 0a 3c 70 3e 3c 73 70 61 6e 20 63 6c 61 73 | orks.based.on.it...<p><span.clas |
f2ae0 | 73 3d 22 67 6e 75 2d 6e 75 6d 62 65 72 22 3e 36 2e 20 3c 2f 73 70 61 6e 3e 0a 45 61 63 68 20 74 | s="gnu-number">6..</span>.Each.t |
f2b00 | 69 6d 65 20 79 6f 75 20 72 65 64 69 73 74 72 69 62 75 74 65 20 74 68 65 20 50 72 6f 67 72 61 6d | ime.you.redistribute.the.Program |
f2b20 | 20 28 6f 72 20 61 6e 79 20 77 6f 72 6b 20 62 61 73 65 64 20 6f 6e 20 74 68 65 0a 50 72 6f 67 72 | .(or.any.work.based.on.the.Progr |
f2b40 | 61 6d 29 2c 20 74 68 65 20 72 65 63 69 70 69 65 6e 74 20 61 75 74 6f 6d 61 74 69 63 61 6c 6c 79 | am),.the.recipient.automatically |
f2b60 | 20 72 65 63 65 69 76 65 73 20 61 20 6c 69 63 65 6e 73 65 20 66 72 6f 6d 20 74 68 65 0a 6f 72 69 | .receives.a.license.from.the.ori |
f2b80 | 67 69 6e 61 6c 20 6c 69 63 65 6e 73 6f 72 20 74 6f 20 63 6f 70 79 2c 20 64 69 73 74 72 69 62 75 | ginal.licensor.to.copy,.distribu |
f2ba0 | 74 65 20 6f 72 20 6d 6f 64 69 66 79 20 74 68 65 20 50 72 6f 67 72 61 6d 20 73 75 62 6a 65 63 74 | te.or.modify.the.Program.subject |
f2bc0 | 20 74 6f 0a 74 68 65 73 65 20 74 65 72 6d 73 20 61 6e 64 20 63 6f 6e 64 69 74 69 6f 6e 73 2e 20 | .to.these.terms.and.conditions.. |
f2be0 | 20 59 6f 75 20 6d 61 79 20 6e 6f 74 20 69 6d 70 6f 73 65 20 61 6e 79 20 66 75 72 74 68 65 72 0a | .You.may.not.impose.any.further. |
f2c00 | 72 65 73 74 72 69 63 74 69 6f 6e 73 20 6f 6e 20 74 68 65 20 72 65 63 69 70 69 65 6e 74 73 27 20 | restrictions.on.the.recipients'. |
f2c20 | 65 78 65 72 63 69 73 65 20 6f 66 20 74 68 65 20 72 69 67 68 74 73 20 67 72 61 6e 74 65 64 20 68 | exercise.of.the.rights.granted.h |
f2c40 | 65 72 65 69 6e 2e 0a 59 6f 75 20 61 72 65 20 6e 6f 74 20 72 65 73 70 6f 6e 73 69 62 6c 65 20 66 | erein..You.are.not.responsible.f |
f2c60 | 6f 72 20 65 6e 66 6f 72 63 69 6e 67 20 63 6f 6d 70 6c 69 61 6e 63 65 20 62 79 20 74 68 69 72 64 | or.enforcing.compliance.by.third |
f2c80 | 20 70 61 72 74 69 65 73 20 74 6f 0a 74 68 69 73 20 4c 69 63 65 6e 73 65 2e 0a 0a 3c 70 3e 3c 73 | .parties.to.this.License...<p><s |
f2ca0 | 70 61 6e 20 63 6c 61 73 73 3d 22 67 6e 75 2d 6e 75 6d 62 65 72 22 3e 37 2e 20 3c 2f 73 70 61 6e | pan.class="gnu-number">7..</span |
f2cc0 | 3e 0a 49 66 2c 20 61 73 20 61 20 63 6f 6e 73 65 71 75 65 6e 63 65 20 6f 66 20 61 20 63 6f 75 72 | >.If,.as.a.consequence.of.a.cour |
f2ce0 | 74 20 6a 75 64 67 6d 65 6e 74 20 6f 72 20 61 6c 6c 65 67 61 74 69 6f 6e 20 6f 66 20 70 61 74 65 | t.judgment.or.allegation.of.pate |
f2d00 | 6e 74 0a 69 6e 66 72 69 6e 67 65 6d 65 6e 74 20 6f 72 20 66 6f 72 20 61 6e 79 20 6f 74 68 65 72 | nt.infringement.or.for.any.other |
f2d20 | 20 72 65 61 73 6f 6e 20 28 6e 6f 74 20 6c 69 6d 69 74 65 64 20 74 6f 20 70 61 74 65 6e 74 20 69 | .reason.(not.limited.to.patent.i |
f2d40 | 73 73 75 65 73 29 2c 0a 63 6f 6e 64 69 74 69 6f 6e 73 20 61 72 65 20 69 6d 70 6f 73 65 64 20 6f | ssues),.conditions.are.imposed.o |
f2d60 | 6e 20 79 6f 75 20 28 77 68 65 74 68 65 72 20 62 79 20 63 6f 75 72 74 20 6f 72 64 65 72 2c 20 61 | n.you.(whether.by.court.order,.a |
f2d80 | 67 72 65 65 6d 65 6e 74 20 6f 72 0a 6f 74 68 65 72 77 69 73 65 29 20 74 68 61 74 20 63 6f 6e 74 | greement.or.otherwise).that.cont |
f2da0 | 72 61 64 69 63 74 20 74 68 65 20 63 6f 6e 64 69 74 69 6f 6e 73 20 6f 66 20 74 68 69 73 20 4c 69 | radict.the.conditions.of.this.Li |
f2dc0 | 63 65 6e 73 65 2c 20 74 68 65 79 20 64 6f 20 6e 6f 74 0a 65 78 63 75 73 65 20 79 6f 75 20 66 72 | cense,.they.do.not.excuse.you.fr |
f2de0 | 6f 6d 20 74 68 65 20 63 6f 6e 64 69 74 69 6f 6e 73 20 6f 66 20 74 68 69 73 20 4c 69 63 65 6e 73 | om.the.conditions.of.this.Licens |
f2e00 | 65 2e 20 20 49 66 20 79 6f 75 20 63 61 6e 6e 6f 74 0a 64 69 73 74 72 69 62 75 74 65 20 73 6f 20 | e...If.you.cannot.distribute.so. |
f2e20 | 61 73 20 74 6f 20 73 61 74 69 73 66 79 20 73 69 6d 75 6c 74 61 6e 65 6f 75 73 6c 79 20 79 6f 75 | as.to.satisfy.simultaneously.you |
f2e40 | 72 20 6f 62 6c 69 67 61 74 69 6f 6e 73 20 75 6e 64 65 72 20 74 68 69 73 0a 4c 69 63 65 6e 73 65 | r.obligations.under.this.License |
f2e60 | 20 61 6e 64 20 61 6e 79 20 6f 74 68 65 72 20 70 65 72 74 69 6e 65 6e 74 20 6f 62 6c 69 67 61 74 | .and.any.other.pertinent.obligat |
f2e80 | 69 6f 6e 73 2c 20 74 68 65 6e 20 61 73 20 61 20 63 6f 6e 73 65 71 75 65 6e 63 65 20 79 6f 75 0a | ions,.then.as.a.consequence.you. |
f2ea0 | 6d 61 79 20 6e 6f 74 20 64 69 73 74 72 69 62 75 74 65 20 74 68 65 20 50 72 6f 67 72 61 6d 20 61 | may.not.distribute.the.Program.a |
f2ec0 | 74 20 61 6c 6c 2e 20 20 46 6f 72 20 65 78 61 6d 70 6c 65 2c 20 69 66 20 61 20 70 61 74 65 6e 74 | t.all...For.example,.if.a.patent |
f2ee0 | 0a 6c 69 63 65 6e 73 65 20 77 6f 75 6c 64 20 6e 6f 74 20 70 65 72 6d 69 74 20 72 6f 79 61 6c 74 | .license.would.not.permit.royalt |
f2f00 | 79 2d 66 72 65 65 20 72 65 64 69 73 74 72 69 62 75 74 69 6f 6e 20 6f 66 20 74 68 65 20 50 72 6f | y-free.redistribution.of.the.Pro |
f2f20 | 67 72 61 6d 20 62 79 0a 61 6c 6c 20 74 68 6f 73 65 20 77 68 6f 20 72 65 63 65 69 76 65 20 63 6f | gram.by.all.those.who.receive.co |
f2f40 | 70 69 65 73 20 64 69 72 65 63 74 6c 79 20 6f 72 20 69 6e 64 69 72 65 63 74 6c 79 20 74 68 72 6f | pies.directly.or.indirectly.thro |
f2f60 | 75 67 68 20 79 6f 75 2c 20 74 68 65 6e 0a 74 68 65 20 6f 6e 6c 79 20 77 61 79 20 79 6f 75 20 63 | ugh.you,.then.the.only.way.you.c |
f2f80 | 6f 75 6c 64 20 73 61 74 69 73 66 79 20 62 6f 74 68 20 69 74 20 61 6e 64 20 74 68 69 73 20 4c 69 | ould.satisfy.both.it.and.this.Li |
f2fa0 | 63 65 6e 73 65 20 77 6f 75 6c 64 20 62 65 20 74 6f 0a 72 65 66 72 61 69 6e 20 65 6e 74 69 72 65 | cense.would.be.to.refrain.entire |
f2fc0 | 6c 79 20 66 72 6f 6d 20 64 69 73 74 72 69 62 75 74 69 6f 6e 20 6f 66 20 74 68 65 20 50 72 6f 67 | ly.from.distribution.of.the.Prog |
f2fe0 | 72 61 6d 2e 0a 0a 3c 70 3e 49 66 20 61 6e 79 20 70 6f 72 74 69 6f 6e 20 6f 66 20 74 68 69 73 20 | ram...<p>If.any.portion.of.this. |
f3000 | 73 65 63 74 69 6f 6e 20 69 73 20 68 65 6c 64 20 69 6e 76 61 6c 69 64 20 6f 72 20 75 6e 65 6e 66 | section.is.held.invalid.or.unenf |
f3020 | 6f 72 63 65 61 62 6c 65 20 75 6e 64 65 72 0a 61 6e 79 20 70 61 72 74 69 63 75 6c 61 72 20 63 69 | orceable.under.any.particular.ci |
f3040 | 72 63 75 6d 73 74 61 6e 63 65 2c 20 74 68 65 20 62 61 6c 61 6e 63 65 20 6f 66 20 74 68 65 20 73 | rcumstance,.the.balance.of.the.s |
f3060 | 65 63 74 69 6f 6e 20 69 73 20 69 6e 74 65 6e 64 65 64 20 74 6f 0a 61 70 70 6c 79 20 61 6e 64 20 | ection.is.intended.to.apply.and. |
f3080 | 74 68 65 20 73 65 63 74 69 6f 6e 20 61 73 20 61 20 77 68 6f 6c 65 20 69 73 20 69 6e 74 65 6e 64 | the.section.as.a.whole.is.intend |
f30a0 | 65 64 20 74 6f 20 61 70 70 6c 79 20 69 6e 20 6f 74 68 65 72 0a 63 69 72 63 75 6d 73 74 61 6e 63 | ed.to.apply.in.other.circumstanc |
f30c0 | 65 73 2e 0a 0a 3c 70 3e 49 74 20 69 73 20 6e 6f 74 20 74 68 65 20 70 75 72 70 6f 73 65 20 6f 66 | es...<p>It.is.not.the.purpose.of |
f30e0 | 20 74 68 69 73 20 73 65 63 74 69 6f 6e 20 74 6f 20 69 6e 64 75 63 65 20 79 6f 75 20 74 6f 20 69 | .this.section.to.induce.you.to.i |
f3100 | 6e 66 72 69 6e 67 65 20 61 6e 79 0a 70 61 74 65 6e 74 73 20 6f 72 20 6f 74 68 65 72 20 70 72 6f | nfringe.any.patents.or.other.pro |
f3120 | 70 65 72 74 79 20 72 69 67 68 74 20 63 6c 61 69 6d 73 20 6f 72 20 74 6f 20 63 6f 6e 74 65 73 74 | perty.right.claims.or.to.contest |
f3140 | 20 76 61 6c 69 64 69 74 79 20 6f 66 20 61 6e 79 0a 73 75 63 68 20 63 6c 61 69 6d 73 3b 20 74 68 | .validity.of.any.such.claims;.th |
f3160 | 69 73 20 73 65 63 74 69 6f 6e 20 68 61 73 20 74 68 65 20 73 6f 6c 65 20 70 75 72 70 6f 73 65 20 | is.section.has.the.sole.purpose. |
f3180 | 6f 66 20 70 72 6f 74 65 63 74 69 6e 67 20 74 68 65 0a 69 6e 74 65 67 72 69 74 79 20 6f 66 20 74 | of.protecting.the.integrity.of.t |
f31a0 | 68 65 20 66 72 65 65 20 73 6f 66 74 77 61 72 65 20 64 69 73 74 72 69 62 75 74 69 6f 6e 20 73 79 | he.free.software.distribution.sy |
f31c0 | 73 74 65 6d 2c 20 77 68 69 63 68 20 69 73 0a 69 6d 70 6c 65 6d 65 6e 74 65 64 20 62 79 20 70 75 | stem,.which.is.implemented.by.pu |
f31e0 | 62 6c 69 63 20 6c 69 63 65 6e 73 65 20 70 72 61 63 74 69 63 65 73 2e 20 20 4d 61 6e 79 20 70 65 | blic.license.practices...Many.pe |
f3200 | 6f 70 6c 65 20 68 61 76 65 20 6d 61 64 65 0a 67 65 6e 65 72 6f 75 73 20 63 6f 6e 74 72 69 62 75 | ople.have.made.generous.contribu |
f3220 | 74 69 6f 6e 73 20 74 6f 20 74 68 65 20 77 69 64 65 20 72 61 6e 67 65 20 6f 66 20 73 6f 66 74 77 | tions.to.the.wide.range.of.softw |
f3240 | 61 72 65 20 64 69 73 74 72 69 62 75 74 65 64 0a 74 68 72 6f 75 67 68 20 74 68 61 74 20 73 79 73 | are.distributed.through.that.sys |
f3260 | 74 65 6d 20 69 6e 20 72 65 6c 69 61 6e 63 65 20 6f 6e 20 63 6f 6e 73 69 73 74 65 6e 74 20 61 70 | tem.in.reliance.on.consistent.ap |
f3280 | 70 6c 69 63 61 74 69 6f 6e 20 6f 66 20 74 68 61 74 0a 73 79 73 74 65 6d 3b 20 69 74 20 69 73 20 | plication.of.that.system;.it.is. |
f32a0 | 75 70 20 74 6f 20 74 68 65 20 61 75 74 68 6f 72 2f 64 6f 6e 6f 72 20 74 6f 20 64 65 63 69 64 65 | up.to.the.author/donor.to.decide |
f32c0 | 20 69 66 20 68 65 20 6f 72 20 73 68 65 20 69 73 20 77 69 6c 6c 69 6e 67 0a 74 6f 20 64 69 73 74 | .if.he.or.she.is.willing.to.dist |
f32e0 | 72 69 62 75 74 65 20 73 6f 66 74 77 61 72 65 20 74 68 72 6f 75 67 68 20 61 6e 79 20 6f 74 68 65 | ribute.software.through.any.othe |
f3300 | 72 20 73 79 73 74 65 6d 20 61 6e 64 20 61 20 6c 69 63 65 6e 73 65 65 20 63 61 6e 6e 6f 74 0a 69 | r.system.and.a.licensee.cannot.i |
f3320 | 6d 70 6f 73 65 20 74 68 61 74 20 63 68 6f 69 63 65 2e 0a 0a 3c 70 3e 54 68 69 73 20 73 65 63 74 | mpose.that.choice...<p>This.sect |
f3340 | 69 6f 6e 20 69 73 20 69 6e 74 65 6e 64 65 64 20 74 6f 20 6d 61 6b 65 20 74 68 6f 72 6f 75 67 68 | ion.is.intended.to.make.thorough |
f3360 | 6c 79 20 63 6c 65 61 72 20 77 68 61 74 20 69 73 20 62 65 6c 69 65 76 65 64 20 74 6f 0a 62 65 20 | ly.clear.what.is.believed.to.be. |
f3380 | 61 20 63 6f 6e 73 65 71 75 65 6e 63 65 20 6f 66 20 74 68 65 20 72 65 73 74 20 6f 66 20 74 68 69 | a.consequence.of.the.rest.of.thi |
f33a0 | 73 20 4c 69 63 65 6e 73 65 2e 0a 0a 3c 70 3e 3c 73 70 61 6e 20 63 6c 61 73 73 3d 22 67 6e 75 2d | s.License...<p><span.class="gnu- |
f33c0 | 6e 75 6d 62 65 72 22 3e 38 2e 20 3c 2f 73 70 61 6e 3e 0a 49 66 20 74 68 65 20 64 69 73 74 72 69 | number">8..</span>.If.the.distri |
f33e0 | 62 75 74 69 6f 6e 20 61 6e 64 2f 6f 72 20 75 73 65 20 6f 66 20 74 68 65 20 50 72 6f 67 72 61 6d | bution.and/or.use.of.the.Program |
f3400 | 20 69 73 20 72 65 73 74 72 69 63 74 65 64 20 69 6e 0a 63 65 72 74 61 69 6e 20 63 6f 75 6e 74 72 | .is.restricted.in.certain.countr |
f3420 | 69 65 73 20 65 69 74 68 65 72 20 62 79 20 70 61 74 65 6e 74 73 20 6f 72 20 62 79 20 63 6f 70 79 | ies.either.by.patents.or.by.copy |
f3440 | 72 69 67 68 74 65 64 20 69 6e 74 65 72 66 61 63 65 73 2c 20 74 68 65 0a 6f 72 69 67 69 6e 61 6c | righted.interfaces,.the.original |
f3460 | 20 63 6f 70 79 72 69 67 68 74 20 68 6f 6c 64 65 72 20 77 68 6f 20 70 6c 61 63 65 73 20 74 68 65 | .copyright.holder.who.places.the |
f3480 | 20 50 72 6f 67 72 61 6d 20 75 6e 64 65 72 20 74 68 69 73 20 4c 69 63 65 6e 73 65 0a 6d 61 79 20 | .Program.under.this.License.may. |
f34a0 | 61 64 64 20 61 6e 20 65 78 70 6c 69 63 69 74 20 67 65 6f 67 72 61 70 68 69 63 61 6c 20 64 69 73 | add.an.explicit.geographical.dis |
f34c0 | 74 72 69 62 75 74 69 6f 6e 20 6c 69 6d 69 74 61 74 69 6f 6e 20 65 78 63 6c 75 64 69 6e 67 0a 74 | tribution.limitation.excluding.t |
f34e0 | 68 6f 73 65 20 63 6f 75 6e 74 72 69 65 73 2c 20 73 6f 20 74 68 61 74 20 64 69 73 74 72 69 62 75 | hose.countries,.so.that.distribu |
f3500 | 74 69 6f 6e 20 69 73 20 70 65 72 6d 69 74 74 65 64 20 6f 6e 6c 79 20 69 6e 20 6f 72 20 61 6d 6f | tion.is.permitted.only.in.or.amo |
f3520 | 6e 67 0a 63 6f 75 6e 74 72 69 65 73 20 6e 6f 74 20 74 68 75 73 20 65 78 63 6c 75 64 65 64 2e 20 | ng.countries.not.thus.excluded.. |
f3540 | 20 49 6e 20 73 75 63 68 20 63 61 73 65 2c 20 74 68 69 73 20 4c 69 63 65 6e 73 65 20 69 6e 63 6f | .In.such.case,.this.License.inco |
f3560 | 72 70 6f 72 61 74 65 73 0a 74 68 65 20 6c 69 6d 69 74 61 74 69 6f 6e 20 61 73 20 69 66 20 77 72 | rporates.the.limitation.as.if.wr |
f3580 | 69 74 74 65 6e 20 69 6e 20 74 68 65 20 62 6f 64 79 20 6f 66 20 74 68 69 73 20 4c 69 63 65 6e 73 | itten.in.the.body.of.this.Licens |
f35a0 | 65 2e 0a 0a 3c 70 3e 3c 73 70 61 6e 20 63 6c 61 73 73 3d 22 67 6e 75 2d 6e 75 6d 62 65 72 22 3e | e...<p><span.class="gnu-number"> |
f35c0 | 39 2e 20 3c 2f 73 70 61 6e 3e 0a 54 68 65 20 46 72 65 65 20 53 6f 66 74 77 61 72 65 20 46 6f 75 | 9..</span>.The.Free.Software.Fou |
f35e0 | 6e 64 61 74 69 6f 6e 20 6d 61 79 20 70 75 62 6c 69 73 68 20 72 65 76 69 73 65 64 20 61 6e 64 2f | ndation.may.publish.revised.and/ |
f3600 | 6f 72 20 6e 65 77 20 76 65 72 73 69 6f 6e 73 0a 6f 66 20 74 68 65 20 47 65 6e 65 72 61 6c 20 50 | or.new.versions.of.the.General.P |
f3620 | 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 20 66 72 6f 6d 20 74 69 6d 65 20 74 6f 20 74 69 6d 65 2e | ublic.License.from.time.to.time. |
f3640 | 20 20 53 75 63 68 20 6e 65 77 20 76 65 72 73 69 6f 6e 73 20 77 69 6c 6c 0a 62 65 20 73 69 6d 69 | ..Such.new.versions.will.be.simi |
f3660 | 6c 61 72 20 69 6e 20 73 70 69 72 69 74 20 74 6f 20 74 68 65 20 70 72 65 73 65 6e 74 20 76 65 72 | lar.in.spirit.to.the.present.ver |
f3680 | 73 69 6f 6e 2c 20 62 75 74 20 6d 61 79 20 64 69 66 66 65 72 20 69 6e 20 64 65 74 61 69 6c 20 74 | sion,.but.may.differ.in.detail.t |
f36a0 | 6f 0a 61 64 64 72 65 73 73 20 6e 65 77 20 70 72 6f 62 6c 65 6d 73 20 6f 72 20 63 6f 6e 63 65 72 | o.address.new.problems.or.concer |
f36c0 | 6e 73 2e 0a 0a 3c 70 3e 45 61 63 68 20 76 65 72 73 69 6f 6e 20 69 73 20 67 69 76 65 6e 20 61 20 | ns...<p>Each.version.is.given.a. |
f36e0 | 64 69 73 74 69 6e 67 75 69 73 68 69 6e 67 20 76 65 72 73 69 6f 6e 20 6e 75 6d 62 65 72 2e 20 20 | distinguishing.version.number... |
f3700 | 49 66 20 74 68 65 20 50 72 6f 67 72 61 6d 0a 73 70 65 63 69 66 69 65 73 20 61 20 76 65 72 73 69 | If.the.Program.specifies.a.versi |
f3720 | 6f 6e 20 6e 75 6d 62 65 72 20 6f 66 20 74 68 69 73 20 4c 69 63 65 6e 73 65 20 77 68 69 63 68 20 | on.number.of.this.License.which. |
f3740 | 61 70 70 6c 69 65 73 20 74 6f 20 69 74 20 61 6e 64 20 22 61 6e 79 0a 6c 61 74 65 72 20 76 65 72 | applies.to.it.and."any.later.ver |
f3760 | 73 69 6f 6e 22 2c 20 79 6f 75 20 68 61 76 65 20 74 68 65 20 6f 70 74 69 6f 6e 20 6f 66 20 66 6f | sion",.you.have.the.option.of.fo |
f3780 | 6c 6c 6f 77 69 6e 67 20 74 68 65 20 74 65 72 6d 73 20 61 6e 64 20 63 6f 6e 64 69 74 69 6f 6e 73 | llowing.the.terms.and.conditions |
f37a0 | 0a 65 69 74 68 65 72 20 6f 66 20 74 68 61 74 20 76 65 72 73 69 6f 6e 20 6f 72 20 6f 66 20 61 6e | .either.of.that.version.or.of.an |
f37c0 | 79 20 6c 61 74 65 72 20 76 65 72 73 69 6f 6e 20 70 75 62 6c 69 73 68 65 64 20 62 79 20 74 68 65 | y.later.version.published.by.the |
f37e0 | 20 46 72 65 65 0a 53 6f 66 74 77 61 72 65 20 46 6f 75 6e 64 61 74 69 6f 6e 2e 20 20 49 66 20 74 | .Free.Software.Foundation...If.t |
f3800 | 68 65 20 50 72 6f 67 72 61 6d 20 64 6f 65 73 20 6e 6f 74 20 73 70 65 63 69 66 79 20 61 20 76 65 | he.Program.does.not.specify.a.ve |
f3820 | 72 73 69 6f 6e 20 6e 75 6d 62 65 72 20 6f 66 0a 74 68 69 73 20 4c 69 63 65 6e 73 65 2c 20 79 6f | rsion.number.of.this.License,.yo |
f3840 | 75 20 6d 61 79 20 63 68 6f 6f 73 65 20 61 6e 79 20 76 65 72 73 69 6f 6e 20 65 76 65 72 20 70 75 | u.may.choose.any.version.ever.pu |
f3860 | 62 6c 69 73 68 65 64 20 62 79 20 74 68 65 20 46 72 65 65 20 53 6f 66 74 77 61 72 65 0a 46 6f 75 | blished.by.the.Free.Software.Fou |
f3880 | 6e 64 61 74 69 6f 6e 2e 0a 0a 3c 70 3e 3c 73 70 61 6e 20 63 6c 61 73 73 3d 22 67 6e 75 2d 6e 75 | ndation...<p><span.class="gnu-nu |
f38a0 | 6d 62 65 72 22 3e 31 30 2e 20 3c 2f 73 70 61 6e 3e 0a 49 66 20 79 6f 75 20 77 69 73 68 20 74 6f | mber">10..</span>.If.you.wish.to |
f38c0 | 20 69 6e 63 6f 72 70 6f 72 61 74 65 20 70 61 72 74 73 20 6f 66 20 74 68 65 20 50 72 6f 67 72 61 | .incorporate.parts.of.the.Progra |
f38e0 | 6d 20 69 6e 74 6f 20 6f 74 68 65 72 20 66 72 65 65 0a 70 72 6f 67 72 61 6d 73 20 77 68 6f 73 65 | m.into.other.free.programs.whose |
f3900 | 20 64 69 73 74 72 69 62 75 74 69 6f 6e 20 63 6f 6e 64 69 74 69 6f 6e 73 20 61 72 65 20 64 69 66 | .distribution.conditions.are.dif |
f3920 | 66 65 72 65 6e 74 2c 20 77 72 69 74 65 20 74 6f 20 74 68 65 20 61 75 74 68 6f 72 0a 74 6f 20 61 | ferent,.write.to.the.author.to.a |
f3940 | 73 6b 20 66 6f 72 20 70 65 72 6d 69 73 73 69 6f 6e 2e 20 20 46 6f 72 20 73 6f 66 74 77 61 72 65 | sk.for.permission...For.software |
f3960 | 20 77 68 69 63 68 20 69 73 20 63 6f 70 79 72 69 67 68 74 65 64 20 62 79 20 74 68 65 20 46 72 65 | .which.is.copyrighted.by.the.Fre |
f3980 | 65 0a 53 6f 66 74 77 61 72 65 20 46 6f 75 6e 64 61 74 69 6f 6e 2c 20 77 72 69 74 65 20 74 6f 20 | e.Software.Foundation,.write.to. |
f39a0 | 74 68 65 20 46 72 65 65 20 53 6f 66 74 77 61 72 65 20 46 6f 75 6e 64 61 74 69 6f 6e 3b 20 77 65 | the.Free.Software.Foundation;.we |
f39c0 | 20 73 6f 6d 65 74 69 6d 65 73 0a 6d 61 6b 65 20 65 78 63 65 70 74 69 6f 6e 73 20 66 6f 72 20 74 | .sometimes.make.exceptions.for.t |
f39e0 | 68 69 73 2e 20 20 4f 75 72 20 64 65 63 69 73 69 6f 6e 20 77 69 6c 6c 20 62 65 20 67 75 69 64 65 | his...Our.decision.will.be.guide |
f3a00 | 64 20 62 79 20 74 68 65 20 74 77 6f 20 67 6f 61 6c 73 0a 6f 66 20 70 72 65 73 65 72 76 69 6e 67 | d.by.the.two.goals.of.preserving |
f3a20 | 20 74 68 65 20 66 72 65 65 20 73 74 61 74 75 73 20 6f 66 20 61 6c 6c 20 64 65 72 69 76 61 74 69 | .the.free.status.of.all.derivati |
f3a40 | 76 65 73 20 6f 66 20 6f 75 72 20 66 72 65 65 20 73 6f 66 74 77 61 72 65 20 61 6e 64 0a 6f 66 20 | ves.of.our.free.software.and.of. |
f3a60 | 70 72 6f 6d 6f 74 69 6e 67 20 74 68 65 20 73 68 61 72 69 6e 67 20 61 6e 64 20 72 65 75 73 65 20 | promoting.the.sharing.and.reuse. |
f3a80 | 6f 66 20 73 6f 66 74 77 61 72 65 20 67 65 6e 65 72 61 6c 6c 79 2e 0a 0a 09 09 09 20 20 20 20 3c | of.software.generally..........< |
f3aa0 | 68 32 3e 4e 4f 20 57 41 52 52 41 4e 54 59 3c 2f 68 32 3e 0a 0a 3c 70 3e 3c 73 70 61 6e 20 63 6c | h2>NO.WARRANTY</h2>..<p><span.cl |
f3ac0 | 61 73 73 3d 22 67 6e 75 2d 6e 75 6d 62 65 72 22 3e 31 31 2e 20 3c 2f 73 70 61 6e 3e 0a 42 45 43 | ass="gnu-number">11..</span>.BEC |
f3ae0 | 41 55 53 45 20 54 48 45 20 50 52 4f 47 52 41 4d 20 49 53 20 4c 49 43 45 4e 53 45 44 20 46 52 45 | AUSE.THE.PROGRAM.IS.LICENSED.FRE |
f3b00 | 45 20 4f 46 20 43 48 41 52 47 45 2c 20 54 48 45 52 45 20 49 53 20 4e 4f 20 57 41 52 52 41 4e 54 | E.OF.CHARGE,.THERE.IS.NO.WARRANT |
f3b20 | 59 0a 46 4f 52 20 54 48 45 20 50 52 4f 47 52 41 4d 2c 20 54 4f 20 54 48 45 20 45 58 54 45 4e 54 | Y.FOR.THE.PROGRAM,.TO.THE.EXTENT |
f3b40 | 20 50 45 52 4d 49 54 54 45 44 20 42 59 20 41 50 50 4c 49 43 41 42 4c 45 20 4c 41 57 2e 20 20 45 | .PERMITTED.BY.APPLICABLE.LAW...E |
f3b60 | 58 43 45 50 54 20 57 48 45 4e 0a 4f 54 48 45 52 57 49 53 45 20 53 54 41 54 45 44 20 49 4e 20 57 | XCEPT.WHEN.OTHERWISE.STATED.IN.W |
f3b80 | 52 49 54 49 4e 47 20 54 48 45 20 43 4f 50 59 52 49 47 48 54 20 48 4f 4c 44 45 52 53 20 41 4e 44 | RITING.THE.COPYRIGHT.HOLDERS.AND |
f3ba0 | 2f 4f 52 20 4f 54 48 45 52 20 50 41 52 54 49 45 53 0a 50 52 4f 56 49 44 45 20 54 48 45 20 50 52 | /OR.OTHER.PARTIES.PROVIDE.THE.PR |
f3bc0 | 4f 47 52 41 4d 20 22 41 53 20 49 53 22 20 57 49 54 48 4f 55 54 20 57 41 52 52 41 4e 54 59 20 4f | OGRAM."AS.IS".WITHOUT.WARRANTY.O |
f3be0 | 46 20 41 4e 59 20 4b 49 4e 44 2c 20 45 49 54 48 45 52 20 45 58 50 52 45 53 53 45 44 0a 4f 52 20 | F.ANY.KIND,.EITHER.EXPRESSED.OR. |
f3c00 | 49 4d 50 4c 49 45 44 2c 20 49 4e 43 4c 55 44 49 4e 47 2c 20 42 55 54 20 4e 4f 54 20 4c 49 4d 49 | IMPLIED,.INCLUDING,.BUT.NOT.LIMI |
f3c20 | 54 45 44 20 54 4f 2c 20 54 48 45 20 49 4d 50 4c 49 45 44 20 57 41 52 52 41 4e 54 49 45 53 20 4f | TED.TO,.THE.IMPLIED.WARRANTIES.O |
f3c40 | 46 0a 4d 45 52 43 48 41 4e 54 41 42 49 4c 49 54 59 20 41 4e 44 20 46 49 54 4e 45 53 53 20 46 4f | F.MERCHANTABILITY.AND.FITNESS.FO |
f3c60 | 52 20 41 20 50 41 52 54 49 43 55 4c 41 52 20 50 55 52 50 4f 53 45 2e 20 20 54 48 45 20 45 4e 54 | R.A.PARTICULAR.PURPOSE...THE.ENT |
f3c80 | 49 52 45 20 52 49 53 4b 20 41 53 0a 54 4f 20 54 48 45 20 51 55 41 4c 49 54 59 20 41 4e 44 20 50 | IRE.RISK.AS.TO.THE.QUALITY.AND.P |
f3ca0 | 45 52 46 4f 52 4d 41 4e 43 45 20 4f 46 20 54 48 45 20 50 52 4f 47 52 41 4d 20 49 53 20 57 49 54 | ERFORMANCE.OF.THE.PROGRAM.IS.WIT |
f3cc0 | 48 20 59 4f 55 2e 20 20 53 48 4f 55 4c 44 20 54 48 45 0a 50 52 4f 47 52 41 4d 20 50 52 4f 56 45 | H.YOU...SHOULD.THE.PROGRAM.PROVE |
f3ce0 | 20 44 45 46 45 43 54 49 56 45 2c 20 59 4f 55 20 41 53 53 55 4d 45 20 54 48 45 20 43 4f 53 54 20 | .DEFECTIVE,.YOU.ASSUME.THE.COST. |
f3d00 | 4f 46 20 41 4c 4c 20 4e 45 43 45 53 53 41 52 59 20 53 45 52 56 49 43 49 4e 47 2c 0a 52 45 50 41 | OF.ALL.NECESSARY.SERVICING,.REPA |
f3d20 | 49 52 20 4f 52 20 43 4f 52 52 45 43 54 49 4f 4e 2e 0a 0a 3c 70 3e 3c 73 70 61 6e 20 63 6c 61 73 | IR.OR.CORRECTION...<p><span.clas |
f3d40 | 73 3d 22 67 6e 75 2d 6e 75 6d 62 65 72 22 3e 31 32 2e 20 3c 2f 73 70 61 6e 3e 0a 49 4e 20 4e 4f | s="gnu-number">12..</span>.IN.NO |
f3d60 | 20 45 56 45 4e 54 20 55 4e 4c 45 53 53 20 52 45 51 55 49 52 45 44 20 42 59 20 41 50 50 4c 49 43 | .EVENT.UNLESS.REQUIRED.BY.APPLIC |
f3d80 | 41 42 4c 45 20 4c 41 57 20 4f 52 20 41 47 52 45 45 44 20 54 4f 20 49 4e 20 57 52 49 54 49 4e 47 | ABLE.LAW.OR.AGREED.TO.IN.WRITING |
f3da0 | 0a 57 49 4c 4c 20 41 4e 59 20 43 4f 50 59 52 49 47 48 54 20 48 4f 4c 44 45 52 2c 20 4f 52 20 41 | .WILL.ANY.COPYRIGHT.HOLDER,.OR.A |
f3dc0 | 4e 59 20 4f 54 48 45 52 20 50 41 52 54 59 20 57 48 4f 20 4d 41 59 20 4d 4f 44 49 46 59 20 41 4e | NY.OTHER.PARTY.WHO.MAY.MODIFY.AN |
f3de0 | 44 2f 4f 52 0a 52 45 44 49 53 54 52 49 42 55 54 45 20 54 48 45 20 50 52 4f 47 52 41 4d 20 41 53 | D/OR.REDISTRIBUTE.THE.PROGRAM.AS |
f3e00 | 20 50 45 52 4d 49 54 54 45 44 20 41 42 4f 56 45 2c 20 42 45 20 4c 49 41 42 4c 45 20 54 4f 20 59 | .PERMITTED.ABOVE,.BE.LIABLE.TO.Y |
f3e20 | 4f 55 20 46 4f 52 20 44 41 4d 41 47 45 53 2c 0a 49 4e 43 4c 55 44 49 4e 47 20 41 4e 59 20 47 45 | OU.FOR.DAMAGES,.INCLUDING.ANY.GE |
f3e40 | 4e 45 52 41 4c 2c 20 53 50 45 43 49 41 4c 2c 20 49 4e 43 49 44 45 4e 54 41 4c 20 4f 52 20 43 4f | NERAL,.SPECIAL,.INCIDENTAL.OR.CO |
f3e60 | 4e 53 45 51 55 45 4e 54 49 41 4c 20 44 41 4d 41 47 45 53 20 41 52 49 53 49 4e 47 0a 4f 55 54 20 | NSEQUENTIAL.DAMAGES.ARISING.OUT. |
f3e80 | 4f 46 20 54 48 45 20 55 53 45 20 4f 52 20 49 4e 41 42 49 4c 49 54 59 20 54 4f 20 55 53 45 20 54 | OF.THE.USE.OR.INABILITY.TO.USE.T |
f3ea0 | 48 45 20 50 52 4f 47 52 41 4d 20 28 49 4e 43 4c 55 44 49 4e 47 20 42 55 54 20 4e 4f 54 20 4c 49 | HE.PROGRAM.(INCLUDING.BUT.NOT.LI |
f3ec0 | 4d 49 54 45 44 0a 54 4f 20 4c 4f 53 53 20 4f 46 20 44 41 54 41 20 4f 52 20 44 41 54 41 20 42 45 | MITED.TO.LOSS.OF.DATA.OR.DATA.BE |
f3ee0 | 49 4e 47 20 52 45 4e 44 45 52 45 44 20 49 4e 41 43 43 55 52 41 54 45 20 4f 52 20 4c 4f 53 53 45 | ING.RENDERED.INACCURATE.OR.LOSSE |
f3f00 | 53 20 53 55 53 54 41 49 4e 45 44 20 42 59 0a 59 4f 55 20 4f 52 20 54 48 49 52 44 20 50 41 52 54 | S.SUSTAINED.BY.YOU.OR.THIRD.PART |
f3f20 | 49 45 53 20 4f 52 20 41 20 46 41 49 4c 55 52 45 20 4f 46 20 54 48 45 20 50 52 4f 47 52 41 4d 20 | IES.OR.A.FAILURE.OF.THE.PROGRAM. |
f3f40 | 54 4f 20 4f 50 45 52 41 54 45 20 57 49 54 48 20 41 4e 59 20 4f 54 48 45 52 0a 50 52 4f 47 52 41 | TO.OPERATE.WITH.ANY.OTHER.PROGRA |
f3f60 | 4d 53 29 2c 20 45 56 45 4e 20 49 46 20 53 55 43 48 20 48 4f 4c 44 45 52 20 4f 52 20 4f 54 48 45 | MS),.EVEN.IF.SUCH.HOLDER.OR.OTHE |
f3f80 | 52 20 50 41 52 54 59 20 48 41 53 20 42 45 45 4e 20 41 44 56 49 53 45 44 20 4f 46 20 54 48 45 0a | R.PARTY.HAS.BEEN.ADVISED.OF.THE. |
f3fa0 | 50 4f 53 53 49 42 49 4c 49 54 59 20 4f 46 20 53 55 43 48 20 44 41 4d 41 47 45 53 2e 0a 0a 3c 70 | POSSIBILITY.OF.SUCH.DAMAGES...<p |
f3fc0 | 3e 45 4e 44 20 4f 46 20 54 45 52 4d 53 20 41 4e 44 20 43 4f 4e 44 49 54 49 4f 4e 53 3c 2f 70 3e | >END.OF.TERMS.AND.CONDITIONS</p> |
f3fe0 | 0a 0a 09 20 20 20 20 3c 68 32 3e 48 6f 77 20 74 6f 20 41 70 70 6c 79 20 54 68 65 73 65 20 54 65 | .......<h2>How.to.Apply.These.Te |
f4000 | 72 6d 73 20 74 6f 20 59 6f 75 72 20 4e 65 77 20 50 72 6f 67 72 61 6d 73 3c 2f 68 32 3e 0a 0a 3c | rms.to.Your.New.Programs</h2>..< |
f4020 | 70 3e 20 20 49 66 20 79 6f 75 20 64 65 76 65 6c 6f 70 20 61 20 6e 65 77 20 70 72 6f 67 72 61 6d | p>..If.you.develop.a.new.program |
f4040 | 2c 20 61 6e 64 20 79 6f 75 20 77 61 6e 74 20 69 74 20 74 6f 20 62 65 20 6f 66 20 74 68 65 20 67 | ,.and.you.want.it.to.be.of.the.g |
f4060 | 72 65 61 74 65 73 74 0a 70 6f 73 73 69 62 6c 65 20 75 73 65 20 74 6f 20 74 68 65 20 70 75 62 6c | reatest.possible.use.to.the.publ |
f4080 | 69 63 2c 20 74 68 65 20 62 65 73 74 20 77 61 79 20 74 6f 20 61 63 68 69 65 76 65 20 74 68 69 73 | ic,.the.best.way.to.achieve.this |
f40a0 | 20 69 73 20 74 6f 20 6d 61 6b 65 20 69 74 0a 66 72 65 65 20 73 6f 66 74 77 61 72 65 20 77 68 69 | .is.to.make.it.free.software.whi |
f40c0 | 63 68 20 65 76 65 72 79 6f 6e 65 20 63 61 6e 20 72 65 64 69 73 74 72 69 62 75 74 65 20 61 6e 64 | ch.everyone.can.redistribute.and |
f40e0 | 20 63 68 61 6e 67 65 20 75 6e 64 65 72 20 74 68 65 73 65 20 74 65 72 6d 73 2e 0a 0a 3c 70 3e 20 | .change.under.these.terms...<p>. |
f4100 | 20 54 6f 20 64 6f 20 73 6f 2c 20 61 74 74 61 63 68 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 | .To.do.so,.attach.the.following. |
f4120 | 6e 6f 74 69 63 65 73 20 74 6f 20 74 68 65 20 70 72 6f 67 72 61 6d 2e 20 20 49 74 20 69 73 20 73 | notices.to.the.program...It.is.s |
f4140 | 61 66 65 73 74 0a 74 6f 20 61 74 74 61 63 68 20 74 68 65 6d 20 74 6f 20 74 68 65 20 73 74 61 72 | afest.to.attach.them.to.the.star |
f4160 | 74 20 6f 66 20 65 61 63 68 20 73 6f 75 72 63 65 20 66 69 6c 65 20 74 6f 20 6d 6f 73 74 20 65 66 | t.of.each.source.file.to.most.ef |
f4180 | 66 65 63 74 69 76 65 6c 79 0a 63 6f 6e 76 65 79 20 74 68 65 20 65 78 63 6c 75 73 69 6f 6e 20 6f | fectively.convey.the.exclusion.o |
f41a0 | 66 20 77 61 72 72 61 6e 74 79 3b 20 61 6e 64 20 65 61 63 68 20 66 69 6c 65 20 73 68 6f 75 6c 64 | f.warranty;.and.each.file.should |
f41c0 | 20 68 61 76 65 20 61 74 20 6c 65 61 73 74 0a 74 68 65 20 22 63 6f 70 79 72 69 67 68 74 22 20 6c | .have.at.least.the."copyright".l |
f41e0 | 69 6e 65 20 61 6e 64 20 61 20 70 6f 69 6e 74 65 72 20 74 6f 20 77 68 65 72 65 20 74 68 65 20 66 | ine.and.a.pointer.to.where.the.f |
f4200 | 75 6c 6c 20 6e 6f 74 69 63 65 20 69 73 20 66 6f 75 6e 64 2e 0a 0a 3c 70 72 65 3e 0a 20 20 20 20 | ull.notice.is.found...<pre>..... |
f4220 | 26 6c 74 3b 6f 6e 65 20 6c 69 6e 65 20 74 6f 20 67 69 76 65 20 74 68 65 20 70 72 6f 67 72 61 6d | <one.line.to.give.the.program |
f4240 | 27 73 20 6e 61 6d 65 20 61 6e 64 20 61 20 62 72 69 65 66 20 69 64 65 61 20 6f 66 20 77 68 61 74 | 's.name.and.a.brief.idea.of.what |
f4260 | 20 69 74 20 64 6f 65 73 2e 26 67 74 3b 0a 20 20 20 20 43 6f 70 79 72 69 67 68 74 20 28 43 29 20 | .it.does.>.....Copyright.(C). |
f4280 | 26 6c 74 3b 79 65 61 72 26 67 74 3b 20 20 26 6c 74 3b 6e 61 6d 65 20 6f 66 20 61 75 74 68 6f 72 | <year>..<name.of.author |
f42a0 | 26 67 74 3b 0a 0a 20 20 20 20 54 68 69 73 20 70 72 6f 67 72 61 6d 20 69 73 20 66 72 65 65 20 73 | >......This.program.is.free.s |
f42c0 | 6f 66 74 77 61 72 65 3b 20 79 6f 75 20 63 61 6e 20 72 65 64 69 73 74 72 69 62 75 74 65 20 69 74 | oftware;.you.can.redistribute.it |
f42e0 | 20 61 6e 64 2f 6f 72 20 6d 6f 64 69 66 79 0a 20 20 20 20 69 74 20 75 6e 64 65 72 20 74 68 65 20 | .and/or.modify.....it.under.the. |
f4300 | 74 65 72 6d 73 20 6f 66 20 74 68 65 20 47 4e 55 20 47 65 6e 65 72 61 6c 20 50 75 62 6c 69 63 20 | terms.of.the.GNU.General.Public. |
f4320 | 4c 69 63 65 6e 73 65 20 61 73 20 70 75 62 6c 69 73 68 65 64 20 62 79 0a 20 20 20 20 74 68 65 20 | License.as.published.by.....the. |
f4340 | 46 72 65 65 20 53 6f 66 74 77 61 72 65 20 46 6f 75 6e 64 61 74 69 6f 6e 3b 20 65 69 74 68 65 72 | Free.Software.Foundation;.either |
f4360 | 20 76 65 72 73 69 6f 6e 20 32 20 6f 66 20 74 68 65 20 4c 69 63 65 6e 73 65 2c 20 6f 72 0a 20 20 | .version.2.of.the.License,.or... |
f4380 | 20 20 28 61 74 20 79 6f 75 72 20 6f 70 74 69 6f 6e 29 20 61 6e 79 20 6c 61 74 65 72 20 76 65 72 | ..(at.your.option).any.later.ver |
f43a0 | 73 69 6f 6e 2e 0a 0a 20 20 20 20 54 68 69 73 20 70 72 6f 67 72 61 6d 20 69 73 20 64 69 73 74 72 | sion.......This.program.is.distr |
f43c0 | 69 62 75 74 65 64 20 69 6e 20 74 68 65 20 68 6f 70 65 20 74 68 61 74 20 69 74 20 77 69 6c 6c 20 | ibuted.in.the.hope.that.it.will. |
f43e0 | 62 65 20 75 73 65 66 75 6c 2c 0a 20 20 20 20 62 75 74 20 57 49 54 48 4f 55 54 20 41 4e 59 20 57 | be.useful,.....but.WITHOUT.ANY.W |
f4400 | 41 52 52 41 4e 54 59 3b 20 77 69 74 68 6f 75 74 20 65 76 65 6e 20 74 68 65 20 69 6d 70 6c 69 65 | ARRANTY;.without.even.the.implie |
f4420 | 64 20 77 61 72 72 61 6e 74 79 20 6f 66 0a 20 20 20 20 4d 45 52 43 48 41 4e 54 41 42 49 4c 49 54 | d.warranty.of.....MERCHANTABILIT |
f4440 | 59 20 6f 72 20 46 49 54 4e 45 53 53 20 46 4f 52 20 41 20 50 41 52 54 49 43 55 4c 41 52 20 50 55 | Y.or.FITNESS.FOR.A.PARTICULAR.PU |
f4460 | 52 50 4f 53 45 2e 20 20 53 65 65 20 74 68 65 0a 20 20 20 20 47 4e 55 20 47 65 6e 65 72 61 6c 20 | RPOSE...See.the.....GNU.General. |
f4480 | 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 20 66 6f 72 20 6d 6f 72 65 20 64 65 74 61 69 6c 73 2e | Public.License.for.more.details. |
f44a0 | 0a 0a 20 20 20 20 59 6f 75 20 73 68 6f 75 6c 64 20 68 61 76 65 20 72 65 63 65 69 76 65 64 20 61 | ......You.should.have.received.a |
f44c0 | 20 63 6f 70 79 20 6f 66 20 74 68 65 20 47 4e 55 20 47 65 6e 65 72 61 6c 20 50 75 62 6c 69 63 20 | .copy.of.the.GNU.General.Public. |
f44e0 | 4c 69 63 65 6e 73 65 0a 20 20 20 20 61 6c 6f 6e 67 20 77 69 74 68 20 74 68 69 73 20 70 72 6f 67 | License.....along.with.this.prog |
f4500 | 72 61 6d 3b 20 69 66 20 6e 6f 74 2c 20 77 72 69 74 65 20 74 6f 20 74 68 65 20 46 72 65 65 20 53 | ram;.if.not,.write.to.the.Free.S |
f4520 | 6f 66 74 77 61 72 65 0a 20 20 20 20 46 6f 75 6e 64 61 74 69 6f 6e 2c 20 49 6e 63 2e 2c 20 35 31 | oftware.....Foundation,.Inc.,.51 |
f4540 | 20 46 72 61 6e 6b 6c 69 6e 20 53 74 2c 20 46 69 66 74 68 20 46 6c 6f 6f 72 2c 20 42 6f 73 74 6f | .Franklin.St,.Fifth.Floor,.Bosto |
f4560 | 6e 2c 20 4d 41 20 20 30 32 31 31 30 2d 31 33 30 31 20 20 55 53 41 0a 3c 2f 70 72 65 3e 0a 0a 3c | n,.MA..02110-1301..USA.</pre>..< |
f4580 | 70 3e 41 6c 73 6f 20 61 64 64 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 20 6f 6e 20 68 6f 77 20 74 6f | p>Also.add.information.on.how.to |
f45a0 | 20 63 6f 6e 74 61 63 74 20 79 6f 75 20 62 79 20 65 6c 65 63 74 72 6f 6e 69 63 20 61 6e 64 20 70 | .contact.you.by.electronic.and.p |
f45c0 | 61 70 65 72 20 6d 61 69 6c 2e 0a 0a 3c 70 3e 49 66 20 74 68 65 20 70 72 6f 67 72 61 6d 20 69 73 | aper.mail...<p>If.the.program.is |
f45e0 | 20 69 6e 74 65 72 61 63 74 69 76 65 2c 20 6d 61 6b 65 20 69 74 20 6f 75 74 70 75 74 20 61 20 73 | .interactive,.make.it.output.a.s |
f4600 | 68 6f 72 74 20 6e 6f 74 69 63 65 20 6c 69 6b 65 20 74 68 69 73 0a 77 68 65 6e 20 69 74 20 73 74 | hort.notice.like.this.when.it.st |
f4620 | 61 72 74 73 20 69 6e 20 61 6e 20 69 6e 74 65 72 61 63 74 69 76 65 20 6d 6f 64 65 3a 0a 0a 3c 70 | arts.in.an.interactive.mode:..<p |
f4640 | 72 65 3e 0a 20 20 20 20 47 6e 6f 6d 6f 76 69 73 69 6f 6e 20 76 65 72 73 69 6f 6e 20 36 39 2c 20 | re>.....Gnomovision.version.69,. |
f4660 | 43 6f 70 79 72 69 67 68 74 20 28 43 29 20 79 65 61 72 20 6e 61 6d 65 20 6f 66 20 61 75 74 68 6f | Copyright.(C).year.name.of.autho |
f4680 | 72 0a 20 20 20 20 47 6e 6f 6d 6f 76 69 73 69 6f 6e 20 63 6f 6d 65 73 20 77 69 74 68 20 41 42 53 | r.....Gnomovision.comes.with.ABS |
f46a0 | 4f 4c 55 54 45 4c 59 20 4e 4f 20 57 41 52 52 41 4e 54 59 3b 20 66 6f 72 20 64 65 74 61 69 6c 73 | OLUTELY.NO.WARRANTY;.for.details |
f46c0 | 20 74 79 70 65 20 60 73 68 6f 77 20 77 27 2e 0a 20 20 20 20 54 68 69 73 20 69 73 20 66 72 65 65 | .type.`show.w'......This.is.free |
f46e0 | 20 73 6f 66 74 77 61 72 65 2c 20 61 6e 64 20 79 6f 75 20 61 72 65 20 77 65 6c 63 6f 6d 65 20 74 | .software,.and.you.are.welcome.t |
f4700 | 6f 20 72 65 64 69 73 74 72 69 62 75 74 65 20 69 74 0a 20 20 20 20 75 6e 64 65 72 20 63 65 72 74 | o.redistribute.it.....under.cert |
f4720 | 61 69 6e 20 63 6f 6e 64 69 74 69 6f 6e 73 3b 20 74 79 70 65 20 60 73 68 6f 77 20 63 27 20 66 6f | ain.conditions;.type.`show.c'.fo |
f4740 | 72 20 64 65 74 61 69 6c 73 2e 0a 3c 2f 70 72 65 3e 0a 0a 3c 70 3e 54 68 65 20 68 79 70 6f 74 68 | r.details..</pre>..<p>The.hypoth |
f4760 | 65 74 69 63 61 6c 20 63 6f 6d 6d 61 6e 64 73 20 60 73 68 6f 77 20 77 27 20 61 6e 64 20 60 73 68 | etical.commands.`show.w'.and.`sh |
f4780 | 6f 77 20 63 27 20 73 68 6f 75 6c 64 20 73 68 6f 77 20 74 68 65 20 61 70 70 72 6f 70 72 69 61 74 | ow.c'.should.show.the.appropriat |
f47a0 | 65 0a 70 61 72 74 73 20 6f 66 20 74 68 65 20 47 65 6e 65 72 61 6c 20 50 75 62 6c 69 63 20 4c 69 | e.parts.of.the.General.Public.Li |
f47c0 | 63 65 6e 73 65 2e 20 20 4f 66 20 63 6f 75 72 73 65 2c 20 74 68 65 20 63 6f 6d 6d 61 6e 64 73 20 | cense...Of.course,.the.commands. |
f47e0 | 79 6f 75 20 75 73 65 20 6d 61 79 0a 62 65 20 63 61 6c 6c 65 64 20 73 6f 6d 65 74 68 69 6e 67 20 | you.use.may.be.called.something. |
f4800 | 6f 74 68 65 72 20 74 68 61 6e 20 60 73 68 6f 77 20 77 27 20 61 6e 64 20 60 73 68 6f 77 20 63 27 | other.than.`show.w'.and.`show.c' |
f4820 | 3b 20 74 68 65 79 20 63 6f 75 6c 64 20 65 76 65 6e 20 62 65 0a 6d 6f 75 73 65 2d 63 6c 69 63 6b | ;.they.could.even.be.mouse-click |
f4840 | 73 20 6f 72 20 6d 65 6e 75 20 69 74 65 6d 73 2d 2d 77 68 61 74 65 76 65 72 20 73 75 69 74 73 20 | s.or.menu.items--whatever.suits. |
f4860 | 79 6f 75 72 20 70 72 6f 67 72 61 6d 2e 0a 0a 3c 70 3e 59 6f 75 20 73 68 6f 75 6c 64 20 61 6c 73 | your.program...<p>You.should.als |
f4880 | 6f 20 67 65 74 20 79 6f 75 72 20 65 6d 70 6c 6f 79 65 72 20 28 69 66 20 79 6f 75 20 77 6f 72 6b | o.get.your.employer.(if.you.work |
f48a0 | 20 61 73 20 61 20 70 72 6f 67 72 61 6d 6d 65 72 29 20 6f 72 20 79 6f 75 72 0a 73 63 68 6f 6f 6c | .as.a.programmer).or.your.school |
f48c0 | 2c 20 69 66 20 61 6e 79 2c 20 74 6f 20 73 69 67 6e 20 61 20 22 63 6f 70 79 72 69 67 68 74 20 64 | ,.if.any,.to.sign.a."copyright.d |
f48e0 | 69 73 63 6c 61 69 6d 65 72 22 20 66 6f 72 20 74 68 65 20 70 72 6f 67 72 61 6d 2c 20 69 66 0a 6e | isclaimer".for.the.program,.if.n |
f4900 | 65 63 65 73 73 61 72 79 2e 20 20 48 65 72 65 20 69 73 20 61 20 73 61 6d 70 6c 65 3b 20 61 6c 74 | ecessary...Here.is.a.sample;.alt |
f4920 | 65 72 20 74 68 65 20 6e 61 6d 65 73 3a 0a 0a 3c 70 72 65 3e 0a 20 20 59 6f 79 6f 64 79 6e 65 2c | er.the.names:..<pre>...Yoyodyne, |
f4940 | 20 49 6e 63 2e 2c 20 68 65 72 65 62 79 20 64 69 73 63 6c 61 69 6d 73 20 61 6c 6c 20 63 6f 70 79 | .Inc.,.hereby.disclaims.all.copy |
f4960 | 72 69 67 68 74 20 69 6e 74 65 72 65 73 74 20 69 6e 20 74 68 65 20 70 72 6f 67 72 61 6d 0a 20 20 | right.interest.in.the.program... |
f4980 | 60 47 6e 6f 6d 6f 76 69 73 69 6f 6e 27 20 28 77 68 69 63 68 20 6d 61 6b 65 73 20 70 61 73 73 65 | `Gnomovision'.(which.makes.passe |
f49a0 | 73 20 61 74 20 63 6f 6d 70 69 6c 65 72 73 29 20 77 72 69 74 74 65 6e 20 62 79 20 4a 61 6d 65 73 | s.at.compilers).written.by.James |
f49c0 | 20 48 61 63 6b 65 72 2e 0a 0a 20 20 26 6c 74 3b 73 69 67 6e 61 74 75 72 65 20 6f 66 20 54 79 20 | .Hacker.....<signature.of.Ty. |
f49e0 | 43 6f 6f 6e 26 67 74 3b 2c 20 31 20 41 70 72 69 6c 20 31 39 38 39 0a 20 20 54 79 20 43 6f 6f 6e | Coon>,.1.April.1989...Ty.Coon |
f4a00 | 2c 20 50 72 65 73 69 64 65 6e 74 20 6f 66 20 56 69 63 65 0a 3c 2f 70 72 65 3e 0a 0a 3c 70 3e 54 | ,.President.of.Vice.</pre>..<p>T |
f4a20 | 68 69 73 20 47 65 6e 65 72 61 6c 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 20 64 6f 65 73 20 | his.General.Public.License.does. |
f4a40 | 6e 6f 74 20 70 65 72 6d 69 74 20 69 6e 63 6f 72 70 6f 72 61 74 69 6e 67 20 79 6f 75 72 20 70 72 | not.permit.incorporating.your.pr |
f4a60 | 6f 67 72 61 6d 20 69 6e 74 6f 0a 70 72 6f 70 72 69 65 74 61 72 79 20 70 72 6f 67 72 61 6d 73 2e | ogram.into.proprietary.programs. |
f4a80 | 20 20 49 66 20 79 6f 75 72 20 70 72 6f 67 72 61 6d 20 69 73 20 61 20 73 75 62 72 6f 75 74 69 6e | ..If.your.program.is.a.subroutin |
f4aa0 | 65 20 6c 69 62 72 61 72 79 2c 20 79 6f 75 20 6d 61 79 0a 63 6f 6e 73 69 64 65 72 20 69 74 20 6d | e.library,.you.may.consider.it.m |
f4ac0 | 6f 72 65 20 75 73 65 66 75 6c 20 74 6f 20 70 65 72 6d 69 74 20 6c 69 6e 6b 69 6e 67 20 70 72 6f | ore.useful.to.permit.linking.pro |
f4ae0 | 70 72 69 65 74 61 72 79 20 61 70 70 6c 69 63 61 74 69 6f 6e 73 20 77 69 74 68 20 74 68 65 0a 6c | prietary.applications.with.the.l |
f4b00 | 69 62 72 61 72 79 2e 20 20 49 66 20 74 68 69 73 20 69 73 20 77 68 61 74 20 79 6f 75 20 77 61 6e | ibrary...If.this.is.what.you.wan |
f4b20 | 74 20 74 6f 20 64 6f 2c 20 75 73 65 20 74 68 65 20 47 4e 55 20 4c 69 62 72 61 72 79 20 47 65 6e | t.to.do,.use.the.GNU.Library.Gen |
f4b40 | 65 72 61 6c 0a 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 20 69 6e 73 74 65 61 64 20 6f 66 20 74 | eral.Public.License.instead.of.t |
f4b60 | 68 69 73 20 4c 69 63 65 6e 73 65 2e 0a 0a 0a 0a 20 20 20 20 3c 68 72 3e 0a 0a 20 20 20 20 3c 68 | his.License.........<hr>......<h |
f4b80 | 31 3e 3c 61 20 6e 61 6d 65 3d 22 6c 67 70 6c 22 3e 3c 2f 61 3e 47 4e 55 20 4c 65 73 73 65 72 20 | 1><a.name="lgpl"></a>GNU.Lesser. |
f4ba0 | 47 65 6e 65 72 61 6c 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 3c 2f 68 31 3e 0a 20 20 20 20 | General.Public.License</h1>..... |
f4bc0 | 0a 20 20 20 20 3c 70 3e 56 65 72 73 69 6f 6e 20 32 2e 31 2c 20 46 65 62 72 75 61 72 79 20 31 39 | .....<p>Version.2.1,.February.19 |
f4be0 | 39 39 3c 2f 70 3e 0a 20 20 20 20 0a 3c 70 3e 43 6f 70 79 72 69 67 68 74 20 28 43 29 20 31 39 38 | 99</p>......<p>Copyright.(C).198 |
f4c00 | 39 2c 20 31 39 39 31 20 46 72 65 65 20 53 6f 66 74 77 61 72 65 20 46 6f 75 6e 64 61 74 69 6f 6e | 9,.1991.Free.Software.Foundation |
f4c20 | 2c 20 49 6e 63 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 35 31 | ,.Inc.........................51 |
f4c40 | 20 46 72 61 6e 6b 6c 69 6e 20 53 74 2c 20 46 69 66 74 68 20 46 6c 6f 6f 72 2c 20 42 6f 73 74 6f | .Franklin.St,.Fifth.Floor,.Bosto |
f4c60 | 6e 2c 20 4d 41 20 20 30 32 31 31 30 2d 31 33 30 31 20 20 55 53 41 0a 0a 3c 70 3e 20 45 76 65 72 | n,.MA..02110-1301..USA..<p>.Ever |
f4c80 | 79 6f 6e 65 20 69 73 20 70 65 72 6d 69 74 74 65 64 20 74 6f 20 63 6f 70 79 20 61 6e 64 20 64 69 | yone.is.permitted.to.copy.and.di |
f4ca0 | 73 74 72 69 62 75 74 65 20 76 65 72 62 61 74 69 6d 20 63 6f 70 69 65 73 0a 20 6f 66 20 74 68 69 | stribute.verbatim.copies..of.thi |
f4cc0 | 73 20 6c 69 63 65 6e 73 65 20 64 6f 63 75 6d 65 6e 74 2c 20 62 75 74 20 63 68 61 6e 67 69 6e 67 | s.license.document,.but.changing |
f4ce0 | 20 69 74 20 69 73 20 6e 6f 74 20 61 6c 6c 6f 77 65 64 2e 0a 0a 3c 70 3e 5b 54 68 69 73 20 69 73 | .it.is.not.allowed...<p>[This.is |
f4d00 | 20 74 68 65 20 66 69 72 73 74 20 72 65 6c 65 61 73 65 64 20 76 65 72 73 69 6f 6e 20 6f 66 20 74 | .the.first.released.version.of.t |
f4d20 | 68 65 20 4c 65 73 73 65 72 20 47 50 4c 2e 20 20 49 74 20 61 6c 73 6f 20 63 6f 75 6e 74 73 0a 20 | he.Lesser.GPL...It.also.counts.. |
f4d40 | 61 73 20 74 68 65 20 73 75 63 63 65 73 73 6f 72 20 6f 66 20 74 68 65 20 47 4e 55 20 4c 69 62 72 | as.the.successor.of.the.GNU.Libr |
f4d60 | 61 72 79 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 2c 20 76 65 72 73 69 6f 6e 20 32 2c 20 68 | ary.Public.License,.version.2,.h |
f4d80 | 65 6e 63 65 0a 20 74 68 65 20 76 65 72 73 69 6f 6e 20 6e 75 6d 62 65 72 20 32 2e 31 2e 5d 0a 0a | ence..the.version.number.2.1.].. |
f4da0 | 09 09 09 20 20 20 20 3c 68 32 3e 50 72 65 61 6d 62 6c 65 3c 2f 68 32 3e 0a 0a 3c 70 3e 20 20 54 | .......<h2>Preamble</h2>..<p>..T |
f4dc0 | 68 65 20 6c 69 63 65 6e 73 65 73 20 66 6f 72 20 6d 6f 73 74 20 73 6f 66 74 77 61 72 65 20 61 72 | he.licenses.for.most.software.ar |
f4de0 | 65 20 64 65 73 69 67 6e 65 64 20 74 6f 20 74 61 6b 65 20 61 77 61 79 20 79 6f 75 72 0a 66 72 65 | e.designed.to.take.away.your.fre |
f4e00 | 65 64 6f 6d 20 74 6f 20 73 68 61 72 65 20 61 6e 64 20 63 68 61 6e 67 65 20 69 74 2e 20 20 42 79 | edom.to.share.and.change.it...By |
f4e20 | 20 63 6f 6e 74 72 61 73 74 2c 20 74 68 65 20 47 4e 55 20 47 65 6e 65 72 61 6c 20 50 75 62 6c 69 | .contrast,.the.GNU.General.Publi |
f4e40 | 63 0a 4c 69 63 65 6e 73 65 73 20 61 72 65 20 69 6e 74 65 6e 64 65 64 20 74 6f 20 67 75 61 72 61 | c.Licenses.are.intended.to.guara |
f4e60 | 6e 74 65 65 20 79 6f 75 72 20 66 72 65 65 64 6f 6d 20 74 6f 20 73 68 61 72 65 20 61 6e 64 20 63 | ntee.your.freedom.to.share.and.c |
f4e80 | 68 61 6e 67 65 0a 66 72 65 65 20 73 6f 66 74 77 61 72 65 2d 2d 74 6f 20 6d 61 6b 65 20 73 75 72 | hange.free.software--to.make.sur |
f4ea0 | 65 20 74 68 65 20 73 6f 66 74 77 61 72 65 20 69 73 20 66 72 65 65 20 66 6f 72 20 61 6c 6c 20 69 | e.the.software.is.free.for.all.i |
f4ec0 | 74 73 20 75 73 65 72 73 2e 0a 0a 3c 70 3e 20 20 54 68 69 73 20 6c 69 63 65 6e 73 65 2c 20 74 68 | ts.users...<p>..This.license,.th |
f4ee0 | 65 20 4c 65 73 73 65 72 20 47 65 6e 65 72 61 6c 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 2c | e.Lesser.General.Public.License, |
f4f00 | 20 61 70 70 6c 69 65 73 20 74 6f 20 73 6f 6d 65 0a 73 70 65 63 69 61 6c 6c 79 20 64 65 73 69 67 | .applies.to.some.specially.desig |
f4f20 | 6e 61 74 65 64 20 73 6f 66 74 77 61 72 65 20 70 61 63 6b 61 67 65 73 2d 2d 74 79 70 69 63 61 6c | nated.software.packages--typical |
f4f40 | 6c 79 20 6c 69 62 72 61 72 69 65 73 2d 2d 6f 66 20 74 68 65 0a 46 72 65 65 20 53 6f 66 74 77 61 | ly.libraries--of.the.Free.Softwa |
f4f60 | 72 65 20 46 6f 75 6e 64 61 74 69 6f 6e 20 61 6e 64 20 6f 74 68 65 72 20 61 75 74 68 6f 72 73 20 | re.Foundation.and.other.authors. |
f4f80 | 77 68 6f 20 64 65 63 69 64 65 20 74 6f 20 75 73 65 20 69 74 2e 20 20 59 6f 75 0a 63 61 6e 20 75 | who.decide.to.use.it...You.can.u |
f4fa0 | 73 65 20 69 74 20 74 6f 6f 2c 20 62 75 74 20 77 65 20 73 75 67 67 65 73 74 20 79 6f 75 20 66 69 | se.it.too,.but.we.suggest.you.fi |
f4fc0 | 72 73 74 20 74 68 69 6e 6b 20 63 61 72 65 66 75 6c 6c 79 20 61 62 6f 75 74 20 77 68 65 74 68 65 | rst.think.carefully.about.whethe |
f4fe0 | 72 0a 74 68 69 73 20 6c 69 63 65 6e 73 65 20 6f 72 20 74 68 65 20 6f 72 64 69 6e 61 72 79 20 47 | r.this.license.or.the.ordinary.G |
f5000 | 65 6e 65 72 61 6c 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 20 69 73 20 74 68 65 20 62 65 74 | eneral.Public.License.is.the.bet |
f5020 | 74 65 72 0a 73 74 72 61 74 65 67 79 20 74 6f 20 75 73 65 20 69 6e 20 61 6e 79 20 70 61 72 74 69 | ter.strategy.to.use.in.any.parti |
f5040 | 63 75 6c 61 72 20 63 61 73 65 2c 20 62 61 73 65 64 20 6f 6e 20 74 68 65 20 65 78 70 6c 61 6e 61 | cular.case,.based.on.the.explana |
f5060 | 74 69 6f 6e 73 20 62 65 6c 6f 77 2e 0a 0a 3c 70 3e 20 20 57 68 65 6e 20 77 65 20 73 70 65 61 6b | tions.below...<p>..When.we.speak |
f5080 | 20 6f 66 20 66 72 65 65 20 73 6f 66 74 77 61 72 65 2c 20 77 65 20 61 72 65 20 72 65 66 65 72 72 | .of.free.software,.we.are.referr |
f50a0 | 69 6e 67 20 74 6f 20 66 72 65 65 64 6f 6d 20 6f 66 20 75 73 65 2c 0a 6e 6f 74 20 70 72 69 63 65 | ing.to.freedom.of.use,.not.price |
f50c0 | 2e 20 20 4f 75 72 20 47 65 6e 65 72 61 6c 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 73 20 61 | ...Our.General.Public.Licenses.a |
f50e0 | 72 65 20 64 65 73 69 67 6e 65 64 20 74 6f 20 6d 61 6b 65 20 73 75 72 65 20 74 68 61 74 0a 79 6f | re.designed.to.make.sure.that.yo |
f5100 | 75 20 68 61 76 65 20 74 68 65 20 66 72 65 65 64 6f 6d 20 74 6f 20 64 69 73 74 72 69 62 75 74 65 | u.have.the.freedom.to.distribute |
f5120 | 20 63 6f 70 69 65 73 20 6f 66 20 66 72 65 65 20 73 6f 66 74 77 61 72 65 20 28 61 6e 64 20 63 68 | .copies.of.free.software.(and.ch |
f5140 | 61 72 67 65 0a 66 6f 72 20 74 68 69 73 20 73 65 72 76 69 63 65 20 69 66 20 79 6f 75 20 77 69 73 | arge.for.this.service.if.you.wis |
f5160 | 68 29 3b 20 74 68 61 74 20 79 6f 75 20 72 65 63 65 69 76 65 20 73 6f 75 72 63 65 20 63 6f 64 65 | h);.that.you.receive.source.code |
f5180 | 20 6f 72 20 63 61 6e 20 67 65 74 0a 69 74 20 69 66 20 79 6f 75 20 77 61 6e 74 20 69 74 3b 20 74 | .or.can.get.it.if.you.want.it;.t |
f51a0 | 68 61 74 20 79 6f 75 20 63 61 6e 20 63 68 61 6e 67 65 20 74 68 65 20 73 6f 66 74 77 61 72 65 20 | hat.you.can.change.the.software. |
f51c0 | 61 6e 64 20 75 73 65 20 70 69 65 63 65 73 20 6f 66 0a 69 74 20 69 6e 20 6e 65 77 20 66 72 65 65 | and.use.pieces.of.it.in.new.free |
f51e0 | 20 70 72 6f 67 72 61 6d 73 3b 20 61 6e 64 20 74 68 61 74 20 79 6f 75 20 61 72 65 20 69 6e 66 6f | .programs;.and.that.you.are.info |
f5200 | 72 6d 65 64 20 74 68 61 74 20 79 6f 75 20 63 61 6e 20 64 6f 0a 74 68 65 73 65 20 74 68 69 6e 67 | rmed.that.you.can.do.these.thing |
f5220 | 73 2e 0a 0a 3c 70 3e 20 20 54 6f 20 70 72 6f 74 65 63 74 20 79 6f 75 72 20 72 69 67 68 74 73 2c | s...<p>..To.protect.your.rights, |
f5240 | 20 77 65 20 6e 65 65 64 20 74 6f 20 6d 61 6b 65 20 72 65 73 74 72 69 63 74 69 6f 6e 73 20 74 68 | .we.need.to.make.restrictions.th |
f5260 | 61 74 20 66 6f 72 62 69 64 0a 64 69 73 74 72 69 62 75 74 6f 72 73 20 74 6f 20 64 65 6e 79 20 79 | at.forbid.distributors.to.deny.y |
f5280 | 6f 75 20 74 68 65 73 65 20 72 69 67 68 74 73 20 6f 72 20 74 6f 20 61 73 6b 20 79 6f 75 20 74 6f | ou.these.rights.or.to.ask.you.to |
f52a0 | 20 73 75 72 72 65 6e 64 65 72 20 74 68 65 73 65 0a 72 69 67 68 74 73 2e 20 20 54 68 65 73 65 20 | .surrender.these.rights...These. |
f52c0 | 72 65 73 74 72 69 63 74 69 6f 6e 73 20 74 72 61 6e 73 6c 61 74 65 20 74 6f 20 63 65 72 74 61 69 | restrictions.translate.to.certai |
f52e0 | 6e 20 72 65 73 70 6f 6e 73 69 62 69 6c 69 74 69 65 73 20 66 6f 72 0a 79 6f 75 20 69 66 20 79 6f | n.responsibilities.for.you.if.yo |
f5300 | 75 20 64 69 73 74 72 69 62 75 74 65 20 63 6f 70 69 65 73 20 6f 66 20 74 68 65 20 6c 69 62 72 61 | u.distribute.copies.of.the.libra |
f5320 | 72 79 20 6f 72 20 69 66 20 79 6f 75 20 6d 6f 64 69 66 79 20 69 74 2e 0a 0a 3c 70 3e 20 20 46 6f | ry.or.if.you.modify.it...<p>..Fo |
f5340 | 72 20 65 78 61 6d 70 6c 65 2c 20 69 66 20 79 6f 75 20 64 69 73 74 72 69 62 75 74 65 20 63 6f 70 | r.example,.if.you.distribute.cop |
f5360 | 69 65 73 20 6f 66 20 74 68 65 20 6c 69 62 72 61 72 79 2c 20 77 68 65 74 68 65 72 20 67 72 61 74 | ies.of.the.library,.whether.grat |
f5380 | 69 73 0a 6f 72 20 66 6f 72 20 61 20 66 65 65 2c 20 79 6f 75 20 6d 75 73 74 20 67 69 76 65 20 74 | is.or.for.a.fee,.you.must.give.t |
f53a0 | 68 65 20 72 65 63 69 70 69 65 6e 74 73 20 61 6c 6c 20 74 68 65 20 72 69 67 68 74 73 20 74 68 61 | he.recipients.all.the.rights.tha |
f53c0 | 74 20 77 65 20 67 61 76 65 0a 79 6f 75 2e 20 20 59 6f 75 20 6d 75 73 74 20 6d 61 6b 65 20 73 75 | t.we.gave.you...You.must.make.su |
f53e0 | 72 65 20 74 68 61 74 20 74 68 65 79 2c 20 74 6f 6f 2c 20 72 65 63 65 69 76 65 20 6f 72 20 63 61 | re.that.they,.too,.receive.or.ca |
f5400 | 6e 20 67 65 74 20 74 68 65 20 73 6f 75 72 63 65 0a 63 6f 64 65 2e 20 20 49 66 20 79 6f 75 20 6c | n.get.the.source.code...If.you.l |
f5420 | 69 6e 6b 20 6f 74 68 65 72 20 63 6f 64 65 20 77 69 74 68 20 74 68 65 20 6c 69 62 72 61 72 79 2c | ink.other.code.with.the.library, |
f5440 | 20 79 6f 75 20 6d 75 73 74 20 70 72 6f 76 69 64 65 0a 63 6f 6d 70 6c 65 74 65 20 6f 62 6a 65 63 | .you.must.provide.complete.objec |
f5460 | 74 20 66 69 6c 65 73 20 74 6f 20 74 68 65 20 72 65 63 69 70 69 65 6e 74 73 2c 20 73 6f 20 74 68 | t.files.to.the.recipients,.so.th |
f5480 | 61 74 20 74 68 65 79 20 63 61 6e 20 72 65 6c 69 6e 6b 20 74 68 65 6d 0a 77 69 74 68 20 74 68 65 | at.they.can.relink.them.with.the |
f54a0 | 20 6c 69 62 72 61 72 79 20 61 66 74 65 72 20 6d 61 6b 69 6e 67 20 63 68 61 6e 67 65 73 20 74 6f | .library.after.making.changes.to |
f54c0 | 20 74 68 65 20 6c 69 62 72 61 72 79 20 61 6e 64 20 72 65 63 6f 6d 70 69 6c 69 6e 67 0a 69 74 2e | .the.library.and.recompiling.it. |
f54e0 | 20 20 41 6e 64 20 79 6f 75 20 6d 75 73 74 20 73 68 6f 77 20 74 68 65 6d 20 74 68 65 73 65 20 74 | ..And.you.must.show.them.these.t |
f5500 | 65 72 6d 73 20 73 6f 20 74 68 65 79 20 6b 6e 6f 77 20 74 68 65 69 72 20 72 69 67 68 74 73 2e 0a | erms.so.they.know.their.rights.. |
f5520 | 0a 3c 70 3e 20 20 57 65 20 70 72 6f 74 65 63 74 20 79 6f 75 72 20 72 69 67 68 74 73 20 77 69 74 | .<p>..We.protect.your.rights.wit |
f5540 | 68 20 61 20 74 77 6f 2d 73 74 65 70 20 6d 65 74 68 6f 64 3a 20 28 31 29 20 77 65 20 63 6f 70 79 | h.a.two-step.method:.(1).we.copy |
f5560 | 72 69 67 68 74 20 74 68 65 0a 6c 69 62 72 61 72 79 2c 20 61 6e 64 20 28 32 29 20 77 65 20 6f 66 | right.the.library,.and.(2).we.of |
f5580 | 66 65 72 20 79 6f 75 20 74 68 69 73 20 6c 69 63 65 6e 73 65 2c 20 77 68 69 63 68 20 67 69 76 65 | fer.you.this.license,.which.give |
f55a0 | 73 20 79 6f 75 20 6c 65 67 61 6c 0a 70 65 72 6d 69 73 73 69 6f 6e 20 74 6f 20 63 6f 70 79 2c 20 | s.you.legal.permission.to.copy,. |
f55c0 | 64 69 73 74 72 69 62 75 74 65 20 61 6e 64 2f 6f 72 20 6d 6f 64 69 66 79 20 74 68 65 20 6c 69 62 | distribute.and/or.modify.the.lib |
f55e0 | 72 61 72 79 2e 0a 0a 3c 70 3e 20 20 54 6f 20 70 72 6f 74 65 63 74 20 65 61 63 68 20 64 69 73 74 | rary...<p>..To.protect.each.dist |
f5600 | 72 69 62 75 74 6f 72 2c 20 77 65 20 77 61 6e 74 20 74 6f 20 6d 61 6b 65 20 69 74 20 76 65 72 79 | ributor,.we.want.to.make.it.very |
f5620 | 20 63 6c 65 61 72 20 74 68 61 74 0a 74 68 65 72 65 20 69 73 20 6e 6f 20 77 61 72 72 61 6e 74 79 | .clear.that.there.is.no.warranty |
f5640 | 20 66 6f 72 20 74 68 65 20 66 72 65 65 20 6c 69 62 72 61 72 79 2e 20 20 41 6c 73 6f 2c 20 69 66 | .for.the.free.library...Also,.if |
f5660 | 20 74 68 65 20 6c 69 62 72 61 72 79 20 69 73 0a 6d 6f 64 69 66 69 65 64 20 62 79 20 73 6f 6d 65 | .the.library.is.modified.by.some |
f5680 | 6f 6e 65 20 65 6c 73 65 20 61 6e 64 20 70 61 73 73 65 64 20 6f 6e 2c 20 74 68 65 20 72 65 63 69 | one.else.and.passed.on,.the.reci |
f56a0 | 70 69 65 6e 74 73 20 73 68 6f 75 6c 64 20 6b 6e 6f 77 0a 74 68 61 74 20 77 68 61 74 20 74 68 65 | pients.should.know.that.what.the |
f56c0 | 79 20 68 61 76 65 20 69 73 20 6e 6f 74 20 74 68 65 20 6f 72 69 67 69 6e 61 6c 20 76 65 72 73 69 | y.have.is.not.the.original.versi |
f56e0 | 6f 6e 2c 20 73 6f 20 74 68 61 74 20 74 68 65 20 6f 72 69 67 69 6e 61 6c 0a 61 75 74 68 6f 72 27 | on,.so.that.the.original.author' |
f5700 | 73 20 72 65 70 75 74 61 74 69 6f 6e 20 77 69 6c 6c 20 6e 6f 74 20 62 65 20 61 66 66 65 63 74 65 | s.reputation.will.not.be.affecte |
f5720 | 64 20 62 79 20 70 72 6f 62 6c 65 6d 73 20 74 68 61 74 20 6d 69 67 68 74 20 62 65 0a 69 6e 74 72 | d.by.problems.that.might.be.intr |
f5740 | 6f 64 75 63 65 64 20 62 79 20 6f 74 68 65 72 73 2e 0a 0a 3c 70 3e 20 20 46 69 6e 61 6c 6c 79 2c | oduced.by.others...<p>..Finally, |
f5760 | 20 73 6f 66 74 77 61 72 65 20 70 61 74 65 6e 74 73 20 70 6f 73 65 20 61 20 63 6f 6e 73 74 61 6e | .software.patents.pose.a.constan |
f5780 | 74 20 74 68 72 65 61 74 20 74 6f 20 74 68 65 20 65 78 69 73 74 65 6e 63 65 20 6f 66 0a 61 6e 79 | t.threat.to.the.existence.of.any |
f57a0 | 20 66 72 65 65 20 70 72 6f 67 72 61 6d 2e 20 20 57 65 20 77 69 73 68 20 74 6f 20 6d 61 6b 65 20 | .free.program...We.wish.to.make. |
f57c0 | 73 75 72 65 20 74 68 61 74 20 61 20 63 6f 6d 70 61 6e 79 20 63 61 6e 6e 6f 74 0a 65 66 66 65 63 | sure.that.a.company.cannot.effec |
f57e0 | 74 69 76 65 6c 79 20 72 65 73 74 72 69 63 74 20 74 68 65 20 75 73 65 72 73 20 6f 66 20 61 20 66 | tively.restrict.the.users.of.a.f |
f5800 | 72 65 65 20 70 72 6f 67 72 61 6d 20 62 79 20 6f 62 74 61 69 6e 69 6e 67 20 61 0a 72 65 73 74 72 | ree.program.by.obtaining.a.restr |
f5820 | 69 63 74 69 76 65 20 6c 69 63 65 6e 73 65 20 66 72 6f 6d 20 61 20 70 61 74 65 6e 74 20 68 6f 6c | ictive.license.from.a.patent.hol |
f5840 | 64 65 72 2e 20 20 54 68 65 72 65 66 6f 72 65 2c 20 77 65 20 69 6e 73 69 73 74 20 74 68 61 74 0a | der...Therefore,.we.insist.that. |
f5860 | 61 6e 79 20 70 61 74 65 6e 74 20 6c 69 63 65 6e 73 65 20 6f 62 74 61 69 6e 65 64 20 66 6f 72 20 | any.patent.license.obtained.for. |
f5880 | 61 20 76 65 72 73 69 6f 6e 20 6f 66 20 74 68 65 20 6c 69 62 72 61 72 79 20 6d 75 73 74 20 62 65 | a.version.of.the.library.must.be |
f58a0 | 0a 63 6f 6e 73 69 73 74 65 6e 74 20 77 69 74 68 20 74 68 65 20 66 75 6c 6c 20 66 72 65 65 64 6f | .consistent.with.the.full.freedo |
f58c0 | 6d 20 6f 66 20 75 73 65 20 73 70 65 63 69 66 69 65 64 20 69 6e 20 74 68 69 73 20 6c 69 63 65 6e | m.of.use.specified.in.this.licen |
f58e0 | 73 65 2e 0a 0a 3c 70 3e 20 20 4d 6f 73 74 20 47 4e 55 20 73 6f 66 74 77 61 72 65 2c 20 69 6e 63 | se...<p>..Most.GNU.software,.inc |
f5900 | 6c 75 64 69 6e 67 20 73 6f 6d 65 20 6c 69 62 72 61 72 69 65 73 2c 20 69 73 20 63 6f 76 65 72 65 | luding.some.libraries,.is.covere |
f5920 | 64 20 62 79 20 74 68 65 0a 6f 72 64 69 6e 61 72 79 20 47 4e 55 20 47 65 6e 65 72 61 6c 20 50 75 | d.by.the.ordinary.GNU.General.Pu |
f5940 | 62 6c 69 63 20 4c 69 63 65 6e 73 65 2e 20 20 54 68 69 73 20 6c 69 63 65 6e 73 65 2c 20 74 68 65 | blic.License...This.license,.the |
f5960 | 20 47 4e 55 20 4c 65 73 73 65 72 0a 47 65 6e 65 72 61 6c 20 50 75 62 6c 69 63 20 4c 69 63 65 6e | .GNU.Lesser.General.Public.Licen |
f5980 | 73 65 2c 20 61 70 70 6c 69 65 73 20 74 6f 20 63 65 72 74 61 69 6e 20 64 65 73 69 67 6e 61 74 65 | se,.applies.to.certain.designate |
f59a0 | 64 20 6c 69 62 72 61 72 69 65 73 2c 20 61 6e 64 0a 69 73 20 71 75 69 74 65 20 64 69 66 66 65 72 | d.libraries,.and.is.quite.differ |
f59c0 | 65 6e 74 20 66 72 6f 6d 20 74 68 65 20 6f 72 64 69 6e 61 72 79 20 47 65 6e 65 72 61 6c 20 50 75 | ent.from.the.ordinary.General.Pu |
f59e0 | 62 6c 69 63 20 4c 69 63 65 6e 73 65 2e 20 20 57 65 20 75 73 65 0a 74 68 69 73 20 6c 69 63 65 6e | blic.License...We.use.this.licen |
f5a00 | 73 65 20 66 6f 72 20 63 65 72 74 61 69 6e 20 6c 69 62 72 61 72 69 65 73 20 69 6e 20 6f 72 64 65 | se.for.certain.libraries.in.orde |
f5a20 | 72 20 74 6f 20 70 65 72 6d 69 74 20 6c 69 6e 6b 69 6e 67 20 74 68 6f 73 65 0a 6c 69 62 72 61 72 | r.to.permit.linking.those.librar |
f5a40 | 69 65 73 20 69 6e 74 6f 20 6e 6f 6e 2d 66 72 65 65 20 70 72 6f 67 72 61 6d 73 2e 0a 0a 3c 70 3e | ies.into.non-free.programs...<p> |
f5a60 | 20 20 57 68 65 6e 20 61 20 70 72 6f 67 72 61 6d 20 69 73 20 6c 69 6e 6b 65 64 20 77 69 74 68 20 | ..When.a.program.is.linked.with. |
f5a80 | 61 20 6c 69 62 72 61 72 79 2c 20 77 68 65 74 68 65 72 20 73 74 61 74 69 63 61 6c 6c 79 20 6f 72 | a.library,.whether.statically.or |
f5aa0 | 20 75 73 69 6e 67 0a 61 20 73 68 61 72 65 64 20 6c 69 62 72 61 72 79 2c 20 74 68 65 20 63 6f 6d | .using.a.shared.library,.the.com |
f5ac0 | 62 69 6e 61 74 69 6f 6e 20 6f 66 20 74 68 65 20 74 77 6f 20 69 73 20 6c 65 67 61 6c 6c 79 20 73 | bination.of.the.two.is.legally.s |
f5ae0 | 70 65 61 6b 69 6e 67 20 61 0a 63 6f 6d 62 69 6e 65 64 20 77 6f 72 6b 2c 20 61 20 64 65 72 69 76 | peaking.a.combined.work,.a.deriv |
f5b00 | 61 74 69 76 65 20 6f 66 20 74 68 65 20 6f 72 69 67 69 6e 61 6c 20 6c 69 62 72 61 72 79 2e 20 20 | ative.of.the.original.library... |
f5b20 | 54 68 65 20 6f 72 64 69 6e 61 72 79 0a 47 65 6e 65 72 61 6c 20 50 75 62 6c 69 63 20 4c 69 63 65 | The.ordinary.General.Public.Lice |
f5b40 | 6e 73 65 20 74 68 65 72 65 66 6f 72 65 20 70 65 72 6d 69 74 73 20 73 75 63 68 20 6c 69 6e 6b 69 | nse.therefore.permits.such.linki |
f5b60 | 6e 67 20 6f 6e 6c 79 20 69 66 20 74 68 65 0a 65 6e 74 69 72 65 20 63 6f 6d 62 69 6e 61 74 69 6f | ng.only.if.the.entire.combinatio |
f5b80 | 6e 20 66 69 74 73 20 69 74 73 20 63 72 69 74 65 72 69 61 20 6f 66 20 66 72 65 65 64 6f 6d 2e 20 | n.fits.its.criteria.of.freedom.. |
f5ba0 | 20 54 68 65 20 4c 65 73 73 65 72 20 47 65 6e 65 72 61 6c 0a 50 75 62 6c 69 63 20 4c 69 63 65 6e | .The.Lesser.General.Public.Licen |
f5bc0 | 73 65 20 70 65 72 6d 69 74 73 20 6d 6f 72 65 20 6c 61 78 20 63 72 69 74 65 72 69 61 20 66 6f 72 | se.permits.more.lax.criteria.for |
f5be0 | 20 6c 69 6e 6b 69 6e 67 20 6f 74 68 65 72 20 63 6f 64 65 20 77 69 74 68 0a 74 68 65 20 6c 69 62 | .linking.other.code.with.the.lib |
f5c00 | 72 61 72 79 2e 0a 0a 3c 70 3e 20 20 57 65 20 63 61 6c 6c 20 74 68 69 73 20 6c 69 63 65 6e 73 65 | rary...<p>..We.call.this.license |
f5c20 | 20 74 68 65 20 22 4c 65 73 73 65 72 22 20 47 65 6e 65 72 61 6c 20 50 75 62 6c 69 63 20 4c 69 63 | .the."Lesser".General.Public.Lic |
f5c40 | 65 6e 73 65 20 62 65 63 61 75 73 65 20 69 74 0a 64 6f 65 73 20 4c 65 73 73 20 74 6f 20 70 72 6f | ense.because.it.does.Less.to.pro |
f5c60 | 74 65 63 74 20 74 68 65 20 75 73 65 72 27 73 20 66 72 65 65 64 6f 6d 20 74 68 61 6e 20 74 68 65 | tect.the.user's.freedom.than.the |
f5c80 | 20 6f 72 64 69 6e 61 72 79 20 47 65 6e 65 72 61 6c 0a 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 | .ordinary.General.Public.License |
f5ca0 | 2e 20 20 49 74 20 61 6c 73 6f 20 70 72 6f 76 69 64 65 73 20 6f 74 68 65 72 20 66 72 65 65 20 73 | ...It.also.provides.other.free.s |
f5cc0 | 6f 66 74 77 61 72 65 20 64 65 76 65 6c 6f 70 65 72 73 20 4c 65 73 73 0a 6f 66 20 61 6e 20 61 64 | oftware.developers.Less.of.an.ad |
f5ce0 | 76 61 6e 74 61 67 65 20 6f 76 65 72 20 63 6f 6d 70 65 74 69 6e 67 20 6e 6f 6e 2d 66 72 65 65 20 | vantage.over.competing.non-free. |
f5d00 | 70 72 6f 67 72 61 6d 73 2e 20 20 54 68 65 73 65 20 64 69 73 61 64 76 61 6e 74 61 67 65 73 0a 61 | programs...These.disadvantages.a |
f5d20 | 72 65 20 74 68 65 20 72 65 61 73 6f 6e 20 77 65 20 75 73 65 20 74 68 65 20 6f 72 64 69 6e 61 72 | re.the.reason.we.use.the.ordinar |
f5d40 | 79 20 47 65 6e 65 72 61 6c 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 20 66 6f 72 20 6d 61 6e | y.General.Public.License.for.man |
f5d60 | 79 0a 6c 69 62 72 61 72 69 65 73 2e 20 20 48 6f 77 65 76 65 72 2c 20 74 68 65 20 4c 65 73 73 65 | y.libraries...However,.the.Lesse |
f5d80 | 72 20 6c 69 63 65 6e 73 65 20 70 72 6f 76 69 64 65 73 20 61 64 76 61 6e 74 61 67 65 73 20 69 6e | r.license.provides.advantages.in |
f5da0 | 20 63 65 72 74 61 69 6e 0a 73 70 65 63 69 61 6c 20 63 69 72 63 75 6d 73 74 61 6e 63 65 73 2e 0a | .certain.special.circumstances.. |
f5dc0 | 0a 3c 70 3e 20 20 46 6f 72 20 65 78 61 6d 70 6c 65 2c 20 6f 6e 20 72 61 72 65 20 6f 63 63 61 73 | .<p>..For.example,.on.rare.occas |
f5de0 | 69 6f 6e 73 2c 20 74 68 65 72 65 20 6d 61 79 20 62 65 20 61 20 73 70 65 63 69 61 6c 20 6e 65 65 | ions,.there.may.be.a.special.nee |
f5e00 | 64 20 74 6f 0a 65 6e 63 6f 75 72 61 67 65 20 74 68 65 20 77 69 64 65 73 74 20 70 6f 73 73 69 62 | d.to.encourage.the.widest.possib |
f5e20 | 6c 65 20 75 73 65 20 6f 66 20 61 20 63 65 72 74 61 69 6e 20 6c 69 62 72 61 72 79 2c 20 73 6f 20 | le.use.of.a.certain.library,.so. |
f5e40 | 74 68 61 74 20 69 74 20 62 65 63 6f 6d 65 73 0a 61 20 64 65 2d 66 61 63 74 6f 20 73 74 61 6e 64 | that.it.becomes.a.de-facto.stand |
f5e60 | 61 72 64 2e 20 20 54 6f 20 61 63 68 69 65 76 65 20 74 68 69 73 2c 20 6e 6f 6e 2d 66 72 65 65 20 | ard...To.achieve.this,.non-free. |
f5e80 | 70 72 6f 67 72 61 6d 73 20 6d 75 73 74 20 62 65 0a 61 6c 6c 6f 77 65 64 20 74 6f 20 75 73 65 20 | programs.must.be.allowed.to.use. |
f5ea0 | 74 68 65 20 6c 69 62 72 61 72 79 2e 20 20 41 20 6d 6f 72 65 20 66 72 65 71 75 65 6e 74 20 63 61 | the.library...A.more.frequent.ca |
f5ec0 | 73 65 20 69 73 20 74 68 61 74 20 61 20 66 72 65 65 0a 6c 69 62 72 61 72 79 20 64 6f 65 73 20 74 | se.is.that.a.free.library.does.t |
f5ee0 | 68 65 20 73 61 6d 65 20 6a 6f 62 20 61 73 20 77 69 64 65 6c 79 20 75 73 65 64 20 6e 6f 6e 2d 66 | he.same.job.as.widely.used.non-f |
f5f00 | 72 65 65 20 6c 69 62 72 61 72 69 65 73 2e 20 20 49 6e 20 74 68 69 73 0a 63 61 73 65 2c 20 74 68 | ree.libraries...In.this.case,.th |
f5f20 | 65 72 65 20 69 73 20 6c 69 74 74 6c 65 20 74 6f 20 67 61 69 6e 20 62 79 20 6c 69 6d 69 74 69 6e | ere.is.little.to.gain.by.limitin |
f5f40 | 67 20 74 68 65 20 66 72 65 65 20 6c 69 62 72 61 72 79 20 74 6f 20 66 72 65 65 0a 73 6f 66 74 77 | g.the.free.library.to.free.softw |
f5f60 | 61 72 65 20 6f 6e 6c 79 2c 20 73 6f 20 77 65 20 75 73 65 20 74 68 65 20 4c 65 73 73 65 72 20 47 | are.only,.so.we.use.the.Lesser.G |
f5f80 | 65 6e 65 72 61 6c 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 2e 0a 0a 3c 70 3e 20 20 49 6e 20 | eneral.Public.License...<p>..In. |
f5fa0 | 6f 74 68 65 72 20 63 61 73 65 73 2c 20 70 65 72 6d 69 73 73 69 6f 6e 20 74 6f 20 75 73 65 20 61 | other.cases,.permission.to.use.a |
f5fc0 | 20 70 61 72 74 69 63 75 6c 61 72 20 6c 69 62 72 61 72 79 20 69 6e 20 6e 6f 6e 2d 66 72 65 65 0a | .particular.library.in.non-free. |
f5fe0 | 70 72 6f 67 72 61 6d 73 20 65 6e 61 62 6c 65 73 20 61 20 67 72 65 61 74 65 72 20 6e 75 6d 62 65 | programs.enables.a.greater.numbe |
f6000 | 72 20 6f 66 20 70 65 6f 70 6c 65 20 74 6f 20 75 73 65 20 61 20 6c 61 72 67 65 20 62 6f 64 79 20 | r.of.people.to.use.a.large.body. |
f6020 | 6f 66 0a 66 72 65 65 20 73 6f 66 74 77 61 72 65 2e 20 20 46 6f 72 20 65 78 61 6d 70 6c 65 2c 20 | of.free.software...For.example,. |
f6040 | 70 65 72 6d 69 73 73 69 6f 6e 20 74 6f 20 75 73 65 20 74 68 65 20 47 4e 55 20 43 20 4c 69 62 72 | permission.to.use.the.GNU.C.Libr |
f6060 | 61 72 79 20 69 6e 0a 6e 6f 6e 2d 66 72 65 65 20 70 72 6f 67 72 61 6d 73 20 65 6e 61 62 6c 65 73 | ary.in.non-free.programs.enables |
f6080 | 20 6d 61 6e 79 20 6d 6f 72 65 20 70 65 6f 70 6c 65 20 74 6f 20 75 73 65 20 74 68 65 20 77 68 6f | .many.more.people.to.use.the.who |
f60a0 | 6c 65 20 47 4e 55 0a 6f 70 65 72 61 74 69 6e 67 20 73 79 73 74 65 6d 2c 20 61 73 20 77 65 6c 6c | le.GNU.operating.system,.as.well |
f60c0 | 20 61 73 20 69 74 73 20 76 61 72 69 61 6e 74 2c 20 74 68 65 20 47 4e 55 2f 4c 69 6e 75 78 20 6f | .as.its.variant,.the.GNU/Linux.o |
f60e0 | 70 65 72 61 74 69 6e 67 0a 73 79 73 74 65 6d 2e 0a 0a 3c 70 3e 20 20 41 6c 74 68 6f 75 67 68 20 | perating.system...<p>..Although. |
f6100 | 74 68 65 20 4c 65 73 73 65 72 20 47 65 6e 65 72 61 6c 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 | the.Lesser.General.Public.Licens |
f6120 | 65 20 69 73 20 4c 65 73 73 20 70 72 6f 74 65 63 74 69 76 65 20 6f 66 20 74 68 65 0a 75 73 65 72 | e.is.Less.protective.of.the.user |
f6140 | 73 27 20 66 72 65 65 64 6f 6d 2c 20 69 74 20 64 6f 65 73 20 65 6e 73 75 72 65 20 74 68 61 74 20 | s'.freedom,.it.does.ensure.that. |
f6160 | 74 68 65 20 75 73 65 72 20 6f 66 20 61 20 70 72 6f 67 72 61 6d 20 74 68 61 74 20 69 73 0a 6c 69 | the.user.of.a.program.that.is.li |
f6180 | 6e 6b 65 64 20 77 69 74 68 20 74 68 65 20 4c 69 62 72 61 72 79 20 68 61 73 20 74 68 65 20 66 72 | nked.with.the.Library.has.the.fr |
f61a0 | 65 65 64 6f 6d 20 61 6e 64 20 74 68 65 20 77 68 65 72 65 77 69 74 68 61 6c 20 74 6f 20 72 75 6e | eedom.and.the.wherewithal.to.run |
f61c0 | 0a 74 68 61 74 20 70 72 6f 67 72 61 6d 20 75 73 69 6e 67 20 61 20 6d 6f 64 69 66 69 65 64 20 76 | .that.program.using.a.modified.v |
f61e0 | 65 72 73 69 6f 6e 20 6f 66 20 74 68 65 20 4c 69 62 72 61 72 79 2e 0a 0a 3c 70 3e 20 20 54 68 65 | ersion.of.the.Library...<p>..The |
f6200 | 20 70 72 65 63 69 73 65 20 74 65 72 6d 73 20 61 6e 64 20 63 6f 6e 64 69 74 69 6f 6e 73 20 66 6f | .precise.terms.and.conditions.fo |
f6220 | 72 20 63 6f 70 79 69 6e 67 2c 20 64 69 73 74 72 69 62 75 74 69 6f 6e 20 61 6e 64 0a 6d 6f 64 69 | r.copying,.distribution.and.modi |
f6240 | 66 69 63 61 74 69 6f 6e 20 66 6f 6c 6c 6f 77 2e 20 20 50 61 79 20 63 6c 6f 73 65 20 61 74 74 65 | fication.follow...Pay.close.atte |
f6260 | 6e 74 69 6f 6e 20 74 6f 20 74 68 65 20 64 69 66 66 65 72 65 6e 63 65 20 62 65 74 77 65 65 6e 20 | ntion.to.the.difference.between. |
f6280 | 61 0a 22 77 6f 72 6b 20 62 61 73 65 64 20 6f 6e 20 74 68 65 20 6c 69 62 72 61 72 79 22 20 61 6e | a."work.based.on.the.library".an |
f62a0 | 64 20 61 20 22 77 6f 72 6b 20 74 68 61 74 20 75 73 65 73 20 74 68 65 20 6c 69 62 72 61 72 79 22 | d.a."work.that.uses.the.library" |
f62c0 | 2e 20 20 54 68 65 0a 66 6f 72 6d 65 72 20 63 6f 6e 74 61 69 6e 73 20 63 6f 64 65 20 64 65 72 69 | ...The.former.contains.code.deri |
f62e0 | 76 65 64 20 66 72 6f 6d 20 74 68 65 20 6c 69 62 72 61 72 79 2c 20 77 68 65 72 65 61 73 20 74 68 | ved.from.the.library,.whereas.th |
f6300 | 65 20 6c 61 74 74 65 72 20 6d 75 73 74 0a 62 65 20 63 6f 6d 62 69 6e 65 64 20 77 69 74 68 20 74 | e.latter.must.be.combined.with.t |
f6320 | 68 65 20 6c 69 62 72 61 72 79 20 69 6e 20 6f 72 64 65 72 20 74 6f 20 72 75 6e 2e 0a 0a 09 09 20 | he.library.in.order.to.run...... |
f6340 | 20 3c 68 32 3e 47 4e 55 20 4c 45 53 53 45 52 20 47 45 4e 45 52 41 4c 20 50 55 42 4c 49 43 20 4c | .<h2>GNU.LESSER.GENERAL.PUBLIC.L |
f6360 | 49 43 45 4e 53 45 3c 2f 68 32 3e 0a 20 20 20 3c 68 32 3e 54 45 52 4d 53 20 41 4e 44 20 43 4f 4e | ICENSE</h2>....<h2>TERMS.AND.CON |
f6380 | 44 49 54 49 4f 4e 53 20 46 4f 52 20 43 4f 50 59 49 4e 47 2c 20 44 49 53 54 52 49 42 55 54 49 4f | DITIONS.FOR.COPYING,.DISTRIBUTIO |
f63a0 | 4e 20 41 4e 44 20 4d 4f 44 49 46 49 43 41 54 49 4f 4e 3c 2f 68 32 3e 0a 0a 3c 70 3e 3c 73 70 61 | N.AND.MODIFICATION</h2>..<p><spa |
f63c0 | 6e 20 63 6c 61 73 73 3d 22 67 6e 75 2d 6e 75 6d 62 65 72 22 3e 30 2e 20 3c 2f 73 70 61 6e 3e 0a | n.class="gnu-number">0..</span>. |
f63e0 | 54 68 69 73 20 4c 69 63 65 6e 73 65 20 41 67 72 65 65 6d 65 6e 74 20 61 70 70 6c 69 65 73 20 74 | This.License.Agreement.applies.t |
f6400 | 6f 20 61 6e 79 20 73 6f 66 74 77 61 72 65 20 6c 69 62 72 61 72 79 20 6f 72 20 6f 74 68 65 72 0a | o.any.software.library.or.other. |
f6420 | 70 72 6f 67 72 61 6d 20 77 68 69 63 68 20 63 6f 6e 74 61 69 6e 73 20 61 20 6e 6f 74 69 63 65 20 | program.which.contains.a.notice. |
f6440 | 70 6c 61 63 65 64 20 62 79 20 74 68 65 20 63 6f 70 79 72 69 67 68 74 20 68 6f 6c 64 65 72 20 6f | placed.by.the.copyright.holder.o |
f6460 | 72 0a 6f 74 68 65 72 20 61 75 74 68 6f 72 69 7a 65 64 20 70 61 72 74 79 20 73 61 79 69 6e 67 20 | r.other.authorized.party.saying. |
f6480 | 69 74 20 6d 61 79 20 62 65 20 64 69 73 74 72 69 62 75 74 65 64 20 75 6e 64 65 72 20 74 68 65 20 | it.may.be.distributed.under.the. |
f64a0 | 74 65 72 6d 73 20 6f 66 0a 74 68 69 73 20 4c 65 73 73 65 72 20 47 65 6e 65 72 61 6c 20 50 75 62 | terms.of.this.Lesser.General.Pub |
f64c0 | 6c 69 63 20 4c 69 63 65 6e 73 65 20 28 61 6c 73 6f 20 63 61 6c 6c 65 64 20 22 74 68 69 73 20 4c | lic.License.(also.called."this.L |
f64e0 | 69 63 65 6e 73 65 22 29 2e 0a 45 61 63 68 20 6c 69 63 65 6e 73 65 65 20 69 73 20 61 64 64 72 65 | icense")..Each.licensee.is.addre |
f6500 | 73 73 65 64 20 61 73 20 22 79 6f 75 22 2e 0a 0a 3c 70 3e 20 20 41 20 22 6c 69 62 72 61 72 79 22 | ssed.as."you"...<p>..A."library" |
f6520 | 20 6d 65 61 6e 73 20 61 20 63 6f 6c 6c 65 63 74 69 6f 6e 20 6f 66 20 73 6f 66 74 77 61 72 65 20 | .means.a.collection.of.software. |
f6540 | 66 75 6e 63 74 69 6f 6e 73 20 61 6e 64 2f 6f 72 20 64 61 74 61 0a 70 72 65 70 61 72 65 64 20 73 | functions.and/or.data.prepared.s |
f6560 | 6f 20 61 73 20 74 6f 20 62 65 20 63 6f 6e 76 65 6e 69 65 6e 74 6c 79 20 6c 69 6e 6b 65 64 20 77 | o.as.to.be.conveniently.linked.w |
f6580 | 69 74 68 20 61 70 70 6c 69 63 61 74 69 6f 6e 20 70 72 6f 67 72 61 6d 73 0a 28 77 68 69 63 68 20 | ith.application.programs.(which. |
f65a0 | 75 73 65 20 73 6f 6d 65 20 6f 66 20 74 68 6f 73 65 20 66 75 6e 63 74 69 6f 6e 73 20 61 6e 64 20 | use.some.of.those.functions.and. |
f65c0 | 64 61 74 61 29 20 74 6f 20 66 6f 72 6d 20 65 78 65 63 75 74 61 62 6c 65 73 2e 0a 0a 3c 70 3e 20 | data).to.form.executables...<p>. |
f65e0 | 20 54 68 65 20 22 4c 69 62 72 61 72 79 22 2c 20 62 65 6c 6f 77 2c 20 72 65 66 65 72 73 20 74 6f | .The."Library",.below,.refers.to |
f6600 | 20 61 6e 79 20 73 75 63 68 20 73 6f 66 74 77 61 72 65 20 6c 69 62 72 61 72 79 20 6f 72 20 77 6f | .any.such.software.library.or.wo |
f6620 | 72 6b 0a 77 68 69 63 68 20 68 61 73 20 62 65 65 6e 20 64 69 73 74 72 69 62 75 74 65 64 20 75 6e | rk.which.has.been.distributed.un |
f6640 | 64 65 72 20 74 68 65 73 65 20 74 65 72 6d 73 2e 20 20 41 20 22 77 6f 72 6b 20 62 61 73 65 64 20 | der.these.terms...A."work.based. |
f6660 | 6f 6e 20 74 68 65 0a 4c 69 62 72 61 72 79 22 20 6d 65 61 6e 73 20 65 69 74 68 65 72 20 74 68 65 | on.the.Library".means.either.the |
f6680 | 20 4c 69 62 72 61 72 79 20 6f 72 20 61 6e 79 20 64 65 72 69 76 61 74 69 76 65 20 77 6f 72 6b 20 | .Library.or.any.derivative.work. |
f66a0 | 75 6e 64 65 72 0a 63 6f 70 79 72 69 67 68 74 20 6c 61 77 3a 20 74 68 61 74 20 69 73 20 74 6f 20 | under.copyright.law:.that.is.to. |
f66c0 | 73 61 79 2c 20 61 20 77 6f 72 6b 20 63 6f 6e 74 61 69 6e 69 6e 67 20 74 68 65 20 4c 69 62 72 61 | say,.a.work.containing.the.Libra |
f66e0 | 72 79 20 6f 72 20 61 0a 70 6f 72 74 69 6f 6e 20 6f 66 20 69 74 2c 20 65 69 74 68 65 72 20 76 65 | ry.or.a.portion.of.it,.either.ve |
f6700 | 72 62 61 74 69 6d 20 6f 72 20 77 69 74 68 20 6d 6f 64 69 66 69 63 61 74 69 6f 6e 73 20 61 6e 64 | rbatim.or.with.modifications.and |
f6720 | 2f 6f 72 20 74 72 61 6e 73 6c 61 74 65 64 0a 73 74 72 61 69 67 68 74 66 6f 72 77 61 72 64 6c 79 | /or.translated.straightforwardly |
f6740 | 20 69 6e 74 6f 20 61 6e 6f 74 68 65 72 20 6c 61 6e 67 75 61 67 65 2e 20 20 28 48 65 72 65 69 6e | .into.another.language...(Herein |
f6760 | 61 66 74 65 72 2c 20 74 72 61 6e 73 6c 61 74 69 6f 6e 20 69 73 0a 69 6e 63 6c 75 64 65 64 20 77 | after,.translation.is.included.w |
f6780 | 69 74 68 6f 75 74 20 6c 69 6d 69 74 61 74 69 6f 6e 20 69 6e 20 74 68 65 20 74 65 72 6d 20 22 6d | ithout.limitation.in.the.term."m |
f67a0 | 6f 64 69 66 69 63 61 74 69 6f 6e 22 2e 29 0a 0a 3c 70 3e 20 20 22 53 6f 75 72 63 65 20 63 6f 64 | odification".)..<p>.."Source.cod |
f67c0 | 65 22 20 66 6f 72 20 61 20 77 6f 72 6b 20 6d 65 61 6e 73 20 74 68 65 20 70 72 65 66 65 72 72 65 | e".for.a.work.means.the.preferre |
f67e0 | 64 20 66 6f 72 6d 20 6f 66 20 74 68 65 20 77 6f 72 6b 20 66 6f 72 0a 6d 61 6b 69 6e 67 20 6d 6f | d.form.of.the.work.for.making.mo |
f6800 | 64 69 66 69 63 61 74 69 6f 6e 73 20 74 6f 20 69 74 2e 20 20 46 6f 72 20 61 20 6c 69 62 72 61 72 | difications.to.it...For.a.librar |
f6820 | 79 2c 20 63 6f 6d 70 6c 65 74 65 20 73 6f 75 72 63 65 20 63 6f 64 65 20 6d 65 61 6e 73 0a 61 6c | y,.complete.source.code.means.al |
f6840 | 6c 20 74 68 65 20 73 6f 75 72 63 65 20 63 6f 64 65 20 66 6f 72 20 61 6c 6c 20 6d 6f 64 75 6c 65 | l.the.source.code.for.all.module |
f6860 | 73 20 69 74 20 63 6f 6e 74 61 69 6e 73 2c 20 70 6c 75 73 20 61 6e 79 20 61 73 73 6f 63 69 61 74 | s.it.contains,.plus.any.associat |
f6880 | 65 64 0a 69 6e 74 65 72 66 61 63 65 20 64 65 66 69 6e 69 74 69 6f 6e 20 66 69 6c 65 73 2c 20 70 | ed.interface.definition.files,.p |
f68a0 | 6c 75 73 20 74 68 65 20 73 63 72 69 70 74 73 20 75 73 65 64 20 74 6f 20 63 6f 6e 74 72 6f 6c 20 | lus.the.scripts.used.to.control. |
f68c0 | 63 6f 6d 70 69 6c 61 74 69 6f 6e 0a 61 6e 64 20 69 6e 73 74 61 6c 6c 61 74 69 6f 6e 20 6f 66 20 | compilation.and.installation.of. |
f68e0 | 74 68 65 20 6c 69 62 72 61 72 79 2e 0a 0a 3c 70 3e 20 20 41 63 74 69 76 69 74 69 65 73 20 6f 74 | the.library...<p>..Activities.ot |
f6900 | 68 65 72 20 74 68 61 6e 20 63 6f 70 79 69 6e 67 2c 20 64 69 73 74 72 69 62 75 74 69 6f 6e 20 61 | her.than.copying,.distribution.a |
f6920 | 6e 64 20 6d 6f 64 69 66 69 63 61 74 69 6f 6e 20 61 72 65 20 6e 6f 74 0a 63 6f 76 65 72 65 64 20 | nd.modification.are.not.covered. |
f6940 | 62 79 20 74 68 69 73 20 4c 69 63 65 6e 73 65 3b 20 74 68 65 79 20 61 72 65 20 6f 75 74 73 69 64 | by.this.License;.they.are.outsid |
f6960 | 65 20 69 74 73 20 73 63 6f 70 65 2e 20 20 54 68 65 20 61 63 74 20 6f 66 0a 72 75 6e 6e 69 6e 67 | e.its.scope...The.act.of.running |
f6980 | 20 61 20 70 72 6f 67 72 61 6d 20 75 73 69 6e 67 20 74 68 65 20 4c 69 62 72 61 72 79 20 69 73 20 | .a.program.using.the.Library.is. |
f69a0 | 6e 6f 74 20 72 65 73 74 72 69 63 74 65 64 2c 20 61 6e 64 20 6f 75 74 70 75 74 20 66 72 6f 6d 0a | not.restricted,.and.output.from. |
f69c0 | 73 75 63 68 20 61 20 70 72 6f 67 72 61 6d 20 69 73 20 63 6f 76 65 72 65 64 20 6f 6e 6c 79 20 69 | such.a.program.is.covered.only.i |
f69e0 | 66 20 69 74 73 20 63 6f 6e 74 65 6e 74 73 20 63 6f 6e 73 74 69 74 75 74 65 20 61 20 77 6f 72 6b | f.its.contents.constitute.a.work |
f6a00 | 20 62 61 73 65 64 0a 6f 6e 20 74 68 65 20 4c 69 62 72 61 72 79 20 28 69 6e 64 65 70 65 6e 64 65 | .based.on.the.Library.(independe |
f6a20 | 6e 74 20 6f 66 20 74 68 65 20 75 73 65 20 6f 66 20 74 68 65 20 4c 69 62 72 61 72 79 20 69 6e 20 | nt.of.the.use.of.the.Library.in. |
f6a40 | 61 20 74 6f 6f 6c 20 66 6f 72 0a 77 72 69 74 69 6e 67 20 69 74 29 2e 20 20 57 68 65 74 68 65 72 | a.tool.for.writing.it)...Whether |
f6a60 | 20 74 68 61 74 20 69 73 20 74 72 75 65 20 64 65 70 65 6e 64 73 20 6f 6e 20 77 68 61 74 20 74 68 | .that.is.true.depends.on.what.th |
f6a80 | 65 20 4c 69 62 72 61 72 79 20 64 6f 65 73 0a 61 6e 64 20 77 68 61 74 20 74 68 65 20 70 72 6f 67 | e.Library.does.and.what.the.prog |
f6aa0 | 72 61 6d 20 74 68 61 74 20 75 73 65 73 20 74 68 65 20 4c 69 62 72 61 72 79 20 64 6f 65 73 2e 0a | ram.that.uses.the.Library.does.. |
f6ac0 | 20 20 0a 3c 70 3e 3c 73 70 61 6e 20 63 6c 61 73 73 3d 22 67 6e 75 2d 6e 75 6d 62 65 72 22 3e 31 | ...<p><span.class="gnu-number">1 |
f6ae0 | 2e 20 3c 2f 73 70 61 6e 3e 0a 59 6f 75 20 6d 61 79 20 63 6f 70 79 20 61 6e 64 20 64 69 73 74 72 | ..</span>.You.may.copy.and.distr |
f6b00 | 69 62 75 74 65 20 76 65 72 62 61 74 69 6d 20 63 6f 70 69 65 73 20 6f 66 20 74 68 65 20 4c 69 62 | ibute.verbatim.copies.of.the.Lib |
f6b20 | 72 61 72 79 27 73 0a 63 6f 6d 70 6c 65 74 65 20 73 6f 75 72 63 65 20 63 6f 64 65 20 61 73 20 79 | rary's.complete.source.code.as.y |
f6b40 | 6f 75 20 72 65 63 65 69 76 65 20 69 74 2c 20 69 6e 20 61 6e 79 20 6d 65 64 69 75 6d 2c 20 70 72 | ou.receive.it,.in.any.medium,.pr |
f6b60 | 6f 76 69 64 65 64 20 74 68 61 74 0a 79 6f 75 20 63 6f 6e 73 70 69 63 75 6f 75 73 6c 79 20 61 6e | ovided.that.you.conspicuously.an |
f6b80 | 64 20 61 70 70 72 6f 70 72 69 61 74 65 6c 79 20 70 75 62 6c 69 73 68 20 6f 6e 20 65 61 63 68 20 | d.appropriately.publish.on.each. |
f6ba0 | 63 6f 70 79 20 61 6e 0a 61 70 70 72 6f 70 72 69 61 74 65 20 63 6f 70 79 72 69 67 68 74 20 6e 6f | copy.an.appropriate.copyright.no |
f6bc0 | 74 69 63 65 20 61 6e 64 20 64 69 73 63 6c 61 69 6d 65 72 20 6f 66 20 77 61 72 72 61 6e 74 79 3b | tice.and.disclaimer.of.warranty; |
f6be0 | 20 6b 65 65 70 20 69 6e 74 61 63 74 0a 61 6c 6c 20 74 68 65 20 6e 6f 74 69 63 65 73 20 74 68 61 | .keep.intact.all.the.notices.tha |
f6c00 | 74 20 72 65 66 65 72 20 74 6f 20 74 68 69 73 20 4c 69 63 65 6e 73 65 20 61 6e 64 20 74 6f 20 74 | t.refer.to.this.License.and.to.t |
f6c20 | 68 65 20 61 62 73 65 6e 63 65 20 6f 66 20 61 6e 79 0a 77 61 72 72 61 6e 74 79 3b 20 61 6e 64 20 | he.absence.of.any.warranty;.and. |
f6c40 | 64 69 73 74 72 69 62 75 74 65 20 61 20 63 6f 70 79 20 6f 66 20 74 68 69 73 20 4c 69 63 65 6e 73 | distribute.a.copy.of.this.Licens |
f6c60 | 65 20 61 6c 6f 6e 67 20 77 69 74 68 20 74 68 65 0a 4c 69 62 72 61 72 79 2e 0a 0a 3c 70 3e 20 20 | e.along.with.the.Library...<p>.. |
f6c80 | 59 6f 75 20 6d 61 79 20 63 68 61 72 67 65 20 61 20 66 65 65 20 66 6f 72 20 74 68 65 20 70 68 79 | You.may.charge.a.fee.for.the.phy |
f6ca0 | 73 69 63 61 6c 20 61 63 74 20 6f 66 20 74 72 61 6e 73 66 65 72 72 69 6e 67 20 61 20 63 6f 70 79 | sical.act.of.transferring.a.copy |
f6cc0 | 2c 0a 61 6e 64 20 79 6f 75 20 6d 61 79 20 61 74 20 79 6f 75 72 20 6f 70 74 69 6f 6e 20 6f 66 66 | ,.and.you.may.at.your.option.off |
f6ce0 | 65 72 20 77 61 72 72 61 6e 74 79 20 70 72 6f 74 65 63 74 69 6f 6e 20 69 6e 20 65 78 63 68 61 6e | er.warranty.protection.in.exchan |
f6d00 | 67 65 20 66 6f 72 20 61 0a 66 65 65 2e 0a 0a 3c 70 3e 3c 73 70 61 6e 20 63 6c 61 73 73 3d 22 67 | ge.for.a.fee...<p><span.class="g |
f6d20 | 6e 75 2d 6e 75 6d 62 65 72 22 3e 32 2e 20 3c 2f 73 70 61 6e 3e 0a 59 6f 75 20 6d 61 79 20 6d 6f | nu-number">2..</span>.You.may.mo |
f6d40 | 64 69 66 79 20 79 6f 75 72 20 63 6f 70 79 20 6f 72 20 63 6f 70 69 65 73 20 6f 66 20 74 68 65 20 | dify.your.copy.or.copies.of.the. |
f6d60 | 4c 69 62 72 61 72 79 20 6f 72 20 61 6e 79 20 70 6f 72 74 69 6f 6e 0a 6f 66 20 69 74 2c 20 74 68 | Library.or.any.portion.of.it,.th |
f6d80 | 75 73 20 66 6f 72 6d 69 6e 67 20 61 20 77 6f 72 6b 20 62 61 73 65 64 20 6f 6e 20 74 68 65 20 4c | us.forming.a.work.based.on.the.L |
f6da0 | 69 62 72 61 72 79 2c 20 61 6e 64 20 63 6f 70 79 20 61 6e 64 0a 64 69 73 74 72 69 62 75 74 65 20 | ibrary,.and.copy.and.distribute. |
f6dc0 | 73 75 63 68 20 6d 6f 64 69 66 69 63 61 74 69 6f 6e 73 20 6f 72 20 77 6f 72 6b 20 75 6e 64 65 72 | such.modifications.or.work.under |
f6de0 | 20 74 68 65 20 74 65 72 6d 73 20 6f 66 20 53 65 63 74 69 6f 6e 20 31 0a 61 62 6f 76 65 2c 20 70 | .the.terms.of.Section.1.above,.p |
f6e00 | 72 6f 76 69 64 65 64 20 74 68 61 74 20 79 6f 75 20 61 6c 73 6f 20 6d 65 65 74 20 61 6c 6c 20 6f | rovided.that.you.also.meet.all.o |
f6e20 | 66 20 74 68 65 73 65 20 63 6f 6e 64 69 74 69 6f 6e 73 3a 0a 0a 20 20 20 20 61 29 20 54 68 65 20 | f.these.conditions:......a).The. |
f6e40 | 6d 6f 64 69 66 69 65 64 20 77 6f 72 6b 20 6d 75 73 74 20 69 74 73 65 6c 66 20 62 65 20 61 20 73 | modified.work.must.itself.be.a.s |
f6e60 | 6f 66 74 77 61 72 65 20 6c 69 62 72 61 72 79 2e 0a 0a 20 20 20 20 62 29 20 59 6f 75 20 6d 75 73 | oftware.library.......b).You.mus |
f6e80 | 74 20 63 61 75 73 65 20 74 68 65 20 66 69 6c 65 73 20 6d 6f 64 69 66 69 65 64 20 74 6f 20 63 61 | t.cause.the.files.modified.to.ca |
f6ea0 | 72 72 79 20 70 72 6f 6d 69 6e 65 6e 74 20 6e 6f 74 69 63 65 73 0a 20 20 20 20 73 74 61 74 69 6e | rry.prominent.notices.....statin |
f6ec0 | 67 20 74 68 61 74 20 79 6f 75 20 63 68 61 6e 67 65 64 20 74 68 65 20 66 69 6c 65 73 20 61 6e 64 | g.that.you.changed.the.files.and |
f6ee0 | 20 74 68 65 20 64 61 74 65 20 6f 66 20 61 6e 79 20 63 68 61 6e 67 65 2e 0a 0a 20 20 20 20 63 29 | .the.date.of.any.change.......c) |
f6f00 | 20 59 6f 75 20 6d 75 73 74 20 63 61 75 73 65 20 74 68 65 20 77 68 6f 6c 65 20 6f 66 20 74 68 65 | .You.must.cause.the.whole.of.the |
f6f20 | 20 77 6f 72 6b 20 74 6f 20 62 65 20 6c 69 63 65 6e 73 65 64 20 61 74 20 6e 6f 0a 20 20 20 20 63 | .work.to.be.licensed.at.no.....c |
f6f40 | 68 61 72 67 65 20 74 6f 20 61 6c 6c 20 74 68 69 72 64 20 70 61 72 74 69 65 73 20 75 6e 64 65 72 | harge.to.all.third.parties.under |
f6f60 | 20 74 68 65 20 74 65 72 6d 73 20 6f 66 20 74 68 69 73 20 4c 69 63 65 6e 73 65 2e 0a 0a 20 20 20 | .the.terms.of.this.License...... |
f6f80 | 20 64 29 20 49 66 20 61 20 66 61 63 69 6c 69 74 79 20 69 6e 20 74 68 65 20 6d 6f 64 69 66 69 65 | .d).If.a.facility.in.the.modifie |
f6fa0 | 64 20 4c 69 62 72 61 72 79 20 72 65 66 65 72 73 20 74 6f 20 61 20 66 75 6e 63 74 69 6f 6e 20 6f | d.Library.refers.to.a.function.o |
f6fc0 | 72 20 61 0a 20 20 20 20 74 61 62 6c 65 20 6f 66 20 64 61 74 61 20 74 6f 20 62 65 20 73 75 70 70 | r.a.....table.of.data.to.be.supp |
f6fe0 | 6c 69 65 64 20 62 79 20 61 6e 20 61 70 70 6c 69 63 61 74 69 6f 6e 20 70 72 6f 67 72 61 6d 20 74 | lied.by.an.application.program.t |
f7000 | 68 61 74 20 75 73 65 73 0a 20 20 20 20 74 68 65 20 66 61 63 69 6c 69 74 79 2c 20 6f 74 68 65 72 | hat.uses.....the.facility,.other |
f7020 | 20 74 68 61 6e 20 61 73 20 61 6e 20 61 72 67 75 6d 65 6e 74 20 70 61 73 73 65 64 20 77 68 65 6e | .than.as.an.argument.passed.when |
f7040 | 20 74 68 65 20 66 61 63 69 6c 69 74 79 0a 20 20 20 20 69 73 20 69 6e 76 6f 6b 65 64 2c 20 74 68 | .the.facility.....is.invoked,.th |
f7060 | 65 6e 20 79 6f 75 20 6d 75 73 74 20 6d 61 6b 65 20 61 20 67 6f 6f 64 20 66 61 69 74 68 20 65 66 | en.you.must.make.a.good.faith.ef |
f7080 | 66 6f 72 74 20 74 6f 20 65 6e 73 75 72 65 20 74 68 61 74 2c 0a 20 20 20 20 69 6e 20 74 68 65 20 | fort.to.ensure.that,.....in.the. |
f70a0 | 65 76 65 6e 74 20 61 6e 20 61 70 70 6c 69 63 61 74 69 6f 6e 20 64 6f 65 73 20 6e 6f 74 20 73 75 | event.an.application.does.not.su |
f70c0 | 70 70 6c 79 20 73 75 63 68 20 66 75 6e 63 74 69 6f 6e 20 6f 72 0a 20 20 20 20 74 61 62 6c 65 2c | pply.such.function.or.....table, |
f70e0 | 20 74 68 65 20 66 61 63 69 6c 69 74 79 20 73 74 69 6c 6c 20 6f 70 65 72 61 74 65 73 2c 20 61 6e | .the.facility.still.operates,.an |
f7100 | 64 20 70 65 72 66 6f 72 6d 73 20 77 68 61 74 65 76 65 72 20 70 61 72 74 20 6f 66 0a 20 20 20 20 | d.performs.whatever.part.of..... |
f7120 | 69 74 73 20 70 75 72 70 6f 73 65 20 72 65 6d 61 69 6e 73 20 6d 65 61 6e 69 6e 67 66 75 6c 2e 0a | its.purpose.remains.meaningful.. |
f7140 | 0a 20 20 20 20 28 46 6f 72 20 65 78 61 6d 70 6c 65 2c 20 61 20 66 75 6e 63 74 69 6f 6e 20 69 6e | .....(For.example,.a.function.in |
f7160 | 20 61 20 6c 69 62 72 61 72 79 20 74 6f 20 63 6f 6d 70 75 74 65 20 73 71 75 61 72 65 20 72 6f 6f | .a.library.to.compute.square.roo |
f7180 | 74 73 20 68 61 73 0a 20 20 20 20 61 20 70 75 72 70 6f 73 65 20 74 68 61 74 20 69 73 20 65 6e 74 | ts.has.....a.purpose.that.is.ent |
f71a0 | 69 72 65 6c 79 20 77 65 6c 6c 2d 64 65 66 69 6e 65 64 20 69 6e 64 65 70 65 6e 64 65 6e 74 20 6f | irely.well-defined.independent.o |
f71c0 | 66 20 74 68 65 0a 20 20 20 20 61 70 70 6c 69 63 61 74 69 6f 6e 2e 20 20 54 68 65 72 65 66 6f 72 | f.the.....application...Therefor |
f71e0 | 65 2c 20 53 75 62 73 65 63 74 69 6f 6e 20 32 64 20 72 65 71 75 69 72 65 73 20 74 68 61 74 20 61 | e,.Subsection.2d.requires.that.a |
f7200 | 6e 79 0a 20 20 20 20 61 70 70 6c 69 63 61 74 69 6f 6e 2d 73 75 70 70 6c 69 65 64 20 66 75 6e 63 | ny.....application-supplied.func |
f7220 | 74 69 6f 6e 20 6f 72 20 74 61 62 6c 65 20 75 73 65 64 20 62 79 20 74 68 69 73 20 66 75 6e 63 74 | tion.or.table.used.by.this.funct |
f7240 | 69 6f 6e 20 6d 75 73 74 0a 20 20 20 20 62 65 20 6f 70 74 69 6f 6e 61 6c 3a 20 69 66 20 74 68 65 | ion.must.....be.optional:.if.the |
f7260 | 20 61 70 70 6c 69 63 61 74 69 6f 6e 20 64 6f 65 73 20 6e 6f 74 20 73 75 70 70 6c 79 20 69 74 2c | .application.does.not.supply.it, |
f7280 | 20 74 68 65 20 73 71 75 61 72 65 0a 20 20 20 20 72 6f 6f 74 20 66 75 6e 63 74 69 6f 6e 20 6d 75 | .the.square.....root.function.mu |
f72a0 | 73 74 20 73 74 69 6c 6c 20 63 6f 6d 70 75 74 65 20 73 71 75 61 72 65 20 72 6f 6f 74 73 2e 29 0a | st.still.compute.square.roots.). |
f72c0 | 0a 3c 70 3e 54 68 65 73 65 20 72 65 71 75 69 72 65 6d 65 6e 74 73 20 61 70 70 6c 79 20 74 6f 20 | .<p>These.requirements.apply.to. |
f72e0 | 74 68 65 20 6d 6f 64 69 66 69 65 64 20 77 6f 72 6b 20 61 73 20 61 20 77 68 6f 6c 65 2e 20 20 49 | the.modified.work.as.a.whole...I |
f7300 | 66 0a 69 64 65 6e 74 69 66 69 61 62 6c 65 20 73 65 63 74 69 6f 6e 73 20 6f 66 20 74 68 61 74 20 | f.identifiable.sections.of.that. |
f7320 | 77 6f 72 6b 20 61 72 65 20 6e 6f 74 20 64 65 72 69 76 65 64 20 66 72 6f 6d 20 74 68 65 20 4c 69 | work.are.not.derived.from.the.Li |
f7340 | 62 72 61 72 79 2c 0a 61 6e 64 20 63 61 6e 20 62 65 20 72 65 61 73 6f 6e 61 62 6c 79 20 63 6f 6e | brary,.and.can.be.reasonably.con |
f7360 | 73 69 64 65 72 65 64 20 69 6e 64 65 70 65 6e 64 65 6e 74 20 61 6e 64 20 73 65 70 61 72 61 74 65 | sidered.independent.and.separate |
f7380 | 20 77 6f 72 6b 73 20 69 6e 0a 74 68 65 6d 73 65 6c 76 65 73 2c 20 74 68 65 6e 20 74 68 69 73 20 | .works.in.themselves,.then.this. |
f73a0 | 4c 69 63 65 6e 73 65 2c 20 61 6e 64 20 69 74 73 20 74 65 72 6d 73 2c 20 64 6f 20 6e 6f 74 20 61 | License,.and.its.terms,.do.not.a |
f73c0 | 70 70 6c 79 20 74 6f 20 74 68 6f 73 65 0a 73 65 63 74 69 6f 6e 73 20 77 68 65 6e 20 79 6f 75 20 | pply.to.those.sections.when.you. |
f73e0 | 64 69 73 74 72 69 62 75 74 65 20 74 68 65 6d 20 61 73 20 73 65 70 61 72 61 74 65 20 77 6f 72 6b | distribute.them.as.separate.work |
f7400 | 73 2e 20 20 42 75 74 20 77 68 65 6e 20 79 6f 75 0a 64 69 73 74 72 69 62 75 74 65 20 74 68 65 20 | s...But.when.you.distribute.the. |
f7420 | 73 61 6d 65 20 73 65 63 74 69 6f 6e 73 20 61 73 20 70 61 72 74 20 6f 66 20 61 20 77 68 6f 6c 65 | same.sections.as.part.of.a.whole |
f7440 | 20 77 68 69 63 68 20 69 73 20 61 20 77 6f 72 6b 20 62 61 73 65 64 0a 6f 6e 20 74 68 65 20 4c 69 | .which.is.a.work.based.on.the.Li |
f7460 | 62 72 61 72 79 2c 20 74 68 65 20 64 69 73 74 72 69 62 75 74 69 6f 6e 20 6f 66 20 74 68 65 20 77 | brary,.the.distribution.of.the.w |
f7480 | 68 6f 6c 65 20 6d 75 73 74 20 62 65 20 6f 6e 20 74 68 65 20 74 65 72 6d 73 20 6f 66 0a 74 68 69 | hole.must.be.on.the.terms.of.thi |
f74a0 | 73 20 4c 69 63 65 6e 73 65 2c 20 77 68 6f 73 65 20 70 65 72 6d 69 73 73 69 6f 6e 73 20 66 6f 72 | s.License,.whose.permissions.for |
f74c0 | 20 6f 74 68 65 72 20 6c 69 63 65 6e 73 65 65 73 20 65 78 74 65 6e 64 20 74 6f 20 74 68 65 0a 65 | .other.licensees.extend.to.the.e |
f74e0 | 6e 74 69 72 65 20 77 68 6f 6c 65 2c 20 61 6e 64 20 74 68 75 73 20 74 6f 20 65 61 63 68 20 61 6e | ntire.whole,.and.thus.to.each.an |
f7500 | 64 20 65 76 65 72 79 20 70 61 72 74 20 72 65 67 61 72 64 6c 65 73 73 20 6f 66 20 77 68 6f 20 77 | d.every.part.regardless.of.who.w |
f7520 | 72 6f 74 65 0a 69 74 2e 0a 0a 3c 70 3e 54 68 75 73 2c 20 69 74 20 69 73 20 6e 6f 74 20 74 68 65 | rote.it...<p>Thus,.it.is.not.the |
f7540 | 20 69 6e 74 65 6e 74 20 6f 66 20 74 68 69 73 20 73 65 63 74 69 6f 6e 20 74 6f 20 63 6c 61 69 6d | .intent.of.this.section.to.claim |
f7560 | 20 72 69 67 68 74 73 20 6f 72 20 63 6f 6e 74 65 73 74 0a 79 6f 75 72 20 72 69 67 68 74 73 20 74 | .rights.or.contest.your.rights.t |
f7580 | 6f 20 77 6f 72 6b 20 77 72 69 74 74 65 6e 20 65 6e 74 69 72 65 6c 79 20 62 79 20 79 6f 75 3b 20 | o.work.written.entirely.by.you;. |
f75a0 | 72 61 74 68 65 72 2c 20 74 68 65 20 69 6e 74 65 6e 74 20 69 73 20 74 6f 0a 65 78 65 72 63 69 73 | rather,.the.intent.is.to.exercis |
f75c0 | 65 20 74 68 65 20 72 69 67 68 74 20 74 6f 20 63 6f 6e 74 72 6f 6c 20 74 68 65 20 64 69 73 74 72 | e.the.right.to.control.the.distr |
f75e0 | 69 62 75 74 69 6f 6e 20 6f 66 20 64 65 72 69 76 61 74 69 76 65 20 6f 72 0a 63 6f 6c 6c 65 63 74 | ibution.of.derivative.or.collect |
f7600 | 69 76 65 20 77 6f 72 6b 73 20 62 61 73 65 64 20 6f 6e 20 74 68 65 20 4c 69 62 72 61 72 79 2e 0a | ive.works.based.on.the.Library.. |
f7620 | 0a 3c 70 3e 49 6e 20 61 64 64 69 74 69 6f 6e 2c 20 6d 65 72 65 20 61 67 67 72 65 67 61 74 69 6f | .<p>In.addition,.mere.aggregatio |
f7640 | 6e 20 6f 66 20 61 6e 6f 74 68 65 72 20 77 6f 72 6b 20 6e 6f 74 20 62 61 73 65 64 20 6f 6e 20 74 | n.of.another.work.not.based.on.t |
f7660 | 68 65 20 4c 69 62 72 61 72 79 0a 77 69 74 68 20 74 68 65 20 4c 69 62 72 61 72 79 20 28 6f 72 20 | he.Library.with.the.Library.(or. |
f7680 | 77 69 74 68 20 61 20 77 6f 72 6b 20 62 61 73 65 64 20 6f 6e 20 74 68 65 20 4c 69 62 72 61 72 79 | with.a.work.based.on.the.Library |
f76a0 | 29 20 6f 6e 20 61 20 76 6f 6c 75 6d 65 20 6f 66 0a 61 20 73 74 6f 72 61 67 65 20 6f 72 20 64 69 | ).on.a.volume.of.a.storage.or.di |
f76c0 | 73 74 72 69 62 75 74 69 6f 6e 20 6d 65 64 69 75 6d 20 64 6f 65 73 20 6e 6f 74 20 62 72 69 6e 67 | stribution.medium.does.not.bring |
f76e0 | 20 74 68 65 20 6f 74 68 65 72 20 77 6f 72 6b 20 75 6e 64 65 72 0a 74 68 65 20 73 63 6f 70 65 20 | .the.other.work.under.the.scope. |
f7700 | 6f 66 20 74 68 69 73 20 4c 69 63 65 6e 73 65 2e 0a 0a 3c 70 3e 3c 73 70 61 6e 20 63 6c 61 73 73 | of.this.License...<p><span.class |
f7720 | 3d 22 67 6e 75 2d 6e 75 6d 62 65 72 22 3e 33 2e 20 3c 2f 73 70 61 6e 3e 0a 59 6f 75 20 6d 61 79 | ="gnu-number">3..</span>.You.may |
f7740 | 20 6f 70 74 20 74 6f 20 61 70 70 6c 79 20 74 68 65 20 74 65 72 6d 73 20 6f 66 20 74 68 65 20 6f | .opt.to.apply.the.terms.of.the.o |
f7760 | 72 64 69 6e 61 72 79 20 47 4e 55 20 47 65 6e 65 72 61 6c 20 50 75 62 6c 69 63 0a 4c 69 63 65 6e | rdinary.GNU.General.Public.Licen |
f7780 | 73 65 20 69 6e 73 74 65 61 64 20 6f 66 20 74 68 69 73 20 4c 69 63 65 6e 73 65 20 74 6f 20 61 20 | se.instead.of.this.License.to.a. |
f77a0 | 67 69 76 65 6e 20 63 6f 70 79 20 6f 66 20 74 68 65 20 4c 69 62 72 61 72 79 2e 20 20 54 6f 20 64 | given.copy.of.the.Library...To.d |
f77c0 | 6f 0a 74 68 69 73 2c 20 79 6f 75 20 6d 75 73 74 20 61 6c 74 65 72 20 61 6c 6c 20 74 68 65 20 6e | o.this,.you.must.alter.all.the.n |
f77e0 | 6f 74 69 63 65 73 20 74 68 61 74 20 72 65 66 65 72 20 74 6f 20 74 68 69 73 20 4c 69 63 65 6e 73 | otices.that.refer.to.this.Licens |
f7800 | 65 2c 20 73 6f 0a 74 68 61 74 20 74 68 65 79 20 72 65 66 65 72 20 74 6f 20 74 68 65 20 6f 72 64 | e,.so.that.they.refer.to.the.ord |
f7820 | 69 6e 61 72 79 20 47 4e 55 20 47 65 6e 65 72 61 6c 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 | inary.GNU.General.Public.License |
f7840 | 2c 20 76 65 72 73 69 6f 6e 20 32 2c 0a 69 6e 73 74 65 61 64 20 6f 66 20 74 6f 20 74 68 69 73 20 | ,.version.2,.instead.of.to.this. |
f7860 | 4c 69 63 65 6e 73 65 2e 20 20 28 49 66 20 61 20 6e 65 77 65 72 20 76 65 72 73 69 6f 6e 20 74 68 | License...(If.a.newer.version.th |
f7880 | 61 6e 20 76 65 72 73 69 6f 6e 20 32 20 6f 66 20 74 68 65 0a 6f 72 64 69 6e 61 72 79 20 47 4e 55 | an.version.2.of.the.ordinary.GNU |
f78a0 | 20 47 65 6e 65 72 61 6c 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 20 68 61 73 20 61 70 70 65 | .General.Public.License.has.appe |
f78c0 | 61 72 65 64 2c 20 74 68 65 6e 20 79 6f 75 20 63 61 6e 20 73 70 65 63 69 66 79 0a 74 68 61 74 20 | ared,.then.you.can.specify.that. |
f78e0 | 76 65 72 73 69 6f 6e 20 69 6e 73 74 65 61 64 20 69 66 20 79 6f 75 20 77 69 73 68 2e 29 20 20 44 | version.instead.if.you.wish.)..D |
f7900 | 6f 20 6e 6f 74 20 6d 61 6b 65 20 61 6e 79 20 6f 74 68 65 72 20 63 68 61 6e 67 65 20 69 6e 0a 74 | o.not.make.any.other.change.in.t |
f7920 | 68 65 73 65 20 6e 6f 74 69 63 65 73 2e 0a 0a 3c 70 3e 20 20 4f 6e 63 65 20 74 68 69 73 20 63 68 | hese.notices...<p>..Once.this.ch |
f7940 | 61 6e 67 65 20 69 73 20 6d 61 64 65 20 69 6e 20 61 20 67 69 76 65 6e 20 63 6f 70 79 2c 20 69 74 | ange.is.made.in.a.given.copy,.it |
f7960 | 20 69 73 20 69 72 72 65 76 65 72 73 69 62 6c 65 20 66 6f 72 0a 74 68 61 74 20 63 6f 70 79 2c 20 | .is.irreversible.for.that.copy,. |
f7980 | 73 6f 20 74 68 65 20 6f 72 64 69 6e 61 72 79 20 47 4e 55 20 47 65 6e 65 72 61 6c 20 50 75 62 6c | so.the.ordinary.GNU.General.Publ |
f79a0 | 69 63 20 4c 69 63 65 6e 73 65 20 61 70 70 6c 69 65 73 20 74 6f 20 61 6c 6c 0a 73 75 62 73 65 71 | ic.License.applies.to.all.subseq |
f79c0 | 75 65 6e 74 20 63 6f 70 69 65 73 20 61 6e 64 20 64 65 72 69 76 61 74 69 76 65 20 77 6f 72 6b 73 | uent.copies.and.derivative.works |
f79e0 | 20 6d 61 64 65 20 66 72 6f 6d 20 74 68 61 74 20 63 6f 70 79 2e 0a 0a 3c 70 3e 20 20 54 68 69 73 | .made.from.that.copy...<p>..This |
f7a00 | 20 6f 70 74 69 6f 6e 20 69 73 20 75 73 65 66 75 6c 20 77 68 65 6e 20 79 6f 75 20 77 69 73 68 20 | .option.is.useful.when.you.wish. |
f7a20 | 74 6f 20 63 6f 70 79 20 70 61 72 74 20 6f 66 20 74 68 65 20 63 6f 64 65 20 6f 66 0a 74 68 65 20 | to.copy.part.of.the.code.of.the. |
f7a40 | 4c 69 62 72 61 72 79 20 69 6e 74 6f 20 61 20 70 72 6f 67 72 61 6d 20 74 68 61 74 20 69 73 20 6e | Library.into.a.program.that.is.n |
f7a60 | 6f 74 20 61 20 6c 69 62 72 61 72 79 2e 0a 0a 3c 70 3e 3c 73 70 61 6e 20 63 6c 61 73 73 3d 22 67 | ot.a.library...<p><span.class="g |
f7a80 | 6e 75 2d 6e 75 6d 62 65 72 22 3e 34 2e 20 3c 2f 73 70 61 6e 3e 0a 59 6f 75 20 6d 61 79 20 63 6f | nu-number">4..</span>.You.may.co |
f7aa0 | 70 79 20 61 6e 64 20 64 69 73 74 72 69 62 75 74 65 20 74 68 65 20 4c 69 62 72 61 72 79 20 28 6f | py.and.distribute.the.Library.(o |
f7ac0 | 72 20 61 20 70 6f 72 74 69 6f 6e 20 6f 72 0a 64 65 72 69 76 61 74 69 76 65 20 6f 66 20 69 74 2c | r.a.portion.or.derivative.of.it, |
f7ae0 | 20 75 6e 64 65 72 20 53 65 63 74 69 6f 6e 20 32 29 20 69 6e 20 6f 62 6a 65 63 74 20 63 6f 64 65 | .under.Section.2).in.object.code |
f7b00 | 20 6f 72 20 65 78 65 63 75 74 61 62 6c 65 20 66 6f 72 6d 0a 75 6e 64 65 72 20 74 68 65 20 74 65 | .or.executable.form.under.the.te |
f7b20 | 72 6d 73 20 6f 66 20 53 65 63 74 69 6f 6e 73 20 31 20 61 6e 64 20 32 20 61 62 6f 76 65 20 70 72 | rms.of.Sections.1.and.2.above.pr |
f7b40 | 6f 76 69 64 65 64 20 74 68 61 74 20 79 6f 75 20 61 63 63 6f 6d 70 61 6e 79 0a 69 74 20 77 69 74 | ovided.that.you.accompany.it.wit |
f7b60 | 68 20 74 68 65 20 63 6f 6d 70 6c 65 74 65 20 63 6f 72 72 65 73 70 6f 6e 64 69 6e 67 20 6d 61 63 | h.the.complete.corresponding.mac |
f7b80 | 68 69 6e 65 2d 72 65 61 64 61 62 6c 65 20 73 6f 75 72 63 65 20 63 6f 64 65 2c 20 77 68 69 63 68 | hine-readable.source.code,.which |
f7ba0 | 0a 6d 75 73 74 20 62 65 20 64 69 73 74 72 69 62 75 74 65 64 20 75 6e 64 65 72 20 74 68 65 20 74 | .must.be.distributed.under.the.t |
f7bc0 | 65 72 6d 73 20 6f 66 20 53 65 63 74 69 6f 6e 73 20 31 20 61 6e 64 20 32 20 61 62 6f 76 65 20 6f | erms.of.Sections.1.and.2.above.o |
f7be0 | 6e 20 61 0a 6d 65 64 69 75 6d 20 63 75 73 74 6f 6d 61 72 69 6c 79 20 75 73 65 64 20 66 6f 72 20 | n.a.medium.customarily.used.for. |
f7c00 | 73 6f 66 74 77 61 72 65 20 69 6e 74 65 72 63 68 61 6e 67 65 2e 0a 0a 3c 70 3e 20 20 49 66 20 64 | software.interchange...<p>..If.d |
f7c20 | 69 73 74 72 69 62 75 74 69 6f 6e 20 6f 66 20 6f 62 6a 65 63 74 20 63 6f 64 65 20 69 73 20 6d 61 | istribution.of.object.code.is.ma |
f7c40 | 64 65 20 62 79 20 6f 66 66 65 72 69 6e 67 20 61 63 63 65 73 73 20 74 6f 20 63 6f 70 79 0a 66 72 | de.by.offering.access.to.copy.fr |
f7c60 | 6f 6d 20 61 20 64 65 73 69 67 6e 61 74 65 64 20 70 6c 61 63 65 2c 20 74 68 65 6e 20 6f 66 66 65 | om.a.designated.place,.then.offe |
f7c80 | 72 69 6e 67 20 65 71 75 69 76 61 6c 65 6e 74 20 61 63 63 65 73 73 20 74 6f 20 63 6f 70 79 20 74 | ring.equivalent.access.to.copy.t |
f7ca0 | 68 65 0a 73 6f 75 72 63 65 20 63 6f 64 65 20 66 72 6f 6d 20 74 68 65 20 73 61 6d 65 20 70 6c 61 | he.source.code.from.the.same.pla |
f7cc0 | 63 65 20 73 61 74 69 73 66 69 65 73 20 74 68 65 20 72 65 71 75 69 72 65 6d 65 6e 74 20 74 6f 0a | ce.satisfies.the.requirement.to. |
f7ce0 | 64 69 73 74 72 69 62 75 74 65 20 74 68 65 20 73 6f 75 72 63 65 20 63 6f 64 65 2c 20 65 76 65 6e | distribute.the.source.code,.even |
f7d00 | 20 74 68 6f 75 67 68 20 74 68 69 72 64 20 70 61 72 74 69 65 73 20 61 72 65 20 6e 6f 74 0a 63 6f | .though.third.parties.are.not.co |
f7d20 | 6d 70 65 6c 6c 65 64 20 74 6f 20 63 6f 70 79 20 74 68 65 20 73 6f 75 72 63 65 20 61 6c 6f 6e 67 | mpelled.to.copy.the.source.along |
f7d40 | 20 77 69 74 68 20 74 68 65 20 6f 62 6a 65 63 74 20 63 6f 64 65 2e 0a 0a 3c 70 3e 3c 73 70 61 6e | .with.the.object.code...<p><span |
f7d60 | 20 63 6c 61 73 73 3d 22 67 6e 75 2d 6e 75 6d 62 65 72 22 3e 35 2e 20 3c 2f 73 70 61 6e 3e 0a 41 | .class="gnu-number">5..</span>.A |
f7d80 | 20 70 72 6f 67 72 61 6d 20 74 68 61 74 20 63 6f 6e 74 61 69 6e 73 20 6e 6f 20 64 65 72 69 76 61 | .program.that.contains.no.deriva |
f7da0 | 74 69 76 65 20 6f 66 20 61 6e 79 20 70 6f 72 74 69 6f 6e 20 6f 66 20 74 68 65 0a 4c 69 62 72 61 | tive.of.any.portion.of.the.Libra |
f7dc0 | 72 79 2c 20 62 75 74 20 69 73 20 64 65 73 69 67 6e 65 64 20 74 6f 20 77 6f 72 6b 20 77 69 74 68 | ry,.but.is.designed.to.work.with |
f7de0 | 20 74 68 65 20 4c 69 62 72 61 72 79 20 62 79 20 62 65 69 6e 67 20 63 6f 6d 70 69 6c 65 64 20 6f | .the.Library.by.being.compiled.o |
f7e00 | 72 0a 6c 69 6e 6b 65 64 20 77 69 74 68 20 69 74 2c 20 69 73 20 63 61 6c 6c 65 64 20 61 20 22 77 | r.linked.with.it,.is.called.a."w |
f7e20 | 6f 72 6b 20 74 68 61 74 20 75 73 65 73 20 74 68 65 20 4c 69 62 72 61 72 79 22 2e 20 20 53 75 63 | ork.that.uses.the.Library"...Suc |
f7e40 | 68 20 61 0a 77 6f 72 6b 2c 20 69 6e 20 69 73 6f 6c 61 74 69 6f 6e 2c 20 69 73 20 6e 6f 74 20 61 | h.a.work,.in.isolation,.is.not.a |
f7e60 | 20 64 65 72 69 76 61 74 69 76 65 20 77 6f 72 6b 20 6f 66 20 74 68 65 20 4c 69 62 72 61 72 79 2c | .derivative.work.of.the.Library, |
f7e80 | 20 61 6e 64 0a 74 68 65 72 65 66 6f 72 65 20 66 61 6c 6c 73 20 6f 75 74 73 69 64 65 20 74 68 65 | .and.therefore.falls.outside.the |
f7ea0 | 20 73 63 6f 70 65 20 6f 66 20 74 68 69 73 20 4c 69 63 65 6e 73 65 2e 0a 0a 3c 70 3e 20 20 48 6f | .scope.of.this.License...<p>..Ho |
f7ec0 | 77 65 76 65 72 2c 20 6c 69 6e 6b 69 6e 67 20 61 20 22 77 6f 72 6b 20 74 68 61 74 20 75 73 65 73 | wever,.linking.a."work.that.uses |
f7ee0 | 20 74 68 65 20 4c 69 62 72 61 72 79 22 20 77 69 74 68 20 74 68 65 20 4c 69 62 72 61 72 79 0a 63 | .the.Library".with.the.Library.c |
f7f00 | 72 65 61 74 65 73 20 61 6e 20 65 78 65 63 75 74 61 62 6c 65 20 74 68 61 74 20 69 73 20 61 20 64 | reates.an.executable.that.is.a.d |
f7f20 | 65 72 69 76 61 74 69 76 65 20 6f 66 20 74 68 65 20 4c 69 62 72 61 72 79 20 28 62 65 63 61 75 73 | erivative.of.the.Library.(becaus |
f7f40 | 65 20 69 74 0a 63 6f 6e 74 61 69 6e 73 20 70 6f 72 74 69 6f 6e 73 20 6f 66 20 74 68 65 20 4c 69 | e.it.contains.portions.of.the.Li |
f7f60 | 62 72 61 72 79 29 2c 20 72 61 74 68 65 72 20 74 68 61 6e 20 61 20 22 77 6f 72 6b 20 74 68 61 74 | brary),.rather.than.a."work.that |
f7f80 | 20 75 73 65 73 20 74 68 65 0a 6c 69 62 72 61 72 79 22 2e 20 20 54 68 65 20 65 78 65 63 75 74 61 | .uses.the.library"...The.executa |
f7fa0 | 62 6c 65 20 69 73 20 74 68 65 72 65 66 6f 72 65 20 63 6f 76 65 72 65 64 20 62 79 20 74 68 69 73 | ble.is.therefore.covered.by.this |
f7fc0 | 20 4c 69 63 65 6e 73 65 2e 0a 53 65 63 74 69 6f 6e 20 36 20 73 74 61 74 65 73 20 74 65 72 6d 73 | .License..Section.6.states.terms |
f7fe0 | 20 66 6f 72 20 64 69 73 74 72 69 62 75 74 69 6f 6e 20 6f 66 20 73 75 63 68 20 65 78 65 63 75 74 | .for.distribution.of.such.execut |
f8000 | 61 62 6c 65 73 2e 0a 0a 3c 70 3e 20 20 57 68 65 6e 20 61 20 22 77 6f 72 6b 20 74 68 61 74 20 75 | ables...<p>..When.a."work.that.u |
f8020 | 73 65 73 20 74 68 65 20 4c 69 62 72 61 72 79 22 20 75 73 65 73 20 6d 61 74 65 72 69 61 6c 20 66 | ses.the.Library".uses.material.f |
f8040 | 72 6f 6d 20 61 20 68 65 61 64 65 72 20 66 69 6c 65 0a 74 68 61 74 20 69 73 20 70 61 72 74 20 6f | rom.a.header.file.that.is.part.o |
f8060 | 66 20 74 68 65 20 4c 69 62 72 61 72 79 2c 20 74 68 65 20 6f 62 6a 65 63 74 20 63 6f 64 65 20 66 | f.the.Library,.the.object.code.f |
f8080 | 6f 72 20 74 68 65 20 77 6f 72 6b 20 6d 61 79 20 62 65 20 61 0a 64 65 72 69 76 61 74 69 76 65 20 | or.the.work.may.be.a.derivative. |
f80a0 | 77 6f 72 6b 20 6f 66 20 74 68 65 20 4c 69 62 72 61 72 79 20 65 76 65 6e 20 74 68 6f 75 67 68 20 | work.of.the.Library.even.though. |
f80c0 | 74 68 65 20 73 6f 75 72 63 65 20 63 6f 64 65 20 69 73 20 6e 6f 74 2e 0a 57 68 65 74 68 65 72 20 | the.source.code.is.not..Whether. |
f80e0 | 74 68 69 73 20 69 73 20 74 72 75 65 20 69 73 20 65 73 70 65 63 69 61 6c 6c 79 20 73 69 67 6e 69 | this.is.true.is.especially.signi |
f8100 | 66 69 63 61 6e 74 20 69 66 20 74 68 65 20 77 6f 72 6b 20 63 61 6e 20 62 65 0a 6c 69 6e 6b 65 64 | ficant.if.the.work.can.be.linked |
f8120 | 20 77 69 74 68 6f 75 74 20 74 68 65 20 4c 69 62 72 61 72 79 2c 20 6f 72 20 69 66 20 74 68 65 20 | .without.the.Library,.or.if.the. |
f8140 | 77 6f 72 6b 20 69 73 20 69 74 73 65 6c 66 20 61 20 6c 69 62 72 61 72 79 2e 20 20 54 68 65 0a 74 | work.is.itself.a.library...The.t |
f8160 | 68 72 65 73 68 6f 6c 64 20 66 6f 72 20 74 68 69 73 20 74 6f 20 62 65 20 74 72 75 65 20 69 73 20 | hreshold.for.this.to.be.true.is. |
f8180 | 6e 6f 74 20 70 72 65 63 69 73 65 6c 79 20 64 65 66 69 6e 65 64 20 62 79 20 6c 61 77 2e 0a 0a 3c | not.precisely.defined.by.law...< |
f81a0 | 70 3e 20 20 49 66 20 73 75 63 68 20 61 6e 20 6f 62 6a 65 63 74 20 66 69 6c 65 20 75 73 65 73 20 | p>..If.such.an.object.file.uses. |
f81c0 | 6f 6e 6c 79 20 6e 75 6d 65 72 69 63 61 6c 20 70 61 72 61 6d 65 74 65 72 73 2c 20 64 61 74 61 0a | only.numerical.parameters,.data. |
f81e0 | 73 74 72 75 63 74 75 72 65 20 6c 61 79 6f 75 74 73 20 61 6e 64 20 61 63 63 65 73 73 6f 72 73 2c | structure.layouts.and.accessors, |
f8200 | 20 61 6e 64 20 73 6d 61 6c 6c 20 6d 61 63 72 6f 73 20 61 6e 64 20 73 6d 61 6c 6c 20 69 6e 6c 69 | .and.small.macros.and.small.inli |
f8220 | 6e 65 0a 66 75 6e 63 74 69 6f 6e 73 20 28 74 65 6e 20 6c 69 6e 65 73 20 6f 72 20 6c 65 73 73 20 | ne.functions.(ten.lines.or.less. |
f8240 | 69 6e 20 6c 65 6e 67 74 68 29 2c 20 74 68 65 6e 20 74 68 65 20 75 73 65 20 6f 66 20 74 68 65 20 | in.length),.then.the.use.of.the. |
f8260 | 6f 62 6a 65 63 74 0a 66 69 6c 65 20 69 73 20 75 6e 72 65 73 74 72 69 63 74 65 64 2c 20 72 65 67 | object.file.is.unrestricted,.reg |
f8280 | 61 72 64 6c 65 73 73 20 6f 66 20 77 68 65 74 68 65 72 20 69 74 20 69 73 20 6c 65 67 61 6c 6c 79 | ardless.of.whether.it.is.legally |
f82a0 | 20 61 20 64 65 72 69 76 61 74 69 76 65 0a 77 6f 72 6b 2e 20 20 28 45 78 65 63 75 74 61 62 6c 65 | .a.derivative.work...(Executable |
f82c0 | 73 20 63 6f 6e 74 61 69 6e 69 6e 67 20 74 68 69 73 20 6f 62 6a 65 63 74 20 63 6f 64 65 20 70 6c | s.containing.this.object.code.pl |
f82e0 | 75 73 20 70 6f 72 74 69 6f 6e 73 20 6f 66 20 74 68 65 0a 4c 69 62 72 61 72 79 20 77 69 6c 6c 20 | us.portions.of.the.Library.will. |
f8300 | 73 74 69 6c 6c 20 66 61 6c 6c 20 75 6e 64 65 72 20 53 65 63 74 69 6f 6e 20 36 2e 29 0a 0a 3c 70 | still.fall.under.Section.6.)..<p |
f8320 | 3e 20 20 4f 74 68 65 72 77 69 73 65 2c 20 69 66 20 74 68 65 20 77 6f 72 6b 20 69 73 20 61 20 64 | >..Otherwise,.if.the.work.is.a.d |
f8340 | 65 72 69 76 61 74 69 76 65 20 6f 66 20 74 68 65 20 4c 69 62 72 61 72 79 2c 20 79 6f 75 20 6d 61 | erivative.of.the.Library,.you.ma |
f8360 | 79 0a 64 69 73 74 72 69 62 75 74 65 20 74 68 65 20 6f 62 6a 65 63 74 20 63 6f 64 65 20 66 6f 72 | y.distribute.the.object.code.for |
f8380 | 20 74 68 65 20 77 6f 72 6b 20 75 6e 64 65 72 20 74 68 65 20 74 65 72 6d 73 20 6f 66 20 53 65 63 | .the.work.under.the.terms.of.Sec |
f83a0 | 74 69 6f 6e 20 36 2e 0a 41 6e 79 20 65 78 65 63 75 74 61 62 6c 65 73 20 63 6f 6e 74 61 69 6e 69 | tion.6..Any.executables.containi |
f83c0 | 6e 67 20 74 68 61 74 20 77 6f 72 6b 20 61 6c 73 6f 20 66 61 6c 6c 20 75 6e 64 65 72 20 53 65 63 | ng.that.work.also.fall.under.Sec |
f83e0 | 74 69 6f 6e 20 36 2c 0a 77 68 65 74 68 65 72 20 6f 72 20 6e 6f 74 20 74 68 65 79 20 61 72 65 20 | tion.6,.whether.or.not.they.are. |
f8400 | 6c 69 6e 6b 65 64 20 64 69 72 65 63 74 6c 79 20 77 69 74 68 20 74 68 65 20 4c 69 62 72 61 72 79 | linked.directly.with.the.Library |
f8420 | 20 69 74 73 65 6c 66 2e 0a 0a 3c 70 3e 3c 73 70 61 6e 20 63 6c 61 73 73 3d 22 67 6e 75 2d 6e 75 | .itself...<p><span.class="gnu-nu |
f8440 | 6d 62 65 72 22 3e 36 2e 20 3c 2f 73 70 61 6e 3e 0a 41 73 20 61 6e 20 65 78 63 65 70 74 69 6f 6e | mber">6..</span>.As.an.exception |
f8460 | 20 74 6f 20 74 68 65 20 53 65 63 74 69 6f 6e 73 20 61 62 6f 76 65 2c 20 79 6f 75 20 6d 61 79 20 | .to.the.Sections.above,.you.may. |
f8480 | 61 6c 73 6f 20 63 6f 6d 62 69 6e 65 20 6f 72 0a 6c 69 6e 6b 20 61 20 22 77 6f 72 6b 20 74 68 61 | also.combine.or.link.a."work.tha |
f84a0 | 74 20 75 73 65 73 20 74 68 65 20 4c 69 62 72 61 72 79 22 20 77 69 74 68 20 74 68 65 20 4c 69 62 | t.uses.the.Library".with.the.Lib |
f84c0 | 72 61 72 79 20 74 6f 20 70 72 6f 64 75 63 65 20 61 0a 77 6f 72 6b 20 63 6f 6e 74 61 69 6e 69 6e | rary.to.produce.a.work.containin |
f84e0 | 67 20 70 6f 72 74 69 6f 6e 73 20 6f 66 20 74 68 65 20 4c 69 62 72 61 72 79 2c 20 61 6e 64 20 64 | g.portions.of.the.Library,.and.d |
f8500 | 69 73 74 72 69 62 75 74 65 20 74 68 61 74 20 77 6f 72 6b 0a 75 6e 64 65 72 20 74 65 72 6d 73 20 | istribute.that.work.under.terms. |
f8520 | 6f 66 20 79 6f 75 72 20 63 68 6f 69 63 65 2c 20 70 72 6f 76 69 64 65 64 20 74 68 61 74 20 74 68 | of.your.choice,.provided.that.th |
f8540 | 65 20 74 65 72 6d 73 20 70 65 72 6d 69 74 0a 6d 6f 64 69 66 69 63 61 74 69 6f 6e 20 6f 66 20 74 | e.terms.permit.modification.of.t |
f8560 | 68 65 20 77 6f 72 6b 20 66 6f 72 20 74 68 65 20 63 75 73 74 6f 6d 65 72 27 73 20 6f 77 6e 20 75 | he.work.for.the.customer's.own.u |
f8580 | 73 65 20 61 6e 64 20 72 65 76 65 72 73 65 0a 65 6e 67 69 6e 65 65 72 69 6e 67 20 66 6f 72 20 64 | se.and.reverse.engineering.for.d |
f85a0 | 65 62 75 67 67 69 6e 67 20 73 75 63 68 20 6d 6f 64 69 66 69 63 61 74 69 6f 6e 73 2e 0a 0a 3c 70 | ebugging.such.modifications...<p |
f85c0 | 3e 20 20 59 6f 75 20 6d 75 73 74 20 67 69 76 65 20 70 72 6f 6d 69 6e 65 6e 74 20 6e 6f 74 69 63 | >..You.must.give.prominent.notic |
f85e0 | 65 20 77 69 74 68 20 65 61 63 68 20 63 6f 70 79 20 6f 66 20 74 68 65 20 77 6f 72 6b 20 74 68 61 | e.with.each.copy.of.the.work.tha |
f8600 | 74 20 74 68 65 0a 4c 69 62 72 61 72 79 20 69 73 20 75 73 65 64 20 69 6e 20 69 74 20 61 6e 64 20 | t.the.Library.is.used.in.it.and. |
f8620 | 74 68 61 74 20 74 68 65 20 4c 69 62 72 61 72 79 20 61 6e 64 20 69 74 73 20 75 73 65 20 61 72 65 | that.the.Library.and.its.use.are |
f8640 | 20 63 6f 76 65 72 65 64 20 62 79 0a 74 68 69 73 20 4c 69 63 65 6e 73 65 2e 20 20 59 6f 75 20 6d | .covered.by.this.License...You.m |
f8660 | 75 73 74 20 73 75 70 70 6c 79 20 61 20 63 6f 70 79 20 6f 66 20 74 68 69 73 20 4c 69 63 65 6e 73 | ust.supply.a.copy.of.this.Licens |
f8680 | 65 2e 20 20 49 66 20 74 68 65 20 77 6f 72 6b 0a 64 75 72 69 6e 67 20 65 78 65 63 75 74 69 6f 6e | e...If.the.work.during.execution |
f86a0 | 20 64 69 73 70 6c 61 79 73 20 63 6f 70 79 72 69 67 68 74 20 6e 6f 74 69 63 65 73 2c 20 79 6f 75 | .displays.copyright.notices,.you |
f86c0 | 20 6d 75 73 74 20 69 6e 63 6c 75 64 65 20 74 68 65 0a 63 6f 70 79 72 69 67 68 74 20 6e 6f 74 69 | .must.include.the.copyright.noti |
f86e0 | 63 65 20 66 6f 72 20 74 68 65 20 4c 69 62 72 61 72 79 20 61 6d 6f 6e 67 20 74 68 65 6d 2c 20 61 | ce.for.the.Library.among.them,.a |
f8700 | 73 20 77 65 6c 6c 20 61 73 20 61 20 72 65 66 65 72 65 6e 63 65 0a 64 69 72 65 63 74 69 6e 67 20 | s.well.as.a.reference.directing. |
f8720 | 74 68 65 20 75 73 65 72 20 74 6f 20 74 68 65 20 63 6f 70 79 20 6f 66 20 74 68 69 73 20 4c 69 63 | the.user.to.the.copy.of.this.Lic |
f8740 | 65 6e 73 65 2e 20 20 41 6c 73 6f 2c 20 79 6f 75 20 6d 75 73 74 20 64 6f 20 6f 6e 65 0a 6f 66 20 | ense...Also,.you.must.do.one.of. |
f8760 | 74 68 65 73 65 20 74 68 69 6e 67 73 3a 0a 0a 20 20 20 20 61 29 20 41 63 63 6f 6d 70 61 6e 79 20 | these.things:......a).Accompany. |
f8780 | 74 68 65 20 77 6f 72 6b 20 77 69 74 68 20 74 68 65 20 63 6f 6d 70 6c 65 74 65 20 63 6f 72 72 65 | the.work.with.the.complete.corre |
f87a0 | 73 70 6f 6e 64 69 6e 67 0a 20 20 20 20 6d 61 63 68 69 6e 65 2d 72 65 61 64 61 62 6c 65 20 73 6f | sponding.....machine-readable.so |
f87c0 | 75 72 63 65 20 63 6f 64 65 20 66 6f 72 20 74 68 65 20 4c 69 62 72 61 72 79 20 69 6e 63 6c 75 64 | urce.code.for.the.Library.includ |
f87e0 | 69 6e 67 20 77 68 61 74 65 76 65 72 0a 20 20 20 20 63 68 61 6e 67 65 73 20 77 65 72 65 20 75 73 | ing.whatever.....changes.were.us |
f8800 | 65 64 20 69 6e 20 74 68 65 20 77 6f 72 6b 20 28 77 68 69 63 68 20 6d 75 73 74 20 62 65 20 64 69 | ed.in.the.work.(which.must.be.di |
f8820 | 73 74 72 69 62 75 74 65 64 20 75 6e 64 65 72 0a 20 20 20 20 53 65 63 74 69 6f 6e 73 20 31 20 61 | stributed.under.....Sections.1.a |
f8840 | 6e 64 20 32 20 61 62 6f 76 65 29 3b 20 61 6e 64 2c 20 69 66 20 74 68 65 20 77 6f 72 6b 20 69 73 | nd.2.above);.and,.if.the.work.is |
f8860 | 20 61 6e 20 65 78 65 63 75 74 61 62 6c 65 20 6c 69 6e 6b 65 64 0a 20 20 20 20 77 69 74 68 20 74 | .an.executable.linked.....with.t |
f8880 | 68 65 20 4c 69 62 72 61 72 79 2c 20 77 69 74 68 20 74 68 65 20 63 6f 6d 70 6c 65 74 65 20 6d 61 | he.Library,.with.the.complete.ma |
f88a0 | 63 68 69 6e 65 2d 72 65 61 64 61 62 6c 65 20 22 77 6f 72 6b 20 74 68 61 74 0a 20 20 20 20 75 73 | chine-readable."work.that.....us |
f88c0 | 65 73 20 74 68 65 20 4c 69 62 72 61 72 79 22 2c 20 61 73 20 6f 62 6a 65 63 74 20 63 6f 64 65 20 | es.the.Library",.as.object.code. |
f88e0 | 61 6e 64 2f 6f 72 20 73 6f 75 72 63 65 20 63 6f 64 65 2c 20 73 6f 20 74 68 61 74 20 74 68 65 0a | and/or.source.code,.so.that.the. |
f8900 | 20 20 20 20 75 73 65 72 20 63 61 6e 20 6d 6f 64 69 66 79 20 74 68 65 20 4c 69 62 72 61 72 79 20 | ....user.can.modify.the.Library. |
f8920 | 61 6e 64 20 74 68 65 6e 20 72 65 6c 69 6e 6b 20 74 6f 20 70 72 6f 64 75 63 65 20 61 20 6d 6f 64 | and.then.relink.to.produce.a.mod |
f8940 | 69 66 69 65 64 0a 20 20 20 20 65 78 65 63 75 74 61 62 6c 65 20 63 6f 6e 74 61 69 6e 69 6e 67 20 | ified.....executable.containing. |
f8960 | 74 68 65 20 6d 6f 64 69 66 69 65 64 20 4c 69 62 72 61 72 79 2e 20 20 28 49 74 20 69 73 20 75 6e | the.modified.Library...(It.is.un |
f8980 | 64 65 72 73 74 6f 6f 64 0a 20 20 20 20 74 68 61 74 20 74 68 65 20 75 73 65 72 20 77 68 6f 20 63 | derstood.....that.the.user.who.c |
f89a0 | 68 61 6e 67 65 73 20 74 68 65 20 63 6f 6e 74 65 6e 74 73 20 6f 66 20 64 65 66 69 6e 69 74 69 6f | hanges.the.contents.of.definitio |
f89c0 | 6e 73 20 66 69 6c 65 73 20 69 6e 20 74 68 65 0a 20 20 20 20 4c 69 62 72 61 72 79 20 77 69 6c 6c | ns.files.in.the.....Library.will |
f89e0 | 20 6e 6f 74 20 6e 65 63 65 73 73 61 72 69 6c 79 20 62 65 20 61 62 6c 65 20 74 6f 20 72 65 63 6f | .not.necessarily.be.able.to.reco |
f8a00 | 6d 70 69 6c 65 20 74 68 65 20 61 70 70 6c 69 63 61 74 69 6f 6e 0a 20 20 20 20 74 6f 20 75 73 65 | mpile.the.application.....to.use |
f8a20 | 20 74 68 65 20 6d 6f 64 69 66 69 65 64 20 64 65 66 69 6e 69 74 69 6f 6e 73 2e 29 0a 0a 20 20 20 | .the.modified.definitions.)..... |
f8a40 | 20 62 29 20 55 73 65 20 61 20 73 75 69 74 61 62 6c 65 20 73 68 61 72 65 64 20 6c 69 62 72 61 72 | .b).Use.a.suitable.shared.librar |
f8a60 | 79 20 6d 65 63 68 61 6e 69 73 6d 20 66 6f 72 20 6c 69 6e 6b 69 6e 67 20 77 69 74 68 20 74 68 65 | y.mechanism.for.linking.with.the |
f8a80 | 0a 20 20 20 20 4c 69 62 72 61 72 79 2e 20 20 41 20 73 75 69 74 61 62 6c 65 20 6d 65 63 68 61 6e | .....Library...A.suitable.mechan |
f8aa0 | 69 73 6d 20 69 73 20 6f 6e 65 20 74 68 61 74 20 28 31 29 20 75 73 65 73 20 61 74 20 72 75 6e 20 | ism.is.one.that.(1).uses.at.run. |
f8ac0 | 74 69 6d 65 20 61 0a 20 20 20 20 63 6f 70 79 20 6f 66 20 74 68 65 20 6c 69 62 72 61 72 79 20 61 | time.a.....copy.of.the.library.a |
f8ae0 | 6c 72 65 61 64 79 20 70 72 65 73 65 6e 74 20 6f 6e 20 74 68 65 20 75 73 65 72 27 73 20 63 6f 6d | lready.present.on.the.user's.com |
f8b00 | 70 75 74 65 72 20 73 79 73 74 65 6d 2c 0a 20 20 20 20 72 61 74 68 65 72 20 74 68 61 6e 20 63 6f | puter.system,.....rather.than.co |
f8b20 | 70 79 69 6e 67 20 6c 69 62 72 61 72 79 20 66 75 6e 63 74 69 6f 6e 73 20 69 6e 74 6f 20 74 68 65 | pying.library.functions.into.the |
f8b40 | 20 65 78 65 63 75 74 61 62 6c 65 2c 20 61 6e 64 20 28 32 29 0a 20 20 20 20 77 69 6c 6c 20 6f 70 | .executable,.and.(2).....will.op |
f8b60 | 65 72 61 74 65 20 70 72 6f 70 65 72 6c 79 20 77 69 74 68 20 61 20 6d 6f 64 69 66 69 65 64 20 76 | erate.properly.with.a.modified.v |
f8b80 | 65 72 73 69 6f 6e 20 6f 66 20 74 68 65 20 6c 69 62 72 61 72 79 2c 20 69 66 0a 20 20 20 20 74 68 | ersion.of.the.library,.if.....th |
f8ba0 | 65 20 75 73 65 72 20 69 6e 73 74 61 6c 6c 73 20 6f 6e 65 2c 20 61 73 20 6c 6f 6e 67 20 61 73 20 | e.user.installs.one,.as.long.as. |
f8bc0 | 74 68 65 20 6d 6f 64 69 66 69 65 64 20 76 65 72 73 69 6f 6e 20 69 73 0a 20 20 20 20 69 6e 74 65 | the.modified.version.is.....inte |
f8be0 | 72 66 61 63 65 2d 63 6f 6d 70 61 74 69 62 6c 65 20 77 69 74 68 20 74 68 65 20 76 65 72 73 69 6f | rface-compatible.with.the.versio |
f8c00 | 6e 20 74 68 61 74 20 74 68 65 20 77 6f 72 6b 20 77 61 73 20 6d 61 64 65 20 77 69 74 68 2e 0a 0a | n.that.the.work.was.made.with... |
f8c20 | 20 20 20 20 63 29 20 41 63 63 6f 6d 70 61 6e 79 20 74 68 65 20 77 6f 72 6b 20 77 69 74 68 20 61 | ....c).Accompany.the.work.with.a |
f8c40 | 20 77 72 69 74 74 65 6e 20 6f 66 66 65 72 2c 20 76 61 6c 69 64 20 66 6f 72 20 61 74 0a 20 20 20 | .written.offer,.valid.for.at.... |
f8c60 | 20 6c 65 61 73 74 20 74 68 72 65 65 20 79 65 61 72 73 2c 20 74 6f 20 67 69 76 65 20 74 68 65 20 | .least.three.years,.to.give.the. |
f8c80 | 73 61 6d 65 20 75 73 65 72 20 74 68 65 20 6d 61 74 65 72 69 61 6c 73 0a 20 20 20 20 73 70 65 63 | same.user.the.materials.....spec |
f8ca0 | 69 66 69 65 64 20 69 6e 20 53 75 62 73 65 63 74 69 6f 6e 20 36 61 2c 20 61 62 6f 76 65 2c 20 66 | ified.in.Subsection.6a,.above,.f |
f8cc0 | 6f 72 20 61 20 63 68 61 72 67 65 20 6e 6f 20 6d 6f 72 65 0a 20 20 20 20 74 68 61 6e 20 74 68 65 | or.a.charge.no.more.....than.the |
f8ce0 | 20 63 6f 73 74 20 6f 66 20 70 65 72 66 6f 72 6d 69 6e 67 20 74 68 69 73 20 64 69 73 74 72 69 62 | .cost.of.performing.this.distrib |
f8d00 | 75 74 69 6f 6e 2e 0a 0a 20 20 20 20 64 29 20 49 66 20 64 69 73 74 72 69 62 75 74 69 6f 6e 20 6f | ution.......d).If.distribution.o |
f8d20 | 66 20 74 68 65 20 77 6f 72 6b 20 69 73 20 6d 61 64 65 20 62 79 20 6f 66 66 65 72 69 6e 67 20 61 | f.the.work.is.made.by.offering.a |
f8d40 | 63 63 65 73 73 20 74 6f 20 63 6f 70 79 0a 20 20 20 20 66 72 6f 6d 20 61 20 64 65 73 69 67 6e 61 | ccess.to.copy.....from.a.designa |
f8d60 | 74 65 64 20 70 6c 61 63 65 2c 20 6f 66 66 65 72 20 65 71 75 69 76 61 6c 65 6e 74 20 61 63 63 65 | ted.place,.offer.equivalent.acce |
f8d80 | 73 73 20 74 6f 20 63 6f 70 79 20 74 68 65 20 61 62 6f 76 65 0a 20 20 20 20 73 70 65 63 69 66 69 | ss.to.copy.the.above.....specifi |
f8da0 | 65 64 20 6d 61 74 65 72 69 61 6c 73 20 66 72 6f 6d 20 74 68 65 20 73 61 6d 65 20 70 6c 61 63 65 | ed.materials.from.the.same.place |
f8dc0 | 2e 0a 0a 20 20 20 20 65 29 20 56 65 72 69 66 79 20 74 68 61 74 20 74 68 65 20 75 73 65 72 20 68 | .......e).Verify.that.the.user.h |
f8de0 | 61 73 20 61 6c 72 65 61 64 79 20 72 65 63 65 69 76 65 64 20 61 20 63 6f 70 79 20 6f 66 20 74 68 | as.already.received.a.copy.of.th |
f8e00 | 65 73 65 0a 20 20 20 20 6d 61 74 65 72 69 61 6c 73 20 6f 72 20 74 68 61 74 20 79 6f 75 20 68 61 | ese.....materials.or.that.you.ha |
f8e20 | 76 65 20 61 6c 72 65 61 64 79 20 73 65 6e 74 20 74 68 69 73 20 75 73 65 72 20 61 20 63 6f 70 79 | ve.already.sent.this.user.a.copy |
f8e40 | 2e 0a 0a 3c 70 3e 20 20 46 6f 72 20 61 6e 20 65 78 65 63 75 74 61 62 6c 65 2c 20 74 68 65 20 72 | ...<p>..For.an.executable,.the.r |
f8e60 | 65 71 75 69 72 65 64 20 66 6f 72 6d 20 6f 66 20 74 68 65 20 22 77 6f 72 6b 20 74 68 61 74 20 75 | equired.form.of.the."work.that.u |
f8e80 | 73 65 73 20 74 68 65 0a 4c 69 62 72 61 72 79 22 20 6d 75 73 74 20 69 6e 63 6c 75 64 65 20 61 6e | ses.the.Library".must.include.an |
f8ea0 | 79 20 64 61 74 61 20 61 6e 64 20 75 74 69 6c 69 74 79 20 70 72 6f 67 72 61 6d 73 20 6e 65 65 64 | y.data.and.utility.programs.need |
f8ec0 | 65 64 20 66 6f 72 0a 72 65 70 72 6f 64 75 63 69 6e 67 20 74 68 65 20 65 78 65 63 75 74 61 62 6c | ed.for.reproducing.the.executabl |
f8ee0 | 65 20 66 72 6f 6d 20 69 74 2e 20 20 48 6f 77 65 76 65 72 2c 20 61 73 20 61 20 73 70 65 63 69 61 | e.from.it...However,.as.a.specia |
f8f00 | 6c 20 65 78 63 65 70 74 69 6f 6e 2c 0a 74 68 65 20 6d 61 74 65 72 69 61 6c 73 20 74 6f 20 62 65 | l.exception,.the.materials.to.be |
f8f20 | 20 64 69 73 74 72 69 62 75 74 65 64 20 6e 65 65 64 20 6e 6f 74 20 69 6e 63 6c 75 64 65 20 61 6e | .distributed.need.not.include.an |
f8f40 | 79 74 68 69 6e 67 20 74 68 61 74 20 69 73 0a 6e 6f 72 6d 61 6c 6c 79 20 64 69 73 74 72 69 62 75 | ything.that.is.normally.distribu |
f8f60 | 74 65 64 20 28 69 6e 20 65 69 74 68 65 72 20 73 6f 75 72 63 65 20 6f 72 20 62 69 6e 61 72 79 20 | ted.(in.either.source.or.binary. |
f8f80 | 66 6f 72 6d 29 20 77 69 74 68 20 74 68 65 20 6d 61 6a 6f 72 0a 63 6f 6d 70 6f 6e 65 6e 74 73 20 | form).with.the.major.components. |
f8fa0 | 28 63 6f 6d 70 69 6c 65 72 2c 20 6b 65 72 6e 65 6c 2c 20 61 6e 64 20 73 6f 20 6f 6e 29 20 6f 66 | (compiler,.kernel,.and.so.on).of |
f8fc0 | 20 74 68 65 20 6f 70 65 72 61 74 69 6e 67 20 73 79 73 74 65 6d 20 6f 6e 0a 77 68 69 63 68 20 74 | .the.operating.system.on.which.t |
f8fe0 | 68 65 20 65 78 65 63 75 74 61 62 6c 65 20 72 75 6e 73 2c 20 75 6e 6c 65 73 73 20 74 68 61 74 20 | he.executable.runs,.unless.that. |
f9000 | 63 6f 6d 70 6f 6e 65 6e 74 20 69 74 73 65 6c 66 20 61 63 63 6f 6d 70 61 6e 69 65 73 0a 74 68 65 | component.itself.accompanies.the |
f9020 | 20 65 78 65 63 75 74 61 62 6c 65 2e 0a 0a 3c 70 3e 20 20 49 74 20 6d 61 79 20 68 61 70 70 65 6e | .executable...<p>..It.may.happen |
f9040 | 20 74 68 61 74 20 74 68 69 73 20 72 65 71 75 69 72 65 6d 65 6e 74 20 63 6f 6e 74 72 61 64 69 63 | .that.this.requirement.contradic |
f9060 | 74 73 20 74 68 65 20 6c 69 63 65 6e 73 65 0a 72 65 73 74 72 69 63 74 69 6f 6e 73 20 6f 66 20 6f | ts.the.license.restrictions.of.o |
f9080 | 74 68 65 72 20 70 72 6f 70 72 69 65 74 61 72 79 20 6c 69 62 72 61 72 69 65 73 20 74 68 61 74 20 | ther.proprietary.libraries.that. |
f90a0 | 64 6f 20 6e 6f 74 20 6e 6f 72 6d 61 6c 6c 79 0a 61 63 63 6f 6d 70 61 6e 79 20 74 68 65 20 6f 70 | do.not.normally.accompany.the.op |
f90c0 | 65 72 61 74 69 6e 67 20 73 79 73 74 65 6d 2e 20 20 53 75 63 68 20 61 20 63 6f 6e 74 72 61 64 69 | erating.system...Such.a.contradi |
f90e0 | 63 74 69 6f 6e 20 6d 65 61 6e 73 20 79 6f 75 20 63 61 6e 6e 6f 74 0a 75 73 65 20 62 6f 74 68 20 | ction.means.you.cannot.use.both. |
f9100 | 74 68 65 6d 20 61 6e 64 20 74 68 65 20 4c 69 62 72 61 72 79 20 74 6f 67 65 74 68 65 72 20 69 6e | them.and.the.Library.together.in |
f9120 | 20 61 6e 20 65 78 65 63 75 74 61 62 6c 65 20 74 68 61 74 20 79 6f 75 0a 64 69 73 74 72 69 62 75 | .an.executable.that.you.distribu |
f9140 | 74 65 2e 0a 0a 3c 70 3e 3c 73 70 61 6e 20 63 6c 61 73 73 3d 22 67 6e 75 2d 6e 75 6d 62 65 72 22 | te...<p><span.class="gnu-number" |
f9160 | 3e 37 2e 20 3c 2f 73 70 61 6e 3e 0a 59 6f 75 20 6d 61 79 20 70 6c 61 63 65 20 6c 69 62 72 61 72 | >7..</span>.You.may.place.librar |
f9180 | 79 20 66 61 63 69 6c 69 74 69 65 73 20 74 68 61 74 20 61 72 65 20 61 20 77 6f 72 6b 20 62 61 73 | y.facilities.that.are.a.work.bas |
f91a0 | 65 64 20 6f 6e 20 74 68 65 0a 4c 69 62 72 61 72 79 20 73 69 64 65 2d 62 79 2d 73 69 64 65 20 69 | ed.on.the.Library.side-by-side.i |
f91c0 | 6e 20 61 20 73 69 6e 67 6c 65 20 6c 69 62 72 61 72 79 20 74 6f 67 65 74 68 65 72 20 77 69 74 68 | n.a.single.library.together.with |
f91e0 | 20 6f 74 68 65 72 20 6c 69 62 72 61 72 79 0a 66 61 63 69 6c 69 74 69 65 73 20 6e 6f 74 20 63 6f | .other.library.facilities.not.co |
f9200 | 76 65 72 65 64 20 62 79 20 74 68 69 73 20 4c 69 63 65 6e 73 65 2c 20 61 6e 64 20 64 69 73 74 72 | vered.by.this.License,.and.distr |
f9220 | 69 62 75 74 65 20 73 75 63 68 20 61 20 63 6f 6d 62 69 6e 65 64 0a 6c 69 62 72 61 72 79 2c 20 70 | ibute.such.a.combined.library,.p |
f9240 | 72 6f 76 69 64 65 64 20 74 68 61 74 20 74 68 65 20 73 65 70 61 72 61 74 65 20 64 69 73 74 72 69 | rovided.that.the.separate.distri |
f9260 | 62 75 74 69 6f 6e 20 6f 66 20 74 68 65 20 77 6f 72 6b 20 62 61 73 65 64 20 6f 6e 0a 74 68 65 20 | bution.of.the.work.based.on.the. |
f9280 | 4c 69 62 72 61 72 79 20 61 6e 64 20 6f 66 20 74 68 65 20 6f 74 68 65 72 20 6c 69 62 72 61 72 79 | Library.and.of.the.other.library |
f92a0 | 20 66 61 63 69 6c 69 74 69 65 73 20 69 73 20 6f 74 68 65 72 77 69 73 65 0a 70 65 72 6d 69 74 74 | .facilities.is.otherwise.permitt |
f92c0 | 65 64 2c 20 61 6e 64 20 70 72 6f 76 69 64 65 64 20 74 68 61 74 20 79 6f 75 20 64 6f 20 74 68 65 | ed,.and.provided.that.you.do.the |
f92e0 | 73 65 20 74 77 6f 20 74 68 69 6e 67 73 3a 0a 0a 20 20 20 20 61 29 20 41 63 63 6f 6d 70 61 6e 79 | se.two.things:......a).Accompany |
f9300 | 20 74 68 65 20 63 6f 6d 62 69 6e 65 64 20 6c 69 62 72 61 72 79 20 77 69 74 68 20 61 20 63 6f 70 | .the.combined.library.with.a.cop |
f9320 | 79 20 6f 66 20 74 68 65 20 73 61 6d 65 20 77 6f 72 6b 0a 20 20 20 20 62 61 73 65 64 20 6f 6e 20 | y.of.the.same.work.....based.on. |
f9340 | 74 68 65 20 4c 69 62 72 61 72 79 2c 20 75 6e 63 6f 6d 62 69 6e 65 64 20 77 69 74 68 20 61 6e 79 | the.Library,.uncombined.with.any |
f9360 | 20 6f 74 68 65 72 20 6c 69 62 72 61 72 79 0a 20 20 20 20 66 61 63 69 6c 69 74 69 65 73 2e 20 20 | .other.library.....facilities... |
f9380 | 54 68 69 73 20 6d 75 73 74 20 62 65 20 64 69 73 74 72 69 62 75 74 65 64 20 75 6e 64 65 72 20 74 | This.must.be.distributed.under.t |
f93a0 | 68 65 20 74 65 72 6d 73 20 6f 66 20 74 68 65 0a 20 20 20 20 53 65 63 74 69 6f 6e 73 20 61 62 6f | he.terms.of.the.....Sections.abo |
f93c0 | 76 65 2e 0a 0a 20 20 20 20 62 29 20 47 69 76 65 20 70 72 6f 6d 69 6e 65 6e 74 20 6e 6f 74 69 63 | ve.......b).Give.prominent.notic |
f93e0 | 65 20 77 69 74 68 20 74 68 65 20 63 6f 6d 62 69 6e 65 64 20 6c 69 62 72 61 72 79 20 6f 66 20 74 | e.with.the.combined.library.of.t |
f9400 | 68 65 20 66 61 63 74 0a 20 20 20 20 74 68 61 74 20 70 61 72 74 20 6f 66 20 69 74 20 69 73 20 61 | he.fact.....that.part.of.it.is.a |
f9420 | 20 77 6f 72 6b 20 62 61 73 65 64 20 6f 6e 20 74 68 65 20 4c 69 62 72 61 72 79 2c 20 61 6e 64 20 | .work.based.on.the.Library,.and. |
f9440 | 65 78 70 6c 61 69 6e 69 6e 67 0a 20 20 20 20 77 68 65 72 65 20 74 6f 20 66 69 6e 64 20 74 68 65 | explaining.....where.to.find.the |
f9460 | 20 61 63 63 6f 6d 70 61 6e 79 69 6e 67 20 75 6e 63 6f 6d 62 69 6e 65 64 20 66 6f 72 6d 20 6f 66 | .accompanying.uncombined.form.of |
f9480 | 20 74 68 65 20 73 61 6d 65 20 77 6f 72 6b 2e 0a 0a 3c 70 3e 3c 73 70 61 6e 20 63 6c 61 73 73 3d | .the.same.work...<p><span.class= |
f94a0 | 22 67 6e 75 2d 6e 75 6d 62 65 72 22 3e 38 2e 20 3c 2f 73 70 61 6e 3e 0a 59 6f 75 20 6d 61 79 20 | "gnu-number">8..</span>.You.may. |
f94c0 | 6e 6f 74 20 63 6f 70 79 2c 20 6d 6f 64 69 66 79 2c 20 73 75 62 6c 69 63 65 6e 73 65 2c 20 6c 69 | not.copy,.modify,.sublicense,.li |
f94e0 | 6e 6b 20 77 69 74 68 2c 20 6f 72 20 64 69 73 74 72 69 62 75 74 65 0a 74 68 65 20 4c 69 62 72 61 | nk.with,.or.distribute.the.Libra |
f9500 | 72 79 20 65 78 63 65 70 74 20 61 73 20 65 78 70 72 65 73 73 6c 79 20 70 72 6f 76 69 64 65 64 20 | ry.except.as.expressly.provided. |
f9520 | 75 6e 64 65 72 20 74 68 69 73 20 4c 69 63 65 6e 73 65 2e 20 20 41 6e 79 0a 61 74 74 65 6d 70 74 | under.this.License...Any.attempt |
f9540 | 20 6f 74 68 65 72 77 69 73 65 20 74 6f 20 63 6f 70 79 2c 20 6d 6f 64 69 66 79 2c 20 73 75 62 6c | .otherwise.to.copy,.modify,.subl |
f9560 | 69 63 65 6e 73 65 2c 20 6c 69 6e 6b 20 77 69 74 68 2c 20 6f 72 0a 64 69 73 74 72 69 62 75 74 65 | icense,.link.with,.or.distribute |
f9580 | 20 74 68 65 20 4c 69 62 72 61 72 79 20 69 73 20 76 6f 69 64 2c 20 61 6e 64 20 77 69 6c 6c 20 61 | .the.Library.is.void,.and.will.a |
f95a0 | 75 74 6f 6d 61 74 69 63 61 6c 6c 79 20 74 65 72 6d 69 6e 61 74 65 20 79 6f 75 72 0a 72 69 67 68 | utomatically.terminate.your.righ |
f95c0 | 74 73 20 75 6e 64 65 72 20 74 68 69 73 20 4c 69 63 65 6e 73 65 2e 20 20 48 6f 77 65 76 65 72 2c | ts.under.this.License...However, |
f95e0 | 20 70 61 72 74 69 65 73 20 77 68 6f 20 68 61 76 65 20 72 65 63 65 69 76 65 64 20 63 6f 70 69 65 | .parties.who.have.received.copie |
f9600 | 73 2c 0a 6f 72 20 72 69 67 68 74 73 2c 20 66 72 6f 6d 20 79 6f 75 20 75 6e 64 65 72 20 74 68 69 | s,.or.rights,.from.you.under.thi |
f9620 | 73 20 4c 69 63 65 6e 73 65 20 77 69 6c 6c 20 6e 6f 74 20 68 61 76 65 20 74 68 65 69 72 20 6c 69 | s.License.will.not.have.their.li |
f9640 | 63 65 6e 73 65 73 0a 74 65 72 6d 69 6e 61 74 65 64 20 73 6f 20 6c 6f 6e 67 20 61 73 20 73 75 63 | censes.terminated.so.long.as.suc |
f9660 | 68 20 70 61 72 74 69 65 73 20 72 65 6d 61 69 6e 20 69 6e 20 66 75 6c 6c 20 63 6f 6d 70 6c 69 61 | h.parties.remain.in.full.complia |
f9680 | 6e 63 65 2e 0a 0a 3c 70 3e 3c 73 70 61 6e 20 63 6c 61 73 73 3d 22 67 6e 75 2d 6e 75 6d 62 65 72 | nce...<p><span.class="gnu-number |
f96a0 | 22 3e 39 2e 20 3c 2f 73 70 61 6e 3e 0a 59 6f 75 20 61 72 65 20 6e 6f 74 20 72 65 71 75 69 72 65 | ">9..</span>.You.are.not.require |
f96c0 | 64 20 74 6f 20 61 63 63 65 70 74 20 74 68 69 73 20 4c 69 63 65 6e 73 65 2c 20 73 69 6e 63 65 20 | d.to.accept.this.License,.since. |
f96e0 | 79 6f 75 20 68 61 76 65 20 6e 6f 74 0a 73 69 67 6e 65 64 20 69 74 2e 20 20 48 6f 77 65 76 65 72 | you.have.not.signed.it...However |
f9700 | 2c 20 6e 6f 74 68 69 6e 67 20 65 6c 73 65 20 67 72 61 6e 74 73 20 79 6f 75 20 70 65 72 6d 69 73 | ,.nothing.else.grants.you.permis |
f9720 | 73 69 6f 6e 20 74 6f 20 6d 6f 64 69 66 79 20 6f 72 0a 64 69 73 74 72 69 62 75 74 65 20 74 68 65 | sion.to.modify.or.distribute.the |
f9740 | 20 4c 69 62 72 61 72 79 20 6f 72 20 69 74 73 20 64 65 72 69 76 61 74 69 76 65 20 77 6f 72 6b 73 | .Library.or.its.derivative.works |
f9760 | 2e 20 20 54 68 65 73 65 20 61 63 74 69 6f 6e 73 20 61 72 65 0a 70 72 6f 68 69 62 69 74 65 64 20 | ...These.actions.are.prohibited. |
f9780 | 62 79 20 6c 61 77 20 69 66 20 79 6f 75 20 64 6f 20 6e 6f 74 20 61 63 63 65 70 74 20 74 68 69 73 | by.law.if.you.do.not.accept.this |
f97a0 | 20 4c 69 63 65 6e 73 65 2e 20 20 54 68 65 72 65 66 6f 72 65 2c 20 62 79 0a 6d 6f 64 69 66 79 69 | .License...Therefore,.by.modifyi |
f97c0 | 6e 67 20 6f 72 20 64 69 73 74 72 69 62 75 74 69 6e 67 20 74 68 65 20 4c 69 62 72 61 72 79 20 28 | ng.or.distributing.the.Library.( |
f97e0 | 6f 72 20 61 6e 79 20 77 6f 72 6b 20 62 61 73 65 64 20 6f 6e 20 74 68 65 0a 4c 69 62 72 61 72 79 | or.any.work.based.on.the.Library |
f9800 | 29 2c 20 79 6f 75 20 69 6e 64 69 63 61 74 65 20 79 6f 75 72 20 61 63 63 65 70 74 61 6e 63 65 20 | ),.you.indicate.your.acceptance. |
f9820 | 6f 66 20 74 68 69 73 20 4c 69 63 65 6e 73 65 20 74 6f 20 64 6f 20 73 6f 2c 20 61 6e 64 0a 61 6c | of.this.License.to.do.so,.and.al |
f9840 | 6c 20 69 74 73 20 74 65 72 6d 73 20 61 6e 64 20 63 6f 6e 64 69 74 69 6f 6e 73 20 66 6f 72 20 63 | l.its.terms.and.conditions.for.c |
f9860 | 6f 70 79 69 6e 67 2c 20 64 69 73 74 72 69 62 75 74 69 6e 67 20 6f 72 20 6d 6f 64 69 66 79 69 6e | opying,.distributing.or.modifyin |
f9880 | 67 0a 74 68 65 20 4c 69 62 72 61 72 79 20 6f 72 20 77 6f 72 6b 73 20 62 61 73 65 64 20 6f 6e 20 | g.the.Library.or.works.based.on. |
f98a0 | 69 74 2e 0a 0a 3c 70 3e 3c 73 70 61 6e 20 63 6c 61 73 73 3d 22 67 6e 75 2d 6e 75 6d 62 65 72 22 | it...<p><span.class="gnu-number" |
f98c0 | 3e 31 30 2e 20 3c 2f 73 70 61 6e 3e 0a 45 61 63 68 20 74 69 6d 65 20 79 6f 75 20 72 65 64 69 73 | >10..</span>.Each.time.you.redis |
f98e0 | 74 72 69 62 75 74 65 20 74 68 65 20 4c 69 62 72 61 72 79 20 28 6f 72 20 61 6e 79 20 77 6f 72 6b | tribute.the.Library.(or.any.work |
f9900 | 20 62 61 73 65 64 20 6f 6e 20 74 68 65 0a 4c 69 62 72 61 72 79 29 2c 20 74 68 65 20 72 65 63 69 | .based.on.the.Library),.the.reci |
f9920 | 70 69 65 6e 74 20 61 75 74 6f 6d 61 74 69 63 61 6c 6c 79 20 72 65 63 65 69 76 65 73 20 61 20 6c | pient.automatically.receives.a.l |
f9940 | 69 63 65 6e 73 65 20 66 72 6f 6d 20 74 68 65 0a 6f 72 69 67 69 6e 61 6c 20 6c 69 63 65 6e 73 6f | icense.from.the.original.licenso |
f9960 | 72 20 74 6f 20 63 6f 70 79 2c 20 64 69 73 74 72 69 62 75 74 65 2c 20 6c 69 6e 6b 20 77 69 74 68 | r.to.copy,.distribute,.link.with |
f9980 | 20 6f 72 20 6d 6f 64 69 66 79 20 74 68 65 20 4c 69 62 72 61 72 79 0a 73 75 62 6a 65 63 74 20 74 | .or.modify.the.Library.subject.t |
f99a0 | 6f 20 74 68 65 73 65 20 74 65 72 6d 73 20 61 6e 64 20 63 6f 6e 64 69 74 69 6f 6e 73 2e 20 20 59 | o.these.terms.and.conditions...Y |
f99c0 | 6f 75 20 6d 61 79 20 6e 6f 74 20 69 6d 70 6f 73 65 20 61 6e 79 20 66 75 72 74 68 65 72 0a 72 65 | ou.may.not.impose.any.further.re |
f99e0 | 73 74 72 69 63 74 69 6f 6e 73 20 6f 6e 20 74 68 65 20 72 65 63 69 70 69 65 6e 74 73 27 20 65 78 | strictions.on.the.recipients'.ex |
f9a00 | 65 72 63 69 73 65 20 6f 66 20 74 68 65 20 72 69 67 68 74 73 20 67 72 61 6e 74 65 64 20 68 65 72 | ercise.of.the.rights.granted.her |
f9a20 | 65 69 6e 2e 0a 59 6f 75 20 61 72 65 20 6e 6f 74 20 72 65 73 70 6f 6e 73 69 62 6c 65 20 66 6f 72 | ein..You.are.not.responsible.for |
f9a40 | 20 65 6e 66 6f 72 63 69 6e 67 20 63 6f 6d 70 6c 69 61 6e 63 65 20 62 79 20 74 68 69 72 64 20 70 | .enforcing.compliance.by.third.p |
f9a60 | 61 72 74 69 65 73 20 77 69 74 68 0a 74 68 69 73 20 4c 69 63 65 6e 73 65 2e 0a 0a 3c 70 3e 3c 73 | arties.with.this.License...<p><s |
f9a80 | 70 61 6e 20 63 6c 61 73 73 3d 22 67 6e 75 2d 6e 75 6d 62 65 72 22 3e 31 31 2e 20 3c 2f 73 70 61 | pan.class="gnu-number">11..</spa |
f9aa0 | 6e 3e 0a 49 66 2c 20 61 73 20 61 20 63 6f 6e 73 65 71 75 65 6e 63 65 20 6f 66 20 61 20 63 6f 75 | n>.If,.as.a.consequence.of.a.cou |
f9ac0 | 72 74 20 6a 75 64 67 6d 65 6e 74 20 6f 72 20 61 6c 6c 65 67 61 74 69 6f 6e 20 6f 66 20 70 61 74 | rt.judgment.or.allegation.of.pat |
f9ae0 | 65 6e 74 0a 69 6e 66 72 69 6e 67 65 6d 65 6e 74 20 6f 72 20 66 6f 72 20 61 6e 79 20 6f 74 68 65 | ent.infringement.or.for.any.othe |
f9b00 | 72 20 72 65 61 73 6f 6e 20 28 6e 6f 74 20 6c 69 6d 69 74 65 64 20 74 6f 20 70 61 74 65 6e 74 20 | r.reason.(not.limited.to.patent. |
f9b20 | 69 73 73 75 65 73 29 2c 0a 63 6f 6e 64 69 74 69 6f 6e 73 20 61 72 65 20 69 6d 70 6f 73 65 64 20 | issues),.conditions.are.imposed. |
f9b40 | 6f 6e 20 79 6f 75 20 28 77 68 65 74 68 65 72 20 62 79 20 63 6f 75 72 74 20 6f 72 64 65 72 2c 20 | on.you.(whether.by.court.order,. |
f9b60 | 61 67 72 65 65 6d 65 6e 74 20 6f 72 0a 6f 74 68 65 72 77 69 73 65 29 20 74 68 61 74 20 63 6f 6e | agreement.or.otherwise).that.con |
f9b80 | 74 72 61 64 69 63 74 20 74 68 65 20 63 6f 6e 64 69 74 69 6f 6e 73 20 6f 66 20 74 68 69 73 20 4c | tradict.the.conditions.of.this.L |
f9ba0 | 69 63 65 6e 73 65 2c 20 74 68 65 79 20 64 6f 20 6e 6f 74 0a 65 78 63 75 73 65 20 79 6f 75 20 66 | icense,.they.do.not.excuse.you.f |
f9bc0 | 72 6f 6d 20 74 68 65 20 63 6f 6e 64 69 74 69 6f 6e 73 20 6f 66 20 74 68 69 73 20 4c 69 63 65 6e | rom.the.conditions.of.this.Licen |
f9be0 | 73 65 2e 20 20 49 66 20 79 6f 75 20 63 61 6e 6e 6f 74 0a 64 69 73 74 72 69 62 75 74 65 20 73 6f | se...If.you.cannot.distribute.so |
f9c00 | 20 61 73 20 74 6f 20 73 61 74 69 73 66 79 20 73 69 6d 75 6c 74 61 6e 65 6f 75 73 6c 79 20 79 6f | .as.to.satisfy.simultaneously.yo |
f9c20 | 75 72 20 6f 62 6c 69 67 61 74 69 6f 6e 73 20 75 6e 64 65 72 20 74 68 69 73 0a 4c 69 63 65 6e 73 | ur.obligations.under.this.Licens |
f9c40 | 65 20 61 6e 64 20 61 6e 79 20 6f 74 68 65 72 20 70 65 72 74 69 6e 65 6e 74 20 6f 62 6c 69 67 61 | e.and.any.other.pertinent.obliga |
f9c60 | 74 69 6f 6e 73 2c 20 74 68 65 6e 20 61 73 20 61 20 63 6f 6e 73 65 71 75 65 6e 63 65 20 79 6f 75 | tions,.then.as.a.consequence.you |
f9c80 | 0a 6d 61 79 20 6e 6f 74 20 64 69 73 74 72 69 62 75 74 65 20 74 68 65 20 4c 69 62 72 61 72 79 20 | .may.not.distribute.the.Library. |
f9ca0 | 61 74 20 61 6c 6c 2e 20 20 46 6f 72 20 65 78 61 6d 70 6c 65 2c 20 69 66 20 61 20 70 61 74 65 6e | at.all...For.example,.if.a.paten |
f9cc0 | 74 0a 6c 69 63 65 6e 73 65 20 77 6f 75 6c 64 20 6e 6f 74 20 70 65 72 6d 69 74 20 72 6f 79 61 6c | t.license.would.not.permit.royal |
f9ce0 | 74 79 2d 66 72 65 65 20 72 65 64 69 73 74 72 69 62 75 74 69 6f 6e 20 6f 66 20 74 68 65 20 4c 69 | ty-free.redistribution.of.the.Li |
f9d00 | 62 72 61 72 79 20 62 79 0a 61 6c 6c 20 74 68 6f 73 65 20 77 68 6f 20 72 65 63 65 69 76 65 20 63 | brary.by.all.those.who.receive.c |
f9d20 | 6f 70 69 65 73 20 64 69 72 65 63 74 6c 79 20 6f 72 20 69 6e 64 69 72 65 63 74 6c 79 20 74 68 72 | opies.directly.or.indirectly.thr |
f9d40 | 6f 75 67 68 20 79 6f 75 2c 20 74 68 65 6e 0a 74 68 65 20 6f 6e 6c 79 20 77 61 79 20 79 6f 75 20 | ough.you,.then.the.only.way.you. |
f9d60 | 63 6f 75 6c 64 20 73 61 74 69 73 66 79 20 62 6f 74 68 20 69 74 20 61 6e 64 20 74 68 69 73 20 4c | could.satisfy.both.it.and.this.L |
f9d80 | 69 63 65 6e 73 65 20 77 6f 75 6c 64 20 62 65 20 74 6f 0a 72 65 66 72 61 69 6e 20 65 6e 74 69 72 | icense.would.be.to.refrain.entir |
f9da0 | 65 6c 79 20 66 72 6f 6d 20 64 69 73 74 72 69 62 75 74 69 6f 6e 20 6f 66 20 74 68 65 20 4c 69 62 | ely.from.distribution.of.the.Lib |
f9dc0 | 72 61 72 79 2e 0a 0a 3c 70 3e 49 66 20 61 6e 79 20 70 6f 72 74 69 6f 6e 20 6f 66 20 74 68 69 73 | rary...<p>If.any.portion.of.this |
f9de0 | 20 73 65 63 74 69 6f 6e 20 69 73 20 68 65 6c 64 20 69 6e 76 61 6c 69 64 20 6f 72 20 75 6e 65 6e | .section.is.held.invalid.or.unen |
f9e00 | 66 6f 72 63 65 61 62 6c 65 20 75 6e 64 65 72 20 61 6e 79 0a 70 61 72 74 69 63 75 6c 61 72 20 63 | forceable.under.any.particular.c |
f9e20 | 69 72 63 75 6d 73 74 61 6e 63 65 2c 20 74 68 65 20 62 61 6c 61 6e 63 65 20 6f 66 20 74 68 65 20 | ircumstance,.the.balance.of.the. |
f9e40 | 73 65 63 74 69 6f 6e 20 69 73 20 69 6e 74 65 6e 64 65 64 20 74 6f 20 61 70 70 6c 79 2c 0a 61 6e | section.is.intended.to.apply,.an |
f9e60 | 64 20 74 68 65 20 73 65 63 74 69 6f 6e 20 61 73 20 61 20 77 68 6f 6c 65 20 69 73 20 69 6e 74 65 | d.the.section.as.a.whole.is.inte |
f9e80 | 6e 64 65 64 20 74 6f 20 61 70 70 6c 79 20 69 6e 20 6f 74 68 65 72 20 63 69 72 63 75 6d 73 74 61 | nded.to.apply.in.other.circumsta |
f9ea0 | 6e 63 65 73 2e 0a 0a 3c 70 3e 49 74 20 69 73 20 6e 6f 74 20 74 68 65 20 70 75 72 70 6f 73 65 20 | nces...<p>It.is.not.the.purpose. |
f9ec0 | 6f 66 20 74 68 69 73 20 73 65 63 74 69 6f 6e 20 74 6f 20 69 6e 64 75 63 65 20 79 6f 75 20 74 6f | of.this.section.to.induce.you.to |
f9ee0 | 20 69 6e 66 72 69 6e 67 65 20 61 6e 79 0a 70 61 74 65 6e 74 73 20 6f 72 20 6f 74 68 65 72 20 70 | .infringe.any.patents.or.other.p |
f9f00 | 72 6f 70 65 72 74 79 20 72 69 67 68 74 20 63 6c 61 69 6d 73 20 6f 72 20 74 6f 20 63 6f 6e 74 65 | roperty.right.claims.or.to.conte |
f9f20 | 73 74 20 76 61 6c 69 64 69 74 79 20 6f 66 20 61 6e 79 0a 73 75 63 68 20 63 6c 61 69 6d 73 3b 20 | st.validity.of.any.such.claims;. |
f9f40 | 74 68 69 73 20 73 65 63 74 69 6f 6e 20 68 61 73 20 74 68 65 20 73 6f 6c 65 20 70 75 72 70 6f 73 | this.section.has.the.sole.purpos |
f9f60 | 65 20 6f 66 20 70 72 6f 74 65 63 74 69 6e 67 20 74 68 65 0a 69 6e 74 65 67 72 69 74 79 20 6f 66 | e.of.protecting.the.integrity.of |
f9f80 | 20 74 68 65 20 66 72 65 65 20 73 6f 66 74 77 61 72 65 20 64 69 73 74 72 69 62 75 74 69 6f 6e 20 | .the.free.software.distribution. |
f9fa0 | 73 79 73 74 65 6d 20 77 68 69 63 68 20 69 73 0a 69 6d 70 6c 65 6d 65 6e 74 65 64 20 62 79 20 70 | system.which.is.implemented.by.p |
f9fc0 | 75 62 6c 69 63 20 6c 69 63 65 6e 73 65 20 70 72 61 63 74 69 63 65 73 2e 20 20 4d 61 6e 79 20 70 | ublic.license.practices...Many.p |
f9fe0 | 65 6f 70 6c 65 20 68 61 76 65 20 6d 61 64 65 0a 67 65 6e 65 72 6f 75 73 20 63 6f 6e 74 72 69 62 | eople.have.made.generous.contrib |
fa000 | 75 74 69 6f 6e 73 20 74 6f 20 74 68 65 20 77 69 64 65 20 72 61 6e 67 65 20 6f 66 20 73 6f 66 74 | utions.to.the.wide.range.of.soft |
fa020 | 77 61 72 65 20 64 69 73 74 72 69 62 75 74 65 64 0a 74 68 72 6f 75 67 68 20 74 68 61 74 20 73 79 | ware.distributed.through.that.sy |
fa040 | 73 74 65 6d 20 69 6e 20 72 65 6c 69 61 6e 63 65 20 6f 6e 20 63 6f 6e 73 69 73 74 65 6e 74 20 61 | stem.in.reliance.on.consistent.a |
fa060 | 70 70 6c 69 63 61 74 69 6f 6e 20 6f 66 20 74 68 61 74 0a 73 79 73 74 65 6d 3b 20 69 74 20 69 73 | pplication.of.that.system;.it.is |
fa080 | 20 75 70 20 74 6f 20 74 68 65 20 61 75 74 68 6f 72 2f 64 6f 6e 6f 72 20 74 6f 20 64 65 63 69 64 | .up.to.the.author/donor.to.decid |
fa0a0 | 65 20 69 66 20 68 65 20 6f 72 20 73 68 65 20 69 73 20 77 69 6c 6c 69 6e 67 0a 74 6f 20 64 69 73 | e.if.he.or.she.is.willing.to.dis |
fa0c0 | 74 72 69 62 75 74 65 20 73 6f 66 74 77 61 72 65 20 74 68 72 6f 75 67 68 20 61 6e 79 20 6f 74 68 | tribute.software.through.any.oth |
fa0e0 | 65 72 20 73 79 73 74 65 6d 20 61 6e 64 20 61 20 6c 69 63 65 6e 73 65 65 20 63 61 6e 6e 6f 74 0a | er.system.and.a.licensee.cannot. |
fa100 | 69 6d 70 6f 73 65 20 74 68 61 74 20 63 68 6f 69 63 65 2e 0a 0a 3c 70 3e 54 68 69 73 20 73 65 63 | impose.that.choice...<p>This.sec |
fa120 | 74 69 6f 6e 20 69 73 20 69 6e 74 65 6e 64 65 64 20 74 6f 20 6d 61 6b 65 20 74 68 6f 72 6f 75 67 | tion.is.intended.to.make.thoroug |
fa140 | 68 6c 79 20 63 6c 65 61 72 20 77 68 61 74 20 69 73 20 62 65 6c 69 65 76 65 64 20 74 6f 0a 62 65 | hly.clear.what.is.believed.to.be |
fa160 | 20 61 20 63 6f 6e 73 65 71 75 65 6e 63 65 20 6f 66 20 74 68 65 20 72 65 73 74 20 6f 66 20 74 68 | .a.consequence.of.the.rest.of.th |
fa180 | 69 73 20 4c 69 63 65 6e 73 65 2e 0a 0a 3c 70 3e 3c 73 70 61 6e 20 63 6c 61 73 73 3d 22 67 6e 75 | is.License...<p><span.class="gnu |
fa1a0 | 2d 6e 75 6d 62 65 72 22 3e 31 32 2e 20 3c 2f 73 70 61 6e 3e 0a 49 66 20 74 68 65 20 64 69 73 74 | -number">12..</span>.If.the.dist |
fa1c0 | 72 69 62 75 74 69 6f 6e 20 61 6e 64 2f 6f 72 20 75 73 65 20 6f 66 20 74 68 65 20 4c 69 62 72 61 | ribution.and/or.use.of.the.Libra |
fa1e0 | 72 79 20 69 73 20 72 65 73 74 72 69 63 74 65 64 20 69 6e 0a 63 65 72 74 61 69 6e 20 63 6f 75 6e | ry.is.restricted.in.certain.coun |
fa200 | 74 72 69 65 73 20 65 69 74 68 65 72 20 62 79 20 70 61 74 65 6e 74 73 20 6f 72 20 62 79 20 63 6f | tries.either.by.patents.or.by.co |
fa220 | 70 79 72 69 67 68 74 65 64 20 69 6e 74 65 72 66 61 63 65 73 2c 20 74 68 65 0a 6f 72 69 67 69 6e | pyrighted.interfaces,.the.origin |
fa240 | 61 6c 20 63 6f 70 79 72 69 67 68 74 20 68 6f 6c 64 65 72 20 77 68 6f 20 70 6c 61 63 65 73 20 74 | al.copyright.holder.who.places.t |
fa260 | 68 65 20 4c 69 62 72 61 72 79 20 75 6e 64 65 72 20 74 68 69 73 20 4c 69 63 65 6e 73 65 20 6d 61 | he.Library.under.this.License.ma |
fa280 | 79 20 61 64 64 0a 61 6e 20 65 78 70 6c 69 63 69 74 20 67 65 6f 67 72 61 70 68 69 63 61 6c 20 64 | y.add.an.explicit.geographical.d |
fa2a0 | 69 73 74 72 69 62 75 74 69 6f 6e 20 6c 69 6d 69 74 61 74 69 6f 6e 20 65 78 63 6c 75 64 69 6e 67 | istribution.limitation.excluding |
fa2c0 | 20 74 68 6f 73 65 20 63 6f 75 6e 74 72 69 65 73 2c 0a 73 6f 20 74 68 61 74 20 64 69 73 74 72 69 | .those.countries,.so.that.distri |
fa2e0 | 62 75 74 69 6f 6e 20 69 73 20 70 65 72 6d 69 74 74 65 64 20 6f 6e 6c 79 20 69 6e 20 6f 72 20 61 | bution.is.permitted.only.in.or.a |
fa300 | 6d 6f 6e 67 20 63 6f 75 6e 74 72 69 65 73 20 6e 6f 74 20 74 68 75 73 0a 65 78 63 6c 75 64 65 64 | mong.countries.not.thus.excluded |
fa320 | 2e 20 20 49 6e 20 73 75 63 68 20 63 61 73 65 2c 20 74 68 69 73 20 4c 69 63 65 6e 73 65 20 69 6e | ...In.such.case,.this.License.in |
fa340 | 63 6f 72 70 6f 72 61 74 65 73 20 74 68 65 20 6c 69 6d 69 74 61 74 69 6f 6e 20 61 73 20 69 66 0a | corporates.the.limitation.as.if. |
fa360 | 77 72 69 74 74 65 6e 20 69 6e 20 74 68 65 20 62 6f 64 79 20 6f 66 20 74 68 69 73 20 4c 69 63 65 | written.in.the.body.of.this.Lice |
fa380 | 6e 73 65 2e 0a 0a 3c 70 3e 3c 73 70 61 6e 20 63 6c 61 73 73 3d 22 67 6e 75 2d 6e 75 6d 62 65 72 | nse...<p><span.class="gnu-number |
fa3a0 | 22 3e 31 33 2e 20 3c 2f 73 70 61 6e 3e 0a 54 68 65 20 46 72 65 65 20 53 6f 66 74 77 61 72 65 20 | ">13..</span>.The.Free.Software. |
fa3c0 | 46 6f 75 6e 64 61 74 69 6f 6e 20 6d 61 79 20 70 75 62 6c 69 73 68 20 72 65 76 69 73 65 64 20 61 | Foundation.may.publish.revised.a |
fa3e0 | 6e 64 2f 6f 72 20 6e 65 77 0a 76 65 72 73 69 6f 6e 73 20 6f 66 20 74 68 65 20 4c 65 73 73 65 72 | nd/or.new.versions.of.the.Lesser |
fa400 | 20 47 65 6e 65 72 61 6c 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 20 66 72 6f 6d 20 74 69 6d | .General.Public.License.from.tim |
fa420 | 65 20 74 6f 20 74 69 6d 65 2e 0a 53 75 63 68 20 6e 65 77 20 76 65 72 73 69 6f 6e 73 20 77 69 6c | e.to.time..Such.new.versions.wil |
fa440 | 6c 20 62 65 20 73 69 6d 69 6c 61 72 20 69 6e 20 73 70 69 72 69 74 20 74 6f 20 74 68 65 20 70 72 | l.be.similar.in.spirit.to.the.pr |
fa460 | 65 73 65 6e 74 20 76 65 72 73 69 6f 6e 2c 0a 62 75 74 20 6d 61 79 20 64 69 66 66 65 72 20 69 6e | esent.version,.but.may.differ.in |
fa480 | 20 64 65 74 61 69 6c 20 74 6f 20 61 64 64 72 65 73 73 20 6e 65 77 20 70 72 6f 62 6c 65 6d 73 20 | .detail.to.address.new.problems. |
fa4a0 | 6f 72 20 63 6f 6e 63 65 72 6e 73 2e 0a 0a 3c 70 3e 45 61 63 68 20 76 65 72 73 69 6f 6e 20 69 73 | or.concerns...<p>Each.version.is |
fa4c0 | 20 67 69 76 65 6e 20 61 20 64 69 73 74 69 6e 67 75 69 73 68 69 6e 67 20 76 65 72 73 69 6f 6e 20 | .given.a.distinguishing.version. |
fa4e0 | 6e 75 6d 62 65 72 2e 20 20 49 66 20 74 68 65 20 4c 69 62 72 61 72 79 0a 73 70 65 63 69 66 69 65 | number...If.the.Library.specifie |
fa500 | 73 20 61 20 76 65 72 73 69 6f 6e 20 6e 75 6d 62 65 72 20 6f 66 20 74 68 69 73 20 4c 69 63 65 6e | s.a.version.number.of.this.Licen |
fa520 | 73 65 20 77 68 69 63 68 20 61 70 70 6c 69 65 73 20 74 6f 20 69 74 20 61 6e 64 0a 22 61 6e 79 20 | se.which.applies.to.it.and."any. |
fa540 | 6c 61 74 65 72 20 76 65 72 73 69 6f 6e 22 2c 20 79 6f 75 20 68 61 76 65 20 74 68 65 20 6f 70 74 | later.version",.you.have.the.opt |
fa560 | 69 6f 6e 20 6f 66 20 66 6f 6c 6c 6f 77 69 6e 67 20 74 68 65 20 74 65 72 6d 73 20 61 6e 64 0a 63 | ion.of.following.the.terms.and.c |
fa580 | 6f 6e 64 69 74 69 6f 6e 73 20 65 69 74 68 65 72 20 6f 66 20 74 68 61 74 20 76 65 72 73 69 6f 6e | onditions.either.of.that.version |
fa5a0 | 20 6f 72 20 6f 66 20 61 6e 79 20 6c 61 74 65 72 20 76 65 72 73 69 6f 6e 20 70 75 62 6c 69 73 68 | .or.of.any.later.version.publish |
fa5c0 | 65 64 20 62 79 0a 74 68 65 20 46 72 65 65 20 53 6f 66 74 77 61 72 65 20 46 6f 75 6e 64 61 74 69 | ed.by.the.Free.Software.Foundati |
fa5e0 | 6f 6e 2e 20 20 49 66 20 74 68 65 20 4c 69 62 72 61 72 79 20 64 6f 65 73 20 6e 6f 74 20 73 70 65 | on...If.the.Library.does.not.spe |
fa600 | 63 69 66 79 20 61 0a 6c 69 63 65 6e 73 65 20 76 65 72 73 69 6f 6e 20 6e 75 6d 62 65 72 2c 20 79 | cify.a.license.version.number,.y |
fa620 | 6f 75 20 6d 61 79 20 63 68 6f 6f 73 65 20 61 6e 79 20 76 65 72 73 69 6f 6e 20 65 76 65 72 20 70 | ou.may.choose.any.version.ever.p |
fa640 | 75 62 6c 69 73 68 65 64 20 62 79 0a 74 68 65 20 46 72 65 65 20 53 6f 66 74 77 61 72 65 20 46 6f | ublished.by.the.Free.Software.Fo |
fa660 | 75 6e 64 61 74 69 6f 6e 2e 0a 0a 3c 70 3e 3c 73 70 61 6e 20 63 6c 61 73 73 3d 22 67 6e 75 2d 6e | undation...<p><span.class="gnu-n |
fa680 | 75 6d 62 65 72 22 3e 31 34 2e 20 3c 2f 73 70 61 6e 3e 0a 49 66 20 79 6f 75 20 77 69 73 68 20 74 | umber">14..</span>.If.you.wish.t |
fa6a0 | 6f 20 69 6e 63 6f 72 70 6f 72 61 74 65 20 70 61 72 74 73 20 6f 66 20 74 68 65 20 4c 69 62 72 61 | o.incorporate.parts.of.the.Libra |
fa6c0 | 72 79 20 69 6e 74 6f 20 6f 74 68 65 72 20 66 72 65 65 0a 70 72 6f 67 72 61 6d 73 20 77 68 6f 73 | ry.into.other.free.programs.whos |
fa6e0 | 65 20 64 69 73 74 72 69 62 75 74 69 6f 6e 20 63 6f 6e 64 69 74 69 6f 6e 73 20 61 72 65 20 69 6e | e.distribution.conditions.are.in |
fa700 | 63 6f 6d 70 61 74 69 62 6c 65 20 77 69 74 68 20 74 68 65 73 65 2c 0a 77 72 69 74 65 20 74 6f 20 | compatible.with.these,.write.to. |
fa720 | 74 68 65 20 61 75 74 68 6f 72 20 74 6f 20 61 73 6b 20 66 6f 72 20 70 65 72 6d 69 73 73 69 6f 6e | the.author.to.ask.for.permission |
fa740 | 2e 20 20 46 6f 72 20 73 6f 66 74 77 61 72 65 20 77 68 69 63 68 20 69 73 0a 63 6f 70 79 72 69 67 | ...For.software.which.is.copyrig |
fa760 | 68 74 65 64 20 62 79 20 74 68 65 20 46 72 65 65 20 53 6f 66 74 77 61 72 65 20 46 6f 75 6e 64 61 | hted.by.the.Free.Software.Founda |
fa780 | 74 69 6f 6e 2c 20 77 72 69 74 65 20 74 6f 20 74 68 65 20 46 72 65 65 0a 53 6f 66 74 77 61 72 65 | tion,.write.to.the.Free.Software |
fa7a0 | 20 46 6f 75 6e 64 61 74 69 6f 6e 3b 20 77 65 20 73 6f 6d 65 74 69 6d 65 73 20 6d 61 6b 65 20 65 | .Foundation;.we.sometimes.make.e |
fa7c0 | 78 63 65 70 74 69 6f 6e 73 20 66 6f 72 20 74 68 69 73 2e 20 20 4f 75 72 0a 64 65 63 69 73 69 6f | xceptions.for.this...Our.decisio |
fa7e0 | 6e 20 77 69 6c 6c 20 62 65 20 67 75 69 64 65 64 20 62 79 20 74 68 65 20 74 77 6f 20 67 6f 61 6c | n.will.be.guided.by.the.two.goal |
fa800 | 73 20 6f 66 20 70 72 65 73 65 72 76 69 6e 67 20 74 68 65 20 66 72 65 65 20 73 74 61 74 75 73 0a | s.of.preserving.the.free.status. |
fa820 | 6f 66 20 61 6c 6c 20 64 65 72 69 76 61 74 69 76 65 73 20 6f 66 20 6f 75 72 20 66 72 65 65 20 73 | of.all.derivatives.of.our.free.s |
fa840 | 6f 66 74 77 61 72 65 20 61 6e 64 20 6f 66 20 70 72 6f 6d 6f 74 69 6e 67 20 74 68 65 20 73 68 61 | oftware.and.of.promoting.the.sha |
fa860 | 72 69 6e 67 0a 61 6e 64 20 72 65 75 73 65 20 6f 66 20 73 6f 66 74 77 61 72 65 20 67 65 6e 65 72 | ring.and.reuse.of.software.gener |
fa880 | 61 6c 6c 79 2e 0a 0a 09 09 09 20 20 20 20 3c 68 32 3e 4e 4f 20 57 41 52 52 41 4e 54 59 3c 2f 68 | ally..........<h2>NO.WARRANTY</h |
fa8a0 | 32 3e 0a 0a 3c 70 3e 3c 73 70 61 6e 20 63 6c 61 73 73 3d 22 67 6e 75 2d 6e 75 6d 62 65 72 22 3e | 2>..<p><span.class="gnu-number"> |
fa8c0 | 31 35 2e 20 3c 2f 73 70 61 6e 3e 0a 42 45 43 41 55 53 45 20 54 48 45 20 4c 49 42 52 41 52 59 20 | 15..</span>.BECAUSE.THE.LIBRARY. |
fa8e0 | 49 53 20 4c 49 43 45 4e 53 45 44 20 46 52 45 45 20 4f 46 20 43 48 41 52 47 45 2c 20 54 48 45 52 | IS.LICENSED.FREE.OF.CHARGE,.THER |
fa900 | 45 20 49 53 20 4e 4f 0a 57 41 52 52 41 4e 54 59 20 46 4f 52 20 54 48 45 20 4c 49 42 52 41 52 59 | E.IS.NO.WARRANTY.FOR.THE.LIBRARY |
fa920 | 2c 20 54 4f 20 54 48 45 20 45 58 54 45 4e 54 20 50 45 52 4d 49 54 54 45 44 20 42 59 20 41 50 50 | ,.TO.THE.EXTENT.PERMITTED.BY.APP |
fa940 | 4c 49 43 41 42 4c 45 20 4c 41 57 2e 0a 45 58 43 45 50 54 20 57 48 45 4e 20 4f 54 48 45 52 57 49 | LICABLE.LAW..EXCEPT.WHEN.OTHERWI |
fa960 | 53 45 20 53 54 41 54 45 44 20 49 4e 20 57 52 49 54 49 4e 47 20 54 48 45 20 43 4f 50 59 52 49 47 | SE.STATED.IN.WRITING.THE.COPYRIG |
fa980 | 48 54 20 48 4f 4c 44 45 52 53 20 41 4e 44 2f 4f 52 0a 4f 54 48 45 52 20 50 41 52 54 49 45 53 20 | HT.HOLDERS.AND/OR.OTHER.PARTIES. |
fa9a0 | 50 52 4f 56 49 44 45 20 54 48 45 20 4c 49 42 52 41 52 59 20 22 41 53 20 49 53 22 20 57 49 54 48 | PROVIDE.THE.LIBRARY."AS.IS".WITH |
fa9c0 | 4f 55 54 20 57 41 52 52 41 4e 54 59 20 4f 46 20 41 4e 59 0a 4b 49 4e 44 2c 20 45 49 54 48 45 52 | OUT.WARRANTY.OF.ANY.KIND,.EITHER |
fa9e0 | 20 45 58 50 52 45 53 53 45 44 20 4f 52 20 49 4d 50 4c 49 45 44 2c 20 49 4e 43 4c 55 44 49 4e 47 | .EXPRESSED.OR.IMPLIED,.INCLUDING |
faa00 | 2c 20 42 55 54 20 4e 4f 54 20 4c 49 4d 49 54 45 44 20 54 4f 2c 20 54 48 45 0a 49 4d 50 4c 49 45 | ,.BUT.NOT.LIMITED.TO,.THE.IMPLIE |
faa20 | 44 20 57 41 52 52 41 4e 54 49 45 53 20 4f 46 20 4d 45 52 43 48 41 4e 54 41 42 49 4c 49 54 59 20 | D.WARRANTIES.OF.MERCHANTABILITY. |
faa40 | 41 4e 44 20 46 49 54 4e 45 53 53 20 46 4f 52 20 41 20 50 41 52 54 49 43 55 4c 41 52 0a 50 55 52 | AND.FITNESS.FOR.A.PARTICULAR.PUR |
faa60 | 50 4f 53 45 2e 20 20 54 48 45 20 45 4e 54 49 52 45 20 52 49 53 4b 20 41 53 20 54 4f 20 54 48 45 | POSE...THE.ENTIRE.RISK.AS.TO.THE |
faa80 | 20 51 55 41 4c 49 54 59 20 41 4e 44 20 50 45 52 46 4f 52 4d 41 4e 43 45 20 4f 46 20 54 48 45 0a | .QUALITY.AND.PERFORMANCE.OF.THE. |
faaa0 | 4c 49 42 52 41 52 59 20 49 53 20 57 49 54 48 20 59 4f 55 2e 20 20 53 48 4f 55 4c 44 20 54 48 45 | LIBRARY.IS.WITH.YOU...SHOULD.THE |
faac0 | 20 4c 49 42 52 41 52 59 20 50 52 4f 56 45 20 44 45 46 45 43 54 49 56 45 2c 20 59 4f 55 20 41 53 | .LIBRARY.PROVE.DEFECTIVE,.YOU.AS |
faae0 | 53 55 4d 45 0a 54 48 45 20 43 4f 53 54 20 4f 46 20 41 4c 4c 20 4e 45 43 45 53 53 41 52 59 20 53 | SUME.THE.COST.OF.ALL.NECESSARY.S |
fab00 | 45 52 56 49 43 49 4e 47 2c 20 52 45 50 41 49 52 20 4f 52 20 43 4f 52 52 45 43 54 49 4f 4e 2e 0a | ERVICING,.REPAIR.OR.CORRECTION.. |
fab20 | 0a 3c 70 3e 3c 73 70 61 6e 20 63 6c 61 73 73 3d 22 67 6e 75 2d 6e 75 6d 62 65 72 22 3e 31 36 2e | .<p><span.class="gnu-number">16. |
fab40 | 20 3c 2f 73 70 61 6e 3e 0a 49 4e 20 4e 4f 20 45 56 45 4e 54 20 55 4e 4c 45 53 53 20 52 45 51 55 | .</span>.IN.NO.EVENT.UNLESS.REQU |
fab60 | 49 52 45 44 20 42 59 20 41 50 50 4c 49 43 41 42 4c 45 20 4c 41 57 20 4f 52 20 41 47 52 45 45 44 | IRED.BY.APPLICABLE.LAW.OR.AGREED |
fab80 | 20 54 4f 20 49 4e 0a 57 52 49 54 49 4e 47 20 57 49 4c 4c 20 41 4e 59 20 43 4f 50 59 52 49 47 48 | .TO.IN.WRITING.WILL.ANY.COPYRIGH |
faba0 | 54 20 48 4f 4c 44 45 52 2c 20 4f 52 20 41 4e 59 20 4f 54 48 45 52 20 50 41 52 54 59 20 57 48 4f | T.HOLDER,.OR.ANY.OTHER.PARTY.WHO |
fabc0 | 20 4d 41 59 20 4d 4f 44 49 46 59 0a 41 4e 44 2f 4f 52 20 52 45 44 49 53 54 52 49 42 55 54 45 20 | .MAY.MODIFY.AND/OR.REDISTRIBUTE. |
fabe0 | 54 48 45 20 4c 49 42 52 41 52 59 20 41 53 20 50 45 52 4d 49 54 54 45 44 20 41 42 4f 56 45 2c 20 | THE.LIBRARY.AS.PERMITTED.ABOVE,. |
fac00 | 42 45 20 4c 49 41 42 4c 45 20 54 4f 20 59 4f 55 0a 46 4f 52 20 44 41 4d 41 47 45 53 2c 20 49 4e | BE.LIABLE.TO.YOU.FOR.DAMAGES,.IN |
fac20 | 43 4c 55 44 49 4e 47 20 41 4e 59 20 47 45 4e 45 52 41 4c 2c 20 53 50 45 43 49 41 4c 2c 20 49 4e | CLUDING.ANY.GENERAL,.SPECIAL,.IN |
fac40 | 43 49 44 45 4e 54 41 4c 20 4f 52 0a 43 4f 4e 53 45 51 55 45 4e 54 49 41 4c 20 44 41 4d 41 47 45 | CIDENTAL.OR.CONSEQUENTIAL.DAMAGE |
fac60 | 53 20 41 52 49 53 49 4e 47 20 4f 55 54 20 4f 46 20 54 48 45 20 55 53 45 20 4f 52 20 49 4e 41 42 | S.ARISING.OUT.OF.THE.USE.OR.INAB |
fac80 | 49 4c 49 54 59 20 54 4f 20 55 53 45 20 54 48 45 0a 4c 49 42 52 41 52 59 20 28 49 4e 43 4c 55 44 | ILITY.TO.USE.THE.LIBRARY.(INCLUD |
faca0 | 49 4e 47 20 42 55 54 20 4e 4f 54 20 4c 49 4d 49 54 45 44 20 54 4f 20 4c 4f 53 53 20 4f 46 20 44 | ING.BUT.NOT.LIMITED.TO.LOSS.OF.D |
facc0 | 41 54 41 20 4f 52 20 44 41 54 41 20 42 45 49 4e 47 0a 52 45 4e 44 45 52 45 44 20 49 4e 41 43 43 | ATA.OR.DATA.BEING.RENDERED.INACC |
face0 | 55 52 41 54 45 20 4f 52 20 4c 4f 53 53 45 53 20 53 55 53 54 41 49 4e 45 44 20 42 59 20 59 4f 55 | URATE.OR.LOSSES.SUSTAINED.BY.YOU |
fad00 | 20 4f 52 20 54 48 49 52 44 20 50 41 52 54 49 45 53 20 4f 52 20 41 0a 46 41 49 4c 55 52 45 20 4f | .OR.THIRD.PARTIES.OR.A.FAILURE.O |
fad20 | 46 20 54 48 45 20 4c 49 42 52 41 52 59 20 54 4f 20 4f 50 45 52 41 54 45 20 57 49 54 48 20 41 4e | F.THE.LIBRARY.TO.OPERATE.WITH.AN |
fad40 | 59 20 4f 54 48 45 52 20 53 4f 46 54 57 41 52 45 29 2c 20 45 56 45 4e 20 49 46 0a 53 55 43 48 20 | Y.OTHER.SOFTWARE),.EVEN.IF.SUCH. |
fad60 | 48 4f 4c 44 45 52 20 4f 52 20 4f 54 48 45 52 20 50 41 52 54 59 20 48 41 53 20 42 45 45 4e 20 41 | HOLDER.OR.OTHER.PARTY.HAS.BEEN.A |
fad80 | 44 56 49 53 45 44 20 4f 46 20 54 48 45 20 50 4f 53 53 49 42 49 4c 49 54 59 20 4f 46 20 53 55 43 | DVISED.OF.THE.POSSIBILITY.OF.SUC |
fada0 | 48 0a 44 41 4d 41 47 45 53 2e 0a 0a 3c 70 3e 45 4e 44 20 4f 46 20 54 45 52 4d 53 20 41 4e 44 20 | H.DAMAGES...<p>END.OF.TERMS.AND. |
fadc0 | 43 4f 4e 44 49 54 49 4f 4e 53 0a 0a 20 20 20 20 20 20 20 20 20 20 20 3c 68 32 3e 48 6f 77 20 74 | CONDITIONS.............<h2>How.t |
fade0 | 6f 20 41 70 70 6c 79 20 54 68 65 73 65 20 54 65 72 6d 73 20 74 6f 20 59 6f 75 72 20 4e 65 77 20 | o.Apply.These.Terms.to.Your.New. |
fae00 | 4c 69 62 72 61 72 69 65 73 3c 2f 68 32 3e 0a 0a 3c 70 3e 20 20 49 66 20 79 6f 75 20 64 65 76 65 | Libraries</h2>..<p>..If.you.deve |
fae20 | 6c 6f 70 20 61 20 6e 65 77 20 6c 69 62 72 61 72 79 2c 20 61 6e 64 20 79 6f 75 20 77 61 6e 74 20 | lop.a.new.library,.and.you.want. |
fae40 | 69 74 20 74 6f 20 62 65 20 6f 66 20 74 68 65 20 67 72 65 61 74 65 73 74 0a 70 6f 73 73 69 62 6c | it.to.be.of.the.greatest.possibl |
fae60 | 65 20 75 73 65 20 74 6f 20 74 68 65 20 70 75 62 6c 69 63 2c 20 77 65 20 72 65 63 6f 6d 6d 65 6e | e.use.to.the.public,.we.recommen |
fae80 | 64 20 6d 61 6b 69 6e 67 20 69 74 20 66 72 65 65 20 73 6f 66 74 77 61 72 65 20 74 68 61 74 0a 65 | d.making.it.free.software.that.e |
faea0 | 76 65 72 79 6f 6e 65 20 63 61 6e 20 72 65 64 69 73 74 72 69 62 75 74 65 20 61 6e 64 20 63 68 61 | veryone.can.redistribute.and.cha |
faec0 | 6e 67 65 2e 20 20 59 6f 75 20 63 61 6e 20 64 6f 20 73 6f 20 62 79 20 70 65 72 6d 69 74 74 69 6e | nge...You.can.do.so.by.permittin |
faee0 | 67 0a 72 65 64 69 73 74 72 69 62 75 74 69 6f 6e 20 75 6e 64 65 72 20 74 68 65 73 65 20 74 65 72 | g.redistribution.under.these.ter |
faf00 | 6d 73 20 28 6f 72 2c 20 61 6c 74 65 72 6e 61 74 69 76 65 6c 79 2c 20 75 6e 64 65 72 20 74 68 65 | ms.(or,.alternatively,.under.the |
faf20 | 20 74 65 72 6d 73 20 6f 66 20 74 68 65 0a 6f 72 64 69 6e 61 72 79 20 47 65 6e 65 72 61 6c 20 50 | .terms.of.the.ordinary.General.P |
faf40 | 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 29 2e 0a 0a 3c 70 3e 20 20 54 6f 20 61 70 70 6c 79 20 74 | ublic.License)...<p>..To.apply.t |
faf60 | 68 65 73 65 20 74 65 72 6d 73 2c 20 61 74 74 61 63 68 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 | hese.terms,.attach.the.following |
faf80 | 20 6e 6f 74 69 63 65 73 20 74 6f 20 74 68 65 20 6c 69 62 72 61 72 79 2e 20 20 49 74 20 69 73 0a | .notices.to.the.library...It.is. |
fafa0 | 73 61 66 65 73 74 20 74 6f 20 61 74 74 61 63 68 20 74 68 65 6d 20 74 6f 20 74 68 65 20 73 74 61 | safest.to.attach.them.to.the.sta |
fafc0 | 72 74 20 6f 66 20 65 61 63 68 20 73 6f 75 72 63 65 20 66 69 6c 65 20 74 6f 20 6d 6f 73 74 20 65 | rt.of.each.source.file.to.most.e |
fafe0 | 66 66 65 63 74 69 76 65 6c 79 0a 63 6f 6e 76 65 79 20 74 68 65 20 65 78 63 6c 75 73 69 6f 6e 20 | ffectively.convey.the.exclusion. |
fb000 | 6f 66 20 77 61 72 72 61 6e 74 79 3b 20 61 6e 64 20 65 61 63 68 20 66 69 6c 65 20 73 68 6f 75 6c | of.warranty;.and.each.file.shoul |
fb020 | 64 20 68 61 76 65 20 61 74 20 6c 65 61 73 74 20 74 68 65 0a 22 63 6f 70 79 72 69 67 68 74 22 20 | d.have.at.least.the."copyright". |
fb040 | 6c 69 6e 65 20 61 6e 64 20 61 20 70 6f 69 6e 74 65 72 20 74 6f 20 77 68 65 72 65 20 74 68 65 20 | line.and.a.pointer.to.where.the. |
fb060 | 66 75 6c 6c 20 6e 6f 74 69 63 65 20 69 73 20 66 6f 75 6e 64 2e 0a 0a 3c 70 72 65 3e 0a 20 20 20 | full.notice.is.found...<pre>.... |
fb080 | 20 26 6c 74 3b 6f 6e 65 20 6c 69 6e 65 20 74 6f 20 67 69 76 65 20 74 68 65 20 6c 69 62 72 61 72 | .<one.line.to.give.the.librar |
fb0a0 | 79 27 73 20 6e 61 6d 65 20 61 6e 64 20 61 20 62 72 69 65 66 20 69 64 65 61 20 6f 66 20 77 68 61 | y's.name.and.a.brief.idea.of.wha |
fb0c0 | 74 20 69 74 20 64 6f 65 73 2e 26 67 74 3b 0a 20 20 20 20 43 6f 70 79 72 69 67 68 74 20 28 43 29 | t.it.does.>.....Copyright.(C) |
fb0e0 | 20 26 6c 74 3b 79 65 61 72 26 67 74 3b 20 20 26 6c 74 3b 6e 61 6d 65 20 6f 66 20 61 75 74 68 6f | .<year>..<name.of.autho |
fb100 | 72 26 67 74 3b 0a 0a 20 20 20 20 54 68 69 73 20 6c 69 62 72 61 72 79 20 69 73 20 66 72 65 65 20 | r>......This.library.is.free. |
fb120 | 73 6f 66 74 77 61 72 65 3b 20 79 6f 75 20 63 61 6e 20 72 65 64 69 73 74 72 69 62 75 74 65 20 69 | software;.you.can.redistribute.i |
fb140 | 74 20 61 6e 64 2f 6f 72 0a 20 20 20 20 6d 6f 64 69 66 79 20 69 74 20 75 6e 64 65 72 20 74 68 65 | t.and/or.....modify.it.under.the |
fb160 | 20 74 65 72 6d 73 20 6f 66 20 74 68 65 20 47 4e 55 20 4c 65 73 73 65 72 20 47 65 6e 65 72 61 6c | .terms.of.the.GNU.Lesser.General |
fb180 | 20 50 75 62 6c 69 63 0a 20 20 20 20 4c 69 63 65 6e 73 65 20 61 73 20 70 75 62 6c 69 73 68 65 64 | .Public.....License.as.published |
fb1a0 | 20 62 79 20 74 68 65 20 46 72 65 65 20 53 6f 66 74 77 61 72 65 20 46 6f 75 6e 64 61 74 69 6f 6e | .by.the.Free.Software.Foundation |
fb1c0 | 3b 20 65 69 74 68 65 72 0a 20 20 20 20 76 65 72 73 69 6f 6e 20 32 2e 31 20 6f 66 20 74 68 65 20 | ;.either.....version.2.1.of.the. |
fb1e0 | 4c 69 63 65 6e 73 65 2c 20 6f 72 20 28 61 74 20 79 6f 75 72 20 6f 70 74 69 6f 6e 29 20 61 6e 79 | License,.or.(at.your.option).any |
fb200 | 20 6c 61 74 65 72 20 76 65 72 73 69 6f 6e 2e 0a 0a 20 20 20 20 54 68 69 73 20 6c 69 62 72 61 72 | .later.version.......This.librar |
fb220 | 79 20 69 73 20 64 69 73 74 72 69 62 75 74 65 64 20 69 6e 20 74 68 65 20 68 6f 70 65 20 74 68 61 | y.is.distributed.in.the.hope.tha |
fb240 | 74 20 69 74 20 77 69 6c 6c 20 62 65 20 75 73 65 66 75 6c 2c 0a 20 20 20 20 62 75 74 20 57 49 54 | t.it.will.be.useful,.....but.WIT |
fb260 | 48 4f 55 54 20 41 4e 59 20 57 41 52 52 41 4e 54 59 3b 20 77 69 74 68 6f 75 74 20 65 76 65 6e 20 | HOUT.ANY.WARRANTY;.without.even. |
fb280 | 74 68 65 20 69 6d 70 6c 69 65 64 20 77 61 72 72 61 6e 74 79 20 6f 66 0a 20 20 20 20 4d 45 52 43 | the.implied.warranty.of.....MERC |
fb2a0 | 48 41 4e 54 41 42 49 4c 49 54 59 20 6f 72 20 46 49 54 4e 45 53 53 20 46 4f 52 20 41 20 50 41 52 | HANTABILITY.or.FITNESS.FOR.A.PAR |
fb2c0 | 54 49 43 55 4c 41 52 20 50 55 52 50 4f 53 45 2e 20 20 53 65 65 20 74 68 65 20 47 4e 55 0a 20 20 | TICULAR.PURPOSE...See.the.GNU... |
fb2e0 | 20 20 4c 65 73 73 65 72 20 47 65 6e 65 72 61 6c 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 20 | ..Lesser.General.Public.License. |
fb300 | 66 6f 72 20 6d 6f 72 65 20 64 65 74 61 69 6c 73 2e 0a 0a 20 20 20 20 59 6f 75 20 73 68 6f 75 6c | for.more.details.......You.shoul |
fb320 | 64 20 68 61 76 65 20 72 65 63 65 69 76 65 64 20 61 20 63 6f 70 79 20 6f 66 20 74 68 65 20 47 4e | d.have.received.a.copy.of.the.GN |
fb340 | 55 20 4c 65 73 73 65 72 20 47 65 6e 65 72 61 6c 20 50 75 62 6c 69 63 0a 20 20 20 20 4c 69 63 65 | U.Lesser.General.Public.....Lice |
fb360 | 6e 73 65 20 61 6c 6f 6e 67 20 77 69 74 68 20 74 68 69 73 20 6c 69 62 72 61 72 79 3b 20 69 66 20 | nse.along.with.this.library;.if. |
fb380 | 6e 6f 74 2c 20 77 72 69 74 65 20 74 6f 20 74 68 65 20 46 72 65 65 20 53 6f 66 74 77 61 72 65 0a | not,.write.to.the.Free.Software. |
fb3a0 | 20 20 20 20 46 6f 75 6e 64 61 74 69 6f 6e 2c 20 49 6e 63 2e 2c 20 35 31 20 46 72 61 6e 6b 6c 69 | ....Foundation,.Inc.,.51.Frankli |
fb3c0 | 6e 20 53 74 2c 20 46 69 66 74 68 20 46 6c 6f 6f 72 2c 20 42 6f 73 74 6f 6e 2c 20 4d 41 20 20 30 | n.St,.Fifth.Floor,.Boston,.MA..0 |
fb3e0 | 32 31 31 30 2d 31 33 30 31 20 20 55 53 41 0a 3c 2f 70 72 65 3e 0a 0a 3c 70 3e 41 6c 73 6f 20 61 | 2110-1301..USA.</pre>..<p>Also.a |
fb400 | 64 64 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 20 6f 6e 20 68 6f 77 20 74 6f 20 63 6f 6e 74 61 63 74 | dd.information.on.how.to.contact |
fb420 | 20 79 6f 75 20 62 79 20 65 6c 65 63 74 72 6f 6e 69 63 20 61 6e 64 20 70 61 70 65 72 20 6d 61 69 | .you.by.electronic.and.paper.mai |
fb440 | 6c 2e 0a 0a 3c 70 3e 59 6f 75 20 73 68 6f 75 6c 64 20 61 6c 73 6f 20 67 65 74 20 79 6f 75 72 20 | l...<p>You.should.also.get.your. |
fb460 | 65 6d 70 6c 6f 79 65 72 20 28 69 66 20 79 6f 75 20 77 6f 72 6b 20 61 73 20 61 20 70 72 6f 67 72 | employer.(if.you.work.as.a.progr |
fb480 | 61 6d 6d 65 72 29 20 6f 72 20 79 6f 75 72 0a 73 63 68 6f 6f 6c 2c 20 69 66 20 61 6e 79 2c 20 74 | ammer).or.your.school,.if.any,.t |
fb4a0 | 6f 20 73 69 67 6e 20 61 20 22 63 6f 70 79 72 69 67 68 74 20 64 69 73 63 6c 61 69 6d 65 72 22 20 | o.sign.a."copyright.disclaimer". |
fb4c0 | 66 6f 72 20 74 68 65 20 6c 69 62 72 61 72 79 2c 20 69 66 0a 6e 65 63 65 73 73 61 72 79 2e 20 20 | for.the.library,.if.necessary... |
fb4e0 | 48 65 72 65 20 69 73 20 61 20 73 61 6d 70 6c 65 3b 20 61 6c 74 65 72 20 74 68 65 20 6e 61 6d 65 | Here.is.a.sample;.alter.the.name |
fb500 | 73 3a 0a 0a 3c 70 72 65 3e 0a 20 20 59 6f 79 6f 64 79 6e 65 2c 20 49 6e 63 2e 2c 20 68 65 72 65 | s:..<pre>...Yoyodyne,.Inc.,.here |
fb520 | 62 79 20 64 69 73 63 6c 61 69 6d 73 20 61 6c 6c 20 63 6f 70 79 72 69 67 68 74 20 69 6e 74 65 72 | by.disclaims.all.copyright.inter |
fb540 | 65 73 74 20 69 6e 20 74 68 65 0a 20 20 6c 69 62 72 61 72 79 20 60 46 72 6f 62 27 20 28 61 20 6c | est.in.the...library.`Frob'.(a.l |
fb560 | 69 62 72 61 72 79 20 66 6f 72 20 74 77 65 61 6b 69 6e 67 20 6b 6e 6f 62 73 29 20 77 72 69 74 74 | ibrary.for.tweaking.knobs).writt |
fb580 | 65 6e 20 62 79 20 4a 61 6d 65 73 20 52 61 6e 64 6f 6d 20 48 61 63 6b 65 72 2e 0a 0a 20 20 26 6c | en.by.James.Random.Hacker.....&l |
fb5a0 | 74 3b 73 69 67 6e 61 74 75 72 65 20 6f 66 20 54 79 20 43 6f 6f 6e 26 67 74 3b 2c 20 31 20 41 70 | t;signature.of.Ty.Coon>,.1.Ap |
fb5c0 | 72 69 6c 20 31 39 39 30 0a 20 20 54 79 20 43 6f 6f 6e 2c 20 50 72 65 73 69 64 65 6e 74 20 6f 66 | ril.1990...Ty.Coon,.President.of |
fb5e0 | 20 56 69 63 65 0a 3c 2f 70 72 65 3e 0a 0a 3c 70 3e 54 68 61 74 27 73 20 61 6c 6c 20 74 68 65 72 | .Vice.</pre>..<p>That's.all.ther |
fb600 | 65 20 69 73 20 74 6f 20 69 74 21 0a 0a 0a 20 20 20 20 0a 20 20 20 20 3c 68 72 3e 0a 0a 20 20 20 | e.is.to.it!............<hr>..... |
fb620 | 20 3c 68 31 3e 3c 61 20 6e 61 6d 65 3d 22 61 70 70 6c 65 2d 6d 6f 7a 69 6c 6c 61 22 3e 3c 2f 61 | .<h1><a.name="apple-mozilla"></a |
fb640 | 3e 41 70 70 6c 65 2f 4d 6f 7a 69 6c 6c 61 20 4e 50 52 75 6e 74 69 6d 65 20 4c 69 63 65 6e 73 65 | >Apple/Mozilla.NPRuntime.License |
fb660 | 3c 2f 68 31 3e 0a 0a 20 20 20 20 3c 70 20 63 6c 61 73 73 3d 22 63 6f 72 72 65 63 74 6d 65 22 3e | </h1>......<p.class="correctme"> |
fb680 | 54 68 69 73 20 6c 69 63 65 6e 73 65 20 61 70 70 6c 69 65 73 20 74 6f 20 74 68 65 20 66 69 6c 65 | This.license.applies.to.the.file |
fb6a0 | 20 0a 20 20 20 20 3c 73 70 61 6e 20 63 6c 61 73 73 3d 22 70 61 74 68 22 3e 6d 6f 64 75 6c 65 73 | ......<span.class="path">modules |
fb6c0 | 2f 70 6c 75 67 69 6e 2f 62 61 73 65 2f 70 75 62 6c 69 63 2f 6e 70 72 75 6e 74 69 6d 65 2e 68 3c | /plugin/base/public/npruntime.h< |
fb6e0 | 2f 73 70 61 6e 3e 2e 3c 2f 70 3e 0a 0a 3c 70 72 65 3e 0a 43 6f 70 79 72 69 67 68 74 20 26 63 6f | /span>.</p>..<pre>.Copyright.&co |
fb700 | 70 79 3b 20 32 30 30 34 2c 20 41 70 70 6c 65 20 43 6f 6d 70 75 74 65 72 2c 20 49 6e 63 2e 20 61 | py;.2004,.Apple.Computer,.Inc..a |
fb720 | 6e 64 20 54 68 65 20 4d 6f 7a 69 6c 6c 61 20 46 6f 75 6e 64 61 74 69 6f 6e 2e 20 0a 41 6c 6c 20 | nd.The.Mozilla.Foundation...All. |
fb740 | 72 69 67 68 74 73 20 72 65 73 65 72 76 65 64 2e 0a 0a 52 65 64 69 73 74 72 69 62 75 74 69 6f 6e | rights.reserved...Redistribution |
fb760 | 20 61 6e 64 20 75 73 65 20 69 6e 20 73 6f 75 72 63 65 20 61 6e 64 20 62 69 6e 61 72 79 20 66 6f | .and.use.in.source.and.binary.fo |
fb780 | 72 6d 73 2c 20 77 69 74 68 20 6f 72 20 77 69 74 68 6f 75 74 0a 6d 6f 64 69 66 69 63 61 74 69 6f | rms,.with.or.without.modificatio |
fb7a0 | 6e 2c 20 61 72 65 20 70 65 72 6d 69 74 74 65 64 20 70 72 6f 76 69 64 65 64 20 74 68 61 74 20 74 | n,.are.permitted.provided.that.t |
fb7c0 | 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 63 6f 6e 64 69 74 69 6f 6e 73 20 61 72 65 0a 6d 65 74 3a | he.following.conditions.are.met: |
fb7e0 | 0a 0a 31 2e 20 52 65 64 69 73 74 72 69 62 75 74 69 6f 6e 73 20 6f 66 20 73 6f 75 72 63 65 20 63 | ..1..Redistributions.of.source.c |
fb800 | 6f 64 65 20 6d 75 73 74 20 72 65 74 61 69 6e 20 74 68 65 20 61 62 6f 76 65 20 63 6f 70 79 72 69 | ode.must.retain.the.above.copyri |
fb820 | 67 68 74 0a 6e 6f 74 69 63 65 2c 20 74 68 69 73 20 6c 69 73 74 20 6f 66 20 63 6f 6e 64 69 74 69 | ght.notice,.this.list.of.conditi |
fb840 | 6f 6e 73 20 61 6e 64 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 64 69 73 63 6c 61 69 6d 65 72 | ons.and.the.following.disclaimer |
fb860 | 2e 0a 32 2e 20 52 65 64 69 73 74 72 69 62 75 74 69 6f 6e 73 20 69 6e 20 62 69 6e 61 72 79 20 66 | ..2..Redistributions.in.binary.f |
fb880 | 6f 72 6d 20 6d 75 73 74 20 72 65 70 72 6f 64 75 63 65 20 74 68 65 20 61 62 6f 76 65 20 63 6f 70 | orm.must.reproduce.the.above.cop |
fb8a0 | 79 72 69 67 68 74 0a 6e 6f 74 69 63 65 2c 20 74 68 69 73 20 6c 69 73 74 20 6f 66 20 63 6f 6e 64 | yright.notice,.this.list.of.cond |
fb8c0 | 69 74 69 6f 6e 73 20 61 6e 64 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 64 69 73 63 6c 61 69 | itions.and.the.following.disclai |
fb8e0 | 6d 65 72 20 69 6e 20 74 68 65 0a 64 6f 63 75 6d 65 6e 74 61 74 69 6f 6e 20 61 6e 64 2f 6f 72 20 | mer.in.the.documentation.and/or. |
fb900 | 6f 74 68 65 72 20 6d 61 74 65 72 69 61 6c 73 20 70 72 6f 76 69 64 65 64 20 77 69 74 68 20 74 68 | other.materials.provided.with.th |
fb920 | 65 20 64 69 73 74 72 69 62 75 74 69 6f 6e 2e 0a 33 2e 20 4e 65 69 74 68 65 72 20 74 68 65 20 6e | e.distribution..3..Neither.the.n |
fb940 | 61 6d 65 73 20 6f 66 20 41 70 70 6c 65 20 43 6f 6d 70 75 74 65 72 2c 20 49 6e 63 2e 20 28 22 41 | ames.of.Apple.Computer,.Inc..("A |
fb960 | 70 70 6c 65 22 29 20 6f 72 20 54 68 65 20 4d 6f 7a 69 6c 6c 61 0a 46 6f 75 6e 64 61 74 69 6f 6e | pple").or.The.Mozilla.Foundation |
fb980 | 20 28 22 4d 6f 7a 69 6c 6c 61 22 29 20 6e 6f 72 20 74 68 65 20 6e 61 6d 65 73 20 6f 66 20 74 68 | .("Mozilla").nor.the.names.of.th |
fb9a0 | 65 69 72 20 63 6f 6e 74 72 69 62 75 74 6f 72 73 20 6d 61 79 20 62 65 20 75 73 65 64 0a 74 6f 20 | eir.contributors.may.be.used.to. |
fb9c0 | 65 6e 64 6f 72 73 65 20 6f 72 20 70 72 6f 6d 6f 74 65 20 70 72 6f 64 75 63 74 73 20 64 65 72 69 | endorse.or.promote.products.deri |
fb9e0 | 76 65 64 20 66 72 6f 6d 20 74 68 69 73 20 73 6f 66 74 77 61 72 65 20 77 69 74 68 6f 75 74 0a 73 | ved.from.this.software.without.s |
fba00 | 70 65 63 69 66 69 63 20 70 72 69 6f 72 20 77 72 69 74 74 65 6e 20 70 65 72 6d 69 73 73 69 6f 6e | pecific.prior.written.permission |
fba20 | 2e 0a 0a 54 48 49 53 20 53 4f 46 54 57 41 52 45 20 49 53 20 50 52 4f 56 49 44 45 44 20 42 59 20 | ...THIS.SOFTWARE.IS.PROVIDED.BY. |
fba40 | 41 50 50 4c 45 2c 20 4d 4f 5a 49 4c 4c 41 20 41 4e 44 20 54 48 45 49 52 20 43 4f 4e 54 52 49 42 | APPLE,.MOZILLA.AND.THEIR.CONTRIB |
fba60 | 55 54 4f 52 53 20 22 41 53 0a 49 53 22 20 41 4e 44 20 41 4e 59 20 45 58 50 52 45 53 53 20 4f 52 | UTORS."AS.IS".AND.ANY.EXPRESS.OR |
fba80 | 20 49 4d 50 4c 49 45 44 20 57 41 52 52 41 4e 54 49 45 53 2c 20 49 4e 43 4c 55 44 49 4e 47 2c 20 | .IMPLIED.WARRANTIES,.INCLUDING,. |
fbaa0 | 42 55 54 20 4e 4f 54 20 4c 49 4d 49 54 45 44 0a 54 4f 2c 20 54 48 45 20 49 4d 50 4c 49 45 44 20 | BUT.NOT.LIMITED.TO,.THE.IMPLIED. |
fbac0 | 57 41 52 52 41 4e 54 49 45 53 20 4f 46 20 4d 45 52 43 48 41 4e 54 41 42 49 4c 49 54 59 20 41 4e | WARRANTIES.OF.MERCHANTABILITY.AN |
fbae0 | 44 20 46 49 54 4e 45 53 53 20 46 4f 52 20 41 0a 50 41 52 54 49 43 55 4c 41 52 20 50 55 52 50 4f | D.FITNESS.FOR.A.PARTICULAR.PURPO |
fbb00 | 53 45 20 41 52 45 20 44 49 53 43 4c 41 49 4d 45 44 2e 20 49 4e 20 4e 4f 20 45 56 45 4e 54 20 53 | SE.ARE.DISCLAIMED..IN.NO.EVENT.S |
fbb20 | 48 41 4c 4c 20 41 50 50 4c 45 2c 20 4d 4f 5a 49 4c 4c 41 20 4f 52 0a 54 48 45 49 52 20 43 4f 4e | HALL.APPLE,.MOZILLA.OR.THEIR.CON |
fbb40 | 54 52 49 42 55 54 4f 52 53 20 42 45 20 4c 49 41 42 4c 45 20 46 4f 52 20 41 4e 59 20 44 49 52 45 | TRIBUTORS.BE.LIABLE.FOR.ANY.DIRE |
fbb60 | 43 54 2c 20 49 4e 44 49 52 45 43 54 2c 20 49 4e 43 49 44 45 4e 54 41 4c 2c 0a 53 50 45 43 49 41 | CT,.INDIRECT,.INCIDENTAL,.SPECIA |
fbb80 | 4c 2c 20 45 58 45 4d 50 4c 41 52 59 2c 20 4f 52 20 43 4f 4e 53 45 51 55 45 4e 54 49 41 4c 20 44 | L,.EXEMPLARY,.OR.CONSEQUENTIAL.D |
fbba0 | 41 4d 41 47 45 53 20 28 49 4e 43 4c 55 44 49 4e 47 2c 20 42 55 54 20 4e 4f 54 20 4c 49 4d 49 54 | AMAGES.(INCLUDING,.BUT.NOT.LIMIT |
fbbc0 | 45 44 0a 54 4f 2c 20 50 52 4f 43 55 52 45 4d 45 4e 54 20 4f 46 20 53 55 42 53 54 49 54 55 54 45 | ED.TO,.PROCUREMENT.OF.SUBSTITUTE |
fbbe0 | 20 47 4f 4f 44 53 20 4f 52 20 53 45 52 56 49 43 45 53 3b 20 4c 4f 53 53 20 4f 46 20 55 53 45 2c | .GOODS.OR.SERVICES;.LOSS.OF.USE, |
fbc00 | 20 44 41 54 41 2c 20 4f 52 0a 50 52 4f 46 49 54 53 3b 20 4f 52 20 42 55 53 49 4e 45 53 53 20 49 | .DATA,.OR.PROFITS;.OR.BUSINESS.I |
fbc20 | 4e 54 45 52 52 55 50 54 49 4f 4e 29 20 48 4f 57 45 56 45 52 20 43 41 55 53 45 44 20 41 4e 44 20 | NTERRUPTION).HOWEVER.CAUSED.AND. |
fbc40 | 4f 4e 20 41 4e 59 20 54 48 45 4f 52 59 20 4f 46 0a 4c 49 41 42 49 4c 49 54 59 2c 20 57 48 45 54 | ON.ANY.THEORY.OF.LIABILITY,.WHET |
fbc60 | 48 45 52 20 49 4e 20 43 4f 4e 54 52 41 43 54 2c 20 53 54 52 49 43 54 20 4c 49 41 42 49 4c 49 54 | HER.IN.CONTRACT,.STRICT.LIABILIT |
fbc80 | 59 2c 20 4f 52 20 54 4f 52 54 20 28 49 4e 43 4c 55 44 49 4e 47 0a 4e 45 47 4c 49 47 45 4e 43 45 | Y,.OR.TORT.(INCLUDING.NEGLIGENCE |
fbca0 | 20 4f 52 20 4f 54 48 45 52 57 49 53 45 29 20 41 52 49 53 49 4e 47 20 49 4e 20 41 4e 59 20 57 41 | .OR.OTHERWISE).ARISING.IN.ANY.WA |
fbcc0 | 59 20 4f 55 54 20 4f 46 20 54 48 45 20 55 53 45 20 4f 46 20 54 48 49 53 0a 53 4f 46 54 57 41 52 | Y.OUT.OF.THE.USE.OF.THIS.SOFTWAR |
fbce0 | 45 2c 20 45 56 45 4e 20 49 46 20 41 44 56 49 53 45 44 20 4f 46 20 54 48 45 20 50 4f 53 53 49 42 | E,.EVEN.IF.ADVISED.OF.THE.POSSIB |
fbd00 | 49 4c 49 54 59 20 4f 46 20 53 55 43 48 20 44 41 4d 41 47 45 2e 0a 3c 2f 70 72 65 3e 0a 0a 0a 20 | ILITY.OF.SUCH.DAMAGE..</pre>.... |
fbd20 | 20 20 20 3c 68 72 3e 0a 0a 20 20 20 20 3c 68 31 3e 3c 61 20 6e 61 6d 65 3d 22 62 72 65 61 6b 70 | ...<hr>......<h1><a.name="breakp |
fbd40 | 61 64 22 3e 3c 2f 61 3e 42 72 65 61 6b 70 61 64 20 4c 69 63 65 6e 73 65 3c 2f 68 31 3e 0a 0a 20 | ad"></a>Breakpad.License</h1>... |
fbd60 | 20 20 20 3c 70 20 63 6c 61 73 73 3d 22 63 6f 72 72 65 63 74 6d 65 22 3e 54 68 69 73 20 6c 69 63 | ...<p.class="correctme">This.lic |
fbd80 | 65 6e 73 65 20 61 70 70 6c 69 65 73 20 74 6f 20 66 69 6c 65 73 20 69 6e 20 74 68 65 20 64 69 72 | ense.applies.to.files.in.the.dir |
fbda0 | 65 63 74 6f 72 79 20 0a 20 20 20 20 3c 73 70 61 6e 20 63 6c 61 73 73 3d 22 70 61 74 68 22 3e 74 | ectory......<span.class="path">t |
fbdc0 | 6f 6f 6c 6b 69 74 2f 63 72 61 73 68 72 65 70 6f 72 74 65 72 2f 67 6f 6f 67 6c 65 2d 62 72 65 61 | oolkit/crashreporter/google-brea |
fbde0 | 6b 70 61 64 2f 3c 2f 73 70 61 6e 3e 2e 3c 2f 70 3e 0a 0a 3c 70 72 65 3e 0a 43 6f 70 79 72 69 67 | kpad/</span>.</p>..<pre>.Copyrig |
fbe00 | 68 74 20 28 63 29 20 32 30 30 36 2c 20 47 6f 6f 67 6c 65 20 49 6e 63 2e 0a 41 6c 6c 20 72 69 67 | ht.(c).2006,.Google.Inc..All.rig |
fbe20 | 68 74 73 20 72 65 73 65 72 76 65 64 2e 0a 0a 52 65 64 69 73 74 72 69 62 75 74 69 6f 6e 20 61 6e | hts.reserved...Redistribution.an |
fbe40 | 64 20 75 73 65 20 69 6e 20 73 6f 75 72 63 65 20 61 6e 64 20 62 69 6e 61 72 79 20 66 6f 72 6d 73 | d.use.in.source.and.binary.forms |
fbe60 | 2c 20 77 69 74 68 20 6f 72 20 77 69 74 68 6f 75 74 0a 6d 6f 64 69 66 69 63 61 74 69 6f 6e 2c 20 | ,.with.or.without.modification,. |
fbe80 | 61 72 65 20 70 65 72 6d 69 74 74 65 64 20 70 72 6f 76 69 64 65 64 20 74 68 61 74 20 74 68 65 20 | are.permitted.provided.that.the. |
fbea0 | 66 6f 6c 6c 6f 77 69 6e 67 20 63 6f 6e 64 69 74 69 6f 6e 73 20 61 72 65 0a 6d 65 74 3a 0a 0a 20 | following.conditions.are.met:... |
fbec0 | 20 20 20 2a 20 52 65 64 69 73 74 72 69 62 75 74 69 6f 6e 73 20 6f 66 20 73 6f 75 72 63 65 20 63 | ...*.Redistributions.of.source.c |
fbee0 | 6f 64 65 20 6d 75 73 74 20 72 65 74 61 69 6e 20 74 68 65 20 61 62 6f 76 65 20 63 6f 70 79 72 69 | ode.must.retain.the.above.copyri |
fbf00 | 67 68 74 0a 6e 6f 74 69 63 65 2c 20 74 68 69 73 20 6c 69 73 74 20 6f 66 20 63 6f 6e 64 69 74 69 | ght.notice,.this.list.of.conditi |
fbf20 | 6f 6e 73 20 61 6e 64 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 64 69 73 63 6c 61 69 6d 65 72 | ons.and.the.following.disclaimer |
fbf40 | 2e 0a 20 20 20 20 2a 20 52 65 64 69 73 74 72 69 62 75 74 69 6f 6e 73 20 69 6e 20 62 69 6e 61 72 | ......*.Redistributions.in.binar |
fbf60 | 79 20 66 6f 72 6d 20 6d 75 73 74 20 72 65 70 72 6f 64 75 63 65 20 74 68 65 20 61 62 6f 76 65 0a | y.form.must.reproduce.the.above. |
fbf80 | 63 6f 70 79 72 69 67 68 74 20 6e 6f 74 69 63 65 2c 20 74 68 69 73 20 6c 69 73 74 20 6f 66 20 63 | copyright.notice,.this.list.of.c |
fbfa0 | 6f 6e 64 69 74 69 6f 6e 73 20 61 6e 64 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 64 69 73 63 | onditions.and.the.following.disc |
fbfc0 | 6c 61 69 6d 65 72 0a 69 6e 20 74 68 65 20 64 6f 63 75 6d 65 6e 74 61 74 69 6f 6e 20 61 6e 64 2f | laimer.in.the.documentation.and/ |
fbfe0 | 6f 72 20 6f 74 68 65 72 20 6d 61 74 65 72 69 61 6c 73 20 70 72 6f 76 69 64 65 64 20 77 69 74 68 | or.other.materials.provided.with |
fc000 | 20 74 68 65 0a 64 69 73 74 72 69 62 75 74 69 6f 6e 2e 0a 20 20 20 20 2a 20 4e 65 69 74 68 65 72 | .the.distribution......*.Neither |
fc020 | 20 74 68 65 20 6e 61 6d 65 20 6f 66 20 47 6f 6f 67 6c 65 20 49 6e 63 2e 20 6e 6f 72 20 74 68 65 | .the.name.of.Google.Inc..nor.the |
fc040 | 20 6e 61 6d 65 73 20 6f 66 20 69 74 73 0a 63 6f 6e 74 72 69 62 75 74 6f 72 73 20 6d 61 79 20 62 | .names.of.its.contributors.may.b |
fc060 | 65 20 75 73 65 64 20 74 6f 20 65 6e 64 6f 72 73 65 20 6f 72 20 70 72 6f 6d 6f 74 65 20 70 72 6f | e.used.to.endorse.or.promote.pro |
fc080 | 64 75 63 74 73 20 64 65 72 69 76 65 64 20 66 72 6f 6d 0a 74 68 69 73 20 73 6f 66 74 77 61 72 65 | ducts.derived.from.this.software |
fc0a0 | 20 77 69 74 68 6f 75 74 20 73 70 65 63 69 66 69 63 20 70 72 69 6f 72 20 77 72 69 74 74 65 6e 20 | .without.specific.prior.written. |
fc0c0 | 70 65 72 6d 69 73 73 69 6f 6e 2e 0a 0a 54 48 49 53 20 53 4f 46 54 57 41 52 45 20 49 53 20 50 52 | permission...THIS.SOFTWARE.IS.PR |
fc0e0 | 4f 56 49 44 45 44 20 42 59 20 54 48 45 20 43 4f 50 59 52 49 47 48 54 20 48 4f 4c 44 45 52 53 20 | OVIDED.BY.THE.COPYRIGHT.HOLDERS. |
fc100 | 41 4e 44 20 43 4f 4e 54 52 49 42 55 54 4f 52 53 0a 22 41 53 20 49 53 22 20 41 4e 44 20 41 4e 59 | AND.CONTRIBUTORS."AS.IS".AND.ANY |
fc120 | 20 45 58 50 52 45 53 53 20 4f 52 20 49 4d 50 4c 49 45 44 20 57 41 52 52 41 4e 54 49 45 53 2c 20 | .EXPRESS.OR.IMPLIED.WARRANTIES,. |
fc140 | 49 4e 43 4c 55 44 49 4e 47 2c 20 42 55 54 20 4e 4f 54 0a 4c 49 4d 49 54 45 44 20 54 4f 2c 20 54 | INCLUDING,.BUT.NOT.LIMITED.TO,.T |
fc160 | 48 45 20 49 4d 50 4c 49 45 44 20 57 41 52 52 41 4e 54 49 45 53 20 4f 46 20 4d 45 52 43 48 41 4e | HE.IMPLIED.WARRANTIES.OF.MERCHAN |
fc180 | 54 41 42 49 4c 49 54 59 20 41 4e 44 20 46 49 54 4e 45 53 53 20 46 4f 52 0a 41 20 50 41 52 54 49 | TABILITY.AND.FITNESS.FOR.A.PARTI |
fc1a0 | 43 55 4c 41 52 20 50 55 52 50 4f 53 45 20 41 52 45 20 44 49 53 43 4c 41 49 4d 45 44 2e 20 49 4e | CULAR.PURPOSE.ARE.DISCLAIMED..IN |
fc1c0 | 20 4e 4f 20 45 56 45 4e 54 20 53 48 41 4c 4c 20 54 48 45 20 43 4f 50 59 52 49 47 48 54 0a 4f 57 | .NO.EVENT.SHALL.THE.COPYRIGHT.OW |
fc1e0 | 4e 45 52 20 4f 52 20 43 4f 4e 54 52 49 42 55 54 4f 52 53 20 42 45 20 4c 49 41 42 4c 45 20 46 4f | NER.OR.CONTRIBUTORS.BE.LIABLE.FO |
fc200 | 52 20 41 4e 59 20 44 49 52 45 43 54 2c 20 49 4e 44 49 52 45 43 54 2c 20 49 4e 43 49 44 45 4e 54 | R.ANY.DIRECT,.INDIRECT,.INCIDENT |
fc220 | 41 4c 2c 0a 53 50 45 43 49 41 4c 2c 20 45 58 45 4d 50 4c 41 52 59 2c 20 4f 52 20 43 4f 4e 53 45 | AL,.SPECIAL,.EXEMPLARY,.OR.CONSE |
fc240 | 51 55 45 4e 54 49 41 4c 20 44 41 4d 41 47 45 53 20 28 49 4e 43 4c 55 44 49 4e 47 2c 20 42 55 54 | QUENTIAL.DAMAGES.(INCLUDING,.BUT |
fc260 | 20 4e 4f 54 0a 4c 49 4d 49 54 45 44 20 54 4f 2c 20 50 52 4f 43 55 52 45 4d 45 4e 54 20 4f 46 20 | .NOT.LIMITED.TO,.PROCUREMENT.OF. |
fc280 | 53 55 42 53 54 49 54 55 54 45 20 47 4f 4f 44 53 20 4f 52 20 53 45 52 56 49 43 45 53 3b 20 4c 4f | SUBSTITUTE.GOODS.OR.SERVICES;.LO |
fc2a0 | 53 53 20 4f 46 20 55 53 45 2c 0a 44 41 54 41 2c 20 4f 52 20 50 52 4f 46 49 54 53 3b 20 4f 52 20 | SS.OF.USE,.DATA,.OR.PROFITS;.OR. |
fc2c0 | 42 55 53 49 4e 45 53 53 20 49 4e 54 45 52 52 55 50 54 49 4f 4e 29 20 48 4f 57 45 56 45 52 20 43 | BUSINESS.INTERRUPTION).HOWEVER.C |
fc2e0 | 41 55 53 45 44 20 41 4e 44 20 4f 4e 20 41 4e 59 0a 54 48 45 4f 52 59 20 4f 46 20 4c 49 41 42 49 | AUSED.AND.ON.ANY.THEORY.OF.LIABI |
fc300 | 4c 49 54 59 2c 20 57 48 45 54 48 45 52 20 49 4e 20 43 4f 4e 54 52 41 43 54 2c 20 53 54 52 49 43 | LITY,.WHETHER.IN.CONTRACT,.STRIC |
fc320 | 54 20 4c 49 41 42 49 4c 49 54 59 2c 20 4f 52 20 54 4f 52 54 0a 28 49 4e 43 4c 55 44 49 4e 47 20 | T.LIABILITY,.OR.TORT.(INCLUDING. |
fc340 | 4e 45 47 4c 49 47 45 4e 43 45 20 4f 52 20 4f 54 48 45 52 57 49 53 45 29 20 41 52 49 53 49 4e 47 | NEGLIGENCE.OR.OTHERWISE).ARISING |
fc360 | 20 49 4e 20 41 4e 59 20 57 41 59 20 4f 55 54 20 4f 46 20 54 48 45 20 55 53 45 0a 4f 46 20 54 48 | .IN.ANY.WAY.OUT.OF.THE.USE.OF.TH |
fc380 | 49 53 20 53 4f 46 54 57 41 52 45 2c 20 45 56 45 4e 20 49 46 20 41 44 56 49 53 45 44 20 4f 46 20 | IS.SOFTWARE,.EVEN.IF.ADVISED.OF. |
fc3a0 | 54 48 45 20 50 4f 53 53 49 42 49 4c 49 54 59 20 4f 46 20 53 55 43 48 20 44 41 4d 41 47 45 2e 0a | THE.POSSIBILITY.OF.SUCH.DAMAGE.. |
fc3c0 | 3c 2f 70 72 65 3e 0a 0a 0a 20 20 20 20 3c 68 72 3e 0a 0a 20 20 20 20 3c 68 31 3e 3c 61 20 6e 61 | </pre>.......<hr>......<h1><a.na |
fc3e0 | 6d 65 3d 22 62 73 70 61 74 63 68 22 3e 3c 2f 61 3e 62 73 70 61 74 63 68 20 4c 69 63 65 6e 73 65 | me="bspatch"></a>bspatch.License |
fc400 | 3c 2f 68 31 3e 0a 0a 20 20 20 20 3c 70 20 63 6c 61 73 73 3d 22 63 6f 72 72 65 63 74 6d 65 22 3e | </h1>......<p.class="correctme"> |
fc420 | 54 68 69 73 20 6c 69 63 65 6e 73 65 20 61 70 70 6c 69 65 73 20 74 6f 20 74 68 65 20 66 69 6c 65 | This.license.applies.to.the.file |
fc440 | 73 20 0a 20 20 20 20 3c 73 70 61 6e 20 63 6c 61 73 73 3d 22 70 61 74 68 22 3e 74 6f 6f 6c 6b 69 | s......<span.class="path">toolki |
fc460 | 74 2f 6d 6f 7a 61 70 70 73 2f 75 70 64 61 74 65 2f 73 72 63 2f 75 70 64 61 74 65 72 2f 62 73 70 | t/mozapps/update/src/updater/bsp |
fc480 | 61 74 63 68 2e 63 70 70 3c 2f 73 70 61 6e 3e 20 61 6e 64 0a 20 20 20 20 3c 73 70 61 6e 20 63 6c | atch.cpp</span>.and.....<span.cl |
fc4a0 | 61 73 73 3d 22 70 61 74 68 22 3e 74 6f 6f 6c 6b 69 74 2f 6d 6f 7a 61 70 70 73 2f 75 70 64 61 74 | ass="path">toolkit/mozapps/updat |
fc4c0 | 65 2f 73 72 63 2f 75 70 64 61 74 65 72 2f 62 73 70 61 74 63 68 2e 68 3c 2f 73 70 61 6e 3e 2e 0a | e/src/updater/bspatch.h</span>.. |
fc4e0 | 20 20 20 20 3c 2f 70 3e 0a 0a 3c 70 72 65 3e 0a 43 6f 70 79 72 69 67 68 74 20 32 30 30 33 2c 32 | ....</p>..<pre>.Copyright.2003,2 |
fc500 | 30 30 34 20 43 6f 6c 69 6e 20 50 65 72 63 69 76 61 6c 0a 41 6c 6c 20 72 69 67 68 74 73 20 72 65 | 004.Colin.Percival.All.rights.re |
fc520 | 73 65 72 76 65 64 0a 0a 52 65 64 69 73 74 72 69 62 75 74 69 6f 6e 20 61 6e 64 20 75 73 65 20 69 | served..Redistribution.and.use.i |
fc540 | 6e 20 73 6f 75 72 63 65 20 61 6e 64 20 62 69 6e 61 72 79 20 66 6f 72 6d 73 2c 20 77 69 74 68 20 | n.source.and.binary.forms,.with. |
fc560 | 6f 72 20 77 69 74 68 6f 75 74 0a 6d 6f 64 69 66 69 63 61 74 69 6f 6e 2c 20 61 72 65 20 70 65 72 | or.without.modification,.are.per |
fc580 | 6d 69 74 74 65 64 20 70 72 6f 76 69 64 69 6e 67 20 74 68 61 74 20 74 68 65 20 66 6f 6c 6c 6f 77 | mitted.providing.that.the.follow |
fc5a0 | 69 6e 67 20 63 6f 6e 64 69 74 69 6f 6e 73 0a 61 72 65 20 6d 65 74 3a 0a 31 2e 20 52 65 64 69 73 | ing.conditions.are.met:.1..Redis |
fc5c0 | 74 72 69 62 75 74 69 6f 6e 73 20 6f 66 20 73 6f 75 72 63 65 20 63 6f 64 65 20 6d 75 73 74 20 72 | tributions.of.source.code.must.r |
fc5e0 | 65 74 61 69 6e 20 74 68 65 20 61 62 6f 76 65 20 63 6f 70 79 72 69 67 68 74 0a 20 20 20 6e 6f 74 | etain.the.above.copyright....not |
fc600 | 69 63 65 2c 20 74 68 69 73 20 6c 69 73 74 20 6f 66 20 63 6f 6e 64 69 74 69 6f 6e 73 20 61 6e 64 | ice,.this.list.of.conditions.and |
fc620 | 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 64 69 73 63 6c 61 69 6d 65 72 2e 0a 32 2e 20 52 65 | .the.following.disclaimer..2..Re |
fc640 | 64 69 73 74 72 69 62 75 74 69 6f 6e 73 20 69 6e 20 62 69 6e 61 72 79 20 66 6f 72 6d 20 6d 75 73 | distributions.in.binary.form.mus |
fc660 | 74 20 72 65 70 72 6f 64 75 63 65 20 74 68 65 20 61 62 6f 76 65 20 63 6f 70 79 72 69 67 68 74 0a | t.reproduce.the.above.copyright. |
fc680 | 20 20 20 6e 6f 74 69 63 65 2c 20 74 68 69 73 20 6c 69 73 74 20 6f 66 20 63 6f 6e 64 69 74 69 6f | ...notice,.this.list.of.conditio |
fc6a0 | 6e 73 20 61 6e 64 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 64 69 73 63 6c 61 69 6d 65 72 20 | ns.and.the.following.disclaimer. |
fc6c0 | 69 6e 20 74 68 65 0a 20 20 20 64 6f 63 75 6d 65 6e 74 61 74 69 6f 6e 20 61 6e 64 2f 6f 72 20 6f | in.the....documentation.and/or.o |
fc6e0 | 74 68 65 72 20 6d 61 74 65 72 69 61 6c 73 20 70 72 6f 76 69 64 65 64 20 77 69 74 68 20 74 68 65 | ther.materials.provided.with.the |
fc700 | 20 64 69 73 74 72 69 62 75 74 69 6f 6e 2e 0a 0a 54 48 49 53 20 53 4f 46 54 57 41 52 45 20 49 53 | .distribution...THIS.SOFTWARE.IS |
fc720 | 20 50 52 4f 56 49 44 45 44 20 42 59 20 54 48 45 20 41 55 54 48 4f 52 20 60 60 41 53 20 49 53 27 | .PROVIDED.BY.THE.AUTHOR.``AS.IS' |
fc740 | 27 20 41 4e 44 20 41 4e 59 20 45 58 50 52 45 53 53 20 4f 52 0a 49 4d 50 4c 49 45 44 20 57 41 52 | '.AND.ANY.EXPRESS.OR.IMPLIED.WAR |
fc760 | 52 41 4e 54 49 45 53 2c 20 49 4e 43 4c 55 44 49 4e 47 2c 20 42 55 54 20 4e 4f 54 20 4c 49 4d 49 | RANTIES,.INCLUDING,.BUT.NOT.LIMI |
fc780 | 54 45 44 20 54 4f 2c 20 54 48 45 20 49 4d 50 4c 49 45 44 0a 57 41 52 52 41 4e 54 49 45 53 20 4f | TED.TO,.THE.IMPLIED.WARRANTIES.O |
fc7a0 | 46 20 4d 45 52 43 48 41 4e 54 41 42 49 4c 49 54 59 20 41 4e 44 20 46 49 54 4e 45 53 53 20 46 4f | F.MERCHANTABILITY.AND.FITNESS.FO |
fc7c0 | 52 20 41 20 50 41 52 54 49 43 55 4c 41 52 20 50 55 52 50 4f 53 45 0a 41 52 45 20 44 49 53 43 4c | R.A.PARTICULAR.PURPOSE.ARE.DISCL |
fc7e0 | 41 49 4d 45 44 2e 20 20 49 4e 20 4e 4f 20 45 56 45 4e 54 20 53 48 41 4c 4c 20 54 48 45 20 41 55 | AIMED...IN.NO.EVENT.SHALL.THE.AU |
fc800 | 54 48 4f 52 20 42 45 20 4c 49 41 42 4c 45 20 46 4f 52 20 41 4e 59 0a 44 49 52 45 43 54 2c 20 49 | THOR.BE.LIABLE.FOR.ANY.DIRECT,.I |
fc820 | 4e 44 49 52 45 43 54 2c 20 49 4e 43 49 44 45 4e 54 41 4c 2c 20 53 50 45 43 49 41 4c 2c 20 45 58 | NDIRECT,.INCIDENTAL,.SPECIAL,.EX |
fc840 | 45 4d 50 4c 41 52 59 2c 20 4f 52 20 43 4f 4e 53 45 51 55 45 4e 54 49 41 4c 0a 44 41 4d 41 47 45 | EMPLARY,.OR.CONSEQUENTIAL.DAMAGE |
fc860 | 53 20 28 49 4e 43 4c 55 44 49 4e 47 2c 20 42 55 54 20 4e 4f 54 20 4c 49 4d 49 54 45 44 20 54 4f | S.(INCLUDING,.BUT.NOT.LIMITED.TO |
fc880 | 2c 20 50 52 4f 43 55 52 45 4d 45 4e 54 20 4f 46 20 53 55 42 53 54 49 54 55 54 45 20 47 4f 4f 44 | ,.PROCUREMENT.OF.SUBSTITUTE.GOOD |
fc8a0 | 53 0a 4f 52 20 53 45 52 56 49 43 45 53 3b 20 4c 4f 53 53 20 4f 46 20 55 53 45 2c 20 44 41 54 41 | S.OR.SERVICES;.LOSS.OF.USE,.DATA |
fc8c0 | 2c 20 4f 52 20 50 52 4f 46 49 54 53 3b 20 4f 52 20 42 55 53 49 4e 45 53 53 20 49 4e 54 45 52 52 | ,.OR.PROFITS;.OR.BUSINESS.INTERR |
fc8e0 | 55 50 54 49 4f 4e 29 0a 48 4f 57 45 56 45 52 20 43 41 55 53 45 44 20 41 4e 44 20 4f 4e 20 41 4e | UPTION).HOWEVER.CAUSED.AND.ON.AN |
fc900 | 59 20 54 48 45 4f 52 59 20 4f 46 20 4c 49 41 42 49 4c 49 54 59 2c 20 57 48 45 54 48 45 52 20 49 | Y.THEORY.OF.LIABILITY,.WHETHER.I |
fc920 | 4e 20 43 4f 4e 54 52 41 43 54 2c 0a 53 54 52 49 43 54 20 4c 49 41 42 49 4c 49 54 59 2c 20 4f 52 | N.CONTRACT,.STRICT.LIABILITY,.OR |
fc940 | 20 54 4f 52 54 20 28 49 4e 43 4c 55 44 49 4e 47 20 4e 45 47 4c 49 47 45 4e 43 45 20 4f 52 20 4f | .TORT.(INCLUDING.NEGLIGENCE.OR.O |
fc960 | 54 48 45 52 57 49 53 45 29 20 41 52 49 53 49 4e 47 0a 49 4e 20 41 4e 59 20 57 41 59 20 4f 55 54 | THERWISE).ARISING.IN.ANY.WAY.OUT |
fc980 | 20 4f 46 20 54 48 45 20 55 53 45 20 4f 46 20 54 48 49 53 20 53 4f 46 54 57 41 52 45 2c 20 45 56 | .OF.THE.USE.OF.THIS.SOFTWARE,.EV |
fc9a0 | 45 4e 20 49 46 20 41 44 56 49 53 45 44 20 4f 46 20 54 48 45 0a 50 4f 53 53 49 42 49 4c 49 54 59 | EN.IF.ADVISED.OF.THE.POSSIBILITY |
fc9c0 | 20 4f 46 20 53 55 43 48 20 44 41 4d 41 47 45 2e 0a 3c 2f 70 72 65 3e 0a 0a 0a 20 20 20 20 3c 68 | .OF.SUCH.DAMAGE..</pre>.......<h |
fc9e0 | 72 3e 0a 0a 20 20 20 20 3c 68 31 3e 3c 61 20 6e 61 6d 65 3d 22 63 61 69 72 6f 22 3e 3c 2f 61 3e | r>......<h1><a.name="cairo"></a> |
fca00 | 43 61 69 72 6f 20 43 6f 6d 70 6f 6e 65 6e 74 20 4c 69 63 65 6e 73 65 73 3c 2f 68 31 3e 0a 0a 20 | Cairo.Component.Licenses</h1>... |
fca20 | 20 20 20 3c 70 20 63 6c 61 73 73 3d 22 63 6f 72 72 65 63 74 6d 65 22 3e 54 68 69 73 20 6c 69 63 | ...<p.class="correctme">This.lic |
fca40 | 65 6e 73 65 2c 20 77 69 74 68 20 64 69 66 66 65 72 65 6e 74 20 63 6f 70 79 72 69 67 68 74 20 68 | ense,.with.different.copyright.h |
fca60 | 6f 6c 64 65 72 73 2c 20 61 70 70 6c 69 65 73 20 0a 20 20 20 20 74 6f 20 63 65 72 74 61 69 6e 20 | olders,.applies......to.certain. |
fca80 | 66 69 6c 65 73 20 69 6e 20 74 68 65 20 64 69 72 65 63 74 6f 72 79 0a 20 20 20 20 3c 73 70 61 6e | files.in.the.directory.....<span |
fcaa0 | 20 63 6c 61 73 73 3d 22 70 61 74 68 22 3e 67 66 78 2f 63 61 69 72 6f 2f 3c 2f 73 70 61 6e 3e 2e | .class="path">gfx/cairo/</span>. |
fcac0 | 20 54 68 65 20 63 6f 70 79 72 69 67 68 74 20 68 6f 6c 64 65 72 73 20 0a 20 20 20 20 61 6e 64 20 | .The.copyright.holders......and. |
fcae0 | 74 68 65 20 61 70 70 6c 69 63 61 62 6c 65 20 72 61 6e 67 65 73 20 6f 66 20 64 61 74 65 73 20 61 | the.applicable.ranges.of.dates.a |
fcb00 | 72 65 20 61 73 20 66 6f 6c 6c 6f 77 73 3a 0a 20 20 20 20 0a 20 20 20 20 3c 75 6c 3e 0a 3c 6c 69 | re.as.follows:..........<ul>.<li |
fcb20 | 3e 32 30 30 34 20 52 69 63 68 61 72 64 20 44 2e 20 57 6f 72 74 68 0a 3c 6c 69 3e 32 30 30 34 2c | >2004.Richard.D..Worth.<li>2004, |
fcb40 | 20 32 30 30 35 20 52 65 64 20 48 61 74 2c 20 49 6e 63 2e 0a 3c 6c 69 3e 32 30 30 33 20 55 53 43 | .2005.Red.Hat,.Inc..<li>2003.USC |
fcb60 | 2c 20 49 6e 66 6f 72 6d 61 74 69 6f 6e 20 53 63 69 65 6e 63 65 73 20 49 6e 73 74 69 74 75 74 65 | ,.Information.Sciences.Institute |
fcb80 | 0a 3c 6c 69 3e 32 30 30 34 20 44 61 76 69 64 20 52 65 76 65 6d 61 6e 0a 3c 6c 69 3e 32 30 30 35 | .<li>2004.David.Reveman.<li>2005 |
fcba0 | 20 4e 6f 76 65 6c 6c 2c 20 49 6e 63 2e 0a 3c 6c 69 3e 32 30 30 34 20 44 61 76 69 64 20 52 65 76 | .Novell,.Inc..<li>2004.David.Rev |
fcbc0 | 65 6d 61 6e 2c 20 50 65 74 65 72 20 4e 69 6c 73 73 6f 6e 0a 3c 6c 69 3e 32 30 30 30 20 4b 65 69 | eman,.Peter.Nilsson.<li>2000.Kei |
fcbe0 | 74 68 20 50 61 63 6b 61 72 64 2c 20 6d 65 6d 62 65 72 20 6f 66 20 54 68 65 20 58 46 72 65 65 38 | th.Packard,.member.of.The.XFree8 |
fcc00 | 36 20 50 72 6f 6a 65 63 74 2c 20 49 6e 63 2e 0a 3c 6c 69 3e 32 30 30 35 20 4c 61 72 73 20 4b 6e | 6.Project,.Inc..<li>2005.Lars.Kn |
fcc20 | 6f 6c 6c 20 26 61 6d 70 3b 20 5a 61 63 6b 20 52 75 73 69 6e 2c 20 54 72 6f 6c 6c 74 65 63 68 0a | oll.&.Zack.Rusin,.Trolltech. |
fcc40 | 3c 6c 69 3e 31 39 39 38 2c 20 32 30 30 30 2c 20 32 30 30 32 2c 20 32 30 30 34 20 4b 65 69 74 68 | <li>1998,.2000,.2002,.2004.Keith |
fcc60 | 20 50 61 63 6b 61 72 64 0a 3c 6c 69 3e 32 30 30 34 20 4e 69 63 68 6f 6c 61 73 20 4d 69 65 6c 6c | .Packard.<li>2004.Nicholas.Miell |
fcc80 | 0a 3c 6c 69 3e 32 30 30 35 20 54 72 6f 6c 6c 74 65 63 68 20 41 53 0a 3c 6c 69 3e 32 30 30 30 20 | .<li>2005.Trolltech.AS.<li>2000. |
fcca0 | 53 75 53 45 2c 20 49 6e 63 2e 0a 3c 6c 69 3e 32 30 30 33 20 43 61 72 6c 20 57 6f 72 74 68 0a 3c | SuSE,.Inc..<li>2003.Carl.Worth.< |
fccc0 | 6c 69 3e 31 39 38 37 2c 20 31 39 38 38 2c 20 31 39 38 39 2c 20 31 39 39 38 20 54 68 65 20 4f 70 | li>1987,.1988,.1989,.1998.The.Op |
fcce0 | 65 6e 20 47 72 6f 75 70 0a 3c 6c 69 3e 31 39 38 37 2c 20 31 39 38 38 2c 20 31 39 38 39 20 44 69 | en.Group.<li>1987,.1988,.1989.Di |
fcd00 | 67 69 74 61 6c 20 45 71 75 69 70 6d 65 6e 74 20 43 6f 72 70 6f 72 61 74 69 6f 6e 2c 20 4d 61 79 | gital.Equipment.Corporation,.May |
fcd20 | 6e 61 72 64 2c 20 4d 61 73 73 61 63 68 75 73 65 74 74 73 2e 20 0a 3c 6c 69 3e 31 39 39 38 20 4b | nard,.Massachusetts...<li>1998.K |
fcd40 | 65 69 74 68 20 50 61 63 6b 61 72 64 0a 3c 6c 69 3e 32 30 30 33 20 52 69 63 68 61 72 64 20 48 65 | eith.Packard.<li>2003.Richard.He |
fcd60 | 6e 64 65 72 73 6f 6e 0a 20 20 20 20 3c 2f 75 6c 3e 0a 20 20 20 20 0a 3c 70 72 65 3e 0a 43 6f 70 | nderson.....</ul>......<pre>.Cop |
fcd80 | 79 72 69 67 68 74 20 26 63 6f 70 79 3b 20 26 6c 74 3b 64 61 74 65 26 67 74 3b 20 26 6c 74 3b 63 | yright.©.<date>.<c |
fcda0 | 6f 70 79 72 69 67 68 74 20 68 6f 6c 64 65 72 26 67 74 3b 0a 0a 50 65 72 6d 69 73 73 69 6f 6e 20 | opyright.holder>..Permission. |
fcdc0 | 74 6f 20 75 73 65 2c 20 63 6f 70 79 2c 20 6d 6f 64 69 66 79 2c 20 64 69 73 74 72 69 62 75 74 65 | to.use,.copy,.modify,.distribute |
fcde0 | 2c 20 61 6e 64 20 73 65 6c 6c 20 74 68 69 73 20 73 6f 66 74 77 61 72 65 0a 61 6e 64 20 69 74 73 | ,.and.sell.this.software.and.its |
fce00 | 20 64 6f 63 75 6d 65 6e 74 61 74 69 6f 6e 20 66 6f 72 20 61 6e 79 20 70 75 72 70 6f 73 65 20 69 | .documentation.for.any.purpose.i |
fce20 | 73 20 68 65 72 65 62 79 20 67 72 61 6e 74 65 64 20 77 69 74 68 6f 75 74 0a 66 65 65 2c 20 70 72 | s.hereby.granted.without.fee,.pr |
fce40 | 6f 76 69 64 65 64 20 74 68 61 74 20 74 68 65 20 61 62 6f 76 65 20 63 6f 70 79 72 69 67 68 74 20 | ovided.that.the.above.copyright. |
fce60 | 6e 6f 74 69 63 65 20 61 70 70 65 61 72 20 69 6e 20 61 6c 6c 20 63 6f 70 69 65 73 0a 61 6e 64 20 | notice.appear.in.all.copies.and. |
fce80 | 74 68 61 74 20 62 6f 74 68 20 74 68 61 74 20 63 6f 70 79 72 69 67 68 74 20 6e 6f 74 69 63 65 20 | that.both.that.copyright.notice. |
fcea0 | 61 6e 64 20 74 68 69 73 20 70 65 72 6d 69 73 73 69 6f 6e 20 6e 6f 74 69 63 65 0a 61 70 70 65 61 | and.this.permission.notice.appea |
fcec0 | 72 20 69 6e 20 73 75 70 70 6f 72 74 69 6e 67 20 64 6f 63 75 6d 65 6e 74 61 74 69 6f 6e 2c 20 61 | r.in.supporting.documentation,.a |
fcee0 | 6e 64 20 74 68 61 74 20 74 68 65 20 6e 61 6d 65 20 6f 66 0a 26 6c 74 3b 63 6f 70 79 72 69 67 68 | nd.that.the.name.of.<copyrigh |
fcf00 | 74 20 68 6f 6c 64 65 72 26 67 74 3b 20 6e 6f 74 20 62 65 20 75 73 65 64 20 69 6e 20 61 64 76 65 | t.holder>.not.be.used.in.adve |
fcf20 | 72 74 69 73 69 6e 67 20 6f 72 20 70 75 62 6c 69 63 69 74 79 20 70 65 72 74 61 69 6e 69 6e 67 20 | rtising.or.publicity.pertaining. |
fcf40 | 74 6f 0a 64 69 73 74 72 69 62 75 74 69 6f 6e 20 6f 66 20 74 68 65 20 73 6f 66 74 77 61 72 65 20 | to.distribution.of.the.software. |
fcf60 | 77 69 74 68 6f 75 74 20 73 70 65 63 69 66 69 63 2c 20 77 72 69 74 74 65 6e 20 70 72 69 6f 72 20 | without.specific,.written.prior. |
fcf80 | 70 65 72 6d 69 73 73 69 6f 6e 2e 0a 26 6c 74 3b 63 6f 70 79 72 69 67 68 74 20 68 6f 6c 64 65 72 | permission..<copyright.holder |
fcfa0 | 26 67 74 3b 20 6d 61 6b 65 73 20 6e 6f 20 72 65 70 72 65 73 65 6e 74 61 74 69 6f 6e 73 20 61 62 | >.makes.no.representations.ab |
fcfc0 | 6f 75 74 20 74 68 65 20 73 75 69 74 61 62 69 6c 69 74 79 20 6f 66 20 74 68 69 73 0a 73 6f 66 74 | out.the.suitability.of.this.soft |
fcfe0 | 77 61 72 65 20 66 6f 72 20 61 6e 79 20 70 75 72 70 6f 73 65 2e 20 49 74 20 69 73 20 70 72 6f 76 | ware.for.any.purpose..It.is.prov |
fd000 | 69 64 65 64 20 22 61 73 20 69 73 22 20 77 69 74 68 6f 75 74 20 65 78 70 72 65 73 73 20 6f 72 0a | ided."as.is".without.express.or. |
fd020 | 69 6d 70 6c 69 65 64 20 77 61 72 72 61 6e 74 79 2e 0a 0a 26 6c 74 3b 43 4f 50 59 52 49 47 48 54 | implied.warranty...<COPYRIGHT |
fd040 | 20 48 4f 4c 44 45 52 26 67 74 3b 20 44 49 53 43 4c 41 49 4d 53 20 41 4c 4c 20 57 41 52 52 41 4e | .HOLDER>.DISCLAIMS.ALL.WARRAN |
fd060 | 54 49 45 53 20 57 49 54 48 20 52 45 47 41 52 44 20 54 4f 20 54 48 49 53 20 53 4f 46 54 57 41 52 | TIES.WITH.REGARD.TO.THIS.SOFTWAR |
fd080 | 45 2c 0a 49 4e 43 4c 55 44 49 4e 47 20 41 4c 4c 20 49 4d 50 4c 49 45 44 20 57 41 52 52 41 4e 54 | E,.INCLUDING.ALL.IMPLIED.WARRANT |
fd0a0 | 49 45 53 20 4f 46 20 4d 45 52 43 48 41 4e 54 41 42 49 4c 49 54 59 20 41 4e 44 20 46 49 54 4e 45 | IES.OF.MERCHANTABILITY.AND.FITNE |
fd0c0 | 53 53 2c 20 49 4e 0a 4e 4f 20 45 56 45 4e 54 20 53 48 41 4c 4c 20 26 6c 74 3b 43 4f 50 59 52 49 | SS,.IN.NO.EVENT.SHALL.<COPYRI |
fd0e0 | 47 48 54 20 48 4f 4c 44 45 52 26 67 74 3b 20 42 45 20 4c 49 41 42 4c 45 20 46 4f 52 20 41 4e 59 | GHT.HOLDER>.BE.LIABLE.FOR.ANY |
fd100 | 20 53 50 45 43 49 41 4c 2c 20 49 4e 44 49 52 45 43 54 20 4f 52 0a 43 4f 4e 53 45 51 55 45 4e 54 | .SPECIAL,.INDIRECT.OR.CONSEQUENT |
fd120 | 49 41 4c 20 44 41 4d 41 47 45 53 20 4f 52 20 41 4e 59 20 44 41 4d 41 47 45 53 20 57 48 41 54 53 | IAL.DAMAGES.OR.ANY.DAMAGES.WHATS |
fd140 | 4f 45 56 45 52 20 52 45 53 55 4c 54 49 4e 47 20 46 52 4f 4d 20 4c 4f 53 53 0a 4f 46 20 55 53 45 | OEVER.RESULTING.FROM.LOSS.OF.USE |
fd160 | 2c 20 44 41 54 41 20 4f 52 20 50 52 4f 46 49 54 53 2c 20 57 48 45 54 48 45 52 20 49 4e 20 41 4e | ,.DATA.OR.PROFITS,.WHETHER.IN.AN |
fd180 | 20 41 43 54 49 4f 4e 20 4f 46 20 43 4f 4e 54 52 41 43 54 2c 0a 4e 45 47 4c 49 47 45 4e 43 45 20 | .ACTION.OF.CONTRACT,.NEGLIGENCE. |
fd1a0 | 4f 52 20 4f 54 48 45 52 20 54 4f 52 54 49 4f 55 53 20 41 43 54 49 4f 4e 2c 20 41 52 49 53 49 4e | OR.OTHER.TORTIOUS.ACTION,.ARISIN |
fd1c0 | 47 20 4f 55 54 20 4f 46 20 4f 52 20 49 4e 20 43 4f 4e 4e 45 43 54 49 4f 4e 0a 57 49 54 48 20 54 | G.OUT.OF.OR.IN.CONNECTION.WITH.T |
fd1e0 | 48 45 20 55 53 45 20 4f 52 20 50 45 52 46 4f 52 4d 41 4e 43 45 20 4f 46 20 54 48 49 53 20 53 4f | HE.USE.OR.PERFORMANCE.OF.THIS.SO |
fd200 | 46 54 57 41 52 45 2e 0a 3c 2f 70 72 65 3e 0a 0a 0a 0a 20 20 20 20 3c 68 72 3e 0a 0a 20 20 20 20 | FTWARE..</pre>........<hr>...... |
fd220 | 3c 68 31 3e 3c 61 20 6e 61 6d 65 3d 22 63 73 69 72 6f 22 3e 3c 2f 61 3e 43 53 49 52 4f 20 41 75 | <h1><a.name="csiro"></a>CSIRO.Au |
fd240 | 73 74 72 61 6c 69 61 20 4c 69 63 65 6e 73 65 3c 2f 68 31 3e 0a 0a 20 20 20 20 3c 70 20 63 6c 61 | stralia.License</h1>......<p.cla |
fd260 | 73 73 3d 22 63 6f 72 72 65 63 74 6d 65 22 3e 54 68 69 73 20 6c 69 63 65 6e 73 65 20 61 70 70 6c | ss="correctme">This.license.appl |
fd280 | 69 65 73 20 74 6f 20 66 69 6c 65 73 20 69 6e 20 74 68 65 20 64 69 72 65 63 74 6f 72 69 65 73 3a | ies.to.files.in.the.directories: |
fd2a0 | 0a 20 20 20 20 20 20 3c 75 6c 3e 0a 20 20 20 20 20 20 20 20 3c 6c 69 3e 3c 73 70 61 6e 20 63 6c | .......<ul>.........<li><span.cl |
fd2c0 | 61 73 73 3d 22 70 61 74 68 22 3e 6d 65 64 69 61 2f 6c 69 62 66 69 73 68 73 6f 75 6e 64 2f 3c 2f | ass="path">media/libfishsound/</ |
fd2e0 | 73 70 61 6e 3e 3c 2f 6c 69 3e 20 20 0a 20 20 20 20 20 20 20 20 3c 6c 69 3e 3c 73 70 61 6e 20 63 | span></li>...........<li><span.c |
fd300 | 6c 61 73 73 3d 22 70 61 74 68 22 3e 6d 65 64 69 61 2f 6c 69 62 6f 67 67 70 6c 61 79 2f 3c 2f 73 | lass="path">media/liboggplay/</s |
fd320 | 70 61 6e 3e 3c 2f 6c 69 3e 20 20 0a 20 20 20 20 20 20 20 20 3c 6c 69 3e 3c 73 70 61 6e 20 63 6c | pan></li>...........<li><span.cl |
fd340 | 61 73 73 3d 22 70 61 74 68 22 3e 6d 65 64 69 61 2f 6c 69 62 6f 67 67 7a 2f 3c 2f 73 70 61 6e 3e | ass="path">media/liboggz/</span> |
fd360 | 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 3c 2f 75 6c 3e 0a 20 20 20 20 3c 2f 70 3e 0a 0a 3c 70 72 65 | </li>.......</ul>.....</p>..<pre |
fd380 | 3e 0a 43 6f 70 79 72 69 67 68 74 20 28 43 29 20 32 30 30 33 20 43 53 49 52 4f 20 41 75 73 74 72 | >.Copyright.(C).2003.CSIRO.Austr |
fd3a0 | 61 6c 69 61 0a 0a 52 65 64 69 73 74 72 69 62 75 74 69 6f 6e 20 61 6e 64 20 75 73 65 20 69 6e 20 | alia..Redistribution.and.use.in. |
fd3c0 | 73 6f 75 72 63 65 20 61 6e 64 20 62 69 6e 61 72 79 20 66 6f 72 6d 73 2c 20 77 69 74 68 20 6f 72 | source.and.binary.forms,.with.or |
fd3e0 | 20 77 69 74 68 6f 75 74 0a 6d 6f 64 69 66 69 63 61 74 69 6f 6e 2c 20 61 72 65 20 70 65 72 6d 69 | .without.modification,.are.permi |
fd400 | 74 74 65 64 20 70 72 6f 76 69 64 65 64 20 74 68 61 74 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 | tted.provided.that.the.following |
fd420 | 20 63 6f 6e 64 69 74 69 6f 6e 73 0a 61 72 65 20 6d 65 74 3a 0a 20 20 20 0a 2d 20 52 65 64 69 73 | .conditions.are.met:.....-.Redis |
fd440 | 74 72 69 62 75 74 69 6f 6e 73 20 6f 66 20 73 6f 75 72 63 65 20 63 6f 64 65 20 6d 75 73 74 20 72 | tributions.of.source.code.must.r |
fd460 | 65 74 61 69 6e 20 74 68 65 20 61 62 6f 76 65 20 63 6f 70 79 72 69 67 68 74 0a 6e 6f 74 69 63 65 | etain.the.above.copyright.notice |
fd480 | 2c 20 74 68 69 73 20 6c 69 73 74 20 6f 66 20 63 6f 6e 64 69 74 69 6f 6e 73 20 61 6e 64 20 74 68 | ,.this.list.of.conditions.and.th |
fd4a0 | 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 64 69 73 63 6c 61 69 6d 65 72 2e 0a 20 20 20 0a 2d 20 52 65 | e.following.disclaimer......-.Re |
fd4c0 | 64 69 73 74 72 69 62 75 74 69 6f 6e 73 20 69 6e 20 62 69 6e 61 72 79 20 66 6f 72 6d 20 6d 75 73 | distributions.in.binary.form.mus |
fd4e0 | 74 20 72 65 70 72 6f 64 75 63 65 20 74 68 65 20 61 62 6f 76 65 20 63 6f 70 79 72 69 67 68 74 0a | t.reproduce.the.above.copyright. |
fd500 | 6e 6f 74 69 63 65 2c 20 74 68 69 73 20 6c 69 73 74 20 6f 66 20 63 6f 6e 64 69 74 69 6f 6e 73 20 | notice,.this.list.of.conditions. |
fd520 | 61 6e 64 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 64 69 73 63 6c 61 69 6d 65 72 20 69 6e 20 | and.the.following.disclaimer.in. |
fd540 | 74 68 65 0a 64 6f 63 75 6d 65 6e 74 61 74 69 6f 6e 20 61 6e 64 2f 6f 72 20 6f 74 68 65 72 20 6d | the.documentation.and/or.other.m |
fd560 | 61 74 65 72 69 61 6c 73 20 70 72 6f 76 69 64 65 64 20 77 69 74 68 20 74 68 65 20 64 69 73 74 72 | aterials.provided.with.the.distr |
fd580 | 69 62 75 74 69 6f 6e 2e 0a 20 20 20 0a 2d 20 4e 65 69 74 68 65 72 20 74 68 65 20 6e 61 6d 65 20 | ibution......-.Neither.the.name. |
fd5a0 | 6f 66 20 74 68 65 20 43 53 49 52 4f 20 6e 6f 72 20 74 68 65 20 6e 61 6d 65 73 20 6f 66 20 69 74 | of.the.CSIRO.nor.the.names.of.it |
fd5c0 | 73 0a 63 6f 6e 74 72 69 62 75 74 6f 72 73 20 6d 61 79 20 62 65 20 75 73 65 64 20 74 6f 20 65 6e | s.contributors.may.be.used.to.en |
fd5e0 | 64 6f 72 73 65 20 6f 72 20 70 72 6f 6d 6f 74 65 20 70 72 6f 64 75 63 74 73 20 64 65 72 69 76 65 | dorse.or.promote.products.derive |
fd600 | 64 20 66 72 6f 6d 0a 74 68 69 73 20 73 6f 66 74 77 61 72 65 20 77 69 74 68 6f 75 74 20 73 70 65 | d.from.this.software.without.spe |
fd620 | 63 69 66 69 63 20 70 72 69 6f 72 20 77 72 69 74 74 65 6e 20 70 65 72 6d 69 73 73 69 6f 6e 2e 0a | cific.prior.written.permission.. |
fd640 | 20 20 20 0a 54 48 49 53 20 53 4f 46 54 57 41 52 45 20 49 53 20 50 52 4f 56 49 44 45 44 20 42 59 | ....THIS.SOFTWARE.IS.PROVIDED.BY |
fd660 | 20 54 48 45 20 43 4f 50 59 52 49 47 48 54 20 48 4f 4c 44 45 52 53 20 41 4e 44 20 43 4f 4e 54 52 | .THE.COPYRIGHT.HOLDERS.AND.CONTR |
fd680 | 49 42 55 54 4f 52 53 0a 60 60 41 53 20 49 53 27 27 20 41 4e 44 20 41 4e 59 20 45 58 50 52 45 53 | IBUTORS.``AS.IS''.AND.ANY.EXPRES |
fd6a0 | 53 20 4f 52 20 49 4d 50 4c 49 45 44 20 57 41 52 52 41 4e 54 49 45 53 2c 20 49 4e 43 4c 55 44 49 | S.OR.IMPLIED.WARRANTIES,.INCLUDI |
fd6c0 | 4e 47 2c 20 42 55 54 20 4e 4f 54 0a 4c 49 4d 49 54 45 44 20 54 4f 2c 20 54 48 45 20 49 4d 50 4c | NG,.BUT.NOT.LIMITED.TO,.THE.IMPL |
fd6e0 | 49 45 44 20 57 41 52 52 41 4e 54 49 45 53 20 4f 46 20 4d 45 52 43 48 41 4e 54 41 42 49 4c 49 54 | IED.WARRANTIES.OF.MERCHANTABILIT |
fd700 | 59 20 41 4e 44 20 46 49 54 4e 45 53 53 20 46 4f 52 20 41 0a 50 41 52 54 49 43 55 4c 41 52 20 50 | Y.AND.FITNESS.FOR.A.PARTICULAR.P |
fd720 | 55 52 50 4f 53 45 20 41 52 45 20 44 49 53 43 4c 41 49 4d 45 44 2e 20 20 49 4e 20 4e 4f 20 45 56 | URPOSE.ARE.DISCLAIMED...IN.NO.EV |
fd740 | 45 4e 54 20 53 48 41 4c 4c 20 54 48 45 20 4f 52 47 41 4e 49 53 41 54 49 4f 4e 20 4f 52 0a 43 4f | ENT.SHALL.THE.ORGANISATION.OR.CO |
fd760 | 4e 54 52 49 42 55 54 4f 52 53 20 42 45 20 4c 49 41 42 4c 45 20 46 4f 52 20 41 4e 59 20 44 49 52 | NTRIBUTORS.BE.LIABLE.FOR.ANY.DIR |
fd780 | 45 43 54 2c 20 49 4e 44 49 52 45 43 54 2c 20 49 4e 43 49 44 45 4e 54 41 4c 2c 20 53 50 45 43 49 | ECT,.INDIRECT,.INCIDENTAL,.SPECI |
fd7a0 | 41 4c 2c 0a 45 58 45 4d 50 4c 41 52 59 2c 20 4f 52 20 43 4f 4e 53 45 51 55 45 4e 54 49 41 4c 20 | AL,.EXEMPLARY,.OR.CONSEQUENTIAL. |
fd7c0 | 44 41 4d 41 47 45 53 20 28 49 4e 43 4c 55 44 49 4e 47 2c 20 42 55 54 20 4e 4f 54 20 4c 49 4d 49 | DAMAGES.(INCLUDING,.BUT.NOT.LIMI |
fd7e0 | 54 45 44 20 54 4f 2c 0a 50 52 4f 43 55 52 45 4d 45 4e 54 20 4f 46 20 53 55 42 53 54 49 54 55 54 | TED.TO,.PROCUREMENT.OF.SUBSTITUT |
fd800 | 45 20 47 4f 4f 44 53 20 4f 52 20 53 45 52 56 49 43 45 53 3b 20 4c 4f 53 53 20 4f 46 20 55 53 45 | E.GOODS.OR.SERVICES;.LOSS.OF.USE |
fd820 | 2c 20 44 41 54 41 2c 20 4f 52 0a 50 52 4f 46 49 54 53 3b 20 4f 52 20 42 55 53 49 4e 45 53 53 20 | ,.DATA,.OR.PROFITS;.OR.BUSINESS. |
fd840 | 49 4e 54 45 52 52 55 50 54 49 4f 4e 29 20 48 4f 57 45 56 45 52 20 43 41 55 53 45 44 20 41 4e 44 | INTERRUPTION).HOWEVER.CAUSED.AND |
fd860 | 20 4f 4e 20 41 4e 59 20 54 48 45 4f 52 59 20 4f 46 0a 4c 49 41 42 49 4c 49 54 59 2c 20 57 48 45 | .ON.ANY.THEORY.OF.LIABILITY,.WHE |
fd880 | 54 48 45 52 20 49 4e 20 43 4f 4e 54 52 41 43 54 2c 20 53 54 52 49 43 54 20 4c 49 41 42 49 4c 49 | THER.IN.CONTRACT,.STRICT.LIABILI |
fd8a0 | 54 59 2c 20 4f 52 20 54 4f 52 54 20 28 49 4e 43 4c 55 44 49 4e 47 0a 4e 45 47 4c 49 47 45 4e 43 | TY,.OR.TORT.(INCLUDING.NEGLIGENC |
fd8c0 | 45 20 4f 52 20 4f 54 48 45 52 57 49 53 45 29 20 41 52 49 53 49 4e 47 20 49 4e 20 41 4e 59 20 57 | E.OR.OTHERWISE).ARISING.IN.ANY.W |
fd8e0 | 41 59 20 4f 55 54 20 4f 46 20 54 48 45 20 55 53 45 20 4f 46 20 54 48 49 53 0a 53 4f 46 54 57 41 | AY.OUT.OF.THE.USE.OF.THIS.SOFTWA |
fd900 | 52 45 2c 20 45 56 45 4e 20 49 46 20 41 44 56 49 53 45 44 20 4f 46 20 54 48 45 20 50 4f 53 53 49 | RE,.EVEN.IF.ADVISED.OF.THE.POSSI |
fd920 | 42 49 4c 49 54 59 20 4f 46 20 53 55 43 48 20 44 41 4d 41 47 45 2e 0a 3c 2f 70 72 65 3e 0a 0a 0a | BILITY.OF.SUCH.DAMAGE..</pre>... |
fd940 | 0a 20 20 20 20 3c 68 72 3e 0a 0a 20 20 20 20 3c 68 31 3e 3c 61 20 6e 61 6d 65 3d 22 68 75 6e 73 | .....<hr>......<h1><a.name="huns |
fd960 | 70 65 6c 6c 2d 6e 6c 22 3e 3c 2f 61 3e 44 75 74 63 68 20 53 70 65 6c 6c 63 68 65 63 6b 69 6e 67 | pell-nl"></a>Dutch.Spellchecking |
fd980 | 20 44 69 63 74 69 6f 6e 61 72 79 3c 2f 68 31 3e 0a 0a 20 20 20 20 3c 70 20 63 6c 61 73 73 3d 22 | .Dictionary</h1>......<p.class=" |
fd9a0 | 63 6f 72 72 65 63 74 6d 65 22 3e 54 68 69 73 20 6c 69 63 65 6e 73 65 20 61 70 70 6c 69 65 73 20 | correctme">This.license.applies. |
fd9c0 | 74 6f 20 63 65 72 74 61 69 6e 20 66 69 6c 65 73 20 69 6e 20 74 68 65 20 64 69 72 65 63 74 6f 72 | to.certain.files.in.the.director |
fd9e0 | 79 0a 20 20 20 20 20 20 3c 73 70 61 6e 20 63 6c 61 73 73 3d 22 70 61 74 68 22 3e 6c 31 30 6e 2f | y.......<span.class="path">l10n/ |
fda00 | 6e 6c 2f 65 78 74 65 6e 73 69 6f 6e 73 2f 73 70 65 6c 6c 63 68 65 63 6b 2f 68 75 6e 73 70 65 6c | nl/extensions/spellcheck/hunspel |
fda20 | 6c 2f 3c 2f 73 70 61 6e 3e 2e 20 28 54 68 69 73 0a 20 20 20 20 20 20 63 6f 64 65 20 6f 6e 6c 79 | l/</span>..(This.......code.only |
fda40 | 20 73 68 69 70 73 20 69 6e 20 73 6f 6d 65 20 6c 6f 63 61 6c 69 7a 65 64 20 76 65 72 73 69 6f 6e | .ships.in.some.localized.version |
fda60 | 73 20 6f 66 20 74 68 69 73 20 70 72 6f 64 75 63 74 2e 29 3c 2f 70 3e 0a 0a 3c 70 72 65 3e 0a 43 | s.of.this.product.)</p>..<pre>.C |
fda80 | 6f 70 79 72 69 67 68 74 20 28 63 29 20 32 30 30 36 2c 20 32 30 30 37 20 4f 70 65 6e 54 61 61 6c | opyright.(c).2006,.2007.OpenTaal |
fdaa0 | 0a 43 6f 70 79 72 69 67 68 74 20 28 63 29 20 32 30 30 31 2c 20 32 30 30 32 2c 20 32 30 30 33 2c | .Copyright.(c).2001,.2002,.2003, |
fdac0 | 20 32 30 30 35 20 53 69 6d 6f 6e 20 42 72 6f 75 77 65 72 20 65 2e 61 2e 0a 43 6f 70 79 72 69 67 | .2005.Simon.Brouwer.e.a..Copyrig |
fdae0 | 68 74 20 28 63 29 20 31 39 39 36 20 4e 65 64 65 72 6c 61 6e 64 73 74 61 6c 69 67 65 20 54 65 78 | ht.(c).1996.Nederlandstalige.Tex |
fdb00 | 20 47 65 62 72 75 69 6b 65 72 73 67 72 6f 65 70 0a 0a 41 6c 6c 20 72 69 67 68 74 73 20 72 65 73 | .Gebruikersgroep..All.rights.res |
fdb20 | 65 72 76 65 64 2e 0a 0a 52 65 64 69 73 74 72 69 62 75 74 69 6f 6e 20 61 6e 64 20 75 73 65 20 69 | erved...Redistribution.and.use.i |
fdb40 | 6e 20 73 6f 75 72 63 65 20 61 6e 64 20 62 69 6e 61 72 79 20 66 6f 72 6d 73 2c 20 77 69 74 68 20 | n.source.and.binary.forms,.with. |
fdb60 | 6f 72 20 77 69 74 68 6f 75 74 20 0a 6d 6f 64 69 66 69 63 61 74 69 6f 6e 2c 20 61 72 65 20 70 65 | or.without..modification,.are.pe |
fdb80 | 72 6d 69 74 74 65 64 20 70 72 6f 76 69 64 65 64 20 74 68 61 74 20 74 68 65 20 66 6f 6c 6c 6f 77 | rmitted.provided.that.the.follow |
fdba0 | 69 6e 67 20 63 6f 6e 64 69 74 69 6f 6e 73 20 61 72 65 20 6d 65 74 3a 0a 0a 2a 20 52 65 64 69 73 | ing.conditions.are.met:..*.Redis |
fdbc0 | 74 72 69 62 75 74 69 6f 6e 73 20 6f 66 20 73 6f 75 72 63 65 20 63 6f 64 65 20 6d 75 73 74 20 72 | tributions.of.source.code.must.r |
fdbe0 | 65 74 61 69 6e 20 74 68 65 20 61 62 6f 76 65 20 63 6f 70 79 72 69 67 68 74 20 6e 6f 74 69 63 65 | etain.the.above.copyright.notice |
fdc00 | 2c 20 74 68 69 73 20 0a 6c 69 73 74 20 6f 66 20 63 6f 6e 64 69 74 69 6f 6e 73 20 61 6e 64 20 74 | ,.this..list.of.conditions.and.t |
fdc20 | 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 64 69 73 63 6c 61 69 6d 65 72 2e 0a 2a 20 52 65 64 69 73 | he.following.disclaimer..*.Redis |
fdc40 | 74 72 69 62 75 74 69 6f 6e 73 20 69 6e 20 62 69 6e 61 72 79 20 66 6f 72 6d 20 6d 75 73 74 20 72 | tributions.in.binary.form.must.r |
fdc60 | 65 70 72 6f 64 75 63 65 20 74 68 65 20 61 62 6f 76 65 20 63 6f 70 79 72 69 67 68 74 20 6e 6f 74 | eproduce.the.above.copyright.not |
fdc80 | 69 63 65 2c 20 0a 74 68 69 73 20 6c 69 73 74 20 6f 66 20 63 6f 6e 64 69 74 69 6f 6e 73 20 61 6e | ice,..this.list.of.conditions.an |
fdca0 | 64 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 64 69 73 63 6c 61 69 6d 65 72 20 69 6e 20 74 68 | d.the.following.disclaimer.in.th |
fdcc0 | 65 20 64 6f 63 75 6d 65 6e 74 61 74 69 6f 6e 20 0a 61 6e 64 2f 6f 72 20 6f 74 68 65 72 20 6d 61 | e.documentation..and/or.other.ma |
fdce0 | 74 65 72 69 61 6c 73 20 70 72 6f 76 69 64 65 64 20 77 69 74 68 20 74 68 65 20 64 69 73 74 72 69 | terials.provided.with.the.distri |
fdd00 | 62 75 74 69 6f 6e 2e 0a 2a 20 4e 65 69 74 68 65 72 20 74 68 65 20 6e 61 6d 65 20 6f 66 20 74 68 | bution..*.Neither.the.name.of.th |
fdd20 | 65 20 4f 70 65 6e 54 61 61 6c 2c 20 53 69 6d 6f 6e 20 42 72 6f 75 77 65 72 20 65 2e 61 2e 2c 20 | e.OpenTaal,.Simon.Brouwer.e.a.,. |
fdd40 | 6f 72 20 4e 65 64 65 72 6c 61 6e 64 73 74 61 6c 69 67 65 20 54 65 78 20 0a 47 65 62 72 75 69 6b | or.Nederlandstalige.Tex..Gebruik |
fdd60 | 65 72 73 67 72 6f 65 70 20 6e 6f 72 20 74 68 65 20 6e 61 6d 65 73 20 6f 66 20 69 74 73 20 63 6f | ersgroep.nor.the.names.of.its.co |
fdd80 | 6e 74 72 69 62 75 74 6f 72 73 20 6d 61 79 20 62 65 20 75 73 65 64 20 74 6f 20 65 6e 64 6f 72 73 | ntributors.may.be.used.to.endors |
fdda0 | 65 20 6f 72 20 0a 70 72 6f 6d 6f 74 65 20 70 72 6f 64 75 63 74 73 20 64 65 72 69 76 65 64 20 66 | e.or..promote.products.derived.f |
fddc0 | 72 6f 6d 20 74 68 69 73 20 73 6f 66 74 77 61 72 65 20 77 69 74 68 6f 75 74 20 73 70 65 63 69 66 | rom.this.software.without.specif |
fdde0 | 69 63 20 70 72 69 6f 72 20 77 72 69 74 74 65 6e 20 0a 70 65 72 6d 69 73 73 69 6f 6e 2e 0a 0a 54 | ic.prior.written..permission...T |
fde00 | 48 49 53 20 53 4f 46 54 57 41 52 45 20 49 53 20 50 52 4f 56 49 44 45 44 20 42 59 20 54 48 45 20 | HIS.SOFTWARE.IS.PROVIDED.BY.THE. |
fde20 | 43 4f 50 59 52 49 47 48 54 20 48 4f 4c 44 45 52 53 20 41 4e 44 20 43 4f 4e 54 52 49 42 55 54 4f | COPYRIGHT.HOLDERS.AND.CONTRIBUTO |
fde40 | 52 53 0a 22 41 53 20 49 53 22 20 41 4e 44 20 41 4e 59 20 45 58 50 52 45 53 53 20 4f 52 20 49 4d | RS."AS.IS".AND.ANY.EXPRESS.OR.IM |
fde60 | 50 4c 49 45 44 20 57 41 52 52 41 4e 54 49 45 53 2c 20 49 4e 43 4c 55 44 49 4e 47 2c 20 42 55 54 | PLIED.WARRANTIES,.INCLUDING,.BUT |
fde80 | 20 4e 4f 54 0a 4c 49 4d 49 54 45 44 20 54 4f 2c 20 54 48 45 20 49 4d 50 4c 49 45 44 20 57 41 52 | .NOT.LIMITED.TO,.THE.IMPLIED.WAR |
fdea0 | 52 41 4e 54 49 45 53 20 4f 46 20 4d 45 52 43 48 41 4e 54 41 42 49 4c 49 54 59 20 41 4e 44 20 46 | RANTIES.OF.MERCHANTABILITY.AND.F |
fdec0 | 49 54 4e 45 53 53 20 46 4f 52 0a 41 20 50 41 52 54 49 43 55 4c 41 52 20 50 55 52 50 4f 53 45 20 | ITNESS.FOR.A.PARTICULAR.PURPOSE. |
fdee0 | 41 52 45 20 44 49 53 43 4c 41 49 4d 45 44 2e 20 49 4e 20 4e 4f 20 45 56 45 4e 54 20 53 48 41 4c | ARE.DISCLAIMED..IN.NO.EVENT.SHAL |
fdf00 | 4c 20 54 48 45 20 43 4f 50 59 52 49 47 48 54 20 4f 57 4e 45 52 20 4f 52 0a 43 4f 4e 54 52 49 42 | L.THE.COPYRIGHT.OWNER.OR.CONTRIB |
fdf20 | 55 54 4f 52 53 20 42 45 20 4c 49 41 42 4c 45 20 46 4f 52 20 41 4e 59 20 44 49 52 45 43 54 2c 20 | UTORS.BE.LIABLE.FOR.ANY.DIRECT,. |
fdf40 | 49 4e 44 49 52 45 43 54 2c 20 49 4e 43 49 44 45 4e 54 41 4c 2c 20 53 50 45 43 49 41 4c 2c 0a 45 | INDIRECT,.INCIDENTAL,.SPECIAL,.E |
fdf60 | 58 45 4d 50 4c 41 52 59 2c 20 4f 52 20 43 4f 4e 53 45 51 55 45 4e 54 49 41 4c 20 44 41 4d 41 47 | XEMPLARY,.OR.CONSEQUENTIAL.DAMAG |
fdf80 | 45 53 20 28 49 4e 43 4c 55 44 49 4e 47 2c 20 42 55 54 20 4e 4f 54 20 4c 49 4d 49 54 45 44 20 54 | ES.(INCLUDING,.BUT.NOT.LIMITED.T |
fdfa0 | 4f 2c 0a 50 52 4f 43 55 52 45 4d 45 4e 54 20 4f 46 20 53 55 42 53 54 49 54 55 54 45 20 47 4f 4f | O,.PROCUREMENT.OF.SUBSTITUTE.GOO |
fdfc0 | 44 53 20 4f 52 20 53 45 52 56 49 43 45 53 3b 20 4c 4f 53 53 20 4f 46 20 55 53 45 2c 20 44 41 54 | DS.OR.SERVICES;.LOSS.OF.USE,.DAT |
fdfe0 | 41 2c 20 4f 52 0a 50 52 4f 46 49 54 53 3b 20 4f 52 20 42 55 53 49 4e 45 53 53 20 49 4e 54 45 52 | A,.OR.PROFITS;.OR.BUSINESS.INTER |
fe000 | 52 55 50 54 49 4f 4e 29 20 48 4f 57 45 56 45 52 20 43 41 55 53 45 44 20 41 4e 44 20 4f 4e 20 41 | RUPTION).HOWEVER.CAUSED.AND.ON.A |
fe020 | 4e 59 20 54 48 45 4f 52 59 20 4f 46 0a 4c 49 41 42 49 4c 49 54 59 2c 20 57 48 45 54 48 45 52 20 | NY.THEORY.OF.LIABILITY,.WHETHER. |
fe040 | 49 4e 20 43 4f 4e 54 52 41 43 54 2c 20 53 54 52 49 43 54 20 4c 49 41 42 49 4c 49 54 59 2c 20 4f | IN.CONTRACT,.STRICT.LIABILITY,.O |
fe060 | 52 20 54 4f 52 54 20 28 49 4e 43 4c 55 44 49 4e 47 0a 4e 45 47 4c 49 47 45 4e 43 45 20 4f 52 20 | R.TORT.(INCLUDING.NEGLIGENCE.OR. |
fe080 | 4f 54 48 45 52 57 49 53 45 29 20 41 52 49 53 49 4e 47 20 49 4e 20 41 4e 59 20 57 41 59 20 4f 55 | OTHERWISE).ARISING.IN.ANY.WAY.OU |
fe0a0 | 54 20 4f 46 20 54 48 45 20 55 53 45 20 4f 46 20 54 48 49 53 0a 53 4f 46 54 57 41 52 45 2c 20 45 | T.OF.THE.USE.OF.THIS.SOFTWARE,.E |
fe0c0 | 56 45 4e 20 49 46 20 41 44 56 49 53 45 44 20 4f 46 20 54 48 45 20 50 4f 53 53 49 42 49 4c 49 54 | VEN.IF.ADVISED.OF.THE.POSSIBILIT |
fe0e0 | 59 20 4f 46 20 53 55 43 48 20 44 41 4d 41 47 45 2e 0a 3c 2f 70 72 65 3e 0a 0a 0a 0a 20 20 20 20 | Y.OF.SUCH.DAMAGE..</pre>........ |
fe100 | 3c 68 72 3e 0a 0a 20 20 20 20 3c 68 31 3e 3c 61 20 6e 61 6d 65 3d 22 65 78 70 61 74 22 3e 3c 2f | <hr>......<h1><a.name="expat"></ |
fe120 | 61 3e 45 78 70 61 74 20 4c 69 63 65 6e 73 65 3c 2f 68 31 3e 0a 0a 20 20 20 20 3c 70 20 63 6c 61 | a>Expat.License</h1>......<p.cla |
fe140 | 73 73 3d 22 63 6f 72 72 65 63 74 6d 65 22 3e 54 68 69 73 20 6c 69 63 65 6e 73 65 20 61 70 70 6c | ss="correctme">This.license.appl |
fe160 | 69 65 73 20 74 6f 20 63 65 72 74 61 69 6e 20 66 69 6c 65 73 20 69 6e 20 74 68 65 20 64 69 72 65 | ies.to.certain.files.in.the.dire |
fe180 | 63 74 6f 72 79 20 0a 20 20 20 20 3c 73 70 61 6e 20 63 6c 61 73 73 3d 22 70 61 74 68 22 3e 70 61 | ctory......<span.class="path">pa |
fe1a0 | 72 73 65 72 2f 65 78 70 61 74 2f 3c 2f 73 70 61 6e 3e 2e 3c 2f 70 3e 0a 0a 3c 70 72 65 3e 0a 43 | rser/expat/</span>.</p>..<pre>.C |
fe1c0 | 6f 70 79 72 69 67 68 74 20 28 63 29 20 31 39 39 38 2c 20 31 39 39 39 2c 20 32 30 30 30 20 54 68 | opyright.(c).1998,.1999,.2000.Th |
fe1e0 | 61 69 20 4f 70 65 6e 20 53 6f 75 72 63 65 20 53 6f 66 74 77 61 72 65 20 43 65 6e 74 65 72 20 4c | ai.Open.Source.Software.Center.L |
fe200 | 74 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | td.............................. |
fe220 | 20 20 61 6e 64 20 43 6c 61 72 6b 20 43 6f 6f 70 65 72 0a 43 6f 70 79 72 69 67 68 74 20 28 63 29 | ..and.Clark.Cooper.Copyright.(c) |
fe240 | 20 32 30 30 31 2c 20 32 30 30 32 2c 20 32 30 30 33 20 45 78 70 61 74 20 6d 61 69 6e 74 61 69 6e | .2001,.2002,.2003.Expat.maintain |
fe260 | 65 72 73 2e 0a 0a 50 65 72 6d 69 73 73 69 6f 6e 20 69 73 20 68 65 72 65 62 79 20 67 72 61 6e 74 | ers...Permission.is.hereby.grant |
fe280 | 65 64 2c 20 66 72 65 65 20 6f 66 20 63 68 61 72 67 65 2c 20 74 6f 20 61 6e 79 20 70 65 72 73 6f | ed,.free.of.charge,.to.any.perso |
fe2a0 | 6e 20 6f 62 74 61 69 6e 69 6e 67 0a 61 20 63 6f 70 79 20 6f 66 20 74 68 69 73 20 73 6f 66 74 77 | n.obtaining.a.copy.of.this.softw |
fe2c0 | 61 72 65 20 61 6e 64 20 61 73 73 6f 63 69 61 74 65 64 20 64 6f 63 75 6d 65 6e 74 61 74 69 6f 6e | are.and.associated.documentation |
fe2e0 | 20 66 69 6c 65 73 20 28 74 68 65 0a 22 53 6f 66 74 77 61 72 65 22 29 2c 20 74 6f 20 64 65 61 6c | .files.(the."Software"),.to.deal |
fe300 | 20 69 6e 20 74 68 65 20 53 6f 66 74 77 61 72 65 20 77 69 74 68 6f 75 74 20 72 65 73 74 72 69 63 | .in.the.Software.without.restric |
fe320 | 74 69 6f 6e 2c 20 69 6e 63 6c 75 64 69 6e 67 0a 77 69 74 68 6f 75 74 20 6c 69 6d 69 74 61 74 69 | tion,.including.without.limitati |
fe340 | 6f 6e 20 74 68 65 20 72 69 67 68 74 73 20 74 6f 20 75 73 65 2c 20 63 6f 70 79 2c 20 6d 6f 64 69 | on.the.rights.to.use,.copy,.modi |
fe360 | 66 79 2c 20 6d 65 72 67 65 2c 20 70 75 62 6c 69 73 68 2c 0a 64 69 73 74 72 69 62 75 74 65 2c 20 | fy,.merge,.publish,.distribute,. |
fe380 | 73 75 62 6c 69 63 65 6e 73 65 2c 20 61 6e 64 2f 6f 72 20 73 65 6c 6c 20 63 6f 70 69 65 73 20 6f | sublicense,.and/or.sell.copies.o |
fe3a0 | 66 20 74 68 65 20 53 6f 66 74 77 61 72 65 2c 20 61 6e 64 20 74 6f 0a 70 65 72 6d 69 74 20 70 65 | f.the.Software,.and.to.permit.pe |
fe3c0 | 72 73 6f 6e 73 20 74 6f 20 77 68 6f 6d 20 74 68 65 20 53 6f 66 74 77 61 72 65 20 69 73 20 66 75 | rsons.to.whom.the.Software.is.fu |
fe3e0 | 72 6e 69 73 68 65 64 20 74 6f 20 64 6f 20 73 6f 2c 20 73 75 62 6a 65 63 74 20 74 6f 0a 74 68 65 | rnished.to.do.so,.subject.to.the |
fe400 | 20 66 6f 6c 6c 6f 77 69 6e 67 20 63 6f 6e 64 69 74 69 6f 6e 73 3a 0a 0a 54 68 65 20 61 62 6f 76 | .following.conditions:..The.abov |
fe420 | 65 20 63 6f 70 79 72 69 67 68 74 20 6e 6f 74 69 63 65 20 61 6e 64 20 74 68 69 73 20 70 65 72 6d | e.copyright.notice.and.this.perm |
fe440 | 69 73 73 69 6f 6e 20 6e 6f 74 69 63 65 20 73 68 61 6c 6c 20 62 65 20 69 6e 63 6c 75 64 65 64 0a | ission.notice.shall.be.included. |
fe460 | 69 6e 20 61 6c 6c 20 63 6f 70 69 65 73 20 6f 72 20 73 75 62 73 74 61 6e 74 69 61 6c 20 70 6f 72 | in.all.copies.or.substantial.por |
fe480 | 74 69 6f 6e 73 20 6f 66 20 74 68 65 20 53 6f 66 74 77 61 72 65 2e 0a 0a 54 48 45 20 53 4f 46 54 | tions.of.the.Software...THE.SOFT |
fe4a0 | 57 41 52 45 20 49 53 20 50 52 4f 56 49 44 45 44 20 22 41 53 20 49 53 22 2c 20 57 49 54 48 4f 55 | WARE.IS.PROVIDED."AS.IS",.WITHOU |
fe4c0 | 54 20 57 41 52 52 41 4e 54 59 20 4f 46 20 41 4e 59 20 4b 49 4e 44 2c 0a 45 58 50 52 45 53 53 20 | T.WARRANTY.OF.ANY.KIND,.EXPRESS. |
fe4e0 | 4f 52 20 49 4d 50 4c 49 45 44 2c 20 49 4e 43 4c 55 44 49 4e 47 20 42 55 54 20 4e 4f 54 20 4c 49 | OR.IMPLIED,.INCLUDING.BUT.NOT.LI |
fe500 | 4d 49 54 45 44 20 54 4f 20 54 48 45 20 57 41 52 52 41 4e 54 49 45 53 20 4f 46 0a 4d 45 52 43 48 | MITED.TO.THE.WARRANTIES.OF.MERCH |
fe520 | 41 4e 54 41 42 49 4c 49 54 59 2c 20 46 49 54 4e 45 53 53 20 46 4f 52 20 41 20 50 41 52 54 49 43 | ANTABILITY,.FITNESS.FOR.A.PARTIC |
fe540 | 55 4c 41 52 20 50 55 52 50 4f 53 45 20 41 4e 44 20 4e 4f 4e 49 4e 46 52 49 4e 47 45 4d 45 4e 54 | ULAR.PURPOSE.AND.NONINFRINGEMENT |
fe560 | 2e 0a 49 4e 20 4e 4f 20 45 56 45 4e 54 20 53 48 41 4c 4c 20 54 48 45 20 41 55 54 48 4f 52 53 20 | ..IN.NO.EVENT.SHALL.THE.AUTHORS. |
fe580 | 4f 52 20 43 4f 50 59 52 49 47 48 54 20 48 4f 4c 44 45 52 53 20 42 45 20 4c 49 41 42 4c 45 20 46 | OR.COPYRIGHT.HOLDERS.BE.LIABLE.F |
fe5a0 | 4f 52 20 41 4e 59 0a 43 4c 41 49 4d 2c 20 44 41 4d 41 47 45 53 20 4f 52 20 4f 54 48 45 52 20 4c | OR.ANY.CLAIM,.DAMAGES.OR.OTHER.L |
fe5c0 | 49 41 42 49 4c 49 54 59 2c 20 57 48 45 54 48 45 52 20 49 4e 20 41 4e 20 41 43 54 49 4f 4e 20 4f | IABILITY,.WHETHER.IN.AN.ACTION.O |
fe5e0 | 46 20 43 4f 4e 54 52 41 43 54 2c 0a 54 4f 52 54 20 4f 52 20 4f 54 48 45 52 57 49 53 45 2c 20 41 | F.CONTRACT,.TORT.OR.OTHERWISE,.A |
fe600 | 52 49 53 49 4e 47 20 46 52 4f 4d 2c 20 4f 55 54 20 4f 46 20 4f 52 20 49 4e 20 43 4f 4e 4e 45 43 | RISING.FROM,.OUT.OF.OR.IN.CONNEC |
fe620 | 54 49 4f 4e 20 57 49 54 48 20 54 48 45 0a 53 4f 46 54 57 41 52 45 20 4f 52 20 54 48 45 20 55 53 | TION.WITH.THE.SOFTWARE.OR.THE.US |
fe640 | 45 20 4f 52 20 4f 54 48 45 52 20 44 45 41 4c 49 4e 47 53 20 49 4e 20 54 48 45 20 53 4f 46 54 57 | E.OR.OTHER.DEALINGS.IN.THE.SOFTW |
fe660 | 41 52 45 2e 0a 3c 2f 70 72 65 3e 0a 0a 0a 0a 20 20 20 20 3c 68 72 3e 0a 0a 20 20 20 20 3c 68 31 | ARE..</pre>........<hr>......<h1 |
fe680 | 3e 3c 61 20 6e 61 6d 65 3d 22 67 72 6f 77 6c 22 3e 3c 2f 61 3e 47 72 6f 77 6c 20 4c 69 63 65 6e | ><a.name="growl"></a>Growl.Licen |
fe6a0 | 73 65 3c 2f 68 31 3e 0a 0a 20 20 20 20 3c 70 20 63 6c 61 73 73 3d 22 63 6f 72 72 65 63 74 6d 65 | se</h1>......<p.class="correctme |
fe6c0 | 22 3e 54 68 69 73 20 6c 69 63 65 6e 73 65 20 61 70 70 6c 69 65 73 20 74 6f 20 63 65 72 74 61 69 | ">This.license.applies.to.certai |
fe6e0 | 6e 20 66 69 6c 65 73 20 69 6e 20 74 68 65 20 64 69 72 65 63 74 6f 72 79 0a 20 20 20 20 3c 73 70 | n.files.in.the.directory.....<sp |
fe700 | 61 6e 20 63 6c 61 73 73 3d 22 70 61 74 68 22 3e 74 6f 6f 6c 6b 69 74 2f 63 6f 6d 70 6f 6e 65 6e | an.class="path">toolkit/componen |
fe720 | 74 73 2f 61 6c 65 72 74 73 2f 73 72 63 2f 6d 61 63 2f 67 72 6f 77 6c 2f 3c 2f 73 70 61 6e 3e 20 | ts/alerts/src/mac/growl/</span>. |
fe740 | 61 6e 64 0a 20 20 20 20 3c 73 70 61 6e 20 63 6c 61 73 73 3d 22 70 61 74 68 22 3e 63 61 6d 69 6e | and.....<span.class="path">camin |
fe760 | 6f 2f 73 72 63 2f 65 78 74 65 6e 73 69 6f 6e 73 2f 3c 2f 73 70 61 6e 3e 2e 20 28 54 68 69 73 20 | o/src/extensions/</span>..(This. |
fe780 | 63 6f 64 65 20 6f 6e 6c 79 20 73 68 69 70 73 20 69 6e 20 0a 20 20 20 20 74 68 65 20 4d 61 63 20 | code.only.ships.in......the.Mac. |
fe7a0 | 4f 53 20 58 20 76 65 72 73 69 6f 6e 20 6f 66 20 74 68 65 20 70 72 6f 64 75 63 74 2e 29 0a 0a 3c | OS.X.version.of.the.product.)..< |
fe7c0 | 70 72 65 3e 0a 43 6f 70 79 72 69 67 68 74 20 28 63 29 20 54 68 65 20 47 72 6f 77 6c 20 50 72 6f | pre>.Copyright.(c).The.Growl.Pro |
fe7e0 | 6a 65 63 74 2c 20 32 30 30 34 2d 32 30 30 37 0a 41 6c 6c 20 72 69 67 68 74 73 20 72 65 73 65 72 | ject,.2004-2007.All.rights.reser |
fe800 | 76 65 64 2e 0a 0a 52 65 64 69 73 74 72 69 62 75 74 69 6f 6e 20 61 6e 64 20 75 73 65 20 69 6e 20 | ved...Redistribution.and.use.in. |
fe820 | 73 6f 75 72 63 65 20 61 6e 64 20 62 69 6e 61 72 79 20 66 6f 72 6d 73 2c 20 77 69 74 68 20 6f 72 | source.and.binary.forms,.with.or |
fe840 | 20 77 69 74 68 6f 75 74 20 6d 6f 64 69 66 69 63 61 74 69 6f 6e 2c 0a 61 72 65 20 70 65 72 6d 69 | .without.modification,.are.permi |
fe860 | 74 74 65 64 20 70 72 6f 76 69 64 65 64 20 74 68 61 74 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 | tted.provided.that.the.following |
fe880 | 20 63 6f 6e 64 69 74 69 6f 6e 73 20 61 72 65 20 6d 65 74 3a 0a 0a 0a 31 2e 20 52 65 64 69 73 74 | .conditions.are.met:...1..Redist |
fe8a0 | 72 69 62 75 74 69 6f 6e 73 20 6f 66 20 73 6f 75 72 63 65 20 63 6f 64 65 20 6d 75 73 74 20 72 65 | ributions.of.source.code.must.re |
fe8c0 | 74 61 69 6e 20 74 68 65 20 61 62 6f 76 65 20 63 6f 70 79 72 69 67 68 74 0a 20 20 20 6e 6f 74 69 | tain.the.above.copyright....noti |
fe8e0 | 63 65 2c 20 74 68 69 73 20 6c 69 73 74 20 6f 66 20 63 6f 6e 64 69 74 69 6f 6e 73 20 61 6e 64 20 | ce,.this.list.of.conditions.and. |
fe900 | 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 64 69 73 63 6c 61 69 6d 65 72 2e 0a 32 2e 20 52 65 64 | the.following.disclaimer..2..Red |
fe920 | 69 73 74 72 69 62 75 74 69 6f 6e 73 20 69 6e 20 62 69 6e 61 72 79 20 66 6f 72 6d 20 6d 75 73 74 | istributions.in.binary.form.must |
fe940 | 20 72 65 70 72 6f 64 75 63 65 20 74 68 65 20 61 62 6f 76 65 20 63 6f 70 79 72 69 67 68 74 0a 20 | .reproduce.the.above.copyright.. |
fe960 | 20 20 6e 6f 74 69 63 65 2c 20 74 68 69 73 20 6c 69 73 74 20 6f 66 20 63 6f 6e 64 69 74 69 6f 6e | ..notice,.this.list.of.condition |
fe980 | 73 20 61 6e 64 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 64 69 73 63 6c 61 69 6d 65 72 20 69 | s.and.the.following.disclaimer.i |
fe9a0 | 6e 20 74 68 65 0a 20 20 20 64 6f 63 75 6d 65 6e 74 61 74 69 6f 6e 20 61 6e 64 2f 6f 72 20 6f 74 | n.the....documentation.and/or.ot |
fe9c0 | 68 65 72 20 6d 61 74 65 72 69 61 6c 73 20 70 72 6f 76 69 64 65 64 20 77 69 74 68 20 74 68 65 20 | her.materials.provided.with.the. |
fe9e0 | 64 69 73 74 72 69 62 75 74 69 6f 6e 2e 0a 33 2e 20 4e 65 69 74 68 65 72 20 74 68 65 20 6e 61 6d | distribution..3..Neither.the.nam |
fea00 | 65 20 6f 66 20 47 72 6f 77 6c 20 6e 6f 72 20 74 68 65 20 6e 61 6d 65 73 20 6f 66 20 69 74 73 20 | e.of.Growl.nor.the.names.of.its. |
fea20 | 63 6f 6e 74 72 69 62 75 74 6f 72 73 0a 20 20 20 6d 61 79 20 62 65 20 75 73 65 64 20 74 6f 20 65 | contributors....may.be.used.to.e |
fea40 | 6e 64 6f 72 73 65 20 6f 72 20 70 72 6f 6d 6f 74 65 20 70 72 6f 64 75 63 74 73 20 64 65 72 69 76 | ndorse.or.promote.products.deriv |
fea60 | 65 64 20 66 72 6f 6d 20 74 68 69 73 20 73 6f 66 74 77 61 72 65 0a 20 20 20 77 69 74 68 6f 75 74 | ed.from.this.software....without |
fea80 | 20 73 70 65 63 69 66 69 63 20 70 72 69 6f 72 20 77 72 69 74 74 65 6e 20 70 65 72 6d 69 73 73 69 | .specific.prior.written.permissi |
feaa0 | 6f 6e 2e 0a 0a 0a 54 48 49 53 20 53 4f 46 54 57 41 52 45 20 49 53 20 50 52 4f 56 49 44 45 44 20 | on....THIS.SOFTWARE.IS.PROVIDED. |
feac0 | 42 59 20 54 48 45 20 43 4f 50 59 52 49 47 48 54 20 48 4f 4c 44 45 52 53 20 41 4e 44 20 43 4f 4e | BY.THE.COPYRIGHT.HOLDERS.AND.CON |
feae0 | 54 52 49 42 55 54 4f 52 53 20 22 41 53 20 49 53 22 20 41 4e 44 0a 41 4e 59 20 45 58 50 52 45 53 | TRIBUTORS."AS.IS".AND.ANY.EXPRES |
feb00 | 53 20 4f 52 20 49 4d 50 4c 49 45 44 20 57 41 52 52 41 4e 54 49 45 53 2c 20 49 4e 43 4c 55 44 49 | S.OR.IMPLIED.WARRANTIES,.INCLUDI |
feb20 | 4e 47 2c 20 42 55 54 20 4e 4f 54 20 4c 49 4d 49 54 45 44 20 54 4f 2c 20 54 48 45 20 49 4d 50 4c | NG,.BUT.NOT.LIMITED.TO,.THE.IMPL |
feb40 | 49 45 44 0a 57 41 52 52 41 4e 54 49 45 53 20 4f 46 20 4d 45 52 43 48 41 4e 54 41 42 49 4c 49 54 | IED.WARRANTIES.OF.MERCHANTABILIT |
feb60 | 59 20 41 4e 44 20 46 49 54 4e 45 53 53 20 46 4f 52 20 41 20 50 41 52 54 49 43 55 4c 41 52 20 50 | Y.AND.FITNESS.FOR.A.PARTICULAR.P |
feb80 | 55 52 50 4f 53 45 20 41 52 45 0a 44 49 53 43 4c 41 49 4d 45 44 2e 20 49 4e 20 4e 4f 20 45 56 45 | URPOSE.ARE.DISCLAIMED..IN.NO.EVE |
feba0 | 4e 54 20 53 48 41 4c 4c 20 54 48 45 20 43 4f 50 59 52 49 47 48 54 20 4f 57 4e 45 52 20 4f 52 20 | NT.SHALL.THE.COPYRIGHT.OWNER.OR. |
febc0 | 43 4f 4e 54 52 49 42 55 54 4f 52 53 20 42 45 20 4c 49 41 42 4c 45 20 46 4f 52 0a 41 4e 59 20 44 | CONTRIBUTORS.BE.LIABLE.FOR.ANY.D |
febe0 | 49 52 45 43 54 2c 20 49 4e 44 49 52 45 43 54 2c 20 49 4e 43 49 44 45 4e 54 41 4c 2c 20 53 50 45 | IRECT,.INDIRECT,.INCIDENTAL,.SPE |
fec00 | 43 49 41 4c 2c 20 45 58 45 4d 50 4c 41 52 59 2c 20 4f 52 20 43 4f 4e 53 45 51 55 45 4e 54 49 41 | CIAL,.EXEMPLARY,.OR.CONSEQUENTIA |
fec20 | 4c 20 44 41 4d 41 47 45 53 0a 28 49 4e 43 4c 55 44 49 4e 47 2c 20 42 55 54 20 4e 4f 54 20 4c 49 | L.DAMAGES.(INCLUDING,.BUT.NOT.LI |
fec40 | 4d 49 54 45 44 20 54 4f 2c 20 50 52 4f 43 55 52 45 4d 45 4e 54 20 4f 46 20 53 55 42 53 54 49 54 | MITED.TO,.PROCUREMENT.OF.SUBSTIT |
fec60 | 55 54 45 20 47 4f 4f 44 53 20 4f 52 20 53 45 52 56 49 43 45 53 3b 0a 4c 4f 53 53 20 4f 46 20 55 | UTE.GOODS.OR.SERVICES;.LOSS.OF.U |
fec80 | 53 45 2c 20 44 41 54 41 2c 20 4f 52 20 50 52 4f 46 49 54 53 3b 20 4f 52 20 42 55 53 49 4e 45 53 | SE,.DATA,.OR.PROFITS;.OR.BUSINES |
feca0 | 53 20 49 4e 54 45 52 52 55 50 54 49 4f 4e 29 20 48 4f 57 45 56 45 52 20 43 41 55 53 45 44 20 41 | S.INTERRUPTION).HOWEVER.CAUSED.A |
fecc0 | 4e 44 20 4f 4e 0a 41 4e 59 20 54 48 45 4f 52 59 20 4f 46 20 4c 49 41 42 49 4c 49 54 59 2c 20 57 | ND.ON.ANY.THEORY.OF.LIABILITY,.W |
fece0 | 48 45 54 48 45 52 20 49 4e 20 43 4f 4e 54 52 41 43 54 2c 20 53 54 52 49 43 54 20 4c 49 41 42 49 | HETHER.IN.CONTRACT,.STRICT.LIABI |
fed00 | 4c 49 54 59 2c 20 4f 52 20 54 4f 52 54 0a 28 49 4e 43 4c 55 44 49 4e 47 20 4e 45 47 4c 49 47 45 | LITY,.OR.TORT.(INCLUDING.NEGLIGE |
fed20 | 4e 43 45 20 4f 52 20 4f 54 48 45 52 57 49 53 45 29 20 41 52 49 53 49 4e 47 20 49 4e 20 41 4e 59 | NCE.OR.OTHERWISE).ARISING.IN.ANY |
fed40 | 20 57 41 59 20 4f 55 54 20 4f 46 20 54 48 45 20 55 53 45 20 4f 46 20 54 48 49 53 0a 53 4f 46 54 | .WAY.OUT.OF.THE.USE.OF.THIS.SOFT |
fed60 | 57 41 52 45 2c 20 45 56 45 4e 20 49 46 20 41 44 56 49 53 45 44 20 4f 46 20 54 48 45 20 50 4f 53 | WARE,.EVEN.IF.ADVISED.OF.THE.POS |
fed80 | 53 49 42 49 4c 49 54 59 20 4f 46 20 53 55 43 48 20 44 41 4d 41 47 45 2e 0a 3c 2f 70 72 65 3e 0a | SIBILITY.OF.SUCH.DAMAGE..</pre>. |
feda0 | 0a 0a 20 20 20 20 3c 68 72 3e 0a 0a 20 20 20 20 3c 68 31 3e 3c 61 20 6e 61 6d 65 3d 22 6a 70 6e | ......<hr>......<h1><a.name="jpn |
fedc0 | 69 63 22 3e 3c 2f 61 3e 4a 61 70 61 6e 20 4e 65 74 77 6f 72 6b 20 49 6e 66 6f 72 6d 61 74 69 6f | ic"></a>Japan.Network.Informatio |
fede0 | 6e 20 43 65 6e 74 65 72 20 4c 69 63 65 6e 73 65 3c 2f 68 31 3e 0a 0a 20 20 20 20 3c 70 20 63 6c | n.Center.License</h1>......<p.cl |
fee00 | 61 73 73 3d 22 63 6f 72 72 65 63 74 6d 65 22 3e 54 68 69 73 20 6c 69 63 65 6e 73 65 20 61 70 70 | ass="correctme">This.license.app |
fee20 | 6c 69 65 73 20 74 6f 20 63 65 72 74 61 69 6e 20 66 69 6c 65 73 20 69 6e 20 74 68 65 20 0a 20 20 | lies.to.certain.files.in.the.... |
fee40 | 20 20 64 69 72 65 63 74 6f 72 79 20 3c 73 70 61 6e 20 63 6c 61 73 73 3d 22 70 61 74 68 22 3e 6e | ..directory.<span.class="path">n |
fee60 | 65 74 77 65 72 6b 2f 64 6e 73 2f 73 72 63 2f 3c 2f 73 70 61 6e 3e 2e 3c 2f 70 3e 0a 0a 3c 70 72 | etwerk/dns/src/</span>.</p>..<pr |
fee80 | 65 3e 0a 43 6f 70 79 72 69 67 68 74 20 28 63 29 20 32 30 30 31 2c 32 30 30 32 20 4a 61 70 61 6e | e>.Copyright.(c).2001,2002.Japan |
feea0 | 20 4e 65 74 77 6f 72 6b 20 49 6e 66 6f 72 6d 61 74 69 6f 6e 20 43 65 6e 74 65 72 2e 0a 41 6c 6c | .Network.Information.Center..All |
feec0 | 20 72 69 67 68 74 73 20 72 65 73 65 72 76 65 64 2e 0a 20 0a 42 79 20 75 73 69 6e 67 20 74 68 69 | .rights.reserved....By.using.thi |
feee0 | 73 20 66 69 6c 65 2c 20 79 6f 75 20 61 67 72 65 65 20 74 6f 20 74 68 65 20 74 65 72 6d 73 20 61 | s.file,.you.agree.to.the.terms.a |
fef00 | 6e 64 20 63 6f 6e 64 69 74 69 6f 6e 73 20 73 65 74 20 66 6f 72 74 68 20 62 65 6c 6f 77 2e 0a 0a | nd.conditions.set.forth.below... |
fef20 | 20 20 20 20 20 4c 49 43 45 4e 53 45 20 54 45 52 4d 53 20 41 4e 44 20 43 4f 4e 44 49 54 49 4f 4e | .....LICENSE.TERMS.AND.CONDITION |
fef40 | 53 20 0a 0a 54 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 4c 69 63 65 6e 73 65 20 54 65 72 6d 73 20 | S...The.following.License.Terms. |
fef60 | 61 6e 64 20 43 6f 6e 64 69 74 69 6f 6e 73 20 61 70 70 6c 79 2c 20 75 6e 6c 65 73 73 20 61 20 64 | and.Conditions.apply,.unless.a.d |
fef80 | 69 66 66 65 72 65 6e 74 0a 6c 69 63 65 6e 73 65 20 69 73 20 6f 62 74 61 69 6e 65 64 20 66 72 6f | ifferent.license.is.obtained.fro |
fefa0 | 6d 20 4a 61 70 61 6e 20 4e 65 74 77 6f 72 6b 20 49 6e 66 6f 72 6d 61 74 69 6f 6e 20 43 65 6e 74 | m.Japan.Network.Information.Cent |
fefc0 | 65 72 20 28 22 4a 50 4e 49 43 22 29 2c 0a 61 20 4a 61 70 61 6e 65 73 65 20 61 73 73 6f 63 69 61 | er.("JPNIC"),.a.Japanese.associa |
fefe0 | 74 69 6f 6e 2c 20 4b 6f 6b 75 73 61 69 2d 4b 6f 75 67 79 6f 75 2d 4b 61 6e 64 61 20 42 6c 64 67 | tion,.Kokusai-Kougyou-Kanda.Bldg |
ff000 | 20 36 46 2c 20 32 2d 33 2d 34 20 55 63 68 69 2d 4b 61 6e 64 61 2c 0a 43 68 69 79 6f 64 61 2d 6b | .6F,.2-3-4.Uchi-Kanda,.Chiyoda-k |
ff020 | 75 2c 20 54 6f 6b 79 6f 20 31 30 31 2d 30 30 34 37 2c 20 4a 61 70 61 6e 2e 0a 0a 31 2e 20 55 73 | u,.Tokyo.101-0047,.Japan...1..Us |
ff040 | 65 2c 20 4d 6f 64 69 66 69 63 61 74 69 6f 6e 20 61 6e 64 20 52 65 64 69 73 74 72 69 62 75 74 69 | e,.Modification.and.Redistributi |
ff060 | 6f 6e 20 28 69 6e 63 6c 75 64 69 6e 67 20 64 69 73 74 72 69 62 75 74 69 6f 6e 20 6f 66 20 61 6e | on.(including.distribution.of.an |
ff080 | 79 0a 20 20 20 6d 6f 64 69 66 69 65 64 20 6f 72 20 64 65 72 69 76 65 64 20 77 6f 72 6b 29 20 69 | y....modified.or.derived.work).i |
ff0a0 | 6e 20 73 6f 75 72 63 65 20 61 6e 64 2f 6f 72 20 62 69 6e 61 72 79 20 66 6f 72 6d 73 20 69 73 20 | n.source.and/or.binary.forms.is. |
ff0c0 | 70 65 72 6d 69 74 74 65 64 0a 20 20 20 75 6e 64 65 72 20 74 68 69 73 20 4c 69 63 65 6e 73 65 20 | permitted....under.this.License. |
ff0e0 | 54 65 72 6d 73 20 61 6e 64 20 43 6f 6e 64 69 74 69 6f 6e 73 2e 0a 0a 32 2e 20 52 65 64 69 73 74 | Terms.and.Conditions...2..Redist |
ff100 | 72 69 62 75 74 69 6f 6e 20 6f 66 20 73 6f 75 72 63 65 20 63 6f 64 65 20 6d 75 73 74 20 72 65 74 | ribution.of.source.code.must.ret |
ff120 | 61 69 6e 20 74 68 65 20 63 6f 70 79 72 69 67 68 74 20 6e 6f 74 69 63 65 73 20 61 73 20 74 68 65 | ain.the.copyright.notices.as.the |
ff140 | 79 0a 20 20 20 61 70 70 65 61 72 20 69 6e 20 65 61 63 68 20 73 6f 75 72 63 65 20 63 6f 64 65 20 | y....appear.in.each.source.code. |
ff160 | 66 69 6c 65 2c 20 74 68 69 73 20 4c 69 63 65 6e 73 65 20 54 65 72 6d 73 20 61 6e 64 20 43 6f 6e | file,.this.License.Terms.and.Con |
ff180 | 64 69 74 69 6f 6e 73 2e 0a 0a 33 2e 20 52 65 64 69 73 74 72 69 62 75 74 69 6f 6e 20 69 6e 20 62 | ditions...3..Redistribution.in.b |
ff1a0 | 69 6e 61 72 79 20 66 6f 72 6d 20 6d 75 73 74 20 72 65 70 72 6f 64 75 63 65 20 74 68 65 20 43 6f | inary.form.must.reproduce.the.Co |
ff1c0 | 70 79 72 69 67 68 74 20 4e 6f 74 69 63 65 2c 0a 20 20 20 74 68 69 73 20 4c 69 63 65 6e 73 65 20 | pyright.Notice,....this.License. |
ff1e0 | 54 65 72 6d 73 20 61 6e 64 20 43 6f 6e 64 69 74 69 6f 6e 73 2c 20 69 6e 20 74 68 65 20 64 6f 63 | Terms.and.Conditions,.in.the.doc |
ff200 | 75 6d 65 6e 74 61 74 69 6f 6e 20 61 6e 64 2f 6f 72 20 6f 74 68 65 72 0a 20 20 20 6d 61 74 65 72 | umentation.and/or.other....mater |
ff220 | 69 61 6c 73 20 70 72 6f 76 69 64 65 64 20 77 69 74 68 20 74 68 65 20 64 69 73 74 72 69 62 75 74 | ials.provided.with.the.distribut |
ff240 | 69 6f 6e 2e 20 20 46 6f 72 20 74 68 65 20 70 75 72 70 6f 73 65 73 20 6f 66 20 62 69 6e 61 72 79 | ion...For.the.purposes.of.binary |
ff260 | 0a 20 20 20 64 69 73 74 72 69 62 75 74 69 6f 6e 20 74 68 65 20 22 43 6f 70 79 72 69 67 68 74 20 | ....distribution.the."Copyright. |
ff280 | 4e 6f 74 69 63 65 22 20 72 65 66 65 72 73 20 74 6f 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 | Notice".refers.to.the.following. |
ff2a0 | 6c 61 6e 67 75 61 67 65 3a 0a 20 20 20 22 43 6f 70 79 72 69 67 68 74 20 28 63 29 20 32 30 30 30 | language:...."Copyright.(c).2000 |
ff2c0 | 2d 32 30 30 32 20 4a 61 70 61 6e 20 4e 65 74 77 6f 72 6b 20 49 6e 66 6f 72 6d 61 74 69 6f 6e 20 | -2002.Japan.Network.Information. |
ff2e0 | 43 65 6e 74 65 72 2e 20 20 41 6c 6c 20 72 69 67 68 74 73 20 72 65 73 65 72 76 65 64 2e 22 0a 0a | Center...All.rights.reserved.".. |
ff300 | 34 2e 20 54 68 65 20 6e 61 6d 65 20 6f 66 20 4a 50 4e 49 43 20 6d 61 79 20 6e 6f 74 20 62 65 20 | 4..The.name.of.JPNIC.may.not.be. |
ff320 | 75 73 65 64 20 74 6f 20 65 6e 64 6f 72 73 65 20 6f 72 20 70 72 6f 6d 6f 74 65 20 70 72 6f 64 75 | used.to.endorse.or.promote.produ |
ff340 | 63 74 73 0a 20 20 20 64 65 72 69 76 65 64 20 66 72 6f 6d 20 74 68 69 73 20 53 6f 66 74 77 61 72 | cts....derived.from.this.Softwar |
ff360 | 65 20 77 69 74 68 6f 75 74 20 73 70 65 63 69 66 69 63 20 70 72 69 6f 72 20 77 72 69 74 74 65 6e | e.without.specific.prior.written |
ff380 | 20 61 70 70 72 6f 76 61 6c 20 6f 66 0a 20 20 20 4a 50 4e 49 43 2e 0a 0a 35 2e 20 44 69 73 63 6c | .approval.of....JPNIC...5..Discl |
ff3a0 | 61 69 6d 65 72 2f 4c 69 6d 69 74 61 74 69 6f 6e 20 6f 66 20 4c 69 61 62 69 6c 69 74 79 3a 20 54 | aimer/Limitation.of.Liability:.T |
ff3c0 | 48 49 53 20 53 4f 46 54 57 41 52 45 20 49 53 20 50 52 4f 56 49 44 45 44 20 42 59 20 4a 50 4e 49 | HIS.SOFTWARE.IS.PROVIDED.BY.JPNI |
ff3e0 | 43 0a 20 20 20 22 41 53 20 49 53 22 20 41 4e 44 20 41 4e 59 20 45 58 50 52 45 53 53 20 4f 52 20 | C...."AS.IS".AND.ANY.EXPRESS.OR. |
ff400 | 49 4d 50 4c 49 45 44 20 57 41 52 52 41 4e 54 49 45 53 2c 20 49 4e 43 4c 55 44 49 4e 47 2c 20 42 | IMPLIED.WARRANTIES,.INCLUDING,.B |
ff420 | 55 54 20 4e 4f 54 0a 20 20 20 4c 49 4d 49 54 45 44 20 54 4f 2c 20 54 48 45 20 49 4d 50 4c 49 45 | UT.NOT....LIMITED.TO,.THE.IMPLIE |
ff440 | 44 20 57 41 52 52 41 4e 54 49 45 53 20 4f 46 20 4d 45 52 43 48 41 4e 54 41 42 49 4c 49 54 59 20 | D.WARRANTIES.OF.MERCHANTABILITY. |
ff460 | 41 4e 44 20 46 49 54 4e 45 53 53 20 46 4f 52 20 41 0a 20 20 20 50 41 52 54 49 43 55 4c 41 52 20 | AND.FITNESS.FOR.A....PARTICULAR. |
ff480 | 50 55 52 50 4f 53 45 20 41 52 45 20 44 49 53 43 4c 41 49 4d 45 44 2e 20 20 49 4e 20 4e 4f 20 45 | PURPOSE.ARE.DISCLAIMED...IN.NO.E |
ff4a0 | 56 45 4e 54 20 53 48 41 4c 4c 20 4a 50 4e 49 43 20 42 45 20 4c 49 41 42 4c 45 0a 20 20 20 46 4f | VENT.SHALL.JPNIC.BE.LIABLE....FO |
ff4c0 | 52 20 41 4e 59 20 44 49 52 45 43 54 2c 20 49 4e 44 49 52 45 43 54 2c 20 49 4e 43 49 44 45 4e 54 | R.ANY.DIRECT,.INDIRECT,.INCIDENT |
ff4e0 | 41 4c 2c 20 53 50 45 43 49 41 4c 2c 20 45 58 45 4d 50 4c 41 52 59 2c 20 4f 52 0a 20 20 20 43 4f | AL,.SPECIAL,.EXEMPLARY,.OR....CO |
ff500 | 4e 53 45 51 55 45 4e 54 49 41 4c 20 44 41 4d 41 47 45 53 20 28 49 4e 43 4c 55 44 49 4e 47 2c 20 | NSEQUENTIAL.DAMAGES.(INCLUDING,. |
ff520 | 42 55 54 20 4e 4f 54 20 4c 49 4d 49 54 45 44 20 54 4f 2c 20 50 52 4f 43 55 52 45 4d 45 4e 54 20 | BUT.NOT.LIMITED.TO,.PROCUREMENT. |
ff540 | 4f 46 0a 20 20 20 53 55 42 53 54 49 54 55 54 45 20 47 4f 4f 44 53 20 4f 52 20 53 45 52 56 49 43 | OF....SUBSTITUTE.GOODS.OR.SERVIC |
ff560 | 45 53 3b 20 4c 4f 53 53 20 4f 46 20 55 53 45 2c 20 44 41 54 41 2c 20 4f 52 20 50 52 4f 46 49 54 | ES;.LOSS.OF.USE,.DATA,.OR.PROFIT |
ff580 | 53 3b 20 4f 52 0a 20 20 20 42 55 53 49 4e 45 53 53 20 49 4e 54 45 52 52 55 50 54 49 4f 4e 29 20 | S;.OR....BUSINESS.INTERRUPTION). |
ff5a0 | 48 4f 57 45 56 45 52 20 43 41 55 53 45 44 20 41 4e 44 20 4f 4e 20 41 4e 59 20 54 48 45 4f 52 59 | HOWEVER.CAUSED.AND.ON.ANY.THEORY |
ff5c0 | 20 4f 46 20 4c 49 41 42 49 4c 49 54 59 2c 0a 20 20 20 57 48 45 54 48 45 52 20 49 4e 20 43 4f 4e | .OF.LIABILITY,....WHETHER.IN.CON |
ff5e0 | 54 52 41 43 54 2c 20 53 54 52 49 43 54 20 4c 49 41 42 49 4c 49 54 59 2c 20 4f 52 20 54 4f 52 54 | TRACT,.STRICT.LIABILITY,.OR.TORT |
ff600 | 20 28 49 4e 43 4c 55 44 49 4e 47 20 4e 45 47 4c 49 47 45 4e 43 45 20 4f 52 0a 20 20 20 4f 54 48 | .(INCLUDING.NEGLIGENCE.OR....OTH |
ff620 | 45 52 57 49 53 45 29 20 41 52 49 53 49 4e 47 20 49 4e 20 41 4e 59 20 57 41 59 20 4f 55 54 20 4f | ERWISE).ARISING.IN.ANY.WAY.OUT.O |
ff640 | 46 20 54 48 45 20 55 53 45 20 4f 46 20 54 48 49 53 20 53 4f 46 54 57 41 52 45 2c 20 45 56 45 4e | F.THE.USE.OF.THIS.SOFTWARE,.EVEN |
ff660 | 20 49 46 0a 20 20 20 41 44 56 49 53 45 44 20 4f 46 20 54 48 45 20 50 4f 53 53 49 42 49 4c 49 54 | .IF....ADVISED.OF.THE.POSSIBILIT |
ff680 | 59 20 4f 46 20 53 55 43 48 20 44 41 4d 41 47 45 53 2e 0a 3c 2f 70 72 65 3e 0a 0a 20 20 20 20 3c | Y.OF.SUCH.DAMAGES..</pre>......< |
ff6a0 | 68 72 3e 0a 0a 20 20 20 20 3c 68 31 3e 3c 61 20 6e 61 6d 65 3d 22 6a 65 70 22 3e 3c 2f 61 3e 4a | hr>......<h1><a.name="jep"></a>J |
ff6c0 | 61 76 61 20 45 6d 62 65 64 64 69 6e 67 20 50 6c 75 67 69 6e 20 4c 69 63 65 6e 73 65 3c 2f 68 31 | ava.Embedding.Plugin.License</h1 |
ff6e0 | 3e 0a 0a 20 20 20 20 3c 70 20 63 6c 61 73 73 3d 22 63 6f 72 72 65 63 74 6d 65 22 3e 54 68 69 73 | >......<p.class="correctme">This |
ff700 | 20 6c 69 63 65 6e 73 65 20 61 70 70 6c 69 65 73 20 74 6f 20 63 65 72 74 61 69 6e 20 66 69 6c 65 | .license.applies.to.certain.file |
ff720 | 73 20 69 6e 20 74 68 65 20 64 69 72 65 63 74 6f 72 79 0a 20 20 20 20 3c 73 70 61 6e 20 63 6c 61 | s.in.the.directory.....<span.cla |
ff740 | 73 73 3d 22 70 61 74 68 22 3e 70 6c 75 67 69 6e 2f 6f 6a 69 2f 4a 45 50 2f 3c 2f 73 70 61 6e 3e | ss="path">plugin/oji/JEP/</span> |
ff760 | 2e 20 28 54 68 69 73 20 63 6f 64 65 20 6f 6e 6c 79 20 73 68 69 70 73 20 69 6e 20 74 68 65 0a 20 | ..(This.code.only.ships.in.the.. |
ff780 | 20 20 20 4d 61 63 20 4f 53 20 58 20 76 65 72 73 69 6f 6e 20 6f 66 20 74 68 69 73 20 70 72 6f 64 | ...Mac.OS.X.version.of.this.prod |
ff7a0 | 75 63 74 2e 29 0a 20 20 20 20 3c 2f 70 3e 0a 0a 3c 70 72 65 3e 0a 43 6f 70 79 72 69 67 68 74 20 | uct.).....</p>..<pre>.Copyright. |
ff7c0 | 28 63 29 20 32 30 30 34 2c 20 53 74 65 76 65 6e 20 4d 69 63 68 61 75 64 2c 20 41 6c 6c 20 52 69 | (c).2004,.Steven.Michaud,.All.Ri |
ff7e0 | 67 68 74 73 20 52 65 73 65 72 76 65 64 0a 0a 50 65 72 6d 69 73 73 69 6f 6e 20 69 73 20 68 65 72 | ghts.Reserved..Permission.is.her |
ff800 | 65 62 79 20 67 72 61 6e 74 65 64 2c 20 66 72 65 65 20 6f 66 20 63 68 61 72 67 65 2c 20 74 6f 20 | eby.granted,.free.of.charge,.to. |
ff820 | 61 6e 79 20 70 65 72 73 6f 6e 20 6f 62 74 61 69 6e 69 6e 67 0a 61 20 63 6f 70 79 20 6f 66 20 74 | any.person.obtaining.a.copy.of.t |
ff840 | 68 69 73 20 73 6f 66 74 77 61 72 65 20 61 6e 64 20 61 73 73 6f 63 69 61 74 65 64 20 64 6f 63 75 | his.software.and.associated.docu |
ff860 | 6d 65 6e 74 61 74 69 6f 6e 20 66 69 6c 65 73 20 28 74 68 65 0a 22 53 6f 66 74 77 61 72 65 22 29 | mentation.files.(the."Software") |
ff880 | 2c 20 74 6f 20 64 65 61 6c 20 69 6e 20 74 68 65 20 53 6f 66 74 77 61 72 65 20 77 69 74 68 6f 75 | ,.to.deal.in.the.Software.withou |
ff8a0 | 74 20 72 65 73 74 72 69 63 74 69 6f 6e 2c 20 69 6e 63 6c 75 64 69 6e 67 0a 77 69 74 68 6f 75 74 | t.restriction,.including.without |
ff8c0 | 20 6c 69 6d 69 74 61 74 69 6f 6e 20 74 68 65 20 72 69 67 68 74 73 20 74 6f 20 75 73 65 2c 20 63 | .limitation.the.rights.to.use,.c |
ff8e0 | 6f 70 79 2c 20 6d 6f 64 69 66 79 2c 20 6d 65 72 67 65 2c 20 70 75 62 6c 69 73 68 2c 0a 64 69 73 | opy,.modify,.merge,.publish,.dis |
ff900 | 74 72 69 62 75 74 65 2c 20 73 75 62 6c 69 63 65 6e 73 65 2c 20 61 6e 64 2f 6f 72 20 73 65 6c 6c | tribute,.sublicense,.and/or.sell |
ff920 | 20 63 6f 70 69 65 73 20 6f 66 20 74 68 65 20 53 6f 66 74 77 61 72 65 2c 20 61 6e 64 20 74 6f 0a | .copies.of.the.Software,.and.to. |
ff940 | 70 65 72 6d 69 74 20 70 65 72 73 6f 6e 73 20 74 6f 20 77 68 6f 6d 20 74 68 65 20 53 6f 66 74 77 | permit.persons.to.whom.the.Softw |
ff960 | 61 72 65 20 69 73 20 66 75 72 6e 69 73 68 65 64 20 74 6f 20 64 6f 20 73 6f 2c 20 73 75 62 6a 65 | are.is.furnished.to.do.so,.subje |
ff980 | 63 74 20 74 6f 0a 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 63 6f 6e 64 69 74 69 6f 6e 73 3a 0a | ct.to.the.following.conditions:. |
ff9a0 | 0a 54 68 65 20 61 62 6f 76 65 20 63 6f 70 79 72 69 67 68 74 20 6e 6f 74 69 63 65 20 61 6e 64 20 | .The.above.copyright.notice.and. |
ff9c0 | 74 68 69 73 20 70 65 72 6d 69 73 73 69 6f 6e 20 6e 6f 74 69 63 65 20 73 68 61 6c 6c 20 62 65 0a | this.permission.notice.shall.be. |
ff9e0 | 69 6e 63 6c 75 64 65 64 20 69 6e 20 61 6c 6c 20 63 6f 70 69 65 73 20 6f 72 20 73 75 62 73 74 61 | included.in.all.copies.or.substa |
ffa00 | 6e 74 69 61 6c 20 70 6f 72 74 69 6f 6e 73 20 6f 66 20 74 68 65 20 53 6f 66 74 77 61 72 65 2e 0a | ntial.portions.of.the.Software.. |
ffa20 | 0a 54 48 45 20 53 4f 46 54 57 41 52 45 20 49 53 20 50 52 4f 56 49 44 45 44 20 22 41 53 20 49 53 | .THE.SOFTWARE.IS.PROVIDED."AS.IS |
ffa40 | 22 2c 20 57 49 54 48 4f 55 54 20 57 41 52 52 41 4e 54 59 20 4f 46 20 41 4e 59 20 4b 49 4e 44 2c | ",.WITHOUT.WARRANTY.OF.ANY.KIND, |
ffa60 | 0a 45 58 50 52 45 53 53 20 4f 52 20 49 4d 50 4c 49 45 44 2c 20 49 4e 43 4c 55 44 49 4e 47 20 42 | .EXPRESS.OR.IMPLIED,.INCLUDING.B |
ffa80 | 55 54 20 4e 4f 54 20 4c 49 4d 49 54 45 44 20 54 4f 20 54 48 45 20 57 41 52 52 41 4e 54 49 45 53 | UT.NOT.LIMITED.TO.THE.WARRANTIES |
ffaa0 | 20 4f 46 0a 4d 45 52 43 48 41 4e 54 41 42 49 4c 49 54 59 2c 20 46 49 54 4e 45 53 53 20 46 4f 52 | .OF.MERCHANTABILITY,.FITNESS.FOR |
ffac0 | 20 41 20 50 41 52 54 49 43 55 4c 41 52 20 50 55 52 50 4f 53 45 20 41 4e 44 20 4e 4f 4e 49 4e 46 | .A.PARTICULAR.PURPOSE.AND.NONINF |
ffae0 | 52 49 4e 47 45 4d 45 4e 54 2e 0a 49 4e 20 4e 4f 20 45 56 45 4e 54 20 53 48 41 4c 4c 20 54 48 45 | RINGEMENT..IN.NO.EVENT.SHALL.THE |
ffb00 | 20 41 55 54 48 4f 52 53 20 4f 52 20 43 4f 50 59 52 49 47 48 54 20 48 4f 4c 44 45 52 53 20 42 45 | .AUTHORS.OR.COPYRIGHT.HOLDERS.BE |
ffb20 | 20 4c 49 41 42 4c 45 20 46 4f 52 20 41 4e 59 0a 43 4c 41 49 4d 2c 20 44 41 4d 41 47 45 53 20 4f | .LIABLE.FOR.ANY.CLAIM,.DAMAGES.O |
ffb40 | 52 20 4f 54 48 45 52 20 4c 49 41 42 49 4c 49 54 59 2c 20 57 48 45 54 48 45 52 20 49 4e 20 41 4e | R.OTHER.LIABILITY,.WHETHER.IN.AN |
ffb60 | 20 41 43 54 49 4f 4e 20 4f 46 20 43 4f 4e 54 52 41 43 54 2c 0a 54 4f 52 54 20 4f 52 20 4f 54 48 | .ACTION.OF.CONTRACT,.TORT.OR.OTH |
ffb80 | 45 52 57 49 53 45 2c 20 41 52 49 53 49 4e 47 20 46 52 4f 4d 2c 20 4f 55 54 20 4f 46 20 4f 52 20 | ERWISE,.ARISING.FROM,.OUT.OF.OR. |
ffba0 | 49 4e 20 43 4f 4e 4e 45 43 54 49 4f 4e 20 57 49 54 48 20 54 48 45 0a 53 4f 46 54 57 41 52 45 20 | IN.CONNECTION.WITH.THE.SOFTWARE. |
ffbc0 | 4f 52 20 54 48 45 20 55 53 45 20 4f 52 20 4f 54 48 45 52 20 44 45 41 4c 49 4e 47 53 20 49 4e 20 | OR.THE.USE.OR.OTHER.DEALINGS.IN. |
ffbe0 | 54 48 45 20 53 4f 46 54 57 41 52 45 2e 0a 3c 2f 70 72 65 3e 0a 0a 0a 20 20 20 20 3c 68 72 3e 0a | THE.SOFTWARE..</pre>.......<hr>. |
ffc00 | 0a 20 20 20 20 3c 68 31 3e 3c 61 20 6e 61 6d 65 3d 22 6a 65 6d 61 6c 6c 6f 63 22 3e 3c 2f 61 3e | .....<h1><a.name="jemalloc"></a> |
ffc20 | 6a 65 6d 61 6c 6c 6f 63 20 4c 69 63 65 6e 73 65 3c 2f 68 31 3e 0a 0a 20 20 20 20 3c 70 20 63 6c | jemalloc.License</h1>......<p.cl |
ffc40 | 61 73 73 3d 22 63 6f 72 72 65 63 74 6d 65 22 3e 54 68 69 73 20 6c 69 63 65 6e 73 65 20 61 70 70 | ass="correctme">This.license.app |
ffc60 | 6c 69 65 73 20 74 6f 20 66 69 6c 65 73 20 69 6e 20 74 68 65 20 64 69 72 65 63 74 6f 72 79 0a 20 | lies.to.files.in.the.directory.. |
ffc80 | 20 20 20 3c 73 70 61 6e 20 63 6c 61 73 73 3d 22 70 61 74 68 22 3e 6d 65 6d 6f 72 79 2f 6a 65 6d | ...<span.class="path">memory/jem |
ffca0 | 61 6c 6c 6f 63 2f 3c 2f 73 70 61 6e 3e 2e 0a 20 20 20 20 3c 2f 70 3e 0a 0a 3c 70 72 65 3e 0a 43 | alloc/</span>......</p>..<pre>.C |
ffcc0 | 6f 70 79 72 69 67 68 74 20 28 43 29 20 32 30 30 36 2d 32 30 30 38 20 4a 61 73 6f 6e 20 45 76 61 | opyright.(C).2006-2008.Jason.Eva |
ffce0 | 6e 73 20 26 6c 74 3b 6a 61 73 6f 6e 65 40 46 72 65 65 42 53 44 2e 6f 72 67 26 67 74 3b 2e 0a 41 | ns.<jasone@FreeBSD.org>..A |
ffd00 | 6c 6c 20 72 69 67 68 74 73 20 72 65 73 65 72 76 65 64 2e 0a 0a 52 65 64 69 73 74 72 69 62 75 74 | ll.rights.reserved...Redistribut |
ffd20 | 69 6f 6e 20 61 6e 64 20 75 73 65 20 69 6e 20 73 6f 75 72 63 65 20 61 6e 64 20 62 69 6e 61 72 79 | ion.and.use.in.source.and.binary |
ffd40 | 20 66 6f 72 6d 73 2c 20 77 69 74 68 20 6f 72 20 77 69 74 68 6f 75 74 0a 6d 6f 64 69 66 69 63 61 | .forms,.with.or.without.modifica |
ffd60 | 74 69 6f 6e 2c 20 61 72 65 20 70 65 72 6d 69 74 74 65 64 20 70 72 6f 76 69 64 65 64 20 74 68 61 | tion,.are.permitted.provided.tha |
ffd80 | 74 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 63 6f 6e 64 69 74 69 6f 6e 73 0a 61 72 65 20 6d | t.the.following.conditions.are.m |
ffda0 | 65 74 3a 0a 31 2e 20 52 65 64 69 73 74 72 69 62 75 74 69 6f 6e 73 20 6f 66 20 73 6f 75 72 63 65 | et:.1..Redistributions.of.source |
ffdc0 | 20 63 6f 64 65 20 6d 75 73 74 20 72 65 74 61 69 6e 20 74 68 65 20 61 62 6f 76 65 20 63 6f 70 79 | .code.must.retain.the.above.copy |
ffde0 | 72 69 67 68 74 0a 20 20 20 6e 6f 74 69 63 65 28 73 29 2c 20 74 68 69 73 20 6c 69 73 74 20 6f 66 | right....notice(s),.this.list.of |
ffe00 | 20 63 6f 6e 64 69 74 69 6f 6e 73 20 61 6e 64 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 64 69 | .conditions.and.the.following.di |
ffe20 | 73 63 6c 61 69 6d 65 72 20 61 73 0a 20 20 20 74 68 65 20 66 69 72 73 74 20 6c 69 6e 65 73 20 6f | sclaimer.as....the.first.lines.o |
ffe40 | 66 20 74 68 69 73 20 66 69 6c 65 20 75 6e 6d 6f 64 69 66 69 65 64 20 6f 74 68 65 72 20 74 68 61 | f.this.file.unmodified.other.tha |
ffe60 | 6e 20 74 68 65 20 70 6f 73 73 69 62 6c 65 0a 20 20 20 61 64 64 69 74 69 6f 6e 20 6f 66 20 6f 6e | n.the.possible....addition.of.on |
ffe80 | 65 20 6f 72 20 6d 6f 72 65 20 63 6f 70 79 72 69 67 68 74 20 6e 6f 74 69 63 65 73 2e 0a 32 2e 20 | e.or.more.copyright.notices..2.. |
ffea0 | 52 65 64 69 73 74 72 69 62 75 74 69 6f 6e 73 20 69 6e 20 62 69 6e 61 72 79 20 66 6f 72 6d 20 6d | Redistributions.in.binary.form.m |
ffec0 | 75 73 74 20 72 65 70 72 6f 64 75 63 65 20 74 68 65 20 61 62 6f 76 65 20 63 6f 70 79 72 69 67 68 | ust.reproduce.the.above.copyrigh |
ffee0 | 74 0a 20 20 20 6e 6f 74 69 63 65 28 73 29 2c 20 74 68 69 73 20 6c 69 73 74 20 6f 66 20 63 6f 6e | t....notice(s),.this.list.of.con |
fff00 | 64 69 74 69 6f 6e 73 20 61 6e 64 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 64 69 73 63 6c 61 | ditions.and.the.following.discla |
fff20 | 69 6d 65 72 20 69 6e 0a 20 20 20 74 68 65 20 64 6f 63 75 6d 65 6e 74 61 74 69 6f 6e 20 61 6e 64 | imer.in....the.documentation.and |
fff40 | 2f 6f 72 20 6f 74 68 65 72 20 6d 61 74 65 72 69 61 6c 73 20 70 72 6f 76 69 64 65 64 20 77 69 74 | /or.other.materials.provided.wit |
fff60 | 68 20 74 68 65 0a 20 20 20 64 69 73 74 72 69 62 75 74 69 6f 6e 2e 0a 0a 54 48 49 53 20 53 4f 46 | h.the....distribution...THIS.SOF |
fff80 | 54 57 41 52 45 20 49 53 20 50 52 4f 56 49 44 45 44 20 42 59 20 54 48 45 20 43 4f 50 59 52 49 47 | TWARE.IS.PROVIDED.BY.THE.COPYRIG |
fffa0 | 48 54 20 48 4f 4c 44 45 52 28 53 29 20 60 60 41 53 20 49 53 27 27 20 41 4e 44 20 41 4e 59 0a 45 | HT.HOLDER(S).``AS.IS''.AND.ANY.E |
fffc0 | 58 50 52 45 53 53 20 4f 52 20 49 4d 50 4c 49 45 44 20 57 41 52 52 41 4e 54 49 45 53 2c 20 49 4e | XPRESS.OR.IMPLIED.WARRANTIES,.IN |
fffe0 | 43 4c 55 44 49 4e 47 2c 20 42 55 54 20 4e 4f 54 20 4c 49 4d 49 54 45 44 20 54 4f 2c 20 54 48 45 | CLUDING,.BUT.NOT.LIMITED.TO,.THE |
100000 | 0a 49 4d 50 4c 49 45 44 20 57 41 52 52 41 4e 54 49 45 53 20 4f 46 20 4d 45 52 43 48 41 4e 54 41 | .IMPLIED.WARRANTIES.OF.MERCHANTA |
100020 | 42 49 4c 49 54 59 20 41 4e 44 20 46 49 54 4e 45 53 53 20 46 4f 52 20 41 20 50 41 52 54 49 43 55 | BILITY.AND.FITNESS.FOR.A.PARTICU |
100040 | 4c 41 52 0a 50 55 52 50 4f 53 45 20 41 52 45 20 44 49 53 43 4c 41 49 4d 45 44 2e 20 20 49 4e 20 | LAR.PURPOSE.ARE.DISCLAIMED...IN. |
100060 | 4e 4f 20 45 56 45 4e 54 20 53 48 41 4c 4c 20 54 48 45 20 43 4f 50 59 52 49 47 48 54 20 48 4f 4c | NO.EVENT.SHALL.THE.COPYRIGHT.HOL |
100080 | 44 45 52 28 53 29 20 42 45 0a 4c 49 41 42 4c 45 20 46 4f 52 20 41 4e 59 20 44 49 52 45 43 54 2c | DER(S).BE.LIABLE.FOR.ANY.DIRECT, |
1000a0 | 20 49 4e 44 49 52 45 43 54 2c 20 49 4e 43 49 44 45 4e 54 41 4c 2c 20 53 50 45 43 49 41 4c 2c 20 | .INDIRECT,.INCIDENTAL,.SPECIAL,. |
1000c0 | 45 58 45 4d 50 4c 41 52 59 2c 20 4f 52 0a 43 4f 4e 53 45 51 55 45 4e 54 49 41 4c 20 44 41 4d 41 | EXEMPLARY,.OR.CONSEQUENTIAL.DAMA |
1000e0 | 47 45 53 20 28 49 4e 43 4c 55 44 49 4e 47 2c 20 42 55 54 20 4e 4f 54 20 4c 49 4d 49 54 45 44 20 | GES.(INCLUDING,.BUT.NOT.LIMITED. |
100100 | 54 4f 2c 20 50 52 4f 43 55 52 45 4d 45 4e 54 20 4f 46 0a 53 55 42 53 54 49 54 55 54 45 20 47 4f | TO,.PROCUREMENT.OF.SUBSTITUTE.GO |
100120 | 4f 44 53 20 4f 52 20 53 45 52 56 49 43 45 53 3b 20 4c 4f 53 53 20 4f 46 20 55 53 45 2c 20 44 41 | ODS.OR.SERVICES;.LOSS.OF.USE,.DA |
100140 | 54 41 2c 20 4f 52 20 50 52 4f 46 49 54 53 3b 20 4f 52 0a 42 55 53 49 4e 45 53 53 20 49 4e 54 45 | TA,.OR.PROFITS;.OR.BUSINESS.INTE |
100160 | 52 52 55 50 54 49 4f 4e 29 20 48 4f 57 45 56 45 52 20 43 41 55 53 45 44 20 41 4e 44 20 4f 4e 20 | RRUPTION).HOWEVER.CAUSED.AND.ON. |
100180 | 41 4e 59 20 54 48 45 4f 52 59 20 4f 46 20 4c 49 41 42 49 4c 49 54 59 2c 0a 57 48 45 54 48 45 52 | ANY.THEORY.OF.LIABILITY,.WHETHER |
1001a0 | 20 49 4e 20 43 4f 4e 54 52 41 43 54 2c 20 53 54 52 49 43 54 20 4c 49 41 42 49 4c 49 54 59 2c 20 | .IN.CONTRACT,.STRICT.LIABILITY,. |
1001c0 | 4f 52 20 54 4f 52 54 20 28 49 4e 43 4c 55 44 49 4e 47 20 4e 45 47 4c 49 47 45 4e 43 45 0a 4f 52 | OR.TORT.(INCLUDING.NEGLIGENCE.OR |
1001e0 | 20 4f 54 48 45 52 57 49 53 45 29 20 41 52 49 53 49 4e 47 20 49 4e 20 41 4e 59 20 57 41 59 20 4f | .OTHERWISE).ARISING.IN.ANY.WAY.O |
100200 | 55 54 20 4f 46 20 54 48 45 20 55 53 45 20 4f 46 20 54 48 49 53 20 53 4f 46 54 57 41 52 45 2c 0a | UT.OF.THE.USE.OF.THIS.SOFTWARE,. |
100220 | 45 56 45 4e 20 49 46 20 41 44 56 49 53 45 44 20 4f 46 20 54 48 45 20 50 4f 53 53 49 42 49 4c 49 | EVEN.IF.ADVISED.OF.THE.POSSIBILI |
100240 | 54 59 20 4f 46 20 53 55 43 48 20 44 41 4d 41 47 45 2e 0a 3c 2f 70 72 65 3e 0a 0a 0a 0a 20 20 20 | TY.OF.SUCH.DAMAGE..</pre>....... |
100260 | 20 3c 68 72 3e 0a 0a 20 20 20 20 3c 68 31 3e 3c 61 20 6e 61 6d 65 3d 22 68 75 6e 73 70 65 6c 6c | .<hr>......<h1><a.name="hunspell |
100280 | 2d 6c 74 22 3e 3c 2f 61 3e 4c 69 74 68 75 61 6e 69 61 6e 20 53 70 65 6c 6c 63 68 65 63 6b 69 6e | -lt"></a>Lithuanian.Spellcheckin |
1002a0 | 67 20 44 69 63 74 69 6f 6e 61 72 79 3c 2f 68 31 3e 0a 0a 20 20 20 20 3c 70 20 63 6c 61 73 73 3d | g.Dictionary</h1>......<p.class= |
1002c0 | 22 63 6f 72 72 65 63 74 6d 65 22 3e 54 68 69 73 20 6c 69 63 65 6e 73 65 20 61 70 70 6c 69 65 73 | "correctme">This.license.applies |
1002e0 | 20 74 6f 20 63 65 72 74 61 69 6e 20 66 69 6c 65 73 20 69 6e 20 74 68 65 20 64 69 72 65 63 74 6f | .to.certain.files.in.the.directo |
100300 | 72 79 0a 20 20 20 20 20 20 3c 73 70 61 6e 20 63 6c 61 73 73 3d 22 70 61 74 68 22 3e 6c 31 30 6e | ry.......<span.class="path">l10n |
100320 | 2f 6c 74 2f 65 78 74 65 6e 73 69 6f 6e 73 2f 73 70 65 6c 6c 63 68 65 63 6b 2f 68 75 6e 73 70 65 | /lt/extensions/spellcheck/hunspe |
100340 | 6c 6c 2f 3c 2f 73 70 61 6e 3e 2e 20 28 54 68 69 73 0a 20 20 20 20 20 20 63 6f 64 65 20 6f 6e 6c | ll/</span>..(This.......code.onl |
100360 | 79 20 73 68 69 70 73 20 69 6e 20 73 6f 6d 65 20 6c 6f 63 61 6c 69 7a 65 64 20 76 65 72 73 69 6f | y.ships.in.some.localized.versio |
100380 | 6e 73 20 6f 66 20 74 68 69 73 20 70 72 6f 64 75 63 74 2e 29 3c 2f 70 3e 0a 0a 3c 70 72 65 3e 0a | ns.of.this.product.)</p>..<pre>. |
1003a0 | 54 68 65 20 70 72 6f 6a 65 63 74 20 68 61 73 20 62 65 65 6e 20 73 70 6f 6e 73 6f 72 65 64 20 62 | The.project.has.been.sponsored.b |
1003c0 | 79 20 74 68 65 20 49 6e 66 6f 72 6d 61 74 69 6f 6e 20 53 6f 63 69 65 74 79 20 44 65 76 65 6c 6f | y.the.Information.Society.Develo |
1003e0 | 70 6d 65 6e 74 0a 43 6f 6d 6d 69 74 74 65 65 20 6f 66 20 74 68 65 20 47 6f 76 65 72 6e 6d 65 6e | pment.Committee.of.the.Governmen |
100400 | 74 20 6f 66 20 52 65 70 75 62 6c 69 63 20 6f 66 20 4c 69 74 68 75 61 6e 69 61 2e 0a 0a 0a 43 6f | t.of.Republic.of.Lithuania....Co |
100420 | 70 79 72 69 67 68 74 20 28 63 29 20 41 6c 62 65 72 74 61 73 20 41 67 65 6a 65 76 61 73 20 26 6c | pyright.(c).Albertas.Agejevas.&l |
100440 | 74 3b 61 6c 67 61 40 75 6f 73 69 73 2e 6d 69 66 2e 76 75 2e 6c 74 26 67 74 3b 2c 20 32 30 30 30 | t;alga@uosis.mif.vu.lt>,.2000 |
100460 | 2c 20 32 30 30 31 0a 41 6c 6c 20 72 69 67 68 74 73 20 72 65 73 65 72 76 65 64 2e 0a 0a 52 65 64 | ,.2001.All.rights.reserved...Red |
100480 | 69 73 74 72 69 62 75 74 69 6f 6e 20 61 6e 64 20 75 73 65 20 69 6e 20 73 6f 75 72 63 65 20 61 6e | istribution.and.use.in.source.an |
1004a0 | 64 20 62 69 6e 61 72 79 20 66 6f 72 6d 73 2c 20 77 69 74 68 20 6f 72 20 77 69 74 68 6f 75 74 0a | d.binary.forms,.with.or.without. |
1004c0 | 6d 6f 64 69 66 69 63 61 74 69 6f 6e 2c 20 61 72 65 20 70 65 72 6d 69 74 74 65 64 20 70 72 6f 76 | modification,.are.permitted.prov |
1004e0 | 69 64 65 64 20 74 68 61 74 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 63 6f 6e 64 69 74 69 6f | ided.that.the.following.conditio |
100500 | 6e 73 0a 61 72 65 20 6d 65 74 3a 0a 31 2e 20 52 65 64 69 73 74 72 69 62 75 74 69 6f 6e 73 20 6f | ns.are.met:.1..Redistributions.o |
100520 | 66 20 73 6f 75 72 63 65 20 63 6f 64 65 20 6d 75 73 74 20 72 65 74 61 69 6e 20 74 68 65 20 61 62 | f.source.code.must.retain.the.ab |
100540 | 6f 76 65 20 63 6f 70 79 72 69 67 68 74 0a 20 20 20 6e 6f 74 69 63 65 2c 20 74 68 69 73 20 6c 69 | ove.copyright....notice,.this.li |
100560 | 73 74 20 6f 66 20 63 6f 6e 64 69 74 69 6f 6e 73 20 61 6e 64 20 74 68 65 20 66 6f 6c 6c 6f 77 69 | st.of.conditions.and.the.followi |
100580 | 6e 67 20 64 69 73 63 6c 61 69 6d 65 72 2e 0a 32 2e 20 52 65 64 69 73 74 72 69 62 75 74 69 6f 6e | ng.disclaimer..2..Redistribution |
1005a0 | 73 20 69 6e 20 62 69 6e 61 72 79 20 66 6f 72 6d 20 6d 75 73 74 20 72 65 70 72 6f 64 75 63 65 20 | s.in.binary.form.must.reproduce. |
1005c0 | 74 68 65 20 61 62 6f 76 65 20 63 6f 70 79 72 69 67 68 74 0a 20 20 20 6e 6f 74 69 63 65 2c 20 74 | the.above.copyright....notice,.t |
1005e0 | 68 69 73 20 6c 69 73 74 20 6f 66 20 63 6f 6e 64 69 74 69 6f 6e 73 20 61 6e 64 20 74 68 65 20 66 | his.list.of.conditions.and.the.f |
100600 | 6f 6c 6c 6f 77 69 6e 67 20 64 69 73 63 6c 61 69 6d 65 72 20 69 6e 20 74 68 65 0a 20 20 20 64 6f | ollowing.disclaimer.in.the....do |
100620 | 63 75 6d 65 6e 74 61 74 69 6f 6e 20 61 6e 64 2f 6f 72 20 6f 74 68 65 72 20 6d 61 74 65 72 69 61 | cumentation.and/or.other.materia |
100640 | 6c 73 20 70 72 6f 76 69 64 65 64 20 77 69 74 68 20 74 68 65 20 64 69 73 74 72 69 62 75 74 69 6f | ls.provided.with.the.distributio |
100660 | 6e 2e 0a 33 2e 20 4e 65 69 74 68 65 72 20 74 68 65 20 6e 61 6d 65 20 6f 66 20 74 68 65 20 41 6c | n..3..Neither.the.name.of.the.Al |
100680 | 62 65 72 74 61 73 20 41 67 65 6a 65 76 61 73 20 6e 6f 72 20 74 68 65 20 6e 61 6d 65 73 20 6f 66 | bertas.Agejevas.nor.the.names.of |
1006a0 | 20 69 74 73 20 63 6f 6e 74 72 69 62 75 74 6f 72 73 0a 20 20 20 6d 61 79 20 62 65 20 75 73 65 64 | .its.contributors....may.be.used |
1006c0 | 20 74 6f 20 65 6e 64 6f 72 73 65 20 6f 72 20 70 72 6f 6d 6f 74 65 20 70 72 6f 64 75 63 74 73 20 | .to.endorse.or.promote.products. |
1006e0 | 64 65 72 69 76 65 64 20 66 72 6f 6d 20 74 68 69 73 20 73 6f 66 74 77 61 72 65 0a 20 20 20 77 69 | derived.from.this.software....wi |
100700 | 74 68 6f 75 74 20 73 70 65 63 69 66 69 63 20 70 72 69 6f 72 20 77 72 69 74 74 65 6e 20 70 65 72 | thout.specific.prior.written.per |
100720 | 6d 69 73 73 69 6f 6e 2e 0a 0a 54 48 49 53 20 53 4f 46 54 57 41 52 45 20 49 53 20 50 52 4f 56 49 | mission...THIS.SOFTWARE.IS.PROVI |
100740 | 44 45 44 20 42 59 20 41 4c 42 45 52 54 41 53 20 41 47 45 4a 45 56 41 53 20 41 4e 44 20 43 4f 4e | DED.BY.ALBERTAS.AGEJEVAS.AND.CON |
100760 | 54 52 49 42 55 54 4f 52 53 20 60 60 41 53 20 49 53 27 27 20 41 4e 44 0a 41 4e 59 20 45 58 50 52 | TRIBUTORS.``AS.IS''.AND.ANY.EXPR |
100780 | 45 53 53 20 4f 52 20 49 4d 50 4c 49 45 44 20 57 41 52 52 41 4e 54 49 45 53 2c 20 49 4e 43 4c 55 | ESS.OR.IMPLIED.WARRANTIES,.INCLU |
1007a0 | 44 49 4e 47 2c 20 42 55 54 20 4e 4f 54 20 4c 49 4d 49 54 45 44 20 54 4f 2c 20 54 48 45 0a 49 4d | DING,.BUT.NOT.LIMITED.TO,.THE.IM |
1007c0 | 50 4c 49 45 44 20 57 41 52 52 41 4e 54 49 45 53 20 4f 46 20 4d 45 52 43 48 41 4e 54 41 42 49 4c | PLIED.WARRANTIES.OF.MERCHANTABIL |
1007e0 | 49 54 59 20 41 4e 44 20 46 49 54 4e 45 53 53 20 46 4f 52 20 41 20 50 41 52 54 49 43 55 4c 41 52 | ITY.AND.FITNESS.FOR.A.PARTICULAR |
100800 | 20 50 55 52 50 4f 53 45 0a 41 52 45 20 44 49 53 43 4c 41 49 4d 45 44 2e 20 20 49 4e 20 4e 4f 20 | .PURPOSE.ARE.DISCLAIMED...IN.NO. |
100820 | 45 56 45 4e 54 20 53 48 41 4c 4c 20 41 4c 42 45 52 54 41 53 20 41 47 45 4a 45 56 41 53 20 4f 52 | EVENT.SHALL.ALBERTAS.AGEJEVAS.OR |
100840 | 20 43 4f 4e 54 52 49 42 55 54 4f 52 53 20 42 45 20 4c 49 41 42 4c 45 0a 46 4f 52 20 41 4e 59 20 | .CONTRIBUTORS.BE.LIABLE.FOR.ANY. |
100860 | 44 49 52 45 43 54 2c 20 49 4e 44 49 52 45 43 54 2c 20 49 4e 43 49 44 45 4e 54 41 4c 2c 20 53 50 | DIRECT,.INDIRECT,.INCIDENTAL,.SP |
100880 | 45 43 49 41 4c 2c 20 45 58 45 4d 50 4c 41 52 59 2c 20 4f 52 20 43 4f 4e 53 45 51 55 45 4e 54 49 | ECIAL,.EXEMPLARY,.OR.CONSEQUENTI |
1008a0 | 41 4c 0a 44 41 4d 41 47 45 53 20 28 49 4e 43 4c 55 44 49 4e 47 2c 20 42 55 54 20 4e 4f 54 20 4c | AL.DAMAGES.(INCLUDING,.BUT.NOT.L |
1008c0 | 49 4d 49 54 45 44 20 54 4f 2c 20 50 52 4f 43 55 52 45 4d 45 4e 54 20 4f 46 20 53 55 42 53 54 49 | IMITED.TO,.PROCUREMENT.OF.SUBSTI |
1008e0 | 54 55 54 45 20 47 4f 4f 44 53 0a 4f 52 20 53 45 52 56 49 43 45 53 3b 20 4c 4f 53 53 20 4f 46 20 | TUTE.GOODS.OR.SERVICES;.LOSS.OF. |
100900 | 55 53 45 2c 20 44 41 54 41 2c 20 4f 52 20 50 52 4f 46 49 54 53 3b 20 4f 52 20 42 55 53 49 4e 45 | USE,.DATA,.OR.PROFITS;.OR.BUSINE |
100920 | 53 53 20 49 4e 54 45 52 52 55 50 54 49 4f 4e 29 0a 48 4f 57 45 56 45 52 20 43 41 55 53 45 44 20 | SS.INTERRUPTION).HOWEVER.CAUSED. |
100940 | 41 4e 44 20 4f 4e 20 41 4e 59 20 54 48 45 4f 52 59 20 4f 46 20 4c 49 41 42 49 4c 49 54 59 2c 20 | AND.ON.ANY.THEORY.OF.LIABILITY,. |
100960 | 57 48 45 54 48 45 52 20 49 4e 20 43 4f 4e 54 52 41 43 54 2c 20 53 54 52 49 43 54 0a 4c 49 41 42 | WHETHER.IN.CONTRACT,.STRICT.LIAB |
100980 | 49 4c 49 54 59 2c 20 4f 52 20 54 4f 52 54 20 28 49 4e 43 4c 55 44 49 4e 47 20 4e 45 47 4c 49 47 | ILITY,.OR.TORT.(INCLUDING.NEGLIG |
1009a0 | 45 4e 43 45 20 4f 52 20 4f 54 48 45 52 57 49 53 45 29 20 41 52 49 53 49 4e 47 20 49 4e 20 41 4e | ENCE.OR.OTHERWISE).ARISING.IN.AN |
1009c0 | 59 20 57 41 59 0a 4f 55 54 20 4f 46 20 54 48 45 20 55 53 45 20 4f 46 20 54 48 49 53 20 53 4f 46 | Y.WAY.OUT.OF.THE.USE.OF.THIS.SOF |
1009e0 | 54 57 41 52 45 2c 20 45 56 45 4e 20 49 46 20 41 44 56 49 53 45 44 20 4f 46 20 54 48 45 20 50 4f | TWARE,.EVEN.IF.ADVISED.OF.THE.PO |
100a00 | 53 53 49 42 49 4c 49 54 59 20 4f 46 0a 53 55 43 48 20 44 41 4d 41 47 45 2e 0a 3c 2f 70 72 65 3e | SSIBILITY.OF.SUCH.DAMAGE..</pre> |
100a20 | 0a 0a 0a 20 20 20 20 3c 68 72 3e 0a 0a 20 20 20 20 3c 68 31 3e 3c 61 20 6e 61 6d 65 3d 22 6c 69 | .......<hr>......<h1><a.name="li |
100a40 | 74 74 6c 65 63 6d 73 22 3e 3c 2f 61 3e 4c 69 74 74 6c 65 20 63 6d 73 20 4c 69 63 65 6e 73 65 3c | ttlecms"></a>Little.cms.License< |
100a60 | 2f 68 31 3e 0a 0a 20 20 20 20 3c 70 20 63 6c 61 73 73 3d 22 63 6f 72 72 65 63 74 6d 65 22 3e 54 | /h1>......<p.class="correctme">T |
100a80 | 68 69 73 20 6c 69 63 65 6e 73 65 20 61 70 70 6c 69 65 73 20 74 6f 20 63 65 72 74 61 69 6e 20 66 | his.license.applies.to.certain.f |
100aa0 | 69 6c 65 73 20 69 6e 20 74 68 65 20 64 69 72 65 63 74 6f 72 79 0a 20 20 20 20 20 20 3c 73 70 61 | iles.in.the.directory.......<spa |
100ac0 | 6e 20 63 6c 61 73 73 3d 22 70 61 74 68 22 3e 6d 6f 64 75 6c 65 73 2f 6c 63 6d 73 2f 3c 2f 73 70 | n.class="path">modules/lcms/</sp |
100ae0 | 61 6e 3e 2e 3c 2f 70 3e 0a 3c 70 72 65 3e 0a 43 6f 70 79 72 69 67 68 74 20 28 43 29 20 31 39 39 | an>.</p>.<pre>.Copyright.(C).199 |
100b00 | 38 2d 32 30 30 37 20 4d 61 72 74 69 20 4d 61 72 69 61 0a 0a 50 65 72 6d 69 73 73 69 6f 6e 20 69 | 8-2007.Marti.Maria..Permission.i |
100b20 | 73 20 68 65 72 65 62 79 20 67 72 61 6e 74 65 64 2c 20 66 72 65 65 20 6f 66 20 63 68 61 72 67 65 | s.hereby.granted,.free.of.charge |
100b40 | 2c 20 74 6f 20 61 6e 79 20 70 65 72 73 6f 6e 0a 6f 62 74 61 69 6e 69 6e 67 20 61 20 63 6f 70 79 | ,.to.any.person.obtaining.a.copy |
100b60 | 20 6f 66 20 74 68 69 73 20 73 6f 66 74 77 61 72 65 20 61 6e 64 20 61 73 73 6f 63 69 61 74 65 64 | .of.this.software.and.associated |
100b80 | 20 64 6f 63 75 6d 65 6e 74 61 74 69 6f 6e 20 0a 66 69 6c 65 73 20 28 74 68 65 20 22 53 6f 66 74 | .documentation..files.(the."Soft |
100ba0 | 77 61 72 65 22 29 2c 20 74 6f 20 64 65 61 6c 20 69 6e 20 74 68 65 20 53 6f 66 74 77 61 72 65 20 | ware"),.to.deal.in.the.Software. |
100bc0 | 77 69 74 68 6f 75 74 20 72 65 73 74 72 69 63 74 69 6f 6e 2c 20 0a 69 6e 63 6c 75 64 69 6e 67 20 | without.restriction,..including. |
100be0 | 77 69 74 68 6f 75 74 20 6c 69 6d 69 74 61 74 69 6f 6e 20 74 68 65 20 72 69 67 68 74 73 20 74 6f | without.limitation.the.rights.to |
100c00 | 20 75 73 65 2c 20 63 6f 70 79 2c 20 6d 6f 64 69 66 79 2c 20 6d 65 72 67 65 2c 20 0a 70 75 62 6c | .use,.copy,.modify,.merge,..publ |
100c20 | 69 73 68 2c 20 64 69 73 74 72 69 62 75 74 65 2c 20 73 75 62 6c 69 63 65 6e 73 65 2c 20 61 6e 64 | ish,.distribute,.sublicense,.and |
100c40 | 2f 6f 72 20 73 65 6c 6c 20 63 6f 70 69 65 73 20 6f 66 20 74 68 65 20 53 6f 66 74 77 61 72 65 2c | /or.sell.copies.of.the.Software, |
100c60 | 20 0a 61 6e 64 20 74 6f 20 70 65 72 6d 69 74 20 70 65 72 73 6f 6e 73 20 74 6f 20 77 68 6f 6d 20 | ..and.to.permit.persons.to.whom. |
100c80 | 74 68 65 20 53 6f 66 74 77 61 72 65 20 69 73 20 66 75 72 6e 69 73 68 65 64 20 74 6f 20 64 6f 20 | the.Software.is.furnished.to.do. |
100ca0 | 73 6f 2c 20 73 75 62 6a 65 63 74 20 0a 74 6f 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 63 6f | so,.subject..to.the.following.co |
100cc0 | 6e 64 69 74 69 6f 6e 73 3a 0a 0a 54 68 65 20 61 62 6f 76 65 20 63 6f 70 79 72 69 67 68 74 20 6e | nditions:..The.above.copyright.n |
100ce0 | 6f 74 69 63 65 20 61 6e 64 20 74 68 69 73 20 70 65 72 6d 69 73 73 69 6f 6e 20 6e 6f 74 69 63 65 | otice.and.this.permission.notice |
100d00 | 20 73 68 61 6c 6c 20 62 65 20 69 6e 63 6c 75 64 65 64 20 0a 69 6e 20 61 6c 6c 20 63 6f 70 69 65 | .shall.be.included..in.all.copie |
100d20 | 73 20 6f 72 20 73 75 62 73 74 61 6e 74 69 61 6c 20 70 6f 72 74 69 6f 6e 73 20 6f 66 20 74 68 65 | s.or.substantial.portions.of.the |
100d40 | 20 53 6f 66 74 77 61 72 65 2e 0a 0a 54 48 45 20 53 4f 46 54 57 41 52 45 20 49 53 20 50 52 4f 56 | .Software...THE.SOFTWARE.IS.PROV |
100d60 | 49 44 45 44 20 22 41 53 20 49 53 22 2c 20 57 49 54 48 4f 55 54 20 57 41 52 52 41 4e 54 59 20 4f | IDED."AS.IS",.WITHOUT.WARRANTY.O |
100d80 | 46 20 41 4e 59 20 4b 49 4e 44 2c 20 45 58 50 52 45 53 53 20 0a 4f 52 20 49 4d 50 4c 49 45 44 2c | F.ANY.KIND,.EXPRESS..OR.IMPLIED, |
100da0 | 20 49 4e 43 4c 55 44 49 4e 47 20 42 55 54 20 4e 4f 54 20 4c 49 4d 49 54 45 44 20 54 4f 20 54 48 | .INCLUDING.BUT.NOT.LIMITED.TO.TH |
100dc0 | 45 20 57 41 52 52 41 4e 54 49 45 53 20 4f 46 20 4d 45 52 43 48 41 4e 54 41 42 49 4c 49 54 59 2c | E.WARRANTIES.OF.MERCHANTABILITY, |
100de0 | 20 0a 46 49 54 4e 45 53 53 20 46 4f 52 20 41 20 50 41 52 54 49 43 55 4c 41 52 20 50 55 52 50 4f | ..FITNESS.FOR.A.PARTICULAR.PURPO |
100e00 | 53 45 20 41 4e 44 20 4e 4f 4e 49 4e 46 52 49 4e 47 45 4d 45 4e 54 2e 20 49 4e 20 4e 4f 20 45 56 | SE.AND.NONINFRINGEMENT..IN.NO.EV |
100e20 | 45 4e 54 20 53 48 41 4c 4c 20 54 48 45 20 0a 41 55 54 48 4f 52 53 20 4f 52 20 43 4f 50 59 52 49 | ENT.SHALL.THE..AUTHORS.OR.COPYRI |
100e40 | 47 48 54 20 48 4f 4c 44 45 52 53 20 42 45 20 4c 49 41 42 4c 45 20 46 4f 52 20 41 4e 59 20 43 4c | GHT.HOLDERS.BE.LIABLE.FOR.ANY.CL |
100e60 | 41 49 4d 2c 20 44 41 4d 41 47 45 53 20 4f 52 20 4f 54 48 45 52 20 4c 49 41 42 49 4c 49 54 59 2c | AIM,.DAMAGES.OR.OTHER.LIABILITY, |
100e80 | 20 0a 57 48 45 54 48 45 52 20 49 4e 20 41 4e 20 41 43 54 49 4f 4e 20 4f 46 20 43 4f 4e 54 52 41 | ..WHETHER.IN.AN.ACTION.OF.CONTRA |
100ea0 | 43 54 2c 20 54 4f 52 54 20 4f 52 20 4f 54 48 45 52 57 49 53 45 2c 20 41 52 49 53 49 4e 47 20 46 | CT,.TORT.OR.OTHERWISE,.ARISING.F |
100ec0 | 52 4f 4d 2c 20 4f 55 54 20 4f 46 20 4f 52 20 49 4e 20 0a 43 4f 4e 4e 45 43 54 49 4f 4e 20 57 49 | ROM,.OUT.OF.OR.IN..CONNECTION.WI |
100ee0 | 54 48 20 54 48 45 20 53 4f 46 54 57 41 52 45 20 4f 52 20 54 48 45 20 55 53 45 20 4f 52 20 4f 54 | TH.THE.SOFTWARE.OR.THE.USE.OR.OT |
100f00 | 48 45 52 20 44 45 41 4c 49 4e 47 53 20 49 4e 20 54 48 45 20 53 4f 46 54 57 41 52 45 2e 0a 3c 2f | HER.DEALINGS.IN.THE.SOFTWARE..</ |
100f20 | 70 72 65 3e 0a 0a 0a 0a 20 20 20 20 3c 68 72 3e 0a 0a 20 20 20 20 3c 68 31 3e 3c 61 20 6e 61 6d | pre>........<hr>......<h1><a.nam |
100f40 | 65 3d 22 6f 70 65 6e 76 69 73 69 6f 6e 22 3e 3c 2f 61 3e 4f 70 65 6e 56 69 73 69 6f 6e 20 4c 69 | e="openvision"></a>OpenVision.Li |
100f60 | 63 65 6e 73 65 3c 2f 68 31 3e 0a 0a 20 20 20 20 3c 70 20 63 6c 61 73 73 3d 22 63 6f 72 72 65 63 | cense</h1>......<p.class="correc |
100f80 | 74 6d 65 22 3e 54 68 69 73 20 6c 69 63 65 6e 73 65 20 61 70 70 6c 69 65 73 20 74 6f 20 74 68 65 | tme">This.license.applies.to.the |
100fa0 | 20 66 69 6c 65 20 0a 20 20 20 20 3c 73 70 61 6e 20 63 6c 61 73 73 3d 22 70 61 74 68 22 3e 65 78 | .file......<span.class="path">ex |
100fc0 | 74 65 6e 73 69 6f 6e 73 2f 61 75 74 68 2f 67 73 73 61 70 69 2e 68 3c 2f 73 70 61 6e 3e 2e 3c 2f | tensions/auth/gssapi.h</span>.</ |
100fe0 | 70 3e 0a 0a 3c 70 72 65 3e 0a 43 6f 70 79 72 69 67 68 74 20 31 39 39 33 20 62 79 20 4f 70 65 6e | p>..<pre>.Copyright.1993.by.Open |
101000 | 56 69 73 69 6f 6e 20 54 65 63 68 6e 6f 6c 6f 67 69 65 73 2c 20 49 6e 63 2e 0a 0a 50 65 72 6d 69 | Vision.Technologies,.Inc...Permi |
101020 | 73 73 69 6f 6e 20 74 6f 20 75 73 65 2c 20 63 6f 70 79 2c 20 6d 6f 64 69 66 79 2c 20 64 69 73 74 | ssion.to.use,.copy,.modify,.dist |
101040 | 72 69 62 75 74 65 2c 20 61 6e 64 20 73 65 6c 6c 20 74 68 69 73 20 73 6f 66 74 77 61 72 65 0a 61 | ribute,.and.sell.this.software.a |
101060 | 6e 64 20 69 74 73 20 64 6f 63 75 6d 65 6e 74 61 74 69 6f 6e 20 66 6f 72 20 61 6e 79 20 70 75 72 | nd.its.documentation.for.any.pur |
101080 | 70 6f 73 65 20 69 73 20 68 65 72 65 62 79 20 67 72 61 6e 74 65 64 20 77 69 74 68 6f 75 74 20 66 | pose.is.hereby.granted.without.f |
1010a0 | 65 65 2c 0a 70 72 6f 76 69 64 65 64 20 74 68 61 74 20 74 68 65 20 61 62 6f 76 65 20 63 6f 70 79 | ee,.provided.that.the.above.copy |
1010c0 | 72 69 67 68 74 20 6e 6f 74 69 63 65 20 61 70 70 65 61 72 73 20 69 6e 20 61 6c 6c 20 63 6f 70 69 | right.notice.appears.in.all.copi |
1010e0 | 65 73 20 61 6e 64 0a 74 68 61 74 20 62 6f 74 68 20 74 68 61 74 20 63 6f 70 79 72 69 67 68 74 20 | es.and.that.both.that.copyright. |
101100 | 6e 6f 74 69 63 65 20 61 6e 64 20 74 68 69 73 20 70 65 72 6d 69 73 73 69 6f 6e 20 6e 6f 74 69 63 | notice.and.this.permission.notic |
101120 | 65 20 61 70 70 65 61 72 20 69 6e 0a 73 75 70 70 6f 72 74 69 6e 67 20 64 6f 63 75 6d 65 6e 74 61 | e.appear.in.supporting.documenta |
101140 | 74 69 6f 6e 2c 20 61 6e 64 20 74 68 61 74 20 74 68 65 20 6e 61 6d 65 20 6f 66 20 4f 70 65 6e 56 | tion,.and.that.the.name.of.OpenV |
101160 | 69 73 69 6f 6e 20 6e 6f 74 20 62 65 20 75 73 65 64 0a 69 6e 20 61 64 76 65 72 74 69 73 69 6e 67 | ision.not.be.used.in.advertising |
101180 | 20 6f 72 20 70 75 62 6c 69 63 69 74 79 20 70 65 72 74 61 69 6e 69 6e 67 20 74 6f 20 64 69 73 74 | .or.publicity.pertaining.to.dist |
1011a0 | 72 69 62 75 74 69 6f 6e 20 6f 66 20 74 68 65 20 73 6f 66 74 77 61 72 65 0a 77 69 74 68 6f 75 74 | ribution.of.the.software.without |
1011c0 | 20 73 70 65 63 69 66 69 63 2c 20 77 72 69 74 74 65 6e 20 70 72 69 6f 72 20 70 65 72 6d 69 73 73 | .specific,.written.prior.permiss |
1011e0 | 69 6f 6e 2e 20 4f 70 65 6e 56 69 73 69 6f 6e 20 6d 61 6b 65 73 20 6e 6f 0a 72 65 70 72 65 73 65 | ion..OpenVision.makes.no.represe |
101200 | 6e 74 61 74 69 6f 6e 73 20 61 62 6f 75 74 20 74 68 65 20 73 75 69 74 61 62 69 6c 69 74 79 20 6f | ntations.about.the.suitability.o |
101220 | 66 20 74 68 69 73 20 73 6f 66 74 77 61 72 65 20 66 6f 72 20 61 6e 79 0a 70 75 72 70 6f 73 65 2e | f.this.software.for.any.purpose. |
101240 | 20 20 49 74 20 69 73 20 70 72 6f 76 69 64 65 64 20 22 61 73 20 69 73 22 20 77 69 74 68 6f 75 74 | ..It.is.provided."as.is".without |
101260 | 20 65 78 70 72 65 73 73 20 6f 72 20 69 6d 70 6c 69 65 64 20 77 61 72 72 61 6e 74 79 2e 0a 0a 4f | .express.or.implied.warranty...O |
101280 | 50 45 4e 56 49 53 49 4f 4e 20 44 49 53 43 4c 41 49 4d 53 20 41 4c 4c 20 57 41 52 52 41 4e 54 49 | PENVISION.DISCLAIMS.ALL.WARRANTI |
1012a0 | 45 53 20 57 49 54 48 20 52 45 47 41 52 44 20 54 4f 20 54 48 49 53 20 53 4f 46 54 57 41 52 45 2c | ES.WITH.REGARD.TO.THIS.SOFTWARE, |
1012c0 | 0a 49 4e 43 4c 55 44 49 4e 47 20 41 4c 4c 20 49 4d 50 4c 49 45 44 20 57 41 52 52 41 4e 54 49 45 | .INCLUDING.ALL.IMPLIED.WARRANTIE |
1012e0 | 53 20 4f 46 20 4d 45 52 43 48 41 4e 54 41 42 49 4c 49 54 59 20 41 4e 44 20 46 49 54 4e 45 53 53 | S.OF.MERCHANTABILITY.AND.FITNESS |
101300 | 2c 20 49 4e 20 4e 4f 0a 45 56 45 4e 54 20 53 48 41 4c 4c 20 4f 50 45 4e 56 49 53 49 4f 4e 20 42 | ,.IN.NO.EVENT.SHALL.OPENVISION.B |
101320 | 45 20 4c 49 41 42 4c 45 20 46 4f 52 20 41 4e 59 20 53 50 45 43 49 41 4c 2c 20 49 4e 44 49 52 45 | E.LIABLE.FOR.ANY.SPECIAL,.INDIRE |
101340 | 43 54 20 4f 52 0a 43 4f 4e 53 45 51 55 45 4e 54 49 41 4c 20 44 41 4d 41 47 45 53 20 4f 52 20 41 | CT.OR.CONSEQUENTIAL.DAMAGES.OR.A |
101360 | 4e 59 20 44 41 4d 41 47 45 53 20 57 48 41 54 53 4f 45 56 45 52 20 52 45 53 55 4c 54 49 4e 47 20 | NY.DAMAGES.WHATSOEVER.RESULTING. |
101380 | 46 52 4f 4d 20 4c 4f 53 53 20 4f 46 0a 55 53 45 2c 20 44 41 54 41 20 4f 52 20 50 52 4f 46 49 54 | FROM.LOSS.OF.USE,.DATA.OR.PROFIT |
1013a0 | 53 2c 20 57 48 45 54 48 45 52 20 49 4e 20 41 4e 20 41 43 54 49 4f 4e 20 4f 46 20 43 4f 4e 54 52 | S,.WHETHER.IN.AN.ACTION.OF.CONTR |
1013c0 | 41 43 54 2c 20 4e 45 47 4c 49 47 45 4e 43 45 20 4f 52 0a 4f 54 48 45 52 20 54 4f 52 54 49 4f 55 | ACT,.NEGLIGENCE.OR.OTHER.TORTIOU |
1013e0 | 53 20 41 43 54 49 4f 4e 2c 20 41 52 49 53 49 4e 47 20 4f 55 54 20 4f 46 20 4f 52 20 49 4e 20 43 | S.ACTION,.ARISING.OUT.OF.OR.IN.C |
101400 | 4f 4e 4e 45 43 54 49 4f 4e 20 57 49 54 48 20 54 48 45 20 55 53 45 20 4f 52 0a 50 45 52 46 4f 52 | ONNECTION.WITH.THE.USE.OR.PERFOR |
101420 | 4d 41 4e 43 45 20 4f 46 20 54 48 49 53 20 53 4f 46 54 57 41 52 45 2e 0a 3c 2f 70 72 65 3e 0a 0a | MANCE.OF.THIS.SOFTWARE..</pre>.. |
101440 | 0a 20 20 20 20 3c 68 72 3e 0a 0a 20 20 20 20 3c 68 31 3e 3c 61 20 6e 61 6d 65 3d 22 78 64 67 22 | .....<hr>......<h1><a.name="xdg" |
101460 | 3e 3c 2f 61 3e 52 65 64 20 48 61 74 20 78 64 67 5f 75 73 65 72 5f 64 69 72 5f 6c 6f 6f 6b 75 70 | ></a>Red.Hat.xdg_user_dir_lookup |
101480 | 20 4c 69 63 65 6e 73 65 3c 2f 68 31 3e 0a 0a 20 20 20 20 3c 70 20 63 6c 61 73 73 3d 22 63 6f 72 | .License</h1>......<p.class="cor |
1014a0 | 72 65 63 74 6d 65 22 3e 54 68 69 73 20 6c 69 63 65 6e 73 65 20 61 70 70 6c 69 65 73 20 74 6f 20 | rectme">This.license.applies.to. |
1014c0 | 74 68 65 20 0a 20 20 20 20 3c 73 70 61 6e 20 63 6c 61 73 73 3d 22 70 61 74 68 22 3e 78 64 67 5f | the......<span.class="path">xdg_ |
1014e0 | 75 73 65 72 5f 64 69 72 5f 6c 6f 6f 6b 75 70 3c 2f 73 70 61 6e 3e 20 66 75 6e 63 74 69 6f 6e 20 | user_dir_lookup</span>.function. |
101500 | 69 6e 0a 20 20 20 20 3c 73 70 61 6e 20 63 6c 61 73 73 3d 22 70 61 74 68 22 3e 78 70 63 6f 6d 2f | in.....<span.class="path">xpcom/ |
101520 | 69 6f 2f 53 70 65 63 69 61 6c 53 79 73 74 65 6d 44 69 72 65 63 74 6f 72 79 2e 63 70 70 3c 2f 73 | io/SpecialSystemDirectory.cpp</s |
101540 | 70 61 6e 3e 3a 3c 2f 70 3e 0a 20 20 20 20 0a 3c 70 72 65 3e 0a 43 6f 70 79 72 69 67 68 74 20 28 | pan>:</p>......<pre>.Copyright.( |
101560 | 63 29 20 32 30 30 37 20 52 65 64 20 48 61 74 2c 20 49 6e 63 2e 0a 0a 50 65 72 6d 69 73 73 69 6f | c).2007.Red.Hat,.Inc...Permissio |
101580 | 6e 20 69 73 20 68 65 72 65 62 79 20 67 72 61 6e 74 65 64 2c 20 66 72 65 65 20 6f 66 20 63 68 61 | n.is.hereby.granted,.free.of.cha |
1015a0 | 72 67 65 2c 20 74 6f 20 61 6e 79 20 70 65 72 73 6f 6e 0a 6f 62 74 61 69 6e 69 6e 67 20 61 20 63 | rge,.to.any.person.obtaining.a.c |
1015c0 | 6f 70 79 20 6f 66 20 74 68 69 73 20 73 6f 66 74 77 61 72 65 20 61 6e 64 20 61 73 73 6f 63 69 61 | opy.of.this.software.and.associa |
1015e0 | 74 65 64 20 64 6f 63 75 6d 65 6e 74 61 74 69 6f 6e 20 66 69 6c 65 73 0a 28 74 68 65 20 22 53 6f | ted.documentation.files.(the."So |
101600 | 66 74 77 61 72 65 22 29 2c 20 74 6f 20 64 65 61 6c 20 69 6e 20 74 68 65 20 53 6f 66 74 77 61 72 | ftware"),.to.deal.in.the.Softwar |
101620 | 65 20 77 69 74 68 6f 75 74 20 72 65 73 74 72 69 63 74 69 6f 6e 2c 0a 69 6e 63 6c 75 64 69 6e 67 | e.without.restriction,.including |
101640 | 20 77 69 74 68 6f 75 74 20 6c 69 6d 69 74 61 74 69 6f 6e 20 74 68 65 20 72 69 67 68 74 73 20 74 | .without.limitation.the.rights.t |
101660 | 6f 20 75 73 65 2c 20 63 6f 70 79 2c 20 6d 6f 64 69 66 79 2c 20 6d 65 72 67 65 2c 0a 70 75 62 6c | o.use,.copy,.modify,.merge,.publ |
101680 | 69 73 68 2c 20 64 69 73 74 72 69 62 75 74 65 2c 20 73 75 62 6c 69 63 65 6e 73 65 2c 20 61 6e 64 | ish,.distribute,.sublicense,.and |
1016a0 | 2f 6f 72 20 73 65 6c 6c 20 63 6f 70 69 65 73 20 6f 66 20 74 68 65 20 53 6f 66 74 77 61 72 65 2c | /or.sell.copies.of.the.Software, |
1016c0 | 0a 61 6e 64 20 74 6f 20 70 65 72 6d 69 74 20 70 65 72 73 6f 6e 73 20 74 6f 20 77 68 6f 6d 20 74 | .and.to.permit.persons.to.whom.t |
1016e0 | 68 65 20 53 6f 66 74 77 61 72 65 20 69 73 20 66 75 72 6e 69 73 68 65 64 20 74 6f 20 64 6f 20 73 | he.Software.is.furnished.to.do.s |
101700 | 6f 2c 0a 73 75 62 6a 65 63 74 20 74 6f 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 63 6f 6e 64 | o,.subject.to.the.following.cond |
101720 | 69 74 69 6f 6e 73 3a 20 0a 0a 54 68 65 20 61 62 6f 76 65 20 63 6f 70 79 72 69 67 68 74 20 6e 6f | itions:...The.above.copyright.no |
101740 | 74 69 63 65 20 61 6e 64 20 74 68 69 73 20 70 65 72 6d 69 73 73 69 6f 6e 20 6e 6f 74 69 63 65 20 | tice.and.this.permission.notice. |
101760 | 73 68 61 6c 6c 20 62 65 0a 69 6e 63 6c 75 64 65 64 20 69 6e 20 61 6c 6c 20 63 6f 70 69 65 73 20 | shall.be.included.in.all.copies. |
101780 | 6f 72 20 73 75 62 73 74 61 6e 74 69 61 6c 20 70 6f 72 74 69 6f 6e 73 20 6f 66 20 74 68 65 20 53 | or.substantial.portions.of.the.S |
1017a0 | 6f 66 74 77 61 72 65 2e 20 0a 0a 54 48 45 20 53 4f 46 54 57 41 52 45 20 49 53 20 50 52 4f 56 49 | oftware....THE.SOFTWARE.IS.PROVI |
1017c0 | 44 45 44 20 22 41 53 20 49 53 22 2c 20 57 49 54 48 4f 55 54 20 57 41 52 52 41 4e 54 59 20 4f 46 | DED."AS.IS",.WITHOUT.WARRANTY.OF |
1017e0 | 20 41 4e 59 20 4b 49 4e 44 2c 0a 45 58 50 52 45 53 53 20 4f 52 20 49 4d 50 4c 49 45 44 2c 20 49 | .ANY.KIND,.EXPRESS.OR.IMPLIED,.I |
101800 | 4e 43 4c 55 44 49 4e 47 20 42 55 54 20 4e 4f 54 20 4c 49 4d 49 54 45 44 20 54 4f 20 54 48 45 20 | NCLUDING.BUT.NOT.LIMITED.TO.THE. |
101820 | 57 41 52 52 41 4e 54 49 45 53 20 4f 46 0a 4d 45 52 43 48 41 4e 54 41 42 49 4c 49 54 59 2c 20 46 | WARRANTIES.OF.MERCHANTABILITY,.F |
101840 | 49 54 4e 45 53 53 20 46 4f 52 20 41 20 50 41 52 54 49 43 55 4c 41 52 20 50 55 52 50 4f 53 45 20 | ITNESS.FOR.A.PARTICULAR.PURPOSE. |
101860 | 41 4e 44 0a 4e 4f 4e 49 4e 46 52 49 4e 47 45 4d 45 4e 54 2e 20 49 4e 20 4e 4f 20 45 56 45 4e 54 | AND.NONINFRINGEMENT..IN.NO.EVENT |
101880 | 20 53 48 41 4c 4c 20 54 48 45 20 41 55 54 48 4f 52 53 20 4f 52 20 43 4f 50 59 52 49 47 48 54 20 | .SHALL.THE.AUTHORS.OR.COPYRIGHT. |
1018a0 | 48 4f 4c 44 45 52 53 0a 42 45 20 4c 49 41 42 4c 45 20 46 4f 52 20 41 4e 59 20 43 4c 41 49 4d 2c | HOLDERS.BE.LIABLE.FOR.ANY.CLAIM, |
1018c0 | 20 44 41 4d 41 47 45 53 20 4f 52 20 4f 54 48 45 52 20 4c 49 41 42 49 4c 49 54 59 2c 20 57 48 45 | .DAMAGES.OR.OTHER.LIABILITY,.WHE |
1018e0 | 54 48 45 52 20 49 4e 20 41 4e 0a 41 43 54 49 4f 4e 20 4f 46 20 43 4f 4e 54 52 41 43 54 2c 20 54 | THER.IN.AN.ACTION.OF.CONTRACT,.T |
101900 | 4f 52 54 20 4f 52 20 4f 54 48 45 52 57 49 53 45 2c 20 41 52 49 53 49 4e 47 20 46 52 4f 4d 2c 20 | ORT.OR.OTHERWISE,.ARISING.FROM,. |
101920 | 4f 55 54 20 4f 46 20 4f 52 20 49 4e 0a 43 4f 4e 4e 45 43 54 49 4f 4e 20 57 49 54 48 20 54 48 45 | OUT.OF.OR.IN.CONNECTION.WITH.THE |
101940 | 20 53 4f 46 54 57 41 52 45 20 4f 52 20 54 48 45 20 55 53 45 20 4f 52 20 4f 54 48 45 52 20 44 45 | .SOFTWARE.OR.THE.USE.OR.OTHER.DE |
101960 | 41 4c 49 4e 47 53 20 49 4e 20 54 48 45 0a 53 4f 46 54 57 41 52 45 2e 0a 3c 2f 70 72 65 3e 0a 0a | ALINGS.IN.THE.SOFTWARE..</pre>.. |
101980 | 20 20 20 20 3c 68 72 3e 0a 0a 20 20 20 20 3c 68 31 3e 3c 61 20 6e 61 6d 65 3d 22 68 75 6e 73 70 | ....<hr>......<h1><a.name="hunsp |
1019a0 | 65 6c 6c 2d 72 75 22 3e 3c 2f 61 3e 52 75 73 73 69 61 6e 20 53 70 65 6c 6c 63 68 65 63 6b 69 6e | ell-ru"></a>Russian.Spellcheckin |
1019c0 | 67 20 44 69 63 74 69 6f 6e 61 72 79 3c 2f 68 31 3e 0a 0a 20 20 20 20 3c 70 20 63 6c 61 73 73 3d | g.Dictionary</h1>......<p.class= |
1019e0 | 22 63 6f 72 72 65 63 74 6d 65 22 3e 54 68 69 73 20 6c 69 63 65 6e 73 65 20 61 70 70 6c 69 65 73 | "correctme">This.license.applies |
101a00 | 20 74 6f 20 63 65 72 74 61 69 6e 20 66 69 6c 65 73 20 69 6e 20 74 68 65 20 64 69 72 65 63 74 6f | .to.certain.files.in.the.directo |
101a20 | 72 79 0a 20 20 20 20 20 20 3c 73 70 61 6e 20 63 6c 61 73 73 3d 22 70 61 74 68 22 3e 6c 31 30 6e | ry.......<span.class="path">l10n |
101a40 | 2f 72 75 2f 65 78 74 65 6e 73 69 6f 6e 73 2f 73 70 65 6c 6c 63 68 65 63 6b 2f 68 75 6e 73 70 65 | /ru/extensions/spellcheck/hunspe |
101a60 | 6c 6c 2f 3c 2f 73 70 61 6e 3e 2e 20 28 54 68 69 73 0a 20 20 20 20 20 20 63 6f 64 65 20 6f 6e 6c | ll/</span>..(This.......code.onl |
101a80 | 79 20 73 68 69 70 73 20 69 6e 20 73 6f 6d 65 20 6c 6f 63 61 6c 69 7a 65 64 20 76 65 72 73 69 6f | y.ships.in.some.localized.versio |
101aa0 | 6e 73 20 6f 66 20 74 68 69 73 20 70 72 6f 64 75 63 74 2e 29 3c 2f 70 3e 0a 0a 3c 70 72 65 3e 0a | ns.of.this.product.)</p>..<pre>. |
101ac0 | 2a 20 43 6f 70 79 72 69 67 68 74 20 28 63 29 20 31 39 39 37 2d 32 30 30 38 2c 20 41 6c 65 78 61 | *.Copyright.(c).1997-2008,.Alexa |
101ae0 | 6e 64 65 72 20 49 2e 20 4c 65 62 65 64 65 76 0a 0a 41 6c 6c 20 72 69 67 68 74 73 20 72 65 73 65 | nder.I..Lebedev..All.rights.rese |
101b00 | 72 76 65 64 2e 0a 0a 52 65 64 69 73 74 72 69 62 75 74 69 6f 6e 20 61 6e 64 20 75 73 65 20 69 6e | rved...Redistribution.and.use.in |
101b20 | 20 73 6f 75 72 63 65 20 61 6e 64 20 62 69 6e 61 72 79 20 66 6f 72 6d 73 2c 20 77 69 74 68 20 6f | .source.and.binary.forms,.with.o |
101b40 | 72 20 77 69 74 68 6f 75 74 0a 6d 6f 64 69 66 69 63 61 74 69 6f 6e 2c 20 61 72 65 20 70 65 72 6d | r.without.modification,.are.perm |
101b60 | 69 74 74 65 64 20 70 72 6f 76 69 64 65 64 20 74 68 61 74 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e | itted.provided.that.the.followin |
101b80 | 67 20 63 6f 6e 64 69 74 69 6f 6e 73 0a 61 72 65 20 6d 65 74 3a 0a 2a 20 52 65 64 69 73 74 72 69 | g.conditions.are.met:.*.Redistri |
101ba0 | 62 75 74 69 6f 6e 73 20 6f 66 20 73 6f 75 72 63 65 20 63 6f 64 65 20 6d 75 73 74 20 72 65 74 61 | butions.of.source.code.must.reta |
101bc0 | 69 6e 20 74 68 65 20 61 62 6f 76 65 20 63 6f 70 79 72 69 67 68 74 0a 20 20 6e 6f 74 69 63 65 2c | in.the.above.copyright...notice, |
101be0 | 20 74 68 69 73 20 6c 69 73 74 20 6f 66 20 63 6f 6e 64 69 74 69 6f 6e 73 20 61 6e 64 20 74 68 65 | .this.list.of.conditions.and.the |
101c00 | 20 66 6f 6c 6c 6f 77 69 6e 67 20 64 69 73 63 6c 61 69 6d 65 72 2e 0a 2a 20 52 65 64 69 73 74 72 | .following.disclaimer..*.Redistr |
101c20 | 69 62 75 74 69 6f 6e 73 20 69 6e 20 62 69 6e 61 72 79 20 66 6f 72 6d 20 6d 75 73 74 20 72 65 70 | ibutions.in.binary.form.must.rep |
101c40 | 72 6f 64 75 63 65 20 74 68 65 20 61 62 6f 76 65 20 63 6f 70 79 72 69 67 68 74 0a 20 20 6e 6f 74 | roduce.the.above.copyright...not |
101c60 | 69 63 65 2c 20 74 68 69 73 20 6c 69 73 74 20 6f 66 20 63 6f 6e 64 69 74 69 6f 6e 73 20 61 6e 64 | ice,.this.list.of.conditions.and |
101c80 | 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 64 69 73 63 6c 61 69 6d 65 72 20 69 6e 20 74 68 65 | .the.following.disclaimer.in.the |
101ca0 | 0a 20 20 64 6f 63 75 6d 65 6e 74 61 74 69 6f 6e 20 61 6e 64 2f 6f 72 20 6f 74 68 65 72 20 6d 61 | ...documentation.and/or.other.ma |
101cc0 | 74 65 72 69 61 6c 73 20 70 72 6f 76 69 64 65 64 20 77 69 74 68 20 74 68 65 20 64 69 73 74 72 69 | terials.provided.with.the.distri |
101ce0 | 62 75 74 69 6f 6e 2e 0a 2a 20 4d 6f 64 69 66 69 65 64 20 76 65 72 73 69 6f 6e 73 20 6d 75 73 74 | bution..*.Modified.versions.must |
101d00 | 20 62 65 20 63 6c 65 61 72 6c 79 20 6d 61 72 6b 65 64 20 61 73 20 73 75 63 68 2e 0a 2a 20 54 68 | .be.clearly.marked.as.such..*.Th |
101d20 | 65 20 6e 61 6d 65 20 6f 66 20 41 6c 65 78 61 6e 64 65 72 20 49 2e 20 4c 65 62 65 64 65 76 20 6d | e.name.of.Alexander.I..Lebedev.m |
101d40 | 61 79 20 6e 6f 74 20 62 65 20 75 73 65 64 20 74 6f 20 65 6e 64 6f 72 73 65 20 6f 72 20 70 72 6f | ay.not.be.used.to.endorse.or.pro |
101d60 | 6d 6f 74 65 0a 20 20 70 72 6f 64 75 63 74 73 20 64 65 72 69 76 65 64 20 66 72 6f 6d 20 74 68 69 | mote...products.derived.from.thi |
101d80 | 73 20 73 6f 66 74 77 61 72 65 20 77 69 74 68 6f 75 74 20 73 70 65 63 69 66 69 63 20 70 72 69 6f | s.software.without.specific.prio |
101da0 | 72 20 77 72 69 74 74 65 6e 0a 20 20 70 65 72 6d 69 73 73 69 6f 6e 2e 0a 0a 54 48 49 53 20 53 4f | r.written...permission...THIS.SO |
101dc0 | 46 54 57 41 52 45 20 49 53 20 50 52 4f 56 49 44 45 44 20 42 59 20 54 48 45 20 43 4f 50 59 52 49 | FTWARE.IS.PROVIDED.BY.THE.COPYRI |
101de0 | 47 48 54 20 48 4f 4c 44 45 52 53 20 41 4e 44 20 43 4f 4e 54 52 49 42 55 54 4f 52 53 20 22 41 53 | GHT.HOLDERS.AND.CONTRIBUTORS."AS |
101e00 | 20 49 53 22 0a 41 4e 44 20 41 4e 59 20 45 58 50 52 45 53 53 20 4f 52 20 49 4d 50 4c 49 45 44 20 | .IS".AND.ANY.EXPRESS.OR.IMPLIED. |
101e20 | 57 41 52 52 41 4e 54 49 45 53 2c 20 49 4e 43 4c 55 44 49 4e 47 2c 20 42 55 54 20 4e 4f 54 20 4c | WARRANTIES,.INCLUDING,.BUT.NOT.L |
101e40 | 49 4d 49 54 45 44 20 54 4f 2c 20 54 48 45 0a 49 4d 50 4c 49 45 44 20 57 41 52 52 41 4e 54 49 45 | IMITED.TO,.THE.IMPLIED.WARRANTIE |
101e60 | 53 20 4f 46 20 4d 45 52 43 48 41 4e 54 41 42 49 4c 49 54 59 20 41 4e 44 20 46 49 54 4e 45 53 53 | S.OF.MERCHANTABILITY.AND.FITNESS |
101e80 | 20 46 4f 52 20 41 20 50 41 52 54 49 43 55 4c 41 52 20 50 55 52 50 4f 53 45 0a 41 52 45 20 44 49 | .FOR.A.PARTICULAR.PURPOSE.ARE.DI |
101ea0 | 53 43 4c 41 49 4d 45 44 2e 20 49 4e 20 4e 4f 20 45 56 45 4e 54 20 53 48 41 4c 4c 20 54 48 45 20 | SCLAIMED..IN.NO.EVENT.SHALL.THE. |
101ec0 | 43 4f 50 59 52 49 47 48 54 20 4f 57 4e 45 52 20 4f 52 20 43 4f 4e 54 52 49 42 55 54 4f 52 53 20 | COPYRIGHT.OWNER.OR.CONTRIBUTORS. |
101ee0 | 42 45 0a 4c 49 41 42 4c 45 20 46 4f 52 20 41 4e 59 20 44 49 52 45 43 54 2c 20 49 4e 44 49 52 45 | BE.LIABLE.FOR.ANY.DIRECT,.INDIRE |
101f00 | 43 54 2c 20 49 4e 43 49 44 45 4e 54 41 4c 2c 20 53 50 45 43 49 41 4c 2c 20 45 58 45 4d 50 4c 41 | CT,.INCIDENTAL,.SPECIAL,.EXEMPLA |
101f20 | 52 59 2c 20 4f 52 0a 43 4f 4e 53 45 51 55 45 4e 54 49 41 4c 20 44 41 4d 41 47 45 53 20 28 49 4e | RY,.OR.CONSEQUENTIAL.DAMAGES.(IN |
101f40 | 43 4c 55 44 49 4e 47 2c 20 42 55 54 20 4e 4f 54 20 4c 49 4d 49 54 45 44 20 54 4f 2c 20 50 52 4f | CLUDING,.BUT.NOT.LIMITED.TO,.PRO |
101f60 | 43 55 52 45 4d 45 4e 54 20 4f 46 0a 53 55 42 53 54 49 54 55 54 45 20 47 4f 4f 44 53 20 4f 52 20 | CUREMENT.OF.SUBSTITUTE.GOODS.OR. |
101f80 | 53 45 52 56 49 43 45 53 3b 20 4c 4f 53 53 20 4f 46 20 55 53 45 2c 20 44 41 54 41 2c 20 4f 52 20 | SERVICES;.LOSS.OF.USE,.DATA,.OR. |
101fa0 | 50 52 4f 46 49 54 53 3b 20 4f 52 20 42 55 53 49 4e 45 53 53 0a 49 4e 54 45 52 52 55 50 54 49 4f | PROFITS;.OR.BUSINESS.INTERRUPTIO |
101fc0 | 4e 29 20 48 4f 57 45 56 45 52 20 43 41 55 53 45 44 20 41 4e 44 20 4f 4e 20 41 4e 59 20 54 48 45 | N).HOWEVER.CAUSED.AND.ON.ANY.THE |
101fe0 | 4f 52 59 20 4f 46 20 4c 49 41 42 49 4c 49 54 59 2c 20 57 48 45 54 48 45 52 20 49 4e 0a 43 4f 4e | ORY.OF.LIABILITY,.WHETHER.IN.CON |
102000 | 54 52 41 43 54 2c 20 53 54 52 49 43 54 20 4c 49 41 42 49 4c 49 54 59 2c 20 4f 52 20 54 4f 52 54 | TRACT,.STRICT.LIABILITY,.OR.TORT |
102020 | 20 28 49 4e 43 4c 55 44 49 4e 47 20 4e 45 47 4c 49 47 45 4e 43 45 20 4f 52 20 4f 54 48 45 52 57 | .(INCLUDING.NEGLIGENCE.OR.OTHERW |
102040 | 49 53 45 29 0a 41 52 49 53 49 4e 47 20 49 4e 20 41 4e 59 20 57 41 59 20 4f 55 54 20 4f 46 20 54 | ISE).ARISING.IN.ANY.WAY.OUT.OF.T |
102060 | 48 45 20 55 53 45 20 4f 46 20 54 48 49 53 20 53 4f 46 54 57 41 52 45 2c 20 45 56 45 4e 20 49 46 | HE.USE.OF.THIS.SOFTWARE,.EVEN.IF |
102080 | 20 41 44 56 49 53 45 44 20 4f 46 20 54 48 45 0a 50 4f 53 53 49 42 49 4c 49 54 59 20 4f 46 20 53 | .ADVISED.OF.THE.POSSIBILITY.OF.S |
1020a0 | 55 43 48 20 44 41 4d 41 47 45 2e 0a 3c 2f 70 72 65 3e 0a 0a 0a 0a 20 20 20 20 3c 68 72 3e 0a 0a | UCH.DAMAGE..</pre>........<hr>.. |
1020c0 | 20 20 20 20 3c 68 31 3e 3c 61 20 6e 61 6d 65 3d 22 73 70 61 72 6b 6c 65 22 3e 3c 2f 61 3e 53 70 | ....<h1><a.name="sparkle"></a>Sp |
1020e0 | 61 72 6b 6c 65 20 4c 69 63 65 6e 73 65 3c 2f 68 31 3e 0a 0a 20 20 20 20 3c 70 20 63 6c 61 73 73 | arkle.License</h1>......<p.class |
102100 | 3d 22 63 6f 72 72 65 63 74 6d 65 22 3e 54 68 69 73 20 6c 69 63 65 6e 73 65 20 61 70 70 6c 69 65 | ="correctme">This.license.applie |
102120 | 73 20 74 6f 20 63 65 72 74 61 69 6e 20 66 69 6c 65 73 20 69 6e 20 74 68 65 20 64 69 72 65 63 74 | s.to.certain.files.in.the.direct |
102140 | 6f 72 79 0a 20 20 20 20 3c 73 70 61 6e 20 63 6c 61 73 73 3d 22 70 61 74 68 22 3e 63 61 6d 69 6e | ory.....<span.class="path">camin |
102160 | 6f 2f 73 70 61 72 6b 6c 65 2f 3c 2f 73 70 61 6e 3e 2e 20 28 54 68 69 73 20 63 6f 64 65 20 6f 6e | o/sparkle/</span>..(This.code.on |
102180 | 6c 79 20 73 68 69 70 73 20 69 6e 20 74 68 65 0a 20 20 20 20 69 6e 20 74 68 65 20 43 61 6d 69 6e | ly.ships.in.the.....in.the.Camin |
1021a0 | 6f 20 62 72 6f 77 73 65 72 20 6f 72 20 70 72 6f 64 75 63 74 73 20 62 61 73 65 64 20 6f 6e 20 69 | o.browser.or.products.based.on.i |
1021c0 | 74 2e 29 3c 2f 70 3e 0a 0a 3c 70 72 65 3e 0a 43 6f 70 79 72 69 67 68 74 20 28 63 29 20 32 30 30 | t.)</p>..<pre>.Copyright.(c).200 |
1021e0 | 36 20 41 6e 64 79 20 4d 61 74 75 73 63 68 61 6b 0a 0a 50 65 72 6d 69 73 73 69 6f 6e 20 69 73 20 | 6.Andy.Matuschak..Permission.is. |
102200 | 68 65 72 65 62 79 20 67 72 61 6e 74 65 64 2c 20 66 72 65 65 20 6f 66 20 63 68 61 72 67 65 2c 20 | hereby.granted,.free.of.charge,. |
102220 | 74 6f 20 61 6e 79 20 70 65 72 73 6f 6e 20 6f 62 74 61 69 6e 69 6e 67 20 61 20 63 6f 70 79 20 6f | to.any.person.obtaining.a.copy.o |
102240 | 66 0a 74 68 69 73 20 73 6f 66 74 77 61 72 65 20 61 6e 64 20 61 73 73 6f 63 69 61 74 65 64 20 64 | f.this.software.and.associated.d |
102260 | 6f 63 75 6d 65 6e 74 61 74 69 6f 6e 20 66 69 6c 65 73 20 28 74 68 65 20 22 53 6f 66 74 77 61 72 | ocumentation.files.(the."Softwar |
102280 | 65 22 29 2c 20 74 6f 20 64 65 61 6c 20 69 6e 0a 74 68 65 20 53 6f 66 74 77 61 72 65 20 77 69 74 | e"),.to.deal.in.the.Software.wit |
1022a0 | 68 6f 75 74 20 72 65 73 74 72 69 63 74 69 6f 6e 2c 20 69 6e 63 6c 75 64 69 6e 67 20 77 69 74 68 | hout.restriction,.including.with |
1022c0 | 6f 75 74 20 6c 69 6d 69 74 61 74 69 6f 6e 20 74 68 65 20 72 69 67 68 74 73 20 74 6f 0a 75 73 65 | out.limitation.the.rights.to.use |
1022e0 | 2c 20 63 6f 70 79 2c 20 6d 6f 64 69 66 79 2c 20 6d 65 72 67 65 2c 20 70 75 62 6c 69 73 68 2c 20 | ,.copy,.modify,.merge,.publish,. |
102300 | 64 69 73 74 72 69 62 75 74 65 2c 20 73 75 62 6c 69 63 65 6e 73 65 2c 20 61 6e 64 2f 6f 72 20 73 | distribute,.sublicense,.and/or.s |
102320 | 65 6c 6c 20 63 6f 70 69 65 73 20 6f 66 0a 74 68 65 20 53 6f 66 74 77 61 72 65 2c 20 61 6e 64 20 | ell.copies.of.the.Software,.and. |
102340 | 74 6f 20 70 65 72 6d 69 74 20 70 65 72 73 6f 6e 73 20 74 6f 20 77 68 6f 6d 20 74 68 65 20 53 6f | to.permit.persons.to.whom.the.So |
102360 | 66 74 77 61 72 65 20 69 73 20 66 75 72 6e 69 73 68 65 64 20 74 6f 20 64 6f 20 73 6f 2c 0a 73 75 | ftware.is.furnished.to.do.so,.su |
102380 | 62 6a 65 63 74 20 74 6f 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 63 6f 6e 64 69 74 69 6f 6e | bject.to.the.following.condition |
1023a0 | 73 3a 0a 0a 54 68 65 20 61 62 6f 76 65 20 63 6f 70 79 72 69 67 68 74 20 6e 6f 74 69 63 65 20 61 | s:..The.above.copyright.notice.a |
1023c0 | 6e 64 20 74 68 69 73 20 70 65 72 6d 69 73 73 69 6f 6e 20 6e 6f 74 69 63 65 20 73 68 61 6c 6c 20 | nd.this.permission.notice.shall. |
1023e0 | 62 65 20 69 6e 63 6c 75 64 65 64 20 69 6e 20 61 6c 6c 0a 63 6f 70 69 65 73 20 6f 72 20 73 75 62 | be.included.in.all.copies.or.sub |
102400 | 73 74 61 6e 74 69 61 6c 20 70 6f 72 74 69 6f 6e 73 20 6f 66 20 74 68 65 20 53 6f 66 74 77 61 72 | stantial.portions.of.the.Softwar |
102420 | 65 2e 0a 0a 54 48 45 20 53 4f 46 54 57 41 52 45 20 49 53 20 50 52 4f 56 49 44 45 44 20 22 41 53 | e...THE.SOFTWARE.IS.PROVIDED."AS |
102440 | 20 49 53 22 2c 20 57 49 54 48 4f 55 54 20 57 41 52 52 41 4e 54 59 20 4f 46 20 41 4e 59 20 4b 49 | .IS",.WITHOUT.WARRANTY.OF.ANY.KI |
102460 | 4e 44 2c 20 45 58 50 52 45 53 53 20 4f 52 0a 49 4d 50 4c 49 45 44 2c 20 49 4e 43 4c 55 44 49 4e | ND,.EXPRESS.OR.IMPLIED,.INCLUDIN |
102480 | 47 20 42 55 54 20 4e 4f 54 20 4c 49 4d 49 54 45 44 20 54 4f 20 54 48 45 20 57 41 52 52 41 4e 54 | G.BUT.NOT.LIMITED.TO.THE.WARRANT |
1024a0 | 49 45 53 20 4f 46 20 4d 45 52 43 48 41 4e 54 41 42 49 4c 49 54 59 2c 20 46 49 54 4e 45 53 53 0a | IES.OF.MERCHANTABILITY,.FITNESS. |
1024c0 | 46 4f 52 20 41 20 50 41 52 54 49 43 55 4c 41 52 20 50 55 52 50 4f 53 45 20 41 4e 44 20 4e 4f 4e | FOR.A.PARTICULAR.PURPOSE.AND.NON |
1024e0 | 49 4e 46 52 49 4e 47 45 4d 45 4e 54 2e 20 49 4e 20 4e 4f 20 45 56 45 4e 54 20 53 48 41 4c 4c 20 | INFRINGEMENT..IN.NO.EVENT.SHALL. |
102500 | 54 48 45 20 41 55 54 48 4f 52 53 20 4f 52 0a 43 4f 50 59 52 49 47 48 54 20 48 4f 4c 44 45 52 53 | THE.AUTHORS.OR.COPYRIGHT.HOLDERS |
102520 | 20 42 45 20 4c 49 41 42 4c 45 20 46 4f 52 20 41 4e 59 20 43 4c 41 49 4d 2c 20 44 41 4d 41 47 45 | .BE.LIABLE.FOR.ANY.CLAIM,.DAMAGE |
102540 | 53 20 4f 52 20 4f 54 48 45 52 20 4c 49 41 42 49 4c 49 54 59 2c 20 57 48 45 54 48 45 52 0a 49 4e | S.OR.OTHER.LIABILITY,.WHETHER.IN |
102560 | 20 41 4e 20 41 43 54 49 4f 4e 20 4f 46 20 43 4f 4e 54 52 41 43 54 2c 20 54 4f 52 54 20 4f 52 20 | .AN.ACTION.OF.CONTRACT,.TORT.OR. |
102580 | 4f 54 48 45 52 57 49 53 45 2c 20 41 52 49 53 49 4e 47 20 46 52 4f 4d 2c 20 4f 55 54 20 4f 46 20 | OTHERWISE,.ARISING.FROM,.OUT.OF. |
1025a0 | 4f 52 20 49 4e 0a 43 4f 4e 4e 45 43 54 49 4f 4e 20 57 49 54 48 20 54 48 45 20 53 4f 46 54 57 41 | OR.IN.CONNECTION.WITH.THE.SOFTWA |
1025c0 | 52 45 20 4f 52 20 54 48 45 20 55 53 45 20 4f 52 20 4f 54 48 45 52 20 44 45 41 4c 49 4e 47 53 20 | RE.OR.THE.USE.OR.OTHER.DEALINGS. |
1025e0 | 49 4e 20 54 48 45 20 53 4f 46 54 57 41 52 45 2e 0a 3c 2f 70 72 65 3e 0a 0a 0a 20 20 20 20 3c 68 | IN.THE.SOFTWARE..</pre>.......<h |
102600 | 72 3e 0a 0a 20 20 20 20 3c 68 31 3e 3c 61 20 6e 61 6d 65 3d 22 73 75 6e 73 6f 66 74 22 3e 3c 2f | r>......<h1><a.name="sunsoft"></ |
102620 | 61 3e 53 75 6e 53 6f 66 74 20 4c 69 63 65 6e 73 65 3c 2f 68 31 3e 0a 0a 20 20 20 20 3c 70 20 63 | a>SunSoft.License</h1>......<p.c |
102640 | 6c 61 73 73 3d 22 63 6f 72 72 65 63 74 6d 65 22 3e 54 68 69 73 20 6c 69 63 65 6e 73 65 20 61 70 | lass="correctme">This.license.ap |
102660 | 70 6c 69 65 73 20 74 6f 20 74 68 65 20 66 69 6c 65 0a 20 20 20 20 20 20 3c 73 70 61 6e 20 63 6c | plies.to.the.file.......<span.cl |
102680 | 61 73 73 3d 22 70 61 74 68 22 3e 6d 6f 64 75 6c 65 73 2f 6c 63 6d 73 2f 69 6e 63 6c 75 64 65 2f | ass="path">modules/lcms/include/ |
1026a0 | 69 63 63 33 34 2e 68 3c 2f 73 70 61 6e 3e 2e 3c 2f 70 3e 0a 20 20 20 20 20 20 0a 3c 70 72 65 3e | icc34.h</span>.</p>........<pre> |
1026c0 | 0a 43 6f 70 79 72 69 67 68 74 20 28 63 29 20 31 39 39 34 2d 31 39 39 36 20 53 75 6e 53 6f 66 74 | .Copyright.(c).1994-1996.SunSoft |
1026e0 | 2c 20 49 6e 63 2e 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 52 69 67 68 | ,.Inc.......................Righ |
102700 | 74 73 20 52 65 73 65 72 76 65 64 0a 0a 50 65 72 6d 69 73 73 69 6f 6e 20 69 73 20 68 65 72 65 62 | ts.Reserved..Permission.is.hereb |
102720 | 79 20 67 72 61 6e 74 65 64 2c 20 66 72 65 65 20 6f 66 20 63 68 61 72 67 65 2c 20 74 6f 20 61 6e | y.granted,.free.of.charge,.to.an |
102740 | 79 20 70 65 72 73 6f 6e 20 0a 6f 62 74 61 69 6e 69 6e 67 20 61 20 63 6f 70 79 20 6f 66 20 74 68 | y.person..obtaining.a.copy.of.th |
102760 | 69 73 20 73 6f 66 74 77 61 72 65 20 61 6e 64 20 61 73 73 6f 63 69 61 74 65 64 20 64 6f 63 75 6d | is.software.and.associated.docum |
102780 | 65 6e 74 61 74 69 6f 6e 0a 66 69 6c 65 73 20 28 74 68 65 20 22 53 6f 66 74 77 61 72 65 22 29 2c | entation.files.(the."Software"), |
1027a0 | 20 74 6f 20 64 65 61 6c 20 69 6e 20 74 68 65 20 53 6f 66 74 77 61 72 65 20 77 69 74 68 6f 75 74 | .to.deal.in.the.Software.without |
1027c0 | 20 72 65 73 74 72 69 63 74 2d 20 0a 69 6f 6e 2c 20 69 6e 63 6c 75 64 69 6e 67 20 77 69 74 68 6f | .restrict-..ion,.including.witho |
1027e0 | 75 74 20 6c 69 6d 69 74 61 74 69 6f 6e 20 74 68 65 20 72 69 67 68 74 73 20 74 6f 20 75 73 65 2c | ut.limitation.the.rights.to.use, |
102800 | 20 63 6f 70 79 2c 20 6d 6f 64 69 66 79 2c 20 0a 6d 65 72 67 65 2c 20 70 75 62 6c 69 73 68 20 64 | .copy,.modify,..merge,.publish.d |
102820 | 69 73 74 72 69 62 75 74 65 2c 20 73 75 62 6c 69 63 65 6e 73 65 2c 20 61 6e 64 2f 6f 72 20 73 65 | istribute,.sublicense,.and/or.se |
102840 | 6c 6c 20 63 6f 70 69 65 73 20 6f 66 20 74 68 65 20 0a 53 6f 66 74 77 61 72 65 2c 20 61 6e 64 20 | ll.copies.of.the..Software,.and. |
102860 | 74 6f 20 70 65 72 6d 69 74 20 70 65 72 73 6f 6e 73 20 74 6f 20 77 68 6f 6d 20 74 68 65 20 53 6f | to.permit.persons.to.whom.the.So |
102880 | 66 74 77 61 72 65 20 69 73 20 66 75 72 6e 69 73 68 65 64 20 0a 74 6f 20 64 6f 20 73 6f 2c 20 73 | ftware.is.furnished..to.do.so,.s |
1028a0 | 75 62 6a 65 63 74 20 74 6f 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 63 6f 6e 64 69 74 69 6f | ubject.to.the.following.conditio |
1028c0 | 6e 73 3a 20 0a 20 0a 54 68 65 20 61 62 6f 76 65 20 63 6f 70 79 72 69 67 68 74 20 6e 6f 74 69 63 | ns:....The.above.copyright.notic |
1028e0 | 65 20 61 6e 64 20 74 68 69 73 20 70 65 72 6d 69 73 73 69 6f 6e 20 6e 6f 74 69 63 65 20 73 68 61 | e.and.this.permission.notice.sha |
102900 | 6c 6c 20 62 65 20 0a 69 6e 63 6c 75 64 65 64 20 69 6e 20 61 6c 6c 20 63 6f 70 69 65 73 20 6f 72 | ll.be..included.in.all.copies.or |
102920 | 20 73 75 62 73 74 61 6e 74 69 61 6c 20 70 6f 72 74 69 6f 6e 73 20 6f 66 20 74 68 65 20 53 6f 66 | .substantial.portions.of.the.Sof |
102940 | 74 77 61 72 65 2e 20 0a 20 0a 54 48 45 20 53 4f 46 54 57 41 52 45 20 49 53 20 50 52 4f 56 49 44 | tware.....THE.SOFTWARE.IS.PROVID |
102960 | 45 44 20 22 41 53 20 49 53 22 2c 20 57 49 54 48 4f 55 54 20 57 41 52 52 41 4e 54 59 20 4f 46 20 | ED."AS.IS",.WITHOUT.WARRANTY.OF. |
102980 | 41 4e 59 20 4b 49 4e 44 2c 20 0a 45 58 50 52 45 53 53 20 4f 52 20 49 4d 50 4c 49 45 44 2c 20 49 | ANY.KIND,..EXPRESS.OR.IMPLIED,.I |
1029a0 | 4e 43 4c 55 44 49 4e 47 20 42 55 54 20 4e 4f 54 20 4c 49 4d 49 54 45 44 20 54 4f 20 54 48 45 20 | NCLUDING.BUT.NOT.LIMITED.TO.THE. |
1029c0 | 57 41 52 52 41 4e 54 49 45 53 20 0a 4f 46 20 4d 45 52 43 48 41 4e 54 41 42 49 4c 49 54 59 2c 20 | WARRANTIES..OF.MERCHANTABILITY,. |
1029e0 | 46 49 54 4e 45 53 53 20 46 4f 52 20 41 20 50 41 52 54 49 43 55 4c 41 52 20 50 55 52 50 4f 53 45 | FITNESS.FOR.A.PARTICULAR.PURPOSE |
102a00 | 20 41 4e 44 20 4e 4f 4e 2d 0a 49 4e 46 52 49 4e 47 45 4d 45 4e 54 2e 20 20 49 4e 20 4e 4f 20 45 | .AND.NON-.INFRINGEMENT...IN.NO.E |
102a20 | 56 45 4e 54 20 53 48 41 4c 4c 20 53 55 4e 53 4f 46 54 2c 20 49 4e 43 2e 20 4f 52 20 49 54 53 20 | VENT.SHALL.SUNSOFT,.INC..OR.ITS. |
102a40 | 50 41 52 45 4e 54 20 0a 43 4f 4d 50 41 4e 59 20 42 45 20 4c 49 41 42 4c 45 20 46 4f 52 20 41 4e | PARENT..COMPANY.BE.LIABLE.FOR.AN |
102a60 | 59 20 43 4c 41 49 4d 2c 20 44 41 4d 41 47 45 53 20 4f 52 20 4f 54 48 45 52 20 4c 49 41 42 49 4c | Y.CLAIM,.DAMAGES.OR.OTHER.LIABIL |
102a80 | 49 54 59 2c 20 0a 57 48 45 54 48 45 52 20 49 4e 20 41 4e 20 41 43 54 49 4f 4e 20 4f 46 20 43 4f | ITY,..WHETHER.IN.AN.ACTION.OF.CO |
102aa0 | 4e 54 52 41 43 54 2c 20 54 4f 52 54 20 4f 52 20 4f 54 48 45 52 57 49 53 45 2c 20 41 52 49 53 49 | NTRACT,.TORT.OR.OTHERWISE,.ARISI |
102ac0 | 4e 47 20 0a 46 52 4f 4d 2c 20 4f 55 54 20 4f 46 20 4f 52 20 49 4e 20 43 4f 4e 4e 45 43 54 49 4f | NG..FROM,.OUT.OF.OR.IN.CONNECTIO |
102ae0 | 4e 20 57 49 54 48 20 54 48 45 20 53 4f 46 54 57 41 52 45 20 4f 52 20 54 48 45 20 55 53 45 20 4f | N.WITH.THE.SOFTWARE.OR.THE.USE.O |
102b00 | 52 20 0a 4f 54 48 45 52 20 44 45 41 4c 49 4e 47 53 20 49 4e 20 54 48 45 20 53 4f 46 54 57 41 52 | R..OTHER.DEALINGS.IN.THE.SOFTWAR |
102b20 | 45 2e 20 0a 20 0a 45 78 63 65 70 74 20 61 73 20 63 6f 6e 74 61 69 6e 65 64 20 69 6e 20 74 68 69 | E.....Except.as.contained.in.thi |
102b40 | 73 20 6e 6f 74 69 63 65 2c 20 74 68 65 20 6e 61 6d 65 20 6f 66 20 53 75 6e 53 6f 66 74 2c 20 49 | s.notice,.the.name.of.SunSoft,.I |
102b60 | 6e 63 2e 20 0a 73 68 61 6c 6c 20 6e 6f 74 20 62 65 20 75 73 65 64 20 69 6e 20 61 64 76 65 72 74 | nc...shall.not.be.used.in.advert |
102b80 | 69 73 69 6e 67 20 6f 72 20 6f 74 68 65 72 77 69 73 65 20 74 6f 20 70 72 6f 6d 6f 74 65 20 74 68 | ising.or.otherwise.to.promote.th |
102ba0 | 65 20 0a 73 61 6c 65 2c 20 75 73 65 20 6f 72 20 6f 74 68 65 72 20 64 65 61 6c 69 6e 67 73 20 69 | e..sale,.use.or.other.dealings.i |
102bc0 | 6e 20 74 68 69 73 20 53 6f 66 74 77 61 72 65 20 77 69 74 68 6f 75 74 20 77 72 69 74 74 65 6e 20 | n.this.Software.without.written. |
102be0 | 0a 61 75 74 68 6f 72 69 7a 61 74 69 6f 6e 20 66 72 6f 6d 20 53 75 6e 53 6f 66 74 20 49 6e 63 2e | .authorization.from.SunSoft.Inc. |
102c00 | 20 0a 3c 2f 70 72 65 3e 0a 0a 0a 20 20 20 20 3c 68 72 3e 0a 0a 20 20 20 20 3c 68 31 3e 3c 61 20 | ..</pre>.......<hr>......<h1><a. |
102c20 | 6e 61 6d 65 3d 22 75 63 61 6c 22 3e 3c 2f 61 3e 55 6e 69 76 65 72 73 69 74 79 20 6f 66 20 43 61 | name="ucal"></a>University.of.Ca |
102c40 | 6c 69 66 6f 72 6e 69 61 20 4c 69 63 65 6e 73 65 3c 2f 68 31 3e 0a 0a 20 20 20 20 3c 70 20 63 6c | lifornia.License</h1>......<p.cl |
102c60 | 61 73 73 3d 22 63 6f 72 72 65 63 74 6d 65 22 3e 54 68 69 73 20 6c 69 63 65 6e 73 65 20 61 70 70 | ass="correctme">This.license.app |
102c80 | 6c 69 65 73 20 74 6f 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 66 69 6c 65 73 20 6f 72 2c 20 | lies.to.the.following.files.or,. |
102ca0 | 69 6e 20 74 68 65 20 63 61 73 65 20 6f 66 20 0a 20 20 20 20 64 69 72 65 63 74 6f 72 69 65 73 2c | in.the.case.of......directories, |
102cc0 | 20 63 65 72 74 61 69 6e 20 66 69 6c 65 73 20 69 6e 20 74 68 6f 73 65 20 64 69 72 65 63 74 6f 72 | .certain.files.in.those.director |
102ce0 | 69 65 73 3a 3c 2f 70 3e 0a 20 20 20 20 0a 20 20 20 20 3c 75 6c 3e 0a 20 20 20 20 20 20 3c 6c 69 | ies:</p>..........<ul>.......<li |
102d00 | 20 63 6c 61 73 73 3d 22 70 61 74 68 22 3e 64 62 6d 2f 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 3c 6c | .class="path">dbm/</li>.......<l |
102d20 | 69 20 63 6c 61 73 73 3d 22 70 61 74 68 22 3e 64 62 2f 6d 6f 72 6b 2f 73 72 63 2f 6d 6f 72 6b 51 | i.class="path">db/mork/src/morkQ |
102d40 | 75 69 63 6b 53 6f 72 74 2e 63 70 70 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 3c 6c 69 20 63 6c 61 73 | uickSort.cpp</li>.......<li.clas |
102d60 | 73 3d 22 70 61 74 68 22 3e 78 70 63 6f 6d 2f 67 6c 75 65 2f 6e 73 51 75 69 63 6b 53 6f 72 74 2e | s="path">xpcom/glue/nsQuickSort. |
102d80 | 63 70 70 3c 2f 6c 69 3e 0a 20 20 20 20 3c 2f 75 6c 3e 0a 20 20 20 20 0a 3c 70 72 65 3e 0a 43 6f | cpp</li>.....</ul>......<pre>.Co |
102da0 | 70 79 72 69 67 68 74 20 28 63 29 20 31 39 39 30 2c 20 31 39 39 33 0a 20 54 68 65 20 52 65 67 65 | pyright.(c).1990,.1993..The.Rege |
102dc0 | 6e 74 73 20 6f 66 20 74 68 65 20 55 6e 69 76 65 72 73 69 74 79 20 6f 66 20 43 61 6c 69 66 6f 72 | nts.of.the.University.of.Califor |
102de0 | 6e 69 61 2e 20 20 41 6c 6c 20 72 69 67 68 74 73 20 72 65 73 65 72 76 65 64 2e 0a 0a 52 65 64 69 | nia...All.rights.reserved...Redi |
102e00 | 73 74 72 69 62 75 74 69 6f 6e 20 61 6e 64 20 75 73 65 20 69 6e 20 73 6f 75 72 63 65 20 61 6e 64 | stribution.and.use.in.source.and |
102e20 | 20 62 69 6e 61 72 79 20 66 6f 72 6d 73 2c 20 77 69 74 68 20 6f 72 20 77 69 74 68 6f 75 74 0a 6d | .binary.forms,.with.or.without.m |
102e40 | 6f 64 69 66 69 63 61 74 69 6f 6e 2c 20 61 72 65 20 70 65 72 6d 69 74 74 65 64 20 70 72 6f 76 69 | odification,.are.permitted.provi |
102e60 | 64 65 64 20 74 68 61 74 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 63 6f 6e 64 69 74 69 6f 6e | ded.that.the.following.condition |
102e80 | 73 0a 61 72 65 20 6d 65 74 3a 0a 31 2e 20 52 65 64 69 73 74 72 69 62 75 74 69 6f 6e 73 20 6f 66 | s.are.met:.1..Redistributions.of |
102ea0 | 20 73 6f 75 72 63 65 20 63 6f 64 65 20 6d 75 73 74 20 72 65 74 61 69 6e 20 74 68 65 20 61 62 6f | .source.code.must.retain.the.abo |
102ec0 | 76 65 20 63 6f 70 79 72 69 67 68 74 0a 20 20 20 6e 6f 74 69 63 65 2c 20 74 68 69 73 20 6c 69 73 | ve.copyright....notice,.this.lis |
102ee0 | 74 20 6f 66 20 63 6f 6e 64 69 74 69 6f 6e 73 20 61 6e 64 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e | t.of.conditions.and.the.followin |
102f00 | 67 20 64 69 73 63 6c 61 69 6d 65 72 2e 0a 32 2e 20 52 65 64 69 73 74 72 69 62 75 74 69 6f 6e 73 | g.disclaimer..2..Redistributions |
102f20 | 20 69 6e 20 62 69 6e 61 72 79 20 66 6f 72 6d 20 6d 75 73 74 20 72 65 70 72 6f 64 75 63 65 20 74 | .in.binary.form.must.reproduce.t |
102f40 | 68 65 20 61 62 6f 76 65 20 63 6f 70 79 72 69 67 68 74 0a 20 20 20 6e 6f 74 69 63 65 2c 20 74 68 | he.above.copyright....notice,.th |
102f60 | 69 73 20 6c 69 73 74 20 6f 66 20 63 6f 6e 64 69 74 69 6f 6e 73 20 61 6e 64 20 74 68 65 20 66 6f | is.list.of.conditions.and.the.fo |
102f80 | 6c 6c 6f 77 69 6e 67 20 64 69 73 63 6c 61 69 6d 65 72 20 69 6e 20 74 68 65 0a 20 20 20 64 6f 63 | llowing.disclaimer.in.the....doc |
102fa0 | 75 6d 65 6e 74 61 74 69 6f 6e 20 61 6e 64 2f 6f 72 20 6f 74 68 65 72 20 6d 61 74 65 72 69 61 6c | umentation.and/or.other.material |
102fc0 | 73 20 70 72 6f 76 69 64 65 64 20 77 69 74 68 20 74 68 65 20 64 69 73 74 72 69 62 75 74 69 6f 6e | s.provided.with.the.distribution |
102fe0 | 2e 0a 5b 33 20 44 65 6c 65 74 65 64 20 61 73 20 6f 66 20 32 32 6e 64 20 4a 75 6c 79 20 31 39 39 | ..[3.Deleted.as.of.22nd.July.199 |
103000 | 39 3b 20 73 65 65 0a 20 20 20 20 3c 61 20 68 72 65 66 3d 22 66 74 70 3a 2f 2f 66 74 70 2e 63 73 | 9;.see.....<a.href="ftp://ftp.cs |
103020 | 2e 62 65 72 6b 65 6c 65 79 2e 65 64 75 2f 70 75 62 2f 34 62 73 64 2f 52 45 41 44 4d 45 2e 49 6d | .berkeley.edu/pub/4bsd/README.Im |
103040 | 70 74 2e 4c 69 63 65 6e 73 65 2e 43 68 61 6e 67 65 22 3e 66 74 70 3a 2f 2f 66 74 70 2e 63 73 2e | pt.License.Change">ftp://ftp.cs. |
103060 | 62 65 72 6b 65 6c 65 79 2e 65 64 75 2f 70 75 62 2f 34 62 73 64 2f 52 45 41 44 4d 45 2e 49 6d 70 | berkeley.edu/pub/4bsd/README.Imp |
103080 | 74 2e 4c 69 63 65 6e 73 65 2e 43 68 61 6e 67 65 3c 2f 61 3e 0a 20 20 20 20 66 6f 72 20 64 65 74 | t.License.Change</a>.....for.det |
1030a0 | 61 69 6c 73 5d 0a 34 2e 20 4e 65 69 74 68 65 72 20 74 68 65 20 6e 61 6d 65 20 6f 66 20 74 68 65 | ails].4..Neither.the.name.of.the |
1030c0 | 20 55 6e 69 76 65 72 73 69 74 79 20 6e 6f 72 20 74 68 65 20 6e 61 6d 65 73 20 6f 66 20 69 74 73 | .University.nor.the.names.of.its |
1030e0 | 20 63 6f 6e 74 72 69 62 75 74 6f 72 73 0a 20 20 20 6d 61 79 20 62 65 20 75 73 65 64 20 74 6f 20 | .contributors....may.be.used.to. |
103100 | 65 6e 64 6f 72 73 65 20 6f 72 20 70 72 6f 6d 6f 74 65 20 70 72 6f 64 75 63 74 73 20 64 65 72 69 | endorse.or.promote.products.deri |
103120 | 76 65 64 20 66 72 6f 6d 20 74 68 69 73 20 73 6f 66 74 77 61 72 65 0a 20 20 20 77 69 74 68 6f 75 | ved.from.this.software....withou |
103140 | 74 20 73 70 65 63 69 66 69 63 20 70 72 69 6f 72 20 77 72 69 74 74 65 6e 20 70 65 72 6d 69 73 73 | t.specific.prior.written.permiss |
103160 | 69 6f 6e 2e 0a 0a 54 48 49 53 20 53 4f 46 54 57 41 52 45 20 49 53 20 50 52 4f 56 49 44 45 44 20 | ion...THIS.SOFTWARE.IS.PROVIDED. |
103180 | 42 59 20 54 48 45 20 52 45 47 45 4e 54 53 20 41 4e 44 20 43 4f 4e 54 52 49 42 55 54 4f 52 53 20 | BY.THE.REGENTS.AND.CONTRIBUTORS. |
1031a0 | 60 60 41 53 20 49 53 27 27 20 41 4e 44 0a 41 4e 59 20 45 58 50 52 45 53 53 20 4f 52 20 49 4d 50 | ``AS.IS''.AND.ANY.EXPRESS.OR.IMP |
1031c0 | 4c 49 45 44 20 57 41 52 52 41 4e 54 49 45 53 2c 20 49 4e 43 4c 55 44 49 4e 47 2c 20 42 55 54 20 | LIED.WARRANTIES,.INCLUDING,.BUT. |
1031e0 | 4e 4f 54 20 4c 49 4d 49 54 45 44 20 54 4f 2c 20 54 48 45 0a 49 4d 50 4c 49 45 44 20 57 41 52 52 | NOT.LIMITED.TO,.THE.IMPLIED.WARR |
103200 | 41 4e 54 49 45 53 20 4f 46 20 4d 45 52 43 48 41 4e 54 41 42 49 4c 49 54 59 20 41 4e 44 20 46 49 | ANTIES.OF.MERCHANTABILITY.AND.FI |
103220 | 54 4e 45 53 53 20 46 4f 52 20 41 20 50 41 52 54 49 43 55 4c 41 52 20 50 55 52 50 4f 53 45 0a 41 | TNESS.FOR.A.PARTICULAR.PURPOSE.A |
103240 | 52 45 20 44 49 53 43 4c 41 49 4d 45 44 2e 20 20 49 4e 20 4e 4f 20 45 56 45 4e 54 20 53 48 41 4c | RE.DISCLAIMED...IN.NO.EVENT.SHAL |
103260 | 4c 20 54 48 45 20 52 45 47 45 4e 54 53 20 4f 52 20 43 4f 4e 54 52 49 42 55 54 4f 52 53 20 42 45 | L.THE.REGENTS.OR.CONTRIBUTORS.BE |
103280 | 20 4c 49 41 42 4c 45 0a 46 4f 52 20 41 4e 59 20 44 49 52 45 43 54 2c 20 49 4e 44 49 52 45 43 54 | .LIABLE.FOR.ANY.DIRECT,.INDIRECT |
1032a0 | 2c 20 49 4e 43 49 44 45 4e 54 41 4c 2c 20 53 50 45 43 49 41 4c 2c 20 45 58 45 4d 50 4c 41 52 59 | ,.INCIDENTAL,.SPECIAL,.EXEMPLARY |
1032c0 | 2c 20 4f 52 20 43 4f 4e 53 45 51 55 45 4e 54 49 41 4c 0a 44 41 4d 41 47 45 53 20 28 49 4e 43 4c | ,.OR.CONSEQUENTIAL.DAMAGES.(INCL |
1032e0 | 55 44 49 4e 47 2c 20 42 55 54 20 4e 4f 54 20 4c 49 4d 49 54 45 44 20 54 4f 2c 20 50 52 4f 43 55 | UDING,.BUT.NOT.LIMITED.TO,.PROCU |
103300 | 52 45 4d 45 4e 54 20 4f 46 20 53 55 42 53 54 49 54 55 54 45 20 47 4f 4f 44 53 0a 4f 52 20 53 45 | REMENT.OF.SUBSTITUTE.GOODS.OR.SE |
103320 | 52 56 49 43 45 53 3b 20 4c 4f 53 53 20 4f 46 20 55 53 45 2c 20 44 41 54 41 2c 20 4f 52 20 50 52 | RVICES;.LOSS.OF.USE,.DATA,.OR.PR |
103340 | 4f 46 49 54 53 3b 20 4f 52 20 42 55 53 49 4e 45 53 53 20 49 4e 54 45 52 52 55 50 54 49 4f 4e 29 | OFITS;.OR.BUSINESS.INTERRUPTION) |
103360 | 0a 48 4f 57 45 56 45 52 20 43 41 55 53 45 44 20 41 4e 44 20 4f 4e 20 41 4e 59 20 54 48 45 4f 52 | .HOWEVER.CAUSED.AND.ON.ANY.THEOR |
103380 | 59 20 4f 46 20 4c 49 41 42 49 4c 49 54 59 2c 20 57 48 45 54 48 45 52 20 49 4e 20 43 4f 4e 54 52 | Y.OF.LIABILITY,.WHETHER.IN.CONTR |
1033a0 | 41 43 54 2c 20 53 54 52 49 43 54 0a 4c 49 41 42 49 4c 49 54 59 2c 20 4f 52 20 54 4f 52 54 20 28 | ACT,.STRICT.LIABILITY,.OR.TORT.( |
1033c0 | 49 4e 43 4c 55 44 49 4e 47 20 4e 45 47 4c 49 47 45 4e 43 45 20 4f 52 20 4f 54 48 45 52 57 49 53 | INCLUDING.NEGLIGENCE.OR.OTHERWIS |
1033e0 | 45 29 20 41 52 49 53 49 4e 47 20 49 4e 20 41 4e 59 20 57 41 59 0a 4f 55 54 20 4f 46 20 54 48 45 | E).ARISING.IN.ANY.WAY.OUT.OF.THE |
103400 | 20 55 53 45 20 4f 46 20 54 48 49 53 20 53 4f 46 54 57 41 52 45 2c 20 45 56 45 4e 20 49 46 20 41 | .USE.OF.THIS.SOFTWARE,.EVEN.IF.A |
103420 | 44 56 49 53 45 44 20 4f 46 20 54 48 45 20 50 4f 53 53 49 42 49 4c 49 54 59 20 4f 46 0a 53 55 43 | DVISED.OF.THE.POSSIBILITY.OF.SUC |
103440 | 48 20 44 41 4d 41 47 45 2e 0a 3c 2f 70 72 65 3e 0a 0a 0a 0a 20 20 20 20 3c 68 72 3e 0a 0a 20 20 | H.DAMAGE..</pre>........<hr>.... |
103460 | 20 20 3c 68 31 3e 3c 61 20 6e 61 6d 65 3d 22 68 75 6e 73 70 65 6c 6c 2d 65 6e 2d 55 53 22 3e 3c | ..<h1><a.name="hunspell-en-US">< |
103480 | 2f 61 3e 55 53 20 45 6e 67 6c 69 73 68 20 53 70 65 6c 6c 63 68 65 63 6b 69 6e 67 20 44 69 63 74 | /a>US.English.Spellchecking.Dict |
1034a0 | 69 6f 6e 61 72 79 3c 2f 68 31 3e 0a 0a 20 20 20 20 3c 70 20 63 6c 61 73 73 3d 22 63 6f 72 72 65 | ionary</h1>......<p.class="corre |
1034c0 | 63 74 6d 65 22 3e 54 68 69 73 20 6c 69 63 65 6e 73 65 20 61 70 70 6c 69 65 73 20 74 6f 20 63 65 | ctme">This.license.applies.to.ce |
1034e0 | 72 74 61 69 6e 20 66 69 6c 65 73 20 69 6e 20 74 68 65 20 64 69 72 65 63 74 6f 72 79 0a 20 20 20 | rtain.files.in.the.directory.... |
103500 | 20 20 20 3c 73 70 61 6e 20 63 6c 61 73 73 3d 22 70 61 74 68 22 3e 65 78 74 65 6e 73 69 6f 6e 73 | ...<span.class="path">extensions |
103520 | 2f 73 70 65 6c 6c 63 68 65 63 6b 2f 6c 6f 63 61 6c 65 73 2f 65 6e 2d 55 53 2f 68 75 6e 73 70 65 | /spellcheck/locales/en-US/hunspe |
103540 | 6c 6c 2f 3c 2f 73 70 61 6e 3e 2e 20 28 54 68 69 73 0a 20 20 20 20 20 20 63 6f 64 65 20 6f 6e 6c | ll/</span>..(This.......code.onl |
103560 | 79 20 73 68 69 70 73 20 69 6e 20 73 6f 6d 65 20 6c 6f 63 61 6c 69 7a 65 64 20 76 65 72 73 69 6f | y.ships.in.some.localized.versio |
103580 | 6e 73 20 6f 66 20 74 68 69 73 20 70 72 6f 64 75 63 74 2e 29 3c 2f 70 3e 0a 0a 3c 70 72 65 3e 0a | ns.of.this.product.)</p>..<pre>. |
1035a0 | 44 69 66 66 65 72 65 6e 74 20 70 61 72 74 73 20 6f 66 20 74 68 65 20 55 53 20 45 6e 67 6c 69 73 | Different.parts.of.the.US.Englis |
1035c0 | 68 20 64 69 63 74 69 6f 6e 61 72 79 20 28 53 43 4f 57 4c 29 20 61 72 65 20 73 75 62 6a 65 63 74 | h.dictionary.(SCOWL).are.subject |
1035e0 | 20 74 6f 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 6c 69 63 65 6e 73 65 73 20 61 73 20 0a 73 | .to.the.following.licenses.as..s |
103600 | 68 6f 77 6e 20 62 65 6c 6f 77 2e 20 46 6f 72 20 61 64 64 69 74 69 6f 6e 61 6c 20 64 65 74 61 69 | hown.below..For.additional.detai |
103620 | 6c 73 2c 20 73 6f 75 72 63 65 73 2c 20 63 72 65 64 69 74 73 2c 20 61 6e 64 20 70 75 62 6c 69 63 | ls,.sources,.credits,.and.public |
103640 | 20 64 6f 6d 61 69 6e 20 72 65 66 65 72 65 6e 63 65 73 2c 20 73 65 65 20 0a 3c 61 20 68 72 65 66 | .domain.references,.see..<a.href |
103660 | 3d 22 68 74 74 70 3a 2f 2f 6d 78 72 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6d 6f 7a 69 6c 6c 61 | ="http://mxr.mozilla.org/mozilla |
103680 | 2f 73 6f 75 72 63 65 2f 65 78 74 65 6e 73 69 6f 6e 73 2f 73 70 65 6c 6c 63 68 65 63 6b 2f 6c 6f | /source/extensions/spellcheck/lo |
1036a0 | 63 61 6c 65 73 2f 65 6e 2d 55 53 2f 68 75 6e 73 70 65 6c 6c 2f 52 45 41 44 4d 45 2e 74 78 74 3f | cales/en-US/hunspell/README.txt? |
1036c0 | 72 61 77 3d 31 22 3e 52 45 41 44 4d 45 2e 74 78 74 3c 2f 61 3e 2e 0a 0a 54 68 65 20 63 6f 6c 6c | raw=1">README.txt</a>...The.coll |
1036e0 | 65 63 74 69 76 65 20 77 6f 72 6b 20 6f 66 20 74 68 65 20 53 70 65 6c 6c 20 43 68 65 63 6b 69 6e | ective.work.of.the.Spell.Checkin |
103700 | 67 20 4f 72 69 65 6e 74 65 64 20 57 6f 72 64 20 4c 69 73 74 73 20 28 53 43 4f 57 4c 29 20 69 73 | g.Oriented.Word.Lists.(SCOWL).is |
103720 | 20 75 6e 64 65 72 20 74 68 65 20 0a 66 6f 6c 6c 6f 77 69 6e 67 20 63 6f 70 79 72 69 67 68 74 3a | .under.the..following.copyright: |
103740 | 0a 0a 43 6f 70 79 72 69 67 68 74 20 32 30 30 30 2d 32 30 30 37 20 62 79 20 4b 65 76 69 6e 20 41 | ..Copyright.2000-2007.by.Kevin.A |
103760 | 74 6b 69 6e 73 6f 6e 0a 50 65 72 6d 69 73 73 69 6f 6e 20 74 6f 20 75 73 65 2c 20 63 6f 70 79 2c | tkinson.Permission.to.use,.copy, |
103780 | 20 6d 6f 64 69 66 79 2c 20 64 69 73 74 72 69 62 75 74 65 20 61 6e 64 20 73 65 6c 6c 20 74 68 65 | .modify,.distribute.and.sell.the |
1037a0 | 73 65 20 77 6f 72 64 20 6c 69 73 74 73 2c 20 74 68 65 20 61 73 73 6f 63 69 61 74 65 64 20 73 63 | se.word.lists,.the.associated.sc |
1037c0 | 72 69 70 74 73 2c 20 0a 74 68 65 20 6f 75 74 70 75 74 20 63 72 65 61 74 65 64 20 66 72 6f 6d 20 | ripts,..the.output.created.from. |
1037e0 | 74 68 65 20 73 63 72 69 70 74 73 2c 20 61 6e 64 20 69 74 73 20 64 6f 63 75 6d 65 6e 74 61 74 69 | the.scripts,.and.its.documentati |
103800 | 6f 6e 20 66 6f 72 20 61 6e 79 20 70 75 72 70 6f 73 65 20 69 73 20 68 65 72 65 62 79 20 0a 67 72 | on.for.any.purpose.is.hereby..gr |
103820 | 61 6e 74 65 64 20 77 69 74 68 6f 75 74 20 66 65 65 2c 20 70 72 6f 76 69 64 65 64 20 74 68 61 74 | anted.without.fee,.provided.that |
103840 | 20 74 68 65 20 61 62 6f 76 65 20 63 6f 70 79 72 69 67 68 74 20 6e 6f 74 69 63 65 20 61 70 70 65 | .the.above.copyright.notice.appe |
103860 | 61 72 73 20 69 6e 20 61 6c 6c 20 63 6f 70 69 65 73 20 61 6e 64 20 74 68 61 74 20 0a 62 6f 74 68 | ars.in.all.copies.and.that..both |
103880 | 20 74 68 61 74 20 63 6f 70 79 72 69 67 68 74 20 6e 6f 74 69 63 65 20 61 6e 64 20 74 68 69 73 20 | .that.copyright.notice.and.this. |
1038a0 | 70 65 72 6d 69 73 73 69 6f 6e 20 6e 6f 74 69 63 65 20 61 70 70 65 61 72 20 69 6e 20 73 75 70 70 | permission.notice.appear.in.supp |
1038c0 | 6f 72 74 69 6e 67 20 64 6f 63 75 6d 65 6e 74 61 74 69 6f 6e 2e 20 0a 4b 65 76 69 6e 20 41 74 6b | orting.documentation...Kevin.Atk |
1038e0 | 69 6e 73 6f 6e 20 6d 61 6b 65 73 20 6e 6f 20 72 65 70 72 65 73 65 6e 74 61 74 69 6f 6e 73 20 61 | inson.makes.no.representations.a |
103900 | 62 6f 75 74 20 74 68 65 20 73 75 69 74 61 62 69 6c 69 74 79 20 6f 66 20 74 68 69 73 20 61 72 72 | bout.the.suitability.of.this.arr |
103920 | 61 79 20 66 6f 72 20 61 6e 79 20 0a 70 75 72 70 6f 73 65 2e 20 49 74 20 69 73 20 70 72 6f 76 69 | ay.for.any..purpose..It.is.provi |
103940 | 64 65 64 20 20 22 61 73 20 69 73 22 20 77 69 74 68 6f 75 74 20 65 78 70 72 65 73 73 20 6f 72 20 | ded.."as.is".without.express.or. |
103960 | 69 6d 70 6c 69 65 64 20 77 61 72 72 61 6e 74 79 2e 0a 0a 54 68 65 20 57 6f 72 64 4e 65 74 20 64 | implied.warranty...The.WordNet.d |
103980 | 61 74 61 62 61 73 65 20 69 73 20 75 6e 64 65 72 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 63 | atabase.is.under.the.following.c |
1039a0 | 6f 70 79 72 69 67 68 74 3a 0a 0a 54 68 69 73 20 73 6f 66 74 77 61 72 65 20 61 6e 64 20 64 61 74 | opyright:..This.software.and.dat |
1039c0 | 61 62 61 73 65 20 69 73 20 62 65 69 6e 67 20 70 72 6f 76 69 64 65 64 20 74 6f 20 79 6f 75 2c 20 | abase.is.being.provided.to.you,. |
1039e0 | 74 68 65 20 4c 49 43 45 4e 53 45 45 2c 20 62 79 20 50 72 69 6e 63 65 74 6f 6e 20 0a 55 6e 69 76 | the.LICENSEE,.by.Princeton..Univ |
103a00 | 65 72 73 69 74 79 20 75 6e 64 65 72 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 6c 69 63 65 6e | ersity.under.the.following.licen |
103a20 | 73 65 2e 20 20 42 79 20 6f 62 74 61 69 6e 69 6e 67 2c 20 75 73 69 6e 67 20 61 6e 64 2f 6f 72 20 | se...By.obtaining,.using.and/or. |
103a40 | 63 6f 70 79 69 6e 67 20 74 68 69 73 20 73 6f 66 74 77 61 72 65 20 0a 61 6e 64 20 64 61 74 61 62 | copying.this.software..and.datab |
103a60 | 61 73 65 2c 20 79 6f 75 20 61 67 72 65 65 20 74 68 61 74 20 79 6f 75 20 68 61 76 65 20 72 65 61 | ase,.you.agree.that.you.have.rea |
103a80 | 64 2c 20 75 6e 64 65 72 73 74 6f 6f 64 2c 20 61 6e 64 20 77 69 6c 6c 20 63 6f 6d 70 6c 79 20 77 | d,.understood,.and.will.comply.w |
103aa0 | 69 74 68 20 74 68 65 73 65 20 74 65 72 6d 73 20 0a 61 6e 64 20 63 6f 6e 64 69 74 69 6f 6e 73 3a | ith.these.terms..and.conditions: |
103ac0 | 0a 50 65 72 6d 69 73 73 69 6f 6e 20 74 6f 20 75 73 65 2c 20 63 6f 70 79 2c 20 6d 6f 64 69 66 79 | .Permission.to.use,.copy,.modify |
103ae0 | 20 61 6e 64 20 64 69 73 74 72 69 62 75 74 65 20 74 68 69 73 20 73 6f 66 74 77 61 72 65 20 61 6e | .and.distribute.this.software.an |
103b00 | 64 20 64 61 74 61 62 61 73 65 20 61 6e 64 20 69 74 73 20 0a 64 6f 63 75 6d 65 6e 74 61 74 69 6f | d.database.and.its..documentatio |
103b20 | 6e 20 66 6f 72 20 61 6e 79 20 70 75 72 70 6f 73 65 20 61 6e 64 20 77 69 74 68 6f 75 74 20 66 65 | n.for.any.purpose.and.without.fe |
103b40 | 65 20 6f 72 20 72 6f 79 61 6c 74 79 20 69 73 20 68 65 72 65 62 79 20 67 72 61 6e 74 65 64 2c 20 | e.or.royalty.is.hereby.granted,. |
103b60 | 70 72 6f 76 69 64 65 64 20 74 68 61 74 20 0a 79 6f 75 20 61 67 72 65 65 20 74 6f 20 63 6f 6d 70 | provided.that..you.agree.to.comp |
103b80 | 6c 79 20 77 69 74 68 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 63 6f 70 79 72 69 67 68 74 20 | ly.with.the.following.copyright. |
103ba0 | 6e 6f 74 69 63 65 20 61 6e 64 20 73 74 61 74 65 6d 65 6e 74 73 2c 20 69 6e 63 6c 75 64 69 6e 67 | notice.and.statements,.including |
103bc0 | 20 74 68 65 20 0a 64 69 73 63 6c 61 69 6d 65 72 2c 20 61 6e 64 20 74 68 61 74 20 74 68 65 20 73 | .the..disclaimer,.and.that.the.s |
103be0 | 61 6d 65 20 61 70 70 65 61 72 20 6f 6e 20 41 4c 4c 20 63 6f 70 69 65 73 20 6f 66 20 74 68 65 20 | ame.appear.on.ALL.copies.of.the. |
103c00 | 73 6f 66 74 77 61 72 65 2c 20 64 61 74 61 62 61 73 65 20 61 6e 64 20 0a 64 6f 63 75 6d 65 6e 74 | software,.database.and..document |
103c20 | 61 74 69 6f 6e 2c 20 69 6e 63 6c 75 64 69 6e 67 20 6d 6f 64 69 66 69 63 61 74 69 6f 6e 73 20 74 | ation,.including.modifications.t |
103c40 | 68 61 74 20 79 6f 75 20 6d 61 6b 65 20 66 6f 72 20 69 6e 74 65 72 6e 61 6c 20 75 73 65 20 6f 72 | hat.you.make.for.internal.use.or |
103c60 | 20 66 6f 72 20 64 69 73 74 72 69 62 75 74 69 6f 6e 2e 0a 57 6f 72 64 4e 65 74 20 31 2e 36 20 43 | .for.distribution..WordNet.1.6.C |
103c80 | 6f 70 79 72 69 67 68 74 20 31 39 39 37 20 62 79 20 50 72 69 6e 63 65 74 6f 6e 20 55 6e 69 76 65 | opyright.1997.by.Princeton.Unive |
103ca0 | 72 73 69 74 79 2e 20 20 41 6c 6c 20 72 69 67 68 74 73 20 72 65 73 65 72 76 65 64 2e 0a 54 48 49 | rsity...All.rights.reserved..THI |
103cc0 | 53 20 53 4f 46 54 57 41 52 45 20 41 4e 44 20 44 41 54 41 42 41 53 45 20 49 53 20 50 52 4f 56 49 | S.SOFTWARE.AND.DATABASE.IS.PROVI |
103ce0 | 44 45 44 20 22 41 53 20 49 53 22 20 41 4e 44 20 50 52 49 4e 43 45 54 4f 4e 20 55 4e 49 56 45 52 | DED."AS.IS".AND.PRINCETON.UNIVER |
103d00 | 53 49 54 59 20 0a 4d 41 4b 45 53 20 4e 4f 20 52 45 50 52 45 53 45 4e 54 41 54 49 4f 4e 53 20 4f | SITY..MAKES.NO.REPRESENTATIONS.O |
103d20 | 52 20 57 41 52 52 41 4e 54 49 45 53 2c 20 45 58 50 52 45 53 53 20 4f 52 20 49 4d 50 4c 49 45 44 | R.WARRANTIES,.EXPRESS.OR.IMPLIED |
103d40 | 2e 20 20 42 59 20 57 41 59 20 4f 46 20 0a 45 58 41 4d 50 4c 45 2c 20 42 55 54 20 4e 4f 54 20 4c | ...BY.WAY.OF..EXAMPLE,.BUT.NOT.L |
103d60 | 49 4d 49 54 41 54 49 4f 4e 2c 20 50 52 49 4e 43 45 54 4f 4e 20 55 4e 49 56 45 52 53 49 54 59 20 | IMITATION,.PRINCETON.UNIVERSITY. |
103d80 | 4d 41 4b 45 53 20 4e 4f 20 0a 52 45 50 52 45 53 45 4e 54 41 54 49 4f 4e 53 20 4f 52 20 57 41 52 | MAKES.NO..REPRESENTATIONS.OR.WAR |
103da0 | 52 41 4e 54 49 45 53 20 4f 46 20 4d 45 52 43 48 41 4e 54 2d 20 41 42 49 4c 49 54 59 20 4f 52 20 | RANTIES.OF.MERCHANT-.ABILITY.OR. |
103dc0 | 46 49 54 4e 45 53 53 20 46 4f 52 20 41 4e 59 20 0a 50 41 52 54 49 43 55 4c 41 52 20 50 55 52 50 | FITNESS.FOR.ANY..PARTICULAR.PURP |
103de0 | 4f 53 45 20 4f 52 20 54 48 41 54 20 54 48 45 20 55 53 45 20 4f 46 20 54 48 45 20 4c 49 43 45 4e | OSE.OR.THAT.THE.USE.OF.THE.LICEN |
103e00 | 53 45 44 20 53 4f 46 54 57 41 52 45 2c 20 44 41 54 41 42 41 53 45 20 4f 52 20 0a 44 4f 43 55 4d | SED.SOFTWARE,.DATABASE.OR..DOCUM |
103e20 | 45 4e 54 41 54 49 4f 4e 20 57 49 4c 4c 20 4e 4f 54 20 49 4e 46 52 49 4e 47 45 20 41 4e 59 20 54 | ENTATION.WILL.NOT.INFRINGE.ANY.T |
103e40 | 48 49 52 44 20 50 41 52 54 59 20 50 41 54 45 4e 54 53 2c 20 43 4f 50 59 52 49 47 48 54 53 2c 20 | HIRD.PARTY.PATENTS,.COPYRIGHTS,. |
103e60 | 0a 54 52 41 44 45 4d 41 52 4b 53 20 4f 52 20 4f 54 48 45 52 20 52 49 47 48 54 53 2e 0a 54 68 65 | .TRADEMARKS.OR.OTHER.RIGHTS..The |
103e80 | 20 6e 61 6d 65 20 6f 66 20 50 72 69 6e 63 65 74 6f 6e 20 55 6e 69 76 65 72 73 69 74 79 20 6f 72 | .name.of.Princeton.University.or |
103ea0 | 20 50 72 69 6e 63 65 74 6f 6e 20 6d 61 79 20 6e 6f 74 20 62 65 20 75 73 65 64 20 69 6e 20 61 64 | .Princeton.may.not.be.used.in.ad |
103ec0 | 76 65 72 74 69 73 69 6e 67 20 6f 72 20 70 75 62 6c 69 63 69 74 79 20 0a 70 65 72 74 61 69 6e 69 | vertising.or.publicity..pertaini |
103ee0 | 6e 67 20 74 6f 20 64 69 73 74 72 69 62 75 74 69 6f 6e 20 6f 66 20 74 68 65 20 73 6f 66 74 77 61 | ng.to.distribution.of.the.softwa |
103f00 | 72 65 20 61 6e 64 2f 6f 72 20 64 61 74 61 62 61 73 65 2e 20 20 54 69 74 6c 65 20 74 6f 20 63 6f | re.and/or.database...Title.to.co |
103f20 | 70 79 72 69 67 68 74 20 69 6e 20 74 68 69 73 20 0a 73 6f 66 74 77 61 72 65 2c 20 64 61 74 61 62 | pyright.in.this..software,.datab |
103f40 | 61 73 65 20 61 6e 64 20 61 6e 79 20 61 73 73 6f 63 69 61 74 65 64 20 64 6f 63 75 6d 65 6e 74 61 | ase.and.any.associated.documenta |
103f60 | 74 69 6f 6e 20 73 68 61 6c 6c 20 61 74 20 61 6c 6c 20 74 69 6d 65 73 20 72 65 6d 61 69 6e 20 77 | tion.shall.at.all.times.remain.w |
103f80 | 69 74 68 20 0a 50 72 69 6e 63 65 74 6f 6e 20 55 6e 69 76 65 72 73 69 74 79 20 61 6e 64 20 4c 49 | ith..Princeton.University.and.LI |
103fa0 | 43 45 4e 53 45 45 20 61 67 72 65 65 73 20 74 6f 20 70 72 65 73 65 72 76 65 20 73 61 6d 65 2e 0a | CENSEE.agrees.to.preserve.same.. |
103fc0 | 0a 54 68 65 20 22 55 4b 20 41 64 76 61 6e 63 65 64 20 43 72 79 70 74 69 63 73 20 44 69 63 74 69 | .The."UK.Advanced.Cryptics.Dicti |
103fe0 | 6f 6e 61 72 79 22 20 69 73 20 75 6e 64 65 72 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 63 6f | onary".is.under.the.following.co |
104000 | 70 79 72 69 67 68 74 3a 0a 0a 43 6f 70 79 72 69 67 68 74 20 28 63 29 20 4a 20 52 6f 73 73 20 42 | pyright:..Copyright.(c).J.Ross.B |
104020 | 65 72 65 73 66 6f 72 64 20 31 39 39 33 2d 31 39 39 39 2e 20 41 6c 6c 20 52 69 67 68 74 73 20 52 | eresford.1993-1999..All.Rights.R |
104040 | 65 73 65 72 76 65 64 2e 0a 54 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 72 65 73 74 72 69 63 74 69 | eserved..The.following.restricti |
104060 | 6f 6e 20 69 73 20 70 6c 61 63 65 64 20 6f 6e 20 74 68 65 20 75 73 65 20 6f 66 20 74 68 69 73 20 | on.is.placed.on.the.use.of.this. |
104080 | 70 75 62 6c 69 63 61 74 69 6f 6e 3a 20 69 66 20 54 68 65 20 55 4b 20 41 64 76 61 6e 63 65 64 20 | publication:.if.The.UK.Advanced. |
1040a0 | 0a 43 72 79 70 74 69 63 73 20 44 69 63 74 69 6f 6e 61 72 79 20 69 73 20 75 73 65 64 20 69 6e 20 | .Cryptics.Dictionary.is.used.in. |
1040c0 | 61 20 73 6f 66 74 77 61 72 65 20 70 61 63 6b 61 67 65 20 6f 72 20 72 65 64 69 73 74 72 69 62 75 | a.software.package.or.redistribu |
1040e0 | 74 65 64 20 69 6e 20 61 6e 79 20 66 6f 72 6d 2c 20 74 68 65 20 0a 63 6f 70 79 72 69 67 68 74 20 | ted.in.any.form,.the..copyright. |
104100 | 6e 6f 74 69 63 65 20 6d 75 73 74 20 62 65 20 70 72 6f 6d 69 6e 65 6e 74 6c 79 20 64 69 73 70 6c | notice.must.be.prominently.displ |
104120 | 61 79 65 64 20 61 6e 64 20 74 68 65 20 74 65 78 74 20 6f 66 20 74 68 69 73 20 64 6f 63 75 6d 65 | ayed.and.the.text.of.this.docume |
104140 | 6e 74 20 6d 75 73 74 20 62 65 20 0a 69 6e 63 6c 75 64 65 64 20 76 65 72 62 61 74 69 6d 2e 20 20 | nt.must.be..included.verbatim... |
104160 | 20 54 68 65 72 65 20 61 72 65 20 6e 6f 20 6f 74 68 65 72 20 72 65 73 74 72 69 63 74 69 6f 6e 73 | .There.are.no.other.restrictions |
104180 | 3a 20 49 20 77 6f 75 6c 64 20 6c 69 6b 65 20 74 6f 20 73 65 65 20 74 68 65 20 6c 69 73 74 20 64 | :.I.would.like.to.see.the.list.d |
1041a0 | 69 73 74 72 69 62 75 74 65 64 20 0a 61 73 20 77 69 64 65 6c 79 20 61 73 20 70 6f 73 73 69 62 6c | istributed..as.widely.as.possibl |
1041c0 | 65 2e 0a 0a 56 61 72 69 6f 75 73 20 70 61 72 74 73 20 61 72 65 20 75 6e 64 65 72 20 74 68 65 20 | e...Various.parts.are.under.the. |
1041e0 | 49 73 70 65 6c 6c 20 63 6f 70 79 72 69 67 68 74 3a 0a 0a 43 6f 70 79 72 69 67 68 74 20 31 39 39 | Ispell.copyright:..Copyright.199 |
104200 | 33 2c 20 47 65 6f 66 66 20 4b 75 65 6e 6e 69 6e 67 2c 20 47 72 61 6e 61 64 61 20 48 69 6c 6c 73 | 3,.Geoff.Kuenning,.Granada.Hills |
104220 | 2c 20 43 41 0a 20 41 6c 6c 20 72 69 67 68 74 73 20 72 65 73 65 72 76 65 64 2e 20 20 20 52 65 64 | ,.CA..All.rights.reserved....Red |
104240 | 69 73 74 72 69 62 75 74 69 6f 6e 20 61 6e 64 20 75 73 65 20 69 6e 20 73 6f 75 72 63 65 20 61 6e | istribution.and.use.in.source.an |
104260 | 64 20 62 69 6e 61 72 79 20 66 6f 72 6d 73 2c 20 77 69 74 68 20 6f 72 20 77 69 74 68 6f 75 74 20 | d.binary.forms,.with.or.without. |
104280 | 0a 6d 6f 64 69 66 69 63 61 74 69 6f 6e 2c 20 61 72 65 20 70 65 72 6d 69 74 74 65 64 20 70 72 6f | .modification,.are.permitted.pro |
1042a0 | 76 69 64 65 64 20 74 68 61 74 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 63 6f 6e 64 69 74 69 | vided.that.the.following.conditi |
1042c0 | 6f 6e 73 20 61 72 65 20 6d 65 74 3a 0a 20 20 31 2e 20 52 65 64 69 73 74 72 69 62 75 74 69 6f 6e | ons.are.met:...1..Redistribution |
1042e0 | 73 20 6f 66 20 73 6f 75 72 63 65 20 63 6f 64 65 20 6d 75 73 74 20 72 65 74 61 69 6e 20 74 68 65 | s.of.source.code.must.retain.the |
104300 | 20 61 62 6f 76 65 20 63 6f 70 79 72 69 67 68 74 20 6e 6f 74 69 63 65 2c 20 74 68 69 73 20 6c 69 | .above.copyright.notice,.this.li |
104320 | 73 74 20 6f 66 20 0a 63 6f 6e 64 69 74 69 6f 6e 73 20 61 6e 64 20 74 68 65 20 66 6f 6c 6c 6f 77 | st.of..conditions.and.the.follow |
104340 | 69 6e 67 20 64 69 73 63 6c 61 69 6d 65 72 2e 0a 20 20 32 2e 20 52 65 64 69 73 74 72 69 62 75 74 | ing.disclaimer....2..Redistribut |
104360 | 69 6f 6e 73 20 69 6e 20 62 69 6e 61 72 79 20 66 6f 72 6d 20 6d 75 73 74 20 72 65 70 72 6f 64 75 | ions.in.binary.form.must.reprodu |
104380 | 63 65 20 74 68 65 20 61 62 6f 76 65 20 63 6f 70 79 72 69 67 68 74 20 6e 6f 74 69 63 65 2c 20 74 | ce.the.above.copyright.notice,.t |
1043a0 | 68 69 73 20 6c 69 73 74 20 6f 66 20 0a 63 6f 6e 64 69 74 69 6f 6e 73 20 61 6e 64 20 74 68 65 20 | his.list.of..conditions.and.the. |
1043c0 | 66 6f 6c 6c 6f 77 69 6e 67 20 64 69 73 63 6c 61 69 6d 65 72 20 69 6e 20 74 68 65 20 64 6f 63 75 | following.disclaimer.in.the.docu |
1043e0 | 6d 65 6e 74 61 74 69 6f 6e 20 61 6e 64 2f 6f 72 20 6f 74 68 65 72 20 6d 61 74 65 72 69 61 6c 73 | mentation.and/or.other.materials |
104400 | 20 0a 70 72 6f 76 69 64 65 64 20 77 69 74 68 20 74 68 65 20 64 69 73 74 72 69 62 75 74 69 6f 6e | ..provided.with.the.distribution |
104420 | 2e 0a 20 20 33 2e 20 41 6c 6c 20 6d 6f 64 69 66 69 63 61 74 69 6f 6e 73 20 74 6f 20 74 68 65 20 | ....3..All.modifications.to.the. |
104440 | 73 6f 75 72 63 65 20 63 6f 64 65 20 6d 75 73 74 20 62 65 20 63 6c 65 61 72 6c 79 20 6d 61 72 6b | source.code.must.be.clearly.mark |
104460 | 65 64 20 61 73 20 73 75 63 68 2e 20 20 42 69 6e 61 72 79 20 0a 72 65 64 69 73 74 72 69 62 75 74 | ed.as.such...Binary..redistribut |
104480 | 69 6f 6e 73 20 62 61 73 65 64 20 6f 6e 20 6d 6f 64 69 66 69 65 64 20 73 6f 75 72 63 65 20 63 6f | ions.based.on.modified.source.co |
1044a0 | 64 65 20 6d 75 73 74 20 62 65 20 63 6c 65 61 72 6c 79 20 6d 61 72 6b 65 64 20 61 73 20 6d 6f 64 | de.must.be.clearly.marked.as.mod |
1044c0 | 69 66 69 65 64 20 0a 76 65 72 73 69 6f 6e 73 20 69 6e 20 74 68 65 20 64 6f 63 75 6d 65 6e 74 61 | ified..versions.in.the.documenta |
1044e0 | 74 69 6f 6e 20 61 6e 64 2f 6f 72 20 6f 74 68 65 72 20 6d 61 74 65 72 69 61 6c 73 20 70 72 6f 76 | tion.and/or.other.materials.prov |
104500 | 69 64 65 64 20 77 69 74 68 20 74 68 65 20 64 69 73 74 72 69 62 75 74 69 6f 6e 2e 0a 20 20 28 63 | ided.with.the.distribution....(c |
104520 | 6c 61 75 73 65 20 34 20 72 65 6d 6f 76 65 64 20 77 69 74 68 20 70 65 72 6d 69 73 73 69 6f 6e 20 | lause.4.removed.with.permission. |
104540 | 66 72 6f 6d 20 47 65 6f 66 66 20 4b 75 65 6e 6e 69 6e 67 29 0a 20 20 35 2e 20 54 68 65 20 6e 61 | from.Geoff.Kuenning)...5..The.na |
104560 | 6d 65 20 6f 66 20 47 65 6f 66 66 20 4b 75 65 6e 6e 69 6e 67 20 6d 61 79 20 6e 6f 74 20 62 65 20 | me.of.Geoff.Kuenning.may.not.be. |
104580 | 75 73 65 64 20 74 6f 20 65 6e 64 6f 72 73 65 20 6f 72 20 70 72 6f 6d 6f 74 65 20 70 72 6f 64 75 | used.to.endorse.or.promote.produ |
1045a0 | 63 74 73 20 64 65 72 69 76 65 64 20 0a 66 72 6f 6d 20 74 68 69 73 20 73 6f 66 74 77 61 72 65 20 | cts.derived..from.this.software. |
1045c0 | 77 69 74 68 6f 75 74 20 73 70 65 63 69 66 69 63 20 70 72 69 6f 72 20 77 72 69 74 74 65 6e 20 70 | without.specific.prior.written.p |
1045e0 | 65 72 6d 69 73 73 69 6f 6e 2e 0a 20 54 48 49 53 20 53 4f 46 54 57 41 52 45 20 49 53 20 50 52 4f | ermission...THIS.SOFTWARE.IS.PRO |
104600 | 56 49 44 45 44 20 42 59 20 47 45 4f 46 46 20 4b 55 45 4e 4e 49 4e 47 20 41 4e 44 20 43 4f 4e 54 | VIDED.BY.GEOFF.KUENNING.AND.CONT |
104620 | 52 49 42 55 54 4f 52 53 20 60 60 41 53 20 20 49 53 27 27 20 41 4e 44 20 0a 41 4e 59 20 45 58 50 | RIBUTORS.``AS..IS''.AND..ANY.EXP |
104640 | 52 45 53 53 20 4f 52 20 49 4d 50 4c 49 45 44 20 57 41 52 52 41 4e 54 49 45 53 2c 20 49 4e 43 4c | RESS.OR.IMPLIED.WARRANTIES,.INCL |
104660 | 55 44 49 4e 47 2c 20 42 55 54 20 4e 4f 54 20 4c 49 4d 49 54 45 44 20 54 4f 2c 20 54 48 45 20 0a | UDING,.BUT.NOT.LIMITED.TO,.THE.. |
104680 | 49 4d 50 4c 49 45 44 20 57 41 52 52 41 4e 54 49 45 53 20 4f 46 20 4d 45 52 43 48 41 4e 54 41 42 | IMPLIED.WARRANTIES.OF.MERCHANTAB |
1046a0 | 49 4c 49 54 59 20 41 4e 44 20 46 49 54 4e 45 53 53 20 46 4f 52 20 41 20 50 41 52 54 49 43 55 4c | ILITY.AND.FITNESS.FOR.A.PARTICUL |
1046c0 | 41 52 20 0a 50 55 52 50 4f 53 45 20 41 52 45 20 44 49 53 43 4c 41 49 4d 45 44 2e 20 20 49 4e 20 | AR..PURPOSE.ARE.DISCLAIMED...IN. |
1046e0 | 4e 4f 20 45 56 45 4e 54 20 53 48 41 4c 4c 20 47 45 4f 46 46 20 4b 55 45 4e 4e 49 4e 47 20 4f 52 | NO.EVENT.SHALL.GEOFF.KUENNING.OR |
104700 | 20 43 4f 4e 54 52 49 42 55 54 4f 52 53 20 0a 42 45 20 4c 49 41 42 4c 45 20 46 4f 52 20 41 4e 59 | .CONTRIBUTORS..BE.LIABLE.FOR.ANY |
104720 | 20 44 49 52 45 43 54 2c 20 49 4e 44 49 52 45 43 54 2c 20 49 4e 43 49 44 45 4e 54 41 4c 2c 20 53 | .DIRECT,.INDIRECT,.INCIDENTAL,.S |
104740 | 50 45 43 49 41 4c 2c 20 45 58 45 4d 50 4c 41 52 59 2c 20 4f 52 20 0a 43 4f 4e 53 45 51 55 45 4e | PECIAL,.EXEMPLARY,.OR..CONSEQUEN |
104760 | 54 49 41 4c 20 44 41 4d 41 47 45 53 20 28 49 4e 43 4c 55 44 49 4e 47 2c 20 42 55 54 20 4e 4f 54 | TIAL.DAMAGES.(INCLUDING,.BUT.NOT |
104780 | 20 4c 49 4d 49 54 45 44 20 54 4f 2c 20 50 52 4f 43 55 52 45 4d 45 4e 54 20 4f 46 20 0a 53 55 42 | .LIMITED.TO,.PROCUREMENT.OF..SUB |
1047a0 | 53 54 49 54 55 54 45 20 47 4f 4f 44 53 20 4f 52 20 53 45 52 56 49 43 45 53 3b 20 4c 4f 53 53 20 | STITUTE.GOODS.OR.SERVICES;.LOSS. |
1047c0 | 4f 46 20 55 53 45 2c 20 44 41 54 41 2c 20 4f 52 20 50 52 4f 46 49 54 53 3b 20 4f 52 20 42 55 53 | OF.USE,.DATA,.OR.PROFITS;.OR.BUS |
1047e0 | 49 4e 45 53 53 20 0a 49 4e 54 45 52 52 55 50 54 49 4f 4e 29 20 48 4f 57 45 56 45 52 20 43 41 55 | INESS..INTERRUPTION).HOWEVER.CAU |
104800 | 53 45 44 20 41 4e 44 20 4f 4e 20 41 4e 59 20 54 48 45 4f 52 59 20 4f 46 20 4c 49 41 42 49 4c 49 | SED.AND.ON.ANY.THEORY.OF.LIABILI |
104820 | 54 59 2c 20 57 48 45 54 48 45 52 20 49 4e 20 0a 43 4f 4e 54 52 41 43 54 2c 20 53 54 52 49 43 54 | TY,.WHETHER.IN..CONTRACT,.STRICT |
104840 | 20 4c 49 41 42 49 4c 49 54 59 2c 20 4f 52 20 54 4f 52 54 20 28 49 4e 43 4c 55 44 49 4e 47 20 4e | .LIABILITY,.OR.TORT.(INCLUDING.N |
104860 | 45 47 4c 49 47 45 4e 43 45 20 4f 52 20 4f 54 48 45 52 57 49 53 45 29 20 0a 41 52 49 53 49 4e 47 | EGLIGENCE.OR.OTHERWISE)..ARISING |
104880 | 20 49 4e 20 41 4e 59 20 57 41 59 20 4f 55 54 20 4f 46 20 54 48 45 20 55 53 45 20 4f 46 20 54 48 | .IN.ANY.WAY.OUT.OF.THE.USE.OF.TH |
1048a0 | 49 53 20 53 4f 46 54 57 41 52 45 2c 20 45 56 45 4e 20 49 46 20 41 44 56 49 53 45 44 20 4f 46 20 | IS.SOFTWARE,.EVEN.IF.ADVISED.OF. |
1048c0 | 54 48 45 20 20 0a 50 4f 53 53 49 42 49 4c 49 54 59 20 4f 46 20 53 55 43 48 20 44 41 4d 41 47 45 | THE...POSSIBILITY.OF.SUCH.DAMAGE |
1048e0 | 2e 0a 0a 41 64 64 69 74 69 6f 6e 61 6c 20 43 6f 6e 74 72 69 62 75 74 6f 72 73 3a 0a 0a 20 41 6c | ...Additional.Contributors:...Al |
104900 | 61 6e 20 42 65 61 6c 65 20 26 6c 74 3b 62 69 6c 6a 69 72 40 70 6f 62 6f 78 2e 63 6f 6d 26 67 74 | an.Beale.<biljir@pobox.com> |
104920 | 3b 0a 20 4d 20 43 6f 6f 70 65 72 20 26 6c 74 3b 74 68 65 67 72 65 6e 64 65 6c 40 74 68 65 72 69 | ;..M.Cooper.<thegrendel@theri |
104940 | 76 65 72 2e 63 6f 6d 26 67 74 3b 0a 3c 2f 70 72 65 3e 0a 0a 0a 0a 20 20 20 20 3c 68 72 3e 0a 0a | ver.com>.</pre>........<hr>.. |
104960 | 20 20 20 20 3c 68 31 3e 3c 61 20 6e 61 6d 65 3d 22 78 69 70 68 22 3e 3c 2f 61 3e 58 69 70 68 2e | ....<h1><a.name="xiph"></a>Xiph. |
104980 | 6f 72 67 20 46 6f 75 6e 64 61 74 69 6f 6e 20 4c 69 63 65 6e 73 65 3c 2f 68 31 3e 0a 0a 20 20 20 | org.Foundation.License</h1>..... |
1049a0 | 20 3c 70 20 63 6c 61 73 73 3d 22 63 6f 72 72 65 63 74 6d 65 22 3e 54 68 69 73 20 6c 69 63 65 6e | .<p.class="correctme">This.licen |
1049c0 | 73 65 20 61 70 70 6c 69 65 73 20 74 6f 20 66 69 6c 65 73 20 69 6e 20 74 68 65 20 66 6f 6c 6c 6f | se.applies.to.files.in.the.follo |
1049e0 | 77 69 6e 67 20 64 69 72 65 63 74 6f 72 69 65 73 20 0a 20 20 20 20 20 20 77 69 74 68 20 74 68 65 | wing.directories........with.the |
104a00 | 20 73 70 65 63 69 66 69 65 64 20 63 6f 70 79 72 69 67 68 74 20 79 65 61 72 20 72 61 6e 67 65 73 | .specified.copyright.year.ranges |
104a20 | 3a 3c 2f 70 3e 0a 20 20 20 20 3c 75 6c 3e 0a 20 20 20 20 20 20 3c 6c 69 3e 3c 73 70 61 6e 20 63 | :</p>.....<ul>.......<li><span.c |
104a40 | 6c 61 73 73 3d 22 70 61 74 68 22 3e 6d 65 64 69 61 2f 6c 69 62 6f 67 67 2f 3c 2f 73 70 61 6e 3e | lass="path">media/libogg/</span> |
104a60 | 2c 20 32 30 30 32 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 3c 6c 69 3e 3c 73 70 61 6e 20 63 6c 61 73 | ,.2002</li>.......<li><span.clas |
104a80 | 73 3d 22 70 61 74 68 22 3e 6d 65 64 69 61 2f 6c 69 62 74 68 65 6f 72 61 2f 3c 2f 73 70 61 6e 3e | s="path">media/libtheora/</span> |
104aa0 | 2c 20 32 30 30 32 2d 32 30 30 37 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 3c 6c 69 3e 3c 73 70 61 6e | ,.2002-2007</li>.......<li><span |
104ac0 | 20 63 6c 61 73 73 3d 22 70 61 74 68 22 3e 6d 65 64 69 61 2f 6c 69 62 76 6f 72 62 69 73 2f 3c 2f | .class="path">media/libvorbis/</ |
104ae0 | 73 70 61 6e 3e 2c 20 32 30 30 32 2d 32 30 30 34 3c 2f 6c 69 3e 0a 20 20 20 20 3c 2f 75 6c 3e 0a | span>,.2002-2004</li>.....</ul>. |
104b00 | 0a 3c 70 72 65 3e 0a 43 6f 70 79 72 69 67 68 74 20 28 63 29 20 26 6c 74 3b 79 65 61 72 26 67 74 | .<pre>.Copyright.(c).<year> |
104b20 | 3b 2c 20 58 69 70 68 2e 6f 72 67 20 46 6f 75 6e 64 61 74 69 6f 6e 0a 0a 52 65 64 69 73 74 72 69 | ;,.Xiph.org.Foundation..Redistri |
104b40 | 62 75 74 69 6f 6e 20 61 6e 64 20 75 73 65 20 69 6e 20 73 6f 75 72 63 65 20 61 6e 64 20 62 69 6e | bution.and.use.in.source.and.bin |
104b60 | 61 72 79 20 66 6f 72 6d 73 2c 20 77 69 74 68 20 6f 72 20 77 69 74 68 6f 75 74 0a 6d 6f 64 69 66 | ary.forms,.with.or.without.modif |
104b80 | 69 63 61 74 69 6f 6e 2c 20 61 72 65 20 70 65 72 6d 69 74 74 65 64 20 70 72 6f 76 69 64 65 64 20 | ication,.are.permitted.provided. |
104ba0 | 74 68 61 74 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 63 6f 6e 64 69 74 69 6f 6e 73 0a 61 72 | that.the.following.conditions.ar |
104bc0 | 65 20 6d 65 74 3a 0a 0a 2d 20 52 65 64 69 73 74 72 69 62 75 74 69 6f 6e 73 20 6f 66 20 73 6f 75 | e.met:..-.Redistributions.of.sou |
104be0 | 72 63 65 20 63 6f 64 65 20 6d 75 73 74 20 72 65 74 61 69 6e 20 74 68 65 20 61 62 6f 76 65 20 63 | rce.code.must.retain.the.above.c |
104c00 | 6f 70 79 72 69 67 68 74 0a 6e 6f 74 69 63 65 2c 20 74 68 69 73 20 6c 69 73 74 20 6f 66 20 63 6f | opyright.notice,.this.list.of.co |
104c20 | 6e 64 69 74 69 6f 6e 73 20 61 6e 64 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 64 69 73 63 6c | nditions.and.the.following.discl |
104c40 | 61 69 6d 65 72 2e 0a 0a 2d 20 52 65 64 69 73 74 72 69 62 75 74 69 6f 6e 73 20 69 6e 20 62 69 6e | aimer...-.Redistributions.in.bin |
104c60 | 61 72 79 20 66 6f 72 6d 20 6d 75 73 74 20 72 65 70 72 6f 64 75 63 65 20 74 68 65 20 61 62 6f 76 | ary.form.must.reproduce.the.abov |
104c80 | 65 20 63 6f 70 79 72 69 67 68 74 0a 6e 6f 74 69 63 65 2c 20 74 68 69 73 20 6c 69 73 74 20 6f 66 | e.copyright.notice,.this.list.of |
104ca0 | 20 63 6f 6e 64 69 74 69 6f 6e 73 20 61 6e 64 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 64 69 | .conditions.and.the.following.di |
104cc0 | 73 63 6c 61 69 6d 65 72 20 69 6e 20 74 68 65 0a 64 6f 63 75 6d 65 6e 74 61 74 69 6f 6e 20 61 6e | sclaimer.in.the.documentation.an |
104ce0 | 64 2f 6f 72 20 6f 74 68 65 72 20 6d 61 74 65 72 69 61 6c 73 20 70 72 6f 76 69 64 65 64 20 77 69 | d/or.other.materials.provided.wi |
104d00 | 74 68 20 74 68 65 20 64 69 73 74 72 69 62 75 74 69 6f 6e 2e 0a 0a 2d 20 4e 65 69 74 68 65 72 20 | th.the.distribution...-.Neither. |
104d20 | 74 68 65 20 6e 61 6d 65 20 6f 66 20 74 68 65 20 58 69 70 68 2e 6f 72 67 20 46 6f 75 6e 64 61 74 | the.name.of.the.Xiph.org.Foundat |
104d40 | 69 6f 6e 20 6e 6f 72 20 74 68 65 20 6e 61 6d 65 73 20 6f 66 20 69 74 73 0a 63 6f 6e 74 72 69 62 | ion.nor.the.names.of.its.contrib |
104d60 | 75 74 6f 72 73 20 6d 61 79 20 62 65 20 75 73 65 64 20 74 6f 20 65 6e 64 6f 72 73 65 20 6f 72 20 | utors.may.be.used.to.endorse.or. |
104d80 | 70 72 6f 6d 6f 74 65 20 70 72 6f 64 75 63 74 73 20 64 65 72 69 76 65 64 20 66 72 6f 6d 0a 74 68 | promote.products.derived.from.th |
104da0 | 69 73 20 73 6f 66 74 77 61 72 65 20 77 69 74 68 6f 75 74 20 73 70 65 63 69 66 69 63 20 70 72 69 | is.software.without.specific.pri |
104dc0 | 6f 72 20 77 72 69 74 74 65 6e 20 70 65 72 6d 69 73 73 69 6f 6e 2e 0a 0a 54 48 49 53 20 53 4f 46 | or.written.permission...THIS.SOF |
104de0 | 54 57 41 52 45 20 49 53 20 50 52 4f 56 49 44 45 44 20 42 59 20 54 48 45 20 43 4f 50 59 52 49 47 | TWARE.IS.PROVIDED.BY.THE.COPYRIG |
104e00 | 48 54 20 48 4f 4c 44 45 52 53 20 41 4e 44 20 43 4f 4e 54 52 49 42 55 54 4f 52 53 0a 60 60 41 53 | HT.HOLDERS.AND.CONTRIBUTORS.``AS |
104e20 | 20 49 53 27 27 20 41 4e 44 20 41 4e 59 20 45 58 50 52 45 53 53 20 4f 52 20 49 4d 50 4c 49 45 44 | .IS''.AND.ANY.EXPRESS.OR.IMPLIED |
104e40 | 20 57 41 52 52 41 4e 54 49 45 53 2c 20 49 4e 43 4c 55 44 49 4e 47 2c 20 42 55 54 20 4e 4f 54 0a | .WARRANTIES,.INCLUDING,.BUT.NOT. |
104e60 | 4c 49 4d 49 54 45 44 20 54 4f 2c 20 54 48 45 20 49 4d 50 4c 49 45 44 20 57 41 52 52 41 4e 54 49 | LIMITED.TO,.THE.IMPLIED.WARRANTI |
104e80 | 45 53 20 4f 46 20 4d 45 52 43 48 41 4e 54 41 42 49 4c 49 54 59 20 41 4e 44 20 46 49 54 4e 45 53 | ES.OF.MERCHANTABILITY.AND.FITNES |
104ea0 | 53 20 46 4f 52 0a 41 20 50 41 52 54 49 43 55 4c 41 52 20 50 55 52 50 4f 53 45 20 41 52 45 20 44 | S.FOR.A.PARTICULAR.PURPOSE.ARE.D |
104ec0 | 49 53 43 4c 41 49 4d 45 44 2e 20 20 49 4e 20 4e 4f 20 45 56 45 4e 54 20 53 48 41 4c 4c 20 54 48 | ISCLAIMED...IN.NO.EVENT.SHALL.TH |
104ee0 | 45 20 46 4f 55 4e 44 41 54 49 4f 4e 0a 4f 52 20 43 4f 4e 54 52 49 42 55 54 4f 52 53 20 42 45 20 | E.FOUNDATION.OR.CONTRIBUTORS.BE. |
104f00 | 4c 49 41 42 4c 45 20 46 4f 52 20 41 4e 59 20 44 49 52 45 43 54 2c 20 49 4e 44 49 52 45 43 54 2c | LIABLE.FOR.ANY.DIRECT,.INDIRECT, |
104f20 | 20 49 4e 43 49 44 45 4e 54 41 4c 2c 0a 53 50 45 43 49 41 4c 2c 20 45 58 45 4d 50 4c 41 52 59 2c | .INCIDENTAL,.SPECIAL,.EXEMPLARY, |
104f40 | 20 4f 52 20 43 4f 4e 53 45 51 55 45 4e 54 49 41 4c 20 44 41 4d 41 47 45 53 20 28 49 4e 43 4c 55 | .OR.CONSEQUENTIAL.DAMAGES.(INCLU |
104f60 | 44 49 4e 47 2c 20 42 55 54 20 4e 4f 54 0a 4c 49 4d 49 54 45 44 20 54 4f 2c 20 50 52 4f 43 55 52 | DING,.BUT.NOT.LIMITED.TO,.PROCUR |
104f80 | 45 4d 45 4e 54 20 4f 46 20 53 55 42 53 54 49 54 55 54 45 20 47 4f 4f 44 53 20 4f 52 20 53 45 52 | EMENT.OF.SUBSTITUTE.GOODS.OR.SER |
104fa0 | 56 49 43 45 53 3b 20 4c 4f 53 53 20 4f 46 20 55 53 45 2c 0a 44 41 54 41 2c 20 4f 52 20 50 52 4f | VICES;.LOSS.OF.USE,.DATA,.OR.PRO |
104fc0 | 46 49 54 53 3b 20 4f 52 20 42 55 53 49 4e 45 53 53 20 49 4e 54 45 52 52 55 50 54 49 4f 4e 29 20 | FITS;.OR.BUSINESS.INTERRUPTION). |
104fe0 | 48 4f 57 45 56 45 52 20 43 41 55 53 45 44 20 41 4e 44 20 4f 4e 20 41 4e 59 0a 54 48 45 4f 52 59 | HOWEVER.CAUSED.AND.ON.ANY.THEORY |
105000 | 20 4f 46 20 4c 49 41 42 49 4c 49 54 59 2c 20 57 48 45 54 48 45 52 20 49 4e 20 43 4f 4e 54 52 41 | .OF.LIABILITY,.WHETHER.IN.CONTRA |
105020 | 43 54 2c 20 53 54 52 49 43 54 20 4c 49 41 42 49 4c 49 54 59 2c 20 4f 52 20 54 4f 52 54 0a 28 49 | CT,.STRICT.LIABILITY,.OR.TORT.(I |
105040 | 4e 43 4c 55 44 49 4e 47 20 4e 45 47 4c 49 47 45 4e 43 45 20 4f 52 20 4f 54 48 45 52 57 49 53 45 | NCLUDING.NEGLIGENCE.OR.OTHERWISE |
105060 | 29 20 41 52 49 53 49 4e 47 20 49 4e 20 41 4e 59 20 57 41 59 20 4f 55 54 20 4f 46 20 54 48 45 20 | ).ARISING.IN.ANY.WAY.OUT.OF.THE. |
105080 | 55 53 45 0a 4f 46 20 54 48 49 53 20 53 4f 46 54 57 41 52 45 2c 20 45 56 45 4e 20 49 46 20 41 44 | USE.OF.THIS.SOFTWARE,.EVEN.IF.AD |
1050a0 | 56 49 53 45 44 20 4f 46 20 54 48 45 20 50 4f 53 53 49 42 49 4c 49 54 59 20 4f 46 20 53 55 43 48 | VISED.OF.THE.POSSIBILITY.OF.SUCH |
1050c0 | 20 44 41 4d 41 47 45 2e 0a 3c 2f 70 72 65 3e 0a 0a 0a 0a 0a 20 20 20 20 3c 68 72 3e 0a 0a 20 20 | .DAMAGE..</pre>.........<hr>.... |
1050e0 | 20 20 3c 68 31 3e 3c 61 20 6e 61 6d 65 3d 22 67 6f 6f 67 6c 65 2d 67 65 61 72 73 22 3e 3c 2f 61 | ..<h1><a.name="google-gears"></a |
105100 | 3e 47 6f 6f 67 6c 65 20 47 65 61 72 73 3c 2f 68 31 3e 0a 0a 20 20 20 20 3c 70 20 63 6c 61 73 73 | >Google.Gears</h1>......<p.class |
105120 | 3d 22 63 6f 72 72 65 63 74 6d 65 22 3e 54 68 69 73 20 6c 69 63 65 6e 73 65 20 61 70 70 6c 69 65 | ="correctme">This.license.applie |
105140 | 73 20 74 6f 20 66 69 6c 65 73 20 69 6e 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 64 69 72 65 | s.to.files.in.the.following.dire |
105160 | 63 74 6f 72 69 65 73 20 0a 20 20 20 20 20 20 77 69 74 68 20 74 68 65 20 73 70 65 63 69 66 69 65 | ctories........with.the.specifie |
105180 | 64 20 63 6f 70 79 72 69 67 68 74 20 79 65 61 72 20 72 61 6e 67 65 73 3a 3c 2f 70 3e 0a 20 20 20 | d.copyright.year.ranges:</p>.... |
1051a0 | 20 3c 75 6c 3e 0a 20 20 20 20 20 20 3c 6c 69 3e 3c 73 70 61 6e 20 63 6c 61 73 73 3d 22 70 61 74 | .<ul>.......<li><span.class="pat |
1051c0 | 68 22 3e 6e 65 74 77 65 72 6b 2f 77 69 66 69 2f 3c 2f 73 70 61 6e 3e 2c 20 32 30 30 39 3c 2f 6c | h">netwerk/wifi/</span>,.2009</l |
1051e0 | 69 3e 0a 20 20 20 20 3c 2f 75 6c 3e 0a 0a 3c 70 72 65 3e 0a 43 6f 70 79 72 69 67 68 74 20 32 30 | i>.....</ul>..<pre>.Copyright.20 |
105200 | 30 38 2c 20 47 6f 6f 67 6c 65 20 49 6e 63 2e 0a 0a 52 65 64 69 73 74 72 69 62 75 74 69 6f 6e 20 | 08,.Google.Inc...Redistribution. |
105220 | 61 6e 64 20 75 73 65 20 69 6e 20 73 6f 75 72 63 65 20 61 6e 64 20 62 69 6e 61 72 79 20 66 6f 72 | and.use.in.source.and.binary.for |
105240 | 6d 73 2c 20 77 69 74 68 20 6f 72 20 77 69 74 68 6f 75 74 0a 6d 6f 64 69 66 69 63 61 74 69 6f 6e | ms,.with.or.without.modification |
105260 | 2c 20 61 72 65 20 70 65 72 6d 69 74 74 65 64 20 70 72 6f 76 69 64 65 64 20 74 68 61 74 20 74 68 | ,.are.permitted.provided.that.th |
105280 | 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 63 6f 6e 64 69 74 69 6f 6e 73 20 61 72 65 20 6d 65 74 3a 0a | e.following.conditions.are.met:. |
1052a0 | 0a 20 31 2e 20 52 65 64 69 73 74 72 69 62 75 74 69 6f 6e 73 20 6f 66 20 73 6f 75 72 63 65 20 63 | ..1..Redistributions.of.source.c |
1052c0 | 6f 64 65 20 6d 75 73 74 20 72 65 74 61 69 6e 20 74 68 65 20 61 62 6f 76 65 0a 20 63 6f 70 79 72 | ode.must.retain.the.above..copyr |
1052e0 | 69 67 68 74 20 6e 6f 74 69 63 65 2c 20 74 68 69 73 20 6c 69 73 74 20 6f 66 20 63 6f 6e 64 69 74 | ight.notice,.this.list.of.condit |
105300 | 69 6f 6e 73 20 61 6e 64 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 0a 20 64 69 73 63 6c 61 69 6d | ions.and.the.following..disclaim |
105320 | 65 72 2e 0a 0a 20 32 2e 20 52 65 64 69 73 74 72 69 62 75 74 69 6f 6e 73 20 69 6e 20 62 69 6e 61 | er....2..Redistributions.in.bina |
105340 | 72 79 20 66 6f 72 6d 20 6d 75 73 74 20 72 65 70 72 6f 64 75 63 65 20 74 68 65 20 61 62 6f 76 65 | ry.form.must.reproduce.the.above |
105360 | 0a 20 63 6f 70 79 72 69 67 68 74 20 6e 6f 74 69 63 65 2c 20 74 68 69 73 20 6c 69 73 74 20 6f 66 | ..copyright.notice,.this.list.of |
105380 | 20 63 6f 6e 64 69 74 69 6f 6e 73 20 61 6e 64 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 0a 20 64 | .conditions.and.the.following..d |
1053a0 | 69 73 63 6c 61 69 6d 65 72 20 69 6e 20 74 68 65 20 64 6f 63 75 6d 65 6e 74 61 74 69 6f 6e 20 61 | isclaimer.in.the.documentation.a |
1053c0 | 6e 64 2f 6f 72 20 6f 74 68 65 72 20 6d 61 74 65 72 69 61 6c 73 0a 20 70 72 6f 76 69 64 65 64 20 | nd/or.other.materials..provided. |
1053e0 | 77 69 74 68 20 74 68 65 20 64 69 73 74 72 69 62 75 74 69 6f 6e 2e 0a 0a 20 33 2e 20 4e 65 69 74 | with.the.distribution....3..Neit |
105400 | 68 65 72 20 74 68 65 20 6e 61 6d 65 20 6f 66 20 47 6f 6f 67 6c 65 20 49 6e 63 2e 20 6e 6f 72 20 | her.the.name.of.Google.Inc..nor. |
105420 | 74 68 65 20 6e 61 6d 65 73 20 6f 66 20 69 74 73 0a 20 63 6f 6e 74 72 69 62 75 74 6f 72 73 20 6d | the.names.of.its..contributors.m |
105440 | 61 79 20 62 65 20 75 73 65 64 20 74 6f 20 65 6e 64 6f 72 73 65 20 6f 72 20 70 72 6f 6d 6f 74 65 | ay.be.used.to.endorse.or.promote |
105460 | 20 70 72 6f 64 75 63 74 73 0a 20 64 65 72 69 76 65 64 20 66 72 6f 6d 20 74 68 69 73 20 73 6f 66 | .products..derived.from.this.sof |
105480 | 74 77 61 72 65 20 77 69 74 68 6f 75 74 20 73 70 65 63 69 66 69 63 20 70 72 69 6f 72 20 77 72 69 | tware.without.specific.prior.wri |
1054a0 | 74 74 65 6e 0a 20 70 65 72 6d 69 73 73 69 6f 6e 2e 0a 0a 54 48 49 53 20 53 4f 46 54 57 41 52 45 | tten..permission...THIS.SOFTWARE |
1054c0 | 20 49 53 20 50 52 4f 56 49 44 45 44 20 42 59 20 54 48 45 20 41 55 54 48 4f 52 20 60 60 41 53 20 | .IS.PROVIDED.BY.THE.AUTHOR.``AS. |
1054e0 | 49 53 27 27 20 41 4e 44 20 41 4e 59 0a 45 58 50 52 45 53 53 20 4f 52 20 49 4d 50 4c 49 45 44 20 | IS''.AND.ANY.EXPRESS.OR.IMPLIED. |
105500 | 57 41 52 52 41 4e 54 49 45 53 2c 20 49 4e 43 4c 55 44 49 4e 47 2c 20 42 55 54 20 4e 4f 54 20 4c | WARRANTIES,.INCLUDING,.BUT.NOT.L |
105520 | 49 4d 49 54 45 44 0a 54 4f 2c 20 54 48 45 20 49 4d 50 4c 49 45 44 20 57 41 52 52 41 4e 54 49 45 | IMITED.TO,.THE.IMPLIED.WARRANTIE |
105540 | 53 20 4f 46 20 4d 45 52 43 48 41 4e 54 41 42 49 4c 49 54 59 20 41 4e 44 20 46 49 54 4e 45 53 53 | S.OF.MERCHANTABILITY.AND.FITNESS |
105560 | 0a 46 4f 52 20 41 20 50 41 52 54 49 43 55 4c 41 52 20 50 55 52 50 4f 53 45 20 41 52 45 20 44 49 | .FOR.A.PARTICULAR.PURPOSE.ARE.DI |
105580 | 53 43 4c 41 49 4d 45 44 2e 20 49 4e 20 4e 4f 20 45 56 45 4e 54 20 53 48 41 4c 4c 0a 54 48 45 20 | SCLAIMED..IN.NO.EVENT.SHALL.THE. |
1055a0 | 41 55 54 48 4f 52 20 42 45 20 4c 49 41 42 4c 45 20 46 4f 52 20 41 4e 59 20 44 49 52 45 43 54 2c | AUTHOR.BE.LIABLE.FOR.ANY.DIRECT, |
1055c0 | 20 49 4e 44 49 52 45 43 54 2c 20 49 4e 43 49 44 45 4e 54 41 4c 2c 0a 53 50 45 43 49 41 4c 2c 20 | .INDIRECT,.INCIDENTAL,.SPECIAL,. |
1055e0 | 45 58 45 4d 50 4c 41 52 59 2c 20 4f 52 20 43 4f 4e 53 45 51 55 45 4e 54 49 41 4c 20 44 41 4d 41 | EXEMPLARY,.OR.CONSEQUENTIAL.DAMA |
105600 | 47 45 53 20 28 49 4e 43 4c 55 44 49 4e 47 2c 20 42 55 54 0a 4e 4f 54 20 4c 49 4d 49 54 45 44 20 | GES.(INCLUDING,.BUT.NOT.LIMITED. |
105620 | 54 4f 2c 20 50 52 4f 43 55 52 45 4d 45 4e 54 20 4f 46 20 53 55 42 53 54 49 54 55 54 45 20 47 4f | TO,.PROCUREMENT.OF.SUBSTITUTE.GO |
105640 | 4f 44 53 20 4f 52 20 53 45 52 56 49 43 45 53 3b 0a 4c 4f 53 53 20 4f 46 20 55 53 45 2c 20 44 41 | ODS.OR.SERVICES;.LOSS.OF.USE,.DA |
105660 | 54 41 2c 20 4f 52 20 50 52 4f 46 49 54 53 3b 20 4f 52 20 42 55 53 49 4e 45 53 53 20 49 4e 54 45 | TA,.OR.PROFITS;.OR.BUSINESS.INTE |
105680 | 52 52 55 50 54 49 4f 4e 29 0a 48 4f 57 45 56 45 52 20 43 41 55 53 45 44 20 41 4e 44 20 4f 4e 20 | RRUPTION).HOWEVER.CAUSED.AND.ON. |
1056a0 | 41 4e 59 20 54 48 45 4f 52 59 20 4f 46 20 4c 49 41 42 49 4c 49 54 59 2c 20 57 48 45 54 48 45 52 | ANY.THEORY.OF.LIABILITY,.WHETHER |
1056c0 | 20 49 4e 0a 43 4f 4e 54 52 41 43 54 2c 20 53 54 52 49 43 54 20 4c 49 41 42 49 4c 49 54 59 2c 20 | .IN.CONTRACT,.STRICT.LIABILITY,. |
1056e0 | 4f 52 20 54 4f 52 54 20 28 49 4e 43 4c 55 44 49 4e 47 20 4e 45 47 4c 49 47 45 4e 43 45 20 4f 52 | OR.TORT.(INCLUDING.NEGLIGENCE.OR |
105700 | 0a 4f 54 48 45 52 57 49 53 45 29 20 41 52 49 53 49 4e 47 20 49 4e 20 41 4e 59 20 57 41 59 20 4f | .OTHERWISE).ARISING.IN.ANY.WAY.O |
105720 | 55 54 20 4f 46 20 54 48 45 20 55 53 45 20 4f 46 20 54 48 49 53 0a 53 4f 46 54 57 41 52 45 2c 20 | UT.OF.THE.USE.OF.THIS.SOFTWARE,. |
105740 | 45 56 45 4e 20 49 46 20 41 44 56 49 53 45 44 20 4f 46 20 54 48 45 20 50 4f 53 53 49 42 49 4c 49 | EVEN.IF.ADVISED.OF.THE.POSSIBILI |
105760 | 54 59 20 4f 46 20 53 55 43 48 20 44 41 4d 41 47 45 2e 0a 0a 0a 54 68 65 20 63 6f 6e 74 65 6e 74 | TY.OF.SUCH.DAMAGE....The.content |
105780 | 73 20 6f 66 20 74 68 69 73 20 66 69 6c 65 20 61 72 65 20 74 61 6b 65 6e 20 66 72 6f 6d 20 41 70 | s.of.this.file.are.taken.from.Ap |
1057a0 | 70 6c 65 38 30 32 31 31 2e 68 20 66 72 6f 6d 0a 74 68 65 20 69 53 74 75 6d 62 6c 65 72 20 70 72 | ple80211.h.from.the.iStumbler.pr |
1057c0 | 6f 6a 65 63 74 20 28 68 74 74 70 3a 2f 2f 77 77 77 2e 69 73 74 75 6d 62 6c 65 72 2e 6e 65 74 29 | oject.(http://www.istumbler.net) |
1057e0 | 2e 20 54 68 69 73 0a 70 72 6f 6a 65 63 74 20 69 73 20 72 65 6c 65 61 73 65 64 20 75 6e 64 65 72 | ..This.project.is.released.under |
105800 | 20 74 68 65 20 42 53 44 20 6c 69 63 65 6e 73 65 20 77 69 74 68 20 74 68 65 20 66 6f 6c 6c 6f 77 | .the.BSD.license.with.the.follow |
105820 | 69 6e 67 0a 72 65 73 74 72 69 63 74 69 6f 6e 73 2e 0a 0a 43 6f 70 79 72 69 67 68 74 20 28 63 29 | ing.restrictions...Copyright.(c) |
105840 | 20 30 32 30 30 36 2c 20 41 6c 66 20 57 61 74 74 20 28 61 6c 66 40 69 73 74 75 6d 62 6c 65 72 2e | .02006,.Alf.Watt.(alf@istumbler. |
105860 | 6e 65 74 29 2e 20 41 6c 6c 0a 72 69 67 68 74 73 20 72 65 73 65 72 76 65 64 2e 0a 0a 52 65 64 69 | net)..All.rights.reserved...Redi |
105880 | 73 74 72 69 62 75 74 69 6f 6e 20 61 6e 64 20 75 73 65 20 69 6e 20 73 6f 75 72 63 65 20 61 6e 64 | stribution.and.use.in.source.and |
1058a0 | 20 62 69 6e 61 72 79 20 66 6f 72 6d 73 2c 20 77 69 74 68 20 6f 72 0a 77 69 74 68 6f 75 74 20 6d | .binary.forms,.with.or.without.m |
1058c0 | 6f 64 69 66 69 63 61 74 69 6f 6e 2c 20 61 72 65 20 70 65 72 6d 69 74 74 65 64 20 70 72 6f 76 69 | odification,.are.permitted.provi |
1058e0 | 64 65 64 20 74 68 61 74 20 74 68 65 0a 66 6f 6c 6c 6f 77 69 6e 67 20 63 6f 6e 64 69 74 69 6f 6e | ded.that.the.following.condition |
105900 | 73 20 61 72 65 20 6d 65 74 3a 0a 0a 2a 20 52 65 64 69 73 74 72 69 62 75 74 69 6f 6e 73 20 6f 66 | s.are.met:..*.Redistributions.of |
105920 | 20 73 6f 75 72 63 65 20 63 6f 64 65 20 6d 75 73 74 20 72 65 74 61 69 6e 20 74 68 65 20 61 62 6f | .source.code.must.retain.the.abo |
105940 | 76 65 0a 63 6f 70 79 72 69 67 68 74 20 6e 6f 74 69 63 65 2c 20 74 68 69 73 20 6c 69 73 74 20 6f | ve.copyright.notice,.this.list.o |
105960 | 66 20 63 6f 6e 64 69 74 69 6f 6e 73 20 61 6e 64 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 0a 64 | f.conditions.and.the.following.d |
105980 | 69 73 63 6c 61 69 6d 65 72 2e 0a 0a 2a 20 52 65 64 69 73 74 72 69 62 75 74 69 6f 6e 73 20 69 6e | isclaimer...*.Redistributions.in |
1059a0 | 20 62 69 6e 61 72 79 20 66 6f 72 6d 20 6d 75 73 74 20 72 65 70 72 6f 64 75 63 65 20 74 68 65 20 | .binary.form.must.reproduce.the. |
1059c0 | 61 62 6f 76 65 0a 63 6f 70 79 72 69 67 68 74 20 6e 6f 74 69 63 65 2c 20 74 68 69 73 20 6c 69 73 | above.copyright.notice,.this.lis |
1059e0 | 74 20 6f 66 20 63 6f 6e 64 69 74 69 6f 6e 73 20 61 6e 64 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e | t.of.conditions.and.the.followin |
105a00 | 67 0a 64 69 73 63 6c 61 69 6d 65 72 20 69 6e 20 74 68 65 20 64 6f 63 75 6d 65 6e 74 61 74 69 6f | g.disclaimer.in.the.documentatio |
105a20 | 6e 20 61 6e 64 2f 6f 72 20 6f 74 68 65 72 20 6d 61 74 65 72 69 61 6c 73 0a 70 72 6f 76 69 64 65 | n.and/or.other.materials.provide |
105a40 | 64 20 77 69 74 68 20 74 68 65 20 64 69 73 74 72 69 62 75 74 69 6f 6e 2e 0a 0a 2a 20 4e 65 69 74 | d.with.the.distribution...*.Neit |
105a60 | 68 65 72 20 74 68 65 20 6e 61 6d 65 20 6f 66 20 69 53 74 75 6d 62 6c 65 72 20 6e 6f 72 20 74 68 | her.the.name.of.iStumbler.nor.th |
105a80 | 65 20 6e 61 6d 65 73 20 6f 66 20 69 74 73 0a 63 6f 6e 74 72 69 62 75 74 6f 72 73 20 6d 61 79 20 | e.names.of.its.contributors.may. |
105aa0 | 62 65 20 75 73 65 64 20 74 6f 20 65 6e 64 6f 72 73 65 20 6f 72 20 70 72 6f 6d 6f 74 65 20 70 72 | be.used.to.endorse.or.promote.pr |
105ac0 | 6f 64 75 63 74 73 0a 64 65 72 69 76 65 64 20 66 72 6f 6d 20 74 68 69 73 20 73 6f 66 74 77 61 72 | oducts.derived.from.this.softwar |
105ae0 | 65 20 77 69 74 68 6f 75 74 20 73 70 65 63 69 66 69 63 20 70 72 69 6f 72 20 77 72 69 74 74 65 6e | e.without.specific.prior.written |
105b00 | 0a 70 65 72 6d 69 73 73 69 6f 6e 2e 0a 0a 54 48 49 53 20 53 4f 46 54 57 41 52 45 20 49 53 20 50 | .permission...THIS.SOFTWARE.IS.P |
105b20 | 52 4f 56 49 44 45 44 20 42 59 20 54 48 45 20 43 4f 50 59 52 49 47 48 54 20 48 4f 4c 44 45 52 53 | ROVIDED.BY.THE.COPYRIGHT.HOLDERS |
105b40 | 20 41 4e 44 0a 43 4f 4e 54 52 49 42 55 54 4f 52 53 20 22 41 53 20 49 53 22 20 41 4e 44 20 41 4e | .AND.CONTRIBUTORS."AS.IS".AND.AN |
105b60 | 59 20 45 58 50 52 45 53 53 20 4f 52 20 49 4d 50 4c 49 45 44 20 57 41 52 52 41 4e 54 49 45 53 2c | Y.EXPRESS.OR.IMPLIED.WARRANTIES, |
105b80 | 0a 49 4e 43 4c 55 44 49 4e 47 2c 20 42 55 54 20 4e 4f 54 20 4c 49 4d 49 54 45 44 20 54 4f 2c 20 | .INCLUDING,.BUT.NOT.LIMITED.TO,. |
105ba0 | 54 48 45 20 49 4d 50 4c 49 45 44 20 57 41 52 52 41 4e 54 49 45 53 20 4f 46 0a 4d 45 52 43 48 41 | THE.IMPLIED.WARRANTIES.OF.MERCHA |
105bc0 | 4e 54 41 42 49 4c 49 54 59 20 41 4e 44 20 46 49 54 4e 45 53 53 20 46 4f 52 20 41 20 50 41 52 54 | NTABILITY.AND.FITNESS.FOR.A.PART |
105be0 | 49 43 55 4c 41 52 20 50 55 52 50 4f 53 45 20 41 52 45 0a 44 49 53 43 4c 41 49 4d 45 44 2e 20 49 | ICULAR.PURPOSE.ARE.DISCLAIMED..I |
105c00 | 4e 20 4e 4f 20 45 56 45 4e 54 20 53 48 41 4c 4c 20 54 48 45 20 43 4f 50 59 52 49 47 48 54 20 4f | N.NO.EVENT.SHALL.THE.COPYRIGHT.O |
105c20 | 57 4e 45 52 20 4f 52 0a 43 4f 4e 54 52 49 42 55 54 4f 52 53 20 42 45 20 4c 49 41 42 4c 45 20 46 | WNER.OR.CONTRIBUTORS.BE.LIABLE.F |
105c40 | 4f 52 20 41 4e 59 20 44 49 52 45 43 54 2c 20 49 4e 44 49 52 45 43 54 2c 20 49 4e 43 49 44 45 4e | OR.ANY.DIRECT,.INDIRECT,.INCIDEN |
105c60 | 54 41 4c 2c 0a 53 50 45 43 49 41 4c 2c 20 45 58 45 4d 50 4c 41 52 59 2c 20 4f 52 20 43 4f 4e 53 | TAL,.SPECIAL,.EXEMPLARY,.OR.CONS |
105c80 | 45 51 55 45 4e 54 49 41 4c 20 44 41 4d 41 47 45 53 20 28 49 4e 43 4c 55 44 49 4e 47 2c 20 42 55 | EQUENTIAL.DAMAGES.(INCLUDING,.BU |
105ca0 | 54 0a 4e 4f 54 20 4c 49 4d 49 54 45 44 20 54 4f 2c 20 50 52 4f 43 55 52 45 4d 45 4e 54 20 4f 46 | T.NOT.LIMITED.TO,.PROCUREMENT.OF |
105cc0 | 20 53 55 42 53 54 49 54 55 54 45 20 47 4f 4f 44 53 20 4f 52 20 53 45 52 56 49 43 45 53 3b 0a 4c | .SUBSTITUTE.GOODS.OR.SERVICES;.L |
105ce0 | 4f 53 53 20 4f 46 20 55 53 45 2c 20 44 41 54 41 2c 20 4f 52 20 50 52 4f 46 49 54 53 3b 20 4f 52 | OSS.OF.USE,.DATA,.OR.PROFITS;.OR |
105d00 | 20 42 55 53 49 4e 45 53 53 20 49 4e 54 45 52 52 55 50 54 49 4f 4e 29 0a 48 4f 57 45 56 45 52 20 | .BUSINESS.INTERRUPTION).HOWEVER. |
105d20 | 43 41 55 53 45 44 20 41 4e 44 20 4f 4e 20 41 4e 59 20 54 48 45 4f 52 59 20 4f 46 20 4c 49 41 42 | CAUSED.AND.ON.ANY.THEORY.OF.LIAB |
105d40 | 49 4c 49 54 59 2c 20 57 48 45 54 48 45 52 20 49 4e 0a 43 4f 4e 54 52 41 43 54 2c 20 53 54 52 49 | ILITY,.WHETHER.IN.CONTRACT,.STRI |
105d60 | 43 54 20 4c 49 41 42 49 4c 49 54 59 2c 20 4f 52 20 54 4f 52 54 20 28 49 4e 43 4c 55 44 49 4e 47 | CT.LIABILITY,.OR.TORT.(INCLUDING |
105d80 | 20 4e 45 47 4c 49 47 45 4e 43 45 20 4f 52 0a 4f 54 48 45 52 57 49 53 45 29 20 41 52 49 53 49 4e | .NEGLIGENCE.OR.OTHERWISE).ARISIN |
105da0 | 47 20 49 4e 20 41 4e 59 20 57 41 59 20 4f 55 54 20 4f 46 20 54 48 45 20 55 53 45 20 4f 46 20 54 | G.IN.ANY.WAY.OUT.OF.THE.USE.OF.T |
105dc0 | 48 49 53 0a 53 4f 46 54 57 41 52 45 2c 20 45 56 45 4e 20 49 46 20 41 44 56 49 53 45 44 20 4f 46 | HIS.SOFTWARE,.EVEN.IF.ADVISED.OF |
105de0 | 20 54 48 45 20 50 4f 53 53 49 42 49 4c 49 54 59 20 4f 46 20 53 55 43 48 20 44 41 4d 41 47 45 2e | .THE.POSSIBILITY.OF.SUCH.DAMAGE. |
105e00 | 0a 0a 54 68 69 73 20 69 73 20 74 68 65 20 72 65 76 65 72 73 65 20 65 6e 67 69 6e 65 65 72 65 64 | ..This.is.the.reverse.engineered |
105e20 | 20 68 65 61 64 65 72 20 66 6f 72 20 74 68 65 20 41 70 70 6c 65 38 30 32 31 31 0a 70 72 69 76 61 | .header.for.the.Apple80211.priva |
105e40 | 74 65 20 66 72 61 6d 65 77 6f 72 6b 2e 20 20 54 68 65 20 66 72 61 6d 65 77 6f 72 6b 20 63 61 6e | te.framework...The.framework.can |
105e60 | 20 62 65 20 66 6f 75 6e 64 20 61 74 0a 2f 53 79 73 74 65 6d 2f 4c 69 62 72 61 72 79 2f 50 72 69 | .be.found.at./System/Library/Pri |
105e80 | 76 61 74 65 46 72 61 6d 65 77 6f 72 6b 73 2f 41 70 70 6c 65 38 30 32 31 31 2e 66 72 61 6d 65 77 | vateFrameworks/Apple80211.framew |
105ea0 | 6f 72 6b 2e 0a 0a 3c 2f 70 72 65 3e 0a 0a 20 20 20 20 3c 68 72 3e 0a 0a 20 20 20 20 3c 68 31 3e | ork...</pre>......<hr>......<h1> |
105ec0 | 3c 61 20 6e 61 6d 65 3d 22 6f 74 68 65 72 2d 6e 6f 74 69 63 65 73 22 3e 3c 2f 61 3e 4f 74 68 65 | <a.name="other-notices"></a>Othe |
105ee0 | 72 20 52 65 71 75 69 72 65 64 20 4e 6f 74 69 63 65 73 3c 2f 68 31 3e 0a 0a 20 20 20 20 3c 75 6c | r.Required.Notices</h1>......<ul |
105f00 | 3e 0a 20 20 20 20 20 20 3c 6c 69 3e 54 68 69 73 20 73 6f 66 74 77 61 72 65 20 69 73 20 62 61 73 | >.......<li>This.software.is.bas |
105f20 | 65 64 20 69 6e 20 70 61 72 74 20 6f 6e 20 74 68 65 20 77 6f 72 6b 20 6f 66 20 74 68 65 20 49 6e | ed.in.part.on.the.work.of.the.In |
105f40 | 64 65 70 65 6e 64 65 6e 74 20 0a 20 20 20 20 20 20 20 20 20 20 4a 50 45 47 20 47 72 6f 75 70 2e | dependent............JPEG.Group. |
105f60 | 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 3c 6c 69 3e 50 6f 72 74 69 6f 6e 73 20 6f 66 20 74 68 65 20 | </li>.......<li>Portions.of.the. |
105f80 | 4f 53 2f 32 20 76 65 72 73 69 6f 6e 20 6f 66 20 74 68 69 73 20 73 6f 66 74 77 61 72 65 20 61 72 | OS/2.version.of.this.software.ar |
105fa0 | 65 20 63 6f 70 79 72 69 67 68 74 0a 20 20 20 20 20 20 20 20 20 20 26 63 6f 70 79 3b 31 39 39 36 | e.copyright...........©1996 |
105fc0 | 2d 32 30 30 32 20 3c 61 20 68 72 65 66 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e 66 72 65 65 74 79 | -2002.<a.href="http://www.freety |
105fe0 | 70 65 2e 6f 72 67 2f 22 3e 54 68 65 20 46 72 65 65 54 79 70 65 20 50 72 6f 6a 65 63 74 3c 2f 61 | pe.org/">The.FreeType.Project</a |
106000 | 3e 2e 0a 20 20 20 20 20 20 20 20 20 20 41 6c 6c 20 72 69 67 68 74 73 20 72 65 73 65 72 76 65 64 | >............All.rights.reserved |
106020 | 2e 3c 2f 6c 69 3e 0a 20 20 20 20 3c 2f 75 6c 3e 0a 0a 0a 20 20 20 20 3c 68 72 3e 0a 0a 20 20 20 | .</li>.....</ul>.......<hr>..... |
106040 | 20 3c 68 31 3e 3c 61 20 6e 61 6d 65 3d 22 6f 70 74 69 6f 6e 61 6c 2d 6e 6f 74 69 63 65 73 22 3e | .<h1><a.name="optional-notices"> |
106060 | 3c 2f 61 3e 4f 70 74 69 6f 6e 61 6c 20 4e 6f 74 69 63 65 73 3c 2f 68 31 3e 0a 0a 20 20 20 20 3c | </a>Optional.Notices</h1>......< |
106080 | 70 20 63 6c 61 73 73 3d 22 63 6f 72 72 65 63 74 6d 65 22 3e 53 6f 6d 65 20 70 65 72 6d 69 73 73 | p.class="correctme">Some.permiss |
1060a0 | 69 76 65 20 73 6f 66 74 77 61 72 65 20 6c 69 63 65 6e 73 65 73 20 0a 20 20 20 20 72 65 71 75 65 | ive.software.licenses......reque |
1060c0 | 73 74 20 62 75 74 20 64 6f 20 6e 6f 74 20 72 65 71 75 69 72 65 20 61 6e 20 0a 20 20 20 20 61 63 | st.but.do.not.require.an......ac |
1060e0 | 6b 6e 6f 77 6c 65 64 67 65 6d 65 6e 74 20 6f 66 20 74 68 65 20 75 73 65 20 6f 66 20 74 68 65 69 | knowledgement.of.the.use.of.thei |
106100 | 72 20 73 6f 66 74 77 61 72 65 2e 20 57 65 20 61 72 65 20 76 65 72 79 20 67 72 61 74 65 66 75 6c | r.software..We.are.very.grateful |
106120 | 0a 20 20 20 20 74 6f 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 70 65 6f 70 6c 65 20 61 6e 64 | .....to.the.following.people.and |
106140 | 20 70 72 6f 6a 65 63 74 73 20 66 6f 72 20 74 68 65 69 72 20 63 6f 6e 74 72 69 62 75 74 69 6f 6e | .projects.for.their.contribution |
106160 | 73 20 74 6f 0a 20 20 20 20 74 68 69 73 20 70 72 6f 64 75 63 74 3a 3c 2f 70 3e 0a 20 20 20 20 0a | s.to.....this.product:</p>...... |
106180 | 20 20 20 20 3c 75 6c 3e 0a 20 20 20 20 20 20 3c 6c 69 3e 54 68 65 20 3c 61 20 68 72 65 66 3d 22 | ....<ul>.......<li>The.<a.href=" |
1061a0 | 68 74 74 70 3a 2f 2f 77 77 77 2e 7a 6c 69 62 2e 6e 65 74 2f 22 3e 7a 6c 69 62 3c 2f 61 3e 20 63 | http://www.zlib.net/">zlib</a>.c |
1061c0 | 6f 6d 70 72 65 73 73 69 6f 6e 20 6c 69 62 72 61 72 79 0a 20 20 20 20 20 20 20 20 20 20 28 4a 65 | ompression.library...........(Je |
1061e0 | 61 6e 2d 6c 6f 75 70 20 47 61 69 6c 6c 79 2c 20 4d 61 72 6b 20 41 64 6c 65 72 20 61 6e 64 20 74 | an-loup.Gailly,.Mark.Adler.and.t |
106200 | 65 61 6d 29 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 3c 6c 69 3e 54 68 65 20 3c 61 20 68 72 65 66 3d | eam)</li>.......<li>The.<a.href= |
106220 | 22 68 74 74 70 3a 2f 2f 77 77 77 2e 62 7a 69 70 2e 6f 72 67 2f 22 3e 62 7a 69 70 32 3c 2f 61 3e | "http://www.bzip.org/">bzip2</a> |
106240 | 20 63 6f 6d 70 72 65 73 73 69 6f 6e 20 6c 69 62 72 61 72 79 0a 20 20 20 20 20 20 20 20 20 20 28 | .compression.library...........( |
106260 | 4a 75 6c 69 61 6e 20 53 65 77 61 72 64 29 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 3c 6c 69 3e 54 68 | Julian.Seward)</li>.......<li>Th |
106280 | 65 20 3c 61 20 68 72 65 66 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e 6c 69 62 70 6e 67 2e 6f 72 67 | e.<a.href="http://www.libpng.org |
1062a0 | 2f 70 75 62 2f 70 6e 67 2f 22 3e 6c 69 62 70 6e 67 3c 2f 61 3e 20 67 72 61 70 68 69 63 73 20 6c | /pub/png/">libpng</a>.graphics.l |
1062c0 | 69 62 72 61 72 79 0a 20 20 20 20 20 20 20 20 20 20 28 47 6c 65 6e 6e 20 52 61 6e 64 65 72 73 2d | ibrary...........(Glenn.Randers- |
1062e0 | 50 65 68 72 73 6f 6e 20 61 6e 64 20 74 65 61 6d 29 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 3c 6c 69 | Pehrson.and.team)</li>.......<li |
106300 | 3e 54 68 65 20 3c 61 20 68 72 65 66 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e 73 71 6c 69 74 65 2e | >The.<a.href="http://www.sqlite. |
106320 | 6f 72 67 2f 22 3e 73 71 6c 69 74 65 3c 2f 61 3e 20 64 61 74 61 62 61 73 65 20 65 6e 67 69 6e 65 | org/">sqlite</a>.database.engine |
106340 | 0a 20 20 20 20 20 20 20 20 20 20 28 44 2e 20 52 69 63 68 61 72 64 20 48 69 70 70 20 61 6e 64 20 | ...........(D..Richard.Hipp.and. |
106360 | 74 65 61 6d 29 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 3c 6c 69 3e 54 68 65 20 3c 61 20 68 72 65 66 | team)</li>.......<li>The.<a.href |
106380 | 3d 22 68 74 74 70 3a 2f 2f 6e 73 69 73 2e 73 6f 75 72 63 65 66 6f 72 67 65 2e 6e 65 74 2f 22 3e | ="http://nsis.sourceforge.net/"> |
1063a0 | 4e 75 6c 6c 73 6f 66 74 20 53 63 72 69 70 74 61 62 6c 65 20 49 6e 73 74 61 6c 6c 20 53 79 73 74 | Nullsoft.Scriptable.Install.Syst |
1063c0 | 65 6d 3c 2f 61 3e 3c 2f 6c 69 3e 0a 20 20 20 20 3c 2f 75 6c 3e 0a 20 20 20 20 0a 20 20 20 20 0a | em</a></li>.....</ul>........... |
1063e0 | 20 20 20 20 3c 68 72 3e 0a 20 20 20 20 0a 20 20 20 20 3c 70 20 63 6c 61 73 73 3d 22 63 6f 72 72 | ....<hr>..........<p.class="corr |
106400 | 65 63 74 6d 65 22 3e 3c 61 20 68 72 65 66 3d 22 61 62 6f 75 74 3a 6c 69 63 65 6e 73 65 23 74 6f | ectme"><a.href="about:license#to |
106420 | 70 22 3e 52 65 74 75 72 6e 20 74 6f 20 74 6f 70 3c 2f 61 3e 2e 3c 2f 70 3e 0a 20 20 20 20 0a 20 | p">Return.to.top</a>.</p>....... |
106440 | 20 3c 2f 62 6f 64 79 3e 0a 3c 2f 68 74 6d 6c 3e 0a 0a 50 4b 03 04 14 00 00 00 00 00 f2 4b 18 3b | .</body>.</html>..PK.........K.; |
106460 | 81 06 c8 07 15 2c 00 00 15 2c 00 00 2e 00 00 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f | .....,...,......content/browser/ |
106480 | 63 65 72 74 65 72 72 6f 72 2f 61 62 6f 75 74 43 65 72 74 45 72 72 6f 72 2e 78 68 74 6d 6c 3c 3f | certerror/aboutCertError.xhtml<? |
1064a0 | 78 6d 6c 20 76 65 72 73 69 6f 6e 3d 22 31 2e 30 22 20 65 6e 63 6f 64 69 6e 67 3d 22 55 54 46 2d | xml.version="1.0".encoding="UTF- |
1064c0 | 38 22 3f 3e 0a 0a 3c 21 44 4f 43 54 59 50 45 20 68 74 6d 6c 20 5b 0a 20 20 3c 21 45 4e 54 49 54 | 8"?>..<!DOCTYPE.html.[...<!ENTIT |
1064e0 | 59 20 25 20 68 74 6d 6c 44 54 44 0a 20 20 20 20 50 55 42 4c 49 43 20 22 2d 2f 2f 57 33 43 2f 2f | Y.%.htmlDTD.....PUBLIC."-//W3C// |
106500 | 44 54 44 20 58 48 54 4d 4c 20 31 2e 30 20 53 74 72 69 63 74 2f 2f 45 4e 22 0a 20 20 20 20 22 44 | DTD.XHTML.1.0.Strict//EN"....."D |
106520 | 54 44 2f 78 68 74 6d 6c 31 2d 73 74 72 69 63 74 2e 64 74 64 22 3e 0a 20 20 25 68 74 6d 6c 44 54 | TD/xhtml1-strict.dtd">...%htmlDT |
106540 | 44 3b 0a 20 20 3c 21 45 4e 54 49 54 59 20 25 20 67 6c 6f 62 61 6c 44 54 44 0a 20 20 20 20 53 59 | D;...<!ENTITY.%.globalDTD.....SY |
106560 | 53 54 45 4d 20 22 63 68 72 6f 6d 65 3a 2f 2f 67 6c 6f 62 61 6c 2f 6c 6f 63 61 6c 65 2f 67 6c 6f | STEM."chrome://global/locale/glo |
106580 | 62 61 6c 2e 64 74 64 22 3e 0a 20 20 25 67 6c 6f 62 61 6c 44 54 44 3b 0a 20 20 3c 21 45 4e 54 49 | bal.dtd">...%globalDTD;...<!ENTI |
1065a0 | 54 59 20 25 20 63 65 72 74 65 72 72 6f 72 44 54 44 0a 20 20 20 20 53 59 53 54 45 4d 20 22 63 68 | TY.%.certerrorDTD.....SYSTEM."ch |
1065c0 | 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 6c 6f 63 61 6c 65 2f 61 62 6f 75 74 43 65 72 74 45 | rome://browser/locale/aboutCertE |
1065e0 | 72 72 6f 72 2e 64 74 64 22 3e 0a 20 20 25 63 65 72 74 65 72 72 6f 72 44 54 44 3b 0a 5d 3e 0a 0a | rror.dtd">...%certerrorDTD;.]>.. |
106600 | 3c 21 2d 2d 20 2a 2a 2a 2a 2a 20 42 45 47 49 4e 20 4c 49 43 45 4e 53 45 20 42 4c 4f 43 4b 20 2a | <!--.*****.BEGIN.LICENSE.BLOCK.* |
106620 | 2a 2a 2a 2a 0a 20 20 20 2d 20 56 65 72 73 69 6f 6e 3a 20 4d 50 4c 20 31 2e 31 2f 47 50 4c 20 32 | ****....-.Version:.MPL.1.1/GPL.2 |
106640 | 2e 30 2f 4c 47 50 4c 20 32 2e 31 0a 20 20 20 2d 0a 20 20 20 2d 20 54 68 65 20 63 6f 6e 74 65 6e | .0/LGPL.2.1....-....-.The.conten |
106660 | 74 73 20 6f 66 20 74 68 69 73 20 66 69 6c 65 20 61 72 65 20 73 75 62 6a 65 63 74 20 74 6f 20 74 | ts.of.this.file.are.subject.to.t |
106680 | 68 65 20 4d 6f 7a 69 6c 6c 61 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 20 56 65 72 73 69 6f | he.Mozilla.Public.License.Versio |
1066a0 | 6e 0a 20 20 20 2d 20 31 2e 31 20 28 74 68 65 20 22 4c 69 63 65 6e 73 65 22 29 3b 20 79 6f 75 20 | n....-.1.1.(the."License");.you. |
1066c0 | 6d 61 79 20 6e 6f 74 20 75 73 65 20 74 68 69 73 20 66 69 6c 65 20 65 78 63 65 70 74 20 69 6e 20 | may.not.use.this.file.except.in. |
1066e0 | 63 6f 6d 70 6c 69 61 6e 63 65 20 77 69 74 68 0a 20 20 20 2d 20 74 68 65 20 4c 69 63 65 6e 73 65 | compliance.with....-.the.License |
106700 | 2e 20 59 6f 75 20 6d 61 79 20 6f 62 74 61 69 6e 20 61 20 63 6f 70 79 20 6f 66 20 74 68 65 20 4c | ..You.may.obtain.a.copy.of.the.L |
106720 | 69 63 65 6e 73 65 20 61 74 0a 20 20 20 2d 20 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c | icense.at....-.http://www.mozill |
106740 | 61 2e 6f 72 67 2f 4d 50 4c 2f 0a 20 20 20 2d 0a 20 20 20 2d 20 53 6f 66 74 77 61 72 65 20 64 69 | a.org/MPL/....-....-.Software.di |
106760 | 73 74 72 69 62 75 74 65 64 20 75 6e 64 65 72 20 74 68 65 20 4c 69 63 65 6e 73 65 20 69 73 20 64 | stributed.under.the.License.is.d |
106780 | 69 73 74 72 69 62 75 74 65 64 20 6f 6e 20 61 6e 20 22 41 53 20 49 53 22 20 62 61 73 69 73 2c 0a | istributed.on.an."AS.IS".basis,. |
1067a0 | 20 20 20 2d 20 57 49 54 48 4f 55 54 20 57 41 52 52 41 4e 54 59 20 4f 46 20 41 4e 59 20 4b 49 4e | ...-.WITHOUT.WARRANTY.OF.ANY.KIN |
1067c0 | 44 2c 20 65 69 74 68 65 72 20 65 78 70 72 65 73 73 20 6f 72 20 69 6d 70 6c 69 65 64 2e 20 53 65 | D,.either.express.or.implied..Se |
1067e0 | 65 20 74 68 65 20 4c 69 63 65 6e 73 65 0a 20 20 20 2d 20 66 6f 72 20 74 68 65 20 73 70 65 63 69 | e.the.License....-.for.the.speci |
106800 | 66 69 63 20 6c 61 6e 67 75 61 67 65 20 67 6f 76 65 72 6e 69 6e 67 20 72 69 67 68 74 73 20 61 6e | fic.language.governing.rights.an |
106820 | 64 20 6c 69 6d 69 74 61 74 69 6f 6e 73 20 75 6e 64 65 72 20 74 68 65 0a 20 20 20 2d 20 4c 69 63 | d.limitations.under.the....-.Lic |
106840 | 65 6e 73 65 2e 0a 20 20 20 2d 0a 20 20 20 2d 20 54 68 65 20 4f 72 69 67 69 6e 61 6c 20 43 6f 64 | ense.....-....-.The.Original.Cod |
106860 | 65 20 69 73 20 6e 65 74 45 72 72 6f 72 2e 78 68 74 6d 6c 2e 0a 20 20 20 2d 0a 20 20 20 2d 20 54 | e.is.netError.xhtml.....-....-.T |
106880 | 68 65 20 49 6e 69 74 69 61 6c 20 44 65 76 65 6c 6f 70 65 72 20 6f 66 20 74 68 65 20 4f 72 69 67 | he.Initial.Developer.of.the.Orig |
1068a0 | 69 6e 61 6c 20 43 6f 64 65 20 69 73 0a 20 20 20 2d 20 4e 65 74 73 63 61 70 65 20 43 6f 6d 6d 75 | inal.Code.is....-.Netscape.Commu |
1068c0 | 6e 69 63 61 74 69 6f 6e 73 20 43 6f 72 70 6f 72 61 74 69 6f 6e 2e 0a 20 20 20 2d 20 50 6f 72 74 | nications.Corporation.....-.Port |
1068e0 | 69 6f 6e 73 20 63 72 65 61 74 65 64 20 62 79 20 74 68 65 20 49 6e 69 74 69 61 6c 20 44 65 76 65 | ions.created.by.the.Initial.Deve |
106900 | 6c 6f 70 65 72 20 61 72 65 20 43 6f 70 79 72 69 67 68 74 20 28 43 29 20 31 39 39 38 0a 20 20 20 | loper.are.Copyright.(C).1998.... |
106920 | 2d 20 74 68 65 20 49 6e 69 74 69 61 6c 20 44 65 76 65 6c 6f 70 65 72 2e 20 41 6c 6c 20 52 69 67 | -.the.Initial.Developer..All.Rig |
106940 | 68 74 73 20 52 65 73 65 72 76 65 64 2e 0a 20 20 20 2d 0a 20 20 20 2d 20 43 6f 6e 74 72 69 62 75 | hts.Reserved.....-....-.Contribu |
106960 | 74 6f 72 28 73 29 3a 0a 20 20 20 2d 20 20 20 41 64 61 6d 20 4c 6f 63 6b 20 3c 61 64 61 6d 6c 6f | tor(s):....-...Adam.Lock.<adamlo |
106980 | 63 6b 40 6e 65 74 73 63 61 70 65 2e 63 6f 6d 3e 0a 20 20 20 2d 20 20 20 57 69 6c 6c 69 61 6d 20 | ck@netscape.com>....-...William. |
1069a0 | 52 2e 20 50 72 69 63 65 20 3c 77 72 70 72 69 63 65 40 61 6c 75 6d 6e 69 2e 72 69 63 65 2e 65 64 | R..Price.<wrprice@alumni.rice.ed |
1069c0 | 75 3e 0a 20 20 20 2d 20 20 20 48 65 6e 72 69 6b 20 53 6b 75 70 69 6e 20 3c 6d 6f 7a 69 6c 6c 61 | u>....-...Henrik.Skupin.<mozilla |
1069e0 | 40 68 73 6b 75 70 69 6e 2e 69 6e 66 6f 3e 0a 20 20 20 2d 20 20 20 4a 65 66 66 20 57 61 6c 64 65 | @hskupin.info>....-...Jeff.Walde |
106a00 | 6e 20 3c 6a 77 61 6c 64 65 6e 2b 63 6f 64 65 40 6d 69 74 2e 65 64 75 3e 0a 20 20 20 2d 20 20 20 | n.<jwalden+code@mit.edu>....-... |
106a20 | 4a 6f 68 6e 61 74 68 61 6e 20 4e 69 67 68 74 69 6e 67 61 6c 65 20 3c 6a 6f 68 6e 61 74 68 40 6d | Johnathan.Nightingale.<johnath@m |
106a40 | 6f 7a 69 6c 6c 61 2e 63 6f 6d 3e 0a 20 20 20 2d 20 20 20 45 68 73 61 6e 20 41 6b 68 67 61 72 69 | ozilla.com>....-...Ehsan.Akhgari |
106a60 | 20 3c 65 68 73 61 6e 2e 61 6b 68 67 61 72 69 40 67 6d 61 69 6c 2e 63 6f 6d 3e 0a 20 20 20 2d 0a | .<ehsan.akhgari@gmail.com>....-. |
106a80 | 20 20 20 2d 20 41 6c 74 65 72 6e 61 74 69 76 65 6c 79 2c 20 74 68 65 20 63 6f 6e 74 65 6e 74 73 | ...-.Alternatively,.the.contents |
106aa0 | 20 6f 66 20 74 68 69 73 20 66 69 6c 65 20 6d 61 79 20 62 65 20 75 73 65 64 20 75 6e 64 65 72 20 | .of.this.file.may.be.used.under. |
106ac0 | 74 68 65 20 74 65 72 6d 73 20 6f 66 0a 20 20 20 2d 20 65 69 74 68 65 72 20 74 68 65 20 47 4e 55 | the.terms.of....-.either.the.GNU |
106ae0 | 20 47 65 6e 65 72 61 6c 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 20 56 65 72 73 69 6f 6e 20 | .General.Public.License.Version. |
106b00 | 32 20 6f 72 20 6c 61 74 65 72 20 28 74 68 65 20 22 47 50 4c 22 29 2c 20 6f 72 0a 20 20 20 2d 20 | 2.or.later.(the."GPL"),.or....-. |
106b20 | 74 68 65 20 47 4e 55 20 4c 65 73 73 65 72 20 47 65 6e 65 72 61 6c 20 50 75 62 6c 69 63 20 4c 69 | the.GNU.Lesser.General.Public.Li |
106b40 | 63 65 6e 73 65 20 56 65 72 73 69 6f 6e 20 32 2e 31 20 6f 72 20 6c 61 74 65 72 20 28 74 68 65 20 | cense.Version.2.1.or.later.(the. |
106b60 | 22 4c 47 50 4c 22 29 2c 0a 20 20 20 2d 20 69 6e 20 77 68 69 63 68 20 63 61 73 65 20 74 68 65 20 | "LGPL"),....-.in.which.case.the. |
106b80 | 70 72 6f 76 69 73 69 6f 6e 73 20 6f 66 20 74 68 65 20 47 50 4c 20 6f 72 20 74 68 65 20 4c 47 50 | provisions.of.the.GPL.or.the.LGP |
106ba0 | 4c 20 61 72 65 20 61 70 70 6c 69 63 61 62 6c 65 20 69 6e 73 74 65 61 64 0a 20 20 20 2d 20 6f 66 | L.are.applicable.instead....-.of |
106bc0 | 20 74 68 6f 73 65 20 61 62 6f 76 65 2e 20 49 66 20 79 6f 75 20 77 69 73 68 20 74 6f 20 61 6c 6c | .those.above..If.you.wish.to.all |
106be0 | 6f 77 20 75 73 65 20 6f 66 20 79 6f 75 72 20 76 65 72 73 69 6f 6e 20 6f 66 20 74 68 69 73 20 66 | ow.use.of.your.version.of.this.f |
106c00 | 69 6c 65 20 6f 6e 6c 79 0a 20 20 20 2d 20 75 6e 64 65 72 20 74 68 65 20 74 65 72 6d 73 20 6f 66 | ile.only....-.under.the.terms.of |
106c20 | 20 65 69 74 68 65 72 20 74 68 65 20 47 50 4c 20 6f 72 20 74 68 65 20 4c 47 50 4c 2c 20 61 6e 64 | .either.the.GPL.or.the.LGPL,.and |
106c40 | 20 6e 6f 74 20 74 6f 20 61 6c 6c 6f 77 20 6f 74 68 65 72 73 20 74 6f 0a 20 20 20 2d 20 75 73 65 | .not.to.allow.others.to....-.use |
106c60 | 20 79 6f 75 72 20 76 65 72 73 69 6f 6e 20 6f 66 20 74 68 69 73 20 66 69 6c 65 20 75 6e 64 65 72 | .your.version.of.this.file.under |
106c80 | 20 74 68 65 20 74 65 72 6d 73 20 6f 66 20 74 68 65 20 4d 50 4c 2c 20 69 6e 64 69 63 61 74 65 20 | .the.terms.of.the.MPL,.indicate. |
106ca0 | 79 6f 75 72 0a 20 20 20 2d 20 64 65 63 69 73 69 6f 6e 20 62 79 20 64 65 6c 65 74 69 6e 67 20 74 | your....-.decision.by.deleting.t |
106cc0 | 68 65 20 70 72 6f 76 69 73 69 6f 6e 73 20 61 62 6f 76 65 20 61 6e 64 20 72 65 70 6c 61 63 65 20 | he.provisions.above.and.replace. |
106ce0 | 74 68 65 6d 20 77 69 74 68 20 74 68 65 20 6e 6f 74 69 63 65 0a 20 20 20 2d 20 61 6e 64 20 6f 74 | them.with.the.notice....-.and.ot |
106d00 | 68 65 72 20 70 72 6f 76 69 73 69 6f 6e 73 20 72 65 71 75 69 72 65 64 20 62 79 20 74 68 65 20 4c | her.provisions.required.by.the.L |
106d20 | 47 50 4c 20 6f 72 20 74 68 65 20 47 50 4c 2e 20 49 66 20 79 6f 75 20 64 6f 20 6e 6f 74 20 64 65 | GPL.or.the.GPL..If.you.do.not.de |
106d40 | 6c 65 74 65 0a 20 20 20 2d 20 74 68 65 20 70 72 6f 76 69 73 69 6f 6e 73 20 61 62 6f 76 65 2c 20 | lete....-.the.provisions.above,. |
106d60 | 61 20 72 65 63 69 70 69 65 6e 74 20 6d 61 79 20 75 73 65 20 79 6f 75 72 20 76 65 72 73 69 6f 6e | a.recipient.may.use.your.version |
106d80 | 20 6f 66 20 74 68 69 73 20 66 69 6c 65 20 75 6e 64 65 72 0a 20 20 20 2d 20 74 68 65 20 74 65 72 | .of.this.file.under....-.the.ter |
106da0 | 6d 73 20 6f 66 20 61 6e 79 20 6f 6e 65 20 6f 66 20 74 68 65 20 4d 50 4c 2c 20 74 68 65 20 47 50 | ms.of.any.one.of.the.MPL,.the.GP |
106dc0 | 4c 20 6f 72 20 74 68 65 20 4c 47 50 4c 2e 0a 20 20 20 2d 0a 20 20 20 2d 20 2a 2a 2a 2a 2a 20 45 | L.or.the.LGPL.....-....-.*****.E |
106de0 | 4e 44 20 4c 49 43 45 4e 53 45 20 42 4c 4f 43 4b 20 2a 2a 2a 2a 2a 20 2d 2d 3e 0a 3c 68 74 6d 6c | ND.LICENSE.BLOCK.*****.-->.<html |
106e00 | 20 78 6d 6c 6e 73 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e 77 33 2e 6f 72 67 2f 31 39 39 39 2f 78 | .xmlns="http://www.w3.org/1999/x |
106e20 | 68 74 6d 6c 22 3e 0a 20 20 3c 68 65 61 64 3e 0a 20 20 20 20 3c 74 69 74 6c 65 3e 26 63 65 72 74 | html">...<head>.....<title>&cert |
106e40 | 65 72 72 6f 72 2e 70 61 67 65 74 69 74 6c 65 3b 3c 2f 74 69 74 6c 65 3e 0a 20 20 20 20 3c 6c 69 | error.pagetitle;</title>.....<li |
106e60 | 6e 6b 20 72 65 6c 3d 22 73 74 79 6c 65 73 68 65 65 74 22 20 68 72 65 66 3d 22 63 68 72 6f 6d 65 | nk.rel="stylesheet".href="chrome |
106e80 | 3a 2f 2f 62 72 6f 77 73 65 72 2f 73 6b 69 6e 2f 61 62 6f 75 74 43 65 72 74 45 72 72 6f 72 2e 63 | ://browser/skin/aboutCertError.c |
106ea0 | 73 73 22 20 74 79 70 65 3d 22 74 65 78 74 2f 63 73 73 22 20 6d 65 64 69 61 3d 22 61 6c 6c 22 20 | ss".type="text/css".media="all". |
106ec0 | 2f 3e 0a 20 20 20 20 3c 6c 69 6e 6b 20 72 65 6c 3d 22 73 74 79 6c 65 73 68 65 65 74 22 20 68 72 | />.....<link.rel="stylesheet".hr |
106ee0 | 65 66 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 63 65 72 | ef="chrome://browser/content/cer |
106f00 | 74 65 72 72 6f 72 2f 61 62 6f 75 74 43 65 72 74 45 72 72 6f 72 2e 63 73 73 22 20 74 79 70 65 3d | terror/aboutCertError.css".type= |
106f20 | 22 74 65 78 74 2f 63 73 73 22 20 6d 65 64 69 61 3d 22 61 6c 6c 22 20 2f 3e 0a 20 20 20 20 3c 21 | "text/css".media="all"./>.....<! |
106f40 | 2d 2d 20 54 68 69 73 20 70 61 67 65 20 63 75 72 72 65 6e 74 6c 79 20 75 73 65 73 20 74 68 65 20 | --.This.page.currently.uses.the. |
106f60 | 73 61 6d 65 20 66 61 76 69 63 6f 6e 20 61 73 20 6e 65 74 65 72 72 6f 72 2e 78 68 74 6d 6c 2e 0a | same.favicon.as.neterror.xhtml.. |
106f80 | 20 20 20 20 20 20 20 20 20 49 66 20 74 68 65 20 6c 6f 63 61 74 69 6f 6e 20 6f 66 20 74 68 65 20 | .........If.the.location.of.the. |
106fa0 | 66 61 76 69 63 6f 6e 20 69 73 20 63 68 61 6e 67 65 64 20 66 6f 72 20 62 6f 74 68 20 70 61 67 65 | favicon.is.changed.for.both.page |
106fc0 | 73 2c 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 46 41 56 49 43 4f 4e 5f 45 52 52 4f 52 50 41 47 | s,.the..........FAVICON_ERRORPAG |
106fe0 | 45 5f 55 52 4c 20 73 79 6d 62 6f 6c 20 69 6e 20 74 6f 6f 6c 6b 69 74 2f 63 6f 6d 70 6f 6e 65 6e | E_URL.symbol.in.toolkit/componen |
107000 | 74 73 2f 70 6c 61 63 65 73 2f 73 72 63 2f 6e 73 46 61 76 69 63 6f 6e 53 65 72 76 69 63 65 2e 68 | ts/places/src/nsFaviconService.h |
107020 | 0a 20 20 20 20 20 20 20 20 20 73 68 6f 75 6c 64 20 62 65 20 75 70 64 61 74 65 64 2e 20 49 66 20 | ..........should.be.updated..If. |
107040 | 74 68 69 73 20 70 61 67 65 20 73 74 61 72 74 73 20 75 73 69 6e 67 20 61 20 64 69 66 66 65 72 65 | this.page.starts.using.a.differe |
107060 | 6e 74 20 66 61 76 69 63 6f 6e 0a 20 20 20 20 20 20 20 20 20 74 68 61 6e 20 6e 65 74 65 72 72 6f | nt.favicon..........than.neterro |
107080 | 72 6d 20 6e 73 46 61 76 69 63 6f 6e 53 65 72 76 69 63 65 2d 3e 44 6f 53 65 74 41 6e 64 4c 6f 61 | rm.nsFaviconService->DoSetAndLoa |
1070a0 | 64 46 61 76 69 63 6f 6e 46 6f 72 50 61 67 65 0a 20 20 20 20 20 20 20 20 20 73 68 6f 75 6c 64 20 | dFaviconForPage..........should. |
1070c0 | 62 65 20 75 70 64 61 74 65 64 20 74 6f 20 69 67 6e 6f 72 65 20 74 68 69 73 20 6f 6e 65 20 61 73 | be.updated.to.ignore.this.one.as |
1070e0 | 20 77 65 6c 6c 2e 20 2d 2d 3e 0a 20 20 20 20 3c 6c 69 6e 6b 20 72 65 6c 3d 22 69 63 6f 6e 22 20 | .well..-->.....<link.rel="icon". |
107100 | 74 79 70 65 3d 22 69 6d 61 67 65 2f 70 6e 67 22 20 69 64 3d 22 66 61 76 69 63 6f 6e 22 20 68 72 | type="image/png".id="favicon".hr |
107120 | 65 66 3d 22 63 68 72 6f 6d 65 3a 2f 2f 67 6c 6f 62 61 6c 2f 73 6b 69 6e 2f 69 63 6f 6e 73 2f 77 | ef="chrome://global/skin/icons/w |
107140 | 61 72 6e 69 6e 67 2d 31 36 2e 70 6e 67 22 2f 3e 0a 0a 20 20 20 20 3c 73 63 72 69 70 74 20 74 79 | arning-16.png"/>......<script.ty |
107160 | 70 65 3d 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f 78 2d 6a 61 76 61 73 63 72 69 70 74 22 3e 3c 21 | pe="application/x-javascript"><! |
107180 | 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 2f 2f 20 45 72 72 6f 72 20 75 72 6c 20 4d 55 53 54 20 | [CDATA[.......//.Error.url.MUST. |
1071a0 | 62 65 20 66 6f 72 6d 61 74 74 65 64 20 6c 69 6b 65 20 74 68 69 73 3a 0a 20 20 20 20 20 20 2f 2f | be.formatted.like.this:.......// |
1071c0 | 20 20 20 61 62 6f 75 74 3a 63 65 72 74 65 72 72 6f 72 3f 65 3d 65 72 72 6f 72 26 75 3d 75 72 6c | ...about:certerror?e=error&u=url |
1071e0 | 26 64 3d 64 65 73 63 0a 0a 20 20 20 20 20 20 2f 2f 20 4e 6f 74 65 20 74 68 61 74 20 74 68 69 73 | &d=desc........//.Note.that.this |
107200 | 20 66 69 6c 65 20 75 73 65 73 20 64 6f 63 75 6d 65 6e 74 2e 64 6f 63 75 6d 65 6e 74 55 52 49 20 | .file.uses.document.documentURI. |
107220 | 74 6f 20 67 65 74 0a 20 20 20 20 20 20 2f 2f 20 74 68 65 20 55 52 4c 20 28 77 69 74 68 20 74 68 | to.get.......//.the.URL.(with.th |
107240 | 65 20 66 6f 72 6d 61 74 20 66 72 6f 6d 20 61 62 6f 76 65 29 2e 20 54 68 69 73 20 69 73 20 62 65 | e.format.from.above)..This.is.be |
107260 | 63 61 75 73 65 0a 20 20 20 20 20 20 2f 2f 20 64 6f 63 75 6d 65 6e 74 2e 6c 6f 63 61 74 69 6f 6e | cause.......//.document.location |
107280 | 2e 68 72 65 66 20 67 65 74 73 20 74 68 65 20 63 75 72 72 65 6e 74 20 55 52 49 20 6f 66 66 20 74 | .href.gets.the.current.URI.off.t |
1072a0 | 68 65 20 64 6f 63 73 68 65 6c 6c 2c 0a 20 20 20 20 20 20 2f 2f 20 77 68 69 63 68 20 69 73 20 74 | he.docshell,.......//.which.is.t |
1072c0 | 68 65 20 55 52 4c 20 64 69 73 70 6c 61 79 65 64 20 69 6e 20 74 68 65 20 6c 6f 63 61 74 69 6f 6e | he.URL.displayed.in.the.location |
1072e0 | 20 62 61 72 2c 20 69 2e 65 2e 0a 20 20 20 20 20 20 2f 2f 20 74 68 65 20 55 52 49 20 74 68 61 74 | .bar,.i.e........//.the.URI.that |
107300 | 20 74 68 65 20 75 73 65 72 20 61 74 74 65 6d 70 74 65 64 20 74 6f 20 6c 6f 61 64 2e 0a 0a 20 20 | .the.user.attempted.to.load..... |
107320 | 20 20 20 20 66 75 6e 63 74 69 6f 6e 20 67 65 74 43 53 53 43 6c 61 73 73 28 29 0a 20 20 20 20 20 | ....function.getCSSClass()...... |
107340 | 20 7b 0a 20 20 20 20 20 20 20 20 76 61 72 20 75 72 6c 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 64 6f | .{.........var.url.=.document.do |
107360 | 63 75 6d 65 6e 74 55 52 49 3b 0a 20 20 20 20 20 20 20 20 76 61 72 20 6d 61 74 63 68 65 73 20 3d | cumentURI;.........var.matches.= |
107380 | 20 75 72 6c 2e 6d 61 74 63 68 28 2f 73 5c 3d 28 5b 5e 26 5d 2b 29 5c 26 2f 29 3b 0a 20 20 20 20 | .url.match(/s\=([^&]+)\&/);..... |
1073a0 | 20 20 20 20 2f 2f 20 73 20 69 73 20 6f 70 74 69 6f 6e 61 6c 2c 20 69 66 20 6e 6f 20 6d 61 74 63 | ....//.s.is.optional,.if.no.matc |
1073c0 | 68 20 6a 75 73 74 20 72 65 74 75 72 6e 20 6e 6f 74 68 69 6e 67 0a 20 20 20 20 20 20 20 20 69 66 | h.just.return.nothing.........if |
1073e0 | 20 28 21 6d 61 74 63 68 65 73 20 7c 7c 20 6d 61 74 63 68 65 73 2e 6c 65 6e 67 74 68 20 3c 20 32 | .(!matches.||.matches.length.<.2 |
107400 | 29 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 22 22 3b 0a 0a 20 20 20 20 20 20 20 20 | )...........return."";.......... |
107420 | 2f 2f 20 70 61 72 65 6e 74 68 65 74 69 63 61 6c 20 6d 61 74 63 68 20 69 73 20 74 68 65 20 73 65 | //.parenthetical.match.is.the.se |
107440 | 63 6f 6e 64 20 65 6e 74 72 79 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 64 65 63 6f 64 65 | cond.entry.........return.decode |
107460 | 55 52 49 43 6f 6d 70 6f 6e 65 6e 74 28 6d 61 74 63 68 65 73 5b 31 5d 29 3b 0a 20 20 20 20 20 20 | URIComponent(matches[1]);....... |
107480 | 7d 0a 0a 20 20 20 20 20 20 66 75 6e 63 74 69 6f 6e 20 67 65 74 44 65 73 63 72 69 70 74 69 6f 6e | }........function.getDescription |
1074a0 | 28 29 0a 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 76 61 72 20 75 72 6c 20 3d 20 64 6f 63 | ().......{.........var.url.=.doc |
1074c0 | 75 6d 65 6e 74 2e 64 6f 63 75 6d 65 6e 74 55 52 49 3b 0a 20 20 20 20 20 20 20 20 76 61 72 20 64 | ument.documentURI;.........var.d |
1074e0 | 65 73 63 20 3d 20 75 72 6c 2e 73 65 61 72 63 68 28 2f 64 5c 3d 2f 29 3b 0a 0a 20 20 20 20 20 20 | esc.=.url.search(/d\=/);........ |
107500 | 20 20 2f 2f 20 64 65 73 63 20 3d 3d 20 2d 31 20 69 66 20 6e 6f 74 20 66 6f 75 6e 64 3b 20 69 66 | ..//.desc.==.-1.if.not.found;.if |
107520 | 20 73 6f 2c 20 72 65 74 75 72 6e 20 61 6e 20 65 6d 70 74 79 20 73 74 72 69 6e 67 0a 20 20 20 20 | .so,.return.an.empty.string..... |
107540 | 20 20 20 20 2f 2f 20 69 6e 73 74 65 61 64 20 6f 66 20 77 68 61 74 20 77 6f 75 6c 64 20 74 75 72 | ....//.instead.of.what.would.tur |
107560 | 6e 20 6f 75 74 20 74 6f 20 62 65 20 70 6f 72 74 69 6f 6e 73 20 6f 66 20 74 68 65 20 55 52 49 0a | n.out.to.be.portions.of.the.URI. |
107580 | 20 20 20 20 20 20 20 20 69 66 20 28 64 65 73 63 20 3d 3d 20 2d 31 29 0a 20 20 20 20 20 20 20 20 | ........if.(desc.==.-1)......... |
1075a0 | 20 20 72 65 74 75 72 6e 20 22 22 3b 0a 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 64 65 63 | ..return."";..........return.dec |
1075c0 | 6f 64 65 55 52 49 43 6f 6d 70 6f 6e 65 6e 74 28 75 72 6c 2e 73 6c 69 63 65 28 64 65 73 63 20 2b | odeURIComponent(url.slice(desc.+ |
1075e0 | 20 32 29 29 3b 0a 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 66 75 6e 63 74 69 6f 6e 20 69 6e | .2));.......}........function.in |
107600 | 69 74 50 61 67 65 28 29 0a 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 2f 2f 20 52 65 70 6c | itPage().......{.........//.Repl |
107620 | 61 63 65 20 74 68 65 20 22 23 31 22 20 73 74 72 69 6e 67 20 69 6e 20 74 68 65 20 69 6e 74 72 6f | ace.the."#1".string.in.the.intro |
107640 | 20 77 69 74 68 20 74 68 65 20 68 6f 73 74 6e 61 6d 65 2e 20 20 54 72 69 63 6b 69 65 72 0a 20 20 | .with.the.hostname...Trickier... |
107660 | 20 20 20 20 20 20 2f 2f 20 74 68 61 6e 20 69 74 20 6d 69 67 68 74 20 73 65 65 6d 20 73 69 6e 63 | ......//.than.it.might.seem.sinc |
107680 | 65 20 77 65 20 77 61 6e 74 20 74 6f 20 70 72 65 73 65 72 76 65 20 74 68 65 20 3c 62 3e 20 74 61 | e.we.want.to.preserve.the.<b>.ta |
1076a0 | 67 73 2c 20 62 75 74 0a 20 20 20 20 20 20 20 20 2f 2f 20 6e 6f 74 20 61 6c 6c 6f 77 20 66 6f 72 | gs,.but.........//.not.allow.for |
1076c0 | 20 61 6e 79 20 69 6e 6a 65 63 74 69 6f 6e 20 62 79 20 6a 75 73 74 20 75 73 69 6e 67 20 69 6e 6e | .any.injection.by.just.using.inn |
1076e0 | 65 72 48 54 4d 4c 2e 20 20 49 6e 73 74 65 61 64 2c 0a 20 20 20 20 20 20 20 20 2f 2f 20 6a 75 73 | erHTML...Instead,.........//.jus |
107700 | 74 20 66 69 6e 64 20 74 68 65 20 72 69 67 68 74 20 74 61 72 67 65 74 20 74 65 78 74 20 6e 6f 64 | t.find.the.right.target.text.nod |
107720 | 65 2e 0a 20 20 20 20 20 20 20 20 76 61 72 20 69 6e 74 72 6f 20 3d 20 64 6f 63 75 6d 65 6e 74 2e | e..........var.intro.=.document. |
107740 | 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 27 69 6e 74 72 6f 43 6f 6e 74 65 6e 74 50 31 27 29 | getElementById('introContentP1') |
107760 | 3b 0a 20 20 20 20 20 20 20 20 66 75 6e 63 74 69 6f 6e 20 72 65 70 6c 61 63 65 57 69 74 68 48 6f | ;.........function.replaceWithHo |
107780 | 73 74 28 6e 6f 64 65 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 6e 6f 64 65 2e 74 65 | st(node).{...........if.(node.te |
1077a0 | 78 74 43 6f 6e 74 65 6e 74 20 3d 3d 20 22 23 31 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 6e | xtContent.==."#1").............n |
1077c0 | 6f 64 65 2e 74 65 78 74 43 6f 6e 74 65 6e 74 20 3d 20 6c 6f 63 61 74 69 6f 6e 2e 68 6f 73 74 3b | ode.textContent.=.location.host; |
1077e0 | 0a 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 66 6f 72 28 | ...........else.............for( |
107800 | 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 6e 6f 64 65 2e 63 68 69 6c 64 4e 6f 64 65 73 2e 6c | var.i.=.0;.i.<.node.childNodes.l |
107820 | 65 6e 67 74 68 3b 20 69 2b 2b 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 70 6c 61 63 | ength;.i++)...............replac |
107840 | 65 57 69 74 68 48 6f 73 74 28 6e 6f 64 65 2e 63 68 69 6c 64 4e 6f 64 65 73 5b 69 5d 29 3b 0a 20 | eWithHost(node.childNodes[i]);.. |
107860 | 20 20 20 20 20 20 20 7d 3b 0a 20 20 20 20 20 20 20 20 72 65 70 6c 61 63 65 57 69 74 68 48 6f 73 | .......};.........replaceWithHos |
107880 | 74 28 69 6e 74 72 6f 29 3b 0a 20 20 20 20 20 20 20 20 0a 20 20 20 20 20 20 20 20 69 66 20 28 67 | t(intro);..................if.(g |
1078a0 | 65 74 43 53 53 43 6c 61 73 73 28 29 20 3d 3d 20 22 65 78 70 65 72 74 42 61 64 43 65 72 74 22 29 | etCSSClass().==."expertBadCert") |
1078c0 | 20 7b 0a 20 20 20 20 20 20 20 20 20 20 74 6f 67 67 6c 65 28 27 74 65 63 68 6e 69 63 61 6c 43 6f | .{...........toggle('technicalCo |
1078e0 | 6e 74 65 6e 74 27 29 3b 0a 20 20 20 20 20 20 20 20 20 20 74 6f 67 67 6c 65 28 27 65 78 70 65 72 | ntent');...........toggle('exper |
107900 | 74 43 6f 6e 74 65 6e 74 27 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 0a 20 | tContent');.........}........... |
107920 | 20 20 20 20 20 20 20 76 61 72 20 74 65 63 68 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c | .......var.tech.=.document.getEl |
107940 | 65 6d 65 6e 74 42 79 49 64 28 22 74 65 63 68 6e 69 63 61 6c 43 6f 6e 74 65 6e 74 54 65 78 74 22 | ementById("technicalContentText" |
107960 | 29 3b 0a 20 20 20 20 20 20 20 20 69 66 20 28 74 65 63 68 29 0a 20 20 20 20 20 20 20 20 20 20 74 | );.........if.(tech)...........t |
107980 | 65 63 68 2e 74 65 78 74 43 6f 6e 74 65 6e 74 20 3d 20 67 65 74 44 65 73 63 72 69 70 74 69 6f 6e | ech.textContent.=.getDescription |
1079a0 | 28 29 3b 0a 20 20 20 20 20 20 20 20 0a 20 20 20 20 20 20 20 20 61 64 64 44 6f 6d 61 69 6e 45 72 | ();..................addDomainEr |
1079c0 | 72 6f 72 4c 69 6e 6b 28 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 0a 20 20 20 20 20 20 | rorLink();.......}.............. |
1079e0 | 2f 2a 20 49 6e 20 74 68 65 20 63 61 73 65 20 6f 66 20 53 53 4c 20 65 72 72 6f 72 20 70 61 67 65 | /*.In.the.case.of.SSL.error.page |
107a00 | 73 20 61 62 6f 75 74 20 64 6f 6d 61 69 6e 20 6d 69 73 6d 61 74 63 68 2c 20 73 65 65 20 69 66 0a | s.about.domain.mismatch,.see.if. |
107a20 | 20 20 20 20 20 20 20 20 20 77 65 20 63 61 6e 20 68 79 70 65 72 6c 69 6e 6b 20 74 68 65 20 75 73 | .........we.can.hyperlink.the.us |
107a40 | 65 72 20 74 6f 20 74 68 65 20 63 6f 72 72 65 63 74 20 73 69 74 65 2e 20 20 57 65 20 64 6f 6e 27 | er.to.the.correct.site...We.don' |
107a60 | 74 20 77 61 6e 74 0a 20 20 20 20 20 20 20 20 20 74 6f 20 64 6f 20 74 68 69 73 20 67 65 6e 65 72 | t.want..........to.do.this.gener |
107a80 | 69 63 61 6c 6c 79 20 73 69 6e 63 65 20 69 74 20 61 6c 6c 6f 77 73 20 4d 69 74 4d 20 61 74 74 61 | ically.since.it.allows.MitM.atta |
107aa0 | 63 6b 73 20 74 6f 20 72 65 64 69 72 65 63 74 0a 20 20 20 20 20 20 20 20 20 75 73 65 72 73 20 74 | cks.to.redirect..........users.t |
107ac0 | 6f 20 61 20 73 69 74 65 20 75 6e 64 65 72 20 61 74 74 61 63 6b 65 72 20 63 6f 6e 74 72 6f 6c 2c | o.a.site.under.attacker.control, |
107ae0 | 20 62 75 74 20 69 6e 20 63 65 72 74 61 69 6e 20 63 61 73 65 73 0a 20 20 20 20 20 20 20 20 20 69 | .but.in.certain.cases..........i |
107b00 | 74 20 69 73 20 73 61 66 65 20 28 61 6e 64 20 68 65 6c 70 66 75 6c 21 29 20 74 6f 20 64 6f 20 73 | t.is.safe.(and.helpful!).to.do.s |
107b20 | 6f 2e 20 20 42 75 67 20 34 30 32 32 31 30 0a 20 20 20 20 20 20 2a 2f 0a 20 20 20 20 20 20 66 75 | o...Bug.402210.......*/.......fu |
107b40 | 6e 63 74 69 6f 6e 20 61 64 64 44 6f 6d 61 69 6e 45 72 72 6f 72 4c 69 6e 6b 28 29 20 7b 0a 20 20 | nction.addDomainErrorLink().{... |
107b60 | 20 20 20 20 20 20 2f 2f 20 52 61 74 68 65 72 20 74 68 61 6e 20 74 65 78 74 43 6f 6e 74 65 6e 74 | ......//.Rather.than.textContent |
107b80 | 2c 20 77 65 20 6e 65 65 64 20 74 6f 20 74 72 65 61 74 20 64 65 73 63 72 69 70 74 69 6f 6e 20 61 | ,.we.need.to.treat.description.a |
107ba0 | 73 20 48 54 4d 4c 0a 20 20 20 20 20 20 20 20 76 61 72 20 73 64 20 3d 20 64 6f 63 75 6d 65 6e 74 | s.HTML.........var.sd.=.document |
107bc0 | 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 74 65 63 68 6e 69 63 61 6c 43 6f 6e 74 65 6e | .getElementById("technicalConten |
107be0 | 74 54 65 78 74 22 29 3b 0a 20 20 20 20 20 20 20 20 69 66 20 28 73 64 29 20 7b 0a 20 20 20 20 20 | tText");.........if.(sd).{...... |
107c00 | 20 20 20 20 20 76 61 72 20 64 65 73 63 20 3d 20 67 65 74 44 65 73 63 72 69 70 74 69 6f 6e 28 29 | .....var.desc.=.getDescription() |
107c20 | 3b 0a 20 20 20 20 20 20 20 20 20 20 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 73 61 6e 69 74 69 | ;......................//.saniti |
107c40 | 7a 65 20 64 65 73 63 72 69 70 74 69 6f 6e 20 74 65 78 74 20 2d 20 73 65 65 20 62 75 67 20 34 34 | ze.description.text.-.see.bug.44 |
107c60 | 31 31 36 39 0a 20 20 20 20 20 20 20 20 20 20 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 46 69 72 | 1169......................//.Fir |
107c80 | 73 74 2c 20 66 69 6e 64 20 74 68 65 20 69 6e 64 65 78 20 6f 66 20 74 68 65 20 3c 61 3e 20 74 61 | st,.find.the.index.of.the.<a>.ta |
107ca0 | 67 20 77 65 20 63 61 72 65 20 61 62 6f 75 74 2c 20 62 65 69 6e 67 20 63 61 72 65 66 75 6c 20 6e | g.we.care.about,.being.careful.n |
107cc0 | 6f 74 20 74 6f 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 75 73 65 20 61 6e 20 6f 76 65 72 2d 67 | ot.to...........//.use.an.over-g |
107ce0 | 72 65 65 64 79 20 72 65 67 65 78 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 72 65 20 3d 20 2f | reedy.regex...........var.re.=./ |
107d00 | 3c 61 20 69 64 3d 22 63 65 72 74 5f 64 6f 6d 61 69 6e 5f 6c 69 6e 6b 22 20 74 69 74 6c 65 3d 22 | <a.id="cert_domain_link".title=" |
107d20 | 28 5b 5e 22 5d 2b 29 22 3e 2f 3b 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 72 65 73 75 6c 74 | ([^"]+)">/;...........var.result |
107d40 | 20 3d 20 72 65 2e 65 78 65 63 28 64 65 73 63 29 3b 0a 20 20 20 20 20 20 20 20 20 20 69 66 28 21 | .=.re.exec(desc);...........if(! |
107d60 | 72 65 73 75 6c 74 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 20 20 | result).............return;..... |
107d80 | 20 20 20 20 20 20 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 52 65 6d 6f 76 65 20 73 64 27 73 20 | .................//.Remove.sd's. |
107da0 | 65 78 69 73 74 69 6e 67 20 63 68 69 6c 64 72 65 6e 0a 20 20 20 20 20 20 20 20 20 20 73 64 2e 74 | existing.children...........sd.t |
107dc0 | 65 78 74 43 6f 6e 74 65 6e 74 20 3d 20 22 22 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 45 | extContent.=."";............//.E |
107de0 | 76 65 72 79 74 68 69 6e 67 20 75 70 20 74 6f 20 74 68 65 20 6c 69 6e 6b 20 73 68 6f 75 6c 64 20 | verything.up.to.the.link.should. |
107e00 | 62 65 20 74 65 78 74 20 63 6f 6e 74 65 6e 74 0a 20 20 20 20 20 20 20 20 20 20 73 64 2e 61 70 70 | be.text.content...........sd.app |
107e20 | 65 6e 64 43 68 69 6c 64 28 64 6f 63 75 6d 65 6e 74 2e 63 72 65 61 74 65 54 65 78 74 4e 6f 64 65 | endChild(document.createTextNode |
107e40 | 28 64 65 73 63 2e 73 6c 69 63 65 28 30 2c 20 72 65 73 75 6c 74 2e 69 6e 64 65 78 29 29 29 3b 0a | (desc.slice(0,.result.index)));. |
107e60 | 20 20 20 20 20 20 20 20 20 20 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 4e 6f 77 20 63 72 65 61 | .....................//.Now.crea |
107e80 | 74 65 20 74 68 65 20 6c 69 6e 6b 20 69 74 73 65 6c 66 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 | te.the.link.itself...........var |
107ea0 | 20 61 6e 63 68 6f 72 45 6c 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 63 72 65 61 74 65 45 6c 65 6d 65 | .anchorEl.=.document.createEleme |
107ec0 | 6e 74 28 22 61 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 61 6e 63 68 6f 72 45 6c 2e 73 65 74 41 | nt("a");...........anchorEl.setA |
107ee0 | 74 74 72 69 62 75 74 65 28 22 69 64 22 2c 20 22 63 65 72 74 5f 64 6f 6d 61 69 6e 5f 6c 69 6e 6b | ttribute("id",."cert_domain_link |
107f00 | 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 61 6e 63 68 6f 72 45 6c 2e 73 65 74 41 74 74 72 69 62 | ");...........anchorEl.setAttrib |
107f20 | 75 74 65 28 22 74 69 74 6c 65 22 2c 20 72 65 73 75 6c 74 5b 31 5d 29 3b 0a 20 20 20 20 20 20 20 | ute("title",.result[1]);........ |
107f40 | 20 20 20 61 6e 63 68 6f 72 45 6c 2e 61 70 70 65 6e 64 43 68 69 6c 64 28 64 6f 63 75 6d 65 6e 74 | ...anchorEl.appendChild(document |
107f60 | 2e 63 72 65 61 74 65 54 65 78 74 4e 6f 64 65 28 72 65 73 75 6c 74 5b 31 5d 29 29 3b 0a 20 20 20 | .createTextNode(result[1]));.... |
107f80 | 20 20 20 20 20 20 20 73 64 2e 61 70 70 65 6e 64 43 68 69 6c 64 28 61 6e 63 68 6f 72 45 6c 29 3b | .......sd.appendChild(anchorEl); |
107fa0 | 0a 20 20 20 20 20 20 20 20 20 20 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 46 69 6e 61 6c 6c 79 | ......................//.Finally |
107fc0 | 2c 20 61 70 70 65 6e 64 20 74 65 78 74 20 66 6f 72 20 61 6e 79 74 68 69 6e 67 20 61 66 74 65 72 | ,.append.text.for.anything.after |
107fe0 | 20 74 68 65 20 63 6c 6f 73 69 6e 67 20 3c 2f 61 3e 0a 20 20 20 20 20 20 20 20 20 20 73 64 2e 61 | .the.closing.</a>...........sd.a |
108000 | 70 70 65 6e 64 43 68 69 6c 64 28 64 6f 63 75 6d 65 6e 74 2e 63 72 65 61 74 65 54 65 78 74 4e 6f | ppendChild(document.createTextNo |
108020 | 64 65 28 64 65 73 63 2e 73 6c 69 63 65 28 64 65 73 63 2e 69 6e 64 65 78 4f 66 28 22 3c 2f 61 3e | de(desc.slice(desc.indexOf("</a> |
108040 | 22 29 20 2b 20 22 3c 2f 61 3e 22 2e 6c 65 6e 67 74 68 29 29 29 3b 0a 20 20 20 20 20 20 20 20 7d | ").+."</a>".length)));.........} |
108060 | 0a 0a 20 20 20 20 20 20 20 20 76 61 72 20 6c 69 6e 6b 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 | ..........var.link.=.document.ge |
108080 | 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 27 63 65 72 74 5f 64 6f 6d 61 69 6e 5f 6c 69 6e 6b 27 29 | tElementById('cert_domain_link') |
1080a0 | 3b 0a 20 20 20 20 20 20 20 20 69 66 20 28 21 6c 69 6e 6b 29 0a 20 20 20 20 20 20 20 20 20 20 72 | ;.........if.(!link)...........r |
1080c0 | 65 74 75 72 6e 3b 0a 20 20 20 20 20 20 20 20 0a 20 20 20 20 20 20 20 20 76 61 72 20 6f 6b 48 6f | eturn;..................var.okHo |
1080e0 | 73 74 20 3d 20 6c 69 6e 6b 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 74 69 74 6c 65 22 29 3b | st.=.link.getAttribute("title"); |
108100 | 0a 20 20 20 20 20 20 20 20 76 61 72 20 74 68 69 73 48 6f 73 74 20 3d 20 64 6f 63 75 6d 65 6e 74 | .........var.thisHost.=.document |
108120 | 2e 6c 6f 63 61 74 69 6f 6e 2e 68 6f 73 74 6e 61 6d 65 3b 0a 20 20 20 20 20 20 20 20 76 61 72 20 | .location.hostname;.........var. |
108140 | 70 72 6f 74 6f 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 6c 6f 63 61 74 69 6f 6e 2e 70 72 6f 74 6f 63 | proto.=.document.location.protoc |
108160 | 6f 6c 3b 0a 0a 20 20 20 20 20 20 20 20 2f 2f 20 49 66 20 6f 6b 48 6f 73 74 20 69 73 20 61 20 77 | ol;..........//.If.okHost.is.a.w |
108180 | 69 6c 64 63 61 72 64 20 64 6f 6d 61 69 6e 20 28 22 2a 2e 65 78 61 6d 70 6c 65 2e 63 6f 6d 22 29 | ildcard.domain.("*.example.com") |
1081a0 | 20 6c 65 74 27 73 0a 20 20 20 20 20 20 20 20 2f 2f 20 75 73 65 20 22 77 77 77 22 20 69 6e 73 74 | .let's.........//.use."www".inst |
1081c0 | 65 61 64 2e 20 20 22 2a 2e 65 78 61 6d 70 6c 65 2e 63 6f 6d 22 20 69 73 6e 27 74 20 67 6f 69 6e | ead..."*.example.com".isn't.goin |
1081e0 | 67 20 74 6f 0a 20 20 20 20 20 20 20 20 2f 2f 20 67 65 74 20 61 6e 79 6f 6e 65 20 61 6e 79 77 68 | g.to.........//.get.anyone.anywh |
108200 | 65 72 65 20 75 73 65 66 75 6c 2e 20 62 75 67 20 34 33 32 34 39 31 0a 20 20 20 20 20 20 20 20 6f | ere.useful..bug.432491.........o |
108220 | 6b 48 6f 73 74 20 3d 20 6f 6b 48 6f 73 74 2e 72 65 70 6c 61 63 65 28 2f 5e 5c 2a 5c 2e 2f 2c 20 | kHost.=.okHost.replace(/^\*\./,. |
108240 | 22 77 77 77 2e 22 29 3b 0a 0a 20 20 20 20 20 20 20 20 2f 2a 20 63 61 73 65 20 23 31 3a 20 0a 20 | "www.");........../*.case.#1:... |
108260 | 20 20 20 20 20 20 20 20 2a 20 65 78 61 6d 70 6c 65 2e 63 6f 6d 20 75 73 65 73 20 61 6e 20 69 6e | ........*.example.com.uses.an.in |
108280 | 76 61 6c 69 64 20 73 65 63 75 72 69 74 79 20 63 65 72 74 69 66 69 63 61 74 65 2e 0a 20 20 20 20 | valid.security.certificate...... |
1082a0 | 20 20 20 20 20 2a 0a 20 20 20 20 20 20 20 20 20 2a 20 54 68 65 20 63 65 72 74 69 66 69 63 61 74 | .....*..........*.The.certificat |
1082c0 | 65 20 69 73 20 6f 6e 6c 79 20 76 61 6c 69 64 20 66 6f 72 20 77 77 77 2e 65 78 61 6d 70 6c 65 2e | e.is.only.valid.for.www.example. |
1082e0 | 63 6f 6d 0a 20 20 20 20 20 20 20 20 20 2a 0a 20 20 20 20 20 20 20 20 20 2a 20 4d 61 6b 65 20 73 | com..........*..........*.Make.s |
108300 | 75 72 65 20 74 6f 20 69 6e 63 6c 75 64 65 20 74 68 65 20 22 2e 22 20 61 68 65 61 64 20 6f 66 20 | ure.to.include.the.".".ahead.of. |
108320 | 74 68 69 73 48 6f 73 74 20 73 6f 20 74 68 61 74 0a 20 20 20 20 20 20 20 20 20 2a 20 61 20 4d 69 | thisHost.so.that..........*.a.Mi |
108340 | 74 4d 20 61 74 74 61 63 6b 20 6f 6e 20 70 61 79 70 61 6c 2e 63 6f 6d 20 64 6f 65 73 6e 27 74 20 | tM.attack.on.paypal.com.doesn't. |
108360 | 68 79 70 65 72 6c 69 6e 6b 20 74 6f 20 22 6e 6f 74 70 61 79 70 61 6c 2e 63 6f 6d 22 0a 20 20 20 | hyperlink.to."notpaypal.com".... |
108380 | 20 20 20 20 20 20 2a 0a 20 20 20 20 20 20 20 20 20 2a 20 57 65 27 64 20 6e 6f 72 6d 61 6c 6c 79 | ......*..........*.We'd.normally |
1083a0 | 20 6a 75 73 74 20 75 73 65 20 61 20 52 65 67 45 78 70 20 68 65 72 65 20 65 78 63 65 70 74 20 74 | .just.use.a.RegExp.here.except.t |
1083c0 | 68 61 74 20 77 65 20 6c 61 63 6b 20 61 0a 20 20 20 20 20 20 20 20 20 2a 20 6c 69 62 72 61 72 79 | hat.we.lack.a..........*.library |
1083e0 | 20 66 75 6e 63 74 69 6f 6e 20 74 6f 20 65 73 63 61 70 65 20 74 68 65 6d 20 70 72 6f 70 65 72 6c | .function.to.escape.them.properl |
108400 | 79 20 28 62 75 67 20 32 34 38 30 36 32 29 2c 20 61 6e 64 0a 20 20 20 20 20 20 20 20 20 2a 20 64 | y.(bug.248062),.and..........*.d |
108420 | 6f 6d 61 69 6e 20 6e 61 6d 65 73 20 61 72 65 20 66 61 6d 6f 75 73 20 66 6f 72 20 68 61 76 69 6e | omain.names.are.famous.for.havin |
108440 | 67 20 27 2e 27 20 63 68 61 72 61 63 74 65 72 73 20 69 6e 20 74 68 65 6d 2c 0a 20 20 20 20 20 20 | g.'.'.characters.in.them,....... |
108460 | 20 20 20 2a 20 77 68 69 63 68 20 77 6f 75 6c 64 20 61 6c 6c 6f 77 20 73 70 75 72 69 6f 75 73 20 | ...*.which.would.allow.spurious. |
108480 | 61 6e 64 20 70 6f 73 73 69 62 6c 79 20 68 6f 73 74 69 6c 65 20 6d 61 74 63 68 65 73 2e 0a 20 20 | and.possibly.hostile.matches.... |
1084a0 | 20 20 20 20 20 20 20 2a 2f 0a 20 20 20 20 20 20 20 20 69 66 20 28 65 6e 64 73 57 69 74 68 28 6f | .......*/.........if.(endsWith(o |
1084c0 | 6b 48 6f 73 74 2c 20 22 2e 22 20 2b 20 74 68 69 73 48 6f 73 74 29 29 0a 20 20 20 20 20 20 20 20 | kHost,.".".+.thisHost))......... |
1084e0 | 20 20 6c 69 6e 6b 2e 68 72 65 66 20 3d 20 70 72 6f 74 6f 20 2b 20 6f 6b 48 6f 73 74 3b 0a 0a 20 | ..link.href.=.proto.+.okHost;... |
108500 | 20 20 20 20 20 20 20 2f 2a 20 63 61 73 65 20 23 32 3a 0a 20 20 20 20 20 20 20 20 20 2a 20 62 72 | ......./*.case.#2:..........*.br |
108520 | 6f 77 73 65 72 2e 67 61 72 61 67 65 2e 6d 61 65 6d 6f 2e 6f 72 67 20 75 73 65 73 20 61 6e 20 69 | owser.garage.maemo.org.uses.an.i |
108540 | 6e 76 61 6c 69 64 20 73 65 63 75 72 69 74 79 20 63 65 72 74 69 66 69 63 61 74 65 2e 0a 20 20 20 | nvalid.security.certificate..... |
108560 | 20 20 20 20 20 20 2a 0a 20 20 20 20 20 20 20 20 20 2a 20 54 68 65 20 63 65 72 74 69 66 69 63 61 | ......*..........*.The.certifica |
108580 | 74 65 20 69 73 20 6f 6e 6c 79 20 76 61 6c 69 64 20 66 6f 72 20 67 61 72 61 67 65 2e 6d 61 65 6d | te.is.only.valid.for.garage.maem |
1085a0 | 6f 2e 6f 72 67 0a 20 20 20 20 20 20 20 20 20 2a 2f 0a 20 20 20 20 20 20 20 20 69 66 20 28 65 6e | o.org..........*/.........if.(en |
1085c0 | 64 73 57 69 74 68 28 74 68 69 73 48 6f 73 74 2c 20 22 2e 22 20 2b 20 6f 6b 48 6f 73 74 29 29 0a | dsWith(thisHost,.".".+.okHost)). |
1085e0 | 20 20 20 20 20 20 20 20 20 20 6c 69 6e 6b 2e 68 72 65 66 20 3d 20 70 72 6f 74 6f 20 2b 20 6f 6b | ..........link.href.=.proto.+.ok |
108600 | 48 6f 73 74 3b 0a 20 20 20 20 20 20 20 20 20 20 0a 20 20 20 20 20 20 20 20 2f 2f 20 49 66 20 77 | Host;....................//.If.w |
108620 | 65 20 73 65 74 20 61 20 6c 69 6e 6b 2c 20 6d 65 61 6e 69 6e 67 20 74 68 65 72 65 27 73 20 73 6f | e.set.a.link,.meaning.there's.so |
108640 | 6d 65 74 68 69 6e 67 20 68 65 6c 70 66 75 6c 20 66 6f 72 0a 20 20 20 20 20 20 20 20 2f 2f 20 74 | mething.helpful.for.........//.t |
108660 | 68 65 20 75 73 65 72 20 68 65 72 65 2c 20 65 78 70 61 6e 64 20 74 68 65 20 73 65 63 74 69 6f 6e | he.user.here,.expand.the.section |
108680 | 20 62 79 20 64 65 66 61 75 6c 74 0a 20 20 20 20 20 20 20 20 69 66 20 28 6c 69 6e 6b 2e 68 72 65 | .by.default.........if.(link.hre |
1086a0 | 66 20 26 26 20 67 65 74 43 53 53 43 6c 61 73 73 28 29 20 21 3d 20 22 65 78 70 65 72 74 42 61 64 | f.&&.getCSSClass().!=."expertBad |
1086c0 | 43 65 72 74 22 29 0a 20 20 20 20 20 20 20 20 20 20 74 6f 67 67 6c 65 28 22 74 65 63 68 6e 69 63 | Cert")...........toggle("technic |
1086e0 | 61 6c 43 6f 6e 74 65 6e 74 22 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 0a 20 20 20 20 | alContent");.......}............ |
108700 | 20 20 66 75 6e 63 74 69 6f 6e 20 65 6e 64 73 57 69 74 68 28 68 61 79 73 74 61 63 6b 2c 20 6e 65 | ..function.endsWith(haystack,.ne |
108720 | 65 64 6c 65 29 20 7b 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 68 61 79 73 74 61 63 6b 2e | edle).{.........return.haystack. |
108740 | 73 6c 69 63 65 28 2d 6e 65 65 64 6c 65 2e 6c 65 6e 67 74 68 29 20 3d 3d 20 6e 65 65 64 6c 65 3b | slice(-needle.length).==.needle; |
108760 | 0a 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 66 75 6e 63 74 69 6f 6e 20 74 6f 67 67 6c 65 28 | .......}........function.toggle( |
108780 | 69 64 29 20 7b 0a 20 20 20 20 20 20 20 20 76 61 72 20 65 6c 20 3d 20 64 6f 63 75 6d 65 6e 74 2e | id).{.........var.el.=.document. |
1087a0 | 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 69 64 29 3b 0a 20 20 20 20 20 20 20 20 69 66 20 28 | getElementById(id);.........if.( |
1087c0 | 65 6c 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 63 6f 6c 6c 61 70 73 65 64 22 29 29 0a 20 20 | el.getAttribute("collapsed"))... |
1087e0 | 20 20 20 20 20 20 20 20 65 6c 2e 72 65 6d 6f 76 65 41 74 74 72 69 62 75 74 65 28 22 63 6f 6c 6c | ........el.removeAttribute("coll |
108800 | 61 70 73 65 64 22 29 3b 0a 20 20 20 20 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 20 20 20 20 | apsed");.........else........... |
108820 | 65 6c 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 63 6f 6c 6c 61 70 73 65 64 22 2c 20 74 72 75 | el.setAttribute("collapsed",.tru |
108840 | 65 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 5d 5d 3e 3c 2f 73 63 72 69 70 74 3e 0a 20 20 3c | e);.......}.....]]></script>...< |
108860 | 2f 68 65 61 64 3e 0a 0a 20 20 3c 62 6f 64 79 20 64 69 72 3d 22 26 6c 6f 63 61 6c 65 2e 64 69 72 | /head>....<body.dir="&locale.dir |
108880 | 3b 22 3e 0a 0a 20 20 20 20 3c 21 2d 2d 20 50 41 47 45 20 43 4f 4e 54 41 49 4e 45 52 20 28 66 6f | ;">......<!--.PAGE.CONTAINER.(fo |
1088a0 | 72 20 73 74 79 6c 69 6e 67 20 70 75 72 70 6f 73 65 73 20 6f 6e 6c 79 29 20 2d 2d 3e 0a 20 20 20 | r.styling.purposes.only).-->.... |
1088c0 | 20 3c 64 69 76 20 69 64 3d 22 65 72 72 6f 72 50 61 67 65 43 6f 6e 74 61 69 6e 65 72 22 3e 0a 20 | .<div.id="errorPageContainer">.. |
1088e0 | 20 20 20 0a 20 20 20 20 20 20 3c 21 2d 2d 20 45 72 72 6f 72 20 54 69 74 6c 65 20 2d 2d 3e 0a 20 | ..........<!--.Error.Title.-->.. |
108900 | 20 20 20 20 20 3c 64 69 76 20 69 64 3d 22 65 72 72 6f 72 54 69 74 6c 65 22 3e 0a 20 20 20 20 20 | .....<div.id="errorTitle">...... |
108920 | 20 20 20 3c 68 31 20 69 64 3d 22 65 72 72 6f 72 54 69 74 6c 65 54 65 78 74 22 3e 26 63 65 72 74 | ...<h1.id="errorTitleText">&cert |
108940 | 65 72 72 6f 72 2e 6c 6f 6e 67 70 61 67 65 74 69 74 6c 65 3b 3c 2f 68 31 3e 0a 20 20 20 20 20 20 | error.longpagetitle;</h1>....... |
108960 | 3c 2f 64 69 76 3e 0a 20 20 20 20 20 20 0a 20 20 20 20 20 20 3c 21 2d 2d 20 4c 4f 4e 47 20 43 4f | </div>..............<!--.LONG.CO |
108980 | 4e 54 45 4e 54 20 28 74 68 65 20 73 65 63 74 69 6f 6e 20 6d 6f 73 74 20 6c 69 6b 65 6c 79 20 74 | NTENT.(the.section.most.likely.t |
1089a0 | 6f 20 72 65 71 75 69 72 65 20 73 63 72 6f 6c 6c 69 6e 67 29 20 2d 2d 3e 0a 20 20 20 20 20 20 3c | o.require.scrolling).-->.......< |
1089c0 | 64 69 76 20 69 64 3d 22 65 72 72 6f 72 4c 6f 6e 67 43 6f 6e 74 65 6e 74 22 3e 0a 20 20 20 20 20 | div.id="errorLongContent">...... |
1089e0 | 20 20 20 3c 64 69 76 20 69 64 3d 22 69 6e 74 72 6f 43 6f 6e 74 65 6e 74 22 3e 0a 20 20 20 20 20 | ...<div.id="introContent">...... |
108a00 | 20 20 20 20 20 3c 70 20 69 64 3d 22 69 6e 74 72 6f 43 6f 6e 74 65 6e 74 50 31 22 3e 26 63 65 72 | .....<p.id="introContentP1">&cer |
108a20 | 74 65 72 72 6f 72 2e 69 6e 74 72 6f 50 61 72 61 31 3b 3c 2f 70 3e 0a 20 20 20 20 20 20 20 20 20 | terror.introPara1;</p>.......... |
108a40 | 20 3c 70 3e 26 63 65 72 74 65 72 72 6f 72 2e 69 6e 74 72 6f 50 61 72 61 32 3b 3c 2f 70 3e 0a 20 | .<p>&certerror.introPara2;</p>.. |
108a60 | 20 20 20 20 20 20 20 3c 2f 64 69 76 3e 0a 20 20 20 20 20 20 20 20 0a 20 20 20 20 20 20 20 20 3c | .......</div>..................< |
108a80 | 64 69 76 20 69 64 3d 22 77 68 61 74 53 68 6f 75 6c 64 49 44 6f 43 6f 6e 74 65 6e 74 22 3e 0a 20 | div.id="whatShouldIDoContent">.. |
108aa0 | 20 20 20 20 20 20 20 20 20 3c 68 32 3e 26 63 65 72 74 65 72 72 6f 72 2e 77 68 61 74 53 68 6f 75 | .........<h2>&certerror.whatShou |
108ac0 | 6c 64 49 44 6f 2e 68 65 61 64 69 6e 67 3b 3c 2f 68 32 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 64 | ldIDo.heading;</h2>...........<d |
108ae0 | 69 76 20 69 64 3d 22 77 68 61 74 53 68 6f 75 6c 64 49 44 6f 43 6f 6e 74 65 6e 74 54 65 78 74 22 | iv.id="whatShouldIDoContentText" |
108b00 | 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 70 3e 26 63 65 72 74 65 72 72 6f 72 2e 77 68 61 74 | >.............<p>&certerror.what |
108b20 | 53 68 6f 75 6c 64 49 44 6f 2e 63 6f 6e 74 65 6e 74 3b 3c 2f 70 3e 0a 20 20 20 20 20 20 20 20 20 | ShouldIDo.content;</p>.......... |
108b40 | 20 20 20 3c 78 75 6c 3a 62 75 74 74 6f 6e 20 78 6d 6c 6e 73 3a 78 75 6c 3d 27 68 74 74 70 3a 2f | ...<xul:button.xmlns:xul='http:/ |
108b60 | 2f 77 77 77 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6b 65 79 6d 61 73 74 65 72 2f 67 61 74 65 6b | /www.mozilla.org/keymaster/gatek |
108b80 | 65 65 70 65 72 2f 74 68 65 72 65 2e 69 73 2e 6f 6e 6c 79 2e 78 75 6c 27 20 69 64 3d 27 67 65 74 | eeper/there.is.only.xul'.id='get |
108ba0 | 4d 65 4f 75 74 4f 66 48 65 72 65 42 75 74 74 6f 6e 27 20 6c 61 62 65 6c 3d 27 26 63 65 72 74 65 | MeOutOfHereButton'.label='&certe |
108bc0 | 72 72 6f 72 2e 67 65 74 4d 65 4f 75 74 4f 66 48 65 72 65 2e 6c 61 62 65 6c 3b 27 2f 3e 0a 20 20 | rror.getMeOutOfHere.label;'/>... |
108be0 | 20 20 20 20 20 20 20 20 3c 2f 64 69 76 3e 0a 20 20 20 20 20 20 20 20 3c 2f 64 69 76 3e 0a 20 20 | ........</div>.........</div>... |
108c00 | 20 20 20 20 20 20 0a 20 20 20 20 20 20 20 20 3c 21 2d 2d 20 54 68 65 20 66 6f 6c 6c 6f 77 69 6e | ...............<!--.The.followin |
108c20 | 67 20 73 65 63 74 69 6f 6e 73 20 63 61 6e 20 62 65 20 75 6e 68 69 64 64 65 6e 20 62 79 20 64 65 | g.sections.can.be.unhidden.by.de |
108c40 | 66 61 75 6c 74 20 62 79 20 73 65 74 74 69 6e 67 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 20 | fault.by.setting.the............ |
108c60 | 20 20 22 62 72 6f 77 73 65 72 2e 78 75 6c 2e 65 72 72 6f 72 5f 70 61 67 65 73 2e 65 78 70 65 72 | .."browser.xul.error_pages.exper |
108c80 | 74 5f 62 61 64 5f 63 65 72 74 22 20 70 72 65 66 20 74 6f 20 74 72 75 65 20 2d 2d 3e 0a 20 20 20 | t_bad_cert".pref.to.true.-->.... |
108ca0 | 20 20 20 20 20 3c 64 69 76 20 69 64 3d 22 74 65 63 68 6e 69 63 61 6c 43 6f 6e 74 65 6e 74 22 20 | .....<div.id="technicalContent". |
108cc0 | 63 6f 6c 6c 61 70 73 65 64 3d 22 74 72 75 65 22 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 68 32 20 | collapsed="true">...........<h2. |
108ce0 | 6f 6e 63 6c 69 63 6b 3d 22 74 6f 67 67 6c 65 28 27 74 65 63 68 6e 69 63 61 6c 43 6f 6e 74 65 6e | onclick="toggle('technicalConten |
108d00 | 74 27 29 3b 22 20 69 64 3d 22 74 65 63 68 6e 69 63 61 6c 43 6f 6e 74 65 6e 74 48 65 61 64 69 6e | t');".id="technicalContentHeadin |
108d20 | 67 22 3e 26 63 65 72 74 65 72 72 6f 72 2e 74 65 63 68 6e 69 63 61 6c 2e 68 65 61 64 69 6e 67 3b | g">&certerror.technical.heading; |
108d40 | 3c 2f 68 32 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 70 20 69 64 3d 22 74 65 63 68 6e 69 63 61 6c | </h2>...........<p.id="technical |
108d60 | 43 6f 6e 74 65 6e 74 54 65 78 74 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 2f 64 69 76 3e 0a 20 20 | ContentText"/>.........</div>... |
108d80 | 20 20 20 20 20 20 0a 20 20 20 20 20 20 20 20 3c 64 69 76 20 69 64 3d 22 65 78 70 65 72 74 43 6f | ...............<div.id="expertCo |
108da0 | 6e 74 65 6e 74 22 20 63 6f 6c 6c 61 70 73 65 64 3d 22 74 72 75 65 22 3e 0a 20 20 20 20 20 20 20 | ntent".collapsed="true">........ |
108dc0 | 20 20 20 3c 68 32 20 6f 6e 63 6c 69 63 6b 3d 22 74 6f 67 67 6c 65 28 27 65 78 70 65 72 74 43 6f | ...<h2.onclick="toggle('expertCo |
108de0 | 6e 74 65 6e 74 27 29 3b 22 20 69 64 3d 22 65 78 70 65 72 74 43 6f 6e 74 65 6e 74 48 65 61 64 69 | ntent');".id="expertContentHeadi |
108e00 | 6e 67 22 3e 26 63 65 72 74 65 72 72 6f 72 2e 65 78 70 65 72 74 2e 68 65 61 64 69 6e 67 3b 3c 2f | ng">&certerror.expert.heading;</ |
108e20 | 68 32 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 64 69 76 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 | h2>...........<div>............. |
108e40 | 3c 70 3e 26 63 65 72 74 65 72 72 6f 72 2e 65 78 70 65 72 74 2e 63 6f 6e 74 65 6e 74 3b 3c 2f 70 | <p>&certerror.expert.content;</p |
108e60 | 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 70 3e 26 63 65 72 74 65 72 72 6f 72 2e 65 78 70 65 | >.............<p>&certerror.expe |
108e80 | 72 74 2e 63 6f 6e 74 65 6e 74 50 61 72 61 32 3b 3c 2f 70 3e 0a 20 20 20 20 20 20 20 20 20 20 20 | rt.contentPara2;</p>............ |
108ea0 | 20 3c 78 75 6c 3a 62 75 74 74 6f 6e 20 78 6d 6c 6e 73 3a 78 75 6c 3d 27 68 74 74 70 3a 2f 2f 77 | .<xul:button.xmlns:xul='http://w |
108ec0 | 77 77 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6b 65 79 6d 61 73 74 65 72 2f 67 61 74 65 6b 65 65 | ww.mozilla.org/keymaster/gatekee |
108ee0 | 70 65 72 2f 74 68 65 72 65 2e 69 73 2e 6f 6e 6c 79 2e 78 75 6c 27 20 69 64 3d 27 65 78 63 65 70 | per/there.is.only.xul'.id='excep |
108f00 | 74 69 6f 6e 44 69 61 6c 6f 67 42 75 74 74 6f 6e 27 20 6c 61 62 65 6c 3d 27 26 63 65 72 74 65 72 | tionDialogButton'.label='&certer |
108f20 | 72 6f 72 2e 61 64 64 45 78 63 65 70 74 69 6f 6e 2e 6c 61 62 65 6c 3b 27 2f 3e 0a 20 20 20 20 20 | ror.addException.label;'/>...... |
108f40 | 20 20 20 20 20 3c 2f 64 69 76 3e 0a 20 20 20 20 20 20 20 20 3c 2f 64 69 76 3e 0a 20 20 20 20 20 | .....</div>.........</div>...... |
108f60 | 20 3c 2f 64 69 76 3e 0a 20 20 20 20 3c 2f 64 69 76 3e 0a 0a 20 20 20 20 3c 21 2d 2d 0a 20 20 20 | .</div>.....</div>......<!--.... |
108f80 | 20 2d 20 4e 6f 74 65 3a 20 49 74 20 69 73 20 69 6d 70 6f 72 74 61 6e 74 20 74 6f 20 72 75 6e 20 | .-.Note:.It.is.important.to.run. |
108fa0 | 74 68 65 20 73 63 72 69 70 74 20 74 68 69 73 20 77 61 79 2c 20 69 6e 73 74 65 61 64 20 6f 66 20 | the.script.this.way,.instead.of. |
108fc0 | 75 73 69 6e 67 0a 20 20 20 20 2d 20 61 6e 20 6f 6e 6c 6f 61 64 20 68 61 6e 64 6c 65 72 2e 20 54 | using.....-.an.onload.handler..T |
108fe0 | 68 69 73 20 69 73 20 62 65 63 61 75 73 65 20 65 72 72 6f 72 20 70 61 67 65 73 20 61 72 65 20 6c | his.is.because.error.pages.are.l |
109000 | 6f 61 64 65 64 20 61 73 0a 20 20 20 20 2d 20 4c 4f 41 44 5f 42 41 43 4b 47 52 4f 55 4e 44 2c 20 | oaded.as.....-.LOAD_BACKGROUND,. |
109020 | 77 68 69 63 68 20 6d 65 61 6e 73 20 74 68 61 74 20 6f 6e 6c 6f 61 64 20 68 61 6e 64 6c 65 72 73 | which.means.that.onload.handlers |
109040 | 20 77 69 6c 6c 20 6e 6f 74 20 62 65 20 65 78 65 63 75 74 65 64 2e 0a 20 20 20 20 2d 2d 3e 0a 20 | .will.not.be.executed......-->.. |
109060 | 20 20 20 3c 73 63 72 69 70 74 20 74 79 70 65 3d 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f 78 2d 6a | ...<script.type="application/x-j |
109080 | 61 76 61 73 63 72 69 70 74 22 3e 69 6e 69 74 50 61 67 65 28 29 3b 3c 2f 73 63 72 69 70 74 3e 0a | avascript">initPage();</script>. |
1090a0 | 0a 20 20 3c 2f 62 6f 64 79 3e 0a 3c 2f 68 74 6d 6c 3e 0a 50 4b 03 04 14 00 00 00 00 00 f2 4b 18 | ...</body>.</html>.PK.........K. |
1090c0 | 3b c9 14 8d 97 c6 08 00 00 c6 08 00 00 2c 00 00 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 | ;............,...content/browser |
1090e0 | 2f 63 65 72 74 65 72 72 6f 72 2f 61 62 6f 75 74 43 65 72 74 45 72 72 6f 72 2e 63 73 73 2f 2a 20 | /certerror/aboutCertError.css/*. |
109100 | 2a 2a 2a 2a 2a 20 42 45 47 49 4e 20 4c 49 43 45 4e 53 45 20 42 4c 4f 43 4b 20 2a 2a 2a 2a 2a 0a | *****.BEGIN.LICENSE.BLOCK.*****. |
109120 | 20 2a 20 56 65 72 73 69 6f 6e 3a 20 4d 50 4c 20 31 2e 31 2f 47 50 4c 20 32 2e 30 2f 4c 47 50 4c | .*.Version:.MPL.1.1/GPL.2.0/LGPL |
109140 | 20 32 2e 31 0a 20 2a 0a 20 2a 20 54 68 65 20 63 6f 6e 74 65 6e 74 73 20 6f 66 20 74 68 69 73 20 | .2.1..*..*.The.contents.of.this. |
109160 | 66 69 6c 65 20 61 72 65 20 73 75 62 6a 65 63 74 20 74 6f 20 74 68 65 20 4d 6f 7a 69 6c 6c 61 20 | file.are.subject.to.the.Mozilla. |
109180 | 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 20 56 65 72 73 69 6f 6e 0a 20 2a 20 31 2e 31 20 28 74 | Public.License.Version..*.1.1.(t |
1091a0 | 68 65 20 22 4c 69 63 65 6e 73 65 22 29 3b 20 79 6f 75 20 6d 61 79 20 6e 6f 74 20 75 73 65 20 74 | he."License");.you.may.not.use.t |
1091c0 | 68 69 73 20 66 69 6c 65 20 65 78 63 65 70 74 20 69 6e 20 63 6f 6d 70 6c 69 61 6e 63 65 20 77 69 | his.file.except.in.compliance.wi |
1091e0 | 74 68 0a 20 2a 20 74 68 65 20 4c 69 63 65 6e 73 65 2e 20 59 6f 75 20 6d 61 79 20 6f 62 74 61 69 | th..*.the.License..You.may.obtai |
109200 | 6e 20 61 20 63 6f 70 79 20 6f 66 20 74 68 65 20 4c 69 63 65 6e 73 65 20 61 74 0a 20 2a 20 68 74 | n.a.copy.of.the.License.at..*.ht |
109220 | 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 4d 50 4c 2f 0a 20 2a 0a 20 2a 20 | tp://www.mozilla.org/MPL/..*..*. |
109240 | 53 6f 66 74 77 61 72 65 20 64 69 73 74 72 69 62 75 74 65 64 20 75 6e 64 65 72 20 74 68 65 20 4c | Software.distributed.under.the.L |
109260 | 69 63 65 6e 73 65 20 69 73 20 64 69 73 74 72 69 62 75 74 65 64 20 6f 6e 20 61 6e 20 22 41 53 20 | icense.is.distributed.on.an."AS. |
109280 | 49 53 22 20 62 61 73 69 73 2c 0a 20 2a 20 57 49 54 48 4f 55 54 20 57 41 52 52 41 4e 54 59 20 4f | IS".basis,..*.WITHOUT.WARRANTY.O |
1092a0 | 46 20 41 4e 59 20 4b 49 4e 44 2c 20 65 69 74 68 65 72 20 65 78 70 72 65 73 73 20 6f 72 20 69 6d | F.ANY.KIND,.either.express.or.im |
1092c0 | 70 6c 69 65 64 2e 20 53 65 65 20 74 68 65 20 4c 69 63 65 6e 73 65 0a 20 2a 20 66 6f 72 20 74 68 | plied..See.the.License..*.for.th |
1092e0 | 65 20 73 70 65 63 69 66 69 63 20 6c 61 6e 67 75 61 67 65 20 67 6f 76 65 72 6e 69 6e 67 20 72 69 | e.specific.language.governing.ri |
109300 | 67 68 74 73 20 61 6e 64 20 6c 69 6d 69 74 61 74 69 6f 6e 73 20 75 6e 64 65 72 20 74 68 65 0a 20 | ghts.and.limitations.under.the.. |
109320 | 2a 20 4c 69 63 65 6e 73 65 2e 0a 20 2a 0a 20 2a 20 54 68 65 20 4f 72 69 67 69 6e 61 6c 20 43 6f | *.License...*..*.The.Original.Co |
109340 | 64 65 20 69 73 20 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 20 63 6f 64 65 2e 0a 20 2a 0a 20 2a 20 54 68 | de.is.mozilla.org.code...*..*.Th |
109360 | 65 20 49 6e 69 74 69 61 6c 20 44 65 76 65 6c 6f 70 65 72 20 6f 66 20 74 68 65 20 4f 72 69 67 69 | e.Initial.Developer.of.the.Origi |
109380 | 6e 61 6c 20 43 6f 64 65 20 69 73 0a 20 2a 20 4d 6f 7a 69 6c 6c 61 20 43 6f 72 70 6f 72 61 74 69 | nal.Code.is..*.Mozilla.Corporati |
1093a0 | 6f 6e 2e 0a 20 2a 20 50 6f 72 74 69 6f 6e 73 20 63 72 65 61 74 65 64 20 62 79 20 74 68 65 20 49 | on...*.Portions.created.by.the.I |
1093c0 | 6e 69 74 69 61 6c 20 44 65 76 65 6c 6f 70 65 72 20 61 72 65 20 43 6f 70 79 72 69 67 68 74 20 28 | nitial.Developer.are.Copyright.( |
1093e0 | 43 29 20 32 30 30 38 0a 20 2a 20 74 68 65 20 49 6e 69 74 69 61 6c 20 44 65 76 65 6c 6f 70 65 72 | C).2008..*.the.Initial.Developer |
109400 | 2e 20 41 6c 6c 20 52 69 67 68 74 73 20 52 65 73 65 72 76 65 64 2e 0a 20 2a 0a 20 2a 20 43 6f 6e | ..All.Rights.Reserved...*..*.Con |
109420 | 74 72 69 62 75 74 6f 72 28 73 29 3a 0a 20 2a 20 20 20 57 69 6c 6c 69 61 6d 20 50 72 69 63 65 20 | tributor(s):..*...William.Price. |
109440 | 3c 62 75 67 7a 69 6c 6c 61 40 6d 6f 62 2e 72 69 63 65 2e 65 64 75 3e 0a 20 2a 20 20 20 53 74 65 | <bugzilla@mob.rice.edu>..*...Ste |
109460 | 76 65 6e 20 47 61 72 72 69 74 79 20 3c 73 74 65 76 65 6e 40 73 69 6c 76 65 72 6f 72 61 6e 67 65 | ven.Garrity.<steven@silverorange |
109480 | 2e 63 6f 6d 3e 0a 20 2a 20 20 20 48 65 6e 72 69 6b 20 53 6b 75 70 69 6e 20 20 3c 6d 6f 7a 69 6c | .com>..*...Henrik.Skupin..<mozil |
1094a0 | 6c 61 40 68 73 6b 75 70 69 6e 2e 69 6e 66 6f 3e 0a 20 2a 20 20 20 4a 6f 68 6e 61 74 68 61 6e 20 | la@hskupin.info>..*...Johnathan. |
1094c0 | 4e 69 67 68 74 69 6e 67 61 6c 65 20 3c 6a 6f 68 6e 61 74 68 40 6d 6f 7a 69 6c 6c 61 2e 63 6f 6d | Nightingale.<johnath@mozilla.com |
1094e0 | 3e 0a 20 2a 0a 20 2a 20 41 6c 74 65 72 6e 61 74 69 76 65 6c 79 2c 20 74 68 65 20 63 6f 6e 74 65 | >..*..*.Alternatively,.the.conte |
109500 | 6e 74 73 20 6f 66 20 74 68 69 73 20 66 69 6c 65 20 6d 61 79 20 62 65 20 75 73 65 64 20 75 6e 64 | nts.of.this.file.may.be.used.und |
109520 | 65 72 20 74 68 65 20 74 65 72 6d 73 20 6f 66 0a 20 2a 20 65 69 74 68 65 72 20 74 68 65 20 47 4e | er.the.terms.of..*.either.the.GN |
109540 | 55 20 47 65 6e 65 72 61 6c 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 20 56 65 72 73 69 6f 6e | U.General.Public.License.Version |
109560 | 20 32 20 6f 72 20 6c 61 74 65 72 20 28 74 68 65 20 22 47 50 4c 22 29 2c 20 6f 72 0a 20 2a 20 74 | .2.or.later.(the."GPL"),.or..*.t |
109580 | 68 65 20 47 4e 55 20 4c 65 73 73 65 72 20 47 65 6e 65 72 61 6c 20 50 75 62 6c 69 63 20 4c 69 63 | he.GNU.Lesser.General.Public.Lic |
1095a0 | 65 6e 73 65 20 56 65 72 73 69 6f 6e 20 32 2e 31 20 6f 72 20 6c 61 74 65 72 20 28 74 68 65 20 22 | ense.Version.2.1.or.later.(the." |
1095c0 | 4c 47 50 4c 22 29 2c 0a 20 2a 20 69 6e 20 77 68 69 63 68 20 63 61 73 65 20 74 68 65 20 70 72 6f | LGPL"),..*.in.which.case.the.pro |
1095e0 | 76 69 73 69 6f 6e 73 20 6f 66 20 74 68 65 20 47 50 4c 20 6f 72 20 74 68 65 20 4c 47 50 4c 20 61 | visions.of.the.GPL.or.the.LGPL.a |
109600 | 72 65 20 61 70 70 6c 69 63 61 62 6c 65 20 69 6e 73 74 65 61 64 0a 20 2a 20 6f 66 20 74 68 6f 73 | re.applicable.instead..*.of.thos |
109620 | 65 20 61 62 6f 76 65 2e 20 49 66 20 79 6f 75 20 77 69 73 68 20 74 6f 20 61 6c 6c 6f 77 20 75 73 | e.above..If.you.wish.to.allow.us |
109640 | 65 20 6f 66 20 79 6f 75 72 20 76 65 72 73 69 6f 6e 20 6f 66 20 74 68 69 73 20 66 69 6c 65 20 6f | e.of.your.version.of.this.file.o |
109660 | 6e 6c 79 0a 20 2a 20 75 6e 64 65 72 20 74 68 65 20 74 65 72 6d 73 20 6f 66 20 65 69 74 68 65 72 | nly..*.under.the.terms.of.either |
109680 | 20 74 68 65 20 47 50 4c 20 6f 72 20 74 68 65 20 4c 47 50 4c 2c 20 61 6e 64 20 6e 6f 74 20 74 6f | .the.GPL.or.the.LGPL,.and.not.to |
1096a0 | 20 61 6c 6c 6f 77 20 6f 74 68 65 72 73 20 74 6f 0a 20 2a 20 75 73 65 20 79 6f 75 72 20 76 65 72 | .allow.others.to..*.use.your.ver |
1096c0 | 73 69 6f 6e 20 6f 66 20 74 68 69 73 20 66 69 6c 65 20 75 6e 64 65 72 20 74 68 65 20 74 65 72 6d | sion.of.this.file.under.the.term |
1096e0 | 73 20 6f 66 20 74 68 65 20 4d 50 4c 2c 20 69 6e 64 69 63 61 74 65 20 79 6f 75 72 0a 20 2a 20 64 | s.of.the.MPL,.indicate.your..*.d |
109700 | 65 63 69 73 69 6f 6e 20 62 79 20 64 65 6c 65 74 69 6e 67 20 74 68 65 20 70 72 6f 76 69 73 69 6f | ecision.by.deleting.the.provisio |
109720 | 6e 73 20 61 62 6f 76 65 20 61 6e 64 20 72 65 70 6c 61 63 65 20 74 68 65 6d 20 77 69 74 68 20 74 | ns.above.and.replace.them.with.t |
109740 | 68 65 20 6e 6f 74 69 63 65 0a 20 2a 20 61 6e 64 20 6f 74 68 65 72 20 70 72 6f 76 69 73 69 6f 6e | he.notice..*.and.other.provision |
109760 | 73 20 72 65 71 75 69 72 65 64 20 62 79 20 74 68 65 20 47 50 4c 20 6f 72 20 74 68 65 20 4c 47 50 | s.required.by.the.GPL.or.the.LGP |
109780 | 4c 2e 20 49 66 20 79 6f 75 20 64 6f 20 6e 6f 74 20 64 65 6c 65 74 65 0a 20 2a 20 74 68 65 20 70 | L..If.you.do.not.delete..*.the.p |
1097a0 | 72 6f 76 69 73 69 6f 6e 73 20 61 62 6f 76 65 2c 20 61 20 72 65 63 69 70 69 65 6e 74 20 6d 61 79 | rovisions.above,.a.recipient.may |
1097c0 | 20 75 73 65 20 79 6f 75 72 20 76 65 72 73 69 6f 6e 20 6f 66 20 74 68 69 73 20 66 69 6c 65 20 75 | .use.your.version.of.this.file.u |
1097e0 | 6e 64 65 72 0a 20 2a 20 74 68 65 20 74 65 72 6d 73 20 6f 66 20 61 6e 79 20 6f 6e 65 20 6f 66 20 | nder..*.the.terms.of.any.one.of. |
109800 | 74 68 65 20 4d 50 4c 2c 20 74 68 65 20 47 50 4c 20 6f 72 20 74 68 65 20 4c 47 50 4c 2e 0a 20 2a | the.MPL,.the.GPL.or.the.LGPL...* |
109820 | 0a 20 2a 20 2a 2a 2a 2a 2a 20 45 4e 44 20 4c 49 43 45 4e 53 45 20 42 4c 4f 43 4b 20 2a 2a 2a 2a | ..*.*****.END.LICENSE.BLOCK.**** |
109840 | 2a 20 2a 2f 0a 0a 2f 2a 20 4c 6f 67 69 63 61 6c 20 43 53 53 20 72 75 6c 65 73 20 62 65 6c 6f 6e | *.*/../*.Logical.CSS.rules.belon |
109860 | 67 20 68 65 72 65 2c 20 62 75 74 20 70 72 65 73 65 6e 74 61 74 69 6f 6e 20 26 20 74 68 65 6d 69 | g.here,.but.presentation.&.themi |
109880 | 6e 67 20 72 75 6c 65 73 0a 20 20 20 73 68 6f 75 6c 64 20 6c 69 76 65 20 69 6e 20 74 68 65 20 43 | ng.rules....should.live.in.the.C |
1098a0 | 53 53 20 6f 66 20 74 68 65 20 61 70 70 72 6f 70 72 69 61 74 65 20 74 68 65 6d 65 20 2a 2f 0a 0a | SS.of.the.appropriate.theme.*/.. |
1098c0 | 23 74 65 63 68 6e 69 63 61 6c 43 6f 6e 74 65 6e 74 54 65 78 74 20 7b 0a 20 20 6f 76 65 72 66 6c | #technicalContentText.{...overfl |
1098e0 | 6f 77 3a 20 61 75 74 6f 3b 0a 20 20 77 68 69 74 65 2d 73 70 61 63 65 3a 20 70 72 65 2d 77 72 61 | ow:.auto;...white-space:.pre-wra |
109900 | 70 3b 0a 7d 0a 0a 23 74 65 63 68 6e 69 63 61 6c 43 6f 6e 74 65 6e 74 20 3e 20 68 32 2c 20 23 65 | p;.}..#technicalContent.>.h2,.#e |
109920 | 78 70 65 72 74 43 6f 6e 74 65 6e 74 20 3e 20 68 32 20 7b 0a 20 20 63 75 72 73 6f 72 3a 20 70 6f | xpertContent.>.h2.{...cursor:.po |
109940 | 69 6e 74 65 72 3b 0a 20 20 70 61 64 64 69 6e 67 2d 6c 65 66 74 3a 20 32 30 70 78 3b 0a 20 20 70 | inter;...padding-left:.20px;...p |
109960 | 6f 73 69 74 69 6f 6e 3a 20 72 65 6c 61 74 69 76 65 3b 0a 20 20 6c 65 66 74 3a 20 2d 32 30 70 78 | osition:.relative;...left:.-20px |
109980 | 3b 0a 7d 0a 0a 64 69 76 5b 63 6f 6c 6c 61 70 73 65 64 5d 20 3e 20 70 2c 0a 64 69 76 5b 63 6f 6c | ;.}..div[collapsed].>.p,.div[col |
1099a0 | 6c 61 70 73 65 64 5d 20 3e 20 64 69 76 20 7b 0a 20 20 64 69 73 70 6c 61 79 3a 20 6e 6f 6e 65 3b | lapsed].>.div.{...display:.none; |
1099c0 | 0a 7d 0a 50 4b 03 04 14 00 00 00 00 00 f3 4b 18 3b 2f 14 7d db 89 3d 00 00 89 3d 00 00 28 00 00 | .}.PK.........K.;/.}..=...=..(.. |
1099e0 | 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 61 64 76 | .content/browser/preferences/adv |
109a00 | 61 6e 63 65 64 2e 78 75 6c 3c 3f 78 6d 6c 20 76 65 72 73 69 6f 6e 3d 22 31 2e 30 22 3f 3e 0a 0a | anced.xul<?xml.version="1.0"?>.. |
109a20 | 0a 3c 21 44 4f 43 54 59 50 45 20 6f 76 65 72 6c 61 79 20 5b 0a 3c 21 45 4e 54 49 54 59 20 25 20 | .<!DOCTYPE.overlay.[.<!ENTITY.%. |
109a40 | 62 72 61 6e 64 44 54 44 20 53 59 53 54 45 4d 20 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 61 6e 64 69 | brandDTD.SYSTEM."chrome://brandi |
109a60 | 6e 67 2f 6c 6f 63 61 6c 65 2f 62 72 61 6e 64 2e 64 74 64 22 3e 0a 25 62 72 61 6e 64 44 54 44 3b | ng/locale/brand.dtd">.%brandDTD; |
109a80 | 0a 3c 21 45 4e 54 49 54 59 20 25 20 61 64 76 61 6e 63 65 64 44 54 44 20 53 59 53 54 45 4d 20 22 | .<!ENTITY.%.advancedDTD.SYSTEM." |
109aa0 | 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 6c 6f 63 61 6c 65 2f 70 72 65 66 65 72 65 6e | chrome://browser/locale/preferen |
109ac0 | 63 65 73 2f 61 64 76 61 6e 63 65 64 2e 64 74 64 22 3e 0a 25 61 64 76 61 6e 63 65 64 44 54 44 3b | ces/advanced.dtd">.%advancedDTD; |
109ae0 | 0a 3c 21 45 4e 54 49 54 59 20 25 20 70 72 69 76 61 63 79 44 54 44 20 53 59 53 54 45 4d 20 22 63 | .<!ENTITY.%.privacyDTD.SYSTEM."c |
109b00 | 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 6c 6f 63 61 6c 65 2f 70 72 65 66 65 72 65 6e 63 | hrome://browser/locale/preferenc |
109b20 | 65 73 2f 70 72 69 76 61 63 79 2e 64 74 64 22 3e 0a 25 70 72 69 76 61 63 79 44 54 44 3b 0a 5d 3e | es/privacy.dtd">.%privacyDTD;.]> |
109b40 | 0a 0a 3c 6f 76 65 72 6c 61 79 20 69 64 3d 22 41 64 76 61 6e 63 65 64 50 61 6e 65 4f 76 65 72 6c | ..<overlay.id="AdvancedPaneOverl |
109b60 | 61 79 22 0a 20 20 20 20 20 20 20 20 20 78 6d 6c 6e 73 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e 6d | ay"..........xmlns="http://www.m |
109b80 | 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6b 65 79 6d 61 73 74 65 72 2f 67 61 74 65 6b 65 65 70 65 72 2f | ozilla.org/keymaster/gatekeeper/ |
109ba0 | 74 68 65 72 65 2e 69 73 2e 6f 6e 6c 79 2e 78 75 6c 22 3e 0a 0a 20 20 3c 70 72 65 66 70 61 6e 65 | there.is.only.xul">....<prefpane |
109bc0 | 20 69 64 3d 22 70 61 6e 65 41 64 76 61 6e 63 65 64 22 20 6f 6e 70 61 6e 65 6c 6f 61 64 3d 22 67 | .id="paneAdvanced".onpaneload="g |
109be0 | 41 64 76 61 6e 63 65 64 50 61 6e 65 2e 69 6e 69 74 28 29 3b 22 3e 0a 0a 20 20 20 20 3c 70 72 65 | AdvancedPane.init();">......<pre |
109c00 | 66 65 72 65 6e 63 65 73 20 69 64 3d 22 61 64 76 61 6e 63 65 64 50 72 65 66 65 72 65 6e 63 65 73 | ferences.id="advancedPreferences |
109c20 | 22 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 62 72 6f 77 73 65 72 | ">.......<preference.id="browser |
109c40 | 2e 70 72 65 66 65 72 65 6e 63 65 73 2e 61 64 76 61 6e 63 65 64 2e 73 65 6c 65 63 74 65 64 54 61 | .preferences.advanced.selectedTa |
109c60 | 62 49 6e 64 65 78 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 61 6d 65 3d 22 | bIndex"...................name=" |
109c80 | 62 72 6f 77 73 65 72 2e 70 72 65 66 65 72 65 6e 63 65 73 2e 61 64 76 61 6e 63 65 64 2e 73 65 6c | browser.preferences.advanced.sel |
109ca0 | 65 63 74 65 64 54 61 62 49 6e 64 65 78 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ectedTabIndex".................. |
109cc0 | 20 74 79 70 65 3d 22 69 6e 74 22 2f 3e 0a 0a 20 20 20 20 20 20 3c 21 2d 2d 58 58 58 20 62 75 74 | .type="int"/>........<!--XXX.but |
109ce0 | 74 6f 6e 20 70 72 65 66 73 20 2d 2d 3e 0a 0a 20 20 20 20 20 20 3c 21 2d 2d 20 47 65 6e 65 72 61 | ton.prefs.-->........<!--.Genera |
109d00 | 6c 20 74 61 62 20 2d 2d 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 | l.tab.-->.......<preference.id=" |
109d20 | 61 63 63 65 73 73 69 62 69 6c 69 74 79 2e 62 72 6f 77 73 65 77 69 74 68 63 61 72 65 74 22 20 20 | accessibility.browsewithcaret".. |
109d40 | 20 6e 61 6d 65 3d 22 61 63 63 65 73 73 69 62 69 6c 69 74 79 2e 62 72 6f 77 73 65 77 69 74 68 63 | .name="accessibility.browsewithc |
109d60 | 61 72 65 74 22 20 20 20 74 79 70 65 3d 22 62 6f 6f 6c 22 2f 3e 0a 20 20 20 20 20 20 3c 70 72 65 | aret"...type="bool"/>.......<pre |
109d80 | 66 65 72 65 6e 63 65 20 69 64 3d 22 61 63 63 65 73 73 69 62 69 6c 69 74 79 2e 74 79 70 65 61 68 | ference.id="accessibility.typeah |
109da0 | 65 61 64 66 69 6e 64 22 20 20 20 20 20 6e 61 6d 65 3d 22 61 63 63 65 73 73 69 62 69 6c 69 74 79 | eadfind".....name="accessibility |
109dc0 | 2e 74 79 70 65 61 68 65 61 64 66 69 6e 64 22 20 20 20 20 20 74 79 70 65 3d 22 62 6f 6f 6c 22 2f | .typeaheadfind".....type="bool"/ |
109de0 | 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 61 63 63 65 73 73 69 62 | >.......<preference.id="accessib |
109e00 | 69 6c 69 74 79 2e 62 6c 6f 63 6b 61 75 74 6f 72 65 66 72 65 73 68 22 20 20 6e 61 6d 65 3d 22 61 | ility.blockautorefresh"..name="a |
109e20 | 63 63 65 73 73 69 62 69 6c 69 74 79 2e 62 6c 6f 63 6b 61 75 74 6f 72 65 66 72 65 73 68 22 20 20 | ccessibility.blockautorefresh".. |
109e40 | 74 79 70 65 3d 22 62 6f 6f 6c 22 2f 3e 0a 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 | type="bool"/>........<preference |
109e60 | 20 69 64 3d 22 67 65 6e 65 72 61 6c 2e 61 75 74 6f 53 63 72 6f 6c 6c 22 20 20 20 20 20 20 20 20 | .id="general.autoScroll"........ |
109e80 | 20 20 20 20 20 20 6e 61 6d 65 3d 22 67 65 6e 65 72 61 6c 2e 61 75 74 6f 53 63 72 6f 6c 6c 22 20 | ......name="general.autoScroll". |
109ea0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 74 79 70 65 3d 22 62 6f 6f 6c 22 2f 3e 0a 20 20 20 20 20 | .............type="bool"/>...... |
109ec0 | 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 67 65 6e 65 72 61 6c 2e 73 6d 6f 6f 74 68 53 | .<preference.id="general.smoothS |
109ee0 | 63 72 6f 6c 6c 22 20 20 20 20 20 20 20 20 20 20 20 20 6e 61 6d 65 3d 22 67 65 6e 65 72 61 6c 2e | croll"............name="general. |
109f00 | 73 6d 6f 6f 74 68 53 63 72 6f 6c 6c 22 20 20 20 20 20 20 20 20 20 20 20 20 74 79 70 65 3d 22 62 | smoothScroll"............type="b |
109f20 | 6f 6f 6c 22 2f 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 6c 61 79 | ool"/>.......<preference.id="lay |
109f40 | 6f 75 74 2e 73 70 65 6c 6c 63 68 65 63 6b 44 65 66 61 75 6c 74 22 20 20 20 20 20 20 20 20 6e 61 | out.spellcheckDefault"........na |
109f60 | 6d 65 3d 22 6c 61 79 6f 75 74 2e 73 70 65 6c 6c 63 68 65 63 6b 44 65 66 61 75 6c 74 22 20 20 20 | me="layout.spellcheckDefault"... |
109f80 | 20 20 20 20 20 74 79 70 65 3d 22 69 6e 74 22 2f 3e 0a 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 | .....type="int"/>........<prefer |
109fa0 | 65 6e 63 65 20 69 64 3d 22 62 72 6f 77 73 65 72 2e 73 68 65 6c 6c 2e 63 68 65 63 6b 44 65 66 61 | ence.id="browser.shell.checkDefa |
109fc0 | 75 6c 74 42 72 6f 77 73 65 72 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 61 | ultBrowser"...................na |
109fe0 | 6d 65 3d 22 62 72 6f 77 73 65 72 2e 73 68 65 6c 6c 2e 63 68 65 63 6b 44 65 66 61 75 6c 74 42 72 | me="browser.shell.checkDefaultBr |
10a000 | 6f 77 73 65 72 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 79 70 65 3d 22 62 | owser"...................type="b |
10a020 | 6f 6f 6c 22 2f 3e 0a 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 70 72 | ool"/>........<preference.id="pr |
10a040 | 65 66 2e 67 65 6e 65 72 61 6c 2e 64 69 73 61 62 6c 65 5f 62 75 74 74 6f 6e 2e 64 65 66 61 75 6c | ef.general.disable_button.defaul |
10a060 | 74 5f 62 72 6f 77 73 65 72 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 61 6d | t_browser"...................nam |
10a080 | 65 3d 22 70 72 65 66 2e 67 65 6e 65 72 61 6c 2e 64 69 73 61 62 6c 65 5f 62 75 74 74 6f 6e 2e 64 | e="pref.general.disable_button.d |
10a0a0 | 65 66 61 75 6c 74 5f 62 72 6f 77 73 65 72 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | efault_browser"................. |
10a0c0 | 20 20 74 79 70 65 3d 22 62 6f 6f 6c 22 2f 3e 0a 0a 20 20 20 20 20 20 3c 21 2d 2d 20 4e 65 74 77 | ..type="bool"/>........<!--.Netw |
10a0e0 | 6f 72 6b 20 74 61 62 20 2d 2d 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 64 | ork.tab.-->.......<preference.id |
10a100 | 3d 22 62 72 6f 77 73 65 72 2e 63 61 63 68 65 2e 64 69 73 6b 2e 63 61 70 61 63 69 74 79 22 20 20 | ="browser.cache.disk.capacity".. |
10a120 | 20 20 20 6e 61 6d 65 3d 22 62 72 6f 77 73 65 72 2e 63 61 63 68 65 2e 64 69 73 6b 2e 63 61 70 61 | ...name="browser.cache.disk.capa |
10a140 | 63 69 74 79 22 20 20 20 20 20 74 79 70 65 3d 22 69 6e 74 22 2f 3e 0a 20 20 20 20 20 20 3c 70 72 | city".....type="int"/>.......<pr |
10a160 | 65 66 65 72 65 6e 63 65 20 69 64 3d 22 62 72 6f 77 73 65 72 2e 6f 66 66 6c 69 6e 65 2d 61 70 70 | eference.id="browser.offline-app |
10a180 | 73 2e 6e 6f 74 69 66 79 22 20 20 20 20 20 6e 61 6d 65 3d 22 62 72 6f 77 73 65 72 2e 6f 66 66 6c | s.notify".....name="browser.offl |
10a1a0 | 69 6e 65 2d 61 70 70 73 2e 6e 6f 74 69 66 79 22 20 20 20 20 20 74 79 70 65 3d 22 62 6f 6f 6c 22 | ine-apps.notify".....type="bool" |
10a1c0 | 2f 3e 0a 0a 20 20 20 20 20 20 3c 21 2d 2d 20 55 70 64 61 74 65 20 74 61 62 20 2d 2d 3e 0a 20 20 | />........<!--.Update.tab.-->... |
10a1e0 | 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 61 70 70 2e 75 70 64 61 74 65 2e 65 | ....<preference.id="app.update.e |
10a200 | 6e 61 62 6c 65 64 22 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 61 6d 65 3d 22 61 70 70 2e 75 | nabled"..............name="app.u |
10a220 | 70 64 61 74 65 2e 65 6e 61 62 6c 65 64 22 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 79 70 65 | pdate.enabled"..............type |
10a240 | 3d 22 62 6f 6f 6c 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 68 61 6e | ="bool"...................onchan |
10a260 | 67 65 3d 22 67 41 64 76 61 6e 63 65 64 50 61 6e 65 2e 75 70 64 61 74 65 41 70 70 55 70 64 61 74 | ge="gAdvancedPane.updateAppUpdat |
10a280 | 65 49 74 65 6d 73 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | eItems();....................... |
10a2a0 | 20 20 20 20 20 20 67 41 64 76 61 6e 63 65 64 50 61 6e 65 2e 75 70 64 61 74 65 41 75 74 6f 49 74 | ......gAdvancedPane.updateAutoIt |
10a2c0 | 65 6d 73 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ems();.......................... |
10a2e0 | 20 20 20 67 41 64 76 61 6e 63 65 64 50 61 6e 65 2e 75 70 64 61 74 65 4d 6f 64 65 49 74 65 6d 73 | ...gAdvancedPane.updateModeItems |
10a300 | 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 61 70 70 | ();"/>.......<preference.id="app |
10a320 | 2e 75 70 64 61 74 65 2e 61 75 74 6f 22 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 61 | .update.auto".................na |
10a340 | 6d 65 3d 22 61 70 70 2e 75 70 64 61 74 65 2e 61 75 74 6f 22 20 20 20 20 20 20 20 20 20 20 20 20 | me="app.update.auto"............ |
10a360 | 20 20 20 20 20 74 79 70 65 3d 22 62 6f 6f 6c 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .....type="bool"................ |
10a380 | 20 20 20 6f 6e 63 68 61 6e 67 65 3d 22 67 41 64 76 61 6e 63 65 64 50 61 6e 65 2e 75 70 64 61 74 | ...onchange="gAdvancedPane.updat |
10a3a0 | 65 41 75 74 6f 49 74 65 6d 73 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | eAutoItems();................... |
10a3c0 | 20 20 20 20 20 20 20 20 20 20 67 41 64 76 61 6e 63 65 64 50 61 6e 65 2e 75 70 64 61 74 65 4d 6f | ..........gAdvancedPane.updateMo |
10a3e0 | 64 65 49 74 65 6d 73 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 | deItems();"/>.......<preference. |
10a400 | 69 64 3d 22 61 70 70 2e 75 70 64 61 74 65 2e 6d 6f 64 65 22 20 20 20 20 20 20 20 20 20 20 20 20 | id="app.update.mode"............ |
10a420 | 20 20 20 20 20 6e 61 6d 65 3d 22 61 70 70 2e 75 70 64 61 74 65 2e 6d 6f 64 65 22 20 20 20 20 20 | .....name="app.update.mode"..... |
10a440 | 20 20 20 20 20 20 20 20 20 20 20 20 74 79 70 65 3d 22 69 6e 74 22 0a 20 20 20 20 20 20 20 20 20 | ............type="int".......... |
10a460 | 20 20 20 20 20 20 20 20 20 6f 6e 63 68 61 6e 67 65 3d 22 67 41 64 76 61 6e 63 65 64 50 61 6e 65 | .........onchange="gAdvancedPane |
10a480 | 2e 75 70 64 61 74 65 4d 6f 64 65 49 74 65 6d 73 28 29 3b 22 2f 3e 0a 0a 20 20 20 20 20 20 3c 70 | .updateModeItems();"/>........<p |
10a4a0 | 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 61 70 70 2e 75 70 64 61 74 65 2e 64 69 73 61 62 6c 65 | reference.id="app.update.disable |
10a4c0 | 5f 62 75 74 74 6f 6e 2e 73 68 6f 77 55 70 64 61 74 65 48 69 73 74 6f 72 79 22 0a 20 20 20 20 20 | _button.showUpdateHistory"...... |
10a4e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 61 6d 65 3d 22 61 70 70 2e 75 70 64 61 74 65 2e 64 69 | .............name="app.update.di |
10a500 | 73 61 62 6c 65 5f 62 75 74 74 6f 6e 2e 73 68 6f 77 55 70 64 61 74 65 48 69 73 74 6f 72 79 22 0a | sable_button.showUpdateHistory". |
10a520 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 79 70 65 3d 22 62 6f 6f 6c 22 2f 3e 0a | ..................type="bool"/>. |
10a540 | 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 65 78 74 65 6e 73 69 6f 6e | .......<preference.id="extension |
10a560 | 73 2e 75 70 64 61 74 65 2e 65 6e 61 62 6c 65 64 22 20 20 20 20 20 20 20 6e 61 6d 65 3d 22 65 78 | s.update.enabled".......name="ex |
10a580 | 74 65 6e 73 69 6f 6e 73 2e 75 70 64 61 74 65 2e 65 6e 61 62 6c 65 64 22 20 20 20 20 20 20 20 74 | tensions.update.enabled".......t |
10a5a0 | 79 70 65 3d 22 62 6f 6f 6c 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 | ype="bool"...................onc |
10a5c0 | 68 61 6e 67 65 3d 22 67 41 64 76 61 6e 63 65 64 50 61 6e 65 2e 75 70 64 61 74 65 41 64 64 6f 6e | hange="gAdvancedPane.updateAddon |
10a5e0 | 55 70 64 61 74 65 55 49 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 | UpdateUI();"/>.......<preference |
10a600 | 20 69 64 3d 22 62 72 6f 77 73 65 72 2e 73 65 61 72 63 68 2e 75 70 64 61 74 65 22 20 20 20 20 20 | .id="browser.search.update"..... |
10a620 | 20 20 20 20 20 20 6e 61 6d 65 3d 22 62 72 6f 77 73 65 72 2e 73 65 61 72 63 68 2e 75 70 64 61 74 | ......name="browser.search.updat |
10a640 | 65 22 20 20 20 20 20 20 20 20 20 20 20 74 79 70 65 3d 22 62 6f 6f 6c 22 2f 3e 0a 0a 20 20 20 20 | e"...........type="bool"/>...... |
10a660 | 20 20 3c 21 2d 2d 20 45 6e 63 72 79 70 74 69 6f 6e 20 74 61 62 20 2d 2d 3e 0a 20 20 20 20 20 20 | ..<!--.Encryption.tab.-->....... |
10a680 | 3c 70 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 73 65 63 75 72 69 74 79 2e 65 6e 61 62 6c 65 5f | <preference.id="security.enable_ |
10a6a0 | 73 73 6c 33 22 20 20 20 20 20 20 20 20 20 20 20 20 6e 61 6d 65 3d 22 73 65 63 75 72 69 74 79 2e | ssl3"............name="security. |
10a6c0 | 65 6e 61 62 6c 65 5f 73 73 6c 33 22 20 20 20 20 20 20 20 20 20 20 20 20 74 79 70 65 3d 22 62 6f | enable_ssl3"............type="bo |
10a6e0 | 6f 6c 22 2f 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 73 65 63 75 | ol"/>.......<preference.id="secu |
10a700 | 72 69 74 79 2e 65 6e 61 62 6c 65 5f 74 6c 73 22 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 61 6d | rity.enable_tls".............nam |
10a720 | 65 3d 22 73 65 63 75 72 69 74 79 2e 65 6e 61 62 6c 65 5f 74 6c 73 22 20 20 20 20 20 20 20 20 20 | e="security.enable_tls"......... |
10a740 | 20 20 20 20 74 79 70 65 3d 22 62 6f 6f 6c 22 2f 3e 0a 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 | ....type="bool"/>........<prefer |
10a760 | 65 6e 63 65 20 69 64 3d 22 73 65 63 75 72 69 74 79 2e 64 65 66 61 75 6c 74 5f 70 65 72 73 6f 6e | ence.id="security.default_person |
10a780 | 61 6c 5f 63 65 72 74 22 20 20 6e 61 6d 65 3d 22 73 65 63 75 72 69 74 79 2e 64 65 66 61 75 6c 74 | al_cert"..name="security.default |
10a7a0 | 5f 70 65 72 73 6f 6e 61 6c 5f 63 65 72 74 22 20 20 74 79 70 65 3d 22 73 74 72 69 6e 67 22 2f 3e | _personal_cert"..type="string"/> |
10a7c0 | 0a 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 73 65 63 75 72 69 74 79 | ........<preference.id="security |
10a7e0 | 2e 64 69 73 61 62 6c 65 5f 62 75 74 74 6f 6e 2e 6f 70 65 6e 43 65 72 74 4d 61 6e 61 67 65 72 22 | .disable_button.openCertManager" |
10a800 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 61 6d 65 3d 22 73 65 63 75 72 69 74 | ...................name="securit |
10a820 | 79 2e 64 69 73 61 62 6c 65 5f 62 75 74 74 6f 6e 2e 6f 70 65 6e 43 65 72 74 4d 61 6e 61 67 65 72 | y.disable_button.openCertManager |
10a840 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 79 70 65 3d 22 62 6f 6f 6c 22 2f | "...................type="bool"/ |
10a860 | 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 73 65 63 75 72 69 74 79 | >.......<preference.id="security |
10a880 | 2e 4f 43 53 50 2e 64 69 73 61 62 6c 65 5f 62 75 74 74 6f 6e 2e 6d 61 6e 61 67 65 63 72 6c 22 0a | .OCSP.disable_button.managecrl". |
10a8a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 61 6d 65 3d 22 73 65 63 75 72 69 74 79 | ..................name="security |
10a8c0 | 2e 4f 43 53 50 2e 64 69 73 61 62 6c 65 5f 62 75 74 74 6f 6e 2e 6d 61 6e 61 67 65 63 72 6c 22 0a | .OCSP.disable_button.managecrl". |
10a8e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 79 70 65 3d 22 62 6f 6f 6c 22 2f 3e 0a | ..................type="bool"/>. |
10a900 | 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 73 65 63 75 72 69 74 79 2e 64 | ......<preference.id="security.d |
10a920 | 69 73 61 62 6c 65 5f 62 75 74 74 6f 6e 2e 6f 70 65 6e 44 65 76 69 63 65 4d 61 6e 61 67 65 72 22 | isable_button.openDeviceManager" |
10a940 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 61 6d 65 3d 22 73 65 63 75 72 69 74 | ...................name="securit |
10a960 | 79 2e 64 69 73 61 62 6c 65 5f 62 75 74 74 6f 6e 2e 6f 70 65 6e 44 65 76 69 63 65 4d 61 6e 61 67 | y.disable_button.openDeviceManag |
10a980 | 65 72 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 79 70 65 3d 22 62 6f 6f 6c | er"...................type="bool |
10a9a0 | 22 2f 3e 0a 20 20 20 20 3c 2f 70 72 65 66 65 72 65 6e 63 65 73 3e 0a 20 20 20 20 0a 20 20 20 20 | "/>.....</preferences>.......... |
10a9c0 | 3c 73 74 72 69 6e 67 62 75 6e 64 6c 65 20 69 64 3d 22 62 75 6e 64 6c 65 53 68 65 6c 6c 22 20 73 | <stringbundle.id="bundleShell".s |
10a9e0 | 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 6c 6f 63 61 6c 65 2f 73 68 65 6c | rc="chrome://browser/locale/shel |
10aa00 | 6c 73 65 72 76 69 63 65 2e 70 72 6f 70 65 72 74 69 65 73 22 2f 3e 0a 20 20 20 20 3c 73 74 72 69 | lservice.properties"/>.....<stri |
10aa20 | 6e 67 62 75 6e 64 6c 65 20 69 64 3d 22 62 75 6e 64 6c 65 42 72 61 6e 64 22 20 73 72 63 3d 22 63 | ngbundle.id="bundleBrand".src="c |
10aa40 | 68 72 6f 6d 65 3a 2f 2f 62 72 61 6e 64 69 6e 67 2f 6c 6f 63 61 6c 65 2f 62 72 61 6e 64 2e 70 72 | hrome://branding/locale/brand.pr |
10aa60 | 6f 70 65 72 74 69 65 73 22 2f 3e 0a 0a 20 20 20 20 3c 73 63 72 69 70 74 20 74 79 70 65 3d 22 61 | operties"/>......<script.type="a |
10aa80 | 70 70 6c 69 63 61 74 69 6f 6e 2f 78 2d 6a 61 76 61 73 63 72 69 70 74 22 20 73 72 63 3d 22 63 68 | pplication/x-javascript".src="ch |
10aaa0 | 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 70 72 65 66 65 72 65 6e 63 | rome://browser/content/preferenc |
10aac0 | 65 73 2f 61 64 76 61 6e 63 65 64 2e 6a 73 22 2f 3e 0a 0a 20 20 20 20 3c 74 61 62 62 6f 78 20 69 | es/advanced.js"/>......<tabbox.i |
10aae0 | 64 3d 22 61 64 76 61 6e 63 65 64 50 72 65 66 73 22 20 66 6c 65 78 3d 22 31 22 0a 20 20 20 20 20 | d="advancedPrefs".flex="1"...... |
10ab00 | 20 20 20 20 20 20 20 6f 6e 73 65 6c 65 63 74 3d 22 67 41 64 76 61 6e 63 65 64 50 61 6e 65 2e 74 | .......onselect="gAdvancedPane.t |
10ab20 | 61 62 53 65 6c 65 63 74 69 6f 6e 43 68 61 6e 67 65 64 28 29 3b 22 3e 0a 0a 20 20 20 20 20 20 3c | abSelectionChanged();">........< |
10ab40 | 74 61 62 73 20 69 64 3d 22 74 61 62 73 45 6c 65 6d 65 6e 74 22 3e 0a 20 20 20 20 20 20 20 20 3c | tabs.id="tabsElement">.........< |
10ab60 | 74 61 62 20 69 64 3d 22 67 65 6e 65 72 61 6c 54 61 62 22 20 6c 61 62 65 6c 3d 22 26 67 65 6e 65 | tab.id="generalTab".label="&gene |
10ab80 | 72 61 6c 54 61 62 2e 6c 61 62 65 6c 3b 22 20 68 65 6c 70 54 6f 70 69 63 3d 22 70 72 65 66 73 2d | ralTab.label;".helpTopic="prefs- |
10aba0 | 61 64 76 61 6e 63 65 64 2d 67 65 6e 65 72 61 6c 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 74 61 62 | advanced-general"/>.........<tab |
10abc0 | 20 69 64 3d 22 6e 65 74 77 6f 72 6b 54 61 62 22 20 6c 61 62 65 6c 3d 22 26 6e 65 74 77 6f 72 6b | .id="networkTab".label="&network |
10abe0 | 54 61 62 2e 6c 61 62 65 6c 3b 22 20 68 65 6c 70 54 6f 70 69 63 3d 22 70 72 65 66 73 2d 61 64 76 | Tab.label;".helpTopic="prefs-adv |
10ac00 | 61 6e 63 65 64 2d 6e 65 74 77 6f 72 6b 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 74 61 62 20 69 64 | anced-network"/>.........<tab.id |
10ac20 | 3d 22 75 70 64 61 74 65 54 61 62 22 20 6c 61 62 65 6c 3d 22 26 75 70 64 61 74 65 54 61 62 2e 6c | ="updateTab".label="&updateTab.l |
10ac40 | 61 62 65 6c 3b 22 20 20 68 65 6c 70 54 6f 70 69 63 3d 22 70 72 65 66 73 2d 61 64 76 61 6e 63 65 | abel;"..helpTopic="prefs-advance |
10ac60 | 64 2d 75 70 64 61 74 65 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 74 61 62 20 69 64 3d 22 65 6e 63 | d-update"/>.........<tab.id="enc |
10ac80 | 72 79 70 74 69 6f 6e 54 61 62 22 20 6c 61 62 65 6c 3d 22 26 65 6e 63 72 79 70 74 69 6f 6e 54 61 | ryptionTab".label="&encryptionTa |
10aca0 | 62 2e 6c 61 62 65 6c 3b 22 20 68 65 6c 70 54 6f 70 69 63 3d 22 70 72 65 66 73 2d 61 64 76 61 6e | b.label;".helpTopic="prefs-advan |
10acc0 | 63 65 64 2d 65 6e 63 72 79 70 74 69 6f 6e 22 2f 3e 0a 20 20 20 20 20 20 3c 2f 74 61 62 73 3e 0a | ced-encryption"/>.......</tabs>. |
10ace0 | 0a 20 20 20 20 20 20 3c 74 61 62 70 61 6e 65 6c 73 20 66 6c 65 78 3d 22 31 22 3e 0a 0a 20 20 20 | .......<tabpanels.flex="1">..... |
10ad00 | 20 20 20 20 20 3c 21 2d 2d 20 47 65 6e 65 72 61 6c 20 2d 2d 3e 0a 20 20 20 20 20 20 20 20 3c 74 | .....<!--.General.-->.........<t |
10ad20 | 61 62 70 61 6e 65 6c 20 69 64 3d 22 67 65 6e 65 72 61 6c 50 61 6e 65 6c 22 20 6f 72 69 65 6e 74 | abpanel.id="generalPanel".orient |
10ad40 | 3d 22 76 65 72 74 69 63 61 6c 22 3e 0a 0a 20 20 20 20 20 20 20 20 20 20 3c 21 2d 2d 20 41 63 63 | ="vertical">............<!--.Acc |
10ad60 | 65 73 73 69 62 69 6c 69 74 79 20 2d 2d 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 67 72 6f 75 70 62 | essibility.-->...........<groupb |
10ad80 | 6f 78 20 69 64 3d 22 61 63 63 65 73 73 69 62 69 6c 69 74 79 47 72 6f 75 70 22 20 61 6c 69 67 6e | ox.id="accessibilityGroup".align |
10ada0 | 3d 22 73 74 61 72 74 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 63 61 70 74 69 6f 6e 20 6c | ="start">.............<caption.l |
10adc0 | 61 62 65 6c 3d 22 26 61 63 63 65 73 73 69 62 69 6c 69 74 79 2e 6c 61 62 65 6c 3b 22 2f 3e 0a 0a | abel="&accessibility.label;"/>.. |
10ade0 | 20 20 20 20 20 20 20 20 20 20 20 20 3c 63 68 65 63 6b 62 6f 78 20 69 64 3d 22 75 73 65 43 75 72 | ............<checkbox.id="useCur |
10ae00 | 73 6f 72 4e 61 76 69 67 61 74 69 6f 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | sorNavigation".................. |
10ae20 | 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 75 73 65 43 75 72 73 6f 72 4e 61 76 69 67 61 74 69 6f 6e | .....label="&useCursorNavigation |
10ae40 | 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 | .label;".......................a |
10ae60 | 63 63 65 73 73 6b 65 79 3d 22 26 75 73 65 43 75 72 73 6f 72 4e 61 76 69 67 61 74 69 6f 6e 2e 61 | ccesskey="&useCursorNavigation.a |
10ae80 | 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ccesskey;"...................... |
10aea0 | 20 70 72 65 66 65 72 65 6e 63 65 3d 22 61 63 63 65 73 73 69 62 69 6c 69 74 79 2e 62 72 6f 77 73 | .preference="accessibility.brows |
10aec0 | 65 77 69 74 68 63 61 72 65 74 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 63 68 65 63 6b | ewithcaret"/>.............<check |
10aee0 | 62 6f 78 20 69 64 3d 22 73 65 61 72 63 68 53 74 61 72 74 54 79 70 69 6e 67 22 0a 20 20 20 20 20 | box.id="searchStartTyping"...... |
10af00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 73 65 61 72 63 68 53 | .................label="&searchS |
10af20 | 74 61 72 74 54 79 70 69 6e 67 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | tartTyping.label;".............. |
10af40 | 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 73 65 61 72 63 68 53 74 61 72 74 | .........accesskey="&searchStart |
10af60 | 54 79 70 69 6e 67 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | Typing.accesskey;".............. |
10af80 | 20 20 20 20 20 20 20 20 20 70 72 65 66 65 72 65 6e 63 65 3d 22 61 63 63 65 73 73 69 62 69 6c 69 | .........preference="accessibili |
10afa0 | 74 79 2e 74 79 70 65 61 68 65 61 64 66 69 6e 64 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ty.typeaheadfind"/>............. |
10afc0 | 3c 63 68 65 63 6b 62 6f 78 20 69 64 3d 22 62 6c 6f 63 6b 41 75 74 6f 52 65 66 72 65 73 68 22 0a | <checkbox.id="blockAutoRefresh". |
10afe0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 62 6c | ......................label="&bl |
10b000 | 6f 63 6b 41 75 74 6f 52 65 66 72 65 73 68 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 | ockAutoRefresh.label;".......... |
10b020 | 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 62 6c 6f 63 6b 41 75 | .............accesskey="&blockAu |
10b040 | 74 6f 52 65 66 72 65 73 68 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 | toRefresh.accesskey;"........... |
10b060 | 20 20 20 20 20 20 20 20 20 20 20 20 70 72 65 66 65 72 65 6e 63 65 3d 22 61 63 63 65 73 73 69 62 | ............preference="accessib |
10b080 | 69 6c 69 74 79 2e 62 6c 6f 63 6b 61 75 74 6f 72 65 66 72 65 73 68 22 2f 3e 0a 20 20 20 20 20 20 | ility.blockautorefresh"/>....... |
10b0a0 | 20 20 20 20 3c 2f 67 72 6f 75 70 62 6f 78 3e 0a 0a 20 20 20 20 20 20 20 20 20 20 3c 21 2d 2d 20 | ....</groupbox>............<!--. |
10b0c0 | 42 72 6f 77 73 69 6e 67 20 2d 2d 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 67 72 6f 75 70 62 6f 78 | Browsing.-->...........<groupbox |
10b0e0 | 20 69 64 3d 22 62 72 6f 77 73 69 6e 67 47 72 6f 75 70 22 20 61 6c 69 67 6e 3d 22 73 74 61 72 74 | .id="browsingGroup".align="start |
10b100 | 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 63 61 70 74 69 6f 6e 20 6c 61 62 65 6c 3d 22 26 | ">.............<caption.label="& |
10b120 | 62 72 6f 77 73 69 6e 67 2e 6c 61 62 65 6c 3b 22 2f 3e 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 | browsing.label;"/>.............. |
10b140 | 3c 63 68 65 63 6b 62 6f 78 20 69 64 3d 22 75 73 65 41 75 74 6f 53 63 72 6f 6c 6c 22 0a 20 20 20 | <checkbox.id="useAutoScroll".... |
10b160 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 75 73 65 41 75 | ...................label="&useAu |
10b180 | 74 6f 53 63 72 6f 6c 6c 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | toScroll.label;"................ |
10b1a0 | 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 75 73 65 41 75 74 6f 53 63 72 6f 6c 6c | .......accesskey="&useAutoScroll |
10b1c0 | 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .accesskey;".................... |
10b1e0 | 20 20 20 70 72 65 66 65 72 65 6e 63 65 3d 22 67 65 6e 65 72 61 6c 2e 61 75 74 6f 53 63 72 6f 6c | ...preference="general.autoScrol |
10b200 | 6c 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 63 68 65 63 6b 62 6f 78 20 69 64 3d 22 75 | l"/>.............<checkbox.id="u |
10b220 | 73 65 53 6d 6f 6f 74 68 53 63 72 6f 6c 6c 69 6e 67 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | seSmoothScrolling".............. |
10b240 | 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 75 73 65 53 6d 6f 6f 74 68 53 63 72 6f 6c 6c | .........label="&useSmoothScroll |
10b260 | 69 6e 67 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ing.label;"..................... |
10b280 | 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 75 73 65 53 6d 6f 6f 74 68 53 63 72 6f 6c 6c 69 6e 67 | ..accesskey="&useSmoothScrolling |
10b2a0 | 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .accesskey;".................... |
10b2c0 | 20 20 20 70 72 65 66 65 72 65 6e 63 65 3d 22 67 65 6e 65 72 61 6c 2e 73 6d 6f 6f 74 68 53 63 72 | ...preference="general.smoothScr |
10b2e0 | 6f 6c 6c 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 63 68 65 63 6b 62 6f 78 20 69 64 3d | oll"/>.............<checkbox.id= |
10b300 | 22 63 68 65 63 6b 53 70 65 6c 6c 69 6e 67 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | "checkSpelling"................. |
10b320 | 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 63 68 65 63 6b 53 70 65 6c 6c 69 6e 67 2e 6c 61 62 65 | ......label="&checkSpelling.labe |
10b340 | 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 | l;".......................access |
10b360 | 6b 65 79 3d 22 26 63 68 65 63 6b 53 70 65 6c 6c 69 6e 67 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a | key="&checkSpelling.accesskey;". |
10b380 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 73 79 6e 63 66 72 6f 6d | ......................onsyncfrom |
10b3a0 | 70 72 65 66 65 72 65 6e 63 65 3d 22 72 65 74 75 72 6e 20 67 41 64 76 61 6e 63 65 64 50 61 6e 65 | preference="return.gAdvancedPane |
10b3c0 | 2e 72 65 61 64 43 68 65 63 6b 53 70 65 6c 6c 69 6e 67 28 29 3b 22 0a 20 20 20 20 20 20 20 20 20 | .readCheckSpelling();".......... |
10b3e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 73 79 6e 63 74 6f 70 72 65 66 65 72 65 6e 63 65 3d | .............onsynctopreference= |
10b400 | 22 72 65 74 75 72 6e 20 67 41 64 76 61 6e 63 65 64 50 61 6e 65 2e 77 72 69 74 65 43 68 65 63 6b | "return.gAdvancedPane.writeCheck |
10b420 | 53 70 65 6c 6c 69 6e 67 28 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | Spelling();".................... |
10b440 | 20 20 20 70 72 65 66 65 72 65 6e 63 65 3d 22 6c 61 79 6f 75 74 2e 73 70 65 6c 6c 63 68 65 63 6b | ...preference="layout.spellcheck |
10b460 | 44 65 66 61 75 6c 74 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 2f 67 72 6f 75 70 62 6f 78 3e | Default"/>...........</groupbox> |
10b480 | 0a 0a 20 20 20 20 20 20 20 20 20 20 3c 21 2d 2d 20 53 79 73 74 65 6d 20 44 65 66 61 75 6c 74 73 | ............<!--.System.Defaults |
10b4a0 | 20 2d 2d 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 67 72 6f 75 70 62 6f 78 20 69 64 3d 22 73 79 73 | .-->...........<groupbox.id="sys |
10b4c0 | 74 65 6d 44 65 66 61 75 6c 74 73 47 72 6f 75 70 22 20 6f 72 69 65 6e 74 3d 22 68 6f 72 69 7a 6f | temDefaultsGroup".orient="horizo |
10b4e0 | 6e 74 61 6c 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 63 61 70 74 69 6f 6e 20 6c 61 62 65 | ntal">.............<caption.labe |
10b500 | 6c 3d 22 26 73 79 73 74 65 6d 44 65 66 61 75 6c 74 73 2e 6c 61 62 65 6c 3b 22 2f 3e 0a 0a 20 20 | l="&systemDefaults.label;"/>.... |
10b520 | 20 20 20 20 20 20 20 20 20 20 3c 68 62 6f 78 20 69 64 3d 22 63 68 65 63 6b 44 65 66 61 75 6c 74 | ..........<hbox.id="checkDefault |
10b540 | 42 6f 78 22 20 61 6c 69 67 6e 3d 22 63 65 6e 74 65 72 22 20 66 6c 65 78 3d 22 31 22 3e 20 20 20 | Box".align="center".flex="1">... |
10b560 | 20 20 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 63 68 65 63 6b 62 6f 78 20 69 64 3d 22 | ..................<checkbox.id=" |
10b580 | 61 6c 77 61 79 73 43 68 65 63 6b 44 65 66 61 75 6c 74 22 20 70 72 65 66 65 72 65 6e 63 65 3d 22 | alwaysCheckDefault".preference=" |
10b5a0 | 62 72 6f 77 73 65 72 2e 73 68 65 6c 6c 2e 63 68 65 63 6b 44 65 66 61 75 6c 74 42 72 6f 77 73 65 | browser.shell.checkDefaultBrowse |
10b5c0 | 72 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c | r".........................label |
10b5e0 | 3d 22 26 61 6c 77 61 79 73 43 68 65 63 6b 44 65 66 61 75 6c 74 2e 6c 61 62 65 6c 3b 22 20 61 63 | ="&alwaysCheckDefault.label;".ac |
10b600 | 63 65 73 73 6b 65 79 3d 22 26 61 6c 77 61 79 73 43 68 65 63 6b 44 65 66 61 75 6c 74 2e 61 63 63 | cesskey="&alwaysCheckDefault.acc |
10b620 | 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | esskey;"........................ |
10b640 | 20 66 6c 65 78 3d 22 31 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 62 75 74 74 6f | .flex="1"/>...............<butto |
10b660 | 6e 20 69 64 3d 22 63 68 65 63 6b 44 65 66 61 75 6c 74 42 75 74 74 6f 6e 22 0a 20 20 20 20 20 20 | n.id="checkDefaultButton"....... |
10b680 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 63 68 65 63 6b 4e 6f 77 | ................label="&checkNow |
10b6a0 | 2e 6c 61 62 65 6c 3b 22 20 61 63 63 65 73 73 6b 65 79 3d 22 26 63 68 65 63 6b 4e 6f 77 2e 61 63 | .label;".accesskey="&checkNow.ac |
10b6c0 | 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | cesskey;"....................... |
10b6e0 | 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 41 64 76 61 6e 63 65 64 50 61 6e 65 2e 63 68 65 63 6b 4e 6f | oncommand="gAdvancedPane.checkNo |
10b700 | 77 28 29 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 65 66 65 | w()".......................prefe |
10b720 | 72 65 6e 63 65 3d 22 70 72 65 66 2e 67 65 6e 65 72 61 6c 2e 64 69 73 61 62 6c 65 5f 62 75 74 74 | rence="pref.general.disable_butt |
10b740 | 6f 6e 2e 64 65 66 61 75 6c 74 5f 62 72 6f 77 73 65 72 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 | on.default_browser"/>........... |
10b760 | 20 20 3c 2f 68 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 2f 67 72 6f 75 70 62 6f 78 3e 0a | ..</hbox>...........</groupbox>. |
10b780 | 20 20 20 20 20 20 20 20 3c 2f 74 61 62 70 61 6e 65 6c 3e 0a 0a 20 20 20 20 20 20 20 20 3c 21 2d | ........</tabpanel>..........<!- |
10b7a0 | 2d 20 4e 65 74 77 6f 72 6b 20 2d 2d 3e 0a 20 20 20 20 20 20 20 20 3c 74 61 62 70 61 6e 65 6c 20 | -.Network.-->.........<tabpanel. |
10b7c0 | 69 64 3d 22 6e 65 74 77 6f 72 6b 50 61 6e 65 6c 22 20 6f 72 69 65 6e 74 3d 22 76 65 72 74 69 63 | id="networkPanel".orient="vertic |
10b7e0 | 61 6c 22 3e 0a 0a 20 20 20 20 20 20 20 20 20 20 20 3c 21 2d 2d 20 43 6f 6e 6e 65 63 74 69 6f 6e | al">.............<!--.Connection |
10b800 | 20 2d 2d 3e 0a 20 20 20 20 20 20 20 20 20 20 20 3c 67 72 6f 75 70 62 6f 78 20 69 64 3d 22 63 6f | .-->............<groupbox.id="co |
10b820 | 6e 6e 65 63 74 69 6f 6e 47 72 6f 75 70 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 63 61 | nnectionGroup">..............<ca |
10b840 | 70 74 69 6f 6e 20 6c 61 62 65 6c 3d 22 26 63 6f 6e 6e 65 63 74 69 6f 6e 2e 6c 61 62 65 6c 3b 22 | ption.label="&connection.label;" |
10b860 | 2f 3e 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 68 62 6f 78 20 61 6c 69 67 6e 3d 22 63 65 | />...............<hbox.align="ce |
10b880 | 6e 74 65 72 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 64 65 73 63 72 69 70 74 69 | nter">................<descripti |
10b8a0 | 6f 6e 20 66 6c 65 78 3d 22 31 22 20 63 6f 6e 74 72 6f 6c 3d 22 63 6f 6e 6e 65 63 74 69 6f 6e 53 | on.flex="1".control="connectionS |
10b8c0 | 65 74 74 69 6e 67 73 22 3e 26 63 6f 6e 6e 65 63 74 69 6f 6e 44 65 73 63 2e 6c 61 62 65 6c 3b 3c | ettings">&connectionDesc.label;< |
10b8e0 | 2f 64 65 73 63 72 69 70 74 69 6f 6e 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 62 75 | /description>................<bu |
10b900 | 74 74 6f 6e 20 69 64 3d 22 63 6f 6e 6e 65 63 74 69 6f 6e 53 65 74 74 69 6e 67 73 22 20 69 63 6f | tton.id="connectionSettings".ico |
10b920 | 6e 3d 22 6e 65 74 77 6f 72 6b 22 20 6c 61 62 65 6c 3d 22 26 63 6f 6e 6e 65 63 74 69 6f 6e 53 65 | n="network".label="&connectionSe |
10b940 | 74 74 69 6e 67 73 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ttings.label;".................. |
10b960 | 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 63 6f 6e 6e 65 63 74 69 6f 6e 53 65 74 74 | ......accesskey="&connectionSett |
10b980 | 69 6e 67 73 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ings.accesskey;"................ |
10b9a0 | 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 41 64 76 61 6e 63 65 64 50 61 6e 65 | ........oncommand="gAdvancedPane |
10b9c0 | 2e 73 68 6f 77 43 6f 6e 6e 65 63 74 69 6f 6e 73 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 | .showConnections();"/>.......... |
10b9e0 | 20 20 20 20 3c 2f 68 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 20 20 20 3c 2f 67 72 6f 75 70 62 6f | ....</hbox>............</groupbo |
10ba00 | 78 3e 0a 0a 20 20 20 20 20 20 20 20 20 20 20 3c 21 2d 2d 20 43 61 63 68 65 2f 4f 66 66 6c 69 6e | x>.............<!--.Cache/Offlin |
10ba20 | 65 20 61 70 70 73 20 2d 2d 3e 0a 20 20 20 20 20 20 20 20 20 20 20 3c 67 72 6f 75 70 62 6f 78 20 | e.apps.-->............<groupbox. |
10ba40 | 69 64 3d 22 6f 66 66 6c 69 6e 65 47 72 6f 75 70 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | id="offlineGroup">.............. |
10ba60 | 3c 63 61 70 74 69 6f 6e 20 6c 61 62 65 6c 3d 22 26 6f 66 66 6c 69 6e 65 53 74 6f 72 61 67 65 2e | <caption.label="&offlineStorage. |
10ba80 | 6c 61 62 65 6c 3b 22 2f 3e 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 68 62 6f 78 20 61 6c | label;"/>...............<hbox.al |
10baa0 | 69 67 6e 3d 22 63 65 6e 74 65 72 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 61 | ign="center">................<la |
10bac0 | 62 65 6c 20 69 64 3d 22 75 73 65 43 61 63 68 65 42 65 66 6f 72 65 22 20 63 6f 6e 74 72 6f 6c 3d | bel.id="useCacheBefore".control= |
10bae0 | 22 63 61 63 68 65 53 69 7a 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | "cacheSize"..................... |
10bb00 | 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 75 73 65 43 61 63 68 65 42 65 66 6f 72 65 2e 61 63 63 | ..accesskey="&useCacheBefore.acc |
10bb20 | 65 73 73 6b 65 79 3b 22 20 76 61 6c 75 65 3d 22 26 75 73 65 43 61 63 68 65 42 65 66 6f 72 65 2e | esskey;".value="&useCacheBefore. |
10bb40 | 6c 61 62 65 6c 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 74 65 78 74 62 6f | label;"/>................<textbo |
10bb60 | 78 20 69 64 3d 22 63 61 63 68 65 53 69 7a 65 22 20 74 79 70 65 3d 22 6e 75 6d 62 65 72 22 20 73 | x.id="cacheSize".type="number".s |
10bb80 | 69 7a 65 3d 22 32 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ize="2"......................... |
10bba0 | 70 72 65 66 65 72 65 6e 63 65 3d 22 62 72 6f 77 73 65 72 2e 63 61 63 68 65 2e 64 69 73 6b 2e 63 | preference="browser.cache.disk.c |
10bbc0 | 61 70 61 63 69 74 79 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | apacity"........................ |
10bbe0 | 20 6f 6e 73 79 6e 63 66 72 6f 6d 70 72 65 66 65 72 65 6e 63 65 3d 22 72 65 74 75 72 6e 20 67 41 | .onsyncfrompreference="return.gA |
10bc00 | 64 76 61 6e 63 65 64 50 61 6e 65 2e 72 65 61 64 43 61 63 68 65 53 69 7a 65 28 29 3b 22 0a 20 20 | dvancedPane.readCacheSize();"... |
10bc20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 73 79 6e 63 74 6f 70 72 | ......................onsynctopr |
10bc40 | 65 66 65 72 65 6e 63 65 3d 22 72 65 74 75 72 6e 20 67 41 64 76 61 6e 63 65 64 50 61 6e 65 2e 77 | eference="return.gAdvancedPane.w |
10bc60 | 72 69 74 65 43 61 63 68 65 53 69 7a 65 28 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | riteCacheSize();"............... |
10bc80 | 20 20 20 20 20 20 20 20 20 20 61 72 69 61 2d 6c 61 62 65 6c 6c 65 64 62 79 3d 22 75 73 65 43 61 | ..........aria-labelledby="useCa |
10bca0 | 63 68 65 42 65 66 6f 72 65 20 63 61 63 68 65 53 69 7a 65 20 75 73 65 43 61 63 68 65 41 66 74 65 | cheBefore.cacheSize.useCacheAfte |
10bcc0 | 72 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 61 62 65 6c 20 69 64 3d 22 75 | r"/>................<label.id="u |
10bce0 | 73 65 43 61 63 68 65 41 66 74 65 72 22 20 66 6c 65 78 3d 22 31 22 3e 26 75 73 65 43 61 63 68 65 | seCacheAfter".flex="1">&useCache |
10bd00 | 41 66 74 65 72 2e 6c 61 62 65 6c 3b 3c 2f 6c 61 62 65 6c 3e 0a 20 20 20 20 20 20 20 20 20 20 20 | After.label;</label>............ |
10bd20 | 20 20 20 20 3c 62 75 74 74 6f 6e 20 69 64 3d 22 63 6c 65 61 72 43 61 63 68 65 42 75 74 74 6f 6e | ....<button.id="clearCacheButton |
10bd40 | 22 20 69 63 6f 6e 3d 22 63 6c 65 61 72 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ".icon="clear".................. |
10bd60 | 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 63 6c 65 61 72 43 61 63 68 65 4e 6f 77 2e 6c 61 62 65 | ......label="&clearCacheNow.labe |
10bd80 | 6c 3b 22 20 61 63 63 65 73 73 6b 65 79 3d 22 26 63 6c 65 61 72 43 61 63 68 65 4e 6f 77 2e 61 63 | l;".accesskey="&clearCacheNow.ac |
10bda0 | 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | cesskey;"....................... |
10bdc0 | 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 41 64 76 61 6e 63 65 64 50 61 6e 65 2e 63 6c 65 61 72 43 | .oncommand="gAdvancedPane.clearC |
10bde0 | 61 63 68 65 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 68 62 6f 78 3e 0a | ache();"/>..............</hbox>. |
10be00 | 09 20 20 20 20 20 3c 68 62 6f 78 20 61 6c 69 67 6e 3d 22 63 65 6e 74 65 72 22 3e 0a 09 20 20 20 | ......<hbox.align="center">..... |
10be20 | 20 20 20 20 3c 63 68 65 63 6b 62 6f 78 20 69 64 3d 22 6f 66 66 6c 69 6e 65 4e 6f 74 69 66 79 22 | ....<checkbox.id="offlineNotify" |
10be40 | 20 66 6c 65 78 3d 22 31 22 0a 09 09 09 20 6c 61 62 65 6c 3d 22 26 6f 66 66 6c 69 6e 65 4e 6f 74 | .flex="1".....label="&offlineNot |
10be60 | 69 66 79 2e 6c 61 62 65 6c 3b 22 20 61 63 63 65 73 73 6b 65 79 3d 22 26 6f 66 66 6c 69 6e 65 4e | ify.label;".accesskey="&offlineN |
10be80 | 6f 74 69 66 79 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 09 09 09 20 70 72 65 66 65 72 65 6e 63 65 | otify.accesskey;".....preference |
10bea0 | 3d 22 62 72 6f 77 73 65 72 2e 6f 66 66 6c 69 6e 65 2d 61 70 70 73 2e 6e 6f 74 69 66 79 22 0a 09 | ="browser.offline-apps.notify".. |
10bec0 | 09 09 20 6f 6e 73 79 6e 63 66 72 6f 6d 70 72 65 66 65 72 65 6e 63 65 3d 22 72 65 74 75 72 6e 20 | ...onsyncfrompreference="return. |
10bee0 | 67 41 64 76 61 6e 63 65 64 50 61 6e 65 2e 72 65 61 64 4f 66 66 6c 69 6e 65 4e 6f 74 69 66 79 28 | gAdvancedPane.readOfflineNotify( |
10bf00 | 29 3b 22 2f 3e 0a 09 20 20 20 20 20 20 20 3c 62 75 74 74 6f 6e 20 69 64 3d 22 6f 66 66 6c 69 6e | );"/>.........<button.id="offlin |
10bf20 | 65 4e 6f 74 69 66 79 45 78 63 65 70 74 69 6f 6e 73 22 0a 09 09 20 20 20 20 20 20 20 6c 61 62 65 | eNotifyExceptions"..........labe |
10bf40 | 6c 3d 22 26 6f 66 66 6c 69 6e 65 4e 6f 74 69 66 79 45 78 63 65 70 74 69 6f 6e 73 2e 6c 61 62 65 | l="&offlineNotifyExceptions.labe |
10bf60 | 6c 3b 22 0a 09 09 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 6f 66 66 6c 69 6e 65 | l;"..........accesskey="&offline |
10bf80 | 4e 6f 74 69 66 79 45 78 63 65 70 74 69 6f 6e 73 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 09 09 20 | NotifyExceptions.accesskey;".... |
10bfa0 | 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 41 64 76 61 6e 63 65 64 50 61 6e 65 2e 73 | ......oncommand="gAdvancedPane.s |
10bfc0 | 68 6f 77 4f 66 66 6c 69 6e 65 45 78 63 65 70 74 69 6f 6e 73 28 29 3b 22 2f 3e 0a 09 20 20 20 20 | howOfflineExceptions();"/>...... |
10bfe0 | 20 3c 2f 68 62 6f 78 3e 0a 09 20 20 20 20 20 3c 68 62 6f 78 3e 0a 09 20 20 20 20 20 20 20 3c 76 | .</hbox>.......<hbox>.........<v |
10c000 | 62 6f 78 20 66 6c 65 78 3d 22 31 22 3e 0a 0a 09 09 20 3c 6c 61 62 65 6c 20 69 64 3d 22 6f 66 66 | box.flex="1">.....<label.id="off |
10c020 | 6c 69 6e 65 41 70 70 73 4c 69 73 74 4c 61 62 65 6c 22 3e 26 6f 66 66 6c 69 6e 65 41 70 70 73 4c | lineAppsListLabel">&offlineAppsL |
10c040 | 69 73 74 2e 6c 61 62 65 6c 3b 3c 2f 6c 61 62 65 6c 3e 0a 09 09 20 3c 6c 69 73 74 62 6f 78 20 69 | ist.label;</label>....<listbox.i |
10c060 | 64 3d 22 6f 66 66 6c 69 6e 65 41 70 70 73 4c 69 73 74 22 0a 09 09 09 20 20 73 74 79 6c 65 3d 22 | d="offlineAppsList"......style=" |
10c080 | 68 65 69 67 68 74 3a 20 26 6f 66 66 6c 69 6e 65 41 70 70 73 4c 69 73 74 2e 68 65 69 67 68 74 3b | height:.&offlineAppsList.height; |
10c0a0 | 3b 22 0a 09 09 09 20 20 66 6c 65 78 3d 22 31 22 0a 09 09 09 20 20 61 72 69 61 2d 6c 61 62 65 6c | ;"......flex="1"......aria-label |
10c0c0 | 6c 65 64 62 79 3d 22 6f 66 66 6c 69 6e 65 41 70 70 73 4c 69 73 74 4c 61 62 65 6c 22 0a 09 09 09 | ledby="offlineAppsListLabel".... |
10c0e0 | 20 20 6f 6e 73 65 6c 65 63 74 3d 22 67 41 64 76 61 6e 63 65 64 50 61 6e 65 2e 6f 66 66 6c 69 6e | ..onselect="gAdvancedPane.offlin |
10c100 | 65 41 70 70 53 65 6c 65 63 74 65 64 28 65 76 65 6e 74 29 3b 22 3e 0a 09 09 20 3c 2f 6c 69 73 74 | eAppSelected(event);">....</list |
10c120 | 62 6f 78 3e 0a 09 20 20 20 20 20 20 20 3c 2f 76 62 6f 78 3e 0a 09 20 20 20 20 20 20 20 3c 76 62 | box>.........</vbox>.........<vb |
10c140 | 6f 78 20 70 61 63 6b 3d 22 65 6e 64 22 3e 0a 09 09 20 3c 62 75 74 74 6f 6e 20 69 64 3d 22 6f 66 | ox.pack="end">....<button.id="of |
10c160 | 66 6c 69 6e 65 41 70 70 73 4c 69 73 74 52 65 6d 6f 76 65 22 0a 09 09 09 20 64 69 73 61 62 6c 65 | flineAppsListRemove".....disable |
10c180 | 64 3d 22 74 72 75 65 22 0a 09 09 09 20 6c 61 62 65 6c 3d 22 26 6f 66 66 6c 69 6e 65 41 70 70 73 | d="true".....label="&offlineApps |
10c1a0 | 4c 69 73 74 52 65 6d 6f 76 65 2e 6c 61 62 65 6c 3b 22 0a 09 09 09 20 61 63 63 65 73 73 6b 65 79 | ListRemove.label;".....accesskey |
10c1c0 | 3d 22 26 6f 66 66 6c 69 6e 65 41 70 70 73 4c 69 73 74 52 65 6d 6f 76 65 2e 61 63 63 65 73 73 6b | ="&offlineAppsListRemove.accessk |
10c1e0 | 65 79 3b 22 20 0a 09 09 09 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 41 64 76 61 6e 63 65 64 50 61 | ey;"......oncommand="gAdvancedPa |
10c200 | 6e 65 2e 72 65 6d 6f 76 65 4f 66 66 6c 69 6e 65 41 70 70 28 29 3b 22 2f 3e 0a 09 20 20 20 20 20 | ne.removeOfflineApp();"/>....... |
10c220 | 20 20 3c 2f 76 62 6f 78 3e 0a 09 20 20 20 20 20 3c 2f 68 62 6f 78 3e 0a 09 20 20 20 3c 2f 67 72 | ..</vbox>.......</hbox>.....</gr |
10c240 | 6f 75 70 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 3c 2f 74 61 62 70 61 6e 65 6c 3e 0a 0a 20 20 20 | oupbox>.........</tabpanel>..... |
10c260 | 20 20 20 20 20 3c 21 2d 2d 20 55 70 64 61 74 65 20 2d 2d 3e 0a 20 20 20 20 20 20 20 20 3c 74 61 | .....<!--.Update.-->.........<ta |
10c280 | 62 70 61 6e 65 6c 20 69 64 3d 22 75 70 64 61 74 65 50 61 6e 65 6c 22 20 6f 72 69 65 6e 74 3d 22 | bpanel.id="updatePanel".orient=" |
10c2a0 | 76 65 72 74 69 63 61 6c 22 20 61 6c 69 67 6e 3d 22 73 74 61 72 74 22 3e 0a 20 20 20 20 20 20 20 | vertical".align="start">........ |
10c2c0 | 20 20 20 3c 6c 61 62 65 6c 20 63 6f 6e 74 72 6f 6c 3d 22 61 75 74 6f 55 70 64 61 74 65 47 72 6f | ...<label.control="autoUpdateGro |
10c2e0 | 75 70 22 3e 26 61 75 74 6f 43 68 65 63 6b 2e 6c 61 62 65 6c 3b 3c 2f 6c 61 62 65 6c 3e 0a 20 20 | up">&autoCheck.label;</label>... |
10c300 | 20 20 20 20 20 20 20 20 3c 76 62 6f 78 20 63 6c 61 73 73 3d 22 69 6e 64 65 6e 74 22 20 69 64 3d | ........<vbox.class="indent".id= |
10c320 | 22 61 75 74 6f 55 70 64 61 74 65 47 72 6f 75 70 22 20 72 6f 6c 65 3d 22 67 72 6f 75 70 22 3e 0a | "autoUpdateGroup".role="group">. |
10c340 | 20 20 20 20 20 20 20 20 20 20 20 20 3c 63 68 65 63 6b 62 6f 78 20 69 64 3d 22 65 6e 61 62 6c 65 | ............<checkbox.id="enable |
10c360 | 41 70 70 55 70 64 61 74 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | AppUpdate"...................... |
10c380 | 20 6c 61 62 65 6c 3d 22 26 65 6e 61 62 6c 65 41 70 70 55 70 64 61 74 65 2e 6c 61 62 65 6c 3b 22 | .label="&enableAppUpdate.label;" |
10c3a0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 | .......................accesskey |
10c3c0 | 3d 22 26 65 6e 61 62 6c 65 41 70 70 55 70 64 61 74 65 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 | ="&enableAppUpdate.accesskey;".. |
10c3e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 65 66 65 72 65 6e 63 65 3d | .....................preference= |
10c400 | 22 61 70 70 2e 75 70 64 61 74 65 2e 65 6e 61 62 6c 65 64 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 | "app.update.enabled"/>.......... |
10c420 | 20 20 20 3c 63 68 65 63 6b 62 6f 78 20 69 64 3d 22 65 6e 61 62 6c 65 41 64 64 6f 6e 55 70 64 61 | ...<checkbox.id="enableAddonUpda |
10c440 | 74 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d | te".......................label= |
10c460 | 22 26 65 6e 61 62 6c 65 41 64 64 6f 6e 73 55 70 64 61 74 65 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 | "&enableAddonsUpdate.label;".... |
10c480 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 65 | ...................accesskey="&e |
10c4a0 | 6e 61 62 6c 65 41 64 64 6f 6e 73 55 70 64 61 74 65 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 | nableAddonsUpdate.accesskey;"... |
10c4c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 65 66 65 72 65 6e 63 65 3d 22 | ....................preference=" |
10c4e0 | 65 78 74 65 6e 73 69 6f 6e 73 2e 75 70 64 61 74 65 2e 65 6e 61 62 6c 65 64 22 2f 3e 0a 20 20 20 | extensions.update.enabled"/>.... |
10c500 | 20 20 20 20 20 20 20 20 20 3c 63 68 65 63 6b 62 6f 78 20 69 64 3d 22 65 6e 61 62 6c 65 53 65 61 | .........<checkbox.id="enableSea |
10c520 | 72 63 68 55 70 64 61 74 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | rchUpdate"...................... |
10c540 | 20 6c 61 62 65 6c 3d 22 26 65 6e 61 62 6c 65 53 65 61 72 63 68 55 70 64 61 74 65 2e 6c 61 62 65 | .label="&enableSearchUpdate.labe |
10c560 | 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 | l;".......................access |
10c580 | 6b 65 79 3d 22 26 65 6e 61 62 6c 65 53 65 61 72 63 68 55 70 64 61 74 65 2e 61 63 63 65 73 73 6b | key="&enableSearchUpdate.accessk |
10c5a0 | 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 65 66 65 | ey;".......................prefe |
10c5c0 | 72 65 6e 63 65 3d 22 62 72 6f 77 73 65 72 2e 73 65 61 72 63 68 2e 75 70 64 61 74 65 22 2f 3e 0a | rence="browser.search.update"/>. |
10c5e0 | 20 20 20 20 20 20 20 20 20 20 3c 2f 76 62 6f 78 3e 0a 0a 20 20 20 20 20 20 20 20 20 20 3c 73 65 | ..........</vbox>............<se |
10c600 | 70 61 72 61 74 6f 72 20 69 64 3d 22 75 70 64 61 74 65 53 65 70 61 72 61 74 6f 72 31 22 2f 3e 0a | parator.id="updateSeparator1"/>. |
10c620 | 0a 20 20 20 20 20 20 20 20 20 20 3c 6c 61 62 65 6c 20 69 64 3d 22 75 70 64 61 74 65 4d 6f 64 65 | ...........<label.id="updateMode |
10c640 | 4c 61 62 65 6c 22 20 63 6f 6e 74 72 6f 6c 3d 22 75 70 64 61 74 65 4d 6f 64 65 22 3e 26 77 68 65 | Label".control="updateMode">&whe |
10c660 | 6e 55 70 64 61 74 65 73 46 6f 75 6e 64 2e 6c 61 62 65 6c 3b 3c 2f 6c 61 62 65 6c 3e 0a 20 20 20 | nUpdatesFound.label;</label>.... |
10c680 | 20 20 20 20 20 20 20 3c 72 61 64 69 6f 67 72 6f 75 70 20 69 64 3d 22 75 70 64 61 74 65 4d 6f 64 | .......<radiogroup.id="updateMod |
10c6a0 | 65 22 20 63 6c 61 73 73 3d 22 69 6e 64 65 6e 74 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | e".class="indent"............... |
10c6c0 | 20 20 20 20 20 20 20 20 70 72 65 66 65 72 65 6e 63 65 3d 22 61 70 70 2e 75 70 64 61 74 65 2e 61 | ........preference="app.update.a |
10c6e0 | 75 74 6f 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 72 61 64 69 6f 20 69 64 3d 22 61 73 6b | uto">.............<radio.id="ask |
10c700 | 22 20 76 61 6c 75 65 3d 22 66 61 6c 73 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ".value="false"................. |
10c720 | 20 20 20 6c 61 62 65 6c 3d 22 26 61 73 6b 4d 65 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 | ...label="&askMe.label;"........ |
10c740 | 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 61 73 6b 4d 65 2e 61 63 | ............accesskey="&askMe.ac |
10c760 | 63 65 73 73 6b 65 79 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 72 61 64 69 6f 20 69 | cesskey;"/>.............<radio.i |
10c780 | 64 3d 22 61 75 74 6f 6d 61 74 69 63 22 20 76 61 6c 75 65 3d 22 74 72 75 65 22 0a 20 20 20 20 20 | d="automatic".value="true"...... |
10c7a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 6d 6f 64 65 41 75 74 6f 6d 61 | ..............label="&modeAutoma |
10c7c0 | 74 69 63 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 | tic.label;"....................a |
10c7e0 | 63 63 65 73 73 6b 65 79 3d 22 26 6d 6f 64 65 41 75 74 6f 6d 61 74 69 63 2e 61 63 63 65 73 73 6b | ccesskey="&modeAutomatic.accessk |
10c800 | 65 79 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 68 62 6f 78 20 63 6c 61 73 73 3d 22 | ey;"/>.............<hbox.class=" |
10c820 | 69 6e 64 65 6e 74 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 63 68 65 63 6b 62 6f 78 | indent">...............<checkbox |
10c840 | 20 69 64 3d 22 77 61 72 6e 49 6e 63 6f 6d 70 61 74 69 62 6c 65 22 20 0a 20 20 20 20 20 20 20 20 | .id="warnIncompatible".......... |
10c860 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 6d 6f 64 65 41 75 74 6f | ................label="&modeAuto |
10c880 | 41 64 64 6f 6e 57 61 72 6e 2e 6c 61 62 65 6c 3b 22 20 61 63 63 65 73 73 6b 65 79 3d 22 26 6d 6f | AddonWarn.label;".accesskey="&mo |
10c8a0 | 64 65 41 75 74 6f 41 64 64 6f 6e 57 61 72 6e 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 | deAutoAddonWarn.accesskey;"..... |
10c8c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 65 66 65 72 65 6e 63 65 3d 22 | ....................preference=" |
10c8e0 | 61 70 70 2e 75 70 64 61 74 65 2e 6d 6f 64 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | app.update.mode"................ |
10c900 | 20 20 20 20 20 20 20 20 20 6f 6e 73 79 6e 63 66 72 6f 6d 70 72 65 66 65 72 65 6e 63 65 3d 22 72 | .........onsyncfrompreference="r |
10c920 | 65 74 75 72 6e 20 67 41 64 76 61 6e 63 65 64 50 61 6e 65 2e 72 65 61 64 41 64 64 6f 6e 57 61 72 | eturn.gAdvancedPane.readAddonWar |
10c940 | 6e 28 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e | n();".........................on |
10c960 | 73 79 6e 63 74 6f 70 72 65 66 65 72 65 6e 63 65 3d 22 72 65 74 75 72 6e 20 67 41 64 76 61 6e 63 | synctopreference="return.gAdvanc |
10c980 | 65 64 50 61 6e 65 2e 77 72 69 74 65 41 64 64 6f 6e 57 61 72 6e 28 29 3b 22 2f 3e 0a 20 20 20 20 | edPane.writeAddonWarn();"/>..... |
10c9a0 | 20 20 20 20 20 20 20 20 3c 2f 68 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 2f 72 61 64 69 | ........</hbox>...........</radi |
10c9c0 | 6f 67 72 6f 75 70 3e 0a 0a 20 20 20 20 20 20 20 20 20 20 3c 73 65 70 61 72 61 74 6f 72 20 69 64 | ogroup>............<separator.id |
10c9e0 | 3d 22 75 70 64 61 74 65 53 65 70 61 72 61 74 6f 72 32 22 2f 3e 0a 0a 20 20 20 20 20 20 20 20 20 | ="updateSeparator2"/>........... |
10ca00 | 20 3c 68 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 62 75 74 74 6f 6e 20 69 64 3d 22 | .<hbox>.............<button.id=" |
10ca20 | 73 68 6f 77 55 70 64 61 74 65 48 69 73 74 6f 72 79 22 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 | showUpdateHistory".............. |
10ca40 | 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 75 70 64 61 74 65 48 69 73 74 6f 72 79 2e 6c 61 | ........label="&updateHistory.la |
10ca60 | 62 65 6c 3b 22 20 61 63 63 65 73 73 6b 65 79 3d 22 26 75 70 64 61 74 65 48 69 73 74 6f 72 79 2e | bel;".accesskey="&updateHistory. |
10ca80 | 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | accesskey;"..................... |
10caa0 | 70 72 65 66 65 72 65 6e 63 65 3d 22 61 70 70 2e 75 70 64 61 74 65 2e 64 69 73 61 62 6c 65 5f 62 | preference="app.update.disable_b |
10cac0 | 75 74 74 6f 6e 2e 73 68 6f 77 55 70 64 61 74 65 48 69 73 74 6f 72 79 22 0a 20 20 20 20 20 20 20 | utton.showUpdateHistory"........ |
10cae0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 41 64 76 61 6e 63 65 | .............oncommand="gAdvance |
10cb00 | 64 50 61 6e 65 2e 73 68 6f 77 55 70 64 61 74 65 73 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 | dPane.showUpdates();"/>......... |
10cb20 | 20 20 3c 2f 68 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 3c 2f 74 61 62 70 61 6e 65 6c 3e 0a 0a 20 | ..</hbox>.........</tabpanel>... |
10cb40 | 20 20 20 20 20 20 20 3c 21 2d 2d 20 45 6e 63 72 79 70 74 69 6f 6e 20 2d 2d 3e 0a 20 20 20 20 20 | .......<!--.Encryption.-->...... |
10cb60 | 20 20 20 3c 74 61 62 70 61 6e 65 6c 20 69 64 3d 22 65 6e 63 72 79 70 74 69 6f 6e 50 61 6e 65 6c | ...<tabpanel.id="encryptionPanel |
10cb80 | 22 20 6f 72 69 65 6e 74 3d 22 76 65 72 74 69 63 61 6c 22 3e 0a 0a 20 20 20 20 20 20 20 20 20 20 | ".orient="vertical">............ |
10cba0 | 3c 21 2d 2d 20 50 72 6f 74 6f 63 6f 6c 73 20 2d 2d 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 67 72 | <!--.Protocols.-->...........<gr |
10cbc0 | 6f 75 70 62 6f 78 20 69 64 3d 22 70 72 6f 74 6f 63 6f 6c 73 47 72 6f 75 70 22 3e 0a 20 20 20 20 | oupbox.id="protocolsGroup">..... |
10cbe0 | 20 20 20 20 20 20 20 20 3c 63 61 70 74 69 6f 6e 20 6c 61 62 65 6c 3d 22 26 70 72 6f 74 6f 63 6f | ........<caption.label="&protoco |
10cc00 | 6c 73 2e 6c 61 62 65 6c 3b 22 2f 3e 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 67 72 69 64 3e | ls.label;"/>..............<grid> |
10cc20 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 63 6f 6c 75 6d 6e 73 3e 0a 20 20 20 20 20 20 20 | ...............<columns>........ |
10cc40 | 20 20 20 20 20 20 20 20 20 3c 63 6f 6c 75 6d 6e 20 66 6c 65 78 3d 22 31 22 2f 3e 0a 20 20 20 20 | .........<column.flex="1"/>..... |
10cc60 | 20 20 20 20 20 20 20 20 20 20 20 20 3c 63 6f 6c 75 6d 6e 20 66 6c 65 78 3d 22 31 22 2f 3e 0a 20 | ............<column.flex="1"/>.. |
10cc80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 63 6f 6c 75 6d 6e 73 3e 0a 20 20 20 20 20 20 20 20 | .............</columns>......... |
10cca0 | 20 20 20 20 20 20 3c 72 6f 77 73 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 72 6f | ......<rows>.................<ro |
10ccc0 | 77 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 68 62 6f 78 3e 0a 20 20 20 20 | w>...................<hbox>..... |
10cce0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 63 68 65 63 6b 62 6f 78 20 69 64 3d 22 75 73 | ................<checkbox.id="us |
10cd00 | 65 53 53 4c 33 22 20 6c 61 62 65 6c 3d 22 26 75 73 65 53 53 4c 33 2e 6c 61 62 65 6c 3b 22 0a 20 | eSSL3".label="&useSSL3.label;".. |
10cd20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 | .............................acc |
10cd40 | 65 73 73 6b 65 79 3d 22 26 75 73 65 53 53 4c 33 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 | esskey="&useSSL3.accesskey;".... |
10cd60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 65 66 65 | ...........................prefe |
10cd80 | 72 65 6e 63 65 3d 22 73 65 63 75 72 69 74 79 2e 65 6e 61 62 6c 65 5f 73 73 6c 33 22 2f 3e 0a 20 | rence="security.enable_ssl3"/>.. |
10cda0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 68 62 6f 78 3e 0a 20 20 20 20 20 20 20 | .................</hbox>........ |
10cdc0 | 20 20 20 20 20 20 20 20 20 20 20 3c 68 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ...........<hbox>............... |
10cde0 | 20 20 20 20 20 20 3c 63 68 65 63 6b 62 6f 78 20 69 64 3d 22 75 73 65 54 4c 53 31 22 20 6c 61 62 | ......<checkbox.id="useTLS1".lab |
10ce00 | 65 6c 3d 22 26 75 73 65 54 4c 53 31 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 | el="&useTLS1.label;"............ |
10ce20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 75 | ...................accesskey="&u |
10ce40 | 73 65 54 4c 53 31 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | seTLS1.accesskey;".............. |
10ce60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 65 66 65 72 65 6e 63 65 3d 22 73 65 63 | .................preference="sec |
10ce80 | 75 72 69 74 79 2e 65 6e 61 62 6c 65 5f 74 6c 73 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 | urity.enable_tls"/>............. |
10cea0 | 20 20 20 20 20 20 3c 2f 68 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f | ......</hbox>.................</ |
10cec0 | 72 6f 77 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 72 6f 77 73 3e 0a 20 20 20 20 20 | row>...............</rows>...... |
10cee0 | 20 20 20 20 20 20 20 3c 2f 67 72 69 64 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 2f 67 72 6f 75 70 | .......</grid>...........</group |
10cf00 | 62 6f 78 3e 0a 0a 20 20 20 20 20 20 20 20 20 20 3c 21 2d 2d 20 43 65 72 74 69 66 69 63 61 74 65 | box>............<!--.Certificate |
10cf20 | 73 20 2d 2d 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 67 72 6f 75 70 62 6f 78 20 69 64 3d 22 63 65 | s.-->...........<groupbox.id="ce |
10cf40 | 72 74 69 66 69 63 61 74 65 73 47 72 6f 75 70 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 63 | rtificatesGroup">.............<c |
10cf60 | 61 70 74 69 6f 6e 20 69 64 3d 22 43 65 72 74 47 72 6f 75 70 43 61 70 74 69 6f 6e 22 20 6c 61 62 | aption.id="CertGroupCaption".lab |
10cf80 | 65 6c 3d 22 26 63 65 72 74 69 66 69 63 61 74 65 73 2e 6c 61 62 65 6c 3b 22 2f 3e 0a 0a 20 20 20 | el="&certificates.label;"/>..... |
10cfa0 | 20 20 20 20 20 20 20 20 20 3c 64 65 73 63 72 69 70 74 69 6f 6e 20 69 64 3d 22 43 65 72 74 53 65 | .........<description.id="CertSe |
10cfc0 | 6c 65 63 74 69 6f 6e 44 65 73 63 22 20 63 6f 6e 74 72 6f 6c 3d 22 63 65 72 74 53 65 6c 65 63 74 | lectionDesc".control="certSelect |
10cfe0 | 69 6f 6e 22 3e 26 63 65 72 74 53 65 6c 65 63 74 69 6f 6e 2e 64 65 73 63 72 69 70 74 69 6f 6e 3b | ion">&certSelection.description; |
10d000 | 3c 2f 64 65 73 63 72 69 70 74 69 6f 6e 3e 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 21 2d 2d | </description>..............<!-- |
10d020 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 54 68 65 20 76 61 6c 75 65 73 20 6f 6e 20 74 68 65 | ...............The.values.on.the |
10d040 | 73 65 20 72 61 64 69 6f 20 62 75 74 74 6f 6e 73 20 6d 61 79 20 6c 6f 6f 6b 20 6c 69 6b 65 20 6c | se.radio.buttons.may.look.like.l |
10d060 | 31 32 79 20 69 73 73 75 65 73 2c 20 62 75 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 | 12y.issues,.but...............th |
10d080 | 65 79 27 72 65 20 6e 6f 74 20 2d 20 74 68 69 73 20 70 72 65 66 65 72 65 6e 63 65 20 75 73 65 73 | ey're.not.-.this.preference.uses |
10d0a0 | 20 2a 74 68 6f 73 65 20 73 74 72 69 6e 67 73 2a 20 61 73 20 69 74 73 20 76 61 6c 75 65 73 2e 0a | .*those.strings*.as.its.values.. |
10d0c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 49 20 4b 49 44 20 59 4f 55 20 4e 4f 54 2e 0a 20 20 20 | ..............I.KID.YOU.NOT..... |
10d0e0 | 20 20 20 20 20 20 20 20 20 2d 2d 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 72 61 64 69 6f 67 | .........-->.............<radiog |
10d100 | 72 6f 75 70 20 69 64 3d 22 63 65 72 74 53 65 6c 65 63 74 69 6f 6e 22 20 6f 72 69 65 6e 74 3d 22 | roup.id="certSelection".orient=" |
10d120 | 68 6f 72 69 7a 6f 6e 74 61 6c 22 20 70 72 65 66 74 79 70 65 3d 22 73 74 72 69 6e 67 22 0a 20 20 | horizontal".preftype="string"... |
10d140 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 65 66 65 72 65 6e 63 65 | ......................preference |
10d160 | 3d 22 73 65 63 75 72 69 74 79 2e 64 65 66 61 75 6c 74 5f 70 65 72 73 6f 6e 61 6c 5f 63 65 72 74 | ="security.default_personal_cert |
10d180 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 72 69 61 2d 6c | ".........................aria-l |
10d1a0 | 61 62 65 6c 6c 65 64 62 79 3d 22 43 65 72 74 47 72 6f 75 70 43 61 70 74 69 6f 6e 20 43 65 72 74 | abelledby="CertGroupCaption.Cert |
10d1c0 | 53 65 6c 65 63 74 69 6f 6e 44 65 73 63 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 72 | SelectionDesc">...............<r |
10d1e0 | 61 64 69 6f 20 6c 61 62 65 6c 3d 22 26 63 65 72 74 73 2e 61 75 74 6f 3b 22 20 61 63 63 65 73 73 | adio.label="&certs.auto;".access |
10d200 | 6b 65 79 3d 22 26 63 65 72 74 73 2e 61 75 74 6f 2e 61 63 63 65 73 73 6b 65 79 3b 22 20 0a 20 20 | key="&certs.auto.accesskey;".... |
10d220 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 6c 75 65 3d 22 53 65 6c 65 63 74 | ...................value="Select |
10d240 | 20 41 75 74 6f 6d 61 74 69 63 61 6c 6c 79 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .Automatically"/>............... |
10d260 | 3c 72 61 64 69 6f 20 6c 61 62 65 6c 3d 22 26 63 65 72 74 73 2e 61 73 6b 3b 22 20 61 63 63 65 73 | <radio.label="&certs.ask;".acces |
10d280 | 73 6b 65 79 3d 22 26 63 65 72 74 73 2e 61 73 6b 2e 61 63 63 65 73 73 6b 65 79 3b 22 20 0a 20 20 | skey="&certs.ask.accesskey;".... |
10d2a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 6c 75 65 3d 22 41 73 6b 20 45 76 | ...................value="Ask.Ev |
10d2c0 | 65 72 79 20 54 69 6d 65 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 72 61 64 69 6f 67 | ery.Time"/>.............</radiog |
10d2e0 | 72 6f 75 70 3e 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 73 65 70 61 72 61 74 6f 72 2f 3e 0a | roup>..............<separator/>. |
10d300 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 68 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 | .............<hbox>............. |
10d320 | 20 20 3c 62 75 74 74 6f 6e 20 69 64 3d 22 76 69 65 77 43 65 72 74 69 66 69 63 61 74 65 73 42 75 | ..<button.id="viewCertificatesBu |
10d340 | 74 74 6f 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 | tton".......................labe |
10d360 | 6c 3d 22 26 76 69 65 77 43 65 72 74 73 2e 6c 61 62 65 6c 3b 22 20 61 63 63 65 73 73 6b 65 79 3d | l="&viewCerts.label;".accesskey= |
10d380 | 22 26 76 69 65 77 43 65 72 74 73 2e 61 63 63 65 73 73 6b 65 79 3b 22 20 0a 20 20 20 20 20 20 20 | "&viewCerts.accesskey;"......... |
10d3a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 41 64 76 61 6e | ...............oncommand="gAdvan |
10d3c0 | 63 65 64 50 61 6e 65 2e 73 68 6f 77 43 65 72 74 69 66 69 63 61 74 65 73 28 29 3b 22 0a 20 20 20 | cedPane.showCertificates();".... |
10d3e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 65 66 65 72 65 6e 63 65 3d 22 73 | ...................preference="s |
10d400 | 65 63 75 72 69 74 79 2e 64 69 73 61 62 6c 65 5f 62 75 74 74 6f 6e 2e 6f 70 65 6e 43 65 72 74 4d | ecurity.disable_button.openCertM |
10d420 | 61 6e 61 67 65 72 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 62 75 74 74 6f 6e 20 | anager"/>...............<button. |
10d440 | 69 64 3d 22 76 69 65 77 43 52 4c 42 75 74 74 6f 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | id="viewCRLButton".............. |
10d460 | 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 76 69 65 77 43 52 4c 73 2e 6c 61 62 65 6c 3b | .........label="&viewCRLs.label; |
10d480 | 22 20 61 63 63 65 73 73 6b 65 79 3d 22 26 76 69 65 77 43 52 4c 73 2e 61 63 63 65 73 73 6b 65 79 | ".accesskey="&viewCRLs.accesskey |
10d4a0 | 3b 22 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d | ;"........................oncomm |
10d4c0 | 61 6e 64 3d 22 67 41 64 76 61 6e 63 65 64 50 61 6e 65 2e 73 68 6f 77 43 52 4c 73 28 29 3b 22 0a | and="gAdvancedPane.showCRLs();". |
10d4e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 65 66 65 72 65 6e 63 65 | ......................preference |
10d500 | 3d 22 73 65 63 75 72 69 74 79 2e 4f 43 53 50 2e 64 69 73 61 62 6c 65 5f 62 75 74 74 6f 6e 2e 6d | ="security.OCSP.disable_button.m |
10d520 | 61 6e 61 67 65 63 72 6c 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 62 75 74 74 6f | anagecrl"/>...............<butto |
10d540 | 6e 20 69 64 3d 22 76 65 72 69 66 69 63 61 74 69 6f 6e 42 75 74 74 6f 6e 22 0a 20 20 20 20 20 20 | n.id="verificationButton"....... |
10d560 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 76 65 72 69 66 79 32 2e | ................label="&verify2. |
10d580 | 6c 61 62 65 6c 3b 22 20 61 63 63 65 73 73 6b 65 79 3d 22 26 76 65 72 69 66 79 32 2e 61 63 63 65 | label;".accesskey="&verify2.acce |
10d5a0 | 73 73 6b 65 79 3b 22 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f | sskey;"........................o |
10d5c0 | 6e 63 6f 6d 6d 61 6e 64 3d 22 67 41 64 76 61 6e 63 65 64 50 61 6e 65 2e 73 68 6f 77 4f 43 53 50 | ncommand="gAdvancedPane.showOCSP |
10d5e0 | 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 62 75 74 74 6f 6e 20 69 64 3d | ();"/>...............<button.id= |
10d600 | 22 76 69 65 77 53 65 63 75 72 69 74 79 44 65 76 69 63 65 73 42 75 74 74 6f 6e 22 0a 20 20 20 20 | "viewSecurityDevicesButton"..... |
10d620 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 76 69 65 77 53 65 | ..................label="&viewSe |
10d640 | 63 75 72 69 74 79 44 65 76 69 63 65 73 2e 6c 61 62 65 6c 3b 22 20 61 63 63 65 73 73 6b 65 79 3d | curityDevices.label;".accesskey= |
10d660 | 22 26 76 69 65 77 53 65 63 75 72 69 74 79 44 65 76 69 63 65 73 2e 61 63 63 65 73 73 6b 65 79 3b | "&viewSecurityDevices.accesskey; |
10d680 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e | ".......................oncomman |
10d6a0 | 64 3d 22 67 41 64 76 61 6e 63 65 64 50 61 6e 65 2e 73 68 6f 77 53 65 63 75 72 69 74 79 44 65 76 | d="gAdvancedPane.showSecurityDev |
10d6c0 | 69 63 65 73 28 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 | ices();".......................p |
10d6e0 | 72 65 66 65 72 65 6e 63 65 3d 22 73 65 63 75 72 69 74 79 2e 64 69 73 61 62 6c 65 5f 62 75 74 74 | reference="security.disable_butt |
10d700 | 6f 6e 2e 6f 70 65 6e 44 65 76 69 63 65 4d 61 6e 61 67 65 72 22 2f 3e 0a 20 20 20 20 20 20 20 20 | on.openDeviceManager"/>......... |
10d720 | 20 20 20 20 3c 2f 68 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 2f 67 72 6f 75 70 62 6f 78 | ....</hbox>...........</groupbox |
10d740 | 3e 0a 20 20 20 20 20 20 20 20 3c 2f 74 61 62 70 61 6e 65 6c 3e 0a 0a 20 20 20 20 20 20 3c 2f 74 | >.........</tabpanel>........</t |
10d760 | 61 62 70 61 6e 65 6c 73 3e 0a 20 20 20 20 3c 2f 74 61 62 62 6f 78 3e 0a 20 20 3c 2f 70 72 65 66 | abpanels>.....</tabbox>...</pref |
10d780 | 70 61 6e 65 3e 0a 0a 3c 2f 6f 76 65 72 6c 61 79 3e 0a 50 4b 03 04 14 00 00 00 00 00 f3 4b 18 3b | pane>..</overlay>.PK.........K.; |
10d7a0 | bc a1 9d 00 3e 55 00 00 3e 55 00 00 27 00 00 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f | ....>U..>U..'...content/browser/ |
10d7c0 | 70 72 65 66 65 72 65 6e 63 65 73 2f 61 64 76 61 6e 63 65 64 2e 6a 73 2f 2f 40 6c 69 6e 65 20 33 | preferences/advanced.js//@line.3 |
10d7e0 | 39 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c | 9."/builds/moz2_slave/linux_buil |
10d800 | 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 63 6f 6d 70 6f 6e 65 6e 74 73 2f 70 72 65 66 65 | d/build/browser/components/prefe |
10d820 | 72 65 6e 63 65 73 2f 61 64 76 61 6e 63 65 64 2e 6a 73 22 0a 0a 2f 2f 20 4c 6f 61 64 20 44 6f 77 | rences/advanced.js"..//.Load.Dow |
10d840 | 6e 6c 6f 61 64 55 74 69 6c 73 20 6d 6f 64 75 6c 65 20 66 6f 72 20 63 6f 6e 76 65 72 74 42 79 74 | nloadUtils.module.for.convertByt |
10d860 | 65 55 6e 69 74 73 0a 43 6f 6d 70 6f 6e 65 6e 74 73 2e 75 74 69 6c 73 2e 69 6d 70 6f 72 74 28 22 | eUnits.Components.utils.import(" |
10d880 | 72 65 73 6f 75 72 63 65 3a 2f 2f 67 72 65 2f 6d 6f 64 75 6c 65 73 2f 44 6f 77 6e 6c 6f 61 64 55 | resource://gre/modules/DownloadU |
10d8a0 | 74 69 6c 73 2e 6a 73 6d 22 29 3b 0a 0a 76 61 72 20 67 41 64 76 61 6e 63 65 64 50 61 6e 65 20 3d | tils.jsm");..var.gAdvancedPane.= |
10d8c0 | 20 7b 0a 20 20 5f 69 6e 69 74 65 64 3a 20 66 61 6c 73 65 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a | .{..._inited:.false,..../**....* |
10d8e0 | 20 42 72 69 6e 67 73 20 74 68 65 20 61 70 70 72 6f 70 72 69 61 74 65 20 74 61 62 20 74 6f 20 74 | .Brings.the.appropriate.tab.to.t |
10d900 | 68 65 20 66 72 6f 6e 74 20 61 6e 64 20 69 6e 69 74 69 61 6c 69 7a 65 73 20 76 61 72 69 6f 75 73 | he.front.and.initializes.various |
10d920 | 20 62 69 74 73 20 6f 66 20 55 49 2e 0a 20 20 20 2a 2f 0a 20 20 69 6e 69 74 3a 20 66 75 6e 63 74 | .bits.of.UI.....*/...init:.funct |
10d940 | 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 74 68 69 73 2e 5f 69 6e 69 74 65 64 20 3d 20 74 72 | ion.()...{.....this._inited.=.tr |
10d960 | 75 65 3b 0a 20 20 20 20 76 61 72 20 61 64 76 61 6e 63 65 64 50 72 65 66 73 20 3d 20 64 6f 63 75 | ue;.....var.advancedPrefs.=.docu |
10d980 | 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 61 64 76 61 6e 63 65 64 50 72 65 | ment.getElementById("advancedPre |
10d9a0 | 66 73 22 29 3b 0a 0a 20 20 20 20 76 61 72 20 65 78 74 72 61 41 72 67 73 20 3d 20 77 69 6e 64 6f | fs");......var.extraArgs.=.windo |
10d9c0 | 77 2e 61 72 67 75 6d 65 6e 74 73 5b 31 5d 3b 0a 20 20 20 20 69 66 20 28 65 78 74 72 61 41 72 67 | w.arguments[1];.....if.(extraArg |
10d9e0 | 73 20 26 26 20 65 78 74 72 61 41 72 67 73 5b 22 61 64 76 61 6e 63 65 64 54 61 62 22 5d 29 7b 0a | s.&&.extraArgs["advancedTab"]){. |
10da00 | 20 20 20 20 20 20 61 64 76 61 6e 63 65 64 50 72 65 66 73 2e 73 65 6c 65 63 74 65 64 54 61 62 20 | ......advancedPrefs.selectedTab. |
10da20 | 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 65 78 74 72 61 41 | =.document.getElementById(extraA |
10da40 | 72 67 73 5b 22 61 64 76 61 6e 63 65 64 54 61 62 22 5d 29 3b 0a 20 20 20 20 7d 20 65 6c 73 65 20 | rgs["advancedTab"]);.....}.else. |
10da60 | 7b 0a 20 20 20 20 20 20 76 61 72 20 70 72 65 66 65 72 65 6e 63 65 20 3d 20 64 6f 63 75 6d 65 6e | {.......var.preference.=.documen |
10da80 | 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 62 72 6f 77 73 65 72 2e 70 72 65 66 65 72 | t.getElementById("browser.prefer |
10daa0 | 65 6e 63 65 73 2e 61 64 76 61 6e 63 65 64 2e 73 65 6c 65 63 74 65 64 54 61 62 49 6e 64 65 78 22 | ences.advanced.selectedTabIndex" |
10dac0 | 29 3b 0a 20 20 20 20 20 20 69 66 20 28 70 72 65 66 65 72 65 6e 63 65 2e 76 61 6c 75 65 20 3d 3d | );.......if.(preference.value.== |
10dae0 | 3d 20 6e 75 6c 6c 29 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 20 20 20 20 61 64 | =.null).........return;.......ad |
10db00 | 76 61 6e 63 65 64 50 72 65 66 73 2e 73 65 6c 65 63 74 65 64 49 6e 64 65 78 20 3d 20 70 72 65 66 | vancedPrefs.selectedIndex.=.pref |
10db20 | 65 72 65 6e 63 65 2e 76 61 6c 75 65 3b 0a 20 20 20 20 7d 0a 0a 2f 2f 40 6c 69 6e 65 20 36 35 20 | erence.value;.....}..//@line.65. |
10db40 | 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f | "/builds/moz2_slave/linux_build/ |
10db60 | 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 63 6f 6d 70 6f 6e 65 6e 74 73 2f 70 72 65 66 65 72 65 | build/browser/components/prefere |
10db80 | 6e 63 65 73 2f 61 64 76 61 6e 63 65 64 2e 6a 73 22 0a 20 20 20 20 74 68 69 73 2e 75 70 64 61 74 | nces/advanced.js".....this.updat |
10dba0 | 65 41 70 70 55 70 64 61 74 65 49 74 65 6d 73 28 29 3b 0a 20 20 20 20 74 68 69 73 2e 75 70 64 61 | eAppUpdateItems();.....this.upda |
10dbc0 | 74 65 41 75 74 6f 49 74 65 6d 73 28 29 3b 0a 20 20 20 20 74 68 69 73 2e 75 70 64 61 74 65 4d 6f | teAutoItems();.....this.updateMo |
10dbe0 | 64 65 49 74 65 6d 73 28 29 3b 0a 2f 2f 40 6c 69 6e 65 20 36 39 20 22 2f 62 75 69 6c 64 73 2f 6d | deItems();.//@line.69."/builds/m |
10dc00 | 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 | oz2_slave/linux_build/build/brow |
10dc20 | 73 65 72 2f 63 6f 6d 70 6f 6e 65 6e 74 73 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 61 64 76 61 6e | ser/components/preferences/advan |
10dc40 | 63 65 64 2e 6a 73 22 0a 20 20 20 20 74 68 69 73 2e 75 70 64 61 74 65 4f 66 66 6c 69 6e 65 41 70 | ced.js".....this.updateOfflineAp |
10dc60 | 70 73 28 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 53 74 6f 72 65 73 20 74 68 | ps();...},..../**....*.Stores.th |
10dc80 | 65 20 69 64 65 6e 74 69 74 79 20 6f 66 20 74 68 65 20 63 75 72 72 65 6e 74 20 74 61 62 20 69 6e | e.identity.of.the.current.tab.in |
10dca0 | 20 70 72 65 66 65 72 65 6e 63 65 73 20 73 6f 20 74 68 61 74 20 74 68 65 20 73 65 6c 65 63 74 65 | .preferences.so.that.the.selecte |
10dcc0 | 64 0a 20 20 20 2a 20 74 61 62 20 63 61 6e 20 62 65 20 70 65 72 73 69 73 74 65 64 20 62 65 74 77 | d....*.tab.can.be.persisted.betw |
10dce0 | 65 65 6e 20 6f 70 65 6e 69 6e 67 73 20 6f 66 20 74 68 65 20 70 72 65 66 65 72 65 6e 63 65 73 20 | een.openings.of.the.preferences. |
10dd00 | 77 69 6e 64 6f 77 2e 0a 20 20 20 2a 2f 0a 20 20 74 61 62 53 65 6c 65 63 74 69 6f 6e 43 68 61 6e | window.....*/...tabSelectionChan |
10dd20 | 67 65 64 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 69 66 20 28 21 74 68 | ged:.function.()...{.....if.(!th |
10dd40 | 69 73 2e 5f 69 6e 69 74 65 64 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 20 20 76 61 | is._inited).......return;.....va |
10dd60 | 72 20 61 64 76 61 6e 63 65 64 50 72 65 66 73 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c | r.advancedPrefs.=.document.getEl |
10dd80 | 65 6d 65 6e 74 42 79 49 64 28 22 61 64 76 61 6e 63 65 64 50 72 65 66 73 22 29 3b 0a 20 20 20 20 | ementById("advancedPrefs");..... |
10dda0 | 76 61 72 20 70 72 65 66 65 72 65 6e 63 65 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 | var.preference.=.document.getEle |
10ddc0 | 6d 65 6e 74 42 79 49 64 28 22 62 72 6f 77 73 65 72 2e 70 72 65 66 65 72 65 6e 63 65 73 2e 61 64 | mentById("browser.preferences.ad |
10dde0 | 76 61 6e 63 65 64 2e 73 65 6c 65 63 74 65 64 54 61 62 49 6e 64 65 78 22 29 3b 0a 20 20 20 20 70 | vanced.selectedTabIndex");.....p |
10de00 | 72 65 66 65 72 65 6e 63 65 2e 76 61 6c 75 65 46 72 6f 6d 50 72 65 66 65 72 65 6e 63 65 73 20 3d | reference.valueFromPreferences.= |
10de20 | 20 61 64 76 61 6e 63 65 64 50 72 65 66 73 2e 73 65 6c 65 63 74 65 64 49 6e 64 65 78 3b 0a 20 20 | .advancedPrefs.selectedIndex;... |
10de40 | 7d 2c 0a 20 20 0a 20 20 2f 2f 20 47 45 4e 45 52 41 4c 20 54 41 42 0a 0a 20 20 2f 2a 0a 20 20 20 | },......//.GENERAL.TAB..../*.... |
10de60 | 2a 20 50 72 65 66 65 72 65 6e 63 65 73 3a 0a 20 20 20 2a 0a 20 20 20 2a 20 61 63 63 65 73 73 69 | *.Preferences:....*....*.accessi |
10de80 | 62 69 6c 69 74 79 2e 62 72 6f 77 73 65 77 69 74 68 63 61 72 65 74 0a 20 20 20 2a 20 2d 20 74 72 | bility.browsewithcaret....*.-.tr |
10dea0 | 75 65 20 65 6e 61 62 6c 65 73 20 6b 65 79 62 6f 61 72 64 20 6e 61 76 69 67 61 74 69 6f 6e 20 61 | ue.enables.keyboard.navigation.a |
10dec0 | 6e 64 20 73 65 6c 65 63 74 69 6f 6e 20 77 69 74 68 69 6e 20 77 65 62 20 70 61 67 65 73 20 75 73 | nd.selection.within.web.pages.us |
10dee0 | 69 6e 67 20 61 0a 20 20 20 2a 20 20 20 76 69 73 69 62 6c 65 20 63 61 72 65 74 2c 20 66 61 6c 73 | ing.a....*...visible.caret,.fals |
10df00 | 65 20 75 73 65 73 20 6e 6f 72 6d 61 6c 20 6b 65 79 62 6f 61 72 64 20 6e 61 76 69 67 61 74 69 6f | e.uses.normal.keyboard.navigatio |
10df20 | 6e 20 77 69 74 68 20 6e 6f 20 63 61 72 65 74 0a 20 20 20 2a 20 61 63 63 65 73 73 69 62 69 6c 69 | n.with.no.caret....*.accessibili |
10df40 | 74 79 2e 74 79 70 65 61 68 65 61 64 66 69 6e 64 0a 20 20 20 2a 20 2d 20 77 68 65 6e 20 73 65 74 | ty.typeaheadfind....*.-.when.set |
10df60 | 20 74 6f 20 74 72 75 65 2c 20 74 79 70 69 6e 67 20 6f 75 74 73 69 64 65 20 74 65 78 74 20 61 72 | .to.true,.typing.outside.text.ar |
10df80 | 65 61 73 20 61 6e 64 20 69 6e 70 75 74 20 62 6f 78 65 73 20 77 69 6c 6c 0a 20 20 20 2a 20 20 20 | eas.and.input.boxes.will....*... |
10dfa0 | 61 75 74 6f 6d 61 74 69 63 61 6c 6c 79 20 73 74 61 72 74 20 73 65 61 72 63 68 69 6e 67 20 66 6f | automatically.start.searching.fo |
10dfc0 | 72 20 77 68 61 74 27 73 20 74 79 70 65 64 20 77 69 74 68 69 6e 20 74 68 65 20 63 75 72 72 65 6e | r.what's.typed.within.the.curren |
10dfe0 | 74 0a 20 20 20 2a 20 20 20 64 6f 63 75 6d 65 6e 74 3b 20 77 68 65 6e 20 73 65 74 20 74 6f 20 66 | t....*...document;.when.set.to.f |
10e000 | 61 6c 73 65 2c 20 6e 6f 20 73 65 61 72 63 68 20 61 63 74 69 6f 6e 20 68 61 70 70 65 6e 73 0a 20 | alse,.no.search.action.happens.. |
10e020 | 20 20 2a 20 67 65 6e 65 72 61 6c 2e 61 75 74 6f 53 63 72 6f 6c 6c 0a 20 20 20 2a 20 2d 20 77 68 | ..*.general.autoScroll....*.-.wh |
10e040 | 65 6e 20 73 65 74 20 74 6f 20 74 72 75 65 2c 20 63 6c 69 63 6b 69 6e 67 20 74 68 65 20 73 63 72 | en.set.to.true,.clicking.the.scr |
10e060 | 6f 6c 6c 20 77 68 65 65 6c 20 6f 6e 20 74 68 65 20 6d 6f 75 73 65 20 61 63 74 69 76 61 74 65 73 | oll.wheel.on.the.mouse.activates |
10e080 | 20 61 0a 20 20 20 2a 20 20 20 6d 6f 75 73 65 20 6d 6f 64 65 20 77 68 65 72 65 20 6d 6f 76 69 6e | .a....*...mouse.mode.where.movin |
10e0a0 | 67 20 74 68 65 20 6d 6f 75 73 65 20 64 6f 77 6e 20 73 63 72 6f 6c 6c 73 20 74 68 65 20 64 6f 63 | g.the.mouse.down.scrolls.the.doc |
10e0c0 | 75 6d 65 6e 74 20 64 6f 77 6e 77 61 72 64 20 77 69 74 68 0a 20 20 20 2a 20 20 20 73 70 65 65 64 | ument.downward.with....*...speed |
10e0e0 | 20 63 6f 72 72 65 6c 61 74 65 64 20 77 69 74 68 20 74 68 65 20 64 69 73 74 61 6e 63 65 20 6f 66 | .correlated.with.the.distance.of |
10e100 | 20 74 68 65 20 63 75 72 73 6f 72 20 66 72 6f 6d 20 74 68 65 20 6f 72 69 67 69 6e 61 6c 0a 20 20 | .the.cursor.from.the.original... |
10e120 | 20 2a 20 20 20 70 6f 73 69 74 69 6f 6e 20 61 74 20 77 68 69 63 68 20 74 68 65 20 63 6c 69 63 6b | .*...position.at.which.the.click |
10e140 | 20 6f 63 63 75 72 72 65 64 20 28 61 6e 64 20 6c 69 6b 65 77 69 73 65 20 77 69 74 68 20 6d 6f 76 | .occurred.(and.likewise.with.mov |
10e160 | 65 6d 65 6e 74 20 75 70 77 61 72 64 29 3b 0a 20 20 20 2a 20 20 20 69 66 20 66 61 6c 73 65 2c 20 | ement.upward);....*...if.false,. |
10e180 | 74 68 69 73 20 62 65 68 61 76 69 6f 72 20 69 73 20 64 69 73 61 62 6c 65 64 0a 20 20 20 2a 20 67 | this.behavior.is.disabled....*.g |
10e1a0 | 65 6e 65 72 61 6c 2e 73 6d 6f 6f 74 68 53 63 72 6f 6c 6c 0a 20 20 20 2a 20 2d 20 73 65 74 20 74 | eneral.smoothScroll....*.-.set.t |
10e1c0 | 6f 20 74 72 75 65 20 74 6f 20 65 6e 61 62 6c 65 20 66 69 6e 65 72 20 70 61 67 65 20 73 63 72 6f | o.true.to.enable.finer.page.scro |
10e1e0 | 6c 6c 69 6e 67 20 74 68 61 6e 20 6c 69 6e 65 2d 62 79 2d 6c 69 6e 65 20 6f 6e 20 70 61 67 65 2d | lling.than.line-by-line.on.page- |
10e200 | 75 70 2c 0a 20 20 20 2a 20 20 20 70 61 67 65 2d 64 6f 77 6e 2c 20 61 6e 64 20 6f 74 68 65 72 20 | up,....*...page-down,.and.other. |
10e220 | 73 75 63 68 20 70 61 67 65 20 6d 6f 76 65 6d 65 6e 74 73 0a 20 20 20 2a 20 6c 61 79 6f 75 74 2e | such.page.movements....*.layout. |
10e240 | 73 70 65 6c 6c 63 68 65 63 6b 44 65 66 61 75 6c 74 0a 20 20 20 2a 20 2d 20 61 6e 20 69 6e 74 65 | spellcheckDefault....*.-.an.inte |
10e260 | 67 65 72 3a 0a 20 20 20 2a 20 20 20 20 20 30 20 20 64 69 73 61 62 6c 65 73 20 73 70 65 6c 6c 63 | ger:....*.....0..disables.spellc |
10e280 | 68 65 63 6b 69 6e 67 0a 20 20 20 2a 20 20 20 20 20 31 20 20 65 6e 61 62 6c 65 73 20 73 70 65 6c | hecking....*.....1..enables.spel |
10e2a0 | 6c 63 68 65 63 6b 69 6e 67 2c 20 62 75 74 20 6f 6e 6c 79 20 66 6f 72 20 6d 75 6c 74 69 6c 69 6e | lchecking,.but.only.for.multilin |
10e2c0 | 65 20 74 65 78 74 20 66 69 65 6c 64 73 0a 20 20 20 2a 20 20 20 20 20 32 20 20 65 6e 61 62 6c 65 | e.text.fields....*.....2..enable |
10e2e0 | 73 20 73 70 65 6c 6c 63 68 65 63 6b 69 6e 67 20 66 6f 72 20 61 6c 6c 20 74 65 78 74 20 66 69 65 | s.spellchecking.for.all.text.fie |
10e300 | 6c 64 73 0a 20 20 20 2a 2f 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 53 74 6f 72 65 73 20 74 68 65 | lds....*/..../**....*.Stores.the |
10e320 | 20 6f 72 69 67 69 6e 61 6c 20 76 61 6c 75 65 20 6f 66 20 74 68 65 20 73 70 65 6c 6c 63 68 65 63 | .original.value.of.the.spellchec |
10e340 | 6b 69 6e 67 20 70 72 65 66 65 72 65 6e 63 65 20 74 6f 20 65 6e 61 62 6c 65 20 70 72 6f 70 65 72 | king.preference.to.enable.proper |
10e360 | 0a 20 20 20 2a 20 72 65 73 74 6f 72 61 74 69 6f 6e 20 69 66 20 75 6e 63 68 61 6e 67 65 64 20 28 | ....*.restoration.if.unchanged.( |
10e380 | 73 69 6e 63 65 20 77 65 27 72 65 20 6d 61 70 70 69 6e 67 20 61 20 74 72 69 73 74 61 74 65 20 6f | since.we're.mapping.a.tristate.o |
10e3a0 | 6e 74 6f 20 61 20 63 68 65 63 6b 62 6f 78 29 2e 0a 20 20 20 2a 2f 0a 20 20 5f 73 74 6f 72 65 64 | nto.a.checkbox).....*/..._stored |
10e3c0 | 53 70 65 6c 6c 43 68 65 63 6b 3a 20 30 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 52 65 74 75 72 | SpellCheck:.0,..../**....*.Retur |
10e3e0 | 6e 73 20 74 72 75 65 20 69 66 20 61 6e 79 20 73 70 65 6c 6c 63 68 65 63 6b 69 6e 67 20 69 73 20 | ns.true.if.any.spellchecking.is. |
10e400 | 65 6e 61 62 6c 65 64 20 61 6e 64 20 66 61 6c 73 65 20 6f 74 68 65 72 77 69 73 65 2c 20 63 61 63 | enabled.and.false.otherwise,.cac |
10e420 | 68 69 6e 67 0a 20 20 20 2a 20 74 68 65 20 63 75 72 72 65 6e 74 20 76 61 6c 75 65 20 74 6f 20 65 | hing....*.the.current.value.to.e |
10e440 | 6e 61 62 6c 65 20 70 72 6f 70 65 72 20 70 72 65 66 20 72 65 73 74 6f 72 61 74 69 6f 6e 20 69 66 | nable.proper.pref.restoration.if |
10e460 | 20 74 68 65 20 63 68 65 63 6b 62 6f 78 20 69 73 0a 20 20 20 2a 20 6e 65 76 65 72 20 63 68 61 6e | .the.checkbox.is....*.never.chan |
10e480 | 67 65 64 2e 0a 20 20 20 2a 2f 0a 20 20 72 65 61 64 43 68 65 63 6b 53 70 65 6c 6c 69 6e 67 3a 20 | ged.....*/...readCheckSpelling:. |
10e4a0 | 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 76 61 72 20 70 72 65 66 20 3d 20 64 | function.()...{.....var.pref.=.d |
10e4c0 | 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 6c 61 79 6f 75 74 2e 73 | ocument.getElementById("layout.s |
10e4e0 | 70 65 6c 6c 63 68 65 63 6b 44 65 66 61 75 6c 74 22 29 3b 0a 20 20 20 20 74 68 69 73 2e 5f 73 74 | pellcheckDefault");.....this._st |
10e500 | 6f 72 65 64 53 70 65 6c 6c 43 68 65 63 6b 20 3d 20 70 72 65 66 2e 76 61 6c 75 65 3b 0a 0a 20 20 | oredSpellCheck.=.pref.value;.... |
10e520 | 20 20 72 65 74 75 72 6e 20 28 70 72 65 66 2e 76 61 6c 75 65 20 21 3d 20 30 29 3b 0a 20 20 7d 2c | ..return.(pref.value.!=.0);...}, |
10e540 | 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 52 65 74 75 72 6e 73 20 74 68 65 20 76 61 6c 75 65 20 6f | ..../**....*.Returns.the.value.o |
10e560 | 66 20 74 68 65 20 73 70 65 6c 6c 63 68 65 63 6b 69 6e 67 20 70 72 65 66 65 72 65 6e 63 65 20 72 | f.the.spellchecking.preference.r |
10e580 | 65 70 72 65 73 65 6e 74 65 64 20 62 79 20 55 49 2c 0a 20 20 20 2a 20 70 72 65 73 65 72 76 69 6e | epresented.by.UI,....*.preservin |
10e5a0 | 67 20 74 68 65 20 70 72 65 66 65 72 65 6e 63 65 27 73 20 22 68 69 64 64 65 6e 22 20 76 61 6c 75 | g.the.preference's."hidden".valu |
10e5c0 | 65 20 69 66 20 74 68 65 20 70 72 65 66 65 72 65 6e 63 65 20 69 73 0a 20 20 20 2a 20 75 6e 63 68 | e.if.the.preference.is....*.unch |
10e5e0 | 61 6e 67 65 64 20 61 6e 64 20 72 65 70 72 65 73 65 6e 74 73 20 61 20 76 61 6c 75 65 20 6e 6f 74 | anged.and.represents.a.value.not |
10e600 | 20 73 74 72 69 63 74 6c 79 20 61 6c 6c 6f 77 65 64 20 69 6e 20 55 49 2e 0a 20 20 20 2a 2f 0a 20 | .strictly.allowed.in.UI.....*/.. |
10e620 | 20 77 72 69 74 65 43 68 65 63 6b 53 70 65 6c 6c 69 6e 67 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 | .writeCheckSpelling:.function.() |
10e640 | 0a 20 20 7b 0a 20 20 20 20 76 61 72 20 63 68 65 63 6b 62 6f 78 20 3d 20 64 6f 63 75 6d 65 6e 74 | ...{.....var.checkbox.=.document |
10e660 | 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 63 68 65 63 6b 53 70 65 6c 6c 69 6e 67 22 29 | .getElementById("checkSpelling") |
10e680 | 3b 0a 20 20 20 20 72 65 74 75 72 6e 20 63 68 65 63 6b 62 6f 78 2e 63 68 65 63 6b 65 64 20 3f 20 | ;.....return.checkbox.checked.?. |
10e6a0 | 28 74 68 69 73 2e 5f 73 74 6f 72 65 64 53 70 65 6c 6c 43 68 65 63 6b 20 3d 3d 20 32 20 3f 20 32 | (this._storedSpellCheck.==.2.?.2 |
10e6c0 | 20 3a 20 31 29 20 3a 20 30 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2f 20 4e 45 54 57 4f 52 4b 20 54 41 | .:.1).:.0;...},....//.NETWORK.TA |
10e6e0 | 42 0a 0a 20 20 2f 2a 0a 20 20 20 2a 20 50 72 65 66 65 72 65 6e 63 65 73 3a 0a 20 20 20 2a 0a 20 | B..../*....*.Preferences:....*.. |
10e700 | 20 20 2a 20 62 72 6f 77 73 65 72 2e 63 61 63 68 65 2e 64 69 73 6b 2e 63 61 70 61 63 69 74 79 0a | ..*.browser.cache.disk.capacity. |
10e720 | 20 20 20 2a 20 2d 20 74 68 65 20 73 69 7a 65 20 6f 66 20 74 68 65 20 62 72 6f 77 73 65 72 20 63 | ...*.-.the.size.of.the.browser.c |
10e740 | 61 63 68 65 20 69 6e 20 4b 42 0a 20 20 20 2a 2f 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 44 69 73 | ache.in.KB....*/..../**....*.Dis |
10e760 | 70 6c 61 79 73 20 61 20 64 69 61 6c 6f 67 20 69 6e 20 77 68 69 63 68 20 70 72 6f 78 79 20 73 65 | plays.a.dialog.in.which.proxy.se |
10e780 | 74 74 69 6e 67 73 20 6d 61 79 20 62 65 20 63 68 61 6e 67 65 64 2e 0a 20 20 20 2a 2f 0a 20 20 73 | ttings.may.be.changed.....*/...s |
10e7a0 | 68 6f 77 43 6f 6e 6e 65 63 74 69 6f 6e 73 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a | howConnections:.function.()...{. |
10e7c0 | 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 64 6f 63 75 6d 65 6e 74 45 6c 65 6d 65 6e 74 2e 6f 70 65 | ....document.documentElement.ope |
10e7e0 | 6e 53 75 62 44 69 61 6c 6f 67 28 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e | nSubDialog("chrome://browser/con |
10e800 | 74 65 6e 74 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 63 6f 6e 6e 65 63 74 69 6f 6e 2e 78 75 6c 22 | tent/preferences/connection.xul" |
10e820 | 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ,............................... |
10e840 | 20 20 20 20 20 20 20 20 20 20 20 20 20 22 22 2c 20 6e 75 6c 6c 29 3b 0a 20 20 7d 2c 0a 0a 20 20 | ............."",.null);...},.... |
10e860 | 2f 2a 2a 0a 20 20 20 2a 20 43 6f 6e 76 65 72 74 73 20 74 68 65 20 63 61 63 68 65 20 73 69 7a 65 | /**....*.Converts.the.cache.size |
10e880 | 20 66 72 6f 6d 20 75 6e 69 74 73 20 6f 66 20 4b 42 20 74 6f 20 75 6e 69 74 73 20 6f 66 20 4d 42 | .from.units.of.KB.to.units.of.MB |
10e8a0 | 20 61 6e 64 20 72 65 74 75 72 6e 73 20 74 68 61 74 0a 20 20 20 2a 20 76 61 6c 75 65 2e 0a 20 20 | .and.returns.that....*.value.... |
10e8c0 | 20 2a 2f 0a 20 20 72 65 61 64 43 61 63 68 65 53 69 7a 65 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 | .*/...readCacheSize:.function.() |
10e8e0 | 0a 20 20 7b 0a 20 20 20 20 76 61 72 20 70 72 65 66 65 72 65 6e 63 65 20 3d 20 64 6f 63 75 6d 65 | ...{.....var.preference.=.docume |
10e900 | 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 62 72 6f 77 73 65 72 2e 63 61 63 68 65 | nt.getElementById("browser.cache |
10e920 | 2e 64 69 73 6b 2e 63 61 70 61 63 69 74 79 22 29 3b 0a 20 20 20 20 72 65 74 75 72 6e 20 70 72 65 | .disk.capacity");.....return.pre |
10e940 | 66 65 72 65 6e 63 65 2e 76 61 6c 75 65 20 2f 20 31 30 32 34 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a | ference.value./.1024;...},..../* |
10e960 | 2a 0a 20 20 20 2a 20 43 6f 6e 76 65 72 74 73 20 74 68 65 20 63 61 63 68 65 20 73 69 7a 65 20 61 | *....*.Converts.the.cache.size.a |
10e980 | 73 20 73 70 65 63 69 66 69 65 64 20 69 6e 20 55 49 20 28 69 6e 20 4d 42 29 20 74 6f 20 4b 42 20 | s.specified.in.UI.(in.MB).to.KB. |
10e9a0 | 61 6e 64 20 72 65 74 75 72 6e 73 20 74 68 61 74 0a 20 20 20 2a 20 76 61 6c 75 65 2e 0a 20 20 20 | and.returns.that....*.value..... |
10e9c0 | 2a 2f 0a 20 20 77 72 69 74 65 43 61 63 68 65 53 69 7a 65 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 | */...writeCacheSize:.function.() |
10e9e0 | 0a 20 20 7b 0a 20 20 20 20 76 61 72 20 63 61 63 68 65 53 69 7a 65 20 3d 20 64 6f 63 75 6d 65 6e | ...{.....var.cacheSize.=.documen |
10ea00 | 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 63 61 63 68 65 53 69 7a 65 22 29 3b 0a 20 | t.getElementById("cacheSize");.. |
10ea20 | 20 20 20 76 61 72 20 69 6e 74 56 61 6c 75 65 20 3d 20 70 61 72 73 65 49 6e 74 28 63 61 63 68 65 | ...var.intValue.=.parseInt(cache |
10ea40 | 53 69 7a 65 2e 76 61 6c 75 65 2c 20 31 30 29 3b 0a 20 20 20 20 72 65 74 75 72 6e 20 69 73 4e 61 | Size.value,.10);.....return.isNa |
10ea60 | 4e 28 69 6e 74 56 61 6c 75 65 29 20 3f 20 30 20 3a 20 69 6e 74 56 61 6c 75 65 20 2a 20 31 30 32 | N(intValue).?.0.:.intValue.*.102 |
10ea80 | 34 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 43 6c 65 61 72 73 20 74 68 65 20 63 | 4;...},..../**....*.Clears.the.c |
10eaa0 | 61 63 68 65 2e 0a 20 20 20 2a 2f 0a 20 20 63 6c 65 61 72 43 61 63 68 65 3a 20 66 75 6e 63 74 69 | ache.....*/...clearCache:.functi |
10eac0 | 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 76 61 72 20 63 61 63 68 65 53 65 72 76 69 63 65 20 3d | on.()...{.....var.cacheService.= |
10eae0 | 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 | .Components.classes["@mozilla.or |
10eb00 | 67 2f 6e 65 74 77 6f 72 6b 2f 63 61 63 68 65 2d 73 65 72 76 69 63 65 3b 31 22 5d 0a 20 20 20 20 | g/network/cache-service;1"]..... |
10eb20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 09 20 20 20 20 20 20 20 2e 67 65 | ..............................ge |
10eb40 | 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e | tService(Components.interfaces.n |
10eb60 | 73 49 43 61 63 68 65 53 65 72 76 69 63 65 29 3b 0a 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 | sICacheService);.....try.{...... |
10eb80 | 20 63 61 63 68 65 53 65 72 76 69 63 65 2e 65 76 69 63 74 45 6e 74 72 69 65 73 28 43 6f 6d 70 6f | .cacheService.evictEntries(Compo |
10eba0 | 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 43 61 63 68 65 2e 53 54 4f 52 45 5f | nents.interfaces.nsICache.STORE_ |
10ebc0 | 41 4e 59 57 48 45 52 45 29 3b 0a 20 20 20 20 7d 20 63 61 74 63 68 28 65 78 29 20 7b 7d 0a 20 20 | ANYWHERE);.....}.catch(ex).{}... |
10ebe0 | 7d 2c 0a 0a 20 20 72 65 61 64 4f 66 66 6c 69 6e 65 4e 6f 74 69 66 79 3a 20 66 75 6e 63 74 69 6f | },....readOfflineNotify:.functio |
10ec00 | 6e 28 29 0a 20 20 7b 0a 20 20 20 20 76 61 72 20 70 72 65 66 20 3d 20 64 6f 63 75 6d 65 6e 74 2e | n()...{.....var.pref.=.document. |
10ec20 | 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 62 72 6f 77 73 65 72 2e 6f 66 66 6c 69 6e 65 2d | getElementById("browser.offline- |
10ec40 | 61 70 70 73 2e 6e 6f 74 69 66 79 22 29 3b 0a 20 20 20 20 76 61 72 20 62 75 74 74 6f 6e 20 3d 20 | apps.notify");.....var.button.=. |
10ec60 | 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 6f 66 66 6c 69 6e 65 | document.getElementById("offline |
10ec80 | 4e 6f 74 69 66 79 45 78 63 65 70 74 69 6f 6e 73 22 29 3b 0a 20 20 20 20 62 75 74 74 6f 6e 2e 64 | NotifyExceptions");.....button.d |
10eca0 | 69 73 61 62 6c 65 64 20 3d 20 21 70 72 65 66 2e 76 61 6c 75 65 3b 0a 20 20 20 20 72 65 74 75 72 | isabled.=.!pref.value;.....retur |
10ecc0 | 6e 20 70 72 65 66 2e 76 61 6c 75 65 3b 0a 20 20 7d 2c 0a 0a 20 20 73 68 6f 77 4f 66 66 6c 69 6e | n.pref.value;...},....showOfflin |
10ece0 | 65 45 78 63 65 70 74 69 6f 6e 73 3a 20 66 75 6e 63 74 69 6f 6e 28 29 0a 20 20 7b 0a 20 20 20 20 | eExceptions:.function()...{..... |
10ed00 | 76 61 72 20 62 75 6e 64 6c 65 50 72 65 66 65 72 65 6e 63 65 73 20 3d 20 64 6f 63 75 6d 65 6e 74 | var.bundlePreferences.=.document |
10ed20 | 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 62 75 6e 64 6c 65 50 72 65 66 65 72 65 6e 63 | .getElementById("bundlePreferenc |
10ed40 | 65 73 22 29 3b 0a 20 20 20 20 76 61 72 20 70 61 72 61 6d 73 20 3d 20 7b 20 62 6c 6f 63 6b 56 69 | es");.....var.params.=.{.blockVi |
10ed60 | 73 69 62 6c 65 20 20 20 20 20 3a 20 66 61 6c 73 65 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | sible.....:.false,.............. |
10ed80 | 20 20 20 20 20 20 73 65 73 73 69 6f 6e 56 69 73 69 62 6c 65 20 20 20 3a 20 66 61 6c 73 65 2c 0a | ......sessionVisible...:.false,. |
10eda0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 6c 6c 6f 77 56 69 73 69 62 6c 65 20 | ...................allowVisible. |
10edc0 | 20 20 20 20 3a 20 66 61 6c 73 65 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ....:.false,.................... |
10ede0 | 70 72 65 66 69 6c 6c 65 64 48 6f 73 74 20 20 20 20 3a 20 22 22 2c 0a 20 20 20 20 20 20 20 20 20 | prefilledHost....:."",.......... |
10ee00 | 20 20 20 20 20 20 20 20 20 20 70 65 72 6d 69 73 73 69 6f 6e 54 79 70 65 20 20 20 3a 20 22 6f 66 | ..........permissionType...:."of |
10ee20 | 66 6c 69 6e 65 2d 61 70 70 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d | fline-app",....................m |
10ee40 | 61 6e 61 67 65 43 61 70 61 62 69 6c 69 74 79 20 3a 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 | anageCapability.:.Components.int |
10ee60 | 65 72 66 61 63 65 73 2e 6e 73 49 50 65 72 6d 69 73 73 69 6f 6e 4d 61 6e 61 67 65 72 2e 44 45 4e | erfaces.nsIPermissionManager.DEN |
10ee80 | 59 5f 41 43 54 49 4f 4e 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 77 69 6e | Y_ACTION,....................win |
10eea0 | 64 6f 77 54 69 74 6c 65 20 20 20 20 20 20 3a 20 62 75 6e 64 6c 65 50 72 65 66 65 72 65 6e 63 65 | dowTitle......:.bundlePreference |
10eec0 | 73 2e 67 65 74 53 74 72 69 6e 67 28 22 6f 66 66 6c 69 6e 65 70 65 72 6d 69 73 73 69 6f 6e 73 74 | s.getString("offlinepermissionst |
10eee0 | 69 74 6c 65 22 29 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 74 72 6f | itle"),....................intro |
10ef00 | 54 65 78 74 20 20 20 20 20 20 20 20 3a 20 62 75 6e 64 6c 65 50 72 65 66 65 72 65 6e 63 65 73 2e | Text........:.bundlePreferences. |
10ef20 | 67 65 74 53 74 72 69 6e 67 28 22 6f 66 66 6c 69 6e 65 70 65 72 6d 69 73 73 69 6f 6e 73 74 65 78 | getString("offlinepermissionstex |
10ef40 | 74 22 29 20 7d 3b 0a 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 64 6f 63 75 6d 65 6e 74 45 6c 65 6d | t").};.....document.documentElem |
10ef60 | 65 6e 74 2e 6f 70 65 6e 57 69 6e 64 6f 77 28 22 42 72 6f 77 73 65 72 3a 50 65 72 6d 69 73 73 69 | ent.openWindow("Browser:Permissi |
10ef80 | 6f 6e 73 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ons",........................... |
10efa0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f | .............."chrome://browser/ |
10efc0 | 63 6f 6e 74 65 6e 74 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 70 65 72 6d 69 73 73 69 6f 6e 73 2e | content/preferences/permissions. |
10efe0 | 78 75 6c 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | xul",........................... |
10f000 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 22 2c 20 70 61 72 61 6d 73 29 3b 0a 20 20 7d 2c 0a | .............."",.params);...},. |
10f020 | 0a 20 20 2f 2f 20 58 58 58 3a 20 64 75 70 6c 69 63 61 74 65 64 20 69 6e 20 62 72 6f 77 73 65 72 | ...//.XXX:.duplicated.in.browser |
10f040 | 2e 6a 73 0a 20 20 5f 67 65 74 4f 66 66 6c 69 6e 65 41 70 70 55 73 61 67 65 3a 20 66 75 6e 63 74 | .js..._getOfflineAppUsage:.funct |
10f060 | 69 6f 6e 20 28 68 6f 73 74 2c 20 67 72 6f 75 70 73 29 0a 20 20 7b 0a 20 20 20 20 76 61 72 20 63 | ion.(host,.groups)...{.....var.c |
10f080 | 61 63 68 65 53 65 72 76 69 63 65 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 | acheService.=.Components.classes |
10f0a0 | 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6e 65 74 77 6f 72 6b 2f 61 70 70 6c 69 63 61 74 69 | ["@mozilla.org/network/applicati |
10f0c0 | 6f 6e 2d 63 61 63 68 65 2d 73 65 72 76 69 63 65 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 | on-cache-service;1"]............ |
10f0e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e | .............getService(Componen |
10f100 | 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 41 70 70 6c 69 63 61 74 69 6f 6e 43 61 63 68 | ts.interfaces.nsIApplicationCach |
10f120 | 65 53 65 72 76 69 63 65 29 3b 0a 20 20 20 20 69 66 20 28 21 67 72 6f 75 70 73 29 20 7b 0a 20 20 | eService);.....if.(!groups).{... |
10f140 | 20 20 20 20 67 72 6f 75 70 73 20 3d 20 63 61 63 68 65 53 65 72 76 69 63 65 2e 67 65 74 47 72 6f | ....groups.=.cacheService.getGro |
10f160 | 75 70 73 28 7b 7d 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 76 61 72 20 69 6f 73 20 3d 20 43 6f 6d | ups({});.....}.....var.ios.=.Com |
10f180 | 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6e 65 | ponents.classes["@mozilla.org/ne |
10f1a0 | 74 77 6f 72 6b 2f 69 6f 2d 73 65 72 76 69 63 65 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 | twork/io-service;1"]............ |
10f1c0 | 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 | ....getService(Components.interf |
10f1e0 | 61 63 65 73 2e 6e 73 49 49 4f 53 65 72 76 69 63 65 29 3b 0a 0a 20 20 20 20 76 61 72 20 75 73 61 | aces.nsIIOService);......var.usa |
10f200 | 67 65 20 3d 20 30 3b 0a 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 | ge.=.0;.....for.(var.i.=.0;.i.<. |
10f220 | 67 72 6f 75 70 73 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 | groups.length;.i++).{.......var. |
10f240 | 75 72 69 20 3d 20 69 6f 73 2e 6e 65 77 55 52 49 28 67 72 6f 75 70 73 5b 69 5d 2c 20 6e 75 6c 6c | uri.=.ios.newURI(groups[i],.null |
10f260 | 2c 20 6e 75 6c 6c 29 3b 0a 20 20 20 20 20 20 69 66 20 28 75 72 69 2e 61 73 63 69 69 48 6f 73 74 | ,.null);.......if.(uri.asciiHost |
10f280 | 20 3d 3d 20 68 6f 73 74 29 20 7b 0a 20 20 20 20 20 20 20 20 76 61 72 20 63 61 63 68 65 20 3d 20 | .==.host).{.........var.cache.=. |
10f2a0 | 63 61 63 68 65 53 65 72 76 69 63 65 2e 67 65 74 41 63 74 69 76 65 43 61 63 68 65 28 67 72 6f 75 | cacheService.getActiveCache(grou |
10f2c0 | 70 73 5b 69 5d 29 3b 0a 20 20 20 20 20 20 20 20 75 73 61 67 65 20 2b 3d 20 63 61 63 68 65 2e 75 | ps[i]);.........usage.+=.cache.u |
10f2e0 | 73 61 67 65 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 0a 20 20 20 20 76 61 72 20 73 74 6f | sage;.......}.....}......var.sto |
10f300 | 72 61 67 65 4d 61 6e 61 67 65 72 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 | rageManager.=.Components.classes |
10f320 | 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 64 6f 6d 2f 73 74 6f 72 61 67 65 6d 61 6e 61 67 65 | ["@mozilla.org/dom/storagemanage |
10f340 | 72 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | r;1"]........................... |
10f360 | 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 | getService(Components.interfaces |
10f380 | 2e 6e 73 49 44 4f 4d 53 74 6f 72 61 67 65 4d 61 6e 61 67 65 72 29 3b 0a 20 20 20 20 75 73 61 67 | .nsIDOMStorageManager);.....usag |
10f3a0 | 65 20 2b 3d 20 73 74 6f 72 61 67 65 4d 61 6e 61 67 65 72 2e 67 65 74 55 73 61 67 65 28 68 6f 73 | e.+=.storageManager.getUsage(hos |
10f3c0 | 74 29 3b 0a 0a 20 20 20 20 72 65 74 75 72 6e 20 75 73 61 67 65 3b 0a 20 20 7d 2c 0a 0a 20 20 2f | t);......return.usage;...},..../ |
10f3e0 | 2a 2a 0a 20 20 20 2a 20 55 70 64 61 74 65 73 20 74 68 65 20 6c 69 73 74 20 6f 66 20 6f 66 66 6c | **....*.Updates.the.list.of.offl |
10f400 | 69 6e 65 20 61 70 70 6c 69 63 61 74 69 6f 6e 73 0a 20 20 20 2a 2f 0a 20 20 75 70 64 61 74 65 4f | ine.applications....*/...updateO |
10f420 | 66 66 6c 69 6e 65 41 70 70 73 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 | fflineApps:.function.()...{..... |
10f440 | 76 61 72 20 70 6d 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f | var.pm.=.Components.classes["@mo |
10f460 | 7a 69 6c 6c 61 2e 6f 72 67 2f 70 65 72 6d 69 73 73 69 6f 6e 6d 61 6e 61 67 65 72 3b 31 22 5d 0a | zilla.org/permissionmanager;1"]. |
10f480 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 | ........................getServi |
10f4a0 | 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 50 65 72 6d | ce(Components.interfaces.nsIPerm |
10f4c0 | 69 73 73 69 6f 6e 4d 61 6e 61 67 65 72 29 3b 0a 0a 20 20 20 20 76 61 72 20 6c 69 73 74 20 3d 20 | issionManager);......var.list.=. |
10f4e0 | 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 6f 66 66 6c 69 6e 65 | document.getElementById("offline |
10f500 | 41 70 70 73 4c 69 73 74 22 29 3b 0a 20 20 20 20 77 68 69 6c 65 20 28 6c 69 73 74 2e 66 69 72 73 | AppsList");.....while.(list.firs |
10f520 | 74 43 68 69 6c 64 29 20 7b 0a 20 20 20 20 20 20 6c 69 73 74 2e 72 65 6d 6f 76 65 43 68 69 6c 64 | tChild).{.......list.removeChild |
10f540 | 28 6c 69 73 74 2e 66 69 72 73 74 43 68 69 6c 64 29 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 76 61 | (list.firstChild);.....}......va |
10f560 | 72 20 63 61 63 68 65 53 65 72 76 69 63 65 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 | r.cacheService.=.Components.clas |
10f580 | 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6e 65 74 77 6f 72 6b 2f 61 70 70 6c 69 63 | ses["@mozilla.org/network/applic |
10f5a0 | 61 74 69 6f 6e 2d 63 61 63 68 65 2d 73 65 72 76 69 63 65 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 | ation-cache-service;1"]......... |
10f5c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f | ................getService(Compo |
10f5e0 | 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 41 70 70 6c 69 63 61 74 69 6f 6e 43 | nents.interfaces.nsIApplicationC |
10f600 | 61 63 68 65 53 65 72 76 69 63 65 29 3b 0a 20 20 20 20 76 61 72 20 67 72 6f 75 70 73 20 3d 20 63 | acheService);.....var.groups.=.c |
10f620 | 61 63 68 65 53 65 72 76 69 63 65 2e 67 65 74 47 72 6f 75 70 73 28 7b 7d 29 3b 0a 0a 20 20 20 20 | acheService.getGroups({});...... |
10f640 | 76 61 72 20 62 75 6e 64 6c 65 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 | var.bundle.=.document.getElement |
10f660 | 42 79 49 64 28 22 62 75 6e 64 6c 65 50 72 65 66 65 72 65 6e 63 65 73 22 29 3b 0a 0a 20 20 20 20 | ById("bundlePreferences");...... |
10f680 | 76 61 72 20 65 6e 75 6d 65 72 61 74 6f 72 20 3d 20 70 6d 2e 65 6e 75 6d 65 72 61 74 6f 72 3b 0a | var.enumerator.=.pm.enumerator;. |
10f6a0 | 20 20 20 20 77 68 69 6c 65 20 28 65 6e 75 6d 65 72 61 74 6f 72 2e 68 61 73 4d 6f 72 65 45 6c 65 | ....while.(enumerator.hasMoreEle |
10f6c0 | 6d 65 6e 74 73 28 29 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 70 65 72 6d 20 3d 20 65 6e 75 6d | ments()).{.......var.perm.=.enum |
10f6e0 | 65 72 61 74 6f 72 2e 67 65 74 4e 65 78 74 28 29 2e 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 28 | erator.getNext().QueryInterface( |
10f700 | 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 50 65 72 6d 69 73 73 | Components.interfaces.nsIPermiss |
10f720 | 69 6f 6e 29 3b 0a 20 20 20 20 20 20 69 66 20 28 70 65 72 6d 2e 74 79 70 65 20 3d 3d 20 22 6f 66 | ion);.......if.(perm.type.==."of |
10f740 | 66 6c 69 6e 65 2d 61 70 70 22 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 70 65 72 6d 2e 63 61 70 | fline-app".&&...........perm.cap |
10f760 | 61 62 69 6c 69 74 79 20 21 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 | ability.!=.Components.interfaces |
10f780 | 2e 6e 73 49 50 65 72 6d 69 73 73 69 6f 6e 4d 61 6e 61 67 65 72 2e 44 45 46 41 55 4c 54 5f 41 43 | .nsIPermissionManager.DEFAULT_AC |
10f7a0 | 54 49 4f 4e 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 70 65 72 6d 2e 63 61 70 61 62 69 6c 69 74 | TION.&&...........perm.capabilit |
10f7c0 | 79 20 21 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 50 65 | y.!=.Components.interfaces.nsIPe |
10f7e0 | 72 6d 69 73 73 69 6f 6e 4d 61 6e 61 67 65 72 2e 44 45 4e 59 5f 41 43 54 49 4f 4e 29 20 7b 0a 20 | rmissionManager.DENY_ACTION).{.. |
10f800 | 20 20 20 20 20 20 20 76 61 72 20 72 6f 77 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 63 72 65 61 74 65 | .......var.row.=.document.create |
10f820 | 45 6c 65 6d 65 6e 74 28 22 6c 69 73 74 69 74 65 6d 22 29 3b 0a 20 20 20 20 20 20 20 20 72 6f 77 | Element("listitem");.........row |
10f840 | 2e 69 64 20 3d 20 22 22 3b 0a 20 20 20 20 20 20 20 20 72 6f 77 2e 63 6c 61 73 73 4e 61 6d 65 20 | .id.=."";.........row.className. |
10f860 | 3d 20 22 6f 66 66 6c 69 6e 65 61 70 70 22 3b 0a 20 20 20 20 20 20 20 20 72 6f 77 2e 73 65 74 41 | =."offlineapp";.........row.setA |
10f880 | 74 74 72 69 62 75 74 65 28 22 68 6f 73 74 22 2c 20 70 65 72 6d 2e 68 6f 73 74 29 3b 0a 20 20 20 | ttribute("host",.perm.host);.... |
10f8a0 | 20 20 20 20 20 76 61 72 20 63 6f 6e 76 65 72 74 65 64 20 3d 20 44 6f 77 6e 6c 6f 61 64 55 74 69 | .....var.converted.=.DownloadUti |
10f8c0 | 6c 73 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6e 76 | ls..........................conv |
10f8e0 | 65 72 74 42 79 74 65 55 6e 69 74 73 28 74 68 69 73 2e 5f 67 65 74 4f 66 66 6c 69 6e 65 41 70 70 | ertByteUnits(this._getOfflineApp |
10f900 | 55 73 61 67 65 28 70 65 72 6d 2e 68 6f 73 74 2c 20 67 72 6f 75 70 73 29 29 3b 0a 20 20 20 20 20 | Usage(perm.host,.groups));...... |
10f920 | 20 20 20 72 6f 77 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 75 73 61 67 65 22 2c 0a 20 20 20 | ...row.setAttribute("usage",.... |
10f940 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 75 6e 64 6c 65 2e 67 65 74 | ......................bundle.get |
10f960 | 46 6f 72 6d 61 74 74 65 64 53 74 72 69 6e 67 28 22 6f 66 66 6c 69 6e 65 41 70 70 55 73 61 67 65 | FormattedString("offlineAppUsage |
10f980 | 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ",.............................. |
10f9a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6e 76 65 72 74 65 64 29 | ......................converted) |
10f9c0 | 29 3b 0a 20 20 20 20 20 20 20 20 6c 69 73 74 2e 61 70 70 65 6e 64 43 68 69 6c 64 28 72 6f 77 29 | );.........list.appendChild(row) |
10f9e0 | 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 6f 66 66 6c 69 6e 65 41 | ;.......}.....}...},....offlineA |
10fa00 | 70 70 53 65 6c 65 63 74 65 64 3a 20 66 75 6e 63 74 69 6f 6e 28 29 0a 20 20 7b 0a 20 20 20 20 76 | ppSelected:.function()...{.....v |
10fa20 | 61 72 20 72 65 6d 6f 76 65 42 75 74 74 6f 6e 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c | ar.removeButton.=.document.getEl |
10fa40 | 65 6d 65 6e 74 42 79 49 64 28 22 6f 66 66 6c 69 6e 65 41 70 70 73 4c 69 73 74 52 65 6d 6f 76 65 | ementById("offlineAppsListRemove |
10fa60 | 22 29 3b 0a 20 20 20 20 76 61 72 20 6c 69 73 74 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 | ");.....var.list.=.document.getE |
10fa80 | 6c 65 6d 65 6e 74 42 79 49 64 28 22 6f 66 66 6c 69 6e 65 41 70 70 73 4c 69 73 74 22 29 3b 0a 20 | lementById("offlineAppsList");.. |
10faa0 | 20 20 20 69 66 20 28 6c 69 73 74 2e 73 65 6c 65 63 74 65 64 49 74 65 6d 29 20 7b 0a 20 20 20 20 | ...if.(list.selectedItem).{..... |
10fac0 | 20 20 72 65 6d 6f 76 65 42 75 74 74 6f 6e 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 64 69 73 | ..removeButton.setAttribute("dis |
10fae0 | 61 62 6c 65 64 22 2c 20 22 66 61 6c 73 65 22 29 3b 0a 20 20 20 20 7d 20 65 6c 73 65 20 7b 0a 20 | abled",."false");.....}.else.{.. |
10fb00 | 20 20 20 20 20 72 65 6d 6f 76 65 42 75 74 74 6f 6e 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 | .....removeButton.setAttribute(" |
10fb20 | 64 69 73 61 62 6c 65 64 22 2c 20 22 74 72 75 65 22 29 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a | disabled",."true");.....}...},.. |
10fb40 | 20 20 72 65 6d 6f 76 65 4f 66 66 6c 69 6e 65 41 70 70 3a 20 66 75 6e 63 74 69 6f 6e 28 29 0a 20 | ..removeOfflineApp:.function().. |
10fb60 | 20 7b 0a 20 20 20 20 76 61 72 20 6c 69 73 74 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c | .{.....var.list.=.document.getEl |
10fb80 | 65 6d 65 6e 74 42 79 49 64 28 22 6f 66 66 6c 69 6e 65 41 70 70 73 4c 69 73 74 22 29 3b 0a 20 20 | ementById("offlineAppsList");... |
10fba0 | 20 20 76 61 72 20 69 74 65 6d 20 3d 20 6c 69 73 74 2e 73 65 6c 65 63 74 65 64 49 74 65 6d 3b 0a | ..var.item.=.list.selectedItem;. |
10fbc0 | 20 20 20 20 76 61 72 20 68 6f 73 74 20 3d 20 69 74 65 6d 2e 67 65 74 41 74 74 72 69 62 75 74 65 | ....var.host.=.item.getAttribute |
10fbe0 | 28 22 68 6f 73 74 22 29 3b 0a 0a 20 20 20 20 76 61 72 20 70 72 6f 6d 70 74 73 20 3d 20 43 6f 6d | ("host");......var.prompts.=.Com |
10fc00 | 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 65 6d | ponents.classes["@mozilla.org/em |
10fc20 | 62 65 64 63 6f 6d 70 2f 70 72 6f 6d 70 74 2d 73 65 72 76 69 63 65 3b 31 22 5d 0a 20 20 20 20 20 | bedcomp/prompt-service;1"]...... |
10fc40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 | ........................getServi |
10fc60 | 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 50 72 6f 6d | ce(Components.interfaces.nsIProm |
10fc80 | 70 74 53 65 72 76 69 63 65 29 3b 0a 20 20 20 20 76 61 72 20 66 6c 61 67 73 20 3d 20 70 72 6f 6d | ptService);.....var.flags.=.prom |
10fca0 | 70 74 73 2e 42 55 54 54 4f 4e 5f 54 49 54 4c 45 5f 49 53 5f 53 54 52 49 4e 47 20 2a 20 70 72 6f | pts.BUTTON_TITLE_IS_STRING.*.pro |
10fcc0 | 6d 70 74 73 2e 42 55 54 54 4f 4e 5f 50 4f 53 5f 30 20 2b 0a 20 20 20 20 20 20 20 20 20 20 20 20 | mpts.BUTTON_POS_0.+............. |
10fce0 | 20 20 20 20 70 72 6f 6d 70 74 73 2e 42 55 54 54 4f 4e 5f 54 49 54 4c 45 5f 43 41 4e 43 45 4c 20 | ....prompts.BUTTON_TITLE_CANCEL. |
10fd00 | 2a 20 70 72 6f 6d 70 74 73 2e 42 55 54 54 4f 4e 5f 50 4f 53 5f 31 3b 0a 0a 20 20 20 20 76 61 72 | *.prompts.BUTTON_POS_1;......var |
10fd20 | 20 62 75 6e 64 6c 65 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 | .bundle.=.document.getElementByI |
10fd40 | 64 28 22 62 75 6e 64 6c 65 50 72 65 66 65 72 65 6e 63 65 73 22 29 3b 0a 20 20 20 20 76 61 72 20 | d("bundlePreferences");.....var. |
10fd60 | 74 69 74 6c 65 20 3d 20 62 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 6f 66 66 6c 69 6e | title.=.bundle.getString("offlin |
10fd80 | 65 41 70 70 52 65 6d 6f 76 65 54 69 74 6c 65 22 29 3b 0a 20 20 20 20 76 61 72 20 70 72 6f 6d 70 | eAppRemoveTitle");.....var.promp |
10fda0 | 74 20 3d 20 62 75 6e 64 6c 65 2e 67 65 74 46 6f 72 6d 61 74 74 65 64 53 74 72 69 6e 67 28 22 6f | t.=.bundle.getFormattedString("o |
10fdc0 | 66 66 6c 69 6e 65 41 70 70 52 65 6d 6f 76 65 50 72 6f 6d 70 74 22 2c 20 5b 68 6f 73 74 5d 29 3b | fflineAppRemovePrompt",.[host]); |
10fde0 | 0a 20 20 20 20 76 61 72 20 63 6f 6e 66 69 72 6d 20 3d 20 62 75 6e 64 6c 65 2e 67 65 74 53 74 72 | .....var.confirm.=.bundle.getStr |
10fe00 | 69 6e 67 28 22 6f 66 66 6c 69 6e 65 41 70 70 52 65 6d 6f 76 65 43 6f 6e 66 69 72 6d 22 29 3b 0a | ing("offlineAppRemoveConfirm");. |
10fe20 | 20 20 20 20 76 61 72 20 72 65 73 75 6c 74 20 3d 20 70 72 6f 6d 70 74 73 2e 63 6f 6e 66 69 72 6d | ....var.result.=.prompts.confirm |
10fe40 | 45 78 28 77 69 6e 64 6f 77 2c 20 74 69 74 6c 65 2c 20 70 72 6f 6d 70 74 2c 20 66 6c 61 67 73 2c | Ex(window,.title,.prompt,.flags, |
10fe60 | 20 63 6f 6e 66 69 72 6d 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .confirm,....................... |
10fe80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 75 6c 6c 2c 20 6e 75 6c 6c 2c 20 6e 75 6c 6c 2c 20 7b | .............null,.null,.null,.{ |
10fea0 | 7d 29 3b 0a 20 20 20 20 69 66 20 28 72 65 73 75 6c 74 20 21 3d 20 30 29 0a 20 20 20 20 20 20 72 | });.....if.(result.!=.0).......r |
10fec0 | 65 74 75 72 6e 3b 0a 0a 20 20 20 20 2f 2f 20 63 6c 65 61 72 20 6f 66 66 6c 69 6e 65 20 63 61 63 | eturn;......//.clear.offline.cac |
10fee0 | 68 65 20 65 6e 74 72 69 65 73 0a 20 20 20 20 76 61 72 20 63 61 63 68 65 53 65 72 76 69 63 65 20 | he.entries.....var.cacheService. |
10ff00 | 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f | =.Components.classes["@mozilla.o |
10ff20 | 72 67 2f 6e 65 74 77 6f 72 6b 2f 61 70 70 6c 69 63 61 74 69 6f 6e 2d 63 61 63 68 65 2d 73 65 72 | rg/network/application-cache-ser |
10ff40 | 76 69 63 65 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | vice;1"]........................ |
10ff60 | 20 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 | .getService(Components.interface |
10ff80 | 73 2e 6e 73 49 41 70 70 6c 69 63 61 74 69 6f 6e 43 61 63 68 65 53 65 72 76 69 63 65 29 3b 0a 20 | s.nsIApplicationCacheService);.. |
10ffa0 | 20 20 20 76 61 72 20 69 6f 73 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b | ...var.ios.=.Components.classes[ |
10ffc0 | 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6e 65 74 77 6f 72 6b 2f 69 6f 2d 73 65 72 76 69 63 65 | "@mozilla.org/network/io-service |
10ffe0 | 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 | ;1"]................getService(C |
110000 | 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 49 4f 53 65 72 76 69 63 | omponents.interfaces.nsIIOServic |
110020 | 65 29 3b 0a 20 20 20 20 76 61 72 20 67 72 6f 75 70 73 20 3d 20 63 61 63 68 65 53 65 72 76 69 63 | e);.....var.groups.=.cacheServic |
110040 | 65 2e 67 65 74 47 72 6f 75 70 73 28 7b 7d 29 3b 0a 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 | e.getGroups({});.....for.(var.i. |
110060 | 3d 20 30 3b 20 69 20 3c 20 67 72 6f 75 70 73 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 20 7b 0a 20 | =.0;.i.<.groups.length;.i++).{.. |
110080 | 20 20 20 20 20 20 20 76 61 72 20 75 72 69 20 3d 20 69 6f 73 2e 6e 65 77 55 52 49 28 67 72 6f 75 | .......var.uri.=.ios.newURI(grou |
1100a0 | 70 73 5b 69 5d 2c 20 6e 75 6c 6c 2c 20 6e 75 6c 6c 29 3b 0a 20 20 20 20 20 20 20 20 69 66 20 28 | ps[i],.null,.null);.........if.( |
1100c0 | 75 72 69 2e 61 73 63 69 69 48 6f 73 74 20 3d 3d 20 68 6f 73 74 29 20 7b 0a 20 20 20 20 20 20 20 | uri.asciiHost.==.host).{........ |
1100e0 | 20 20 20 20 20 76 61 72 20 63 61 63 68 65 20 3d 20 63 61 63 68 65 53 65 72 76 69 63 65 2e 67 65 | .....var.cache.=.cacheService.ge |
110100 | 74 41 63 74 69 76 65 43 61 63 68 65 28 67 72 6f 75 70 73 5b 69 5d 29 3b 0a 20 20 20 20 20 20 20 | tActiveCache(groups[i]);........ |
110120 | 20 20 20 20 20 63 61 63 68 65 2e 64 69 73 63 61 72 64 28 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a | .....cache.discard();.........}. |
110140 | 20 20 20 20 7d 0a 0a 20 20 20 20 2f 2f 20 73 65 6e 64 20 6f 75 74 20 61 6e 20 6f 66 66 6c 69 6e | ....}......//.send.out.an.offlin |
110160 | 65 2d 61 70 70 2d 72 65 6d 6f 76 65 64 20 73 69 67 6e 61 6c 2e 20 20 54 68 65 20 6e 73 44 4f 4d | e-app-removed.signal...The.nsDOM |
110180 | 53 74 6f 72 61 67 65 0a 20 20 20 20 2f 2f 20 73 65 72 76 69 63 65 20 77 69 6c 6c 20 63 6c 65 61 | Storage.....//.service.will.clea |
1101a0 | 72 20 44 4f 4d 20 73 74 6f 72 61 67 65 20 66 6f 72 20 74 68 69 73 20 68 6f 73 74 2e 0a 20 20 20 | r.DOM.storage.for.this.host..... |
1101c0 | 20 76 61 72 20 6f 62 73 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 | .var.obs.=.Components.classes["@ |
1101e0 | 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6f 62 73 65 72 76 65 72 2d 73 65 72 76 69 63 65 3b 31 22 5d | mozilla.org/observer-service;1"] |
110200 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 | ..........................getSer |
110220 | 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 4f 62 | vice(Components.interfaces.nsIOb |
110240 | 73 65 72 76 65 72 53 65 72 76 69 63 65 29 3b 0a 20 20 20 20 6f 62 73 2e 6e 6f 74 69 66 79 4f 62 | serverService);.....obs.notifyOb |
110260 | 73 65 72 76 65 72 73 28 6e 75 6c 6c 2c 20 22 6f 66 66 6c 69 6e 65 2d 61 70 70 2d 72 65 6d 6f 76 | servers(null,."offline-app-remov |
110280 | 65 64 22 2c 20 68 6f 73 74 29 3b 0a 0a 20 20 20 20 2f 2f 20 72 65 6d 6f 76 65 20 74 68 65 20 70 | ed",.host);......//.remove.the.p |
1102a0 | 65 72 6d 69 73 73 69 6f 6e 0a 20 20 20 20 76 61 72 20 70 6d 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 | ermission.....var.pm.=.Component |
1102c0 | 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 70 65 72 6d 69 73 73 69 | s.classes["@mozilla.org/permissi |
1102e0 | 6f 6e 6d 61 6e 61 67 65 72 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | onmanager;1"]................... |
110300 | 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 | ......getService(Components.inte |
110320 | 72 66 61 63 65 73 2e 6e 73 49 50 65 72 6d 69 73 73 69 6f 6e 4d 61 6e 61 67 65 72 29 3b 0a 20 20 | rfaces.nsIPermissionManager);... |
110340 | 20 20 70 6d 2e 72 65 6d 6f 76 65 28 68 6f 73 74 2c 20 22 6f 66 66 6c 69 6e 65 2d 61 70 70 22 2c | ..pm.remove(host,."offline-app", |
110360 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 | ...............Components.interf |
110380 | 61 63 65 73 2e 6e 73 49 50 65 72 6d 69 73 73 69 6f 6e 4d 61 6e 61 67 65 72 2e 41 4c 4c 4f 57 5f | aces.nsIPermissionManager.ALLOW_ |
1103a0 | 41 43 54 49 4f 4e 29 3b 0a 20 20 20 20 70 6d 2e 72 65 6d 6f 76 65 28 68 6f 73 74 2c 20 22 6f 66 | ACTION);.....pm.remove(host,."of |
1103c0 | 66 6c 69 6e 65 2d 61 70 70 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 43 6f 6d 70 6f 6e | fline-app",...............Compon |
1103e0 | 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 4f 66 66 6c 69 6e 65 43 61 63 68 65 55 | ents.interfaces.nsIOfflineCacheU |
110400 | 70 64 61 74 65 53 65 72 76 69 63 65 2e 41 4c 4c 4f 57 5f 4e 4f 5f 57 41 52 4e 29 3b 0a 0a 20 20 | pdateService.ALLOW_NO_WARN);.... |
110420 | 20 20 6c 69 73 74 2e 72 65 6d 6f 76 65 43 68 69 6c 64 28 69 74 65 6d 29 3b 0a 20 20 20 20 67 41 | ..list.removeChild(item);.....gA |
110440 | 64 76 61 6e 63 65 64 50 61 6e 65 2e 6f 66 66 6c 69 6e 65 41 70 70 53 65 6c 65 63 74 65 64 28 29 | dvancedPane.offlineAppSelected() |
110460 | 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2f 20 55 50 44 41 54 45 20 54 41 42 0a 0a 20 20 2f 2a 0a 20 20 | ;...},....//.UPDATE.TAB..../*... |
110480 | 20 2a 20 50 72 65 66 65 72 65 6e 63 65 73 3a 0a 20 20 20 2a 0a 20 20 20 2a 20 61 70 70 2e 75 70 | .*.Preferences:....*....*.app.up |
1104a0 | 64 61 74 65 2e 65 6e 61 62 6c 65 64 0a 20 20 20 2a 20 2d 20 74 72 75 65 20 69 66 20 75 70 64 61 | date.enabled....*.-.true.if.upda |
1104c0 | 74 65 73 20 74 6f 20 74 68 65 20 61 70 70 6c 69 63 61 74 69 6f 6e 20 61 72 65 20 65 6e 61 62 6c | tes.to.the.application.are.enabl |
1104e0 | 65 64 2c 20 66 61 6c 73 65 20 6f 74 68 65 72 77 69 73 65 0a 20 20 20 2a 20 65 78 74 65 6e 73 69 | ed,.false.otherwise....*.extensi |
110500 | 6f 6e 73 2e 75 70 64 61 74 65 2e 65 6e 61 62 6c 65 64 0a 20 20 20 2a 20 2d 20 74 72 75 65 20 69 | ons.update.enabled....*.-.true.i |
110520 | 66 20 75 70 64 61 74 65 73 20 74 6f 20 65 78 74 65 6e 73 69 6f 6e 73 20 61 6e 64 20 74 68 65 6d | f.updates.to.extensions.and.them |
110540 | 65 73 20 61 72 65 20 65 6e 61 62 6c 65 64 2c 20 66 61 6c 73 65 20 6f 74 68 65 72 77 69 73 65 0a | es.are.enabled,.false.otherwise. |
110560 | 20 20 20 2a 20 62 72 6f 77 73 65 72 2e 73 65 61 72 63 68 2e 75 70 64 61 74 65 0a 20 20 20 2a 20 | ...*.browser.search.update....*. |
110580 | 2d 20 74 72 75 65 20 69 66 20 75 70 64 61 74 65 73 20 74 6f 20 73 65 61 72 63 68 20 65 6e 67 69 | -.true.if.updates.to.search.engi |
1105a0 | 6e 65 73 20 61 72 65 20 65 6e 61 62 6c 65 64 2c 20 66 61 6c 73 65 20 6f 74 68 65 72 77 69 73 65 | nes.are.enabled,.false.otherwise |
1105c0 | 0a 20 20 20 2a 20 61 70 70 2e 75 70 64 61 74 65 2e 61 75 74 6f 0a 20 20 20 2a 20 2d 20 74 72 75 | ....*.app.update.auto....*.-.tru |
1105e0 | 65 20 69 66 20 75 70 64 61 74 65 73 20 73 68 6f 75 6c 64 20 62 65 20 61 75 74 6f 6d 61 74 69 63 | e.if.updates.should.be.automatic |
110600 | 61 6c 6c 79 20 64 6f 77 6e 6c 6f 61 64 65 64 20 61 6e 64 20 69 6e 73 74 61 6c 6c 65 64 2c 0a 20 | ally.downloaded.and.installed,.. |
110620 | 20 20 2a 20 20 20 70 6f 73 73 69 62 6c 79 20 77 69 74 68 20 61 20 77 61 72 6e 69 6e 67 20 69 66 | ..*...possibly.with.a.warning.if |
110640 | 20 69 6e 63 6f 6d 70 61 74 69 62 6c 65 20 65 78 74 65 6e 73 69 6f 6e 73 20 61 72 65 20 69 6e 73 | .incompatible.extensions.are.ins |
110660 | 74 61 6c 6c 65 64 20 28 73 65 65 0a 20 20 20 2a 20 20 20 61 70 70 2e 75 70 64 61 74 65 2e 6d 6f | talled.(see....*...app.update.mo |
110680 | 64 65 29 3b 20 66 61 6c 73 65 20 69 66 20 74 68 65 20 75 73 65 72 20 73 68 6f 75 6c 64 20 62 65 | de);.false.if.the.user.should.be |
1106a0 | 20 61 73 6b 65 64 20 77 68 61 74 20 68 65 20 77 61 6e 74 73 20 74 6f 20 64 6f 0a 20 20 20 2a 20 | .asked.what.he.wants.to.do....*. |
1106c0 | 20 20 77 68 65 6e 20 61 6e 20 75 70 64 61 74 65 20 69 73 20 61 76 61 69 6c 61 62 6c 65 0a 20 20 | ..when.an.update.is.available... |
1106e0 | 20 2a 20 61 70 70 2e 75 70 64 61 74 65 2e 6d 6f 64 65 0a 20 20 20 2a 20 2d 20 61 6e 20 69 6e 74 | .*.app.update.mode....*.-.an.int |
110700 | 65 67 65 72 3a 0a 20 20 20 2a 20 20 20 20 20 30 20 20 20 20 64 6f 20 6e 6f 74 20 77 61 72 6e 20 | eger:....*.....0....do.not.warn. |
110720 | 69 66 20 61 6e 20 75 70 64 61 74 65 20 77 69 6c 6c 20 64 69 73 61 62 6c 65 20 65 78 74 65 6e 73 | if.an.update.will.disable.extens |
110740 | 69 6f 6e 73 20 6f 72 20 74 68 65 6d 65 73 0a 20 20 20 2a 20 20 20 20 20 31 20 20 20 20 77 61 72 | ions.or.themes....*.....1....war |
110760 | 6e 20 69 66 20 61 6e 20 75 70 64 61 74 65 20 77 69 6c 6c 20 64 69 73 61 62 6c 65 20 65 78 74 65 | n.if.an.update.will.disable.exte |
110780 | 6e 73 69 6f 6e 73 20 6f 72 20 74 68 65 6d 65 73 0a 20 20 20 2a 20 20 20 20 20 32 20 20 20 20 77 | nsions.or.themes....*.....2....w |
1107a0 | 61 72 6e 20 69 66 20 61 6e 20 75 70 64 61 74 65 20 77 69 6c 6c 20 64 69 73 61 62 6c 65 20 65 78 | arn.if.an.update.will.disable.ex |
1107c0 | 74 65 6e 73 69 6f 6e 73 20 6f 72 20 74 68 65 6d 65 73 20 2a 6f 72 2a 20 69 66 20 74 68 65 0a 20 | tensions.or.themes.*or*.if.the.. |
1107e0 | 20 20 2a 20 20 20 20 20 20 20 20 20 20 75 70 64 61 74 65 20 69 73 20 61 20 6d 61 6a 6f 72 20 75 | ..*..........update.is.a.major.u |
110800 | 70 64 61 74 65 0a 20 20 20 2a 2f 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 45 6e 61 62 6c 65 73 20 | pdate....*/..../**....*.Enables. |
110820 | 61 6e 64 20 64 69 73 61 62 6c 65 73 20 76 61 72 69 6f 75 73 20 55 49 20 70 72 65 66 65 72 65 6e | and.disables.various.UI.preferen |
110840 | 63 65 73 20 61 73 20 6e 65 63 65 73 73 61 72 79 20 74 6f 20 72 65 66 6c 65 63 74 20 6c 6f 63 6b | ces.as.necessary.to.reflect.lock |
110860 | 65 64 2c 0a 20 20 20 2a 20 64 69 73 61 62 6c 65 64 2c 20 61 6e 64 20 63 68 65 63 6b 65 64 2f 75 | ed,....*.disabled,.and.checked/u |
110880 | 6e 63 68 65 63 6b 65 64 20 73 74 61 74 65 73 2e 0a 20 20 20 2a 0a 20 20 20 2a 20 55 49 20 73 74 | nchecked.states.....*....*.UI.st |
1108a0 | 61 74 65 20 6d 61 74 72 69 78 20 66 6f 72 20 75 70 64 61 74 65 20 70 72 65 66 65 72 65 6e 63 65 | ate.matrix.for.update.preference |
1108c0 | 20 63 6f 6e 64 69 74 69 6f 6e 73 0a 20 20 20 2a 20 0a 20 20 20 2a 20 55 49 20 43 6f 6d 70 6f 6e | .conditions....*.....*.UI.Compon |
1108e0 | 65 6e 74 73 3a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ents:........................... |
110900 | 20 20 20 20 20 20 20 20 20 20 50 72 65 66 65 72 65 6e 63 65 73 0a 20 20 20 2a 20 31 20 3d 20 46 | ..........Preferences....*.1.=.F |
110920 | 69 72 65 66 6f 78 20 63 68 65 63 6b 62 6f 78 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | irefox.checkbox................. |
110940 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 20 20 20 3d 20 61 70 70 2e 75 70 64 61 74 65 2e 65 | ..............i...=.app.update.e |
110960 | 6e 61 62 6c 65 64 0a 20 20 20 2a 20 32 20 3d 20 57 68 65 6e 20 75 70 64 61 74 65 73 20 66 6f 72 | nabled....*.2.=.When.updates.for |
110980 | 20 46 69 72 65 66 6f 78 20 61 72 65 20 66 6f 75 6e 64 20 6c 61 62 65 6c 20 20 20 20 20 20 20 69 | .Firefox.are.found.label.......i |
1109a0 | 69 20 20 3d 20 61 70 70 2e 75 70 64 61 74 65 2e 61 75 74 6f 0a 20 20 20 2a 20 33 20 3d 20 41 75 | i..=.app.update.auto....*.3.=.Au |
1109c0 | 74 6f 6d 61 74 69 63 20 52 61 64 69 6f 67 72 6f 75 70 20 28 41 73 6b 20 76 73 2e 20 41 75 74 6f | tomatic.Radiogroup.(Ask.vs..Auto |
1109e0 | 6d 61 74 69 63 61 6c 6c 79 29 20 20 20 69 69 69 20 3d 20 61 70 70 2e 75 70 64 61 74 65 2e 6d 6f | matically)...iii.=.app.update.mo |
110a00 | 64 65 0a 20 20 20 2a 20 34 20 3d 20 57 61 72 6e 20 62 65 66 6f 72 65 20 64 69 73 61 62 6c 69 6e | de....*.4.=.Warn.before.disablin |
110a20 | 67 20 65 78 74 65 6e 73 69 6f 6e 73 20 63 68 65 63 6b 62 6f 78 0a 20 20 20 2a 20 0a 20 20 20 2a | g.extensions.checkbox....*.....* |
110a40 | 20 53 74 61 74 65 73 3a 0a 20 20 20 2a 20 45 6c 65 6d 65 6e 74 20 20 20 20 20 70 20 20 20 76 61 | .States:....*.Element.....p...va |
110a60 | 6c 20 20 20 20 20 6c 6f 63 6b 65 64 20 20 20 20 44 69 73 61 62 6c 65 64 20 0a 20 20 20 2a 20 31 | l.....locked....Disabled.....*.1 |
110a80 | 20 20 20 20 20 20 20 20 20 20 20 69 20 20 20 74 2f 66 20 20 20 20 20 66 20 20 20 20 20 20 20 20 | ...........i...t/f.....f........ |
110aa0 | 20 66 61 6c 73 65 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 20 20 20 69 20 20 20 74 2f 66 20 | .false....*.............i...t/f. |
110ac0 | 20 20 20 20 74 20 20 20 20 20 20 20 20 20 74 72 75 65 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 | ....t.........true....*......... |
110ae0 | 20 20 20 20 69 69 20 20 74 2f 66 20 20 20 20 20 74 2f 66 20 20 20 20 20 20 20 66 61 6c 73 65 0a | ....ii..t/f.....t/f.......false. |
110b00 | 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 20 20 20 69 69 69 20 30 2f 31 2f 32 20 20 20 74 2f 66 | ...*.............iii.0/1/2...t/f |
110b20 | 20 20 20 20 20 20 20 66 61 6c 73 65 0a 20 20 20 2a 20 32 2c 33 20 20 20 20 20 20 20 20 20 69 20 | .......false....*.2,3.........i. |
110b40 | 20 20 74 20 20 20 20 20 20 20 74 2f 66 20 20 20 20 20 20 20 66 61 6c 73 65 0a 20 20 20 2a 20 20 | ..t.......t/f.......false....*.. |
110b60 | 20 20 20 20 20 20 20 20 20 20 20 69 20 20 20 66 20 20 20 20 20 20 20 74 2f 66 20 20 20 20 20 20 | ...........i...f.......t/f...... |
110b80 | 20 74 72 75 65 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 20 20 20 69 69 20 20 74 2f 66 20 20 | .true....*.............ii..t/f.. |
110ba0 | 20 20 20 66 20 20 20 20 20 20 20 20 20 66 61 6c 73 65 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 | ...f.........false....*......... |
110bc0 | 20 20 20 20 69 69 20 20 74 2f 66 20 20 20 20 20 74 20 20 20 20 20 20 20 20 20 74 72 75 65 0a 20 | ....ii..t/f.....t.........true.. |
110be0 | 20 20 2a 20 20 20 20 20 20 20 20 20 20 20 20 20 69 69 69 20 30 2f 31 2f 32 20 20 20 74 2f 66 20 | ..*.............iii.0/1/2...t/f. |
110c00 | 20 20 20 20 20 20 66 61 6c 73 65 0a 20 20 20 2a 20 34 20 20 20 20 20 20 20 20 20 20 20 69 20 20 | ......false....*.4...........i.. |
110c20 | 20 74 20 20 20 20 20 20 20 74 2f 66 20 20 20 20 20 20 20 66 61 6c 73 65 0a 20 20 20 2a 20 20 20 | .t.......t/f.......false....*... |
110c40 | 20 20 20 20 20 20 20 20 20 20 69 20 20 20 66 20 20 20 20 20 20 20 74 2f 66 20 20 20 20 20 20 20 | ..........i...f.......t/f....... |
110c60 | 74 72 75 65 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 20 20 20 69 69 20 20 74 20 20 20 20 20 | true....*.............ii..t..... |
110c80 | 20 20 74 2f 66 20 20 20 20 20 20 20 66 61 6c 73 65 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 | ..t/f.......false....*.......... |
110ca0 | 20 20 20 69 69 20 20 66 20 20 20 20 20 20 20 74 2f 66 20 20 20 20 20 20 20 74 72 75 65 0a 20 20 | ...ii..f.......t/f.......true... |
110cc0 | 20 2a 20 20 20 20 20 20 20 20 20 20 20 20 20 69 69 69 20 30 2f 31 2f 32 20 20 20 66 20 20 20 20 | .*.............iii.0/1/2...f.... |
110ce0 | 20 20 20 20 20 66 61 6c 73 65 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 20 20 20 69 69 69 20 | .....false....*.............iii. |
110d00 | 30 2f 31 2f 32 20 20 20 74 20 20 20 20 20 20 20 20 20 74 72 75 65 20 20 20 0a 20 20 20 2a 20 0a | 0/1/2...t.........true.......*.. |
110d20 | 20 20 20 2a 2f 0a 2f 2f 40 6c 69 6e 65 20 34 30 33 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f | ...*/.//@line.403."/builds/moz2_ |
110d40 | 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f | slave/linux_build/build/browser/ |
110d60 | 63 6f 6d 70 6f 6e 65 6e 74 73 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 61 64 76 61 6e 63 65 64 2e | components/preferences/advanced. |
110d80 | 6a 73 22 0a 20 20 75 70 64 61 74 65 41 70 70 55 70 64 61 74 65 49 74 65 6d 73 3a 20 66 75 6e 63 | js"...updateAppUpdateItems:.func |
110da0 | 74 69 6f 6e 20 28 29 20 0a 20 20 7b 0a 20 20 20 20 76 61 72 20 61 75 73 20 3d 20 0a 20 20 20 20 | tion.()....{.....var.aus.=...... |
110dc0 | 20 20 20 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 | ....Components.classes["@mozilla |
110de0 | 2e 6f 72 67 2f 75 70 64 61 74 65 73 2f 75 70 64 61 74 65 2d 73 65 72 76 69 63 65 3b 31 22 5d 2e | .org/updates/update-service;1"]. |
110e00 | 0a 20 20 20 20 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 | .........getService(Components.i |
110e20 | 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 41 70 70 6c 69 63 61 74 69 6f 6e 55 70 64 61 74 65 53 65 | nterfaces.nsIApplicationUpdateSe |
110e40 | 72 76 69 63 65 29 3b 0a 0a 20 20 20 20 76 61 72 20 65 6e 61 62 6c 65 64 50 72 65 66 20 3d 20 64 | rvice);......var.enabledPref.=.d |
110e60 | 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 61 70 70 2e 75 70 64 61 | ocument.getElementById("app.upda |
110e80 | 74 65 2e 65 6e 61 62 6c 65 64 22 29 3b 0a 20 20 20 20 76 61 72 20 65 6e 61 62 6c 65 41 70 70 55 | te.enabled");.....var.enableAppU |
110ea0 | 70 64 61 74 65 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 | pdate.=.document.getElementById( |
110ec0 | 22 65 6e 61 62 6c 65 41 70 70 55 70 64 61 74 65 22 29 3b 0a 0a 20 20 20 20 65 6e 61 62 6c 65 41 | "enableAppUpdate");......enableA |
110ee0 | 70 70 55 70 64 61 74 65 2e 64 69 73 61 62 6c 65 64 20 3d 20 21 61 75 73 2e 63 61 6e 55 70 64 61 | ppUpdate.disabled.=.!aus.canUpda |
110f00 | 74 65 20 7c 7c 20 65 6e 61 62 6c 65 64 50 72 65 66 2e 6c 6f 63 6b 65 64 3b 0a 20 20 7d 2c 0a 0a | te.||.enabledPref.locked;...},.. |
110f20 | 20 20 2f 2a 2a 0a 20 20 20 2a 20 45 6e 61 62 6c 65 73 2f 64 69 73 61 62 6c 65 73 20 55 49 20 66 | ../**....*.Enables/disables.UI.f |
110f40 | 6f 72 20 22 77 68 65 6e 20 75 70 64 61 74 65 73 20 61 72 65 20 66 6f 75 6e 64 22 20 62 61 73 65 | or."when.updates.are.found".base |
110f60 | 64 20 6f 6e 20 74 68 65 20 76 61 6c 75 65 73 2c 0a 20 20 20 2a 20 61 6e 64 20 22 6c 6f 63 6b 65 | d.on.the.values,....*.and."locke |
110f80 | 64 22 20 73 74 61 74 65 73 20 6f 66 20 61 73 73 6f 63 69 61 74 65 64 20 70 72 65 66 65 72 65 6e | d".states.of.associated.preferen |
110fa0 | 63 65 73 2e 0a 20 20 20 2a 2f 0a 20 20 75 70 64 61 74 65 41 75 74 6f 49 74 65 6d 73 3a 20 66 75 | ces.....*/...updateAutoItems:.fu |
110fc0 | 6e 63 74 69 6f 6e 20 28 29 20 0a 20 20 7b 0a 20 20 20 20 76 61 72 20 65 6e 61 62 6c 65 64 50 72 | nction.()....{.....var.enabledPr |
110fe0 | 65 66 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 61 70 | ef.=.document.getElementById("ap |
111000 | 70 2e 75 70 64 61 74 65 2e 65 6e 61 62 6c 65 64 22 29 3b 0a 20 20 20 20 76 61 72 20 61 75 74 6f | p.update.enabled");.....var.auto |
111020 | 50 72 65 66 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 | Pref.=.document.getElementById(" |
111040 | 61 70 70 2e 75 70 64 61 74 65 2e 61 75 74 6f 22 29 3b 0a 20 20 20 20 0a 20 20 20 20 76 61 72 20 | app.update.auto");..........var. |
111060 | 75 70 64 61 74 65 4d 6f 64 65 4c 61 62 65 6c 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c | updateModeLabel.=.document.getEl |
111080 | 65 6d 65 6e 74 42 79 49 64 28 22 75 70 64 61 74 65 4d 6f 64 65 4c 61 62 65 6c 22 29 3b 0a 20 20 | ementById("updateModeLabel");... |
1110a0 | 20 20 76 61 72 20 75 70 64 61 74 65 4d 6f 64 65 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 | ..var.updateMode.=.document.getE |
1110c0 | 6c 65 6d 65 6e 74 42 79 49 64 28 22 75 70 64 61 74 65 4d 6f 64 65 22 29 3b 0a 20 20 20 20 0a 20 | lementById("updateMode");....... |
1110e0 | 20 20 20 76 61 72 20 64 69 73 61 62 6c 65 20 3d 20 65 6e 61 62 6c 65 64 50 72 65 66 2e 6c 6f 63 | ...var.disable.=.enabledPref.loc |
111100 | 6b 65 64 20 7c 7c 20 21 65 6e 61 62 6c 65 64 50 72 65 66 2e 76 61 6c 75 65 20 7c 7c 0a 20 20 20 | ked.||.!enabledPref.value.||.... |
111120 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 75 74 6f 50 72 65 66 2e 6c 6f 63 6b 65 64 3b 0a | ...............autoPref.locked;. |
111140 | 20 20 20 20 75 70 64 61 74 65 4d 6f 64 65 4c 61 62 65 6c 2e 64 69 73 61 62 6c 65 64 20 3d 20 75 | ....updateModeLabel.disabled.=.u |
111160 | 70 64 61 74 65 4d 6f 64 65 2e 64 69 73 61 62 6c 65 64 20 3d 20 64 69 73 61 62 6c 65 3b 0a 20 20 | pdateMode.disabled.=.disable;... |
111180 | 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 45 6e 61 62 6c 65 73 2f 64 69 73 61 62 6c 65 73 20 | },..../**....*.Enables/disables. |
1111a0 | 74 68 65 20 22 77 61 72 6e 20 69 66 20 69 6e 63 6f 6d 70 61 74 69 62 6c 65 20 65 78 74 65 6e 73 | the."warn.if.incompatible.extens |
1111c0 | 69 6f 6e 73 2f 74 68 65 6d 65 73 20 65 78 69 73 74 22 20 55 49 0a 20 20 20 2a 20 62 61 73 65 64 | ions/themes.exist".UI....*.based |
1111e0 | 20 6f 6e 20 74 68 65 20 76 61 6c 75 65 73 20 61 6e 64 20 22 6c 6f 63 6b 65 64 22 20 73 74 61 74 | .on.the.values.and."locked".stat |
111200 | 65 73 20 6f 66 20 76 61 72 69 6f 75 73 20 70 72 65 66 65 72 65 6e 63 65 73 2e 0a 20 20 20 2a 2f | es.of.various.preferences.....*/ |
111220 | 0a 20 20 75 70 64 61 74 65 4d 6f 64 65 49 74 65 6d 73 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 20 | ...updateModeItems:.function.(). |
111240 | 0a 20 20 7b 0a 20 20 20 20 76 61 72 20 65 6e 61 62 6c 65 64 50 72 65 66 20 3d 20 64 6f 63 75 6d | ...{.....var.enabledPref.=.docum |
111260 | 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 61 70 70 2e 75 70 64 61 74 65 2e 65 | ent.getElementById("app.update.e |
111280 | 6e 61 62 6c 65 64 22 29 3b 0a 20 20 20 20 76 61 72 20 61 75 74 6f 50 72 65 66 20 3d 20 64 6f 63 | nabled");.....var.autoPref.=.doc |
1112a0 | 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 61 70 70 2e 75 70 64 61 74 65 | ument.getElementById("app.update |
1112c0 | 2e 61 75 74 6f 22 29 3b 0a 20 20 20 20 76 61 72 20 6d 6f 64 65 50 72 65 66 20 3d 20 64 6f 63 75 | .auto");.....var.modePref.=.docu |
1112e0 | 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 61 70 70 2e 75 70 64 61 74 65 2e | ment.getElementById("app.update. |
111300 | 6d 6f 64 65 22 29 3b 0a 20 20 20 20 0a 20 20 20 20 76 61 72 20 77 61 72 6e 49 6e 63 6f 6d 70 61 | mode");..........var.warnIncompa |
111320 | 74 69 62 6c 65 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 | tible.=.document.getElementById( |
111340 | 22 77 61 72 6e 49 6e 63 6f 6d 70 61 74 69 62 6c 65 22 29 3b 0a 20 20 20 20 0a 20 20 20 20 76 61 | "warnIncompatible");..........va |
111360 | 72 20 64 69 73 61 62 6c 65 20 3d 20 65 6e 61 62 6c 65 64 50 72 65 66 2e 6c 6f 63 6b 65 64 20 7c | r.disable.=.enabledPref.locked.| |
111380 | 7c 20 21 65 6e 61 62 6c 65 64 50 72 65 66 2e 76 61 6c 75 65 20 7c 7c 20 61 75 74 6f 50 72 65 66 | |.!enabledPref.value.||.autoPref |
1113a0 | 2e 6c 6f 63 6b 65 64 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 21 61 75 | .locked.||...................!au |
1113c0 | 74 6f 50 72 65 66 2e 76 61 6c 75 65 20 7c 7c 20 6d 6f 64 65 50 72 65 66 2e 6c 6f 63 6b 65 64 3b | toPref.value.||.modePref.locked; |
1113e0 | 0a 20 20 20 20 77 61 72 6e 49 6e 63 6f 6d 70 61 74 69 62 6c 65 2e 64 69 73 61 62 6c 65 64 20 3d | .....warnIncompatible.disabled.= |
111400 | 20 64 69 73 61 62 6c 65 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 53 74 6f 72 65 | .disable;...},..../**....*.Store |
111420 | 73 20 74 68 65 20 76 61 6c 75 65 20 6f 66 20 74 68 65 20 61 70 70 2e 75 70 64 61 74 65 2e 6d 6f | s.the.value.of.the.app.update.mo |
111440 | 64 65 20 70 72 65 66 65 72 65 6e 63 65 2c 20 77 68 69 63 68 20 69 73 20 61 20 74 72 69 73 74 61 | de.preference,.which.is.a.trista |
111460 | 74 65 0a 20 20 20 2a 20 69 6e 74 65 67 65 72 20 70 72 65 66 65 72 65 6e 63 65 2e 20 20 57 65 20 | te....*.integer.preference...We. |
111480 | 73 74 6f 72 65 20 74 68 65 20 76 61 6c 75 65 20 68 65 72 65 20 73 6f 20 74 68 61 74 20 77 65 20 | store.the.value.here.so.that.we. |
1114a0 | 63 61 6e 20 70 72 6f 70 65 72 6c 79 0a 20 20 20 2a 20 72 65 73 74 6f 72 65 20 74 68 65 20 70 72 | can.properly....*.restore.the.pr |
1114c0 | 65 66 65 72 65 6e 63 65 20 76 61 6c 75 65 20 69 66 20 74 68 65 20 55 49 20 72 65 66 6c 65 63 74 | eference.value.if.the.UI.reflect |
1114e0 | 69 6e 67 20 74 68 65 20 70 72 65 66 65 72 65 6e 63 65 20 76 61 6c 75 65 0a 20 20 20 2a 20 69 73 | ing.the.preference.value....*.is |
111500 | 20 69 6e 20 61 20 73 74 61 74 65 20 77 68 69 63 68 20 63 61 6e 20 72 65 70 72 65 73 65 6e 74 20 | .in.a.state.which.can.represent. |
111520 | 65 69 74 68 65 72 20 6f 66 20 74 77 6f 20 69 6e 74 65 67 65 72 20 76 61 6c 75 65 73 20 28 61 73 | either.of.two.integer.values.(as |
111540 | 0a 20 20 20 2a 20 6f 70 70 6f 73 65 64 20 74 6f 20 6f 6e 6c 79 20 6f 6e 65 20 70 6f 73 73 69 62 | ....*.opposed.to.only.one.possib |
111560 | 6c 65 20 76 61 6c 75 65 20 69 6e 20 74 68 65 20 6f 74 68 65 72 20 55 49 20 73 74 61 74 65 29 2e | le.value.in.the.other.UI.state). |
111580 | 0a 20 20 20 2a 2f 0a 20 20 5f 6d 6f 64 65 50 72 65 66 65 72 65 6e 63 65 3a 20 2d 31 2c 0a 0a 20 | ....*/..._modePreference:.-1,... |
1115a0 | 20 2f 2a 2a 0a 20 20 20 2a 20 52 65 61 64 73 20 74 68 65 20 61 70 70 2e 75 70 64 61 74 65 2e 6d | ./**....*.Reads.the.app.update.m |
1115c0 | 6f 64 65 20 70 72 65 66 65 72 65 6e 63 65 20 61 6e 64 20 63 6f 6e 76 65 72 74 73 20 69 74 73 20 | ode.preference.and.converts.its. |
1115e0 | 76 61 6c 75 65 20 69 6e 74 6f 20 61 0a 20 20 20 2a 20 74 72 75 65 2f 66 61 6c 73 65 20 76 61 6c | value.into.a....*.true/false.val |
111600 | 75 65 20 66 6f 72 20 75 73 65 20 69 6e 20 64 65 74 65 72 6d 69 6e 69 6e 67 20 77 68 65 74 68 65 | ue.for.use.in.determining.whethe |
111620 | 72 20 74 68 65 20 22 57 61 72 6e 20 6d 65 20 69 66 20 74 68 69 73 20 77 69 6c 6c 0a 20 20 20 2a | r.the."Warn.me.if.this.will....* |
111640 | 20 64 69 73 61 62 6c 65 20 65 78 74 65 6e 73 69 6f 6e 73 20 6f 72 20 74 68 65 6d 65 73 22 20 63 | .disable.extensions.or.themes".c |
111660 | 68 65 63 6b 62 6f 78 20 69 73 20 63 68 65 63 6b 65 64 2e 20 20 57 65 20 61 6c 73 6f 20 73 61 76 | heckbox.is.checked...We.also.sav |
111680 | 65 20 74 68 65 20 76 61 6c 75 65 0a 20 20 20 2a 20 6f 66 20 74 68 65 20 70 72 65 66 65 72 65 6e | e.the.value....*.of.the.preferen |
1116a0 | 63 65 20 73 6f 20 74 68 61 74 20 74 68 65 20 70 72 65 66 65 72 65 6e 63 65 20 76 61 6c 75 65 20 | ce.so.that.the.preference.value. |
1116c0 | 63 61 6e 20 62 65 20 70 72 6f 70 65 72 6c 79 20 72 65 73 74 6f 72 65 64 20 69 66 0a 20 20 20 2a | can.be.properly.restored.if....* |
1116e0 | 20 74 68 65 20 75 73 65 72 27 73 20 70 72 65 66 65 72 65 6e 63 65 73 20 63 61 6e 6e 6f 74 20 61 | .the.user's.preferences.cannot.a |
111700 | 64 65 71 75 61 74 65 6c 79 20 62 65 20 65 78 70 72 65 73 73 65 64 20 62 79 20 61 20 73 69 6e 67 | dequately.be.expressed.by.a.sing |
111720 | 6c 65 20 63 68 65 63 6b 62 6f 78 2e 0a 20 20 20 2a 0a 20 20 20 2a 20 61 70 70 2e 75 70 64 61 74 | le.checkbox.....*....*.app.updat |
111740 | 65 2e 6d 6f 64 65 65 20 20 20 20 20 20 20 20 20 43 68 65 63 6b 62 6f 78 20 53 74 61 74 65 20 20 | e.modee.........Checkbox.State.. |
111760 | 20 20 4d 65 61 6e 69 6e 67 0a 20 20 20 2a 20 30 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ..Meaning....*.0................ |
111780 | 20 20 20 20 20 20 20 20 55 6e 63 68 65 63 6b 65 64 20 20 20 20 20 20 20 20 20 44 6f 20 6e 6f 74 | ........Unchecked.........Do.not |
1117a0 | 20 77 61 72 6e 0a 20 20 20 2a 20 31 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .warn....*.1.................... |
1117c0 | 20 20 20 20 43 68 65 63 6b 65 64 20 20 20 20 20 20 20 20 20 20 20 57 61 72 6e 20 69 66 20 74 68 | ....Checked...........Warn.if.th |
1117e0 | 65 72 65 20 61 72 65 20 69 6e 63 6f 6d 70 61 74 69 62 69 6c 69 74 69 65 73 0a 20 20 20 2a 20 32 | ere.are.incompatibilities....*.2 |
111800 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 43 68 65 63 6b 65 64 20 | ........................Checked. |
111820 | 20 20 20 20 20 20 20 20 20 20 57 61 72 6e 20 69 66 20 74 68 65 72 65 20 61 72 65 20 69 6e 63 6f | ..........Warn.if.there.are.inco |
111840 | 6d 70 61 74 69 62 69 6c 69 74 69 65 73 2c 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 20 20 20 | mpatibilities,....*............. |
111860 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f | ...............................o |
111880 | 72 20 74 68 65 20 75 70 64 61 74 65 20 69 73 20 6d 61 6a 6f 72 2e 0a 20 20 20 2a 2f 0a 20 20 72 | r.the.update.is.major.....*/...r |
1118a0 | 65 61 64 41 64 64 6f 6e 57 61 72 6e 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 | eadAddonWarn:.function.()...{... |
1118c0 | 20 20 76 61 72 20 70 72 65 66 65 72 65 6e 63 65 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 | ..var.preference.=.document.getE |
1118e0 | 6c 65 6d 65 6e 74 42 79 49 64 28 22 61 70 70 2e 75 70 64 61 74 65 2e 6d 6f 64 65 22 29 3b 0a 20 | lementById("app.update.mode");.. |
111900 | 20 20 20 76 61 72 20 64 6f 4e 6f 74 57 61 72 6e 20 3d 20 70 72 65 66 65 72 65 6e 63 65 2e 76 61 | ...var.doNotWarn.=.preference.va |
111920 | 6c 75 65 20 21 3d 20 30 3b 0a 20 20 20 20 67 41 64 76 61 6e 63 65 64 50 61 6e 65 2e 5f 6d 6f 64 | lue.!=.0;.....gAdvancedPane._mod |
111940 | 65 50 72 65 66 65 72 65 6e 63 65 20 3d 20 64 6f 4e 6f 74 57 61 72 6e 20 3f 20 70 72 65 66 65 72 | ePreference.=.doNotWarn.?.prefer |
111960 | 65 6e 63 65 2e 76 61 6c 75 65 20 3a 20 31 3b 0a 20 20 20 20 72 65 74 75 72 6e 20 64 6f 4e 6f 74 | ence.value.:.1;.....return.doNot |
111980 | 57 61 72 6e 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 43 6f 6e 76 65 72 74 73 20 | Warn;...},..../**....*.Converts. |
1119a0 | 74 68 65 20 73 74 61 74 65 20 6f 66 20 74 68 65 20 22 57 61 72 6e 20 6d 65 20 69 66 20 74 68 69 | the.state.of.the."Warn.me.if.thi |
1119c0 | 73 20 77 69 6c 6c 20 64 69 73 61 62 6c 65 20 65 78 74 65 6e 73 69 6f 6e 73 20 6f 72 0a 20 20 20 | s.will.disable.extensions.or.... |
1119e0 | 2a 20 74 68 65 6d 65 73 22 20 63 68 65 63 6b 62 6f 78 20 69 6e 74 6f 20 74 68 65 20 69 6e 74 65 | *.themes".checkbox.into.the.inte |
111a00 | 67 65 72 20 70 72 65 66 65 72 65 6e 63 65 20 77 68 69 63 68 20 72 65 70 72 65 73 65 6e 74 73 20 | ger.preference.which.represents. |
111a20 | 69 74 2c 0a 20 20 20 2a 20 72 65 74 75 72 6e 69 6e 67 20 74 68 61 74 20 76 61 6c 75 65 2e 0a 20 | it,....*.returning.that.value... |
111a40 | 20 20 2a 2f 0a 20 20 77 72 69 74 65 41 64 64 6f 6e 57 61 72 6e 3a 20 66 75 6e 63 74 69 6f 6e 20 | ..*/...writeAddonWarn:.function. |
111a60 | 28 29 0a 20 20 7b 0a 20 20 20 20 76 61 72 20 77 61 72 6e 49 6e 63 6f 6d 70 61 74 69 62 6c 65 20 | ()...{.....var.warnIncompatible. |
111a80 | 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 77 61 72 6e 49 | =.document.getElementById("warnI |
111aa0 | 6e 63 6f 6d 70 61 74 69 62 6c 65 22 29 3b 0a 20 20 20 20 72 65 74 75 72 6e 20 21 77 61 72 6e 49 | ncompatible");.....return.!warnI |
111ac0 | 6e 63 6f 6d 70 61 74 69 62 6c 65 2e 63 68 65 63 6b 65 64 20 3f 20 30 20 3a 20 67 41 64 76 61 6e | ncompatible.checked.?.0.:.gAdvan |
111ae0 | 63 65 64 50 61 6e 65 2e 5f 6d 6f 64 65 50 72 65 66 65 72 65 6e 63 65 3b 0a 20 20 7d 2c 0a 0a 20 | cedPane._modePreference;...},... |
111b00 | 20 2f 2a 2a 0a 20 20 20 2a 20 44 69 73 70 6c 61 79 73 20 74 68 65 20 68 69 73 74 6f 72 79 20 6f | ./**....*.Displays.the.history.o |
111b20 | 66 20 69 6e 73 74 61 6c 6c 65 64 20 75 70 64 61 74 65 73 2e 0a 20 20 20 2a 2f 0a 20 20 73 68 6f | f.installed.updates.....*/...sho |
111b40 | 77 55 70 64 61 74 65 73 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 76 61 | wUpdates:.function.()...{.....va |
111b60 | 72 20 70 72 6f 6d 70 74 65 72 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b | r.prompter.=.Components.classes[ |
111b80 | 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 75 70 64 61 74 65 73 2f 75 70 64 61 74 65 2d 70 72 6f | "@mozilla.org/updates/update-pro |
111ba0 | 6d 70 74 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | mpt;1"]......................... |
111bc0 | 20 20 20 20 20 2e 63 72 65 61 74 65 49 6e 73 74 61 6e 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e | ......createInstance(Components. |
111be0 | 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 55 70 64 61 74 65 50 72 6f 6d 70 74 29 3b 0a 20 20 20 | interfaces.nsIUpdatePrompt);.... |
111c00 | 20 70 72 6f 6d 70 74 65 72 2e 73 68 6f 77 55 70 64 61 74 65 48 69 73 74 6f 72 79 28 77 69 6e 64 | .prompter.showUpdateHistory(wind |
111c20 | 6f 77 29 3b 0a 20 20 7d 2c 0a 2f 2f 40 6c 69 6e 65 20 35 30 30 20 22 2f 62 75 69 6c 64 73 2f 6d | ow);...},.//@line.500."/builds/m |
111c40 | 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 | oz2_slave/linux_build/build/brow |
111c60 | 73 65 72 2f 63 6f 6d 70 6f 6e 65 6e 74 73 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 61 64 76 61 6e | ser/components/preferences/advan |
111c80 | 63 65 64 2e 6a 73 22 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 54 68 65 20 45 78 74 65 6e 73 69 6f | ced.js"..../**....*.The.Extensio |
111ca0 | 6e 73 20 63 68 65 63 6b 62 6f 78 20 61 6e 64 20 62 75 74 74 6f 6e 20 61 72 65 20 64 69 73 61 62 | ns.checkbox.and.button.are.disab |
111cc0 | 6c 65 64 20 6f 6e 6c 79 20 69 66 20 74 68 65 20 65 6e 61 62 6c 65 20 41 64 64 6f 6e 0a 20 20 20 | led.only.if.the.enable.Addon.... |
111ce0 | 2a 20 75 70 64 61 74 65 20 70 72 65 66 65 72 65 6e 63 65 20 69 73 20 6c 6f 63 6b 65 64 2e 20 0a | *.update.preference.is.locked... |
111d00 | 20 20 20 2a 2f 0a 20 20 75 70 64 61 74 65 41 64 64 6f 6e 55 70 64 61 74 65 55 49 3a 20 66 75 6e | ...*/...updateAddonUpdateUI:.fun |
111d20 | 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 76 61 72 20 65 6e 61 62 6c 65 64 50 72 65 66 | ction.()...{.....var.enabledPref |
111d40 | 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 65 78 74 65 | .=.document.getElementById("exte |
111d60 | 6e 73 69 6f 6e 73 2e 75 70 64 61 74 65 2e 65 6e 61 62 6c 65 64 22 29 3b 0a 20 20 20 20 76 61 72 | nsions.update.enabled");.....var |
111d80 | 20 65 6e 61 62 6c 65 41 64 64 6f 6e 55 70 64 61 74 65 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 | .enableAddonUpdate.=.document.ge |
111da0 | 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 65 6e 61 62 6c 65 41 64 64 6f 6e 55 70 64 61 74 65 22 | tElementById("enableAddonUpdate" |
111dc0 | 29 3b 0a 0a 20 20 20 20 65 6e 61 62 6c 65 41 64 64 6f 6e 55 70 64 61 74 65 2e 64 69 73 61 62 6c | );......enableAddonUpdate.disabl |
111de0 | 65 64 20 3d 20 65 6e 61 62 6c 65 64 50 72 65 66 2e 6c 6f 63 6b 65 64 3b 0a 20 20 7d 2c 20 20 0a | ed.=.enabledPref.locked;...},... |
111e00 | 20 20 0a 20 20 2f 2f 20 45 4e 43 52 59 50 54 49 4f 4e 20 54 41 42 0a 0a 20 20 2f 2a 0a 20 20 20 | .....//.ENCRYPTION.TAB..../*.... |
111e20 | 2a 20 50 72 65 66 65 72 65 6e 63 65 73 3a 0a 20 20 20 2a 0a 20 20 20 2a 20 73 65 63 75 72 69 74 | *.Preferences:....*....*.securit |
111e40 | 79 2e 65 6e 61 62 6c 65 5f 73 73 6c 33 0a 20 20 20 2a 20 2d 20 74 72 75 65 20 69 66 20 53 53 4c | y.enable_ssl3....*.-.true.if.SSL |
111e60 | 20 33 20 65 6e 63 72 79 70 74 69 6f 6e 20 69 73 20 65 6e 61 62 6c 65 64 2c 20 66 61 6c 73 65 20 | .3.encryption.is.enabled,.false. |
111e80 | 6f 74 68 65 72 77 69 73 65 0a 20 20 20 2a 20 73 65 63 75 72 69 74 79 2e 65 6e 61 62 6c 65 5f 74 | otherwise....*.security.enable_t |
111ea0 | 6c 73 0a 20 20 20 2a 20 2d 20 74 72 75 65 20 69 66 20 54 4c 53 20 65 6e 63 72 79 70 74 69 6f 6e | ls....*.-.true.if.TLS.encryption |
111ec0 | 20 69 73 20 65 6e 61 62 6c 65 64 2c 20 66 61 6c 73 65 20 6f 74 68 65 72 77 69 73 65 0a 20 20 20 | .is.enabled,.false.otherwise.... |
111ee0 | 2a 20 73 65 63 75 72 69 74 79 2e 64 65 66 61 75 6c 74 5f 70 65 72 73 6f 6e 61 6c 5f 63 65 72 74 | *.security.default_personal_cert |
111f00 | 0a 20 20 20 2a 20 2d 20 61 20 73 74 72 69 6e 67 3a 0a 20 20 20 2a 20 20 20 20 20 22 53 65 6c 65 | ....*.-.a.string:....*....."Sele |
111f20 | 63 74 20 41 75 74 6f 6d 61 74 69 63 61 6c 6c 79 22 20 20 20 73 65 6c 65 63 74 20 61 20 63 65 72 | ct.Automatically"...select.a.cer |
111f40 | 74 69 66 69 63 61 74 65 20 61 75 74 6f 6d 61 74 69 63 61 6c 6c 79 20 77 68 65 6e 20 61 20 73 69 | tificate.automatically.when.a.si |
111f60 | 74 65 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | te....*......................... |
111f80 | 20 20 20 20 20 72 65 71 75 65 73 74 73 20 6f 6e 65 0a 20 20 20 2a 20 20 20 20 20 22 41 73 6b 20 | .....requests.one....*....."Ask. |
111fa0 | 45 76 65 72 79 20 54 69 6d 65 22 20 20 20 20 20 20 20 20 20 70 72 65 73 65 6e 74 20 61 20 64 69 | Every.Time".........present.a.di |
111fc0 | 61 6c 6f 67 20 74 6f 20 74 68 65 20 75 73 65 72 20 73 6f 20 68 65 20 63 61 6e 20 73 65 6c 65 63 | alog.to.the.user.so.he.can.selec |
111fe0 | 74 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | t....*.......................... |
112000 | 20 20 20 20 74 68 65 20 63 65 72 74 69 66 69 63 61 74 65 20 74 6f 20 75 73 65 20 6f 6e 20 61 20 | ....the.certificate.to.use.on.a. |
112020 | 73 69 74 65 20 77 68 69 63 68 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | site.which....*................. |
112040 | 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 71 75 65 73 74 73 20 6f 6e 65 0a 20 20 20 2a 2f 0a | .............requests.one....*/. |
112060 | 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 44 69 73 70 6c 61 79 73 20 74 68 65 20 75 73 65 72 27 73 20 | .../**....*.Displays.the.user's. |
112080 | 63 65 72 74 69 66 69 63 61 74 65 73 20 61 6e 64 20 61 73 73 6f 63 69 61 74 65 64 20 6f 70 74 69 | certificates.and.associated.opti |
1120a0 | 6f 6e 73 2e 0a 20 20 20 2a 2f 0a 20 20 73 68 6f 77 43 65 72 74 69 66 69 63 61 74 65 73 3a 20 66 | ons.....*/...showCertificates:.f |
1120c0 | 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 64 6f 63 75 | unction.()...{.....document.docu |
1120e0 | 6d 65 6e 74 45 6c 65 6d 65 6e 74 2e 6f 70 65 6e 57 69 6e 64 6f 77 28 22 6d 6f 7a 69 6c 6c 61 3a | mentElement.openWindow("mozilla: |
112100 | 63 65 72 74 6d 61 6e 61 67 65 72 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | certmanager",................... |
112120 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 63 68 72 6f 6d 65 3a 2f 2f | ......................"chrome:// |
112140 | 70 69 70 70 6b 69 2f 63 6f 6e 74 65 6e 74 2f 63 65 72 74 4d 61 6e 61 67 65 72 2e 78 75 6c 22 2c | pippki/content/certManager.xul", |
112160 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
112180 | 20 20 20 20 20 20 20 20 20 22 22 2c 20 6e 75 6c 6c 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a | ........."",.null);...},..../**. |
1121a0 | 20 20 20 2a 20 44 69 73 70 6c 61 79 73 20 61 20 64 69 61 6c 6f 67 20 77 68 69 63 68 20 64 65 73 | ...*.Displays.a.dialog.which.des |
1121c0 | 63 72 69 62 65 73 20 74 68 65 20 75 73 65 72 27 73 20 43 52 4c 73 2e 0a 20 20 20 2a 2f 0a 20 20 | cribes.the.user's.CRLs.....*/... |
1121e0 | 73 68 6f 77 43 52 4c 73 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 64 6f | showCRLs:.function.()...{.....do |
112200 | 63 75 6d 65 6e 74 2e 64 6f 63 75 6d 65 6e 74 45 6c 65 6d 65 6e 74 2e 6f 70 65 6e 57 69 6e 64 6f | cument.documentElement.openWindo |
112220 | 77 28 22 6d 6f 7a 69 6c 6c 61 3a 63 72 6c 6d 61 6e 61 67 65 72 22 2c 20 0a 20 20 20 20 20 20 20 | w("mozilla:crlmanager",......... |
112240 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
112260 | 20 22 63 68 72 6f 6d 65 3a 2f 2f 70 69 70 70 6b 69 2f 63 6f 6e 74 65 6e 74 2f 63 72 6c 4d 61 6e | ."chrome://pippki/content/crlMan |
112280 | 61 67 65 72 2e 78 75 6c 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ager.xul",...................... |
1122a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 22 2c 20 6e 75 6c 6c 29 3b 0a 20 20 | ..................."",.null);... |
1122c0 | 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 44 69 73 70 6c 61 79 73 20 61 20 64 69 61 6c 6f 67 | },..../**....*.Displays.a.dialog |
1122e0 | 20 69 6e 20 77 68 69 63 68 20 4f 43 53 50 20 70 72 65 66 65 72 65 6e 63 65 73 20 63 61 6e 20 62 | .in.which.OCSP.preferences.can.b |
112300 | 65 20 63 6f 6e 66 69 67 75 72 65 64 2e 0a 20 20 20 2a 2f 0a 20 20 73 68 6f 77 4f 43 53 50 3a 20 | e.configured.....*/...showOCSP:. |
112320 | 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 64 6f 63 | function.()...{.....document.doc |
112340 | 75 6d 65 6e 74 45 6c 65 6d 65 6e 74 2e 6f 70 65 6e 53 75 62 44 69 61 6c 6f 67 28 22 63 68 72 6f | umentElement.openSubDialog("chro |
112360 | 6d 65 3a 2f 2f 6d 6f 7a 61 70 70 73 2f 63 6f 6e 74 65 6e 74 2f 70 72 65 66 65 72 65 6e 63 65 73 | me://mozapps/content/preferences |
112380 | 2f 6f 63 73 70 2e 78 75 6c 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | /ocsp.xul",..................... |
1123a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 22 2c 20 6e 75 6c 6c 29 | ......................."",.null) |
1123c0 | 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 44 69 73 70 6c 61 79 73 20 61 20 64 69 | ;...},..../**....*.Displays.a.di |
1123e0 | 61 6c 6f 67 20 66 72 6f 6d 20 77 68 69 63 68 20 74 68 65 20 75 73 65 72 20 63 61 6e 20 6d 61 6e | alog.from.which.the.user.can.man |
112400 | 61 67 65 20 68 69 73 20 73 65 63 75 72 69 74 79 20 64 65 76 69 63 65 73 2e 0a 20 20 20 2a 2f 0a | age.his.security.devices.....*/. |
112420 | 20 20 73 68 6f 77 53 65 63 75 72 69 74 79 44 65 76 69 63 65 73 3a 20 66 75 6e 63 74 69 6f 6e 20 | ..showSecurityDevices:.function. |
112440 | 28 29 0a 20 20 7b 0a 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 64 6f 63 75 6d 65 6e 74 45 6c 65 6d | ()...{.....document.documentElem |
112460 | 65 6e 74 2e 6f 70 65 6e 57 69 6e 64 6f 77 28 22 6d 6f 7a 69 6c 6c 61 3a 64 65 76 69 63 65 6d 61 | ent.openWindow("mozilla:devicema |
112480 | 6e 61 67 65 72 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | nager",......................... |
1124a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 63 68 72 6f 6d 65 3a 2f 2f 70 69 70 70 6b 69 | ................"chrome://pippki |
1124c0 | 2f 63 6f 6e 74 65 6e 74 2f 64 65 76 69 63 65 5f 6d 61 6e 61 67 65 72 2e 78 75 6c 22 2c 0a 20 20 | /content/device_manager.xul",... |
1124e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
112500 | 20 20 20 20 20 20 22 22 2c 20 6e 75 6c 6c 29 3b 0a 20 20 7d 0a 2f 2f 40 6c 69 6e 65 20 35 37 30 | ......"",.null);...}.//@line.570 |
112520 | 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 | ."/builds/moz2_slave/linux_build |
112540 | 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 63 6f 6d 70 6f 6e 65 6e 74 73 2f 70 72 65 66 65 72 | /build/browser/components/prefer |
112560 | 65 6e 63 65 73 2f 61 64 76 61 6e 63 65 64 2e 6a 73 22 0a 20 20 2c 0a 0a 20 20 2f 2f 20 53 59 53 | ences/advanced.js"...,....//.SYS |
112580 | 54 45 4d 20 44 45 46 41 55 4c 54 53 0a 0a 20 20 2f 2a 0a 20 20 20 2a 20 50 72 65 66 65 72 65 6e | TEM.DEFAULTS..../*....*.Preferen |
1125a0 | 63 65 73 3a 0a 20 20 20 2a 0a 20 20 20 2a 20 62 72 6f 77 73 65 72 2e 73 68 65 6c 6c 2e 63 68 65 | ces:....*....*.browser.shell.che |
1125c0 | 63 6b 44 65 66 61 75 6c 74 0a 20 20 20 2a 20 2d 20 74 72 75 65 20 69 66 20 61 20 64 65 66 61 75 | ckDefault....*.-.true.if.a.defau |
1125e0 | 6c 74 2d 62 72 6f 77 73 65 72 20 63 68 65 63 6b 20 28 61 6e 64 20 70 72 6f 6d 70 74 20 74 6f 20 | lt-browser.check.(and.prompt.to. |
112600 | 6d 61 6b 65 20 69 74 20 73 6f 20 69 66 20 6e 65 63 65 73 73 61 72 79 29 0a 20 20 20 2a 20 20 20 | make.it.so.if.necessary)....*... |
112620 | 6f 63 63 75 72 73 20 61 74 20 73 74 61 72 74 75 70 2c 20 66 61 6c 73 65 20 6f 74 68 65 72 77 69 | occurs.at.startup,.false.otherwi |
112640 | 73 65 0a 20 20 20 2a 2f 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 43 68 65 63 6b 73 20 77 68 65 74 | se....*/..../**....*.Checks.whet |
112660 | 68 65 72 20 74 68 65 20 62 72 6f 77 73 65 72 20 69 73 20 63 75 72 72 65 6e 74 6c 79 20 72 65 67 | her.the.browser.is.currently.reg |
112680 | 69 73 74 65 72 65 64 20 77 69 74 68 20 74 68 65 20 6f 70 65 72 61 74 69 6e 67 0a 20 20 20 2a 20 | istered.with.the.operating....*. |
1126a0 | 73 79 73 74 65 6d 20 61 73 20 74 68 65 20 64 65 66 61 75 6c 74 20 62 72 6f 77 73 65 72 2e 20 20 | system.as.the.default.browser... |
1126c0 | 49 66 20 74 68 65 20 62 72 6f 77 73 65 72 20 69 73 20 6e 6f 74 20 63 75 72 72 65 6e 74 6c 79 20 | If.the.browser.is.not.currently. |
1126e0 | 74 68 65 0a 20 20 20 2a 20 64 65 66 61 75 6c 74 20 62 72 6f 77 73 65 72 2c 20 74 68 65 20 75 73 | the....*.default.browser,.the.us |
112700 | 65 72 20 69 73 20 67 69 76 65 6e 20 74 68 65 20 6f 70 74 69 6f 6e 20 6f 66 20 6d 61 6b 69 6e 67 | er.is.given.the.option.of.making |
112720 | 20 69 74 20 74 68 65 20 64 65 66 61 75 6c 74 3b 0a 20 20 20 2a 20 6f 74 68 65 72 77 69 73 65 2c | .it.the.default;....*.otherwise, |
112740 | 20 74 68 65 20 75 73 65 72 20 69 73 20 69 6e 66 6f 72 6d 65 64 20 74 68 61 74 20 74 68 69 73 20 | .the.user.is.informed.that.this. |
112760 | 62 72 6f 77 73 65 72 20 61 6c 72 65 61 64 79 20 69 73 20 74 68 65 20 62 72 6f 77 73 65 72 2e 0a | browser.already.is.the.browser.. |
112780 | 20 20 20 2a 2f 0a 20 20 63 68 65 63 6b 4e 6f 77 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 | ...*/...checkNow:.function.()... |
1127a0 | 7b 0a 20 20 20 20 76 61 72 20 73 68 65 6c 6c 53 76 63 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e | {.....var.shellSvc.=.Components. |
1127c0 | 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 62 72 6f 77 73 65 72 2f 73 68 | classes["@mozilla.org/browser/sh |
1127e0 | 65 6c 6c 2d 73 65 72 76 69 63 65 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ell-service;1"]................. |
112800 | 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 | ..............getService(Compone |
112820 | 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 53 68 65 6c 6c 53 65 72 76 69 63 65 29 3b | nts.interfaces.nsIShellService); |
112840 | 0a 20 20 20 20 76 61 72 20 62 72 61 6e 64 42 75 6e 64 6c 65 20 3d 20 64 6f 63 75 6d 65 6e 74 2e | .....var.brandBundle.=.document. |
112860 | 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 62 75 6e 64 6c 65 42 72 61 6e 64 22 29 3b 0a 20 | getElementById("bundleBrand");.. |
112880 | 20 20 20 76 61 72 20 73 68 65 6c 6c 42 75 6e 64 6c 65 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 | ...var.shellBundle.=.document.ge |
1128a0 | 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 62 75 6e 64 6c 65 53 68 65 6c 6c 22 29 3b 0a 20 20 20 | tElementById("bundleShell");.... |
1128c0 | 20 76 61 72 20 62 72 61 6e 64 53 68 6f 72 74 4e 61 6d 65 20 3d 20 62 72 61 6e 64 42 75 6e 64 6c | .var.brandShortName.=.brandBundl |
1128e0 | 65 2e 67 65 74 53 74 72 69 6e 67 28 22 62 72 61 6e 64 53 68 6f 72 74 4e 61 6d 65 22 29 3b 0a 20 | e.getString("brandShortName");.. |
112900 | 20 20 20 76 61 72 20 70 72 6f 6d 70 74 54 69 74 6c 65 20 3d 20 73 68 65 6c 6c 42 75 6e 64 6c 65 | ...var.promptTitle.=.shellBundle |
112920 | 2e 67 65 74 53 74 72 69 6e 67 28 22 73 65 74 44 65 66 61 75 6c 74 42 72 6f 77 73 65 72 54 69 74 | .getString("setDefaultBrowserTit |
112940 | 6c 65 22 29 3b 0a 20 20 20 20 76 61 72 20 70 72 6f 6d 70 74 4d 65 73 73 61 67 65 3b 0a 20 20 20 | le");.....var.promptMessage;.... |
112960 | 20 63 6f 6e 73 74 20 49 50 53 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 | .const.IPS.=.Components.interfac |
112980 | 65 73 2e 6e 73 49 50 72 6f 6d 70 74 53 65 72 76 69 63 65 3b 0a 20 20 20 20 76 61 72 20 70 73 76 | es.nsIPromptService;.....var.psv |
1129a0 | 63 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 | c.=.Components.classes["@mozilla |
1129c0 | 2e 6f 72 67 2f 65 6d 62 65 64 63 6f 6d 70 2f 70 72 6f 6d 70 74 2d 73 65 72 76 69 63 65 3b 31 22 | .org/embedcomp/prompt-service;1" |
1129e0 | 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 | ]...........................getS |
112a00 | 65 72 76 69 63 65 28 49 50 53 29 3b 0a 20 20 20 20 69 66 20 28 21 73 68 65 6c 6c 53 76 63 2e 69 | ervice(IPS);.....if.(!shellSvc.i |
112a20 | 73 44 65 66 61 75 6c 74 42 72 6f 77 73 65 72 28 66 61 6c 73 65 29 29 20 7b 0a 20 20 20 20 20 20 | sDefaultBrowser(false)).{....... |
112a40 | 70 72 6f 6d 70 74 4d 65 73 73 61 67 65 20 3d 20 73 68 65 6c 6c 42 75 6e 64 6c 65 2e 67 65 74 46 | promptMessage.=.shellBundle.getF |
112a60 | 6f 72 6d 61 74 74 65 64 53 74 72 69 6e 67 28 22 73 65 74 44 65 66 61 75 6c 74 42 72 6f 77 73 65 | ormattedString("setDefaultBrowse |
112a80 | 72 4d 65 73 73 61 67 65 22 2c 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | rMessage",...................... |
112aa0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
112ac0 | 20 5b 62 72 61 6e 64 53 68 6f 72 74 4e 61 6d 65 5d 29 3b 0a 20 20 20 20 20 20 76 61 72 20 72 76 | .[brandShortName]);.......var.rv |
112ae0 | 20 3d 20 70 73 76 63 2e 63 6f 6e 66 69 72 6d 45 78 28 77 69 6e 64 6f 77 2c 20 70 72 6f 6d 70 74 | .=.psvc.confirmEx(window,.prompt |
112b00 | 54 69 74 6c 65 2c 20 70 72 6f 6d 70 74 4d 65 73 73 61 67 65 2c 20 0a 20 20 20 20 20 20 20 20 20 | Title,.promptMessage,........... |
112b20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 49 50 53 2e 53 54 44 5f 59 45 53 | .....................IPS.STD_YES |
112b40 | 5f 4e 4f 5f 42 55 54 54 4f 4e 53 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | _NO_BUTTONS,.................... |
112b60 | 20 20 20 20 20 20 20 20 20 20 20 6e 75 6c 6c 2c 20 6e 75 6c 6c 2c 20 6e 75 6c 6c 2c 20 6e 75 6c | ...........null,.null,.null,.nul |
112b80 | 6c 2c 20 7b 20 7d 29 3b 0a 20 20 20 20 20 20 69 66 20 28 72 76 20 3d 3d 20 30 29 0a 20 20 20 20 | l,.{.});.......if.(rv.==.0)..... |
112ba0 | 20 20 20 20 73 68 65 6c 6c 53 76 63 2e 73 65 74 44 65 66 61 75 6c 74 42 72 6f 77 73 65 72 28 74 | ....shellSvc.setDefaultBrowser(t |
112bc0 | 72 75 65 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 | rue,.false);.....}.....else.{... |
112be0 | 20 20 20 20 70 72 6f 6d 70 74 4d 65 73 73 61 67 65 20 3d 20 73 68 65 6c 6c 42 75 6e 64 6c 65 2e | ....promptMessage.=.shellBundle. |
112c00 | 67 65 74 46 6f 72 6d 61 74 74 65 64 53 74 72 69 6e 67 28 22 61 6c 72 65 61 64 79 44 65 66 61 75 | getFormattedString("alreadyDefau |
112c20 | 6c 74 42 72 6f 77 73 65 72 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ltBrowser",..................... |
112c40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
112c60 | 20 5b 62 72 61 6e 64 53 68 6f 72 74 4e 61 6d 65 5d 29 3b 0a 20 20 20 20 20 20 70 73 76 63 2e 61 | .[brandShortName]);.......psvc.a |
112c80 | 6c 65 72 74 28 77 69 6e 64 6f 77 2c 20 70 72 6f 6d 70 74 54 69 74 6c 65 2c 20 70 72 6f 6d 70 74 | lert(window,.promptTitle,.prompt |
112ca0 | 4d 65 73 73 61 67 65 29 3b 0a 20 20 20 20 7d 0a 20 20 7d 0a 2f 2f 40 6c 69 6e 65 20 36 31 36 20 | Message);.....}...}.//@line.616. |
112cc0 | 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f | "/builds/moz2_slave/linux_build/ |
112ce0 | 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 63 6f 6d 70 6f 6e 65 6e 74 73 2f 70 72 65 66 65 72 65 | build/browser/components/prefere |
112d00 | 6e 63 65 73 2f 61 64 76 61 6e 63 65 64 2e 6a 73 22 0a 7d 3b 0a 50 4b 03 04 14 00 00 00 00 00 f3 | nces/advanced.js".};.PK......... |
112d20 | 4b 18 3b 16 c1 b9 f2 d7 09 00 00 d7 09 00 00 30 00 00 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 | K.;............0...content/brows |
112d40 | 65 72 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 61 64 76 61 6e 63 65 64 2d 73 63 72 69 70 74 73 2e | er/preferences/advanced-scripts. |
112d60 | 78 75 6c 3c 3f 78 6d 6c 20 76 65 72 73 69 6f 6e 3d 22 31 2e 30 22 3f 3e 0a 0a 0a 3c 21 44 4f 43 | xul<?xml.version="1.0"?>...<!DOC |
112d80 | 54 59 50 45 20 70 72 65 66 77 69 6e 64 6f 77 20 53 59 53 54 45 4d 20 22 63 68 72 6f 6d 65 3a 2f | TYPE.prefwindow.SYSTEM."chrome:/ |
112da0 | 2f 62 72 6f 77 73 65 72 2f 6c 6f 63 61 6c 65 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 61 64 76 61 | /browser/locale/preferences/adva |
112dc0 | 6e 63 65 64 2d 73 63 72 69 70 74 73 2e 64 74 64 22 3e 0a 0a 3c 3f 78 6d 6c 2d 73 74 79 6c 65 73 | nced-scripts.dtd">..<?xml-styles |
112de0 | 68 65 65 74 20 68 72 65 66 3d 22 63 68 72 6f 6d 65 3a 2f 2f 67 6c 6f 62 61 6c 2f 73 6b 69 6e 2f | heet.href="chrome://global/skin/ |
112e00 | 22 3f 3e 0a 0a 3c 70 72 65 66 77 69 6e 64 6f 77 20 69 64 3d 22 41 64 76 61 6e 63 65 64 4a 53 44 | "?>..<prefwindow.id="AdvancedJSD |
112e20 | 69 61 6c 6f 67 22 20 74 79 70 65 3d 22 63 68 69 6c 64 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ialog".type="child"............. |
112e40 | 78 6d 6c 6e 73 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6b 65 | xmlns="http://www.mozilla.org/ke |
112e60 | 79 6d 61 73 74 65 72 2f 67 61 74 65 6b 65 65 70 65 72 2f 74 68 65 72 65 2e 69 73 2e 6f 6e 6c 79 | ymaster/gatekeeper/there.is.only |
112e80 | 2e 78 75 6c 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 69 74 6c 65 3d 22 26 61 64 76 61 6e 63 | .xul".............title="&advanc |
112ea0 | 65 64 4a 53 44 69 61 6c 6f 67 2e 74 69 74 6c 65 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 64 | edJSDialog.title;".............d |
112ec0 | 6c 67 62 75 74 74 6f 6e 73 3d 22 61 63 63 65 70 74 2c 63 61 6e 63 65 6c 2c 68 65 6c 70 22 0a 20 | lgbuttons="accept,cancel,help".. |
112ee0 | 20 20 20 20 20 20 20 20 20 20 20 6f 6e 64 69 61 6c 6f 67 68 65 6c 70 3d 22 6f 70 65 6e 50 72 65 | ...........ondialoghelp="openPre |
112f00 | 66 73 48 65 6c 70 28 29 22 3e 0a 0a 20 20 3c 73 63 72 69 70 74 20 74 79 70 65 3d 22 61 70 70 6c | fsHelp()">....<script.type="appl |
112f20 | 69 63 61 74 69 6f 6e 2f 6a 61 76 61 73 63 72 69 70 74 22 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a | ication/javascript".src="chrome: |
112f40 | 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 75 74 69 6c 69 74 79 4f 76 65 72 6c 61 79 | //browser/content/utilityOverlay |
112f60 | 2e 6a 73 22 2f 3e 0a 0a 20 20 3c 70 72 65 66 70 61 6e 65 20 69 64 3d 22 41 64 76 61 6e 63 65 64 | .js"/>....<prefpane.id="Advanced |
112f80 | 4a 53 44 69 61 6c 6f 67 50 61 6e 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 68 65 6c 70 54 6f | JSDialogPane".............helpTo |
112fa0 | 70 69 63 3d 22 70 72 65 66 73 2d 61 64 76 61 6e 63 65 64 2d 6a 61 76 61 73 63 72 69 70 74 22 3e | pic="prefs-advanced-javascript"> |
112fc0 | 0a 0a 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 73 3e 0a 20 20 20 20 20 3c 70 72 65 66 65 72 | ......<preferences>......<prefer |
112fe0 | 65 6e 63 65 20 69 64 3d 22 64 6f 6d 2e 65 76 65 6e 74 2e 63 6f 6e 74 65 78 74 6d 65 6e 75 2e 65 | ence.id="dom.event.contextmenu.e |
113000 | 6e 61 62 6c 65 64 22 20 20 6e 61 6d 65 3d 22 64 6f 6d 2e 65 76 65 6e 74 2e 63 6f 6e 74 65 78 74 | nabled"..name="dom.event.context |
113020 | 6d 65 6e 75 2e 65 6e 61 62 6c 65 64 22 20 20 74 79 70 65 3d 22 62 6f 6f 6c 22 2f 3e 0a 20 20 20 | menu.enabled"..type="bool"/>.... |
113040 | 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 64 6f 6d 2e 64 69 73 61 62 6c 65 5f 77 69 | ..<preference.id="dom.disable_wi |
113060 | 6e 64 6f 77 5f 6d 6f 76 65 5f 72 65 73 69 7a 65 22 20 6e 61 6d 65 3d 22 64 6f 6d 2e 64 69 73 61 | ndow_move_resize".name="dom.disa |
113080 | 62 6c 65 5f 77 69 6e 64 6f 77 5f 6d 6f 76 65 5f 72 65 73 69 7a 65 22 20 74 79 70 65 3d 22 62 6f | ble_window_move_resize".type="bo |
1130a0 | 6f 6c 22 20 69 6e 76 65 72 74 65 64 3d 22 74 72 75 65 22 2f 3e 0a 20 20 20 20 20 3c 70 72 65 66 | ol".inverted="true"/>......<pref |
1130c0 | 65 72 65 6e 63 65 20 69 64 3d 22 64 6f 6d 2e 64 69 73 61 62 6c 65 5f 77 69 6e 64 6f 77 5f 66 6c | erence.id="dom.disable_window_fl |
1130e0 | 69 70 22 20 20 20 20 20 20 20 20 6e 61 6d 65 3d 22 64 6f 6d 2e 64 69 73 61 62 6c 65 5f 77 69 6e | ip"........name="dom.disable_win |
113100 | 64 6f 77 5f 66 6c 69 70 22 20 20 20 20 20 20 20 20 74 79 70 65 3d 22 62 6f 6f 6c 22 20 69 6e 76 | dow_flip"........type="bool".inv |
113120 | 65 72 74 65 64 3d 22 74 72 75 65 22 2f 3e 0a 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 | erted="true"/>......<preference. |
113140 | 69 64 3d 22 64 6f 6d 2e 64 69 73 61 62 6c 65 5f 77 69 6e 64 6f 77 5f 6f 70 65 6e 5f 66 65 61 74 | id="dom.disable_window_open_feat |
113160 | 75 72 65 2e 73 74 61 74 75 73 22 20 69 6e 76 65 72 74 65 64 3d 22 74 72 75 65 22 0a 20 20 20 20 | ure.status".inverted="true"..... |
113180 | 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 61 6d 65 3d 22 64 6f 6d 2e 64 69 73 61 62 6c 65 5f 77 | .............name="dom.disable_w |
1131a0 | 69 6e 64 6f 77 5f 6f 70 65 6e 5f 66 65 61 74 75 72 65 2e 73 74 61 74 75 73 22 20 74 79 70 65 3d | indow_open_feature.status".type= |
1131c0 | 22 62 6f 6f 6c 22 2f 3e 0a 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 64 6f | "bool"/>......<preference.id="do |
1131e0 | 6d 2e 64 69 73 61 62 6c 65 5f 77 69 6e 64 6f 77 5f 73 74 61 74 75 73 5f 63 68 61 6e 67 65 22 20 | m.disable_window_status_change". |
113200 | 69 6e 76 65 72 74 65 64 3d 22 74 72 75 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | inverted="true"................. |
113220 | 20 6e 61 6d 65 3d 22 64 6f 6d 2e 64 69 73 61 62 6c 65 5f 77 69 6e 64 6f 77 5f 73 74 61 74 75 73 | .name="dom.disable_window_status |
113240 | 5f 63 68 61 6e 67 65 22 20 74 79 70 65 3d 22 62 6f 6f 6c 22 2f 3e 0a 20 20 20 20 3c 2f 70 72 65 | _change".type="bool"/>.....</pre |
113260 | 66 65 72 65 6e 63 65 73 3e 0a 20 20 20 20 0a 20 20 20 20 3c 73 63 72 69 70 74 20 74 79 70 65 3d | ferences>..........<script.type= |
113280 | 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f 78 2d 6a 61 76 61 73 63 72 69 70 74 22 20 73 72 63 3d 22 | "application/x-javascript".src=" |
1132a0 | 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 70 72 65 66 65 72 65 | chrome://browser/content/prefere |
1132c0 | 6e 63 65 73 2f 61 64 76 61 6e 63 65 64 2d 73 63 72 69 70 74 73 2e 6a 73 22 2f 3e 0a 0a 20 20 20 | nces/advanced-scripts.js"/>..... |
1132e0 | 20 3c 73 74 72 69 6e 67 62 75 6e 64 6c 65 20 69 64 3d 22 70 72 65 66 65 72 65 6e 63 65 73 42 75 | .<stringbundle.id="preferencesBu |
113300 | 6e 64 6c 65 22 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 6c 6f 63 61 | ndle".src="chrome://browser/loca |
113320 | 6c 65 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 70 72 65 66 65 72 65 6e 63 65 73 2e 70 72 6f 70 65 | le/preferences/preferences.prope |
113340 | 72 74 69 65 73 22 2f 3e 0a 0a 20 20 20 20 3c 64 65 73 63 72 69 70 74 69 6f 6e 20 76 61 6c 75 65 | rties"/>......<description.value |
113360 | 3d 22 26 61 6c 6c 6f 77 53 63 72 69 70 74 73 2e 6c 61 62 65 6c 3b 22 2f 3e 0a 0a 20 20 20 20 3c | ="&allowScripts.label;"/>......< |
113380 | 63 68 65 63 6b 62 6f 78 20 69 64 3d 22 6d 6f 76 65 52 65 73 69 7a 65 57 69 6e 64 6f 77 73 22 20 | checkbox.id="moveResizeWindows". |
1133a0 | 6c 61 62 65 6c 3d 22 26 6d 6f 76 65 52 65 73 69 7a 65 57 69 6e 64 6f 77 73 2e 6c 61 62 65 6c 3b | label="&moveResizeWindows.label; |
1133c0 | 22 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 6d 6f 76 | "................accesskey="&mov |
1133e0 | 65 52 65 73 69 7a 65 57 69 6e 64 6f 77 73 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 | eResizeWindows.accesskey;"...... |
113400 | 20 20 20 20 20 20 20 20 20 70 72 65 66 65 72 65 6e 63 65 3d 22 64 6f 6d 2e 64 69 73 61 62 6c 65 | .........preference="dom.disable |
113420 | 5f 77 69 6e 64 6f 77 5f 6d 6f 76 65 5f 72 65 73 69 7a 65 22 2f 3e 0a 20 20 20 20 3c 63 68 65 63 | _window_move_resize"/>.....<chec |
113440 | 6b 62 6f 78 20 69 64 3d 22 72 61 69 73 65 4c 6f 77 65 72 57 69 6e 64 6f 77 73 22 20 6c 61 62 65 | kbox.id="raiseLowerWindows".labe |
113460 | 6c 3d 22 26 72 61 69 73 65 4c 6f 77 65 72 57 69 6e 64 6f 77 73 2e 6c 61 62 65 6c 3b 22 20 0a 20 | l="&raiseLowerWindows.label;"... |
113480 | 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 72 61 69 73 65 4c 6f | .............accesskey="&raiseLo |
1134a0 | 77 65 72 57 69 6e 64 6f 77 73 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 | werWindows.accesskey;".......... |
1134c0 | 20 20 20 20 20 70 72 65 66 65 72 65 6e 63 65 3d 22 64 6f 6d 2e 64 69 73 61 62 6c 65 5f 77 69 6e | .....preference="dom.disable_win |
1134e0 | 64 6f 77 5f 66 6c 69 70 22 2f 3e 0a 20 20 20 20 3c 63 68 65 63 6b 62 6f 78 20 69 64 3d 22 64 69 | dow_flip"/>.....<checkbox.id="di |
113500 | 73 61 62 6c 65 43 6f 6e 74 65 78 74 4d 65 6e 75 73 22 20 6c 61 62 65 6c 3d 22 26 64 69 73 61 62 | sableContextMenus".label="&disab |
113520 | 6c 65 43 6f 6e 74 65 78 74 4d 65 6e 75 73 2e 6c 61 62 65 6c 3b 22 20 0a 20 20 20 20 20 20 20 20 | leContextMenus.label;".......... |
113540 | 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 64 69 73 61 62 6c 65 43 6f 6e 74 65 78 74 | ......accesskey="&disableContext |
113560 | 4d 65 6e 75 73 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | Menus.accesskey;"............... |
113580 | 70 72 65 66 65 72 65 6e 63 65 3d 22 64 6f 6d 2e 65 76 65 6e 74 2e 63 6f 6e 74 65 78 74 6d 65 6e | preference="dom.event.contextmen |
1135a0 | 75 2e 65 6e 61 62 6c 65 64 22 2f 3e 0a 20 20 20 20 3c 63 68 65 63 6b 62 6f 78 20 69 64 3d 22 68 | u.enabled"/>.....<checkbox.id="h |
1135c0 | 69 64 65 53 74 61 74 75 73 42 61 72 22 20 6c 61 62 65 6c 3d 22 26 68 69 64 65 53 74 61 74 75 73 | ideStatusBar".label="&hideStatus |
1135e0 | 42 61 72 2e 6c 61 62 65 6c 3b 22 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 | Bar.label;"................acces |
113600 | 73 6b 65 79 3d 22 26 68 69 64 65 53 74 61 74 75 73 42 61 72 2e 61 63 63 65 73 73 6b 65 79 3b 22 | skey="&hideStatusBar.accesskey;" |
113620 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 65 66 65 72 65 6e 63 65 3d 22 64 6f 6d 2e 64 | ...............preference="dom.d |
113640 | 69 73 61 62 6c 65 5f 77 69 6e 64 6f 77 5f 6f 70 65 6e 5f 66 65 61 74 75 72 65 2e 73 74 61 74 75 | isable_window_open_feature.statu |
113660 | 73 22 2f 3e 0a 20 20 20 20 3c 63 68 65 63 6b 62 6f 78 20 69 64 3d 22 63 68 61 6e 67 65 53 74 61 | s"/>.....<checkbox.id="changeSta |
113680 | 74 75 73 42 61 72 22 20 6c 61 62 65 6c 3d 22 26 63 68 61 6e 67 65 53 74 61 74 75 73 42 61 72 2e | tusBar".label="&changeStatusBar. |
1136a0 | 6c 61 62 65 6c 3b 22 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 | label;"................accesskey |
1136c0 | 3d 22 26 63 68 61 6e 67 65 53 74 61 74 75 73 42 61 72 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 | ="&changeStatusBar.accesskey;".. |
1136e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 65 66 65 72 65 6e 63 65 3d 22 64 6f 6d 2e 64 69 73 | .............preference="dom.dis |
113700 | 61 62 6c 65 5f 77 69 6e 64 6f 77 5f 73 74 61 74 75 73 5f 63 68 61 6e 67 65 22 2f 3e 0a 0a 20 20 | able_window_status_change"/>.... |
113720 | 3c 2f 70 72 65 66 70 61 6e 65 3e 0a 3c 2f 70 72 65 66 77 69 6e 64 6f 77 3e 0a 50 4b 03 04 14 00 | </prefpane>.</prefwindow>.PK.... |
113740 | 00 00 00 00 f3 4b 18 3b a6 a4 f5 d4 a8 0f 00 00 a8 0f 00 00 2c 00 00 00 63 6f 6e 74 65 6e 74 2f | .....K.;............,...content/ |
113760 | 62 72 6f 77 73 65 72 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 61 70 70 6c 69 63 61 74 69 6f 6e 73 | browser/preferences/applications |
113780 | 2e 78 75 6c 3c 3f 78 6d 6c 20 76 65 72 73 69 6f 6e 3d 22 31 2e 30 22 3f 3e 0a 0a 3c 21 2d 2d 0a | .xul<?xml.version="1.0"?>..<!--. |
1137a0 | 2d 2d 3e 0a 0a 3c 21 44 4f 43 54 59 50 45 20 6f 76 65 72 6c 61 79 20 5b 0a 20 20 3c 21 45 4e 54 | -->..<!DOCTYPE.overlay.[...<!ENT |
1137c0 | 49 54 59 20 25 20 62 72 61 6e 64 44 54 44 20 53 59 53 54 45 4d 20 22 63 68 72 6f 6d 65 3a 2f 2f | ITY.%.brandDTD.SYSTEM."chrome:// |
1137e0 | 62 72 61 6e 64 69 6e 67 2f 6c 6f 63 61 6c 65 2f 62 72 61 6e 64 2e 64 74 64 22 3e 0a 20 20 3c 21 | branding/locale/brand.dtd">...<! |
113800 | 45 4e 54 49 54 59 20 25 20 61 70 70 6c 69 63 61 74 69 6f 6e 73 44 54 44 20 53 59 53 54 45 4d 20 | ENTITY.%.applicationsDTD.SYSTEM. |
113820 | 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 6c 6f 63 61 6c 65 2f 70 72 65 66 65 72 65 | "chrome://browser/locale/prefere |
113840 | 6e 63 65 73 2f 61 70 70 6c 69 63 61 74 69 6f 6e 73 2e 64 74 64 22 3e 0a 20 20 25 62 72 61 6e 64 | nces/applications.dtd">...%brand |
113860 | 44 54 44 3b 0a 20 20 25 61 70 70 6c 69 63 61 74 69 6f 6e 73 44 54 44 3b 0a 5d 3e 0a 0a 3c 6f 76 | DTD;...%applicationsDTD;.]>..<ov |
113880 | 65 72 6c 61 79 20 69 64 3d 22 41 70 70 6c 69 63 61 74 69 6f 6e 73 50 61 6e 65 4f 76 65 72 6c 61 | erlay.id="ApplicationsPaneOverla |
1138a0 | 79 22 0a 20 20 20 20 20 20 20 20 20 78 6d 6c 6e 73 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f | y"..........xmlns="http://www.mo |
1138c0 | 7a 69 6c 6c 61 2e 6f 72 67 2f 6b 65 79 6d 61 73 74 65 72 2f 67 61 74 65 6b 65 65 70 65 72 2f 74 | zilla.org/keymaster/gatekeeper/t |
1138e0 | 68 65 72 65 2e 69 73 2e 6f 6e 6c 79 2e 78 75 6c 22 3e 0a 0a 20 20 3c 70 72 65 66 70 61 6e 65 20 | here.is.only.xul">....<prefpane. |
113900 | 69 64 3d 22 70 61 6e 65 41 70 70 6c 69 63 61 74 69 6f 6e 73 22 0a 20 20 20 20 20 20 20 20 20 20 | id="paneApplications"........... |
113920 | 20 20 6f 6e 70 61 6e 65 6c 6f 61 64 3d 22 67 41 70 70 6c 69 63 61 74 69 6f 6e 73 50 61 6e 65 2e | ..onpaneload="gApplicationsPane. |
113940 | 69 6e 69 74 28 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 66 6c 65 78 3d 22 31 22 0a 20 20 | init();".............flex="1"... |
113960 | 20 20 20 20 20 20 20 20 20 20 68 65 6c 70 54 6f 70 69 63 3d 22 70 72 65 66 73 2d 61 70 70 6c 69 | ..........helpTopic="prefs-appli |
113980 | 63 61 74 69 6f 6e 73 22 3e 0a 0a 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 73 20 69 64 3d 22 | cations">......<preferences.id=" |
1139a0 | 66 65 65 64 73 50 72 65 66 65 72 65 6e 63 65 73 22 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 | feedsPreferences">.......<prefer |
1139c0 | 65 6e 63 65 20 69 64 3d 22 62 72 6f 77 73 65 72 2e 66 65 65 64 73 2e 68 61 6e 64 6c 65 72 22 0a | ence.id="browser.feeds.handler". |
1139e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 61 6d 65 3d 22 62 72 6f 77 73 65 72 2e | ..................name="browser. |
113a00 | 66 65 65 64 73 2e 68 61 6e 64 6c 65 72 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | feeds.handler".................. |
113a20 | 20 74 79 70 65 3d 22 73 74 72 69 6e 67 22 2f 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e | .type="string"/>.......<preferen |
113a40 | 63 65 20 69 64 3d 22 62 72 6f 77 73 65 72 2e 66 65 65 64 73 2e 68 61 6e 64 6c 65 72 2e 64 65 66 | ce.id="browser.feeds.handler.def |
113a60 | 61 75 6c 74 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 61 6d 65 3d 22 62 72 | ault"...................name="br |
113a80 | 6f 77 73 65 72 2e 66 65 65 64 73 2e 68 61 6e 64 6c 65 72 2e 64 65 66 61 75 6c 74 22 0a 20 20 20 | owser.feeds.handler.default".... |
113aa0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 79 70 65 3d 22 73 74 72 69 6e 67 22 2f 3e 0a 20 | ...............type="string"/>.. |
113ac0 | 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 62 72 6f 77 73 65 72 2e 66 65 65 | .....<preference.id="browser.fee |
113ae0 | 64 73 2e 68 61 6e 64 6c 65 72 73 2e 61 70 70 6c 69 63 61 74 69 6f 6e 22 0a 20 20 20 20 20 20 20 | ds.handlers.application"........ |
113b00 | 20 20 20 20 20 20 20 20 20 20 20 6e 61 6d 65 3d 22 62 72 6f 77 73 65 72 2e 66 65 65 64 73 2e 68 | ...........name="browser.feeds.h |
113b20 | 61 6e 64 6c 65 72 73 2e 61 70 70 6c 69 63 61 74 69 6f 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 | andlers.application"............ |
113b40 | 20 20 20 20 20 20 20 74 79 70 65 3d 22 66 69 6c 65 22 2f 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 | .......type="file"/>.......<pref |
113b60 | 65 72 65 6e 63 65 20 69 64 3d 22 62 72 6f 77 73 65 72 2e 66 65 65 64 73 2e 68 61 6e 64 6c 65 72 | erence.id="browser.feeds.handler |
113b80 | 73 2e 77 65 62 73 65 72 76 69 63 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | s.webservice"................... |
113ba0 | 6e 61 6d 65 3d 22 62 72 6f 77 73 65 72 2e 66 65 65 64 73 2e 68 61 6e 64 6c 65 72 73 2e 77 65 62 | name="browser.feeds.handlers.web |
113bc0 | 73 65 72 76 69 63 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 79 70 65 3d | service"...................type= |
113be0 | 22 73 74 72 69 6e 67 22 2f 3e 0a 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 64 | "string"/>........<preference.id |
113c00 | 3d 22 62 72 6f 77 73 65 72 2e 76 69 64 65 6f 46 65 65 64 73 2e 68 61 6e 64 6c 65 72 22 0a 20 20 | ="browser.videoFeeds.handler"... |
113c20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 61 6d 65 3d 22 62 72 6f 77 73 65 72 2e 76 69 | ................name="browser.vi |
113c40 | 64 65 6f 46 65 65 64 73 2e 68 61 6e 64 6c 65 72 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | deoFeeds.handler"............... |
113c60 | 20 20 20 20 74 79 70 65 3d 22 73 74 72 69 6e 67 22 2f 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 65 | ....type="string"/>.......<prefe |
113c80 | 72 65 6e 63 65 20 69 64 3d 22 62 72 6f 77 73 65 72 2e 76 69 64 65 6f 46 65 65 64 73 2e 68 61 6e | rence.id="browser.videoFeeds.han |
113ca0 | 64 6c 65 72 2e 64 65 66 61 75 6c 74 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | dler.default"................... |
113cc0 | 6e 61 6d 65 3d 22 62 72 6f 77 73 65 72 2e 76 69 64 65 6f 46 65 65 64 73 2e 68 61 6e 64 6c 65 72 | name="browser.videoFeeds.handler |
113ce0 | 2e 64 65 66 61 75 6c 74 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 79 70 65 | .default"...................type |
113d00 | 3d 22 73 74 72 69 6e 67 22 2f 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 64 | ="string"/>.......<preference.id |
113d20 | 3d 22 62 72 6f 77 73 65 72 2e 76 69 64 65 6f 46 65 65 64 73 2e 68 61 6e 64 6c 65 72 73 2e 61 70 | ="browser.videoFeeds.handlers.ap |
113d40 | 70 6c 69 63 61 74 69 6f 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 61 6d | plication"...................nam |
113d60 | 65 3d 22 62 72 6f 77 73 65 72 2e 76 69 64 65 6f 46 65 65 64 73 2e 68 61 6e 64 6c 65 72 73 2e 61 | e="browser.videoFeeds.handlers.a |
113d80 | 70 70 6c 69 63 61 74 69 6f 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 79 | pplication"...................ty |
113da0 | 70 65 3d 22 66 69 6c 65 22 2f 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 64 | pe="file"/>.......<preference.id |
113dc0 | 3d 22 62 72 6f 77 73 65 72 2e 76 69 64 65 6f 46 65 65 64 73 2e 68 61 6e 64 6c 65 72 73 2e 77 65 | ="browser.videoFeeds.handlers.we |
113de0 | 62 73 65 72 76 69 63 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 61 6d 65 | bservice"...................name |
113e00 | 3d 22 62 72 6f 77 73 65 72 2e 76 69 64 65 6f 46 65 65 64 73 2e 68 61 6e 64 6c 65 72 73 2e 77 65 | ="browser.videoFeeds.handlers.we |
113e20 | 62 73 65 72 76 69 63 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 79 70 65 | bservice"...................type |
113e40 | 3d 22 73 74 72 69 6e 67 22 2f 3e 0a 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 | ="string"/>........<preference.i |
113e60 | 64 3d 22 62 72 6f 77 73 65 72 2e 61 75 64 69 6f 46 65 65 64 73 2e 68 61 6e 64 6c 65 72 22 0a 20 | d="browser.audioFeeds.handler".. |
113e80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 61 6d 65 3d 22 62 72 6f 77 73 65 72 2e 61 | .................name="browser.a |
113ea0 | 75 64 69 6f 46 65 65 64 73 2e 68 61 6e 64 6c 65 72 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | udioFeeds.handler".............. |
113ec0 | 20 20 20 20 20 74 79 70 65 3d 22 73 74 72 69 6e 67 22 2f 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 | .....type="string"/>.......<pref |
113ee0 | 65 72 65 6e 63 65 20 69 64 3d 22 62 72 6f 77 73 65 72 2e 61 75 64 69 6f 46 65 65 64 73 2e 68 61 | erence.id="browser.audioFeeds.ha |
113f00 | 6e 64 6c 65 72 2e 64 65 66 61 75 6c 74 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ndler.default".................. |
113f20 | 20 6e 61 6d 65 3d 22 62 72 6f 77 73 65 72 2e 61 75 64 69 6f 46 65 65 64 73 2e 68 61 6e 64 6c 65 | .name="browser.audioFeeds.handle |
113f40 | 72 2e 64 65 66 61 75 6c 74 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 79 70 | r.default"...................typ |
113f60 | 65 3d 22 73 74 72 69 6e 67 22 2f 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 | e="string"/>.......<preference.i |
113f80 | 64 3d 22 62 72 6f 77 73 65 72 2e 61 75 64 69 6f 46 65 65 64 73 2e 68 61 6e 64 6c 65 72 73 2e 61 | d="browser.audioFeeds.handlers.a |
113fa0 | 70 70 6c 69 63 61 74 69 6f 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 61 | pplication"...................na |
113fc0 | 6d 65 3d 22 62 72 6f 77 73 65 72 2e 61 75 64 69 6f 46 65 65 64 73 2e 68 61 6e 64 6c 65 72 73 2e | me="browser.audioFeeds.handlers. |
113fe0 | 61 70 70 6c 69 63 61 74 69 6f 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 | application"...................t |
114000 | 79 70 65 3d 22 66 69 6c 65 22 2f 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 | ype="file"/>.......<preference.i |
114020 | 64 3d 22 62 72 6f 77 73 65 72 2e 61 75 64 69 6f 46 65 65 64 73 2e 68 61 6e 64 6c 65 72 73 2e 77 | d="browser.audioFeeds.handlers.w |
114040 | 65 62 73 65 72 76 69 63 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 61 6d | ebservice"...................nam |
114060 | 65 3d 22 62 72 6f 77 73 65 72 2e 61 75 64 69 6f 46 65 65 64 73 2e 68 61 6e 64 6c 65 72 73 2e 77 | e="browser.audioFeeds.handlers.w |
114080 | 65 62 73 65 72 76 69 63 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 79 70 | ebservice"...................typ |
1140a0 | 65 3d 22 73 74 72 69 6e 67 22 2f 3e 0a 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 | e="string"/>........<preference. |
1140c0 | 69 64 3d 22 70 72 65 66 2e 64 6f 77 6e 6c 6f 61 64 73 2e 64 69 73 61 62 6c 65 5f 62 75 74 74 6f | id="pref.downloads.disable_butto |
1140e0 | 6e 2e 65 64 69 74 5f 61 63 74 69 6f 6e 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | n.edit_actions"................. |
114100 | 20 20 6e 61 6d 65 3d 22 70 72 65 66 2e 64 6f 77 6e 6c 6f 61 64 73 2e 64 69 73 61 62 6c 65 5f 62 | ..name="pref.downloads.disable_b |
114120 | 75 74 74 6f 6e 2e 65 64 69 74 5f 61 63 74 69 6f 6e 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 | utton.edit_actions"............. |
114140 | 20 20 20 20 20 20 74 79 70 65 3d 22 62 6f 6f 6c 22 2f 3e 0a 20 20 20 20 3c 2f 70 72 65 66 65 72 | ......type="bool"/>.....</prefer |
114160 | 65 6e 63 65 73 3e 0a 0a 20 20 20 20 3c 73 63 72 69 70 74 20 74 79 70 65 3d 22 61 70 70 6c 69 63 | ences>......<script.type="applic |
114180 | 61 74 69 6f 6e 2f 78 2d 6a 61 76 61 73 63 72 69 70 74 22 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a | ation/x-javascript".src="chrome: |
1141a0 | 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 61 70 | //browser/content/preferences/ap |
1141c0 | 70 6c 69 63 61 74 69 6f 6e 73 2e 6a 73 22 2f 3e 0a 0a 20 20 20 20 3c 6b 65 79 73 65 74 3e 0a 20 | plications.js"/>......<keyset>.. |
1141e0 | 20 20 20 20 20 3c 6b 65 79 20 6b 65 79 3d 22 26 66 6f 63 75 73 53 65 61 72 63 68 31 2e 6b 65 79 | .....<key.key="&focusSearch1.key |
114200 | 3b 22 20 6d 6f 64 69 66 69 65 72 73 3d 22 61 63 63 65 6c 22 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 | ;".modifiers="accel".oncommand=" |
114220 | 67 41 70 70 6c 69 63 61 74 69 6f 6e 73 50 61 6e 65 2e 66 6f 63 75 73 46 69 6c 74 65 72 42 6f 78 | gApplicationsPane.focusFilterBox |
114240 | 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 6b 65 79 20 6b 65 79 3d 22 26 66 6f 63 75 73 53 65 61 | ();"/>.......<key.key="&focusSea |
114260 | 72 63 68 32 2e 6b 65 79 3b 22 20 6d 6f 64 69 66 69 65 72 73 3d 22 61 63 63 65 6c 22 20 6f 6e 63 | rch2.key;".modifiers="accel".onc |
114280 | 6f 6d 6d 61 6e 64 3d 22 67 41 70 70 6c 69 63 61 74 69 6f 6e 73 50 61 6e 65 2e 66 6f 63 75 73 46 | ommand="gApplicationsPane.focusF |
1142a0 | 69 6c 74 65 72 42 6f 78 28 29 3b 22 2f 3e 0a 20 20 20 20 3c 2f 6b 65 79 73 65 74 3e 0a 0a 20 20 | ilterBox();"/>.....</keyset>.... |
1142c0 | 20 20 3c 68 62 6f 78 3e 0a 20 20 20 20 20 20 3c 74 65 78 74 62 6f 78 20 69 64 3d 22 66 69 6c 74 | ..<hbox>.......<textbox.id="filt |
1142e0 | 65 72 22 20 66 6c 65 78 3d 22 31 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 79 70 65 | er".flex="1"................type |
114300 | 3d 22 73 65 61 72 63 68 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 6d 70 74 79 74 65 | ="search"................emptyte |
114320 | 78 74 3d 22 26 66 69 6c 74 65 72 2e 65 6d 70 74 79 74 65 78 74 3b 22 0a 20 20 20 20 20 20 20 20 | xt="&filter.emptytext;"......... |
114340 | 20 20 20 20 20 20 20 61 72 69 61 2d 63 6f 6e 74 72 6f 6c 73 3d 22 68 61 6e 64 6c 65 72 73 56 69 | .......aria-controls="handlersVi |
114360 | 65 77 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 41 | ew"................oncommand="gA |
114380 | 70 70 6c 69 63 61 74 69 6f 6e 73 50 61 6e 65 2e 66 69 6c 74 65 72 28 29 3b 22 2f 3e 0a 20 20 20 | pplicationsPane.filter();"/>.... |
1143a0 | 20 3c 2f 68 62 6f 78 3e 0a 0a 20 20 20 20 3c 73 65 70 61 72 61 74 6f 72 20 63 6c 61 73 73 3d 22 | .</hbox>......<separator.class=" |
1143c0 | 74 68 69 6e 22 2f 3e 0a 0a 20 20 20 20 3c 72 69 63 68 6c 69 73 74 62 6f 78 20 69 64 3d 22 68 61 | thin"/>......<richlistbox.id="ha |
1143e0 | 6e 64 6c 65 72 73 56 69 65 77 22 20 6f 72 69 65 6e 74 3d 22 76 65 72 74 69 63 61 6c 22 20 70 65 | ndlersView".orient="vertical".pe |
114400 | 72 73 69 73 74 3d 22 6c 61 73 74 53 65 6c 65 63 74 65 64 54 79 70 65 22 0a 20 20 20 20 20 20 20 | rsist="lastSelectedType"........ |
114420 | 20 20 20 20 20 20 20 20 20 20 70 72 65 66 65 72 65 6e 63 65 3d 22 70 72 65 66 2e 64 6f 77 6e 6c | ..........preference="pref.downl |
114440 | 6f 61 64 73 2e 64 69 73 61 62 6c 65 5f 62 75 74 74 6f 6e 2e 65 64 69 74 5f 61 63 74 69 6f 6e 73 | oads.disable_button.edit_actions |
114460 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 73 65 6c 65 63 74 3d 22 67 41 70 | "..................onselect="gAp |
114480 | 70 6c 69 63 61 74 69 6f 6e 73 50 61 6e 65 2e 6f 6e 53 65 6c 65 63 74 69 6f 6e 43 68 61 6e 67 65 | plicationsPane.onSelectionChange |
1144a0 | 64 28 29 3b 22 3e 0a 20 20 20 20 20 20 3c 6c 69 73 74 68 65 61 64 65 72 20 65 71 75 61 6c 73 69 | d();">.......<listheader.equalsi |
1144c0 | 7a 65 3d 22 61 6c 77 61 79 73 22 20 73 74 79 6c 65 3d 22 62 6f 72 64 65 72 3a 20 30 3b 20 70 61 | ze="always".style="border:.0;.pa |
1144e0 | 64 64 69 6e 67 3a 20 30 3b 20 2d 6d 6f 7a 2d 61 70 70 65 61 72 61 6e 63 65 3a 20 6e 6f 6e 65 3b | dding:.0;.-moz-appearance:.none; |
114500 | 22 3e 0a 20 20 20 20 20 20 20 20 3c 74 72 65 65 63 6f 6c 20 69 64 3d 22 74 79 70 65 43 6f 6c 75 | ">.........<treecol.id="typeColu |
114520 | 6d 6e 22 20 6c 61 62 65 6c 3d 22 26 74 79 70 65 43 6f 6c 75 6d 6e 2e 6c 61 62 65 6c 3b 22 20 76 | mn".label="&typeColumn.label;".v |
114540 | 61 6c 75 65 3d 22 74 79 70 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 | alue="type"..................acc |
114560 | 65 73 73 6b 65 79 3d 22 26 74 79 70 65 43 6f 6c 75 6d 6e 2e 61 63 63 65 73 73 6b 65 79 3b 22 20 | esskey="&typeColumn.accesskey;". |
114580 | 70 65 72 73 69 73 74 3d 22 73 6f 72 74 44 69 72 65 63 74 69 6f 6e 22 0a 20 20 20 20 20 20 20 20 | persist="sortDirection"......... |
1145a0 | 20 20 20 20 20 20 20 20 20 66 6c 65 78 3d 22 31 22 20 6f 6e 63 6c 69 63 6b 3d 22 67 41 70 70 6c | .........flex="1".onclick="gAppl |
1145c0 | 69 63 61 74 69 6f 6e 73 50 61 6e 65 2e 73 6f 72 74 28 65 76 65 6e 74 29 3b 22 0a 20 20 20 20 20 | icationsPane.sort(event);"...... |
1145e0 | 20 20 20 20 20 20 20 20 20 20 20 20 73 6f 72 74 44 69 72 65 63 74 69 6f 6e 3d 22 61 73 63 65 6e | ............sortDirection="ascen |
114600 | 64 69 6e 67 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 74 72 65 65 63 6f 6c 20 69 64 3d 22 61 63 74 | ding"/>.........<treecol.id="act |
114620 | 69 6f 6e 43 6f 6c 75 6d 6e 22 20 6c 61 62 65 6c 3d 22 26 61 63 74 69 6f 6e 43 6f 6c 75 6d 6e 32 | ionColumn".label="&actionColumn2 |
114640 | 2e 6c 61 62 65 6c 3b 22 20 76 61 6c 75 65 3d 22 61 63 74 69 6f 6e 22 0a 20 20 20 20 20 20 20 20 | .label;".value="action"......... |
114660 | 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 61 63 74 69 6f 6e 43 6f 6c 75 6d | .........accesskey="&actionColum |
114680 | 6e 32 2e 61 63 63 65 73 73 6b 65 79 3b 22 20 70 65 72 73 69 73 74 3d 22 73 6f 72 74 44 69 72 65 | n2.accesskey;".persist="sortDire |
1146a0 | 63 74 69 6f 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 6c 65 78 3d 22 31 22 | ction"..................flex="1" |
1146c0 | 20 6f 6e 63 6c 69 63 6b 3d 22 67 41 70 70 6c 69 63 61 74 69 6f 6e 73 50 61 6e 65 2e 73 6f 72 74 | .onclick="gApplicationsPane.sort |
1146e0 | 28 65 76 65 6e 74 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 2f 6c 69 73 74 68 65 61 64 65 72 3e 0a | (event);"/>.......</listheader>. |
114700 | 20 20 20 20 3c 2f 72 69 63 68 6c 69 73 74 62 6f 78 3e 0a 20 20 3c 2f 70 72 65 66 70 61 6e 65 3e | ....</richlistbox>...</prefpane> |
114720 | 0a 3c 2f 6f 76 65 72 6c 61 79 3e 0a 50 4b 03 04 14 00 00 00 00 00 f3 4b 18 3b 8e a7 15 b1 4d 0a | .</overlay>.PK.........K.;....M. |
114740 | 01 00 4d 0a 01 00 2b 00 00 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 72 65 66 65 72 | ..M...+...content/browser/prefer |
114760 | 65 6e 63 65 73 2f 61 70 70 6c 69 63 61 74 69 6f 6e 73 2e 6a 73 2f 2a 0a 2f 2f 40 6c 69 6e 65 20 | ences/applications.js/*.//@line. |
114780 | 34 34 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 | 44."/builds/moz2_slave/linux_bui |
1147a0 | 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 63 6f 6d 70 6f 6e 65 6e 74 73 2f 70 72 65 66 | ld/build/browser/components/pref |
1147c0 | 65 72 65 6e 63 65 73 2f 61 70 70 6c 69 63 61 74 69 6f 6e 73 2e 6a 73 22 0a 20 2a 2f 0a 0a 2f 2f | erences/applications.js"..*/..// |
1147e0 | 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a | ******************************** |
114800 | 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a | ******************************** |
114820 | 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2f 2f 0a 2f 2f 20 43 6f 6e 73 74 61 6e 74 73 20 26 20 45 6e | ************//.//.Constants.&.En |
114840 | 75 6d 65 72 61 74 69 6f 6e 20 56 61 6c 75 65 73 0a 0a 2f 2a 0a 2f 2f 40 6c 69 6e 65 20 35 31 20 | umeration.Values../*.//@line.51. |
114860 | 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f | "/builds/moz2_slave/linux_build/ |
114880 | 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 63 6f 6d 70 6f 6e 65 6e 74 73 2f 70 72 65 66 65 72 65 | build/browser/components/prefere |
1148a0 | 6e 63 65 73 2f 61 70 70 6c 69 63 61 74 69 6f 6e 73 2e 6a 73 22 0a 2a 2f 0a 76 61 72 20 43 63 20 | nces/applications.js".*/.var.Cc. |
1148c0 | 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 3b 0a 76 61 72 20 43 69 20 3d 20 43 | =.Components.classes;.var.Ci.=.C |
1148e0 | 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 3b 0a 76 61 72 20 43 72 20 3d 20 43 | omponents.interfaces;.var.Cr.=.C |
114900 | 6f 6d 70 6f 6e 65 6e 74 73 2e 72 65 73 75 6c 74 73 3b 0a 2f 2a 0a 2f 2f 40 6c 69 6e 65 20 35 37 | omponents.results;./*.//@line.57 |
114920 | 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 | ."/builds/moz2_slave/linux_build |
114940 | 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 63 6f 6d 70 6f 6e 65 6e 74 73 2f 70 72 65 66 65 72 | /build/browser/components/prefer |
114960 | 65 6e 63 65 73 2f 61 70 70 6c 69 63 61 74 69 6f 6e 73 2e 6a 73 22 0a 2a 2f 0a 0a 63 6f 6e 73 74 | ences/applications.js".*/..const |
114980 | 20 54 59 50 45 5f 4d 41 59 42 45 5f 46 45 45 44 20 3d 20 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f | .TYPE_MAYBE_FEED.=."application/ |
1149a0 | 76 6e 64 2e 6d 6f 7a 69 6c 6c 61 2e 6d 61 79 62 65 2e 66 65 65 64 22 3b 0a 63 6f 6e 73 74 20 54 | vnd.mozilla.maybe.feed";.const.T |
1149c0 | 59 50 45 5f 4d 41 59 42 45 5f 56 49 44 45 4f 5f 46 45 45 44 20 3d 20 22 61 70 70 6c 69 63 61 74 | YPE_MAYBE_VIDEO_FEED.=."applicat |
1149e0 | 69 6f 6e 2f 76 6e 64 2e 6d 6f 7a 69 6c 6c 61 2e 6d 61 79 62 65 2e 76 69 64 65 6f 2e 66 65 65 64 | ion/vnd.mozilla.maybe.video.feed |
114a00 | 22 3b 0a 63 6f 6e 73 74 20 54 59 50 45 5f 4d 41 59 42 45 5f 41 55 44 49 4f 5f 46 45 45 44 20 3d | ";.const.TYPE_MAYBE_AUDIO_FEED.= |
114a20 | 20 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f 76 6e 64 2e 6d 6f 7a 69 6c 6c 61 2e 6d 61 79 62 65 2e | ."application/vnd.mozilla.maybe. |
114a40 | 61 75 64 69 6f 2e 66 65 65 64 22 3b 0a 0a 63 6f 6e 73 74 20 50 52 45 46 5f 44 49 53 41 42 4c 45 | audio.feed";..const.PREF_DISABLE |
114a60 | 44 5f 50 4c 55 47 49 4e 5f 54 59 50 45 53 20 3d 20 22 70 6c 75 67 69 6e 2e 64 69 73 61 62 6c 65 | D_PLUGIN_TYPES.=."plugin.disable |
114a80 | 5f 66 75 6c 6c 5f 70 61 67 65 5f 70 6c 75 67 69 6e 5f 66 6f 72 5f 74 79 70 65 73 22 3b 0a 0a 2f | _full_page_plugin_for_types";../ |
114aa0 | 2f 20 50 72 65 66 65 72 65 6e 63 65 73 20 74 68 61 74 20 61 66 66 65 63 74 20 77 68 69 63 68 20 | /.Preferences.that.affect.which. |
114ac0 | 65 6e 74 72 69 65 73 20 74 6f 20 73 68 6f 77 20 69 6e 20 74 68 65 20 6c 69 73 74 2e 0a 63 6f 6e | entries.to.show.in.the.list..con |
114ae0 | 73 74 20 50 52 45 46 5f 53 48 4f 57 5f 50 4c 55 47 49 4e 53 5f 49 4e 5f 4c 49 53 54 20 3d 20 22 | st.PREF_SHOW_PLUGINS_IN_LIST.=." |
114b00 | 62 72 6f 77 73 65 72 2e 64 6f 77 6e 6c 6f 61 64 2e 73 68 6f 77 5f 70 6c 75 67 69 6e 73 5f 69 6e | browser.download.show_plugins_in |
114b20 | 5f 6c 69 73 74 22 3b 0a 63 6f 6e 73 74 20 50 52 45 46 5f 48 49 44 45 5f 50 4c 55 47 49 4e 53 5f | _list";.const.PREF_HIDE_PLUGINS_ |
114b40 | 57 49 54 48 4f 55 54 5f 45 58 54 45 4e 53 49 4f 4e 53 20 3d 0a 20 20 22 62 72 6f 77 73 65 72 2e | WITHOUT_EXTENSIONS.=..."browser. |
114b60 | 64 6f 77 6e 6c 6f 61 64 2e 68 69 64 65 5f 70 6c 75 67 69 6e 73 5f 77 69 74 68 6f 75 74 5f 65 78 | download.hide_plugins_without_ex |
114b80 | 74 65 6e 73 69 6f 6e 73 22 3b 0a 0a 2f 2a 0a 20 2a 20 50 72 65 66 65 72 65 6e 63 65 73 20 77 68 | tensions";../*..*.Preferences.wh |
114ba0 | 65 72 65 20 77 65 20 73 74 6f 72 65 20 68 61 6e 64 6c 69 6e 67 20 69 6e 66 6f 72 6d 61 74 69 6f | ere.we.store.handling.informatio |
114bc0 | 6e 20 61 62 6f 75 74 20 74 68 65 20 66 65 65 64 20 74 79 70 65 2e 0a 20 2a 0a 20 2a 20 62 72 6f | n.about.the.feed.type...*..*.bro |
114be0 | 77 73 65 72 2e 66 65 65 64 73 2e 68 61 6e 64 6c 65 72 0a 20 2a 20 2d 20 22 62 6f 6f 6b 6d 61 72 | wser.feeds.handler..*.-."bookmar |
114c00 | 6b 73 22 2c 20 22 72 65 61 64 65 72 22 20 28 63 6c 61 72 69 66 69 65 64 20 66 75 72 74 68 65 72 | ks",."reader".(clarified.further |
114c20 | 20 75 73 69 6e 67 20 74 68 65 20 2e 64 65 66 61 75 6c 74 20 70 72 65 66 65 72 65 6e 63 65 29 2c | .using.the..default.preference), |
114c40 | 0a 20 2a 20 20 20 6f 72 20 22 61 73 6b 22 20 2d 2d 20 69 6e 64 69 63 61 74 65 73 20 74 68 65 20 | ..*...or."ask".--.indicates.the. |
114c60 | 64 65 66 61 75 6c 74 20 68 61 6e 64 6c 65 72 20 62 65 69 6e 67 20 75 73 65 64 20 74 6f 20 70 72 | default.handler.being.used.to.pr |
114c80 | 6f 63 65 73 73 20 66 65 65 64 73 3b 0a 20 2a 20 20 20 22 62 6f 6f 6b 6d 61 72 6b 73 22 20 69 73 | ocess.feeds;..*..."bookmarks".is |
114ca0 | 20 6f 62 73 6f 6c 65 74 65 3b 20 74 6f 20 73 70 65 63 69 66 79 20 74 68 61 74 20 74 68 65 20 68 | .obsolete;.to.specify.that.the.h |
114cc0 | 61 6e 64 6c 65 72 20 69 73 20 62 6f 6f 6b 6d 61 72 6b 73 2c 0a 20 2a 20 20 20 73 65 74 20 62 72 | andler.is.bookmarks,..*...set.br |
114ce0 | 6f 77 73 65 72 2e 66 65 65 64 73 2e 68 61 6e 64 6c 65 72 2e 64 65 66 61 75 6c 74 20 74 6f 20 22 | owser.feeds.handler.default.to." |
114d00 | 62 6f 6f 6b 6d 61 72 6b 73 22 3b 0a 20 2a 0a 20 2a 20 62 72 6f 77 73 65 72 2e 66 65 65 64 73 2e | bookmarks";..*..*.browser.feeds. |
114d20 | 68 61 6e 64 6c 65 72 2e 64 65 66 61 75 6c 74 0a 20 2a 20 2d 20 22 62 6f 6f 6b 6d 61 72 6b 73 22 | handler.default..*.-."bookmarks" |
114d40 | 2c 20 22 63 6c 69 65 6e 74 22 20 6f 72 20 22 77 65 62 22 20 2d 2d 20 69 6e 64 69 63 61 74 65 73 | ,."client".or."web".--.indicates |
114d60 | 20 74 68 65 20 63 68 6f 73 65 6e 20 66 65 65 64 20 72 65 61 64 65 72 20 75 73 65 64 0a 20 2a 20 | .the.chosen.feed.reader.used..*. |
114d80 | 20 20 74 6f 20 64 69 73 70 6c 61 79 20 66 65 65 64 73 2c 20 65 69 74 68 65 72 20 74 72 61 6e 73 | ..to.display.feeds,.either.trans |
114da0 | 69 65 6e 74 6c 79 20 28 69 2e 65 2e 2c 20 77 68 65 6e 20 74 68 65 20 22 75 73 65 20 61 73 20 64 | iently.(i.e.,.when.the."use.as.d |
114dc0 | 65 66 61 75 6c 74 22 0a 20 2a 20 20 20 63 68 65 63 6b 62 6f 78 20 69 73 20 75 6e 63 68 65 63 6b | efault"..*...checkbox.is.uncheck |
114de0 | 65 64 2c 20 63 6f 72 72 65 73 70 6f 6e 64 73 20 74 6f 20 77 68 65 6e 20 62 72 6f 77 73 65 72 2e | ed,.corresponds.to.when.browser. |
114e00 | 66 65 65 64 73 2e 68 61 6e 64 6c 65 72 3d 3d 22 61 73 6b 22 29 0a 20 2a 20 20 20 6f 72 20 6d 6f | feeds.handler=="ask")..*...or.mo |
114e20 | 72 65 20 70 65 72 6d 61 6e 65 6e 74 6c 79 20 28 69 2e 65 2e 2c 20 74 68 65 20 69 74 65 6d 20 64 | re.permanently.(i.e.,.the.item.d |
114e40 | 69 73 70 6c 61 79 65 64 20 69 6e 20 74 68 65 20 64 72 6f 70 64 6f 77 6e 20 69 6e 20 46 65 65 64 | isplayed.in.the.dropdown.in.Feed |
114e60 | 73 0a 20 2a 20 20 20 70 72 65 66 65 72 65 6e 63 65 73 29 0a 20 2a 0a 20 2a 20 62 72 6f 77 73 65 | s..*...preferences)..*..*.browse |
114e80 | 72 2e 66 65 65 64 73 2e 68 61 6e 64 6c 65 72 2e 77 65 62 73 65 72 76 69 63 65 0a 20 2a 20 2d 20 | r.feeds.handler.webservice..*.-. |
114ea0 | 74 68 65 20 55 52 4c 20 6f 66 20 74 68 65 20 63 75 72 72 65 6e 74 6c 79 20 73 65 6c 65 63 74 65 | the.URL.of.the.currently.selecte |
114ec0 | 64 20 77 65 62 20 73 65 72 76 69 63 65 20 75 73 65 64 20 74 6f 20 72 65 61 64 20 66 65 65 64 73 | d.web.service.used.to.read.feeds |
114ee0 | 0a 20 2a 0a 20 2a 20 62 72 6f 77 73 65 72 2e 66 65 65 64 73 2e 68 61 6e 64 6c 65 72 73 2e 61 70 | ..*..*.browser.feeds.handlers.ap |
114f00 | 70 6c 69 63 61 74 69 6f 6e 0a 20 2a 20 2d 20 6e 73 49 4c 6f 63 61 6c 46 69 6c 65 2c 20 73 74 6f | plication..*.-.nsILocalFile,.sto |
114f20 | 72 65 73 20 74 68 65 20 63 75 72 72 65 6e 74 20 63 6c 69 65 6e 74 2d 73 69 64 65 20 66 65 65 64 | res.the.current.client-side.feed |
114f40 | 20 72 65 61 64 69 6e 67 20 61 70 70 20 69 66 20 6f 6e 65 20 68 61 73 0a 20 2a 20 20 20 62 65 65 | .reading.app.if.one.has..*...bee |
114f60 | 6e 20 63 68 6f 73 65 6e 0a 20 2a 2f 0a 63 6f 6e 73 74 20 50 52 45 46 5f 46 45 45 44 5f 53 45 4c | n.chosen..*/.const.PREF_FEED_SEL |
114f80 | 45 43 54 45 44 5f 41 50 50 20 20 20 20 3d 20 22 62 72 6f 77 73 65 72 2e 66 65 65 64 73 2e 68 61 | ECTED_APP....=."browser.feeds.ha |
114fa0 | 6e 64 6c 65 72 73 2e 61 70 70 6c 69 63 61 74 69 6f 6e 22 3b 0a 63 6f 6e 73 74 20 50 52 45 46 5f | ndlers.application";.const.PREF_ |
114fc0 | 46 45 45 44 5f 53 45 4c 45 43 54 45 44 5f 57 45 42 20 20 20 20 3d 20 22 62 72 6f 77 73 65 72 2e | FEED_SELECTED_WEB....=."browser. |
114fe0 | 66 65 65 64 73 2e 68 61 6e 64 6c 65 72 73 2e 77 65 62 73 65 72 76 69 63 65 22 3b 0a 63 6f 6e 73 | feeds.handlers.webservice";.cons |
115000 | 74 20 50 52 45 46 5f 46 45 45 44 5f 53 45 4c 45 43 54 45 44 5f 41 43 54 49 4f 4e 20 3d 20 22 62 | t.PREF_FEED_SELECTED_ACTION.=."b |
115020 | 72 6f 77 73 65 72 2e 66 65 65 64 73 2e 68 61 6e 64 6c 65 72 22 3b 0a 63 6f 6e 73 74 20 50 52 45 | rowser.feeds.handler";.const.PRE |
115040 | 46 5f 46 45 45 44 5f 53 45 4c 45 43 54 45 44 5f 52 45 41 44 45 52 20 3d 20 22 62 72 6f 77 73 65 | F_FEED_SELECTED_READER.=."browse |
115060 | 72 2e 66 65 65 64 73 2e 68 61 6e 64 6c 65 72 2e 64 65 66 61 75 6c 74 22 3b 0a 0a 63 6f 6e 73 74 | r.feeds.handler.default";..const |
115080 | 20 50 52 45 46 5f 56 49 44 45 4f 5f 46 45 45 44 5f 53 45 4c 45 43 54 45 44 5f 41 50 50 20 20 20 | .PREF_VIDEO_FEED_SELECTED_APP... |
1150a0 | 20 3d 20 22 62 72 6f 77 73 65 72 2e 76 69 64 65 6f 46 65 65 64 73 2e 68 61 6e 64 6c 65 72 73 2e | .=."browser.videoFeeds.handlers. |
1150c0 | 61 70 70 6c 69 63 61 74 69 6f 6e 22 3b 0a 63 6f 6e 73 74 20 50 52 45 46 5f 56 49 44 45 4f 5f 46 | application";.const.PREF_VIDEO_F |
1150e0 | 45 45 44 5f 53 45 4c 45 43 54 45 44 5f 57 45 42 20 20 20 20 3d 20 22 62 72 6f 77 73 65 72 2e 76 | EED_SELECTED_WEB....=."browser.v |
115100 | 69 64 65 6f 46 65 65 64 73 2e 68 61 6e 64 6c 65 72 73 2e 77 65 62 73 65 72 76 69 63 65 22 3b 0a | ideoFeeds.handlers.webservice";. |
115120 | 63 6f 6e 73 74 20 50 52 45 46 5f 56 49 44 45 4f 5f 46 45 45 44 5f 53 45 4c 45 43 54 45 44 5f 41 | const.PREF_VIDEO_FEED_SELECTED_A |
115140 | 43 54 49 4f 4e 20 3d 20 22 62 72 6f 77 73 65 72 2e 76 69 64 65 6f 46 65 65 64 73 2e 68 61 6e 64 | CTION.=."browser.videoFeeds.hand |
115160 | 6c 65 72 22 3b 0a 63 6f 6e 73 74 20 50 52 45 46 5f 56 49 44 45 4f 5f 46 45 45 44 5f 53 45 4c 45 | ler";.const.PREF_VIDEO_FEED_SELE |
115180 | 43 54 45 44 5f 52 45 41 44 45 52 20 3d 20 22 62 72 6f 77 73 65 72 2e 76 69 64 65 6f 46 65 65 64 | CTED_READER.=."browser.videoFeed |
1151a0 | 73 2e 68 61 6e 64 6c 65 72 2e 64 65 66 61 75 6c 74 22 3b 0a 0a 63 6f 6e 73 74 20 50 52 45 46 5f | s.handler.default";..const.PREF_ |
1151c0 | 41 55 44 49 4f 5f 46 45 45 44 5f 53 45 4c 45 43 54 45 44 5f 41 50 50 20 20 20 20 3d 20 22 62 72 | AUDIO_FEED_SELECTED_APP....=."br |
1151e0 | 6f 77 73 65 72 2e 61 75 64 69 6f 46 65 65 64 73 2e 68 61 6e 64 6c 65 72 73 2e 61 70 70 6c 69 63 | owser.audioFeeds.handlers.applic |
115200 | 61 74 69 6f 6e 22 3b 0a 63 6f 6e 73 74 20 50 52 45 46 5f 41 55 44 49 4f 5f 46 45 45 44 5f 53 45 | ation";.const.PREF_AUDIO_FEED_SE |
115220 | 4c 45 43 54 45 44 5f 57 45 42 20 20 20 20 3d 20 22 62 72 6f 77 73 65 72 2e 61 75 64 69 6f 46 65 | LECTED_WEB....=."browser.audioFe |
115240 | 65 64 73 2e 68 61 6e 64 6c 65 72 73 2e 77 65 62 73 65 72 76 69 63 65 22 3b 0a 63 6f 6e 73 74 20 | eds.handlers.webservice";.const. |
115260 | 50 52 45 46 5f 41 55 44 49 4f 5f 46 45 45 44 5f 53 45 4c 45 43 54 45 44 5f 41 43 54 49 4f 4e 20 | PREF_AUDIO_FEED_SELECTED_ACTION. |
115280 | 3d 20 22 62 72 6f 77 73 65 72 2e 61 75 64 69 6f 46 65 65 64 73 2e 68 61 6e 64 6c 65 72 22 3b 0a | =."browser.audioFeeds.handler";. |
1152a0 | 63 6f 6e 73 74 20 50 52 45 46 5f 41 55 44 49 4f 5f 46 45 45 44 5f 53 45 4c 45 43 54 45 44 5f 52 | const.PREF_AUDIO_FEED_SELECTED_R |
1152c0 | 45 41 44 45 52 20 3d 20 22 62 72 6f 77 73 65 72 2e 61 75 64 69 6f 46 65 65 64 73 2e 68 61 6e 64 | EADER.=."browser.audioFeeds.hand |
1152e0 | 6c 65 72 2e 64 65 66 61 75 6c 74 22 3b 0a 0a 2f 2f 20 54 68 65 20 6e 73 48 61 6e 64 6c 65 72 49 | ler.default";..//.The.nsHandlerI |
115300 | 6e 66 6f 41 63 74 69 6f 6e 20 65 6e 75 6d 65 72 61 74 69 6f 6e 20 76 61 6c 75 65 73 20 69 6e 20 | nfoAction.enumeration.values.in. |
115320 | 6e 73 49 48 61 6e 64 6c 65 72 49 6e 66 6f 20 69 64 65 6e 74 69 66 79 0a 2f 2f 20 74 68 65 20 61 | nsIHandlerInfo.identify.//.the.a |
115340 | 63 74 69 6f 6e 73 20 74 68 65 20 61 70 70 6c 69 63 61 74 69 6f 6e 20 63 61 6e 20 74 61 6b 65 20 | ctions.the.application.can.take. |
115360 | 77 69 74 68 20 63 6f 6e 74 65 6e 74 20 6f 66 20 76 61 72 69 6f 75 73 20 74 79 70 65 73 2e 0a 2f | with.content.of.various.types../ |
115380 | 2f 20 42 75 74 20 73 69 6e 63 65 20 6e 73 49 48 61 6e 64 6c 65 72 49 6e 66 6f 20 64 6f 65 73 6e | /.But.since.nsIHandlerInfo.doesn |
1153a0 | 27 74 20 73 75 70 70 6f 72 74 20 70 6c 75 67 69 6e 73 2c 20 74 68 65 72 65 27 73 20 6e 6f 20 76 | 't.support.plugins,.there's.no.v |
1153c0 | 61 6c 75 65 0a 2f 2f 20 69 64 65 6e 74 69 66 79 69 6e 67 20 74 68 65 20 22 75 73 65 20 70 6c 75 | alue.//.identifying.the."use.plu |
1153e0 | 67 69 6e 22 20 61 63 74 69 6f 6e 2c 20 73 6f 20 77 65 20 75 73 65 20 74 68 69 73 20 63 6f 6e 73 | gin".action,.so.we.use.this.cons |
115400 | 74 61 6e 74 20 69 6e 73 74 65 61 64 2e 0a 63 6f 6e 73 74 20 6b 41 63 74 69 6f 6e 55 73 65 50 6c | tant.instead..const.kActionUsePl |
115420 | 75 67 69 6e 20 3d 20 35 3b 0a 0a 2f 2a 0a 2f 2f 40 6c 69 6e 65 20 31 31 36 20 22 2f 62 75 69 6c | ugin.=.5;../*.//@line.116."/buil |
115440 | 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f | ds/moz2_slave/linux_build/build/ |
115460 | 62 72 6f 77 73 65 72 2f 63 6f 6d 70 6f 6e 65 6e 74 73 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 61 | browser/components/preferences/a |
115480 | 70 70 6c 69 63 61 74 69 6f 6e 73 2e 6a 73 22 0a 2a 2f 0a 63 6f 6e 73 74 20 49 43 4f 4e 5f 55 52 | pplications.js".*/.const.ICON_UR |
1154a0 | 4c 5f 41 50 50 20 20 20 20 20 20 3d 20 22 6d 6f 7a 2d 69 63 6f 6e 3a 2f 2f 64 75 6d 6d 79 2e 65 | L_APP......=."moz-icon://dummy.e |
1154c0 | 78 65 3f 73 69 7a 65 3d 31 36 22 3b 0a 2f 2a 0a 2f 2f 40 6c 69 6e 65 20 31 32 34 20 22 2f 62 75 | xe?size=16";./*.//@line.124."/bu |
1154e0 | 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c | ilds/moz2_slave/linux_build/buil |
115500 | 64 2f 62 72 6f 77 73 65 72 2f 63 6f 6d 70 6f 6e 65 6e 74 73 2f 70 72 65 66 65 72 65 6e 63 65 73 | d/browser/components/preferences |
115520 | 2f 61 70 70 6c 69 63 61 74 69 6f 6e 73 2e 6a 73 22 0a 2a 2f 0a 0a 2f 2f 20 46 6f 72 20 43 53 53 | /applications.js".*/..//.For.CSS |
115540 | 2e 20 43 61 6e 20 62 65 20 6f 6e 65 20 6f 66 20 22 61 73 6b 22 2c 20 22 73 61 76 65 22 2c 20 22 | ..Can.be.one.of."ask",."save",." |
115560 | 70 6c 75 67 69 6e 22 20 6f 72 20 22 66 65 65 64 22 2e 20 49 66 20 61 62 73 65 6e 74 2c 20 74 68 | plugin".or."feed"..If.absent,.th |
115580 | 65 20 69 63 6f 6e 20 55 52 4c 0a 2f 2f 20 77 61 73 20 73 65 74 20 62 79 20 75 73 20 74 6f 20 61 | e.icon.URL.//.was.set.by.us.to.a |
1155a0 | 20 63 75 73 74 6f 6d 20 68 61 6e 64 6c 65 72 20 69 63 6f 6e 20 61 6e 64 20 43 53 53 20 73 68 6f | .custom.handler.icon.and.CSS.sho |
1155c0 | 75 6c 64 20 6e 6f 74 20 74 72 79 20 74 6f 20 6f 76 65 72 72 69 64 65 20 69 74 2e 0a 63 6f 6e 73 | uld.not.try.to.override.it..cons |
1155e0 | 74 20 41 50 50 5f 49 43 4f 4e 5f 41 54 54 52 5f 4e 41 4d 45 20 3d 20 22 61 70 70 48 61 6e 64 6c | t.APP_ICON_ATTR_NAME.=."appHandl |
115600 | 65 72 49 63 6f 6e 22 3b 0a 0a 2f 2f 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a | erIcon";..//******************** |
115620 | 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a | ******************************** |
115640 | 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2f 2f 0a 2f 2f 20 55 74 | ************************//.//.Ut |
115660 | 69 6c 69 74 69 65 73 0a 0a 66 75 6e 63 74 69 6f 6e 20 67 65 74 44 69 73 70 6c 61 79 4e 61 6d 65 | ilities..function.getDisplayName |
115680 | 46 6f 72 46 69 6c 65 28 61 46 69 6c 65 29 20 7b 0a 2f 2a 0a 2f 2f 40 6c 69 6e 65 20 31 35 39 20 | ForFile(aFile).{./*.//@line.159. |
1156a0 | 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f | "/builds/moz2_slave/linux_build/ |
1156c0 | 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 63 6f 6d 70 6f 6e 65 6e 74 73 2f 70 72 65 66 65 72 65 | build/browser/components/prefere |
1156e0 | 6e 63 65 73 2f 61 70 70 6c 69 63 61 74 69 6f 6e 73 2e 6a 73 22 0a 2a 2f 0a 0a 20 20 72 65 74 75 | nces/applications.js".*/....retu |
115700 | 72 6e 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6e 65 74 77 6f 72 6b 2f 69 6f 2d 73 | rn.Cc["@mozilla.org/network/io-s |
115720 | 65 72 76 69 63 65 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 | ervice;1"]...........getService( |
115740 | 43 69 2e 6e 73 49 49 4f 53 65 72 76 69 63 65 29 2e 0a 20 20 20 20 20 20 20 20 20 6e 65 77 46 69 | Ci.nsIIOService)...........newFi |
115760 | 6c 65 55 52 49 28 61 46 69 6c 65 29 2e 0a 20 20 20 20 20 20 20 20 20 51 75 65 72 79 49 6e 74 65 | leURI(aFile)...........QueryInte |
115780 | 72 66 61 63 65 28 43 69 2e 6e 73 49 55 52 4c 29 2e 0a 20 20 20 20 20 20 20 20 20 66 69 6c 65 4e | rface(Ci.nsIURL)...........fileN |
1157a0 | 61 6d 65 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 67 65 74 4c 6f 63 61 6c 48 61 6e 64 6c 65 72 | ame;.}..function.getLocalHandler |
1157c0 | 41 70 70 28 61 46 69 6c 65 29 20 7b 0a 20 20 76 61 72 20 6c 6f 63 61 6c 48 61 6e 64 6c 65 72 41 | App(aFile).{...var.localHandlerA |
1157e0 | 70 70 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 75 72 69 6c 6f 61 64 65 72 2f | pp.=.Cc["@mozilla.org/uriloader/ |
115800 | 6c 6f 63 61 6c 2d 68 61 6e 64 6c 65 72 2d 61 70 70 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 | local-handler-app;1"]........... |
115820 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 72 65 61 74 65 49 6e 73 74 61 6e 63 65 28 43 69 | ...............createInstance(Ci |
115840 | 2e 6e 73 49 4c 6f 63 61 6c 48 61 6e 64 6c 65 72 41 70 70 29 3b 0a 20 20 6c 6f 63 61 6c 48 61 6e | .nsILocalHandlerApp);...localHan |
115860 | 64 6c 65 72 41 70 70 2e 6e 61 6d 65 20 3d 20 67 65 74 44 69 73 70 6c 61 79 4e 61 6d 65 46 6f 72 | dlerApp.name.=.getDisplayNameFor |
115880 | 46 69 6c 65 28 61 46 69 6c 65 29 3b 0a 20 20 6c 6f 63 61 6c 48 61 6e 64 6c 65 72 41 70 70 2e 65 | File(aFile);...localHandlerApp.e |
1158a0 | 78 65 63 75 74 61 62 6c 65 20 3d 20 61 46 69 6c 65 3b 0a 0a 20 20 72 65 74 75 72 6e 20 6c 6f 63 | xecutable.=.aFile;....return.loc |
1158c0 | 61 6c 48 61 6e 64 6c 65 72 41 70 70 3b 0a 7d 0a 0a 2f 2a 2a 0a 20 2a 20 41 6e 20 65 6e 75 6d 65 | alHandlerApp;.}../**..*.An.enume |
1158e0 | 72 61 74 69 6f 6e 20 6f 66 20 69 74 65 6d 73 20 69 6e 20 61 20 4a 53 20 61 72 72 61 79 2e 0a 20 | ration.of.items.in.a.JS.array... |
115900 | 2a 0a 20 2a 20 46 49 58 4d 45 3a 20 75 73 65 20 41 72 72 61 79 43 6f 6e 76 65 72 74 65 72 20 6f | *..*.FIXME:.use.ArrayConverter.o |
115920 | 6e 63 65 20 69 74 20 6c 61 6e 64 73 20 28 62 75 67 20 33 38 30 38 33 39 29 2e 0a 20 2a 20 0a 20 | nce.it.lands.(bug.380839)...*... |
115940 | 2a 20 40 63 6f 6e 73 74 72 75 63 74 6f 72 0a 20 2a 2f 0a 66 75 6e 63 74 69 6f 6e 20 41 72 72 61 | *.@constructor..*/.function.Arra |
115960 | 79 45 6e 75 6d 65 72 61 74 6f 72 28 61 49 74 65 6d 73 29 20 7b 0a 20 20 74 68 69 73 2e 5f 69 6e | yEnumerator(aItems).{...this._in |
115980 | 64 65 78 20 3d 20 30 3b 0a 20 20 74 68 69 73 2e 5f 63 6f 6e 74 65 6e 74 73 20 3d 20 61 49 74 65 | dex.=.0;...this._contents.=.aIte |
1159a0 | 6d 73 3b 0a 7d 0a 0a 41 72 72 61 79 45 6e 75 6d 65 72 61 74 6f 72 2e 70 72 6f 74 6f 74 79 70 65 | ms;.}..ArrayEnumerator.prototype |
1159c0 | 20 3d 20 7b 0a 20 20 5f 69 6e 64 65 78 3a 20 30 2c 0a 0a 20 20 68 61 73 4d 6f 72 65 45 6c 65 6d | .=.{..._index:.0,....hasMoreElem |
1159e0 | 65 6e 74 73 3a 20 66 75 6e 63 74 69 6f 6e 28 29 20 7b 0a 20 20 20 20 72 65 74 75 72 6e 20 74 68 | ents:.function().{.....return.th |
115a00 | 69 73 2e 5f 69 6e 64 65 78 20 3c 20 74 68 69 73 2e 5f 63 6f 6e 74 65 6e 74 73 2e 6c 65 6e 67 74 | is._index.<.this._contents.lengt |
115a20 | 68 3b 0a 20 20 7d 2c 0a 0a 20 20 67 65 74 4e 65 78 74 3a 20 66 75 6e 63 74 69 6f 6e 28 29 20 7b | h;...},....getNext:.function().{ |
115a40 | 0a 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 63 6f 6e 74 65 6e 74 73 5b 74 68 69 73 2e | .....return.this._contents[this. |
115a60 | 5f 69 6e 64 65 78 2b 2b 5d 3b 0a 20 20 7d 0a 7d 3b 0a 0a 66 75 6e 63 74 69 6f 6e 20 69 73 46 65 | _index++];...}.};..function.isFe |
115a80 | 65 64 54 79 70 65 28 74 29 20 7b 0a 20 20 72 65 74 75 72 6e 20 74 20 3d 3d 20 54 59 50 45 5f 4d | edType(t).{...return.t.==.TYPE_M |
115aa0 | 41 59 42 45 5f 46 45 45 44 20 7c 7c 20 74 20 3d 3d 20 54 59 50 45 5f 4d 41 59 42 45 5f 56 49 44 | AYBE_FEED.||.t.==.TYPE_MAYBE_VID |
115ac0 | 45 4f 5f 46 45 45 44 20 7c 7c 20 74 20 3d 3d 20 54 59 50 45 5f 4d 41 59 42 45 5f 41 55 44 49 4f | EO_FEED.||.t.==.TYPE_MAYBE_AUDIO |
115ae0 | 5f 46 45 45 44 3b 0a 7d 0a 0a 2f 2f 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a | _FEED;.}..//******************** |
115b00 | 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a | ******************************** |
115b20 | 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2f 2f 0a 2f 2f 20 48 61 | ************************//.//.Ha |
115b40 | 6e 64 6c 65 72 49 6e 66 6f 57 72 61 70 70 65 72 0a 0a 2f 2a 2a 0a 20 2a 20 54 68 69 73 20 6f 62 | ndlerInfoWrapper../**..*.This.ob |
115b60 | 6a 65 63 74 20 77 72 61 70 73 20 6e 73 49 48 61 6e 64 6c 65 72 49 6e 66 6f 20 77 69 74 68 20 73 | ject.wraps.nsIHandlerInfo.with.s |
115b80 | 6f 6d 65 20 61 64 64 69 74 69 6f 6e 61 6c 20 66 75 6e 63 74 69 6f 6e 61 6c 69 74 79 0a 20 2a 20 | ome.additional.functionality..*. |
115ba0 | 74 68 65 20 41 70 70 6c 69 63 61 74 69 6f 6e 73 20 70 72 65 66 70 61 6e 65 20 6e 65 65 64 73 20 | the.Applications.prefpane.needs. |
115bc0 | 74 6f 20 64 69 73 70 6c 61 79 20 61 6e 64 20 61 6c 6c 6f 77 20 6d 6f 64 69 66 69 63 61 74 69 6f | to.display.and.allow.modificatio |
115be0 | 6e 20 6f 66 0a 20 2a 20 74 68 65 20 6c 69 73 74 20 6f 66 20 68 61 6e 64 6c 65 64 20 74 79 70 65 | n.of..*.the.list.of.handled.type |
115c00 | 73 2e 0a 20 2a 20 0a 20 2a 20 57 65 20 63 72 65 61 74 65 20 61 6e 20 69 6e 73 74 61 6e 63 65 20 | s...*...*.We.create.an.instance. |
115c20 | 6f 66 20 74 68 69 73 20 77 72 61 70 70 65 72 20 66 6f 72 20 65 61 63 68 20 65 6e 74 72 79 20 77 | of.this.wrapper.for.each.entry.w |
115c40 | 65 20 6d 69 67 68 74 20 64 69 73 70 6c 61 79 0a 20 2a 20 69 6e 20 74 68 65 20 70 72 65 66 70 61 | e.might.display..*.in.the.prefpa |
115c60 | 6e 65 2c 20 61 6e 64 20 77 65 20 63 6f 6d 70 6f 73 65 20 74 68 65 20 69 6e 73 74 61 6e 63 65 73 | ne,.and.we.compose.the.instances |
115c80 | 20 66 72 6f 6d 20 76 61 72 69 6f 75 73 20 73 6f 75 72 63 65 73 2c 0a 20 2a 20 69 6e 63 6c 75 64 | .from.various.sources,..*.includ |
115ca0 | 69 6e 67 20 6e 61 76 69 67 61 74 6f 72 2e 70 6c 75 67 69 6e 73 20 61 6e 64 20 74 68 65 20 68 61 | ing.navigator.plugins.and.the.ha |
115cc0 | 6e 64 6c 65 72 20 73 65 72 76 69 63 65 2e 0a 20 2a 0a 20 2a 20 57 65 20 64 6f 6e 27 74 20 69 6d | ndler.service...*..*.We.don't.im |
115ce0 | 70 6c 65 6d 65 6e 74 20 61 6c 6c 20 74 68 65 20 6f 72 69 67 69 6e 61 6c 20 6e 73 49 48 61 6e 64 | plement.all.the.original.nsIHand |
115d00 | 6c 65 72 49 6e 66 6f 20 66 75 6e 63 74 69 6f 6e 61 6c 69 74 79 2c 0a 20 2a 20 6a 75 73 74 20 74 | lerInfo.functionality,..*.just.t |
115d20 | 68 65 20 73 74 75 66 66 20 74 68 61 74 20 74 68 65 20 70 72 65 66 70 61 6e 65 20 6e 65 65 64 73 | he.stuff.that.the.prefpane.needs |
115d40 | 2e 0a 20 2a 20 0a 20 2a 20 49 6e 20 74 68 65 6f 72 79 2c 20 61 6c 6c 20 6f 66 20 74 68 65 20 63 | ...*...*.In.theory,.all.of.the.c |
115d60 | 75 73 74 6f 6d 20 66 75 6e 63 74 69 6f 6e 61 6c 69 74 79 20 69 6e 20 74 68 69 73 20 77 72 61 70 | ustom.functionality.in.this.wrap |
115d80 | 70 65 72 20 73 68 6f 75 6c 64 20 67 65 74 0a 20 2a 20 70 75 73 68 65 64 20 64 6f 77 6e 20 69 6e | per.should.get..*.pushed.down.in |
115da0 | 74 6f 20 6e 73 49 48 61 6e 64 6c 65 72 49 6e 66 6f 20 65 76 65 6e 74 75 61 6c 6c 79 2e 0a 20 2a | to.nsIHandlerInfo.eventually...* |
115dc0 | 2f 0a 66 75 6e 63 74 69 6f 6e 20 48 61 6e 64 6c 65 72 49 6e 66 6f 57 72 61 70 70 65 72 28 61 54 | /.function.HandlerInfoWrapper(aT |
115de0 | 79 70 65 2c 20 61 48 61 6e 64 6c 65 72 49 6e 66 6f 29 20 7b 0a 20 20 74 68 69 73 2e 5f 74 79 70 | ype,.aHandlerInfo).{...this._typ |
115e00 | 65 20 3d 20 61 54 79 70 65 3b 0a 20 20 74 68 69 73 2e 77 72 61 70 70 65 64 48 61 6e 64 6c 65 72 | e.=.aType;...this.wrappedHandler |
115e20 | 49 6e 66 6f 20 3d 20 61 48 61 6e 64 6c 65 72 49 6e 66 6f 3b 0a 7d 0a 0a 48 61 6e 64 6c 65 72 49 | Info.=.aHandlerInfo;.}..HandlerI |
115e40 | 6e 66 6f 57 72 61 70 70 65 72 2e 70 72 6f 74 6f 74 79 70 65 20 3d 20 7b 0a 20 20 2f 2f 20 54 68 | nfoWrapper.prototype.=.{...//.Th |
115e60 | 65 20 77 72 61 70 70 65 64 20 6e 73 49 48 61 6e 64 6c 65 72 49 6e 66 6f 20 6f 62 6a 65 63 74 2e | e.wrapped.nsIHandlerInfo.object. |
115e80 | 20 20 49 6e 20 67 65 6e 65 72 61 6c 2c 20 74 68 69 73 20 6f 62 6a 65 63 74 20 69 73 20 70 72 69 | ..In.general,.this.object.is.pri |
115ea0 | 76 61 74 65 2c 0a 20 20 2f 2f 20 62 75 74 20 74 68 65 72 65 20 61 72 65 20 61 20 63 6f 75 70 6c | vate,...//.but.there.are.a.coupl |
115ec0 | 65 20 63 61 73 65 73 20 77 68 65 72 65 20 63 61 6c 6c 65 72 73 20 61 63 63 65 73 73 20 69 74 20 | e.cases.where.callers.access.it. |
115ee0 | 64 69 72 65 63 74 6c 79 20 66 6f 72 20 74 68 69 6e 67 73 0a 20 20 2f 2f 20 77 65 20 68 61 76 65 | directly.for.things...//.we.have |
115f00 | 6e 27 74 20 28 79 65 74 3f 29 20 69 6d 70 6c 65 6d 65 6e 74 65 64 2c 20 73 6f 20 77 65 20 6d 61 | n't.(yet?).implemented,.so.we.ma |
115f20 | 6b 65 20 69 74 20 61 20 70 75 62 6c 69 63 20 70 72 6f 70 65 72 74 79 2e 0a 20 20 77 72 61 70 70 | ke.it.a.public.property....wrapp |
115f40 | 65 64 48 61 6e 64 6c 65 72 49 6e 66 6f 3a 20 6e 75 6c 6c 2c 0a 0a 0a 20 20 2f 2f 2a 2a 2a 2a 2a | edHandlerInfo:.null,.....//***** |
115f60 | 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a | ******************************** |
115f80 | 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a | ******************************** |
115fa0 | 2a 2a 2a 2a 2a 2f 2f 0a 20 20 2f 2f 20 43 6f 6e 76 65 6e 69 65 6e 63 65 20 55 74 69 6c 73 0a 0a | *****//...//.Convenience.Utils.. |
115fc0 | 20 20 5f 68 61 6e 64 6c 65 72 53 76 63 3a 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f | .._handlerSvc:.Cc["@mozilla.org/ |
115fe0 | 75 72 69 6c 6f 61 64 65 72 2f 68 61 6e 64 6c 65 72 2d 73 65 72 76 69 63 65 3b 31 22 5d 2e 0a 20 | uriloader/handler-service;1"]... |
116000 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 48 | ..............getService(Ci.nsIH |
116020 | 61 6e 64 6c 65 72 53 65 72 76 69 63 65 29 2c 0a 0a 20 20 2f 2f 20 52 65 74 72 69 65 76 65 20 74 | andlerService),....//.Retrieve.t |
116040 | 68 69 73 20 61 73 20 6e 73 49 50 72 65 66 42 72 61 6e 63 68 20 61 6e 64 20 74 68 65 6e 20 69 6d | his.as.nsIPrefBranch.and.then.im |
116060 | 6d 65 64 69 61 74 65 6c 79 20 51 49 20 74 6f 20 6e 73 49 50 72 65 66 42 72 61 6e 63 68 32 0a 20 | mediately.QI.to.nsIPrefBranch2.. |
116080 | 20 2f 2f 20 73 6f 20 62 6f 74 68 20 69 6e 74 65 72 66 61 63 65 73 20 61 72 65 20 61 76 61 69 6c | .//.so.both.interfaces.are.avail |
1160a0 | 61 62 6c 65 20 74 6f 20 63 61 6c 6c 65 72 73 2e 0a 20 20 5f 70 72 65 66 53 76 63 3a 20 43 63 5b | able.to.callers...._prefSvc:.Cc[ |
1160c0 | 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 70 72 65 66 65 72 65 6e 63 65 73 2d 73 65 72 76 69 63 | "@mozilla.org/preferences-servic |
1160e0 | 65 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 69 | e;1"]..............getService(Ci |
116100 | 2e 6e 73 49 50 72 65 66 42 72 61 6e 63 68 29 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 51 75 65 | .nsIPrefBranch)..............Que |
116120 | 72 79 49 6e 74 65 72 66 61 63 65 28 43 69 2e 6e 73 49 50 72 65 66 42 72 61 6e 63 68 32 29 2c 0a | ryInterface(Ci.nsIPrefBranch2),. |
116140 | 0a 20 20 5f 63 61 74 65 67 6f 72 79 4d 67 72 3a 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 | ..._categoryMgr:.Cc["@mozilla.or |
116160 | 67 2f 63 61 74 65 67 6f 72 79 6d 61 6e 61 67 65 72 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 | g/categorymanager;1"]........... |
116180 | 20 20 20 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 43 61 74 65 67 6f 72 79 | .......getService(Ci.nsICategory |
1161a0 | 4d 61 6e 61 67 65 72 29 2c 0a 0a 20 20 65 6c 65 6d 65 6e 74 3a 20 66 75 6e 63 74 69 6f 6e 28 61 | Manager),....element:.function(a |
1161c0 | 49 44 29 20 7b 0a 20 20 20 20 72 65 74 75 72 6e 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 | ID).{.....return.document.getEle |
1161e0 | 6d 65 6e 74 42 79 49 64 28 61 49 44 29 3b 0a 20 20 7d 2c 0a 0a 0a 20 20 2f 2f 2a 2a 2a 2a 2a 2a | mentById(aID);...},.....//****** |
116200 | 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a | ******************************** |
116220 | 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a | ******************************** |
116240 | 2a 2a 2a 2a 2f 2f 0a 20 20 2f 2f 20 6e 73 49 48 61 6e 64 6c 65 72 49 6e 66 6f 0a 0a 20 20 2f 2f | ****//...//.nsIHandlerInfo....// |
116260 | 20 54 68 65 20 4d 49 4d 45 20 74 79 70 65 20 6f 72 20 70 72 6f 74 6f 63 6f 6c 20 73 63 68 65 6d | .The.MIME.type.or.protocol.schem |
116280 | 65 2e 0a 20 20 5f 74 79 70 65 3a 20 6e 75 6c 6c 2c 0a 20 20 67 65 74 20 74 79 70 65 28 29 20 7b | e...._type:.null,...get.type().{ |
1162a0 | 0a 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 74 79 70 65 3b 0a 20 20 7d 2c 0a 0a 20 20 | .....return.this._type;...},.... |
1162c0 | 67 65 74 20 64 65 73 63 72 69 70 74 69 6f 6e 28 29 20 7b 0a 20 20 20 20 69 66 20 28 74 68 69 73 | get.description().{.....if.(this |
1162e0 | 2e 77 72 61 70 70 65 64 48 61 6e 64 6c 65 72 49 6e 66 6f 2e 64 65 73 63 72 69 70 74 69 6f 6e 29 | .wrappedHandlerInfo.description) |
116300 | 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 77 72 61 70 70 65 64 48 61 6e 64 6c 65 | .......return.this.wrappedHandle |
116320 | 72 49 6e 66 6f 2e 64 65 73 63 72 69 70 74 69 6f 6e 3b 0a 0a 20 20 20 20 69 66 20 28 74 68 69 73 | rInfo.description;......if.(this |
116340 | 2e 70 72 69 6d 61 72 79 45 78 74 65 6e 73 69 6f 6e 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 65 | .primaryExtension).{.......var.e |
116360 | 78 74 65 6e 73 69 6f 6e 20 3d 20 74 68 69 73 2e 70 72 69 6d 61 72 79 45 78 74 65 6e 73 69 6f 6e | xtension.=.this.primaryExtension |
116380 | 2e 74 6f 55 70 70 65 72 43 61 73 65 28 29 3b 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 | .toUpperCase();.......return.thi |
1163a0 | 73 2e 65 6c 65 6d 65 6e 74 28 22 62 75 6e 64 6c 65 50 72 65 66 65 72 65 6e 63 65 73 22 29 2e 67 | s.element("bundlePreferences").g |
1163c0 | 65 74 46 6f 72 6d 61 74 74 65 64 53 74 72 69 6e 67 28 22 66 69 6c 65 45 6e 64 69 6e 67 22 2c 0a | etFormattedString("fileEnding",. |
1163e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
116400 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
116420 | 20 20 5b 65 78 74 65 6e 73 69 6f 6e 5d 29 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 72 65 74 75 72 | ..[extension]);.....}......retur |
116440 | 6e 20 74 68 69 73 2e 74 79 70 65 3b 0a 20 20 7d 2c 0a 0a 20 20 67 65 74 20 70 72 65 66 65 72 72 | n.this.type;...},....get.preferr |
116460 | 65 64 41 70 70 6c 69 63 61 74 69 6f 6e 48 61 6e 64 6c 65 72 28 29 20 7b 0a 20 20 20 20 72 65 74 | edApplicationHandler().{.....ret |
116480 | 75 72 6e 20 74 68 69 73 2e 77 72 61 70 70 65 64 48 61 6e 64 6c 65 72 49 6e 66 6f 2e 70 72 65 66 | urn.this.wrappedHandlerInfo.pref |
1164a0 | 65 72 72 65 64 41 70 70 6c 69 63 61 74 69 6f 6e 48 61 6e 64 6c 65 72 3b 0a 20 20 7d 2c 0a 0a 20 | erredApplicationHandler;...},... |
1164c0 | 20 73 65 74 20 70 72 65 66 65 72 72 65 64 41 70 70 6c 69 63 61 74 69 6f 6e 48 61 6e 64 6c 65 72 | .set.preferredApplicationHandler |
1164e0 | 28 61 4e 65 77 56 61 6c 75 65 29 20 7b 0a 20 20 20 20 74 68 69 73 2e 77 72 61 70 70 65 64 48 61 | (aNewValue).{.....this.wrappedHa |
116500 | 6e 64 6c 65 72 49 6e 66 6f 2e 70 72 65 66 65 72 72 65 64 41 70 70 6c 69 63 61 74 69 6f 6e 48 61 | ndlerInfo.preferredApplicationHa |
116520 | 6e 64 6c 65 72 20 3d 20 61 4e 65 77 56 61 6c 75 65 3b 0a 0a 20 20 20 20 2f 2f 20 4d 61 6b 65 20 | ndler.=.aNewValue;......//.Make. |
116540 | 73 75 72 65 20 74 68 65 20 70 72 65 66 65 72 72 65 64 20 68 61 6e 64 6c 65 72 20 69 73 20 69 6e | sure.the.preferred.handler.is.in |
116560 | 20 74 68 65 20 73 65 74 20 6f 66 20 70 6f 73 73 69 62 6c 65 20 68 61 6e 64 6c 65 72 73 2e 0a 20 | .the.set.of.possible.handlers... |
116580 | 20 20 20 69 66 20 28 61 4e 65 77 56 61 6c 75 65 29 0a 20 20 20 20 20 20 74 68 69 73 2e 61 64 64 | ...if.(aNewValue).......this.add |
1165a0 | 50 6f 73 73 69 62 6c 65 41 70 70 6c 69 63 61 74 69 6f 6e 48 61 6e 64 6c 65 72 28 61 4e 65 77 56 | PossibleApplicationHandler(aNewV |
1165c0 | 61 6c 75 65 29 0a 20 20 7d 2c 0a 0a 20 20 67 65 74 20 70 6f 73 73 69 62 6c 65 41 70 70 6c 69 63 | alue)...},....get.possibleApplic |
1165e0 | 61 74 69 6f 6e 48 61 6e 64 6c 65 72 73 28 29 20 7b 0a 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 | ationHandlers().{.....return.thi |
116600 | 73 2e 77 72 61 70 70 65 64 48 61 6e 64 6c 65 72 49 6e 66 6f 2e 70 6f 73 73 69 62 6c 65 41 70 70 | s.wrappedHandlerInfo.possibleApp |
116620 | 6c 69 63 61 74 69 6f 6e 48 61 6e 64 6c 65 72 73 3b 0a 20 20 7d 2c 0a 0a 20 20 61 64 64 50 6f 73 | licationHandlers;...},....addPos |
116640 | 73 69 62 6c 65 41 70 70 6c 69 63 61 74 69 6f 6e 48 61 6e 64 6c 65 72 3a 20 66 75 6e 63 74 69 6f | sibleApplicationHandler:.functio |
116660 | 6e 28 61 4e 65 77 48 61 6e 64 6c 65 72 29 20 7b 0a 20 20 20 20 76 61 72 20 70 6f 73 73 69 62 6c | n(aNewHandler).{.....var.possibl |
116680 | 65 41 70 70 73 20 3d 20 74 68 69 73 2e 70 6f 73 73 69 62 6c 65 41 70 70 6c 69 63 61 74 69 6f 6e | eApps.=.this.possibleApplication |
1166a0 | 48 61 6e 64 6c 65 72 73 2e 65 6e 75 6d 65 72 61 74 65 28 29 3b 0a 20 20 20 20 77 68 69 6c 65 20 | Handlers.enumerate();.....while. |
1166c0 | 28 70 6f 73 73 69 62 6c 65 41 70 70 73 2e 68 61 73 4d 6f 72 65 45 6c 65 6d 65 6e 74 73 28 29 29 | (possibleApps.hasMoreElements()) |
1166e0 | 20 7b 0a 20 20 20 20 20 20 69 66 20 28 70 6f 73 73 69 62 6c 65 41 70 70 73 2e 67 65 74 4e 65 78 | .{.......if.(possibleApps.getNex |
116700 | 74 28 29 2e 65 71 75 61 6c 73 28 61 4e 65 77 48 61 6e 64 6c 65 72 29 29 0a 20 20 20 20 20 20 20 | t().equals(aNewHandler))........ |
116720 | 20 72 65 74 75 72 6e 3b 0a 20 20 20 20 7d 0a 20 20 20 20 74 68 69 73 2e 70 6f 73 73 69 62 6c 65 | .return;.....}.....this.possible |
116740 | 41 70 70 6c 69 63 61 74 69 6f 6e 48 61 6e 64 6c 65 72 73 2e 61 70 70 65 6e 64 45 6c 65 6d 65 6e | ApplicationHandlers.appendElemen |
116760 | 74 28 61 4e 65 77 48 61 6e 64 6c 65 72 2c 20 66 61 6c 73 65 29 3b 0a 20 20 7d 2c 0a 0a 20 20 72 | t(aNewHandler,.false);...},....r |
116780 | 65 6d 6f 76 65 50 6f 73 73 69 62 6c 65 41 70 70 6c 69 63 61 74 69 6f 6e 48 61 6e 64 6c 65 72 3a | emovePossibleApplicationHandler: |
1167a0 | 20 66 75 6e 63 74 69 6f 6e 28 61 48 61 6e 64 6c 65 72 29 20 7b 0a 20 20 20 20 76 61 72 20 64 65 | .function(aHandler).{.....var.de |
1167c0 | 66 61 75 6c 74 41 70 70 20 3d 20 74 68 69 73 2e 70 72 65 66 65 72 72 65 64 41 70 70 6c 69 63 61 | faultApp.=.this.preferredApplica |
1167e0 | 74 69 6f 6e 48 61 6e 64 6c 65 72 3b 0a 20 20 20 20 69 66 20 28 64 65 66 61 75 6c 74 41 70 70 20 | tionHandler;.....if.(defaultApp. |
116800 | 26 26 20 61 48 61 6e 64 6c 65 72 2e 65 71 75 61 6c 73 28 64 65 66 61 75 6c 74 41 70 70 29 29 20 | &&.aHandler.equals(defaultApp)). |
116820 | 7b 0a 20 20 20 20 20 20 2f 2f 20 49 66 20 74 68 65 20 61 70 70 20 77 65 20 72 65 6d 6f 76 65 20 | {.......//.If.the.app.we.remove. |
116840 | 77 61 73 20 74 68 65 20 64 65 66 61 75 6c 74 20 61 70 70 2c 20 77 65 20 6d 75 73 74 20 6d 61 6b | was.the.default.app,.we.must.mak |
116860 | 65 20 73 75 72 65 0a 20 20 20 20 20 20 2f 2f 20 69 74 20 77 6f 6e 27 74 20 62 65 20 75 73 65 64 | e.sure.......//.it.won't.be.used |
116880 | 20 61 6e 79 6d 6f 72 65 0a 20 20 20 20 20 20 74 68 69 73 2e 61 6c 77 61 79 73 41 73 6b 42 65 66 | .anymore.......this.alwaysAskBef |
1168a0 | 6f 72 65 48 61 6e 64 6c 69 6e 67 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 74 68 69 73 2e 70 | oreHandling.=.true;.......this.p |
1168c0 | 72 65 66 65 72 72 65 64 41 70 70 6c 69 63 61 74 69 6f 6e 48 61 6e 64 6c 65 72 20 3d 20 6e 75 6c | referredApplicationHandler.=.nul |
1168e0 | 6c 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 76 61 72 20 68 61 6e 64 6c 65 72 73 20 3d 20 74 68 69 | l;.....}......var.handlers.=.thi |
116900 | 73 2e 70 6f 73 73 69 62 6c 65 41 70 70 6c 69 63 61 74 69 6f 6e 48 61 6e 64 6c 65 72 73 3b 0a 20 | s.possibleApplicationHandlers;.. |
116920 | 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 68 61 6e 64 6c 65 72 73 2e | ...for.(var.i.=.0;.i.<.handlers. |
116940 | 6c 65 6e 67 74 68 3b 20 2b 2b 69 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 68 61 6e 64 6c 65 72 | length;.++i).{.......var.handler |
116960 | 20 3d 20 68 61 6e 64 6c 65 72 73 2e 71 75 65 72 79 45 6c 65 6d 65 6e 74 41 74 28 69 2c 20 43 69 | .=.handlers.queryElementAt(i,.Ci |
116980 | 2e 6e 73 49 48 61 6e 64 6c 65 72 41 70 70 29 3b 0a 20 20 20 20 20 20 69 66 20 28 68 61 6e 64 6c | .nsIHandlerApp);.......if.(handl |
1169a0 | 65 72 2e 65 71 75 61 6c 73 28 61 48 61 6e 64 6c 65 72 29 29 20 7b 0a 20 20 20 20 20 20 20 20 68 | er.equals(aHandler)).{.........h |
1169c0 | 61 6e 64 6c 65 72 73 2e 72 65 6d 6f 76 65 45 6c 65 6d 65 6e 74 41 74 28 69 29 3b 0a 20 20 20 20 | andlers.removeElementAt(i);..... |
1169e0 | 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 | ....break;.......}.....}...},... |
116a00 | 20 67 65 74 20 68 61 73 44 65 66 61 75 6c 74 48 61 6e 64 6c 65 72 28 29 20 7b 0a 20 20 20 20 72 | .get.hasDefaultHandler().{.....r |
116a20 | 65 74 75 72 6e 20 74 68 69 73 2e 77 72 61 70 70 65 64 48 61 6e 64 6c 65 72 49 6e 66 6f 2e 68 61 | eturn.this.wrappedHandlerInfo.ha |
116a40 | 73 44 65 66 61 75 6c 74 48 61 6e 64 6c 65 72 3b 0a 20 20 7d 2c 0a 0a 20 20 67 65 74 20 64 65 66 | sDefaultHandler;...},....get.def |
116a60 | 61 75 6c 74 44 65 73 63 72 69 70 74 69 6f 6e 28 29 20 7b 0a 20 20 20 20 72 65 74 75 72 6e 20 74 | aultDescription().{.....return.t |
116a80 | 68 69 73 2e 77 72 61 70 70 65 64 48 61 6e 64 6c 65 72 49 6e 66 6f 2e 64 65 66 61 75 6c 74 44 65 | his.wrappedHandlerInfo.defaultDe |
116aa0 | 73 63 72 69 70 74 69 6f 6e 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2f 20 57 68 61 74 20 74 6f 20 64 6f | scription;...},....//.What.to.do |
116ac0 | 20 77 69 74 68 20 63 6f 6e 74 65 6e 74 20 6f 66 20 74 68 69 73 20 74 79 70 65 2e 0a 20 20 67 65 | .with.content.of.this.type....ge |
116ae0 | 74 20 70 72 65 66 65 72 72 65 64 41 63 74 69 6f 6e 28 29 20 7b 0a 20 20 20 20 2f 2f 20 49 66 20 | t.preferredAction().{.....//.If. |
116b00 | 77 65 20 68 61 76 65 20 61 6e 20 65 6e 61 62 6c 65 64 20 70 6c 75 67 69 6e 2c 20 74 68 65 6e 20 | we.have.an.enabled.plugin,.then. |
116b20 | 74 68 65 20 61 63 74 69 6f 6e 20 69 73 20 74 6f 20 75 73 65 20 74 68 61 74 20 70 6c 75 67 69 6e | the.action.is.to.use.that.plugin |
116b40 | 2e 0a 20 20 20 20 69 66 20 28 74 68 69 73 2e 70 6c 75 67 69 6e 20 26 26 20 21 74 68 69 73 2e 69 | ......if.(this.plugin.&&.!this.i |
116b60 | 73 44 69 73 61 62 6c 65 64 50 6c 75 67 69 6e 54 79 70 65 29 0a 20 20 20 20 20 20 72 65 74 75 72 | sDisabledPluginType).......retur |
116b80 | 6e 20 6b 41 63 74 69 6f 6e 55 73 65 50 6c 75 67 69 6e 3b 0a 0a 20 20 20 20 2f 2f 20 49 66 20 74 | n.kActionUsePlugin;......//.If.t |
116ba0 | 68 65 20 61 63 74 69 6f 6e 20 69 73 20 74 6f 20 75 73 65 20 61 20 68 65 6c 70 65 72 20 61 70 70 | he.action.is.to.use.a.helper.app |
116bc0 | 2c 20 62 75 74 20 77 65 20 64 6f 6e 27 74 20 68 61 76 65 20 61 20 70 72 65 66 65 72 72 65 64 0a | ,.but.we.don't.have.a.preferred. |
116be0 | 20 20 20 20 2f 2f 20 68 61 6e 64 6c 65 72 20 61 70 70 2c 20 74 68 65 6e 20 73 77 69 74 63 68 20 | ....//.handler.app,.then.switch. |
116c00 | 74 6f 20 75 73 69 6e 67 20 74 68 65 20 73 79 73 74 65 6d 20 64 65 66 61 75 6c 74 2c 20 69 66 20 | to.using.the.system.default,.if. |
116c20 | 61 6e 79 3b 20 6f 74 68 65 72 77 69 73 65 0a 20 20 20 20 2f 2f 20 66 61 6c 6c 20 62 61 63 6b 20 | any;.otherwise.....//.fall.back. |
116c40 | 74 6f 20 73 61 76 69 6e 67 20 74 6f 20 64 69 73 6b 2c 20 77 68 69 63 68 20 69 73 20 74 68 65 20 | to.saving.to.disk,.which.is.the. |
116c60 | 64 65 66 61 75 6c 74 20 61 63 74 69 6f 6e 20 69 6e 20 6e 73 4d 49 4d 45 49 6e 66 6f 2e 0a 20 20 | default.action.in.nsMIMEInfo.... |
116c80 | 20 20 2f 2f 20 4e 6f 74 65 3a 20 22 73 61 76 65 20 74 6f 20 64 69 73 6b 22 20 69 73 20 61 6e 20 | ..//.Note:."save.to.disk".is.an. |
116ca0 | 69 6e 76 61 6c 69 64 20 76 61 6c 75 65 20 66 6f 72 20 70 72 6f 74 6f 63 6f 6c 20 69 6e 66 6f 20 | invalid.value.for.protocol.info. |
116cc0 | 6f 62 6a 65 63 74 73 2c 0a 20 20 20 20 2f 2f 20 62 75 74 20 74 68 65 20 61 6c 77 61 79 73 41 73 | objects,.....//.but.the.alwaysAs |
116ce0 | 6b 42 65 66 6f 72 65 48 61 6e 64 6c 69 6e 67 20 67 65 74 74 65 72 20 77 69 6c 6c 20 64 65 74 65 | kBeforeHandling.getter.will.dete |
116d00 | 63 74 20 74 68 61 74 20 73 69 74 75 61 74 69 6f 6e 0a 20 20 20 20 2f 2f 20 61 6e 64 20 61 6c 77 | ct.that.situation.....//.and.alw |
116d20 | 61 79 73 20 72 65 74 75 72 6e 20 74 72 75 65 20 69 6e 20 74 68 61 74 20 63 61 73 65 20 74 6f 20 | ays.return.true.in.that.case.to. |
116d40 | 6f 76 65 72 72 69 64 65 20 74 68 69 73 20 69 6e 76 61 6c 69 64 20 76 61 6c 75 65 2e 0a 20 20 20 | override.this.invalid.value..... |
116d60 | 20 69 66 20 28 74 68 69 73 2e 77 72 61 70 70 65 64 48 61 6e 64 6c 65 72 49 6e 66 6f 2e 70 72 65 | .if.(this.wrappedHandlerInfo.pre |
116d80 | 66 65 72 72 65 64 41 63 74 69 6f 6e 20 3d 3d 20 43 69 2e 6e 73 49 48 61 6e 64 6c 65 72 49 6e 66 | ferredAction.==.Ci.nsIHandlerInf |
116da0 | 6f 2e 75 73 65 48 65 6c 70 65 72 41 70 70 20 26 26 0a 20 20 20 20 20 20 20 20 21 67 41 70 70 6c | o.useHelperApp.&&.........!gAppl |
116dc0 | 69 63 61 74 69 6f 6e 73 50 61 6e 65 2e 69 73 56 61 6c 69 64 48 61 6e 64 6c 65 72 41 70 70 28 74 | icationsPane.isValidHandlerApp(t |
116de0 | 68 69 73 2e 70 72 65 66 65 72 72 65 64 41 70 70 6c 69 63 61 74 69 6f 6e 48 61 6e 64 6c 65 72 29 | his.preferredApplicationHandler) |
116e00 | 29 20 7b 0a 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 77 72 61 70 70 65 64 48 61 6e 64 6c 65 | ).{.......if.(this.wrappedHandle |
116e20 | 72 49 6e 66 6f 2e 68 61 73 44 65 66 61 75 6c 74 48 61 6e 64 6c 65 72 29 0a 20 20 20 20 20 20 20 | rInfo.hasDefaultHandler)........ |
116e40 | 20 72 65 74 75 72 6e 20 43 69 2e 6e 73 49 48 61 6e 64 6c 65 72 49 6e 66 6f 2e 75 73 65 53 79 73 | .return.Ci.nsIHandlerInfo.useSys |
116e60 | 74 65 6d 44 65 66 61 75 6c 74 3b 0a 20 20 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 20 20 72 | temDefault;.......else.........r |
116e80 | 65 74 75 72 6e 20 43 69 2e 6e 73 49 48 61 6e 64 6c 65 72 49 6e 66 6f 2e 73 61 76 65 54 6f 44 69 | eturn.Ci.nsIHandlerInfo.saveToDi |
116ea0 | 73 6b 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 77 72 61 70 70 | sk;.....}......return.this.wrapp |
116ec0 | 65 64 48 61 6e 64 6c 65 72 49 6e 66 6f 2e 70 72 65 66 65 72 72 65 64 41 63 74 69 6f 6e 3b 0a 20 | edHandlerInfo.preferredAction;.. |
116ee0 | 20 7d 2c 0a 0a 20 20 73 65 74 20 70 72 65 66 65 72 72 65 64 41 63 74 69 6f 6e 28 61 4e 65 77 56 | .},....set.preferredAction(aNewV |
116f00 | 61 6c 75 65 29 20 7b 0a 20 20 20 20 2f 2f 20 57 65 20 64 6f 6e 27 74 20 6d 6f 64 69 66 79 20 74 | alue).{.....//.We.don't.modify.t |
116f20 | 68 65 20 70 72 65 66 65 72 72 65 64 20 61 63 74 69 6f 6e 20 69 66 20 74 68 65 20 6e 65 77 20 61 | he.preferred.action.if.the.new.a |
116f40 | 63 74 69 6f 6e 20 69 73 20 74 6f 20 75 73 65 20 61 20 70 6c 75 67 69 6e 0a 20 20 20 20 2f 2f 20 | ction.is.to.use.a.plugin.....//. |
116f60 | 62 65 63 61 75 73 65 20 68 61 6e 64 6c 65 72 20 69 6e 66 6f 20 6f 62 6a 65 63 74 73 20 64 6f 6e | because.handler.info.objects.don |
116f80 | 27 74 20 75 6e 64 65 72 73 74 61 6e 64 20 6f 75 72 20 63 75 73 74 6f 6d 20 22 75 73 65 20 70 6c | 't.understand.our.custom."use.pl |
116fa0 | 75 67 69 6e 22 0a 20 20 20 20 2f 2f 20 76 61 6c 75 65 2e 20 20 41 6c 73 6f 2c 20 6c 65 61 76 69 | ugin".....//.value...Also,.leavi |
116fc0 | 6e 67 20 69 74 20 75 6e 74 6f 75 63 68 65 64 20 6d 65 61 6e 73 20 74 68 61 74 20 77 65 20 63 61 | ng.it.untouched.means.that.we.ca |
116fe0 | 6e 20 61 75 74 6f 6d 61 74 69 63 61 6c 6c 79 20 72 65 76 65 72 74 0a 20 20 20 20 2f 2f 20 74 6f | n.automatically.revert.....//.to |
117000 | 20 74 68 65 20 6f 6c 64 20 73 65 74 74 69 6e 67 20 69 66 20 74 68 65 20 75 73 65 72 20 65 76 65 | .the.old.setting.if.the.user.eve |
117020 | 72 20 72 65 6d 6f 76 65 73 20 74 68 65 20 70 6c 75 67 69 6e 2e 0a 0a 20 20 20 20 69 66 20 28 61 | r.removes.the.plugin.......if.(a |
117040 | 4e 65 77 56 61 6c 75 65 20 21 3d 20 6b 41 63 74 69 6f 6e 55 73 65 50 6c 75 67 69 6e 29 0a 20 20 | NewValue.!=.kActionUsePlugin)... |
117060 | 20 20 20 20 74 68 69 73 2e 77 72 61 70 70 65 64 48 61 6e 64 6c 65 72 49 6e 66 6f 2e 70 72 65 66 | ....this.wrappedHandlerInfo.pref |
117080 | 65 72 72 65 64 41 63 74 69 6f 6e 20 3d 20 61 4e 65 77 56 61 6c 75 65 3b 0a 20 20 7d 2c 0a 0a 20 | erredAction.=.aNewValue;...},... |
1170a0 | 20 67 65 74 20 61 6c 77 61 79 73 41 73 6b 42 65 66 6f 72 65 48 61 6e 64 6c 69 6e 67 28 29 20 7b | .get.alwaysAskBeforeHandling().{ |
1170c0 | 0a 20 20 20 20 2f 2f 20 49 66 20 74 68 69 73 20 74 79 70 65 20 69 73 20 68 61 6e 64 6c 65 64 20 | .....//.If.this.type.is.handled. |
1170e0 | 6f 6e 6c 79 20 62 79 20 61 20 70 6c 75 67 69 6e 2c 20 77 65 20 63 61 6e 27 74 20 74 72 75 73 74 | only.by.a.plugin,.we.can't.trust |
117100 | 20 74 68 65 20 76 61 6c 75 65 0a 20 20 20 20 2f 2f 20 69 6e 20 74 68 65 20 68 61 6e 64 6c 65 72 | .the.value.....//.in.the.handler |
117120 | 20 69 6e 66 6f 20 6f 62 6a 65 63 74 2c 20 73 69 6e 63 65 20 69 74 27 6c 6c 20 62 65 20 61 20 64 | .info.object,.since.it'll.be.a.d |
117140 | 65 66 61 75 6c 74 20 62 61 73 65 64 20 6f 6e 20 74 68 65 20 61 62 73 65 6e 63 65 0a 20 20 20 20 | efault.based.on.the.absence..... |
117160 | 2f 2f 20 6f 66 20 61 6e 79 20 75 73 65 72 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 2c 20 61 6e | //.of.any.user.configuration,.an |
117180 | 64 20 74 68 65 20 64 65 66 61 75 6c 74 20 69 6e 20 74 68 61 74 20 63 61 73 65 20 69 73 20 74 6f | d.the.default.in.that.case.is.to |
1171a0 | 20 61 6c 77 61 79 73 20 61 73 6b 2c 0a 20 20 20 20 2f 2f 20 65 76 65 6e 20 74 68 6f 75 67 68 20 | .always.ask,.....//.even.though. |
1171c0 | 77 65 20 6e 65 76 65 72 20 61 73 6b 20 66 6f 72 20 63 6f 6e 74 65 6e 74 20 68 61 6e 64 6c 65 64 | we.never.ask.for.content.handled |
1171e0 | 20 62 79 20 61 20 70 6c 75 67 69 6e 2c 20 73 6f 20 73 70 65 63 69 61 6c 20 63 61 73 65 0a 20 20 | .by.a.plugin,.so.special.case... |
117200 | 20 20 2f 2f 20 70 6c 75 67 69 6e 2d 68 61 6e 64 6c 65 64 20 74 79 70 65 73 20 62 79 20 72 65 74 | ..//.plugin-handled.types.by.ret |
117220 | 75 72 6e 69 6e 67 20 66 61 6c 73 65 20 68 65 72 65 2e 0a 20 20 20 20 69 66 20 28 74 68 69 73 2e | urning.false.here......if.(this. |
117240 | 70 6c 75 67 69 6e 20 26 26 20 74 68 69 73 2e 68 61 6e 64 6c 65 64 4f 6e 6c 79 42 79 50 6c 75 67 | plugin.&&.this.handledOnlyByPlug |
117260 | 69 6e 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 0a 0a 20 20 20 20 2f 2f 20 | in).......return.false;......//. |
117280 | 49 66 20 74 68 69 73 20 69 73 20 61 20 70 72 6f 74 6f 63 6f 6c 20 74 79 70 65 20 61 6e 64 20 74 | If.this.is.a.protocol.type.and.t |
1172a0 | 68 65 20 70 72 65 66 65 72 72 65 64 20 61 63 74 69 6f 6e 20 69 73 20 22 73 61 76 65 20 74 6f 20 | he.preferred.action.is."save.to. |
1172c0 | 64 69 73 6b 22 2c 0a 20 20 20 20 2f 2f 20 77 68 69 63 68 20 69 73 20 69 6e 76 61 6c 69 64 20 66 | disk",.....//.which.is.invalid.f |
1172e0 | 6f 72 20 73 75 63 68 20 74 79 70 65 73 2c 20 74 68 65 6e 20 72 65 74 75 72 6e 20 74 72 75 65 20 | or.such.types,.then.return.true. |
117300 | 68 65 72 65 20 74 6f 20 6f 76 65 72 72 69 64 65 20 74 68 61 74 0a 20 20 20 20 2f 2f 20 61 63 74 | here.to.override.that.....//.act |
117320 | 69 6f 6e 2e 20 20 54 68 69 73 20 63 6f 75 6c 64 20 68 61 70 70 65 6e 20 77 68 65 6e 20 74 68 65 | ion...This.could.happen.when.the |
117340 | 20 70 72 65 66 65 72 72 65 64 20 61 63 74 69 6f 6e 20 69 73 20 74 6f 20 75 73 65 20 61 20 68 65 | .preferred.action.is.to.use.a.he |
117360 | 6c 70 65 72 0a 20 20 20 20 2f 2f 20 61 70 70 2c 20 62 75 74 20 74 68 65 20 70 72 65 66 65 72 72 | lper.....//.app,.but.the.preferr |
117380 | 65 64 41 70 70 6c 69 63 61 74 69 6f 6e 48 61 6e 64 6c 65 72 20 69 73 20 69 6e 76 61 6c 69 64 2c | edApplicationHandler.is.invalid, |
1173a0 | 20 61 6e 64 20 74 68 65 72 65 20 69 73 6e 27 74 0a 20 20 20 20 2f 2f 20 61 20 64 65 66 61 75 6c | .and.there.isn't.....//.a.defaul |
1173c0 | 74 20 68 61 6e 64 6c 65 72 2c 20 73 6f 20 74 68 65 20 70 72 65 66 65 72 72 65 64 41 63 74 69 6f | t.handler,.so.the.preferredActio |
1173e0 | 6e 20 67 65 74 74 65 72 20 72 65 74 75 72 6e 73 20 73 61 76 65 20 74 6f 20 64 69 73 6b 0a 20 20 | n.getter.returns.save.to.disk... |
117400 | 20 20 2f 2f 20 69 6e 73 74 65 61 64 2e 0a 20 20 20 20 69 66 20 28 21 28 74 68 69 73 2e 77 72 61 | ..//.instead......if.(!(this.wra |
117420 | 70 70 65 64 48 61 6e 64 6c 65 72 49 6e 66 6f 20 69 6e 73 74 61 6e 63 65 6f 66 20 43 69 2e 6e 73 | ppedHandlerInfo.instanceof.Ci.ns |
117440 | 49 4d 49 4d 45 49 6e 66 6f 29 20 26 26 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 70 72 65 66 65 | IMIMEInfo).&&.........this.prefe |
117460 | 72 72 65 64 41 63 74 69 6f 6e 20 3d 3d 20 43 69 2e 6e 73 49 48 61 6e 64 6c 65 72 49 6e 66 6f 2e | rredAction.==.Ci.nsIHandlerInfo. |
117480 | 73 61 76 65 54 6f 44 69 73 6b 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 72 75 65 3b 0a 0a | saveToDisk).......return.true;.. |
1174a0 | 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 77 72 61 70 70 65 64 48 61 6e 64 6c 65 72 49 6e | ....return.this.wrappedHandlerIn |
1174c0 | 66 6f 2e 61 6c 77 61 79 73 41 73 6b 42 65 66 6f 72 65 48 61 6e 64 6c 69 6e 67 3b 0a 20 20 7d 2c | fo.alwaysAskBeforeHandling;...}, |
1174e0 | 0a 0a 20 20 73 65 74 20 61 6c 77 61 79 73 41 73 6b 42 65 66 6f 72 65 48 61 6e 64 6c 69 6e 67 28 | ....set.alwaysAskBeforeHandling( |
117500 | 61 4e 65 77 56 61 6c 75 65 29 20 7b 0a 20 20 20 20 74 68 69 73 2e 77 72 61 70 70 65 64 48 61 6e | aNewValue).{.....this.wrappedHan |
117520 | 64 6c 65 72 49 6e 66 6f 2e 61 6c 77 61 79 73 41 73 6b 42 65 66 6f 72 65 48 61 6e 64 6c 69 6e 67 | dlerInfo.alwaysAskBeforeHandling |
117540 | 20 3d 20 61 4e 65 77 56 61 6c 75 65 3b 0a 20 20 7d 2c 0a 0a 0a 20 20 2f 2f 2a 2a 2a 2a 2a 2a 2a | .=.aNewValue;...},.....//******* |
117560 | 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a | ******************************** |
117580 | 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a | ******************************** |
1175a0 | 2a 2a 2a 2f 2f 0a 20 20 2f 2f 20 6e 73 49 4d 49 4d 45 49 6e 66 6f 0a 0a 20 20 2f 2f 20 54 68 65 | ***//...//.nsIMIMEInfo....//.The |
1175c0 | 20 70 72 69 6d 61 72 79 20 66 69 6c 65 20 65 78 74 65 6e 73 69 6f 6e 20 61 73 73 6f 63 69 61 74 | .primary.file.extension.associat |
1175e0 | 65 64 20 77 69 74 68 20 74 68 69 73 20 74 79 70 65 2c 20 69 66 20 61 6e 79 2e 0a 20 20 2f 2f 0a | ed.with.this.type,.if.any....//. |
117600 | 20 20 2f 2f 20 58 58 58 20 50 6c 75 67 69 6e 20 6f 62 6a 65 63 74 73 20 63 6f 6e 74 61 69 6e 20 | ..//.XXX.Plugin.objects.contain. |
117620 | 61 6e 20 61 72 72 61 79 20 6f 66 20 4d 69 6d 65 54 79 70 65 20 6f 62 6a 65 63 74 73 20 77 69 74 | an.array.of.MimeType.objects.wit |
117640 | 68 20 22 73 75 66 66 69 78 65 73 22 0a 20 20 2f 2f 20 70 72 6f 70 65 72 74 69 65 73 3b 20 69 66 | h."suffixes"...//.properties;.if |
117660 | 20 74 68 69 73 20 6f 62 6a 65 63 74 20 68 61 73 20 61 6e 20 61 73 73 6f 63 69 61 74 65 64 20 70 | .this.object.has.an.associated.p |
117680 | 6c 75 67 69 6e 2c 20 73 68 6f 75 6c 64 6e 27 74 20 77 65 20 63 68 65 63 6b 0a 20 20 2f 2f 20 74 | lugin,.shouldn't.we.check...//.t |
1176a0 | 68 6f 73 65 20 70 72 6f 70 65 72 74 69 65 73 20 66 6f 72 20 61 6e 20 65 78 74 65 6e 73 69 6f 6e | hose.properties.for.an.extension |
1176c0 | 3f 0a 20 20 67 65 74 20 70 72 69 6d 61 72 79 45 78 74 65 6e 73 69 6f 6e 28 29 20 7b 0a 20 20 20 | ?...get.primaryExtension().{.... |
1176e0 | 20 74 72 79 20 7b 0a 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 77 72 61 70 70 65 64 48 61 6e | .try.{.......if.(this.wrappedHan |
117700 | 64 6c 65 72 49 6e 66 6f 20 69 6e 73 74 61 6e 63 65 6f 66 20 43 69 2e 6e 73 49 4d 49 4d 45 49 6e | dlerInfo.instanceof.Ci.nsIMIMEIn |
117720 | 66 6f 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 77 72 61 70 70 65 64 48 61 6e 64 | fo.&&...........this.wrappedHand |
117740 | 6c 65 72 49 6e 66 6f 2e 70 72 69 6d 61 72 79 45 78 74 65 6e 73 69 6f 6e 29 0a 20 20 20 20 20 20 | lerInfo.primaryExtension)....... |
117760 | 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 77 72 61 70 70 65 64 48 61 6e 64 6c 65 72 49 6e 66 6f | ..return.this.wrappedHandlerInfo |
117780 | 2e 70 72 69 6d 61 72 79 45 78 74 65 6e 73 69 6f 6e 0a 20 20 20 20 7d 20 63 61 74 63 68 28 65 78 | .primaryExtension.....}.catch(ex |
1177a0 | 29 20 7b 7d 0a 0a 20 20 20 20 72 65 74 75 72 6e 20 6e 75 6c 6c 3b 0a 20 20 7d 2c 0a 0a 0a 20 20 | ).{}......return.null;...},..... |
1177c0 | 2f 2f 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a | //****************************** |
1177e0 | 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a | ******************************** |
117800 | 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2f 2f 0a 20 20 2f 2f 20 50 6c 75 67 69 6e 20 48 61 6e 64 6c | ************//...//.Plugin.Handl |
117820 | 69 6e 67 0a 0a 20 20 2f 2f 20 41 20 70 6c 75 67 69 6e 20 74 68 61 74 20 63 61 6e 20 68 61 6e 64 | ing....//.A.plugin.that.can.hand |
117840 | 6c 65 20 74 68 69 73 20 74 79 70 65 2c 20 69 66 20 61 6e 79 2e 0a 20 20 2f 2f 0a 20 20 2f 2f 20 | le.this.type,.if.any....//...//. |
117860 | 4e 6f 74 65 3a 20 6a 75 73 74 20 62 65 63 61 75 73 65 20 77 65 20 68 61 76 65 20 6f 6e 65 20 64 | Note:.just.because.we.have.one.d |
117880 | 6f 65 73 6e 27 74 20 6d 65 61 6e 20 69 74 20 2a 77 69 6c 6c 2a 20 68 61 6e 64 6c 65 20 74 68 65 | oesn't.mean.it.*will*.handle.the |
1178a0 | 20 74 79 70 65 2e 0a 20 20 2f 2f 20 54 68 61 74 20 64 65 70 65 6e 64 73 20 6f 6e 20 77 68 65 74 | .type....//.That.depends.on.whet |
1178c0 | 68 65 72 20 6f 72 20 6e 6f 74 20 74 68 65 20 74 79 70 65 20 69 73 20 69 6e 20 74 68 65 20 6c 69 | her.or.not.the.type.is.in.the.li |
1178e0 | 73 74 20 6f 66 20 74 79 70 65 73 20 66 6f 72 20 77 68 69 63 68 0a 20 20 2f 2f 20 70 6c 75 67 69 | st.of.types.for.which...//.plugi |
117900 | 6e 20 68 61 6e 64 6c 69 6e 67 20 69 73 20 64 69 73 61 62 6c 65 64 2e 0a 20 20 70 6c 75 67 69 6e | n.handling.is.disabled....plugin |
117920 | 3a 20 6e 75 6c 6c 2c 0a 0a 20 20 2f 2f 20 57 68 65 74 68 65 72 20 6f 72 20 6e 6f 74 20 74 68 69 | :.null,....//.Whether.or.not.thi |
117940 | 73 20 74 79 70 65 20 69 73 20 6f 6e 6c 79 20 68 61 6e 64 6c 65 64 20 62 79 20 61 20 70 6c 75 67 | s.type.is.only.handled.by.a.plug |
117960 | 69 6e 20 6f 72 20 69 73 20 61 6c 73 6f 20 68 61 6e 64 6c 65 64 0a 20 20 2f 2f 20 62 79 20 73 6f | in.or.is.also.handled...//.by.so |
117980 | 6d 65 20 75 73 65 72 2d 63 6f 6e 66 69 67 75 72 65 64 20 61 63 74 69 6f 6e 20 61 73 20 73 70 65 | me.user-configured.action.as.spe |
1179a0 | 63 69 66 69 65 64 20 69 6e 20 74 68 65 20 68 61 6e 64 6c 65 72 20 69 6e 66 6f 20 6f 62 6a 65 63 | cified.in.the.handler.info.objec |
1179c0 | 74 2e 0a 20 20 2f 2f 0a 20 20 2f 2f 20 4e 6f 74 65 3a 20 77 65 20 63 61 6e 27 74 20 6a 75 73 74 | t....//...//.Note:.we.can't.just |
1179e0 | 20 63 68 65 63 6b 20 69 66 20 74 68 65 72 65 27 73 20 61 20 68 61 6e 64 6c 65 72 20 69 6e 66 6f | .check.if.there's.a.handler.info |
117a00 | 20 6f 62 6a 65 63 74 20 66 6f 72 20 74 68 69 73 20 74 79 70 65 2c 0a 20 20 2f 2f 20 62 65 63 61 | .object.for.this.type,...//.beca |
117a20 | 75 73 65 20 4f 53 20 61 6e 64 20 75 73 65 72 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 69 73 | use.OS.and.user.configuration.is |
117a40 | 20 6d 69 78 65 64 20 75 70 20 69 6e 20 74 68 65 20 68 61 6e 64 6c 65 72 20 69 6e 66 6f 20 6f 62 | .mixed.up.in.the.handler.info.ob |
117a60 | 6a 65 63 74 2c 0a 20 20 2f 2f 20 73 6f 20 77 65 20 61 6c 77 61 79 73 20 6e 65 65 64 20 74 6f 20 | ject,...//.so.we.always.need.to. |
117a80 | 72 65 74 72 69 65 76 65 20 69 74 20 66 6f 72 20 74 68 65 20 4f 53 20 69 6e 66 6f 20 61 6e 64 20 | retrieve.it.for.the.OS.info.and. |
117aa0 | 63 61 6e 27 74 20 74 65 6c 6c 20 77 68 65 74 68 65 72 0a 20 20 2f 2f 20 69 74 20 72 65 70 72 65 | can't.tell.whether...//.it.repre |
117ac0 | 73 65 6e 74 73 20 6f 6e 6c 79 20 4f 53 2d 64 65 66 61 75 6c 74 20 69 6e 66 6f 72 6d 61 74 69 6f | sents.only.OS-default.informatio |
117ae0 | 6e 20 6f 72 20 75 73 65 72 2d 63 6f 6e 66 69 67 75 72 65 64 20 69 6e 66 6f 72 6d 61 74 69 6f 6e | n.or.user-configured.information |
117b00 | 2e 0a 20 20 2f 2f 0a 20 20 2f 2f 20 46 49 58 4d 45 3a 20 6f 6e 63 65 20 68 61 6e 64 6c 65 72 20 | ....//...//.FIXME:.once.handler. |
117b20 | 69 6e 66 6f 20 72 65 63 6f 72 64 73 20 61 72 65 20 62 72 6f 6b 65 6e 20 75 70 20 69 6e 74 6f 20 | info.records.are.broken.up.into. |
117b40 | 4f 53 2d 70 72 6f 76 69 64 65 64 20 72 65 63 6f 72 64 73 0a 20 20 2f 2f 20 61 6e 64 20 75 73 65 | OS-provided.records...//.and.use |
117b60 | 72 2d 63 6f 6e 66 69 67 75 72 65 64 20 72 65 63 6f 72 64 73 2c 20 73 74 6f 70 20 75 73 69 6e 67 | r-configured.records,.stop.using |
117b80 | 20 74 68 69 73 20 62 6f 6f 6c 65 61 6e 20 66 6c 61 67 20 61 6e 64 20 73 69 6d 70 6c 79 0a 20 20 | .this.boolean.flag.and.simply... |
117ba0 | 2f 2f 20 63 68 65 63 6b 20 66 6f 72 20 74 68 65 20 70 72 65 73 65 6e 63 65 20 6f 66 20 61 20 75 | //.check.for.the.presence.of.a.u |
117bc0 | 73 65 72 2d 63 6f 6e 66 69 67 75 72 65 64 20 72 65 63 6f 72 64 20 74 6f 20 64 65 74 65 72 6d 69 | ser-configured.record.to.determi |
117be0 | 6e 65 20 77 68 65 74 68 65 72 0a 20 20 2f 2f 20 6f 72 20 6e 6f 74 20 74 68 69 73 20 74 79 70 65 | ne.whether...//.or.not.this.type |
117c00 | 20 69 73 20 6f 6e 6c 79 20 68 61 6e 64 6c 65 64 20 62 79 20 61 20 70 6c 75 67 69 6e 2e 20 20 46 | .is.only.handled.by.a.plugin...F |
117c20 | 69 6c 65 64 20 61 73 20 62 75 67 20 33 39 35 31 34 32 2e 0a 20 20 68 61 6e 64 6c 65 64 4f 6e 6c | iled.as.bug.395142....handledOnl |
117c40 | 79 42 79 50 6c 75 67 69 6e 3a 20 75 6e 64 65 66 69 6e 65 64 2c 0a 0a 20 20 67 65 74 20 69 73 44 | yByPlugin:.undefined,....get.isD |
117c60 | 69 73 61 62 6c 65 64 50 6c 75 67 69 6e 54 79 70 65 28 29 20 7b 0a 20 20 20 20 72 65 74 75 72 6e | isabledPluginType().{.....return |
117c80 | 20 74 68 69 73 2e 5f 67 65 74 44 69 73 61 62 6c 65 64 50 6c 75 67 69 6e 54 79 70 65 73 28 29 2e | .this._getDisabledPluginTypes(). |
117ca0 | 69 6e 64 65 78 4f 66 28 74 68 69 73 2e 74 79 70 65 29 20 21 3d 20 2d 31 3b 0a 20 20 7d 2c 0a 0a | indexOf(this.type).!=.-1;...},.. |
117cc0 | 20 20 5f 67 65 74 44 69 73 61 62 6c 65 64 50 6c 75 67 69 6e 54 79 70 65 73 3a 20 66 75 6e 63 74 | .._getDisabledPluginTypes:.funct |
117ce0 | 69 6f 6e 28 29 20 7b 0a 20 20 20 20 76 61 72 20 74 79 70 65 73 20 3d 20 22 22 3b 0a 0a 20 20 20 | ion().{.....var.types.=."";..... |
117d00 | 20 69 66 20 28 74 68 69 73 2e 5f 70 72 65 66 53 76 63 2e 70 72 65 66 48 61 73 55 73 65 72 56 61 | .if.(this._prefSvc.prefHasUserVa |
117d20 | 6c 75 65 28 50 52 45 46 5f 44 49 53 41 42 4c 45 44 5f 50 4c 55 47 49 4e 5f 54 59 50 45 53 29 29 | lue(PREF_DISABLED_PLUGIN_TYPES)) |
117d40 | 0a 20 20 20 20 20 20 74 79 70 65 73 20 3d 20 74 68 69 73 2e 5f 70 72 65 66 53 76 63 2e 67 65 74 | .......types.=.this._prefSvc.get |
117d60 | 43 68 61 72 50 72 65 66 28 50 52 45 46 5f 44 49 53 41 42 4c 45 44 5f 50 4c 55 47 49 4e 5f 54 59 | CharPref(PREF_DISABLED_PLUGIN_TY |
117d80 | 50 45 53 29 3b 0a 0a 20 20 20 20 2f 2f 20 4f 6e 6c 79 20 73 70 6c 69 74 20 69 66 20 74 68 65 20 | PES);......//.Only.split.if.the. |
117da0 | 73 74 72 69 6e 67 20 69 73 6e 27 74 20 65 6d 70 74 79 20 73 6f 20 77 65 20 64 6f 6e 27 74 20 65 | string.isn't.empty.so.we.don't.e |
117dc0 | 6e 64 20 75 70 20 77 69 74 68 20 61 6e 20 61 72 72 61 79 0a 20 20 20 20 2f 2f 20 63 6f 6e 74 61 | nd.up.with.an.array.....//.conta |
117de0 | 69 6e 69 6e 67 20 61 20 73 69 6e 67 6c 65 20 65 6d 70 74 79 20 73 74 72 69 6e 67 2e 0a 20 20 20 | ining.a.single.empty.string..... |
117e00 | 20 69 66 20 28 74 79 70 65 73 20 21 3d 20 22 22 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 | .if.(types.!=."").......return.t |
117e20 | 79 70 65 73 2e 73 70 6c 69 74 28 22 2c 22 29 3b 0a 0a 20 20 20 20 72 65 74 75 72 6e 20 5b 5d 3b | ypes.split(",");......return.[]; |
117e40 | 0a 20 20 7d 2c 0a 0a 20 20 64 69 73 61 62 6c 65 50 6c 75 67 69 6e 54 79 70 65 3a 20 66 75 6e 63 | ...},....disablePluginType:.func |
117e60 | 74 69 6f 6e 28 29 20 7b 0a 20 20 20 20 76 61 72 20 64 69 73 61 62 6c 65 64 50 6c 75 67 69 6e 54 | tion().{.....var.disabledPluginT |
117e80 | 79 70 65 73 20 3d 20 74 68 69 73 2e 5f 67 65 74 44 69 73 61 62 6c 65 64 50 6c 75 67 69 6e 54 79 | ypes.=.this._getDisabledPluginTy |
117ea0 | 70 65 73 28 29 3b 0a 0a 20 20 20 20 69 66 20 28 64 69 73 61 62 6c 65 64 50 6c 75 67 69 6e 54 79 | pes();......if.(disabledPluginTy |
117ec0 | 70 65 73 2e 69 6e 64 65 78 4f 66 28 74 68 69 73 2e 74 79 70 65 29 20 3d 3d 20 2d 31 29 0a 20 20 | pes.indexOf(this.type).==.-1)... |
117ee0 | 20 20 20 20 64 69 73 61 62 6c 65 64 50 6c 75 67 69 6e 54 79 70 65 73 2e 70 75 73 68 28 74 68 69 | ....disabledPluginTypes.push(thi |
117f00 | 73 2e 74 79 70 65 29 3b 0a 0a 20 20 20 20 74 68 69 73 2e 5f 70 72 65 66 53 76 63 2e 73 65 74 43 | s.type);......this._prefSvc.setC |
117f20 | 68 61 72 50 72 65 66 28 50 52 45 46 5f 44 49 53 41 42 4c 45 44 5f 50 4c 55 47 49 4e 5f 54 59 50 | harPref(PREF_DISABLED_PLUGIN_TYP |
117f40 | 45 53 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ES,............................. |
117f60 | 20 20 64 69 73 61 62 6c 65 64 50 6c 75 67 69 6e 54 79 70 65 73 2e 6a 6f 69 6e 28 22 2c 22 29 29 | ..disabledPluginTypes.join(",")) |
117f80 | 3b 0a 0a 20 20 20 20 2f 2f 20 55 70 64 61 74 65 20 74 68 65 20 63 61 74 65 67 6f 72 79 20 6d 61 | ;......//.Update.the.category.ma |
117fa0 | 6e 61 67 65 72 20 73 6f 20 65 78 69 73 74 69 6e 67 20 62 72 6f 77 73 65 72 20 77 69 6e 64 6f 77 | nager.so.existing.browser.window |
117fc0 | 73 20 75 70 64 61 74 65 2e 0a 20 20 20 20 74 68 69 73 2e 5f 63 61 74 65 67 6f 72 79 4d 67 72 2e | s.update......this._categoryMgr. |
117fe0 | 64 65 6c 65 74 65 43 61 74 65 67 6f 72 79 45 6e 74 72 79 28 22 47 65 63 6b 6f 2d 43 6f 6e 74 65 | deleteCategoryEntry("Gecko-Conte |
118000 | 6e 74 2d 56 69 65 77 65 72 73 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | nt-Viewers",.................... |
118020 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 74 79 70 65 | .......................this.type |
118040 | 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ,............................... |
118060 | 20 20 20 20 20 20 20 20 20 20 20 20 66 61 6c 73 65 29 3b 0a 20 20 7d 2c 0a 0a 20 20 65 6e 61 62 | ............false);...},....enab |
118080 | 6c 65 50 6c 75 67 69 6e 54 79 70 65 3a 20 66 75 6e 63 74 69 6f 6e 28 29 20 7b 0a 20 20 20 20 76 | lePluginType:.function().{.....v |
1180a0 | 61 72 20 64 69 73 61 62 6c 65 64 50 6c 75 67 69 6e 54 79 70 65 73 20 3d 20 74 68 69 73 2e 5f 67 | ar.disabledPluginTypes.=.this._g |
1180c0 | 65 74 44 69 73 61 62 6c 65 64 50 6c 75 67 69 6e 54 79 70 65 73 28 29 3b 0a 0a 20 20 20 20 76 61 | etDisabledPluginTypes();......va |
1180e0 | 72 20 74 79 70 65 20 3d 20 74 68 69 73 2e 74 79 70 65 3b 0a 20 20 20 20 64 69 73 61 62 6c 65 64 | r.type.=.this.type;.....disabled |
118100 | 50 6c 75 67 69 6e 54 79 70 65 73 20 3d 20 64 69 73 61 62 6c 65 64 50 6c 75 67 69 6e 54 79 70 65 | PluginTypes.=.disabledPluginType |
118120 | 73 2e 66 69 6c 74 65 72 28 66 75 6e 63 74 69 6f 6e 28 76 29 20 76 20 21 3d 20 74 79 70 65 29 3b | s.filter(function(v).v.!=.type); |
118140 | 0a 0a 20 20 20 20 74 68 69 73 2e 5f 70 72 65 66 53 76 63 2e 73 65 74 43 68 61 72 50 72 65 66 28 | ......this._prefSvc.setCharPref( |
118160 | 50 52 45 46 5f 44 49 53 41 42 4c 45 44 5f 50 4c 55 47 49 4e 5f 54 59 50 45 53 2c 0a 20 20 20 20 | PREF_DISABLED_PLUGIN_TYPES,..... |
118180 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 69 73 61 62 6c | ..........................disabl |
1181a0 | 65 64 50 6c 75 67 69 6e 54 79 70 65 73 2e 6a 6f 69 6e 28 22 2c 22 29 29 3b 0a 0a 20 20 20 20 2f | edPluginTypes.join(","));....../ |
1181c0 | 2f 20 55 70 64 61 74 65 20 74 68 65 20 63 61 74 65 67 6f 72 79 20 6d 61 6e 61 67 65 72 20 73 6f | /.Update.the.category.manager.so |
1181e0 | 20 65 78 69 73 74 69 6e 67 20 62 72 6f 77 73 65 72 20 77 69 6e 64 6f 77 73 20 75 70 64 61 74 65 | .existing.browser.windows.update |
118200 | 2e 0a 20 20 20 20 74 68 69 73 2e 5f 63 61 74 65 67 6f 72 79 4d 67 72 2e 0a 20 20 20 20 20 20 61 | ......this._categoryMgr........a |
118220 | 64 64 43 61 74 65 67 6f 72 79 45 6e 74 72 79 28 22 47 65 63 6b 6f 2d 43 6f 6e 74 65 6e 74 2d 56 | ddCategoryEntry("Gecko-Content-V |
118240 | 69 65 77 65 72 73 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | iewers",........................ |
118260 | 74 68 69 73 2e 74 79 70 65 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | this.type,...................... |
118280 | 20 20 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 63 6f 6e 74 65 6e 74 2f 70 6c 75 67 69 6e 2f 64 | .."@mozilla.org/content/plugin/d |
1182a0 | 6f 63 75 6d 65 6e 74 2d 6c 6f 61 64 65 72 2d 66 61 63 74 6f 72 79 3b 31 22 2c 0a 20 20 20 20 20 | ocument-loader-factory;1",...... |
1182c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 61 6c 73 65 2c 0a 20 20 20 20 20 20 20 | ..................false,........ |
1182e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 72 75 65 29 3b 0a 20 20 7d 2c 0a 0a 0a 20 20 | ................true);...},..... |
118300 | 2f 2f 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a | //****************************** |
118320 | 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a | ******************************** |
118340 | 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2f 2f 0a 20 20 2f 2f 20 53 74 6f 72 61 67 65 0a 0a 20 20 73 | ************//...//.Storage....s |
118360 | 74 6f 72 65 3a 20 66 75 6e 63 74 69 6f 6e 28 29 20 7b 0a 20 20 20 20 74 68 69 73 2e 5f 68 61 6e | tore:.function().{.....this._han |
118380 | 64 6c 65 72 53 76 63 2e 73 74 6f 72 65 28 74 68 69 73 2e 77 72 61 70 70 65 64 48 61 6e 64 6c 65 | dlerSvc.store(this.wrappedHandle |
1183a0 | 72 49 6e 66 6f 29 3b 0a 20 20 7d 2c 0a 0a 0a 20 20 2f 2f 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a | rInfo);...},.....//************* |
1183c0 | 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a | ******************************** |
1183e0 | 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2f 2f 0a | *****************************//. |
118400 | 20 20 2f 2f 20 49 63 6f 6e 73 0a 0a 20 20 67 65 74 20 73 6d 61 6c 6c 49 63 6f 6e 28 29 20 7b 0a | ..//.Icons....get.smallIcon().{. |
118420 | 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 67 65 74 49 63 6f 6e 28 31 36 29 3b 0a 20 20 | ....return.this._getIcon(16);... |
118440 | 7d 2c 0a 0a 20 20 67 65 74 20 6c 61 72 67 65 49 63 6f 6e 28 29 20 7b 0a 20 20 20 20 72 65 74 75 | },....get.largeIcon().{.....retu |
118460 | 72 6e 20 74 68 69 73 2e 5f 67 65 74 49 63 6f 6e 28 33 32 29 3b 0a 20 20 7d 2c 0a 0a 20 20 5f 67 | rn.this._getIcon(32);...},...._g |
118480 | 65 74 49 63 6f 6e 3a 20 66 75 6e 63 74 69 6f 6e 28 61 53 69 7a 65 29 20 7b 0a 20 20 20 20 69 66 | etIcon:.function(aSize).{.....if |
1184a0 | 20 28 74 68 69 73 2e 70 72 69 6d 61 72 79 45 78 74 65 6e 73 69 6f 6e 29 0a 20 20 20 20 20 20 72 | .(this.primaryExtension).......r |
1184c0 | 65 74 75 72 6e 20 22 6d 6f 7a 2d 69 63 6f 6e 3a 2f 2f 67 6f 61 74 2e 22 20 2b 20 74 68 69 73 2e | eturn."moz-icon://goat.".+.this. |
1184e0 | 70 72 69 6d 61 72 79 45 78 74 65 6e 73 69 6f 6e 20 2b 20 22 3f 73 69 7a 65 3d 22 20 2b 20 61 53 | primaryExtension.+."?size=".+.aS |
118500 | 69 7a 65 3b 0a 0a 20 20 20 20 69 66 20 28 74 68 69 73 2e 77 72 61 70 70 65 64 48 61 6e 64 6c 65 | ize;......if.(this.wrappedHandle |
118520 | 72 49 6e 66 6f 20 69 6e 73 74 61 6e 63 65 6f 66 20 43 69 2e 6e 73 49 4d 49 4d 45 49 6e 66 6f 29 | rInfo.instanceof.Ci.nsIMIMEInfo) |
118540 | 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 22 6d 6f 7a 2d 69 63 6f 6e 3a 2f 2f 67 6f 61 74 3f 73 | .......return."moz-icon://goat?s |
118560 | 69 7a 65 3d 22 20 2b 20 61 53 69 7a 65 20 2b 20 22 26 63 6f 6e 74 65 6e 74 54 79 70 65 3d 22 20 | ize=".+.aSize.+."&contentType=". |
118580 | 2b 20 74 68 69 73 2e 74 79 70 65 3b 0a 0a 20 20 20 20 2f 2f 20 46 49 58 4d 45 3a 20 63 6f 6e 73 | +.this.type;......//.FIXME:.cons |
1185a0 | 69 64 65 72 20 72 65 74 75 72 6e 69 6e 67 20 73 6f 6d 65 20 67 65 6e 65 72 69 63 20 69 63 6f 6e | ider.returning.some.generic.icon |
1185c0 | 20 77 68 65 6e 20 77 65 20 63 61 6e 27 74 20 67 65 74 20 61 20 55 52 4c 20 66 6f 72 0a 20 20 20 | .when.we.can't.get.a.URL.for.... |
1185e0 | 20 2f 2f 20 6f 6e 65 20 28 66 6f 72 20 65 78 61 6d 70 6c 65 20 69 6e 20 74 68 65 20 63 61 73 65 | .//.one.(for.example.in.the.case |
118600 | 20 6f 66 20 70 72 6f 74 6f 63 6f 6c 20 73 63 68 65 6d 65 73 29 2e 20 20 46 69 6c 65 64 20 61 73 | .of.protocol.schemes)...Filed.as |
118620 | 20 62 75 67 20 33 39 35 31 34 31 2e 0a 20 20 20 20 72 65 74 75 72 6e 20 6e 75 6c 6c 3b 0a 20 20 | .bug.395141......return.null;... |
118640 | 7d 0a 0a 7d 3b 0a 0a 0a 2f 2f 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a | }..};...//********************** |
118660 | 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a | ******************************** |
118680 | 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2f 2f 0a 2f 2f 20 46 65 65 64 | **********************//.//.Feed |
1186a0 | 20 48 61 6e 64 6c 65 72 20 49 6e 66 6f 0a 0a 2f 2a 2a 0a 20 2a 20 54 68 69 73 20 6f 62 6a 65 63 | .Handler.Info../**..*.This.objec |
1186c0 | 74 20 69 6d 70 6c 65 6d 65 6e 74 73 20 6e 73 49 48 61 6e 64 6c 65 72 49 6e 66 6f 20 66 6f 72 20 | t.implements.nsIHandlerInfo.for. |
1186e0 | 74 68 65 20 66 65 65 64 20 74 79 70 65 73 2e 20 20 49 74 27 73 20 61 20 73 65 70 61 72 61 74 65 | the.feed.types...It's.a.separate |
118700 | 0a 20 2a 20 6f 62 6a 65 63 74 20 62 65 63 61 75 73 65 20 77 65 20 63 75 72 72 65 6e 74 6c 79 20 | ..*.object.because.we.currently. |
118720 | 73 74 6f 72 65 20 68 61 6e 64 6c 69 6e 67 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 20 66 6f 72 20 74 | store.handling.information.for.t |
118740 | 68 65 20 66 65 65 64 20 74 79 70 65 0a 20 2a 20 69 6e 20 61 20 73 65 74 20 6f 66 20 70 72 65 66 | he.feed.type..*.in.a.set.of.pref |
118760 | 65 72 65 6e 63 65 73 20 72 61 74 68 65 72 20 74 68 61 6e 20 74 68 65 20 6e 73 49 48 61 6e 64 6c | erences.rather.than.the.nsIHandl |
118780 | 65 72 53 65 72 76 69 63 65 2d 6d 61 6e 61 67 65 64 20 64 61 74 61 73 74 6f 72 65 2e 0a 20 2a 20 | erService-managed.datastore...*. |
1187a0 | 0a 20 2a 20 54 68 69 73 20 6f 62 6a 65 63 74 20 69 6e 68 65 72 69 74 73 20 66 72 6f 6d 20 48 61 | ..*.This.object.inherits.from.Ha |
1187c0 | 6e 64 6c 65 72 49 6e 66 6f 57 72 61 70 70 65 72 20 69 6e 20 6f 72 64 65 72 20 74 6f 20 67 65 74 | ndlerInfoWrapper.in.order.to.get |
1187e0 | 20 66 75 6e 63 74 69 6f 6e 61 6c 69 74 79 0a 20 2a 20 74 68 61 74 20 69 73 6e 27 74 20 73 70 65 | .functionality..*.that.isn't.spe |
118800 | 63 69 61 6c 20 74 6f 20 74 68 65 20 66 65 65 64 20 74 79 70 65 2e 0a 20 2a 20 0a 20 2a 20 58 58 | cial.to.the.feed.type...*...*.XX |
118820 | 58 20 53 68 6f 75 6c 64 20 77 65 20 69 6e 68 65 72 69 74 20 66 72 6f 6d 20 48 61 6e 64 6c 65 72 | X.Should.we.inherit.from.Handler |
118840 | 49 6e 66 6f 57 72 61 70 70 65 72 3f 20 20 41 66 74 65 72 20 61 6c 6c 2c 20 77 65 20 6f 76 65 72 | InfoWrapper?..After.all,.we.over |
118860 | 72 69 64 65 0a 20 2a 20 6d 6f 73 74 20 6f 66 20 74 68 61 74 20 77 72 61 70 70 65 72 27 73 20 70 | ride..*.most.of.that.wrapper's.p |
118880 | 72 6f 70 65 72 74 69 65 73 20 61 6e 64 20 6d 65 74 68 6f 64 73 2c 20 61 6e 64 20 77 65 20 68 61 | roperties.and.methods,.and.we.ha |
1188a0 | 76 65 20 74 6f 20 64 61 6e 63 65 20 61 72 6f 75 6e 64 0a 20 2a 20 74 68 65 20 66 61 63 74 20 74 | ve.to.dance.around..*.the.fact.t |
1188c0 | 68 61 74 20 74 68 65 20 77 72 61 70 70 65 72 20 65 78 70 65 63 74 73 20 74 6f 20 68 61 76 65 20 | hat.the.wrapper.expects.to.have. |
1188e0 | 61 20 77 72 61 70 70 65 64 48 61 6e 64 6c 65 72 49 6e 66 6f 2c 20 77 68 69 63 68 20 77 65 0a 20 | a.wrappedHandlerInfo,.which.we.. |
118900 | 2a 20 64 6f 6e 27 74 20 70 72 6f 76 69 64 65 2e 0a 20 2a 2f 0a 0a 66 75 6e 63 74 69 6f 6e 20 46 | *.don't.provide...*/..function.F |
118920 | 65 65 64 48 61 6e 64 6c 65 72 49 6e 66 6f 28 61 4d 49 4d 45 54 79 70 65 29 20 7b 0a 20 20 48 61 | eedHandlerInfo(aMIMEType).{...Ha |
118940 | 6e 64 6c 65 72 49 6e 66 6f 57 72 61 70 70 65 72 2e 63 61 6c 6c 28 74 68 69 73 2c 20 61 4d 49 4d | ndlerInfoWrapper.call(this,.aMIM |
118960 | 45 54 79 70 65 2c 20 6e 75 6c 6c 29 3b 0a 7d 0a 0a 46 65 65 64 48 61 6e 64 6c 65 72 49 6e 66 6f | EType,.null);.}..FeedHandlerInfo |
118980 | 2e 70 72 6f 74 6f 74 79 70 65 20 3d 20 7b 0a 20 20 5f 5f 70 72 6f 74 6f 5f 5f 3a 20 48 61 6e 64 | .prototype.=.{...__proto__:.Hand |
1189a0 | 6c 65 72 49 6e 66 6f 57 72 61 70 70 65 72 2e 70 72 6f 74 6f 74 79 70 65 2c 0a 0a 20 20 2f 2f 2a | lerInfoWrapper.prototype,....//* |
1189c0 | 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a | ******************************** |
1189e0 | 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a | ******************************** |
118a00 | 2a 2a 2a 2a 2a 2a 2a 2a 2a 2f 2f 0a 20 20 2f 2f 20 43 6f 6e 76 65 6e 69 65 6e 63 65 20 55 74 69 | *********//...//.Convenience.Uti |
118a20 | 6c 73 0a 0a 20 20 5f 63 6f 6e 76 65 72 74 65 72 53 76 63 3a 0a 20 20 20 20 43 63 5b 22 40 6d 6f | ls...._converterSvc:.....Cc["@mo |
118a40 | 7a 69 6c 6c 61 2e 6f 72 67 2f 65 6d 62 65 64 64 6f 72 2e 69 6d 70 6c 65 6d 65 6e 74 65 64 2f 77 | zilla.org/embeddor.implemented/w |
118a60 | 65 62 2d 63 6f 6e 74 65 6e 74 2d 68 61 6e 64 6c 65 72 2d 72 65 67 69 73 74 72 61 72 3b 31 22 5d | eb-content-handler-registrar;1"] |
118a80 | 2e 0a 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 57 65 62 43 6f 6e 74 65 6e | ......getService(Ci.nsIWebConten |
118aa0 | 74 43 6f 6e 76 65 72 74 65 72 53 65 72 76 69 63 65 29 2c 0a 0a 20 20 5f 73 68 65 6c 6c 53 76 63 | tConverterService),...._shellSvc |
118ac0 | 3a 0a 2f 2f 40 6c 69 6e 65 20 35 35 31 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 | :.//@line.551."/builds/moz2_slav |
118ae0 | 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 63 6f 6d 70 | e/linux_build/build/browser/comp |
118b00 | 6f 6e 65 6e 74 73 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 61 70 70 6c 69 63 61 74 69 6f 6e 73 2e | onents/preferences/applications. |
118b20 | 6a 73 22 0a 20 20 20 20 67 65 74 53 68 65 6c 6c 53 65 72 76 69 63 65 28 29 2c 0a 2f 2f 40 6c 69 | js".....getShellService(),.//@li |
118b40 | 6e 65 20 35 35 35 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 | ne.555."/builds/moz2_slave/linux |
118b60 | 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 63 6f 6d 70 6f 6e 65 6e 74 73 2f | _build/build/browser/components/ |
118b80 | 70 72 65 66 65 72 65 6e 63 65 73 2f 61 70 70 6c 69 63 61 74 69 6f 6e 73 2e 6a 73 22 0a 0a 0a 20 | preferences/applications.js".... |
118ba0 | 20 2f 2f 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a | .//***************************** |
118bc0 | 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a | ******************************** |
118be0 | 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2f 2f 0a 20 20 2f 2f 20 6e 73 49 48 61 6e 64 6c 65 72 49 | *************//...//.nsIHandlerI |
118c00 | 6e 66 6f 0a 0a 20 20 67 65 74 20 64 65 73 63 72 69 70 74 69 6f 6e 28 29 20 7b 0a 20 20 20 20 72 | nfo....get.description().{.....r |
118c20 | 65 74 75 72 6e 20 74 68 69 73 2e 65 6c 65 6d 65 6e 74 28 22 62 75 6e 64 6c 65 50 72 65 66 65 72 | eturn.this.element("bundlePrefer |
118c40 | 65 6e 63 65 73 22 29 2e 67 65 74 53 74 72 69 6e 67 28 74 68 69 73 2e 5f 61 70 70 50 72 65 66 4c | ences").getString(this._appPrefL |
118c60 | 61 62 65 6c 29 3b 0a 20 20 7d 2c 0a 0a 20 20 67 65 74 20 70 72 65 66 65 72 72 65 64 41 70 70 6c | abel);...},....get.preferredAppl |
118c80 | 69 63 61 74 69 6f 6e 48 61 6e 64 6c 65 72 28 29 20 7b 0a 20 20 20 20 73 77 69 74 63 68 20 28 74 | icationHandler().{.....switch.(t |
118ca0 | 68 69 73 2e 65 6c 65 6d 65 6e 74 28 74 68 69 73 2e 5f 70 72 65 66 53 65 6c 65 63 74 65 64 52 65 | his.element(this._prefSelectedRe |
118cc0 | 61 64 65 72 29 2e 76 61 6c 75 65 29 20 7b 0a 20 20 20 20 20 20 63 61 73 65 20 22 63 6c 69 65 6e | ader).value).{.......case."clien |
118ce0 | 74 22 3a 0a 20 20 20 20 20 20 20 20 76 61 72 20 66 69 6c 65 20 3d 20 74 68 69 73 2e 65 6c 65 6d | t":.........var.file.=.this.elem |
118d00 | 65 6e 74 28 74 68 69 73 2e 5f 70 72 65 66 53 65 6c 65 63 74 65 64 41 70 70 29 2e 76 61 6c 75 65 | ent(this._prefSelectedApp).value |
118d20 | 3b 0a 20 20 20 20 20 20 20 20 69 66 20 28 66 69 6c 65 29 0a 20 20 20 20 20 20 20 20 20 20 72 65 | ;.........if.(file)...........re |
118d40 | 74 75 72 6e 20 67 65 74 4c 6f 63 61 6c 48 61 6e 64 6c 65 72 41 70 70 28 66 69 6c 65 29 3b 0a 0a | turn.getLocalHandlerApp(file);.. |
118d60 | 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 6e 75 6c 6c 3b 0a 0a 20 20 20 20 20 20 63 61 73 65 | ........return.null;........case |
118d80 | 20 22 77 65 62 22 3a 0a 20 20 20 20 20 20 20 20 76 61 72 20 75 72 69 20 3d 20 74 68 69 73 2e 65 | ."web":.........var.uri.=.this.e |
118da0 | 6c 65 6d 65 6e 74 28 74 68 69 73 2e 5f 70 72 65 66 53 65 6c 65 63 74 65 64 57 65 62 29 2e 76 61 | lement(this._prefSelectedWeb).va |
118dc0 | 6c 75 65 3b 0a 20 20 20 20 20 20 20 20 69 66 20 28 21 75 72 69 29 0a 20 20 20 20 20 20 20 20 20 | lue;.........if.(!uri).......... |
118de0 | 20 72 65 74 75 72 6e 20 6e 75 6c 6c 3b 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 | .return.null;.........return.thi |
118e00 | 73 2e 5f 63 6f 6e 76 65 72 74 65 72 53 76 63 2e 67 65 74 57 65 62 43 6f 6e 74 65 6e 74 48 61 6e | s._converterSvc.getWebContentHan |
118e20 | 64 6c 65 72 42 79 55 52 49 28 74 68 69 73 2e 74 79 70 65 2c 20 75 72 69 29 3b 0a 0a 20 20 20 20 | dlerByURI(this.type,.uri);...... |
118e40 | 20 20 63 61 73 65 20 22 62 6f 6f 6b 6d 61 72 6b 73 22 3a 0a 20 20 20 20 20 20 64 65 66 61 75 6c | ..case."bookmarks":.......defaul |
118e60 | 74 3a 0a 20 20 20 20 20 20 20 20 2f 2f 20 57 68 65 6e 20 74 68 65 20 70 72 65 66 20 69 73 20 73 | t:.........//.When.the.pref.is.s |
118e80 | 65 74 20 74 6f 20 62 6f 6f 6b 6d 61 72 6b 73 2c 20 77 65 20 68 61 6e 64 6c 65 20 66 65 65 64 73 | et.to.bookmarks,.we.handle.feeds |
118ea0 | 20 69 6e 74 65 72 6e 61 6c 6c 79 2c 0a 20 20 20 20 20 20 20 20 2f 2f 20 77 65 20 64 6f 6e 27 74 | .internally,.........//.we.don't |
118ec0 | 20 66 6f 72 77 61 72 64 20 74 68 65 6d 20 74 6f 20 61 20 6c 6f 63 61 6c 20 6f 72 20 77 65 62 20 | .forward.them.to.a.local.or.web. |
118ee0 | 68 61 6e 64 6c 65 72 20 61 70 70 2c 20 73 6f 20 74 68 65 72 65 20 69 73 0a 20 20 20 20 20 20 20 | handler.app,.so.there.is........ |
118f00 | 20 2f 2f 20 6e 6f 20 70 72 65 66 65 72 72 65 64 20 68 61 6e 64 6c 65 72 2e 0a 20 20 20 20 20 20 | .//.no.preferred.handler........ |
118f20 | 20 20 72 65 74 75 72 6e 20 6e 75 6c 6c 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 73 65 74 | ..return.null;.....}...},....set |
118f40 | 20 70 72 65 66 65 72 72 65 64 41 70 70 6c 69 63 61 74 69 6f 6e 48 61 6e 64 6c 65 72 28 61 4e 65 | .preferredApplicationHandler(aNe |
118f60 | 77 56 61 6c 75 65 29 20 7b 0a 20 20 20 20 69 66 20 28 61 4e 65 77 56 61 6c 75 65 20 69 6e 73 74 | wValue).{.....if.(aNewValue.inst |
118f80 | 61 6e 63 65 6f 66 20 43 69 2e 6e 73 49 4c 6f 63 61 6c 48 61 6e 64 6c 65 72 41 70 70 29 20 7b 0a | anceof.Ci.nsILocalHandlerApp).{. |
118fa0 | 20 20 20 20 20 20 74 68 69 73 2e 65 6c 65 6d 65 6e 74 28 74 68 69 73 2e 5f 70 72 65 66 53 65 6c | ......this.element(this._prefSel |
118fc0 | 65 63 74 65 64 41 70 70 29 2e 76 61 6c 75 65 20 3d 20 61 4e 65 77 56 61 6c 75 65 2e 65 78 65 63 | ectedApp).value.=.aNewValue.exec |
118fe0 | 75 74 61 62 6c 65 3b 0a 20 20 20 20 20 20 74 68 69 73 2e 65 6c 65 6d 65 6e 74 28 74 68 69 73 2e | utable;.......this.element(this. |
119000 | 5f 70 72 65 66 53 65 6c 65 63 74 65 64 52 65 61 64 65 72 29 2e 76 61 6c 75 65 20 3d 20 22 63 6c | _prefSelectedReader).value.=."cl |
119020 | 69 65 6e 74 22 3b 0a 20 20 20 20 7d 0a 20 20 20 20 65 6c 73 65 20 69 66 20 28 61 4e 65 77 56 61 | ient";.....}.....else.if.(aNewVa |
119040 | 6c 75 65 20 69 6e 73 74 61 6e 63 65 6f 66 20 43 69 2e 6e 73 49 57 65 62 43 6f 6e 74 65 6e 74 48 | lue.instanceof.Ci.nsIWebContentH |
119060 | 61 6e 64 6c 65 72 49 6e 66 6f 29 20 7b 0a 20 20 20 20 20 20 74 68 69 73 2e 65 6c 65 6d 65 6e 74 | andlerInfo).{.......this.element |
119080 | 28 74 68 69 73 2e 5f 70 72 65 66 53 65 6c 65 63 74 65 64 57 65 62 29 2e 76 61 6c 75 65 20 3d 20 | (this._prefSelectedWeb).value.=. |
1190a0 | 61 4e 65 77 56 61 6c 75 65 2e 75 72 69 3b 0a 20 20 20 20 20 20 74 68 69 73 2e 65 6c 65 6d 65 6e | aNewValue.uri;.......this.elemen |
1190c0 | 74 28 74 68 69 73 2e 5f 70 72 65 66 53 65 6c 65 63 74 65 64 52 65 61 64 65 72 29 2e 76 61 6c 75 | t(this._prefSelectedReader).valu |
1190e0 | 65 20 3d 20 22 77 65 62 22 3b 0a 20 20 20 20 20 20 2f 2f 20 4d 61 6b 65 20 74 68 65 20 77 65 62 | e.=."web";.......//.Make.the.web |
119100 | 20 68 61 6e 64 6c 65 72 20 62 65 20 74 68 65 20 6e 65 77 20 22 61 75 74 6f 20 68 61 6e 64 6c 65 | .handler.be.the.new."auto.handle |
119120 | 72 22 20 66 6f 72 20 66 65 65 64 73 2e 0a 20 20 20 20 20 20 2f 2f 20 4e 6f 74 65 3a 20 77 65 20 | r".for.feeds........//.Note:.we. |
119140 | 64 6f 6e 27 74 20 68 61 76 65 20 74 6f 20 75 6e 72 65 67 69 73 74 65 72 20 74 68 65 20 61 75 74 | don't.have.to.unregister.the.aut |
119160 | 6f 20 68 61 6e 64 6c 65 72 20 77 68 65 6e 20 74 68 65 20 75 73 65 72 20 70 69 63 6b 73 0a 20 20 | o.handler.when.the.user.picks... |
119180 | 20 20 20 20 2f 2f 20 61 20 6e 6f 6e 2d 77 65 62 20 68 61 6e 64 6c 65 72 20 28 6c 6f 63 61 6c 20 | ....//.a.non-web.handler.(local. |
1191a0 | 61 70 70 2c 20 4c 69 76 65 20 42 6f 6f 6b 6d 61 72 6b 73 2c 20 65 74 63 2e 29 20 62 65 63 61 75 | app,.Live.Bookmarks,.etc.).becau |
1191c0 | 73 65 20 74 68 65 20 73 65 72 76 69 63 65 0a 20 20 20 20 20 20 2f 2f 20 6f 6e 6c 79 20 75 73 65 | se.the.service.......//.only.use |
1191e0 | 73 20 74 68 65 20 22 61 75 74 6f 20 68 61 6e 64 6c 65 72 22 20 77 68 65 6e 20 74 68 65 20 73 65 | s.the."auto.handler".when.the.se |
119200 | 6c 65 63 74 65 64 20 72 65 61 64 65 72 20 69 73 20 61 20 77 65 62 20 68 61 6e 64 6c 65 72 2e 0a | lected.reader.is.a.web.handler.. |
119220 | 20 20 20 20 20 20 2f 2f 20 57 65 20 61 6c 73 6f 20 64 6f 6e 27 74 20 68 61 76 65 20 74 6f 20 75 | ......//.We.also.don't.have.to.u |
119240 | 6e 72 65 67 69 73 74 65 72 20 69 74 20 77 68 65 6e 20 74 68 65 20 75 73 65 72 20 74 75 72 6e 73 | nregister.it.when.the.user.turns |
119260 | 20 6f 6e 20 22 61 6c 77 61 79 73 20 61 73 6b 22 0a 20 20 20 20 20 20 2f 2f 20 28 69 2e 65 2e 20 | .on."always.ask".......//.(i.e.. |
119280 | 70 72 65 76 69 65 77 20 69 6e 20 62 72 6f 77 73 65 72 29 2c 20 73 69 6e 63 65 20 74 68 61 74 20 | preview.in.browser),.since.that. |
1192a0 | 61 6c 73 6f 20 6f 76 65 72 72 69 64 65 73 20 74 68 65 20 61 75 74 6f 20 68 61 6e 64 6c 65 72 2e | also.overrides.the.auto.handler. |
1192c0 | 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 63 6f 6e 76 65 72 74 65 72 53 76 63 2e 73 65 74 41 75 74 | .......this._converterSvc.setAut |
1192e0 | 6f 48 61 6e 64 6c 65 72 28 74 68 69 73 2e 74 79 70 65 2c 20 61 4e 65 77 56 61 6c 75 65 29 3b 0a | oHandler(this.type,.aNewValue);. |
119300 | 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 5f 70 6f 73 73 69 62 6c 65 41 70 70 6c 69 63 61 74 69 | ....}...},...._possibleApplicati |
119320 | 6f 6e 48 61 6e 64 6c 65 72 73 3a 20 6e 75 6c 6c 2c 0a 0a 20 20 67 65 74 20 70 6f 73 73 69 62 6c | onHandlers:.null,....get.possibl |
119340 | 65 41 70 70 6c 69 63 61 74 69 6f 6e 48 61 6e 64 6c 65 72 73 28 29 20 7b 0a 20 20 20 20 69 66 20 | eApplicationHandlers().{.....if. |
119360 | 28 74 68 69 73 2e 5f 70 6f 73 73 69 62 6c 65 41 70 70 6c 69 63 61 74 69 6f 6e 48 61 6e 64 6c 65 | (this._possibleApplicationHandle |
119380 | 72 73 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 70 6f 73 73 69 62 6c 65 41 | rs).......return.this._possibleA |
1193a0 | 70 70 6c 69 63 61 74 69 6f 6e 48 61 6e 64 6c 65 72 73 3b 0a 0a 20 20 20 20 2f 2f 20 41 20 6d 69 | pplicationHandlers;......//.A.mi |
1193c0 | 6e 69 6d 61 6c 20 69 6d 70 6c 65 6d 65 6e 74 61 74 69 6f 6e 20 6f 66 20 6e 73 49 4d 75 74 61 62 | nimal.implementation.of.nsIMutab |
1193e0 | 6c 65 41 72 72 61 79 2e 20 20 49 74 20 6f 6e 6c 79 20 73 75 70 70 6f 72 74 73 20 74 68 65 20 74 | leArray...It.only.supports.the.t |
119400 | 77 6f 0a 20 20 20 20 2f 2f 20 6d 65 74 68 6f 64 73 20 69 74 73 20 63 61 6c 6c 65 72 73 20 69 6e | wo.....//.methods.its.callers.in |
119420 | 76 6f 6b 65 2c 20 6e 61 6d 65 6c 79 20 61 70 70 65 6e 64 45 6c 65 6d 65 6e 74 20 61 6e 64 20 6e | voke,.namely.appendElement.and.n |
119440 | 73 49 41 72 72 61 79 3a 3a 65 6e 75 6d 65 72 61 74 65 2e 0a 20 20 20 20 74 68 69 73 2e 5f 70 6f | sIArray::enumerate......this._po |
119460 | 73 73 69 62 6c 65 41 70 70 6c 69 63 61 74 69 6f 6e 48 61 6e 64 6c 65 72 73 20 3d 20 7b 0a 20 20 | ssibleApplicationHandlers.=.{... |
119480 | 20 20 20 20 5f 69 6e 6e 65 72 3a 20 5b 5d 2c 0a 20 20 20 20 20 20 5f 72 65 6d 6f 76 65 64 3a 20 | ...._inner:.[],......._removed:. |
1194a0 | 5b 5d 2c 0a 0a 20 20 20 20 20 20 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 3a 20 66 75 6e 63 74 | [],........QueryInterface:.funct |
1194c0 | 69 6f 6e 28 61 49 49 44 29 20 7b 0a 20 20 20 20 20 20 20 20 69 66 20 28 61 49 49 44 2e 65 71 75 | ion(aIID).{.........if.(aIID.equ |
1194e0 | 61 6c 73 28 43 69 2e 6e 73 49 4d 75 74 61 62 6c 65 41 72 72 61 79 29 20 7c 7c 0a 20 20 20 20 20 | als(Ci.nsIMutableArray).||...... |
119500 | 20 20 20 20 20 20 20 61 49 49 44 2e 65 71 75 61 6c 73 28 43 69 2e 6e 73 49 41 72 72 61 79 29 20 | .......aIID.equals(Ci.nsIArray). |
119520 | 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 61 49 49 44 2e 65 71 75 61 6c 73 28 43 69 2e 6e 73 | ||.............aIID.equals(Ci.ns |
119540 | 49 53 75 70 70 6f 72 74 73 29 29 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 | ISupports))...........return.thi |
119560 | 73 3b 0a 0a 20 20 20 20 20 20 20 20 74 68 72 6f 77 20 43 72 2e 4e 53 5f 45 52 52 4f 52 5f 4e 4f | s;..........throw.Cr.NS_ERROR_NO |
119580 | 5f 49 4e 54 45 52 46 41 43 45 3b 0a 20 20 20 20 20 20 7d 2c 0a 0a 20 20 20 20 20 20 67 65 74 20 | _INTERFACE;.......},........get. |
1195a0 | 6c 65 6e 67 74 68 28 29 20 7b 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f | length().{.........return.this._ |
1195c0 | 69 6e 6e 65 72 2e 6c 65 6e 67 74 68 3b 0a 20 20 20 20 20 20 7d 2c 0a 0a 20 20 20 20 20 20 65 6e | inner.length;.......},........en |
1195e0 | 75 6d 65 72 61 74 65 3a 20 66 75 6e 63 74 69 6f 6e 28 29 20 7b 0a 20 20 20 20 20 20 20 20 72 65 | umerate:.function().{.........re |
119600 | 74 75 72 6e 20 6e 65 77 20 41 72 72 61 79 45 6e 75 6d 65 72 61 74 6f 72 28 74 68 69 73 2e 5f 69 | turn.new.ArrayEnumerator(this._i |
119620 | 6e 6e 65 72 29 3b 0a 20 20 20 20 20 20 7d 2c 0a 0a 20 20 20 20 20 20 61 70 70 65 6e 64 45 6c 65 | nner);.......},........appendEle |
119640 | 6d 65 6e 74 3a 20 66 75 6e 63 74 69 6f 6e 28 61 48 61 6e 64 6c 65 72 41 70 70 2c 20 61 57 65 61 | ment:.function(aHandlerApp,.aWea |
119660 | 6b 29 20 7b 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 69 6e 6e 65 72 2e 70 75 73 68 28 61 48 | k).{.........this._inner.push(aH |
119680 | 61 6e 64 6c 65 72 41 70 70 29 3b 0a 20 20 20 20 20 20 7d 2c 0a 0a 20 20 20 20 20 20 72 65 6d 6f | andlerApp);.......},........remo |
1196a0 | 76 65 45 6c 65 6d 65 6e 74 41 74 3a 20 66 75 6e 63 74 69 6f 6e 28 61 49 6e 64 65 78 29 20 7b 0a | veElementAt:.function(aIndex).{. |
1196c0 | 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 72 65 6d 6f 76 65 64 2e 70 75 73 68 28 74 68 69 73 2e | ........this._removed.push(this. |
1196e0 | 5f 69 6e 6e 65 72 5b 61 49 6e 64 65 78 5d 29 3b 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 69 | _inner[aIndex]);.........this._i |
119700 | 6e 6e 65 72 2e 73 70 6c 69 63 65 28 61 49 6e 64 65 78 2c 20 31 29 3b 0a 20 20 20 20 20 20 7d 2c | nner.splice(aIndex,.1);.......}, |
119720 | 0a 0a 20 20 20 20 20 20 71 75 65 72 79 45 6c 65 6d 65 6e 74 41 74 3a 20 66 75 6e 63 74 69 6f 6e | ........queryElementAt:.function |
119740 | 28 61 49 6e 64 65 78 2c 20 61 49 6e 74 65 72 66 61 63 65 29 20 7b 0a 20 20 20 20 20 20 20 20 72 | (aIndex,.aInterface).{.........r |
119760 | 65 74 75 72 6e 20 74 68 69 73 2e 5f 69 6e 6e 65 72 5b 61 49 6e 64 65 78 5d 2e 51 75 65 72 79 49 | eturn.this._inner[aIndex].QueryI |
119780 | 6e 74 65 72 66 61 63 65 28 61 49 6e 74 65 72 66 61 63 65 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 | nterface(aInterface);.......}... |
1197a0 | 20 20 7d 3b 0a 0a 20 20 20 20 2f 2f 20 41 64 64 20 74 68 65 20 73 65 6c 65 63 74 65 64 20 6c 6f | ..};......//.Add.the.selected.lo |
1197c0 | 63 61 6c 20 61 70 70 20 69 66 20 69 74 27 73 20 64 69 66 66 65 72 65 6e 74 20 66 72 6f 6d 20 74 | cal.app.if.it's.different.from.t |
1197e0 | 68 65 20 4f 53 20 64 65 66 61 75 6c 74 20 68 61 6e 64 6c 65 72 2e 0a 20 20 20 20 2f 2f 20 55 6e | he.OS.default.handler......//.Un |
119800 | 6c 69 6b 65 20 66 6f 72 20 6f 74 68 65 72 20 74 79 70 65 73 2c 20 77 65 20 63 61 6e 20 73 74 6f | like.for.other.types,.we.can.sto |
119820 | 72 65 20 6f 6e 6c 79 20 6f 6e 65 20 6c 6f 63 61 6c 20 61 70 70 20 61 74 20 61 20 74 69 6d 65 20 | re.only.one.local.app.at.a.time. |
119840 | 66 6f 72 20 74 68 65 0a 20 20 20 20 2f 2f 20 66 65 65 64 20 74 79 70 65 2c 20 73 69 6e 63 65 20 | for.the.....//.feed.type,.since. |
119860 | 77 65 20 73 74 6f 72 65 20 69 74 20 69 6e 20 61 20 70 72 65 66 65 72 65 6e 63 65 20 74 68 61 74 | we.store.it.in.a.preference.that |
119880 | 20 68 69 73 74 6f 72 69 63 61 6c 6c 79 20 73 74 6f 72 65 73 0a 20 20 20 20 2f 2f 20 6f 6e 6c 79 | .historically.stores.....//.only |
1198a0 | 20 61 20 73 69 6e 67 6c 65 20 70 61 74 68 2e 20 20 42 75 74 20 77 65 20 64 69 73 70 6c 61 79 20 | .a.single.path...But.we.display. |
1198c0 | 61 6c 6c 20 74 68 65 20 6c 6f 63 61 6c 20 61 70 70 73 20 74 68 65 20 75 73 65 72 20 63 68 6f 6f | all.the.local.apps.the.user.choo |
1198e0 | 73 65 73 0a 20 20 20 20 2f 2f 20 77 68 69 6c 65 20 74 68 65 20 70 72 65 66 70 61 6e 65 20 69 73 | ses.....//.while.the.prefpane.is |
119900 | 20 6f 70 65 6e 2c 20 6f 6e 6c 79 20 64 72 6f 70 70 69 6e 67 20 74 68 65 20 6c 69 73 74 20 77 68 | .open,.only.dropping.the.list.wh |
119920 | 65 6e 20 74 68 65 20 75 73 65 72 20 63 6c 6f 73 65 73 0a 20 20 20 20 2f 2f 20 74 68 65 20 70 72 | en.the.user.closes.....//.the.pr |
119940 | 65 66 70 61 6e 65 2c 20 66 6f 72 20 6d 61 78 69 6d 75 6d 20 75 73 61 62 69 6c 69 74 79 20 61 6e | efpane,.for.maximum.usability.an |
119960 | 64 20 63 6f 6e 73 69 73 74 65 6e 63 79 20 77 69 74 68 20 6f 74 68 65 72 20 74 79 70 65 73 2e 0a | d.consistency.with.other.types.. |
119980 | 20 20 20 20 76 61 72 20 70 72 65 66 65 72 72 65 64 41 70 70 46 69 6c 65 20 3d 20 74 68 69 73 2e | ....var.preferredAppFile.=.this. |
1199a0 | 65 6c 65 6d 65 6e 74 28 74 68 69 73 2e 5f 70 72 65 66 53 65 6c 65 63 74 65 64 41 70 70 29 2e 76 | element(this._prefSelectedApp).v |
1199c0 | 61 6c 75 65 3b 0a 20 20 20 20 69 66 20 28 70 72 65 66 65 72 72 65 64 41 70 70 46 69 6c 65 29 20 | alue;.....if.(preferredAppFile). |
1199e0 | 7b 0a 20 20 20 20 20 20 6c 65 74 20 70 72 65 66 65 72 72 65 64 41 70 70 20 3d 20 67 65 74 4c 6f | {.......let.preferredApp.=.getLo |
119a00 | 63 61 6c 48 61 6e 64 6c 65 72 41 70 70 28 70 72 65 66 65 72 72 65 64 41 70 70 46 69 6c 65 29 3b | calHandlerApp(preferredAppFile); |
119a20 | 0a 20 20 20 20 20 20 6c 65 74 20 64 65 66 61 75 6c 74 41 70 70 20 3d 20 74 68 69 73 2e 5f 64 65 | .......let.defaultApp.=.this._de |
119a40 | 66 61 75 6c 74 41 70 70 6c 69 63 61 74 69 6f 6e 48 61 6e 64 6c 65 72 3b 0a 20 20 20 20 20 20 69 | faultApplicationHandler;.......i |
119a60 | 66 20 28 21 64 65 66 61 75 6c 74 41 70 70 20 7c 7c 20 21 64 65 66 61 75 6c 74 41 70 70 2e 65 71 | f.(!defaultApp.||.!defaultApp.eq |
119a80 | 75 61 6c 73 28 70 72 65 66 65 72 72 65 64 41 70 70 29 29 0a 20 20 20 20 20 20 20 20 74 68 69 73 | uals(preferredApp)).........this |
119aa0 | 2e 5f 70 6f 73 73 69 62 6c 65 41 70 70 6c 69 63 61 74 69 6f 6e 48 61 6e 64 6c 65 72 73 2e 61 70 | ._possibleApplicationHandlers.ap |
119ac0 | 70 65 6e 64 45 6c 65 6d 65 6e 74 28 70 72 65 66 65 72 72 65 64 41 70 70 2c 20 66 61 6c 73 65 29 | pendElement(preferredApp,.false) |
119ae0 | 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 2f 2f 20 41 64 64 20 74 68 65 20 72 65 67 69 73 74 65 72 | ;.....}......//.Add.the.register |
119b00 | 65 64 20 77 65 62 20 68 61 6e 64 6c 65 72 73 2e 20 20 54 68 65 72 65 20 63 61 6e 20 62 65 20 61 | ed.web.handlers...There.can.be.a |
119b20 | 6e 79 20 6e 75 6d 62 65 72 20 6f 66 20 74 68 65 73 65 2e 0a 20 20 20 20 76 61 72 20 77 65 62 48 | ny.number.of.these......var.webH |
119b40 | 61 6e 64 6c 65 72 73 20 3d 20 74 68 69 73 2e 5f 63 6f 6e 76 65 72 74 65 72 53 76 63 2e 67 65 74 | andlers.=.this._converterSvc.get |
119b60 | 43 6f 6e 74 65 6e 74 48 61 6e 64 6c 65 72 73 28 74 68 69 73 2e 74 79 70 65 2c 20 7b 7d 29 3b 0a | ContentHandlers(this.type,.{});. |
119b80 | 20 20 20 20 66 6f 72 20 65 61 63 68 20 28 6c 65 74 20 77 65 62 48 61 6e 64 6c 65 72 20 69 6e 20 | ....for.each.(let.webHandler.in. |
119ba0 | 77 65 62 48 61 6e 64 6c 65 72 73 29 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 70 6f 73 73 69 62 6c | webHandlers).......this._possibl |
119bc0 | 65 41 70 70 6c 69 63 61 74 69 6f 6e 48 61 6e 64 6c 65 72 73 2e 61 70 70 65 6e 64 45 6c 65 6d 65 | eApplicationHandlers.appendEleme |
119be0 | 6e 74 28 77 65 62 48 61 6e 64 6c 65 72 2c 20 66 61 6c 73 65 29 3b 0a 0a 20 20 20 20 72 65 74 75 | nt(webHandler,.false);......retu |
119c00 | 72 6e 20 74 68 69 73 2e 5f 70 6f 73 73 69 62 6c 65 41 70 70 6c 69 63 61 74 69 6f 6e 48 61 6e 64 | rn.this._possibleApplicationHand |
119c20 | 6c 65 72 73 3b 0a 20 20 7d 2c 0a 0a 20 20 5f 5f 64 65 66 61 75 6c 74 41 70 70 6c 69 63 61 74 69 | lers;...},....__defaultApplicati |
119c40 | 6f 6e 48 61 6e 64 6c 65 72 3a 20 75 6e 64 65 66 69 6e 65 64 2c 0a 20 20 67 65 74 20 5f 64 65 66 | onHandler:.undefined,...get._def |
119c60 | 61 75 6c 74 41 70 70 6c 69 63 61 74 69 6f 6e 48 61 6e 64 6c 65 72 28 29 20 7b 0a 20 20 20 20 69 | aultApplicationHandler().{.....i |
119c80 | 66 20 28 74 79 70 65 6f 66 20 74 68 69 73 2e 5f 5f 64 65 66 61 75 6c 74 41 70 70 6c 69 63 61 74 | f.(typeof.this.__defaultApplicat |
119ca0 | 69 6f 6e 48 61 6e 64 6c 65 72 20 21 3d 20 22 75 6e 64 65 66 69 6e 65 64 22 29 0a 20 20 20 20 20 | ionHandler.!=."undefined")...... |
119cc0 | 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 5f 64 65 66 61 75 6c 74 41 70 70 6c 69 63 61 74 69 6f | .return.this.__defaultApplicatio |
119ce0 | 6e 48 61 6e 64 6c 65 72 3b 0a 0a 20 20 20 20 76 61 72 20 64 65 66 61 75 6c 74 46 65 65 64 52 65 | nHandler;......var.defaultFeedRe |
119d00 | 61 64 65 72 20 3d 20 6e 75 6c 6c 3b 0a 2f 2f 40 6c 69 6e 65 20 36 37 38 20 22 2f 62 75 69 6c 64 | ader.=.null;.//@line.678."/build |
119d20 | 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 | s/moz2_slave/linux_build/build/b |
119d40 | 72 6f 77 73 65 72 2f 63 6f 6d 70 6f 6e 65 6e 74 73 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 61 70 | rowser/components/preferences/ap |
119d60 | 70 6c 69 63 61 74 69 6f 6e 73 2e 6a 73 22 0a 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 64 | plications.js".....try.{.......d |
119d80 | 65 66 61 75 6c 74 46 65 65 64 52 65 61 64 65 72 20 3d 20 74 68 69 73 2e 5f 73 68 65 6c 6c 53 76 | efaultFeedReader.=.this._shellSv |
119da0 | 63 2e 64 65 66 61 75 6c 74 46 65 65 64 52 65 61 64 65 72 3b 0a 20 20 20 20 7d 0a 20 20 20 20 63 | c.defaultFeedReader;.....}.....c |
119dc0 | 61 74 63 68 28 65 78 29 20 7b 0a 20 20 20 20 20 20 2f 2f 20 6e 6f 20 64 65 66 61 75 6c 74 20 72 | atch(ex).{.......//.no.default.r |
119de0 | 65 61 64 65 72 20 6f 72 20 5f 73 68 65 6c 6c 53 76 63 20 69 73 20 6e 75 6c 6c 0a 20 20 20 20 7d | eader.or._shellSvc.is.null.....} |
119e00 | 0a 2f 2f 40 6c 69 6e 65 20 36 38 35 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 | .//@line.685."/builds/moz2_slave |
119e20 | 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 63 6f 6d 70 6f | /linux_build/build/browser/compo |
119e40 | 6e 65 6e 74 73 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 61 70 70 6c 69 63 61 74 69 6f 6e 73 2e 6a | nents/preferences/applications.j |
119e60 | 73 22 0a 0a 20 20 20 20 69 66 20 28 64 65 66 61 75 6c 74 46 65 65 64 52 65 61 64 65 72 29 20 7b | s"......if.(defaultFeedReader).{ |
119e80 | 0a 20 20 20 20 20 20 6c 65 74 20 68 61 6e 64 6c 65 72 41 70 70 20 3d 20 43 63 5b 22 40 6d 6f 7a | .......let.handlerApp.=.Cc["@moz |
119ea0 | 69 6c 6c 61 2e 6f 72 67 2f 75 72 69 6c 6f 61 64 65 72 2f 6c 6f 63 61 6c 2d 68 61 6e 64 6c 65 72 | illa.org/uriloader/local-handler |
119ec0 | 2d 61 70 70 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | -app;1"]........................ |
119ee0 | 20 63 72 65 61 74 65 49 6e 73 74 61 6e 63 65 28 43 69 2e 6e 73 49 48 61 6e 64 6c 65 72 41 70 70 | .createInstance(Ci.nsIHandlerApp |
119f00 | 29 3b 0a 20 20 20 20 20 20 68 61 6e 64 6c 65 72 41 70 70 2e 6e 61 6d 65 20 3d 20 67 65 74 44 69 | );.......handlerApp.name.=.getDi |
119f20 | 73 70 6c 61 79 4e 61 6d 65 46 6f 72 46 69 6c 65 28 64 65 66 61 75 6c 74 46 65 65 64 52 65 61 64 | splayNameForFile(defaultFeedRead |
119f40 | 65 72 29 3b 0a 20 20 20 20 20 20 68 61 6e 64 6c 65 72 41 70 70 2e 51 75 65 72 79 49 6e 74 65 72 | er);.......handlerApp.QueryInter |
119f60 | 66 61 63 65 28 43 69 2e 6e 73 49 4c 6f 63 61 6c 48 61 6e 64 6c 65 72 41 70 70 29 3b 0a 20 20 20 | face(Ci.nsILocalHandlerApp);.... |
119f80 | 20 20 20 68 61 6e 64 6c 65 72 41 70 70 2e 65 78 65 63 75 74 61 62 6c 65 20 3d 20 64 65 66 61 75 | ...handlerApp.executable.=.defau |
119fa0 | 6c 74 46 65 65 64 52 65 61 64 65 72 3b 0a 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 5f 64 65 66 61 | ltFeedReader;........this.__defa |
119fc0 | 75 6c 74 41 70 70 6c 69 63 61 74 69 6f 6e 48 61 6e 64 6c 65 72 20 3d 20 68 61 6e 64 6c 65 72 41 | ultApplicationHandler.=.handlerA |
119fe0 | 70 70 3b 0a 20 20 20 20 7d 0a 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 74 68 69 73 2e | pp;.....}.....else.{.......this. |
11a000 | 5f 5f 64 65 66 61 75 6c 74 41 70 70 6c 69 63 61 74 69 6f 6e 48 61 6e 64 6c 65 72 20 3d 20 6e 75 | __defaultApplicationHandler.=.nu |
11a020 | 6c 6c 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 5f 64 65 66 | ll;.....}......return.this.__def |
11a040 | 61 75 6c 74 41 70 70 6c 69 63 61 74 69 6f 6e 48 61 6e 64 6c 65 72 3b 0a 20 20 7d 2c 0a 0a 20 20 | aultApplicationHandler;...},.... |
11a060 | 67 65 74 20 68 61 73 44 65 66 61 75 6c 74 48 61 6e 64 6c 65 72 28 29 20 7b 0a 2f 2f 40 6c 69 6e | get.hasDefaultHandler().{.//@lin |
11a080 | 65 20 37 30 34 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f | e.704."/builds/moz2_slave/linux_ |
11a0a0 | 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 63 6f 6d 70 6f 6e 65 6e 74 73 2f 70 | build/build/browser/components/p |
11a0c0 | 72 65 66 65 72 65 6e 63 65 73 2f 61 70 70 6c 69 63 61 74 69 6f 6e 73 2e 6a 73 22 0a 20 20 20 20 | references/applications.js"..... |
11a0e0 | 74 72 79 20 7b 0a 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 73 68 65 6c 6c 53 76 63 2e 64 | try.{.......if.(this._shellSvc.d |
11a100 | 65 66 61 75 6c 74 46 65 65 64 52 65 61 64 65 72 29 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e | efaultFeedReader).........return |
11a120 | 20 74 72 75 65 3b 0a 20 20 20 20 7d 0a 20 20 20 20 63 61 74 63 68 28 65 78 29 20 7b 0a 20 20 20 | .true;.....}.....catch(ex).{.... |
11a140 | 20 20 20 2f 2f 20 6e 6f 20 64 65 66 61 75 6c 74 20 72 65 61 64 65 72 20 6f 72 20 5f 73 68 65 6c | ...//.no.default.reader.or._shel |
11a160 | 6c 53 76 63 20 69 73 20 6e 75 6c 6c 0a 20 20 20 20 7d 0a 2f 2f 40 6c 69 6e 65 20 37 31 32 20 22 | lSvc.is.null.....}.//@line.712." |
11a180 | 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 | /builds/moz2_slave/linux_build/b |
11a1a0 | 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 63 6f 6d 70 6f 6e 65 6e 74 73 2f 70 72 65 66 65 72 65 6e | uild/browser/components/preferen |
11a1c0 | 63 65 73 2f 61 70 70 6c 69 63 61 74 69 6f 6e 73 2e 6a 73 22 0a 0a 20 20 20 20 72 65 74 75 72 6e | ces/applications.js"......return |
11a1e0 | 20 66 61 6c 73 65 3b 0a 20 20 7d 2c 0a 0a 20 20 67 65 74 20 64 65 66 61 75 6c 74 44 65 73 63 72 | .false;...},....get.defaultDescr |
11a200 | 69 70 74 69 6f 6e 28 29 20 7b 0a 20 20 20 20 69 66 20 28 74 68 69 73 2e 68 61 73 44 65 66 61 75 | iption().{.....if.(this.hasDefau |
11a220 | 6c 74 48 61 6e 64 6c 65 72 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 64 65 | ltHandler).......return.this._de |
11a240 | 66 61 75 6c 74 41 70 70 6c 69 63 61 74 69 6f 6e 48 61 6e 64 6c 65 72 2e 6e 61 6d 65 3b 0a 0a 20 | faultApplicationHandler.name;... |
11a260 | 20 20 20 2f 2f 20 53 68 6f 75 6c 64 20 77 65 20 69 6e 73 74 65 61 64 20 72 65 74 75 72 6e 20 6e | ...//.Should.we.instead.return.n |
11a280 | 75 6c 6c 3f 0a 20 20 20 20 72 65 74 75 72 6e 20 22 22 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2f 20 57 | ull?.....return."";...},....//.W |
11a2a0 | 68 61 74 20 74 6f 20 64 6f 20 77 69 74 68 20 63 6f 6e 74 65 6e 74 20 6f 66 20 74 68 69 73 20 74 | hat.to.do.with.content.of.this.t |
11a2c0 | 79 70 65 2e 0a 20 20 67 65 74 20 70 72 65 66 65 72 72 65 64 41 63 74 69 6f 6e 28 29 20 7b 0a 20 | ype....get.preferredAction().{.. |
11a2e0 | 20 20 20 73 77 69 74 63 68 20 28 74 68 69 73 2e 65 6c 65 6d 65 6e 74 28 74 68 69 73 2e 5f 70 72 | ...switch.(this.element(this._pr |
11a300 | 65 66 53 65 6c 65 63 74 65 64 41 63 74 69 6f 6e 29 2e 76 61 6c 75 65 29 20 7b 0a 0a 20 20 20 20 | efSelectedAction).value).{...... |
11a320 | 20 20 63 61 73 65 20 22 62 6f 6f 6b 6d 61 72 6b 73 22 3a 0a 20 20 20 20 20 20 20 20 72 65 74 75 | ..case."bookmarks":.........retu |
11a340 | 72 6e 20 43 69 2e 6e 73 49 48 61 6e 64 6c 65 72 49 6e 66 6f 2e 68 61 6e 64 6c 65 49 6e 74 65 72 | rn.Ci.nsIHandlerInfo.handleInter |
11a360 | 6e 61 6c 6c 79 3b 0a 0a 20 20 20 20 20 20 63 61 73 65 20 22 72 65 61 64 65 72 22 3a 20 7b 0a 20 | nally;........case."reader":.{.. |
11a380 | 20 20 20 20 20 20 20 6c 65 74 20 70 72 65 66 65 72 72 65 64 41 70 70 20 3d 20 74 68 69 73 2e 70 | .......let.preferredApp.=.this.p |
11a3a0 | 72 65 66 65 72 72 65 64 41 70 70 6c 69 63 61 74 69 6f 6e 48 61 6e 64 6c 65 72 3b 0a 20 20 20 20 | referredApplicationHandler;..... |
11a3c0 | 20 20 20 20 6c 65 74 20 64 65 66 61 75 6c 74 41 70 70 20 3d 20 74 68 69 73 2e 5f 64 65 66 61 75 | ....let.defaultApp.=.this._defau |
11a3e0 | 6c 74 41 70 70 6c 69 63 61 74 69 6f 6e 48 61 6e 64 6c 65 72 3b 0a 0a 20 20 20 20 20 20 20 20 2f | ltApplicationHandler;........../ |
11a400 | 2f 20 49 66 20 77 65 20 68 61 76 65 20 61 20 76 61 6c 69 64 20 70 72 65 66 65 72 72 65 64 20 61 | /.If.we.have.a.valid.preferred.a |
11a420 | 70 70 2c 20 72 65 74 75 72 6e 20 75 73 65 53 79 73 74 65 6d 44 65 66 61 75 6c 74 20 69 66 20 69 | pp,.return.useSystemDefault.if.i |
11a440 | 74 27 73 0a 20 20 20 20 20 20 20 20 2f 2f 20 74 68 65 20 64 65 66 61 75 6c 74 20 61 70 70 3b 20 | t's.........//.the.default.app;. |
11a460 | 6f 74 68 65 72 77 69 73 65 20 72 65 74 75 72 6e 20 75 73 65 48 65 6c 70 65 72 41 70 70 2e 0a 20 | otherwise.return.useHelperApp... |
11a480 | 20 20 20 20 20 20 20 69 66 20 28 67 41 70 70 6c 69 63 61 74 69 6f 6e 73 50 61 6e 65 2e 69 73 56 | .......if.(gApplicationsPane.isV |
11a4a0 | 61 6c 69 64 48 61 6e 64 6c 65 72 41 70 70 28 70 72 65 66 65 72 72 65 64 41 70 70 29 29 20 7b 0a | alidHandlerApp(preferredApp)).{. |
11a4c0 | 20 20 20 20 20 20 20 20 20 20 69 66 20 28 64 65 66 61 75 6c 74 41 70 70 20 26 26 20 64 65 66 61 | ..........if.(defaultApp.&&.defa |
11a4e0 | 75 6c 74 41 70 70 2e 65 71 75 61 6c 73 28 70 72 65 66 65 72 72 65 64 41 70 70 29 29 0a 20 20 20 | ultApp.equals(preferredApp)).... |
11a500 | 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 43 69 2e 6e 73 49 48 61 6e 64 6c 65 72 49 6e 66 | .........return.Ci.nsIHandlerInf |
11a520 | 6f 2e 75 73 65 53 79 73 74 65 6d 44 65 66 61 75 6c 74 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 72 | o.useSystemDefault;............r |
11a540 | 65 74 75 72 6e 20 43 69 2e 6e 73 49 48 61 6e 64 6c 65 72 49 6e 66 6f 2e 75 73 65 48 65 6c 70 65 | eturn.Ci.nsIHandlerInfo.useHelpe |
11a560 | 72 41 70 70 3b 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 2f 2f 20 54 68 65 20 | rApp;.........}..........//.The. |
11a580 | 70 72 65 66 20 69 73 20 73 65 74 20 74 6f 20 22 72 65 61 64 65 72 22 2c 20 62 75 74 20 77 65 20 | pref.is.set.to."reader",.but.we. |
11a5a0 | 64 6f 6e 27 74 20 68 61 76 65 20 61 20 76 61 6c 69 64 20 70 72 65 66 65 72 72 65 64 20 61 70 70 | don't.have.a.valid.preferred.app |
11a5c0 | 2e 0a 20 20 20 20 20 20 20 20 2f 2f 20 57 68 61 74 20 64 6f 20 77 65 20 64 6f 20 6e 6f 77 3f 20 | ..........//.What.do.we.do.now?. |
11a5e0 | 20 4e 6f 74 20 73 75 72 65 20 74 68 69 73 20 69 73 20 74 68 65 20 62 65 73 74 20 6f 70 74 69 6f | .Not.sure.this.is.the.best.optio |
11a600 | 6e 20 28 70 65 72 68 61 70 73 20 77 65 0a 20 20 20 20 20 20 20 20 2f 2f 20 73 68 6f 75 6c 64 20 | n.(perhaps.we.........//.should. |
11a620 | 64 69 72 65 63 74 20 74 68 65 20 75 73 65 72 20 74 6f 20 74 68 65 20 64 65 66 61 75 6c 74 20 61 | direct.the.user.to.the.default.a |
11a640 | 70 70 2c 20 69 66 20 61 6e 79 29 2c 20 62 75 74 20 66 6f 72 20 6e 6f 77 20 6c 65 74 27 73 0a 20 | pp,.if.any),.but.for.now.let's.. |
11a660 | 20 20 20 20 20 20 20 2f 2f 20 64 69 72 65 63 74 20 74 68 65 20 75 73 65 72 20 74 6f 20 6c 69 76 | .......//.direct.the.user.to.liv |
11a680 | 65 20 62 6f 6f 6b 6d 61 72 6b 73 2e 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 43 69 2e 6e | e.bookmarks..........return.Ci.n |
11a6a0 | 73 49 48 61 6e 64 6c 65 72 49 6e 66 6f 2e 68 61 6e 64 6c 65 49 6e 74 65 72 6e 61 6c 6c 79 3b 0a | sIHandlerInfo.handleInternally;. |
11a6c0 | 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 2f 2f 20 49 66 20 74 68 65 20 61 63 74 69 6f 6e 20 | ......}........//.If.the.action. |
11a6e0 | 69 73 20 22 61 73 6b 22 2c 20 74 68 65 6e 20 61 6c 77 61 79 73 41 73 6b 42 65 66 6f 72 65 48 61 | is."ask",.then.alwaysAskBeforeHa |
11a700 | 6e 64 6c 69 6e 67 20 77 69 6c 6c 20 6f 76 65 72 72 69 64 65 0a 20 20 20 20 20 20 2f 2f 20 74 68 | ndling.will.override.......//.th |
11a720 | 65 20 61 63 74 69 6f 6e 2c 20 73 6f 20 69 74 20 64 6f 65 73 6e 27 74 20 6d 61 74 74 65 72 20 77 | e.action,.so.it.doesn't.matter.w |
11a740 | 68 61 74 20 77 65 20 73 61 79 20 69 74 20 69 73 2c 20 69 74 20 6a 75 73 74 20 68 61 73 20 74 6f | hat.we.say.it.is,.it.just.has.to |
11a760 | 20 62 65 0a 20 20 20 20 20 20 2f 2f 20 73 6f 6d 65 74 68 69 6e 67 20 74 68 61 74 20 64 6f 65 73 | .be.......//.something.that.does |
11a780 | 6e 27 74 20 63 61 75 73 65 20 74 68 65 20 63 6f 6e 74 72 6f 6c 6c 65 72 20 74 6f 20 68 69 64 65 | n't.cause.the.controller.to.hide |
11a7a0 | 20 74 68 65 20 74 79 70 65 2e 0a 20 20 20 20 20 20 63 61 73 65 20 22 61 73 6b 22 3a 0a 20 20 20 | .the.type........case."ask":.... |
11a7c0 | 20 20 20 64 65 66 61 75 6c 74 3a 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 43 69 2e 6e 73 | ...default:.........return.Ci.ns |
11a7e0 | 49 48 61 6e 64 6c 65 72 49 6e 66 6f 2e 68 61 6e 64 6c 65 49 6e 74 65 72 6e 61 6c 6c 79 3b 0a 20 | IHandlerInfo.handleInternally;.. |
11a800 | 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 73 65 74 20 70 72 65 66 65 72 72 65 64 41 63 74 69 6f 6e | ...}...},....set.preferredAction |
11a820 | 28 61 4e 65 77 56 61 6c 75 65 29 20 7b 0a 20 20 20 20 73 77 69 74 63 68 20 28 61 4e 65 77 56 61 | (aNewValue).{.....switch.(aNewVa |
11a840 | 6c 75 65 29 20 7b 0a 0a 20 20 20 20 20 20 63 61 73 65 20 43 69 2e 6e 73 49 48 61 6e 64 6c 65 72 | lue).{........case.Ci.nsIHandler |
11a860 | 49 6e 66 6f 2e 68 61 6e 64 6c 65 49 6e 74 65 72 6e 61 6c 6c 79 3a 0a 20 20 20 20 20 20 20 20 74 | Info.handleInternally:.........t |
11a880 | 68 69 73 2e 65 6c 65 6d 65 6e 74 28 74 68 69 73 2e 5f 70 72 65 66 53 65 6c 65 63 74 65 64 52 65 | his.element(this._prefSelectedRe |
11a8a0 | 61 64 65 72 29 2e 76 61 6c 75 65 20 3d 20 22 62 6f 6f 6b 6d 61 72 6b 73 22 3b 0a 20 20 20 20 20 | ader).value.=."bookmarks";...... |
11a8c0 | 20 20 20 62 72 65 61 6b 3b 0a 0a 20 20 20 20 20 20 63 61 73 65 20 43 69 2e 6e 73 49 48 61 6e 64 | ...break;........case.Ci.nsIHand |
11a8e0 | 6c 65 72 49 6e 66 6f 2e 75 73 65 48 65 6c 70 65 72 41 70 70 3a 0a 20 20 20 20 20 20 20 20 74 68 | lerInfo.useHelperApp:.........th |
11a900 | 69 73 2e 65 6c 65 6d 65 6e 74 28 74 68 69 73 2e 5f 70 72 65 66 53 65 6c 65 63 74 65 64 41 63 74 | is.element(this._prefSelectedAct |
11a920 | 69 6f 6e 29 2e 76 61 6c 75 65 20 3d 20 22 72 65 61 64 65 72 22 3b 0a 20 20 20 20 20 20 20 20 2f | ion).value.=."reader";........./ |
11a940 | 2f 20 54 68 65 20 63 6f 6e 74 72 6f 6c 6c 65 72 20 68 61 73 20 61 6c 72 65 61 64 79 20 73 65 74 | /.The.controller.has.already.set |
11a960 | 20 70 72 65 66 65 72 72 65 64 41 70 70 6c 69 63 61 74 69 6f 6e 48 61 6e 64 6c 65 72 0a 20 20 20 | .preferredApplicationHandler.... |
11a980 | 20 20 20 20 20 2f 2f 20 74 6f 20 74 68 65 20 6e 65 77 20 68 65 6c 70 65 72 20 61 70 70 2e 0a 20 | .....//.to.the.new.helper.app... |
11a9a0 | 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 0a 20 20 20 20 20 20 63 61 73 65 20 43 69 2e 6e 73 49 | .......break;........case.Ci.nsI |
11a9c0 | 48 61 6e 64 6c 65 72 49 6e 66 6f 2e 75 73 65 53 79 73 74 65 6d 44 65 66 61 75 6c 74 3a 0a 20 20 | HandlerInfo.useSystemDefault:... |
11a9e0 | 20 20 20 20 20 20 74 68 69 73 2e 65 6c 65 6d 65 6e 74 28 74 68 69 73 2e 5f 70 72 65 66 53 65 6c | ......this.element(this._prefSel |
11aa00 | 65 63 74 65 64 41 63 74 69 6f 6e 29 2e 76 61 6c 75 65 20 3d 20 22 72 65 61 64 65 72 22 3b 0a 20 | ectedAction).value.=."reader";.. |
11aa20 | 20 20 20 20 20 20 20 74 68 69 73 2e 70 72 65 66 65 72 72 65 64 41 70 70 6c 69 63 61 74 69 6f 6e | .......this.preferredApplication |
11aa40 | 48 61 6e 64 6c 65 72 20 3d 20 74 68 69 73 2e 5f 64 65 66 61 75 6c 74 41 70 70 6c 69 63 61 74 69 | Handler.=.this._defaultApplicati |
11aa60 | 6f 6e 48 61 6e 64 6c 65 72 3b 0a 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 7d 0a | onHandler;.........break;.....}. |
11aa80 | 20 20 7d 2c 0a 0a 20 20 67 65 74 20 61 6c 77 61 79 73 41 73 6b 42 65 66 6f 72 65 48 61 6e 64 6c | ..},....get.alwaysAskBeforeHandl |
11aaa0 | 69 6e 67 28 29 20 7b 0a 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 65 6c 65 6d 65 6e 74 28 | ing().{.....return.this.element( |
11aac0 | 74 68 69 73 2e 5f 70 72 65 66 53 65 6c 65 63 74 65 64 41 63 74 69 6f 6e 29 2e 76 61 6c 75 65 20 | this._prefSelectedAction).value. |
11aae0 | 3d 3d 20 22 61 73 6b 22 3b 0a 20 20 7d 2c 0a 0a 20 20 73 65 74 20 61 6c 77 61 79 73 41 73 6b 42 | ==."ask";...},....set.alwaysAskB |
11ab00 | 65 66 6f 72 65 48 61 6e 64 6c 69 6e 67 28 61 4e 65 77 56 61 6c 75 65 29 20 7b 0a 20 20 20 20 69 | eforeHandling(aNewValue).{.....i |
11ab20 | 66 20 28 61 4e 65 77 56 61 6c 75 65 20 3d 3d 20 74 72 75 65 29 0a 20 20 20 20 20 20 74 68 69 73 | f.(aNewValue.==.true).......this |
11ab40 | 2e 65 6c 65 6d 65 6e 74 28 74 68 69 73 2e 5f 70 72 65 66 53 65 6c 65 63 74 65 64 41 63 74 69 6f | .element(this._prefSelectedActio |
11ab60 | 6e 29 2e 76 61 6c 75 65 20 3d 20 22 61 73 6b 22 3b 0a 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 | n).value.=."ask";.....else...... |
11ab80 | 20 74 68 69 73 2e 65 6c 65 6d 65 6e 74 28 74 68 69 73 2e 5f 70 72 65 66 53 65 6c 65 63 74 65 64 | .this.element(this._prefSelected |
11aba0 | 41 63 74 69 6f 6e 29 2e 76 61 6c 75 65 20 3d 20 22 72 65 61 64 65 72 22 3b 0a 20 20 7d 2c 0a 0a | Action).value.=."reader";...},.. |
11abc0 | 20 20 2f 2f 20 57 68 65 74 68 65 72 20 6f 72 20 6e 6f 74 20 77 65 20 61 72 65 20 63 75 72 72 65 | ..//.Whether.or.not.we.are.curre |
11abe0 | 6e 74 6c 79 20 73 74 6f 72 69 6e 67 20 74 68 65 20 61 63 74 69 6f 6e 20 73 65 6c 65 63 74 65 64 | ntly.storing.the.action.selected |
11ac00 | 20 62 79 20 74 68 65 20 75 73 65 72 2e 0a 20 20 2f 2f 20 57 65 20 75 73 65 20 74 68 69 73 20 74 | .by.the.user....//.We.use.this.t |
11ac20 | 6f 20 73 75 70 70 72 65 73 73 20 6e 6f 74 69 66 69 63 61 74 69 6f 6e 2d 74 72 69 67 67 65 72 65 | o.suppress.notification-triggere |
11ac40 | 64 20 75 70 64 61 74 65 73 20 74 6f 20 74 68 65 20 6c 69 73 74 20 77 68 65 6e 0a 20 20 2f 2f 20 | d.updates.to.the.list.when...//. |
11ac60 | 77 65 20 6d 61 6b 65 20 63 68 61 6e 67 65 73 20 74 68 61 74 20 6d 61 79 20 73 70 61 77 6e 20 73 | we.make.changes.that.may.spawn.s |
11ac80 | 75 63 68 20 75 70 64 61 74 65 73 2c 20 73 70 65 63 69 66 69 63 61 6c 6c 79 20 77 68 65 6e 20 77 | uch.updates,.specifically.when.w |
11aca0 | 65 20 63 68 61 6e 67 65 0a 20 20 2f 2f 20 74 68 65 20 61 63 74 69 6f 6e 20 66 6f 72 20 74 68 65 | e.change...//.the.action.for.the |
11acc0 | 20 66 65 65 64 20 74 79 70 65 2c 20 77 68 69 63 68 20 72 65 73 75 6c 74 73 20 69 6e 20 66 65 65 | .feed.type,.which.results.in.fee |
11ace0 | 64 20 70 72 65 66 65 72 65 6e 63 65 20 75 70 64 61 74 65 73 2c 0a 20 20 2f 2f 20 77 68 69 63 68 | d.preference.updates,...//.which |
11ad00 | 20 73 70 61 77 6e 20 22 70 72 65 66 20 63 68 61 6e 67 65 64 22 20 6e 6f 74 69 66 69 63 61 74 69 | .spawn."pref.changed".notificati |
11ad20 | 6f 6e 73 20 74 68 61 74 20 77 6f 75 6c 64 20 6f 74 68 65 72 77 69 73 65 20 63 61 75 73 65 20 75 | ons.that.would.otherwise.cause.u |
11ad40 | 73 0a 20 20 2f 2f 20 74 6f 20 72 65 62 75 69 6c 64 20 74 68 65 20 76 69 65 77 20 75 6e 6e 65 63 | s...//.to.rebuild.the.view.unnec |
11ad60 | 65 73 73 61 72 69 6c 79 2e 0a 20 20 5f 73 74 6f 72 69 6e 67 41 63 74 69 6f 6e 3a 20 66 61 6c 73 | essarily...._storingAction:.fals |
11ad80 | 65 2c 0a 0a 0a 20 20 2f 2f 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a | e,.....//*********************** |
11ada0 | 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a | ******************************** |
11adc0 | 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2f 2f 0a 20 20 2f 2f 20 6e 73 49 4d 49 | *******************//...//.nsIMI |
11ade0 | 4d 45 49 6e 66 6f 0a 0a 20 20 67 65 74 20 70 72 69 6d 61 72 79 45 78 74 65 6e 73 69 6f 6e 28 29 | MEInfo....get.primaryExtension() |
11ae00 | 20 7b 0a 20 20 20 20 72 65 74 75 72 6e 20 22 78 6d 6c 22 3b 0a 20 20 7d 2c 0a 0a 0a 20 20 2f 2f | .{.....return."xml";...},.....// |
11ae20 | 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a | ******************************** |
11ae40 | 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a | ******************************** |
11ae60 | 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2f 2f 0a 20 20 2f 2f 20 53 74 6f 72 61 67 65 0a 0a 20 20 2f 2f 20 | **********//...//.Storage....//. |
11ae80 | 43 68 61 6e 67 65 73 20 74 6f 20 74 68 65 20 70 72 65 66 65 72 72 65 64 20 61 63 74 69 6f 6e 20 | Changes.to.the.preferred.action. |
11aea0 | 61 6e 64 20 68 61 6e 64 6c 65 72 20 74 61 6b 65 20 65 66 66 65 63 74 20 69 6d 6d 65 64 69 61 74 | and.handler.take.effect.immediat |
11aec0 | 65 6c 79 0a 20 20 2f 2f 20 28 77 65 20 77 72 69 74 65 20 74 68 65 6d 20 6f 75 74 20 74 6f 20 74 | ely...//.(we.write.them.out.to.t |
11aee0 | 68 65 20 70 72 65 66 65 72 65 6e 63 65 73 20 72 69 67 68 74 20 61 73 20 74 68 65 79 20 68 61 70 | he.preferences.right.as.they.hap |
11af00 | 70 65 6e 29 2c 0a 20 20 2f 2f 20 73 6f 20 77 65 20 77 68 65 6e 20 74 68 65 20 63 6f 6e 74 72 6f | pen),...//.so.we.when.the.contro |
11af20 | 6c 6c 65 72 20 63 61 6c 6c 73 20 73 74 6f 72 65 28 29 20 61 66 74 65 72 20 6d 6f 64 69 66 79 69 | ller.calls.store().after.modifyi |
11af40 | 6e 67 20 74 68 65 20 68 61 6e 64 6c 65 72 73 2c 0a 20 20 2f 2f 20 74 68 65 20 6f 6e 6c 79 20 74 | ng.the.handlers,...//.the.only.t |
11af60 | 68 69 6e 67 20 77 65 20 6e 65 65 64 20 74 6f 20 73 74 6f 72 65 20 69 73 20 74 68 65 20 72 65 6d | hing.we.need.to.store.is.the.rem |
11af80 | 6f 76 61 6c 20 6f 66 20 70 6f 73 73 69 62 6c 65 20 68 61 6e 64 6c 65 72 73 0a 20 20 2f 2f 20 58 | oval.of.possible.handlers...//.X |
11afa0 | 58 58 20 53 68 6f 75 6c 64 20 77 65 20 68 6f 6c 64 20 6f 66 66 20 6f 6e 20 6d 61 6b 69 6e 67 20 | XX.Should.we.hold.off.on.making. |
11afc0 | 74 68 65 20 63 68 61 6e 67 65 73 20 75 6e 74 69 6c 20 74 68 69 73 20 6d 65 74 68 6f 64 20 67 65 | the.changes.until.this.method.ge |
11afe0 | 74 73 20 63 61 6c 6c 65 64 3f 0a 20 20 73 74 6f 72 65 3a 20 66 75 6e 63 74 69 6f 6e 28 29 20 7b | ts.called?...store:.function().{ |
11b000 | 0a 20 20 20 20 66 6f 72 20 65 61 63 68 20 28 6c 65 74 20 61 70 70 20 69 6e 20 74 68 69 73 2e 5f | .....for.each.(let.app.in.this._ |
11b020 | 70 6f 73 73 69 62 6c 65 41 70 70 6c 69 63 61 74 69 6f 6e 48 61 6e 64 6c 65 72 73 2e 5f 72 65 6d | possibleApplicationHandlers._rem |
11b040 | 6f 76 65 64 29 20 7b 0a 20 20 20 20 20 20 69 66 20 28 61 70 70 20 69 6e 73 74 61 6e 63 65 6f 66 | oved).{.......if.(app.instanceof |
11b060 | 20 43 69 2e 6e 73 49 4c 6f 63 61 6c 48 61 6e 64 6c 65 72 41 70 70 29 20 7b 0a 20 20 20 20 20 20 | .Ci.nsILocalHandlerApp).{....... |
11b080 | 20 20 6c 65 74 20 70 72 65 66 20 3d 20 74 68 69 73 2e 65 6c 65 6d 65 6e 74 28 50 52 45 46 5f 46 | ..let.pref.=.this.element(PREF_F |
11b0a0 | 45 45 44 5f 53 45 4c 45 43 54 45 44 5f 41 50 50 29 3b 0a 20 20 20 20 20 20 20 20 76 61 72 20 70 | EED_SELECTED_APP);.........var.p |
11b0c0 | 72 65 66 65 72 72 65 64 41 70 70 46 69 6c 65 20 3d 20 70 72 65 66 2e 76 61 6c 75 65 3b 0a 20 20 | referredAppFile.=.pref.value;... |
11b0e0 | 20 20 20 20 20 20 69 66 20 28 70 72 65 66 65 72 72 65 64 41 70 70 46 69 6c 65 29 20 7b 0a 20 20 | ......if.(preferredAppFile).{... |
11b100 | 20 20 20 20 20 20 20 20 6c 65 74 20 70 72 65 66 65 72 72 65 64 41 70 70 20 3d 20 67 65 74 4c 6f | ........let.preferredApp.=.getLo |
11b120 | 63 61 6c 48 61 6e 64 6c 65 72 41 70 70 28 70 72 65 66 65 72 72 65 64 41 70 70 46 69 6c 65 29 3b | calHandlerApp(preferredAppFile); |
11b140 | 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 61 70 70 2e 65 71 75 61 6c 73 28 70 72 65 66 65 72 | ...........if.(app.equals(prefer |
11b160 | 72 65 64 41 70 70 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 70 72 65 66 2e 72 65 73 65 74 28 | redApp)).............pref.reset( |
11b180 | 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 65 6c 73 65 20 | );.........}.......}.......else. |
11b1a0 | 7b 0a 20 20 20 20 20 20 20 20 61 70 70 2e 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 28 43 69 2e | {.........app.QueryInterface(Ci. |
11b1c0 | 6e 73 49 57 65 62 43 6f 6e 74 65 6e 74 48 61 6e 64 6c 65 72 49 6e 66 6f 29 3b 0a 20 20 20 20 20 | nsIWebContentHandlerInfo);...... |
11b1e0 | 20 20 20 74 68 69 73 2e 5f 63 6f 6e 76 65 72 74 65 72 53 76 63 2e 72 65 6d 6f 76 65 43 6f 6e 74 | ...this._converterSvc.removeCont |
11b200 | 65 6e 74 48 61 6e 64 6c 65 72 28 61 70 70 2e 63 6f 6e 74 65 6e 74 54 79 70 65 2c 20 61 70 70 2e | entHandler(app.contentType,.app. |
11b220 | 75 72 69 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 20 20 20 20 74 68 69 73 2e 5f 70 6f | uri);.......}.....}.....this._po |
11b240 | 73 73 69 62 6c 65 41 70 70 6c 69 63 61 74 69 6f 6e 48 61 6e 64 6c 65 72 73 2e 5f 72 65 6d 6f 76 | ssibleApplicationHandlers._remov |
11b260 | 65 64 20 3d 20 5b 5d 3b 0a 20 20 7d 2c 0a 0a 0a 20 20 2f 2f 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a | ed.=.[];...},.....//************ |
11b280 | 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a | ******************************** |
11b2a0 | 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2f 2f | ******************************// |
11b2c0 | 0a 20 20 2f 2f 20 49 63 6f 6e 73 0a 0a 20 20 67 65 74 20 73 6d 61 6c 6c 49 63 6f 6e 28 29 20 7b | ...//.Icons....get.smallIcon().{ |
11b2e0 | 0a 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 73 6d 61 6c 6c 49 63 6f 6e 3b 0a 20 20 7d | .....return.this._smallIcon;...} |
11b300 | 2c 0a 0a 20 20 67 65 74 20 6c 61 72 67 65 49 63 6f 6e 28 29 20 7b 0a 20 20 20 20 72 65 74 75 72 | ,....get.largeIcon().{.....retur |
11b320 | 6e 20 74 68 69 73 2e 5f 6c 61 72 67 65 49 63 6f 6e 3b 0a 20 20 7d 0a 0a 7d 3b 0a 0a 76 61 72 20 | n.this._largeIcon;...}..};..var. |
11b340 | 66 65 65 64 48 61 6e 64 6c 65 72 49 6e 66 6f 20 3d 20 7b 0a 20 20 5f 5f 70 72 6f 74 6f 5f 5f 3a | feedHandlerInfo.=.{...__proto__: |
11b360 | 20 6e 65 77 20 46 65 65 64 48 61 6e 64 6c 65 72 49 6e 66 6f 28 54 59 50 45 5f 4d 41 59 42 45 5f | .new.FeedHandlerInfo(TYPE_MAYBE_ |
11b380 | 46 45 45 44 29 2c 0a 20 20 5f 70 72 65 66 53 65 6c 65 63 74 65 64 41 70 70 3a 20 50 52 45 46 5f | FEED),..._prefSelectedApp:.PREF_ |
11b3a0 | 46 45 45 44 5f 53 45 4c 45 43 54 45 44 5f 41 50 50 2c 20 0a 20 20 5f 70 72 65 66 53 65 6c 65 63 | FEED_SELECTED_APP,...._prefSelec |
11b3c0 | 74 65 64 57 65 62 3a 20 50 52 45 46 5f 46 45 45 44 5f 53 45 4c 45 43 54 45 44 5f 57 45 42 2c 20 | tedWeb:.PREF_FEED_SELECTED_WEB,. |
11b3e0 | 0a 20 20 5f 70 72 65 66 53 65 6c 65 63 74 65 64 41 63 74 69 6f 6e 3a 20 50 52 45 46 5f 46 45 45 | ..._prefSelectedAction:.PREF_FEE |
11b400 | 44 5f 53 45 4c 45 43 54 45 44 5f 41 43 54 49 4f 4e 2c 20 0a 20 20 5f 70 72 65 66 53 65 6c 65 63 | D_SELECTED_ACTION,...._prefSelec |
11b420 | 74 65 64 52 65 61 64 65 72 3a 20 50 52 45 46 5f 46 45 45 44 5f 53 45 4c 45 43 54 45 44 5f 52 45 | tedReader:.PREF_FEED_SELECTED_RE |
11b440 | 41 44 45 52 2c 0a 20 20 5f 73 6d 61 6c 6c 49 63 6f 6e 3a 20 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 | ADER,..._smallIcon:."chrome://br |
11b460 | 6f 77 73 65 72 2f 73 6b 69 6e 2f 66 65 65 64 73 2f 66 65 65 64 49 63 6f 6e 31 36 2e 70 6e 67 22 | owser/skin/feeds/feedIcon16.png" |
11b480 | 2c 0a 20 20 5f 6c 61 72 67 65 49 63 6f 6e 3a 20 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 | ,..._largeIcon:."chrome://browse |
11b4a0 | 72 2f 73 6b 69 6e 2f 66 65 65 64 73 2f 66 65 65 64 49 63 6f 6e 2e 70 6e 67 22 2c 0a 20 20 5f 61 | r/skin/feeds/feedIcon.png",..._a |
11b4c0 | 70 70 50 72 65 66 4c 61 62 65 6c 3a 20 22 77 65 62 46 65 65 64 22 0a 7d 0a 0a 76 61 72 20 76 69 | ppPrefLabel:."webFeed".}..var.vi |
11b4e0 | 64 65 6f 46 65 65 64 48 61 6e 64 6c 65 72 49 6e 66 6f 20 3d 20 7b 0a 20 20 5f 5f 70 72 6f 74 6f | deoFeedHandlerInfo.=.{...__proto |
11b500 | 5f 5f 3a 20 6e 65 77 20 46 65 65 64 48 61 6e 64 6c 65 72 49 6e 66 6f 28 54 59 50 45 5f 4d 41 59 | __:.new.FeedHandlerInfo(TYPE_MAY |
11b520 | 42 45 5f 56 49 44 45 4f 5f 46 45 45 44 29 2c 0a 20 20 5f 70 72 65 66 53 65 6c 65 63 74 65 64 41 | BE_VIDEO_FEED),..._prefSelectedA |
11b540 | 70 70 3a 20 50 52 45 46 5f 56 49 44 45 4f 5f 46 45 45 44 5f 53 45 4c 45 43 54 45 44 5f 41 50 50 | pp:.PREF_VIDEO_FEED_SELECTED_APP |
11b560 | 2c 20 0a 20 20 5f 70 72 65 66 53 65 6c 65 63 74 65 64 57 65 62 3a 20 50 52 45 46 5f 56 49 44 45 | ,...._prefSelectedWeb:.PREF_VIDE |
11b580 | 4f 5f 46 45 45 44 5f 53 45 4c 45 43 54 45 44 5f 57 45 42 2c 20 0a 20 20 5f 70 72 65 66 53 65 6c | O_FEED_SELECTED_WEB,...._prefSel |
11b5a0 | 65 63 74 65 64 41 63 74 69 6f 6e 3a 20 50 52 45 46 5f 56 49 44 45 4f 5f 46 45 45 44 5f 53 45 4c | ectedAction:.PREF_VIDEO_FEED_SEL |
11b5c0 | 45 43 54 45 44 5f 41 43 54 49 4f 4e 2c 20 0a 20 20 5f 70 72 65 66 53 65 6c 65 63 74 65 64 52 65 | ECTED_ACTION,...._prefSelectedRe |
11b5e0 | 61 64 65 72 3a 20 50 52 45 46 5f 56 49 44 45 4f 5f 46 45 45 44 5f 53 45 4c 45 43 54 45 44 5f 52 | ader:.PREF_VIDEO_FEED_SELECTED_R |
11b600 | 45 41 44 45 52 2c 0a 20 20 5f 73 6d 61 6c 6c 49 63 6f 6e 3a 20 22 63 68 72 6f 6d 65 3a 2f 2f 62 | EADER,..._smallIcon:."chrome://b |
11b620 | 72 6f 77 73 65 72 2f 73 6b 69 6e 2f 66 65 65 64 73 2f 76 69 64 65 6f 46 65 65 64 49 63 6f 6e 31 | rowser/skin/feeds/videoFeedIcon1 |
11b640 | 36 2e 70 6e 67 22 2c 0a 20 20 5f 6c 61 72 67 65 49 63 6f 6e 3a 20 22 63 68 72 6f 6d 65 3a 2f 2f | 6.png",..._largeIcon:."chrome:// |
11b660 | 62 72 6f 77 73 65 72 2f 73 6b 69 6e 2f 66 65 65 64 73 2f 76 69 64 65 6f 46 65 65 64 49 63 6f 6e | browser/skin/feeds/videoFeedIcon |
11b680 | 2e 70 6e 67 22 2c 0a 20 20 5f 61 70 70 50 72 65 66 4c 61 62 65 6c 3a 20 22 76 69 64 65 6f 50 6f | .png",..._appPrefLabel:."videoPo |
11b6a0 | 64 63 61 73 74 46 65 65 64 22 0a 7d 0a 0a 76 61 72 20 61 75 64 69 6f 46 65 65 64 48 61 6e 64 6c | dcastFeed".}..var.audioFeedHandl |
11b6c0 | 65 72 49 6e 66 6f 20 3d 20 7b 0a 20 20 5f 5f 70 72 6f 74 6f 5f 5f 3a 20 6e 65 77 20 46 65 65 64 | erInfo.=.{...__proto__:.new.Feed |
11b6e0 | 48 61 6e 64 6c 65 72 49 6e 66 6f 28 54 59 50 45 5f 4d 41 59 42 45 5f 41 55 44 49 4f 5f 46 45 45 | HandlerInfo(TYPE_MAYBE_AUDIO_FEE |
11b700 | 44 29 2c 0a 20 20 5f 70 72 65 66 53 65 6c 65 63 74 65 64 41 70 70 3a 20 50 52 45 46 5f 41 55 44 | D),..._prefSelectedApp:.PREF_AUD |
11b720 | 49 4f 5f 46 45 45 44 5f 53 45 4c 45 43 54 45 44 5f 41 50 50 2c 20 0a 20 20 5f 70 72 65 66 53 65 | IO_FEED_SELECTED_APP,...._prefSe |
11b740 | 6c 65 63 74 65 64 57 65 62 3a 20 50 52 45 46 5f 41 55 44 49 4f 5f 46 45 45 44 5f 53 45 4c 45 43 | lectedWeb:.PREF_AUDIO_FEED_SELEC |
11b760 | 54 45 44 5f 57 45 42 2c 20 0a 20 20 5f 70 72 65 66 53 65 6c 65 63 74 65 64 41 63 74 69 6f 6e 3a | TED_WEB,...._prefSelectedAction: |
11b780 | 20 50 52 45 46 5f 41 55 44 49 4f 5f 46 45 45 44 5f 53 45 4c 45 43 54 45 44 5f 41 43 54 49 4f 4e | .PREF_AUDIO_FEED_SELECTED_ACTION |
11b7a0 | 2c 20 0a 20 20 5f 70 72 65 66 53 65 6c 65 63 74 65 64 52 65 61 64 65 72 3a 20 50 52 45 46 5f 41 | ,...._prefSelectedReader:.PREF_A |
11b7c0 | 55 44 49 4f 5f 46 45 45 44 5f 53 45 4c 45 43 54 45 44 5f 52 45 41 44 45 52 2c 0a 20 20 5f 73 6d | UDIO_FEED_SELECTED_READER,..._sm |
11b7e0 | 61 6c 6c 49 63 6f 6e 3a 20 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 73 6b 69 6e 2f | allIcon:."chrome://browser/skin/ |
11b800 | 66 65 65 64 73 2f 61 75 64 69 6f 46 65 65 64 49 63 6f 6e 31 36 2e 70 6e 67 22 2c 0a 20 20 5f 6c | feeds/audioFeedIcon16.png",..._l |
11b820 | 61 72 67 65 49 63 6f 6e 3a 20 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 73 6b 69 6e | argeIcon:."chrome://browser/skin |
11b840 | 2f 66 65 65 64 73 2f 61 75 64 69 6f 46 65 65 64 49 63 6f 6e 2e 70 6e 67 22 2c 0a 20 20 5f 61 70 | /feeds/audioFeedIcon.png",..._ap |
11b860 | 70 50 72 65 66 4c 61 62 65 6c 3a 20 22 61 75 64 69 6f 50 6f 64 63 61 73 74 46 65 65 64 22 0a 7d | pPrefLabel:."audioPodcastFeed".} |
11b880 | 0a 0a 0a 2f 2f 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a | ...//*************************** |
11b8a0 | 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a | ******************************** |
11b8c0 | 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2f 2f 0a 2f 2f 20 50 72 65 66 70 61 6e 65 20 | *****************//.//.Prefpane. |
11b8e0 | 43 6f 6e 74 72 6f 6c 6c 65 72 0a 0a 76 61 72 20 67 41 70 70 6c 69 63 61 74 69 6f 6e 73 50 61 6e | Controller..var.gApplicationsPan |
11b900 | 65 20 3d 20 7b 0a 20 20 2f 2f 20 54 68 65 20 73 65 74 20 6f 66 20 74 79 70 65 73 20 74 68 65 20 | e.=.{...//.The.set.of.types.the. |
11b920 | 61 70 70 20 6b 6e 6f 77 73 20 68 6f 77 20 74 6f 20 68 61 6e 64 6c 65 2e 20 20 41 20 68 61 73 68 | app.knows.how.to.handle...A.hash |
11b940 | 20 6f 66 20 48 61 6e 64 6c 65 72 49 6e 66 6f 57 72 61 70 70 65 72 0a 20 20 2f 2f 20 6f 62 6a 65 | .of.HandlerInfoWrapper...//.obje |
11b960 | 63 74 73 2c 20 69 6e 64 65 78 65 64 20 62 79 20 74 79 70 65 2e 0a 20 20 5f 68 61 6e 64 6c 65 64 | cts,.indexed.by.type...._handled |
11b980 | 54 79 70 65 73 3a 20 7b 7d 2c 0a 20 20 0a 20 20 2f 2f 20 54 68 65 20 6c 69 73 74 20 6f 66 20 74 | Types:.{},......//.The.list.of.t |
11b9a0 | 79 70 65 73 20 77 65 20 63 61 6e 20 73 68 6f 77 2c 20 73 6f 72 74 65 64 20 62 79 20 74 68 65 20 | ypes.we.can.show,.sorted.by.the. |
11b9c0 | 73 6f 72 74 20 63 6f 6c 75 6d 6e 2f 64 69 72 65 63 74 69 6f 6e 2e 0a 20 20 2f 2f 20 41 6e 20 61 | sort.column/direction....//.An.a |
11b9e0 | 72 72 61 79 20 6f 66 20 48 61 6e 64 6c 65 72 49 6e 66 6f 57 72 61 70 70 65 72 20 6f 62 6a 65 63 | rray.of.HandlerInfoWrapper.objec |
11ba00 | 74 73 2e 20 20 57 65 20 62 75 69 6c 64 20 74 68 69 73 20 6c 69 73 74 20 77 68 65 6e 20 77 65 20 | ts...We.build.this.list.when.we. |
11ba20 | 66 69 72 73 74 0a 20 20 2f 2f 20 6c 6f 61 64 20 74 68 65 20 64 61 74 61 20 61 6e 64 20 74 68 65 | first...//.load.the.data.and.the |
11ba40 | 6e 20 72 65 62 75 69 6c 64 20 69 74 20 77 68 65 6e 20 75 73 65 72 73 20 63 68 61 6e 67 65 20 61 | n.rebuild.it.when.users.change.a |
11ba60 | 20 70 72 65 66 20 74 68 61 74 20 61 66 66 65 63 74 73 0a 20 20 2f 2f 20 77 68 61 74 20 74 79 70 | .pref.that.affects...//.what.typ |
11ba80 | 65 73 20 77 65 20 63 61 6e 20 73 68 6f 77 20 6f 72 20 63 68 61 6e 67 65 20 74 68 65 20 73 6f 72 | es.we.can.show.or.change.the.sor |
11baa0 | 74 20 63 6f 6c 75 6d 6e 2f 64 69 72 65 63 74 69 6f 6e 2e 0a 20 20 2f 2f 20 4e 6f 74 65 3a 20 74 | t.column/direction....//.Note:.t |
11bac0 | 68 69 73 20 69 73 6e 27 74 20 6e 65 63 65 73 73 61 72 69 6c 79 20 74 68 65 20 6c 69 73 74 20 6f | his.isn't.necessarily.the.list.o |
11bae0 | 66 20 74 79 70 65 73 20 77 65 20 2a 77 69 6c 6c 2a 20 73 68 6f 77 3b 20 69 66 20 74 68 65 20 75 | f.types.we.*will*.show;.if.the.u |
11bb00 | 73 65 72 0a 20 20 2f 2f 20 70 72 6f 76 69 64 65 73 20 61 20 66 69 6c 74 65 72 20 73 74 72 69 6e | ser...//.provides.a.filter.strin |
11bb20 | 67 2c 20 77 65 27 6c 6c 20 6f 6e 6c 79 20 73 68 6f 77 20 74 68 65 20 73 75 62 73 65 74 20 6f 66 | g,.we'll.only.show.the.subset.of |
11bb40 | 20 74 79 70 65 73 20 69 6e 20 74 68 69 73 20 6c 69 73 74 0a 20 20 2f 2f 20 74 68 61 74 20 6d 61 | .types.in.this.list...//.that.ma |
11bb60 | 74 63 68 20 74 68 61 74 20 73 74 72 69 6e 67 2e 0a 20 20 5f 76 69 73 69 62 6c 65 54 79 70 65 73 | tch.that.string...._visibleTypes |
11bb80 | 3a 20 5b 5d 2c 0a 0a 20 20 2f 2f 20 41 20 63 6f 75 6e 74 20 6f 66 20 74 68 65 20 6e 75 6d 62 65 | :.[],....//.A.count.of.the.numbe |
11bba0 | 72 20 6f 66 20 74 69 6d 65 73 20 65 61 63 68 20 76 69 73 69 62 6c 65 20 74 79 70 65 20 64 65 73 | r.of.times.each.visible.type.des |
11bbc0 | 63 72 69 70 74 69 6f 6e 20 61 70 70 65 61 72 73 2e 0a 20 20 2f 2f 20 57 65 20 75 73 65 20 74 68 | cription.appears....//.We.use.th |
11bbe0 | 65 73 65 20 63 6f 75 6e 74 73 20 74 6f 20 64 65 74 65 72 6d 69 6e 65 20 77 68 65 74 68 65 72 20 | ese.counts.to.determine.whether. |
11bc00 | 6f 72 20 6e 6f 74 20 74 6f 20 61 6e 6e 6f 74 61 74 65 20 64 65 73 63 72 69 70 74 69 6f 6e 73 0a | or.not.to.annotate.descriptions. |
11bc20 | 20 20 2f 2f 20 77 69 74 68 20 74 68 65 69 72 20 74 79 70 65 73 20 74 6f 20 64 69 73 74 69 6e 67 | ..//.with.their.types.to.disting |
11bc40 | 75 69 73 68 20 64 75 70 6c 69 63 61 74 65 20 64 65 73 63 72 69 70 74 69 6f 6e 73 20 66 72 6f 6d | uish.duplicate.descriptions.from |
11bc60 | 20 65 61 63 68 20 6f 74 68 65 72 2e 0a 20 20 2f 2f 20 41 20 68 61 73 68 20 6f 66 20 69 6e 74 65 | .each.other....//.A.hash.of.inte |
11bc80 | 67 65 72 20 63 6f 75 6e 74 73 2c 20 69 6e 64 65 78 65 64 20 62 79 20 73 74 72 69 6e 67 20 64 65 | ger.counts,.indexed.by.string.de |
11bca0 | 73 63 72 69 70 74 69 6f 6e 2e 0a 20 20 5f 76 69 73 69 62 6c 65 54 79 70 65 44 65 73 63 72 69 70 | scription...._visibleTypeDescrip |
11bcc0 | 74 69 6f 6e 43 6f 75 6e 74 3a 20 7b 7d 2c 0a 0a 0a 20 20 2f 2f 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a | tionCount:.{},.....//*********** |
11bce0 | 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a | ******************************** |
11bd00 | 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2f | *******************************/ |
11bd20 | 2f 0a 20 20 2f 2f 20 43 6f 6e 76 65 6e 69 65 6e 63 65 20 26 20 50 65 72 66 6f 72 6d 61 6e 63 65 | /...//.Convenience.&.Performance |
11bd40 | 20 53 68 6f 72 74 63 75 74 73 0a 0a 20 20 2f 2f 20 54 68 65 73 65 20 67 65 74 20 64 65 66 69 6e | .Shortcuts....//.These.get.defin |
11bd60 | 65 64 20 62 79 20 69 6e 69 74 28 29 2e 0a 20 20 5f 62 72 61 6e 64 53 68 6f 72 74 4e 61 6d 65 20 | ed.by.init()...._brandShortName. |
11bd80 | 3a 20 6e 75 6c 6c 2c 0a 20 20 5f 70 72 65 66 73 42 75 6e 64 6c 65 20 20 20 20 3a 20 6e 75 6c 6c | :.null,..._prefsBundle....:.null |
11bda0 | 2c 0a 20 20 5f 6c 69 73 74 20 20 20 20 20 20 20 20 20 20 20 3a 20 6e 75 6c 6c 2c 0a 20 20 5f 66 | ,..._list...........:.null,..._f |
11bdc0 | 69 6c 74 65 72 20 20 20 20 20 20 20 20 20 3a 20 6e 75 6c 6c 2c 0a 0a 20 20 2f 2f 20 52 65 74 72 | ilter.........:.null,....//.Retr |
11bde0 | 69 65 76 65 20 74 68 69 73 20 61 73 20 6e 73 49 50 72 65 66 42 72 61 6e 63 68 20 61 6e 64 20 74 | ieve.this.as.nsIPrefBranch.and.t |
11be00 | 68 65 6e 20 69 6d 6d 65 64 69 61 74 65 6c 79 20 51 49 20 74 6f 20 6e 73 49 50 72 65 66 42 72 61 | hen.immediately.QI.to.nsIPrefBra |
11be20 | 6e 63 68 32 0a 20 20 2f 2f 20 73 6f 20 62 6f 74 68 20 69 6e 74 65 72 66 61 63 65 73 20 61 72 65 | nch2...//.so.both.interfaces.are |
11be40 | 20 61 76 61 69 6c 61 62 6c 65 20 74 6f 20 63 61 6c 6c 65 72 73 2e 0a 20 20 5f 70 72 65 66 53 76 | .available.to.callers...._prefSv |
11be60 | 63 20 20 20 20 20 20 3a 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 70 72 65 66 65 72 | c......:.Cc["@mozilla.org/prefer |
11be80 | 65 6e 63 65 73 2d 73 65 72 76 69 63 65 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ences-service;1"]............... |
11bea0 | 20 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 50 72 65 66 42 72 61 6e 63 68 | .....getService(Ci.nsIPrefBranch |
11bec0 | 29 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 51 75 65 72 79 49 6e 74 65 72 66 | )....................QueryInterf |
11bee0 | 61 63 65 28 43 69 2e 6e 73 49 50 72 65 66 42 72 61 6e 63 68 32 29 2c 0a 0a 20 20 5f 6d 69 6d 65 | ace(Ci.nsIPrefBranch2),...._mime |
11bf00 | 53 76 63 20 20 20 20 20 20 3a 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6d 69 6d 65 | Svc......:.Cc["@mozilla.org/mime |
11bf20 | 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 53 65 72 76 69 | ;1"]....................getServi |
11bf40 | 63 65 28 43 69 2e 6e 73 49 4d 49 4d 45 53 65 72 76 69 63 65 29 2c 0a 0a 20 20 5f 68 65 6c 70 65 | ce(Ci.nsIMIMEService),...._helpe |
11bf60 | 72 41 70 70 53 76 63 20 3a 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 75 72 69 6c 6f | rAppSvc.:.Cc["@mozilla.org/urilo |
11bf80 | 61 64 65 72 2f 65 78 74 65 72 6e 61 6c 2d 68 65 6c 70 65 72 2d 61 70 70 2d 73 65 72 76 69 63 65 | ader/external-helper-app-service |
11bfa0 | 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 53 65 72 76 69 | ;1"]....................getServi |
11bfc0 | 63 65 28 43 69 2e 6e 73 49 45 78 74 65 72 6e 61 6c 48 65 6c 70 65 72 41 70 70 53 65 72 76 69 63 | ce(Ci.nsIExternalHelperAppServic |
11bfe0 | 65 29 2c 0a 0a 20 20 5f 68 61 6e 64 6c 65 72 53 76 63 20 20 20 3a 20 43 63 5b 22 40 6d 6f 7a 69 | e),...._handlerSvc...:.Cc["@mozi |
11c000 | 6c 6c 61 2e 6f 72 67 2f 75 72 69 6c 6f 61 64 65 72 2f 68 61 6e 64 6c 65 72 2d 73 65 72 76 69 63 | lla.org/uriloader/handler-servic |
11c020 | 65 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 53 65 72 76 | e;1"]....................getServ |
11c040 | 69 63 65 28 43 69 2e 6e 73 49 48 61 6e 64 6c 65 72 53 65 72 76 69 63 65 29 2c 0a 0a 20 20 5f 69 | ice(Ci.nsIHandlerService),...._i |
11c060 | 6f 53 76 63 20 20 20 20 20 20 20 20 3a 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6e | oSvc........:.Cc["@mozilla.org/n |
11c080 | 65 74 77 6f 72 6b 2f 69 6f 2d 73 65 72 76 69 63 65 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 | etwork/io-service;1"]........... |
11c0a0 | 20 20 20 20 20 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 49 4f 53 65 72 76 | .........getService(Ci.nsIIOServ |
11c0c0 | 69 63 65 29 2c 0a 0a 0a 20 20 2f 2f 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a | ice),.....//******************** |
11c0e0 | 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a | ******************************** |
11c100 | 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2f 2f 0a 20 20 2f 2f 20 49 6e | **********************//...//.In |
11c120 | 69 74 69 61 6c 69 7a 61 74 69 6f 6e 20 26 20 44 65 73 74 72 75 63 74 69 6f 6e 0a 0a 20 20 69 6e | itialization.&.Destruction....in |
11c140 | 69 74 3a 20 66 75 6e 63 74 69 6f 6e 28 29 20 7b 0a 20 20 20 20 2f 2f 20 49 6e 69 74 69 61 6c 69 | it:.function().{.....//.Initiali |
11c160 | 7a 65 20 73 68 6f 72 74 63 75 74 73 20 74 6f 20 73 6f 6d 65 20 63 6f 6d 6d 6f 6e 6c 79 20 61 63 | ze.shortcuts.to.some.commonly.ac |
11c180 | 63 65 73 73 65 64 20 65 6c 65 6d 65 6e 74 73 20 26 20 76 61 6c 75 65 73 2e 0a 20 20 20 20 74 68 | cessed.elements.&.values......th |
11c1a0 | 69 73 2e 5f 62 72 61 6e 64 53 68 6f 72 74 4e 61 6d 65 20 3d 0a 20 20 20 20 20 20 64 6f 63 75 6d | is._brandShortName.=.......docum |
11c1c0 | 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 62 75 6e 64 6c 65 42 72 61 6e 64 22 | ent.getElementById("bundleBrand" |
11c1e0 | 29 2e 67 65 74 53 74 72 69 6e 67 28 22 62 72 61 6e 64 53 68 6f 72 74 4e 61 6d 65 22 29 3b 0a 20 | ).getString("brandShortName");.. |
11c200 | 20 20 20 74 68 69 73 2e 5f 70 72 65 66 73 42 75 6e 64 6c 65 20 3d 20 64 6f 63 75 6d 65 6e 74 2e | ...this._prefsBundle.=.document. |
11c220 | 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 62 75 6e 64 6c 65 50 72 65 66 65 72 65 6e 63 65 | getElementById("bundlePreference |
11c240 | 73 22 29 3b 0a 20 20 20 20 74 68 69 73 2e 5f 6c 69 73 74 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 | s");.....this._list.=.document.g |
11c260 | 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 68 61 6e 64 6c 65 72 73 56 69 65 77 22 29 3b 0a 20 | etElementById("handlersView");.. |
11c280 | 20 20 20 74 68 69 73 2e 5f 66 69 6c 74 65 72 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c | ...this._filter.=.document.getEl |
11c2a0 | 65 6d 65 6e 74 42 79 49 64 28 22 66 69 6c 74 65 72 22 29 3b 0a 0a 20 20 20 20 2f 2f 20 4f 62 73 | ementById("filter");......//.Obs |
11c2c0 | 65 72 76 65 20 70 72 65 66 65 72 65 6e 63 65 73 20 74 68 61 74 20 69 6e 66 6c 75 65 6e 63 65 20 | erve.preferences.that.influence. |
11c2e0 | 77 68 61 74 20 77 65 20 64 69 73 70 6c 61 79 20 73 6f 20 77 65 20 63 61 6e 20 72 65 62 75 69 6c | what.we.display.so.we.can.rebuil |
11c300 | 64 0a 20 20 20 20 2f 2f 20 74 68 65 20 76 69 65 77 20 77 68 65 6e 20 74 68 65 79 20 63 68 61 6e | d.....//.the.view.when.they.chan |
11c320 | 67 65 2e 0a 20 20 20 20 74 68 69 73 2e 5f 70 72 65 66 53 76 63 2e 61 64 64 4f 62 73 65 72 76 65 | ge......this._prefSvc.addObserve |
11c340 | 72 28 50 52 45 46 5f 53 48 4f 57 5f 50 4c 55 47 49 4e 53 5f 49 4e 5f 4c 49 53 54 2c 20 74 68 69 | r(PREF_SHOW_PLUGINS_IN_LIST,.thi |
11c360 | 73 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 20 74 68 69 73 2e 5f 70 72 65 66 53 76 63 2e 61 64 64 | s,.false);.....this._prefSvc.add |
11c380 | 4f 62 73 65 72 76 65 72 28 50 52 45 46 5f 48 49 44 45 5f 50 4c 55 47 49 4e 53 5f 57 49 54 48 4f | Observer(PREF_HIDE_PLUGINS_WITHO |
11c3a0 | 55 54 5f 45 58 54 45 4e 53 49 4f 4e 53 2c 20 74 68 69 73 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 | UT_EXTENSIONS,.this,.false);.... |
11c3c0 | 20 74 68 69 73 2e 5f 70 72 65 66 53 76 63 2e 61 64 64 4f 62 73 65 72 76 65 72 28 50 52 45 46 5f | .this._prefSvc.addObserver(PREF_ |
11c3e0 | 46 45 45 44 5f 53 45 4c 45 43 54 45 44 5f 41 50 50 2c 20 74 68 69 73 2c 20 66 61 6c 73 65 29 3b | FEED_SELECTED_APP,.this,.false); |
11c400 | 0a 20 20 20 20 74 68 69 73 2e 5f 70 72 65 66 53 76 63 2e 61 64 64 4f 62 73 65 72 76 65 72 28 50 | .....this._prefSvc.addObserver(P |
11c420 | 52 45 46 5f 46 45 45 44 5f 53 45 4c 45 43 54 45 44 5f 57 45 42 2c 20 74 68 69 73 2c 20 66 61 6c | REF_FEED_SELECTED_WEB,.this,.fal |
11c440 | 73 65 29 3b 0a 20 20 20 20 74 68 69 73 2e 5f 70 72 65 66 53 76 63 2e 61 64 64 4f 62 73 65 72 76 | se);.....this._prefSvc.addObserv |
11c460 | 65 72 28 50 52 45 46 5f 46 45 45 44 5f 53 45 4c 45 43 54 45 44 5f 41 43 54 49 4f 4e 2c 20 74 68 | er(PREF_FEED_SELECTED_ACTION,.th |
11c480 | 69 73 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 20 74 68 69 73 2e 5f 70 72 65 66 53 76 63 2e 61 64 | is,.false);.....this._prefSvc.ad |
11c4a0 | 64 4f 62 73 65 72 76 65 72 28 50 52 45 46 5f 46 45 45 44 5f 53 45 4c 45 43 54 45 44 5f 52 45 41 | dObserver(PREF_FEED_SELECTED_REA |
11c4c0 | 44 45 52 2c 20 74 68 69 73 2c 20 66 61 6c 73 65 29 3b 0a 0a 20 20 20 20 74 68 69 73 2e 5f 70 72 | DER,.this,.false);......this._pr |
11c4e0 | 65 66 53 76 63 2e 61 64 64 4f 62 73 65 72 76 65 72 28 50 52 45 46 5f 56 49 44 45 4f 5f 46 45 45 | efSvc.addObserver(PREF_VIDEO_FEE |
11c500 | 44 5f 53 45 4c 45 43 54 45 44 5f 41 50 50 2c 20 74 68 69 73 2c 20 66 61 6c 73 65 29 3b 0a 20 20 | D_SELECTED_APP,.this,.false);... |
11c520 | 20 20 74 68 69 73 2e 5f 70 72 65 66 53 76 63 2e 61 64 64 4f 62 73 65 72 76 65 72 28 50 52 45 46 | ..this._prefSvc.addObserver(PREF |
11c540 | 5f 56 49 44 45 4f 5f 46 45 45 44 5f 53 45 4c 45 43 54 45 44 5f 57 45 42 2c 20 74 68 69 73 2c 20 | _VIDEO_FEED_SELECTED_WEB,.this,. |
11c560 | 66 61 6c 73 65 29 3b 0a 20 20 20 20 74 68 69 73 2e 5f 70 72 65 66 53 76 63 2e 61 64 64 4f 62 73 | false);.....this._prefSvc.addObs |
11c580 | 65 72 76 65 72 28 50 52 45 46 5f 56 49 44 45 4f 5f 46 45 45 44 5f 53 45 4c 45 43 54 45 44 5f 41 | erver(PREF_VIDEO_FEED_SELECTED_A |
11c5a0 | 43 54 49 4f 4e 2c 20 74 68 69 73 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 20 74 68 69 73 2e 5f 70 | CTION,.this,.false);.....this._p |
11c5c0 | 72 65 66 53 76 63 2e 61 64 64 4f 62 73 65 72 76 65 72 28 50 52 45 46 5f 56 49 44 45 4f 5f 46 45 | refSvc.addObserver(PREF_VIDEO_FE |
11c5e0 | 45 44 5f 53 45 4c 45 43 54 45 44 5f 52 45 41 44 45 52 2c 20 74 68 69 73 2c 20 66 61 6c 73 65 29 | ED_SELECTED_READER,.this,.false) |
11c600 | 3b 0a 0a 20 20 20 20 74 68 69 73 2e 5f 70 72 65 66 53 76 63 2e 61 64 64 4f 62 73 65 72 76 65 72 | ;......this._prefSvc.addObserver |
11c620 | 28 50 52 45 46 5f 41 55 44 49 4f 5f 46 45 45 44 5f 53 45 4c 45 43 54 45 44 5f 41 50 50 2c 20 74 | (PREF_AUDIO_FEED_SELECTED_APP,.t |
11c640 | 68 69 73 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 20 74 68 69 73 2e 5f 70 72 65 66 53 76 63 2e 61 | his,.false);.....this._prefSvc.a |
11c660 | 64 64 4f 62 73 65 72 76 65 72 28 50 52 45 46 5f 41 55 44 49 4f 5f 46 45 45 44 5f 53 45 4c 45 43 | ddObserver(PREF_AUDIO_FEED_SELEC |
11c680 | 54 45 44 5f 57 45 42 2c 20 74 68 69 73 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 20 74 68 69 73 2e | TED_WEB,.this,.false);.....this. |
11c6a0 | 5f 70 72 65 66 53 76 63 2e 61 64 64 4f 62 73 65 72 76 65 72 28 50 52 45 46 5f 41 55 44 49 4f 5f | _prefSvc.addObserver(PREF_AUDIO_ |
11c6c0 | 46 45 45 44 5f 53 45 4c 45 43 54 45 44 5f 41 43 54 49 4f 4e 2c 20 74 68 69 73 2c 20 66 61 6c 73 | FEED_SELECTED_ACTION,.this,.fals |
11c6e0 | 65 29 3b 0a 20 20 20 20 74 68 69 73 2e 5f 70 72 65 66 53 76 63 2e 61 64 64 4f 62 73 65 72 76 65 | e);.....this._prefSvc.addObserve |
11c700 | 72 28 50 52 45 46 5f 41 55 44 49 4f 5f 46 45 45 44 5f 53 45 4c 45 43 54 45 44 5f 52 45 41 44 45 | r(PREF_AUDIO_FEED_SELECTED_READE |
11c720 | 52 2c 20 74 68 69 73 2c 20 66 61 6c 73 65 29 3b 0a 0a 0a 20 20 20 20 2f 2f 20 4c 69 73 74 65 6e | R,.this,.false);.......//.Listen |
11c740 | 20 66 6f 72 20 77 69 6e 64 6f 77 20 75 6e 6c 6f 61 64 20 73 6f 20 77 65 20 63 61 6e 20 72 65 6d | .for.window.unload.so.we.can.rem |
11c760 | 6f 76 65 20 6f 75 72 20 70 72 65 66 65 72 65 6e 63 65 20 6f 62 73 65 72 76 65 72 73 2e 0a 20 20 | ove.our.preference.observers.... |
11c780 | 20 20 77 69 6e 64 6f 77 2e 61 64 64 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 28 22 75 6e 6c 6f 61 | ..window.addEventListener("unloa |
11c7a0 | 64 22 2c 20 74 68 69 73 2c 20 66 61 6c 73 65 29 3b 0a 0a 20 20 20 20 2f 2f 20 46 69 67 75 72 65 | d",.this,.false);......//.Figure |
11c7c0 | 20 6f 75 74 20 68 6f 77 20 77 65 20 73 68 6f 75 6c 64 20 62 65 20 73 6f 72 74 69 6e 67 20 74 68 | .out.how.we.should.be.sorting.th |
11c7e0 | 65 20 6c 69 73 74 2e 20 20 57 65 20 70 65 72 73 69 73 74 20 73 6f 72 74 20 73 65 74 74 69 6e 67 | e.list...We.persist.sort.setting |
11c800 | 73 0a 20 20 20 20 2f 2f 20 61 63 72 6f 73 73 20 73 65 73 73 69 6f 6e 73 2c 20 73 6f 20 77 65 20 | s.....//.across.sessions,.so.we. |
11c820 | 63 61 6e 27 74 20 61 73 73 75 6d 65 20 74 68 65 20 64 65 66 61 75 6c 74 20 73 6f 72 74 20 63 6f | can't.assume.the.default.sort.co |
11c840 | 6c 75 6d 6e 2f 64 69 72 65 63 74 69 6f 6e 2e 0a 20 20 20 20 2f 2f 20 58 58 58 20 73 68 6f 75 6c | lumn/direction......//.XXX.shoul |
11c860 | 64 20 77 65 20 62 65 20 75 73 69 6e 67 20 74 68 65 20 58 55 4c 20 73 6f 72 74 20 73 65 72 76 69 | d.we.be.using.the.XUL.sort.servi |
11c880 | 63 65 20 69 6e 73 74 65 61 64 3f 0a 20 20 20 20 69 66 20 28 64 6f 63 75 6d 65 6e 74 2e 67 65 74 | ce.instead?.....if.(document.get |
11c8a0 | 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 61 63 74 69 6f 6e 43 6f 6c 75 6d 6e 22 29 2e 68 61 73 41 | ElementById("actionColumn").hasA |
11c8c0 | 74 74 72 69 62 75 74 65 28 22 73 6f 72 74 44 69 72 65 63 74 69 6f 6e 22 29 29 20 7b 0a 20 20 20 | ttribute("sortDirection")).{.... |
11c8e0 | 20 20 20 74 68 69 73 2e 5f 73 6f 72 74 43 6f 6c 75 6d 6e 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 | ...this._sortColumn.=.document.g |
11c900 | 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 61 63 74 69 6f 6e 43 6f 6c 75 6d 6e 22 29 3b 0a 20 | etElementById("actionColumn");.. |
11c920 | 20 20 20 20 20 2f 2f 20 54 68 65 20 74 79 70 65 43 6f 6c 75 6d 6e 20 65 6c 65 6d 65 6e 74 20 61 | .....//.The.typeColumn.element.a |
11c940 | 6c 77 61 79 73 20 68 61 73 20 61 20 73 6f 72 74 44 69 72 65 63 74 69 6f 6e 20 61 74 74 72 69 62 | lways.has.a.sortDirection.attrib |
11c960 | 75 74 65 2c 0a 20 20 20 20 20 20 2f 2f 20 65 69 74 68 65 72 20 62 65 63 61 75 73 65 20 69 74 20 | ute,.......//.either.because.it. |
11c980 | 77 61 73 20 70 65 72 73 69 73 74 65 64 20 6f 72 20 62 65 63 61 75 73 65 20 74 68 65 20 64 65 66 | was.persisted.or.because.the.def |
11c9a0 | 61 75 6c 74 20 76 61 6c 75 65 0a 20 20 20 20 20 20 2f 2f 20 66 72 6f 6d 20 74 68 65 20 78 75 6c | ault.value.......//.from.the.xul |
11c9c0 | 20 66 69 6c 65 20 77 61 73 20 75 73 65 64 2e 20 20 49 66 20 77 65 20 61 72 65 20 73 6f 72 74 69 | .file.was.used...If.we.are.sorti |
11c9e0 | 6e 67 20 6f 6e 20 74 68 65 20 6f 74 68 65 72 0a 20 20 20 20 20 20 2f 2f 20 63 6f 6c 75 6d 6e 2c | ng.on.the.other.......//.column, |
11ca00 | 20 77 65 20 73 68 6f 75 6c 64 20 72 65 6d 6f 76 65 20 69 74 2e 0a 20 20 20 20 20 20 64 6f 63 75 | .we.should.remove.it........docu |
11ca20 | 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 74 79 70 65 43 6f 6c 75 6d 6e 22 | ment.getElementById("typeColumn" |
11ca40 | 29 2e 72 65 6d 6f 76 65 41 74 74 72 69 62 75 74 65 28 22 73 6f 72 74 44 69 72 65 63 74 69 6f 6e | ).removeAttribute("sortDirection |
11ca60 | 22 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 65 6c 73 65 20 0a 20 20 20 20 20 20 74 68 69 73 2e 5f | ");.....}.....else........this._ |
11ca80 | 73 6f 72 74 43 6f 6c 75 6d 6e 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 | sortColumn.=.document.getElement |
11caa0 | 42 79 49 64 28 22 74 79 70 65 43 6f 6c 75 6d 6e 22 29 3b 0a 0a 20 20 20 20 2f 2f 20 4c 6f 61 64 | ById("typeColumn");......//.Load |
11cac0 | 20 74 68 65 20 64 61 74 61 20 61 6e 64 20 62 75 69 6c 64 20 74 68 65 20 6c 69 73 74 20 6f 66 20 | .the.data.and.build.the.list.of. |
11cae0 | 68 61 6e 64 6c 65 72 73 2e 0a 20 20 20 20 2f 2f 20 42 79 20 64 6f 69 6e 67 20 74 68 69 73 20 69 | handlers......//.By.doing.this.i |
11cb00 | 6e 20 61 20 74 69 6d 65 6f 75 74 2c 20 77 65 20 6c 65 74 20 74 68 65 20 70 72 65 66 65 72 65 6e | n.a.timeout,.we.let.the.preferen |
11cb20 | 63 65 73 20 64 69 61 6c 6f 67 20 72 65 73 69 7a 65 20 69 74 73 65 6c 66 0a 20 20 20 20 2f 2f 20 | ces.dialog.resize.itself.....//. |
11cb40 | 74 6f 20 61 6e 20 61 70 70 72 6f 70 72 69 61 74 65 20 73 69 7a 65 20 62 65 66 6f 72 65 20 77 65 | to.an.appropriate.size.before.we |
11cb60 | 20 61 64 64 20 61 20 62 75 6e 63 68 20 6f 66 20 69 74 65 6d 73 20 74 6f 20 74 68 65 20 6c 69 73 | .add.a.bunch.of.items.to.the.lis |
11cb80 | 74 2e 0a 20 20 20 20 2f 2f 20 4f 74 68 65 72 77 69 73 65 2c 20 69 66 20 74 68 65 72 65 20 61 72 | t......//.Otherwise,.if.there.ar |
11cba0 | 65 20 6d 61 6e 79 20 69 74 65 6d 73 2c 20 61 6e 64 20 74 68 65 20 41 70 70 6c 69 63 61 74 69 6f | e.many.items,.and.the.Applicatio |
11cbc0 | 6e 73 20 70 72 65 66 70 61 6e 65 0a 20 20 20 20 2f 2f 20 69 73 20 74 68 65 20 6f 6e 65 20 74 68 | ns.prefpane.....//.is.the.one.th |
11cbe0 | 61 74 20 67 65 74 73 20 64 69 73 70 6c 61 79 65 64 20 77 68 65 6e 20 74 68 65 20 75 73 65 72 20 | at.gets.displayed.when.the.user. |
11cc00 | 66 69 72 73 74 20 6f 70 65 6e 73 20 74 68 65 20 64 69 61 6c 6f 67 2c 0a 20 20 20 20 2f 2f 20 74 | first.opens.the.dialog,.....//.t |
11cc20 | 68 65 20 64 69 61 6c 6f 67 20 6d 69 67 68 74 20 73 74 72 65 74 63 68 20 74 6f 6f 20 6d 75 63 68 | he.dialog.might.stretch.too.much |
11cc40 | 20 69 6e 20 61 6e 20 61 74 74 65 6d 70 74 20 74 6f 20 66 69 74 20 74 68 65 6d 20 61 6c 6c 20 69 | .in.an.attempt.to.fit.them.all.i |
11cc60 | 6e 2e 0a 20 20 20 20 2f 2f 20 58 58 58 20 53 68 6f 75 6c 64 6e 27 74 20 77 65 20 70 65 72 68 61 | n......//.XXX.Shouldn't.we.perha |
11cc80 | 70 73 20 6a 75 73 74 20 73 65 74 20 61 20 6d 61 78 2d 68 65 69 67 68 74 20 6f 6e 20 74 68 65 20 | ps.just.set.a.max-height.on.the. |
11cca0 | 72 69 63 68 6c 69 73 74 62 6f 78 3f 0a 20 20 20 20 76 61 72 20 5f 64 65 6c 61 79 65 64 50 61 6e | richlistbox?.....var._delayedPan |
11ccc0 | 65 4c 6f 61 64 20 3d 20 66 75 6e 63 74 69 6f 6e 28 73 65 6c 66 29 20 7b 0a 20 20 20 20 20 20 73 | eLoad.=.function(self).{.......s |
11cce0 | 65 6c 66 2e 5f 6c 6f 61 64 44 61 74 61 28 29 3b 0a 20 20 20 20 20 20 73 65 6c 66 2e 5f 72 65 62 | elf._loadData();.......self._reb |
11cd00 | 75 69 6c 64 56 69 73 69 62 6c 65 54 79 70 65 73 28 29 3b 0a 20 20 20 20 20 20 73 65 6c 66 2e 5f | uildVisibleTypes();.......self._ |
11cd20 | 73 6f 72 74 56 69 73 69 62 6c 65 54 79 70 65 73 28 29 3b 0a 20 20 20 20 20 20 73 65 6c 66 2e 5f | sortVisibleTypes();.......self._ |
11cd40 | 72 65 62 75 69 6c 64 56 69 65 77 28 29 3b 0a 0a 20 20 20 20 20 20 2f 2f 20 4e 6f 74 69 66 79 20 | rebuildView();........//.Notify. |
11cd60 | 6f 62 73 65 72 76 65 72 73 20 74 68 61 74 20 74 68 65 20 55 49 20 69 73 20 6e 6f 77 20 72 65 61 | observers.that.the.UI.is.now.rea |
11cd80 | 64 79 0a 20 20 20 20 20 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6f 62 73 65 72 76 | dy.......Cc["@mozilla.org/observ |
11cda0 | 65 72 2d 73 65 72 76 69 63 65 3b 31 22 5d 2e 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 | er-service;1"].getService(Ci.nsI |
11cdc0 | 4f 62 73 65 72 76 65 72 53 65 72 76 69 63 65 29 2e 0a 20 20 20 20 20 20 6e 6f 74 69 66 79 4f 62 | ObserverService)........notifyOb |
11cde0 | 73 65 72 76 65 72 73 28 77 69 6e 64 6f 77 2c 20 22 61 70 70 2d 68 61 6e 64 6c 65 72 2d 70 61 6e | servers(window,."app-handler-pan |
11ce00 | 65 2d 6c 6f 61 64 65 64 22 2c 20 6e 75 6c 6c 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 73 65 74 54 | e-loaded",.null);.....}.....setT |
11ce20 | 69 6d 65 6f 75 74 28 5f 64 65 6c 61 79 65 64 50 61 6e 65 4c 6f 61 64 2c 20 30 2c 20 74 68 69 73 | imeout(_delayedPaneLoad,.0,.this |
11ce40 | 29 3b 0a 20 20 7d 2c 0a 0a 20 20 64 65 73 74 72 6f 79 3a 20 66 75 6e 63 74 69 6f 6e 28 29 20 7b | );...},....destroy:.function().{ |
11ce60 | 0a 20 20 20 20 77 69 6e 64 6f 77 2e 72 65 6d 6f 76 65 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 28 | .....window.removeEventListener( |
11ce80 | 22 75 6e 6c 6f 61 64 22 2c 20 74 68 69 73 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 20 74 68 69 73 | "unload",.this,.false);.....this |
11cea0 | 2e 5f 70 72 65 66 53 76 63 2e 72 65 6d 6f 76 65 4f 62 73 65 72 76 65 72 28 50 52 45 46 5f 53 48 | ._prefSvc.removeObserver(PREF_SH |
11cec0 | 4f 57 5f 50 4c 55 47 49 4e 53 5f 49 4e 5f 4c 49 53 54 2c 20 74 68 69 73 29 3b 0a 20 20 20 20 74 | OW_PLUGINS_IN_LIST,.this);.....t |
11cee0 | 68 69 73 2e 5f 70 72 65 66 53 76 63 2e 72 65 6d 6f 76 65 4f 62 73 65 72 76 65 72 28 50 52 45 46 | his._prefSvc.removeObserver(PREF |
11cf00 | 5f 48 49 44 45 5f 50 4c 55 47 49 4e 53 5f 57 49 54 48 4f 55 54 5f 45 58 54 45 4e 53 49 4f 4e 53 | _HIDE_PLUGINS_WITHOUT_EXTENSIONS |
11cf20 | 2c 20 74 68 69 73 29 3b 0a 20 20 20 20 74 68 69 73 2e 5f 70 72 65 66 53 76 63 2e 72 65 6d 6f 76 | ,.this);.....this._prefSvc.remov |
11cf40 | 65 4f 62 73 65 72 76 65 72 28 50 52 45 46 5f 46 45 45 44 5f 53 45 4c 45 43 54 45 44 5f 41 50 50 | eObserver(PREF_FEED_SELECTED_APP |
11cf60 | 2c 20 74 68 69 73 29 3b 0a 20 20 20 20 74 68 69 73 2e 5f 70 72 65 66 53 76 63 2e 72 65 6d 6f 76 | ,.this);.....this._prefSvc.remov |
11cf80 | 65 4f 62 73 65 72 76 65 72 28 50 52 45 46 5f 46 45 45 44 5f 53 45 4c 45 43 54 45 44 5f 57 45 42 | eObserver(PREF_FEED_SELECTED_WEB |
11cfa0 | 2c 20 74 68 69 73 29 3b 0a 20 20 20 20 74 68 69 73 2e 5f 70 72 65 66 53 76 63 2e 72 65 6d 6f 76 | ,.this);.....this._prefSvc.remov |
11cfc0 | 65 4f 62 73 65 72 76 65 72 28 50 52 45 46 5f 46 45 45 44 5f 53 45 4c 45 43 54 45 44 5f 41 43 54 | eObserver(PREF_FEED_SELECTED_ACT |
11cfe0 | 49 4f 4e 2c 20 74 68 69 73 29 3b 0a 20 20 20 20 74 68 69 73 2e 5f 70 72 65 66 53 76 63 2e 72 65 | ION,.this);.....this._prefSvc.re |
11d000 | 6d 6f 76 65 4f 62 73 65 72 76 65 72 28 50 52 45 46 5f 46 45 45 44 5f 53 45 4c 45 43 54 45 44 5f | moveObserver(PREF_FEED_SELECTED_ |
11d020 | 52 45 41 44 45 52 2c 20 74 68 69 73 29 3b 0a 0a 20 20 20 20 74 68 69 73 2e 5f 70 72 65 66 53 76 | READER,.this);......this._prefSv |
11d040 | 63 2e 72 65 6d 6f 76 65 4f 62 73 65 72 76 65 72 28 50 52 45 46 5f 56 49 44 45 4f 5f 46 45 45 44 | c.removeObserver(PREF_VIDEO_FEED |
11d060 | 5f 53 45 4c 45 43 54 45 44 5f 41 50 50 2c 20 74 68 69 73 29 3b 0a 20 20 20 20 74 68 69 73 2e 5f | _SELECTED_APP,.this);.....this._ |
11d080 | 70 72 65 66 53 76 63 2e 72 65 6d 6f 76 65 4f 62 73 65 72 76 65 72 28 50 52 45 46 5f 56 49 44 45 | prefSvc.removeObserver(PREF_VIDE |
11d0a0 | 4f 5f 46 45 45 44 5f 53 45 4c 45 43 54 45 44 5f 57 45 42 2c 20 74 68 69 73 29 3b 0a 20 20 20 20 | O_FEED_SELECTED_WEB,.this);..... |
11d0c0 | 74 68 69 73 2e 5f 70 72 65 66 53 76 63 2e 72 65 6d 6f 76 65 4f 62 73 65 72 76 65 72 28 50 52 45 | this._prefSvc.removeObserver(PRE |
11d0e0 | 46 5f 56 49 44 45 4f 5f 46 45 45 44 5f 53 45 4c 45 43 54 45 44 5f 41 43 54 49 4f 4e 2c 20 74 68 | F_VIDEO_FEED_SELECTED_ACTION,.th |
11d100 | 69 73 29 3b 0a 20 20 20 20 74 68 69 73 2e 5f 70 72 65 66 53 76 63 2e 72 65 6d 6f 76 65 4f 62 73 | is);.....this._prefSvc.removeObs |
11d120 | 65 72 76 65 72 28 50 52 45 46 5f 56 49 44 45 4f 5f 46 45 45 44 5f 53 45 4c 45 43 54 45 44 5f 52 | erver(PREF_VIDEO_FEED_SELECTED_R |
11d140 | 45 41 44 45 52 2c 20 74 68 69 73 29 3b 0a 0a 20 20 20 20 74 68 69 73 2e 5f 70 72 65 66 53 76 63 | EADER,.this);......this._prefSvc |
11d160 | 2e 72 65 6d 6f 76 65 4f 62 73 65 72 76 65 72 28 50 52 45 46 5f 41 55 44 49 4f 5f 46 45 45 44 5f | .removeObserver(PREF_AUDIO_FEED_ |
11d180 | 53 45 4c 45 43 54 45 44 5f 41 50 50 2c 20 74 68 69 73 29 3b 0a 20 20 20 20 74 68 69 73 2e 5f 70 | SELECTED_APP,.this);.....this._p |
11d1a0 | 72 65 66 53 76 63 2e 72 65 6d 6f 76 65 4f 62 73 65 72 76 65 72 28 50 52 45 46 5f 41 55 44 49 4f | refSvc.removeObserver(PREF_AUDIO |
11d1c0 | 5f 46 45 45 44 5f 53 45 4c 45 43 54 45 44 5f 57 45 42 2c 20 74 68 69 73 29 3b 0a 20 20 20 20 74 | _FEED_SELECTED_WEB,.this);.....t |
11d1e0 | 68 69 73 2e 5f 70 72 65 66 53 76 63 2e 72 65 6d 6f 76 65 4f 62 73 65 72 76 65 72 28 50 52 45 46 | his._prefSvc.removeObserver(PREF |
11d200 | 5f 41 55 44 49 4f 5f 46 45 45 44 5f 53 45 4c 45 43 54 45 44 5f 41 43 54 49 4f 4e 2c 20 74 68 69 | _AUDIO_FEED_SELECTED_ACTION,.thi |
11d220 | 73 29 3b 0a 20 20 20 20 74 68 69 73 2e 5f 70 72 65 66 53 76 63 2e 72 65 6d 6f 76 65 4f 62 73 65 | s);.....this._prefSvc.removeObse |
11d240 | 72 76 65 72 28 50 52 45 46 5f 41 55 44 49 4f 5f 46 45 45 44 5f 53 45 4c 45 43 54 45 44 5f 52 45 | rver(PREF_AUDIO_FEED_SELECTED_RE |
11d260 | 41 44 45 52 2c 20 74 68 69 73 29 3b 0a 20 20 7d 2c 0a 0a 0a 20 20 2f 2f 2a 2a 2a 2a 2a 2a 2a 2a | ADER,.this);...},.....//******** |
11d280 | 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a | ******************************** |
11d2a0 | 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a | ******************************** |
11d2c0 | 2a 2a 2f 2f 0a 20 20 2f 2f 20 6e 73 49 53 75 70 70 6f 72 74 73 0a 0a 20 20 51 75 65 72 79 49 6e | **//...//.nsISupports....QueryIn |
11d2e0 | 74 65 72 66 61 63 65 3a 20 66 75 6e 63 74 69 6f 6e 28 61 49 49 44 29 20 7b 0a 20 20 20 20 69 66 | terface:.function(aIID).{.....if |
11d300 | 20 28 61 49 49 44 2e 65 71 75 61 6c 73 28 43 69 2e 6e 73 49 4f 62 73 65 72 76 65 72 29 20 7c 7c | .(aIID.equals(Ci.nsIObserver).|| |
11d320 | 0a 20 20 20 20 20 20 20 20 61 49 49 44 2e 65 71 75 61 6c 73 28 43 69 2e 6e 73 49 44 4f 4d 45 76 | .........aIID.equals(Ci.nsIDOMEv |
11d340 | 65 6e 74 4c 69 73 74 65 6e 65 72 20 7c 7c 0a 20 20 20 20 20 20 20 20 61 49 49 44 2e 65 71 75 61 | entListener.||.........aIID.equa |
11d360 | 6c 73 28 43 69 2e 6e 73 49 53 75 70 70 6f 72 74 73 29 29 29 0a 20 20 20 20 20 20 72 65 74 75 72 | ls(Ci.nsISupports))).......retur |
11d380 | 6e 20 74 68 69 73 3b 0a 0a 20 20 20 20 74 68 72 6f 77 20 43 72 2e 4e 53 5f 45 52 52 4f 52 5f 4e | n.this;......throw.Cr.NS_ERROR_N |
11d3a0 | 4f 5f 49 4e 54 45 52 46 41 43 45 3b 0a 20 20 7d 2c 0a 0a 0a 20 20 2f 2f 2a 2a 2a 2a 2a 2a 2a 2a | O_INTERFACE;...},.....//******** |
11d3c0 | 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a | ******************************** |
11d3e0 | 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a | ******************************** |
11d400 | 2a 2a 2f 2f 0a 20 20 2f 2f 20 6e 73 49 4f 62 73 65 72 76 65 72 0a 0a 20 20 6f 62 73 65 72 76 65 | **//...//.nsIObserver....observe |
11d420 | 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 53 75 62 6a 65 63 74 2c 20 61 54 6f 70 69 63 2c 20 61 44 | :.function.(aSubject,.aTopic,.aD |
11d440 | 61 74 61 29 20 7b 0a 20 20 20 20 2f 2f 20 52 65 62 75 69 6c 64 20 74 68 65 20 6c 69 73 74 20 77 | ata).{.....//.Rebuild.the.list.w |
11d460 | 68 65 6e 20 74 68 65 72 65 20 61 72 65 20 63 68 61 6e 67 65 73 20 74 6f 20 70 72 65 66 65 72 65 | hen.there.are.changes.to.prefere |
11d480 | 6e 63 65 73 20 74 68 61 74 20 69 6e 66 6c 75 65 6e 63 65 0a 20 20 20 20 2f 2f 20 77 68 65 74 68 | nces.that.influence.....//.wheth |
11d4a0 | 65 72 20 6f 72 20 6e 6f 74 20 74 6f 20 73 68 6f 77 20 63 65 72 74 61 69 6e 20 65 6e 74 72 69 65 | er.or.not.to.show.certain.entrie |
11d4c0 | 73 20 69 6e 20 74 68 65 20 6c 69 73 74 2e 0a 20 20 20 20 69 66 20 28 61 54 6f 70 69 63 20 3d 3d | s.in.the.list......if.(aTopic.== |
11d4e0 | 20 22 6e 73 50 72 65 66 3a 63 68 61 6e 67 65 64 22 20 26 26 20 21 74 68 69 73 2e 5f 73 74 6f 72 | ."nsPref:changed".&&.!this._stor |
11d500 | 69 6e 67 41 63 74 69 6f 6e 29 20 7b 0a 20 20 20 20 20 20 2f 2f 20 54 68 65 73 65 20 74 77 6f 20 | ingAction).{.......//.These.two. |
11d520 | 70 72 65 66 73 20 61 6c 74 65 72 20 74 68 65 20 6c 69 73 74 20 6f 66 20 76 69 73 69 62 6c 65 20 | prefs.alter.the.list.of.visible. |
11d540 | 74 79 70 65 73 2c 20 73 6f 20 77 65 20 68 61 76 65 20 74 6f 20 72 65 62 75 69 6c 64 0a 20 20 20 | types,.so.we.have.to.rebuild.... |
11d560 | 20 20 20 2f 2f 20 74 68 61 74 20 6c 69 73 74 20 77 68 65 6e 20 74 68 65 79 20 63 68 61 6e 67 65 | ...//.that.list.when.they.change |
11d580 | 2e 0a 20 20 20 20 20 20 69 66 20 28 61 44 61 74 61 20 3d 3d 20 50 52 45 46 5f 53 48 4f 57 5f 50 | ........if.(aData.==.PREF_SHOW_P |
11d5a0 | 4c 55 47 49 4e 53 5f 49 4e 5f 4c 49 53 54 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 61 44 61 74 | LUGINS_IN_LIST.||...........aDat |
11d5c0 | 61 20 3d 3d 20 50 52 45 46 5f 48 49 44 45 5f 50 4c 55 47 49 4e 53 5f 57 49 54 48 4f 55 54 5f 45 | a.==.PREF_HIDE_PLUGINS_WITHOUT_E |
11d5e0 | 58 54 45 4e 53 49 4f 4e 53 29 20 7b 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 72 65 62 75 69 | XTENSIONS).{.........this._rebui |
11d600 | 6c 64 56 69 73 69 62 6c 65 54 79 70 65 73 28 29 3b 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f | ldVisibleTypes();.........this._ |
11d620 | 73 6f 72 74 56 69 73 69 62 6c 65 54 79 70 65 73 28 29 3b 0a 20 20 20 20 20 20 7d 0a 0a 20 20 20 | sortVisibleTypes();.......}..... |
11d640 | 20 20 20 2f 2f 20 41 6c 6c 20 74 68 65 20 70 72 65 66 73 20 77 65 20 6f 62 73 65 72 76 65 20 63 | ...//.All.the.prefs.we.observe.c |
11d660 | 61 6e 20 61 66 66 65 63 74 20 77 68 61 74 20 77 65 20 64 69 73 70 6c 61 79 2c 20 73 6f 20 77 65 | an.affect.what.we.display,.so.we |
11d680 | 20 72 65 62 75 69 6c 64 0a 20 20 20 20 20 20 2f 2f 20 74 68 65 20 76 69 65 77 20 77 68 65 6e 20 | .rebuild.......//.the.view.when. |
11d6a0 | 61 6e 79 20 6f 66 20 74 68 65 6d 20 63 68 61 6e 67 65 73 2e 0a 20 20 20 20 20 20 74 68 69 73 2e | any.of.them.changes........this. |
11d6c0 | 5f 72 65 62 75 69 6c 64 56 69 65 77 28 29 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 0a 20 20 2f | _rebuildView();.....}...},...../ |
11d6e0 | 2f 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a | /******************************* |
11d700 | 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a | ******************************** |
11d720 | 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2f 2f 0a 20 20 2f 2f 20 6e 73 49 44 4f 4d 45 76 65 6e 74 4c 69 | ***********//...//.nsIDOMEventLi |
11d740 | 73 74 65 6e 65 72 0a 0a 20 20 68 61 6e 64 6c 65 45 76 65 6e 74 3a 20 66 75 6e 63 74 69 6f 6e 28 | stener....handleEvent:.function( |
11d760 | 61 45 76 65 6e 74 29 20 7b 0a 20 20 20 20 69 66 20 28 61 45 76 65 6e 74 2e 74 79 70 65 20 3d 3d | aEvent).{.....if.(aEvent.type.== |
11d780 | 20 22 75 6e 6c 6f 61 64 22 29 20 7b 0a 20 20 20 20 20 20 74 68 69 73 2e 64 65 73 74 72 6f 79 28 | ."unload").{.......this.destroy( |
11d7a0 | 29 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 0a 20 20 2f 2f 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a | );.....}...},.....//************ |
11d7c0 | 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a | ******************************** |
11d7e0 | 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2f 2f | ******************************// |
11d800 | 0a 20 20 2f 2f 20 43 6f 6d 70 6f 73 65 64 20 4d 6f 64 65 6c 20 43 6f 6e 73 74 72 75 63 74 69 6f | ...//.Composed.Model.Constructio |
11d820 | 6e 0a 0a 20 20 5f 6c 6f 61 64 44 61 74 61 3a 20 66 75 6e 63 74 69 6f 6e 28 29 20 7b 0a 20 20 20 | n...._loadData:.function().{.... |
11d840 | 20 74 68 69 73 2e 5f 6c 6f 61 64 46 65 65 64 48 61 6e 64 6c 65 72 28 29 3b 0a 20 20 20 20 74 68 | .this._loadFeedHandler();.....th |
11d860 | 69 73 2e 5f 6c 6f 61 64 50 6c 75 67 69 6e 48 61 6e 64 6c 65 72 73 28 29 3b 0a 20 20 20 20 74 68 | is._loadPluginHandlers();.....th |
11d880 | 69 73 2e 5f 6c 6f 61 64 41 70 70 6c 69 63 61 74 69 6f 6e 48 61 6e 64 6c 65 72 73 28 29 3b 0a 20 | is._loadApplicationHandlers();.. |
11d8a0 | 20 7d 2c 0a 0a 20 20 5f 6c 6f 61 64 46 65 65 64 48 61 6e 64 6c 65 72 3a 20 66 75 6e 63 74 69 6f | .},...._loadFeedHandler:.functio |
11d8c0 | 6e 28 29 20 7b 0a 20 20 20 20 74 68 69 73 2e 5f 68 61 6e 64 6c 65 64 54 79 70 65 73 5b 54 59 50 | n().{.....this._handledTypes[TYP |
11d8e0 | 45 5f 4d 41 59 42 45 5f 46 45 45 44 5d 20 3d 20 66 65 65 64 48 61 6e 64 6c 65 72 49 6e 66 6f 3b | E_MAYBE_FEED].=.feedHandlerInfo; |
11d900 | 0a 20 20 20 20 66 65 65 64 48 61 6e 64 6c 65 72 49 6e 66 6f 2e 68 61 6e 64 6c 65 64 4f 6e 6c 79 | .....feedHandlerInfo.handledOnly |
11d920 | 42 79 50 6c 75 67 69 6e 20 3d 20 66 61 6c 73 65 3b 0a 0a 20 20 20 20 74 68 69 73 2e 5f 68 61 6e | ByPlugin.=.false;......this._han |
11d940 | 64 6c 65 64 54 79 70 65 73 5b 54 59 50 45 5f 4d 41 59 42 45 5f 56 49 44 45 4f 5f 46 45 45 44 5d | dledTypes[TYPE_MAYBE_VIDEO_FEED] |
11d960 | 20 3d 20 76 69 64 65 6f 46 65 65 64 48 61 6e 64 6c 65 72 49 6e 66 6f 3b 0a 20 20 20 20 76 69 64 | .=.videoFeedHandlerInfo;.....vid |
11d980 | 65 6f 46 65 65 64 48 61 6e 64 6c 65 72 49 6e 66 6f 2e 68 61 6e 64 6c 65 64 4f 6e 6c 79 42 79 50 | eoFeedHandlerInfo.handledOnlyByP |
11d9a0 | 6c 75 67 69 6e 20 3d 20 66 61 6c 73 65 3b 0a 0a 20 20 20 20 74 68 69 73 2e 5f 68 61 6e 64 6c 65 | lugin.=.false;......this._handle |
11d9c0 | 64 54 79 70 65 73 5b 54 59 50 45 5f 4d 41 59 42 45 5f 41 55 44 49 4f 5f 46 45 45 44 5d 20 3d 20 | dTypes[TYPE_MAYBE_AUDIO_FEED].=. |
11d9e0 | 61 75 64 69 6f 46 65 65 64 48 61 6e 64 6c 65 72 49 6e 66 6f 3b 0a 20 20 20 20 61 75 64 69 6f 46 | audioFeedHandlerInfo;.....audioF |
11da00 | 65 65 64 48 61 6e 64 6c 65 72 49 6e 66 6f 2e 68 61 6e 64 6c 65 64 4f 6e 6c 79 42 79 50 6c 75 67 | eedHandlerInfo.handledOnlyByPlug |
11da20 | 69 6e 20 3d 20 66 61 6c 73 65 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 4c 6f 61 | in.=.false;...},..../**....*.Loa |
11da40 | 64 20 74 68 65 20 73 65 74 20 6f 66 20 68 61 6e 64 6c 65 72 73 20 64 65 66 69 6e 65 64 20 62 79 | d.the.set.of.handlers.defined.by |
11da60 | 20 70 6c 75 67 69 6e 73 2e 0a 20 20 20 2a 0a 20 20 20 2a 20 4e 6f 74 65 3a 20 69 66 20 74 68 65 | .plugins.....*....*.Note:.if.the |
11da80 | 72 65 27 73 20 6d 6f 72 65 20 74 68 61 6e 20 6f 6e 65 20 70 6c 75 67 69 6e 20 66 6f 72 20 61 20 | re's.more.than.one.plugin.for.a. |
11daa0 | 67 69 76 65 6e 20 4d 49 4d 45 20 74 79 70 65 2c 20 77 65 20 61 73 73 75 6d 65 0a 20 20 20 2a 20 | given.MIME.type,.we.assume....*. |
11dac0 | 74 68 65 20 6c 61 73 74 20 6f 6e 65 20 69 73 20 74 68 65 20 6f 6e 65 20 74 68 61 74 20 74 68 65 | the.last.one.is.the.one.that.the |
11dae0 | 20 61 70 70 6c 69 63 61 74 69 6f 6e 20 77 69 6c 6c 20 75 73 65 2e 20 20 54 68 61 74 20 6d 61 79 | .application.will.use...That.may |
11db00 | 20 6e 6f 74 20 62 65 0a 20 20 20 2a 20 63 6f 72 72 65 63 74 2c 20 62 75 74 20 69 74 27 73 20 68 | .not.be....*.correct,.but.it's.h |
11db20 | 6f 77 20 77 65 27 76 65 20 62 65 65 6e 20 64 6f 69 6e 67 20 69 74 20 66 6f 72 20 79 65 61 72 73 | ow.we've.been.doing.it.for.years |
11db40 | 2e 0a 20 20 20 2a 0a 20 20 20 2a 20 50 65 72 68 61 70 73 20 77 65 20 73 68 6f 75 6c 64 20 69 6e | .....*....*.Perhaps.we.should.in |
11db60 | 73 74 65 61 64 20 71 75 65 72 79 20 6e 61 76 69 67 61 74 6f 72 2e 6d 69 6d 65 54 79 70 65 73 20 | stead.query.navigator.mimeTypes. |
11db80 | 66 6f 72 20 74 68 65 20 73 65 74 20 6f 66 20 74 79 70 65 73 0a 20 20 20 2a 20 73 75 70 70 6f 72 | for.the.set.of.types....*.suppor |
11dba0 | 74 65 64 20 62 79 20 74 68 65 20 61 70 70 6c 69 63 61 74 69 6f 6e 20 61 6e 64 20 74 68 65 6e 20 | ted.by.the.application.and.then. |
11dbc0 | 67 65 74 20 74 68 65 20 70 6c 75 67 69 6e 20 66 72 6f 6d 20 65 61 63 68 20 4d 49 4d 45 20 74 79 | get.the.plugin.from.each.MIME.ty |
11dbe0 | 70 65 27 73 0a 20 20 20 2a 20 65 6e 61 62 6c 65 64 50 6c 75 67 69 6e 20 70 72 6f 70 65 72 74 79 | pe's....*.enabledPlugin.property |
11dc00 | 2e 20 20 42 75 74 20 69 66 20 74 68 65 72 65 27 73 20 61 20 70 6c 75 67 69 6e 20 66 6f 72 20 61 | ...But.if.there's.a.plugin.for.a |
11dc20 | 20 74 79 70 65 2c 20 77 65 20 6e 65 65 64 0a 20 20 20 2a 20 74 6f 20 6b 6e 6f 77 20 61 62 6f 75 | .type,.we.need....*.to.know.abou |
11dc40 | 74 20 69 74 20 65 76 65 6e 20 69 66 20 69 74 20 69 73 6e 27 74 20 65 6e 61 62 6c 65 64 2c 20 73 | t.it.even.if.it.isn't.enabled,.s |
11dc60 | 69 6e 63 65 20 77 65 27 72 65 20 67 6f 69 6e 67 20 74 6f 20 67 69 76 65 0a 20 20 20 2a 20 74 68 | ince.we're.going.to.give....*.th |
11dc80 | 65 20 75 73 65 72 20 61 6e 20 6f 70 74 69 6f 6e 20 74 6f 20 65 6e 61 62 6c 65 20 69 74 2e 0a 20 | e.user.an.option.to.enable.it... |
11dca0 | 20 20 2a 20 0a 20 20 20 2a 20 49 27 6c 6c 20 61 6c 73 6f 20 6e 6f 74 65 20 74 68 61 74 20 6d 79 | ..*.....*.I'll.also.note.that.my |
11dcc0 | 20 72 65 61 64 69 6e 67 20 6f 66 20 6e 73 50 6c 75 67 69 6e 54 61 67 3a 3a 52 65 67 69 73 74 65 | .reading.of.nsPluginTag::Registe |
11dce0 | 72 57 69 74 68 43 61 74 65 67 6f 72 79 4d 61 6e 61 67 65 72 0a 20 20 20 2a 20 73 75 67 67 65 73 | rWithCategoryManager....*.sugges |
11dd00 | 74 73 20 74 68 61 74 20 65 6e 61 62 6c 65 64 50 6c 75 67 69 6e 20 69 73 20 6f 6e 6c 79 20 64 65 | ts.that.enabledPlugin.is.only.de |
11dd20 | 74 65 72 6d 69 6e 65 64 20 64 75 72 69 6e 67 20 72 65 67 69 73 74 72 61 74 69 6f 6e 0a 20 20 20 | termined.during.registration.... |
11dd40 | 2a 20 61 6e 64 20 64 6f 65 73 20 6e 6f 74 20 67 65 74 20 75 70 64 61 74 65 64 20 77 68 65 6e 20 | *.and.does.not.get.updated.when. |
11dd60 | 70 6c 75 67 69 6e 2e 64 69 73 61 62 6c 65 5f 66 75 6c 6c 5f 70 61 67 65 5f 70 6c 75 67 69 6e 5f | plugin.disable_full_page_plugin_ |
11dd80 | 66 6f 72 5f 74 79 70 65 73 0a 20 20 20 2a 20 63 68 61 6e 67 65 73 20 28 75 6e 6c 65 73 73 20 6d | for_types....*.changes.(unless.m |
11dda0 | 6f 64 69 66 69 63 61 74 69 6f 6e 20 6f 66 20 74 68 61 74 20 70 72 65 66 65 72 65 6e 63 65 20 73 | odification.of.that.preference.s |
11ddc0 | 70 61 77 6e 73 20 72 65 72 65 67 69 73 74 72 61 74 69 6f 6e 29 2e 0a 20 20 20 2a 20 53 6f 20 65 | pawns.reregistration).....*.So.e |
11dde0 | 76 65 6e 20 69 66 20 77 65 20 63 6f 75 6c 64 20 75 73 65 20 65 6e 61 62 6c 65 64 50 6c 75 67 69 | ven.if.we.could.use.enabledPlugi |
11de00 | 6e 20 74 6f 20 67 65 74 20 74 68 65 20 70 6c 75 67 69 6e 20 74 68 61 74 20 77 6f 75 6c 64 20 62 | n.to.get.the.plugin.that.would.b |
11de20 | 65 20 75 73 65 64 2c 0a 20 20 20 2a 20 77 65 27 64 20 73 74 69 6c 6c 20 6e 65 65 64 20 74 6f 20 | e.used,....*.we'd.still.need.to. |
11de40 | 63 68 65 63 6b 20 74 68 65 20 70 72 65 66 20 6f 75 72 73 65 6c 76 65 73 20 74 6f 20 66 69 6e 64 | check.the.pref.ourselves.to.find |
11de60 | 20 6f 75 74 20 69 66 20 69 74 27 73 20 65 6e 61 62 6c 65 64 2e 0a 20 20 20 2a 2f 0a 20 20 5f 6c | .out.if.it's.enabled.....*/..._l |
11de80 | 6f 61 64 50 6c 75 67 69 6e 48 61 6e 64 6c 65 72 73 3a 20 66 75 6e 63 74 69 6f 6e 28 29 20 7b 0a | oadPluginHandlers:.function().{. |
11dea0 | 20 20 20 20 66 6f 72 20 28 6c 65 74 20 69 20 3d 20 30 3b 20 69 20 3c 20 6e 61 76 69 67 61 74 6f | ....for.(let.i.=.0;.i.<.navigato |
11dec0 | 72 2e 70 6c 75 67 69 6e 73 2e 6c 65 6e 67 74 68 3b 20 2b 2b 69 29 20 7b 0a 20 20 20 20 20 20 6c | r.plugins.length;.++i).{.......l |
11dee0 | 65 74 20 70 6c 75 67 69 6e 20 3d 20 6e 61 76 69 67 61 74 6f 72 2e 70 6c 75 67 69 6e 73 5b 69 5d | et.plugin.=.navigator.plugins[i] |
11df00 | 3b 0a 20 20 20 20 20 20 66 6f 72 20 28 6c 65 74 20 6a 20 3d 20 30 3b 20 6a 20 3c 20 70 6c 75 67 | ;.......for.(let.j.=.0;.j.<.plug |
11df20 | 69 6e 2e 6c 65 6e 67 74 68 3b 20 2b 2b 6a 29 20 7b 0a 20 20 20 20 20 20 20 20 6c 65 74 20 74 79 | in.length;.++j).{.........let.ty |
11df40 | 70 65 20 3d 20 70 6c 75 67 69 6e 5b 6a 5d 2e 74 79 70 65 3b 0a 0a 20 20 20 20 20 20 20 20 6c 65 | pe.=.plugin[j].type;..........le |
11df60 | 74 20 68 61 6e 64 6c 65 72 49 6e 66 6f 57 72 61 70 70 65 72 3b 0a 20 20 20 20 20 20 20 20 69 66 | t.handlerInfoWrapper;.........if |
11df80 | 20 28 74 79 70 65 20 69 6e 20 74 68 69 73 2e 5f 68 61 6e 64 6c 65 64 54 79 70 65 73 29 0a 20 20 | .(type.in.this._handledTypes)... |
11dfa0 | 20 20 20 20 20 20 20 20 68 61 6e 64 6c 65 72 49 6e 66 6f 57 72 61 70 70 65 72 20 3d 20 74 68 69 | ........handlerInfoWrapper.=.thi |
11dfc0 | 73 2e 5f 68 61 6e 64 6c 65 64 54 79 70 65 73 5b 74 79 70 65 5d 3b 0a 20 20 20 20 20 20 20 20 65 | s._handledTypes[type];.........e |
11dfe0 | 6c 73 65 20 7b 0a 20 20 20 20 20 20 20 20 20 20 6c 65 74 20 77 72 61 70 70 65 64 48 61 6e 64 6c | lse.{...........let.wrappedHandl |
11e000 | 65 72 49 6e 66 6f 20 3d 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 6d 69 6d 65 53 | erInfo.=.............this._mimeS |
11e020 | 76 63 2e 67 65 74 46 72 6f 6d 54 79 70 65 41 6e 64 45 78 74 65 6e 73 69 6f 6e 28 74 79 70 65 2c | vc.getFromTypeAndExtension(type, |
11e040 | 20 6e 75 6c 6c 29 3b 0a 20 20 20 20 20 20 20 20 20 20 68 61 6e 64 6c 65 72 49 6e 66 6f 57 72 61 | .null);...........handlerInfoWra |
11e060 | 70 70 65 72 20 3d 20 6e 65 77 20 48 61 6e 64 6c 65 72 49 6e 66 6f 57 72 61 70 70 65 72 28 74 79 | pper.=.new.HandlerInfoWrapper(ty |
11e080 | 70 65 2c 20 77 72 61 70 70 65 64 48 61 6e 64 6c 65 72 49 6e 66 6f 29 3b 0a 20 20 20 20 20 20 20 | pe,.wrappedHandlerInfo);........ |
11e0a0 | 20 20 20 68 61 6e 64 6c 65 72 49 6e 66 6f 57 72 61 70 70 65 72 2e 68 61 6e 64 6c 65 64 4f 6e 6c | ...handlerInfoWrapper.handledOnl |
11e0c0 | 79 42 79 50 6c 75 67 69 6e 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 | yByPlugin.=.true;...........this |
11e0e0 | 2e 5f 68 61 6e 64 6c 65 64 54 79 70 65 73 5b 74 79 70 65 5d 20 3d 20 68 61 6e 64 6c 65 72 49 6e | ._handledTypes[type].=.handlerIn |
11e100 | 66 6f 57 72 61 70 70 65 72 3b 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 68 61 | foWrapper;.........}..........ha |
11e120 | 6e 64 6c 65 72 49 6e 66 6f 57 72 61 70 70 65 72 2e 70 6c 75 67 69 6e 20 3d 20 70 6c 75 67 69 6e | ndlerInfoWrapper.plugin.=.plugin |
11e140 | 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a | ;.......}.....}...},..../**....* |
11e160 | 20 4c 6f 61 64 20 74 68 65 20 73 65 74 20 6f 66 20 68 61 6e 64 6c 65 72 73 20 64 65 66 69 6e 65 | .Load.the.set.of.handlers.define |
11e180 | 64 20 62 79 20 74 68 65 20 61 70 70 6c 69 63 61 74 69 6f 6e 20 64 61 74 61 73 74 6f 72 65 2e 0a | d.by.the.application.datastore.. |
11e1a0 | 20 20 20 2a 2f 0a 20 20 5f 6c 6f 61 64 41 70 70 6c 69 63 61 74 69 6f 6e 48 61 6e 64 6c 65 72 73 | ...*/..._loadApplicationHandlers |
11e1c0 | 3a 20 66 75 6e 63 74 69 6f 6e 28 29 20 7b 0a 20 20 20 20 76 61 72 20 77 72 61 70 70 65 64 48 61 | :.function().{.....var.wrappedHa |
11e1e0 | 6e 64 6c 65 72 49 6e 66 6f 73 20 3d 20 74 68 69 73 2e 5f 68 61 6e 64 6c 65 72 53 76 63 2e 65 6e | ndlerInfos.=.this._handlerSvc.en |
11e200 | 75 6d 65 72 61 74 65 28 29 3b 0a 20 20 20 20 77 68 69 6c 65 20 28 77 72 61 70 70 65 64 48 61 6e | umerate();.....while.(wrappedHan |
11e220 | 64 6c 65 72 49 6e 66 6f 73 2e 68 61 73 4d 6f 72 65 45 6c 65 6d 65 6e 74 73 28 29 29 20 7b 0a 20 | dlerInfos.hasMoreElements()).{.. |
11e240 | 20 20 20 20 20 6c 65 74 20 77 72 61 70 70 65 64 48 61 6e 64 6c 65 72 49 6e 66 6f 20 3d 0a 20 20 | .....let.wrappedHandlerInfo.=... |
11e260 | 20 20 20 20 20 20 77 72 61 70 70 65 64 48 61 6e 64 6c 65 72 49 6e 66 6f 73 2e 67 65 74 4e 65 78 | ......wrappedHandlerInfos.getNex |
11e280 | 74 28 29 2e 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 28 43 69 2e 6e 73 49 48 61 6e 64 6c 65 72 | t().QueryInterface(Ci.nsIHandler |
11e2a0 | 49 6e 66 6f 29 3b 0a 20 20 20 20 20 20 6c 65 74 20 74 79 70 65 20 3d 20 77 72 61 70 70 65 64 48 | Info);.......let.type.=.wrappedH |
11e2c0 | 61 6e 64 6c 65 72 49 6e 66 6f 2e 74 79 70 65 3b 0a 0a 20 20 20 20 20 20 6c 65 74 20 68 61 6e 64 | andlerInfo.type;........let.hand |
11e2e0 | 6c 65 72 49 6e 66 6f 57 72 61 70 70 65 72 3b 0a 20 20 20 20 20 20 69 66 20 28 74 79 70 65 20 69 | lerInfoWrapper;.......if.(type.i |
11e300 | 6e 20 74 68 69 73 2e 5f 68 61 6e 64 6c 65 64 54 79 70 65 73 29 0a 20 20 20 20 20 20 20 20 68 61 | n.this._handledTypes).........ha |
11e320 | 6e 64 6c 65 72 49 6e 66 6f 57 72 61 70 70 65 72 20 3d 20 74 68 69 73 2e 5f 68 61 6e 64 6c 65 64 | ndlerInfoWrapper.=.this._handled |
11e340 | 54 79 70 65 73 5b 74 79 70 65 5d 3b 0a 20 20 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 | Types[type];.......else.{....... |
11e360 | 20 20 68 61 6e 64 6c 65 72 49 6e 66 6f 57 72 61 70 70 65 72 20 3d 20 6e 65 77 20 48 61 6e 64 6c | ..handlerInfoWrapper.=.new.Handl |
11e380 | 65 72 49 6e 66 6f 57 72 61 70 70 65 72 28 74 79 70 65 2c 20 77 72 61 70 70 65 64 48 61 6e 64 6c | erInfoWrapper(type,.wrappedHandl |
11e3a0 | 65 72 49 6e 66 6f 29 3b 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 68 61 6e 64 6c 65 64 54 79 | erInfo);.........this._handledTy |
11e3c0 | 70 65 73 5b 74 79 70 65 5d 20 3d 20 68 61 6e 64 6c 65 72 49 6e 66 6f 57 72 61 70 70 65 72 3b 0a | pes[type].=.handlerInfoWrapper;. |
11e3e0 | 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 68 61 6e 64 6c 65 72 49 6e 66 6f 57 72 61 70 70 65 | ......}........handlerInfoWrappe |
11e400 | 72 2e 68 61 6e 64 6c 65 64 4f 6e 6c 79 42 79 50 6c 75 67 69 6e 20 3d 20 66 61 6c 73 65 3b 0a 20 | r.handledOnlyByPlugin.=.false;.. |
11e420 | 20 20 20 7d 0a 20 20 7d 2c 0a 0a 0a 20 20 2f 2f 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a | ...}...},.....//**************** |
11e440 | 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a | ******************************** |
11e460 | 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2f 2f 0a 20 20 2f | **************************//.../ |
11e480 | 2f 20 56 69 65 77 20 43 6f 6e 73 74 72 75 63 74 69 6f 6e 0a 0a 20 20 5f 72 65 62 75 69 6c 64 56 | /.View.Construction...._rebuildV |
11e4a0 | 69 73 69 62 6c 65 54 79 70 65 73 3a 20 66 75 6e 63 74 69 6f 6e 28 29 20 7b 0a 20 20 20 20 2f 2f | isibleTypes:.function().{.....// |
11e4c0 | 20 52 65 73 65 74 20 74 68 65 20 6c 69 73 74 20 6f 66 20 76 69 73 69 62 6c 65 20 74 79 70 65 73 | .Reset.the.list.of.visible.types |
11e4e0 | 20 61 6e 64 20 74 68 65 20 76 69 73 69 62 6c 65 20 74 79 70 65 20 64 65 73 63 72 69 70 74 69 6f | .and.the.visible.type.descriptio |
11e500 | 6e 20 63 6f 75 6e 74 73 2e 0a 20 20 20 20 74 68 69 73 2e 5f 76 69 73 69 62 6c 65 54 79 70 65 73 | n.counts......this._visibleTypes |
11e520 | 20 3d 20 5b 5d 3b 0a 20 20 20 20 74 68 69 73 2e 5f 76 69 73 69 62 6c 65 54 79 70 65 44 65 73 63 | .=.[];.....this._visibleTypeDesc |
11e540 | 72 69 70 74 69 6f 6e 43 6f 75 6e 74 20 3d 20 7b 7d 3b 0a 0a 20 20 20 20 2f 2f 20 47 65 74 20 74 | riptionCount.=.{};......//.Get.t |
11e560 | 68 65 20 70 72 65 66 65 72 65 6e 63 65 73 20 74 68 61 74 20 68 65 6c 70 20 64 65 74 65 72 6d 69 | he.preferences.that.help.determi |
11e580 | 6e 65 20 77 68 61 74 20 74 79 70 65 73 20 74 6f 20 73 68 6f 77 2e 0a 20 20 20 20 76 61 72 20 73 | ne.what.types.to.show......var.s |
11e5a0 | 68 6f 77 50 6c 75 67 69 6e 73 20 3d 20 74 68 69 73 2e 5f 70 72 65 66 53 76 63 2e 67 65 74 42 6f | howPlugins.=.this._prefSvc.getBo |
11e5c0 | 6f 6c 50 72 65 66 28 50 52 45 46 5f 53 48 4f 57 5f 50 4c 55 47 49 4e 53 5f 49 4e 5f 4c 49 53 54 | olPref(PREF_SHOW_PLUGINS_IN_LIST |
11e5e0 | 29 3b 0a 20 20 20 20 76 61 72 20 68 69 64 65 50 6c 75 67 69 6e 73 57 69 74 68 6f 75 74 45 78 74 | );.....var.hidePluginsWithoutExt |
11e600 | 65 6e 73 69 6f 6e 73 20 3d 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 70 72 65 66 53 76 63 2e 67 65 | ensions.=.......this._prefSvc.ge |
11e620 | 74 42 6f 6f 6c 50 72 65 66 28 50 52 45 46 5f 48 49 44 45 5f 50 4c 55 47 49 4e 53 5f 57 49 54 48 | tBoolPref(PREF_HIDE_PLUGINS_WITH |
11e640 | 4f 55 54 5f 45 58 54 45 4e 53 49 4f 4e 53 29 3b 0a 0a 20 20 20 20 66 6f 72 20 28 6c 65 74 20 74 | OUT_EXTENSIONS);......for.(let.t |
11e660 | 79 70 65 20 69 6e 20 74 68 69 73 2e 5f 68 61 6e 64 6c 65 64 54 79 70 65 73 29 20 7b 0a 20 20 20 | ype.in.this._handledTypes).{.... |
11e680 | 20 20 20 6c 65 74 20 68 61 6e 64 6c 65 72 49 6e 66 6f 20 3d 20 74 68 69 73 2e 5f 68 61 6e 64 6c | ...let.handlerInfo.=.this._handl |
11e6a0 | 65 64 54 79 70 65 73 5b 74 79 70 65 5d 3b 0a 0a 20 20 20 20 20 20 2f 2f 20 48 69 64 65 20 70 6c | edTypes[type];........//.Hide.pl |
11e6c0 | 75 67 69 6e 73 20 77 69 74 68 6f 75 74 20 61 73 73 6f 63 69 61 74 65 64 20 65 78 74 65 6e 73 69 | ugins.without.associated.extensi |
11e6e0 | 6f 6e 73 20 69 66 20 73 6f 20 70 72 65 66 65 64 20 73 6f 20 77 65 20 64 6f 6e 27 74 0a 20 20 20 | ons.if.so.prefed.so.we.don't.... |
11e700 | 20 20 20 2f 2f 20 73 68 6f 77 20 61 20 77 68 6f 6c 65 20 62 75 6e 63 68 20 6f 66 20 6f 62 73 63 | ...//.show.a.whole.bunch.of.obsc |
11e720 | 75 72 65 20 74 79 70 65 73 20 68 61 6e 64 6c 65 64 20 62 79 20 70 6c 75 67 69 6e 73 20 6f 6e 20 | ure.types.handled.by.plugins.on. |
11e740 | 4d 61 63 2e 0a 20 20 20 20 20 20 2f 2f 20 4e 6f 74 65 3a 20 74 68 6f 75 67 68 20 70 72 6f 74 6f | Mac........//.Note:.though.proto |
11e760 | 63 6f 6c 20 74 79 70 65 73 20 64 6f 6e 27 74 20 68 61 76 65 20 65 78 74 65 6e 73 69 6f 6e 73 2c | col.types.don't.have.extensions, |
11e780 | 20 77 65 20 73 74 69 6c 6c 20 73 68 6f 77 20 74 68 65 6d 3b 0a 20 20 20 20 20 20 2f 2f 20 74 68 | .we.still.show.them;.......//.th |
11e7a0 | 65 20 70 72 65 66 20 69 73 20 6f 6e 6c 79 20 6d 65 61 6e 74 20 74 6f 20 62 65 20 61 70 70 6c 69 | e.pref.is.only.meant.to.be.appli |
11e7c0 | 65 64 20 74 6f 20 4d 49 4d 45 20 74 79 70 65 73 2c 20 73 69 6e 63 65 20 70 6c 75 67 69 6e 73 20 | ed.to.MIME.types,.since.plugins. |
11e7e0 | 61 72 65 0a 20 20 20 20 20 20 2f 2f 20 6f 6e 6c 79 20 61 73 73 6f 63 69 61 74 65 64 20 77 69 74 | are.......//.only.associated.wit |
11e800 | 68 20 4d 49 4d 45 20 74 79 70 65 73 2e 0a 20 20 20 20 20 20 2f 2f 20 46 49 58 4d 45 3a 20 73 68 | h.MIME.types........//.FIXME:.sh |
11e820 | 6f 75 6c 64 20 77 65 20 61 6c 73 6f 20 63 68 65 63 6b 20 74 68 65 20 22 73 75 66 66 69 78 65 73 | ould.we.also.check.the."suffixes |
11e840 | 22 20 70 72 6f 70 65 72 74 79 20 6f 66 20 74 68 65 20 70 6c 75 67 69 6e 3f 0a 20 20 20 20 20 20 | ".property.of.the.plugin?....... |
11e860 | 2f 2f 20 46 69 6c 65 64 20 61 73 20 62 75 67 20 33 39 35 31 33 35 2e 0a 20 20 20 20 20 20 69 66 | //.Filed.as.bug.395135........if |
11e880 | 20 28 68 69 64 65 50 6c 75 67 69 6e 73 57 69 74 68 6f 75 74 45 78 74 65 6e 73 69 6f 6e 73 20 26 | .(hidePluginsWithoutExtensions.& |
11e8a0 | 26 20 68 61 6e 64 6c 65 72 49 6e 66 6f 2e 68 61 6e 64 6c 65 64 4f 6e 6c 79 42 79 50 6c 75 67 69 | &.handlerInfo.handledOnlyByPlugi |
11e8c0 | 6e 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 68 61 6e 64 6c 65 72 49 6e 66 6f 2e 77 72 61 70 70 | n.&&...........handlerInfo.wrapp |
11e8e0 | 65 64 48 61 6e 64 6c 65 72 49 6e 66 6f 20 69 6e 73 74 61 6e 63 65 6f 66 20 43 69 2e 6e 73 49 4d | edHandlerInfo.instanceof.Ci.nsIM |
11e900 | 49 4d 45 49 6e 66 6f 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 21 68 61 6e 64 6c 65 72 49 6e 66 | IMEInfo.&&...........!handlerInf |
11e920 | 6f 2e 70 72 69 6d 61 72 79 45 78 74 65 6e 73 69 6f 6e 29 0a 20 20 20 20 20 20 20 20 63 6f 6e 74 | o.primaryExtension).........cont |
11e940 | 69 6e 75 65 3b 0a 0a 20 20 20 20 20 20 2f 2f 20 48 69 64 65 20 74 79 70 65 73 20 68 61 6e 64 6c | inue;........//.Hide.types.handl |
11e960 | 65 64 20 6f 6e 6c 79 20 62 79 20 70 6c 75 67 69 6e 73 20 69 66 20 73 6f 20 70 72 65 66 65 64 2e | ed.only.by.plugins.if.so.prefed. |
11e980 | 0a 20 20 20 20 20 20 69 66 20 28 68 61 6e 64 6c 65 72 49 6e 66 6f 2e 68 61 6e 64 6c 65 64 4f 6e | .......if.(handlerInfo.handledOn |
11e9a0 | 6c 79 42 79 50 6c 75 67 69 6e 20 26 26 20 21 73 68 6f 77 50 6c 75 67 69 6e 73 29 0a 20 20 20 20 | lyByPlugin.&&.!showPlugins)..... |
11e9c0 | 20 20 20 20 63 6f 6e 74 69 6e 75 65 3b 0a 0a 20 20 20 20 20 20 2f 2f 20 57 65 20 63 6f 75 6c 64 | ....continue;........//.We.could |
11e9e0 | 6e 27 74 20 66 69 6e 64 20 61 6e 79 20 72 65 61 73 6f 6e 20 74 6f 20 65 78 63 6c 75 64 65 20 74 | n't.find.any.reason.to.exclude.t |
11ea00 | 68 65 20 74 79 70 65 2c 20 73 6f 20 69 6e 63 6c 75 64 65 20 69 74 2e 0a 20 20 20 20 20 20 74 68 | he.type,.so.include.it........th |
11ea20 | 69 73 2e 5f 76 69 73 69 62 6c 65 54 79 70 65 73 2e 70 75 73 68 28 68 61 6e 64 6c 65 72 49 6e 66 | is._visibleTypes.push(handlerInf |
11ea40 | 6f 29 3b 0a 0a 20 20 20 20 20 20 69 66 20 28 68 61 6e 64 6c 65 72 49 6e 66 6f 2e 64 65 73 63 72 | o);........if.(handlerInfo.descr |
11ea60 | 69 70 74 69 6f 6e 20 69 6e 20 74 68 69 73 2e 5f 76 69 73 69 62 6c 65 54 79 70 65 44 65 73 63 72 | iption.in.this._visibleTypeDescr |
11ea80 | 69 70 74 69 6f 6e 43 6f 75 6e 74 29 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 76 69 73 69 62 | iptionCount).........this._visib |
11eaa0 | 6c 65 54 79 70 65 44 65 73 63 72 69 70 74 69 6f 6e 43 6f 75 6e 74 5b 68 61 6e 64 6c 65 72 49 6e | leTypeDescriptionCount[handlerIn |
11eac0 | 66 6f 2e 64 65 73 63 72 69 70 74 69 6f 6e 5d 2b 2b 3b 0a 20 20 20 20 20 20 65 6c 73 65 0a 20 20 | fo.description]++;.......else... |
11eae0 | 20 20 20 20 20 20 74 68 69 73 2e 5f 76 69 73 69 62 6c 65 54 79 70 65 44 65 73 63 72 69 70 74 69 | ......this._visibleTypeDescripti |
11eb00 | 6f 6e 43 6f 75 6e 74 5b 68 61 6e 64 6c 65 72 49 6e 66 6f 2e 64 65 73 63 72 69 70 74 69 6f 6e 5d | onCount[handlerInfo.description] |
11eb20 | 20 3d 20 31 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 5f 72 65 62 75 69 6c 64 56 69 65 77 | .=.1;.....}...},...._rebuildView |
11eb40 | 3a 20 66 75 6e 63 74 69 6f 6e 28 29 20 7b 0a 20 20 20 20 2f 2f 20 43 6c 65 61 72 20 74 68 65 20 | :.function().{.....//.Clear.the. |
11eb60 | 6c 69 73 74 20 6f 66 20 65 6e 74 72 69 65 73 2e 0a 20 20 20 20 77 68 69 6c 65 20 28 74 68 69 73 | list.of.entries......while.(this |
11eb80 | 2e 5f 6c 69 73 74 2e 63 68 69 6c 64 4e 6f 64 65 73 2e 6c 65 6e 67 74 68 20 3e 20 31 29 0a 20 20 | ._list.childNodes.length.>.1)... |
11eba0 | 20 20 20 20 74 68 69 73 2e 5f 6c 69 73 74 2e 72 65 6d 6f 76 65 43 68 69 6c 64 28 74 68 69 73 2e | ....this._list.removeChild(this. |
11ebc0 | 5f 6c 69 73 74 2e 6c 61 73 74 43 68 69 6c 64 29 3b 0a 0a 20 20 20 20 76 61 72 20 76 69 73 69 62 | _list.lastChild);......var.visib |
11ebe0 | 6c 65 54 79 70 65 73 20 3d 20 74 68 69 73 2e 5f 76 69 73 69 62 6c 65 54 79 70 65 73 3b 0a 0a 20 | leTypes.=.this._visibleTypes;... |
11ec00 | 20 20 20 2f 2f 20 49 66 20 74 68 65 20 75 73 65 72 20 69 73 20 66 69 6c 74 65 72 69 6e 67 20 74 | ...//.If.the.user.is.filtering.t |
11ec20 | 68 65 20 6c 69 73 74 2c 20 74 68 65 6e 20 6f 6e 6c 79 20 73 68 6f 77 20 6d 61 74 63 68 69 6e 67 | he.list,.then.only.show.matching |
11ec40 | 20 74 79 70 65 73 2e 0a 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 66 69 6c 74 65 72 2e 76 61 6c | .types......if.(this._filter.val |
11ec60 | 75 65 29 0a 20 20 20 20 20 20 76 69 73 69 62 6c 65 54 79 70 65 73 20 3d 20 76 69 73 69 62 6c 65 | ue).......visibleTypes.=.visible |
11ec80 | 54 79 70 65 73 2e 66 69 6c 74 65 72 28 74 68 69 73 2e 5f 6d 61 74 63 68 65 73 46 69 6c 74 65 72 | Types.filter(this._matchesFilter |
11eca0 | 2c 20 74 68 69 73 29 3b 0a 0a 20 20 20 20 66 6f 72 20 65 61 63 68 20 28 6c 65 74 20 76 69 73 69 | ,.this);......for.each.(let.visi |
11ecc0 | 62 6c 65 54 79 70 65 20 69 6e 20 76 69 73 69 62 6c 65 54 79 70 65 73 29 20 7b 0a 20 20 20 20 20 | bleType.in.visibleTypes).{...... |
11ece0 | 20 6c 65 74 20 69 74 65 6d 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 63 72 65 61 74 65 45 6c 65 6d 65 | .let.item.=.document.createEleme |
11ed00 | 6e 74 28 22 72 69 63 68 6c 69 73 74 69 74 65 6d 22 29 3b 0a 20 20 20 20 20 20 69 74 65 6d 2e 73 | nt("richlistitem");.......item.s |
11ed20 | 65 74 41 74 74 72 69 62 75 74 65 28 22 74 79 70 65 22 2c 20 76 69 73 69 62 6c 65 54 79 70 65 2e | etAttribute("type",.visibleType. |
11ed40 | 74 79 70 65 29 3b 0a 20 20 20 20 20 20 69 74 65 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 | type);.......item.setAttribute(" |
11ed60 | 74 79 70 65 44 65 73 63 72 69 70 74 69 6f 6e 22 2c 20 74 68 69 73 2e 5f 64 65 73 63 72 69 62 65 | typeDescription",.this._describe |
11ed80 | 54 79 70 65 28 76 69 73 69 62 6c 65 54 79 70 65 29 29 3b 0a 20 20 20 20 20 20 69 66 20 28 76 69 | Type(visibleType));.......if.(vi |
11eda0 | 73 69 62 6c 65 54 79 70 65 2e 73 6d 61 6c 6c 49 63 6f 6e 29 0a 20 20 20 20 20 20 20 20 69 74 65 | sibleType.smallIcon).........ite |
11edc0 | 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 74 79 70 65 49 63 6f 6e 22 2c 20 76 69 73 69 62 | m.setAttribute("typeIcon",.visib |
11ede0 | 6c 65 54 79 70 65 2e 73 6d 61 6c 6c 49 63 6f 6e 29 3b 0a 20 20 20 20 20 20 69 74 65 6d 2e 73 65 | leType.smallIcon);.......item.se |
11ee00 | 74 41 74 74 72 69 62 75 74 65 28 22 61 63 74 69 6f 6e 44 65 73 63 72 69 70 74 69 6f 6e 22 2c 0a | tAttribute("actionDescription",. |
11ee20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 64 65 | ........................this._de |
11ee40 | 73 63 72 69 62 65 50 72 65 66 65 72 72 65 64 41 63 74 69 6f 6e 28 76 69 73 69 62 6c 65 54 79 70 | scribePreferredAction(visibleTyp |
11ee60 | 65 29 29 3b 0a 0a 20 20 20 20 20 20 69 66 20 28 21 74 68 69 73 2e 5f 73 65 74 49 63 6f 6e 43 6c | e));........if.(!this._setIconCl |
11ee80 | 61 73 73 46 6f 72 50 72 65 66 65 72 72 65 64 41 63 74 69 6f 6e 28 76 69 73 69 62 6c 65 54 79 70 | assForPreferredAction(visibleTyp |
11eea0 | 65 2c 20 69 74 65 6d 29 29 20 7b 0a 20 20 20 20 20 20 20 20 69 74 65 6d 2e 73 65 74 41 74 74 72 | e,.item)).{.........item.setAttr |
11eec0 | 69 62 75 74 65 28 22 61 63 74 69 6f 6e 49 63 6f 6e 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ibute("actionIcon",............. |
11eee0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 67 65 74 49 63 6f 6e 55 52 4c 46 6f | ..............this._getIconURLFo |
11ef00 | 72 50 72 65 66 65 72 72 65 64 41 63 74 69 6f 6e 28 76 69 73 69 62 6c 65 54 79 70 65 29 29 3b 0a | rPreferredAction(visibleType));. |
11ef20 | 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 6c 69 73 74 2e 61 70 70 65 6e 64 | ......}........this._list.append |
11ef40 | 43 68 69 6c 64 28 69 74 65 6d 29 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 74 68 69 73 2e 5f 73 65 | Child(item);.....}......this._se |
11ef60 | 6c 65 63 74 4c 61 73 74 53 65 6c 65 63 74 65 64 54 79 70 65 28 29 3b 0a 20 20 7d 2c 0a 0a 20 20 | lectLastSelectedType();...},.... |
11ef80 | 5f 6d 61 74 63 68 65 73 46 69 6c 74 65 72 3a 20 66 75 6e 63 74 69 6f 6e 28 61 54 79 70 65 29 20 | _matchesFilter:.function(aType). |
11efa0 | 7b 0a 20 20 20 20 76 61 72 20 66 69 6c 74 65 72 56 61 6c 75 65 20 3d 20 74 68 69 73 2e 5f 66 69 | {.....var.filterValue.=.this._fi |
11efc0 | 6c 74 65 72 2e 76 61 6c 75 65 2e 74 6f 4c 6f 77 65 72 43 61 73 65 28 29 3b 0a 20 20 20 20 72 65 | lter.value.toLowerCase();.....re |
11efe0 | 74 75 72 6e 20 74 68 69 73 2e 5f 64 65 73 63 72 69 62 65 54 79 70 65 28 61 54 79 70 65 29 2e 74 | turn.this._describeType(aType).t |
11f000 | 6f 4c 6f 77 65 72 43 61 73 65 28 29 2e 69 6e 64 65 78 4f 66 28 66 69 6c 74 65 72 56 61 6c 75 65 | oLowerCase().indexOf(filterValue |
11f020 | 29 20 21 3d 20 2d 31 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 64 65 73 63 | ).!=.-1.||............this._desc |
11f040 | 72 69 62 65 50 72 65 66 65 72 72 65 64 41 63 74 69 6f 6e 28 61 54 79 70 65 29 2e 74 6f 4c 6f 77 | ribePreferredAction(aType).toLow |
11f060 | 65 72 43 61 73 65 28 29 2e 69 6e 64 65 78 4f 66 28 66 69 6c 74 65 72 56 61 6c 75 65 29 20 21 3d | erCase().indexOf(filterValue).!= |
11f080 | 20 2d 31 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 44 65 73 63 72 69 62 65 2c 20 | .-1;...},..../**....*.Describe,. |
11f0a0 | 69 6e 20 61 20 68 75 6d 61 6e 2d 72 65 61 64 61 62 6c 65 20 66 61 73 68 69 6f 6e 2c 20 74 68 65 | in.a.human-readable.fashion,.the |
11f0c0 | 20 74 79 70 65 20 72 65 70 72 65 73 65 6e 74 65 64 20 62 79 20 74 68 65 20 67 69 76 65 6e 0a 20 | .type.represented.by.the.given.. |
11f0e0 | 20 20 2a 20 68 61 6e 64 6c 65 72 20 69 6e 66 6f 20 6f 62 6a 65 63 74 2e 20 20 4e 6f 72 6d 61 6c | ..*.handler.info.object...Normal |
11f100 | 6c 79 20 74 68 69 73 20 69 73 20 6a 75 73 74 20 74 68 65 20 64 65 73 63 72 69 70 74 69 6f 6e 20 | ly.this.is.just.the.description. |
11f120 | 70 72 6f 76 69 64 65 64 20 62 79 0a 20 20 20 2a 20 74 68 65 20 69 6e 66 6f 20 6f 62 6a 65 63 74 | provided.by....*.the.info.object |
11f140 | 2c 20 62 75 74 20 69 66 20 6d 6f 72 65 20 74 68 61 6e 20 6f 6e 65 20 6f 62 6a 65 63 74 20 70 72 | ,.but.if.more.than.one.object.pr |
11f160 | 65 73 65 6e 74 73 20 74 68 65 20 73 61 6d 65 20 64 65 73 63 72 69 70 74 69 6f 6e 2c 0a 20 20 20 | esents.the.same.description,.... |
11f180 | 2a 20 74 68 65 6e 20 77 65 20 61 6e 6e 6f 74 61 74 65 20 74 68 65 20 64 75 70 6c 69 63 61 74 65 | *.then.we.annotate.the.duplicate |
11f1a0 | 20 64 65 73 63 72 69 70 74 69 6f 6e 73 20 77 69 74 68 20 74 68 65 20 74 79 70 65 20 69 74 73 65 | .descriptions.with.the.type.itse |
11f1c0 | 6c 66 20 74 6f 20 68 65 6c 70 0a 20 20 20 2a 20 75 73 65 72 73 20 64 69 73 74 69 6e 67 75 69 73 | lf.to.help....*.users.distinguis |
11f1e0 | 68 20 62 65 74 77 65 65 6e 20 74 68 6f 73 65 20 74 79 70 65 73 2e 0a 20 20 20 2a 0a 20 20 20 2a | h.between.those.types.....*....* |
11f200 | 20 40 70 61 72 61 6d 20 61 48 61 6e 64 6c 65 72 49 6e 66 6f 20 7b 6e 73 49 48 61 6e 64 6c 65 72 | .@param.aHandlerInfo.{nsIHandler |
11f220 | 49 6e 66 6f 7d 20 74 68 65 20 74 79 70 65 20 62 65 69 6e 67 20 64 65 73 63 72 69 62 65 64 0a 20 | Info}.the.type.being.described.. |
11f240 | 20 20 2a 20 40 72 65 74 75 72 6e 73 20 7b 73 74 72 69 6e 67 7d 20 61 20 64 65 73 63 72 69 70 74 | ..*.@returns.{string}.a.descript |
11f260 | 69 6f 6e 20 6f 66 20 74 68 65 20 74 79 70 65 0a 20 20 20 2a 2f 0a 20 20 5f 64 65 73 63 72 69 62 | ion.of.the.type....*/..._describ |
11f280 | 65 54 79 70 65 3a 20 66 75 6e 63 74 69 6f 6e 28 61 48 61 6e 64 6c 65 72 49 6e 66 6f 29 20 7b 0a | eType:.function(aHandlerInfo).{. |
11f2a0 | 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 76 69 73 69 62 6c 65 54 79 70 65 44 65 73 63 72 69 70 | ....if.(this._visibleTypeDescrip |
11f2c0 | 74 69 6f 6e 43 6f 75 6e 74 5b 61 48 61 6e 64 6c 65 72 49 6e 66 6f 2e 64 65 73 63 72 69 70 74 69 | tionCount[aHandlerInfo.descripti |
11f2e0 | 6f 6e 5d 20 3e 20 31 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 70 72 65 66 | on].>.1).......return.this._pref |
11f300 | 73 42 75 6e 64 6c 65 2e 67 65 74 46 6f 72 6d 61 74 74 65 64 53 74 72 69 6e 67 28 22 74 79 70 65 | sBundle.getFormattedString("type |
11f320 | 44 65 73 63 72 69 70 74 69 6f 6e 57 69 74 68 54 79 70 65 22 2c 0a 20 20 20 20 20 20 20 20 20 20 | DescriptionWithType",........... |
11f340 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
11f360 | 20 20 20 20 20 20 20 20 5b 61 48 61 6e 64 6c 65 72 49 6e 66 6f 2e 64 65 73 63 72 69 70 74 69 6f | ........[aHandlerInfo.descriptio |
11f380 | 6e 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | n,.............................. |
11f3a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 48 61 6e 64 6c 65 72 49 6e | ......................aHandlerIn |
11f3c0 | 66 6f 2e 74 79 70 65 5d 29 3b 0a 0a 20 20 20 20 72 65 74 75 72 6e 20 61 48 61 6e 64 6c 65 72 49 | fo.type]);......return.aHandlerI |
11f3e0 | 6e 66 6f 2e 64 65 73 63 72 69 70 74 69 6f 6e 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 | nfo.description;...},..../**.... |
11f400 | 2a 20 44 65 73 63 72 69 62 65 2c 20 69 6e 20 61 20 68 75 6d 61 6e 2d 72 65 61 64 61 62 6c 65 20 | *.Describe,.in.a.human-readable. |
11f420 | 66 61 73 68 69 6f 6e 2c 20 74 68 65 20 70 72 65 66 65 72 72 65 64 20 61 63 74 69 6f 6e 20 74 6f | fashion,.the.preferred.action.to |
11f440 | 20 74 61 6b 65 20 6f 6e 0a 20 20 20 2a 20 74 68 65 20 74 79 70 65 20 72 65 70 72 65 73 65 6e 74 | .take.on....*.the.type.represent |
11f460 | 65 64 20 62 79 20 74 68 65 20 67 69 76 65 6e 20 68 61 6e 64 6c 65 72 20 69 6e 66 6f 20 6f 62 6a | ed.by.the.given.handler.info.obj |
11f480 | 65 63 74 2e 0a 20 20 20 2a 0a 20 20 20 2a 20 58 58 58 20 53 68 6f 75 6c 64 20 74 68 69 73 20 62 | ect.....*....*.XXX.Should.this.b |
11f4a0 | 65 20 70 61 72 74 20 6f 66 20 74 68 65 20 48 61 6e 64 6c 65 72 49 6e 66 6f 57 72 61 70 70 65 72 | e.part.of.the.HandlerInfoWrapper |
11f4c0 | 20 69 6e 74 65 72 66 61 63 65 3f 20 20 49 74 20 77 6f 75 6c 64 0a 20 20 20 2a 20 76 69 6f 6c 61 | .interface?..It.would....*.viola |
11f4e0 | 74 65 20 74 68 65 20 73 65 70 61 72 61 74 69 6f 6e 20 6f 66 20 6d 6f 64 65 6c 20 61 6e 64 20 76 | te.the.separation.of.model.and.v |
11f500 | 69 65 77 2c 20 62 75 74 20 69 74 20 6d 69 67 68 74 20 6d 61 6b 65 20 6d 6f 72 65 20 73 65 6e 73 | iew,.but.it.might.make.more.sens |
11f520 | 65 0a 20 20 20 2a 20 6e 6f 6e 65 74 68 65 6c 65 73 73 20 28 66 2e 65 2e 20 69 74 20 77 6f 75 6c | e....*.nonetheless.(f.e..it.woul |
11f540 | 64 20 6d 61 6b 65 20 73 6f 72 74 54 79 70 65 73 20 65 61 73 69 65 72 29 2e 0a 20 20 20 2a 0a 20 | d.make.sortTypes.easier).....*.. |
11f560 | 20 20 2a 20 40 70 61 72 61 6d 20 61 48 61 6e 64 6c 65 72 49 6e 66 6f 20 7b 6e 73 49 48 61 6e 64 | ..*.@param.aHandlerInfo.{nsIHand |
11f580 | 6c 65 72 49 6e 66 6f 7d 20 74 68 65 20 74 79 70 65 20 77 68 6f 73 65 20 70 72 65 66 65 72 72 65 | lerInfo}.the.type.whose.preferre |
11f5a0 | 64 20 61 63 74 69 6f 6e 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | d.action....*................... |
11f5c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 73 20 62 65 69 6e 67 20 64 65 73 63 | ...................is.being.desc |
11f5e0 | 72 69 62 65 64 0a 20 20 20 2a 20 40 72 65 74 75 72 6e 73 20 7b 73 74 72 69 6e 67 7d 20 61 20 64 | ribed....*.@returns.{string}.a.d |
11f600 | 65 73 63 72 69 70 74 69 6f 6e 20 6f 66 20 74 68 65 20 61 63 74 69 6f 6e 0a 20 20 20 2a 2f 0a 20 | escription.of.the.action....*/.. |
11f620 | 20 5f 64 65 73 63 72 69 62 65 50 72 65 66 65 72 72 65 64 41 63 74 69 6f 6e 3a 20 66 75 6e 63 74 | ._describePreferredAction:.funct |
11f640 | 69 6f 6e 28 61 48 61 6e 64 6c 65 72 49 6e 66 6f 29 20 7b 0a 20 20 20 20 2f 2f 20 61 6c 77 61 79 | ion(aHandlerInfo).{.....//.alway |
11f660 | 73 41 73 6b 42 65 66 6f 72 65 48 61 6e 64 6c 69 6e 67 20 6f 76 65 72 72 69 64 65 73 20 74 68 65 | sAskBeforeHandling.overrides.the |
11f680 | 20 70 72 65 66 65 72 72 65 64 20 61 63 74 69 6f 6e 2c 20 73 6f 20 69 66 20 74 68 61 74 20 66 6c | .preferred.action,.so.if.that.fl |
11f6a0 | 61 67 0a 20 20 20 20 2f 2f 20 69 73 20 73 65 74 2c 20 74 68 65 6e 20 64 65 73 63 72 69 62 65 20 | ag.....//.is.set,.then.describe. |
11f6c0 | 74 68 61 74 20 62 65 68 61 76 69 6f 72 20 69 6e 73 74 65 61 64 2e 20 20 46 6f 72 20 6d 6f 73 74 | that.behavior.instead...For.most |
11f6e0 | 20 74 79 70 65 73 2c 20 74 68 69 73 20 69 73 0a 20 20 20 20 2f 2f 20 74 68 65 20 22 61 6c 77 61 | .types,.this.is.....//.the."alwa |
11f700 | 79 73 41 73 6b 22 20 73 74 72 69 6e 67 2c 20 62 75 74 20 66 6f 72 20 74 68 65 20 66 65 65 64 20 | ysAsk".string,.but.for.the.feed. |
11f720 | 74 79 70 65 20 77 65 20 73 68 6f 77 20 73 6f 6d 65 74 68 69 6e 67 20 73 70 65 63 69 61 6c 2e 0a | type.we.show.something.special.. |
11f740 | 20 20 20 20 69 66 20 28 61 48 61 6e 64 6c 65 72 49 6e 66 6f 2e 61 6c 77 61 79 73 41 73 6b 42 65 | ....if.(aHandlerInfo.alwaysAskBe |
11f760 | 66 6f 72 65 48 61 6e 64 6c 69 6e 67 29 20 7b 0a 20 20 20 20 20 20 69 66 20 28 69 73 46 65 65 64 | foreHandling).{.......if.(isFeed |
11f780 | 54 79 70 65 28 61 48 61 6e 64 6c 65 72 49 6e 66 6f 2e 74 79 70 65 29 29 0a 20 20 20 20 20 20 20 | Type(aHandlerInfo.type))........ |
11f7a0 | 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 70 72 65 66 73 42 75 6e 64 6c 65 2e 67 65 74 46 6f 72 | .return.this._prefsBundle.getFor |
11f7c0 | 6d 61 74 74 65 64 53 74 72 69 6e 67 28 22 70 72 65 76 69 65 77 49 6e 41 70 70 22 2c 0a 20 20 20 | mattedString("previewInApp",.... |
11f7e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
11f800 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 5b 74 68 69 73 2e 5f 62 72 61 6e 64 53 68 6f | .................[this._brandSho |
11f820 | 72 74 4e 61 6d 65 5d 29 3b 0a 20 20 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 20 20 72 65 74 | rtName]);.......else.........ret |
11f840 | 75 72 6e 20 74 68 69 73 2e 5f 70 72 65 66 73 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 | urn.this._prefsBundle.getString( |
11f860 | 22 61 6c 77 61 79 73 41 73 6b 22 29 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 73 77 69 74 63 68 20 | "alwaysAsk");.....}......switch. |
11f880 | 28 61 48 61 6e 64 6c 65 72 49 6e 66 6f 2e 70 72 65 66 65 72 72 65 64 41 63 74 69 6f 6e 29 20 7b | (aHandlerInfo.preferredAction).{ |
11f8a0 | 0a 20 20 20 20 20 20 63 61 73 65 20 43 69 2e 6e 73 49 48 61 6e 64 6c 65 72 49 6e 66 6f 2e 73 61 | .......case.Ci.nsIHandlerInfo.sa |
11f8c0 | 76 65 54 6f 44 69 73 6b 3a 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 70 | veToDisk:.........return.this._p |
11f8e0 | 72 65 66 73 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 73 61 76 65 46 69 6c 65 22 29 | refsBundle.getString("saveFile") |
11f900 | 3b 0a 0a 20 20 20 20 20 20 63 61 73 65 20 43 69 2e 6e 73 49 48 61 6e 64 6c 65 72 49 6e 66 6f 2e | ;........case.Ci.nsIHandlerInfo. |
11f920 | 75 73 65 48 65 6c 70 65 72 41 70 70 3a 0a 20 20 20 20 20 20 20 20 76 61 72 20 70 72 65 66 65 72 | useHelperApp:.........var.prefer |
11f940 | 72 65 64 41 70 70 20 3d 20 61 48 61 6e 64 6c 65 72 49 6e 66 6f 2e 70 72 65 66 65 72 72 65 64 41 | redApp.=.aHandlerInfo.preferredA |
11f960 | 70 70 6c 69 63 61 74 69 6f 6e 48 61 6e 64 6c 65 72 3b 0a 20 20 20 20 20 20 20 20 76 61 72 20 6e | pplicationHandler;.........var.n |
11f980 | 61 6d 65 3b 0a 20 20 20 20 20 20 20 20 69 66 20 28 70 72 65 66 65 72 72 65 64 41 70 70 20 69 6e | ame;.........if.(preferredApp.in |
11f9a0 | 73 74 61 6e 63 65 6f 66 20 43 69 2e 6e 73 49 4c 6f 63 61 6c 48 61 6e 64 6c 65 72 41 70 70 29 0a | stanceof.Ci.nsILocalHandlerApp). |
11f9c0 | 20 20 20 20 20 20 20 20 20 20 6e 61 6d 65 20 3d 20 67 65 74 44 69 73 70 6c 61 79 4e 61 6d 65 46 | ..........name.=.getDisplayNameF |
11f9e0 | 6f 72 46 69 6c 65 28 70 72 65 66 65 72 72 65 64 41 70 70 2e 65 78 65 63 75 74 61 62 6c 65 29 3b | orFile(preferredApp.executable); |
11fa00 | 0a 20 20 20 20 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 20 20 20 20 6e 61 6d 65 20 3d 20 70 | .........else...........name.=.p |
11fa20 | 72 65 66 65 72 72 65 64 41 70 70 2e 6e 61 6d 65 3b 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e | referredApp.name;.........return |
11fa40 | 20 74 68 69 73 2e 5f 70 72 65 66 73 42 75 6e 64 6c 65 2e 67 65 74 46 6f 72 6d 61 74 74 65 64 53 | .this._prefsBundle.getFormattedS |
11fa60 | 74 72 69 6e 67 28 22 75 73 65 41 70 70 22 2c 20 5b 6e 61 6d 65 5d 29 3b 0a 0a 20 20 20 20 20 20 | tring("useApp",.[name]);........ |
11fa80 | 63 61 73 65 20 43 69 2e 6e 73 49 48 61 6e 64 6c 65 72 49 6e 66 6f 2e 68 61 6e 64 6c 65 49 6e 74 | case.Ci.nsIHandlerInfo.handleInt |
11faa0 | 65 72 6e 61 6c 6c 79 3a 0a 20 20 20 20 20 20 20 20 2f 2f 20 46 6f 72 20 74 68 65 20 66 65 65 64 | ernally:.........//.For.the.feed |
11fac0 | 20 74 79 70 65 2c 20 68 61 6e 64 6c 65 49 6e 74 65 72 6e 61 6c 6c 79 20 6d 65 61 6e 73 20 6c 69 | .type,.handleInternally.means.li |
11fae0 | 76 65 20 62 6f 6f 6b 6d 61 72 6b 73 2e 0a 20 20 20 20 20 20 20 20 69 66 20 28 69 73 46 65 65 64 | ve.bookmarks..........if.(isFeed |
11fb00 | 54 79 70 65 28 61 48 61 6e 64 6c 65 72 49 6e 66 6f 2e 74 79 70 65 29 29 20 0a 20 20 20 20 20 20 | Type(aHandlerInfo.type))........ |
11fb20 | 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 70 72 65 66 73 42 75 6e 64 6c 65 2e 67 65 74 | ....return.this._prefsBundle.get |
11fb40 | 46 6f 72 6d 61 74 74 65 64 53 74 72 69 6e 67 28 22 61 64 64 4c 69 76 65 42 6f 6f 6b 6d 61 72 6b | FormattedString("addLiveBookmark |
11fb60 | 73 49 6e 41 70 70 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | sInApp",........................ |
11fb80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 5b | ...............................[ |
11fba0 | 74 68 69 73 2e 5f 62 72 61 6e 64 53 68 6f 72 74 4e 61 6d 65 5d 29 3b 0a 0a 20 20 20 20 20 20 20 | this._brandShortName]);......... |
11fbc0 | 20 2f 2f 20 46 6f 72 20 6f 74 68 65 72 20 74 79 70 65 73 2c 20 68 61 6e 64 6c 65 49 6e 74 65 72 | .//.For.other.types,.handleInter |
11fbe0 | 6e 61 6c 6c 79 20 6c 6f 6f 6b 73 20 6c 69 6b 65 20 65 69 74 68 65 72 20 75 73 65 48 65 6c 70 65 | nally.looks.like.either.useHelpe |
11fc00 | 72 41 70 70 0a 20 20 20 20 20 20 20 20 2f 2f 20 6f 72 20 75 73 65 53 79 73 74 65 6d 44 65 66 61 | rApp.........//.or.useSystemDefa |
11fc20 | 75 6c 74 20 64 65 70 65 6e 64 69 6e 67 20 6f 6e 20 77 68 65 74 68 65 72 20 6f 72 20 6e 6f 74 20 | ult.depending.on.whether.or.not. |
11fc40 | 74 68 65 72 65 27 73 20 61 20 70 72 65 66 65 72 72 65 64 0a 20 20 20 20 20 20 20 20 2f 2f 20 68 | there's.a.preferred.........//.h |
11fc60 | 61 6e 64 6c 65 72 20 61 70 70 2e 0a 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 69 73 56 | andler.app..........if.(this.isV |
11fc80 | 61 6c 69 64 48 61 6e 64 6c 65 72 41 70 70 28 61 48 61 6e 64 6c 65 72 49 6e 66 6f 2e 70 72 65 66 | alidHandlerApp(aHandlerInfo.pref |
11fca0 | 65 72 72 65 64 41 70 70 6c 69 63 61 74 69 6f 6e 48 61 6e 64 6c 65 72 29 29 0a 20 20 20 20 20 20 | erredApplicationHandler))....... |
11fcc0 | 20 20 20 20 72 65 74 75 72 6e 20 61 48 61 6e 64 6c 65 72 49 6e 66 6f 2e 70 72 65 66 65 72 72 65 | ....return.aHandlerInfo.preferre |
11fce0 | 64 41 70 70 6c 69 63 61 74 69 6f 6e 48 61 6e 64 6c 65 72 2e 6e 61 6d 65 3b 0a 0a 20 20 20 20 20 | dApplicationHandler.name;....... |
11fd00 | 20 20 20 72 65 74 75 72 6e 20 61 48 61 6e 64 6c 65 72 49 6e 66 6f 2e 64 65 66 61 75 6c 74 44 65 | ...return.aHandlerInfo.defaultDe |
11fd20 | 73 63 72 69 70 74 69 6f 6e 3b 0a 0a 20 20 20 20 20 20 20 20 2f 2f 20 58 58 58 20 57 68 79 20 64 | scription;..........//.XXX.Why.d |
11fd40 | 6f 6e 27 74 20 77 65 20 73 61 79 20 74 68 65 20 61 70 70 20 77 69 6c 6c 20 68 61 6e 64 6c 65 20 | on't.we.say.the.app.will.handle. |
11fd60 | 74 68 65 20 74 79 70 65 20 69 6e 74 65 72 6e 61 6c 6c 79 3f 0a 20 20 20 20 20 20 20 20 2f 2f 20 | the.type.internally?.........//. |
11fd80 | 49 73 20 69 74 20 62 65 63 61 75 73 65 20 74 68 65 20 61 70 70 20 63 61 6e 27 74 20 61 63 74 75 | Is.it.because.the.app.can't.actu |
11fda0 | 61 6c 6c 79 20 64 6f 20 74 68 61 74 3f 20 20 42 75 74 20 69 66 20 74 68 61 74 27 73 20 74 72 75 | ally.do.that?..But.if.that's.tru |
11fdc0 | 65 2c 0a 20 20 20 20 20 20 20 20 2f 2f 20 74 68 65 6e 20 77 68 79 20 77 6f 75 6c 64 20 61 20 70 | e,.........//.then.why.would.a.p |
11fde0 | 72 65 66 65 72 72 65 64 41 63 74 69 6f 6e 20 65 76 65 72 20 67 65 74 20 73 65 74 20 74 6f 20 74 | referredAction.ever.get.set.to.t |
11fe00 | 68 69 73 20 76 61 6c 75 65 0a 20 20 20 20 20 20 20 20 2f 2f 20 69 6e 20 74 68 65 20 66 69 72 73 | his.value.........//.in.the.firs |
11fe20 | 74 20 70 6c 61 63 65 3f 0a 0a 20 20 20 20 20 20 63 61 73 65 20 43 69 2e 6e 73 49 48 61 6e 64 6c | t.place?........case.Ci.nsIHandl |
11fe40 | 65 72 49 6e 66 6f 2e 75 73 65 53 79 73 74 65 6d 44 65 66 61 75 6c 74 3a 0a 20 20 20 20 20 20 20 | erInfo.useSystemDefault:........ |
11fe60 | 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 70 72 65 66 73 42 75 6e 64 6c 65 2e 67 65 74 46 6f 72 | .return.this._prefsBundle.getFor |
11fe80 | 6d 61 74 74 65 64 53 74 72 69 6e 67 28 22 75 73 65 44 65 66 61 75 6c 74 22 2c 0a 20 20 20 20 20 | mattedString("useDefault",...... |
11fea0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
11fec0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 5b 61 48 61 6e 64 6c 65 72 49 6e 66 6f 2e 64 65 66 | ...............[aHandlerInfo.def |
11fee0 | 61 75 6c 74 44 65 73 63 72 69 70 74 69 6f 6e 5d 29 3b 0a 0a 20 20 20 20 20 20 63 61 73 65 20 6b | aultDescription]);........case.k |
11ff00 | 41 63 74 69 6f 6e 55 73 65 50 6c 75 67 69 6e 3a 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 | ActionUsePlugin:.........return. |
11ff20 | 74 68 69 73 2e 5f 70 72 65 66 73 42 75 6e 64 6c 65 2e 67 65 74 46 6f 72 6d 61 74 74 65 64 53 74 | this._prefsBundle.getFormattedSt |
11ff40 | 72 69 6e 67 28 22 75 73 65 50 6c 75 67 69 6e 49 6e 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ring("usePluginIn",............. |
11ff60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
11ff80 | 20 20 20 20 20 20 20 20 5b 61 48 61 6e 64 6c 65 72 49 6e 66 6f 2e 70 6c 75 67 69 6e 2e 6e 61 6d | ........[aHandlerInfo.plugin.nam |
11ffa0 | 65 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | e,.............................. |
11ffc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 62 72 | ........................this._br |
11ffe0 | 61 6e 64 53 68 6f 72 74 4e 61 6d 65 5d 29 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 5f 73 | andShortName]);.....}...},...._s |
120000 | 65 6c 65 63 74 4c 61 73 74 53 65 6c 65 63 74 65 64 54 79 70 65 3a 20 66 75 6e 63 74 69 6f 6e 28 | electLastSelectedType:.function( |
120020 | 29 20 7b 0a 20 20 20 20 2f 2f 20 49 66 20 74 68 65 20 6c 69 73 74 20 69 73 20 64 69 73 61 62 6c | ).{.....//.If.the.list.is.disabl |
120040 | 65 64 20 62 79 20 74 68 65 20 70 72 65 66 2e 64 6f 77 6e 6c 6f 61 64 73 2e 64 69 73 61 62 6c 65 | ed.by.the.pref.downloads.disable |
120060 | 5f 62 75 74 74 6f 6e 2e 65 64 69 74 5f 61 63 74 69 6f 6e 73 0a 20 20 20 20 2f 2f 20 70 72 65 66 | _button.edit_actions.....//.pref |
120080 | 65 72 65 6e 63 65 20 62 65 69 6e 67 20 6c 6f 63 6b 65 64 2c 20 74 68 65 6e 20 64 6f 6e 27 74 20 | erence.being.locked,.then.don't. |
1200a0 | 73 65 6c 65 63 74 20 74 68 65 20 74 79 70 65 2c 20 61 73 20 74 68 61 74 20 77 6f 75 6c 64 20 63 | select.the.type,.as.that.would.c |
1200c0 | 61 75 73 65 0a 20 20 20 20 2f 2f 20 69 74 20 74 6f 20 61 70 70 65 61 72 20 73 65 6c 65 63 74 65 | ause.....//.it.to.appear.selecte |
1200e0 | 64 2c 20 77 69 74 68 20 61 20 64 69 66 66 65 72 65 6e 74 20 62 61 63 6b 67 72 6f 75 6e 64 20 61 | d,.with.a.different.background.a |
120100 | 6e 64 20 61 6e 20 61 63 74 69 6f 6e 73 20 6d 65 6e 75 0a 20 20 20 20 2f 2f 20 74 68 61 74 20 6d | nd.an.actions.menu.....//.that.m |
120120 | 61 6b 65 73 20 69 74 20 73 65 65 6d 20 6c 69 6b 65 20 79 6f 75 20 63 61 6e 20 63 68 6f 6f 73 65 | akes.it.seem.like.you.can.choose |
120140 | 20 61 6e 20 61 63 74 69 6f 6e 20 66 6f 72 20 74 68 65 20 74 79 70 65 2e 0a 20 20 20 20 69 66 20 | .an.action.for.the.type......if. |
120160 | 28 74 68 69 73 2e 5f 6c 69 73 74 2e 64 69 73 61 62 6c 65 64 29 0a 20 20 20 20 20 20 72 65 74 75 | (this._list.disabled).......retu |
120180 | 72 6e 3b 0a 0a 20 20 20 20 76 61 72 20 6c 61 73 74 53 65 6c 65 63 74 65 64 54 79 70 65 20 3d 20 | rn;......var.lastSelectedType.=. |
1201a0 | 74 68 69 73 2e 5f 6c 69 73 74 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 6c 61 73 74 53 65 6c | this._list.getAttribute("lastSel |
1201c0 | 65 63 74 65 64 54 79 70 65 22 29 3b 0a 20 20 20 20 69 66 20 28 21 6c 61 73 74 53 65 6c 65 63 74 | ectedType");.....if.(!lastSelect |
1201e0 | 65 64 54 79 70 65 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 20 20 76 61 72 20 69 | edType).......return;......var.i |
120200 | 74 65 6d 20 3d 20 74 68 69 73 2e 5f 6c 69 73 74 2e 67 65 74 45 6c 65 6d 65 6e 74 73 42 79 41 74 | tem.=.this._list.getElementsByAt |
120220 | 74 72 69 62 75 74 65 28 22 74 79 70 65 22 2c 20 6c 61 73 74 53 65 6c 65 63 74 65 64 54 79 70 65 | tribute("type",.lastSelectedType |
120240 | 29 5b 30 5d 3b 0a 20 20 20 20 69 66 20 28 21 69 74 65 6d 29 0a 20 20 20 20 20 20 72 65 74 75 72 | )[0];.....if.(!item).......retur |
120260 | 6e 3b 0a 0a 20 20 20 20 74 68 69 73 2e 5f 6c 69 73 74 2e 73 65 6c 65 63 74 65 64 49 74 65 6d 20 | n;......this._list.selectedItem. |
120280 | 3d 20 69 74 65 6d 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 57 68 65 74 68 65 72 | =.item;...},..../**....*.Whether |
1202a0 | 20 6f 72 20 6e 6f 74 20 74 68 65 20 67 69 76 65 6e 20 68 61 6e 64 6c 65 72 20 61 70 70 20 69 73 | .or.not.the.given.handler.app.is |
1202c0 | 20 76 61 6c 69 64 2e 0a 20 20 20 2a 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 61 48 61 6e 64 6c 65 | .valid.....*....*.@param.aHandle |
1202e0 | 72 41 70 70 20 7b 6e 73 49 48 61 6e 64 6c 65 72 41 70 70 7d 20 74 68 65 20 68 61 6e 64 6c 65 72 | rApp.{nsIHandlerApp}.the.handler |
120300 | 20 61 70 70 20 69 6e 20 71 75 65 73 74 69 6f 6e 0a 20 20 20 2a 0a 20 20 20 2a 20 40 72 65 74 75 | .app.in.question....*....*.@retu |
120320 | 72 6e 73 20 7b 62 6f 6f 6c 65 61 6e 7d 20 77 68 65 74 68 65 72 20 6f 72 20 6e 6f 74 20 69 74 27 | rns.{boolean}.whether.or.not.it' |
120340 | 73 20 76 61 6c 69 64 0a 20 20 20 2a 2f 0a 20 20 69 73 56 61 6c 69 64 48 61 6e 64 6c 65 72 41 70 | s.valid....*/...isValidHandlerAp |
120360 | 70 3a 20 66 75 6e 63 74 69 6f 6e 28 61 48 61 6e 64 6c 65 72 41 70 70 29 20 7b 0a 20 20 20 20 69 | p:.function(aHandlerApp).{.....i |
120380 | 66 20 28 21 61 48 61 6e 64 6c 65 72 41 70 70 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 66 61 | f.(!aHandlerApp).......return.fa |
1203a0 | 6c 73 65 3b 0a 0a 20 20 20 20 69 66 20 28 61 48 61 6e 64 6c 65 72 41 70 70 20 69 6e 73 74 61 6e | lse;......if.(aHandlerApp.instan |
1203c0 | 63 65 6f 66 20 43 69 2e 6e 73 49 4c 6f 63 61 6c 48 61 6e 64 6c 65 72 41 70 70 29 0a 20 20 20 20 | ceof.Ci.nsILocalHandlerApp)..... |
1203e0 | 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 69 73 56 61 6c 69 64 48 61 6e 64 6c 65 72 45 78 65 | ..return.this._isValidHandlerExe |
120400 | 63 75 74 61 62 6c 65 28 61 48 61 6e 64 6c 65 72 41 70 70 2e 65 78 65 63 75 74 61 62 6c 65 29 3b | cutable(aHandlerApp.executable); |
120420 | 0a 0a 20 20 20 20 69 66 20 28 61 48 61 6e 64 6c 65 72 41 70 70 20 69 6e 73 74 61 6e 63 65 6f 66 | ......if.(aHandlerApp.instanceof |
120440 | 20 43 69 2e 6e 73 49 57 65 62 48 61 6e 64 6c 65 72 41 70 70 29 0a 20 20 20 20 20 20 72 65 74 75 | .Ci.nsIWebHandlerApp).......retu |
120460 | 72 6e 20 61 48 61 6e 64 6c 65 72 41 70 70 2e 75 72 69 54 65 6d 70 6c 61 74 65 3b 0a 0a 20 20 20 | rn.aHandlerApp.uriTemplate;..... |
120480 | 20 69 66 20 28 61 48 61 6e 64 6c 65 72 41 70 70 20 69 6e 73 74 61 6e 63 65 6f 66 20 43 69 2e 6e | .if.(aHandlerApp.instanceof.Ci.n |
1204a0 | 73 49 57 65 62 43 6f 6e 74 65 6e 74 48 61 6e 64 6c 65 72 49 6e 66 6f 29 0a 20 20 20 20 20 20 72 | sIWebContentHandlerInfo).......r |
1204c0 | 65 74 75 72 6e 20 61 48 61 6e 64 6c 65 72 41 70 70 2e 75 72 69 3b 0a 0a 20 20 20 20 72 65 74 75 | eturn.aHandlerApp.uri;......retu |
1204e0 | 72 6e 20 66 61 6c 73 65 3b 0a 20 20 7d 2c 0a 0a 20 20 5f 69 73 56 61 6c 69 64 48 61 6e 64 6c 65 | rn.false;...},...._isValidHandle |
120500 | 72 45 78 65 63 75 74 61 62 6c 65 3a 20 66 75 6e 63 74 69 6f 6e 28 61 45 78 65 63 75 74 61 62 6c | rExecutable:.function(aExecutabl |
120520 | 65 29 20 7b 0a 20 20 20 20 72 65 74 75 72 6e 20 61 45 78 65 63 75 74 61 62 6c 65 20 26 26 0a 20 | e).{.....return.aExecutable.&&.. |
120540 | 20 20 20 20 20 20 20 20 20 20 61 45 78 65 63 75 74 61 62 6c 65 2e 65 78 69 73 74 73 28 29 20 26 | ..........aExecutable.exists().& |
120560 | 26 0a 20 20 20 20 20 20 20 20 20 20 20 61 45 78 65 63 75 74 61 62 6c 65 2e 69 73 45 78 65 63 75 | &............aExecutable.isExecu |
120580 | 74 61 62 6c 65 28 29 20 26 26 0a 2f 2f 20 58 58 58 62 65 6e 20 2d 20 77 65 20 6e 65 65 64 20 74 | table().&&.//.XXXben.-.we.need.t |
1205a0 | 6f 20 63 6f 6d 70 61 72 65 20 74 68 69 73 20 77 69 74 68 20 74 68 65 20 72 75 6e 6e 69 6e 67 20 | o.compare.this.with.the.running. |
1205c0 | 69 6e 73 74 61 6e 63 65 20 65 78 65 63 75 74 61 62 6c 65 0a 2f 2f 20 20 20 20 20 20 20 20 20 20 | instance.executable.//.......... |
1205e0 | 6a 75 73 74 20 64 6f 6e 27 74 20 6b 6e 6f 77 20 68 6f 77 20 74 6f 20 64 6f 20 74 68 61 74 20 76 | just.don't.know.how.to.do.that.v |
120600 | 69 61 20 73 63 72 69 70 74 2e 2e 2e 0a 2f 2f 20 58 58 58 6d 61 6e 6f 20 54 42 44 3a 20 63 61 6e | ia.script....//.XXXmano.TBD:.can |
120620 | 20 70 72 6f 62 61 62 6c 79 20 61 64 64 20 74 68 69 73 20 74 6f 20 6e 73 49 53 68 65 6c 6c 53 65 | .probably.add.this.to.nsIShellSe |
120640 | 72 76 69 63 65 0a 2f 2f 40 6c 69 6e 65 20 31 33 37 34 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 | rvice.//@line.1374."/builds/moz2 |
120660 | 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 | _slave/linux_build/build/browser |
120680 | 2f 63 6f 6d 70 6f 6e 65 6e 74 73 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 61 70 70 6c 69 63 61 74 | /components/preferences/applicat |
1206a0 | 69 6f 6e 73 2e 6a 73 22 0a 20 20 20 61 45 78 65 63 75 74 61 62 6c 65 2e 6c 65 61 66 4e 61 6d 65 | ions.js"....aExecutable.leafName |
1206c0 | 20 21 3d 20 22 66 69 72 65 66 6f 78 2d 62 69 6e 22 3b 0a 2f 2f 40 6c 69 6e 65 20 31 33 37 37 20 | .!=."firefox-bin";.//@line.1377. |
1206e0 | 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f | "/builds/moz2_slave/linux_build/ |
120700 | 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 63 6f 6d 70 6f 6e 65 6e 74 73 2f 70 72 65 66 65 72 65 | build/browser/components/prefere |
120720 | 6e 63 65 73 2f 61 70 70 6c 69 63 61 74 69 6f 6e 73 2e 6a 73 22 0a 20 20 7d 2c 0a 0a 20 20 2f 2a | nces/applications.js"...},..../* |
120740 | 2a 0a 20 20 20 2a 20 52 65 62 75 69 6c 64 20 74 68 65 20 61 63 74 69 6f 6e 73 20 6d 65 6e 75 20 | *....*.Rebuild.the.actions.menu. |
120760 | 66 6f 72 20 74 68 65 20 73 65 6c 65 63 74 65 64 20 65 6e 74 72 79 2e 20 20 47 65 74 73 20 63 61 | for.the.selected.entry...Gets.ca |
120780 | 6c 6c 65 64 20 62 79 0a 20 20 20 2a 20 74 68 65 20 72 69 63 68 6c 69 73 74 69 74 65 6d 20 63 6f | lled.by....*.the.richlistitem.co |
1207a0 | 6e 73 74 72 75 63 74 6f 72 20 77 68 65 6e 20 61 6e 20 65 6e 74 72 79 20 69 6e 20 74 68 65 20 6c | nstructor.when.an.entry.in.the.l |
1207c0 | 69 73 74 20 67 65 74 73 20 73 65 6c 65 63 74 65 64 2e 0a 20 20 20 2a 2f 0a 20 20 72 65 62 75 69 | ist.gets.selected.....*/...rebui |
1207e0 | 6c 64 41 63 74 69 6f 6e 73 4d 65 6e 75 3a 20 66 75 6e 63 74 69 6f 6e 28 29 20 7b 0a 20 20 20 20 | ldActionsMenu:.function().{..... |
120800 | 76 61 72 20 74 79 70 65 49 74 65 6d 20 3d 20 74 68 69 73 2e 5f 6c 69 73 74 2e 73 65 6c 65 63 74 | var.typeItem.=.this._list.select |
120820 | 65 64 49 74 65 6d 3b 0a 20 20 20 20 76 61 72 20 68 61 6e 64 6c 65 72 49 6e 66 6f 20 3d 20 74 68 | edItem;.....var.handlerInfo.=.th |
120840 | 69 73 2e 5f 68 61 6e 64 6c 65 64 54 79 70 65 73 5b 74 79 70 65 49 74 65 6d 2e 74 79 70 65 5d 3b | is._handledTypes[typeItem.type]; |
120860 | 0a 20 20 20 20 76 61 72 20 6d 65 6e 75 20 3d 0a 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 | .....var.menu.=.......document.g |
120880 | 65 74 41 6e 6f 6e 79 6d 6f 75 73 45 6c 65 6d 65 6e 74 42 79 41 74 74 72 69 62 75 74 65 28 74 79 | etAnonymousElementByAttribute(ty |
1208a0 | 70 65 49 74 65 6d 2c 20 22 63 6c 61 73 73 22 2c 20 22 61 63 74 69 6f 6e 73 4d 65 6e 75 22 29 3b | peItem,."class",."actionsMenu"); |
1208c0 | 0a 20 20 20 20 76 61 72 20 6d 65 6e 75 50 6f 70 75 70 20 3d 20 6d 65 6e 75 2e 6d 65 6e 75 70 6f | .....var.menuPopup.=.menu.menupo |
1208e0 | 70 75 70 3b 0a 0a 20 20 20 20 2f 2f 20 43 6c 65 61 72 20 6f 75 74 20 65 78 69 73 74 69 6e 67 20 | pup;......//.Clear.out.existing. |
120900 | 69 74 65 6d 73 2e 0a 20 20 20 20 77 68 69 6c 65 20 28 6d 65 6e 75 50 6f 70 75 70 2e 68 61 73 43 | items......while.(menuPopup.hasC |
120920 | 68 69 6c 64 4e 6f 64 65 73 28 29 29 0a 20 20 20 20 20 20 6d 65 6e 75 50 6f 70 75 70 2e 72 65 6d | hildNodes()).......menuPopup.rem |
120940 | 6f 76 65 43 68 69 6c 64 28 6d 65 6e 75 50 6f 70 75 70 2e 6c 61 73 74 43 68 69 6c 64 29 3b 0a 0a | oveChild(menuPopup.lastChild);.. |
120960 | 20 20 20 20 7b 0a 20 20 20 20 20 20 76 61 72 20 61 73 6b 4d 65 6e 75 49 74 65 6d 20 3d 20 64 6f | ....{.......var.askMenuItem.=.do |
120980 | 63 75 6d 65 6e 74 2e 63 72 65 61 74 65 45 6c 65 6d 65 6e 74 28 22 6d 65 6e 75 69 74 65 6d 22 29 | cument.createElement("menuitem") |
1209a0 | 3b 0a 20 20 20 20 20 20 61 73 6b 4d 65 6e 75 49 74 65 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 | ;.......askMenuItem.setAttribute |
1209c0 | 28 22 61 6c 77 61 79 73 41 73 6b 22 2c 20 22 74 72 75 65 22 29 3b 0a 20 20 20 20 20 20 6c 65 74 | ("alwaysAsk",."true");.......let |
1209e0 | 20 6c 61 62 65 6c 3b 0a 20 20 20 20 20 20 69 66 20 28 69 73 46 65 65 64 54 79 70 65 28 68 61 6e | .label;.......if.(isFeedType(han |
120a00 | 64 6c 65 72 49 6e 66 6f 2e 74 79 70 65 29 29 0a 20 20 20 20 20 20 20 20 6c 61 62 65 6c 20 3d 20 | dlerInfo.type)).........label.=. |
120a20 | 74 68 69 73 2e 5f 70 72 65 66 73 42 75 6e 64 6c 65 2e 67 65 74 46 6f 72 6d 61 74 74 65 64 53 74 | this._prefsBundle.getFormattedSt |
120a40 | 72 69 6e 67 28 22 70 72 65 76 69 65 77 49 6e 41 70 70 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 | ring("previewInApp",............ |
120a60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
120a80 | 20 20 20 20 20 20 20 20 20 20 5b 74 68 69 73 2e 5f 62 72 61 6e 64 53 68 6f 72 74 4e 61 6d 65 5d | ..........[this._brandShortName] |
120aa0 | 29 3b 0a 20 20 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 20 20 6c 61 62 65 6c 20 3d 20 74 68 | );.......else.........label.=.th |
120ac0 | 69 73 2e 5f 70 72 65 66 73 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 61 6c 77 61 79 | is._prefsBundle.getString("alway |
120ae0 | 73 41 73 6b 22 29 3b 0a 20 20 20 20 20 20 61 73 6b 4d 65 6e 75 49 74 65 6d 2e 73 65 74 41 74 74 | sAsk");.......askMenuItem.setAtt |
120b00 | 72 69 62 75 74 65 28 22 6c 61 62 65 6c 22 2c 20 6c 61 62 65 6c 29 3b 0a 20 20 20 20 20 20 61 73 | ribute("label",.label);.......as |
120b20 | 6b 4d 65 6e 75 49 74 65 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 74 6f 6f 6c 74 69 70 74 | kMenuItem.setAttribute("tooltipt |
120b40 | 65 78 74 22 2c 20 6c 61 62 65 6c 29 3b 0a 20 20 20 20 20 20 61 73 6b 4d 65 6e 75 49 74 65 6d 2e | ext",.label);.......askMenuItem. |
120b60 | 73 65 74 41 74 74 72 69 62 75 74 65 28 41 50 50 5f 49 43 4f 4e 5f 41 54 54 52 5f 4e 41 4d 45 2c | setAttribute(APP_ICON_ATTR_NAME, |
120b80 | 20 22 61 73 6b 22 29 3b 0a 20 20 20 20 20 20 6d 65 6e 75 50 6f 70 75 70 2e 61 70 70 65 6e 64 43 | ."ask");.......menuPopup.appendC |
120ba0 | 68 69 6c 64 28 61 73 6b 4d 65 6e 75 49 74 65 6d 29 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 2f 2f | hild(askMenuItem);.....}......// |
120bc0 | 20 43 72 65 61 74 65 20 61 20 6d 65 6e 75 20 69 74 65 6d 20 66 6f 72 20 73 61 76 69 6e 67 20 74 | .Create.a.menu.item.for.saving.t |
120be0 | 6f 20 64 69 73 6b 2e 0a 20 20 20 20 2f 2f 20 4e 6f 74 65 3a 20 74 68 69 73 20 6f 70 74 69 6f 6e | o.disk......//.Note:.this.option |
120c00 | 20 69 73 6e 27 74 20 61 76 61 69 6c 61 62 6c 65 20 74 6f 20 70 72 6f 74 6f 63 6f 6c 20 74 79 70 | .isn't.available.to.protocol.typ |
120c20 | 65 73 2c 20 73 69 6e 63 65 20 77 65 20 64 6f 6e 27 74 20 6b 6e 6f 77 0a 20 20 20 20 2f 2f 20 77 | es,.since.we.don't.know.....//.w |
120c40 | 68 61 74 20 69 74 20 6d 65 61 6e 73 20 74 6f 20 73 61 76 65 20 61 20 55 52 4c 20 68 61 76 69 6e | hat.it.means.to.save.a.URL.havin |
120c60 | 67 20 61 20 63 65 72 74 61 69 6e 20 73 63 68 65 6d 65 20 74 6f 20 64 69 73 6b 2c 20 6e 6f 72 20 | g.a.certain.scheme.to.disk,.nor. |
120c80 | 69 73 20 69 74 0a 20 20 20 20 2f 2f 20 61 76 61 69 6c 61 62 6c 65 20 74 6f 20 66 65 65 64 73 2c | is.it.....//.available.to.feeds, |
120ca0 | 20 73 69 6e 63 65 20 74 68 65 20 66 65 65 64 20 63 6f 64 65 20 64 6f 65 73 6e 27 74 20 69 6d 70 | .since.the.feed.code.doesn't.imp |
120cc0 | 6c 65 6d 65 6e 74 20 74 68 65 20 63 61 70 61 62 69 6c 69 74 79 2e 0a 20 20 20 20 69 66 20 28 28 | lement.the.capability......if.(( |
120ce0 | 68 61 6e 64 6c 65 72 49 6e 66 6f 2e 77 72 61 70 70 65 64 48 61 6e 64 6c 65 72 49 6e 66 6f 20 69 | handlerInfo.wrappedHandlerInfo.i |
120d00 | 6e 73 74 61 6e 63 65 6f 66 20 43 69 2e 6e 73 49 4d 49 4d 45 49 6e 66 6f 29 20 26 26 0a 20 20 20 | nstanceof.Ci.nsIMIMEInfo).&&.... |
120d20 | 20 20 20 20 20 21 69 73 46 65 65 64 54 79 70 65 28 68 61 6e 64 6c 65 72 49 6e 66 6f 2e 74 79 70 | .....!isFeedType(handlerInfo.typ |
120d40 | 65 29 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 73 61 76 65 4d 65 6e 75 49 74 65 6d 20 3d 20 64 | e)).{.......var.saveMenuItem.=.d |
120d60 | 6f 63 75 6d 65 6e 74 2e 63 72 65 61 74 65 45 6c 65 6d 65 6e 74 28 22 6d 65 6e 75 69 74 65 6d 22 | ocument.createElement("menuitem" |
120d80 | 29 3b 0a 20 20 20 20 20 20 73 61 76 65 4d 65 6e 75 49 74 65 6d 2e 73 65 74 41 74 74 72 69 62 75 | );.......saveMenuItem.setAttribu |
120da0 | 74 65 28 22 61 63 74 69 6f 6e 22 2c 20 43 69 2e 6e 73 49 48 61 6e 64 6c 65 72 49 6e 66 6f 2e 73 | te("action",.Ci.nsIHandlerInfo.s |
120dc0 | 61 76 65 54 6f 44 69 73 6b 29 3b 0a 20 20 20 20 20 20 6c 65 74 20 6c 61 62 65 6c 20 3d 20 74 68 | aveToDisk);.......let.label.=.th |
120de0 | 69 73 2e 5f 70 72 65 66 73 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 73 61 76 65 46 | is._prefsBundle.getString("saveF |
120e00 | 69 6c 65 22 29 3b 0a 20 20 20 20 20 20 73 61 76 65 4d 65 6e 75 49 74 65 6d 2e 73 65 74 41 74 74 | ile");.......saveMenuItem.setAtt |
120e20 | 72 69 62 75 74 65 28 22 6c 61 62 65 6c 22 2c 20 6c 61 62 65 6c 29 3b 0a 20 20 20 20 20 20 73 61 | ribute("label",.label);.......sa |
120e40 | 76 65 4d 65 6e 75 49 74 65 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 74 6f 6f 6c 74 69 70 | veMenuItem.setAttribute("tooltip |
120e60 | 74 65 78 74 22 2c 20 6c 61 62 65 6c 29 3b 0a 20 20 20 20 20 20 73 61 76 65 4d 65 6e 75 49 74 65 | text",.label);.......saveMenuIte |
120e80 | 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 41 50 50 5f 49 43 4f 4e 5f 41 54 54 52 5f 4e 41 4d | m.setAttribute(APP_ICON_ATTR_NAM |
120ea0 | 45 2c 20 22 73 61 76 65 22 29 3b 0a 20 20 20 20 20 20 6d 65 6e 75 50 6f 70 75 70 2e 61 70 70 65 | E,."save");.......menuPopup.appe |
120ec0 | 6e 64 43 68 69 6c 64 28 73 61 76 65 4d 65 6e 75 49 74 65 6d 29 3b 0a 20 20 20 20 7d 0a 0a 20 20 | ndChild(saveMenuItem);.....}.... |
120ee0 | 20 20 2f 2f 20 49 66 20 74 68 69 73 20 69 73 20 74 68 65 20 66 65 65 64 20 74 79 70 65 2c 20 61 | ..//.If.this.is.the.feed.type,.a |
120f00 | 64 64 20 61 20 4c 69 76 65 20 42 6f 6f 6b 6d 61 72 6b 73 20 69 74 65 6d 2e 0a 20 20 20 20 69 66 | dd.a.Live.Bookmarks.item......if |
120f20 | 20 28 69 73 46 65 65 64 54 79 70 65 28 68 61 6e 64 6c 65 72 49 6e 66 6f 2e 74 79 70 65 29 29 20 | .(isFeedType(handlerInfo.type)). |
120f40 | 7b 0a 20 20 20 20 20 20 76 61 72 20 69 6e 74 65 72 6e 61 6c 4d 65 6e 75 49 74 65 6d 20 3d 20 64 | {.......var.internalMenuItem.=.d |
120f60 | 6f 63 75 6d 65 6e 74 2e 63 72 65 61 74 65 45 6c 65 6d 65 6e 74 28 22 6d 65 6e 75 69 74 65 6d 22 | ocument.createElement("menuitem" |
120f80 | 29 3b 0a 20 20 20 20 20 20 69 6e 74 65 72 6e 61 6c 4d 65 6e 75 49 74 65 6d 2e 73 65 74 41 74 74 | );.......internalMenuItem.setAtt |
120fa0 | 72 69 62 75 74 65 28 22 61 63 74 69 6f 6e 22 2c 20 43 69 2e 6e 73 49 48 61 6e 64 6c 65 72 49 6e | ribute("action",.Ci.nsIHandlerIn |
120fc0 | 66 6f 2e 68 61 6e 64 6c 65 49 6e 74 65 72 6e 61 6c 6c 79 29 3b 0a 20 20 20 20 20 20 6c 65 74 20 | fo.handleInternally);.......let. |
120fe0 | 6c 61 62 65 6c 20 3d 20 74 68 69 73 2e 5f 70 72 65 66 73 42 75 6e 64 6c 65 2e 67 65 74 46 6f 72 | label.=.this._prefsBundle.getFor |
121000 | 6d 61 74 74 65 64 53 74 72 69 6e 67 28 22 61 64 64 4c 69 76 65 42 6f 6f 6b 6d 61 72 6b 73 49 6e | mattedString("addLiveBookmarksIn |
121020 | 41 70 70 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | App",........................... |
121040 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 5b 74 68 | .............................[th |
121060 | 69 73 2e 5f 62 72 61 6e 64 53 68 6f 72 74 4e 61 6d 65 5d 29 3b 0a 20 20 20 20 20 20 69 6e 74 65 | is._brandShortName]);.......inte |
121080 | 72 6e 61 6c 4d 65 6e 75 49 74 65 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 6c 61 62 65 6c | rnalMenuItem.setAttribute("label |
1210a0 | 22 2c 20 6c 61 62 65 6c 29 3b 0a 20 20 20 20 20 20 69 6e 74 65 72 6e 61 6c 4d 65 6e 75 49 74 65 | ",.label);.......internalMenuIte |
1210c0 | 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 74 6f 6f 6c 74 69 70 74 65 78 74 22 2c 20 6c 61 | m.setAttribute("tooltiptext",.la |
1210e0 | 62 65 6c 29 3b 0a 20 20 20 20 20 20 69 6e 74 65 72 6e 61 6c 4d 65 6e 75 49 74 65 6d 2e 73 65 74 | bel);.......internalMenuItem.set |
121100 | 41 74 74 72 69 62 75 74 65 28 41 50 50 5f 49 43 4f 4e 5f 41 54 54 52 5f 4e 41 4d 45 2c 20 22 66 | Attribute(APP_ICON_ATTR_NAME,."f |
121120 | 65 65 64 22 29 3b 0a 20 20 20 20 20 20 6d 65 6e 75 50 6f 70 75 70 2e 61 70 70 65 6e 64 43 68 69 | eed");.......menuPopup.appendChi |
121140 | 6c 64 28 69 6e 74 65 72 6e 61 6c 4d 65 6e 75 49 74 65 6d 29 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 | ld(internalMenuItem);.....}..... |
121160 | 20 2f 2f 20 41 64 64 20 61 20 73 65 70 61 72 61 74 6f 72 20 74 6f 20 64 69 73 74 69 6e 67 75 69 | .//.Add.a.separator.to.distingui |
121180 | 73 68 20 74 68 65 73 65 20 69 74 65 6d 73 20 66 72 6f 6d 20 74 68 65 20 68 65 6c 70 65 72 20 61 | sh.these.items.from.the.helper.a |
1211a0 | 70 70 20 69 74 65 6d 73 0a 20 20 20 20 2f 2f 20 74 68 61 74 20 66 6f 6c 6c 6f 77 20 74 68 65 6d | pp.items.....//.that.follow.them |
1211c0 | 2e 0a 20 20 20 20 6c 65 74 20 6d 65 6e 75 49 74 65 6d 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 63 72 | ......let.menuItem.=.document.cr |
1211e0 | 65 61 74 65 45 6c 65 6d 65 6e 74 28 22 6d 65 6e 75 73 65 70 61 72 61 74 6f 72 22 29 3b 0a 20 20 | eateElement("menuseparator");... |
121200 | 20 20 6d 65 6e 75 50 6f 70 75 70 2e 61 70 70 65 6e 64 43 68 69 6c 64 28 6d 65 6e 75 49 74 65 6d | ..menuPopup.appendChild(menuItem |
121220 | 29 3b 0a 0a 20 20 20 20 2f 2f 20 43 72 65 61 74 65 20 61 20 6d 65 6e 75 20 69 74 65 6d 20 66 6f | );......//.Create.a.menu.item.fo |
121240 | 72 20 74 68 65 20 4f 53 20 64 65 66 61 75 6c 74 20 61 70 70 6c 69 63 61 74 69 6f 6e 2c 20 69 66 | r.the.OS.default.application,.if |
121260 | 20 61 6e 79 2e 0a 20 20 20 20 69 66 20 28 68 61 6e 64 6c 65 72 49 6e 66 6f 2e 68 61 73 44 65 66 | .any......if.(handlerInfo.hasDef |
121280 | 61 75 6c 74 48 61 6e 64 6c 65 72 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 64 65 66 61 75 6c 74 | aultHandler).{.......var.default |
1212a0 | 4d 65 6e 75 49 74 65 6d 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 63 72 65 61 74 65 45 6c 65 6d 65 6e | MenuItem.=.document.createElemen |
1212c0 | 74 28 22 6d 65 6e 75 69 74 65 6d 22 29 3b 0a 20 20 20 20 20 20 64 65 66 61 75 6c 74 4d 65 6e 75 | t("menuitem");.......defaultMenu |
1212e0 | 49 74 65 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 61 63 74 69 6f 6e 22 2c 20 43 69 2e 6e | Item.setAttribute("action",.Ci.n |
121300 | 73 49 48 61 6e 64 6c 65 72 49 6e 66 6f 2e 75 73 65 53 79 73 74 65 6d 44 65 66 61 75 6c 74 29 3b | sIHandlerInfo.useSystemDefault); |
121320 | 0a 20 20 20 20 20 20 6c 65 74 20 6c 61 62 65 6c 20 3d 20 74 68 69 73 2e 5f 70 72 65 66 73 42 75 | .......let.label.=.this._prefsBu |
121340 | 6e 64 6c 65 2e 67 65 74 46 6f 72 6d 61 74 74 65 64 53 74 72 69 6e 67 28 22 75 73 65 44 65 66 61 | ndle.getFormattedString("useDefa |
121360 | 75 6c 74 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ult",........................... |
121380 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 5b 68 61 | .............................[ha |
1213a0 | 6e 64 6c 65 72 49 6e 66 6f 2e 64 65 66 61 75 6c 74 44 65 73 63 72 69 70 74 69 6f 6e 5d 29 3b 0a | ndlerInfo.defaultDescription]);. |
1213c0 | 20 20 20 20 20 20 64 65 66 61 75 6c 74 4d 65 6e 75 49 74 65 6d 2e 73 65 74 41 74 74 72 69 62 75 | ......defaultMenuItem.setAttribu |
1213e0 | 74 65 28 22 6c 61 62 65 6c 22 2c 20 6c 61 62 65 6c 29 3b 0a 20 20 20 20 20 20 64 65 66 61 75 6c | te("label",.label);.......defaul |
121400 | 74 4d 65 6e 75 49 74 65 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 74 6f 6f 6c 74 69 70 74 | tMenuItem.setAttribute("tooltipt |
121420 | 65 78 74 22 2c 20 68 61 6e 64 6c 65 72 49 6e 66 6f 2e 64 65 66 61 75 6c 74 44 65 73 63 72 69 70 | ext",.handlerInfo.defaultDescrip |
121440 | 74 69 6f 6e 29 3b 0a 20 20 20 20 20 20 64 65 66 61 75 6c 74 4d 65 6e 75 49 74 65 6d 2e 73 65 74 | tion);.......defaultMenuItem.set |
121460 | 41 74 74 72 69 62 75 74 65 28 22 69 6d 61 67 65 22 2c 20 74 68 69 73 2e 5f 67 65 74 49 63 6f 6e | Attribute("image",.this._getIcon |
121480 | 55 52 4c 46 6f 72 53 79 73 74 65 6d 44 65 66 61 75 6c 74 28 68 61 6e 64 6c 65 72 49 6e 66 6f 29 | URLForSystemDefault(handlerInfo) |
1214a0 | 29 3b 0a 0a 20 20 20 20 20 20 6d 65 6e 75 50 6f 70 75 70 2e 61 70 70 65 6e 64 43 68 69 6c 64 28 | );........menuPopup.appendChild( |
1214c0 | 64 65 66 61 75 6c 74 4d 65 6e 75 49 74 65 6d 29 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 2f 2f 20 | defaultMenuItem);.....}......//. |
1214e0 | 43 72 65 61 74 65 20 6d 65 6e 75 20 69 74 65 6d 73 20 66 6f 72 20 70 6f 73 73 69 62 6c 65 20 68 | Create.menu.items.for.possible.h |
121500 | 61 6e 64 6c 65 72 73 2e 0a 20 20 20 20 6c 65 74 20 70 72 65 66 65 72 72 65 64 41 70 70 20 3d 20 | andlers......let.preferredApp.=. |
121520 | 68 61 6e 64 6c 65 72 49 6e 66 6f 2e 70 72 65 66 65 72 72 65 64 41 70 70 6c 69 63 61 74 69 6f 6e | handlerInfo.preferredApplication |
121540 | 48 61 6e 64 6c 65 72 3b 0a 20 20 20 20 6c 65 74 20 70 6f 73 73 69 62 6c 65 41 70 70 73 20 3d 20 | Handler;.....let.possibleApps.=. |
121560 | 68 61 6e 64 6c 65 72 49 6e 66 6f 2e 70 6f 73 73 69 62 6c 65 41 70 70 6c 69 63 61 74 69 6f 6e 48 | handlerInfo.possibleApplicationH |
121580 | 61 6e 64 6c 65 72 73 2e 65 6e 75 6d 65 72 61 74 65 28 29 3b 0a 20 20 20 20 76 61 72 20 70 6f 73 | andlers.enumerate();.....var.pos |
1215a0 | 73 69 62 6c 65 41 70 70 4d 65 6e 75 49 74 65 6d 73 20 3d 20 5b 5d 3b 0a 20 20 20 20 77 68 69 6c | sibleAppMenuItems.=.[];.....whil |
1215c0 | 65 20 28 70 6f 73 73 69 62 6c 65 41 70 70 73 2e 68 61 73 4d 6f 72 65 45 6c 65 6d 65 6e 74 73 28 | e.(possibleApps.hasMoreElements( |
1215e0 | 29 29 20 7b 0a 20 20 20 20 20 20 6c 65 74 20 70 6f 73 73 69 62 6c 65 41 70 70 20 3d 20 70 6f 73 | )).{.......let.possibleApp.=.pos |
121600 | 73 69 62 6c 65 41 70 70 73 2e 67 65 74 4e 65 78 74 28 29 3b 0a 20 20 20 20 20 20 69 66 20 28 21 | sibleApps.getNext();.......if.(! |
121620 | 74 68 69 73 2e 69 73 56 61 6c 69 64 48 61 6e 64 6c 65 72 41 70 70 28 70 6f 73 73 69 62 6c 65 41 | this.isValidHandlerApp(possibleA |
121640 | 70 70 29 29 0a 20 20 20 20 20 20 20 20 63 6f 6e 74 69 6e 75 65 3b 0a 0a 20 20 20 20 20 20 6c 65 | pp)).........continue;........le |
121660 | 74 20 6d 65 6e 75 49 74 65 6d 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 63 72 65 61 74 65 45 6c 65 6d | t.menuItem.=.document.createElem |
121680 | 65 6e 74 28 22 6d 65 6e 75 69 74 65 6d 22 29 3b 0a 20 20 20 20 20 20 6d 65 6e 75 49 74 65 6d 2e | ent("menuitem");.......menuItem. |
1216a0 | 73 65 74 41 74 74 72 69 62 75 74 65 28 22 61 63 74 69 6f 6e 22 2c 20 43 69 2e 6e 73 49 48 61 6e | setAttribute("action",.Ci.nsIHan |
1216c0 | 64 6c 65 72 49 6e 66 6f 2e 75 73 65 48 65 6c 70 65 72 41 70 70 29 3b 0a 20 20 20 20 20 20 6c 65 | dlerInfo.useHelperApp);.......le |
1216e0 | 74 20 6c 61 62 65 6c 3b 0a 20 20 20 20 20 20 69 66 20 28 70 6f 73 73 69 62 6c 65 41 70 70 20 69 | t.label;.......if.(possibleApp.i |
121700 | 6e 73 74 61 6e 63 65 6f 66 20 43 69 2e 6e 73 49 4c 6f 63 61 6c 48 61 6e 64 6c 65 72 41 70 70 29 | nstanceof.Ci.nsILocalHandlerApp) |
121720 | 0a 20 20 20 20 20 20 20 20 6c 61 62 65 6c 20 3d 20 67 65 74 44 69 73 70 6c 61 79 4e 61 6d 65 46 | .........label.=.getDisplayNameF |
121740 | 6f 72 46 69 6c 65 28 70 6f 73 73 69 62 6c 65 41 70 70 2e 65 78 65 63 75 74 61 62 6c 65 29 3b 0a | orFile(possibleApp.executable);. |
121760 | 20 20 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 20 20 6c 61 62 65 6c 20 3d 20 70 6f 73 73 69 | ......else.........label.=.possi |
121780 | 62 6c 65 41 70 70 2e 6e 61 6d 65 3b 0a 20 20 20 20 20 20 6c 61 62 65 6c 20 3d 20 74 68 69 73 2e | bleApp.name;.......label.=.this. |
1217a0 | 5f 70 72 65 66 73 42 75 6e 64 6c 65 2e 67 65 74 46 6f 72 6d 61 74 74 65 64 53 74 72 69 6e 67 28 | _prefsBundle.getFormattedString( |
1217c0 | 22 75 73 65 41 70 70 22 2c 20 5b 6c 61 62 65 6c 5d 29 3b 0a 20 20 20 20 20 20 6d 65 6e 75 49 74 | "useApp",.[label]);.......menuIt |
1217e0 | 65 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 6c 61 62 65 6c 22 2c 20 6c 61 62 65 6c 29 3b | em.setAttribute("label",.label); |
121800 | 0a 20 20 20 20 20 20 6d 65 6e 75 49 74 65 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 74 6f | .......menuItem.setAttribute("to |
121820 | 6f 6c 74 69 70 74 65 78 74 22 2c 20 6c 61 62 65 6c 29 3b 0a 20 20 20 20 20 20 6d 65 6e 75 49 74 | oltiptext",.label);.......menuIt |
121840 | 65 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 69 6d 61 67 65 22 2c 20 74 68 69 73 2e 5f 67 | em.setAttribute("image",.this._g |
121860 | 65 74 49 63 6f 6e 55 52 4c 46 6f 72 48 61 6e 64 6c 65 72 41 70 70 28 70 6f 73 73 69 62 6c 65 41 | etIconURLForHandlerApp(possibleA |
121880 | 70 70 29 29 3b 0a 0a 20 20 20 20 20 20 2f 2f 20 41 74 74 61 63 68 20 74 68 65 20 68 61 6e 64 6c | pp));........//.Attach.the.handl |
1218a0 | 65 72 20 61 70 70 20 6f 62 6a 65 63 74 20 74 6f 20 74 68 65 20 6d 65 6e 75 20 69 74 65 6d 20 73 | er.app.object.to.the.menu.item.s |
1218c0 | 6f 20 77 65 20 63 61 6e 20 75 73 65 20 69 74 0a 20 20 20 20 20 20 2f 2f 20 74 6f 20 6d 61 6b 65 | o.we.can.use.it.......//.to.make |
1218e0 | 20 63 68 61 6e 67 65 73 20 74 6f 20 74 68 65 20 64 61 74 61 73 74 6f 72 65 20 77 68 65 6e 20 74 | .changes.to.the.datastore.when.t |
121900 | 68 65 20 75 73 65 72 20 73 65 6c 65 63 74 73 20 74 68 65 20 69 74 65 6d 2e 0a 20 20 20 20 20 20 | he.user.selects.the.item........ |
121920 | 6d 65 6e 75 49 74 65 6d 2e 68 61 6e 64 6c 65 72 41 70 70 20 3d 20 70 6f 73 73 69 62 6c 65 41 70 | menuItem.handlerApp.=.possibleAp |
121940 | 70 3b 0a 0a 20 20 20 20 20 20 6d 65 6e 75 50 6f 70 75 70 2e 61 70 70 65 6e 64 43 68 69 6c 64 28 | p;........menuPopup.appendChild( |
121960 | 6d 65 6e 75 49 74 65 6d 29 3b 0a 20 20 20 20 20 20 70 6f 73 73 69 62 6c 65 41 70 70 4d 65 6e 75 | menuItem);.......possibleAppMenu |
121980 | 49 74 65 6d 73 2e 70 75 73 68 28 6d 65 6e 75 49 74 65 6d 29 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 | Items.push(menuItem);.....}..... |
1219a0 | 20 2f 2f 20 43 72 65 61 74 65 20 61 20 6d 65 6e 75 20 69 74 65 6d 20 66 6f 72 20 74 68 65 20 70 | .//.Create.a.menu.item.for.the.p |
1219c0 | 6c 75 67 69 6e 2e 0a 20 20 20 20 69 66 20 28 68 61 6e 64 6c 65 72 49 6e 66 6f 2e 70 6c 75 67 69 | lugin......if.(handlerInfo.plugi |
1219e0 | 6e 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 70 6c 75 67 69 6e 4d 65 6e 75 49 74 65 6d 20 3d 20 | n).{.......var.pluginMenuItem.=. |
121a00 | 64 6f 63 75 6d 65 6e 74 2e 63 72 65 61 74 65 45 6c 65 6d 65 6e 74 28 22 6d 65 6e 75 69 74 65 6d | document.createElement("menuitem |
121a20 | 22 29 3b 0a 20 20 20 20 20 20 70 6c 75 67 69 6e 4d 65 6e 75 49 74 65 6d 2e 73 65 74 41 74 74 72 | ");.......pluginMenuItem.setAttr |
121a40 | 69 62 75 74 65 28 22 61 63 74 69 6f 6e 22 2c 20 6b 41 63 74 69 6f 6e 55 73 65 50 6c 75 67 69 6e | ibute("action",.kActionUsePlugin |
121a60 | 29 3b 0a 20 20 20 20 20 20 6c 65 74 20 6c 61 62 65 6c 20 3d 20 74 68 69 73 2e 5f 70 72 65 66 73 | );.......let.label.=.this._prefs |
121a80 | 42 75 6e 64 6c 65 2e 67 65 74 46 6f 72 6d 61 74 74 65 64 53 74 72 69 6e 67 28 22 75 73 65 50 6c | Bundle.getFormattedString("usePl |
121aa0 | 75 67 69 6e 49 6e 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | uginIn",........................ |
121ac0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
121ae0 | 5b 68 61 6e 64 6c 65 72 49 6e 66 6f 2e 70 6c 75 67 69 6e 2e 6e 61 6d 65 2c 0a 20 20 20 20 20 20 | [handlerInfo.plugin.name,....... |
121b00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
121b20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 62 72 61 6e 64 53 68 6f | ..................this._brandSho |
121b40 | 72 74 4e 61 6d 65 5d 29 3b 0a 20 20 20 20 20 20 70 6c 75 67 69 6e 4d 65 6e 75 49 74 65 6d 2e 73 | rtName]);.......pluginMenuItem.s |
121b60 | 65 74 41 74 74 72 69 62 75 74 65 28 22 6c 61 62 65 6c 22 2c 20 6c 61 62 65 6c 29 3b 0a 20 20 20 | etAttribute("label",.label);.... |
121b80 | 20 20 20 70 6c 75 67 69 6e 4d 65 6e 75 49 74 65 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 | ...pluginMenuItem.setAttribute(" |
121ba0 | 74 6f 6f 6c 74 69 70 74 65 78 74 22 2c 20 6c 61 62 65 6c 29 3b 0a 20 20 20 20 20 20 70 6c 75 67 | tooltiptext",.label);.......plug |
121bc0 | 69 6e 4d 65 6e 75 49 74 65 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 41 50 50 5f 49 43 4f 4e | inMenuItem.setAttribute(APP_ICON |
121be0 | 5f 41 54 54 52 5f 4e 41 4d 45 2c 20 22 70 6c 75 67 69 6e 22 29 3b 0a 20 20 20 20 20 20 6d 65 6e | _ATTR_NAME,."plugin");.......men |
121c00 | 75 50 6f 70 75 70 2e 61 70 70 65 6e 64 43 68 69 6c 64 28 70 6c 75 67 69 6e 4d 65 6e 75 49 74 65 | uPopup.appendChild(pluginMenuIte |
121c20 | 6d 29 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 2f 2f 20 43 72 65 61 74 65 20 61 20 6d 65 6e 75 20 | m);.....}......//.Create.a.menu. |
121c40 | 69 74 65 6d 20 66 6f 72 20 73 65 6c 65 63 74 69 6e 67 20 61 20 6c 6f 63 61 6c 20 61 70 70 6c 69 | item.for.selecting.a.local.appli |
121c60 | 63 61 74 69 6f 6e 2e 0a 2f 2f 40 6c 69 6e 65 20 31 35 30 34 20 22 2f 62 75 69 6c 64 73 2f 6d 6f | cation..//@line.1504."/builds/mo |
121c80 | 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 | z2_slave/linux_build/build/brows |
121ca0 | 65 72 2f 63 6f 6d 70 6f 6e 65 6e 74 73 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 61 70 70 6c 69 63 | er/components/preferences/applic |
121cc0 | 61 74 69 6f 6e 73 2e 6a 73 22 0a 20 20 20 20 7b 0a 20 20 20 20 20 20 6c 65 74 20 6d 65 6e 75 49 | ations.js".....{.......let.menuI |
121ce0 | 74 65 6d 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 63 72 65 61 74 65 45 6c 65 6d 65 6e 74 28 22 6d 65 | tem.=.document.createElement("me |
121d00 | 6e 75 69 74 65 6d 22 29 3b 0a 20 20 20 20 20 20 6d 65 6e 75 49 74 65 6d 2e 73 65 74 41 74 74 72 | nuitem");.......menuItem.setAttr |
121d20 | 69 62 75 74 65 28 22 6f 6e 63 6f 6d 6d 61 6e 64 22 2c 20 22 67 41 70 70 6c 69 63 61 74 69 6f 6e | ibute("oncommand",."gApplication |
121d40 | 73 50 61 6e 65 2e 63 68 6f 6f 73 65 41 70 70 28 65 76 65 6e 74 29 22 29 3b 0a 20 20 20 20 20 20 | sPane.chooseApp(event)");....... |
121d60 | 6c 65 74 20 6c 61 62 65 6c 20 3d 20 74 68 69 73 2e 5f 70 72 65 66 73 42 75 6e 64 6c 65 2e 67 65 | let.label.=.this._prefsBundle.ge |
121d80 | 74 53 74 72 69 6e 67 28 22 75 73 65 4f 74 68 65 72 41 70 70 22 29 3b 0a 20 20 20 20 20 20 6d 65 | tString("useOtherApp");.......me |
121da0 | 6e 75 49 74 65 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 6c 61 62 65 6c 22 2c 20 6c 61 62 | nuItem.setAttribute("label",.lab |
121dc0 | 65 6c 29 3b 0a 20 20 20 20 20 20 6d 65 6e 75 49 74 65 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 | el);.......menuItem.setAttribute |
121de0 | 28 22 74 6f 6f 6c 74 69 70 74 65 78 74 22 2c 20 6c 61 62 65 6c 29 3b 0a 20 20 20 20 20 20 6d 65 | ("tooltiptext",.label);.......me |
121e00 | 6e 75 50 6f 70 75 70 2e 61 70 70 65 6e 64 43 68 69 6c 64 28 6d 65 6e 75 49 74 65 6d 29 3b 0a 20 | nuPopup.appendChild(menuItem);.. |
121e20 | 20 20 20 7d 0a 0a 20 20 20 20 2f 2f 20 43 72 65 61 74 65 20 61 20 6d 65 6e 75 20 69 74 65 6d 20 | ...}......//.Create.a.menu.item. |
121e40 | 66 6f 72 20 6d 61 6e 61 67 69 6e 67 20 61 70 70 6c 69 63 61 74 69 6f 6e 73 2e 0a 20 20 20 20 69 | for.managing.applications......i |
121e60 | 66 20 28 70 6f 73 73 69 62 6c 65 41 70 70 4d 65 6e 75 49 74 65 6d 73 2e 6c 65 6e 67 74 68 29 20 | f.(possibleAppMenuItems.length). |
121e80 | 7b 0a 20 20 20 20 20 20 6c 65 74 20 6d 65 6e 75 49 74 65 6d 20 3d 20 64 6f 63 75 6d 65 6e 74 2e | {.......let.menuItem.=.document. |
121ea0 | 63 72 65 61 74 65 45 6c 65 6d 65 6e 74 28 22 6d 65 6e 75 73 65 70 61 72 61 74 6f 72 22 29 3b 0a | createElement("menuseparator");. |
121ec0 | 20 20 20 20 20 20 6d 65 6e 75 50 6f 70 75 70 2e 61 70 70 65 6e 64 43 68 69 6c 64 28 6d 65 6e 75 | ......menuPopup.appendChild(menu |
121ee0 | 49 74 65 6d 29 3b 0a 20 20 20 20 20 20 6d 65 6e 75 49 74 65 6d 20 3d 20 64 6f 63 75 6d 65 6e 74 | Item);.......menuItem.=.document |
121f00 | 2e 63 72 65 61 74 65 45 6c 65 6d 65 6e 74 28 22 6d 65 6e 75 69 74 65 6d 22 29 3b 0a 20 20 20 20 | .createElement("menuitem");..... |
121f20 | 20 20 6d 65 6e 75 49 74 65 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 6f 6e 63 6f 6d 6d 61 | ..menuItem.setAttribute("oncomma |
121f40 | 6e 64 22 2c 20 22 67 41 70 70 6c 69 63 61 74 69 6f 6e 73 50 61 6e 65 2e 6d 61 6e 61 67 65 41 70 | nd",."gApplicationsPane.manageAp |
121f60 | 70 28 65 76 65 6e 74 29 22 29 3b 0a 20 20 20 20 20 20 6d 65 6e 75 49 74 65 6d 2e 73 65 74 41 74 | p(event)");.......menuItem.setAt |
121f80 | 74 72 69 62 75 74 65 28 22 6c 61 62 65 6c 22 2c 20 74 68 69 73 2e 5f 70 72 65 66 73 42 75 6e 64 | tribute("label",.this._prefsBund |
121fa0 | 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 6d 61 6e 61 67 65 41 70 70 22 29 29 3b 0a 20 20 20 20 | le.getString("manageApp"));..... |
121fc0 | 20 20 6d 65 6e 75 50 6f 70 75 70 2e 61 70 70 65 6e 64 43 68 69 6c 64 28 6d 65 6e 75 49 74 65 6d | ..menuPopup.appendChild(menuItem |
121fe0 | 29 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 2f 2f 20 53 65 6c 65 63 74 20 74 68 65 20 69 74 65 6d | );.....}......//.Select.the.item |
122000 | 20 63 6f 72 72 65 73 70 6f 6e 64 69 6e 67 20 74 6f 20 74 68 65 20 70 72 65 66 65 72 72 65 64 20 | .corresponding.to.the.preferred. |
122020 | 61 63 74 69 6f 6e 2e 20 20 49 66 20 74 68 65 20 61 6c 77 61 79 73 0a 20 20 20 20 2f 2f 20 61 73 | action...If.the.always.....//.as |
122040 | 6b 20 66 6c 61 67 20 69 73 20 73 65 74 2c 20 69 74 20 6f 76 65 72 72 69 64 65 73 20 74 68 65 20 | k.flag.is.set,.it.overrides.the. |
122060 | 70 72 65 66 65 72 72 65 64 20 61 63 74 69 6f 6e 2e 20 20 4f 74 68 65 72 77 69 73 65 20 77 65 20 | preferred.action...Otherwise.we. |
122080 | 70 69 63 6b 0a 20 20 20 20 2f 2f 20 74 68 65 20 69 74 65 6d 20 69 64 65 6e 74 69 66 69 65 64 20 | pick.....//.the.item.identified. |
1220a0 | 62 79 20 74 68 65 20 70 72 65 66 65 72 72 65 64 20 61 63 74 69 6f 6e 20 28 77 68 65 6e 20 74 68 | by.the.preferred.action.(when.th |
1220c0 | 65 20 70 72 65 66 65 72 72 65 64 20 61 63 74 69 6f 6e 0a 20 20 20 20 2f 2f 20 69 73 20 74 6f 20 | e.preferred.action.....//.is.to. |
1220e0 | 75 73 65 20 61 20 68 65 6c 70 65 72 20 61 70 70 2c 20 77 65 20 68 61 76 65 20 74 6f 20 70 69 63 | use.a.helper.app,.we.have.to.pic |
122100 | 6b 20 74 68 65 20 73 70 65 63 69 66 69 63 20 68 65 6c 70 65 72 20 61 70 70 20 69 74 65 6d 29 2e | k.the.specific.helper.app.item). |
122120 | 0a 20 20 20 20 69 66 20 28 68 61 6e 64 6c 65 72 49 6e 66 6f 2e 61 6c 77 61 79 73 41 73 6b 42 65 | .....if.(handlerInfo.alwaysAskBe |
122140 | 66 6f 72 65 48 61 6e 64 6c 69 6e 67 29 0a 20 20 20 20 20 20 6d 65 6e 75 2e 73 65 6c 65 63 74 65 | foreHandling).......menu.selecte |
122160 | 64 49 74 65 6d 20 3d 20 61 73 6b 4d 65 6e 75 49 74 65 6d 3b 0a 20 20 20 20 65 6c 73 65 20 73 77 | dItem.=.askMenuItem;.....else.sw |
122180 | 69 74 63 68 20 28 68 61 6e 64 6c 65 72 49 6e 66 6f 2e 70 72 65 66 65 72 72 65 64 41 63 74 69 6f | itch.(handlerInfo.preferredActio |
1221a0 | 6e 29 20 7b 0a 20 20 20 20 20 20 63 61 73 65 20 43 69 2e 6e 73 49 48 61 6e 64 6c 65 72 49 6e 66 | n).{.......case.Ci.nsIHandlerInf |
1221c0 | 6f 2e 68 61 6e 64 6c 65 49 6e 74 65 72 6e 61 6c 6c 79 3a 0a 20 20 20 20 20 20 20 20 6d 65 6e 75 | o.handleInternally:.........menu |
1221e0 | 2e 73 65 6c 65 63 74 65 64 49 74 65 6d 20 3d 20 69 6e 74 65 72 6e 61 6c 4d 65 6e 75 49 74 65 6d | .selectedItem.=.internalMenuItem |
122200 | 3b 0a 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 63 61 73 65 20 43 69 2e 6e | ;.........break;.......case.Ci.n |
122220 | 73 49 48 61 6e 64 6c 65 72 49 6e 66 6f 2e 75 73 65 53 79 73 74 65 6d 44 65 66 61 75 6c 74 3a 0a | sIHandlerInfo.useSystemDefault:. |
122240 | 20 20 20 20 20 20 20 20 6d 65 6e 75 2e 73 65 6c 65 63 74 65 64 49 74 65 6d 20 3d 20 64 65 66 61 | ........menu.selectedItem.=.defa |
122260 | 75 6c 74 4d 65 6e 75 49 74 65 6d 3b 0a 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 | ultMenuItem;.........break;..... |
122280 | 20 20 63 61 73 65 20 43 69 2e 6e 73 49 48 61 6e 64 6c 65 72 49 6e 66 6f 2e 75 73 65 48 65 6c 70 | ..case.Ci.nsIHandlerInfo.useHelp |
1222a0 | 65 72 41 70 70 3a 0a 20 20 20 20 20 20 20 20 69 66 20 28 70 72 65 66 65 72 72 65 64 41 70 70 29 | erApp:.........if.(preferredApp) |
1222c0 | 0a 20 20 20 20 20 20 20 20 20 20 6d 65 6e 75 2e 73 65 6c 65 63 74 65 64 49 74 65 6d 20 3d 20 0a | ...........menu.selectedItem.=.. |
1222e0 | 20 20 20 20 20 20 20 20 20 20 20 20 70 6f 73 73 69 62 6c 65 41 70 70 4d 65 6e 75 49 74 65 6d 73 | ............possibleAppMenuItems |
122300 | 2e 66 69 6c 74 65 72 28 66 75 6e 63 74 69 6f 6e 28 76 29 20 76 2e 68 61 6e 64 6c 65 72 41 70 70 | .filter(function(v).v.handlerApp |
122320 | 2e 65 71 75 61 6c 73 28 70 72 65 66 65 72 72 65 64 41 70 70 29 29 5b 30 5d 3b 0a 20 20 20 20 20 | .equals(preferredApp))[0];...... |
122340 | 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 63 61 73 65 20 6b 41 63 74 69 6f 6e 55 73 65 50 | ...break;.......case.kActionUseP |
122360 | 6c 75 67 69 6e 3a 0a 20 20 20 20 20 20 20 20 6d 65 6e 75 2e 73 65 6c 65 63 74 65 64 49 74 65 6d | lugin:.........menu.selectedItem |
122380 | 20 3d 20 70 6c 75 67 69 6e 4d 65 6e 75 49 74 65 6d 3b 0a 20 20 20 20 20 20 20 20 62 72 65 61 6b | .=.pluginMenuItem;.........break |
1223a0 | 3b 0a 20 20 20 20 20 20 63 61 73 65 20 43 69 2e 6e 73 49 48 61 6e 64 6c 65 72 49 6e 66 6f 2e 73 | ;.......case.Ci.nsIHandlerInfo.s |
1223c0 | 61 76 65 54 6f 44 69 73 6b 3a 0a 20 20 20 20 20 20 20 20 6d 65 6e 75 2e 73 65 6c 65 63 74 65 64 | aveToDisk:.........menu.selected |
1223e0 | 49 74 65 6d 20 3d 20 73 61 76 65 4d 65 6e 75 49 74 65 6d 3b 0a 20 20 20 20 20 20 20 20 62 72 65 | Item.=.saveMenuItem;.........bre |
122400 | 61 6b 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 0a 20 20 2f 2f 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a | ak;.....}...},.....//*********** |
122420 | 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a | ******************************** |
122440 | 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2f | *******************************/ |
122460 | 2f 0a 20 20 2f 2f 20 53 6f 72 74 69 6e 67 20 26 20 46 69 6c 74 65 72 69 6e 67 0a 0a 20 20 5f 73 | /...//.Sorting.&.Filtering...._s |
122480 | 6f 72 74 43 6f 6c 75 6d 6e 3a 20 6e 75 6c 6c 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 53 6f 72 | ortColumn:.null,..../**....*.Sor |
1224a0 | 74 20 74 68 65 20 6c 69 73 74 20 77 68 65 6e 20 74 68 65 20 75 73 65 72 20 63 6c 69 63 6b 73 20 | t.the.list.when.the.user.clicks. |
1224c0 | 6f 6e 20 61 20 63 6f 6c 75 6d 6e 20 68 65 61 64 65 72 2e 0a 20 20 20 2a 2f 0a 20 20 73 6f 72 74 | on.a.column.header.....*/...sort |
1224e0 | 3a 20 66 75 6e 63 74 69 6f 6e 20 28 65 76 65 6e 74 29 20 7b 0a 20 20 20 20 76 61 72 20 63 6f 6c | :.function.(event).{.....var.col |
122500 | 75 6d 6e 20 3d 20 65 76 65 6e 74 2e 74 61 72 67 65 74 3b 0a 0a 20 20 20 20 2f 2f 20 49 66 20 74 | umn.=.event.target;......//.If.t |
122520 | 68 65 20 75 73 65 72 20 63 6c 69 63 6b 65 64 20 6f 6e 20 61 20 6e 65 77 20 73 6f 72 74 20 63 6f | he.user.clicked.on.a.new.sort.co |
122540 | 6c 75 6d 6e 2c 20 72 65 6d 6f 76 65 20 74 68 65 20 64 69 72 65 63 74 69 6f 6e 20 69 6e 64 69 63 | lumn,.remove.the.direction.indic |
122560 | 61 74 6f 72 0a 20 20 20 20 2f 2f 20 66 72 6f 6d 20 74 68 65 20 6f 6c 64 20 63 6f 6c 75 6d 6e 2e | ator.....//.from.the.old.column. |
122580 | 0a 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 73 6f 72 74 43 6f 6c 75 6d 6e 20 26 26 20 74 68 69 | .....if.(this._sortColumn.&&.thi |
1225a0 | 73 2e 5f 73 6f 72 74 43 6f 6c 75 6d 6e 20 21 3d 20 63 6f 6c 75 6d 6e 29 0a 20 20 20 20 20 20 74 | s._sortColumn.!=.column).......t |
1225c0 | 68 69 73 2e 5f 73 6f 72 74 43 6f 6c 75 6d 6e 2e 72 65 6d 6f 76 65 41 74 74 72 69 62 75 74 65 28 | his._sortColumn.removeAttribute( |
1225e0 | 22 73 6f 72 74 44 69 72 65 63 74 69 6f 6e 22 29 3b 0a 0a 20 20 20 20 74 68 69 73 2e 5f 73 6f 72 | "sortDirection");......this._sor |
122600 | 74 43 6f 6c 75 6d 6e 20 3d 20 63 6f 6c 75 6d 6e 3b 0a 0a 20 20 20 20 2f 2f 20 53 65 74 20 28 6f | tColumn.=.column;......//.Set.(o |
122620 | 72 20 73 77 69 74 63 68 29 20 74 68 65 20 73 6f 72 74 20 64 69 72 65 63 74 69 6f 6e 20 69 6e 64 | r.switch).the.sort.direction.ind |
122640 | 69 63 61 74 6f 72 2e 0a 20 20 20 20 69 66 20 28 63 6f 6c 75 6d 6e 2e 67 65 74 41 74 74 72 69 62 | icator......if.(column.getAttrib |
122660 | 75 74 65 28 22 73 6f 72 74 44 69 72 65 63 74 69 6f 6e 22 29 20 3d 3d 20 22 61 73 63 65 6e 64 69 | ute("sortDirection").==."ascendi |
122680 | 6e 67 22 29 0a 20 20 20 20 20 20 63 6f 6c 75 6d 6e 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 | ng").......column.setAttribute(" |
1226a0 | 73 6f 72 74 44 69 72 65 63 74 69 6f 6e 22 2c 20 22 64 65 73 63 65 6e 64 69 6e 67 22 29 3b 0a 20 | sortDirection",."descending");.. |
1226c0 | 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 63 6f 6c 75 6d 6e 2e 73 65 74 41 74 74 72 69 62 75 74 | ...else.......column.setAttribut |
1226e0 | 65 28 22 73 6f 72 74 44 69 72 65 63 74 69 6f 6e 22 2c 20 22 61 73 63 65 6e 64 69 6e 67 22 29 3b | e("sortDirection",."ascending"); |
122700 | 0a 0a 20 20 20 20 74 68 69 73 2e 5f 73 6f 72 74 56 69 73 69 62 6c 65 54 79 70 65 73 28 29 3b 0a | ......this._sortVisibleTypes();. |
122720 | 20 20 20 20 74 68 69 73 2e 5f 72 65 62 75 69 6c 64 56 69 65 77 28 29 3b 0a 20 20 7d 2c 0a 0a 20 | ....this._rebuildView();...},... |
122740 | 20 2f 2a 2a 0a 20 20 20 2a 20 53 6f 72 74 20 74 68 65 20 6c 69 73 74 20 6f 66 20 76 69 73 69 62 | ./**....*.Sort.the.list.of.visib |
122760 | 6c 65 20 74 79 70 65 73 20 62 79 20 74 68 65 20 63 75 72 72 65 6e 74 20 73 6f 72 74 20 63 6f 6c | le.types.by.the.current.sort.col |
122780 | 75 6d 6e 2f 64 69 72 65 63 74 69 6f 6e 2e 0a 20 20 20 2a 2f 0a 20 20 5f 73 6f 72 74 56 69 73 69 | umn/direction.....*/..._sortVisi |
1227a0 | 62 6c 65 54 79 70 65 73 3a 20 66 75 6e 63 74 69 6f 6e 28 29 20 7b 0a 20 20 20 20 69 66 20 28 21 | bleTypes:.function().{.....if.(! |
1227c0 | 74 68 69 73 2e 5f 73 6f 72 74 43 6f 6c 75 6d 6e 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a | this._sortColumn).......return;. |
1227e0 | 0a 20 20 20 20 76 61 72 20 74 20 3d 20 74 68 69 73 3b 0a 0a 20 20 20 20 66 75 6e 63 74 69 6f 6e | .....var.t.=.this;......function |
122800 | 20 73 6f 72 74 42 79 54 79 70 65 28 61 2c 20 62 29 20 7b 0a 20 20 20 20 20 20 72 65 74 75 72 6e | .sortByType(a,.b).{.......return |
122820 | 20 74 2e 5f 64 65 73 63 72 69 62 65 54 79 70 65 28 61 29 2e 74 6f 4c 6f 77 65 72 43 61 73 65 28 | .t._describeType(a).toLowerCase( |
122840 | 29 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 6f 63 61 6c 65 43 6f 6d 70 61 72 65 28 74 2e | )...............localeCompare(t. |
122860 | 5f 64 65 73 63 72 69 62 65 54 79 70 65 28 62 29 2e 74 6f 4c 6f 77 65 72 43 61 73 65 28 29 29 3b | _describeType(b).toLowerCase()); |
122880 | 0a 20 20 20 20 7d 0a 0a 20 20 20 20 66 75 6e 63 74 69 6f 6e 20 73 6f 72 74 42 79 41 63 74 69 6f | .....}......function.sortByActio |
1228a0 | 6e 28 61 2c 20 62 29 20 7b 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 2e 5f 64 65 73 63 72 69 | n(a,.b).{.......return.t._descri |
1228c0 | 62 65 50 72 65 66 65 72 72 65 64 41 63 74 69 6f 6e 28 61 29 2e 74 6f 4c 6f 77 65 72 43 61 73 65 | bePreferredAction(a).toLowerCase |
1228e0 | 28 29 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 6f 63 61 6c 65 43 6f 6d 70 61 72 65 28 74 | ()...............localeCompare(t |
122900 | 2e 5f 64 65 73 63 72 69 62 65 50 72 65 66 65 72 72 65 64 41 63 74 69 6f 6e 28 62 29 2e 74 6f 4c | ._describePreferredAction(b).toL |
122920 | 6f 77 65 72 43 61 73 65 28 29 29 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 73 77 69 74 63 68 20 28 | owerCase());.....}......switch.( |
122940 | 74 68 69 73 2e 5f 73 6f 72 74 43 6f 6c 75 6d 6e 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 76 | this._sortColumn.getAttribute("v |
122960 | 61 6c 75 65 22 29 29 20 7b 0a 20 20 20 20 20 20 63 61 73 65 20 22 74 79 70 65 22 3a 0a 20 20 20 | alue")).{.......case."type":.... |
122980 | 20 20 20 20 20 74 68 69 73 2e 5f 76 69 73 69 62 6c 65 54 79 70 65 73 2e 73 6f 72 74 28 73 6f 72 | .....this._visibleTypes.sort(sor |
1229a0 | 74 42 79 54 79 70 65 29 3b 0a 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 63 | tByType);.........break;.......c |
1229c0 | 61 73 65 20 22 61 63 74 69 6f 6e 22 3a 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 76 69 73 69 | ase."action":.........this._visi |
1229e0 | 62 6c 65 54 79 70 65 73 2e 73 6f 72 74 28 73 6f 72 74 42 79 41 63 74 69 6f 6e 29 3b 0a 20 20 20 | bleTypes.sort(sortByAction);.... |
122a00 | 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 69 66 20 28 74 68 69 73 2e | .....break;.....}......if.(this. |
122a20 | 5f 73 6f 72 74 43 6f 6c 75 6d 6e 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 73 6f 72 74 44 69 | _sortColumn.getAttribute("sortDi |
122a40 | 72 65 63 74 69 6f 6e 22 29 20 3d 3d 20 22 64 65 73 63 65 6e 64 69 6e 67 22 29 0a 20 20 20 20 20 | rection").==."descending")...... |
122a60 | 20 74 68 69 73 2e 5f 76 69 73 69 62 6c 65 54 79 70 65 73 2e 72 65 76 65 72 73 65 28 29 3b 0a 20 | .this._visibleTypes.reverse();.. |
122a80 | 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 46 69 6c 74 65 72 20 74 68 65 20 6c 69 73 74 20 | .},..../**....*.Filter.the.list. |
122aa0 | 77 68 65 6e 20 74 68 65 20 75 73 65 72 20 65 6e 74 65 72 73 20 61 20 66 69 6c 74 65 72 20 74 65 | when.the.user.enters.a.filter.te |
122ac0 | 72 6d 20 69 6e 74 6f 20 74 68 65 20 66 69 6c 74 65 72 20 66 69 65 6c 64 2e 0a 20 20 20 2a 2f 0a | rm.into.the.filter.field.....*/. |
122ae0 | 20 20 66 69 6c 74 65 72 3a 20 66 75 6e 63 74 69 6f 6e 28 29 20 7b 0a 20 20 20 20 74 68 69 73 2e | ..filter:.function().{.....this. |
122b00 | 5f 72 65 62 75 69 6c 64 56 69 65 77 28 29 3b 0a 20 20 7d 2c 0a 0a 20 20 66 6f 63 75 73 46 69 6c | _rebuildView();...},....focusFil |
122b20 | 74 65 72 42 6f 78 3a 20 66 75 6e 63 74 69 6f 6e 28 29 20 7b 0a 20 20 20 20 74 68 69 73 2e 5f 66 | terBox:.function().{.....this._f |
122b40 | 69 6c 74 65 72 2e 66 6f 63 75 73 28 29 3b 0a 20 20 20 20 74 68 69 73 2e 5f 66 69 6c 74 65 72 2e | ilter.focus();.....this._filter. |
122b60 | 73 65 6c 65 63 74 28 29 3b 0a 20 20 7d 2c 0a 0a 0a 20 20 2f 2f 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a | select();...},.....//*********** |
122b80 | 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a | ******************************** |
122ba0 | 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2f | *******************************/ |
122bc0 | 2f 0a 20 20 2f 2f 20 43 68 61 6e 67 65 73 0a 0a 20 20 6f 6e 53 65 6c 65 63 74 41 63 74 69 6f 6e | /...//.Changes....onSelectAction |
122be0 | 3a 20 66 75 6e 63 74 69 6f 6e 28 61 41 63 74 69 6f 6e 49 74 65 6d 29 20 7b 0a 20 20 20 20 74 68 | :.function(aActionItem).{.....th |
122c00 | 69 73 2e 5f 73 74 6f 72 69 6e 67 41 63 74 69 6f 6e 20 3d 20 74 72 75 65 3b 0a 0a 20 20 20 20 74 | is._storingAction.=.true;......t |
122c20 | 72 79 20 7b 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 73 74 6f 72 65 41 63 74 69 6f 6e 28 61 41 63 | ry.{.......this._storeAction(aAc |
122c40 | 74 69 6f 6e 49 74 65 6d 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 66 69 6e 61 6c 6c 79 20 7b 0a 20 | tionItem);.....}.....finally.{.. |
122c60 | 20 20 20 20 20 74 68 69 73 2e 5f 73 74 6f 72 69 6e 67 41 63 74 69 6f 6e 20 3d 20 66 61 6c 73 65 | .....this._storingAction.=.false |
122c80 | 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 5f 73 74 6f 72 65 41 63 74 69 6f 6e 3a 20 66 75 | ;.....}...},...._storeAction:.fu |
122ca0 | 6e 63 74 69 6f 6e 28 61 41 63 74 69 6f 6e 49 74 65 6d 29 20 7b 0a 20 20 20 20 76 61 72 20 74 79 | nction(aActionItem).{.....var.ty |
122cc0 | 70 65 49 74 65 6d 20 3d 20 74 68 69 73 2e 5f 6c 69 73 74 2e 73 65 6c 65 63 74 65 64 49 74 65 6d | peItem.=.this._list.selectedItem |
122ce0 | 3b 0a 20 20 20 20 76 61 72 20 68 61 6e 64 6c 65 72 49 6e 66 6f 20 3d 20 74 68 69 73 2e 5f 68 61 | ;.....var.handlerInfo.=.this._ha |
122d00 | 6e 64 6c 65 64 54 79 70 65 73 5b 74 79 70 65 49 74 65 6d 2e 74 79 70 65 5d 3b 0a 0a 20 20 20 20 | ndledTypes[typeItem.type];...... |
122d20 | 69 66 20 28 61 41 63 74 69 6f 6e 49 74 65 6d 2e 68 61 73 41 74 74 72 69 62 75 74 65 28 22 61 6c | if.(aActionItem.hasAttribute("al |
122d40 | 77 61 79 73 41 73 6b 22 29 29 20 7b 0a 20 20 20 20 20 20 68 61 6e 64 6c 65 72 49 6e 66 6f 2e 61 | waysAsk")).{.......handlerInfo.a |
122d60 | 6c 77 61 79 73 41 73 6b 42 65 66 6f 72 65 48 61 6e 64 6c 69 6e 67 20 3d 20 74 72 75 65 3b 0a 20 | lwaysAskBeforeHandling.=.true;.. |
122d80 | 20 20 20 7d 0a 20 20 20 20 65 6c 73 65 20 69 66 20 28 61 41 63 74 69 6f 6e 49 74 65 6d 2e 68 61 | ...}.....else.if.(aActionItem.ha |
122da0 | 73 41 74 74 72 69 62 75 74 65 28 22 61 63 74 69 6f 6e 22 29 29 20 7b 0a 20 20 20 20 20 20 6c 65 | sAttribute("action")).{.......le |
122dc0 | 74 20 61 63 74 69 6f 6e 20 3d 20 70 61 72 73 65 49 6e 74 28 61 41 63 74 69 6f 6e 49 74 65 6d 2e | t.action.=.parseInt(aActionItem. |
122de0 | 67 65 74 41 74 74 72 69 62 75 74 65 28 22 61 63 74 69 6f 6e 22 29 29 3b 0a 0a 20 20 20 20 20 20 | getAttribute("action"));........ |
122e00 | 2f 2f 20 53 65 74 20 74 68 65 20 70 6c 75 67 69 6e 20 73 74 61 74 65 20 69 66 20 77 65 27 72 65 | //.Set.the.plugin.state.if.we're |
122e20 | 20 65 6e 61 62 6c 69 6e 67 20 6f 72 20 64 69 73 61 62 6c 69 6e 67 20 61 20 70 6c 75 67 69 6e 2e | .enabling.or.disabling.a.plugin. |
122e40 | 0a 20 20 20 20 20 20 69 66 20 28 61 63 74 69 6f 6e 20 3d 3d 20 6b 41 63 74 69 6f 6e 55 73 65 50 | .......if.(action.==.kActionUseP |
122e60 | 6c 75 67 69 6e 29 0a 20 20 20 20 20 20 20 20 68 61 6e 64 6c 65 72 49 6e 66 6f 2e 65 6e 61 62 6c | lugin).........handlerInfo.enabl |
122e80 | 65 50 6c 75 67 69 6e 54 79 70 65 28 29 3b 0a 20 20 20 20 20 20 65 6c 73 65 20 69 66 20 28 68 61 | ePluginType();.......else.if.(ha |
122ea0 | 6e 64 6c 65 72 49 6e 66 6f 2e 70 6c 75 67 69 6e 20 26 26 20 21 68 61 6e 64 6c 65 72 49 6e 66 6f | ndlerInfo.plugin.&&.!handlerInfo |
122ec0 | 2e 69 73 44 69 73 61 62 6c 65 64 50 6c 75 67 69 6e 54 79 70 65 29 0a 20 20 20 20 20 20 20 20 68 | .isDisabledPluginType).........h |
122ee0 | 61 6e 64 6c 65 72 49 6e 66 6f 2e 64 69 73 61 62 6c 65 50 6c 75 67 69 6e 54 79 70 65 28 29 3b 0a | andlerInfo.disablePluginType();. |
122f00 | 0a 20 20 20 20 20 20 2f 2f 20 53 65 74 20 74 68 65 20 70 72 65 66 65 72 72 65 64 20 61 70 70 6c | .......//.Set.the.preferred.appl |
122f20 | 69 63 61 74 69 6f 6e 20 68 61 6e 64 6c 65 72 2e 0a 20 20 20 20 20 20 2f 2f 20 57 65 20 6c 65 61 | ication.handler........//.We.lea |
122f40 | 76 65 20 74 68 65 20 65 78 69 73 74 69 6e 67 20 70 72 65 66 65 72 72 65 64 20 61 70 70 20 69 6e | ve.the.existing.preferred.app.in |
122f60 | 20 74 68 65 20 6c 69 73 74 20 77 68 65 6e 20 77 65 20 73 65 74 0a 20 20 20 20 20 20 2f 2f 20 74 | .the.list.when.we.set.......//.t |
122f80 | 68 65 20 70 72 65 66 65 72 72 65 64 20 61 63 74 69 6f 6e 20 74 6f 20 73 6f 6d 65 74 68 69 6e 67 | he.preferred.action.to.something |
122fa0 | 20 6f 74 68 65 72 20 74 68 61 6e 20 75 73 65 48 65 6c 70 65 72 41 70 70 20 73 6f 20 74 68 61 74 | .other.than.useHelperApp.so.that |
122fc0 | 0a 20 20 20 20 20 20 2f 2f 20 6c 65 67 61 63 79 20 64 61 74 61 73 74 6f 72 65 73 20 74 68 61 74 | .......//.legacy.datastores.that |
122fe0 | 20 64 6f 6e 27 74 20 68 61 76 65 20 74 68 65 20 70 72 65 66 65 72 72 65 64 20 61 70 70 20 69 6e | .don't.have.the.preferred.app.in |
123000 | 20 74 68 65 20 6c 69 73 74 0a 20 20 20 20 20 20 2f 2f 20 6f 66 20 70 6f 73 73 69 62 6c 65 20 61 | .the.list.......//.of.possible.a |
123020 | 70 70 73 20 73 74 69 6c 6c 20 69 6e 63 6c 75 64 65 20 74 68 65 20 70 72 65 66 65 72 72 65 64 20 | pps.still.include.the.preferred. |
123040 | 61 70 70 20 69 6e 20 74 68 65 20 6c 69 73 74 20 6f 66 20 61 70 70 73 0a 20 20 20 20 20 20 2f 2f | app.in.the.list.of.apps.......// |
123060 | 20 74 68 65 20 75 73 65 72 20 63 61 6e 20 63 68 6f 6f 73 65 20 74 6f 20 68 61 6e 64 6c 65 20 74 | .the.user.can.choose.to.handle.t |
123080 | 68 65 20 74 79 70 65 2e 0a 20 20 20 20 20 20 69 66 20 28 61 63 74 69 6f 6e 20 3d 3d 20 43 69 2e | he.type........if.(action.==.Ci. |
1230a0 | 6e 73 49 48 61 6e 64 6c 65 72 49 6e 66 6f 2e 75 73 65 48 65 6c 70 65 72 41 70 70 29 0a 20 20 20 | nsIHandlerInfo.useHelperApp).... |
1230c0 | 20 20 20 20 20 68 61 6e 64 6c 65 72 49 6e 66 6f 2e 70 72 65 66 65 72 72 65 64 41 70 70 6c 69 63 | .....handlerInfo.preferredApplic |
1230e0 | 61 74 69 6f 6e 48 61 6e 64 6c 65 72 20 3d 20 61 41 63 74 69 6f 6e 49 74 65 6d 2e 68 61 6e 64 6c | ationHandler.=.aActionItem.handl |
123100 | 65 72 41 70 70 3b 0a 0a 20 20 20 20 20 20 2f 2f 20 53 65 74 20 74 68 65 20 22 61 6c 77 61 79 73 | erApp;........//.Set.the."always |
123120 | 20 61 73 6b 22 20 66 6c 61 67 2e 0a 20 20 20 20 20 20 68 61 6e 64 6c 65 72 49 6e 66 6f 2e 61 6c | .ask".flag........handlerInfo.al |
123140 | 77 61 79 73 41 73 6b 42 65 66 6f 72 65 48 61 6e 64 6c 69 6e 67 20 3d 20 66 61 6c 73 65 3b 0a 0a | waysAskBeforeHandling.=.false;.. |
123160 | 20 20 20 20 20 20 2f 2f 20 53 65 74 20 74 68 65 20 70 72 65 66 65 72 72 65 64 20 61 63 74 69 6f | ......//.Set.the.preferred.actio |
123180 | 6e 2e 0a 20 20 20 20 20 20 68 61 6e 64 6c 65 72 49 6e 66 6f 2e 70 72 65 66 65 72 72 65 64 41 63 | n........handlerInfo.preferredAc |
1231a0 | 74 69 6f 6e 20 3d 20 61 63 74 69 6f 6e 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 68 61 6e 64 6c 65 | tion.=.action;.....}......handle |
1231c0 | 72 49 6e 66 6f 2e 73 74 6f 72 65 28 29 3b 0a 0a 20 20 20 20 2f 2f 20 4d 61 6b 65 20 73 75 72 65 | rInfo.store();......//.Make.sure |
1231e0 | 20 74 68 65 20 68 61 6e 64 6c 65 72 20 69 6e 66 6f 20 6f 62 6a 65 63 74 20 69 73 20 66 6c 61 67 | .the.handler.info.object.is.flag |
123200 | 67 65 64 20 74 6f 20 69 6e 64 69 63 61 74 65 20 74 68 61 74 20 74 68 65 72 65 20 69 73 0a 20 20 | ged.to.indicate.that.there.is... |
123220 | 20 20 2f 2f 20 6e 6f 77 20 73 6f 6d 65 20 75 73 65 72 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e | ..//.now.some.user.configuration |
123240 | 20 66 6f 72 20 74 68 65 20 74 79 70 65 2e 0a 20 20 20 20 68 61 6e 64 6c 65 72 49 6e 66 6f 2e 68 | .for.the.type......handlerInfo.h |
123260 | 61 6e 64 6c 65 64 4f 6e 6c 79 42 79 50 6c 75 67 69 6e 20 3d 20 66 61 6c 73 65 3b 0a 0a 20 20 20 | andledOnlyByPlugin.=.false;..... |
123280 | 20 2f 2f 20 55 70 64 61 74 65 20 74 68 65 20 61 63 74 69 6f 6e 20 6c 61 62 65 6c 20 61 6e 64 20 | .//.Update.the.action.label.and. |
1232a0 | 69 6d 61 67 65 20 74 6f 20 72 65 66 6c 65 63 74 20 74 68 65 20 6e 65 77 20 70 72 65 66 65 72 72 | image.to.reflect.the.new.preferr |
1232c0 | 65 64 20 61 63 74 69 6f 6e 2e 0a 20 20 20 20 74 79 70 65 49 74 65 6d 2e 73 65 74 41 74 74 72 69 | ed.action......typeItem.setAttri |
1232e0 | 62 75 74 65 28 22 61 63 74 69 6f 6e 44 65 73 63 72 69 70 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 | bute("actionDescription",....... |
123300 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 64 65 73 63 72 69 | ....................this._descri |
123320 | 62 65 50 72 65 66 65 72 72 65 64 41 63 74 69 6f 6e 28 68 61 6e 64 6c 65 72 49 6e 66 6f 29 29 3b | bePreferredAction(handlerInfo)); |
123340 | 0a 20 20 20 20 69 66 20 28 21 74 68 69 73 2e 5f 73 65 74 49 63 6f 6e 43 6c 61 73 73 46 6f 72 50 | .....if.(!this._setIconClassForP |
123360 | 72 65 66 65 72 72 65 64 41 63 74 69 6f 6e 28 68 61 6e 64 6c 65 72 49 6e 66 6f 2c 20 74 79 70 65 | referredAction(handlerInfo,.type |
123380 | 49 74 65 6d 29 29 20 7b 0a 20 20 20 20 20 20 74 79 70 65 49 74 65 6d 2e 73 65 74 41 74 74 72 69 | Item)).{.......typeItem.setAttri |
1233a0 | 62 75 74 65 28 22 61 63 74 69 6f 6e 49 63 6f 6e 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | bute("actionIcon",.............. |
1233c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 67 65 74 49 63 6f 6e 55 52 4c 46 | ...............this._getIconURLF |
1233e0 | 6f 72 50 72 65 66 65 72 72 65 64 41 63 74 69 6f 6e 28 68 61 6e 64 6c 65 72 49 6e 66 6f 29 29 3b | orPreferredAction(handlerInfo)); |
123400 | 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 6d 61 6e 61 67 65 41 70 70 3a 20 66 75 6e 63 74 69 | .....}...},....manageApp:.functi |
123420 | 6f 6e 28 61 45 76 65 6e 74 29 20 7b 0a 20 20 20 20 2f 2f 20 44 6f 6e 27 74 20 6c 65 74 20 74 68 | on(aEvent).{.....//.Don't.let.th |
123440 | 65 20 6e 6f 72 6d 61 6c 20 22 6f 6e 20 73 65 6c 65 63 74 20 61 63 74 69 6f 6e 22 20 68 61 6e 64 | e.normal."on.select.action".hand |
123460 | 6c 65 72 20 67 65 74 20 74 68 69 73 20 65 76 65 6e 74 2c 0a 20 20 20 20 2f 2f 20 61 73 20 77 65 | ler.get.this.event,.....//.as.we |
123480 | 20 68 61 6e 64 6c 65 20 69 74 20 73 70 65 63 69 61 6c 6c 79 20 6f 75 72 73 65 6c 76 65 73 2e 0a | .handle.it.specially.ourselves.. |
1234a0 | 20 20 20 20 61 45 76 65 6e 74 2e 73 74 6f 70 50 72 6f 70 61 67 61 74 69 6f 6e 28 29 3b 0a 0a 20 | ....aEvent.stopPropagation();... |
1234c0 | 20 20 20 76 61 72 20 74 79 70 65 49 74 65 6d 20 3d 20 74 68 69 73 2e 5f 6c 69 73 74 2e 73 65 6c | ...var.typeItem.=.this._list.sel |
1234e0 | 65 63 74 65 64 49 74 65 6d 3b 0a 20 20 20 20 76 61 72 20 68 61 6e 64 6c 65 72 49 6e 66 6f 20 3d | ectedItem;.....var.handlerInfo.= |
123500 | 20 74 68 69 73 2e 5f 68 61 6e 64 6c 65 64 54 79 70 65 73 5b 74 79 70 65 49 74 65 6d 2e 74 79 70 | .this._handledTypes[typeItem.typ |
123520 | 65 5d 3b 0a 0a 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 64 6f 63 75 6d 65 6e 74 45 6c 65 6d 65 6e | e];......document.documentElemen |
123540 | 74 2e 6f 70 65 6e 53 75 62 44 69 61 6c 6f 67 28 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 | t.openSubDialog("chrome://browse |
123560 | 72 2f 63 6f 6e 74 65 6e 74 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 61 70 70 6c 69 63 61 74 69 6f | r/content/preferences/applicatio |
123580 | 6e 4d 61 6e 61 67 65 72 2e 78 75 6c 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | nManager.xul",.................. |
1235a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 22 2c 20 68 61 | .........................."",.ha |
1235c0 | 6e 64 6c 65 72 49 6e 66 6f 29 3b 0a 0a 20 20 20 20 2f 2f 20 52 65 62 75 69 6c 64 20 74 68 65 20 | ndlerInfo);......//.Rebuild.the. |
1235e0 | 61 63 74 69 6f 6e 73 20 6d 65 6e 75 20 73 6f 20 74 68 61 74 20 77 65 20 72 65 76 65 72 74 20 74 | actions.menu.so.that.we.revert.t |
123600 | 6f 20 74 68 65 20 70 72 65 76 69 6f 75 73 20 73 65 6c 65 63 74 69 6f 6e 2c 0a 20 20 20 20 2f 2f | o.the.previous.selection,.....// |
123620 | 20 6f 72 20 22 41 6c 77 61 79 73 20 61 73 6b 22 20 69 66 20 74 68 65 20 70 72 65 76 69 6f 75 73 | .or."Always.ask".if.the.previous |
123640 | 20 64 65 66 61 75 6c 74 20 61 70 70 6c 69 63 61 74 69 6f 6e 20 68 61 73 20 62 65 65 6e 20 72 65 | .default.application.has.been.re |
123660 | 6d 6f 76 65 64 0a 20 20 20 20 74 68 69 73 2e 72 65 62 75 69 6c 64 41 63 74 69 6f 6e 73 4d 65 6e | moved.....this.rebuildActionsMen |
123680 | 75 28 29 3b 0a 0a 20 20 20 20 2f 2f 20 75 70 64 61 74 65 20 74 68 65 20 72 69 63 68 6c 69 73 74 | u();......//.update.the.richlist |
1236a0 | 69 74 65 6d 20 74 6f 6f 2e 20 57 69 6c 6c 20 62 65 20 76 69 73 69 62 6c 65 20 77 68 65 6e 20 73 | item.too..Will.be.visible.when.s |
1236c0 | 65 6c 65 63 74 69 6e 67 20 61 6e 6f 74 68 65 72 20 72 6f 77 0a 20 20 20 20 74 79 70 65 49 74 65 | electing.another.row.....typeIte |
1236e0 | 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 61 63 74 69 6f 6e 44 65 73 63 72 69 70 74 69 6f | m.setAttribute("actionDescriptio |
123700 | 6e 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 | n",...........................th |
123720 | 69 73 2e 5f 64 65 73 63 72 69 62 65 50 72 65 66 65 72 72 65 64 41 63 74 69 6f 6e 28 68 61 6e 64 | is._describePreferredAction(hand |
123740 | 6c 65 72 49 6e 66 6f 29 29 3b 0a 20 20 20 20 69 66 20 28 21 74 68 69 73 2e 5f 73 65 74 49 63 6f | lerInfo));.....if.(!this._setIco |
123760 | 6e 43 6c 61 73 73 46 6f 72 50 72 65 66 65 72 72 65 64 41 63 74 69 6f 6e 28 68 61 6e 64 6c 65 72 | nClassForPreferredAction(handler |
123780 | 49 6e 66 6f 2c 20 74 79 70 65 49 74 65 6d 29 29 20 7b 0a 20 20 20 20 20 20 74 79 70 65 49 74 65 | Info,.typeItem)).{.......typeIte |
1237a0 | 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 61 63 74 69 6f 6e 49 63 6f 6e 22 2c 0a 20 20 20 | m.setAttribute("actionIcon",.... |
1237c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 67 | .........................this._g |
1237e0 | 65 74 49 63 6f 6e 55 52 4c 46 6f 72 50 72 65 66 65 72 72 65 64 41 63 74 69 6f 6e 28 68 61 6e 64 | etIconURLForPreferredAction(hand |
123800 | 6c 65 72 49 6e 66 6f 29 29 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 63 68 6f 6f 73 65 41 | lerInfo));.....}...},....chooseA |
123820 | 70 70 3a 20 66 75 6e 63 74 69 6f 6e 28 61 45 76 65 6e 74 29 20 7b 0a 20 20 20 20 2f 2f 20 44 6f | pp:.function(aEvent).{.....//.Do |
123840 | 6e 27 74 20 6c 65 74 20 74 68 65 20 6e 6f 72 6d 61 6c 20 22 6f 6e 20 73 65 6c 65 63 74 20 61 63 | n't.let.the.normal."on.select.ac |
123860 | 74 69 6f 6e 22 20 68 61 6e 64 6c 65 72 20 67 65 74 20 74 68 69 73 20 65 76 65 6e 74 2c 0a 20 20 | tion".handler.get.this.event,... |
123880 | 20 20 2f 2f 20 61 73 20 77 65 20 68 61 6e 64 6c 65 20 69 74 20 73 70 65 63 69 61 6c 6c 79 20 6f | ..//.as.we.handle.it.specially.o |
1238a0 | 75 72 73 65 6c 76 65 73 2e 0a 20 20 20 20 61 45 76 65 6e 74 2e 73 74 6f 70 50 72 6f 70 61 67 61 | urselves......aEvent.stopPropaga |
1238c0 | 74 69 6f 6e 28 29 3b 0a 0a 20 20 20 20 76 61 72 20 68 61 6e 64 6c 65 72 41 70 70 3b 0a 0a 2f 2f | tion();......var.handlerApp;..// |
1238e0 | 40 6c 69 6e 65 20 31 37 34 36 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c | @line.1746."/builds/moz2_slave/l |
123900 | 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 63 6f 6d 70 6f 6e 65 | inux_build/build/browser/compone |
123920 | 6e 74 73 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 61 70 70 6c 69 63 61 74 69 6f 6e 73 2e 6a 73 22 | nts/preferences/applications.js" |
123940 | 0a 20 20 20 20 76 61 72 20 66 70 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 66 | .....var.fp.=.Cc["@mozilla.org/f |
123960 | 69 6c 65 70 69 63 6b 65 72 3b 31 22 5d 2e 63 72 65 61 74 65 49 6e 73 74 61 6e 63 65 28 43 69 2e | ilepicker;1"].createInstance(Ci. |
123980 | 6e 73 49 46 69 6c 65 50 69 63 6b 65 72 29 3b 0a 20 20 20 20 76 61 72 20 77 69 6e 54 69 74 6c 65 | nsIFilePicker);.....var.winTitle |
1239a0 | 20 3d 20 74 68 69 73 2e 5f 70 72 65 66 73 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 | .=.this._prefsBundle.getString(" |
1239c0 | 66 70 54 69 74 6c 65 43 68 6f 6f 73 65 41 70 70 22 29 3b 0a 20 20 20 20 66 70 2e 69 6e 69 74 28 | fpTitleChooseApp");.....fp.init( |
1239e0 | 77 69 6e 64 6f 77 2c 20 77 69 6e 54 69 74 6c 65 2c 20 43 69 2e 6e 73 49 46 69 6c 65 50 69 63 6b | window,.winTitle,.Ci.nsIFilePick |
123a00 | 65 72 2e 6d 6f 64 65 4f 70 65 6e 29 3b 0a 20 20 20 20 66 70 2e 61 70 70 65 6e 64 46 69 6c 74 65 | er.modeOpen);.....fp.appendFilte |
123a20 | 72 73 28 43 69 2e 6e 73 49 46 69 6c 65 50 69 63 6b 65 72 2e 66 69 6c 74 65 72 41 70 70 73 29 3b | rs(Ci.nsIFilePicker.filterApps); |
123a40 | 0a 0a 20 20 20 20 2f 2f 20 50 72 6f 6d 70 74 20 74 68 65 20 75 73 65 72 20 74 6f 20 70 69 63 6b | ......//.Prompt.the.user.to.pick |
123a60 | 20 61 6e 20 61 70 70 2e 20 20 49 66 20 74 68 65 79 20 70 69 63 6b 20 6f 6e 65 2c 20 61 6e 64 20 | .an.app...If.they.pick.one,.and. |
123a80 | 69 74 27 73 20 61 20 76 61 6c 69 64 0a 20 20 20 20 2f 2f 20 73 65 6c 65 63 74 69 6f 6e 2c 20 74 | it's.a.valid.....//.selection,.t |
123aa0 | 68 65 6e 20 61 64 64 20 69 74 20 74 6f 20 74 68 65 20 6c 69 73 74 20 6f 66 20 70 6f 73 73 69 62 | hen.add.it.to.the.list.of.possib |
123ac0 | 6c 65 20 68 61 6e 64 6c 65 72 73 2e 0a 20 20 20 20 69 66 20 28 66 70 2e 73 68 6f 77 28 29 20 3d | le.handlers......if.(fp.show().= |
123ae0 | 3d 20 43 69 2e 6e 73 49 46 69 6c 65 50 69 63 6b 65 72 2e 72 65 74 75 72 6e 4f 4b 20 26 26 20 66 | =.Ci.nsIFilePicker.returnOK.&&.f |
123b00 | 70 2e 66 69 6c 65 20 26 26 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 69 73 56 61 6c 69 64 48 | p.file.&&.........this._isValidH |
123b20 | 61 6e 64 6c 65 72 45 78 65 63 75 74 61 62 6c 65 28 66 70 2e 66 69 6c 65 29 29 20 7b 0a 20 20 20 | andlerExecutable(fp.file)).{.... |
123b40 | 20 20 20 68 61 6e 64 6c 65 72 41 70 70 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 | ...handlerApp.=.Cc["@mozilla.org |
123b60 | 2f 75 72 69 6c 6f 61 64 65 72 2f 6c 6f 63 61 6c 2d 68 61 6e 64 6c 65 72 2d 61 70 70 3b 31 22 5d | /uriloader/local-handler-app;1"] |
123b80 | 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 72 65 61 74 65 49 6e 73 74 61 | .....................createInsta |
123ba0 | 6e 63 65 28 43 69 2e 6e 73 49 4c 6f 63 61 6c 48 61 6e 64 6c 65 72 41 70 70 29 3b 0a 20 20 20 20 | nce(Ci.nsILocalHandlerApp);..... |
123bc0 | 20 20 68 61 6e 64 6c 65 72 41 70 70 2e 6e 61 6d 65 20 3d 20 67 65 74 44 69 73 70 6c 61 79 4e 61 | ..handlerApp.name.=.getDisplayNa |
123be0 | 6d 65 46 6f 72 46 69 6c 65 28 66 70 2e 66 69 6c 65 29 3b 0a 20 20 20 20 20 20 68 61 6e 64 6c 65 | meForFile(fp.file);.......handle |
123c00 | 72 41 70 70 2e 65 78 65 63 75 74 61 62 6c 65 20 3d 20 66 70 2e 66 69 6c 65 3b 0a 0a 20 20 20 20 | rApp.executable.=.fp.file;...... |
123c20 | 20 20 2f 2f 20 41 64 64 20 74 68 65 20 61 70 70 20 74 6f 20 74 68 65 20 74 79 70 65 27 73 20 6c | ..//.Add.the.app.to.the.type's.l |
123c40 | 69 73 74 20 6f 66 20 70 6f 73 73 69 62 6c 65 20 68 61 6e 64 6c 65 72 73 2e 0a 20 20 20 20 20 20 | ist.of.possible.handlers........ |
123c60 | 6c 65 74 20 68 61 6e 64 6c 65 72 49 6e 66 6f 20 3d 20 74 68 69 73 2e 5f 68 61 6e 64 6c 65 64 54 | let.handlerInfo.=.this._handledT |
123c80 | 79 70 65 73 5b 74 68 69 73 2e 5f 6c 69 73 74 2e 73 65 6c 65 63 74 65 64 49 74 65 6d 2e 74 79 70 | ypes[this._list.selectedItem.typ |
123ca0 | 65 5d 3b 0a 20 20 20 20 20 20 68 61 6e 64 6c 65 72 49 6e 66 6f 2e 61 64 64 50 6f 73 73 69 62 6c | e];.......handlerInfo.addPossibl |
123cc0 | 65 41 70 70 6c 69 63 61 74 69 6f 6e 48 61 6e 64 6c 65 72 28 68 61 6e 64 6c 65 72 41 70 70 29 3b | eApplicationHandler(handlerApp); |
123ce0 | 0a 20 20 20 20 7d 0a 2f 2f 40 6c 69 6e 65 20 31 37 36 35 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a | .....}.//@line.1765."/builds/moz |
123d00 | 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 | 2_slave/linux_build/build/browse |
123d20 | 72 2f 63 6f 6d 70 6f 6e 65 6e 74 73 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 61 70 70 6c 69 63 61 | r/components/preferences/applica |
123d40 | 74 69 6f 6e 73 2e 6a 73 22 0a 0a 20 20 20 20 2f 2f 20 52 65 62 75 69 6c 64 20 74 68 65 20 61 63 | tions.js"......//.Rebuild.the.ac |
123d60 | 74 69 6f 6e 73 20 6d 65 6e 75 20 77 68 65 74 68 65 72 20 74 68 65 20 75 73 65 72 20 70 69 63 6b | tions.menu.whether.the.user.pick |
123d80 | 65 64 20 61 6e 20 61 70 70 20 6f 72 20 63 61 6e 63 65 6c 65 64 2e 0a 20 20 20 20 2f 2f 20 49 66 | ed.an.app.or.canceled......//.If |
123da0 | 20 74 68 65 79 20 70 69 63 6b 65 64 20 61 6e 20 61 70 70 2c 20 77 65 20 77 61 6e 74 20 74 6f 20 | .they.picked.an.app,.we.want.to. |
123dc0 | 61 64 64 20 74 68 65 20 61 70 70 20 74 6f 20 74 68 65 20 6d 65 6e 75 20 61 6e 64 20 73 65 6c 65 | add.the.app.to.the.menu.and.sele |
123de0 | 63 74 20 69 74 2e 0a 20 20 20 20 2f 2f 20 49 66 20 74 68 65 79 20 63 61 6e 63 65 6c 65 64 2c 20 | ct.it......//.If.they.canceled,. |
123e00 | 77 65 20 77 61 6e 74 20 74 6f 20 67 6f 20 62 61 63 6b 20 74 6f 20 74 68 65 69 72 20 70 72 65 76 | we.want.to.go.back.to.their.prev |
123e20 | 69 6f 75 73 20 73 65 6c 65 63 74 69 6f 6e 2e 0a 20 20 20 20 74 68 69 73 2e 72 65 62 75 69 6c 64 | ious.selection......this.rebuild |
123e40 | 41 63 74 69 6f 6e 73 4d 65 6e 75 28 29 3b 0a 0a 20 20 20 20 2f 2f 20 49 66 20 74 68 65 20 75 73 | ActionsMenu();......//.If.the.us |
123e60 | 65 72 20 70 69 63 6b 65 64 20 61 20 6e 65 77 20 61 70 70 20 66 72 6f 6d 20 74 68 65 20 6d 65 6e | er.picked.a.new.app.from.the.men |
123e80 | 75 2c 20 73 65 6c 65 63 74 20 69 74 2e 0a 20 20 20 20 69 66 20 28 68 61 6e 64 6c 65 72 41 70 70 | u,.select.it......if.(handlerApp |
123ea0 | 29 20 7b 0a 20 20 20 20 20 20 6c 65 74 20 74 79 70 65 49 74 65 6d 20 3d 20 74 68 69 73 2e 5f 6c | ).{.......let.typeItem.=.this._l |
123ec0 | 69 73 74 2e 73 65 6c 65 63 74 65 64 49 74 65 6d 3b 0a 20 20 20 20 20 20 6c 65 74 20 61 63 74 69 | ist.selectedItem;.......let.acti |
123ee0 | 6f 6e 73 4d 65 6e 75 20 3d 0a 20 20 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 41 6e | onsMenu.=.........document.getAn |
123f00 | 6f 6e 79 6d 6f 75 73 45 6c 65 6d 65 6e 74 42 79 41 74 74 72 69 62 75 74 65 28 74 79 70 65 49 74 | onymousElementByAttribute(typeIt |
123f20 | 65 6d 2c 20 22 63 6c 61 73 73 22 2c 20 22 61 63 74 69 6f 6e 73 4d 65 6e 75 22 29 3b 0a 20 20 20 | em,."class",."actionsMenu");.... |
123f40 | 20 20 20 6c 65 74 20 6d 65 6e 75 49 74 65 6d 73 20 3d 20 61 63 74 69 6f 6e 73 4d 65 6e 75 2e 6d | ...let.menuItems.=.actionsMenu.m |
123f60 | 65 6e 75 70 6f 70 75 70 2e 63 68 69 6c 64 4e 6f 64 65 73 3b 0a 20 20 20 20 20 20 66 6f 72 20 28 | enupopup.childNodes;.......for.( |
123f80 | 6c 65 74 20 69 20 3d 20 30 3b 20 69 20 3c 20 6d 65 6e 75 49 74 65 6d 73 2e 6c 65 6e 67 74 68 3b | let.i.=.0;.i.<.menuItems.length; |
123fa0 | 20 69 2b 2b 29 20 7b 0a 20 20 20 20 20 20 20 20 6c 65 74 20 6d 65 6e 75 49 74 65 6d 20 3d 20 6d | .i++).{.........let.menuItem.=.m |
123fc0 | 65 6e 75 49 74 65 6d 73 5b 69 5d 3b 0a 20 20 20 20 20 20 20 20 69 66 20 28 6d 65 6e 75 49 74 65 | enuItems[i];.........if.(menuIte |
123fe0 | 6d 2e 68 61 6e 64 6c 65 72 41 70 70 20 26 26 20 6d 65 6e 75 49 74 65 6d 2e 68 61 6e 64 6c 65 72 | m.handlerApp.&&.menuItem.handler |
124000 | 41 70 70 2e 65 71 75 61 6c 73 28 68 61 6e 64 6c 65 72 41 70 70 29 29 20 7b 0a 20 20 20 20 20 20 | App.equals(handlerApp)).{....... |
124020 | 20 20 20 20 61 63 74 69 6f 6e 73 4d 65 6e 75 2e 73 65 6c 65 63 74 65 64 49 6e 64 65 78 20 3d 20 | ....actionsMenu.selectedIndex.=. |
124040 | 69 3b 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6f 6e 53 65 6c 65 63 74 41 63 74 69 6f 6e | i;...........this.onSelectAction |
124060 | 28 6d 65 6e 75 49 74 65 6d 29 3b 0a 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 | (menuItem);...........break;.... |
124080 | 20 20 20 20 20 7d 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 2f 2f 20 | .....}.......}.....}...},....//. |
1240a0 | 4d 61 72 6b 20 77 68 69 63 68 20 69 74 65 6d 20 69 6e 20 74 68 65 20 6c 69 73 74 20 77 61 73 20 | Mark.which.item.in.the.list.was. |
1240c0 | 6c 61 73 74 20 73 65 6c 65 63 74 65 64 20 73 6f 20 77 65 20 63 61 6e 20 72 65 73 65 6c 65 63 74 | last.selected.so.we.can.reselect |
1240e0 | 20 69 74 0a 20 20 2f 2f 20 77 68 65 6e 20 77 65 20 72 65 62 75 69 6c 64 20 74 68 65 20 6c 69 73 | .it...//.when.we.rebuild.the.lis |
124100 | 74 20 6f 72 20 77 68 65 6e 20 74 68 65 20 75 73 65 72 20 72 65 74 75 72 6e 73 20 74 6f 20 74 68 | t.or.when.the.user.returns.to.th |
124120 | 65 20 70 72 65 66 70 61 6e 65 2e 0a 20 20 6f 6e 53 65 6c 65 63 74 69 6f 6e 43 68 61 6e 67 65 64 | e.prefpane....onSelectionChanged |
124140 | 3a 20 66 75 6e 63 74 69 6f 6e 28 29 20 7b 0a 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 6c 69 73 | :.function().{.....if.(this._lis |
124160 | 74 2e 73 65 6c 65 63 74 65 64 49 74 65 6d 29 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 6c 69 73 74 | t.selectedItem).......this._list |
124180 | 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 6c 61 73 74 53 65 6c 65 63 74 65 64 54 79 70 65 22 | .setAttribute("lastSelectedType" |
1241a0 | 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ,............................... |
1241c0 | 74 68 69 73 2e 5f 6c 69 73 74 2e 73 65 6c 65 63 74 65 64 49 74 65 6d 2e 67 65 74 41 74 74 72 69 | this._list.selectedItem.getAttri |
1241e0 | 62 75 74 65 28 22 74 79 70 65 22 29 29 3b 0a 20 20 7d 2c 0a 0a 20 20 5f 73 65 74 49 63 6f 6e 43 | bute("type"));...},...._setIconC |
124200 | 6c 61 73 73 46 6f 72 50 72 65 66 65 72 72 65 64 41 63 74 69 6f 6e 3a 20 66 75 6e 63 74 69 6f 6e | lassForPreferredAction:.function |
124220 | 28 61 48 61 6e 64 6c 65 72 49 6e 66 6f 2c 20 61 45 6c 65 6d 65 6e 74 29 20 7b 0a 20 20 20 20 2f | (aHandlerInfo,.aElement).{...../ |
124240 | 2f 20 49 66 20 74 68 69 73 20 72 65 74 75 72 6e 73 20 74 72 75 65 2c 20 74 68 65 20 61 74 74 72 | /.If.this.returns.true,.the.attr |
124260 | 69 62 75 74 65 20 74 68 61 74 20 43 53 53 20 73 6e 69 66 66 73 20 66 6f 72 20 77 61 73 20 73 65 | ibute.that.CSS.sniffs.for.was.se |
124280 | 74 20 74 6f 20 73 6f 6d 65 74 68 69 6e 67 0a 20 20 20 20 2f 2f 20 73 6f 20 79 6f 75 20 73 68 6f | t.to.something.....//.so.you.sho |
1242a0 | 75 6c 64 6e 27 74 20 6d 61 6e 75 61 6c 6c 79 20 73 65 74 20 61 6e 20 69 63 6f 6e 20 55 52 49 2e | uldn't.manually.set.an.icon.URI. |
1242c0 | 0a 20 20 20 20 2f 2f 20 54 68 69 73 20 72 65 6d 6f 76 65 73 20 74 68 65 20 65 78 69 73 74 69 6e | .....//.This.removes.the.existin |
1242e0 | 67 20 61 63 74 69 6f 6e 49 63 6f 6e 20 61 74 74 72 69 62 75 74 65 20 69 66 20 61 6e 79 2c 20 65 | g.actionIcon.attribute.if.any,.e |
124300 | 76 65 6e 20 69 66 20 72 65 74 75 72 6e 69 6e 67 20 66 61 6c 73 65 2e 0a 20 20 20 20 61 45 6c 65 | ven.if.returning.false......aEle |
124320 | 6d 65 6e 74 2e 72 65 6d 6f 76 65 41 74 74 72 69 62 75 74 65 28 22 61 63 74 69 6f 6e 49 63 6f 6e | ment.removeAttribute("actionIcon |
124340 | 22 29 3b 0a 0a 20 20 20 20 69 66 20 28 61 48 61 6e 64 6c 65 72 49 6e 66 6f 2e 61 6c 77 61 79 73 | ");......if.(aHandlerInfo.always |
124360 | 41 73 6b 42 65 66 6f 72 65 48 61 6e 64 6c 69 6e 67 29 20 7b 0a 20 20 20 20 20 20 61 45 6c 65 6d | AskBeforeHandling).{.......aElem |
124380 | 65 6e 74 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 41 50 50 5f 49 43 4f 4e 5f 41 54 54 52 5f 4e | ent.setAttribute(APP_ICON_ATTR_N |
1243a0 | 41 4d 45 2c 20 22 61 73 6b 22 29 3b 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 72 75 65 3b 0a | AME,."ask");.......return.true;. |
1243c0 | 20 20 20 20 7d 0a 0a 20 20 20 20 73 77 69 74 63 68 20 28 61 48 61 6e 64 6c 65 72 49 6e 66 6f 2e | ....}......switch.(aHandlerInfo. |
1243e0 | 70 72 65 66 65 72 72 65 64 41 63 74 69 6f 6e 29 20 7b 0a 20 20 20 20 20 20 63 61 73 65 20 43 69 | preferredAction).{.......case.Ci |
124400 | 2e 6e 73 49 48 61 6e 64 6c 65 72 49 6e 66 6f 2e 73 61 76 65 54 6f 44 69 73 6b 3a 0a 20 20 20 20 | .nsIHandlerInfo.saveToDisk:..... |
124420 | 20 20 20 20 61 45 6c 65 6d 65 6e 74 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 41 50 50 5f 49 43 | ....aElement.setAttribute(APP_IC |
124440 | 4f 4e 5f 41 54 54 52 5f 4e 41 4d 45 2c 20 22 73 61 76 65 22 29 3b 0a 20 20 20 20 20 20 20 20 72 | ON_ATTR_NAME,."save");.........r |
124460 | 65 74 75 72 6e 20 74 72 75 65 3b 0a 0a 20 20 20 20 20 20 63 61 73 65 20 43 69 2e 6e 73 49 48 61 | eturn.true;........case.Ci.nsIHa |
124480 | 6e 64 6c 65 72 49 6e 66 6f 2e 68 61 6e 64 6c 65 49 6e 74 65 72 6e 61 6c 6c 79 3a 0a 20 20 20 20 | ndlerInfo.handleInternally:..... |
1244a0 | 20 20 20 20 69 66 20 28 69 73 46 65 65 64 54 79 70 65 28 61 48 61 6e 64 6c 65 72 49 6e 66 6f 2e | ....if.(isFeedType(aHandlerInfo. |
1244c0 | 74 79 70 65 29 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 61 45 6c 65 6d 65 6e 74 2e 73 65 74 41 | type)).{...........aElement.setA |
1244e0 | 74 74 72 69 62 75 74 65 28 41 50 50 5f 49 43 4f 4e 5f 41 54 54 52 5f 4e 41 4d 45 2c 20 22 66 65 | ttribute(APP_ICON_ATTR_NAME,."fe |
124500 | 65 64 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 72 75 65 3b 0a 20 20 20 | ed");...........return.true;.... |
124520 | 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 0a 20 20 20 20 20 20 63 61 73 | .....}.........break;........cas |
124540 | 65 20 6b 41 63 74 69 6f 6e 55 73 65 50 6c 75 67 69 6e 3a 0a 20 20 20 20 20 20 20 20 61 45 6c 65 | e.kActionUsePlugin:.........aEle |
124560 | 6d 65 6e 74 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 41 50 50 5f 49 43 4f 4e 5f 41 54 54 52 5f | ment.setAttribute(APP_ICON_ATTR_ |
124580 | 4e 41 4d 45 2c 20 22 70 6c 75 67 69 6e 22 29 3b 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 | NAME,."plugin");.........return. |
1245a0 | 74 72 75 65 3b 0a 20 20 20 20 7d 0a 20 20 20 20 61 45 6c 65 6d 65 6e 74 2e 72 65 6d 6f 76 65 41 | true;.....}.....aElement.removeA |
1245c0 | 74 74 72 69 62 75 74 65 28 41 50 50 5f 49 43 4f 4e 5f 41 54 54 52 5f 4e 41 4d 45 29 3b 0a 20 20 | ttribute(APP_ICON_ATTR_NAME);... |
1245e0 | 20 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 0a 20 20 7d 2c 0a 0a 20 20 5f 67 65 74 49 63 6f 6e | ..return.false;...},...._getIcon |
124600 | 55 52 4c 46 6f 72 50 72 65 66 65 72 72 65 64 41 63 74 69 6f 6e 3a 20 66 75 6e 63 74 69 6f 6e 28 | URLForPreferredAction:.function( |
124620 | 61 48 61 6e 64 6c 65 72 49 6e 66 6f 29 20 7b 0a 20 20 20 20 73 77 69 74 63 68 20 28 61 48 61 6e | aHandlerInfo).{.....switch.(aHan |
124640 | 64 6c 65 72 49 6e 66 6f 2e 70 72 65 66 65 72 72 65 64 41 63 74 69 6f 6e 29 20 7b 0a 20 20 20 20 | dlerInfo.preferredAction).{..... |
124660 | 20 20 63 61 73 65 20 43 69 2e 6e 73 49 48 61 6e 64 6c 65 72 49 6e 66 6f 2e 75 73 65 53 79 73 74 | ..case.Ci.nsIHandlerInfo.useSyst |
124680 | 65 6d 44 65 66 61 75 6c 74 3a 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f | emDefault:.........return.this._ |
1246a0 | 67 65 74 49 63 6f 6e 55 52 4c 46 6f 72 53 79 73 74 65 6d 44 65 66 61 75 6c 74 28 61 48 61 6e 64 | getIconURLForSystemDefault(aHand |
1246c0 | 6c 65 72 49 6e 66 6f 29 3b 0a 0a 20 20 20 20 20 20 63 61 73 65 20 43 69 2e 6e 73 49 48 61 6e 64 | lerInfo);........case.Ci.nsIHand |
1246e0 | 6c 65 72 49 6e 66 6f 2e 75 73 65 48 65 6c 70 65 72 41 70 70 3a 0a 20 20 20 20 20 20 20 20 6c 65 | lerInfo.useHelperApp:.........le |
124700 | 74 20 28 70 72 65 66 65 72 72 65 64 41 70 70 20 3d 20 61 48 61 6e 64 6c 65 72 49 6e 66 6f 2e 70 | t.(preferredApp.=.aHandlerInfo.p |
124720 | 72 65 66 65 72 72 65 64 41 70 70 6c 69 63 61 74 69 6f 6e 48 61 6e 64 6c 65 72 29 20 7b 0a 20 20 | referredApplicationHandler).{... |
124740 | 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 69 73 56 61 6c 69 64 48 61 6e 64 6c 65 72 41 | ........if.(this.isValidHandlerA |
124760 | 70 70 28 70 72 65 66 65 72 72 65 64 41 70 70 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 | pp(preferredApp)).............re |
124780 | 74 75 72 6e 20 74 68 69 73 2e 5f 67 65 74 49 63 6f 6e 55 52 4c 46 6f 72 48 61 6e 64 6c 65 72 41 | turn.this._getIconURLForHandlerA |
1247a0 | 70 70 28 70 72 65 66 65 72 72 65 64 41 70 70 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 | pp(preferredApp);.........}..... |
1247c0 | 20 20 20 20 62 72 65 61 6b 3b 0a 0a 20 20 20 20 20 20 2f 2f 20 54 68 69 73 20 73 68 6f 75 6c 64 | ....break;........//.This.should |
1247e0 | 20 6e 65 76 65 72 20 68 61 70 70 65 6e 2c 20 62 75 74 20 69 66 20 70 72 65 66 65 72 72 65 64 41 | .never.happen,.but.if.preferredA |
124800 | 63 74 69 6f 6e 20 69 73 20 73 65 74 20 74 6f 20 73 6f 6d 65 20 77 65 69 72 64 0a 20 20 20 20 20 | ction.is.set.to.some.weird...... |
124820 | 20 2f 2f 20 76 61 6c 75 65 2c 20 74 68 65 6e 20 66 61 6c 6c 20 62 61 63 6b 20 74 6f 20 74 68 65 | .//.value,.then.fall.back.to.the |
124840 | 20 67 65 6e 65 72 69 63 20 61 70 70 6c 69 63 61 74 69 6f 6e 20 69 63 6f 6e 2e 0a 20 20 20 20 20 | .generic.application.icon....... |
124860 | 20 64 65 66 61 75 6c 74 3a 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 49 43 4f 4e 5f 55 52 | .default:.........return.ICON_UR |
124880 | 4c 5f 41 50 50 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 5f 67 65 74 49 63 6f 6e 55 52 4c | L_APP;.....}...},...._getIconURL |
1248a0 | 46 6f 72 48 61 6e 64 6c 65 72 41 70 70 3a 20 66 75 6e 63 74 69 6f 6e 28 61 48 61 6e 64 6c 65 72 | ForHandlerApp:.function(aHandler |
1248c0 | 41 70 70 29 20 7b 0a 20 20 20 20 69 66 20 28 61 48 61 6e 64 6c 65 72 41 70 70 20 69 6e 73 74 61 | App).{.....if.(aHandlerApp.insta |
1248e0 | 6e 63 65 6f 66 20 43 69 2e 6e 73 49 4c 6f 63 61 6c 48 61 6e 64 6c 65 72 41 70 70 29 0a 20 20 20 | nceof.Ci.nsILocalHandlerApp).... |
124900 | 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 67 65 74 49 63 6f 6e 55 52 4c 46 6f 72 46 69 6c | ...return.this._getIconURLForFil |
124920 | 65 28 61 48 61 6e 64 6c 65 72 41 70 70 2e 65 78 65 63 75 74 61 62 6c 65 29 3b 0a 0a 20 20 20 20 | e(aHandlerApp.executable);...... |
124940 | 69 66 20 28 61 48 61 6e 64 6c 65 72 41 70 70 20 69 6e 73 74 61 6e 63 65 6f 66 20 43 69 2e 6e 73 | if.(aHandlerApp.instanceof.Ci.ns |
124960 | 49 57 65 62 48 61 6e 64 6c 65 72 41 70 70 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 | IWebHandlerApp).......return.thi |
124980 | 73 2e 5f 67 65 74 49 63 6f 6e 55 52 4c 46 6f 72 57 65 62 41 70 70 28 61 48 61 6e 64 6c 65 72 41 | s._getIconURLForWebApp(aHandlerA |
1249a0 | 70 70 2e 75 72 69 54 65 6d 70 6c 61 74 65 29 3b 0a 0a 20 20 20 20 69 66 20 28 61 48 61 6e 64 6c | pp.uriTemplate);......if.(aHandl |
1249c0 | 65 72 41 70 70 20 69 6e 73 74 61 6e 63 65 6f 66 20 43 69 2e 6e 73 49 57 65 62 43 6f 6e 74 65 6e | erApp.instanceof.Ci.nsIWebConten |
1249e0 | 74 48 61 6e 64 6c 65 72 49 6e 66 6f 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e | tHandlerInfo).......return.this. |
124a00 | 5f 67 65 74 49 63 6f 6e 55 52 4c 46 6f 72 57 65 62 41 70 70 28 61 48 61 6e 64 6c 65 72 41 70 70 | _getIconURLForWebApp(aHandlerApp |
124a20 | 2e 75 72 69 29 0a 0a 20 20 20 20 2f 2f 20 57 65 20 6b 6e 6f 77 20 6e 6f 74 68 69 6e 67 20 61 62 | .uri)......//.We.know.nothing.ab |
124a40 | 6f 75 74 20 6f 74 68 65 72 20 6b 69 6e 64 73 20 6f 66 20 68 61 6e 64 6c 65 72 20 61 70 70 73 2e | out.other.kinds.of.handler.apps. |
124a60 | 0a 20 20 20 20 72 65 74 75 72 6e 20 22 22 3b 0a 20 20 7d 2c 0a 0a 20 20 5f 67 65 74 49 63 6f 6e | .....return."";...},...._getIcon |
124a80 | 55 52 4c 46 6f 72 46 69 6c 65 3a 20 66 75 6e 63 74 69 6f 6e 28 61 46 69 6c 65 29 20 7b 0a 20 20 | URLForFile:.function(aFile).{... |
124aa0 | 20 20 76 61 72 20 66 70 68 20 3d 20 74 68 69 73 2e 5f 69 6f 53 76 63 2e 67 65 74 50 72 6f 74 6f | ..var.fph.=.this._ioSvc.getProto |
124ac0 | 63 6f 6c 48 61 6e 64 6c 65 72 28 22 66 69 6c 65 22 29 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 | colHandler("file").............. |
124ae0 | 20 20 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 28 43 69 2e 6e 73 49 46 69 6c 65 50 72 6f 74 6f | ..QueryInterface(Ci.nsIFileProto |
124b00 | 63 6f 6c 48 61 6e 64 6c 65 72 29 3b 0a 20 20 20 20 76 61 72 20 75 72 6c 53 70 65 63 20 3d 20 66 | colHandler);.....var.urlSpec.=.f |
124b20 | 70 68 2e 67 65 74 55 52 4c 53 70 65 63 46 72 6f 6d 46 69 6c 65 28 61 46 69 6c 65 29 3b 0a 0a 20 | ph.getURLSpecFromFile(aFile);... |
124b40 | 20 20 20 72 65 74 75 72 6e 20 22 6d 6f 7a 2d 69 63 6f 6e 3a 2f 2f 22 20 2b 20 75 72 6c 53 70 65 | ...return."moz-icon://".+.urlSpe |
124b60 | 63 20 2b 20 22 3f 73 69 7a 65 3d 31 36 22 3b 0a 20 20 7d 2c 0a 0a 20 20 5f 67 65 74 49 63 6f 6e | c.+."?size=16";...},...._getIcon |
124b80 | 55 52 4c 46 6f 72 57 65 62 41 70 70 3a 20 66 75 6e 63 74 69 6f 6e 28 61 57 65 62 41 70 70 55 52 | URLForWebApp:.function(aWebAppUR |
124ba0 | 49 54 65 6d 70 6c 61 74 65 29 20 7b 0a 20 20 20 20 76 61 72 20 75 72 69 20 3d 20 74 68 69 73 2e | ITemplate).{.....var.uri.=.this. |
124bc0 | 5f 69 6f 53 76 63 2e 6e 65 77 55 52 49 28 61 57 65 62 41 70 70 55 52 49 54 65 6d 70 6c 61 74 65 | _ioSvc.newURI(aWebAppURITemplate |
124be0 | 2c 20 6e 75 6c 6c 2c 20 6e 75 6c 6c 29 3b 0a 0a 20 20 20 20 2f 2f 20 55 6e 66 6f 72 74 75 6e 61 | ,.null,.null);......//.Unfortuna |
124c00 | 74 65 6c 79 20 77 65 20 63 61 6e 27 74 20 75 73 65 20 74 68 65 20 66 61 76 69 63 6f 6e 20 73 65 | tely.we.can't.use.the.favicon.se |
124c20 | 72 76 69 63 65 20 74 6f 20 67 65 74 20 74 68 65 20 66 61 76 69 63 6f 6e 2c 0a 20 20 20 20 2f 2f | rvice.to.get.the.favicon,.....// |
124c40 | 20 62 65 63 61 75 73 65 20 74 68 65 20 73 65 72 76 69 63 65 20 6c 6f 6f 6b 73 20 69 6e 20 74 68 | .because.the.service.looks.in.th |
124c60 | 65 20 61 6e 6e 6f 74 61 74 69 6f 6e 73 20 74 61 62 6c 65 20 66 6f 72 20 61 20 72 65 63 6f 72 64 | e.annotations.table.for.a.record |
124c80 | 20 77 69 74 68 0a 20 20 20 20 2f 2f 20 74 68 65 20 65 78 61 63 74 20 55 52 4c 20 77 65 20 67 69 | .with.....//.the.exact.URL.we.gi |
124ca0 | 76 65 20 69 74 2c 20 61 6e 64 20 75 73 65 72 73 20 77 6f 6e 27 74 20 68 61 76 65 20 73 75 63 68 | ve.it,.and.users.won't.have.such |
124cc0 | 20 72 65 63 6f 72 64 73 20 66 6f 72 20 55 52 4c 73 0a 20 20 20 20 2f 2f 20 74 68 65 79 20 64 6f | .records.for.URLs.....//.they.do |
124ce0 | 6e 27 74 20 76 69 73 69 74 2c 20 61 6e 64 20 75 73 65 72 73 20 77 6f 6e 27 74 20 76 69 73 69 74 | n't.visit,.and.users.won't.visit |
124d00 | 20 74 68 65 20 77 65 62 20 61 70 70 27 73 20 55 52 4c 20 74 65 6d 70 6c 61 74 65 2c 0a 20 20 20 | .the.web.app's.URL.template,.... |
124d20 | 20 2f 2f 20 74 68 65 79 27 6c 6c 20 6f 6e 6c 79 20 76 69 73 69 74 20 55 52 4c 73 20 64 65 72 69 | .//.they'll.only.visit.URLs.deri |
124d40 | 76 65 64 20 66 72 6f 6d 20 74 68 61 74 20 74 65 6d 70 6c 61 74 65 20 28 69 2e 65 2e 20 77 69 74 | ved.from.that.template.(i.e..wit |
124d60 | 68 20 25 73 0a 20 20 20 20 2f 2f 20 69 6e 20 74 68 65 20 74 65 6d 70 6c 61 74 65 20 72 65 70 6c | h.%s.....//.in.the.template.repl |
124d80 | 61 63 65 64 20 62 79 20 74 68 65 20 55 52 4c 20 6f 66 20 74 68 65 20 63 6f 6e 74 65 6e 74 20 62 | aced.by.the.URL.of.the.content.b |
124da0 | 65 69 6e 67 20 68 61 6e 64 6c 65 64 29 2e 0a 0a 20 20 20 20 69 66 20 28 2f 5e 68 74 74 70 73 3f | eing.handled).......if.(/^https? |
124dc0 | 2f 2e 74 65 73 74 28 75 72 69 2e 73 63 68 65 6d 65 29 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e | /.test(uri.scheme)).......return |
124de0 | 20 75 72 69 2e 70 72 65 50 61 74 68 20 2b 20 22 2f 66 61 76 69 63 6f 6e 2e 69 63 6f 22 3b 0a 0a | .uri.prePath.+."/favicon.ico";.. |
124e00 | 20 20 20 20 72 65 74 75 72 6e 20 22 22 3b 0a 20 20 7d 2c 0a 0a 20 20 5f 67 65 74 49 63 6f 6e 55 | ....return."";...},...._getIconU |
124e20 | 52 4c 46 6f 72 53 79 73 74 65 6d 44 65 66 61 75 6c 74 3a 20 66 75 6e 63 74 69 6f 6e 28 61 48 61 | RLForSystemDefault:.function(aHa |
124e40 | 6e 64 6c 65 72 49 6e 66 6f 29 20 7b 0a 20 20 20 20 2f 2f 20 48 61 6e 64 6c 65 72 20 69 6e 66 6f | ndlerInfo).{.....//.Handler.info |
124e60 | 20 6f 62 6a 65 63 74 73 20 66 6f 72 20 4d 49 4d 45 20 74 79 70 65 73 20 6f 6e 20 73 6f 6d 65 20 | .objects.for.MIME.types.on.some. |
124e80 | 4f 53 65 73 20 69 6d 70 6c 65 6d 65 6e 74 20 61 20 70 72 6f 70 65 72 74 79 20 62 61 67 0a 20 20 | OSes.implement.a.property.bag... |
124ea0 | 20 20 2f 2f 20 69 6e 74 65 72 66 61 63 65 20 66 72 6f 6d 20 77 68 69 63 68 20 77 65 20 63 61 6e | ..//.interface.from.which.we.can |
124ec0 | 20 67 65 74 20 61 6e 20 69 63 6f 6e 20 66 6f 72 20 74 68 65 20 64 65 66 61 75 6c 74 20 61 70 70 | .get.an.icon.for.the.default.app |
124ee0 | 2c 20 73 6f 20 69 66 20 77 65 27 72 65 0a 20 20 20 20 2f 2f 20 64 65 61 6c 69 6e 67 20 77 69 74 | ,.so.if.we're.....//.dealing.wit |
124f00 | 68 20 61 20 4d 49 4d 45 20 74 79 70 65 20 6f 6e 20 6f 6e 65 20 6f 66 20 74 68 6f 73 65 20 4f 53 | h.a.MIME.type.on.one.of.those.OS |
124f20 | 65 73 2c 20 74 68 65 6e 20 74 72 79 20 74 6f 20 67 65 74 20 74 68 65 20 69 63 6f 6e 2e 0a 20 20 | es,.then.try.to.get.the.icon.... |
124f40 | 20 20 69 66 20 28 22 77 72 61 70 70 65 64 48 61 6e 64 6c 65 72 49 6e 66 6f 22 20 69 6e 20 61 48 | ..if.("wrappedHandlerInfo".in.aH |
124f60 | 61 6e 64 6c 65 72 49 6e 66 6f 29 20 7b 0a 20 20 20 20 20 20 6c 65 74 20 77 72 61 70 70 65 64 48 | andlerInfo).{.......let.wrappedH |
124f80 | 61 6e 64 6c 65 72 49 6e 66 6f 20 3d 20 61 48 61 6e 64 6c 65 72 49 6e 66 6f 2e 77 72 61 70 70 65 | andlerInfo.=.aHandlerInfo.wrappe |
124fa0 | 64 48 61 6e 64 6c 65 72 49 6e 66 6f 3b 0a 0a 20 20 20 20 20 20 69 66 20 28 77 72 61 70 70 65 64 | dHandlerInfo;........if.(wrapped |
124fc0 | 48 61 6e 64 6c 65 72 49 6e 66 6f 20 69 6e 73 74 61 6e 63 65 6f 66 20 43 69 2e 6e 73 49 4d 49 4d | HandlerInfo.instanceof.Ci.nsIMIM |
124fe0 | 45 49 6e 66 6f 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 77 72 61 70 70 65 64 48 61 6e 64 6c 65 | EInfo.&&...........wrappedHandle |
125000 | 72 49 6e 66 6f 20 69 6e 73 74 61 6e 63 65 6f 66 20 43 69 2e 6e 73 49 50 72 6f 70 65 72 74 79 42 | rInfo.instanceof.Ci.nsIPropertyB |
125020 | 61 67 29 20 7b 0a 20 20 20 20 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 20 20 20 20 6c 65 | ag).{.........try.{...........le |
125040 | 74 20 75 72 6c 20 3d 20 77 72 61 70 70 65 64 48 61 6e 64 6c 65 72 49 6e 66 6f 2e 67 65 74 50 72 | t.url.=.wrappedHandlerInfo.getPr |
125060 | 6f 70 65 72 74 79 28 22 64 65 66 61 75 6c 74 41 70 70 6c 69 63 61 74 69 6f 6e 49 63 6f 6e 55 52 | operty("defaultApplicationIconUR |
125080 | 4c 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 75 72 6c 29 0a 20 20 20 20 20 20 20 20 | L");...........if.(url)......... |
1250a0 | 20 20 20 20 72 65 74 75 72 6e 20 75 72 6c 20 2b 20 22 3f 73 69 7a 65 3d 31 36 22 3b 0a 20 20 20 | ....return.url.+."?size=16";.... |
1250c0 | 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 63 61 74 63 68 28 65 78 29 20 7b 7d 0a 20 20 20 20 | .....}.........catch(ex).{}..... |
1250e0 | 20 20 7d 0a 20 20 20 20 7d 0a 0a 20 20 20 20 2f 2f 20 49 66 20 74 68 69 73 20 69 73 6e 27 74 20 | ..}.....}......//.If.this.isn't. |
125100 | 61 20 4d 49 4d 45 20 74 79 70 65 20 6f 62 6a 65 63 74 20 6f 6e 20 61 6e 20 4f 53 20 74 68 61 74 | a.MIME.type.object.on.an.OS.that |
125120 | 20 73 75 70 70 6f 72 74 73 20 72 65 74 72 69 65 76 69 6e 67 0a 20 20 20 20 2f 2f 20 74 68 65 20 | .supports.retrieving.....//.the. |
125140 | 69 63 6f 6e 2c 20 6f 72 20 69 66 20 77 65 20 63 6f 75 6c 64 6e 27 74 20 72 65 74 72 69 65 76 65 | icon,.or.if.we.couldn't.retrieve |
125160 | 20 74 68 65 20 69 63 6f 6e 20 66 6f 72 20 73 6f 6d 65 20 6f 74 68 65 72 20 72 65 61 73 6f 6e 2c | .the.icon.for.some.other.reason, |
125180 | 0a 20 20 20 20 2f 2f 20 74 68 65 6e 20 75 73 65 20 61 20 67 65 6e 65 72 69 63 20 69 63 6f 6e 2e | .....//.then.use.a.generic.icon. |
1251a0 | 0a 20 20 20 20 72 65 74 75 72 6e 20 49 43 4f 4e 5f 55 52 4c 5f 41 50 50 3b 0a 20 20 7d 0a 0a 7d | .....return.ICON_URL_APP;...}..} |
1251c0 | 3b 0a 50 4b 03 04 14 00 00 00 00 00 f3 4b 18 3b 0e 22 56 47 5d 07 00 00 5d 07 00 00 32 00 00 00 | ;.PK.........K.;."VG]...]...2... |
1251e0 | 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 61 70 70 6c | content/browser/preferences/appl |
125200 | 69 63 61 74 69 6f 6e 4d 61 6e 61 67 65 72 2e 78 75 6c 3c 3f 78 6d 6c 20 76 65 72 73 69 6f 6e 3d | icationManager.xul<?xml.version= |
125220 | 22 31 2e 30 22 3f 3e 0a 0a 3c 3f 78 6d 6c 2d 73 74 79 6c 65 73 68 65 65 74 20 68 72 65 66 3d 22 | "1.0"?>..<?xml-stylesheet.href=" |
125240 | 63 68 72 6f 6d 65 3a 2f 2f 67 6c 6f 62 61 6c 2f 73 6b 69 6e 2f 22 3f 3e 0a 0a 3c 21 44 4f 43 54 | chrome://global/skin/"?>..<!DOCT |
125260 | 59 50 45 20 64 69 61 6c 6f 67 20 53 59 53 54 45 4d 20 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 | YPE.dialog.SYSTEM."chrome://brow |
125280 | 73 65 72 2f 6c 6f 63 61 6c 65 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 61 70 70 6c 69 63 61 74 69 | ser/locale/preferences/applicati |
1252a0 | 6f 6e 4d 61 6e 61 67 65 72 2e 64 74 64 22 3e 0a 0a 3c 64 69 61 6c 6f 67 20 69 64 3d 22 61 70 70 | onManager.dtd">..<dialog.id="app |
1252c0 | 4d 61 6e 61 67 65 72 22 0a 20 20 20 20 20 20 20 20 78 6d 6c 6e 73 3d 22 68 74 74 70 3a 2f 2f 77 | Manager".........xmlns="http://w |
1252e0 | 77 77 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6b 65 79 6d 61 73 74 65 72 2f 67 61 74 65 6b 65 65 | ww.mozilla.org/keymaster/gatekee |
125300 | 70 65 72 2f 74 68 65 72 65 2e 69 73 2e 6f 6e 6c 79 2e 78 75 6c 22 0a 20 20 20 20 20 20 20 20 62 | per/there.is.only.xul".........b |
125320 | 75 74 74 6f 6e 73 3d 22 61 63 63 65 70 74 2c 63 61 6e 63 65 6c 22 0a 20 20 20 20 20 20 20 20 6f | uttons="accept,cancel".........o |
125340 | 6e 6c 6f 61 64 3d 22 67 41 70 70 4d 61 6e 61 67 65 72 44 69 61 6c 6f 67 2e 69 6e 69 74 28 29 3b | nload="gAppManagerDialog.init(); |
125360 | 22 0a 20 20 20 20 20 20 20 20 6f 6e 64 69 61 6c 6f 67 61 63 63 65 70 74 3d 22 67 41 70 70 4d 61 | ".........ondialogaccept="gAppMa |
125380 | 6e 61 67 65 72 44 69 61 6c 6f 67 2e 6f 6e 4f 4b 28 29 3b 22 0a 20 20 20 20 20 20 20 20 6f 6e 64 | nagerDialog.onOK();".........ond |
1253a0 | 69 61 6c 6f 67 63 61 6e 63 65 6c 3d 22 67 41 70 70 4d 61 6e 61 67 65 72 44 69 61 6c 6f 67 2e 6f | ialogcancel="gAppManagerDialog.o |
1253c0 | 6e 43 61 6e 63 65 6c 28 29 3b 22 0a 20 20 20 20 20 20 20 20 74 69 74 6c 65 3d 22 26 61 70 70 4d | nCancel();".........title="&appM |
1253e0 | 61 6e 61 67 65 72 2e 74 69 74 6c 65 3b 22 0a 20 20 20 20 20 20 20 20 73 74 79 6c 65 3d 22 26 61 | anager.title;".........style="&a |
125400 | 70 70 4d 61 6e 61 67 65 72 2e 73 74 79 6c 65 3b 22 0a 20 20 20 20 20 20 20 20 70 65 72 73 69 73 | ppManager.style;".........persis |
125420 | 74 3d 22 73 63 72 65 65 6e 58 20 73 63 72 65 65 6e 59 22 3e 0a 0a 20 20 3c 73 63 72 69 70 74 20 | t="screenX.screenY">....<script. |
125440 | 74 79 70 65 3d 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f 6a 61 76 61 73 63 72 69 70 74 22 0a 20 20 | type="application/javascript"... |
125460 | 20 20 20 20 20 20 20 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f | ........src="chrome://browser/co |
125480 | 6e 74 65 6e 74 2f 75 74 69 6c 69 74 79 4f 76 65 72 6c 61 79 2e 6a 73 22 2f 3e 0a 20 20 3c 73 63 | ntent/utilityOverlay.js"/>...<sc |
1254a0 | 72 69 70 74 20 74 79 70 65 3d 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f 6a 61 76 61 73 63 72 69 70 | ript.type="application/javascrip |
1254c0 | 74 22 0a 20 20 20 20 20 20 20 20 20 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 | t"...........src="chrome://brows |
1254e0 | 65 72 2f 63 6f 6e 74 65 6e 74 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 61 70 70 6c 69 63 61 74 69 | er/content/preferences/applicati |
125500 | 6f 6e 4d 61 6e 61 67 65 72 2e 6a 73 22 2f 3e 0a 20 20 3c 73 63 72 69 70 74 20 74 79 70 65 3d 22 | onManager.js"/>...<script.type=" |
125520 | 61 70 70 6c 69 63 61 74 69 6f 6e 2f 6a 61 76 61 73 63 72 69 70 74 22 0a 20 20 20 20 20 20 20 20 | application/javascript"......... |
125540 | 20 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f | ..src="chrome://browser/content/ |
125560 | 70 72 65 66 65 72 65 6e 63 65 73 2f 61 70 70 6c 69 63 61 74 69 6f 6e 73 2e 6a 73 22 2f 3e 0a 0a | preferences/applications.js"/>.. |
125580 | 20 20 3c 63 6f 6d 6d 61 6e 64 73 65 74 20 69 64 3d 22 61 70 70 4d 61 6e 61 67 65 72 43 6f 6d 6d | ..<commandset.id="appManagerComm |
1255a0 | 61 6e 64 53 65 74 22 3e 0a 20 20 20 20 3c 63 6f 6d 6d 61 6e 64 20 69 64 3d 22 63 6d 64 5f 72 65 | andSet">.....<command.id="cmd_re |
1255c0 | 6d 6f 76 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 41 | move"..............oncommand="gA |
1255e0 | 70 70 4d 61 6e 61 67 65 72 44 69 61 6c 6f 67 2e 72 65 6d 6f 76 65 28 29 3b 22 0a 20 20 20 20 20 | ppManagerDialog.remove();"...... |
125600 | 20 20 20 20 20 20 20 20 64 69 73 61 62 6c 65 64 3d 22 74 72 75 65 22 2f 3e 0a 20 20 3c 2f 63 6f | ........disabled="true"/>...</co |
125620 | 6d 6d 61 6e 64 73 65 74 3e 0a 0a 20 20 3c 6b 65 79 73 65 74 20 69 64 3d 22 61 70 70 4d 61 6e 61 | mmandset>....<keyset.id="appMana |
125640 | 67 65 72 4b 65 79 73 65 74 22 3e 0a 20 20 20 20 3c 6b 65 79 20 69 64 3d 22 64 65 6c 65 74 65 22 | gerKeyset">.....<key.id="delete" |
125660 | 20 6b 65 79 63 6f 64 65 3d 22 56 4b 5f 44 45 4c 45 54 45 22 20 63 6f 6d 6d 61 6e 64 3d 22 63 6d | .keycode="VK_DELETE".command="cm |
125680 | 64 5f 72 65 6d 6f 76 65 22 2f 3e 0a 20 20 3c 2f 6b 65 79 73 65 74 3e 0a 0a 20 20 3c 73 74 72 69 | d_remove"/>...</keyset>....<stri |
1256a0 | 6e 67 62 75 6e 64 6c 65 73 65 74 20 69 64 3d 22 61 70 70 4d 61 6e 61 67 65 72 42 75 6e 64 6c 65 | ngbundleset.id="appManagerBundle |
1256c0 | 73 65 74 22 3e 0a 20 20 20 20 3c 73 74 72 69 6e 67 62 75 6e 64 6c 65 20 69 64 3d 22 61 70 70 4d | set">.....<stringbundle.id="appM |
1256e0 | 61 6e 61 67 65 72 42 75 6e 64 6c 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | anagerBundle"................... |
125700 | 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 6c 6f 63 61 6c 65 2f 70 72 65 | src="chrome://browser/locale/pre |
125720 | 66 65 72 65 6e 63 65 73 2f 61 70 70 6c 69 63 61 74 69 6f 6e 4d 61 6e 61 67 65 72 2e 70 72 6f 70 | ferences/applicationManager.prop |
125740 | 65 72 74 69 65 73 22 2f 3e 0a 20 20 3c 2f 73 74 72 69 6e 67 62 75 6e 64 6c 65 73 65 74 3e 0a 0a | erties"/>...</stringbundleset>.. |
125760 | 20 20 3c 64 65 73 63 72 69 70 74 69 6f 6e 20 69 64 3d 22 61 70 70 44 65 73 63 72 69 70 74 69 6f | ..<description.id="appDescriptio |
125780 | 6e 22 2f 3e 0a 20 20 3c 73 65 70 61 72 61 74 6f 72 20 63 6c 61 73 73 3d 22 74 68 69 6e 22 2f 3e | n"/>...<separator.class="thin"/> |
1257a0 | 0a 20 20 3c 68 62 6f 78 20 66 6c 65 78 3d 22 31 22 3e 0a 20 20 20 20 3c 6c 69 73 74 62 6f 78 20 | ...<hbox.flex="1">.....<listbox. |
1257c0 | 69 64 3d 22 61 70 70 4c 69 73 74 22 20 6f 6e 73 65 6c 65 63 74 3d 22 67 41 70 70 4d 61 6e 61 67 | id="appList".onselect="gAppManag |
1257e0 | 65 72 44 69 61 6c 6f 67 2e 6f 6e 53 65 6c 65 63 74 28 29 3b 22 20 66 6c 65 78 3d 22 31 22 2f 3e | erDialog.onSelect();".flex="1"/> |
125800 | 0a 20 20 20 20 3c 76 62 6f 78 3e 0a 20 20 20 20 20 20 3c 62 75 74 74 6f 6e 20 69 64 3d 22 72 65 | .....<vbox>.......<button.id="re |
125820 | 6d 6f 76 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 72 65 6d 6f | move"...............label="&remo |
125840 | 76 65 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b | ve.label;"...............accessk |
125860 | 65 79 3d 22 26 72 65 6d 6f 76 65 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 | ey="&remove.accesskey;"......... |
125880 | 20 20 20 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 63 6d 64 5f 72 65 6d 6f 76 65 22 2f 3e 0a 20 20 20 | ......command="cmd_remove"/>.... |
1258a0 | 20 20 20 3c 73 70 61 63 65 72 20 66 6c 65 78 3d 22 31 22 2f 3e 0a 20 20 20 20 3c 2f 76 62 6f 78 | ...<spacer.flex="1"/>.....</vbox |
1258c0 | 3e 0a 20 20 3c 2f 68 62 6f 78 3e 0a 20 20 3c 76 62 6f 78 20 69 64 3d 22 61 70 70 44 65 74 61 69 | >...</hbox>...<vbox.id="appDetai |
1258e0 | 6c 73 22 3e 0a 20 20 20 20 3c 73 65 70 61 72 61 74 6f 72 20 63 6c 61 73 73 3d 22 74 68 69 6e 22 | ls">.....<separator.class="thin" |
125900 | 2f 3e 0a 20 20 20 20 3c 6c 61 62 65 6c 20 69 64 3d 22 61 70 70 54 79 70 65 22 2f 3e 0a 20 20 20 | />.....<label.id="appType"/>.... |
125920 | 20 3c 74 65 78 74 62 6f 78 20 69 64 3d 22 61 70 70 4c 6f 63 61 74 69 6f 6e 22 20 72 65 61 64 6f | .<textbox.id="appLocation".reado |
125940 | 6e 6c 79 3d 22 74 72 75 65 22 20 63 6c 61 73 73 3d 22 70 6c 61 69 6e 22 2f 3e 0a 20 20 3c 2f 76 | nly="true".class="plain"/>...</v |
125960 | 62 6f 78 3e 0a 3c 2f 64 69 61 6c 6f 67 3e 0a 50 4b 03 04 14 00 00 00 00 00 f3 4b 18 3b 2c 62 ee | box>.</dialog>.PK.........K.;,b. |
125980 | c2 9f 0d 00 00 9f 0d 00 00 31 00 00 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 72 65 | .........1...content/browser/pre |
1259a0 | 66 65 72 65 6e 63 65 73 2f 61 70 70 6c 69 63 61 74 69 6f 6e 4d 61 6e 61 67 65 72 2e 6a 73 2f 2f | ferences/applicationManager.js// |
1259c0 | 40 6c 69 6e 65 20 33 37 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e | @line.37."/builds/moz2_slave/lin |
1259e0 | 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 63 6f 6d 70 6f 6e 65 6e 74 | ux_build/build/browser/component |
125a00 | 73 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 61 70 70 6c 69 63 61 74 69 6f 6e 4d 61 6e 61 67 65 72 | s/preferences/applicationManager |
125a20 | 2e 6a 73 22 0a 0a 2f 2f 40 6c 69 6e 65 20 34 32 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 | .js"..//@line.42."/builds/moz2_s |
125a40 | 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 63 | lave/linux_build/build/browser/c |
125a60 | 6f 6d 70 6f 6e 65 6e 74 73 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 61 70 70 6c 69 63 61 74 69 6f | omponents/preferences/applicatio |
125a80 | 6e 4d 61 6e 61 67 65 72 2e 6a 73 22 0a 0a 76 61 72 20 67 41 70 70 4d 61 6e 61 67 65 72 44 69 61 | nManager.js"..var.gAppManagerDia |
125aa0 | 6c 6f 67 20 3d 20 7b 0a 20 20 5f 72 65 6d 6f 76 65 64 3a 20 5b 5d 2c 0a 0a 20 20 69 6e 69 74 3a | log.=.{..._removed:.[],....init: |
125ac0 | 20 66 75 6e 63 74 69 6f 6e 20 61 70 70 4d 61 6e 61 67 65 72 5f 69 6e 69 74 28 29 20 7b 0a 20 20 | .function.appManager_init().{... |
125ae0 | 20 20 74 68 69 73 2e 68 61 6e 64 6c 65 72 49 6e 66 6f 20 3d 20 77 69 6e 64 6f 77 2e 61 72 67 75 | ..this.handlerInfo.=.window.argu |
125b00 | 6d 65 6e 74 73 5b 30 5d 3b 0a 0a 20 20 20 20 76 61 72 20 62 75 6e 64 6c 65 20 3d 20 64 6f 63 75 | ments[0];......var.bundle.=.docu |
125b20 | 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 61 70 70 4d 61 6e 61 67 65 72 42 | ment.getElementById("appManagerB |
125b40 | 75 6e 64 6c 65 22 29 3b 0a 20 20 20 20 76 61 72 20 63 6f 6e 74 65 6e 74 54 65 78 74 3b 0a 20 20 | undle");.....var.contentText;... |
125b60 | 20 20 69 66 20 28 74 68 69 73 2e 68 61 6e 64 6c 65 72 49 6e 66 6f 2e 74 79 70 65 20 3d 3d 20 54 | ..if.(this.handlerInfo.type.==.T |
125b80 | 59 50 45 5f 4d 41 59 42 45 5f 46 45 45 44 29 0a 20 20 20 20 20 20 63 6f 6e 74 65 6e 74 54 65 78 | YPE_MAYBE_FEED).......contentTex |
125ba0 | 74 20 3d 20 62 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 68 61 6e 64 6c 65 57 65 62 46 | t.=.bundle.getString("handleWebF |
125bc0 | 65 65 64 73 22 29 3b 0a 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 76 61 72 20 64 65 73 | eeds");.....else.{.......var.des |
125be0 | 63 72 69 70 74 69 6f 6e 20 3d 20 67 41 70 70 6c 69 63 61 74 69 6f 6e 73 50 61 6e 65 2e 5f 64 65 | cription.=.gApplicationsPane._de |
125c00 | 73 63 72 69 62 65 54 79 70 65 28 74 68 69 73 2e 68 61 6e 64 6c 65 72 49 6e 66 6f 29 3b 0a 20 20 | scribeType(this.handlerInfo);... |
125c20 | 20 20 20 20 76 61 72 20 6b 65 79 20 3d 0a 20 20 20 20 20 20 20 20 28 74 68 69 73 2e 68 61 6e 64 | ....var.key.=.........(this.hand |
125c40 | 6c 65 72 49 6e 66 6f 2e 77 72 61 70 70 65 64 48 61 6e 64 6c 65 72 49 6e 66 6f 20 69 6e 73 74 61 | lerInfo.wrappedHandlerInfo.insta |
125c60 | 6e 63 65 6f 66 20 43 69 2e 6e 73 49 4d 49 4d 45 49 6e 66 6f 29 20 3f 20 22 68 61 6e 64 6c 65 46 | nceof.Ci.nsIMIMEInfo).?."handleF |
125c80 | 69 6c 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ile"............................ |
125ca0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
125cc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 3a 20 22 68 61 6e 64 6c 65 50 72 6f 74 6f 63 6f 6c 22 3b | .............:."handleProtocol"; |
125ce0 | 0a 20 20 20 20 20 20 20 20 63 6f 6e 74 65 6e 74 54 65 78 74 20 3d 20 62 75 6e 64 6c 65 2e 67 65 | .........contentText.=.bundle.ge |
125d00 | 74 46 6f 72 6d 61 74 74 65 64 53 74 72 69 6e 67 28 6b 65 79 2c 20 5b 64 65 73 63 72 69 70 74 69 | tFormattedString(key,.[descripti |
125d20 | 6f 6e 5d 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 63 6f 6e 74 65 6e 74 54 65 78 74 20 3d 20 62 75 | on]);.....}.....contentText.=.bu |
125d40 | 6e 64 6c 65 2e 67 65 74 46 6f 72 6d 61 74 74 65 64 53 74 72 69 6e 67 28 22 64 65 73 63 72 69 70 | ndle.getFormattedString("descrip |
125d60 | 74 69 6f 6e 41 70 70 6c 69 63 61 74 69 6f 6e 73 22 2c 20 5b 63 6f 6e 74 65 6e 74 54 65 78 74 5d | tionApplications",.[contentText] |
125d80 | 29 3b 0a 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 | );.....document.getElementById(" |
125da0 | 61 70 70 44 65 73 63 72 69 70 74 69 6f 6e 22 29 2e 74 65 78 74 43 6f 6e 74 65 6e 74 20 3d 20 63 | appDescription").textContent.=.c |
125dc0 | 6f 6e 74 65 6e 74 54 65 78 74 3b 0a 0a 20 20 20 20 76 61 72 20 6c 69 73 74 20 3d 20 64 6f 63 75 | ontentText;......var.list.=.docu |
125de0 | 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 61 70 70 4c 69 73 74 22 29 3b 0a | ment.getElementById("appList");. |
125e00 | 20 20 20 20 76 61 72 20 61 70 70 73 20 3d 20 74 68 69 73 2e 68 61 6e 64 6c 65 72 49 6e 66 6f 2e | ....var.apps.=.this.handlerInfo. |
125e20 | 70 6f 73 73 69 62 6c 65 41 70 70 6c 69 63 61 74 69 6f 6e 48 61 6e 64 6c 65 72 73 2e 65 6e 75 6d | possibleApplicationHandlers.enum |
125e40 | 65 72 61 74 65 28 29 3b 0a 20 20 20 20 77 68 69 6c 65 20 28 61 70 70 73 2e 68 61 73 4d 6f 72 65 | erate();.....while.(apps.hasMore |
125e60 | 45 6c 65 6d 65 6e 74 73 28 29 29 20 7b 0a 20 20 20 20 20 20 6c 65 74 20 61 70 70 20 3d 20 61 70 | Elements()).{.......let.app.=.ap |
125e80 | 70 73 2e 67 65 74 4e 65 78 74 28 29 3b 0a 20 20 20 20 20 20 69 66 20 28 21 67 41 70 70 6c 69 63 | ps.getNext();.......if.(!gApplic |
125ea0 | 61 74 69 6f 6e 73 50 61 6e 65 2e 69 73 56 61 6c 69 64 48 61 6e 64 6c 65 72 41 70 70 28 61 70 70 | ationsPane.isValidHandlerApp(app |
125ec0 | 29 29 0a 20 20 20 20 20 20 20 20 63 6f 6e 74 69 6e 75 65 3b 0a 0a 20 20 20 20 20 20 61 70 70 2e | )).........continue;........app. |
125ee0 | 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 28 43 69 2e 6e 73 49 48 61 6e 64 6c 65 72 41 70 70 29 | QueryInterface(Ci.nsIHandlerApp) |
125f00 | 3b 0a 20 20 20 20 20 20 76 61 72 20 69 74 65 6d 20 3d 20 6c 69 73 74 2e 61 70 70 65 6e 64 49 74 | ;.......var.item.=.list.appendIt |
125f20 | 65 6d 28 61 70 70 2e 6e 61 6d 65 29 3b 0a 20 20 20 20 20 20 69 74 65 6d 2e 73 65 74 41 74 74 72 | em(app.name);.......item.setAttr |
125f40 | 69 62 75 74 65 28 22 69 6d 61 67 65 22 2c 20 67 41 70 70 6c 69 63 61 74 69 6f 6e 73 50 61 6e 65 | ibute("image",.gApplicationsPane |
125f60 | 2e 5f 67 65 74 49 63 6f 6e 55 52 4c 46 6f 72 48 61 6e 64 6c 65 72 41 70 70 28 61 70 70 29 29 3b | ._getIconURLForHandlerApp(app)); |
125f80 | 0a 20 20 20 20 20 20 69 74 65 6d 2e 63 6c 61 73 73 4e 61 6d 65 20 3d 20 22 6c 69 73 74 69 74 65 | .......item.className.=."listite |
125fa0 | 6d 2d 69 63 6f 6e 69 63 22 3b 0a 20 20 20 20 20 20 69 74 65 6d 2e 61 70 70 20 3d 20 61 70 70 3b | m-iconic";.......item.app.=.app; |
125fc0 | 0a 20 20 20 20 7d 0a 0a 20 20 20 20 6c 69 73 74 2e 73 65 6c 65 63 74 65 64 49 6e 64 65 78 20 3d | .....}......list.selectedIndex.= |
125fe0 | 20 30 3b 0a 20 20 7d 2c 0a 0a 20 20 6f 6e 4f 4b 3a 20 66 75 6e 63 74 69 6f 6e 20 61 70 70 4d 61 | .0;...},....onOK:.function.appMa |
126000 | 6e 61 67 65 72 5f 6f 6e 4f 4b 28 29 20 7b 0a 20 20 20 20 69 66 20 28 21 74 68 69 73 2e 5f 72 65 | nager_onOK().{.....if.(!this._re |
126020 | 6d 6f 76 65 64 2e 6c 65 6e 67 74 68 29 20 7b 0a 20 20 20 20 20 20 2f 2f 20 72 65 74 75 72 6e 20 | moved.length).{.......//.return. |
126040 | 65 61 72 6c 79 20 74 6f 20 61 76 6f 69 64 20 63 61 6c 6c 69 6e 67 20 74 68 65 20 7c 73 74 6f 72 | early.to.avoid.calling.the.|stor |
126060 | 65 7c 20 6d 65 74 68 6f 64 2e 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 20 20 7d 0a 0a | e|.method........return;.....}.. |
126080 | 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 74 68 69 73 2e 5f 72 65 | ....for.(var.i.=.0;.i.<.this._re |
1260a0 | 6d 6f 76 65 64 2e 6c 65 6e 67 74 68 3b 20 2b 2b 69 29 0a 20 20 20 20 20 20 74 68 69 73 2e 68 61 | moved.length;.++i).......this.ha |
1260c0 | 6e 64 6c 65 72 49 6e 66 6f 2e 72 65 6d 6f 76 65 50 6f 73 73 69 62 6c 65 41 70 70 6c 69 63 61 74 | ndlerInfo.removePossibleApplicat |
1260e0 | 69 6f 6e 48 61 6e 64 6c 65 72 28 74 68 69 73 2e 5f 72 65 6d 6f 76 65 64 5b 69 5d 29 3b 0a 0a 20 | ionHandler(this._removed[i]);... |
126100 | 20 20 20 74 68 69 73 2e 68 61 6e 64 6c 65 72 49 6e 66 6f 2e 73 74 6f 72 65 28 29 3b 0a 20 20 7d | ...this.handlerInfo.store();...} |
126120 | 2c 0a 0a 20 20 6f 6e 43 61 6e 63 65 6c 3a 20 66 75 6e 63 74 69 6f 6e 20 61 70 70 4d 61 6e 61 67 | ,....onCancel:.function.appManag |
126140 | 65 72 5f 6f 6e 43 61 6e 63 65 6c 28 29 20 7b 0a 20 20 20 20 2f 2f 20 64 6f 20 6e 6f 74 68 69 6e | er_onCancel().{.....//.do.nothin |
126160 | 67 0a 20 20 7d 2c 0a 0a 20 20 72 65 6d 6f 76 65 3a 20 66 75 6e 63 74 69 6f 6e 20 61 70 70 4d 61 | g...},....remove:.function.appMa |
126180 | 6e 61 67 65 72 5f 72 65 6d 6f 76 65 28 29 20 7b 0a 20 20 20 20 76 61 72 20 6c 69 73 74 20 3d 20 | nager_remove().{.....var.list.=. |
1261a0 | 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 61 70 70 4c 69 73 74 | document.getElementById("appList |
1261c0 | 22 29 3b 0a 20 20 20 20 74 68 69 73 2e 5f 72 65 6d 6f 76 65 64 2e 70 75 73 68 28 6c 69 73 74 2e | ");.....this._removed.push(list. |
1261e0 | 73 65 6c 65 63 74 65 64 49 74 65 6d 2e 61 70 70 29 3b 0a 20 20 20 20 76 61 72 20 69 6e 64 65 78 | selectedItem.app);.....var.index |
126200 | 20 3d 20 6c 69 73 74 2e 73 65 6c 65 63 74 65 64 49 6e 64 65 78 3b 0a 20 20 20 20 6c 69 73 74 2e | .=.list.selectedIndex;.....list. |
126220 | 72 65 6d 6f 76 65 49 74 65 6d 41 74 28 69 6e 64 65 78 29 3b 0a 20 20 20 20 69 66 20 28 6c 69 73 | removeItemAt(index);.....if.(lis |
126240 | 74 2e 67 65 74 52 6f 77 43 6f 75 6e 74 28 29 20 3d 3d 20 30 29 20 7b 0a 20 20 20 20 20 20 2f 2f | t.getRowCount().==.0).{.......// |
126260 | 20 54 68 65 20 6c 69 73 74 20 69 73 20 6e 6f 77 20 65 6d 70 74 79 2c 20 6d 61 6b 65 20 74 68 65 | .The.list.is.now.empty,.make.the |
126280 | 20 62 6f 74 74 6f 6d 20 70 61 72 74 20 64 69 73 61 70 70 65 61 72 0a 20 20 20 20 20 20 64 6f 63 | .bottom.part.disappear.......doc |
1262a0 | 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 61 70 70 44 65 74 61 69 6c 73 | ument.getElementById("appDetails |
1262c0 | 22 29 2e 68 69 64 64 65 6e 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 7d 0a 20 20 20 20 65 6c 73 65 | ").hidden.=.true;.....}.....else |
1262e0 | 20 7b 0a 20 20 20 20 20 20 2f 2f 20 53 65 6c 65 63 74 20 74 68 65 20 69 74 65 6d 20 61 74 20 74 | .{.......//.Select.the.item.at.t |
126300 | 68 65 20 73 61 6d 65 20 69 6e 64 65 78 2c 20 69 66 20 77 65 20 72 65 6d 6f 76 65 64 20 74 68 65 | he.same.index,.if.we.removed.the |
126320 | 20 6c 61 73 74 0a 20 20 20 20 20 20 2f 2f 20 69 74 65 6d 20 6f 66 20 74 68 65 20 6c 69 73 74 2c | .last.......//.item.of.the.list, |
126340 | 20 73 65 6c 65 63 74 20 74 68 65 20 70 72 65 76 69 6f 75 73 20 69 74 65 6d 0a 20 20 20 20 20 20 | .select.the.previous.item....... |
126360 | 69 66 20 28 69 6e 64 65 78 20 3d 3d 20 6c 69 73 74 2e 67 65 74 52 6f 77 43 6f 75 6e 74 28 29 29 | if.(index.==.list.getRowCount()) |
126380 | 0a 20 20 20 20 20 20 20 20 2d 2d 69 6e 64 65 78 3b 0a 20 20 20 20 20 20 6c 69 73 74 2e 73 65 6c | .........--index;.......list.sel |
1263a0 | 65 63 74 65 64 49 6e 64 65 78 20 3d 20 69 6e 64 65 78 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a | ectedIndex.=.index;.....}...},.. |
1263c0 | 20 20 6f 6e 53 65 6c 65 63 74 3a 20 66 75 6e 63 74 69 6f 6e 20 61 70 70 4d 61 6e 61 67 65 72 5f | ..onSelect:.function.appManager_ |
1263e0 | 6f 6e 53 65 6c 65 63 74 28 29 20 7b 0a 20 20 20 20 76 61 72 20 6c 69 73 74 20 3d 20 64 6f 63 75 | onSelect().{.....var.list.=.docu |
126400 | 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 61 70 70 4c 69 73 74 22 29 3b 0a | ment.getElementById("appList");. |
126420 | 20 20 20 20 69 66 20 28 21 6c 69 73 74 2e 73 65 6c 65 63 74 65 64 49 74 65 6d 29 20 7b 0a 20 20 | ....if.(!list.selectedItem).{... |
126440 | 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 72 65 6d | ....document.getElementById("rem |
126460 | 6f 76 65 22 29 2e 64 69 73 61 62 6c 65 64 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 72 65 74 | ove").disabled.=.true;.......ret |
126480 | 75 72 6e 3b 0a 20 20 20 20 7d 0a 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 | urn;.....}.....document.getEleme |
1264a0 | 6e 74 42 79 49 64 28 22 72 65 6d 6f 76 65 22 29 2e 64 69 73 61 62 6c 65 64 20 3d 20 66 61 6c 73 | ntById("remove").disabled.=.fals |
1264c0 | 65 3b 0a 20 20 20 20 76 61 72 20 61 70 70 20 3d 20 6c 69 73 74 2e 73 65 6c 65 63 74 65 64 49 74 | e;.....var.app.=.list.selectedIt |
1264e0 | 65 6d 2e 61 70 70 3b 0a 20 20 20 20 76 61 72 20 61 64 64 72 65 73 73 20 3d 20 22 22 3b 0a 20 20 | em.app;.....var.address.=."";... |
126500 | 20 20 69 66 20 28 61 70 70 20 69 6e 73 74 61 6e 63 65 6f 66 20 43 69 2e 6e 73 49 4c 6f 63 61 6c | ..if.(app.instanceof.Ci.nsILocal |
126520 | 48 61 6e 64 6c 65 72 41 70 70 29 0a 20 20 20 20 20 20 61 64 64 72 65 73 73 20 3d 20 61 70 70 2e | HandlerApp).......address.=.app. |
126540 | 65 78 65 63 75 74 61 62 6c 65 2e 70 61 74 68 3b 0a 20 20 20 20 65 6c 73 65 20 69 66 20 28 61 70 | executable.path;.....else.if.(ap |
126560 | 70 20 69 6e 73 74 61 6e 63 65 6f 66 20 43 69 2e 6e 73 49 57 65 62 48 61 6e 64 6c 65 72 41 70 70 | p.instanceof.Ci.nsIWebHandlerApp |
126580 | 29 0a 20 20 20 20 20 20 61 64 64 72 65 73 73 20 3d 20 61 70 70 2e 75 72 69 54 65 6d 70 6c 61 74 | ).......address.=.app.uriTemplat |
1265a0 | 65 3b 0a 20 20 20 20 65 6c 73 65 20 69 66 20 28 61 70 70 20 69 6e 73 74 61 6e 63 65 6f 66 20 43 | e;.....else.if.(app.instanceof.C |
1265c0 | 69 2e 6e 73 49 57 65 62 43 6f 6e 74 65 6e 74 48 61 6e 64 6c 65 72 49 6e 66 6f 29 0a 20 20 20 20 | i.nsIWebContentHandlerInfo)..... |
1265e0 | 20 20 61 64 64 72 65 73 73 20 3d 20 61 70 70 2e 75 72 69 3b 0a 20 20 20 20 64 6f 63 75 6d 65 6e | ..address.=.app.uri;.....documen |
126600 | 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 61 70 70 4c 6f 63 61 74 69 6f 6e 22 29 2e | t.getElementById("appLocation"). |
126620 | 76 61 6c 75 65 20 3d 20 61 64 64 72 65 73 73 3b 0a 20 20 20 20 76 61 72 20 62 75 6e 64 6c 65 20 | value.=.address;.....var.bundle. |
126640 | 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 61 70 70 4d 61 | =.document.getElementById("appMa |
126660 | 6e 61 67 65 72 42 75 6e 64 6c 65 22 29 3b 0a 20 20 20 20 76 61 72 20 61 70 70 54 79 70 65 20 3d | nagerBundle");.....var.appType.= |
126680 | 20 61 70 70 20 69 6e 73 74 61 6e 63 65 6f 66 20 43 69 2e 6e 73 49 4c 6f 63 61 6c 48 61 6e 64 6c | .app.instanceof.Ci.nsILocalHandl |
1266a0 | 65 72 41 70 70 20 3f 20 22 64 65 73 63 72 69 70 74 69 6f 6e 4c 6f 63 61 6c 41 70 70 22 0a 20 20 | erApp.?."descriptionLocalApp"... |
1266c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
1266e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3a 20 22 64 65 73 63 72 69 70 74 | .....................:."descript |
126700 | 69 6f 6e 57 65 62 41 70 70 22 3b 0a 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d | ionWebApp";.....document.getElem |
126720 | 65 6e 74 42 79 49 64 28 22 61 70 70 54 79 70 65 22 29 2e 76 61 6c 75 65 20 3d 20 62 75 6e 64 6c | entById("appType").value.=.bundl |
126740 | 65 2e 67 65 74 53 74 72 69 6e 67 28 61 70 70 54 79 70 65 29 3b 0a 20 20 7d 0a 7d 3b 0a 50 4b 03 | e.getString(appType);...}.};.PK. |
126760 | 04 14 00 00 00 00 00 f3 4b 18 3b 6e 85 eb c5 33 0f 00 00 33 0f 00 00 26 00 00 00 63 6f 6e 74 65 | ........K.;n...3...3...&...conte |
126780 | 6e 74 2f 62 72 6f 77 73 65 72 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 63 6f 6c 6f 72 73 2e 78 75 | nt/browser/preferences/colors.xu |
1267a0 | 6c 3c 3f 78 6d 6c 20 76 65 72 73 69 6f 6e 3d 22 31 2e 30 22 3f 3e 0a 0a 0a 3c 3f 78 6d 6c 2d 73 | l<?xml.version="1.0"?>...<?xml-s |
1267c0 | 74 79 6c 65 73 68 65 65 74 20 68 72 65 66 3d 22 63 68 72 6f 6d 65 3a 2f 2f 67 6c 6f 62 61 6c 2f | tylesheet.href="chrome://global/ |
1267e0 | 73 6b 69 6e 2f 22 20 74 79 70 65 3d 22 74 65 78 74 2f 63 73 73 22 3f 3e 0a 0a 3c 21 44 4f 43 54 | skin/".type="text/css"?>..<!DOCT |
126800 | 59 50 45 20 70 72 65 66 77 69 6e 64 6f 77 20 53 59 53 54 45 4d 20 22 63 68 72 6f 6d 65 3a 2f 2f | YPE.prefwindow.SYSTEM."chrome:// |
126820 | 62 72 6f 77 73 65 72 2f 6c 6f 63 61 6c 65 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 63 6f 6c 6f 72 | browser/locale/preferences/color |
126840 | 73 2e 64 74 64 22 20 3e 0a 0a 3c 70 72 65 66 77 69 6e 64 6f 77 20 69 64 3d 22 43 6f 6c 6f 72 73 | s.dtd".>..<prefwindow.id="Colors |
126860 | 44 69 61 6c 6f 67 22 20 74 79 70 65 3d 22 63 68 69 6c 64 22 0a 20 20 20 20 20 20 20 20 20 20 20 | Dialog".type="child"............ |
126880 | 20 78 6d 6c 6e 73 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6b | .xmlns="http://www.mozilla.org/k |
1268a0 | 65 79 6d 61 73 74 65 72 2f 67 61 74 65 6b 65 65 70 65 72 2f 74 68 65 72 65 2e 69 73 2e 6f 6e 6c | eymaster/gatekeeper/there.is.onl |
1268c0 | 79 2e 78 75 6c 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 69 74 6c 65 3d 22 26 63 6f 6c 6f 72 | y.xul".............title="&color |
1268e0 | 73 44 69 61 6c 6f 67 2e 74 69 74 6c 65 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 64 6c 67 62 | sDialog.title;".............dlgb |
126900 | 75 74 74 6f 6e 73 3d 22 61 63 63 65 70 74 2c 63 61 6e 63 65 6c 2c 68 65 6c 70 22 0a 20 20 20 20 | uttons="accept,cancel,help"..... |
126920 | 20 20 20 20 20 20 20 20 6f 6e 64 69 61 6c 6f 67 68 65 6c 70 3d 22 6f 70 65 6e 50 72 65 66 73 48 | ........ondialoghelp="openPrefsH |
126940 | 65 6c 70 28 29 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 73 74 79 6c 65 3d 22 77 69 64 74 68 3a | elp()".............style="width: |
126960 | 20 26 77 69 6e 64 6f 77 2e 77 69 64 74 68 3b 20 21 69 6d 70 6f 72 74 61 6e 74 3b 22 3e 0a 0a 20 | .&window.width;.!important;">... |
126980 | 20 3c 73 63 72 69 70 74 20 74 79 70 65 3d 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f 6a 61 76 61 73 | .<script.type="application/javas |
1269a0 | 63 72 69 70 74 22 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e | cript".src="chrome://browser/con |
1269c0 | 74 65 6e 74 2f 75 74 69 6c 69 74 79 4f 76 65 72 6c 61 79 2e 6a 73 22 2f 3e 0a 20 20 3c 70 72 65 | tent/utilityOverlay.js"/>...<pre |
1269e0 | 66 70 61 6e 65 20 69 64 3d 22 43 6f 6c 6f 72 73 44 69 61 6c 6f 67 50 61 6e 65 22 0a 20 20 20 20 | fpane.id="ColorsDialogPane"..... |
126a00 | 20 20 20 20 20 20 20 20 68 65 6c 70 54 6f 70 69 63 3d 22 70 72 65 66 73 2d 66 6f 6e 74 73 2d 61 | ........helpTopic="prefs-fonts-a |
126a20 | 6e 64 2d 63 6f 6c 6f 72 73 22 3e 0a 20 20 0a 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 73 3e | nd-colors">........<preferences> |
126a40 | 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 62 72 6f 77 73 65 72 2e 64 | .......<preference.id="browser.d |
126a60 | 69 73 70 6c 61 79 2e 75 73 65 5f 64 6f 63 75 6d 65 6e 74 5f 63 6f 6c 6f 72 73 22 20 20 6e 61 6d | isplay.use_document_colors"..nam |
126a80 | 65 3d 22 62 72 6f 77 73 65 72 2e 64 69 73 70 6c 61 79 2e 75 73 65 5f 64 6f 63 75 6d 65 6e 74 5f | e="browser.display.use_document_ |
126aa0 | 63 6f 6c 6f 72 73 22 20 20 74 79 70 65 3d 22 62 6f 6f 6c 22 2f 3e 0a 20 20 20 20 20 20 3c 70 72 | colors"..type="bool"/>.......<pr |
126ac0 | 65 66 65 72 65 6e 63 65 20 69 64 3d 22 62 72 6f 77 73 65 72 2e 61 6e 63 68 6f 72 5f 63 6f 6c 6f | eference.id="browser.anchor_colo |
126ae0 | 72 22 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 61 6d 65 3d 22 62 72 6f 77 73 65 72 | r".................name="browser |
126b00 | 2e 61 6e 63 68 6f 72 5f 63 6f 6c 6f 72 22 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 | .anchor_color".................t |
126b20 | 79 70 65 3d 22 73 74 72 69 6e 67 22 2f 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 | ype="string"/>.......<preference |
126b40 | 20 69 64 3d 22 62 72 6f 77 73 65 72 2e 76 69 73 69 74 65 64 5f 63 6f 6c 6f 72 22 20 20 20 20 20 | .id="browser.visited_color"..... |
126b60 | 20 20 20 20 20 20 20 20 20 20 20 6e 61 6d 65 3d 22 62 72 6f 77 73 65 72 2e 76 69 73 69 74 65 64 | ...........name="browser.visited |
126b80 | 5f 63 6f 6c 6f 72 22 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 79 70 65 3d 22 73 74 72 | _color"................type="str |
126ba0 | 69 6e 67 22 2f 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 62 72 6f | ing"/>.......<preference.id="bro |
126bc0 | 77 73 65 72 2e 75 6e 64 65 72 6c 69 6e 65 5f 61 6e 63 68 6f 72 73 22 20 20 20 20 20 20 20 20 20 | wser.underline_anchors"......... |
126be0 | 20 20 20 6e 61 6d 65 3d 22 62 72 6f 77 73 65 72 2e 75 6e 64 65 72 6c 69 6e 65 5f 61 6e 63 68 6f | ...name="browser.underline_ancho |
126c00 | 72 73 22 20 20 20 20 20 20 20 20 20 20 20 20 74 79 70 65 3d 22 62 6f 6f 6c 22 2f 3e 0a 20 20 20 | rs"............type="bool"/>.... |
126c20 | 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 62 72 6f 77 73 65 72 2e 64 69 73 70 6c | ...<preference.id="browser.displ |
126c40 | 61 79 2e 66 6f 72 65 67 72 6f 75 6e 64 5f 63 6f 6c 6f 72 22 20 20 20 20 20 6e 61 6d 65 3d 22 62 | ay.foreground_color".....name="b |
126c60 | 72 6f 77 73 65 72 2e 64 69 73 70 6c 61 79 2e 66 6f 72 65 67 72 6f 75 6e 64 5f 63 6f 6c 6f 72 22 | rowser.display.foreground_color" |
126c80 | 20 20 20 20 20 74 79 70 65 3d 22 73 74 72 69 6e 67 22 2f 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 | .....type="string"/>.......<pref |
126ca0 | 65 72 65 6e 63 65 20 69 64 3d 22 62 72 6f 77 73 65 72 2e 64 69 73 70 6c 61 79 2e 62 61 63 6b 67 | erence.id="browser.display.backg |
126cc0 | 72 6f 75 6e 64 5f 63 6f 6c 6f 72 22 20 20 20 20 20 6e 61 6d 65 3d 22 62 72 6f 77 73 65 72 2e 64 | round_color".....name="browser.d |
126ce0 | 69 73 70 6c 61 79 2e 62 61 63 6b 67 72 6f 75 6e 64 5f 63 6f 6c 6f 72 22 20 20 20 20 20 74 79 70 | isplay.background_color".....typ |
126d00 | 65 3d 22 73 74 72 69 6e 67 22 2f 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 | e="string"/>.......<preference.i |
126d20 | 64 3d 22 62 72 6f 77 73 65 72 2e 64 69 73 70 6c 61 79 2e 75 73 65 5f 73 79 73 74 65 6d 5f 63 6f | d="browser.display.use_system_co |
126d40 | 6c 6f 72 73 22 20 20 20 20 6e 61 6d 65 3d 22 62 72 6f 77 73 65 72 2e 64 69 73 70 6c 61 79 2e 75 | lors"....name="browser.display.u |
126d60 | 73 65 5f 73 79 73 74 65 6d 5f 63 6f 6c 6f 72 73 22 20 20 20 20 74 79 70 65 3d 22 62 6f 6f 6c 22 | se_system_colors"....type="bool" |
126d80 | 2f 3e 0a 20 20 20 20 3c 2f 70 72 65 66 65 72 65 6e 63 65 73 3e 0a 20 20 20 20 0a 20 20 20 20 3c | />.....</preferences>..........< |
126da0 | 68 62 6f 78 3e 0a 20 20 20 20 20 20 3c 67 72 6f 75 70 62 6f 78 20 66 6c 65 78 3d 22 31 22 3e 0a | hbox>.......<groupbox.flex="1">. |
126dc0 | 20 20 20 20 20 20 20 20 3c 63 61 70 74 69 6f 6e 20 6c 61 62 65 6c 3d 22 26 63 6f 6c 6f 72 3b 22 | ........<caption.label="&color;" |
126de0 | 2f 3e 0a 20 20 20 20 20 20 20 20 3c 68 62 6f 78 20 61 6c 69 67 6e 3d 22 63 65 6e 74 65 72 22 3e | />.........<hbox.align="center"> |
126e00 | 0a 20 20 20 20 20 20 20 20 20 20 3c 6c 61 62 65 6c 20 76 61 6c 75 65 3d 22 26 74 65 78 74 43 6f | ...........<label.value="&textCo |
126e20 | 6c 6f 72 2e 6c 61 62 65 6c 3b 22 20 61 63 63 65 73 73 6b 65 79 3d 22 26 74 65 78 74 43 6f 6c 6f | lor.label;".accesskey="&textColo |
126e40 | 72 2e 61 63 63 65 73 73 6b 65 79 3b 22 20 63 6f 6e 74 72 6f 6c 3d 22 66 6f 72 65 67 72 6f 75 6e | r.accesskey;".control="foregroun |
126e60 | 64 74 65 78 74 6d 65 6e 75 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 73 70 61 63 65 72 20 66 | dtextmenu"/>...........<spacer.f |
126e80 | 6c 65 78 3d 22 31 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 63 6f 6c 6f 72 70 69 63 6b 65 72 | lex="1"/>...........<colorpicker |
126ea0 | 20 74 79 70 65 3d 22 62 75 74 74 6f 6e 22 20 69 64 3d 22 66 6f 72 65 67 72 6f 75 6e 64 74 65 78 | .type="button".id="foregroundtex |
126ec0 | 74 6d 65 6e 75 22 20 70 61 6c 65 74 74 65 6e 61 6d 65 3d 22 73 74 61 6e 64 61 72 64 22 0a 20 20 | tmenu".palettename="standard"... |
126ee0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 65 66 65 72 65 6e 63 65 3d | .....................preference= |
126f00 | 22 62 72 6f 77 73 65 72 2e 64 69 73 70 6c 61 79 2e 66 6f 72 65 67 72 6f 75 6e 64 5f 63 6f 6c 6f | "browser.display.foreground_colo |
126f20 | 72 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 2f 68 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 3c 68 62 | r"/>.........</hbox>.........<hb |
126f40 | 6f 78 20 61 6c 69 67 6e 3d 22 63 65 6e 74 65 72 22 20 73 74 79 6c 65 3d 22 6d 61 72 67 69 6e 2d | ox.align="center".style="margin- |
126f60 | 74 6f 70 3a 20 35 70 78 22 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 6c 61 62 65 6c 20 76 61 6c 75 | top:.5px">...........<label.valu |
126f80 | 65 3d 22 26 62 61 63 6b 67 72 6f 75 6e 64 43 6f 6c 6f 72 2e 6c 61 62 65 6c 3b 22 20 61 63 63 65 | e="&backgroundColor.label;".acce |
126fa0 | 73 73 6b 65 79 3d 22 26 62 61 63 6b 67 72 6f 75 6e 64 43 6f 6c 6f 72 2e 61 63 63 65 73 73 6b 65 | sskey="&backgroundColor.accesske |
126fc0 | 79 3b 22 20 63 6f 6e 74 72 6f 6c 3d 22 62 61 63 6b 67 72 6f 75 6e 64 6d 65 6e 75 22 2f 3e 0a 20 | y;".control="backgroundmenu"/>.. |
126fe0 | 20 20 20 20 20 20 20 20 20 3c 73 70 61 63 65 72 20 66 6c 65 78 3d 22 31 22 2f 3e 0a 20 20 20 20 | .........<spacer.flex="1"/>..... |
127000 | 20 20 20 20 20 20 3c 63 6f 6c 6f 72 70 69 63 6b 65 72 20 74 79 70 65 3d 22 62 75 74 74 6f 6e 22 | ......<colorpicker.type="button" |
127020 | 20 69 64 3d 22 62 61 63 6b 67 72 6f 75 6e 64 6d 65 6e 75 22 20 70 61 6c 65 74 74 65 6e 61 6d 65 | .id="backgroundmenu".palettename |
127040 | 3d 22 73 74 61 6e 64 61 72 64 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ="standard"..................... |
127060 | 20 20 20 70 72 65 66 65 72 65 6e 63 65 3d 22 62 72 6f 77 73 65 72 2e 64 69 73 70 6c 61 79 2e 62 | ...preference="browser.display.b |
127080 | 61 63 6b 67 72 6f 75 6e 64 5f 63 6f 6c 6f 72 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 2f 68 62 6f | ackground_color"/>.........</hbo |
1270a0 | 78 3e 0a 20 20 20 20 20 20 20 20 3c 73 65 70 61 72 61 74 6f 72 20 63 6c 61 73 73 3d 22 74 68 69 | x>.........<separator.class="thi |
1270c0 | 6e 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 68 62 6f 78 20 61 6c 69 67 6e 3d 22 63 65 6e 74 65 72 | n"/>.........<hbox.align="center |
1270e0 | 22 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 63 68 65 63 6b 62 6f 78 20 69 64 3d 22 62 72 6f 77 73 | ">...........<checkbox.id="brows |
127100 | 65 72 55 73 65 53 79 73 74 65 6d 43 6f 6c 6f 72 73 22 20 6c 61 62 65 6c 3d 22 26 75 73 65 53 79 | erUseSystemColors".label="&useSy |
127120 | 73 74 65 6d 43 6f 6c 6f 72 73 2e 6c 61 62 65 6c 3b 22 20 61 63 63 65 73 73 6b 65 79 3d 22 26 75 | stemColors.label;".accesskey="&u |
127140 | 73 65 53 79 73 74 65 6d 43 6f 6c 6f 72 73 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 | seSystemColors.accesskey;"...... |
127160 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 65 66 65 72 65 6e 63 65 3d 22 62 72 6f 77 73 | ...............preference="brows |
127180 | 65 72 2e 64 69 73 70 6c 61 79 2e 75 73 65 5f 73 79 73 74 65 6d 5f 63 6f 6c 6f 72 73 22 2f 3e 0a | er.display.use_system_colors"/>. |
1271a0 | 20 20 20 20 20 20 20 20 3c 2f 68 62 6f 78 3e 0a 20 20 20 20 20 20 3c 2f 67 72 6f 75 70 62 6f 78 | ........</hbox>.......</groupbox |
1271c0 | 3e 0a 20 20 20 20 20 20 20 20 0a 20 20 20 20 20 20 3c 67 72 6f 75 70 62 6f 78 20 66 6c 65 78 3d | >................<groupbox.flex= |
1271e0 | 22 31 22 3e 0a 20 20 20 20 20 20 20 20 3c 63 61 70 74 69 6f 6e 20 6c 61 62 65 6c 3d 22 26 6c 69 | "1">.........<caption.label="&li |
127200 | 6e 6b 73 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 68 62 6f 78 20 61 6c 69 67 6e 3d 22 63 65 6e | nks;"/>.........<hbox.align="cen |
127220 | 74 65 72 22 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 6c 61 62 65 6c 20 76 61 6c 75 65 3d 22 26 6c | ter">...........<label.value="&l |
127240 | 69 6e 6b 43 6f 6c 6f 72 2e 6c 61 62 65 6c 3b 22 20 61 63 63 65 73 73 6b 65 79 3d 22 26 6c 69 6e | inkColor.label;".accesskey="&lin |
127260 | 6b 43 6f 6c 6f 72 2e 61 63 63 65 73 73 6b 65 79 3b 22 20 63 6f 6e 74 72 6f 6c 3d 22 75 6e 76 69 | kColor.accesskey;".control="unvi |
127280 | 73 69 74 65 64 6c 69 6e 6b 6d 65 6e 75 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 73 70 61 63 | sitedlinkmenu"/>...........<spac |
1272a0 | 65 72 20 66 6c 65 78 3d 22 31 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 63 6f 6c 6f 72 70 69 | er.flex="1"/>...........<colorpi |
1272c0 | 63 6b 65 72 20 74 79 70 65 3d 22 62 75 74 74 6f 6e 22 20 69 64 3d 22 75 6e 76 69 73 69 74 65 64 | cker.type="button".id="unvisited |
1272e0 | 6c 69 6e 6b 6d 65 6e 75 22 20 70 61 6c 65 74 74 65 6e 61 6d 65 3d 22 73 74 61 6e 64 61 72 64 22 | linkmenu".palettename="standard" |
127300 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 65 66 65 72 65 6e | ........................preferen |
127320 | 63 65 3d 22 62 72 6f 77 73 65 72 2e 61 6e 63 68 6f 72 5f 63 6f 6c 6f 72 22 2f 3e 0a 20 20 20 20 | ce="browser.anchor_color"/>..... |
127340 | 20 20 20 20 3c 2f 68 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 3c 68 62 6f 78 20 61 6c 69 67 6e 3d | ....</hbox>.........<hbox.align= |
127360 | 22 63 65 6e 74 65 72 22 20 73 74 79 6c 65 3d 22 6d 61 72 67 69 6e 2d 74 6f 70 3a 20 35 70 78 22 | "center".style="margin-top:.5px" |
127380 | 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 6c 61 62 65 6c 20 76 61 6c 75 65 3d 22 26 76 69 73 69 74 | >...........<label.value="&visit |
1273a0 | 65 64 4c 69 6e 6b 43 6f 6c 6f 72 2e 6c 61 62 65 6c 3b 22 20 61 63 63 65 73 73 6b 65 79 3d 22 26 | edLinkColor.label;".accesskey="& |
1273c0 | 76 69 73 69 74 65 64 4c 69 6e 6b 43 6f 6c 6f 72 2e 61 63 63 65 73 73 6b 65 79 3b 22 20 63 6f 6e | visitedLinkColor.accesskey;".con |
1273e0 | 74 72 6f 6c 3d 22 76 69 73 69 74 65 64 6c 69 6e 6b 6d 65 6e 75 22 2f 3e 0a 20 20 20 20 20 20 20 | trol="visitedlinkmenu"/>........ |
127400 | 20 20 20 3c 73 70 61 63 65 72 20 66 6c 65 78 3d 22 31 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 | ...<spacer.flex="1"/>........... |
127420 | 3c 63 6f 6c 6f 72 70 69 63 6b 65 72 20 74 79 70 65 3d 22 62 75 74 74 6f 6e 22 20 69 64 3d 22 76 | <colorpicker.type="button".id="v |
127440 | 69 73 69 74 65 64 6c 69 6e 6b 6d 65 6e 75 22 20 70 61 6c 65 74 74 65 6e 61 6d 65 3d 22 73 74 61 | isitedlinkmenu".palettename="sta |
127460 | 6e 64 61 72 64 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 | ndard"........................pr |
127480 | 65 66 65 72 65 6e 63 65 3d 22 62 72 6f 77 73 65 72 2e 76 69 73 69 74 65 64 5f 63 6f 6c 6f 72 22 | eference="browser.visited_color" |
1274a0 | 2f 3e 0a 20 20 20 20 20 20 20 20 3c 2f 68 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 3c 73 65 70 61 | />.........</hbox>.........<sepa |
1274c0 | 72 61 74 6f 72 20 63 6c 61 73 73 3d 22 74 68 69 6e 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 68 62 | rator.class="thin"/>.........<hb |
1274e0 | 6f 78 20 61 6c 69 67 6e 3d 22 63 65 6e 74 65 72 22 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 63 68 | ox.align="center">...........<ch |
127500 | 65 63 6b 62 6f 78 20 69 64 3d 22 62 72 6f 77 73 65 72 55 6e 64 65 72 6c 69 6e 65 41 6e 63 68 6f | eckbox.id="browserUnderlineAncho |
127520 | 72 73 22 20 6c 61 62 65 6c 3d 22 26 75 6e 64 65 72 6c 69 6e 65 4c 69 6e 6b 73 2e 6c 61 62 65 6c | rs".label="&underlineLinks.label |
127540 | 3b 22 20 61 63 63 65 73 73 6b 65 79 3d 22 26 75 6e 64 65 72 6c 69 6e 65 4c 69 6e 6b 73 2e 61 63 | ;".accesskey="&underlineLinks.ac |
127560 | 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 | cesskey;".....................pr |
127580 | 65 66 65 72 65 6e 63 65 3d 22 62 72 6f 77 73 65 72 2e 75 6e 64 65 72 6c 69 6e 65 5f 61 6e 63 68 | eference="browser.underline_anch |
1275a0 | 6f 72 73 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 2f 68 62 6f 78 3e 0a 20 20 20 20 20 20 3c 2f 67 | ors"/>.........</hbox>.......</g |
1275c0 | 72 6f 75 70 62 6f 78 3e 0a 20 20 20 20 3c 2f 68 62 6f 78 3e 0a 20 20 20 20 3c 68 62 6f 78 3e 0a | roupbox>.....</hbox>.....<hbox>. |
1275e0 | 20 20 20 20 20 20 3c 63 68 65 63 6b 62 6f 78 20 69 64 3d 22 75 73 65 44 6f 63 75 6d 65 6e 74 43 | ......<checkbox.id="useDocumentC |
127600 | 6f 6c 6f 72 73 22 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 | olors"..................label="& |
127620 | 61 6c 6c 6f 77 50 61 67 65 73 54 6f 55 73 65 2e 6c 61 62 65 6c 3b 22 20 61 63 63 65 73 73 6b 65 | allowPagesToUse.label;".accesske |
127640 | 79 3d 22 26 61 6c 6c 6f 77 50 61 67 65 73 54 6f 55 73 65 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a | y="&allowPagesToUse.accesskey;". |
127660 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 65 66 65 72 65 6e 63 65 3d 22 62 72 6f 77 | ................preference="brow |
127680 | 73 65 72 2e 64 69 73 70 6c 61 79 2e 75 73 65 5f 64 6f 63 75 6d 65 6e 74 5f 63 6f 6c 6f 72 73 22 | ser.display.use_document_colors" |
1276a0 | 20 66 6c 65 78 3d 22 31 22 2f 3e 0a 20 20 20 20 3c 2f 68 62 6f 78 3e 0a 20 20 3c 2f 70 72 65 66 | .flex="1"/>.....</hbox>...</pref |
1276c0 | 70 61 6e 65 3e 0a 3c 2f 70 72 65 66 77 69 6e 64 6f 77 3e 0a 50 4b 03 04 14 00 00 00 00 00 f3 4b | pane>.</prefwindow>.PK.........K |
1276e0 | 18 3b d8 18 6e 0e 22 12 00 00 22 12 00 00 27 00 00 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 | .;..n."..."...'...content/browse |
127700 | 72 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 63 6f 6f 6b 69 65 73 2e 78 75 6c 3c 3f 78 6d 6c 20 76 | r/preferences/cookies.xul<?xml.v |
127720 | 65 72 73 69 6f 6e 3d 22 31 2e 30 22 3f 3e 0a 0a 0a 3c 3f 78 6d 6c 2d 73 74 79 6c 65 73 68 65 65 | ersion="1.0"?>...<?xml-styleshee |
127740 | 74 20 68 72 65 66 3d 22 63 68 72 6f 6d 65 3a 2f 2f 67 6c 6f 62 61 6c 2f 73 6b 69 6e 2f 22 20 74 | t.href="chrome://global/skin/".t |
127760 | 79 70 65 3d 22 74 65 78 74 2f 63 73 73 22 3f 3e 20 0a 3c 3f 78 6d 6c 2d 73 74 79 6c 65 73 68 65 | ype="text/css"?>..<?xml-styleshe |
127780 | 65 74 20 68 72 65 66 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 73 6b 69 6e 2f 70 | et.href="chrome://browser/skin/p |
1277a0 | 72 65 66 65 72 65 6e 63 65 73 2f 70 72 65 66 65 72 65 6e 63 65 73 2e 63 73 73 22 20 74 79 70 65 | references/preferences.css".type |
1277c0 | 3d 22 74 65 78 74 2f 63 73 73 22 3f 3e 20 0a 0a 3c 21 44 4f 43 54 59 50 45 20 64 69 61 6c 6f 67 | ="text/css"?>...<!DOCTYPE.dialog |
1277e0 | 20 53 59 53 54 45 4d 20 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 6c 6f 63 61 6c 65 | .SYSTEM."chrome://browser/locale |
127800 | 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 63 6f 6f 6b 69 65 73 2e 64 74 64 22 20 3e 0a 0a 3c 77 69 | /preferences/cookies.dtd".>..<wi |
127820 | 6e 64 6f 77 20 69 64 3d 22 43 6f 6f 6b 69 65 73 44 69 61 6c 6f 67 22 20 77 69 6e 64 6f 77 74 79 | ndow.id="CookiesDialog".windowty |
127840 | 70 65 3d 22 42 72 6f 77 73 65 72 3a 43 6f 6f 6b 69 65 73 22 0a 20 20 20 20 20 20 20 20 63 6c 61 | pe="Browser:Cookies".........cla |
127860 | 73 73 3d 22 77 69 6e 64 6f 77 44 69 61 6c 6f 67 22 20 74 69 74 6c 65 3d 22 26 77 69 6e 64 6f 77 | ss="windowDialog".title="&window |
127880 | 2e 74 69 74 6c 65 3b 22 0a 20 20 20 20 20 20 20 20 78 6d 6c 6e 73 3d 22 68 74 74 70 3a 2f 2f 77 | .title;".........xmlns="http://w |
1278a0 | 77 77 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6b 65 79 6d 61 73 74 65 72 2f 67 61 74 65 6b 65 65 | ww.mozilla.org/keymaster/gatekee |
1278c0 | 70 65 72 2f 74 68 65 72 65 2e 69 73 2e 6f 6e 6c 79 2e 78 75 6c 22 0a 20 20 20 20 20 20 20 20 73 | per/there.is.only.xul".........s |
1278e0 | 74 79 6c 65 3d 22 77 69 64 74 68 3a 20 26 77 69 6e 64 6f 77 2e 77 69 64 74 68 3b 3b 22 0a 20 20 | tyle="width:.&window.width;;"... |
127900 | 20 20 20 20 20 20 6f 6e 6c 6f 61 64 3d 22 67 43 6f 6f 6b 69 65 73 57 69 6e 64 6f 77 2e 69 6e 69 | ......onload="gCookiesWindow.ini |
127920 | 74 28 29 3b 22 0a 20 20 20 20 20 20 20 20 6f 6e 75 6e 6c 6f 61 64 3d 22 67 43 6f 6f 6b 69 65 73 | t();".........onunload="gCookies |
127940 | 57 69 6e 64 6f 77 2e 75 6e 69 6e 69 74 28 29 3b 22 0a 20 20 20 20 20 20 20 20 70 65 72 73 69 73 | Window.uninit();".........persis |
127960 | 74 3d 22 73 63 72 65 65 6e 58 20 73 63 72 65 65 6e 59 20 77 69 64 74 68 20 68 65 69 67 68 74 22 | t="screenX.screenY.width.height" |
127980 | 3e 0a 0a 20 20 3c 73 63 72 69 70 74 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 | >....<script.src="chrome://brows |
1279a0 | 65 72 2f 63 6f 6e 74 65 6e 74 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 70 65 72 6d 69 73 73 69 6f | er/content/preferences/permissio |
1279c0 | 6e 73 75 74 69 6c 73 2e 6a 73 22 2f 3e 0a 20 20 3c 73 63 72 69 70 74 20 73 72 63 3d 22 63 68 72 | nsutils.js"/>...<script.src="chr |
1279e0 | 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 70 72 65 66 65 72 65 6e 63 65 | ome://browser/content/preference |
127a00 | 73 2f 63 6f 6f 6b 69 65 73 2e 6a 73 22 2f 3e 0a 0a 20 20 3c 73 74 72 69 6e 67 62 75 6e 64 6c 65 | s/cookies.js"/>....<stringbundle |
127a20 | 20 69 64 3d 22 62 75 6e 64 6c 65 50 72 65 66 65 72 65 6e 63 65 73 22 0a 20 20 20 20 20 20 20 20 | .id="bundlePreferences"......... |
127a40 | 20 20 20 20 20 20 20 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 6c 6f | ........src="chrome://browser/lo |
127a60 | 63 61 6c 65 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 70 72 65 66 65 72 65 6e 63 65 73 2e 70 72 6f | cale/preferences/preferences.pro |
127a80 | 70 65 72 74 69 65 73 22 2f 3e 0a 0a 20 20 3c 6b 65 79 73 65 74 3e 0a 20 20 20 20 3c 6b 65 79 20 | perties"/>....<keyset>.....<key. |
127aa0 | 6b 65 79 3d 22 26 77 69 6e 64 6f 77 43 6c 6f 73 65 2e 6b 65 79 3b 22 20 6d 6f 64 69 66 69 65 72 | key="&windowClose.key;".modifier |
127ac0 | 73 3d 22 61 63 63 65 6c 22 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 77 69 6e 64 6f 77 2e 63 6c 6f 73 | s="accel".oncommand="window.clos |
127ae0 | 65 28 29 3b 22 2f 3e 0a 20 20 20 20 3c 6b 65 79 20 6b 65 79 3d 22 26 66 6f 63 75 73 53 65 61 72 | e();"/>.....<key.key="&focusSear |
127b00 | 63 68 31 2e 6b 65 79 3b 22 20 6d 6f 64 69 66 69 65 72 73 3d 22 61 63 63 65 6c 22 20 6f 6e 63 6f | ch1.key;".modifiers="accel".onco |
127b20 | 6d 6d 61 6e 64 3d 22 67 43 6f 6f 6b 69 65 73 57 69 6e 64 6f 77 2e 66 6f 63 75 73 46 69 6c 74 65 | mmand="gCookiesWindow.focusFilte |
127b40 | 72 42 6f 78 28 29 3b 22 2f 3e 0a 20 20 20 20 3c 6b 65 79 20 6b 65 79 3d 22 26 66 6f 63 75 73 53 | rBox();"/>.....<key.key="&focusS |
127b60 | 65 61 72 63 68 32 2e 6b 65 79 3b 22 20 6d 6f 64 69 66 69 65 72 73 3d 22 61 63 63 65 6c 22 20 6f | earch2.key;".modifiers="accel".o |
127b80 | 6e 63 6f 6d 6d 61 6e 64 3d 22 67 43 6f 6f 6b 69 65 73 57 69 6e 64 6f 77 2e 66 6f 63 75 73 46 69 | ncommand="gCookiesWindow.focusFi |
127ba0 | 6c 74 65 72 42 6f 78 28 29 3b 22 2f 3e 0a 20 20 3c 2f 6b 65 79 73 65 74 3e 0a 0a 20 20 3c 76 62 | lterBox();"/>...</keyset>....<vb |
127bc0 | 6f 78 20 66 6c 65 78 3d 22 31 22 20 63 6c 61 73 73 3d 22 63 6f 6e 74 65 6e 74 50 61 6e 65 22 3e | ox.flex="1".class="contentPane"> |
127be0 | 0a 20 20 20 20 3c 68 62 6f 78 20 61 6c 69 67 6e 3d 22 63 65 6e 74 65 72 22 3e 0a 20 20 20 20 20 | .....<hbox.align="center">...... |
127c00 | 20 3c 6c 61 62 65 6c 20 61 63 63 65 73 73 6b 65 79 3d 22 26 66 69 6c 74 65 72 2e 61 63 63 65 73 | .<label.accesskey="&filter.acces |
127c20 | 73 6b 65 79 3b 22 20 63 6f 6e 74 72 6f 6c 3d 22 66 69 6c 74 65 72 22 3e 26 66 69 6c 74 65 72 2e | skey;".control="filter">&filter. |
127c40 | 6c 61 62 65 6c 3b 3c 2f 6c 61 62 65 6c 3e 0a 20 20 20 20 20 20 3c 74 65 78 74 62 6f 78 20 74 79 | label;</label>.......<textbox.ty |
127c60 | 70 65 3d 22 73 65 61 72 63 68 22 20 69 64 3d 22 66 69 6c 74 65 72 22 20 66 6c 65 78 3d 22 31 22 | pe="search".id="filter".flex="1" |
127c80 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 72 69 61 2d 63 6f 6e 74 72 6f 6c 73 3d 22 63 | ................aria-controls="c |
127ca0 | 6f 6f 6b 69 65 73 4c 69 73 74 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d | ookiesList"................oncom |
127cc0 | 6d 61 6e 64 3d 22 67 43 6f 6f 6b 69 65 73 57 69 6e 64 6f 77 2e 66 69 6c 74 65 72 28 29 3b 22 2f | mand="gCookiesWindow.filter();"/ |
127ce0 | 3e 0a 20 20 20 20 3c 2f 68 62 6f 78 3e 0a 20 20 20 20 3c 73 65 70 61 72 61 74 6f 72 20 63 6c 61 | >.....</hbox>.....<separator.cla |
127d00 | 73 73 3d 22 74 68 69 6e 22 2f 3e 0a 20 20 20 20 3c 6c 61 62 65 6c 20 63 6f 6e 74 72 6f 6c 3d 22 | ss="thin"/>.....<label.control=" |
127d20 | 63 6f 6f 6b 69 65 73 4c 69 73 74 22 20 69 64 3d 22 63 6f 6f 6b 69 65 73 49 6e 74 72 6f 22 20 76 | cookiesList".id="cookiesIntro".v |
127d40 | 61 6c 75 65 3d 22 26 63 6f 6f 6b 69 65 73 6f 6e 73 79 73 74 65 6d 2e 6c 61 62 65 6c 3b 22 2f 3e | alue="&cookiesonsystem.label;"/> |
127d60 | 0a 20 20 20 20 3c 73 65 70 61 72 61 74 6f 72 20 63 6c 61 73 73 3d 22 74 68 69 6e 22 2f 3e 0a 20 | .....<separator.class="thin"/>.. |
127d80 | 20 20 20 3c 74 72 65 65 20 69 64 3d 22 63 6f 6f 6b 69 65 73 4c 69 73 74 22 20 66 6c 65 78 3d 22 | ...<tree.id="cookiesList".flex=" |
127da0 | 31 22 20 73 74 79 6c 65 3d 22 68 65 69 67 68 74 3a 20 31 30 65 6d 3b 22 0a 20 20 20 20 20 20 20 | 1".style="height:.10em;"........ |
127dc0 | 20 20 20 6f 6e 6b 65 79 70 72 65 73 73 3d 22 67 43 6f 6f 6b 69 65 73 57 69 6e 64 6f 77 2e 6f 6e | ...onkeypress="gCookiesWindow.on |
127de0 | 43 6f 6f 6b 69 65 4b 65 79 50 72 65 73 73 28 65 76 65 6e 74 29 22 0a 20 20 20 20 20 20 20 20 20 | CookieKeyPress(event)".......... |
127e00 | 20 6f 6e 73 65 6c 65 63 74 3d 22 67 43 6f 6f 6b 69 65 73 57 69 6e 64 6f 77 2e 6f 6e 43 6f 6f 6b | .onselect="gCookiesWindow.onCook |
127e20 | 69 65 53 65 6c 65 63 74 65 64 28 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 68 69 64 65 63 6f 6c | ieSelected();"...........hidecol |
127e40 | 75 6d 6e 70 69 63 6b 65 72 3d 22 74 72 75 65 22 20 73 65 6c 74 79 70 65 3d 22 73 69 6e 67 6c 65 | umnpicker="true".seltype="single |
127e60 | 22 3e 0a 20 20 20 20 20 20 3c 74 72 65 65 63 6f 6c 73 3e 0a 20 20 20 20 20 20 20 20 3c 74 72 65 | ">.......<treecols>.........<tre |
127e80 | 65 63 6f 6c 20 69 64 3d 22 64 6f 6d 61 69 6e 43 6f 6c 22 20 6c 61 62 65 6c 3d 22 26 63 6f 6f 6b | ecol.id="domainCol".label="&cook |
127ea0 | 69 65 64 6f 6d 61 69 6e 2e 6c 61 62 65 6c 3b 22 20 66 6c 65 78 3d 22 32 22 20 70 72 69 6d 61 72 | iedomain.label;".flex="2".primar |
127ec0 | 79 3d 22 74 72 75 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6c 61 73 73 3d | y="true"..................class= |
127ee0 | 22 73 6f 72 74 44 69 72 65 63 74 69 6f 6e 49 6e 64 69 63 61 74 6f 72 22 20 70 65 72 73 69 73 74 | "sortDirectionIndicator".persist |
127f00 | 3d 22 77 69 64 74 68 22 20 6f 6e 63 6c 69 63 6b 3d 22 67 43 6f 6f 6b 69 65 73 57 69 6e 64 6f 77 | ="width".onclick="gCookiesWindow |
127f20 | 2e 73 6f 72 74 28 27 72 61 77 48 6f 73 74 27 29 3b 22 20 2f 3e 0a 20 20 20 20 20 20 20 20 3c 73 | .sort('rawHost');"./>.........<s |
127f40 | 70 6c 69 74 74 65 72 20 63 6c 61 73 73 3d 22 74 72 65 65 2d 73 70 6c 69 74 74 65 72 22 2f 3e 0a | plitter.class="tree-splitter"/>. |
127f60 | 20 20 20 20 20 20 20 20 3c 74 72 65 65 63 6f 6c 20 69 64 3d 22 6e 61 6d 65 43 6f 6c 22 20 6c 61 | ........<treecol.id="nameCol".la |
127f80 | 62 65 6c 3d 22 26 63 6f 6f 6b 69 65 6e 61 6d 65 2e 6c 61 62 65 6c 3b 22 20 66 6c 65 78 3d 22 31 | bel="&cookiename.label;".flex="1 |
127fa0 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6c 61 73 73 3d 22 73 6f 72 74 44 69 | "..................class="sortDi |
127fc0 | 72 65 63 74 69 6f 6e 49 6e 64 69 63 61 74 6f 72 22 20 70 65 72 73 69 73 74 3d 22 77 69 64 74 68 | rectionIndicator".persist="width |
127fe0 | 22 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6c 69 63 6b 3d 22 67 43 6f | "...................onclick="gCo |
128000 | 6f 6b 69 65 73 57 69 6e 64 6f 77 2e 73 6f 72 74 28 27 6e 61 6d 65 27 29 3b 22 2f 3e 0a 20 20 20 | okiesWindow.sort('name');"/>.... |
128020 | 20 20 20 3c 2f 74 72 65 65 63 6f 6c 73 3e 0a 20 20 20 20 20 20 3c 74 72 65 65 63 68 69 6c 64 72 | ...</treecols>.......<treechildr |
128040 | 65 6e 20 69 64 3d 22 63 6f 6f 6b 69 65 73 43 68 69 6c 64 72 65 6e 22 2f 3e 0a 20 20 20 20 3c 2f | en.id="cookiesChildren"/>.....</ |
128060 | 74 72 65 65 3e 0a 20 20 20 20 3c 68 62 6f 78 20 69 64 3d 22 63 6f 6f 6b 69 65 49 6e 66 6f 42 6f | tree>.....<hbox.id="cookieInfoBo |
128080 | 78 22 3e 0a 20 20 20 20 20 20 3c 67 72 69 64 20 66 6c 65 78 3d 22 31 22 20 69 64 3d 22 63 6f 6f | x">.......<grid.flex="1".id="coo |
1280a0 | 6b 69 65 49 6e 66 6f 47 72 69 64 22 3e 0a 20 20 20 20 20 20 20 20 3c 63 6f 6c 75 6d 6e 73 3e 0a | kieInfoGrid">.........<columns>. |
1280c0 | 20 20 20 20 20 20 20 20 20 20 3c 63 6f 6c 75 6d 6e 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 63 | ..........<column/>...........<c |
1280e0 | 6f 6c 75 6d 6e 20 66 6c 65 78 3d 22 31 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 2f 63 6f 6c 75 6d | olumn.flex="1"/>.........</colum |
128100 | 6e 73 3e 0a 20 20 20 20 20 20 20 20 3c 72 6f 77 73 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 72 6f | ns>.........<rows>...........<ro |
128120 | 77 20 61 6c 69 67 6e 3d 22 63 65 6e 74 65 72 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 68 | w.align="center">.............<h |
128140 | 62 6f 78 20 70 61 63 6b 3d 22 65 6e 64 22 3e 3c 6c 61 62 65 6c 20 69 64 3d 22 6e 61 6d 65 4c 61 | box.pack="end"><label.id="nameLa |
128160 | 62 65 6c 22 20 63 6f 6e 74 72 6f 6c 3d 22 6e 61 6d 65 22 20 76 61 6c 75 65 3d 22 26 70 72 6f 70 | bel".control="name".value="&prop |
128180 | 73 2e 6e 61 6d 65 2e 6c 61 62 65 6c 3b 22 2f 3e 3c 2f 68 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 | s.name.label;"/></hbox>......... |
1281a0 | 20 20 20 20 3c 74 65 78 74 62 6f 78 20 69 64 3d 22 6e 61 6d 65 22 20 72 65 61 64 6f 6e 6c 79 3d | ....<textbox.id="name".readonly= |
1281c0 | 22 74 72 75 65 22 20 63 6c 61 73 73 3d 22 70 6c 61 69 6e 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 | "true".class="plain"/>.......... |
1281e0 | 20 3c 2f 72 6f 77 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 72 6f 77 20 61 6c 69 67 6e 3d 22 63 65 | .</row>...........<row.align="ce |
128200 | 6e 74 65 72 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 68 62 6f 78 20 70 61 63 6b 3d 22 65 | nter">.............<hbox.pack="e |
128220 | 6e 64 22 3e 3c 6c 61 62 65 6c 20 69 64 3d 22 76 61 6c 75 65 4c 61 62 65 6c 22 20 63 6f 6e 74 72 | nd"><label.id="valueLabel".contr |
128240 | 6f 6c 3d 22 76 61 6c 75 65 22 20 76 61 6c 75 65 3d 22 26 70 72 6f 70 73 2e 76 61 6c 75 65 2e 6c | ol="value".value="&props.value.l |
128260 | 61 62 65 6c 3b 22 2f 3e 3c 2f 68 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 74 65 78 | abel;"/></hbox>.............<tex |
128280 | 74 62 6f 78 20 69 64 3d 22 76 61 6c 75 65 22 20 72 65 61 64 6f 6e 6c 79 3d 22 74 72 75 65 22 20 | tbox.id="value".readonly="true". |
1282a0 | 63 6c 61 73 73 3d 22 70 6c 61 69 6e 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 2f 72 6f 77 3e | class="plain"/>...........</row> |
1282c0 | 0a 20 20 20 20 20 20 20 20 20 20 3c 72 6f 77 20 61 6c 69 67 6e 3d 22 63 65 6e 74 65 72 22 3e 0a | ...........<row.align="center">. |
1282e0 | 20 20 20 20 20 20 20 20 20 20 20 20 3c 68 62 6f 78 20 70 61 63 6b 3d 22 65 6e 64 22 3e 3c 6c 61 | ............<hbox.pack="end"><la |
128300 | 62 65 6c 20 69 64 3d 22 69 73 44 6f 6d 61 69 6e 22 20 63 6f 6e 74 72 6f 6c 3d 22 68 6f 73 74 22 | bel.id="isDomain".control="host" |
128320 | 20 76 61 6c 75 65 3d 22 26 70 72 6f 70 73 2e 64 6f 6d 61 69 6e 2e 6c 61 62 65 6c 3b 22 2f 3e 3c | .value="&props.domain.label;"/>< |
128340 | 2f 68 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 74 65 78 74 62 6f 78 20 69 64 3d 22 | /hbox>.............<textbox.id=" |
128360 | 68 6f 73 74 22 20 72 65 61 64 6f 6e 6c 79 3d 22 74 72 75 65 22 20 63 6c 61 73 73 3d 22 70 6c 61 | host".readonly="true".class="pla |
128380 | 69 6e 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 2f 72 6f 77 3e 0a 20 20 20 20 20 20 20 20 20 | in"/>...........</row>.......... |
1283a0 | 20 3c 72 6f 77 20 61 6c 69 67 6e 3d 22 63 65 6e 74 65 72 22 3e 0a 20 20 20 20 20 20 20 20 20 20 | .<row.align="center">........... |
1283c0 | 20 20 3c 68 62 6f 78 20 70 61 63 6b 3d 22 65 6e 64 22 3e 3c 6c 61 62 65 6c 20 69 64 3d 22 70 61 | ..<hbox.pack="end"><label.id="pa |
1283e0 | 74 68 4c 61 62 65 6c 22 20 63 6f 6e 74 72 6f 6c 3d 22 70 61 74 68 22 20 76 61 6c 75 65 3d 22 26 | thLabel".control="path".value="& |
128400 | 70 72 6f 70 73 2e 70 61 74 68 2e 6c 61 62 65 6c 3b 22 2f 3e 3c 2f 68 62 6f 78 3e 0a 20 20 20 20 | props.path.label;"/></hbox>..... |
128420 | 20 20 20 20 20 20 20 20 3c 74 65 78 74 62 6f 78 20 69 64 3d 22 70 61 74 68 22 20 72 65 61 64 6f | ........<textbox.id="path".reado |
128440 | 6e 6c 79 3d 22 74 72 75 65 22 20 63 6c 61 73 73 3d 22 70 6c 61 69 6e 22 2f 3e 0a 20 20 20 20 20 | nly="true".class="plain"/>...... |
128460 | 20 20 20 20 20 3c 2f 72 6f 77 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 72 6f 77 20 61 6c 69 67 6e | .....</row>...........<row.align |
128480 | 3d 22 63 65 6e 74 65 72 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 68 62 6f 78 20 70 61 63 | ="center">.............<hbox.pac |
1284a0 | 6b 3d 22 65 6e 64 22 3e 3c 6c 61 62 65 6c 20 69 64 3d 22 69 73 53 65 63 75 72 65 4c 61 62 65 6c | k="end"><label.id="isSecureLabel |
1284c0 | 22 20 63 6f 6e 74 72 6f 6c 3d 22 69 73 53 65 63 75 72 65 22 20 76 61 6c 75 65 3d 22 26 70 72 6f | ".control="isSecure".value="&pro |
1284e0 | 70 73 2e 73 65 63 75 72 65 2e 6c 61 62 65 6c 3b 22 2f 3e 3c 2f 68 62 6f 78 3e 0a 20 20 20 20 20 | ps.secure.label;"/></hbox>...... |
128500 | 20 20 20 20 20 20 20 3c 74 65 78 74 62 6f 78 20 69 64 3d 22 69 73 53 65 63 75 72 65 22 20 72 65 | .......<textbox.id="isSecure".re |
128520 | 61 64 6f 6e 6c 79 3d 22 74 72 75 65 22 20 63 6c 61 73 73 3d 22 70 6c 61 69 6e 22 2f 3e 0a 20 20 | adonly="true".class="plain"/>... |
128540 | 20 20 20 20 20 20 20 20 3c 2f 72 6f 77 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 72 6f 77 20 61 6c | ........</row>...........<row.al |
128560 | 69 67 6e 3d 22 63 65 6e 74 65 72 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 68 62 6f 78 20 | ign="center">.............<hbox. |
128580 | 70 61 63 6b 3d 22 65 6e 64 22 3e 3c 6c 61 62 65 6c 20 69 64 3d 22 65 78 70 69 72 65 73 4c 61 62 | pack="end"><label.id="expiresLab |
1285a0 | 65 6c 22 20 63 6f 6e 74 72 6f 6c 3d 22 65 78 70 69 72 65 73 22 20 76 61 6c 75 65 3d 22 26 70 72 | el".control="expires".value="&pr |
1285c0 | 6f 70 73 2e 65 78 70 69 72 65 73 2e 6c 61 62 65 6c 3b 22 2f 3e 3c 2f 68 62 6f 78 3e 0a 20 20 20 | ops.expires.label;"/></hbox>.... |
1285e0 | 20 20 20 20 20 20 20 20 20 3c 74 65 78 74 62 6f 78 20 69 64 3d 22 65 78 70 69 72 65 73 22 20 72 | .........<textbox.id="expires".r |
128600 | 65 61 64 6f 6e 6c 79 3d 22 74 72 75 65 22 20 63 6c 61 73 73 3d 22 70 6c 61 69 6e 22 2f 3e 0a 20 | eadonly="true".class="plain"/>.. |
128620 | 20 20 20 20 20 20 20 20 20 3c 2f 72 6f 77 3e 0a 20 20 20 20 20 20 20 20 3c 2f 72 6f 77 73 3e 0a | .........</row>.........</rows>. |
128640 | 20 20 20 20 20 20 3c 2f 67 72 69 64 3e 0a 20 20 20 20 3c 2f 68 62 6f 78 3e 0a 20 20 3c 2f 76 62 | ......</grid>.....</hbox>...</vb |
128660 | 6f 78 3e 0a 20 20 3c 68 62 6f 78 20 61 6c 69 67 6e 3d 22 65 6e 64 22 3e 0a 20 20 20 20 3c 68 62 | ox>...<hbox.align="end">.....<hb |
128680 | 6f 78 20 63 6c 61 73 73 3d 22 61 63 74 69 6f 6e 42 75 74 74 6f 6e 73 22 20 66 6c 65 78 3d 22 31 | ox.class="actionButtons".flex="1 |
1286a0 | 22 3e 0a 20 20 20 20 20 20 3c 62 75 74 74 6f 6e 20 69 64 3d 22 72 65 6d 6f 76 65 43 6f 6f 6b 69 | ">.......<button.id="removeCooki |
1286c0 | 65 22 20 64 69 73 61 62 6c 65 64 3d 22 74 72 75 65 22 20 69 63 6f 6e 3d 22 72 65 6d 6f 76 65 22 | e".disabled="true".icon="remove" |
1286e0 | 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 62 75 74 74 6f 6e 2e 72 | ................label="&button.r |
128700 | 65 6d 6f 76 65 63 6f 6f 6b 69 65 2e 6c 61 62 65 6c 3b 22 20 61 63 63 65 73 73 6b 65 79 3d 22 26 | emovecookie.label;".accesskey="& |
128720 | 62 75 74 74 6f 6e 2e 72 65 6d 6f 76 65 63 6f 6f 6b 69 65 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a | button.removecookie.accesskey;". |
128740 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 43 6f 6f 6b 69 65 | ..............oncommand="gCookie |
128760 | 73 57 69 6e 64 6f 77 2e 64 65 6c 65 74 65 43 6f 6f 6b 69 65 28 29 3b 22 2f 3e 0a 20 20 20 20 20 | sWindow.deleteCookie();"/>...... |
128780 | 20 3c 62 75 74 74 6f 6e 20 69 64 3d 22 72 65 6d 6f 76 65 41 6c 6c 43 6f 6f 6b 69 65 73 22 20 64 | .<button.id="removeAllCookies".d |
1287a0 | 69 73 61 62 6c 65 64 3d 22 74 72 75 65 22 20 69 63 6f 6e 3d 22 63 6c 65 61 72 22 0a 20 20 20 20 | isabled="true".icon="clear"..... |
1287c0 | 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 62 75 74 74 6f 6e 2e 72 65 6d 6f 76 65 61 | ..........label="&button.removea |
1287e0 | 6c 6c 63 6f 6f 6b 69 65 73 2e 6c 61 62 65 6c 3b 22 20 61 63 63 65 73 73 6b 65 79 3d 22 26 62 75 | llcookies.label;".accesskey="&bu |
128800 | 74 74 6f 6e 2e 72 65 6d 6f 76 65 61 6c 6c 63 6f 6f 6b 69 65 73 2e 61 63 63 65 73 73 6b 65 79 3b | tton.removeallcookies.accesskey; |
128820 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 43 6f 6f 6b | "...............oncommand="gCook |
128840 | 69 65 73 57 69 6e 64 6f 77 2e 64 65 6c 65 74 65 41 6c 6c 43 6f 6f 6b 69 65 73 28 29 3b 22 2f 3e | iesWindow.deleteAllCookies();"/> |
128860 | 0a 20 20 20 20 20 20 3c 73 70 61 63 65 72 20 66 6c 65 78 3d 22 31 22 2f 3e 0a 20 20 20 20 20 20 | .......<spacer.flex="1"/>....... |
128880 | 3c 62 75 74 74 6f 6e 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 63 6c 6f 73 65 28 29 3b 22 20 69 63 6f | <button.oncommand="close();".ico |
1288a0 | 6e 3d 22 63 6c 6f 73 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 | n="close"...............label="& |
1288c0 | 62 75 74 74 6f 6e 2e 63 6c 6f 73 65 2e 6c 61 62 65 6c 3b 22 20 61 63 63 65 73 73 6b 65 79 3d 22 | button.close.label;".accesskey=" |
1288e0 | 26 62 75 74 74 6f 6e 2e 63 6c 6f 73 65 2e 61 63 63 65 73 73 6b 65 79 3b 22 2f 3e 0a 20 20 20 20 | &button.close.accesskey;"/>..... |
128900 | 3c 2f 68 62 6f 78 3e 0a 20 20 20 20 3c 72 65 73 69 7a 65 72 20 64 69 72 3d 22 62 6f 74 74 6f 6d | </hbox>.....<resizer.dir="bottom |
128920 | 65 6e 64 22 2f 3e 0a 20 20 3c 2f 68 62 6f 78 3e 0a 3c 2f 77 69 6e 64 6f 77 3e 0a 50 4b 03 04 14 | end"/>...</hbox>.</window>.PK... |
128940 | 00 00 00 00 00 f3 4b 18 3b 8d 20 d1 27 da 72 00 00 da 72 00 00 26 00 00 00 63 6f 6e 74 65 6e 74 | ......K.;...'.r...r..&...content |
128960 | 2f 62 72 6f 77 73 65 72 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 63 6f 6f 6b 69 65 73 2e 6a 73 2f | /browser/preferences/cookies.js/ |
128980 | 2f 40 6c 69 6e 65 20 33 39 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 | /@line.39."/builds/moz2_slave/li |
1289a0 | 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 63 6f 6d 70 6f 6e 65 6e | nux_build/build/browser/componen |
1289c0 | 74 73 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 63 6f 6f 6b 69 65 73 2e 6a 73 22 0a 0a 63 6f 6e 73 | ts/preferences/cookies.js"..cons |
1289e0 | 74 20 6e 73 49 43 6f 6f 6b 69 65 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 | t.nsICookie.=.Components.interfa |
128a00 | 63 65 73 2e 6e 73 49 43 6f 6f 6b 69 65 3b 0a 0a 76 61 72 20 67 43 6f 6f 6b 69 65 73 57 69 6e 64 | ces.nsICookie;..var.gCookiesWind |
128a20 | 6f 77 20 3d 20 7b 0a 20 20 5f 63 6d 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3a 20 43 6f 6d | ow.=.{..._cm...............:.Com |
128a40 | 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 63 6f | ponents.classes["@mozilla.org/co |
128a60 | 6f 6b 69 65 6d 61 6e 61 67 65 72 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | okiemanager;1"]................. |
128a80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 | .................getService(Comp |
128aa0 | 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 43 6f 6f 6b 69 65 4d 61 6e 61 67 | onents.interfaces.nsICookieManag |
128ac0 | 65 72 29 2c 0a 20 20 5f 64 73 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3a 20 43 6f 6d 70 6f | er),..._ds...............:.Compo |
128ae0 | 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 69 6e 74 6c | nents.classes["@mozilla.org/intl |
128b00 | 2f 73 63 72 69 70 74 61 62 6c 65 64 61 74 65 66 6f 72 6d 61 74 3b 31 22 5d 0a 20 20 20 20 20 20 | /scriptabledateformat;1"]....... |
128b20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 | ...........................getSe |
128b40 | 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 53 | rvice(Components.interfaces.nsIS |
128b60 | 63 72 69 70 74 61 62 6c 65 44 61 74 65 46 6f 72 6d 61 74 29 2c 0a 20 20 5f 68 6f 73 74 73 20 20 | criptableDateFormat),..._hosts.. |
128b80 | 20 20 20 20 20 20 20 20 20 20 3a 20 7b 7d 2c 0a 20 20 5f 68 6f 73 74 4f 72 64 65 72 20 20 20 20 | ..........:.{},..._hostOrder.... |
128ba0 | 20 20 20 20 3a 20 5b 5d 2c 0a 20 20 5f 74 72 65 65 20 20 20 20 20 20 20 20 20 20 20 20 20 3a 20 | ....:.[],..._tree.............:. |
128bc0 | 6e 75 6c 6c 2c 0a 20 20 5f 62 75 6e 64 6c 65 20 20 20 20 20 20 20 20 20 20 20 3a 20 6e 75 6c 6c | null,..._bundle...........:.null |
128be0 | 2c 0a 0a 20 20 69 6e 69 74 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 76 | ,....init:.function.()...{.....v |
128c00 | 61 72 20 6f 73 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a | ar.os.=.Components.classes["@moz |
128c20 | 69 6c 6c 61 2e 6f 72 67 2f 6f 62 73 65 72 76 65 72 2d 73 65 72 76 69 63 65 3b 31 22 5d 0a 20 20 | illa.org/observer-service;1"]... |
128c40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 | ......................getService |
128c60 | 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 4f 62 73 65 72 76 | (Components.interfaces.nsIObserv |
128c80 | 65 72 53 65 72 76 69 63 65 29 3b 0a 20 20 20 20 6f 73 2e 61 64 64 4f 62 73 65 72 76 65 72 28 74 | erService);.....os.addObserver(t |
128ca0 | 68 69 73 2c 20 22 63 6f 6f 6b 69 65 2d 63 68 61 6e 67 65 64 22 2c 20 66 61 6c 73 65 29 3b 0a 20 | his,."cookie-changed",.false);.. |
128cc0 | 20 20 20 6f 73 2e 61 64 64 4f 62 73 65 72 76 65 72 28 74 68 69 73 2c 20 22 70 65 72 6d 2d 63 68 | ...os.addObserver(this,."perm-ch |
128ce0 | 61 6e 67 65 64 22 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 20 0a 20 20 20 20 74 68 69 73 2e 5f 62 | anged",.false);..........this._b |
128d00 | 75 6e 64 6c 65 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 | undle.=.document.getElementById( |
128d20 | 22 62 75 6e 64 6c 65 50 72 65 66 65 72 65 6e 63 65 73 22 29 3b 0a 20 20 20 20 74 68 69 73 2e 5f | "bundlePreferences");.....this._ |
128d40 | 74 72 65 65 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 | tree.=.document.getElementById(" |
128d60 | 63 6f 6f 6b 69 65 73 4c 69 73 74 22 29 3b 0a 20 20 20 20 0a 20 20 20 20 74 68 69 73 2e 5f 70 6f | cookiesList");..........this._po |
128d80 | 70 75 6c 61 74 65 4c 69 73 74 28 74 72 75 65 29 3b 0a 20 20 20 20 20 20 0a 20 20 20 20 64 6f 63 | pulateList(true);............doc |
128da0 | 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 66 69 6c 74 65 72 22 29 2e 66 | ument.getElementById("filter").f |
128dc0 | 6f 63 75 73 28 29 3b 0a 20 20 7d 2c 0a 20 20 0a 20 20 75 6e 69 6e 69 74 3a 20 66 75 6e 63 74 69 | ocus();...},......uninit:.functi |
128de0 | 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 76 61 72 20 6f 73 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 | on.()...{.....var.os.=.Component |
128e00 | 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6f 62 73 65 72 76 65 72 | s.classes["@mozilla.org/observer |
128e20 | 2d 73 65 72 76 69 63 65 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | -service;1"].................... |
128e40 | 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 | .....getService(Components.inter |
128e60 | 66 61 63 65 73 2e 6e 73 49 4f 62 73 65 72 76 65 72 53 65 72 76 69 63 65 29 3b 0a 20 20 20 20 6f | faces.nsIObserverService);.....o |
128e80 | 73 2e 72 65 6d 6f 76 65 4f 62 73 65 72 76 65 72 28 74 68 69 73 2c 20 22 63 6f 6f 6b 69 65 2d 63 | s.removeObserver(this,."cookie-c |
128ea0 | 68 61 6e 67 65 64 22 29 3b 0a 20 20 20 20 6f 73 2e 72 65 6d 6f 76 65 4f 62 73 65 72 76 65 72 28 | hanged");.....os.removeObserver( |
128ec0 | 74 68 69 73 2c 20 22 70 65 72 6d 2d 63 68 61 6e 67 65 64 22 29 3b 0a 20 20 7d 2c 0a 20 20 0a 20 | this,."perm-changed");...},..... |
128ee0 | 20 5f 70 6f 70 75 6c 61 74 65 4c 69 73 74 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 49 6e 69 74 69 | ._populateList:.function.(aIniti |
128f00 | 61 6c 4c 6f 61 64 29 0a 20 20 7b 0a 20 20 20 20 74 68 69 73 2e 5f 6c 6f 61 64 43 6f 6f 6b 69 65 | alLoad)...{.....this._loadCookie |
128f20 | 73 28 29 3b 0a 20 20 20 20 74 68 69 73 2e 5f 74 72 65 65 2e 74 72 65 65 42 6f 78 4f 62 6a 65 63 | s();.....this._tree.treeBoxObjec |
128f40 | 74 2e 76 69 65 77 20 3d 20 74 68 69 73 2e 5f 76 69 65 77 3b 0a 20 20 20 20 69 66 20 28 61 49 6e | t.view.=.this._view;.....if.(aIn |
128f60 | 69 74 69 61 6c 4c 6f 61 64 29 0a 20 20 20 20 20 20 74 68 69 73 2e 73 6f 72 74 28 22 72 61 77 48 | itialLoad).......this.sort("rawH |
128f80 | 6f 73 74 22 29 3b 0a 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 76 69 65 77 2e 72 6f 77 43 6f 75 | ost");.....if.(this._view.rowCou |
128fa0 | 6e 74 20 3e 20 30 29 20 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 74 72 65 65 2e 76 69 65 77 2e 73 | nt.>.0)........this._tree.view.s |
128fc0 | 65 6c 65 63 74 69 6f 6e 2e 73 65 6c 65 63 74 28 30 29 3b 0a 0a 20 20 20 20 69 66 20 28 61 49 6e | election.select(0);......if.(aIn |
128fe0 | 69 74 69 61 6c 4c 6f 61 64 29 20 7b 0a 20 20 20 20 20 20 69 66 20 28 22 61 72 67 75 6d 65 6e 74 | itialLoad).{.......if.("argument |
129000 | 73 22 20 69 6e 20 77 69 6e 64 6f 77 20 26 26 20 77 69 6e 64 6f 77 2e 61 72 67 75 6d 65 6e 74 73 | s".in.window.&&.window.arguments |
129020 | 5b 30 5d 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 77 69 6e 64 6f 77 2e 61 72 67 75 6d 65 6e 74 | [0].&&...........window.argument |
129040 | 73 5b 30 5d 2e 66 69 6c 74 65 72 53 74 72 69 6e 67 29 0a 20 20 20 20 20 20 7b 0a 20 20 20 20 20 | s[0].filterString).......{...... |
129060 | 20 20 20 74 68 69 73 2e 73 65 74 46 69 6c 74 65 72 28 77 69 6e 64 6f 77 2e 61 72 67 75 6d 65 6e | ...this.setFilter(window.argumen |
129080 | 74 73 5b 30 5d 2e 66 69 6c 74 65 72 53 74 72 69 6e 67 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 | ts[0].filterString);.......}.... |
1290a0 | 20 7d 0a 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 69 66 20 28 64 6f 63 75 6d 65 6e 74 | .}.....else.{.......if.(document |
1290c0 | 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 66 69 6c 74 65 72 22 29 2e 76 61 6c 75 65 20 | .getElementById("filter").value. |
1290e0 | 21 3d 20 22 22 29 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 66 69 6c 74 65 72 28 29 3b 0a 20 20 | !=."").........this.filter();... |
129100 | 20 20 7d 0a 0a 20 20 20 20 74 68 69 73 2e 5f 73 61 76 65 53 74 61 74 65 28 29 3b 0a 20 20 7d 2c | ..}......this._saveState();...}, |
129120 | 0a 20 20 0a 20 20 5f 63 6f 6f 6b 69 65 45 71 75 61 6c 73 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 | ......_cookieEquals:.function.(a |
129140 | 43 6f 6f 6b 69 65 41 2c 20 61 43 6f 6f 6b 69 65 42 2c 20 61 53 74 72 69 70 70 65 64 48 6f 73 74 | CookieA,.aCookieB,.aStrippedHost |
129160 | 29 0a 20 20 7b 0a 20 20 20 20 72 65 74 75 72 6e 20 61 43 6f 6f 6b 69 65 41 2e 72 61 77 48 6f 73 | )...{.....return.aCookieA.rawHos |
129180 | 74 20 3d 3d 20 61 53 74 72 69 70 70 65 64 48 6f 73 74 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 | t.==.aStrippedHost.&&........... |
1291a0 | 20 61 43 6f 6f 6b 69 65 41 2e 6e 61 6d 65 20 3d 3d 20 61 43 6f 6f 6b 69 65 42 2e 6e 61 6d 65 20 | .aCookieA.name.==.aCookieB.name. |
1291c0 | 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 61 43 6f 6f 6b 69 65 41 2e 70 61 74 68 20 3d 3d 20 61 | &&............aCookieA.path.==.a |
1291e0 | 43 6f 6f 6b 69 65 42 2e 70 61 74 68 3b 0a 20 20 7d 2c 0a 20 20 0a 20 20 6f 62 73 65 72 76 65 3a | CookieB.path;...},......observe: |
129200 | 20 66 75 6e 63 74 69 6f 6e 20 28 61 43 6f 6f 6b 69 65 2c 20 61 54 6f 70 69 63 2c 20 61 44 61 74 | .function.(aCookie,.aTopic,.aDat |
129220 | 61 29 20 0a 20 20 7b 0a 20 20 20 20 69 66 20 28 61 54 6f 70 69 63 20 21 3d 20 22 63 6f 6f 6b 69 | a)....{.....if.(aTopic.!=."cooki |
129240 | 65 2d 63 68 61 6e 67 65 64 22 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 20 20 0a 20 | e-changed").......return;....... |
129260 | 20 20 20 69 66 20 28 61 43 6f 6f 6b 69 65 20 69 6e 73 74 61 6e 63 65 6f 66 20 43 6f 6d 70 6f 6e | ...if.(aCookie.instanceof.Compon |
129280 | 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 43 6f 6f 6b 69 65 29 20 7b 0a 20 20 20 | ents.interfaces.nsICookie).{.... |
1292a0 | 20 20 20 76 61 72 20 73 74 72 69 70 70 65 64 48 6f 73 74 20 3d 20 74 68 69 73 2e 5f 6d 61 6b 65 | ...var.strippedHost.=.this._make |
1292c0 | 53 74 72 69 70 70 65 64 48 6f 73 74 28 61 43 6f 6f 6b 69 65 2e 68 6f 73 74 29 3b 0a 20 20 20 20 | StrippedHost(aCookie.host);..... |
1292e0 | 20 20 69 66 20 28 61 44 61 74 61 20 3d 3d 20 22 63 68 61 6e 67 65 64 22 29 0a 20 20 20 20 20 20 | ..if.(aData.==."changed")....... |
129300 | 20 20 74 68 69 73 2e 5f 68 61 6e 64 6c 65 43 6f 6f 6b 69 65 43 68 61 6e 67 65 64 28 61 43 6f 6f | ..this._handleCookieChanged(aCoo |
129320 | 6b 69 65 2c 20 73 74 72 69 70 70 65 64 48 6f 73 74 29 3b 0a 20 20 20 20 20 20 65 6c 73 65 20 69 | kie,.strippedHost);.......else.i |
129340 | 66 20 28 61 44 61 74 61 20 3d 3d 20 22 61 64 64 65 64 22 29 0a 20 20 20 20 20 20 20 20 74 68 69 | f.(aData.==."added").........thi |
129360 | 73 2e 5f 68 61 6e 64 6c 65 43 6f 6f 6b 69 65 41 64 64 65 64 28 61 43 6f 6f 6b 69 65 2c 20 73 74 | s._handleCookieAdded(aCookie,.st |
129380 | 72 69 70 70 65 64 48 6f 73 74 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 65 6c 73 65 20 69 66 20 28 | rippedHost);.....}.....else.if.( |
1293a0 | 61 44 61 74 61 20 3d 3d 20 22 63 6c 65 61 72 65 64 22 29 20 7b 0a 20 20 20 20 20 20 74 68 69 73 | aData.==."cleared").{.......this |
1293c0 | 2e 5f 68 6f 73 74 73 20 3d 20 7b 7d 3b 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 68 6f 73 74 4f 72 | ._hosts.=.{};.......this._hostOr |
1293e0 | 64 65 72 20 3d 20 5b 5d 3b 0a 20 20 20 20 0a 20 20 20 20 20 20 76 61 72 20 6f 6c 64 52 6f 77 43 | der.=.[];............var.oldRowC |
129400 | 6f 75 6e 74 20 3d 20 74 68 69 73 2e 5f 76 69 65 77 2e 5f 72 6f 77 43 6f 75 6e 74 3b 0a 20 20 20 | ount.=.this._view._rowCount;.... |
129420 | 20 20 20 74 68 69 73 2e 5f 76 69 65 77 2e 5f 72 6f 77 43 6f 75 6e 74 20 3d 20 30 3b 0a 20 20 20 | ...this._view._rowCount.=.0;.... |
129440 | 20 20 20 74 68 69 73 2e 5f 74 72 65 65 2e 74 72 65 65 42 6f 78 4f 62 6a 65 63 74 2e 72 6f 77 43 | ...this._tree.treeBoxObject.rowC |
129460 | 6f 75 6e 74 43 68 61 6e 67 65 64 28 30 2c 20 2d 6f 6c 64 52 6f 77 43 6f 75 6e 74 29 3b 0a 20 20 | ountChanged(0,.-oldRowCount);... |
129480 | 20 20 20 20 74 68 69 73 2e 5f 76 69 65 77 2e 73 65 6c 65 63 74 69 6f 6e 2e 63 6c 65 61 72 53 65 | ....this._view.selection.clearSe |
1294a0 | 6c 65 63 74 69 6f 6e 28 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 65 6c 73 65 20 69 66 20 28 61 44 | lection();.....}.....else.if.(aD |
1294c0 | 61 74 61 20 3d 3d 20 22 72 65 6c 6f 61 64 22 29 20 7b 0a 20 20 20 20 20 20 2f 2f 20 66 69 72 73 | ata.==."reload").{.......//.firs |
1294e0 | 74 2c 20 63 6c 65 61 72 20 61 6e 79 20 65 78 69 73 74 69 6e 67 20 65 6e 74 72 69 65 73 0a 20 20 | t,.clear.any.existing.entries... |
129500 | 20 20 20 20 74 68 69 73 2e 6f 62 73 65 72 76 65 28 61 43 6f 6f 6b 69 65 2c 20 61 54 6f 70 69 63 | ....this.observe(aCookie,.aTopic |
129520 | 2c 20 22 63 6c 65 61 72 65 64 22 29 3b 0a 0a 20 20 20 20 20 20 2f 2f 20 74 68 65 6e 2c 20 72 65 | ,."cleared");........//.then,.re |
129540 | 6c 6f 61 64 20 74 68 65 20 6c 69 73 74 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 70 6f 70 75 6c 61 | load.the.list.......this._popula |
129560 | 74 65 4c 69 73 74 28 66 61 6c 73 65 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 0a 20 20 20 20 2f 2f | teList(false);.....}..........// |
129580 | 20 57 65 20 64 6f 6e 27 74 20 79 65 74 20 68 61 6e 64 6c 65 20 61 44 61 74 61 20 3d 3d 20 22 64 | .We.don't.yet.handle.aData.==."d |
1295a0 | 65 6c 65 74 65 64 22 20 2d 20 69 74 27 73 20 61 20 6c 65 73 73 20 63 6f 6d 6d 6f 6e 20 63 61 73 | eleted".-.it's.a.less.common.cas |
1295c0 | 65 0a 20 20 20 20 2f 2f 20 61 6e 64 20 69 73 20 72 61 74 68 65 72 20 63 6f 6d 70 6c 69 63 61 74 | e.....//.and.is.rather.complicat |
1295e0 | 65 64 20 61 73 20 73 65 6c 65 63 74 69 6f 6e 20 74 72 61 63 6b 69 6e 67 20 69 73 20 64 69 66 66 | ed.as.selection.tracking.is.diff |
129600 | 69 63 75 6c 74 0a 20 20 7d 2c 0a 20 20 0a 20 20 5f 68 61 6e 64 6c 65 43 6f 6f 6b 69 65 43 68 61 | icult...},......_handleCookieCha |
129620 | 6e 67 65 64 3a 20 66 75 6e 63 74 69 6f 6e 20 28 63 68 61 6e 67 65 64 43 6f 6f 6b 69 65 2c 20 73 | nged:.function.(changedCookie,.s |
129640 | 74 72 69 70 70 65 64 48 6f 73 74 29 20 0a 20 20 7b 0a 20 20 20 20 76 61 72 20 72 6f 77 49 6e 64 | trippedHost)....{.....var.rowInd |
129660 | 65 78 20 3d 20 30 3b 0a 20 20 20 20 76 61 72 20 63 6f 6f 6b 69 65 49 74 65 6d 20 3d 20 6e 75 6c | ex.=.0;.....var.cookieItem.=.nul |
129680 | 6c 3b 0a 20 20 20 20 69 66 20 28 21 74 68 69 73 2e 5f 76 69 65 77 2e 5f 66 69 6c 74 65 72 65 64 | l;.....if.(!this._view._filtered |
1296a0 | 29 20 7b 0a 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 74 68 | ).{.......for.(var.i.=.0;.i.<.th |
1296c0 | 69 73 2e 5f 68 6f 73 74 4f 72 64 65 72 2e 6c 65 6e 67 74 68 3b 20 2b 2b 69 29 20 7b 20 2f 2f 20 | is._hostOrder.length;.++i).{.//. |
1296e0 | 28 76 61 72 20 68 6f 73 74 20 69 6e 20 74 68 69 73 2e 5f 68 6f 73 74 73 29 20 7b 0a 20 20 20 20 | (var.host.in.this._hosts).{..... |
129700 | 20 20 20 20 2b 2b 72 6f 77 49 6e 64 65 78 3b 0a 20 20 20 20 20 20 20 20 76 61 72 20 68 6f 73 74 | ....++rowIndex;.........var.host |
129720 | 49 74 65 6d 20 3d 20 74 68 69 73 2e 5f 68 6f 73 74 73 5b 74 68 69 73 2e 5f 68 6f 73 74 4f 72 64 | Item.=.this._hosts[this._hostOrd |
129740 | 65 72 5b 69 5d 5d 3b 20 2f 2f 20 76 61 72 20 68 6f 73 74 49 74 65 6d 20 3d 20 74 68 69 73 2e 5f | er[i]];.//.var.hostItem.=.this._ |
129760 | 68 6f 73 74 73 5b 68 6f 73 74 5d 3b 0a 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 68 | hosts[host];.........if.(this._h |
129780 | 6f 73 74 4f 72 64 65 72 5b 69 5d 20 3d 3d 20 73 74 72 69 70 70 65 64 48 6f 73 74 29 20 7b 20 2f | ostOrder[i].==.strippedHost).{./ |
1297a0 | 2f 20 68 6f 73 74 20 3d 3d 20 73 74 72 69 70 70 65 64 48 6f 73 74 29 20 7b 0a 20 20 20 20 20 20 | /.host.==.strippedHost).{....... |
1297c0 | 20 20 20 20 2f 2f 20 48 6f 73 74 20 6d 61 74 63 68 65 73 2c 20 6c 6f 6f 6b 20 66 6f 72 20 74 68 | ....//.Host.matches,.look.for.th |
1297e0 | 65 20 63 6f 6f 6b 69 65 20 77 69 74 68 69 6e 20 74 68 69 73 20 48 6f 73 74 20 63 6f 6c 6c 65 63 | e.cookie.within.this.Host.collec |
129800 | 74 69 6f 6e 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 61 6e 64 20 75 70 64 61 74 65 20 69 74 73 | tion...........//.and.update.its |
129820 | 20 64 61 74 61 0a 20 20 20 20 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 6a 20 3d 20 30 3b 20 | .data...........for.(var.j.=.0;. |
129840 | 6a 20 3c 20 68 6f 73 74 49 74 65 6d 2e 63 6f 6f 6b 69 65 73 2e 6c 65 6e 67 74 68 3b 20 2b 2b 6a | j.<.hostItem.cookies.length;.++j |
129860 | 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 2b 2b 72 6f 77 49 6e 64 65 78 3b 0a 20 20 20 20 | ).{.............++rowIndex;..... |
129880 | 20 20 20 20 20 20 20 20 76 61 72 20 63 75 72 72 43 6f 6f 6b 69 65 20 3d 20 68 6f 73 74 49 74 65 | ........var.currCookie.=.hostIte |
1298a0 | 6d 2e 63 6f 6f 6b 69 65 73 5b 6a 5d 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 68 | m.cookies[j];.............if.(th |
1298c0 | 69 73 2e 5f 63 6f 6f 6b 69 65 45 71 75 61 6c 73 28 63 75 72 72 43 6f 6f 6b 69 65 2c 20 63 68 61 | is._cookieEquals(currCookie,.cha |
1298e0 | 6e 67 65 64 43 6f 6f 6b 69 65 2c 20 73 74 72 69 70 70 65 64 48 6f 73 74 29 29 20 7b 0a 20 20 20 | ngedCookie,.strippedHost)).{.... |
129900 | 20 20 20 20 20 20 20 20 20 20 20 63 75 72 72 43 6f 6f 6b 69 65 2e 76 61 6c 75 65 20 20 20 20 3d | ...........currCookie.value....= |
129920 | 20 63 68 61 6e 67 65 64 43 6f 6f 6b 69 65 2e 76 61 6c 75 65 3b 0a 20 20 20 20 20 20 20 20 20 20 | .changedCookie.value;........... |
129940 | 20 20 20 20 63 75 72 72 43 6f 6f 6b 69 65 2e 69 73 53 65 63 75 72 65 20 3d 20 63 68 61 6e 67 65 | ....currCookie.isSecure.=.change |
129960 | 64 43 6f 6f 6b 69 65 2e 69 73 53 65 63 75 72 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | dCookie.isSecure;............... |
129980 | 63 75 72 72 43 6f 6f 6b 69 65 2e 69 73 44 6f 6d 61 69 6e 20 3d 20 63 68 61 6e 67 65 64 43 6f 6f | currCookie.isDomain.=.changedCoo |
1299a0 | 6b 69 65 2e 69 73 44 6f 6d 61 69 6e 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 75 72 72 | kie.isDomain;...............curr |
1299c0 | 43 6f 6f 6b 69 65 2e 65 78 70 69 72 65 73 20 20 3d 20 63 68 61 6e 67 65 64 43 6f 6f 6b 69 65 2e | Cookie.expires..=.changedCookie. |
1299e0 | 65 78 70 69 72 65 73 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6f 6b 69 65 49 74 65 | expires;...............cookieIte |
129a00 | 6d 20 3d 20 63 75 72 72 43 6f 6f 6b 69 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 | m.=.currCookie;...............br |
129a20 | 65 61 6b 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 | eak;.............}...........}.. |
129a40 | 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 65 6c 73 65 20 69 66 20 28 68 6f 73 74 49 74 | .......}.........else.if.(hostIt |
129a60 | 65 6d 2e 6f 70 65 6e 29 0a 20 20 20 20 20 20 20 20 20 20 72 6f 77 49 6e 64 65 78 20 2b 3d 20 68 | em.open)...........rowIndex.+=.h |
129a80 | 6f 73 74 49 74 65 6d 2e 63 6f 6f 6b 69 65 73 2e 6c 65 6e 67 74 68 3b 0a 20 20 20 20 20 20 7d 0a | ostItem.cookies.length;.......}. |
129aa0 | 20 20 20 20 7d 0a 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 2f 2f 20 4a 75 73 74 20 77 | ....}.....else.{.......//.Just.w |
129ac0 | 61 6c 6b 20 74 68 65 20 66 69 6c 74 65 72 20 6c 69 73 74 20 74 6f 20 66 69 6e 64 20 74 68 65 20 | alk.the.filter.list.to.find.the. |
129ae0 | 69 74 65 6d 2e 20 49 74 20 64 6f 65 73 6e 27 74 20 6d 61 74 74 65 72 20 74 68 61 74 0a 20 20 20 | item..It.doesn't.matter.that.... |
129b00 | 20 20 20 2f 2f 20 77 65 20 64 6f 6e 27 74 20 75 70 64 61 74 65 20 74 68 65 20 6d 61 69 6e 20 48 | ...//.we.don't.update.the.main.H |
129b20 | 6f 73 74 20 63 6f 6c 6c 65 63 74 69 6f 6e 20 77 68 65 6e 20 77 65 20 64 6f 20 74 68 69 73 2c 20 | ost.collection.when.we.do.this,. |
129b40 | 62 65 63 61 75 73 65 0a 20 20 20 20 20 20 2f 2f 20 77 68 65 6e 20 74 68 65 20 66 69 6c 74 65 72 | because.......//.when.the.filter |
129b60 | 20 69 73 20 72 65 73 65 74 20 74 68 65 20 48 6f 73 74 20 63 6f 6c 6c 65 63 74 69 6f 6e 20 69 73 | .is.reset.the.Host.collection.is |
129b80 | 20 72 65 62 75 69 6c 74 20 61 6e 79 77 61 79 2e 0a 20 20 20 20 20 20 66 6f 72 20 28 72 6f 77 49 | .rebuilt.anyway........for.(rowI |
129ba0 | 6e 64 65 78 20 3d 20 30 3b 20 72 6f 77 49 6e 64 65 78 20 3c 20 74 68 69 73 2e 5f 76 69 65 77 2e | ndex.=.0;.rowIndex.<.this._view. |
129bc0 | 5f 66 69 6c 74 65 72 53 65 74 2e 6c 65 6e 67 74 68 3b 20 2b 2b 72 6f 77 49 6e 64 65 78 29 20 7b | _filterSet.length;.++rowIndex).{ |
129be0 | 0a 20 20 20 20 20 20 20 20 63 75 72 72 43 6f 6f 6b 69 65 20 3d 20 74 68 69 73 2e 5f 76 69 65 77 | .........currCookie.=.this._view |
129c00 | 2e 5f 66 69 6c 74 65 72 53 65 74 5b 72 6f 77 49 6e 64 65 78 5d 3b 0a 20 20 20 20 20 20 20 20 69 | ._filterSet[rowIndex];.........i |
129c20 | 66 20 28 74 68 69 73 2e 5f 63 6f 6f 6b 69 65 45 71 75 61 6c 73 28 63 75 72 72 43 6f 6f 6b 69 65 | f.(this._cookieEquals(currCookie |
129c40 | 2c 20 63 68 61 6e 67 65 64 43 6f 6f 6b 69 65 2c 20 73 74 72 69 70 70 65 64 48 6f 73 74 29 29 20 | ,.changedCookie,.strippedHost)). |
129c60 | 7b 0a 20 20 20 20 20 20 20 20 20 20 63 75 72 72 43 6f 6f 6b 69 65 2e 76 61 6c 75 65 20 20 20 20 | {...........currCookie.value.... |
129c80 | 3d 20 63 68 61 6e 67 65 64 43 6f 6f 6b 69 65 2e 76 61 6c 75 65 3b 0a 20 20 20 20 20 20 20 20 20 | =.changedCookie.value;.......... |
129ca0 | 20 63 75 72 72 43 6f 6f 6b 69 65 2e 69 73 53 65 63 75 72 65 20 3d 20 63 68 61 6e 67 65 64 43 6f | .currCookie.isSecure.=.changedCo |
129cc0 | 6f 6b 69 65 2e 69 73 53 65 63 75 72 65 3b 0a 20 20 20 20 20 20 20 20 20 20 63 75 72 72 43 6f 6f | okie.isSecure;...........currCoo |
129ce0 | 6b 69 65 2e 69 73 44 6f 6d 61 69 6e 20 3d 20 63 68 61 6e 67 65 64 43 6f 6f 6b 69 65 2e 69 73 44 | kie.isDomain.=.changedCookie.isD |
129d00 | 6f 6d 61 69 6e 3b 0a 20 20 20 20 20 20 20 20 20 20 63 75 72 72 43 6f 6f 6b 69 65 2e 65 78 70 69 | omain;...........currCookie.expi |
129d20 | 72 65 73 20 20 3d 20 63 68 61 6e 67 65 64 43 6f 6f 6b 69 65 2e 65 78 70 69 72 65 73 3b 0a 20 20 | res..=.changedCookie.expires;... |
129d40 | 20 20 20 20 20 20 20 20 63 6f 6f 6b 69 65 49 74 65 6d 20 3d 20 63 75 72 72 43 6f 6f 6b 69 65 3b | ........cookieItem.=.currCookie; |
129d60 | 0a 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 | ...........break;.........}..... |
129d80 | 20 20 7d 0a 20 20 20 20 7d 0a 20 20 20 20 0a 20 20 20 20 2f 2f 20 4d 61 6b 65 20 73 75 72 65 20 | ..}.....}..........//.Make.sure. |
129da0 | 74 68 65 20 74 72 65 65 20 64 69 73 70 6c 61 79 20 69 73 20 75 70 20 74 6f 20 64 61 74 65 2e 2e | the.tree.display.is.up.to.date.. |
129dc0 | 2e 0a 20 20 20 20 74 68 69 73 2e 5f 74 72 65 65 2e 74 72 65 65 42 6f 78 4f 62 6a 65 63 74 2e 69 | ......this._tree.treeBoxObject.i |
129de0 | 6e 76 61 6c 69 64 61 74 65 52 6f 77 28 72 6f 77 49 6e 64 65 78 29 3b 0a 20 20 20 20 2f 2f 20 2e | nvalidateRow(rowIndex);.....//.. |
129e00 | 2e 2e 20 61 6e 64 20 69 66 20 74 68 65 20 63 6f 6f 6b 69 65 20 69 73 20 73 65 6c 65 63 74 65 64 | ...and.if.the.cookie.is.selected |
129e20 | 2c 20 75 70 64 61 74 65 20 74 68 65 20 64 69 73 70 6c 61 79 65 64 20 6d 65 74 61 64 61 74 61 20 | ,.update.the.displayed.metadata. |
129e40 | 74 6f 6f 0a 20 20 20 20 69 66 20 28 63 6f 6f 6b 69 65 49 74 65 6d 20 21 3d 20 6e 75 6c 6c 20 26 | too.....if.(cookieItem.!=.null.& |
129e60 | 26 20 74 68 69 73 2e 5f 76 69 65 77 2e 73 65 6c 65 63 74 69 6f 6e 2e 63 75 72 72 65 6e 74 49 6e | &.this._view.selection.currentIn |
129e80 | 64 65 78 20 3d 3d 20 72 6f 77 49 6e 64 65 78 29 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 75 70 64 | dex.==.rowIndex).......this._upd |
129ea0 | 61 74 65 43 6f 6f 6b 69 65 44 61 74 61 28 63 6f 6f 6b 69 65 49 74 65 6d 29 3b 20 20 0a 20 20 7d | ateCookieData(cookieItem);.....} |
129ec0 | 2c 0a 20 20 0a 20 20 5f 68 61 6e 64 6c 65 43 6f 6f 6b 69 65 41 64 64 65 64 3a 20 66 75 6e 63 74 | ,......_handleCookieAdded:.funct |
129ee0 | 69 6f 6e 20 28 63 68 61 6e 67 65 64 43 6f 6f 6b 69 65 2c 20 73 74 72 69 70 70 65 64 48 6f 73 74 | ion.(changedCookie,.strippedHost |
129f00 | 29 0a 20 20 7b 0a 20 20 20 20 76 61 72 20 72 6f 77 43 6f 75 6e 74 49 6d 70 61 63 74 20 3d 20 30 | )...{.....var.rowCountImpact.=.0 |
129f20 | 3b 0a 20 20 20 20 76 61 72 20 61 64 64 65 64 48 6f 73 74 20 3d 20 7b 20 76 61 6c 75 65 3a 20 30 | ;.....var.addedHost.=.{.value:.0 |
129f40 | 20 7d 3b 0a 20 20 20 20 74 68 69 73 2e 5f 61 64 64 43 6f 6f 6b 69 65 28 73 74 72 69 70 70 65 64 | .};.....this._addCookie(stripped |
129f60 | 48 6f 73 74 2c 20 63 68 61 6e 67 65 64 43 6f 6f 6b 69 65 2c 20 61 64 64 65 64 48 6f 73 74 29 3b | Host,.changedCookie,.addedHost); |
129f80 | 0a 20 20 20 20 69 66 20 28 21 74 68 69 73 2e 5f 76 69 65 77 2e 5f 66 69 6c 74 65 72 65 64 29 20 | .....if.(!this._view._filtered). |
129fa0 | 7b 0a 20 20 20 20 20 20 2f 2f 20 54 68 65 20 48 6f 73 74 20 63 6f 6c 6c 65 63 74 69 6f 6e 20 66 | {.......//.The.Host.collection.f |
129fc0 | 6f 72 20 74 68 69 73 20 63 6f 6f 6b 69 65 20 61 6c 72 65 61 64 79 20 65 78 69 73 74 73 2c 20 61 | or.this.cookie.already.exists,.a |
129fe0 | 6e 64 20 69 74 27 73 20 6e 6f 74 20 6f 70 65 6e 2c 20 0a 20 20 20 20 20 20 2f 2f 20 73 6f 20 64 | nd.it's.not.open,........//.so.d |
12a000 | 6f 6e 27 74 20 69 6e 63 72 65 6d 65 6e 74 20 74 68 65 20 72 6f 77 43 6f 75 6e 74 49 6d 70 61 63 | on't.increment.the.rowCountImpac |
12a020 | 74 20 62 65 63 61 75 65 73 20 74 68 65 20 75 73 65 72 20 69 73 20 6e 6f 74 20 67 6f 69 6e 67 20 | t.becaues.the.user.is.not.going. |
12a040 | 74 6f 0a 20 20 20 20 20 20 2f 2f 20 73 65 65 20 74 68 65 20 61 64 64 69 74 69 6f 6e 61 6c 20 72 | to.......//.see.the.additional.r |
12a060 | 6f 77 73 20 61 73 20 74 68 65 79 27 72 65 20 68 69 64 64 65 6e 2e 20 0a 20 20 20 20 20 20 69 66 | ows.as.they're.hidden.........if |
12a080 | 20 28 61 64 64 65 64 48 6f 73 74 2e 76 61 6c 75 65 20 7c 7c 20 74 68 69 73 2e 5f 68 6f 73 74 73 | .(addedHost.value.||.this._hosts |
12a0a0 | 5b 73 74 72 69 70 70 65 64 48 6f 73 74 5d 2e 6f 70 65 6e 29 0a 20 20 20 20 20 20 20 20 2b 2b 72 | [strippedHost].open).........++r |
12a0c0 | 6f 77 43 6f 75 6e 74 49 6d 70 61 63 74 3b 0a 20 20 20 20 7d 0a 20 20 20 20 65 6c 73 65 20 7b 0a | owCountImpact;.....}.....else.{. |
12a0e0 | 20 20 20 20 20 20 2f 2f 20 57 65 27 72 65 20 69 6e 20 73 65 61 72 63 68 20 6d 6f 64 65 2c 20 61 | ......//.We're.in.search.mode,.a |
12a100 | 6e 64 20 74 68 65 20 63 6f 6f 6b 69 65 20 62 65 69 6e 67 20 61 64 64 65 64 20 6d 61 74 63 68 65 | nd.the.cookie.being.added.matche |
12a120 | 73 0a 20 20 20 20 20 20 2f 2f 20 74 68 65 20 73 65 61 72 63 68 20 63 6f 6e 64 69 74 69 6f 6e 2c | s.......//.the.search.condition, |
12a140 | 20 73 6f 20 61 64 64 20 69 74 20 74 6f 20 74 68 65 20 6c 69 73 74 2e 20 0a 20 20 20 20 20 20 76 | .so.add.it.to.the.list.........v |
12a160 | 61 72 20 63 20 3d 20 74 68 69 73 2e 5f 6d 61 6b 65 43 6f 6f 6b 69 65 4f 62 6a 65 63 74 28 73 74 | ar.c.=.this._makeCookieObject(st |
12a180 | 72 69 70 70 65 64 48 6f 73 74 2c 20 63 68 61 6e 67 65 64 43 6f 6f 6b 69 65 29 3b 0a 20 20 20 20 | rippedHost,.changedCookie);..... |
12a1a0 | 20 20 69 66 20 28 74 68 69 73 2e 5f 63 6f 6f 6b 69 65 4d 61 74 63 68 65 73 46 69 6c 74 65 72 28 | ..if.(this._cookieMatchesFilter( |
12a1c0 | 63 29 29 20 7b 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 76 69 65 77 2e 5f 66 69 6c 74 65 72 | c)).{.........this._view._filter |
12a1e0 | 53 65 74 2e 70 75 73 68 28 74 68 69 73 2e 5f 6d 61 6b 65 43 6f 6f 6b 69 65 4f 62 6a 65 63 74 28 | Set.push(this._makeCookieObject( |
12a200 | 73 74 72 69 70 70 65 64 48 6f 73 74 2c 20 63 68 61 6e 67 65 64 43 6f 6f 6b 69 65 29 29 3b 0a 20 | strippedHost,.changedCookie));.. |
12a220 | 20 20 20 20 20 20 20 2b 2b 72 6f 77 43 6f 75 6e 74 49 6d 70 61 63 74 3b 0a 20 20 20 20 20 20 7d | .......++rowCountImpact;.......} |
12a240 | 0a 20 20 20 20 7d 0a 20 20 20 20 2f 2f 20 4e 6f 77 20 75 70 64 61 74 65 20 74 68 65 20 74 72 65 | .....}.....//.Now.update.the.tre |
12a260 | 65 20 64 69 73 70 6c 61 79 20 61 74 20 74 68 65 20 65 6e 64 20 28 77 65 20 63 6f 75 6c 64 2f 73 | e.display.at.the.end.(we.could/s |
12a280 | 68 6f 75 6c 64 20 72 65 20 72 75 6e 20 74 68 65 20 73 6f 72 74 0a 20 20 20 20 2f 2f 20 69 66 20 | hould.re.run.the.sort.....//.if. |
12a2a0 | 61 6e 79 20 74 6f 20 67 65 74 20 74 68 65 20 70 6f 73 69 74 69 6f 6e 20 63 6f 72 72 65 63 74 2e | any.to.get.the.position.correct. |
12a2c0 | 29 0a 20 20 20 20 76 61 72 20 6f 6c 64 52 6f 77 43 6f 75 6e 74 20 3d 20 74 68 69 73 2e 5f 72 6f | ).....var.oldRowCount.=.this._ro |
12a2e0 | 77 43 6f 75 6e 74 3b 0a 20 20 20 20 74 68 69 73 2e 5f 76 69 65 77 2e 5f 72 6f 77 43 6f 75 6e 74 | wCount;.....this._view._rowCount |
12a300 | 20 2b 3d 20 72 6f 77 43 6f 75 6e 74 49 6d 70 61 63 74 3b 0a 20 20 20 20 74 68 69 73 2e 5f 74 72 | .+=.rowCountImpact;.....this._tr |
12a320 | 65 65 2e 74 72 65 65 42 6f 78 4f 62 6a 65 63 74 2e 72 6f 77 43 6f 75 6e 74 43 68 61 6e 67 65 64 | ee.treeBoxObject.rowCountChanged |
12a340 | 28 6f 6c 64 52 6f 77 43 6f 75 6e 74 20 2d 20 31 2c 20 72 6f 77 43 6f 75 6e 74 49 6d 70 61 63 74 | (oldRowCount.-.1,.rowCountImpact |
12a360 | 29 3b 0a 0a 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 | );......document.getElementById( |
12a380 | 22 72 65 6d 6f 76 65 41 6c 6c 43 6f 6f 6b 69 65 73 22 29 2e 64 69 73 61 62 6c 65 64 20 3d 20 74 | "removeAllCookies").disabled.=.t |
12a3a0 | 68 69 73 2e 5f 76 69 65 77 2e 5f 66 69 6c 74 65 72 65 64 3b 0a 20 20 7d 2c 0a 20 20 0a 20 20 5f | his._view._filtered;...},......_ |
12a3c0 | 76 69 65 77 3a 20 7b 0a 20 20 20 20 5f 66 69 6c 74 65 72 65 64 20 20 20 3a 20 66 61 6c 73 65 2c | view:.{....._filtered...:.false, |
12a3e0 | 0a 20 20 20 20 5f 66 69 6c 74 65 72 53 65 74 20 20 3a 20 5b 5d 2c 0a 20 20 20 20 5f 66 69 6c 74 | ....._filterSet..:.[],....._filt |
12a400 | 65 72 56 61 6c 75 65 3a 20 22 22 2c 0a 20 20 20 20 5f 72 6f 77 43 6f 75 6e 74 20 20 20 3a 20 30 | erValue:."",....._rowCount...:.0 |
12a420 | 2c 0a 20 20 20 20 5f 63 61 63 68 65 56 61 6c 69 64 20 3a 20 30 2c 0a 20 20 20 20 5f 63 61 63 68 | ,....._cacheValid.:.0,....._cach |
12a440 | 65 49 74 65 6d 73 20 3a 20 5b 5d 2c 0a 20 20 20 20 67 65 74 20 72 6f 77 43 6f 75 6e 74 28 29 20 | eItems.:.[],.....get.rowCount(). |
12a460 | 0a 20 20 20 20 7b 20 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 72 6f 77 43 6f | .....{........return.this._rowCo |
12a480 | 75 6e 74 3b 20 0a 20 20 20 20 7d 2c 0a 20 20 20 20 0a 20 20 20 20 5f 67 65 74 49 74 65 6d 41 74 | unt;......},.........._getItemAt |
12a4a0 | 49 6e 64 65 78 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 49 6e 64 65 78 29 0a 20 20 20 20 7b 0a 20 | Index:.function.(aIndex).....{.. |
12a4c0 | 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 66 69 6c 74 65 72 65 64 29 0a 20 20 20 20 20 20 20 | .....if.(this._filtered)........ |
12a4e0 | 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 66 69 6c 74 65 72 53 65 74 5b 61 49 6e 64 65 78 5d 3b | .return.this._filterSet[aIndex]; |
12a500 | 0a 0a 20 20 20 20 20 20 76 61 72 20 73 74 61 72 74 20 3d 20 30 3b 0a 20 20 20 20 20 20 76 61 72 | ........var.start.=.0;.......var |
12a520 | 20 63 6f 75 6e 74 20 3d 20 30 2c 20 68 6f 73 74 49 6e 64 65 78 20 3d 20 30 3b 0a 0a 20 20 20 20 | .count.=.0,.hostIndex.=.0;...... |
12a540 | 20 20 76 61 72 20 63 61 63 68 65 49 6e 64 65 78 20 3d 20 4d 61 74 68 2e 6d 69 6e 28 74 68 69 73 | ..var.cacheIndex.=.Math.min(this |
12a560 | 2e 5f 63 61 63 68 65 56 61 6c 69 64 2c 20 61 49 6e 64 65 78 29 3b 0a 20 20 20 20 20 20 69 66 20 | ._cacheValid,.aIndex);.......if. |
12a580 | 28 63 61 63 68 65 49 6e 64 65 78 20 3e 20 30 29 20 7b 0a 20 20 20 20 20 20 20 20 76 61 72 20 63 | (cacheIndex.>.0).{.........var.c |
12a5a0 | 61 63 68 65 49 74 65 6d 20 3d 20 74 68 69 73 2e 5f 63 61 63 68 65 49 74 65 6d 73 5b 63 61 63 68 | acheItem.=.this._cacheItems[cach |
12a5c0 | 65 49 6e 64 65 78 5d 3b 0a 20 20 20 20 20 20 20 20 73 74 61 72 74 20 3d 20 63 61 63 68 65 49 74 | eIndex];.........start.=.cacheIt |
12a5e0 | 65 6d 5b 27 73 74 61 72 74 27 5d 3b 0a 20 20 20 20 20 20 20 20 63 6f 75 6e 74 20 3d 20 68 6f 73 | em['start'];.........count.=.hos |
12a600 | 74 49 6e 64 65 78 20 3d 20 63 61 63 68 65 49 74 65 6d 5b 27 63 6f 75 6e 74 27 5d 3b 0a 20 20 20 | tIndex.=.cacheItem['count'];.... |
12a620 | 20 20 20 7d 0a 0a 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 73 74 61 72 74 3b 20 | ...}........for.(var.i.=.start;. |
12a640 | 69 20 3c 20 67 43 6f 6f 6b 69 65 73 57 69 6e 64 6f 77 2e 5f 68 6f 73 74 4f 72 64 65 72 2e 6c 65 | i.<.gCookiesWindow._hostOrder.le |
12a660 | 6e 67 74 68 3b 20 2b 2b 69 29 20 7b 20 2f 2f 20 76 61 72 20 68 6f 73 74 20 69 6e 20 67 43 6f 6f | ngth;.++i).{.//.var.host.in.gCoo |
12a680 | 6b 69 65 73 57 69 6e 64 6f 77 2e 5f 68 6f 73 74 73 29 20 7b 0a 20 20 20 20 20 20 20 20 76 61 72 | kiesWindow._hosts).{.........var |
12a6a0 | 20 63 75 72 72 48 6f 73 74 20 3d 20 67 43 6f 6f 6b 69 65 73 57 69 6e 64 6f 77 2e 5f 68 6f 73 74 | .currHost.=.gCookiesWindow._host |
12a6c0 | 73 5b 67 43 6f 6f 6b 69 65 73 57 69 6e 64 6f 77 2e 5f 68 6f 73 74 4f 72 64 65 72 5b 69 5d 5d 3b | s[gCookiesWindow._hostOrder[i]]; |
12a6e0 | 20 2f 2f 20 67 43 6f 6f 6b 69 65 73 57 69 6e 64 6f 77 2e 5f 68 6f 73 74 73 5b 68 6f 73 74 5d 3b | .//.gCookiesWindow._hosts[host]; |
12a700 | 0a 20 20 20 20 20 20 20 20 69 66 20 28 21 63 75 72 72 48 6f 73 74 29 20 63 6f 6e 74 69 6e 75 65 | .........if.(!currHost).continue |
12a720 | 3b 0a 20 20 20 20 20 20 20 20 69 66 20 28 63 6f 75 6e 74 20 3d 3d 20 61 49 6e 64 65 78 29 0a 20 | ;.........if.(count.==.aIndex).. |
12a740 | 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 63 75 72 72 48 6f 73 74 3b 0a 20 20 20 20 20 20 | .........return.currHost;....... |
12a760 | 20 20 68 6f 73 74 49 6e 64 65 78 20 3d 20 63 6f 75 6e 74 3b 0a 0a 20 20 20 20 20 20 20 20 76 61 | ..hostIndex.=.count;..........va |
12a780 | 72 20 63 61 63 68 65 45 6e 74 72 79 20 3d 20 7b 20 27 73 74 61 72 74 27 20 3a 20 69 2c 20 27 63 | r.cacheEntry.=.{.'start'.:.i,.'c |
12a7a0 | 6f 75 6e 74 27 20 3a 20 63 6f 75 6e 74 20 7d 3b 0a 20 20 20 20 20 20 20 20 76 61 72 20 63 61 63 | ount'.:.count.};.........var.cac |
12a7c0 | 68 65 53 74 61 72 74 20 3d 20 63 6f 75 6e 74 3b 0a 0a 20 20 20 20 20 20 20 20 69 66 20 28 63 75 | heStart.=.count;..........if.(cu |
12a7e0 | 72 72 48 6f 73 74 2e 6f 70 65 6e 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 63 6f 75 | rrHost.open).{...........if.(cou |
12a800 | 6e 74 20 3c 20 61 49 6e 64 65 78 20 26 26 20 61 49 6e 64 65 78 20 3c 3d 20 28 63 6f 75 6e 74 20 | nt.<.aIndex.&&.aIndex.<=.(count. |
12a820 | 2b 20 63 75 72 72 48 6f 73 74 2e 63 6f 6f 6b 69 65 73 2e 6c 65 6e 67 74 68 29 29 20 7b 0a 20 20 | +.currHost.cookies.length)).{... |
12a840 | 20 20 20 20 20 20 20 20 20 20 2f 2f 20 57 65 20 61 72 65 20 6c 6f 6f 6b 69 6e 67 20 66 6f 72 20 | ..........//.We.are.looking.for. |
12a860 | 61 6e 20 65 6e 74 72 79 20 77 69 74 68 69 6e 20 74 68 69 73 20 68 6f 73 74 27 73 20 63 68 69 6c | an.entry.within.this.host's.chil |
12a880 | 64 72 65 6e 2c 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 65 6e 75 6d 65 72 61 74 65 20 | dren,..............//.enumerate. |
12a8a0 | 74 68 65 6d 20 6c 6f 6f 6b 69 6e 67 20 66 6f 72 20 74 68 65 20 69 6e 64 65 78 2e 20 0a 20 20 20 | them.looking.for.the.index...... |
12a8c0 | 20 20 20 20 20 20 20 20 20 2b 2b 63 6f 75 6e 74 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 66 6f | .........++count;.............fo |
12a8e0 | 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 63 75 72 72 48 6f 73 74 2e 63 6f 6f 6b 69 | r.(var.i.=.0;.i.<.currHost.cooki |
12a900 | 65 73 2e 6c 65 6e 67 74 68 3b 20 2b 2b 69 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | es.length;.++i).{............... |
12a920 | 69 66 20 28 63 6f 75 6e 74 20 3d 3d 20 61 49 6e 64 65 78 29 20 7b 0a 20 20 20 20 20 20 20 20 20 | if.(count.==.aIndex).{.......... |
12a940 | 20 20 20 20 20 20 20 76 61 72 20 63 6f 6f 6b 69 65 20 3d 20 63 75 72 72 48 6f 73 74 2e 63 6f 6f | .......var.cookie.=.currHost.coo |
12a960 | 6b 69 65 73 5b 69 5d 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6f 6b 69 65 2e | kies[i];.................cookie. |
12a980 | 70 61 72 65 6e 74 49 6e 64 65 78 20 3d 20 68 6f 73 74 49 6e 64 65 78 3b 0a 20 20 20 20 20 20 20 | parentIndex.=.hostIndex;........ |
12a9a0 | 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 63 6f 6f 6b 69 65 3b 0a 20 20 20 20 20 20 20 20 | .........return.cookie;......... |
12a9c0 | 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2b 2b 63 6f 75 6e 74 3b 0a 20 | ......}...............++count;.. |
12a9e0 | 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 | ...........}...........}........ |
12aa00 | 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 41 20 68 6f 73 74 20 | ...else.{.............//.A.host. |
12aa20 | 65 6e 74 72 79 20 77 61 73 20 6f 70 65 6e 2c 20 62 75 74 20 77 65 20 77 65 72 65 6e 27 74 20 6c | entry.was.open,.but.we.weren't.l |
12aa40 | 6f 6f 6b 69 6e 67 20 66 6f 72 20 61 6e 20 69 6e 64 65 78 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ooking.for.an.index............. |
12aa60 | 2f 2f 20 77 69 74 68 69 6e 20 74 68 61 74 20 68 6f 73 74 20 65 6e 74 72 79 27 73 20 63 68 69 6c | //.within.that.host.entry's.chil |
12aa80 | 64 72 65 6e 2c 20 73 6f 20 73 6b 69 70 20 66 6f 72 77 61 72 64 20 6f 76 65 72 20 74 68 65 0a 20 | dren,.so.skip.forward.over.the.. |
12aaa0 | 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 65 6e 74 72 79 27 73 20 63 68 69 6c 64 72 65 6e 2e 20 | ...........//.entry's.children.. |
12aac0 | 57 65 20 6e 65 65 64 20 74 6f 20 61 64 64 20 6f 6e 65 20 74 6f 20 69 6e 63 72 65 6d 65 6e 74 20 | We.need.to.add.one.to.increment. |
12aae0 | 66 6f 72 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 68 6f 73 74 20 76 61 6c 75 | for.the.............//.host.valu |
12ab00 | 65 20 74 6f 6f 2e 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 75 6e 74 20 2b 3d 20 63 75 72 | e.too...............count.+=.cur |
12ab20 | 72 48 6f 73 74 2e 63 6f 6f 6b 69 65 73 2e 6c 65 6e 67 74 68 20 2b 20 31 3b 0a 20 20 20 20 20 20 | rHost.cookies.length.+.1;....... |
12ab40 | 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 65 6c 73 65 0a 20 20 20 | ....}.........}.........else.... |
12ab60 | 20 20 20 20 20 20 20 2b 2b 63 6f 75 6e 74 3b 0a 0a 20 20 20 20 20 20 20 20 66 6f 72 20 28 76 61 | .......++count;..........for.(va |
12ab80 | 72 20 6a 20 3d 20 63 61 63 68 65 53 74 61 72 74 3b 20 6a 20 3c 20 63 6f 75 6e 74 3b 20 6a 2b 2b | r.j.=.cacheStart;.j.<.count;.j++ |
12aba0 | 29 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 63 61 63 68 65 49 74 65 6d 73 5b 6a 5d 20 | )...........this._cacheItems[j]. |
12abc0 | 3d 20 63 61 63 68 65 45 6e 74 72 79 3b 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 63 61 63 68 | =.cacheEntry;.........this._cach |
12abe0 | 65 56 61 6c 69 64 20 3d 20 63 6f 75 6e 74 20 2d 20 31 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 | eValid.=.count.-.1;.......}..... |
12ac00 | 20 20 72 65 74 75 72 6e 20 6e 75 6c 6c 3b 0a 20 20 20 20 7d 2c 0a 0a 20 20 20 20 5f 72 65 6d 6f | ..return.null;.....},......_remo |
12ac20 | 76 65 49 74 65 6d 41 74 49 6e 64 65 78 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 49 6e 64 65 78 2c | veItemAtIndex:.function.(aIndex, |
12ac40 | 20 61 43 6f 75 6e 74 29 0a 20 20 20 20 7b 0a 20 20 20 20 20 20 76 61 72 20 72 65 6d 6f 76 65 43 | .aCount).....{.......var.removeC |
12ac60 | 6f 75 6e 74 20 3d 20 61 43 6f 75 6e 74 20 3d 3d 3d 20 75 6e 64 65 66 69 6e 65 64 20 3f 20 31 20 | ount.=.aCount.===.undefined.?.1. |
12ac80 | 3a 20 61 43 6f 75 6e 74 3b 0a 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 66 69 6c 74 65 72 | :.aCount;.......if.(this._filter |
12aca0 | 65 64 29 20 7b 0a 20 20 20 20 20 20 20 20 2f 2f 20 72 65 6d 6f 76 65 20 74 68 65 20 63 6f 6f 6b | ed).{.........//.remove.the.cook |
12acc0 | 69 65 73 20 66 72 6f 6d 20 74 68 65 20 75 6e 66 69 6c 74 65 72 65 64 20 73 65 74 20 73 6f 20 74 | ies.from.the.unfiltered.set.so.t |
12ace0 | 68 61 74 20 74 68 65 79 0a 20 20 20 20 20 20 20 20 2f 2f 20 64 6f 6e 27 74 20 72 65 61 70 70 65 | hat.they.........//.don't.reappe |
12ad00 | 61 72 20 77 68 65 6e 20 74 68 65 20 66 69 6c 74 65 72 20 69 73 20 63 68 61 6e 67 65 64 2e 20 53 | ar.when.the.filter.is.changed..S |
12ad20 | 65 65 20 62 75 67 20 34 31 30 38 36 33 2e 0a 20 20 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 | ee.bug.410863..........for.(var. |
12ad40 | 69 20 3d 20 61 49 6e 64 65 78 3b 20 69 20 3c 20 61 49 6e 64 65 78 20 2b 20 72 65 6d 6f 76 65 43 | i.=.aIndex;.i.<.aIndex.+.removeC |
12ad60 | 6f 75 6e 74 3b 20 2b 2b 69 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 69 74 65 6d 20 | ount;.++i).{...........var.item. |
12ad80 | 3d 20 74 68 69 73 2e 5f 66 69 6c 74 65 72 53 65 74 5b 69 5d 3b 0a 20 20 20 20 20 20 20 20 20 20 | =.this._filterSet[i];........... |
12ada0 | 76 61 72 20 70 61 72 65 6e 74 20 3d 20 67 43 6f 6f 6b 69 65 73 57 69 6e 64 6f 77 2e 5f 68 6f 73 | var.parent.=.gCookiesWindow._hos |
12adc0 | 74 73 5b 69 74 65 6d 2e 72 61 77 48 6f 73 74 5d 3b 0a 20 20 20 20 20 20 20 20 20 20 66 6f 72 20 | ts[item.rawHost];...........for. |
12ade0 | 28 76 61 72 20 6a 20 3d 20 30 3b 20 6a 20 3c 20 70 61 72 65 6e 74 2e 63 6f 6f 6b 69 65 73 2e 6c | (var.j.=.0;.j.<.parent.cookies.l |
12ae00 | 65 6e 67 74 68 3b 20 2b 2b 6a 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 69 74 | ength;.++j).{.............if.(it |
12ae20 | 65 6d 20 3d 3d 20 70 61 72 65 6e 74 2e 63 6f 6f 6b 69 65 73 5b 6a 5d 29 20 7b 0a 20 20 20 20 20 | em.==.parent.cookies[j]).{...... |
12ae40 | 20 20 20 20 20 20 20 20 20 70 61 72 65 6e 74 2e 63 6f 6f 6b 69 65 73 2e 73 70 6c 69 63 65 28 6a | .........parent.cookies.splice(j |
12ae60 | 2c 20 31 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 | ,.1);...............break;...... |
12ae80 | 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 7d 0a 20 | .......}...........}.........}.. |
12aea0 | 20 20 20 20 20 20 20 74 68 69 73 2e 5f 66 69 6c 74 65 72 53 65 74 2e 73 70 6c 69 63 65 28 61 49 | .......this._filterSet.splice(aI |
12aec0 | 6e 64 65 78 2c 20 72 65 6d 6f 76 65 43 6f 75 6e 74 29 3b 0a 20 20 20 20 20 20 20 20 72 65 74 75 | ndex,.removeCount);.........retu |
12aee0 | 72 6e 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 0a 20 20 20 20 20 20 76 61 72 20 69 74 65 | rn;.......}..............var.ite |
12af00 | 6d 20 3d 20 74 68 69 73 2e 5f 67 65 74 49 74 65 6d 41 74 49 6e 64 65 78 28 61 49 6e 64 65 78 29 | m.=.this._getItemAtIndex(aIndex) |
12af20 | 3b 0a 20 20 20 20 20 20 69 66 20 28 21 69 74 65 6d 29 20 72 65 74 75 72 6e 3b 0a 20 20 20 20 20 | ;.......if.(!item).return;...... |
12af40 | 20 74 68 69 73 2e 5f 69 6e 76 61 6c 69 64 61 74 65 43 61 63 68 65 28 61 49 6e 64 65 78 20 2d 20 | .this._invalidateCache(aIndex.-. |
12af60 | 31 29 3b 0a 20 20 20 20 20 20 69 66 20 28 69 74 65 6d 2e 63 6f 6e 74 61 69 6e 65 72 29 0a 20 20 | 1);.......if.(item.container)... |
12af80 | 20 20 20 20 20 20 67 43 6f 6f 6b 69 65 73 57 69 6e 64 6f 77 2e 5f 68 6f 73 74 73 5b 69 74 65 6d | ......gCookiesWindow._hosts[item |
12afa0 | 2e 72 61 77 48 6f 73 74 5d 20 3d 20 6e 75 6c 6c 3b 0a 20 20 20 20 20 20 65 6c 73 65 20 7b 0a 20 | .rawHost].=.null;.......else.{.. |
12afc0 | 20 20 20 20 20 20 20 76 61 72 20 70 61 72 65 6e 74 20 3d 20 74 68 69 73 2e 5f 67 65 74 49 74 65 | .......var.parent.=.this._getIte |
12afe0 | 6d 41 74 49 6e 64 65 78 28 69 74 65 6d 2e 70 61 72 65 6e 74 49 6e 64 65 78 29 3b 0a 20 20 20 20 | mAtIndex(item.parentIndex);..... |
12b000 | 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 70 61 72 65 6e 74 2e 63 | ....for.(var.i.=.0;.i.<.parent.c |
12b020 | 6f 6f 6b 69 65 73 2e 6c 65 6e 67 74 68 3b 20 2b 2b 69 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 | ookies.length;.++i).{........... |
12b040 | 76 61 72 20 63 6f 6f 6b 69 65 20 3d 20 70 61 72 65 6e 74 2e 63 6f 6f 6b 69 65 73 5b 69 5d 3b 0a | var.cookie.=.parent.cookies[i];. |
12b060 | 20 20 20 20 20 20 20 20 20 20 69 66 20 28 69 74 65 6d 2e 72 61 77 48 6f 73 74 20 3d 3d 20 63 6f | ..........if.(item.rawHost.==.co |
12b080 | 6f 6b 69 65 2e 72 61 77 48 6f 73 74 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 74 | okie.rawHost.&&...............it |
12b0a0 | 65 6d 2e 6e 61 6d 65 20 3d 3d 20 63 6f 6f 6b 69 65 2e 6e 61 6d 65 20 26 26 20 69 74 65 6d 2e 70 | em.name.==.cookie.name.&&.item.p |
12b0c0 | 61 74 68 20 3d 3d 20 63 6f 6f 6b 69 65 2e 70 61 74 68 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ath.==.cookie.path)............. |
12b0e0 | 70 61 72 65 6e 74 2e 63 6f 6f 6b 69 65 73 2e 73 70 6c 69 63 65 28 69 2c 20 72 65 6d 6f 76 65 43 | parent.cookies.splice(i,.removeC |
12b100 | 6f 75 6e 74 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 2c 0a | ount);.........}.......}.....},. |
12b120 | 0a 20 20 20 20 5f 69 6e 76 61 6c 69 64 61 74 65 43 61 63 68 65 3a 20 66 75 6e 63 74 69 6f 6e 20 | ....._invalidateCache:.function. |
12b140 | 28 61 49 6e 64 65 78 29 0a 20 20 20 20 7b 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 63 61 63 68 65 | (aIndex).....{.......this._cache |
12b160 | 56 61 6c 69 64 20 3d 20 4d 61 74 68 2e 6d 69 6e 28 74 68 69 73 2e 5f 63 61 63 68 65 56 61 6c 69 | Valid.=.Math.min(this._cacheVali |
12b180 | 64 2c 20 61 49 6e 64 65 78 29 3b 0a 20 20 20 20 7d 2c 0a 20 20 20 20 0a 20 20 20 20 67 65 74 43 | d,.aIndex);.....},..........getC |
12b1a0 | 65 6c 6c 54 65 78 74 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 49 6e 64 65 78 2c 20 61 43 6f 6c 75 | ellText:.function.(aIndex,.aColu |
12b1c0 | 6d 6e 29 0a 20 20 20 20 7b 0a 20 20 20 20 20 20 69 66 20 28 21 74 68 69 73 2e 5f 66 69 6c 74 65 | mn).....{.......if.(!this._filte |
12b1e0 | 72 65 64 29 20 7b 0a 20 20 20 20 20 20 20 20 76 61 72 20 69 74 65 6d 20 3d 20 74 68 69 73 2e 5f | red).{.........var.item.=.this._ |
12b200 | 67 65 74 49 74 65 6d 41 74 49 6e 64 65 78 28 61 49 6e 64 65 78 29 3b 0a 20 20 20 20 20 20 20 20 | getItemAtIndex(aIndex);......... |
12b220 | 69 66 20 28 21 69 74 65 6d 29 20 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 22 22 3b | if.(!item)............return.""; |
12b240 | 0a 20 20 20 20 20 20 20 20 69 66 20 28 61 43 6f 6c 75 6d 6e 2e 69 64 20 3d 3d 20 22 64 6f 6d 61 | .........if.(aColumn.id.==."doma |
12b260 | 69 6e 43 6f 6c 22 29 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 69 74 65 6d 2e 72 61 | inCol")...........return.item.ra |
12b280 | 77 48 6f 73 74 3b 0a 20 20 20 20 20 20 20 20 65 6c 73 65 20 69 66 20 28 61 43 6f 6c 75 6d 6e 2e | wHost;.........else.if.(aColumn. |
12b2a0 | 69 64 20 3d 3d 20 22 6e 61 6d 65 43 6f 6c 22 29 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 | id.==."nameCol")...........retur |
12b2c0 | 6e 20 69 74 65 6d 2e 6e 61 6d 65 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 65 6c 73 65 20 | n.item.name;.......}.......else. |
12b2e0 | 7b 0a 20 20 20 20 20 20 20 20 69 66 20 28 61 43 6f 6c 75 6d 6e 2e 69 64 20 3d 3d 20 22 64 6f 6d | {.........if.(aColumn.id.==."dom |
12b300 | 61 69 6e 43 6f 6c 22 29 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f | ainCol")...........return.this._ |
12b320 | 66 69 6c 74 65 72 53 65 74 5b 61 49 6e 64 65 78 5d 2e 72 61 77 48 6f 73 74 3b 0a 20 20 20 20 20 | filterSet[aIndex].rawHost;...... |
12b340 | 20 20 20 65 6c 73 65 20 69 66 20 28 61 43 6f 6c 75 6d 6e 2e 69 64 20 3d 3d 20 22 6e 61 6d 65 43 | ...else.if.(aColumn.id.==."nameC |
12b360 | 6f 6c 22 29 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 66 69 6c 74 | ol")...........return.this._filt |
12b380 | 65 72 53 65 74 5b 61 49 6e 64 65 78 5d 2e 6e 61 6d 65 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 | erSet[aIndex].name;.......}..... |
12b3a0 | 20 20 72 65 74 75 72 6e 20 22 22 3b 0a 20 20 20 20 7d 2c 0a 0a 20 20 20 20 5f 73 65 6c 65 63 74 | ..return."";.....},......_select |
12b3c0 | 69 6f 6e 3a 20 6e 75 6c 6c 2c 20 0a 20 20 20 20 67 65 74 20 73 65 6c 65 63 74 69 6f 6e 20 28 29 | ion:.null,......get.selection.() |
12b3e0 | 20 7b 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 73 65 6c 65 63 74 69 6f 6e 3b 20 7d 2c 0a 20 20 | .{.return.this._selection;.},... |
12b400 | 20 20 73 65 74 20 73 65 6c 65 63 74 69 6f 6e 20 28 76 61 6c 29 20 7b 20 74 68 69 73 2e 5f 73 65 | ..set.selection.(val).{.this._se |
12b420 | 6c 65 63 74 69 6f 6e 20 3d 20 76 61 6c 3b 20 72 65 74 75 72 6e 20 76 61 6c 3b 20 7d 2c 0a 20 20 | lection.=.val;.return.val;.},... |
12b440 | 20 20 67 65 74 52 6f 77 50 72 6f 70 65 72 74 69 65 73 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 49 | ..getRowProperties:.function.(aI |
12b460 | 6e 64 65 78 2c 20 61 50 72 6f 70 65 72 74 69 65 73 29 20 7b 7d 2c 0a 20 20 20 20 67 65 74 43 65 | ndex,.aProperties).{},.....getCe |
12b480 | 6c 6c 50 72 6f 70 65 72 74 69 65 73 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 49 6e 64 65 78 2c 20 | llProperties:.function.(aIndex,. |
12b4a0 | 61 43 6f 6c 75 6d 6e 2c 20 61 50 72 6f 70 65 72 74 69 65 73 29 20 7b 7d 2c 0a 20 20 20 20 67 65 | aColumn,.aProperties).{},.....ge |
12b4c0 | 74 43 6f 6c 75 6d 6e 50 72 6f 70 65 72 74 69 65 73 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 43 6f | tColumnProperties:.function.(aCo |
12b4e0 | 6c 75 6d 6e 2c 20 61 50 72 6f 70 65 72 74 69 65 73 29 20 7b 7d 2c 0a 20 20 20 20 69 73 43 6f 6e | lumn,.aProperties).{},.....isCon |
12b500 | 74 61 69 6e 65 72 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 49 6e 64 65 78 29 0a 20 20 20 20 7b 0a | tainer:.function.(aIndex).....{. |
12b520 | 20 20 20 20 20 20 69 66 20 28 21 74 68 69 73 2e 5f 66 69 6c 74 65 72 65 64 29 20 7b 0a 20 20 20 | ......if.(!this._filtered).{.... |
12b540 | 20 20 20 20 20 76 61 72 20 69 74 65 6d 20 3d 20 74 68 69 73 2e 5f 67 65 74 49 74 65 6d 41 74 49 | .....var.item.=.this._getItemAtI |
12b560 | 6e 64 65 78 28 61 49 6e 64 65 78 29 3b 0a 20 20 20 20 20 20 20 20 69 66 20 28 21 69 74 65 6d 29 | ndex(aIndex);.........if.(!item) |
12b580 | 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 69 74 | .return.false;.........return.it |
12b5a0 | 65 6d 2e 63 6f 6e 74 61 69 6e 65 72 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 72 65 74 75 | em.container;.......}.......retu |
12b5c0 | 72 6e 20 66 61 6c 73 65 3b 0a 20 20 20 20 7d 2c 0a 20 20 20 20 69 73 43 6f 6e 74 61 69 6e 65 72 | rn.false;.....},.....isContainer |
12b5e0 | 4f 70 65 6e 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 49 6e 64 65 78 29 20 0a 20 20 20 20 7b 20 0a | Open:.function.(aIndex)......{.. |
12b600 | 20 20 20 20 20 20 69 66 20 28 21 74 68 69 73 2e 5f 66 69 6c 74 65 72 65 64 29 20 7b 0a 20 20 20 | ......if.(!this._filtered).{.... |
12b620 | 20 20 20 20 20 76 61 72 20 69 74 65 6d 20 3d 20 74 68 69 73 2e 5f 67 65 74 49 74 65 6d 41 74 49 | .....var.item.=.this._getItemAtI |
12b640 | 6e 64 65 78 28 61 49 6e 64 65 78 29 3b 0a 20 20 20 20 20 20 20 20 69 66 20 28 21 69 74 65 6d 29 | ndex(aIndex);.........if.(!item) |
12b660 | 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 69 74 | .return.false;.........return.it |
12b680 | 65 6d 2e 6f 70 65 6e 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 66 61 | em.open;.......}.......return.fa |
12b6a0 | 6c 73 65 3b 0a 20 20 20 20 7d 2c 0a 20 20 20 20 69 73 43 6f 6e 74 61 69 6e 65 72 45 6d 70 74 79 | lse;.....},.....isContainerEmpty |
12b6c0 | 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 49 6e 64 65 78 29 20 0a 20 20 20 20 7b 20 0a 20 20 20 20 | :.function.(aIndex)......{...... |
12b6e0 | 20 20 69 66 20 28 21 74 68 69 73 2e 5f 66 69 6c 74 65 72 65 64 29 20 7b 0a 20 20 20 20 20 20 20 | ..if.(!this._filtered).{........ |
12b700 | 20 76 61 72 20 69 74 65 6d 20 3d 20 74 68 69 73 2e 5f 67 65 74 49 74 65 6d 41 74 49 6e 64 65 78 | .var.item.=.this._getItemAtIndex |
12b720 | 28 61 49 6e 64 65 78 29 3b 0a 20 20 20 20 20 20 20 20 69 66 20 28 21 69 74 65 6d 29 20 72 65 74 | (aIndex);.........if.(!item).ret |
12b740 | 75 72 6e 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 69 74 65 6d 2e 63 | urn.false;.........return.item.c |
12b760 | 6f 6f 6b 69 65 73 2e 6c 65 6e 67 74 68 20 3d 3d 20 30 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 | ookies.length.==.0;.......}..... |
12b780 | 20 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 0a 20 20 20 20 7d 2c 0a 20 20 20 20 69 73 53 65 70 | ..return.false;.....},.....isSep |
12b7a0 | 61 72 61 74 6f 72 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 49 6e 64 65 78 29 20 7b 20 72 65 74 75 | arator:.function.(aIndex).{.retu |
12b7c0 | 72 6e 20 66 61 6c 73 65 3b 20 7d 2c 20 20 20 20 0a 20 20 20 20 69 73 53 6f 72 74 65 64 3a 20 66 | rn.false;.},.........isSorted:.f |
12b7e0 | 75 6e 63 74 69 6f 6e 20 28 61 49 6e 64 65 78 29 20 7b 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b | unction.(aIndex).{.return.false; |
12b800 | 20 7d 2c 20 20 20 20 0a 20 20 20 20 63 61 6e 44 72 6f 70 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 | .},.........canDrop:.function.(a |
12b820 | 49 6e 64 65 78 2c 20 61 4f 72 69 65 6e 74 61 74 69 6f 6e 29 20 7b 20 72 65 74 75 72 6e 20 66 61 | Index,.aOrientation).{.return.fa |
12b840 | 6c 73 65 3b 20 7d 2c 20 20 20 20 0a 20 20 20 20 64 72 6f 70 3a 20 66 75 6e 63 74 69 6f 6e 20 28 | lse;.},.........drop:.function.( |
12b860 | 61 49 6e 64 65 78 2c 20 61 4f 72 69 65 6e 74 61 74 69 6f 6e 29 20 7b 7d 2c 20 20 20 20 0a 20 20 | aIndex,.aOrientation).{},....... |
12b880 | 20 20 67 65 74 50 61 72 65 6e 74 49 6e 64 65 78 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 49 6e 64 | ..getParentIndex:.function.(aInd |
12b8a0 | 65 78 29 20 0a 20 20 20 20 7b 0a 20 20 20 20 20 20 69 66 20 28 21 74 68 69 73 2e 5f 66 69 6c 74 | ex)......{.......if.(!this._filt |
12b8c0 | 65 72 65 64 29 20 7b 0a 20 20 20 20 20 20 20 20 76 61 72 20 69 74 65 6d 20 3d 20 74 68 69 73 2e | ered).{.........var.item.=.this. |
12b8e0 | 5f 67 65 74 49 74 65 6d 41 74 49 6e 64 65 78 28 61 49 6e 64 65 78 29 3b 0a 20 20 20 20 20 20 20 | _getItemAtIndex(aIndex);........ |
12b900 | 20 2f 2f 20 49 66 20 61 6e 20 69 74 65 6d 20 68 61 73 20 6e 6f 20 70 61 72 65 6e 74 20 69 6e 64 | .//.If.an.item.has.no.parent.ind |
12b920 | 65 78 20 28 69 2e 65 2e 20 69 74 20 69 73 20 61 74 20 74 68 65 20 74 6f 70 20 6c 65 76 65 6c 29 | ex.(i.e..it.is.at.the.top.level) |
12b940 | 20 74 68 69 73 20 0a 20 20 20 20 20 20 20 20 2f 2f 20 66 75 6e 63 74 69 6f 6e 20 4d 55 53 54 20 | .this..........//.function.MUST. |
12b960 | 72 65 74 75 72 6e 20 2d 31 20 6f 74 68 65 72 77 69 73 65 20 77 65 20 77 69 6c 6c 20 67 6f 20 69 | return.-1.otherwise.we.will.go.i |
12b980 | 6e 74 6f 20 61 6e 20 69 6e 66 69 6e 69 74 65 20 6c 6f 6f 70 2e 20 0a 20 20 20 20 20 20 20 20 2f | nto.an.infinite.loop.........../ |
12b9a0 | 2f 20 43 6f 6e 74 61 69 6e 65 72 73 20 61 72 65 20 61 6c 77 61 79 73 20 74 6f 70 20 6c 65 76 65 | /.Containers.are.always.top.leve |
12b9c0 | 6c 20 69 74 65 6d 73 20 69 6e 20 74 68 65 20 63 6f 6f 6b 69 65 73 20 74 72 65 65 2c 20 73 6f 20 | l.items.in.the.cookies.tree,.so. |
12b9e0 | 6d 61 6b 65 20 0a 20 20 20 20 20 20 20 20 2f 2f 20 73 75 72 65 20 74 6f 20 72 65 74 75 72 6e 20 | make..........//.sure.to.return. |
12ba00 | 74 68 65 20 61 70 70 72 6f 70 72 69 61 74 65 20 76 61 6c 75 65 20 68 65 72 65 2e 20 20 20 20 20 | the.appropriate.value.here...... |
12ba20 | 20 20 20 0a 20 20 20 20 20 20 20 20 69 66 20 28 21 69 74 65 6d 20 7c 7c 20 69 74 65 6d 2e 63 6f | ............if.(!item.||.item.co |
12ba40 | 6e 74 61 69 6e 65 72 29 20 72 65 74 75 72 6e 20 2d 31 3b 0a 20 20 20 20 20 20 20 20 72 65 74 75 | ntainer).return.-1;.........retu |
12ba60 | 72 6e 20 69 74 65 6d 2e 70 61 72 65 6e 74 49 6e 64 65 78 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 | rn.item.parentIndex;.......}.... |
12ba80 | 20 20 20 72 65 74 75 72 6e 20 2d 31 3b 0a 20 20 20 20 7d 2c 20 20 20 20 0a 20 20 20 20 68 61 73 | ...return.-1;.....},.........has |
12baa0 | 4e 65 78 74 53 69 62 6c 69 6e 67 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 50 61 72 65 6e 74 49 6e | NextSibling:.function.(aParentIn |
12bac0 | 64 65 78 2c 20 61 49 6e 64 65 78 29 20 0a 20 20 20 20 7b 20 0a 20 20 20 20 20 20 69 66 20 28 21 | dex,.aIndex)......{........if.(! |
12bae0 | 74 68 69 73 2e 5f 66 69 6c 74 65 72 65 64 29 20 7b 0a 20 20 20 20 20 20 20 20 2f 2f 20 7c 61 50 | this._filtered).{.........//.|aP |
12bb00 | 61 72 65 6e 74 49 6e 64 65 78 7c 20 61 70 70 65 61 72 73 20 74 6f 20 62 65 20 62 6f 67 75 73 2c | arentIndex|.appears.to.be.bogus, |
12bb20 | 20 62 75 74 20 77 65 20 63 61 6e 20 67 65 74 20 74 68 65 20 72 65 61 6c 0a 20 20 20 20 20 20 20 | .but.we.can.get.the.real........ |
12bb40 | 20 2f 2f 20 70 61 72 65 6e 74 20 69 6e 64 65 78 20 62 79 20 67 65 74 74 69 6e 67 20 74 68 65 20 | .//.parent.index.by.getting.the. |
12bb60 | 65 6e 74 72 79 20 66 6f 72 20 7c 61 49 6e 64 65 78 7c 20 61 6e 64 20 72 65 61 64 69 6e 67 20 74 | entry.for.|aIndex|.and.reading.t |
12bb80 | 68 65 0a 20 20 20 20 20 20 20 20 2f 2f 20 70 61 72 65 6e 74 49 6e 64 65 78 20 66 69 65 6c 64 2e | he.........//.parentIndex.field. |
12bba0 | 20 0a 20 20 20 20 20 20 20 20 2f 2f 20 54 68 65 20 69 6e 64 65 78 20 6f 66 20 74 68 65 20 6c 61 | ..........//.The.index.of.the.la |
12bbc0 | 73 74 20 69 74 65 6d 20 69 6e 20 74 68 69 73 20 68 6f 73 74 20 63 6f 6c 6c 65 63 74 69 6f 6e 20 | st.item.in.this.host.collection. |
12bbe0 | 69 73 20 74 68 65 20 0a 20 20 20 20 20 20 20 20 2f 2f 20 69 6e 64 65 78 20 6f 66 20 74 68 65 20 | is.the..........//.index.of.the. |
12bc00 | 70 61 72 65 6e 74 20 2b 20 74 68 65 20 73 69 7a 65 20 6f 66 20 74 68 65 20 68 6f 73 74 20 63 6f | parent.+.the.size.of.the.host.co |
12bc20 | 6c 6c 65 63 74 69 6f 6e 2c 20 61 6e 64 0a 20 20 20 20 20 20 20 20 2f 2f 20 61 49 6e 64 65 78 20 | llection,.and.........//.aIndex. |
12bc40 | 68 61 73 20 61 20 6e 65 78 74 20 73 69 62 6c 69 6e 67 20 69 66 20 69 74 20 69 73 20 6c 65 73 73 | has.a.next.sibling.if.it.is.less |
12bc60 | 20 74 68 61 6e 20 74 68 69 73 20 76 61 6c 75 65 2e 0a 20 20 20 20 20 20 20 20 76 61 72 20 69 74 | .than.this.value..........var.it |
12bc80 | 65 6d 20 3d 20 74 68 69 73 2e 5f 67 65 74 49 74 65 6d 41 74 49 6e 64 65 78 28 61 49 6e 64 65 78 | em.=.this._getItemAtIndex(aIndex |
12bca0 | 29 3b 0a 20 20 20 20 20 20 20 20 69 66 20 28 69 74 65 6d 29 20 7b 0a 20 20 20 20 20 20 20 20 20 | );.........if.(item).{.......... |
12bcc0 | 20 69 66 20 28 69 74 65 6d 2e 63 6f 6e 74 61 69 6e 65 72 29 20 7b 0a 20 20 20 20 20 20 20 20 20 | .if.(item.container).{.......... |
12bce0 | 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 61 49 6e 64 65 78 20 2b 20 31 3b 20 69 20 3c 20 | ...for.(var.i.=.aIndex.+.1;.i.<. |
12bd00 | 74 68 69 73 2e 72 6f 77 43 6f 75 6e 74 3b 20 2b 2b 69 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 | this.rowCount;.++i).{........... |
12bd20 | 20 20 20 20 76 61 72 20 73 75 62 73 65 71 75 65 6e 74 20 3d 20 74 68 69 73 2e 5f 67 65 74 49 74 | ....var.subsequent.=.this._getIt |
12bd40 | 65 6d 41 74 49 6e 64 65 78 28 69 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 | emAtIndex(i);...............if.( |
12bd60 | 73 75 62 73 65 71 75 65 6e 74 2e 63 6f 6e 74 61 69 6e 65 72 29 20 0a 20 20 20 20 20 20 20 20 20 | subsequent.container)........... |
12bd80 | 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 | .......return.true;............. |
12bda0 | 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 0a 20 20 20 20 | }.............return.false;..... |
12bdc0 | 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 20 | ......}...........else.{........ |
12bde0 | 20 20 20 20 20 76 61 72 20 70 61 72 65 6e 74 20 3d 20 74 68 69 73 2e 5f 67 65 74 49 74 65 6d 41 | .....var.parent.=.this._getItemA |
12be00 | 74 49 6e 64 65 78 28 69 74 65 6d 2e 70 61 72 65 6e 74 49 6e 64 65 78 29 3b 0a 20 20 20 20 20 20 | tIndex(item.parentIndex);....... |
12be20 | 20 20 20 20 20 20 69 66 20 28 70 61 72 65 6e 74 20 26 26 20 70 61 72 65 6e 74 2e 63 6f 6e 74 61 | ......if.(parent.&&.parent.conta |
12be40 | 69 6e 65 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 61 49 6e 64 65 | iner)...............return.aInde |
12be60 | 78 20 3c 20 69 74 65 6d 2e 70 61 72 65 6e 74 49 6e 64 65 78 20 2b 20 70 61 72 65 6e 74 2e 63 6f | x.<.item.parentIndex.+.parent.co |
12be80 | 6f 6b 69 65 73 2e 6c 65 6e 67 74 68 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 | okies.length;...........}....... |
12bea0 | 20 20 7d 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 61 49 6e 64 65 78 20 | ..}.......}.......return.aIndex. |
12bec0 | 3c 20 74 68 69 73 2e 72 6f 77 43 6f 75 6e 74 20 2d 20 31 3b 0a 20 20 20 20 7d 2c 0a 20 20 20 20 | <.this.rowCount.-.1;.....},..... |
12bee0 | 68 61 73 50 72 65 76 69 6f 75 73 53 69 62 6c 69 6e 67 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 49 | hasPreviousSibling:.function.(aI |
12bf00 | 6e 64 65 78 29 0a 20 20 20 20 7b 0a 20 20 20 20 20 20 69 66 20 28 21 74 68 69 73 2e 5f 66 69 6c | ndex).....{.......if.(!this._fil |
12bf20 | 74 65 72 65 64 29 20 7b 0a 20 20 20 20 20 20 20 20 76 61 72 20 69 74 65 6d 20 3d 20 74 68 69 73 | tered).{.........var.item.=.this |
12bf40 | 2e 5f 67 65 74 49 74 65 6d 41 74 49 6e 64 65 78 28 61 49 6e 64 65 78 29 3b 0a 20 20 20 20 20 20 | ._getItemAtIndex(aIndex);....... |
12bf60 | 20 20 69 66 20 28 21 69 74 65 6d 29 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 | ..if.(!item).return.false;...... |
12bf80 | 20 20 20 76 61 72 20 70 61 72 65 6e 74 20 3d 20 74 68 69 73 2e 5f 67 65 74 49 74 65 6d 41 74 49 | ...var.parent.=.this._getItemAtI |
12bfa0 | 6e 64 65 78 28 69 74 65 6d 2e 70 61 72 65 6e 74 49 6e 64 65 78 29 3b 0a 20 20 20 20 20 20 20 20 | ndex(item.parentIndex);......... |
12bfc0 | 69 66 20 28 70 61 72 65 6e 74 20 26 26 20 70 61 72 65 6e 74 2e 63 6f 6e 74 61 69 6e 65 72 29 0a | if.(parent.&&.parent.container). |
12bfe0 | 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 61 49 6e 64 65 78 20 3e 20 69 74 65 6d 2e 70 | ..........return.aIndex.>.item.p |
12c000 | 61 72 65 6e 74 49 6e 64 65 78 20 2b 20 31 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 72 65 | arentIndex.+.1;.......}.......re |
12c020 | 74 75 72 6e 20 61 49 6e 64 65 78 20 3e 20 30 3b 0a 20 20 20 20 7d 2c 0a 20 20 20 20 67 65 74 4c | turn.aIndex.>.0;.....},.....getL |
12c040 | 65 76 65 6c 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 49 6e 64 65 78 29 20 0a 20 20 20 20 7b 0a 20 | evel:.function.(aIndex)......{.. |
12c060 | 20 20 20 20 20 69 66 20 28 21 74 68 69 73 2e 5f 66 69 6c 74 65 72 65 64 29 20 7b 0a 20 20 20 20 | .....if.(!this._filtered).{..... |
12c080 | 20 20 20 20 76 61 72 20 69 74 65 6d 20 3d 20 74 68 69 73 2e 5f 67 65 74 49 74 65 6d 41 74 49 6e | ....var.item.=.this._getItemAtIn |
12c0a0 | 64 65 78 28 61 49 6e 64 65 78 29 3b 0a 20 20 20 20 20 20 20 20 69 66 20 28 21 69 74 65 6d 29 20 | dex(aIndex);.........if.(!item). |
12c0c0 | 72 65 74 75 72 6e 20 30 3b 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 69 74 65 6d 2e 6c 65 | return.0;.........return.item.le |
12c0e0 | 76 65 6c 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 30 3b 0a 20 20 20 | vel;.......}.......return.0;.... |
12c100 | 20 7d 2c 0a 20 20 20 20 67 65 74 49 6d 61 67 65 53 72 63 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 | .},.....getImageSrc:.function.(a |
12c120 | 49 6e 64 65 78 2c 20 61 43 6f 6c 75 6d 6e 29 20 7b 7d 2c 20 20 20 20 0a 20 20 20 20 67 65 74 50 | Index,.aColumn).{},.........getP |
12c140 | 72 6f 67 72 65 73 73 4d 6f 64 65 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 49 6e 64 65 78 2c 20 61 | rogressMode:.function.(aIndex,.a |
12c160 | 43 6f 6c 75 6d 6e 29 20 7b 7d 2c 20 20 20 20 0a 20 20 20 20 67 65 74 43 65 6c 6c 56 61 6c 75 65 | Column).{},.........getCellValue |
12c180 | 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 49 6e 64 65 78 2c 20 61 43 6f 6c 75 6d 6e 29 20 7b 7d 2c | :.function.(aIndex,.aColumn).{}, |
12c1a0 | 0a 20 20 20 20 73 65 74 54 72 65 65 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 54 72 65 65 29 20 7b | .....setTree:.function.(aTree).{ |
12c1c0 | 7d 2c 20 20 20 20 0a 20 20 20 20 74 6f 67 67 6c 65 4f 70 65 6e 53 74 61 74 65 3a 20 66 75 6e 63 | },.........toggleOpenState:.func |
12c1e0 | 74 69 6f 6e 20 28 61 49 6e 64 65 78 29 20 0a 20 20 20 20 7b 0a 20 20 20 20 20 20 69 66 20 28 21 | tion.(aIndex)......{.......if.(! |
12c200 | 74 68 69 73 2e 5f 66 69 6c 74 65 72 65 64 29 20 7b 0a 20 20 20 20 20 20 20 20 76 61 72 20 69 74 | this._filtered).{.........var.it |
12c220 | 65 6d 20 3d 20 74 68 69 73 2e 5f 67 65 74 49 74 65 6d 41 74 49 6e 64 65 78 28 61 49 6e 64 65 78 | em.=.this._getItemAtIndex(aIndex |
12c240 | 29 3b 0a 20 20 20 20 20 20 20 20 69 66 20 28 21 69 74 65 6d 29 20 72 65 74 75 72 6e 3b 0a 20 20 | );.........if.(!item).return;... |
12c260 | 20 20 20 20 20 20 74 68 69 73 2e 5f 69 6e 76 61 6c 69 64 61 74 65 43 61 63 68 65 28 61 49 6e 64 | ......this._invalidateCache(aInd |
12c280 | 65 78 29 3b 0a 20 20 20 20 20 20 20 20 76 61 72 20 6d 75 6c 74 69 70 6c 69 65 72 20 3d 20 69 74 | ex);.........var.multiplier.=.it |
12c2a0 | 65 6d 2e 6f 70 65 6e 20 3f 20 2d 31 20 3a 20 31 3b 0a 20 20 20 20 20 20 20 20 76 61 72 20 64 65 | em.open.?.-1.:.1;.........var.de |
12c2c0 | 6c 74 61 20 3d 20 6d 75 6c 74 69 70 6c 69 65 72 20 2a 20 69 74 65 6d 2e 63 6f 6f 6b 69 65 73 2e | lta.=.multiplier.*.item.cookies. |
12c2e0 | 6c 65 6e 67 74 68 3b 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 72 6f 77 43 6f 75 6e 74 20 2b | length;.........this._rowCount.+ |
12c300 | 3d 20 64 65 6c 74 61 3b 0a 20 20 20 20 20 20 20 20 69 74 65 6d 2e 6f 70 65 6e 20 3d 20 21 69 74 | =.delta;.........item.open.=.!it |
12c320 | 65 6d 2e 6f 70 65 6e 3b 0a 20 20 20 20 20 20 20 20 67 43 6f 6f 6b 69 65 73 57 69 6e 64 6f 77 2e | em.open;.........gCookiesWindow. |
12c340 | 5f 74 72 65 65 2e 74 72 65 65 42 6f 78 4f 62 6a 65 63 74 2e 72 6f 77 43 6f 75 6e 74 43 68 61 6e | _tree.treeBoxObject.rowCountChan |
12c360 | 67 65 64 28 61 49 6e 64 65 78 20 2b 20 31 2c 20 64 65 6c 74 61 29 3b 0a 20 20 20 20 20 20 20 20 | ged(aIndex.+.1,.delta);......... |
12c380 | 67 43 6f 6f 6b 69 65 73 57 69 6e 64 6f 77 2e 5f 74 72 65 65 2e 74 72 65 65 42 6f 78 4f 62 6a 65 | gCookiesWindow._tree.treeBoxObje |
12c3a0 | 63 74 2e 69 6e 76 61 6c 69 64 61 74 65 52 6f 77 28 61 49 6e 64 65 78 29 3b 0a 20 20 20 20 20 20 | ct.invalidateRow(aIndex);....... |
12c3c0 | 7d 0a 20 20 20 20 7d 2c 20 20 20 20 0a 20 20 20 20 63 79 63 6c 65 48 65 61 64 65 72 3a 20 66 75 | }.....},.........cycleHeader:.fu |
12c3e0 | 6e 63 74 69 6f 6e 20 28 61 43 6f 6c 75 6d 6e 29 20 7b 7d 2c 20 20 20 20 0a 20 20 20 20 73 65 6c | nction.(aColumn).{},.........sel |
12c400 | 65 63 74 69 6f 6e 43 68 61 6e 67 65 64 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 20 7b 7d 2c 20 20 | ectionChanged:.function.().{},.. |
12c420 | 20 20 0a 20 20 20 20 63 79 63 6c 65 43 65 6c 6c 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 49 6e 64 | .......cycleCell:.function.(aInd |
12c440 | 65 78 2c 20 61 43 6f 6c 75 6d 6e 29 20 7b 7d 2c 20 20 20 20 0a 20 20 20 20 69 73 45 64 69 74 61 | ex,.aColumn).{},.........isEdita |
12c460 | 62 6c 65 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 49 6e 64 65 78 2c 20 61 43 6f 6c 75 6d 6e 29 20 | ble:.function.(aIndex,.aColumn). |
12c480 | 0a 20 20 20 20 7b 20 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 20 0a 20 20 20 | .....{........return.false;..... |
12c4a0 | 20 7d 2c 0a 20 20 20 20 69 73 53 65 6c 65 63 74 61 62 6c 65 3a 20 66 75 6e 63 74 69 6f 6e 20 28 | .},.....isSelectable:.function.( |
12c4c0 | 61 49 6e 64 65 78 2c 20 61 43 6f 6c 75 6d 6e 29 20 0a 20 20 20 20 7b 20 0a 20 20 20 20 20 20 72 | aIndex,.aColumn)......{........r |
12c4e0 | 65 74 75 72 6e 20 66 61 6c 73 65 3b 20 0a 20 20 20 20 7d 2c 0a 20 20 20 20 73 65 74 43 65 6c 6c | eturn.false;......},.....setCell |
12c500 | 56 61 6c 75 65 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 49 6e 64 65 78 2c 20 61 43 6f 6c 75 6d 6e | Value:.function.(aIndex,.aColumn |
12c520 | 2c 20 61 56 61 6c 75 65 29 20 7b 7d 2c 20 20 20 20 0a 20 20 20 20 73 65 74 43 65 6c 6c 54 65 78 | ,.aValue).{},.........setCellTex |
12c540 | 74 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 49 6e 64 65 78 2c 20 61 43 6f 6c 75 6d 6e 2c 20 61 56 | t:.function.(aIndex,.aColumn,.aV |
12c560 | 61 6c 75 65 29 20 7b 7d 2c 20 20 20 20 0a 20 20 20 20 70 65 72 66 6f 72 6d 41 63 74 69 6f 6e 3a | alue).{},.........performAction: |
12c580 | 20 66 75 6e 63 74 69 6f 6e 20 28 61 41 63 74 69 6f 6e 29 20 7b 7d 2c 20 20 0a 20 20 20 20 70 65 | .function.(aAction).{},.......pe |
12c5a0 | 72 66 6f 72 6d 41 63 74 69 6f 6e 4f 6e 52 6f 77 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 41 63 74 | rformActionOnRow:.function.(aAct |
12c5c0 | 69 6f 6e 2c 20 61 49 6e 64 65 78 29 20 7b 7d 2c 20 20 20 20 0a 20 20 20 20 70 65 72 66 6f 72 6d | ion,.aIndex).{},.........perform |
12c5e0 | 41 63 74 69 6f 6e 4f 6e 43 65 6c 6c 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 41 63 74 69 6f 6e 2c | ActionOnCell:.function.(aAction, |
12c600 | 20 61 69 6e 64 65 78 2c 20 61 43 6f 6c 75 6d 6e 29 20 7b 7d 0a 20 20 7d 2c 0a 20 20 0a 20 20 5f | .aindex,.aColumn).{}...},......_ |
12c620 | 6d 61 6b 65 53 74 72 69 70 70 65 64 48 6f 73 74 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 48 6f 73 | makeStrippedHost:.function.(aHos |
12c640 | 74 29 0a 20 20 7b 0a 20 20 20 20 76 61 72 20 66 6f 72 6d 61 74 74 65 64 48 6f 73 74 20 3d 20 61 | t)...{.....var.formattedHost.=.a |
12c660 | 48 6f 73 74 2e 63 68 61 72 41 74 28 30 29 20 3d 3d 20 22 2e 22 20 3f 20 61 48 6f 73 74 2e 73 75 | Host.charAt(0).==.".".?.aHost.su |
12c680 | 62 73 74 72 69 6e 67 28 31 2c 20 61 48 6f 73 74 2e 6c 65 6e 67 74 68 29 20 3a 20 61 48 6f 73 74 | bstring(1,.aHost.length).:.aHost |
12c6a0 | 3b 0a 20 20 20 20 72 65 74 75 72 6e 20 66 6f 72 6d 61 74 74 65 64 48 6f 73 74 2e 73 75 62 73 74 | ;.....return.formattedHost.subst |
12c6c0 | 72 69 6e 67 28 30 2c 20 34 29 20 3d 3d 20 22 77 77 77 2e 22 20 3f 20 66 6f 72 6d 61 74 74 65 64 | ring(0,.4).==."www.".?.formatted |
12c6e0 | 48 6f 73 74 2e 73 75 62 73 74 72 69 6e 67 28 34 2c 20 66 6f 72 6d 61 74 74 65 64 48 6f 73 74 2e | Host.substring(4,.formattedHost. |
12c700 | 6c 65 6e 67 74 68 29 20 3a 20 66 6f 72 6d 61 74 74 65 64 48 6f 73 74 3b 0a 20 20 7d 2c 0a 20 20 | length).:.formattedHost;...},... |
12c720 | 0a 20 20 5f 61 64 64 43 6f 6f 6b 69 65 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 53 74 72 69 70 70 | ..._addCookie:.function.(aStripp |
12c740 | 65 64 48 6f 73 74 2c 20 61 43 6f 6f 6b 69 65 2c 20 61 48 6f 73 74 43 6f 75 6e 74 29 0a 20 20 7b | edHost,.aCookie,.aHostCount)...{ |
12c760 | 0a 20 20 20 20 69 66 20 28 21 28 61 53 74 72 69 70 70 65 64 48 6f 73 74 20 69 6e 20 74 68 69 73 | .....if.(!(aStrippedHost.in.this |
12c780 | 2e 5f 68 6f 73 74 73 29 20 7c 7c 20 21 74 68 69 73 2e 5f 68 6f 73 74 73 5b 61 53 74 72 69 70 70 | ._hosts).||.!this._hosts[aStripp |
12c7a0 | 65 64 48 6f 73 74 5d 29 20 7b 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 68 6f 73 74 73 5b 61 53 74 | edHost]).{.......this._hosts[aSt |
12c7c0 | 72 69 70 70 65 64 48 6f 73 74 5d 20 3d 20 7b 20 63 6f 6f 6b 69 65 73 20 20 20 3a 20 5b 5d 2c 20 | rippedHost].=.{.cookies...:.[],. |
12c7e0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
12c800 | 20 20 20 20 20 20 72 61 77 48 6f 73 74 20 20 20 3a 20 61 53 74 72 69 70 70 65 64 48 6f 73 74 2c | ......rawHost...:.aStrippedHost, |
12c820 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
12c840 | 20 20 20 20 20 20 6c 65 76 65 6c 20 20 20 20 20 3a 20 30 2c 0a 20 20 20 20 20 20 20 20 20 20 20 | ......level.....:.0,............ |
12c860 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 70 65 6e 20 20 | ..........................open.. |
12c880 | 20 20 20 20 3a 20 66 61 6c 73 65 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ....:.false,.................... |
12c8a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6e 74 61 69 6e 65 72 20 3a 20 74 72 | ..................container.:.tr |
12c8c0 | 75 65 20 7d 3b 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 68 6f 73 74 4f 72 64 65 72 2e 70 75 73 68 | ue.};.......this._hostOrder.push |
12c8e0 | 28 61 53 74 72 69 70 70 65 64 48 6f 73 74 29 3b 0a 20 20 20 20 20 20 2b 2b 61 48 6f 73 74 43 6f | (aStrippedHost);.......++aHostCo |
12c900 | 75 6e 74 2e 76 61 6c 75 65 3b 0a 20 20 20 20 7d 0a 20 20 20 20 0a 20 20 20 20 76 61 72 20 63 20 | unt.value;.....}..........var.c. |
12c920 | 3d 20 74 68 69 73 2e 5f 6d 61 6b 65 43 6f 6f 6b 69 65 4f 62 6a 65 63 74 28 61 53 74 72 69 70 70 | =.this._makeCookieObject(aStripp |
12c940 | 65 64 48 6f 73 74 2c 20 61 43 6f 6f 6b 69 65 29 3b 20 20 20 20 0a 20 20 20 20 74 68 69 73 2e 5f | edHost,.aCookie);.........this._ |
12c960 | 68 6f 73 74 73 5b 61 53 74 72 69 70 70 65 64 48 6f 73 74 5d 2e 63 6f 6f 6b 69 65 73 2e 70 75 73 | hosts[aStrippedHost].cookies.pus |
12c980 | 68 28 63 29 3b 0a 20 20 7d 2c 0a 20 20 0a 20 20 5f 6d 61 6b 65 43 6f 6f 6b 69 65 4f 62 6a 65 63 | h(c);...},......_makeCookieObjec |
12c9a0 | 74 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 53 74 72 69 70 70 65 64 48 6f 73 74 2c 20 61 43 6f 6f | t:.function.(aStrippedHost,.aCoo |
12c9c0 | 6b 69 65 29 0a 20 20 7b 0a 20 20 20 20 76 61 72 20 68 6f 73 74 20 3d 20 61 43 6f 6f 6b 69 65 2e | kie)...{.....var.host.=.aCookie. |
12c9e0 | 68 6f 73 74 3b 0a 20 20 20 20 76 61 72 20 66 6f 72 6d 61 74 74 65 64 48 6f 73 74 20 3d 20 68 6f | host;.....var.formattedHost.=.ho |
12ca00 | 73 74 2e 63 68 61 72 41 74 28 30 29 20 3d 3d 20 22 2e 22 20 3f 20 68 6f 73 74 2e 73 75 62 73 74 | st.charAt(0).==.".".?.host.subst |
12ca20 | 72 69 6e 67 28 31 2c 20 68 6f 73 74 2e 6c 65 6e 67 74 68 29 20 3a 20 68 6f 73 74 3b 0a 20 20 20 | ring(1,.host.length).:.host;.... |
12ca40 | 20 76 61 72 20 63 20 3d 20 7b 20 6e 61 6d 65 20 20 20 20 20 20 20 20 3a 20 61 43 6f 6f 6b 69 65 | .var.c.=.{.name........:.aCookie |
12ca60 | 2e 6e 61 6d 65 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 6c 75 65 20 20 20 20 20 20 | .name,...............value...... |
12ca80 | 20 3a 20 61 43 6f 6f 6b 69 65 2e 76 61 6c 75 65 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .:.aCookie.value,............... |
12caa0 | 69 73 44 6f 6d 61 69 6e 20 20 20 20 3a 20 61 43 6f 6f 6b 69 65 2e 69 73 44 6f 6d 61 69 6e 2c 0a | isDomain....:.aCookie.isDomain,. |
12cac0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 68 6f 73 74 20 20 20 20 20 20 20 20 3a 20 61 43 6f 6f | ..............host........:.aCoo |
12cae0 | 6b 69 65 2e 68 6f 73 74 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 61 77 48 6f 73 74 20 | kie.host,...............rawHost. |
12cb00 | 20 20 20 20 3a 20 61 53 74 72 69 70 70 65 64 48 6f 73 74 2c 0a 20 20 20 20 20 20 20 20 20 20 20 | ....:.aStrippedHost,............ |
12cb20 | 20 20 20 70 61 74 68 20 20 20 20 20 20 20 20 3a 20 61 43 6f 6f 6b 69 65 2e 70 61 74 68 2c 0a 20 | ...path........:.aCookie.path,.. |
12cb40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 69 73 53 65 63 75 72 65 20 20 20 20 3a 20 61 43 6f 6f 6b | .............isSecure....:.aCook |
12cb60 | 69 65 2e 69 73 53 65 63 75 72 65 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 78 70 69 72 | ie.isSecure,...............expir |
12cb80 | 65 73 20 20 20 20 20 3a 20 61 43 6f 6f 6b 69 65 2e 65 78 70 69 72 65 73 2c 0a 20 20 20 20 20 20 | es.....:.aCookie.expires,....... |
12cba0 | 20 20 20 20 20 20 20 20 6c 65 76 65 6c 20 20 20 20 20 20 20 3a 20 31 2c 0a 20 20 20 20 20 20 20 | ........level.......:.1,........ |
12cbc0 | 20 20 20 20 20 20 20 63 6f 6e 74 61 69 6e 65 72 20 20 20 3a 20 66 61 6c 73 65 20 7d 3b 0a 20 20 | .......container...:.false.};... |
12cbe0 | 20 20 72 65 74 75 72 6e 20 63 3b 0a 20 20 7d 2c 0a 20 20 0a 20 20 5f 6c 6f 61 64 43 6f 6f 6b 69 | ..return.c;...},......_loadCooki |
12cc00 | 65 73 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 20 0a 20 20 7b 0a 20 20 20 20 76 61 72 20 65 20 3d | es:.function.()....{.....var.e.= |
12cc20 | 20 74 68 69 73 2e 5f 63 6d 2e 65 6e 75 6d 65 72 61 74 6f 72 3b 0a 20 20 20 20 76 61 72 20 68 6f | .this._cm.enumerator;.....var.ho |
12cc40 | 73 74 43 6f 75 6e 74 20 3d 20 7b 20 76 61 6c 75 65 3a 20 30 20 7d 3b 0a 20 20 20 20 74 68 69 73 | stCount.=.{.value:.0.};.....this |
12cc60 | 2e 5f 68 6f 73 74 73 20 3d 20 7b 7d 3b 0a 20 20 20 20 74 68 69 73 2e 5f 68 6f 73 74 4f 72 64 65 | ._hosts.=.{};.....this._hostOrde |
12cc80 | 72 20 3d 20 5b 5d 3b 0a 20 20 20 20 77 68 69 6c 65 20 28 65 2e 68 61 73 4d 6f 72 65 45 6c 65 6d | r.=.[];.....while.(e.hasMoreElem |
12cca0 | 65 6e 74 73 28 29 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 63 6f 6f 6b 69 65 20 3d 20 65 2e 67 | ents()).{.......var.cookie.=.e.g |
12ccc0 | 65 74 4e 65 78 74 28 29 3b 0a 20 20 20 20 20 20 69 66 20 28 63 6f 6f 6b 69 65 20 26 26 20 63 6f | etNext();.......if.(cookie.&&.co |
12cce0 | 6f 6b 69 65 20 69 6e 73 74 61 6e 63 65 6f 66 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 | okie.instanceof.Components.inter |
12cd00 | 66 61 63 65 73 2e 6e 73 49 43 6f 6f 6b 69 65 29 20 7b 0a 20 20 20 20 20 20 20 20 76 61 72 20 73 | faces.nsICookie).{.........var.s |
12cd20 | 74 72 69 70 70 65 64 48 6f 73 74 20 3d 20 74 68 69 73 2e 5f 6d 61 6b 65 53 74 72 69 70 70 65 64 | trippedHost.=.this._makeStripped |
12cd40 | 48 6f 73 74 28 63 6f 6f 6b 69 65 2e 68 6f 73 74 29 3b 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e | Host(cookie.host);.........this. |
12cd60 | 5f 61 64 64 43 6f 6f 6b 69 65 28 73 74 72 69 70 70 65 64 48 6f 73 74 2c 20 63 6f 6f 6b 69 65 2c | _addCookie(strippedHost,.cookie, |
12cd80 | 20 68 6f 73 74 43 6f 75 6e 74 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 65 6c 73 65 0a | .hostCount);.......}.......else. |
12cda0 | 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 7d 0a 20 20 20 20 74 68 69 73 2e 5f 76 | ........break;.....}.....this._v |
12cdc0 | 69 65 77 2e 5f 72 6f 77 43 6f 75 6e 74 20 3d 20 68 6f 73 74 43 6f 75 6e 74 2e 76 61 6c 75 65 3b | iew._rowCount.=.hostCount.value; |
12cde0 | 0a 20 20 7d 2c 0a 20 20 0a 20 20 66 6f 72 6d 61 74 45 78 70 69 72 65 73 53 74 72 69 6e 67 3a 20 | ...},......formatExpiresString:. |
12ce00 | 66 75 6e 63 74 69 6f 6e 20 28 61 45 78 70 69 72 65 73 29 20 0a 20 20 7b 0a 20 20 20 20 69 66 20 | function.(aExpires)....{.....if. |
12ce20 | 28 61 45 78 70 69 72 65 73 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 64 61 74 65 20 3d 20 6e 65 | (aExpires).{.......var.date.=.ne |
12ce40 | 77 20 44 61 74 65 28 31 30 30 30 20 2a 20 61 45 78 70 69 72 65 73 29 3b 0a 20 20 20 20 20 20 72 | w.Date(1000.*.aExpires);.......r |
12ce60 | 65 74 75 72 6e 20 74 68 69 73 2e 5f 64 73 2e 46 6f 72 6d 61 74 44 61 74 65 54 69 6d 65 28 22 22 | eturn.this._ds.FormatDateTime("" |
12ce80 | 2c 20 74 68 69 73 2e 5f 64 73 2e 64 61 74 65 46 6f 72 6d 61 74 4c 6f 6e 67 2c 0a 20 20 20 20 20 | ,.this._ds.dateFormatLong,...... |
12cea0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
12cec0 | 74 68 69 73 2e 5f 64 73 2e 74 69 6d 65 46 6f 72 6d 61 74 53 65 63 6f 6e 64 73 2c 0a 20 20 20 20 | this._ds.timeFormatSeconds,..... |
12cee0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
12cf00 | 20 64 61 74 65 2e 67 65 74 46 75 6c 6c 59 65 61 72 28 29 2c 0a 20 20 20 20 20 20 20 20 20 20 20 | .date.getFullYear(),............ |
12cf20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 61 74 65 2e 67 | ..........................date.g |
12cf40 | 65 74 4d 6f 6e 74 68 28 29 20 2b 20 31 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | etMonth().+.1,.................. |
12cf60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 61 74 65 2e 67 65 74 44 61 74 65 | ....................date.getDate |
12cf80 | 28 29 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | (),............................. |
12cfa0 | 20 20 20 20 20 20 20 20 20 64 61 74 65 2e 67 65 74 48 6f 75 72 73 28 29 2c 0a 20 20 20 20 20 20 | .........date.getHours(),....... |
12cfc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 | ...............................d |
12cfe0 | 61 74 65 2e 67 65 74 4d 69 6e 75 74 65 73 28 29 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ate.getMinutes(),............... |
12d000 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 61 74 65 2e 67 65 74 53 | .......................date.getS |
12d020 | 65 63 6f 6e 64 73 28 29 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 | econds());.....}.....return.this |
12d040 | 2e 5f 62 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 41 74 45 6e 64 4f 66 53 65 73 73 69 | ._bundle.getString("AtEndOfSessi |
12d060 | 6f 6e 22 29 3b 0a 20 20 7d 2c 0a 20 20 0a 20 20 5f 75 70 64 61 74 65 43 6f 6f 6b 69 65 44 61 74 | on");...},......_updateCookieDat |
12d080 | 61 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 49 74 65 6d 29 0a 20 20 7b 0a 20 20 20 20 76 61 72 20 | a:.function.(aItem)...{.....var. |
12d0a0 | 73 65 6c 6e 20 3d 20 74 68 69 73 2e 5f 76 69 65 77 2e 73 65 6c 65 63 74 69 6f 6e 3b 0a 20 20 20 | seln.=.this._view.selection;.... |
12d0c0 | 20 76 61 72 20 69 64 73 20 3d 20 5b 22 6e 61 6d 65 22 2c 20 22 76 61 6c 75 65 22 2c 20 22 68 6f | .var.ids.=.["name",."value",."ho |
12d0e0 | 73 74 22 2c 20 22 70 61 74 68 22 2c 20 22 69 73 53 65 63 75 72 65 22 2c 20 22 65 78 70 69 72 65 | st",."path",."isSecure",."expire |
12d100 | 73 22 5d 3b 0a 20 20 20 20 76 61 72 20 70 72 6f 70 65 72 74 69 65 73 3b 0a 20 20 20 20 0a 20 20 | s"];.....var.properties;........ |
12d120 | 20 20 69 66 20 28 61 49 74 65 6d 20 26 26 20 21 61 49 74 65 6d 2e 63 6f 6e 74 61 69 6e 65 72 20 | ..if.(aItem.&&.!aItem.container. |
12d140 | 26 26 20 73 65 6c 6e 2e 63 6f 75 6e 74 20 3e 20 30 29 20 7b 0a 20 20 20 20 20 20 70 72 6f 70 65 | &&.seln.count.>.0).{.......prope |
12d160 | 72 74 69 65 73 20 3d 20 7b 20 6e 61 6d 65 3a 20 61 49 74 65 6d 2e 6e 61 6d 65 2c 20 76 61 6c 75 | rties.=.{.name:.aItem.name,.valu |
12d180 | 65 3a 20 61 49 74 65 6d 2e 76 61 6c 75 65 2c 20 68 6f 73 74 3a 20 61 49 74 65 6d 2e 68 6f 73 74 | e:.aItem.value,.host:.aItem.host |
12d1a0 | 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 61 74 68 3a 20 61 49 74 | ,......................path:.aIt |
12d1c0 | 65 6d 2e 70 61 74 68 2c 20 65 78 70 69 72 65 73 3a 20 74 68 69 73 2e 66 6f 72 6d 61 74 45 78 70 | em.path,.expires:.this.formatExp |
12d1e0 | 69 72 65 73 53 74 72 69 6e 67 28 61 49 74 65 6d 2e 65 78 70 69 72 65 73 29 2c 0a 20 20 20 20 20 | iresString(aItem.expires),...... |
12d200 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 73 44 6f 6d 61 69 6e 3a 20 61 49 74 65 6d 2e | ................isDomain:.aItem. |
12d220 | 69 73 44 6f 6d 61 69 6e 20 3f 20 74 68 69 73 2e 5f 62 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e | isDomain.?.this._bundle.getStrin |
12d240 | 67 28 22 64 6f 6d 61 69 6e 43 6f 6c 6f 6e 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | g("domainColon")................ |
12d260 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3a | ...............................: |
12d280 | 20 74 68 69 73 2e 5f 62 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 68 6f 73 74 43 6f 6c | .this._bundle.getString("hostCol |
12d2a0 | 6f 6e 22 29 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 73 53 65 63 | on"),......................isSec |
12d2c0 | 75 72 65 3a 20 61 49 74 65 6d 2e 69 73 53 65 63 75 72 65 20 3f 20 74 68 69 73 2e 5f 62 75 6e 64 | ure:.aItem.isSecure.?.this._bund |
12d2e0 | 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 66 6f 72 53 65 63 75 72 65 4f 6e 6c 79 22 29 0a 20 20 | le.getString("forSecureOnly")... |
12d300 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
12d320 | 20 20 20 20 20 20 20 20 20 20 20 20 3a 20 74 68 69 73 2e 5f 62 75 6e 64 6c 65 2e 67 65 74 53 74 | ............:.this._bundle.getSt |
12d340 | 72 69 6e 67 28 22 66 6f 72 41 6e 79 43 6f 6e 6e 65 63 74 69 6f 6e 22 29 20 7d 3b 0a 20 20 20 20 | ring("forAnyConnection").};..... |
12d360 | 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 69 64 73 2e 6c 65 6e 67 74 68 | ..for.(var.i.=.0;.i.<.ids.length |
12d380 | 3b 20 2b 2b 69 29 0a 20 20 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 | ;.++i).........document.getEleme |
12d3a0 | 6e 74 42 79 49 64 28 69 64 73 5b 69 5d 29 2e 64 69 73 61 62 6c 65 64 20 3d 20 66 61 6c 73 65 3b | ntById(ids[i]).disabled.=.false; |
12d3c0 | 0a 20 20 20 20 7d 0a 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 76 61 72 20 6e 6f 6e 65 | .....}.....else.{.......var.none |
12d3e0 | 53 65 6c 65 63 74 65 64 20 3d 20 74 68 69 73 2e 5f 62 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e | Selected.=.this._bundle.getStrin |
12d400 | 67 28 22 6e 6f 43 6f 6f 6b 69 65 53 65 6c 65 63 74 65 64 22 29 3b 0a 20 20 20 20 20 20 70 72 6f | g("noCookieSelected");.......pro |
12d420 | 70 65 72 74 69 65 73 20 3d 20 7b 20 6e 61 6d 65 3a 20 6e 6f 6e 65 53 65 6c 65 63 74 65 64 2c 20 | perties.=.{.name:.noneSelected,. |
12d440 | 76 61 6c 75 65 3a 20 6e 6f 6e 65 53 65 6c 65 63 74 65 64 2c 20 68 6f 73 74 3a 20 6e 6f 6e 65 53 | value:.noneSelected,.host:.noneS |
12d460 | 65 6c 65 63 74 65 64 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 61 | elected,......................pa |
12d480 | 74 68 3a 20 6e 6f 6e 65 53 65 6c 65 63 74 65 64 2c 20 65 78 70 69 72 65 73 3a 20 6e 6f 6e 65 53 | th:.noneSelected,.expires:.noneS |
12d4a0 | 65 6c 65 63 74 65 64 2c 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 | elected,.......................i |
12d4c0 | 73 53 65 63 75 72 65 3a 20 6e 6f 6e 65 53 65 6c 65 63 74 65 64 20 7d 3b 0a 20 20 20 20 20 20 66 | sSecure:.noneSelected.};.......f |
12d4e0 | 6f 72 20 28 69 20 3d 20 30 3b 20 69 20 3c 20 69 64 73 2e 6c 65 6e 67 74 68 3b 20 2b 2b 69 29 0a | or.(i.=.0;.i.<.ids.length;.++i). |
12d500 | 20 20 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 | ........document.getElementById( |
12d520 | 69 64 73 5b 69 5d 29 2e 64 69 73 61 62 6c 65 64 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 7d 0a 20 | ids[i]).disabled.=.true;.....}.. |
12d540 | 20 20 20 66 6f 72 20 28 76 61 72 20 70 72 6f 70 65 72 74 79 20 69 6e 20 70 72 6f 70 65 72 74 69 | ...for.(var.property.in.properti |
12d560 | 65 73 29 0a 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 | es).......document.getElementByI |
12d580 | 64 28 70 72 6f 70 65 72 74 79 29 2e 76 61 6c 75 65 20 3d 20 70 72 6f 70 65 72 74 69 65 73 5b 70 | d(property).value.=.properties[p |
12d5a0 | 72 6f 70 65 72 74 79 5d 3b 0a 20 20 7d 2c 0a 20 20 0a 20 20 6f 6e 43 6f 6f 6b 69 65 53 65 6c 65 | roperty];...},......onCookieSele |
12d5c0 | 63 74 65 64 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 20 0a 20 20 7b 0a 20 20 20 20 76 61 72 20 70 | cted:.function.()....{.....var.p |
12d5e0 | 72 6f 70 65 72 74 69 65 73 2c 20 69 74 65 6d 3b 0a 20 20 20 20 76 61 72 20 73 65 6c 6e 20 3d 20 | roperties,.item;.....var.seln.=. |
12d600 | 74 68 69 73 2e 5f 74 72 65 65 2e 76 69 65 77 2e 73 65 6c 65 63 74 69 6f 6e 3b 0a 20 20 20 20 69 | this._tree.view.selection;.....i |
12d620 | 66 20 28 21 74 68 69 73 2e 5f 76 69 65 77 2e 5f 66 69 6c 74 65 72 65 64 29 20 0a 20 20 20 20 20 | f.(!this._view._filtered)....... |
12d640 | 20 69 74 65 6d 20 3d 20 74 68 69 73 2e 5f 76 69 65 77 2e 5f 67 65 74 49 74 65 6d 41 74 49 6e 64 | .item.=.this._view._getItemAtInd |
12d660 | 65 78 28 73 65 6c 6e 2e 63 75 72 72 65 6e 74 49 6e 64 65 78 29 3b 0a 20 20 20 20 65 6c 73 65 0a | ex(seln.currentIndex);.....else. |
12d680 | 20 20 20 20 20 20 69 74 65 6d 20 3d 20 74 68 69 73 2e 5f 76 69 65 77 2e 5f 66 69 6c 74 65 72 53 | ......item.=.this._view._filterS |
12d6a0 | 65 74 5b 73 65 6c 6e 2e 63 75 72 72 65 6e 74 49 6e 64 65 78 5d 3b 0a 20 20 20 20 20 20 0a 20 20 | et[seln.currentIndex];.......... |
12d6c0 | 20 20 74 68 69 73 2e 5f 75 70 64 61 74 65 43 6f 6f 6b 69 65 44 61 74 61 28 69 74 65 6d 29 3b 0a | ..this._updateCookieData(item);. |
12d6e0 | 20 20 20 20 0a 20 20 20 20 76 61 72 20 72 61 6e 67 65 43 6f 75 6e 74 20 3d 20 73 65 6c 6e 2e 67 | .........var.rangeCount.=.seln.g |
12d700 | 65 74 52 61 6e 67 65 43 6f 75 6e 74 28 29 3b 0a 20 20 20 20 76 61 72 20 73 65 6c 65 63 74 65 64 | etRangeCount();.....var.selected |
12d720 | 43 6f 6f 6b 69 65 43 6f 75 6e 74 20 3d 20 30 3b 0a 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 | CookieCount.=.0;.....for.(var.i. |
12d740 | 3d 20 30 3b 20 69 20 3c 20 72 61 6e 67 65 43 6f 75 6e 74 3b 20 2b 2b 69 29 20 7b 0a 20 20 20 20 | =.0;.i.<.rangeCount;.++i).{..... |
12d760 | 20 20 76 61 72 20 6d 69 6e 20 3d 20 7b 7d 3b 20 76 61 72 20 6d 61 78 20 3d 20 7b 7d 3b 0a 20 20 | ..var.min.=.{};.var.max.=.{};... |
12d780 | 20 20 20 20 73 65 6c 6e 2e 67 65 74 52 61 6e 67 65 41 74 28 69 2c 20 6d 69 6e 2c 20 6d 61 78 29 | ....seln.getRangeAt(i,.min,.max) |
12d7a0 | 3b 0a 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 6a 20 3d 20 6d 69 6e 2e 76 61 6c 75 65 3b 20 | ;.......for.(var.j.=.min.value;. |
12d7c0 | 6a 20 3c 3d 20 6d 61 78 2e 76 61 6c 75 65 3b 20 2b 2b 6a 29 20 7b 0a 20 20 20 20 20 20 20 20 69 | j.<=.max.value;.++j).{.........i |
12d7e0 | 74 65 6d 20 3d 20 74 68 69 73 2e 5f 76 69 65 77 2e 5f 67 65 74 49 74 65 6d 41 74 49 6e 64 65 78 | tem.=.this._view._getItemAtIndex |
12d800 | 28 6a 29 3b 0a 20 20 20 20 20 20 20 20 69 66 20 28 21 69 74 65 6d 29 20 63 6f 6e 74 69 6e 75 65 | (j);.........if.(!item).continue |
12d820 | 3b 0a 20 20 20 20 20 20 20 20 69 66 20 28 69 74 65 6d 2e 63 6f 6e 74 61 69 6e 65 72 20 26 26 20 | ;.........if.(item.container.&&. |
12d840 | 21 69 74 65 6d 2e 6f 70 65 6e 29 0a 20 20 20 20 20 20 20 20 20 20 73 65 6c 65 63 74 65 64 43 6f | !item.open)...........selectedCo |
12d860 | 6f 6b 69 65 43 6f 75 6e 74 20 2b 3d 20 69 74 65 6d 2e 63 6f 6f 6b 69 65 73 2e 6c 65 6e 67 74 68 | okieCount.+=.item.cookies.length |
12d880 | 3b 0a 20 20 20 20 20 20 20 20 65 6c 73 65 20 69 66 20 28 21 69 74 65 6d 2e 63 6f 6e 74 61 69 6e | ;.........else.if.(!item.contain |
12d8a0 | 65 72 29 0a 20 20 20 20 20 20 20 20 20 20 2b 2b 73 65 6c 65 63 74 65 64 43 6f 6f 6b 69 65 43 6f | er)...........++selectedCookieCo |
12d8c0 | 75 6e 74 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 20 20 20 20 76 61 72 20 69 74 65 6d 20 | unt;.......}.....}.....var.item. |
12d8e0 | 3d 20 74 68 69 73 2e 5f 76 69 65 77 2e 5f 67 65 74 49 74 65 6d 41 74 49 6e 64 65 78 28 73 65 6c | =.this._view._getItemAtIndex(sel |
12d900 | 6e 2e 63 75 72 72 65 6e 74 49 6e 64 65 78 29 3b 0a 20 20 20 20 69 66 20 28 69 74 65 6d 20 26 26 | n.currentIndex);.....if.(item.&& |
12d920 | 20 73 65 6c 6e 2e 63 6f 75 6e 74 20 3d 3d 20 31 20 26 26 20 69 74 65 6d 2e 63 6f 6e 74 61 69 6e | .seln.count.==.1.&&.item.contain |
12d940 | 65 72 20 26 26 20 69 74 65 6d 2e 6f 70 65 6e 29 0a 20 20 20 20 20 20 73 65 6c 65 63 74 65 64 43 | er.&&.item.open).......selectedC |
12d960 | 6f 6f 6b 69 65 43 6f 75 6e 74 20 2b 3d 20 32 3b 0a 20 20 20 20 20 20 0a 20 20 20 20 76 61 72 20 | ookieCount.+=.2;............var. |
12d980 | 73 74 72 69 6e 67 4b 65 79 20 3d 20 73 65 6c 65 63 74 65 64 43 6f 6f 6b 69 65 43 6f 75 6e 74 20 | stringKey.=.selectedCookieCount. |
12d9a0 | 3d 3d 20 31 20 3f 20 22 72 65 6d 6f 76 65 43 6f 6f 6b 69 65 22 20 3a 20 22 72 65 6d 6f 76 65 43 | ==.1.?."removeCookie".:."removeC |
12d9c0 | 6f 6f 6b 69 65 73 22 3b 0a 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 | ookies";.....document.getElement |
12d9e0 | 42 79 49 64 28 22 72 65 6d 6f 76 65 43 6f 6f 6b 69 65 22 29 2e 6c 61 62 65 6c 20 3d 20 74 68 69 | ById("removeCookie").label.=.thi |
12da00 | 73 2e 5f 62 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 73 74 72 69 6e 67 4b 65 79 29 3b 0a | s._bundle.getString(stringKey);. |
12da20 | 20 20 20 20 0a 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 | .........document.getElementById |
12da40 | 28 22 72 65 6d 6f 76 65 41 6c 6c 43 6f 6f 6b 69 65 73 22 29 2e 64 69 73 61 62 6c 65 64 20 3d 20 | ("removeAllCookies").disabled.=. |
12da60 | 74 68 69 73 2e 5f 76 69 65 77 2e 5f 66 69 6c 74 65 72 65 64 3b 0a 20 20 20 20 64 6f 63 75 6d 65 | this._view._filtered;.....docume |
12da80 | 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 72 65 6d 6f 76 65 43 6f 6f 6b 69 65 22 | nt.getElementById("removeCookie" |
12daa0 | 29 2e 64 69 73 61 62 6c 65 64 20 3d 20 21 28 73 65 6c 6e 2e 63 6f 75 6e 74 20 3e 20 30 29 3b 0a | ).disabled.=.!(seln.count.>.0);. |
12dac0 | 20 20 7d 2c 0a 20 20 0a 20 20 64 65 6c 65 74 65 43 6f 6f 6b 69 65 3a 20 66 75 6e 63 74 69 6f 6e | ..},......deleteCookie:.function |
12dae0 | 20 28 29 20 0a 20 20 7b 20 0a 2f 2f 40 6c 69 6e 65 20 36 37 32 20 22 2f 62 75 69 6c 64 73 2f 6d | .()....{..//@line.672."/builds/m |
12db00 | 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 | oz2_slave/linux_build/build/brow |
12db20 | 73 65 72 2f 63 6f 6d 70 6f 6e 65 6e 74 73 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 63 6f 6f 6b 69 | ser/components/preferences/cooki |
12db40 | 65 73 2e 6a 73 22 0a 20 20 20 20 76 61 72 20 73 65 6c 6e 20 3d 20 74 68 69 73 2e 5f 76 69 65 77 | es.js".....var.seln.=.this._view |
12db60 | 2e 73 65 6c 65 63 74 69 6f 6e 3b 0a 20 20 20 20 76 61 72 20 74 62 6f 20 3d 20 74 68 69 73 2e 5f | .selection;.....var.tbo.=.this._ |
12db80 | 74 72 65 65 2e 74 72 65 65 42 6f 78 4f 62 6a 65 63 74 3b 0a 20 20 20 20 0a 20 20 20 20 69 66 20 | tree.treeBoxObject;..........if. |
12dba0 | 28 73 65 6c 6e 2e 63 6f 75 6e 74 20 3c 20 31 29 20 72 65 74 75 72 6e 3b 0a 20 20 20 20 0a 20 20 | (seln.count.<.1).return;........ |
12dbc0 | 20 20 76 61 72 20 6e 65 78 74 53 65 6c 65 63 74 65 64 20 3d 20 30 3b 0a 20 20 20 20 76 61 72 20 | ..var.nextSelected.=.0;.....var. |
12dbe0 | 72 6f 77 43 6f 75 6e 74 49 6d 70 61 63 74 20 3d 20 30 3b 0a 20 20 20 20 76 61 72 20 64 65 6c 65 | rowCountImpact.=.0;.....var.dele |
12dc00 | 74 65 49 74 65 6d 73 20 3d 20 5b 5d 3b 0a 20 20 20 20 69 66 20 28 21 74 68 69 73 2e 5f 76 69 65 | teItems.=.[];.....if.(!this._vie |
12dc20 | 77 2e 5f 66 69 6c 74 65 72 65 64 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 63 69 20 3d 20 73 65 | w._filtered).{.......var.ci.=.se |
12dc40 | 6c 6e 2e 63 75 72 72 65 6e 74 49 6e 64 65 78 3b 0a 20 20 20 20 20 20 6e 65 78 74 53 65 6c 65 63 | ln.currentIndex;.......nextSelec |
12dc60 | 74 65 64 20 3d 20 63 69 3b 0a 20 20 20 20 20 20 76 61 72 20 69 6e 76 61 6c 69 64 61 74 65 52 6f | ted.=.ci;.......var.invalidateRo |
12dc80 | 77 20 3d 20 2d 31 3b 0a 20 20 20 20 20 20 76 61 72 20 69 74 65 6d 20 3d 20 74 68 69 73 2e 5f 76 | w.=.-1;.......var.item.=.this._v |
12dca0 | 69 65 77 2e 5f 67 65 74 49 74 65 6d 41 74 49 6e 64 65 78 28 63 69 29 3b 0a 20 20 20 20 20 20 69 | iew._getItemAtIndex(ci);.......i |
12dcc0 | 66 20 28 69 74 65 6d 2e 63 6f 6e 74 61 69 6e 65 72 29 20 7b 0a 20 20 20 20 20 20 20 20 72 6f 77 | f.(item.container).{.........row |
12dce0 | 43 6f 75 6e 74 49 6d 70 61 63 74 20 2d 3d 20 28 69 74 65 6d 2e 6f 70 65 6e 20 3f 20 69 74 65 6d | CountImpact.-=.(item.open.?.item |
12dd00 | 2e 63 6f 6f 6b 69 65 73 2e 6c 65 6e 67 74 68 20 3a 20 30 29 20 2b 20 31 3b 0a 20 20 20 20 20 20 | .cookies.length.:.0).+.1;....... |
12dd20 | 20 20 64 65 6c 65 74 65 49 74 65 6d 73 20 3d 20 64 65 6c 65 74 65 49 74 65 6d 73 2e 63 6f 6e 63 | ..deleteItems.=.deleteItems.conc |
12dd40 | 61 74 28 69 74 65 6d 2e 63 6f 6f 6b 69 65 73 29 3b 0a 20 20 20 20 20 20 20 20 69 66 20 28 21 74 | at(item.cookies);.........if.(!t |
12dd60 | 68 69 73 2e 5f 76 69 65 77 2e 68 61 73 4e 65 78 74 53 69 62 6c 69 6e 67 28 2d 31 2c 20 63 69 29 | his._view.hasNextSibling(-1,.ci) |
12dd80 | 29 20 0a 20 20 20 20 20 20 20 20 20 20 2d 2d 6e 65 78 74 53 65 6c 65 63 74 65 64 3b 0a 20 20 20 | )............--nextSelected;.... |
12dda0 | 20 20 20 20 20 74 68 69 73 2e 5f 76 69 65 77 2e 5f 72 65 6d 6f 76 65 49 74 65 6d 41 74 49 6e 64 | .....this._view._removeItemAtInd |
12ddc0 | 65 78 28 63 69 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 | ex(ci);.......}.......else.{.... |
12dde0 | 20 20 20 20 20 76 61 72 20 70 61 72 65 6e 74 20 3d 20 74 68 69 73 2e 5f 76 69 65 77 2e 5f 67 65 | .....var.parent.=.this._view._ge |
12de00 | 74 49 74 65 6d 41 74 49 6e 64 65 78 28 69 74 65 6d 2e 70 61 72 65 6e 74 49 6e 64 65 78 29 3b 0a | tItemAtIndex(item.parentIndex);. |
12de20 | 20 20 20 20 20 20 20 20 2d 2d 72 6f 77 43 6f 75 6e 74 49 6d 70 61 63 74 3b 0a 20 20 20 20 20 20 | ........--rowCountImpact;....... |
12de40 | 20 20 69 66 20 28 70 61 72 65 6e 74 2e 63 6f 6f 6b 69 65 73 2e 6c 65 6e 67 74 68 20 3d 3d 20 31 | ..if.(parent.cookies.length.==.1 |
12de60 | 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 2d 2d 72 6f 77 43 6f 75 6e 74 49 6d 70 61 63 74 3b 0a | ).{...........--rowCountImpact;. |
12de80 | 20 20 20 20 20 20 20 20 20 20 64 65 6c 65 74 65 49 74 65 6d 73 2e 70 75 73 68 28 69 74 65 6d 29 | ..........deleteItems.push(item) |
12dea0 | 3b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 74 68 69 73 2e 5f 76 69 65 77 2e 68 61 73 4e | ;...........if.(!this._view.hasN |
12dec0 | 65 78 74 53 69 62 6c 69 6e 67 28 2d 31 2c 20 63 69 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 | extSibling(-1,.ci))............. |
12dee0 | 2d 2d 6e 65 78 74 53 65 6c 65 63 74 65 64 3b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 74 | --nextSelected;...........if.(!t |
12df00 | 68 69 73 2e 5f 76 69 65 77 2e 68 61 73 4e 65 78 74 53 69 62 6c 69 6e 67 28 2d 31 2c 20 69 74 65 | his._view.hasNextSibling(-1,.ite |
12df20 | 6d 2e 70 61 72 65 6e 74 49 6e 64 65 78 29 29 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 2d 2d 6e | m.parentIndex))..............--n |
12df40 | 65 78 74 53 65 6c 65 63 74 65 64 3b 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 76 69 65 | extSelected;...........this._vie |
12df60 | 77 2e 5f 72 65 6d 6f 76 65 49 74 65 6d 41 74 49 6e 64 65 78 28 69 74 65 6d 2e 70 61 72 65 6e 74 | w._removeItemAtIndex(item.parent |
12df80 | 49 6e 64 65 78 29 3b 0a 20 20 20 20 20 20 20 20 20 20 69 6e 76 61 6c 69 64 61 74 65 52 6f 77 20 | Index);...........invalidateRow. |
12dfa0 | 3d 20 69 74 65 6d 2e 70 61 72 65 6e 74 49 6e 64 65 78 3b 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 | =.item.parentIndex;.........}... |
12dfc0 | 20 20 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 20 20 20 20 64 65 6c 65 74 65 49 74 65 | ......else.{...........deleteIte |
12dfe0 | 6d 73 2e 70 75 73 68 28 69 74 65 6d 29 3b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 74 68 | ms.push(item);...........if.(!th |
12e000 | 69 73 2e 5f 76 69 65 77 2e 68 61 73 4e 65 78 74 53 69 62 6c 69 6e 67 28 2d 31 2c 20 63 69 29 29 | is._view.hasNextSibling(-1,.ci)) |
12e020 | 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 2d 2d 6e 65 78 74 53 65 6c 65 63 74 65 64 3b 0a 20 20 | ..............--nextSelected;... |
12e040 | 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 76 69 65 77 2e 5f 72 65 6d 6f 76 65 49 74 65 6d 41 74 | ........this._view._removeItemAt |
12e060 | 49 6e 64 65 78 28 63 69 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 7d 0a 20 20 20 | Index(ci);.........}.......}.... |
12e080 | 20 20 20 74 68 69 73 2e 5f 76 69 65 77 2e 5f 72 6f 77 43 6f 75 6e 74 20 2b 3d 20 72 6f 77 43 6f | ...this._view._rowCount.+=.rowCo |
12e0a0 | 75 6e 74 49 6d 70 61 63 74 3b 0a 20 20 20 20 20 20 74 62 6f 2e 72 6f 77 43 6f 75 6e 74 43 68 61 | untImpact;.......tbo.rowCountCha |
12e0c0 | 6e 67 65 64 28 63 69 2c 20 72 6f 77 43 6f 75 6e 74 49 6d 70 61 63 74 29 3b 0a 20 20 20 20 20 20 | nged(ci,.rowCountImpact);....... |
12e0e0 | 69 66 20 28 69 6e 76 61 6c 69 64 61 74 65 52 6f 77 20 21 3d 20 2d 31 29 0a 20 20 20 20 20 20 20 | if.(invalidateRow.!=.-1)........ |
12e100 | 20 74 62 6f 2e 69 6e 76 61 6c 69 64 61 74 65 52 6f 77 28 69 6e 76 61 6c 69 64 61 74 65 52 6f 77 | .tbo.invalidateRow(invalidateRow |
12e120 | 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 76 61 72 20 72 61 | );.....}.....else.{.......var.ra |
12e140 | 6e 67 65 43 6f 75 6e 74 20 3d 20 73 65 6c 6e 2e 67 65 74 52 61 6e 67 65 43 6f 75 6e 74 28 29 3b | ngeCount.=.seln.getRangeCount(); |
12e160 | 0a 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 72 61 6e 67 65 | .......for.(var.i.=.0;.i.<.range |
12e180 | 43 6f 75 6e 74 3b 20 2b 2b 69 29 20 7b 0a 20 20 20 20 20 20 20 20 76 61 72 20 6d 69 6e 20 3d 20 | Count;.++i).{.........var.min.=. |
12e1a0 | 7b 7d 3b 20 76 61 72 20 6d 61 78 20 3d 20 7b 7d 3b 0a 20 20 20 20 20 20 20 20 73 65 6c 6e 2e 67 | {};.var.max.=.{};.........seln.g |
12e1c0 | 65 74 52 61 6e 67 65 41 74 28 69 2c 20 6d 69 6e 2c 20 6d 61 78 29 3b 0a 20 20 20 20 20 20 20 20 | etRangeAt(i,.min,.max);......... |
12e1e0 | 6e 65 78 74 53 65 6c 65 63 74 65 64 20 3d 20 6d 69 6e 2e 76 61 6c 75 65 3b 20 20 20 20 20 20 20 | nextSelected.=.min.value;....... |
12e200 | 20 0a 20 20 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 6a 20 3d 20 6d 69 6e 2e 76 61 6c 75 65 | ..........for.(var.j.=.min.value |
12e220 | 3b 20 6a 20 3c 3d 20 6d 61 78 2e 76 61 6c 75 65 3b 20 2b 2b 6a 29 20 7b 0a 20 20 20 20 20 20 20 | ;.j.<=.max.value;.++j).{........ |
12e240 | 20 20 20 64 65 6c 65 74 65 49 74 65 6d 73 2e 70 75 73 68 28 74 68 69 73 2e 5f 76 69 65 77 2e 5f | ...deleteItems.push(this._view._ |
12e260 | 67 65 74 49 74 65 6d 41 74 49 6e 64 65 78 28 6a 29 29 3b 0a 20 20 20 20 20 20 20 20 20 20 69 66 | getItemAtIndex(j));...........if |
12e280 | 20 28 21 74 68 69 73 2e 5f 76 69 65 77 2e 68 61 73 4e 65 78 74 53 69 62 6c 69 6e 67 28 2d 31 2c | .(!this._view.hasNextSibling(-1, |
12e2a0 | 20 6d 61 78 2e 76 61 6c 75 65 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 2d 2d 6e 65 78 74 53 | .max.value)).............--nextS |
12e2c0 | 65 6c 65 63 74 65 64 3b 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 76 61 72 20 64 | elected;.........}.........var.d |
12e2e0 | 65 6c 74 61 20 3d 20 6d 61 78 2e 76 61 6c 75 65 20 2d 20 6d 69 6e 2e 76 61 6c 75 65 20 2b 20 31 | elta.=.max.value.-.min.value.+.1 |
12e300 | 3b 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 76 69 65 77 2e 5f 72 65 6d 6f 76 65 49 74 65 6d | ;.........this._view._removeItem |
12e320 | 41 74 49 6e 64 65 78 28 6d 69 6e 2e 76 61 6c 75 65 2c 20 64 65 6c 74 61 29 3b 0a 20 20 20 20 20 | AtIndex(min.value,.delta);...... |
12e340 | 20 20 20 72 6f 77 43 6f 75 6e 74 49 6d 70 61 63 74 20 3d 20 2d 31 20 2a 20 64 65 6c 74 61 3b 0a | ...rowCountImpact.=.-1.*.delta;. |
12e360 | 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 76 69 65 77 2e 5f 72 6f 77 43 6f 75 6e 74 20 2b 3d 20 | ........this._view._rowCount.+=. |
12e380 | 72 6f 77 43 6f 75 6e 74 49 6d 70 61 63 74 3b 0a 20 20 20 20 20 20 20 20 74 62 6f 2e 72 6f 77 43 | rowCountImpact;.........tbo.rowC |
12e3a0 | 6f 75 6e 74 43 68 61 6e 67 65 64 28 6d 69 6e 2e 76 61 6c 75 65 2c 20 72 6f 77 43 6f 75 6e 74 49 | ountChanged(min.value,.rowCountI |
12e3c0 | 6d 70 61 63 74 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 20 20 20 20 0a 20 20 20 20 76 | mpact);.......}.....}..........v |
12e3e0 | 61 72 20 70 73 76 63 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d | ar.psvc.=.Components.classes["@m |
12e400 | 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 70 72 65 66 65 72 65 6e 63 65 73 2d 73 65 72 76 69 63 65 3b 31 | ozilla.org/preferences-service;1 |
12e420 | 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 | "]...........................get |
12e440 | 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 | Service(Components.interfaces.ns |
12e460 | 49 50 72 65 66 42 72 61 6e 63 68 29 3b 0a 20 20 20 20 76 61 72 20 62 6c 6f 63 6b 46 75 74 75 72 | IPrefBranch);.....var.blockFutur |
12e480 | 65 43 6f 6f 6b 69 65 73 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 69 66 20 28 70 73 76 63 2e 70 | eCookies.=.false;.....if.(psvc.p |
12e4a0 | 72 65 66 48 61 73 55 73 65 72 56 61 6c 75 65 28 22 6e 65 74 77 6f 72 6b 2e 63 6f 6f 6b 69 65 2e | refHasUserValue("network.cookie. |
12e4c0 | 62 6c 6f 63 6b 46 75 74 75 72 65 43 6f 6f 6b 69 65 73 22 29 29 0a 20 20 20 20 20 20 62 6c 6f 63 | blockFutureCookies")).......bloc |
12e4e0 | 6b 46 75 74 75 72 65 43 6f 6f 6b 69 65 73 20 3d 20 70 73 76 63 2e 67 65 74 42 6f 6f 6c 50 72 65 | kFutureCookies.=.psvc.getBoolPre |
12e500 | 66 28 22 6e 65 74 77 6f 72 6b 2e 63 6f 6f 6b 69 65 2e 62 6c 6f 63 6b 46 75 74 75 72 65 43 6f 6f | f("network.cookie.blockFutureCoo |
12e520 | 6b 69 65 73 22 29 3b 0a 20 20 20 20 66 6f 72 20 28 69 20 3d 20 30 3b 20 69 20 3c 20 64 65 6c 65 | kies");.....for.(i.=.0;.i.<.dele |
12e540 | 74 65 49 74 65 6d 73 2e 6c 65 6e 67 74 68 3b 20 2b 2b 69 29 20 7b 0a 20 20 20 20 20 20 76 61 72 | teItems.length;.++i).{.......var |
12e560 | 20 69 74 65 6d 20 3d 20 64 65 6c 65 74 65 49 74 65 6d 73 5b 69 5d 3b 0a 20 20 20 20 20 20 74 68 | .item.=.deleteItems[i];.......th |
12e580 | 69 73 2e 5f 63 6d 2e 72 65 6d 6f 76 65 28 69 74 65 6d 2e 68 6f 73 74 2c 20 69 74 65 6d 2e 6e 61 | is._cm.remove(item.host,.item.na |
12e5a0 | 6d 65 2c 20 69 74 65 6d 2e 70 61 74 68 2c 20 62 6c 6f 63 6b 46 75 74 75 72 65 43 6f 6f 6b 69 65 | me,.item.path,.blockFutureCookie |
12e5c0 | 73 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 0a 20 20 20 20 69 66 20 28 6e 65 78 74 53 65 6c 65 63 | s);.....}..........if.(nextSelec |
12e5e0 | 74 65 64 20 3c 20 30 29 0a 20 20 20 20 20 20 73 65 6c 6e 2e 63 6c 65 61 72 53 65 6c 65 63 74 69 | ted.<.0).......seln.clearSelecti |
12e600 | 6f 6e 28 29 3b 0a 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 73 65 6c 6e 2e 73 65 6c 65 | on();.....else.{.......seln.sele |
12e620 | 63 74 28 6e 65 78 74 53 65 6c 65 63 74 65 64 29 3b 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 74 72 | ct(nextSelected);.......this._tr |
12e640 | 65 65 2e 66 6f 63 75 73 28 29 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 20 20 0a 20 20 64 65 6c 65 | ee.focus();.....}...},......dele |
12e660 | 74 65 41 6c 6c 43 6f 6f 6b 69 65 73 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 | teAllCookies:.function.()...{... |
12e680 | 20 20 74 68 69 73 2e 5f 63 6d 2e 72 65 6d 6f 76 65 41 6c 6c 28 29 3b 0a 20 20 20 20 74 68 69 73 | ..this._cm.removeAll();.....this |
12e6a0 | 2e 5f 74 72 65 65 2e 66 6f 63 75 73 28 29 3b 0a 20 20 7d 2c 0a 20 20 0a 20 20 6f 6e 43 6f 6f 6b | ._tree.focus();...},......onCook |
12e6c0 | 69 65 4b 65 79 50 72 65 73 73 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 45 76 65 6e 74 29 0a 20 20 | ieKeyPress:.function.(aEvent)... |
12e6e0 | 7b 0a 20 20 20 20 69 66 20 28 61 45 76 65 6e 74 2e 6b 65 79 43 6f 64 65 20 3d 3d 20 34 36 29 0a | {.....if.(aEvent.keyCode.==.46). |
12e700 | 20 20 20 20 20 20 74 68 69 73 2e 64 65 6c 65 74 65 43 6f 6f 6b 69 65 28 29 3b 0a 20 20 7d 2c 0a | ......this.deleteCookie();...},. |
12e720 | 20 20 0a 20 20 5f 6c 61 73 74 53 6f 72 74 50 72 6f 70 65 72 74 79 20 3a 20 22 22 2c 0a 20 20 5f | ....._lastSortProperty.:."",..._ |
12e740 | 6c 61 73 74 53 6f 72 74 41 73 63 65 6e 64 69 6e 67 3a 20 66 61 6c 73 65 2c 0a 20 20 73 6f 72 74 | lastSortAscending:.false,...sort |
12e760 | 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 50 72 6f 70 65 72 74 79 29 20 0a 20 20 7b 0a 20 20 20 20 | :.function.(aProperty)....{..... |
12e780 | 76 61 72 20 61 73 63 65 6e 64 69 6e 67 20 3d 20 28 61 50 72 6f 70 65 72 74 79 20 3d 3d 20 74 68 | var.ascending.=.(aProperty.==.th |
12e7a0 | 69 73 2e 5f 6c 61 73 74 53 6f 72 74 50 72 6f 70 65 72 74 79 29 20 3f 20 21 74 68 69 73 2e 5f 6c | is._lastSortProperty).?.!this._l |
12e7c0 | 61 73 74 53 6f 72 74 41 73 63 65 6e 64 69 6e 67 20 3a 20 74 72 75 65 3b 0a 20 20 20 20 2f 2f 20 | astSortAscending.:.true;.....//. |
12e7e0 | 53 6f 72 74 20 74 68 65 20 4e 6f 6e 2d 46 69 6c 74 65 72 65 64 20 48 6f 73 74 20 43 6f 6c 6c 65 | Sort.the.Non-Filtered.Host.Colle |
12e800 | 63 74 69 6f 6e 73 0a 20 20 20 20 69 66 20 28 61 50 72 6f 70 65 72 74 79 20 3d 3d 20 22 72 61 77 | ctions.....if.(aProperty.==."raw |
12e820 | 48 6f 73 74 22 29 20 7b 0a 20 20 20 20 20 20 66 75 6e 63 74 69 6f 6e 20 73 6f 72 74 42 79 48 6f | Host").{.......function.sortByHo |
12e840 | 73 74 28 61 2c 20 62 29 0a 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 | st(a,.b).......{.........return. |
12e860 | 61 2e 74 6f 4c 6f 77 65 72 43 61 73 65 28 29 2e 6c 6f 63 61 6c 65 43 6f 6d 70 61 72 65 28 62 2e | a.toLowerCase().localeCompare(b. |
12e880 | 74 6f 4c 6f 77 65 72 43 61 73 65 28 29 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 74 68 | toLowerCase());.......}.......th |
12e8a0 | 69 73 2e 5f 68 6f 73 74 4f 72 64 65 72 2e 73 6f 72 74 28 73 6f 72 74 42 79 48 6f 73 74 29 3b 0a | is._hostOrder.sort(sortByHost);. |
12e8c0 | 20 20 20 20 20 20 69 66 20 28 21 61 73 63 65 6e 64 69 6e 67 29 0a 20 20 20 20 20 20 20 20 74 68 | ......if.(!ascending).........th |
12e8e0 | 69 73 2e 5f 68 6f 73 74 4f 72 64 65 72 2e 72 65 76 65 72 73 65 28 29 3b 0a 20 20 20 20 7d 0a 20 | is._hostOrder.reverse();.....}.. |
12e900 | 20 20 20 20 20 20 20 0a 20 20 20 20 66 75 6e 63 74 69 6f 6e 20 73 6f 72 74 42 79 50 72 6f 70 65 | ............function.sortByPrope |
12e920 | 72 74 79 28 61 2c 20 62 29 20 0a 20 20 20 20 7b 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 61 5b | rty(a,.b)......{.......return.a[ |
12e940 | 61 50 72 6f 70 65 72 74 79 5d 2e 74 6f 4c 6f 77 65 72 43 61 73 65 28 29 2e 6c 6f 63 61 6c 65 43 | aProperty].toLowerCase().localeC |
12e960 | 6f 6d 70 61 72 65 28 62 5b 61 50 72 6f 70 65 72 74 79 5d 2e 74 6f 4c 6f 77 65 72 43 61 73 65 28 | ompare(b[aProperty].toLowerCase( |
12e980 | 29 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 66 6f 72 20 28 76 61 72 20 68 6f 73 74 20 69 6e 20 74 | ));.....}.....for.(var.host.in.t |
12e9a0 | 68 69 73 2e 5f 68 6f 73 74 73 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 63 6f 6f 6b 69 65 73 20 | his._hosts).{.......var.cookies. |
12e9c0 | 3d 20 74 68 69 73 2e 5f 68 6f 73 74 73 5b 68 6f 73 74 5d 2e 63 6f 6f 6b 69 65 73 3b 0a 20 20 20 | =.this._hosts[host].cookies;.... |
12e9e0 | 20 20 20 63 6f 6f 6b 69 65 73 2e 73 6f 72 74 28 73 6f 72 74 42 79 50 72 6f 70 65 72 74 79 29 3b | ...cookies.sort(sortByProperty); |
12ea00 | 0a 20 20 20 20 20 20 69 66 20 28 21 61 73 63 65 6e 64 69 6e 67 29 0a 20 20 20 20 20 20 20 20 63 | .......if.(!ascending).........c |
12ea20 | 6f 6f 6b 69 65 73 2e 72 65 76 65 72 73 65 28 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 2f 2f 20 53 | ookies.reverse();.....}.....//.S |
12ea40 | 6f 72 74 20 74 68 65 20 46 69 6c 74 65 72 65 64 20 4c 69 73 74 2c 20 69 66 20 69 6e 20 46 69 6c | ort.the.Filtered.List,.if.in.Fil |
12ea60 | 74 65 72 65 64 20 6d 6f 64 65 0a 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 76 69 65 77 2e 5f 66 | tered.mode.....if.(this._view._f |
12ea80 | 69 6c 74 65 72 65 64 29 20 7b 20 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 76 69 65 77 2e 5f 66 69 | iltered).{........this._view._fi |
12eaa0 | 6c 74 65 72 53 65 74 2e 73 6f 72 74 28 73 6f 72 74 42 79 50 72 6f 70 65 72 74 79 29 3b 0a 20 20 | lterSet.sort(sortByProperty);... |
12eac0 | 20 20 20 20 69 66 20 28 21 61 73 63 65 6e 64 69 6e 67 29 0a 20 20 20 20 20 20 20 20 74 68 69 73 | ....if.(!ascending).........this |
12eae0 | 2e 5f 76 69 65 77 2e 5f 66 69 6c 74 65 72 53 65 74 2e 72 65 76 65 72 73 65 28 29 3b 0a 20 20 20 | ._view._filterSet.reverse();.... |
12eb00 | 20 7d 0a 0a 20 20 20 20 74 68 69 73 2e 5f 76 69 65 77 2e 5f 69 6e 76 61 6c 69 64 61 74 65 43 61 | .}......this._view._invalidateCa |
12eb20 | 63 68 65 28 30 29 3b 0a 20 20 20 20 74 68 69 73 2e 5f 76 69 65 77 2e 73 65 6c 65 63 74 69 6f 6e | che(0);.....this._view.selection |
12eb40 | 2e 63 6c 65 61 72 53 65 6c 65 63 74 69 6f 6e 28 29 3b 0a 20 20 20 20 74 68 69 73 2e 5f 76 69 65 | .clearSelection();.....this._vie |
12eb60 | 77 2e 73 65 6c 65 63 74 69 6f 6e 2e 73 65 6c 65 63 74 28 30 29 3b 0a 20 20 20 20 74 68 69 73 2e | w.selection.select(0);.....this. |
12eb80 | 5f 74 72 65 65 2e 74 72 65 65 42 6f 78 4f 62 6a 65 63 74 2e 69 6e 76 61 6c 69 64 61 74 65 28 29 | _tree.treeBoxObject.invalidate() |
12eba0 | 3b 0a 20 20 20 20 74 68 69 73 2e 5f 74 72 65 65 2e 74 72 65 65 42 6f 78 4f 62 6a 65 63 74 2e 65 | ;.....this._tree.treeBoxObject.e |
12ebc0 | 6e 73 75 72 65 52 6f 77 49 73 56 69 73 69 62 6c 65 28 30 29 3b 0a 0a 20 20 20 20 74 68 69 73 2e | nsureRowIsVisible(0);......this. |
12ebe0 | 5f 6c 61 73 74 53 6f 72 74 41 73 63 65 6e 64 69 6e 67 20 3d 20 61 73 63 65 6e 64 69 6e 67 3b 0a | _lastSortAscending.=.ascending;. |
12ec00 | 20 20 20 20 74 68 69 73 2e 5f 6c 61 73 74 53 6f 72 74 50 72 6f 70 65 72 74 79 20 3d 20 61 50 72 | ....this._lastSortProperty.=.aPr |
12ec20 | 6f 70 65 72 74 79 3b 0a 20 20 7d 2c 0a 20 20 0a 20 20 63 6c 65 61 72 46 69 6c 74 65 72 3a 20 66 | operty;...},......clearFilter:.f |
12ec40 | 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 2f 2f 20 52 65 76 65 72 74 20 74 6f 20 | unction.()...{.....//.Revert.to. |
12ec60 | 73 69 6e 67 6c 65 2d 73 65 6c 65 63 74 20 69 6e 20 74 68 65 20 74 72 65 65 0a 20 20 20 20 74 68 | single-select.in.the.tree.....th |
12ec80 | 69 73 2e 5f 74 72 65 65 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 73 65 6c 74 79 70 65 22 2c | is._tree.setAttribute("seltype", |
12eca0 | 20 22 73 69 6e 67 6c 65 22 29 3b 0a 20 20 20 20 0a 20 20 20 20 2f 2f 20 43 6c 65 61 72 20 74 68 | ."single");..........//.Clear.th |
12ecc0 | 65 20 54 72 65 65 20 44 69 73 70 6c 61 79 0a 20 20 20 20 74 68 69 73 2e 5f 76 69 65 77 2e 5f 66 | e.Tree.Display.....this._view._f |
12ece0 | 69 6c 74 65 72 65 64 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 74 68 69 73 2e 5f 76 69 65 77 2e | iltered.=.false;.....this._view. |
12ed00 | 5f 72 6f 77 43 6f 75 6e 74 20 3d 20 30 3b 0a 20 20 20 20 74 68 69 73 2e 5f 74 72 65 65 2e 74 72 | _rowCount.=.0;.....this._tree.tr |
12ed20 | 65 65 42 6f 78 4f 62 6a 65 63 74 2e 72 6f 77 43 6f 75 6e 74 43 68 61 6e 67 65 64 28 30 2c 20 2d | eeBoxObject.rowCountChanged(0,.- |
12ed40 | 74 68 69 73 2e 5f 76 69 65 77 2e 5f 66 69 6c 74 65 72 53 65 74 2e 6c 65 6e 67 74 68 29 3b 0a 20 | this._view._filterSet.length);.. |
12ed60 | 20 20 20 74 68 69 73 2e 5f 76 69 65 77 2e 5f 66 69 6c 74 65 72 53 65 74 20 3d 20 5b 5d 3b 0a 0a | ...this._view._filterSet.=.[];.. |
12ed80 | 20 20 20 20 2f 2f 20 4a 75 73 74 20 72 65 6c 6f 61 64 20 74 68 65 20 6c 69 73 74 20 74 6f 20 6d | ....//.Just.reload.the.list.to.m |
12eda0 | 61 6b 65 20 73 75 72 65 20 64 65 6c 65 74 69 6f 6e 73 20 61 72 65 20 72 65 73 70 65 63 74 65 64 | ake.sure.deletions.are.respected |
12edc0 | 0a 20 20 20 20 74 68 69 73 2e 5f 6c 6f 61 64 43 6f 6f 6b 69 65 73 28 29 3b 0a 20 20 20 20 74 68 | .....this._loadCookies();.....th |
12ede0 | 69 73 2e 5f 74 72 65 65 2e 74 72 65 65 42 6f 78 4f 62 6a 65 63 74 2e 76 69 65 77 20 3d 20 74 68 | is._tree.treeBoxObject.view.=.th |
12ee00 | 69 73 2e 5f 76 69 65 77 3b 0a 20 20 20 20 0a 20 20 20 20 2f 2f 20 52 65 73 74 6f 72 65 20 73 6f | is._view;..........//.Restore.so |
12ee20 | 72 74 20 6f 72 64 65 72 0a 20 20 20 20 76 61 72 20 73 6f 72 74 62 79 20 3d 20 74 68 69 73 2e 5f | rt.order.....var.sortby.=.this._ |
12ee40 | 6c 61 73 74 53 6f 72 74 50 72 6f 70 65 72 74 79 3b 0a 20 20 20 20 69 66 20 28 73 6f 72 74 62 79 | lastSortProperty;.....if.(sortby |
12ee60 | 20 3d 3d 20 22 22 29 20 7b 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 6c 61 73 74 53 6f 72 74 41 73 | .==."").{.......this._lastSortAs |
12ee80 | 63 65 6e 64 69 6e 67 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 20 74 68 69 73 2e 73 6f 72 74 | cending.=.false;.......this.sort |
12eea0 | 28 22 72 61 77 48 6f 73 74 22 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 | ("rawHost");.....}.....else.{... |
12eec0 | 20 20 20 20 74 68 69 73 2e 5f 6c 61 73 74 53 6f 72 74 41 73 63 65 6e 64 69 6e 67 20 3d 20 21 74 | ....this._lastSortAscending.=.!t |
12eee0 | 68 69 73 2e 5f 6c 61 73 74 53 6f 72 74 41 73 63 65 6e 64 69 6e 67 3b 0a 20 20 20 20 20 20 74 68 | his._lastSortAscending;.......th |
12ef00 | 69 73 2e 73 6f 72 74 28 73 6f 72 74 62 79 29 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 2f 2f 20 52 | is.sort(sortby);.....}......//.R |
12ef20 | 65 73 74 6f 72 65 20 6f 70 65 6e 20 73 74 61 74 65 0a 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 | estore.open.state.....for.(var.i |
12ef40 | 20 3d 20 30 3b 20 69 20 3c 20 74 68 69 73 2e 5f 6f 70 65 6e 49 6e 64 69 63 65 73 2e 6c 65 6e 67 | .=.0;.i.<.this._openIndices.leng |
12ef60 | 74 68 3b 20 2b 2b 69 29 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 76 69 65 77 2e 74 6f 67 67 6c 65 | th;.++i).......this._view.toggle |
12ef80 | 4f 70 65 6e 53 74 61 74 65 28 74 68 69 73 2e 5f 6f 70 65 6e 49 6e 64 69 63 65 73 5b 69 5d 29 3b | OpenState(this._openIndices[i]); |
12efa0 | 0a 20 20 20 20 74 68 69 73 2e 5f 6f 70 65 6e 49 6e 64 69 63 65 73 20 3d 20 5b 5d 3b 0a 20 20 20 | .....this._openIndices.=.[];.... |
12efc0 | 20 0a 20 20 20 20 2f 2f 20 52 65 73 74 6f 72 65 20 73 65 6c 65 63 74 69 6f 6e 0a 20 20 20 20 74 | ......//.Restore.selection.....t |
12efe0 | 68 69 73 2e 5f 76 69 65 77 2e 73 65 6c 65 63 74 69 6f 6e 2e 63 6c 65 61 72 53 65 6c 65 63 74 69 | his._view.selection.clearSelecti |
12f000 | 6f 6e 28 29 3b 0a 20 20 20 20 66 6f 72 20 28 69 20 3d 20 30 3b 20 69 20 3c 20 74 68 69 73 2e 5f | on();.....for.(i.=.0;.i.<.this._ |
12f020 | 6c 61 73 74 53 65 6c 65 63 74 65 64 52 61 6e 67 65 73 2e 6c 65 6e 67 74 68 3b 20 2b 2b 69 29 20 | lastSelectedRanges.length;.++i). |
12f040 | 7b 0a 20 20 20 20 20 20 76 61 72 20 72 61 6e 67 65 20 3d 20 74 68 69 73 2e 5f 6c 61 73 74 53 65 | {.......var.range.=.this._lastSe |
12f060 | 6c 65 63 74 65 64 52 61 6e 67 65 73 5b 69 5d 3b 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 76 69 65 | lectedRanges[i];.......this._vie |
12f080 | 77 2e 73 65 6c 65 63 74 69 6f 6e 2e 72 61 6e 67 65 64 53 65 6c 65 63 74 28 72 61 6e 67 65 2e 6d | w.selection.rangedSelect(range.m |
12f0a0 | 69 6e 2c 20 72 61 6e 67 65 2e 6d 61 78 2c 20 74 72 75 65 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 | in,.range.max,.true);.....}..... |
12f0c0 | 74 68 69 73 2e 5f 6c 61 73 74 53 65 6c 65 63 74 65 64 52 61 6e 67 65 73 20 3d 20 5b 5d 3b 0a 0a | this._lastSelectedRanges.=.[];.. |
12f0e0 | 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 63 6f 6f | ....document.getElementById("coo |
12f100 | 6b 69 65 73 49 6e 74 72 6f 22 29 2e 76 61 6c 75 65 20 3d 20 74 68 69 73 2e 5f 62 75 6e 64 6c 65 | kiesIntro").value.=.this._bundle |
12f120 | 2e 67 65 74 53 74 72 69 6e 67 28 22 63 6f 6f 6b 69 65 73 41 6c 6c 22 29 3b 0a 20 20 7d 2c 0a 20 | .getString("cookiesAll");...},.. |
12f140 | 20 0a 20 20 5f 63 6f 6f 6b 69 65 4d 61 74 63 68 65 73 46 69 6c 74 65 72 3a 20 66 75 6e 63 74 69 | ...._cookieMatchesFilter:.functi |
12f160 | 6f 6e 20 28 61 43 6f 6f 6b 69 65 29 0a 20 20 7b 0a 20 20 20 20 72 65 74 75 72 6e 20 61 43 6f 6f | on.(aCookie)...{.....return.aCoo |
12f180 | 6b 69 65 2e 72 61 77 48 6f 73 74 2e 69 6e 64 65 78 4f 66 28 74 68 69 73 2e 5f 76 69 65 77 2e 5f | kie.rawHost.indexOf(this._view._ |
12f1a0 | 66 69 6c 74 65 72 56 61 6c 75 65 29 20 21 3d 20 2d 31 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 | filterValue).!=.-1.||........... |
12f1c0 | 20 61 43 6f 6f 6b 69 65 2e 6e 61 6d 65 2e 69 6e 64 65 78 4f 66 28 74 68 69 73 2e 5f 76 69 65 77 | .aCookie.name.indexOf(this._view |
12f1e0 | 2e 5f 66 69 6c 74 65 72 56 61 6c 75 65 29 20 21 3d 20 2d 31 20 7c 7c 20 0a 20 20 20 20 20 20 20 | ._filterValue).!=.-1.||......... |
12f200 | 20 20 20 20 61 43 6f 6f 6b 69 65 2e 76 61 6c 75 65 2e 69 6e 64 65 78 4f 66 28 74 68 69 73 2e 5f | ....aCookie.value.indexOf(this._ |
12f220 | 76 69 65 77 2e 5f 66 69 6c 74 65 72 56 61 6c 75 65 29 20 21 3d 20 2d 31 3b 0a 20 20 7d 2c 0a 20 | view._filterValue).!=.-1;...},.. |
12f240 | 20 0a 20 20 5f 66 69 6c 74 65 72 43 6f 6f 6b 69 65 73 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 46 | ...._filterCookies:.function.(aF |
12f260 | 69 6c 74 65 72 56 61 6c 75 65 29 0a 20 20 7b 0a 20 20 20 20 74 68 69 73 2e 5f 76 69 65 77 2e 5f | ilterValue)...{.....this._view._ |
12f280 | 66 69 6c 74 65 72 56 61 6c 75 65 20 3d 20 61 46 69 6c 74 65 72 56 61 6c 75 65 3b 0a 20 20 20 20 | filterValue.=.aFilterValue;..... |
12f2a0 | 76 61 72 20 63 6f 6f 6b 69 65 73 20 3d 20 5b 5d 3b 0a 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 | var.cookies.=.[];.....for.(var.i |
12f2c0 | 20 3d 20 30 3b 20 69 20 3c 20 67 43 6f 6f 6b 69 65 73 57 69 6e 64 6f 77 2e 5f 68 6f 73 74 4f 72 | .=.0;.i.<.gCookiesWindow._hostOr |
12f2e0 | 64 65 72 2e 6c 65 6e 67 74 68 3b 20 2b 2b 69 29 20 7b 20 2f 2f 76 61 72 20 68 6f 73 74 20 69 6e | der.length;.++i).{.//var.host.in |
12f300 | 20 67 43 6f 6f 6b 69 65 73 57 69 6e 64 6f 77 2e 5f 68 6f 73 74 73 29 20 7b 0a 20 20 20 20 20 20 | .gCookiesWindow._hosts).{....... |
12f320 | 76 61 72 20 63 75 72 72 48 6f 73 74 20 3d 20 67 43 6f 6f 6b 69 65 73 57 69 6e 64 6f 77 2e 5f 68 | var.currHost.=.gCookiesWindow._h |
12f340 | 6f 73 74 73 5b 67 43 6f 6f 6b 69 65 73 57 69 6e 64 6f 77 2e 5f 68 6f 73 74 4f 72 64 65 72 5b 69 | osts[gCookiesWindow._hostOrder[i |
12f360 | 5d 5d 3b 20 2f 2f 20 67 43 6f 6f 6b 69 65 73 57 69 6e 64 6f 77 2e 5f 68 6f 73 74 73 5b 68 6f 73 | ]];.//.gCookiesWindow._hosts[hos |
12f380 | 74 5d 3b 0a 20 20 20 20 20 20 69 66 20 28 21 63 75 72 72 48 6f 73 74 29 20 63 6f 6e 74 69 6e 75 | t];.......if.(!currHost).continu |
12f3a0 | 65 3b 0a 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 6a 20 3d 20 30 3b 20 6a 20 3c 20 63 75 72 | e;.......for.(var.j.=.0;.j.<.cur |
12f3c0 | 72 48 6f 73 74 2e 63 6f 6f 6b 69 65 73 2e 6c 65 6e 67 74 68 3b 20 2b 2b 6a 29 20 7b 0a 20 20 20 | rHost.cookies.length;.++j).{.... |
12f3e0 | 20 20 20 20 20 76 61 72 20 63 6f 6f 6b 69 65 20 3d 20 63 75 72 72 48 6f 73 74 2e 63 6f 6f 6b 69 | .....var.cookie.=.currHost.cooki |
12f400 | 65 73 5b 6a 5d 3b 0a 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 63 6f 6f 6b 69 65 4d | es[j];.........if.(this._cookieM |
12f420 | 61 74 63 68 65 73 46 69 6c 74 65 72 28 63 6f 6f 6b 69 65 29 29 0a 20 20 20 20 20 20 20 20 20 20 | atchesFilter(cookie))........... |
12f440 | 63 6f 6f 6b 69 65 73 2e 70 75 73 68 28 63 6f 6f 6b 69 65 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 | cookies.push(cookie);.......}... |
12f460 | 20 20 7d 0a 20 20 20 20 72 65 74 75 72 6e 20 63 6f 6f 6b 69 65 73 3b 0a 20 20 7d 2c 0a 20 20 0a | ..}.....return.cookies;...},.... |
12f480 | 20 20 5f 6c 61 73 74 53 65 6c 65 63 74 65 64 52 61 6e 67 65 73 3a 20 5b 5d 2c 0a 20 20 5f 6f 70 | .._lastSelectedRanges:.[],..._op |
12f4a0 | 65 6e 49 6e 64 69 63 65 73 3a 20 5b 5d 2c 0a 20 20 5f 73 61 76 65 53 74 61 74 65 3a 20 66 75 6e | enIndices:.[],..._saveState:.fun |
12f4c0 | 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 2f 2f 20 53 61 76 65 20 73 65 6c 65 63 74 69 | ction.()...{.....//.Save.selecti |
12f4e0 | 6f 6e 0a 20 20 20 20 76 61 72 20 73 65 6c 6e 20 3d 20 74 68 69 73 2e 5f 76 69 65 77 2e 73 65 6c | on.....var.seln.=.this._view.sel |
12f500 | 65 63 74 69 6f 6e 3b 0a 20 20 20 20 74 68 69 73 2e 5f 6c 61 73 74 53 65 6c 65 63 74 65 64 52 61 | ection;.....this._lastSelectedRa |
12f520 | 6e 67 65 73 20 3d 20 5b 5d 3b 0a 20 20 20 20 76 61 72 20 72 61 6e 67 65 43 6f 75 6e 74 20 3d 20 | nges.=.[];.....var.rangeCount.=. |
12f540 | 73 65 6c 6e 2e 67 65 74 52 61 6e 67 65 43 6f 75 6e 74 28 29 3b 0a 20 20 20 20 66 6f 72 20 28 76 | seln.getRangeCount();.....for.(v |
12f560 | 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 72 61 6e 67 65 43 6f 75 6e 74 3b 20 2b 2b 69 29 20 7b | ar.i.=.0;.i.<.rangeCount;.++i).{ |
12f580 | 0a 20 20 20 20 20 20 76 61 72 20 6d 69 6e 20 3d 20 7b 7d 3b 20 76 61 72 20 6d 61 78 20 3d 20 7b | .......var.min.=.{};.var.max.=.{ |
12f5a0 | 7d 3b 0a 20 20 20 20 20 20 73 65 6c 6e 2e 67 65 74 52 61 6e 67 65 41 74 28 69 2c 20 6d 69 6e 2c | };.......seln.getRangeAt(i,.min, |
12f5c0 | 20 6d 61 78 29 3b 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 6c 61 73 74 53 65 6c 65 63 74 65 64 52 | .max);.......this._lastSelectedR |
12f5e0 | 61 6e 67 65 73 2e 70 75 73 68 28 7b 20 6d 69 6e 3a 20 6d 69 6e 2e 76 61 6c 75 65 2c 20 6d 61 78 | anges.push({.min:.min.value,.max |
12f600 | 3a 20 6d 61 78 2e 76 61 6c 75 65 20 7d 29 3b 0a 20 20 20 20 7d 0a 20 20 0a 20 20 20 20 2f 2f 20 | :.max.value.});.....}........//. |
12f620 | 53 61 76 65 20 6f 70 65 6e 20 73 74 61 74 65 73 0a 20 20 20 20 74 68 69 73 2e 5f 6f 70 65 6e 49 | Save.open.states.....this._openI |
12f640 | 6e 64 69 63 65 73 20 3d 20 5b 5d 3b 0a 20 20 20 20 66 6f 72 20 28 69 20 3d 20 30 3b 20 69 20 3c | ndices.=.[];.....for.(i.=.0;.i.< |
12f660 | 20 74 68 69 73 2e 5f 76 69 65 77 2e 72 6f 77 43 6f 75 6e 74 3b 20 2b 2b 69 29 20 7b 0a 20 20 20 | .this._view.rowCount;.++i).{.... |
12f680 | 20 20 20 76 61 72 20 69 74 65 6d 20 3d 20 74 68 69 73 2e 5f 76 69 65 77 2e 5f 67 65 74 49 74 65 | ...var.item.=.this._view._getIte |
12f6a0 | 6d 41 74 49 6e 64 65 78 28 69 29 3b 0a 20 20 20 20 20 20 69 66 20 28 69 74 65 6d 20 26 26 20 69 | mAtIndex(i);.......if.(item.&&.i |
12f6c0 | 74 65 6d 2e 63 6f 6e 74 61 69 6e 65 72 20 26 26 20 69 74 65 6d 2e 6f 70 65 6e 29 0a 20 20 20 20 | tem.container.&&.item.open)..... |
12f6e0 | 20 20 20 20 74 68 69 73 2e 5f 6f 70 65 6e 49 6e 64 69 63 65 73 2e 70 75 73 68 28 69 29 3b 0a 20 | ....this._openIndices.push(i);.. |
12f700 | 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 66 69 6c 74 65 72 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 | ...}...},....filter:.function.() |
12f720 | 0a 20 20 7b 0a 20 20 20 20 76 61 72 20 66 69 6c 74 65 72 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 | ...{.....var.filter.=.document.g |
12f740 | 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 66 69 6c 74 65 72 22 29 2e 76 61 6c 75 65 3b 0a 20 | etElementById("filter").value;.. |
12f760 | 20 20 20 69 66 20 28 66 69 6c 74 65 72 20 3d 3d 20 22 22 29 20 7b 0a 20 20 20 20 20 20 67 43 6f | ...if.(filter.==."").{.......gCo |
12f780 | 6f 6b 69 65 73 57 69 6e 64 6f 77 2e 63 6c 65 61 72 46 69 6c 74 65 72 28 29 3b 0a 20 20 20 20 20 | okiesWindow.clearFilter();...... |
12f7a0 | 20 72 65 74 75 72 6e 3b 0a 20 20 20 20 7d 0a 20 20 20 20 76 61 72 20 76 69 65 77 20 3d 20 67 43 | .return;.....}.....var.view.=.gC |
12f7c0 | 6f 6f 6b 69 65 73 57 69 6e 64 6f 77 2e 5f 76 69 65 77 3b 0a 20 20 20 20 76 69 65 77 2e 5f 66 69 | ookiesWindow._view;.....view._fi |
12f7e0 | 6c 74 65 72 53 65 74 20 3d 20 67 43 6f 6f 6b 69 65 73 57 69 6e 64 6f 77 2e 5f 66 69 6c 74 65 72 | lterSet.=.gCookiesWindow._filter |
12f800 | 43 6f 6f 6b 69 65 73 28 66 69 6c 74 65 72 29 3b 0a 20 20 20 20 69 66 20 28 21 76 69 65 77 2e 5f | Cookies(filter);.....if.(!view._ |
12f820 | 66 69 6c 74 65 72 65 64 29 20 7b 0a 20 20 20 20 20 20 2f 2f 20 53 61 76 65 20 44 69 73 70 6c 61 | filtered).{.......//.Save.Displa |
12f840 | 79 20 49 6e 66 6f 20 66 6f 72 20 74 68 65 20 4e 6f 6e 2d 46 69 6c 74 65 72 65 64 20 6d 6f 64 65 | y.Info.for.the.Non-Filtered.mode |
12f860 | 20 77 68 65 6e 20 77 65 20 66 69 72 73 74 0a 20 20 20 20 20 20 2f 2f 20 65 6e 74 65 72 20 46 69 | .when.we.first.......//.enter.Fi |
12f880 | 6c 74 65 72 65 64 20 6d 6f 64 65 2e 0a 20 20 20 20 20 20 67 43 6f 6f 6b 69 65 73 57 69 6e 64 6f | ltered.mode........gCookiesWindo |
12f8a0 | 77 2e 5f 73 61 76 65 53 74 61 74 65 28 29 3b 0a 20 20 20 20 20 20 76 69 65 77 2e 5f 66 69 6c 74 | w._saveState();.......view._filt |
12f8c0 | 65 72 65 64 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 7d 0a 20 20 20 20 2f 2f 20 4d 6f 76 65 20 74 | ered.=.true;.....}.....//.Move.t |
12f8e0 | 6f 20 6d 75 6c 74 69 2d 73 65 6c 65 63 74 20 69 6e 20 74 68 65 20 74 72 65 65 0a 20 20 20 20 67 | o.multi-select.in.the.tree.....g |
12f900 | 43 6f 6f 6b 69 65 73 57 69 6e 64 6f 77 2e 5f 74 72 65 65 2e 73 65 74 41 74 74 72 69 62 75 74 65 | CookiesWindow._tree.setAttribute |
12f920 | 28 22 73 65 6c 74 79 70 65 22 2c 20 22 6d 75 6c 74 69 70 6c 65 22 29 3b 0a 0a 20 20 20 20 2f 2f | ("seltype",."multiple");......// |
12f940 | 20 43 6c 65 61 72 20 74 68 65 20 64 69 73 70 6c 61 79 0a 20 20 20 20 76 61 72 20 6f 6c 64 43 6f | .Clear.the.display.....var.oldCo |
12f960 | 75 6e 74 20 3d 20 76 69 65 77 2e 5f 72 6f 77 43 6f 75 6e 74 3b 0a 20 20 20 20 76 69 65 77 2e 5f | unt.=.view._rowCount;.....view._ |
12f980 | 72 6f 77 43 6f 75 6e 74 20 3d 20 30 3b 0a 20 20 20 20 67 43 6f 6f 6b 69 65 73 57 69 6e 64 6f 77 | rowCount.=.0;.....gCookiesWindow |
12f9a0 | 2e 5f 74 72 65 65 2e 74 72 65 65 42 6f 78 4f 62 6a 65 63 74 2e 72 6f 77 43 6f 75 6e 74 43 68 61 | ._tree.treeBoxObject.rowCountCha |
12f9c0 | 6e 67 65 64 28 30 2c 20 2d 6f 6c 64 43 6f 75 6e 74 29 3b 0a 20 20 20 20 2f 2f 20 53 65 74 20 75 | nged(0,.-oldCount);.....//.Set.u |
12f9e0 | 70 20 74 68 65 20 66 69 6c 74 65 72 65 64 20 64 69 73 70 6c 61 79 0a 20 20 20 20 76 69 65 77 2e | p.the.filtered.display.....view. |
12fa00 | 5f 72 6f 77 43 6f 75 6e 74 20 3d 20 76 69 65 77 2e 5f 66 69 6c 74 65 72 53 65 74 2e 6c 65 6e 67 | _rowCount.=.view._filterSet.leng |
12fa20 | 74 68 3b 0a 20 20 20 20 67 43 6f 6f 6b 69 65 73 57 69 6e 64 6f 77 2e 5f 74 72 65 65 2e 74 72 65 | th;.....gCookiesWindow._tree.tre |
12fa40 | 65 42 6f 78 4f 62 6a 65 63 74 2e 72 6f 77 43 6f 75 6e 74 43 68 61 6e 67 65 64 28 30 2c 20 76 69 | eBoxObject.rowCountChanged(0,.vi |
12fa60 | 65 77 2e 72 6f 77 43 6f 75 6e 74 29 3b 0a 0a 20 20 20 20 2f 2f 20 69 66 20 74 68 65 20 76 69 65 | ew.rowCount);......//.if.the.vie |
12fa80 | 77 20 69 73 20 6e 6f 74 20 65 6d 70 74 79 20 74 68 65 6e 20 73 65 6c 65 63 74 20 74 68 65 20 66 | w.is.not.empty.then.select.the.f |
12faa0 | 69 72 73 74 20 69 74 65 6d 0a 20 20 20 20 69 66 20 28 76 69 65 77 2e 72 6f 77 43 6f 75 6e 74 20 | irst.item.....if.(view.rowCount. |
12fac0 | 3e 20 30 29 0a 20 20 20 20 20 20 76 69 65 77 2e 73 65 6c 65 63 74 69 6f 6e 2e 73 65 6c 65 63 74 | >.0).......view.selection.select |
12fae0 | 28 30 29 3b 0a 0a 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 | (0);......document.getElementByI |
12fb00 | 64 28 22 63 6f 6f 6b 69 65 73 49 6e 74 72 6f 22 29 2e 76 61 6c 75 65 20 3d 20 67 43 6f 6f 6b 69 | d("cookiesIntro").value.=.gCooki |
12fb20 | 65 73 57 69 6e 64 6f 77 2e 5f 62 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 63 6f 6f 6b | esWindow._bundle.getString("cook |
12fb40 | 69 65 73 46 69 6c 74 65 72 65 64 22 29 3b 0a 20 20 7d 2c 0a 0a 20 20 73 65 74 46 69 6c 74 65 72 | iesFiltered");...},....setFilter |
12fb60 | 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 46 69 6c 74 65 72 53 74 72 69 6e 67 29 20 7b 0a 20 20 20 | :.function.(aFilterString).{.... |
12fb80 | 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 66 69 6c 74 65 72 | .document.getElementById("filter |
12fba0 | 22 29 2e 76 61 6c 75 65 20 3d 20 61 46 69 6c 74 65 72 53 74 72 69 6e 67 3b 0a 20 20 20 20 74 68 | ").value.=.aFilterString;.....th |
12fbc0 | 69 73 2e 66 69 6c 74 65 72 28 29 3b 0a 20 20 7d 2c 0a 0a 20 20 66 6f 63 75 73 46 69 6c 74 65 72 | is.filter();...},....focusFilter |
12fbe0 | 42 6f 78 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 76 61 72 20 66 69 6c | Box:.function.()...{.....var.fil |
12fc00 | 74 65 72 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 66 | ter.=.document.getElementById("f |
12fc20 | 69 6c 74 65 72 22 29 3b 0a 20 20 20 20 66 69 6c 74 65 72 2e 66 6f 63 75 73 28 29 3b 0a 20 20 20 | ilter");.....filter.focus();.... |
12fc40 | 20 66 69 6c 74 65 72 2e 73 65 6c 65 63 74 28 29 3b 0a 20 20 7d 0a 7d 3b 0a 50 4b 03 04 14 00 00 | .filter.select();...}.};.PK..... |
12fc60 | 00 00 00 f3 4b 18 3b 6b 72 ec 37 bb 1e 00 00 bb 1e 00 00 27 00 00 00 63 6f 6e 74 65 6e 74 2f 62 | ....K.;kr.7........'...content/b |
12fc80 | 72 6f 77 73 65 72 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 63 6f 6e 74 65 6e 74 2e 78 75 6c 3c 3f | rowser/preferences/content.xul<? |
12fca0 | 78 6d 6c 20 76 65 72 73 69 6f 6e 3d 22 31 2e 30 22 3f 3e 0a 0a 0a 3c 21 44 4f 43 54 59 50 45 20 | xml.version="1.0"?>...<!DOCTYPE. |
12fcc0 | 6f 76 65 72 6c 61 79 20 5b 0a 20 20 3c 21 45 4e 54 49 54 59 20 25 20 62 72 61 6e 64 44 54 44 20 | overlay.[...<!ENTITY.%.brandDTD. |
12fce0 | 53 59 53 54 45 4d 20 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 61 6e 64 69 6e 67 2f 6c 6f 63 61 6c 65 | SYSTEM."chrome://branding/locale |
12fd00 | 2f 62 72 61 6e 64 2e 64 74 64 22 3e 0a 20 20 3c 21 45 4e 54 49 54 59 20 25 20 63 6f 6e 74 65 6e | /brand.dtd">...<!ENTITY.%.conten |
12fd20 | 74 44 54 44 20 53 59 53 54 45 4d 20 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 6c 6f | tDTD.SYSTEM."chrome://browser/lo |
12fd40 | 63 61 6c 65 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 63 6f 6e 74 65 6e 74 2e 64 74 64 22 3e 0a 20 | cale/preferences/content.dtd">.. |
12fd60 | 20 25 62 72 61 6e 64 44 54 44 3b 0a 20 20 25 63 6f 6e 74 65 6e 74 44 54 44 3b 0a 5d 3e 0a 0a 3c | .%brandDTD;...%contentDTD;.]>..< |
12fd80 | 6f 76 65 72 6c 61 79 20 69 64 3d 22 43 6f 6e 74 65 6e 74 50 61 6e 65 4f 76 65 72 6c 61 79 22 0a | overlay.id="ContentPaneOverlay". |
12fda0 | 20 20 20 20 20 20 20 20 20 78 6d 6c 6e 73 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c | .........xmlns="http://www.mozil |
12fdc0 | 6c 61 2e 6f 72 67 2f 6b 65 79 6d 61 73 74 65 72 2f 67 61 74 65 6b 65 65 70 65 72 2f 74 68 65 72 | la.org/keymaster/gatekeeper/ther |
12fde0 | 65 2e 69 73 2e 6f 6e 6c 79 2e 78 75 6c 22 3e 0a 0a 20 20 3c 70 72 65 66 70 61 6e 65 20 69 64 3d | e.is.only.xul">....<prefpane.id= |
12fe00 | 22 70 61 6e 65 43 6f 6e 74 65 6e 74 22 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 70 61 6e | "paneContent"..............onpan |
12fe20 | 65 6c 6f 61 64 3d 22 67 43 6f 6e 74 65 6e 74 50 61 6e 65 2e 69 6e 69 74 28 29 3b 22 0a 20 20 20 | eload="gContentPane.init();".... |
12fe40 | 20 20 20 20 20 20 20 20 20 68 65 6c 70 54 6f 70 69 63 3d 22 70 72 65 66 73 2d 63 6f 6e 74 65 6e | .........helpTopic="prefs-conten |
12fe60 | 74 22 3e 0a 0a 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 73 20 69 64 3d 22 63 6f 6e 74 65 6e | t">......<preferences.id="conten |
12fe80 | 74 50 72 65 66 65 72 65 6e 63 65 73 22 3e 0a 20 20 20 20 20 20 3c 21 2d 2d 58 58 58 20 62 75 74 | tPreferences">.......<!--XXX.but |
12fea0 | 74 6f 6e 73 20 70 72 65 66 73 20 2d 2d 3e 0a 0a 20 20 20 20 20 20 3c 21 2d 2d 20 50 4f 50 55 50 | tons.prefs.-->........<!--.POPUP |
12fec0 | 53 2c 20 49 4d 41 47 45 53 2c 20 4a 41 56 41 53 43 52 49 50 54 20 2d 2d 3e 0a 20 20 20 20 20 20 | S,.IMAGES,.JAVASCRIPT.-->....... |
12fee0 | 3c 70 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 64 6f 6d 2e 64 69 73 61 62 6c 65 5f 6f 70 65 6e | <preference.id="dom.disable_open |
12ff00 | 5f 64 75 72 69 6e 67 5f 6c 6f 61 64 22 20 20 20 6e 61 6d 65 3d 22 64 6f 6d 2e 64 69 73 61 62 6c | _during_load"...name="dom.disabl |
12ff20 | 65 5f 6f 70 65 6e 5f 64 75 72 69 6e 67 5f 6c 6f 61 64 22 20 20 20 74 79 70 65 3d 22 62 6f 6f 6c | e_open_during_load"...type="bool |
12ff40 | 22 2f 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 70 65 72 6d 69 73 | "/>.......<preference.id="permis |
12ff60 | 73 69 6f 6e 73 2e 64 65 66 61 75 6c 74 2e 69 6d 61 67 65 22 20 20 20 20 20 20 6e 61 6d 65 3d 22 | sions.default.image"......name=" |
12ff80 | 70 65 72 6d 69 73 73 69 6f 6e 73 2e 64 65 66 61 75 6c 74 2e 69 6d 61 67 65 22 20 20 20 20 20 20 | permissions.default.image"...... |
12ffa0 | 74 79 70 65 3d 22 69 6e 74 22 2f 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 | type="int"/>.......<preference.i |
12ffc0 | 64 3d 22 6a 61 76 61 73 63 72 69 70 74 2e 65 6e 61 62 6c 65 64 22 20 20 20 20 20 20 20 20 20 20 | d="javascript.enabled".......... |
12ffe0 | 20 20 20 6e 61 6d 65 3d 22 6a 61 76 61 73 63 72 69 70 74 2e 65 6e 61 62 6c 65 64 22 20 20 20 20 | ...name="javascript.enabled".... |
130000 | 20 20 20 20 20 20 20 20 20 74 79 70 65 3d 22 62 6f 6f 6c 22 2f 3e 0a 20 20 20 20 20 20 3c 70 72 | .........type="bool"/>.......<pr |
130020 | 65 66 65 72 65 6e 63 65 20 69 64 3d 22 73 65 63 75 72 69 74 79 2e 65 6e 61 62 6c 65 5f 6a 61 76 | eference.id="security.enable_jav |
130040 | 61 22 20 20 20 20 20 20 20 20 20 20 20 6e 61 6d 65 3d 22 73 65 63 75 72 69 74 79 2e 65 6e 61 62 | a"...........name="security.enab |
130060 | 6c 65 5f 6a 61 76 61 22 20 20 20 20 20 20 20 20 20 20 20 74 79 70 65 3d 22 62 6f 6f 6c 22 2f 3e | le_java"...........type="bool"/> |
130080 | 0a 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 70 72 65 66 2e 61 64 76 | ........<preference.id="pref.adv |
1300a0 | 61 6e 63 65 64 2e 69 6d 61 67 65 73 2e 64 69 73 61 62 6c 65 5f 62 75 74 74 6f 6e 2e 76 69 65 77 | anced.images.disable_button.view |
1300c0 | 5f 69 6d 61 67 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 61 6d 65 3d 22 | _image"...................name=" |
1300e0 | 70 72 65 66 2e 61 64 76 61 6e 63 65 64 2e 69 6d 61 67 65 73 2e 64 69 73 61 62 6c 65 5f 62 75 74 | pref.advanced.images.disable_but |
130100 | 74 6f 6e 2e 76 69 65 77 5f 69 6d 61 67 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ton.view_image"................. |
130120 | 20 20 74 79 70 65 3d 22 62 6f 6f 6c 22 2f 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 | ..type="bool"/>.......<preferenc |
130140 | 65 20 69 64 3d 22 70 72 65 66 2e 61 64 76 61 6e 63 65 64 2e 6a 61 76 61 73 63 72 69 70 74 2e 64 | e.id="pref.advanced.javascript.d |
130160 | 69 73 61 62 6c 65 5f 62 75 74 74 6f 6e 2e 61 64 76 61 6e 63 65 64 22 0a 20 20 20 20 20 20 20 20 | isable_button.advanced"......... |
130180 | 20 20 20 20 20 20 20 20 20 20 6e 61 6d 65 3d 22 70 72 65 66 2e 61 64 76 61 6e 63 65 64 2e 6a 61 | ..........name="pref.advanced.ja |
1301a0 | 76 61 73 63 72 69 70 74 2e 64 69 73 61 62 6c 65 5f 62 75 74 74 6f 6e 2e 61 64 76 61 6e 63 65 64 | vascript.disable_button.advanced |
1301c0 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 79 70 65 3d 22 62 6f 6f 6c 22 2f | "...................type="bool"/ |
1301e0 | 3e 0a 0a 20 20 20 20 20 20 3c 21 2d 2d 20 46 4f 4e 54 53 20 2d 2d 3e 0a 20 20 20 20 20 20 3c 70 | >........<!--.FONTS.-->.......<p |
130200 | 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 66 6f 6e 74 2e 6c 61 6e 67 75 61 67 65 2e 67 72 6f 75 | reference.id="font.language.grou |
130220 | 70 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 61 6d 65 3d 22 66 6f 6e 74 2e | p"...................name="font. |
130240 | 6c 61 6e 67 75 61 67 65 2e 67 72 6f 75 70 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | language.group"................. |
130260 | 20 20 74 79 70 65 3d 22 77 73 74 72 69 6e 67 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ..type="wstring"................ |
130280 | 20 20 20 6f 6e 63 68 61 6e 67 65 3d 22 67 43 6f 6e 74 65 6e 74 50 61 6e 65 2e 5f 72 65 62 75 69 | ...onchange="gContentPane._rebui |
1302a0 | 6c 64 46 6f 6e 74 73 28 29 3b 22 2f 3e 0a 20 20 20 20 3c 2f 70 72 65 66 65 72 65 6e 63 65 73 3e | ldFonts();"/>.....</preferences> |
1302c0 | 0a 20 20 20 20 0a 20 20 20 20 3c 73 63 72 69 70 74 20 74 79 70 65 3d 22 61 70 70 6c 69 63 61 74 | ..........<script.type="applicat |
1302e0 | 69 6f 6e 2f 78 2d 6a 61 76 61 73 63 72 69 70 74 22 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f | ion/x-javascript".src="chrome:// |
130300 | 6d 6f 7a 61 70 70 73 2f 63 6f 6e 74 65 6e 74 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 66 6f 6e 74 | mozapps/content/preferences/font |
130320 | 62 75 69 6c 64 65 72 2e 6a 73 22 2f 3e 0a 20 20 20 20 3c 73 63 72 69 70 74 20 74 79 70 65 3d 22 | builder.js"/>.....<script.type=" |
130340 | 61 70 70 6c 69 63 61 74 69 6f 6e 2f 78 2d 6a 61 76 61 73 63 72 69 70 74 22 20 73 72 63 3d 22 63 | application/x-javascript".src="c |
130360 | 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 70 72 65 66 65 72 65 6e | hrome://browser/content/preferen |
130380 | 63 65 73 2f 63 6f 6e 74 65 6e 74 2e 6a 73 22 2f 3e 0a 0a 20 20 20 20 3c 73 74 72 69 6e 67 62 75 | ces/content.js"/>......<stringbu |
1303a0 | 6e 64 6c 65 20 69 64 3d 22 62 75 6e 64 6c 65 50 72 65 66 65 72 65 6e 63 65 73 22 20 73 72 63 3d | ndle.id="bundlePreferences".src= |
1303c0 | 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 6c 6f 63 61 6c 65 2f 70 72 65 66 65 72 65 | "chrome://browser/locale/prefere |
1303e0 | 6e 63 65 73 2f 70 72 65 66 65 72 65 6e 63 65 73 2e 70 72 6f 70 65 72 74 69 65 73 22 2f 3e 0a 0a | nces/preferences.properties"/>.. |
130400 | 20 20 20 20 3c 21 2d 2d 20 76 61 72 69 6f 75 73 20 63 68 65 63 6b 62 6f 78 65 73 2c 20 66 6f 6e | ....<!--.various.checkboxes,.fon |
130420 | 74 2d 66 75 20 2d 2d 3e 0a 20 20 20 20 3c 67 72 6f 75 70 62 6f 78 20 69 64 3d 22 6d 69 73 63 47 | t-fu.-->.....<groupbox.id="miscG |
130440 | 72 6f 75 70 22 3e 0a 20 20 20 20 20 20 3c 67 72 69 64 20 69 64 3d 22 63 6f 6e 74 65 6e 74 47 72 | roup">.......<grid.id="contentGr |
130460 | 69 64 22 3e 0a 20 20 20 20 20 20 20 20 3c 63 6f 6c 75 6d 6e 73 3e 0a 20 20 20 20 20 20 20 20 20 | id">.........<columns>.......... |
130480 | 20 3c 63 6f 6c 75 6d 6e 20 66 6c 65 78 3d 22 31 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 63 | .<column.flex="1"/>...........<c |
1304a0 | 6f 6c 75 6d 6e 2f 3e 0a 20 20 20 20 20 20 20 20 3c 2f 63 6f 6c 75 6d 6e 73 3e 0a 20 20 20 20 20 | olumn/>.........</columns>...... |
1304c0 | 20 20 20 3c 72 6f 77 73 20 69 64 3d 22 63 6f 6e 74 65 6e 74 52 6f 77 73 2d 31 22 3e 0a 20 20 20 | ...<rows.id="contentRows-1">.... |
1304e0 | 20 20 20 20 20 20 20 3c 72 6f 77 20 69 64 3d 22 70 6f 70 75 70 50 6f 6c 69 63 79 52 6f 77 22 3e | .......<row.id="popupPolicyRow"> |
130500 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 76 62 6f 78 20 61 6c 69 67 6e 3d 22 73 74 61 72 74 22 | .............<vbox.align="start" |
130520 | 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 63 68 65 63 6b 62 6f 78 20 69 64 3d 22 70 6f | >...............<checkbox.id="po |
130540 | 70 75 70 50 6f 6c 69 63 79 22 20 70 72 65 66 65 72 65 6e 63 65 3d 22 64 6f 6d 2e 64 69 73 61 62 | pupPolicy".preference="dom.disab |
130560 | 6c 65 5f 6f 70 65 6e 5f 64 75 72 69 6e 67 5f 6c 6f 61 64 22 0a 20 20 20 20 20 20 20 20 20 20 20 | le_open_during_load"............ |
130580 | 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 62 6c 6f 63 6b 50 6f 70 75 70 73 | .............label="&blockPopups |
1305a0 | 2e 6c 61 62 65 6c 3b 22 20 61 63 63 65 73 73 6b 65 79 3d 22 26 62 6c 6f 63 6b 50 6f 70 75 70 73 | .label;".accesskey="&blockPopups |
1305c0 | 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .accesskey;".................... |
1305e0 | 20 20 20 20 20 6f 6e 73 79 6e 63 66 72 6f 6d 70 72 65 66 65 72 65 6e 63 65 3d 22 72 65 74 75 72 | .....onsyncfrompreference="retur |
130600 | 6e 20 67 43 6f 6e 74 65 6e 74 50 61 6e 65 2e 75 70 64 61 74 65 42 75 74 74 6f 6e 73 28 27 70 6f | n.gContentPane.updateButtons('po |
130620 | 70 75 70 50 6f 6c 69 63 79 42 75 74 74 6f 6e 27 2c 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | pupPolicyButton',............... |
130640 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
130660 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 27 | ...............................' |
130680 | 64 6f 6d 2e 64 69 73 61 62 6c 65 5f 6f 70 65 6e 5f 64 75 72 69 6e 67 5f 6c 6f 61 64 27 29 3b 22 | dom.disable_open_during_load');" |
1306a0 | 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 76 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 20 | />.............</vbox>.......... |
1306c0 | 20 20 20 3c 62 75 74 74 6f 6e 20 69 64 3d 22 70 6f 70 75 70 50 6f 6c 69 63 79 42 75 74 74 6f 6e | ...<button.id="popupPolicyButton |
1306e0 | 22 20 6c 61 62 65 6c 3d 22 26 70 6f 70 75 70 45 78 63 65 70 74 69 6f 6e 73 2e 6c 61 62 65 6c 3b | ".label="&popupExceptions.label; |
130700 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d | ".....................oncommand= |
130720 | 22 67 43 6f 6e 74 65 6e 74 50 61 6e 65 2e 73 68 6f 77 50 6f 70 75 70 45 78 63 65 70 74 69 6f 6e | "gContentPane.showPopupException |
130740 | 73 28 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 | s();".....................access |
130760 | 6b 65 79 3d 22 26 70 6f 70 75 70 45 78 63 65 70 74 69 6f 6e 73 2e 61 63 63 65 73 73 6b 65 79 3b | key="&popupExceptions.accesskey; |
130780 | 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 2f 72 6f 77 3e 0a 20 20 20 20 20 20 20 20 20 20 3c | "/>...........</row>...........< |
1307a0 | 72 6f 77 20 69 64 3d 22 65 6e 61 62 6c 65 49 6d 61 67 65 73 52 6f 77 22 3e 0a 20 20 20 20 20 20 | row.id="enableImagesRow">....... |
1307c0 | 20 20 20 20 20 20 3c 76 62 6f 78 20 61 6c 69 67 6e 3d 22 73 74 61 72 74 22 3e 0a 20 20 20 20 20 | ......<vbox.align="start">...... |
1307e0 | 20 20 20 20 20 20 20 20 20 3c 63 68 65 63 6b 62 6f 78 20 69 64 3d 22 6c 6f 61 64 49 6d 61 67 65 | .........<checkbox.id="loadImage |
130800 | 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c | s".........................label |
130820 | 3d 22 26 6c 6f 61 64 49 6d 61 67 65 73 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 | ="&loadImages.label;"........... |
130840 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 6c 6f 61 64 49 6d | ..............accesskey="&loadIm |
130860 | 61 67 65 73 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ages.accesskey;"................ |
130880 | 20 20 20 20 20 20 20 20 20 70 72 65 66 65 72 65 6e 63 65 3d 22 70 65 72 6d 69 73 73 69 6f 6e 73 | .........preference="permissions |
1308a0 | 2e 64 65 66 61 75 6c 74 2e 69 6d 61 67 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .default.image"................. |
1308c0 | 20 20 20 20 20 20 20 20 6f 6e 73 79 6e 63 66 72 6f 6d 70 72 65 66 65 72 65 6e 63 65 3d 22 72 65 | ........onsyncfrompreference="re |
1308e0 | 74 75 72 6e 20 67 43 6f 6e 74 65 6e 74 50 61 6e 65 2e 72 65 61 64 4c 6f 61 64 49 6d 61 67 65 73 | turn.gContentPane.readLoadImages |
130900 | 28 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 73 | ();".........................ons |
130920 | 79 6e 63 74 6f 70 72 65 66 65 72 65 6e 63 65 3d 22 72 65 74 75 72 6e 20 67 43 6f 6e 74 65 6e 74 | ynctopreference="return.gContent |
130940 | 50 61 6e 65 2e 77 72 69 74 65 4c 6f 61 64 49 6d 61 67 65 73 28 29 3b 22 2f 3e 0a 20 20 20 20 20 | Pane.writeLoadImages();"/>...... |
130960 | 20 20 20 20 20 20 20 3c 2f 76 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 76 62 6f 78 | .......</vbox>.............<vbox |
130980 | 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 62 75 74 74 6f 6e 20 6c 61 62 65 6c 3d 22 26 | >...............<button.label="& |
1309a0 | 65 78 63 65 70 74 69 6f 6e 73 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | exceptions.label;".............. |
1309c0 | 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 65 78 63 65 70 74 69 6f 6e 73 2e | .........accesskey="&exceptions. |
1309e0 | 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | accesskey;"..................... |
130a00 | 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 43 6f 6e 74 65 6e 74 50 61 6e 65 2e 73 68 6f 77 49 6d | ..oncommand="gContentPane.showIm |
130a20 | 61 67 65 45 78 63 65 70 74 69 6f 6e 73 28 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ageExceptions();"............... |
130a40 | 20 20 20 20 20 20 20 20 70 72 65 66 65 72 65 6e 63 65 3d 22 70 72 65 66 2e 61 64 76 61 6e 63 65 | ........preference="pref.advance |
130a60 | 64 2e 69 6d 61 67 65 73 2e 64 69 73 61 62 6c 65 5f 62 75 74 74 6f 6e 2e 76 69 65 77 5f 69 6d 61 | d.images.disable_button.view_ima |
130a80 | 67 65 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 76 62 6f 78 3e 0a 20 20 20 20 20 20 | ge"/>.............</vbox>....... |
130aa0 | 20 20 20 20 3c 2f 72 6f 77 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 72 6f 77 20 69 64 3d 22 65 6e | ....</row>...........<row.id="en |
130ac0 | 61 62 6c 65 4a 61 76 61 53 63 72 69 70 74 52 6f 77 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ableJavaScriptRow">............. |
130ae0 | 3c 76 62 6f 78 20 61 6c 69 67 6e 3d 22 73 74 61 72 74 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 | <vbox.align="start">............ |
130b00 | 20 20 20 3c 63 68 65 63 6b 62 6f 78 20 69 64 3d 22 65 6e 61 62 6c 65 4a 61 76 61 53 63 72 69 70 | ...<checkbox.id="enableJavaScrip |
130b20 | 74 22 20 70 72 65 66 65 72 65 6e 63 65 3d 22 6a 61 76 61 73 63 72 69 70 74 2e 65 6e 61 62 6c 65 | t".preference="javascript.enable |
130b40 | 64 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c | d".........................label |
130b60 | 3d 22 26 65 6e 61 62 6c 65 4a 61 76 61 53 63 72 69 70 74 2e 6c 61 62 65 6c 3b 22 20 61 63 63 65 | ="&enableJavaScript.label;".acce |
130b80 | 73 73 6b 65 79 3d 22 26 65 6e 61 62 6c 65 4a 61 76 61 53 63 72 69 70 74 2e 61 63 63 65 73 73 6b | sskey="&enableJavaScript.accessk |
130ba0 | 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 73 | ey;".........................ons |
130bc0 | 79 6e 63 66 72 6f 6d 70 72 65 66 65 72 65 6e 63 65 3d 22 72 65 74 75 72 6e 20 67 43 6f 6e 74 65 | yncfrompreference="return.gConte |
130be0 | 6e 74 50 61 6e 65 2e 75 70 64 61 74 65 42 75 74 74 6f 6e 73 28 27 61 64 76 61 6e 63 65 64 4a 53 | ntPane.updateButtons('advancedJS |
130c00 | 42 75 74 74 6f 6e 27 2c 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | Button',........................ |
130c20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
130c40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 27 6a 61 76 61 73 63 72 69 70 | ......................'javascrip |
130c60 | 74 2e 65 6e 61 62 6c 65 64 27 29 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 76 62 | t.enabled');"/>.............</vb |
130c80 | 6f 78 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 76 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 20 | ox>.............<vbox>.......... |
130ca0 | 20 20 20 20 20 3c 62 75 74 74 6f 6e 20 69 64 3d 22 61 64 76 61 6e 63 65 64 4a 53 42 75 74 74 6f | .....<button.id="advancedJSButto |
130cc0 | 6e 22 20 6c 61 62 65 6c 3d 22 26 61 64 76 61 6e 63 65 64 4a 53 2e 6c 61 62 65 6c 3b 22 0a 20 20 | n".label="&advancedJS.label;"... |
130ce0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 | ....................accesskey="& |
130d00 | 61 64 76 61 6e 63 65 64 4a 53 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 | advancedJS.accesskey;".......... |
130d20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 43 6f 6e 74 65 6e 74 | .............oncommand="gContent |
130d40 | 50 61 6e 65 2e 73 68 6f 77 41 64 76 61 6e 63 65 64 4a 53 28 29 3b 22 0a 20 20 20 20 20 20 20 20 | Pane.showAdvancedJS();"......... |
130d60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 65 66 65 72 65 6e 63 65 3d 22 70 72 65 66 2e 61 | ..............preference="pref.a |
130d80 | 64 76 61 6e 63 65 64 2e 6a 61 76 61 73 63 72 69 70 74 2e 64 69 73 61 62 6c 65 5f 62 75 74 74 6f | dvanced.javascript.disable_butto |
130da0 | 6e 2e 61 64 76 61 6e 63 65 64 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 76 62 6f 78 | n.advanced"/>.............</vbox |
130dc0 | 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 2f 72 6f 77 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 72 6f | >...........</row>...........<ro |
130de0 | 77 20 69 64 3d 22 65 6e 61 62 6c 65 4a 61 76 61 52 6f 77 22 3e 0a 20 20 20 20 20 20 20 20 20 20 | w.id="enableJavaRow">........... |
130e00 | 20 20 3c 76 62 6f 78 20 61 6c 69 67 6e 3d 22 73 74 61 72 74 22 3e 0a 20 20 20 20 20 20 20 20 20 | ..<vbox.align="start">.......... |
130e20 | 20 20 20 20 20 3c 63 68 65 63 6b 62 6f 78 20 69 64 3d 22 65 6e 61 62 6c 65 4a 61 76 61 22 0a 20 | .....<checkbox.id="enableJava".. |
130e40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 65 | .......................label="&e |
130e60 | 6e 61 62 6c 65 4a 61 76 61 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | nableJava.label;"............... |
130e80 | 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 65 6e 61 62 6c 65 4a 61 76 61 | ..........accesskey="&enableJava |
130ea0 | 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .accesskey;".................... |
130ec0 | 20 20 20 20 20 70 72 65 66 65 72 65 6e 63 65 3d 22 73 65 63 75 72 69 74 79 2e 65 6e 61 62 6c 65 | .....preference="security.enable |
130ee0 | 5f 6a 61 76 61 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 76 62 6f 78 3e 0a 20 20 20 | _java"/>.............</vbox>.... |
130f00 | 20 20 20 20 20 20 20 3c 2f 72 6f 77 3e 0a 20 20 20 20 20 20 20 20 3c 2f 72 6f 77 73 3e 0a 20 20 | .......</row>.........</rows>... |
130f20 | 20 20 20 20 3c 2f 67 72 69 64 3e 0a 20 20 20 20 3c 2f 67 72 6f 75 70 62 6f 78 3e 0a 0a 20 20 20 | ....</grid>.....</groupbox>..... |
130f40 | 20 3c 21 2d 2d 20 46 6f 6e 74 73 20 61 6e 64 20 43 6f 6c 6f 72 73 20 2d 2d 3e 0a 20 20 20 20 3c | .<!--.Fonts.and.Colors.-->.....< |
130f60 | 67 72 6f 75 70 62 6f 78 20 69 64 3d 22 66 6f 6e 74 73 47 72 6f 75 70 22 3e 0a 20 20 20 20 20 20 | groupbox.id="fontsGroup">....... |
130f80 | 3c 63 61 70 74 69 6f 6e 20 6c 61 62 65 6c 3d 22 26 66 6f 6e 74 73 41 6e 64 43 6f 6c 6f 72 73 2e | <caption.label="&fontsAndColors. |
130fa0 | 6c 61 62 65 6c 3b 22 2f 3e 0a 0a 20 20 20 20 20 20 3c 67 72 69 64 20 69 64 3d 22 66 6f 6e 74 73 | label;"/>........<grid.id="fonts |
130fc0 | 47 72 69 64 22 3e 0a 20 20 20 20 20 20 20 20 3c 63 6f 6c 75 6d 6e 73 3e 0a 20 20 20 20 20 20 20 | Grid">.........<columns>........ |
130fe0 | 20 20 20 3c 63 6f 6c 75 6d 6e 20 66 6c 65 78 3d 22 31 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 | ...<column.flex="1"/>........... |
131000 | 3c 63 6f 6c 75 6d 6e 2f 3e 0a 20 20 20 20 20 20 20 20 3c 2f 63 6f 6c 75 6d 6e 73 3e 0a 20 20 20 | <column/>.........</columns>.... |
131020 | 20 20 20 20 20 3c 72 6f 77 73 20 69 64 3d 22 66 6f 6e 74 73 52 6f 77 73 22 3e 0a 20 20 20 20 20 | .....<rows.id="fontsRows">...... |
131040 | 20 20 20 20 20 3c 72 6f 77 20 69 64 3d 22 66 6f 6e 74 52 6f 77 22 3e 0a 20 20 20 20 20 20 20 20 | .....<row.id="fontRow">......... |
131060 | 20 20 20 20 3c 68 62 6f 78 20 61 6c 69 67 6e 3d 22 63 65 6e 74 65 72 22 3e 0a 20 20 20 20 20 20 | ....<hbox.align="center">....... |
131080 | 20 20 20 20 20 20 20 20 3c 6c 61 62 65 6c 20 63 6f 6e 74 72 6f 6c 3d 22 64 65 66 61 75 6c 74 46 | ........<label.control="defaultF |
1310a0 | 6f 6e 74 22 20 61 63 63 65 73 73 6b 65 79 3d 22 26 64 65 66 61 75 6c 74 46 6f 6e 74 2e 61 63 63 | ont".accesskey="&defaultFont.acc |
1310c0 | 65 73 73 6b 65 79 3b 22 3e 26 64 65 66 61 75 6c 74 46 6f 6e 74 2e 6c 61 62 65 6c 3b 3c 2f 6c 61 | esskey;">&defaultFont.label;</la |
1310e0 | 62 65 6c 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 6c 69 73 74 20 69 64 3d | bel>...............<menulist.id= |
131100 | 22 64 65 66 61 75 6c 74 46 6f 6e 74 22 20 66 6c 65 78 3d 22 31 22 2f 3e 0a 20 20 20 20 20 20 20 | "defaultFont".flex="1"/>........ |
131120 | 20 20 20 20 20 20 20 3c 6c 61 62 65 6c 20 63 6f 6e 74 72 6f 6c 3d 22 64 65 66 61 75 6c 74 46 6f | .......<label.control="defaultFo |
131140 | 6e 74 53 69 7a 65 22 20 61 63 63 65 73 73 6b 65 79 3d 22 26 64 65 66 61 75 6c 74 53 69 7a 65 2e | ntSize".accesskey="&defaultSize. |
131160 | 61 63 63 65 73 73 6b 65 79 3b 22 3e 26 64 65 66 61 75 6c 74 53 69 7a 65 2e 6c 61 62 65 6c 3b 3c | accesskey;">&defaultSize.label;< |
131180 | 2f 6c 61 62 65 6c 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 6c 69 73 74 20 | /label>...............<menulist. |
1311a0 | 69 64 3d 22 64 65 66 61 75 6c 74 46 6f 6e 74 53 69 7a 65 22 3e 0a 20 20 20 20 20 20 20 20 20 20 | id="defaultFontSize">........... |
1311c0 | 20 20 20 20 20 20 3c 6d 65 6e 75 70 6f 70 75 70 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ......<menupopup>............... |
1311e0 | 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 39 22 20 6c 61 62 65 6c 3d 22 39 | ....<menuitem.value="9".label="9 |
131200 | 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 | "/>...................<menuitem. |
131220 | 76 61 6c 75 65 3d 22 31 30 22 20 6c 61 62 65 6c 3d 22 31 30 22 2f 3e 0a 20 20 20 20 20 20 20 20 | value="10".label="10"/>......... |
131240 | 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 31 31 22 20 6c | ..........<menuitem.value="11".l |
131260 | 61 62 65 6c 3d 22 31 31 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d | abel="11"/>...................<m |
131280 | 65 6e 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 31 32 22 20 6c 61 62 65 6c 3d 22 31 32 22 2f 3e 0a | enuitem.value="12".label="12"/>. |
1312a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 76 61 6c 75 | ..................<menuitem.valu |
1312c0 | 65 3d 22 31 33 22 20 6c 61 62 65 6c 3d 22 31 33 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 | e="13".label="13"/>............. |
1312e0 | 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 31 34 22 20 6c 61 62 65 6c | ......<menuitem.value="14".label |
131300 | 3d 22 31 34 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 | ="14"/>...................<menui |
131320 | 74 65 6d 20 76 61 6c 75 65 3d 22 31 35 22 20 6c 61 62 65 6c 3d 22 31 35 22 2f 3e 0a 20 20 20 20 | tem.value="15".label="15"/>..... |
131340 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 31 | ..............<menuitem.value="1 |
131360 | 36 22 20 6c 61 62 65 6c 3d 22 31 36 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | 6".label="16"/>................. |
131380 | 20 20 3c 6d 65 6e 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 31 37 22 20 6c 61 62 65 6c 3d 22 31 37 | ..<menuitem.value="17".label="17 |
1313a0 | 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 | "/>...................<menuitem. |
1313c0 | 76 61 6c 75 65 3d 22 31 38 22 20 6c 61 62 65 6c 3d 22 31 38 22 2f 3e 0a 20 20 20 20 20 20 20 20 | value="18".label="18"/>......... |
1313e0 | 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 32 30 22 20 6c | ..........<menuitem.value="20".l |
131400 | 61 62 65 6c 3d 22 32 30 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d | abel="20"/>...................<m |
131420 | 65 6e 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 32 32 22 20 6c 61 62 65 6c 3d 22 32 32 22 2f 3e 0a | enuitem.value="22".label="22"/>. |
131440 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 76 61 6c 75 | ..................<menuitem.valu |
131460 | 65 3d 22 32 34 22 20 6c 61 62 65 6c 3d 22 32 34 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 | e="24".label="24"/>............. |
131480 | 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 32 36 22 20 6c 61 62 65 6c | ......<menuitem.value="26".label |
1314a0 | 3d 22 32 36 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 | ="26"/>...................<menui |
1314c0 | 74 65 6d 20 76 61 6c 75 65 3d 22 32 38 22 20 6c 61 62 65 6c 3d 22 32 38 22 2f 3e 0a 20 20 20 20 | tem.value="28".label="28"/>..... |
1314e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 33 | ..............<menuitem.value="3 |
131500 | 30 22 20 6c 61 62 65 6c 3d 22 33 30 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | 0".label="30"/>................. |
131520 | 20 20 3c 6d 65 6e 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 33 32 22 20 6c 61 62 65 6c 3d 22 33 32 | ..<menuitem.value="32".label="32 |
131540 | 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 | "/>...................<menuitem. |
131560 | 76 61 6c 75 65 3d 22 33 34 22 20 6c 61 62 65 6c 3d 22 33 34 22 2f 3e 0a 20 20 20 20 20 20 20 20 | value="34".label="34"/>......... |
131580 | 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 33 36 22 20 6c | ..........<menuitem.value="36".l |
1315a0 | 61 62 65 6c 3d 22 33 36 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d | abel="36"/>...................<m |
1315c0 | 65 6e 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 34 30 22 20 6c 61 62 65 6c 3d 22 34 30 22 2f 3e 0a | enuitem.value="40".label="40"/>. |
1315e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 76 61 6c 75 | ..................<menuitem.valu |
131600 | 65 3d 22 34 34 22 20 6c 61 62 65 6c 3d 22 34 34 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 | e="44".label="44"/>............. |
131620 | 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 34 38 22 20 6c 61 62 65 6c | ......<menuitem.value="48".label |
131640 | 3d 22 34 38 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 | ="48"/>...................<menui |
131660 | 74 65 6d 20 76 61 6c 75 65 3d 22 35 36 22 20 6c 61 62 65 6c 3d 22 35 36 22 2f 3e 0a 20 20 20 20 | tem.value="56".label="56"/>..... |
131680 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 36 | ..............<menuitem.value="6 |
1316a0 | 34 22 20 6c 61 62 65 6c 3d 22 36 34 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | 4".label="64"/>................. |
1316c0 | 20 20 3c 6d 65 6e 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 37 32 22 20 6c 61 62 65 6c 3d 22 37 32 | ..<menuitem.value="72".label="72 |
1316e0 | 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 6d 65 6e 75 70 6f 70 75 70 3e | "/>.................</menupopup> |
131700 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 6d 65 6e 75 6c 69 73 74 3e 0a 20 20 20 20 20 | ...............</menulist>...... |
131720 | 20 20 20 20 20 20 20 3c 2f 68 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 62 75 74 74 | .......</hbox>.............<butt |
131740 | 6f 6e 20 69 64 3d 22 61 64 76 61 6e 63 65 64 46 6f 6e 74 73 22 20 69 63 6f 6e 3d 22 73 65 6c 65 | on.id="advancedFonts".icon="sele |
131760 | 63 74 2d 66 6f 6e 74 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 | ct-font".....................lab |
131780 | 65 6c 3d 22 26 61 64 76 61 6e 63 65 64 46 6f 6e 74 73 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 | el="&advancedFonts.label;"...... |
1317a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 61 64 76 61 6e | ...............accesskey="&advan |
1317c0 | 63 65 64 46 6f 6e 74 73 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 | cedFonts.accesskey;"............ |
1317e0 | 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 43 6f 6e 74 65 6e 74 50 61 6e 65 | .........oncommand="gContentPane |
131800 | 2e 63 6f 6e 66 69 67 75 72 65 46 6f 6e 74 73 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 | .configureFonts();"/>........... |
131820 | 3c 2f 72 6f 77 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 72 6f 77 20 69 64 3d 22 63 6f 6c 6f 72 73 | </row>...........<row.id="colors |
131840 | 52 6f 77 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 68 62 6f 78 2f 3e 0a 20 20 20 20 20 20 | Row">.............<hbox/>....... |
131860 | 20 20 20 20 20 20 3c 62 75 74 74 6f 6e 20 69 64 3d 22 63 6f 6c 6f 72 73 22 20 69 63 6f 6e 3d 22 | ......<button.id="colors".icon=" |
131880 | 73 65 6c 65 63 74 2d 63 6f 6c 6f 72 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | select-color"................... |
1318a0 | 20 20 6c 61 62 65 6c 3d 22 26 63 6f 6c 6f 72 73 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 | ..label="&colors.label;"........ |
1318c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 63 6f 6c 6f 72 73 2e | .............accesskey="&colors. |
1318e0 | 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | accesskey;"..................... |
131900 | 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 43 6f 6e 74 65 6e 74 50 61 6e 65 2e 63 6f 6e 66 69 67 75 72 | oncommand="gContentPane.configur |
131920 | 65 43 6f 6c 6f 72 73 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 2f 72 6f 77 3e 0a 20 | eColors();"/>...........</row>.. |
131940 | 20 20 20 20 20 20 20 3c 2f 72 6f 77 73 3e 0a 20 20 20 20 20 20 3c 2f 67 72 69 64 3e 0a 20 20 20 | .......</rows>.......</grid>.... |
131960 | 20 3c 2f 67 72 6f 75 70 62 6f 78 3e 0a 0a 20 20 20 20 3c 21 2d 2d 20 4c 61 6e 67 75 61 67 65 73 | .</groupbox>......<!--.Languages |
131980 | 20 2d 2d 3e 0a 20 20 20 20 3c 67 72 6f 75 70 62 6f 78 20 69 64 3d 22 6c 61 6e 67 75 61 67 65 73 | .-->.....<groupbox.id="languages |
1319a0 | 47 72 6f 75 70 22 3e 0a 20 20 20 20 20 20 3c 63 61 70 74 69 6f 6e 20 6c 61 62 65 6c 3d 22 26 6c | Group">.......<caption.label="&l |
1319c0 | 61 6e 67 75 61 67 65 73 2e 6c 61 62 65 6c 3b 22 2f 3e 0a 0a 20 20 20 20 20 20 3c 68 62 6f 78 20 | anguages.label;"/>........<hbox. |
1319e0 | 69 64 3d 22 6c 61 6e 67 75 61 67 65 73 42 6f 78 22 20 61 6c 69 67 6e 3d 22 63 65 6e 74 65 72 22 | id="languagesBox".align="center" |
131a00 | 3e 0a 20 20 20 20 20 20 20 20 3c 64 65 73 63 72 69 70 74 69 6f 6e 20 66 6c 65 78 3d 22 31 22 20 | >.........<description.flex="1". |
131a20 | 63 6f 6e 74 72 6f 6c 3d 22 63 68 6f 6f 73 65 4c 61 6e 67 75 61 67 65 22 3e 26 63 68 6f 6f 73 65 | control="chooseLanguage">&choose |
131a40 | 4c 61 6e 67 75 61 67 65 2e 6c 61 62 65 6c 3b 3c 2f 64 65 73 63 72 69 70 74 69 6f 6e 3e 0a 20 20 | Language.label;</description>... |
131a60 | 20 20 20 20 20 20 3c 62 75 74 74 6f 6e 20 69 64 3d 22 63 68 6f 6f 73 65 4c 61 6e 67 75 61 67 65 | ......<button.id="chooseLanguage |
131a80 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 63 68 6f 6f 73 65 | ".................label="&choose |
131aa0 | 42 75 74 74 6f 6e 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 | Button.label;".................a |
131ac0 | 63 63 65 73 73 6b 65 79 3d 22 26 63 68 6f 6f 73 65 42 75 74 74 6f 6e 2e 61 63 63 65 73 73 6b 65 | ccesskey="&chooseButton.accesske |
131ae0 | 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 | y;".................oncommand="g |
131b00 | 43 6f 6e 74 65 6e 74 50 61 6e 65 2e 73 68 6f 77 4c 61 6e 67 75 61 67 65 73 28 29 3b 22 2f 3e 0a | ContentPane.showLanguages();"/>. |
131b20 | 20 20 20 20 20 20 3c 2f 68 62 6f 78 3e 0a 20 20 20 20 3c 2f 67 72 6f 75 70 62 6f 78 3e 0a 0a 20 | ......</hbox>.....</groupbox>... |
131b40 | 20 3c 2f 70 72 65 66 70 61 6e 65 3e 0a 0a 3c 2f 6f 76 65 72 6c 61 79 3e 0a 50 4b 03 04 14 00 00 | .</prefpane>..</overlay>.PK..... |
131b60 | 00 00 00 f3 4b 18 3b ca 19 f6 9b 0e 1f 00 00 0e 1f 00 00 26 00 00 00 63 6f 6e 74 65 6e 74 2f 62 | ....K.;............&...content/b |
131b80 | 72 6f 77 73 65 72 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 63 6f 6e 74 65 6e 74 2e 6a 73 2f 2f 40 | rowser/preferences/content.js//@ |
131ba0 | 6c 69 6e 65 20 34 30 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 | line.40."/builds/moz2_slave/linu |
131bc0 | 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 63 6f 6d 70 6f 6e 65 6e 74 73 | x_build/build/browser/components |
131be0 | 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 63 6f 6e 74 65 6e 74 2e 6a 73 22 0a 0a 76 61 72 20 67 43 | /preferences/content.js"..var.gC |
131c00 | 6f 6e 74 65 6e 74 50 61 6e 65 20 3d 20 7b 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 49 6e 69 74 69 | ontentPane.=.{..../**....*.Initi |
131c20 | 61 6c 69 7a 65 73 20 74 68 65 20 66 6f 6e 74 73 20 64 72 6f 70 64 6f 77 6e 73 20 64 69 73 70 6c | alizes.the.fonts.dropdowns.displ |
131c40 | 61 79 65 64 20 69 6e 20 74 68 69 73 20 70 61 6e 65 2e 0a 20 20 20 2a 2f 0a 20 20 69 6e 69 74 3a | ayed.in.this.pane.....*/...init: |
131c60 | 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 74 68 69 73 2e 5f 72 65 62 75 69 | .function.()...{.....this._rebui |
131c80 | 6c 64 46 6f 6e 74 73 28 29 3b 0a 20 20 20 20 76 61 72 20 6d 65 6e 75 6c 69 73 74 20 3d 20 64 6f | ldFonts();.....var.menulist.=.do |
131ca0 | 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 64 65 66 61 75 6c 74 46 6f | cument.getElementById("defaultFo |
131cc0 | 6e 74 22 29 3b 0a 20 20 20 20 69 66 20 28 6d 65 6e 75 6c 69 73 74 2e 73 65 6c 65 63 74 65 64 49 | nt");.....if.(menulist.selectedI |
131ce0 | 6e 64 65 78 20 3d 3d 20 2d 31 29 20 7b 0a 20 20 20 20 20 20 6d 65 6e 75 6c 69 73 74 2e 69 6e 73 | ndex.==.-1).{.......menulist.ins |
131d00 | 65 72 74 49 74 65 6d 41 74 28 30 2c 20 22 22 2c 20 22 22 2c 20 22 22 29 3b 0a 20 20 20 20 20 20 | ertItemAt(0,."",."",."");....... |
131d20 | 6d 65 6e 75 6c 69 73 74 2e 73 65 6c 65 63 74 65 64 49 6e 64 65 78 20 3d 20 30 3b 0a 20 20 20 20 | menulist.selectedIndex.=.0;..... |
131d40 | 7d 0a 20 20 7d 2c 0a 0a 20 20 2f 2f 20 55 54 49 4c 49 54 59 20 46 55 4e 43 54 49 4f 4e 53 0a 0a | }...},....//.UTILITY.FUNCTIONS.. |
131d60 | 20 20 2f 2a 2a 0a 20 20 20 2a 20 55 74 69 6c 69 74 79 20 66 75 6e 63 74 69 6f 6e 20 74 6f 20 65 | ../**....*.Utility.function.to.e |
131d80 | 6e 61 62 6c 65 2f 64 69 73 61 62 6c 65 20 74 68 65 20 62 75 74 74 6f 6e 20 73 70 65 63 69 66 69 | nable/disable.the.button.specifi |
131da0 | 65 64 20 62 79 20 61 42 75 74 74 6f 6e 49 44 20 62 61 73 65 64 0a 20 20 20 2a 20 6f 6e 20 74 68 | ed.by.aButtonID.based....*.on.th |
131dc0 | 65 20 76 61 6c 75 65 20 6f 66 20 74 68 65 20 42 6f 6f 6c 65 61 6e 20 70 72 65 66 65 72 65 6e 63 | e.value.of.the.Boolean.preferenc |
131de0 | 65 20 73 70 65 63 69 66 69 65 64 20 62 79 20 61 50 72 65 66 65 72 65 6e 63 65 49 44 2e 0a 20 20 | e.specified.by.aPreferenceID.... |
131e00 | 20 2a 2f 0a 20 20 75 70 64 61 74 65 42 75 74 74 6f 6e 73 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 | .*/...updateButtons:.function.(a |
131e20 | 42 75 74 74 6f 6e 49 44 2c 20 61 50 72 65 66 65 72 65 6e 63 65 49 44 29 0a 20 20 7b 0a 20 20 20 | ButtonID,.aPreferenceID)...{.... |
131e40 | 20 76 61 72 20 62 75 74 74 6f 6e 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e | .var.button.=.document.getElemen |
131e60 | 74 42 79 49 64 28 61 42 75 74 74 6f 6e 49 44 29 3b 0a 20 20 20 20 76 61 72 20 70 72 65 66 65 72 | tById(aButtonID);.....var.prefer |
131e80 | 65 6e 63 65 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 61 | ence.=.document.getElementById(a |
131ea0 | 50 72 65 66 65 72 65 6e 63 65 49 44 29 3b 0a 20 20 20 20 62 75 74 74 6f 6e 2e 64 69 73 61 62 6c | PreferenceID);.....button.disabl |
131ec0 | 65 64 20 3d 20 70 72 65 66 65 72 65 6e 63 65 2e 76 61 6c 75 65 20 21 3d 20 74 72 75 65 3b 0a 20 | ed.=.preference.value.!=.true;.. |
131ee0 | 20 20 20 72 65 74 75 72 6e 20 75 6e 64 65 66 69 6e 65 64 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a | ...return.undefined;...},..../** |
131f00 | 0a 20 20 20 2a 20 54 68 65 20 65 78 63 65 70 74 69 6f 6e 73 20 74 79 70 65 73 20 77 68 69 63 68 | ....*.The.exceptions.types.which |
131f20 | 20 6d 61 79 20 62 65 20 70 61 73 73 65 64 20 74 6f 20 74 68 69 73 2e 5f 73 68 6f 77 45 78 63 65 | .may.be.passed.to.this._showExce |
131f40 | 70 74 69 6f 6e 73 28 29 2e 0a 20 20 20 2a 2f 0a 20 20 5f 65 78 63 65 70 74 69 6f 6e 73 50 61 72 | ptions().....*/..._exceptionsPar |
131f60 | 61 6d 73 3a 20 7b 0a 20 20 20 20 70 6f 70 75 70 3a 20 20 20 7b 20 62 6c 6f 63 6b 56 69 73 69 62 | ams:.{.....popup:...{.blockVisib |
131f80 | 6c 65 3a 20 66 61 6c 73 65 2c 20 73 65 73 73 69 6f 6e 56 69 73 69 62 6c 65 3a 20 66 61 6c 73 65 | le:.false,.sessionVisible:.false |
131fa0 | 2c 20 61 6c 6c 6f 77 56 69 73 69 62 6c 65 3a 20 74 72 75 65 2c 20 70 72 65 66 69 6c 6c 65 64 48 | ,.allowVisible:.true,.prefilledH |
131fc0 | 6f 73 74 3a 20 22 22 2c 20 70 65 72 6d 69 73 73 69 6f 6e 54 79 70 65 3a 20 22 70 6f 70 75 70 22 | ost:."",.permissionType:."popup" |
131fe0 | 20 20 20 7d 2c 0a 20 20 20 20 69 6d 61 67 65 3a 20 20 20 7b 20 62 6c 6f 63 6b 56 69 73 69 62 6c | ...},.....image:...{.blockVisibl |
132000 | 65 3a 20 74 72 75 65 2c 20 20 73 65 73 73 69 6f 6e 56 69 73 69 62 6c 65 3a 20 66 61 6c 73 65 2c | e:.true,..sessionVisible:.false, |
132020 | 20 61 6c 6c 6f 77 56 69 73 69 62 6c 65 3a 20 74 72 75 65 2c 20 70 72 65 66 69 6c 6c 65 64 48 6f | .allowVisible:.true,.prefilledHo |
132040 | 73 74 3a 20 22 22 2c 20 70 65 72 6d 69 73 73 69 6f 6e 54 79 70 65 3a 20 22 69 6d 61 67 65 22 20 | st:."",.permissionType:."image". |
132060 | 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 44 69 73 70 6c 61 79 73 20 74 68 | ..}...},..../**....*.Displays.th |
132080 | 65 20 65 78 63 65 70 74 69 6f 6e 73 20 64 69 61 6c 6f 67 20 6f 66 20 74 68 65 20 67 69 76 65 6e | e.exceptions.dialog.of.the.given |
1320a0 | 20 74 79 70 65 2c 20 77 68 65 72 65 20 74 79 70 65 73 20 6d 61 70 20 6f 6e 74 6f 20 74 68 65 0a | .type,.where.types.map.onto.the. |
1320c0 | 20 20 20 2a 20 74 68 65 20 66 69 65 6c 64 73 20 69 6e 20 74 68 69 73 2e 5f 65 78 63 65 70 74 69 | ...*.the.fields.in.this._excepti |
1320e0 | 6f 6e 73 50 61 72 61 6d 73 2e 0a 20 20 20 2a 2f 20 20 0a 20 20 5f 73 68 6f 77 45 78 63 65 70 74 | onsParams.....*/....._showExcept |
132100 | 69 6f 6e 73 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 50 65 72 6d 69 73 73 69 6f 6e 54 79 70 65 29 | ions:.function.(aPermissionType) |
132120 | 0a 20 20 7b 0a 20 20 20 20 76 61 72 20 62 75 6e 64 6c 65 50 72 65 66 65 72 65 6e 63 65 73 20 3d | ...{.....var.bundlePreferences.= |
132140 | 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 62 75 6e 64 6c 65 | .document.getElementById("bundle |
132160 | 50 72 65 66 65 72 65 6e 63 65 73 22 29 3b 0a 20 20 20 20 76 61 72 20 70 61 72 61 6d 73 20 3d 20 | Preferences");.....var.params.=. |
132180 | 74 68 69 73 2e 5f 65 78 63 65 70 74 69 6f 6e 73 50 61 72 61 6d 73 5b 61 50 65 72 6d 69 73 73 69 | this._exceptionsParams[aPermissi |
1321a0 | 6f 6e 54 79 70 65 5d 3b 0a 20 20 20 20 70 61 72 61 6d 73 2e 77 69 6e 64 6f 77 54 69 74 6c 65 20 | onType];.....params.windowTitle. |
1321c0 | 3d 20 62 75 6e 64 6c 65 50 72 65 66 65 72 65 6e 63 65 73 2e 67 65 74 53 74 72 69 6e 67 28 61 50 | =.bundlePreferences.getString(aP |
1321e0 | 65 72 6d 69 73 73 69 6f 6e 54 79 70 65 20 2b 20 22 70 65 72 6d 69 73 73 69 6f 6e 73 74 69 74 6c | ermissionType.+."permissionstitl |
132200 | 65 22 29 3b 0a 20 20 20 20 70 61 72 61 6d 73 2e 69 6e 74 72 6f 54 65 78 74 20 3d 20 62 75 6e 64 | e");.....params.introText.=.bund |
132220 | 6c 65 50 72 65 66 65 72 65 6e 63 65 73 2e 67 65 74 53 74 72 69 6e 67 28 61 50 65 72 6d 69 73 73 | lePreferences.getString(aPermiss |
132240 | 69 6f 6e 54 79 70 65 20 2b 20 22 70 65 72 6d 69 73 73 69 6f 6e 73 74 65 78 74 22 29 3b 0a 20 20 | ionType.+."permissionstext");... |
132260 | 20 20 64 6f 63 75 6d 65 6e 74 2e 64 6f 63 75 6d 65 6e 74 45 6c 65 6d 65 6e 74 2e 6f 70 65 6e 57 | ..document.documentElement.openW |
132280 | 69 6e 64 6f 77 28 22 42 72 6f 77 73 65 72 3a 50 65 72 6d 69 73 73 69 6f 6e 73 22 2c 0a 20 20 20 | indow("Browser:Permissions",.... |
1322a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
1322c0 | 20 20 20 20 20 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 70 | ....."chrome://browser/content/p |
1322e0 | 72 65 66 65 72 65 6e 63 65 73 2f 70 65 72 6d 69 73 73 69 6f 6e 73 2e 78 75 6c 22 2c 0a 20 20 20 | references/permissions.xul",.... |
132300 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
132320 | 20 20 20 20 20 22 22 2c 20 70 61 72 61 6d 73 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2f 20 42 45 47 | ....."",.params);...},....//.BEG |
132340 | 49 4e 20 55 49 20 43 4f 44 45 0a 0a 20 20 2f 2a 0a 20 20 20 2a 20 50 72 65 66 65 72 65 6e 63 65 | IN.UI.CODE..../*....*.Preference |
132360 | 73 3a 0a 20 20 20 2a 0a 20 20 20 2a 20 64 6f 6d 2e 64 69 73 61 62 6c 65 5f 6f 70 65 6e 5f 64 75 | s:....*....*.dom.disable_open_du |
132380 | 72 69 6e 67 5f 6c 6f 61 64 0a 20 20 20 2a 20 2d 20 74 72 75 65 20 69 66 20 70 6f 70 75 70 73 20 | ring_load....*.-.true.if.popups. |
1323a0 | 61 72 65 20 62 6c 6f 63 6b 65 64 20 62 79 20 64 65 66 61 75 6c 74 2c 20 66 61 6c 73 65 20 6f 74 | are.blocked.by.default,.false.ot |
1323c0 | 68 65 72 77 69 73 65 0a 20 20 20 2a 20 70 65 72 6d 69 73 73 69 6f 6e 73 2e 64 65 66 61 75 6c 74 | herwise....*.permissions.default |
1323e0 | 2e 69 6d 61 67 65 0a 20 20 20 2a 20 2d 20 61 6e 20 69 6e 74 65 67 65 72 3a 0a 20 20 20 2a 20 20 | .image....*.-.an.integer:....*.. |
132400 | 20 20 20 31 20 20 20 61 6c 6c 20 69 6d 61 67 65 73 20 73 68 6f 75 6c 64 20 62 65 20 6c 6f 61 64 | ...1...all.images.should.be.load |
132420 | 65 64 2c 0a 20 20 20 2a 20 20 20 20 20 32 20 20 20 6e 6f 20 69 6d 61 67 65 73 20 73 68 6f 75 6c | ed,....*.....2...no.images.shoul |
132440 | 64 20 62 65 20 6c 6f 61 64 65 64 2c 0a 20 20 20 2a 20 20 20 20 20 33 20 20 20 6c 6f 61 64 20 6f | d.be.loaded,....*.....3...load.o |
132460 | 6e 6c 79 20 69 6d 61 67 65 73 20 66 72 6f 6d 20 74 68 65 20 73 69 74 65 20 6f 6e 20 77 68 69 63 | nly.images.from.the.site.on.whic |
132480 | 68 20 74 68 65 20 63 75 72 72 65 6e 74 20 70 61 67 65 20 72 65 73 69 64 65 73 0a 20 20 20 2a 20 | h.the.current.page.resides....*. |
1324a0 | 20 20 20 20 20 20 20 20 28 69 2e 65 2e 2c 20 69 66 20 76 69 65 77 69 6e 67 20 66 6f 6f 2e 65 78 | ........(i.e.,.if.viewing.foo.ex |
1324c0 | 61 6d 70 6c 65 2e 63 6f 6d 2c 20 66 6f 6f 2e 65 78 61 6d 70 6c 65 2e 63 6f 6d 2f 66 6f 6f 2e 6a | ample.com,.foo.example.com/foo.j |
1324e0 | 70 67 20 61 6e 64 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 62 61 72 2e 66 6f 6f 2e 65 78 61 6d | pg.and....*.........bar.foo.exam |
132500 | 70 6c 65 2e 63 6f 6d 2f 62 61 72 2e 6a 70 67 20 6c 6f 61 64 20 62 75 74 20 65 78 61 6d 70 6c 65 | ple.com/bar.jpg.load.but.example |
132520 | 2e 63 6f 6d 2f 71 75 75 78 2e 6a 70 67 20 64 6f 65 73 20 6e 6f 74 29 0a 20 20 20 2a 20 6a 61 76 | .com/quux.jpg.does.not)....*.jav |
132540 | 61 73 63 72 69 70 74 2e 65 6e 61 62 6c 65 64 0a 20 20 20 2a 20 2d 20 74 72 75 65 20 69 66 20 4a | ascript.enabled....*.-.true.if.J |
132560 | 61 76 61 53 63 72 69 70 74 20 69 73 20 65 6e 61 62 6c 65 64 2c 20 66 61 6c 73 65 20 6f 74 68 65 | avaScript.is.enabled,.false.othe |
132580 | 72 77 69 73 65 0a 20 20 20 2a 2f 0a 0a 20 20 2f 2f 20 50 4f 50 2d 55 50 53 0a 0a 20 20 2f 2a 2a | rwise....*/....//.POP-UPS..../** |
1325a0 | 0a 20 20 20 2a 20 44 69 73 70 6c 61 79 73 20 74 68 65 20 70 6f 70 75 70 20 65 78 63 65 70 74 69 | ....*.Displays.the.popup.excepti |
1325c0 | 6f 6e 73 20 64 69 61 6c 6f 67 20 77 68 65 72 65 20 73 70 65 63 69 66 69 63 20 73 69 74 65 20 70 | ons.dialog.where.specific.site.p |
1325e0 | 6f 70 75 70 20 70 72 65 66 65 72 65 6e 63 65 73 0a 20 20 20 2a 20 63 61 6e 20 62 65 20 73 65 74 | opup.preferences....*.can.be.set |
132600 | 2e 0a 20 20 20 2a 2f 0a 20 20 73 68 6f 77 50 6f 70 75 70 45 78 63 65 70 74 69 6f 6e 73 3a 20 66 | .....*/...showPopupExceptions:.f |
132620 | 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 74 68 69 73 2e 5f 73 68 6f 77 45 78 63 | unction.()...{.....this._showExc |
132640 | 65 70 74 69 6f 6e 73 28 22 70 6f 70 75 70 22 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2f 20 49 4d 41 | eptions("popup");...},....//.IMA |
132660 | 47 45 53 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 43 6f 6e 76 65 72 74 73 20 74 68 65 20 76 61 6c | GES..../**....*.Converts.the.val |
132680 | 75 65 20 6f 66 20 74 68 65 20 70 65 72 6d 69 73 73 69 6f 6e 73 2e 64 65 66 61 75 6c 74 2e 69 6d | ue.of.the.permissions.default.im |
1326a0 | 61 67 65 20 70 72 65 66 65 72 65 6e 63 65 20 69 6e 74 6f 20 61 0a 20 20 20 2a 20 42 6f 6f 6c 65 | age.preference.into.a....*.Boole |
1326c0 | 61 6e 20 76 61 6c 75 65 20 66 6f 72 20 75 73 65 20 69 6e 20 64 65 74 65 72 6d 69 6e 69 6e 67 20 | an.value.for.use.in.determining. |
1326e0 | 74 68 65 20 73 74 61 74 65 20 6f 66 20 74 68 65 20 22 6c 6f 61 64 20 69 6d 61 67 65 73 22 0a 20 | the.state.of.the."load.images".. |
132700 | 20 20 2a 20 63 68 65 63 6b 62 6f 78 2c 20 72 65 74 75 72 6e 69 6e 67 20 74 72 75 65 20 69 66 20 | ..*.checkbox,.returning.true.if. |
132720 | 69 6d 61 67 65 73 20 73 68 6f 75 6c 64 20 62 65 20 6c 6f 61 64 65 64 20 61 6e 64 20 66 61 6c 73 | images.should.be.loaded.and.fals |
132740 | 65 20 6f 74 68 65 72 77 69 73 65 2e 0a 20 20 20 2a 2f 0a 20 20 72 65 61 64 4c 6f 61 64 49 6d 61 | e.otherwise.....*/...readLoadIma |
132760 | 67 65 73 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 76 61 72 20 70 72 65 | ges:.function.()...{.....var.pre |
132780 | 66 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 70 65 72 | f.=.document.getElementById("per |
1327a0 | 6d 69 73 73 69 6f 6e 73 2e 64 65 66 61 75 6c 74 2e 69 6d 61 67 65 22 29 3b 0a 20 20 20 20 72 65 | missions.default.image");.....re |
1327c0 | 74 75 72 6e 20 28 70 72 65 66 2e 76 61 6c 75 65 20 3d 3d 20 31 20 7c 7c 20 70 72 65 66 2e 76 61 | turn.(pref.value.==.1.||.pref.va |
1327e0 | 6c 75 65 20 3d 3d 20 33 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 52 65 74 75 | lue.==.3);...},..../**....*.Retu |
132800 | 72 6e 73 20 74 68 65 20 22 6c 6f 61 64 20 69 6d 61 67 65 73 22 20 70 72 65 66 65 72 65 6e 63 65 | rns.the."load.images".preference |
132820 | 20 76 61 6c 75 65 20 77 68 69 63 68 20 6d 61 70 73 20 74 6f 20 74 68 65 20 73 74 61 74 65 20 6f | .value.which.maps.to.the.state.o |
132840 | 66 20 74 68 65 0a 20 20 20 2a 20 70 72 65 66 65 72 65 6e 63 65 73 20 55 49 2e 0a 20 20 20 2a 2f | f.the....*.preferences.UI.....*/ |
132860 | 0a 20 20 77 72 69 74 65 4c 6f 61 64 49 6d 61 67 65 73 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a | ...writeLoadImages:.function.(). |
132880 | 20 20 7b 20 0a 20 20 20 20 72 65 74 75 72 6e 20 28 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 | ..{......return.(document.getEle |
1328a0 | 6d 65 6e 74 42 79 49 64 28 22 6c 6f 61 64 49 6d 61 67 65 73 22 29 2e 63 68 65 63 6b 65 64 29 20 | mentById("loadImages").checked). |
1328c0 | 3f 20 31 20 3a 20 32 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 44 69 73 70 6c 61 | ?.1.:.2;...},..../**....*.Displa |
1328e0 | 79 73 20 69 6d 61 67 65 20 65 78 63 65 70 74 69 6f 6e 20 70 72 65 66 65 72 65 6e 63 65 73 20 66 | ys.image.exception.preferences.f |
132900 | 6f 72 20 77 68 69 63 68 20 77 65 62 73 69 74 65 73 20 63 61 6e 20 61 6e 64 20 63 61 6e 6e 6f 74 | or.which.websites.can.and.cannot |
132920 | 0a 20 20 20 2a 20 6c 6f 61 64 20 69 6d 61 67 65 73 2e 0a 20 20 20 2a 2f 0a 20 20 73 68 6f 77 49 | ....*.load.images.....*/...showI |
132940 | 6d 61 67 65 45 78 63 65 70 74 69 6f 6e 73 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a | mageExceptions:.function.()...{. |
132960 | 20 20 20 20 74 68 69 73 2e 5f 73 68 6f 77 45 78 63 65 70 74 69 6f 6e 73 28 22 69 6d 61 67 65 22 | ....this._showExceptions("image" |
132980 | 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2f 20 4a 41 56 41 53 43 52 49 50 54 0a 0a 20 20 2f 2a 2a 0a | );...},....//.JAVASCRIPT..../**. |
1329a0 | 20 20 20 2a 20 44 69 73 70 6c 61 79 73 20 74 68 65 20 61 64 76 61 6e 63 65 64 20 4a 61 76 61 53 | ...*.Displays.the.advanced.JavaS |
1329c0 | 63 72 69 70 74 20 70 72 65 66 65 72 65 6e 63 65 73 20 66 6f 72 20 65 6e 61 62 6c 69 6e 67 20 6f | cript.preferences.for.enabling.o |
1329e0 | 72 20 64 69 73 61 62 6c 69 6e 67 0a 20 20 20 2a 20 76 61 72 69 6f 75 73 20 61 6e 6e 6f 79 69 6e | r.disabling....*.various.annoyin |
132a00 | 67 20 62 65 68 61 76 69 6f 72 73 2e 0a 20 20 20 2a 2f 0a 20 20 73 68 6f 77 41 64 76 61 6e 63 65 | g.behaviors.....*/...showAdvance |
132a20 | 64 4a 53 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 64 6f 63 75 6d 65 6e | dJS:.function.()...{.....documen |
132a40 | 74 2e 64 6f 63 75 6d 65 6e 74 45 6c 65 6d 65 6e 74 2e 6f 70 65 6e 53 75 62 44 69 61 6c 6f 67 28 | t.documentElement.openSubDialog( |
132a60 | 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 70 72 65 66 65 72 | "chrome://browser/content/prefer |
132a80 | 65 6e 63 65 73 2f 61 64 76 61 6e 63 65 64 2d 73 63 72 69 70 74 73 2e 78 75 6c 22 2c 0a 20 20 20 | ences/advanced-scripts.xul",.... |
132aa0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
132ac0 | 20 20 20 20 20 20 20 20 22 22 2c 20 6e 75 6c 6c 29 3b 20 20 0a 20 20 7d 2c 0a 0a 20 20 2f 2f 20 | ........"",.null);.....},....//. |
132ae0 | 46 4f 4e 54 53 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 50 6f 70 75 6c 61 74 65 73 20 74 68 65 20 | FONTS..../**....*.Populates.the. |
132b00 | 64 65 66 61 75 6c 74 20 66 6f 6e 74 20 6c 69 73 74 20 69 6e 20 55 49 2e 0a 20 20 20 2a 2f 0a 20 | default.font.list.in.UI.....*/.. |
132b20 | 20 5f 72 65 62 75 69 6c 64 46 6f 6e 74 73 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a | ._rebuildFonts:.function.()...{. |
132b40 | 20 20 20 20 76 61 72 20 6c 61 6e 67 47 72 6f 75 70 50 72 65 66 20 3d 20 64 6f 63 75 6d 65 6e 74 | ....var.langGroupPref.=.document |
132b60 | 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 66 6f 6e 74 2e 6c 61 6e 67 75 61 67 65 2e 67 | .getElementById("font.language.g |
132b80 | 72 6f 75 70 22 29 3b 0a 20 20 20 20 74 68 69 73 2e 5f 73 65 6c 65 63 74 44 65 66 61 75 6c 74 4c | roup");.....this._selectDefaultL |
132ba0 | 61 6e 67 75 61 67 65 47 72 6f 75 70 28 6c 61 6e 67 47 72 6f 75 70 50 72 65 66 2e 76 61 6c 75 65 | anguageGroup(langGroupPref.value |
132bc0 | 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ,............................... |
132be0 | 20 20 20 20 20 20 20 74 68 69 73 2e 5f 72 65 61 64 44 65 66 61 75 6c 74 46 6f 6e 74 54 79 70 65 | .......this._readDefaultFontType |
132c00 | 46 6f 72 4c 61 6e 67 75 61 67 65 28 6c 61 6e 67 47 72 6f 75 70 50 72 65 66 2e 76 61 6c 75 65 29 | ForLanguage(langGroupPref.value) |
132c20 | 20 3d 3d 20 22 73 65 72 69 66 22 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 0a | .==."serif");...},..../**....*.. |
132c40 | 20 20 20 2a 2f 0a 20 20 5f 73 65 6c 65 63 74 44 65 66 61 75 6c 74 4c 61 6e 67 75 61 67 65 47 72 | ...*/..._selectDefaultLanguageGr |
132c60 | 6f 75 70 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 4c 61 6e 67 75 61 67 65 47 72 6f 75 70 2c 20 61 | oup:.function.(aLanguageGroup,.a |
132c80 | 49 73 53 65 72 69 66 29 0a 20 20 7b 0a 20 20 20 20 63 6f 6e 73 74 20 6b 46 6f 6e 74 4e 61 6d 65 | IsSerif)...{.....const.kFontName |
132ca0 | 46 6d 74 53 65 72 69 66 20 20 20 20 20 20 20 20 20 3d 20 22 66 6f 6e 74 2e 6e 61 6d 65 2e 73 65 | FmtSerif.........=."font.name.se |
132cc0 | 72 69 66 2e 25 4c 41 4e 47 25 22 3b 0a 20 20 20 20 63 6f 6e 73 74 20 6b 46 6f 6e 74 4e 61 6d 65 | rif.%LANG%";.....const.kFontName |
132ce0 | 46 6d 74 53 61 6e 73 53 65 72 69 66 20 20 20 20 20 3d 20 22 66 6f 6e 74 2e 6e 61 6d 65 2e 73 61 | FmtSansSerif.....=."font.name.sa |
132d00 | 6e 73 2d 73 65 72 69 66 2e 25 4c 41 4e 47 25 22 3b 0a 20 20 20 20 63 6f 6e 73 74 20 6b 46 6f 6e | ns-serif.%LANG%";.....const.kFon |
132d20 | 74 4e 61 6d 65 4c 69 73 74 46 6d 74 53 65 72 69 66 20 20 20 20 20 3d 20 22 66 6f 6e 74 2e 6e 61 | tNameListFmtSerif.....=."font.na |
132d40 | 6d 65 2d 6c 69 73 74 2e 73 65 72 69 66 2e 25 4c 41 4e 47 25 22 3b 0a 20 20 20 20 63 6f 6e 73 74 | me-list.serif.%LANG%";.....const |
132d60 | 20 6b 46 6f 6e 74 4e 61 6d 65 4c 69 73 74 46 6d 74 53 61 6e 73 53 65 72 69 66 20 3d 20 22 66 6f | .kFontNameListFmtSansSerif.=."fo |
132d80 | 6e 74 2e 6e 61 6d 65 2d 6c 69 73 74 2e 73 61 6e 73 2d 73 65 72 69 66 2e 25 4c 41 4e 47 25 22 3b | nt.name-list.sans-serif.%LANG%"; |
132da0 | 0a 20 20 20 20 63 6f 6e 73 74 20 6b 46 6f 6e 74 53 69 7a 65 46 6d 74 56 61 72 69 61 62 6c 65 20 | .....const.kFontSizeFmtVariable. |
132dc0 | 20 20 20 20 20 3d 20 22 66 6f 6e 74 2e 73 69 7a 65 2e 76 61 72 69 61 62 6c 65 2e 25 4c 41 4e 47 | .....=."font.size.variable.%LANG |
132de0 | 25 22 3b 0a 0a 20 20 20 20 76 61 72 20 70 72 65 66 73 20 3d 20 5b 7b 20 66 6f 72 6d 61 74 20 20 | %";......var.prefs.=.[{.format.. |
132e00 | 20 3a 20 61 49 73 53 65 72 69 66 20 3f 20 6b 46 6f 6e 74 4e 61 6d 65 46 6d 74 53 65 72 69 66 20 | .:.aIsSerif.?.kFontNameFmtSerif. |
132e20 | 3a 20 6b 46 6f 6e 74 4e 61 6d 65 46 6d 74 53 61 6e 73 53 65 72 69 66 2c 0a 20 20 20 20 20 20 20 | :.kFontNameFmtSansSerif,........ |
132e40 | 20 20 20 20 20 20 20 20 20 20 20 20 74 79 70 65 20 20 20 20 20 3a 20 22 66 6f 6e 74 6e 61 6d 65 | ............type.....:."fontname |
132e60 | 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 6c 65 6d 65 6e 74 20 20 3a | ",....................element..: |
132e80 | 20 22 64 65 66 61 75 6c 74 46 6f 6e 74 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ."defaultFont",................. |
132ea0 | 20 20 20 66 6f 6e 74 74 79 70 65 20 3a 20 61 49 73 53 65 72 69 66 20 3f 20 22 73 65 72 69 66 22 | ...fonttype.:.aIsSerif.?."serif" |
132ec0 | 20 3a 20 22 73 61 6e 73 2d 73 65 72 69 66 22 20 7d 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | .:."sans-serif".},.............. |
132ee0 | 20 20 20 20 7b 20 66 6f 72 6d 61 74 20 20 20 3a 20 61 49 73 53 65 72 69 66 20 3f 20 6b 46 6f 6e | ....{.format...:.aIsSerif.?.kFon |
132f00 | 74 4e 61 6d 65 4c 69 73 74 46 6d 74 53 65 72 69 66 20 3a 20 6b 46 6f 6e 74 4e 61 6d 65 4c 69 73 | tNameListFmtSerif.:.kFontNameLis |
132f20 | 74 46 6d 74 53 61 6e 73 53 65 72 69 66 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | tFmtSansSerif,.................. |
132f40 | 20 20 74 79 70 65 20 20 20 20 20 3a 20 22 75 6e 69 63 68 61 72 22 2c 0a 20 20 20 20 20 20 20 20 | ..type.....:."unichar",......... |
132f60 | 20 20 20 20 20 20 20 20 20 20 20 65 6c 65 6d 65 6e 74 20 20 3a 20 6e 75 6c 6c 2c 0a 20 20 20 20 | ...........element..:.null,..... |
132f80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 6f 6e 74 74 79 70 65 20 3a 20 61 49 73 53 65 72 | ...............fonttype.:.aIsSer |
132fa0 | 69 66 20 3f 20 22 73 65 72 69 66 22 20 3a 20 22 73 61 6e 73 2d 73 65 72 69 66 22 20 7d 2c 0a 20 | if.?."serif".:."sans-serif".},.. |
132fc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7b 20 66 6f 72 6d 61 74 20 20 20 3a 20 6b 46 6f | ................{.format...:.kFo |
132fe0 | 6e 74 53 69 7a 65 46 6d 74 56 61 72 69 61 62 6c 65 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ntSizeFmtVariable,.............. |
133000 | 20 20 20 20 20 20 74 79 70 65 20 20 20 20 20 3a 20 22 69 6e 74 22 2c 0a 20 20 20 20 20 20 20 20 | ......type.....:."int",......... |
133020 | 20 20 20 20 20 20 20 20 20 20 20 65 6c 65 6d 65 6e 74 20 20 3a 20 22 64 65 66 61 75 6c 74 46 6f | ...........element..:."defaultFo |
133040 | 6e 74 53 69 7a 65 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 6f 6e 74 | ntSize",....................font |
133060 | 74 79 70 65 20 3a 20 6e 75 6c 6c 20 7d 5d 3b 0a 20 20 20 20 76 61 72 20 70 72 65 66 65 72 65 6e | type.:.null.}];.....var.preferen |
133080 | 63 65 73 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 63 | ces.=.document.getElementById("c |
1330a0 | 6f 6e 74 65 6e 74 50 72 65 66 65 72 65 6e 63 65 73 22 29 3b 0a 20 20 20 20 66 6f 72 20 28 76 61 | ontentPreferences");.....for.(va |
1330c0 | 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 70 72 65 66 73 2e 6c 65 6e 67 74 68 3b 20 2b 2b 69 29 20 | r.i.=.0;.i.<.prefs.length;.++i). |
1330e0 | 7b 0a 20 20 20 20 20 20 76 61 72 20 70 72 65 66 65 72 65 6e 63 65 20 3d 20 64 6f 63 75 6d 65 6e | {.......var.preference.=.documen |
133100 | 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 70 72 65 66 73 5b 69 5d 2e 66 6f 72 6d 61 74 | t.getElementById(prefs[i].format |
133120 | 2e 72 65 70 6c 61 63 65 28 2f 25 4c 41 4e 47 25 2f 2c 20 61 4c 61 6e 67 75 61 67 65 47 72 6f 75 | .replace(/%LANG%/,.aLanguageGrou |
133140 | 70 29 29 3b 0a 20 20 20 20 20 20 69 66 20 28 21 70 72 65 66 65 72 65 6e 63 65 29 20 7b 0a 20 20 | p));.......if.(!preference).{... |
133160 | 20 20 20 20 20 20 70 72 65 66 65 72 65 6e 63 65 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 63 72 65 61 | ......preference.=.document.crea |
133180 | 74 65 45 6c 65 6d 65 6e 74 28 22 70 72 65 66 65 72 65 6e 63 65 22 29 3b 0a 20 20 20 20 20 20 20 | teElement("preference");........ |
1331a0 | 20 76 61 72 20 6e 61 6d 65 20 3d 20 70 72 65 66 73 5b 69 5d 2e 66 6f 72 6d 61 74 2e 72 65 70 6c | .var.name.=.prefs[i].format.repl |
1331c0 | 61 63 65 28 2f 25 4c 41 4e 47 25 2f 2c 20 61 4c 61 6e 67 75 61 67 65 47 72 6f 75 70 29 3b 0a 20 | ace(/%LANG%/,.aLanguageGroup);.. |
1331e0 | 20 20 20 20 20 20 20 70 72 65 66 65 72 65 6e 63 65 2e 69 64 20 3d 20 6e 61 6d 65 3b 0a 20 20 20 | .......preference.id.=.name;.... |
133200 | 20 20 20 20 20 70 72 65 66 65 72 65 6e 63 65 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 6e 61 | .....preference.setAttribute("na |
133220 | 6d 65 22 2c 20 6e 61 6d 65 29 3b 0a 20 20 20 20 20 20 20 20 70 72 65 66 65 72 65 6e 63 65 2e 73 | me",.name);.........preference.s |
133240 | 65 74 41 74 74 72 69 62 75 74 65 28 22 74 79 70 65 22 2c 20 70 72 65 66 73 5b 69 5d 2e 74 79 70 | etAttribute("type",.prefs[i].typ |
133260 | 65 29 3b 0a 20 20 20 20 20 20 20 20 70 72 65 66 65 72 65 6e 63 65 73 2e 61 70 70 65 6e 64 43 68 | e);.........preferences.appendCh |
133280 | 69 6c 64 28 70 72 65 66 65 72 65 6e 63 65 29 3b 0a 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 | ild(preference);.......}........ |
1332a0 | 69 66 20 28 21 70 72 65 66 73 5b 69 5d 2e 65 6c 65 6d 65 6e 74 29 0a 20 20 20 20 20 20 20 20 63 | if.(!prefs[i].element).........c |
1332c0 | 6f 6e 74 69 6e 75 65 3b 0a 0a 20 20 20 20 20 20 76 61 72 20 65 6c 65 6d 65 6e 74 20 3d 20 64 6f | ontinue;........var.element.=.do |
1332e0 | 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 70 72 65 66 73 5b 69 5d 2e 65 | cument.getElementById(prefs[i].e |
133300 | 6c 65 6d 65 6e 74 29 3b 0a 20 20 20 20 20 20 69 66 20 28 65 6c 65 6d 65 6e 74 29 20 7b 0a 20 20 | lement);.......if.(element).{... |
133320 | 20 20 20 20 20 20 65 6c 65 6d 65 6e 74 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 70 72 65 66 | ......element.setAttribute("pref |
133340 | 65 72 65 6e 63 65 22 2c 20 70 72 65 66 65 72 65 6e 63 65 2e 69 64 29 3b 0a 0a 20 20 20 20 20 20 | erence",.preference.id);........ |
133360 | 20 20 69 66 20 28 70 72 65 66 73 5b 69 5d 2e 66 6f 6e 74 74 79 70 65 29 0a 20 20 20 20 20 20 20 | ..if.(prefs[i].fonttype)........ |
133380 | 20 20 20 46 6f 6e 74 42 75 69 6c 64 65 72 2e 62 75 69 6c 64 46 6f 6e 74 4c 69 73 74 28 61 4c 61 | ...FontBuilder.buildFontList(aLa |
1333a0 | 6e 67 75 61 67 65 47 72 6f 75 70 2c 20 70 72 65 66 73 5b 69 5d 2e 66 6f 6e 74 74 79 70 65 2c 20 | nguageGroup,.prefs[i].fonttype,. |
1333c0 | 65 6c 65 6d 65 6e 74 29 3b 0a 0a 20 20 20 20 20 20 20 20 70 72 65 66 65 72 65 6e 63 65 2e 73 65 | element);..........preference.se |
1333e0 | 74 45 6c 65 6d 65 6e 74 56 61 6c 75 65 28 65 6c 65 6d 65 6e 74 29 3b 0a 20 20 20 20 20 20 7d 0a | tElementValue(element);.......}. |
133400 | 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 52 65 74 75 72 6e 73 20 74 | ....}...},..../**....*.Returns.t |
133420 | 68 65 20 74 79 70 65 20 6f 66 20 74 68 65 20 63 75 72 72 65 6e 74 20 64 65 66 61 75 6c 74 20 66 | he.type.of.the.current.default.f |
133440 | 6f 6e 74 20 66 6f 72 20 74 68 65 20 6c 61 6e 67 75 61 67 65 20 64 65 6e 6f 74 65 64 20 62 79 0a | ont.for.the.language.denoted.by. |
133460 | 20 20 20 2a 20 61 4c 61 6e 67 75 61 67 65 47 72 6f 75 70 2e 0a 20 20 20 2a 2f 0a 20 20 5f 72 65 | ...*.aLanguageGroup.....*/..._re |
133480 | 61 64 44 65 66 61 75 6c 74 46 6f 6e 74 54 79 70 65 46 6f 72 4c 61 6e 67 75 61 67 65 3a 20 66 75 | adDefaultFontTypeForLanguage:.fu |
1334a0 | 6e 63 74 69 6f 6e 20 28 61 4c 61 6e 67 75 61 67 65 47 72 6f 75 70 29 0a 20 20 7b 0a 20 20 20 20 | nction.(aLanguageGroup)...{..... |
1334c0 | 63 6f 6e 73 74 20 6b 44 65 66 61 75 6c 74 46 6f 6e 74 54 79 70 65 20 3d 20 22 66 6f 6e 74 2e 64 | const.kDefaultFontType.=."font.d |
1334e0 | 65 66 61 75 6c 74 2e 25 4c 41 4e 47 25 22 3b 0a 20 20 20 20 76 61 72 20 64 65 66 61 75 6c 74 46 | efault.%LANG%";.....var.defaultF |
133500 | 6f 6e 74 54 79 70 65 50 72 65 66 20 3d 20 6b 44 65 66 61 75 6c 74 46 6f 6e 74 54 79 70 65 2e 72 | ontTypePref.=.kDefaultFontType.r |
133520 | 65 70 6c 61 63 65 28 2f 25 4c 41 4e 47 25 2f 2c 20 61 4c 61 6e 67 75 61 67 65 47 72 6f 75 70 29 | eplace(/%LANG%/,.aLanguageGroup) |
133540 | 3b 0a 20 20 20 20 76 61 72 20 70 72 65 66 65 72 65 6e 63 65 20 3d 20 64 6f 63 75 6d 65 6e 74 2e | ;.....var.preference.=.document. |
133560 | 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 64 65 66 61 75 6c 74 46 6f 6e 74 54 79 70 65 50 72 | getElementById(defaultFontTypePr |
133580 | 65 66 29 3b 0a 20 20 20 20 69 66 20 28 21 70 72 65 66 65 72 65 6e 63 65 29 20 7b 0a 20 20 20 20 | ef);.....if.(!preference).{..... |
1335a0 | 20 20 70 72 65 66 65 72 65 6e 63 65 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 63 72 65 61 74 65 45 6c | ..preference.=.document.createEl |
1335c0 | 65 6d 65 6e 74 28 22 70 72 65 66 65 72 65 6e 63 65 22 29 3b 0a 20 20 20 20 20 20 70 72 65 66 65 | ement("preference");.......prefe |
1335e0 | 72 65 6e 63 65 2e 69 64 20 3d 20 64 65 66 61 75 6c 74 46 6f 6e 74 54 79 70 65 50 72 65 66 3b 0a | rence.id.=.defaultFontTypePref;. |
133600 | 20 20 20 20 20 20 70 72 65 66 65 72 65 6e 63 65 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 6e | ......preference.setAttribute("n |
133620 | 61 6d 65 22 2c 20 64 65 66 61 75 6c 74 46 6f 6e 74 54 79 70 65 50 72 65 66 29 3b 0a 20 20 20 20 | ame",.defaultFontTypePref);..... |
133640 | 20 20 70 72 65 66 65 72 65 6e 63 65 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 74 79 70 65 22 | ..preference.setAttribute("type" |
133660 | 2c 20 22 73 74 72 69 6e 67 22 29 3b 0a 20 20 20 20 20 20 70 72 65 66 65 72 65 6e 63 65 2e 73 65 | ,."string");.......preference.se |
133680 | 74 41 74 74 72 69 62 75 74 65 28 22 6f 6e 63 68 61 6e 67 65 22 2c 20 22 67 43 6f 6e 74 65 6e 74 | tAttribute("onchange",."gContent |
1336a0 | 50 61 6e 65 2e 5f 72 65 62 75 69 6c 64 46 6f 6e 74 73 28 29 3b 22 29 3b 0a 20 20 20 20 20 20 64 | Pane._rebuildFonts();");.......d |
1336c0 | 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 63 6f 6e 74 65 6e 74 50 | ocument.getElementById("contentP |
1336e0 | 72 65 66 65 72 65 6e 63 65 73 22 29 2e 61 70 70 65 6e 64 43 68 69 6c 64 28 70 72 65 66 65 72 65 | references").appendChild(prefere |
133700 | 6e 63 65 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 72 65 74 75 72 6e 20 70 72 65 66 65 72 65 6e 63 | nce);.....}.....return.preferenc |
133720 | 65 2e 76 61 6c 75 65 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 44 69 73 70 6c 61 | e.value;...},..../**....*.Displa |
133740 | 79 73 20 74 68 65 20 66 6f 6e 74 73 20 64 69 61 6c 6f 67 2c 20 77 68 65 72 65 20 77 65 62 20 70 | ys.the.fonts.dialog,.where.web.p |
133760 | 61 67 65 20 66 6f 6e 74 20 6e 61 6d 65 73 20 61 6e 64 20 73 69 7a 65 73 20 63 61 6e 20 62 65 0a | age.font.names.and.sizes.can.be. |
133780 | 20 20 20 2a 20 63 6f 6e 66 69 67 75 72 65 64 2e 0a 20 20 20 2a 2f 20 20 0a 20 20 63 6f 6e 66 69 | ...*.configured.....*/.....confi |
1337a0 | 67 75 72 65 46 6f 6e 74 73 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 64 | gureFonts:.function.()...{.....d |
1337c0 | 6f 63 75 6d 65 6e 74 2e 64 6f 63 75 6d 65 6e 74 45 6c 65 6d 65 6e 74 2e 6f 70 65 6e 53 75 62 44 | ocument.documentElement.openSubD |
1337e0 | 69 61 6c 6f 67 28 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f | ialog("chrome://browser/content/ |
133800 | 70 72 65 66 65 72 65 6e 63 65 73 2f 66 6f 6e 74 73 2e 78 75 6c 22 2c 0a 20 20 20 20 20 20 20 20 | preferences/fonts.xul",......... |
133820 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
133840 | 20 20 20 22 22 2c 20 6e 75 6c 6c 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 44 | ..."",.null);...},..../**....*.D |
133860 | 69 73 70 6c 61 79 73 20 74 68 65 20 63 6f 6c 6f 72 73 20 64 69 61 6c 6f 67 2c 20 77 68 65 72 65 | isplays.the.colors.dialog,.where |
133880 | 20 64 65 66 61 75 6c 74 20 77 65 62 20 70 61 67 65 2f 6c 69 6e 6b 2f 65 74 63 2e 20 63 6f 6c 6f | .default.web.page/link/etc..colo |
1338a0 | 72 73 20 63 61 6e 20 62 65 0a 20 20 20 2a 20 63 6f 6e 66 69 67 75 72 65 64 2e 0a 20 20 20 2a 2f | rs.can.be....*.configured.....*/ |
1338c0 | 0a 20 20 63 6f 6e 66 69 67 75 72 65 43 6f 6c 6f 72 73 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a | ...configureColors:.function.(). |
1338e0 | 20 20 7b 0a 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 64 6f 63 75 6d 65 6e 74 45 6c 65 6d 65 6e 74 | ..{.....document.documentElement |
133900 | 2e 6f 70 65 6e 53 75 62 44 69 61 6c 6f 67 28 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 | .openSubDialog("chrome://browser |
133920 | 2f 63 6f 6e 74 65 6e 74 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 63 6f 6c 6f 72 73 2e 78 75 6c 22 | /content/preferences/colors.xul" |
133940 | 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ,............................... |
133960 | 20 20 20 20 20 20 20 20 20 20 20 20 20 22 22 2c 20 6e 75 6c 6c 29 3b 20 20 0a 20 20 7d 2c 0a 0a | ............."",.null);.....},.. |
133980 | 20 20 2f 2f 20 4c 41 4e 47 55 41 47 45 53 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 53 68 6f 77 73 | ..//.LANGUAGES..../**....*.Shows |
1339a0 | 20 61 20 64 69 61 6c 6f 67 20 69 6e 20 77 68 69 63 68 20 74 68 65 20 70 72 65 66 65 72 72 65 64 | .a.dialog.in.which.the.preferred |
1339c0 | 20 6c 61 6e 67 75 61 67 65 20 66 6f 72 20 77 65 62 20 63 6f 6e 74 65 6e 74 20 6d 61 79 20 62 65 | .language.for.web.content.may.be |
1339e0 | 20 73 65 74 2e 0a 20 20 20 2a 2f 0a 20 20 73 68 6f 77 4c 61 6e 67 75 61 67 65 73 3a 20 66 75 6e | .set.....*/...showLanguages:.fun |
133a00 | 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 64 6f 63 75 6d 65 | ction.()...{.....document.docume |
133a20 | 6e 74 45 6c 65 6d 65 6e 74 2e 6f 70 65 6e 53 75 62 44 69 61 6c 6f 67 28 22 63 68 72 6f 6d 65 3a | ntElement.openSubDialog("chrome: |
133a40 | 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 6c 61 | //browser/content/preferences/la |
133a60 | 6e 67 75 61 67 65 73 2e 78 75 6c 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | nguages.xul",................... |
133a80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 22 2c 20 6e 75 6c | ........................."",.nul |
133aa0 | 6c 29 3b 0a 20 20 7d 0a 7d 3b 0a 50 4b 03 04 14 00 00 00 00 00 f3 4b 18 3b 4b 69 c5 fd 58 29 00 | l);...}.};.PK.........K.;Ki..X). |
133ac0 | 00 58 29 00 00 2a 00 00 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 72 65 66 65 72 65 | .X)..*...content/browser/prefere |
133ae0 | 6e 63 65 73 2f 63 6f 6e 6e 65 63 74 69 6f 6e 2e 78 75 6c 3c 3f 78 6d 6c 20 76 65 72 73 69 6f 6e | nces/connection.xul<?xml.version |
133b00 | 3d 22 31 2e 30 22 3f 3e 0a 0a 0a 3c 21 44 4f 43 54 59 50 45 20 70 72 65 66 77 69 6e 64 6f 77 20 | ="1.0"?>...<!DOCTYPE.prefwindow. |
133b20 | 53 59 53 54 45 4d 20 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 6c 6f 63 61 6c 65 2f | SYSTEM."chrome://browser/locale/ |
133b40 | 70 72 65 66 65 72 65 6e 63 65 73 2f 63 6f 6e 6e 65 63 74 69 6f 6e 2e 64 74 64 22 3e 0a 0a 3c 3f | preferences/connection.dtd">..<? |
133b60 | 78 6d 6c 2d 73 74 79 6c 65 73 68 65 65 74 20 68 72 65 66 3d 22 63 68 72 6f 6d 65 3a 2f 2f 67 6c | xml-stylesheet.href="chrome://gl |
133b80 | 6f 62 61 6c 2f 73 6b 69 6e 2f 22 3f 3e 0a 0a 3c 70 72 65 66 77 69 6e 64 6f 77 20 69 64 3d 22 43 | obal/skin/"?>..<prefwindow.id="C |
133ba0 | 6f 6e 6e 65 63 74 69 6f 6e 73 44 69 61 6c 6f 67 22 20 74 79 70 65 3d 22 63 68 69 6c 64 22 0a 20 | onnectionsDialog".type="child".. |
133bc0 | 20 20 20 20 20 20 20 20 20 20 20 78 6d 6c 6e 73 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a | ...........xmlns="http://www.moz |
133be0 | 69 6c 6c 61 2e 6f 72 67 2f 6b 65 79 6d 61 73 74 65 72 2f 67 61 74 65 6b 65 65 70 65 72 2f 74 68 | illa.org/keymaster/gatekeeper/th |
133c00 | 65 72 65 2e 69 73 2e 6f 6e 6c 79 2e 78 75 6c 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 69 74 | ere.is.only.xul".............tit |
133c20 | 6c 65 3d 22 26 63 6f 6e 6e 65 63 74 69 6f 6e 73 44 69 61 6c 6f 67 2e 74 69 74 6c 65 3b 22 0a 20 | le="&connectionsDialog.title;".. |
133c40 | 20 20 20 20 20 20 20 20 20 20 20 64 6c 67 62 75 74 74 6f 6e 73 3d 22 61 63 63 65 70 74 2c 63 61 | ...........dlgbuttons="accept,ca |
133c60 | 6e 63 65 6c 2c 68 65 6c 70 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 62 65 66 6f 72 65 61 | ncel,help".............onbeforea |
133c80 | 63 63 65 70 74 3d 22 72 65 74 75 72 6e 20 67 43 6f 6e 6e 65 63 74 69 6f 6e 73 44 69 61 6c 6f 67 | ccept="return.gConnectionsDialog |
133ca0 | 2e 62 65 66 6f 72 65 41 63 63 65 70 74 28 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e | .beforeAccept();".............on |
133cc0 | 6c 6f 61 64 3d 22 67 43 6f 6e 6e 65 63 74 69 6f 6e 73 44 69 61 6c 6f 67 2e 63 68 65 63 6b 46 6f | load="gConnectionsDialog.checkFo |
133ce0 | 72 53 79 73 74 65 6d 50 72 6f 78 79 28 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 64 | rSystemProxy();".............ond |
133d00 | 69 61 6c 6f 67 68 65 6c 70 3d 22 6f 70 65 6e 50 72 65 66 73 48 65 6c 70 28 29 22 0a 20 20 20 20 | ialoghelp="openPrefsHelp()"..... |
133d20 | 20 20 20 20 20 20 20 20 73 74 79 6c 65 3d 22 77 69 64 74 68 3a 20 26 77 69 6e 64 6f 77 2e 77 69 | ........style="width:.&window.wi |
133d40 | 64 74 68 3b 20 21 69 6d 70 6f 72 74 61 6e 74 3b 22 3e 0a 0a 20 20 3c 73 63 72 69 70 74 20 74 79 | dth;.!important;">....<script.ty |
133d60 | 70 65 3d 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f 6a 61 76 61 73 63 72 69 70 74 22 20 73 72 63 3d | pe="application/javascript".src= |
133d80 | 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 75 74 69 6c 69 74 | "chrome://browser/content/utilit |
133da0 | 79 4f 76 65 72 6c 61 79 2e 6a 73 22 2f 3e 0a 0a 20 20 3c 70 72 65 66 70 61 6e 65 20 69 64 3d 22 | yOverlay.js"/>....<prefpane.id=" |
133dc0 | 43 6f 6e 6e 65 63 74 69 6f 6e 73 44 69 61 6c 6f 67 50 61 6e 65 22 0a 20 20 20 20 20 20 20 20 20 | ConnectionsDialogPane".......... |
133de0 | 20 20 20 68 65 6c 70 54 6f 70 69 63 3d 22 70 72 65 66 73 2d 63 6f 6e 6e 65 63 74 69 6f 6e 2d 73 | ...helpTopic="prefs-connection-s |
133e00 | 65 74 74 69 6e 67 73 22 3e 0a 0a 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 73 3e 0a 20 20 20 | ettings">......<preferences>.... |
133e20 | 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 6e 65 74 77 6f 72 6b 2e 70 72 6f 78 79 | ...<preference.id="network.proxy |
133e40 | 2e 74 79 70 65 22 20 20 20 20 20 20 20 20 20 6e 61 6d 65 3d 22 6e 65 74 77 6f 72 6b 2e 70 72 6f | .type".........name="network.pro |
133e60 | 78 79 2e 74 79 70 65 22 20 20 20 20 20 20 20 20 20 74 79 70 65 3d 22 69 6e 74 22 20 6f 6e 63 68 | xy.type".........type="int".onch |
133e80 | 61 6e 67 65 3d 22 67 43 6f 6e 6e 65 63 74 69 6f 6e 73 44 69 61 6c 6f 67 2e 70 72 6f 78 79 54 79 | ange="gConnectionsDialog.proxyTy |
133ea0 | 70 65 43 68 61 6e 67 65 64 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 | peChanged();"/>.......<preferenc |
133ec0 | 65 20 69 64 3d 22 6e 65 74 77 6f 72 6b 2e 70 72 6f 78 79 2e 68 74 74 70 22 20 20 20 20 20 20 20 | e.id="network.proxy.http"....... |
133ee0 | 20 20 6e 61 6d 65 3d 22 6e 65 74 77 6f 72 6b 2e 70 72 6f 78 79 2e 68 74 74 70 22 20 20 20 20 20 | ..name="network.proxy.http"..... |
133f00 | 20 20 20 20 74 79 70 65 3d 22 73 74 72 69 6e 67 22 2f 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 65 | ....type="string"/>.......<prefe |
133f20 | 72 65 6e 63 65 20 69 64 3d 22 6e 65 74 77 6f 72 6b 2e 70 72 6f 78 79 2e 68 74 74 70 5f 70 6f 72 | rence.id="network.proxy.http_por |
133f40 | 74 22 20 20 20 20 6e 61 6d 65 3d 22 6e 65 74 77 6f 72 6b 2e 70 72 6f 78 79 2e 68 74 74 70 5f 70 | t"....name="network.proxy.http_p |
133f60 | 6f 72 74 22 20 20 20 20 74 79 70 65 3d 22 69 6e 74 22 2f 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 | ort"....type="int"/>.......<pref |
133f80 | 65 72 65 6e 63 65 20 69 64 3d 22 6e 65 74 77 6f 72 6b 2e 70 72 6f 78 79 2e 66 74 70 22 20 20 20 | erence.id="network.proxy.ftp"... |
133fa0 | 20 20 20 20 20 20 20 6e 61 6d 65 3d 22 6e 65 74 77 6f 72 6b 2e 70 72 6f 78 79 2e 66 74 70 22 20 | .......name="network.proxy.ftp". |
133fc0 | 20 20 20 20 20 20 20 20 20 74 79 70 65 3d 22 73 74 72 69 6e 67 22 2f 3e 0a 20 20 20 20 20 20 3c | .........type="string"/>.......< |
133fe0 | 70 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 6e 65 74 77 6f 72 6b 2e 70 72 6f 78 79 2e 66 74 70 | preference.id="network.proxy.ftp |
134000 | 5f 70 6f 72 74 22 20 20 20 20 20 6e 61 6d 65 3d 22 6e 65 74 77 6f 72 6b 2e 70 72 6f 78 79 2e 66 | _port".....name="network.proxy.f |
134020 | 74 70 5f 70 6f 72 74 22 20 20 20 20 20 74 79 70 65 3d 22 69 6e 74 22 2f 3e 0a 20 20 20 20 20 20 | tp_port".....type="int"/>....... |
134040 | 3c 70 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 6e 65 74 77 6f 72 6b 2e 70 72 6f 78 79 2e 73 73 | <preference.id="network.proxy.ss |
134060 | 6c 22 20 20 20 20 20 20 20 20 20 20 6e 61 6d 65 3d 22 6e 65 74 77 6f 72 6b 2e 70 72 6f 78 79 2e | l"..........name="network.proxy. |
134080 | 73 73 6c 22 20 20 20 20 20 20 20 20 20 20 74 79 70 65 3d 22 73 74 72 69 6e 67 22 2f 3e 0a 20 20 | ssl"..........type="string"/>... |
1340a0 | 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 6e 65 74 77 6f 72 6b 2e 70 72 6f 78 | ....<preference.id="network.prox |
1340c0 | 79 2e 73 73 6c 5f 70 6f 72 74 22 20 20 20 20 20 6e 61 6d 65 3d 22 6e 65 74 77 6f 72 6b 2e 70 72 | y.ssl_port".....name="network.pr |
1340e0 | 6f 78 79 2e 73 73 6c 5f 70 6f 72 74 22 20 20 20 20 20 74 79 70 65 3d 22 69 6e 74 22 2f 3e 0a 20 | oxy.ssl_port".....type="int"/>.. |
134100 | 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 6e 65 74 77 6f 72 6b 2e 70 72 6f | .....<preference.id="network.pro |
134120 | 78 79 2e 73 6f 63 6b 73 22 20 20 20 20 20 20 20 20 6e 61 6d 65 3d 22 6e 65 74 77 6f 72 6b 2e 70 | xy.socks"........name="network.p |
134140 | 72 6f 78 79 2e 73 6f 63 6b 73 22 20 20 20 20 20 20 20 20 74 79 70 65 3d 22 73 74 72 69 6e 67 22 | roxy.socks"........type="string" |
134160 | 2f 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 6e 65 74 77 6f 72 6b | />.......<preference.id="network |
134180 | 2e 70 72 6f 78 79 2e 73 6f 63 6b 73 5f 70 6f 72 74 22 20 20 20 6e 61 6d 65 3d 22 6e 65 74 77 6f | .proxy.socks_port"...name="netwo |
1341a0 | 72 6b 2e 70 72 6f 78 79 2e 73 6f 63 6b 73 5f 70 6f 72 74 22 20 20 20 74 79 70 65 3d 22 69 6e 74 | rk.proxy.socks_port"...type="int |
1341c0 | 22 2f 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 6e 65 74 77 6f 72 | "/>.......<preference.id="networ |
1341e0 | 6b 2e 70 72 6f 78 79 2e 67 6f 70 68 65 72 22 20 20 20 20 20 20 20 6e 61 6d 65 3d 22 6e 65 74 77 | k.proxy.gopher".......name="netw |
134200 | 6f 72 6b 2e 70 72 6f 78 79 2e 67 6f 70 68 65 72 22 20 20 20 20 20 20 20 74 79 70 65 3d 22 73 74 | ork.proxy.gopher".......type="st |
134220 | 72 69 6e 67 22 2f 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 6e 65 | ring"/>.......<preference.id="ne |
134240 | 74 77 6f 72 6b 2e 70 72 6f 78 79 2e 67 6f 70 68 65 72 5f 70 6f 72 74 22 20 20 6e 61 6d 65 3d 22 | twork.proxy.gopher_port"..name=" |
134260 | 6e 65 74 77 6f 72 6b 2e 70 72 6f 78 79 2e 67 6f 70 68 65 72 5f 70 6f 72 74 22 20 20 74 79 70 65 | network.proxy.gopher_port"..type |
134280 | 3d 22 69 6e 74 22 2f 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 6e | ="int"/>.......<preference.id="n |
1342a0 | 65 74 77 6f 72 6b 2e 70 72 6f 78 79 2e 73 6f 63 6b 73 5f 76 65 72 73 69 6f 6e 22 20 20 6e 61 6d | etwork.proxy.socks_version"..nam |
1342c0 | 65 3d 22 6e 65 74 77 6f 72 6b 2e 70 72 6f 78 79 2e 73 6f 63 6b 73 5f 76 65 72 73 69 6f 6e 22 20 | e="network.proxy.socks_version". |
1342e0 | 20 74 79 70 65 3d 22 69 6e 74 22 2f 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 | .type="int"/>.......<preference. |
134300 | 69 64 3d 22 6e 65 74 77 6f 72 6b 2e 70 72 6f 78 79 2e 6e 6f 5f 70 72 6f 78 69 65 73 5f 6f 6e 22 | id="network.proxy.no_proxies_on" |
134320 | 20 20 6e 61 6d 65 3d 22 6e 65 74 77 6f 72 6b 2e 70 72 6f 78 79 2e 6e 6f 5f 70 72 6f 78 69 65 73 | ..name="network.proxy.no_proxies |
134340 | 5f 6f 6e 22 20 20 74 79 70 65 3d 22 73 74 72 69 6e 67 22 2f 3e 0a 20 20 20 20 20 20 3c 70 72 65 | _on"..type="string"/>.......<pre |
134360 | 66 65 72 65 6e 63 65 20 69 64 3d 22 6e 65 74 77 6f 72 6b 2e 70 72 6f 78 79 2e 61 75 74 6f 63 6f | ference.id="network.proxy.autoco |
134380 | 6e 66 69 67 5f 75 72 6c 22 20 6e 61 6d 65 3d 22 6e 65 74 77 6f 72 6b 2e 70 72 6f 78 79 2e 61 75 | nfig_url".name="network.proxy.au |
1343a0 | 74 6f 63 6f 6e 66 69 67 5f 75 72 6c 22 20 74 79 70 65 3d 22 73 74 72 69 6e 67 22 2f 3e 0a 20 20 | toconfig_url".type="string"/>... |
1343c0 | 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 6e 65 74 77 6f 72 6b 2e 70 72 6f 78 | ....<preference.id="network.prox |
1343e0 | 79 2e 73 68 61 72 65 5f 70 72 6f 78 79 5f 73 65 74 74 69 6e 67 73 22 0a 20 20 20 20 20 20 20 20 | y.share_proxy_settings"......... |
134400 | 20 20 20 20 20 20 20 20 20 20 6e 61 6d 65 3d 22 6e 65 74 77 6f 72 6b 2e 70 72 6f 78 79 2e 73 68 | ..........name="network.proxy.sh |
134420 | 61 72 65 5f 70 72 6f 78 79 5f 73 65 74 74 69 6e 67 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 | are_proxy_settings"............. |
134440 | 20 20 20 20 20 20 74 79 70 65 3d 22 62 6f 6f 6c 22 2f 3e 0a 20 20 20 20 20 20 0a 20 20 20 20 20 | ......type="bool"/>............. |
134460 | 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 70 72 65 66 2e 61 64 76 61 6e 63 65 64 2e 70 | .<preference.id="pref.advanced.p |
134480 | 72 6f 78 69 65 73 2e 64 69 73 61 62 6c 65 5f 62 75 74 74 6f 6e 2e 72 65 6c 6f 61 64 22 0a 20 20 | roxies.disable_button.reload"... |
1344a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 61 6d 65 3d 22 70 72 65 66 2e 61 64 76 61 6e | ................name="pref.advan |
1344c0 | 63 65 64 2e 70 72 6f 78 69 65 73 2e 64 69 73 61 62 6c 65 5f 62 75 74 74 6f 6e 2e 72 65 6c 6f 61 | ced.proxies.disable_button.reloa |
1344e0 | 64 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 79 70 65 3d 22 62 6f 6f 6c 22 | d"...................type="bool" |
134500 | 2f 3e 0a 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 6e 65 74 77 6f 72 | />........<preference.id="networ |
134520 | 6b 2e 70 72 6f 78 79 2e 62 61 63 6b 75 70 2e 66 74 70 22 20 20 20 20 20 20 20 20 20 20 6e 61 6d | k.proxy.backup.ftp"..........nam |
134540 | 65 3d 22 6e 65 74 77 6f 72 6b 2e 70 72 6f 78 79 2e 62 61 63 6b 75 70 2e 66 74 70 22 20 20 20 20 | e="network.proxy.backup.ftp".... |
134560 | 20 20 20 20 20 20 74 79 70 65 3d 22 73 74 72 69 6e 67 22 2f 3e 0a 20 20 20 20 20 20 3c 70 72 65 | ......type="string"/>.......<pre |
134580 | 66 65 72 65 6e 63 65 20 69 64 3d 22 6e 65 74 77 6f 72 6b 2e 70 72 6f 78 79 2e 62 61 63 6b 75 70 | ference.id="network.proxy.backup |
1345a0 | 2e 66 74 70 5f 70 6f 72 74 22 20 20 20 20 20 6e 61 6d 65 3d 22 6e 65 74 77 6f 72 6b 2e 70 72 6f | .ftp_port".....name="network.pro |
1345c0 | 78 79 2e 62 61 63 6b 75 70 2e 66 74 70 5f 70 6f 72 74 22 20 20 20 20 20 74 79 70 65 3d 22 69 6e | xy.backup.ftp_port".....type="in |
1345e0 | 74 22 2f 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 6e 65 74 77 6f | t"/>.......<preference.id="netwo |
134600 | 72 6b 2e 70 72 6f 78 79 2e 62 61 63 6b 75 70 2e 73 73 6c 22 20 20 20 20 20 20 20 20 20 20 6e 61 | rk.proxy.backup.ssl"..........na |
134620 | 6d 65 3d 22 6e 65 74 77 6f 72 6b 2e 70 72 6f 78 79 2e 62 61 63 6b 75 70 2e 73 73 6c 22 20 20 20 | me="network.proxy.backup.ssl"... |
134640 | 20 20 20 20 20 20 20 74 79 70 65 3d 22 73 74 72 69 6e 67 22 2f 3e 0a 20 20 20 20 20 20 3c 70 72 | .......type="string"/>.......<pr |
134660 | 65 66 65 72 65 6e 63 65 20 69 64 3d 22 6e 65 74 77 6f 72 6b 2e 70 72 6f 78 79 2e 62 61 63 6b 75 | eference.id="network.proxy.backu |
134680 | 70 2e 73 73 6c 5f 70 6f 72 74 22 20 20 20 20 20 6e 61 6d 65 3d 22 6e 65 74 77 6f 72 6b 2e 70 72 | p.ssl_port".....name="network.pr |
1346a0 | 6f 78 79 2e 62 61 63 6b 75 70 2e 73 73 6c 5f 70 6f 72 74 22 20 20 20 20 20 74 79 70 65 3d 22 69 | oxy.backup.ssl_port".....type="i |
1346c0 | 6e 74 22 2f 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 6e 65 74 77 | nt"/>.......<preference.id="netw |
1346e0 | 6f 72 6b 2e 70 72 6f 78 79 2e 62 61 63 6b 75 70 2e 73 6f 63 6b 73 22 20 20 20 20 20 20 20 20 6e | ork.proxy.backup.socks"........n |
134700 | 61 6d 65 3d 22 6e 65 74 77 6f 72 6b 2e 70 72 6f 78 79 2e 62 61 63 6b 75 70 2e 73 6f 63 6b 73 22 | ame="network.proxy.backup.socks" |
134720 | 20 20 20 20 20 20 20 20 74 79 70 65 3d 22 73 74 72 69 6e 67 22 2f 3e 0a 20 20 20 20 20 20 3c 70 | ........type="string"/>.......<p |
134740 | 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 6e 65 74 77 6f 72 6b 2e 70 72 6f 78 79 2e 62 61 63 6b | reference.id="network.proxy.back |
134760 | 75 70 2e 73 6f 63 6b 73 5f 70 6f 72 74 22 20 20 20 6e 61 6d 65 3d 22 6e 65 74 77 6f 72 6b 2e 70 | up.socks_port"...name="network.p |
134780 | 72 6f 78 79 2e 62 61 63 6b 75 70 2e 73 6f 63 6b 73 5f 70 6f 72 74 22 20 20 20 74 79 70 65 3d 22 | roxy.backup.socks_port"...type=" |
1347a0 | 69 6e 74 22 2f 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 6e 65 74 | int"/>.......<preference.id="net |
1347c0 | 77 6f 72 6b 2e 70 72 6f 78 79 2e 62 61 63 6b 75 70 2e 67 6f 70 68 65 72 22 20 20 20 20 20 20 20 | work.proxy.backup.gopher"....... |
1347e0 | 6e 61 6d 65 3d 22 6e 65 74 77 6f 72 6b 2e 70 72 6f 78 79 2e 62 61 63 6b 75 70 2e 67 6f 70 68 65 | name="network.proxy.backup.gophe |
134800 | 72 22 20 20 20 20 20 20 20 74 79 70 65 3d 22 73 74 72 69 6e 67 22 2f 3e 0a 20 20 20 20 20 20 3c | r".......type="string"/>.......< |
134820 | 70 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 6e 65 74 77 6f 72 6b 2e 70 72 6f 78 79 2e 62 61 63 | preference.id="network.proxy.bac |
134840 | 6b 75 70 2e 67 6f 70 68 65 72 5f 70 6f 72 74 22 20 20 6e 61 6d 65 3d 22 6e 65 74 77 6f 72 6b 2e | kup.gopher_port"..name="network. |
134860 | 70 72 6f 78 79 2e 62 61 63 6b 75 70 2e 67 6f 70 68 65 72 5f 70 6f 72 74 22 20 20 74 79 70 65 3d | proxy.backup.gopher_port"..type= |
134880 | 22 69 6e 74 22 2f 3e 0a 20 20 20 20 3c 2f 70 72 65 66 65 72 65 6e 63 65 73 3e 0a 20 20 20 20 0a | "int"/>.....</preferences>...... |
1348a0 | 20 20 20 20 3c 73 63 72 69 70 74 20 74 79 70 65 3d 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f 78 2d | ....<script.type="application/x- |
1348c0 | 6a 61 76 61 73 63 72 69 70 74 22 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 | javascript".src="chrome://browse |
1348e0 | 72 2f 63 6f 6e 74 65 6e 74 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 63 6f 6e 6e 65 63 74 69 6f 6e | r/content/preferences/connection |
134900 | 2e 6a 73 22 2f 3e 0a 0a 20 20 20 20 3c 73 74 72 69 6e 67 62 75 6e 64 6c 65 20 69 64 3d 22 70 72 | .js"/>......<stringbundle.id="pr |
134920 | 65 66 65 72 65 6e 63 65 73 42 75 6e 64 6c 65 22 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 | eferencesBundle".src="chrome://b |
134940 | 72 6f 77 73 65 72 2f 6c 6f 63 61 6c 65 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 70 72 65 66 65 72 | rowser/locale/preferences/prefer |
134960 | 65 6e 63 65 73 2e 70 72 6f 70 65 72 74 69 65 73 22 2f 3e 0a 0a 20 20 20 20 3c 67 72 6f 75 70 62 | ences.properties"/>......<groupb |
134980 | 6f 78 3e 0a 20 20 20 20 20 20 3c 63 61 70 74 69 6f 6e 20 6c 61 62 65 6c 3d 22 26 70 72 6f 78 79 | ox>.......<caption.label="&proxy |
1349a0 | 54 69 74 6c 65 2e 6c 61 62 65 6c 3b 22 2f 3e 0a 0a 20 20 20 20 20 20 3c 72 61 64 69 6f 67 72 6f | Title.label;"/>........<radiogro |
1349c0 | 75 70 20 69 64 3d 22 6e 65 74 77 6f 72 6b 50 72 6f 78 79 54 79 70 65 22 20 70 72 65 66 65 72 65 | up.id="networkProxyType".prefere |
1349e0 | 6e 63 65 3d 22 6e 65 74 77 6f 72 6b 2e 70 72 6f 78 79 2e 74 79 70 65 22 0a 20 20 20 20 20 20 20 | nce="network.proxy.type"........ |
134a00 | 20 20 20 20 20 20 20 20 20 20 20 6f 6e 73 79 6e 63 66 72 6f 6d 70 72 65 66 65 72 65 6e 63 65 3d | ...........onsyncfrompreference= |
134a20 | 22 72 65 74 75 72 6e 20 67 43 6f 6e 6e 65 63 74 69 6f 6e 73 44 69 61 6c 6f 67 2e 72 65 61 64 50 | "return.gConnectionsDialog.readP |
134a40 | 72 6f 78 79 54 79 70 65 28 29 3b 22 3e 0a 20 20 20 20 20 20 20 20 3c 72 61 64 69 6f 20 76 61 6c | roxyType();">.........<radio.val |
134a60 | 75 65 3d 22 30 22 20 6c 61 62 65 6c 3d 22 26 6e 6f 50 72 6f 78 79 54 79 70 65 52 61 64 69 6f 2e | ue="0".label="&noProxyTypeRadio. |
134a80 | 6c 61 62 65 6c 3b 22 20 61 63 63 65 73 73 6b 65 79 3d 22 26 6e 6f 50 72 6f 78 79 54 79 70 65 52 | label;".accesskey="&noProxyTypeR |
134aa0 | 61 64 69 6f 2e 61 63 63 65 73 73 6b 65 79 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 72 61 64 69 | adio.accesskey;"/>.........<radi |
134ac0 | 6f 20 76 61 6c 75 65 3d 22 34 22 20 6c 61 62 65 6c 3d 22 26 57 50 41 44 54 79 70 65 52 61 64 69 | o.value="4".label="&WPADTypeRadi |
134ae0 | 6f 2e 6c 61 62 65 6c 3b 22 20 61 63 63 65 73 73 6b 65 79 3d 22 26 57 50 41 44 54 79 70 65 52 61 | o.label;".accesskey="&WPADTypeRa |
134b00 | 64 69 6f 2e 61 63 63 65 73 73 6b 65 79 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 72 61 64 69 6f | dio.accesskey;"/>.........<radio |
134b20 | 20 76 61 6c 75 65 3d 22 35 22 20 6c 61 62 65 6c 3d 22 26 73 79 73 74 65 6d 54 79 70 65 52 61 64 | .value="5".label="&systemTypeRad |
134b40 | 69 6f 2e 6c 61 62 65 6c 3b 22 20 61 63 63 65 73 73 6b 65 79 3d 22 26 73 79 73 74 65 6d 54 79 70 | io.label;".accesskey="&systemTyp |
134b60 | 65 52 61 64 69 6f 2e 61 63 63 65 73 73 6b 65 79 3b 22 20 69 64 3d 22 73 79 73 74 65 6d 50 72 65 | eRadio.accesskey;".id="systemPre |
134b80 | 66 22 20 68 69 64 64 65 6e 3d 22 74 72 75 65 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 72 61 64 69 | f".hidden="true"/>.........<radi |
134ba0 | 6f 20 76 61 6c 75 65 3d 22 31 22 20 6c 61 62 65 6c 3d 22 26 6d 61 6e 75 61 6c 54 79 70 65 52 61 | o.value="1".label="&manualTypeRa |
134bc0 | 64 69 6f 2e 6c 61 62 65 6c 3b 22 20 61 63 63 65 73 73 6b 65 79 3d 22 26 6d 61 6e 75 61 6c 54 79 | dio.label;".accesskey="&manualTy |
134be0 | 70 65 52 61 64 69 6f 2e 61 63 63 65 73 73 6b 65 79 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 67 | peRadio.accesskey;"/>.........<g |
134c00 | 72 69 64 20 63 6c 61 73 73 3d 22 69 6e 64 65 6e 74 22 20 66 6c 65 78 3d 22 31 22 3e 0a 20 20 20 | rid.class="indent".flex="1">.... |
134c20 | 20 20 20 20 20 20 20 3c 63 6f 6c 75 6d 6e 73 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 63 6f | .......<columns>.............<co |
134c40 | 6c 75 6d 6e 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 63 6f 6c 75 6d 6e 20 66 6c 65 78 3d | lumn/>.............<column.flex= |
134c60 | 22 31 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 2f 63 6f 6c 75 6d 6e 73 3e 0a 20 20 20 20 20 | "1"/>...........</columns>...... |
134c80 | 20 20 20 20 20 3c 72 6f 77 73 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 72 6f 77 20 61 6c 69 | .....<rows>.............<row.ali |
134ca0 | 67 6e 3d 22 63 65 6e 74 65 72 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 68 62 6f 78 | gn="center">...............<hbox |
134cc0 | 20 70 61 63 6b 3d 22 65 6e 64 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 61 | .pack="end">.................<la |
134ce0 | 62 65 6c 20 76 61 6c 75 65 3d 22 26 68 74 74 70 2e 6c 61 62 65 6c 3b 22 20 61 63 63 65 73 73 6b | bel.value="&http.label;".accessk |
134d00 | 65 79 3d 22 26 68 74 74 70 2e 61 63 63 65 73 73 6b 65 79 3b 22 20 63 6f 6e 74 72 6f 6c 3d 22 6e | ey="&http.accesskey;".control="n |
134d20 | 65 74 77 6f 72 6b 50 72 6f 78 79 48 54 54 50 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | etworkProxyHTTP"/>.............. |
134d40 | 20 3c 2f 68 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 68 62 6f 78 20 61 6c 69 | .</hbox>...............<hbox.ali |
134d60 | 67 6e 3d 22 63 65 6e 74 65 72 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 74 65 | gn="center">.................<te |
134d80 | 78 74 62 6f 78 20 69 64 3d 22 6e 65 74 77 6f 72 6b 50 72 6f 78 79 48 54 54 50 22 20 66 6c 65 78 | xtbox.id="networkProxyHTTP".flex |
134da0 | 3d 22 31 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 | ="1"..........................pr |
134dc0 | 65 66 65 72 65 6e 63 65 3d 22 6e 65 74 77 6f 72 6b 2e 70 72 6f 78 79 2e 68 74 74 70 22 20 6f 6e | eference="network.proxy.http".on |
134de0 | 73 79 6e 63 66 72 6f 6d 70 72 65 66 65 72 65 6e 63 65 3d 22 72 65 74 75 72 6e 20 67 43 6f 6e 6e | syncfrompreference="return.gConn |
134e00 | 65 63 74 69 6f 6e 73 44 69 61 6c 6f 67 2e 72 65 61 64 48 54 54 50 50 72 6f 78 79 53 65 72 76 65 | ectionsDialog.readHTTPProxyServe |
134e20 | 72 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 61 62 65 6c 20 76 | r();"/>.................<label.v |
134e40 | 61 6c 75 65 3d 22 26 70 6f 72 74 2e 6c 61 62 65 6c 3b 22 20 61 63 63 65 73 73 6b 65 79 3d 22 26 | alue="&port.label;".accesskey="& |
134e60 | 48 54 54 50 70 6f 72 74 2e 61 63 63 65 73 73 6b 65 79 3b 22 20 63 6f 6e 74 72 6f 6c 3d 22 6e 65 | HTTPport.accesskey;".control="ne |
134e80 | 74 77 6f 72 6b 50 72 6f 78 79 48 54 54 50 5f 50 6f 72 74 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 | tworkProxyHTTP_Port"/>.......... |
134ea0 | 20 20 20 20 20 20 20 3c 74 65 78 74 62 6f 78 20 69 64 3d 22 6e 65 74 77 6f 72 6b 50 72 6f 78 79 | .......<textbox.id="networkProxy |
134ec0 | 48 54 54 50 5f 50 6f 72 74 22 20 74 79 70 65 3d 22 6e 75 6d 62 65 72 22 20 6d 61 78 3d 22 36 35 | HTTP_Port".type="number".max="65 |
134ee0 | 35 33 35 22 20 73 69 7a 65 3d 22 35 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | 535".size="5"................... |
134f00 | 20 20 20 20 20 20 20 70 72 65 66 65 72 65 6e 63 65 3d 22 6e 65 74 77 6f 72 6b 2e 70 72 6f 78 79 | .......preference="network.proxy |
134f20 | 2e 68 74 74 70 5f 70 6f 72 74 22 20 6f 6e 73 79 6e 63 66 72 6f 6d 70 72 65 66 65 72 65 6e 63 65 | .http_port".onsyncfrompreference |
134f40 | 3d 22 72 65 74 75 72 6e 20 67 43 6f 6e 6e 65 63 74 69 6f 6e 73 44 69 61 6c 6f 67 2e 72 65 61 64 | ="return.gConnectionsDialog.read |
134f60 | 48 54 54 50 50 72 6f 78 79 50 6f 72 74 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 | HTTPProxyPort();"/>............. |
134f80 | 20 20 3c 2f 68 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 72 6f 77 3e 0a 20 20 20 | ..</hbox>.............</row>.... |
134fa0 | 20 20 20 20 20 20 20 20 20 3c 72 6f 77 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 68 62 | .........<row>...............<hb |
134fc0 | 6f 78 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 68 62 6f 78 3e 0a 20 20 20 20 20 20 | ox/>...............<hbox>....... |
134fe0 | 20 20 20 20 20 20 20 20 20 20 3c 63 68 65 63 6b 62 6f 78 20 69 64 3d 22 73 68 61 72 65 41 6c 6c | ..........<checkbox.id="shareAll |
135000 | 50 72 6f 78 69 65 73 22 20 6c 61 62 65 6c 3d 22 26 73 68 61 72 65 70 72 6f 78 79 2e 6c 61 62 65 | Proxies".label="&shareproxy.labe |
135020 | 6c 3b 22 20 61 63 63 65 73 73 6b 65 79 3d 22 26 73 68 61 72 65 70 72 6f 78 79 2e 61 63 63 65 73 | l;".accesskey="&shareproxy.acces |
135040 | 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | skey;".......................... |
135060 | 20 70 72 65 66 65 72 65 6e 63 65 3d 22 6e 65 74 77 6f 72 6b 2e 70 72 6f 78 79 2e 73 68 61 72 65 | .preference="network.proxy.share |
135080 | 5f 70 72 6f 78 79 5f 73 65 74 74 69 6e 67 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | _proxy_settings"................ |
1350a0 | 20 20 20 20 20 20 20 20 20 20 20 6f 6e 73 79 6e 63 66 72 6f 6d 70 72 65 66 65 72 65 6e 63 65 3d | ...........onsyncfrompreference= |
1350c0 | 22 72 65 74 75 72 6e 20 67 43 6f 6e 6e 65 63 74 69 6f 6e 73 44 69 61 6c 6f 67 2e 75 70 64 61 74 | "return.gConnectionsDialog.updat |
1350e0 | 65 50 72 6f 74 6f 63 6f 6c 50 72 65 66 73 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 | eProtocolPrefs();"/>............ |
135100 | 20 20 20 3c 2f 68 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 72 6f 77 3e 0a 20 20 | ...</hbox>.............</row>... |
135120 | 20 20 20 20 20 20 20 20 20 20 3c 72 6f 77 20 61 6c 69 67 6e 3d 22 63 65 6e 74 65 72 22 3e 0a 20 | ..........<row.align="center">.. |
135140 | 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 68 62 6f 78 20 70 61 63 6b 3d 22 65 6e 64 22 3e 0a 20 | .............<hbox.pack="end">.. |
135160 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 61 62 65 6c 20 76 61 6c 75 65 3d 22 26 73 73 | ...............<label.value="&ss |
135180 | 6c 2e 6c 61 62 65 6c 3b 22 20 61 63 63 65 73 73 6b 65 79 3d 22 26 73 73 6c 2e 61 63 63 65 73 73 | l.label;".accesskey="&ssl.access |
1351a0 | 6b 65 79 3b 22 20 63 6f 6e 74 72 6f 6c 3d 22 6e 65 74 77 6f 72 6b 50 72 6f 78 79 53 53 4c 22 2f | key;".control="networkProxySSL"/ |
1351c0 | 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 68 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 | >...............</hbox>......... |
1351e0 | 20 20 20 20 20 20 3c 68 62 6f 78 20 61 6c 69 67 6e 3d 22 63 65 6e 74 65 72 22 3e 0a 20 20 20 20 | ......<hbox.align="center">..... |
135200 | 20 20 20 20 20 20 20 20 20 20 20 20 3c 74 65 78 74 62 6f 78 20 69 64 3d 22 6e 65 74 77 6f 72 6b | ............<textbox.id="network |
135220 | 50 72 6f 78 79 53 53 4c 22 20 66 6c 65 78 3d 22 31 22 20 70 72 65 66 65 72 65 6e 63 65 3d 22 6e | ProxySSL".flex="1".preference="n |
135240 | 65 74 77 6f 72 6b 2e 70 72 6f 78 79 2e 73 73 6c 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | etwork.proxy.ssl"............... |
135260 | 20 20 20 20 20 20 20 20 20 20 20 6f 6e 73 79 6e 63 66 72 6f 6d 70 72 65 66 65 72 65 6e 63 65 3d | ...........onsyncfrompreference= |
135280 | 22 72 65 74 75 72 6e 20 67 43 6f 6e 6e 65 63 74 69 6f 6e 73 44 69 61 6c 6f 67 2e 72 65 61 64 50 | "return.gConnectionsDialog.readP |
1352a0 | 72 6f 78 79 50 72 6f 74 6f 63 6f 6c 50 72 65 66 28 27 73 73 6c 27 2c 20 66 61 6c 73 65 29 3b 22 | roxyProtocolPref('ssl',.false);" |
1352c0 | 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 61 62 65 6c 20 76 61 6c 75 65 3d | />.................<label.value= |
1352e0 | 22 26 70 6f 72 74 2e 6c 61 62 65 6c 3b 22 20 61 63 63 65 73 73 6b 65 79 3d 22 26 53 53 4c 70 6f | "&port.label;".accesskey="&SSLpo |
135300 | 72 74 2e 61 63 63 65 73 73 6b 65 79 3b 22 20 63 6f 6e 74 72 6f 6c 3d 22 6e 65 74 77 6f 72 6b 50 | rt.accesskey;".control="networkP |
135320 | 72 6f 78 79 53 53 4c 5f 50 6f 72 74 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | roxySSL_Port"/>................. |
135340 | 3c 74 65 78 74 62 6f 78 20 69 64 3d 22 6e 65 74 77 6f 72 6b 50 72 6f 78 79 53 53 4c 5f 50 6f 72 | <textbox.id="networkProxySSL_Por |
135360 | 74 22 20 74 79 70 65 3d 22 6e 75 6d 62 65 72 22 20 6d 61 78 3d 22 36 35 35 33 35 22 20 73 69 7a | t".type="number".max="65535".siz |
135380 | 65 3d 22 35 22 20 70 72 65 66 65 72 65 6e 63 65 3d 22 6e 65 74 77 6f 72 6b 2e 70 72 6f 78 79 2e | e="5".preference="network.proxy. |
1353a0 | 73 73 6c 5f 70 6f 72 74 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ssl_port"....................... |
1353c0 | 20 20 20 6f 6e 73 79 6e 63 66 72 6f 6d 70 72 65 66 65 72 65 6e 63 65 3d 22 72 65 74 75 72 6e 20 | ...onsyncfrompreference="return. |
1353e0 | 67 43 6f 6e 6e 65 63 74 69 6f 6e 73 44 69 61 6c 6f 67 2e 72 65 61 64 50 72 6f 78 79 50 72 6f 74 | gConnectionsDialog.readProxyProt |
135400 | 6f 63 6f 6c 50 72 65 66 28 27 73 73 6c 27 2c 20 74 72 75 65 29 3b 22 2f 3e 0a 20 20 20 20 20 20 | ocolPref('ssl',.true);"/>....... |
135420 | 20 20 20 20 20 20 20 20 3c 2f 68 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 72 6f | ........</hbox>.............</ro |
135440 | 77 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 72 6f 77 20 61 6c 69 67 6e 3d 22 63 65 6e 74 65 | w>.............<row.align="cente |
135460 | 72 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 68 62 6f 78 20 70 61 63 6b 3d 22 65 6e | r">...............<hbox.pack="en |
135480 | 64 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 61 62 65 6c 20 76 61 6c 75 65 | d">.................<label.value |
1354a0 | 3d 22 26 66 74 70 2e 6c 61 62 65 6c 3b 22 20 61 63 63 65 73 73 6b 65 79 3d 22 26 66 74 70 2e 61 | ="&ftp.label;".accesskey="&ftp.a |
1354c0 | 63 63 65 73 73 6b 65 79 3b 22 20 63 6f 6e 74 72 6f 6c 3d 22 6e 65 74 77 6f 72 6b 50 72 6f 78 79 | ccesskey;".control="networkProxy |
1354e0 | 46 54 50 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 68 62 6f 78 3e 0a 20 20 20 | FTP"/>...............</hbox>.... |
135500 | 20 20 20 20 20 20 20 20 20 20 20 3c 68 62 6f 78 20 61 6c 69 67 6e 3d 22 63 65 6e 74 65 72 22 3e | ...........<hbox.align="center"> |
135520 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 74 65 78 74 62 6f 78 20 69 64 3d 22 6e 65 | .................<textbox.id="ne |
135540 | 74 77 6f 72 6b 50 72 6f 78 79 46 54 50 22 20 66 6c 65 78 3d 22 31 22 20 70 72 65 66 65 72 65 6e | tworkProxyFTP".flex="1".preferen |
135560 | 63 65 3d 22 6e 65 74 77 6f 72 6b 2e 70 72 6f 78 79 2e 66 74 70 22 0a 20 20 20 20 20 20 20 20 20 | ce="network.proxy.ftp".......... |
135580 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 73 79 6e 63 66 72 6f 6d 70 72 65 66 65 72 | ................onsyncfromprefer |
1355a0 | 65 6e 63 65 3d 22 72 65 74 75 72 6e 20 67 43 6f 6e 6e 65 63 74 69 6f 6e 73 44 69 61 6c 6f 67 2e | ence="return.gConnectionsDialog. |
1355c0 | 72 65 61 64 50 72 6f 78 79 50 72 6f 74 6f 63 6f 6c 50 72 65 66 28 27 66 74 70 27 2c 20 66 61 6c | readProxyProtocolPref('ftp',.fal |
1355e0 | 73 65 29 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 61 62 65 6c 20 76 | se);"/>.................<label.v |
135600 | 61 6c 75 65 3d 22 26 70 6f 72 74 2e 6c 61 62 65 6c 3b 22 20 61 63 63 65 73 73 6b 65 79 3d 22 26 | alue="&port.label;".accesskey="& |
135620 | 46 54 50 70 6f 72 74 2e 61 63 63 65 73 73 6b 65 79 3b 22 20 63 6f 6e 74 72 6f 6c 3d 22 6e 65 74 | FTPport.accesskey;".control="net |
135640 | 77 6f 72 6b 50 72 6f 78 79 46 54 50 5f 50 6f 72 74 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 | workProxyFTP_Port"/>............ |
135660 | 20 20 20 20 20 3c 74 65 78 74 62 6f 78 20 69 64 3d 22 6e 65 74 77 6f 72 6b 50 72 6f 78 79 46 54 | .....<textbox.id="networkProxyFT |
135680 | 50 5f 50 6f 72 74 22 20 74 79 70 65 3d 22 6e 75 6d 62 65 72 22 20 6d 61 78 3d 22 36 35 35 33 35 | P_Port".type="number".max="65535 |
1356a0 | 22 20 73 69 7a 65 3d 22 35 22 20 70 72 65 66 65 72 65 6e 63 65 3d 22 6e 65 74 77 6f 72 6b 2e 70 | ".size="5".preference="network.p |
1356c0 | 72 6f 78 79 2e 66 74 70 5f 70 6f 72 74 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | roxy.ftp_port".................. |
1356e0 | 20 20 20 20 20 20 20 20 6f 6e 73 79 6e 63 66 72 6f 6d 70 72 65 66 65 72 65 6e 63 65 3d 22 72 65 | ........onsyncfrompreference="re |
135700 | 74 75 72 6e 20 67 43 6f 6e 6e 65 63 74 69 6f 6e 73 44 69 61 6c 6f 67 2e 72 65 61 64 50 72 6f 78 | turn.gConnectionsDialog.readProx |
135720 | 79 50 72 6f 74 6f 63 6f 6c 50 72 65 66 28 27 66 74 70 27 2c 20 74 72 75 65 29 3b 22 2f 3e 0a 20 | yProtocolPref('ftp',.true);"/>.. |
135740 | 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 68 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 20 20 20 | .............</hbox>............ |
135760 | 20 3c 2f 72 6f 77 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 72 6f 77 20 61 6c 69 67 6e 3d 22 | .</row>.............<row.align=" |
135780 | 63 65 6e 74 65 72 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 68 62 6f 78 20 70 61 63 | center">...............<hbox.pac |
1357a0 | 6b 3d 22 65 6e 64 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 61 62 65 6c 20 | k="end">.................<label. |
1357c0 | 76 61 6c 75 65 3d 22 26 67 6f 70 68 65 72 2e 6c 61 62 65 6c 3b 22 20 61 63 63 65 73 73 6b 65 79 | value="&gopher.label;".accesskey |
1357e0 | 3d 22 26 67 6f 70 68 65 72 2e 61 63 63 65 73 73 6b 65 79 3b 22 20 63 6f 6e 74 72 6f 6c 3d 22 6e | ="&gopher.accesskey;".control="n |
135800 | 65 74 77 6f 72 6b 50 72 6f 78 79 47 6f 70 68 65 72 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 | etworkProxyGopher"/>............ |
135820 | 20 20 20 3c 2f 68 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 68 62 6f 78 20 61 | ...</hbox>...............<hbox.a |
135840 | 6c 69 67 6e 3d 22 63 65 6e 74 65 72 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c | lign="center">.................< |
135860 | 74 65 78 74 62 6f 78 20 69 64 3d 22 6e 65 74 77 6f 72 6b 50 72 6f 78 79 47 6f 70 68 65 72 22 20 | textbox.id="networkProxyGopher". |
135880 | 66 6c 65 78 3d 22 31 22 20 70 72 65 66 65 72 65 6e 63 65 3d 22 6e 65 74 77 6f 72 6b 2e 70 72 6f | flex="1".preference="network.pro |
1358a0 | 78 79 2e 67 6f 70 68 65 72 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | xy.gopher"...................... |
1358c0 | 20 20 20 20 6f 6e 73 79 6e 63 66 72 6f 6d 70 72 65 66 65 72 65 6e 63 65 3d 22 72 65 74 75 72 6e | ....onsyncfrompreference="return |
1358e0 | 20 67 43 6f 6e 6e 65 63 74 69 6f 6e 73 44 69 61 6c 6f 67 2e 72 65 61 64 50 72 6f 78 79 50 72 6f | .gConnectionsDialog.readProxyPro |
135900 | 74 6f 63 6f 6c 50 72 65 66 28 27 67 6f 70 68 65 72 27 2c 20 66 61 6c 73 65 29 3b 22 2f 3e 0a 20 | tocolPref('gopher',.false);"/>.. |
135920 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 61 62 65 6c 20 76 61 6c 75 65 3d 22 26 70 6f | ...............<label.value="&po |
135940 | 72 74 2e 6c 61 62 65 6c 3b 22 20 61 63 63 65 73 73 6b 65 79 3d 22 26 67 6f 70 68 65 72 50 6f 72 | rt.label;".accesskey="&gopherPor |
135960 | 74 2e 61 63 63 65 73 73 6b 65 79 3b 22 20 63 6f 6e 74 72 6f 6c 3d 22 6e 65 74 77 6f 72 6b 50 72 | t.accesskey;".control="networkPr |
135980 | 6f 78 79 47 6f 70 68 65 72 5f 50 6f 72 74 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | oxyGopher_Port"/>............... |
1359a0 | 20 20 3c 74 65 78 74 62 6f 78 20 69 64 3d 22 6e 65 74 77 6f 72 6b 50 72 6f 78 79 47 6f 70 68 65 | ..<textbox.id="networkProxyGophe |
1359c0 | 72 5f 50 6f 72 74 22 20 74 79 70 65 3d 22 6e 75 6d 62 65 72 22 20 6d 61 78 3d 22 36 35 35 33 35 | r_Port".type="number".max="65535 |
1359e0 | 22 20 73 69 7a 65 3d 22 35 22 20 70 72 65 66 65 72 65 6e 63 65 3d 22 6e 65 74 77 6f 72 6b 2e 70 | ".size="5".preference="network.p |
135a00 | 72 6f 78 79 2e 67 6f 70 68 65 72 5f 70 6f 72 74 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | roxy.gopher_port"............... |
135a20 | 20 20 20 20 20 20 20 20 20 20 20 6f 6e 73 79 6e 63 66 72 6f 6d 70 72 65 66 65 72 65 6e 63 65 3d | ...........onsyncfrompreference= |
135a40 | 22 72 65 74 75 72 6e 20 67 43 6f 6e 6e 65 63 74 69 6f 6e 73 44 69 61 6c 6f 67 2e 72 65 61 64 50 | "return.gConnectionsDialog.readP |
135a60 | 72 6f 78 79 50 72 6f 74 6f 63 6f 6c 50 72 65 66 28 27 67 6f 70 68 65 72 27 2c 20 74 72 75 65 29 | roxyProtocolPref('gopher',.true) |
135a80 | 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 68 62 6f 78 3e 0a 20 20 20 20 20 | ;"/>...............</hbox>...... |
135aa0 | 20 20 20 20 20 20 20 3c 2f 72 6f 77 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 72 6f 77 20 61 | .......</row>.............<row.a |
135ac0 | 6c 69 67 6e 3d 22 63 65 6e 74 65 72 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 68 62 | lign="center">...............<hb |
135ae0 | 6f 78 20 70 61 63 6b 3d 22 65 6e 64 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c | ox.pack="end">.................< |
135b00 | 6c 61 62 65 6c 20 76 61 6c 75 65 3d 22 26 73 6f 63 6b 73 2e 6c 61 62 65 6c 3b 22 20 61 63 63 65 | label.value="&socks.label;".acce |
135b20 | 73 73 6b 65 79 3d 22 26 73 6f 63 6b 73 2e 61 63 63 65 73 73 6b 65 79 3b 22 20 63 6f 6e 74 72 6f | sskey="&socks.accesskey;".contro |
135b40 | 6c 3d 22 6e 65 74 77 6f 72 6b 50 72 6f 78 79 53 4f 43 4b 53 22 2f 3e 0a 20 20 20 20 20 20 20 20 | l="networkProxySOCKS"/>......... |
135b60 | 20 20 20 20 20 20 3c 2f 68 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 68 62 6f | ......</hbox>...............<hbo |
135b80 | 78 20 61 6c 69 67 6e 3d 22 63 65 6e 74 65 72 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | x.align="center">............... |
135ba0 | 20 20 3c 74 65 78 74 62 6f 78 20 69 64 3d 22 6e 65 74 77 6f 72 6b 50 72 6f 78 79 53 4f 43 4b 53 | ..<textbox.id="networkProxySOCKS |
135bc0 | 22 20 66 6c 65 78 3d 22 31 22 20 70 72 65 66 65 72 65 6e 63 65 3d 22 6e 65 74 77 6f 72 6b 2e 70 | ".flex="1".preference="network.p |
135be0 | 72 6f 78 79 2e 73 6f 63 6b 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | roxy.socks"..................... |
135c00 | 20 20 20 20 20 6f 6e 73 79 6e 63 66 72 6f 6d 70 72 65 66 65 72 65 6e 63 65 3d 22 72 65 74 75 72 | .....onsyncfrompreference="retur |
135c20 | 6e 20 67 43 6f 6e 6e 65 63 74 69 6f 6e 73 44 69 61 6c 6f 67 2e 72 65 61 64 50 72 6f 78 79 50 72 | n.gConnectionsDialog.readProxyPr |
135c40 | 6f 74 6f 63 6f 6c 50 72 65 66 28 27 73 6f 63 6b 73 27 2c 20 66 61 6c 73 65 29 3b 22 2f 3e 0a 20 | otocolPref('socks',.false);"/>.. |
135c60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 61 62 65 6c 20 76 61 6c 75 65 3d 22 26 70 6f | ...............<label.value="&po |
135c80 | 72 74 2e 6c 61 62 65 6c 3b 22 20 61 63 63 65 73 73 6b 65 79 3d 22 26 53 4f 43 4b 53 70 6f 72 74 | rt.label;".accesskey="&SOCKSport |
135ca0 | 2e 61 63 63 65 73 73 6b 65 79 3b 22 20 63 6f 6e 74 72 6f 6c 3d 22 6e 65 74 77 6f 72 6b 50 72 6f | .accesskey;".control="networkPro |
135cc0 | 78 79 53 4f 43 4b 53 5f 50 6f 72 74 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | xySOCKS_Port"/>................. |
135ce0 | 3c 74 65 78 74 62 6f 78 20 69 64 3d 22 6e 65 74 77 6f 72 6b 50 72 6f 78 79 53 4f 43 4b 53 5f 50 | <textbox.id="networkProxySOCKS_P |
135d00 | 6f 72 74 22 20 74 79 70 65 3d 22 6e 75 6d 62 65 72 22 20 6d 61 78 3d 22 36 35 35 33 35 22 20 73 | ort".type="number".max="65535".s |
135d20 | 69 7a 65 3d 22 35 22 20 70 72 65 66 65 72 65 6e 63 65 3d 22 6e 65 74 77 6f 72 6b 2e 70 72 6f 78 | ize="5".preference="network.prox |
135d40 | 79 2e 73 6f 63 6b 73 5f 70 6f 72 74 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | y.socks_port"................... |
135d60 | 20 20 20 20 20 20 20 6f 6e 73 79 6e 63 66 72 6f 6d 70 72 65 66 65 72 65 6e 63 65 3d 22 72 65 74 | .......onsyncfrompreference="ret |
135d80 | 75 72 6e 20 67 43 6f 6e 6e 65 63 74 69 6f 6e 73 44 69 61 6c 6f 67 2e 72 65 61 64 50 72 6f 78 79 | urn.gConnectionsDialog.readProxy |
135da0 | 50 72 6f 74 6f 63 6f 6c 50 72 65 66 28 27 73 6f 63 6b 73 27 2c 20 74 72 75 65 29 3b 22 2f 3e 0a | ProtocolPref('socks',.true);"/>. |
135dc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 68 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 20 20 | ..............</hbox>........... |
135de0 | 20 20 3c 2f 72 6f 77 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 72 6f 77 3e 0a 20 20 20 20 20 | ..</row>.............<row>...... |
135e00 | 20 20 20 20 20 20 20 20 20 3c 73 70 61 63 65 72 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | .........<spacer/>.............. |
135e20 | 20 3c 72 61 64 69 6f 67 72 6f 75 70 20 69 64 3d 22 6e 65 74 77 6f 72 6b 50 72 6f 78 79 53 4f 43 | .<radiogroup.id="networkProxySOC |
135e40 | 4b 53 56 65 72 73 69 6f 6e 22 20 6f 72 69 65 6e 74 3d 22 68 6f 72 69 7a 6f 6e 74 61 6c 22 0a 20 | KSVersion".orient="horizontal".. |
135e60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 65 66 65 72 65 | .........................prefere |
135e80 | 6e 63 65 3d 22 6e 65 74 77 6f 72 6b 2e 70 72 6f 78 79 2e 73 6f 63 6b 73 5f 76 65 72 73 69 6f 6e | nce="network.proxy.socks_version |
135ea0 | 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 72 61 64 69 6f 20 69 64 3d 22 6e 65 | ">.................<radio.id="ne |
135ec0 | 74 77 6f 72 6b 50 72 6f 78 79 53 4f 43 4b 53 56 65 72 73 69 6f 6e 34 22 20 76 61 6c 75 65 3d 22 | tworkProxySOCKSVersion4".value=" |
135ee0 | 34 22 20 6c 61 62 65 6c 3d 22 26 73 6f 63 6b 73 34 2e 6c 61 62 65 6c 3b 22 20 61 63 63 65 73 73 | 4".label="&socks4.label;".access |
135f00 | 6b 65 79 3d 22 26 73 6f 63 6b 73 34 2e 61 63 63 65 73 73 6b 65 79 3b 22 20 2f 3e 0a 20 20 20 20 | key="&socks4.accesskey;"./>..... |
135f20 | 20 20 20 20 20 20 20 20 20 20 20 20 3c 72 61 64 69 6f 20 69 64 3d 22 6e 65 74 77 6f 72 6b 50 72 | ............<radio.id="networkPr |
135f40 | 6f 78 79 53 4f 43 4b 53 56 65 72 73 69 6f 6e 35 22 20 76 61 6c 75 65 3d 22 35 22 20 6c 61 62 65 | oxySOCKSVersion5".value="5".labe |
135f60 | 6c 3d 22 26 73 6f 63 6b 73 35 2e 6c 61 62 65 6c 3b 22 20 61 63 63 65 73 73 6b 65 79 3d 22 26 73 | l="&socks5.label;".accesskey="&s |
135f80 | 6f 63 6b 73 35 2e 61 63 63 65 73 73 6b 65 79 3b 22 20 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 | ocks5.accesskey;"./>............ |
135fa0 | 20 20 20 3c 2f 72 61 64 69 6f 67 72 6f 75 70 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 72 | ...</radiogroup>.............</r |
135fc0 | 6f 77 3e 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 72 6f 77 20 61 6c 69 67 6e 3d 22 63 65 6e | ow>..............<row.align="cen |
135fe0 | 74 65 72 22 3e 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 68 62 6f 78 20 61 6c 69 67 6e | ter">................<hbox.align |
136000 | 3d 22 63 65 6e 74 65 72 22 20 70 61 63 6b 3d 22 65 6e 64 22 3e 0a 20 20 20 20 20 20 20 20 20 20 | ="center".pack="end">........... |
136020 | 20 20 20 20 20 20 3c 6c 61 62 65 6c 20 76 61 6c 75 65 3d 22 26 6e 6f 70 72 6f 78 79 2e 6c 61 62 | ......<label.value="&noproxy.lab |
136040 | 65 6c 3b 22 20 61 63 63 65 73 73 6b 65 79 3d 22 26 6e 6f 70 72 6f 78 79 2e 61 63 63 65 73 73 6b | el;".accesskey="&noproxy.accessk |
136060 | 65 79 3b 22 20 63 6f 6e 74 72 6f 6c 3d 22 6e 65 74 77 6f 72 6b 50 72 6f 78 79 4e 6f 6e 65 22 2f | ey;".control="networkProxyNone"/ |
136080 | 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 68 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 | >...............</hbox>......... |
1360a0 | 20 20 20 20 20 20 3c 74 65 78 74 62 6f 78 20 69 64 3d 22 6e 65 74 77 6f 72 6b 50 72 6f 78 79 4e | ......<textbox.id="networkProxyN |
1360c0 | 6f 6e 65 22 20 70 72 65 66 65 72 65 6e 63 65 3d 22 6e 65 74 77 6f 72 6b 2e 70 72 6f 78 79 2e 6e | one".preference="network.proxy.n |
1360e0 | 6f 5f 70 72 6f 78 69 65 73 5f 6f 6e 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 72 6f | o_proxies_on"/>.............</ro |
136100 | 77 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 72 6f 77 3e 0a 20 20 20 20 20 20 20 20 20 20 20 | w>.............<row>............ |
136120 | 20 20 20 3c 73 70 61 63 65 72 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 61 62 65 | ...<spacer/>...............<labe |
136140 | 6c 20 76 61 6c 75 65 3d 22 26 6e 6f 70 72 6f 78 79 45 78 70 6c 61 69 6e 2e 6c 61 62 65 6c 3b 22 | l.value="&noproxyExplain.label;" |
136160 | 20 63 6f 6e 74 72 6f 6c 3d 22 6e 65 74 77 6f 72 6b 50 72 6f 78 79 4e 6f 6e 65 22 2f 3e 0a 20 20 | .control="networkProxyNone"/>... |
136180 | 20 20 20 20 20 20 20 20 20 20 3c 2f 72 6f 77 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 2f 72 6f 77 | ..........</row>...........</row |
1361a0 | 73 3e 0a 20 20 20 20 20 20 20 20 3c 2f 67 72 69 64 3e 0a 20 20 20 20 20 20 20 20 3c 72 61 64 69 | s>.........</grid>.........<radi |
1361c0 | 6f 20 76 61 6c 75 65 3d 22 32 22 20 6c 61 62 65 6c 3d 22 26 61 75 74 6f 54 79 70 65 52 61 64 69 | o.value="2".label="&autoTypeRadi |
1361e0 | 6f 2e 6c 61 62 65 6c 3b 22 20 61 63 63 65 73 73 6b 65 79 3d 22 26 61 75 74 6f 54 79 70 65 52 61 | o.label;".accesskey="&autoTypeRa |
136200 | 64 69 6f 2e 61 63 63 65 73 73 6b 65 79 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 68 62 6f 78 20 | dio.accesskey;"/>.........<hbox. |
136220 | 63 6c 61 73 73 3d 22 69 6e 64 65 6e 74 22 20 66 6c 65 78 3d 22 31 22 20 61 6c 69 67 6e 3d 22 63 | class="indent".flex="1".align="c |
136240 | 65 6e 74 65 72 22 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 74 65 78 74 62 6f 78 20 69 64 3d 22 6e | enter">...........<textbox.id="n |
136260 | 65 74 77 6f 72 6b 50 72 6f 78 79 41 75 74 6f 63 6f 6e 66 69 67 55 52 4c 22 20 66 6c 65 78 3d 22 | etworkProxyAutoconfigURL".flex=" |
136280 | 31 22 20 70 72 65 66 65 72 65 6e 63 65 3d 22 6e 65 74 77 6f 72 6b 2e 70 72 6f 78 79 2e 61 75 74 | 1".preference="network.proxy.aut |
1362a0 | 6f 63 6f 6e 66 69 67 5f 75 72 6c 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | oconfig_url".................... |
1362c0 | 6f 6e 69 6e 70 75 74 3d 22 67 43 6f 6e 6e 65 63 74 69 6f 6e 73 44 69 61 6c 6f 67 2e 75 70 64 61 | oninput="gConnectionsDialog.upda |
1362e0 | 74 65 52 65 6c 6f 61 64 42 75 74 74 6f 6e 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c | teReloadButton();"/>...........< |
136300 | 62 75 74 74 6f 6e 20 69 64 3d 22 61 75 74 6f 52 65 6c 6f 61 64 22 20 69 63 6f 6e 3d 22 72 65 66 | button.id="autoReload".icon="ref |
136320 | 72 65 73 68 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 | resh"...................label="& |
136340 | 72 65 6c 6f 61 64 2e 6c 61 62 65 6c 3b 22 20 61 63 63 65 73 73 6b 65 79 3d 22 26 72 65 6c 6f 61 | reload.label;".accesskey="&reloa |
136360 | 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | d.accesskey;"................... |
136380 | 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 43 6f 6e 6e 65 63 74 69 6f 6e 73 44 69 61 6c 6f 67 2e 72 65 | oncommand="gConnectionsDialog.re |
1363a0 | 6c 6f 61 64 50 41 43 28 29 3b 22 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 | loadPAC();"....................p |
1363c0 | 72 65 66 65 72 65 6e 63 65 3d 22 70 72 65 66 2e 61 64 76 61 6e 63 65 64 2e 70 72 6f 78 69 65 73 | reference="pref.advanced.proxies |
1363e0 | 2e 64 69 73 61 62 6c 65 5f 62 75 74 74 6f 6e 2e 72 65 6c 6f 61 64 22 2f 3e 0a 20 20 20 20 20 20 | .disable_button.reload"/>....... |
136400 | 20 20 3c 2f 68 62 6f 78 3e 0a 20 20 20 20 20 20 3c 2f 72 61 64 69 6f 67 72 6f 75 70 3e 0a 20 20 | ..</hbox>.......</radiogroup>... |
136420 | 20 20 3c 2f 67 72 6f 75 70 62 6f 78 3e 0a 20 20 3c 2f 70 72 65 66 70 61 6e 65 3e 0a 3c 2f 70 72 | ..</groupbox>...</prefpane>.</pr |
136440 | 65 66 77 69 6e 64 6f 77 3e 0a 0a 50 4b 03 04 14 00 00 00 00 00 f3 4b 18 3b 7d a2 e5 fe c9 1a 00 | efwindow>..PK.........K.;}...... |
136460 | 00 c9 1a 00 00 29 00 00 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 72 65 66 65 72 65 | .....)...content/browser/prefere |
136480 | 6e 63 65 73 2f 63 6f 6e 6e 65 63 74 69 6f 6e 2e 6a 73 2f 2f 40 6c 69 6e 65 20 33 38 20 22 2f 62 | nces/connection.js//@line.38."/b |
1364a0 | 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 | uilds/moz2_slave/linux_build/bui |
1364c0 | 6c 64 2f 62 72 6f 77 73 65 72 2f 63 6f 6d 70 6f 6e 65 6e 74 73 2f 70 72 65 66 65 72 65 6e 63 65 | ld/browser/components/preference |
1364e0 | 73 2f 63 6f 6e 6e 65 63 74 69 6f 6e 2e 6a 73 22 0a 0a 76 61 72 20 67 43 6f 6e 6e 65 63 74 69 6f | s/connection.js"..var.gConnectio |
136500 | 6e 73 44 69 61 6c 6f 67 20 3d 20 7b 0a 20 20 62 65 66 6f 72 65 41 63 63 65 70 74 3a 20 66 75 6e | nsDialog.=.{...beforeAccept:.fun |
136520 | 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 76 61 72 20 70 72 6f 78 79 54 79 70 65 50 72 | ction.()...{.....var.proxyTypePr |
136540 | 65 66 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 6e 65 | ef.=.document.getElementById("ne |
136560 | 74 77 6f 72 6b 2e 70 72 6f 78 79 2e 74 79 70 65 22 29 3b 0a 20 20 20 20 69 66 20 28 70 72 6f 78 | twork.proxy.type");.....if.(prox |
136580 | 79 54 79 70 65 50 72 65 66 2e 76 61 6c 75 65 20 3d 3d 20 32 29 20 7b 0a 20 20 20 20 20 20 74 68 | yTypePref.value.==.2).{.......th |
1365a0 | 69 73 2e 64 6f 41 75 74 6f 63 6f 6e 66 69 67 55 52 4c 46 69 78 75 70 28 29 3b 0a 20 20 20 20 20 | is.doAutoconfigURLFixup();...... |
1365c0 | 20 72 65 74 75 72 6e 20 74 72 75 65 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 69 66 20 28 70 72 6f | .return.true;.....}......if.(pro |
1365e0 | 78 79 54 79 70 65 50 72 65 66 2e 76 61 6c 75 65 20 21 3d 20 31 29 0a 20 20 20 20 20 20 72 65 74 | xyTypePref.value.!=.1).......ret |
136600 | 75 72 6e 20 74 72 75 65 3b 0a 0a 20 20 20 20 76 61 72 20 68 74 74 70 50 72 6f 78 79 55 52 4c 50 | urn.true;......var.httpProxyURLP |
136620 | 72 65 66 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 6e | ref.=.document.getElementById("n |
136640 | 65 74 77 6f 72 6b 2e 70 72 6f 78 79 2e 68 74 74 70 22 29 3b 0a 20 20 20 20 76 61 72 20 68 74 74 | etwork.proxy.http");.....var.htt |
136660 | 70 50 72 6f 78 79 50 6f 72 74 50 72 65 66 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 | pProxyPortPref.=.document.getEle |
136680 | 6d 65 6e 74 42 79 49 64 28 22 6e 65 74 77 6f 72 6b 2e 70 72 6f 78 79 2e 68 74 74 70 5f 70 6f 72 | mentById("network.proxy.http_por |
1366a0 | 74 22 29 3b 0a 20 20 20 20 76 61 72 20 73 68 61 72 65 50 72 6f 78 69 65 73 50 72 65 66 20 3d 20 | t");.....var.shareProxiesPref.=. |
1366c0 | 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 6e 65 74 77 6f 72 6b | document.getElementById("network |
1366e0 | 2e 70 72 6f 78 79 2e 73 68 61 72 65 5f 70 72 6f 78 79 5f 73 65 74 74 69 6e 67 73 22 29 3b 0a 20 | .proxy.share_proxy_settings");.. |
136700 | 20 20 20 69 66 20 28 73 68 61 72 65 50 72 6f 78 69 65 73 50 72 65 66 2e 76 61 6c 75 65 29 20 7b | ...if.(shareProxiesPref.value).{ |
136720 | 0a 20 20 20 20 20 20 76 61 72 20 70 72 6f 78 79 50 72 65 66 73 20 3d 20 5b 22 73 73 6c 22 2c 20 | .......var.proxyPrefs.=.["ssl",. |
136740 | 22 66 74 70 22 2c 20 22 73 6f 63 6b 73 22 2c 20 22 67 6f 70 68 65 72 22 5d 3b 0a 20 20 20 20 20 | "ftp",."socks",."gopher"];...... |
136760 | 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 70 72 6f 78 79 50 72 65 66 73 2e | .for.(var.i.=.0;.i.<.proxyPrefs. |
136780 | 6c 65 6e 67 74 68 3b 20 2b 2b 69 29 20 7b 0a 20 20 20 20 20 20 20 20 76 61 72 20 70 72 6f 78 79 | length;.++i).{.........var.proxy |
1367a0 | 53 65 72 76 65 72 55 52 4c 50 72 65 66 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d | ServerURLPref.=.document.getElem |
1367c0 | 65 6e 74 42 79 49 64 28 22 6e 65 74 77 6f 72 6b 2e 70 72 6f 78 79 2e 22 20 2b 20 70 72 6f 78 79 | entById("network.proxy.".+.proxy |
1367e0 | 50 72 65 66 73 5b 69 5d 29 3b 0a 20 20 20 20 20 20 20 20 76 61 72 20 70 72 6f 78 79 50 6f 72 74 | Prefs[i]);.........var.proxyPort |
136800 | 50 72 65 66 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 | Pref.=.document.getElementById(" |
136820 | 6e 65 74 77 6f 72 6b 2e 70 72 6f 78 79 2e 22 20 2b 20 70 72 6f 78 79 50 72 65 66 73 5b 69 5d 20 | network.proxy.".+.proxyPrefs[i]. |
136840 | 2b 20 22 5f 70 6f 72 74 22 29 3b 0a 20 20 20 20 20 20 20 20 76 61 72 20 62 61 63 6b 75 70 53 65 | +."_port");.........var.backupSe |
136860 | 72 76 65 72 55 52 4c 50 72 65 66 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e | rverURLPref.=.document.getElemen |
136880 | 74 42 79 49 64 28 22 6e 65 74 77 6f 72 6b 2e 70 72 6f 78 79 2e 62 61 63 6b 75 70 2e 22 20 2b 20 | tById("network.proxy.backup.".+. |
1368a0 | 70 72 6f 78 79 50 72 65 66 73 5b 69 5d 29 3b 0a 20 20 20 20 20 20 20 20 76 61 72 20 62 61 63 6b | proxyPrefs[i]);.........var.back |
1368c0 | 75 70 50 6f 72 74 50 72 65 66 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 | upPortPref.=.document.getElement |
1368e0 | 42 79 49 64 28 22 6e 65 74 77 6f 72 6b 2e 70 72 6f 78 79 2e 62 61 63 6b 75 70 2e 22 20 2b 20 70 | ById("network.proxy.backup.".+.p |
136900 | 72 6f 78 79 50 72 65 66 73 5b 69 5d 20 2b 20 22 5f 70 6f 72 74 22 29 3b 0a 20 20 20 20 20 20 20 | roxyPrefs[i].+."_port");........ |
136920 | 20 62 61 63 6b 75 70 53 65 72 76 65 72 55 52 4c 50 72 65 66 2e 76 61 6c 75 65 20 3d 20 70 72 6f | .backupServerURLPref.value.=.pro |
136940 | 78 79 53 65 72 76 65 72 55 52 4c 50 72 65 66 2e 76 61 6c 75 65 3b 0a 20 20 20 20 20 20 20 20 62 | xyServerURLPref.value;.........b |
136960 | 61 63 6b 75 70 50 6f 72 74 50 72 65 66 2e 76 61 6c 75 65 20 3d 20 70 72 6f 78 79 50 6f 72 74 50 | ackupPortPref.value.=.proxyPortP |
136980 | 72 65 66 2e 76 61 6c 75 65 3b 0a 20 20 20 20 20 20 20 20 70 72 6f 78 79 53 65 72 76 65 72 55 52 | ref.value;.........proxyServerUR |
1369a0 | 4c 50 72 65 66 2e 76 61 6c 75 65 20 3d 20 68 74 74 70 50 72 6f 78 79 55 52 4c 50 72 65 66 2e 76 | LPref.value.=.httpProxyURLPref.v |
1369c0 | 61 6c 75 65 3b 0a 20 20 20 20 20 20 20 20 70 72 6f 78 79 50 6f 72 74 50 72 65 66 2e 76 61 6c 75 | alue;.........proxyPortPref.valu |
1369e0 | 65 20 3d 20 68 74 74 70 50 72 6f 78 79 50 6f 72 74 50 72 65 66 2e 76 61 6c 75 65 3b 0a 20 20 20 | e.=.httpProxyPortPref.value;.... |
136a00 | 20 20 20 7d 0a 20 20 20 20 7d 0a 20 20 20 20 0a 20 20 20 20 76 61 72 20 6e 6f 50 72 6f 78 69 65 | ...}.....}..........var.noProxie |
136a20 | 73 50 72 65 66 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 | sPref.=.document.getElementById( |
136a40 | 22 6e 65 74 77 6f 72 6b 2e 70 72 6f 78 79 2e 6e 6f 5f 70 72 6f 78 69 65 73 5f 6f 6e 22 29 3b 0a | "network.proxy.no_proxies_on");. |
136a60 | 20 20 20 20 6e 6f 50 72 6f 78 69 65 73 50 72 65 66 2e 76 61 6c 75 65 20 3d 20 6e 6f 50 72 6f 78 | ....noProxiesPref.value.=.noProx |
136a80 | 69 65 73 50 72 65 66 2e 76 61 6c 75 65 2e 72 65 70 6c 61 63 65 28 2f 5b 3b 5d 2f 67 2c 27 2c 27 | iesPref.value.replace(/[;]/g,',' |
136aa0 | 29 3b 0a 20 20 20 20 0a 20 20 20 20 72 65 74 75 72 6e 20 74 72 75 65 3b 0a 20 20 7d 2c 0a 0a 20 | );..........return.true;...},... |
136ac0 | 20 63 68 65 63 6b 46 6f 72 53 79 73 74 65 6d 50 72 6f 78 79 3a 20 66 75 6e 63 74 69 6f 6e 20 28 | .checkForSystemProxy:.function.( |
136ae0 | 29 0a 20 20 7b 0a 20 20 20 20 69 66 20 28 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 73 79 73 74 | )...{.....if.("@mozilla.org/syst |
136b00 | 65 6d 2d 70 72 6f 78 79 2d 73 65 74 74 69 6e 67 73 3b 31 22 20 69 6e 20 43 6f 6d 70 6f 6e 65 6e | em-proxy-settings;1".in.Componen |
136b20 | 74 73 2e 63 6c 61 73 73 65 73 29 0a 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c | ts.classes).......document.getEl |
136b40 | 65 6d 65 6e 74 42 79 49 64 28 22 73 79 73 74 65 6d 50 72 65 66 22 29 2e 72 65 6d 6f 76 65 41 74 | ementById("systemPref").removeAt |
136b60 | 74 72 69 62 75 74 65 28 22 68 69 64 64 65 6e 22 29 3b 0a 20 20 7d 2c 0a 20 20 0a 20 20 70 72 6f | tribute("hidden");...},......pro |
136b80 | 78 79 54 79 70 65 43 68 61 6e 67 65 64 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 | xyTypeChanged:.function.()...{.. |
136ba0 | 20 20 20 76 61 72 20 70 72 6f 78 79 54 79 70 65 50 72 65 66 20 3d 20 64 6f 63 75 6d 65 6e 74 2e | ...var.proxyTypePref.=.document. |
136bc0 | 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 6e 65 74 77 6f 72 6b 2e 70 72 6f 78 79 2e 74 79 | getElementById("network.proxy.ty |
136be0 | 70 65 22 29 3b 0a 20 20 20 20 0a 20 20 20 20 2f 2f 20 55 70 64 61 74 65 20 68 74 74 70 0a 20 20 | pe");..........//.Update.http... |
136c00 | 20 20 76 61 72 20 68 74 74 70 50 72 6f 78 79 55 52 4c 50 72 65 66 20 3d 20 64 6f 63 75 6d 65 6e | ..var.httpProxyURLPref.=.documen |
136c20 | 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 6e 65 74 77 6f 72 6b 2e 70 72 6f 78 79 2e | t.getElementById("network.proxy. |
136c40 | 68 74 74 70 22 29 3b 0a 20 20 20 20 68 74 74 70 50 72 6f 78 79 55 52 4c 50 72 65 66 2e 64 69 73 | http");.....httpProxyURLPref.dis |
136c60 | 61 62 6c 65 64 20 3d 20 70 72 6f 78 79 54 79 70 65 50 72 65 66 2e 76 61 6c 75 65 20 21 3d 20 31 | abled.=.proxyTypePref.value.!=.1 |
136c80 | 3b 0a 20 20 20 20 76 61 72 20 68 74 74 70 50 72 6f 78 79 50 6f 72 74 50 72 65 66 20 3d 20 64 6f | ;.....var.httpProxyPortPref.=.do |
136ca0 | 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 6e 65 74 77 6f 72 6b 2e 70 | cument.getElementById("network.p |
136cc0 | 72 6f 78 79 2e 68 74 74 70 5f 70 6f 72 74 22 29 3b 0a 20 20 20 20 68 74 74 70 50 72 6f 78 79 50 | roxy.http_port");.....httpProxyP |
136ce0 | 6f 72 74 50 72 65 66 2e 64 69 73 61 62 6c 65 64 20 3d 20 70 72 6f 78 79 54 79 70 65 50 72 65 66 | ortPref.disabled.=.proxyTypePref |
136d00 | 2e 76 61 6c 75 65 20 21 3d 20 31 3b 0a 0a 20 20 20 20 2f 2f 20 4e 6f 77 20 75 70 64 61 74 65 20 | .value.!=.1;......//.Now.update. |
136d20 | 74 68 65 20 6f 74 68 65 72 20 70 72 6f 74 6f 63 6f 6c 73 0a 20 20 20 20 74 68 69 73 2e 75 70 64 | the.other.protocols.....this.upd |
136d40 | 61 74 65 50 72 6f 74 6f 63 6f 6c 50 72 65 66 73 28 29 3b 0a 0a 20 20 20 20 76 61 72 20 73 68 61 | ateProtocolPrefs();......var.sha |
136d60 | 72 65 50 72 6f 78 69 65 73 50 72 65 66 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d | reProxiesPref.=.document.getElem |
136d80 | 65 6e 74 42 79 49 64 28 22 6e 65 74 77 6f 72 6b 2e 70 72 6f 78 79 2e 73 68 61 72 65 5f 70 72 6f | entById("network.proxy.share_pro |
136da0 | 78 79 5f 73 65 74 74 69 6e 67 73 22 29 3b 0a 20 20 20 20 73 68 61 72 65 50 72 6f 78 69 65 73 50 | xy_settings");.....shareProxiesP |
136dc0 | 72 65 66 2e 64 69 73 61 62 6c 65 64 20 3d 20 70 72 6f 78 79 54 79 70 65 50 72 65 66 2e 76 61 6c | ref.disabled.=.proxyTypePref.val |
136de0 | 75 65 20 21 3d 20 31 3b 0a 20 20 20 20 0a 20 20 20 20 76 61 72 20 6e 6f 50 72 6f 78 69 65 73 50 | ue.!=.1;..........var.noProxiesP |
136e00 | 72 65 66 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 6e | ref.=.document.getElementById("n |
136e20 | 65 74 77 6f 72 6b 2e 70 72 6f 78 79 2e 6e 6f 5f 70 72 6f 78 69 65 73 5f 6f 6e 22 29 3b 0a 20 20 | etwork.proxy.no_proxies_on");... |
136e40 | 20 20 6e 6f 50 72 6f 78 69 65 73 50 72 65 66 2e 64 69 73 61 62 6c 65 64 20 3d 20 70 72 6f 78 79 | ..noProxiesPref.disabled.=.proxy |
136e60 | 54 79 70 65 50 72 65 66 2e 76 61 6c 75 65 20 21 3d 20 31 3b 0a 20 20 20 20 0a 20 20 20 20 76 61 | TypePref.value.!=.1;..........va |
136e80 | 72 20 61 75 74 6f 63 6f 6e 66 69 67 55 52 4c 50 72 65 66 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 | r.autoconfigURLPref.=.document.g |
136ea0 | 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 6e 65 74 77 6f 72 6b 2e 70 72 6f 78 79 2e 61 75 74 | etElementById("network.proxy.aut |
136ec0 | 6f 63 6f 6e 66 69 67 5f 75 72 6c 22 29 3b 0a 20 20 20 20 61 75 74 6f 63 6f 6e 66 69 67 55 52 4c | oconfig_url");.....autoconfigURL |
136ee0 | 50 72 65 66 2e 64 69 73 61 62 6c 65 64 20 3d 20 70 72 6f 78 79 54 79 70 65 50 72 65 66 2e 76 61 | Pref.disabled.=.proxyTypePref.va |
136f00 | 6c 75 65 20 21 3d 20 32 3b 0a 0a 20 20 20 20 74 68 69 73 2e 75 70 64 61 74 65 52 65 6c 6f 61 64 | lue.!=.2;......this.updateReload |
136f20 | 42 75 74 74 6f 6e 28 29 3b 0a 20 20 7d 2c 0a 0a 20 20 75 70 64 61 74 65 52 65 6c 6f 61 64 42 75 | Button();...},....updateReloadBu |
136f40 | 74 74 6f 6e 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 2f 2f 20 44 69 73 | tton:.function.()...{.....//.Dis |
136f60 | 61 62 6c 65 20 74 68 65 20 22 52 65 6c 6f 61 64 20 50 41 43 22 20 62 75 74 74 6f 6e 20 69 66 20 | able.the."Reload.PAC".button.if. |
136f80 | 74 68 65 20 73 65 6c 65 63 74 65 64 20 70 72 6f 78 79 20 74 79 70 65 20 69 73 20 6e 6f 74 20 50 | the.selected.proxy.type.is.not.P |
136fa0 | 41 43 20 6f 72 0a 20 20 20 20 2f 2f 20 69 66 20 74 68 65 20 63 75 72 72 65 6e 74 20 76 61 6c 75 | AC.or.....//.if.the.current.valu |
136fc0 | 65 20 6f 66 20 74 68 65 20 50 41 43 20 74 65 78 74 62 6f 78 20 64 6f 65 73 20 6e 6f 74 20 6d 61 | e.of.the.PAC.textbox.does.not.ma |
136fe0 | 74 63 68 20 74 68 65 20 76 61 6c 75 65 20 73 74 6f 72 65 64 0a 20 20 20 20 2f 2f 20 69 6e 20 70 | tch.the.value.stored.....//.in.p |
137000 | 72 65 66 73 2e 20 20 4c 69 6b 65 77 69 73 65 2c 20 64 69 73 61 62 6c 65 20 74 68 65 20 72 65 6c | refs...Likewise,.disable.the.rel |
137020 | 6f 61 64 20 62 75 74 74 6f 6e 20 69 66 20 50 41 43 20 69 73 20 6e 6f 74 20 63 6f 6e 66 69 67 75 | oad.button.if.PAC.is.not.configu |
137040 | 72 65 64 0a 20 20 20 20 2f 2f 20 69 6e 20 70 72 65 66 73 2e 0a 0a 20 20 20 20 76 61 72 20 74 79 | red.....//.in.prefs.......var.ty |
137060 | 70 65 64 55 52 4c 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 | pedURL.=.document.getElementById |
137080 | 28 22 6e 65 74 77 6f 72 6b 50 72 6f 78 79 41 75 74 6f 63 6f 6e 66 69 67 55 52 4c 22 29 2e 76 61 | ("networkProxyAutoconfigURL").va |
1370a0 | 6c 75 65 3b 0a 20 20 20 20 76 61 72 20 70 72 6f 78 79 54 79 70 65 43 75 72 20 3d 20 64 6f 63 75 | lue;.....var.proxyTypeCur.=.docu |
1370c0 | 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 6e 65 74 77 6f 72 6b 2e 70 72 6f | ment.getElementById("network.pro |
1370e0 | 78 79 2e 74 79 70 65 22 29 2e 76 61 6c 75 65 3b 0a 0a 20 20 20 20 76 61 72 20 70 72 65 66 73 20 | xy.type").value;......var.prefs. |
137100 | 3d 0a 20 20 20 20 20 20 20 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d | =.........Components.classes["@m |
137120 | 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 70 72 65 66 65 72 65 6e 63 65 73 2d 73 65 72 76 69 63 65 3b 31 | ozilla.org/preferences-service;1 |
137140 | 22 5d 2e 0a 20 20 20 20 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 | "]..........getService(Component |
137160 | 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 50 72 65 66 42 72 61 6e 63 68 29 3b 0a 20 20 20 | s.interfaces.nsIPrefBranch);.... |
137180 | 20 76 61 72 20 70 61 63 55 52 4c 20 3d 20 70 72 65 66 73 2e 67 65 74 43 68 61 72 50 72 65 66 28 | .var.pacURL.=.prefs.getCharPref( |
1371a0 | 22 6e 65 74 77 6f 72 6b 2e 70 72 6f 78 79 2e 61 75 74 6f 63 6f 6e 66 69 67 5f 75 72 6c 22 29 3b | "network.proxy.autoconfig_url"); |
1371c0 | 0a 20 20 20 20 76 61 72 20 70 72 6f 78 79 54 79 70 65 20 3d 20 70 72 65 66 73 2e 67 65 74 49 6e | .....var.proxyType.=.prefs.getIn |
1371e0 | 74 50 72 65 66 28 22 6e 65 74 77 6f 72 6b 2e 70 72 6f 78 79 2e 74 79 70 65 22 29 3b 0a 0a 20 20 | tPref("network.proxy.type");.... |
137200 | 20 20 76 61 72 20 64 69 73 61 62 6c 65 52 65 6c 6f 61 64 50 72 65 66 20 3d 0a 20 20 20 20 20 20 | ..var.disableReloadPref.=....... |
137220 | 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 70 72 65 66 2e | ..document.getElementById("pref. |
137240 | 61 64 76 61 6e 63 65 64 2e 70 72 6f 78 69 65 73 2e 64 69 73 61 62 6c 65 5f 62 75 74 74 6f 6e 2e | advanced.proxies.disable_button. |
137260 | 72 65 6c 6f 61 64 22 29 3b 0a 20 20 20 20 64 69 73 61 62 6c 65 52 65 6c 6f 61 64 50 72 65 66 2e | reload");.....disableReloadPref. |
137280 | 64 69 73 61 62 6c 65 64 20 3d 0a 20 20 20 20 20 20 20 20 28 70 72 6f 78 79 54 79 70 65 43 75 72 | disabled.=.........(proxyTypeCur |
1372a0 | 20 21 3d 20 32 20 7c 7c 20 70 72 6f 78 79 54 79 70 65 20 21 3d 20 32 20 7c 7c 20 74 79 70 65 64 | .!=.2.||.proxyType.!=.2.||.typed |
1372c0 | 55 52 4c 20 21 3d 20 70 61 63 55 52 4c 29 3b 0a 20 20 7d 2c 0a 20 20 0a 20 20 72 65 61 64 50 72 | URL.!=.pacURL);...},......readPr |
1372e0 | 6f 78 79 54 79 70 65 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 74 68 69 | oxyType:.function.()...{.....thi |
137300 | 73 2e 70 72 6f 78 79 54 79 70 65 43 68 61 6e 67 65 64 28 29 3b 0a 20 20 20 20 72 65 74 75 72 6e | s.proxyTypeChanged();.....return |
137320 | 20 75 6e 64 65 66 69 6e 65 64 3b 0a 20 20 7d 2c 0a 20 20 0a 20 20 75 70 64 61 74 65 50 72 6f 74 | .undefined;...},......updateProt |
137340 | 6f 63 6f 6c 50 72 65 66 73 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 76 | ocolPrefs:.function.()...{.....v |
137360 | 61 72 20 70 72 6f 78 79 54 79 70 65 50 72 65 66 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 | ar.proxyTypePref.=.document.getE |
137380 | 6c 65 6d 65 6e 74 42 79 49 64 28 22 6e 65 74 77 6f 72 6b 2e 70 72 6f 78 79 2e 74 79 70 65 22 29 | lementById("network.proxy.type") |
1373a0 | 3b 0a 20 20 20 20 76 61 72 20 73 68 61 72 65 50 72 6f 78 69 65 73 50 72 65 66 20 3d 20 64 6f 63 | ;.....var.shareProxiesPref.=.doc |
1373c0 | 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 6e 65 74 77 6f 72 6b 2e 70 72 | ument.getElementById("network.pr |
1373e0 | 6f 78 79 2e 73 68 61 72 65 5f 70 72 6f 78 79 5f 73 65 74 74 69 6e 67 73 22 29 3b 0a 20 20 20 20 | oxy.share_proxy_settings");..... |
137400 | 76 61 72 20 70 72 6f 78 79 50 72 65 66 73 20 3d 20 5b 22 73 73 6c 22 2c 20 22 66 74 70 22 2c 20 | var.proxyPrefs.=.["ssl",."ftp",. |
137420 | 22 73 6f 63 6b 73 22 2c 20 22 67 6f 70 68 65 72 22 5d 3b 0a 20 20 20 20 66 6f 72 20 28 76 61 72 | "socks",."gopher"];.....for.(var |
137440 | 20 69 20 3d 20 30 3b 20 69 20 3c 20 70 72 6f 78 79 50 72 65 66 73 2e 6c 65 6e 67 74 68 3b 20 2b | .i.=.0;.i.<.proxyPrefs.length;.+ |
137460 | 2b 69 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 70 72 6f 78 79 53 65 72 76 65 72 55 52 4c 50 72 | +i).{.......var.proxyServerURLPr |
137480 | 65 66 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 6e 65 | ef.=.document.getElementById("ne |
1374a0 | 74 77 6f 72 6b 2e 70 72 6f 78 79 2e 22 20 2b 20 70 72 6f 78 79 50 72 65 66 73 5b 69 5d 29 3b 0a | twork.proxy.".+.proxyPrefs[i]);. |
1374c0 | 20 20 20 20 20 20 76 61 72 20 70 72 6f 78 79 50 6f 72 74 50 72 65 66 20 3d 20 64 6f 63 75 6d 65 | ......var.proxyPortPref.=.docume |
1374e0 | 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 6e 65 74 77 6f 72 6b 2e 70 72 6f 78 79 | nt.getElementById("network.proxy |
137500 | 2e 22 20 2b 20 70 72 6f 78 79 50 72 65 66 73 5b 69 5d 20 2b 20 22 5f 70 6f 72 74 22 29 3b 0a 20 | .".+.proxyPrefs[i].+."_port");.. |
137520 | 20 20 20 20 20 0a 20 20 20 20 20 20 2f 2f 20 52 65 73 74 6f 72 65 20 70 72 65 76 69 6f 75 73 20 | ............//.Restore.previous. |
137540 | 70 65 72 2d 70 72 6f 78 79 20 63 75 73 74 6f 6d 20 73 65 74 74 69 6e 67 73 2c 20 69 66 20 70 72 | per-proxy.custom.settings,.if.pr |
137560 | 65 73 65 6e 74 2e 20 0a 20 20 20 20 20 20 69 66 20 28 21 73 68 61 72 65 50 72 6f 78 69 65 73 50 | esent.........if.(!shareProxiesP |
137580 | 72 65 66 2e 76 61 6c 75 65 29 20 7b 0a 20 20 20 20 20 20 20 20 76 61 72 20 62 61 63 6b 75 70 53 | ref.value).{.........var.backupS |
1375a0 | 65 72 76 65 72 55 52 4c 50 72 65 66 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 | erverURLPref.=.document.getEleme |
1375c0 | 6e 74 42 79 49 64 28 22 6e 65 74 77 6f 72 6b 2e 70 72 6f 78 79 2e 62 61 63 6b 75 70 2e 22 20 2b | ntById("network.proxy.backup.".+ |
1375e0 | 20 70 72 6f 78 79 50 72 65 66 73 5b 69 5d 29 3b 0a 20 20 20 20 20 20 20 20 76 61 72 20 62 61 63 | .proxyPrefs[i]);.........var.bac |
137600 | 6b 75 70 50 6f 72 74 50 72 65 66 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e | kupPortPref.=.document.getElemen |
137620 | 74 42 79 49 64 28 22 6e 65 74 77 6f 72 6b 2e 70 72 6f 78 79 2e 62 61 63 6b 75 70 2e 22 20 2b 20 | tById("network.proxy.backup.".+. |
137640 | 70 72 6f 78 79 50 72 65 66 73 5b 69 5d 20 2b 20 22 5f 70 6f 72 74 22 29 3b 0a 20 20 20 20 20 20 | proxyPrefs[i].+."_port");....... |
137660 | 20 20 69 66 20 28 62 61 63 6b 75 70 53 65 72 76 65 72 55 52 4c 50 72 65 66 2e 68 61 73 55 73 65 | ..if.(backupServerURLPref.hasUse |
137680 | 72 56 61 6c 75 65 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 70 72 6f 78 79 53 65 72 76 65 72 55 | rValue).{...........proxyServerU |
1376a0 | 52 4c 50 72 65 66 2e 76 61 6c 75 65 20 3d 20 62 61 63 6b 75 70 53 65 72 76 65 72 55 52 4c 50 72 | RLPref.value.=.backupServerURLPr |
1376c0 | 65 66 2e 76 61 6c 75 65 3b 0a 20 20 20 20 20 20 20 20 20 20 62 61 63 6b 75 70 53 65 72 76 65 72 | ef.value;...........backupServer |
1376e0 | 55 52 4c 50 72 65 66 2e 72 65 73 65 74 28 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 | URLPref.reset();.........}...... |
137700 | 20 20 20 69 66 20 28 62 61 63 6b 75 70 50 6f 72 74 50 72 65 66 2e 68 61 73 55 73 65 72 56 61 6c | ...if.(backupPortPref.hasUserVal |
137720 | 75 65 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 70 72 6f 78 79 50 6f 72 74 50 72 65 66 2e 76 61 | ue).{...........proxyPortPref.va |
137740 | 6c 75 65 20 3d 20 62 61 63 6b 75 70 50 6f 72 74 50 72 65 66 2e 76 61 6c 75 65 3b 0a 20 20 20 20 | lue.=.backupPortPref.value;..... |
137760 | 20 20 20 20 20 20 62 61 63 6b 75 70 50 6f 72 74 50 72 65 66 2e 72 65 73 65 74 28 29 3b 0a 20 20 | ......backupPortPref.reset();... |
137780 | 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 70 72 6f 78 79 53 65 72 76 | ......}.......}........proxyServ |
1377a0 | 65 72 55 52 4c 50 72 65 66 2e 75 70 64 61 74 65 45 6c 65 6d 65 6e 74 73 28 29 3b 0a 20 20 20 20 | erURLPref.updateElements();..... |
1377c0 | 20 20 70 72 6f 78 79 50 6f 72 74 50 72 65 66 2e 75 70 64 61 74 65 45 6c 65 6d 65 6e 74 73 28 29 | ..proxyPortPref.updateElements() |
1377e0 | 3b 0a 20 20 20 20 20 20 70 72 6f 78 79 53 65 72 76 65 72 55 52 4c 50 72 65 66 2e 64 69 73 61 62 | ;.......proxyServerURLPref.disab |
137800 | 6c 65 64 20 3d 20 70 72 6f 78 79 54 79 70 65 50 72 65 66 2e 76 61 6c 75 65 20 21 3d 20 31 20 7c | led.=.proxyTypePref.value.!=.1.| |
137820 | 7c 20 73 68 61 72 65 50 72 6f 78 69 65 73 50 72 65 66 2e 76 61 6c 75 65 3b 0a 20 20 20 20 20 20 | |.shareProxiesPref.value;....... |
137840 | 70 72 6f 78 79 50 6f 72 74 50 72 65 66 2e 64 69 73 61 62 6c 65 64 20 3d 20 70 72 6f 78 79 53 65 | proxyPortPref.disabled.=.proxySe |
137860 | 72 76 65 72 55 52 4c 50 72 65 66 2e 64 69 73 61 62 6c 65 64 3b 0a 20 20 20 20 7d 0a 20 20 20 20 | rverURLPref.disabled;.....}..... |
137880 | 76 61 72 20 73 6f 63 6b 73 56 65 72 73 69 6f 6e 50 72 65 66 20 3d 20 64 6f 63 75 6d 65 6e 74 2e | var.socksVersionPref.=.document. |
1378a0 | 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 6e 65 74 77 6f 72 6b 2e 70 72 6f 78 79 2e 73 6f | getElementById("network.proxy.so |
1378c0 | 63 6b 73 5f 76 65 72 73 69 6f 6e 22 29 3b 0a 20 20 20 20 73 6f 63 6b 73 56 65 72 73 69 6f 6e 50 | cks_version");.....socksVersionP |
1378e0 | 72 65 66 2e 64 69 73 61 62 6c 65 64 20 3d 20 70 72 6f 78 79 54 79 70 65 50 72 65 66 2e 76 61 6c | ref.disabled.=.proxyTypePref.val |
137900 | 75 65 20 21 3d 20 31 20 7c 7c 20 73 68 61 72 65 50 72 6f 78 69 65 73 50 72 65 66 2e 76 61 6c 75 | ue.!=.1.||.shareProxiesPref.valu |
137920 | 65 3b 0a 20 20 20 20 0a 20 20 20 20 72 65 74 75 72 6e 20 75 6e 64 65 66 69 6e 65 64 3b 0a 20 20 | e;..........return.undefined;... |
137940 | 7d 2c 0a 20 20 0a 20 20 72 65 61 64 50 72 6f 78 79 50 72 6f 74 6f 63 6f 6c 50 72 65 66 3a 20 66 | },......readProxyProtocolPref:.f |
137960 | 75 6e 63 74 69 6f 6e 20 28 61 50 72 6f 74 6f 63 6f 6c 2c 20 61 49 73 50 6f 72 74 29 0a 20 20 7b | unction.(aProtocol,.aIsPort)...{ |
137980 | 0a 20 20 20 20 76 61 72 20 73 68 61 72 65 50 72 6f 78 69 65 73 50 72 65 66 20 3d 20 64 6f 63 75 | .....var.shareProxiesPref.=.docu |
1379a0 | 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 6e 65 74 77 6f 72 6b 2e 70 72 6f | ment.getElementById("network.pro |
1379c0 | 78 79 2e 73 68 61 72 65 5f 70 72 6f 78 79 5f 73 65 74 74 69 6e 67 73 22 29 3b 0a 20 20 20 20 69 | xy.share_proxy_settings");.....i |
1379e0 | 66 20 28 73 68 61 72 65 50 72 6f 78 69 65 73 50 72 65 66 2e 76 61 6c 75 65 29 20 7b 0a 20 20 20 | f.(shareProxiesPref.value).{.... |
137a00 | 20 20 20 76 61 72 20 70 72 65 66 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e | ...var.pref.=.document.getElemen |
137a20 | 74 42 79 49 64 28 22 6e 65 74 77 6f 72 6b 2e 70 72 6f 78 79 2e 68 74 74 70 22 20 2b 20 28 61 49 | tById("network.proxy.http".+.(aI |
137a40 | 73 50 6f 72 74 20 3f 20 22 5f 70 6f 72 74 22 20 3a 20 22 22 29 29 3b 20 20 20 20 0a 20 20 20 20 | sPort.?."_port".:.""));......... |
137a60 | 20 20 72 65 74 75 72 6e 20 70 72 65 66 2e 76 61 6c 75 65 3b 0a 20 20 20 20 7d 0a 20 20 20 20 0a | ..return.pref.value;.....}...... |
137a80 | 20 20 20 20 76 61 72 20 62 61 63 6b 75 70 50 72 65 66 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 | ....var.backupPref.=.document.ge |
137aa0 | 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 6e 65 74 77 6f 72 6b 2e 70 72 6f 78 79 2e 62 61 63 6b | tElementById("network.proxy.back |
137ac0 | 75 70 2e 22 20 2b 20 61 50 72 6f 74 6f 63 6f 6c 20 2b 20 28 61 49 73 50 6f 72 74 20 3f 20 22 5f | up.".+.aProtocol.+.(aIsPort.?."_ |
137ae0 | 70 6f 72 74 22 20 3a 20 22 22 29 29 3b 0a 20 20 20 20 72 65 74 75 72 6e 20 62 61 63 6b 75 70 50 | port".:.""));.....return.backupP |
137b00 | 72 65 66 2e 68 61 73 55 73 65 72 56 61 6c 75 65 20 3f 20 62 61 63 6b 75 70 50 72 65 66 2e 76 61 | ref.hasUserValue.?.backupPref.va |
137b20 | 6c 75 65 20 3a 20 75 6e 64 65 66 69 6e 65 64 3b 0a 20 20 7d 2c 0a 0a 20 20 72 65 6c 6f 61 64 50 | lue.:.undefined;...},....reloadP |
137b40 | 41 43 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 43 6f 6d 70 6f 6e 65 6e | AC:.function.()...{.....Componen |
137b60 | 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6e 65 74 77 6f 72 6b | ts.classes["@mozilla.org/network |
137b80 | 2f 70 72 6f 74 6f 63 6f 6c 2d 70 72 6f 78 79 2d 73 65 72 76 69 63 65 3b 31 22 5d 2e 0a 20 20 20 | /protocol-proxy-service;1"]..... |
137ba0 | 20 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 29 2e 72 65 6c 6f 61 64 50 41 43 28 29 3b 0a 20 | .....getService().reloadPAC();.. |
137bc0 | 20 7d 2c 0a 20 20 0a 20 20 64 6f 41 75 74 6f 63 6f 6e 66 69 67 55 52 4c 46 69 78 75 70 3a 20 66 | .},......doAutoconfigURLFixup:.f |
137be0 | 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 76 61 72 20 61 75 74 6f 55 52 4c 20 3d | unction.()...{.....var.autoURL.= |
137c00 | 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 6e 65 74 77 6f 72 | .document.getElementById("networ |
137c20 | 6b 50 72 6f 78 79 41 75 74 6f 63 6f 6e 66 69 67 55 52 4c 22 29 3b 0a 20 20 20 20 76 61 72 20 61 | kProxyAutoconfigURL");.....var.a |
137c40 | 75 74 6f 55 52 4c 50 72 65 66 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 | utoURLPref.=.document.getElement |
137c60 | 42 79 49 64 28 22 6e 65 74 77 6f 72 6b 2e 70 72 6f 78 79 2e 61 75 74 6f 63 6f 6e 66 69 67 5f 75 | ById("network.proxy.autoconfig_u |
137c80 | 72 6c 22 29 3b 0a 20 20 20 20 76 61 72 20 55 52 49 46 69 78 75 70 20 3d 20 43 6f 6d 70 6f 6e 65 | rl");.....var.URIFixup.=.Compone |
137ca0 | 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 64 6f 63 73 68 65 | nts.classes["@mozilla.org/docshe |
137cc0 | 6c 6c 2f 75 72 69 66 69 78 75 70 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ll/urifixup;1"]................. |
137ce0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 | ..............getService(Compone |
137d00 | 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 55 52 49 46 69 78 75 70 29 3b 0a 20 20 20 | nts.interfaces.nsIURIFixup);.... |
137d20 | 20 74 72 79 20 7b 0a 20 20 20 20 20 20 61 75 74 6f 55 52 4c 50 72 65 66 2e 76 61 6c 75 65 20 3d | .try.{.......autoURLPref.value.= |
137d40 | 20 61 75 74 6f 55 52 4c 2e 76 61 6c 75 65 20 3d 20 55 52 49 46 69 78 75 70 2e 63 72 65 61 74 65 | .autoURL.value.=.URIFixup.create |
137d60 | 46 69 78 75 70 55 52 49 28 61 75 74 6f 55 52 4c 2e 76 61 6c 75 65 2c 20 30 29 2e 73 70 65 63 3b | FixupURI(autoURL.value,.0).spec; |
137d80 | 0a 20 20 20 20 7d 20 63 61 74 63 68 28 65 78 29 20 7b 7d 0a 20 20 7d 2c 0a 20 20 0a 20 20 72 65 | .....}.catch(ex).{}...},......re |
137da0 | 61 64 48 54 54 50 50 72 6f 78 79 53 65 72 76 65 72 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 | adHTTPProxyServer:.function.().. |
137dc0 | 20 7b 0a 20 20 20 20 76 61 72 20 73 68 61 72 65 50 72 6f 78 69 65 73 50 72 65 66 20 3d 20 64 6f | .{.....var.shareProxiesPref.=.do |
137de0 | 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 6e 65 74 77 6f 72 6b 2e 70 | cument.getElementById("network.p |
137e00 | 72 6f 78 79 2e 73 68 61 72 65 5f 70 72 6f 78 79 5f 73 65 74 74 69 6e 67 73 22 29 3b 0a 20 20 20 | roxy.share_proxy_settings");.... |
137e20 | 20 69 66 20 28 73 68 61 72 65 50 72 6f 78 69 65 73 50 72 65 66 2e 76 61 6c 75 65 29 0a 20 20 20 | .if.(shareProxiesPref.value).... |
137e40 | 20 20 20 74 68 69 73 2e 75 70 64 61 74 65 50 72 6f 74 6f 63 6f 6c 50 72 65 66 73 28 29 3b 0a 20 | ...this.updateProtocolPrefs();.. |
137e60 | 20 20 20 72 65 74 75 72 6e 20 75 6e 64 65 66 69 6e 65 64 3b 0a 20 20 7d 2c 0a 20 20 0a 20 20 72 | ...return.undefined;...},......r |
137e80 | 65 61 64 48 54 54 50 50 72 6f 78 79 50 6f 72 74 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 | eadHTTPProxyPort:.function.()... |
137ea0 | 7b 0a 20 20 20 20 76 61 72 20 73 68 61 72 65 50 72 6f 78 69 65 73 50 72 65 66 20 3d 20 64 6f 63 | {.....var.shareProxiesPref.=.doc |
137ec0 | 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 6e 65 74 77 6f 72 6b 2e 70 72 | ument.getElementById("network.pr |
137ee0 | 6f 78 79 2e 73 68 61 72 65 5f 70 72 6f 78 79 5f 73 65 74 74 69 6e 67 73 22 29 3b 0a 20 20 20 20 | oxy.share_proxy_settings");..... |
137f00 | 69 66 20 28 73 68 61 72 65 50 72 6f 78 69 65 73 50 72 65 66 2e 76 61 6c 75 65 29 0a 20 20 20 20 | if.(shareProxiesPref.value)..... |
137f20 | 20 20 74 68 69 73 2e 75 70 64 61 74 65 50 72 6f 74 6f 63 6f 6c 50 72 65 66 73 28 29 3b 0a 20 20 | ..this.updateProtocolPrefs();... |
137f40 | 20 20 72 65 74 75 72 6e 20 75 6e 64 65 66 69 6e 65 64 3b 0a 20 20 7d 0a 7d 3b 0a 50 4b 03 04 14 | ..return.undefined;...}.};.PK... |
137f60 | 00 00 00 00 00 f3 4b 18 3b 2f 6f 25 9f 68 2e 00 00 68 2e 00 00 25 00 00 00 63 6f 6e 74 65 6e 74 | ......K.;/o%.h...h...%...content |
137f80 | 2f 62 72 6f 77 73 65 72 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 66 6f 6e 74 73 2e 78 75 6c 3c 3f | /browser/preferences/fonts.xul<? |
137fa0 | 78 6d 6c 20 76 65 72 73 69 6f 6e 3d 22 31 2e 30 22 3f 3e 0a 0a 0a 3c 3f 78 6d 6c 2d 73 74 79 6c | xml.version="1.0"?>...<?xml-styl |
137fc0 | 65 73 68 65 65 74 20 68 72 65 66 3d 22 63 68 72 6f 6d 65 3a 2f 2f 67 6c 6f 62 61 6c 2f 73 6b 69 | esheet.href="chrome://global/ski |
137fe0 | 6e 2f 22 20 74 79 70 65 3d 22 74 65 78 74 2f 63 73 73 22 3f 3e 0a 0a 3c 21 44 4f 43 54 59 50 45 | n/".type="text/css"?>..<!DOCTYPE |
138000 | 20 70 72 65 66 77 69 6e 64 6f 77 20 53 59 53 54 45 4d 20 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f | .prefwindow.SYSTEM."chrome://bro |
138020 | 77 73 65 72 2f 6c 6f 63 61 6c 65 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 66 6f 6e 74 73 2e 64 74 | wser/locale/preferences/fonts.dt |
138040 | 64 22 20 3e 0a 0a 3c 70 72 65 66 77 69 6e 64 6f 77 20 69 64 3d 22 46 6f 6e 74 73 44 69 61 6c 6f | d".>..<prefwindow.id="FontsDialo |
138060 | 67 22 20 74 79 70 65 3d 22 63 68 69 6c 64 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 78 6d 6c 6e | g".type="child".............xmln |
138080 | 73 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6b 65 79 6d 61 73 | s="http://www.mozilla.org/keymas |
1380a0 | 74 65 72 2f 67 61 74 65 6b 65 65 70 65 72 2f 74 68 65 72 65 2e 69 73 2e 6f 6e 6c 79 2e 78 75 6c | ter/gatekeeper/there.is.only.xul |
1380c0 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 69 74 6c 65 3d 22 26 66 6f 6e 74 73 44 69 61 6c 6f | ".............title="&fontsDialo |
1380e0 | 67 2e 74 69 74 6c 65 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 64 6c 67 62 75 74 74 6f 6e 73 | g.title;".............dlgbuttons |
138100 | 3d 22 61 63 63 65 70 74 2c 63 61 6e 63 65 6c 2c 68 65 6c 70 22 0a 20 20 20 20 20 20 20 20 20 20 | ="accept,cancel,help"........... |
138120 | 20 20 6f 6e 64 69 61 6c 6f 67 68 65 6c 70 3d 22 6f 70 65 6e 50 72 65 66 73 48 65 6c 70 28 29 22 | ..ondialoghelp="openPrefsHelp()" |
138140 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 73 74 79 6c 65 3d 22 77 69 64 74 68 3a 20 26 77 69 6e 64 | .............style="width:.&wind |
138160 | 6f 77 2e 75 6e 69 78 57 69 64 74 68 3b 20 21 69 6d 70 6f 72 74 61 6e 74 3b 22 3e 0a 0a 20 20 3c | ow.unixWidth;.!important;">....< |
138180 | 73 63 72 69 70 74 20 74 79 70 65 3d 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f 6a 61 76 61 73 63 72 | script.type="application/javascr |
1381a0 | 69 70 74 22 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 | ipt".src="chrome://browser/conte |
1381c0 | 6e 74 2f 75 74 69 6c 69 74 79 4f 76 65 72 6c 61 79 2e 6a 73 22 2f 3e 0a 0a 20 20 3c 70 72 65 66 | nt/utilityOverlay.js"/>....<pref |
1381e0 | 70 61 6e 65 20 69 64 3d 22 46 6f 6e 74 73 44 69 61 6c 6f 67 50 61 6e 65 22 0a 20 20 20 20 20 20 | pane.id="FontsDialogPane"....... |
138200 | 20 20 20 20 20 20 68 65 6c 70 54 6f 70 69 63 3d 22 70 72 65 66 73 2d 66 6f 6e 74 73 2d 61 6e 64 | ......helpTopic="prefs-fonts-and |
138220 | 2d 63 6f 6c 6f 72 73 22 3e 0a 20 20 0a 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 73 20 69 64 | -colors">........<preferences.id |
138240 | 3d 22 66 6f 6e 74 50 72 65 66 65 72 65 6e 63 65 73 22 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 65 | ="fontPreferences">.......<prefe |
138260 | 72 65 6e 63 65 20 69 64 3d 22 66 6f 6e 74 2e 6c 61 6e 67 75 61 67 65 2e 67 72 6f 75 70 22 20 20 | rence.id="font.language.group".. |
138280 | 6e 61 6d 65 3d 22 66 6f 6e 74 2e 6c 61 6e 67 75 61 67 65 2e 67 72 6f 75 70 22 20 20 74 79 70 65 | name="font.language.group"..type |
1382a0 | 3d 22 77 73 74 72 69 6e 67 22 2f 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 | ="wstring"/>.......<preference.i |
1382c0 | 64 3d 22 62 72 6f 77 73 65 72 2e 64 69 73 70 6c 61 79 2e 75 73 65 5f 64 6f 63 75 6d 65 6e 74 5f | d="browser.display.use_document_ |
1382e0 | 66 6f 6e 74 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 61 6d 65 3d 22 62 | fonts"...................name="b |
138300 | 72 6f 77 73 65 72 2e 64 69 73 70 6c 61 79 2e 75 73 65 5f 64 6f 63 75 6d 65 6e 74 5f 66 6f 6e 74 | rowser.display.use_document_font |
138320 | 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 79 70 65 3d 22 69 6e 74 22 2f | s"...................type="int"/ |
138340 | 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 69 6e 74 6c 2e 63 68 61 | >.......<preference.id="intl.cha |
138360 | 72 73 65 74 2e 64 65 66 61 75 6c 74 22 20 6e 61 6d 65 3d 22 69 6e 74 6c 2e 63 68 61 72 73 65 74 | rset.default".name="intl.charset |
138380 | 2e 64 65 66 61 75 6c 74 22 20 74 79 70 65 3d 22 77 73 74 72 69 6e 67 22 2f 3e 0a 20 20 20 20 3c | .default".type="wstring"/>.....< |
1383a0 | 2f 70 72 65 66 65 72 65 6e 63 65 73 3e 0a 20 20 20 20 0a 20 20 20 20 3c 73 74 72 69 6e 67 62 75 | /preferences>..........<stringbu |
1383c0 | 6e 64 6c 65 20 69 64 3d 22 62 75 6e 64 6c 65 50 72 65 66 65 72 65 6e 63 65 73 22 20 73 72 63 3d | ndle.id="bundlePreferences".src= |
1383e0 | 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 6c 6f 63 61 6c 65 2f 70 72 65 66 65 72 65 | "chrome://browser/locale/prefere |
138400 | 6e 63 65 73 2f 70 72 65 66 65 72 65 6e 63 65 73 2e 70 72 6f 70 65 72 74 69 65 73 22 2f 3e 0a 20 | nces/preferences.properties"/>.. |
138420 | 20 20 20 3c 73 63 72 69 70 74 20 74 79 70 65 3d 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f 78 2d 6a | ...<script.type="application/x-j |
138440 | 61 76 61 73 63 72 69 70 74 22 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 6d 6f 7a 61 70 70 73 | avascript".src="chrome://mozapps |
138460 | 2f 63 6f 6e 74 65 6e 74 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 66 6f 6e 74 62 75 69 6c 64 65 72 | /content/preferences/fontbuilder |
138480 | 2e 6a 73 22 2f 3e 0a 20 20 20 20 3c 73 63 72 69 70 74 20 74 79 70 65 3d 22 61 70 70 6c 69 63 61 | .js"/>.....<script.type="applica |
1384a0 | 74 69 6f 6e 2f 78 2d 6a 61 76 61 73 63 72 69 70 74 22 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f | tion/x-javascript".src="chrome:/ |
1384c0 | 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 66 6f 6e | /browser/content/preferences/fon |
1384e0 | 74 73 2e 6a 73 22 2f 3e 0a 0a 20 20 20 20 3c 21 2d 2d 20 46 6f 6e 74 73 20 66 6f 72 3a 20 5b 20 | ts.js"/>......<!--.Fonts.for:.[. |
138500 | 4c 61 6e 67 75 61 67 65 20 5d 20 2d 2d 3e 0a 20 20 20 20 3c 67 72 6f 75 70 62 6f 78 3e 0a 20 20 | Language.].-->.....<groupbox>... |
138520 | 20 20 20 20 3c 63 61 70 74 69 6f 6e 3e 0a 20 20 20 20 20 20 20 20 3c 68 62 6f 78 20 61 6c 69 67 | ....<caption>.........<hbox.alig |
138540 | 6e 3d 22 63 65 6e 74 65 72 22 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 6c 61 62 65 6c 20 61 63 63 | n="center">...........<label.acc |
138560 | 65 73 73 6b 65 79 3d 22 26 6c 61 6e 67 75 61 67 65 2e 61 63 63 65 73 73 6b 65 79 3b 22 20 63 6f | esskey="&language.accesskey;".co |
138580 | 6e 74 72 6f 6c 3d 22 73 65 6c 65 63 74 4c 61 6e 67 73 22 3e 26 6c 61 6e 67 75 61 67 65 2e 6c 61 | ntrol="selectLangs">&language.la |
1385a0 | 62 65 6c 3b 3c 2f 6c 61 62 65 6c 3e 0a 20 20 20 20 20 20 20 20 3c 2f 68 62 6f 78 3e 0a 20 20 20 | bel;</label>.........</hbox>.... |
1385c0 | 20 20 20 20 20 3c 6d 65 6e 75 6c 69 73 74 20 69 64 3d 22 73 65 6c 65 63 74 4c 61 6e 67 73 22 20 | .....<menulist.id="selectLangs". |
1385e0 | 70 72 65 66 65 72 65 6e 63 65 3d 22 66 6f 6e 74 2e 6c 61 6e 67 75 61 67 65 2e 67 72 6f 75 70 22 | preference="font.language.group" |
138600 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 73 79 6e 63 66 72 6f 6d 70 72 65 | ...................onsyncfrompre |
138620 | 66 65 72 65 6e 63 65 3d 22 72 65 74 75 72 6e 20 67 46 6f 6e 74 73 44 69 61 6c 6f 67 2e 72 65 61 | ference="return.gFontsDialog.rea |
138640 | 64 46 6f 6e 74 4c 61 6e 67 75 61 67 65 47 72 6f 75 70 28 29 3b 22 3e 0a 20 20 20 20 20 20 20 20 | dFontLanguageGroup();">......... |
138660 | 20 20 3c 6d 65 6e 75 70 6f 70 75 70 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 | ..<menupopup>.............<menui |
138680 | 74 65 6d 20 76 61 6c 75 65 3d 22 61 72 22 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 | tem.value="ar"..............labe |
1386a0 | 6c 3d 22 26 66 6f 6e 74 2e 6c 61 6e 67 47 72 6f 75 70 2e 61 72 61 62 69 63 3b 22 2f 3e 0a 20 20 | l="&font.langGroup.arabic;"/>... |
1386c0 | 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 78 2d 61 72 6d | ..........<menuitem.value="x-arm |
1386e0 | 6e 22 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 66 6f 6e 74 2e 6c 61 6e 67 47 72 6f | n"..........label="&font.langGro |
138700 | 75 70 2e 61 72 6d 65 6e 69 61 6e 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e | up.armenian;"/>.............<men |
138720 | 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 78 2d 62 65 6e 67 22 20 20 20 20 20 20 20 20 20 20 6c 61 | uitem.value="x-beng"..........la |
138740 | 62 65 6c 3d 22 26 66 6f 6e 74 2e 6c 61 6e 67 47 72 6f 75 70 2e 62 65 6e 67 61 6c 69 3b 22 2f 3e | bel="&font.langGroup.bengali;"/> |
138760 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 78 2d | .............<menuitem.value="x- |
138780 | 62 61 6c 74 69 63 22 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 66 6f 6e 74 2e 6c 61 6e 67 | baltic"........label="&font.lang |
1387a0 | 47 72 6f 75 70 2e 62 61 6c 74 69 63 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 | Group.baltic;"/>.............<me |
1387c0 | 6e 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 78 2d 63 65 6e 74 72 61 6c 2d 65 75 72 6f 22 20 20 6c | nuitem.value="x-central-euro"..l |
1387e0 | 61 62 65 6c 3d 22 26 66 6f 6e 74 2e 6c 61 6e 67 47 72 6f 75 70 2e 6c 61 74 69 6e 32 3b 22 2f 3e | abel="&font.langGroup.latin2;"/> |
138800 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 7a 68 | .............<menuitem.value="zh |
138820 | 2d 43 4e 22 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 66 6f 6e 74 2e 6c 61 6e 67 | -CN"...........label="&font.lang |
138840 | 47 72 6f 75 70 2e 73 69 6d 70 6c 2d 63 68 69 6e 65 73 65 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 | Group.simpl-chinese;"/>......... |
138860 | 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 7a 68 2d 48 4b 22 20 20 20 20 20 | ....<menuitem.value="zh-HK"..... |
138880 | 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 66 6f 6e 74 2e 6c 61 6e 67 47 72 6f 75 70 2e 74 72 61 | ......label="&font.langGroup.tra |
1388a0 | 64 2d 63 68 69 6e 65 73 65 2d 68 6b 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 | d-chinese-hk;"/>.............<me |
1388c0 | 6e 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 7a 68 2d 54 57 22 20 20 20 20 20 20 20 20 20 20 20 6c | nuitem.value="zh-TW"...........l |
1388e0 | 61 62 65 6c 3d 22 26 66 6f 6e 74 2e 6c 61 6e 67 47 72 6f 75 70 2e 74 72 61 64 2d 63 68 69 6e 65 | abel="&font.langGroup.trad-chine |
138900 | 73 65 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 76 61 6c | se;"/>.............<menuitem.val |
138920 | 75 65 3d 22 78 2d 63 79 72 69 6c 6c 69 63 22 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 66 6f 6e | ue="x-cyrillic"......label="&fon |
138940 | 74 2e 6c 61 6e 67 47 72 6f 75 70 2e 63 79 72 69 6c 6c 69 63 3b 22 2f 3e 0a 20 20 20 20 20 20 20 | t.langGroup.cyrillic;"/>........ |
138960 | 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 78 2d 64 65 76 61 6e 61 67 61 | .....<menuitem.value="x-devanaga |
138980 | 72 69 22 20 20 20 20 6c 61 62 65 6c 3d 22 26 66 6f 6e 74 2e 6c 61 6e 67 47 72 6f 75 70 2e 64 65 | ri"....label="&font.langGroup.de |
1389a0 | 76 61 6e 61 67 61 72 69 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 | vanagari;"/>.............<menuit |
1389c0 | 65 6d 20 76 61 6c 75 65 3d 22 78 2d 65 74 68 69 22 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c | em.value="x-ethi"..........label |
1389e0 | 3d 22 26 66 6f 6e 74 2e 6c 61 6e 67 47 72 6f 75 70 2e 65 74 68 69 6f 70 69 63 3b 22 2f 3e 0a 20 | ="&font.langGroup.ethiopic;"/>.. |
138a00 | 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 78 2d 67 65 | ...........<menuitem.value="x-ge |
138a20 | 6f 72 22 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 66 6f 6e 74 2e 6c 61 6e 67 47 72 | or"..........label="&font.langGr |
138a40 | 6f 75 70 2e 67 65 6f 72 67 69 61 6e 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 | oup.georgian;"/>.............<me |
138a60 | 6e 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 65 6c 22 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c | nuitem.value="el"..............l |
138a80 | 61 62 65 6c 3d 22 26 66 6f 6e 74 2e 6c 61 6e 67 47 72 6f 75 70 2e 65 6c 3b 22 2f 3e 0a 20 20 20 | abel="&font.langGroup.el;"/>.... |
138aa0 | 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 78 2d 67 75 6a 72 | .........<menuitem.value="x-gujr |
138ac0 | 22 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 66 6f 6e 74 2e 6c 61 6e 67 47 72 6f 75 | "..........label="&font.langGrou |
138ae0 | 70 2e 67 75 6a 61 72 61 74 69 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 | p.gujarati;"/>.............<menu |
138b00 | 69 74 65 6d 20 76 61 6c 75 65 3d 22 78 2d 67 75 72 75 22 20 20 20 20 20 20 20 20 20 20 6c 61 62 | item.value="x-guru"..........lab |
138b20 | 65 6c 3d 22 26 66 6f 6e 74 2e 6c 61 6e 67 47 72 6f 75 70 2e 67 75 72 6d 75 6b 68 69 3b 22 2f 3e | el="&font.langGroup.gurmukhi;"/> |
138b40 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 68 65 | .............<menuitem.value="he |
138b60 | 22 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 66 6f 6e 74 2e 6c 61 6e 67 | "..............label="&font.lang |
138b80 | 47 72 6f 75 70 2e 68 65 62 72 65 77 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 | Group.hebrew;"/>.............<me |
138ba0 | 6e 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 6a 61 22 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c | nuitem.value="ja"..............l |
138bc0 | 61 62 65 6c 3d 22 26 66 6f 6e 74 2e 6c 61 6e 67 47 72 6f 75 70 2e 6a 61 70 61 6e 65 73 65 3b 22 | abel="&font.langGroup.japanese;" |
138be0 | 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 | />.............<menuitem.value=" |
138c00 | 78 2d 6b 6e 64 61 22 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 66 6f 6e 74 2e 6c 61 | x-knda"..........label="&font.la |
138c20 | 6e 67 47 72 6f 75 70 2e 6b 61 6e 6e 61 64 61 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ngGroup.kannada;"/>............. |
138c40 | 3c 6d 65 6e 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 78 2d 6b 68 6d 72 22 20 20 20 20 20 20 20 20 | <menuitem.value="x-khmr"........ |
138c60 | 20 20 6c 61 62 65 6c 3d 22 26 66 6f 6e 74 2e 6c 61 6e 67 47 72 6f 75 70 2e 6b 68 6d 65 72 3b 22 | ..label="&font.langGroup.khmer;" |
138c80 | 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 | />.............<menuitem.value=" |
138ca0 | 6b 6f 22 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 66 6f 6e 74 2e 6c 61 | ko"..............label="&font.la |
138cc0 | 6e 67 47 72 6f 75 70 2e 6b 6f 72 65 61 6e 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c | ngGroup.korean;"/>.............< |
138ce0 | 6d 65 6e 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 78 2d 6d 6c 79 6d 22 20 20 20 20 20 20 20 20 20 | menuitem.value="x-mlym"......... |
138d00 | 20 6c 61 62 65 6c 3d 22 26 66 6f 6e 74 2e 6c 61 6e 67 47 72 6f 75 70 2e 6d 61 6c 61 79 61 6c 61 | .label="&font.langGroup.malayala |
138d20 | 6d 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 76 61 6c 75 | m;"/>.............<menuitem.valu |
138d40 | 65 3d 22 78 2d 6f 72 79 61 22 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 66 6f 6e 74 | e="x-orya"..........label="&font |
138d60 | 2e 6c 61 6e 67 47 72 6f 75 70 2e 6f 72 69 79 61 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 | .langGroup.oriya;"/>............ |
138d80 | 20 3c 6d 65 6e 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 78 2d 73 69 6e 68 22 20 20 20 20 20 20 20 | .<menuitem.value="x-sinh"....... |
138da0 | 20 20 20 6c 61 62 65 6c 3d 22 26 66 6f 6e 74 2e 6c 61 6e 67 47 72 6f 75 70 2e 73 69 6e 68 61 6c | ...label="&font.langGroup.sinhal |
138dc0 | 61 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 76 61 6c 75 | a;"/>.............<menuitem.valu |
138de0 | 65 3d 22 78 2d 74 61 6d 69 6c 22 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 66 6f 6e 74 | e="x-tamil".........label="&font |
138e00 | 2e 6c 61 6e 67 47 72 6f 75 70 2e 74 61 6d 69 6c 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 | .langGroup.tamil;"/>............ |
138e20 | 20 3c 6d 65 6e 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 78 2d 74 65 6c 75 22 20 20 20 20 20 20 20 | .<menuitem.value="x-telu"....... |
138e40 | 20 20 20 6c 61 62 65 6c 3d 22 26 66 6f 6e 74 2e 6c 61 6e 67 47 72 6f 75 70 2e 74 65 6c 75 67 75 | ...label="&font.langGroup.telugu |
138e60 | 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 76 61 6c 75 65 | ;"/>.............<menuitem.value |
138e80 | 3d 22 74 68 22 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 66 6f 6e 74 2e | ="th"..............label="&font. |
138ea0 | 6c 61 6e 67 47 72 6f 75 70 2e 74 68 61 69 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c | langGroup.thai;"/>.............< |
138ec0 | 6d 65 6e 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 74 72 22 20 20 20 20 20 20 20 20 20 20 20 20 20 | menuitem.value="tr"............. |
138ee0 | 20 6c 61 62 65 6c 3d 22 26 66 6f 6e 74 2e 6c 61 6e 67 47 72 6f 75 70 2e 74 75 72 6b 69 73 68 3b | .label="&font.langGroup.turkish; |
138f00 | 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 76 61 6c 75 65 3d | "/>.............<menuitem.value= |
138f20 | 22 78 2d 63 61 6e 73 22 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 66 6f 6e 74 2e 6c | "x-cans"..........label="&font.l |
138f40 | 61 6e 67 47 72 6f 75 70 2e 63 61 6e 61 64 69 61 6e 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 | angGroup.canadian;"/>........... |
138f60 | 20 20 3c 6d 65 6e 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 78 2d 77 65 73 74 65 72 6e 22 20 20 20 | ..<menuitem.value="x-western"... |
138f80 | 20 20 20 20 6c 61 62 65 6c 3d 22 26 66 6f 6e 74 2e 6c 61 6e 67 47 72 6f 75 70 2e 6c 61 74 69 6e | ....label="&font.langGroup.latin |
138fa0 | 31 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 76 61 6c 75 | 1;"/>.............<menuitem.valu |
138fc0 | 65 3d 22 78 2d 75 6e 69 63 6f 64 65 22 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 66 6f 6e 74 | e="x-unicode".......label="&font |
138fe0 | 2e 6c 61 6e 67 47 72 6f 75 70 2e 75 6e 69 63 6f 64 65 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 | .langGroup.unicode;"/>.......... |
139000 | 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 78 2d 75 73 65 72 2d 64 65 66 22 20 | ...<menuitem.value="x-user-def". |
139020 | 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 66 6f 6e 74 2e 6c 61 6e 67 47 72 6f 75 70 2e 75 73 65 72 | .....label="&font.langGroup.user |
139040 | 2d 64 65 66 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 2f 6d 65 6e 75 70 6f 70 75 70 3e 0a | -def;"/>...........</menupopup>. |
139060 | 20 20 20 20 20 20 20 20 3c 2f 6d 65 6e 75 6c 69 73 74 3e 0a 20 20 20 20 20 20 3c 2f 63 61 70 74 | ........</menulist>.......</capt |
139080 | 69 6f 6e 3e 0a 20 20 20 20 20 20 0a 20 20 20 20 20 20 3c 67 72 69 64 3e 0a 20 20 20 20 20 20 20 | ion>..............<grid>........ |
1390a0 | 20 3c 63 6f 6c 75 6d 6e 73 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 63 6f 6c 75 6d 6e 2f 3e 0a 20 | .<columns>...........<column/>.. |
1390c0 | 20 20 20 20 20 20 20 20 20 3c 63 6f 6c 75 6d 6e 20 66 6c 65 78 3d 22 31 22 2f 3e 0a 20 20 20 20 | .........<column.flex="1"/>..... |
1390e0 | 20 20 20 20 20 20 3c 63 6f 6c 75 6d 6e 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 63 6f 6c 75 6d | ......<column/>...........<colum |
139100 | 6e 2f 3e 0a 20 20 20 20 20 20 20 20 3c 2f 63 6f 6c 75 6d 6e 73 3e 0a 20 20 20 20 20 20 20 20 0a | n/>.........</columns>.......... |
139120 | 20 20 20 20 20 20 20 20 3c 72 6f 77 73 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 72 6f 77 3e 0a 20 | ........<rows>...........<row>.. |
139140 | 20 20 20 20 20 20 20 20 20 20 20 3c 73 65 70 61 72 61 74 6f 72 20 63 6c 61 73 73 3d 22 74 68 69 | ...........<separator.class="thi |
139160 | 6e 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 2f 72 6f 77 3e 0a 0a 20 20 20 20 20 20 20 20 20 | n"/>...........</row>........... |
139180 | 20 3c 72 6f 77 20 61 6c 69 67 6e 3d 22 63 65 6e 74 65 72 22 3e 0a 20 20 20 20 20 20 20 20 20 20 | .<row.align="center">........... |
1391a0 | 20 20 3c 68 62 6f 78 20 61 6c 69 67 6e 3d 22 63 65 6e 74 65 72 22 20 70 61 63 6b 3d 22 65 6e 64 | ..<hbox.align="center".pack="end |
1391c0 | 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 61 62 65 6c 20 61 63 63 65 73 73 6b 65 | ">...............<label.accesske |
1391e0 | 79 3d 22 26 70 72 6f 70 6f 72 74 69 6f 6e 61 6c 2e 61 63 63 65 73 73 6b 65 79 3b 22 20 63 6f 6e | y="&proportional.accesskey;".con |
139200 | 74 72 6f 6c 3d 22 64 65 66 61 75 6c 74 46 6f 6e 74 54 79 70 65 22 3e 26 70 72 6f 70 6f 72 74 69 | trol="defaultFontType">&proporti |
139220 | 6f 6e 61 6c 2e 6c 61 62 65 6c 3b 3c 2f 6c 61 62 65 6c 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 | onal.label;</label>............. |
139240 | 3c 2f 68 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 6c 69 73 74 20 69 64 | </hbox>.............<menulist.id |
139260 | 3d 22 64 65 66 61 75 6c 74 46 6f 6e 74 54 79 70 65 22 20 66 6c 65 78 3d 22 31 22 20 73 74 79 6c | ="defaultFontType".flex="1".styl |
139280 | 65 3d 22 77 69 64 74 68 3a 20 30 70 78 3b 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c | e="width:.0px;">...............< |
1392a0 | 6d 65 6e 75 70 6f 70 75 70 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 | menupopup>.................<menu |
1392c0 | 69 74 65 6d 20 76 61 6c 75 65 3d 22 73 65 72 69 66 22 20 6c 61 62 65 6c 3d 22 26 75 73 65 44 65 | item.value="serif".label="&useDe |
1392e0 | 66 61 75 6c 74 46 6f 6e 74 53 65 72 69 66 2e 6c 61 62 65 6c 3b 22 2f 3e 0a 20 20 20 20 20 20 20 | faultFontSerif.label;"/>........ |
139300 | 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 73 61 6e 73 2d 73 | .........<menuitem.value="sans-s |
139320 | 65 72 69 66 22 20 6c 61 62 65 6c 3d 22 26 75 73 65 44 65 66 61 75 6c 74 46 6f 6e 74 53 61 6e 73 | erif".label="&useDefaultFontSans |
139340 | 53 65 72 69 66 2e 6c 61 62 65 6c 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f | Serif.label;"/>...............</ |
139360 | 6d 65 6e 75 70 6f 70 75 70 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 6d 65 6e 75 6c 69 73 | menupopup>.............</menulis |
139380 | 74 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 68 62 6f 78 20 61 6c 69 67 6e 3d 22 63 65 6e 74 | t>.............<hbox.align="cent |
1393a0 | 65 72 22 20 70 61 63 6b 3d 22 65 6e 64 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c | er".pack="end">...............<l |
1393c0 | 61 62 65 6c 20 76 61 6c 75 65 3d 22 26 73 69 7a 65 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 | abel.value="&size.label;"....... |
1393e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 73 69 7a 65 50 | ...............accesskey="&sizeP |
139400 | 72 6f 70 6f 72 74 69 6f 6e 61 6c 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 | roportional.accesskey;"......... |
139420 | 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6e 74 72 6f 6c 3d 22 73 69 7a 65 56 61 72 22 2f 3e | .............control="sizeVar"/> |
139440 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 68 62 6f 78 3e 20 20 0a 20 20 20 20 20 20 20 20 20 | .............</hbox>............ |
139460 | 20 20 20 3c 6d 65 6e 75 6c 69 73 74 20 69 64 3d 22 73 69 7a 65 56 61 72 22 20 63 6c 61 73 73 3d | ...<menulist.id="sizeVar".class= |
139480 | 22 73 6d 61 6c 6c 2d 6d 61 72 67 69 6e 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d | "small-margin">...............<m |
1394a0 | 65 6e 75 70 6f 70 75 70 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 | enupopup>.................<menui |
1394c0 | 74 65 6d 20 76 61 6c 75 65 3d 22 39 22 20 6c 61 62 65 6c 3d 22 39 22 2f 3e 0a 20 20 20 20 20 20 | tem.value="9".label="9"/>....... |
1394e0 | 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 31 30 22 20 6c | ..........<menuitem.value="10".l |
139500 | 61 62 65 6c 3d 22 31 30 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e | abel="10"/>.................<men |
139520 | 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 31 31 22 20 6c 61 62 65 6c 3d 22 31 31 22 2f 3e 0a 20 20 | uitem.value="11".label="11"/>... |
139540 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 31 | ..............<menuitem.value="1 |
139560 | 32 22 20 6c 61 62 65 6c 3d 22 31 32 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | 2".label="12"/>................. |
139580 | 3c 6d 65 6e 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 31 33 22 20 6c 61 62 65 6c 3d 22 31 33 22 2f | <menuitem.value="13".label="13"/ |
1395a0 | 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 76 61 6c 75 | >.................<menuitem.valu |
1395c0 | 65 3d 22 31 34 22 20 6c 61 62 65 6c 3d 22 31 34 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 | e="14".label="14"/>............. |
1395e0 | 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 31 35 22 20 6c 61 62 65 6c 3d 22 | ....<menuitem.value="15".label=" |
139600 | 31 35 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 | 15"/>.................<menuitem. |
139620 | 76 61 6c 75 65 3d 22 31 36 22 20 6c 61 62 65 6c 3d 22 31 36 22 2f 3e 0a 20 20 20 20 20 20 20 20 | value="16".label="16"/>......... |
139640 | 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 31 37 22 20 6c 61 62 | ........<menuitem.value="17".lab |
139660 | 65 6c 3d 22 31 37 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 | el="17"/>.................<menui |
139680 | 74 65 6d 20 76 61 6c 75 65 3d 22 31 38 22 20 6c 61 62 65 6c 3d 22 31 38 22 2f 3e 0a 20 20 20 20 | tem.value="18".label="18"/>..... |
1396a0 | 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 32 30 22 | ............<menuitem.value="20" |
1396c0 | 20 6c 61 62 65 6c 3d 22 32 30 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d | .label="20"/>.................<m |
1396e0 | 65 6e 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 32 32 22 20 6c 61 62 65 6c 3d 22 32 32 22 2f 3e 0a | enuitem.value="22".label="22"/>. |
139700 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 76 61 6c 75 65 3d | ................<menuitem.value= |
139720 | 22 32 34 22 20 6c 61 62 65 6c 3d 22 32 34 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | "24".label="24"/>............... |
139740 | 20 20 3c 6d 65 6e 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 32 36 22 20 6c 61 62 65 6c 3d 22 32 36 | ..<menuitem.value="26".label="26 |
139760 | 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 76 61 | "/>.................<menuitem.va |
139780 | 6c 75 65 3d 22 32 38 22 20 6c 61 62 65 6c 3d 22 32 38 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 | lue="28".label="28"/>........... |
1397a0 | 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 33 30 22 20 6c 61 62 65 6c | ......<menuitem.value="30".label |
1397c0 | 3d 22 33 30 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 | ="30"/>.................<menuite |
1397e0 | 6d 20 76 61 6c 75 65 3d 22 33 32 22 20 6c 61 62 65 6c 3d 22 33 32 22 2f 3e 0a 20 20 20 20 20 20 | m.value="32".label="32"/>....... |
139800 | 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 33 34 22 20 6c | ..........<menuitem.value="34".l |
139820 | 61 62 65 6c 3d 22 33 34 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e | abel="34"/>.................<men |
139840 | 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 33 36 22 20 6c 61 62 65 6c 3d 22 33 36 22 2f 3e 0a 20 20 | uitem.value="36".label="36"/>... |
139860 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 34 | ..............<menuitem.value="4 |
139880 | 30 22 20 6c 61 62 65 6c 3d 22 34 30 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | 0".label="40"/>................. |
1398a0 | 3c 6d 65 6e 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 34 34 22 20 6c 61 62 65 6c 3d 22 34 34 22 2f | <menuitem.value="44".label="44"/ |
1398c0 | 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 76 61 6c 75 | >.................<menuitem.valu |
1398e0 | 65 3d 22 34 38 22 20 6c 61 62 65 6c 3d 22 34 38 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 | e="48".label="48"/>............. |
139900 | 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 35 36 22 20 6c 61 62 65 6c 3d 22 | ....<menuitem.value="56".label=" |
139920 | 35 36 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 | 56"/>.................<menuitem. |
139940 | 76 61 6c 75 65 3d 22 36 34 22 20 6c 61 62 65 6c 3d 22 36 34 22 2f 3e 0a 20 20 20 20 20 20 20 20 | value="64".label="64"/>......... |
139960 | 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 37 32 22 20 6c 61 62 | ........<menuitem.value="72".lab |
139980 | 65 6c 3d 22 37 32 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 6d 65 6e 75 70 6f | el="72"/>...............</menupo |
1399a0 | 70 75 70 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 6d 65 6e 75 6c 69 73 74 3e 0a 20 20 20 | pup>.............</menulist>.... |
1399c0 | 20 20 20 20 20 20 20 3c 2f 72 6f 77 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 72 6f 77 20 61 6c 69 | .......</row>...........<row.ali |
1399e0 | 67 6e 3d 22 63 65 6e 74 65 72 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 68 62 6f 78 20 61 | gn="center">.............<hbox.a |
139a00 | 6c 69 67 6e 3d 22 63 65 6e 74 65 72 22 20 70 61 63 6b 3d 22 65 6e 64 22 3e 0a 20 20 20 20 20 20 | lign="center".pack="end">....... |
139a20 | 20 20 20 20 20 20 20 20 3c 6c 61 62 65 6c 20 61 63 63 65 73 73 6b 65 79 3d 22 26 73 65 72 69 66 | ........<label.accesskey="&serif |
139a40 | 2e 61 63 63 65 73 73 6b 65 79 3b 22 20 63 6f 6e 74 72 6f 6c 3d 22 73 65 72 69 66 22 3e 26 73 65 | .accesskey;".control="serif">&se |
139a60 | 72 69 66 2e 6c 61 62 65 6c 3b 3c 2f 6c 61 62 65 6c 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c | rif.label;</label>.............< |
139a80 | 2f 68 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 6c 69 73 74 20 69 64 3d | /hbox>.............<menulist.id= |
139aa0 | 22 73 65 72 69 66 22 20 66 6c 65 78 3d 22 31 22 20 73 74 79 6c 65 3d 22 77 69 64 74 68 3a 20 30 | "serif".flex="1".style="width:.0 |
139ac0 | 70 78 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 73 79 6e | px;".......................onsyn |
139ae0 | 63 66 72 6f 6d 70 72 65 66 65 72 65 6e 63 65 3d 22 72 65 74 75 72 6e 20 67 46 6f 6e 74 73 44 69 | cfrompreference="return.gFontsDi |
139b00 | 61 6c 6f 67 2e 72 65 61 64 46 6f 6e 74 53 65 6c 65 63 74 69 6f 6e 28 64 6f 63 75 6d 65 6e 74 2e | alog.readFontSelection(document. |
139b20 | 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 27 73 65 72 69 66 27 29 29 3b 22 2f 3e 0a 20 20 20 | getElementById('serif'));"/>.... |
139b40 | 20 20 20 20 20 20 20 20 20 3c 73 70 61 63 65 72 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 2f 72 | .........<spacer/>...........</r |
139b60 | 6f 77 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 72 6f 77 20 61 6c 69 67 6e 3d 22 63 65 6e 74 65 72 | ow>...........<row.align="center |
139b80 | 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 68 62 6f 78 20 61 6c 69 67 6e 3d 22 63 65 6e 74 | ">.............<hbox.align="cent |
139ba0 | 65 72 22 20 70 61 63 6b 3d 22 65 6e 64 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c | er".pack="end">...............<l |
139bc0 | 61 62 65 6c 20 61 63 63 65 73 73 6b 65 79 3d 22 26 73 61 6e 73 2d 73 65 72 69 66 2e 61 63 63 65 | abel.accesskey="&sans-serif.acce |
139be0 | 73 73 6b 65 79 3b 22 20 63 6f 6e 74 72 6f 6c 3d 22 73 61 6e 73 2d 73 65 72 69 66 22 3e 26 73 61 | sskey;".control="sans-serif">&sa |
139c00 | 6e 73 2d 73 65 72 69 66 2e 6c 61 62 65 6c 3b 3c 2f 6c 61 62 65 6c 3e 0a 20 20 20 20 20 20 20 20 | ns-serif.label;</label>......... |
139c20 | 20 20 20 20 3c 2f 68 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 6c 69 73 | ....</hbox>.............<menulis |
139c40 | 74 20 69 64 3d 22 73 61 6e 73 2d 73 65 72 69 66 22 20 66 6c 65 78 3d 22 31 22 20 73 74 79 6c 65 | t.id="sans-serif".flex="1".style |
139c60 | 3d 22 77 69 64 74 68 3a 20 30 70 78 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ="width:.0px;".................. |
139c80 | 20 20 20 20 20 6f 6e 73 79 6e 63 66 72 6f 6d 70 72 65 66 65 72 65 6e 63 65 3d 22 72 65 74 75 72 | .....onsyncfrompreference="retur |
139ca0 | 6e 20 67 46 6f 6e 74 73 44 69 61 6c 6f 67 2e 72 65 61 64 46 6f 6e 74 53 65 6c 65 63 74 69 6f 6e | n.gFontsDialog.readFontSelection |
139cc0 | 28 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 27 73 61 6e 73 2d 73 | (document.getElementById('sans-s |
139ce0 | 65 72 69 66 27 29 29 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 73 70 61 63 65 72 2f | erif'));"/>.............<spacer/ |
139d00 | 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 2f 72 6f 77 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 72 6f | >...........</row>...........<ro |
139d20 | 77 20 61 6c 69 67 6e 3d 22 63 65 6e 74 65 72 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 68 | w.align="center">.............<h |
139d40 | 62 6f 78 20 61 6c 69 67 6e 3d 22 63 65 6e 74 65 72 22 20 70 61 63 6b 3d 22 65 6e 64 22 3e 0a 20 | box.align="center".pack="end">.. |
139d60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 61 62 65 6c 20 61 63 63 65 73 73 6b 65 79 3d 22 26 | .............<label.accesskey="& |
139d80 | 6d 6f 6e 6f 73 70 61 63 65 2e 61 63 63 65 73 73 6b 65 79 3b 22 20 63 6f 6e 74 72 6f 6c 3d 22 6d | monospace.accesskey;".control="m |
139da0 | 6f 6e 6f 73 70 61 63 65 22 3e 26 6d 6f 6e 6f 73 70 61 63 65 2e 6c 61 62 65 6c 3b 3c 2f 6c 61 62 | onospace">&monospace.label;</lab |
139dc0 | 65 6c 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 68 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 | el>.............</hbox>......... |
139de0 | 20 20 20 20 3c 6d 65 6e 75 6c 69 73 74 20 69 64 3d 22 6d 6f 6e 6f 73 70 61 63 65 22 20 66 6c 65 | ....<menulist.id="monospace".fle |
139e00 | 78 3d 22 31 22 20 73 74 79 6c 65 3d 22 77 69 64 74 68 3a 20 30 70 78 3b 22 20 63 72 6f 70 3d 22 | x="1".style="width:.0px;".crop=" |
139e20 | 72 69 67 68 74 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 73 | right".......................ons |
139e40 | 79 6e 63 66 72 6f 6d 70 72 65 66 65 72 65 6e 63 65 3d 22 72 65 74 75 72 6e 20 67 46 6f 6e 74 73 | yncfrompreference="return.gFonts |
139e60 | 44 69 61 6c 6f 67 2e 72 65 61 64 46 6f 6e 74 53 65 6c 65 63 74 69 6f 6e 28 64 6f 63 75 6d 65 6e | Dialog.readFontSelection(documen |
139e80 | 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 27 6d 6f 6e 6f 73 70 61 63 65 27 29 29 3b 22 | t.getElementById('monospace'));" |
139ea0 | 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 68 62 6f 78 20 61 6c 69 67 6e 3d 22 63 65 6e 74 | />.............<hbox.align="cent |
139ec0 | 65 72 22 20 70 61 63 6b 3d 22 65 6e 64 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c | er".pack="end">...............<l |
139ee0 | 61 62 65 6c 20 76 61 6c 75 65 3d 22 26 73 69 7a 65 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 | abel.value="&size.label;"....... |
139f00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 73 69 7a 65 4d | ...............accesskey="&sizeM |
139f20 | 6f 6e 6f 73 70 61 63 65 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 | onospace.accesskey;"............ |
139f40 | 20 20 20 20 20 20 20 20 20 20 63 6f 6e 74 72 6f 6c 3d 22 73 69 7a 65 4d 6f 6e 6f 22 2f 3e 0a 20 | ..........control="sizeMono"/>.. |
139f60 | 20 20 20 20 20 20 20 20 20 20 20 3c 2f 68 62 6f 78 3e 20 20 0a 20 20 20 20 20 20 20 20 20 20 20 | ...........</hbox>.............. |
139f80 | 20 3c 6d 65 6e 75 6c 69 73 74 20 69 64 3d 22 73 69 7a 65 4d 6f 6e 6f 22 3e 0a 20 20 20 20 20 20 | .<menulist.id="sizeMono">....... |
139fa0 | 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 70 6f 70 75 70 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ........<menupopup>............. |
139fc0 | 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 39 22 20 6c 61 62 65 6c 3d 22 39 | ....<menuitem.value="9".label="9 |
139fe0 | 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 76 61 | "/>.................<menuitem.va |
13a000 | 6c 75 65 3d 22 31 30 22 20 6c 61 62 65 6c 3d 22 31 30 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 | lue="10".label="10"/>........... |
13a020 | 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 31 31 22 20 6c 61 62 65 6c | ......<menuitem.value="11".label |
13a040 | 3d 22 31 31 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 | ="11"/>.................<menuite |
13a060 | 6d 20 76 61 6c 75 65 3d 22 31 32 22 20 6c 61 62 65 6c 3d 22 31 32 22 2f 3e 0a 20 20 20 20 20 20 | m.value="12".label="12"/>....... |
13a080 | 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 31 33 22 20 6c | ..........<menuitem.value="13".l |
13a0a0 | 61 62 65 6c 3d 22 31 33 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e | abel="13"/>.................<men |
13a0c0 | 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 31 34 22 20 6c 61 62 65 6c 3d 22 31 34 22 2f 3e 0a 20 20 | uitem.value="14".label="14"/>... |
13a0e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 31 | ..............<menuitem.value="1 |
13a100 | 35 22 20 6c 61 62 65 6c 3d 22 31 35 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | 5".label="15"/>................. |
13a120 | 3c 6d 65 6e 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 31 36 22 20 6c 61 62 65 6c 3d 22 31 36 22 2f | <menuitem.value="16".label="16"/ |
13a140 | 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 76 61 6c 75 | >.................<menuitem.valu |
13a160 | 65 3d 22 31 37 22 20 6c 61 62 65 6c 3d 22 31 37 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 | e="17".label="17"/>............. |
13a180 | 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 31 38 22 20 6c 61 62 65 6c 3d 22 | ....<menuitem.value="18".label=" |
13a1a0 | 31 38 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 | 18"/>.................<menuitem. |
13a1c0 | 76 61 6c 75 65 3d 22 32 30 22 20 6c 61 62 65 6c 3d 22 32 30 22 2f 3e 0a 20 20 20 20 20 20 20 20 | value="20".label="20"/>......... |
13a1e0 | 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 32 32 22 20 6c 61 62 | ........<menuitem.value="22".lab |
13a200 | 65 6c 3d 22 32 32 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 | el="22"/>.................<menui |
13a220 | 74 65 6d 20 76 61 6c 75 65 3d 22 32 34 22 20 6c 61 62 65 6c 3d 22 32 34 22 2f 3e 0a 20 20 20 20 | tem.value="24".label="24"/>..... |
13a240 | 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 32 36 22 | ............<menuitem.value="26" |
13a260 | 20 6c 61 62 65 6c 3d 22 32 36 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d | .label="26"/>.................<m |
13a280 | 65 6e 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 32 38 22 20 6c 61 62 65 6c 3d 22 32 38 22 2f 3e 0a | enuitem.value="28".label="28"/>. |
13a2a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 76 61 6c 75 65 3d | ................<menuitem.value= |
13a2c0 | 22 33 30 22 20 6c 61 62 65 6c 3d 22 33 30 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | "30".label="30"/>............... |
13a2e0 | 20 20 3c 6d 65 6e 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 33 32 22 20 6c 61 62 65 6c 3d 22 33 32 | ..<menuitem.value="32".label="32 |
13a300 | 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 76 61 | "/>.................<menuitem.va |
13a320 | 6c 75 65 3d 22 33 34 22 20 6c 61 62 65 6c 3d 22 33 34 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 | lue="34".label="34"/>........... |
13a340 | 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 33 36 22 20 6c 61 62 65 6c | ......<menuitem.value="36".label |
13a360 | 3d 22 33 36 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 | ="36"/>.................<menuite |
13a380 | 6d 20 76 61 6c 75 65 3d 22 34 30 22 20 6c 61 62 65 6c 3d 22 34 30 22 2f 3e 0a 20 20 20 20 20 20 | m.value="40".label="40"/>....... |
13a3a0 | 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 34 34 22 20 6c | ..........<menuitem.value="44".l |
13a3c0 | 61 62 65 6c 3d 22 34 34 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e | abel="44"/>.................<men |
13a3e0 | 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 34 38 22 20 6c 61 62 65 6c 3d 22 34 38 22 2f 3e 0a 20 20 | uitem.value="48".label="48"/>... |
13a400 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 35 | ..............<menuitem.value="5 |
13a420 | 36 22 20 6c 61 62 65 6c 3d 22 35 36 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | 6".label="56"/>................. |
13a440 | 3c 6d 65 6e 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 36 34 22 20 6c 61 62 65 6c 3d 22 36 34 22 2f | <menuitem.value="64".label="64"/ |
13a460 | 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 76 61 6c 75 | >.................<menuitem.valu |
13a480 | 65 3d 22 37 32 22 20 6c 61 62 65 6c 3d 22 37 32 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 | e="72".label="72"/>............. |
13a4a0 | 20 20 3c 2f 6d 65 6e 75 70 6f 70 75 70 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 6d 65 6e | ..</menupopup>.............</men |
13a4c0 | 75 6c 69 73 74 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 2f 72 6f 77 3e 0a 20 20 20 20 20 20 20 20 | ulist>...........</row>......... |
13a4e0 | 3c 2f 72 6f 77 73 3e 0a 20 20 20 20 20 20 3c 2f 67 72 69 64 3e 0a 20 20 20 20 20 20 3c 73 65 70 | </rows>.......</grid>.......<sep |
13a500 | 61 72 61 74 6f 72 20 63 6c 61 73 73 3d 22 74 68 69 6e 22 2f 3e 0a 20 20 20 20 20 20 3c 68 62 6f | arator.class="thin"/>.......<hbo |
13a520 | 78 20 66 6c 65 78 3d 22 31 22 3e 0a 20 20 20 20 20 20 20 20 3c 73 70 61 63 65 72 20 66 6c 65 78 | x.flex="1">.........<spacer.flex |
13a540 | 3d 22 31 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 68 62 6f 78 20 61 6c 69 67 6e 3d 22 63 65 6e 74 | ="1"/>.........<hbox.align="cent |
13a560 | 65 72 22 20 70 61 63 6b 3d 22 65 6e 64 22 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 6c 61 62 65 6c | er".pack="end">...........<label |
13a580 | 20 61 63 63 65 73 73 6b 65 79 3d 22 26 6d 69 6e 53 69 7a 65 2e 61 63 63 65 73 73 6b 65 79 3b 22 | .accesskey="&minSize.accesskey;" |
13a5a0 | 20 63 6f 6e 74 72 6f 6c 3d 22 6d 69 6e 53 69 7a 65 22 3e 26 6d 69 6e 53 69 7a 65 2e 6c 61 62 65 | .control="minSize">&minSize.labe |
13a5c0 | 6c 3b 3c 2f 6c 61 62 65 6c 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 6c 69 73 74 20 69 | l;</label>...........<menulist.i |
13a5e0 | 64 3d 22 6d 69 6e 53 69 7a 65 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 70 6f | d="minSize">.............<menupo |
13a600 | 70 75 70 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 76 61 6c | pup>...............<menuitem.val |
13a620 | 75 65 3d 22 30 22 20 6c 61 62 65 6c 3d 22 26 6d 69 6e 53 69 7a 65 2e 6e 6f 6e 65 3b 22 2f 3e 0a | ue="0".label="&minSize.none;"/>. |
13a640 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 39 | ..............<menuitem.value="9 |
13a660 | 22 20 6c 61 62 65 6c 3d 22 39 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e | ".label="9"/>...............<men |
13a680 | 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 31 30 22 20 6c 61 62 65 6c 3d 22 31 30 22 2f 3e 0a 20 20 | uitem.value="10".label="10"/>... |
13a6a0 | 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 31 31 22 | ............<menuitem.value="11" |
13a6c0 | 20 6c 61 62 65 6c 3d 22 31 31 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e | .label="11"/>...............<men |
13a6e0 | 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 31 32 22 20 6c 61 62 65 6c 3d 22 31 32 22 2f 3e 0a 20 20 | uitem.value="12".label="12"/>... |
13a700 | 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 31 33 22 | ............<menuitem.value="13" |
13a720 | 20 6c 61 62 65 6c 3d 22 31 33 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e | .label="13"/>...............<men |
13a740 | 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 31 34 22 20 6c 61 62 65 6c 3d 22 31 34 22 2f 3e 0a 20 20 | uitem.value="14".label="14"/>... |
13a760 | 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 31 35 22 | ............<menuitem.value="15" |
13a780 | 20 6c 61 62 65 6c 3d 22 31 35 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e | .label="15"/>...............<men |
13a7a0 | 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 31 36 22 20 6c 61 62 65 6c 3d 22 31 36 22 2f 3e 0a 20 20 | uitem.value="16".label="16"/>... |
13a7c0 | 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 31 37 22 | ............<menuitem.value="17" |
13a7e0 | 20 6c 61 62 65 6c 3d 22 31 37 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e | .label="17"/>...............<men |
13a800 | 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 31 38 22 20 6c 61 62 65 6c 3d 22 31 38 22 2f 3e 0a 20 20 | uitem.value="18".label="18"/>... |
13a820 | 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 32 30 22 | ............<menuitem.value="20" |
13a840 | 20 6c 61 62 65 6c 3d 22 32 30 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e | .label="20"/>...............<men |
13a860 | 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 32 32 22 20 6c 61 62 65 6c 3d 22 32 32 22 2f 3e 0a 20 20 | uitem.value="22".label="22"/>... |
13a880 | 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 76 61 6c 75 65 3d 22 32 34 22 | ............<menuitem.value="24" |
13a8a0 | 20 6c 61 62 65 6c 3d 22 32 34 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 6d 65 6e 75 | .label="24"/>.............</menu |
13a8c0 | 70 6f 70 75 70 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 2f 6d 65 6e 75 6c 69 73 74 3e 0a 20 20 20 | popup>...........</menulist>.... |
13a8e0 | 20 20 20 20 20 3c 2f 68 62 6f 78 3e 0a 20 20 20 20 20 20 3c 2f 68 62 6f 78 3e 0a 20 20 20 20 20 | .....</hbox>.......</hbox>...... |
13a900 | 20 3c 73 65 70 61 72 61 74 6f 72 2f 3e 0a 20 20 20 20 20 20 3c 73 65 70 61 72 61 74 6f 72 20 63 | .<separator/>.......<separator.c |
13a920 | 6c 61 73 73 3d 22 67 72 6f 6f 76 65 22 2f 3e 0a 20 20 20 20 20 20 3c 68 62 6f 78 3e 0a 20 20 20 | lass="groove"/>.......<hbox>.... |
13a940 | 20 20 20 20 20 3c 63 68 65 63 6b 62 6f 78 20 69 64 3d 22 75 73 65 44 6f 63 75 6d 65 6e 74 46 6f | .....<checkbox.id="useDocumentFo |
13a960 | 6e 74 73 22 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 | nts"....................label="& |
13a980 | 61 6c 6c 6f 77 50 61 67 65 73 54 6f 55 73 65 2e 6c 61 62 65 6c 3b 22 20 61 63 63 65 73 73 6b 65 | allowPagesToUse.label;".accesske |
13a9a0 | 79 3d 22 26 61 6c 6c 6f 77 50 61 67 65 73 54 6f 55 73 65 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a | y="&allowPagesToUse.accesskey;". |
13a9c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 65 66 65 72 65 6e 63 65 3d 22 62 72 | ..................preference="br |
13a9e0 | 6f 77 73 65 72 2e 64 69 73 70 6c 61 79 2e 75 73 65 5f 64 6f 63 75 6d 65 6e 74 5f 66 6f 6e 74 73 | owser.display.use_document_fonts |
13aa00 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 73 79 6e 63 66 72 6f 6d 70 72 | "...................onsyncfrompr |
13aa20 | 65 66 65 72 65 6e 63 65 3d 22 72 65 74 75 72 6e 20 67 46 6f 6e 74 73 44 69 61 6c 6f 67 2e 72 65 | eference="return.gFontsDialog.re |
13aa40 | 61 64 55 73 65 44 6f 63 75 6d 65 6e 74 46 6f 6e 74 73 28 29 3b 22 0a 20 20 20 20 20 20 20 20 20 | adUseDocumentFonts();".......... |
13aa60 | 20 20 20 20 20 20 20 20 20 6f 6e 73 79 6e 63 74 6f 70 72 65 66 65 72 65 6e 63 65 3d 22 72 65 74 | .........onsynctopreference="ret |
13aa80 | 75 72 6e 20 67 46 6f 6e 74 73 44 69 61 6c 6f 67 2e 77 72 69 74 65 55 73 65 44 6f 63 75 6d 65 6e | urn.gFontsDialog.writeUseDocumen |
13aaa0 | 74 46 6f 6e 74 73 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 2f 68 62 6f 78 3e 0a 20 20 20 20 3c | tFonts();"/>.......</hbox>.....< |
13aac0 | 2f 67 72 6f 75 70 62 6f 78 3e 0a 0a 20 20 20 20 3c 21 2d 2d 20 43 68 61 72 61 63 74 65 72 20 45 | /groupbox>......<!--.Character.E |
13aae0 | 6e 63 6f 64 69 6e 67 20 2d 2d 3e 0a 20 20 20 20 3c 67 72 6f 75 70 62 6f 78 3e 0a 20 20 20 20 20 | ncoding.-->.....<groupbox>...... |
13ab00 | 20 3c 63 61 70 74 69 6f 6e 20 6c 61 62 65 6c 3d 22 26 6c 61 6e 67 75 61 67 65 73 2e 63 75 73 74 | .<caption.label="&languages.cust |
13ab20 | 6f 6d 69 7a 65 2e 43 68 61 72 73 65 74 2e 67 72 6f 75 70 6c 61 62 65 6c 3b 22 2f 3e 0a 20 20 20 | omize.Charset.grouplabel;"/>.... |
13ab40 | 20 20 20 3c 68 62 6f 78 20 61 6c 69 67 6e 3d 22 63 65 6e 74 65 72 22 3e 0a 20 20 20 20 20 20 20 | ...<hbox.align="center">........ |
13ab60 | 20 3c 6c 61 62 65 6c 20 76 61 6c 75 65 3d 22 26 6c 61 6e 67 75 61 67 65 73 2e 63 75 73 74 6f 6d | .<label.value="&languages.custom |
13ab80 | 69 7a 65 2e 44 65 66 61 75 6c 74 43 68 61 72 73 65 74 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 | ize.DefaultCharset.label;"...... |
13aba0 | 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 6c 61 6e 67 75 61 67 65 73 2e | ..........accesskey="&languages. |
13abc0 | 63 75 73 74 6f 6d 69 7a 65 2e 44 65 66 61 75 6c 74 43 68 61 72 73 65 74 2e 61 63 63 65 73 73 6b | customize.DefaultCharset.accessk |
13abe0 | 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6e 74 72 6f 6c 3d 22 44 65 66 | ey;"................control="Def |
13ac00 | 61 75 6c 74 43 68 61 72 73 65 74 4c 69 73 74 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 | aultCharsetList"/>.........<menu |
13ac20 | 6c 69 73 74 20 69 64 3d 22 44 65 66 61 75 6c 74 43 68 61 72 73 65 74 4c 69 73 74 22 20 72 65 66 | list.id="DefaultCharsetList".ref |
13ac40 | 3d 22 4e 43 3a 44 65 63 6f 64 65 72 73 52 6f 6f 74 22 20 64 61 74 61 73 6f 75 72 63 65 73 3d 22 | ="NC:DecodersRoot".datasources=" |
13ac60 | 72 64 66 3a 63 68 61 72 73 65 74 2d 6d 65 6e 75 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | rdf:charset-menu"............... |
13ac80 | 20 20 20 20 70 72 65 66 65 72 65 6e 63 65 3d 22 69 6e 74 6c 2e 63 68 61 72 73 65 74 2e 64 65 66 | ....preference="intl.charset.def |
13aca0 | 61 75 6c 74 22 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 73 79 6e 63 66 | ault"....................onsyncf |
13acc0 | 72 6f 6d 70 72 65 66 65 72 65 6e 63 65 3d 22 72 65 74 75 72 6e 20 67 46 6f 6e 74 73 44 69 61 6c | rompreference="return.gFontsDial |
13ace0 | 6f 67 2e 72 65 61 64 44 65 66 61 75 6c 74 43 68 61 72 73 65 74 28 29 3b 22 3e 0a 20 20 20 20 20 | og.readDefaultCharset();">...... |
13ad00 | 20 20 20 20 20 3c 74 65 6d 70 6c 61 74 65 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e | .....<template>.............<men |
13ad20 | 75 70 6f 70 75 70 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 | upopup>...............<menuitem. |
13ad40 | 6c 61 62 65 6c 3d 22 72 64 66 3a 68 74 74 70 3a 2f 2f 68 6f 6d 65 2e 6e 65 74 73 63 61 70 65 2e | label="rdf:http://home.netscape. |
13ad60 | 63 6f 6d 2f 4e 43 2d 72 64 66 23 4e 61 6d 65 22 20 76 61 6c 75 65 3d 22 2e 2e 2e 22 20 75 72 69 | com/NC-rdf#Name".value="...".uri |
13ad80 | 3d 22 2e 2e 2e 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 6d 65 6e 75 70 6f 70 75 70 | ="..."/>.............</menupopup |
13ada0 | 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 2f 74 65 6d 70 6c 61 74 65 3e 0a 20 20 20 20 20 20 20 20 | >...........</template>......... |
13adc0 | 3c 2f 6d 65 6e 75 6c 69 73 74 3e 0a 20 20 20 20 20 20 3c 2f 68 62 6f 78 3e 0a 20 20 20 20 3c 2f | </menulist>.......</hbox>.....</ |
13ade0 | 67 72 6f 75 70 62 6f 78 3e 0a 20 20 3c 2f 70 72 65 66 70 61 6e 65 3e 0a 3c 2f 70 72 65 66 77 69 | groupbox>...</prefpane>.</prefwi |
13ae00 | 6e 64 6f 77 3e 0a 50 4b 03 04 14 00 00 00 00 00 f3 4b 18 3b fb 39 de 99 dd 14 00 00 dd 14 00 00 | ndow>.PK.........K.;.9.......... |
13ae20 | 24 00 00 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 72 65 66 65 72 65 6e 63 65 73 2f | $...content/browser/preferences/ |
13ae40 | 66 6f 6e 74 73 2e 6a 73 2f 2f 40 6c 69 6e 65 20 33 39 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 | fonts.js//@line.39."/builds/moz2 |
13ae60 | 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 | _slave/linux_build/build/browser |
13ae80 | 2f 63 6f 6d 70 6f 6e 65 6e 74 73 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 66 6f 6e 74 73 2e 6a 73 | /components/preferences/fonts.js |
13aea0 | 22 0a 0a 2f 2f 40 6c 69 6e 65 20 34 31 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 | "..//@line.41."/builds/moz2_slav |
13aec0 | 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 63 6f 6d 70 | e/linux_build/build/browser/comp |
13aee0 | 6f 6e 65 6e 74 73 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 66 6f 6e 74 73 2e 6a 73 22 0a 0a 63 6f | onents/preferences/fonts.js"..co |
13af00 | 6e 73 74 20 6b 44 65 66 61 75 6c 74 46 6f 6e 74 54 79 70 65 20 20 20 20 20 20 20 20 20 20 3d 20 | nst.kDefaultFontType..........=. |
13af20 | 22 66 6f 6e 74 2e 64 65 66 61 75 6c 74 2e 25 4c 41 4e 47 25 22 3b 0a 63 6f 6e 73 74 20 6b 46 6f | "font.default.%LANG%";.const.kFo |
13af40 | 6e 74 4e 61 6d 65 46 6d 74 53 65 72 69 66 20 20 20 20 20 20 20 20 20 3d 20 22 66 6f 6e 74 2e 6e | ntNameFmtSerif.........=."font.n |
13af60 | 61 6d 65 2e 73 65 72 69 66 2e 25 4c 41 4e 47 25 22 3b 0a 63 6f 6e 73 74 20 6b 46 6f 6e 74 4e 61 | ame.serif.%LANG%";.const.kFontNa |
13af80 | 6d 65 46 6d 74 53 61 6e 73 53 65 72 69 66 20 20 20 20 20 3d 20 22 66 6f 6e 74 2e 6e 61 6d 65 2e | meFmtSansSerif.....=."font.name. |
13afa0 | 73 61 6e 73 2d 73 65 72 69 66 2e 25 4c 41 4e 47 25 22 3b 0a 63 6f 6e 73 74 20 6b 46 6f 6e 74 4e | sans-serif.%LANG%";.const.kFontN |
13afc0 | 61 6d 65 46 6d 74 4d 6f 6e 6f 73 70 61 63 65 20 20 20 20 20 3d 20 22 66 6f 6e 74 2e 6e 61 6d 65 | ameFmtMonospace.....=."font.name |
13afe0 | 2e 6d 6f 6e 6f 73 70 61 63 65 2e 25 4c 41 4e 47 25 22 3b 0a 63 6f 6e 73 74 20 6b 46 6f 6e 74 4e | .monospace.%LANG%";.const.kFontN |
13b000 | 61 6d 65 4c 69 73 74 46 6d 74 53 65 72 69 66 20 20 20 20 20 3d 20 22 66 6f 6e 74 2e 6e 61 6d 65 | ameListFmtSerif.....=."font.name |
13b020 | 2d 6c 69 73 74 2e 73 65 72 69 66 2e 25 4c 41 4e 47 25 22 3b 0a 63 6f 6e 73 74 20 6b 46 6f 6e 74 | -list.serif.%LANG%";.const.kFont |
13b040 | 4e 61 6d 65 4c 69 73 74 46 6d 74 53 61 6e 73 53 65 72 69 66 20 3d 20 22 66 6f 6e 74 2e 6e 61 6d | NameListFmtSansSerif.=."font.nam |
13b060 | 65 2d 6c 69 73 74 2e 73 61 6e 73 2d 73 65 72 69 66 2e 25 4c 41 4e 47 25 22 3b 0a 63 6f 6e 73 74 | e-list.sans-serif.%LANG%";.const |
13b080 | 20 6b 46 6f 6e 74 4e 61 6d 65 4c 69 73 74 46 6d 74 4d 6f 6e 6f 73 70 61 63 65 20 3d 20 22 66 6f | .kFontNameListFmtMonospace.=."fo |
13b0a0 | 6e 74 2e 6e 61 6d 65 2d 6c 69 73 74 2e 6d 6f 6e 6f 73 70 61 63 65 2e 25 4c 41 4e 47 25 22 3b 0a | nt.name-list.monospace.%LANG%";. |
13b0c0 | 63 6f 6e 73 74 20 6b 46 6f 6e 74 53 69 7a 65 46 6d 74 56 61 72 69 61 62 6c 65 20 20 20 20 20 20 | const.kFontSizeFmtVariable...... |
13b0e0 | 3d 20 22 66 6f 6e 74 2e 73 69 7a 65 2e 76 61 72 69 61 62 6c 65 2e 25 4c 41 4e 47 25 22 3b 0a 63 | =."font.size.variable.%LANG%";.c |
13b100 | 6f 6e 73 74 20 6b 46 6f 6e 74 53 69 7a 65 46 6d 74 46 69 78 65 64 20 20 20 20 20 20 20 20 20 3d | onst.kFontSizeFmtFixed.........= |
13b120 | 20 22 66 6f 6e 74 2e 73 69 7a 65 2e 66 69 78 65 64 2e 25 4c 41 4e 47 25 22 3b 0a 63 6f 6e 73 74 | ."font.size.fixed.%LANG%";.const |
13b140 | 20 6b 46 6f 6e 74 4d 69 6e 53 69 7a 65 46 6d 74 20 20 20 20 20 20 20 20 20 20 20 3d 20 22 66 6f | .kFontMinSizeFmt...........=."fo |
13b160 | 6e 74 2e 6d 69 6e 69 6d 75 6d 2d 73 69 7a 65 2e 25 4c 41 4e 47 25 22 3b 0a 0a 76 61 72 20 67 46 | nt.minimum-size.%LANG%";..var.gF |
13b180 | 6f 6e 74 73 44 69 61 6c 6f 67 20 3d 20 7b 0a 20 20 5f 73 65 6c 65 63 74 4c 61 6e 67 75 61 67 65 | ontsDialog.=.{..._selectLanguage |
13b1a0 | 47 72 6f 75 70 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 4c 61 6e 67 75 61 67 65 47 72 6f 75 70 29 | Group:.function.(aLanguageGroup) |
13b1c0 | 0a 20 20 7b 0a 20 20 20 20 76 61 72 20 70 72 65 66 73 20 3d 20 5b 7b 20 66 6f 72 6d 61 74 3a 20 | ...{.....var.prefs.=.[{.format:. |
13b1e0 | 6b 44 65 66 61 75 6c 74 46 6f 6e 74 54 79 70 65 2c 20 20 20 20 20 20 20 20 20 20 74 79 70 65 3a | kDefaultFontType,..........type: |
13b200 | 20 22 73 74 72 69 6e 67 22 2c 20 20 20 65 6c 65 6d 65 6e 74 3a 20 22 64 65 66 61 75 6c 74 46 6f | ."string",...element:."defaultFo |
13b220 | 6e 74 54 79 70 65 22 2c 20 66 6f 6e 74 74 79 70 65 3a 20 6e 75 6c 6c 7d 2c 0a 20 20 20 20 20 20 | ntType",.fonttype:.null},....... |
13b240 | 20 20 20 20 20 20 20 20 20 20 20 7b 20 66 6f 72 6d 61 74 3a 20 6b 46 6f 6e 74 4e 61 6d 65 46 6d | ...........{.format:.kFontNameFm |
13b260 | 74 53 65 72 69 66 2c 20 20 20 20 20 20 20 20 20 74 79 70 65 3a 20 22 66 6f 6e 74 6e 61 6d 65 22 | tSerif,.........type:."fontname" |
13b280 | 2c 20 65 6c 65 6d 65 6e 74 3a 20 22 73 65 72 69 66 22 2c 20 20 20 20 20 20 66 6f 6e 74 74 79 70 | ,.element:."serif",......fonttyp |
13b2a0 | 65 3a 20 22 73 65 72 69 66 22 20 20 20 20 20 20 20 7d 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 | e:."serif".......},............. |
13b2c0 | 20 20 20 20 20 7b 20 66 6f 72 6d 61 74 3a 20 6b 46 6f 6e 74 4e 61 6d 65 46 6d 74 53 61 6e 73 53 | .....{.format:.kFontNameFmtSansS |
13b2e0 | 65 72 69 66 2c 20 20 20 20 20 74 79 70 65 3a 20 22 66 6f 6e 74 6e 61 6d 65 22 2c 20 65 6c 65 6d | erif,.....type:."fontname",.elem |
13b300 | 65 6e 74 3a 20 22 73 61 6e 73 2d 73 65 72 69 66 22 2c 20 66 6f 6e 74 74 79 70 65 3a 20 22 73 61 | ent:."sans-serif",.fonttype:."sa |
13b320 | 6e 73 2d 73 65 72 69 66 22 20 20 7d 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7b | ns-serif"..},..................{ |
13b340 | 20 66 6f 72 6d 61 74 3a 20 6b 46 6f 6e 74 4e 61 6d 65 46 6d 74 4d 6f 6e 6f 73 70 61 63 65 2c 20 | .format:.kFontNameFmtMonospace,. |
13b360 | 20 20 20 20 74 79 70 65 3a 20 22 66 6f 6e 74 6e 61 6d 65 22 2c 20 65 6c 65 6d 65 6e 74 3a 20 22 | ....type:."fontname",.element:." |
13b380 | 6d 6f 6e 6f 73 70 61 63 65 22 2c 20 20 66 6f 6e 74 74 79 70 65 3a 20 22 6d 6f 6e 6f 73 70 61 63 | monospace",..fonttype:."monospac |
13b3a0 | 65 22 20 20 20 7d 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7b 20 66 6f 72 6d 61 | e"...},..................{.forma |
13b3c0 | 74 3a 20 6b 46 6f 6e 74 4e 61 6d 65 4c 69 73 74 46 6d 74 53 65 72 69 66 2c 20 20 20 20 20 74 79 | t:.kFontNameListFmtSerif,.....ty |
13b3e0 | 70 65 3a 20 22 75 6e 69 63 68 61 72 22 2c 20 20 65 6c 65 6d 65 6e 74 3a 20 6e 75 6c 6c 2c 20 20 | pe:."unichar",..element:.null,.. |
13b400 | 20 20 20 20 20 20 20 66 6f 6e 74 74 79 70 65 3a 20 22 73 65 72 69 66 22 20 20 20 20 20 20 20 7d | .......fonttype:."serif".......} |
13b420 | 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7b 20 66 6f 72 6d 61 74 3a 20 6b 46 6f | ,..................{.format:.kFo |
13b440 | 6e 74 4e 61 6d 65 4c 69 73 74 46 6d 74 53 61 6e 73 53 65 72 69 66 2c 20 74 79 70 65 3a 20 22 75 | ntNameListFmtSansSerif,.type:."u |
13b460 | 6e 69 63 68 61 72 22 2c 20 20 65 6c 65 6d 65 6e 74 3a 20 6e 75 6c 6c 2c 20 20 20 20 20 20 20 20 | nichar",..element:.null,........ |
13b480 | 20 66 6f 6e 74 74 79 70 65 3a 20 22 73 61 6e 73 2d 73 65 72 69 66 22 20 20 7d 2c 0a 20 20 20 20 | .fonttype:."sans-serif"..},..... |
13b4a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 7b 20 66 6f 72 6d 61 74 3a 20 6b 46 6f 6e 74 4e 61 6d 65 | .............{.format:.kFontName |
13b4c0 | 4c 69 73 74 46 6d 74 4d 6f 6e 6f 73 70 61 63 65 2c 20 74 79 70 65 3a 20 22 75 6e 69 63 68 61 72 | ListFmtMonospace,.type:."unichar |
13b4e0 | 22 2c 20 20 65 6c 65 6d 65 6e 74 3a 20 6e 75 6c 6c 2c 20 20 20 20 20 20 20 20 20 66 6f 6e 74 74 | ",..element:.null,.........fontt |
13b500 | 79 70 65 3a 20 22 6d 6f 6e 6f 73 70 61 63 65 22 20 20 20 7d 2c 0a 20 20 20 20 20 20 20 20 20 20 | ype:."monospace"...},........... |
13b520 | 20 20 20 20 20 20 20 7b 20 66 6f 72 6d 61 74 3a 20 6b 46 6f 6e 74 53 69 7a 65 46 6d 74 56 61 72 | .......{.format:.kFontSizeFmtVar |
13b540 | 69 61 62 6c 65 2c 20 20 20 20 20 20 74 79 70 65 3a 20 22 69 6e 74 22 2c 20 20 20 20 20 20 65 6c | iable,......type:."int",......el |
13b560 | 65 6d 65 6e 74 3a 20 22 73 69 7a 65 56 61 72 22 2c 20 20 20 20 66 6f 6e 74 74 79 70 65 3a 20 6e | ement:."sizeVar",....fonttype:.n |
13b580 | 75 6c 6c 20 20 20 20 20 20 20 20 20 20 7d 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ull..........},................. |
13b5a0 | 20 7b 20 66 6f 72 6d 61 74 3a 20 6b 46 6f 6e 74 53 69 7a 65 46 6d 74 46 69 78 65 64 2c 20 20 20 | .{.format:.kFontSizeFmtFixed,... |
13b5c0 | 20 20 20 20 20 20 74 79 70 65 3a 20 22 69 6e 74 22 2c 20 20 20 20 20 20 65 6c 65 6d 65 6e 74 3a | ......type:."int",......element: |
13b5e0 | 20 22 73 69 7a 65 4d 6f 6e 6f 22 2c 20 20 20 66 6f 6e 74 74 79 70 65 3a 20 6e 75 6c 6c 20 20 20 | ."sizeMono",...fonttype:.null... |
13b600 | 20 20 20 20 20 20 20 7d 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7b 20 66 6f 72 | .......},..................{.for |
13b620 | 6d 61 74 3a 20 6b 46 6f 6e 74 4d 69 6e 53 69 7a 65 46 6d 74 2c 20 20 20 20 20 20 20 20 20 20 20 | mat:.kFontMinSizeFmt,........... |
13b640 | 74 79 70 65 3a 20 22 69 6e 74 22 2c 20 20 20 20 20 20 65 6c 65 6d 65 6e 74 3a 20 22 6d 69 6e 53 | type:."int",......element:."minS |
13b660 | 69 7a 65 22 2c 20 20 20 20 66 6f 6e 74 74 79 70 65 3a 20 6e 75 6c 6c 20 20 20 20 20 20 20 20 20 | ize",....fonttype:.null......... |
13b680 | 20 7d 5d 3b 0a 20 20 20 20 76 61 72 20 70 72 65 66 65 72 65 6e 63 65 73 20 3d 20 64 6f 63 75 6d | .}];.....var.preferences.=.docum |
13b6a0 | 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 66 6f 6e 74 50 72 65 66 65 72 65 6e | ent.getElementById("fontPreferen |
13b6c0 | 63 65 73 22 29 3b 0a 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 70 | ces");.....for.(var.i.=.0;.i.<.p |
13b6e0 | 72 65 66 73 2e 6c 65 6e 67 74 68 3b 20 2b 2b 69 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 70 72 | refs.length;.++i).{.......var.pr |
13b700 | 65 66 65 72 65 6e 63 65 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 | eference.=.document.getElementBy |
13b720 | 49 64 28 70 72 65 66 73 5b 69 5d 2e 66 6f 72 6d 61 74 2e 72 65 70 6c 61 63 65 28 2f 25 4c 41 4e | Id(prefs[i].format.replace(/%LAN |
13b740 | 47 25 2f 2c 20 61 4c 61 6e 67 75 61 67 65 47 72 6f 75 70 29 29 3b 0a 20 20 20 20 20 20 69 66 20 | G%/,.aLanguageGroup));.......if. |
13b760 | 28 21 70 72 65 66 65 72 65 6e 63 65 29 20 7b 0a 20 20 20 20 20 20 20 20 70 72 65 66 65 72 65 6e | (!preference).{.........preferen |
13b780 | 63 65 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 63 72 65 61 74 65 45 6c 65 6d 65 6e 74 28 22 70 72 65 | ce.=.document.createElement("pre |
13b7a0 | 66 65 72 65 6e 63 65 22 29 3b 0a 20 20 20 20 20 20 20 20 76 61 72 20 6e 61 6d 65 20 3d 20 70 72 | ference");.........var.name.=.pr |
13b7c0 | 65 66 73 5b 69 5d 2e 66 6f 72 6d 61 74 2e 72 65 70 6c 61 63 65 28 2f 25 4c 41 4e 47 25 2f 2c 20 | efs[i].format.replace(/%LANG%/,. |
13b7e0 | 61 4c 61 6e 67 75 61 67 65 47 72 6f 75 70 29 3b 0a 20 20 20 20 20 20 20 20 70 72 65 66 65 72 65 | aLanguageGroup);.........prefere |
13b800 | 6e 63 65 2e 69 64 20 3d 20 6e 61 6d 65 3b 0a 20 20 20 20 20 20 20 20 70 72 65 66 65 72 65 6e 63 | nce.id.=.name;.........preferenc |
13b820 | 65 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 6e 61 6d 65 22 2c 20 6e 61 6d 65 29 3b 0a 20 20 | e.setAttribute("name",.name);... |
13b840 | 20 20 20 20 20 20 70 72 65 66 65 72 65 6e 63 65 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 74 | ......preference.setAttribute("t |
13b860 | 79 70 65 22 2c 20 70 72 65 66 73 5b 69 5d 2e 74 79 70 65 29 3b 0a 20 20 20 20 20 20 20 20 70 72 | ype",.prefs[i].type);.........pr |
13b880 | 65 66 65 72 65 6e 63 65 73 2e 61 70 70 65 6e 64 43 68 69 6c 64 28 70 72 65 66 65 72 65 6e 63 65 | eferences.appendChild(preference |
13b8a0 | 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 0a 20 20 20 20 20 20 69 66 20 28 21 70 72 65 | );.......}..............if.(!pre |
13b8c0 | 66 73 5b 69 5d 2e 65 6c 65 6d 65 6e 74 29 0a 20 20 20 20 20 20 20 20 63 6f 6e 74 69 6e 75 65 3b | fs[i].element).........continue; |
13b8e0 | 0a 20 20 20 20 20 20 20 20 0a 20 20 20 20 20 20 76 61 72 20 65 6c 65 6d 65 6e 74 20 3d 20 64 6f | ................var.element.=.do |
13b900 | 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 70 72 65 66 73 5b 69 5d 2e 65 | cument.getElementById(prefs[i].e |
13b920 | 6c 65 6d 65 6e 74 29 3b 0a 20 20 20 20 20 20 69 66 20 28 65 6c 65 6d 65 6e 74 29 20 7b 0a 20 20 | lement);.......if.(element).{... |
13b940 | 20 20 20 20 20 20 65 6c 65 6d 65 6e 74 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 70 72 65 66 | ......element.setAttribute("pref |
13b960 | 65 72 65 6e 63 65 22 2c 20 70 72 65 66 65 72 65 6e 63 65 2e 69 64 29 3b 0a 20 20 20 20 20 20 0a | erence",.preference.id);........ |
13b980 | 20 20 20 20 20 20 20 20 69 66 20 28 70 72 65 66 73 5b 69 5d 2e 66 6f 6e 74 74 79 70 65 29 0a 20 | ........if.(prefs[i].fonttype).. |
13b9a0 | 20 20 20 20 20 20 20 20 20 46 6f 6e 74 42 75 69 6c 64 65 72 2e 62 75 69 6c 64 46 6f 6e 74 4c 69 | .........FontBuilder.buildFontLi |
13b9c0 | 73 74 28 61 4c 61 6e 67 75 61 67 65 47 72 6f 75 70 2c 20 70 72 65 66 73 5b 69 5d 2e 66 6f 6e 74 | st(aLanguageGroup,.prefs[i].font |
13b9e0 | 74 79 70 65 2c 20 65 6c 65 6d 65 6e 74 29 3b 0a 0a 20 20 20 20 20 20 20 20 70 72 65 66 65 72 65 | type,.element);..........prefere |
13ba00 | 6e 63 65 2e 73 65 74 45 6c 65 6d 65 6e 74 56 61 6c 75 65 28 65 6c 65 6d 65 6e 74 29 3b 0a 20 20 | nce.setElementValue(element);... |
13ba20 | 20 20 20 20 7d 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 20 20 0a 20 20 72 65 61 64 46 6f 6e 74 4c 61 | ....}.....}...},......readFontLa |
13ba40 | 6e 67 75 61 67 65 47 72 6f 75 70 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 | nguageGroup:.function.()...{.... |
13ba60 | 20 76 61 72 20 6c 61 6e 67 75 61 67 65 50 72 65 66 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 | .var.languagePref.=.document.get |
13ba80 | 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 66 6f 6e 74 2e 6c 61 6e 67 75 61 67 65 2e 67 72 6f 75 70 | ElementById("font.language.group |
13baa0 | 22 29 3b 0a 20 20 20 20 74 68 69 73 2e 5f 73 65 6c 65 63 74 4c 61 6e 67 75 61 67 65 47 72 6f 75 | ");.....this._selectLanguageGrou |
13bac0 | 70 28 6c 61 6e 67 75 61 67 65 50 72 65 66 2e 76 61 6c 75 65 29 3b 0a 20 20 20 20 72 65 74 75 72 | p(languagePref.value);.....retur |
13bae0 | 6e 20 75 6e 64 65 66 69 6e 65 64 3b 0a 20 20 7d 2c 0a 20 20 0a 20 20 72 65 61 64 46 6f 6e 74 53 | n.undefined;...},......readFontS |
13bb00 | 65 6c 65 63 74 69 6f 6e 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 45 6c 65 6d 65 6e 74 29 0a 20 20 | election:.function.(aElement)... |
13bb20 | 7b 0a 20 20 20 20 2f 2f 20 44 65 74 65 72 6d 69 6e 65 20 74 68 65 20 61 70 70 72 6f 70 72 69 61 | {.....//.Determine.the.appropria |
13bb40 | 74 65 20 76 61 6c 75 65 20 74 6f 20 73 65 6c 65 63 74 2c 20 66 6f 72 20 74 68 65 20 66 6f 6c 6c | te.value.to.select,.for.the.foll |
13bb60 | 6f 77 69 6e 67 20 63 61 73 65 73 3a 0a 20 20 20 20 2f 2f 20 2d 20 74 68 65 72 65 20 69 73 20 6e | owing.cases:.....//.-.there.is.n |
13bb80 | 6f 20 73 65 74 74 69 6e 67 20 0a 20 20 20 20 2f 2f 20 2d 20 74 68 65 20 66 6f 6e 74 20 73 65 6c | o.setting......//.-.the.font.sel |
13bba0 | 65 63 74 65 64 20 62 79 20 74 68 65 20 75 73 65 72 20 69 73 20 6e 6f 20 6c 6f 6e 67 65 72 20 70 | ected.by.the.user.is.no.longer.p |
13bbc0 | 72 65 73 65 6e 74 20 28 65 2e 67 2e 20 64 65 6c 65 74 65 64 20 66 72 6f 6d 0a 20 20 20 20 2f 2f | resent.(e.g..deleted.from.....// |
13bbe0 | 20 20 20 66 6f 6e 74 73 20 66 6f 6c 64 65 72 29 0a 20 20 20 20 76 61 72 20 70 72 65 66 65 72 65 | ...fonts.folder).....var.prefere |
13bc00 | 6e 63 65 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 61 45 | nce.=.document.getElementById(aE |
13bc20 | 6c 65 6d 65 6e 74 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 70 72 65 66 65 72 65 6e 63 65 22 | lement.getAttribute("preference" |
13bc40 | 29 29 3b 0a 20 20 20 20 69 66 20 28 70 72 65 66 65 72 65 6e 63 65 2e 76 61 6c 75 65 29 20 7b 0a | ));.....if.(preference.value).{. |
13bc60 | 20 20 20 20 20 20 76 61 72 20 66 6f 6e 74 49 74 65 6d 73 20 3d 20 61 45 6c 65 6d 65 6e 74 2e 67 | ......var.fontItems.=.aElement.g |
13bc80 | 65 74 45 6c 65 6d 65 6e 74 73 42 79 41 74 74 72 69 62 75 74 65 28 22 76 61 6c 75 65 22 2c 20 70 | etElementsByAttribute("value",.p |
13bca0 | 72 65 66 65 72 65 6e 63 65 2e 76 61 6c 75 65 29 3b 0a 20 20 20 20 0a 20 20 20 20 20 20 2f 2f 20 | reference.value);............//. |
13bcc0 | 54 68 65 72 65 20 69 73 20 61 20 73 65 74 74 69 6e 67 20 74 68 61 74 20 61 63 74 75 61 6c 6c 79 | There.is.a.setting.that.actually |
13bce0 | 20 69 73 20 69 6e 20 74 68 65 20 6c 69 73 74 2e 20 52 65 73 70 65 63 74 20 69 74 2e 0a 20 20 20 | .is.in.the.list..Respect.it..... |
13bd00 | 20 20 20 69 66 20 28 66 6f 6e 74 49 74 65 6d 73 2e 6c 65 6e 67 74 68 20 3e 20 30 29 0a 20 20 20 | ...if.(fontItems.length.>.0).... |
13bd20 | 20 20 20 20 20 72 65 74 75 72 6e 20 75 6e 64 65 66 69 6e 65 64 3b 0a 20 20 20 20 7d 0a 20 20 20 | .....return.undefined;.....}.... |
13bd40 | 20 0a 20 20 20 20 76 61 72 20 64 65 66 61 75 6c 74 56 61 6c 75 65 20 3d 20 61 45 6c 65 6d 65 6e | ......var.defaultValue.=.aElemen |
13bd60 | 74 2e 66 69 72 73 74 43 68 69 6c 64 2e 66 69 72 73 74 43 68 69 6c 64 2e 67 65 74 41 74 74 72 69 | t.firstChild.firstChild.getAttri |
13bd80 | 62 75 74 65 28 22 76 61 6c 75 65 22 29 3b 0a 20 20 20 20 76 61 72 20 6c 61 6e 67 75 61 67 65 50 | bute("value");.....var.languageP |
13bda0 | 72 65 66 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 66 | ref.=.document.getElementById("f |
13bdc0 | 6f 6e 74 2e 6c 61 6e 67 75 61 67 65 2e 67 72 6f 75 70 22 29 3b 0a 20 20 20 20 70 72 65 66 65 72 | ont.language.group");.....prefer |
13bde0 | 65 6e 63 65 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 | ence.=.document.getElementById(" |
13be00 | 66 6f 6e 74 2e 6e 61 6d 65 2d 6c 69 73 74 2e 22 20 2b 20 61 45 6c 65 6d 65 6e 74 2e 69 64 20 2b | font.name-list.".+.aElement.id.+ |
13be20 | 20 22 2e 22 20 2b 20 6c 61 6e 67 75 61 67 65 50 72 65 66 2e 76 61 6c 75 65 29 3b 0a 20 20 20 20 | .".".+.languagePref.value);..... |
13be40 | 69 66 20 28 21 70 72 65 66 65 72 65 6e 63 65 20 7c 7c 20 21 70 72 65 66 65 72 65 6e 63 65 2e 68 | if.(!preference.||.!preference.h |
13be60 | 61 73 55 73 65 72 56 61 6c 75 65 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 64 65 66 61 75 6c | asUserValue).......return.defaul |
13be80 | 74 56 61 6c 75 65 3b 0a 20 20 20 20 0a 20 20 20 20 76 61 72 20 66 6f 6e 74 4e 61 6d 65 73 20 3d | tValue;..........var.fontNames.= |
13bea0 | 20 70 72 65 66 65 72 65 6e 63 65 2e 76 61 6c 75 65 2e 73 70 6c 69 74 28 22 2c 22 29 3b 0a 20 20 | .preference.value.split(",");... |
13bec0 | 20 20 76 61 72 20 73 74 72 69 70 57 68 69 74 65 73 70 61 63 65 20 3d 20 2f 5e 5c 73 2a 28 2e 2a | ..var.stripWhitespace.=./^\s*(.* |
13bee0 | 29 5c 73 2a 24 2f 3b 0a 20 20 20 20 0a 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b | )\s*$/;..........for.(var.i.=.0; |
13bf00 | 20 69 20 3c 20 66 6f 6e 74 4e 61 6d 65 73 2e 6c 65 6e 67 74 68 3b 20 2b 2b 69 29 20 7b 0a 20 20 | .i.<.fontNames.length;.++i).{... |
13bf20 | 20 20 20 20 76 61 72 20 66 6f 6e 74 4e 61 6d 65 20 3d 20 66 6f 6e 74 4e 61 6d 65 73 5b 69 5d 2e | ....var.fontName.=.fontNames[i]. |
13bf40 | 72 65 70 6c 61 63 65 28 73 74 72 69 70 57 68 69 74 65 73 70 61 63 65 2c 20 22 24 31 22 29 3b 0a | replace(stripWhitespace,."$1");. |
13bf60 | 20 20 20 20 20 20 66 6f 6e 74 49 74 65 6d 73 20 3d 20 61 45 6c 65 6d 65 6e 74 2e 67 65 74 45 6c | ......fontItems.=.aElement.getEl |
13bf80 | 65 6d 65 6e 74 73 42 79 41 74 74 72 69 62 75 74 65 28 22 76 61 6c 75 65 22 2c 20 66 6f 6e 74 4e | ementsByAttribute("value",.fontN |
13bfa0 | 61 6d 65 29 3b 0a 20 20 20 20 20 20 69 66 20 28 66 6f 6e 74 49 74 65 6d 73 2e 6c 65 6e 67 74 68 | ame);.......if.(fontItems.length |
13bfc0 | 29 0a 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 7d 0a 20 20 20 20 69 66 20 28 66 | ).........break;.....}.....if.(f |
13bfe0 | 6f 6e 74 49 74 65 6d 73 2e 6c 65 6e 67 74 68 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 66 6f | ontItems.length).......return.fo |
13c000 | 6e 74 49 74 65 6d 73 5b 30 5d 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 76 61 6c 75 65 22 29 | ntItems[0].getAttribute("value") |
13c020 | 3b 0a 20 20 20 20 72 65 74 75 72 6e 20 64 65 66 61 75 6c 74 56 61 6c 75 65 3b 0a 20 20 7d 2c 0a | ;.....return.defaultValue;...},. |
13c040 | 20 20 0a 20 20 5f 63 68 61 72 73 65 74 4d 65 6e 75 49 6e 69 74 69 61 6c 69 7a 65 64 3a 20 66 61 | ....._charsetMenuInitialized:.fa |
13c060 | 6c 73 65 2c 0a 20 20 72 65 61 64 44 65 66 61 75 6c 74 43 68 61 72 73 65 74 3a 20 66 75 6e 63 74 | lse,...readDefaultCharset:.funct |
13c080 | 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 69 66 20 28 21 74 68 69 73 2e 5f 63 68 61 72 73 65 | ion.()...{.....if.(!this._charse |
13c0a0 | 74 4d 65 6e 75 49 6e 69 74 69 61 6c 69 7a 65 64 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 6f 73 | tMenuInitialized).{.......var.os |
13c0c0 | 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e | .=.Components.classes["@mozilla. |
13c0e0 | 6f 72 67 2f 6f 62 73 65 72 76 65 72 2d 73 65 72 76 69 63 65 3b 31 22 5d 0a 20 20 20 20 20 20 20 | org/observer-service;1"]........ |
13c100 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 6f | ...................getService(Co |
13c120 | 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 4f 62 73 65 72 76 65 72 53 | mponents.interfaces.nsIObserverS |
13c140 | 65 72 76 69 63 65 29 3b 0a 20 20 20 20 20 20 6f 73 2e 6e 6f 74 69 66 79 4f 62 73 65 72 76 65 72 | ervice);.......os.notifyObserver |
13c160 | 73 28 6e 75 6c 6c 2c 20 22 63 68 61 72 73 65 74 6d 65 6e 75 2d 73 65 6c 65 63 74 65 64 22 2c 20 | s(null,."charsetmenu-selected",. |
13c180 | 22 6f 74 68 65 72 22 29 3b 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 63 68 61 72 73 65 74 4d 65 6e | "other");.......this._charsetMen |
13c1a0 | 75 49 6e 69 74 69 61 6c 69 7a 65 64 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 7d 0a 20 20 20 20 72 | uInitialized.=.true;.....}.....r |
13c1c0 | 65 74 75 72 6e 20 75 6e 64 65 66 69 6e 65 64 3b 0a 20 20 7d 2c 0a 20 20 0a 20 20 72 65 61 64 55 | eturn.undefined;...},......readU |
13c1e0 | 73 65 44 6f 63 75 6d 65 6e 74 46 6f 6e 74 73 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b | seDocumentFonts:.function.()...{ |
13c200 | 0a 20 20 20 20 76 61 72 20 70 72 65 66 65 72 65 6e 63 65 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 | .....var.preference.=.document.g |
13c220 | 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 62 72 6f 77 73 65 72 2e 64 69 73 70 6c 61 79 2e 75 | etElementById("browser.display.u |
13c240 | 73 65 5f 64 6f 63 75 6d 65 6e 74 5f 66 6f 6e 74 73 22 29 3b 0a 20 20 20 20 72 65 74 75 72 6e 20 | se_document_fonts");.....return. |
13c260 | 70 72 65 66 65 72 65 6e 63 65 2e 76 61 6c 75 65 20 3d 3d 20 31 3b 0a 20 20 7d 2c 0a 20 20 0a 20 | preference.value.==.1;...},..... |
13c280 | 20 77 72 69 74 65 55 73 65 44 6f 63 75 6d 65 6e 74 46 6f 6e 74 73 3a 20 66 75 6e 63 74 69 6f 6e | .writeUseDocumentFonts:.function |
13c2a0 | 20 28 29 0a 20 20 7b 0a 20 20 20 20 76 61 72 20 75 73 65 44 6f 63 75 6d 65 6e 74 46 6f 6e 74 73 | .()...{.....var.useDocumentFonts |
13c2c0 | 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 75 73 65 44 | .=.document.getElementById("useD |
13c2e0 | 6f 63 75 6d 65 6e 74 46 6f 6e 74 73 22 29 3b 0a 20 20 20 20 72 65 74 75 72 6e 20 75 73 65 44 6f | ocumentFonts");.....return.useDo |
13c300 | 63 75 6d 65 6e 74 46 6f 6e 74 73 2e 63 68 65 63 6b 65 64 20 3f 20 31 20 3a 20 30 3b 0a 20 20 7d | cumentFonts.checked.?.1.:.0;...} |
13c320 | 0a 7d 3b 0a 0a 50 4b 03 04 14 00 00 00 00 00 f3 4b 18 3b 6d e8 70 23 1e 12 00 00 1e 12 00 00 28 | .};..PK.........K.;m.p#........( |
13c340 | 00 00 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 68 | ...content/browser/preferences/h |
13c360 | 61 6e 64 6c 65 72 73 2e 78 6d 6c 3c 3f 78 6d 6c 20 76 65 72 73 69 6f 6e 3d 22 31 2e 30 22 3f 3e | andlers.xml<?xml.version="1.0"?> |
13c380 | 0a 0a 3c 21 2d 2d 20 2a 2a 2a 2a 2a 20 42 45 47 49 4e 20 4c 49 43 45 4e 53 45 20 42 4c 4f 43 4b | ..<!--.*****.BEGIN.LICENSE.BLOCK |
13c3a0 | 20 2a 2a 2a 2a 2a 0a 20 20 20 2d 20 56 65 72 73 69 6f 6e 3a 20 4d 50 4c 20 31 2e 31 2f 47 50 4c | .*****....-.Version:.MPL.1.1/GPL |
13c3c0 | 20 32 2e 30 2f 4c 47 50 4c 20 32 2e 31 0a 20 20 20 2d 0a 20 20 20 2d 20 54 68 65 20 63 6f 6e 74 | .2.0/LGPL.2.1....-....-.The.cont |
13c3e0 | 65 6e 74 73 20 6f 66 20 74 68 69 73 20 66 69 6c 65 20 61 72 65 20 73 75 62 6a 65 63 74 20 74 6f | ents.of.this.file.are.subject.to |
13c400 | 20 74 68 65 20 4d 6f 7a 69 6c 6c 61 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 20 56 65 72 73 | .the.Mozilla.Public.License.Vers |
13c420 | 69 6f 6e 0a 20 20 20 2d 20 31 2e 31 20 28 74 68 65 20 22 4c 69 63 65 6e 73 65 22 29 3b 20 79 6f | ion....-.1.1.(the."License");.yo |
13c440 | 75 20 6d 61 79 20 6e 6f 74 20 75 73 65 20 74 68 69 73 20 66 69 6c 65 20 65 78 63 65 70 74 20 69 | u.may.not.use.this.file.except.i |
13c460 | 6e 20 63 6f 6d 70 6c 69 61 6e 63 65 20 77 69 74 68 0a 20 20 20 2d 20 74 68 65 20 4c 69 63 65 6e | n.compliance.with....-.the.Licen |
13c480 | 73 65 2e 20 59 6f 75 20 6d 61 79 20 6f 62 74 61 69 6e 20 61 20 63 6f 70 79 20 6f 66 20 74 68 65 | se..You.may.obtain.a.copy.of.the |
13c4a0 | 20 4c 69 63 65 6e 73 65 20 61 74 0a 20 20 20 2d 20 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 | .License.at....-.http://www.mozi |
13c4c0 | 6c 6c 61 2e 6f 72 67 2f 4d 50 4c 2f 0a 20 20 20 2d 0a 20 20 20 2d 20 53 6f 66 74 77 61 72 65 20 | lla.org/MPL/....-....-.Software. |
13c4e0 | 64 69 73 74 72 69 62 75 74 65 64 20 75 6e 64 65 72 20 74 68 65 20 4c 69 63 65 6e 73 65 20 69 73 | distributed.under.the.License.is |
13c500 | 20 64 69 73 74 72 69 62 75 74 65 64 20 6f 6e 20 61 6e 20 22 41 53 20 49 53 22 20 62 61 73 69 73 | .distributed.on.an."AS.IS".basis |
13c520 | 2c 0a 20 20 20 2d 20 57 49 54 48 4f 55 54 20 57 41 52 52 41 4e 54 59 20 4f 46 20 41 4e 59 20 4b | ,....-.WITHOUT.WARRANTY.OF.ANY.K |
13c540 | 49 4e 44 2c 20 65 69 74 68 65 72 20 65 78 70 72 65 73 73 20 6f 72 20 69 6d 70 6c 69 65 64 2e 20 | IND,.either.express.or.implied.. |
13c560 | 53 65 65 20 74 68 65 20 4c 69 63 65 6e 73 65 0a 20 20 20 2d 20 66 6f 72 20 74 68 65 20 73 70 65 | See.the.License....-.for.the.spe |
13c580 | 63 69 66 69 63 20 6c 61 6e 67 75 61 67 65 20 67 6f 76 65 72 6e 69 6e 67 20 72 69 67 68 74 73 20 | cific.language.governing.rights. |
13c5a0 | 61 6e 64 20 6c 69 6d 69 74 61 74 69 6f 6e 73 20 75 6e 64 65 72 20 74 68 65 0a 20 20 20 2d 20 4c | and.limitations.under.the....-.L |
13c5c0 | 69 63 65 6e 73 65 2e 0a 20 20 20 2d 0a 20 20 20 2d 20 54 68 65 20 4f 72 69 67 69 6e 61 6c 20 43 | icense.....-....-.The.Original.C |
13c5e0 | 6f 64 65 20 69 73 20 74 68 65 20 4d 6f 7a 69 6c 6c 61 20 62 72 6f 77 73 65 72 2e 0a 20 20 20 2d | ode.is.the.Mozilla.browser.....- |
13c600 | 0a 20 20 20 2d 20 54 68 65 20 49 6e 69 74 69 61 6c 20 44 65 76 65 6c 6f 70 65 72 20 6f 66 20 74 | ....-.The.Initial.Developer.of.t |
13c620 | 68 65 20 4f 72 69 67 69 6e 61 6c 20 43 6f 64 65 20 69 73 20 4d 6f 7a 69 6c 6c 61 2e 0a 20 20 20 | he.Original.Code.is.Mozilla..... |
13c640 | 2d 20 50 6f 72 74 69 6f 6e 73 20 63 72 65 61 74 65 64 20 62 79 20 74 68 65 20 49 6e 69 74 69 61 | -.Portions.created.by.the.Initia |
13c660 | 6c 20 44 65 76 65 6c 6f 70 65 72 20 61 72 65 20 43 6f 70 79 72 69 67 68 74 20 28 43 29 20 32 30 | l.Developer.are.Copyright.(C).20 |
13c680 | 30 37 0a 20 20 20 2d 20 74 68 65 20 49 6e 69 74 69 61 6c 20 44 65 76 65 6c 6f 70 65 72 2e 20 41 | 07....-.the.Initial.Developer..A |
13c6a0 | 6c 6c 20 52 69 67 68 74 73 20 52 65 73 65 72 76 65 64 2e 0a 20 20 20 2d 0a 20 20 20 2d 20 43 6f | ll.Rights.Reserved.....-....-.Co |
13c6c0 | 6e 74 72 69 62 75 74 6f 72 28 73 29 3a 0a 20 20 20 2d 20 20 20 4d 79 6b 20 4d 65 6c 65 7a 20 3c | ntributor(s):....-...Myk.Melez.< |
13c6e0 | 6d 79 6b 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 3e 0a 20 20 20 2d 0a 20 20 20 2d 20 41 6c 74 65 72 | myk@mozilla.org>....-....-.Alter |
13c700 | 6e 61 74 69 76 65 6c 79 2c 20 74 68 65 20 63 6f 6e 74 65 6e 74 73 20 6f 66 20 74 68 69 73 20 66 | natively,.the.contents.of.this.f |
13c720 | 69 6c 65 20 6d 61 79 20 62 65 20 75 73 65 64 20 75 6e 64 65 72 20 74 68 65 20 74 65 72 6d 73 20 | ile.may.be.used.under.the.terms. |
13c740 | 6f 66 0a 20 20 20 2d 20 65 69 74 68 65 72 20 74 68 65 20 47 4e 55 20 47 65 6e 65 72 61 6c 20 50 | of....-.either.the.GNU.General.P |
13c760 | 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 20 56 65 72 73 69 6f 6e 20 32 20 6f 72 20 6c 61 74 65 72 | ublic.License.Version.2.or.later |
13c780 | 20 28 74 68 65 20 22 47 50 4c 22 29 2c 20 6f 72 0a 20 20 20 2d 20 74 68 65 20 47 4e 55 20 4c 65 | .(the."GPL"),.or....-.the.GNU.Le |
13c7a0 | 73 73 65 72 20 47 65 6e 65 72 61 6c 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 20 56 65 72 73 | sser.General.Public.License.Vers |
13c7c0 | 69 6f 6e 20 32 2e 31 20 6f 72 20 6c 61 74 65 72 20 28 74 68 65 20 22 4c 47 50 4c 22 29 2c 0a 20 | ion.2.1.or.later.(the."LGPL"),.. |
13c7e0 | 20 20 2d 20 69 6e 20 77 68 69 63 68 20 63 61 73 65 20 74 68 65 20 70 72 6f 76 69 73 69 6f 6e 73 | ..-.in.which.case.the.provisions |
13c800 | 20 6f 66 20 74 68 65 20 47 50 4c 20 6f 72 20 74 68 65 20 4c 47 50 4c 20 61 72 65 20 61 70 70 6c | .of.the.GPL.or.the.LGPL.are.appl |
13c820 | 69 63 61 62 6c 65 20 69 6e 73 74 65 61 64 0a 20 20 20 2d 20 6f 66 20 74 68 6f 73 65 20 61 62 6f | icable.instead....-.of.those.abo |
13c840 | 76 65 2e 20 49 66 20 79 6f 75 20 77 69 73 68 20 74 6f 20 61 6c 6c 6f 77 20 75 73 65 20 6f 66 20 | ve..If.you.wish.to.allow.use.of. |
13c860 | 79 6f 75 72 20 76 65 72 73 69 6f 6e 20 6f 66 20 74 68 69 73 20 66 69 6c 65 20 6f 6e 6c 79 0a 20 | your.version.of.this.file.only.. |
13c880 | 20 20 2d 20 75 6e 64 65 72 20 74 68 65 20 74 65 72 6d 73 20 6f 66 20 65 69 74 68 65 72 20 74 68 | ..-.under.the.terms.of.either.th |
13c8a0 | 65 20 47 50 4c 20 6f 72 20 74 68 65 20 4c 47 50 4c 2c 20 61 6e 64 20 6e 6f 74 20 74 6f 20 61 6c | e.GPL.or.the.LGPL,.and.not.to.al |
13c8c0 | 6c 6f 77 20 6f 74 68 65 72 73 20 74 6f 0a 20 20 20 2d 20 75 73 65 20 79 6f 75 72 20 76 65 72 73 | low.others.to....-.use.your.vers |
13c8e0 | 69 6f 6e 20 6f 66 20 74 68 69 73 20 66 69 6c 65 20 75 6e 64 65 72 20 74 68 65 20 74 65 72 6d 73 | ion.of.this.file.under.the.terms |
13c900 | 20 6f 66 20 74 68 65 20 4d 50 4c 2c 20 69 6e 64 69 63 61 74 65 20 79 6f 75 72 0a 20 20 20 2d 20 | .of.the.MPL,.indicate.your....-. |
13c920 | 64 65 63 69 73 69 6f 6e 20 62 79 20 64 65 6c 65 74 69 6e 67 20 74 68 65 20 70 72 6f 76 69 73 69 | decision.by.deleting.the.provisi |
13c940 | 6f 6e 73 20 61 62 6f 76 65 20 61 6e 64 20 72 65 70 6c 61 63 65 20 74 68 65 6d 20 77 69 74 68 20 | ons.above.and.replace.them.with. |
13c960 | 74 68 65 20 6e 6f 74 69 63 65 0a 20 20 20 2d 20 61 6e 64 20 6f 74 68 65 72 20 70 72 6f 76 69 73 | the.notice....-.and.other.provis |
13c980 | 69 6f 6e 73 20 72 65 71 75 69 72 65 64 20 62 79 20 74 68 65 20 4c 47 50 4c 20 6f 72 20 74 68 65 | ions.required.by.the.LGPL.or.the |
13c9a0 | 20 47 50 4c 2e 20 49 66 20 79 6f 75 20 64 6f 20 6e 6f 74 20 64 65 6c 65 74 65 0a 20 20 20 2d 20 | .GPL..If.you.do.not.delete....-. |
13c9c0 | 74 68 65 20 70 72 6f 76 69 73 69 6f 6e 73 20 61 62 6f 76 65 2c 20 61 20 72 65 63 69 70 69 65 6e | the.provisions.above,.a.recipien |
13c9e0 | 74 20 6d 61 79 20 75 73 65 20 79 6f 75 72 20 76 65 72 73 69 6f 6e 20 6f 66 20 74 68 69 73 20 66 | t.may.use.your.version.of.this.f |
13ca00 | 69 6c 65 20 75 6e 64 65 72 0a 20 20 20 2d 20 74 68 65 20 74 65 72 6d 73 20 6f 66 20 61 6e 79 20 | ile.under....-.the.terms.of.any. |
13ca20 | 6f 6e 65 20 6f 66 20 74 68 65 20 4d 50 4c 2c 20 74 68 65 20 47 50 4c 20 6f 72 20 74 68 65 20 4c | one.of.the.MPL,.the.GPL.or.the.L |
13ca40 | 47 50 4c 2e 0a 20 20 20 2d 0a 20 20 20 2d 20 2a 2a 2a 2a 2a 20 45 4e 44 20 4c 49 43 45 4e 53 45 | GPL.....-....-.*****.END.LICENSE |
13ca60 | 20 42 4c 4f 43 4b 20 2a 2a 2a 2a 2a 20 2d 2d 3e 0a 0a 3c 21 44 4f 43 54 59 50 45 20 6f 76 65 72 | .BLOCK.*****.-->..<!DOCTYPE.over |
13ca80 | 6c 61 79 20 5b 0a 20 20 3c 21 45 4e 54 49 54 59 20 25 20 62 72 61 6e 64 44 54 44 20 53 59 53 54 | lay.[...<!ENTITY.%.brandDTD.SYST |
13caa0 | 45 4d 20 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 61 6e 64 69 6e 67 2f 6c 6f 63 61 6c 65 2f 62 72 61 | EM."chrome://branding/locale/bra |
13cac0 | 6e 64 2e 64 74 64 22 3e 0a 20 20 3c 21 45 4e 54 49 54 59 20 25 20 61 70 70 6c 69 63 61 74 69 6f | nd.dtd">...<!ENTITY.%.applicatio |
13cae0 | 6e 73 44 54 44 20 53 59 53 54 45 4d 20 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 6c | nsDTD.SYSTEM."chrome://browser/l |
13cb00 | 6f 63 61 6c 65 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 61 70 70 6c 69 63 61 74 69 6f 6e 73 2e 64 | ocale/preferences/applications.d |
13cb20 | 74 64 22 3e 0a 20 20 25 62 72 61 6e 64 44 54 44 3b 0a 20 20 25 61 70 70 6c 69 63 61 74 69 6f 6e | td">...%brandDTD;...%application |
13cb40 | 73 44 54 44 3b 0a 5d 3e 0a 0a 3c 62 69 6e 64 69 6e 67 73 20 69 64 3d 22 68 61 6e 64 6c 65 72 42 | sDTD;.]>..<bindings.id="handlerB |
13cb60 | 69 6e 64 69 6e 67 73 22 0a 20 20 20 20 20 20 20 20 20 20 78 6d 6c 6e 73 3d 22 68 74 74 70 3a 2f | indings"...........xmlns="http:/ |
13cb80 | 2f 77 77 77 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 78 62 6c 22 0a 20 20 20 20 20 20 20 20 20 20 | /www.mozilla.org/xbl"........... |
13cba0 | 78 6d 6c 6e 73 3a 78 75 6c 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 | xmlns:xul="http://www.mozilla.or |
13cbc0 | 67 2f 6b 65 79 6d 61 73 74 65 72 2f 67 61 74 65 6b 65 65 70 65 72 2f 74 68 65 72 65 2e 69 73 2e | g/keymaster/gatekeeper/there.is. |
13cbe0 | 6f 6e 6c 79 2e 78 75 6c 22 0a 20 20 20 20 20 20 20 20 20 20 78 6d 6c 6e 73 3a 78 62 6c 3d 22 68 | only.xul"...........xmlns:xbl="h |
13cc00 | 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 78 62 6c 22 3e 0a 0a 20 20 3c | ttp://www.mozilla.org/xbl">....< |
13cc20 | 62 69 6e 64 69 6e 67 20 69 64 3d 22 68 61 6e 64 6c 65 72 2d 62 61 73 65 22 20 65 78 74 65 6e 64 | binding.id="handler-base".extend |
13cc40 | 73 3d 22 63 68 72 6f 6d 65 3a 2f 2f 67 6c 6f 62 61 6c 2f 63 6f 6e 74 65 6e 74 2f 62 69 6e 64 69 | s="chrome://global/content/bindi |
13cc60 | 6e 67 73 2f 72 69 63 68 6c 69 73 74 62 6f 78 2e 78 6d 6c 23 72 69 63 68 6c 69 73 74 69 74 65 6d | ngs/richlistbox.xml#richlistitem |
13cc80 | 22 3e 0a 20 20 20 20 3c 69 6d 70 6c 65 6d 65 6e 74 61 74 69 6f 6e 3e 0a 20 20 20 20 20 20 3c 70 | ">.....<implementation>.......<p |
13cca0 | 72 6f 70 65 72 74 79 20 6e 61 6d 65 3d 22 74 79 70 65 22 20 72 65 61 64 6f 6e 6c 79 3d 22 74 72 | roperty.name="type".readonly="tr |
13ccc0 | 75 65 22 3e 0a 20 20 20 20 20 20 20 20 3c 67 65 74 74 65 72 3e 0a 20 20 20 20 20 20 20 20 20 20 | ue">.........<getter>........... |
13cce0 | 72 65 74 75 72 6e 20 74 68 69 73 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 74 79 70 65 22 29 | return.this.getAttribute("type") |
13cd00 | 3b 0a 20 20 20 20 20 20 20 20 3c 2f 67 65 74 74 65 72 3e 0a 20 20 20 20 20 20 3c 2f 70 72 6f 70 | ;.........</getter>.......</prop |
13cd20 | 65 72 74 79 3e 0a 20 20 20 20 3c 2f 69 6d 70 6c 65 6d 65 6e 74 61 74 69 6f 6e 3e 0a 20 20 3c 2f | erty>.....</implementation>...</ |
13cd40 | 62 69 6e 64 69 6e 67 3e 0a 0a 20 20 3c 62 69 6e 64 69 6e 67 20 69 64 3d 22 68 61 6e 64 6c 65 72 | binding>....<binding.id="handler |
13cd60 | 22 20 65 78 74 65 6e 64 73 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 | ".extends="chrome://browser/cont |
13cd80 | 65 6e 74 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 68 61 6e 64 6c 65 72 73 2e 78 6d 6c 23 68 61 6e | ent/preferences/handlers.xml#han |
13cda0 | 64 6c 65 72 2d 62 61 73 65 22 3e 0a 20 20 20 20 3c 63 6f 6e 74 65 6e 74 3e 0a 20 20 20 20 20 20 | dler-base">.....<content>....... |
13cdc0 | 3c 78 75 6c 3a 68 62 6f 78 20 66 6c 65 78 3d 22 31 22 20 65 71 75 61 6c 73 69 7a 65 3d 22 61 6c | <xul:hbox.flex="1".equalsize="al |
13cde0 | 77 61 79 73 22 3e 0a 20 20 20 20 20 20 20 20 3c 78 75 6c 3a 68 62 6f 78 20 66 6c 65 78 3d 22 31 | ways">.........<xul:hbox.flex="1 |
13ce00 | 22 20 61 6c 69 67 6e 3d 22 63 65 6e 74 65 72 22 20 78 62 6c 3a 69 6e 68 65 72 69 74 73 3d 22 74 | ".align="center".xbl:inherits="t |
13ce20 | 6f 6f 6c 74 69 70 74 65 78 74 3d 74 79 70 65 44 65 73 63 72 69 70 74 69 6f 6e 22 3e 0a 20 20 20 | ooltiptext=typeDescription">.... |
13ce40 | 20 20 20 20 20 20 20 3c 78 75 6c 3a 69 6d 61 67 65 20 73 72 63 3d 22 6d 6f 7a 2d 69 63 6f 6e 3a | .......<xul:image.src="moz-icon: |
13ce60 | 2f 2f 67 6f 61 74 3f 73 69 7a 65 3d 31 36 22 20 63 6c 61 73 73 3d 22 74 79 70 65 49 63 6f 6e 22 | //goat?size=16".class="typeIcon" |
13ce80 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 78 62 6c 3a 69 6e 68 65 72 69 | ......................xbl:inheri |
13cea0 | 74 73 3d 22 73 72 63 3d 74 79 70 65 49 63 6f 6e 22 20 68 65 69 67 68 74 3d 22 31 36 22 20 77 69 | ts="src=typeIcon".height="16".wi |
13cec0 | 64 74 68 3d 22 31 36 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 78 75 6c 3a 6c 61 62 65 6c 20 | dth="16"/>...........<xul:label. |
13cee0 | 66 6c 65 78 3d 22 31 22 20 63 72 6f 70 3d 22 65 6e 64 22 20 78 62 6c 3a 69 6e 68 65 72 69 74 73 | flex="1".crop="end".xbl:inherits |
13cf00 | 3d 22 76 61 6c 75 65 3d 74 79 70 65 44 65 73 63 72 69 70 74 69 6f 6e 22 2f 3e 0a 20 20 20 20 20 | ="value=typeDescription"/>...... |
13cf20 | 20 20 20 3c 2f 78 75 6c 3a 68 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 3c 78 75 6c 3a 68 62 6f 78 | ...</xul:hbox>.........<xul:hbox |
13cf40 | 20 66 6c 65 78 3d 22 31 22 20 61 6c 69 67 6e 3d 22 63 65 6e 74 65 72 22 20 78 62 6c 3a 69 6e 68 | .flex="1".align="center".xbl:inh |
13cf60 | 65 72 69 74 73 3d 22 74 6f 6f 6c 74 69 70 74 65 78 74 3d 61 63 74 69 6f 6e 44 65 73 63 72 69 70 | erits="tooltiptext=actionDescrip |
13cf80 | 74 69 6f 6e 22 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 78 75 6c 3a 69 6d 61 67 65 20 78 62 6c 3a | tion">...........<xul:image.xbl: |
13cfa0 | 69 6e 68 65 72 69 74 73 3d 22 73 72 63 3d 61 63 74 69 6f 6e 49 63 6f 6e 22 20 68 65 69 67 68 74 | inherits="src=actionIcon".height |
13cfc0 | 3d 22 31 36 22 20 77 69 64 74 68 3d 22 31 36 22 20 63 6c 61 73 73 3d 22 61 63 74 69 6f 6e 49 63 | ="16".width="16".class="actionIc |
13cfe0 | 6f 6e 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 78 75 6c 3a 6c 61 62 65 6c 20 66 6c 65 78 3d | on"/>...........<xul:label.flex= |
13d000 | 22 31 22 20 63 72 6f 70 3d 22 65 6e 64 22 20 78 62 6c 3a 69 6e 68 65 72 69 74 73 3d 22 76 61 6c | "1".crop="end".xbl:inherits="val |
13d020 | 75 65 3d 61 63 74 69 6f 6e 44 65 73 63 72 69 70 74 69 6f 6e 22 2f 3e 0a 20 20 20 20 20 20 20 20 | ue=actionDescription"/>......... |
13d040 | 3c 2f 78 75 6c 3a 68 62 6f 78 3e 0a 20 20 20 20 20 20 3c 2f 78 75 6c 3a 68 62 6f 78 3e 0a 20 20 | </xul:hbox>.......</xul:hbox>... |
13d060 | 20 20 3c 2f 63 6f 6e 74 65 6e 74 3e 0a 20 20 3c 2f 62 69 6e 64 69 6e 67 3e 0a 0a 20 20 3c 62 69 | ..</content>...</binding>....<bi |
13d080 | 6e 64 69 6e 67 20 69 64 3d 22 68 61 6e 64 6c 65 72 2d 73 65 6c 65 63 74 65 64 22 20 65 78 74 65 | nding.id="handler-selected".exte |
13d0a0 | 6e 64 73 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 70 72 | nds="chrome://browser/content/pr |
13d0c0 | 65 66 65 72 65 6e 63 65 73 2f 68 61 6e 64 6c 65 72 73 2e 78 6d 6c 23 68 61 6e 64 6c 65 72 2d 62 | eferences/handlers.xml#handler-b |
13d0e0 | 61 73 65 22 3e 0a 20 20 20 20 3c 63 6f 6e 74 65 6e 74 3e 0a 20 20 20 20 20 20 3c 78 75 6c 3a 68 | ase">.....<content>.......<xul:h |
13d100 | 62 6f 78 20 66 6c 65 78 3d 22 31 22 20 65 71 75 61 6c 73 69 7a 65 3d 22 61 6c 77 61 79 73 22 3e | box.flex="1".equalsize="always"> |
13d120 | 0a 20 20 20 20 20 20 20 20 3c 78 75 6c 3a 68 62 6f 78 20 66 6c 65 78 3d 22 31 22 20 61 6c 69 67 | .........<xul:hbox.flex="1".alig |
13d140 | 6e 3d 22 63 65 6e 74 65 72 22 20 78 62 6c 3a 69 6e 68 65 72 69 74 73 3d 22 74 6f 6f 6c 74 69 70 | n="center".xbl:inherits="tooltip |
13d160 | 74 65 78 74 3d 74 79 70 65 44 65 73 63 72 69 70 74 69 6f 6e 22 3e 0a 20 20 20 20 20 20 20 20 20 | text=typeDescription">.......... |
13d180 | 20 3c 78 75 6c 3a 69 6d 61 67 65 20 73 72 63 3d 22 6d 6f 7a 2d 69 63 6f 6e 3a 2f 2f 67 6f 61 74 | .<xul:image.src="moz-icon://goat |
13d1a0 | 3f 73 69 7a 65 3d 31 36 22 20 63 6c 61 73 73 3d 22 74 79 70 65 49 63 6f 6e 22 0a 20 20 20 20 20 | ?size=16".class="typeIcon"...... |
13d1c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 78 62 6c 3a 69 6e 68 65 72 69 74 73 3d 22 73 72 | ................xbl:inherits="sr |
13d1e0 | 63 3d 74 79 70 65 49 63 6f 6e 22 20 68 65 69 67 68 74 3d 22 31 36 22 20 77 69 64 74 68 3d 22 31 | c=typeIcon".height="16".width="1 |
13d200 | 36 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 78 75 6c 3a 6c 61 62 65 6c 20 66 6c 65 78 3d 22 | 6"/>...........<xul:label.flex=" |
13d220 | 31 22 20 63 72 6f 70 3d 22 65 6e 64 22 20 78 62 6c 3a 69 6e 68 65 72 69 74 73 3d 22 76 61 6c 75 | 1".crop="end".xbl:inherits="valu |
13d240 | 65 3d 74 79 70 65 44 65 73 63 72 69 70 74 69 6f 6e 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 2f 78 | e=typeDescription"/>.........</x |
13d260 | 75 6c 3a 68 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 3c 78 75 6c 3a 68 62 6f 78 20 66 6c 65 78 3d | ul:hbox>.........<xul:hbox.flex= |
13d280 | 22 31 22 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 78 75 6c 3a 6d 65 6e 75 6c 69 73 74 20 63 6c 61 | "1">...........<xul:menulist.cla |
13d2a0 | 73 73 3d 22 61 63 74 69 6f 6e 73 4d 65 6e 75 22 20 66 6c 65 78 3d 22 31 22 20 63 72 6f 70 3d 22 | ss="actionsMenu".flex="1".crop=" |
13d2c0 | 65 6e 64 22 20 73 65 6c 65 63 74 65 64 49 6e 64 65 78 3d 22 31 22 0a 20 20 20 20 20 20 20 20 20 | end".selectedIndex="1".......... |
13d2e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 78 62 6c 3a 69 6e 68 65 72 69 74 73 3d 22 74 6f 6f | ...............xbl:inherits="too |
13d300 | 6c 74 69 70 74 65 78 74 3d 61 63 74 69 6f 6e 44 65 73 63 72 69 70 74 69 6f 6e 22 0a 20 20 20 20 | ltiptext=actionDescription"..... |
13d320 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 | ....................oncommand="g |
13d340 | 41 70 70 6c 69 63 61 74 69 6f 6e 73 50 61 6e 65 2e 6f 6e 53 65 6c 65 63 74 41 63 74 69 6f 6e 28 | ApplicationsPane.onSelectAction( |
13d360 | 65 76 65 6e 74 2e 6f 72 69 67 69 6e 61 6c 54 61 72 67 65 74 29 22 3e 0a 20 20 20 20 20 20 20 20 | event.originalTarget)">......... |
13d380 | 20 20 20 20 3c 78 75 6c 3a 6d 65 6e 75 70 6f 70 75 70 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c | ....<xul:menupopup/>...........< |
13d3a0 | 2f 78 75 6c 3a 6d 65 6e 75 6c 69 73 74 3e 0a 20 20 20 20 20 20 20 20 3c 2f 78 75 6c 3a 68 62 6f | /xul:menulist>.........</xul:hbo |
13d3c0 | 78 3e 0a 20 20 20 20 20 20 3c 2f 78 75 6c 3a 68 62 6f 78 3e 0a 20 20 20 20 3c 2f 63 6f 6e 74 65 | x>.......</xul:hbox>.....</conte |
13d3e0 | 6e 74 3e 0a 0a 20 20 20 20 3c 69 6d 70 6c 65 6d 65 6e 74 61 74 69 6f 6e 3e 0a 20 20 20 20 20 20 | nt>......<implementation>....... |
13d400 | 3c 63 6f 6e 73 74 72 75 63 74 6f 72 3e 0a 20 20 20 20 20 20 20 20 67 41 70 70 6c 69 63 61 74 69 | <constructor>.........gApplicati |
13d420 | 6f 6e 73 50 61 6e 65 2e 72 65 62 75 69 6c 64 41 63 74 69 6f 6e 73 4d 65 6e 75 28 29 3b 0a 20 20 | onsPane.rebuildActionsMenu();... |
13d440 | 20 20 20 20 3c 2f 63 6f 6e 73 74 72 75 63 74 6f 72 3e 0a 20 20 20 20 3c 2f 69 6d 70 6c 65 6d 65 | ....</constructor>.....</impleme |
13d460 | 6e 74 61 74 69 6f 6e 3e 0a 0a 20 20 3c 2f 62 69 6e 64 69 6e 67 3e 0a 0a 20 20 3c 62 69 6e 64 69 | ntation>....</binding>....<bindi |
13d480 | 6e 67 20 69 64 3d 22 6f 66 66 6c 69 6e 65 61 70 70 22 0a 09 20 20 20 65 78 74 65 6e 64 73 3d 22 | ng.id="offlineapp".....extends=" |
13d4a0 | 63 68 72 6f 6d 65 3a 2f 2f 67 6c 6f 62 61 6c 2f 63 6f 6e 74 65 6e 74 2f 62 69 6e 64 69 6e 67 73 | chrome://global/content/bindings |
13d4c0 | 2f 6c 69 73 74 62 6f 78 2e 78 6d 6c 23 6c 69 73 74 69 74 65 6d 22 3e 0a 20 20 20 20 3c 63 6f 6e | /listbox.xml#listitem">.....<con |
13d4e0 | 74 65 6e 74 3e 0a 20 20 20 20 20 20 3c 63 68 69 6c 64 72 65 6e 3e 0a 09 3c 78 75 6c 3a 6c 69 73 | tent>.......<children>..<xul:lis |
13d500 | 74 63 65 6c 6c 20 78 62 6c 3a 69 6e 68 65 72 69 74 73 3d 22 6c 61 62 65 6c 3d 68 6f 73 74 22 2f | tcell.xbl:inherits="label=host"/ |
13d520 | 3e 0a 09 3c 78 75 6c 3a 6c 69 73 74 63 65 6c 6c 20 78 62 6c 3a 69 6e 68 65 72 69 74 73 3d 22 6c | >..<xul:listcell.xbl:inherits="l |
13d540 | 61 62 65 6c 3d 75 73 61 67 65 22 2f 3e 0a 20 20 20 20 20 20 3c 2f 63 68 69 6c 64 72 65 6e 3e 0a | abel=usage"/>.......</children>. |
13d560 | 20 20 20 20 3c 2f 63 6f 6e 74 65 6e 74 3e 0a 20 20 3c 2f 62 69 6e 64 69 6e 67 3e 0a 0a 3c 2f 62 | ....</content>...</binding>..</b |
13d580 | 69 6e 64 69 6e 67 73 3e 0a 50 4b 03 04 14 00 00 00 00 00 f3 4b 18 3b 9e 05 a0 e6 01 09 00 00 01 | indings>.PK.........K.;......... |
13d5a0 | 09 00 00 28 00 00 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 72 65 66 65 72 65 6e 63 | ...(...content/browser/preferenc |
13d5c0 | 65 73 2f 68 61 6e 64 6c 65 72 73 2e 63 73 73 2f 2a 20 2a 2a 2a 2a 2a 20 42 45 47 49 4e 20 4c 49 | es/handlers.css/*.*****.BEGIN.LI |
13d5e0 | 43 45 4e 53 45 20 42 4c 4f 43 4b 20 2a 2a 2a 2a 2a 0a 20 2a 20 56 65 72 73 69 6f 6e 3a 20 4d 50 | CENSE.BLOCK.*****..*.Version:.MP |
13d600 | 4c 20 31 2e 31 2f 47 50 4c 20 32 2e 30 2f 4c 47 50 4c 20 32 2e 31 0a 20 2a 0a 20 2a 20 54 68 65 | L.1.1/GPL.2.0/LGPL.2.1..*..*.The |
13d620 | 20 63 6f 6e 74 65 6e 74 73 20 6f 66 20 74 68 69 73 20 66 69 6c 65 20 61 72 65 20 73 75 62 6a 65 | .contents.of.this.file.are.subje |
13d640 | 63 74 20 74 6f 20 74 68 65 20 4d 6f 7a 69 6c 6c 61 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 | ct.to.the.Mozilla.Public.License |
13d660 | 20 56 65 72 73 69 6f 6e 0a 20 2a 20 31 2e 31 20 28 74 68 65 20 22 4c 69 63 65 6e 73 65 22 29 3b | .Version..*.1.1.(the."License"); |
13d680 | 20 79 6f 75 20 6d 61 79 20 6e 6f 74 20 75 73 65 20 74 68 69 73 20 66 69 6c 65 20 65 78 63 65 70 | .you.may.not.use.this.file.excep |
13d6a0 | 74 20 69 6e 20 63 6f 6d 70 6c 69 61 6e 63 65 20 77 69 74 68 0a 20 2a 20 74 68 65 20 4c 69 63 65 | t.in.compliance.with..*.the.Lice |
13d6c0 | 6e 73 65 2e 20 59 6f 75 20 6d 61 79 20 6f 62 74 61 69 6e 20 61 20 63 6f 70 79 20 6f 66 20 74 68 | nse..You.may.obtain.a.copy.of.th |
13d6e0 | 65 20 4c 69 63 65 6e 73 65 20 61 74 0a 20 2a 20 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c | e.License.at..*.http://www.mozil |
13d700 | 6c 61 2e 6f 72 67 2f 4d 50 4c 2f 0a 20 2a 0a 20 2a 20 53 6f 66 74 77 61 72 65 20 64 69 73 74 72 | la.org/MPL/..*..*.Software.distr |
13d720 | 69 62 75 74 65 64 20 75 6e 64 65 72 20 74 68 65 20 4c 69 63 65 6e 73 65 20 69 73 20 64 69 73 74 | ibuted.under.the.License.is.dist |
13d740 | 72 69 62 75 74 65 64 20 6f 6e 20 61 6e 20 22 41 53 20 49 53 22 20 62 61 73 69 73 2c 0a 20 2a 20 | ributed.on.an."AS.IS".basis,..*. |
13d760 | 57 49 54 48 4f 55 54 20 57 41 52 52 41 4e 54 59 20 4f 46 20 41 4e 59 20 4b 49 4e 44 2c 20 65 69 | WITHOUT.WARRANTY.OF.ANY.KIND,.ei |
13d780 | 74 68 65 72 20 65 78 70 72 65 73 73 20 6f 72 20 69 6d 70 6c 69 65 64 2e 20 53 65 65 20 74 68 65 | ther.express.or.implied..See.the |
13d7a0 | 20 4c 69 63 65 6e 73 65 0a 20 2a 20 66 6f 72 20 74 68 65 20 73 70 65 63 69 66 69 63 20 6c 61 6e | .License..*.for.the.specific.lan |
13d7c0 | 67 75 61 67 65 20 67 6f 76 65 72 6e 69 6e 67 20 72 69 67 68 74 73 20 61 6e 64 20 6c 69 6d 69 74 | guage.governing.rights.and.limit |
13d7e0 | 61 74 69 6f 6e 73 20 75 6e 64 65 72 20 74 68 65 0a 20 2a 20 4c 69 63 65 6e 73 65 2e 0a 20 2a 0a | ations.under.the..*.License...*. |
13d800 | 20 2a 20 54 68 65 20 4f 72 69 67 69 6e 61 6c 20 43 6f 64 65 20 69 73 20 74 68 65 20 4d 6f 7a 69 | .*.The.Original.Code.is.the.Mozi |
13d820 | 6c 6c 61 20 62 72 6f 77 73 65 72 2e 0a 20 2a 0a 20 2a 20 54 68 65 20 49 6e 69 74 69 61 6c 20 44 | lla.browser...*..*.The.Initial.D |
13d840 | 65 76 65 6c 6f 70 65 72 20 6f 66 20 74 68 65 20 4f 72 69 67 69 6e 61 6c 20 43 6f 64 65 20 69 73 | eveloper.of.the.Original.Code.is |
13d860 | 20 4d 6f 7a 69 6c 6c 61 2e 0a 20 2a 20 50 6f 72 74 69 6f 6e 73 20 63 72 65 61 74 65 64 20 62 79 | .Mozilla...*.Portions.created.by |
13d880 | 20 74 68 65 20 49 6e 69 74 69 61 6c 20 44 65 76 65 6c 6f 70 65 72 20 61 72 65 20 43 6f 70 79 72 | .the.Initial.Developer.are.Copyr |
13d8a0 | 69 67 68 74 20 28 43 29 20 32 30 30 37 0a 20 2a 20 74 68 65 20 49 6e 69 74 69 61 6c 20 44 65 76 | ight.(C).2007..*.the.Initial.Dev |
13d8c0 | 65 6c 6f 70 65 72 2e 20 41 6c 6c 20 52 69 67 68 74 73 20 52 65 73 65 72 76 65 64 2e 0a 20 2a 0a | eloper..All.Rights.Reserved...*. |
13d8e0 | 20 2a 20 43 6f 6e 74 72 69 62 75 74 6f 72 28 73 29 3a 0a 20 2a 20 20 20 4d 79 6b 20 4d 65 6c 65 | .*.Contributor(s):..*...Myk.Mele |
13d900 | 7a 20 3c 6d 79 6b 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 3e 0a 20 2a 0a 20 2a 20 41 6c 74 65 72 6e | z.<myk@mozilla.org>..*..*.Altern |
13d920 | 61 74 69 76 65 6c 79 2c 20 74 68 65 20 63 6f 6e 74 65 6e 74 73 20 6f 66 20 74 68 69 73 20 66 69 | atively,.the.contents.of.this.fi |
13d940 | 6c 65 20 6d 61 79 20 62 65 20 75 73 65 64 20 75 6e 64 65 72 20 74 68 65 20 74 65 72 6d 73 20 6f | le.may.be.used.under.the.terms.o |
13d960 | 66 0a 20 2a 20 65 69 74 68 65 72 20 74 68 65 20 47 4e 55 20 47 65 6e 65 72 61 6c 20 50 75 62 6c | f..*.either.the.GNU.General.Publ |
13d980 | 69 63 20 4c 69 63 65 6e 73 65 20 56 65 72 73 69 6f 6e 20 32 20 6f 72 20 6c 61 74 65 72 20 28 74 | ic.License.Version.2.or.later.(t |
13d9a0 | 68 65 20 22 47 50 4c 22 29 2c 20 6f 72 0a 20 2a 20 74 68 65 20 47 4e 55 20 4c 65 73 73 65 72 20 | he."GPL"),.or..*.the.GNU.Lesser. |
13d9c0 | 47 65 6e 65 72 61 6c 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 20 56 65 72 73 69 6f 6e 20 32 | General.Public.License.Version.2 |
13d9e0 | 2e 31 20 6f 72 20 6c 61 74 65 72 20 28 74 68 65 20 22 4c 47 50 4c 22 29 2c 0a 20 2a 20 69 6e 20 | .1.or.later.(the."LGPL"),..*.in. |
13da00 | 77 68 69 63 68 20 63 61 73 65 20 74 68 65 20 70 72 6f 76 69 73 69 6f 6e 73 20 6f 66 20 74 68 65 | which.case.the.provisions.of.the |
13da20 | 20 47 50 4c 20 6f 72 20 74 68 65 20 4c 47 50 4c 20 61 72 65 20 61 70 70 6c 69 63 61 62 6c 65 20 | .GPL.or.the.LGPL.are.applicable. |
13da40 | 69 6e 73 74 65 61 64 0a 20 2a 20 6f 66 20 74 68 6f 73 65 20 61 62 6f 76 65 2e 20 49 66 20 79 6f | instead..*.of.those.above..If.yo |
13da60 | 75 20 77 69 73 68 20 74 6f 20 61 6c 6c 6f 77 20 75 73 65 20 6f 66 20 79 6f 75 72 20 76 65 72 73 | u.wish.to.allow.use.of.your.vers |
13da80 | 69 6f 6e 20 6f 66 20 74 68 69 73 20 66 69 6c 65 20 6f 6e 6c 79 0a 20 2a 20 75 6e 64 65 72 20 74 | ion.of.this.file.only..*.under.t |
13daa0 | 68 65 20 74 65 72 6d 73 20 6f 66 20 65 69 74 68 65 72 20 74 68 65 20 47 50 4c 20 6f 72 20 74 68 | he.terms.of.either.the.GPL.or.th |
13dac0 | 65 20 4c 47 50 4c 2c 20 61 6e 64 20 6e 6f 74 20 74 6f 20 61 6c 6c 6f 77 20 6f 74 68 65 72 73 20 | e.LGPL,.and.not.to.allow.others. |
13dae0 | 74 6f 0a 20 2a 20 75 73 65 20 79 6f 75 72 20 76 65 72 73 69 6f 6e 20 6f 66 20 74 68 69 73 20 66 | to..*.use.your.version.of.this.f |
13db00 | 69 6c 65 20 75 6e 64 65 72 20 74 68 65 20 74 65 72 6d 73 20 6f 66 20 74 68 65 20 4d 50 4c 2c 20 | ile.under.the.terms.of.the.MPL,. |
13db20 | 69 6e 64 69 63 61 74 65 20 79 6f 75 72 0a 20 2a 20 64 65 63 69 73 69 6f 6e 20 62 79 20 64 65 6c | indicate.your..*.decision.by.del |
13db40 | 65 74 69 6e 67 20 74 68 65 20 70 72 6f 76 69 73 69 6f 6e 73 20 61 62 6f 76 65 20 61 6e 64 20 72 | eting.the.provisions.above.and.r |
13db60 | 65 70 6c 61 63 65 20 74 68 65 6d 20 77 69 74 68 20 74 68 65 20 6e 6f 74 69 63 65 0a 20 2a 20 61 | eplace.them.with.the.notice..*.a |
13db80 | 6e 64 20 6f 74 68 65 72 20 70 72 6f 76 69 73 69 6f 6e 73 20 72 65 71 75 69 72 65 64 20 62 79 20 | nd.other.provisions.required.by. |
13dba0 | 74 68 65 20 47 50 4c 20 6f 72 20 74 68 65 20 4c 47 50 4c 2e 20 49 66 20 79 6f 75 20 64 6f 20 6e | the.GPL.or.the.LGPL..If.you.do.n |
13dbc0 | 6f 74 20 64 65 6c 65 74 65 0a 20 2a 20 74 68 65 20 70 72 6f 76 69 73 69 6f 6e 73 20 61 62 6f 76 | ot.delete..*.the.provisions.abov |
13dbe0 | 65 2c 20 61 20 72 65 63 69 70 69 65 6e 74 20 6d 61 79 20 75 73 65 20 79 6f 75 72 20 76 65 72 73 | e,.a.recipient.may.use.your.vers |
13dc00 | 69 6f 6e 20 6f 66 20 74 68 69 73 20 66 69 6c 65 20 75 6e 64 65 72 0a 20 2a 20 74 68 65 20 74 65 | ion.of.this.file.under..*.the.te |
13dc20 | 72 6d 73 20 6f 66 20 61 6e 79 20 6f 6e 65 20 6f 66 20 74 68 65 20 4d 50 4c 2c 20 74 68 65 20 47 | rms.of.any.one.of.the.MPL,.the.G |
13dc40 | 50 4c 20 6f 72 20 74 68 65 20 4c 47 50 4c 2e 0a 20 2a 0a 20 2a 20 2a 2a 2a 2a 2a 20 45 4e 44 20 | PL.or.the.LGPL...*..*.*****.END. |
13dc60 | 4c 49 43 45 4e 53 45 20 42 4c 4f 43 4b 20 2a 2a 2a 2a 2a 20 2a 2f 0a 0a 72 69 63 68 6c 69 73 74 | LICENSE.BLOCK.*****.*/..richlist |
13dc80 | 69 74 65 6d 20 7b 0a 20 20 2d 6d 6f 7a 2d 62 69 6e 64 69 6e 67 3a 20 75 72 6c 28 22 63 68 72 6f | item.{...-moz-binding:.url("chro |
13dca0 | 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 70 72 65 66 65 72 65 6e 63 65 73 | me://browser/content/preferences |
13dcc0 | 2f 68 61 6e 64 6c 65 72 73 2e 78 6d 6c 23 68 61 6e 64 6c 65 72 22 29 3b 0a 7d 0a 0a 72 69 63 68 | /handlers.xml#handler");.}..rich |
13dce0 | 6c 69 73 74 69 74 65 6d 5b 73 65 6c 65 63 74 65 64 3d 22 74 72 75 65 22 5d 20 7b 0a 20 20 2d 6d | listitem[selected="true"].{...-m |
13dd00 | 6f 7a 2d 62 69 6e 64 69 6e 67 3a 20 75 72 6c 28 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 | oz-binding:.url("chrome://browse |
13dd20 | 72 2f 63 6f 6e 74 65 6e 74 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 68 61 6e 64 6c 65 72 73 2e 78 | r/content/preferences/handlers.x |
13dd40 | 6d 6c 23 68 61 6e 64 6c 65 72 2d 73 65 6c 65 63 74 65 64 22 29 3b 0a 7d 0a 0a 2f 2a 2a 0a 20 2a | ml#handler-selected");.}../**..* |
13dd60 | 20 4d 61 6b 65 20 74 68 65 20 69 63 6f 6e 73 20 61 70 70 65 61 72 2e 0a 20 2a 20 4e 6f 74 65 3a | .Make.the.icons.appear...*.Note: |
13dd80 | 20 77 65 20 64 69 73 70 6c 61 79 20 74 68 65 20 69 63 6f 6e 20 62 6f 78 20 66 6f 72 20 65 76 65 | .we.display.the.icon.box.for.eve |
13dda0 | 72 79 20 69 74 65 6d 20 77 68 65 74 68 65 72 20 6f 72 20 6e 6f 74 20 69 74 20 68 61 73 20 61 6e | ry.item.whether.or.not.it.has.an |
13ddc0 | 20 69 63 6f 6e 0a 20 2a 20 73 6f 20 74 68 65 20 6c 61 62 65 6c 73 20 6f 66 20 61 6c 6c 20 74 68 | .icon..*.so.the.labels.of.all.th |
13dde0 | 65 20 69 74 65 6d 73 20 61 6c 69 67 6e 20 76 65 72 74 69 63 61 6c 6c 79 2e 0a 20 2a 2f 0a 2e 61 | e.items.align.vertically...*/..a |
13de00 | 63 74 69 6f 6e 73 4d 65 6e 75 20 3e 20 6d 65 6e 75 70 6f 70 75 70 20 3e 20 6d 65 6e 75 69 74 65 | ctionsMenu.>.menupopup.>.menuite |
13de20 | 6d 20 3e 20 2e 6d 65 6e 75 2d 69 63 6f 6e 69 63 2d 6c 65 66 74 20 7b 0a 20 20 64 69 73 70 6c 61 | m.>..menu-iconic-left.{...displa |
13de40 | 79 3a 20 2d 6d 6f 7a 2d 62 6f 78 3b 0a 20 20 6d 69 6e 2d 77 69 64 74 68 3a 20 31 36 70 78 3b 0a | y:.-moz-box;...min-width:.16px;. |
13de60 | 7d 0a 0a 6c 69 73 74 69 74 65 6d 2e 6f 66 66 6c 69 6e 65 61 70 70 20 7b 0a 20 20 2d 6d 6f 7a 2d | }..listitem.offlineapp.{...-moz- |
13de80 | 62 69 6e 64 69 6e 67 3a 20 75 72 6c 28 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 | binding:.url("chrome://browser/c |
13dea0 | 6f 6e 74 65 6e 74 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 68 61 6e 64 6c 65 72 73 2e 78 6d 6c 23 | ontent/preferences/handlers.xml# |
13dec0 | 6f 66 66 6c 69 6e 65 61 70 70 22 29 3b 0a 7d 0a 50 4b 03 04 14 00 00 00 00 00 f3 4b 18 3b 6b 8f | offlineapp");.}.PK.........K.;k. |
13dee0 | a9 8b 8b 10 00 00 8b 10 00 00 29 00 00 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 72 | ..........)...content/browser/pr |
13df00 | 65 66 65 72 65 6e 63 65 73 2f 6c 61 6e 67 75 61 67 65 73 2e 78 75 6c 3c 3f 78 6d 6c 20 76 65 72 | eferences/languages.xul<?xml.ver |
13df20 | 73 69 6f 6e 3d 22 31 2e 30 22 3f 3e 0a 0a 0a 3c 21 44 4f 43 54 59 50 45 20 70 72 65 66 77 69 6e | sion="1.0"?>...<!DOCTYPE.prefwin |
13df40 | 64 6f 77 20 53 59 53 54 45 4d 20 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 6c 6f 63 | dow.SYSTEM."chrome://browser/loc |
13df60 | 61 6c 65 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 6c 61 6e 67 75 61 67 65 73 2e 64 74 64 22 3e 0a | ale/preferences/languages.dtd">. |
13df80 | 0a 3c 3f 78 6d 6c 2d 73 74 79 6c 65 73 68 65 65 74 20 68 72 65 66 3d 22 63 68 72 6f 6d 65 3a 2f | .<?xml-stylesheet.href="chrome:/ |
13dfa0 | 2f 67 6c 6f 62 61 6c 2f 73 6b 69 6e 2f 22 3f 3e 0a 0a 3c 70 72 65 66 77 69 6e 64 6f 77 20 69 64 | /global/skin/"?>..<prefwindow.id |
13dfc0 | 3d 22 4c 61 6e 67 75 61 67 65 73 44 69 61 6c 6f 67 22 20 74 79 70 65 3d 22 63 68 69 6c 64 22 0a | ="LanguagesDialog".type="child". |
13dfe0 | 20 20 20 20 20 20 20 20 20 20 20 20 78 6d 6c 6e 73 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f | ............xmlns="http://www.mo |
13e000 | 7a 69 6c 6c 61 2e 6f 72 67 2f 6b 65 79 6d 61 73 74 65 72 2f 67 61 74 65 6b 65 65 70 65 72 2f 74 | zilla.org/keymaster/gatekeeper/t |
13e020 | 68 65 72 65 2e 69 73 2e 6f 6e 6c 79 2e 78 75 6c 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 69 | here.is.only.xul".............ti |
13e040 | 74 6c 65 3d 22 26 6c 61 6e 67 75 61 67 65 73 2e 63 75 73 74 6f 6d 69 7a 65 2e 48 65 61 64 65 72 | tle="&languages.customize.Header |
13e060 | 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 64 6c 67 62 75 74 74 6f 6e 73 3d 22 61 63 63 65 70 | ;".............dlgbuttons="accep |
13e080 | 74 2c 63 61 6e 63 65 6c 2c 68 65 6c 70 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 64 69 61 | t,cancel,help".............ondia |
13e0a0 | 6c 6f 67 68 65 6c 70 3d 22 6f 70 65 6e 50 72 65 66 73 48 65 6c 70 28 29 22 0a 20 20 20 20 20 20 | loghelp="openPrefsHelp()"....... |
13e0c0 | 20 20 20 20 20 20 73 74 79 6c 65 3d 22 77 69 64 74 68 3a 20 26 77 69 6e 64 6f 77 2e 77 69 64 74 | ......style="width:.&window.widt |
13e0e0 | 68 3b 3b 22 3e 0a 0a 20 20 3c 73 63 72 69 70 74 20 74 79 70 65 3d 22 61 70 70 6c 69 63 61 74 69 | h;;">....<script.type="applicati |
13e100 | 6f 6e 2f 6a 61 76 61 73 63 72 69 70 74 22 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f | on/javascript".src="chrome://bro |
13e120 | 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 75 74 69 6c 69 74 79 4f 76 65 72 6c 61 79 2e 6a 73 22 2f | wser/content/utilityOverlay.js"/ |
13e140 | 3e 0a 0a 20 20 3c 70 72 65 66 70 61 6e 65 20 69 64 3d 22 4c 61 6e 67 75 61 67 65 73 44 69 61 6c | >....<prefpane.id="LanguagesDial |
13e160 | 6f 67 50 61 6e 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 70 61 6e 65 6c 6f 61 64 3d 22 | ogPane".............onpaneload=" |
13e180 | 67 4c 61 6e 67 75 61 67 65 73 44 69 61 6c 6f 67 2e 69 6e 69 74 28 29 3b 22 0a 20 20 20 20 20 20 | gLanguagesDialog.init();"....... |
13e1a0 | 20 20 20 20 20 20 68 65 6c 70 54 6f 70 69 63 3d 22 70 72 65 66 73 2d 6c 61 6e 67 75 61 67 65 73 | ......helpTopic="prefs-languages |
13e1c0 | 22 3e 0a 0a 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 73 3e 0a 20 20 20 20 20 20 3c 70 72 65 | ">......<preferences>.......<pre |
13e1e0 | 66 65 72 65 6e 63 65 20 69 64 3d 22 69 6e 74 6c 2e 61 63 63 65 70 74 5f 6c 61 6e 67 75 61 67 65 | ference.id="intl.accept_language |
13e200 | 73 22 20 6e 61 6d 65 3d 22 69 6e 74 6c 2e 61 63 63 65 70 74 5f 6c 61 6e 67 75 61 67 65 73 22 20 | s".name="intl.accept_languages". |
13e220 | 74 79 70 65 3d 22 77 73 74 72 69 6e 67 22 2f 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e | type="wstring"/>.......<preferen |
13e240 | 63 65 20 69 64 3d 22 70 72 65 66 2e 62 72 6f 77 73 65 72 2e 6c 61 6e 67 75 61 67 65 2e 64 69 73 | ce.id="pref.browser.language.dis |
13e260 | 61 62 6c 65 5f 62 75 74 74 6f 6e 2e 75 70 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | able_button.up"................. |
13e280 | 20 20 6e 61 6d 65 3d 22 70 72 65 66 2e 62 72 6f 77 73 65 72 2e 6c 61 6e 67 75 61 67 65 2e 64 69 | ..name="pref.browser.language.di |
13e2a0 | 73 61 62 6c 65 5f 62 75 74 74 6f 6e 2e 75 70 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | sable_button.up"................ |
13e2c0 | 20 20 20 74 79 70 65 3d 22 62 6f 6f 6c 22 2f 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e | ...type="bool"/>.......<preferen |
13e2e0 | 63 65 20 69 64 3d 22 70 72 65 66 2e 62 72 6f 77 73 65 72 2e 6c 61 6e 67 75 61 67 65 2e 64 69 73 | ce.id="pref.browser.language.dis |
13e300 | 61 62 6c 65 5f 62 75 74 74 6f 6e 2e 64 6f 77 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | able_button.down"............... |
13e320 | 20 20 20 20 6e 61 6d 65 3d 22 70 72 65 66 2e 62 72 6f 77 73 65 72 2e 6c 61 6e 67 75 61 67 65 2e | ....name="pref.browser.language. |
13e340 | 64 69 73 61 62 6c 65 5f 62 75 74 74 6f 6e 2e 64 6f 77 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 | disable_button.down"............ |
13e360 | 20 20 20 20 20 20 20 74 79 70 65 3d 22 62 6f 6f 6c 22 2f 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 | .......type="bool"/>.......<pref |
13e380 | 65 72 65 6e 63 65 20 69 64 3d 22 70 72 65 66 2e 62 72 6f 77 73 65 72 2e 6c 61 6e 67 75 61 67 65 | erence.id="pref.browser.language |
13e3a0 | 2e 64 69 73 61 62 6c 65 5f 62 75 74 74 6f 6e 2e 72 65 6d 6f 76 65 22 0a 20 20 20 20 20 20 20 20 | .disable_button.remove"......... |
13e3c0 | 20 20 20 20 20 20 20 20 20 20 6e 61 6d 65 3d 22 70 72 65 66 2e 62 72 6f 77 73 65 72 2e 6c 61 6e | ..........name="pref.browser.lan |
13e3e0 | 67 75 61 67 65 2e 64 69 73 61 62 6c 65 5f 62 75 74 74 6f 6e 2e 72 65 6d 6f 76 65 22 0a 20 20 20 | guage.disable_button.remove".... |
13e400 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 79 70 65 3d 22 62 6f 6f 6c 22 2f 3e 0a 20 20 20 | ...............type="bool"/>.... |
13e420 | 20 3c 2f 70 72 65 66 65 72 65 6e 63 65 73 3e 0a 0a 20 20 20 20 3c 73 63 72 69 70 74 20 74 79 70 | .</preferences>......<script.typ |
13e440 | 65 3d 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f 78 2d 6a 61 76 61 73 63 72 69 70 74 22 20 73 72 63 | e="application/x-javascript".src |
13e460 | 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 70 72 65 66 65 | ="chrome://browser/content/prefe |
13e480 | 72 65 6e 63 65 73 2f 6c 61 6e 67 75 61 67 65 73 2e 6a 73 22 2f 3e 0a 0a 20 20 20 20 3c 73 74 72 | rences/languages.js"/>......<str |
13e4a0 | 69 6e 67 62 75 6e 64 6c 65 73 65 74 20 69 64 3d 22 6c 61 6e 67 75 61 67 65 53 65 74 22 3e 0a 20 | ingbundleset.id="languageSet">.. |
13e4c0 | 20 20 20 20 20 3c 73 74 72 69 6e 67 62 75 6e 64 6c 65 20 69 64 3d 22 62 75 6e 64 6c 65 52 65 67 | .....<stringbundle.id="bundleReg |
13e4e0 | 69 6f 6e 73 22 20 20 20 20 20 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 67 6c 6f 62 61 6c 2f | ions"......src="chrome://global/ |
13e500 | 6c 6f 63 61 6c 65 2f 72 65 67 69 6f 6e 4e 61 6d 65 73 2e 70 72 6f 70 65 72 74 69 65 73 22 2f 3e | locale/regionNames.properties"/> |
13e520 | 0a 20 20 20 20 20 20 3c 73 74 72 69 6e 67 62 75 6e 64 6c 65 20 69 64 3d 22 62 75 6e 64 6c 65 4c | .......<stringbundle.id="bundleL |
13e540 | 61 6e 67 75 61 67 65 73 22 20 20 20 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 67 6c 6f 62 61 | anguages"....src="chrome://globa |
13e560 | 6c 2f 6c 6f 63 61 6c 65 2f 6c 61 6e 67 75 61 67 65 4e 61 6d 65 73 2e 70 72 6f 70 65 72 74 69 65 | l/locale/languageNames.propertie |
13e580 | 73 22 2f 3e 0a 20 20 20 20 20 20 3c 73 74 72 69 6e 67 62 75 6e 64 6c 65 20 69 64 3d 22 62 75 6e | s"/>.......<stringbundle.id="bun |
13e5a0 | 64 6c 65 50 72 65 66 65 72 65 6e 63 65 73 22 20 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 | dlePreferences"..src="chrome://b |
13e5c0 | 72 6f 77 73 65 72 2f 6c 6f 63 61 6c 65 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 70 72 65 66 65 72 | rowser/locale/preferences/prefer |
13e5e0 | 65 6e 63 65 73 2e 70 72 6f 70 65 72 74 69 65 73 22 2f 3e 0a 20 20 20 20 20 20 3c 73 74 72 69 6e | ences.properties"/>.......<strin |
13e600 | 67 62 75 6e 64 6c 65 20 69 64 3d 22 62 75 6e 64 6c 65 41 63 63 65 70 74 65 64 22 20 20 20 20 20 | gbundle.id="bundleAccepted"..... |
13e620 | 73 72 63 3d 22 72 65 73 6f 75 72 63 65 3a 2f 2f 67 72 65 2f 72 65 73 2f 6c 61 6e 67 75 61 67 65 | src="resource://gre/res/language |
13e640 | 2e 70 72 6f 70 65 72 74 69 65 73 22 2f 3e 0a 20 20 20 20 3c 2f 73 74 72 69 6e 67 62 75 6e 64 6c | .properties"/>.....</stringbundl |
13e660 | 65 73 65 74 3e 0a 0a 20 20 20 20 3c 64 65 73 63 72 69 70 74 69 6f 6e 3e 26 6c 61 6e 67 75 61 67 | eset>......<description>&languag |
13e680 | 65 73 2e 63 75 73 74 6f 6d 69 7a 65 2e 70 72 65 66 4c 61 6e 67 44 65 73 63 72 69 70 74 3b 3c 2f | es.customize.prefLangDescript;</ |
13e6a0 | 64 65 73 63 72 69 70 74 69 6f 6e 3e 0a 20 20 20 20 3c 6c 61 62 65 6c 3e 26 6c 61 6e 67 75 61 67 | description>.....<label>&languag |
13e6c0 | 65 73 2e 63 75 73 74 6f 6d 69 7a 65 2e 61 63 74 69 76 65 2e 6c 61 62 65 6c 3b 3c 2f 6c 61 62 65 | es.customize.active.label;</labe |
13e6e0 | 6c 3e 0a 20 20 20 20 3c 67 72 69 64 20 66 6c 65 78 3d 22 31 22 3e 0a 20 20 20 20 20 20 3c 63 6f | l>.....<grid.flex="1">.......<co |
13e700 | 6c 75 6d 6e 73 3e 0a 20 20 20 20 20 20 20 20 3c 63 6f 6c 75 6d 6e 20 66 6c 65 78 3d 22 31 22 2f | lumns>.........<column.flex="1"/ |
13e720 | 3e 0a 20 20 20 20 20 20 20 20 3c 63 6f 6c 75 6d 6e 2f 3e 0a 20 20 20 20 20 20 3c 2f 63 6f 6c 75 | >.........<column/>.......</colu |
13e740 | 6d 6e 73 3e 0a 20 20 20 20 20 20 3c 72 6f 77 73 3e 0a 20 20 20 20 20 20 20 20 3c 72 6f 77 20 66 | mns>.......<rows>.........<row.f |
13e760 | 6c 65 78 3d 22 31 22 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 6c 69 73 74 62 6f 78 20 69 64 3d 22 | lex="1">...........<listbox.id=" |
13e780 | 61 63 74 69 76 65 4c 61 6e 67 75 61 67 65 73 22 20 66 6c 65 78 3d 22 31 22 20 72 6f 77 73 3d 22 | activeLanguages".flex="1".rows=" |
13e7a0 | 36 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 65 6c 74 79 70 65 3d 22 | 6".....................seltype=" |
13e7c0 | 6d 75 6c 74 69 70 6c 65 22 20 6f 6e 73 65 6c 65 63 74 3d 22 67 4c 61 6e 67 75 61 67 65 73 44 69 | multiple".onselect="gLanguagesDi |
13e7e0 | 61 6c 6f 67 2e 6f 6e 4c 61 6e 67 75 61 67 65 53 65 6c 65 63 74 28 29 3b 22 0a 20 20 20 20 20 20 | alog.onLanguageSelect();"....... |
13e800 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 65 66 65 72 65 6e 63 65 3d 22 69 6e 74 6c 2e 61 | ..............preference="intl.a |
13e820 | 63 63 65 70 74 5f 6c 61 6e 67 75 61 67 65 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ccept_languages"................ |
13e840 | 20 20 20 20 20 6f 6e 73 79 6e 63 66 72 6f 6d 70 72 65 66 65 72 65 6e 63 65 3d 22 72 65 74 75 72 | .....onsyncfrompreference="retur |
13e860 | 6e 20 67 4c 61 6e 67 75 61 67 65 73 44 69 61 6c 6f 67 2e 72 65 61 64 41 63 63 65 70 74 4c 61 6e | n.gLanguagesDialog.readAcceptLan |
13e880 | 67 75 61 67 65 73 28 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f | guages();".....................o |
13e8a0 | 6e 73 79 6e 63 74 6f 70 72 65 66 65 72 65 6e 63 65 3d 22 72 65 74 75 72 6e 20 67 4c 61 6e 67 75 | nsynctopreference="return.gLangu |
13e8c0 | 61 67 65 73 44 69 61 6c 6f 67 2e 77 72 69 74 65 41 63 63 65 70 74 4c 61 6e 67 75 61 67 65 73 28 | agesDialog.writeAcceptLanguages( |
13e8e0 | 29 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 76 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 20 | );"/>...........<vbox>.......... |
13e900 | 20 20 20 3c 62 75 74 74 6f 6e 20 69 64 3d 22 75 70 22 20 63 6c 61 73 73 3d 22 75 70 22 20 6f 6e | ...<button.id="up".class="up".on |
13e920 | 63 6f 6d 6d 61 6e 64 3d 22 67 4c 61 6e 67 75 61 67 65 73 44 69 61 6c 6f 67 2e 6d 6f 76 65 55 70 | command="gLanguagesDialog.moveUp |
13e940 | 28 29 3b 22 20 64 69 73 61 62 6c 65 64 3d 22 74 72 75 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 | ();".disabled="true"............ |
13e960 | 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 6c 61 6e 67 75 61 67 65 73 2e 63 75 73 74 6f | .........label="&languages.custo |
13e980 | 6d 69 7a 65 2e 6d 6f 76 65 55 70 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 | mize.moveUp.label;"............. |
13e9a0 | 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 6c 61 6e 67 75 61 67 65 73 2e 63 75 | ........accesskey="&languages.cu |
13e9c0 | 73 74 6f 6d 69 7a 65 2e 6d 6f 76 65 55 70 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 | stomize.moveUp.accesskey;"...... |
13e9e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 65 66 65 72 65 6e 63 65 3d 22 70 72 65 66 2e | ...............preference="pref. |
13ea00 | 62 72 6f 77 73 65 72 2e 6c 61 6e 67 75 61 67 65 2e 64 69 73 61 62 6c 65 5f 62 75 74 74 6f 6e 2e | browser.language.disable_button. |
13ea20 | 75 70 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 62 75 74 74 6f 6e 20 69 64 3d 22 64 6f | up"/>.............<button.id="do |
13ea40 | 77 6e 22 20 63 6c 61 73 73 3d 22 64 6f 77 6e 22 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 4c 61 6e | wn".class="down".oncommand="gLan |
13ea60 | 67 75 61 67 65 73 44 69 61 6c 6f 67 2e 6d 6f 76 65 44 6f 77 6e 28 29 3b 22 20 64 69 73 61 62 6c | guagesDialog.moveDown();".disabl |
13ea80 | 65 64 3d 22 74 72 75 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 | ed="true".....................la |
13eaa0 | 62 65 6c 3d 22 26 6c 61 6e 67 75 61 67 65 73 2e 63 75 73 74 6f 6d 69 7a 65 2e 6d 6f 76 65 44 6f | bel="&languages.customize.moveDo |
13eac0 | 77 6e 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 | wn.label;".....................a |
13eae0 | 63 63 65 73 73 6b 65 79 3d 22 26 6c 61 6e 67 75 61 67 65 73 2e 63 75 73 74 6f 6d 69 7a 65 2e 6d | ccesskey="&languages.customize.m |
13eb00 | 6f 76 65 44 6f 77 6e 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 | oveDown.accesskey;"............. |
13eb20 | 20 20 20 20 20 20 20 20 70 72 65 66 65 72 65 6e 63 65 3d 22 70 72 65 66 2e 62 72 6f 77 73 65 72 | ........preference="pref.browser |
13eb40 | 2e 6c 61 6e 67 75 61 67 65 2e 64 69 73 61 62 6c 65 5f 62 75 74 74 6f 6e 2e 64 6f 77 6e 22 2f 3e | .language.disable_button.down"/> |
13eb60 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 62 75 74 74 6f 6e 20 69 64 3d 22 72 65 6d 6f 76 65 22 | .............<button.id="remove" |
13eb80 | 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 4c 61 6e 67 75 61 67 65 73 44 69 61 6c 6f 67 2e 72 65 6d | .oncommand="gLanguagesDialog.rem |
13eba0 | 6f 76 65 4c 61 6e 67 75 61 67 65 28 29 3b 22 20 64 69 73 61 62 6c 65 64 3d 22 74 72 75 65 22 0a | oveLanguage();".disabled="true". |
13ebc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 6c 61 6e 67 | ....................label="&lang |
13ebe0 | 75 61 67 65 73 2e 63 75 73 74 6f 6d 69 7a 65 2e 64 65 6c 65 74 65 42 75 74 74 6f 6e 2e 6c 61 62 | uages.customize.deleteButton.lab |
13ec00 | 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b | el;".....................accessk |
13ec20 | 65 79 3d 22 26 6c 61 6e 67 75 61 67 65 73 2e 63 75 73 74 6f 6d 69 7a 65 2e 64 65 6c 65 74 65 42 | ey="&languages.customize.deleteB |
13ec40 | 75 74 74 6f 6e 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | utton.accesskey;"............... |
13ec60 | 20 20 20 20 20 20 70 72 65 66 65 72 65 6e 63 65 3d 22 70 72 65 66 2e 62 72 6f 77 73 65 72 2e 6c | ......preference="pref.browser.l |
13ec80 | 61 6e 67 75 61 67 65 2e 64 69 73 61 62 6c 65 5f 62 75 74 74 6f 6e 2e 72 65 6d 6f 76 65 22 2f 3e | anguage.disable_button.remove"/> |
13eca0 | 0a 20 20 20 20 20 20 20 20 20 20 3c 2f 76 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 3c 2f 72 6f 77 | ...........</vbox>.........</row |
13ecc0 | 3e 0a 20 20 20 20 20 20 20 20 3c 72 6f 77 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 73 65 70 61 72 | >.........<row>...........<separ |
13ece0 | 61 74 6f 72 20 63 6c 61 73 73 3d 22 74 68 69 6e 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 2f 72 6f | ator.class="thin"/>.........</ro |
13ed00 | 77 3e 0a 20 20 20 20 20 20 20 20 3c 72 6f 77 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 | w>.........<row>...........<menu |
13ed20 | 6c 69 73 74 20 69 64 3d 22 61 76 61 69 6c 61 62 6c 65 4c 61 6e 67 75 61 67 65 73 22 20 6f 6e 63 | list.id="availableLanguages".onc |
13ed40 | 6f 6d 6d 61 6e 64 3d 22 67 4c 61 6e 67 75 61 67 65 73 44 69 61 6c 6f 67 2e 6f 6e 41 76 61 69 6c | ommand="gLanguagesDialog.onAvail |
13ed60 | 61 62 6c 65 4c 61 6e 67 75 61 67 65 53 65 6c 65 63 74 28 29 3b 22 0a 20 20 20 20 20 20 20 20 20 | ableLanguageSelect();".......... |
13ed80 | 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 6c 61 6e 67 75 61 67 65 73 2e 63 75 73 | ...........label="&languages.cus |
13eda0 | 74 6f 6d 69 7a 65 2e 73 65 6c 65 63 74 4c 61 6e 67 75 61 67 65 2e 6c 61 62 65 6c 3b 22 0a 20 20 | tomize.selectLanguage.label;"... |
13edc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 32 3d 22 26 6c 61 6e 67 75 | ..................label2="&langu |
13ede0 | 61 67 65 73 2e 63 75 73 74 6f 6d 69 7a 65 2e 73 65 6c 65 63 74 4c 61 6e 67 75 61 67 65 2e 6c 61 | ages.customize.selectLanguage.la |
13ee00 | 62 65 6c 3b 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 70 6f 70 75 70 20 69 64 | bel;">.............<menupopup.id |
13ee20 | 3d 22 61 76 61 69 6c 61 62 6c 65 4c 61 6e 67 75 61 67 65 73 50 6f 70 75 70 22 2f 3e 0a 20 20 20 | ="availableLanguagesPopup"/>.... |
13ee40 | 20 20 20 20 20 20 20 3c 2f 6d 65 6e 75 6c 69 73 74 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 62 75 | .......</menulist>...........<bu |
13ee60 | 74 74 6f 6e 20 69 64 3d 22 61 64 64 42 75 74 74 6f 6e 22 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 | tton.id="addButton".oncommand="g |
13ee80 | 4c 61 6e 67 75 61 67 65 73 44 69 61 6c 6f 67 2e 61 64 64 4c 61 6e 67 75 61 67 65 28 29 3b 22 20 | LanguagesDialog.addLanguage();". |
13eea0 | 64 69 73 61 62 6c 65 64 3d 22 74 72 75 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | disabled="true"................. |
13eec0 | 20 20 6c 61 62 65 6c 3d 22 26 6c 61 6e 67 75 61 67 65 73 2e 63 75 73 74 6f 6d 69 7a 65 2e 61 64 | ..label="&languages.customize.ad |
13eee0 | 64 42 75 74 74 6f 6e 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | dButton.label;"................. |
13ef00 | 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 6c 61 6e 67 75 61 67 65 73 2e 63 75 73 74 6f 6d 69 7a | ..accesskey="&languages.customiz |
13ef20 | 65 2e 61 64 64 42 75 74 74 6f 6e 2e 61 63 63 65 73 73 6b 65 79 3b 22 2f 3e 0a 20 20 20 20 20 20 | e.addButton.accesskey;"/>....... |
13ef40 | 20 20 3c 2f 72 6f 77 3e 0a 20 20 20 20 20 20 3c 2f 72 6f 77 73 3e 0a 20 20 20 20 3c 2f 67 72 69 | ..</row>.......</rows>.....</gri |
13ef60 | 64 3e 0a 20 20 20 20 3c 73 65 70 61 72 61 74 6f 72 2f 3e 0a 20 20 20 20 3c 73 65 70 61 72 61 74 | d>.....<separator/>.....<separat |
13ef80 | 6f 72 2f 3e 0a 20 20 3c 2f 70 72 65 66 70 61 6e 65 3e 0a 3c 2f 70 72 65 66 77 69 6e 64 6f 77 3e | or/>...</prefpane>.</prefwindow> |
13efa0 | 0a 0a 50 4b 03 04 14 00 00 00 00 00 f3 4b 18 3b ea c9 40 69 b1 26 00 00 b1 26 00 00 28 00 00 00 | ..PK.........K.;..@i.&...&..(... |
13efc0 | 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 6c 61 6e 67 | content/browser/preferences/lang |
13efe0 | 75 61 67 65 73 2e 6a 73 2f 2f 40 6c 69 6e 65 20 34 30 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 | uages.js//@line.40."/builds/moz2 |
13f000 | 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 | _slave/linux_build/build/browser |
13f020 | 2f 63 6f 6d 70 6f 6e 65 6e 74 73 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 6c 61 6e 67 75 61 67 65 | /components/preferences/language |
13f040 | 73 2e 6a 73 22 0a 0a 76 61 72 20 67 4c 61 6e 67 75 61 67 65 73 44 69 61 6c 6f 67 20 3d 20 7b 0a | s.js"..var.gLanguagesDialog.=.{. |
13f060 | 0a 20 20 5f 61 76 61 69 6c 61 62 6c 65 4c 61 6e 67 75 61 67 65 73 4c 69 73 74 20 3a 20 5b 5d 2c | ..._availableLanguagesList.:.[], |
13f080 | 0a 20 20 5f 61 63 63 65 70 74 4c 61 6e 67 75 61 67 65 73 20 20 20 20 20 20 20 20 3a 20 7b 20 7d | ..._acceptLanguages........:.{.} |
13f0a0 | 2c 0a 20 20 0a 20 20 5f 73 65 6c 65 63 74 65 64 49 74 65 6d 49 44 20 20 20 20 20 20 20 20 20 3a | ,......_selectedItemID.........: |
13f0c0 | 20 6e 75 6c 6c 2c 0a 20 20 0a 20 20 69 6e 69 74 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 | .null,......init:.function.()... |
13f0e0 | 7b 0a 20 20 20 20 69 66 20 28 21 74 68 69 73 2e 5f 61 76 61 69 6c 61 62 6c 65 4c 61 6e 67 75 61 | {.....if.(!this._availableLangua |
13f100 | 67 65 73 4c 69 73 74 2e 6c 65 6e 67 74 68 29 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 6c 6f 61 64 | gesList.length).......this._load |
13f120 | 41 76 61 69 6c 61 62 6c 65 4c 61 6e 67 75 61 67 65 73 28 29 3b 0a 20 20 7d 2c 0a 20 20 0a 20 20 | AvailableLanguages();...},...... |
13f140 | 67 65 74 20 5f 61 63 74 69 76 65 4c 61 6e 67 75 61 67 65 73 28 29 0a 20 20 7b 0a 20 20 20 20 72 | get._activeLanguages()...{.....r |
13f160 | 65 74 75 72 6e 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 61 | eturn.document.getElementById("a |
13f180 | 63 74 69 76 65 4c 61 6e 67 75 61 67 65 73 22 29 3b 0a 20 20 7d 2c 0a 20 20 0a 20 20 67 65 74 20 | ctiveLanguages");...},......get. |
13f1a0 | 5f 61 76 61 69 6c 61 62 6c 65 4c 61 6e 67 75 61 67 65 73 28 29 0a 20 20 7b 0a 20 20 20 20 72 65 | _availableLanguages()...{.....re |
13f1c0 | 74 75 72 6e 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 61 76 | turn.document.getElementById("av |
13f1e0 | 61 69 6c 61 62 6c 65 4c 61 6e 67 75 61 67 65 73 22 29 3b 0a 20 20 7d 2c 0a 20 20 0a 20 20 5f 6c | ailableLanguages");...},......_l |
13f200 | 6f 61 64 41 76 61 69 6c 61 62 6c 65 4c 61 6e 67 75 61 67 65 73 3a 20 66 75 6e 63 74 69 6f 6e 20 | oadAvailableLanguages:.function. |
13f220 | 28 29 0a 20 20 7b 0a 20 20 20 20 2f 2f 20 54 68 69 73 20 69 73 20 61 20 70 61 72 73 65 72 20 66 | ()...{.....//.This.is.a.parser.f |
13f240 | 6f 72 3a 20 72 65 73 6f 75 72 63 65 3a 2f 2f 67 72 65 2f 72 65 73 2f 6c 61 6e 67 75 61 67 65 2e | or:.resource://gre/res/language. |
13f260 | 70 72 6f 70 65 72 74 69 65 73 0a 20 20 20 20 2f 2f 20 54 68 65 20 66 69 6c 65 20 69 73 20 66 6f | properties.....//.The.file.is.fo |
13f280 | 72 6d 61 74 74 65 64 20 6c 69 6b 65 20 73 6f 3a 0a 20 20 20 20 2f 2f 20 61 62 5b 2d 63 64 5d 2e | rmatted.like.so:.....//.ab[-cd]. |
13f2a0 | 61 63 63 65 70 74 3d 74 72 75 65 7c 66 61 6c 73 65 0a 20 20 20 20 2f 2f 20 20 61 62 20 3d 20 6c | accept=true|false.....//..ab.=.l |
13f2c0 | 61 6e 67 75 61 67 65 0a 20 20 20 20 2f 2f 20 20 63 64 20 3d 20 72 65 67 69 6f 6e 0a 20 20 20 20 | anguage.....//..cd.=.region..... |
13f2e0 | 76 61 72 20 62 75 6e 64 6c 65 41 63 63 65 70 74 65 64 20 20 20 20 3d 20 64 6f 63 75 6d 65 6e 74 | var.bundleAccepted....=.document |
13f300 | 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 62 75 6e 64 6c 65 41 63 63 65 70 74 65 64 22 | .getElementById("bundleAccepted" |
13f320 | 29 3b 0a 20 20 20 20 76 61 72 20 62 75 6e 64 6c 65 52 65 67 69 6f 6e 73 20 20 20 20 20 3d 20 64 | );.....var.bundleRegions.....=.d |
13f340 | 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 62 75 6e 64 6c 65 52 65 | ocument.getElementById("bundleRe |
13f360 | 67 69 6f 6e 73 22 29 3b 0a 20 20 20 20 76 61 72 20 62 75 6e 64 6c 65 4c 61 6e 67 75 61 67 65 73 | gions");.....var.bundleLanguages |
13f380 | 20 20 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 62 75 | ...=.document.getElementById("bu |
13f3a0 | 6e 64 6c 65 4c 61 6e 67 75 61 67 65 73 22 29 3b 0a 20 20 20 20 76 61 72 20 62 75 6e 64 6c 65 50 | ndleLanguages");.....var.bundleP |
13f3c0 | 72 65 66 65 72 65 6e 63 65 73 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 | references.=.document.getElement |
13f3e0 | 42 79 49 64 28 22 62 75 6e 64 6c 65 50 72 65 66 65 72 65 6e 63 65 73 22 29 3b 0a 0a 20 20 20 20 | ById("bundlePreferences");...... |
13f400 | 66 75 6e 63 74 69 6f 6e 20 4c 61 6e 67 75 61 67 65 49 6e 66 6f 28 61 4e 61 6d 65 2c 20 61 41 42 | function.LanguageInfo(aName,.aAB |
13f420 | 43 44 2c 20 61 49 73 56 69 73 69 62 6c 65 29 0a 20 20 20 20 7b 0a 20 20 20 20 20 20 74 68 69 73 | CD,.aIsVisible).....{.......this |
13f440 | 2e 6e 61 6d 65 20 3d 20 61 4e 61 6d 65 3b 0a 20 20 20 20 20 20 74 68 69 73 2e 61 62 63 64 20 3d | .name.=.aName;.......this.abcd.= |
13f460 | 20 61 41 42 43 44 3b 0a 20 20 20 20 20 20 74 68 69 73 2e 69 73 56 69 73 69 62 6c 65 20 3d 20 61 | .aABCD;.......this.isVisible.=.a |
13f480 | 49 73 56 69 73 69 62 6c 65 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 2f 2f 20 31 29 20 52 65 61 64 | IsVisible;.....}......//.1).Read |
13f4a0 | 20 74 68 65 20 61 76 61 69 6c 61 62 6c 65 20 6c 61 6e 67 75 61 67 65 73 20 6f 75 74 20 6f 66 20 | .the.available.languages.out.of. |
13f4c0 | 6c 61 6e 67 75 61 67 65 2e 70 72 6f 70 65 72 74 69 65 73 0a 20 20 20 20 76 61 72 20 73 74 72 69 | language.properties.....var.stri |
13f4e0 | 6e 67 73 20 3d 20 62 75 6e 64 6c 65 41 63 63 65 70 74 65 64 2e 73 74 72 69 6e 67 73 3b 0a 20 20 | ngs.=.bundleAccepted.strings;... |
13f500 | 20 20 77 68 69 6c 65 20 28 73 74 72 69 6e 67 73 2e 68 61 73 4d 6f 72 65 45 6c 65 6d 65 6e 74 73 | ..while.(strings.hasMoreElements |
13f520 | 28 29 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 63 75 72 72 53 74 72 69 6e 67 20 3d 20 73 74 72 | ()).{.......var.currString.=.str |
13f540 | 69 6e 67 73 2e 67 65 74 4e 65 78 74 28 29 3b 0a 20 20 20 20 20 20 69 66 20 28 21 28 63 75 72 72 | ings.getNext();.......if.(!(curr |
13f560 | 53 74 72 69 6e 67 20 69 6e 73 74 61 6e 63 65 6f 66 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 | String.instanceof.Components.int |
13f580 | 65 72 66 61 63 65 73 2e 6e 73 49 50 72 6f 70 65 72 74 79 45 6c 65 6d 65 6e 74 29 29 0a 20 20 20 | erfaces.nsIPropertyElement)).... |
13f5a0 | 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 0a 20 20 20 20 20 20 76 61 72 20 70 72 6f | .....break;..............var.pro |
13f5c0 | 70 65 72 74 79 20 3d 20 63 75 72 72 53 74 72 69 6e 67 2e 6b 65 79 2e 73 70 6c 69 74 28 22 2e 22 | perty.=.currString.key.split("." |
13f5e0 | 29 3b 20 2f 2f 20 61 62 5b 2d 63 64 5d 2e 61 63 63 65 70 74 0a 20 20 20 20 20 20 69 66 20 28 70 | );.//.ab[-cd].accept.......if.(p |
13f600 | 72 6f 70 65 72 74 79 5b 31 5d 20 3d 3d 20 22 61 63 63 65 70 74 22 29 20 7b 0a 20 20 20 20 20 20 | roperty[1].==."accept").{....... |
13f620 | 20 20 76 61 72 20 61 62 43 44 20 3d 20 70 72 6f 70 65 72 74 79 5b 30 5d 3b 0a 20 20 20 20 20 20 | ..var.abCD.=.property[0];....... |
13f640 | 20 20 76 61 72 20 61 62 43 44 50 61 69 72 73 20 3d 20 61 62 43 44 2e 73 70 6c 69 74 28 22 2d 22 | ..var.abCDPairs.=.abCD.split("-" |
13f660 | 29 3b 20 20 20 20 20 20 2f 2f 20 61 62 5b 2d 63 64 5d 0a 20 20 20 20 20 20 20 20 76 61 72 20 75 | );......//.ab[-cd].........var.u |
13f680 | 73 65 41 42 43 44 46 6f 72 6d 61 74 20 3d 20 61 62 43 44 50 61 69 72 73 2e 6c 65 6e 67 74 68 20 | seABCDFormat.=.abCDPairs.length. |
13f6a0 | 3e 20 31 3b 0a 20 20 20 20 20 20 20 20 76 61 72 20 61 62 20 3d 20 75 73 65 41 42 43 44 46 6f 72 | >.1;.........var.ab.=.useABCDFor |
13f6c0 | 6d 61 74 20 3f 20 61 62 43 44 50 61 69 72 73 5b 30 5d 20 3a 20 61 62 43 44 3b 0a 20 20 20 20 20 | mat.?.abCDPairs[0].:.abCD;...... |
13f6e0 | 20 20 20 76 61 72 20 63 64 20 3d 20 75 73 65 41 42 43 44 46 6f 72 6d 61 74 20 3f 20 61 62 43 44 | ...var.cd.=.useABCDFormat.?.abCD |
13f700 | 50 61 69 72 73 5b 31 5d 20 3a 20 22 22 3b 0a 20 20 20 20 20 20 20 20 69 66 20 28 61 62 29 20 7b | Pairs[1].:."";.........if.(ab).{ |
13f720 | 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 6c 61 6e 67 75 61 67 65 20 3d 20 22 22 3b 0a 20 20 | ...........var.language.=."";... |
13f740 | 20 20 20 20 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 6e 67 75 61 | ........try.{.............langua |
13f760 | 67 65 20 3d 20 62 75 6e 64 6c 65 4c 61 6e 67 75 61 67 65 73 2e 67 65 74 53 74 72 69 6e 67 28 61 | ge.=.bundleLanguages.getString(a |
13f780 | 62 29 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 20 0a 20 20 20 20 20 20 20 20 20 20 63 61 74 63 68 | b);...........}............catch |
13f7a0 | 20 28 65 29 20 7b 20 63 6f 6e 74 69 6e 75 65 3b 20 7d 3b 0a 20 20 20 20 20 20 20 20 20 20 0a 20 | .(e).{.continue;.};............. |
13f7c0 | 20 20 20 20 20 20 20 20 20 76 61 72 20 72 65 67 69 6f 6e 20 3d 20 22 22 3b 0a 20 20 20 20 20 20 | .........var.region.=."";....... |
13f7e0 | 20 20 20 20 69 66 20 28 75 73 65 41 42 43 44 46 6f 72 6d 61 74 29 20 7b 0a 20 20 20 20 20 20 20 | ....if.(useABCDFormat).{........ |
13f800 | 20 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 67 69 6f 6e 20 | .....try.{...............region. |
13f820 | 3d 20 62 75 6e 64 6c 65 52 65 67 69 6f 6e 73 2e 67 65 74 53 74 72 69 6e 67 28 63 64 29 3b 0a 20 | =.bundleRegions.getString(cd);.. |
13f840 | 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 63 61 74 63 68 20 28 | ...........}.............catch.( |
13f860 | 65 29 20 7b 20 63 6f 6e 74 69 6e 75 65 3b 20 7d 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 | e).{.continue;.}...........}.... |
13f880 | 20 20 20 20 20 20 20 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 6e 61 6d 65 20 3d 20 22 22 3b | ..................var.name.=.""; |
13f8a0 | 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 75 73 65 41 42 43 44 46 6f 72 6d 61 74 29 0a 20 20 | ...........if.(useABCDFormat)... |
13f8c0 | 20 20 20 20 20 20 20 20 20 20 6e 61 6d 65 20 3d 20 62 75 6e 64 6c 65 50 72 65 66 65 72 65 6e 63 | ..........name.=.bundlePreferenc |
13f8e0 | 65 73 2e 67 65 74 46 6f 72 6d 61 74 74 65 64 53 74 72 69 6e 67 28 22 6c 61 6e 67 75 61 67 65 52 | es.getFormattedString("languageR |
13f900 | 65 67 69 6f 6e 43 6f 64 65 46 6f 72 6d 61 74 22 2c 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | egionCodeFormat",............... |
13f920 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
13f940 | 20 20 20 20 20 20 20 20 20 20 20 5b 6c 61 6e 67 75 61 67 65 2c 20 72 65 67 69 6f 6e 2c 20 61 62 | ...........[language,.region,.ab |
13f960 | 43 44 5d 29 3b 0a 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 20 20 20 20 20 | CD]);...........else............ |
13f980 | 20 6e 61 6d 65 20 3d 20 62 75 6e 64 6c 65 50 72 65 66 65 72 65 6e 63 65 73 2e 67 65 74 46 6f 72 | .name.=.bundlePreferences.getFor |
13f9a0 | 6d 61 74 74 65 64 53 74 72 69 6e 67 28 22 6c 61 6e 67 75 61 67 65 43 6f 64 65 46 6f 72 6d 61 74 | mattedString("languageCodeFormat |
13f9c0 | 22 2c 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ",.............................. |
13f9e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 5b 6c 61 6e | ............................[lan |
13fa00 | 67 75 61 67 65 2c 20 61 62 43 44 5d 29 3b 0a 20 20 20 20 20 20 20 20 20 20 0a 20 20 20 20 20 20 | guage,.abCD]);.................. |
13fa20 | 20 20 20 20 69 66 20 28 6e 61 6d 65 20 26 26 20 61 62 43 44 29 20 7b 0a 20 20 20 20 20 20 20 20 | ....if.(name.&&.abCD).{......... |
13fa40 | 20 20 20 20 76 61 72 20 69 73 56 69 73 69 62 6c 65 20 3d 20 63 75 72 72 53 74 72 69 6e 67 2e 76 | ....var.isVisible.=.currString.v |
13fa60 | 61 6c 75 65 20 3d 3d 20 22 74 72 75 65 22 20 26 26 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | alue.==."true".&&............... |
13fa80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 21 28 61 62 43 44 20 69 6e 20 74 68 69 73 2e 5f | ...............(!(abCD.in.this._ |
13faa0 | 61 63 63 65 70 74 4c 61 6e 67 75 61 67 65 73 29 20 7c 7c 20 21 74 68 69 73 2e 5f 61 63 63 65 70 | acceptLanguages).||.!this._accep |
13fac0 | 74 4c 61 6e 67 75 61 67 65 73 5b 61 62 43 44 5d 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 | tLanguages[abCD]);.............v |
13fae0 | 61 72 20 6c 69 20 3d 20 6e 65 77 20 4c 61 6e 67 75 61 67 65 49 6e 66 6f 28 6e 61 6d 65 2c 20 61 | ar.li.=.new.LanguageInfo(name,.a |
13fb00 | 62 43 44 2c 20 69 73 56 69 73 69 62 6c 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 | bCD,.isVisible);.............thi |
13fb20 | 73 2e 5f 61 76 61 69 6c 61 62 6c 65 4c 61 6e 67 75 61 67 65 73 4c 69 73 74 2e 70 75 73 68 28 6c | s._availableLanguagesList.push(l |
13fb40 | 69 29 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 | i);...........}.........}....... |
13fb60 | 7d 0a 20 20 20 20 7d 0a 20 20 20 20 74 68 69 73 2e 5f 62 75 69 6c 64 41 76 61 69 6c 61 62 6c 65 | }.....}.....this._buildAvailable |
13fb80 | 4c 61 6e 67 75 61 67 65 4c 69 73 74 28 29 3b 0a 20 20 7d 2c 0a 20 20 0a 20 20 5f 62 75 69 6c 64 | LanguageList();...},......_build |
13fba0 | 41 76 61 69 6c 61 62 6c 65 4c 61 6e 67 75 61 67 65 4c 69 73 74 3a 20 66 75 6e 63 74 69 6f 6e 20 | AvailableLanguageList:.function. |
13fbc0 | 28 29 0a 20 20 7b 0a 20 20 20 20 76 61 72 20 61 76 61 69 6c 61 62 6c 65 4c 61 6e 67 75 61 67 65 | ()...{.....var.availableLanguage |
13fbe0 | 73 50 6f 70 75 70 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 | sPopup.=.document.getElementById |
13fc00 | 28 22 61 76 61 69 6c 61 62 6c 65 4c 61 6e 67 75 61 67 65 73 50 6f 70 75 70 22 29 3b 0a 20 20 20 | ("availableLanguagesPopup");.... |
13fc20 | 20 77 68 69 6c 65 20 28 61 76 61 69 6c 61 62 6c 65 4c 61 6e 67 75 61 67 65 73 50 6f 70 75 70 2e | .while.(availableLanguagesPopup. |
13fc40 | 68 61 73 43 68 69 6c 64 4e 6f 64 65 73 28 29 29 0a 20 20 20 20 20 20 61 76 61 69 6c 61 62 6c 65 | hasChildNodes()).......available |
13fc60 | 4c 61 6e 67 75 61 67 65 73 50 6f 70 75 70 2e 72 65 6d 6f 76 65 43 68 69 6c 64 28 61 76 61 69 6c | LanguagesPopup.removeChild(avail |
13fc80 | 61 62 6c 65 4c 61 6e 67 75 61 67 65 73 50 6f 70 75 70 2e 66 69 72 73 74 43 68 69 6c 64 29 3b 0a | ableLanguagesPopup.firstChild);. |
13fca0 | 20 20 20 20 20 20 0a 20 20 20 20 2f 2f 20 53 6f 72 74 20 74 68 65 20 6c 69 73 74 20 6f 66 20 6c | ...........//.Sort.the.list.of.l |
13fcc0 | 61 6e 67 75 61 67 65 73 20 62 79 20 6e 61 6d 65 0a 20 20 20 20 74 68 69 73 2e 5f 61 76 61 69 6c | anguages.by.name.....this._avail |
13fce0 | 61 62 6c 65 4c 61 6e 67 75 61 67 65 73 4c 69 73 74 2e 73 6f 72 74 28 66 75 6e 63 74 69 6f 6e 20 | ableLanguagesList.sort(function. |
13fd00 | 28 61 2c 20 62 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | (a,.b).{........................ |
13fd20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 61 2e 6e 61 6d 65 2e 6c | .................return.a.name.l |
13fd40 | 6f 63 61 6c 65 43 6f 6d 70 61 72 65 28 62 2e 6e 61 6d 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 | ocaleCompare(b.name);........... |
13fd60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 29 3b 0a | ............................});. |
13fd80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
13fda0 | 20 20 0a 20 20 20 20 2f 2f 20 4c 6f 61 64 20 74 68 65 20 55 49 20 77 69 74 68 20 74 68 65 20 64 | .......//.Load.the.UI.with.the.d |
13fdc0 | 61 74 61 0a 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 74 68 69 73 | ata.....for.(var.i.=.0;.i.<.this |
13fde0 | 2e 5f 61 76 61 69 6c 61 62 6c 65 4c 61 6e 67 75 61 67 65 73 4c 69 73 74 2e 6c 65 6e 67 74 68 3b | ._availableLanguagesList.length; |
13fe00 | 20 2b 2b 69 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 61 62 43 44 20 3d 20 74 68 69 73 2e 5f 61 | .++i).{.......var.abCD.=.this._a |
13fe20 | 76 61 69 6c 61 62 6c 65 4c 61 6e 67 75 61 67 65 73 4c 69 73 74 5b 69 5d 2e 61 62 63 64 3b 0a 20 | vailableLanguagesList[i].abcd;.. |
13fe40 | 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 61 76 61 69 6c 61 62 6c 65 4c 61 6e 67 75 61 67 65 | .....if.(this._availableLanguage |
13fe60 | 73 4c 69 73 74 5b 69 5d 2e 69 73 56 69 73 69 62 6c 65 20 26 26 20 0a 20 20 20 20 20 20 20 20 20 | sList[i].isVisible.&&........... |
13fe80 | 20 28 21 28 61 62 43 44 20 69 6e 20 74 68 69 73 2e 5f 61 63 63 65 70 74 4c 61 6e 67 75 61 67 65 | .(!(abCD.in.this._acceptLanguage |
13fea0 | 73 29 20 7c 7c 20 21 74 68 69 73 2e 5f 61 63 63 65 70 74 4c 61 6e 67 75 61 67 65 73 5b 61 62 43 | s).||.!this._acceptLanguages[abC |
13fec0 | 44 5d 29 29 20 7b 0a 20 20 20 20 20 20 20 20 76 61 72 20 6d 65 6e 75 69 74 65 6d 20 3d 20 64 6f | D])).{.........var.menuitem.=.do |
13fee0 | 63 75 6d 65 6e 74 2e 63 72 65 61 74 65 45 6c 65 6d 65 6e 74 28 22 6d 65 6e 75 69 74 65 6d 22 29 | cument.createElement("menuitem") |
13ff00 | 3b 0a 20 20 20 20 20 20 20 20 6d 65 6e 75 69 74 65 6d 2e 69 64 20 3d 20 74 68 69 73 2e 5f 61 76 | ;.........menuitem.id.=.this._av |
13ff20 | 61 69 6c 61 62 6c 65 4c 61 6e 67 75 61 67 65 73 4c 69 73 74 5b 69 5d 2e 61 62 63 64 3b 0a 20 20 | ailableLanguagesList[i].abcd;... |
13ff40 | 20 20 20 20 20 20 61 76 61 69 6c 61 62 6c 65 4c 61 6e 67 75 61 67 65 73 50 6f 70 75 70 2e 61 70 | ......availableLanguagesPopup.ap |
13ff60 | 70 65 6e 64 43 68 69 6c 64 28 6d 65 6e 75 69 74 65 6d 29 3b 0a 20 20 20 20 20 20 20 20 6d 65 6e | pendChild(menuitem);.........men |
13ff80 | 75 69 74 65 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 6c 61 62 65 6c 22 2c 20 74 68 69 73 | uitem.setAttribute("label",.this |
13ffa0 | 2e 5f 61 76 61 69 6c 61 62 6c 65 4c 61 6e 67 75 61 67 65 73 4c 69 73 74 5b 69 5d 2e 6e 61 6d 65 | ._availableLanguagesList[i].name |
13ffc0 | 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 20 20 0a 20 20 72 65 61 64 41 | );.......}.....}...},......readA |
13ffe0 | 63 63 65 70 74 4c 61 6e 67 75 61 67 65 73 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a | cceptLanguages:.function.()...{. |
140000 | 20 20 20 20 77 68 69 6c 65 20 28 74 68 69 73 2e 5f 61 63 74 69 76 65 4c 61 6e 67 75 61 67 65 73 | ....while.(this._activeLanguages |
140020 | 2e 68 61 73 43 68 69 6c 64 4e 6f 64 65 73 28 29 29 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 61 63 | .hasChildNodes()).......this._ac |
140040 | 74 69 76 65 4c 61 6e 67 75 61 67 65 73 2e 72 65 6d 6f 76 65 43 68 69 6c 64 28 74 68 69 73 2e 5f | tiveLanguages.removeChild(this._ |
140060 | 61 63 74 69 76 65 4c 61 6e 67 75 61 67 65 73 2e 66 69 72 73 74 43 68 69 6c 64 29 3b 0a 20 20 20 | activeLanguages.firstChild);.... |
140080 | 20 0a 20 20 20 20 76 61 72 20 73 65 6c 65 63 74 65 64 49 6e 64 65 78 20 3d 20 30 3b 0a 20 20 20 | ......var.selectedIndex.=.0;.... |
1400a0 | 20 76 61 72 20 70 72 65 66 65 72 65 6e 63 65 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c | .var.preference.=.document.getEl |
1400c0 | 65 6d 65 6e 74 42 79 49 64 28 22 69 6e 74 6c 2e 61 63 63 65 70 74 5f 6c 61 6e 67 75 61 67 65 73 | ementById("intl.accept_languages |
1400e0 | 22 29 3b 0a 20 20 20 20 69 66 20 28 70 72 65 66 65 72 65 6e 63 65 2e 76 61 6c 75 65 20 3d 3d 20 | ");.....if.(preference.value.==. |
140100 | 22 22 29 20 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 75 6e 64 65 66 69 6e 65 64 3b 0a 20 20 20 | "")........return.undefined;.... |
140120 | 20 76 61 72 20 6c 61 6e 67 75 61 67 65 73 20 3d 20 70 72 65 66 65 72 65 6e 63 65 2e 76 61 6c 75 | .var.languages.=.preference.valu |
140140 | 65 2e 74 6f 4c 6f 77 65 72 43 61 73 65 28 29 2e 73 70 6c 69 74 28 2f 5c 73 2a 2c 5c 73 2a 2f 29 | e.toLowerCase().split(/\s*,\s*/) |
140160 | 3b 0a 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 6c 61 6e 67 75 61 | ;.....for.(var.i.=.0;.i.<.langua |
140180 | 67 65 73 2e 6c 65 6e 67 74 68 3b 20 2b 2b 69 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 6e 61 6d | ges.length;.++i).{.......var.nam |
1401a0 | 65 20 3d 20 74 68 69 73 2e 5f 67 65 74 4c 61 6e 67 75 61 67 65 4e 61 6d 65 28 6c 61 6e 67 75 61 | e.=.this._getLanguageName(langua |
1401c0 | 67 65 73 5b 69 5d 29 3b 0a 20 20 20 20 20 20 69 66 20 28 21 6e 61 6d 65 29 0a 20 20 20 20 20 20 | ges[i]);.......if.(!name)....... |
1401e0 | 20 20 6e 61 6d 65 20 3d 20 22 5b 22 20 2b 20 6c 61 6e 67 75 61 67 65 73 5b 69 5d 20 2b 20 22 5d | ..name.=."[".+.languages[i].+."] |
140200 | 22 3b 0a 20 20 20 20 20 20 76 61 72 20 6c 69 73 74 69 74 65 6d 20 3d 20 64 6f 63 75 6d 65 6e 74 | ";.......var.listitem.=.document |
140220 | 2e 63 72 65 61 74 65 45 6c 65 6d 65 6e 74 28 22 6c 69 73 74 69 74 65 6d 22 29 3b 0a 20 20 20 20 | .createElement("listitem");..... |
140240 | 20 20 6c 69 73 74 69 74 65 6d 2e 69 64 20 3d 20 6c 61 6e 67 75 61 67 65 73 5b 69 5d 3b 0a 20 20 | ..listitem.id.=.languages[i];... |
140260 | 20 20 20 20 69 66 20 28 6c 61 6e 67 75 61 67 65 73 5b 69 5d 20 3d 3d 20 74 68 69 73 2e 5f 73 65 | ....if.(languages[i].==.this._se |
140280 | 6c 65 63 74 65 64 49 74 65 6d 49 44 29 0a 20 20 20 20 20 20 20 20 73 65 6c 65 63 74 65 64 49 6e | lectedItemID).........selectedIn |
1402a0 | 64 65 78 20 3d 20 69 3b 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 61 63 74 69 76 65 4c 61 6e 67 75 | dex.=.i;.......this._activeLangu |
1402c0 | 61 67 65 73 2e 61 70 70 65 6e 64 43 68 69 6c 64 28 6c 69 73 74 69 74 65 6d 29 3b 0a 20 20 20 20 | ages.appendChild(listitem);..... |
1402e0 | 20 20 6c 69 73 74 69 74 65 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 6c 61 62 65 6c 22 2c | ..listitem.setAttribute("label", |
140300 | 20 6e 61 6d 65 29 3b 0a 0a 20 20 20 20 20 20 2f 2f 20 48 61 73 68 20 74 68 69 73 20 6c 61 6e 67 | .name);........//.Hash.this.lang |
140320 | 75 61 67 65 20 61 73 20 61 6e 20 22 41 63 74 69 76 65 22 20 6c 61 6e 67 75 61 67 65 20 73 6f 20 | uage.as.an."Active".language.so. |
140340 | 77 65 20 64 6f 6e 27 74 0a 20 20 20 20 20 20 2f 2f 20 73 68 6f 77 20 69 74 20 69 6e 20 74 68 65 | we.don't.......//.show.it.in.the |
140360 | 20 6c 69 73 74 20 74 68 61 74 20 63 61 6e 20 62 65 20 61 64 64 65 64 2e 20 0a 20 20 20 20 20 20 | .list.that.can.be.added......... |
140380 | 74 68 69 73 2e 5f 61 63 63 65 70 74 4c 61 6e 67 75 61 67 65 73 5b 6c 61 6e 67 75 61 67 65 73 5b | this._acceptLanguages[languages[ |
1403a0 | 69 5d 5d 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 69 66 20 28 74 68 69 73 2e | i]].=.true;.....}......if.(this. |
1403c0 | 5f 61 63 74 69 76 65 4c 61 6e 67 75 61 67 65 73 2e 63 68 69 6c 64 4e 6f 64 65 73 2e 6c 65 6e 67 | _activeLanguages.childNodes.leng |
1403e0 | 74 68 20 3e 20 30 29 20 7b 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 61 63 74 69 76 65 4c 61 6e 67 | th.>.0).{.......this._activeLang |
140400 | 75 61 67 65 73 2e 65 6e 73 75 72 65 49 6e 64 65 78 49 73 56 69 73 69 62 6c 65 28 73 65 6c 65 63 | uages.ensureIndexIsVisible(selec |
140420 | 74 65 64 49 6e 64 65 78 29 3b 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 61 63 74 69 76 65 4c 61 6e | tedIndex);.......this._activeLan |
140440 | 67 75 61 67 65 73 2e 73 65 6c 65 63 74 65 64 49 6e 64 65 78 20 3d 20 73 65 6c 65 63 74 65 64 49 | guages.selectedIndex.=.selectedI |
140460 | 6e 64 65 78 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 72 65 74 75 72 6e 20 75 6e 64 65 66 69 6e 65 | ndex;.....}......return.undefine |
140480 | 64 3b 0a 20 20 7d 2c 0a 20 20 0a 20 20 77 72 69 74 65 41 63 63 65 70 74 4c 61 6e 67 75 61 67 65 | d;...},......writeAcceptLanguage |
1404a0 | 73 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 72 65 74 75 72 6e 20 75 6e | s:.function.()...{.....return.un |
1404c0 | 64 65 66 69 6e 65 64 3b 0a 20 20 7d 2c 0a 20 20 0a 20 20 6f 6e 41 76 61 69 6c 61 62 6c 65 4c 61 | defined;...},......onAvailableLa |
1404e0 | 6e 67 75 61 67 65 53 65 6c 65 63 74 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 | nguageSelect:.function.()...{... |
140500 | 20 20 76 61 72 20 61 64 64 42 75 74 74 6f 6e 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c | ..var.addButton.=.document.getEl |
140520 | 65 6d 65 6e 74 42 79 49 64 28 22 61 64 64 42 75 74 74 6f 6e 22 29 3b 0a 20 20 20 20 61 64 64 42 | ementById("addButton");.....addB |
140540 | 75 74 74 6f 6e 2e 64 69 73 61 62 6c 65 64 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 0a 20 20 20 | utton.disabled.=.false;......... |
140560 | 20 74 68 69 73 2e 5f 61 76 61 69 6c 61 62 6c 65 4c 61 6e 67 75 61 67 65 73 2e 72 65 6d 6f 76 65 | .this._availableLanguages.remove |
140580 | 41 74 74 72 69 62 75 74 65 28 22 61 63 63 65 73 73 6b 65 79 22 29 3b 0a 20 20 7d 2c 0a 20 20 0a | Attribute("accesskey");...},.... |
1405a0 | 20 20 61 64 64 4c 61 6e 67 75 61 67 65 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 | ..addLanguage:.function.()...{.. |
1405c0 | 20 20 20 76 61 72 20 73 65 6c 65 63 74 65 64 49 44 20 3d 20 74 68 69 73 2e 5f 61 76 61 69 6c 61 | ...var.selectedID.=.this._availa |
1405e0 | 62 6c 65 4c 61 6e 67 75 61 67 65 73 2e 73 65 6c 65 63 74 65 64 49 74 65 6d 2e 69 64 3b 0a 20 20 | bleLanguages.selectedItem.id;... |
140600 | 20 20 76 61 72 20 70 72 65 66 65 72 65 6e 63 65 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 | ..var.preference.=.document.getE |
140620 | 6c 65 6d 65 6e 74 42 79 49 64 28 22 69 6e 74 6c 2e 61 63 63 65 70 74 5f 6c 61 6e 67 75 61 67 65 | lementById("intl.accept_language |
140640 | 73 22 29 3b 0a 20 20 20 20 76 61 72 20 61 72 72 61 79 4f 66 50 72 65 66 73 20 3d 20 70 72 65 66 | s");.....var.arrayOfPrefs.=.pref |
140660 | 65 72 65 6e 63 65 2e 76 61 6c 75 65 2e 74 6f 4c 6f 77 65 72 43 61 73 65 28 29 2e 73 70 6c 69 74 | erence.value.toLowerCase().split |
140680 | 28 2f 5c 73 2a 2c 5c 73 2a 2f 29 3b 0a 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b | (/\s*,\s*/);.....for.(var.i.=.0; |
1406a0 | 20 69 20 3c 20 61 72 72 61 79 4f 66 50 72 65 66 73 2e 6c 65 6e 67 74 68 3b 20 2b 2b 69 20 29 7b | .i.<.arrayOfPrefs.length;.++i.){ |
1406c0 | 0a 20 20 20 20 20 20 69 66 20 28 61 72 72 61 79 4f 66 50 72 65 66 73 5b 69 5d 20 3d 3d 20 73 65 | .......if.(arrayOfPrefs[i].==.se |
1406e0 | 6c 65 63 74 65 64 49 44 29 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 20 20 7d 0a | lectedID).........return;.....}. |
140700 | 20 20 20 20 20 20 0a 20 20 20 20 74 68 69 73 2e 5f 73 65 6c 65 63 74 65 64 49 74 65 6d 49 44 20 | ...........this._selectedItemID. |
140720 | 3d 20 73 65 6c 65 63 74 65 64 49 44 3b 0a 20 20 20 20 0a 20 20 20 20 69 66 20 28 70 72 65 66 65 | =.selectedID;..........if.(prefe |
140740 | 72 65 6e 63 65 2e 76 61 6c 75 65 20 3d 3d 20 22 22 29 20 0a 20 20 20 20 20 20 70 72 65 66 65 72 | rence.value.==."")........prefer |
140760 | 65 6e 63 65 2e 76 61 6c 75 65 20 3d 20 73 65 6c 65 63 74 65 64 49 44 3b 0a 20 20 20 20 65 6c 73 | ence.value.=.selectedID;.....els |
140780 | 65 0a 20 20 20 20 20 20 70 72 65 66 65 72 65 6e 63 65 2e 76 61 6c 75 65 20 2b 3d 20 22 2c 22 20 | e.......preference.value.+=.",". |
1407a0 | 2b 20 73 65 6c 65 63 74 65 64 49 44 3b 0a 20 20 0a 20 20 20 20 74 68 69 73 2e 5f 61 63 63 65 70 | +.selectedID;........this._accep |
1407c0 | 74 4c 61 6e 67 75 61 67 65 73 5b 73 65 6c 65 63 74 65 64 49 44 5d 20 3d 20 74 72 75 65 3b 0a 20 | tLanguages[selectedID].=.true;.. |
1407e0 | 20 20 20 74 68 69 73 2e 5f 61 76 61 69 6c 61 62 6c 65 4c 61 6e 67 75 61 67 65 73 2e 73 65 6c 65 | ...this._availableLanguages.sele |
140800 | 63 74 65 64 49 74 65 6d 20 3d 20 6e 75 6c 6c 3b 0a 20 20 20 20 0a 20 20 20 20 2f 2f 20 52 65 75 | ctedItem.=.null;..........//.Reu |
140820 | 69 6c 64 20 74 68 65 20 61 76 61 69 6c 61 62 6c 65 20 6c 69 73 74 20 77 69 74 68 20 74 68 65 20 | ild.the.available.list.with.the. |
140840 | 61 64 64 65 64 20 69 74 65 6d 20 72 65 6d 6f 76 65 64 2e 2e 2e 0a 20 20 20 20 74 68 69 73 2e 5f | added.item.removed........this._ |
140860 | 62 75 69 6c 64 41 76 61 69 6c 61 62 6c 65 4c 61 6e 67 75 61 67 65 4c 69 73 74 28 29 3b 20 0a 20 | buildAvailableLanguageList();... |
140880 | 20 20 20 0a 20 20 20 20 74 68 69 73 2e 5f 61 76 61 69 6c 61 62 6c 65 4c 61 6e 67 75 61 67 65 73 | ........this._availableLanguages |
1408a0 | 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 6c 61 62 65 6c 22 2c 20 74 68 69 73 2e 5f 61 76 61 | .setAttribute("label",.this._ava |
1408c0 | 69 6c 61 62 6c 65 4c 61 6e 67 75 61 67 65 73 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 6c 61 | ilableLanguages.getAttribute("la |
1408e0 | 62 65 6c 32 22 29 29 3b 0a 20 20 7d 2c 0a 20 20 0a 20 20 72 65 6d 6f 76 65 4c 61 6e 67 75 61 67 | bel2"));...},......removeLanguag |
140900 | 65 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 2f 2f 20 42 75 69 6c 64 20 | e:.function.()...{.....//.Build. |
140920 | 74 68 65 20 6e 65 77 20 70 72 65 66 65 72 65 6e 63 65 20 76 61 6c 75 65 20 73 74 72 69 6e 67 2e | the.new.preference.value.string. |
140940 | 0a 20 20 20 20 76 61 72 20 6c 61 6e 67 75 61 67 65 73 41 72 72 61 79 20 3d 20 5b 5d 3b 0a 20 20 | .....var.languagesArray.=.[];... |
140960 | 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 74 68 69 73 2e 5f 61 63 74 69 | ..for.(var.i.=.0;.i.<.this._acti |
140980 | 76 65 4c 61 6e 67 75 61 67 65 73 2e 63 68 69 6c 64 4e 6f 64 65 73 2e 6c 65 6e 67 74 68 3b 20 2b | veLanguages.childNodes.length;.+ |
1409a0 | 2b 69 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 69 74 65 6d 20 3d 20 74 68 69 73 2e 5f 61 63 74 | +i).{.......var.item.=.this._act |
1409c0 | 69 76 65 4c 61 6e 67 75 61 67 65 73 2e 63 68 69 6c 64 4e 6f 64 65 73 5b 69 5d 3b 0a 20 20 20 20 | iveLanguages.childNodes[i];..... |
1409e0 | 20 20 69 66 20 28 21 69 74 65 6d 2e 73 65 6c 65 63 74 65 64 29 20 0a 20 20 20 20 20 20 20 20 6c | ..if.(!item.selected)..........l |
140a00 | 61 6e 67 75 61 67 65 73 41 72 72 61 79 2e 70 75 73 68 28 69 74 65 6d 2e 69 64 29 3b 0a 20 20 20 | anguagesArray.push(item.id);.... |
140a20 | 20 20 20 65 6c 73 65 20 20 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 61 63 63 65 70 74 4c 61 | ...else...........this._acceptLa |
140a40 | 6e 67 75 61 67 65 73 5b 69 74 65 6d 2e 69 64 5d 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 7d 0a | nguages[item.id].=.false;.....}. |
140a60 | 20 20 20 20 76 61 72 20 73 74 72 69 6e 67 20 3d 20 6c 61 6e 67 75 61 67 65 73 41 72 72 61 79 2e | ....var.string.=.languagesArray. |
140a80 | 6a 6f 69 6e 28 22 2c 22 29 3b 0a 0a 20 20 20 20 2f 2f 20 47 65 74 20 74 68 65 20 69 74 65 6d 20 | join(",");......//.Get.the.item. |
140aa0 | 74 6f 20 73 65 6c 65 63 74 20 61 66 74 65 72 20 74 68 65 20 72 65 6d 6f 76 65 20 6f 70 65 72 61 | to.select.after.the.remove.opera |
140ac0 | 74 69 6f 6e 20 63 6f 6d 70 6c 65 74 65 73 2e 20 20 20 20 20 0a 20 20 20 20 76 61 72 20 73 65 6c | tion.completes...........var.sel |
140ae0 | 65 63 74 69 6f 6e 20 3d 20 74 68 69 73 2e 5f 61 63 74 69 76 65 4c 61 6e 67 75 61 67 65 73 2e 73 | ection.=.this._activeLanguages.s |
140b00 | 65 6c 65 63 74 65 64 49 74 65 6d 73 3b 0a 20 20 20 20 76 61 72 20 6c 61 73 74 53 65 6c 65 63 74 | electedItems;.....var.lastSelect |
140b20 | 65 64 20 3d 20 73 65 6c 65 63 74 69 6f 6e 5b 73 65 6c 65 63 74 69 6f 6e 2e 6c 65 6e 67 74 68 2d | ed.=.selection[selection.length- |
140b40 | 31 5d 3b 0a 20 20 20 20 76 61 72 20 73 65 6c 65 63 74 49 74 65 6d 20 3d 20 6c 61 73 74 53 65 6c | 1];.....var.selectItem.=.lastSel |
140b60 | 65 63 74 65 64 2e 6e 65 78 74 53 69 62 6c 69 6e 67 20 7c 7c 20 6c 61 73 74 53 65 6c 65 63 74 65 | ected.nextSibling.||.lastSelecte |
140b80 | 64 2e 70 72 65 76 69 6f 75 73 53 69 62 6c 69 6e 67 3b 0a 20 20 20 20 73 65 6c 65 63 74 49 74 65 | d.previousSibling;.....selectIte |
140ba0 | 6d 20 3d 20 73 65 6c 65 63 74 49 74 65 6d 20 3f 20 73 65 6c 65 63 74 49 74 65 6d 2e 69 64 20 3a | m.=.selectItem.?.selectItem.id.: |
140bc0 | 20 6e 75 6c 6c 3b 0a 20 20 20 20 0a 20 20 20 20 74 68 69 73 2e 5f 73 65 6c 65 63 74 65 64 49 74 | .null;..........this._selectedIt |
140be0 | 65 6d 49 44 20 3d 20 73 65 6c 65 63 74 49 74 65 6d 3b 0a 0a 20 20 20 20 2f 2f 20 55 70 64 61 74 | emID.=.selectItem;......//.Updat |
140c00 | 65 20 74 68 65 20 70 72 65 66 65 72 65 6e 63 65 20 61 6e 64 20 66 6f 72 63 65 20 61 20 55 49 20 | e.the.preference.and.force.a.UI. |
140c20 | 72 65 62 75 69 6c 64 0a 20 20 20 20 76 61 72 20 70 72 65 66 65 72 65 6e 63 65 20 3d 20 64 6f 63 | rebuild.....var.preference.=.doc |
140c40 | 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 69 6e 74 6c 2e 61 63 63 65 70 | ument.getElementById("intl.accep |
140c60 | 74 5f 6c 61 6e 67 75 61 67 65 73 22 29 3b 0a 20 20 20 20 70 72 65 66 65 72 65 6e 63 65 2e 76 61 | t_languages");.....preference.va |
140c80 | 6c 75 65 20 3d 20 73 74 72 69 6e 67 3b 0a 0a 20 20 20 20 74 68 69 73 2e 5f 62 75 69 6c 64 41 76 | lue.=.string;......this._buildAv |
140ca0 | 61 69 6c 61 62 6c 65 4c 61 6e 67 75 61 67 65 4c 69 73 74 28 29 3b 20 0a 20 20 7d 2c 0a 20 20 0a | ailableLanguageList();....},.... |
140cc0 | 20 20 5f 67 65 74 4c 61 6e 67 75 61 67 65 4e 61 6d 65 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 41 | .._getLanguageName:.function.(aA |
140ce0 | 42 43 44 29 0a 20 20 7b 0a 20 20 20 20 69 66 20 28 21 74 68 69 73 2e 5f 61 76 61 69 6c 61 62 6c | BCD)...{.....if.(!this._availabl |
140d00 | 65 4c 61 6e 67 75 61 67 65 73 4c 69 73 74 2e 6c 65 6e 67 74 68 29 0a 20 20 20 20 20 20 74 68 69 | eLanguagesList.length).......thi |
140d20 | 73 2e 5f 6c 6f 61 64 41 76 61 69 6c 61 62 6c 65 4c 61 6e 67 75 61 67 65 73 28 29 3b 0a 20 20 20 | s._loadAvailableLanguages();.... |
140d40 | 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 74 68 69 73 2e 5f 61 76 61 69 6c | .for.(var.i.=.0;.i.<.this._avail |
140d60 | 61 62 6c 65 4c 61 6e 67 75 61 67 65 73 4c 69 73 74 2e 6c 65 6e 67 74 68 3b 20 2b 2b 69 29 20 7b | ableLanguagesList.length;.++i).{ |
140d80 | 0a 20 20 20 20 20 20 69 66 20 28 61 41 42 43 44 20 3d 3d 20 74 68 69 73 2e 5f 61 76 61 69 6c 61 | .......if.(aABCD.==.this._availa |
140da0 | 62 6c 65 4c 61 6e 67 75 61 67 65 73 4c 69 73 74 5b 69 5d 2e 61 62 63 64 29 20 0a 20 20 20 20 20 | bleLanguagesList[i].abcd)....... |
140dc0 | 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 61 76 61 69 6c 61 62 6c 65 4c 61 6e 67 75 61 67 | ...return.this._availableLanguag |
140de0 | 65 73 4c 69 73 74 5b 69 5d 2e 6e 61 6d 65 3b 0a 20 20 20 20 7d 0a 20 20 20 20 72 65 74 75 72 6e | esList[i].name;.....}.....return |
140e00 | 20 22 22 3b 0a 20 20 7d 2c 0a 20 20 0a 20 20 6d 6f 76 65 55 70 3a 20 66 75 6e 63 74 69 6f 6e 20 | ."";...},......moveUp:.function. |
140e20 | 28 29 0a 20 20 7b 0a 20 20 20 20 76 61 72 20 73 65 6c 65 63 74 65 64 49 74 65 6d 20 3d 20 74 68 | ()...{.....var.selectedItem.=.th |
140e40 | 69 73 2e 5f 61 63 74 69 76 65 4c 61 6e 67 75 61 67 65 73 2e 73 65 6c 65 63 74 65 64 49 74 65 6d | is._activeLanguages.selectedItem |
140e60 | 73 5b 30 5d 3b 0a 20 20 20 20 76 61 72 20 70 72 65 76 69 6f 75 73 49 74 65 6d 20 3d 20 73 65 6c | s[0];.....var.previousItem.=.sel |
140e80 | 65 63 74 65 64 49 74 65 6d 2e 70 72 65 76 69 6f 75 73 53 69 62 6c 69 6e 67 3b 0a 20 20 20 20 0a | ectedItem.previousSibling;...... |
140ea0 | 20 20 20 20 76 61 72 20 73 74 72 69 6e 67 20 3d 20 22 22 3b 0a 20 20 20 20 66 6f 72 20 28 76 61 | ....var.string.=."";.....for.(va |
140ec0 | 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 74 68 69 73 2e 5f 61 63 74 69 76 65 4c 61 6e 67 75 61 67 | r.i.=.0;.i.<.this._activeLanguag |
140ee0 | 65 73 2e 63 68 69 6c 64 4e 6f 64 65 73 2e 6c 65 6e 67 74 68 3b 20 2b 2b 69 29 20 7b 0a 20 20 20 | es.childNodes.length;.++i).{.... |
140f00 | 20 20 20 76 61 72 20 69 74 65 6d 20 3d 20 74 68 69 73 2e 5f 61 63 74 69 76 65 4c 61 6e 67 75 61 | ...var.item.=.this._activeLangua |
140f20 | 67 65 73 2e 63 68 69 6c 64 4e 6f 64 65 73 5b 69 5d 3b 0a 20 20 20 20 20 20 73 74 72 69 6e 67 20 | ges.childNodes[i];.......string. |
140f40 | 2b 3d 20 28 69 20 3d 3d 20 30 20 3f 20 22 22 20 3a 20 22 2c 22 29 3b 0a 20 20 20 20 20 20 69 66 | +=.(i.==.0.?."".:.",");.......if |
140f60 | 20 28 69 74 65 6d 2e 69 64 20 3d 3d 20 70 72 65 76 69 6f 75 73 49 74 65 6d 2e 69 64 29 20 0a 20 | .(item.id.==.previousItem.id)... |
140f80 | 20 20 20 20 20 20 20 73 74 72 69 6e 67 20 2b 3d 20 73 65 6c 65 63 74 65 64 49 74 65 6d 2e 69 64 | .......string.+=.selectedItem.id |
140fa0 | 3b 0a 20 20 20 20 20 20 65 6c 73 65 20 69 66 20 28 69 74 65 6d 2e 69 64 20 3d 3d 20 73 65 6c 65 | ;.......else.if.(item.id.==.sele |
140fc0 | 63 74 65 64 49 74 65 6d 2e 69 64 29 0a 20 20 20 20 20 20 20 20 73 74 72 69 6e 67 20 2b 3d 20 70 | ctedItem.id).........string.+=.p |
140fe0 | 72 65 76 69 6f 75 73 49 74 65 6d 2e 69 64 3b 0a 20 20 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 | reviousItem.id;.......else...... |
141000 | 20 20 20 73 74 72 69 6e 67 20 2b 3d 20 69 74 65 6d 2e 69 64 3b 0a 20 20 20 20 7d 0a 20 20 20 20 | ...string.+=.item.id;.....}..... |
141020 | 0a 20 20 20 20 74 68 69 73 2e 5f 73 65 6c 65 63 74 65 64 49 74 65 6d 49 44 20 3d 20 73 65 6c 65 | .....this._selectedItemID.=.sele |
141040 | 63 74 65 64 49 74 65 6d 2e 69 64 3b 0a 0a 20 20 20 20 2f 2f 20 55 70 64 61 74 65 20 74 68 65 20 | ctedItem.id;......//.Update.the. |
141060 | 70 72 65 66 65 72 65 6e 63 65 20 61 6e 64 20 66 6f 72 63 65 20 61 20 55 49 20 72 65 62 75 69 6c | preference.and.force.a.UI.rebuil |
141080 | 64 0a 20 20 20 20 76 61 72 20 70 72 65 66 65 72 65 6e 63 65 20 3d 20 64 6f 63 75 6d 65 6e 74 2e | d.....var.preference.=.document. |
1410a0 | 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 69 6e 74 6c 2e 61 63 63 65 70 74 5f 6c 61 6e 67 | getElementById("intl.accept_lang |
1410c0 | 75 61 67 65 73 22 29 3b 0a 20 20 20 20 70 72 65 66 65 72 65 6e 63 65 2e 76 61 6c 75 65 20 3d 20 | uages");.....preference.value.=. |
1410e0 | 73 74 72 69 6e 67 3b 0a 20 20 7d 2c 0a 20 20 0a 20 20 6d 6f 76 65 44 6f 77 6e 3a 20 66 75 6e 63 | string;...},......moveDown:.func |
141100 | 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 76 61 72 20 73 65 6c 65 63 74 65 64 49 74 65 6d | tion.()...{.....var.selectedItem |
141120 | 20 3d 20 74 68 69 73 2e 5f 61 63 74 69 76 65 4c 61 6e 67 75 61 67 65 73 2e 73 65 6c 65 63 74 65 | .=.this._activeLanguages.selecte |
141140 | 64 49 74 65 6d 73 5b 30 5d 3b 0a 20 20 20 20 76 61 72 20 6e 65 78 74 49 74 65 6d 20 3d 20 73 65 | dItems[0];.....var.nextItem.=.se |
141160 | 6c 65 63 74 65 64 49 74 65 6d 2e 6e 65 78 74 53 69 62 6c 69 6e 67 3b 0a 20 20 20 20 0a 20 20 20 | lectedItem.nextSibling;......... |
141180 | 20 76 61 72 20 73 74 72 69 6e 67 20 3d 20 22 22 3b 0a 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 | .var.string.=."";.....for.(var.i |
1411a0 | 20 3d 20 30 3b 20 69 20 3c 20 74 68 69 73 2e 5f 61 63 74 69 76 65 4c 61 6e 67 75 61 67 65 73 2e | .=.0;.i.<.this._activeLanguages. |
1411c0 | 63 68 69 6c 64 4e 6f 64 65 73 2e 6c 65 6e 67 74 68 3b 20 2b 2b 69 29 20 7b 0a 20 20 20 20 20 20 | childNodes.length;.++i).{....... |
1411e0 | 76 61 72 20 69 74 65 6d 20 3d 20 74 68 69 73 2e 5f 61 63 74 69 76 65 4c 61 6e 67 75 61 67 65 73 | var.item.=.this._activeLanguages |
141200 | 2e 63 68 69 6c 64 4e 6f 64 65 73 5b 69 5d 3b 0a 20 20 20 20 20 20 73 74 72 69 6e 67 20 2b 3d 20 | .childNodes[i];.......string.+=. |
141220 | 28 69 20 3d 3d 20 30 20 3f 20 22 22 20 3a 20 22 2c 22 29 3b 0a 20 20 20 20 20 20 69 66 20 28 69 | (i.==.0.?."".:.",");.......if.(i |
141240 | 74 65 6d 2e 69 64 20 3d 3d 20 6e 65 78 74 49 74 65 6d 2e 69 64 29 20 0a 20 20 20 20 20 20 20 20 | tem.id.==.nextItem.id).......... |
141260 | 73 74 72 69 6e 67 20 2b 3d 20 73 65 6c 65 63 74 65 64 49 74 65 6d 2e 69 64 3b 0a 20 20 20 20 20 | string.+=.selectedItem.id;...... |
141280 | 20 65 6c 73 65 20 69 66 20 28 69 74 65 6d 2e 69 64 20 3d 3d 20 73 65 6c 65 63 74 65 64 49 74 65 | .else.if.(item.id.==.selectedIte |
1412a0 | 6d 2e 69 64 29 0a 20 20 20 20 20 20 20 20 73 74 72 69 6e 67 20 2b 3d 20 6e 65 78 74 49 74 65 6d | m.id).........string.+=.nextItem |
1412c0 | 2e 69 64 3b 0a 20 20 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 20 20 73 74 72 69 6e 67 20 2b | .id;.......else.........string.+ |
1412e0 | 3d 20 69 74 65 6d 2e 69 64 3b 0a 20 20 20 20 7d 0a 20 20 20 20 0a 20 20 20 20 74 68 69 73 2e 5f | =.item.id;.....}..........this._ |
141300 | 73 65 6c 65 63 74 65 64 49 74 65 6d 49 44 20 3d 20 73 65 6c 65 63 74 65 64 49 74 65 6d 2e 69 64 | selectedItemID.=.selectedItem.id |
141320 | 3b 0a 0a 20 20 20 20 2f 2f 20 55 70 64 61 74 65 20 74 68 65 20 70 72 65 66 65 72 65 6e 63 65 20 | ;......//.Update.the.preference. |
141340 | 61 6e 64 20 66 6f 72 63 65 20 61 20 55 49 20 72 65 62 75 69 6c 64 0a 20 20 20 20 76 61 72 20 70 | and.force.a.UI.rebuild.....var.p |
141360 | 72 65 66 65 72 65 6e 63 65 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 | reference.=.document.getElementB |
141380 | 79 49 64 28 22 69 6e 74 6c 2e 61 63 63 65 70 74 5f 6c 61 6e 67 75 61 67 65 73 22 29 3b 0a 20 20 | yId("intl.accept_languages");... |
1413a0 | 20 20 70 72 65 66 65 72 65 6e 63 65 2e 76 61 6c 75 65 20 3d 20 73 74 72 69 6e 67 3b 0a 20 20 7d | ..preference.value.=.string;...} |
1413c0 | 2c 0a 20 20 0a 20 20 6f 6e 4c 61 6e 67 75 61 67 65 53 65 6c 65 63 74 3a 20 66 75 6e 63 74 69 6f | ,......onLanguageSelect:.functio |
1413e0 | 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 76 61 72 20 75 70 42 75 74 74 6f 6e 20 3d 20 64 6f 63 75 | n.()...{.....var.upButton.=.docu |
141400 | 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 75 70 22 29 3b 0a 20 20 20 20 76 | ment.getElementById("up");.....v |
141420 | 61 72 20 64 6f 77 6e 42 75 74 74 6f 6e 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d | ar.downButton.=.document.getElem |
141440 | 65 6e 74 42 79 49 64 28 22 64 6f 77 6e 22 29 3b 0a 20 20 20 20 76 61 72 20 72 65 6d 6f 76 65 42 | entById("down");.....var.removeB |
141460 | 75 74 74 6f 6e 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 | utton.=.document.getElementById( |
141480 | 22 72 65 6d 6f 76 65 22 29 3b 0a 20 20 20 20 73 77 69 74 63 68 20 28 74 68 69 73 2e 5f 61 63 74 | "remove");.....switch.(this._act |
1414a0 | 69 76 65 4c 61 6e 67 75 61 67 65 73 2e 73 65 6c 65 63 74 65 64 43 6f 75 6e 74 29 20 7b 0a 20 20 | iveLanguages.selectedCount).{... |
1414c0 | 20 20 63 61 73 65 20 30 3a 0a 20 20 20 20 20 20 75 70 42 75 74 74 6f 6e 2e 64 69 73 61 62 6c 65 | ..case.0:.......upButton.disable |
1414e0 | 64 20 3d 20 64 6f 77 6e 42 75 74 74 6f 6e 2e 64 69 73 61 62 6c 65 64 20 3d 20 72 65 6d 6f 76 65 | d.=.downButton.disabled.=.remove |
141500 | 42 75 74 74 6f 6e 2e 64 69 73 61 62 6c 65 64 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 62 72 | Button.disabled.=.true;.......br |
141520 | 65 61 6b 3b 0a 20 20 20 20 63 61 73 65 20 31 3a 0a 20 20 20 20 20 20 75 70 42 75 74 74 6f 6e 2e | eak;.....case.1:.......upButton. |
141540 | 64 69 73 61 62 6c 65 64 20 3d 20 74 68 69 73 2e 5f 61 63 74 69 76 65 4c 61 6e 67 75 61 67 65 73 | disabled.=.this._activeLanguages |
141560 | 2e 73 65 6c 65 63 74 65 64 49 6e 64 65 78 20 3d 3d 20 30 3b 0a 20 20 20 20 20 20 64 6f 77 6e 42 | .selectedIndex.==.0;.......downB |
141580 | 75 74 74 6f 6e 2e 64 69 73 61 62 6c 65 64 20 3d 20 74 68 69 73 2e 5f 61 63 74 69 76 65 4c 61 6e | utton.disabled.=.this._activeLan |
1415a0 | 67 75 61 67 65 73 2e 73 65 6c 65 63 74 65 64 49 6e 64 65 78 20 3d 3d 20 74 68 69 73 2e 5f 61 63 | guages.selectedIndex.==.this._ac |
1415c0 | 74 69 76 65 4c 61 6e 67 75 61 67 65 73 2e 63 68 69 6c 64 4e 6f 64 65 73 2e 6c 65 6e 67 74 68 20 | tiveLanguages.childNodes.length. |
1415e0 | 2d 20 31 3b 0a 20 20 20 20 20 20 72 65 6d 6f 76 65 42 75 74 74 6f 6e 2e 64 69 73 61 62 6c 65 64 | -.1;.......removeButton.disabled |
141600 | 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 64 65 66 61 75 | .=.false;.......break;.....defau |
141620 | 6c 74 3a 0a 20 20 20 20 20 20 75 70 42 75 74 74 6f 6e 2e 64 69 73 61 62 6c 65 64 20 3d 20 74 72 | lt:.......upButton.disabled.=.tr |
141640 | 75 65 3b 0a 20 20 20 20 20 20 64 6f 77 6e 42 75 74 74 6f 6e 2e 64 69 73 61 62 6c 65 64 20 3d 20 | ue;.......downButton.disabled.=. |
141660 | 74 72 75 65 3b 0a 20 20 20 20 20 20 72 65 6d 6f 76 65 42 75 74 74 6f 6e 2e 64 69 73 61 62 6c 65 | true;.......removeButton.disable |
141680 | 64 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 7d 0a 20 20 7d 0a 7d 3b 0a 0a 50 4b 03 04 14 00 00 | d.=.false;.....}...}.};..PK..... |
1416a0 | 00 00 00 f3 4b 18 3b b3 36 35 2c 80 1a 00 00 80 1a 00 00 24 00 00 00 63 6f 6e 74 65 6e 74 2f 62 | ....K.;.65,........$...content/b |
1416c0 | 72 6f 77 73 65 72 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 6d 61 69 6e 2e 78 75 6c 3c 3f 78 6d 6c | rowser/preferences/main.xul<?xml |
1416e0 | 20 76 65 72 73 69 6f 6e 3d 22 31 2e 30 22 3f 3e 0a 0a 0a 3c 21 44 4f 43 54 59 50 45 20 6f 76 65 | .version="1.0"?>...<!DOCTYPE.ove |
141700 | 72 6c 61 79 20 5b 0a 20 20 3c 21 45 4e 54 49 54 59 20 25 20 62 72 61 6e 64 44 54 44 20 53 59 53 | rlay.[...<!ENTITY.%.brandDTD.SYS |
141720 | 54 45 4d 20 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 61 6e 64 69 6e 67 2f 6c 6f 63 61 6c 65 2f 62 72 | TEM."chrome://branding/locale/br |
141740 | 61 6e 64 2e 64 74 64 22 3e 0a 20 20 3c 21 45 4e 54 49 54 59 20 25 20 6d 61 69 6e 44 54 44 20 53 | and.dtd">...<!ENTITY.%.mainDTD.S |
141760 | 59 53 54 45 4d 20 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 6c 6f 63 61 6c 65 2f 70 | YSTEM."chrome://browser/locale/p |
141780 | 72 65 66 65 72 65 6e 63 65 73 2f 6d 61 69 6e 2e 64 74 64 22 3e 0a 20 20 25 62 72 61 6e 64 44 54 | references/main.dtd">...%brandDT |
1417a0 | 44 3b 0a 20 20 25 6d 61 69 6e 44 54 44 3b 0a 5d 3e 0a 0a 3c 6f 76 65 72 6c 61 79 20 69 64 3d 22 | D;...%mainDTD;.]>..<overlay.id=" |
1417c0 | 4d 61 69 6e 50 61 6e 65 4f 76 65 72 6c 61 79 22 0a 20 20 20 20 20 20 20 20 20 78 6d 6c 6e 73 3d | MainPaneOverlay"..........xmlns= |
1417e0 | 22 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6b 65 79 6d 61 73 74 65 | "http://www.mozilla.org/keymaste |
141800 | 72 2f 67 61 74 65 6b 65 65 70 65 72 2f 74 68 65 72 65 2e 69 73 2e 6f 6e 6c 79 2e 78 75 6c 22 3e | r/gatekeeper/there.is.only.xul"> |
141820 | 0a 20 20 20 20 20 20 20 20 20 20 20 0a 20 20 3c 70 72 65 66 70 61 6e 65 20 69 64 3d 22 70 61 6e | ...............<prefpane.id="pan |
141840 | 65 4d 61 69 6e 22 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 70 61 6e 65 6c 6f 61 64 3d 22 | eMain"..............onpaneload=" |
141860 | 67 4d 61 69 6e 50 61 6e 65 2e 69 6e 69 74 28 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 68 | gMainPane.init();".............h |
141880 | 65 6c 70 54 6f 70 69 63 3d 22 70 72 65 66 73 2d 6d 61 69 6e 22 3e 0a 0a 20 20 20 20 3c 73 63 72 | elpTopic="prefs-main">......<scr |
1418a0 | 69 70 74 20 74 79 70 65 3d 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f 78 2d 6a 61 76 61 73 63 72 69 | ipt.type="application/x-javascri |
1418c0 | 70 74 22 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e | pt".src="chrome://browser/conten |
1418e0 | 74 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 6d 61 69 6e 2e 6a 73 22 2f 3e 0a 0a 20 20 20 20 3c 70 | t/preferences/main.js"/>......<p |
141900 | 72 65 66 65 72 65 6e 63 65 73 20 69 64 3d 22 6d 61 69 6e 50 72 65 66 65 72 65 6e 63 65 73 22 3e | references.id="mainPreferences"> |
141920 | 0a 20 20 20 20 20 20 3c 21 2d 2d 20 58 58 58 20 42 75 74 74 6f 6e 20 70 72 65 66 65 72 65 6e 63 | .......<!--.XXX.Button.preferenc |
141940 | 65 73 20 2d 2d 3e 0a 0a 20 20 20 20 20 20 3c 21 2d 2d 20 53 74 61 72 74 75 70 20 2d 2d 3e 0a 20 | es.-->........<!--.Startup.-->.. |
141960 | 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 62 72 6f 77 73 65 72 2e 73 74 61 | .....<preference.id="browser.sta |
141980 | 72 74 75 70 2e 70 61 67 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 61 6d | rtup.page"...................nam |
1419a0 | 65 3d 22 62 72 6f 77 73 65 72 2e 73 74 61 72 74 75 70 2e 70 61 67 65 22 0a 20 20 20 20 20 20 20 | e="browser.startup.page"........ |
1419c0 | 20 20 20 20 20 20 20 20 20 20 20 74 79 70 65 3d 22 69 6e 74 22 2f 3e 0a 20 20 20 20 20 20 3c 70 | ...........type="int"/>.......<p |
1419e0 | 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 62 72 6f 77 73 65 72 2e 73 74 61 72 74 75 70 2e 68 6f | reference.id="browser.startup.ho |
141a00 | 6d 65 70 61 67 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 61 6d 65 3d 22 | mepage"...................name=" |
141a20 | 62 72 6f 77 73 65 72 2e 73 74 61 72 74 75 70 2e 68 6f 6d 65 70 61 67 65 22 0a 20 20 20 20 20 20 | browser.startup.homepage"....... |
141a40 | 20 20 20 20 20 20 20 20 20 20 20 20 74 79 70 65 3d 22 77 73 74 72 69 6e 67 22 2f 3e 0a 0a 20 20 | ............type="wstring"/>.... |
141a60 | 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 70 72 65 66 2e 62 72 6f 77 73 65 72 | ....<preference.id="pref.browser |
141a80 | 2e 68 6f 6d 65 70 61 67 65 2e 64 69 73 61 62 6c 65 5f 62 75 74 74 6f 6e 2e 63 75 72 72 65 6e 74 | .homepage.disable_button.current |
141aa0 | 5f 70 61 67 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 61 6d 65 3d 22 70 | _page"...................name="p |
141ac0 | 72 65 66 2e 62 72 6f 77 73 65 72 2e 68 6f 6d 65 70 61 67 65 2e 64 69 73 61 62 6c 65 5f 62 75 74 | ref.browser.homepage.disable_but |
141ae0 | 74 6f 6e 2e 63 75 72 72 65 6e 74 5f 70 61 67 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ton.current_page"............... |
141b00 | 20 20 20 20 74 79 70 65 3d 22 62 6f 6f 6c 22 2f 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 | ....type="bool"/>.......<prefere |
141b20 | 6e 63 65 20 69 64 3d 22 70 72 65 66 2e 62 72 6f 77 73 65 72 2e 68 6f 6d 65 70 61 67 65 2e 64 69 | nce.id="pref.browser.homepage.di |
141b40 | 73 61 62 6c 65 5f 62 75 74 74 6f 6e 2e 62 6f 6f 6b 6d 61 72 6b 5f 70 61 67 65 22 0a 20 20 20 20 | sable_button.bookmark_page"..... |
141b60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 61 6d 65 3d 22 70 72 65 66 2e 62 72 6f 77 73 65 72 | ..............name="pref.browser |
141b80 | 2e 68 6f 6d 65 70 61 67 65 2e 64 69 73 61 62 6c 65 5f 62 75 74 74 6f 6e 2e 62 6f 6f 6b 6d 61 72 | .homepage.disable_button.bookmar |
141ba0 | 6b 5f 70 61 67 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 79 70 65 3d 22 | k_page"...................type=" |
141bc0 | 62 6f 6f 6c 22 2f 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 70 72 | bool"/>.......<preference.id="pr |
141be0 | 65 66 2e 62 72 6f 77 73 65 72 2e 68 6f 6d 65 70 61 67 65 2e 64 69 73 61 62 6c 65 5f 62 75 74 74 | ef.browser.homepage.disable_butt |
141c00 | 6f 6e 2e 72 65 73 74 6f 72 65 5f 64 65 66 61 75 6c 74 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 | on.restore_default"............. |
141c20 | 20 20 20 20 20 20 6e 61 6d 65 3d 22 70 72 65 66 2e 62 72 6f 77 73 65 72 2e 68 6f 6d 65 70 61 67 | ......name="pref.browser.homepag |
141c40 | 65 2e 64 69 73 61 62 6c 65 5f 62 75 74 74 6f 6e 2e 72 65 73 74 6f 72 65 5f 64 65 66 61 75 6c 74 | e.disable_button.restore_default |
141c60 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 79 70 65 3d 22 62 6f 6f 6c 22 2f | "...................type="bool"/ |
141c80 | 3e 0a 0a 20 20 20 20 20 20 3c 21 2d 2d 20 44 6f 77 6e 6c 6f 61 64 73 20 2d 2d 3e 0a 20 20 20 20 | >........<!--.Downloads.-->..... |
141ca0 | 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 62 72 6f 77 73 65 72 2e 64 6f 77 6e 6c 6f | ..<preference.id="browser.downlo |
141cc0 | 61 64 2e 6d 61 6e 61 67 65 72 2e 73 68 6f 77 57 68 65 6e 53 74 61 72 74 69 6e 67 22 0a 20 20 20 | ad.manager.showWhenStarting".... |
141ce0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 61 6d 65 3d 22 62 72 6f 77 73 65 72 2e 64 6f 77 | ...............name="browser.dow |
141d00 | 6e 6c 6f 61 64 2e 6d 61 6e 61 67 65 72 2e 73 68 6f 77 57 68 65 6e 53 74 61 72 74 69 6e 67 22 0a | nload.manager.showWhenStarting". |
141d20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 79 70 65 3d 22 62 6f 6f 6c 22 0a 20 20 | ..................type="bool"... |
141d40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 68 61 6e 67 65 3d 22 67 4d 61 69 6e 50 | ................onchange="gMainP |
141d60 | 61 6e 65 2e 73 68 6f 77 44 6f 77 6e 6c 6f 61 64 73 57 68 65 6e 53 74 61 72 74 69 6e 67 50 72 65 | ane.showDownloadsWhenStartingPre |
141d80 | 66 43 68 61 6e 67 65 64 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 | fChanged();"/>.......<preference |
141da0 | 20 69 64 3d 22 62 72 6f 77 73 65 72 2e 64 6f 77 6e 6c 6f 61 64 2e 6d 61 6e 61 67 65 72 2e 63 6c | .id="browser.download.manager.cl |
141dc0 | 6f 73 65 57 68 65 6e 44 6f 6e 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e | oseWhenDone"...................n |
141de0 | 61 6d 65 3d 22 62 72 6f 77 73 65 72 2e 64 6f 77 6e 6c 6f 61 64 2e 6d 61 6e 61 67 65 72 2e 63 6c | ame="browser.download.manager.cl |
141e00 | 6f 73 65 57 68 65 6e 44 6f 6e 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 | oseWhenDone"...................t |
141e20 | 79 70 65 3d 22 62 6f 6f 6c 22 2f 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 | ype="bool"/>.......<preference.i |
141e40 | 64 3d 22 62 72 6f 77 73 65 72 2e 64 6f 77 6e 6c 6f 61 64 2e 75 73 65 44 6f 77 6e 6c 6f 61 64 44 | d="browser.download.useDownloadD |
141e60 | 69 72 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 61 6d 65 3d 22 62 72 6f 77 | ir"...................name="brow |
141e80 | 73 65 72 2e 64 6f 77 6e 6c 6f 61 64 2e 75 73 65 44 6f 77 6e 6c 6f 61 64 44 69 72 22 0a 20 20 20 | ser.download.useDownloadDir".... |
141ea0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 79 70 65 3d 22 62 6f 6f 6c 22 2f 3e 0a 20 20 20 | ...............type="bool"/>.... |
141ec0 | 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 62 72 6f 77 73 65 72 2e 64 6f 77 6e 6c | ...<preference.id="browser.downl |
141ee0 | 6f 61 64 2e 64 69 72 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 61 6d 65 3d | oad.dir"...................name= |
141f00 | 22 62 72 6f 77 73 65 72 2e 64 6f 77 6e 6c 6f 61 64 2e 64 69 72 22 0a 20 20 20 20 20 20 20 20 20 | "browser.download.dir".......... |
141f20 | 20 20 20 20 20 20 20 20 20 74 79 70 65 3d 22 66 69 6c 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 | .........type="file"............ |
141f40 | 20 20 20 20 20 20 20 6f 6e 63 68 61 6e 67 65 3d 22 67 4d 61 69 6e 50 61 6e 65 2e 64 69 73 70 6c | .......onchange="gMainPane.displ |
141f60 | 61 79 44 6f 77 6e 6c 6f 61 64 44 69 72 50 72 65 66 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 70 | ayDownloadDirPref();"/>.......<p |
141f80 | 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 62 72 6f 77 73 65 72 2e 64 6f 77 6e 6c 6f 61 64 2e 66 | reference.id="browser.download.f |
141fa0 | 6f 6c 64 65 72 4c 69 73 74 22 20 20 20 20 20 20 20 20 6e 61 6d 65 3d 22 62 72 6f 77 73 65 72 2e | olderList"........name="browser. |
141fc0 | 64 6f 77 6e 6c 6f 61 64 2e 66 6f 6c 64 65 72 4c 69 73 74 22 20 20 20 20 20 20 20 20 74 79 70 65 | download.folderList"........type |
141fe0 | 3d 22 69 6e 74 22 2f 3e 0a 0a 20 20 20 20 3c 2f 70 72 65 66 65 72 65 6e 63 65 73 3e 0a 20 20 20 | ="int"/>......</preferences>.... |
142000 | 20 0a 20 20 20 20 3c 73 74 72 69 6e 67 62 75 6e 64 6c 65 20 69 64 3d 22 62 75 6e 64 6c 65 50 72 | ......<stringbundle.id="bundlePr |
142020 | 65 66 65 72 65 6e 63 65 73 22 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 | eferences".src="chrome://browser |
142040 | 2f 6c 6f 63 61 6c 65 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 70 72 65 66 65 72 65 6e 63 65 73 2e | /locale/preferences/preferences. |
142060 | 70 72 6f 70 65 72 74 69 65 73 22 2f 3e 0a 0a 20 20 20 20 3c 21 2d 2d 20 53 74 61 72 74 75 70 20 | properties"/>......<!--.Startup. |
142080 | 2d 2d 3e 0a 20 20 20 20 3c 67 72 6f 75 70 62 6f 78 20 69 64 3d 22 73 74 61 72 74 75 70 47 72 6f | -->.....<groupbox.id="startupGro |
1420a0 | 75 70 22 3e 0a 20 20 20 20 20 20 3c 63 61 70 74 69 6f 6e 20 6c 61 62 65 6c 3d 22 26 73 74 61 72 | up">.......<caption.label="&star |
1420c0 | 74 75 70 2e 6c 61 62 65 6c 3b 22 2f 3e 0a 0a 20 20 20 20 20 20 3c 68 62 6f 78 20 61 6c 69 67 6e | tup.label;"/>........<hbox.align |
1420e0 | 3d 22 63 65 6e 74 65 72 22 3e 0a 20 20 20 20 20 20 20 20 3c 6c 61 62 65 6c 20 76 61 6c 75 65 3d | ="center">.........<label.value= |
142100 | 22 26 73 74 61 72 74 75 70 50 61 67 65 2e 6c 61 62 65 6c 3b 22 20 61 63 63 65 73 73 6b 65 79 3d | "&startupPage.label;".accesskey= |
142120 | 22 26 73 74 61 72 74 75 70 50 61 67 65 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 | "&startupPage.accesskey;"....... |
142140 | 20 20 20 20 20 20 20 20 20 63 6f 6e 74 72 6f 6c 3d 22 62 72 6f 77 73 65 72 53 74 61 72 74 75 70 | .........control="browserStartup |
142160 | 50 61 67 65 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 6c 69 73 74 20 69 64 3d 22 62 72 | Page"/>.........<menulist.id="br |
142180 | 6f 77 73 65 72 53 74 61 72 74 75 70 50 61 67 65 22 20 70 72 65 66 65 72 65 6e 63 65 3d 22 62 72 | owserStartupPage".preference="br |
1421a0 | 6f 77 73 65 72 2e 73 74 61 72 74 75 70 2e 70 61 67 65 22 3e 0a 20 20 20 20 20 20 20 20 20 20 3c | owser.startup.page">...........< |
1421c0 | 6d 65 6e 75 70 6f 70 75 70 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d | menupopup>.............<menuitem |
1421e0 | 20 6c 61 62 65 6c 3d 22 26 73 74 61 72 74 75 70 48 6f 6d 65 50 61 67 65 2e 6c 61 62 65 6c 3b 22 | .label="&startupHomePage.label;" |
142200 | 20 20 20 20 20 76 61 6c 75 65 3d 22 31 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 | .....value="1"/>.............<me |
142220 | 6e 75 69 74 65 6d 20 6c 61 62 65 6c 3d 22 26 73 74 61 72 74 75 70 42 6c 61 6e 6b 50 61 67 65 2e | nuitem.label="&startupBlankPage. |
142240 | 6c 61 62 65 6c 3b 22 20 20 20 20 76 61 6c 75 65 3d 22 30 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 | label;"....value="0"/>.......... |
142260 | 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 6c 61 62 65 6c 3d 22 26 73 74 61 72 74 75 70 4c 61 73 74 | ...<menuitem.label="&startupLast |
142280 | 53 65 73 73 69 6f 6e 2e 6c 61 62 65 6c 3b 22 20 20 76 61 6c 75 65 3d 22 33 22 2f 3e 0a 20 20 20 | Session.label;"..value="3"/>.... |
1422a0 | 20 20 20 20 20 20 20 3c 2f 6d 65 6e 75 70 6f 70 75 70 3e 0a 20 20 20 20 20 20 20 20 3c 2f 6d 65 | .......</menupopup>.........</me |
1422c0 | 6e 75 6c 69 73 74 3e 0a 20 20 20 20 20 20 3c 2f 68 62 6f 78 3e 0a 20 20 20 20 20 20 3c 73 65 70 | nulist>.......</hbox>.......<sep |
1422e0 | 61 72 61 74 6f 72 20 63 6c 61 73 73 3d 22 74 68 69 6e 22 2f 3e 0a 20 20 20 20 20 20 3c 68 62 6f | arator.class="thin"/>.......<hbo |
142300 | 78 20 61 6c 69 67 6e 3d 22 63 65 6e 74 65 72 22 3e 0a 20 20 20 20 20 20 20 20 3c 6c 61 62 65 6c | x.align="center">.........<label |
142320 | 20 76 61 6c 75 65 3d 22 26 6c 6f 63 61 74 69 6f 6e 2e 6c 61 62 65 6c 3b 22 20 61 63 63 65 73 73 | .value="&location.label;".access |
142340 | 6b 65 79 3d 22 26 6c 6f 63 61 74 69 6f 6e 2e 61 63 63 65 73 73 6b 65 79 3b 22 20 63 6f 6e 74 72 | key="&location.accesskey;".contr |
142360 | 6f 6c 3d 22 62 72 6f 77 73 65 72 48 6f 6d 65 50 61 67 65 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c | ol="browserHomePage"/>.........< |
142380 | 74 65 78 74 62 6f 78 20 69 64 3d 22 62 72 6f 77 73 65 72 48 6f 6d 65 50 61 67 65 22 20 63 6c 61 | textbox.id="browserHomePage".cla |
1423a0 | 73 73 3d 22 70 61 64 64 65 64 20 75 72 69 2d 65 6c 65 6d 65 6e 74 22 20 66 6c 65 78 3d 22 31 22 | ss="padded.uri-element".flex="1" |
1423c0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 79 70 65 3d 22 61 75 74 6f 63 6f 6d 70 | ..................type="autocomp |
1423e0 | 6c 65 74 65 22 20 61 75 74 6f 63 6f 6d 70 6c 65 74 65 73 65 61 72 63 68 3d 22 68 69 73 74 6f 72 | lete".autocompletesearch="histor |
142400 | 79 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 65 66 65 72 65 6e 63 65 3d 22 | y"..................preference=" |
142420 | 62 72 6f 77 73 65 72 2e 73 74 61 72 74 75 70 2e 68 6f 6d 65 70 61 67 65 22 2f 3e 0a 20 20 20 20 | browser.startup.homepage"/>..... |
142440 | 20 20 3c 2f 68 62 6f 78 3e 0a 20 20 20 20 20 20 3c 68 62 6f 78 20 61 6c 69 67 6e 3d 22 63 65 6e | ..</hbox>.......<hbox.align="cen |
142460 | 74 65 72 22 20 70 61 63 6b 3d 22 65 6e 64 22 3e 0a 20 20 20 20 20 20 20 20 3c 62 75 74 74 6f 6e | ter".pack="end">.........<button |
142480 | 20 6c 61 62 65 6c 3d 22 22 20 61 63 63 65 73 73 6b 65 79 3d 22 26 75 73 65 43 75 72 72 65 6e 74 | .label="".accesskey="&useCurrent |
1424a0 | 50 61 67 65 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | Page.accesskey;"................ |
1424c0 | 20 6c 61 62 65 6c 31 3d 22 26 75 73 65 43 75 72 72 65 6e 74 50 61 67 65 2e 6c 61 62 65 6c 3b 22 | .label1="&useCurrentPage.label;" |
1424e0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 32 3d 22 26 75 73 65 4d 75 6c | .................label2="&useMul |
142500 | 74 69 70 6c 65 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e | tiple.label;".................on |
142520 | 63 6f 6d 6d 61 6e 64 3d 22 67 4d 61 69 6e 50 61 6e 65 2e 73 65 74 48 6f 6d 65 50 61 67 65 54 6f | command="gMainPane.setHomePageTo |
142540 | 43 75 72 72 65 6e 74 28 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 64 3d 22 | Current();".................id=" |
142560 | 75 73 65 43 75 72 72 65 6e 74 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 65 66 | useCurrent".................pref |
142580 | 65 72 65 6e 63 65 3d 22 70 72 65 66 2e 62 72 6f 77 73 65 72 2e 68 6f 6d 65 70 61 67 65 2e 64 69 | erence="pref.browser.homepage.di |
1425a0 | 73 61 62 6c 65 5f 62 75 74 74 6f 6e 2e 63 75 72 72 65 6e 74 5f 70 61 67 65 22 2f 3e 0a 20 20 20 | sable_button.current_page"/>.... |
1425c0 | 20 20 20 20 20 3c 62 75 74 74 6f 6e 20 6c 61 62 65 6c 3d 22 26 75 73 65 42 6f 6f 6b 6d 61 72 6b | .....<button.label="&useBookmark |
1425e0 | 2e 6c 61 62 65 6c 3b 22 20 61 63 63 65 73 73 6b 65 79 3d 22 26 75 73 65 42 6f 6f 6b 6d 61 72 6b | .label;".accesskey="&useBookmark |
142600 | 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 | .accesskey;".................onc |
142620 | 6f 6d 6d 61 6e 64 3d 22 67 4d 61 69 6e 50 61 6e 65 2e 73 65 74 48 6f 6d 65 50 61 67 65 54 6f 42 | ommand="gMainPane.setHomePageToB |
142640 | 6f 6f 6b 6d 61 72 6b 28 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 64 3d 22 | ookmark();".................id=" |
142660 | 75 73 65 42 6f 6f 6b 6d 61 72 6b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 65 | useBookmark".................pre |
142680 | 66 65 72 65 6e 63 65 3d 22 70 72 65 66 2e 62 72 6f 77 73 65 72 2e 68 6f 6d 65 70 61 67 65 2e 64 | ference="pref.browser.homepage.d |
1426a0 | 69 73 61 62 6c 65 5f 62 75 74 74 6f 6e 2e 62 6f 6f 6b 6d 61 72 6b 5f 70 61 67 65 22 2f 3e 0a 20 | isable_button.bookmark_page"/>.. |
1426c0 | 20 20 20 20 20 20 20 3c 62 75 74 74 6f 6e 20 6c 61 62 65 6c 3d 22 26 72 65 73 74 6f 72 65 44 65 | .......<button.label="&restoreDe |
1426e0 | 66 61 75 6c 74 2e 6c 61 62 65 6c 3b 22 20 61 63 63 65 73 73 6b 65 79 3d 22 26 72 65 73 74 6f 72 | fault.label;".accesskey="&restor |
142700 | 65 44 65 66 61 75 6c 74 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 | eDefault.accesskey;"............ |
142720 | 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 4d 61 69 6e 50 61 6e 65 2e 72 65 73 74 6f 72 | .....oncommand="gMainPane.restor |
142740 | 65 44 65 66 61 75 6c 74 48 6f 6d 65 50 61 67 65 28 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 | eDefaultHomePage();"............ |
142760 | 20 20 20 20 20 69 64 3d 22 72 65 73 74 6f 72 65 44 65 66 61 75 6c 74 48 6f 6d 65 50 61 67 65 22 | .....id="restoreDefaultHomePage" |
142780 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 65 66 65 72 65 6e 63 65 3d 22 70 72 65 | .................preference="pre |
1427a0 | 66 2e 62 72 6f 77 73 65 72 2e 68 6f 6d 65 70 61 67 65 2e 64 69 73 61 62 6c 65 5f 62 75 74 74 6f | f.browser.homepage.disable_butto |
1427c0 | 6e 2e 72 65 73 74 6f 72 65 5f 64 65 66 61 75 6c 74 22 2f 3e 0a 20 20 20 20 20 20 3c 2f 68 62 6f | n.restore_default"/>.......</hbo |
1427e0 | 78 3e 0a 20 20 20 20 3c 2f 67 72 6f 75 70 62 6f 78 3e 0a 0a 20 20 20 20 3c 21 2d 2d 20 44 6f 77 | x>.....</groupbox>......<!--.Dow |
142800 | 6e 6c 6f 61 64 73 20 2d 2d 3e 0a 20 20 20 20 3c 67 72 6f 75 70 62 6f 78 20 69 64 3d 22 64 6f 77 | nloads.-->.....<groupbox.id="dow |
142820 | 6e 6c 6f 61 64 73 47 72 6f 75 70 22 3e 0a 20 20 20 20 20 20 3c 63 61 70 74 69 6f 6e 20 6c 61 62 | nloadsGroup">.......<caption.lab |
142840 | 65 6c 3d 22 26 64 6f 77 6e 6c 6f 61 64 73 2e 6c 61 62 65 6c 3b 22 2f 3e 0a 0a 20 20 20 20 20 20 | el="&downloads.label;"/>........ |
142860 | 3c 63 68 65 63 6b 62 6f 78 20 69 64 3d 22 73 68 6f 77 57 68 65 6e 44 6f 77 6e 6c 6f 61 64 69 6e | <checkbox.id="showWhenDownloadin |
142880 | 67 22 20 6c 61 62 65 6c 3d 22 26 73 68 6f 77 57 68 65 6e 44 6f 77 6e 6c 6f 61 64 69 6e 67 2e 6c | g".label="&showWhenDownloading.l |
1428a0 | 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 | abel;".................accesskey |
1428c0 | 3d 22 26 73 68 6f 77 57 68 65 6e 44 6f 77 6e 6c 6f 61 64 69 6e 67 2e 61 63 63 65 73 73 6b 65 79 | ="&showWhenDownloading.accesskey |
1428e0 | 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 65 66 65 72 65 6e 63 65 3d 22 62 | ;".................preference="b |
142900 | 72 6f 77 73 65 72 2e 64 6f 77 6e 6c 6f 61 64 2e 6d 61 6e 61 67 65 72 2e 73 68 6f 77 57 68 65 6e | rowser.download.manager.showWhen |
142920 | 53 74 61 72 74 69 6e 67 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 73 79 6e 63 | Starting".................onsync |
142940 | 66 72 6f 6d 70 72 65 66 65 72 65 6e 63 65 3d 22 72 65 74 75 72 6e 20 67 4d 61 69 6e 50 61 6e 65 | frompreference="return.gMainPane |
142960 | 2e 72 65 61 64 53 68 6f 77 44 6f 77 6e 6c 6f 61 64 73 57 68 65 6e 53 74 61 72 74 69 6e 67 28 29 | .readShowDownloadsWhenStarting() |
142980 | 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 63 68 65 63 6b 62 6f 78 20 69 64 3d 22 63 6c 6f 73 65 57 68 | ;"/>.......<checkbox.id="closeWh |
1429a0 | 65 6e 44 6f 6e 65 22 20 6c 61 62 65 6c 3d 22 26 63 6c 6f 73 65 57 68 65 6e 44 6f 6e 65 2e 6c 61 | enDone".label="&closeWhenDone.la |
1429c0 | 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d | bel;".................accesskey= |
1429e0 | 22 26 63 6c 6f 73 65 57 68 65 6e 44 6f 6e 65 2e 61 63 63 65 73 73 6b 65 79 3b 22 20 63 6c 61 73 | "&closeWhenDone.accesskey;".clas |
142a00 | 73 3d 22 69 6e 64 65 6e 74 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 65 66 65 | s="indent".................prefe |
142a20 | 72 65 6e 63 65 3d 22 62 72 6f 77 73 65 72 2e 64 6f 77 6e 6c 6f 61 64 2e 6d 61 6e 61 67 65 72 2e | rence="browser.download.manager. |
142a40 | 63 6c 6f 73 65 57 68 65 6e 44 6f 6e 65 22 2f 3e 0a 0a 20 20 20 20 20 20 3c 73 65 70 61 72 61 74 | closeWhenDone"/>........<separat |
142a60 | 6f 72 20 63 6c 61 73 73 3d 22 74 68 69 6e 22 2f 3e 0a 0a 20 20 20 20 20 20 3c 72 61 64 69 6f 67 | or.class="thin"/>........<radiog |
142a80 | 72 6f 75 70 20 69 64 3d 22 73 61 76 65 57 68 65 72 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 | roup.id="saveWhere"............. |
142aa0 | 20 20 20 20 20 20 70 72 65 66 65 72 65 6e 63 65 3d 22 62 72 6f 77 73 65 72 2e 64 6f 77 6e 6c 6f | ......preference="browser.downlo |
142ac0 | 61 64 2e 75 73 65 44 6f 77 6e 6c 6f 61 64 44 69 72 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ad.useDownloadDir".............. |
142ae0 | 20 20 20 20 20 6f 6e 73 79 6e 63 66 72 6f 6d 70 72 65 66 65 72 65 6e 63 65 3d 22 72 65 74 75 72 | .....onsyncfrompreference="retur |
142b00 | 6e 20 67 4d 61 69 6e 50 61 6e 65 2e 72 65 61 64 55 73 65 44 6f 77 6e 6c 6f 61 64 44 69 72 28 29 | n.gMainPane.readUseDownloadDir() |
142b20 | 3b 22 3e 0a 20 20 20 20 20 20 20 20 3c 68 62 6f 78 20 69 64 3d 22 73 61 76 65 54 6f 52 6f 77 22 | ;">.........<hbox.id="saveToRow" |
142b40 | 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 72 61 64 69 6f 20 69 64 3d 22 73 61 76 65 54 6f 22 20 76 | >...........<radio.id="saveTo".v |
142b60 | 61 6c 75 65 3d 22 74 72 75 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 | alue="true"..................lab |
142b80 | 65 6c 3d 22 26 73 61 76 65 54 6f 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 | el="&saveTo.label;"............. |
142ba0 | 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 73 61 76 65 54 6f 2e 61 63 63 65 73 73 6b 65 | .....accesskey="&saveTo.accesske |
142bc0 | 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 72 69 61 2d 6c 61 62 65 6c 6c | y;"..................aria-labell |
142be0 | 65 64 62 79 3d 22 73 61 76 65 54 6f 20 64 6f 77 6e 6c 6f 61 64 46 6f 6c 64 65 72 22 2f 3e 0a 20 | edby="saveTo.downloadFolder"/>.. |
142c00 | 20 20 20 20 20 20 20 20 20 3c 66 69 6c 65 66 69 65 6c 64 20 69 64 3d 22 64 6f 77 6e 6c 6f 61 64 | .........<filefield.id="download |
142c20 | 46 6f 6c 64 65 72 22 20 66 6c 65 78 3d 22 31 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | Folder".flex="1"................ |
142c40 | 20 20 20 20 20 20 70 72 65 66 65 72 65 6e 63 65 3d 22 62 72 6f 77 73 65 72 2e 64 6f 77 6e 6c 6f | ......preference="browser.downlo |
142c60 | 61 64 2e 66 6f 6c 64 65 72 4c 69 73 74 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ad.folderList".................. |
142c80 | 20 20 20 20 70 72 65 66 65 72 65 6e 63 65 2d 65 64 69 74 61 62 6c 65 3d 22 74 72 75 65 22 0a 20 | ....preference-editable="true".. |
142ca0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 72 69 61 2d 6c 61 62 65 6c 6c 65 | ....................aria-labelle |
142cc0 | 64 62 79 3d 22 73 61 76 65 54 6f 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | dby="saveTo".................... |
142ce0 | 20 20 6f 6e 73 79 6e 63 66 72 6f 6d 70 72 65 66 65 72 65 6e 63 65 3d 22 72 65 74 75 72 6e 20 67 | ..onsyncfrompreference="return.g |
142d00 | 4d 61 69 6e 50 61 6e 65 2e 64 69 73 70 6c 61 79 44 6f 77 6e 6c 6f 61 64 44 69 72 50 72 65 66 28 | MainPane.displayDownloadDirPref( |
142d20 | 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 73 79 6e 63 74 | );"......................onsynct |
142d40 | 6f 70 72 65 66 65 72 65 6e 63 65 3d 22 72 65 74 75 72 6e 20 67 4d 61 69 6e 50 61 6e 65 2e 67 65 | opreference="return.gMainPane.ge |
142d60 | 74 46 6f 6c 64 65 72 4c 69 73 74 50 72 65 66 28 29 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c | tFolderListPref()"/>...........< |
142d80 | 62 75 74 74 6f 6e 20 69 64 3d 22 63 68 6f 6f 73 65 46 6f 6c 64 65 72 22 20 6f 6e 63 6f 6d 6d 61 | button.id="chooseFolder".oncomma |
142da0 | 6e 64 3d 22 67 4d 61 69 6e 50 61 6e 65 2e 63 68 6f 6f 73 65 46 6f 6c 64 65 72 28 29 3b 22 0a 20 | nd="gMainPane.chooseFolder();".. |
142dc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 63 68 6f | .................accesskey="&cho |
142de0 | 6f 73 65 46 6f 6c 64 65 72 57 69 6e 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 | oseFolderWin.accesskey;"........ |
142e00 | 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 63 68 6f 6f 73 65 46 6f 6c 64 65 72 57 | ...........label="&chooseFolderW |
142e20 | 69 6e 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 65 | in.label;"...................pre |
142e40 | 66 65 72 65 6e 63 65 3d 22 62 72 6f 77 73 65 72 2e 64 6f 77 6e 6c 6f 61 64 2e 66 6f 6c 64 65 72 | ference="browser.download.folder |
142e60 | 4c 69 73 74 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 73 79 6e 63 74 6f | List"...................onsyncto |
142e80 | 70 72 65 66 65 72 65 6e 63 65 3d 22 72 65 74 75 72 6e 20 67 4d 61 69 6e 50 61 6e 65 2e 67 65 74 | preference="return.gMainPane.get |
142ea0 | 46 6f 6c 64 65 72 4c 69 73 74 50 72 65 66 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 2f 68 | FolderListPref();"/>.........</h |
142ec0 | 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 3c 72 61 64 69 6f 20 69 64 3d 22 61 6c 77 61 79 73 41 73 | box>.........<radio.id="alwaysAs |
142ee0 | 6b 22 20 76 61 6c 75 65 3d 22 66 61 6c 73 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | k".value="false"................ |
142f00 | 6c 61 62 65 6c 3d 22 26 61 6c 77 61 79 73 41 73 6b 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 | label="&alwaysAsk.label;"....... |
142f20 | 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 61 6c 77 61 79 73 41 73 6b 2e 61 | .........accesskey="&alwaysAsk.a |
142f40 | 63 63 65 73 73 6b 65 79 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 2f 72 61 64 69 6f 67 72 6f 75 70 3e | ccesskey;"/>.......</radiogroup> |
142f60 | 0a 20 20 20 20 3c 2f 67 72 6f 75 70 62 6f 78 3e 0a 0a 20 20 20 20 3c 68 62 6f 78 20 63 6c 61 73 | .....</groupbox>......<hbox.clas |
142f80 | 73 3d 22 62 6f 74 74 6f 6d 42 6f 78 22 3e 0a 20 20 20 20 20 20 3c 67 72 6f 75 70 62 6f 78 20 69 | s="bottomBox">.......<groupbox.i |
142fa0 | 64 3d 22 61 64 64 6f 6e 73 4d 67 72 47 72 6f 75 70 22 20 6f 72 69 65 6e 74 3d 22 68 6f 72 69 7a | d="addonsMgrGroup".orient="horiz |
142fc0 | 6f 6e 74 61 6c 22 20 66 6c 65 78 3d 22 31 22 3e 0a 20 20 20 20 20 20 20 20 3c 63 61 70 74 69 6f | ontal".flex="1">.........<captio |
142fe0 | 6e 20 6c 61 62 65 6c 3d 22 26 61 64 64 6f 6e 73 4d 67 72 2e 6c 61 62 65 6c 3b 22 2f 3e 0a 0a 20 | n.label="&addonsMgr.label;"/>... |
143000 | 20 20 20 20 20 20 20 3c 64 65 73 63 72 69 70 74 69 6f 6e 20 63 6f 6e 74 72 6f 6c 3d 22 6d 61 6e | .......<description.control="man |
143020 | 61 67 65 41 64 64 6f 6e 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ageAddons"...................... |
143040 | 66 6c 65 78 3d 22 31 22 3e 26 6d 61 6e 61 67 65 41 64 64 6f 6e 73 44 65 73 63 55 6e 69 78 32 2e | flex="1">&manageAddonsDescUnix2. |
143060 | 6c 61 62 65 6c 3b 3c 2f 64 65 73 63 72 69 70 74 69 6f 6e 3e 0a 20 20 20 20 20 20 20 20 3c 62 75 | label;</description>.........<bu |
143080 | 74 74 6f 6e 20 69 64 3d 22 6d 61 6e 61 67 65 41 64 64 6f 6e 73 22 20 6c 61 62 65 6c 3d 22 26 6d | tton.id="manageAddons".label="&m |
1430a0 | 61 6e 61 67 65 41 64 64 6f 6e 73 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 | anageAddons.label;"............. |
1430c0 | 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 6d 61 6e 61 67 65 41 64 64 6f 6e 73 2e 61 63 63 | ....accesskey="&manageAddons.acc |
1430e0 | 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 | esskey;".................oncomma |
143100 | 6e 64 3d 22 67 4d 61 69 6e 50 61 6e 65 2e 73 68 6f 77 41 64 64 6f 6e 73 4d 67 72 28 29 3b 22 2f | nd="gMainPane.showAddonsMgr();"/ |
143120 | 3e 0a 20 20 20 20 20 20 3c 2f 67 72 6f 75 70 62 6f 78 3e 0a 20 20 20 20 3c 2f 68 62 6f 78 3e 0a | >.......</groupbox>.....</hbox>. |
143140 | 0a 20 20 3c 2f 70 72 65 66 70 61 6e 65 3e 0a 0a 3c 2f 6f 76 65 72 6c 61 79 3e 0a 50 4b 03 04 14 | ...</prefpane>..</overlay>.PK... |
143160 | 00 00 00 00 00 f3 4b 18 3b 87 3d d1 49 fc 40 00 00 fc 40 00 00 23 00 00 00 63 6f 6e 74 65 6e 74 | ......K.;.=.I.@...@..#...content |
143180 | 2f 62 72 6f 77 73 65 72 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 6d 61 69 6e 2e 6a 73 2f 2f 40 6c | /browser/preferences/main.js//@l |
1431a0 | 69 6e 65 20 34 30 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 | ine.40."/builds/moz2_slave/linux |
1431c0 | 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 63 6f 6d 70 6f 6e 65 6e 74 73 2f | _build/build/browser/components/ |
1431e0 | 70 72 65 66 65 72 65 6e 63 65 73 2f 6d 61 69 6e 2e 6a 73 22 0a 0a 76 61 72 20 67 4d 61 69 6e 50 | preferences/main.js"..var.gMainP |
143200 | 61 6e 65 20 3d 20 7b 0a 20 20 5f 70 61 6e 65 3a 20 6e 75 6c 6c 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 | ane.=.{..._pane:.null,..../**... |
143220 | 20 2a 20 49 6e 69 74 69 61 6c 69 7a 61 74 69 6f 6e 20 6f 66 20 74 68 69 73 2e 0a 20 20 20 2a 2f | .*.Initialization.of.this.....*/ |
143240 | 0a 20 20 69 6e 69 74 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 74 68 69 | ...init:.function.()...{.....thi |
143260 | 73 2e 5f 70 61 6e 65 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 | s._pane.=.document.getElementByI |
143280 | 64 28 22 70 61 6e 65 4d 61 69 6e 22 29 3b 0a 0a 20 20 20 20 2f 2f 20 73 65 74 20 75 70 20 74 68 | d("paneMain");......//.set.up.th |
1432a0 | 65 20 22 75 73 65 20 63 75 72 72 65 6e 74 20 70 61 67 65 22 20 6c 61 62 65 6c 2d 63 68 61 6e 67 | e."use.current.page".label-chang |
1432c0 | 69 6e 67 20 6c 69 73 74 65 6e 65 72 0a 20 20 20 20 74 68 69 73 2e 5f 75 70 64 61 74 65 55 73 65 | ing.listener.....this._updateUse |
1432e0 | 43 75 72 72 65 6e 74 42 75 74 74 6f 6e 28 29 3b 0a 20 20 20 20 77 69 6e 64 6f 77 2e 61 64 64 45 | CurrentButton();.....window.addE |
143300 | 76 65 6e 74 4c 69 73 74 65 6e 65 72 28 22 66 6f 63 75 73 22 2c 20 74 68 69 73 2e 5f 75 70 64 61 | ventListener("focus",.this._upda |
143320 | 74 65 55 73 65 43 75 72 72 65 6e 74 42 75 74 74 6f 6e 2c 20 66 61 6c 73 65 29 3b 0a 20 20 7d 2c | teUseCurrentButton,.false);...}, |
143340 | 0a 0a 20 20 2f 2f 20 48 4f 4d 45 20 50 41 47 45 0a 0a 20 20 2f 2a 0a 20 20 20 2a 20 50 72 65 66 | ....//.HOME.PAGE..../*....*.Pref |
143360 | 65 72 65 6e 63 65 73 3a 0a 20 20 20 2a 0a 20 20 20 2a 20 62 72 6f 77 73 65 72 2e 73 74 61 72 74 | erences:....*....*.browser.start |
143380 | 75 70 2e 68 6f 6d 65 70 61 67 65 0a 20 20 20 2a 20 2d 20 74 68 65 20 75 73 65 72 27 73 20 68 6f | up.homepage....*.-.the.user's.ho |
1433a0 | 6d 65 20 70 61 67 65 2c 20 61 73 20 61 20 73 74 72 69 6e 67 3b 20 69 66 20 74 68 65 20 68 6f 6d | me.page,.as.a.string;.if.the.hom |
1433c0 | 65 20 70 61 67 65 20 69 73 20 61 20 73 65 74 20 6f 66 20 74 61 62 73 2c 0a 20 20 20 2a 20 20 20 | e.page.is.a.set.of.tabs,....*... |
1433e0 | 74 68 69 73 20 77 69 6c 6c 20 62 65 20 74 68 6f 73 65 20 55 52 4c 73 20 73 65 70 61 72 61 74 65 | this.will.be.those.URLs.separate |
143400 | 64 20 62 79 20 74 68 65 20 70 69 70 65 20 63 68 61 72 61 63 74 65 72 20 22 7c 22 0a 20 20 20 2a | d.by.the.pipe.character."|"....* |
143420 | 20 62 72 6f 77 73 65 72 2e 73 74 61 72 74 75 70 2e 70 61 67 65 0a 20 20 20 2a 20 2d 20 77 68 61 | .browser.startup.page....*.-.wha |
143440 | 74 20 70 61 67 65 28 73 29 20 74 6f 20 73 68 6f 77 20 77 68 65 6e 20 74 68 65 20 75 73 65 72 20 | t.page(s).to.show.when.the.user. |
143460 | 73 74 61 72 74 73 20 74 68 65 20 61 70 70 6c 69 63 61 74 69 6f 6e 2c 20 61 73 20 61 6e 20 69 6e | starts.the.application,.as.an.in |
143480 | 74 65 67 65 72 3a 0a 20 20 20 2a 0a 20 20 20 2a 20 20 20 20 20 30 3a 20 61 20 62 6c 61 6e 6b 20 | teger:....*....*.....0:.a.blank. |
1434a0 | 70 61 67 65 0a 20 20 20 2a 20 20 20 20 20 31 3a 20 74 68 65 20 68 6f 6d 65 20 70 61 67 65 20 28 | page....*.....1:.the.home.page.( |
1434c0 | 61 73 20 73 65 74 20 62 79 20 74 68 65 20 62 72 6f 77 73 65 72 2e 73 74 61 72 74 75 70 2e 68 6f | as.set.by.the.browser.startup.ho |
1434e0 | 6d 65 70 61 67 65 20 70 72 65 66 29 0a 20 20 20 2a 20 20 20 20 20 32 3a 20 74 68 65 20 6c 61 73 | mepage.pref)....*.....2:.the.las |
143500 | 74 20 70 61 67 65 20 74 68 65 20 75 73 65 72 20 76 69 73 69 74 65 64 20 28 44 45 50 52 45 43 41 | t.page.the.user.visited.(DEPRECA |
143520 | 54 45 44 29 0a 20 20 20 2a 20 20 20 20 20 33 3a 20 77 69 6e 64 6f 77 73 20 61 6e 64 20 74 61 62 | TED)....*.....3:.windows.and.tab |
143540 | 73 20 66 72 6f 6d 20 74 68 65 20 6c 61 73 74 20 73 65 73 73 69 6f 6e 20 28 61 2e 6b 2e 61 2e 20 | s.from.the.last.session.(a.k.a.. |
143560 | 73 65 73 73 69 6f 6e 20 72 65 73 74 6f 72 65 29 0a 20 20 20 2a 0a 20 20 20 2a 20 20 20 54 68 65 | session.restore)....*....*...The |
143580 | 20 64 65 70 72 65 63 61 74 65 64 20 6f 70 74 69 6f 6e 20 69 73 20 6e 6f 74 20 65 78 70 6f 73 65 | .deprecated.option.is.not.expose |
1435a0 | 64 20 69 6e 20 55 49 3b 20 68 6f 77 65 76 65 72 2c 20 69 66 20 74 68 65 20 75 73 65 72 20 68 61 | d.in.UI;.however,.if.the.user.ha |
1435c0 | 73 20 69 74 0a 20 20 20 2a 20 20 20 73 65 6c 65 63 74 65 64 20 61 6e 64 20 64 6f 65 73 6e 27 74 | s.it....*...selected.and.doesn't |
1435e0 | 20 63 68 61 6e 67 65 20 74 68 65 20 55 49 20 66 6f 72 20 74 68 69 73 20 70 72 65 66 65 72 65 6e | .change.the.UI.for.this.preferen |
143600 | 63 65 2c 20 74 68 65 20 64 65 70 72 65 63 61 74 65 64 0a 20 20 20 2a 20 20 20 6f 70 74 69 6f 6e | ce,.the.deprecated....*...option |
143620 | 20 69 73 20 70 72 65 73 65 72 76 65 64 2e 0a 20 20 20 2a 2f 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a | .is.preserved.....*/..../**....* |
143640 | 20 53 65 74 73 20 74 68 65 20 68 6f 6d 65 20 70 61 67 65 20 74 6f 20 74 68 65 20 63 75 72 72 65 | .Sets.the.home.page.to.the.curre |
143660 | 6e 74 20 64 69 73 70 6c 61 79 65 64 20 70 61 67 65 20 28 6f 72 20 66 72 6f 6e 74 6d 6f 73 74 20 | nt.displayed.page.(or.frontmost. |
143680 | 74 61 62 2c 20 69 66 20 74 68 65 0a 20 20 20 2a 20 6d 6f 73 74 20 72 65 63 65 6e 74 20 62 72 6f | tab,.if.the....*.most.recent.bro |
1436a0 | 77 73 65 72 20 77 69 6e 64 6f 77 20 63 6f 6e 74 61 69 6e 73 20 6d 75 6c 74 69 70 6c 65 20 74 61 | wser.window.contains.multiple.ta |
1436c0 | 62 73 29 2c 20 75 70 64 61 74 69 6e 67 20 70 72 65 66 65 72 65 6e 63 65 0a 20 20 20 2a 20 77 69 | bs),.updating.preference....*.wi |
1436e0 | 6e 64 6f 77 20 55 49 20 74 6f 20 72 65 66 6c 65 63 74 20 74 68 69 73 2e 0a 20 20 20 2a 2f 0a 20 | ndow.UI.to.reflect.this.....*/.. |
143700 | 20 73 65 74 48 6f 6d 65 50 61 67 65 54 6f 43 75 72 72 65 6e 74 3a 20 66 75 6e 63 74 69 6f 6e 20 | .setHomePageToCurrent:.function. |
143720 | 28 29 0a 20 20 7b 0a 20 20 20 20 76 61 72 20 77 69 6e 3b 0a 20 20 20 20 69 66 20 28 64 6f 63 75 | ()...{.....var.win;.....if.(docu |
143740 | 6d 65 6e 74 2e 64 6f 63 75 6d 65 6e 74 45 6c 65 6d 65 6e 74 2e 69 6e 73 74 61 6e 74 41 70 70 6c | ment.documentElement.instantAppl |
143760 | 79 29 20 7b 0a 20 20 20 20 20 20 2f 2f 20 49 66 20 77 65 27 72 65 20 69 6e 20 69 6e 73 74 61 6e | y).{.......//.If.we're.in.instan |
143780 | 74 2d 61 70 70 6c 79 20 6d 6f 64 65 2c 20 75 73 65 20 74 68 65 20 6d 6f 73 74 20 72 65 63 65 6e | t-apply.mode,.use.the.most.recen |
1437a0 | 74 20 62 72 6f 77 73 65 72 20 77 69 6e 64 6f 77 0a 20 20 20 20 20 20 76 61 72 20 77 6d 20 3d 20 | t.browser.window.......var.wm.=. |
1437c0 | 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 | Components.classes["@mozilla.org |
1437e0 | 2f 61 70 70 73 68 65 6c 6c 2f 77 69 6e 64 6f 77 2d 6d 65 64 69 61 74 6f 72 3b 31 22 5d 0a 20 20 | /appshell/window-mediator;1"]... |
143800 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 | ........................getServi |
143820 | 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 57 69 6e 64 | ce(Components.interfaces.nsIWind |
143840 | 6f 77 4d 65 64 69 61 74 6f 72 29 3b 0a 20 20 20 20 20 20 77 69 6e 20 3d 20 77 6d 2e 67 65 74 4d | owMediator);.......win.=.wm.getM |
143860 | 6f 73 74 52 65 63 65 6e 74 57 69 6e 64 6f 77 28 22 6e 61 76 69 67 61 74 6f 72 3a 62 72 6f 77 73 | ostRecentWindow("navigator:brows |
143880 | 65 72 22 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 77 69 6e 20 3d | er");.....}.....else.......win.= |
1438a0 | 20 77 69 6e 64 6f 77 2e 6f 70 65 6e 65 72 3b 0a 0a 20 20 20 20 69 66 20 28 77 69 6e 29 20 7b 0a | .window.opener;......if.(win).{. |
1438c0 | 20 20 20 20 20 20 76 61 72 20 68 6f 6d 65 50 61 67 65 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 | ......var.homePage.=.document.ge |
1438e0 | 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 62 72 6f 77 73 65 72 2e 73 74 61 72 74 75 70 2e 68 6f | tElementById("browser.startup.ho |
143900 | 6d 65 70 61 67 65 22 29 3b 0a 20 20 20 20 20 20 76 61 72 20 62 72 6f 77 73 65 72 20 3d 20 77 69 | mepage");.......var.browser.=.wi |
143920 | 6e 2e 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 63 6f 6e 74 65 | n.document.getElementById("conte |
143940 | 6e 74 22 29 3b 0a 0a 20 20 20 20 20 20 76 61 72 20 6e 65 77 56 61 6c 20 3d 20 62 72 6f 77 73 65 | nt");........var.newVal.=.browse |
143960 | 72 2e 62 72 6f 77 73 65 72 73 5b 30 5d 2e 63 75 72 72 65 6e 74 55 52 49 2e 73 70 65 63 3b 0a 20 | r.browsers[0].currentURI.spec;.. |
143980 | 20 20 20 20 20 69 66 20 28 62 72 6f 77 73 65 72 2e 62 72 6f 77 73 65 72 73 2e 6c 65 6e 67 74 68 | .....if.(browser.browsers.length |
1439a0 | 20 3e 20 31 29 20 7b 0a 20 20 20 20 20 20 20 20 2f 2f 20 58 58 58 20 75 73 69 6e 67 20 64 61 6e | .>.1).{.........//.XXX.using.dan |
1439c0 | 67 65 72 6f 75 73 20 22 7c 22 20 6a 6f 69 6e 65 72 21 0a 20 20 20 20 20 20 20 20 66 6f 72 20 28 | gerous."|".joiner!.........for.( |
1439e0 | 76 61 72 20 69 20 3d 20 31 3b 20 69 20 3c 20 62 72 6f 77 73 65 72 2e 62 72 6f 77 73 65 72 73 2e | var.i.=.1;.i.<.browser.browsers. |
143a00 | 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 0a 20 20 20 20 20 20 20 20 20 20 6e 65 77 56 61 6c 20 2b 3d | length;.i++)...........newVal.+= |
143a20 | 20 22 7c 22 20 2b 20 62 72 6f 77 73 65 72 2e 62 72 6f 77 73 65 72 73 5b 69 5d 2e 63 75 72 72 65 | ."|".+.browser.browsers[i].curre |
143a40 | 6e 74 55 52 49 2e 73 70 65 63 3b 0a 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 68 6f 6d 65 50 | ntURI.spec;.......}........homeP |
143a60 | 61 67 65 2e 76 61 6c 75 65 20 3d 20 6e 65 77 56 61 6c 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a | age.value.=.newVal;.....}...},.. |
143a80 | 20 20 2f 2a 2a 0a 20 20 20 2a 20 44 69 73 70 6c 61 79 73 20 61 20 64 69 61 6c 6f 67 20 69 6e 20 | ../**....*.Displays.a.dialog.in. |
143aa0 | 77 68 69 63 68 20 74 68 65 20 75 73 65 72 20 63 61 6e 20 73 65 6c 65 63 74 20 61 20 62 6f 6f 6b | which.the.user.can.select.a.book |
143ac0 | 6d 61 72 6b 20 74 6f 20 75 73 65 20 61 73 20 68 6f 6d 65 0a 20 20 20 2a 20 70 61 67 65 2e 20 20 | mark.to.use.as.home....*.page... |
143ae0 | 49 66 20 74 68 65 20 75 73 65 72 20 73 65 6c 65 63 74 73 20 61 20 62 6f 6f 6b 6d 61 72 6b 2c 20 | If.the.user.selects.a.bookmark,. |
143b00 | 74 68 61 74 20 62 6f 6f 6b 6d 61 72 6b 27 73 20 6e 61 6d 65 20 69 73 20 64 69 73 70 6c 61 79 65 | that.bookmark's.name.is.displaye |
143b20 | 64 20 69 6e 0a 20 20 20 2a 20 55 49 20 61 6e 64 20 74 68 65 20 62 6f 6f 6b 6d 61 72 6b 27 73 20 | d.in....*.UI.and.the.bookmark's. |
143b40 | 61 64 64 72 65 73 73 20 69 73 20 73 74 6f 72 65 64 20 74 6f 20 74 68 65 20 68 6f 6d 65 20 70 61 | address.is.stored.to.the.home.pa |
143b60 | 67 65 20 70 72 65 66 65 72 65 6e 63 65 2e 0a 20 20 20 2a 2f 0a 20 20 73 65 74 48 6f 6d 65 50 61 | ge.preference.....*/...setHomePa |
143b80 | 67 65 54 6f 42 6f 6f 6b 6d 61 72 6b 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 | geToBookmark:.function.()...{... |
143ba0 | 20 20 76 61 72 20 72 76 20 3d 20 7b 20 75 72 6c 73 3a 20 6e 75 6c 6c 2c 20 6e 61 6d 65 73 3a 20 | ..var.rv.=.{.urls:.null,.names:. |
143bc0 | 6e 75 6c 6c 20 7d 3b 0a 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 64 6f 63 75 6d 65 6e 74 45 6c 65 | null.};.....document.documentEle |
143be0 | 6d 65 6e 74 2e 6f 70 65 6e 53 75 62 44 69 61 6c 6f 67 28 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f | ment.openSubDialog("chrome://bro |
143c00 | 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 73 65 6c 65 63 74 42 | wser/content/preferences/selectB |
143c20 | 6f 6f 6b 6d 61 72 6b 2e 78 75 6c 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ookmark.xul",................... |
143c40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 72 65 73 69 7a 61 | ........................."resiza |
143c60 | 62 6c 65 22 2c 20 72 76 29 3b 20 20 0a 20 20 20 20 69 66 20 28 72 76 2e 75 72 6c 73 20 26 26 20 | ble",.rv);.......if.(rv.urls.&&. |
143c80 | 72 76 2e 6e 61 6d 65 73 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 68 6f 6d 65 50 61 67 65 20 3d | rv.names).{.......var.homePage.= |
143ca0 | 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 62 72 6f 77 73 65 | .document.getElementById("browse |
143cc0 | 72 2e 73 74 61 72 74 75 70 2e 68 6f 6d 65 70 61 67 65 22 29 3b 0a 0a 20 20 20 20 20 20 2f 2f 20 | r.startup.homepage");........//. |
143ce0 | 58 58 58 20 73 74 69 6c 6c 20 75 73 69 6e 67 20 64 61 6e 67 65 72 6f 75 73 20 22 7c 22 20 6a 6f | XXX.still.using.dangerous."|".jo |
143d00 | 69 6e 65 72 21 0a 20 20 20 20 20 20 68 6f 6d 65 50 61 67 65 2e 76 61 6c 75 65 20 3d 20 72 76 2e | iner!.......homePage.value.=.rv. |
143d20 | 75 72 6c 73 2e 6a 6f 69 6e 28 22 7c 22 29 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 2f 2a | urls.join("|");.....}...},..../* |
143d40 | 2a 0a 20 20 20 2a 20 53 77 69 74 63 68 65 73 20 74 68 65 20 22 55 73 65 20 43 75 72 72 65 6e 74 | *....*.Switches.the."Use.Current |
143d60 | 20 50 61 67 65 22 20 62 75 74 74 6f 6e 20 62 65 74 77 65 65 6e 20 69 74 73 20 73 69 6e 67 75 6c | .Page".button.between.its.singul |
143d80 | 61 72 20 61 6e 64 20 70 6c 75 72 61 6c 0a 20 20 20 2a 20 66 6f 72 6d 73 2e 0a 20 20 20 2a 2f 0a | ar.and.plural....*.forms.....*/. |
143da0 | 20 20 5f 75 70 64 61 74 65 55 73 65 43 75 72 72 65 6e 74 42 75 74 74 6f 6e 3a 20 66 75 6e 63 74 | .._updateUseCurrentButton:.funct |
143dc0 | 69 6f 6e 20 28 29 20 7b 0a 20 20 20 20 76 61 72 20 75 73 65 43 75 72 72 65 6e 74 20 3d 20 64 6f | ion.().{.....var.useCurrent.=.do |
143de0 | 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 75 73 65 43 75 72 72 65 6e | cument.getElementById("useCurren |
143e00 | 74 22 29 3b 0a 0a 20 20 20 20 76 61 72 20 77 69 6e 64 6f 77 49 73 50 72 65 73 65 6e 74 3b 0a 20 | t");......var.windowIsPresent;.. |
143e20 | 20 20 20 76 61 72 20 77 69 6e 3b 0a 20 20 20 20 69 66 20 28 64 6f 63 75 6d 65 6e 74 2e 64 6f 63 | ...var.win;.....if.(document.doc |
143e40 | 75 6d 65 6e 74 45 6c 65 6d 65 6e 74 2e 69 6e 73 74 61 6e 74 41 70 70 6c 79 29 20 7b 0a 20 20 20 | umentElement.instantApply).{.... |
143e60 | 20 20 20 63 6f 6e 73 74 20 43 63 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 | ...const.Cc.=.Components.classes |
143e80 | 2c 20 43 69 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 3b 0a 20 20 | ,.Ci.=.Components.interfaces;... |
143ea0 | 20 20 20 20 2f 2f 20 49 66 20 77 65 27 72 65 20 69 6e 20 69 6e 73 74 61 6e 74 2d 61 70 70 6c 79 | ....//.If.we're.in.instant-apply |
143ec0 | 20 6d 6f 64 65 2c 20 75 73 65 20 74 68 65 20 6d 6f 73 74 20 72 65 63 65 6e 74 20 62 72 6f 77 73 | .mode,.use.the.most.recent.brows |
143ee0 | 65 72 20 77 69 6e 64 6f 77 0a 20 20 20 20 20 20 76 61 72 20 77 6d 20 3d 20 43 63 5b 22 40 6d 6f | er.window.......var.wm.=.Cc["@mo |
143f00 | 7a 69 6c 6c 61 2e 6f 72 67 2f 61 70 70 73 68 65 6c 6c 2f 77 69 6e 64 6f 77 2d 6d 65 64 69 61 74 | zilla.org/appshell/window-mediat |
143f20 | 6f 72 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 | or;1"]...................getServ |
143f40 | 69 63 65 28 43 69 2e 6e 73 49 57 69 6e 64 6f 77 4d 65 64 69 61 74 6f 72 29 3b 0a 20 20 20 20 20 | ice(Ci.nsIWindowMediator);...... |
143f60 | 20 77 69 6e 20 3d 20 77 6d 2e 67 65 74 4d 6f 73 74 52 65 63 65 6e 74 57 69 6e 64 6f 77 28 22 6e | .win.=.wm.getMostRecentWindow("n |
143f80 | 61 76 69 67 61 74 6f 72 3a 62 72 6f 77 73 65 72 22 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 65 6c | avigator:browser");.....}.....el |
143fa0 | 73 65 0a 20 20 20 20 20 20 77 69 6e 20 3d 20 77 69 6e 64 6f 77 2e 6f 70 65 6e 65 72 3b 0a 0a 20 | se.......win.=.window.opener;... |
143fc0 | 20 20 20 69 66 20 28 77 69 6e 20 26 26 20 77 69 6e 2e 64 6f 63 75 6d 65 6e 74 2e 64 6f 63 75 6d | ...if.(win.&&.win.document.docum |
143fe0 | 65 6e 74 45 6c 65 6d 65 6e 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 | entElement....................ge |
144000 | 74 41 74 74 72 69 62 75 74 65 28 22 77 69 6e 64 6f 77 74 79 70 65 22 29 20 3d 3d 20 22 6e 61 76 | tAttribute("windowtype").==."nav |
144020 | 69 67 61 74 6f 72 3a 62 72 6f 77 73 65 72 22 29 20 7b 0a 20 20 20 20 20 20 77 69 6e 64 6f 77 49 | igator:browser").{.......windowI |
144040 | 73 50 72 65 73 65 6e 74 20 3d 20 74 72 75 65 3b 0a 0a 20 20 20 20 20 20 76 61 72 20 74 61 62 62 | sPresent.=.true;........var.tabb |
144060 | 72 6f 77 73 65 72 20 3d 20 77 69 6e 2e 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 | rowser.=.win.document.getElement |
144080 | 42 79 49 64 28 22 63 6f 6e 74 65 6e 74 22 29 3b 0a 20 20 20 20 20 20 69 66 20 28 74 61 62 62 72 | ById("content");.......if.(tabbr |
1440a0 | 6f 77 73 65 72 2e 62 72 6f 77 73 65 72 73 2e 6c 65 6e 67 74 68 20 3e 20 31 29 0a 20 20 20 20 20 | owser.browsers.length.>.1)...... |
1440c0 | 20 20 20 75 73 65 43 75 72 72 65 6e 74 2e 6c 61 62 65 6c 20 3d 20 75 73 65 43 75 72 72 65 6e 74 | ...useCurrent.label.=.useCurrent |
1440e0 | 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 6c 61 62 65 6c 32 22 29 3b 0a 20 20 20 20 20 20 65 | .getAttribute("label2");.......e |
144100 | 6c 73 65 0a 20 20 20 20 20 20 20 20 75 73 65 43 75 72 72 65 6e 74 2e 6c 61 62 65 6c 20 3d 20 75 | lse.........useCurrent.label.=.u |
144120 | 73 65 43 75 72 72 65 6e 74 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 6c 61 62 65 6c 31 22 29 | seCurrent.getAttribute("label1") |
144140 | 3b 0a 20 20 20 20 7d 0a 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 77 69 6e 64 6f 77 49 | ;.....}.....else.{.......windowI |
144160 | 73 50 72 65 73 65 6e 74 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 20 75 73 65 43 75 72 72 65 | sPresent.=.false;.......useCurre |
144180 | 6e 74 2e 6c 61 62 65 6c 20 3d 20 75 73 65 43 75 72 72 65 6e 74 2e 67 65 74 41 74 74 72 69 62 75 | nt.label.=.useCurrent.getAttribu |
1441a0 | 74 65 28 22 6c 61 62 65 6c 31 22 29 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 2f 2f 20 49 6e 20 74 | te("label1");.....}......//.In.t |
1441c0 | 68 69 73 20 63 61 73 65 2c 20 74 68 65 20 62 75 74 74 6f 6e 27 73 20 64 69 73 61 62 6c 65 64 20 | his.case,.the.button's.disabled. |
1441e0 | 73 74 61 74 65 20 69 73 20 73 65 74 20 62 79 20 70 72 65 66 65 72 65 6e 63 65 73 2e 78 6d 6c 2e | state.is.set.by.preferences.xml. |
144200 | 0a 20 20 20 20 69 66 20 28 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 | .....if.(document.getElementById |
144220 | 0a 20 20 20 20 20 20 20 20 28 22 70 72 65 66 2e 62 72 6f 77 73 65 72 2e 68 6f 6d 65 70 61 67 65 | .........("pref.browser.homepage |
144240 | 2e 64 69 73 61 62 6c 65 5f 62 75 74 74 6f 6e 2e 63 75 72 72 65 6e 74 5f 70 61 67 65 22 29 2e 6c | .disable_button.current_page").l |
144260 | 6f 63 6b 65 64 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 20 20 75 73 65 43 75 72 | ocked).......return;......useCur |
144280 | 72 65 6e 74 2e 64 69 73 61 62 6c 65 64 20 3d 20 21 77 69 6e 64 6f 77 49 73 50 72 65 73 65 6e 74 | rent.disabled.=.!windowIsPresent |
1442a0 | 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 52 65 73 74 6f 72 65 73 20 74 68 65 20 | ;...},..../**....*.Restores.the. |
1442c0 | 64 65 66 61 75 6c 74 20 68 6f 6d 65 20 70 61 67 65 20 61 73 20 74 68 65 20 75 73 65 72 27 73 20 | default.home.page.as.the.user's. |
1442e0 | 68 6f 6d 65 20 70 61 67 65 2e 0a 20 20 20 2a 2f 0a 20 20 72 65 73 74 6f 72 65 44 65 66 61 75 6c | home.page.....*/...restoreDefaul |
144300 | 74 48 6f 6d 65 50 61 67 65 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 76 | tHomePage:.function.()...{.....v |
144320 | 61 72 20 68 6f 6d 65 50 61 67 65 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e | ar.homePage.=.document.getElemen |
144340 | 74 42 79 49 64 28 22 62 72 6f 77 73 65 72 2e 73 74 61 72 74 75 70 2e 68 6f 6d 65 70 61 67 65 22 | tById("browser.startup.homepage" |
144360 | 29 3b 0a 20 20 20 20 68 6f 6d 65 50 61 67 65 2e 76 61 6c 75 65 20 3d 20 68 6f 6d 65 50 61 67 65 | );.....homePage.value.=.homePage |
144380 | 2e 64 65 66 61 75 6c 74 56 61 6c 75 65 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2f 20 44 4f 57 4e 4c 4f | .defaultValue;...},....//.DOWNLO |
1443a0 | 41 44 53 0a 0a 20 20 2f 2a 0a 20 20 20 2a 20 50 72 65 66 65 72 65 6e 63 65 73 3a 0a 20 20 20 2a | ADS..../*....*.Preferences:....* |
1443c0 | 20 0a 20 20 20 2a 20 62 72 6f 77 73 65 72 2e 64 6f 77 6e 6c 6f 61 64 2e 73 68 6f 77 57 68 65 6e | .....*.browser.download.showWhen |
1443e0 | 53 74 61 72 74 69 6e 67 20 2d 20 62 6f 6f 6c 0a 20 20 20 2a 20 20 20 54 72 75 65 20 69 66 20 74 | Starting.-.bool....*...True.if.t |
144400 | 68 65 20 44 6f 77 6e 6c 6f 61 64 20 4d 61 6e 61 67 65 72 20 73 68 6f 75 6c 64 20 62 65 20 6f 70 | he.Download.Manager.should.be.op |
144420 | 65 6e 65 64 20 77 68 65 6e 20 61 20 64 6f 77 6e 6c 6f 61 64 20 69 73 0a 20 20 20 2a 20 20 20 73 | ened.when.a.download.is....*...s |
144440 | 74 61 72 74 65 64 2c 20 66 61 6c 73 65 20 69 66 20 69 74 20 73 68 6f 75 6c 64 6e 27 74 20 62 65 | tarted,.false.if.it.shouldn't.be |
144460 | 20 6f 70 65 6e 65 64 2e 0a 20 20 20 2a 20 62 72 6f 77 73 65 72 2e 64 6f 77 6e 6c 6f 61 64 2e 63 | .opened.....*.browser.download.c |
144480 | 6c 6f 73 65 57 68 65 6e 44 6f 6e 65 20 2d 20 62 6f 6f 6c 0a 20 20 20 2a 20 20 20 54 72 75 65 20 | loseWhenDone.-.bool....*...True. |
1444a0 | 69 66 20 74 68 65 20 44 6f 77 6e 6c 6f 61 64 20 4d 61 6e 61 67 65 72 20 73 68 6f 75 6c 64 20 62 | if.the.Download.Manager.should.b |
1444c0 | 65 20 63 6c 6f 73 65 64 20 77 68 65 6e 20 61 6c 6c 20 64 6f 77 6e 6c 6f 61 64 73 0a 20 20 20 2a | e.closed.when.all.downloads....* |
1444e0 | 20 20 20 63 6f 6d 70 6c 65 74 65 2c 20 66 61 6c 73 65 20 69 66 20 69 74 20 73 68 6f 75 6c 64 20 | ...complete,.false.if.it.should. |
144500 | 62 65 20 6c 65 66 74 20 6f 70 65 6e 2e 0a 20 20 20 2a 20 62 72 6f 77 73 65 72 2e 64 6f 77 6e 6c | be.left.open.....*.browser.downl |
144520 | 6f 61 64 2e 75 73 65 44 6f 77 6e 6c 6f 61 64 44 69 72 20 2d 20 62 6f 6f 6c 0a 20 20 20 2a 20 20 | oad.useDownloadDir.-.bool....*.. |
144540 | 20 54 72 75 65 20 2d 20 53 61 76 65 20 66 69 6c 65 73 20 64 69 72 65 63 74 6c 79 20 74 6f 20 74 | .True.-.Save.files.directly.to.t |
144560 | 68 65 20 66 6f 6c 64 65 72 20 63 6f 6e 66 69 67 75 72 65 64 20 76 69 61 20 74 68 65 0a 20 20 20 | he.folder.configured.via.the.... |
144580 | 2a 20 20 20 62 72 6f 77 73 65 72 2e 64 6f 77 6e 6c 6f 61 64 2e 66 6f 6c 64 65 72 4c 69 73 74 20 | *...browser.download.folderList. |
1445a0 | 70 72 65 66 65 72 65 6e 63 65 2e 0a 20 20 20 2a 20 20 20 46 61 6c 73 65 20 2d 20 41 6c 77 61 79 | preference.....*...False.-.Alway |
1445c0 | 73 20 61 73 6b 20 74 68 65 20 75 73 65 72 20 77 68 65 72 65 20 74 6f 20 73 61 76 65 20 61 20 66 | s.ask.the.user.where.to.save.a.f |
1445e0 | 69 6c 65 20 61 6e 64 20 64 65 66 61 75 6c 74 20 74 6f 20 0a 20 20 20 2a 20 20 20 62 72 6f 77 73 | ile.and.default.to.....*...brows |
144600 | 65 72 2e 64 6f 77 6e 6c 6f 61 64 2e 6c 61 73 74 44 69 72 20 77 68 65 6e 20 64 69 73 70 6c 61 79 | er.download.lastDir.when.display |
144620 | 69 6e 67 20 61 20 66 6f 6c 64 65 72 20 70 69 63 6b 65 72 20 64 69 61 6c 6f 67 2e 0a 20 20 20 2a | ing.a.folder.picker.dialog.....* |
144640 | 20 62 72 6f 77 73 65 72 2e 64 6f 77 6e 6c 6f 61 64 2e 64 69 72 20 2d 20 6c 6f 63 61 6c 20 66 69 | .browser.download.dir.-.local.fi |
144660 | 6c 65 20 68 61 6e 64 6c 65 0a 20 20 20 2a 20 20 20 41 20 6c 6f 63 61 6c 20 66 6f 6c 64 65 72 20 | le.handle....*...A.local.folder. |
144680 | 74 68 65 20 75 73 65 72 20 6d 61 79 20 68 61 76 65 20 73 65 6c 65 63 74 65 64 20 66 6f 72 20 64 | the.user.may.have.selected.for.d |
1446a0 | 6f 77 6e 6c 6f 61 64 65 64 20 66 69 6c 65 73 20 74 6f 20 62 65 0a 20 20 20 2a 20 20 20 73 61 76 | ownloaded.files.to.be....*...sav |
1446c0 | 65 64 2e 20 4d 69 67 72 61 74 69 6f 6e 20 6f 66 20 6f 74 68 65 72 20 62 72 6f 77 73 65 72 20 73 | ed..Migration.of.other.browser.s |
1446e0 | 65 74 74 69 6e 67 73 20 6d 61 79 20 61 6c 73 6f 20 73 65 74 20 74 68 69 73 20 70 61 74 68 2e 0a | ettings.may.also.set.this.path.. |
144700 | 20 20 20 2a 20 20 20 54 68 69 73 20 66 6f 6c 64 65 72 20 69 73 20 65 6e 61 62 6c 65 64 20 77 68 | ...*...This.folder.is.enabled.wh |
144720 | 65 6e 20 66 6f 6c 64 65 72 4c 69 73 74 20 65 71 75 61 6c 73 20 32 2e 0a 20 20 20 2a 20 62 72 6f | en.folderList.equals.2.....*.bro |
144740 | 77 73 65 72 2e 64 6f 77 6e 6c 6f 61 64 2e 6c 61 73 74 44 69 72 20 2d 20 6c 6f 63 61 6c 20 66 69 | wser.download.lastDir.-.local.fi |
144760 | 6c 65 20 68 61 6e 64 6c 65 0a 20 20 20 2a 20 20 20 4d 61 79 20 63 6f 6e 74 61 69 6e 20 74 68 65 | le.handle....*...May.contain.the |
144780 | 20 6c 61 73 74 20 66 6f 6c 64 65 72 20 70 61 74 68 20 61 63 63 65 73 73 65 64 20 77 68 65 6e 20 | .last.folder.path.accessed.when. |
1447a0 | 74 68 65 20 75 73 65 72 20 62 72 6f 77 73 65 64 0a 20 20 20 2a 20 20 20 76 69 61 20 74 68 65 20 | the.user.browsed....*...via.the. |
1447c0 | 66 69 6c 65 20 73 61 76 65 2d 61 73 20 64 69 61 6c 6f 67 2e 20 28 73 65 65 20 63 6f 6e 74 65 6e | file.save-as.dialog..(see.conten |
1447e0 | 74 41 72 65 61 55 74 69 6c 73 2e 6a 73 29 0a 20 20 20 2a 20 62 72 6f 77 73 65 72 2e 64 6f 77 6e | tAreaUtils.js)....*.browser.down |
144800 | 6c 6f 61 64 2e 66 6f 6c 64 65 72 4c 69 73 74 20 2d 20 69 6e 74 0a 20 20 20 2a 20 20 20 49 6e 64 | load.folderList.-.int....*...Ind |
144820 | 69 63 61 74 65 73 20 74 68 65 20 6c 6f 63 61 74 69 6f 6e 20 75 73 65 72 73 20 77 69 73 68 20 74 | icates.the.location.users.wish.t |
144840 | 6f 20 73 61 76 65 20 64 6f 77 6e 6c 6f 61 64 65 64 20 66 69 6c 65 73 20 74 6f 6f 2e 0a 20 20 20 | o.save.downloaded.files.too..... |
144860 | 2a 20 20 20 49 74 20 69 73 20 61 6c 73 6f 20 75 73 65 64 20 74 6f 20 64 69 73 70 6c 61 79 20 73 | *...It.is.also.used.to.display.s |
144880 | 70 65 63 69 61 6c 20 66 69 6c 65 20 6c 61 62 65 6c 73 20 77 68 65 6e 20 74 68 65 20 64 65 66 61 | pecial.file.labels.when.the.defa |
1448a0 | 75 6c 74 0a 20 20 20 2a 20 20 20 64 6f 77 6e 6c 6f 61 64 20 6c 6f 63 61 74 69 6f 6e 20 69 73 20 | ult....*...download.location.is. |
1448c0 | 65 69 74 68 65 72 20 74 68 65 20 44 65 73 6b 74 6f 70 20 6f 72 20 74 68 65 20 44 6f 77 6e 6c 6f | either.the.Desktop.or.the.Downlo |
1448e0 | 61 64 73 20 66 6f 6c 64 65 72 2e 0a 20 20 20 2a 20 20 20 56 61 6c 75 65 73 3a 0a 20 20 20 2a 20 | ads.folder.....*...Values:....*. |
144900 | 20 20 20 20 30 20 2d 20 54 68 65 20 64 65 73 6b 74 6f 70 20 69 73 20 74 68 65 20 64 65 66 61 75 | ....0.-.The.desktop.is.the.defau |
144920 | 6c 74 20 64 6f 77 6e 6c 6f 61 64 20 6c 6f 63 61 74 69 6f 6e 2e 0a 20 20 20 2a 20 20 20 20 20 31 | lt.download.location.....*.....1 |
144940 | 20 2d 20 54 68 65 20 73 79 73 74 65 6d 27 73 20 64 6f 77 6e 6c 6f 61 64 73 20 66 6f 6c 64 65 72 | .-.The.system's.downloads.folder |
144960 | 20 69 73 20 74 68 65 20 64 65 66 61 75 6c 74 20 64 6f 77 6e 6c 6f 61 64 20 6c 6f 63 61 74 69 6f | .is.the.default.download.locatio |
144980 | 6e 2e 0a 20 20 20 2a 20 20 20 20 20 32 20 2d 20 54 68 65 20 64 65 66 61 75 6c 74 20 64 6f 77 6e | n.....*.....2.-.The.default.down |
1449a0 | 6c 6f 61 64 20 6c 6f 63 61 74 69 6f 6e 20 69 73 20 65 6c 73 65 77 68 65 72 65 20 61 73 20 73 70 | load.location.is.elsewhere.as.sp |
1449c0 | 65 63 69 66 69 65 64 20 69 6e 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 62 72 6f 77 73 65 72 2e | ecified.in....*.........browser. |
1449e0 | 64 6f 77 6e 6c 6f 61 64 2e 64 69 72 2e 0a 20 20 20 2a 20 62 72 6f 77 73 65 72 2e 64 6f 77 6e 6c | download.dir.....*.browser.downl |
144a00 | 6f 61 64 2e 64 6f 77 6e 6c 6f 61 64 44 69 72 0a 20 20 20 2a 20 20 20 64 65 70 72 65 63 61 74 65 | oad.downloadDir....*...deprecate |
144a20 | 64 2e 0a 20 20 20 2a 20 62 72 6f 77 73 65 72 2e 64 6f 77 6e 6c 6f 61 64 2e 64 65 66 61 75 6c 74 | d.....*.browser.download.default |
144a40 | 46 6f 6c 64 65 72 0a 20 20 20 2a 20 20 20 64 65 70 72 65 63 61 74 65 64 2e 0a 20 20 20 2a 2f 0a | Folder....*...deprecated.....*/. |
144a60 | 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 55 70 64 61 74 65 73 20 70 72 65 66 65 72 65 6e 63 65 73 20 | .../**....*.Updates.preferences. |
144a80 | 77 68 69 63 68 20 64 65 70 65 6e 64 20 75 70 6f 6e 20 74 68 65 20 76 61 6c 75 65 20 6f 66 20 74 | which.depend.upon.the.value.of.t |
144aa0 | 68 65 20 70 72 65 66 65 72 65 6e 63 65 20 77 68 69 63 68 0a 20 20 20 2a 20 64 65 74 65 72 6d 69 | he.preference.which....*.determi |
144ac0 | 6e 65 73 20 77 68 65 74 68 65 72 20 74 68 65 20 44 6f 77 6e 6c 6f 61 64 73 20 6d 61 6e 61 67 65 | nes.whether.the.Downloads.manage |
144ae0 | 72 20 69 73 20 6f 70 65 6e 65 64 20 61 74 20 74 68 65 20 73 74 61 72 74 20 6f 66 20 61 0a 20 20 | r.is.opened.at.the.start.of.a... |
144b00 | 20 2a 20 64 6f 77 6e 6c 6f 61 64 2e 0a 20 20 20 2a 2f 0a 20 20 72 65 61 64 53 68 6f 77 44 6f 77 | .*.download.....*/...readShowDow |
144b20 | 6e 6c 6f 61 64 73 57 68 65 6e 53 74 61 72 74 69 6e 67 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a | nloadsWhenStarting:.function.(). |
144b40 | 20 20 7b 0a 20 20 20 20 74 68 69 73 2e 73 68 6f 77 44 6f 77 6e 6c 6f 61 64 73 57 68 65 6e 53 74 | ..{.....this.showDownloadsWhenSt |
144b60 | 61 72 74 69 6e 67 50 72 65 66 43 68 61 6e 67 65 64 28 29 3b 0a 0a 20 20 20 20 2f 2f 20 64 6f 6e | artingPrefChanged();......//.don |
144b80 | 27 74 20 6f 76 65 72 72 69 64 65 20 74 68 65 20 70 72 65 66 65 72 65 6e 63 65 27 73 20 76 61 6c | 't.override.the.preference's.val |
144ba0 | 75 65 20 69 6e 20 55 49 0a 20 20 20 20 72 65 74 75 72 6e 20 75 6e 64 65 66 69 6e 65 64 3b 0a 20 | ue.in.UI.....return.undefined;.. |
144bc0 | 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 45 6e 61 62 6c 65 73 20 6f 72 20 64 69 73 61 62 | .},..../**....*.Enables.or.disab |
144be0 | 6c 65 73 20 74 68 65 20 22 63 6c 6f 73 65 20 44 6f 77 6e 6c 6f 61 64 73 20 6d 61 6e 61 67 65 72 | les.the."close.Downloads.manager |
144c00 | 20 77 68 65 6e 20 64 6f 77 6e 6c 6f 61 64 73 20 66 69 6e 69 73 68 65 64 22 0a 20 20 20 2a 20 70 | .when.downloads.finished"....*.p |
144c20 | 72 65 66 65 72 65 6e 63 65 20 65 6c 65 6d 65 6e 74 2c 20 63 6f 6e 73 65 71 75 65 6e 74 6c 79 20 | reference.element,.consequently. |
144c40 | 75 70 64 61 74 69 6e 67 20 74 68 65 20 61 73 73 6f 63 69 61 74 65 64 20 55 49 2e 0a 20 20 20 2a | updating.the.associated.UI.....* |
144c60 | 2f 0a 20 20 73 68 6f 77 44 6f 77 6e 6c 6f 61 64 73 57 68 65 6e 53 74 61 72 74 69 6e 67 50 72 65 | /...showDownloadsWhenStartingPre |
144c80 | 66 43 68 61 6e 67 65 64 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 76 61 | fChanged:.function.()...{.....va |
144ca0 | 72 20 73 68 6f 77 57 68 65 6e 53 74 61 72 74 69 6e 67 50 72 65 66 20 3d 20 64 6f 63 75 6d 65 6e | r.showWhenStartingPref.=.documen |
144cc0 | 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 62 72 6f 77 73 65 72 2e 64 6f 77 6e 6c 6f | t.getElementById("browser.downlo |
144ce0 | 61 64 2e 6d 61 6e 61 67 65 72 2e 73 68 6f 77 57 68 65 6e 53 74 61 72 74 69 6e 67 22 29 3b 0a 20 | ad.manager.showWhenStarting");.. |
144d00 | 20 20 20 76 61 72 20 63 6c 6f 73 65 57 68 65 6e 44 6f 6e 65 50 72 65 66 20 3d 20 64 6f 63 75 6d | ...var.closeWhenDonePref.=.docum |
144d20 | 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 62 72 6f 77 73 65 72 2e 64 6f 77 6e | ent.getElementById("browser.down |
144d40 | 6c 6f 61 64 2e 6d 61 6e 61 67 65 72 2e 63 6c 6f 73 65 57 68 65 6e 44 6f 6e 65 22 29 3b 0a 20 20 | load.manager.closeWhenDone");... |
144d60 | 20 20 63 6c 6f 73 65 57 68 65 6e 44 6f 6e 65 50 72 65 66 2e 64 69 73 61 62 6c 65 64 20 3d 20 21 | ..closeWhenDonePref.disabled.=.! |
144d80 | 73 68 6f 77 57 68 65 6e 53 74 61 72 74 69 6e 67 50 72 65 66 2e 76 61 6c 75 65 3b 0a 20 20 7d 2c | showWhenStartingPref.value;...}, |
144da0 | 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 45 6e 61 62 6c 65 73 2f 64 69 73 61 62 6c 65 73 20 74 68 | ..../**....*.Enables/disables.th |
144dc0 | 65 20 66 6f 6c 64 65 72 20 66 69 65 6c 64 20 61 6e 64 20 42 72 6f 77 73 65 20 62 75 74 74 6f 6e | e.folder.field.and.Browse.button |
144de0 | 20 62 61 73 65 64 20 6f 6e 20 77 68 65 74 68 65 72 20 61 0a 20 20 20 2a 20 64 65 66 61 75 6c 74 | .based.on.whether.a....*.default |
144e00 | 20 64 6f 77 6e 6c 6f 61 64 20 64 69 72 65 63 74 6f 72 79 20 69 73 20 62 65 69 6e 67 20 75 73 65 | .download.directory.is.being.use |
144e20 | 64 2e 0a 20 20 20 2a 2f 0a 20 20 72 65 61 64 55 73 65 44 6f 77 6e 6c 6f 61 64 44 69 72 3a 20 66 | d.....*/...readUseDownloadDir:.f |
144e40 | 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 76 61 72 20 64 6f 77 6e 6c 6f 61 64 46 | unction.()...{.....var.downloadF |
144e60 | 6f 6c 64 65 72 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 | older.=.document.getElementById( |
144e80 | 22 64 6f 77 6e 6c 6f 61 64 46 6f 6c 64 65 72 22 29 3b 0a 20 20 20 20 76 61 72 20 63 68 6f 6f 73 | "downloadFolder");.....var.choos |
144ea0 | 65 46 6f 6c 64 65 72 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 | eFolder.=.document.getElementByI |
144ec0 | 64 28 22 63 68 6f 6f 73 65 46 6f 6c 64 65 72 22 29 3b 0a 20 20 20 20 76 61 72 20 70 72 65 66 65 | d("chooseFolder");.....var.prefe |
144ee0 | 72 65 6e 63 65 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 | rence.=.document.getElementById( |
144f00 | 22 62 72 6f 77 73 65 72 2e 64 6f 77 6e 6c 6f 61 64 2e 75 73 65 44 6f 77 6e 6c 6f 61 64 44 69 72 | "browser.download.useDownloadDir |
144f20 | 22 29 3b 0a 20 20 20 20 64 6f 77 6e 6c 6f 61 64 46 6f 6c 64 65 72 2e 64 69 73 61 62 6c 65 64 20 | ");.....downloadFolder.disabled. |
144f40 | 3d 20 21 70 72 65 66 65 72 65 6e 63 65 2e 76 61 6c 75 65 3b 0a 20 20 20 20 63 68 6f 6f 73 65 46 | =.!preference.value;.....chooseF |
144f60 | 6f 6c 64 65 72 2e 64 69 73 61 62 6c 65 64 20 3d 20 21 70 72 65 66 65 72 65 6e 63 65 2e 76 61 6c | older.disabled.=.!preference.val |
144f80 | 75 65 3b 0a 0a 20 20 20 20 2f 2f 20 64 6f 6e 27 74 20 6f 76 65 72 72 69 64 65 20 74 68 65 20 70 | ue;......//.don't.override.the.p |
144fa0 | 72 65 66 65 72 65 6e 63 65 27 73 20 76 61 6c 75 65 20 69 6e 20 55 49 0a 20 20 20 20 72 65 74 75 | reference's.value.in.UI.....retu |
144fc0 | 72 6e 20 75 6e 64 65 66 69 6e 65 64 3b 0a 20 20 7d 2c 0a 20 20 0a 20 20 2f 2a 2a 0a 20 20 20 2a | rn.undefined;...},....../**....* |
144fe0 | 20 44 69 73 70 6c 61 79 73 20 61 20 66 69 6c 65 20 70 69 63 6b 65 72 20 69 6e 20 77 68 69 63 68 | .Displays.a.file.picker.in.which |
145000 | 20 74 68 65 20 75 73 65 72 20 63 61 6e 20 63 68 6f 6f 73 65 20 74 68 65 20 6c 6f 63 61 74 69 6f | .the.user.can.choose.the.locatio |
145020 | 6e 20 77 68 65 72 65 0a 20 20 20 2a 20 64 6f 77 6e 6c 6f 61 64 73 20 61 72 65 20 61 75 74 6f 6d | n.where....*.downloads.are.autom |
145040 | 61 74 69 63 61 6c 6c 79 20 73 61 76 65 64 2c 20 75 70 64 61 74 69 6e 67 20 70 72 65 66 65 72 65 | atically.saved,.updating.prefere |
145060 | 6e 63 65 73 20 61 6e 64 20 55 49 20 69 6e 0a 20 20 20 2a 20 72 65 73 70 6f 6e 73 65 20 74 6f 20 | nces.and.UI.in....*.response.to. |
145080 | 74 68 65 20 63 68 6f 69 63 65 2c 20 69 66 20 6f 6e 65 20 69 73 20 6d 61 64 65 2e 0a 20 20 20 2a | the.choice,.if.one.is.made.....* |
1450a0 | 2f 0a 20 20 63 68 6f 6f 73 65 46 6f 6c 64 65 72 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 | /...chooseFolder:.function.()... |
1450c0 | 7b 0a 20 20 20 20 63 6f 6e 73 74 20 6e 73 49 46 69 6c 65 50 69 63 6b 65 72 20 3d 20 43 6f 6d 70 | {.....const.nsIFilePicker.=.Comp |
1450e0 | 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 46 69 6c 65 50 69 63 6b 65 72 3b | onents.interfaces.nsIFilePicker; |
145100 | 0a 20 20 20 20 63 6f 6e 73 74 20 6e 73 49 4c 6f 63 61 6c 46 69 6c 65 20 3d 20 43 6f 6d 70 6f 6e | .....const.nsILocalFile.=.Compon |
145120 | 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 4c 6f 63 61 6c 46 69 6c 65 3b 0a 0a 20 | ents.interfaces.nsILocalFile;... |
145140 | 20 20 20 76 61 72 20 66 70 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 | ...var.fp.=.Components.classes[" |
145160 | 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 66 69 6c 65 70 69 63 6b 65 72 3b 31 22 5d 0a 20 20 20 20 | @mozilla.org/filepicker;1"]..... |
145180 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 63 72 65 61 74 65 49 6e 73 74 61 6e | ....................createInstan |
1451a0 | 63 65 28 6e 73 49 46 69 6c 65 50 69 63 6b 65 72 29 3b 0a 20 20 20 20 76 61 72 20 62 75 6e 64 6c | ce(nsIFilePicker);.....var.bundl |
1451c0 | 65 50 72 65 66 65 72 65 6e 63 65 73 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 | ePreferences.=.document.getEleme |
1451e0 | 6e 74 42 79 49 64 28 22 62 75 6e 64 6c 65 50 72 65 66 65 72 65 6e 63 65 73 22 29 3b 0a 20 20 20 | ntById("bundlePreferences");.... |
145200 | 20 76 61 72 20 74 69 74 6c 65 20 3d 20 62 75 6e 64 6c 65 50 72 65 66 65 72 65 6e 63 65 73 2e 67 | .var.title.=.bundlePreferences.g |
145220 | 65 74 53 74 72 69 6e 67 28 22 63 68 6f 6f 73 65 44 6f 77 6e 6c 6f 61 64 46 6f 6c 64 65 72 54 69 | etString("chooseDownloadFolderTi |
145240 | 74 6c 65 22 29 3b 0a 20 20 20 20 66 70 2e 69 6e 69 74 28 77 69 6e 64 6f 77 2c 20 74 69 74 6c 65 | tle");.....fp.init(window,.title |
145260 | 2c 20 6e 73 49 46 69 6c 65 50 69 63 6b 65 72 2e 6d 6f 64 65 47 65 74 46 6f 6c 64 65 72 29 3b 0a | ,.nsIFilePicker.modeGetFolder);. |
145280 | 20 20 20 20 66 70 2e 61 70 70 65 6e 64 46 69 6c 74 65 72 73 28 6e 73 49 46 69 6c 65 50 69 63 6b | ....fp.appendFilters(nsIFilePick |
1452a0 | 65 72 2e 66 69 6c 74 65 72 41 6c 6c 29 3b 0a 0a 20 20 20 20 76 61 72 20 66 6f 6c 64 65 72 4c 69 | er.filterAll);......var.folderLi |
1452c0 | 73 74 50 72 65 66 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 | stPref.=.document.getElementById |
1452e0 | 28 22 62 72 6f 77 73 65 72 2e 64 6f 77 6e 6c 6f 61 64 2e 66 6f 6c 64 65 72 4c 69 73 74 22 29 3b | ("browser.download.folderList"); |
145300 | 0a 20 20 20 20 76 61 72 20 63 75 72 72 65 6e 74 44 69 72 50 72 65 66 20 3d 20 74 68 69 73 2e 5f | .....var.currentDirPref.=.this._ |
145320 | 69 6e 64 65 78 54 6f 46 6f 6c 64 65 72 28 66 6f 6c 64 65 72 4c 69 73 74 50 72 65 66 2e 76 61 6c | indexToFolder(folderListPref.val |
145340 | 75 65 29 3b 20 2f 2f 20 66 69 6c 65 0a 20 20 20 20 76 61 72 20 64 65 66 44 6f 77 6e 6c 6f 61 64 | ue);.//.file.....var.defDownload |
145360 | 73 20 3d 20 74 68 69 73 2e 5f 69 6e 64 65 78 54 6f 46 6f 6c 64 65 72 28 31 29 3b 20 2f 2f 20 66 | s.=.this._indexToFolder(1);.//.f |
145380 | 69 6c 65 0a 0a 20 20 20 20 2f 2f 20 46 69 72 73 74 20 74 72 79 20 74 6f 20 6f 70 65 6e 20 77 68 | ile......//.First.try.to.open.wh |
1453a0 | 61 74 27 73 20 63 75 72 72 65 6e 74 6c 79 20 63 6f 6e 66 69 67 75 72 65 64 0a 20 20 20 20 69 66 | at's.currently.configured.....if |
1453c0 | 20 28 63 75 72 72 65 6e 74 44 69 72 50 72 65 66 20 26 26 20 63 75 72 72 65 6e 74 44 69 72 50 72 | .(currentDirPref.&&.currentDirPr |
1453e0 | 65 66 2e 65 78 69 73 74 73 28 29 29 20 7b 0a 20 20 20 20 20 20 66 70 2e 64 69 73 70 6c 61 79 44 | ef.exists()).{.......fp.displayD |
145400 | 69 72 65 63 74 6f 72 79 20 3d 20 63 75 72 72 65 6e 74 44 69 72 50 72 65 66 3b 0a 20 20 20 20 7d | irectory.=.currentDirPref;.....} |
145420 | 20 2f 2f 20 54 72 79 20 74 68 65 20 73 79 73 74 65 6d 27 73 20 64 6f 77 6e 6c 6f 61 64 20 64 69 | .//.Try.the.system's.download.di |
145440 | 72 0a 20 20 20 20 65 6c 73 65 20 69 66 20 28 64 65 66 44 6f 77 6e 6c 6f 61 64 73 20 26 26 20 64 | r.....else.if.(defDownloads.&&.d |
145460 | 65 66 44 6f 77 6e 6c 6f 61 64 73 2e 65 78 69 73 74 73 28 29 29 20 7b 0a 20 20 20 20 20 20 66 70 | efDownloads.exists()).{.......fp |
145480 | 2e 64 69 73 70 6c 61 79 44 69 72 65 63 74 6f 72 79 20 3d 20 64 65 66 44 6f 77 6e 6c 6f 61 64 73 | .displayDirectory.=.defDownloads |
1454a0 | 3b 0a 20 20 20 20 7d 20 2f 2f 20 46 61 6c 6c 20 62 61 63 6b 20 74 6f 20 44 65 73 6b 74 6f 70 0a | ;.....}.//.Fall.back.to.Desktop. |
1454c0 | 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 66 70 2e 64 69 73 70 6c 61 79 44 69 72 65 63 | ....else.{.......fp.displayDirec |
1454e0 | 74 6f 72 79 20 3d 20 74 68 69 73 2e 5f 69 6e 64 65 78 54 6f 46 6f 6c 64 65 72 28 30 29 3b 0a 20 | tory.=.this._indexToFolder(0);.. |
145500 | 20 20 20 7d 0a 0a 20 20 20 20 69 66 20 28 66 70 2e 73 68 6f 77 28 29 20 3d 3d 20 6e 73 49 46 69 | ...}......if.(fp.show().==.nsIFi |
145520 | 6c 65 50 69 63 6b 65 72 2e 72 65 74 75 72 6e 4f 4b 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 66 | lePicker.returnOK).{.......var.f |
145540 | 69 6c 65 20 3d 20 66 70 2e 66 69 6c 65 2e 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 28 6e 73 49 | ile.=.fp.file.QueryInterface(nsI |
145560 | 4c 6f 63 61 6c 46 69 6c 65 29 3b 0a 20 20 20 20 20 20 76 61 72 20 63 75 72 72 65 6e 74 44 69 72 | LocalFile);.......var.currentDir |
145580 | 50 72 65 66 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 | Pref.=.document.getElementById(" |
1455a0 | 62 72 6f 77 73 65 72 2e 64 6f 77 6e 6c 6f 61 64 2e 64 69 72 22 29 3b 0a 20 20 20 20 20 20 63 75 | browser.download.dir");.......cu |
1455c0 | 72 72 65 6e 74 44 69 72 50 72 65 66 2e 76 61 6c 75 65 20 3d 20 66 69 6c 65 3b 0a 20 20 20 20 20 | rrentDirPref.value.=.file;...... |
1455e0 | 20 76 61 72 20 66 6f 6c 64 65 72 4c 69 73 74 50 72 65 66 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 | .var.folderListPref.=.document.g |
145600 | 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 62 72 6f 77 73 65 72 2e 64 6f 77 6e 6c 6f 61 64 2e | etElementById("browser.download. |
145620 | 66 6f 6c 64 65 72 4c 69 73 74 22 29 3b 0a 20 20 20 20 20 20 66 6f 6c 64 65 72 4c 69 73 74 50 72 | folderList");.......folderListPr |
145640 | 65 66 2e 76 61 6c 75 65 20 3d 20 74 68 69 73 2e 5f 66 6f 6c 64 65 72 54 6f 49 6e 64 65 78 28 66 | ef.value.=.this._folderToIndex(f |
145660 | 69 6c 65 29 3b 0a 20 20 20 20 20 20 2f 2f 20 4e 6f 74 65 2c 20 74 68 65 20 72 65 61 6c 20 70 72 | ile);.......//.Note,.the.real.pr |
145680 | 65 66 73 20 77 69 6c 6c 20 6e 6f 74 20 62 65 20 75 70 64 61 74 65 64 20 79 65 74 2c 20 73 6f 20 | efs.will.not.be.updated.yet,.so. |
1456a0 | 64 6e 6c 64 20 6d 61 6e 61 67 65 72 27 73 0a 20 20 20 20 20 20 2f 2f 20 75 73 65 72 44 6f 77 6e | dnld.manager's.......//.userDown |
1456c0 | 6c 6f 61 64 73 44 69 72 65 63 74 6f 72 79 20 6d 61 79 20 6e 6f 74 20 72 65 74 75 72 6e 20 74 68 | loadsDirectory.may.not.return.th |
1456e0 | 65 20 72 69 67 68 74 20 66 6f 6c 64 65 72 20 61 66 74 65 72 0a 20 20 20 20 20 20 2f 2f 20 74 68 | e.right.folder.after.......//.th |
145700 | 69 73 20 63 6f 64 65 20 65 78 65 63 75 74 65 73 2e 20 64 69 73 70 6c 61 79 44 6f 77 6e 6c 6f 61 | is.code.executes..displayDownloa |
145720 | 64 44 69 72 50 72 65 66 20 77 69 6c 6c 20 62 65 20 63 61 6c 6c 65 64 20 6f 6e 0a 20 20 20 20 20 | dDirPref.will.be.called.on...... |
145740 | 20 2f 2f 20 74 68 65 20 61 73 73 69 67 6e 6d 65 6e 74 20 61 62 6f 76 65 20 74 6f 20 75 70 64 61 | .//.the.assignment.above.to.upda |
145760 | 74 65 20 74 68 65 20 55 49 2e 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 | te.the.UI......}...},..../**.... |
145780 | 2a 20 49 6e 69 74 69 61 6c 69 7a 65 73 20 74 68 65 20 64 6f 77 6e 6c 6f 61 64 20 66 6f 6c 64 65 | *.Initializes.the.download.folde |
1457a0 | 72 20 64 69 73 70 6c 61 79 20 73 65 74 74 69 6e 67 73 20 62 61 73 65 64 20 6f 6e 20 74 68 65 20 | r.display.settings.based.on.the. |
1457c0 | 75 73 65 72 27 73 20 0a 20 20 20 2a 20 70 72 65 66 65 72 65 6e 63 65 73 2e 0a 20 20 20 2a 2f 0a | user's.....*.preferences.....*/. |
1457e0 | 20 20 64 69 73 70 6c 61 79 44 6f 77 6e 6c 6f 61 64 44 69 72 50 72 65 66 3a 20 66 75 6e 63 74 69 | ..displayDownloadDirPref:.functi |
145800 | 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 76 61 72 20 66 6f 6c 64 65 72 4c 69 73 74 50 72 65 66 | on.()...{.....var.folderListPref |
145820 | 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 62 72 6f 77 | .=.document.getElementById("brow |
145840 | 73 65 72 2e 64 6f 77 6e 6c 6f 61 64 2e 66 6f 6c 64 65 72 4c 69 73 74 22 29 3b 0a 20 20 20 20 76 | ser.download.folderList");.....v |
145860 | 61 72 20 62 75 6e 64 6c 65 50 72 65 66 65 72 65 6e 63 65 73 20 3d 20 64 6f 63 75 6d 65 6e 74 2e | ar.bundlePreferences.=.document. |
145880 | 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 62 75 6e 64 6c 65 50 72 65 66 65 72 65 6e 63 65 | getElementById("bundlePreference |
1458a0 | 73 22 29 3b 0a 20 20 20 20 76 61 72 20 64 6f 77 6e 6c 6f 61 64 46 6f 6c 64 65 72 20 3d 20 64 6f | s");.....var.downloadFolder.=.do |
1458c0 | 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 64 6f 77 6e 6c 6f 61 64 46 | cument.getElementById("downloadF |
1458e0 | 6f 6c 64 65 72 22 29 3b 0a 20 20 20 20 76 61 72 20 63 75 72 72 65 6e 74 44 69 72 50 72 65 66 20 | older");.....var.currentDirPref. |
145900 | 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 62 72 6f 77 73 | =.document.getElementById("brows |
145920 | 65 72 2e 64 6f 77 6e 6c 6f 61 64 2e 64 69 72 22 29 3b 0a 0a 20 20 20 20 2f 2f 20 54 68 65 20 75 | er.download.dir");......//.The.u |
145940 | 73 65 72 27 73 20 64 6f 77 6e 6c 6f 61 64 20 66 6f 6c 64 65 72 20 69 73 20 62 61 73 65 64 20 6f | ser's.download.folder.is.based.o |
145960 | 6e 20 74 68 65 20 70 72 65 66 65 72 65 6e 63 65 73 20 6c 69 73 74 65 64 20 61 62 6f 76 65 2e 0a | n.the.preferences.listed.above.. |
145980 | 20 20 20 20 2f 2f 20 48 6f 77 65 76 65 72 2c 20 69 66 20 74 68 65 20 73 79 73 74 65 6d 20 64 6f | ....//.However,.if.the.system.do |
1459a0 | 65 73 20 6e 6f 74 20 73 75 70 70 6f 72 74 20 61 20 64 6f 77 6e 6c 6f 61 64 20 66 6f 6c 64 65 72 | es.not.support.a.download.folder |
1459c0 | 2c 20 74 68 65 0a 20 20 20 20 2f 2f 20 61 63 74 75 61 6c 20 70 61 74 68 20 72 65 74 75 72 6e 65 | ,.the.....//.actual.path.returne |
1459e0 | 64 20 77 69 6c 6c 20 62 65 20 74 68 65 20 73 79 73 74 65 6d 27 73 20 64 65 73 6b 74 6f 70 20 6f | d.will.be.the.system's.desktop.o |
145a00 | 72 20 68 6f 6d 65 20 66 6f 6c 64 65 72 2e 0a 20 20 20 20 2f 2f 20 49 66 20 74 68 69 73 20 69 73 | r.home.folder......//.If.this.is |
145a20 | 20 74 68 65 20 63 61 73 65 2c 20 73 6b 69 70 20 6f 66 66 20 64 69 73 70 6c 61 79 69 6e 67 20 74 | .the.case,.skip.off.displaying.t |
145a40 | 68 65 20 44 6f 77 6e 6c 6f 61 64 20 6c 61 62 65 6c 20 61 6e 64 0a 20 20 20 20 2f 2f 20 64 69 73 | he.Download.label.and.....//.dis |
145a60 | 70 6c 61 79 20 44 65 73 6b 74 6f 70 2c 20 65 76 65 6e 20 74 68 6f 75 67 68 20 66 6f 6c 64 65 72 | play.Desktop,.even.though.folder |
145a80 | 4c 69 73 74 20 6d 69 67 68 74 20 62 65 20 31 2e 0a 20 20 20 20 76 61 72 20 66 69 6c 65 4c 6f 63 | List.might.be.1......var.fileLoc |
145aa0 | 61 74 6f 72 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 | ator.=.Components.classes["@mozi |
145ac0 | 6c 6c 61 2e 6f 72 67 2f 66 69 6c 65 2f 64 69 72 65 63 74 6f 72 79 5f 73 65 72 76 69 63 65 3b 31 | lla.org/file/directory_service;1 |
145ae0 | 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | "].............................. |
145b00 | 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 | ....getService(Components.interf |
145b20 | 61 63 65 73 2e 6e 73 49 50 72 6f 70 65 72 74 69 65 73 29 3b 0a 20 20 20 20 76 61 72 20 64 65 73 | aces.nsIProperties);.....var.des |
145b40 | 6b 20 3d 20 66 69 6c 65 4c 6f 63 61 74 6f 72 2e 67 65 74 28 22 44 65 73 6b 22 2c 20 43 6f 6d 70 | k.=.fileLocator.get("Desk",.Comp |
145b60 | 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 4c 6f 63 61 6c 46 69 6c 65 29 3b | onents.interfaces.nsILocalFile); |
145b80 | 0a 20 20 20 20 76 61 72 20 64 6e 6c 64 4d 67 72 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c | .....var.dnldMgr.=.Components.cl |
145ba0 | 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 64 6f 77 6e 6c 6f 61 64 2d 6d 61 6e | asses["@mozilla.org/download-man |
145bc0 | 61 67 65 72 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ager;1"]........................ |
145be0 | 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 | ......getService(Components.inte |
145c00 | 72 66 61 63 65 73 2e 6e 73 49 44 6f 77 6e 6c 6f 61 64 4d 61 6e 61 67 65 72 29 3b 0a 20 20 20 20 | rfaces.nsIDownloadManager);..... |
145c20 | 76 61 72 20 73 75 70 70 6f 72 74 44 6f 77 6e 6c 6f 61 64 4c 61 62 65 6c 20 3d 20 21 64 6e 6c 64 | var.supportDownloadLabel.=.!dnld |
145c40 | 4d 67 72 2e 64 65 66 61 75 6c 74 44 6f 77 6e 6c 6f 61 64 73 44 69 72 65 63 74 6f 72 79 2e 65 71 | Mgr.defaultDownloadsDirectory.eq |
145c60 | 75 61 6c 73 28 64 65 73 6b 29 3b 0a 0a 20 20 20 20 2f 2f 20 55 73 65 64 20 69 6e 20 64 65 66 69 | uals(desk);......//.Used.in.defi |
145c80 | 6e 69 6e 67 20 74 68 65 20 63 6f 72 72 65 63 74 20 70 61 74 68 20 74 6f 20 74 68 65 20 66 6f 6c | ning.the.correct.path.to.the.fol |
145ca0 | 64 65 72 20 69 63 6f 6e 2e 0a 20 20 20 20 76 61 72 20 69 6f 73 20 3d 20 43 6f 6d 70 6f 6e 65 6e | der.icon......var.ios.=.Componen |
145cc0 | 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6e 65 74 77 6f 72 6b | ts.classes["@mozilla.org/network |
145ce0 | 2f 69 6f 2d 73 65 72 76 69 63 65 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | /io-service;1"]................. |
145d00 | 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 | .........getService(Components.i |
145d20 | 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 49 4f 53 65 72 76 69 63 65 29 3b 0a 20 20 20 20 76 61 72 | nterfaces.nsIIOService);.....var |
145d40 | 20 66 70 68 20 3d 20 69 6f 73 2e 67 65 74 50 72 6f 74 6f 63 6f 6c 48 61 6e 64 6c 65 72 28 22 66 | .fph.=.ios.getProtocolHandler("f |
145d60 | 69 6c 65 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 51 75 65 72 79 49 6e 74 | ile")...................QueryInt |
145d80 | 65 72 66 61 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 | erface(Components.interfaces.nsI |
145da0 | 46 69 6c 65 50 72 6f 74 6f 63 6f 6c 48 61 6e 64 6c 65 72 29 3b 0a 20 20 20 20 76 61 72 20 69 63 | FileProtocolHandler);.....var.ic |
145dc0 | 6f 6e 55 72 6c 53 70 65 63 3b 0a 20 20 20 20 20 20 0a 20 20 20 20 2f 2f 20 44 69 73 70 6c 61 79 | onUrlSpec;............//.Display |
145de0 | 20 61 20 27 70 72 65 74 74 79 27 20 6c 61 62 65 6c 20 6f 72 20 74 68 65 20 70 61 74 68 20 69 6e | .a.'pretty'.label.or.the.path.in |
145e00 | 20 74 68 65 20 55 49 2e 0a 20 20 20 20 69 66 20 28 66 6f 6c 64 65 72 4c 69 73 74 50 72 65 66 2e | .the.UI......if.(folderListPref. |
145e20 | 76 61 6c 75 65 20 3d 3d 20 32 29 20 7b 0a 20 20 20 20 20 20 2f 2f 20 43 75 73 74 6f 6d 20 70 61 | value.==.2).{.......//.Custom.pa |
145e40 | 74 68 20 73 65 6c 65 63 74 65 64 20 61 6e 64 20 69 73 20 63 6f 6e 66 69 67 75 72 65 64 0a 20 20 | th.selected.and.is.configured... |
145e60 | 20 20 20 20 64 6f 77 6e 6c 6f 61 64 46 6f 6c 64 65 72 2e 6c 61 62 65 6c 20 3d 20 74 68 69 73 2e | ....downloadFolder.label.=.this. |
145e80 | 5f 67 65 74 44 69 73 70 6c 61 79 4e 61 6d 65 4f 66 46 69 6c 65 28 63 75 72 72 65 6e 74 44 69 72 | _getDisplayNameOfFile(currentDir |
145ea0 | 50 72 65 66 2e 76 61 6c 75 65 29 3b 0a 20 20 20 20 20 20 69 63 6f 6e 55 72 6c 53 70 65 63 20 3d | Pref.value);.......iconUrlSpec.= |
145ec0 | 20 66 70 68 2e 67 65 74 55 52 4c 53 70 65 63 46 72 6f 6d 46 69 6c 65 28 63 75 72 72 65 6e 74 44 | .fph.getURLSpecFromFile(currentD |
145ee0 | 69 72 50 72 65 66 2e 76 61 6c 75 65 29 3b 0a 20 20 20 20 7d 20 65 6c 73 65 20 69 66 20 28 66 6f | irPref.value);.....}.else.if.(fo |
145f00 | 6c 64 65 72 4c 69 73 74 50 72 65 66 2e 76 61 6c 75 65 20 3d 3d 20 31 20 26 26 20 73 75 70 70 6f | lderListPref.value.==.1.&&.suppo |
145f20 | 72 74 44 6f 77 6e 6c 6f 61 64 4c 61 62 65 6c 29 20 7b 0a 20 20 20 20 20 20 2f 2f 20 27 44 6f 77 | rtDownloadLabel).{.......//.'Dow |
145f40 | 6e 6c 6f 61 64 73 27 0a 20 20 20 20 20 20 2f 2f 20 49 6e 20 31 2e 35 2c 20 74 68 69 73 20 70 6f | nloads'.......//.In.1.5,.this.po |
145f60 | 69 6e 74 65 64 20 74 6f 20 61 20 66 6f 6c 64 65 72 20 77 65 20 63 72 65 61 74 65 64 20 63 61 6c | inted.to.a.folder.we.created.cal |
145f80 | 6c 65 64 20 27 4d 79 20 44 6f 77 6e 6c 6f 61 64 73 27 0a 20 20 20 20 20 20 2f 2f 20 61 6e 64 20 | led.'My.Downloads'.......//.and. |
145fa0 | 77 61 73 20 61 76 61 69 6c 61 62 6c 65 20 61 73 20 61 6e 20 6f 70 74 69 6f 6e 20 69 6e 20 74 68 | was.available.as.an.option.in.th |
145fc0 | 65 20 31 2e 35 20 64 72 6f 70 20 64 6f 77 6e 2e 20 4f 6e 20 58 50 20 74 68 69 73 0a 20 20 20 20 | e.1.5.drop.down..On.XP.this..... |
145fe0 | 20 20 2f 2f 20 77 61 73 20 69 6e 20 4d 79 20 44 6f 63 75 6d 65 6e 74 73 2c 20 6f 6e 20 4f 53 58 | ..//.was.in.My.Documents,.on.OSX |
146000 | 20 69 74 20 77 61 73 20 69 6e 20 55 73 65 72 20 44 6f 63 73 2e 20 49 6e 20 32 2e 30 2c 20 77 65 | .it.was.in.User.Docs..In.2.0,.we |
146020 | 20 64 69 64 0a 20 20 20 20 20 20 2f 2f 20 61 77 61 79 20 77 69 74 68 20 74 68 65 20 64 72 6f 70 | .did.......//.away.with.the.drop |
146040 | 20 64 6f 77 6e 20 6f 70 74 69 6f 6e 2c 20 61 6c 74 68 6f 75 67 68 20 74 68 65 20 73 70 65 63 69 | .down.option,.although.the.speci |
146060 | 61 6c 20 6c 61 62 65 6c 20 77 61 73 0a 20 20 20 20 20 20 2f 2f 20 73 74 69 6c 6c 20 73 75 70 70 | al.label.was.......//.still.supp |
146080 | 6f 72 74 65 64 20 66 6f 72 20 74 68 65 20 66 6f 6c 64 65 72 20 69 66 20 69 74 20 65 78 69 73 74 | orted.for.the.folder.if.it.exist |
1460a0 | 65 64 2e 20 42 65 63 61 75 73 65 20 69 74 20 77 61 73 0a 20 20 20 20 20 20 2f 2f 20 6e 6f 74 20 | ed..Because.it.was.......//.not. |
1460c0 | 65 78 70 6f 73 65 64 20 69 74 20 77 61 73 20 72 61 72 65 6c 79 20 75 73 65 64 2e 0a 20 20 20 20 | exposed.it.was.rarely.used...... |
1460e0 | 20 20 2f 2f 20 57 69 74 68 20 33 2e 30 2c 20 61 20 6e 65 77 20 64 65 73 6b 74 6f 70 20 66 6f 6c | ..//.With.3.0,.a.new.desktop.fol |
146100 | 64 65 72 20 2d 20 27 44 6f 77 6e 6c 6f 61 64 73 27 20 77 61 73 20 69 6e 74 72 6f 64 75 63 65 64 | der.-.'Downloads'.was.introduced |
146120 | 20 66 6f 72 0a 20 20 20 20 20 20 2f 2f 20 70 6c 61 74 66 6f 72 6d 73 20 61 6e 64 20 76 65 72 73 | .for.......//.platforms.and.vers |
146140 | 69 6f 6e 73 20 74 68 61 74 20 64 6f 6e 27 74 20 73 75 70 70 6f 72 74 20 61 20 64 65 66 61 75 6c | ions.that.don't.support.a.defaul |
146160 | 74 20 73 79 73 74 65 6d 20 64 6f 77 6e 6c 6f 61 64 73 0a 20 20 20 20 20 20 2f 2f 20 66 6f 6c 64 | t.system.downloads.......//.fold |
146180 | 65 72 2e 20 53 65 65 20 6e 73 44 6f 77 6e 6c 6f 61 64 4d 61 6e 61 67 65 72 20 66 6f 72 20 64 65 | er..See.nsDownloadManager.for.de |
1461a0 | 74 61 69 6c 73 2e 20 0a 20 20 20 20 20 20 64 6f 77 6e 6c 6f 61 64 46 6f 6c 64 65 72 2e 6c 61 62 | tails.........downloadFolder.lab |
1461c0 | 65 6c 20 3d 20 62 75 6e 64 6c 65 50 72 65 66 65 72 65 6e 63 65 73 2e 67 65 74 53 74 72 69 6e 67 | el.=.bundlePreferences.getString |
1461e0 | 28 22 64 6f 77 6e 6c 6f 61 64 73 46 6f 6c 64 65 72 4e 61 6d 65 22 29 3b 0a 20 20 20 20 20 20 69 | ("downloadsFolderName");.......i |
146200 | 63 6f 6e 55 72 6c 53 70 65 63 20 3d 20 66 70 68 2e 67 65 74 55 52 4c 53 70 65 63 46 72 6f 6d 46 | conUrlSpec.=.fph.getURLSpecFromF |
146220 | 69 6c 65 28 74 68 69 73 2e 5f 69 6e 64 65 78 54 6f 46 6f 6c 64 65 72 28 31 29 29 3b 0a 20 20 20 | ile(this._indexToFolder(1));.... |
146240 | 20 7d 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 2f 2f 20 27 44 65 73 6b 74 6f 70 27 0a 20 20 20 | .}.else.{.......//.'Desktop'.... |
146260 | 20 20 20 64 6f 77 6e 6c 6f 61 64 46 6f 6c 64 65 72 2e 6c 61 62 65 6c 20 3d 20 62 75 6e 64 6c 65 | ...downloadFolder.label.=.bundle |
146280 | 50 72 65 66 65 72 65 6e 63 65 73 2e 67 65 74 53 74 72 69 6e 67 28 22 64 65 73 6b 74 6f 70 46 6f | Preferences.getString("desktopFo |
1462a0 | 6c 64 65 72 4e 61 6d 65 22 29 3b 0a 20 20 20 20 20 20 69 63 6f 6e 55 72 6c 53 70 65 63 20 3d 20 | lderName");.......iconUrlSpec.=. |
1462c0 | 66 70 68 2e 67 65 74 55 52 4c 53 70 65 63 46 72 6f 6d 46 69 6c 65 28 64 65 73 6b 29 3b 0a 20 20 | fph.getURLSpecFromFile(desk);... |
1462e0 | 20 20 7d 0a 20 20 20 20 64 6f 77 6e 6c 6f 61 64 46 6f 6c 64 65 72 2e 69 6d 61 67 65 20 3d 20 22 | ..}.....downloadFolder.image.=." |
146300 | 6d 6f 7a 2d 69 63 6f 6e 3a 2f 2f 22 20 2b 20 69 63 6f 6e 55 72 6c 53 70 65 63 20 2b 20 22 3f 73 | moz-icon://".+.iconUrlSpec.+."?s |
146320 | 69 7a 65 3d 31 36 22 3b 0a 20 20 20 20 0a 20 20 20 20 2f 2f 20 64 6f 6e 27 74 20 6f 76 65 72 72 | ize=16";..........//.don't.overr |
146340 | 69 64 65 20 74 68 65 20 70 72 65 66 65 72 65 6e 63 65 27 73 20 76 61 6c 75 65 20 69 6e 20 55 49 | ide.the.preference's.value.in.UI |
146360 | 0a 20 20 20 20 72 65 74 75 72 6e 20 75 6e 64 65 66 69 6e 65 64 3b 0a 20 20 7d 2c 0a 0a 20 20 2f | .....return.undefined;...},..../ |
146380 | 2a 2a 0a 20 20 20 2a 20 52 65 74 75 72 6e 73 20 74 68 65 20 74 65 78 74 75 61 6c 20 70 61 74 68 | **....*.Returns.the.textual.path |
1463a0 | 20 6f 66 20 61 20 66 6f 6c 64 65 72 20 69 6e 20 72 65 61 64 61 62 6c 65 20 66 6f 72 6d 2e 0a 20 | .of.a.folder.in.readable.form... |
1463c0 | 20 20 2a 2f 0a 20 20 5f 67 65 74 44 69 73 70 6c 61 79 4e 61 6d 65 4f 66 46 69 6c 65 3a 20 66 75 | ..*/..._getDisplayNameOfFile:.fu |
1463e0 | 6e 63 74 69 6f 6e 20 28 61 46 6f 6c 64 65 72 29 0a 20 20 7b 0a 20 20 20 20 2f 2f 20 54 4f 44 4f | nction.(aFolder)...{.....//.TODO |
146400 | 3a 20 77 6f 75 6c 64 20 6c 69 6b 65 20 74 6f 20 61 64 64 20 73 75 70 70 6f 72 74 20 66 6f 72 20 | :.would.like.to.add.support.for. |
146420 | 27 44 6f 77 6e 6c 6f 61 64 73 20 6f 6e 20 4d 61 63 69 6e 74 6f 73 68 20 48 44 27 0a 20 20 20 20 | 'Downloads.on.Macintosh.HD'..... |
146440 | 2f 2f 20 20 20 20 20 20 20 66 6f 72 20 4f 53 20 58 20 75 73 65 72 73 2e 0a 20 20 20 20 72 65 74 | //.......for.OS.X.users......ret |
146460 | 75 72 6e 20 61 46 6f 6c 64 65 72 20 3f 20 61 46 6f 6c 64 65 72 2e 70 61 74 68 20 3a 20 22 22 3b | urn.aFolder.?.aFolder.path.:.""; |
146480 | 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 52 65 74 75 72 6e 73 20 74 68 65 20 44 6f | ...},..../**....*.Returns.the.Do |
1464a0 | 77 6e 6c 6f 61 64 73 20 66 6f 6c 64 65 72 2e 20 20 49 66 20 61 46 6f 6c 64 65 72 20 69 73 20 22 | wnloads.folder...If.aFolder.is." |
1464c0 | 44 65 73 6b 74 6f 70 22 2c 20 74 68 65 6e 20 74 68 65 20 44 6f 77 6e 6c 6f 61 64 73 0a 20 20 20 | Desktop",.then.the.Downloads.... |
1464e0 | 2a 20 66 6f 6c 64 65 72 20 72 65 74 75 72 6e 65 64 20 69 73 20 74 68 65 20 64 65 73 6b 74 6f 70 | *.folder.returned.is.the.desktop |
146500 | 20 66 6f 6c 64 65 72 3b 20 6f 74 68 65 72 77 69 73 65 2c 20 69 74 20 69 73 20 61 20 66 6f 6c 64 | .folder;.otherwise,.it.is.a.fold |
146520 | 65 72 20 77 68 6f 73 65 20 6e 61 6d 65 0a 20 20 20 2a 20 69 6e 64 69 63 61 74 65 73 20 74 68 61 | er.whose.name....*.indicates.tha |
146540 | 74 20 69 74 20 69 73 20 61 20 64 6f 77 6e 6c 6f 61 64 20 66 6f 6c 64 65 72 20 61 6e 64 20 77 68 | t.it.is.a.download.folder.and.wh |
146560 | 6f 73 65 20 70 61 74 68 20 69 73 20 61 73 20 64 65 74 65 72 6d 69 6e 65 64 20 62 79 0a 20 20 20 | ose.path.is.as.determined.by.... |
146580 | 2a 20 74 68 65 20 58 50 43 4f 4d 20 64 69 72 65 63 74 6f 72 79 20 73 65 72 76 69 63 65 20 76 69 | *.the.XPCOM.directory.service.vi |
1465a0 | 61 20 74 68 65 20 64 6f 77 6e 6c 6f 61 64 20 6d 61 6e 61 67 65 72 27 73 20 61 74 74 72 69 62 75 | a.the.download.manager's.attribu |
1465c0 | 74 65 20 0a 20 20 20 2a 20 64 65 66 61 75 6c 74 44 6f 77 6e 6c 6f 61 64 73 44 69 72 65 63 74 6f | te.....*.defaultDownloadsDirecto |
1465e0 | 72 79 2e 0a 20 20 20 2a 0a 20 20 20 2a 20 40 74 68 72 6f 77 73 20 69 66 20 61 46 6f 6c 64 65 72 | ry.....*....*.@throws.if.aFolder |
146600 | 20 69 73 20 6e 6f 74 20 22 44 65 73 6b 74 6f 70 22 20 6f 72 20 22 44 6f 77 6e 6c 6f 61 64 73 22 | .is.not."Desktop".or."Downloads" |
146620 | 0a 20 20 20 2a 2f 0a 20 20 5f 67 65 74 44 6f 77 6e 6c 6f 61 64 73 46 6f 6c 64 65 72 3a 20 66 75 | ....*/..._getDownloadsFolder:.fu |
146640 | 6e 63 74 69 6f 6e 20 28 61 46 6f 6c 64 65 72 29 0a 20 20 7b 0a 20 20 20 20 73 77 69 74 63 68 28 | nction.(aFolder)...{.....switch( |
146660 | 61 46 6f 6c 64 65 72 29 0a 20 20 20 20 7b 0a 20 20 20 20 20 20 63 61 73 65 20 22 44 65 73 6b 74 | aFolder).....{.......case."Deskt |
146680 | 6f 70 22 3a 0a 20 20 20 20 20 20 20 20 76 61 72 20 66 69 6c 65 4c 6f 63 20 3d 20 43 6f 6d 70 6f | op":.........var.fileLoc.=.Compo |
1466a0 | 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 66 69 6c 65 | nents.classes["@mozilla.org/file |
1466c0 | 2f 64 69 72 65 63 74 6f 72 79 5f 73 65 72 76 69 63 65 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 | /directory_service;1"].......... |
1466e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 | ............................getS |
146700 | 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 | ervice(Components.interfaces.nsI |
146720 | 50 72 6f 70 65 72 74 69 65 73 29 3b 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 66 69 6c 65 | Properties);.........return.file |
146740 | 4c 6f 63 2e 67 65 74 28 22 44 65 73 6b 22 2c 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 | Loc.get("Desk",.Components.inter |
146760 | 66 61 63 65 73 2e 6e 73 49 4c 6f 63 61 6c 46 69 6c 65 29 3b 0a 20 20 20 20 20 20 62 72 65 61 6b | faces.nsILocalFile);.......break |
146780 | 3b 0a 20 20 20 20 20 20 63 61 73 65 20 22 44 6f 77 6e 6c 6f 61 64 73 22 3a 0a 20 20 20 20 20 20 | ;.......case."Downloads":....... |
1467a0 | 20 20 76 61 72 20 64 6e 6c 64 4d 67 72 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 | ..var.dnldMgr.=.Components.class |
1467c0 | 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 64 6f 77 6e 6c 6f 61 64 2d 6d 61 6e 61 67 65 | es["@mozilla.org/download-manage |
1467e0 | 72 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | r;1"]........................... |
146800 | 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 | .......getService(Components.int |
146820 | 65 72 66 61 63 65 73 2e 6e 73 49 44 6f 77 6e 6c 6f 61 64 4d 61 6e 61 67 65 72 29 3b 0a 20 20 20 | erfaces.nsIDownloadManager);.... |
146840 | 20 20 20 20 20 72 65 74 75 72 6e 20 64 6e 6c 64 4d 67 72 2e 64 65 66 61 75 6c 74 44 6f 77 6e 6c | .....return.dnldMgr.defaultDownl |
146860 | 6f 61 64 73 44 69 72 65 63 74 6f 72 79 3b 0a 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 | oadsDirectory;.......break;..... |
146880 | 7d 0a 20 20 20 20 74 68 72 6f 77 20 22 41 53 53 45 52 54 49 4f 4e 20 46 41 49 4c 45 44 3a 20 66 | }.....throw."ASSERTION.FAILED:.f |
1468a0 | 6f 6c 64 65 72 20 74 79 70 65 20 73 68 6f 75 6c 64 20 62 65 20 27 44 65 73 6b 74 6f 70 27 20 6f | older.type.should.be.'Desktop'.o |
1468c0 | 72 20 27 44 6f 77 6e 6c 6f 61 64 73 27 22 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a | r.'Downloads'";...},..../**....* |
1468e0 | 20 44 65 74 65 72 6d 69 6e 65 73 20 74 68 65 20 74 79 70 65 20 6f 66 20 74 68 65 20 67 69 76 65 | .Determines.the.type.of.the.give |
146900 | 6e 20 66 6f 6c 64 65 72 2e 0a 20 20 20 2a 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 20 20 61 46 6f | n.folder.....*....*.@param...aFo |
146920 | 6c 64 65 72 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 74 68 65 20 66 6f 6c 64 65 72 20 77 68 | lder....*..........the.folder.wh |
146940 | 6f 73 65 20 74 79 70 65 20 69 73 20 74 6f 20 62 65 20 64 65 74 65 72 6d 69 6e 65 64 0a 20 20 20 | ose.type.is.to.be.determined.... |
146960 | 2a 20 40 72 65 74 75 72 6e 73 20 69 6e 74 65 67 65 72 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 | *.@returns.integer....*......... |
146980 | 20 30 20 69 66 20 61 46 6f 6c 64 65 72 20 69 73 20 74 68 65 20 44 65 73 6b 74 6f 70 20 6f 72 20 | .0.if.aFolder.is.the.Desktop.or. |
1469a0 | 69 73 20 75 6e 73 70 65 63 69 66 69 65 64 2c 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 31 20 | is.unspecified,....*..........1. |
1469c0 | 69 66 20 61 46 6f 6c 64 65 72 20 69 73 20 74 68 65 20 44 6f 77 6e 6c 6f 61 64 73 20 66 6f 6c 64 | if.aFolder.is.the.Downloads.fold |
1469e0 | 65 72 2c 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 32 20 6f 74 68 65 72 77 69 73 65 0a 20 20 | er,....*..........2.otherwise... |
146a00 | 20 2a 2f 0a 20 20 5f 66 6f 6c 64 65 72 54 6f 49 6e 64 65 78 3a 20 66 75 6e 63 74 69 6f 6e 20 28 | .*/..._folderToIndex:.function.( |
146a20 | 61 46 6f 6c 64 65 72 29 0a 20 20 7b 0a 20 20 20 20 69 66 20 28 21 61 46 6f 6c 64 65 72 20 7c 7c | aFolder)...{.....if.(!aFolder.|| |
146a40 | 20 61 46 6f 6c 64 65 72 2e 65 71 75 61 6c 73 28 74 68 69 73 2e 5f 67 65 74 44 6f 77 6e 6c 6f 61 | .aFolder.equals(this._getDownloa |
146a60 | 64 73 46 6f 6c 64 65 72 28 22 44 65 73 6b 74 6f 70 22 29 29 29 0a 20 20 20 20 20 20 72 65 74 75 | dsFolder("Desktop"))).......retu |
146a80 | 72 6e 20 30 3b 0a 20 20 20 20 65 6c 73 65 20 69 66 20 28 61 46 6f 6c 64 65 72 2e 65 71 75 61 6c | rn.0;.....else.if.(aFolder.equal |
146aa0 | 73 28 74 68 69 73 2e 5f 67 65 74 44 6f 77 6e 6c 6f 61 64 73 46 6f 6c 64 65 72 28 22 44 6f 77 6e | s(this._getDownloadsFolder("Down |
146ac0 | 6c 6f 61 64 73 22 29 29 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 31 3b 0a 20 20 20 20 72 65 | loads"))).......return.1;.....re |
146ae0 | 74 75 72 6e 20 32 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 43 6f 6e 76 65 72 74 | turn.2;...},..../**....*.Convert |
146b00 | 73 20 61 6e 20 69 6e 74 65 67 65 72 20 69 6e 74 6f 20 74 68 65 20 63 6f 72 72 65 73 70 6f 6e 64 | s.an.integer.into.the.correspond |
146b20 | 69 6e 67 20 66 6f 6c 64 65 72 2e 0a 20 20 20 2a 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 20 20 61 | ing.folder.....*....*.@param...a |
146b40 | 49 6e 64 65 78 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 61 6e 20 69 6e 74 65 67 65 72 0a 20 | Index....*..........an.integer.. |
146b60 | 20 20 2a 20 40 72 65 74 75 72 6e 73 20 74 68 65 20 44 65 73 6b 74 6f 70 20 66 6f 6c 64 65 72 20 | ..*.@returns.the.Desktop.folder. |
146b80 | 69 66 20 61 49 6e 64 65 78 20 3d 3d 20 30 2c 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 74 68 | if.aIndex.==.0,....*..........th |
146ba0 | 65 20 44 6f 77 6e 6c 6f 61 64 73 20 66 6f 6c 64 65 72 20 69 66 20 61 49 6e 64 65 78 20 3d 3d 20 | e.Downloads.folder.if.aIndex.==. |
146bc0 | 31 2c 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 74 68 65 20 66 6f 6c 64 65 72 20 73 74 6f 72 | 1,....*..........the.folder.stor |
146be0 | 65 64 20 69 6e 20 62 72 6f 77 73 65 72 2e 64 6f 77 6e 6c 6f 61 64 2e 64 69 72 0a 20 20 20 2a 2f | ed.in.browser.download.dir....*/ |
146c00 | 0a 20 20 5f 69 6e 64 65 78 54 6f 46 6f 6c 64 65 72 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 49 6e | ..._indexToFolder:.function.(aIn |
146c20 | 64 65 78 29 0a 20 20 7b 0a 20 20 20 20 73 77 69 74 63 68 20 28 61 49 6e 64 65 78 29 20 7b 0a 20 | dex)...{.....switch.(aIndex).{.. |
146c40 | 20 20 20 20 20 63 61 73 65 20 30 3a 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 | .....case.0:.........return.this |
146c60 | 2e 5f 67 65 74 44 6f 77 6e 6c 6f 61 64 73 46 6f 6c 64 65 72 28 22 44 65 73 6b 74 6f 70 22 29 3b | ._getDownloadsFolder("Desktop"); |
146c80 | 0a 20 20 20 20 20 20 63 61 73 65 20 31 3a 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 | .......case.1:.........return.th |
146ca0 | 69 73 2e 5f 67 65 74 44 6f 77 6e 6c 6f 61 64 73 46 6f 6c 64 65 72 28 22 44 6f 77 6e 6c 6f 61 64 | is._getDownloadsFolder("Download |
146cc0 | 73 22 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 76 61 72 20 63 75 72 72 65 6e 74 44 69 72 50 72 65 | s");.....}.....var.currentDirPre |
146ce0 | 66 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 62 72 6f | f.=.document.getElementById("bro |
146d00 | 77 73 65 72 2e 64 6f 77 6e 6c 6f 61 64 2e 64 69 72 22 29 3b 0a 20 20 20 20 72 65 74 75 72 6e 20 | wser.download.dir");.....return. |
146d20 | 63 75 72 72 65 6e 74 44 69 72 50 72 65 66 2e 76 61 6c 75 65 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a | currentDirPref.value;...},..../* |
146d40 | 2a 0a 20 20 20 2a 20 52 65 74 75 72 6e 73 20 74 68 65 20 76 61 6c 75 65 20 66 6f 72 20 74 68 65 | *....*.Returns.the.value.for.the |
146d60 | 20 62 72 6f 77 73 65 72 2e 64 6f 77 6e 6c 6f 61 64 2e 66 6f 6c 64 65 72 4c 69 73 74 20 70 72 65 | .browser.download.folderList.pre |
146d80 | 66 65 72 65 6e 63 65 2e 0a 20 20 20 2a 2f 0a 20 20 67 65 74 46 6f 6c 64 65 72 4c 69 73 74 50 72 | ference.....*/...getFolderListPr |
146da0 | 65 66 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 76 61 72 20 66 6f 6c 64 | ef:.function.()...{.....var.fold |
146dc0 | 65 72 4c 69 73 74 50 72 65 66 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 | erListPref.=.document.getElement |
146de0 | 42 79 49 64 28 22 62 72 6f 77 73 65 72 2e 64 6f 77 6e 6c 6f 61 64 2e 66 6f 6c 64 65 72 4c 69 73 | ById("browser.download.folderLis |
146e00 | 74 22 29 3b 0a 20 20 20 20 73 77 69 74 63 68 28 66 6f 6c 64 65 72 4c 69 73 74 50 72 65 66 2e 76 | t");.....switch(folderListPref.v |
146e20 | 61 6c 75 65 29 20 7b 0a 20 20 20 20 20 20 63 61 73 65 20 30 3a 20 2f 2f 20 44 65 73 6b 74 6f 70 | alue).{.......case.0:.//.Desktop |
146e40 | 0a 20 20 20 20 20 20 63 61 73 65 20 31 3a 20 2f 2f 20 44 6f 77 6e 6c 6f 61 64 73 0a 20 20 20 20 | .......case.1:.//.Downloads..... |
146e60 | 20 20 20 20 72 65 74 75 72 6e 20 66 6f 6c 64 65 72 4c 69 73 74 50 72 65 66 2e 76 61 6c 75 65 3b | ....return.folderListPref.value; |
146e80 | 0a 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 63 61 73 65 20 32 3a 20 2f 2f 20 43 | .......break;.......case.2:.//.C |
146ea0 | 75 73 74 6f 6d 0a 20 20 20 20 20 20 20 20 76 61 72 20 63 75 72 72 65 6e 74 44 69 72 50 72 65 66 | ustom.........var.currentDirPref |
146ec0 | 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 62 72 6f 77 | .=.document.getElementById("brow |
146ee0 | 73 65 72 2e 64 6f 77 6e 6c 6f 61 64 2e 64 69 72 22 29 3b 0a 20 20 20 20 20 20 20 20 69 66 20 28 | ser.download.dir");.........if.( |
146f00 | 63 75 72 72 65 6e 74 44 69 72 50 72 65 66 2e 76 61 6c 75 65 29 20 7b 0a 20 20 20 20 20 20 20 20 | currentDirPref.value).{......... |
146f20 | 20 20 2f 2f 20 52 65 73 6f 6c 76 65 20 74 6f 20 61 20 6b 6e 6f 77 6e 20 6c 6f 63 61 74 69 6f 6e | ..//.Resolve.to.a.known.location |
146f40 | 20 69 66 20 70 6f 73 73 69 62 6c 65 2e 20 57 65 20 61 72 65 20 77 72 69 74 69 6e 67 20 6f 75 74 | .if.possible..We.are.writing.out |
146f60 | 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 74 6f 20 70 72 65 66 73 20 6f 6e 20 74 68 69 73 20 63 | ...........//.to.prefs.on.this.c |
146f80 | 61 6c 6c 2c 20 73 6f 20 6e 6f 77 20 77 6f 75 6c 64 20 62 65 20 61 20 67 6f 6f 64 20 74 69 6d 65 | all,.so.now.would.be.a.good.time |
146fa0 | 20 74 6f 20 64 6f 20 69 74 2e 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 | .to.do.it............return.this |
146fc0 | 2e 5f 66 6f 6c 64 65 72 54 6f 49 6e 64 65 78 28 63 75 72 72 65 6e 74 44 69 72 50 72 65 66 2e 76 | ._folderToIndex(currentDirPref.v |
146fe0 | 61 6c 75 65 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 | alue);.........}.........return. |
147000 | 30 3b 0a 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 2f 2a | 0;.......break;.....}...},..../* |
147020 | 2a 0a 20 20 20 2a 20 44 69 73 70 6c 61 79 73 20 74 68 65 20 41 64 64 2d 6f 6e 73 20 4d 61 6e 61 | *....*.Displays.the.Add-ons.Mana |
147040 | 67 65 72 2e 0a 20 20 20 2a 2f 0a 20 20 73 68 6f 77 41 64 64 6f 6e 73 4d 67 72 3a 20 66 75 6e 63 | ger.....*/...showAddonsMgr:.func |
147060 | 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 63 6f 6e 73 74 20 45 4d 54 59 50 45 20 3d 20 22 | tion.()...{.....const.EMTYPE.=." |
147080 | 45 78 74 65 6e 73 69 6f 6e 3a 4d 61 6e 61 67 65 72 22 3b 0a 20 20 20 20 76 61 72 20 77 6d 20 3d | Extension:Manager";.....var.wm.= |
1470a0 | 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 | .Components.classes["@mozilla.or |
1470c0 | 67 2f 61 70 70 73 68 65 6c 6c 2f 77 69 6e 64 6f 77 2d 6d 65 64 69 61 74 6f 72 3b 31 22 5d 0a 20 | g/appshell/window-mediator;1"].. |
1470e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 | .......................getServic |
147100 | 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 57 69 6e 64 6f | e(Components.interfaces.nsIWindo |
147120 | 77 4d 65 64 69 61 74 6f 72 29 3b 0a 20 20 20 20 76 61 72 20 74 68 65 45 4d 20 3d 20 77 6d 2e 67 | wMediator);.....var.theEM.=.wm.g |
147140 | 65 74 4d 6f 73 74 52 65 63 65 6e 74 57 69 6e 64 6f 77 28 45 4d 54 59 50 45 29 3b 0a 20 20 20 20 | etMostRecentWindow(EMTYPE);..... |
147160 | 69 66 20 28 74 68 65 45 4d 29 20 7b 0a 20 20 20 20 20 20 74 68 65 45 4d 2e 66 6f 63 75 73 28 29 | if.(theEM).{.......theEM.focus() |
147180 | 3b 0a 20 20 20 20 20 20 74 68 65 45 4d 2e 73 68 6f 77 56 69 65 77 28 22 65 78 74 65 6e 73 69 6f | ;.......theEM.showView("extensio |
1471a0 | 6e 73 22 29 3b 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 63 | ns");.......return;.....}......c |
1471c0 | 6f 6e 73 74 20 45 4d 55 52 4c 20 3d 20 22 63 68 72 6f 6d 65 3a 2f 2f 6d 6f 7a 61 70 70 73 2f 63 | onst.EMURL.=."chrome://mozapps/c |
1471e0 | 6f 6e 74 65 6e 74 2f 65 78 74 65 6e 73 69 6f 6e 73 2f 65 78 74 65 6e 73 69 6f 6e 73 2e 78 75 6c | ontent/extensions/extensions.xul |
147200 | 22 3b 0a 20 20 20 20 63 6f 6e 73 74 20 45 4d 46 45 41 54 55 52 45 53 20 3d 20 22 63 68 72 6f 6d | ";.....const.EMFEATURES.=."chrom |
147220 | 65 2c 6d 65 6e 75 62 61 72 2c 65 78 74 72 61 2d 63 68 72 6f 6d 65 2c 74 6f 6f 6c 62 61 72 2c 64 | e,menubar,extra-chrome,toolbar,d |
147240 | 69 61 6c 6f 67 3d 6e 6f 2c 72 65 73 69 7a 61 62 6c 65 22 3b 0a 20 20 20 20 77 69 6e 64 6f 77 2e | ialog=no,resizable";.....window. |
147260 | 6f 70 65 6e 44 69 61 6c 6f 67 28 45 4d 55 52 4c 2c 20 22 22 2c 20 45 4d 46 45 41 54 55 52 45 53 | openDialog(EMURL,."",.EMFEATURES |
147280 | 2c 20 22 65 78 74 65 6e 73 69 6f 6e 73 22 29 3b 0a 20 20 7d 0a 7d 3b 0a 50 4b 03 04 14 00 00 00 | ,."extensions");...}.};.PK...... |
1472a0 | 00 00 f3 4b 18 3b 78 06 d1 fe eb 0d 00 00 eb 0d 00 00 2b 00 00 00 63 6f 6e 74 65 6e 74 2f 62 72 | ...K.;x...........+...content/br |
1472c0 | 6f 77 73 65 72 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 70 65 72 6d 69 73 73 69 6f 6e 73 2e 78 75 | owser/preferences/permissions.xu |
1472e0 | 6c 3c 3f 78 6d 6c 20 76 65 72 73 69 6f 6e 3d 22 31 2e 30 22 3f 3e 0a 0a 0a 3c 3f 78 6d 6c 2d 73 | l<?xml.version="1.0"?>...<?xml-s |
147300 | 74 79 6c 65 73 68 65 65 74 20 68 72 65 66 3d 22 63 68 72 6f 6d 65 3a 2f 2f 67 6c 6f 62 61 6c 2f | tylesheet.href="chrome://global/ |
147320 | 73 6b 69 6e 2f 22 20 74 79 70 65 3d 22 74 65 78 74 2f 63 73 73 22 3f 3e 20 0a 3c 3f 78 6d 6c 2d | skin/".type="text/css"?>..<?xml- |
147340 | 73 74 79 6c 65 73 68 65 65 74 20 68 72 65 66 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 | stylesheet.href="chrome://browse |
147360 | 72 2f 73 6b 69 6e 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 70 72 65 66 65 72 65 6e 63 65 73 2e 63 | r/skin/preferences/preferences.c |
147380 | 73 73 22 20 74 79 70 65 3d 22 74 65 78 74 2f 63 73 73 22 3f 3e 20 0a 0a 3c 21 44 4f 43 54 59 50 | ss".type="text/css"?>...<!DOCTYP |
1473a0 | 45 20 64 69 61 6c 6f 67 20 53 59 53 54 45 4d 20 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 | E.dialog.SYSTEM."chrome://browse |
1473c0 | 72 2f 6c 6f 63 61 6c 65 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 70 65 72 6d 69 73 73 69 6f 6e 73 | r/locale/preferences/permissions |
1473e0 | 2e 64 74 64 22 20 3e 0a 0a 3c 77 69 6e 64 6f 77 20 69 64 3d 22 50 65 72 6d 69 73 73 69 6f 6e 73 | .dtd".>..<window.id="Permissions |
147400 | 44 69 61 6c 6f 67 22 20 63 6c 61 73 73 3d 22 77 69 6e 64 6f 77 44 69 61 6c 6f 67 22 0a 20 20 20 | Dialog".class="windowDialog".... |
147420 | 20 20 20 20 20 77 69 6e 64 6f 77 74 79 70 65 3d 22 42 72 6f 77 73 65 72 3a 50 65 72 6d 69 73 73 | .....windowtype="Browser:Permiss |
147440 | 69 6f 6e 73 22 0a 20 20 20 20 20 20 20 20 74 69 74 6c 65 3d 22 26 77 69 6e 64 6f 77 2e 74 69 74 | ions".........title="&window.tit |
147460 | 6c 65 3b 22 0a 20 20 20 20 20 20 20 20 78 6d 6c 6e 73 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e 6d | le;".........xmlns="http://www.m |
147480 | 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6b 65 79 6d 61 73 74 65 72 2f 67 61 74 65 6b 65 65 70 65 72 2f | ozilla.org/keymaster/gatekeeper/ |
1474a0 | 74 68 65 72 65 2e 69 73 2e 6f 6e 6c 79 2e 78 75 6c 22 0a 20 20 20 20 20 20 20 20 73 74 79 6c 65 | there.is.only.xul".........style |
1474c0 | 3d 22 77 69 64 74 68 3a 20 26 77 69 6e 64 6f 77 2e 77 69 64 74 68 3b 3b 22 0a 20 20 20 20 20 20 | ="width:.&window.width;;"....... |
1474e0 | 20 20 6f 6e 6c 6f 61 64 3d 22 67 50 65 72 6d 69 73 73 69 6f 6e 4d 61 6e 61 67 65 72 2e 6f 6e 4c | ..onload="gPermissionManager.onL |
147500 | 6f 61 64 28 29 3b 22 0a 20 20 20 20 20 20 20 20 6f 6e 75 6e 6c 6f 61 64 3d 22 67 50 65 72 6d 69 | oad();".........onunload="gPermi |
147520 | 73 73 69 6f 6e 4d 61 6e 61 67 65 72 2e 75 6e 69 6e 69 74 28 29 3b 22 0a 20 20 20 20 20 20 20 20 | ssionManager.uninit();"......... |
147540 | 70 65 72 73 69 73 74 3d 22 73 63 72 65 65 6e 58 20 73 63 72 65 65 6e 59 20 77 69 64 74 68 20 68 | persist="screenX.screenY.width.h |
147560 | 65 69 67 68 74 22 3e 0a 0a 20 20 3c 73 63 72 69 70 74 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f | eight">....<script.src="chrome:/ |
147580 | 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 70 65 72 | /browser/content/preferences/per |
1475a0 | 6d 69 73 73 69 6f 6e 73 75 74 69 6c 73 2e 6a 73 22 2f 3e 0a 20 20 3c 73 63 72 69 70 74 20 73 72 | missionsutils.js"/>...<script.sr |
1475c0 | 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 70 72 65 66 | c="chrome://browser/content/pref |
1475e0 | 65 72 65 6e 63 65 73 2f 70 65 72 6d 69 73 73 69 6f 6e 73 2e 6a 73 22 2f 3e 0a 0a 20 20 3c 73 74 | erences/permissions.js"/>....<st |
147600 | 72 69 6e 67 62 75 6e 64 6c 65 20 69 64 3d 22 62 75 6e 64 6c 65 50 72 65 66 65 72 65 6e 63 65 73 | ringbundle.id="bundlePreferences |
147620 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f | ".................src="chrome:// |
147640 | 62 72 6f 77 73 65 72 2f 6c 6f 63 61 6c 65 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 70 72 65 66 65 | browser/locale/preferences/prefe |
147660 | 72 65 6e 63 65 73 2e 70 72 6f 70 65 72 74 69 65 73 22 2f 3e 0a 0a 20 20 3c 6b 65 79 73 65 74 3e | rences.properties"/>....<keyset> |
147680 | 0a 20 20 20 20 3c 6b 65 79 20 6b 65 79 3d 22 26 77 69 6e 64 6f 77 43 6c 6f 73 65 2e 6b 65 79 3b | .....<key.key="&windowClose.key; |
1476a0 | 22 20 6d 6f 64 69 66 69 65 72 73 3d 22 61 63 63 65 6c 22 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 77 | ".modifiers="accel".oncommand="w |
1476c0 | 69 6e 64 6f 77 2e 63 6c 6f 73 65 28 29 3b 22 2f 3e 0a 20 20 3c 2f 6b 65 79 73 65 74 3e 0a 20 20 | indow.close();"/>...</keyset>... |
1476e0 | 0a 20 20 3c 76 62 6f 78 20 63 6c 61 73 73 3d 22 63 6f 6e 74 65 6e 74 50 61 6e 65 22 20 66 6c 65 | ...<vbox.class="contentPane".fle |
147700 | 78 3d 22 31 22 3e 0a 20 20 20 20 3c 64 65 73 63 72 69 70 74 69 6f 6e 20 69 64 3d 22 70 65 72 6d | x="1">.....<description.id="perm |
147720 | 69 73 73 69 6f 6e 73 54 65 78 74 22 20 63 6f 6e 74 72 6f 6c 3d 22 75 72 6c 22 2f 3e 0a 20 20 20 | issionsText".control="url"/>.... |
147740 | 20 3c 73 65 70 61 72 61 74 6f 72 20 63 6c 61 73 73 3d 22 74 68 69 6e 22 2f 3e 0a 20 20 20 20 3c | .<separator.class="thin"/>.....< |
147760 | 6c 61 62 65 6c 20 69 64 3d 22 75 72 6c 4c 61 62 65 6c 22 20 63 6f 6e 74 72 6f 6c 3d 22 75 72 6c | label.id="urlLabel".control="url |
147780 | 22 20 76 61 6c 75 65 3d 22 26 61 64 64 72 65 73 73 2e 6c 61 62 65 6c 3b 22 20 61 63 63 65 73 73 | ".value="&address.label;".access |
1477a0 | 6b 65 79 3d 22 26 61 64 64 72 65 73 73 2e 61 63 63 65 73 73 6b 65 79 3b 22 2f 3e 0a 20 20 20 20 | key="&address.accesskey;"/>..... |
1477c0 | 3c 68 62 6f 78 20 61 6c 69 67 6e 3d 22 73 74 61 72 74 22 3e 0a 20 20 20 20 20 20 3c 74 65 78 74 | <hbox.align="start">.......<text |
1477e0 | 62 6f 78 20 69 64 3d 22 75 72 6c 22 20 66 6c 65 78 3d 22 31 22 20 0a 20 20 20 20 20 20 20 20 20 | box.id="url".flex="1"........... |
147800 | 20 20 20 20 20 20 6f 6e 69 6e 70 75 74 3d 22 67 50 65 72 6d 69 73 73 69 6f 6e 4d 61 6e 61 67 65 | ......oninput="gPermissionManage |
147820 | 72 2e 6f 6e 48 6f 73 74 49 6e 70 75 74 28 65 76 65 6e 74 2e 74 61 72 67 65 74 29 3b 22 0a 20 20 | r.onHostInput(event.target);"... |
147840 | 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 6b 65 79 70 72 65 73 73 3d 22 67 50 65 72 6d 69 73 | .............onkeypress="gPermis |
147860 | 73 69 6f 6e 4d 61 6e 61 67 65 72 2e 6f 6e 48 6f 73 74 4b 65 79 50 72 65 73 73 28 65 76 65 6e 74 | sionManager.onHostKeyPress(event |
147880 | 29 3b 22 2f 3e 0a 20 20 20 20 3c 2f 68 62 6f 78 3e 0a 20 20 20 20 3c 68 62 6f 78 20 70 61 63 6b | );"/>.....</hbox>.....<hbox.pack |
1478a0 | 3d 22 65 6e 64 22 3e 0a 20 20 20 20 20 20 3c 62 75 74 74 6f 6e 20 69 64 3d 22 62 74 6e 42 6c 6f | ="end">.......<button.id="btnBlo |
1478c0 | 63 6b 22 20 64 69 73 61 62 6c 65 64 3d 22 74 72 75 65 22 20 6c 61 62 65 6c 3d 22 26 62 6c 6f 63 | ck".disabled="true".label="&bloc |
1478e0 | 6b 2e 6c 61 62 65 6c 3b 22 20 61 63 63 65 73 73 6b 65 79 3d 22 26 62 6c 6f 63 6b 2e 61 63 63 65 | k.label;".accesskey="&block.acce |
147900 | 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d | sskey;"...............oncommand= |
147920 | 22 67 50 65 72 6d 69 73 73 69 6f 6e 4d 61 6e 61 67 65 72 2e 61 64 64 50 65 72 6d 69 73 73 69 6f | "gPermissionManager.addPermissio |
147940 | 6e 28 6e 73 49 50 65 72 6d 69 73 73 69 6f 6e 4d 61 6e 61 67 65 72 2e 44 45 4e 59 5f 41 43 54 49 | n(nsIPermissionManager.DENY_ACTI |
147960 | 4f 4e 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 62 75 74 74 6f 6e 20 69 64 3d 22 62 74 6e 53 65 73 | ON);"/>.......<button.id="btnSes |
147980 | 73 69 6f 6e 22 20 64 69 73 61 62 6c 65 64 3d 22 74 72 75 65 22 20 6c 61 62 65 6c 3d 22 26 73 65 | sion".disabled="true".label="&se |
1479a0 | 73 73 69 6f 6e 2e 6c 61 62 65 6c 3b 22 20 61 63 63 65 73 73 6b 65 79 3d 22 26 73 65 73 73 69 6f | ssion.label;".accesskey="&sessio |
1479c0 | 6e 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f | n.accesskey;"...............onco |
1479e0 | 6d 6d 61 6e 64 3d 22 67 50 65 72 6d 69 73 73 69 6f 6e 4d 61 6e 61 67 65 72 2e 61 64 64 50 65 72 | mmand="gPermissionManager.addPer |
147a00 | 6d 69 73 73 69 6f 6e 28 6e 73 49 43 6f 6f 6b 69 65 50 65 72 6d 69 73 73 69 6f 6e 2e 41 43 43 45 | mission(nsICookiePermission.ACCE |
147a20 | 53 53 5f 53 45 53 53 49 4f 4e 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 62 75 74 74 6f 6e 20 69 64 | SS_SESSION);"/>.......<button.id |
147a40 | 3d 22 62 74 6e 41 6c 6c 6f 77 22 20 64 69 73 61 62 6c 65 64 3d 22 74 72 75 65 22 20 6c 61 62 65 | ="btnAllow".disabled="true".labe |
147a60 | 6c 3d 22 26 61 6c 6c 6f 77 2e 6c 61 62 65 6c 3b 22 20 64 65 66 61 75 6c 74 3d 22 74 72 75 65 22 | l="&allow.label;".default="true" |
147a80 | 20 61 63 63 65 73 73 6b 65 79 3d 22 26 61 6c 6c 6f 77 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 | .accesskey="&allow.accesskey;".. |
147aa0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 50 65 72 6d 69 73 73 | .............oncommand="gPermiss |
147ac0 | 69 6f 6e 4d 61 6e 61 67 65 72 2e 61 64 64 50 65 72 6d 69 73 73 69 6f 6e 28 6e 73 49 50 65 72 6d | ionManager.addPermission(nsIPerm |
147ae0 | 69 73 73 69 6f 6e 4d 61 6e 61 67 65 72 2e 41 4c 4c 4f 57 5f 41 43 54 49 4f 4e 29 3b 22 2f 3e 0a | issionManager.ALLOW_ACTION);"/>. |
147b00 | 20 20 20 20 3c 2f 68 62 6f 78 3e 0a 20 20 20 20 3c 73 65 70 61 72 61 74 6f 72 20 63 6c 61 73 73 | ....</hbox>.....<separator.class |
147b20 | 3d 22 74 68 69 6e 22 2f 3e 0a 20 20 20 20 3c 74 72 65 65 20 69 64 3d 22 70 65 72 6d 69 73 73 69 | ="thin"/>.....<tree.id="permissi |
147b40 | 6f 6e 73 54 72 65 65 22 20 66 6c 65 78 3d 22 31 22 20 73 74 79 6c 65 3d 22 68 65 69 67 68 74 3a | onsTree".flex="1".style="height: |
147b60 | 20 31 38 65 6d 3b 22 0a 20 20 20 20 20 20 20 20 20 20 68 69 64 65 63 6f 6c 75 6d 6e 70 69 63 6b | .18em;"...........hidecolumnpick |
147b80 | 65 72 3d 22 74 72 75 65 22 0a 20 20 20 20 20 20 20 20 20 20 6f 6e 6b 65 79 70 72 65 73 73 3d 22 | er="true"...........onkeypress=" |
147ba0 | 67 50 65 72 6d 69 73 73 69 6f 6e 4d 61 6e 61 67 65 72 2e 6f 6e 50 65 72 6d 69 73 73 69 6f 6e 4b | gPermissionManager.onPermissionK |
147bc0 | 65 79 50 72 65 73 73 28 65 76 65 6e 74 29 22 0a 20 20 20 20 20 20 20 20 20 20 6f 6e 73 65 6c 65 | eyPress(event)"...........onsele |
147be0 | 63 74 3d 22 67 50 65 72 6d 69 73 73 69 6f 6e 4d 61 6e 61 67 65 72 2e 6f 6e 50 65 72 6d 69 73 73 | ct="gPermissionManager.onPermiss |
147c00 | 69 6f 6e 53 65 6c 65 63 74 65 64 28 29 3b 22 3e 0a 20 20 20 20 20 20 3c 74 72 65 65 63 6f 6c 73 | ionSelected();">.......<treecols |
147c20 | 3e 0a 20 20 20 20 20 20 20 20 3c 74 72 65 65 63 6f 6c 20 69 64 3d 22 73 69 74 65 43 6f 6c 22 20 | >.........<treecol.id="siteCol". |
147c40 | 6c 61 62 65 6c 3d 22 26 74 72 65 65 68 65 61 64 2e 73 69 74 65 6e 61 6d 65 2e 6c 61 62 65 6c 3b | label="&treehead.sitename.label; |
147c60 | 22 20 66 6c 65 78 3d 22 33 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6c 69 | ".flex="3".................oncli |
147c80 | 63 6b 3d 22 67 50 65 72 6d 69 73 73 69 6f 6e 4d 61 6e 61 67 65 72 2e 6f 6e 50 65 72 6d 69 73 73 | ck="gPermissionManager.onPermiss |
147ca0 | 69 6f 6e 53 6f 72 74 28 27 72 61 77 48 6f 73 74 27 29 3b 22 20 70 65 72 73 69 73 74 3d 22 77 69 | ionSort('rawHost');".persist="wi |
147cc0 | 64 74 68 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 73 70 6c 69 74 74 65 72 20 63 6c 61 73 73 3d 22 | dth"/>.........<splitter.class=" |
147ce0 | 74 72 65 65 2d 73 70 6c 69 74 74 65 72 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 74 72 65 65 63 6f | tree-splitter"/>.........<treeco |
147d00 | 6c 20 69 64 3d 22 73 74 61 74 75 73 43 6f 6c 22 20 6c 61 62 65 6c 3d 22 26 74 72 65 65 68 65 61 | l.id="statusCol".label="&treehea |
147d20 | 64 2e 73 74 61 74 75 73 2e 6c 61 62 65 6c 3b 22 20 66 6c 65 78 3d 22 31 22 0a 20 20 20 20 20 20 | d.status.label;".flex="1"....... |
147d40 | 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6c 69 63 6b 3d 22 67 50 65 72 6d 69 73 73 69 6f 6e 4d 61 | ..........onclick="gPermissionMa |
147d60 | 6e 61 67 65 72 2e 6f 6e 50 65 72 6d 69 73 73 69 6f 6e 53 6f 72 74 28 27 63 61 70 61 62 69 6c 69 | nager.onPermissionSort('capabili |
147d80 | 74 79 27 29 3b 22 20 70 65 72 73 69 73 74 3d 22 77 69 64 74 68 22 2f 3e 0a 20 20 20 20 20 20 3c | ty');".persist="width"/>.......< |
147da0 | 2f 74 72 65 65 63 6f 6c 73 3e 0a 20 20 20 20 20 20 3c 74 72 65 65 63 68 69 6c 64 72 65 6e 2f 3e | /treecols>.......<treechildren/> |
147dc0 | 0a 20 20 20 20 3c 2f 74 72 65 65 3e 0a 20 20 3c 2f 76 62 6f 78 3e 0a 20 20 3c 68 62 6f 78 20 61 | .....</tree>...</vbox>...<hbox.a |
147de0 | 6c 69 67 6e 3d 22 65 6e 64 22 3e 0a 20 20 20 20 3c 68 62 6f 78 20 63 6c 61 73 73 3d 22 61 63 74 | lign="end">.....<hbox.class="act |
147e00 | 69 6f 6e 42 75 74 74 6f 6e 73 22 20 66 6c 65 78 3d 22 31 22 3e 0a 20 20 20 20 20 20 3c 62 75 74 | ionButtons".flex="1">.......<but |
147e20 | 74 6f 6e 20 69 64 3d 22 72 65 6d 6f 76 65 50 65 72 6d 69 73 73 69 6f 6e 22 20 64 69 73 61 62 6c | ton.id="removePermission".disabl |
147e40 | 65 64 3d 22 74 72 75 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 | ed="true"...............accesske |
147e60 | 79 3d 22 26 72 65 6d 6f 76 65 70 65 72 6d 69 73 73 69 6f 6e 2e 61 63 63 65 73 73 6b 65 79 3b 22 | y="&removepermission.accesskey;" |
147e80 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 63 6f 6e 3d 22 72 65 6d 6f 76 65 22 20 6c 61 62 | ...............icon="remove".lab |
147ea0 | 65 6c 3d 22 26 72 65 6d 6f 76 65 70 65 72 6d 69 73 73 69 6f 6e 2e 6c 61 62 65 6c 3b 22 0a 20 20 | el="&removepermission.label;"... |
147ec0 | 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 50 65 72 6d 69 73 73 69 | ............oncommand="gPermissi |
147ee0 | 6f 6e 4d 61 6e 61 67 65 72 2e 6f 6e 50 65 72 6d 69 73 73 69 6f 6e 44 65 6c 65 74 65 64 28 29 3b | onManager.onPermissionDeleted(); |
147f00 | 22 2f 3e 0a 20 20 20 20 20 20 3c 62 75 74 74 6f 6e 20 69 64 3d 22 72 65 6d 6f 76 65 41 6c 6c 50 | "/>.......<button.id="removeAllP |
147f20 | 65 72 6d 69 73 73 69 6f 6e 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 63 6f 6e 3d 22 | ermissions"...............icon=" |
147f40 | 63 6c 65 61 72 22 20 6c 61 62 65 6c 3d 22 26 72 65 6d 6f 76 65 61 6c 6c 70 65 72 6d 69 73 73 69 | clear".label="&removeallpermissi |
147f60 | 6f 6e 73 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 | ons.label;"...............access |
147f80 | 6b 65 79 3d 22 26 72 65 6d 6f 76 65 61 6c 6c 70 65 72 6d 69 73 73 69 6f 6e 73 2e 61 63 63 65 73 | key="&removeallpermissions.acces |
147fa0 | 73 6b 65 79 3b 22 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d | skey;"................oncommand= |
147fc0 | 22 67 50 65 72 6d 69 73 73 69 6f 6e 4d 61 6e 61 67 65 72 2e 6f 6e 41 6c 6c 50 65 72 6d 69 73 73 | "gPermissionManager.onAllPermiss |
147fe0 | 69 6f 6e 73 44 65 6c 65 74 65 64 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 73 70 61 63 65 72 20 | ionsDeleted();"/>.......<spacer. |
148000 | 66 6c 65 78 3d 22 31 22 2f 3e 0a 20 20 20 20 20 20 3c 62 75 74 74 6f 6e 20 6f 6e 63 6f 6d 6d 61 | flex="1"/>.......<button.oncomma |
148020 | 6e 64 3d 22 63 6c 6f 73 65 28 29 3b 22 20 69 63 6f 6e 3d 22 63 6c 6f 73 65 22 0a 20 20 20 20 20 | nd="close();".icon="close"...... |
148040 | 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 62 75 74 74 6f 6e 2e 63 6c 6f 73 65 2e 6c 61 | .........label="&button.close.la |
148060 | 62 65 6c 3b 22 20 61 63 63 65 73 73 6b 65 79 3d 22 26 62 75 74 74 6f 6e 2e 63 6c 6f 73 65 2e 61 | bel;".accesskey="&button.close.a |
148080 | 63 63 65 73 73 6b 65 79 3b 22 2f 3e 0a 20 20 20 20 3c 2f 68 62 6f 78 3e 0a 20 20 20 20 3c 72 65 | ccesskey;"/>.....</hbox>.....<re |
1480a0 | 73 69 7a 65 72 20 64 69 72 3d 22 62 6f 74 74 6f 6d 65 6e 64 22 2f 3e 0a 20 20 3c 2f 68 62 6f 78 | sizer.dir="bottomend"/>...</hbox |
1480c0 | 3e 0a 3c 2f 77 69 6e 64 6f 77 3e 0a 50 4b 03 04 14 00 00 00 00 00 f3 4b 18 3b 11 33 cc 04 7b 34 | >.</window>.PK.........K.;.3..{4 |
1480e0 | 00 00 7b 34 00 00 2a 00 00 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 72 65 66 65 72 | ..{4..*...content/browser/prefer |
148100 | 65 6e 63 65 73 2f 70 65 72 6d 69 73 73 69 6f 6e 73 2e 6a 73 2f 2f 40 6c 69 6e 65 20 33 39 20 22 | ences/permissions.js//@line.39." |
148120 | 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 | /builds/moz2_slave/linux_build/b |
148140 | 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 63 6f 6d 70 6f 6e 65 6e 74 73 2f 70 72 65 66 65 72 65 6e | uild/browser/components/preferen |
148160 | 63 65 73 2f 70 65 72 6d 69 73 73 69 6f 6e 73 2e 6a 73 22 0a 0a 63 6f 6e 73 74 20 6e 73 49 50 65 | ces/permissions.js"..const.nsIPe |
148180 | 72 6d 69 73 73 69 6f 6e 4d 61 6e 61 67 65 72 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 | rmissionManager.=.Components.int |
1481a0 | 65 72 66 61 63 65 73 2e 6e 73 49 50 65 72 6d 69 73 73 69 6f 6e 4d 61 6e 61 67 65 72 3b 0a 63 6f | erfaces.nsIPermissionManager;.co |
1481c0 | 6e 73 74 20 6e 73 49 43 6f 6f 6b 69 65 50 65 72 6d 69 73 73 69 6f 6e 20 3d 20 43 6f 6d 70 6f 6e | nst.nsICookiePermission.=.Compon |
1481e0 | 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 43 6f 6f 6b 69 65 50 65 72 6d 69 73 73 | ents.interfaces.nsICookiePermiss |
148200 | 69 6f 6e 3b 0a 0a 66 75 6e 63 74 69 6f 6e 20 50 65 72 6d 69 73 73 69 6f 6e 28 68 6f 73 74 2c 20 | ion;..function.Permission(host,. |
148220 | 72 61 77 48 6f 73 74 2c 20 74 79 70 65 2c 20 63 61 70 61 62 69 6c 69 74 79 2c 20 70 65 72 6d 29 | rawHost,.type,.capability,.perm) |
148240 | 20 0a 7b 0a 20 20 74 68 69 73 2e 68 6f 73 74 20 3d 20 68 6f 73 74 3b 0a 20 20 74 68 69 73 2e 72 | ..{...this.host.=.host;...this.r |
148260 | 61 77 48 6f 73 74 20 3d 20 72 61 77 48 6f 73 74 3b 0a 20 20 74 68 69 73 2e 74 79 70 65 20 3d 20 | awHost.=.rawHost;...this.type.=. |
148280 | 74 79 70 65 3b 0a 20 20 74 68 69 73 2e 63 61 70 61 62 69 6c 69 74 79 20 3d 20 63 61 70 61 62 69 | type;...this.capability.=.capabi |
1482a0 | 6c 69 74 79 3b 0a 20 20 74 68 69 73 2e 70 65 72 6d 20 3d 20 70 65 72 6d 3b 0a 7d 0a 0a 76 61 72 | lity;...this.perm.=.perm;.}..var |
1482c0 | 20 67 50 65 72 6d 69 73 73 69 6f 6e 4d 61 6e 61 67 65 72 20 3d 20 7b 0a 20 20 5f 74 79 70 65 20 | .gPermissionManager.=.{..._type. |
1482e0 | 20 20 20 20 20 20 20 20 3a 20 22 22 2c 0a 20 20 5f 70 65 72 6d 69 73 73 69 6f 6e 73 20 20 3a 20 | ........:."",..._permissions..:. |
148300 | 5b 5d 2c 0a 20 20 5f 70 6d 20 20 20 20 20 20 20 20 20 20 20 3a 20 43 6f 6d 70 6f 6e 65 6e 74 73 | [],..._pm...........:.Components |
148320 | 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 70 65 72 6d 69 73 73 69 6f | .classes["@mozilla.org/permissio |
148340 | 6e 6d 61 6e 61 67 65 72 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | nmanager;1"].................... |
148360 | 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e | ..........getService(Components. |
148380 | 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 50 65 72 6d 69 73 73 69 6f 6e 4d 61 6e 61 67 65 72 29 | interfaces.nsIPermissionManager) |
1483a0 | 2c 0a 20 20 5f 62 75 6e 64 6c 65 20 20 20 20 20 20 20 3a 20 6e 75 6c 6c 2c 0a 20 20 5f 74 72 65 | ,..._bundle.......:.null,..._tre |
1483c0 | 65 20 20 20 20 20 20 20 20 20 3a 20 6e 75 6c 6c 2c 0a 20 20 0a 20 20 5f 76 69 65 77 3a 20 7b 0a | e.........:.null,......_view:.{. |
1483e0 | 20 20 20 20 5f 72 6f 77 43 6f 75 6e 74 3a 20 30 2c 0a 20 20 20 20 67 65 74 20 72 6f 77 43 6f 75 | ...._rowCount:.0,.....get.rowCou |
148400 | 6e 74 28 29 20 0a 20 20 20 20 7b 20 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f | nt()......{........return.this._ |
148420 | 72 6f 77 43 6f 75 6e 74 3b 20 0a 20 20 20 20 7d 2c 0a 20 20 20 20 67 65 74 43 65 6c 6c 54 65 78 | rowCount;......},.....getCellTex |
148440 | 74 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 52 6f 77 2c 20 61 43 6f 6c 75 6d 6e 29 0a 20 20 20 20 | t:.function.(aRow,.aColumn)..... |
148460 | 7b 0a 20 20 20 20 20 20 69 66 20 28 61 43 6f 6c 75 6d 6e 2e 69 64 20 3d 3d 20 22 73 69 74 65 43 | {.......if.(aColumn.id.==."siteC |
148480 | 6f 6c 22 29 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 67 50 65 72 6d 69 73 73 69 6f 6e 4d | ol").........return.gPermissionM |
1484a0 | 61 6e 61 67 65 72 2e 5f 70 65 72 6d 69 73 73 69 6f 6e 73 5b 61 52 6f 77 5d 2e 72 61 77 48 6f 73 | anager._permissions[aRow].rawHos |
1484c0 | 74 3b 0a 20 20 20 20 20 20 65 6c 73 65 20 69 66 20 28 61 43 6f 6c 75 6d 6e 2e 69 64 20 3d 3d 20 | t;.......else.if.(aColumn.id.==. |
1484e0 | 22 73 74 61 74 75 73 43 6f 6c 22 29 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 67 50 65 72 | "statusCol").........return.gPer |
148500 | 6d 69 73 73 69 6f 6e 4d 61 6e 61 67 65 72 2e 5f 70 65 72 6d 69 73 73 69 6f 6e 73 5b 61 52 6f 77 | missionManager._permissions[aRow |
148520 | 5d 2e 63 61 70 61 62 69 6c 69 74 79 3b 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 22 22 3b 0a 20 | ].capability;.......return."";.. |
148540 | 20 20 20 7d 2c 0a 0a 20 20 20 20 69 73 53 65 70 61 72 61 74 6f 72 3a 20 66 75 6e 63 74 69 6f 6e | ...},......isSeparator:.function |
148560 | 28 61 49 6e 64 65 78 29 20 7b 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 20 7d 2c 0a 20 20 20 20 | (aIndex).{.return.false;.},..... |
148580 | 69 73 53 6f 72 74 65 64 3a 20 66 75 6e 63 74 69 6f 6e 28 29 20 7b 20 72 65 74 75 72 6e 20 66 61 | isSorted:.function().{.return.fa |
1485a0 | 6c 73 65 3b 20 7d 2c 0a 20 20 20 20 69 73 43 6f 6e 74 61 69 6e 65 72 3a 20 66 75 6e 63 74 69 6f | lse;.},.....isContainer:.functio |
1485c0 | 6e 28 61 49 6e 64 65 78 29 20 7b 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 20 7d 2c 0a 20 20 20 | n(aIndex).{.return.false;.},.... |
1485e0 | 20 73 65 74 54 72 65 65 3a 20 66 75 6e 63 74 69 6f 6e 28 61 54 72 65 65 29 7b 7d 2c 0a 20 20 20 | .setTree:.function(aTree){},.... |
148600 | 20 67 65 74 49 6d 61 67 65 53 72 63 3a 20 66 75 6e 63 74 69 6f 6e 28 61 52 6f 77 2c 20 61 43 6f | .getImageSrc:.function(aRow,.aCo |
148620 | 6c 75 6d 6e 29 20 7b 7d 2c 0a 20 20 20 20 67 65 74 50 72 6f 67 72 65 73 73 4d 6f 64 65 3a 20 66 | lumn).{},.....getProgressMode:.f |
148640 | 75 6e 63 74 69 6f 6e 28 61 52 6f 77 2c 20 61 43 6f 6c 75 6d 6e 29 20 7b 7d 2c 0a 20 20 20 20 67 | unction(aRow,.aColumn).{},.....g |
148660 | 65 74 43 65 6c 6c 56 61 6c 75 65 3a 20 66 75 6e 63 74 69 6f 6e 28 61 52 6f 77 2c 20 61 43 6f 6c | etCellValue:.function(aRow,.aCol |
148680 | 75 6d 6e 29 20 7b 7d 2c 0a 20 20 20 20 63 79 63 6c 65 48 65 61 64 65 72 3a 20 66 75 6e 63 74 69 | umn).{},.....cycleHeader:.functi |
1486a0 | 6f 6e 28 63 6f 6c 75 6d 6e 29 20 7b 7d 2c 0a 20 20 20 20 67 65 74 52 6f 77 50 72 6f 70 65 72 74 | on(column).{},.....getRowPropert |
1486c0 | 69 65 73 3a 20 66 75 6e 63 74 69 6f 6e 28 72 6f 77 2c 70 72 6f 70 29 7b 7d 2c 0a 20 20 20 20 67 | ies:.function(row,prop){},.....g |
1486e0 | 65 74 43 6f 6c 75 6d 6e 50 72 6f 70 65 72 74 69 65 73 3a 20 66 75 6e 63 74 69 6f 6e 28 63 6f 6c | etColumnProperties:.function(col |
148700 | 75 6d 6e 2c 70 72 6f 70 29 7b 7d 2c 0a 20 20 20 20 67 65 74 43 65 6c 6c 50 72 6f 70 65 72 74 69 | umn,prop){},.....getCellProperti |
148720 | 65 73 3a 20 66 75 6e 63 74 69 6f 6e 28 72 6f 77 2c 63 6f 6c 75 6d 6e 2c 70 72 6f 70 29 7b 0a 20 | es:.function(row,column,prop){.. |
148740 | 20 20 20 20 20 69 66 20 28 63 6f 6c 75 6d 6e 2e 65 6c 65 6d 65 6e 74 2e 67 65 74 41 74 74 72 69 | .....if.(column.element.getAttri |
148760 | 62 75 74 65 28 22 69 64 22 29 20 3d 3d 20 22 73 69 74 65 43 6f 6c 22 29 0a 20 20 20 20 20 20 20 | bute("id").==."siteCol")........ |
148780 | 20 70 72 6f 70 2e 41 70 70 65 6e 64 45 6c 65 6d 65 6e 74 28 74 68 69 73 2e 5f 6c 74 72 41 74 6f | .prop.AppendElement(this._ltrAto |
1487a0 | 6d 29 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 20 20 0a 20 20 5f 67 65 74 43 61 70 61 62 69 6c 69 | m);.....}...},......_getCapabili |
1487c0 | 74 79 53 74 72 69 6e 67 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 43 61 70 61 62 69 6c 69 74 79 29 | tyString:.function.(aCapability) |
1487e0 | 0a 20 20 7b 0a 20 20 20 20 76 61 72 20 73 74 72 69 6e 67 4b 65 79 20 3d 20 6e 75 6c 6c 3b 0a 20 | ...{.....var.stringKey.=.null;.. |
148800 | 20 20 20 73 77 69 74 63 68 20 28 61 43 61 70 61 62 69 6c 69 74 79 29 20 7b 0a 20 20 20 20 63 61 | ...switch.(aCapability).{.....ca |
148820 | 73 65 20 6e 73 49 50 65 72 6d 69 73 73 69 6f 6e 4d 61 6e 61 67 65 72 2e 41 4c 4c 4f 57 5f 41 43 | se.nsIPermissionManager.ALLOW_AC |
148840 | 54 49 4f 4e 3a 0a 20 20 20 20 20 20 73 74 72 69 6e 67 4b 65 79 20 3d 20 22 63 61 6e 22 3b 0a 20 | TION:.......stringKey.=."can";.. |
148860 | 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 63 61 73 65 20 6e 73 49 50 65 72 6d 69 73 73 69 | .....break;.....case.nsIPermissi |
148880 | 6f 6e 4d 61 6e 61 67 65 72 2e 44 45 4e 59 5f 41 43 54 49 4f 4e 3a 0a 20 20 20 20 20 20 73 74 72 | onManager.DENY_ACTION:.......str |
1488a0 | 69 6e 67 4b 65 79 20 3d 20 22 63 61 6e 6e 6f 74 22 3b 0a 20 20 20 20 20 20 62 72 65 61 6b 3b 0a | ingKey.=."cannot";.......break;. |
1488c0 | 20 20 20 20 63 61 73 65 20 6e 73 49 43 6f 6f 6b 69 65 50 65 72 6d 69 73 73 69 6f 6e 2e 41 43 43 | ....case.nsICookiePermission.ACC |
1488e0 | 45 53 53 5f 53 45 53 53 49 4f 4e 3a 0a 20 20 20 20 20 20 73 74 72 69 6e 67 4b 65 79 20 3d 20 22 | ESS_SESSION:.......stringKey.=." |
148900 | 63 61 6e 53 65 73 73 69 6f 6e 22 3b 0a 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 7d 0a | canSession";.......break;.....}. |
148920 | 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 62 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e | ....return.this._bundle.getStrin |
148940 | 67 28 73 74 72 69 6e 67 4b 65 79 29 3b 0a 20 20 7d 2c 0a 20 20 0a 20 20 61 64 64 50 65 72 6d 69 | g(stringKey);...},......addPermi |
148960 | 73 73 69 6f 6e 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 43 61 70 61 62 69 6c 69 74 79 29 0a 20 20 | ssion:.function.(aCapability)... |
148980 | 7b 0a 20 20 20 20 76 61 72 20 74 65 78 74 62 6f 78 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 | {.....var.textbox.=.document.get |
1489a0 | 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 75 72 6c 22 29 3b 0a 20 20 20 20 76 61 72 20 68 6f 73 74 | ElementById("url");.....var.host |
1489c0 | 20 3d 20 74 65 78 74 62 6f 78 2e 76 61 6c 75 65 2e 72 65 70 6c 61 63 65 28 2f 5e 5c 73 2a 28 5b | .=.textbox.value.replace(/^\s*([ |
1489e0 | 2d 5c 77 5d 2a 3a 5c 2f 2b 29 3f 2f 2c 20 22 22 29 3b 20 2f 2f 20 74 72 69 6d 20 61 6e 79 20 6c | -\w]*:\/+)?/,."");.//.trim.any.l |
148a00 | 65 61 64 69 6e 67 20 73 70 61 63 65 20 61 6e 64 20 73 63 68 65 6d 65 0a 20 20 20 20 74 72 79 20 | eading.space.and.scheme.....try. |
148a20 | 7b 0a 20 20 20 20 20 20 76 61 72 20 69 6f 53 65 72 76 69 63 65 20 3d 20 43 6f 6d 70 6f 6e 65 6e | {.......var.ioService.=.Componen |
148a40 | 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6e 65 74 77 6f 72 6b | ts.classes["@mozilla.org/network |
148a60 | 2f 69 6f 2d 73 65 72 76 69 63 65 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | /io-service;1"]................. |
148a80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 | .................getService(Comp |
148aa0 | 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 49 4f 53 65 72 76 69 63 65 29 3b | onents.interfaces.nsIIOService); |
148ac0 | 0a 20 20 20 20 20 20 76 61 72 20 75 72 69 20 3d 20 69 6f 53 65 72 76 69 63 65 2e 6e 65 77 55 52 | .......var.uri.=.ioService.newUR |
148ae0 | 49 28 22 68 74 74 70 3a 2f 2f 22 2b 68 6f 73 74 2c 20 6e 75 6c 6c 2c 20 6e 75 6c 6c 29 3b 0a 20 | I("http://"+host,.null,.null);.. |
148b00 | 20 20 20 20 20 68 6f 73 74 20 3d 20 75 72 69 2e 68 6f 73 74 3b 0a 20 20 20 20 7d 20 63 61 74 63 | .....host.=.uri.host;.....}.catc |
148b20 | 68 28 65 78 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 70 72 6f 6d 70 74 53 65 72 76 69 63 65 20 | h(ex).{.......var.promptService. |
148b40 | 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f | =.Components.classes["@mozilla.o |
148b60 | 72 67 2f 65 6d 62 65 64 63 6f 6d 70 2f 70 72 6f 6d 70 74 2d 73 65 72 76 69 63 65 3b 31 22 5d 0a | rg/embedcomp/prompt-service;1"]. |
148b80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
148ba0 | 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 | .....getService(Components.inter |
148bc0 | 66 61 63 65 73 2e 6e 73 49 50 72 6f 6d 70 74 53 65 72 76 69 63 65 29 3b 0a 20 20 20 20 20 20 76 | faces.nsIPromptService);.......v |
148be0 | 61 72 20 6d 65 73 73 61 67 65 20 3d 20 74 68 69 73 2e 5f 62 75 6e 64 6c 65 2e 67 65 74 53 74 72 | ar.message.=.this._bundle.getStr |
148c00 | 69 6e 67 28 22 69 6e 76 61 6c 69 64 55 52 49 22 29 3b 0a 20 20 20 20 20 20 76 61 72 20 74 69 74 | ing("invalidURI");.......var.tit |
148c20 | 6c 65 20 3d 20 74 68 69 73 2e 5f 62 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 69 6e 76 | le.=.this._bundle.getString("inv |
148c40 | 61 6c 69 64 55 52 49 54 69 74 6c 65 22 29 3b 0a 20 20 20 20 20 20 70 72 6f 6d 70 74 53 65 72 76 | alidURITitle");.......promptServ |
148c60 | 69 63 65 2e 61 6c 65 72 74 28 77 69 6e 64 6f 77 2c 20 74 69 74 6c 65 2c 20 6d 65 73 73 61 67 65 | ice.alert(window,.title,.message |
148c80 | 29 3b 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 76 61 72 20 | );.......return;.....}......var. |
148ca0 | 63 61 70 61 62 69 6c 69 74 79 53 74 72 69 6e 67 20 3d 20 74 68 69 73 2e 5f 67 65 74 43 61 70 61 | capabilityString.=.this._getCapa |
148cc0 | 62 69 6c 69 74 79 53 74 72 69 6e 67 28 61 43 61 70 61 62 69 6c 69 74 79 29 3b 0a 0a 20 20 20 20 | bilityString(aCapability);...... |
148ce0 | 2f 2f 20 63 68 65 63 6b 20 77 68 65 74 68 65 72 20 74 68 65 20 70 65 72 6d 69 73 73 69 6f 6e 20 | //.check.whether.the.permission. |
148d00 | 61 6c 72 65 61 64 79 20 65 78 69 73 74 73 2c 20 69 66 20 6e 6f 74 2c 20 61 64 64 20 69 74 0a 20 | already.exists,.if.not,.add.it.. |
148d20 | 20 20 20 76 61 72 20 65 78 69 73 74 73 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 66 6f 72 20 28 | ...var.exists.=.false;.....for.( |
148d40 | 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 74 68 69 73 2e 5f 70 65 72 6d 69 73 73 69 6f 6e 73 | var.i.=.0;.i.<.this._permissions |
148d60 | 2e 6c 65 6e 67 74 68 3b 20 2b 2b 69 29 20 7b 0a 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f | .length;.++i).{.......if.(this._ |
148d80 | 70 65 72 6d 69 73 73 69 6f 6e 73 5b 69 5d 2e 72 61 77 48 6f 73 74 20 3d 3d 20 68 6f 73 74 29 20 | permissions[i].rawHost.==.host). |
148da0 | 7b 0a 20 20 20 20 20 20 20 20 2f 2f 20 41 76 6f 69 64 20 63 61 6c 6c 69 6e 67 20 74 68 65 20 70 | {.........//.Avoid.calling.the.p |
148dc0 | 65 72 6d 69 73 73 69 6f 6e 20 6d 61 6e 61 67 65 72 20 69 66 20 74 68 65 20 63 61 70 61 62 69 6c | ermission.manager.if.the.capabil |
148de0 | 69 74 79 20 73 65 74 74 69 6e 67 73 20 61 72 65 0a 20 20 20 20 20 20 20 20 2f 2f 20 74 68 65 20 | ity.settings.are.........//.the. |
148e00 | 73 61 6d 65 2e 20 4f 74 68 65 72 77 69 73 65 20 61 6c 6c 6f 77 20 74 68 65 20 63 61 6c 6c 20 74 | same..Otherwise.allow.the.call.t |
148e20 | 6f 20 74 68 65 20 70 65 72 6d 69 73 73 69 6f 6e 73 20 6d 61 6e 61 67 65 72 20 74 6f 0a 20 20 20 | o.the.permissions.manager.to.... |
148e40 | 20 20 20 20 20 2f 2f 20 75 70 64 61 74 65 20 74 68 65 20 6c 69 73 74 62 6f 78 20 66 6f 72 20 75 | .....//.update.the.listbox.for.u |
148e60 | 73 2e 0a 20 20 20 20 20 20 20 20 65 78 69 73 74 73 20 3d 20 74 68 69 73 2e 5f 70 65 72 6d 69 73 | s..........exists.=.this._permis |
148e80 | 73 69 6f 6e 73 5b 69 5d 2e 70 65 72 6d 20 3d 3d 20 61 43 61 70 61 62 69 6c 69 74 79 3b 0a 20 20 | sions[i].perm.==.aCapability;... |
148ea0 | 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 20 20 20 20 0a | ......break;.......}.....}...... |
148ec0 | 20 20 20 20 69 66 20 28 21 65 78 69 73 74 73 29 20 7b 0a 20 20 20 20 20 20 68 6f 73 74 20 3d 20 | ....if.(!exists).{.......host.=. |
148ee0 | 28 68 6f 73 74 2e 63 68 61 72 41 74 28 30 29 20 3d 3d 20 22 2e 22 29 20 3f 20 68 6f 73 74 2e 73 | (host.charAt(0).==.".").?.host.s |
148f00 | 75 62 73 74 72 69 6e 67 28 31 2c 68 6f 73 74 2e 6c 65 6e 67 74 68 29 20 3a 20 68 6f 73 74 3b 0a | ubstring(1,host.length).:.host;. |
148f20 | 20 20 20 20 20 20 76 61 72 20 75 72 69 20 3d 20 69 6f 53 65 72 76 69 63 65 2e 6e 65 77 55 52 49 | ......var.uri.=.ioService.newURI |
148f40 | 28 22 68 74 74 70 3a 2f 2f 22 20 2b 20 68 6f 73 74 2c 20 6e 75 6c 6c 2c 20 6e 75 6c 6c 29 3b 0a | ("http://".+.host,.null,.null);. |
148f60 | 20 20 20 20 20 20 74 68 69 73 2e 5f 70 6d 2e 61 64 64 28 75 72 69 2c 20 74 68 69 73 2e 5f 74 79 | ......this._pm.add(uri,.this._ty |
148f80 | 70 65 2c 20 61 43 61 70 61 62 69 6c 69 74 79 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 74 65 78 74 | pe,.aCapability);.....}.....text |
148fa0 | 62 6f 78 2e 76 61 6c 75 65 20 3d 20 22 22 3b 0a 20 20 20 20 74 65 78 74 62 6f 78 2e 66 6f 63 75 | box.value.=."";.....textbox.focu |
148fc0 | 73 28 29 3b 0a 0a 20 20 20 20 2f 2f 20 63 6f 76 65 72 73 20 61 20 63 61 73 65 20 77 68 65 72 65 | s();......//.covers.a.case.where |
148fe0 | 20 74 68 65 20 73 69 74 65 20 65 78 69 73 74 73 20 61 6c 72 65 61 64 79 2c 20 73 6f 20 74 68 65 | .the.site.exists.already,.so.the |
149000 | 20 62 75 74 74 6f 6e 73 20 64 6f 6e 27 74 20 64 69 73 61 62 6c 65 0a 20 20 20 20 74 68 69 73 2e | .buttons.don't.disable.....this. |
149020 | 6f 6e 48 6f 73 74 49 6e 70 75 74 28 74 65 78 74 62 6f 78 29 3b 0a 0a 20 20 20 20 2f 2f 20 65 6e | onHostInput(textbox);......//.en |
149040 | 61 62 6c 65 20 22 72 65 6d 6f 76 65 20 61 6c 6c 22 20 62 75 74 74 6f 6e 20 61 73 20 6e 65 65 64 | able."remove.all".button.as.need |
149060 | 65 64 0a 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 | ed.....document.getElementById(" |
149080 | 72 65 6d 6f 76 65 41 6c 6c 50 65 72 6d 69 73 73 69 6f 6e 73 22 29 2e 64 69 73 61 62 6c 65 64 20 | removeAllPermissions").disabled. |
1490a0 | 3d 20 74 68 69 73 2e 5f 70 65 72 6d 69 73 73 69 6f 6e 73 2e 6c 65 6e 67 74 68 20 3d 3d 20 30 3b | =.this._permissions.length.==.0; |
1490c0 | 0a 20 20 7d 2c 0a 20 20 0a 20 20 6f 6e 48 6f 73 74 49 6e 70 75 74 3a 20 66 75 6e 63 74 69 6f 6e | ...},......onHostInput:.function |
1490e0 | 20 28 61 53 69 74 65 46 69 65 6c 64 29 0a 20 20 7b 0a 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 | .(aSiteField)...{.....document.g |
149100 | 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 62 74 6e 53 65 73 73 69 6f 6e 22 29 2e 64 69 73 61 | etElementById("btnSession").disa |
149120 | 62 6c 65 64 20 3d 20 21 61 53 69 74 65 46 69 65 6c 64 2e 76 61 6c 75 65 3b 0a 20 20 20 20 64 6f | bled.=.!aSiteField.value;.....do |
149140 | 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 62 74 6e 42 6c 6f 63 6b 22 | cument.getElementById("btnBlock" |
149160 | 29 2e 64 69 73 61 62 6c 65 64 20 3d 20 21 61 53 69 74 65 46 69 65 6c 64 2e 76 61 6c 75 65 3b 0a | ).disabled.=.!aSiteField.value;. |
149180 | 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 62 74 6e | ....document.getElementById("btn |
1491a0 | 41 6c 6c 6f 77 22 29 2e 64 69 73 61 62 6c 65 64 20 3d 20 21 61 53 69 74 65 46 69 65 6c 64 2e 76 | Allow").disabled.=.!aSiteField.v |
1491c0 | 61 6c 75 65 3b 0a 20 20 7d 2c 0a 20 20 0a 20 20 6f 6e 48 6f 73 74 4b 65 79 50 72 65 73 73 3a 20 | alue;...},......onHostKeyPress:. |
1491e0 | 66 75 6e 63 74 69 6f 6e 20 28 61 45 76 65 6e 74 29 0a 20 20 7b 0a 20 20 20 20 69 66 20 28 61 45 | function.(aEvent)...{.....if.(aE |
149200 | 76 65 6e 74 2e 6b 65 79 43 6f 64 65 20 3d 3d 20 4b 65 79 45 76 65 6e 74 2e 44 4f 4d 5f 56 4b 5f | vent.keyCode.==.KeyEvent.DOM_VK_ |
149220 | 52 45 54 55 52 4e 29 0a 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e | RETURN).......document.getElemen |
149240 | 74 42 79 49 64 28 22 62 74 6e 41 6c 6c 6f 77 22 29 2e 63 6c 69 63 6b 28 29 3b 0a 20 20 7d 2c 0a | tById("btnAllow").click();...},. |
149260 | 20 20 0a 20 20 6f 6e 4c 6f 61 64 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 | .....onLoad:.function.()...{.... |
149280 | 20 74 68 69 73 2e 5f 62 75 6e 64 6c 65 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d | .this._bundle.=.document.getElem |
1492a0 | 65 6e 74 42 79 49 64 28 22 62 75 6e 64 6c 65 50 72 65 66 65 72 65 6e 63 65 73 22 29 3b 0a 20 20 | entById("bundlePreferences");... |
1492c0 | 20 20 76 61 72 20 70 61 72 61 6d 73 20 3d 20 77 69 6e 64 6f 77 2e 61 72 67 75 6d 65 6e 74 73 5b | ..var.params.=.window.arguments[ |
1492e0 | 30 5d 3b 0a 20 20 20 20 74 68 69 73 2e 69 6e 69 74 28 70 61 72 61 6d 73 29 3b 0a 20 20 7d 2c 0a | 0];.....this.init(params);...},. |
149300 | 20 20 0a 20 20 69 6e 69 74 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 50 61 72 61 6d 73 29 0a 20 20 | .....init:.function.(aParams)... |
149320 | 7b 0a 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 74 79 70 65 29 20 7b 0a 20 20 20 20 20 20 2f 2f | {.....if.(this._type).{.......// |
149340 | 20 72 65 75 73 69 6e 67 20 61 6e 20 6f 70 65 6e 20 64 69 61 6c 6f 67 2c 20 63 6c 65 61 72 20 74 | .reusing.an.open.dialog,.clear.t |
149360 | 68 65 20 6f 6c 64 20 6f 62 73 65 72 76 65 72 0a 20 20 20 20 20 20 74 68 69 73 2e 75 6e 69 6e 69 | he.old.observer.......this.unini |
149380 | 74 28 29 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 74 68 69 73 2e 5f 74 79 70 65 20 3d 20 61 50 61 | t();.....}......this._type.=.aPa |
1493a0 | 72 61 6d 73 2e 70 65 72 6d 69 73 73 69 6f 6e 54 79 70 65 3b 0a 20 20 20 20 74 68 69 73 2e 5f 6d | rams.permissionType;.....this._m |
1493c0 | 61 6e 61 67 65 43 61 70 61 62 69 6c 69 74 79 20 3d 20 61 50 61 72 61 6d 73 2e 6d 61 6e 61 67 65 | anageCapability.=.aParams.manage |
1493e0 | 43 61 70 61 62 69 6c 69 74 79 3b 0a 20 20 20 20 0a 20 20 20 20 76 61 72 20 70 65 72 6d 69 73 73 | Capability;..........var.permiss |
149400 | 69 6f 6e 73 54 65 78 74 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 | ionsText.=.document.getElementBy |
149420 | 49 64 28 22 70 65 72 6d 69 73 73 69 6f 6e 73 54 65 78 74 22 29 3b 0a 20 20 20 20 77 68 69 6c 65 | Id("permissionsText");.....while |
149440 | 20 28 70 65 72 6d 69 73 73 69 6f 6e 73 54 65 78 74 2e 68 61 73 43 68 69 6c 64 4e 6f 64 65 73 28 | .(permissionsText.hasChildNodes( |
149460 | 29 29 0a 20 20 20 20 20 20 70 65 72 6d 69 73 73 69 6f 6e 73 54 65 78 74 2e 72 65 6d 6f 76 65 43 | )).......permissionsText.removeC |
149480 | 68 69 6c 64 28 70 65 72 6d 69 73 73 69 6f 6e 73 54 65 78 74 2e 66 69 72 73 74 43 68 69 6c 64 29 | hild(permissionsText.firstChild) |
1494a0 | 3b 0a 20 20 20 20 70 65 72 6d 69 73 73 69 6f 6e 73 54 65 78 74 2e 61 70 70 65 6e 64 43 68 69 6c | ;.....permissionsText.appendChil |
1494c0 | 64 28 64 6f 63 75 6d 65 6e 74 2e 63 72 65 61 74 65 54 65 78 74 4e 6f 64 65 28 61 50 61 72 61 6d | d(document.createTextNode(aParam |
1494e0 | 73 2e 69 6e 74 72 6f 54 65 78 74 29 29 3b 0a 0a 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 74 69 74 | s.introText));......document.tit |
149500 | 6c 65 20 3d 20 61 50 61 72 61 6d 73 2e 77 69 6e 64 6f 77 54 69 74 6c 65 3b 0a 20 20 20 20 0a 20 | le.=.aParams.windowTitle;....... |
149520 | 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 62 74 6e 42 | ...document.getElementById("btnB |
149540 | 6c 6f 63 6b 22 29 2e 68 69 64 64 65 6e 20 20 20 20 3d 20 21 61 50 61 72 61 6d 73 2e 62 6c 6f 63 | lock").hidden....=.!aParams.bloc |
149560 | 6b 56 69 73 69 62 6c 65 3b 0a 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e | kVisible;.....document.getElemen |
149580 | 74 42 79 49 64 28 22 62 74 6e 53 65 73 73 69 6f 6e 22 29 2e 68 69 64 64 65 6e 20 20 3d 20 21 61 | tById("btnSession").hidden..=.!a |
1495a0 | 50 61 72 61 6d 73 2e 73 65 73 73 69 6f 6e 56 69 73 69 62 6c 65 3b 0a 20 20 20 20 64 6f 63 75 6d | Params.sessionVisible;.....docum |
1495c0 | 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 62 74 6e 41 6c 6c 6f 77 22 29 2e 68 | ent.getElementById("btnAllow").h |
1495e0 | 69 64 64 65 6e 20 20 20 20 3d 20 21 61 50 61 72 61 6d 73 2e 61 6c 6c 6f 77 56 69 73 69 62 6c 65 | idden....=.!aParams.allowVisible |
149600 | 3b 0a 0a 20 20 20 20 76 61 72 20 75 72 6c 46 69 65 6c 64 56 69 73 69 62 6c 65 20 3d 20 28 61 50 | ;......var.urlFieldVisible.=.(aP |
149620 | 61 72 61 6d 73 2e 62 6c 6f 63 6b 56 69 73 69 62 6c 65 20 7c 7c 20 61 50 61 72 61 6d 73 2e 73 65 | arams.blockVisible.||.aParams.se |
149640 | 73 73 69 6f 6e 56 69 73 69 62 6c 65 20 7c 7c 20 61 50 61 72 61 6d 73 2e 61 6c 6c 6f 77 56 69 73 | ssionVisible.||.aParams.allowVis |
149660 | 69 62 6c 65 29 3b 0a 0a 20 20 20 20 76 61 72 20 75 72 6c 46 69 65 6c 64 20 3d 20 64 6f 63 75 6d | ible);......var.urlField.=.docum |
149680 | 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 75 72 6c 22 29 3b 0a 20 20 20 20 75 | ent.getElementById("url");.....u |
1496a0 | 72 6c 46 69 65 6c 64 2e 76 61 6c 75 65 20 3d 20 61 50 61 72 61 6d 73 2e 70 72 65 66 69 6c 6c 65 | rlField.value.=.aParams.prefille |
1496c0 | 64 48 6f 73 74 3b 0a 20 20 20 20 75 72 6c 46 69 65 6c 64 2e 68 69 64 64 65 6e 20 3d 20 21 75 72 | dHost;.....urlField.hidden.=.!ur |
1496e0 | 6c 46 69 65 6c 64 56 69 73 69 62 6c 65 3b 0a 0a 20 20 20 20 74 68 69 73 2e 6f 6e 48 6f 73 74 49 | lFieldVisible;......this.onHostI |
149700 | 6e 70 75 74 28 75 72 6c 46 69 65 6c 64 29 3b 0a 0a 20 20 20 20 76 61 72 20 75 72 6c 4c 61 62 65 | nput(urlField);......var.urlLabe |
149720 | 6c 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 75 72 6c | l.=.document.getElementById("url |
149740 | 4c 61 62 65 6c 22 29 3b 0a 20 20 20 20 75 72 6c 4c 61 62 65 6c 2e 68 69 64 64 65 6e 20 3d 20 21 | Label");.....urlLabel.hidden.=.! |
149760 | 75 72 6c 46 69 65 6c 64 56 69 73 69 62 6c 65 3b 0a 0a 20 20 20 20 76 61 72 20 6f 73 20 3d 20 43 | urlFieldVisible;......var.os.=.C |
149780 | 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f | omponents.classes["@mozilla.org/ |
1497a0 | 6f 62 73 65 72 76 65 72 2d 73 65 72 76 69 63 65 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 | observer-service;1"]............ |
1497c0 | 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e | .............getService(Componen |
1497e0 | 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 4f 62 73 65 72 76 65 72 53 65 72 76 69 63 65 | ts.interfaces.nsIObserverService |
149800 | 29 3b 0a 20 20 20 20 6f 73 2e 61 64 64 4f 62 73 65 72 76 65 72 28 74 68 69 73 2c 20 22 70 65 72 | );.....os.addObserver(this,."per |
149820 | 6d 2d 63 68 61 6e 67 65 64 22 2c 20 66 61 6c 73 65 29 3b 0a 0a 20 20 20 20 69 66 20 28 74 68 69 | m-changed",.false);......if.(thi |
149840 | 73 2e 5f 74 79 70 65 20 3d 3d 20 22 69 6e 73 74 61 6c 6c 22 29 20 7b 0a 20 20 20 20 20 20 76 61 | s._type.==."install").{.......va |
149860 | 72 20 65 6e 75 6d 65 72 61 74 6f 72 20 3d 20 74 68 69 73 2e 5f 70 6d 2e 65 6e 75 6d 65 72 61 74 | r.enumerator.=.this._pm.enumerat |
149880 | 6f 72 3b 0a 20 20 20 20 20 20 69 66 20 28 21 65 6e 75 6d 65 72 61 74 6f 72 2e 68 61 73 4d 6f 72 | or;.......if.(!enumerator.hasMor |
1498a0 | 65 45 6c 65 6d 65 6e 74 73 28 29 29 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 75 70 64 61 74 | eElements()).........this._updat |
1498c0 | 65 50 65 72 6d 69 73 73 69 6f 6e 73 28 29 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 74 68 69 73 2e | ePermissions();.....}......this. |
1498e0 | 5f 6c 6f 61 64 50 65 72 6d 69 73 73 69 6f 6e 73 28 29 3b 0a 20 20 20 20 0a 20 20 20 20 75 72 6c | _loadPermissions();..........url |
149900 | 46 69 65 6c 64 2e 66 6f 63 75 73 28 29 3b 0a 0a 20 20 20 20 74 68 69 73 2e 5f 6c 74 72 41 74 6f | Field.focus();......this._ltrAto |
149920 | 6d 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 | m.=.Components.classes["@mozilla |
149940 | 2e 6f 72 67 2f 61 74 6f 6d 2d 73 65 72 76 69 63 65 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 | .org/atom-service;1"]........... |
149960 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 | .....................getService( |
149980 | 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 41 74 6f 6d 53 65 72 | Components.interfaces.nsIAtomSer |
1499a0 | 76 69 63 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | vice)........................... |
1499c0 | 20 20 20 20 2e 67 65 74 41 74 6f 6d 28 22 6c 74 72 22 29 3b 0a 20 20 7d 2c 0a 20 20 0a 20 20 75 | .....getAtom("ltr");...},......u |
1499e0 | 6e 69 6e 69 74 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 76 61 72 20 6f | ninit:.function.()...{.....var.o |
149a00 | 73 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 | s.=.Components.classes["@mozilla |
149a20 | 2e 6f 72 67 2f 6f 62 73 65 72 76 65 72 2d 73 65 72 76 69 63 65 3b 31 22 5d 0a 20 20 20 20 20 20 | .org/observer-service;1"]....... |
149a40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d | ..................getService(Com |
149a60 | 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 4f 62 73 65 72 76 65 72 53 65 | ponents.interfaces.nsIObserverSe |
149a80 | 72 76 69 63 65 29 3b 0a 20 20 20 20 6f 73 2e 72 65 6d 6f 76 65 4f 62 73 65 72 76 65 72 28 74 68 | rvice);.....os.removeObserver(th |
149aa0 | 69 73 2c 20 22 70 65 72 6d 2d 63 68 61 6e 67 65 64 22 29 3b 0a 20 20 7d 2c 0a 20 20 0a 20 20 6f | is,."perm-changed");...},......o |
149ac0 | 62 73 65 72 76 65 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 53 75 62 6a 65 63 74 2c 20 61 54 6f 70 | bserve:.function.(aSubject,.aTop |
149ae0 | 69 63 2c 20 61 44 61 74 61 29 0a 20 20 7b 0a 20 20 20 20 69 66 20 28 61 54 6f 70 69 63 20 3d 3d | ic,.aData)...{.....if.(aTopic.== |
149b00 | 20 22 70 65 72 6d 2d 63 68 61 6e 67 65 64 22 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 70 65 72 | ."perm-changed").{.......var.per |
149b20 | 6d 69 73 73 69 6f 6e 20 3d 20 61 53 75 62 6a 65 63 74 2e 51 75 65 72 79 49 6e 74 65 72 66 61 63 | mission.=.aSubject.QueryInterfac |
149b40 | 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 50 65 72 6d 69 | e(Components.interfaces.nsIPermi |
149b60 | 73 73 69 6f 6e 29 3b 0a 20 20 20 20 20 20 69 66 20 28 61 44 61 74 61 20 3d 3d 20 22 61 64 64 65 | ssion);.......if.(aData.==."adde |
149b80 | 64 22 29 20 7b 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 61 64 64 50 65 72 6d 69 73 73 69 6f | d").{.........this._addPermissio |
149ba0 | 6e 54 6f 4c 69 73 74 28 70 65 72 6d 69 73 73 69 6f 6e 29 3b 0a 20 20 20 20 20 20 20 20 2b 2b 74 | nToList(permission);.........++t |
149bc0 | 68 69 73 2e 5f 76 69 65 77 2e 5f 72 6f 77 43 6f 75 6e 74 3b 0a 20 20 20 20 20 20 20 20 74 68 69 | his._view._rowCount;.........thi |
149be0 | 73 2e 5f 74 72 65 65 2e 74 72 65 65 42 6f 78 4f 62 6a 65 63 74 2e 72 6f 77 43 6f 75 6e 74 43 68 | s._tree.treeBoxObject.rowCountCh |
149c00 | 61 6e 67 65 64 28 74 68 69 73 2e 5f 76 69 65 77 2e 72 6f 77 43 6f 75 6e 74 20 2d 20 31 2c 20 31 | anged(this._view.rowCount.-.1,.1 |
149c20 | 29 3b 20 20 20 20 20 20 20 20 0a 20 20 20 20 20 20 20 20 2f 2f 20 52 65 2d 64 6f 20 74 68 65 20 | );.................//.Re-do.the. |
149c40 | 73 6f 72 74 2c 20 73 69 6e 63 65 20 77 65 20 69 6e 73 65 72 74 65 64 20 74 68 69 73 20 6e 65 77 | sort,.since.we.inserted.this.new |
149c60 | 20 69 74 65 6d 20 61 74 20 74 68 65 20 65 6e 64 2e 20 0a 20 20 20 20 20 20 20 20 67 54 72 65 65 | .item.at.the.end...........gTree |
149c80 | 55 74 69 6c 73 2e 73 6f 72 74 28 74 68 69 73 2e 5f 74 72 65 65 2c 20 74 68 69 73 2e 5f 76 69 65 | Utils.sort(this._tree,.this._vie |
149ca0 | 77 2c 20 74 68 69 73 2e 5f 70 65 72 6d 69 73 73 69 6f 6e 73 2c 20 0a 20 20 20 20 20 20 20 20 20 | w,.this._permissions,........... |
149cc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 6c 61 73 74 50 65 72 6d 69 73 73 | ...............this._lastPermiss |
149ce0 | 69 6f 6e 53 6f 72 74 43 6f 6c 75 6d 6e 2c 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ionSortColumn,.................. |
149d00 | 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 6c 61 73 74 50 65 72 6d 69 73 73 69 6f 6e 53 6f 72 74 | ........this._lastPermissionSort |
149d20 | 41 73 63 65 6e 64 69 6e 67 29 3b 20 20 20 20 20 20 20 20 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 | Ascending);...............}..... |
149d40 | 20 20 65 6c 73 65 20 69 66 20 28 61 44 61 74 61 20 3d 3d 20 22 63 68 61 6e 67 65 64 22 29 20 7b | ..else.if.(aData.==."changed").{ |
149d60 | 0a 20 20 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 74 68 69 | .........for.(var.i.=.0;.i.<.thi |
149d80 | 73 2e 5f 70 65 72 6d 69 73 73 69 6f 6e 73 2e 6c 65 6e 67 74 68 3b 20 2b 2b 69 29 20 7b 0a 20 20 | s._permissions.length;.++i).{... |
149da0 | 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 70 65 72 6d 69 73 73 69 6f 6e 73 5b 69 5d | ........if.(this._permissions[i] |
149dc0 | 2e 68 6f 73 74 20 3d 3d 20 70 65 72 6d 69 73 73 69 6f 6e 2e 68 6f 73 74 29 20 7b 0a 20 20 20 20 | .host.==.permission.host).{..... |
149de0 | 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 70 65 72 6d 69 73 73 69 6f 6e 73 5b 69 5d 2e 63 61 70 | ........this._permissions[i].cap |
149e00 | 61 62 69 6c 69 74 79 20 3d 20 74 68 69 73 2e 5f 67 65 74 43 61 70 61 62 69 6c 69 74 79 53 74 72 | ability.=.this._getCapabilityStr |
149e20 | 69 6e 67 28 70 65 72 6d 69 73 73 69 6f 6e 2e 63 61 70 61 62 69 6c 69 74 79 29 3b 0a 20 20 20 20 | ing(permission.capability);..... |
149e40 | 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 | ........break;...........}...... |
149e60 | 20 20 20 7d 0a 20 20 20 20 20 20 20 20 2f 2f 20 52 65 2d 64 6f 20 74 68 65 20 73 6f 72 74 2c 20 | ...}.........//.Re-do.the.sort,. |
149e80 | 69 66 20 74 68 65 20 73 74 61 74 75 73 20 63 68 61 6e 67 65 64 20 66 72 6f 6d 20 42 6c 6f 63 6b | if.the.status.changed.from.Block |
149ea0 | 20 74 6f 20 41 6c 6c 6f 77 0a 20 20 20 20 20 20 20 20 2f 2f 20 6f 72 20 76 69 63 65 20 76 65 72 | .to.Allow.........//.or.vice.ver |
149ec0 | 73 61 2c 20 73 69 6e 63 65 20 69 66 20 77 65 27 72 65 20 73 6f 72 74 65 64 20 6f 6e 20 73 74 61 | sa,.since.if.we're.sorted.on.sta |
149ee0 | 74 75 73 2c 20 77 65 20 6d 61 79 20 6e 6f 0a 20 20 20 20 20 20 20 20 2f 2f 20 6c 6f 6e 67 65 72 | tus,.we.may.no.........//.longer |
149f00 | 20 62 65 20 69 6e 20 6f 72 64 65 72 2e 20 0a 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e | .be.in.order...........if.(this. |
149f20 | 5f 6c 61 73 74 50 65 72 6d 69 73 73 69 6f 6e 53 6f 72 74 43 6f 6c 75 6d 6e 2e 69 64 20 3d 3d 20 | _lastPermissionSortColumn.id.==. |
149f40 | 22 73 74 61 74 75 73 43 6f 6c 22 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 67 54 72 65 65 55 74 | "statusCol").{...........gTreeUt |
149f60 | 69 6c 73 2e 73 6f 72 74 28 74 68 69 73 2e 5f 74 72 65 65 2c 20 74 68 69 73 2e 5f 76 69 65 77 2c | ils.sort(this._tree,.this._view, |
149f80 | 20 74 68 69 73 2e 5f 70 65 72 6d 69 73 73 69 6f 6e 73 2c 20 0a 20 20 20 20 20 20 20 20 20 20 20 | .this._permissions,............. |
149fa0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 6c 61 73 74 50 65 72 6d 69 73 73 | ...............this._lastPermiss |
149fc0 | 69 6f 6e 53 6f 72 74 43 6f 6c 75 6d 6e 2c 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ionSortColumn,.................. |
149fe0 | 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 6c 61 73 74 50 65 72 6d 69 73 73 69 6f 6e 53 6f | ..........this._lastPermissionSo |
14a000 | 72 74 41 73 63 65 6e 64 69 6e 67 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 | rtAscending);.........}......... |
14a020 | 74 68 69 73 2e 5f 74 72 65 65 2e 74 72 65 65 42 6f 78 4f 62 6a 65 63 74 2e 69 6e 76 61 6c 69 64 | this._tree.treeBoxObject.invalid |
14a040 | 61 74 65 28 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 2f 2f 20 4e 6f 20 55 49 20 6f 74 | ate();.......}.......//.No.UI.ot |
14a060 | 68 65 72 20 74 68 61 6e 20 74 68 69 73 20 77 69 6e 64 6f 77 20 63 61 75 73 65 73 20 74 68 69 73 | her.than.this.window.causes.this |
14a080 | 20 6d 65 74 68 6f 64 20 74 6f 20 62 65 20 73 65 6e 74 20 61 20 22 64 65 6c 65 74 65 64 22 0a 20 | .method.to.be.sent.a."deleted".. |
14a0a0 | 20 20 20 20 20 2f 2f 20 6e 6f 74 69 66 69 63 61 74 69 6f 6e 2c 20 73 6f 20 77 65 20 64 6f 6e 27 | .....//.notification,.so.we.don' |
14a0c0 | 74 20 6e 65 65 64 20 74 6f 20 69 6d 70 6c 65 6d 65 6e 74 20 69 74 20 73 69 6e 63 65 20 44 65 6c | t.need.to.implement.it.since.Del |
14a0e0 | 65 74 65 20 69 73 20 68 61 6e 64 6c 65 64 0a 20 20 20 20 20 20 2f 2f 20 64 69 72 65 63 74 6c 79 | ete.is.handled.......//.directly |
14a100 | 20 62 79 20 74 68 65 20 50 65 72 6d 69 73 73 69 6f 6e 20 52 65 6d 6f 76 61 6c 20 68 61 6e 64 6c | .by.the.Permission.Removal.handl |
14a120 | 65 72 73 2e 20 49 66 20 74 68 61 74 20 65 76 65 72 20 63 68 61 6e 67 65 73 2c 20 74 68 6f 73 65 | ers..If.that.ever.changes,.those |
14a140 | 0a 20 20 20 20 20 20 2f 2f 20 69 6d 70 6c 65 6d 65 6e 74 61 74 69 6f 6e 73 20 77 69 6c 6c 20 68 | .......//.implementations.will.h |
14a160 | 61 76 65 20 74 6f 20 6d 6f 76 65 20 69 6e 74 6f 20 68 65 72 65 2e 20 0a 20 20 20 20 7d 0a 20 20 | ave.to.move.into.here.......}... |
14a180 | 7d 2c 0a 20 20 0a 20 20 6f 6e 50 65 72 6d 69 73 73 69 6f 6e 53 65 6c 65 63 74 65 64 3a 20 66 75 | },......onPermissionSelected:.fu |
14a1a0 | 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 76 61 72 20 68 61 73 53 65 6c 65 63 74 69 | nction.()...{.....var.hasSelecti |
14a1c0 | 6f 6e 20 3d 20 74 68 69 73 2e 5f 74 72 65 65 2e 76 69 65 77 2e 73 65 6c 65 63 74 69 6f 6e 2e 63 | on.=.this._tree.view.selection.c |
14a1e0 | 6f 75 6e 74 20 3e 20 30 3b 0a 20 20 20 20 76 61 72 20 68 61 73 52 6f 77 73 20 3d 20 74 68 69 73 | ount.>.0;.....var.hasRows.=.this |
14a200 | 2e 5f 74 72 65 65 2e 76 69 65 77 2e 72 6f 77 43 6f 75 6e 74 20 3e 20 30 3b 0a 20 20 20 20 64 6f | ._tree.view.rowCount.>.0;.....do |
14a220 | 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 72 65 6d 6f 76 65 50 65 72 | cument.getElementById("removePer |
14a240 | 6d 69 73 73 69 6f 6e 22 29 2e 64 69 73 61 62 6c 65 64 20 3d 20 21 68 61 73 52 6f 77 73 20 7c 7c | mission").disabled.=.!hasRows.|| |
14a260 | 20 21 68 61 73 53 65 6c 65 63 74 69 6f 6e 3b 0a 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 | .!hasSelection;.....document.get |
14a280 | 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 72 65 6d 6f 76 65 41 6c 6c 50 65 72 6d 69 73 73 69 6f 6e | ElementById("removeAllPermission |
14a2a0 | 73 22 29 2e 64 69 73 61 62 6c 65 64 20 3d 20 21 68 61 73 52 6f 77 73 3b 0a 20 20 7d 2c 0a 20 20 | s").disabled.=.!hasRows;...},... |
14a2c0 | 0a 20 20 6f 6e 50 65 72 6d 69 73 73 69 6f 6e 44 65 6c 65 74 65 64 3a 20 66 75 6e 63 74 69 6f 6e | ...onPermissionDeleted:.function |
14a2e0 | 20 28 29 0a 20 20 7b 0a 20 20 20 20 69 66 20 28 21 74 68 69 73 2e 5f 76 69 65 77 2e 72 6f 77 43 | .()...{.....if.(!this._view.rowC |
14a300 | 6f 75 6e 74 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 20 20 76 61 72 20 72 65 6d 6f | ount).......return;.....var.remo |
14a320 | 76 65 64 50 65 72 6d 69 73 73 69 6f 6e 73 20 3d 20 5b 5d 3b 0a 20 20 20 20 67 54 72 65 65 55 74 | vedPermissions.=.[];.....gTreeUt |
14a340 | 69 6c 73 2e 64 65 6c 65 74 65 53 65 6c 65 63 74 65 64 49 74 65 6d 73 28 74 68 69 73 2e 5f 74 72 | ils.deleteSelectedItems(this._tr |
14a360 | 65 65 2c 20 74 68 69 73 2e 5f 76 69 65 77 2c 20 74 68 69 73 2e 5f 70 65 72 6d 69 73 73 69 6f 6e | ee,.this._view,.this._permission |
14a380 | 73 2c 20 72 65 6d 6f 76 65 64 50 65 72 6d 69 73 73 69 6f 6e 73 29 3b 0a 20 20 20 20 66 6f 72 20 | s,.removedPermissions);.....for. |
14a3a0 | 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 72 65 6d 6f 76 65 64 50 65 72 6d 69 73 73 69 6f | (var.i.=.0;.i.<.removedPermissio |
14a3c0 | 6e 73 2e 6c 65 6e 67 74 68 3b 20 2b 2b 69 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 70 20 3d 20 | ns.length;.++i).{.......var.p.=. |
14a3e0 | 72 65 6d 6f 76 65 64 50 65 72 6d 69 73 73 69 6f 6e 73 5b 69 5d 3b 0a 20 20 20 20 20 20 74 68 69 | removedPermissions[i];.......thi |
14a400 | 73 2e 5f 70 6d 2e 72 65 6d 6f 76 65 28 70 2e 68 6f 73 74 2c 20 70 2e 74 79 70 65 29 3b 0a 20 20 | s._pm.remove(p.host,.p.type);... |
14a420 | 20 20 7d 20 20 20 20 0a 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 | ..}.........document.getElementB |
14a440 | 79 49 64 28 22 72 65 6d 6f 76 65 50 65 72 6d 69 73 73 69 6f 6e 22 29 2e 64 69 73 61 62 6c 65 64 | yId("removePermission").disabled |
14a460 | 20 3d 20 21 74 68 69 73 2e 5f 70 65 72 6d 69 73 73 69 6f 6e 73 2e 6c 65 6e 67 74 68 3b 0a 20 20 | .=.!this._permissions.length;... |
14a480 | 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 72 65 6d 6f 76 | ..document.getElementById("remov |
14a4a0 | 65 41 6c 6c 50 65 72 6d 69 73 73 69 6f 6e 73 22 29 2e 64 69 73 61 62 6c 65 64 20 3d 20 21 74 68 | eAllPermissions").disabled.=.!th |
14a4c0 | 69 73 2e 5f 70 65 72 6d 69 73 73 69 6f 6e 73 2e 6c 65 6e 67 74 68 3b 0a 20 20 7d 2c 0a 20 20 0a | is._permissions.length;...},.... |
14a4e0 | 20 20 6f 6e 41 6c 6c 50 65 72 6d 69 73 73 69 6f 6e 73 44 65 6c 65 74 65 64 3a 20 66 75 6e 63 74 | ..onAllPermissionsDeleted:.funct |
14a500 | 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 69 66 20 28 21 74 68 69 73 2e 5f 76 69 65 77 2e 72 | ion.()...{.....if.(!this._view.r |
14a520 | 6f 77 43 6f 75 6e 74 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 20 20 76 61 72 20 72 | owCount).......return;.....var.r |
14a540 | 65 6d 6f 76 65 64 50 65 72 6d 69 73 73 69 6f 6e 73 20 3d 20 5b 5d 3b 0a 20 20 20 20 67 54 72 65 | emovedPermissions.=.[];.....gTre |
14a560 | 65 55 74 69 6c 73 2e 64 65 6c 65 74 65 41 6c 6c 28 74 68 69 73 2e 5f 74 72 65 65 2c 20 74 68 69 | eUtils.deleteAll(this._tree,.thi |
14a580 | 73 2e 5f 76 69 65 77 2c 20 74 68 69 73 2e 5f 70 65 72 6d 69 73 73 69 6f 6e 73 2c 20 72 65 6d 6f | s._view,.this._permissions,.remo |
14a5a0 | 76 65 64 50 65 72 6d 69 73 73 69 6f 6e 73 29 3b 0a 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 | vedPermissions);.....for.(var.i. |
14a5c0 | 3d 20 30 3b 20 69 20 3c 20 72 65 6d 6f 76 65 64 50 65 72 6d 69 73 73 69 6f 6e 73 2e 6c 65 6e 67 | =.0;.i.<.removedPermissions.leng |
14a5e0 | 74 68 3b 20 2b 2b 69 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 70 20 3d 20 72 65 6d 6f 76 65 64 | th;.++i).{.......var.p.=.removed |
14a600 | 50 65 72 6d 69 73 73 69 6f 6e 73 5b 69 5d 3b 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 70 6d 2e 72 | Permissions[i];.......this._pm.r |
14a620 | 65 6d 6f 76 65 28 70 2e 68 6f 73 74 2c 20 70 2e 74 79 70 65 29 3b 0a 20 20 20 20 7d 20 20 20 20 | emove(p.host,.p.type);.....}.... |
14a640 | 0a 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 72 65 | .....document.getElementById("re |
14a660 | 6d 6f 76 65 50 65 72 6d 69 73 73 69 6f 6e 22 29 2e 64 69 73 61 62 6c 65 64 20 3d 20 74 72 75 65 | movePermission").disabled.=.true |
14a680 | 3b 0a 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 72 | ;.....document.getElementById("r |
14a6a0 | 65 6d 6f 76 65 41 6c 6c 50 65 72 6d 69 73 73 69 6f 6e 73 22 29 2e 64 69 73 61 62 6c 65 64 20 3d | emoveAllPermissions").disabled.= |
14a6c0 | 20 74 72 75 65 3b 0a 20 20 7d 2c 0a 20 20 0a 20 20 6f 6e 50 65 72 6d 69 73 73 69 6f 6e 4b 65 79 | .true;...},......onPermissionKey |
14a6e0 | 50 72 65 73 73 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 45 76 65 6e 74 29 0a 20 20 7b 0a 20 20 20 | Press:.function.(aEvent)...{.... |
14a700 | 20 69 66 20 28 61 45 76 65 6e 74 2e 6b 65 79 43 6f 64 65 20 3d 3d 20 34 36 29 0a 20 20 20 20 20 | .if.(aEvent.keyCode.==.46)...... |
14a720 | 20 74 68 69 73 2e 6f 6e 50 65 72 6d 69 73 73 69 6f 6e 44 65 6c 65 74 65 64 28 29 3b 0a 20 20 7d | .this.onPermissionDeleted();...} |
14a740 | 2c 0a 20 20 0a 20 20 5f 6c 61 73 74 50 65 72 6d 69 73 73 69 6f 6e 53 6f 72 74 43 6f 6c 75 6d 6e | ,......_lastPermissionSortColumn |
14a760 | 3a 20 22 22 2c 0a 20 20 5f 6c 61 73 74 50 65 72 6d 69 73 73 69 6f 6e 53 6f 72 74 41 73 63 65 6e | :."",..._lastPermissionSortAscen |
14a780 | 64 69 6e 67 3a 20 66 61 6c 73 65 2c 0a 20 20 0a 20 20 6f 6e 50 65 72 6d 69 73 73 69 6f 6e 53 6f | ding:.false,......onPermissionSo |
14a7a0 | 72 74 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 43 6f 6c 75 6d 6e 29 0a 20 20 7b 0a 20 20 20 20 74 | rt:.function.(aColumn)...{.....t |
14a7c0 | 68 69 73 2e 5f 6c 61 73 74 50 65 72 6d 69 73 73 69 6f 6e 53 6f 72 74 41 73 63 65 6e 64 69 6e 67 | his._lastPermissionSortAscending |
14a7e0 | 20 3d 20 67 54 72 65 65 55 74 69 6c 73 2e 73 6f 72 74 28 74 68 69 73 2e 5f 74 72 65 65 2c 20 0a | .=.gTreeUtils.sort(this._tree,.. |
14a800 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
14a820 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 76 69 | ........................this._vi |
14a840 | 65 77 2c 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ew,............................. |
14a860 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 | .............................thi |
14a880 | 73 2e 5f 70 65 72 6d 69 73 73 69 6f 6e 73 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | s._permissions,................. |
14a8a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
14a8c0 | 20 20 20 20 20 20 20 20 61 43 6f 6c 75 6d 6e 2c 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ........aColumn,................ |
14a8e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
14a900 | 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 6c 61 73 74 50 65 72 6d 69 73 73 69 6f 6e 53 6f | ..........this._lastPermissionSo |
14a920 | 72 74 43 6f 6c 75 6d 6e 2c 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | rtColumn,....................... |
14a940 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
14a960 | 20 20 20 74 68 69 73 2e 5f 6c 61 73 74 50 65 72 6d 69 73 73 69 6f 6e 53 6f 72 74 41 73 63 65 6e | ...this._lastPermissionSortAscen |
14a980 | 64 69 6e 67 29 3b 0a 20 20 20 20 74 68 69 73 2e 5f 6c 61 73 74 50 65 72 6d 69 73 73 69 6f 6e 53 | ding);.....this._lastPermissionS |
14a9a0 | 6f 72 74 43 6f 6c 75 6d 6e 20 3d 20 61 43 6f 6c 75 6d 6e 3b 0a 20 20 7d 2c 0a 20 20 0a 20 20 5f | ortColumn.=.aColumn;...},......_ |
14a9c0 | 6c 6f 61 64 50 65 72 6d 69 73 73 69 6f 6e 73 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b | loadPermissions:.function.()...{ |
14a9e0 | 0a 20 20 20 20 74 68 69 73 2e 5f 74 72 65 65 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c | .....this._tree.=.document.getEl |
14aa00 | 65 6d 65 6e 74 42 79 49 64 28 22 70 65 72 6d 69 73 73 69 6f 6e 73 54 72 65 65 22 29 3b 0a 20 20 | ementById("permissionsTree");... |
14aa20 | 20 20 74 68 69 73 2e 5f 70 65 72 6d 69 73 73 69 6f 6e 73 20 3d 20 5b 5d 3b 0a 0a 20 20 20 20 2f | ..this._permissions.=.[];....../ |
14aa40 | 2f 20 6c 6f 61 64 20 70 65 72 6d 69 73 73 69 6f 6e 73 20 69 6e 74 6f 20 61 20 74 61 62 6c 65 0a | /.load.permissions.into.a.table. |
14aa60 | 20 20 20 20 76 61 72 20 63 6f 75 6e 74 20 3d 20 30 3b 0a 20 20 20 20 76 61 72 20 65 6e 75 6d 65 | ....var.count.=.0;.....var.enume |
14aa80 | 72 61 74 6f 72 20 3d 20 74 68 69 73 2e 5f 70 6d 2e 65 6e 75 6d 65 72 61 74 6f 72 3b 0a 20 20 20 | rator.=.this._pm.enumerator;.... |
14aaa0 | 20 77 68 69 6c 65 20 28 65 6e 75 6d 65 72 61 74 6f 72 2e 68 61 73 4d 6f 72 65 45 6c 65 6d 65 6e | .while.(enumerator.hasMoreElemen |
14aac0 | 74 73 28 29 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 6e 65 78 74 50 65 72 6d 69 73 73 69 6f 6e | ts()).{.......var.nextPermission |
14aae0 | 20 3d 20 65 6e 75 6d 65 72 61 74 6f 72 2e 67 65 74 4e 65 78 74 28 29 2e 51 75 65 72 79 49 6e 74 | .=.enumerator.getNext().QueryInt |
14ab00 | 65 72 66 61 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 | erface(Components.interfaces.nsI |
14ab20 | 50 65 72 6d 69 73 73 69 6f 6e 29 3b 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 61 64 64 50 65 72 6d | Permission);.......this._addPerm |
14ab40 | 69 73 73 69 6f 6e 54 6f 4c 69 73 74 28 6e 65 78 74 50 65 72 6d 69 73 73 69 6f 6e 29 3b 0a 20 20 | issionToList(nextPermission);... |
14ab60 | 20 20 7d 0a 20 20 20 0a 20 20 20 20 74 68 69 73 2e 5f 76 69 65 77 2e 5f 72 6f 77 43 6f 75 6e 74 | ..}.........this._view._rowCount |
14ab80 | 20 3d 20 74 68 69 73 2e 5f 70 65 72 6d 69 73 73 69 6f 6e 73 2e 6c 65 6e 67 74 68 3b 0a 0a 20 20 | .=.this._permissions.length;.... |
14aba0 | 20 20 2f 2f 20 73 6f 72 74 20 61 6e 64 20 64 69 73 70 6c 61 79 20 74 68 65 20 74 61 62 6c 65 0a | ..//.sort.and.display.the.table. |
14abc0 | 20 20 20 20 74 68 69 73 2e 5f 74 72 65 65 2e 74 72 65 65 42 6f 78 4f 62 6a 65 63 74 2e 76 69 65 | ....this._tree.treeBoxObject.vie |
14abe0 | 77 20 3d 20 74 68 69 73 2e 5f 76 69 65 77 3b 0a 20 20 20 20 74 68 69 73 2e 6f 6e 50 65 72 6d 69 | w.=.this._view;.....this.onPermi |
14ac00 | 73 73 69 6f 6e 53 6f 72 74 28 22 72 61 77 48 6f 73 74 22 2c 20 66 61 6c 73 65 29 3b 0a 0a 20 20 | ssionSort("rawHost",.false);.... |
14ac20 | 20 20 2f 2f 20 64 69 73 61 62 6c 65 20 22 72 65 6d 6f 76 65 20 61 6c 6c 22 20 62 75 74 74 6f 6e | ..//.disable."remove.all".button |
14ac40 | 20 69 66 20 74 68 65 72 65 20 61 72 65 20 6e 6f 6e 65 0a 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e | .if.there.are.none.....document. |
14ac60 | 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 72 65 6d 6f 76 65 41 6c 6c 50 65 72 6d 69 73 73 | getElementById("removeAllPermiss |
14ac80 | 69 6f 6e 73 22 29 2e 64 69 73 61 62 6c 65 64 20 3d 20 74 68 69 73 2e 5f 70 65 72 6d 69 73 73 69 | ions").disabled.=.this._permissi |
14aca0 | 6f 6e 73 2e 6c 65 6e 67 74 68 20 3d 3d 20 30 3b 0a 20 20 7d 2c 0a 20 20 0a 20 20 5f 61 64 64 50 | ons.length.==.0;...},......_addP |
14acc0 | 65 72 6d 69 73 73 69 6f 6e 54 6f 4c 69 73 74 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 50 65 72 6d | ermissionToList:.function.(aPerm |
14ace0 | 69 73 73 69 6f 6e 29 0a 20 20 7b 0a 20 20 20 20 69 66 20 28 61 50 65 72 6d 69 73 73 69 6f 6e 2e | ission)...{.....if.(aPermission. |
14ad00 | 74 79 70 65 20 3d 3d 20 74 68 69 73 2e 5f 74 79 70 65 20 26 26 0a 20 20 20 20 20 20 20 20 28 21 | type.==.this._type.&&.........(! |
14ad20 | 74 68 69 73 2e 5f 6d 61 6e 61 67 65 43 61 70 61 62 69 6c 69 74 79 20 7c 7c 0a 20 20 20 20 20 20 | this._manageCapability.||....... |
14ad40 | 20 20 20 28 61 50 65 72 6d 69 73 73 69 6f 6e 2e 63 61 70 61 62 69 6c 69 74 79 20 3d 3d 20 74 68 | ...(aPermission.capability.==.th |
14ad60 | 69 73 2e 5f 6d 61 6e 61 67 65 43 61 70 61 62 69 6c 69 74 79 29 29 29 20 7b 0a 0a 20 20 20 20 20 | is._manageCapability))).{....... |
14ad80 | 20 76 61 72 20 68 6f 73 74 20 3d 20 61 50 65 72 6d 69 73 73 69 6f 6e 2e 68 6f 73 74 3b 0a 20 20 | .var.host.=.aPermission.host;... |
14ada0 | 20 20 20 20 76 61 72 20 63 61 70 61 62 69 6c 69 74 79 53 74 72 69 6e 67 20 3d 20 74 68 69 73 2e | ....var.capabilityString.=.this. |
14adc0 | 5f 67 65 74 43 61 70 61 62 69 6c 69 74 79 53 74 72 69 6e 67 28 61 50 65 72 6d 69 73 73 69 6f 6e | _getCapabilityString(aPermission |
14ade0 | 2e 63 61 70 61 62 69 6c 69 74 79 29 3b 0a 20 20 20 20 20 20 76 61 72 20 70 20 3d 20 6e 65 77 20 | .capability);.......var.p.=.new. |
14ae00 | 50 65 72 6d 69 73 73 69 6f 6e 28 68 6f 73 74 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | Permission(host,................ |
14ae20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 68 6f 73 74 2e 63 68 61 72 41 74 28 30 29 20 3d 3d | ..............(host.charAt(0).== |
14ae40 | 20 22 2e 22 29 20 3f 20 68 6f 73 74 2e 73 75 62 73 74 72 69 6e 67 28 31 2c 68 6f 73 74 2e 6c 65 | .".").?.host.substring(1,host.le |
14ae60 | 6e 67 74 68 29 20 3a 20 68 6f 73 74 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ngth).:.host,................... |
14ae80 | 20 20 20 20 20 20 20 20 20 20 20 61 50 65 72 6d 69 73 73 69 6f 6e 2e 74 79 70 65 2c 0a 20 20 20 | ...........aPermission.type,.... |
14aea0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 70 61 62 69 | ..........................capabi |
14aec0 | 6c 69 74 79 53 74 72 69 6e 67 2c 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | lityString,..................... |
14aee0 | 20 20 20 20 20 20 20 20 20 20 61 50 65 72 6d 69 73 73 69 6f 6e 2e 63 61 70 61 62 69 6c 69 74 79 | ..........aPermission.capability |
14af00 | 29 3b 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 70 65 72 6d 69 73 73 69 6f 6e 73 2e 70 75 73 68 28 | );.......this._permissions.push( |
14af20 | 70 29 3b 0a 20 20 20 20 7d 20 20 0a 20 20 7d 2c 0a 20 20 0a 20 20 5f 75 70 64 61 74 65 50 65 72 | p);.....}.....},......_updatePer |
14af40 | 6d 69 73 73 69 6f 6e 73 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 74 72 | missions:.function.()...{.....tr |
14af60 | 79 20 7b 0a 20 20 20 20 20 20 76 61 72 20 69 6f 53 65 72 76 69 63 65 20 3d 20 43 6f 6d 70 6f 6e | y.{.......var.ioService.=.Compon |
14af80 | 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6e 65 74 77 6f | ents.classes["@mozilla.org/netwo |
14afa0 | 72 6b 2f 69 6f 2d 73 65 72 76 69 63 65 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | rk/io-service;1"]............... |
14afc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 6f | ...................getService(Co |
14afe0 | 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 49 4f 53 65 72 76 69 63 65 | mponents.interfaces.nsIIOService |
14b000 | 29 3b 0a 20 20 20 20 20 20 76 61 72 20 70 62 69 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c | );.......var.pbi.=.Components.cl |
14b020 | 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 70 72 65 66 65 72 65 6e 63 65 73 2d | asses["@mozilla.org/preferences- |
14b040 | 73 65 72 76 69 63 65 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | service;1"]..................... |
14b060 | 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 | .......getService(Components.int |
14b080 | 65 72 66 61 63 65 73 2e 6e 73 49 50 72 65 66 42 72 61 6e 63 68 32 29 3b 0a 20 20 20 20 20 20 76 | erfaces.nsIPrefBranch2);.......v |
14b0a0 | 61 72 20 70 72 65 66 4c 69 73 74 20 3d 20 5b 5b 22 78 70 69 6e 73 74 61 6c 6c 2e 77 68 69 74 65 | ar.prefList.=.[["xpinstall.white |
14b0c0 | 6c 69 73 74 2e 61 64 64 22 2c 20 6e 73 49 50 65 72 6d 69 73 73 69 6f 6e 4d 61 6e 61 67 65 72 2e | list.add",.nsIPermissionManager. |
14b0e0 | 41 4c 4c 4f 57 5f 41 43 54 49 4f 4e 5d 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ALLOW_ACTION],.................. |
14b100 | 20 20 20 20 20 5b 22 78 70 69 6e 73 74 61 6c 6c 2e 77 68 69 74 65 6c 69 73 74 2e 61 64 64 2e 31 | .....["xpinstall.whitelist.add.1 |
14b120 | 30 33 22 2c 20 6e 73 49 50 65 72 6d 69 73 73 69 6f 6e 4d 61 6e 61 67 65 72 2e 41 4c 4c 4f 57 5f | 03",.nsIPermissionManager.ALLOW_ |
14b140 | 41 43 54 49 4f 4e 5d 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 5b | ACTION],.......................[ |
14b160 | 22 78 70 69 6e 73 74 61 6c 6c 2e 62 6c 61 63 6b 6c 69 73 74 2e 61 64 64 22 2c 20 6e 73 49 50 65 | "xpinstall.blacklist.add",.nsIPe |
14b180 | 72 6d 69 73 73 69 6f 6e 4d 61 6e 61 67 65 72 2e 44 45 4e 59 5f 41 43 54 49 4f 4e 5d 5d 3b 0a 0a | rmissionManager.DENY_ACTION]];.. |
14b1a0 | 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 70 72 65 66 4c 69 | ......for.(var.i.=.0;.i.<.prefLi |
14b1c0 | 73 74 2e 6c 65 6e 67 74 68 3b 20 2b 2b 69 29 20 7b 0a 20 20 20 20 20 20 20 20 74 72 79 20 7b 0a | st.length;.++i).{.........try.{. |
14b1e0 | 20 20 20 20 20 20 20 20 20 20 2f 2f 20 74 68 69 73 20 70 72 65 66 20 69 73 20 61 20 63 6f 6d 6d | ..........//.this.pref.is.a.comm |
14b200 | 61 2d 64 65 6c 69 6d 69 74 65 64 20 6c 69 73 74 20 6f 66 20 68 6f 73 74 73 0a 20 20 20 20 20 20 | a-delimited.list.of.hosts....... |
14b220 | 20 20 20 20 76 61 72 20 68 6f 73 74 73 20 3d 20 70 62 69 2e 67 65 74 43 68 61 72 50 72 65 66 28 | ....var.hosts.=.pbi.getCharPref( |
14b240 | 70 72 65 66 4c 69 73 74 5b 69 5d 5b 30 5d 29 3b 0a 20 20 20 20 20 20 20 20 7d 20 63 61 74 63 68 | prefList[i][0]);.........}.catch |
14b260 | 28 65 78 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 63 6f 6e 74 69 6e 75 65 3b 0a 20 20 20 20 20 | (ex).{...........continue;...... |
14b280 | 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 69 66 20 28 21 68 6f 73 74 73 29 0a 20 20 20 20 20 20 | ...}..........if.(!hosts)....... |
14b2a0 | 20 20 20 20 63 6f 6e 74 69 6e 75 65 3b 0a 0a 20 20 20 20 20 20 20 20 68 6f 73 74 4c 69 73 74 20 | ....continue;..........hostList. |
14b2c0 | 3d 20 68 6f 73 74 73 2e 73 70 6c 69 74 28 22 2c 22 29 3b 0a 20 20 20 20 20 20 20 20 76 61 72 20 | =.hosts.split(",");.........var. |
14b2e0 | 63 61 70 61 62 69 6c 69 74 79 20 3d 20 70 72 65 66 4c 69 73 74 5b 69 5d 5b 31 5d 3b 0a 20 20 20 | capability.=.prefList[i][1];.... |
14b300 | 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 6a 20 3d 20 30 3b 20 6a 20 3c 20 68 6f 73 74 4c 69 73 | .....for.(var.j.=.0;.j.<.hostLis |
14b320 | 74 2e 6c 65 6e 67 74 68 3b 20 2b 2b 6a 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 74 72 | t.length;.++j).{...........//.tr |
14b340 | 69 6d 20 6c 65 61 64 69 6e 67 20 61 6e 64 20 74 72 61 69 6c 69 6e 67 20 73 70 61 63 65 73 0a 20 | im.leading.and.trailing.spaces.. |
14b360 | 20 20 20 20 20 20 20 20 20 76 61 72 20 68 6f 73 74 20 3d 20 68 6f 73 74 4c 69 73 74 5b 6a 5d 2e | .........var.host.=.hostList[j]. |
14b380 | 72 65 70 6c 61 63 65 28 2f 5e 5c 73 2a 2f 2c 22 22 29 2e 72 65 70 6c 61 63 65 28 2f 5c 73 2a 24 | replace(/^\s*/,"").replace(/\s*$ |
14b3a0 | 2f 2c 22 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 20 20 20 | /,"");...........try.{.......... |
14b3c0 | 20 20 20 76 61 72 20 75 72 69 20 3d 20 69 6f 53 65 72 76 69 63 65 2e 6e 65 77 55 52 49 28 22 68 | ...var.uri.=.ioService.newURI("h |
14b3e0 | 74 74 70 3a 2f 2f 22 20 2b 20 68 6f 73 74 2c 20 6e 75 6c 6c 2c 20 6e 75 6c 6c 29 3b 0a 20 20 20 | ttp://".+.host,.null,.null);.... |
14b400 | 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 70 6d 2e 61 64 64 28 75 72 69 2c 20 74 68 69 73 2e | .........this._pm.add(uri,.this. |
14b420 | 5f 74 79 70 65 2c 20 63 61 70 61 62 69 6c 69 74 79 29 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 20 | _type,.capability);...........}. |
14b440 | 63 61 74 63 68 28 65 78 29 20 7b 20 7d 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 | catch(ex).{.}.........}......... |
14b460 | 70 62 69 2e 73 65 74 43 68 61 72 50 72 65 66 28 70 72 65 66 4c 69 73 74 5b 69 5d 5b 30 5d 2c 20 | pbi.setCharPref(prefList[i][0],. |
14b480 | 22 22 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 20 63 61 74 63 68 28 65 78 29 20 7b 20 7d | "");.......}.....}.catch(ex).{.} |
14b4a0 | 0a 20 20 7d 2c 0a 20 20 0a 20 20 73 65 74 48 6f 73 74 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 48 | ...},......setHost:.function.(aH |
14b4c0 | 6f 73 74 29 0a 20 20 7b 0a 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 | ost)...{.....document.getElement |
14b4e0 | 42 79 49 64 28 22 75 72 6c 22 29 2e 76 61 6c 75 65 20 3d 20 61 48 6f 73 74 3b 0a 20 20 7d 0a 7d | ById("url").value.=.aHost;...}.} |
14b500 | 3b 0a 0a 66 75 6e 63 74 69 6f 6e 20 73 65 74 48 6f 73 74 28 61 48 6f 73 74 29 0a 7b 0a 20 20 67 | ;..function.setHost(aHost).{...g |
14b520 | 50 65 72 6d 69 73 73 69 6f 6e 4d 61 6e 61 67 65 72 2e 73 65 74 48 6f 73 74 28 61 48 6f 73 74 29 | PermissionManager.setHost(aHost) |
14b540 | 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 69 6e 69 74 57 69 74 68 50 61 72 61 6d 73 28 61 50 61 | ;.}..function.initWithParams(aPa |
14b560 | 72 61 6d 73 29 0a 7b 0a 20 20 67 50 65 72 6d 69 73 73 69 6f 6e 4d 61 6e 61 67 65 72 2e 69 6e 69 | rams).{...gPermissionManager.ini |
14b580 | 74 28 61 50 61 72 61 6d 73 29 3b 0a 7d 0a 0a 50 4b 03 04 14 00 00 00 00 00 f3 4b 18 3b 1b 0d 44 | t(aParams);.}..PK.........K.;..D |
14b5a0 | 88 c8 07 00 00 c8 07 00 00 2f 00 00 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 72 65 | ........./...content/browser/pre |
14b5c0 | 66 65 72 65 6e 63 65 73 2f 70 65 72 6d 69 73 73 69 6f 6e 73 75 74 69 6c 73 2e 6a 73 2f 2f 40 6c | ferences/permissionsutils.js//@l |
14b5e0 | 69 6e 65 20 33 38 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 | ine.38."/builds/moz2_slave/linux |
14b600 | 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 63 6f 6d 70 6f 6e 65 6e 74 73 2f | _build/build/browser/components/ |
14b620 | 70 72 65 66 65 72 65 6e 63 65 73 2f 70 65 72 6d 69 73 73 69 6f 6e 73 75 74 69 6c 73 2e 6a 73 22 | preferences/permissionsutils.js" |
14b640 | 0a 0a 76 61 72 20 67 54 72 65 65 55 74 69 6c 73 20 3d 20 7b 0a 20 20 64 65 6c 65 74 65 41 6c 6c | ..var.gTreeUtils.=.{...deleteAll |
14b660 | 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 54 72 65 65 2c 20 61 56 69 65 77 2c 20 61 49 74 65 6d 73 | :.function.(aTree,.aView,.aItems |
14b680 | 2c 20 61 44 65 6c 65 74 65 64 49 74 65 6d 73 29 0a 20 20 7b 0a 20 20 20 20 66 6f 72 20 28 76 61 | ,.aDeletedItems)...{.....for.(va |
14b6a0 | 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 61 49 74 65 6d 73 2e 6c 65 6e 67 74 68 3b 20 2b 2b 69 29 | r.i.=.0;.i.<.aItems.length;.++i) |
14b6c0 | 0a 20 20 20 20 20 20 61 44 65 6c 65 74 65 64 49 74 65 6d 73 2e 70 75 73 68 28 61 49 74 65 6d 73 | .......aDeletedItems.push(aItems |
14b6e0 | 5b 69 5d 29 3b 0a 20 20 20 20 61 49 74 65 6d 73 2e 73 70 6c 69 63 65 28 30 29 3b 0a 20 20 20 20 | [i]);.....aItems.splice(0);..... |
14b700 | 76 61 72 20 6f 6c 64 43 6f 75 6e 74 20 3d 20 61 56 69 65 77 2e 72 6f 77 43 6f 75 6e 74 3b 0a 20 | var.oldCount.=.aView.rowCount;.. |
14b720 | 20 20 20 61 56 69 65 77 2e 5f 72 6f 77 43 6f 75 6e 74 20 3d 20 30 3b 0a 20 20 20 20 61 54 72 65 | ...aView._rowCount.=.0;.....aTre |
14b740 | 65 2e 74 72 65 65 42 6f 78 4f 62 6a 65 63 74 2e 72 6f 77 43 6f 75 6e 74 43 68 61 6e 67 65 64 28 | e.treeBoxObject.rowCountChanged( |
14b760 | 30 2c 20 2d 6f 6c 64 43 6f 75 6e 74 29 3b 0a 20 20 7d 2c 0a 20 20 0a 20 20 64 65 6c 65 74 65 53 | 0,.-oldCount);...},......deleteS |
14b780 | 65 6c 65 63 74 65 64 49 74 65 6d 73 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 54 72 65 65 2c 20 61 | electedItems:.function.(aTree,.a |
14b7a0 | 56 69 65 77 2c 20 61 49 74 65 6d 73 2c 20 61 44 65 6c 65 74 65 64 49 74 65 6d 73 29 0a 20 20 7b | View,.aItems,.aDeletedItems)...{ |
14b7c0 | 0a 20 20 20 20 76 61 72 20 73 65 6c 65 63 74 69 6f 6e 20 3d 20 61 54 72 65 65 2e 76 69 65 77 2e | .....var.selection.=.aTree.view. |
14b7e0 | 73 65 6c 65 63 74 69 6f 6e 3b 0a 20 20 20 20 73 65 6c 65 63 74 69 6f 6e 2e 73 65 6c 65 63 74 45 | selection;.....selection.selectE |
14b800 | 76 65 6e 74 73 53 75 70 70 72 65 73 73 65 64 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 0a 20 20 20 | ventsSuppressed.=.true;......... |
14b820 | 20 76 61 72 20 72 63 20 3d 20 73 65 6c 65 63 74 69 6f 6e 2e 67 65 74 52 61 6e 67 65 43 6f 75 6e | .var.rc.=.selection.getRangeCoun |
14b840 | 74 28 29 3b 0a 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 72 63 3b | t();.....for.(var.i.=.0;.i.<.rc; |
14b860 | 20 2b 2b 69 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 6d 69 6e 20 3d 20 7b 20 7d 3b 20 76 61 72 | .++i).{.......var.min.=.{.};.var |
14b880 | 20 6d 61 78 20 3d 20 7b 20 7d 3b 0a 20 20 20 20 20 20 73 65 6c 65 63 74 69 6f 6e 2e 67 65 74 52 | .max.=.{.};.......selection.getR |
14b8a0 | 61 6e 67 65 41 74 28 69 2c 20 6d 69 6e 2c 20 6d 61 78 29 3b 0a 20 20 20 20 20 20 66 6f 72 20 28 | angeAt(i,.min,.max);.......for.( |
14b8c0 | 76 61 72 20 6a 20 3d 20 6d 69 6e 2e 76 61 6c 75 65 3b 20 6a 20 3c 3d 20 6d 61 78 2e 76 61 6c 75 | var.j.=.min.value;.j.<=.max.valu |
14b8e0 | 65 3b 20 2b 2b 6a 29 20 7b 0a 20 20 20 20 20 20 20 20 61 44 65 6c 65 74 65 64 49 74 65 6d 73 2e | e;.++j).{.........aDeletedItems. |
14b900 | 70 75 73 68 28 61 49 74 65 6d 73 5b 6a 5d 29 3b 0a 20 20 20 20 20 20 20 20 61 49 74 65 6d 73 5b | push(aItems[j]);.........aItems[ |
14b920 | 6a 5d 20 3d 20 6e 75 6c 6c 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 20 20 20 20 0a 20 20 | j].=.null;.......}.....}........ |
14b940 | 20 20 76 61 72 20 6e 65 78 74 53 65 6c 65 63 74 69 6f 6e 20 3d 20 30 3b 0a 20 20 20 20 66 6f 72 | ..var.nextSelection.=.0;.....for |
14b960 | 20 28 69 20 3d 20 30 3b 20 69 20 3c 20 61 49 74 65 6d 73 2e 6c 65 6e 67 74 68 3b 20 2b 2b 69 29 | .(i.=.0;.i.<.aItems.length;.++i) |
14b980 | 20 7b 0a 20 20 20 20 20 20 69 66 20 28 21 61 49 74 65 6d 73 5b 69 5d 29 20 7b 0a 20 20 20 20 20 | .{.......if.(!aItems[i]).{...... |
14b9a0 | 20 20 20 76 61 72 20 6a 20 3d 20 69 3b 0a 20 20 20 20 20 20 20 20 77 68 69 6c 65 20 28 6a 20 3c | ...var.j.=.i;.........while.(j.< |
14b9c0 | 20 61 49 74 65 6d 73 2e 6c 65 6e 67 74 68 20 26 26 20 21 61 49 74 65 6d 73 5b 6a 5d 29 0a 20 20 | .aItems.length.&&.!aItems[j])... |
14b9e0 | 20 20 20 20 20 20 20 20 2b 2b 6a 3b 0a 20 20 20 20 20 20 20 20 61 49 74 65 6d 73 2e 73 70 6c 69 | ........++j;.........aItems.spli |
14ba00 | 63 65 28 69 2c 20 6a 20 2d 20 69 29 3b 0a 20 20 20 20 20 20 20 20 6e 65 78 74 53 65 6c 65 63 74 | ce(i,.j.-.i);.........nextSelect |
14ba20 | 69 6f 6e 20 3d 20 6a 20 3c 20 61 56 69 65 77 2e 72 6f 77 43 6f 75 6e 74 20 3f 20 6a 20 2d 20 31 | ion.=.j.<.aView.rowCount.?.j.-.1 |
14ba40 | 20 3a 20 6a 20 2d 20 32 3b 0a 20 20 20 20 20 20 20 20 61 56 69 65 77 2e 5f 72 6f 77 43 6f 75 6e | .:.j.-.2;.........aView._rowCoun |
14ba60 | 74 20 2d 3d 20 6a 20 2d 20 69 3b 0a 20 20 20 20 20 20 20 20 61 54 72 65 65 2e 74 72 65 65 42 6f | t.-=.j.-.i;.........aTree.treeBo |
14ba80 | 78 4f 62 6a 65 63 74 2e 72 6f 77 43 6f 75 6e 74 43 68 61 6e 67 65 64 28 69 2c 20 69 20 2d 20 6a | xObject.rowCountChanged(i,.i.-.j |
14baa0 | 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 0a 20 20 20 20 69 66 20 28 61 49 74 65 6d 73 | );.......}.....}......if.(aItems |
14bac0 | 2e 6c 65 6e 67 74 68 29 20 7b 0a 20 20 20 20 20 20 73 65 6c 65 63 74 69 6f 6e 2e 73 65 6c 65 63 | .length).{.......selection.selec |
14bae0 | 74 28 6e 65 78 74 53 65 6c 65 63 74 69 6f 6e 29 3b 0a 20 20 20 20 20 20 61 54 72 65 65 2e 74 72 | t(nextSelection);.......aTree.tr |
14bb00 | 65 65 42 6f 78 4f 62 6a 65 63 74 2e 65 6e 73 75 72 65 52 6f 77 49 73 56 69 73 69 62 6c 65 28 6e | eeBoxObject.ensureRowIsVisible(n |
14bb20 | 65 78 74 53 65 6c 65 63 74 69 6f 6e 29 3b 0a 20 20 20 20 20 20 61 54 72 65 65 2e 66 6f 63 75 73 | extSelection);.......aTree.focus |
14bb40 | 28 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 73 65 6c 65 63 74 69 6f 6e 2e 73 65 6c 65 63 74 45 76 | ();.....}.....selection.selectEv |
14bb60 | 65 6e 74 73 53 75 70 70 72 65 73 73 65 64 20 3d 20 66 61 6c 73 65 3b 0a 20 20 7d 2c 0a 20 20 0a | entsSuppressed.=.false;...},.... |
14bb80 | 20 20 73 6f 72 74 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 54 72 65 65 2c 20 61 56 69 65 77 2c 20 | ..sort:.function.(aTree,.aView,. |
14bba0 | 61 44 61 74 61 53 65 74 2c 20 61 43 6f 6c 75 6d 6e 2c 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 | aDataSet,.aColumn,.............. |
14bbc0 | 20 20 20 20 20 20 61 4c 61 73 74 53 6f 72 74 43 6f 6c 75 6d 6e 2c 20 61 4c 61 73 74 53 6f 72 74 | ......aLastSortColumn,.aLastSort |
14bbe0 | 41 73 63 65 6e 64 69 6e 67 29 20 0a 20 20 7b 0a 20 20 20 20 76 61 72 20 61 73 63 65 6e 64 69 6e | Ascending)....{.....var.ascendin |
14bc00 | 67 20 3d 20 28 61 43 6f 6c 75 6d 6e 20 3d 3d 20 61 4c 61 73 74 53 6f 72 74 43 6f 6c 75 6d 6e 29 | g.=.(aColumn.==.aLastSortColumn) |
14bc20 | 20 3f 20 21 61 4c 61 73 74 53 6f 72 74 41 73 63 65 6e 64 69 6e 67 20 3a 20 74 72 75 65 3b 0a 20 | .?.!aLastSortAscending.:.true;.. |
14bc40 | 20 20 20 61 44 61 74 61 53 65 74 2e 73 6f 72 74 28 66 75 6e 63 74 69 6f 6e 20 28 61 2c 20 62 29 | ...aDataSet.sort(function.(a,.b) |
14bc60 | 20 7b 20 72 65 74 75 72 6e 20 61 5b 61 43 6f 6c 75 6d 6e 5d 2e 74 6f 4c 6f 77 65 72 43 61 73 65 | .{.return.a[aColumn].toLowerCase |
14bc80 | 28 29 2e 6c 6f 63 61 6c 65 43 6f 6d 70 61 72 65 28 62 5b 61 43 6f 6c 75 6d 6e 5d 2e 74 6f 4c 6f | ().localeCompare(b[aColumn].toLo |
14bca0 | 77 65 72 43 61 73 65 28 29 29 3b 20 7d 29 3b 0a 20 20 20 20 69 66 20 28 21 61 73 63 65 6e 64 69 | werCase());.});.....if.(!ascendi |
14bcc0 | 6e 67 29 0a 20 20 20 20 20 20 61 44 61 74 61 53 65 74 2e 72 65 76 65 72 73 65 28 29 3b 0a 20 20 | ng).......aDataSet.reverse();... |
14bce0 | 20 20 0a 20 20 20 20 61 54 72 65 65 2e 76 69 65 77 2e 73 65 6c 65 63 74 69 6f 6e 2e 73 65 6c 65 | .......aTree.view.selection.sele |
14bd00 | 63 74 28 2d 31 29 3b 0a 20 20 20 20 61 54 72 65 65 2e 76 69 65 77 2e 73 65 6c 65 63 74 69 6f 6e | ct(-1);.....aTree.view.selection |
14bd20 | 2e 73 65 6c 65 63 74 28 30 29 3b 0a 20 20 20 20 61 54 72 65 65 2e 74 72 65 65 42 6f 78 4f 62 6a | .select(0);.....aTree.treeBoxObj |
14bd40 | 65 63 74 2e 69 6e 76 61 6c 69 64 61 74 65 28 29 3b 0a 20 20 20 20 61 54 72 65 65 2e 74 72 65 65 | ect.invalidate();.....aTree.tree |
14bd60 | 42 6f 78 4f 62 6a 65 63 74 2e 65 6e 73 75 72 65 52 6f 77 49 73 56 69 73 69 62 6c 65 28 30 29 3b | BoxObject.ensureRowIsVisible(0); |
14bd80 | 0a 20 20 20 20 0a 20 20 20 20 72 65 74 75 72 6e 20 61 73 63 65 6e 64 69 6e 67 3b 0a 20 20 7d 0a | ..........return.ascending;...}. |
14bda0 | 7d 3b 0a 0a 50 4b 03 04 14 00 00 00 00 00 f3 4b 18 3b 80 03 be 06 84 09 00 00 84 09 00 00 2b 00 | };..PK.........K.;............+. |
14bdc0 | 00 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 70 72 | ..content/browser/preferences/pr |
14bde0 | 65 66 65 72 65 6e 63 65 73 2e 78 75 6c 3c 3f 78 6d 6c 20 76 65 72 73 69 6f 6e 3d 22 31 2e 30 22 | eferences.xul<?xml.version="1.0" |
14be00 | 3f 3e 0a 0a 0a 3c 3f 78 6d 6c 2d 73 74 79 6c 65 73 68 65 65 74 20 68 72 65 66 3d 22 63 68 72 6f | ?>...<?xml-stylesheet.href="chro |
14be20 | 6d 65 3a 2f 2f 67 6c 6f 62 61 6c 2f 73 6b 69 6e 2f 67 6c 6f 62 61 6c 2e 63 73 73 22 3f 3e 0a 3c | me://global/skin/global.css"?>.< |
14be40 | 3f 78 6d 6c 2d 73 74 79 6c 65 73 68 65 65 74 20 68 72 65 66 3d 22 63 68 72 6f 6d 65 3a 2f 2f 6d | ?xml-stylesheet.href="chrome://m |
14be60 | 6f 7a 61 70 70 73 2f 63 6f 6e 74 65 6e 74 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 70 72 65 66 65 | ozapps/content/preferences/prefe |
14be80 | 72 65 6e 63 65 73 2e 63 73 73 22 3f 3e 0a 3c 3f 78 6d 6c 2d 73 74 79 6c 65 73 68 65 65 74 20 68 | rences.css"?>.<?xml-stylesheet.h |
14bea0 | 72 65 66 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 73 6b 69 6e 2f 70 72 65 66 65 | ref="chrome://browser/skin/prefe |
14bec0 | 72 65 6e 63 65 73 2f 70 72 65 66 65 72 65 6e 63 65 73 2e 63 73 73 22 3f 3e 0a 0a 3c 21 2d 2d 20 | rences/preferences.css"?>..<!--. |
14bee0 | 58 58 58 20 54 68 69 73 20 73 68 6f 75 6c 64 20 62 65 20 69 6e 20 61 70 70 6c 69 63 61 74 69 6f | XXX.This.should.be.in.applicatio |
14bf00 | 6e 73 2e 78 75 6c 2c 20 62 75 74 20 62 75 67 20 33 39 33 39 35 33 20 6d 65 61 6e 73 20 70 75 74 | ns.xul,.but.bug.393953.means.put |
14bf20 | 74 69 6e 67 20 69 74 0a 20 20 20 2d 20 74 68 65 72 65 20 63 61 75 73 65 73 20 74 68 65 20 41 70 | ting.it....-.there.causes.the.Ap |
14bf40 | 70 6c 69 63 61 74 69 6f 6e 73 20 70 61 6e 65 20 6e 6f 74 20 74 6f 20 77 6f 72 6b 20 74 68 65 20 | plications.pane.not.to.work.the. |
14bf60 | 66 69 72 73 74 20 74 69 6d 65 20 79 6f 75 20 6f 70 65 6e 0a 20 20 20 2d 20 74 68 65 20 50 72 65 | first.time.you.open....-.the.Pre |
14bf80 | 66 65 72 65 6e 63 65 73 20 64 69 61 6c 6f 67 20 69 6e 20 61 20 62 72 6f 77 73 69 6e 67 20 73 65 | ferences.dialog.in.a.browsing.se |
14bfa0 | 73 73 69 6f 6e 2c 20 73 6f 20 77 65 20 77 6f 72 6b 20 61 72 6f 75 6e 64 20 74 68 65 20 70 72 6f | ssion,.so.we.work.around.the.pro |
14bfc0 | 62 6c 65 6d 0a 20 20 20 2d 20 62 79 20 70 75 74 74 69 6e 67 20 69 74 20 68 65 72 65 20 69 6e 73 | blem....-.by.putting.it.here.ins |
14bfe0 | 74 65 61 64 2e 0a 20 20 20 2d 2d 3e 0a 3c 3f 78 6d 6c 2d 73 74 79 6c 65 73 68 65 65 74 20 68 72 | tead.....-->.<?xml-stylesheet.hr |
14c000 | 65 66 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 70 72 65 | ef="chrome://browser/content/pre |
14c020 | 66 65 72 65 6e 63 65 73 2f 68 61 6e 64 6c 65 72 73 2e 63 73 73 22 3f 3e 0a 3c 3f 78 6d 6c 2d 73 | ferences/handlers.css"?>.<?xml-s |
14c040 | 74 79 6c 65 73 68 65 65 74 20 68 72 65 66 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 | tylesheet.href="chrome://browser |
14c060 | 2f 73 6b 69 6e 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 61 70 70 6c 69 63 61 74 69 6f 6e 73 2e 63 | /skin/preferences/applications.c |
14c080 | 73 73 22 3f 3e 0a 0a 3c 21 44 4f 43 54 59 50 45 20 70 72 65 66 77 69 6e 64 6f 77 20 5b 0a 3c 21 | ss"?>..<!DOCTYPE.prefwindow.[.<! |
14c0a0 | 45 4e 54 49 54 59 20 25 20 62 72 61 6e 64 44 54 44 20 53 59 53 54 45 4d 20 22 63 68 72 6f 6d 65 | ENTITY.%.brandDTD.SYSTEM."chrome |
14c0c0 | 3a 2f 2f 62 72 61 6e 64 69 6e 67 2f 6c 6f 63 61 6c 65 2f 62 72 61 6e 64 2e 64 74 64 22 3e 0a 3c | ://branding/locale/brand.dtd">.< |
14c0e0 | 21 45 4e 54 49 54 59 20 25 20 70 72 65 66 65 72 65 6e 63 65 73 44 54 44 20 53 59 53 54 45 4d 20 | !ENTITY.%.preferencesDTD.SYSTEM. |
14c100 | 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 6c 6f 63 61 6c 65 2f 70 72 65 66 65 72 65 | "chrome://browser/locale/prefere |
14c120 | 6e 63 65 73 2f 70 72 65 66 65 72 65 6e 63 65 73 2e 64 74 64 22 3e 0a 25 62 72 61 6e 64 44 54 44 | nces/preferences.dtd">.%brandDTD |
14c140 | 3b 0a 25 70 72 65 66 65 72 65 6e 63 65 73 44 54 44 3b 0a 5d 3e 0a 0a 0a 0a 3c 70 72 65 66 77 69 | ;.%preferencesDTD;.]>....<prefwi |
14c160 | 6e 64 6f 77 20 74 79 70 65 3d 22 70 72 65 66 77 69 6e 64 6f 77 22 0a 20 20 20 20 20 20 20 20 20 | ndow.type="prefwindow".......... |
14c180 | 20 20 20 69 64 3d 22 42 72 6f 77 73 65 72 50 72 65 66 65 72 65 6e 63 65 73 22 0a 20 20 20 20 20 | ...id="BrowserPreferences"...... |
14c1a0 | 20 20 20 20 20 20 20 77 69 6e 64 6f 77 74 79 70 65 3d 22 42 72 6f 77 73 65 72 3a 50 72 65 66 65 | .......windowtype="Browser:Prefe |
14c1c0 | 72 65 6e 63 65 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 64 69 61 6c 6f 67 68 65 6c 70 | rences".............ondialoghelp |
14c1e0 | 3d 22 6f 70 65 6e 50 72 65 66 73 48 65 6c 70 28 29 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 | ="openPrefsHelp()".............t |
14c200 | 69 74 6c 65 3d 22 26 70 72 65 66 57 69 6e 64 6f 77 2e 74 69 74 6c 65 47 4e 4f 4d 45 3b 22 0a 20 | itle="&prefWindow.titleGNOME;".. |
14c220 | 20 20 20 20 20 20 20 20 20 20 20 78 6d 6c 6e 73 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a | ...........xmlns="http://www.moz |
14c240 | 69 6c 6c 61 2e 6f 72 67 2f 6b 65 79 6d 61 73 74 65 72 2f 67 61 74 65 6b 65 65 70 65 72 2f 74 68 | illa.org/keymaster/gatekeeper/th |
14c260 | 65 72 65 2e 69 73 2e 6f 6e 6c 79 2e 78 75 6c 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 73 74 79 | ere.is.only.xul".............sty |
14c280 | 6c 65 3d 22 26 70 72 65 66 57 69 6e 2e 73 74 79 6c 65 47 4e 4f 4d 45 32 3b 22 3e 0a 0a 20 20 20 | le="&prefWin.styleGNOME2;">..... |
14c2a0 | 20 3c 73 63 72 69 70 74 20 74 79 70 65 3d 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f 6a 61 76 61 73 | .<script.type="application/javas |
14c2c0 | 63 72 69 70 74 22 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e | cript".src="chrome://browser/con |
14c2e0 | 74 65 6e 74 2f 75 74 69 6c 69 74 79 4f 76 65 72 6c 61 79 2e 6a 73 22 2f 3e 0a 0a 20 20 20 20 3c | tent/utilityOverlay.js"/>......< |
14c300 | 73 74 72 69 6e 67 62 75 6e 64 6c 65 20 69 64 3d 22 62 75 6e 64 6c 65 42 72 61 6e 64 22 20 73 72 | stringbundle.id="bundleBrand".sr |
14c320 | 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 61 6e 64 69 6e 67 2f 6c 6f 63 61 6c 65 2f 62 72 61 6e | c="chrome://branding/locale/bran |
14c340 | 64 2e 70 72 6f 70 65 72 74 69 65 73 22 2f 3e 0a 20 20 20 20 3c 73 74 72 69 6e 67 62 75 6e 64 6c | d.properties"/>.....<stringbundl |
14c360 | 65 20 69 64 3d 22 62 75 6e 64 6c 65 50 72 65 66 65 72 65 6e 63 65 73 22 0a 20 20 20 20 20 20 20 | e.id="bundlePreferences"........ |
14c380 | 20 20 20 20 20 20 20 20 20 20 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 | ...........src="chrome://browser |
14c3a0 | 2f 6c 6f 63 61 6c 65 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 70 72 65 66 65 72 65 6e 63 65 73 2e | /locale/preferences/preferences. |
14c3c0 | 70 72 6f 70 65 72 74 69 65 73 22 2f 3e 0a 0a 20 20 20 20 3c 70 72 65 66 70 61 6e 65 20 69 64 3d | properties"/>......<prefpane.id= |
14c3e0 | 22 70 61 6e 65 4d 61 69 6e 22 20 6c 61 62 65 6c 3d 22 26 70 61 6e 65 4d 61 69 6e 2e 74 69 74 6c | "paneMain".label="&paneMain.titl |
14c400 | 65 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f | e;"...............src="chrome:// |
14c420 | 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 6d 61 69 6e | browser/content/preferences/main |
14c440 | 2e 78 75 6c 22 2f 3e 0a 20 20 20 20 3c 70 72 65 66 70 61 6e 65 20 69 64 3d 22 70 61 6e 65 54 61 | .xul"/>.....<prefpane.id="paneTa |
14c460 | 62 73 22 20 6c 61 62 65 6c 3d 22 26 70 61 6e 65 54 61 62 73 2e 74 69 74 6c 65 3b 22 0a 20 20 20 | bs".label="&paneTabs.title;".... |
14c480 | 20 20 20 20 20 20 20 20 20 20 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 | ...........src="chrome://browser |
14c4a0 | 2f 63 6f 6e 74 65 6e 74 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 74 61 62 73 2e 78 75 6c 22 2f 3e | /content/preferences/tabs.xul"/> |
14c4c0 | 0a 20 20 20 20 3c 70 72 65 66 70 61 6e 65 20 69 64 3d 22 70 61 6e 65 43 6f 6e 74 65 6e 74 22 20 | .....<prefpane.id="paneContent". |
14c4e0 | 6c 61 62 65 6c 3d 22 26 70 61 6e 65 43 6f 6e 74 65 6e 74 2e 74 69 74 6c 65 3b 22 0a 20 20 20 20 | label="&paneContent.title;"..... |
14c500 | 20 20 20 20 20 20 20 20 20 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f | ..........src="chrome://browser/ |
14c520 | 63 6f 6e 74 65 6e 74 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 63 6f 6e 74 65 6e 74 2e 78 75 6c 22 | content/preferences/content.xul" |
14c540 | 2f 3e 0a 20 20 20 20 3c 70 72 65 66 70 61 6e 65 20 69 64 3d 22 70 61 6e 65 41 70 70 6c 69 63 61 | />.....<prefpane.id="paneApplica |
14c560 | 74 69 6f 6e 73 22 20 6c 61 62 65 6c 3d 22 26 70 61 6e 65 41 70 70 6c 69 63 61 74 69 6f 6e 73 2e | tions".label="&paneApplications. |
14c580 | 74 69 74 6c 65 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 72 63 3d 22 63 68 72 6f 6d | title;"...............src="chrom |
14c5a0 | 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 70 72 65 66 65 72 65 6e 63 65 73 2f | e://browser/content/preferences/ |
14c5c0 | 61 70 70 6c 69 63 61 74 69 6f 6e 73 2e 78 75 6c 22 2f 3e 0a 20 20 20 20 3c 70 72 65 66 70 61 6e | applications.xul"/>.....<prefpan |
14c5e0 | 65 20 69 64 3d 22 70 61 6e 65 50 72 69 76 61 63 79 22 20 6c 61 62 65 6c 3d 22 26 70 61 6e 65 50 | e.id="panePrivacy".label="&paneP |
14c600 | 72 69 76 61 63 79 2e 74 69 74 6c 65 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 72 63 | rivacy.title;"...............src |
14c620 | 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 70 72 65 66 65 | ="chrome://browser/content/prefe |
14c640 | 72 65 6e 63 65 73 2f 70 72 69 76 61 63 79 2e 78 75 6c 22 2f 3e 0a 20 20 20 20 3c 70 72 65 66 70 | rences/privacy.xul"/>.....<prefp |
14c660 | 61 6e 65 20 69 64 3d 22 70 61 6e 65 53 65 63 75 72 69 74 79 22 20 6c 61 62 65 6c 3d 22 26 70 61 | ane.id="paneSecurity".label="&pa |
14c680 | 6e 65 53 65 63 75 72 69 74 79 2e 74 69 74 6c 65 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | neSecurity.title;".............. |
14c6a0 | 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 70 | .src="chrome://browser/content/p |
14c6c0 | 72 65 66 65 72 65 6e 63 65 73 2f 73 65 63 75 72 69 74 79 2e 78 75 6c 22 2f 3e 0a 20 20 20 20 3c | references/security.xul"/>.....< |
14c6e0 | 70 72 65 66 70 61 6e 65 20 69 64 3d 22 70 61 6e 65 41 64 76 61 6e 63 65 64 22 20 6c 61 62 65 6c | prefpane.id="paneAdvanced".label |
14c700 | 3d 22 26 70 61 6e 65 41 64 76 61 6e 63 65 64 2e 74 69 74 6c 65 3b 22 0a 20 20 20 20 20 20 20 20 | ="&paneAdvanced.title;"......... |
14c720 | 20 20 20 20 20 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 | ......src="chrome://browser/cont |
14c740 | 65 6e 74 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 61 64 76 61 6e 63 65 64 2e 78 75 6c 22 2f 3e 0a | ent/preferences/advanced.xul"/>. |
14c760 | 0a 0a 3c 2f 70 72 65 66 77 69 6e 64 6f 77 3e 0a 0a 50 4b 03 04 14 00 00 00 00 00 f3 4b 18 3b 7a | ..</prefwindow>..PK.........K.;z |
14c780 | dc 37 13 d8 2d 00 00 d8 2d 00 00 27 00 00 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 | .7..-...-..'...content/browser/p |
14c7a0 | 72 65 66 65 72 65 6e 63 65 73 2f 70 72 69 76 61 63 79 2e 78 75 6c 3c 3f 78 6d 6c 20 76 65 72 73 | references/privacy.xul<?xml.vers |
14c7c0 | 69 6f 6e 3d 22 31 2e 30 22 3f 3e 0a 0a 0a 3c 21 44 4f 43 54 59 50 45 20 6f 76 65 72 6c 61 79 20 | ion="1.0"?>...<!DOCTYPE.overlay. |
14c7e0 | 5b 0a 3c 21 45 4e 54 49 54 59 20 25 20 62 72 61 6e 64 44 54 44 20 53 59 53 54 45 4d 20 22 63 68 | [.<!ENTITY.%.brandDTD.SYSTEM."ch |
14c800 | 72 6f 6d 65 3a 2f 2f 62 72 61 6e 64 69 6e 67 2f 6c 6f 63 61 6c 65 2f 62 72 61 6e 64 2e 64 74 64 | rome://branding/locale/brand.dtd |
14c820 | 22 3e 0a 3c 21 45 4e 54 49 54 59 20 25 20 70 72 69 76 61 63 79 44 54 44 20 53 59 53 54 45 4d 20 | ">.<!ENTITY.%.privacyDTD.SYSTEM. |
14c840 | 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 6c 6f 63 61 6c 65 2f 70 72 65 66 65 72 65 | "chrome://browser/locale/prefere |
14c860 | 6e 63 65 73 2f 70 72 69 76 61 63 79 2e 64 74 64 22 3e 0a 25 62 72 61 6e 64 44 54 44 3b 0a 25 70 | nces/privacy.dtd">.%brandDTD;.%p |
14c880 | 72 69 76 61 63 79 44 54 44 3b 0a 5d 3e 0a 0a 3c 6f 76 65 72 6c 61 79 20 69 64 3d 22 50 72 69 76 | rivacyDTD;.]>..<overlay.id="Priv |
14c8a0 | 61 63 79 50 61 6e 65 4f 76 65 72 6c 61 79 22 0a 20 20 20 20 20 20 20 20 20 78 6d 6c 6e 73 3d 22 | acyPaneOverlay"..........xmlns=" |
14c8c0 | 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6b 65 79 6d 61 73 74 65 72 | http://www.mozilla.org/keymaster |
14c8e0 | 2f 67 61 74 65 6b 65 65 70 65 72 2f 74 68 65 72 65 2e 69 73 2e 6f 6e 6c 79 2e 78 75 6c 22 0a 20 | /gatekeeper/there.is.only.xul".. |
14c900 | 20 20 20 20 20 20 20 20 78 6d 6c 6e 73 3a 68 74 6d 6c 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e 77 | ........xmlns:html="http://www.w |
14c920 | 33 2e 6f 72 67 2f 31 39 39 39 2f 78 68 74 6d 6c 22 3e 0a 0a 20 20 3c 70 72 65 66 70 61 6e 65 20 | 3.org/1999/xhtml">....<prefpane. |
14c940 | 69 64 3d 22 70 61 6e 65 50 72 69 76 61 63 79 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 70 | id="panePrivacy".............onp |
14c960 | 61 6e 65 6c 6f 61 64 3d 22 67 50 72 69 76 61 63 79 50 61 6e 65 2e 69 6e 69 74 28 29 3b 22 0a 20 | aneload="gPrivacyPane.init();".. |
14c980 | 20 20 20 20 20 20 20 20 20 20 20 68 65 6c 70 54 6f 70 69 63 3d 22 70 72 65 66 73 2d 70 72 69 76 | ...........helpTopic="prefs-priv |
14c9a0 | 61 63 79 22 3e 0a 0a 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 73 20 69 64 3d 22 70 72 69 76 | acy">......<preferences.id="priv |
14c9c0 | 61 63 79 50 72 65 66 65 72 65 6e 63 65 73 22 3e 0a 0a 20 20 20 20 20 20 3c 21 2d 2d 20 58 58 58 | acyPreferences">........<!--.XXX |
14c9e0 | 20 62 75 74 74 6f 6e 20 70 72 65 66 73 20 2d 2d 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 | .button.prefs.-->.......<prefere |
14ca00 | 6e 63 65 20 69 64 3d 22 70 72 65 66 2e 70 72 69 76 61 63 79 2e 64 69 73 61 62 6c 65 5f 62 75 74 | nce.id="pref.privacy.disable_but |
14ca20 | 74 6f 6e 2e 63 6f 6f 6b 69 65 5f 65 78 63 65 70 74 69 6f 6e 73 22 0a 20 20 20 20 20 20 20 20 20 | ton.cookie_exceptions".......... |
14ca40 | 20 20 20 20 20 20 20 20 20 6e 61 6d 65 3d 22 70 72 65 66 2e 70 72 69 76 61 63 79 2e 64 69 73 61 | .........name="pref.privacy.disa |
14ca60 | 62 6c 65 5f 62 75 74 74 6f 6e 2e 63 6f 6f 6b 69 65 5f 65 78 63 65 70 74 69 6f 6e 73 22 0a 20 20 | ble_button.cookie_exceptions"... |
14ca80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 79 70 65 3d 22 62 6f 6f 6c 22 2f 3e 0a 20 20 | ................type="bool"/>... |
14caa0 | 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 70 72 65 66 2e 70 72 69 76 61 63 79 | ....<preference.id="pref.privacy |
14cac0 | 2e 64 69 73 61 62 6c 65 5f 62 75 74 74 6f 6e 2e 76 69 65 77 5f 63 6f 6f 6b 69 65 73 22 0a 20 20 | .disable_button.view_cookies"... |
14cae0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 61 6d 65 3d 22 70 72 65 66 2e 70 72 69 76 61 | ................name="pref.priva |
14cb00 | 63 79 2e 64 69 73 61 62 6c 65 5f 62 75 74 74 6f 6e 2e 76 69 65 77 5f 63 6f 6f 6b 69 65 73 22 0a | cy.disable_button.view_cookies". |
14cb20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 79 70 65 3d 22 62 6f 6f 6c 22 2f 3e 0a | ..................type="bool"/>. |
14cb40 | 0a 20 20 20 20 20 20 3c 21 2d 2d 20 4c 6f 63 61 74 69 6f 6e 20 42 61 72 20 2d 2d 3e 0a 20 20 20 | .......<!--.Location.Bar.-->.... |
14cb60 | 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 62 72 6f 77 73 65 72 2e 75 72 6c 62 61 | ...<preference.id="browser.urlba |
14cb80 | 72 2e 61 75 74 6f 63 6f 6d 70 6c 65 74 65 2e 65 6e 61 62 6c 65 64 22 0a 20 20 20 20 20 20 20 20 | r.autocomplete.enabled"......... |
14cba0 | 20 20 20 20 20 20 20 20 20 20 6e 61 6d 65 3d 22 62 72 6f 77 73 65 72 2e 75 72 6c 62 61 72 2e 61 | ..........name="browser.urlbar.a |
14cbc0 | 75 74 6f 63 6f 6d 70 6c 65 74 65 2e 65 6e 61 62 6c 65 64 22 0a 20 20 20 20 20 20 20 20 20 20 20 | utocomplete.enabled"............ |
14cbe0 | 20 20 20 20 20 20 20 74 79 70 65 3d 22 62 6f 6f 6c 22 2f 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 | .......type="bool"/>.......<pref |
14cc00 | 65 72 65 6e 63 65 20 69 64 3d 22 62 72 6f 77 73 65 72 2e 75 72 6c 62 61 72 2e 64 65 66 61 75 6c | erence.id="browser.urlbar.defaul |
14cc20 | 74 2e 62 65 68 61 76 69 6f 72 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 61 | t.behavior"...................na |
14cc40 | 6d 65 3d 22 62 72 6f 77 73 65 72 2e 75 72 6c 62 61 72 2e 64 65 66 61 75 6c 74 2e 62 65 68 61 76 | me="browser.urlbar.default.behav |
14cc60 | 69 6f 72 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 79 70 65 3d 22 69 6e 74 | ior"...................type="int |
14cc80 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 68 61 6e 67 65 3d 22 64 6f | "...................onchange="do |
14cca0 | 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 27 62 72 6f 77 73 65 72 2e 75 | cument.getElementById('browser.u |
14ccc0 | 72 6c 62 61 72 2e 61 75 74 6f 63 6f 6d 70 6c 65 74 65 2e 65 6e 61 62 6c 65 64 27 29 2e 75 70 64 | rlbar.autocomplete.enabled').upd |
14cce0 | 61 74 65 45 6c 65 6d 65 6e 74 73 28 29 3b 22 2f 3e 0a 0a 20 20 20 20 20 20 3c 21 2d 2d 20 48 69 | ateElements();"/>........<!--.Hi |
14cd00 | 73 74 6f 72 79 20 2d 2d 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 | story.-->.......<preference.id=" |
14cd20 | 62 72 6f 77 73 65 72 2e 68 69 73 74 6f 72 79 5f 65 78 70 69 72 65 5f 64 61 79 73 22 0a 20 20 20 | browser.history_expire_days".... |
14cd40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 61 6d 65 3d 22 62 72 6f 77 73 65 72 2e 68 69 73 | ...............name="browser.his |
14cd60 | 74 6f 72 79 5f 65 78 70 69 72 65 5f 64 61 79 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | tory_expire_days"............... |
14cd80 | 20 20 20 20 74 79 70 65 3d 22 69 6e 74 22 2f 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e | ....type="int"/>.......<preferen |
14cda0 | 63 65 20 69 64 3d 22 62 72 6f 77 73 65 72 2e 68 69 73 74 6f 72 79 5f 65 78 70 69 72 65 5f 64 61 | ce.id="browser.history_expire_da |
14cdc0 | 79 73 2e 6d 69 72 72 6f 72 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 61 6d | ys.mirror"...................nam |
14cde0 | 65 3d 22 62 72 6f 77 73 65 72 2e 68 69 73 74 6f 72 79 5f 65 78 70 69 72 65 5f 64 61 79 73 2e 6d | e="browser.history_expire_days.m |
14ce00 | 69 72 72 6f 72 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 79 70 65 3d 22 69 | irror"...................type="i |
14ce20 | 6e 74 22 2f 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 62 72 6f 77 | nt"/>.......<preference.id="brow |
14ce40 | 73 65 72 2e 68 69 73 74 6f 72 79 5f 65 78 70 69 72 65 5f 64 61 79 73 5f 6d 69 6e 22 0a 20 20 20 | ser.history_expire_days_min".... |
14ce60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 61 6d 65 3d 22 62 72 6f 77 73 65 72 2e 68 69 73 | ...............name="browser.his |
14ce80 | 74 6f 72 79 5f 65 78 70 69 72 65 5f 64 61 79 73 5f 6d 69 6e 22 0a 20 20 20 20 20 20 20 20 20 20 | tory_expire_days_min"........... |
14cea0 | 20 20 20 20 20 20 20 20 74 79 70 65 3d 22 69 6e 74 22 2f 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 | ........type="int"/>.......<pref |
14cec0 | 65 72 65 6e 63 65 20 69 64 3d 22 62 72 6f 77 73 65 72 2e 66 6f 72 6d 66 69 6c 6c 2e 65 6e 61 62 | erence.id="browser.formfill.enab |
14cee0 | 6c 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 61 6d 65 3d 22 62 72 6f 77 | le"...................name="brow |
14cf00 | 73 65 72 2e 66 6f 72 6d 66 69 6c 6c 2e 65 6e 61 62 6c 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 | ser.formfill.enable"............ |
14cf20 | 20 20 20 20 20 20 20 74 79 70 65 3d 22 62 6f 6f 6c 22 2f 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 | .......type="bool"/>.......<pref |
14cf40 | 65 72 65 6e 63 65 20 69 64 3d 22 62 72 6f 77 73 65 72 2e 64 6f 77 6e 6c 6f 61 64 2e 6d 61 6e 61 | erence.id="browser.download.mana |
14cf60 | 67 65 72 2e 72 65 74 65 6e 74 69 6f 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ger.retention".................. |
14cf80 | 20 6e 61 6d 65 3d 22 62 72 6f 77 73 65 72 2e 64 6f 77 6e 6c 6f 61 64 2e 6d 61 6e 61 67 65 72 2e | .name="browser.download.manager. |
14cfa0 | 72 65 74 65 6e 74 69 6f 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 79 70 | retention"...................typ |
14cfc0 | 65 3d 22 69 6e 74 22 2f 3e 0a 0a 20 20 20 20 20 20 3c 21 2d 2d 20 43 6f 6f 6b 69 65 73 20 2d 2d | e="int"/>........<!--.Cookies.-- |
14cfe0 | 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 6e 65 74 77 6f 72 6b 2e | >.......<preference.id="network. |
14d000 | 63 6f 6f 6b 69 65 2e 63 6f 6f 6b 69 65 42 65 68 61 76 69 6f 72 22 20 20 20 20 20 20 6e 61 6d 65 | cookie.cookieBehavior"......name |
14d020 | 3d 22 6e 65 74 77 6f 72 6b 2e 63 6f 6f 6b 69 65 2e 63 6f 6f 6b 69 65 42 65 68 61 76 69 6f 72 22 | ="network.cookie.cookieBehavior" |
14d040 | 20 20 20 20 20 20 74 79 70 65 3d 22 69 6e 74 22 2f 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 | ......type="int"/>.......<prefer |
14d060 | 65 6e 63 65 20 69 64 3d 22 6e 65 74 77 6f 72 6b 2e 63 6f 6f 6b 69 65 2e 6c 69 66 65 74 69 6d 65 | ence.id="network.cookie.lifetime |
14d080 | 50 6f 6c 69 63 79 22 20 20 20 20 20 20 6e 61 6d 65 3d 22 6e 65 74 77 6f 72 6b 2e 63 6f 6f 6b 69 | Policy"......name="network.cooki |
14d0a0 | 65 2e 6c 69 66 65 74 69 6d 65 50 6f 6c 69 63 79 22 20 20 20 20 20 20 74 79 70 65 3d 22 69 6e 74 | e.lifetimePolicy"......type="int |
14d0c0 | 22 2f 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 6e 65 74 77 6f 72 | "/>.......<preference.id="networ |
14d0e0 | 6b 2e 63 6f 6f 6b 69 65 2e 62 6c 6f 63 6b 46 75 74 75 72 65 43 6f 6f 6b 69 65 73 22 20 20 6e 61 | k.cookie.blockFutureCookies"..na |
14d100 | 6d 65 3d 22 6e 65 74 77 6f 72 6b 2e 63 6f 6f 6b 69 65 2e 62 6c 6f 63 6b 46 75 74 75 72 65 43 6f | me="network.cookie.blockFutureCo |
14d120 | 6f 6b 69 65 73 22 20 20 74 79 70 65 3d 22 62 6f 6f 6c 22 2f 3e 0a 0a 20 20 20 20 20 20 3c 21 2d | okies"..type="bool"/>........<!- |
14d140 | 2d 20 43 6c 65 61 72 20 50 72 69 76 61 74 65 20 44 61 74 61 20 2d 2d 3e 0a 20 20 20 20 20 20 3c | -.Clear.Private.Data.-->.......< |
14d160 | 70 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 70 72 69 76 61 63 79 2e 73 61 6e 69 74 69 7a 65 2e | preference.id="privacy.sanitize. |
14d180 | 73 61 6e 69 74 69 7a 65 4f 6e 53 68 75 74 64 6f 77 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 | sanitizeOnShutdown"............. |
14d1a0 | 20 20 20 20 20 20 6e 61 6d 65 3d 22 70 72 69 76 61 63 79 2e 73 61 6e 69 74 69 7a 65 2e 73 61 6e | ......name="privacy.sanitize.san |
14d1c0 | 69 74 69 7a 65 4f 6e 53 68 75 74 64 6f 77 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | itizeOnShutdown"................ |
14d1e0 | 20 20 20 6f 6e 63 68 61 6e 67 65 3d 22 67 50 72 69 76 61 63 79 50 61 6e 65 2e 5f 75 70 64 61 74 | ...onchange="gPrivacyPane._updat |
14d200 | 65 53 61 6e 69 74 69 7a 65 53 65 74 74 69 6e 67 73 42 75 74 74 6f 6e 28 29 3b 22 0a 20 20 20 20 | eSanitizeSettingsButton();"..... |
14d220 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 79 70 65 3d 22 62 6f 6f 6c 22 2f 3e 0a 20 20 20 20 | ..............type="bool"/>..... |
14d240 | 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 70 72 69 76 61 63 79 2e 73 61 6e 69 74 69 | ..<preference.id="privacy.saniti |
14d260 | 7a 65 2e 74 69 6d 65 53 70 61 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e | ze.timeSpan"...................n |
14d280 | 61 6d 65 3d 22 70 72 69 76 61 63 79 2e 73 61 6e 69 74 69 7a 65 2e 74 69 6d 65 53 70 61 6e 22 0a | ame="privacy.sanitize.timeSpan". |
14d2a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 79 70 65 3d 22 69 6e 74 22 2f 3e 0a 0a | ..................type="int"/>.. |
14d2c0 | 20 20 20 20 20 20 3c 21 2d 2d 20 50 72 69 76 61 74 65 20 42 72 6f 77 73 69 6e 67 20 2d 2d 3e 0a | ......<!--.Private.Browsing.-->. |
14d2e0 | 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 62 72 6f 77 73 65 72 2e 70 72 | ......<preference.id="browser.pr |
14d300 | 69 76 61 74 65 62 72 6f 77 73 69 6e 67 2e 61 75 74 6f 73 74 61 72 74 22 0a 20 20 20 20 20 20 20 | ivatebrowsing.autostart"........ |
14d320 | 20 20 20 20 20 20 20 20 20 20 20 6e 61 6d 65 3d 22 62 72 6f 77 73 65 72 2e 70 72 69 76 61 74 65 | ...........name="browser.private |
14d340 | 62 72 6f 77 73 69 6e 67 2e 61 75 74 6f 73 74 61 72 74 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 | browsing.autostart"............. |
14d360 | 20 20 20 20 20 20 6f 6e 63 68 61 6e 67 65 3d 22 67 50 72 69 76 61 63 79 50 61 6e 65 2e 75 70 64 | ......onchange="gPrivacyPane.upd |
14d380 | 61 74 65 50 72 69 76 61 63 79 4d 69 63 72 6f 43 6f 6e 74 72 6f 6c 73 28 29 3b 22 0a 20 20 20 20 | atePrivacyMicroControls();"..... |
14d3a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 79 70 65 3d 22 62 6f 6f 6c 22 2f 3e 0a 20 20 20 20 | ..............type="bool"/>..... |
14d3c0 | 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 62 72 6f 77 73 65 72 2e 70 72 69 76 61 74 | ..<preference.id="browser.privat |
14d3e0 | 65 62 72 6f 77 73 69 6e 67 2e 6b 65 65 70 5f 63 75 72 72 65 6e 74 5f 73 65 73 73 69 6f 6e 22 0a | ebrowsing.keep_current_session". |
14d400 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 61 6d 65 3d 22 62 72 6f 77 73 65 72 2e | ..................name="browser. |
14d420 | 70 72 69 76 61 74 65 62 72 6f 77 73 69 6e 67 2e 6b 65 65 70 5f 63 75 72 72 65 6e 74 5f 73 65 73 | privatebrowsing.keep_current_ses |
14d440 | 73 69 6f 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 73 74 61 6e 74 41 | sion"...................instantA |
14d460 | 70 70 6c 79 3d 22 74 72 75 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 79 | pply="true"...................ty |
14d480 | 70 65 3d 22 62 6f 6f 6c 22 2f 3e 0a 0a 20 20 20 20 3c 2f 70 72 65 66 65 72 65 6e 63 65 73 3e 0a | pe="bool"/>......</preferences>. |
14d4a0 | 20 20 20 20 0a 20 20 20 20 3c 73 74 72 69 6e 67 62 75 6e 64 6c 65 20 69 64 3d 22 62 75 6e 64 6c | .........<stringbundle.id="bundl |
14d4c0 | 65 50 72 65 66 65 72 65 6e 63 65 73 22 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 | ePreferences".src="chrome://brow |
14d4e0 | 73 65 72 2f 6c 6f 63 61 6c 65 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 70 72 65 66 65 72 65 6e 63 | ser/locale/preferences/preferenc |
14d500 | 65 73 2e 70 72 6f 70 65 72 74 69 65 73 22 2f 3e 0a 20 20 20 20 0a 20 20 20 20 3c 73 63 72 69 70 | es.properties"/>..........<scrip |
14d520 | 74 20 74 79 70 65 3d 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f 78 2d 6a 61 76 61 73 63 72 69 70 74 | t.type="application/x-javascript |
14d540 | 22 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f | ".src="chrome://browser/content/ |
14d560 | 70 72 65 66 65 72 65 6e 63 65 73 2f 70 72 69 76 61 63 79 2e 6a 73 22 2f 3e 0a 0a 20 20 20 20 3c | preferences/privacy.js"/>......< |
14d580 | 21 2d 2d 20 48 69 73 74 6f 72 79 20 2d 2d 3e 0a 20 20 20 20 3c 67 72 6f 75 70 62 6f 78 20 69 64 | !--.History.-->.....<groupbox.id |
14d5a0 | 3d 22 68 69 73 74 6f 72 79 47 72 6f 75 70 22 3e 0a 20 20 20 20 20 20 3c 63 61 70 74 69 6f 6e 20 | ="historyGroup">.......<caption. |
14d5c0 | 6c 61 62 65 6c 3d 22 26 68 69 73 74 6f 72 79 2e 6c 61 62 65 6c 3b 22 2f 3e 0a 0a 20 20 20 20 20 | label="&history.label;"/>....... |
14d5e0 | 20 3c 68 62 6f 78 20 61 6c 69 67 6e 3d 22 63 65 6e 74 65 72 22 3e 0a 20 20 20 20 20 20 20 20 3c | .<hbox.align="center">.........< |
14d600 | 6c 61 62 65 6c 20 69 64 3d 22 68 69 73 74 6f 72 79 4d 6f 64 65 4c 61 62 65 6c 22 0a 20 20 20 20 | label.id="historyModeLabel"..... |
14d620 | 20 20 20 20 20 20 20 20 20 20 20 63 6f 6e 74 72 6f 6c 3d 22 68 69 73 74 6f 72 79 4d 6f 64 65 22 | ...........control="historyMode" |
14d640 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 68 69 73 74 | ................accesskey="&hist |
14d660 | 6f 72 79 48 65 61 64 65 72 2e 70 72 65 2e 61 63 63 65 73 73 6b 65 79 3b 22 3e 26 68 69 73 74 6f | oryHeader.pre.accesskey;">&histo |
14d680 | 72 79 48 65 61 64 65 72 2e 70 72 65 2e 6c 61 62 65 6c 3b 3c 2f 6c 61 62 65 6c 3e 0a 20 20 20 20 | ryHeader.pre.label;</label>..... |
14d6a0 | 20 20 20 20 3c 6d 65 6e 75 6c 69 73 74 20 69 64 3d 22 68 69 73 74 6f 72 79 4d 6f 64 65 22 0a 20 | ....<menulist.id="historyMode".. |
14d6c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 50 72 69 | .................oncommand="gPri |
14d6e0 | 76 61 63 79 50 61 6e 65 2e 75 70 64 61 74 65 48 69 73 74 6f 72 79 4d 6f 64 65 50 61 6e 65 28 29 | vacyPane.updateHistoryModePane() |
14d700 | 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 | ;..............................g |
14d720 | 50 72 69 76 61 63 79 50 61 6e 65 2e 75 70 64 61 74 65 48 69 73 74 6f 72 79 4d 6f 64 65 50 72 65 | PrivacyPane.updateHistoryModePre |
14d740 | 66 73 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | fs();........................... |
14d760 | 20 20 20 67 50 72 69 76 61 63 79 50 61 6e 65 2e 75 70 64 61 74 65 50 72 69 76 61 63 79 4d 69 63 | ...gPrivacyPane.updatePrivacyMic |
14d780 | 72 6f 43 6f 6e 74 72 6f 6c 73 28 29 3b 22 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 70 | roControls();">...........<menup |
14d7a0 | 6f 70 75 70 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 6c 61 62 65 | opup>.............<menuitem.labe |
14d7c0 | 6c 3d 22 26 68 69 73 74 6f 72 79 48 65 61 64 65 72 2e 72 65 6d 65 6d 62 65 72 2e 6c 61 62 65 6c | l="&historyHeader.remember.label |
14d7e0 | 3b 22 20 76 61 6c 75 65 3d 22 72 65 6d 65 6d 62 65 72 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 | ;".value="remember"/>........... |
14d800 | 20 20 3c 6d 65 6e 75 69 74 65 6d 20 6c 61 62 65 6c 3d 22 26 68 69 73 74 6f 72 79 48 65 61 64 65 | ..<menuitem.label="&historyHeade |
14d820 | 72 2e 64 6f 6e 74 72 65 6d 65 6d 62 65 72 2e 6c 61 62 65 6c 3b 22 20 76 61 6c 75 65 3d 22 64 6f | r.dontremember.label;".value="do |
14d840 | 6e 74 72 65 6d 65 6d 62 65 72 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 | ntremember"/>.............<menui |
14d860 | 74 65 6d 20 6c 61 62 65 6c 3d 22 26 68 69 73 74 6f 72 79 48 65 61 64 65 72 2e 63 75 73 74 6f 6d | tem.label="&historyHeader.custom |
14d880 | 2e 6c 61 62 65 6c 3b 22 20 76 61 6c 75 65 3d 22 63 75 73 74 6f 6d 22 2f 3e 0a 20 20 20 20 20 20 | .label;".value="custom"/>....... |
14d8a0 | 20 20 20 20 3c 2f 6d 65 6e 75 70 6f 70 75 70 3e 0a 20 20 20 20 20 20 20 20 3c 2f 6d 65 6e 75 6c | ....</menupopup>.........</menul |
14d8c0 | 69 73 74 3e 0a 20 20 20 20 20 20 20 20 3c 6c 61 62 65 6c 3e 26 68 69 73 74 6f 72 79 48 65 61 64 | ist>.........<label>&historyHead |
14d8e0 | 65 72 2e 70 6f 73 74 2e 6c 61 62 65 6c 3b 3c 2f 6c 61 62 65 6c 3e 0a 20 20 20 20 20 20 3c 2f 68 | er.post.label;</label>.......</h |
14d900 | 62 6f 78 3e 0a 0a 20 20 20 20 20 20 3c 64 65 63 6b 20 69 64 3d 22 68 69 73 74 6f 72 79 50 61 6e | box>........<deck.id="historyPan |
14d920 | 65 22 3e 0a 20 20 20 20 20 20 20 20 3c 76 62 6f 78 20 61 6c 69 67 6e 3d 22 63 65 6e 74 65 72 22 | e">.........<vbox.align="center" |
14d940 | 20 69 64 3d 22 68 69 73 74 6f 72 79 52 65 6d 65 6d 62 65 72 50 61 6e 65 22 3e 0a 20 20 20 20 20 | .id="historyRememberPane">...... |
14d960 | 20 20 20 20 20 3c 68 62 6f 78 20 61 6c 69 67 6e 3d 22 63 65 6e 74 65 72 22 20 66 6c 65 78 3d 22 | .....<hbox.align="center".flex=" |
14d980 | 31 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 73 70 61 63 65 72 20 66 6c 65 78 3d 22 31 22 | 1">.............<spacer.flex="1" |
14d9a0 | 20 63 6c 61 73 73 3d 22 69 6e 64 65 6e 74 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 76 | .class="indent"/>.............<v |
14d9c0 | 62 6f 78 20 66 6c 65 78 3d 22 32 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 64 65 73 | box.flex="2">...............<des |
14d9e0 | 63 72 69 70 74 69 6f 6e 3e 26 72 65 6d 65 6d 62 65 72 44 65 73 63 72 69 70 74 69 6f 6e 2e 6c 61 | cription>&rememberDescription.la |
14da00 | 62 65 6c 3b 3c 2f 64 65 73 63 72 69 70 74 69 6f 6e 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | bel;</description>.............. |
14da20 | 20 3c 73 65 70 61 72 61 74 6f 72 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 64 65 73 | .<separator/>...............<des |
14da40 | 63 72 69 70 74 69 6f 6e 3e 26 72 65 6d 65 6d 62 65 72 41 63 74 69 6f 6e 73 2e 70 72 65 2e 6c 61 | cription>&rememberActions.pre.la |
14da60 | 62 65 6c 3b 3c 68 74 6d 6c 3a 61 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6c 61 73 | bel;<html:a.................clas |
14da80 | 73 3d 22 69 6e 6c 69 6e 65 2d 6c 69 6e 6b 22 20 68 72 65 66 3d 22 23 22 0a 20 20 20 20 20 20 20 | s="inline-link".href="#"........ |
14daa0 | 20 20 20 20 20 20 20 20 20 6f 6e 63 6c 69 63 6b 3d 22 67 50 72 69 76 61 63 79 50 61 6e 65 2e 63 | .........onclick="gPrivacyPane.c |
14dac0 | 6c 65 61 72 50 72 69 76 61 74 65 44 61 74 61 4e 6f 77 28 66 61 6c 73 65 29 3b 20 72 65 74 75 72 | learPrivateDataNow(false);.retur |
14dae0 | 6e 20 66 61 6c 73 65 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3e 26 72 65 6d 65 6d 62 | n.false;"...............>&rememb |
14db00 | 65 72 41 63 74 69 6f 6e 73 2e 63 6c 65 61 72 48 69 73 74 6f 72 79 2e 6c 61 62 65 6c 3b 3c 2f 68 | erActions.clearHistory.label;</h |
14db20 | 74 6d 6c 3a 61 3e 26 72 65 6d 65 6d 62 65 72 41 63 74 69 6f 6e 73 2e 6d 69 64 64 6c 65 2e 6c 61 | tml:a>&rememberActions.middle.la |
14db40 | 62 65 6c 3b 3c 68 74 6d 6c 3a 61 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6c 61 73 | bel;<html:a.................clas |
14db60 | 73 3d 22 69 6e 6c 69 6e 65 2d 6c 69 6e 6b 22 20 68 72 65 66 3d 22 23 22 0a 20 20 20 20 20 20 20 | s="inline-link".href="#"........ |
14db80 | 20 20 20 20 20 20 20 20 20 6f 6e 63 6c 69 63 6b 3d 22 67 50 72 69 76 61 63 79 50 61 6e 65 2e 73 | .........onclick="gPrivacyPane.s |
14dba0 | 68 6f 77 43 6f 6f 6b 69 65 73 28 29 3b 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 22 0a 20 20 20 | howCookies();.return.false;".... |
14dbc0 | 20 20 20 20 20 20 20 20 20 20 20 3e 26 72 65 6d 65 6d 62 65 72 41 63 74 69 6f 6e 73 2e 72 65 6d | ...........>&rememberActions.rem |
14dbe0 | 6f 76 65 43 6f 6f 6b 69 65 73 2e 6c 61 62 65 6c 3b 3c 2f 68 74 6d 6c 3a 61 3e 26 72 65 6d 65 6d | oveCookies.label;</html:a>&remem |
14dc00 | 62 65 72 41 63 74 69 6f 6e 73 2e 70 6f 73 74 2e 6c 61 62 65 6c 3b 3c 2f 64 65 73 63 72 69 70 74 | berActions.post.label;</descript |
14dc20 | 69 6f 6e 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 76 62 6f 78 3e 0a 20 20 20 20 20 20 20 | ion>.............</vbox>........ |
14dc40 | 20 20 20 20 20 3c 73 70 61 63 65 72 20 66 6c 65 78 3d 22 31 22 20 63 6c 61 73 73 3d 22 69 6e 64 | .....<spacer.flex="1".class="ind |
14dc60 | 65 6e 74 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 2f 68 62 6f 78 3e 0a 20 20 20 20 20 20 20 | ent"/>...........</hbox>........ |
14dc80 | 20 3c 2f 76 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 3c 76 62 6f 78 20 61 6c 69 67 6e 3d 22 63 65 | .</vbox>.........<vbox.align="ce |
14dca0 | 6e 74 65 72 22 20 69 64 3d 22 68 69 73 74 6f 72 79 44 6f 6e 74 52 65 6d 65 6d 62 65 72 50 61 6e | nter".id="historyDontRememberPan |
14dcc0 | 65 22 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 68 62 6f 78 20 61 6c 69 67 6e 3d 22 63 65 6e 74 65 | e">...........<hbox.align="cente |
14dce0 | 72 22 20 66 6c 65 78 3d 22 31 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 73 70 61 63 65 72 | r".flex="1">.............<spacer |
14dd00 | 20 66 6c 65 78 3d 22 31 22 20 63 6c 61 73 73 3d 22 69 6e 64 65 6e 74 22 2f 3e 0a 20 20 20 20 20 | .flex="1".class="indent"/>...... |
14dd20 | 20 20 20 20 20 20 20 3c 76 62 6f 78 20 66 6c 65 78 3d 22 32 22 3e 0a 20 20 20 20 20 20 20 20 20 | .......<vbox.flex="2">.......... |
14dd40 | 20 20 20 20 20 3c 64 65 73 63 72 69 70 74 69 6f 6e 3e 26 64 6f 6e 74 72 65 6d 65 6d 62 65 72 44 | .....<description>&dontrememberD |
14dd60 | 65 73 63 72 69 70 74 69 6f 6e 2e 6c 61 62 65 6c 3b 3c 2f 64 65 73 63 72 69 70 74 69 6f 6e 3e 0a | escription.label;</description>. |
14dd80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 73 65 70 61 72 61 74 6f 72 2f 3e 0a 20 20 20 20 20 | ..............<separator/>...... |
14dda0 | 20 20 20 20 20 20 20 20 20 3c 64 65 73 63 72 69 70 74 69 6f 6e 3e 26 64 6f 6e 74 72 65 6d 65 6d | .........<description>&dontremem |
14ddc0 | 62 65 72 41 63 74 69 6f 6e 73 2e 70 72 65 2e 6c 61 62 65 6c 3b 3c 68 74 6d 6c 3a 61 0a 20 20 20 | berActions.pre.label;<html:a.... |
14dde0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6c 61 73 73 3d 22 69 6e 6c 69 6e 65 2d 6c 69 6e 6b 22 | .............class="inline-link" |
14de00 | 20 68 72 65 66 3d 22 23 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6c 69 63 | .href="#".................onclic |
14de20 | 6b 3d 22 67 50 72 69 76 61 63 79 50 61 6e 65 2e 63 6c 65 61 72 50 72 69 76 61 74 65 44 61 74 61 | k="gPrivacyPane.clearPrivateData |
14de40 | 4e 6f 77 28 74 72 75 65 29 3b 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 22 0a 20 20 20 20 20 20 | Now(true);.return.false;"....... |
14de60 | 20 20 20 20 20 20 20 20 3e 26 64 6f 6e 74 72 65 6d 65 6d 62 65 72 41 63 74 69 6f 6e 73 2e 63 6c | ........>&dontrememberActions.cl |
14de80 | 65 61 72 48 69 73 74 6f 72 79 2e 6c 61 62 65 6c 3b 3c 2f 68 74 6d 6c 3a 61 3e 26 64 6f 6e 74 72 | earHistory.label;</html:a>&dontr |
14dea0 | 65 6d 65 6d 62 65 72 41 63 74 69 6f 6e 73 2e 70 6f 73 74 2e 6c 61 62 65 6c 3b 3c 2f 64 65 73 63 | ememberActions.post.label;</desc |
14dec0 | 72 69 70 74 69 6f 6e 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 76 62 6f 78 3e 0a 20 20 20 | ription>.............</vbox>.... |
14dee0 | 20 20 20 20 20 20 20 20 20 3c 73 70 61 63 65 72 20 66 6c 65 78 3d 22 31 22 20 63 6c 61 73 73 3d | .........<spacer.flex="1".class= |
14df00 | 22 69 6e 64 65 6e 74 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 2f 68 62 6f 78 3e 0a 20 20 20 | "indent"/>...........</hbox>.... |
14df20 | 20 20 20 20 20 3c 2f 76 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 3c 76 62 6f 78 20 69 64 3d 22 68 | .....</vbox>.........<vbox.id="h |
14df40 | 69 73 74 6f 72 79 43 75 73 74 6f 6d 50 61 6e 65 22 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 73 65 | istoryCustomPane">...........<se |
14df60 | 70 61 72 61 74 6f 72 20 63 6c 61 73 73 3d 22 74 68 69 6e 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 | parator.class="thin"/>.......... |
14df80 | 20 3c 63 68 65 63 6b 62 6f 78 20 69 64 3d 22 70 72 69 76 61 74 65 42 72 6f 77 73 69 6e 67 41 75 | .<checkbox.id="privateBrowsingAu |
14dfa0 | 74 6f 53 74 61 72 74 22 20 63 6c 61 73 73 3d 22 69 6e 64 65 6e 74 22 0a 20 20 20 20 20 20 20 20 | toStart".class="indent"......... |
14dfc0 | 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 70 72 69 76 61 74 65 42 72 6f 77 73 | ............label="&privateBrows |
14dfe0 | 69 6e 67 41 75 74 6f 53 74 61 72 74 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 | ingAutoStart.label;"............ |
14e000 | 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 70 72 69 76 61 74 65 42 72 6f 77 | .........accesskey="&privateBrow |
14e020 | 73 69 6e 67 41 75 74 6f 53 74 61 72 74 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 | singAutoStart.accesskey;"....... |
14e040 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 65 66 65 72 65 6e 63 65 3d 22 62 72 6f 77 73 65 | ..............preference="browse |
14e060 | 72 2e 70 72 69 76 61 74 65 62 72 6f 77 73 69 6e 67 2e 61 75 74 6f 73 74 61 72 74 22 2f 3e 0a 0a | r.privatebrowsing.autostart"/>.. |
14e080 | 20 20 20 20 20 20 20 20 20 20 3c 76 62 6f 78 20 63 6c 61 73 73 3d 22 69 6e 64 65 6e 74 22 3e 0a | ..........<vbox.class="indent">. |
14e0a0 | 20 20 20 20 20 20 20 20 20 20 20 20 3c 76 62 6f 78 20 63 6c 61 73 73 3d 22 69 6e 64 65 6e 74 22 | ............<vbox.class="indent" |
14e0c0 | 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 68 62 6f 78 20 61 6c 69 67 6e 3d 22 63 65 6e | >...............<hbox.align="cen |
14e0e0 | 74 65 72 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 63 68 65 63 6b 62 6f 78 20 | ter">.................<checkbox. |
14e100 | 69 64 3d 22 72 65 6d 65 6d 62 65 72 48 69 73 74 6f 72 79 44 61 79 73 22 0a 20 20 20 20 20 20 20 | id="rememberHistoryDays"........ |
14e120 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 72 65 6d 65 6d | ...................label="&remem |
14e140 | 62 65 72 48 69 73 74 6f 72 79 2e 70 72 65 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 | berHistory.pre.label;".......... |
14e160 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 72 65 6d | .................accesskey="&rem |
14e180 | 65 6d 62 65 72 48 69 73 74 6f 72 79 2e 70 72 65 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 | emberHistory.pre.accesskey;".... |
14e1a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 | .......................oncommand |
14e1c0 | 3d 22 67 50 72 69 76 61 63 79 50 61 6e 65 2e 6f 6e 63 68 61 6e 67 65 48 69 73 74 6f 72 79 44 61 | ="gPrivacyPane.onchangeHistoryDa |
14e1e0 | 79 73 43 68 65 63 6b 28 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ysCheck();"..................... |
14e200 | 20 20 20 20 20 20 61 72 69 61 2d 6c 61 62 65 6c 6c 65 64 62 79 3d 22 72 65 6d 65 6d 62 65 72 48 | ......aria-labelledby="rememberH |
14e220 | 69 73 74 6f 72 79 44 61 79 73 20 68 69 73 74 6f 72 79 44 61 79 73 20 72 65 6d 65 6d 62 65 72 41 | istoryDays.historyDays.rememberA |
14e240 | 66 74 65 72 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 74 65 78 74 62 6f 78 | fter"/>.................<textbox |
14e260 | 20 69 64 3d 22 68 69 73 74 6f 72 79 44 61 79 73 22 20 74 79 70 65 3d 22 6e 75 6d 62 65 72 22 20 | .id="historyDays".type="number". |
14e280 | 73 69 7a 65 3d 22 33 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | size="3"........................ |
14e2a0 | 20 20 61 72 69 61 2d 6c 61 62 65 6c 6c 65 64 62 79 3d 22 72 65 6d 65 6d 62 65 72 48 69 73 74 6f | ..aria-labelledby="rememberHisto |
14e2c0 | 72 79 44 61 79 73 20 68 69 73 74 6f 72 79 44 61 79 73 20 72 65 6d 65 6d 62 65 72 41 66 74 65 72 | ryDays.historyDays.rememberAfter |
14e2e0 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 6b 65 79 | "..........................onkey |
14e300 | 75 70 3d 22 67 50 72 69 76 61 63 79 50 61 6e 65 2e 6f 6e 6b 65 79 75 70 48 69 73 74 6f 72 79 44 | up="gPrivacyPane.onkeyupHistoryD |
14e320 | 61 79 73 54 65 78 74 28 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | aysText();"..................... |
14e340 | 20 20 20 20 20 70 72 65 66 65 72 65 6e 63 65 3d 22 62 72 6f 77 73 65 72 2e 68 69 73 74 6f 72 79 | .....preference="browser.history |
14e360 | 5f 65 78 70 69 72 65 5f 64 61 79 73 5f 6d 69 6e 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 | _expire_days_min"/>............. |
14e380 | 20 20 20 20 3c 6c 61 62 65 6c 20 69 64 3d 22 72 65 6d 65 6d 62 65 72 41 66 74 65 72 22 3e 20 26 | ....<label.id="rememberAfter">.& |
14e3a0 | 72 65 6d 65 6d 62 65 72 48 69 73 74 6f 72 79 2e 70 6f 73 74 2e 6c 61 62 65 6c 3b 3c 2f 6c 61 62 | rememberHistory.post.label;</lab |
14e3c0 | 65 6c 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 68 62 6f 78 3e 0a 20 20 20 20 20 20 | el>...............</hbox>....... |
14e3e0 | 20 20 20 20 20 20 20 20 3c 63 68 65 63 6b 62 6f 78 20 69 64 3d 22 72 65 6d 65 6d 62 65 72 44 6f | ........<checkbox.id="rememberDo |
14e400 | 77 6e 6c 6f 61 64 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | wnloads"........................ |
14e420 | 20 6c 61 62 65 6c 3d 22 26 72 65 6d 65 6d 62 65 72 44 6f 77 6e 6c 6f 61 64 2e 6c 61 62 65 6c 3b | .label="&rememberDownload.label; |
14e440 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 | ".........................access |
14e460 | 6b 65 79 3d 22 26 72 65 6d 65 6d 62 65 72 44 6f 77 6e 6c 6f 61 64 2e 61 63 63 65 73 73 6b 65 79 | key="&rememberDownload.accesskey |
14e480 | 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 65 66 65 | ;".........................prefe |
14e4a0 | 72 65 6e 63 65 3d 22 62 72 6f 77 73 65 72 2e 64 6f 77 6e 6c 6f 61 64 2e 6d 61 6e 61 67 65 72 2e | rence="browser.download.manager. |
14e4c0 | 72 65 74 65 6e 74 69 6f 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | retention"...................... |
14e4e0 | 20 20 20 6f 6e 73 79 6e 63 66 72 6f 6d 70 72 65 66 65 72 65 6e 63 65 3d 22 72 65 74 75 72 6e 20 | ...onsyncfrompreference="return. |
14e500 | 67 50 72 69 76 61 63 79 50 61 6e 65 2e 72 65 61 64 44 6f 77 6e 6c 6f 61 64 52 65 74 65 6e 74 69 | gPrivacyPane.readDownloadRetenti |
14e520 | 6f 6e 28 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f | on();".........................o |
14e540 | 6e 73 79 6e 63 74 6f 70 72 65 66 65 72 65 6e 63 65 3d 22 72 65 74 75 72 6e 20 67 50 72 69 76 61 | nsynctopreference="return.gPriva |
14e560 | 63 79 50 61 6e 65 2e 77 72 69 74 65 44 6f 77 6e 6c 6f 61 64 52 65 74 65 6e 74 69 6f 6e 28 29 3b | cyPane.writeDownloadRetention(); |
14e580 | 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 63 68 65 63 6b 62 6f 78 20 69 64 3d 22 | "/>...............<checkbox.id=" |
14e5a0 | 72 65 6d 65 6d 62 65 72 46 6f 72 6d 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | rememberForms".................. |
14e5c0 | 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 72 65 6d 65 6d 62 65 72 53 65 61 72 63 68 46 6f 72 | .......label="&rememberSearchFor |
14e5e0 | 6d 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | m.label;"....................... |
14e600 | 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 72 65 6d 65 6d 62 65 72 53 65 61 72 63 68 46 6f 72 6d | ..accesskey="&rememberSearchForm |
14e620 | 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .accesskey;".................... |
14e640 | 20 20 20 20 20 70 72 65 66 65 72 65 6e 63 65 3d 22 62 72 6f 77 73 65 72 2e 66 6f 72 6d 66 69 6c | .....preference="browser.formfil |
14e660 | 6c 2e 65 6e 61 62 6c 65 22 2f 3e 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 68 62 6f 78 | l.enable"/>................<hbox |
14e680 | 20 69 64 3d 22 63 6f 6f 6b 69 65 73 42 6f 78 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .id="cookiesBox">............... |
14e6a0 | 20 20 3c 63 68 65 63 6b 62 6f 78 20 69 64 3d 22 61 63 63 65 70 74 43 6f 6f 6b 69 65 73 22 20 6c | ..<checkbox.id="acceptCookies".l |
14e6c0 | 61 62 65 6c 3d 22 26 61 63 63 65 70 74 43 6f 6f 6b 69 65 73 2e 6c 61 62 65 6c 3b 22 20 66 6c 65 | abel="&acceptCookies.label;".fle |
14e6e0 | 78 3d 22 31 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | x="1"........................... |
14e700 | 70 72 65 66 65 72 65 6e 63 65 3d 22 6e 65 74 77 6f 72 6b 2e 63 6f 6f 6b 69 65 2e 63 6f 6f 6b 69 | preference="network.cookie.cooki |
14e720 | 65 42 65 68 61 76 69 6f 72 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | eBehavior"...................... |
14e740 | 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 61 63 63 65 70 74 43 6f 6f 6b 69 65 73 2e 61 | .....accesskey="&acceptCookies.a |
14e760 | 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ccesskey;"...................... |
14e780 | 20 20 20 20 20 6f 6e 73 79 6e 63 66 72 6f 6d 70 72 65 66 65 72 65 6e 63 65 3d 22 72 65 74 75 72 | .....onsyncfrompreference="retur |
14e7a0 | 6e 20 67 50 72 69 76 61 63 79 50 61 6e 65 2e 72 65 61 64 41 63 63 65 70 74 43 6f 6f 6b 69 65 73 | n.gPrivacyPane.readAcceptCookies |
14e7c0 | 28 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f | ();"...........................o |
14e7e0 | 6e 73 79 6e 63 74 6f 70 72 65 66 65 72 65 6e 63 65 3d 22 72 65 74 75 72 6e 20 67 50 72 69 76 61 | nsynctopreference="return.gPriva |
14e800 | 63 79 50 61 6e 65 2e 77 72 69 74 65 41 63 63 65 70 74 43 6f 6f 6b 69 65 73 28 29 3b 22 2f 3e 0a | cyPane.writeAcceptCookies();"/>. |
14e820 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 62 75 74 74 6f 6e 20 69 64 3d 22 63 6f 6f 6b | ................<button.id="cook |
14e840 | 69 65 45 78 63 65 70 74 69 6f 6e 73 22 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 50 72 69 76 61 63 | ieExceptions".oncommand="gPrivac |
14e860 | 79 50 61 6e 65 2e 73 68 6f 77 43 6f 6f 6b 69 65 45 78 63 65 70 74 69 6f 6e 73 28 29 3b 22 0a 20 | yPane.showCookieExceptions();".. |
14e880 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 63 | .......................label="&c |
14e8a0 | 6f 6f 6b 69 65 45 78 63 65 70 74 69 6f 6e 73 2e 6c 61 62 65 6c 3b 22 20 61 63 63 65 73 73 6b 65 | ookieExceptions.label;".accesske |
14e8c0 | 79 3d 22 26 63 6f 6f 6b 69 65 45 78 63 65 70 74 69 6f 6e 73 2e 61 63 63 65 73 73 6b 65 79 3b 22 | y="&cookieExceptions.accesskey;" |
14e8e0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 65 66 65 72 65 | .........................prefere |
14e900 | 6e 63 65 3d 22 70 72 65 66 2e 70 72 69 76 61 63 79 2e 64 69 73 61 62 6c 65 5f 62 75 74 74 6f 6e | nce="pref.privacy.disable_button |
14e920 | 2e 63 6f 6f 6b 69 65 5f 65 78 63 65 70 74 69 6f 6e 73 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 | .cookie_exceptions"/>........... |
14e940 | 20 20 20 20 3c 2f 68 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 63 68 65 63 6b | ....</hbox>...............<check |
14e960 | 62 6f 78 20 69 64 3d 22 61 63 63 65 70 74 54 68 69 72 64 50 61 72 74 79 22 20 6c 61 62 65 6c 3d | box.id="acceptThirdParty".label= |
14e980 | 22 26 61 63 63 65 70 74 54 68 69 72 64 50 61 72 74 79 2e 6c 61 62 65 6c 3b 22 20 63 6c 61 73 73 | "&acceptThirdParty.label;".class |
14e9a0 | 3d 22 69 6e 64 65 6e 74 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ="indent"....................... |
14e9c0 | 20 20 70 72 65 66 65 72 65 6e 63 65 3d 22 6e 65 74 77 6f 72 6b 2e 63 6f 6f 6b 69 65 2e 63 6f 6f | ..preference="network.cookie.coo |
14e9e0 | 6b 69 65 42 65 68 61 76 69 6f 72 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | kieBehavior".................... |
14ea00 | 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 61 63 63 65 70 74 54 68 69 72 64 50 61 72 74 | .....accesskey="&acceptThirdPart |
14ea20 | 79 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | y.accesskey;"................... |
14ea40 | 20 20 20 20 20 20 6f 6e 73 79 6e 63 66 72 6f 6d 70 72 65 66 65 72 65 6e 63 65 3d 22 72 65 74 75 | ......onsyncfrompreference="retu |
14ea60 | 72 6e 20 67 50 72 69 76 61 63 79 50 61 6e 65 2e 72 65 61 64 41 63 63 65 70 74 54 68 69 72 64 50 | rn.gPrivacyPane.readAcceptThirdP |
14ea80 | 61 72 74 79 43 6f 6f 6b 69 65 73 28 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | artyCookies();"................. |
14eaa0 | 20 20 20 20 20 20 20 20 6f 6e 73 79 6e 63 74 6f 70 72 65 66 65 72 65 6e 63 65 3d 22 72 65 74 75 | ........onsynctopreference="retu |
14eac0 | 72 6e 20 67 50 72 69 76 61 63 79 50 61 6e 65 2e 77 72 69 74 65 41 63 63 65 70 74 54 68 69 72 64 | rn.gPrivacyPane.writeAcceptThird |
14eae0 | 50 61 72 74 79 43 6f 6f 6b 69 65 73 28 29 3b 22 2f 3e 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 | PartyCookies();"/>.............. |
14eb00 | 20 20 3c 68 62 6f 78 20 69 64 3d 22 6b 65 65 70 52 6f 77 22 20 63 6c 61 73 73 3d 22 69 6e 64 65 | ..<hbox.id="keepRow".class="inde |
14eb20 | 6e 74 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 68 62 6f 78 20 69 64 3d 22 6b | nt">.................<hbox.id="k |
14eb40 | 65 65 70 42 6f 78 22 20 61 6c 69 67 6e 3d 22 63 65 6e 74 65 72 22 3e 0a 20 20 20 20 20 20 20 20 | eepBox".align="center">......... |
14eb60 | 20 20 20 20 20 20 20 20 20 20 3c 6c 61 62 65 6c 20 69 64 3d 22 6b 65 65 70 55 6e 74 69 6c 22 0a | ..........<label.id="keepUntil". |
14eb80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6e 74 72 6f 6c | .........................control |
14eba0 | 3d 22 6b 65 65 70 43 6f 6f 6b 69 65 73 55 6e 74 69 6c 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ="keepCookiesUntil"............. |
14ebc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 6b 65 65 70 55 6e 74 | .............accesskey="&keepUnt |
14ebe0 | 69 6c 2e 61 63 63 65 73 73 6b 65 79 3b 22 3e 26 6b 65 65 70 55 6e 74 69 6c 2e 6c 61 62 65 6c 3b | il.accesskey;">&keepUntil.label; |
14ec00 | 3c 2f 6c 61 62 65 6c 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 | </label>...................<menu |
14ec20 | 6c 69 73 74 20 69 64 3d 22 6b 65 65 70 43 6f 6f 6b 69 65 73 55 6e 74 69 6c 22 0a 20 20 20 20 20 | list.id="keepCookiesUntil"...... |
14ec40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 65 66 65 72 65 6e 63 | .......................preferenc |
14ec60 | 65 3d 22 6e 65 74 77 6f 72 6b 2e 63 6f 6f 6b 69 65 2e 6c 69 66 65 74 69 6d 65 50 6f 6c 69 63 79 | e="network.cookie.lifetimePolicy |
14ec80 | 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 70 6f 70 75 | ">.....................<menupopu |
14eca0 | 70 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 | p>.......................<menuit |
14ecc0 | 65 6d 20 6c 61 62 65 6c 3d 22 26 65 78 70 69 72 65 2e 6c 61 62 65 6c 3b 22 20 76 61 6c 75 65 3d | em.label="&expire.label;".value= |
14ece0 | 22 30 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e | "0"/>.......................<men |
14ed00 | 75 69 74 65 6d 20 6c 61 62 65 6c 3d 22 26 63 6c 6f 73 65 2e 6c 61 62 65 6c 3b 22 20 76 61 6c 75 | uitem.label="&close.label;".valu |
14ed20 | 65 3d 22 32 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d | e="2"/>.......................<m |
14ed40 | 65 6e 75 69 74 65 6d 20 6c 61 62 65 6c 3d 22 26 61 73 6b 45 61 63 68 54 69 6d 65 2e 6c 61 62 65 | enuitem.label="&askEachTime.labe |
14ed60 | 6c 3b 22 20 76 61 6c 75 65 3d 22 31 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | l;".value="1"/>................. |
14ed80 | 20 20 20 20 3c 2f 6d 65 6e 75 70 6f 70 75 70 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ....</menupopup>................ |
14eda0 | 20 20 20 3c 2f 6d 65 6e 75 6c 69 73 74 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c | ...</menulist>.................< |
14edc0 | 2f 68 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 68 62 6f 78 20 66 6c 65 | /hbox>.................<hbox.fle |
14ede0 | 78 3d 22 31 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 62 75 74 74 6f 6e 20 | x="1"/>.................<button. |
14ee00 | 69 64 3d 22 73 68 6f 77 43 6f 6f 6b 69 65 73 42 75 74 74 6f 6e 22 0a 20 20 20 20 20 20 20 20 20 | id="showCookiesButton".......... |
14ee20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 73 68 6f 77 43 6f 6f 6b 69 | ...............label="&showCooki |
14ee40 | 65 73 2e 6c 61 62 65 6c 3b 22 20 61 63 63 65 73 73 6b 65 79 3d 22 26 73 68 6f 77 43 6f 6f 6b 69 | es.label;".accesskey="&showCooki |
14ee60 | 65 73 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | es.accesskey;".................. |
14ee80 | 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 50 72 69 76 61 63 79 50 61 6e 65 2e 73 | .......oncommand="gPrivacyPane.s |
14eea0 | 68 6f 77 43 6f 6f 6b 69 65 73 28 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | howCookies();".................. |
14eec0 | 20 20 20 20 20 20 20 70 72 65 66 65 72 65 6e 63 65 3d 22 70 72 65 66 2e 70 72 69 76 61 63 79 2e | .......preference="pref.privacy. |
14eee0 | 64 69 73 61 62 6c 65 5f 62 75 74 74 6f 6e 2e 76 69 65 77 5f 63 6f 6f 6b 69 65 73 22 2f 3e 0a 20 | disable_button.view_cookies"/>.. |
14ef00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 68 62 6f 78 3e 0a 0a 20 20 20 20 20 20 20 20 20 20 | .............</hbox>............ |
14ef20 | 20 20 20 20 3c 68 62 6f 78 20 69 64 3d 22 63 6c 65 61 72 44 61 74 61 42 6f 78 22 20 61 6c 69 67 | ....<hbox.id="clearDataBox".alig |
14ef40 | 6e 3d 22 63 65 6e 74 65 72 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 63 68 65 | n="center">.................<che |
14ef60 | 63 6b 62 6f 78 20 69 64 3d 22 61 6c 77 61 79 73 43 6c 65 61 72 22 20 66 6c 65 78 3d 22 31 22 0a | ckbox.id="alwaysClear".flex="1". |
14ef80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 65 66 65 72 | ..........................prefer |
14efa0 | 65 6e 63 65 3d 22 70 72 69 76 61 63 79 2e 73 61 6e 69 74 69 7a 65 2e 73 61 6e 69 74 69 7a 65 4f | ence="privacy.sanitize.sanitizeO |
14efc0 | 6e 53 68 75 74 64 6f 77 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | nShutdown"...................... |
14efe0 | 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 63 6c 65 61 72 4f 6e 43 6c 6f 73 65 2e 6c 61 62 65 6c 3b | .....label="&clearOnClose.label; |
14f000 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 | "...........................acce |
14f020 | 73 73 6b 65 79 3d 22 26 63 6c 65 61 72 4f 6e 43 6c 6f 73 65 2e 61 63 63 65 73 73 6b 65 79 3b 22 | sskey="&clearOnClose.accesskey;" |
14f040 | 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 62 75 74 74 6f 6e 20 69 64 3d 22 63 | />.................<button.id="c |
14f060 | 6c 65 61 72 44 61 74 61 53 65 74 74 69 6e 67 73 22 20 6c 61 62 65 6c 3d 22 26 63 6c 65 61 72 4f | learDataSettings".label="&clearO |
14f080 | 6e 43 6c 6f 73 65 53 65 74 74 69 6e 67 73 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 | nCloseSettings.label;".......... |
14f0a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 63 6c 65 61 72 | ...............accesskey="&clear |
14f0c0 | 4f 6e 43 6c 6f 73 65 53 65 74 74 69 6e 67 73 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 | OnCloseSettings.accesskey;"..... |
14f0e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 | ....................oncommand="g |
14f100 | 50 72 69 76 61 63 79 50 61 6e 65 2e 73 68 6f 77 43 6c 65 61 72 50 72 69 76 61 74 65 44 61 74 61 | PrivacyPane.showClearPrivateData |
14f120 | 53 65 74 74 69 6e 67 73 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 68 | Settings();"/>...............</h |
14f140 | 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 76 62 6f 78 3e 0a 20 20 20 20 20 20 20 | box>.............</vbox>........ |
14f160 | 20 20 20 3c 2f 76 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 3c 2f 76 62 6f 78 3e 0a 20 20 20 20 20 | ...</vbox>.........</vbox>...... |
14f180 | 20 3c 2f 64 65 63 6b 3e 0a 0a 20 20 20 20 3c 2f 67 72 6f 75 70 62 6f 78 3e 0a 0a 20 20 20 20 3c | .</deck>......</groupbox>......< |
14f1a0 | 21 2d 2d 20 4c 6f 63 61 74 69 6f 6e 20 42 61 72 20 2d 2d 3e 0a 20 20 20 20 3c 67 72 6f 75 70 62 | !--.Location.Bar.-->.....<groupb |
14f1c0 | 6f 78 20 69 64 3d 22 6c 6f 63 61 74 69 6f 6e 42 61 72 47 72 6f 75 70 22 3e 0a 20 20 20 20 20 20 | ox.id="locationBarGroup">....... |
14f1e0 | 3c 63 61 70 74 69 6f 6e 20 6c 61 62 65 6c 3d 22 26 6c 6f 63 61 74 69 6f 6e 42 61 72 2e 6c 61 62 | <caption.label="&locationBar.lab |
14f200 | 65 6c 3b 22 2f 3e 0a 0a 20 20 20 20 20 20 3c 68 62 6f 78 20 61 6c 69 67 6e 3d 22 63 65 6e 74 65 | el;"/>........<hbox.align="cente |
14f220 | 72 22 3e 0a 20 20 20 20 20 20 20 20 3c 6c 61 62 65 6c 20 69 64 3d 22 6c 6f 63 61 74 69 6f 6e 42 | r">.........<label.id="locationB |
14f240 | 61 72 53 75 67 67 65 73 74 69 6f 6e 4c 61 62 65 6c 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | arSuggestionLabel".............. |
14f260 | 20 20 63 6f 6e 74 72 6f 6c 3d 22 6c 6f 63 61 74 69 6f 6e 42 61 72 53 75 67 67 65 73 74 69 6f 6e | ..control="locationBarSuggestion |
14f280 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 6c 6f 63 | "................accesskey="&loc |
14f2a0 | 62 61 72 2e 70 72 65 2e 61 63 63 65 73 73 4b 65 79 3b 22 3e 26 6c 6f 63 62 61 72 2e 70 72 65 2e | bar.pre.accessKey;">&locbar.pre. |
14f2c0 | 6c 61 62 65 6c 3b 3c 2f 6c 61 62 65 6c 3e 0a 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 6c 69 73 74 | label;</label>.........<menulist |
14f2e0 | 20 69 64 3d 22 6c 6f 63 61 74 69 6f 6e 42 61 72 53 75 67 67 65 73 74 69 6f 6e 22 0a 20 20 20 20 | .id="locationBarSuggestion"..... |
14f300 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 65 66 65 72 65 6e 63 65 3d 22 62 72 6f 77 73 65 | ..............preference="browse |
14f320 | 72 2e 75 72 6c 62 61 72 2e 61 75 74 6f 63 6f 6d 70 6c 65 74 65 2e 65 6e 61 62 6c 65 64 22 0a 20 | r.urlbar.autocomplete.enabled".. |
14f340 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 73 79 6e 63 66 72 6f 6d 70 72 65 66 65 | .................onsyncfromprefe |
14f360 | 72 65 6e 63 65 3d 22 72 65 74 75 72 6e 20 67 50 72 69 76 61 63 79 50 61 6e 65 2e 72 65 61 64 53 | rence="return.gPrivacyPane.readS |
14f380 | 75 67 67 65 73 74 69 6f 6e 50 72 65 66 28 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | uggestionPref();"............... |
14f3a0 | 20 20 20 20 6f 6e 73 79 6e 63 74 6f 70 72 65 66 65 72 65 6e 63 65 3d 22 72 65 74 75 72 6e 20 67 | ....onsynctopreference="return.g |
14f3c0 | 50 72 69 76 61 63 79 50 61 6e 65 2e 77 72 69 74 65 53 75 67 67 65 73 74 69 6f 6e 50 72 65 66 28 | PrivacyPane.writeSuggestionPref( |
14f3e0 | 29 3b 22 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 70 6f 70 75 70 3e 0a 20 20 20 20 20 | );">...........<menupopup>...... |
14f400 | 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 6c 61 62 65 6c 3d 22 26 6c 6f 63 62 61 72 2e | .......<menuitem.label="&locbar. |
14f420 | 62 6f 74 68 2e 6c 61 62 65 6c 3b 22 20 76 61 6c 75 65 3d 22 30 22 2f 3e 0a 20 20 20 20 20 20 20 | both.label;".value="0"/>........ |
14f440 | 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 6c 61 62 65 6c 3d 22 26 6c 6f 63 62 61 72 2e 68 69 | .....<menuitem.label="&locbar.hi |
14f460 | 73 74 6f 72 79 2e 6c 61 62 65 6c 3b 22 20 76 61 6c 75 65 3d 22 31 22 2f 3e 0a 20 20 20 20 20 20 | story.label;".value="1"/>....... |
14f480 | 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 6c 61 62 65 6c 3d 22 26 6c 6f 63 62 61 72 2e 62 | ......<menuitem.label="&locbar.b |
14f4a0 | 6f 6f 6b 6d 61 72 6b 73 2e 6c 61 62 65 6c 3b 22 20 76 61 6c 75 65 3d 22 32 22 2f 3e 0a 20 20 20 | ookmarks.label;".value="2"/>.... |
14f4c0 | 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 6c 61 62 65 6c 3d 22 26 6c 6f 63 62 61 | .........<menuitem.label="&locba |
14f4e0 | 72 2e 6e 6f 74 68 69 6e 67 2e 6c 61 62 65 6c 3b 22 20 76 61 6c 75 65 3d 22 2d 31 22 2f 3e 0a 20 | r.nothing.label;".value="-1"/>.. |
14f500 | 20 20 20 20 20 20 20 20 20 3c 2f 6d 65 6e 75 70 6f 70 75 70 3e 0a 20 20 20 20 20 20 20 20 3c 2f | .........</menupopup>.........</ |
14f520 | 6d 65 6e 75 6c 69 73 74 3e 0a 20 20 20 20 20 20 20 20 3c 6c 61 62 65 6c 3e 26 6c 6f 63 62 61 72 | menulist>.........<label>&locbar |
14f540 | 2e 70 6f 73 74 2e 6c 61 62 65 6c 3b 3c 2f 6c 61 62 65 6c 3e 0a 20 20 20 20 20 20 3c 2f 68 62 6f | .post.label;</label>.......</hbo |
14f560 | 78 3e 0a 20 20 20 20 3c 2f 67 72 6f 75 70 62 6f 78 3e 0a 0a 20 20 3c 2f 70 72 65 66 70 61 6e 65 | x>.....</groupbox>....</prefpane |
14f580 | 3e 0a 0a 3c 2f 6f 76 65 72 6c 61 79 3e 0a 50 4b 03 04 14 00 00 00 00 00 f3 4b 18 3b 8f 15 22 d4 | >..</overlay>.PK.........K.;..". |
14f5a0 | 01 48 00 00 01 48 00 00 26 00 00 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 72 65 66 | .H...H..&...content/browser/pref |
14f5c0 | 65 72 65 6e 63 65 73 2f 70 72 69 76 61 63 79 2e 6a 73 2f 2a 0a 2f 2f 40 6c 69 6e 65 20 34 32 20 | erences/privacy.js/*.//@line.42. |
14f5e0 | 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f | "/builds/moz2_slave/linux_build/ |
14f600 | 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 63 6f 6d 70 6f 6e 65 6e 74 73 2f 70 72 65 66 65 72 65 | build/browser/components/prefere |
14f620 | 6e 63 65 73 2f 70 72 69 76 61 63 79 2e 6a 73 22 0a 2a 2f 0a 0a 43 6f 6d 70 6f 6e 65 6e 74 73 2e | nces/privacy.js".*/..Components. |
14f640 | 75 74 69 6c 73 2e 69 6d 70 6f 72 74 28 22 72 65 73 6f 75 72 63 65 3a 2f 2f 67 72 65 2f 6d 6f 64 | utils.import("resource://gre/mod |
14f660 | 75 6c 65 73 2f 58 50 43 4f 4d 55 74 69 6c 73 2e 6a 73 6d 22 29 3b 0a 0a 76 61 72 20 67 50 72 69 | ules/XPCOMUtils.jsm");..var.gPri |
14f680 | 76 61 63 79 50 61 6e 65 20 3d 20 7b 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 57 68 65 74 68 65 72 | vacyPane.=.{..../**....*.Whether |
14f6a0 | 20 74 68 65 20 75 73 65 20 68 61 73 20 73 65 6c 65 63 74 65 64 20 74 68 65 20 61 75 74 6f 2d 73 | .the.use.has.selected.the.auto-s |
14f6c0 | 74 61 72 74 20 70 72 69 76 61 74 65 20 62 72 6f 77 73 69 6e 67 20 6d 6f 64 65 20 69 6e 20 74 68 | tart.private.browsing.mode.in.th |
14f6e0 | 65 20 55 49 2e 0a 20 20 20 2a 2f 0a 20 20 5f 61 75 74 6f 53 74 61 72 74 50 72 69 76 61 74 65 42 | e.UI.....*/..._autoStartPrivateB |
14f700 | 72 6f 77 73 69 6e 67 3a 20 66 61 6c 73 65 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 53 65 74 73 | rowsing:.false,..../**....*.Sets |
14f720 | 20 75 70 20 74 68 65 20 55 49 20 66 6f 72 20 74 68 65 20 6e 75 6d 62 65 72 20 6f 66 20 64 61 79 | .up.the.UI.for.the.number.of.day |
14f740 | 73 20 6f 66 20 68 69 73 74 6f 72 79 20 74 6f 20 6b 65 65 70 2c 20 61 6e 64 20 75 70 64 61 74 65 | s.of.history.to.keep,.and.update |
14f760 | 73 20 74 68 65 0a 20 20 20 2a 20 6c 61 62 65 6c 20 6f 66 20 74 68 65 20 22 43 6c 65 61 72 20 4e | s.the....*.label.of.the."Clear.N |
14f780 | 6f 77 2e 2e 2e 22 20 62 75 74 74 6f 6e 2e 0a 20 20 20 2a 2f 0a 20 20 69 6e 69 74 3a 20 66 75 6e | ow...".button.....*/...init:.fun |
14f7a0 | 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 74 68 69 73 2e 5f 75 70 64 61 74 65 48 69 73 | ction.()...{.....this._updateHis |
14f7c0 | 74 6f 72 79 44 61 79 73 55 49 28 29 3b 0a 20 20 20 20 74 68 69 73 2e 5f 75 70 64 61 74 65 53 61 | toryDaysUI();.....this._updateSa |
14f7e0 | 6e 69 74 69 7a 65 53 65 74 74 69 6e 67 73 42 75 74 74 6f 6e 28 29 3b 0a 20 20 20 20 74 68 69 73 | nitizeSettingsButton();.....this |
14f800 | 2e 69 6e 69 74 69 61 6c 69 7a 65 48 69 73 74 6f 72 79 4d 6f 64 65 28 29 3b 0a 20 20 20 20 74 68 | .initializeHistoryMode();.....th |
14f820 | 69 73 2e 75 70 64 61 74 65 48 69 73 74 6f 72 79 4d 6f 64 65 50 61 6e 65 28 29 3b 0a 20 20 20 20 | is.updateHistoryModePane();..... |
14f840 | 74 68 69 73 2e 75 70 64 61 74 65 50 72 69 76 61 63 79 4d 69 63 72 6f 43 6f 6e 74 72 6f 6c 73 28 | this.updatePrivacyMicroControls( |
14f860 | 29 3b 0a 20 20 20 20 74 68 69 73 2e 69 6e 69 74 41 75 74 6f 53 74 61 72 74 50 72 69 76 61 74 65 | );.....this.initAutoStartPrivate |
14f880 | 42 72 6f 77 73 69 6e 67 4f 62 73 65 72 76 65 72 28 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2f 20 48 | BrowsingObserver();...},....//.H |
14f8a0 | 49 53 54 4f 52 59 20 4d 4f 44 45 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 54 68 65 20 6c 69 73 74 | ISTORY.MODE..../**....*.The.list |
14f8c0 | 20 6f 66 20 70 72 65 66 65 72 65 6e 63 65 73 20 77 68 69 63 68 20 61 66 66 65 63 74 20 74 68 65 | .of.preferences.which.affect.the |
14f8e0 | 20 69 6e 69 74 69 61 6c 20 68 69 73 74 6f 72 79 20 6d 6f 64 65 20 73 65 74 74 69 6e 67 73 2e 0a | .initial.history.mode.settings.. |
14f900 | 20 20 20 2a 20 49 66 20 74 68 65 20 61 75 74 6f 20 73 74 61 72 74 20 70 72 69 76 61 74 65 20 62 | ...*.If.the.auto.start.private.b |
14f920 | 72 6f 77 73 69 6e 67 20 6d 6f 64 65 20 70 72 65 66 20 69 73 20 61 63 74 69 76 65 2c 20 74 68 65 | rowsing.mode.pref.is.active,.the |
14f940 | 20 69 6e 69 74 69 61 6c 0a 20 20 20 2a 20 68 69 73 74 6f 72 79 20 6d 6f 64 65 20 77 6f 75 6c 64 | .initial....*.history.mode.would |
14f960 | 20 62 65 20 73 65 74 20 74 6f 20 22 44 6f 6e 27 74 20 72 65 6d 65 6d 62 65 72 20 61 6e 79 74 68 | .be.set.to."Don't.remember.anyth |
14f980 | 69 6e 67 22 2e 0a 20 20 20 2a 20 49 66 20 61 6c 6c 20 6f 66 20 74 68 65 73 65 20 70 72 65 66 65 | ing".....*.If.all.of.these.prefe |
14f9a0 | 72 65 6e 63 65 73 20 68 61 76 65 20 74 68 65 69 72 20 64 65 66 61 75 6c 74 20 76 61 6c 75 65 73 | rences.have.their.default.values |
14f9c0 | 2c 20 61 6e 64 20 74 68 65 20 61 75 74 6f 2d 73 74 61 72 74 0a 20 20 20 2a 20 70 72 69 76 61 74 | ,.and.the.auto-start....*.privat |
14f9e0 | 65 20 62 72 6f 77 73 69 6e 67 20 6d 6f 64 65 20 69 73 20 6e 6f 74 20 61 63 74 69 76 65 2c 20 74 | e.browsing.mode.is.not.active,.t |
14fa00 | 68 65 20 69 6e 69 74 69 61 6c 20 68 69 73 74 6f 72 79 20 6d 6f 64 65 20 77 6f 75 6c 64 20 62 65 | he.initial.history.mode.would.be |
14fa20 | 0a 20 20 20 2a 20 73 65 74 20 74 6f 20 22 52 65 6d 65 6d 62 65 72 20 65 76 65 72 79 74 68 69 6e | ....*.set.to."Remember.everythin |
14fa40 | 67 22 2e 0a 20 20 20 2a 20 4f 74 68 65 72 77 69 73 65 2c 20 74 68 65 20 69 6e 69 74 69 61 6c 20 | g".....*.Otherwise,.the.initial. |
14fa60 | 68 69 73 74 6f 72 79 20 6d 6f 64 65 20 77 6f 75 6c 64 20 62 65 20 73 65 74 20 74 6f 20 22 43 75 | history.mode.would.be.set.to."Cu |
14fa80 | 73 74 6f 6d 22 2e 0a 20 20 20 2a 0a 20 20 20 2a 20 45 78 74 65 6e 73 69 6f 6e 73 20 61 64 64 69 | stom".....*....*.Extensions.addi |
14faa0 | 6e 67 20 74 68 65 69 72 20 6f 77 6e 20 70 72 65 66 65 72 65 6e 63 65 73 20 63 61 6e 20 61 70 70 | ng.their.own.preferences.can.app |
14fac0 | 65 6e 64 20 74 68 65 69 72 20 49 44 73 20 74 6f 20 74 68 69 73 20 61 72 72 61 79 20 69 66 20 6e | end.their.IDs.to.this.array.if.n |
14fae0 | 65 65 64 65 64 2e 0a 20 20 20 2a 2f 0a 20 20 70 72 65 66 73 46 6f 72 44 65 66 61 75 6c 74 3a 20 | eeded.....*/...prefsForDefault:. |
14fb00 | 5b 0a 20 20 20 20 22 62 72 6f 77 73 65 72 2e 68 69 73 74 6f 72 79 5f 65 78 70 69 72 65 5f 64 61 | [....."browser.history_expire_da |
14fb20 | 79 73 22 2c 0a 20 20 20 20 22 62 72 6f 77 73 65 72 2e 68 69 73 74 6f 72 79 5f 65 78 70 69 72 65 | ys",....."browser.history_expire |
14fb40 | 5f 64 61 79 73 5f 6d 69 6e 22 2c 0a 20 20 20 20 22 62 72 6f 77 73 65 72 2e 64 6f 77 6e 6c 6f 61 | _days_min",....."browser.downloa |
14fb60 | 64 2e 6d 61 6e 61 67 65 72 2e 72 65 74 65 6e 74 69 6f 6e 22 2c 0a 20 20 20 20 22 62 72 6f 77 73 | d.manager.retention",....."brows |
14fb80 | 65 72 2e 66 6f 72 6d 66 69 6c 6c 2e 65 6e 61 62 6c 65 22 2c 0a 20 20 20 20 22 6e 65 74 77 6f 72 | er.formfill.enable",....."networ |
14fba0 | 6b 2e 63 6f 6f 6b 69 65 2e 63 6f 6f 6b 69 65 42 65 68 61 76 69 6f 72 22 2c 0a 20 20 20 20 22 6e | k.cookie.cookieBehavior",....."n |
14fbc0 | 65 74 77 6f 72 6b 2e 63 6f 6f 6b 69 65 2e 6c 69 66 65 74 69 6d 65 50 6f 6c 69 63 79 22 2c 0a 20 | etwork.cookie.lifetimePolicy",.. |
14fbe0 | 20 20 20 22 70 72 69 76 61 63 79 2e 73 61 6e 69 74 69 7a 65 2e 73 61 6e 69 74 69 7a 65 4f 6e 53 | ..."privacy.sanitize.sanitizeOnS |
14fc00 | 68 75 74 64 6f 77 6e 22 0a 20 20 5d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 54 68 65 20 6c 69 | hutdown"...],..../**....*.The.li |
14fc20 | 73 74 20 6f 66 20 63 6f 6e 74 72 6f 6c 20 49 44 73 20 77 68 69 63 68 20 61 72 65 20 64 65 70 65 | st.of.control.IDs.which.are.depe |
14fc40 | 6e 64 65 6e 74 20 6f 6e 20 74 68 65 20 61 75 74 6f 2d 73 74 61 72 74 20 70 72 69 76 61 74 65 0a | ndent.on.the.auto-start.private. |
14fc60 | 20 20 20 2a 20 62 72 6f 77 73 69 6e 67 20 73 65 74 74 69 6e 67 2c 20 73 75 63 68 20 74 68 61 74 | ...*.browsing.setting,.such.that |
14fc80 | 20 69 6e 20 22 43 75 73 74 6f 6d 22 20 6d 6f 64 65 20 74 68 65 79 20 77 6f 75 6c 64 20 62 65 20 | .in."Custom".mode.they.would.be. |
14fca0 | 64 69 73 61 62 6c 65 64 20 69 66 0a 20 20 20 2a 20 74 68 65 20 61 75 74 6f 2d 73 74 61 72 74 20 | disabled.if....*.the.auto-start. |
14fcc0 | 70 72 69 76 61 74 65 20 62 72 6f 77 73 69 6e 67 20 63 68 65 63 6b 62 6f 78 20 69 73 20 63 68 65 | private.browsing.checkbox.is.che |
14fce0 | 63 6b 65 64 2c 20 61 6e 64 20 65 6e 61 62 6c 65 64 20 6f 74 68 65 72 77 69 73 65 2e 0a 20 20 20 | cked,.and.enabled.otherwise..... |
14fd00 | 2a 0a 20 20 20 2a 20 45 78 74 65 6e 73 69 6f 6e 73 20 61 64 64 69 6e 67 20 74 68 65 69 72 20 6f | *....*.Extensions.adding.their.o |
14fd20 | 77 6e 20 63 6f 6e 74 72 6f 6c 73 20 63 61 6e 20 61 70 70 65 6e 64 20 74 68 65 69 72 20 49 44 73 | wn.controls.can.append.their.IDs |
14fd40 | 20 74 6f 20 74 68 69 73 20 61 72 72 61 79 20 69 66 20 6e 65 65 64 65 64 2e 0a 20 20 20 2a 2f 0a | .to.this.array.if.needed.....*/. |
14fd60 | 20 20 64 65 70 65 6e 64 65 6e 74 43 6f 6e 74 72 6f 6c 73 3a 20 5b 0a 20 20 20 20 22 72 65 6d 65 | ..dependentControls:.[....."reme |
14fd80 | 6d 62 65 72 48 69 73 74 6f 72 79 44 61 79 73 22 2c 0a 20 20 20 20 22 72 65 6d 65 6d 62 65 72 41 | mberHistoryDays",....."rememberA |
14fda0 | 66 74 65 72 22 2c 0a 20 20 20 20 22 72 65 6d 65 6d 62 65 72 44 6f 77 6e 6c 6f 61 64 73 22 2c 0a | fter",....."rememberDownloads",. |
14fdc0 | 20 20 20 20 22 72 65 6d 65 6d 62 65 72 46 6f 72 6d 73 22 2c 0a 20 20 20 20 22 6b 65 65 70 55 6e | ...."rememberForms",....."keepUn |
14fde0 | 74 69 6c 22 2c 0a 20 20 20 20 22 6b 65 65 70 43 6f 6f 6b 69 65 73 55 6e 74 69 6c 22 2c 0a 20 20 | til",....."keepCookiesUntil",... |
14fe00 | 20 20 22 61 6c 77 61 79 73 43 6c 65 61 72 22 2c 0a 20 20 20 20 22 63 6c 65 61 72 44 61 74 61 53 | .."alwaysClear",....."clearDataS |
14fe20 | 65 74 74 69 6e 67 73 22 0a 20 20 5d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 43 68 65 63 6b 20 | ettings"...],..../**....*.Check. |
14fe40 | 77 68 65 74 68 65 72 20 61 6c 6c 20 74 68 65 20 70 72 65 66 65 72 65 6e 63 65 73 20 76 61 6c 75 | whether.all.the.preferences.valu |
14fe60 | 65 73 20 61 72 65 20 73 65 74 20 74 6f 20 74 68 65 69 72 20 64 65 66 61 75 6c 74 20 76 61 6c 75 | es.are.set.to.their.default.valu |
14fe80 | 65 73 0a 20 20 20 2a 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 61 50 72 65 66 73 20 61 6e 20 61 72 | es....*....*.@param.aPrefs.an.ar |
14fea0 | 72 61 79 20 6f 66 20 70 72 65 66 20 6e 61 6d 65 73 20 74 6f 20 63 68 65 63 6b 20 66 6f 72 0a 20 | ray.of.pref.names.to.check.for.. |
14fec0 | 20 20 2a 20 40 72 65 74 75 72 6e 73 20 62 6f 6f 6c 65 61 6e 20 74 72 75 65 20 69 66 20 61 6c 6c | ..*.@returns.boolean.true.if.all |
14fee0 | 20 6f 66 20 74 68 65 20 70 72 65 66 73 20 61 72 65 20 73 65 74 20 74 6f 20 74 68 65 69 72 20 64 | .of.the.prefs.are.set.to.their.d |
14ff00 | 65 66 61 75 6c 74 20 76 61 6c 75 65 73 2c 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 20 20 20 | efault.values,....*............. |
14ff20 | 20 20 20 20 20 66 61 6c 73 65 20 6f 74 68 65 72 77 69 73 65 0a 20 20 20 2a 2f 0a 20 20 5f 63 68 | .....false.otherwise....*/..._ch |
14ff40 | 65 63 6b 44 65 66 61 75 6c 74 56 61 6c 75 65 73 3a 20 66 75 6e 63 74 69 6f 6e 28 61 50 72 65 66 | eckDefaultValues:.function(aPref |
14ff60 | 73 29 20 7b 0a 20 20 20 20 66 6f 72 20 28 6c 65 74 20 69 20 3d 20 30 3b 20 69 20 3c 20 61 50 72 | s).{.....for.(let.i.=.0;.i.<.aPr |
14ff80 | 65 66 73 2e 6c 65 6e 67 74 68 3b 20 2b 2b 69 29 20 7b 0a 20 20 20 20 20 20 6c 65 74 20 70 72 65 | efs.length;.++i).{.......let.pre |
14ffa0 | 66 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 61 50 72 65 | f.=.document.getElementById(aPre |
14ffc0 | 66 73 5b 69 5d 29 3b 0a 20 20 20 20 20 20 69 66 20 28 70 72 65 66 2e 76 61 6c 75 65 20 21 3d 20 | fs[i]);.......if.(pref.value.!=. |
14ffe0 | 70 72 65 66 2e 64 65 66 61 75 6c 74 56 61 6c 75 65 29 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 | pref.defaultValue).........retur |
150000 | 6e 20 66 61 6c 73 65 3b 0a 20 20 20 20 7d 0a 20 20 20 20 72 65 74 75 72 6e 20 74 72 75 65 3b 0a | n.false;.....}.....return.true;. |
150020 | 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 49 6e 69 74 69 61 6c 69 7a 65 20 74 68 65 20 | ..},..../**....*.Initialize.the. |
150040 | 68 69 73 74 6f 72 79 20 6d 6f 64 65 20 6d 65 6e 75 6c 69 73 74 20 62 61 73 65 64 20 6f 6e 20 74 | history.mode.menulist.based.on.t |
150060 | 68 65 20 70 72 69 76 61 63 79 20 70 72 65 66 65 72 65 6e 63 65 73 0a 20 20 20 2a 2f 0a 20 20 69 | he.privacy.preferences....*/...i |
150080 | 6e 69 74 69 61 6c 69 7a 65 48 69 73 74 6f 72 79 4d 6f 64 65 3a 20 66 75 6e 63 74 69 6f 6e 20 50 | nitializeHistoryMode:.function.P |
1500a0 | 50 50 5f 69 6e 69 74 69 61 6c 69 7a 65 48 69 73 74 6f 72 79 4d 6f 64 65 28 29 0a 20 20 7b 0a 20 | PP_initializeHistoryMode()...{.. |
1500c0 | 20 20 20 6c 65 74 20 6d 6f 64 65 3b 0a 20 20 20 20 6c 65 74 20 67 65 74 56 61 6c 20 3d 20 66 75 | ...let.mode;.....let.getVal.=.fu |
1500e0 | 6e 63 74 69 6f 6e 20 28 61 50 72 65 66 29 0a 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 | nction.(aPref).......document.ge |
150100 | 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 61 50 72 65 66 29 2e 76 61 6c 75 65 3b 0a 0a 20 20 20 20 | tElementById(aPref).value;...... |
150120 | 69 66 20 28 74 68 69 73 2e 5f 63 68 65 63 6b 44 65 66 61 75 6c 74 56 61 6c 75 65 73 28 74 68 69 | if.(this._checkDefaultValues(thi |
150140 | 73 2e 70 72 65 66 73 46 6f 72 44 65 66 61 75 6c 74 29 29 20 7b 0a 20 20 20 20 20 20 69 66 20 28 | s.prefsForDefault)).{.......if.( |
150160 | 67 65 74 56 61 6c 28 22 62 72 6f 77 73 65 72 2e 70 72 69 76 61 74 65 62 72 6f 77 73 69 6e 67 2e | getVal("browser.privatebrowsing. |
150180 | 61 75 74 6f 73 74 61 72 74 22 29 29 0a 20 20 20 20 20 20 20 20 6d 6f 64 65 20 3d 20 22 64 6f 6e | autostart")).........mode.=."don |
1501a0 | 74 72 65 6d 65 6d 62 65 72 22 3b 0a 20 20 20 20 20 20 65 6c 73 65 20 0a 20 20 20 20 20 20 20 20 | tremember";.......else.......... |
1501c0 | 6d 6f 64 65 20 3d 20 22 72 65 6d 65 6d 62 65 72 22 3b 0a 20 20 20 20 7d 0a 20 20 20 20 65 6c 73 | mode.=."remember";.....}.....els |
1501e0 | 65 0a 20 20 20 20 20 20 6d 6f 64 65 20 3d 20 22 63 75 73 74 6f 6d 22 3b 0a 0a 20 20 20 20 64 6f | e.......mode.=."custom";......do |
150200 | 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 68 69 73 74 6f 72 79 4d 6f | cument.getElementById("historyMo |
150220 | 64 65 22 29 2e 76 61 6c 75 65 20 3d 20 6d 6f 64 65 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 | de").value.=.mode;...},..../**.. |
150240 | 20 20 2a 20 55 70 64 61 74 65 20 74 68 65 20 73 65 6c 65 63 74 65 64 20 70 61 6e 65 20 62 61 73 | ..*.Update.the.selected.pane.bas |
150260 | 65 64 20 6f 6e 20 74 68 65 20 68 69 73 74 6f 72 79 20 6d 6f 64 65 20 6d 65 6e 75 6c 69 73 74 0a | ed.on.the.history.mode.menulist. |
150280 | 20 20 20 2a 2f 0a 20 20 75 70 64 61 74 65 48 69 73 74 6f 72 79 4d 6f 64 65 50 61 6e 65 3a 20 66 | ...*/...updateHistoryModePane:.f |
1502a0 | 75 6e 63 74 69 6f 6e 20 50 50 50 5f 75 70 64 61 74 65 48 69 73 74 6f 72 79 4d 6f 64 65 50 61 6e | unction.PPP_updateHistoryModePan |
1502c0 | 65 28 29 0a 20 20 7b 0a 20 20 20 20 6c 65 74 20 73 65 6c 65 63 74 65 64 49 6e 64 65 78 20 3d 20 | e()...{.....let.selectedIndex.=. |
1502e0 | 2d 31 3b 0a 20 20 20 20 73 77 69 74 63 68 20 28 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d | -1;.....switch.(document.getElem |
150300 | 65 6e 74 42 79 49 64 28 22 68 69 73 74 6f 72 79 4d 6f 64 65 22 29 2e 76 61 6c 75 65 29 20 7b 0a | entById("historyMode").value).{. |
150320 | 20 20 20 20 63 61 73 65 20 22 72 65 6d 65 6d 62 65 72 22 3a 0a 20 20 20 20 20 20 73 65 6c 65 63 | ....case."remember":.......selec |
150340 | 74 65 64 49 6e 64 65 78 20 3d 20 30 3b 0a 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 63 | tedIndex.=.0;.......break;.....c |
150360 | 61 73 65 20 22 64 6f 6e 74 72 65 6d 65 6d 62 65 72 22 3a 0a 20 20 20 20 20 20 73 65 6c 65 63 74 | ase."dontremember":.......select |
150380 | 65 64 49 6e 64 65 78 20 3d 20 31 3b 0a 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 63 61 | edIndex.=.1;.......break;.....ca |
1503a0 | 73 65 20 22 63 75 73 74 6f 6d 22 3a 0a 20 20 20 20 20 20 73 65 6c 65 63 74 65 64 49 6e 64 65 78 | se."custom":.......selectedIndex |
1503c0 | 20 3d 20 32 3b 0a 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 7d 0a 20 20 20 20 64 6f 63 | .=.2;.......break;.....}.....doc |
1503e0 | 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 68 69 73 74 6f 72 79 50 61 6e | ument.getElementById("historyPan |
150400 | 65 22 29 2e 73 65 6c 65 63 74 65 64 49 6e 64 65 78 20 3d 20 73 65 6c 65 63 74 65 64 49 6e 64 65 | e").selectedIndex.=.selectedInde |
150420 | 78 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 55 70 64 61 74 65 20 74 68 65 20 70 | x;...},..../**....*.Update.the.p |
150440 | 72 69 76 61 74 65 20 62 72 6f 77 73 69 6e 67 20 61 75 74 6f 2d 73 74 61 72 74 20 70 72 65 66 20 | rivate.browsing.auto-start.pref. |
150460 | 61 6e 64 20 74 68 65 20 68 69 73 74 6f 72 79 20 6d 6f 64 65 0a 20 20 20 2a 20 6d 69 63 72 6f 2d | and.the.history.mode....*.micro- |
150480 | 6d 61 6e 61 67 65 6d 65 6e 74 20 70 72 65 66 73 20 62 61 73 65 64 20 6f 6e 20 74 68 65 20 68 69 | management.prefs.based.on.the.hi |
1504a0 | 73 74 6f 72 79 20 6d 6f 64 65 20 6d 65 6e 75 6c 69 73 74 0a 20 20 20 2a 2f 0a 20 20 75 70 64 61 | story.mode.menulist....*/...upda |
1504c0 | 74 65 48 69 73 74 6f 72 79 4d 6f 64 65 50 72 65 66 73 3a 20 66 75 6e 63 74 69 6f 6e 20 50 50 50 | teHistoryModePrefs:.function.PPP |
1504e0 | 5f 75 70 64 61 74 65 48 69 73 74 6f 72 79 4d 6f 64 65 50 72 65 66 73 28 29 0a 20 20 7b 0a 20 20 | _updateHistoryModePrefs()...{... |
150500 | 20 20 6c 65 74 20 70 72 65 66 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 | ..let.pref.=.document.getElement |
150520 | 42 79 49 64 28 22 62 72 6f 77 73 65 72 2e 70 72 69 76 61 74 65 62 72 6f 77 73 69 6e 67 2e 61 75 | ById("browser.privatebrowsing.au |
150540 | 74 6f 73 74 61 72 74 22 29 3b 0a 20 20 20 20 73 77 69 74 63 68 20 28 64 6f 63 75 6d 65 6e 74 2e | tostart");.....switch.(document. |
150560 | 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 68 69 73 74 6f 72 79 4d 6f 64 65 22 29 2e 76 61 | getElementById("historyMode").va |
150580 | 6c 75 65 29 20 7b 0a 20 20 20 20 63 61 73 65 20 22 72 65 6d 65 6d 62 65 72 22 3a 0a 20 20 20 20 | lue).{.....case."remember":..... |
1505a0 | 20 20 70 72 65 66 2e 76 61 6c 75 65 20 3d 20 66 61 6c 73 65 3b 0a 0a 20 20 20 20 20 20 2f 2f 20 | ..pref.value.=.false;........//. |
1505c0 | 73 65 6c 65 63 74 20 74 68 65 20 72 65 6d 65 6d 62 65 72 20 68 69 73 74 6f 72 79 20 6f 70 74 69 | select.the.remember.history.opti |
1505e0 | 6f 6e 20 69 66 20 6e 65 65 64 65 64 0a 20 20 20 20 20 20 6c 65 74 20 72 65 6d 65 6d 62 65 72 48 | on.if.needed.......let.rememberH |
150600 | 69 73 74 6f 72 79 43 68 65 63 6b 62 6f 78 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 | istoryCheckbox.=.document.getEle |
150620 | 6d 65 6e 74 42 79 49 64 28 22 72 65 6d 65 6d 62 65 72 48 69 73 74 6f 72 79 44 61 79 73 22 29 3b | mentById("rememberHistoryDays"); |
150640 | 0a 20 20 20 20 20 20 69 66 20 28 21 72 65 6d 65 6d 62 65 72 48 69 73 74 6f 72 79 43 68 65 63 6b | .......if.(!rememberHistoryCheck |
150660 | 62 6f 78 2e 63 68 65 63 6b 65 64 29 20 7b 0a 20 20 20 20 20 20 20 20 72 65 6d 65 6d 62 65 72 48 | box.checked).{.........rememberH |
150680 | 69 73 74 6f 72 79 43 68 65 63 6b 62 6f 78 2e 63 68 65 63 6b 65 64 20 3d 20 74 72 75 65 3b 0a 20 | istoryCheckbox.checked.=.true;.. |
1506a0 | 20 20 20 20 20 20 20 74 68 69 73 2e 6f 6e 63 68 61 6e 67 65 48 69 73 74 6f 72 79 44 61 79 73 43 | .......this.onchangeHistoryDaysC |
1506c0 | 68 65 63 6b 28 29 3b 0a 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 2f 2f 20 73 65 6c 65 63 74 | heck();.......}........//.select |
1506e0 | 20 74 68 65 20 72 65 6d 65 6d 62 65 72 20 64 6f 77 6e 6c 6f 61 64 73 20 6f 70 74 69 6f 6e 20 69 | .the.remember.downloads.option.i |
150700 | 66 20 6e 65 65 64 65 64 0a 20 20 20 20 20 20 69 66 20 28 21 64 6f 63 75 6d 65 6e 74 2e 67 65 74 | f.needed.......if.(!document.get |
150720 | 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 72 65 6d 65 6d 62 65 72 44 6f 77 6e 6c 6f 61 64 73 22 29 | ElementById("rememberDownloads") |
150740 | 2e 63 68 65 63 6b 65 64 29 0a 20 20 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c | .checked).........document.getEl |
150760 | 65 6d 65 6e 74 42 79 49 64 28 22 62 72 6f 77 73 65 72 2e 64 6f 77 6e 6c 6f 61 64 2e 6d 61 6e 61 | ementById("browser.download.mana |
150780 | 67 65 72 2e 72 65 74 65 6e 74 69 6f 6e 22 29 2e 76 61 6c 75 65 20 3d 20 32 3b 0a 0a 20 20 20 20 | ger.retention").value.=.2;...... |
1507a0 | 20 20 2f 2f 20 73 65 6c 65 63 74 20 74 68 65 20 72 65 6d 65 6d 62 65 72 20 66 6f 72 6d 73 20 68 | ..//.select.the.remember.forms.h |
1507c0 | 69 73 74 6f 72 79 20 6f 70 74 69 6f 6e 0a 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 | istory.option.......document.get |
1507e0 | 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 62 72 6f 77 73 65 72 2e 66 6f 72 6d 66 69 6c 6c 2e 65 6e | ElementById("browser.formfill.en |
150800 | 61 62 6c 65 22 29 2e 76 61 6c 75 65 20 3d 20 74 72 75 65 3b 0a 0a 20 20 20 20 20 20 2f 2f 20 73 | able").value.=.true;........//.s |
150820 | 65 6c 65 63 74 20 74 68 65 20 61 63 63 65 70 74 20 63 6f 6f 6b 69 65 73 20 6f 70 74 69 6f 6e 0a | elect.the.accept.cookies.option. |
150840 | 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 6e | ......document.getElementById("n |
150860 | 65 74 77 6f 72 6b 2e 63 6f 6f 6b 69 65 2e 63 6f 6f 6b 69 65 42 65 68 61 76 69 6f 72 22 29 2e 76 | etwork.cookie.cookieBehavior").v |
150880 | 61 6c 75 65 20 3d 20 30 3b 0a 20 20 20 20 20 20 2f 2f 20 73 65 6c 65 63 74 20 74 68 65 20 63 6f | alue.=.0;.......//.select.the.co |
1508a0 | 6f 6b 69 65 20 6c 69 66 65 74 69 6d 65 20 70 6f 6c 69 63 79 20 6f 70 74 69 6f 6e 0a 20 20 20 20 | okie.lifetime.policy.option..... |
1508c0 | 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 6e 65 74 77 6f | ..document.getElementById("netwo |
1508e0 | 72 6b 2e 63 6f 6f 6b 69 65 2e 6c 69 66 65 74 69 6d 65 50 6f 6c 69 63 79 22 29 2e 76 61 6c 75 65 | rk.cookie.lifetimePolicy").value |
150900 | 20 3d 20 30 3b 0a 0a 20 20 20 20 20 20 2f 2f 20 73 65 6c 65 63 74 20 74 68 65 20 63 6c 65 61 72 | .=.0;........//.select.the.clear |
150920 | 20 6f 6e 20 63 6c 6f 73 65 20 6f 70 74 69 6f 6e 0a 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e | .on.close.option.......document. |
150940 | 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 70 72 69 76 61 63 79 2e 73 61 6e 69 74 69 7a 65 | getElementById("privacy.sanitize |
150960 | 2e 73 61 6e 69 74 69 7a 65 4f 6e 53 68 75 74 64 6f 77 6e 22 29 2e 76 61 6c 75 65 20 3d 20 66 61 | .sanitizeOnShutdown").value.=.fa |
150980 | 6c 73 65 3b 0a 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 63 61 73 65 20 22 64 6f 6e 74 | lse;.......break;.....case."dont |
1509a0 | 72 65 6d 65 6d 62 65 72 22 3a 0a 20 20 20 20 20 20 70 72 65 66 2e 76 61 6c 75 65 20 3d 20 74 72 | remember":.......pref.value.=.tr |
1509c0 | 75 65 3b 0a 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 2f | ue;.......break;.....}...},..../ |
1509e0 | 2a 2a 0a 20 20 20 2a 20 55 70 64 61 74 65 20 74 68 65 20 70 72 69 76 61 63 79 20 6d 69 63 72 6f | **....*.Update.the.privacy.micro |
150a00 | 2d 6d 61 6e 61 67 65 6d 65 6e 74 20 63 6f 6e 74 72 6f 6c 73 20 62 61 73 65 64 20 6f 6e 20 74 68 | -management.controls.based.on.th |
150a20 | 65 0a 20 20 20 2a 20 76 61 6c 75 65 20 6f 66 20 74 68 65 20 70 72 69 76 61 74 65 20 62 72 6f 77 | e....*.value.of.the.private.brow |
150a40 | 73 69 6e 67 20 61 75 74 6f 2d 73 74 61 72 74 20 63 68 65 63 6b 62 6f 78 2e 0a 20 20 20 2a 2f 0a | sing.auto-start.checkbox.....*/. |
150a60 | 20 20 75 70 64 61 74 65 50 72 69 76 61 63 79 4d 69 63 72 6f 43 6f 6e 74 72 6f 6c 73 3a 20 66 75 | ..updatePrivacyMicroControls:.fu |
150a80 | 6e 63 74 69 6f 6e 20 50 50 50 5f 75 70 64 61 74 65 50 72 69 76 61 63 79 4d 69 63 72 6f 43 6f 6e | nction.PPP_updatePrivacyMicroCon |
150aa0 | 74 72 6f 6c 73 28 29 0a 20 20 7b 0a 20 20 20 20 69 66 20 28 64 6f 63 75 6d 65 6e 74 2e 67 65 74 | trols()...{.....if.(document.get |
150ac0 | 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 68 69 73 74 6f 72 79 4d 6f 64 65 22 29 2e 76 61 6c 75 65 | ElementById("historyMode").value |
150ae0 | 20 3d 3d 20 22 63 75 73 74 6f 6d 22 29 20 7b 0a 20 20 20 20 20 20 6c 65 74 20 64 69 73 61 62 6c | .==."custom").{.......let.disabl |
150b00 | 65 64 20 3d 20 74 68 69 73 2e 5f 61 75 74 6f 53 74 61 72 74 50 72 69 76 61 74 65 42 72 6f 77 73 | ed.=.this._autoStartPrivateBrows |
150b20 | 69 6e 67 20 3d 0a 20 20 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e | ing.=.........document.getElemen |
150b40 | 74 42 79 49 64 28 22 70 72 69 76 61 74 65 42 72 6f 77 73 69 6e 67 41 75 74 6f 53 74 61 72 74 22 | tById("privateBrowsingAutoStart" |
150b60 | 29 2e 63 68 65 63 6b 65 64 3b 0a 20 20 20 20 20 20 74 68 69 73 2e 64 65 70 65 6e 64 65 6e 74 43 | ).checked;.......this.dependentC |
150b80 | 6f 6e 74 72 6f 6c 73 0a 20 20 20 20 20 20 20 20 20 20 2e 66 6f 72 45 61 63 68 28 66 75 6e 63 74 | ontrols............forEach(funct |
150ba0 | 69 6f 6e 20 28 61 45 6c 65 6d 65 6e 74 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ion.(aElement).................. |
150bc0 | 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 61 45 6c 65 6d 65 | ..document.getElementById(aEleme |
150be0 | 6e 74 29 2e 64 69 73 61 62 6c 65 64 20 3d 20 64 69 73 61 62 6c 65 64 29 3b 0a 0a 20 20 20 20 20 | nt).disabled.=.disabled);....... |
150c00 | 20 2f 2f 20 61 64 6a 75 73 74 20 74 68 65 20 63 6f 6f 6b 69 65 20 63 6f 6e 74 72 6f 6c 73 20 73 | .//.adjust.the.cookie.controls.s |
150c20 | 74 61 74 75 73 0a 20 20 20 20 20 20 74 68 69 73 2e 72 65 61 64 41 63 63 65 70 74 43 6f 6f 6b 69 | tatus.......this.readAcceptCooki |
150c40 | 65 73 28 29 3b 0a 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 | es();.......document.getElementB |
150c60 | 79 49 64 28 22 6b 65 65 70 43 6f 6f 6b 69 65 73 55 6e 74 69 6c 22 29 2e 76 61 6c 75 65 20 3d 20 | yId("keepCookiesUntil").value.=. |
150c80 | 64 69 73 61 62 6c 65 64 20 3f 20 32 20 3a 0a 20 20 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e | disabled.?.2.:.........document. |
150ca0 | 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 6e 65 74 77 6f 72 6b 2e 63 6f 6f 6b 69 65 2e 6c | getElementById("network.cookie.l |
150cc0 | 69 66 65 74 69 6d 65 50 6f 6c 69 63 79 22 29 2e 76 61 6c 75 65 3b 0a 0a 20 20 20 20 20 20 2f 2f | ifetimePolicy").value;........// |
150ce0 | 20 61 64 6a 75 73 74 20 74 68 65 20 63 68 65 63 6b 65 64 20 73 74 61 74 65 20 6f 66 20 74 68 65 | .adjust.the.checked.state.of.the |
150d00 | 20 73 61 6e 69 74 69 7a 65 4f 6e 53 68 75 74 64 6f 77 6e 20 63 68 65 63 6b 62 6f 78 0a 20 20 20 | .sanitizeOnShutdown.checkbox.... |
150d20 | 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 61 6c 77 61 | ...document.getElementById("alwa |
150d40 | 79 73 43 6c 65 61 72 22 29 2e 63 68 65 63 6b 65 64 20 3d 20 64 69 73 61 62 6c 65 64 20 3f 20 66 | ysClear").checked.=.disabled.?.f |
150d60 | 61 6c 73 65 20 3a 0a 20 20 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 | alse.:.........document.getEleme |
150d80 | 6e 74 42 79 49 64 28 22 70 72 69 76 61 63 79 2e 73 61 6e 69 74 69 7a 65 2e 73 61 6e 69 74 69 7a | ntById("privacy.sanitize.sanitiz |
150da0 | 65 4f 6e 53 68 75 74 64 6f 77 6e 22 29 2e 76 61 6c 75 65 3b 0a 0a 20 20 20 20 20 20 2f 2f 20 61 | eOnShutdown").value;........//.a |
150dc0 | 64 6a 75 73 74 20 74 68 65 20 63 68 65 63 6b 65 64 20 73 74 61 74 65 20 6f 66 20 74 68 65 20 72 | djust.the.checked.state.of.the.r |
150de0 | 65 6d 65 6d 62 65 72 20 68 69 73 74 6f 72 79 20 63 68 65 63 6b 62 6f 78 65 73 0a 20 20 20 20 20 | emember.history.checkboxes...... |
150e00 | 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 72 65 6d 65 6d 62 | .document.getElementById("rememb |
150e20 | 65 72 48 69 73 74 6f 72 79 44 61 79 73 22 29 2e 63 68 65 63 6b 65 64 20 3d 20 64 69 73 61 62 6c | erHistoryDays").checked.=.disabl |
150e40 | 65 64 20 3f 20 66 61 6c 73 65 20 3a 0a 20 20 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 | ed.?.false.:.........document.ge |
150e60 | 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 62 72 6f 77 73 65 72 2e 68 69 73 74 6f 72 79 5f 65 78 | tElementById("browser.history_ex |
150e80 | 70 69 72 65 5f 64 61 79 73 22 29 2e 76 61 6c 75 65 20 3e 20 30 3b 0a 20 20 20 20 20 20 74 68 69 | pire_days").value.>.0;.......thi |
150ea0 | 73 2e 6f 6e 63 68 61 6e 67 65 48 69 73 74 6f 72 79 44 61 79 73 43 68 65 63 6b 28 29 3b 0a 20 20 | s.onchangeHistoryDaysCheck();... |
150ec0 | 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 72 65 6d | ....document.getElementById("rem |
150ee0 | 65 6d 62 65 72 44 6f 77 6e 6c 6f 61 64 73 22 29 2e 63 68 65 63 6b 65 64 20 3d 20 64 69 73 61 62 | emberDownloads").checked.=.disab |
150f00 | 6c 65 64 20 3f 20 66 61 6c 73 65 20 3a 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 72 65 61 64 44 | led.?.false.:.........this.readD |
150f20 | 6f 77 6e 6c 6f 61 64 52 65 74 65 6e 74 69 6f 6e 28 29 3b 0a 20 20 20 20 20 20 64 6f 63 75 6d 65 | ownloadRetention();.......docume |
150f40 | 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 72 65 6d 65 6d 62 65 72 46 6f 72 6d 73 | nt.getElementById("rememberForms |
150f60 | 22 29 2e 63 68 65 63 6b 65 64 20 3d 20 64 69 73 61 62 6c 65 64 20 3f 20 66 61 6c 73 65 20 3a 0a | ").checked.=.disabled.?.false.:. |
150f80 | 20 20 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 | ........document.getElementById( |
150fa0 | 22 62 72 6f 77 73 65 72 2e 66 6f 72 6d 66 69 6c 6c 2e 65 6e 61 62 6c 65 22 29 2e 76 61 6c 75 65 | "browser.formfill.enable").value |
150fc0 | 3b 0a 0a 20 20 20 20 20 20 69 66 20 28 21 64 69 73 61 62 6c 65 64 29 20 7b 0a 20 20 20 20 20 20 | ;........if.(!disabled).{....... |
150fe0 | 20 20 2f 2f 20 61 64 6a 75 73 74 20 74 68 65 20 53 65 74 74 69 6e 67 73 20 62 75 74 74 6f 6e 20 | ..//.adjust.the.Settings.button. |
151000 | 66 6f 72 20 73 61 6e 69 74 69 7a 65 4f 6e 53 68 75 74 64 6f 77 6e 0a 20 20 20 20 20 20 20 20 74 | for.sanitizeOnShutdown.........t |
151020 | 68 69 73 2e 5f 75 70 64 61 74 65 53 61 6e 69 74 69 7a 65 53 65 74 74 69 6e 67 73 42 75 74 74 6f | his._updateSanitizeSettingsButto |
151040 | 6e 28 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 2f 2f 20 50 52 | n();.......}.....}...},....//.PR |
151060 | 49 56 41 54 45 20 42 52 4f 57 53 49 4e 47 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 49 6e 73 74 61 | IVATE.BROWSING..../**....*.Insta |
151080 | 6c 6c 20 74 68 65 20 6f 62 73 65 72 76 65 72 20 66 6f 72 20 74 68 65 20 61 75 74 6f 2d 73 74 61 | ll.the.observer.for.the.auto-sta |
1510a0 | 72 74 20 70 72 69 76 61 74 65 20 62 72 6f 77 73 69 6e 67 20 6d 6f 64 65 20 70 72 65 66 2e 0a 20 | rt.private.browsing.mode.pref... |
1510c0 | 20 20 2a 2f 0a 20 20 69 6e 69 74 41 75 74 6f 53 74 61 72 74 50 72 69 76 61 74 65 42 72 6f 77 73 | ..*/...initAutoStartPrivateBrows |
1510e0 | 69 6e 67 4f 62 73 65 72 76 65 72 3a 20 66 75 6e 63 74 69 6f 6e 20 50 50 50 5f 69 6e 69 74 41 75 | ingObserver:.function.PPP_initAu |
151100 | 74 6f 53 74 61 72 74 50 72 69 76 61 74 65 42 72 6f 77 73 69 6e 67 4f 62 73 65 72 76 65 72 28 29 | toStartPrivateBrowsingObserver() |
151120 | 0a 20 20 7b 0a 20 20 20 20 6c 65 74 20 70 72 65 66 53 65 72 76 69 63 65 20 3d 20 64 6f 63 75 6d | ...{.....let.prefService.=.docum |
151140 | 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 70 72 69 76 61 63 79 50 72 65 66 65 | ent.getElementById("privacyPrefe |
151160 | 72 65 6e 63 65 73 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | rences")........................ |
151180 | 20 20 20 20 20 20 20 2e 73 65 72 76 69 63 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ........service................. |
1511a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 28 43 6f | ...............QueryInterface(Co |
1511c0 | 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 50 72 65 66 42 72 61 6e 63 | mponents.interfaces.nsIPrefBranc |
1511e0 | 68 32 29 3b 0a 20 20 20 20 70 72 65 66 53 65 72 76 69 63 65 2e 61 64 64 4f 62 73 65 72 76 65 72 | h2);.....prefService.addObserver |
151200 | 28 22 62 72 6f 77 73 65 72 2e 70 72 69 76 61 74 65 62 72 6f 77 73 69 6e 67 2e 61 75 74 6f 73 74 | ("browser.privatebrowsing.autost |
151220 | 61 72 74 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | art",........................... |
151240 | 20 20 74 68 69 73 2e 61 75 74 6f 53 74 61 72 74 50 72 69 76 61 74 65 42 72 6f 77 73 69 6e 67 4f | ..this.autoStartPrivateBrowsingO |
151260 | 62 73 65 72 76 65 72 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | bserver,........................ |
151280 | 20 20 20 20 20 74 72 75 65 29 3b 0a 20 20 7d 2c 0a 0a 20 20 61 75 74 6f 53 74 61 72 74 50 72 69 | .....true);...},....autoStartPri |
1512a0 | 76 61 74 65 42 72 6f 77 73 69 6e 67 4f 62 73 65 72 76 65 72 3a 0a 20 20 7b 0a 20 20 20 20 51 75 | vateBrowsingObserver:...{.....Qu |
1512c0 | 65 72 79 49 6e 74 65 72 66 61 63 65 3a 20 58 50 43 4f 4d 55 74 69 6c 73 2e 67 65 6e 65 72 61 74 | eryInterface:.XPCOMUtils.generat |
1512e0 | 65 51 49 28 5b 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 4f 62 | eQI([Components.interfaces.nsIOb |
151300 | 73 65 72 76 65 72 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | server,......................... |
151320 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e | ...................Components.in |
151340 | 74 65 72 66 61 63 65 73 2e 6e 73 49 53 75 70 70 6f 72 74 73 57 65 61 6b 52 65 66 65 72 65 6e 63 | terfaces.nsISupportsWeakReferenc |
151360 | 65 5d 29 2c 0a 0a 20 20 20 20 6f 62 73 65 72 76 65 3a 20 66 75 6e 63 74 69 6f 6e 20 50 50 50 5f | e]),......observe:.function.PPP_ |
151380 | 6f 62 73 65 72 76 65 28 61 53 75 62 6a 65 63 74 2c 20 61 54 6f 70 69 63 2c 20 61 44 61 74 61 29 | observe(aSubject,.aTopic,.aData) |
1513a0 | 0a 20 20 20 20 7b 0a 20 20 20 20 20 20 6c 65 74 20 70 72 69 76 61 74 65 42 72 6f 77 73 69 6e 67 | .....{.......let.privateBrowsing |
1513c0 | 53 65 72 76 69 63 65 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d | Service.=.Components.classes["@m |
1513e0 | 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 70 72 69 76 61 74 65 62 72 6f 77 73 69 6e 67 3b 31 22 5d 2e 0a | ozilla.org/privatebrowsing;1"].. |
151400 | 20 20 20 20 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e | ........getService(Components.in |
151420 | 74 65 72 66 61 63 65 73 2e 6e 73 49 50 72 69 76 61 74 65 42 72 6f 77 73 69 6e 67 53 65 72 76 69 | terfaces.nsIPrivateBrowsingServi |
151440 | 63 65 29 3b 0a 0a 20 20 20 20 20 20 2f 2f 20 54 6f 67 67 6c 65 20 74 68 65 20 70 72 69 76 61 74 | ce);........//.Toggle.the.privat |
151460 | 65 20 62 72 6f 77 73 69 6e 67 20 6d 6f 64 65 20 77 69 74 68 6f 75 74 20 73 77 69 74 63 68 69 6e | e.browsing.mode.without.switchin |
151480 | 67 20 74 68 65 20 73 65 73 73 69 6f 6e 0a 20 20 20 20 20 20 6c 65 74 20 70 72 65 66 56 61 6c 75 | g.the.session.......let.prefValu |
1514a0 | 65 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 62 72 6f | e.=.document.getElementById("bro |
1514c0 | 77 73 65 72 2e 70 72 69 76 61 74 65 62 72 6f 77 73 69 6e 67 2e 61 75 74 6f 73 74 61 72 74 22 29 | wser.privatebrowsing.autostart") |
1514e0 | 2e 76 61 6c 75 65 3b 0a 20 20 20 20 20 20 6c 65 74 20 6b 65 65 70 43 75 72 72 65 6e 74 53 65 73 | .value;.......let.keepCurrentSes |
151500 | 73 69 6f 6e 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 | sion.=.document.getElementById(" |
151520 | 62 72 6f 77 73 65 72 2e 70 72 69 76 61 74 65 62 72 6f 77 73 69 6e 67 2e 6b 65 65 70 5f 63 75 72 | browser.privatebrowsing.keep_cur |
151540 | 72 65 6e 74 5f 73 65 73 73 69 6f 6e 22 29 3b 0a 20 20 20 20 20 20 6b 65 65 70 43 75 72 72 65 6e | rent_session");.......keepCurren |
151560 | 74 53 65 73 73 69 6f 6e 2e 76 61 6c 75 65 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 2f 2f 20 | tSession.value.=.true;.......//. |
151580 | 49 66 20 61 63 74 69 76 61 74 69 6e 67 20 66 72 6f 6d 20 77 69 74 68 69 6e 20 74 68 65 20 70 72 | If.activating.from.within.the.pr |
1515a0 | 69 76 61 74 65 20 62 72 6f 77 73 69 6e 67 20 6d 6f 64 65 2c 20 72 65 73 65 74 20 74 68 65 0a 20 | ivate.browsing.mode,.reset.the.. |
1515c0 | 20 20 20 20 20 2f 2f 20 70 72 69 76 61 74 65 20 73 65 73 73 69 6f 6e 0a 20 20 20 20 20 20 69 66 | .....//.private.session.......if |
1515e0 | 20 28 70 72 65 66 56 61 6c 75 65 20 26 26 20 70 72 69 76 61 74 65 42 72 6f 77 73 69 6e 67 53 65 | .(prefValue.&&.privateBrowsingSe |
151600 | 72 76 69 63 65 2e 70 72 69 76 61 74 65 42 72 6f 77 73 69 6e 67 45 6e 61 62 6c 65 64 29 0a 20 20 | rvice.privateBrowsingEnabled)... |
151620 | 20 20 20 20 20 20 70 72 69 76 61 74 65 42 72 6f 77 73 69 6e 67 53 65 72 76 69 63 65 2e 70 72 69 | ......privateBrowsingService.pri |
151640 | 76 61 74 65 42 72 6f 77 73 69 6e 67 45 6e 61 62 6c 65 64 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 | vateBrowsingEnabled.=.false;.... |
151660 | 20 20 20 70 72 69 76 61 74 65 42 72 6f 77 73 69 6e 67 53 65 72 76 69 63 65 2e 70 72 69 76 61 74 | ...privateBrowsingService.privat |
151680 | 65 42 72 6f 77 73 69 6e 67 45 6e 61 62 6c 65 64 20 3d 20 70 72 65 66 56 61 6c 75 65 3b 0a 20 20 | eBrowsingEnabled.=.prefValue;... |
1516a0 | 20 20 20 20 6b 65 65 70 43 75 72 72 65 6e 74 53 65 73 73 69 6f 6e 2e 72 65 73 65 74 28 29 3b 0a | ....keepCurrentSession.reset();. |
1516c0 | 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 2f 2f 20 48 49 53 54 4f 52 59 0a 0a 20 20 2f 2a 2a 0a | ....}...},....//.HISTORY..../**. |
1516e0 | 20 20 20 2a 20 52 65 61 64 20 74 68 65 20 6c 6f 63 61 74 69 6f 6e 20 62 61 72 20 65 6e 61 62 6c | ...*.Read.the.location.bar.enabl |
151700 | 65 64 20 61 6e 64 20 73 75 67 67 65 73 74 69 6f 6e 20 70 72 65 66 73 0a 20 20 20 2a 20 40 72 65 | ed.and.suggestion.prefs....*.@re |
151720 | 74 75 72 6e 20 49 6e 74 20 76 61 6c 75 65 20 66 6f 72 20 73 75 67 67 65 73 74 69 6f 6e 20 6d 65 | turn.Int.value.for.suggestion.me |
151740 | 6e 75 6c 69 73 74 0a 20 20 20 2a 2f 0a 20 20 72 65 61 64 53 75 67 67 65 73 74 69 6f 6e 50 72 65 | nulist....*/...readSuggestionPre |
151760 | 66 3a 20 66 75 6e 63 74 69 6f 6e 20 50 50 50 5f 72 65 61 64 53 75 67 67 65 73 74 69 6f 6e 50 72 | f:.function.PPP_readSuggestionPr |
151780 | 65 66 28 29 0a 20 20 7b 0a 20 20 20 20 6c 65 74 20 67 65 74 56 61 6c 20 3d 20 66 75 6e 63 74 69 | ef()...{.....let.getVal.=.functi |
1517a0 | 6f 6e 28 61 50 72 65 66 29 0a 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d | on(aPref).......document.getElem |
1517c0 | 65 6e 74 42 79 49 64 28 22 62 72 6f 77 73 65 72 2e 75 72 6c 62 61 72 2e 22 20 2b 20 61 50 72 65 | entById("browser.urlbar.".+.aPre |
1517e0 | 66 29 2e 76 61 6c 75 65 3b 0a 0a 20 20 20 20 2f 2f 20 53 75 67 67 65 73 74 20 6e 6f 74 68 69 6e | f).value;......//.Suggest.nothin |
151800 | 67 20 69 66 20 61 75 74 6f 63 6f 6d 70 6c 65 74 65 20 69 73 20 6e 6f 74 20 65 6e 61 62 6c 65 64 | g.if.autocomplete.is.not.enabled |
151820 | 0a 20 20 20 20 69 66 20 28 21 67 65 74 56 61 6c 28 22 61 75 74 6f 63 6f 6d 70 6c 65 74 65 2e 65 | .....if.(!getVal("autocomplete.e |
151840 | 6e 61 62 6c 65 64 22 29 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 2d 31 3b 0a 0a 20 20 20 20 | nabled")).......return.-1;...... |
151860 | 2f 2f 20 42 6f 74 74 6f 6d 20 32 20 62 69 74 73 20 6f 66 20 64 65 66 61 75 6c 74 2e 62 65 68 61 | //.Bottom.2.bits.of.default.beha |
151880 | 76 69 6f 72 20 73 70 65 63 69 66 79 20 68 69 73 74 6f 72 79 2f 62 6f 6f 6b 6d 61 72 6b 0a 20 20 | vior.specify.history/bookmark... |
1518a0 | 20 20 72 65 74 75 72 6e 20 67 65 74 56 61 6c 28 22 64 65 66 61 75 6c 74 2e 62 65 68 61 76 69 6f | ..return.getVal("default.behavio |
1518c0 | 72 22 29 20 26 20 33 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 57 72 69 74 65 20 | r").&.3;...},..../**....*.Write. |
1518e0 | 74 68 65 20 6c 6f 63 61 74 69 6f 6e 20 62 61 72 20 65 6e 61 62 6c 65 64 20 61 6e 64 20 73 75 67 | the.location.bar.enabled.and.sug |
151900 | 67 65 73 74 69 6f 6e 20 70 72 65 66 73 20 77 68 65 6e 20 6e 65 63 65 73 73 61 72 79 0a 20 20 20 | gestion.prefs.when.necessary.... |
151920 | 2a 20 40 72 65 74 75 72 6e 20 42 6f 6f 6c 20 76 61 6c 75 65 20 66 6f 72 20 65 6e 61 62 6c 65 64 | *.@return.Bool.value.for.enabled |
151940 | 20 70 72 65 66 0a 20 20 20 2a 2f 0a 20 20 77 72 69 74 65 53 75 67 67 65 73 74 69 6f 6e 50 72 65 | .pref....*/...writeSuggestionPre |
151960 | 66 3a 20 66 75 6e 63 74 69 6f 6e 20 50 50 50 5f 77 72 69 74 65 53 75 67 67 65 73 74 69 6f 6e 50 | f:.function.PPP_writeSuggestionP |
151980 | 72 65 66 28 29 0a 20 20 7b 0a 20 20 20 20 6c 65 74 20 6d 65 6e 75 56 61 6c 20 3d 20 64 6f 63 75 | ref()...{.....let.menuVal.=.docu |
1519a0 | 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 6c 6f 63 61 74 69 6f 6e 42 61 72 | ment.getElementById("locationBar |
1519c0 | 53 75 67 67 65 73 74 69 6f 6e 22 29 2e 76 61 6c 75 65 3b 0a 20 20 20 20 6c 65 74 20 65 6e 61 62 | Suggestion").value;.....let.enab |
1519e0 | 6c 65 64 20 3d 20 6d 65 6e 75 56 61 6c 20 21 3d 20 2d 31 3b 0a 0a 20 20 20 20 2f 2f 20 4f 6e 6c | led.=.menuVal.!=.-1;......//.Onl |
151a00 | 79 20 75 70 64 61 74 65 20 64 65 66 61 75 6c 74 2e 62 65 68 61 76 69 6f 72 20 69 66 20 77 65 27 | y.update.default.behavior.if.we' |
151a20 | 72 65 20 67 69 76 69 6e 67 20 73 75 67 67 65 73 74 69 6f 6e 73 0a 20 20 20 20 69 66 20 28 65 6e | re.giving.suggestions.....if.(en |
151a40 | 61 62 6c 65 64 29 20 7b 0a 20 20 20 20 20 20 2f 2f 20 50 75 74 20 74 68 65 20 73 65 6c 65 63 74 | abled).{.......//.Put.the.select |
151a60 | 65 64 20 6d 65 6e 75 20 69 74 65 6d 27 73 20 76 61 6c 75 65 20 64 69 72 65 63 74 6c 79 20 69 6e | ed.menu.item's.value.directly.in |
151a80 | 74 6f 20 74 68 65 20 62 6f 74 74 6f 6d 20 32 20 62 69 74 73 0a 20 20 20 20 20 20 6c 65 74 20 62 | to.the.bottom.2.bits.......let.b |
151aa0 | 65 68 61 76 69 6f 72 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 | ehavior.=.document.getElementByI |
151ac0 | 64 28 22 62 72 6f 77 73 65 72 2e 75 72 6c 62 61 72 2e 64 65 66 61 75 6c 74 2e 62 65 68 61 76 69 | d("browser.urlbar.default.behavi |
151ae0 | 6f 72 22 29 3b 0a 20 20 20 20 20 20 62 65 68 61 76 69 6f 72 2e 76 61 6c 75 65 20 3d 20 62 65 68 | or");.......behavior.value.=.beh |
151b00 | 61 76 69 6f 72 2e 76 61 6c 75 65 20 3e 3e 20 32 20 3c 3c 20 32 20 7c 20 6d 65 6e 75 56 61 6c 3b | avior.value.>>.2.<<.2.|.menuVal; |
151b20 | 0a 20 20 20 20 7d 0a 0a 20 20 20 20 2f 2f 20 41 6c 77 61 79 73 20 75 70 64 61 74 65 20 74 68 65 | .....}......//.Always.update.the |
151b40 | 20 65 6e 61 62 6c 65 64 20 70 72 65 66 0a 20 20 20 20 72 65 74 75 72 6e 20 65 6e 61 62 6c 65 64 | .enabled.pref.....return.enabled |
151b60 | 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 0a 20 20 20 2a 20 50 72 65 66 65 72 65 6e 63 65 73 3a 0a 20 | ;...},..../*....*.Preferences:.. |
151b80 | 20 20 2a 0a 20 20 20 2a 20 4e 4f 54 45 3a 20 54 68 65 73 65 20 66 69 72 73 74 20 74 77 6f 20 61 | ..*....*.NOTE:.These.first.two.a |
151ba0 | 72 65 20 6e 6f 20 6c 6f 6e 67 65 72 20 73 68 6f 77 6e 20 69 6e 20 74 68 65 20 55 49 2e 20 54 68 | re.no.longer.shown.in.the.UI..Th |
151bc0 | 65 79 27 72 65 20 63 6f 6e 74 72 6f 6c 6c 65 64 0a 20 20 20 2a 20 20 20 20 20 20 20 76 69 61 20 | ey're.controlled....*.......via. |
151be0 | 74 68 65 20 63 68 65 63 6b 62 6f 78 2c 20 77 68 69 63 68 20 75 73 65 73 20 74 68 65 20 7a 65 72 | the.checkbox,.which.uses.the.zer |
151c00 | 6f 20 73 74 61 74 65 20 6f 66 20 74 68 65 20 70 72 65 66 20 74 6f 20 74 75 72 6e 0a 20 20 20 2a | o.state.of.the.pref.to.turn....* |
151c20 | 20 20 20 20 20 20 20 68 69 73 74 6f 72 79 20 6f 66 66 2e 0a 20 20 20 2a 20 62 72 6f 77 73 65 72 | .......history.off.....*.browser |
151c40 | 2e 68 69 73 74 6f 72 79 5f 65 78 70 69 72 65 5f 64 61 79 73 0a 20 20 20 2a 20 2d 20 74 68 65 20 | .history_expire_days....*.-.the. |
151c60 | 6e 75 6d 62 65 72 20 6f 66 20 64 61 79 73 20 6f 66 20 68 69 73 74 6f 72 79 20 74 6f 20 72 65 6d | number.of.days.of.history.to.rem |
151c80 | 65 6d 62 65 72 0a 20 20 20 2a 20 62 72 6f 77 73 65 72 2e 68 69 73 74 6f 72 79 5f 65 78 70 69 72 | ember....*.browser.history_expir |
151ca0 | 65 5f 64 61 79 73 2e 6d 69 72 72 6f 72 0a 20 20 20 2a 20 2d 20 61 20 70 72 65 66 65 72 65 6e 63 | e_days.mirror....*.-.a.preferenc |
151cc0 | 65 20 77 68 6f 73 65 20 76 61 6c 75 65 20 6d 69 72 72 6f 72 73 20 74 68 61 74 20 6f 66 20 62 72 | e.whose.value.mirrors.that.of.br |
151ce0 | 6f 77 73 65 72 2e 68 69 73 74 6f 72 79 5f 65 78 70 69 72 65 5f 64 61 79 73 2c 20 74 6f 0a 20 20 | owser.history_expire_days,.to... |
151d00 | 20 2a 20 20 20 6d 61 6b 65 20 74 68 65 20 22 64 61 79 73 20 6f 66 20 68 69 73 74 6f 72 79 22 20 | .*...make.the."days.of.history". |
151d20 | 63 68 65 63 6b 62 6f 78 20 65 61 73 69 65 72 20 74 6f 20 63 6f 64 65 0a 20 20 20 2a 0a 20 20 20 | checkbox.easier.to.code....*.... |
151d40 | 2a 20 62 72 6f 77 73 65 72 2e 68 69 73 74 6f 72 79 5f 65 78 70 69 72 65 5f 64 61 79 73 5f 6d 69 | *.browser.history_expire_days_mi |
151d60 | 6e 0a 20 20 20 2a 20 2d 20 74 68 65 20 6d 69 6e 69 6e 75 6d 20 6e 75 6d 62 65 72 20 6f 66 20 64 | n....*.-.the.mininum.number.of.d |
151d80 | 61 79 73 20 6f 66 20 68 69 73 74 6f 72 79 20 74 6f 20 72 65 6d 65 6d 62 65 72 0a 20 20 20 2a 20 | ays.of.history.to.remember....*. |
151da0 | 62 72 6f 77 73 65 72 2e 68 69 73 74 6f 72 79 5f 65 78 70 69 72 65 5f 64 61 79 73 5f 6d 69 6e 2e | browser.history_expire_days_min. |
151dc0 | 6d 69 72 72 6f 72 0a 20 20 20 2a 20 2d 20 61 20 70 72 65 66 65 72 65 6e 63 65 20 77 68 6f 73 65 | mirror....*.-.a.preference.whose |
151de0 | 20 76 61 6c 75 65 20 6d 69 72 72 6f 72 73 20 74 68 61 74 20 6f 66 20 62 72 6f 77 73 65 72 2e 68 | .value.mirrors.that.of.browser.h |
151e00 | 69 73 74 6f 72 79 5f 65 78 70 69 72 65 5f 64 61 79 73 5f 6d 69 6e 0a 20 20 20 2a 20 20 20 74 6f | istory_expire_days_min....*...to |
151e20 | 20 6d 61 6b 65 20 74 68 65 20 22 64 61 79 73 20 6f 66 20 68 69 73 74 6f 72 79 22 20 63 68 65 63 | .make.the."days.of.history".chec |
151e40 | 6b 62 6f 78 20 65 61 73 69 65 72 20 74 6f 20 63 6f 64 65 0a 20 20 20 2a 20 62 72 6f 77 73 65 72 | kbox.easier.to.code....*.browser |
151e60 | 2e 66 6f 72 6d 66 69 6c 6c 2e 65 6e 61 62 6c 65 0a 20 20 20 2a 20 2d 20 74 72 75 65 20 69 66 20 | .formfill.enable....*.-.true.if. |
151e80 | 65 6e 74 72 69 65 73 20 69 6e 20 66 6f 72 6d 73 20 61 6e 64 20 74 68 65 20 73 65 61 72 63 68 20 | entries.in.forms.and.the.search. |
151ea0 | 62 61 72 20 73 68 6f 75 6c 64 20 62 65 20 73 61 76 65 64 2c 20 66 61 6c 73 65 0a 20 20 20 2a 20 | bar.should.be.saved,.false....*. |
151ec0 | 20 20 6f 74 68 65 72 77 69 73 65 0a 20 20 20 2a 20 62 72 6f 77 73 65 72 2e 64 6f 77 6e 6c 6f 61 | ..otherwise....*.browser.downloa |
151ee0 | 64 2e 6d 61 6e 61 67 65 72 2e 72 65 74 65 6e 74 69 6f 6e 0a 20 20 20 2a 20 2d 20 64 65 74 65 72 | d.manager.retention....*.-.deter |
151f00 | 6d 69 6e 65 73 20 77 68 65 6e 20 64 6f 77 6e 6c 6f 61 64 73 20 61 72 65 20 61 75 74 6f 6d 61 74 | mines.when.downloads.are.automat |
151f20 | 69 63 61 6c 6c 79 20 72 65 6d 6f 76 65 64 20 66 72 6f 6d 20 74 68 65 20 64 6f 77 6e 6c 6f 61 64 | ically.removed.from.the.download |
151f40 | 0a 20 20 20 2a 20 20 20 6d 61 6e 61 67 65 72 3a 0a 20 20 20 2a 0a 20 20 20 2a 20 20 20 20 20 30 | ....*...manager:....*....*.....0 |
151f60 | 20 6d 65 61 6e 73 20 72 65 6d 6f 76 65 20 64 6f 77 6e 6c 6f 61 64 73 20 77 68 65 6e 20 74 68 65 | .means.remove.downloads.when.the |
151f80 | 79 20 66 69 6e 69 73 68 20 64 6f 77 6e 6c 6f 61 64 69 6e 67 0a 20 20 20 2a 20 20 20 20 20 31 20 | y.finish.downloading....*.....1. |
151fa0 | 6d 65 61 6e 73 20 64 6f 77 6e 6c 6f 61 64 73 20 77 69 6c 6c 20 62 65 20 72 65 6d 6f 76 65 64 20 | means.downloads.will.be.removed. |
151fc0 | 77 68 65 6e 20 74 68 65 20 62 72 6f 77 73 65 72 20 71 75 69 74 73 0a 20 20 20 2a 20 20 20 20 20 | when.the.browser.quits....*..... |
151fe0 | 32 20 6d 65 61 6e 73 20 6e 65 76 65 72 20 72 65 6d 6f 76 65 20 64 6f 77 6e 6c 6f 61 64 73 0a 20 | 2.means.never.remove.downloads.. |
152000 | 20 20 2a 2f 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 49 6e 69 74 69 61 6c 69 7a 65 73 20 74 68 65 | ..*/..../**....*.Initializes.the |
152020 | 20 64 61 79 73 2d 6f 66 2d 68 69 73 74 6f 72 79 20 6d 69 72 72 6f 72 20 70 72 65 66 65 72 65 6e | .days-of-history.mirror.preferen |
152040 | 63 65 20 61 6e 64 20 63 6f 6e 6e 65 63 74 73 20 69 74 20 74 6f 20 74 68 65 0a 20 20 20 2a 20 64 | ce.and.connects.it.to.the....*.d |
152060 | 61 79 73 2d 6f 66 2d 68 69 73 74 6f 72 79 20 63 68 65 63 6b 62 6f 78 20 73 6f 20 74 68 61 74 20 | ays-of-history.checkbox.so.that. |
152080 | 75 70 64 61 74 65 73 20 74 6f 20 74 68 65 20 74 65 78 74 62 6f 78 20 61 72 65 20 74 72 61 6e 73 | updates.to.the.textbox.are.trans |
1520a0 | 6d 69 74 74 65 64 20 74 6f 0a 20 20 20 2a 20 74 68 65 20 72 65 61 6c 20 64 61 79 73 2d 6f 66 2d | mitted.to....*.the.real.days-of- |
1520c0 | 68 69 73 74 6f 72 79 20 70 72 65 66 65 72 65 6e 63 65 2e 0a 20 20 20 2a 2f 0a 20 20 5f 75 70 64 | history.preference.....*/..._upd |
1520e0 | 61 74 65 48 69 73 74 6f 72 79 44 61 79 73 55 49 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 | ateHistoryDaysUI:.function.()... |
152100 | 7b 0a 20 20 20 20 76 61 72 20 70 72 65 66 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 | {.....var.pref.=.document.getEle |
152120 | 6d 65 6e 74 42 79 49 64 28 22 62 72 6f 77 73 65 72 2e 68 69 73 74 6f 72 79 5f 65 78 70 69 72 65 | mentById("browser.history_expire |
152140 | 5f 64 61 79 73 22 29 3b 0a 20 20 20 20 76 61 72 20 6d 69 72 72 6f 72 20 3d 20 64 6f 63 75 6d 65 | _days");.....var.mirror.=.docume |
152160 | 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 62 72 6f 77 73 65 72 2e 68 69 73 74 6f | nt.getElementById("browser.histo |
152180 | 72 79 5f 65 78 70 69 72 65 5f 64 61 79 73 2e 6d 69 72 72 6f 72 22 29 3b 0a 20 20 20 20 76 61 72 | ry_expire_days.mirror");.....var |
1521a0 | 20 70 72 65 66 5f 6d 69 6e 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 | .pref_min.=.document.getElementB |
1521c0 | 79 49 64 28 22 62 72 6f 77 73 65 72 2e 68 69 73 74 6f 72 79 5f 65 78 70 69 72 65 5f 64 61 79 73 | yId("browser.history_expire_days |
1521e0 | 5f 6d 69 6e 22 29 3b 0a 20 20 20 20 76 61 72 20 74 65 78 74 62 6f 78 20 3d 20 64 6f 63 75 6d 65 | _min");.....var.textbox.=.docume |
152200 | 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 68 69 73 74 6f 72 79 44 61 79 73 22 29 | nt.getElementById("historyDays") |
152220 | 3b 0a 20 20 20 20 76 61 72 20 63 68 65 63 6b 62 6f 78 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 | ;.....var.checkbox.=.document.ge |
152240 | 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 72 65 6d 65 6d 62 65 72 48 69 73 74 6f 72 79 44 61 79 | tElementById("rememberHistoryDay |
152260 | 73 22 29 3b 0a 0a 20 20 20 20 2f 2f 20 68 61 6e 64 6c 65 20 6d 69 72 72 6f 72 20 6e 6f 6e 2d 65 | s");......//.handle.mirror.non-e |
152280 | 78 69 73 74 65 6e 63 65 20 6f 72 20 6d 69 72 72 6f 72 2f 70 72 65 66 20 75 6e 73 79 6e 63 0a 20 | xistence.or.mirror/pref.unsync.. |
1522a0 | 20 20 20 69 66 20 28 6d 69 72 72 6f 72 2e 76 61 6c 75 65 20 3d 3d 3d 20 6e 75 6c 6c 20 7c 7c 20 | ...if.(mirror.value.===.null.||. |
1522c0 | 6d 69 72 72 6f 72 2e 76 61 6c 75 65 20 21 3d 20 70 72 65 66 2e 76 61 6c 75 65 20 7c 7c 20 0a 20 | mirror.value.!=.pref.value.||... |
1522e0 | 20 20 20 20 20 20 20 28 6d 69 72 72 6f 72 2e 76 61 6c 75 65 20 3d 3d 20 70 72 65 66 2e 76 61 6c | .......(mirror.value.==.pref.val |
152300 | 75 65 20 26 26 20 6d 69 72 72 6f 72 2e 76 61 6c 75 65 20 3d 3d 20 30 29 20 29 0a 20 20 20 20 20 | ue.&&.mirror.value.==.0).)...... |
152320 | 20 6d 69 72 72 6f 72 2e 76 61 6c 75 65 20 3d 20 70 72 65 66 2e 76 61 6c 75 65 20 3f 20 70 72 65 | .mirror.value.=.pref.value.?.pre |
152340 | 66 2e 76 61 6c 75 65 20 3a 20 70 72 65 66 2e 64 65 66 61 75 6c 74 56 61 6c 75 65 3b 0a 0a 20 20 | f.value.:.pref.defaultValue;.... |
152360 | 20 20 63 68 65 63 6b 62 6f 78 2e 63 68 65 63 6b 65 64 20 3d 20 28 70 72 65 66 2e 76 61 6c 75 65 | ..checkbox.checked.=.(pref.value |
152380 | 20 3e 20 30 29 3b 0a 20 20 20 20 74 65 78 74 62 6f 78 2e 64 69 73 61 62 6c 65 64 20 3d 20 21 63 | .>.0);.....textbox.disabled.=.!c |
1523a0 | 68 65 63 6b 62 6f 78 2e 63 68 65 63 6b 65 64 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 | heckbox.checked;...},..../**.... |
1523c0 | 2a 20 52 65 73 70 6f 6e 64 73 20 74 6f 20 74 68 65 20 63 68 65 63 6b 69 6e 67 20 6f 72 20 75 6e | *.Responds.to.the.checking.or.un |
1523e0 | 63 68 65 63 6b 69 6e 67 20 6f 66 20 74 68 65 20 64 61 79 73 2d 6f 66 2d 68 69 73 74 6f 72 79 20 | checking.of.the.days-of-history. |
152400 | 55 49 2c 20 73 74 6f 72 69 6e 67 0a 20 20 20 2a 20 74 68 65 20 61 70 70 72 6f 70 72 69 61 74 65 | UI,.storing....*.the.appropriate |
152420 | 20 76 61 6c 75 65 20 74 6f 20 74 68 65 20 64 61 79 73 2d 6f 66 2d 68 69 73 74 6f 72 79 20 70 72 | .value.to.the.days-of-history.pr |
152440 | 65 66 65 72 65 6e 63 65 20 61 6e 64 20 65 6e 61 62 6c 69 6e 67 20 6f 72 0a 20 20 20 2a 20 64 69 | eference.and.enabling.or....*.di |
152460 | 73 61 62 6c 69 6e 67 20 74 68 65 20 6e 75 6d 62 65 72 20 74 65 78 74 62 6f 78 20 61 73 20 61 70 | sabling.the.number.textbox.as.ap |
152480 | 70 72 6f 70 72 69 61 74 65 2e 0a 20 20 20 2a 2f 0a 20 20 6f 6e 63 68 61 6e 67 65 48 69 73 74 6f | propriate.....*/...onchangeHisto |
1524a0 | 72 79 44 61 79 73 43 68 65 63 6b 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 | ryDaysCheck:.function.()...{.... |
1524c0 | 20 76 61 72 20 70 72 65 66 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 | .var.pref.=.document.getElementB |
1524e0 | 79 49 64 28 22 62 72 6f 77 73 65 72 2e 68 69 73 74 6f 72 79 5f 65 78 70 69 72 65 5f 64 61 79 73 | yId("browser.history_expire_days |
152500 | 22 29 3b 0a 20 20 20 20 76 61 72 20 6d 69 72 72 6f 72 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 | ");.....var.mirror.=.document.ge |
152520 | 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 62 72 6f 77 73 65 72 2e 68 69 73 74 6f 72 79 5f 65 78 | tElementById("browser.history_ex |
152540 | 70 69 72 65 5f 64 61 79 73 2e 6d 69 72 72 6f 72 22 29 3b 0a 20 20 20 20 76 61 72 20 74 65 78 74 | pire_days.mirror");.....var.text |
152560 | 62 6f 78 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 68 | box.=.document.getElementById("h |
152580 | 69 73 74 6f 72 79 44 61 79 73 22 29 3b 0a 20 20 20 20 76 61 72 20 63 68 65 63 6b 62 6f 78 20 3d | istoryDays");.....var.checkbox.= |
1525a0 | 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 72 65 6d 65 6d 62 | .document.getElementById("rememb |
1525c0 | 65 72 48 69 73 74 6f 72 79 44 61 79 73 22 29 3b 0a 0a 20 20 20 20 69 66 20 28 21 74 68 69 73 2e | erHistoryDays");......if.(!this. |
1525e0 | 5f 61 75 74 6f 53 74 61 72 74 50 72 69 76 61 74 65 42 72 6f 77 73 69 6e 67 29 0a 20 20 20 20 20 | _autoStartPrivateBrowsing)...... |
152600 | 20 70 72 65 66 2e 76 61 6c 75 65 20 3d 20 63 68 65 63 6b 62 6f 78 2e 63 68 65 63 6b 65 64 20 3f | .pref.value.=.checkbox.checked.? |
152620 | 20 6d 69 72 72 6f 72 2e 76 61 6c 75 65 20 3a 20 30 3b 0a 20 20 20 20 74 65 78 74 62 6f 78 2e 64 | .mirror.value.:.0;.....textbox.d |
152640 | 69 73 61 62 6c 65 64 20 3d 20 21 63 68 65 63 6b 62 6f 78 2e 63 68 65 63 6b 65 64 3b 0a 20 20 7d | isabled.=.!checkbox.checked;...} |
152660 | 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 52 65 73 70 6f 6e 64 73 20 74 6f 20 63 68 61 6e 67 65 | ,..../**....*.Responds.to.change |
152680 | 73 20 69 6e 20 74 68 65 20 64 61 79 73 2d 6f 66 2d 68 69 73 74 6f 72 79 20 74 65 78 74 62 6f 78 | s.in.the.days-of-history.textbox |
1526a0 | 2c 0a 20 20 20 2a 20 75 6e 63 68 65 63 6b 69 6e 67 20 74 68 65 20 68 69 73 74 6f 72 79 2d 65 6e | ,....*.unchecking.the.history-en |
1526c0 | 61 62 6c 65 64 20 63 68 65 63 6b 62 6f 78 20 69 66 20 74 68 65 20 64 61 79 73 0a 20 20 20 2a 20 | abled.checkbox.if.the.days....*. |
1526e0 | 76 61 6c 75 65 20 69 73 20 7a 65 72 6f 2e 0a 20 20 20 2a 2f 0a 20 20 6f 6e 6b 65 79 75 70 48 69 | value.is.zero.....*/...onkeyupHi |
152700 | 73 74 6f 72 79 44 61 79 73 54 65 78 74 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 | storyDaysText:.function.()...{.. |
152720 | 20 20 20 76 61 72 20 74 65 78 74 62 6f 78 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 | ...var.textbox.=.document.getEle |
152740 | 6d 65 6e 74 42 79 49 64 28 22 68 69 73 74 6f 72 79 44 61 79 73 22 29 3b 0a 20 20 20 20 76 61 72 | mentById("historyDays");.....var |
152760 | 20 63 68 65 63 6b 62 6f 78 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 | .checkbox.=.document.getElementB |
152780 | 79 49 64 28 22 72 65 6d 65 6d 62 65 72 48 69 73 74 6f 72 79 44 61 79 73 22 29 3b 0a 20 20 20 20 | yId("rememberHistoryDays");..... |
1527a0 | 0a 20 20 20 20 63 68 65 63 6b 62 6f 78 2e 63 68 65 63 6b 65 64 20 3d 20 74 65 78 74 62 6f 78 2e | .....checkbox.checked.=.textbox. |
1527c0 | 76 61 6c 75 65 20 21 3d 20 30 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 43 6f 6e | value.!=.0;...},..../**....*.Con |
1527e0 | 76 65 72 74 73 20 74 68 65 20 76 61 6c 75 65 20 6f 66 20 74 68 65 20 62 72 6f 77 73 65 72 2e 64 | verts.the.value.of.the.browser.d |
152800 | 6f 77 6e 6c 6f 61 64 2e 6d 61 6e 61 67 65 72 2e 72 65 74 65 6e 74 69 6f 6e 20 70 72 65 66 65 72 | ownload.manager.retention.prefer |
152820 | 65 6e 63 65 0a 20 20 20 2a 20 69 6e 74 6f 20 61 20 42 6f 6f 6c 65 61 6e 20 76 61 6c 75 65 2e 20 | ence....*.into.a.Boolean.value.. |
152840 | 20 22 72 65 6d 6f 76 65 20 6f 6e 20 63 6c 6f 73 65 22 20 61 6e 64 20 22 64 6f 6e 27 74 20 72 65 | ."remove.on.close".and."don't.re |
152860 | 6d 65 6d 62 65 72 22 20 62 6f 74 68 20 6d 61 70 0a 20 20 20 2a 20 74 6f 20 61 6e 20 75 6e 63 68 | member".both.map....*.to.an.unch |
152880 | 65 63 6b 65 64 20 63 68 65 63 6b 62 6f 78 2c 20 77 68 69 6c 65 20 22 72 65 6d 65 6d 62 65 72 22 | ecked.checkbox,.while."remember" |
1528a0 | 20 6d 61 70 73 20 74 6f 20 61 20 63 68 65 63 6b 65 64 20 63 68 65 63 6b 62 6f 78 2e 0a 20 20 20 | .maps.to.a.checked.checkbox..... |
1528c0 | 2a 2f 0a 20 20 72 65 61 64 44 6f 77 6e 6c 6f 61 64 52 65 74 65 6e 74 69 6f 6e 3a 20 66 75 6e 63 | */...readDownloadRetention:.func |
1528e0 | 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 76 61 72 20 70 72 65 66 20 3d 20 64 6f 63 75 6d | tion.()...{.....var.pref.=.docum |
152900 | 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 62 72 6f 77 73 65 72 2e 64 6f 77 6e | ent.getElementById("browser.down |
152920 | 6c 6f 61 64 2e 6d 61 6e 61 67 65 72 2e 72 65 74 65 6e 74 69 6f 6e 22 29 3b 0a 20 20 20 20 72 65 | load.manager.retention");.....re |
152940 | 74 75 72 6e 20 28 70 72 65 66 2e 76 61 6c 75 65 20 3d 3d 20 32 29 3b 0a 20 20 7d 2c 0a 0a 20 20 | turn.(pref.value.==.2);...},.... |
152960 | 2f 2a 2a 0a 20 20 20 2a 20 52 65 74 75 72 6e 73 20 74 68 65 20 61 70 70 72 6f 70 72 69 61 74 65 | /**....*.Returns.the.appropriate |
152980 | 20 76 61 6c 75 65 20 6f 66 20 74 68 65 20 62 72 6f 77 73 65 72 2e 64 6f 77 6e 6c 6f 61 64 2e 6d | .value.of.the.browser.download.m |
1529a0 | 61 6e 61 67 65 72 2e 72 65 74 65 6e 74 69 6f 6e 0a 20 20 20 2a 20 70 72 65 66 65 72 65 6e 63 65 | anager.retention....*.preference |
1529c0 | 20 66 6f 72 20 74 68 65 20 63 75 72 72 65 6e 74 20 55 49 2e 0a 20 20 20 2a 2f 0a 20 20 77 72 69 | .for.the.current.UI.....*/...wri |
1529e0 | 74 65 44 6f 77 6e 6c 6f 61 64 52 65 74 65 6e 74 69 6f 6e 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 | teDownloadRetention:.function.() |
152a00 | 0a 20 20 7b 0a 20 20 20 20 76 61 72 20 63 68 65 63 6b 62 6f 78 20 3d 20 64 6f 63 75 6d 65 6e 74 | ...{.....var.checkbox.=.document |
152a20 | 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 72 65 6d 65 6d 62 65 72 44 6f 77 6e 6c 6f 61 | .getElementById("rememberDownloa |
152a40 | 64 73 22 29 3b 0a 20 20 20 20 72 65 74 75 72 6e 20 63 68 65 63 6b 62 6f 78 2e 63 68 65 63 6b 65 | ds");.....return.checkbox.checke |
152a60 | 64 20 3f 20 32 20 3a 20 30 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2f 20 43 4f 4f 4b 49 45 53 0a 0a 20 | d.?.2.:.0;...},....//.COOKIES... |
152a80 | 20 2f 2a 0a 20 20 20 2a 20 50 72 65 66 65 72 65 6e 63 65 73 3a 0a 20 20 20 2a 0a 20 20 20 2a 20 | ./*....*.Preferences:....*....*. |
152aa0 | 6e 65 74 77 6f 72 6b 2e 63 6f 6f 6b 69 65 2e 63 6f 6f 6b 69 65 42 65 68 61 76 69 6f 72 0a 20 20 | network.cookie.cookieBehavior... |
152ac0 | 20 2a 20 2d 20 64 65 74 65 72 6d 69 6e 65 73 20 68 6f 77 20 74 68 65 20 62 72 6f 77 73 65 72 20 | .*.-.determines.how.the.browser. |
152ae0 | 73 68 6f 75 6c 64 20 68 61 6e 64 6c 65 20 63 6f 6f 6b 69 65 73 3a 0a 20 20 20 2a 20 20 20 20 20 | should.handle.cookies:....*..... |
152b00 | 30 20 20 20 6d 65 61 6e 73 20 65 6e 61 62 6c 65 20 61 6c 6c 20 63 6f 6f 6b 69 65 73 0a 20 20 20 | 0...means.enable.all.cookies.... |
152b20 | 2a 20 20 20 20 20 31 20 20 20 6d 65 61 6e 73 20 72 65 6a 65 63 74 20 74 68 69 72 64 20 70 61 72 | *.....1...means.reject.third.par |
152b40 | 74 79 20 63 6f 6f 6b 69 65 73 3b 20 73 65 65 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 6e 65 74 | ty.cookies;.see....*.........net |
152b60 | 77 65 72 6b 2f 63 6f 6f 6b 69 65 2f 73 72 63 2f 6e 73 43 6f 6f 6b 69 65 53 65 72 76 69 63 65 2e | werk/cookie/src/nsCookieService. |
152b80 | 63 70 70 20 66 6f 72 20 61 20 68 61 69 72 69 65 72 20 64 65 66 69 6e 69 74 69 6f 6e 0a 20 20 20 | cpp.for.a.hairier.definition.... |
152ba0 | 2a 20 20 20 20 20 32 20 20 20 6d 65 61 6e 73 20 64 69 73 61 62 6c 65 20 61 6c 6c 20 63 6f 6f 6b | *.....2...means.disable.all.cook |
152bc0 | 69 65 73 0a 20 20 20 2a 20 6e 65 74 77 6f 72 6b 2e 63 6f 6f 6b 69 65 2e 6c 69 66 65 74 69 6d 65 | ies....*.network.cookie.lifetime |
152be0 | 50 6f 6c 69 63 79 0a 20 20 20 2a 20 2d 20 64 65 74 65 72 6d 69 6e 65 73 20 68 6f 77 20 6c 6f 6e | Policy....*.-.determines.how.lon |
152c00 | 67 20 63 6f 6f 6b 69 65 73 20 61 72 65 20 73 74 6f 72 65 64 3a 0a 20 20 20 2a 20 20 20 20 20 30 | g.cookies.are.stored:....*.....0 |
152c20 | 20 20 20 6d 65 61 6e 73 20 6b 65 65 70 20 63 6f 6f 6b 69 65 73 20 75 6e 74 69 6c 20 74 68 65 79 | ...means.keep.cookies.until.they |
152c40 | 20 65 78 70 69 72 65 0a 20 20 20 2a 20 20 20 20 20 31 20 20 20 6d 65 61 6e 73 20 61 73 6b 20 68 | .expire....*.....1...means.ask.h |
152c60 | 6f 77 20 6c 6f 6e 67 20 74 6f 20 6b 65 65 70 20 65 61 63 68 20 63 6f 6f 6b 69 65 0a 20 20 20 2a | ow.long.to.keep.each.cookie....* |
152c80 | 20 20 20 20 20 32 20 20 20 6d 65 61 6e 73 20 6b 65 65 70 20 63 6f 6f 6b 69 65 73 20 75 6e 74 69 | .....2...means.keep.cookies.unti |
152ca0 | 6c 20 74 68 65 20 62 72 6f 77 73 65 72 20 69 73 20 63 6c 6f 73 65 64 0a 20 20 20 2a 2f 0a 0a 20 | l.the.browser.is.closed....*/... |
152cc0 | 20 2f 2a 2a 0a 20 20 20 2a 20 52 65 61 64 73 20 74 68 65 20 6e 65 74 77 6f 72 6b 2e 63 6f 6f 6b | ./**....*.Reads.the.network.cook |
152ce0 | 69 65 2e 63 6f 6f 6b 69 65 42 65 68 61 76 69 6f 72 20 70 72 65 66 65 72 65 6e 63 65 20 76 61 6c | ie.cookieBehavior.preference.val |
152d00 | 75 65 20 61 6e 64 0a 20 20 20 2a 20 65 6e 61 62 6c 65 73 2f 64 69 73 61 62 6c 65 73 20 74 68 65 | ue.and....*.enables/disables.the |
152d20 | 20 72 65 73 74 20 6f 66 20 74 68 65 20 63 6f 6f 6b 69 65 20 55 49 20 61 63 63 6f 72 64 69 6e 67 | .rest.of.the.cookie.UI.according |
152d40 | 6c 79 2c 20 72 65 74 75 72 6e 69 6e 67 20 74 72 75 65 0a 20 20 20 2a 20 69 66 20 63 6f 6f 6b 69 | ly,.returning.true....*.if.cooki |
152d60 | 65 73 20 61 72 65 20 65 6e 61 62 6c 65 64 2e 0a 20 20 20 2a 2f 0a 20 20 72 65 61 64 41 63 63 65 | es.are.enabled.....*/...readAcce |
152d80 | 70 74 43 6f 6f 6b 69 65 73 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 76 | ptCookies:.function.()...{.....v |
152da0 | 61 72 20 70 72 65 66 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 | ar.pref.=.document.getElementByI |
152dc0 | 64 28 22 6e 65 74 77 6f 72 6b 2e 63 6f 6f 6b 69 65 2e 63 6f 6f 6b 69 65 42 65 68 61 76 69 6f 72 | d("network.cookie.cookieBehavior |
152de0 | 22 29 3b 0a 20 20 20 20 76 61 72 20 61 63 63 65 70 74 54 68 69 72 64 50 61 72 74 79 20 3d 20 64 | ");.....var.acceptThirdParty.=.d |
152e00 | 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 61 63 63 65 70 74 54 68 | ocument.getElementById("acceptTh |
152e20 | 69 72 64 50 61 72 74 79 22 29 3b 0a 20 20 20 20 76 61 72 20 6b 65 65 70 55 6e 74 69 6c 20 3d 20 | irdParty");.....var.keepUntil.=. |
152e40 | 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 6b 65 65 70 55 6e 74 | document.getElementById("keepUnt |
152e60 | 69 6c 22 29 3b 0a 20 20 20 20 76 61 72 20 6d 65 6e 75 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 | il");.....var.menu.=.document.ge |
152e80 | 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 6b 65 65 70 43 6f 6f 6b 69 65 73 55 6e 74 69 6c 22 29 | tElementById("keepCookiesUntil") |
152ea0 | 3b 0a 0a 20 20 20 20 2f 2f 20 65 6e 61 62 6c 65 20 74 68 65 20 72 65 73 74 20 6f 66 20 74 68 65 | ;......//.enable.the.rest.of.the |
152ec0 | 20 55 49 20 66 6f 72 20 61 6e 79 74 68 69 6e 67 20 6f 74 68 65 72 20 74 68 61 6e 20 22 64 69 73 | .UI.for.anything.other.than."dis |
152ee0 | 61 62 6c 65 20 61 6c 6c 20 63 6f 6f 6b 69 65 73 22 0a 20 20 20 20 76 61 72 20 61 63 63 65 70 74 | able.all.cookies".....var.accept |
152f00 | 43 6f 6f 6b 69 65 73 20 3d 20 28 70 72 65 66 2e 76 61 6c 75 65 20 21 3d 20 32 29 3b 0a 0a 20 20 | Cookies.=.(pref.value.!=.2);.... |
152f20 | 20 20 61 63 63 65 70 74 54 68 69 72 64 50 61 72 74 79 2e 64 69 73 61 62 6c 65 64 20 3d 20 21 61 | ..acceptThirdParty.disabled.=.!a |
152f40 | 63 63 65 70 74 43 6f 6f 6b 69 65 73 3b 0a 20 20 20 20 6b 65 65 70 55 6e 74 69 6c 2e 64 69 73 61 | cceptCookies;.....keepUntil.disa |
152f60 | 62 6c 65 64 20 3d 20 6d 65 6e 75 2e 64 69 73 61 62 6c 65 64 20 3d 20 74 68 69 73 2e 5f 61 75 74 | bled.=.menu.disabled.=.this._aut |
152f80 | 6f 53 74 61 72 74 50 72 69 76 61 74 65 42 72 6f 77 73 69 6e 67 20 7c 7c 20 21 61 63 63 65 70 74 | oStartPrivateBrowsing.||.!accept |
152fa0 | 43 6f 6f 6b 69 65 73 3b 0a 20 20 20 20 0a 20 20 20 20 72 65 74 75 72 6e 20 61 63 63 65 70 74 43 | Cookies;..........return.acceptC |
152fc0 | 6f 6f 6b 69 65 73 3b 0a 20 20 7d 2c 0a 0a 20 20 72 65 61 64 41 63 63 65 70 74 54 68 69 72 64 50 | ookies;...},....readAcceptThirdP |
152fe0 | 61 72 74 79 43 6f 6f 6b 69 65 73 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 | artyCookies:.function.()...{.... |
153000 | 20 76 61 72 20 70 72 65 66 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 | .var.pref.=.document.getElementB |
153020 | 79 49 64 28 22 6e 65 74 77 6f 72 6b 2e 63 6f 6f 6b 69 65 2e 63 6f 6f 6b 69 65 42 65 68 61 76 69 | yId("network.cookie.cookieBehavi |
153040 | 6f 72 22 29 3b 0a 20 20 20 20 72 65 74 75 72 6e 20 70 72 65 66 2e 76 61 6c 75 65 20 3d 3d 20 30 | or");.....return.pref.value.==.0 |
153060 | 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 45 6e 61 62 6c 65 73 2f 64 69 73 61 62 | ;...},..../**....*.Enables/disab |
153080 | 6c 65 73 20 74 68 65 20 22 6b 65 65 70 20 75 6e 74 69 6c 22 20 6c 61 62 65 6c 20 61 6e 64 20 6d | les.the."keep.until".label.and.m |
1530a0 | 65 6e 75 6c 69 73 74 20 69 6e 20 72 65 73 70 6f 6e 73 65 20 74 6f 20 74 68 65 0a 20 20 20 2a 20 | enulist.in.response.to.the....*. |
1530c0 | 22 61 63 63 65 70 74 20 63 6f 6f 6b 69 65 73 22 20 63 68 65 63 6b 62 6f 78 20 62 65 69 6e 67 20 | "accept.cookies".checkbox.being. |
1530e0 | 63 68 65 63 6b 65 64 20 6f 72 20 75 6e 63 68 65 63 6b 65 64 2e 0a 20 20 20 2a 2f 0a 20 20 77 72 | checked.or.unchecked.....*/...wr |
153100 | 69 74 65 41 63 63 65 70 74 43 6f 6f 6b 69 65 73 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 | iteAcceptCookies:.function.()... |
153120 | 7b 0a 20 20 20 20 76 61 72 20 61 63 63 65 70 74 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 | {.....var.accept.=.document.getE |
153140 | 6c 65 6d 65 6e 74 42 79 49 64 28 22 61 63 63 65 70 74 43 6f 6f 6b 69 65 73 22 29 3b 0a 20 20 20 | lementById("acceptCookies");.... |
153160 | 20 76 61 72 20 61 63 63 65 70 74 54 68 69 72 64 50 61 72 74 79 20 3d 20 64 6f 63 75 6d 65 6e 74 | .var.acceptThirdParty.=.document |
153180 | 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 61 63 63 65 70 74 54 68 69 72 64 50 61 72 74 | .getElementById("acceptThirdPart |
1531a0 | 79 22 29 3b 0a 0a 20 20 20 20 2f 2f 20 69 66 20 77 65 27 72 65 20 65 6e 61 62 6c 69 6e 67 20 63 | y");......//.if.we're.enabling.c |
1531c0 | 6f 6f 6b 69 65 73 2c 20 61 75 74 6f 6d 61 74 69 63 61 6c 6c 79 20 63 68 65 63 6b 20 27 61 63 63 | ookies,.automatically.check.'acc |
1531e0 | 65 70 74 20 74 68 69 72 64 20 70 61 72 74 79 27 0a 20 20 20 20 69 66 20 28 61 63 63 65 70 74 2e | ept.third.party'.....if.(accept. |
153200 | 63 68 65 63 6b 65 64 29 0a 20 20 20 20 20 20 61 63 63 65 70 74 54 68 69 72 64 50 61 72 74 79 2e | checked).......acceptThirdParty. |
153220 | 63 68 65 63 6b 65 64 20 3d 20 74 72 75 65 3b 0a 0a 20 20 20 20 72 65 74 75 72 6e 20 61 63 63 65 | checked.=.true;......return.acce |
153240 | 70 74 2e 63 68 65 63 6b 65 64 20 3f 20 28 61 63 63 65 70 74 54 68 69 72 64 50 61 72 74 79 2e 63 | pt.checked.?.(acceptThirdParty.c |
153260 | 68 65 63 6b 65 64 20 3f 20 30 20 3a 20 31 29 20 3a 20 32 3b 0a 20 20 7d 2c 0a 0a 20 20 77 72 69 | hecked.?.0.:.1).:.2;...},....wri |
153280 | 74 65 41 63 63 65 70 74 54 68 69 72 64 50 61 72 74 79 43 6f 6f 6b 69 65 73 3a 20 66 75 6e 63 74 | teAcceptThirdPartyCookies:.funct |
1532a0 | 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 76 61 72 20 61 63 63 65 70 74 20 3d 20 64 6f 63 75 | ion.()...{.....var.accept.=.docu |
1532c0 | 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 61 63 63 65 70 74 43 6f 6f 6b 69 | ment.getElementById("acceptCooki |
1532e0 | 65 73 22 29 3b 0a 20 20 20 20 76 61 72 20 61 63 63 65 70 74 54 68 69 72 64 50 61 72 74 79 20 3d | es");.....var.acceptThirdParty.= |
153300 | 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 61 63 63 65 70 74 | .document.getElementById("accept |
153320 | 54 68 69 72 64 50 61 72 74 79 22 29 3b 0a 20 20 20 20 72 65 74 75 72 6e 20 61 63 63 65 70 74 2e | ThirdParty");.....return.accept. |
153340 | 63 68 65 63 6b 65 64 20 3f 20 28 61 63 63 65 70 74 54 68 69 72 64 50 61 72 74 79 2e 63 68 65 63 | checked.?.(acceptThirdParty.chec |
153360 | 6b 65 64 20 3f 20 30 20 3a 20 31 29 20 3a 20 32 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 | ked.?.0.:.1).:.2;...},..../**... |
153380 | 20 2a 20 44 69 73 70 6c 61 79 73 20 66 69 6e 65 2d 67 72 61 69 6e 65 64 2c 20 70 65 72 2d 73 69 | .*.Displays.fine-grained,.per-si |
1533a0 | 74 65 20 70 72 65 66 65 72 65 6e 63 65 73 20 66 6f 72 20 63 6f 6f 6b 69 65 73 2e 0a 20 20 20 2a | te.preferences.for.cookies.....* |
1533c0 | 2f 0a 20 20 73 68 6f 77 43 6f 6f 6b 69 65 45 78 63 65 70 74 69 6f 6e 73 3a 20 66 75 6e 63 74 69 | /...showCookieExceptions:.functi |
1533e0 | 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 76 61 72 20 62 75 6e 64 6c 65 50 72 65 66 65 72 65 6e | on.()...{.....var.bundlePreferen |
153400 | 63 65 73 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 62 | ces.=.document.getElementById("b |
153420 | 75 6e 64 6c 65 50 72 65 66 65 72 65 6e 63 65 73 22 29 3b 0a 20 20 20 20 76 61 72 20 70 61 72 61 | undlePreferences");.....var.para |
153440 | 6d 73 20 3d 20 7b 20 62 6c 6f 63 6b 56 69 73 69 62 6c 65 20 20 20 3a 20 74 72 75 65 2c 20 0a 20 | ms.=.{.blockVisible...:.true,... |
153460 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 65 73 73 69 6f 6e 56 69 73 69 62 6c 65 | ..................sessionVisible |
153480 | 20 3a 20 74 72 75 65 2c 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 6c 6c | .:.true,.....................all |
1534a0 | 6f 77 56 69 73 69 62 6c 65 20 20 20 3a 20 74 72 75 65 2c 20 0a 20 20 20 20 20 20 20 20 20 20 20 | owVisible...:.true,............. |
1534c0 | 20 20 20 20 20 20 20 20 70 72 65 66 69 6c 6c 65 64 48 6f 73 74 20 20 3a 20 22 22 2c 20 0a 20 20 | ........prefilledHost..:."",.... |
1534e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 65 72 6d 69 73 73 69 6f 6e 54 79 70 65 20 | .................permissionType. |
153500 | 3a 20 22 63 6f 6f 6b 69 65 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 77 | :."cookie",....................w |
153520 | 69 6e 64 6f 77 54 69 74 6c 65 20 20 20 20 3a 20 62 75 6e 64 6c 65 50 72 65 66 65 72 65 6e 63 65 | indowTitle....:.bundlePreference |
153540 | 73 2e 67 65 74 53 74 72 69 6e 67 28 22 63 6f 6f 6b 69 65 70 65 72 6d 69 73 73 69 6f 6e 73 74 69 | s.getString("cookiepermissionsti |
153560 | 74 6c 65 22 29 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 74 72 6f 54 | tle"),....................introT |
153580 | 65 78 74 20 20 20 20 20 20 3a 20 62 75 6e 64 6c 65 50 72 65 66 65 72 65 6e 63 65 73 2e 67 65 74 | ext......:.bundlePreferences.get |
1535a0 | 53 74 72 69 6e 67 28 22 63 6f 6f 6b 69 65 70 65 72 6d 69 73 73 69 6f 6e 73 74 65 78 74 22 29 20 | String("cookiepermissionstext"). |
1535c0 | 7d 3b 0a 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 64 6f 63 75 6d 65 6e 74 45 6c 65 6d 65 6e 74 2e | };.....document.documentElement. |
1535e0 | 6f 70 65 6e 57 69 6e 64 6f 77 28 22 42 72 6f 77 73 65 72 3a 50 65 72 6d 69 73 73 69 6f 6e 73 22 | openWindow("Browser:Permissions" |
153600 | 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ,............................... |
153620 | 20 20 20 20 20 20 20 20 20 20 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 | .........."chrome://browser/cont |
153640 | 65 6e 74 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 70 65 72 6d 69 73 73 69 6f 6e 73 2e 78 75 6c 22 | ent/preferences/permissions.xul" |
153660 | 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ,............................... |
153680 | 20 20 20 20 20 20 20 20 20 20 22 22 2c 20 70 61 72 61 6d 73 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f | .........."",.params);...},..../ |
1536a0 | 2a 2a 0a 20 20 20 2a 20 44 69 73 70 6c 61 79 73 20 61 6c 6c 20 74 68 65 20 75 73 65 72 27 73 20 | **....*.Displays.all.the.user's. |
1536c0 | 63 6f 6f 6b 69 65 73 20 69 6e 20 61 20 64 69 61 6c 6f 67 2e 0a 20 20 20 2a 2f 20 20 0a 20 20 73 | cookies.in.a.dialog.....*/.....s |
1536e0 | 68 6f 77 43 6f 6f 6b 69 65 73 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 43 61 74 65 67 6f 72 79 29 | howCookies:.function.(aCategory) |
153700 | 0a 20 20 7b 0a 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 64 6f 63 75 6d 65 6e 74 45 6c 65 6d 65 6e | ...{.....document.documentElemen |
153720 | 74 2e 6f 70 65 6e 57 69 6e 64 6f 77 28 22 42 72 6f 77 73 65 72 3a 43 6f 6f 6b 69 65 73 22 2c 0a | t.openWindow("Browser:Cookies",. |
153740 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
153760 | 20 20 20 20 20 20 20 20 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e | ........"chrome://browser/conten |
153780 | 74 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 63 6f 6f 6b 69 65 73 2e 78 75 6c 22 2c 0a 20 20 20 20 | t/preferences/cookies.xul",..... |
1537a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
1537c0 | 20 20 20 20 22 22 2c 20 6e 75 6c 6c 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2f 20 43 4c 45 41 52 20 | ...."",.null);...},....//.CLEAR. |
1537e0 | 50 52 49 56 41 54 45 20 44 41 54 41 0a 0a 20 20 2f 2a 0a 20 20 20 2a 20 50 72 65 66 65 72 65 6e | PRIVATE.DATA..../*....*.Preferen |
153800 | 63 65 73 3a 0a 20 20 20 2a 0a 20 20 20 2a 20 70 72 69 76 61 63 79 2e 73 61 6e 69 74 69 7a 65 2e | ces:....*....*.privacy.sanitize. |
153820 | 73 61 6e 69 74 69 7a 65 4f 6e 53 68 75 74 64 6f 77 6e 0a 20 20 20 2a 20 2d 20 74 72 75 65 20 69 | sanitizeOnShutdown....*.-.true.i |
153840 | 66 20 74 68 65 20 75 73 65 72 27 73 20 70 72 69 76 61 74 65 20 64 61 74 61 20 69 73 20 63 6c 65 | f.the.user's.private.data.is.cle |
153860 | 61 72 65 64 20 6f 6e 20 73 74 61 72 74 75 70 20 61 63 63 6f 72 64 69 6e 67 20 74 6f 20 74 68 65 | ared.on.startup.according.to.the |
153880 | 0a 20 20 20 2a 20 20 20 43 6c 65 61 72 20 50 72 69 76 61 74 65 20 44 61 74 61 20 73 65 74 74 69 | ....*...Clear.Private.Data.setti |
1538a0 | 6e 67 73 2c 20 66 61 6c 73 65 20 6f 74 68 65 72 77 69 73 65 0a 20 20 20 2a 2f 0a 0a 20 20 2f 2a | ngs,.false.otherwise....*/..../* |
1538c0 | 2a 0a 20 20 20 2a 20 44 69 73 70 6c 61 79 73 20 74 68 65 20 43 6c 65 61 72 20 50 72 69 76 61 74 | *....*.Displays.the.Clear.Privat |
1538e0 | 65 20 44 61 74 61 20 73 65 74 74 69 6e 67 73 20 64 69 61 6c 6f 67 2e 0a 20 20 20 2a 2f 0a 20 20 | e.Data.settings.dialog.....*/... |
153900 | 73 68 6f 77 43 6c 65 61 72 50 72 69 76 61 74 65 44 61 74 61 53 65 74 74 69 6e 67 73 3a 20 66 75 | showClearPrivateDataSettings:.fu |
153920 | 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 64 6f 63 75 6d | nction.()...{.....document.docum |
153940 | 65 6e 74 45 6c 65 6d 65 6e 74 2e 6f 70 65 6e 53 75 62 44 69 61 6c 6f 67 28 22 63 68 72 6f 6d 65 | entElement.openSubDialog("chrome |
153960 | 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 73 | ://browser/content/preferences/s |
153980 | 61 6e 69 74 69 7a 65 2e 78 75 6c 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | anitize.xul",................... |
1539a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 22 2c 20 6e 75 6c | ........................."",.nul |
1539c0 | 6c 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 44 69 73 70 6c 61 79 73 20 61 20 | l);...},..../**....*.Displays.a. |
1539e0 | 64 69 61 6c 6f 67 20 66 72 6f 6d 20 77 68 69 63 68 20 69 6e 64 69 76 69 64 75 61 6c 20 70 61 72 | dialog.from.which.individual.par |
153a00 | 74 73 20 6f 66 20 70 72 69 76 61 74 65 20 64 61 74 61 20 6d 61 79 20 62 65 0a 20 20 20 2a 20 63 | ts.of.private.data.may.be....*.c |
153a20 | 6c 65 61 72 65 64 2e 0a 20 20 20 2a 2f 0a 20 20 63 6c 65 61 72 50 72 69 76 61 74 65 44 61 74 61 | leared.....*/...clearPrivateData |
153a40 | 4e 6f 77 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 43 6c 65 61 72 45 76 65 72 79 74 68 69 6e 67 29 | Now:.function.(aClearEverything) |
153a60 | 0a 20 20 7b 0a 20 20 20 20 76 61 72 20 74 73 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c | ...{.....var.ts.=.document.getEl |
153a80 | 65 6d 65 6e 74 42 79 49 64 28 22 70 72 69 76 61 63 79 2e 73 61 6e 69 74 69 7a 65 2e 74 69 6d 65 | ementById("privacy.sanitize.time |
153aa0 | 53 70 61 6e 22 29 3b 0a 20 20 20 20 76 61 72 20 74 69 6d 65 53 70 61 6e 4f 72 69 67 20 3d 20 74 | Span");.....var.timeSpanOrig.=.t |
153ac0 | 73 2e 76 61 6c 75 65 3b 0a 20 20 20 20 69 66 20 28 61 43 6c 65 61 72 45 76 65 72 79 74 68 69 6e | s.value;.....if.(aClearEverythin |
153ae0 | 67 29 0a 20 20 20 20 20 20 74 73 2e 76 61 6c 75 65 20 3d 20 30 3b 0a 0a 20 20 20 20 63 6f 6e 73 | g).......ts.value.=.0;......cons |
153b00 | 74 20 43 63 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 2c 20 43 69 20 3d 20 | t.Cc.=.Components.classes,.Ci.=. |
153b20 | 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 3b 0a 20 20 20 20 76 61 72 20 67 | Components.interfaces;.....var.g |
153b40 | 6c 75 65 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 62 72 6f 77 73 65 72 2f 62 | lue.=.Cc["@mozilla.org/browser/b |
153b60 | 72 6f 77 73 65 72 67 6c 75 65 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | rowserglue;1"].................. |
153b80 | 2e 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 42 72 6f 77 73 65 72 47 6c 75 65 29 3b 0a | .getService(Ci.nsIBrowserGlue);. |
153ba0 | 20 20 20 20 67 6c 75 65 2e 73 61 6e 69 74 69 7a 65 28 77 69 6e 64 6f 77 20 7c 7c 20 6e 75 6c 6c | ....glue.sanitize(window.||.null |
153bc0 | 29 3b 0a 0a 20 20 20 20 2f 2f 20 72 65 73 65 74 20 74 68 65 20 74 69 6d 65 53 70 61 6e 20 70 72 | );......//.reset.the.timeSpan.pr |
153be0 | 65 66 0a 20 20 20 20 69 66 20 28 61 43 6c 65 61 72 45 76 65 72 79 74 68 69 6e 67 29 0a 20 20 20 | ef.....if.(aClearEverything).... |
153c00 | 20 20 20 74 73 2e 76 61 6c 75 65 20 3d 20 74 69 6d 65 53 70 61 6e 4f 72 69 67 3b 0a 20 20 7d 2c | ...ts.value.=.timeSpanOrig;...}, |
153c20 | 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 45 6e 61 62 6c 65 73 20 6f 72 20 64 69 73 61 62 6c 65 73 | ..../**....*.Enables.or.disables |
153c40 | 20 74 68 65 20 22 53 65 74 74 69 6e 67 73 2e 2e 2e 22 20 62 75 74 74 6f 6e 20 64 65 70 65 6e 64 | .the."Settings...".button.depend |
153c60 | 69 6e 67 0a 20 20 20 2a 20 6f 6e 20 74 68 65 20 70 72 69 76 61 63 79 2e 73 61 6e 69 74 69 7a 65 | ing....*.on.the.privacy.sanitize |
153c80 | 2e 73 61 6e 69 74 69 7a 65 4f 6e 53 68 75 74 64 6f 77 6e 20 70 72 65 66 65 72 65 6e 63 65 20 76 | .sanitizeOnShutdown.preference.v |
153ca0 | 61 6c 75 65 0a 20 20 20 2a 2f 0a 20 20 5f 75 70 64 61 74 65 53 61 6e 69 74 69 7a 65 53 65 74 74 | alue....*/..._updateSanitizeSett |
153cc0 | 69 6e 67 73 42 75 74 74 6f 6e 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 20 7b 0a 20 20 20 | ingsButton:.function.()....{.... |
153ce0 | 20 76 61 72 20 73 65 74 74 69 6e 67 73 42 75 74 74 6f 6e 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 | .var.settingsButton.=.document.g |
153d00 | 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 63 6c 65 61 72 44 61 74 61 53 65 74 74 69 6e 67 73 | etElementById("clearDataSettings |
153d20 | 22 29 3b 0a 20 20 20 20 76 61 72 20 73 61 6e 69 74 69 7a 65 4f 6e 53 68 75 74 64 6f 77 6e 50 72 | ");.....var.sanitizeOnShutdownPr |
153d40 | 65 66 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 70 72 | ef.=.document.getElementById("pr |
153d60 | 69 76 61 63 79 2e 73 61 6e 69 74 69 7a 65 2e 73 61 6e 69 74 69 7a 65 4f 6e 53 68 75 74 64 6f 77 | ivacy.sanitize.sanitizeOnShutdow |
153d80 | 6e 22 29 3b 0a 20 20 20 20 0a 20 20 20 20 73 65 74 74 69 6e 67 73 42 75 74 74 6f 6e 2e 64 69 73 | n");..........settingsButton.dis |
153da0 | 61 62 6c 65 64 20 3d 20 21 73 61 6e 69 74 69 7a 65 4f 6e 53 68 75 74 64 6f 77 6e 50 72 65 66 2e | abled.=.!sanitizeOnShutdownPref. |
153dc0 | 76 61 6c 75 65 3b 20 20 09 0a 20 20 20 7d 0a 0a 7d 3b 0a 50 4b 03 04 14 00 00 00 00 00 f3 4b 18 | value;.......}..};.PK.........K. |
153de0 | 3b 5a 9a f9 69 fd 11 00 00 fd 11 00 00 28 00 00 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 | ;Z..i........(...content/browser |
153e00 | 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 73 61 6e 69 74 69 7a 65 2e 78 75 6c 3c 3f 78 6d 6c 20 76 | /preferences/sanitize.xul<?xml.v |
153e20 | 65 72 73 69 6f 6e 3d 22 31 2e 30 22 3f 3e 0a 0a 0a 3c 3f 78 6d 6c 2d 73 74 79 6c 65 73 68 65 65 | ersion="1.0"?>...<?xml-styleshee |
153e40 | 74 20 68 72 65 66 3d 22 63 68 72 6f 6d 65 3a 2f 2f 67 6c 6f 62 61 6c 2f 73 6b 69 6e 2f 22 3f 3e | t.href="chrome://global/skin/"?> |
153e60 | 0a 3c 3f 78 6d 6c 2d 73 74 79 6c 65 73 68 65 65 74 20 68 72 65 66 3d 22 63 68 72 6f 6d 65 3a 2f | .<?xml-stylesheet.href="chrome:/ |
153e80 | 2f 62 72 6f 77 73 65 72 2f 73 6b 69 6e 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 70 72 65 66 65 72 | /browser/skin/preferences/prefer |
153ea0 | 65 6e 63 65 73 2e 63 73 73 22 20 74 79 70 65 3d 22 74 65 78 74 2f 63 73 73 22 3f 3e 20 0a 0a 3c | ences.css".type="text/css"?>...< |
153ec0 | 21 44 4f 43 54 59 50 45 20 64 69 61 6c 6f 67 20 5b 0a 20 20 3c 21 45 4e 54 49 54 59 20 25 20 62 | !DOCTYPE.dialog.[...<!ENTITY.%.b |
153ee0 | 72 61 6e 64 44 54 44 20 53 59 53 54 45 4d 20 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 61 6e 64 69 6e | randDTD.SYSTEM."chrome://brandin |
153f00 | 67 2f 6c 6f 63 61 6c 65 2f 62 72 61 6e 64 2e 64 74 64 22 3e 0a 20 20 3c 21 45 4e 54 49 54 59 20 | g/locale/brand.dtd">...<!ENTITY. |
153f20 | 25 20 73 61 6e 69 74 69 7a 65 44 54 44 20 53 59 53 54 45 4d 20 22 63 68 72 6f 6d 65 3a 2f 2f 62 | %.sanitizeDTD.SYSTEM."chrome://b |
153f40 | 72 6f 77 73 65 72 2f 6c 6f 63 61 6c 65 2f 73 61 6e 69 74 69 7a 65 2e 64 74 64 22 3e 0a 20 20 25 | rowser/locale/sanitize.dtd">...% |
153f60 | 62 72 61 6e 64 44 54 44 3b 0a 20 20 25 73 61 6e 69 74 69 7a 65 44 54 44 3b 0a 5d 3e 0a 0a 3c 70 | brandDTD;...%sanitizeDTD;.]>..<p |
153f80 | 72 65 66 77 69 6e 64 6f 77 20 69 64 3d 22 53 61 6e 69 74 69 7a 65 44 69 61 6c 6f 67 22 20 74 79 | refwindow.id="SanitizeDialog".ty |
153fa0 | 70 65 3d 22 63 68 69 6c 64 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 78 6d 6c 6e 73 3d 22 68 74 | pe="child".............xmlns="ht |
153fc0 | 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6b 65 79 6d 61 73 74 65 72 2f 67 | tp://www.mozilla.org/keymaster/g |
153fe0 | 61 74 65 6b 65 65 70 65 72 2f 74 68 65 72 65 2e 69 73 2e 6f 6e 6c 79 2e 78 75 6c 22 0a 20 20 20 | atekeeper/there.is.only.xul".... |
154000 | 20 20 20 20 20 20 20 20 20 64 6c 67 62 75 74 74 6f 6e 73 3d 22 61 63 63 65 70 74 2c 63 61 6e 63 | .........dlgbuttons="accept,canc |
154020 | 65 6c 2c 68 65 6c 70 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 64 69 61 6c 6f 67 68 65 6c | el,help".............ondialoghel |
154040 | 70 3d 22 6f 70 65 6e 50 72 65 66 73 48 65 6c 70 28 29 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 | p="openPrefsHelp()"............. |
154060 | 73 74 79 6c 65 3d 22 77 69 64 74 68 3a 20 26 64 69 61 6c 6f 67 2e 77 69 64 74 68 3b 3b 22 0a 20 | style="width:.&dialog.width;;".. |
154080 | 20 20 20 20 20 20 20 20 20 20 20 74 69 74 6c 65 3d 22 26 73 61 6e 69 74 69 7a 65 50 72 65 66 73 | ...........title="&sanitizePrefs |
1540a0 | 32 2e 74 69 74 6c 65 3b 22 3e 0a 0a 20 20 3c 73 63 72 69 70 74 20 74 79 70 65 3d 22 61 70 70 6c | 2.title;">....<script.type="appl |
1540c0 | 69 63 61 74 69 6f 6e 2f 6a 61 76 61 73 63 72 69 70 74 22 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a | ication/javascript".src="chrome: |
1540e0 | 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 75 74 69 6c 69 74 79 4f 76 65 72 6c 61 79 | //browser/content/utilityOverlay |
154100 | 2e 6a 73 22 2f 3e 0a 0a 20 20 3c 70 72 65 66 70 61 6e 65 20 69 64 3d 22 53 61 6e 69 74 69 7a 65 | .js"/>....<prefpane.id="Sanitize |
154120 | 44 69 61 6c 6f 67 50 61 6e 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 68 65 6c 70 54 6f 70 69 | DialogPane".............helpTopi |
154140 | 63 3d 22 70 72 65 66 73 2d 63 6c 65 61 72 2d 70 72 69 76 61 74 65 2d 64 61 74 61 22 3e 0a 0a 20 | c="prefs-clear-private-data">... |
154160 | 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 73 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e | ...<preferences>.......<preferen |
154180 | 63 65 20 69 64 3d 22 70 72 69 76 61 63 79 2e 63 6c 65 61 72 4f 6e 53 68 75 74 64 6f 77 6e 2e 68 | ce.id="privacy.clearOnShutdown.h |
1541a0 | 69 73 74 6f 72 79 22 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 61 6d 65 3d 22 70 72 69 76 | istory"...............name="priv |
1541c0 | 61 63 79 2e 63 6c 65 61 72 4f 6e 53 68 75 74 64 6f 77 6e 2e 68 69 73 74 6f 72 79 22 20 20 20 20 | acy.clearOnShutdown.history".... |
1541e0 | 20 20 20 20 20 20 20 20 20 20 20 74 79 70 65 3d 22 62 6f 6f 6c 22 2f 3e 0a 20 20 20 20 20 20 3c | ...........type="bool"/>.......< |
154200 | 70 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 70 72 69 76 61 63 79 2e 63 6c 65 61 72 4f 6e 53 68 | preference.id="privacy.clearOnSh |
154220 | 75 74 64 6f 77 6e 2e 66 6f 72 6d 64 61 74 61 22 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 61 | utdown.formdata"..............na |
154240 | 6d 65 3d 22 70 72 69 76 61 63 79 2e 63 6c 65 61 72 4f 6e 53 68 75 74 64 6f 77 6e 2e 66 6f 72 6d | me="privacy.clearOnShutdown.form |
154260 | 64 61 74 61 22 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 79 70 65 3d 22 62 6f 6f 6c 22 2f 3e | data"..............type="bool"/> |
154280 | 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 70 72 69 76 61 63 79 2e 63 | .......<preference.id="privacy.c |
1542a0 | 6c 65 61 72 4f 6e 53 68 75 74 64 6f 77 6e 2e 70 61 73 73 77 6f 72 64 73 22 20 20 20 20 20 20 20 | learOnShutdown.passwords"....... |
1542c0 | 20 20 20 20 20 20 6e 61 6d 65 3d 22 70 72 69 76 61 63 79 2e 63 6c 65 61 72 4f 6e 53 68 75 74 64 | ......name="privacy.clearOnShutd |
1542e0 | 6f 77 6e 2e 70 61 73 73 77 6f 72 64 73 22 20 20 20 20 20 20 20 20 20 20 20 20 20 74 79 70 65 3d | own.passwords".............type= |
154300 | 22 62 6f 6f 6c 22 2f 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 70 | "bool"/>.......<preference.id="p |
154320 | 72 69 76 61 63 79 2e 63 6c 65 61 72 4f 6e 53 68 75 74 64 6f 77 6e 2e 64 6f 77 6e 6c 6f 61 64 73 | rivacy.clearOnShutdown.downloads |
154340 | 22 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 61 6d 65 3d 22 70 72 69 76 61 63 79 2e 63 6c 65 61 | ".............name="privacy.clea |
154360 | 72 4f 6e 53 68 75 74 64 6f 77 6e 2e 64 6f 77 6e 6c 6f 61 64 73 22 20 20 20 20 20 20 20 20 20 20 | rOnShutdown.downloads".......... |
154380 | 20 20 20 74 79 70 65 3d 22 62 6f 6f 6c 22 2f 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e | ...type="bool"/>.......<preferen |
1543a0 | 63 65 20 69 64 3d 22 70 72 69 76 61 63 79 2e 63 6c 65 61 72 4f 6e 53 68 75 74 64 6f 77 6e 2e 63 | ce.id="privacy.clearOnShutdown.c |
1543c0 | 6f 6f 6b 69 65 73 22 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 61 6d 65 3d 22 70 72 69 76 | ookies"...............name="priv |
1543e0 | 61 63 79 2e 63 6c 65 61 72 4f 6e 53 68 75 74 64 6f 77 6e 2e 63 6f 6f 6b 69 65 73 22 20 20 20 20 | acy.clearOnShutdown.cookies".... |
154400 | 20 20 20 20 20 20 20 20 20 20 20 74 79 70 65 3d 22 62 6f 6f 6c 22 2f 3e 0a 20 20 20 20 20 20 3c | ...........type="bool"/>.......< |
154420 | 70 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 70 72 69 76 61 63 79 2e 63 6c 65 61 72 4f 6e 53 68 | preference.id="privacy.clearOnSh |
154440 | 75 74 64 6f 77 6e 2e 63 61 63 68 65 22 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 61 | utdown.cache".................na |
154460 | 6d 65 3d 22 70 72 69 76 61 63 79 2e 63 6c 65 61 72 4f 6e 53 68 75 74 64 6f 77 6e 2e 63 61 63 68 | me="privacy.clearOnShutdown.cach |
154480 | 65 22 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 79 70 65 3d 22 62 6f 6f 6c 22 2f 3e | e".................type="bool"/> |
1544a0 | 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 70 72 69 76 61 63 79 2e 63 | .......<preference.id="privacy.c |
1544c0 | 6c 65 61 72 4f 6e 53 68 75 74 64 6f 77 6e 2e 6f 66 66 6c 69 6e 65 41 70 70 73 22 20 20 20 20 20 | learOnShutdown.offlineApps"..... |
1544e0 | 20 20 20 20 20 20 6e 61 6d 65 3d 22 70 72 69 76 61 63 79 2e 63 6c 65 61 72 4f 6e 53 68 75 74 64 | ......name="privacy.clearOnShutd |
154500 | 6f 77 6e 2e 6f 66 66 6c 69 6e 65 41 70 70 73 22 20 20 20 20 20 20 20 20 20 20 20 74 79 70 65 3d | own.offlineApps"...........type= |
154520 | 22 62 6f 6f 6c 22 2f 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 70 | "bool"/>.......<preference.id="p |
154540 | 72 69 76 61 63 79 2e 63 6c 65 61 72 4f 6e 53 68 75 74 64 6f 77 6e 2e 73 65 73 73 69 6f 6e 73 22 | rivacy.clearOnShutdown.sessions" |
154560 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 61 6d 65 3d 22 70 72 69 76 61 63 79 2e 63 6c 65 61 | ..............name="privacy.clea |
154580 | 72 4f 6e 53 68 75 74 64 6f 77 6e 2e 73 65 73 73 69 6f 6e 73 22 20 20 20 20 20 20 20 20 20 20 20 | rOnShutdown.sessions"........... |
1545a0 | 20 20 20 74 79 70 65 3d 22 62 6f 6f 6c 22 2f 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e | ...type="bool"/>.......<preferen |
1545c0 | 63 65 20 69 64 3d 22 70 72 69 76 61 63 79 2e 63 6c 65 61 72 4f 6e 53 68 75 74 64 6f 77 6e 2e 73 | ce.id="privacy.clearOnShutdown.s |
1545e0 | 69 74 65 53 65 74 74 69 6e 67 73 22 20 20 20 20 20 20 20 20 20 20 6e 61 6d 65 3d 22 70 72 69 76 | iteSettings"..........name="priv |
154600 | 61 63 79 2e 63 6c 65 61 72 4f 6e 53 68 75 74 64 6f 77 6e 2e 73 69 74 65 53 65 74 74 69 6e 67 73 | acy.clearOnShutdown.siteSettings |
154620 | 22 20 20 20 20 20 20 20 20 20 20 74 79 70 65 3d 22 62 6f 6f 6c 22 2f 3e 0a 20 20 20 20 3c 2f 70 | "..........type="bool"/>.....</p |
154640 | 72 65 66 65 72 65 6e 63 65 73 3e 0a 0a 20 20 20 20 3c 64 65 73 63 72 69 70 74 69 6f 6e 3e 26 63 | references>......<description>&c |
154660 | 6c 65 61 72 44 61 74 61 53 65 74 74 69 6e 67 73 32 2e 6c 61 62 65 6c 3b 3c 2f 64 65 73 63 72 69 | learDataSettings2.label;</descri |
154680 | 70 74 69 6f 6e 3e 0a 0a 20 20 20 20 3c 67 72 6f 75 70 62 6f 78 20 6f 72 69 65 6e 74 3d 22 68 6f | ption>......<groupbox.orient="ho |
1546a0 | 72 69 7a 6f 6e 74 61 6c 22 3e 0a 20 20 20 20 20 20 3c 63 61 70 74 69 6f 6e 20 6c 61 62 65 6c 3d | rizontal">.......<caption.label= |
1546c0 | 22 26 68 69 73 74 6f 72 79 53 65 63 74 69 6f 6e 2e 6c 61 62 65 6c 3b 22 2f 3e 0a 20 20 20 20 20 | "&historySection.label;"/>...... |
1546e0 | 20 3c 67 72 69 64 20 66 6c 65 78 3d 22 31 22 3e 0a 20 20 20 20 20 20 20 20 3c 63 6f 6c 75 6d 6e | .<grid.flex="1">.........<column |
154700 | 73 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 63 6f 6c 75 6d 6e 20 73 74 79 6c 65 3d 22 77 69 64 74 | s>...........<column.style="widt |
154720 | 68 3a 20 26 63 6f 6c 75 6d 6e 2e 77 69 64 74 68 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c | h:.&column.width;"/>...........< |
154740 | 63 6f 6c 75 6d 6e 20 66 6c 65 78 3d 22 31 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 2f 63 6f 6c 75 | column.flex="1"/>.........</colu |
154760 | 6d 6e 73 3e 0a 20 20 20 20 20 20 20 20 3c 72 6f 77 73 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 72 | mns>.........<rows>...........<r |
154780 | 6f 77 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 63 68 65 63 6b 62 6f 78 20 6c 61 62 65 6c 3d | ow>.............<checkbox.label= |
1547a0 | 22 26 69 74 65 6d 42 72 6f 77 73 69 6e 67 48 69 73 74 6f 72 79 2e 6c 61 62 65 6c 3b 22 0a 20 20 | "&itemBrowsingHistory.label;"... |
1547c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 | ....................accesskey="& |
1547e0 | 69 74 65 6d 42 72 6f 77 73 69 6e 67 48 69 73 74 6f 72 79 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a | itemBrowsingHistory.accesskey;". |
154800 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 65 66 65 72 65 6e 63 65 | ......................preference |
154820 | 3d 22 70 72 69 76 61 63 79 2e 63 6c 65 61 72 4f 6e 53 68 75 74 64 6f 77 6e 2e 68 69 73 74 6f 72 | ="privacy.clearOnShutdown.histor |
154840 | 79 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 63 68 65 63 6b 62 6f 78 20 6c 61 62 65 6c | y"/>.............<checkbox.label |
154860 | 3d 22 26 69 74 65 6d 43 6f 6f 6b 69 65 73 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 | ="&itemCookies.label;".......... |
154880 | 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 69 74 65 6d 43 6f 6f | .............accesskey="&itemCoo |
1548a0 | 6b 69 65 73 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | kies.accesskey;"................ |
1548c0 | 20 20 20 20 20 20 20 70 72 65 66 65 72 65 6e 63 65 3d 22 70 72 69 76 61 63 79 2e 63 6c 65 61 72 | .......preference="privacy.clear |
1548e0 | 4f 6e 53 68 75 74 64 6f 77 6e 2e 63 6f 6f 6b 69 65 73 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 | OnShutdown.cookies"/>........... |
154900 | 3c 2f 72 6f 77 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 72 6f 77 3e 0a 20 20 20 20 20 20 20 20 20 | </row>...........<row>.......... |
154920 | 20 20 20 3c 63 68 65 63 6b 62 6f 78 20 6c 61 62 65 6c 3d 22 26 69 74 65 6d 44 6f 77 6e 6c 6f 61 | ...<checkbox.label="&itemDownloa |
154940 | 64 48 69 73 74 6f 72 79 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | dHistory.label;"................ |
154960 | 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 69 74 65 6d 44 6f 77 6e 6c 6f 61 64 48 | .......accesskey="&itemDownloadH |
154980 | 69 73 74 6f 72 79 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | istory.accesskey;".............. |
1549a0 | 20 20 20 20 20 20 20 20 20 70 72 65 66 65 72 65 6e 63 65 3d 22 70 72 69 76 61 63 79 2e 63 6c 65 | .........preference="privacy.cle |
1549c0 | 61 72 4f 6e 53 68 75 74 64 6f 77 6e 2e 64 6f 77 6e 6c 6f 61 64 73 22 2f 3e 0a 20 20 20 20 20 20 | arOnShutdown.downloads"/>....... |
1549e0 | 20 20 20 20 20 20 3c 63 68 65 63 6b 62 6f 78 20 6c 61 62 65 6c 3d 22 26 69 74 65 6d 41 63 74 69 | ......<checkbox.label="&itemActi |
154a00 | 76 65 4c 6f 67 69 6e 73 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | veLogins.label;"................ |
154a20 | 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 69 74 65 6d 41 63 74 69 76 65 4c 6f 67 | .......accesskey="&itemActiveLog |
154a40 | 69 6e 73 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ins.accesskey;"................. |
154a60 | 20 20 20 20 20 20 70 72 65 66 65 72 65 6e 63 65 3d 22 70 72 69 76 61 63 79 2e 63 6c 65 61 72 4f | ......preference="privacy.clearO |
154a80 | 6e 53 68 75 74 64 6f 77 6e 2e 73 65 73 73 69 6f 6e 73 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 | nShutdown.sessions"/>........... |
154aa0 | 3c 2f 72 6f 77 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 72 6f 77 3e 0a 20 20 20 20 20 20 20 20 20 | </row>...........<row>.......... |
154ac0 | 20 20 20 3c 63 68 65 63 6b 62 6f 78 20 6c 61 62 65 6c 3d 22 26 69 74 65 6d 46 6f 72 6d 53 65 61 | ...<checkbox.label="&itemFormSea |
154ae0 | 72 63 68 48 69 73 74 6f 72 79 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | rchHistory.label;".............. |
154b00 | 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 69 74 65 6d 46 6f 72 6d 53 65 61 | .........accesskey="&itemFormSea |
154b20 | 72 63 68 48 69 73 74 6f 72 79 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 | rchHistory.accesskey;".......... |
154b40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 65 66 65 72 65 6e 63 65 3d 22 70 72 69 76 61 63 79 | .............preference="privacy |
154b60 | 2e 63 6c 65 61 72 4f 6e 53 68 75 74 64 6f 77 6e 2e 66 6f 72 6d 64 61 74 61 22 2f 3e 0a 20 20 20 | .clearOnShutdown.formdata"/>.... |
154b80 | 20 20 20 20 20 20 20 20 20 3c 63 68 65 63 6b 62 6f 78 20 6c 61 62 65 6c 3d 22 26 69 74 65 6d 43 | .........<checkbox.label="&itemC |
154ba0 | 61 63 68 65 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ache.label;".................... |
154bc0 | 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 69 74 65 6d 43 61 63 68 65 2e 61 63 63 65 73 73 6b | ...accesskey="&itemCache.accessk |
154be0 | 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 65 66 65 | ey;".......................prefe |
154c00 | 72 65 6e 63 65 3d 22 70 72 69 76 61 63 79 2e 63 6c 65 61 72 4f 6e 53 68 75 74 64 6f 77 6e 2e 63 | rence="privacy.clearOnShutdown.c |
154c20 | 61 63 68 65 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 2f 72 6f 77 3e 0a 20 20 20 20 20 20 20 | ache"/>...........</row>........ |
154c40 | 20 3c 2f 72 6f 77 73 3e 0a 20 20 20 20 20 20 3c 2f 67 72 69 64 3e 0a 20 20 20 20 3c 2f 67 72 6f | .</rows>.......</grid>.....</gro |
154c60 | 75 70 62 6f 78 3e 0a 20 20 20 20 3c 67 72 6f 75 70 62 6f 78 20 6f 72 69 65 6e 74 3d 22 68 6f 72 | upbox>.....<groupbox.orient="hor |
154c80 | 69 7a 6f 6e 74 61 6c 22 3e 0a 20 20 20 20 20 20 3c 63 61 70 74 69 6f 6e 20 6c 61 62 65 6c 3d 22 | izontal">.......<caption.label=" |
154ca0 | 26 64 61 74 61 53 65 63 74 69 6f 6e 2e 6c 61 62 65 6c 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 67 72 | &dataSection.label;"/>.......<gr |
154cc0 | 69 64 20 66 6c 65 78 3d 22 31 22 3e 0a 20 20 20 20 20 20 20 20 3c 63 6f 6c 75 6d 6e 73 3e 0a 20 | id.flex="1">.........<columns>.. |
154ce0 | 20 20 20 20 20 20 20 20 20 3c 63 6f 6c 75 6d 6e 20 73 74 79 6c 65 3d 22 77 69 64 74 68 3a 20 26 | .........<column.style="width:.& |
154d00 | 63 6f 6c 75 6d 6e 2e 77 69 64 74 68 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 63 6f 6c 75 | column.width;"/>...........<colu |
154d20 | 6d 6e 20 66 6c 65 78 3d 22 31 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 2f 63 6f 6c 75 6d 6e 73 3e | mn.flex="1"/>.........</columns> |
154d40 | 0a 20 20 20 20 20 20 20 20 3c 72 6f 77 73 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 72 6f 77 3e 0a | .........<rows>...........<row>. |
154d60 | 20 20 20 20 20 20 20 20 20 20 20 20 3c 63 68 65 63 6b 62 6f 78 20 6c 61 62 65 6c 3d 22 26 69 74 | ............<checkbox.label="&it |
154d80 | 65 6d 50 61 73 73 77 6f 72 64 73 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 | emPasswords.label;"............. |
154da0 | 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 69 74 65 6d 50 61 73 73 77 6f | ..........accesskey="&itemPasswo |
154dc0 | 72 64 73 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | rds.accesskey;"................. |
154de0 | 20 20 20 20 20 20 70 72 65 66 65 72 65 6e 63 65 3d 22 70 72 69 76 61 63 79 2e 63 6c 65 61 72 4f | ......preference="privacy.clearO |
154e00 | 6e 53 68 75 74 64 6f 77 6e 2e 70 61 73 73 77 6f 72 64 73 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 | nShutdown.passwords"/>.......... |
154e20 | 20 20 20 3c 63 68 65 63 6b 62 6f 78 20 6c 61 62 65 6c 3d 22 26 69 74 65 6d 4f 66 66 6c 69 6e 65 | ...<checkbox.label="&itemOffline |
154e40 | 41 70 70 73 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | Apps.label;".................... |
154e60 | 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 69 74 65 6d 4f 66 66 6c 69 6e 65 41 70 70 73 2e 61 | ...accesskey="&itemOfflineApps.a |
154e80 | 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ccesskey;"...................... |
154ea0 | 20 70 72 65 66 65 72 65 6e 63 65 3d 22 70 72 69 76 61 63 79 2e 63 6c 65 61 72 4f 6e 53 68 75 74 | .preference="privacy.clearOnShut |
154ec0 | 64 6f 77 6e 2e 6f 66 66 6c 69 6e 65 41 70 70 73 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 2f | down.offlineApps"/>...........</ |
154ee0 | 72 6f 77 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 72 6f 77 3e 0a 20 20 20 20 20 20 20 20 20 20 20 | row>...........<row>............ |
154f00 | 20 3c 63 68 65 63 6b 62 6f 78 20 6c 61 62 65 6c 3d 22 26 69 74 65 6d 53 69 74 65 50 72 65 66 65 | .<checkbox.label="&itemSitePrefe |
154f20 | 72 65 6e 63 65 73 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | rences.label;".................. |
154f40 | 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 69 74 65 6d 53 69 74 65 50 72 65 66 65 72 65 | .....accesskey="&itemSitePrefere |
154f60 | 6e 63 65 73 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | nces.accesskey;"................ |
154f80 | 20 20 20 20 20 20 20 70 72 65 66 65 72 65 6e 63 65 3d 22 70 72 69 76 61 63 79 2e 63 6c 65 61 72 | .......preference="privacy.clear |
154fa0 | 4f 6e 53 68 75 74 64 6f 77 6e 2e 73 69 74 65 53 65 74 74 69 6e 67 73 22 2f 3e 0a 20 20 20 20 20 | OnShutdown.siteSettings"/>...... |
154fc0 | 20 20 20 20 20 3c 2f 72 6f 77 3e 0a 20 20 20 20 20 20 20 20 3c 2f 72 6f 77 73 3e 0a 20 20 20 20 | .....</row>.........</rows>..... |
154fe0 | 20 20 3c 2f 67 72 69 64 3e 0a 20 20 20 20 3c 2f 67 72 6f 75 70 62 6f 78 3e 0a 20 20 3c 2f 70 72 | ..</grid>.....</groupbox>...</pr |
155000 | 65 66 70 61 6e 65 3e 0a 3c 2f 70 72 65 66 77 69 6e 64 6f 77 3e 0a 50 4b 03 04 14 00 00 00 00 00 | efpane>.</prefwindow>.PK........ |
155020 | f3 4b 18 3b f7 5d 9e 87 ce 13 00 00 ce 13 00 00 28 00 00 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 | .K.;.]..........(...content/brow |
155040 | 73 65 72 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 73 65 63 75 72 69 74 79 2e 78 75 6c 3c 3f 78 6d | ser/preferences/security.xul<?xm |
155060 | 6c 20 76 65 72 73 69 6f 6e 3d 22 31 2e 30 22 3f 3e 0a 0a 0a 3c 21 44 4f 43 54 59 50 45 20 6f 76 | l.version="1.0"?>...<!DOCTYPE.ov |
155080 | 65 72 6c 61 79 20 5b 0a 20 20 3c 21 45 4e 54 49 54 59 20 25 20 62 72 61 6e 64 44 54 44 20 53 59 | erlay.[...<!ENTITY.%.brandDTD.SY |
1550a0 | 53 54 45 4d 20 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 61 6e 64 69 6e 67 2f 6c 6f 63 61 6c 65 2f 62 | STEM."chrome://branding/locale/b |
1550c0 | 72 61 6e 64 2e 64 74 64 22 3e 0a 20 20 3c 21 45 4e 54 49 54 59 20 25 20 73 65 63 75 72 69 74 79 | rand.dtd">...<!ENTITY.%.security |
1550e0 | 44 54 44 20 53 59 53 54 45 4d 20 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 6c 6f 63 | DTD.SYSTEM."chrome://browser/loc |
155100 | 61 6c 65 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 73 65 63 75 72 69 74 79 2e 64 74 64 22 3e 0a 20 | ale/preferences/security.dtd">.. |
155120 | 20 25 62 72 61 6e 64 44 54 44 3b 0a 20 20 25 73 65 63 75 72 69 74 79 44 54 44 3b 0a 5d 3e 0a 0a | .%brandDTD;...%securityDTD;.]>.. |
155140 | 3c 6f 76 65 72 6c 61 79 20 69 64 3d 22 53 65 63 75 72 69 74 79 50 61 6e 65 4f 76 65 72 6c 61 79 | <overlay.id="SecurityPaneOverlay |
155160 | 22 0a 20 20 20 20 20 20 20 20 20 78 6d 6c 6e 73 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a | "..........xmlns="http://www.moz |
155180 | 69 6c 6c 61 2e 6f 72 67 2f 6b 65 79 6d 61 73 74 65 72 2f 67 61 74 65 6b 65 65 70 65 72 2f 74 68 | illa.org/keymaster/gatekeeper/th |
1551a0 | 65 72 65 2e 69 73 2e 6f 6e 6c 79 2e 78 75 6c 22 3e 0a 0a 20 20 3c 70 72 65 66 70 61 6e 65 20 69 | ere.is.only.xul">....<prefpane.i |
1551c0 | 64 3d 22 70 61 6e 65 53 65 63 75 72 69 74 79 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 70 | d="paneSecurity".............onp |
1551e0 | 61 6e 65 6c 6f 61 64 3d 22 67 53 65 63 75 72 69 74 79 50 61 6e 65 2e 69 6e 69 74 28 29 3b 22 0a | aneload="gSecurityPane.init();". |
155200 | 20 20 20 20 20 20 20 20 20 20 20 20 68 65 6c 70 54 6f 70 69 63 3d 22 70 72 65 66 73 2d 73 65 63 | ............helpTopic="prefs-sec |
155220 | 75 72 69 74 79 22 3e 0a 0a 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 73 20 69 64 3d 22 73 65 | urity">......<preferences.id="se |
155240 | 63 75 72 69 74 79 50 72 65 66 65 72 65 6e 63 65 73 22 3e 0a 20 20 20 20 20 20 3c 21 2d 2d 20 58 | curityPreferences">.......<!--.X |
155260 | 58 58 20 62 75 74 74 6f 6e 73 20 2d 2d 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 | XX.buttons.-->.......<preference |
155280 | 20 69 64 3d 22 70 72 65 66 2e 70 72 69 76 61 63 79 2e 64 69 73 61 62 6c 65 5f 62 75 74 74 6f 6e | .id="pref.privacy.disable_button |
1552a0 | 2e 76 69 65 77 5f 70 61 73 73 77 6f 72 64 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .view_passwords"................ |
1552c0 | 20 20 20 6e 61 6d 65 3d 22 70 72 65 66 2e 70 72 69 76 61 63 79 2e 64 69 73 61 62 6c 65 5f 62 75 | ...name="pref.privacy.disable_bu |
1552e0 | 74 74 6f 6e 2e 76 69 65 77 5f 70 61 73 73 77 6f 72 64 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 | tton.view_passwords"............ |
155300 | 20 20 20 20 20 20 20 74 79 70 65 3d 22 62 6f 6f 6c 22 2f 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 | .......type="bool"/>.......<pref |
155320 | 65 72 65 6e 63 65 20 69 64 3d 22 70 72 65 66 2e 70 72 69 76 61 63 79 2e 64 69 73 61 62 6c 65 5f | erence.id="pref.privacy.disable_ |
155340 | 62 75 74 74 6f 6e 2e 76 69 65 77 5f 70 61 73 73 77 6f 72 64 73 5f 65 78 63 65 70 74 69 6f 6e 73 | button.view_passwords_exceptions |
155360 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 61 6d 65 3d 22 70 72 65 66 2e 70 | "...................name="pref.p |
155380 | 72 69 76 61 63 79 2e 64 69 73 61 62 6c 65 5f 62 75 74 74 6f 6e 2e 76 69 65 77 5f 70 61 73 73 77 | rivacy.disable_button.view_passw |
1553a0 | 6f 72 64 73 5f 65 78 63 65 70 74 69 6f 6e 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ords_exceptions"................ |
1553c0 | 20 20 20 74 79 70 65 3d 22 62 6f 6f 6c 22 2f 3e 0a 0a 20 20 20 20 20 20 3c 21 2d 2d 20 41 64 64 | ...type="bool"/>........<!--.Add |
1553e0 | 2d 6f 6e 73 2c 20 6d 61 6c 77 61 72 65 2c 20 70 68 69 73 68 69 6e 67 20 2d 2d 3e 0a 20 20 20 20 | -ons,.malware,.phishing.-->..... |
155400 | 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 78 70 69 6e 73 74 61 6c 6c 2e 77 68 69 74 | ..<preference.id="xpinstall.whit |
155420 | 65 6c 69 73 74 2e 72 65 71 75 69 72 65 64 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | elist.required"................. |
155440 | 20 20 6e 61 6d 65 3d 22 78 70 69 6e 73 74 61 6c 6c 2e 77 68 69 74 65 6c 69 73 74 2e 72 65 71 75 | ..name="xpinstall.whitelist.requ |
155460 | 69 72 65 64 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 79 70 65 3d 22 62 6f | ired"...................type="bo |
155480 | 6f 6c 22 2f 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 62 72 6f 77 | ol"/>.......<preference.id="brow |
1554a0 | 73 65 72 2e 73 61 66 65 62 72 6f 77 73 69 6e 67 2e 6d 61 6c 77 61 72 65 2e 65 6e 61 62 6c 65 64 | ser.safebrowsing.malware.enabled |
1554c0 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 61 6d 65 3d 22 62 72 6f 77 73 65 | "...................name="browse |
1554e0 | 72 2e 73 61 66 65 62 72 6f 77 73 69 6e 67 2e 6d 61 6c 77 61 72 65 2e 65 6e 61 62 6c 65 64 22 0a | r.safebrowsing.malware.enabled". |
155500 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 79 70 65 3d 22 62 6f 6f 6c 22 2f 3e 0a | ..................type="bool"/>. |
155520 | 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 62 72 6f 77 73 65 72 2e 73 61 | ......<preference.id="browser.sa |
155540 | 66 65 62 72 6f 77 73 69 6e 67 2e 65 6e 61 62 6c 65 64 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 | febrowsing.enabled"............. |
155560 | 20 20 20 20 20 20 6e 61 6d 65 3d 22 62 72 6f 77 73 65 72 2e 73 61 66 65 62 72 6f 77 73 69 6e 67 | ......name="browser.safebrowsing |
155580 | 2e 65 6e 61 62 6c 65 64 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 79 70 65 | .enabled"...................type |
1555a0 | 3d 22 62 6f 6f 6c 22 2f 3e 0a 0a 20 20 20 20 20 20 3c 21 2d 2d 20 50 61 73 73 77 6f 72 64 73 20 | ="bool"/>........<!--.Passwords. |
1555c0 | 2d 2d 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 73 69 67 6e 6f 6e | -->.......<preference.id="signon |
1555e0 | 2e 72 65 6d 65 6d 62 65 72 53 69 67 6e 6f 6e 73 22 20 6e 61 6d 65 3d 22 73 69 67 6e 6f 6e 2e 72 | .rememberSignons".name="signon.r |
155600 | 65 6d 65 6d 62 65 72 53 69 67 6e 6f 6e 73 22 20 74 79 70 65 3d 22 62 6f 6f 6c 22 2f 3e 0a 0a 20 | ememberSignons".type="bool"/>... |
155620 | 20 20 20 3c 2f 70 72 65 66 65 72 65 6e 63 65 73 3e 0a 20 20 20 20 0a 20 20 20 20 3c 73 63 72 69 | ...</preferences>..........<scri |
155640 | 70 74 20 74 79 70 65 3d 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f 78 2d 6a 61 76 61 73 63 72 69 70 | pt.type="application/x-javascrip |
155660 | 74 22 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 | t".src="chrome://browser/content |
155680 | 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 73 65 63 75 72 69 74 79 2e 6a 73 22 2f 3e 0a 20 20 20 20 | /preferences/security.js"/>..... |
1556a0 | 0a 20 20 20 20 3c 73 74 72 69 6e 67 62 75 6e 64 6c 65 20 69 64 3d 22 62 75 6e 64 6c 65 50 72 65 | .....<stringbundle.id="bundlePre |
1556c0 | 66 65 72 65 6e 63 65 73 22 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f | ferences".src="chrome://browser/ |
1556e0 | 6c 6f 63 61 6c 65 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 70 72 65 66 65 72 65 6e 63 65 73 2e 70 | locale/preferences/preferences.p |
155700 | 72 6f 70 65 72 74 69 65 73 22 2f 3e 0a 0a 20 20 20 20 3c 21 2d 2d 20 61 64 64 6f 6e 73 2c 20 66 | roperties"/>......<!--.addons,.f |
155720 | 6f 72 67 65 72 79 20 28 70 68 69 73 68 69 6e 67 29 20 55 49 20 2d 2d 3e 0a 20 20 20 20 3c 67 72 | orgery.(phishing).UI.-->.....<gr |
155740 | 6f 75 70 62 6f 78 20 69 64 3d 22 61 64 64 6f 6e 73 50 68 69 73 68 69 6e 67 47 72 6f 75 70 22 0a | oupbox.id="addonsPhishingGroup". |
155760 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 78 6d 6c 6e 73 3a 61 61 61 3d 22 68 74 74 70 3a 2f 2f | ..............xmlns:aaa="http:// |
155780 | 77 77 77 2e 77 33 2e 6f 72 67 2f 32 30 30 35 2f 30 37 2f 61 61 61 22 3e 0a 20 20 20 20 20 20 3c | www.w3.org/2005/07/aaa">.......< |
1557a0 | 68 62 6f 78 20 69 64 3d 22 61 64 64 6f 6e 49 6e 73 74 61 6c 6c 42 6f 78 22 3e 0a 20 20 20 20 20 | hbox.id="addonInstallBox">...... |
1557c0 | 20 20 20 3c 63 68 65 63 6b 62 6f 78 20 69 64 3d 22 77 61 72 6e 41 64 64 6f 6e 49 6e 73 74 61 6c | ...<checkbox.id="warnAddonInstal |
1557e0 | 6c 22 20 66 6c 65 78 3d 22 31 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 | l".flex="1"...................la |
155800 | 62 65 6c 3d 22 26 77 61 72 6e 41 64 64 6f 6e 49 6e 73 74 61 6c 6c 2e 6c 61 62 65 6c 3b 22 0a 20 | bel="&warnAddonInstall.label;".. |
155820 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 77 61 72 | .................accesskey="&war |
155840 | 6e 41 64 64 6f 6e 49 6e 73 74 61 6c 6c 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 | nAddonInstall.accesskey;"....... |
155860 | 20 20 20 20 20 20 20 20 20 20 20 20 70 72 65 66 65 72 65 6e 63 65 3d 22 78 70 69 6e 73 74 61 6c | ............preference="xpinstal |
155880 | 6c 2e 77 68 69 74 65 6c 69 73 74 2e 72 65 71 75 69 72 65 64 22 0a 20 20 20 20 20 20 20 20 20 20 | l.whitelist.required"........... |
1558a0 | 20 20 20 20 20 20 20 20 6f 6e 73 79 6e 63 66 72 6f 6d 70 72 65 66 65 72 65 6e 63 65 3d 22 72 65 | ........onsyncfrompreference="re |
1558c0 | 74 75 72 6e 20 67 53 65 63 75 72 69 74 79 50 61 6e 65 2e 72 65 61 64 57 61 72 6e 41 64 64 6f 6e | turn.gSecurityPane.readWarnAddon |
1558e0 | 49 6e 73 74 61 6c 6c 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 75 74 74 6f 6e 20 69 64 | Install();"/>.........<button.id |
155900 | 3d 22 61 64 64 6f 6e 45 78 63 65 70 74 69 6f 6e 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ="addonExceptions".............. |
155920 | 20 20 20 6c 61 62 65 6c 3d 22 26 61 64 64 6f 6e 45 78 63 65 70 74 69 6f 6e 73 2e 6c 61 62 65 6c | ...label="&addonExceptions.label |
155940 | 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 61 | ;".................accesskey="&a |
155960 | 64 64 6f 6e 45 78 63 65 70 74 69 6f 6e 73 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 | ddonExceptions.accesskey;"...... |
155980 | 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 53 65 63 75 72 69 74 79 50 | ...........oncommand="gSecurityP |
1559a0 | 61 6e 65 2e 73 68 6f 77 41 64 64 6f 6e 45 78 63 65 70 74 69 6f 6e 73 28 29 3b 22 2f 3e 0a 20 20 | ane.showAddonExceptions();"/>... |
1559c0 | 20 20 20 20 3c 2f 68 62 6f 78 3e 0a 0a 20 20 20 20 20 20 3c 73 65 70 61 72 61 74 6f 72 20 63 6c | ....</hbox>........<separator.cl |
1559e0 | 61 73 73 3d 22 74 68 69 6e 22 2f 3e 0a 20 20 20 20 20 20 3c 63 68 65 63 6b 62 6f 78 20 69 64 3d | ass="thin"/>.......<checkbox.id= |
155a00 | 22 62 6c 6f 63 6b 41 74 74 61 63 6b 53 69 74 65 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | "blockAttackSites".............. |
155a20 | 20 20 20 6c 61 62 65 6c 3d 22 26 62 6c 6f 63 6b 41 74 74 61 63 6b 53 69 74 65 73 2e 6c 61 62 65 | ...label="&blockAttackSites.labe |
155a40 | 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 | l;".................accesskey="& |
155a60 | 62 6c 6f 63 6b 41 74 74 61 63 6b 53 69 74 65 73 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 | blockAttackSites.accesskey;".... |
155a80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 65 66 65 72 65 6e 63 65 3d 22 62 72 6f 77 73 65 72 | .............preference="browser |
155aa0 | 2e 73 61 66 65 62 72 6f 77 73 69 6e 67 2e 6d 61 6c 77 61 72 65 2e 65 6e 61 62 6c 65 64 22 20 2f | .safebrowsing.malware.enabled"./ |
155ac0 | 3e 0a 20 20 20 20 20 20 3c 63 68 65 63 6b 62 6f 78 20 69 64 3d 22 62 6c 6f 63 6b 57 65 62 46 6f | >.......<checkbox.id="blockWebFo |
155ae0 | 72 67 65 72 69 65 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 | rgeries".................label=" |
155b00 | 26 62 6c 6f 63 6b 57 65 62 46 6f 72 67 65 72 69 65 73 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 | &blockWebForgeries.label;"...... |
155b20 | 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 62 6c 6f 63 6b 57 65 62 46 | ...........accesskey="&blockWebF |
155b40 | 6f 72 67 65 72 69 65 73 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 | orgeries.accesskey;"............ |
155b60 | 20 20 20 20 20 70 72 65 66 65 72 65 6e 63 65 3d 22 62 72 6f 77 73 65 72 2e 73 61 66 65 62 72 6f | .....preference="browser.safebro |
155b80 | 77 73 69 6e 67 2e 65 6e 61 62 6c 65 64 22 20 2f 3e 0a 20 20 20 20 3c 2f 67 72 6f 75 70 62 6f 78 | wsing.enabled"./>.....</groupbox |
155ba0 | 3e 0a 0a 20 20 20 20 3c 21 2d 2d 20 50 61 73 73 77 6f 72 64 73 20 2d 2d 3e 0a 20 20 20 20 3c 67 | >......<!--.Passwords.-->.....<g |
155bc0 | 72 6f 75 70 62 6f 78 20 69 64 3d 22 70 61 73 73 77 6f 72 64 73 47 72 6f 75 70 22 20 6f 72 69 65 | roupbox.id="passwordsGroup".orie |
155be0 | 6e 74 3d 22 76 65 72 74 69 63 61 6c 22 3e 0a 20 20 20 20 20 20 3c 63 61 70 74 69 6f 6e 20 6c 61 | nt="vertical">.......<caption.la |
155c00 | 62 65 6c 3d 22 26 70 61 73 73 77 6f 72 64 73 2e 6c 61 62 65 6c 3b 22 2f 3e 0a 0a 20 20 20 20 20 | bel="&passwords.label;"/>....... |
155c20 | 20 3c 68 62 6f 78 20 69 64 3d 22 73 61 76 65 50 61 73 73 77 6f 72 64 73 42 6f 78 22 3e 0a 20 20 | .<hbox.id="savePasswordsBox">... |
155c40 | 20 20 20 20 20 20 3c 63 68 65 63 6b 62 6f 78 20 69 64 3d 22 73 61 76 65 50 61 73 73 77 6f 72 64 | ......<checkbox.id="savePassword |
155c60 | 73 22 20 66 6c 65 78 3d 22 31 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 | s".flex="1"...................la |
155c80 | 62 65 6c 3d 22 26 72 65 6d 65 6d 62 65 72 50 61 73 73 77 6f 72 64 73 2e 6c 61 62 65 6c 3b 22 20 | bel="&rememberPasswords.label;". |
155ca0 | 61 63 63 65 73 73 6b 65 79 3d 22 26 72 65 6d 65 6d 62 65 72 50 61 73 73 77 6f 72 64 73 2e 61 63 | accesskey="&rememberPasswords.ac |
155cc0 | 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 65 66 | cesskey;"...................pref |
155ce0 | 65 72 65 6e 63 65 3d 22 73 69 67 6e 6f 6e 2e 72 65 6d 65 6d 62 65 72 53 69 67 6e 6f 6e 73 22 0a | erence="signon.rememberSignons". |
155d00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 73 79 6e 63 66 72 6f 6d 70 72 65 66 | ..................onsyncfrompref |
155d20 | 65 72 65 6e 63 65 3d 22 72 65 74 75 72 6e 20 67 53 65 63 75 72 69 74 79 50 61 6e 65 2e 72 65 61 | erence="return.gSecurityPane.rea |
155d40 | 64 53 61 76 65 50 61 73 73 77 6f 72 64 73 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 75 | dSavePasswords();"/>.........<bu |
155d60 | 74 74 6f 6e 20 69 64 3d 22 70 61 73 73 77 6f 72 64 45 78 63 65 70 74 69 6f 6e 73 22 0a 20 20 20 | tton.id="passwordExceptions".... |
155d80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 70 61 73 73 77 6f 72 64 45 78 63 | .............label="&passwordExc |
155da0 | 65 70 74 69 6f 6e 73 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | eptions.label;"................. |
155dc0 | 61 63 63 65 73 73 6b 65 79 3d 22 26 70 61 73 73 77 6f 72 64 45 78 63 65 70 74 69 6f 6e 73 2e 61 | accesskey="&passwordExceptions.a |
155de0 | 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d | ccesskey;".................oncom |
155e00 | 6d 61 6e 64 3d 22 67 53 65 63 75 72 69 74 79 50 61 6e 65 2e 73 68 6f 77 50 61 73 73 77 6f 72 64 | mand="gSecurityPane.showPassword |
155e20 | 45 78 63 65 70 74 69 6f 6e 73 28 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 | Exceptions();".................p |
155e40 | 72 65 66 65 72 65 6e 63 65 3d 22 70 72 65 66 2e 70 72 69 76 61 63 79 2e 64 69 73 61 62 6c 65 5f | reference="pref.privacy.disable_ |
155e60 | 62 75 74 74 6f 6e 2e 76 69 65 77 5f 70 61 73 73 77 6f 72 64 73 5f 65 78 63 65 70 74 69 6f 6e 73 | button.view_passwords_exceptions |
155e80 | 22 2f 3e 0a 20 20 20 20 20 20 3c 2f 68 62 6f 78 3e 0a 20 20 20 20 20 20 3c 68 62 6f 78 20 69 64 | "/>.......</hbox>.......<hbox.id |
155ea0 | 3d 22 6d 61 73 74 65 72 50 61 73 73 77 6f 72 64 42 6f 78 22 3e 0a 20 20 20 20 20 20 20 20 3c 63 | ="masterPasswordBox">.........<c |
155ec0 | 68 65 63 6b 62 6f 78 20 69 64 3d 22 75 73 65 4d 61 73 74 65 72 50 61 73 73 77 6f 72 64 22 20 66 | heckbox.id="useMasterPassword".f |
155ee0 | 6c 65 78 3d 22 31 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d | lex="1"...................oncomm |
155f00 | 61 6e 64 3d 22 67 53 65 63 75 72 69 74 79 50 61 6e 65 2e 75 70 64 61 74 65 4d 61 73 74 65 72 50 | and="gSecurityPane.updateMasterP |
155f20 | 61 73 73 77 6f 72 64 42 75 74 74 6f 6e 28 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | asswordButton();"............... |
155f40 | 20 20 20 20 6c 61 62 65 6c 3d 22 26 75 73 65 4d 61 73 74 65 72 50 61 73 73 77 6f 72 64 2e 6c 61 | ....label="&useMasterPassword.la |
155f60 | 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 | bel;"...................accesske |
155f80 | 79 3d 22 26 75 73 65 4d 61 73 74 65 72 50 61 73 73 77 6f 72 64 2e 61 63 63 65 73 73 6b 65 79 3b | y="&useMasterPassword.accesskey; |
155fa0 | 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 75 74 74 6f 6e 20 69 64 3d 22 63 68 61 6e 67 65 4d 61 | "/>.........<button.id="changeMa |
155fc0 | 73 74 65 72 50 61 73 73 77 6f 72 64 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 | sterPassword".................la |
155fe0 | 62 65 6c 3d 22 26 63 68 61 6e 67 65 4d 61 73 74 65 72 50 61 73 73 77 6f 72 64 2e 6c 61 62 65 6c | bel="&changeMasterPassword.label |
156000 | 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 63 | ;".................accesskey="&c |
156020 | 68 61 6e 67 65 4d 61 73 74 65 72 50 61 73 73 77 6f 72 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a | hangeMasterPassword.accesskey;". |
156040 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 53 65 63 75 | ................oncommand="gSecu |
156060 | 72 69 74 79 50 61 6e 65 2e 63 68 61 6e 67 65 4d 61 73 74 65 72 50 61 73 73 77 6f 72 64 28 29 3b | rityPane.changeMasterPassword(); |
156080 | 22 2f 3e 0a 20 20 20 20 20 20 3c 2f 68 62 6f 78 3e 0a 0a 20 20 20 20 20 20 3c 68 62 6f 78 20 69 | "/>.......</hbox>........<hbox.i |
1560a0 | 64 3d 22 73 68 6f 77 50 61 73 73 77 6f 72 64 73 42 6f 78 22 3e 0a 20 20 20 20 20 20 20 20 3c 73 | d="showPasswordsBox">.........<s |
1560c0 | 70 61 63 65 72 20 66 6c 65 78 3d 22 31 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 75 74 74 6f 6e | pacer.flex="1"/>.........<button |
1560e0 | 20 69 64 3d 22 73 68 6f 77 50 61 73 73 77 6f 72 64 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 | .id="showPasswords"............. |
156100 | 20 20 20 20 6c 61 62 65 6c 3d 22 26 73 61 76 65 64 50 61 73 73 77 6f 72 64 73 2e 6c 61 62 65 6c | ....label="&savedPasswords.label |
156120 | 3b 22 20 61 63 63 65 73 73 6b 65 79 3d 22 26 73 61 76 65 64 50 61 73 73 77 6f 72 64 73 2e 61 63 | ;".accesskey="&savedPasswords.ac |
156140 | 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d | cesskey;".................oncomm |
156160 | 61 6e 64 3d 22 67 53 65 63 75 72 69 74 79 50 61 6e 65 2e 73 68 6f 77 50 61 73 73 77 6f 72 64 73 | and="gSecurityPane.showPasswords |
156180 | 28 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 65 66 65 72 65 6e 63 65 3d | ();".................preference= |
1561a0 | 22 70 72 65 66 2e 70 72 69 76 61 63 79 2e 64 69 73 61 62 6c 65 5f 62 75 74 74 6f 6e 2e 76 69 65 | "pref.privacy.disable_button.vie |
1561c0 | 77 5f 70 61 73 73 77 6f 72 64 73 22 2f 3e 0a 20 20 20 20 20 20 3c 2f 68 62 6f 78 3e 0a 20 20 20 | w_passwords"/>.......</hbox>.... |
1561e0 | 20 3c 2f 67 72 6f 75 70 62 6f 78 3e 0a 0a 20 20 20 20 3c 21 2d 2d 20 57 61 72 6e 69 6e 67 20 4d | .</groupbox>......<!--.Warning.M |
156200 | 65 73 73 61 67 65 73 20 2d 2d 3e 0a 20 20 20 20 3c 68 62 6f 78 20 63 6c 61 73 73 3d 22 62 6f 74 | essages.-->.....<hbox.class="bot |
156220 | 74 6f 6d 42 6f 78 22 3e 0a 20 20 20 20 20 20 3c 67 72 6f 75 70 62 6f 78 20 69 64 3d 22 77 61 72 | tomBox">.......<groupbox.id="war |
156240 | 6e 69 6e 67 4d 65 73 73 61 67 65 73 47 72 6f 75 70 22 20 6f 72 69 65 6e 74 3d 22 68 6f 72 69 7a | ningMessagesGroup".orient="horiz |
156260 | 6f 6e 74 61 6c 22 20 66 6c 65 78 3d 22 31 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ontal".flex="1"................. |
156280 | 61 6c 69 67 6e 3d 22 63 65 6e 74 65 72 22 3e 0a 20 20 20 20 20 20 20 20 3c 63 61 70 74 69 6f 6e | align="center">.........<caption |
1562a0 | 20 6c 61 62 65 6c 3d 22 26 77 61 72 6e 69 6e 67 73 2e 6c 61 62 65 6c 3b 22 2f 3e 0a 0a 20 20 20 | .label="&warnings.label;"/>..... |
1562c0 | 20 20 20 20 20 3c 64 65 73 63 72 69 70 74 69 6f 6e 20 63 6f 6e 74 72 6f 6c 3d 22 77 61 72 6e 69 | .....<description.control="warni |
1562e0 | 6e 67 53 65 74 74 69 6e 67 73 22 20 66 6c 65 78 3d 22 31 22 3e 26 63 68 6f 6f 73 65 57 61 72 6e | ngSettings".flex="1">&chooseWarn |
156300 | 69 6e 67 73 2e 6c 61 62 65 6c 3b 3c 2f 64 65 73 63 72 69 70 74 69 6f 6e 3e 0a 20 20 20 20 20 20 | ings.label;</description>....... |
156320 | 20 20 3c 62 75 74 74 6f 6e 20 69 64 3d 22 77 61 72 6e 69 6e 67 53 65 74 74 69 6e 67 73 22 0a 20 | ..<button.id="warningSettings".. |
156340 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 77 61 72 6e 69 6e 67 53 65 | ...............label="&warningSe |
156360 | 74 74 69 6e 67 73 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 | ttings.label;".................a |
156380 | 63 63 65 73 73 6b 65 79 3d 22 26 77 61 72 6e 69 6e 67 53 65 74 74 69 6e 67 73 2e 61 63 63 65 73 | ccesskey="&warningSettings.acces |
1563a0 | 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 | skey;".................oncommand |
1563c0 | 3d 22 67 53 65 63 75 72 69 74 79 50 61 6e 65 2e 73 68 6f 77 57 61 72 6e 69 6e 67 4d 65 73 73 61 | ="gSecurityPane.showWarningMessa |
1563e0 | 67 65 53 65 74 74 69 6e 67 73 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 2f 67 72 6f 75 70 62 6f | geSettings();"/>.......</groupbo |
156400 | 78 3e 0a 20 20 20 20 3c 2f 68 62 6f 78 3e 0a 0a 20 20 3c 2f 70 72 65 66 70 61 6e 65 3e 0a 0a 3c | x>.....</hbox>....</prefpane>..< |
156420 | 2f 6f 76 65 72 6c 61 79 3e 0a 50 4b 03 04 14 00 00 00 00 00 f3 4b 18 3b 39 39 cf 7c 2f 1c 00 00 | /overlay>.PK.........K.;99.|/... |
156440 | 2f 1c 00 00 27 00 00 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 72 65 66 65 72 65 6e | /...'...content/browser/preferen |
156460 | 63 65 73 2f 73 65 63 75 72 69 74 79 2e 6a 73 2f 2f 40 6c 69 6e 65 20 33 38 20 22 2f 62 75 69 6c | ces/security.js//@line.38."/buil |
156480 | 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f | ds/moz2_slave/linux_build/build/ |
1564a0 | 62 72 6f 77 73 65 72 2f 63 6f 6d 70 6f 6e 65 6e 74 73 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 73 | browser/components/preferences/s |
1564c0 | 65 63 75 72 69 74 79 2e 6a 73 22 0a 0a 76 61 72 20 67 53 65 63 75 72 69 74 79 50 61 6e 65 20 3d | ecurity.js"..var.gSecurityPane.= |
1564e0 | 20 7b 0a 20 20 5f 70 61 6e 65 3a 20 6e 75 6c 6c 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 49 6e | .{..._pane:.null,..../**....*.In |
156500 | 69 74 69 61 6c 69 7a 65 73 20 6d 61 73 74 65 72 20 70 61 73 73 77 6f 72 64 20 55 49 2e 0a 20 20 | itializes.master.password.UI.... |
156520 | 20 2a 2f 0a 20 20 69 6e 69 74 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 | .*/...init:.function.()...{..... |
156540 | 74 68 69 73 2e 5f 70 61 6e 65 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 | this._pane.=.document.getElement |
156560 | 42 79 49 64 28 22 70 61 6e 65 53 65 63 75 72 69 74 79 22 29 3b 0a 20 20 20 20 74 68 69 73 2e 5f | ById("paneSecurity");.....this._ |
156580 | 69 6e 69 74 4d 61 73 74 65 72 50 61 73 73 77 6f 72 64 55 49 28 29 3b 0a 20 20 7d 2c 0a 0a 20 20 | initMasterPasswordUI();...},.... |
1565a0 | 2f 2f 20 41 44 44 2d 4f 4e 53 0a 0a 20 20 2f 2a 0a 20 20 20 2a 20 50 72 65 66 65 72 65 6e 63 65 | //.ADD-ONS..../*....*.Preference |
1565c0 | 73 3a 0a 20 20 20 2a 0a 20 20 20 2a 20 78 70 69 6e 73 74 61 6c 6c 2e 77 68 69 74 65 6c 69 73 74 | s:....*....*.xpinstall.whitelist |
1565e0 | 2e 72 65 71 75 69 72 65 64 0a 20 20 20 2a 20 2d 20 74 72 75 65 20 69 66 20 61 20 73 69 74 65 20 | .required....*.-.true.if.a.site. |
156600 | 6d 75 73 74 20 62 65 20 61 64 64 65 64 20 74 6f 20 61 20 73 69 74 65 20 77 68 69 74 65 6c 69 73 | must.be.added.to.a.site.whitelis |
156620 | 74 20 62 65 66 6f 72 65 20 65 78 74 65 6e 73 69 6f 6e 73 0a 20 20 20 2a 20 20 20 70 72 6f 76 69 | t.before.extensions....*...provi |
156640 | 64 65 64 20 62 79 20 74 68 65 20 73 69 74 65 20 6d 61 79 20 62 65 20 69 6e 73 74 61 6c 6c 65 64 | ded.by.the.site.may.be.installed |
156660 | 20 66 72 6f 6d 20 69 74 2c 20 66 61 6c 73 65 20 69 66 20 74 68 65 20 65 78 74 65 6e 73 69 6f 6e | .from.it,.false.if.the.extension |
156680 | 0a 20 20 20 2a 20 20 20 6d 61 79 20 62 65 20 64 69 72 65 63 74 6c 79 20 69 6e 73 74 61 6c 6c 65 | ....*...may.be.directly.installe |
1566a0 | 64 20 61 66 74 65 72 20 61 20 63 6f 6e 66 69 72 6d 61 74 69 6f 6e 20 64 69 61 6c 6f 67 0a 20 20 | d.after.a.confirmation.dialog... |
1566c0 | 20 2a 2f 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 45 6e 61 62 6c 65 73 2f 64 69 73 61 62 6c 65 73 | .*/..../**....*.Enables/disables |
1566e0 | 20 74 68 65 20 61 64 64 2d 6f 6e 73 20 45 78 63 65 70 74 69 6f 6e 73 20 62 75 74 74 6f 6e 20 64 | .the.add-ons.Exceptions.button.d |
156700 | 65 70 65 6e 64 69 6e 67 20 6f 6e 20 77 68 65 74 68 65 72 0a 20 20 20 2a 20 6f 72 20 6e 6f 74 20 | epending.on.whether....*.or.not. |
156720 | 61 64 64 2d 6f 6e 20 69 6e 73 74 61 6c 6c 61 74 69 6f 6e 20 77 61 72 6e 69 6e 67 73 20 61 72 65 | add-on.installation.warnings.are |
156740 | 20 64 69 73 70 6c 61 79 65 64 2e 0a 20 20 20 2a 2f 0a 20 20 72 65 61 64 57 61 72 6e 41 64 64 6f | .displayed.....*/...readWarnAddo |
156760 | 6e 49 6e 73 74 61 6c 6c 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 76 61 | nInstall:.function.()...{.....va |
156780 | 72 20 77 61 72 6e 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 | r.warn.=.document.getElementById |
1567a0 | 28 22 78 70 69 6e 73 74 61 6c 6c 2e 77 68 69 74 65 6c 69 73 74 2e 72 65 71 75 69 72 65 64 22 29 | ("xpinstall.whitelist.required") |
1567c0 | 3b 0a 20 20 20 20 76 61 72 20 65 78 63 65 70 74 69 6f 6e 73 20 3d 20 64 6f 63 75 6d 65 6e 74 2e | ;.....var.exceptions.=.document. |
1567e0 | 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 61 64 64 6f 6e 45 78 63 65 70 74 69 6f 6e 73 22 | getElementById("addonExceptions" |
156800 | 29 3b 0a 0a 20 20 20 20 65 78 63 65 70 74 69 6f 6e 73 2e 64 69 73 61 62 6c 65 64 20 3d 20 21 77 | );......exceptions.disabled.=.!w |
156820 | 61 72 6e 2e 76 61 6c 75 65 3b 0a 0a 20 20 20 20 2f 2f 20 64 6f 6e 27 74 20 6f 76 65 72 72 69 64 | arn.value;......//.don't.overrid |
156840 | 65 20 74 68 65 20 70 72 65 66 65 72 65 6e 63 65 20 76 61 6c 75 65 0a 20 20 20 20 72 65 74 75 72 | e.the.preference.value.....retur |
156860 | 6e 20 75 6e 64 65 66 69 6e 65 64 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 44 69 | n.undefined;...},..../**....*.Di |
156880 | 73 70 6c 61 79 73 20 74 68 65 20 65 78 63 65 70 74 69 6f 6e 73 20 6c 69 73 74 73 20 66 6f 72 20 | splays.the.exceptions.lists.for. |
1568a0 | 61 64 64 2d 6f 6e 20 69 6e 73 74 61 6c 6c 61 74 69 6f 6e 20 77 61 72 6e 69 6e 67 73 2e 0a 20 20 | add-on.installation.warnings.... |
1568c0 | 20 2a 2f 0a 20 20 73 68 6f 77 41 64 64 6f 6e 45 78 63 65 70 74 69 6f 6e 73 3a 20 66 75 6e 63 74 | .*/...showAddonExceptions:.funct |
1568e0 | 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 76 61 72 20 62 75 6e 64 6c 65 50 72 65 66 73 20 3d | ion.()...{.....var.bundlePrefs.= |
156900 | 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 62 75 6e 64 6c 65 | .document.getElementById("bundle |
156920 | 50 72 65 66 65 72 65 6e 63 65 73 22 29 3b 0a 0a 20 20 20 20 76 61 72 20 70 61 72 61 6d 73 20 3d | Preferences");......var.params.= |
156940 | 20 74 68 69 73 2e 5f 61 64 64 6f 6e 50 61 72 61 6d 73 3b 0a 20 20 20 20 69 66 20 28 21 70 61 72 | .this._addonParams;.....if.(!par |
156960 | 61 6d 73 2e 77 69 6e 64 6f 77 54 69 74 6c 65 20 7c 7c 20 21 70 61 72 61 6d 73 2e 69 6e 74 72 6f | ams.windowTitle.||.!params.intro |
156980 | 54 65 78 74 29 20 7b 0a 20 20 20 20 20 20 70 61 72 61 6d 73 2e 77 69 6e 64 6f 77 54 69 74 6c 65 | Text).{.......params.windowTitle |
1569a0 | 20 3d 20 62 75 6e 64 6c 65 50 72 65 66 73 2e 67 65 74 53 74 72 69 6e 67 28 22 61 64 64 6f 6e 73 | .=.bundlePrefs.getString("addons |
1569c0 | 5f 70 65 72 6d 69 73 73 69 6f 6e 73 5f 74 69 74 6c 65 22 29 3b 0a 20 20 20 20 20 20 70 61 72 61 | _permissions_title");.......para |
1569e0 | 6d 73 2e 69 6e 74 72 6f 54 65 78 74 20 3d 20 62 75 6e 64 6c 65 50 72 65 66 73 2e 67 65 74 53 74 | ms.introText.=.bundlePrefs.getSt |
156a00 | 72 69 6e 67 28 22 61 64 64 6f 6e 73 70 65 72 6d 69 73 73 69 6f 6e 73 74 65 78 74 22 29 3b 0a 20 | ring("addonspermissionstext");.. |
156a20 | 20 20 20 7d 0a 0a 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 64 6f 63 75 6d 65 6e 74 45 6c 65 6d 65 | ...}......document.documentEleme |
156a40 | 6e 74 2e 6f 70 65 6e 57 69 6e 64 6f 77 28 22 42 72 6f 77 73 65 72 3a 50 65 72 6d 69 73 73 69 6f | nt.openWindow("Browser:Permissio |
156a60 | 6e 73 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ns",............................ |
156a80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 | ............."chrome://browser/c |
156aa0 | 6f 6e 74 65 6e 74 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 70 65 72 6d 69 73 73 69 6f 6e 73 2e 78 | ontent/preferences/permissions.x |
156ac0 | 75 6c 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ul",............................ |
156ae0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 22 22 2c 20 70 61 72 61 6d 73 29 3b 0a 20 20 7d 2c 0a 0a | ............."",.params);...},.. |
156b00 | 20 20 2f 2a 2a 0a 20 20 20 2a 20 50 61 72 61 6d 65 74 65 72 73 20 66 6f 72 20 74 68 65 20 61 64 | ../**....*.Parameters.for.the.ad |
156b20 | 64 2d 6f 6e 20 69 6e 73 74 61 6c 6c 20 70 65 72 6d 69 73 73 69 6f 6e 73 20 64 69 61 6c 6f 67 2e | d-on.install.permissions.dialog. |
156b40 | 0a 20 20 20 2a 2f 0a 20 20 5f 61 64 64 6f 6e 50 61 72 61 6d 73 3a 0a 20 20 20 20 7b 0a 20 20 20 | ....*/..._addonParams:.....{.... |
156b60 | 20 20 20 62 6c 6f 63 6b 56 69 73 69 62 6c 65 3a 20 66 61 6c 73 65 2c 0a 20 20 20 20 20 20 73 65 | ...blockVisible:.false,.......se |
156b80 | 73 73 69 6f 6e 56 69 73 69 62 6c 65 3a 20 66 61 6c 73 65 2c 0a 20 20 20 20 20 20 61 6c 6c 6f 77 | ssionVisible:.false,.......allow |
156ba0 | 56 69 73 69 62 6c 65 3a 20 74 72 75 65 2c 0a 20 20 20 20 20 20 70 72 65 66 69 6c 6c 65 64 48 6f | Visible:.true,.......prefilledHo |
156bc0 | 73 74 3a 20 22 22 2c 0a 20 20 20 20 20 20 70 65 72 6d 69 73 73 69 6f 6e 54 79 70 65 3a 20 22 69 | st:."",.......permissionType:."i |
156be0 | 6e 73 74 61 6c 6c 22 0a 20 20 20 20 7d 2c 0a 0a 20 20 2f 2f 20 50 41 53 53 57 4f 52 44 53 0a 0a | nstall".....},....//.PASSWORDS.. |
156c00 | 20 20 2f 2a 0a 20 20 20 2a 20 50 72 65 66 65 72 65 6e 63 65 73 3a 0a 20 20 20 2a 0a 20 20 20 2a | ../*....*.Preferences:....*....* |
156c20 | 20 73 69 67 6e 6f 6e 2e 72 65 6d 65 6d 62 65 72 53 69 67 6e 6f 6e 73 0a 20 20 20 2a 20 2d 20 74 | .signon.rememberSignons....*.-.t |
156c40 | 72 75 65 20 69 66 20 70 61 73 73 77 6f 72 64 73 20 61 72 65 20 72 65 6d 65 6d 62 65 72 65 64 2c | rue.if.passwords.are.remembered, |
156c60 | 20 66 61 6c 73 65 20 6f 74 68 65 72 77 69 73 65 0a 20 20 20 2a 2f 0a 0a 20 20 2f 2a 2a 0a 20 20 | .false.otherwise....*/..../**... |
156c80 | 20 2a 20 45 6e 61 62 6c 65 73 2f 64 69 73 61 62 6c 65 73 20 74 68 65 20 45 78 63 65 70 74 69 6f | .*.Enables/disables.the.Exceptio |
156ca0 | 6e 73 20 62 75 74 74 6f 6e 20 75 73 65 64 20 74 6f 20 63 6f 6e 66 69 67 75 72 65 20 73 69 74 65 | ns.button.used.to.configure.site |
156cc0 | 73 20 77 68 65 72 65 0a 20 20 20 2a 20 70 61 73 73 77 6f 72 64 73 20 61 72 65 20 6e 65 76 65 72 | s.where....*.passwords.are.never |
156ce0 | 20 73 61 76 65 64 2e 0a 20 20 20 2a 2f 0a 20 20 72 65 61 64 53 61 76 65 50 61 73 73 77 6f 72 64 | .saved.....*/...readSavePassword |
156d00 | 73 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 76 61 72 20 70 72 65 66 20 | s:.function.()...{.....var.pref. |
156d20 | 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 73 69 67 6e 6f | =.document.getElementById("signo |
156d40 | 6e 2e 72 65 6d 65 6d 62 65 72 53 69 67 6e 6f 6e 73 22 29 3b 0a 20 20 20 20 76 61 72 20 65 78 63 | n.rememberSignons");.....var.exc |
156d60 | 65 70 74 73 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 | epts.=.document.getElementById(" |
156d80 | 70 61 73 73 77 6f 72 64 45 78 63 65 70 74 69 6f 6e 73 22 29 3b 0a 0a 20 20 20 20 65 78 63 65 70 | passwordExceptions");......excep |
156da0 | 74 73 2e 64 69 73 61 62 6c 65 64 20 3d 20 21 70 72 65 66 2e 76 61 6c 75 65 3b 0a 0a 20 20 20 20 | ts.disabled.=.!pref.value;...... |
156dc0 | 2f 2f 20 64 6f 6e 27 74 20 6f 76 65 72 72 69 64 65 20 70 72 65 66 20 76 61 6c 75 65 20 69 6e 20 | //.don't.override.pref.value.in. |
156de0 | 55 49 0a 20 20 20 20 72 65 74 75 72 6e 20 75 6e 64 65 66 69 6e 65 64 3b 0a 20 20 7d 2c 0a 0a 20 | UI.....return.undefined;...},... |
156e00 | 20 2f 2a 2a 0a 20 20 20 2a 20 44 69 73 70 6c 61 79 73 20 61 20 64 69 61 6c 6f 67 20 69 6e 20 77 | ./**....*.Displays.a.dialog.in.w |
156e20 | 68 69 63 68 20 74 68 65 20 75 73 65 72 20 63 61 6e 20 76 69 65 77 20 61 6e 64 20 6d 6f 64 69 66 | hich.the.user.can.view.and.modif |
156e40 | 79 20 74 68 65 20 6c 69 73 74 20 6f 66 20 73 69 74 65 73 0a 20 20 20 2a 20 77 68 65 72 65 20 70 | y.the.list.of.sites....*.where.p |
156e60 | 61 73 73 77 6f 72 64 73 20 61 72 65 20 6e 65 76 65 72 20 73 61 76 65 64 2e 0a 20 20 20 2a 2f 0a | asswords.are.never.saved.....*/. |
156e80 | 20 20 73 68 6f 77 50 61 73 73 77 6f 72 64 45 78 63 65 70 74 69 6f 6e 73 3a 20 66 75 6e 63 74 69 | ..showPasswordExceptions:.functi |
156ea0 | 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 64 6f 63 75 6d 65 6e 74 45 | on.()...{.....document.documentE |
156ec0 | 6c 65 6d 65 6e 74 2e 6f 70 65 6e 57 69 6e 64 6f 77 28 22 54 6f 6f 6c 6b 69 74 3a 50 61 73 73 77 | lement.openWindow("Toolkit:Passw |
156ee0 | 6f 72 64 4d 61 6e 61 67 65 72 45 78 63 65 70 74 69 6f 6e 73 22 2c 0a 20 20 20 20 20 20 20 20 20 | ordManagerExceptions",.......... |
156f00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 | ..............................." |
156f20 | 63 68 72 6f 6d 65 3a 2f 2f 70 61 73 73 77 6f 72 64 6d 67 72 2f 63 6f 6e 74 65 6e 74 2f 70 61 73 | chrome://passwordmgr/content/pas |
156f40 | 73 77 6f 72 64 4d 61 6e 61 67 65 72 45 78 63 65 70 74 69 6f 6e 73 2e 78 75 6c 22 2c 0a 20 20 20 | swordManagerExceptions.xul",.... |
156f60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
156f80 | 20 20 20 20 20 22 22 2c 20 6e 75 6c 6c 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a | ....."",.null);...},..../**....* |
156fa0 | 20 49 6e 69 74 69 61 6c 69 7a 65 73 20 6d 61 73 74 65 72 20 70 61 73 73 77 6f 72 64 20 55 49 3a | .Initializes.master.password.UI: |
156fc0 | 20 74 68 65 20 22 75 73 65 20 6d 61 73 74 65 72 20 70 61 73 73 77 6f 72 64 22 20 63 68 65 63 6b | .the."use.master.password".check |
156fe0 | 62 6f 78 2c 20 73 65 6c 65 63 74 73 0a 20 20 20 2a 20 74 68 65 20 6d 61 73 74 65 72 20 70 61 73 | box,.selects....*.the.master.pas |
157000 | 73 77 6f 72 64 20 62 75 74 74 6f 6e 20 74 6f 20 73 68 6f 77 2c 20 61 6e 64 20 65 6e 61 62 6c 65 | sword.button.to.show,.and.enable |
157020 | 73 2f 64 69 73 61 62 6c 65 73 20 69 74 20 61 73 20 6e 65 63 65 73 73 61 72 79 2e 0a 20 20 20 2a | s/disables.it.as.necessary.....* |
157040 | 20 54 68 65 20 6d 61 73 74 65 72 20 70 61 73 73 77 6f 72 64 20 69 73 20 63 6f 6e 74 72 6f 6c 6c | .The.master.password.is.controll |
157060 | 65 64 20 62 79 20 76 61 72 69 6f 75 73 20 62 69 74 73 20 6f 66 20 4e 53 53 20 66 75 6e 63 74 69 | ed.by.various.bits.of.NSS.functi |
157080 | 6f 6e 61 6c 69 74 79 2c 20 73 6f 0a 20 20 20 2a 20 74 68 65 20 55 49 20 66 6f 72 20 69 74 20 63 | onality,.so....*.the.UI.for.it.c |
1570a0 | 61 6e 27 74 20 62 65 20 63 6f 6e 74 72 6f 6c 6c 65 64 20 62 79 20 74 68 65 20 6e 6f 72 6d 61 6c | an't.be.controlled.by.the.normal |
1570c0 | 20 70 72 65 66 65 72 65 6e 63 65 20 62 69 6e 64 69 6e 67 73 2e 0a 20 20 20 2a 2f 0a 20 20 5f 69 | .preference.bindings.....*/..._i |
1570e0 | 6e 69 74 4d 61 73 74 65 72 50 61 73 73 77 6f 72 64 55 49 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 | nitMasterPasswordUI:.function.() |
157100 | 0a 20 20 7b 0a 20 20 20 20 76 61 72 20 6e 6f 4d 50 20 3d 20 21 74 68 69 73 2e 5f 6d 61 73 74 65 | ...{.....var.noMP.=.!this._maste |
157120 | 72 50 61 73 73 77 6f 72 64 53 65 74 28 29 3b 0a 0a 20 20 20 20 76 61 72 20 62 75 74 74 6f 6e 20 | rPasswordSet();......var.button. |
157140 | 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 63 68 61 6e 67 | =.document.getElementById("chang |
157160 | 65 4d 61 73 74 65 72 50 61 73 73 77 6f 72 64 22 29 3b 0a 20 20 20 20 62 75 74 74 6f 6e 2e 64 69 | eMasterPassword");.....button.di |
157180 | 73 61 62 6c 65 64 20 3d 20 6e 6f 4d 50 3b 0a 0a 20 20 20 20 76 61 72 20 63 68 65 63 6b 62 6f 78 | sabled.=.noMP;......var.checkbox |
1571a0 | 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 75 73 65 4d | .=.document.getElementById("useM |
1571c0 | 61 73 74 65 72 50 61 73 73 77 6f 72 64 22 29 3b 0a 20 20 20 20 63 68 65 63 6b 62 6f 78 2e 63 68 | asterPassword");.....checkbox.ch |
1571e0 | 65 63 6b 65 64 20 3d 20 21 6e 6f 4d 50 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 | ecked.=.!noMP;...},..../**....*. |
157200 | 52 65 74 75 72 6e 73 20 74 72 75 65 20 69 66 20 74 68 65 20 75 73 65 72 20 68 61 73 20 61 20 6d | Returns.true.if.the.user.has.a.m |
157220 | 61 73 74 65 72 20 70 61 73 73 77 6f 72 64 20 73 65 74 20 61 6e 64 20 66 61 6c 73 65 20 6f 74 68 | aster.password.set.and.false.oth |
157240 | 65 72 77 69 73 65 2e 0a 20 20 20 2a 2f 0a 20 20 5f 6d 61 73 74 65 72 50 61 73 73 77 6f 72 64 53 | erwise.....*/..._masterPasswordS |
157260 | 65 74 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 63 6f 6e 73 74 20 43 63 | et:.function.()...{.....const.Cc |
157280 | 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 2c 20 43 69 20 3d 20 43 6f 6d 70 | .=.Components.classes,.Ci.=.Comp |
1572a0 | 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 3b 0a 20 20 20 20 76 61 72 20 73 65 63 6d 6f | onents.interfaces;.....var.secmo |
1572c0 | 64 44 42 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 73 65 63 75 72 69 74 79 2f | dDB.=.Cc["@mozilla.org/security/ |
1572e0 | 70 6b 63 73 31 31 6d 6f 64 75 6c 65 64 62 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 | pkcs11moduledb;1"].............. |
157300 | 20 20 20 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 50 4b 43 53 31 31 4d 6f | .......getService(Ci.nsIPKCS11Mo |
157320 | 64 75 6c 65 44 42 29 3b 0a 20 20 20 20 76 61 72 20 73 6c 6f 74 20 3d 20 73 65 63 6d 6f 64 44 42 | duleDB);.....var.slot.=.secmodDB |
157340 | 2e 66 69 6e 64 53 6c 6f 74 42 79 4e 61 6d 65 28 22 22 29 3b 0a 20 20 20 20 69 66 20 28 73 6c 6f | .findSlotByName("");.....if.(slo |
157360 | 74 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 73 74 61 74 75 73 20 3d 20 73 6c 6f 74 2e 73 74 61 | t).{.......var.status.=.slot.sta |
157380 | 74 75 73 3b 0a 20 20 20 20 20 20 76 61 72 20 68 61 73 4d 50 20 3d 20 73 74 61 74 75 73 20 21 3d | tus;.......var.hasMP.=.status.!= |
1573a0 | 20 43 69 2e 6e 73 49 50 4b 43 53 31 31 53 6c 6f 74 2e 53 4c 4f 54 5f 55 4e 49 4e 49 54 49 41 4c | .Ci.nsIPKCS11Slot.SLOT_UNINITIAL |
1573c0 | 49 5a 45 44 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 74 61 74 75 73 | IZED.&&...................status |
1573e0 | 20 21 3d 20 43 69 2e 6e 73 49 50 4b 43 53 31 31 53 6c 6f 74 2e 53 4c 4f 54 5f 52 45 41 44 59 3b | .!=.Ci.nsIPKCS11Slot.SLOT_READY; |
157400 | 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 68 61 73 4d 50 3b 0a 20 20 20 20 7d 20 65 6c 73 65 20 | .......return.hasMP;.....}.else. |
157420 | 7b 0a 20 20 20 20 20 20 2f 2f 20 58 58 58 20 49 20 68 61 76 65 20 6e 6f 20 62 6c 6f 6f 64 79 20 | {.......//.XXX.I.have.no.bloody. |
157440 | 69 64 65 61 20 77 68 61 74 20 74 68 69 73 20 6d 65 61 6e 73 0a 20 20 20 20 20 20 72 65 74 75 72 | idea.what.this.means.......retur |
157460 | 6e 20 66 61 6c 73 65 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 | n.false;.....}...},..../**....*. |
157480 | 45 6e 61 62 6c 65 73 2f 64 69 73 61 62 6c 65 73 20 74 68 65 20 6d 61 73 74 65 72 20 70 61 73 73 | Enables/disables.the.master.pass |
1574a0 | 77 6f 72 64 20 62 75 74 74 6f 6e 20 64 65 70 65 6e 64 69 6e 67 20 6f 6e 20 74 68 65 20 73 74 61 | word.button.depending.on.the.sta |
1574c0 | 74 65 20 6f 66 20 74 68 65 0a 20 20 20 2a 20 22 75 73 65 20 6d 61 73 74 65 72 20 70 61 73 73 77 | te.of.the....*."use.master.passw |
1574e0 | 6f 72 64 22 20 63 68 65 63 6b 62 6f 78 2c 20 61 6e 64 20 70 72 6f 6d 70 74 73 20 66 6f 72 20 6d | ord".checkbox,.and.prompts.for.m |
157500 | 61 73 74 65 72 20 70 61 73 73 77 6f 72 64 20 72 65 6d 6f 76 61 6c 20 69 66 0a 20 20 20 2a 20 6f | aster.password.removal.if....*.o |
157520 | 6e 65 20 69 73 20 73 65 74 2e 0a 20 20 20 2a 2f 0a 20 20 75 70 64 61 74 65 4d 61 73 74 65 72 50 | ne.is.set.....*/...updateMasterP |
157540 | 61 73 73 77 6f 72 64 42 75 74 74 6f 6e 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 | asswordButton:.function.()...{.. |
157560 | 20 20 20 76 61 72 20 63 68 65 63 6b 62 6f 78 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c | ...var.checkbox.=.document.getEl |
157580 | 65 6d 65 6e 74 42 79 49 64 28 22 75 73 65 4d 61 73 74 65 72 50 61 73 73 77 6f 72 64 22 29 3b 0a | ementById("useMasterPassword");. |
1575a0 | 20 20 20 20 76 61 72 20 62 75 74 74 6f 6e 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 | ....var.button.=.document.getEle |
1575c0 | 6d 65 6e 74 42 79 49 64 28 22 63 68 61 6e 67 65 4d 61 73 74 65 72 50 61 73 73 77 6f 72 64 22 29 | mentById("changeMasterPassword") |
1575e0 | 3b 0a 20 20 20 20 62 75 74 74 6f 6e 2e 64 69 73 61 62 6c 65 64 20 3d 20 21 63 68 65 63 6b 62 6f | ;.....button.disabled.=.!checkbo |
157600 | 78 2e 63 68 65 63 6b 65 64 3b 0a 0a 20 20 20 20 2f 2f 20 75 6e 63 68 65 63 6b 69 6e 67 20 74 68 | x.checked;......//.unchecking.th |
157620 | 65 20 63 68 65 63 6b 62 6f 78 20 73 68 6f 75 6c 64 20 74 72 79 20 74 6f 20 69 6d 6d 65 64 69 61 | e.checkbox.should.try.to.immedia |
157640 | 74 65 6c 79 20 72 65 6d 6f 76 65 20 74 68 65 20 6d 61 73 74 65 72 0a 20 20 20 20 2f 2f 20 70 61 | tely.remove.the.master.....//.pa |
157660 | 73 73 77 6f 72 64 2c 20 62 65 63 61 75 73 65 20 69 74 27 73 20 69 6d 70 6f 73 73 69 62 6c 65 20 | ssword,.because.it's.impossible. |
157680 | 74 6f 20 6e 6f 6e 2d 64 65 73 74 72 75 63 74 69 76 65 6c 79 20 72 65 6d 6f 76 65 20 74 68 65 20 | to.non-destructively.remove.the. |
1576a0 | 6d 61 73 74 65 72 0a 20 20 20 20 2f 2f 20 70 61 73 73 77 6f 72 64 20 75 73 65 64 20 74 6f 20 65 | master.....//.password.used.to.e |
1576c0 | 6e 63 72 79 70 74 20 61 6c 6c 20 74 68 65 20 70 61 73 73 77 6f 72 64 73 20 77 69 74 68 6f 75 74 | ncrypt.all.the.passwords.without |
1576e0 | 20 70 72 6f 76 69 64 69 6e 67 20 69 74 20 28 62 79 0a 20 20 20 20 2f 2f 20 64 65 73 69 67 6e 29 | .providing.it.(by.....//.design) |
157700 | 2c 20 61 6e 64 20 69 74 20 77 6f 75 6c 64 20 62 65 20 65 78 74 72 65 6d 65 6c 79 20 6f 64 64 20 | ,.and.it.would.be.extremely.odd. |
157720 | 74 6f 20 70 6f 70 20 75 70 20 74 68 61 74 20 64 69 61 6c 6f 67 20 77 68 65 6e 20 74 68 65 0a 20 | to.pop.up.that.dialog.when.the.. |
157740 | 20 20 20 2f 2f 20 75 73 65 72 20 63 6c 6f 73 65 73 20 74 68 65 20 70 72 65 66 77 69 6e 64 6f 77 | ...//.user.closes.the.prefwindow |
157760 | 20 61 6e 64 20 73 61 76 65 73 20 68 69 73 20 73 65 74 74 69 6e 67 73 0a 20 20 20 20 69 66 20 28 | .and.saves.his.settings.....if.( |
157780 | 21 63 68 65 63 6b 62 6f 78 2e 63 68 65 63 6b 65 64 29 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 72 | !checkbox.checked).......this._r |
1577a0 | 65 6d 6f 76 65 4d 61 73 74 65 72 50 61 73 73 77 6f 72 64 28 29 3b 0a 20 20 20 20 65 6c 73 65 0a | emoveMasterPassword();.....else. |
1577c0 | 20 20 20 20 20 20 74 68 69 73 2e 63 68 61 6e 67 65 4d 61 73 74 65 72 50 61 73 73 77 6f 72 64 28 | ......this.changeMasterPassword( |
1577e0 | 29 3b 0a 0a 20 20 20 20 74 68 69 73 2e 5f 69 6e 69 74 4d 61 73 74 65 72 50 61 73 73 77 6f 72 64 | );......this._initMasterPassword |
157800 | 55 49 28 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 44 69 73 70 6c 61 79 73 20 | UI();...},..../**....*.Displays. |
157820 | 74 68 65 20 22 72 65 6d 6f 76 65 20 6d 61 73 74 65 72 20 70 61 73 73 77 6f 72 64 22 20 64 69 61 | the."remove.master.password".dia |
157840 | 6c 6f 67 20 74 6f 20 61 6c 6c 6f 77 20 74 68 65 20 75 73 65 72 20 74 6f 20 72 65 6d 6f 76 65 0a | log.to.allow.the.user.to.remove. |
157860 | 20 20 20 2a 20 74 68 65 20 63 75 72 72 65 6e 74 20 6d 61 73 74 65 72 20 70 61 73 73 77 6f 72 64 | ...*.the.current.master.password |
157880 | 2e 20 20 57 68 65 6e 20 74 68 65 20 64 69 61 6c 6f 67 20 69 73 20 64 69 73 6d 69 73 73 65 64 2c | ...When.the.dialog.is.dismissed, |
1578a0 | 20 6d 61 73 74 65 72 20 70 61 73 73 77 6f 72 64 0a 20 20 20 2a 20 55 49 20 69 73 20 61 75 74 6f | .master.password....*.UI.is.auto |
1578c0 | 6d 61 74 69 63 61 6c 6c 79 20 75 70 64 61 74 65 64 2e 0a 20 20 20 2a 2f 0a 20 20 5f 72 65 6d 6f | matically.updated.....*/..._remo |
1578e0 | 76 65 4d 61 73 74 65 72 50 61 73 73 77 6f 72 64 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 | veMasterPassword:.function.()... |
157900 | 7b 0a 20 20 20 20 63 6f 6e 73 74 20 43 63 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 | {.....const.Cc.=.Components.clas |
157920 | 73 65 73 2c 20 43 69 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 3b | ses,.Ci.=.Components.interfaces; |
157940 | 0a 20 20 20 20 76 61 72 20 73 65 63 6d 6f 64 44 42 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 | .....var.secmodDB.=.Cc["@mozilla |
157960 | 2e 6f 72 67 2f 73 65 63 75 72 69 74 79 2f 70 6b 63 73 31 31 6d 6f 64 75 6c 65 64 62 3b 31 22 5d | .org/security/pkcs11moduledb;1"] |
157980 | 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 | .....................getService( |
1579a0 | 43 69 2e 6e 73 49 50 4b 43 53 31 31 4d 6f 64 75 6c 65 44 42 29 3b 0a 20 20 20 20 69 66 20 28 73 | Ci.nsIPKCS11ModuleDB);.....if.(s |
1579c0 | 65 63 6d 6f 64 44 42 2e 69 73 46 49 50 53 45 6e 61 62 6c 65 64 29 20 7b 0a 20 20 20 20 20 20 76 | ecmodDB.isFIPSEnabled).{.......v |
1579e0 | 61 72 20 70 72 6f 6d 70 74 53 65 72 76 69 63 65 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e | ar.promptService.=.Cc["@mozilla. |
157a00 | 6f 72 67 2f 65 6d 62 65 64 63 6f 6d 70 2f 70 72 6f 6d 70 74 2d 73 65 72 76 69 63 65 3b 31 22 5d | org/embedcomp/prompt-service;1"] |
157a20 | 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 53 | ............................getS |
157a40 | 65 72 76 69 63 65 28 43 69 2e 6e 73 49 50 72 6f 6d 70 74 53 65 72 76 69 63 65 29 3b 0a 20 20 20 | ervice(Ci.nsIPromptService);.... |
157a60 | 20 20 20 76 61 72 20 62 75 6e 64 6c 65 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d | ...var.bundle.=.document.getElem |
157a80 | 65 6e 74 42 79 49 64 28 22 62 75 6e 64 6c 65 50 72 65 66 65 72 65 6e 63 65 73 22 29 3b 0a 20 20 | entById("bundlePreferences");... |
157aa0 | 20 20 20 20 70 72 6f 6d 70 74 53 65 72 76 69 63 65 2e 61 6c 65 72 74 28 77 69 6e 64 6f 77 2c 0a | ....promptService.alert(window,. |
157ac0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 75 6e 64 6c 65 | ..........................bundle |
157ae0 | 2e 67 65 74 53 74 72 69 6e 67 28 22 70 77 5f 63 68 61 6e 67 65 5f 66 61 69 6c 65 64 5f 74 69 74 | .getString("pw_change_failed_tit |
157b00 | 6c 65 22 29 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | le"),........................... |
157b20 | 62 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 70 77 5f 63 68 61 6e 67 65 32 65 6d 70 74 | bundle.getString("pw_change2empt |
157b40 | 79 5f 69 6e 5f 66 69 70 73 5f 6d 6f 64 65 22 29 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 65 6c 73 | y_in_fips_mode"));.....}.....els |
157b60 | 65 20 7b 0a 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 64 6f 63 75 6d 65 6e 74 45 6c 65 6d 65 | e.{.......document.documentEleme |
157b80 | 6e 74 2e 6f 70 65 6e 53 75 62 44 69 61 6c 6f 67 28 22 63 68 72 6f 6d 65 3a 2f 2f 6d 6f 7a 61 70 | nt.openSubDialog("chrome://mozap |
157ba0 | 70 73 2f 63 6f 6e 74 65 6e 74 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 72 65 6d 6f 76 65 6d 70 2e | ps/content/preferences/removemp. |
157bc0 | 78 75 6c 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | xul",........................... |
157be0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 22 2c 20 6e 75 6c 6c 29 3b 0a 20 20 | ..................."",.null);... |
157c00 | 20 20 7d 0a 20 20 20 20 74 68 69 73 2e 5f 69 6e 69 74 4d 61 73 74 65 72 50 61 73 73 77 6f 72 64 | ..}.....this._initMasterPassword |
157c20 | 55 49 28 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 44 69 73 70 6c 61 79 73 20 | UI();...},..../**....*.Displays. |
157c40 | 61 20 64 69 61 6c 6f 67 20 69 6e 20 77 68 69 63 68 20 74 68 65 20 6d 61 73 74 65 72 20 70 61 73 | a.dialog.in.which.the.master.pas |
157c60 | 73 77 6f 72 64 20 6d 61 79 20 62 65 20 63 68 61 6e 67 65 64 2e 0a 20 20 20 2a 2f 0a 20 20 63 68 | sword.may.be.changed.....*/...ch |
157c80 | 61 6e 67 65 4d 61 73 74 65 72 50 61 73 73 77 6f 72 64 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a | angeMasterPassword:.function.(). |
157ca0 | 20 20 7b 0a 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 64 6f 63 75 6d 65 6e 74 45 6c 65 6d 65 6e 74 | ..{.....document.documentElement |
157cc0 | 2e 6f 70 65 6e 53 75 62 44 69 61 6c 6f 67 28 22 63 68 72 6f 6d 65 3a 2f 2f 6d 6f 7a 61 70 70 73 | .openSubDialog("chrome://mozapps |
157ce0 | 2f 63 6f 6e 74 65 6e 74 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 63 68 61 6e 67 65 6d 70 2e 78 75 | /content/preferences/changemp.xu |
157d00 | 6c 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | l",............................. |
157d20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 22 2c 20 6e 75 6c 6c 29 3b 0a 20 20 20 20 74 68 | ..............."",.null);.....th |
157d40 | 69 73 2e 5f 69 6e 69 74 4d 61 73 74 65 72 50 61 73 73 77 6f 72 64 55 49 28 29 3b 0a 20 20 7d 2c | is._initMasterPasswordUI();...}, |
157d60 | 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 53 68 6f 77 73 20 74 68 65 20 73 69 74 65 73 20 77 68 65 | ..../**....*.Shows.the.sites.whe |
157d80 | 72 65 20 74 68 65 20 75 73 65 72 20 68 61 73 20 73 61 76 65 64 20 70 61 73 73 77 6f 72 64 73 20 | re.the.user.has.saved.passwords. |
157da0 | 61 6e 64 20 74 68 65 20 61 73 73 6f 63 69 61 74 65 64 20 6c 6f 67 69 6e 0a 20 20 20 2a 20 69 6e | and.the.associated.login....*.in |
157dc0 | 66 6f 72 6d 61 74 69 6f 6e 2e 0a 20 20 20 2a 2f 0a 20 20 73 68 6f 77 50 61 73 73 77 6f 72 64 73 | formation.....*/...showPasswords |
157de0 | 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 64 | :.function.()...{.....document.d |
157e00 | 6f 63 75 6d 65 6e 74 45 6c 65 6d 65 6e 74 2e 6f 70 65 6e 57 69 6e 64 6f 77 28 22 54 6f 6f 6c 6b | ocumentElement.openWindow("Toolk |
157e20 | 69 74 3a 50 61 73 73 77 6f 72 64 4d 61 6e 61 67 65 72 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 | it:PasswordManager",............ |
157e40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 63 68 | ............................."ch |
157e60 | 72 6f 6d 65 3a 2f 2f 70 61 73 73 77 6f 72 64 6d 67 72 2f 63 6f 6e 74 65 6e 74 2f 70 61 73 73 77 | rome://passwordmgr/content/passw |
157e80 | 6f 72 64 4d 61 6e 61 67 65 72 2e 78 75 6c 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ordManager.xul",................ |
157ea0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 22 2c 20 6e 75 6c | ........................."",.nul |
157ec0 | 6c 29 3b 0a 20 20 7d 2c 0a 0a 0a 20 20 2f 2f 20 57 41 52 4e 49 4e 47 20 4d 45 53 53 41 47 45 53 | l);...},.....//.WARNING.MESSAGES |
157ee0 | 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 44 69 73 70 6c 61 79 73 20 74 68 65 20 73 65 63 75 72 69 | ..../**....*.Displays.the.securi |
157f00 | 74 79 20 77 61 72 6e 69 6e 67 73 20 64 69 61 6c 6f 67 20 77 68 69 63 68 20 61 6c 6c 6f 77 73 20 | ty.warnings.dialog.which.allows. |
157f20 | 63 68 61 6e 67 69 6e 67 20 74 68 65 0a 20 20 20 2a 20 22 73 75 62 6d 69 74 74 69 6e 67 20 75 6e | changing.the....*."submitting.un |
157f40 | 65 6e 63 72 79 70 74 65 64 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 22 2c 20 22 6d 6f 76 69 6e 67 20 | encrypted.information",."moving. |
157f60 | 66 72 6f 6d 20 73 65 63 75 72 65 20 74 6f 20 75 6e 73 65 63 75 72 65 22 2c 0a 20 20 20 2a 20 65 | from.secure.to.unsecure",....*.e |
157f80 | 74 63 2e 20 64 69 61 6c 6f 67 73 20 74 68 61 74 20 65 76 65 72 79 20 75 73 65 72 20 69 6d 6d 65 | tc..dialogs.that.every.user.imme |
157fa0 | 64 69 61 74 65 6c 79 20 64 69 73 61 62 6c 65 73 20 77 68 65 6e 20 68 65 20 73 65 65 73 20 74 68 | diately.disables.when.he.sees.th |
157fc0 | 65 6d 2e 0a 20 20 20 2a 2f 0a 20 20 73 68 6f 77 57 61 72 6e 69 6e 67 4d 65 73 73 61 67 65 53 65 | em.....*/...showWarningMessageSe |
157fe0 | 74 74 69 6e 67 73 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 64 6f 63 75 | ttings:.function.()...{.....docu |
158000 | 6d 65 6e 74 2e 64 6f 63 75 6d 65 6e 74 45 6c 65 6d 65 6e 74 2e 6f 70 65 6e 53 75 62 44 69 61 6c | ment.documentElement.openSubDial |
158020 | 6f 67 28 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 70 72 65 | og("chrome://browser/content/pre |
158040 | 66 65 72 65 6e 63 65 73 2f 73 65 63 75 72 69 74 79 57 61 72 6e 69 6e 67 73 2e 78 75 6c 22 2c 0a | ferences/securityWarnings.xul",. |
158060 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
158080 | 20 20 20 20 20 20 20 20 20 20 20 22 22 2c 20 6e 75 6c 6c 29 3b 0a 20 20 7d 0a 0a 7d 3b 0a 50 4b | ..........."",.null);...}..};.PK |
1580a0 | 03 04 14 00 00 00 00 00 f3 4b 18 3b f5 d9 33 ca 2b 0e 00 00 2b 0e 00 00 30 00 00 00 63 6f 6e 74 | .........K.;..3.+...+...0...cont |
1580c0 | 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 73 65 63 75 72 69 74 79 | ent/browser/preferences/security |
1580e0 | 57 61 72 6e 69 6e 67 73 2e 78 75 6c 3c 3f 78 6d 6c 20 76 65 72 73 69 6f 6e 3d 22 31 2e 30 22 3f | Warnings.xul<?xml.version="1.0"? |
158100 | 3e 0a 0a 0a 3c 21 44 4f 43 54 59 50 45 20 70 72 65 66 77 69 6e 64 6f 77 20 53 59 53 54 45 4d 20 | >...<!DOCTYPE.prefwindow.SYSTEM. |
158120 | 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 6c 6f 63 61 6c 65 2f 70 72 65 66 65 72 65 | "chrome://browser/locale/prefere |
158140 | 6e 63 65 73 2f 73 65 63 75 72 69 74 79 57 61 72 6e 69 6e 67 73 2e 64 74 64 22 3e 0a 0a 3c 3f 78 | nces/securityWarnings.dtd">..<?x |
158160 | 6d 6c 2d 73 74 79 6c 65 73 68 65 65 74 20 68 72 65 66 3d 22 63 68 72 6f 6d 65 3a 2f 2f 67 6c 6f | ml-stylesheet.href="chrome://glo |
158180 | 62 61 6c 2f 73 6b 69 6e 2f 22 3f 3e 0a 0a 3c 70 72 65 66 77 69 6e 64 6f 77 20 69 64 3d 22 53 65 | bal/skin/"?>..<prefwindow.id="Se |
1581a0 | 63 75 72 69 74 79 57 61 72 6e 69 6e 67 73 22 20 74 79 70 65 3d 22 63 68 69 6c 64 22 0a 20 20 20 | curityWarnings".type="child".... |
1581c0 | 20 20 20 20 20 20 20 20 20 78 6d 6c 6e 73 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c | .........xmlns="http://www.mozil |
1581e0 | 6c 61 2e 6f 72 67 2f 6b 65 79 6d 61 73 74 65 72 2f 67 61 74 65 6b 65 65 70 65 72 2f 74 68 65 72 | la.org/keymaster/gatekeeper/ther |
158200 | 65 2e 69 73 2e 6f 6e 6c 79 2e 78 75 6c 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 69 74 6c 65 | e.is.only.xul".............title |
158220 | 3d 22 26 73 65 63 75 72 69 74 79 57 61 72 6e 69 6e 67 73 2e 74 69 74 6c 65 3b 22 0a 20 20 20 20 | ="&securityWarnings.title;"..... |
158240 | 20 20 20 20 20 20 20 20 64 6c 67 62 75 74 74 6f 6e 73 3d 22 61 63 63 65 70 74 2c 63 61 6e 63 65 | ........dlgbuttons="accept,cance |
158260 | 6c 22 3e 0a 0a 20 20 3c 70 72 65 66 70 61 6e 65 20 69 64 3d 22 53 65 63 75 72 69 74 79 57 61 72 | l">....<prefpane.id="SecurityWar |
158280 | 6e 69 6e 67 73 50 61 6e 65 22 3e 0a 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 73 3e 0a 20 20 | ningsPane">.....<preferences>... |
1582a0 | 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 73 65 63 75 72 69 74 79 2e 77 61 72 | ....<preference.id="security.war |
1582c0 | 6e 5f 65 6e 74 65 72 69 6e 67 5f 73 65 63 75 72 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | n_entering_secure".............. |
1582e0 | 20 20 20 20 20 6e 61 6d 65 3d 22 73 65 63 75 72 69 74 79 2e 77 61 72 6e 5f 65 6e 74 65 72 69 6e | .....name="security.warn_enterin |
158300 | 67 5f 73 65 63 75 72 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 79 70 65 | g_secure"...................type |
158320 | 3d 22 62 6f 6f 6c 22 2f 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 | ="bool"/>.......<preference.id=" |
158340 | 73 65 63 75 72 69 74 79 2e 77 61 72 6e 5f 65 6e 74 65 72 69 6e 67 5f 73 65 63 75 72 65 2e 73 68 | security.warn_entering_secure.sh |
158360 | 6f 77 5f 6f 6e 63 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 61 6d 65 3d | ow_once"...................name= |
158380 | 22 73 65 63 75 72 69 74 79 2e 77 61 72 6e 5f 65 6e 74 65 72 69 6e 67 5f 73 65 63 75 72 65 2e 73 | "security.warn_entering_secure.s |
1583a0 | 68 6f 77 5f 6f 6e 63 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 79 70 65 | how_once"...................type |
1583c0 | 3d 22 62 6f 6f 6c 22 2f 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 | ="bool"/>.......<preference.id=" |
1583e0 | 73 65 63 75 72 69 74 79 2e 77 61 72 6e 5f 65 6e 74 65 72 69 6e 67 5f 77 65 61 6b 22 0a 20 20 20 | security.warn_entering_weak".... |
158400 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 61 6d 65 3d 22 73 65 63 75 72 69 74 79 2e 77 61 | ...............name="security.wa |
158420 | 72 6e 5f 65 6e 74 65 72 69 6e 67 5f 77 65 61 6b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | rn_entering_weak"............... |
158440 | 20 20 20 20 74 79 70 65 3d 22 62 6f 6f 6c 22 2f 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 | ....type="bool"/>.......<prefere |
158460 | 6e 63 65 20 69 64 3d 22 73 65 63 75 72 69 74 79 2e 77 61 72 6e 5f 65 6e 74 65 72 69 6e 67 5f 77 | nce.id="security.warn_entering_w |
158480 | 65 61 6b 2e 73 68 6f 77 5f 6f 6e 63 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | eak.show_once".................. |
1584a0 | 20 6e 61 6d 65 3d 22 73 65 63 75 72 69 74 79 2e 77 61 72 6e 5f 65 6e 74 65 72 69 6e 67 5f 77 65 | .name="security.warn_entering_we |
1584c0 | 61 6b 2e 73 68 6f 77 5f 6f 6e 63 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ak.show_once"................... |
1584e0 | 74 79 70 65 3d 22 62 6f 6f 6c 22 2f 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 | type="bool"/>.......<preference. |
158500 | 69 64 3d 22 73 65 63 75 72 69 74 79 2e 77 61 72 6e 5f 6c 65 61 76 69 6e 67 5f 73 65 63 75 72 65 | id="security.warn_leaving_secure |
158520 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 61 6d 65 3d 22 73 65 63 75 72 69 | "...................name="securi |
158540 | 74 79 2e 77 61 72 6e 5f 6c 65 61 76 69 6e 67 5f 73 65 63 75 72 65 22 0a 20 20 20 20 20 20 20 20 | ty.warn_leaving_secure"......... |
158560 | 20 20 20 20 20 20 20 20 20 20 74 79 70 65 3d 22 62 6f 6f 6c 22 2f 3e 0a 20 20 20 20 20 20 3c 70 | ..........type="bool"/>.......<p |
158580 | 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 73 65 63 75 72 69 74 79 2e 77 61 72 6e 5f 6c 65 61 76 | reference.id="security.warn_leav |
1585a0 | 69 6e 67 5f 73 65 63 75 72 65 2e 73 68 6f 77 5f 6f 6e 63 65 22 0a 20 20 20 20 20 20 20 20 20 20 | ing_secure.show_once"........... |
1585c0 | 20 20 20 20 20 20 20 20 6e 61 6d 65 3d 22 73 65 63 75 72 69 74 79 2e 77 61 72 6e 5f 6c 65 61 76 | ........name="security.warn_leav |
1585e0 | 69 6e 67 5f 73 65 63 75 72 65 2e 73 68 6f 77 5f 6f 6e 63 65 22 0a 20 20 20 20 20 20 20 20 20 20 | ing_secure.show_once"........... |
158600 | 20 20 20 20 20 20 20 20 74 79 70 65 3d 22 62 6f 6f 6c 22 2f 3e 0a 20 20 20 20 20 20 3c 70 72 65 | ........type="bool"/>.......<pre |
158620 | 66 65 72 65 6e 63 65 20 69 64 3d 22 73 65 63 75 72 69 74 79 2e 77 61 72 6e 5f 73 75 62 6d 69 74 | ference.id="security.warn_submit |
158640 | 5f 69 6e 73 65 63 75 72 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 61 6d | _insecure"...................nam |
158660 | 65 3d 22 73 65 63 75 72 69 74 79 2e 77 61 72 6e 5f 73 75 62 6d 69 74 5f 69 6e 73 65 63 75 72 65 | e="security.warn_submit_insecure |
158680 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 79 70 65 3d 22 62 6f 6f 6c 22 2f | "...................type="bool"/ |
1586a0 | 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 73 65 63 75 72 69 74 79 | >.......<preference.id="security |
1586c0 | 2e 77 61 72 6e 5f 73 75 62 6d 69 74 5f 69 6e 73 65 63 75 72 65 2e 73 68 6f 77 5f 6f 6e 63 65 22 | .warn_submit_insecure.show_once" |
1586e0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 61 6d 65 3d 22 73 65 63 75 72 69 74 | ...................name="securit |
158700 | 79 2e 77 61 72 6e 5f 73 75 62 6d 69 74 5f 69 6e 73 65 63 75 72 65 2e 73 68 6f 77 5f 6f 6e 63 65 | y.warn_submit_insecure.show_once |
158720 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 79 70 65 3d 22 62 6f 6f 6c 22 2f | "...................type="bool"/ |
158740 | 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 73 65 63 75 72 69 74 79 | >.......<preference.id="security |
158760 | 2e 77 61 72 6e 5f 76 69 65 77 69 6e 67 5f 6d 69 78 65 64 22 0a 20 20 20 20 20 20 20 20 20 20 20 | .warn_viewing_mixed"............ |
158780 | 20 20 20 20 20 20 20 6e 61 6d 65 3d 22 73 65 63 75 72 69 74 79 2e 77 61 72 6e 5f 76 69 65 77 69 | .......name="security.warn_viewi |
1587a0 | 6e 67 5f 6d 69 78 65 64 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 79 70 65 | ng_mixed"...................type |
1587c0 | 3d 22 62 6f 6f 6c 22 2f 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 | ="bool"/>.......<preference.id=" |
1587e0 | 73 65 63 75 72 69 74 79 2e 77 61 72 6e 5f 76 69 65 77 69 6e 67 5f 6d 69 78 65 64 2e 73 68 6f 77 | security.warn_viewing_mixed.show |
158800 | 5f 6f 6e 63 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 61 6d 65 3d 22 73 | _once"...................name="s |
158820 | 65 63 75 72 69 74 79 2e 77 61 72 6e 5f 76 69 65 77 69 6e 67 5f 6d 69 78 65 64 2e 73 68 6f 77 5f | ecurity.warn_viewing_mixed.show_ |
158840 | 6f 6e 63 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 79 70 65 3d 22 62 6f | once"...................type="bo |
158860 | 6f 6c 22 2f 3e 0a 20 20 20 20 3c 2f 70 72 65 66 65 72 65 6e 63 65 73 3e 0a 20 20 20 20 0a 20 20 | ol"/>.....</preferences>........ |
158880 | 20 20 3c 73 63 72 69 70 74 20 74 79 70 65 3d 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f 78 2d 6a 61 | ..<script.type="application/x-ja |
1588a0 | 76 61 73 63 72 69 70 74 22 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f | vascript".src="chrome://browser/ |
1588c0 | 63 6f 6e 74 65 6e 74 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 73 65 63 75 72 69 74 79 57 61 72 6e | content/preferences/securityWarn |
1588e0 | 69 6e 67 73 2e 6a 73 22 2f 3e 0a 0a 20 20 20 20 3c 64 65 73 63 72 69 70 74 69 6f 6e 20 76 61 6c | ings.js"/>......<description.val |
158900 | 75 65 3d 22 26 73 65 63 75 72 69 74 79 2e 77 61 72 6e 5f 77 68 65 6e 3b 22 2f 3e 0a 20 20 20 20 | ue="&security.warn_when;"/>..... |
158920 | 3c 76 62 6f 78 20 63 6c 61 73 73 3d 22 69 6e 64 65 6e 74 22 3e 0a 20 20 20 20 20 20 3c 63 68 65 | <vbox.class="indent">.......<che |
158940 | 63 6b 62 6f 78 20 69 64 3d 22 77 61 72 6e 5f 65 6e 74 65 72 69 6e 67 5f 73 65 63 75 72 65 22 0a | ckbox.id="warn_entering_secure". |
158960 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 73 79 6e 63 74 6f 70 72 65 66 65 72 65 6e | ................onsynctopreferen |
158980 | 63 65 3d 22 73 65 63 57 61 72 6e 69 6e 67 53 79 6e 63 54 6f 28 65 76 65 6e 74 29 3b 22 0a 20 20 | ce="secWarningSyncTo(event);"... |
1589a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 73 65 63 75 72 69 74 79 2e 77 | ..............label="&security.w |
1589c0 | 61 72 6e 5f 65 6e 74 65 72 69 6e 67 5f 73 65 63 75 72 65 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 | arn_entering_secure.label;"..... |
1589e0 | 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 73 65 63 75 72 69 74 79 | ............accesskey="&security |
158a00 | 2e 77 61 72 6e 5f 65 6e 74 65 72 69 6e 67 5f 73 65 63 75 72 65 2e 61 63 63 65 73 73 6b 65 79 3b | .warn_entering_secure.accesskey; |
158a20 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 65 66 65 72 65 6e 63 65 3d 22 73 65 | ".................preference="se |
158a40 | 63 75 72 69 74 79 2e 77 61 72 6e 5f 65 6e 74 65 72 69 6e 67 5f 73 65 63 75 72 65 22 2f 3e 0a 20 | curity.warn_entering_secure"/>.. |
158a60 | 20 20 20 20 20 3c 63 68 65 63 6b 62 6f 78 20 69 64 3d 22 77 61 72 6e 5f 65 6e 74 65 72 69 6e 67 | .....<checkbox.id="warn_entering |
158a80 | 5f 77 65 61 6b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 73 79 6e 63 74 6f 70 | _weak".................onsynctop |
158aa0 | 72 65 66 65 72 65 6e 63 65 3d 22 73 65 63 57 61 72 6e 69 6e 67 53 79 6e 63 54 6f 28 65 76 65 6e | reference="secWarningSyncTo(even |
158ac0 | 74 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 73 65 63 | t);".................label="&sec |
158ae0 | 75 72 69 74 79 2e 77 61 72 6e 5f 65 6e 74 65 72 69 6e 67 5f 77 65 61 6b 2e 6c 61 62 65 6c 3b 22 | urity.warn_entering_weak.label;" |
158b00 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 73 65 63 | .................accesskey="&sec |
158b20 | 75 72 69 74 79 2e 77 61 72 6e 5f 65 6e 74 65 72 69 6e 67 5f 77 65 61 6b 2e 61 63 63 65 73 73 6b | urity.warn_entering_weak.accessk |
158b40 | 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 65 66 65 72 65 6e 63 65 3d | ey;".................preference= |
158b60 | 22 73 65 63 75 72 69 74 79 2e 77 61 72 6e 5f 65 6e 74 65 72 69 6e 67 5f 77 65 61 6b 22 2f 3e 0a | "security.warn_entering_weak"/>. |
158b80 | 20 20 20 20 20 20 3c 63 68 65 63 6b 62 6f 78 20 69 64 3d 22 77 61 72 6e 5f 6c 65 61 76 69 6e 67 | ......<checkbox.id="warn_leaving |
158ba0 | 5f 73 65 63 75 72 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 73 79 6e 63 74 | _secure".................onsynct |
158bc0 | 6f 70 72 65 66 65 72 65 6e 63 65 3d 22 73 65 63 57 61 72 6e 69 6e 67 53 79 6e 63 54 6f 28 65 76 | opreference="secWarningSyncTo(ev |
158be0 | 65 6e 74 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 73 | ent);".................label="&s |
158c00 | 65 63 75 72 69 74 79 2e 77 61 72 6e 5f 6c 65 61 76 69 6e 67 5f 73 65 63 75 72 65 2e 6c 61 62 65 | ecurity.warn_leaving_secure.labe |
158c20 | 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 | l;".................accesskey="& |
158c40 | 73 65 63 75 72 69 74 79 2e 77 61 72 6e 5f 6c 65 61 76 69 6e 67 5f 73 65 63 75 72 65 2e 61 63 63 | security.warn_leaving_secure.acc |
158c60 | 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 65 66 65 72 65 | esskey;".................prefere |
158c80 | 6e 63 65 3d 22 73 65 63 75 72 69 74 79 2e 77 61 72 6e 5f 6c 65 61 76 69 6e 67 5f 73 65 63 75 72 | nce="security.warn_leaving_secur |
158ca0 | 65 22 2f 3e 0a 20 20 20 20 20 20 3c 63 68 65 63 6b 62 6f 78 20 69 64 3d 22 77 61 72 6e 5f 73 75 | e"/>.......<checkbox.id="warn_su |
158cc0 | 62 6d 69 74 5f 69 6e 73 65 63 75 72 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f | bmit_insecure".................o |
158ce0 | 6e 73 79 6e 63 74 6f 70 72 65 66 65 72 65 6e 63 65 3d 22 73 65 63 57 61 72 6e 69 6e 67 53 79 6e | nsynctopreference="secWarningSyn |
158d00 | 63 54 6f 28 65 76 65 6e 74 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 | cTo(event);".................lab |
158d20 | 65 6c 3d 22 26 73 65 63 75 72 69 74 79 2e 77 61 72 6e 5f 73 75 62 6d 69 74 5f 69 6e 73 65 63 75 | el="&security.warn_submit_insecu |
158d40 | 72 65 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 | re.label;".................acces |
158d60 | 73 6b 65 79 3d 22 26 73 65 63 75 72 69 74 79 2e 77 61 72 6e 5f 73 75 62 6d 69 74 5f 69 6e 73 65 | skey="&security.warn_submit_inse |
158d80 | 63 75 72 65 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | cure.accesskey;"................ |
158da0 | 20 70 72 65 66 65 72 65 6e 63 65 3d 22 73 65 63 75 72 69 74 79 2e 77 61 72 6e 5f 73 75 62 6d 69 | .preference="security.warn_submi |
158dc0 | 74 5f 69 6e 73 65 63 75 72 65 22 2f 3e 0a 20 20 20 20 20 20 3c 63 68 65 63 6b 62 6f 78 20 69 64 | t_insecure"/>.......<checkbox.id |
158de0 | 3d 22 77 61 72 6e 5f 76 69 65 77 69 6e 67 5f 6d 69 78 65 64 22 0a 20 20 20 20 20 20 20 20 20 20 | ="warn_viewing_mixed"........... |
158e00 | 20 20 20 20 20 20 6f 6e 73 79 6e 63 74 6f 70 72 65 66 65 72 65 6e 63 65 3d 22 73 65 63 57 61 72 | ......onsynctopreference="secWar |
158e20 | 6e 69 6e 67 53 79 6e 63 54 6f 28 65 76 65 6e 74 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ningSyncTo(event);"............. |
158e40 | 20 20 20 20 6c 61 62 65 6c 3d 22 26 73 65 63 75 72 69 74 79 2e 77 61 72 6e 5f 76 69 65 77 69 6e | ....label="&security.warn_viewin |
158e60 | 67 5f 6d 69 78 65 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | g_mixed.label;"................. |
158e80 | 61 63 63 65 73 73 6b 65 79 3d 22 26 73 65 63 75 72 69 74 79 2e 77 61 72 6e 5f 76 69 65 77 69 6e | accesskey="&security.warn_viewin |
158ea0 | 67 5f 6d 69 78 65 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 | g_mixed.accesskey;"............. |
158ec0 | 20 20 20 20 70 72 65 66 65 72 65 6e 63 65 3d 22 73 65 63 75 72 69 74 79 2e 77 61 72 6e 5f 76 69 | ....preference="security.warn_vi |
158ee0 | 65 77 69 6e 67 5f 6d 69 78 65 64 22 2f 3e 0a 20 20 20 20 3c 2f 76 62 6f 78 3e 0a 20 20 3c 2f 70 | ewing_mixed"/>.....</vbox>...</p |
158f00 | 72 65 66 70 61 6e 65 3e 0a 3c 2f 70 72 65 66 77 69 6e 64 6f 77 3e 0a 50 4b 03 04 14 00 00 00 00 | refpane>.</prefwindow>.PK....... |
158f20 | 00 f3 4b 18 3b 04 bb 7f 0c 3c 01 00 00 3c 01 00 00 2f 00 00 00 63 6f 6e 74 65 6e 74 2f 62 72 6f | ..K.;....<...<.../...content/bro |
158f40 | 77 73 65 72 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 73 65 63 75 72 69 74 79 57 61 72 6e 69 6e 67 | wser/preferences/securityWarning |
158f60 | 73 2e 6a 73 2f 2f 40 6c 69 6e 65 20 33 38 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 | s.js//@line.38."/builds/moz2_sla |
158f80 | 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 63 6f 6d | ve/linux_build/build/browser/com |
158fa0 | 70 6f 6e 65 6e 74 73 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 73 65 63 75 72 69 74 79 57 61 72 6e | ponents/preferences/securityWarn |
158fc0 | 69 6e 67 73 2e 6a 73 22 0a 0a 66 75 6e 63 74 69 6f 6e 20 73 65 63 57 61 72 6e 69 6e 67 53 79 6e | ings.js"..function.secWarningSyn |
158fe0 | 63 54 6f 28 61 45 76 65 6e 74 29 20 7b 0a 20 20 76 61 72 20 70 72 65 66 4e 61 6d 65 20 3d 20 61 | cTo(aEvent).{...var.prefName.=.a |
159000 | 45 76 65 6e 74 2e 74 61 72 67 65 74 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 70 72 65 66 65 | Event.target.getAttribute("prefe |
159020 | 72 65 6e 63 65 22 29 20 2b 20 22 2e 73 68 6f 77 5f 6f 6e 63 65 22 3b 0a 20 20 76 61 72 20 70 72 | rence").+.".show_once";...var.pr |
159040 | 65 66 4f 6e 63 65 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 | efOnce.=.document.getElementById |
159060 | 28 70 72 65 66 4e 61 6d 65 29 3b 0a 20 20 70 72 65 66 4f 6e 63 65 2e 76 61 6c 75 65 20 3d 20 66 | (prefName);...prefOnce.value.=.f |
159080 | 61 6c 73 65 3b 0a 20 20 72 65 74 75 72 6e 20 75 6e 64 65 66 69 6e 65 64 3b 20 20 20 20 0a 7d 0a | alse;...return.undefined;.....}. |
1590a0 | 50 4b 03 04 14 00 00 00 00 00 f3 4b 18 3b 14 a0 60 de 64 05 00 00 64 05 00 00 2e 00 00 00 63 6f | PK.........K.;..`.d...d.......co |
1590c0 | 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 73 65 6c 65 63 74 | ntent/browser/preferences/select |
1590e0 | 42 6f 6f 6b 6d 61 72 6b 2e 78 75 6c 3c 3f 78 6d 6c 20 76 65 72 73 69 6f 6e 3d 22 31 2e 30 22 3f | Bookmark.xul<?xml.version="1.0"? |
159100 | 3e 0a 0a 3c 3f 78 6d 6c 2d 73 74 79 6c 65 73 68 65 65 74 20 68 72 65 66 3d 22 63 68 72 6f 6d 65 | >..<?xml-stylesheet.href="chrome |
159120 | 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 70 6c 61 63 65 73 2f 70 6c 61 63 65 73 | ://browser/content/places/places |
159140 | 2e 63 73 73 22 3f 3e 0a 0a 3c 3f 78 6d 6c 2d 73 74 79 6c 65 73 68 65 65 74 20 68 72 65 66 3d 22 | .css"?>..<?xml-stylesheet.href=" |
159160 | 63 68 72 6f 6d 65 3a 2f 2f 67 6c 6f 62 61 6c 2f 73 6b 69 6e 2f 22 3f 3e 0a 3c 3f 78 6d 6c 2d 73 | chrome://global/skin/"?>.<?xml-s |
159180 | 74 79 6c 65 73 68 65 65 74 20 68 72 65 66 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 | tylesheet.href="chrome://browser |
1591a0 | 2f 73 6b 69 6e 2f 70 6c 61 63 65 73 2f 70 6c 61 63 65 73 2e 63 73 73 22 3f 3e 0a 0a 3c 3f 78 75 | /skin/places/places.css"?>..<?xu |
1591c0 | 6c 2d 6f 76 65 72 6c 61 79 20 68 72 65 66 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 | l-overlay.href="chrome://browser |
1591e0 | 2f 63 6f 6e 74 65 6e 74 2f 70 6c 61 63 65 73 2f 70 6c 61 63 65 73 4f 76 65 72 6c 61 79 2e 78 75 | /content/places/placesOverlay.xu |
159200 | 6c 22 3f 3e 0a 0a 3c 21 44 4f 43 54 59 50 45 20 64 69 61 6c 6f 67 20 53 59 53 54 45 4d 20 22 63 | l"?>..<!DOCTYPE.dialog.SYSTEM."c |
159220 | 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 6c 6f 63 61 6c 65 2f 70 72 65 66 65 72 65 6e 63 | hrome://browser/locale/preferenc |
159240 | 65 73 2f 73 65 6c 65 63 74 42 6f 6f 6b 6d 61 72 6b 2e 64 74 64 22 3e 0a 0a 3c 64 69 61 6c 6f 67 | es/selectBookmark.dtd">..<dialog |
159260 | 20 69 64 3d 22 73 65 6c 65 63 74 42 6f 6f 6b 6d 61 72 6b 44 69 61 6c 6f 67 22 0a 20 20 20 20 20 | .id="selectBookmarkDialog"...... |
159280 | 20 20 20 78 6d 6c 6e 73 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 | ...xmlns="http://www.mozilla.org |
1592a0 | 2f 6b 65 79 6d 61 73 74 65 72 2f 67 61 74 65 6b 65 65 70 65 72 2f 74 68 65 72 65 2e 69 73 2e 6f | /keymaster/gatekeeper/there.is.o |
1592c0 | 6e 6c 79 2e 78 75 6c 22 0a 20 20 20 20 20 20 20 20 74 69 74 6c 65 3d 22 26 73 65 6c 65 63 74 42 | nly.xul".........title="&selectB |
1592e0 | 6f 6f 6b 6d 61 72 6b 2e 74 69 74 6c 65 3b 22 20 73 74 79 6c 65 3d 22 77 69 64 74 68 3a 20 33 32 | ookmark.title;".style="width:.32 |
159300 | 65 6d 3b 22 0a 20 20 20 20 20 20 20 20 70 65 72 73 69 73 74 3d 22 73 63 72 65 65 6e 58 20 73 63 | em;".........persist="screenX.sc |
159320 | 72 65 65 6e 59 20 77 69 64 74 68 20 68 65 69 67 68 74 22 20 73 63 72 65 65 6e 58 3d 22 32 34 22 | reenY.width.height".screenX="24" |
159340 | 20 73 63 72 65 65 6e 59 3d 22 32 34 22 20 20 20 20 20 20 0a 20 20 20 20 20 20 20 20 6f 6e 6c 6f | .screenY="24"...............onlo |
159360 | 61 64 3d 22 53 65 6c 65 63 74 42 6f 6f 6b 6d 61 72 6b 44 69 61 6c 6f 67 2e 69 6e 69 74 28 29 3b | ad="SelectBookmarkDialog.init(); |
159380 | 22 20 0a 20 20 20 20 20 20 20 20 6f 6e 64 69 61 6c 6f 67 61 63 63 65 70 74 3d 22 53 65 6c 65 63 | "..........ondialogaccept="Selec |
1593a0 | 74 42 6f 6f 6b 6d 61 72 6b 44 69 61 6c 6f 67 2e 61 63 63 65 70 74 28 29 3b 22 3e 0a 0a 20 20 3c | tBookmarkDialog.accept();">....< |
1593c0 | 73 63 72 69 70 74 20 74 79 70 65 3d 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f 78 2d 6a 61 76 61 73 | script.type="application/x-javas |
1593e0 | 63 72 69 70 74 22 0a 20 20 20 20 20 20 20 20 20 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 | cript"...........src="chrome://b |
159400 | 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 73 65 6c 65 63 | rowser/content/preferences/selec |
159420 | 74 42 6f 6f 6b 6d 61 72 6b 2e 6a 73 22 2f 3e 0a 20 20 0a 20 20 3c 64 65 73 63 72 69 70 74 69 6f | tBookmark.js"/>......<descriptio |
159440 | 6e 3e 26 73 65 6c 65 63 74 42 6f 6f 6b 6d 61 72 6b 2e 6c 61 62 65 6c 3b 3c 2f 64 65 73 63 72 69 | n>&selectBookmark.label;</descri |
159460 | 70 74 69 6f 6e 3e 0a 0a 20 20 3c 73 65 70 61 72 61 74 6f 72 20 63 6c 61 73 73 3d 22 74 68 69 6e | ption>....<separator.class="thin |
159480 | 22 2f 3e 0a 0a 20 20 3c 74 72 65 65 20 69 64 3d 22 62 6f 6f 6b 6d 61 72 6b 73 22 20 66 6c 65 78 | "/>....<tree.id="bookmarks".flex |
1594a0 | 3d 22 31 22 20 74 79 70 65 3d 22 70 6c 61 63 65 73 22 20 0a 20 20 20 20 20 20 20 20 73 74 79 6c | ="1".type="places"..........styl |
1594c0 | 65 3d 22 68 65 69 67 68 74 3a 20 31 35 65 6d 3b 22 20 0a 20 20 20 20 20 20 20 20 68 69 64 65 63 | e="height:.15em;"..........hidec |
1594e0 | 6f 6c 75 6d 6e 70 69 63 6b 65 72 3d 22 74 72 75 65 22 0a 20 20 20 20 20 20 20 20 73 65 6c 74 79 | olumnpicker="true".........selty |
159500 | 70 65 3d 22 73 69 6e 67 6c 65 22 0a 20 20 20 20 20 20 20 20 6f 6e 64 62 6c 63 6c 69 63 6b 3d 22 | pe="single".........ondblclick=" |
159520 | 53 65 6c 65 63 74 42 6f 6f 6b 6d 61 72 6b 44 69 61 6c 6f 67 2e 6f 6e 49 74 65 6d 44 62 6c 43 6c | SelectBookmarkDialog.onItemDblCl |
159540 | 69 63 6b 28 29 3b 22 0a 20 20 20 20 20 20 20 20 6f 6e 73 65 6c 65 63 74 3d 22 53 65 6c 65 63 74 | ick();".........onselect="Select |
159560 | 42 6f 6f 6b 6d 61 72 6b 44 69 61 6c 6f 67 2e 73 65 6c 65 63 74 69 6f 6e 43 68 61 6e 67 65 64 28 | BookmarkDialog.selectionChanged( |
159580 | 29 3b 22 3e 0a 20 20 20 20 3c 74 72 65 65 63 6f 6c 73 3e 0a 20 20 20 20 20 20 3c 74 72 65 65 63 | );">.....<treecols>.......<treec |
1595a0 | 6f 6c 20 69 64 3d 22 74 69 74 6c 65 22 20 66 6c 65 78 3d 22 31 22 20 70 72 69 6d 61 72 79 3d 22 | ol.id="title".flex="1".primary=" |
1595c0 | 74 72 75 65 22 20 68 69 64 65 68 65 61 64 65 72 3d 22 74 72 75 65 22 2f 3e 0a 20 20 20 20 3c 2f | true".hideheader="true"/>.....</ |
1595e0 | 74 72 65 65 63 6f 6c 73 3e 0a 20 20 20 20 3c 74 72 65 65 63 68 69 6c 64 72 65 6e 20 69 64 3d 22 | treecols>.....<treechildren.id=" |
159600 | 62 6f 6f 6b 6d 61 72 6b 73 43 68 69 6c 64 72 65 6e 22 20 66 6c 65 78 3d 22 31 22 2f 3e 0a 20 20 | bookmarksChildren".flex="1"/>... |
159620 | 3c 2f 74 72 65 65 3e 0a 0a 20 20 3c 73 65 70 61 72 61 74 6f 72 20 63 6c 61 73 73 3d 22 74 68 69 | </tree>....<separator.class="thi |
159640 | 6e 22 2f 3e 0a 0a 3c 2f 64 69 61 6c 6f 67 3e 0a 50 4b 03 04 14 00 00 00 00 00 f3 4b 18 3b 91 17 | n"/>..</dialog>.PK.........K.;.. |
159660 | dd bc d1 11 00 00 d1 11 00 00 2d 00 00 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 72 | ..........-...content/browser/pr |
159680 | 65 66 65 72 65 6e 63 65 73 2f 73 65 6c 65 63 74 42 6f 6f 6b 6d 61 72 6b 2e 6a 73 2f 2f 2a 20 2d | eferences/selectBookmark.js//*.- |
1596a0 | 2a 2d 20 4d 6f 64 65 3a 20 43 2b 2b 3b 20 74 61 62 2d 77 69 64 74 68 3a 20 38 3b 20 69 6e 64 65 | *-.Mode:.C++;.tab-width:.8;.inde |
1596c0 | 6e 74 2d 74 61 62 73 2d 6d 6f 64 65 3a 20 6e 69 6c 3b 20 63 2d 62 61 73 69 63 2d 6f 66 66 73 65 | nt-tabs-mode:.nil;.c-basic-offse |
1596e0 | 74 3a 20 32 20 2d 2a 2d 20 2a 2f 0a 2f 2a 20 2a 2a 2a 2a 2a 20 42 45 47 49 4e 20 4c 49 43 45 4e | t:.2.-*-.*/./*.*****.BEGIN.LICEN |
159700 | 53 45 20 42 4c 4f 43 4b 20 2a 2a 2a 2a 2a 0a 20 2a 20 56 65 72 73 69 6f 6e 3a 20 4d 50 4c 20 31 | SE.BLOCK.*****..*.Version:.MPL.1 |
159720 | 2e 31 2f 47 50 4c 20 32 2e 30 2f 4c 47 50 4c 20 32 2e 31 0a 20 2a 0a 20 2a 20 54 68 65 20 63 6f | .1/GPL.2.0/LGPL.2.1..*..*.The.co |
159740 | 6e 74 65 6e 74 73 20 6f 66 20 74 68 69 73 20 66 69 6c 65 20 61 72 65 20 73 75 62 6a 65 63 74 20 | ntents.of.this.file.are.subject. |
159760 | 74 6f 20 74 68 65 20 4d 6f 7a 69 6c 6c 61 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 20 56 65 | to.the.Mozilla.Public.License.Ve |
159780 | 72 73 69 6f 6e 0a 20 2a 20 31 2e 31 20 28 74 68 65 20 22 4c 69 63 65 6e 73 65 22 29 3b 20 79 6f | rsion..*.1.1.(the."License");.yo |
1597a0 | 75 20 6d 61 79 20 6e 6f 74 20 75 73 65 20 74 68 69 73 20 66 69 6c 65 20 65 78 63 65 70 74 20 69 | u.may.not.use.this.file.except.i |
1597c0 | 6e 20 63 6f 6d 70 6c 69 61 6e 63 65 20 77 69 74 68 0a 20 2a 20 74 68 65 20 4c 69 63 65 6e 73 65 | n.compliance.with..*.the.License |
1597e0 | 2e 20 59 6f 75 20 6d 61 79 20 6f 62 74 61 69 6e 20 61 20 63 6f 70 79 20 6f 66 20 74 68 65 20 4c | ..You.may.obtain.a.copy.of.the.L |
159800 | 69 63 65 6e 73 65 20 61 74 0a 20 2a 20 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c 61 2e | icense.at..*.http://www.mozilla. |
159820 | 6f 72 67 2f 4d 50 4c 2f 0a 20 2a 0a 20 2a 20 53 6f 66 74 77 61 72 65 20 64 69 73 74 72 69 62 75 | org/MPL/..*..*.Software.distribu |
159840 | 74 65 64 20 75 6e 64 65 72 20 74 68 65 20 4c 69 63 65 6e 73 65 20 69 73 20 64 69 73 74 72 69 62 | ted.under.the.License.is.distrib |
159860 | 75 74 65 64 20 6f 6e 20 61 6e 20 22 41 53 20 49 53 22 20 62 61 73 69 73 2c 0a 20 2a 20 57 49 54 | uted.on.an."AS.IS".basis,..*.WIT |
159880 | 48 4f 55 54 20 57 41 52 52 41 4e 54 59 20 4f 46 20 41 4e 59 20 4b 49 4e 44 2c 20 65 69 74 68 65 | HOUT.WARRANTY.OF.ANY.KIND,.eithe |
1598a0 | 72 20 65 78 70 72 65 73 73 20 6f 72 20 69 6d 70 6c 69 65 64 2e 20 53 65 65 20 74 68 65 20 4c 69 | r.express.or.implied..See.the.Li |
1598c0 | 63 65 6e 73 65 0a 20 2a 20 66 6f 72 20 74 68 65 20 73 70 65 63 69 66 69 63 20 6c 61 6e 67 75 61 | cense..*.for.the.specific.langua |
1598e0 | 67 65 20 67 6f 76 65 72 6e 69 6e 67 20 72 69 67 68 74 73 20 61 6e 64 20 6c 69 6d 69 74 61 74 69 | ge.governing.rights.and.limitati |
159900 | 6f 6e 73 20 75 6e 64 65 72 20 74 68 65 0a 20 2a 20 4c 69 63 65 6e 73 65 2e 0a 20 2a 0a 20 2a 20 | ons.under.the..*.License...*..*. |
159920 | 54 68 65 20 4f 72 69 67 69 6e 61 6c 20 43 6f 64 65 20 69 73 20 53 65 6c 65 63 74 20 42 6f 6f 6b | The.Original.Code.is.Select.Book |
159940 | 6d 61 72 6b 20 66 6f 72 20 48 6f 6d 65 20 50 61 67 65 20 44 69 61 6c 6f 67 2e 0a 20 2a 0a 20 2a | mark.for.Home.Page.Dialog...*..* |
159960 | 20 54 68 65 20 49 6e 69 74 69 61 6c 20 44 65 76 65 6c 6f 70 65 72 20 6f 66 20 74 68 65 20 4f 72 | .The.Initial.Developer.of.the.Or |
159980 | 69 67 69 6e 61 6c 20 43 6f 64 65 20 69 73 20 47 6f 6f 67 6c 65 20 49 6e 63 2e 0a 20 2a 20 50 6f | iginal.Code.is.Google.Inc...*.Po |
1599a0 | 72 74 69 6f 6e 73 20 63 72 65 61 74 65 64 20 62 79 20 74 68 65 20 49 6e 69 74 69 61 6c 20 44 65 | rtions.created.by.the.Initial.De |
1599c0 | 76 65 6c 6f 70 65 72 20 61 72 65 20 43 6f 70 79 72 69 67 68 74 20 28 43 29 20 32 30 30 36 0a 20 | veloper.are.Copyright.(C).2006.. |
1599e0 | 2a 20 74 68 65 20 49 6e 69 74 69 61 6c 20 44 65 76 65 6c 6f 70 65 72 2e 20 41 6c 6c 20 52 69 67 | *.the.Initial.Developer..All.Rig |
159a00 | 68 74 73 20 52 65 73 65 72 76 65 64 2e 0a 20 2a 0a 20 2a 20 43 6f 6e 74 72 69 62 75 74 6f 72 28 | hts.Reserved...*..*.Contributor( |
159a20 | 73 29 3a 0a 20 2a 20 20 20 42 65 6e 20 47 6f 6f 64 67 65 72 20 3c 62 65 6e 67 40 67 6f 6f 67 6c | s):..*...Ben.Goodger.<beng@googl |
159a40 | 65 2e 63 6f 6d 3e 0a 20 2a 0a 20 2a 20 41 6c 74 65 72 6e 61 74 69 76 65 6c 79 2c 20 74 68 65 20 | e.com>..*..*.Alternatively,.the. |
159a60 | 63 6f 6e 74 65 6e 74 73 20 6f 66 20 74 68 69 73 20 66 69 6c 65 20 6d 61 79 20 62 65 20 75 73 65 | contents.of.this.file.may.be.use |
159a80 | 64 20 75 6e 64 65 72 20 74 68 65 20 74 65 72 6d 73 20 6f 66 0a 20 2a 20 65 69 74 68 65 72 20 74 | d.under.the.terms.of..*.either.t |
159aa0 | 68 65 20 47 4e 55 20 47 65 6e 65 72 61 6c 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 20 56 65 | he.GNU.General.Public.License.Ve |
159ac0 | 72 73 69 6f 6e 20 32 20 6f 72 20 6c 61 74 65 72 20 28 74 68 65 20 22 47 50 4c 22 29 2c 20 6f 72 | rsion.2.or.later.(the."GPL"),.or |
159ae0 | 0a 20 2a 20 74 68 65 20 47 4e 55 20 4c 65 73 73 65 72 20 47 65 6e 65 72 61 6c 20 50 75 62 6c 69 | ..*.the.GNU.Lesser.General.Publi |
159b00 | 63 20 4c 69 63 65 6e 73 65 20 56 65 72 73 69 6f 6e 20 32 2e 31 20 6f 72 20 6c 61 74 65 72 20 28 | c.License.Version.2.1.or.later.( |
159b20 | 74 68 65 20 22 4c 47 50 4c 22 29 2c 0a 20 2a 20 69 6e 20 77 68 69 63 68 20 63 61 73 65 20 74 68 | the."LGPL"),..*.in.which.case.th |
159b40 | 65 20 70 72 6f 76 69 73 69 6f 6e 73 20 6f 66 20 74 68 65 20 47 50 4c 20 6f 72 20 74 68 65 20 4c | e.provisions.of.the.GPL.or.the.L |
159b60 | 47 50 4c 20 61 72 65 20 61 70 70 6c 69 63 61 62 6c 65 20 69 6e 73 74 65 61 64 0a 20 2a 20 6f 66 | GPL.are.applicable.instead..*.of |
159b80 | 20 74 68 6f 73 65 20 61 62 6f 76 65 2e 20 49 66 20 79 6f 75 20 77 69 73 68 20 74 6f 20 61 6c 6c | .those.above..If.you.wish.to.all |
159ba0 | 6f 77 20 75 73 65 20 6f 66 20 79 6f 75 72 20 76 65 72 73 69 6f 6e 20 6f 66 20 74 68 69 73 20 66 | ow.use.of.your.version.of.this.f |
159bc0 | 69 6c 65 20 6f 6e 6c 79 0a 20 2a 20 75 6e 64 65 72 20 74 68 65 20 74 65 72 6d 73 20 6f 66 20 65 | ile.only..*.under.the.terms.of.e |
159be0 | 69 74 68 65 72 20 74 68 65 20 47 50 4c 20 6f 72 20 74 68 65 20 4c 47 50 4c 2c 20 61 6e 64 20 6e | ither.the.GPL.or.the.LGPL,.and.n |
159c00 | 6f 74 20 74 6f 20 61 6c 6c 6f 77 20 6f 74 68 65 72 73 20 74 6f 0a 20 2a 20 75 73 65 20 79 6f 75 | ot.to.allow.others.to..*.use.you |
159c20 | 72 20 76 65 72 73 69 6f 6e 20 6f 66 20 74 68 69 73 20 66 69 6c 65 20 75 6e 64 65 72 20 74 68 65 | r.version.of.this.file.under.the |
159c40 | 20 74 65 72 6d 73 20 6f 66 20 74 68 65 20 4d 50 4c 2c 20 69 6e 64 69 63 61 74 65 20 79 6f 75 72 | .terms.of.the.MPL,.indicate.your |
159c60 | 0a 20 2a 20 64 65 63 69 73 69 6f 6e 20 62 79 20 64 65 6c 65 74 69 6e 67 20 74 68 65 20 70 72 6f | ..*.decision.by.deleting.the.pro |
159c80 | 76 69 73 69 6f 6e 73 20 61 62 6f 76 65 20 61 6e 64 20 72 65 70 6c 61 63 65 20 74 68 65 6d 20 77 | visions.above.and.replace.them.w |
159ca0 | 69 74 68 20 74 68 65 20 6e 6f 74 69 63 65 0a 20 2a 20 61 6e 64 20 6f 74 68 65 72 20 70 72 6f 76 | ith.the.notice..*.and.other.prov |
159cc0 | 69 73 69 6f 6e 73 20 72 65 71 75 69 72 65 64 20 62 79 20 74 68 65 20 47 50 4c 20 6f 72 20 74 68 | isions.required.by.the.GPL.or.th |
159ce0 | 65 20 4c 47 50 4c 2e 20 49 66 20 79 6f 75 20 64 6f 20 6e 6f 74 20 64 65 6c 65 74 65 0a 20 2a 20 | e.LGPL..If.you.do.not.delete..*. |
159d00 | 74 68 65 20 70 72 6f 76 69 73 69 6f 6e 73 20 61 62 6f 76 65 2c 20 61 20 72 65 63 69 70 69 65 6e | the.provisions.above,.a.recipien |
159d20 | 74 20 6d 61 79 20 75 73 65 20 79 6f 75 72 20 76 65 72 73 69 6f 6e 20 6f 66 20 74 68 69 73 20 66 | t.may.use.your.version.of.this.f |
159d40 | 69 6c 65 20 75 6e 64 65 72 0a 20 2a 20 74 68 65 20 74 65 72 6d 73 20 6f 66 20 61 6e 79 20 6f 6e | ile.under..*.the.terms.of.any.on |
159d60 | 65 20 6f 66 20 74 68 65 20 4d 50 4c 2c 20 74 68 65 20 47 50 4c 20 6f 72 20 74 68 65 20 4c 47 50 | e.of.the.MPL,.the.GPL.or.the.LGP |
159d80 | 4c 2e 0a 20 2a 0a 20 2a 20 2a 2a 2a 2a 2a 20 45 4e 44 20 4c 49 43 45 4e 53 45 20 42 4c 4f 43 4b | L...*..*.*****.END.LICENSE.BLOCK |
159da0 | 20 2a 2a 2a 2a 2a 20 2a 2f 0a 0a 2f 2a 2a 0a 20 2a 20 53 65 6c 65 63 74 42 6f 6f 6b 6d 61 72 6b | .*****.*/../**..*.SelectBookmark |
159dc0 | 44 69 61 6c 6f 67 20 63 6f 6e 74 72 6f 6c 73 20 74 68 65 20 75 73 65 72 20 69 6e 74 65 72 66 61 | Dialog.controls.the.user.interfa |
159de0 | 63 65 20 66 6f 72 20 74 68 65 20 22 55 73 65 20 42 6f 6f 6b 6d 61 72 6b 20 66 6f 72 0a 20 2a 20 | ce.for.the."Use.Bookmark.for..*. |
159e00 | 48 6f 6d 65 20 50 61 67 65 22 20 64 69 61 6c 6f 67 2e 20 0a 20 2a 20 0a 20 2a 20 54 68 65 20 63 | Home.Page".dialog....*...*.The.c |
159e20 | 61 6c 6c 65 72 20 28 67 4d 61 69 6e 50 61 6e 65 2e 73 65 74 48 6f 6d 65 50 61 67 65 54 6f 42 6f | aller.(gMainPane.setHomePageToBo |
159e40 | 6f 6b 6d 61 72 6b 20 69 6e 20 6d 61 69 6e 2e 6a 73 29 20 69 6e 76 6f 6b 65 73 20 74 68 69 73 20 | okmark.in.main.js).invokes.this. |
159e60 | 64 69 61 6c 6f 67 0a 20 2a 20 77 69 74 68 20 61 20 73 69 6e 67 6c 65 20 61 72 67 75 6d 65 6e 74 | dialog..*.with.a.single.argument |
159e80 | 20 2d 20 61 20 72 65 66 65 72 65 6e 63 65 20 74 6f 20 61 6e 20 6f 62 6a 65 63 74 20 77 69 74 68 | .-.a.reference.to.an.object.with |
159ea0 | 20 61 20 2e 75 72 6c 73 20 70 72 6f 70 65 72 74 79 20 61 6e 64 0a 20 2a 20 61 20 2e 6e 61 6d 65 | .a..urls.property.and..*.a..name |
159ec0 | 73 20 70 72 6f 70 65 72 74 79 2e 20 20 54 68 69 73 20 64 69 61 6c 6f 67 20 69 73 20 72 65 73 70 | s.property...This.dialog.is.resp |
159ee0 | 6f 6e 73 69 62 6c 65 20 66 6f 72 20 75 70 64 61 74 69 6e 67 20 74 68 65 20 63 6f 6e 74 65 6e 74 | onsible.for.updating.the.content |
159f00 | 73 20 6f 66 0a 20 2a 20 74 68 65 20 2e 75 72 6c 73 20 70 72 6f 70 65 72 74 79 20 77 69 74 68 20 | s.of..*.the..urls.property.with. |
159f20 | 61 6e 20 61 72 72 61 79 20 6f 66 20 55 52 4c 73 20 74 6f 20 75 73 65 20 61 73 20 68 6f 6d 65 20 | an.array.of.URLs.to.use.as.home. |
159f40 | 70 61 67 65 73 20 61 6e 64 20 66 6f 72 0a 20 2a 20 75 70 64 61 74 69 6e 67 20 74 68 65 20 2e 6e | pages.and.for..*.updating.the..n |
159f60 | 61 6d 65 73 20 70 72 6f 70 65 72 74 79 20 77 69 74 68 20 61 6e 20 61 72 72 61 79 20 6f 66 20 6e | ames.property.with.an.array.of.n |
159f80 | 61 6d 65 73 20 66 6f 72 20 74 68 6f 73 65 20 55 52 4c 73 20 62 65 66 6f 72 65 20 69 74 0a 20 2a | ames.for.those.URLs.before.it..* |
159fa0 | 20 63 6c 6f 73 65 73 2e 0a 20 2a 2f 20 0a 76 61 72 20 53 65 6c 65 63 74 42 6f 6f 6b 6d 61 72 6b | .closes...*/..var.SelectBookmark |
159fc0 | 44 69 61 6c 6f 67 20 3d 20 7b 0a 20 20 69 6e 69 74 3a 20 66 75 6e 63 74 69 6f 6e 20 53 42 44 5f | Dialog.=.{...init:.function.SBD_ |
159fe0 | 69 6e 69 74 28 29 20 7b 0a 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 | init().{.....document.getElement |
15a000 | 42 79 49 64 28 22 62 6f 6f 6b 6d 61 72 6b 73 22 29 2e 70 6c 61 63 65 20 3d 0a 20 20 20 20 20 20 | ById("bookmarks").place.=....... |
15a020 | 22 70 6c 61 63 65 3a 71 75 65 72 79 54 79 70 65 3d 31 26 66 6f 6c 64 65 72 3d 22 20 2b 20 50 6c | "place:queryType=1&folder=".+.Pl |
15a040 | 61 63 65 73 55 49 55 74 69 6c 73 2e 61 6c 6c 42 6f 6f 6b 6d 61 72 6b 73 46 6f 6c 64 65 72 49 64 | acesUIUtils.allBookmarksFolderId |
15a060 | 3b 0a 0a 20 20 20 20 2f 2f 20 49 6e 69 74 69 61 6c 20 75 70 64 61 74 65 20 6f 66 20 74 68 65 20 | ;......//.Initial.update.of.the. |
15a080 | 4f 4b 20 62 75 74 74 6f 6e 2e 0a 20 20 20 20 74 68 69 73 2e 73 65 6c 65 63 74 69 6f 6e 43 68 61 | OK.button......this.selectionCha |
15a0a0 | 6e 67 65 64 28 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 20 0a 20 20 20 2a 20 55 70 64 61 74 65 | nged();...},..../**.....*.Update |
15a0c0 | 20 74 68 65 20 64 69 73 61 62 6c 65 64 20 73 74 61 74 65 20 6f 66 20 74 68 65 20 4f 4b 20 62 75 | .the.disabled.state.of.the.OK.bu |
15a0e0 | 74 74 6f 6e 20 61 73 20 74 68 65 20 75 73 65 72 20 63 68 61 6e 67 65 73 20 74 68 65 20 0a 20 20 | tton.as.the.user.changes.the.... |
15a100 | 20 2a 20 73 65 6c 65 63 74 69 6f 6e 20 77 69 74 68 69 6e 20 74 68 65 20 76 69 65 77 2e 20 0a 20 | .*.selection.within.the.view.... |
15a120 | 20 20 2a 2f 0a 20 20 73 65 6c 65 63 74 69 6f 6e 43 68 61 6e 67 65 64 3a 20 66 75 6e 63 74 69 6f | ..*/...selectionChanged:.functio |
15a140 | 6e 20 53 42 44 5f 73 65 6c 65 63 74 69 6f 6e 43 68 61 6e 67 65 64 28 29 20 7b 0a 20 20 20 20 76 | n.SBD_selectionChanged().{.....v |
15a160 | 61 72 20 61 63 63 65 70 74 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 64 6f 63 75 6d 65 6e 74 45 6c 65 | ar.accept.=.document.documentEle |
15a180 | 6d 65 6e 74 2e 67 65 74 42 75 74 74 6f 6e 28 22 61 63 63 65 70 74 22 29 3b 0a 20 20 20 20 76 61 | ment.getButton("accept");.....va |
15a1a0 | 72 20 62 6f 6f 6b 6d 61 72 6b 73 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e | r.bookmarks.=.document.getElemen |
15a1c0 | 74 42 79 49 64 28 22 62 6f 6f 6b 6d 61 72 6b 73 22 29 3b 0a 20 20 20 20 76 61 72 20 64 69 73 61 | tById("bookmarks");.....var.disa |
15a1e0 | 62 6c 65 41 63 63 65 70 74 42 75 74 74 6f 6e 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 69 66 20 28 | bleAcceptButton.=.true;.....if.( |
15a200 | 62 6f 6f 6b 6d 61 72 6b 73 2e 68 61 73 53 65 6c 65 63 74 69 6f 6e 29 20 7b 0a 20 20 20 20 20 20 | bookmarks.hasSelection).{....... |
15a220 | 69 66 20 28 21 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 53 65 70 61 72 61 74 6f 72 | if.(!PlacesUtils.nodeIsSeparator |
15a240 | 28 62 6f 6f 6b 6d 61 72 6b 73 2e 73 65 6c 65 63 74 65 64 4e 6f 64 65 29 29 0a 20 20 20 20 20 20 | (bookmarks.selectedNode))....... |
15a260 | 20 20 64 69 73 61 62 6c 65 41 63 63 65 70 74 42 75 74 74 6f 6e 20 3d 20 66 61 6c 73 65 3b 0a 20 | ..disableAcceptButton.=.false;.. |
15a280 | 20 20 20 7d 0a 20 20 20 20 61 63 63 65 70 74 2e 64 69 73 61 62 6c 65 64 20 3d 20 64 69 73 61 62 | ...}.....accept.disabled.=.disab |
15a2a0 | 6c 65 41 63 63 65 70 74 42 75 74 74 6f 6e 3b 0a 20 20 7d 2c 0a 0a 20 20 6f 6e 49 74 65 6d 44 62 | leAcceptButton;...},....onItemDb |
15a2c0 | 6c 43 6c 69 63 6b 3a 20 66 75 6e 63 74 69 6f 6e 20 53 42 44 5f 6f 6e 49 74 65 6d 44 62 6c 43 6c | lClick:.function.SBD_onItemDblCl |
15a2e0 | 69 63 6b 28 29 20 7b 0a 20 20 20 20 76 61 72 20 62 6f 6f 6b 6d 61 72 6b 73 20 3d 20 64 6f 63 75 | ick().{.....var.bookmarks.=.docu |
15a300 | 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 62 6f 6f 6b 6d 61 72 6b 73 22 29 | ment.getElementById("bookmarks") |
15a320 | 3b 0a 20 20 20 20 76 61 72 20 73 65 6c 65 63 74 65 64 4e 6f 64 65 20 3d 20 62 6f 6f 6b 6d 61 72 | ;.....var.selectedNode.=.bookmar |
15a340 | 6b 73 2e 73 65 6c 65 63 74 65 64 4e 6f 64 65 3b 0a 20 20 20 20 69 66 20 28 73 65 6c 65 63 74 65 | ks.selectedNode;.....if.(selecte |
15a360 | 64 4e 6f 64 65 20 26 26 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 55 52 49 28 73 | dNode.&&.PlacesUtils.nodeIsURI(s |
15a380 | 65 6c 65 63 74 65 64 4e 6f 64 65 29 29 20 7b 0a 20 20 20 20 20 20 2f 2a 2a 0a 20 20 20 20 20 20 | electedNode)).{......./**....... |
15a3a0 | 20 2a 20 54 68 65 20 75 73 65 72 20 68 61 73 20 64 6f 75 62 6c 65 20 63 6c 69 63 6b 65 64 20 6f | .*.The.user.has.double.clicked.o |
15a3c0 | 6e 20 61 20 74 72 65 65 20 72 6f 77 20 74 68 61 74 20 69 73 20 61 20 6c 69 6e 6b 2e 20 54 61 6b | n.a.tree.row.that.is.a.link..Tak |
15a3e0 | 65 20 74 68 69 73 20 74 6f 0a 20 20 20 20 20 20 20 2a 20 6d 65 61 6e 20 74 68 61 74 20 74 68 65 | e.this.to........*.mean.that.the |
15a400 | 79 20 77 61 6e 74 20 74 68 61 74 20 6c 69 6e 6b 20 74 6f 20 62 65 20 74 68 65 69 72 20 68 6f 6d | y.want.that.link.to.be.their.hom |
15a420 | 65 70 61 67 65 2c 20 61 6e 64 20 63 6c 6f 73 65 20 74 68 65 20 64 69 61 6c 6f 67 2e 0a 20 20 20 | epage,.and.close.the.dialog..... |
15a440 | 20 20 20 20 2a 2f 0a 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 64 6f 63 75 6d 65 6e 74 45 6c | ....*/.......document.documentEl |
15a460 | 65 6d 65 6e 74 2e 67 65 74 42 75 74 74 6f 6e 28 22 61 63 63 65 70 74 22 29 2e 63 6c 69 63 6b 28 | ement.getButton("accept").click( |
15a480 | 29 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 55 73 65 72 20 61 | );.....}...},..../**....*.User.a |
15a4a0 | 63 63 65 70 74 73 20 74 68 65 69 72 20 73 65 6c 65 63 74 69 6f 6e 2e 20 53 65 74 20 61 6c 6c 20 | ccepts.their.selection..Set.all. |
15a4c0 | 74 68 65 20 73 65 6c 65 63 74 65 64 20 55 52 4c 73 20 6f 72 20 74 68 65 20 63 6f 6e 74 65 6e 74 | the.selected.URLs.or.the.content |
15a4e0 | 73 0a 20 20 20 2a 20 6f 66 20 74 68 65 20 73 65 6c 65 63 74 65 64 20 66 6f 6c 64 65 72 20 61 73 | s....*.of.the.selected.folder.as |
15a500 | 20 74 68 65 20 6c 69 73 74 20 6f 66 20 68 6f 6d 65 70 61 67 65 73 2e 0a 20 20 20 2a 2f 0a 20 20 | .the.list.of.homepages.....*/... |
15a520 | 61 63 63 65 70 74 3a 20 66 75 6e 63 74 69 6f 6e 20 53 42 44 5f 61 63 63 65 70 74 28 29 20 7b 0a | accept:.function.SBD_accept().{. |
15a540 | 20 20 20 20 76 61 72 20 62 6f 6f 6b 6d 61 72 6b 73 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 | ....var.bookmarks.=.document.get |
15a560 | 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 62 6f 6f 6b 6d 61 72 6b 73 22 29 3b 0a 20 20 20 20 4e 53 | ElementById("bookmarks");.....NS |
15a580 | 5f 41 53 53 45 52 54 28 62 6f 6f 6b 6d 61 72 6b 73 2e 68 61 73 53 65 6c 65 63 74 69 6f 6e 2c 0a | _ASSERT(bookmarks.hasSelection,. |
15a5a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 53 68 6f 75 6c 64 20 6e 6f 74 20 62 65 20 61 62 6c | .............."Should.not.be.abl |
15a5c0 | 65 20 74 6f 20 61 63 63 65 70 74 20 64 69 61 6c 6f 67 20 69 66 20 74 68 65 72 65 20 69 73 20 6e | e.to.accept.dialog.if.there.is.n |
15a5e0 | 6f 20 73 65 6c 65 63 74 65 64 20 55 52 4c 21 22 29 3b 0a 20 20 20 20 76 61 72 20 75 72 6c 73 20 | o.selected.URL!");.....var.urls. |
15a600 | 3d 20 5b 5d 3b 0a 20 20 20 20 76 61 72 20 6e 61 6d 65 73 20 3d 20 5b 5d 3b 0a 20 20 20 20 76 61 | =.[];.....var.names.=.[];.....va |
15a620 | 72 20 73 65 6c 65 63 74 65 64 4e 6f 64 65 20 3d 20 62 6f 6f 6b 6d 61 72 6b 73 2e 73 65 6c 65 63 | r.selectedNode.=.bookmarks.selec |
15a640 | 74 65 64 4e 6f 64 65 3b 0a 20 20 20 20 69 66 20 28 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 | tedNode;.....if.(PlacesUtils.nod |
15a660 | 65 49 73 46 6f 6c 64 65 72 28 73 65 6c 65 63 74 65 64 4e 6f 64 65 29 29 20 7b 0a 20 20 20 20 20 | eIsFolder(selectedNode)).{...... |
15a680 | 20 76 61 72 20 63 6f 6e 74 65 6e 74 73 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 67 65 74 46 | .var.contents.=.PlacesUtils.getF |
15a6a0 | 6f 6c 64 65 72 43 6f 6e 74 65 6e 74 73 28 73 65 6c 65 63 74 65 64 4e 6f 64 65 2e 69 74 65 6d 49 | olderContents(selectedNode.itemI |
15a6c0 | 64 29 2e 72 6f 6f 74 3b 0a 20 20 20 20 20 20 76 61 72 20 63 63 20 3d 20 63 6f 6e 74 65 6e 74 73 | d).root;.......var.cc.=.contents |
15a6e0 | 2e 63 68 69 6c 64 43 6f 75 6e 74 3b 0a 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 | .childCount;.......for.(var.i.=. |
15a700 | 30 3b 20 69 20 3c 20 63 63 3b 20 2b 2b 69 29 20 7b 0a 20 20 20 20 20 20 20 20 76 61 72 20 6e 6f | 0;.i.<.cc;.++i).{.........var.no |
15a720 | 64 65 20 3d 20 63 6f 6e 74 65 6e 74 73 2e 67 65 74 43 68 69 6c 64 28 69 29 3b 0a 20 20 20 20 20 | de.=.contents.getChild(i);...... |
15a740 | 20 20 20 69 66 20 28 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 55 52 49 28 6e 6f 64 | ...if.(PlacesUtils.nodeIsURI(nod |
15a760 | 65 29 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 75 72 6c 73 2e 70 75 73 68 28 6e 6f 64 65 2e 75 | e)).{...........urls.push(node.u |
15a780 | 72 69 29 3b 0a 20 20 20 20 20 20 20 20 20 20 6e 61 6d 65 73 2e 70 75 73 68 28 6e 6f 64 65 2e 74 | ri);...........names.push(node.t |
15a7a0 | 69 74 6c 65 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 20 | itle);.........}.......}.....}.. |
15a7c0 | 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 75 72 6c 73 2e 70 75 73 68 28 73 65 6c 65 63 74 | ...else.{.......urls.push(select |
15a7e0 | 65 64 4e 6f 64 65 2e 75 72 69 29 3b 0a 20 20 20 20 20 20 6e 61 6d 65 73 2e 70 75 73 68 28 73 65 | edNode.uri);.......names.push(se |
15a800 | 6c 65 63 74 65 64 4e 6f 64 65 2e 74 69 74 6c 65 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 77 69 6e | lectedNode.title);.....}.....win |
15a820 | 64 6f 77 2e 61 72 67 75 6d 65 6e 74 73 5b 30 5d 2e 75 72 6c 73 20 3d 20 75 72 6c 73 3b 0a 20 20 | dow.arguments[0].urls.=.urls;... |
15a840 | 20 20 77 69 6e 64 6f 77 2e 61 72 67 75 6d 65 6e 74 73 5b 30 5d 2e 6e 61 6d 65 73 20 3d 20 6e 61 | ..window.arguments[0].names.=.na |
15a860 | 6d 65 73 3b 0a 20 20 7d 0a 7d 3b 0a 50 4b 03 04 14 00 00 00 00 00 f3 4b 18 3b 12 f5 a1 0f 47 09 | mes;...}.};.PK.........K.;....G. |
15a880 | 00 00 47 09 00 00 24 00 00 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 72 65 66 65 72 | ..G...$...content/browser/prefer |
15a8a0 | 65 6e 63 65 73 2f 74 61 62 73 2e 78 75 6c 3c 3f 78 6d 6c 20 76 65 72 73 69 6f 6e 3d 22 31 2e 30 | ences/tabs.xul<?xml.version="1.0 |
15a8c0 | 22 3f 3e 0a 0a 0a 3c 21 44 4f 43 54 59 50 45 20 6f 76 65 72 6c 61 79 20 5b 0a 3c 21 45 4e 54 49 | "?>...<!DOCTYPE.overlay.[.<!ENTI |
15a8e0 | 54 59 20 25 20 62 72 61 6e 64 44 54 44 20 53 59 53 54 45 4d 20 22 63 68 72 6f 6d 65 3a 2f 2f 62 | TY.%.brandDTD.SYSTEM."chrome://b |
15a900 | 72 61 6e 64 69 6e 67 2f 6c 6f 63 61 6c 65 2f 62 72 61 6e 64 2e 64 74 64 22 3e 0a 25 62 72 61 6e | randing/locale/brand.dtd">.%bran |
15a920 | 64 44 54 44 3b 0a 3c 21 45 4e 54 49 54 59 20 25 20 74 61 62 73 44 54 44 20 53 59 53 54 45 4d 20 | dDTD;.<!ENTITY.%.tabsDTD.SYSTEM. |
15a940 | 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 6c 6f 63 61 6c 65 2f 70 72 65 66 65 72 65 | "chrome://browser/locale/prefere |
15a960 | 6e 63 65 73 2f 74 61 62 73 2e 64 74 64 22 3e 0a 25 74 61 62 73 44 54 44 3b 0a 5d 3e 0a 0a 3c 6f | nces/tabs.dtd">.%tabsDTD;.]>..<o |
15a980 | 76 65 72 6c 61 79 20 69 64 3d 22 54 61 62 73 50 61 6e 65 4f 76 65 72 6c 61 79 22 0a 20 20 20 20 | verlay.id="TabsPaneOverlay"..... |
15a9a0 | 20 20 20 20 20 78 6d 6c 6e 73 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c 61 2e 6f | .....xmlns="http://www.mozilla.o |
15a9c0 | 72 67 2f 6b 65 79 6d 61 73 74 65 72 2f 67 61 74 65 6b 65 65 70 65 72 2f 74 68 65 72 65 2e 69 73 | rg/keymaster/gatekeeper/there.is |
15a9e0 | 2e 6f 6e 6c 79 2e 78 75 6c 22 3e 0a 0a 20 20 3c 70 72 65 66 70 61 6e 65 20 69 64 3d 22 70 61 6e | .only.xul">....<prefpane.id="pan |
15aa00 | 65 54 61 62 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 68 65 6c 70 54 6f 70 69 63 3d 22 70 72 | eTabs".............helpTopic="pr |
15aa20 | 65 66 73 2d 74 61 62 73 22 3e 0a 0a 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 73 20 69 64 3d | efs-tabs">......<preferences.id= |
15aa40 | 22 74 61 62 73 50 72 65 66 65 72 65 6e 63 65 73 22 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 | "tabsPreferences">.......<prefer |
15aa60 | 65 6e 63 65 20 69 64 3d 22 62 72 6f 77 73 65 72 2e 6c 69 6e 6b 2e 6f 70 65 6e 5f 6e 65 77 77 69 | ence.id="browser.link.open_newwi |
15aa80 | 6e 64 6f 77 22 20 20 20 20 20 6e 61 6d 65 3d 22 62 72 6f 77 73 65 72 2e 6c 69 6e 6b 2e 6f 70 65 | ndow".....name="browser.link.ope |
15aaa0 | 6e 5f 6e 65 77 77 69 6e 64 6f 77 22 20 20 20 20 20 74 79 70 65 3d 22 69 6e 74 22 2f 3e 0a 20 20 | n_newwindow".....type="int"/>... |
15aac0 | 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 62 72 6f 77 73 65 72 2e 74 61 62 73 | ....<preference.id="browser.tabs |
15aae0 | 2e 61 75 74 6f 48 69 64 65 22 20 20 20 20 20 20 20 20 20 20 20 6e 61 6d 65 3d 22 62 72 6f 77 73 | .autoHide"...........name="brows |
15ab00 | 65 72 2e 74 61 62 73 2e 61 75 74 6f 48 69 64 65 22 20 20 20 20 20 20 20 20 20 20 20 74 79 70 65 | er.tabs.autoHide"...........type |
15ab20 | 3d 22 62 6f 6f 6c 22 20 69 6e 76 65 72 74 65 64 3d 22 74 72 75 65 22 2f 3e 0a 20 20 20 20 20 20 | ="bool".inverted="true"/>....... |
15ab40 | 3c 70 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 62 72 6f 77 73 65 72 2e 74 61 62 73 2e 6c 6f 61 | <preference.id="browser.tabs.loa |
15ab60 | 64 49 6e 42 61 63 6b 67 72 6f 75 6e 64 22 20 20 20 6e 61 6d 65 3d 22 62 72 6f 77 73 65 72 2e 74 | dInBackground"...name="browser.t |
15ab80 | 61 62 73 2e 6c 6f 61 64 49 6e 42 61 63 6b 67 72 6f 75 6e 64 22 20 20 20 74 79 70 65 3d 22 62 6f | abs.loadInBackground"...type="bo |
15aba0 | 6f 6c 22 20 69 6e 76 65 72 74 65 64 3d 22 74 72 75 65 22 2f 3e 0a 20 20 20 20 20 20 3c 70 72 65 | ol".inverted="true"/>.......<pre |
15abc0 | 66 65 72 65 6e 63 65 20 69 64 3d 22 62 72 6f 77 73 65 72 2e 74 61 62 73 2e 77 61 72 6e 4f 6e 43 | ference.id="browser.tabs.warnOnC |
15abe0 | 6c 6f 73 65 22 20 20 20 20 20 20 20 20 6e 61 6d 65 3d 22 62 72 6f 77 73 65 72 2e 74 61 62 73 2e | lose"........name="browser.tabs. |
15ac00 | 77 61 72 6e 4f 6e 43 6c 6f 73 65 22 20 20 20 20 20 20 20 20 74 79 70 65 3d 22 62 6f 6f 6c 22 2f | warnOnClose"........type="bool"/ |
15ac20 | 3e 0a 20 20 20 20 20 20 3c 70 72 65 66 65 72 65 6e 63 65 20 69 64 3d 22 62 72 6f 77 73 65 72 2e | >.......<preference.id="browser. |
15ac40 | 74 61 62 73 2e 77 61 72 6e 4f 6e 4f 70 65 6e 22 20 20 20 20 20 20 20 20 20 6e 61 6d 65 3d 22 62 | tabs.warnOnOpen".........name="b |
15ac60 | 72 6f 77 73 65 72 2e 74 61 62 73 2e 77 61 72 6e 4f 6e 4f 70 65 6e 22 20 20 20 20 20 20 20 20 20 | rowser.tabs.warnOnOpen"......... |
15ac80 | 74 79 70 65 3d 22 62 6f 6f 6c 22 2f 3e 0a 20 20 20 20 3c 2f 70 72 65 66 65 72 65 6e 63 65 73 3e | type="bool"/>.....</preferences> |
15aca0 | 0a 20 20 20 20 0a 20 20 20 20 3c 73 63 72 69 70 74 20 74 79 70 65 3d 22 61 70 70 6c 69 63 61 74 | ..........<script.type="applicat |
15acc0 | 69 6f 6e 2f 78 2d 6a 61 76 61 73 63 72 69 70 74 22 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f | ion/x-javascript".src="chrome:// |
15ace0 | 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 74 61 62 73 | browser/content/preferences/tabs |
15ad00 | 2e 6a 73 22 2f 3e 0a 0a 20 20 20 20 3c 21 2d 2d 20 58 58 58 20 66 6c 65 78 20 62 65 6c 6f 77 20 | .js"/>......<!--.XXX.flex.below. |
15ad20 | 69 73 20 61 20 68 61 63 6b 20 62 65 63 61 75 73 65 20 77 72 61 70 70 69 6e 67 20 63 68 65 63 6b | is.a.hack.because.wrapping.check |
15ad40 | 62 6f 78 65 73 20 64 6f 6e 27 74 20 72 65 66 6c 6f 77 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | boxes.don't.reflow.............. |
15ad60 | 70 72 6f 70 65 72 6c 79 3b 20 73 65 65 20 62 75 67 20 33 34 39 30 39 38 20 2d 2d 3e 0a 20 20 20 | properly;.see.bug.349098.-->.... |
15ad80 | 20 3c 76 62 6f 78 20 69 64 3d 22 74 61 62 50 72 65 66 73 42 6f 78 22 20 61 6c 69 67 6e 3d 22 73 | .<vbox.id="tabPrefsBox".align="s |
15ada0 | 74 61 72 74 22 20 66 6c 65 78 3d 22 31 22 3e 0a 20 20 20 20 20 20 3c 63 68 65 63 6b 62 6f 78 20 | tart".flex="1">.......<checkbox. |
15adc0 | 69 64 3d 22 6c 69 6e 6b 54 61 72 67 65 74 69 6e 67 22 20 6c 61 62 65 6c 3d 22 26 6e 65 77 57 69 | id="linkTargeting".label="&newWi |
15ade0 | 6e 64 6f 77 73 41 73 54 61 62 73 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ndowsAsTabs.label;"............. |
15ae00 | 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 6e 65 77 57 69 6e 64 6f 77 73 41 73 54 61 62 73 | ....accesskey="&newWindowsAsTabs |
15ae20 | 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 65 | .accesskey;".................pre |
15ae40 | 66 65 72 65 6e 63 65 3d 22 62 72 6f 77 73 65 72 2e 6c 69 6e 6b 2e 6f 70 65 6e 5f 6e 65 77 77 69 | ference="browser.link.open_newwi |
15ae60 | 6e 64 6f 77 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 73 79 6e 63 66 72 6f 6d | ndow".................onsyncfrom |
15ae80 | 70 72 65 66 65 72 65 6e 63 65 3d 22 72 65 74 75 72 6e 20 67 54 61 62 73 50 61 6e 65 2e 72 65 61 | preference="return.gTabsPane.rea |
15aea0 | 64 4c 69 6e 6b 54 61 72 67 65 74 28 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | dLinkTarget();"................. |
15aec0 | 6f 6e 73 79 6e 63 74 6f 70 72 65 66 65 72 65 6e 63 65 3d 22 72 65 74 75 72 6e 20 67 54 61 62 73 | onsynctopreference="return.gTabs |
15aee0 | 50 61 6e 65 2e 77 72 69 74 65 4c 69 6e 6b 54 61 72 67 65 74 28 29 3b 22 2f 3e 0a 20 20 20 20 20 | Pane.writeLinkTarget();"/>...... |
15af00 | 20 3c 63 68 65 63 6b 62 6f 78 20 69 64 3d 22 77 61 72 6e 43 6c 6f 73 65 4d 75 6c 74 69 70 6c 65 | .<checkbox.id="warnCloseMultiple |
15af20 | 22 20 6c 61 62 65 6c 3d 22 26 77 61 72 6e 43 6c 6f 73 65 4d 75 6c 74 69 70 6c 65 54 61 62 73 2e | ".label="&warnCloseMultipleTabs. |
15af40 | 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 | label;".................accesske |
15af60 | 79 3d 22 26 77 61 72 6e 43 6c 6f 73 65 4d 75 6c 74 69 70 6c 65 54 61 62 73 2e 61 63 63 65 73 73 | y="&warnCloseMultipleTabs.access |
15af80 | 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 65 66 65 72 65 6e 63 65 | key;".................preference |
15afa0 | 3d 22 62 72 6f 77 73 65 72 2e 74 61 62 73 2e 77 61 72 6e 4f 6e 43 6c 6f 73 65 22 2f 3e 0a 20 20 | ="browser.tabs.warnOnClose"/>... |
15afc0 | 20 20 20 20 3c 63 68 65 63 6b 62 6f 78 20 69 64 3d 22 77 61 72 6e 4f 70 65 6e 4d 61 6e 79 22 20 | ....<checkbox.id="warnOpenMany". |
15afe0 | 6c 61 62 65 6c 3d 22 26 77 61 72 6e 4f 70 65 6e 4d 61 6e 79 54 61 62 73 2e 6c 61 62 65 6c 3b 22 | label="&warnOpenManyTabs.label;" |
15b000 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 77 61 72 | .................accesskey="&war |
15b020 | 6e 4f 70 65 6e 4d 61 6e 79 54 61 62 73 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 | nOpenManyTabs.accesskey;"....... |
15b040 | 20 20 20 20 20 20 20 20 20 20 70 72 65 66 65 72 65 6e 63 65 3d 22 62 72 6f 77 73 65 72 2e 74 61 | ..........preference="browser.ta |
15b060 | 62 73 2e 77 61 72 6e 4f 6e 4f 70 65 6e 22 2f 3e 0a 20 20 20 20 20 20 3c 63 68 65 63 6b 62 6f 78 | bs.warnOnOpen"/>.......<checkbox |
15b080 | 20 69 64 3d 22 73 68 6f 77 54 61 62 42 61 72 22 20 6c 61 62 65 6c 3d 22 26 73 68 6f 77 54 61 62 | .id="showTabBar".label="&showTab |
15b0a0 | 42 61 72 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 | Bar.label;".................acce |
15b0c0 | 73 73 6b 65 79 3d 22 26 73 68 6f 77 54 61 62 42 61 72 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 | sskey="&showTabBar.accesskey;".. |
15b0e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 65 66 65 72 65 6e 63 65 3d 22 62 72 6f 77 73 | ...............preference="brows |
15b100 | 65 72 2e 74 61 62 73 2e 61 75 74 6f 48 69 64 65 22 2f 3e 0a 20 20 20 20 20 20 3c 63 68 65 63 6b | er.tabs.autoHide"/>.......<check |
15b120 | 62 6f 78 20 69 64 3d 22 73 77 69 74 63 68 54 6f 4e 65 77 54 61 62 73 22 20 6c 61 62 65 6c 3d 22 | box.id="switchToNewTabs".label=" |
15b140 | 26 73 77 69 74 63 68 54 6f 4e 65 77 54 61 62 73 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 | &switchToNewTabs.label;"........ |
15b160 | 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 73 77 69 74 63 68 54 6f 4e 65 77 | .........accesskey="&switchToNew |
15b180 | 54 61 62 73 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | Tabs.accesskey;"................ |
15b1a0 | 20 70 72 65 66 65 72 65 6e 63 65 3d 22 62 72 6f 77 73 65 72 2e 74 61 62 73 2e 6c 6f 61 64 49 6e | .preference="browser.tabs.loadIn |
15b1c0 | 42 61 63 6b 67 72 6f 75 6e 64 22 2f 3e 0a 20 20 20 20 3c 2f 76 62 6f 78 3e 0a 0a 20 20 3c 2f 70 | Background"/>.....</vbox>....</p |
15b1e0 | 72 65 66 70 61 6e 65 3e 0a 0a 3c 2f 6f 76 65 72 6c 61 79 3e 0a 50 4b 03 04 14 00 00 00 00 00 f3 | refpane>..</overlay>.PK......... |
15b200 | 4b 18 3b d6 65 af 5c c8 06 00 00 c8 06 00 00 23 00 00 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 | K.;.e.\........#...content/brows |
15b220 | 65 72 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 74 61 62 73 2e 6a 73 2f 2f 40 6c 69 6e 65 20 33 39 | er/preferences/tabs.js//@line.39 |
15b240 | 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 | ."/builds/moz2_slave/linux_build |
15b260 | 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 63 6f 6d 70 6f 6e 65 6e 74 73 2f 70 72 65 66 65 72 | /build/browser/components/prefer |
15b280 | 65 6e 63 65 73 2f 74 61 62 73 2e 6a 73 22 0a 0a 76 61 72 20 67 54 61 62 73 50 61 6e 65 20 3d 20 | ences/tabs.js"..var.gTabsPane.=. |
15b2a0 | 7b 0a 0a 20 20 2f 2a 0a 20 20 20 2a 20 50 72 65 66 65 72 65 6e 63 65 73 3a 0a 20 20 20 2a 0a 20 | {..../*....*.Preferences:....*.. |
15b2c0 | 20 20 2a 20 62 72 6f 77 73 65 72 2e 6c 69 6e 6b 2e 6f 70 65 6e 5f 6e 65 77 77 69 6e 64 6f 77 0a | ..*.browser.link.open_newwindow. |
15b2e0 | 20 20 20 2a 20 2d 20 64 65 74 65 72 6d 69 6e 65 73 20 77 68 65 72 65 20 70 61 67 65 73 20 77 68 | ...*.-.determines.where.pages.wh |
15b300 | 69 63 68 20 77 6f 75 6c 64 20 6f 70 65 6e 20 69 6e 20 61 20 6e 65 77 20 77 69 6e 64 6f 77 20 61 | ich.would.open.in.a.new.window.a |
15b320 | 72 65 20 6f 70 65 6e 65 64 3a 0a 20 20 20 2a 20 20 20 20 20 30 20 6f 70 65 6e 73 20 73 75 63 68 | re.opened:....*.....0.opens.such |
15b340 | 20 6c 69 6e 6b 73 20 69 6e 20 74 68 65 20 64 65 66 61 75 6c 74 20 77 69 6e 64 6f 77 2c 0a 20 20 | .links.in.the.default.window,... |
15b360 | 20 2a 20 20 20 20 20 31 20 6f 70 65 6e 73 20 73 75 63 68 20 6c 69 6e 6b 73 20 69 6e 20 74 68 65 | .*.....1.opens.such.links.in.the |
15b380 | 20 6d 6f 73 74 20 72 65 63 65 6e 74 20 77 69 6e 64 6f 77 20 6f 72 20 74 61 62 2c 0a 20 20 20 2a | .most.recent.window.or.tab,....* |
15b3a0 | 20 20 20 20 20 32 20 6f 70 65 6e 73 20 73 75 63 68 20 6c 69 6e 6b 73 20 69 6e 20 61 20 6e 65 77 | .....2.opens.such.links.in.a.new |
15b3c0 | 20 77 69 6e 64 6f 77 2c 0a 20 20 20 2a 20 20 20 20 20 33 20 6f 70 65 6e 73 20 73 75 63 68 20 6c | .window,....*.....3.opens.such.l |
15b3e0 | 69 6e 6b 73 20 69 6e 20 61 20 6e 65 77 20 74 61 62 0a 20 20 20 2a 20 62 72 6f 77 73 65 72 2e 74 | inks.in.a.new.tab....*.browser.t |
15b400 | 61 62 73 2e 61 75 74 6f 48 69 64 65 0a 20 20 20 2a 20 2d 20 74 72 75 65 20 69 66 20 74 68 65 20 | abs.autoHide....*.-.true.if.the. |
15b420 | 74 61 62 20 62 61 72 20 69 73 20 68 69 64 64 65 6e 20 77 68 65 6e 20 6f 6e 6c 79 20 6f 6e 65 20 | tab.bar.is.hidden.when.only.one. |
15b440 | 74 61 62 20 69 73 20 6f 70 65 6e 2c 20 66 61 6c 73 65 20 74 6f 20 61 6c 77 61 79 73 0a 20 20 20 | tab.is.open,.false.to.always.... |
15b460 | 2a 20 20 20 73 68 6f 77 20 69 74 0a 20 20 20 2a 20 62 72 6f 77 73 65 72 2e 74 61 62 73 2e 6c 6f | *...show.it....*.browser.tabs.lo |
15b480 | 61 64 49 6e 42 61 63 6b 67 72 6f 75 6e 64 0a 20 20 20 2a 20 2d 20 74 72 75 65 20 69 66 20 64 69 | adInBackground....*.-.true.if.di |
15b4a0 | 73 70 6c 61 79 20 73 68 6f 75 6c 64 20 73 77 69 74 63 68 20 74 6f 20 61 20 6e 65 77 20 74 61 62 | splay.should.switch.to.a.new.tab |
15b4c0 | 20 77 68 69 63 68 20 68 61 73 20 62 65 65 6e 20 6f 70 65 6e 65 64 20 66 72 6f 6d 20 61 0a 20 20 | .which.has.been.opened.from.a... |
15b4e0 | 20 2a 20 20 20 6c 69 6e 6b 2c 20 66 61 6c 73 65 20 69 66 20 64 69 73 70 6c 61 79 20 73 68 6f 75 | .*...link,.false.if.display.shou |
15b500 | 6c 64 6e 27 74 20 73 77 69 74 63 68 0a 20 20 20 2a 20 62 72 6f 77 73 65 72 2e 74 61 62 73 2e 77 | ldn't.switch....*.browser.tabs.w |
15b520 | 61 72 6e 4f 6e 43 6c 6f 73 65 0a 20 20 20 2a 20 2d 20 74 72 75 65 20 69 66 20 77 68 65 6e 20 63 | arnOnClose....*.-.true.if.when.c |
15b540 | 6c 6f 73 69 6e 67 20 61 20 77 69 6e 64 6f 77 20 77 69 74 68 20 6d 75 6c 74 69 70 6c 65 20 74 61 | losing.a.window.with.multiple.ta |
15b560 | 62 73 20 74 68 65 20 75 73 65 72 20 69 73 20 77 61 72 6e 65 64 20 61 6e 64 0a 20 20 20 2a 20 20 | bs.the.user.is.warned.and....*.. |
15b580 | 20 61 6c 6c 6f 77 65 64 20 74 6f 20 63 61 6e 63 65 6c 20 74 68 65 20 61 63 74 69 6f 6e 2c 20 66 | .allowed.to.cancel.the.action,.f |
15b5a0 | 61 6c 73 65 20 74 6f 20 6a 75 73 74 20 63 6c 6f 73 65 20 74 68 65 20 77 69 6e 64 6f 77 0a 20 20 | alse.to.just.close.the.window... |
15b5c0 | 20 2a 20 62 72 6f 77 73 65 72 2e 74 61 62 73 2e 77 61 72 6e 4f 6e 4f 70 65 6e 0a 20 20 20 2a 20 | .*.browser.tabs.warnOnOpen....*. |
15b5e0 | 2d 20 74 72 75 65 20 69 66 20 74 68 65 20 75 73 65 72 20 73 68 6f 75 6c 64 20 62 65 20 77 61 72 | -.true.if.the.user.should.be.war |
15b600 | 6e 65 64 20 69 66 20 68 65 20 61 74 74 65 6d 70 74 73 20 74 6f 20 6f 70 65 6e 20 61 20 6c 6f 74 | ned.if.he.attempts.to.open.a.lot |
15b620 | 20 6f 66 20 74 61 62 73 20 61 74 0a 20 20 20 2a 20 20 20 6f 6e 63 65 20 28 65 2e 67 2e 20 61 20 | .of.tabs.at....*...once.(e.g..a. |
15b640 | 6c 61 72 67 65 20 66 6f 6c 64 65 72 20 6f 66 20 62 6f 6f 6b 6d 61 72 6b 73 29 2c 20 66 61 6c 73 | large.folder.of.bookmarks),.fals |
15b660 | 65 20 6f 74 68 65 72 77 69 73 65 0a 20 20 20 2a 2f 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 44 65 | e.otherwise....*/..../**....*.De |
15b680 | 74 65 72 6d 69 6e 65 73 20 77 68 65 72 65 20 61 20 6c 69 6e 6b 20 77 68 69 63 68 20 6f 70 65 6e | termines.where.a.link.which.open |
15b6a0 | 73 20 61 20 6e 65 77 20 77 69 6e 64 6f 77 20 77 69 6c 6c 20 6f 70 65 6e 2e 0a 20 20 20 2a 0a 20 | s.a.new.window.will.open.....*.. |
15b6c0 | 20 20 2a 20 40 72 65 74 75 72 6e 73 20 7c 74 72 75 65 7c 20 69 66 20 73 75 63 68 20 6c 69 6e 6b | ..*.@returns.|true|.if.such.link |
15b6e0 | 73 20 73 68 6f 75 6c 64 20 62 65 20 6f 70 65 6e 65 64 20 69 6e 20 6e 65 77 20 74 61 62 73 0a 20 | s.should.be.opened.in.new.tabs.. |
15b700 | 20 20 2a 2f 0a 20 20 72 65 61 64 4c 69 6e 6b 54 61 72 67 65 74 3a 20 66 75 6e 63 74 69 6f 6e 28 | ..*/...readLinkTarget:.function( |
15b720 | 29 20 7b 0a 20 20 20 20 76 61 72 20 6f 70 65 6e 4e 65 77 57 69 6e 64 6f 77 20 3d 20 64 6f 63 75 | ).{.....var.openNewWindow.=.docu |
15b740 | 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 62 72 6f 77 73 65 72 2e 6c 69 6e | ment.getElementById("browser.lin |
15b760 | 6b 2e 6f 70 65 6e 5f 6e 65 77 77 69 6e 64 6f 77 22 29 3b 0a 20 20 20 20 72 65 74 75 72 6e 20 6f | k.open_newwindow");.....return.o |
15b780 | 70 65 6e 4e 65 77 57 69 6e 64 6f 77 2e 76 61 6c 75 65 20 21 3d 20 32 3b 0a 20 20 7d 2c 0a 0a 20 | penNewWindow.value.!=.2;...},... |
15b7a0 | 20 2f 2a 2a 0a 20 20 20 2a 20 44 65 74 65 72 6d 69 6e 65 73 20 77 68 65 72 65 20 61 20 6c 69 6e | ./**....*.Determines.where.a.lin |
15b7c0 | 6b 20 77 68 69 63 68 20 6f 70 65 6e 73 20 61 20 6e 65 77 20 77 69 6e 64 6f 77 20 77 69 6c 6c 20 | k.which.opens.a.new.window.will. |
15b7e0 | 6f 70 65 6e 2e 0a 20 20 20 2a 0a 20 20 20 2a 20 40 72 65 74 75 72 6e 73 20 32 20 69 66 20 73 75 | open.....*....*.@returns.2.if.su |
15b800 | 63 68 20 6c 69 6e 6b 73 20 73 68 6f 75 6c 64 20 62 65 20 6f 70 65 6e 65 64 20 69 6e 20 6e 65 77 | ch.links.should.be.opened.in.new |
15b820 | 20 77 69 6e 64 6f 77 73 2c 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 33 20 69 66 20 73 75 63 | .windows,....*..........3.if.suc |
15b840 | 68 20 6c 69 6e 6b 73 20 73 68 6f 75 6c 64 20 62 65 20 6f 70 65 6e 65 64 20 69 6e 20 6e 65 77 20 | h.links.should.be.opened.in.new. |
15b860 | 74 61 62 73 0a 20 20 20 2a 2f 0a 20 20 77 72 69 74 65 4c 69 6e 6b 54 61 72 67 65 74 3a 20 66 75 | tabs....*/...writeLinkTarget:.fu |
15b880 | 6e 63 74 69 6f 6e 28 29 20 7b 0a 20 20 20 20 76 61 72 20 6c 69 6e 6b 54 61 72 67 65 74 69 6e 67 | nction().{.....var.linkTargeting |
15b8a0 | 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 6c 69 6e 6b | .=.document.getElementById("link |
15b8c0 | 54 61 72 67 65 74 69 6e 67 22 29 3b 0a 20 20 20 20 72 65 74 75 72 6e 20 6c 69 6e 6b 54 61 72 67 | Targeting");.....return.linkTarg |
15b8e0 | 65 74 69 6e 67 2e 63 68 65 63 6b 65 64 20 3f 20 33 20 3a 20 32 3b 0a 20 20 7d 0a 7d 3b 0a 50 4b | eting.checked.?.3.:.2;...}.};.PK |
15b900 | 03 04 14 00 00 00 00 00 f3 4b 18 3b cc e5 50 07 0d 74 00 00 0d 74 00 00 21 00 00 00 63 6f 6e 74 | .........K.;..P..t...t..!...cont |
15b920 | 65 6e 74 2f 62 72 6f 77 73 65 72 2f 73 65 61 72 63 68 2f 73 65 61 72 63 68 2e 78 6d 6c 3c 3f 78 | ent/browser/search/search.xml<?x |
15b940 | 6d 6c 20 76 65 72 73 69 6f 6e 3d 22 31 2e 30 22 3f 3e 0a 0a 3c 21 44 4f 43 54 59 50 45 20 62 69 | ml.version="1.0"?>..<!DOCTYPE.bi |
15b960 | 6e 64 69 6e 67 73 20 5b 0a 3c 21 45 4e 54 49 54 59 20 25 20 73 65 61 72 63 68 42 61 72 44 54 44 | ndings.[.<!ENTITY.%.searchBarDTD |
15b980 | 20 53 59 53 54 45 4d 20 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 6c 6f 63 61 6c 65 | .SYSTEM."chrome://browser/locale |
15b9a0 | 2f 73 65 61 72 63 68 62 61 72 2e 64 74 64 22 20 3e 0a 25 73 65 61 72 63 68 42 61 72 44 54 44 3b | /searchbar.dtd".>.%searchBarDTD; |
15b9c0 | 0a 3c 21 45 4e 54 49 54 59 20 25 20 67 6c 6f 62 61 6c 44 54 44 20 53 59 53 54 45 4d 20 22 63 68 | .<!ENTITY.%.globalDTD.SYSTEM."ch |
15b9e0 | 72 6f 6d 65 3a 2f 2f 67 6c 6f 62 61 6c 2f 6c 6f 63 61 6c 65 2f 67 6c 6f 62 61 6c 2e 64 74 64 22 | rome://global/locale/global.dtd" |
15ba00 | 3e 0a 25 67 6c 6f 62 61 6c 44 54 44 3b 0a 3c 21 45 4e 54 49 54 59 20 25 20 62 72 6f 77 73 65 72 | >.%globalDTD;.<!ENTITY.%.browser |
15ba20 | 44 54 44 20 53 59 53 54 45 4d 20 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 6c 6f 63 | DTD.SYSTEM."chrome://browser/loc |
15ba40 | 61 6c 65 2f 62 72 6f 77 73 65 72 2e 64 74 64 22 3e 0a 25 62 72 6f 77 73 65 72 44 54 44 3b 0a 5d | ale/browser.dtd">.%browserDTD;.] |
15ba60 | 3e 0a 0a 3c 62 69 6e 64 69 6e 67 73 20 69 64 3d 22 53 65 61 72 63 68 42 69 6e 64 69 6e 67 73 22 | >..<bindings.id="SearchBindings" |
15ba80 | 0a 20 20 20 20 20 20 78 6d 6c 6e 73 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c 61 | .......xmlns="http://www.mozilla |
15baa0 | 2e 6f 72 67 2f 78 62 6c 22 0a 20 20 20 20 20 20 78 6d 6c 6e 73 3a 78 75 6c 3d 22 68 74 74 70 3a | .org/xbl".......xmlns:xul="http: |
15bac0 | 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6b 65 79 6d 61 73 74 65 72 2f 67 61 74 65 | //www.mozilla.org/keymaster/gate |
15bae0 | 6b 65 65 70 65 72 2f 74 68 65 72 65 2e 69 73 2e 6f 6e 6c 79 2e 78 75 6c 22 0a 20 20 20 20 20 20 | keeper/there.is.only.xul"....... |
15bb00 | 78 6d 6c 6e 73 3a 78 62 6c 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 | xmlns:xbl="http://www.mozilla.or |
15bb20 | 67 2f 78 62 6c 22 3e 0a 0a 20 20 3c 62 69 6e 64 69 6e 67 20 69 64 3d 22 73 65 61 72 63 68 62 61 | g/xbl">....<binding.id="searchba |
15bb40 | 72 22 3e 0a 20 20 20 20 3c 72 65 73 6f 75 72 63 65 73 3e 0a 20 20 20 20 20 20 3c 73 74 79 6c 65 | r">.....<resources>.......<style |
15bb60 | 73 68 65 65 74 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 | sheet.src="chrome://browser/cont |
15bb80 | 65 6e 74 2f 73 65 61 72 63 68 2f 73 65 61 72 63 68 62 61 72 42 69 6e 64 69 6e 67 73 2e 63 73 73 | ent/search/searchbarBindings.css |
15bba0 | 22 2f 3e 0a 20 20 20 20 20 20 3c 73 74 79 6c 65 73 68 65 65 74 20 73 72 63 3d 22 63 68 72 6f 6d | "/>.......<stylesheet.src="chrom |
15bbc0 | 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 73 6b 69 6e 2f 73 65 61 72 63 68 62 61 72 2e 63 73 73 22 2f | e://browser/skin/searchbar.css"/ |
15bbe0 | 3e 0a 20 20 20 20 3c 2f 72 65 73 6f 75 72 63 65 73 3e 0a 20 20 20 20 3c 63 6f 6e 74 65 6e 74 3e | >.....</resources>.....<content> |
15bc00 | 0a 20 20 20 20 20 20 3c 78 75 6c 3a 73 74 72 69 6e 67 62 75 6e 64 6c 65 20 73 72 63 3d 22 63 68 | .......<xul:stringbundle.src="ch |
15bc20 | 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 6c 6f 63 61 6c 65 2f 73 65 61 72 63 68 2e 70 72 6f | rome://browser/locale/search.pro |
15bc40 | 70 65 72 74 69 65 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | perties"........................ |
15bc60 | 20 61 6e 6f 6e 69 64 3d 22 73 65 61 72 63 68 62 61 72 2d 73 74 72 69 6e 67 62 75 6e 64 6c 65 22 | .anonid="searchbar-stringbundle" |
15bc80 | 2f 3e 0a 0a 20 20 20 20 20 20 3c 78 75 6c 3a 74 65 78 74 62 6f 78 20 63 6c 61 73 73 3d 22 73 65 | />........<xul:textbox.class="se |
15bca0 | 61 72 63 68 62 61 72 2d 74 65 78 74 62 6f 78 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | archbar-textbox"................ |
15bcc0 | 20 20 20 20 61 6e 6f 6e 69 64 3d 22 73 65 61 72 63 68 62 61 72 2d 74 65 78 74 62 6f 78 22 0a 20 | ....anonid="searchbar-textbox".. |
15bce0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 79 70 65 3d 22 61 75 74 6f 63 6f 6d 70 | ..................type="autocomp |
15bd00 | 6c 65 74 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 6c 65 78 3d 22 31 | lete"....................flex="1 |
15bd20 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 75 74 6f 63 6f 6d 70 6c 65 74 | "....................autocomplet |
15bd40 | 65 70 6f 70 75 70 3d 22 50 6f 70 75 70 41 75 74 6f 43 6f 6d 70 6c 65 74 65 22 0a 20 20 20 20 20 | epopup="PopupAutoComplete"...... |
15bd60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 75 74 6f 63 6f 6d 70 6c 65 74 65 73 65 61 72 63 68 | ..............autocompletesearch |
15bd80 | 3d 22 73 65 61 72 63 68 2d 61 75 74 6f 63 6f 6d 70 6c 65 74 65 22 0a 20 20 20 20 20 20 20 20 20 | ="search-autocomplete".......... |
15bda0 | 20 20 20 20 20 20 20 20 20 20 61 75 74 6f 63 6f 6d 70 6c 65 74 65 73 65 61 72 63 68 70 61 72 61 | ..........autocompletesearchpara |
15bdc0 | 6d 3d 22 73 65 61 72 63 68 62 61 72 2d 68 69 73 74 6f 72 79 22 0a 20 20 20 20 20 20 20 20 20 20 | m="searchbar-history"........... |
15bde0 | 20 20 20 20 20 20 20 20 20 74 69 6d 65 6f 75 74 3d 22 32 35 30 22 0a 20 20 20 20 20 20 20 20 20 | .........timeout="250".......... |
15be00 | 20 20 20 20 20 20 20 20 20 20 6d 61 78 72 6f 77 73 3d 22 31 30 22 0a 20 20 20 20 20 20 20 20 20 | ..........maxrows="10".......... |
15be20 | 20 20 20 20 20 20 20 20 20 20 63 6f 6d 70 6c 65 74 65 73 65 6c 65 63 74 65 64 69 6e 64 65 78 3d | ..........completeselectedindex= |
15be40 | 22 74 72 75 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 68 6f 77 63 6f | "true"....................showco |
15be60 | 6d 6d 65 6e 74 63 6f 6c 75 6d 6e 3d 22 74 72 75 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | mmentcolumn="true".............. |
15be80 | 20 20 20 20 20 20 74 61 62 73 63 72 6f 6c 6c 69 6e 67 3d 22 74 72 75 65 22 0a 20 20 20 20 20 20 | ......tabscrolling="true"....... |
15bea0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 78 62 6c 3a 69 6e 68 65 72 69 74 73 3d 22 64 69 73 61 62 | .............xbl:inherits="disab |
15bec0 | 6c 65 64 2c 64 69 73 61 62 6c 65 61 75 74 6f 63 6f 6d 70 6c 65 74 65 2c 73 65 61 72 63 68 65 6e | led,disableautocomplete,searchen |
15bee0 | 67 69 6e 65 2c 73 72 63 2c 6e 65 77 6c 69 6e 65 73 22 3e 0a 20 20 20 20 20 20 20 20 3c 78 75 6c | gine,src,newlines">.........<xul |
15bf00 | 3a 62 75 74 74 6f 6e 20 63 6c 61 73 73 3d 22 73 65 61 72 63 68 62 61 72 2d 65 6e 67 69 6e 65 2d | :button.class="searchbar-engine- |
15bf20 | 62 75 74 74 6f 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 79 70 65 | button".....................type |
15bf40 | 3d 22 6d 65 6e 75 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 6e 6f 6e | ="menu".....................anon |
15bf60 | 69 64 3d 22 73 65 61 72 63 68 62 61 72 2d 65 6e 67 69 6e 65 2d 62 75 74 74 6f 6e 22 0a 20 20 20 | id="searchbar-engine-button".... |
15bf80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 6f 70 75 70 3d 22 5f 63 68 69 6c 64 22 0a | .................popup="_child". |
15bfa0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 68 72 6f 6d 65 64 69 72 3d 22 26 | ....................chromedir="& |
15bfc0 | 6c 6f 63 61 6c 65 2e 64 69 72 3b 22 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 78 75 6c 3a 69 6d 61 | locale.dir;">...........<xul:ima |
15bfe0 | 67 65 20 63 6c 61 73 73 3d 22 73 65 61 72 63 68 62 61 72 2d 65 6e 67 69 6e 65 2d 69 6d 61 67 65 | ge.class="searchbar-engine-image |
15c000 | 22 20 78 62 6c 3a 69 6e 68 65 72 69 74 73 3d 22 73 72 63 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 | ".xbl:inherits="src"/>.......... |
15c020 | 20 3c 78 75 6c 3a 69 6d 61 67 65 20 63 6c 61 73 73 3d 22 73 65 61 72 63 68 62 61 72 2d 64 72 6f | .<xul:image.class="searchbar-dro |
15c040 | 70 6d 61 72 6b 65 72 2d 69 6d 61 67 65 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 78 75 6c 3a | pmarker-image"/>...........<xul: |
15c060 | 6d 65 6e 75 70 6f 70 75 70 20 63 6c 61 73 73 3d 22 73 65 61 72 63 68 62 61 72 2d 70 6f 70 75 70 | menupopup.class="searchbar-popup |
15c080 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 6e 6f 6e 69 | "..........................anoni |
15c0a0 | 64 3d 22 73 65 61 72 63 68 62 61 72 2d 70 6f 70 75 70 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 | d="searchbar-popup"............. |
15c0c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 70 6f 73 69 74 69 6f 6e 3d 22 61 66 74 65 72 5f 73 74 61 | .............position="after_sta |
15c0e0 | 72 74 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 78 75 6c 3a 6d 65 6e 75 73 65 70 61 72 61 | rt">.............<xul:menusepara |
15c100 | 74 6f 72 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 78 75 6c 3a 6d 65 6e 75 69 74 65 6d 20 | tor/>.............<xul:menuitem. |
15c120 | 63 6c 61 73 73 3d 22 6f 70 65 6e 2d 65 6e 67 69 6e 65 2d 6d 61 6e 61 67 65 72 22 0a 20 20 20 20 | class="open-engine-manager"..... |
15c140 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 6e 6f 6e 69 64 3d 22 6f 70 | ......................anonid="op |
15c160 | 65 6e 2d 65 6e 67 69 6e 65 2d 6d 61 6e 61 67 65 72 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | en-engine-manager".............. |
15c180 | 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 63 6d 64 5f 65 6e 67 69 6e 65 4d | .............label="&cmd_engineM |
15c1a0 | 61 6e 61 67 65 72 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | anager.label;".................. |
15c1c0 | 20 20 20 20 20 20 20 20 20 74 6f 6f 6c 74 69 70 74 65 78 74 3d 22 22 0a 20 20 20 20 20 20 20 20 | .........tooltiptext=""......... |
15c1e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 6f 70 65 | ..................oncommand="ope |
15c200 | 6e 4d 61 6e 61 67 65 72 28 65 76 65 6e 74 29 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 2f | nManager(event);"/>...........</ |
15c220 | 78 75 6c 3a 6d 65 6e 75 70 6f 70 75 70 3e 0a 20 20 20 20 20 20 20 20 3c 2f 78 75 6c 3a 62 75 74 | xul:menupopup>.........</xul:but |
15c240 | 74 6f 6e 3e 0a 20 20 20 20 20 20 20 20 3c 78 75 6c 3a 68 62 6f 78 20 63 6c 61 73 73 3d 22 73 65 | ton>.........<xul:hbox.class="se |
15c260 | 61 72 63 68 2d 67 6f 2d 63 6f 6e 74 61 69 6e 65 72 22 20 63 68 72 6f 6d 65 64 69 72 3d 22 26 6c | arch-go-container".chromedir="&l |
15c280 | 6f 63 61 6c 65 2e 64 69 72 3b 22 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 78 75 6c 3a 69 6d 61 67 | ocale.dir;">...........<xul:imag |
15c2a0 | 65 20 63 6c 61 73 73 3d 22 73 65 61 72 63 68 2d 67 6f 2d 62 75 74 74 6f 6e 22 0a 20 20 20 20 20 | e.class="search-go-button"...... |
15c2c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 6e 6f 6e 69 64 3d 22 73 65 61 72 63 68 2d 67 | ................anonid="search-g |
15c2e0 | 6f 2d 62 75 74 74 6f 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 | o-button"......................c |
15c300 | 68 72 6f 6d 65 64 69 72 3d 22 26 6c 6f 63 61 6c 65 2e 64 69 72 3b 22 0a 20 20 20 20 20 20 20 20 | hromedir="&locale.dir;"......... |
15c320 | 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6c 69 63 6b 3d 22 68 61 6e 64 6c 65 53 65 61 72 | .............onclick="handleSear |
15c340 | 63 68 43 6f 6d 6d 61 6e 64 28 65 76 65 6e 74 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | chCommand(event);".............. |
15c360 | 20 20 20 20 20 20 20 20 74 6f 6f 6c 74 69 70 74 65 78 74 3d 22 26 73 65 61 72 63 68 45 6e 64 43 | ........tooltiptext="&searchEndC |
15c380 | 61 70 2e 6c 61 62 65 6c 3b 22 20 2f 3e 0a 20 20 20 20 20 20 20 20 3c 2f 78 75 6c 3a 68 62 6f 78 | ap.label;"./>.........</xul:hbox |
15c3a0 | 3e 0a 20 20 20 20 20 20 3c 2f 78 75 6c 3a 74 65 78 74 62 6f 78 3e 0a 20 20 20 20 3c 2f 63 6f 6e | >.......</xul:textbox>.....</con |
15c3c0 | 74 65 6e 74 3e 0a 0a 20 20 20 20 3c 69 6d 70 6c 65 6d 65 6e 74 61 74 69 6f 6e 20 69 6d 70 6c 65 | tent>......<implementation.imple |
15c3e0 | 6d 65 6e 74 73 3d 22 6e 73 49 4f 62 73 65 72 76 65 72 22 3e 0a 0a 20 20 20 20 20 20 3c 63 6f 6e | ments="nsIObserver">........<con |
15c400 | 73 74 72 75 63 74 6f 72 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 69 66 20 28 74 | structor><![CDATA[.........if.(t |
15c420 | 68 69 73 2e 70 61 72 65 6e 74 4e 6f 64 65 2e 70 61 72 65 6e 74 4e 6f 64 65 2e 6c 6f 63 61 6c 4e | his.parentNode.parentNode.localN |
15c440 | 61 6d 65 20 3d 3d 20 22 74 6f 6f 6c 62 61 72 70 61 6c 65 74 74 65 69 74 65 6d 22 29 0a 20 20 20 | ame.==."toolbarpaletteitem").... |
15c460 | 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 20 20 20 20 20 20 73 65 74 54 69 6d 65 6f 75 | .......return;.........setTimeou |
15c480 | 74 28 66 75 6e 63 74 69 6f 6e 20 28 61 29 20 7b 20 61 2e 69 6e 69 74 28 29 3b 20 7d 2c 20 30 2c | t(function.(a).{.a.init();.},.0, |
15c4a0 | 20 74 68 69 73 29 3b 0a 20 20 20 20 20 20 5d 5d 3e 3c 2f 63 6f 6e 73 74 72 75 63 74 6f 72 3e 0a | .this);.......]]></constructor>. |
15c4c0 | 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 69 6e 69 74 22 3e 0a 20 20 20 20 | .......<method.name="init">..... |
15c4e0 | 20 20 20 20 3c 62 6f 64 79 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 2f 2f | ....<body><![CDATA[...........// |
15c500 | 20 4d 61 6b 65 20 73 75 72 65 20 77 65 20 72 65 62 75 69 6c 64 20 74 68 65 20 70 6f 70 75 70 20 | .Make.sure.we.rebuild.the.popup. |
15c520 | 69 6e 20 6f 6e 70 6f 70 75 70 73 68 6f 77 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 | in.onpopupshowing...........this |
15c540 | 2e 5f 6e 65 65 64 54 6f 42 75 69 6c 64 50 6f 70 75 70 20 3d 20 74 72 75 65 3b 0a 0a 20 20 20 20 | ._needToBuildPopup.=.true;...... |
15c560 | 20 20 20 20 20 20 2f 2f 20 52 65 66 72 65 73 68 20 74 68 65 20 64 69 73 70 6c 61 79 20 28 75 70 | ......//.Refresh.the.display.(up |
15c580 | 64 61 74 69 6e 67 20 69 63 6f 6e 2c 20 65 74 63 29 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 | dating.icon,.etc)...........this |
15c5a0 | 2e 75 70 64 61 74 65 44 69 73 70 6c 61 79 28 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 | .updateDisplay();............var |
15c5c0 | 20 6f 73 20 3d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e | .os.=................Components. |
15c5e0 | 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6f 62 73 65 72 76 65 72 2d 73 | classes["@mozilla.org/observer-s |
15c600 | 65 72 76 69 63 65 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ervice;1"]...................... |
15c620 | 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 | .....getService(Components.inter |
15c640 | 66 61 63 65 73 2e 6e 73 49 4f 62 73 65 72 76 65 72 53 65 72 76 69 63 65 29 3b 0a 20 20 20 20 20 | faces.nsIObserverService);...... |
15c660 | 20 20 20 20 20 6f 73 2e 61 64 64 4f 62 73 65 72 76 65 72 28 74 68 69 73 2c 20 22 62 72 6f 77 73 | .....os.addObserver(this,."brows |
15c680 | 65 72 2d 73 65 61 72 63 68 2d 65 6e 67 69 6e 65 2d 6d 6f 64 69 66 69 65 64 22 2c 20 66 61 6c 73 | er-search-engine-modified",.fals |
15c6a0 | 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 61 | e);......................this._a |
15c6c0 | 64 64 65 64 4f 62 73 65 72 76 65 72 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 5d 5d 3e | ddedObserver.=.true;.........]]> |
15c6e0 | 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c | </body>.......</method>........< |
15c700 | 64 65 73 74 72 75 63 74 6f 72 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 69 66 20 | destructor><![CDATA[.........if. |
15c720 | 28 74 68 69 73 2e 5f 61 64 64 65 64 4f 62 73 65 72 76 65 72 29 20 7b 0a 20 20 20 20 20 20 20 20 | (this._addedObserver).{......... |
15c740 | 20 20 76 61 72 20 6f 73 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 | ..var.os.=.Components.classes["@ |
15c760 | 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6f 62 73 65 72 76 65 72 2d 73 65 72 76 69 63 65 3b 31 22 5d | mozilla.org/observer-service;1"] |
15c780 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 | ...............................g |
15c7a0 | 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e | etService(Components.interfaces. |
15c7c0 | 6e 73 49 4f 62 73 65 72 76 65 72 53 65 72 76 69 63 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 6f | nsIObserverService);...........o |
15c7e0 | 73 2e 72 65 6d 6f 76 65 4f 62 73 65 72 76 65 72 28 74 68 69 73 2c 20 22 62 72 6f 77 73 65 72 2d | s.removeObserver(this,."browser- |
15c800 | 73 65 61 72 63 68 2d 65 6e 67 69 6e 65 2d 6d 6f 64 69 66 69 65 64 22 29 3b 0a 20 20 20 20 20 20 | search-engine-modified");....... |
15c820 | 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 2f 2f 20 4d 61 6b 65 20 73 75 72 65 20 74 6f 20 62 72 65 | ..}..........//.Make.sure.to.bre |
15c840 | 61 6b 20 74 68 65 20 63 79 63 6c 65 20 66 72 6f 6d 20 5f 74 65 78 62 6f 78 20 74 6f 20 75 73 2e | ak.the.cycle.from._texbox.to.us. |
15c860 | 20 4f 74 68 65 72 77 69 73 65 20 77 65 20 6c 65 61 6b 0a 20 20 20 20 20 20 20 20 2f 2f 20 74 68 | .Otherwise.we.leak.........//.th |
15c880 | 65 20 77 6f 72 6c 64 2e 20 42 75 74 20 6d 61 6b 65 20 73 75 72 65 20 69 74 27 73 20 61 63 74 75 | e.world..But.make.sure.it's.actu |
15c8a0 | 61 6c 6c 79 20 70 6f 69 6e 74 69 6e 67 20 74 6f 20 75 73 2e 0a 20 20 20 20 20 20 20 20 69 66 20 | ally.pointing.to.us..........if. |
15c8c0 | 28 74 68 69 73 2e 5f 74 65 78 74 62 6f 78 2e 6d 43 6f 6e 74 72 6f 6c 6c 65 72 2e 69 6e 70 75 74 | (this._textbox.mController.input |
15c8e0 | 20 3d 3d 20 74 68 69 73 29 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 74 65 78 74 62 6f | .==.this)...........this._textbo |
15c900 | 78 2e 6d 43 6f 6e 74 72 6f 6c 6c 65 72 2e 69 6e 70 75 74 20 3d 20 6e 75 6c 6c 3b 0a 20 20 20 20 | x.mController.input.=.null;..... |
15c920 | 20 20 5d 5d 3e 3c 2f 64 65 73 74 72 75 63 74 6f 72 3e 0a 0a 20 20 20 20 20 20 3c 66 69 65 6c 64 | ..]]></destructor>........<field |
15c940 | 20 6e 61 6d 65 3d 22 5f 73 74 72 69 6e 67 42 75 6e 64 6c 65 22 3e 64 6f 63 75 6d 65 6e 74 2e 67 | .name="_stringBundle">document.g |
15c960 | 65 74 41 6e 6f 6e 79 6d 6f 75 73 45 6c 65 6d 65 6e 74 42 79 41 74 74 72 69 62 75 74 65 28 74 68 | etAnonymousElementByAttribute(th |
15c980 | 69 73 2c 0a 20 20 20 20 20 20 20 20 20 20 22 61 6e 6f 6e 69 64 22 2c 20 22 73 65 61 72 63 68 62 | is,..........."anonid",."searchb |
15c9a0 | 61 72 2d 73 74 72 69 6e 67 62 75 6e 64 6c 65 22 29 3b 3c 2f 66 69 65 6c 64 3e 0a 20 20 20 20 20 | ar-stringbundle");</field>...... |
15c9c0 | 20 3c 66 69 65 6c 64 20 6e 61 6d 65 3d 22 5f 74 65 78 74 62 6f 78 22 3e 64 6f 63 75 6d 65 6e 74 | .<field.name="_textbox">document |
15c9e0 | 2e 67 65 74 41 6e 6f 6e 79 6d 6f 75 73 45 6c 65 6d 65 6e 74 42 79 41 74 74 72 69 62 75 74 65 28 | .getAnonymousElementByAttribute( |
15ca00 | 74 68 69 73 2c 0a 20 20 20 20 20 20 20 20 20 20 22 61 6e 6f 6e 69 64 22 2c 20 22 73 65 61 72 63 | this,..........."anonid",."searc |
15ca20 | 68 62 61 72 2d 74 65 78 74 62 6f 78 22 29 3b 3c 2f 66 69 65 6c 64 3e 0a 20 20 20 20 20 20 3c 66 | hbar-textbox");</field>.......<f |
15ca40 | 69 65 6c 64 20 6e 61 6d 65 3d 22 5f 70 6f 70 75 70 22 3e 64 6f 63 75 6d 65 6e 74 2e 67 65 74 41 | ield.name="_popup">document.getA |
15ca60 | 6e 6f 6e 79 6d 6f 75 73 45 6c 65 6d 65 6e 74 42 79 41 74 74 72 69 62 75 74 65 28 74 68 69 73 2c | nonymousElementByAttribute(this, |
15ca80 | 0a 20 20 20 20 20 20 20 20 20 20 22 61 6e 6f 6e 69 64 22 2c 20 22 73 65 61 72 63 68 62 61 72 2d | ..........."anonid",."searchbar- |
15caa0 | 70 6f 70 75 70 22 29 3b 3c 2f 66 69 65 6c 64 3e 0a 20 20 20 20 20 20 3c 66 69 65 6c 64 20 6e 61 | popup");</field>.......<field.na |
15cac0 | 6d 65 3d 22 5f 73 73 22 3e 6e 75 6c 6c 3c 2f 66 69 65 6c 64 3e 0a 20 20 20 20 20 20 3c 66 69 65 | me="_ss">null</field>.......<fie |
15cae0 | 6c 64 20 6e 61 6d 65 3d 22 5f 65 6e 67 69 6e 65 73 22 3e 6e 75 6c 6c 3c 2f 66 69 65 6c 64 3e 0a | ld.name="_engines">null</field>. |
15cb00 | 0a 20 20 20 20 20 20 3c 70 72 6f 70 65 72 74 79 20 6e 61 6d 65 3d 22 65 6e 67 69 6e 65 73 22 20 | .......<property.name="engines". |
15cb20 | 72 65 61 64 6f 6e 6c 79 3d 22 74 72 75 65 22 3e 0a 20 20 20 20 20 20 20 20 3c 67 65 74 74 65 72 | readonly="true">.........<getter |
15cb40 | 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 74 68 69 73 2e 5f | ><![CDATA[...........if.(!this._ |
15cb60 | 65 6e 67 69 6e 65 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 65 6e 67 69 6e | engines).............this._engin |
15cb80 | 65 73 20 3d 20 74 68 69 73 2e 73 65 61 72 63 68 53 65 72 76 69 63 65 2e 67 65 74 56 69 73 69 62 | es.=.this.searchService.getVisib |
15cba0 | 6c 65 45 6e 67 69 6e 65 73 28 7b 20 7d 29 3b 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e | leEngines({.});...........return |
15cbc0 | 20 74 68 69 73 2e 5f 65 6e 67 69 6e 65 73 3b 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 67 65 74 | .this._engines;.........]]></get |
15cbe0 | 74 65 72 3e 0a 20 20 20 20 20 20 3c 2f 70 72 6f 70 65 72 74 79 3e 0a 0a 20 20 20 20 20 20 3c 66 | ter>.......</property>........<f |
15cc00 | 69 65 6c 64 20 6e 61 6d 65 3d 22 73 65 61 72 63 68 42 75 74 74 6f 6e 22 3e 64 6f 63 75 6d 65 6e | ield.name="searchButton">documen |
15cc20 | 74 2e 67 65 74 41 6e 6f 6e 79 6d 6f 75 73 45 6c 65 6d 65 6e 74 42 79 41 74 74 72 69 62 75 74 65 | t.getAnonymousElementByAttribute |
15cc40 | 28 74 68 69 73 2c 0a 20 20 20 20 20 20 20 20 20 20 22 61 6e 6f 6e 69 64 22 2c 20 22 73 65 61 72 | (this,..........."anonid",."sear |
15cc60 | 63 68 62 61 72 2d 65 6e 67 69 6e 65 2d 62 75 74 74 6f 6e 22 29 3b 3c 2f 66 69 65 6c 64 3e 0a 0a | chbar-engine-button");</field>.. |
15cc80 | 20 20 20 20 20 20 3c 70 72 6f 70 65 72 74 79 20 6e 61 6d 65 3d 22 63 75 72 72 65 6e 74 45 6e 67 | ......<property.name="currentEng |
15cca0 | 69 6e 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 73 65 74 3d 22 74 68 69 73 | ine".................onset="this |
15ccc0 | 2e 73 65 61 72 63 68 53 65 72 76 69 63 65 2e 63 75 72 72 65 6e 74 45 6e 67 69 6e 65 20 3d 20 76 | .searchService.currentEngine.=.v |
15cce0 | 61 6c 3b 20 72 65 74 75 72 6e 20 76 61 6c 3b 22 3e 0a 20 20 20 20 20 20 20 20 3c 67 65 74 74 65 | al;.return.val;">.........<gette |
15cd00 | 72 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 63 75 72 72 65 6e | r><![CDATA[...........var.curren |
15cd20 | 74 45 6e 67 69 6e 65 20 3d 20 74 68 69 73 2e 73 65 61 72 63 68 53 65 72 76 69 63 65 2e 63 75 72 | tEngine.=.this.searchService.cur |
15cd40 | 72 65 6e 74 45 6e 67 69 6e 65 3b 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 52 65 74 75 72 6e 20 | rentEngine;...........//.Return. |
15cd60 | 61 20 64 75 6d 6d 79 20 65 6e 67 69 6e 65 20 69 66 20 74 68 65 72 65 20 69 73 20 6e 6f 20 63 75 | a.dummy.engine.if.there.is.no.cu |
15cd80 | 72 72 65 6e 74 45 6e 67 69 6e 65 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 63 75 72 | rrentEngine...........return.cur |
15cda0 | 72 65 6e 74 45 6e 67 69 6e 65 20 7c 7c 20 7b 6e 61 6d 65 3a 22 22 2c 20 75 72 69 3a 6e 75 6c 6c | rentEngine.||.{name:"",.uri:null |
15cdc0 | 7d 3b 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 67 65 74 74 65 72 3e 0a 20 20 20 20 20 20 3c 2f | };.........]]></getter>.......</ |
15cde0 | 70 72 6f 70 65 72 74 79 3e 0a 0a 20 20 20 20 20 20 3c 21 2d 2d 20 74 65 78 74 62 6f 78 20 69 73 | property>........<!--.textbox.is |
15ce00 | 20 75 73 65 64 20 62 79 20 73 61 6e 69 74 69 7a 65 2e 6a 73 20 74 6f 20 63 6c 65 61 72 20 74 68 | .used.by.sanitize.js.to.clear.th |
15ce20 | 65 20 75 6e 64 6f 20 68 69 73 74 6f 72 79 20 77 68 65 6e 0a 20 20 20 20 20 20 20 20 20 20 20 63 | e.undo.history.when............c |
15ce40 | 6c 65 61 72 69 6e 67 20 66 6f 72 6d 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 2e 20 2d 2d 3e 0a 20 20 | learing.form.information..-->... |
15ce60 | 20 20 20 20 3c 70 72 6f 70 65 72 74 79 20 6e 61 6d 65 3d 22 74 65 78 74 62 6f 78 22 20 72 65 61 | ....<property.name="textbox".rea |
15ce80 | 64 6f 6e 6c 79 3d 22 74 72 75 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 67 | donly="true".................ong |
15cea0 | 65 74 3d 22 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 74 65 78 74 62 6f 78 3b 22 2f 3e 0a 0a 20 20 | et="return.this._textbox;"/>.... |
15cec0 | 20 20 20 20 3c 70 72 6f 70 65 72 74 79 20 6e 61 6d 65 3d 22 73 65 61 72 63 68 53 65 72 76 69 63 | ....<property.name="searchServic |
15cee0 | 65 22 20 72 65 61 64 6f 6e 6c 79 3d 22 74 72 75 65 22 3e 0a 20 20 20 20 20 20 20 20 3c 67 65 74 | e".readonly="true">.........<get |
15cf00 | 74 65 72 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 74 68 69 | ter><![CDATA[...........if.(!thi |
15cf20 | 73 2e 5f 73 73 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6e 73 74 20 6e 73 49 42 53 | s._ss).{.............const.nsIBS |
15cf40 | 53 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 42 72 6f | S.=.Components.interfaces.nsIBro |
15cf60 | 77 73 65 72 53 65 61 72 63 68 53 65 72 76 69 63 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 | wserSearchService;.............t |
15cf80 | 68 69 73 2e 5f 73 73 20 3d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 43 6f 6d 70 6f | his._ss.=..................Compo |
15cfa0 | 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 62 72 6f 77 | nents.classes["@mozilla.org/brow |
15cfc0 | 73 65 72 2f 73 65 61 72 63 68 2d 73 65 72 76 69 63 65 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 | ser/search-service;1"].......... |
15cfe0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 6e 73 | ...................getService(ns |
15d000 | 49 42 53 53 29 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 | IBSS);...........}...........ret |
15d020 | 75 72 6e 20 74 68 69 73 2e 5f 73 73 3b 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 67 65 74 74 65 | urn.this._ss;.........]]></gette |
15d040 | 72 3e 0a 20 20 20 20 20 20 3c 2f 70 72 6f 70 65 72 74 79 3e 0a 0a 20 20 20 20 20 20 3c 70 72 6f | r>.......</property>........<pro |
15d060 | 70 65 72 74 79 20 6e 61 6d 65 3d 22 76 61 6c 75 65 22 20 6f 6e 67 65 74 3d 22 72 65 74 75 72 6e | perty.name="value".onget="return |
15d080 | 20 74 68 69 73 2e 5f 74 65 78 74 62 6f 78 2e 76 61 6c 75 65 3b 22 0a 20 20 20 20 20 20 20 20 20 | .this._textbox.value;".......... |
15d0a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 73 65 74 3d 22 72 65 74 75 72 | ....................onset="retur |
15d0c0 | 6e 20 74 68 69 73 2e 5f 74 65 78 74 62 6f 78 2e 76 61 6c 75 65 20 3d 20 76 61 6c 3b 22 2f 3e 0a | n.this._textbox.value.=.val;"/>. |
15d0e0 | 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 66 6f 63 75 73 22 3e 0a 20 20 20 | .......<method.name="focus">.... |
15d100 | 20 20 20 20 20 3c 62 6f 64 79 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 74 | .....<body><![CDATA[...........t |
15d120 | 68 69 73 2e 5f 74 65 78 74 62 6f 78 2e 66 6f 63 75 73 28 29 3b 0a 20 20 20 20 20 20 20 20 5d 5d | his._textbox.focus();.........]] |
15d140 | 3e 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 | ></body>.......</method>........ |
15d160 | 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 73 65 6c 65 63 74 22 3e 0a 20 20 20 20 20 20 20 20 3c | <method.name="select">.........< |
15d180 | 62 6f 64 79 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 74 | body><![CDATA[...........this._t |
15d1a0 | 65 78 74 62 6f 78 2e 73 65 6c 65 63 74 28 29 3b 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 62 6f | extbox.select();.........]]></bo |
15d1c0 | 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 | dy>.......</method>........<meth |
15d1e0 | 6f 64 20 6e 61 6d 65 3d 22 6f 62 73 65 72 76 65 22 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 | od.name="observe">.........<para |
15d200 | 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 45 6e 67 69 6e 65 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c | meter.name="aEngine"/>.........< |
15d220 | 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 54 6f 70 69 63 22 2f 3e 0a 20 20 20 20 20 20 | parameter.name="aTopic"/>....... |
15d240 | 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 56 65 72 62 22 2f 3e 0a 20 20 20 20 | ..<parameter.name="aVerb"/>..... |
15d260 | 20 20 20 20 3c 62 6f 64 79 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 69 66 | ....<body><![CDATA[...........if |
15d280 | 20 28 61 54 6f 70 69 63 20 3d 3d 20 22 62 72 6f 77 73 65 72 2d 73 65 61 72 63 68 2d 65 6e 67 69 | .(aTopic.==."browser-search-engi |
15d2a0 | 6e 65 2d 6d 6f 64 69 66 69 65 64 22 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 73 77 69 74 | ne-modified").{.............swit |
15d2c0 | 63 68 20 28 61 56 65 72 62 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 22 65 | ch.(aVerb).{.............case."e |
15d2e0 | 6e 67 69 6e 65 2d 72 65 6d 6f 76 65 64 22 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 | ngine-removed":...............th |
15d300 | 69 73 2e 6f 66 66 65 72 4e 65 77 45 6e 67 69 6e 65 28 61 45 6e 67 69 6e 65 29 3b 0a 20 20 20 20 | is.offerNewEngine(aEngine);..... |
15d320 | 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 | ..........break;.............cas |
15d340 | 65 20 22 65 6e 67 69 6e 65 2d 61 64 64 65 64 22 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | e."engine-added":............... |
15d360 | 74 68 69 73 2e 68 69 64 65 4e 65 77 45 6e 67 69 6e 65 28 61 45 6e 67 69 6e 65 29 3b 0a 20 20 20 | this.hideNewEngine(aEngine);.... |
15d380 | 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 63 61 | ...........break;.............ca |
15d3a0 | 73 65 20 22 65 6e 67 69 6e 65 2d 63 75 72 72 65 6e 74 22 3a 0a 20 20 20 20 20 20 20 20 20 20 20 | se."engine-current":............ |
15d3c0 | 20 20 20 2f 2f 20 54 68 65 20 63 75 72 72 65 6e 74 20 65 6e 67 69 6e 65 20 77 61 73 20 63 68 61 | ...//.The.current.engine.was.cha |
15d3e0 | 6e 67 65 64 2e 20 20 52 65 62 75 69 6c 64 69 6e 67 20 74 68 65 20 6d 65 6e 75 20 61 70 70 65 61 | nged...Rebuilding.the.menu.appea |
15d400 | 72 73 20 74 6f 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 63 6f 6e 66 75 73 65 20 69 | rs.to...............//.confuse.i |
15d420 | 74 73 20 69 64 65 61 20 6f 66 20 77 68 65 74 68 65 72 20 69 74 20 73 68 6f 75 6c 64 20 62 65 20 | ts.idea.of.whether.it.should.be. |
15d440 | 6f 70 65 6e 20 77 68 65 6e 20 69 74 27 73 20 6a 75 73 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 | open.when.it's.just............. |
15d460 | 20 20 2f 2f 20 62 65 65 6e 20 63 6c 69 63 6b 65 64 2c 20 73 6f 20 77 65 20 66 6f 72 63 65 20 69 | ..//.been.clicked,.so.we.force.i |
15d480 | 74 20 74 6f 20 63 6c 6f 73 65 20 6e 6f 77 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 | t.to.close.now................th |
15d4a0 | 69 73 2e 5f 70 6f 70 75 70 2e 68 69 64 65 50 6f 70 75 70 28 29 3b 0a 20 20 20 20 20 20 20 20 20 | is._popup.hidePopup();.......... |
15d4c0 | 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 22 65 6e | .....break;.............case."en |
15d4e0 | 67 69 6e 65 2d 63 68 61 6e 67 65 64 22 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 | gine-changed":...............//. |
15d500 | 41 6e 20 65 6e 67 69 6e 65 20 77 61 73 20 72 65 6d 6f 76 65 64 20 28 6f 72 20 68 69 64 64 65 6e | An.engine.was.removed.(or.hidden |
15d520 | 29 20 6f 72 20 61 64 64 65 64 2c 20 6f 72 20 61 6e 20 69 63 6f 6e 20 77 61 73 0a 20 20 20 20 20 | ).or.added,.or.an.icon.was...... |
15d540 | 20 20 20 20 20 20 20 20 20 2f 2f 20 63 68 61 6e 67 65 64 2e 20 20 44 6f 20 6e 6f 74 68 69 6e 67 | .........//.changed...Do.nothing |
15d560 | 20 73 70 65 63 69 61 6c 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 | .special..............}......... |
15d580 | 20 20 20 20 20 2f 2f 20 4d 61 6b 65 20 73 75 72 65 20 74 68 65 20 65 6e 67 69 6e 65 20 6c 69 73 | .....//.Make.sure.the.engine.lis |
15d5a0 | 74 20 69 73 20 72 65 66 65 74 63 68 65 64 20 6e 65 78 74 20 74 69 6d 65 20 69 74 27 73 20 6e 65 | t.is.refetched.next.time.it's.ne |
15d5c0 | 65 64 65 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 65 6e 67 69 6e 65 73 20 3d | eded.............this._engines.= |
15d5e0 | 20 6e 75 6c 6c 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 52 65 62 75 69 6c 64 20 74 | .null;..............//.Rebuild.t |
15d600 | 68 65 20 70 6f 70 75 70 20 61 6e 64 20 75 70 64 61 74 65 20 74 68 65 20 64 69 73 70 6c 61 79 20 | he.popup.and.update.the.display. |
15d620 | 61 66 74 65 72 20 61 6e 79 20 6d 6f 64 69 66 69 63 61 74 69 6f 6e 2e 0a 20 20 20 20 20 20 20 20 | after.any.modification.......... |
15d640 | 20 20 20 20 74 68 69 73 2e 72 65 62 75 69 6c 64 50 6f 70 75 70 28 29 3b 0a 20 20 20 20 20 20 20 | ....this.rebuildPopup();........ |
15d660 | 20 20 20 20 20 74 68 69 73 2e 75 70 64 61 74 65 44 69 73 70 6c 61 79 28 29 3b 0a 20 20 20 20 20 | .....this.updateDisplay();...... |
15d680 | 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 | .....}.........]]></body>....... |
15d6a0 | 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 21 2d 2d 20 54 68 65 72 65 20 61 72 65 20 | </method>........<!--.There.are. |
15d6c0 | 74 77 6f 20 73 65 61 70 72 61 74 65 20 6c 69 73 74 73 20 6f 66 20 73 65 61 72 63 68 20 65 6e 67 | two.seaprate.lists.of.search.eng |
15d6e0 | 69 6e 65 73 2c 20 77 68 6f 73 65 20 75 73 65 73 20 69 6e 74 65 72 73 65 63 74 0a 20 20 20 20 20 | ines,.whose.uses.intersect...... |
15d700 | 20 69 6e 20 74 68 69 73 20 66 69 6c 65 2e 20 20 54 68 65 20 73 65 61 72 63 68 20 73 65 72 76 69 | .in.this.file...The.search.servi |
15d720 | 63 65 20 28 6e 73 49 42 72 6f 77 73 65 72 53 65 61 72 63 68 53 65 72 76 69 63 65 20 61 6e 64 0a | ce.(nsIBrowserSearchService.and. |
15d740 | 20 20 20 20 20 20 6e 73 53 65 61 72 63 68 53 65 72 76 69 63 65 2e 6a 73 29 20 6d 61 69 6e 74 61 | ......nsSearchService.js).mainta |
15d760 | 69 6e 73 20 61 20 6c 69 73 74 20 6f 66 20 45 6e 67 69 6e 65 20 6f 62 6a 65 63 74 73 20 77 68 69 | ins.a.list.of.Engine.objects.whi |
15d780 | 63 68 20 69 73 20 75 73 65 64 20 74 6f 0a 20 20 20 20 20 20 70 6f 70 75 6c 61 74 65 20 74 68 65 | ch.is.used.to.......populate.the |
15d7a0 | 20 73 65 61 72 63 68 62 6f 78 20 6c 69 73 74 20 6f 66 20 61 76 61 69 6c 61 62 6c 65 20 65 6e 67 | .searchbox.list.of.available.eng |
15d7c0 | 69 6e 65 73 20 61 6e 64 20 74 6f 20 70 65 72 66 6f 72 6d 20 71 75 65 72 69 65 73 2e 0a 20 20 20 | ines.and.to.perform.queries..... |
15d7e0 | 20 20 20 54 68 61 74 20 6c 69 73 74 20 69 73 20 61 63 63 65 73 73 65 64 20 68 65 72 65 20 76 69 | ...That.list.is.accessed.here.vi |
15d800 | 61 20 74 68 69 73 2e 53 65 61 72 63 68 53 65 72 76 69 63 65 2c 20 61 6e 64 20 69 74 27 73 20 74 | a.this.SearchService,.and.it's.t |
15d820 | 68 61 74 20 73 6f 72 74 20 6f 66 0a 20 20 20 20 20 20 45 6e 67 69 6e 65 20 74 68 61 74 20 69 73 | hat.sort.of.......Engine.that.is |
15d840 | 20 70 61 73 73 65 64 20 74 6f 20 74 68 69 73 20 62 69 6e 64 69 6e 67 27 73 20 6f 62 73 65 72 76 | .passed.to.this.binding's.observ |
15d860 | 65 72 20 61 73 20 61 45 6e 67 69 6e 65 2e 0a 0a 20 20 20 20 20 20 49 6e 20 61 64 64 69 74 69 6f | er.as.aEngine.........In.additio |
15d880 | 6e 2c 20 62 72 6f 77 73 65 72 2e 6a 73 20 66 69 6c 6c 73 20 74 77 6f 20 6c 69 73 74 73 20 6f 66 | n,.browser.js.fills.two.lists.of |
15d8a0 | 20 61 75 74 6f 64 65 74 65 63 74 65 64 20 73 65 61 72 63 68 20 65 6e 67 69 6e 65 73 0a 20 20 20 | .autodetected.search.engines.... |
15d8c0 | 20 20 20 28 62 72 6f 77 73 65 72 2e 65 6e 67 69 6e 65 73 20 61 6e 64 20 62 72 6f 77 73 65 72 2e | ...(browser.engines.and.browser. |
15d8e0 | 68 69 64 64 65 6e 45 6e 67 69 6e 65 73 29 20 61 73 20 70 72 6f 70 65 72 74 69 65 73 20 6f 66 0a | hiddenEngines).as.properties.of. |
15d900 | 20 20 20 20 20 20 6d 43 75 72 72 65 6e 74 42 72 6f 77 73 65 72 2e 20 20 54 68 6f 73 65 20 6c 69 | ......mCurrentBrowser...Those.li |
15d920 | 73 74 73 20 63 6f 6e 74 61 69 6e 20 75 6e 6e 61 6d 65 64 20 4a 53 20 6f 62 6a 65 63 74 73 20 6f | sts.contain.unnamed.JS.objects.o |
15d940 | 66 20 74 68 65 20 66 6f 72 6d 0a 20 20 20 20 20 20 7b 20 75 72 69 3a 2c 20 74 69 74 6c 65 3a 2c | f.the.form.......{.uri:,.title:, |
15d960 | 20 69 63 6f 6e 3a 20 7d 2c 20 61 6e 64 20 74 68 61 74 27 73 20 77 68 61 74 20 74 68 65 20 73 65 | .icon:.},.and.that's.what.the.se |
15d980 | 61 72 63 68 62 61 72 20 75 73 65 73 20 74 6f 20 64 65 74 65 72 6d 69 6e 65 0a 20 20 20 20 20 20 | archbar.uses.to.determine....... |
15d9a0 | 77 68 65 74 68 65 72 20 74 6f 20 73 68 6f 77 20 61 6e 79 20 22 41 64 64 20 3c 45 6e 67 69 6e 65 | whether.to.show.any."Add.<Engine |
15d9c0 | 4e 61 6d 65 3e 22 20 6d 65 6e 75 20 69 74 65 6d 73 20 69 6e 20 74 68 65 20 64 72 6f 70 2d 64 6f | Name>".menu.items.in.the.drop-do |
15d9e0 | 77 6e 2e 0a 0a 20 20 20 20 20 20 54 68 65 20 74 77 6f 20 74 79 70 65 73 20 6f 66 20 65 6e 67 69 | wn.........The.two.types.of.engi |
15da00 | 6e 65 73 20 61 72 65 20 63 75 72 72 65 6e 74 6c 79 20 72 65 6c 61 74 65 64 20 62 79 20 74 68 65 | nes.are.currently.related.by.the |
15da20 | 69 72 20 69 64 65 6e 74 69 66 79 69 6e 67 0a 20 20 20 20 20 20 74 69 74 6c 65 73 20 28 74 68 65 | ir.identifying.......titles.(the |
15da40 | 20 45 6e 67 69 6e 65 20 6f 62 6a 65 63 74 27 73 20 27 6e 61 6d 65 27 29 2c 20 61 6c 74 68 6f 75 | .Engine.object's.'name'),.althou |
15da60 | 67 68 20 74 68 61 74 20 6d 61 79 20 63 68 61 6e 67 65 3b 20 73 65 65 20 62 75 67 0a 20 20 20 20 | gh.that.may.change;.see.bug..... |
15da80 | 20 20 33 33 35 31 30 32 2e 20 20 2d 2d 3e 0a 0a 20 20 20 20 20 20 3c 21 2d 2d 20 49 66 20 74 68 | ..335102...-->........<!--.If.th |
15daa0 | 65 20 65 6e 67 69 6e 65 20 74 68 61 74 20 77 61 73 20 6a 75 73 74 20 72 65 6d 6f 76 65 64 20 66 | e.engine.that.was.just.removed.f |
15dac0 | 72 6f 6d 20 74 68 65 20 73 65 61 72 63 68 62 6f 78 20 6c 69 73 74 20 77 61 73 0a 20 20 20 20 20 | rom.the.searchbox.list.was...... |
15dae0 | 20 61 75 74 6f 64 65 74 65 63 74 65 64 20 6f 6e 20 74 68 69 73 20 70 61 67 65 2c 20 6d 6f 76 65 | .autodetected.on.this.page,.move |
15db00 | 20 69 74 20 74 6f 20 65 61 63 68 20 62 72 6f 77 73 65 72 27 73 20 61 63 74 69 76 65 20 6c 69 73 | .it.to.each.browser's.active.lis |
15db20 | 74 20 73 6f 20 69 74 0a 20 20 20 20 20 20 77 69 6c 6c 20 62 65 20 6f 66 66 65 72 65 64 20 74 6f | t.so.it.......will.be.offered.to |
15db40 | 20 62 65 20 61 64 64 65 64 20 61 67 61 69 6e 2e 20 2d 2d 3e 0a 20 20 20 20 20 20 3c 6d 65 74 68 | .be.added.again..-->.......<meth |
15db60 | 6f 64 20 6e 61 6d 65 3d 22 6f 66 66 65 72 4e 65 77 45 6e 67 69 6e 65 22 3e 0a 20 20 20 20 20 20 | od.name="offerNewEngine">....... |
15db80 | 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 45 6e 67 69 6e 65 22 2f 3e 0a 20 20 | ..<parameter.name="aEngine"/>... |
15dba0 | 20 20 20 20 20 20 3c 62 6f 64 79 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 | ......<body><![CDATA[........... |
15dbc0 | 76 61 72 20 61 6c 6c 62 72 6f 77 73 65 72 73 20 3d 20 67 65 74 42 72 6f 77 73 65 72 28 29 2e 6d | var.allbrowsers.=.getBrowser().m |
15dbe0 | 50 61 6e 65 6c 43 6f 6e 74 61 69 6e 65 72 2e 63 68 69 6c 64 4e 6f 64 65 73 3b 0a 20 20 20 20 20 | PanelContainer.childNodes;...... |
15dc00 | 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 74 61 62 20 3d 20 30 3b 20 74 61 62 20 3c 20 61 6c 6c | .....for.(var.tab.=.0;.tab.<.all |
15dc20 | 62 72 6f 77 73 65 72 73 2e 6c 65 6e 67 74 68 3b 20 74 61 62 2b 2b 29 20 7b 0a 20 20 20 20 20 20 | browsers.length;.tab++).{....... |
15dc40 | 20 20 20 20 20 20 76 61 72 20 62 72 6f 77 73 65 72 20 3d 20 67 65 74 42 72 6f 77 73 65 72 28 29 | ......var.browser.=.getBrowser() |
15dc60 | 2e 67 65 74 42 72 6f 77 73 65 72 41 74 49 6e 64 65 78 28 74 61 62 29 3b 0a 20 20 20 20 20 20 20 | .getBrowserAtIndex(tab);........ |
15dc80 | 20 20 20 20 20 69 66 20 28 62 72 6f 77 73 65 72 2e 68 69 64 64 65 6e 45 6e 67 69 6e 65 73 29 20 | .....if.(browser.hiddenEngines). |
15dca0 | 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 58 58 58 20 54 68 69 73 20 77 69 6c 6c | {...............//.XXX.This.will |
15dcc0 | 20 6e 65 65 64 20 74 6f 20 62 65 20 63 68 61 6e 67 65 64 20 77 68 65 6e 20 65 6e 67 69 6e 65 73 | .need.to.be.changed.when.engines |
15dce0 | 20 61 72 65 20 69 64 65 6e 74 69 66 69 65 64 20 62 79 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | .are.identified.by.............. |
15dd00 | 20 2f 2f 20 55 52 4c 20 72 61 74 68 65 72 20 74 68 61 6e 20 74 69 74 6c 65 3b 20 73 65 65 20 62 | .//.URL.rather.than.title;.see.b |
15dd20 | 75 67 20 33 33 35 31 30 32 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 72 65 6d | ug.335102................var.rem |
15dd40 | 6f 76 65 54 69 74 6c 65 20 3d 20 61 45 6e 67 69 6e 65 2e 77 72 61 70 70 65 64 4a 53 4f 62 6a 65 | oveTitle.=.aEngine.wrappedJSObje |
15dd60 | 63 74 2e 6e 61 6d 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 | ct.name;...............for.(var. |
15dd80 | 69 20 3d 20 30 3b 20 69 20 3c 20 62 72 6f 77 73 65 72 2e 68 69 64 64 65 6e 45 6e 67 69 6e 65 73 | i.=.0;.i.<.browser.hiddenEngines |
15dda0 | 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .length;.i++).{................. |
15ddc0 | 69 66 20 28 62 72 6f 77 73 65 72 2e 68 69 64 64 65 6e 45 6e 67 69 6e 65 73 5b 69 5d 2e 74 69 74 | if.(browser.hiddenEngines[i].tit |
15dde0 | 6c 65 20 3d 3d 20 72 65 6d 6f 76 65 54 69 74 6c 65 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 | le.==.removeTitle).{............ |
15de00 | 20 20 20 20 20 20 20 69 66 20 28 21 62 72 6f 77 73 65 72 2e 65 6e 67 69 6e 65 73 29 0a 20 20 20 | .......if.(!browser.engines).... |
15de20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 6f 77 73 65 72 2e 65 6e 67 69 6e 65 73 | .................browser.engines |
15de40 | 20 3d 20 5b 5d 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 6f 77 73 65 72 | .=.[];...................browser |
15de60 | 2e 65 6e 67 69 6e 65 73 2e 70 75 73 68 28 62 72 6f 77 73 65 72 2e 68 69 64 64 65 6e 45 6e 67 69 | .engines.push(browser.hiddenEngi |
15de80 | 6e 65 73 5b 69 5d 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 6f 77 73 | nes[i]);...................brows |
15dea0 | 65 72 2e 68 69 64 64 65 6e 45 6e 67 69 6e 65 73 2e 73 70 6c 69 63 65 28 69 2c 20 31 29 3b 0a 20 | er.hiddenEngines.splice(i,.1);.. |
15dec0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 20 20 | .................break;......... |
15dee0 | 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 | ........}...............}....... |
15df00 | 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 42 72 | ......}...........}...........Br |
15df20 | 6f 77 73 65 72 53 65 61 72 63 68 2e 75 70 64 61 74 65 53 65 61 72 63 68 42 75 74 74 6f 6e 28 29 | owserSearch.updateSearchButton() |
15df40 | 3b 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 | ;.........]]></body>.......</met |
15df60 | 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 21 2d 2d 20 49 66 20 74 68 65 20 65 6e 67 69 6e 65 20 74 | hod>........<!--.If.the.engine.t |
15df80 | 68 61 74 20 77 61 73 20 6a 75 73 74 20 61 64 64 65 64 20 74 6f 20 74 68 65 20 73 65 61 72 63 68 | hat.was.just.added.to.the.search |
15dfa0 | 62 6f 78 20 6c 69 73 74 20 77 61 73 0a 20 20 20 20 20 20 61 75 74 6f 64 65 74 65 63 74 65 64 20 | box.list.was.......autodetected. |
15dfc0 | 6f 6e 20 74 68 69 73 20 70 61 67 65 2c 20 6d 6f 76 65 20 69 74 20 74 6f 20 65 61 63 68 20 62 72 | on.this.page,.move.it.to.each.br |
15dfe0 | 6f 77 73 65 72 27 73 20 68 69 64 64 65 6e 20 6c 69 73 74 20 73 6f 20 69 74 20 69 73 0a 20 20 20 | owser's.hidden.list.so.it.is.... |
15e000 | 20 20 20 6e 6f 20 6c 6f 6e 67 65 72 20 6f 66 66 65 72 65 64 20 74 6f 20 62 65 20 61 64 64 65 64 | ...no.longer.offered.to.be.added |
15e020 | 2e 20 2d 2d 3e 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 68 69 64 65 4e 65 | ..-->.......<method.name="hideNe |
15e040 | 77 45 6e 67 69 6e 65 22 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d | wEngine">.........<parameter.nam |
15e060 | 65 3d 22 61 45 6e 67 69 6e 65 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 3c 21 5b 43 | e="aEngine"/>.........<body><![C |
15e080 | 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 61 6c 6c 62 72 6f 77 73 65 72 73 20 | DATA[...........var.allbrowsers. |
15e0a0 | 3d 20 67 65 74 42 72 6f 77 73 65 72 28 29 2e 6d 50 61 6e 65 6c 43 6f 6e 74 61 69 6e 65 72 2e 63 | =.getBrowser().mPanelContainer.c |
15e0c0 | 68 69 6c 64 4e 6f 64 65 73 3b 0a 20 20 20 20 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 74 61 | hildNodes;...........for.(var.ta |
15e0e0 | 62 20 3d 20 30 3b 20 74 61 62 20 3c 20 61 6c 6c 62 72 6f 77 73 65 72 73 2e 6c 65 6e 67 74 68 3b | b.=.0;.tab.<.allbrowsers.length; |
15e100 | 20 74 61 62 2b 2b 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 62 72 6f 77 73 65 | .tab++).{.............var.browse |
15e120 | 72 20 3d 20 67 65 74 42 72 6f 77 73 65 72 28 29 2e 67 65 74 42 72 6f 77 73 65 72 41 74 49 6e 64 | r.=.getBrowser().getBrowserAtInd |
15e140 | 65 78 28 74 61 62 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 62 72 6f 77 73 65 72 | ex(tab);.............if.(browser |
15e160 | 2e 65 6e 67 69 6e 65 73 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 58 58 58 | .engines).{...............//.XXX |
15e180 | 20 54 68 69 73 20 77 69 6c 6c 20 6e 65 65 64 20 74 6f 20 62 65 20 63 68 61 6e 67 65 64 20 77 68 | .This.will.need.to.be.changed.wh |
15e1a0 | 65 6e 20 65 6e 67 69 6e 65 73 20 61 72 65 20 69 64 65 6e 74 69 66 69 65 64 20 62 79 0a 20 20 20 | en.engines.are.identified.by.... |
15e1c0 | 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 55 52 4c 20 72 61 74 68 65 72 20 74 68 61 6e 20 74 69 | ...........//.URL.rather.than.ti |
15e1e0 | 74 6c 65 3b 20 73 65 65 20 62 75 67 20 33 33 35 31 30 32 2e 0a 20 20 20 20 20 20 20 20 20 20 20 | tle;.see.bug.335102............. |
15e200 | 20 20 20 76 61 72 20 72 65 6d 6f 76 65 54 69 74 6c 65 20 3d 20 61 45 6e 67 69 6e 65 2e 77 72 61 | ...var.removeTitle.=.aEngine.wra |
15e220 | 70 70 65 64 4a 53 4f 62 6a 65 63 74 2e 6e 61 6d 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ppedJSObject.name;.............. |
15e240 | 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 62 72 6f 77 73 65 72 2e 65 6e 67 | .for.(var.i.=.0;.i.<.browser.eng |
15e260 | 69 6e 65 73 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ines.length;.i++).{............. |
15e280 | 20 20 20 20 69 66 20 28 62 72 6f 77 73 65 72 2e 65 6e 67 69 6e 65 73 5b 69 5d 2e 74 69 74 6c 65 | ....if.(browser.engines[i].title |
15e2a0 | 20 3d 3d 20 72 65 6d 6f 76 65 54 69 74 6c 65 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | .==.removeTitle).{.............. |
15e2c0 | 20 20 20 20 20 69 66 20 28 21 62 72 6f 77 73 65 72 2e 68 69 64 64 65 6e 45 6e 67 69 6e 65 73 29 | .....if.(!browser.hiddenEngines) |
15e2e0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 6f 77 73 65 72 2e 68 69 64 | .....................browser.hid |
15e300 | 64 65 6e 45 6e 67 69 6e 65 73 20 3d 20 5b 5d 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | denEngines.=.[];................ |
15e320 | 20 20 20 62 72 6f 77 73 65 72 2e 68 69 64 64 65 6e 45 6e 67 69 6e 65 73 2e 70 75 73 68 28 62 72 | ...browser.hiddenEngines.push(br |
15e340 | 6f 77 73 65 72 2e 65 6e 67 69 6e 65 73 5b 69 5d 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | owser.engines[i]);.............. |
15e360 | 20 20 20 20 20 62 72 6f 77 73 65 72 2e 65 6e 67 69 6e 65 73 2e 73 70 6c 69 63 65 28 69 2c 20 31 | .....browser.engines.splice(i,.1 |
15e380 | 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 | );...................break;..... |
15e3a0 | 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 | ............}...............}... |
15e3c0 | 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 | ..........}...........}......... |
15e3e0 | 20 20 42 72 6f 77 73 65 72 53 65 61 72 63 68 2e 75 70 64 61 74 65 53 65 61 72 63 68 42 75 74 74 | ..BrowserSearch.updateSearchButt |
15e400 | 6f 6e 28 29 3b 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c | on();.........]]></body>.......< |
15e420 | 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 75 70 | /method>........<method.name="up |
15e440 | 64 61 74 65 44 69 73 70 6c 61 79 22 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 3c 21 5b 43 | dateDisplay">.........<body><![C |
15e460 | 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 75 72 69 20 3d 20 74 68 69 73 2e 63 | DATA[...........var.uri.=.this.c |
15e480 | 75 72 72 65 6e 74 45 6e 67 69 6e 65 2e 69 63 6f 6e 55 52 49 3b 0a 20 20 20 20 20 20 20 20 20 20 | urrentEngine.iconURI;........... |
15e4a0 | 74 68 69 73 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 73 72 63 22 2c 20 75 72 69 20 3f 20 75 | this.setAttribute("src",.uri.?.u |
15e4c0 | 72 69 2e 73 70 65 63 20 3a 20 22 22 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 6e 61 | ri.spec.:."");............var.na |
15e4e0 | 6d 65 20 3d 20 74 68 69 73 2e 63 75 72 72 65 6e 74 45 6e 67 69 6e 65 2e 6e 61 6d 65 3b 0a 20 20 | me.=.this.currentEngine.name;... |
15e500 | 20 20 20 20 20 20 20 20 76 61 72 20 74 65 78 74 20 3d 20 74 68 69 73 2e 5f 73 74 72 69 6e 67 42 | ........var.text.=.this._stringB |
15e520 | 75 6e 64 6c 65 2e 67 65 74 46 6f 72 6d 61 74 74 65 64 53 74 72 69 6e 67 28 22 73 65 61 72 63 68 | undle.getFormattedString("search |
15e540 | 74 69 70 22 2c 20 5b 6e 61 6d 65 5d 29 3b 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 74 | tip",.[name]);...........this._t |
15e560 | 65 78 74 62 6f 78 2e 65 6d 70 74 79 54 65 78 74 20 3d 20 6e 61 6d 65 3b 0a 20 20 20 20 20 20 20 | extbox.emptyText.=.name;........ |
15e580 | 20 20 20 74 68 69 73 2e 5f 74 65 78 74 62 6f 78 2e 6c 61 62 65 6c 20 3d 20 74 65 78 74 3b 0a 20 | ...this._textbox.label.=.text;.. |
15e5a0 | 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 74 65 78 74 62 6f 78 2e 74 6f 6f 6c 74 69 70 54 65 | .........this._textbox.tooltipTe |
15e5c0 | 78 74 20 3d 20 74 65 78 74 3b 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 62 6f 64 79 3e 0a 20 20 | xt.=.text;.........]]></body>... |
15e5e0 | 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 21 2d 2d 20 52 65 62 75 69 6c | ....</method>........<!--.Rebuil |
15e600 | 64 73 20 74 68 65 20 64 79 6e 61 6d 69 63 20 70 6f 72 74 69 6f 6e 20 6f 66 20 74 68 65 20 70 6f | ds.the.dynamic.portion.of.the.po |
15e620 | 70 75 70 20 6d 65 6e 75 20 28 69 2e 65 2e 2c 20 74 68 65 20 6d 65 6e 75 20 69 74 65 6d 73 0a 20 | pup.menu.(i.e.,.the.menu.items.. |
15e640 | 20 20 20 20 20 20 20 20 20 20 66 6f 72 20 6e 65 77 20 73 65 61 72 63 68 20 65 6e 67 69 6e 65 73 | ..........for.new.search.engines |
15e660 | 20 74 68 61 74 20 63 61 6e 20 62 65 20 61 64 64 65 64 20 74 6f 20 74 68 65 20 61 76 61 69 6c 61 | .that.can.be.added.to.the.availa |
15e680 | 62 6c 65 20 6c 69 73 74 29 2e 20 20 54 68 69 73 0a 20 20 20 20 20 20 20 20 20 20 20 69 73 20 63 | ble.list)...This............is.c |
15e6a0 | 61 6c 6c 65 64 20 65 61 63 68 20 74 69 6d 65 20 74 68 65 20 70 6f 70 75 70 20 69 73 20 73 68 6f | alled.each.time.the.popup.is.sho |
15e6c0 | 77 6e 2e 0a 20 20 20 20 20 20 2d 2d 3e 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 | wn........-->.......<method.name |
15e6e0 | 3d 22 72 65 62 75 69 6c 64 50 6f 70 75 70 44 79 6e 61 6d 69 63 22 3e 0a 20 20 20 20 20 20 20 20 | ="rebuildPopupDynamic">......... |
15e700 | 3c 62 6f 64 79 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 57 65 20 | <body><![CDATA[...........//.We. |
15e720 | 6d 69 67 68 74 20 6e 6f 74 20 68 61 76 65 20 61 64 64 65 64 20 74 68 65 20 6d 61 69 6e 20 70 6f | might.not.have.added.the.main.po |
15e740 | 70 75 70 20 69 74 65 6d 73 20 79 65 74 2c 20 64 6f 20 74 68 61 74 20 66 69 72 73 74 0a 20 20 20 | pup.items.yet,.do.that.first.... |
15e760 | 20 20 20 20 20 20 20 2f 2f 20 69 66 20 6e 65 65 64 65 64 2e 0a 20 20 20 20 20 20 20 20 20 20 69 | .......//.if.needed............i |
15e780 | 66 20 28 74 68 69 73 2e 5f 6e 65 65 64 54 6f 42 75 69 6c 64 50 6f 70 75 70 29 0a 20 20 20 20 20 | f.(this._needToBuildPopup)...... |
15e7a0 | 20 20 20 20 20 20 20 74 68 69 73 2e 72 65 62 75 69 6c 64 50 6f 70 75 70 28 29 3b 0a 0a 20 20 20 | .......this.rebuildPopup();..... |
15e7c0 | 20 20 20 20 20 20 20 76 61 72 20 70 6f 70 75 70 20 3d 20 74 68 69 73 2e 5f 70 6f 70 75 70 3b 0a | .......var.popup.=.this._popup;. |
15e7e0 | 20 20 20 20 20 20 20 20 20 20 2f 2f 20 43 6c 65 61 72 20 61 6e 79 20 61 64 64 65 6e 67 69 6e 65 | ..........//.Clear.any.addengine |
15e800 | 20 6d 65 6e 75 69 74 65 6d 73 2c 20 69 6e 63 6c 75 64 69 6e 67 20 61 64 64 65 6e 67 69 6e 65 2d | .menuitems,.including.addengine- |
15e820 | 69 74 65 6d 20 65 6e 74 72 69 65 73 20 61 6e 64 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 74 68 | item.entries.and...........//.th |
15e840 | 65 20 61 64 64 65 6e 67 69 6e 65 2d 73 65 70 61 72 61 74 6f 72 2e 20 20 57 6f 72 6b 20 62 61 63 | e.addengine-separator...Work.bac |
15e860 | 6b 77 61 72 64 20 74 6f 20 61 76 6f 69 64 20 69 6e 76 61 6c 69 64 61 74 69 6e 67 20 74 68 65 0a | kward.to.avoid.invalidating.the. |
15e880 | 20 20 20 20 20 20 20 20 20 20 2f 2f 20 69 6e 64 65 78 65 73 20 61 73 20 69 74 65 6d 73 20 61 72 | ..........//.indexes.as.items.ar |
15e8a0 | 65 20 72 65 6d 6f 76 65 64 2e 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 69 74 65 6d 73 20 3d | e.removed............var.items.= |
15e8c0 | 20 70 6f 70 75 70 2e 63 68 69 6c 64 4e 6f 64 65 73 3b 0a 20 20 20 20 20 20 20 20 20 20 66 6f 72 | .popup.childNodes;...........for |
15e8e0 | 20 28 76 61 72 20 69 20 3d 20 69 74 65 6d 73 2e 6c 65 6e 67 74 68 20 2d 20 31 3b 20 69 20 3e 3d | .(var.i.=.items.length.-.1;.i.>= |
15e900 | 20 30 3b 20 69 2d 2d 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 69 74 65 6d 73 | .0;.i--).{.............if.(items |
15e920 | 5b 69 5d 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 63 6c 61 73 73 22 29 2e 69 6e 64 65 78 4f | [i].getAttribute("class").indexO |
15e940 | 66 28 22 61 64 64 65 6e 67 69 6e 65 22 29 20 21 3d 20 2d 31 29 0a 20 20 20 20 20 20 20 20 20 20 | f("addengine").!=.-1)........... |
15e960 | 20 20 20 20 70 6f 70 75 70 2e 72 65 6d 6f 76 65 43 68 69 6c 64 28 69 74 65 6d 73 5b 69 5d 29 3b | ....popup.removeChild(items[i]); |
15e980 | 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 61 64 64 65 | ...........}............var.adde |
15e9a0 | 6e 67 69 6e 65 73 20 3d 20 67 65 74 42 72 6f 77 73 65 72 28 29 2e 6d 43 75 72 72 65 6e 74 42 72 | ngines.=.getBrowser().mCurrentBr |
15e9c0 | 6f 77 73 65 72 2e 65 6e 67 69 6e 65 73 3b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 61 64 64 | owser.engines;...........if.(add |
15e9e0 | 65 6e 67 69 6e 65 73 20 26 26 20 61 64 64 65 6e 67 69 6e 65 73 2e 6c 65 6e 67 74 68 20 3e 20 30 | engines.&&.addengines.length.>.0 |
15ea00 | 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6e 73 74 20 6b 58 55 4c 4e 53 20 3d 0a 20 | ).{.............const.kXULNS.=.. |
15ea20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c | .............."http://www.mozill |
15ea40 | 61 2e 6f 72 67 2f 6b 65 79 6d 61 73 74 65 72 2f 67 61 74 65 6b 65 65 70 65 72 2f 74 68 65 72 65 | a.org/keymaster/gatekeeper/there |
15ea60 | 2e 69 73 2e 6f 6e 6c 79 2e 78 75 6c 22 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 46 | .is.only.xul";..............//.F |
15ea80 | 69 6e 64 20 74 68 65 20 28 66 69 72 73 74 29 20 73 65 70 61 72 61 74 6f 72 20 69 6e 20 74 68 65 | ind.the.(first).separator.in.the |
15eaa0 | 20 72 65 6d 61 69 6e 69 6e 67 20 6d 65 6e 75 2c 20 6f 72 20 74 68 65 20 66 69 72 73 74 20 69 74 | .remaining.menu,.or.the.first.it |
15eac0 | 65 6d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 69 66 20 6e 6f 20 73 65 70 61 72 61 74 6f | em.............//.if.no.separato |
15eae0 | 72 73 20 61 72 65 20 70 72 65 73 65 6e 74 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 | rs.are.present..............var. |
15eb00 | 69 6e 73 65 72 74 4c 6f 63 61 74 69 6f 6e 20 3d 20 70 6f 70 75 70 2e 66 69 72 73 74 43 68 69 6c | insertLocation.=.popup.firstChil |
15eb20 | 64 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 77 68 69 6c 65 20 28 69 6e 73 65 72 74 4c 6f 63 61 | d;.............while.(insertLoca |
15eb40 | 74 69 6f 6e 2e 6e 65 78 74 53 69 62 6c 69 6e 67 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 | tion.nextSibling.&&............. |
15eb60 | 20 20 20 20 20 20 20 69 6e 73 65 72 74 4c 6f 63 61 74 69 6f 6e 2e 6c 6f 63 61 6c 4e 61 6d 65 20 | .......insertLocation.localName. |
15eb80 | 21 3d 20 22 6d 65 6e 75 73 65 70 61 72 61 74 6f 72 22 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 | !=."menuseparator").{........... |
15eba0 | 20 20 20 20 69 6e 73 65 72 74 4c 6f 63 61 74 69 6f 6e 20 3d 20 69 6e 73 65 72 74 4c 6f 63 61 74 | ....insertLocation.=.insertLocat |
15ebc0 | 69 6f 6e 2e 6e 65 78 74 53 69 62 6c 69 6e 67 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 | ion.nextSibling;.............}.. |
15ebe0 | 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 69 6e 73 65 72 74 4c 6f 63 61 74 69 6f 6e 2e 6c 6f | ...........if.(insertLocation.lo |
15ec00 | 63 61 6c 4e 61 6d 65 20 21 3d 20 22 6d 65 6e 75 73 65 70 61 72 61 74 6f 72 22 29 0a 20 20 20 20 | calName.!=."menuseparator")..... |
15ec20 | 20 20 20 20 20 20 20 20 20 20 69 6e 73 65 72 74 4c 6f 63 61 74 69 6f 6e 20 3d 20 70 6f 70 75 70 | ..........insertLocation.=.popup |
15ec40 | 2e 66 69 72 73 74 43 68 69 6c 64 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 73 65 | .firstChild;..............var.se |
15ec60 | 70 61 72 61 74 6f 72 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 63 72 65 61 74 65 45 6c 65 6d 65 6e 74 | parator.=.document.createElement |
15ec80 | 4e 53 28 6b 58 55 4c 4e 53 2c 20 22 6d 65 6e 75 73 65 70 61 72 61 74 6f 72 22 29 3b 0a 20 20 20 | NS(kXULNS,."menuseparator");.... |
15eca0 | 20 20 20 20 20 20 20 20 20 73 65 70 61 72 61 74 6f 72 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 | .........separator.setAttribute( |
15ecc0 | 22 63 6c 61 73 73 22 2c 20 22 61 64 64 65 6e 67 69 6e 65 2d 73 65 70 61 72 61 74 6f 72 22 29 3b | "class",."addengine-separator"); |
15ece0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 70 6f 70 75 70 2e 69 6e 73 65 72 74 42 65 66 6f 72 65 28 | .............popup.insertBefore( |
15ed00 | 73 65 70 61 72 61 74 6f 72 2c 20 69 6e 73 65 72 74 4c 6f 63 61 74 69 6f 6e 29 3b 0a 0a 20 20 20 | separator,.insertLocation);..... |
15ed20 | 20 20 20 20 20 20 20 20 20 2f 2f 20 49 6e 73 65 72 74 20 74 68 65 20 22 61 64 64 20 74 68 69 73 | .........//.Insert.the."add.this |
15ed40 | 20 65 6e 67 69 6e 65 22 20 69 74 65 6d 73 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 66 6f 72 20 | .engine".items..............for. |
15ed60 | 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 61 64 64 65 6e 67 69 6e 65 73 2e 6c 65 6e 67 74 | (var.i.=.0;.i.<.addengines.lengt |
15ed80 | 68 3b 20 69 2b 2b 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 6d 65 6e 75 | h;.i++).{...............var.menu |
15eda0 | 69 74 65 6d 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 63 72 65 61 74 65 45 6c 65 6d 65 6e 74 28 22 6d | item.=.document.createElement("m |
15edc0 | 65 6e 75 69 74 65 6d 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 65 6e 67 | enuitem");...............var.eng |
15ede0 | 69 6e 65 49 6e 66 6f 20 3d 20 61 64 64 65 6e 67 69 6e 65 73 5b 69 5d 3b 0a 20 20 20 20 20 20 20 | ineInfo.=.addengines[i];........ |
15ee00 | 20 20 20 20 20 20 20 76 61 72 20 6c 61 62 65 6c 53 74 72 20 3d 0a 20 20 20 20 20 20 20 20 20 20 | .......var.labelStr.=........... |
15ee20 | 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 73 74 72 69 6e 67 42 75 6e 64 6c 65 2e 67 65 74 46 6f | ........this._stringBundle.getFo |
15ee40 | 72 6d 61 74 74 65 64 53 74 72 69 6e 67 28 22 63 6d 64 5f 61 64 64 46 6f 75 6e 64 45 6e 67 69 6e | rmattedString("cmd_addFoundEngin |
15ee60 | 65 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | e",............................. |
15ee80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 5b 65 6e 67 | ............................[eng |
15eea0 | 69 6e 65 49 6e 66 6f 2e 74 69 74 6c 65 5d 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d | ineInfo.title]);...............m |
15eec0 | 65 6e 75 69 74 65 6d 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 63 72 65 61 74 65 45 6c 65 6d 65 6e 74 | enuitem.=.document.createElement |
15eee0 | 4e 53 28 6b 58 55 4c 4e 53 2c 20 22 6d 65 6e 75 69 74 65 6d 22 29 3b 0a 20 20 20 20 20 20 20 20 | NS(kXULNS,."menuitem");......... |
15ef00 | 20 20 20 20 20 20 6d 65 6e 75 69 74 65 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 63 6c 61 | ......menuitem.setAttribute("cla |
15ef20 | 73 73 22 2c 20 22 6d 65 6e 75 69 74 65 6d 2d 69 63 6f 6e 69 63 20 61 64 64 65 6e 67 69 6e 65 2d | ss",."menuitem-iconic.addengine- |
15ef40 | 69 74 65 6d 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 65 6e 75 69 74 65 6d 2e 73 | item");...............menuitem.s |
15ef60 | 65 74 41 74 74 72 69 62 75 74 65 28 22 6c 61 62 65 6c 22 2c 20 6c 61 62 65 6c 53 74 72 29 3b 0a | etAttribute("label",.labelStr);. |
15ef80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 65 6e 75 69 74 65 6d 2e 73 65 74 41 74 74 72 69 62 | ..............menuitem.setAttrib |
15efa0 | 75 74 65 28 22 74 6f 6f 6c 74 69 70 74 65 78 74 22 2c 20 65 6e 67 69 6e 65 49 6e 66 6f 2e 75 72 | ute("tooltiptext",.engineInfo.ur |
15efc0 | 69 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 65 6e 75 69 74 65 6d 2e 73 65 74 41 74 | i);...............menuitem.setAt |
15efe0 | 74 72 69 62 75 74 65 28 22 75 72 69 22 2c 20 65 6e 67 69 6e 65 49 6e 66 6f 2e 75 72 69 29 3b 0a | tribute("uri",.engineInfo.uri);. |
15f000 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 65 6e 67 69 6e 65 49 6e 66 6f 2e 69 63 6f | ..............if.(engineInfo.ico |
15f020 | 6e 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 65 6e 75 69 74 65 6d 2e 73 65 74 41 | n).................menuitem.setA |
15f040 | 74 74 72 69 62 75 74 65 28 22 73 72 63 22 2c 20 65 6e 67 69 6e 65 49 6e 66 6f 2e 69 63 6f 6e 29 | ttribute("src",.engineInfo.icon) |
15f060 | 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 65 6e 75 69 74 65 6d 2e 73 65 74 41 74 74 72 | ;...............menuitem.setAttr |
15f080 | 69 62 75 74 65 28 22 74 69 74 6c 65 22 2c 20 65 6e 67 69 6e 65 49 6e 66 6f 2e 74 69 74 6c 65 29 | ibute("title",.engineInfo.title) |
15f0a0 | 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 6f 70 75 70 2e 69 6e 73 65 72 74 42 65 66 6f | ;...............popup.insertBefo |
15f0c0 | 72 65 28 6d 65 6e 75 69 74 65 6d 2c 20 69 6e 73 65 72 74 4c 6f 63 61 74 69 6f 6e 29 3b 0a 20 20 | re(menuitem,.insertLocation);... |
15f0e0 | 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 | ..........}...........}......... |
15f100 | 5d 5d 3e 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 | ]]></body>.......</method>...... |
15f120 | 20 20 3c 21 2d 2d 20 52 65 62 75 69 6c 64 73 20 74 68 65 20 6c 69 73 74 20 6f 66 20 76 69 73 69 | ..<!--.Rebuilds.the.list.of.visi |
15f140 | 62 6c 65 20 73 65 61 72 63 68 20 65 6e 67 69 6e 65 73 20 69 6e 20 74 68 65 20 6d 65 6e 75 2e 20 | ble.search.engines.in.the.menu.. |
15f160 | 20 44 6f 65 73 20 6e 6f 74 20 72 65 6d 6f 76 65 0a 20 20 20 20 20 20 20 20 20 20 20 6f 72 20 75 | .Does.not.remove............or.u |
15f180 | 70 64 61 74 65 20 61 6e 79 20 64 79 6e 61 6d 69 63 20 65 6e 74 72 69 65 73 20 28 69 2e 65 2e 2c | pdate.any.dynamic.entries.(i.e., |
15f1a0 | 20 22 41 64 64 20 74 68 69 73 20 65 6e 67 69 6e 65 22 20 69 74 65 6d 73 29 20 6e 6f 72 20 74 68 | ."Add.this.engine".items).nor.th |
15f1c0 | 65 0a 20 20 20 20 20 20 20 20 20 20 20 4d 61 6e 61 67 65 20 45 6e 67 69 6e 65 73 20 69 74 65 6d | e............Manage.Engines.item |
15f1e0 | 2e 20 20 54 68 69 73 20 69 73 20 63 61 6c 6c 65 64 20 62 79 20 74 68 65 20 6f 62 73 65 72 76 65 | ...This.is.called.by.the.observe |
15f200 | 72 20 77 68 65 6e 20 74 68 65 20 6c 69 73 74 20 6f 66 0a 20 20 20 20 20 20 20 20 20 20 20 76 69 | r.when.the.list.of............vi |
15f220 | 73 69 62 6c 65 20 65 6e 67 69 6e 65 73 2c 20 6f 72 20 74 68 65 20 63 75 72 72 65 6e 74 6c 79 20 | sible.engines,.or.the.currently. |
15f240 | 73 65 6c 65 63 74 65 64 20 65 6e 67 69 6e 65 2c 20 68 61 73 20 63 68 61 6e 67 65 64 2e 0a 20 20 | selected.engine,.has.changed.... |
15f260 | 20 20 20 20 2d 2d 3e 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 72 65 62 75 | ....-->.......<method.name="rebu |
15f280 | 69 6c 64 50 6f 70 75 70 22 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 3c 21 5b 43 44 41 54 | ildPopup">.........<body><![CDAT |
15f2a0 | 41 5b 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 70 6f 70 75 70 20 3d 20 74 68 69 73 2e 5f 70 | A[...........var.popup.=.this._p |
15f2c0 | 6f 70 75 70 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 43 6c 65 61 72 20 74 68 65 20 70 6f | opup;............//.Clear.the.po |
15f2e0 | 70 75 70 2c 20 64 6f 77 6e 20 74 6f 20 74 68 65 20 66 69 72 73 74 20 73 65 70 61 72 61 74 6f 72 | pup,.down.to.the.first.separator |
15f300 | 0a 20 20 20 20 20 20 20 20 20 20 77 68 69 6c 65 20 28 70 6f 70 75 70 2e 66 69 72 73 74 43 68 69 | ...........while.(popup.firstChi |
15f320 | 6c 64 20 26 26 20 70 6f 70 75 70 2e 66 69 72 73 74 43 68 69 6c 64 2e 6c 6f 63 61 6c 4e 61 6d 65 | ld.&&.popup.firstChild.localName |
15f340 | 20 21 3d 20 22 6d 65 6e 75 73 65 70 61 72 61 74 6f 72 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 | .!=."menuseparator")............ |
15f360 | 20 70 6f 70 75 70 2e 72 65 6d 6f 76 65 43 68 69 6c 64 28 70 6f 70 75 70 2e 66 69 72 73 74 43 68 | .popup.removeChild(popup.firstCh |
15f380 | 69 6c 64 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 63 6f 6e 73 74 20 6b 58 55 4c 4e 53 20 3d 0a | ild);............const.kXULNS.=. |
15f3a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c | ..............."http://www.mozil |
15f3c0 | 6c 61 2e 6f 72 67 2f 6b 65 79 6d 61 73 74 65 72 2f 67 61 74 65 6b 65 65 70 65 72 2f 74 68 65 72 | la.org/keymaster/gatekeeper/ther |
15f3e0 | 65 2e 69 73 2e 6f 6e 6c 79 2e 78 75 6c 22 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 65 | e.is.only.xul";............var.e |
15f400 | 6e 67 69 6e 65 73 20 3d 20 74 68 69 73 2e 65 6e 67 69 6e 65 73 3b 0a 20 20 20 20 20 20 20 20 20 | ngines.=.this.engines;.......... |
15f420 | 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 65 6e 67 69 6e 65 73 2e 6c 65 6e 67 74 68 20 2d 20 31 | .for.(var.i.=.engines.length.-.1 |
15f440 | 3b 20 69 20 3e 3d 20 30 3b 20 2d 2d 69 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 | ;.i.>=.0;.--i).{.............var |
15f460 | 20 6d 65 6e 75 69 74 65 6d 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 63 72 65 61 74 65 45 6c 65 6d 65 | .menuitem.=.document.createEleme |
15f480 | 6e 74 4e 53 28 6b 58 55 4c 4e 53 2c 20 22 6d 65 6e 75 69 74 65 6d 22 29 3b 0a 20 20 20 20 20 20 | ntNS(kXULNS,."menuitem");....... |
15f4a0 | 20 20 20 20 20 20 76 61 72 20 6e 61 6d 65 20 3d 20 65 6e 67 69 6e 65 73 5b 69 5d 2e 6e 61 6d 65 | ......var.name.=.engines[i].name |
15f4c0 | 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 65 6e 75 69 74 65 6d 2e 73 65 74 41 74 74 72 69 62 | ;.............menuitem.setAttrib |
15f4e0 | 75 74 65 28 22 6c 61 62 65 6c 22 2c 20 6e 61 6d 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ute("label",.name);............. |
15f500 | 6d 65 6e 75 69 74 65 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 69 64 22 2c 20 6e 61 6d 65 | menuitem.setAttribute("id",.name |
15f520 | 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 65 6e 75 69 74 65 6d 2e 73 65 74 41 74 74 72 69 | );.............menuitem.setAttri |
15f540 | 62 75 74 65 28 22 63 6c 61 73 73 22 2c 20 22 6d 65 6e 75 69 74 65 6d 2d 69 63 6f 6e 69 63 20 73 | bute("class",."menuitem-iconic.s |
15f560 | 65 61 72 63 68 62 61 72 2d 65 6e 67 69 6e 65 2d 6d 65 6e 75 69 74 65 6d 22 29 3b 0a 20 20 20 20 | earchbar-engine-menuitem");..... |
15f580 | 20 20 20 20 20 20 20 20 2f 2f 20 53 69 6e 63 65 20 74 68 69 73 20 6d 65 6e 75 20 69 73 20 72 65 | ........//.Since.this.menu.is.re |
15f5a0 | 62 75 69 6c 74 20 62 79 20 74 68 65 20 6f 62 73 65 72 76 65 72 20 6d 65 74 68 6f 64 20 77 68 65 | built.by.the.observer.method.whe |
15f5c0 | 6e 65 76 65 72 20 61 20 6e 65 77 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 65 6e 67 69 6e | never.a.new.............//.engin |
15f5e0 | 65 20 69 73 20 73 65 6c 65 63 74 65 64 2c 20 74 68 65 20 22 73 65 6c 65 63 74 65 64 22 20 61 74 | e.is.selected,.the."selected".at |
15f600 | 74 72 69 62 75 74 65 20 64 6f 65 73 20 6e 6f 74 20 6e 65 65 64 20 74 6f 20 62 65 0a 20 20 20 20 | tribute.does.not.need.to.be..... |
15f620 | 20 20 20 20 20 20 20 20 2f 2f 20 65 78 70 6c 69 63 69 74 6c 79 20 63 6c 65 61 72 65 64 20 61 6e | ........//.explicitly.cleared.an |
15f640 | 79 77 68 65 72 65 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 65 6e 67 69 6e 65 73 5b | ywhere..............if.(engines[ |
15f660 | 69 5d 20 3d 3d 20 74 68 69 73 2e 63 75 72 72 65 6e 74 45 6e 67 69 6e 65 29 0a 20 20 20 20 20 20 | i].==.this.currentEngine)....... |
15f680 | 20 20 20 20 20 20 20 20 6d 65 6e 75 69 74 65 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 73 | ........menuitem.setAttribute("s |
15f6a0 | 65 6c 65 63 74 65 64 22 2c 20 22 74 72 75 65 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 | elected",."true");.............v |
15f6c0 | 61 72 20 74 6f 6f 6c 74 69 70 20 3d 20 74 68 69 73 2e 5f 73 74 72 69 6e 67 42 75 6e 64 6c 65 2e | ar.tooltip.=.this._stringBundle. |
15f6e0 | 67 65 74 46 6f 72 6d 61 74 74 65 64 53 74 72 69 6e 67 28 22 73 65 61 72 63 68 74 69 70 22 2c 20 | getFormattedString("searchtip",. |
15f700 | 5b 6e 61 6d 65 5d 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 65 6e 75 69 74 65 6d 2e 73 65 | [name]);.............menuitem.se |
15f720 | 74 41 74 74 72 69 62 75 74 65 28 22 74 6f 6f 6c 74 69 70 74 65 78 74 22 2c 20 74 6f 6f 6c 74 69 | tAttribute("tooltiptext",.toolti |
15f740 | 70 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 65 6e 67 69 6e 65 73 5b 69 5d 2e 69 | p);.............if.(engines[i].i |
15f760 | 63 6f 6e 55 52 49 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 65 6e 75 69 74 65 6d 2e 73 | conURI)...............menuitem.s |
15f780 | 65 74 41 74 74 72 69 62 75 74 65 28 22 73 72 63 22 2c 20 65 6e 67 69 6e 65 73 5b 69 5d 2e 69 63 | etAttribute("src",.engines[i].ic |
15f7a0 | 6f 6e 55 52 49 2e 73 70 65 63 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 70 6f 70 75 70 2e 69 | onURI.spec);.............popup.i |
15f7c0 | 6e 73 65 72 74 42 65 66 6f 72 65 28 6d 65 6e 75 69 74 65 6d 2c 20 70 6f 70 75 70 2e 66 69 72 73 | nsertBefore(menuitem,.popup.firs |
15f7e0 | 74 43 68 69 6c 64 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 65 6e 75 69 74 65 6d 2e 65 6e | tChild);.............menuitem.en |
15f800 | 67 69 6e 65 20 3d 20 65 6e 67 69 6e 65 73 5b 69 5d 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 0a | gine.=.engines[i];...........}.. |
15f820 | 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 6e 65 65 64 54 6f 42 75 69 6c 64 50 6f 70 75 70 | ..........this._needToBuildPopup |
15f840 | 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 62 6f 64 79 3e 0a 20 20 20 | .=.false;.........]]></body>.... |
15f860 | 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 | ...</method>........<method.name |
15f880 | 3d 22 6f 70 65 6e 4d 61 6e 61 67 65 72 22 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 | ="openManager">.........<paramet |
15f8a0 | 65 72 20 6e 61 6d 65 3d 22 61 45 76 65 6e 74 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 | er.name="aEvent"/>.........<body |
15f8c0 | 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 77 6d 20 3d 0a 20 20 | ><![CDATA[...........var.wm.=... |
15f8e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 | ..............Components.classes |
15f900 | 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 61 70 70 73 68 65 6c 6c 2f 77 69 6e 64 6f 77 2d 6d | ["@mozilla.org/appshell/window-m |
15f920 | 65 64 69 61 74 6f 72 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ediator;1"]..................... |
15f940 | 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 | .......getService(Components.int |
15f960 | 65 72 66 61 63 65 73 2e 6e 73 49 57 69 6e 64 6f 77 4d 65 64 69 61 74 6f 72 29 3b 0a 0a 20 20 20 | erfaces.nsIWindowMediator);..... |
15f980 | 20 20 20 20 20 20 20 76 61 72 20 77 69 6e 64 6f 77 20 3d 20 77 6d 2e 67 65 74 4d 6f 73 74 52 65 | .......var.window.=.wm.getMostRe |
15f9a0 | 63 65 6e 74 57 69 6e 64 6f 77 28 22 42 72 6f 77 73 65 72 3a 53 65 61 72 63 68 4d 61 6e 61 67 65 | centWindow("Browser:SearchManage |
15f9c0 | 72 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 77 69 6e 64 6f 77 29 0a 20 20 20 20 20 | r");...........if.(window)...... |
15f9e0 | 20 20 20 20 20 20 20 77 69 6e 64 6f 77 2e 66 6f 63 75 73 28 29 0a 20 20 20 20 20 20 20 20 20 20 | .......window.focus()........... |
15fa00 | 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 73 65 74 54 69 6d 65 6f 75 74 28 66 75 | else.{.............setTimeout(fu |
15fa20 | 6e 63 74 69 6f 6e 20 28 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 70 65 6e 44 69 | nction.().{...............openDi |
15fa40 | 61 6c 6f 67 28 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 73 | alog("chrome://browser/content/s |
15fa60 | 65 61 72 63 68 2f 65 6e 67 69 6e 65 4d 61 6e 61 67 65 72 2e 78 75 6c 22 2c 0a 20 20 20 20 20 20 | earch/engineManager.xul",....... |
15fa80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 5f 62 6c 61 6e 6b 22 2c 20 22 63 68 | ..................."_blank",."ch |
15faa0 | 72 6f 6d 65 2c 64 69 61 6c 6f 67 2c 6d 6f 64 61 6c 2c 63 65 6e 74 65 72 73 63 72 65 65 6e 22 29 | rome,dialog,modal,centerscreen") |
15fac0 | 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 2c 20 30 29 3b 0a 20 20 20 20 20 20 20 20 20 20 7d | ;.............},.0);...........} |
15fae0 | 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 | .........]]></body>.......</meth |
15fb00 | 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 73 65 6c 65 63 74 45 | od>........<method.name="selectE |
15fb20 | 6e 67 69 6e 65 22 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d | ngine">.........<parameter.name= |
15fb40 | 22 61 45 76 65 6e 74 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 | "aEvent"/>.........<parameter.na |
15fb60 | 6d 65 3d 22 69 73 4e 65 78 74 45 6e 67 69 6e 65 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 | me="isNextEngine"/>.........<bod |
15fb80 | 79 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 46 69 6e 64 20 74 68 | y><![CDATA[...........//.Find.th |
15fba0 | 65 20 6e 65 77 20 69 6e 64 65 78 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 6e 65 77 49 6e 64 | e.new.index...........var.newInd |
15fbc0 | 65 78 20 3d 20 74 68 69 73 2e 65 6e 67 69 6e 65 73 2e 69 6e 64 65 78 4f 66 28 74 68 69 73 2e 63 | ex.=.this.engines.indexOf(this.c |
15fbe0 | 75 72 72 65 6e 74 45 6e 67 69 6e 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 6e 65 77 49 6e 64 65 | urrentEngine);...........newInde |
15fc00 | 78 20 2b 3d 20 28 69 73 4e 65 78 74 45 6e 67 69 6e 65 29 20 3f 20 31 20 3a 20 2d 31 3b 0a 0a 20 | x.+=.(isNextEngine).?.1.:.-1;... |
15fc20 | 20 20 20 20 20 20 20 20 20 69 66 20 28 6e 65 77 49 6e 64 65 78 20 3e 3d 20 30 20 26 26 20 6e 65 | .........if.(newIndex.>=.0.&&.ne |
15fc40 | 77 49 6e 64 65 78 20 3c 20 74 68 69 73 2e 65 6e 67 69 6e 65 73 2e 6c 65 6e 67 74 68 29 0a 20 20 | wIndex.<.this.engines.length)... |
15fc60 | 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 63 75 72 72 65 6e 74 45 6e 67 69 6e 65 20 3d 20 74 | ..........this.currentEngine.=.t |
15fc80 | 68 69 73 2e 65 6e 67 69 6e 65 73 5b 6e 65 77 49 6e 64 65 78 5d 3b 0a 0a 20 20 20 20 20 20 20 20 | his.engines[newIndex];.......... |
15fca0 | 20 20 61 45 76 65 6e 74 2e 70 72 65 76 65 6e 74 44 65 66 61 75 6c 74 28 29 3b 0a 20 20 20 20 20 | ..aEvent.preventDefault();...... |
15fcc0 | 20 20 20 20 20 61 45 76 65 6e 74 2e 73 74 6f 70 50 72 6f 70 61 67 61 74 69 6f 6e 28 29 3b 0a 20 | .....aEvent.stopPropagation();.. |
15fce0 | 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 | .......]]></body>.......</method |
15fd00 | 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 68 61 6e 64 6c 65 53 65 61 | >........<method.name="handleSea |
15fd20 | 72 63 68 43 6f 6d 6d 61 6e 64 22 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 | rchCommand">.........<parameter. |
15fd40 | 6e 61 6d 65 3d 22 61 45 76 65 6e 74 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 3c 21 | name="aEvent"/>.........<body><! |
15fd60 | 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 74 65 78 74 42 6f 78 20 3d 20 | [CDATA[...........var.textBox.=. |
15fd80 | 74 68 69 73 2e 5f 74 65 78 74 62 6f 78 3b 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 74 65 78 | this._textbox;...........var.tex |
15fda0 | 74 56 61 6c 75 65 20 3d 20 74 65 78 74 42 6f 78 2e 76 61 6c 75 65 3b 0a 0a 20 20 20 20 20 20 20 | tValue.=.textBox.value;......... |
15fdc0 | 20 20 20 76 61 72 20 77 68 65 72 65 20 3d 20 22 63 75 72 72 65 6e 74 22 3b 0a 20 20 20 20 20 20 | ...var.where.=."current";....... |
15fde0 | 20 20 20 20 69 66 20 28 61 45 76 65 6e 74 20 26 26 20 61 45 76 65 6e 74 2e 6f 72 69 67 69 6e 61 | ....if.(aEvent.&&.aEvent.origina |
15fe00 | 6c 54 61 72 67 65 74 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 61 6e 6f 6e 69 64 22 29 20 3d | lTarget.getAttribute("anonid").= |
15fe20 | 3d 20 22 73 65 61 72 63 68 2d 67 6f 2d 62 75 74 74 6f 6e 22 29 20 7b 0a 20 20 20 20 20 20 20 20 | =."search-go-button").{......... |
15fe40 | 20 20 20 20 69 66 20 28 61 45 76 65 6e 74 2e 62 75 74 74 6f 6e 20 3d 3d 20 32 29 0a 20 20 20 20 | ....if.(aEvent.button.==.2)..... |
15fe60 | 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 77 68 | ..........return;.............wh |
15fe80 | 65 72 65 20 3d 20 77 68 65 72 65 54 6f 4f 70 65 6e 4c 69 6e 6b 28 61 45 76 65 6e 74 2c 20 66 61 | ere.=.whereToOpenLink(aEvent,.fa |
15fea0 | 6c 73 65 2c 20 74 72 75 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 | lse,.true);...........}......... |
15fec0 | 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 6e 65 77 54 61 62 50 | ..else.{.............var.newTabP |
15fee0 | 72 65 66 20 3d 20 74 65 78 74 42 6f 78 2e 5f 70 72 65 66 42 72 61 6e 63 68 2e 67 65 74 42 6f 6f | ref.=.textBox._prefBranch.getBoo |
15ff00 | 6c 50 72 65 66 28 22 62 72 6f 77 73 65 72 2e 73 65 61 72 63 68 2e 6f 70 65 6e 69 6e 74 61 62 22 | lPref("browser.search.openintab" |
15ff20 | 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 28 61 45 76 65 6e 74 20 26 26 20 61 45 | );.............if.((aEvent.&&.aE |
15ff40 | 76 65 6e 74 2e 61 6c 74 4b 65 79 29 20 5e 20 6e 65 77 54 61 62 50 72 65 66 29 0a 20 20 20 20 20 | vent.altKey).^.newTabPref)...... |
15ff60 | 20 20 20 20 20 20 20 20 20 77 68 65 72 65 20 3d 20 22 74 61 62 22 3b 0a 20 20 20 20 20 20 20 20 | .........where.=."tab";......... |
15ff80 | 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 53 61 76 65 20 74 68 65 20 63 75 72 72 65 | ..}............//.Save.the.curre |
15ffa0 | 6e 74 20 76 61 6c 75 65 20 69 6e 20 74 68 65 20 66 6f 72 6d 20 68 69 73 74 6f 72 79 0a 20 20 20 | nt.value.in.the.form.history.... |
15ffc0 | 20 20 20 20 20 20 20 69 66 20 28 74 65 78 74 56 61 6c 75 65 29 20 7b 0a 20 20 20 20 20 20 20 20 | .......if.(textValue).{......... |
15ffe0 | 20 20 20 20 74 65 78 74 42 6f 78 2e 5f 66 6f 72 6d 48 69 73 74 53 76 63 2e 61 64 64 45 6e 74 72 | ....textBox._formHistSvc.addEntr |
160000 | 79 28 74 65 78 74 42 6f 78 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 61 75 74 6f 63 6f 6d 70 | y(textBox.getAttribute("autocomp |
160020 | 6c 65 74 65 73 65 61 72 63 68 70 61 72 61 6d 22 29 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | letesearchparam"),.............. |
160040 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 65 78 | .............................tex |
160060 | 74 56 61 6c 75 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 | tValue);...........}............ |
160080 | 74 68 69 73 2e 64 6f 53 65 61 72 63 68 28 74 65 78 74 56 61 6c 75 65 2c 20 77 68 65 72 65 29 3b | this.doSearch(textValue,.where); |
1600a0 | 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 | .........]]></body>.......</meth |
1600c0 | 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 64 6f 53 65 61 72 63 | od>........<method.name="doSearc |
1600e0 | 68 22 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 44 61 | h">.........<parameter.name="aDa |
160100 | 74 61 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 | ta"/>.........<parameter.name="a |
160120 | 57 68 65 72 65 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 3c 21 5b 43 44 41 54 41 5b | Where"/>.........<body><![CDATA[ |
160140 | 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 6e 75 6c 6c 20 70 61 72 61 6d 65 74 65 72 20 62 65 6c | ...........//.null.parameter.bel |
160160 | 6f 77 20 73 70 65 63 69 66 69 65 73 20 48 54 4d 4c 20 72 65 73 70 6f 6e 73 65 20 66 6f 72 20 73 | ow.specifies.HTML.response.for.s |
160180 | 65 61 72 63 68 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 73 75 62 6d 69 73 73 69 6f 6e 20 3d | earch...........var.submission.= |
1601a0 | 20 74 68 69 73 2e 63 75 72 72 65 6e 74 45 6e 67 69 6e 65 2e 67 65 74 53 75 62 6d 69 73 73 69 6f | .this.currentEngine.getSubmissio |
1601c0 | 6e 28 61 44 61 74 61 2c 20 6e 75 6c 6c 29 3b 0a 20 20 20 20 20 20 20 20 20 20 6f 70 65 6e 55 49 | n(aData,.null);...........openUI |
1601e0 | 4c 69 6e 6b 49 6e 28 73 75 62 6d 69 73 73 69 6f 6e 2e 75 72 69 2e 73 70 65 63 2c 20 61 57 68 65 | LinkIn(submission.uri.spec,.aWhe |
160200 | 72 65 2c 20 6e 75 6c 6c 2c 20 73 75 62 6d 69 73 73 69 6f 6e 2e 70 6f 73 74 44 61 74 61 29 3b 0a | re,.null,.submission.postData);. |
160220 | 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f | ........]]></body>.......</metho |
160240 | 64 3e 0a 0a 20 20 20 20 3c 2f 69 6d 70 6c 65 6d 65 6e 74 61 74 69 6f 6e 3e 0a 0a 20 20 20 20 3c | d>......</implementation>......< |
160260 | 68 61 6e 64 6c 65 72 73 3e 0a 20 20 20 20 20 20 3c 68 61 6e 64 6c 65 72 20 65 76 65 6e 74 3d 22 | handlers>.......<handler.event=" |
160280 | 63 6f 6d 6d 61 6e 64 22 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 63 6f 6e 73 74 | command"><![CDATA[.........const |
1602a0 | 20 74 61 72 67 65 74 20 3d 20 65 76 65 6e 74 2e 6f 72 69 67 69 6e 61 6c 54 61 72 67 65 74 3b 0a | .target.=.event.originalTarget;. |
1602c0 | 20 20 20 20 20 20 20 20 69 66 20 28 74 61 72 67 65 74 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 | ........if.(target.getAttribute( |
1602e0 | 22 63 6c 61 73 73 22 29 2e 69 6e 64 65 78 4f 66 28 22 61 64 64 65 6e 67 69 6e 65 2d 69 74 65 6d | "class").indexOf("addengine-item |
160300 | 22 29 20 21 3d 20 2d 31 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 73 65 61 72 63 68 | ").!=.-1).{...........var.search |
160320 | 53 65 72 76 69 63 65 20 3d 0a 20 20 20 20 20 20 20 20 20 20 20 20 43 6f 6d 70 6f 6e 65 6e 74 73 | Service.=.............Components |
160340 | 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 62 72 6f 77 73 65 72 2f 73 | .classes["@mozilla.org/browser/s |
160360 | 65 61 72 63 68 2d 73 65 72 76 69 63 65 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | earch-service;1"]............... |
160380 | 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 | .........getService(Components.i |
1603a0 | 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 42 72 6f 77 73 65 72 53 65 61 72 63 68 53 65 72 76 69 63 | nterfaces.nsIBrowserSearchServic |
1603c0 | 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 57 65 20 6f 6e 6c 79 20 64 65 74 65 63 74 20 | e);...........//.We.only.detect. |
1603e0 | 4f 70 65 6e 53 65 61 72 63 68 20 66 69 6c 65 73 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 74 | OpenSearch.files...........var.t |
160400 | 79 70 65 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 53 | ype.=.Components.interfaces.nsIS |
160420 | 65 61 72 63 68 45 6e 67 69 6e 65 2e 44 41 54 41 5f 58 4d 4c 3b 0a 20 20 20 20 20 20 20 20 20 20 | earchEngine.DATA_XML;........... |
160440 | 73 65 61 72 63 68 53 65 72 76 69 63 65 2e 61 64 64 45 6e 67 69 6e 65 28 74 61 72 67 65 74 2e 67 | searchService.addEngine(target.g |
160460 | 65 74 41 74 74 72 69 62 75 74 65 28 22 75 72 69 22 29 2c 20 74 79 70 65 2c 0a 20 20 20 20 20 20 | etAttribute("uri"),.type,....... |
160480 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 61 72 67 | ............................targ |
1604a0 | 65 74 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 73 72 63 22 29 2c 20 66 61 6c 73 65 29 3b 0a | et.getAttribute("src"),.false);. |
1604c0 | 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 65 6c 73 65 20 69 66 20 28 74 61 72 67 65 | ........}.........else.if.(targe |
1604e0 | 74 2e 65 6e 67 69 6e 65 29 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 63 75 72 72 65 6e 74 | t.engine)...........this.current |
160500 | 45 6e 67 69 6e 65 20 3d 20 74 61 72 67 65 74 2e 65 6e 67 69 6e 65 3b 0a 20 20 20 20 20 20 20 20 | Engine.=.target.engine;......... |
160520 | 65 6c 73 65 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 20 20 20 20 20 20 | else...........return;.......... |
160540 | 74 68 69 73 2e 66 6f 63 75 73 28 29 3b 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 73 65 6c 65 63 | this.focus();.........this.selec |
160560 | 74 28 29 3b 0a 20 20 20 20 20 20 5d 5d 3e 3c 2f 68 61 6e 64 6c 65 72 3e 0a 0a 20 20 20 20 20 20 | t();.......]]></handler>........ |
160580 | 3c 68 61 6e 64 6c 65 72 20 65 76 65 6e 74 3d 22 70 6f 70 75 70 73 68 6f 77 69 6e 67 22 20 61 63 | <handler.event="popupshowing".ac |
1605a0 | 74 69 6f 6e 3d 22 74 68 69 73 2e 72 65 62 75 69 6c 64 50 6f 70 75 70 44 79 6e 61 6d 69 63 28 29 | tion="this.rebuildPopupDynamic() |
1605c0 | 3b 22 2f 3e 0a 0a 20 20 20 20 20 20 3c 68 61 6e 64 6c 65 72 20 65 76 65 6e 74 3d 22 44 4f 4d 4d | ;"/>........<handler.event="DOMM |
1605e0 | 6f 75 73 65 53 63 72 6f 6c 6c 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 68 61 73 65 | ouseScroll"................phase |
160600 | 3d 22 63 61 70 74 75 72 69 6e 67 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 74 69 | ="capturing"................acti |
160620 | 6f 6e 3d 22 69 66 20 28 65 76 65 6e 74 2e 63 74 72 6c 4b 65 79 29 20 74 68 69 73 2e 73 65 6c 65 | on="if.(event.ctrlKey).this.sele |
160640 | 63 74 45 6e 67 69 6e 65 28 65 76 65 6e 74 2c 20 28 65 76 65 6e 74 2e 64 65 74 61 69 6c 20 3e 20 | ctEngine(event,.(event.detail.>. |
160660 | 30 29 29 3b 22 2f 3e 0a 20 20 20 20 3c 2f 68 61 6e 64 6c 65 72 73 3e 0a 20 20 3c 2f 62 69 6e 64 | 0));"/>.....</handlers>...</bind |
160680 | 69 6e 67 3e 0a 0a 20 20 3c 62 69 6e 64 69 6e 67 20 69 64 3d 22 73 65 61 72 63 68 62 61 72 2d 74 | ing>....<binding.id="searchbar-t |
1606a0 | 65 78 74 62 6f 78 22 0a 20 20 20 20 20 20 65 78 74 65 6e 64 73 3d 22 63 68 72 6f 6d 65 3a 2f 2f | extbox".......extends="chrome:// |
1606c0 | 67 6c 6f 62 61 6c 2f 63 6f 6e 74 65 6e 74 2f 62 69 6e 64 69 6e 67 73 2f 61 75 74 6f 63 6f 6d 70 | global/content/bindings/autocomp |
1606e0 | 6c 65 74 65 2e 78 6d 6c 23 61 75 74 6f 63 6f 6d 70 6c 65 74 65 22 3e 0a 20 20 20 20 3c 69 6d 70 | lete.xml#autocomplete">.....<imp |
160700 | 6c 65 6d 65 6e 74 61 74 69 6f 6e 20 69 6d 70 6c 65 6d 65 6e 74 73 3d 22 6e 73 49 4f 62 73 65 72 | lementation.implements="nsIObser |
160720 | 76 65 72 22 3e 0a 20 20 20 20 20 20 3c 63 6f 6e 73 74 72 75 63 74 6f 72 3e 3c 21 5b 43 44 41 54 | ver">.......<constructor><![CDAT |
160740 | 41 5b 0a 20 20 20 20 20 20 20 20 69 66 20 28 64 6f 63 75 6d 65 6e 74 2e 67 65 74 42 69 6e 64 69 | A[.........if.(document.getBindi |
160760 | 6e 67 50 61 72 65 6e 74 28 74 68 69 73 29 2e 70 61 72 65 6e 74 4e 6f 64 65 2e 70 61 72 65 6e 74 | ngParent(this).parentNode.parent |
160780 | 4e 6f 64 65 2e 6c 6f 63 61 6c 4e 61 6d 65 20 3d 3d 0a 20 20 20 20 20 20 20 20 20 20 20 20 22 74 | Node.localName.==............."t |
1607a0 | 6f 6f 6c 62 61 72 70 61 6c 65 74 74 65 69 74 65 6d 22 29 0a 20 20 20 20 20 20 20 20 20 20 72 65 | oolbarpaletteitem")...........re |
1607c0 | 74 75 72 6e 3b 0a 20 20 20 20 20 20 20 20 73 65 74 54 69 6d 65 6f 75 74 28 66 75 6e 63 74 69 6f | turn;.........setTimeout(functio |
1607e0 | 6e 28 61 29 20 7b 20 61 2e 69 6e 69 74 69 61 6c 69 7a 65 28 29 3b 20 7d 2c 20 30 2c 20 74 68 69 | n(a).{.a.initialize();.},.0,.thi |
160800 | 73 29 3b 0a 20 20 20 20 20 20 5d 5d 3e 3c 2f 63 6f 6e 73 74 72 75 63 74 6f 72 3e 0a 0a 20 20 20 | s);.......]]></constructor>..... |
160820 | 20 20 20 3c 64 65 73 74 72 75 63 74 6f 72 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 | ...<destructor><![CDATA[........ |
160840 | 20 20 20 76 61 72 20 70 73 32 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b | ...var.ps2.=.Components.classes[ |
160860 | 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 70 72 65 66 65 72 65 6e 63 65 73 2d 73 65 72 76 69 63 | "@mozilla.org/preferences-servic |
160880 | 65 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | e;1"]........................... |
1608a0 | 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 | .....getService(Components.inter |
1608c0 | 66 61 63 65 73 2e 6e 73 49 50 72 65 66 42 72 61 6e 63 68 32 29 3b 0a 20 20 20 20 20 20 20 20 20 | faces.nsIPrefBranch2);.......... |
1608e0 | 20 70 73 32 2e 72 65 6d 6f 76 65 4f 62 73 65 72 76 65 72 28 22 62 72 6f 77 73 65 72 2e 73 65 61 | .ps2.removeObserver("browser.sea |
160900 | 72 63 68 2e 73 75 67 67 65 73 74 2e 65 6e 61 62 6c 65 64 22 2c 20 74 68 69 73 29 3b 0a 0a 20 20 | rch.suggest.enabled",.this);.... |
160920 | 20 20 20 20 20 20 2f 2f 20 42 65 63 61 75 73 65 20 58 42 4c 20 61 6e 64 20 74 68 65 20 63 75 73 | ......//.Because.XBL.and.the.cus |
160940 | 74 6f 6d 69 7a 65 20 74 6f 6f 6c 62 61 72 20 63 6f 64 65 20 69 6e 74 65 72 61 63 74 73 20 70 6f | tomize.toolbar.code.interacts.po |
160960 | 6f 72 6c 79 2c 0a 20 20 20 20 20 20 20 20 2f 2f 20 74 68 65 72 65 20 6d 61 79 20 6e 6f 74 20 62 | orly,.........//.there.may.not.b |
160980 | 65 20 61 6e 79 74 68 69 6e 67 20 74 6f 20 72 65 6d 6f 76 65 20 68 65 72 65 0a 20 20 20 20 20 20 | e.anything.to.remove.here....... |
1609a0 | 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 63 6f 6e 74 72 6f 6c 6c 65 | ..try.{...........this.controlle |
1609c0 | 72 73 2e 72 65 6d 6f 76 65 43 6f 6e 74 72 6f 6c 6c 65 72 28 74 68 69 73 2e 73 65 61 72 63 68 62 | rs.removeController(this.searchb |
1609e0 | 61 72 43 6f 6e 74 72 6f 6c 6c 65 72 29 3b 0a 20 20 20 20 20 20 20 20 7d 20 63 61 74 63 68 20 28 | arController);.........}.catch.( |
160a00 | 65 78 29 20 7b 20 7d 0a 20 20 20 20 20 20 5d 5d 3e 3c 2f 64 65 73 74 72 75 63 74 6f 72 3e 0a 0a | ex).{.}.......]]></destructor>.. |
160a20 | 20 20 20 20 20 20 3c 66 69 65 6c 64 20 6e 61 6d 65 3d 22 5f 73 74 72 69 6e 67 42 75 6e 64 6c 65 | ......<field.name="_stringBundle |
160a40 | 22 2f 3e 0a 20 20 20 20 20 20 3c 66 69 65 6c 64 20 6e 61 6d 65 3d 22 5f 66 6f 72 6d 48 69 73 74 | "/>.......<field.name="_formHist |
160a60 | 53 76 63 22 2f 3e 0a 20 20 20 20 20 20 3c 66 69 65 6c 64 20 6e 61 6d 65 3d 22 5f 70 72 65 66 42 | Svc"/>.......<field.name="_prefB |
160a80 | 72 61 6e 63 68 22 2f 3e 0a 20 20 20 20 20 20 3c 66 69 65 6c 64 20 6e 61 6d 65 3d 22 5f 73 75 67 | ranch"/>.......<field.name="_sug |
160aa0 | 67 65 73 74 4d 65 6e 75 49 74 65 6d 22 2f 3e 0a 20 20 20 20 20 20 3c 66 69 65 6c 64 20 6e 61 6d | gestMenuItem"/>.......<field.nam |
160ac0 | 65 3d 22 5f 73 75 67 67 65 73 74 45 6e 61 62 6c 65 64 22 2f 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 | e="_suggestEnabled"/>........<me |
160ae0 | 74 68 6f 64 20 6e 61 6d 65 3d 22 69 6e 69 74 69 61 6c 69 7a 65 22 3e 0a 20 20 20 20 20 20 20 20 | thod.name="initialize">......... |
160b00 | 3c 62 6f 64 79 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 63 6f 6e 73 74 20 | <body><![CDATA[...........const. |
160b20 | 6b 58 55 4c 4e 53 20 3d 0a 20 20 20 20 20 20 20 20 20 20 20 20 22 68 74 74 70 3a 2f 2f 77 77 77 | kXULNS.=............."http://www |
160b40 | 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6b 65 79 6d 61 73 74 65 72 2f 67 61 74 65 6b 65 65 70 65 | .mozilla.org/keymaster/gatekeepe |
160b60 | 72 2f 74 68 65 72 65 2e 69 73 2e 6f 6e 6c 79 2e 78 75 6c 22 3b 0a 20 20 20 20 20 20 20 20 20 20 | r/there.is.only.xul";........... |
160b80 | 2f 2f 20 49 6e 69 74 69 61 6c 69 7a 65 20 66 69 65 6c 64 73 0a 20 20 20 20 20 20 20 20 20 20 74 | //.Initialize.fields...........t |
160ba0 | 68 69 73 2e 5f 73 74 72 69 6e 67 42 75 6e 64 6c 65 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 | his._stringBundle.=.document.get |
160bc0 | 42 69 6e 64 69 6e 67 50 61 72 65 6e 74 28 74 68 69 73 29 2e 5f 73 74 72 69 6e 67 42 75 6e 64 6c | BindingParent(this)._stringBundl |
160be0 | 65 3b 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 66 6f 72 6d 48 69 73 74 53 76 63 20 3d | e;...........this._formHistSvc.= |
160c00 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 | ....................Components.c |
160c20 | 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 73 61 74 63 68 65 6c 2f 66 6f 72 | lasses["@mozilla.org/satchel/for |
160c40 | 6d 2d 68 69 73 74 6f 72 79 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | m-history;1"]................... |
160c60 | 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 | ............getService(Component |
160c80 | 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 46 6f 72 6d 48 69 73 74 6f 72 79 32 29 3b 0a 20 | s.interfaces.nsIFormHistory2);.. |
160ca0 | 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 70 72 65 66 42 72 61 6e 63 68 20 3d 0a 20 20 20 20 | .........this._prefBranch.=..... |
160cc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 | ................Components.class |
160ce0 | 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 70 72 65 66 65 72 65 6e 63 65 73 2d 73 65 72 | es["@mozilla.org/preferences-ser |
160d00 | 76 69 63 65 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | vice;1"]........................ |
160d20 | 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e | ........getService(Components.in |
160d40 | 74 65 72 66 61 63 65 73 2e 6e 73 49 50 72 65 66 42 72 61 6e 63 68 29 3b 0a 20 20 20 20 20 20 20 | terfaces.nsIPrefBranch);........ |
160d60 | 20 20 20 74 68 69 73 2e 5f 73 75 67 67 65 73 74 45 6e 61 62 6c 65 64 20 3d 0a 20 20 20 20 20 20 | ...this._suggestEnabled.=....... |
160d80 | 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 70 72 65 66 42 72 61 6e 63 68 2e 67 65 74 42 6f 6f 6c | ........this._prefBranch.getBool |
160da0 | 50 72 65 66 28 22 62 72 6f 77 73 65 72 2e 73 65 61 72 63 68 2e 73 75 67 67 65 73 74 2e 65 6e 61 | Pref("browser.search.suggest.ena |
160dc0 | 62 6c 65 64 22 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 70 72 65 | bled");............if.(this._pre |
160de0 | 66 42 72 61 6e 63 68 2e 67 65 74 42 6f 6f 6c 50 72 65 66 28 22 62 72 6f 77 73 65 72 2e 75 72 6c | fBranch.getBoolPref("browser.url |
160e00 | 62 61 72 2e 63 6c 69 63 6b 53 65 6c 65 63 74 73 41 6c 6c 22 29 29 0a 20 20 20 20 20 20 20 20 20 | bar.clickSelectsAll")).......... |
160e20 | 20 20 20 74 68 69 73 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 63 6c 69 63 6b 53 65 6c 65 63 | ...this.setAttribute("clickSelec |
160e40 | 74 73 41 6c 6c 22 2c 20 74 72 75 65 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 41 64 64 | tsAll",.true);............//.Add |
160e60 | 20 69 74 65 6d 73 20 74 6f 20 63 6f 6e 74 65 78 74 20 6d 65 6e 75 20 61 6e 64 20 61 74 74 61 63 | .items.to.context.menu.and.attac |
160e80 | 68 20 63 6f 6e 74 72 6f 6c 6c 65 72 20 74 6f 20 68 61 6e 64 6c 65 20 74 68 65 6d 0a 20 20 20 20 | h.controller.to.handle.them..... |
160ea0 | 20 20 20 20 20 20 76 61 72 20 74 65 78 74 42 6f 78 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 | ......var.textBox.=.document.get |
160ec0 | 41 6e 6f 6e 79 6d 6f 75 73 45 6c 65 6d 65 6e 74 42 79 41 74 74 72 69 62 75 74 65 28 74 68 69 73 | AnonymousElementByAttribute(this |
160ee0 | 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ,............................... |
160f00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 61 6e 6f 6e 69 64 22 2c 20 22 74 65 78 | .................."anonid",."tex |
160f20 | 74 62 6f 78 2d 69 6e 70 75 74 2d 62 6f 78 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 | tbox-input-box");...........var. |
160f40 | 63 78 6d 65 6e 75 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 41 6e 6f 6e 79 6d 6f 75 73 45 6c | cxmenu.=.document.getAnonymousEl |
160f60 | 65 6d 65 6e 74 42 79 41 74 74 72 69 62 75 74 65 28 74 65 78 74 42 6f 78 2c 0a 20 20 20 20 20 20 | ementByAttribute(textBox,....... |
160f80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
160fa0 | 20 20 20 20 20 20 22 61 6e 6f 6e 69 64 22 2c 20 22 69 6e 70 75 74 2d 62 6f 78 2d 63 6f 6e 74 65 | ......"anonid",."input-box-conte |
160fc0 | 78 74 6d 65 6e 75 22 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 65 6c 65 6d 65 6e 74 | xtmenu");............var.element |
160fe0 | 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 63 72 65 61 74 65 45 6c 65 6d 65 6e 74 4e 53 28 6b 58 55 4c | .=.document.createElementNS(kXUL |
161000 | 4e 53 2c 20 22 6d 65 6e 75 73 65 70 61 72 61 74 6f 72 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 | NS,."menuseparator");........... |
161020 | 63 78 6d 65 6e 75 2e 61 70 70 65 6e 64 43 68 69 6c 64 28 65 6c 65 6d 65 6e 74 29 3b 0a 20 20 20 | cxmenu.appendChild(element);.... |
161040 | 20 20 20 20 20 20 20 65 6c 65 6d 65 6e 74 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 63 72 65 61 74 65 | .......element.=.document.create |
161060 | 45 6c 65 6d 65 6e 74 4e 53 28 6b 58 55 4c 4e 53 2c 20 22 6d 65 6e 75 69 74 65 6d 22 29 3b 0a 20 | ElementNS(kXULNS,."menuitem");.. |
161080 | 20 20 20 20 20 20 20 20 20 76 61 72 20 6c 61 62 65 6c 20 3d 20 74 68 69 73 2e 5f 73 74 72 69 6e | .........var.label.=.this._strin |
1610a0 | 67 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 63 6d 64 5f 63 6c 65 61 72 48 69 73 74 | gBundle.getString("cmd_clearHist |
1610c0 | 6f 72 79 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 61 6b 65 79 20 3d 20 74 68 69 73 | ory");...........var.akey.=.this |
1610e0 | 2e 5f 73 74 72 69 6e 67 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 63 6d 64 5f 63 6c | ._stringBundle.getString("cmd_cl |
161100 | 65 61 72 48 69 73 74 6f 72 79 5f 61 63 63 65 73 73 6b 65 79 22 29 3b 0a 20 20 20 20 20 20 20 20 | earHistory_accesskey");......... |
161120 | 20 20 65 6c 65 6d 65 6e 74 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 6c 61 62 65 6c 22 2c 20 | ..element.setAttribute("label",. |
161140 | 6c 61 62 65 6c 29 3b 0a 20 20 20 20 20 20 20 20 20 20 65 6c 65 6d 65 6e 74 2e 73 65 74 41 74 74 | label);...........element.setAtt |
161160 | 72 69 62 75 74 65 28 22 61 63 63 65 73 73 6b 65 79 22 2c 20 61 6b 65 79 29 3b 0a 20 20 20 20 20 | ribute("accesskey",.akey);...... |
161180 | 20 20 20 20 20 65 6c 65 6d 65 6e 74 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 63 6d 64 22 2c | .....element.setAttribute("cmd", |
1611a0 | 20 22 63 6d 64 5f 63 6c 65 61 72 68 69 73 74 6f 72 79 22 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 | ."cmd_clearhistory");........... |
1611c0 | 20 63 78 6d 65 6e 75 2e 61 70 70 65 6e 64 43 68 69 6c 64 28 65 6c 65 6d 65 6e 74 29 3b 0a 0a 20 | .cxmenu.appendChild(element);... |
1611e0 | 20 20 20 20 20 20 20 20 20 65 6c 65 6d 65 6e 74 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 63 72 65 61 | .........element.=.document.crea |
161200 | 74 65 45 6c 65 6d 65 6e 74 4e 53 28 6b 58 55 4c 4e 53 2c 20 22 6d 65 6e 75 69 74 65 6d 22 29 3b | teElementNS(kXULNS,."menuitem"); |
161220 | 0a 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 20 3d 20 74 68 69 73 2e 5f 73 74 72 69 6e 67 42 | ...........label.=.this._stringB |
161240 | 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 63 6d 64 5f 73 68 6f 77 53 75 67 67 65 73 74 | undle.getString("cmd_showSuggest |
161260 | 69 6f 6e 73 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 61 6b 65 79 20 3d 20 74 68 69 73 2e 5f 73 | ions");...........akey.=.this._s |
161280 | 74 72 69 6e 67 42 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 63 6d 64 5f 73 68 6f 77 53 | tringBundle.getString("cmd_showS |
1612a0 | 75 67 67 65 73 74 69 6f 6e 73 5f 61 63 63 65 73 73 6b 65 79 22 29 3b 0a 20 20 20 20 20 20 20 20 | uggestions_accesskey");......... |
1612c0 | 20 20 65 6c 65 6d 65 6e 74 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 61 6e 6f 6e 69 64 22 2c | ..element.setAttribute("anonid", |
1612e0 | 20 22 74 6f 67 67 6c 65 2d 73 75 67 67 65 73 74 2d 69 74 65 6d 22 29 3b 0a 20 20 20 20 20 20 20 | ."toggle-suggest-item");........ |
161300 | 20 20 20 65 6c 65 6d 65 6e 74 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 6c 61 62 65 6c 22 2c | ...element.setAttribute("label", |
161320 | 20 6c 61 62 65 6c 29 3b 0a 20 20 20 20 20 20 20 20 20 20 65 6c 65 6d 65 6e 74 2e 73 65 74 41 74 | .label);...........element.setAt |
161340 | 74 72 69 62 75 74 65 28 22 61 63 63 65 73 73 6b 65 79 22 2c 20 61 6b 65 79 29 3b 0a 20 20 20 20 | tribute("accesskey",.akey);..... |
161360 | 20 20 20 20 20 20 65 6c 65 6d 65 6e 74 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 63 6d 64 22 | ......element.setAttribute("cmd" |
161380 | 2c 20 22 63 6d 64 5f 74 6f 67 67 6c 65 73 75 67 67 65 73 74 22 29 3b 0a 20 20 20 20 20 20 20 20 | ,."cmd_togglesuggest");......... |
1613a0 | 20 20 65 6c 65 6d 65 6e 74 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 74 79 70 65 22 2c 20 22 | ..element.setAttribute("type",." |
1613c0 | 63 68 65 63 6b 62 6f 78 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 65 6c 65 6d 65 6e 74 2e 73 65 | checkbox");...........element.se |
1613e0 | 74 41 74 74 72 69 62 75 74 65 28 22 63 68 65 63 6b 65 64 22 2c 20 74 68 69 73 2e 5f 73 75 67 67 | tAttribute("checked",.this._sugg |
161400 | 65 73 74 45 6e 61 62 6c 65 64 29 3b 0a 20 20 20 20 20 20 20 20 20 20 65 6c 65 6d 65 6e 74 2e 73 | estEnabled);...........element.s |
161420 | 65 74 41 74 74 72 69 62 75 74 65 28 22 61 75 74 6f 63 68 65 63 6b 22 2c 20 22 66 61 6c 73 65 22 | etAttribute("autocheck",."false" |
161440 | 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 73 75 67 67 65 73 74 4d 65 6e 75 49 | );............this._suggestMenuI |
161460 | 74 65 6d 20 3d 20 65 6c 65 6d 65 6e 74 3b 0a 20 20 20 20 20 20 20 20 20 20 63 78 6d 65 6e 75 2e | tem.=.element;...........cxmenu. |
161480 | 61 70 70 65 6e 64 43 68 69 6c 64 28 65 6c 65 6d 65 6e 74 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 | appendChild(element);........... |
1614a0 | 20 74 68 69 73 2e 63 6f 6e 74 72 6f 6c 6c 65 72 73 2e 61 70 70 65 6e 64 43 6f 6e 74 72 6f 6c 6c | .this.controllers.appendControll |
1614c0 | 65 72 28 74 68 69 73 2e 73 65 61 72 63 68 62 61 72 43 6f 6e 74 72 6f 6c 6c 65 72 29 3b 0a 0a 20 | er(this.searchbarController);... |
1614e0 | 20 20 20 20 20 20 20 20 20 2f 2f 20 41 64 64 20 6f 62 73 65 72 76 65 72 20 66 6f 72 20 73 75 67 | .........//.Add.observer.for.sug |
161500 | 67 65 73 74 20 70 72 65 66 65 72 65 6e 63 65 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 70 73 | gest.preference...........var.ps |
161520 | 32 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 | 2.=.Components.classes["@mozilla |
161540 | 2e 6f 72 67 2f 70 72 65 66 65 72 65 6e 63 65 73 2d 73 65 72 76 69 63 65 3b 31 22 5d 0a 20 20 20 | .org/preferences-service;1"].... |
161560 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 | ............................getS |
161580 | 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 | ervice(Components.interfaces.nsI |
1615a0 | 50 72 65 66 42 72 61 6e 63 68 32 29 3b 0a 20 20 20 20 20 20 20 20 20 20 70 73 32 2e 61 64 64 4f | PrefBranch2);...........ps2.addO |
1615c0 | 62 73 65 72 76 65 72 28 22 62 72 6f 77 73 65 72 2e 73 65 61 72 63 68 2e 73 75 67 67 65 73 74 2e | bserver("browser.search.suggest. |
1615e0 | 65 6e 61 62 6c 65 64 22 2c 20 74 68 69 73 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 20 20 20 20 20 | enabled",.this,.false);......... |
161600 | 5d 5d 3e 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 | ]]></body>.......</method>...... |
161620 | 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 6f 70 65 6e 50 6f 70 75 70 22 3e 0a 20 20 20 20 | ..<method.name="openPopup">..... |
161640 | 20 20 20 20 3c 62 6f 64 79 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 76 61 | ....<body><![CDATA[...........va |
161660 | 72 20 70 6f 70 75 70 20 3d 20 74 68 69 73 2e 70 6f 70 75 70 3b 0a 20 20 20 20 20 20 20 20 20 20 | r.popup.=.this.popup;........... |
161680 | 69 66 20 28 21 70 6f 70 75 70 2e 6d 50 6f 70 75 70 4f 70 65 6e 29 20 7b 0a 20 20 20 20 20 20 20 | if.(!popup.mPopupOpen).{........ |
1616a0 | 20 20 20 20 20 2f 2f 20 49 6e 69 74 69 61 6c 6c 79 20 74 68 65 20 70 61 6e 65 6c 20 75 73 65 64 | .....//.Initially.the.panel.used |
1616c0 | 20 66 6f 72 20 74 68 65 20 73 65 61 72 63 68 62 61 72 20 28 50 6f 70 75 70 41 75 74 6f 43 6f 6d | .for.the.searchbar.(PopupAutoCom |
1616e0 | 70 6c 65 74 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 69 6e 20 62 72 6f 77 73 65 72 2e | plete.............//.in.browser. |
161700 | 78 75 6c 29 20 69 73 20 68 69 64 64 65 6e 20 74 6f 20 61 76 6f 69 64 20 69 6d 70 61 63 74 69 6e | xul).is.hidden.to.avoid.impactin |
161720 | 67 20 73 74 61 72 74 75 70 20 2f 20 6e 65 77 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 77 | g.startup./.new.............//.w |
161740 | 69 6e 64 6f 77 20 70 65 72 66 6f 72 6d 61 6e 63 65 2e 20 54 68 65 20 62 61 73 65 20 62 69 6e 64 | indow.performance..The.base.bind |
161760 | 69 6e 67 27 73 20 6f 70 65 6e 50 6f 70 75 70 20 77 6f 75 6c 64 20 6e 6f 72 6d 61 6c 6c 79 0a 20 | ing's.openPopup.would.normally.. |
161780 | 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 63 61 6c 6c 20 74 68 65 20 6f 76 65 72 72 69 64 65 6e | ...........//.call.the.overriden |
1617a0 | 20 6f 70 65 6e 41 75 74 6f 63 6f 6d 70 6c 65 74 65 50 6f 70 75 70 20 69 6e 20 75 72 6c 62 61 72 | .openAutocompletePopup.in.urlbar |
1617c0 | 42 69 6e 64 69 6e 67 73 2e 78 6d 6c 27 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 62 72 | Bindings.xml's.............//.br |
1617e0 | 6f 77 73 65 72 2d 61 75 74 6f 63 6f 6d 70 6c 65 74 65 2d 72 65 73 75 6c 74 2d 70 6f 70 75 70 20 | owser-autocomplete-result-popup. |
161800 | 62 69 6e 64 69 6e 67 20 74 6f 20 75 6e 68 69 64 65 20 74 68 65 20 70 6f 70 75 70 2c 0a 20 20 20 | binding.to.unhide.the.popup,.... |
161820 | 20 20 20 20 20 20 20 20 20 2f 2f 20 62 75 74 20 73 69 6e 63 65 20 77 65 27 72 65 20 6f 76 65 72 | .........//.but.since.we're.over |
161840 | 72 69 64 69 6e 67 20 6f 70 65 6e 50 6f 70 75 70 20 77 65 20 6e 65 65 64 20 74 6f 20 75 6e 68 69 | riding.openPopup.we.need.to.unhi |
161860 | 64 65 20 74 68 65 20 70 61 6e 65 6c 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 6f 75 72 73 | de.the.panel.............//.ours |
161880 | 65 6c 76 65 73 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 70 6f 70 75 70 2e 68 69 64 64 65 6e 20 | elves..............popup.hidden. |
1618a0 | 3d 20 66 61 6c 73 65 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 70 6f 70 75 70 2e 6d 49 6e 70 | =.false;..............popup.mInp |
1618c0 | 75 74 20 3d 20 74 68 69 73 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 70 6f 70 75 70 2e 76 69 65 | ut.=.this;.............popup.vie |
1618e0 | 77 20 3d 20 74 68 69 73 2e 63 6f 6e 74 72 6f 6c 6c 65 72 2e 51 75 65 72 79 49 6e 74 65 72 66 61 | w.=.this.controller.QueryInterfa |
161900 | 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 54 72 65 65 | ce(Components.interfaces.nsITree |
161920 | 56 69 65 77 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 70 6f 70 75 70 2e 69 6e 76 61 6c 69 64 | View);.............popup.invalid |
161940 | 61 74 65 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ate();.......................... |
161960 | 70 6f 70 75 70 2e 73 68 6f 77 43 6f 6d 6d 65 6e 74 43 6f 6c 75 6d 6e 20 3d 20 74 68 69 73 2e 73 | popup.showCommentColumn.=.this.s |
161980 | 68 6f 77 43 6f 6d 6d 65 6e 74 43 6f 6c 75 6d 6e 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 70 6f | howCommentColumn;.............po |
1619a0 | 70 75 70 2e 73 68 6f 77 49 6d 61 67 65 43 6f 6c 75 6d 6e 20 3d 20 74 68 69 73 2e 73 68 6f 77 49 | pup.showImageColumn.=.this.showI |
1619c0 | 6d 61 67 65 43 6f 6c 75 6d 6e 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 64 6f 63 75 6d 65 6e | mageColumn;..............documen |
1619e0 | 74 2e 70 6f 70 75 70 4e 6f 64 65 20 3d 20 6e 75 6c 6c 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 | t.popupNode.=.null;............. |
161a00 | 20 76 61 72 20 6f 75 74 65 72 52 65 63 74 20 3d 20 74 68 69 73 2e 67 65 74 42 6f 75 6e 64 69 6e | .var.outerRect.=.this.getBoundin |
161a20 | 67 43 6c 69 65 6e 74 52 65 63 74 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 69 | gClientRect();.............var.i |
161a40 | 6e 6e 65 72 52 65 63 74 20 3d 20 74 68 69 73 2e 69 6e 70 75 74 46 69 65 6c 64 2e 67 65 74 42 6f | nnerRect.=.this.inputField.getBo |
161a60 | 75 6e 64 69 6e 67 43 6c 69 65 6e 74 52 65 63 74 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 | undingClientRect();............. |
161a80 | 76 61 72 20 77 69 64 74 68 20 3d 20 6f 75 74 65 72 52 65 63 74 2e 72 69 67 68 74 20 2d 20 69 6e | var.width.=.outerRect.right.-.in |
161aa0 | 6e 65 72 52 65 63 74 2e 6c 65 66 74 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 70 6f 70 75 70 2e | nerRect.left;.............popup. |
161ac0 | 73 65 74 41 74 74 72 69 62 75 74 65 28 22 77 69 64 74 68 22 2c 20 77 69 64 74 68 20 3e 20 31 30 | setAttribute("width",.width.>.10 |
161ae0 | 30 20 3f 20 77 69 64 74 68 20 3a 20 31 30 30 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f | 0.?.width.:.100);............../ |
161b00 | 2f 20 73 65 74 43 6f 6e 73 75 6d 65 52 6f 6c 6c 75 70 45 76 65 6e 74 28 29 20 62 65 66 6f 72 65 | /.setConsumeRollupEvent().before |
161b20 | 20 77 65 20 63 61 6c 6c 20 6f 70 65 6e 50 6f 70 75 70 28 29 2c 20 0a 20 20 20 20 20 20 20 20 20 | .we.call.openPopup(),........... |
161b40 | 20 20 20 2f 2f 20 73 65 65 20 62 75 67 20 23 34 30 34 34 33 38 20 66 6f 72 20 6d 6f 72 65 20 64 | ...//.see.bug.#404438.for.more.d |
161b60 | 65 74 61 69 6c 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 70 6f 70 75 70 2e 70 6f 70 75 70 42 6f | etails.............popup.popupBo |
161b80 | 78 4f 62 6a 65 63 74 2e 73 65 74 43 6f 6e 73 75 6d 65 52 6f 6c 6c 75 70 45 76 65 6e 74 28 0a 20 | xObject.setConsumeRollupEvent(.. |
161ba0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 63 6f 6e 73 75 6d 65 52 6f 6c 6c 75 70 45 | .............this.consumeRollupE |
161bc0 | 76 65 6e 74 20 3f 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 43 69 2e 6e 73 49 50 6f | vent.?..................Ci.nsIPo |
161be0 | 70 75 70 42 6f 78 4f 62 6a 65 63 74 2e 52 4f 4c 4c 55 50 5f 43 4f 4e 53 55 4d 45 20 3a 20 0a 20 | pupBoxObject.ROLLUP_CONSUME.:... |
161c00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 43 69 2e 6e 73 49 50 6f 70 75 70 42 6f 78 4f 62 6a | ...............Ci.nsIPopupBoxObj |
161c20 | 65 63 74 2e 52 4f 4c 4c 55 50 5f 4e 4f 5f 43 4f 4e 53 55 4d 45 29 3b 0a 20 20 20 20 20 20 20 20 | ect.ROLLUP_NO_CONSUME);......... |
161c40 | 20 20 20 20 70 6f 70 75 70 2e 6f 70 65 6e 50 6f 70 75 70 28 6e 75 6c 6c 2c 20 22 22 2c 20 69 6e | ....popup.openPopup(null,."",.in |
161c60 | 6e 65 72 52 65 63 74 2e 6c 65 66 74 2c 20 6f 75 74 65 72 52 65 63 74 2e 62 6f 74 74 6f 6d 2c 20 | nerRect.left,.outerRect.bottom,. |
161c80 | 66 61 6c 73 65 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 | false,.false);...........}...... |
161ca0 | 20 20 20 5d 5d 3e 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 | ...]]></body>.......</method>... |
161cc0 | 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 6f 62 73 65 72 76 65 22 3e 0a 20 20 20 | .....<method.name="observe">.... |
161ce0 | 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 53 75 62 6a 65 63 74 22 2f | .....<parameter.name="aSubject"/ |
161d00 | 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 54 6f 70 69 | >.........<parameter.name="aTopi |
161d20 | 63 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 44 | c"/>.........<parameter.name="aD |
161d40 | 61 74 61 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 | ata"/>.........<body><![CDATA[.. |
161d60 | 20 20 20 20 20 20 20 20 20 69 66 20 28 61 54 6f 70 69 63 20 3d 3d 20 22 6e 73 50 72 65 66 3a 63 | .........if.(aTopic.==."nsPref:c |
161d80 | 68 61 6e 67 65 64 22 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 73 75 67 | hanged").{.............this._sug |
161da0 | 67 65 73 74 45 6e 61 62 6c 65 64 20 3d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 | gestEnabled.=...............this |
161dc0 | 2e 5f 70 72 65 66 42 72 61 6e 63 68 2e 67 65 74 42 6f 6f 6c 50 72 65 66 28 22 62 72 6f 77 73 65 | ._prefBranch.getBoolPref("browse |
161de0 | 72 2e 73 65 61 72 63 68 2e 73 75 67 67 65 73 74 2e 65 6e 61 62 6c 65 64 22 29 3b 0a 20 20 20 20 | r.search.suggest.enabled");..... |
161e00 | 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 73 75 67 67 65 73 74 4d 65 6e 75 49 74 65 6d 2e 73 65 | ........this._suggestMenuItem.se |
161e20 | 74 41 74 74 72 69 62 75 74 65 28 22 63 68 65 63 6b 65 64 22 2c 20 74 68 69 73 2e 5f 73 75 67 67 | tAttribute("checked",.this._sugg |
161e40 | 65 73 74 45 6e 61 62 6c 65 64 29 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 | estEnabled);...........}........ |
161e60 | 20 5d 5d 3e 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 | .]]></body>.......</method>..... |
161e80 | 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 6f 70 65 6e 53 65 61 72 63 68 22 3e 0a 20 20 | ...<method.name="openSearch">... |
161ea0 | 20 20 20 20 20 20 3c 62 6f 64 79 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 21 5b 43 44 41 54 41 5b | ......<body>...........<![CDATA[ |
161ec0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 44 6f 6e 27 74 20 6f 70 65 6e 20 73 65 61 72 63 | .............//.Don't.open.searc |
161ee0 | 68 20 70 6f 70 75 70 20 69 66 20 68 69 73 74 6f 72 79 20 70 6f 70 75 70 20 69 73 20 6f 70 65 6e | h.popup.if.history.popup.is.open |
161f00 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 74 68 69 73 2e 70 6f 70 75 70 4f 70 65 6e | .............if.(!this.popupOpen |
161f20 | 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 42 69 | ).{...............document.getBi |
161f40 | 6e 64 69 6e 67 50 61 72 65 6e 74 28 74 68 69 73 29 2e 73 65 61 72 63 68 42 75 74 74 6f 6e 2e 6f | ndingParent(this).searchButton.o |
161f60 | 70 65 6e 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e | pen.=.true;...............return |
161f80 | 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 | .false;.............}........... |
161fa0 | 20 20 72 65 74 75 72 6e 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 20 20 5d 5d 3e 0a 20 20 20 | ..return.true;...........]]>.... |
161fc0 | 20 20 20 20 20 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 | .....</body>.......</method>.... |
161fe0 | 20 20 20 20 3c 21 2d 2d 20 6f 76 65 72 6c 6f 61 64 20 7c 6f 6e 54 65 78 74 45 6e 74 65 72 65 64 | ....<!--.overload.|onTextEntered |
162000 | 7c 20 69 6e 20 61 75 74 6f 63 6f 6d 70 6c 65 74 65 2e 78 6d 6c 20 2d 2d 3e 0a 20 20 20 20 20 20 | |.in.autocomplete.xml.-->....... |
162020 | 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 6f 6e 54 65 78 74 45 6e 74 65 72 65 64 22 3e 0a 20 20 | <method.name="onTextEntered">... |
162040 | 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 45 76 65 6e 74 22 2f 3e | ......<parameter.name="aEvent"/> |
162060 | 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 | .........<body><![CDATA[........ |
162080 | 20 20 20 76 61 72 20 65 76 74 20 3d 20 61 45 76 65 6e 74 20 7c 7c 20 74 68 69 73 2e 6d 45 6e 74 | ...var.evt.=.aEvent.||.this.mEnt |
1620a0 | 65 72 45 76 65 6e 74 3b 0a 20 20 20 20 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 42 | erEvent;...........document.getB |
1620c0 | 69 6e 64 69 6e 67 50 61 72 65 6e 74 28 74 68 69 73 29 2e 68 61 6e 64 6c 65 53 65 61 72 63 68 43 | indingParent(this).handleSearchC |
1620e0 | 6f 6d 6d 61 6e 64 28 65 76 74 29 3b 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 45 6e 74 | ommand(evt);...........this.mEnt |
162100 | 65 72 45 76 65 6e 74 20 3d 20 6e 75 6c 6c 3b 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 62 6f 64 | erEvent.=.null;.........]]></bod |
162120 | 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 21 2d 2d 20 6e | y>.......</method>........<!--.n |
162140 | 73 49 43 6f 6e 74 72 6f 6c 6c 65 72 20 2d 2d 3e 0a 20 20 20 20 20 20 3c 66 69 65 6c 64 20 6e 61 | sIController.-->.......<field.na |
162160 | 6d 65 3d 22 73 65 61 72 63 68 62 61 72 43 6f 6e 74 72 6f 6c 6c 65 72 22 20 72 65 61 64 6f 6e 6c | me="searchbarController".readonl |
162180 | 79 3d 22 74 72 75 65 22 3e 3c 21 5b 43 44 41 54 41 5b 28 7b 0a 20 20 20 20 20 20 20 20 5f 73 65 | y="true"><![CDATA[({........._se |
1621a0 | 6c 66 3a 20 74 68 69 73 2c 0a 20 20 20 20 20 20 20 20 73 75 70 70 6f 72 74 73 43 6f 6d 6d 61 6e | lf:.this,.........supportsComman |
1621c0 | 64 3a 20 66 75 6e 63 74 69 6f 6e 28 61 43 6f 6d 6d 61 6e 64 29 20 7b 0a 20 20 20 20 20 20 20 20 | d:.function(aCommand).{......... |
1621e0 | 20 20 72 65 74 75 72 6e 20 61 43 6f 6d 6d 61 6e 64 20 3d 3d 20 22 63 6d 64 5f 63 6c 65 61 72 68 | ..return.aCommand.==."cmd_clearh |
162200 | 69 73 74 6f 72 79 22 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 43 6f 6d | istory".||..................aCom |
162220 | 6d 61 6e 64 20 3d 3d 20 22 63 6d 64 5f 74 6f 67 67 6c 65 73 75 67 67 65 73 74 22 3b 0a 20 20 20 | mand.==."cmd_togglesuggest";.... |
162240 | 20 20 20 20 20 7d 2c 0a 0a 20 20 20 20 20 20 20 20 69 73 43 6f 6d 6d 61 6e 64 45 6e 61 62 6c 65 | .....},..........isCommandEnable |
162260 | 64 3a 20 66 75 6e 63 74 69 6f 6e 28 61 43 6f 6d 6d 61 6e 64 29 20 7b 0a 20 20 20 20 20 20 20 20 | d:.function(aCommand).{......... |
162280 | 20 20 69 66 20 28 61 43 6f 6d 6d 61 6e 64 20 3d 3d 20 22 63 6d 64 5f 63 6c 65 61 72 68 69 73 74 | ..if.(aCommand.==."cmd_clearhist |
1622a0 | 6f 72 79 22 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 70 61 72 61 6d 20 3d 20 | ory").{.............var.param.=. |
1622c0 | 74 68 69 73 2e 5f 73 65 6c 66 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 61 75 74 6f 63 6f 6d | this._self.getAttribute("autocom |
1622e0 | 70 6c 65 74 65 73 65 61 72 63 68 70 61 72 61 6d 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 | pletesearchparam");............. |
162300 | 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 73 65 6c 66 2e 5f 66 6f 72 6d 48 69 73 74 53 76 63 2e 6e | return.this._self._formHistSvc.n |
162320 | 61 6d 65 45 78 69 73 74 73 28 70 61 72 61 6d 29 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 | ameExists(param);...........}... |
162340 | 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 7d 2c 0a | ........return.true;.........},. |
162360 | 0a 20 20 20 20 20 20 20 20 64 6f 43 6f 6d 6d 61 6e 64 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 43 | .........doCommand:.function.(aC |
162380 | 6f 6d 6d 61 6e 64 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 73 77 69 74 63 68 20 28 61 43 6f 6d | ommand).{...........switch.(aCom |
1623a0 | 6d 61 6e 64 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 22 63 6d 64 5f 63 6c | mand).{.............case."cmd_cl |
1623c0 | 65 61 72 68 69 73 74 6f 72 79 22 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 70 | earhistory":...............var.p |
1623e0 | 61 72 61 6d 20 3d 20 74 68 69 73 2e 5f 73 65 6c 66 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 | aram.=.this._self.getAttribute(" |
162400 | 61 75 74 6f 63 6f 6d 70 6c 65 74 65 73 65 61 72 63 68 70 61 72 61 6d 22 29 3b 0a 20 20 20 20 20 | autocompletesearchparam");...... |
162420 | 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 73 65 6c 66 2e 5f 66 6f 72 6d 48 69 73 74 53 76 63 | .........this._self._formHistSvc |
162440 | 2e 72 65 6d 6f 76 65 45 6e 74 72 69 65 73 46 6f 72 4e 61 6d 65 28 70 61 72 61 6d 29 3b 0a 20 20 | .removeEntriesForName(param);... |
162460 | 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 73 65 6c 66 2e 76 61 6c 75 65 20 3d 20 22 | ............this._self.value.=." |
162480 | 22 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 20 20 | ";...............break;......... |
1624a0 | 20 20 20 20 63 61 73 65 20 22 63 6d 64 5f 74 6f 67 67 6c 65 73 75 67 67 65 73 74 22 3a 0a 20 20 | ....case."cmd_togglesuggest":... |
1624c0 | 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 54 68 65 20 70 72 65 66 20 6f 62 73 65 72 76 65 72 | ............//.The.pref.observer |
1624e0 | 20 77 69 6c 6c 20 75 70 64 61 74 65 20 5f 73 75 67 67 65 73 74 45 6e 61 62 6c 65 64 20 61 6e 64 | .will.update._suggestEnabled.and |
162500 | 20 74 68 65 20 6d 65 6e 75 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 63 68 65 63 6b | .the.menu...............//.check |
162520 | 6d 61 72 6b 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 73 65 6c 66 2e 5f | mark................this._self._ |
162540 | 70 72 65 66 42 72 61 6e 63 68 2e 73 65 74 42 6f 6f 6c 50 72 65 66 28 22 62 72 6f 77 73 65 72 2e | prefBranch.setBoolPref("browser. |
162560 | 73 65 61 72 63 68 2e 73 75 67 67 65 73 74 2e 65 6e 61 62 6c 65 64 22 2c 0a 20 20 20 20 20 20 20 | search.suggest.enabled",........ |
162580 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
1625a0 | 20 20 20 20 20 20 20 20 20 20 21 74 68 69 73 2e 5f 73 65 6c 66 2e 5f 73 75 67 67 65 73 74 45 6e | ..........!this._self._suggestEn |
1625c0 | 61 62 6c 65 64 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 | abled);...............break;.... |
1625e0 | 20 20 20 20 20 20 20 20 20 64 65 66 61 75 6c 74 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .........default:............... |
162600 | 2f 2f 20 64 6f 20 6e 6f 74 68 69 6e 67 20 77 69 74 68 20 75 6e 72 65 63 6f 67 6e 69 7a 65 64 20 | //.do.nothing.with.unrecognized. |
162620 | 63 6f 6d 6d 61 6e 64 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 | command...........}.........}... |
162640 | 20 20 20 20 7d 29 5d 5d 3e 3c 2f 66 69 65 6c 64 3e 0a 0a 20 20 20 20 20 20 3c 21 2d 2d 20 44 4e | ....})]]></field>........<!--.DN |
162660 | 44 20 4f 62 73 65 72 76 65 72 20 2d 2d 3e 0a 20 20 20 20 20 20 3c 66 69 65 6c 64 20 6e 61 6d 65 | D.Observer.-->.......<field.name |
162680 | 3d 22 73 65 61 72 63 68 62 61 72 44 4e 44 4f 62 73 65 72 76 65 72 22 20 72 65 61 64 6f 6e 6c 79 | ="searchbarDNDObserver".readonly |
1626a0 | 3d 22 74 72 75 65 22 3e 3c 21 5b 43 44 41 54 41 5b 28 7b 0a 20 20 20 20 20 20 20 20 6d 4f 75 74 | ="true"><![CDATA[({.........mOut |
1626c0 | 65 72 3a 20 74 68 69 73 2c 0a 0a 20 20 20 20 20 20 20 20 6f 6e 44 72 6f 70 3a 20 66 75 6e 63 74 | er:.this,..........onDrop:.funct |
1626e0 | 69 6f 6e 20 28 61 45 76 65 6e 74 2c 20 61 58 66 65 72 44 61 74 61 2c 20 61 44 72 61 67 53 65 73 | ion.(aEvent,.aXferData,.aDragSes |
162700 | 73 69 6f 6e 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 64 61 74 61 20 3d 20 74 72 61 | sion).{...........var.data.=.tra |
162720 | 6e 73 66 65 72 55 74 69 6c 73 2e 72 65 74 72 69 65 76 65 55 52 4c 46 72 6f 6d 44 61 74 61 28 61 | nsferUtils.retrieveURLFromData(a |
162740 | 58 66 65 72 44 61 74 61 2e 64 61 74 61 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | XferData.data,.................. |
162760 | 20 20 20 20 20 20 20 20 61 58 66 65 72 44 61 74 61 2e 66 6c 61 76 6f 75 72 2e 63 6f 6e 74 65 6e | ........aXferData.flavour.conten |
162780 | 74 54 79 70 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 64 61 74 61 29 20 7b 0a 20 20 | tType);...........if.(data).{... |
1627a0 | 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 4f 75 74 65 72 2e 76 61 6c 75 65 20 3d 20 64 61 | ..........this.mOuter.value.=.da |
1627c0 | 74 61 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 4f 75 74 65 72 2e 6f 6e 54 65 | ta;.............this.mOuter.onTe |
1627e0 | 78 74 45 6e 74 65 72 65 64 28 61 45 76 65 6e 74 29 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 | xtEntered(aEvent);...........}.. |
162800 | 20 20 20 20 20 20 20 7d 2c 0a 0a 20 20 20 20 20 20 20 20 67 65 74 53 75 70 70 6f 72 74 65 64 46 | .......},..........getSupportedF |
162820 | 6c 61 76 6f 75 72 73 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 20 7b 0a 20 20 20 20 20 20 20 20 20 | lavours:.function.().{.......... |
162840 | 20 76 61 72 20 66 6c 61 76 6f 75 72 53 65 74 20 3d 20 6e 65 77 20 46 6c 61 76 6f 75 72 53 65 74 | .var.flavourSet.=.new.FlavourSet |
162860 | 28 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 66 6c 61 76 6f 75 72 53 65 74 2e 61 70 70 65 6e 64 | ();............flavourSet.append |
162880 | 46 6c 61 76 6f 75 72 28 22 74 65 78 74 2f 75 6e 69 63 6f 64 65 22 29 3b 0a 20 20 20 20 20 20 20 | Flavour("text/unicode");........ |
1628a0 | 20 20 20 66 6c 61 76 6f 75 72 53 65 74 2e 61 70 70 65 6e 64 46 6c 61 76 6f 75 72 28 22 74 65 78 | ...flavourSet.appendFlavour("tex |
1628c0 | 74 2f 78 2d 6d 6f 7a 2d 75 72 6c 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 66 6c 61 76 6f 75 72 | t/x-moz-url");...........flavour |
1628e0 | 53 65 74 2e 61 70 70 65 6e 64 46 6c 61 76 6f 75 72 28 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f 78 | Set.appendFlavour("application/x |
162900 | 2d 6d 6f 7a 2d 66 69 6c 65 22 2c 20 22 6e 73 49 46 69 6c 65 22 29 3b 0a 20 20 20 20 20 20 20 20 | -moz-file",."nsIFile");......... |
162920 | 20 20 72 65 74 75 72 6e 20 66 6c 61 76 6f 75 72 53 65 74 3b 0a 20 20 20 20 20 20 20 20 7d 0a 20 | ..return.flavourSet;.........}.. |
162940 | 20 20 20 20 20 7d 29 5d 5d 3e 3c 2f 66 69 65 6c 64 3e 0a 20 20 20 20 3c 2f 69 6d 70 6c 65 6d 65 | .....})]]></field>.....</impleme |
162960 | 6e 74 61 74 69 6f 6e 3e 0a 0a 20 20 20 20 3c 68 61 6e 64 6c 65 72 73 3e 0a 20 20 20 20 20 20 3c | ntation>......<handlers>.......< |
162980 | 68 61 6e 64 6c 65 72 20 65 76 65 6e 74 3d 22 6b 65 79 70 72 65 73 73 22 20 6b 65 79 63 6f 64 65 | handler.event="keypress".keycode |
1629a0 | 3d 22 56 4b 5f 55 50 22 20 6d 6f 64 69 66 69 65 72 73 3d 22 61 63 63 65 6c 22 0a 20 20 20 20 20 | ="VK_UP".modifiers="accel"...... |
1629c0 | 20 20 20 20 20 20 20 20 20 20 70 68 61 73 65 3d 22 63 61 70 74 75 72 69 6e 67 22 0a 20 20 20 20 | ..........phase="capturing"..... |
1629e0 | 20 20 20 20 20 20 20 20 20 20 20 61 63 74 69 6f 6e 3d 22 64 6f 63 75 6d 65 6e 74 2e 67 65 74 42 | ...........action="document.getB |
162a00 | 69 6e 64 69 6e 67 50 61 72 65 6e 74 28 74 68 69 73 29 2e 73 65 6c 65 63 74 45 6e 67 69 6e 65 28 | indingParent(this).selectEngine( |
162a20 | 65 76 65 6e 74 2c 20 66 61 6c 73 65 29 3b 22 2f 3e 0a 0a 20 20 20 20 20 20 3c 68 61 6e 64 6c 65 | event,.false);"/>........<handle |
162a40 | 72 20 65 76 65 6e 74 3d 22 6b 65 79 70 72 65 73 73 22 20 6b 65 79 63 6f 64 65 3d 22 56 4b 5f 44 | r.event="keypress".keycode="VK_D |
162a60 | 4f 57 4e 22 20 6d 6f 64 69 66 69 65 72 73 3d 22 61 63 63 65 6c 22 0a 20 20 20 20 20 20 20 20 20 | OWN".modifiers="accel".......... |
162a80 | 20 20 20 20 20 20 70 68 61 73 65 3d 22 63 61 70 74 75 72 69 6e 67 22 0a 20 20 20 20 20 20 20 20 | ......phase="capturing"......... |
162aa0 | 20 20 20 20 20 20 20 61 63 74 69 6f 6e 3d 22 64 6f 63 75 6d 65 6e 74 2e 67 65 74 42 69 6e 64 69 | .......action="document.getBindi |
162ac0 | 6e 67 50 61 72 65 6e 74 28 74 68 69 73 29 2e 73 65 6c 65 63 74 45 6e 67 69 6e 65 28 65 76 65 6e | ngParent(this).selectEngine(even |
162ae0 | 74 2c 20 74 72 75 65 29 3b 22 2f 3e 0a 0a 20 20 20 20 20 20 3c 68 61 6e 64 6c 65 72 20 65 76 65 | t,.true);"/>........<handler.eve |
162b00 | 6e 74 3d 22 6b 65 79 70 72 65 73 73 22 20 6b 65 79 63 6f 64 65 3d 22 56 4b 5f 44 4f 57 4e 22 20 | nt="keypress".keycode="VK_DOWN". |
162b20 | 6d 6f 64 69 66 69 65 72 73 3d 22 61 6c 74 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 | modifiers="alt"................p |
162b40 | 68 61 73 65 3d 22 63 61 70 74 75 72 69 6e 67 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | hase="capturing"................ |
162b60 | 61 63 74 69 6f 6e 3d 22 72 65 74 75 72 6e 20 74 68 69 73 2e 6f 70 65 6e 53 65 61 72 63 68 28 29 | action="return.this.openSearch() |
162b80 | 3b 22 2f 3e 0a 0a 20 20 20 20 20 20 3c 68 61 6e 64 6c 65 72 20 65 76 65 6e 74 3d 22 6b 65 79 70 | ;"/>........<handler.event="keyp |
162ba0 | 72 65 73 73 22 20 6b 65 79 63 6f 64 65 3d 22 56 4b 5f 55 50 22 20 6d 6f 64 69 66 69 65 72 73 3d | ress".keycode="VK_UP".modifiers= |
162bc0 | 22 61 6c 74 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 68 61 73 65 3d 22 63 61 70 74 | "alt"................phase="capt |
162be0 | 75 72 69 6e 67 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 74 69 6f 6e 3d 22 72 65 | uring"................action="re |
162c00 | 74 75 72 6e 20 74 68 69 73 2e 6f 70 65 6e 53 65 61 72 63 68 28 29 3b 22 2f 3e 0a 0a 20 20 20 20 | turn.this.openSearch();"/>...... |
162c20 | 20 20 3c 68 61 6e 64 6c 65 72 20 65 76 65 6e 74 3d 22 6b 65 79 70 72 65 73 73 22 20 6b 65 79 63 | ..<handler.event="keypress".keyc |
162c40 | 6f 64 65 3d 22 56 4b 5f 46 34 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 68 61 73 65 | ode="VK_F4"................phase |
162c60 | 3d 22 63 61 70 74 75 72 69 6e 67 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 74 69 | ="capturing"................acti |
162c80 | 6f 6e 3d 22 72 65 74 75 72 6e 20 74 68 69 73 2e 6f 70 65 6e 53 65 61 72 63 68 28 29 3b 22 2f 3e | on="return.this.openSearch();"/> |
162ca0 | 0a 0a 20 20 20 20 20 20 3c 68 61 6e 64 6c 65 72 20 65 76 65 6e 74 3d 22 64 72 6f 70 22 20 70 68 | ........<handler.event="drop".ph |
162cc0 | 61 73 65 3d 22 63 61 70 74 75 72 69 6e 67 22 3e 0a 20 20 20 20 20 20 20 20 6e 73 44 72 61 67 41 | ase="capturing">.........nsDragA |
162ce0 | 6e 64 44 72 6f 70 2e 64 72 6f 70 28 65 76 65 6e 74 2c 20 74 68 69 73 2e 73 65 61 72 63 68 62 61 | ndDrop.drop(event,.this.searchba |
162d00 | 72 44 4e 44 4f 62 73 65 72 76 65 72 29 3b 0a 20 20 20 20 20 20 3c 2f 68 61 6e 64 6c 65 72 3e 0a | rDNDObserver);.......</handler>. |
162d20 | 0a 20 20 20 20 3c 2f 68 61 6e 64 6c 65 72 73 3e 0a 20 20 3c 2f 62 69 6e 64 69 6e 67 3e 0a 3c 2f | .....</handlers>...</binding>.</ |
162d40 | 62 69 6e 64 69 6e 67 73 3e 0a 50 4b 03 04 14 00 00 00 00 00 f3 4b 18 3b 88 cf f0 4e f5 00 00 00 | bindings>.PK.........K.;...N.... |
162d60 | f5 00 00 00 2c 00 00 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 73 65 61 72 63 68 2f 73 | ....,...content/browser/search/s |
162d80 | 65 61 72 63 68 62 61 72 42 69 6e 64 69 6e 67 73 2e 63 73 73 40 6e 61 6d 65 73 70 61 63 65 20 75 | earchbarBindings.css@namespace.u |
162da0 | 72 6c 28 22 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6b 65 79 6d 61 | rl("http://www.mozilla.org/keyma |
162dc0 | 73 74 65 72 2f 67 61 74 65 6b 65 65 70 65 72 2f 74 68 65 72 65 2e 69 73 2e 6f 6e 6c 79 2e 78 75 | ster/gatekeeper/there.is.only.xu |
162de0 | 6c 22 29 3b 0a 0a 2e 73 65 61 72 63 68 62 61 72 2d 74 65 78 74 62 6f 78 20 7b 0a 20 20 2d 6d 6f | l");...searchbar-textbox.{...-mo |
162e00 | 7a 2d 62 69 6e 64 69 6e 67 3a 20 75 72 6c 28 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 | z-binding:.url("chrome://browser |
162e20 | 2f 63 6f 6e 74 65 6e 74 2f 73 65 61 72 63 68 2f 73 65 61 72 63 68 2e 78 6d 6c 23 73 65 61 72 63 | /content/search/search.xml#searc |
162e40 | 68 62 61 72 2d 74 65 78 74 62 6f 78 22 29 3b 0a 7d 0a 0a 2e 73 65 61 72 63 68 62 61 72 2d 65 6e | hbar-textbox");.}...searchbar-en |
162e60 | 67 69 6e 65 2d 62 75 74 74 6f 6e 20 7b 0a 20 20 2d 6d 6f 7a 2d 75 73 65 72 2d 66 6f 63 75 73 3a | gine-button.{...-moz-user-focus: |
162e80 | 20 6e 6f 6e 65 3b 0a 7d 0a 50 4b 03 04 14 00 00 00 00 00 f3 4b 18 3b e0 0e 49 ae 8a 0d 00 00 8a | .none;.}.PK.........K.;..I...... |
162ea0 | 0d 00 00 28 00 00 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 73 65 61 72 63 68 2f 65 6e | ...(...content/browser/search/en |
162ec0 | 67 69 6e 65 4d 61 6e 61 67 65 72 2e 78 75 6c 3c 3f 78 6d 6c 20 76 65 72 73 69 6f 6e 3d 22 31 2e | gineManager.xul<?xml.version="1. |
162ee0 | 30 22 3f 3e 0a 0a 3c 3f 78 6d 6c 2d 73 74 79 6c 65 73 68 65 65 74 20 68 72 65 66 3d 22 63 68 72 | 0"?>..<?xml-stylesheet.href="chr |
162f00 | 6f 6d 65 3a 2f 2f 67 6c 6f 62 61 6c 2f 73 6b 69 6e 2f 22 3f 3e 0a 3c 3f 78 6d 6c 2d 73 74 79 6c | ome://global/skin/"?>.<?xml-styl |
162f20 | 65 73 68 65 65 74 20 68 72 65 66 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 73 6b | esheet.href="chrome://browser/sk |
162f40 | 69 6e 2f 65 6e 67 69 6e 65 4d 61 6e 61 67 65 72 2e 63 73 73 22 3f 3e 0a 0a 3c 21 44 4f 43 54 59 | in/engineManager.css"?>..<!DOCTY |
162f60 | 50 45 20 64 69 61 6c 6f 67 20 53 59 53 54 45 4d 20 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 | PE.dialog.SYSTEM."chrome://brows |
162f80 | 65 72 2f 6c 6f 63 61 6c 65 2f 65 6e 67 69 6e 65 4d 61 6e 61 67 65 72 2e 64 74 64 22 3e 0a 0a 3c | er/locale/engineManager.dtd">..< |
162fa0 | 64 69 61 6c 6f 67 20 69 64 3d 22 65 6e 67 69 6e 65 4d 61 6e 61 67 65 72 22 0a 20 20 20 20 20 20 | dialog.id="engineManager"....... |
162fc0 | 20 20 78 6d 6c 6e 73 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f | ..xmlns="http://www.mozilla.org/ |
162fe0 | 6b 65 79 6d 61 73 74 65 72 2f 67 61 74 65 6b 65 65 70 65 72 2f 74 68 65 72 65 2e 69 73 2e 6f 6e | keymaster/gatekeeper/there.is.on |
163000 | 6c 79 2e 78 75 6c 22 0a 20 20 20 20 20 20 20 20 62 75 74 74 6f 6e 73 3d 22 61 63 63 65 70 74 2c | ly.xul".........buttons="accept, |
163020 | 63 61 6e 63 65 6c 2c 65 78 74 72 61 32 22 0a 20 20 20 20 20 20 20 20 62 75 74 74 6f 6e 6c 61 62 | cancel,extra2".........buttonlab |
163040 | 65 6c 65 78 74 72 61 32 3d 22 26 72 65 73 74 6f 72 65 44 65 66 61 75 6c 74 73 2e 6c 61 62 65 6c | elextra2="&restoreDefaults.label |
163060 | 3b 22 0a 20 20 20 20 20 20 20 20 62 75 74 74 6f 6e 61 63 63 65 73 73 6b 65 79 65 78 74 72 61 32 | ;".........buttonaccesskeyextra2 |
163080 | 3d 22 26 72 65 73 74 6f 72 65 44 65 66 61 75 6c 74 73 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 | ="&restoreDefaults.accesskey;".. |
1630a0 | 20 20 20 20 20 20 20 6f 6e 6c 6f 61 64 3d 22 67 45 6e 67 69 6e 65 4d 61 6e 61 67 65 72 44 69 61 | .......onload="gEngineManagerDia |
1630c0 | 6c 6f 67 2e 69 6e 69 74 28 29 3b 22 0a 20 20 20 20 20 20 20 20 6f 6e 64 69 61 6c 6f 67 61 63 63 | log.init();".........ondialogacc |
1630e0 | 65 70 74 3d 22 67 45 6e 67 69 6e 65 4d 61 6e 61 67 65 72 44 69 61 6c 6f 67 2e 6f 6e 4f 4b 28 29 | ept="gEngineManagerDialog.onOK() |
163100 | 3b 22 0a 20 20 20 20 20 20 20 20 6f 6e 64 69 61 6c 6f 67 63 61 6e 63 65 6c 3d 22 67 45 6e 67 69 | ;".........ondialogcancel="gEngi |
163120 | 6e 65 4d 61 6e 61 67 65 72 44 69 61 6c 6f 67 2e 6f 6e 43 61 6e 63 65 6c 28 29 3b 22 0a 20 20 20 | neManagerDialog.onCancel();".... |
163140 | 20 20 20 20 20 6f 6e 64 69 61 6c 6f 67 65 78 74 72 61 32 3d 22 67 45 6e 67 69 6e 65 4d 61 6e 61 | .....ondialogextra2="gEngineMana |
163160 | 67 65 72 44 69 61 6c 6f 67 2e 6f 6e 52 65 73 74 6f 72 65 44 65 66 61 75 6c 74 73 28 29 3b 22 0a | gerDialog.onRestoreDefaults();". |
163180 | 20 20 20 20 20 20 20 20 74 69 74 6c 65 3d 22 26 65 6e 67 69 6e 65 4d 61 6e 61 67 65 72 2e 74 69 | ........title="&engineManager.ti |
1631a0 | 74 6c 65 3b 22 0a 20 20 20 20 20 20 20 20 73 74 79 6c 65 3d 22 26 65 6e 67 69 6e 65 4d 61 6e 61 | tle;".........style="&engineMana |
1631c0 | 67 65 72 2e 73 74 79 6c 65 3b 22 0a 20 20 20 20 20 20 20 20 70 65 72 73 69 73 74 3d 22 73 63 72 | ger.style;".........persist="scr |
1631e0 | 65 65 6e 58 20 73 63 72 65 65 6e 59 22 0a 20 20 20 20 20 20 20 20 77 69 6e 64 6f 77 74 79 70 65 | eenX.screenY".........windowtype |
163200 | 3d 22 42 72 6f 77 73 65 72 3a 53 65 61 72 63 68 4d 61 6e 61 67 65 72 22 3e 0a 0a 20 20 3c 73 63 | ="Browser:SearchManager">....<sc |
163220 | 72 69 70 74 20 74 79 70 65 3d 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f 78 2d 6a 61 76 61 73 63 72 | ript.type="application/x-javascr |
163240 | 69 70 74 22 0a 20 20 20 20 20 20 20 20 20 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f | ipt"...........src="chrome://bro |
163260 | 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 73 65 61 72 63 68 2f 65 6e 67 69 6e 65 4d 61 6e 61 67 65 | wser/content/search/engineManage |
163280 | 72 2e 6a 73 22 2f 3e 0a 20 20 3c 73 63 72 69 70 74 20 74 79 70 65 3d 22 61 70 70 6c 69 63 61 74 | r.js"/>...<script.type="applicat |
1632a0 | 69 6f 6e 2f 78 2d 6a 61 76 61 73 63 72 69 70 74 22 0a 20 20 20 20 20 20 20 20 20 20 73 72 63 3d | ion/x-javascript"...........src= |
1632c0 | 22 63 68 72 6f 6d 65 3a 2f 2f 67 6c 6f 62 61 6c 2f 63 6f 6e 74 65 6e 74 2f 6e 73 44 72 61 67 41 | "chrome://global/content/nsDragA |
1632e0 | 6e 64 44 72 6f 70 2e 6a 73 22 2f 3e 0a 0a 20 20 3c 63 6f 6d 6d 61 6e 64 73 65 74 20 69 64 3d 22 | ndDrop.js"/>....<commandset.id=" |
163300 | 65 6e 67 69 6e 65 4d 61 6e 61 67 65 72 43 6f 6d 6d 61 6e 64 53 65 74 22 3e 0a 20 20 20 20 3c 63 | engineManagerCommandSet">.....<c |
163320 | 6f 6d 6d 61 6e 64 20 69 64 3d 22 63 6d 64 5f 72 65 6d 6f 76 65 22 0a 20 20 20 20 20 20 20 20 20 | ommand.id="cmd_remove".......... |
163340 | 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 45 6e 67 69 6e 65 4d 61 6e 61 67 65 72 44 69 61 | ....oncommand="gEngineManagerDia |
163360 | 6c 6f 67 2e 72 65 6d 6f 76 65 28 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 64 69 73 61 | log.remove();"..............disa |
163380 | 62 6c 65 64 3d 22 74 72 75 65 22 2f 3e 0a 20 20 20 20 3c 63 6f 6d 6d 61 6e 64 20 69 64 3d 22 63 | bled="true"/>.....<command.id="c |
1633a0 | 6d 64 5f 6d 6f 76 65 75 70 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e | md_moveup"..............oncomman |
1633c0 | 64 3d 22 67 45 6e 67 69 6e 65 4d 61 6e 61 67 65 72 44 69 61 6c 6f 67 2e 62 75 6d 70 28 31 29 3b | d="gEngineManagerDialog.bump(1); |
1633e0 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 64 69 73 61 62 6c 65 64 3d 22 74 72 75 65 22 2f 3e | "..............disabled="true"/> |
163400 | 0a 20 20 20 20 3c 63 6f 6d 6d 61 6e 64 20 69 64 3d 22 63 6d 64 5f 6d 6f 76 65 64 6f 77 6e 22 0a | .....<command.id="cmd_movedown". |
163420 | 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 45 6e 67 69 6e 65 4d | .............oncommand="gEngineM |
163440 | 61 6e 61 67 65 72 44 69 61 6c 6f 67 2e 62 75 6d 70 28 2d 31 29 3b 22 0a 20 20 20 20 20 20 20 20 | anagerDialog.bump(-1);"......... |
163460 | 20 20 20 20 20 64 69 73 61 62 6c 65 64 3d 22 74 72 75 65 22 2f 3e 0a 20 20 20 20 3c 63 6f 6d 6d | .....disabled="true"/>.....<comm |
163480 | 61 6e 64 20 69 64 3d 22 63 6d 64 5f 65 64 69 74 6b 65 79 77 6f 72 64 22 0a 20 20 20 20 20 20 20 | and.id="cmd_editkeyword"........ |
1634a0 | 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 45 6e 67 69 6e 65 4d 61 6e 61 67 65 72 44 | ......oncommand="gEngineManagerD |
1634c0 | 69 61 6c 6f 67 2e 65 64 69 74 4b 65 79 77 6f 72 64 28 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 | ialog.editKeyword();"........... |
1634e0 | 20 20 20 64 69 73 61 62 6c 65 64 3d 22 74 72 75 65 22 2f 3e 0a 20 20 3c 2f 63 6f 6d 6d 61 6e 64 | ...disabled="true"/>...</command |
163500 | 73 65 74 3e 0a 0a 20 20 3c 6b 65 79 73 65 74 20 69 64 3d 22 65 6e 67 69 6e 65 4d 61 6e 61 67 65 | set>....<keyset.id="engineManage |
163520 | 72 4b 65 79 73 65 74 22 3e 0a 20 20 20 20 3c 6b 65 79 20 69 64 3d 22 64 65 6c 65 74 65 22 20 6b | rKeyset">.....<key.id="delete".k |
163540 | 65 79 63 6f 64 65 3d 22 56 4b 5f 44 45 4c 45 54 45 22 20 63 6f 6d 6d 61 6e 64 3d 22 63 6d 64 5f | eycode="VK_DELETE".command="cmd_ |
163560 | 72 65 6d 6f 76 65 22 2f 3e 0a 20 20 3c 2f 6b 65 79 73 65 74 3e 0a 0a 20 20 3c 73 74 72 69 6e 67 | remove"/>...</keyset>....<string |
163580 | 62 75 6e 64 6c 65 73 65 74 20 69 64 3d 22 65 6e 67 69 6e 65 4d 61 6e 61 67 65 72 42 75 6e 64 6c | bundleset.id="engineManagerBundl |
1635a0 | 65 73 65 74 22 3e 0a 20 20 20 20 3c 73 74 72 69 6e 67 62 75 6e 64 6c 65 20 69 64 3d 22 65 6e 67 | eset">.....<stringbundle.id="eng |
1635c0 | 69 6e 65 4d 61 6e 61 67 65 72 42 75 6e 64 6c 65 22 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f | ineManagerBundle".src="chrome:// |
1635e0 | 62 72 6f 77 73 65 72 2f 6c 6f 63 61 6c 65 2f 65 6e 67 69 6e 65 4d 61 6e 61 67 65 72 2e 70 72 6f | browser/locale/engineManager.pro |
163600 | 70 65 72 74 69 65 73 22 2f 3e 0a 20 20 3c 2f 73 74 72 69 6e 67 62 75 6e 64 6c 65 73 65 74 3e 0a | perties"/>...</stringbundleset>. |
163620 | 0a 20 20 3c 64 65 73 63 72 69 70 74 69 6f 6e 3e 26 65 6e 67 69 6e 65 4d 61 6e 61 67 65 72 2e 69 | ...<description>&engineManager.i |
163640 | 6e 74 72 6f 3b 3c 2f 64 65 73 63 72 69 70 74 69 6f 6e 3e 0a 20 20 3c 73 65 70 61 72 61 74 6f 72 | ntro;</description>...<separator |
163660 | 20 63 6c 61 73 73 3d 22 74 68 69 6e 22 2f 3e 0a 20 20 3c 68 62 6f 78 20 66 6c 65 78 3d 22 31 22 | .class="thin"/>...<hbox.flex="1" |
163680 | 3e 0a 20 20 20 20 3c 74 72 65 65 20 69 64 3d 22 65 6e 67 69 6e 65 4c 69 73 74 22 20 66 6c 65 78 | >.....<tree.id="engineList".flex |
1636a0 | 3d 22 31 22 20 72 6f 77 73 3d 22 31 30 22 20 68 69 64 65 63 6f 6c 75 6d 6e 70 69 63 6b 65 72 3d | ="1".rows="10".hidecolumnpicker= |
1636c0 | 22 74 72 75 65 22 0a 20 20 20 20 20 20 20 20 20 20 73 65 6c 74 79 70 65 3d 22 73 69 6e 67 6c 65 | "true"...........seltype="single |
1636e0 | 22 20 6f 6e 73 65 6c 65 63 74 3d 22 67 45 6e 67 69 6e 65 4d 61 6e 61 67 65 72 44 69 61 6c 6f 67 | ".onselect="gEngineManagerDialog |
163700 | 2e 6f 6e 53 65 6c 65 63 74 28 29 3b 22 3e 0a 20 20 20 20 20 20 3c 74 72 65 65 63 68 69 6c 64 72 | .onSelect();">.......<treechildr |
163720 | 65 6e 20 69 64 3d 22 65 6e 67 69 6e 65 43 68 69 6c 64 72 65 6e 22 20 66 6c 65 78 3d 22 31 22 0a | en.id="engineChildren".flex="1". |
163740 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 64 72 61 67 67 65 73 74 75 72 | ....................ondraggestur |
163760 | 65 3d 22 6e 73 44 72 61 67 41 6e 64 44 72 6f 70 2e 73 74 61 72 74 44 72 61 67 28 65 76 65 6e 74 | e="nsDragAndDrop.startDrag(event |
163780 | 2c 20 67 44 72 61 67 4f 62 73 65 72 76 65 72 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 74 72 65 65 | ,.gDragObserver);"/>.......<tree |
1637a0 | 63 6f 6c 73 3e 0a 20 20 20 20 20 20 20 20 3c 74 72 65 65 63 6f 6c 20 69 64 3d 22 65 6e 67 69 6e | cols>.........<treecol.id="engin |
1637c0 | 65 4e 61 6d 65 22 20 66 6c 65 78 3d 22 34 22 20 6c 61 62 65 6c 3d 22 26 63 6f 6c 75 6d 6e 4c 61 | eName".flex="4".label="&columnLa |
1637e0 | 62 65 6c 2e 6e 61 6d 65 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 74 72 65 65 63 6f 6c 20 69 64 | bel.name;"/>.........<treecol.id |
163800 | 3d 22 65 6e 67 69 6e 65 4b 65 79 77 6f 72 64 22 20 66 6c 65 78 3d 22 31 22 20 6c 61 62 65 6c 3d | ="engineKeyword".flex="1".label= |
163820 | 22 26 63 6f 6c 75 6d 6e 4c 61 62 65 6c 2e 6b 65 79 77 6f 72 64 3b 22 2f 3e 0a 20 20 20 20 20 20 | "&columnLabel.keyword;"/>....... |
163840 | 3c 2f 74 72 65 65 63 6f 6c 73 3e 0a 20 20 20 20 3c 2f 74 72 65 65 3e 0a 20 20 20 20 3c 76 62 6f | </treecols>.....</tree>.....<vbo |
163860 | 78 3e 0a 20 20 20 20 20 20 3c 73 70 61 63 65 72 20 66 6c 65 78 3d 22 31 22 2f 3e 0a 20 20 20 20 | x>.......<spacer.flex="1"/>..... |
163880 | 20 20 3c 62 75 74 74 6f 6e 20 69 64 3d 22 65 64 69 74 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ..<button.id="edit"............. |
1638a0 | 20 20 6c 61 62 65 6c 3d 22 26 65 64 69 74 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 | ..label="&edit.label;".......... |
1638c0 | 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 65 64 69 74 2e 61 63 63 65 73 73 6b 65 79 3b | .....accesskey="&edit.accesskey; |
1638e0 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 63 6d 64 5f 65 64 69 | "...............command="cmd_edi |
163900 | 74 6b 65 79 77 6f 72 64 22 2f 3e 0a 20 20 20 20 20 20 3c 62 75 74 74 6f 6e 20 69 64 3d 22 75 70 | tkeyword"/>.......<button.id="up |
163920 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 75 70 2e 6c 61 62 65 6c | "...............label="&up.label |
163940 | 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 75 70 2e | ;"...............accesskey="&up. |
163960 | 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6d 6d 61 6e | accesskey;"...............comman |
163980 | 64 3d 22 63 6d 64 5f 6d 6f 76 65 75 70 22 2f 3e 0a 20 20 20 20 20 20 3c 62 75 74 74 6f 6e 20 69 | d="cmd_moveup"/>.......<button.i |
1639a0 | 64 3d 22 64 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 64 6e 2e | d="dn"...............label="&dn. |
1639c0 | 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d | label;"...............accesskey= |
1639e0 | 22 26 64 6e 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 | "&dn.accesskey;"...............c |
163a00 | 6f 6d 6d 61 6e 64 3d 22 63 6d 64 5f 6d 6f 76 65 64 6f 77 6e 22 2f 3e 0a 20 20 20 20 20 20 3c 73 | ommand="cmd_movedown"/>.......<s |
163a20 | 70 61 63 65 72 20 66 6c 65 78 3d 22 31 22 2f 3e 0a 20 20 20 20 20 20 3c 62 75 74 74 6f 6e 20 69 | pacer.flex="1"/>.......<button.i |
163a40 | 64 3d 22 72 65 6d 6f 76 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 | d="remove"...............label=" |
163a60 | 26 72 65 6d 6f 76 65 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 | &remove.label;"...............ac |
163a80 | 63 65 73 73 6b 65 79 3d 22 26 72 65 6d 6f 76 65 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 | cesskey="&remove.accesskey;".... |
163aa0 | 20 20 20 20 20 20 20 20 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 63 6d 64 5f 72 65 6d 6f 76 65 22 2f | ...........command="cmd_remove"/ |
163ac0 | 3e 0a 20 20 20 20 3c 2f 76 62 6f 78 3e 0a 20 20 3c 2f 68 62 6f 78 3e 0a 20 20 3c 68 62 6f 78 3e | >.....</vbox>...</hbox>...<hbox> |
163ae0 | 0a 20 20 20 20 3c 63 68 65 63 6b 62 6f 78 20 69 64 3d 22 65 6e 61 62 6c 65 53 75 67 67 65 73 74 | .....<checkbox.id="enableSuggest |
163b00 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 65 6e 61 62 6c 65 53 75 | "...............label="&enableSu |
163b20 | 67 67 65 73 74 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 | ggest.label;"...............acce |
163b40 | 73 73 6b 65 79 3d 22 26 65 6e 61 62 6c 65 53 75 67 67 65 73 74 2e 61 63 63 65 73 73 6b 65 79 3b | sskey="&enableSuggest.accesskey; |
163b60 | 22 2f 3e 0a 20 20 20 20 3c 73 70 61 63 65 72 20 66 6c 65 78 3d 22 31 22 2f 3e 0a 20 20 3c 2f 68 | "/>.....<spacer.flex="1"/>...</h |
163b80 | 62 6f 78 3e 0a 20 20 3c 68 62 6f 78 3e 0a 20 20 20 20 3c 6c 61 62 65 6c 20 69 64 3d 22 61 64 64 | box>...<hbox>.....<label.id="add |
163ba0 | 45 6e 67 69 6e 65 73 22 20 63 6c 61 73 73 3d 22 74 65 78 74 2d 6c 69 6e 6b 22 20 76 61 6c 75 65 | Engines".class="text-link".value |
163bc0 | 3d 22 26 61 64 64 45 6e 67 69 6e 65 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 | ="&addEngine.label;"............ |
163be0 | 6f 6e 63 6c 69 63 6b 3d 22 69 66 20 28 65 76 65 6e 74 2e 62 75 74 74 6f 6e 20 3d 3d 20 30 29 20 | onclick="if.(event.button.==.0). |
163c00 | 7b 20 67 45 6e 67 69 6e 65 4d 61 6e 61 67 65 72 44 69 61 6c 6f 67 2e 6c 6f 61 64 41 64 64 45 6e | {.gEngineManagerDialog.loadAddEn |
163c20 | 67 69 6e 65 73 28 29 3b 20 7d 22 2f 3e 0a 20 20 20 20 3c 73 70 61 63 65 72 20 66 6c 65 78 3d 22 | gines();.}"/>.....<spacer.flex=" |
163c40 | 31 22 2f 3e 0a 20 20 3c 2f 68 62 6f 78 3e 0a 3c 2f 64 69 61 6c 6f 67 3e 0a 50 4b 03 04 14 00 00 | 1"/>...</hbox>.</dialog>.PK..... |
163c60 | 00 00 00 f3 4b 18 3b e7 86 01 96 3a 45 00 00 3a 45 00 00 27 00 00 00 63 6f 6e 74 65 6e 74 2f 62 | ....K.;....:E..:E..'...content/b |
163c80 | 72 6f 77 73 65 72 2f 73 65 61 72 63 68 2f 65 6e 67 69 6e 65 4d 61 6e 61 67 65 72 2e 6a 73 2f 2f | rowser/search/engineManager.js// |
163ca0 | 40 6c 69 6e 65 20 34 30 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e | @line.40."/builds/moz2_slave/lin |
163cc0 | 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 63 6f 6d 70 6f 6e 65 6e 74 | ux_build/build/browser/component |
163ce0 | 73 2f 73 65 61 72 63 68 2f 63 6f 6e 74 65 6e 74 2f 65 6e 67 69 6e 65 4d 61 6e 61 67 65 72 2e 6a | s/search/content/engineManager.j |
163d00 | 73 22 0a 0a 63 6f 6e 73 74 20 43 69 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 | s"..const.Ci.=.Components.interf |
163d20 | 61 63 65 73 3b 0a 63 6f 6e 73 74 20 43 63 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 | aces;.const.Cc.=.Components.clas |
163d40 | 73 65 73 3b 0a 0a 63 6f 6e 73 74 20 45 4e 47 49 4e 45 5f 46 4c 41 56 4f 52 20 3d 20 22 74 65 78 | ses;..const.ENGINE_FLAVOR.=."tex |
163d60 | 74 2f 78 2d 6d 6f 7a 2d 73 65 61 72 63 68 2d 65 6e 67 69 6e 65 22 3b 0a 0a 63 6f 6e 73 74 20 42 | t/x-moz-search-engine";..const.B |
163d80 | 52 4f 57 53 45 52 5f 53 55 47 47 45 53 54 5f 50 52 45 46 20 3d 20 22 62 72 6f 77 73 65 72 2e 73 | ROWSER_SUGGEST_PREF.=."browser.s |
163da0 | 65 61 72 63 68 2e 73 75 67 67 65 73 74 2e 65 6e 61 62 6c 65 64 22 3b 0a 0a 76 61 72 20 67 45 6e | earch.suggest.enabled";..var.gEn |
163dc0 | 67 69 6e 65 56 69 65 77 20 3d 20 6e 75 6c 6c 3b 0a 0a 76 61 72 20 67 45 6e 67 69 6e 65 4d 61 6e | gineView.=.null;..var.gEngineMan |
163de0 | 61 67 65 72 44 69 61 6c 6f 67 20 3d 20 7b 0a 20 20 69 6e 69 74 3a 20 66 75 6e 63 74 69 6f 6e 20 | agerDialog.=.{...init:.function. |
163e00 | 65 6e 67 69 6e 65 4d 61 6e 61 67 65 72 5f 69 6e 69 74 28 29 20 7b 0a 20 20 20 20 67 45 6e 67 69 | engineManager_init().{.....gEngi |
163e20 | 6e 65 56 69 65 77 20 3d 20 6e 65 77 20 45 6e 67 69 6e 65 56 69 65 77 28 6e 65 77 20 45 6e 67 69 | neView.=.new.EngineView(new.Engi |
163e40 | 6e 65 53 74 6f 72 65 28 29 29 3b 0a 0a 20 20 20 20 76 61 72 20 70 72 65 66 53 65 72 76 69 63 65 | neStore());......var.prefService |
163e60 | 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 70 72 65 66 65 72 65 6e 63 65 73 2d | .=.Cc["@mozilla.org/preferences- |
163e80 | 73 65 72 76 69 63 65 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | service;1"]..................... |
163ea0 | 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 50 72 65 66 42 72 61 6e 63 68 29 3b | ...getService(Ci.nsIPrefBranch); |
163ec0 | 0a 20 20 20 20 76 61 72 20 73 75 67 67 65 73 74 45 6e 61 62 6c 65 64 20 3d 20 70 72 65 66 53 65 | .....var.suggestEnabled.=.prefSe |
163ee0 | 72 76 69 63 65 2e 67 65 74 42 6f 6f 6c 50 72 65 66 28 42 52 4f 57 53 45 52 5f 53 55 47 47 45 53 | rvice.getBoolPref(BROWSER_SUGGES |
163f00 | 54 5f 50 52 45 46 29 3b 0a 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 | T_PREF);.....document.getElement |
163f20 | 42 79 49 64 28 22 65 6e 61 62 6c 65 53 75 67 67 65 73 74 22 29 2e 63 68 65 63 6b 65 64 20 3d 20 | ById("enableSuggest").checked.=. |
163f40 | 73 75 67 67 65 73 74 45 6e 61 62 6c 65 64 3b 0a 0a 20 20 20 20 76 61 72 20 74 72 65 65 20 3d 20 | suggestEnabled;......var.tree.=. |
163f60 | 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 65 6e 67 69 6e 65 4c | document.getElementById("engineL |
163f80 | 69 73 74 22 29 3b 0a 20 20 20 20 74 72 65 65 2e 76 69 65 77 20 3d 20 67 45 6e 67 69 6e 65 56 69 | ist");.....tree.view.=.gEngineVi |
163fa0 | 65 77 3b 0a 0a 20 20 20 20 76 61 72 20 6f 73 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f | ew;......var.os.=.Cc["@mozilla.o |
163fc0 | 72 67 2f 6f 62 73 65 72 76 65 72 2d 73 65 72 76 69 63 65 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 | rg/observer-service;1"]......... |
163fe0 | 20 20 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 4f 62 73 65 72 76 65 72 53 | ......getService(Ci.nsIObserverS |
164000 | 65 72 76 69 63 65 29 3b 0a 20 20 20 20 6f 73 2e 61 64 64 4f 62 73 65 72 76 65 72 28 74 68 69 73 | ervice);.....os.addObserver(this |
164020 | 2c 20 22 62 72 6f 77 73 65 72 2d 73 65 61 72 63 68 2d 65 6e 67 69 6e 65 2d 6d 6f 64 69 66 69 65 | ,."browser-search-engine-modifie |
164040 | 64 22 2c 20 66 61 6c 73 65 29 3b 0a 20 20 7d 2c 0a 0a 20 20 6f 62 73 65 72 76 65 3a 20 66 75 6e | d",.false);...},....observe:.fun |
164060 | 63 74 69 6f 6e 20 65 6e 67 69 6e 65 4d 61 6e 61 67 65 72 5f 6f 62 73 65 72 76 65 28 61 45 6e 67 | ction.engineManager_observe(aEng |
164080 | 69 6e 65 2c 20 61 54 6f 70 69 63 2c 20 61 56 65 72 62 29 20 7b 0a 20 20 20 20 69 66 20 28 61 54 | ine,.aTopic,.aVerb).{.....if.(aT |
1640a0 | 6f 70 69 63 20 3d 3d 20 22 62 72 6f 77 73 65 72 2d 73 65 61 72 63 68 2d 65 6e 67 69 6e 65 2d 6d | opic.==."browser-search-engine-m |
1640c0 | 6f 64 69 66 69 65 64 22 29 20 7b 0a 20 20 20 20 20 20 61 45 6e 67 69 6e 65 2e 51 75 65 72 79 49 | odified").{.......aEngine.QueryI |
1640e0 | 6e 74 65 72 66 61 63 65 28 43 69 2e 6e 73 49 53 65 61 72 63 68 45 6e 67 69 6e 65 29 0a 20 20 20 | nterface(Ci.nsISearchEngine).... |
164100 | 20 20 20 73 77 69 74 63 68 20 28 61 56 65 72 62 29 20 7b 0a 20 20 20 20 20 20 63 61 73 65 20 22 | ...switch.(aVerb).{.......case." |
164120 | 65 6e 67 69 6e 65 2d 61 64 64 65 64 22 3a 0a 20 20 20 20 20 20 20 20 67 45 6e 67 69 6e 65 56 69 | engine-added":.........gEngineVi |
164140 | 65 77 2e 5f 65 6e 67 69 6e 65 53 74 6f 72 65 2e 61 64 64 45 6e 67 69 6e 65 28 61 45 6e 67 69 6e | ew._engineStore.addEngine(aEngin |
164160 | 65 29 3b 0a 20 20 20 20 20 20 20 20 67 45 6e 67 69 6e 65 56 69 65 77 2e 72 6f 77 43 6f 75 6e 74 | e);.........gEngineView.rowCount |
164180 | 43 68 61 6e 67 65 64 28 67 45 6e 67 69 6e 65 56 69 65 77 2e 6c 61 73 74 49 6e 64 65 78 2c 20 31 | Changed(gEngineView.lastIndex,.1 |
1641a0 | 29 3b 0a 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 63 61 73 65 20 22 65 6e | );.........break;.......case."en |
1641c0 | 67 69 6e 65 2d 63 68 61 6e 67 65 64 22 3a 0a 20 20 20 20 20 20 20 20 67 45 6e 67 69 6e 65 56 69 | gine-changed":.........gEngineVi |
1641e0 | 65 77 2e 5f 65 6e 67 69 6e 65 53 74 6f 72 65 2e 72 65 6c 6f 61 64 49 63 6f 6e 73 28 29 3b 0a 20 | ew._engineStore.reloadIcons();.. |
164200 | 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 63 61 73 65 20 22 65 6e 67 69 6e 65 | .......break;.......case."engine |
164220 | 2d 72 65 6d 6f 76 65 64 22 3a 0a 20 20 20 20 20 20 63 61 73 65 20 22 65 6e 67 69 6e 65 2d 63 75 | -removed":.......case."engine-cu |
164240 | 72 72 65 6e 74 22 3a 0a 20 20 20 20 20 20 20 20 2f 2f 20 4e 6f 74 20 72 65 6c 65 76 61 6e 74 0a | rrent":.........//.Not.relevant. |
164260 | 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 67 45 | ........return;.......}.......gE |
164280 | 6e 67 69 6e 65 56 69 65 77 2e 69 6e 76 61 6c 69 64 61 74 65 28 29 3b 0a 20 20 20 20 7d 0a 20 20 | ngineView.invalidate();.....}... |
1642a0 | 7d 2c 0a 0a 20 20 6f 6e 4f 4b 3a 20 66 75 6e 63 74 69 6f 6e 20 65 6e 67 69 6e 65 4d 61 6e 61 67 | },....onOK:.function.engineManag |
1642c0 | 65 72 5f 6f 6e 4f 4b 28 29 20 7b 0a 20 20 20 20 2f 2f 20 52 65 6d 6f 76 65 20 74 68 65 20 6f 62 | er_onOK().{.....//.Remove.the.ob |
1642e0 | 73 65 72 76 65 72 0a 20 20 20 20 76 61 72 20 6f 73 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 | server.....var.os.=.Cc["@mozilla |
164300 | 2e 6f 72 67 2f 6f 62 73 65 72 76 65 72 2d 73 65 72 76 69 63 65 3b 31 22 5d 2e 0a 20 20 20 20 20 | .org/observer-service;1"]....... |
164320 | 20 20 20 20 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 4f 62 73 65 72 76 65 | ........getService(Ci.nsIObserve |
164340 | 72 53 65 72 76 69 63 65 29 3b 0a 20 20 20 20 6f 73 2e 72 65 6d 6f 76 65 4f 62 73 65 72 76 65 72 | rService);.....os.removeObserver |
164360 | 28 74 68 69 73 2c 20 22 62 72 6f 77 73 65 72 2d 73 65 61 72 63 68 2d 65 6e 67 69 6e 65 2d 6d 6f | (this,."browser-search-engine-mo |
164380 | 64 69 66 69 65 64 22 29 3b 0a 0a 20 20 20 20 2f 2f 20 53 65 74 20 74 68 65 20 70 72 65 66 65 72 | dified");......//.Set.the.prefer |
1643a0 | 65 6e 63 65 0a 20 20 20 20 76 61 72 20 6e 65 77 53 75 67 67 65 73 74 45 6e 61 62 6c 65 64 20 3d | ence.....var.newSuggestEnabled.= |
1643c0 | 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 65 6e 61 62 6c 65 | .document.getElementById("enable |
1643e0 | 53 75 67 67 65 73 74 22 29 2e 63 68 65 63 6b 65 64 3b 0a 20 20 20 20 76 61 72 20 70 72 65 66 53 | Suggest").checked;.....var.prefS |
164400 | 65 72 76 69 63 65 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 70 72 65 66 65 72 | ervice.=.Cc["@mozilla.org/prefer |
164420 | 65 6e 63 65 73 2d 73 65 72 76 69 63 65 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ences-service;1"]............... |
164440 | 20 20 20 20 20 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 50 72 65 66 42 72 | .........getService(Ci.nsIPrefBr |
164460 | 61 6e 63 68 29 3b 0a 20 20 20 20 70 72 65 66 53 65 72 76 69 63 65 2e 73 65 74 42 6f 6f 6c 50 72 | anch);.....prefService.setBoolPr |
164480 | 65 66 28 42 52 4f 57 53 45 52 5f 53 55 47 47 45 53 54 5f 50 52 45 46 2c 20 6e 65 77 53 75 67 67 | ef(BROWSER_SUGGEST_PREF,.newSugg |
1644a0 | 65 73 74 45 6e 61 62 6c 65 64 29 3b 0a 0a 20 20 20 20 2f 2f 20 43 6f 6d 6d 69 74 20 74 68 65 20 | estEnabled);......//.Commit.the. |
1644c0 | 63 68 61 6e 67 65 73 0a 20 20 20 20 67 45 6e 67 69 6e 65 56 69 65 77 2e 5f 65 6e 67 69 6e 65 53 | changes.....gEngineView._engineS |
1644e0 | 74 6f 72 65 2e 63 6f 6d 6d 69 74 28 29 3b 0a 20 20 7d 2c 0a 20 20 0a 20 20 6f 6e 43 61 6e 63 65 | tore.commit();...},......onCance |
164500 | 6c 3a 20 66 75 6e 63 74 69 6f 6e 20 65 6e 67 69 6e 65 4d 61 6e 61 67 65 72 5f 6f 6e 43 61 6e 63 | l:.function.engineManager_onCanc |
164520 | 65 6c 28 29 20 7b 0a 20 20 20 20 2f 2f 20 52 65 6d 6f 76 65 20 74 68 65 20 6f 62 73 65 72 76 65 | el().{.....//.Remove.the.observe |
164540 | 72 0a 20 20 20 20 76 61 72 20 6f 73 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f | r.....var.os.=.Cc["@mozilla.org/ |
164560 | 6f 62 73 65 72 76 65 72 2d 73 65 72 76 69 63 65 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 | observer-service;1"]............ |
164580 | 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 4f 62 73 65 72 76 65 72 53 65 72 76 | ...getService(Ci.nsIObserverServ |
1645a0 | 69 63 65 29 3b 0a 20 20 20 20 6f 73 2e 72 65 6d 6f 76 65 4f 62 73 65 72 76 65 72 28 74 68 69 73 | ice);.....os.removeObserver(this |
1645c0 | 2c 20 22 62 72 6f 77 73 65 72 2d 73 65 61 72 63 68 2d 65 6e 67 69 6e 65 2d 6d 6f 64 69 66 69 65 | ,."browser-search-engine-modifie |
1645e0 | 64 22 29 3b 0a 20 20 7d 2c 0a 0a 20 20 6f 6e 52 65 73 74 6f 72 65 44 65 66 61 75 6c 74 73 3a 20 | d");...},....onRestoreDefaults:. |
164600 | 66 75 6e 63 74 69 6f 6e 20 65 6e 67 69 6e 65 4d 61 6e 61 67 65 72 5f 6f 6e 52 65 73 74 6f 72 65 | function.engineManager_onRestore |
164620 | 44 65 66 61 75 6c 74 73 28 29 20 7b 0a 20 20 20 20 76 61 72 20 6e 75 6d 20 3d 20 67 45 6e 67 69 | Defaults().{.....var.num.=.gEngi |
164640 | 6e 65 56 69 65 77 2e 5f 65 6e 67 69 6e 65 53 74 6f 72 65 2e 72 65 73 74 6f 72 65 44 65 66 61 75 | neView._engineStore.restoreDefau |
164660 | 6c 74 45 6e 67 69 6e 65 73 28 29 3b 0a 20 20 20 20 67 45 6e 67 69 6e 65 56 69 65 77 2e 72 6f 77 | ltEngines();.....gEngineView.row |
164680 | 43 6f 75 6e 74 43 68 61 6e 67 65 64 28 30 2c 20 6e 75 6d 29 3b 0a 20 20 20 20 67 45 6e 67 69 6e | CountChanged(0,.num);.....gEngin |
1646a0 | 65 56 69 65 77 2e 69 6e 76 61 6c 69 64 61 74 65 28 29 3b 0a 20 20 7d 2c 0a 0a 20 20 73 68 6f 77 | eView.invalidate();...},....show |
1646c0 | 52 65 73 74 6f 72 65 44 65 66 61 75 6c 74 73 3a 20 66 75 6e 63 74 69 6f 6e 20 65 6e 67 69 6e 65 | RestoreDefaults:.function.engine |
1646e0 | 4d 61 6e 61 67 65 72 5f 73 68 6f 77 52 65 73 74 6f 72 65 44 65 66 61 75 6c 74 73 28 76 61 6c 29 | Manager_showRestoreDefaults(val) |
164700 | 20 7b 0a 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 64 6f 63 75 6d 65 6e 74 45 6c 65 6d 65 6e 74 2e | .{.....document.documentElement. |
164720 | 67 65 74 42 75 74 74 6f 6e 28 22 65 78 74 72 61 32 22 29 2e 64 69 73 61 62 6c 65 64 20 3d 20 21 | getButton("extra2").disabled.=.! |
164740 | 76 61 6c 3b 0a 20 20 7d 2c 0a 0a 20 20 6c 6f 61 64 41 64 64 45 6e 67 69 6e 65 73 3a 20 66 75 6e | val;...},....loadAddEngines:.fun |
164760 | 63 74 69 6f 6e 20 65 6e 67 69 6e 65 4d 61 6e 61 67 65 72 5f 6c 6f 61 64 41 64 64 45 6e 67 69 6e | ction.engineManager_loadAddEngin |
164780 | 65 73 28 29 20 7b 0a 20 20 20 20 74 68 69 73 2e 6f 6e 4f 4b 28 29 3b 0a 20 20 20 20 77 69 6e 64 | es().{.....this.onOK();.....wind |
1647a0 | 6f 77 2e 6f 70 65 6e 65 72 2e 42 72 6f 77 73 65 72 53 65 61 72 63 68 2e 6c 6f 61 64 41 64 64 45 | ow.opener.BrowserSearch.loadAddE |
1647c0 | 6e 67 69 6e 65 73 28 29 3b 0a 20 20 20 20 77 69 6e 64 6f 77 2e 63 6c 6f 73 65 28 29 3b 0a 20 20 | ngines();.....window.close();... |
1647e0 | 7d 2c 0a 0a 20 20 72 65 6d 6f 76 65 3a 20 66 75 6e 63 74 69 6f 6e 20 65 6e 67 69 6e 65 4d 61 6e | },....remove:.function.engineMan |
164800 | 61 67 65 72 5f 72 65 6d 6f 76 65 28 29 20 7b 0a 20 20 20 20 67 45 6e 67 69 6e 65 56 69 65 77 2e | ager_remove().{.....gEngineView. |
164820 | 5f 65 6e 67 69 6e 65 53 74 6f 72 65 2e 72 65 6d 6f 76 65 45 6e 67 69 6e 65 28 67 45 6e 67 69 6e | _engineStore.removeEngine(gEngin |
164840 | 65 56 69 65 77 2e 73 65 6c 65 63 74 65 64 45 6e 67 69 6e 65 29 3b 0a 20 20 20 20 76 61 72 20 69 | eView.selectedEngine);.....var.i |
164860 | 6e 64 65 78 20 3d 20 67 45 6e 67 69 6e 65 56 69 65 77 2e 73 65 6c 65 63 74 65 64 49 6e 64 65 78 | ndex.=.gEngineView.selectedIndex |
164880 | 3b 0a 20 20 20 20 67 45 6e 67 69 6e 65 56 69 65 77 2e 72 6f 77 43 6f 75 6e 74 43 68 61 6e 67 65 | ;.....gEngineView.rowCountChange |
1648a0 | 64 28 69 6e 64 65 78 2c 20 2d 31 29 3b 0a 20 20 20 20 67 45 6e 67 69 6e 65 56 69 65 77 2e 69 6e | d(index,.-1);.....gEngineView.in |
1648c0 | 76 61 6c 69 64 61 74 65 28 29 3b 0a 20 20 20 20 67 45 6e 67 69 6e 65 56 69 65 77 2e 73 65 6c 65 | validate();.....gEngineView.sele |
1648e0 | 63 74 69 6f 6e 2e 73 65 6c 65 63 74 28 4d 61 74 68 2e 6d 69 6e 28 69 6e 64 65 78 2c 20 67 45 6e | ction.select(Math.min(index,.gEn |
164900 | 67 69 6e 65 56 69 65 77 2e 6c 61 73 74 49 6e 64 65 78 29 29 3b 0a 20 20 20 20 67 45 6e 67 69 6e | gineView.lastIndex));.....gEngin |
164920 | 65 56 69 65 77 2e 65 6e 73 75 72 65 52 6f 77 49 73 56 69 73 69 62 6c 65 28 4d 61 74 68 2e 6d 69 | eView.ensureRowIsVisible(Math.mi |
164940 | 6e 28 69 6e 64 65 78 2c 20 67 45 6e 67 69 6e 65 56 69 65 77 2e 6c 61 73 74 49 6e 64 65 78 29 29 | n(index,.gEngineView.lastIndex)) |
164960 | 3b 0a 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 65 | ;.....document.getElementById("e |
164980 | 6e 67 69 6e 65 4c 69 73 74 22 29 2e 66 6f 63 75 73 28 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a | ngineList").focus();...},..../** |
1649a0 | 0a 20 20 20 2a 20 4d 6f 76 65 73 20 74 68 65 20 73 65 6c 65 63 74 65 64 20 65 6e 67 69 6e 65 20 | ....*.Moves.the.selected.engine. |
1649c0 | 65 69 74 68 65 72 20 75 70 20 6f 72 20 64 6f 77 6e 20 69 6e 20 74 68 65 20 65 6e 67 69 6e 65 20 | either.up.or.down.in.the.engine. |
1649e0 | 6c 69 73 74 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 61 44 69 72 0a 20 20 20 2a 20 20 20 20 20 20 | list....*.@param.aDir....*...... |
164a00 | 20 20 2d 31 20 74 6f 20 6d 6f 76 65 20 74 68 65 20 73 65 6c 65 63 74 65 64 20 65 6e 67 69 6e 65 | ..-1.to.move.the.selected.engine |
164a20 | 20 64 6f 77 6e 2c 20 2b 31 20 74 6f 20 6d 6f 76 65 20 69 74 20 75 70 2e 0a 20 20 20 2a 2f 0a 20 | .down,.+1.to.move.it.up.....*/.. |
164a40 | 20 62 75 6d 70 3a 20 66 75 6e 63 74 69 6f 6e 20 65 6e 67 69 6e 65 4d 61 6e 61 67 65 72 5f 6d 6f | .bump:.function.engineManager_mo |
164a60 | 76 65 28 61 44 69 72 29 20 7b 0a 20 20 20 20 76 61 72 20 73 65 6c 65 63 74 65 64 45 6e 67 69 6e | ve(aDir).{.....var.selectedEngin |
164a80 | 65 20 3d 20 67 45 6e 67 69 6e 65 56 69 65 77 2e 73 65 6c 65 63 74 65 64 45 6e 67 69 6e 65 3b 0a | e.=.gEngineView.selectedEngine;. |
164aa0 | 20 20 20 20 76 61 72 20 6e 65 77 49 6e 64 65 78 20 3d 20 67 45 6e 67 69 6e 65 56 69 65 77 2e 73 | ....var.newIndex.=.gEngineView.s |
164ac0 | 65 6c 65 63 74 65 64 49 6e 64 65 78 20 2d 20 61 44 69 72 3b 0a 0a 20 20 20 20 67 45 6e 67 69 6e | electedIndex.-.aDir;......gEngin |
164ae0 | 65 56 69 65 77 2e 5f 65 6e 67 69 6e 65 53 74 6f 72 65 2e 6d 6f 76 65 45 6e 67 69 6e 65 28 73 65 | eView._engineStore.moveEngine(se |
164b00 | 6c 65 63 74 65 64 45 6e 67 69 6e 65 2c 20 6e 65 77 49 6e 64 65 78 29 3b 0a 0a 20 20 20 20 67 45 | lectedEngine,.newIndex);......gE |
164b20 | 6e 67 69 6e 65 56 69 65 77 2e 69 6e 76 61 6c 69 64 61 74 65 28 29 3b 0a 20 20 20 20 67 45 6e 67 | ngineView.invalidate();.....gEng |
164b40 | 69 6e 65 56 69 65 77 2e 73 65 6c 65 63 74 69 6f 6e 2e 73 65 6c 65 63 74 28 6e 65 77 49 6e 64 65 | ineView.selection.select(newInde |
164b60 | 78 29 3b 0a 20 20 20 20 67 45 6e 67 69 6e 65 56 69 65 77 2e 65 6e 73 75 72 65 52 6f 77 49 73 56 | x);.....gEngineView.ensureRowIsV |
164b80 | 69 73 69 62 6c 65 28 6e 65 77 49 6e 64 65 78 29 3b 0a 20 20 20 20 74 68 69 73 2e 73 68 6f 77 52 | isible(newIndex);.....this.showR |
164ba0 | 65 73 74 6f 72 65 44 65 66 61 75 6c 74 73 28 74 72 75 65 29 3b 0a 20 20 20 20 64 6f 63 75 6d 65 | estoreDefaults(true);.....docume |
164bc0 | 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 65 6e 67 69 6e 65 4c 69 73 74 22 29 2e | nt.getElementById("engineList"). |
164be0 | 66 6f 63 75 73 28 29 3b 0a 20 20 7d 2c 0a 0a 20 20 65 64 69 74 4b 65 79 77 6f 72 64 3a 20 66 75 | focus();...},....editKeyword:.fu |
164c00 | 6e 63 74 69 6f 6e 20 65 6e 67 69 6e 65 4d 61 6e 61 67 65 72 5f 65 64 69 74 4b 65 79 77 6f 72 64 | nction.engineManager_editKeyword |
164c20 | 28 29 20 7b 0a 20 20 20 20 76 61 72 20 73 65 6c 65 63 74 65 64 45 6e 67 69 6e 65 20 3d 20 67 45 | ().{.....var.selectedEngine.=.gE |
164c40 | 6e 67 69 6e 65 56 69 65 77 2e 73 65 6c 65 63 74 65 64 45 6e 67 69 6e 65 3b 0a 20 20 20 20 69 66 | ngineView.selectedEngine;.....if |
164c60 | 20 28 21 73 65 6c 65 63 74 65 64 45 6e 67 69 6e 65 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b | .(!selectedEngine).......return; |
164c80 | 0a 0a 20 20 20 20 76 61 72 20 70 72 6f 6d 70 74 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e | ......var.prompt.=.Cc["@mozilla. |
164ca0 | 6f 72 67 2f 65 6d 62 65 64 63 6f 6d 70 2f 70 72 6f 6d 70 74 2d 73 65 72 76 69 63 65 3b 31 22 5d | org/embedcomp/prompt-service;1"] |
164cc0 | 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 69 | ...................getService(Ci |
164ce0 | 2e 6e 73 49 50 72 6f 6d 70 74 53 65 72 76 69 63 65 29 3b 0a 20 20 20 20 76 61 72 20 61 6c 69 61 | .nsIPromptService);.....var.alia |
164d00 | 73 20 3d 20 7b 20 76 61 6c 75 65 3a 20 73 65 6c 65 63 74 65 64 45 6e 67 69 6e 65 2e 61 6c 69 61 | s.=.{.value:.selectedEngine.alia |
164d20 | 73 20 7d 3b 0a 20 20 20 20 76 61 72 20 73 74 72 69 6e 67 73 20 3d 20 64 6f 63 75 6d 65 6e 74 2e | s.};.....var.strings.=.document. |
164d40 | 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 65 6e 67 69 6e 65 4d 61 6e 61 67 65 72 42 75 6e | getElementById("engineManagerBun |
164d60 | 64 6c 65 22 29 3b 0a 20 20 20 20 76 61 72 20 74 69 74 6c 65 20 3d 20 73 74 72 69 6e 67 73 2e 67 | dle");.....var.title.=.strings.g |
164d80 | 65 74 53 74 72 69 6e 67 28 22 65 64 69 74 54 69 74 6c 65 22 29 3b 0a 20 20 20 20 76 61 72 20 6d | etString("editTitle");.....var.m |
164da0 | 73 67 20 3d 20 73 74 72 69 6e 67 73 2e 67 65 74 46 6f 72 6d 61 74 74 65 64 53 74 72 69 6e 67 28 | sg.=.strings.getFormattedString( |
164dc0 | 22 65 64 69 74 4d 73 67 22 2c 20 5b 73 65 6c 65 63 74 65 64 45 6e 67 69 6e 65 2e 6e 61 6d 65 5d | "editMsg",.[selectedEngine.name] |
164de0 | 29 3b 0a 0a 20 20 20 20 77 68 69 6c 65 20 28 70 72 6f 6d 70 74 2e 70 72 6f 6d 70 74 28 77 69 6e | );......while.(prompt.prompt(win |
164e00 | 64 6f 77 2c 20 74 69 74 6c 65 2c 20 6d 73 67 2c 20 61 6c 69 61 73 2c 20 6e 75 6c 6c 2c 20 7b 20 | dow,.title,.msg,.alias,.null,.{. |
164e20 | 7d 29 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 62 64 75 70 6c 69 63 61 74 65 20 3d 20 66 61 6c | })).{.......var.bduplicate.=.fal |
164e40 | 73 65 3b 0a 20 20 20 20 20 20 76 61 72 20 65 64 75 70 6c 69 63 61 74 65 20 3d 20 66 61 6c 73 65 | se;.......var.eduplicate.=.false |
164e60 | 3b 0a 0a 20 20 20 20 20 20 69 66 20 28 61 6c 69 61 73 2e 76 61 6c 75 65 20 21 3d 20 22 22 29 20 | ;........if.(alias.value.!=.""). |
164e80 | 7b 0a 20 20 20 20 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 20 20 20 20 6c 65 74 20 62 6d | {.........try.{...........let.bm |
164ea0 | 73 65 72 76 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 62 72 6f 77 73 65 72 2f | serv.=.Cc["@mozilla.org/browser/ |
164ec0 | 6e 61 76 2d 62 6f 6f 6b 6d 61 72 6b 73 2d 73 65 72 76 69 63 65 3b 31 22 5d 2e 0a 20 20 20 20 20 | nav-bookmarks-service;1"]....... |
164ee0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 69 2e | ..................getService(Ci. |
164f00 | 6e 73 49 4e 61 76 42 6f 6f 6b 6d 61 72 6b 73 53 65 72 76 69 63 65 29 3b 0a 20 20 20 20 20 20 20 | nsINavBookmarksService);........ |
164f20 | 20 20 20 69 66 20 28 62 6d 73 65 72 76 2e 67 65 74 55 52 49 46 6f 72 4b 65 79 77 6f 72 64 28 61 | ...if.(bmserv.getURIForKeyword(a |
164f40 | 6c 69 61 73 2e 76 61 6c 75 65 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 62 64 75 70 6c 69 63 | lias.value)).............bduplic |
164f60 | 61 74 65 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 7d 20 63 61 74 63 68 28 65 78 29 20 | ate.=.true;.........}.catch(ex). |
164f80 | 7b 7d 0a 0a 20 20 20 20 20 20 20 20 2f 2f 20 43 68 65 63 6b 20 66 6f 72 20 64 75 70 6c 69 63 61 | {}..........//.Check.for.duplica |
164fa0 | 74 65 73 20 69 6e 20 63 68 61 6e 67 65 73 20 77 65 20 68 61 76 65 6e 27 74 20 63 6f 6d 6d 69 74 | tes.in.changes.we.haven't.commit |
164fc0 | 74 65 64 20 79 65 74 0a 20 20 20 20 20 20 20 20 6c 65 74 20 65 6e 67 69 6e 65 73 20 3d 20 67 45 | ted.yet.........let.engines.=.gE |
164fe0 | 6e 67 69 6e 65 56 69 65 77 2e 5f 65 6e 67 69 6e 65 53 74 6f 72 65 2e 65 6e 67 69 6e 65 73 3b 0a | ngineView._engineStore.engines;. |
165000 | 20 20 20 20 20 20 20 20 66 6f 72 20 65 61 63 68 20 28 6c 65 74 20 65 6e 67 69 6e 65 20 69 6e 20 | ........for.each.(let.engine.in. |
165020 | 65 6e 67 69 6e 65 73 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 65 6e 67 69 6e 65 2e | engines).{...........if.(engine. |
165040 | 61 6c 69 61 73 20 3d 3d 20 61 6c 69 61 73 2e 76 61 6c 75 65 20 26 26 20 0a 20 20 20 20 20 20 20 | alias.==.alias.value.&&......... |
165060 | 20 20 20 20 20 20 20 65 6e 67 69 6e 65 2e 6e 61 6d 65 20 21 3d 20 73 65 6c 65 63 74 65 64 45 6e | .......engine.name.!=.selectedEn |
165080 | 67 69 6e 65 2e 6e 61 6d 65 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 65 64 75 70 6c 69 63 | gine.name).{.............eduplic |
1650a0 | 61 74 65 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 | ate.=.true;.............break;.. |
1650c0 | 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 7d 0a 0a 20 20 | .........}.........}.......}.... |
1650e0 | 20 20 20 20 2f 2f 20 4e 6f 74 69 66 79 20 74 68 65 20 75 73 65 72 20 69 66 20 74 68 65 79 20 68 | ....//.Notify.the.user.if.they.h |
165100 | 61 76 65 20 63 68 6f 73 65 6e 20 61 6e 20 65 78 69 73 74 69 6e 67 20 65 6e 67 69 6e 65 2f 62 6f | ave.chosen.an.existing.engine/bo |
165120 | 6f 6b 6d 61 72 6b 20 6b 65 79 77 6f 72 64 0a 20 20 20 20 20 20 69 66 20 28 65 64 75 70 6c 69 63 | okmark.keyword.......if.(eduplic |
165140 | 61 74 65 20 7c 7c 20 62 64 75 70 6c 69 63 61 74 65 29 20 7b 0a 20 20 20 20 20 20 20 20 76 61 72 | ate.||.bduplicate).{.........var |
165160 | 20 64 74 69 74 6c 65 20 3d 20 73 74 72 69 6e 67 73 2e 67 65 74 53 74 72 69 6e 67 28 22 64 75 70 | .dtitle.=.strings.getString("dup |
165180 | 6c 69 63 61 74 65 54 69 74 6c 65 22 29 3b 0a 20 20 20 20 20 20 20 20 76 61 72 20 62 6d 73 67 20 | licateTitle");.........var.bmsg. |
1651a0 | 3d 20 73 74 72 69 6e 67 73 2e 67 65 74 53 74 72 69 6e 67 28 22 64 75 70 6c 69 63 61 74 65 42 6f | =.strings.getString("duplicateBo |
1651c0 | 6f 6b 6d 61 72 6b 4d 73 67 22 29 3b 0a 20 20 20 20 20 20 20 20 76 61 72 20 65 6d 73 67 20 3d 20 | okmarkMsg");.........var.emsg.=. |
1651e0 | 73 74 72 69 6e 67 73 2e 67 65 74 46 6f 72 6d 61 74 74 65 64 53 74 72 69 6e 67 28 22 64 75 70 6c | strings.getFormattedString("dupl |
165200 | 69 63 61 74 65 45 6e 67 69 6e 65 4d 73 67 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | icateEngineMsg",................ |
165220 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 5b | ...............................[ |
165240 | 65 6e 67 69 6e 65 2e 6e 61 6d 65 5d 29 3b 0a 0a 20 20 20 20 20 20 20 20 70 72 6f 6d 70 74 2e 61 | engine.name]);..........prompt.a |
165260 | 6c 65 72 74 28 77 69 6e 64 6f 77 2c 20 64 74 69 74 6c 65 2c 20 28 65 64 75 70 6c 69 63 61 74 65 | lert(window,.dtitle,.(eduplicate |
165280 | 29 20 3f 20 65 6d 73 67 20 3a 20 62 6d 73 67 29 3b 0a 20 20 20 20 20 20 7d 20 65 6c 73 65 20 7b | ).?.emsg.:.bmsg);.......}.else.{ |
1652a0 | 0a 20 20 20 20 20 20 20 20 67 45 6e 67 69 6e 65 56 69 65 77 2e 5f 65 6e 67 69 6e 65 53 74 6f 72 | .........gEngineView._engineStor |
1652c0 | 65 2e 63 68 61 6e 67 65 45 6e 67 69 6e 65 28 73 65 6c 65 63 74 65 64 45 6e 67 69 6e 65 2c 20 22 | e.changeEngine(selectedEngine,." |
1652e0 | 61 6c 69 61 73 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | alias",......................... |
165300 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 6c 69 61 73 2e 76 61 6c 75 | ......................alias.valu |
165320 | 65 29 3b 0a 20 20 20 20 20 20 20 20 67 45 6e 67 69 6e 65 56 69 65 77 2e 69 6e 76 61 6c 69 64 61 | e);.........gEngineView.invalida |
165340 | 74 65 28 29 3b 0a 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 | te();.........break;.......}.... |
165360 | 20 7d 0a 20 20 7d 2c 0a 0a 20 20 6f 6e 53 65 6c 65 63 74 3a 20 66 75 6e 63 74 69 6f 6e 20 65 6e | .}...},....onSelect:.function.en |
165380 | 67 69 6e 65 4d 61 6e 61 67 65 72 5f 6f 6e 53 65 6c 65 63 74 28 29 20 7b 0a 20 20 20 20 2f 2f 20 | gineManager_onSelect().{.....//. |
1653a0 | 62 75 74 74 6f 6e 73 20 6f 6e 6c 79 20 77 6f 72 6b 20 69 66 20 61 6e 20 65 6e 67 69 6e 65 20 69 | buttons.only.work.if.an.engine.i |
1653c0 | 73 20 73 65 6c 65 63 74 65 64 20 61 6e 64 20 69 74 27 73 20 6e 6f 74 20 74 68 65 20 6c 61 73 74 | s.selected.and.it's.not.the.last |
1653e0 | 20 65 6e 67 69 6e 65 0a 20 20 20 20 76 61 72 20 64 69 73 61 62 6c 65 42 75 74 74 6f 6e 73 20 3d | .engine.....var.disableButtons.= |
165400 | 20 28 67 45 6e 67 69 6e 65 56 69 65 77 2e 73 65 6c 65 63 74 65 64 49 6e 64 65 78 20 3d 3d 20 2d | .(gEngineView.selectedIndex.==.- |
165420 | 31 29 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 | 1).||..........................( |
165440 | 67 45 6e 67 69 6e 65 56 69 65 77 2e 6c 61 73 74 49 6e 64 65 78 20 3d 3d 20 30 29 3b 0a 20 20 20 | gEngineView.lastIndex.==.0);.... |
165460 | 20 76 61 72 20 6c 61 73 74 53 65 6c 65 63 74 65 64 20 3d 20 28 67 45 6e 67 69 6e 65 56 69 65 77 | .var.lastSelected.=.(gEngineView |
165480 | 2e 73 65 6c 65 63 74 65 64 49 6e 64 65 78 20 3d 3d 20 67 45 6e 67 69 6e 65 56 69 65 77 2e 6c 61 | .selectedIndex.==.gEngineView.la |
1654a0 | 73 74 49 6e 64 65 78 29 3b 0a 20 20 20 20 76 61 72 20 66 69 72 73 74 53 65 6c 65 63 74 65 64 20 | stIndex);.....var.firstSelected. |
1654c0 | 3d 20 28 67 45 6e 67 69 6e 65 56 69 65 77 2e 73 65 6c 65 63 74 65 64 49 6e 64 65 78 20 3d 3d 20 | =.(gEngineView.selectedIndex.==. |
1654e0 | 30 29 3b 0a 20 20 20 20 76 61 72 20 6e 6f 53 65 6c 65 63 74 69 6f 6e 20 3d 20 28 67 45 6e 67 69 | 0);.....var.noSelection.=.(gEngi |
165500 | 6e 65 56 69 65 77 2e 73 65 6c 65 63 74 65 64 49 6e 64 65 78 20 3d 3d 20 2d 31 29 3b 0a 0a 20 20 | neView.selectedIndex.==.-1);.... |
165520 | 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 63 6d 64 5f 72 | ..document.getElementById("cmd_r |
165540 | 65 6d 6f 76 65 22 29 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 64 69 73 61 62 6c 65 64 22 2c | emove").setAttribute("disabled", |
165560 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
165580 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 69 73 61 62 6c 65 42 | ........................disableB |
1655a0 | 75 74 74 6f 6e 73 29 3b 0a 0a 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e | uttons);......document.getElemen |
1655c0 | 74 42 79 49 64 28 22 63 6d 64 5f 6d 6f 76 65 75 70 22 29 2e 73 65 74 41 74 74 72 69 62 75 74 65 | tById("cmd_moveup").setAttribute |
1655e0 | 28 22 64 69 73 61 62 6c 65 64 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ("disabled",.................... |
165600 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 69 73 61 62 6c 65 | .........................disable |
165620 | 42 75 74 74 6f 6e 73 20 7c 7c 20 66 69 72 73 74 53 65 6c 65 63 74 65 64 29 3b 0a 0a 20 20 20 20 | Buttons.||.firstSelected);...... |
165640 | 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 63 6d 64 5f 6d 6f 76 | document.getElementById("cmd_mov |
165660 | 65 64 6f 77 6e 22 29 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 64 69 73 61 62 6c 65 64 22 2c | edown").setAttribute("disabled", |
165680 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
1656a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 69 73 61 62 6c 65 42 75 74 74 6f 6e 73 20 7c 7c 20 | ..............disableButtons.||. |
1656c0 | 6c 61 73 74 53 65 6c 65 63 74 65 64 29 3b 0a 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 | lastSelected);.....document.getE |
1656e0 | 6c 65 6d 65 6e 74 42 79 49 64 28 22 63 6d 64 5f 65 64 69 74 6b 65 79 77 6f 72 64 22 29 2e 73 65 | lementById("cmd_editkeyword").se |
165700 | 74 41 74 74 72 69 62 75 74 65 28 22 64 69 73 61 62 6c 65 64 22 2c 0a 20 20 20 20 20 20 20 20 20 | tAttribute("disabled",.......... |
165720 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
165740 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 6f 53 65 6c 65 63 74 69 6f 6e 29 3b | ...................noSelection); |
165760 | 0a 20 20 7d 0a 7d 3b 0a 0a 76 61 72 20 67 44 72 61 67 4f 62 73 65 72 76 65 72 20 3d 20 7b 0a 20 | ...}.};..var.gDragObserver.=.{.. |
165780 | 20 6f 6e 44 72 61 67 53 74 61 72 74 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 45 76 65 6e 74 2c 20 | .onDragStart:.function.(aEvent,. |
1657a0 | 61 58 66 65 72 44 61 74 61 2c 20 61 44 72 61 67 41 63 74 69 6f 6e 29 20 7b 0a 20 20 20 20 76 61 | aXferData,.aDragAction).{.....va |
1657c0 | 72 20 73 65 6c 65 63 74 65 64 49 6e 64 65 78 20 3d 20 67 45 6e 67 69 6e 65 56 69 65 77 2e 73 65 | r.selectedIndex.=.gEngineView.se |
1657e0 | 6c 65 63 74 65 64 49 6e 64 65 78 3b 0a 20 20 20 20 69 66 20 28 73 65 6c 65 63 74 65 64 49 6e 64 | lectedIndex;.....if.(selectedInd |
165800 | 65 78 20 3d 3d 20 2d 31 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 20 20 61 58 66 | ex.==.-1).......return;......aXf |
165820 | 65 72 44 61 74 61 2e 64 61 74 61 20 3d 20 6e 65 77 20 54 72 61 6e 73 66 65 72 44 61 74 61 28 29 | erData.data.=.new.TransferData() |
165840 | 3b 0a 20 20 20 20 61 58 66 65 72 44 61 74 61 2e 64 61 74 61 2e 61 64 64 44 61 74 61 46 6f 72 46 | ;.....aXferData.data.addDataForF |
165860 | 6c 61 76 6f 75 72 28 45 4e 47 49 4e 45 5f 46 4c 41 56 4f 52 2c 20 73 65 6c 65 63 74 65 64 49 6e | lavour(ENGINE_FLAVOR,.selectedIn |
165880 | 64 65 78 2e 74 6f 53 74 72 69 6e 67 28 29 29 3b 0a 0a 20 20 20 20 61 44 72 61 67 41 63 74 69 6f | dex.toString());......aDragActio |
1658a0 | 6e 2e 61 63 74 69 6f 6e 20 3d 20 43 69 2e 6e 73 49 44 72 61 67 53 65 72 76 69 63 65 2e 44 52 41 | n.action.=.Ci.nsIDragService.DRA |
1658c0 | 47 44 52 4f 50 5f 41 43 54 49 4f 4e 5f 4d 4f 56 45 3b 0a 20 20 7d 2c 0a 20 20 6f 6e 44 72 6f 70 | GDROP_ACTION_MOVE;...},...onDrop |
1658e0 | 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 45 76 65 6e 74 2c 20 61 58 66 65 72 44 61 74 61 2c 20 61 | :.function.(aEvent,.aXferData,.a |
165900 | 44 72 61 67 53 65 73 73 69 6f 6e 29 20 7b 20 7d 2c 0a 20 20 6f 6e 44 72 61 67 45 78 69 74 3a 20 | DragSession).{.},...onDragExit:. |
165920 | 66 75 6e 63 74 69 6f 6e 20 28 61 45 76 65 6e 74 2c 20 61 44 72 61 67 53 65 73 73 69 6f 6e 29 20 | function.(aEvent,.aDragSession). |
165940 | 7b 20 7d 2c 0a 20 20 6f 6e 44 72 61 67 4f 76 65 72 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 45 76 | {.},...onDragOver:.function.(aEv |
165960 | 65 6e 74 2c 20 61 46 6c 61 76 6f 75 72 2c 20 61 44 72 61 67 53 65 73 73 69 6f 6e 29 20 7b 20 7d | ent,.aFlavour,.aDragSession).{.} |
165980 | 2c 0a 20 20 67 65 74 53 75 70 70 6f 72 74 65 64 46 6c 61 76 6f 75 72 73 3a 20 66 75 6e 63 74 69 | ,...getSupportedFlavours:.functi |
1659a0 | 6f 6e 28 29 20 7b 20 72 65 74 75 72 6e 20 6e 75 6c 6c 3b 20 7d 0a 7d 3b 0a 0a 2f 2f 20 22 4f 70 | on().{.return.null;.}.};..//."Op |
1659c0 | 65 72 61 74 69 6f 6e 22 20 6f 62 6a 65 63 74 73 0a 66 75 6e 63 74 69 6f 6e 20 45 6e 67 69 6e 65 | eration".objects.function.Engine |
1659e0 | 4d 6f 76 65 4f 70 28 61 45 6e 67 69 6e 65 43 6c 6f 6e 65 2c 20 61 4e 65 77 49 6e 64 65 78 29 20 | MoveOp(aEngineClone,.aNewIndex). |
165a00 | 7b 0a 20 20 69 66 20 28 21 61 45 6e 67 69 6e 65 43 6c 6f 6e 65 29 0a 20 20 20 20 74 68 72 6f 77 | {...if.(!aEngineClone).....throw |
165a20 | 20 6e 65 77 20 45 72 72 6f 72 28 22 62 61 64 20 61 72 67 73 20 74 6f 20 6e 65 77 20 45 6e 67 69 | .new.Error("bad.args.to.new.Engi |
165a40 | 6e 65 4d 6f 76 65 4f 70 21 22 29 3b 0a 20 20 74 68 69 73 2e 5f 65 6e 67 69 6e 65 20 3d 20 61 45 | neMoveOp!");...this._engine.=.aE |
165a60 | 6e 67 69 6e 65 43 6c 6f 6e 65 2e 6f 72 69 67 69 6e 61 6c 45 6e 67 69 6e 65 3b 0a 20 20 74 68 69 | ngineClone.originalEngine;...thi |
165a80 | 73 2e 5f 6e 65 77 49 6e 64 65 78 20 3d 20 61 4e 65 77 49 6e 64 65 78 3b 0a 7d 0a 45 6e 67 69 6e | s._newIndex.=.aNewIndex;.}.Engin |
165aa0 | 65 4d 6f 76 65 4f 70 2e 70 72 6f 74 6f 74 79 70 65 20 3d 20 7b 0a 20 20 5f 65 6e 67 69 6e 65 3a | eMoveOp.prototype.=.{..._engine: |
165ac0 | 20 6e 75 6c 6c 2c 0a 20 20 5f 6e 65 77 49 6e 64 65 78 3a 20 6e 75 6c 6c 2c 0a 20 20 63 6f 6d 6d | .null,..._newIndex:.null,...comm |
165ae0 | 69 74 3a 20 66 75 6e 63 74 69 6f 6e 20 45 4d 4f 5f 63 6f 6d 6d 69 74 28 29 20 7b 0a 20 20 20 20 | it:.function.EMO_commit().{..... |
165b00 | 76 61 72 20 73 65 61 72 63 68 53 65 72 76 69 63 65 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 | var.searchService.=.Cc["@mozilla |
165b20 | 2e 6f 72 67 2f 62 72 6f 77 73 65 72 2f 73 65 61 72 63 68 2d 73 65 72 76 69 63 65 3b 31 22 5d 2e | .org/browser/search-service;1"]. |
165b40 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 53 65 72 76 | .........................getServ |
165b60 | 69 63 65 28 43 69 2e 6e 73 49 42 72 6f 77 73 65 72 53 65 61 72 63 68 53 65 72 76 69 63 65 29 3b | ice(Ci.nsIBrowserSearchService); |
165b80 | 0a 20 20 20 20 73 65 61 72 63 68 53 65 72 76 69 63 65 2e 6d 6f 76 65 45 6e 67 69 6e 65 28 74 68 | .....searchService.moveEngine(th |
165ba0 | 69 73 2e 5f 65 6e 67 69 6e 65 2c 20 74 68 69 73 2e 5f 6e 65 77 49 6e 64 65 78 29 3b 0a 20 20 7d | is._engine,.this._newIndex);...} |
165bc0 | 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 45 6e 67 69 6e 65 52 65 6d 6f 76 65 4f 70 28 61 45 6e 67 | .}..function.EngineRemoveOp(aEng |
165be0 | 69 6e 65 43 6c 6f 6e 65 29 20 7b 0a 20 20 69 66 20 28 21 61 45 6e 67 69 6e 65 43 6c 6f 6e 65 29 | ineClone).{...if.(!aEngineClone) |
165c00 | 0a 20 20 20 20 74 68 72 6f 77 20 6e 65 77 20 45 72 72 6f 72 28 22 62 61 64 20 61 72 67 73 20 74 | .....throw.new.Error("bad.args.t |
165c20 | 6f 20 6e 65 77 20 45 6e 67 69 6e 65 52 65 6d 6f 76 65 4f 70 21 22 29 3b 0a 20 20 74 68 69 73 2e | o.new.EngineRemoveOp!");...this. |
165c40 | 5f 65 6e 67 69 6e 65 20 3d 20 61 45 6e 67 69 6e 65 43 6c 6f 6e 65 2e 6f 72 69 67 69 6e 61 6c 45 | _engine.=.aEngineClone.originalE |
165c60 | 6e 67 69 6e 65 3b 0a 7d 0a 45 6e 67 69 6e 65 52 65 6d 6f 76 65 4f 70 2e 70 72 6f 74 6f 74 79 70 | ngine;.}.EngineRemoveOp.prototyp |
165c80 | 65 20 3d 20 7b 0a 20 20 5f 65 6e 67 69 6e 65 3a 20 6e 75 6c 6c 2c 0a 20 20 63 6f 6d 6d 69 74 3a | e.=.{..._engine:.null,...commit: |
165ca0 | 20 66 75 6e 63 74 69 6f 6e 20 45 52 4f 5f 63 6f 6d 6d 69 74 28 29 20 7b 0a 20 20 20 20 76 61 72 | .function.ERO_commit().{.....var |
165cc0 | 20 73 65 61 72 63 68 53 65 72 76 69 63 65 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 | .searchService.=.Cc["@mozilla.or |
165ce0 | 67 2f 62 72 6f 77 73 65 72 2f 73 65 61 72 63 68 2d 73 65 72 76 69 63 65 3b 31 22 5d 2e 0a 20 20 | g/browser/search-service;1"].... |
165d00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 53 65 72 76 69 63 65 | ......................getService |
165d20 | 28 43 69 2e 6e 73 49 42 72 6f 77 73 65 72 53 65 61 72 63 68 53 65 72 76 69 63 65 29 3b 0a 20 20 | (Ci.nsIBrowserSearchService);... |
165d40 | 20 20 73 65 61 72 63 68 53 65 72 76 69 63 65 2e 72 65 6d 6f 76 65 45 6e 67 69 6e 65 28 74 68 69 | ..searchService.removeEngine(thi |
165d60 | 73 2e 5f 65 6e 67 69 6e 65 29 3b 0a 20 20 7d 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 45 6e 67 69 | s._engine);...}.}..function.Engi |
165d80 | 6e 65 55 6e 68 69 64 65 4f 70 28 61 45 6e 67 69 6e 65 43 6c 6f 6e 65 2c 20 61 4e 65 77 49 6e 64 | neUnhideOp(aEngineClone,.aNewInd |
165da0 | 65 78 29 20 7b 0a 20 20 69 66 20 28 21 61 45 6e 67 69 6e 65 43 6c 6f 6e 65 29 0a 20 20 20 20 74 | ex).{...if.(!aEngineClone).....t |
165dc0 | 68 72 6f 77 20 6e 65 77 20 45 72 72 6f 72 28 22 62 61 64 20 61 72 67 73 20 74 6f 20 6e 65 77 20 | hrow.new.Error("bad.args.to.new. |
165de0 | 45 6e 67 69 6e 65 55 6e 68 69 64 65 4f 70 21 22 29 3b 0a 20 20 74 68 69 73 2e 5f 65 6e 67 69 6e | EngineUnhideOp!");...this._engin |
165e00 | 65 20 3d 20 61 45 6e 67 69 6e 65 43 6c 6f 6e 65 2e 6f 72 69 67 69 6e 61 6c 45 6e 67 69 6e 65 3b | e.=.aEngineClone.originalEngine; |
165e20 | 0a 20 20 74 68 69 73 2e 5f 6e 65 77 49 6e 64 65 78 20 3d 20 61 4e 65 77 49 6e 64 65 78 3b 0a 7d | ...this._newIndex.=.aNewIndex;.} |
165e40 | 0a 45 6e 67 69 6e 65 55 6e 68 69 64 65 4f 70 2e 70 72 6f 74 6f 74 79 70 65 20 3d 20 7b 0a 20 20 | .EngineUnhideOp.prototype.=.{... |
165e60 | 5f 65 6e 67 69 6e 65 3a 20 6e 75 6c 6c 2c 0a 20 20 5f 6e 65 77 49 6e 64 65 78 3a 20 6e 75 6c 6c | _engine:.null,..._newIndex:.null |
165e80 | 2c 0a 20 20 63 6f 6d 6d 69 74 3a 20 66 75 6e 63 74 69 6f 6e 20 45 55 4f 5f 63 6f 6d 6d 69 74 28 | ,...commit:.function.EUO_commit( |
165ea0 | 29 20 7b 0a 20 20 20 20 74 68 69 73 2e 5f 65 6e 67 69 6e 65 2e 68 69 64 64 65 6e 20 3d 20 66 61 | ).{.....this._engine.hidden.=.fa |
165ec0 | 6c 73 65 3b 0a 20 20 20 20 76 61 72 20 73 65 61 72 63 68 53 65 72 76 69 63 65 20 3d 20 43 63 5b | lse;.....var.searchService.=.Cc[ |
165ee0 | 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 62 72 6f 77 73 65 72 2f 73 65 61 72 63 68 2d 73 65 72 | "@mozilla.org/browser/search-ser |
165f00 | 76 69 63 65 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | vice;1"]........................ |
165f20 | 20 20 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 42 72 6f 77 73 65 72 53 65 61 72 63 68 | ..getService(Ci.nsIBrowserSearch |
165f40 | 53 65 72 76 69 63 65 29 3b 0a 20 20 20 20 73 65 61 72 63 68 53 65 72 76 69 63 65 2e 6d 6f 76 65 | Service);.....searchService.move |
165f60 | 45 6e 67 69 6e 65 28 74 68 69 73 2e 5f 65 6e 67 69 6e 65 2c 20 74 68 69 73 2e 5f 6e 65 77 49 6e | Engine(this._engine,.this._newIn |
165f80 | 64 65 78 29 3b 0a 20 20 7d 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 45 6e 67 69 6e 65 43 68 61 6e | dex);...}.}..function.EngineChan |
165fa0 | 67 65 4f 70 28 61 45 6e 67 69 6e 65 43 6c 6f 6e 65 2c 20 61 50 72 6f 70 2c 20 61 56 61 6c 75 65 | geOp(aEngineClone,.aProp,.aValue |
165fc0 | 29 20 7b 0a 20 20 69 66 20 28 21 61 45 6e 67 69 6e 65 43 6c 6f 6e 65 29 0a 20 20 20 20 74 68 72 | ).{...if.(!aEngineClone).....thr |
165fe0 | 6f 77 20 6e 65 77 20 45 72 72 6f 72 28 22 62 61 64 20 61 72 67 73 20 74 6f 20 6e 65 77 20 45 6e | ow.new.Error("bad.args.to.new.En |
166000 | 67 69 6e 65 43 68 61 6e 67 65 4f 70 21 22 29 3b 0a 0a 20 20 74 68 69 73 2e 5f 65 6e 67 69 6e 65 | gineChangeOp!");....this._engine |
166020 | 20 3d 20 61 45 6e 67 69 6e 65 43 6c 6f 6e 65 2e 6f 72 69 67 69 6e 61 6c 45 6e 67 69 6e 65 3b 0a | .=.aEngineClone.originalEngine;. |
166040 | 20 20 74 68 69 73 2e 5f 70 72 6f 70 20 3d 20 61 50 72 6f 70 3b 0a 20 20 74 68 69 73 2e 5f 6e 65 | ..this._prop.=.aProp;...this._ne |
166060 | 77 56 61 6c 75 65 20 3d 20 61 56 61 6c 75 65 3b 0a 7d 0a 45 6e 67 69 6e 65 43 68 61 6e 67 65 4f | wValue.=.aValue;.}.EngineChangeO |
166080 | 70 2e 70 72 6f 74 6f 74 79 70 65 20 3d 20 7b 0a 20 20 5f 65 6e 67 69 6e 65 3a 20 6e 75 6c 6c 2c | p.prototype.=.{..._engine:.null, |
1660a0 | 0a 20 20 5f 70 72 6f 70 3a 20 6e 75 6c 6c 2c 0a 20 20 5f 6e 65 77 56 61 6c 75 65 3a 20 6e 75 6c | ..._prop:.null,..._newValue:.nul |
1660c0 | 6c 2c 0a 20 20 63 6f 6d 6d 69 74 3a 20 66 75 6e 63 74 69 6f 6e 20 45 43 4f 5f 63 6f 6d 6d 69 74 | l,...commit:.function.ECO_commit |
1660e0 | 28 29 20 7b 0a 20 20 20 20 74 68 69 73 2e 5f 65 6e 67 69 6e 65 5b 74 68 69 73 2e 5f 70 72 6f 70 | ().{.....this._engine[this._prop |
166100 | 5d 20 3d 20 74 68 69 73 2e 5f 6e 65 77 56 61 6c 75 65 3b 0a 20 20 7d 0a 7d 0a 0a 66 75 6e 63 74 | ].=.this._newValue;...}.}..funct |
166120 | 69 6f 6e 20 45 6e 67 69 6e 65 53 74 6f 72 65 28 29 20 7b 0a 20 20 76 61 72 20 73 65 61 72 63 68 | ion.EngineStore().{...var.search |
166140 | 53 65 72 76 69 63 65 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 62 72 6f 77 73 | Service.=.Cc["@mozilla.org/brows |
166160 | 65 72 2f 73 65 61 72 63 68 2d 73 65 72 76 69 63 65 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 | er/search-service;1"]........... |
166180 | 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 42 72 | .............getService(Ci.nsIBr |
1661a0 | 6f 77 73 65 72 53 65 61 72 63 68 53 65 72 76 69 63 65 29 3b 0a 20 20 74 68 69 73 2e 5f 65 6e 67 | owserSearchService);...this._eng |
1661c0 | 69 6e 65 73 20 3d 20 73 65 61 72 63 68 53 65 72 76 69 63 65 2e 67 65 74 56 69 73 69 62 6c 65 45 | ines.=.searchService.getVisibleE |
1661e0 | 6e 67 69 6e 65 73 28 7b 7d 29 2e 6d 61 70 28 74 68 69 73 2e 5f 63 6c 6f 6e 65 45 6e 67 69 6e 65 | ngines({}).map(this._cloneEngine |
166200 | 29 3b 0a 20 20 74 68 69 73 2e 5f 64 65 66 61 75 6c 74 45 6e 67 69 6e 65 73 20 3d 20 73 65 61 72 | );...this._defaultEngines.=.sear |
166220 | 63 68 53 65 72 76 69 63 65 2e 67 65 74 44 65 66 61 75 6c 74 45 6e 67 69 6e 65 73 28 7b 7d 29 2e | chService.getDefaultEngines({}). |
166240 | 6d 61 70 28 74 68 69 73 2e 5f 63 6c 6f 6e 65 45 6e 67 69 6e 65 29 3b 0a 0a 20 20 74 68 69 73 2e | map(this._cloneEngine);....this. |
166260 | 5f 6f 70 73 20 3d 20 5b 5d 3b 0a 0a 20 20 2f 2f 20 63 68 65 63 6b 20 69 66 20 77 65 20 6e 65 65 | _ops.=.[];....//.check.if.we.nee |
166280 | 64 20 74 6f 20 64 69 73 61 62 6c 65 20 74 68 65 20 72 65 73 74 6f 72 65 20 64 65 66 61 75 6c 74 | d.to.disable.the.restore.default |
1662a0 | 73 20 62 75 74 74 6f 6e 0a 20 20 76 61 72 20 73 6f 6d 65 48 69 64 64 65 6e 20 3d 20 74 68 69 73 | s.button...var.someHidden.=.this |
1662c0 | 2e 5f 64 65 66 61 75 6c 74 45 6e 67 69 6e 65 73 2e 73 6f 6d 65 28 66 75 6e 63 74 69 6f 6e 20 28 | ._defaultEngines.some(function.( |
1662e0 | 65 29 20 7b 72 65 74 75 72 6e 20 65 2e 68 69 64 64 65 6e 3b 7d 29 3b 0a 20 20 67 45 6e 67 69 6e | e).{return.e.hidden;});...gEngin |
166300 | 65 4d 61 6e 61 67 65 72 44 69 61 6c 6f 67 2e 73 68 6f 77 52 65 73 74 6f 72 65 44 65 66 61 75 6c | eManagerDialog.showRestoreDefaul |
166320 | 74 73 28 73 6f 6d 65 48 69 64 64 65 6e 29 3b 0a 7d 0a 45 6e 67 69 6e 65 53 74 6f 72 65 2e 70 72 | ts(someHidden);.}.EngineStore.pr |
166340 | 6f 74 6f 74 79 70 65 20 3d 20 7b 0a 20 20 5f 65 6e 67 69 6e 65 73 3a 20 6e 75 6c 6c 2c 0a 20 20 | ototype.=.{..._engines:.null,... |
166360 | 5f 64 65 66 61 75 6c 74 45 6e 67 69 6e 65 73 3a 20 6e 75 6c 6c 2c 0a 20 20 5f 6f 70 73 3a 20 6e | _defaultEngines:.null,..._ops:.n |
166380 | 75 6c 6c 2c 0a 0a 20 20 67 65 74 20 65 6e 67 69 6e 65 73 28 29 20 7b 0a 20 20 20 20 72 65 74 75 | ull,....get.engines().{.....retu |
1663a0 | 72 6e 20 74 68 69 73 2e 5f 65 6e 67 69 6e 65 73 3b 0a 20 20 7d 2c 0a 20 20 73 65 74 20 65 6e 67 | rn.this._engines;...},...set.eng |
1663c0 | 69 6e 65 73 28 76 61 6c 29 20 7b 0a 20 20 20 20 74 68 69 73 2e 5f 65 6e 67 69 6e 65 73 20 3d 20 | ines(val).{.....this._engines.=. |
1663e0 | 76 61 6c 3b 0a 20 20 20 20 72 65 74 75 72 6e 20 76 61 6c 3b 0a 20 20 7d 2c 0a 0a 20 20 5f 67 65 | val;.....return.val;...},...._ge |
166400 | 74 49 6e 64 65 78 46 6f 72 45 6e 67 69 6e 65 3a 20 66 75 6e 63 74 69 6f 6e 20 45 53 5f 67 65 74 | tIndexForEngine:.function.ES_get |
166420 | 49 6e 64 65 78 46 6f 72 45 6e 67 69 6e 65 28 61 45 6e 67 69 6e 65 29 20 7b 0a 20 20 20 20 72 65 | IndexForEngine(aEngine).{.....re |
166440 | 74 75 72 6e 20 74 68 69 73 2e 5f 65 6e 67 69 6e 65 73 2e 69 6e 64 65 78 4f 66 28 61 45 6e 67 69 | turn.this._engines.indexOf(aEngi |
166460 | 6e 65 29 3b 0a 20 20 7d 2c 0a 0a 20 20 5f 67 65 74 45 6e 67 69 6e 65 42 79 4e 61 6d 65 3a 20 66 | ne);...},...._getEngineByName:.f |
166480 | 75 6e 63 74 69 6f 6e 20 45 53 5f 67 65 74 45 6e 67 69 6e 65 42 79 4e 61 6d 65 28 61 4e 61 6d 65 | unction.ES_getEngineByName(aName |
1664a0 | 29 20 7b 0a 20 20 20 20 66 6f 72 20 65 61 63 68 20 28 76 61 72 20 65 6e 67 69 6e 65 20 69 6e 20 | ).{.....for.each.(var.engine.in. |
1664c0 | 74 68 69 73 2e 5f 65 6e 67 69 6e 65 73 29 0a 20 20 20 20 20 20 69 66 20 28 65 6e 67 69 6e 65 2e | this._engines).......if.(engine. |
1664e0 | 6e 61 6d 65 20 3d 3d 20 61 4e 61 6d 65 29 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 65 6e | name.==.aName).........return.en |
166500 | 67 69 6e 65 3b 0a 0a 20 20 20 20 72 65 74 75 72 6e 20 6e 75 6c 6c 3b 0a 20 20 7d 2c 0a 0a 20 20 | gine;......return.null;...},.... |
166520 | 5f 63 6c 6f 6e 65 45 6e 67 69 6e 65 3a 20 66 75 6e 63 74 69 6f 6e 20 45 53 5f 63 6c 6f 6e 65 4f | _cloneEngine:.function.ES_cloneO |
166540 | 62 6a 28 61 45 6e 67 69 6e 65 29 20 7b 0a 20 20 20 20 76 61 72 20 6e 65 77 4f 3d 5b 5d 3b 0a 20 | bj(aEngine).{.....var.newO=[];.. |
166560 | 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 69 6e 20 61 45 6e 67 69 6e 65 29 0a 20 20 20 20 20 20 | ...for.(var.i.in.aEngine)....... |
166580 | 6e 65 77 4f 5b 69 5d 20 3d 20 61 45 6e 67 69 6e 65 5b 69 5d 3b 0a 20 20 20 20 6e 65 77 4f 2e 6f | newO[i].=.aEngine[i];.....newO.o |
1665a0 | 72 69 67 69 6e 61 6c 45 6e 67 69 6e 65 20 3d 20 61 45 6e 67 69 6e 65 3b 0a 20 20 20 20 72 65 74 | riginalEngine.=.aEngine;.....ret |
1665c0 | 75 72 6e 20 6e 65 77 4f 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2f 20 43 61 6c 6c 62 61 63 6b 20 66 6f | urn.newO;...},....//.Callback.fo |
1665e0 | 72 20 41 72 72 61 79 27 73 20 73 6f 6d 65 28 29 2e 20 41 20 74 68 69 73 4f 62 6a 20 6d 75 73 74 | r.Array's.some()..A.thisObj.must |
166600 | 20 62 65 20 70 61 73 73 65 64 20 74 6f 20 73 6f 6d 65 28 29 0a 20 20 5f 69 73 53 61 6d 65 45 6e | .be.passed.to.some()..._isSameEn |
166620 | 67 69 6e 65 3a 20 66 75 6e 63 74 69 6f 6e 20 45 53 5f 69 73 53 61 6d 65 45 6e 67 69 6e 65 28 61 | gine:.function.ES_isSameEngine(a |
166640 | 45 6e 67 69 6e 65 43 6c 6f 6e 65 29 20 7b 0a 20 20 20 20 72 65 74 75 72 6e 20 61 45 6e 67 69 6e | EngineClone).{.....return.aEngin |
166660 | 65 43 6c 6f 6e 65 2e 6f 72 69 67 69 6e 61 6c 45 6e 67 69 6e 65 20 3d 3d 20 74 68 69 73 2e 6f 72 | eClone.originalEngine.==.this.or |
166680 | 69 67 69 6e 61 6c 45 6e 67 69 6e 65 3b 0a 20 20 7d 2c 0a 0a 20 20 63 6f 6d 6d 69 74 3a 20 66 75 | iginalEngine;...},....commit:.fu |
1666a0 | 6e 63 74 69 6f 6e 20 45 53 5f 63 6f 6d 6d 69 74 28 29 20 7b 0a 20 20 20 20 76 61 72 20 73 65 61 | nction.ES_commit().{.....var.sea |
1666c0 | 72 63 68 53 65 72 76 69 63 65 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 62 72 | rchService.=.Cc["@mozilla.org/br |
1666e0 | 6f 77 73 65 72 2f 73 65 61 72 63 68 2d 73 65 72 76 69 63 65 3b 31 22 5d 2e 0a 20 20 20 20 20 20 | owser/search-service;1"]........ |
166700 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 69 2e | ..................getService(Ci. |
166720 | 6e 73 49 42 72 6f 77 73 65 72 53 65 61 72 63 68 53 65 72 76 69 63 65 29 3b 0a 20 20 20 20 76 61 | nsIBrowserSearchService);.....va |
166740 | 72 20 63 75 72 72 65 6e 74 45 6e 67 69 6e 65 20 3d 20 74 68 69 73 2e 5f 63 6c 6f 6e 65 45 6e 67 | r.currentEngine.=.this._cloneEng |
166760 | 69 6e 65 28 73 65 61 72 63 68 53 65 72 76 69 63 65 2e 63 75 72 72 65 6e 74 45 6e 67 69 6e 65 29 | ine(searchService.currentEngine) |
166780 | 3b 0a 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 74 68 69 73 2e 5f | ;.....for.(var.i.=.0;.i.<.this._ |
1667a0 | 6f 70 73 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 6f 70 73 | ops.length;.i++).......this._ops |
1667c0 | 5b 69 5d 2e 63 6f 6d 6d 69 74 28 29 3b 0a 0a 20 20 20 20 2f 2f 20 52 65 73 74 6f 72 65 20 63 75 | [i].commit();......//.Restore.cu |
1667e0 | 72 72 65 6e 74 45 6e 67 69 6e 65 20 69 66 20 69 74 20 69 73 20 61 20 64 65 66 61 75 6c 74 20 65 | rrentEngine.if.it.is.a.default.e |
166800 | 6e 67 69 6e 65 20 74 68 61 74 20 69 73 20 73 74 69 6c 6c 20 76 69 73 69 62 6c 65 2e 0a 20 20 20 | ngine.that.is.still.visible..... |
166820 | 20 2f 2f 20 4e 65 65 64 65 64 20 69 66 20 74 68 65 20 75 73 65 72 20 64 65 6c 65 74 65 73 20 63 | .//.Needed.if.the.user.deletes.c |
166840 | 75 72 72 65 6e 74 45 6e 67 69 6e 65 20 61 6e 64 20 74 68 65 6e 20 72 65 73 74 6f 72 65 73 20 69 | urrentEngine.and.then.restores.i |
166860 | 74 2e 0a 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 64 65 66 61 75 6c 74 45 6e 67 69 6e 65 73 2e | t......if.(this._defaultEngines. |
166880 | 73 6f 6d 65 28 74 68 69 73 2e 5f 69 73 53 61 6d 65 45 6e 67 69 6e 65 2c 20 63 75 72 72 65 6e 74 | some(this._isSameEngine,.current |
1668a0 | 45 6e 67 69 6e 65 29 20 26 26 0a 20 20 20 20 20 20 20 20 21 63 75 72 72 65 6e 74 45 6e 67 69 6e | Engine).&&.........!currentEngin |
1668c0 | 65 2e 6f 72 69 67 69 6e 61 6c 45 6e 67 69 6e 65 2e 68 69 64 64 65 6e 29 0a 20 20 20 20 20 20 73 | e.originalEngine.hidden).......s |
1668e0 | 65 61 72 63 68 53 65 72 76 69 63 65 2e 63 75 72 72 65 6e 74 45 6e 67 69 6e 65 20 3d 20 63 75 72 | earchService.currentEngine.=.cur |
166900 | 72 65 6e 74 45 6e 67 69 6e 65 2e 6f 72 69 67 69 6e 61 6c 45 6e 67 69 6e 65 3b 0a 20 20 7d 2c 0a | rentEngine.originalEngine;...},. |
166920 | 0a 20 20 61 64 64 45 6e 67 69 6e 65 3a 20 66 75 6e 63 74 69 6f 6e 20 45 53 5f 61 64 64 45 6e 67 | ...addEngine:.function.ES_addEng |
166940 | 69 6e 65 28 61 45 6e 67 69 6e 65 29 20 7b 0a 20 20 20 20 74 68 69 73 2e 5f 65 6e 67 69 6e 65 73 | ine(aEngine).{.....this._engines |
166960 | 2e 70 75 73 68 28 74 68 69 73 2e 5f 63 6c 6f 6e 65 45 6e 67 69 6e 65 28 61 45 6e 67 69 6e 65 29 | .push(this._cloneEngine(aEngine) |
166980 | 29 3b 0a 20 20 7d 2c 0a 0a 20 20 6d 6f 76 65 45 6e 67 69 6e 65 3a 20 66 75 6e 63 74 69 6f 6e 20 | );...},....moveEngine:.function. |
1669a0 | 45 53 5f 6d 6f 76 65 45 6e 67 69 6e 65 28 61 45 6e 67 69 6e 65 2c 20 61 4e 65 77 49 6e 64 65 78 | ES_moveEngine(aEngine,.aNewIndex |
1669c0 | 29 20 7b 0a 20 20 20 20 69 66 20 28 61 4e 65 77 49 6e 64 65 78 20 3c 20 30 20 7c 7c 20 61 4e 65 | ).{.....if.(aNewIndex.<.0.||.aNe |
1669e0 | 77 49 6e 64 65 78 20 3e 20 74 68 69 73 2e 5f 65 6e 67 69 6e 65 73 2e 6c 65 6e 67 74 68 20 2d 20 | wIndex.>.this._engines.length.-. |
166a00 | 31 29 0a 20 20 20 20 20 20 74 68 72 6f 77 20 6e 65 77 20 45 72 72 6f 72 28 22 45 53 5f 6d 6f 76 | 1).......throw.new.Error("ES_mov |
166a20 | 65 45 6e 67 69 6e 65 3a 20 69 6e 76 61 6c 69 64 20 61 4e 65 77 49 6e 64 65 78 21 22 29 3b 0a 20 | eEngine:.invalid.aNewIndex!");.. |
166a40 | 20 20 20 76 61 72 20 69 6e 64 65 78 20 3d 20 74 68 69 73 2e 5f 67 65 74 49 6e 64 65 78 46 6f 72 | ...var.index.=.this._getIndexFor |
166a60 | 45 6e 67 69 6e 65 28 61 45 6e 67 69 6e 65 29 3b 0a 20 20 20 20 69 66 20 28 69 6e 64 65 78 20 3d | Engine(aEngine);.....if.(index.= |
166a80 | 3d 20 2d 31 29 0a 20 20 20 20 20 20 74 68 72 6f 77 20 6e 65 77 20 45 72 72 6f 72 28 22 45 53 5f | =.-1).......throw.new.Error("ES_ |
166aa0 | 6d 6f 76 65 45 6e 67 69 6e 65 3a 20 69 6e 76 61 6c 69 64 20 65 6e 67 69 6e 65 3f 22 29 3b 0a 0a | moveEngine:.invalid.engine?");.. |
166ac0 | 20 20 20 20 69 66 20 28 69 6e 64 65 78 20 3d 3d 20 61 4e 65 77 49 6e 64 65 78 29 0a 20 20 20 20 | ....if.(index.==.aNewIndex)..... |
166ae0 | 20 20 72 65 74 75 72 6e 3b 20 2f 2f 20 6e 6f 74 68 69 6e 67 20 74 6f 20 64 6f 0a 0a 20 20 20 20 | ..return;.//.nothing.to.do...... |
166b00 | 2f 2f 20 4d 6f 76 65 20 74 68 65 20 65 6e 67 69 6e 65 20 69 6e 20 6f 75 72 20 69 6e 74 65 72 6e | //.Move.the.engine.in.our.intern |
166b20 | 61 6c 20 73 74 6f 72 65 0a 20 20 20 20 76 61 72 20 72 65 6d 6f 76 65 64 45 6e 67 69 6e 65 20 3d | al.store.....var.removedEngine.= |
166b40 | 20 74 68 69 73 2e 5f 65 6e 67 69 6e 65 73 2e 73 70 6c 69 63 65 28 69 6e 64 65 78 2c 20 31 29 5b | .this._engines.splice(index,.1)[ |
166b60 | 30 5d 3b 0a 20 20 20 20 74 68 69 73 2e 5f 65 6e 67 69 6e 65 73 2e 73 70 6c 69 63 65 28 61 4e 65 | 0];.....this._engines.splice(aNe |
166b80 | 77 49 6e 64 65 78 2c 20 30 2c 20 72 65 6d 6f 76 65 64 45 6e 67 69 6e 65 29 3b 0a 0a 20 20 20 20 | wIndex,.0,.removedEngine);...... |
166ba0 | 74 68 69 73 2e 5f 6f 70 73 2e 70 75 73 68 28 6e 65 77 20 45 6e 67 69 6e 65 4d 6f 76 65 4f 70 28 | this._ops.push(new.EngineMoveOp( |
166bc0 | 61 45 6e 67 69 6e 65 2c 20 61 4e 65 77 49 6e 64 65 78 29 29 3b 0a 20 20 7d 2c 0a 0a 20 20 72 65 | aEngine,.aNewIndex));...},....re |
166be0 | 6d 6f 76 65 45 6e 67 69 6e 65 3a 20 66 75 6e 63 74 69 6f 6e 20 45 53 5f 72 65 6d 6f 76 65 45 6e | moveEngine:.function.ES_removeEn |
166c00 | 67 69 6e 65 28 61 45 6e 67 69 6e 65 29 20 7b 0a 20 20 20 20 76 61 72 20 69 6e 64 65 78 20 3d 20 | gine(aEngine).{.....var.index.=. |
166c20 | 74 68 69 73 2e 5f 67 65 74 49 6e 64 65 78 46 6f 72 45 6e 67 69 6e 65 28 61 45 6e 67 69 6e 65 29 | this._getIndexForEngine(aEngine) |
166c40 | 3b 0a 20 20 20 20 69 66 20 28 69 6e 64 65 78 20 3d 3d 20 2d 31 29 0a 20 20 20 20 20 20 74 68 72 | ;.....if.(index.==.-1).......thr |
166c60 | 6f 77 20 6e 65 77 20 45 72 72 6f 72 28 22 69 6e 76 61 6c 69 64 20 65 6e 67 69 6e 65 3f 22 29 3b | ow.new.Error("invalid.engine?"); |
166c80 | 0a 20 0a 20 20 20 20 74 68 69 73 2e 5f 65 6e 67 69 6e 65 73 2e 73 70 6c 69 63 65 28 69 6e 64 65 | .......this._engines.splice(inde |
166ca0 | 78 2c 20 31 29 3b 0a 20 20 20 20 74 68 69 73 2e 5f 6f 70 73 2e 70 75 73 68 28 6e 65 77 20 45 6e | x,.1);.....this._ops.push(new.En |
166cc0 | 67 69 6e 65 52 65 6d 6f 76 65 4f 70 28 61 45 6e 67 69 6e 65 29 29 3b 0a 20 20 20 20 69 66 20 28 | gineRemoveOp(aEngine));.....if.( |
166ce0 | 74 68 69 73 2e 5f 64 65 66 61 75 6c 74 45 6e 67 69 6e 65 73 2e 73 6f 6d 65 28 74 68 69 73 2e 5f | this._defaultEngines.some(this._ |
166d00 | 69 73 53 61 6d 65 45 6e 67 69 6e 65 2c 20 61 45 6e 67 69 6e 65 29 29 0a 20 20 20 20 20 20 67 45 | isSameEngine,.aEngine)).......gE |
166d20 | 6e 67 69 6e 65 4d 61 6e 61 67 65 72 44 69 61 6c 6f 67 2e 73 68 6f 77 52 65 73 74 6f 72 65 44 65 | ngineManagerDialog.showRestoreDe |
166d40 | 66 61 75 6c 74 73 28 74 72 75 65 29 3b 0a 20 20 7d 2c 0a 0a 20 20 72 65 73 74 6f 72 65 44 65 66 | faults(true);...},....restoreDef |
166d60 | 61 75 6c 74 45 6e 67 69 6e 65 73 3a 20 66 75 6e 63 74 69 6f 6e 20 45 53 5f 72 65 73 74 6f 72 65 | aultEngines:.function.ES_restore |
166d80 | 44 65 66 61 75 6c 74 45 6e 67 69 6e 65 73 28 29 20 7b 0a 20 20 20 20 76 61 72 20 61 64 64 65 64 | DefaultEngines().{.....var.added |
166da0 | 20 3d 20 30 3b 0a 0a 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 74 | .=.0;......for.(var.i.=.0;.i.<.t |
166dc0 | 68 69 73 2e 5f 64 65 66 61 75 6c 74 45 6e 67 69 6e 65 73 2e 6c 65 6e 67 74 68 3b 20 2b 2b 69 29 | his._defaultEngines.length;.++i) |
166de0 | 20 7b 0a 20 20 20 20 20 20 76 61 72 20 65 20 3d 20 74 68 69 73 2e 5f 64 65 66 61 75 6c 74 45 6e | .{.......var.e.=.this._defaultEn |
166e00 | 67 69 6e 65 73 5b 69 5d 3b 0a 0a 20 20 20 20 20 20 2f 2f 20 49 66 20 74 68 65 20 65 6e 67 69 6e | gines[i];........//.If.the.engin |
166e20 | 65 20 69 73 20 61 6c 72 65 61 64 79 20 69 6e 20 74 68 65 20 6c 69 73 74 2c 20 6a 75 73 74 20 6d | e.is.already.in.the.list,.just.m |
166e40 | 6f 76 65 20 69 74 2e 0a 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 65 6e 67 69 6e 65 73 2e | ove.it........if.(this._engines. |
166e60 | 73 6f 6d 65 28 74 68 69 73 2e 5f 69 73 53 61 6d 65 45 6e 67 69 6e 65 2c 20 65 29 29 20 7b 0a 20 | some(this._isSameEngine,.e)).{.. |
166e80 | 20 20 20 20 20 20 20 74 68 69 73 2e 6d 6f 76 65 45 6e 67 69 6e 65 28 74 68 69 73 2e 5f 67 65 74 | .......this.moveEngine(this._get |
166ea0 | 45 6e 67 69 6e 65 42 79 4e 61 6d 65 28 65 2e 6e 61 6d 65 29 2c 20 69 29 3b 0a 20 20 20 20 20 20 | EngineByName(e.name),.i);....... |
166ec0 | 7d 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 20 20 2f 2f 20 4f 74 68 65 72 77 69 73 65 2c 20 61 | }.else.{.........//.Otherwise,.a |
166ee0 | 64 64 20 69 74 20 62 61 63 6b 20 74 6f 20 6f 75 72 20 69 6e 74 65 72 6e 61 6c 20 73 74 6f 72 65 | dd.it.back.to.our.internal.store |
166f00 | 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 65 6e 67 69 6e 65 73 2e 73 70 6c 69 63 65 28 69 2c | .........this._engines.splice(i, |
166f20 | 20 30 2c 20 65 29 3b 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 6f 70 73 2e 70 75 73 68 28 6e | .0,.e);.........this._ops.push(n |
166f40 | 65 77 20 45 6e 67 69 6e 65 55 6e 68 69 64 65 4f 70 28 65 2c 20 69 29 29 3b 0a 20 20 20 20 20 20 | ew.EngineUnhideOp(e,.i));....... |
166f60 | 20 20 61 64 64 65 64 2b 2b 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 20 20 20 20 67 45 6e | ..added++;.......}.....}.....gEn |
166f80 | 67 69 6e 65 4d 61 6e 61 67 65 72 44 69 61 6c 6f 67 2e 73 68 6f 77 52 65 73 74 6f 72 65 44 65 66 | gineManagerDialog.showRestoreDef |
166fa0 | 61 75 6c 74 73 28 66 61 6c 73 65 29 3b 0a 20 20 20 20 72 65 74 75 72 6e 20 61 64 64 65 64 3b 0a | aults(false);.....return.added;. |
166fc0 | 20 20 7d 2c 0a 0a 20 20 63 68 61 6e 67 65 45 6e 67 69 6e 65 3a 20 66 75 6e 63 74 69 6f 6e 20 45 | ..},....changeEngine:.function.E |
166fe0 | 53 5f 63 68 61 6e 67 65 45 6e 67 69 6e 65 28 61 45 6e 67 69 6e 65 2c 20 61 50 72 6f 70 2c 20 61 | S_changeEngine(aEngine,.aProp,.a |
167000 | 4e 65 77 56 61 6c 75 65 29 20 7b 0a 20 20 20 20 76 61 72 20 69 6e 64 65 78 20 3d 20 74 68 69 73 | NewValue).{.....var.index.=.this |
167020 | 2e 5f 67 65 74 49 6e 64 65 78 46 6f 72 45 6e 67 69 6e 65 28 61 45 6e 67 69 6e 65 29 3b 0a 20 20 | ._getIndexForEngine(aEngine);... |
167040 | 20 20 69 66 20 28 69 6e 64 65 78 20 3d 3d 20 2d 31 29 0a 20 20 20 20 20 20 74 68 72 6f 77 20 6e | ..if.(index.==.-1).......throw.n |
167060 | 65 77 20 45 72 72 6f 72 28 22 69 6e 76 61 6c 69 64 20 65 6e 67 69 6e 65 3f 22 29 3b 0a 0a 20 20 | ew.Error("invalid.engine?");.... |
167080 | 20 20 74 68 69 73 2e 5f 65 6e 67 69 6e 65 73 5b 69 6e 64 65 78 5d 5b 61 50 72 6f 70 5d 20 3d 20 | ..this._engines[index][aProp].=. |
1670a0 | 61 4e 65 77 56 61 6c 75 65 3b 0a 20 20 20 20 74 68 69 73 2e 5f 6f 70 73 2e 70 75 73 68 28 6e 65 | aNewValue;.....this._ops.push(ne |
1670c0 | 77 20 45 6e 67 69 6e 65 43 68 61 6e 67 65 4f 70 28 61 45 6e 67 69 6e 65 2c 20 61 50 72 6f 70 2c | w.EngineChangeOp(aEngine,.aProp, |
1670e0 | 20 61 4e 65 77 56 61 6c 75 65 29 29 3b 0a 20 20 7d 2c 0a 0a 20 20 72 65 6c 6f 61 64 49 63 6f 6e | .aNewValue));...},....reloadIcon |
167100 | 73 3a 20 66 75 6e 63 74 69 6f 6e 20 45 53 5f 72 65 6c 6f 61 64 49 63 6f 6e 73 28 29 20 7b 0a 20 | s:.function.ES_reloadIcons().{.. |
167120 | 20 20 20 74 68 69 73 2e 5f 65 6e 67 69 6e 65 73 2e 66 6f 72 45 61 63 68 28 66 75 6e 63 74 69 6f | ...this._engines.forEach(functio |
167140 | 6e 20 28 65 29 20 7b 0a 20 20 20 20 20 20 65 2e 75 72 69 20 3d 20 65 2e 6f 72 69 67 69 6e 61 6c | n.(e).{.......e.uri.=.e.original |
167160 | 45 6e 67 69 6e 65 2e 75 72 69 3b 0a 20 20 20 20 7d 29 3b 0a 20 20 7d 0a 7d 0a 0a 66 75 6e 63 74 | Engine.uri;.....});...}.}..funct |
167180 | 69 6f 6e 20 45 6e 67 69 6e 65 56 69 65 77 28 61 45 6e 67 69 6e 65 53 74 6f 72 65 29 20 7b 0a 20 | ion.EngineView(aEngineStore).{.. |
1671a0 | 20 74 68 69 73 2e 5f 65 6e 67 69 6e 65 53 74 6f 72 65 20 3d 20 61 45 6e 67 69 6e 65 53 74 6f 72 | .this._engineStore.=.aEngineStor |
1671c0 | 65 3b 0a 7d 0a 45 6e 67 69 6e 65 56 69 65 77 2e 70 72 6f 74 6f 74 79 70 65 20 3d 20 7b 0a 20 20 | e;.}.EngineView.prototype.=.{... |
1671e0 | 5f 65 6e 67 69 6e 65 53 74 6f 72 65 3a 20 6e 75 6c 6c 2c 0a 20 20 74 72 65 65 3a 20 6e 75 6c 6c | _engineStore:.null,...tree:.null |
167200 | 2c 0a 0a 20 20 67 65 74 20 6c 61 73 74 49 6e 64 65 78 28 29 20 7b 0a 20 20 20 20 72 65 74 75 72 | ,....get.lastIndex().{.....retur |
167220 | 6e 20 74 68 69 73 2e 72 6f 77 43 6f 75 6e 74 20 2d 20 31 3b 0a 20 20 7d 2c 0a 20 20 67 65 74 20 | n.this.rowCount.-.1;...},...get. |
167240 | 73 65 6c 65 63 74 65 64 49 6e 64 65 78 28 29 20 7b 0a 20 20 20 20 76 61 72 20 73 65 6c 6e 20 3d | selectedIndex().{.....var.seln.= |
167260 | 20 74 68 69 73 2e 73 65 6c 65 63 74 69 6f 6e 3b 0a 20 20 20 20 69 66 20 28 73 65 6c 6e 2e 67 65 | .this.selection;.....if.(seln.ge |
167280 | 74 52 61 6e 67 65 43 6f 75 6e 74 28 29 20 3e 20 30 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 6d | tRangeCount().>.0).{.......var.m |
1672a0 | 69 6e 20 3d 20 7b 20 7d 3b 0a 20 20 20 20 20 20 73 65 6c 6e 2e 67 65 74 52 61 6e 67 65 41 74 28 | in.=.{.};.......seln.getRangeAt( |
1672c0 | 30 2c 20 6d 69 6e 2c 20 7b 20 7d 29 3b 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 6d 69 6e 2e 76 | 0,.min,.{.});.......return.min.v |
1672e0 | 61 6c 75 65 3b 0a 20 20 20 20 7d 0a 20 20 20 20 72 65 74 75 72 6e 20 2d 31 3b 0a 20 20 7d 2c 0a | alue;.....}.....return.-1;...},. |
167300 | 20 20 67 65 74 20 73 65 6c 65 63 74 65 64 45 6e 67 69 6e 65 28 29 20 7b 0a 20 20 20 20 72 65 74 | ..get.selectedEngine().{.....ret |
167320 | 75 72 6e 20 74 68 69 73 2e 5f 65 6e 67 69 6e 65 53 74 6f 72 65 2e 65 6e 67 69 6e 65 73 5b 74 68 | urn.this._engineStore.engines[th |
167340 | 69 73 2e 73 65 6c 65 63 74 65 64 49 6e 64 65 78 5d 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2f 20 48 65 | is.selectedIndex];...},....//.He |
167360 | 6c 70 65 72 73 0a 20 20 72 6f 77 43 6f 75 6e 74 43 68 61 6e 67 65 64 3a 20 66 75 6e 63 74 69 6f | lpers...rowCountChanged:.functio |
167380 | 6e 20 28 69 6e 64 65 78 2c 20 63 6f 75 6e 74 29 20 7b 0a 20 20 20 20 74 68 69 73 2e 74 72 65 65 | n.(index,.count).{.....this.tree |
1673a0 | 2e 72 6f 77 43 6f 75 6e 74 43 68 61 6e 67 65 64 28 69 6e 64 65 78 2c 20 63 6f 75 6e 74 29 3b 0a | .rowCountChanged(index,.count);. |
1673c0 | 20 20 7d 2c 0a 0a 20 20 69 6e 76 61 6c 69 64 61 74 65 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 20 | ..},....invalidate:.function.(). |
1673e0 | 7b 0a 20 20 20 20 74 68 69 73 2e 74 72 65 65 2e 69 6e 76 61 6c 69 64 61 74 65 28 29 3b 0a 20 20 | {.....this.tree.invalidate();... |
167400 | 7d 2c 0a 0a 20 20 65 6e 73 75 72 65 52 6f 77 49 73 56 69 73 69 62 6c 65 3a 20 66 75 6e 63 74 69 | },....ensureRowIsVisible:.functi |
167420 | 6f 6e 20 28 69 6e 64 65 78 29 20 7b 0a 20 20 20 20 74 68 69 73 2e 74 72 65 65 2e 65 6e 73 75 72 | on.(index).{.....this.tree.ensur |
167440 | 65 52 6f 77 49 73 56 69 73 69 62 6c 65 28 69 6e 64 65 78 29 3b 0a 20 20 7d 2c 0a 0a 20 20 67 65 | eRowIsVisible(index);...},....ge |
167460 | 74 53 6f 75 72 63 65 49 6e 64 65 78 46 72 6f 6d 44 72 61 67 3a 20 66 75 6e 63 74 69 6f 6e 20 28 | tSourceIndexFromDrag:.function.( |
167480 | 29 20 7b 0a 20 20 20 20 76 61 72 20 64 72 61 67 53 65 72 76 69 63 65 20 3d 20 43 63 5b 22 40 6d | ).{.....var.dragService.=.Cc["@m |
1674a0 | 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 77 69 64 67 65 74 2f 64 72 61 67 73 65 72 76 69 63 65 3b 31 22 | ozilla.org/widget/dragservice;1" |
1674c0 | 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 53 65 72 76 | ]........................getServ |
1674e0 | 69 63 65 28 29 2e 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 28 43 69 2e 6e 73 49 44 72 61 67 53 | ice().QueryInterface(Ci.nsIDragS |
167500 | 65 72 76 69 63 65 29 3b 0a 20 20 20 20 76 61 72 20 64 72 61 67 53 65 73 73 69 6f 6e 20 3d 20 64 | ervice);.....var.dragSession.=.d |
167520 | 72 61 67 53 65 72 76 69 63 65 2e 67 65 74 43 75 72 72 65 6e 74 53 65 73 73 69 6f 6e 28 29 3b 0a | ragService.getCurrentSession();. |
167540 | 20 20 20 20 76 61 72 20 74 72 61 6e 73 66 65 72 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e | ....var.transfer.=.Cc["@mozilla. |
167560 | 6f 72 67 2f 77 69 64 67 65 74 2f 74 72 61 6e 73 66 65 72 61 62 6c 65 3b 31 22 5d 2e 0a 20 20 20 | org/widget/transferable;1"]..... |
167580 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 72 65 61 74 65 49 6e 73 74 61 6e 63 65 28 43 | ................createInstance(C |
1675a0 | 69 2e 6e 73 49 54 72 61 6e 73 66 65 72 61 62 6c 65 29 3b 0a 0a 20 20 20 20 74 72 61 6e 73 66 65 | i.nsITransferable);......transfe |
1675c0 | 72 2e 61 64 64 44 61 74 61 46 6c 61 76 6f 72 28 45 4e 47 49 4e 45 5f 46 4c 41 56 4f 52 29 3b 0a | r.addDataFlavor(ENGINE_FLAVOR);. |
1675e0 | 20 20 20 20 64 72 61 67 53 65 73 73 69 6f 6e 2e 67 65 74 44 61 74 61 28 74 72 61 6e 73 66 65 72 | ....dragSession.getData(transfer |
167600 | 2c 20 30 29 3b 0a 0a 20 20 20 20 76 61 72 20 64 61 74 61 4f 62 6a 20 3d 20 7b 7d 3b 0a 20 20 20 | ,.0);......var.dataObj.=.{};.... |
167620 | 20 76 61 72 20 6c 65 6e 20 3d 20 7b 7d 3b 0a 20 20 20 20 76 61 72 20 73 6f 75 72 63 65 49 6e 64 | .var.len.=.{};.....var.sourceInd |
167640 | 65 78 20 3d 20 2d 31 3b 0a 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 74 72 61 6e 73 66 65 | ex.=.-1;.....try.{.......transfe |
167660 | 72 2e 67 65 74 41 6e 79 54 72 61 6e 73 66 65 72 44 61 74 61 28 7b 7d 2c 20 64 61 74 61 4f 62 6a | r.getAnyTransferData({},.dataObj |
167680 | 2c 20 6c 65 6e 29 3b 0a 20 20 20 20 7d 20 63 61 74 63 68 20 28 65 78 29 20 7b 7d 0a 0a 20 20 20 | ,.len);.....}.catch.(ex).{}..... |
1676a0 | 20 69 66 20 28 64 61 74 61 4f 62 6a 2e 76 61 6c 75 65 29 20 7b 0a 20 20 20 20 20 20 73 6f 75 72 | .if.(dataObj.value).{.......sour |
1676c0 | 63 65 49 6e 64 65 78 20 3d 20 64 61 74 61 4f 62 6a 2e 76 61 6c 75 65 2e 51 75 65 72 79 49 6e 74 | ceIndex.=.dataObj.value.QueryInt |
1676e0 | 65 72 66 61 63 65 28 43 69 2e 6e 73 49 53 75 70 70 6f 72 74 73 53 74 72 69 6e 67 29 2e 64 61 74 | erface(Ci.nsISupportsString).dat |
167700 | 61 3b 0a 20 20 20 20 20 20 73 6f 75 72 63 65 49 6e 64 65 78 20 3d 20 70 61 72 73 65 49 6e 74 28 | a;.......sourceIndex.=.parseInt( |
167720 | 73 6f 75 72 63 65 49 6e 64 65 78 2e 73 75 62 73 74 72 69 6e 67 28 30 2c 20 6c 65 6e 2e 76 61 6c | sourceIndex.substring(0,.len.val |
167740 | 75 65 29 29 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 72 65 74 75 72 6e 20 73 6f 75 72 63 65 49 6e | ue));.....}......return.sourceIn |
167760 | 64 65 78 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2f 20 6e 73 49 54 72 65 65 56 69 65 77 0a 20 20 67 65 | dex;...},....//.nsITreeView...ge |
167780 | 74 20 72 6f 77 43 6f 75 6e 74 28 29 20 7b 0a 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f | t.rowCount().{.....return.this._ |
1677a0 | 65 6e 67 69 6e 65 53 74 6f 72 65 2e 65 6e 67 69 6e 65 73 2e 6c 65 6e 67 74 68 3b 0a 20 20 7d 2c | engineStore.engines.length;...}, |
1677c0 | 0a 0a 20 20 67 65 74 49 6d 61 67 65 53 72 63 3a 20 66 75 6e 63 74 69 6f 6e 28 69 6e 64 65 78 2c | ....getImageSrc:.function(index, |
1677e0 | 20 63 6f 6c 75 6d 6e 29 20 7b 0a 20 20 20 20 69 66 20 28 63 6f 6c 75 6d 6e 2e 69 64 20 3d 3d 20 | .column).{.....if.(column.id.==. |
167800 | 22 65 6e 67 69 6e 65 4e 61 6d 65 22 20 26 26 20 74 68 69 73 2e 5f 65 6e 67 69 6e 65 53 74 6f 72 | "engineName".&&.this._engineStor |
167820 | 65 2e 65 6e 67 69 6e 65 73 5b 69 6e 64 65 78 5d 2e 69 63 6f 6e 55 52 49 29 0a 20 20 20 20 20 20 | e.engines[index].iconURI)....... |
167840 | 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 65 6e 67 69 6e 65 53 74 6f 72 65 2e 65 6e 67 69 6e 65 73 | return.this._engineStore.engines |
167860 | 5b 69 6e 64 65 78 5d 2e 69 63 6f 6e 55 52 49 2e 73 70 65 63 3b 0a 20 20 20 20 72 65 74 75 72 6e | [index].iconURI.spec;.....return |
167880 | 20 22 22 3b 0a 20 20 7d 2c 0a 0a 20 20 67 65 74 43 65 6c 6c 54 65 78 74 3a 20 66 75 6e 63 74 69 | ."";...},....getCellText:.functi |
1678a0 | 6f 6e 28 69 6e 64 65 78 2c 20 63 6f 6c 75 6d 6e 29 20 7b 0a 20 20 20 20 69 66 20 28 63 6f 6c 75 | on(index,.column).{.....if.(colu |
1678c0 | 6d 6e 2e 69 64 20 3d 3d 20 22 65 6e 67 69 6e 65 4e 61 6d 65 22 29 0a 20 20 20 20 20 20 72 65 74 | mn.id.==."engineName").......ret |
1678e0 | 75 72 6e 20 74 68 69 73 2e 5f 65 6e 67 69 6e 65 53 74 6f 72 65 2e 65 6e 67 69 6e 65 73 5b 69 6e | urn.this._engineStore.engines[in |
167900 | 64 65 78 5d 2e 6e 61 6d 65 3b 0a 20 20 20 20 65 6c 73 65 20 69 66 20 28 63 6f 6c 75 6d 6e 2e 69 | dex].name;.....else.if.(column.i |
167920 | 64 20 3d 3d 20 22 65 6e 67 69 6e 65 4b 65 79 77 6f 72 64 22 29 0a 20 20 20 20 20 20 72 65 74 75 | d.==."engineKeyword").......retu |
167940 | 72 6e 20 74 68 69 73 2e 5f 65 6e 67 69 6e 65 53 74 6f 72 65 2e 65 6e 67 69 6e 65 73 5b 69 6e 64 | rn.this._engineStore.engines[ind |
167960 | 65 78 5d 2e 61 6c 69 61 73 3b 0a 20 20 20 20 72 65 74 75 72 6e 20 22 22 3b 0a 20 20 7d 2c 0a 0a | ex].alias;.....return."";...},.. |
167980 | 20 20 73 65 74 54 72 65 65 3a 20 66 75 6e 63 74 69 6f 6e 28 74 72 65 65 29 20 7b 0a 20 20 20 20 | ..setTree:.function(tree).{..... |
1679a0 | 74 68 69 73 2e 74 72 65 65 20 3d 20 74 72 65 65 3b 0a 20 20 7d 2c 0a 0a 20 20 63 61 6e 44 72 6f | this.tree.=.tree;...},....canDro |
1679c0 | 70 3a 20 66 75 6e 63 74 69 6f 6e 28 74 61 72 67 65 74 49 6e 64 65 78 2c 20 6f 72 69 65 6e 74 61 | p:.function(targetIndex,.orienta |
1679e0 | 74 69 6f 6e 29 20 7b 0a 20 20 20 20 76 61 72 20 73 6f 75 72 63 65 49 6e 64 65 78 20 3d 20 74 68 | tion).{.....var.sourceIndex.=.th |
167a00 | 69 73 2e 67 65 74 53 6f 75 72 63 65 49 6e 64 65 78 46 72 6f 6d 44 72 61 67 28 29 3b 0a 20 20 20 | is.getSourceIndexFromDrag();.... |
167a20 | 20 72 65 74 75 72 6e 20 28 73 6f 75 72 63 65 49 6e 64 65 78 20 21 3d 20 2d 31 20 26 26 0a 20 20 | .return.(sourceIndex.!=.-1.&&... |
167a40 | 20 20 20 20 20 20 20 20 20 20 73 6f 75 72 63 65 49 6e 64 65 78 20 21 3d 20 74 61 72 67 65 74 49 | ..........sourceIndex.!=.targetI |
167a60 | 6e 64 65 78 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 73 6f 75 72 63 65 49 6e 64 65 78 20 | ndex.&&.............sourceIndex. |
167a80 | 21 3d 20 28 74 61 72 67 65 74 49 6e 64 65 78 20 2b 20 6f 72 69 65 6e 74 61 74 69 6f 6e 29 29 3b | !=.(targetIndex.+.orientation)); |
167aa0 | 0a 20 20 7d 2c 0a 0a 20 20 64 72 6f 70 3a 20 66 75 6e 63 74 69 6f 6e 28 64 72 6f 70 49 6e 64 65 | ...},....drop:.function(dropInde |
167ac0 | 78 2c 20 6f 72 69 65 6e 74 61 74 69 6f 6e 29 20 7b 0a 20 20 20 20 76 61 72 20 73 6f 75 72 63 65 | x,.orientation).{.....var.source |
167ae0 | 49 6e 64 65 78 20 3d 20 74 68 69 73 2e 67 65 74 53 6f 75 72 63 65 49 6e 64 65 78 46 72 6f 6d 44 | Index.=.this.getSourceIndexFromD |
167b00 | 72 61 67 28 29 3b 0a 20 20 20 20 76 61 72 20 73 6f 75 72 63 65 45 6e 67 69 6e 65 20 3d 20 74 68 | rag();.....var.sourceEngine.=.th |
167b20 | 69 73 2e 5f 65 6e 67 69 6e 65 53 74 6f 72 65 2e 65 6e 67 69 6e 65 73 5b 73 6f 75 72 63 65 49 6e | is._engineStore.engines[sourceIn |
167b40 | 64 65 78 5d 3b 0a 0a 20 20 20 20 69 66 20 28 64 72 6f 70 49 6e 64 65 78 20 3e 20 73 6f 75 72 63 | dex];......if.(dropIndex.>.sourc |
167b60 | 65 49 6e 64 65 78 29 20 7b 0a 20 20 20 20 20 20 69 66 20 28 6f 72 69 65 6e 74 61 74 69 6f 6e 20 | eIndex).{.......if.(orientation. |
167b80 | 3d 3d 20 43 69 2e 6e 73 49 54 72 65 65 56 69 65 77 2e 44 52 4f 50 5f 42 45 46 4f 52 45 29 0a 20 | ==.Ci.nsITreeView.DROP_BEFORE).. |
167ba0 | 20 20 20 20 20 20 20 64 72 6f 70 49 6e 64 65 78 2d 2d 3b 0a 20 20 20 20 7d 20 65 6c 73 65 20 7b | .......dropIndex--;.....}.else.{ |
167bc0 | 0a 20 20 20 20 20 20 69 66 20 28 6f 72 69 65 6e 74 61 74 69 6f 6e 20 3d 3d 20 43 69 2e 6e 73 49 | .......if.(orientation.==.Ci.nsI |
167be0 | 54 72 65 65 56 69 65 77 2e 44 52 4f 50 5f 41 46 54 45 52 29 0a 20 20 20 20 20 20 20 20 64 72 6f | TreeView.DROP_AFTER).........dro |
167c00 | 70 49 6e 64 65 78 2b 2b 3b 20 20 20 20 0a 20 20 20 20 7d 0a 0a 20 20 20 20 74 68 69 73 2e 5f 65 | pIndex++;.........}......this._e |
167c20 | 6e 67 69 6e 65 53 74 6f 72 65 2e 6d 6f 76 65 45 6e 67 69 6e 65 28 73 6f 75 72 63 65 45 6e 67 69 | ngineStore.moveEngine(sourceEngi |
167c40 | 6e 65 2c 20 64 72 6f 70 49 6e 64 65 78 29 3b 0a 20 20 20 20 67 45 6e 67 69 6e 65 4d 61 6e 61 67 | ne,.dropIndex);.....gEngineManag |
167c60 | 65 72 44 69 61 6c 6f 67 2e 73 68 6f 77 52 65 73 74 6f 72 65 44 65 66 61 75 6c 74 73 28 74 72 75 | erDialog.showRestoreDefaults(tru |
167c80 | 65 29 3b 0a 0a 20 20 20 20 2f 2f 20 52 65 64 72 61 77 2c 20 61 6e 64 20 61 64 6a 75 73 74 20 73 | e);......//.Redraw,.and.adjust.s |
167ca0 | 65 6c 65 63 74 69 6f 6e 0a 20 20 20 20 74 68 69 73 2e 69 6e 76 61 6c 69 64 61 74 65 28 29 3b 0a | election.....this.invalidate();. |
167cc0 | 20 20 20 20 74 68 69 73 2e 73 65 6c 65 63 74 69 6f 6e 2e 63 6c 65 61 72 53 65 6c 65 63 74 69 6f | ....this.selection.clearSelectio |
167ce0 | 6e 28 29 3b 0a 20 20 20 20 74 68 69 73 2e 73 65 6c 65 63 74 69 6f 6e 2e 73 65 6c 65 63 74 28 64 | n();.....this.selection.select(d |
167d00 | 72 6f 70 49 6e 64 65 78 29 3b 0a 20 20 7d 2c 0a 0a 20 20 73 65 6c 65 63 74 69 6f 6e 3a 20 6e 75 | ropIndex);...},....selection:.nu |
167d20 | 6c 6c 2c 0a 20 20 67 65 74 52 6f 77 50 72 6f 70 65 72 74 69 65 73 3a 20 66 75 6e 63 74 69 6f 6e | ll,...getRowProperties:.function |
167d40 | 28 69 6e 64 65 78 2c 20 70 72 6f 70 65 72 74 69 65 73 29 20 7b 20 7d 2c 0a 20 20 67 65 74 43 65 | (index,.properties).{.},...getCe |
167d60 | 6c 6c 50 72 6f 70 65 72 74 69 65 73 3a 20 66 75 6e 63 74 69 6f 6e 28 69 6e 64 65 78 2c 20 63 6f | llProperties:.function(index,.co |
167d80 | 6c 75 6d 6e 2c 20 70 72 6f 70 65 72 74 69 65 73 29 20 7b 20 7d 2c 0a 20 20 67 65 74 43 6f 6c 75 | lumn,.properties).{.},...getColu |
167da0 | 6d 6e 50 72 6f 70 65 72 74 69 65 73 3a 20 66 75 6e 63 74 69 6f 6e 28 63 6f 6c 75 6d 6e 2c 20 70 | mnProperties:.function(column,.p |
167dc0 | 72 6f 70 65 72 74 69 65 73 29 20 7b 20 7d 2c 0a 20 20 69 73 43 6f 6e 74 61 69 6e 65 72 3a 20 66 | roperties).{.},...isContainer:.f |
167de0 | 75 6e 63 74 69 6f 6e 28 69 6e 64 65 78 29 20 7b 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 20 7d | unction(index).{.return.false;.} |
167e00 | 2c 0a 20 20 69 73 43 6f 6e 74 61 69 6e 65 72 4f 70 65 6e 3a 20 66 75 6e 63 74 69 6f 6e 28 69 6e | ,...isContainerOpen:.function(in |
167e20 | 64 65 78 29 20 7b 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 20 7d 2c 0a 20 20 69 73 43 6f 6e 74 | dex).{.return.false;.},...isCont |
167e40 | 61 69 6e 65 72 45 6d 70 74 79 3a 20 66 75 6e 63 74 69 6f 6e 28 69 6e 64 65 78 29 20 7b 20 72 65 | ainerEmpty:.function(index).{.re |
167e60 | 74 75 72 6e 20 66 61 6c 73 65 3b 20 7d 2c 0a 20 20 69 73 53 65 70 61 72 61 74 6f 72 3a 20 66 75 | turn.false;.},...isSeparator:.fu |
167e80 | 6e 63 74 69 6f 6e 28 69 6e 64 65 78 29 20 7b 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 20 7d 2c | nction(index).{.return.false;.}, |
167ea0 | 0a 20 20 69 73 53 6f 72 74 65 64 3a 20 66 75 6e 63 74 69 6f 6e 28 69 6e 64 65 78 29 20 7b 20 72 | ...isSorted:.function(index).{.r |
167ec0 | 65 74 75 72 6e 20 66 61 6c 73 65 3b 20 7d 2c 0a 20 20 67 65 74 50 61 72 65 6e 74 49 6e 64 65 78 | eturn.false;.},...getParentIndex |
167ee0 | 3a 20 66 75 6e 63 74 69 6f 6e 28 69 6e 64 65 78 29 20 7b 20 72 65 74 75 72 6e 20 2d 31 3b 20 7d | :.function(index).{.return.-1;.} |
167f00 | 2c 0a 20 20 68 61 73 4e 65 78 74 53 69 62 6c 69 6e 67 3a 20 66 75 6e 63 74 69 6f 6e 28 70 61 72 | ,...hasNextSibling:.function(par |
167f20 | 65 6e 74 49 6e 64 65 78 2c 20 69 6e 64 65 78 29 20 7b 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b | entIndex,.index).{.return.false; |
167f40 | 20 7d 2c 0a 20 20 67 65 74 4c 65 76 65 6c 3a 20 66 75 6e 63 74 69 6f 6e 28 69 6e 64 65 78 29 20 | .},...getLevel:.function(index). |
167f60 | 7b 20 72 65 74 75 72 6e 20 30 3b 20 7d 2c 0a 20 20 67 65 74 50 72 6f 67 72 65 73 73 4d 6f 64 65 | {.return.0;.},...getProgressMode |
167f80 | 3a 20 66 75 6e 63 74 69 6f 6e 28 69 6e 64 65 78 2c 20 63 6f 6c 75 6d 6e 29 20 7b 20 7d 2c 0a 20 | :.function(index,.column).{.},.. |
167fa0 | 20 67 65 74 43 65 6c 6c 56 61 6c 75 65 3a 20 66 75 6e 63 74 69 6f 6e 28 69 6e 64 65 78 2c 20 63 | .getCellValue:.function(index,.c |
167fc0 | 6f 6c 75 6d 6e 29 20 7b 20 7d 2c 0a 20 20 74 6f 67 67 6c 65 4f 70 65 6e 53 74 61 74 65 3a 20 66 | olumn).{.},...toggleOpenState:.f |
167fe0 | 75 6e 63 74 69 6f 6e 28 69 6e 64 65 78 29 20 7b 20 7d 2c 0a 20 20 63 79 63 6c 65 48 65 61 64 65 | unction(index).{.},...cycleHeade |
168000 | 72 3a 20 66 75 6e 63 74 69 6f 6e 28 63 6f 6c 75 6d 6e 29 20 7b 20 7d 2c 0a 20 20 73 65 6c 65 63 | r:.function(column).{.},...selec |
168020 | 74 69 6f 6e 43 68 61 6e 67 65 64 3a 20 66 75 6e 63 74 69 6f 6e 28 29 20 7b 20 7d 2c 0a 20 20 63 | tionChanged:.function().{.},...c |
168040 | 79 63 6c 65 43 65 6c 6c 3a 20 66 75 6e 63 74 69 6f 6e 28 72 6f 77 2c 20 63 6f 6c 75 6d 6e 29 20 | ycleCell:.function(row,.column). |
168060 | 7b 20 7d 2c 0a 20 20 69 73 45 64 69 74 61 62 6c 65 3a 20 66 75 6e 63 74 69 6f 6e 28 69 6e 64 65 | {.},...isEditable:.function(inde |
168080 | 78 2c 20 63 6f 6c 75 6d 6e 29 20 7b 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 20 7d 2c 0a 20 20 | x,.column).{.return.false;.},... |
1680a0 | 69 73 53 65 6c 65 63 74 61 62 6c 65 3a 20 66 75 6e 63 74 69 6f 6e 28 69 6e 64 65 78 2c 20 63 6f | isSelectable:.function(index,.co |
1680c0 | 6c 75 6d 6e 29 20 7b 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 20 7d 2c 0a 20 20 73 65 74 43 65 | lumn).{.return.false;.},...setCe |
1680e0 | 6c 6c 56 61 6c 75 65 3a 20 66 75 6e 63 74 69 6f 6e 28 69 6e 64 65 78 2c 20 63 6f 6c 75 6d 6e 2c | llValue:.function(index,.column, |
168100 | 20 76 61 6c 75 65 29 20 7b 20 7d 2c 0a 20 20 73 65 74 43 65 6c 6c 54 65 78 74 3a 20 66 75 6e 63 | .value).{.},...setCellText:.func |
168120 | 74 69 6f 6e 28 69 6e 64 65 78 2c 20 63 6f 6c 75 6d 6e 2c 20 76 61 6c 75 65 29 20 7b 20 7d 2c 0a | tion(index,.column,.value).{.},. |
168140 | 20 20 70 65 72 66 6f 72 6d 41 63 74 69 6f 6e 3a 20 66 75 6e 63 74 69 6f 6e 28 61 63 74 69 6f 6e | ..performAction:.function(action |
168160 | 29 20 7b 20 7d 2c 0a 20 20 70 65 72 66 6f 72 6d 41 63 74 69 6f 6e 4f 6e 52 6f 77 3a 20 66 75 6e | ).{.},...performActionOnRow:.fun |
168180 | 63 74 69 6f 6e 28 61 63 74 69 6f 6e 2c 20 69 6e 64 65 78 29 20 7b 20 7d 2c 0a 20 20 70 65 72 66 | ction(action,.index).{.},...perf |
1681a0 | 6f 72 6d 41 63 74 69 6f 6e 4f 6e 43 65 6c 6c 3a 20 66 75 6e 63 74 69 6f 6e 28 61 63 74 69 6f 6e | ormActionOnCell:.function(action |
1681c0 | 2c 20 69 6e 64 65 78 2c 20 63 6f 6c 75 6d 6e 29 20 7b 20 7d 0a 7d 3b 0a 50 4b 03 04 14 00 00 00 | ,.index,.column).{.}.};.PK...... |
1681e0 | 00 00 f3 4b 18 3b 1f df fa a5 6e 0c 00 00 6e 0c 00 00 29 00 00 00 63 6f 6e 74 65 6e 74 2f 62 72 | ...K.;....n...n...)...content/br |
168200 | 6f 77 73 65 72 2f 61 62 6f 75 74 53 65 73 73 69 6f 6e 52 65 73 74 6f 72 65 2e 78 68 74 6d 6c 3c | owser/aboutSessionRestore.xhtml< |
168220 | 3f 78 6d 6c 20 76 65 72 73 69 6f 6e 3d 22 31 2e 30 22 20 65 6e 63 6f 64 69 6e 67 3d 22 55 54 46 | ?xml.version="1.0".encoding="UTF |
168240 | 2d 38 22 3f 3e 0a 3c 21 2d 2d 0a 2d 2d 3e 0a 3c 21 44 4f 43 54 59 50 45 20 68 74 6d 6c 20 5b 0a | -8"?>.<!--.-->.<!DOCTYPE.html.[. |
168260 | 20 20 3c 21 45 4e 54 49 54 59 20 25 20 68 74 6d 6c 44 54 44 20 50 55 42 4c 49 43 20 22 2d 2f 2f | ..<!ENTITY.%.htmlDTD.PUBLIC."-// |
168280 | 57 33 43 2f 2f 44 54 44 20 58 48 54 4d 4c 20 31 2e 30 20 53 74 72 69 63 74 2f 2f 45 4e 22 20 22 | W3C//DTD.XHTML.1.0.Strict//EN"." |
1682a0 | 44 54 44 2f 78 68 74 6d 6c 31 2d 73 74 72 69 63 74 2e 64 74 64 22 3e 0a 20 20 25 68 74 6d 6c 44 | DTD/xhtml1-strict.dtd">...%htmlD |
1682c0 | 54 44 3b 0a 20 20 3c 21 45 4e 54 49 54 59 20 25 20 6e 65 74 45 72 72 6f 72 44 54 44 20 53 59 53 | TD;...<!ENTITY.%.netErrorDTD.SYS |
1682e0 | 54 45 4d 20 22 63 68 72 6f 6d 65 3a 2f 2f 67 6c 6f 62 61 6c 2f 6c 6f 63 61 6c 65 2f 6e 65 74 45 | TEM."chrome://global/locale/netE |
168300 | 72 72 6f 72 2e 64 74 64 22 3e 0a 20 20 25 6e 65 74 45 72 72 6f 72 44 54 44 3b 0a 20 20 3c 21 45 | rror.dtd">...%netErrorDTD;...<!E |
168320 | 4e 54 49 54 59 20 25 20 67 6c 6f 62 61 6c 44 54 44 20 53 59 53 54 45 4d 20 22 63 68 72 6f 6d 65 | NTITY.%.globalDTD.SYSTEM."chrome |
168340 | 3a 2f 2f 67 6c 6f 62 61 6c 2f 6c 6f 63 61 6c 65 2f 67 6c 6f 62 61 6c 2e 64 74 64 22 3e 0a 20 20 | ://global/locale/global.dtd">... |
168360 | 25 67 6c 6f 62 61 6c 44 54 44 3b 0a 20 20 3c 21 45 4e 54 49 54 59 20 25 20 72 65 73 74 6f 72 65 | %globalDTD;...<!ENTITY.%.restore |
168380 | 70 61 67 65 44 54 44 20 53 59 53 54 45 4d 20 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 | pageDTD.SYSTEM."chrome://browser |
1683a0 | 2f 6c 6f 63 61 6c 65 2f 61 62 6f 75 74 53 65 73 73 69 6f 6e 52 65 73 74 6f 72 65 2e 64 74 64 22 | /locale/aboutSessionRestore.dtd" |
1683c0 | 3e 0a 20 20 25 72 65 73 74 6f 72 65 70 61 67 65 44 54 44 3b 0a 5d 3e 0a 0a 3c 68 74 6d 6c 20 78 | >...%restorepageDTD;.]>..<html.x |
1683e0 | 6d 6c 6e 73 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e 77 33 2e 6f 72 67 2f 31 39 39 39 2f 78 68 74 | mlns="http://www.w3.org/1999/xht |
168400 | 6d 6c 22 3e 0a 20 20 3c 68 65 61 64 3e 0a 20 20 20 20 3c 74 69 74 6c 65 3e 26 72 65 73 74 6f 72 | ml">...<head>.....<title>&restor |
168420 | 65 70 61 67 65 2e 74 61 62 74 69 74 6c 65 3b 3c 2f 74 69 74 6c 65 3e 0a 20 20 20 20 3c 6c 69 6e | epage.tabtitle;</title>.....<lin |
168440 | 6b 20 72 65 6c 3d 22 73 74 79 6c 65 73 68 65 65 74 22 20 68 72 65 66 3d 22 63 68 72 6f 6d 65 3a | k.rel="stylesheet".href="chrome: |
168460 | 2f 2f 67 6c 6f 62 61 6c 2f 73 6b 69 6e 2f 6e 65 74 45 72 72 6f 72 2e 63 73 73 22 20 74 79 70 65 | //global/skin/netError.css".type |
168480 | 3d 22 74 65 78 74 2f 63 73 73 22 20 6d 65 64 69 61 3d 22 61 6c 6c 22 2f 3e 0a 20 20 20 20 3c 6c | ="text/css".media="all"/>.....<l |
1684a0 | 69 6e 6b 20 72 65 6c 3d 22 73 74 79 6c 65 73 68 65 65 74 22 20 68 72 65 66 3d 22 63 68 72 6f 6d | ink.rel="stylesheet".href="chrom |
1684c0 | 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 73 6b 69 6e 2f 61 62 6f 75 74 53 65 73 73 69 6f 6e 52 65 73 | e://browser/skin/aboutSessionRes |
1684e0 | 74 6f 72 65 2e 63 73 73 22 20 74 79 70 65 3d 22 74 65 78 74 2f 63 73 73 22 20 6d 65 64 69 61 3d | tore.css".type="text/css".media= |
168500 | 22 61 6c 6c 22 2f 3e 0a 20 20 20 20 3c 6c 69 6e 6b 20 72 65 6c 3d 22 69 63 6f 6e 22 20 74 79 70 | "all"/>.....<link.rel="icon".typ |
168520 | 65 3d 22 69 6d 61 67 65 2f 70 6e 67 22 20 68 72 65 66 3d 22 63 68 72 6f 6d 65 3a 2f 2f 67 6c 6f | e="image/png".href="chrome://glo |
168540 | 62 61 6c 2f 73 6b 69 6e 2f 69 63 6f 6e 73 2f 77 61 72 6e 69 6e 67 2d 31 36 2e 70 6e 67 22 2f 3e | bal/skin/icons/warning-16.png"/> |
168560 | 0a 0a 20 20 20 20 3c 73 63 72 69 70 74 20 74 79 70 65 3d 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f | ......<script.type="application/ |
168580 | 6a 61 76 61 73 63 72 69 70 74 22 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 | javascript".src="chrome://browse |
1685a0 | 72 2f 63 6f 6e 74 65 6e 74 2f 61 62 6f 75 74 53 65 73 73 69 6f 6e 52 65 73 74 6f 72 65 2e 6a 73 | r/content/aboutSessionRestore.js |
1685c0 | 22 2f 3e 0a 20 20 3c 2f 68 65 61 64 3e 0a 0a 20 20 3c 62 6f 64 79 20 64 69 72 3d 22 26 6c 6f 63 | "/>...</head>....<body.dir="&loc |
1685e0 | 61 6c 65 2e 64 69 72 3b 22 3e 0a 0a 20 20 20 20 3c 21 2d 2d 20 50 41 47 45 20 43 4f 4e 54 41 49 | ale.dir;">......<!--.PAGE.CONTAI |
168600 | 4e 45 52 20 28 66 6f 72 20 73 74 79 6c 69 6e 67 20 70 75 72 70 6f 73 65 73 20 6f 6e 6c 79 29 20 | NER.(for.styling.purposes.only). |
168620 | 2d 2d 3e 0a 20 20 20 20 3c 64 69 76 20 69 64 3d 22 65 72 72 6f 72 50 61 67 65 43 6f 6e 74 61 69 | -->.....<div.id="errorPageContai |
168640 | 6e 65 72 22 3e 0a 20 20 20 20 0a 20 20 20 20 20 20 3c 21 2d 2d 20 45 72 72 6f 72 20 54 69 74 6c | ner">............<!--.Error.Titl |
168660 | 65 20 2d 2d 3e 0a 20 20 20 20 20 20 3c 64 69 76 20 69 64 3d 22 65 72 72 6f 72 54 69 74 6c 65 22 | e.-->.......<div.id="errorTitle" |
168680 | 3e 0a 20 20 20 20 20 20 20 20 3c 68 31 20 69 64 3d 22 65 72 72 6f 72 54 69 74 6c 65 54 65 78 74 | >.........<h1.id="errorTitleText |
1686a0 | 22 3e 26 72 65 73 74 6f 72 65 70 61 67 65 2e 65 72 72 6f 72 54 69 74 6c 65 3b 3c 2f 68 31 3e 0a | ">&restorepage.errorTitle;</h1>. |
1686c0 | 20 20 20 20 20 20 3c 2f 64 69 76 3e 0a 20 20 20 20 20 20 0a 20 20 20 20 20 20 3c 21 2d 2d 20 4c | ......</div>..............<!--.L |
1686e0 | 4f 4e 47 20 43 4f 4e 54 45 4e 54 20 28 74 68 65 20 73 65 63 74 69 6f 6e 20 6d 6f 73 74 20 6c 69 | ONG.CONTENT.(the.section.most.li |
168700 | 6b 65 6c 79 20 74 6f 20 72 65 71 75 69 72 65 20 73 63 72 6f 6c 6c 69 6e 67 29 20 2d 2d 3e 0a 20 | kely.to.require.scrolling).-->.. |
168720 | 20 20 20 20 20 3c 64 69 76 20 69 64 3d 22 65 72 72 6f 72 4c 6f 6e 67 43 6f 6e 74 65 6e 74 22 3e | .....<div.id="errorLongContent"> |
168740 | 0a 20 20 20 20 20 20 0a 20 20 20 20 20 20 20 20 3c 21 2d 2d 20 53 68 6f 72 74 20 44 65 73 63 72 | ................<!--.Short.Descr |
168760 | 69 70 74 69 6f 6e 20 2d 2d 3e 0a 20 20 20 20 20 20 20 20 3c 64 69 76 20 69 64 3d 22 65 72 72 6f | iption.-->.........<div.id="erro |
168780 | 72 53 68 6f 72 74 44 65 73 63 22 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 70 20 69 64 3d 22 65 72 | rShortDesc">...........<p.id="er |
1687a0 | 72 6f 72 53 68 6f 72 74 44 65 73 63 54 65 78 74 22 3e 26 72 65 73 74 6f 72 65 70 61 67 65 2e 70 | rorShortDescText">&restorepage.p |
1687c0 | 72 6f 62 6c 65 6d 44 65 73 63 3b 3c 2f 70 3e 0a 20 20 20 20 20 20 20 20 3c 2f 64 69 76 3e 0a 0a | roblemDesc;</p>.........</div>.. |
1687e0 | 20 20 20 20 20 20 20 20 3c 21 2d 2d 20 4c 6f 6e 67 20 44 65 73 63 72 69 70 74 69 6f 6e 20 28 4e | ........<!--.Long.Description.(N |
168800 | 6f 74 65 3a 20 53 65 65 20 6e 65 74 45 72 72 6f 72 2e 64 74 64 20 66 6f 72 20 75 73 65 64 20 58 | ote:.See.netError.dtd.for.used.X |
168820 | 48 54 4d 4c 20 74 61 67 73 29 20 2d 2d 3e 0a 20 20 20 20 20 20 20 20 3c 64 69 76 20 69 64 3d 22 | HTML.tags).-->.........<div.id=" |
168840 | 65 72 72 6f 72 4c 6f 6e 67 44 65 73 63 22 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 70 3e 26 72 65 | errorLongDesc">...........<p>&re |
168860 | 73 74 6f 72 65 70 61 67 65 2e 74 72 79 54 68 69 73 3b 3c 2f 70 3e 0a 20 20 20 20 20 20 20 20 20 | storepage.tryThis;</p>.......... |
168880 | 20 3c 75 6c 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 69 3e 26 72 65 73 74 6f 72 65 70 61 | .<ul>.............<li>&restorepa |
1688a0 | 67 65 2e 72 65 73 74 6f 72 65 53 6f 6d 65 3b 3c 2f 6c 69 3e 0a 20 20 20 20 20 20 20 20 20 20 20 | ge.restoreSome;</li>............ |
1688c0 | 20 3c 6c 69 3e 26 72 65 73 74 6f 72 65 70 61 67 65 2e 73 74 61 72 74 4e 65 77 3b 3c 2f 6c 69 3e | .<li>&restorepage.startNew;</li> |
1688e0 | 0a 20 20 20 20 20 20 20 20 20 20 3c 2f 75 6c 3e 0a 20 20 20 20 20 20 20 20 3c 2f 64 69 76 3e 0a | ...........</ul>.........</div>. |
168900 | 0a 20 20 20 20 20 20 20 20 3c 21 2d 2d 20 53 68 6f 72 74 20 44 65 73 63 72 69 70 74 69 6f 6e 20 | .........<!--.Short.Description. |
168920 | 2d 2d 3e 0a 20 20 20 20 20 20 20 20 3c 64 69 76 20 69 64 3d 22 65 72 72 6f 72 54 72 61 69 6c 65 | -->.........<div.id="errorTraile |
168940 | 72 44 65 73 63 22 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 70 3e 26 6e 62 73 70 3b 3c 2f 70 3e 0a | rDesc">...........<p> </p>. |
168960 | 20 20 20 20 20 20 20 20 20 20 3c 74 72 65 65 20 78 6d 6c 6e 73 3d 22 68 74 74 70 3a 2f 2f 77 77 | ..........<tree.xmlns="http://ww |
168980 | 77 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6b 65 79 6d 61 73 74 65 72 2f 67 61 74 65 6b 65 65 70 | w.mozilla.org/keymaster/gatekeep |
1689a0 | 65 72 2f 74 68 65 72 65 2e 69 73 2e 6f 6e 6c 79 2e 78 75 6c 22 0a 20 20 20 20 20 20 20 20 20 20 | er/there.is.only.xul"........... |
1689c0 | 20 20 20 20 20 20 69 64 3d 22 74 61 62 4c 69 73 74 22 20 66 6c 65 78 3d 22 31 22 20 73 65 6c 74 | ......id="tabList".flex="1".selt |
1689e0 | 79 70 65 3d 22 73 69 6e 67 6c 65 22 20 68 69 64 65 63 6f 6c 75 6d 6e 70 69 63 6b 65 72 3d 22 74 | ype="single".hidecolumnpicker="t |
168a00 | 72 75 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6c 69 63 6b 3d 22 6f 6e | rue".................onclick="on |
168a20 | 4c 69 73 74 43 6c 69 63 6b 28 65 76 65 6e 74 29 3b 22 20 6f 6e 6b 65 79 64 6f 77 6e 3d 22 6f 6e | ListClick(event);".onkeydown="on |
168a40 | 4c 69 73 74 4b 65 79 44 6f 77 6e 28 65 76 65 6e 74 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 | ListKeyDown(event);"............ |
168a60 | 20 20 20 20 20 5f 77 69 6e 64 6f 77 5f 6c 61 62 65 6c 3d 22 26 72 65 73 74 6f 72 65 70 61 67 65 | ....._window_label="&restorepage |
168a80 | 2e 77 69 6e 64 6f 77 4c 61 62 65 6c 3b 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 74 72 65 | .windowLabel;">.............<tre |
168aa0 | 65 63 6f 6c 73 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 74 72 65 65 63 6f 6c 20 63 79 | ecols>...............<treecol.cy |
168ac0 | 63 6c 65 72 3d 22 74 72 75 65 22 20 69 64 3d 22 72 65 73 74 6f 72 65 22 20 74 79 70 65 3d 22 63 | cler="true".id="restore".type="c |
168ae0 | 68 65 63 6b 62 6f 78 22 20 6c 61 62 65 6c 3d 22 26 72 65 73 74 6f 72 65 70 61 67 65 2e 72 65 73 | heckbox".label="&restorepage.res |
168b00 | 74 6f 72 65 48 65 61 64 65 72 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 73 70 | toreHeader;"/>...............<sp |
168b20 | 6c 69 74 74 65 72 20 63 6c 61 73 73 3d 22 74 72 65 65 2d 73 70 6c 69 74 74 65 72 22 2f 3e 0a 20 | litter.class="tree-splitter"/>.. |
168b40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 74 72 65 65 63 6f 6c 20 70 72 69 6d 61 72 79 3d 22 74 | .............<treecol.primary="t |
168b60 | 72 75 65 22 20 69 64 3d 22 74 69 74 6c 65 22 20 6c 61 62 65 6c 3d 22 26 72 65 73 74 6f 72 65 70 | rue".id="title".label="&restorep |
168b80 | 61 67 65 2e 6c 69 73 74 48 65 61 64 65 72 3b 22 20 66 6c 65 78 3d 22 31 22 2f 3e 0a 20 20 20 20 | age.listHeader;".flex="1"/>..... |
168ba0 | 20 20 20 20 20 20 20 20 3c 2f 74 72 65 65 63 6f 6c 73 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ........</treecols>............. |
168bc0 | 3c 74 72 65 65 63 68 69 6c 64 72 65 6e 20 66 6c 65 78 3d 22 31 22 2f 3e 0a 20 20 20 20 20 20 20 | <treechildren.flex="1"/>........ |
168be0 | 20 20 20 3c 2f 74 72 65 65 3e 0a 20 20 20 20 20 20 20 20 3c 2f 64 69 76 3e 0a 20 20 20 20 20 20 | ...</tree>.........</div>....... |
168c00 | 3c 2f 64 69 76 3e 0a 0a 20 20 20 20 20 20 3c 21 2d 2d 20 42 75 74 74 6f 6e 73 20 2d 2d 3e 0a 20 | </div>........<!--.Buttons.-->.. |
168c20 | 20 20 20 20 20 3c 68 62 6f 78 20 78 6d 6c 6e 73 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a | .....<hbox.xmlns="http://www.moz |
168c40 | 69 6c 6c 61 2e 6f 72 67 2f 6b 65 79 6d 61 73 74 65 72 2f 67 61 74 65 6b 65 65 70 65 72 2f 74 68 | illa.org/keymaster/gatekeeper/th |
168c60 | 65 72 65 2e 69 73 2e 6f 6e 6c 79 2e 78 75 6c 22 20 69 64 3d 22 62 75 74 74 6f 6e 73 22 3e 0a 20 | ere.is.only.xul".id="buttons">.. |
168c80 | 20 20 20 20 20 20 20 3c 62 75 74 74 6f 6e 20 69 64 3d 22 65 72 72 6f 72 43 61 6e 63 65 6c 22 20 | .......<button.id="errorCancel". |
168ca0 | 6c 61 62 65 6c 3d 22 26 72 65 73 74 6f 72 65 70 61 67 65 2e 63 61 6e 63 65 6c 42 75 74 74 6f 6e | label="&restorepage.cancelButton |
168cc0 | 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 72 | ;".................accesskey="&r |
168ce0 | 65 73 74 6f 72 65 70 61 67 65 2e 63 61 6e 63 65 6c 2e 61 63 63 65 73 73 3b 22 0a 20 20 20 20 20 | estorepage.cancel.access;"...... |
168d00 | 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 73 74 61 72 74 4e 65 77 53 65 | ...........oncommand="startNewSe |
168d20 | 73 73 69 6f 6e 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 75 74 74 6f 6e 20 69 64 3d 22 | ssion();"/>.........<button.id=" |
168d40 | 65 72 72 6f 72 54 72 79 41 67 61 69 6e 22 20 6c 61 62 65 6c 3d 22 26 72 65 73 74 6f 72 65 70 61 | errorTryAgain".label="&restorepa |
168d60 | 67 65 2e 74 72 79 61 67 61 69 6e 42 75 74 74 6f 6e 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ge.tryagainButton;"............. |
168d80 | 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 72 65 73 74 6f 72 65 70 61 67 65 2e 72 65 73 74 | ....accesskey="&restorepage.rest |
168da0 | 6f 72 65 2e 61 63 63 65 73 73 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 | ore.access;".................onc |
168dc0 | 6f 6d 6d 61 6e 64 3d 22 72 65 73 74 6f 72 65 53 65 73 73 69 6f 6e 28 29 3b 22 2f 3e 0a 20 20 20 | ommand="restoreSession();"/>.... |
168de0 | 20 20 20 3c 2f 68 62 6f 78 3e 0a 20 20 20 20 20 20 3c 21 2d 2d 20 68 6f 6c 64 73 20 74 68 65 20 | ...</hbox>.......<!--.holds.the. |
168e00 | 73 65 73 73 69 6f 6e 20 64 61 74 61 20 66 6f 72 20 77 68 65 6e 20 74 68 65 20 74 61 62 20 69 73 | session.data.for.when.the.tab.is |
168e20 | 20 63 6c 6f 73 65 64 20 2d 2d 3e 0a 20 20 20 20 20 20 3c 69 6e 70 75 74 20 74 79 70 65 3d 22 74 | .closed.-->.......<input.type="t |
168e40 | 65 78 74 22 20 69 64 3d 22 73 65 73 73 69 6f 6e 44 61 74 61 22 20 73 74 79 6c 65 3d 22 64 69 73 | ext".id="sessionData".style="dis |
168e60 | 70 6c 61 79 3a 20 6e 6f 6e 65 3b 22 2f 3e 0a 20 20 20 20 3c 2f 64 69 76 3e 0a 0a 20 20 3c 2f 62 | play:.none;"/>.....</div>....</b |
168e80 | 6f 64 79 3e 0a 3c 2f 68 74 6d 6c 3e 0a 50 4b 03 04 14 00 00 00 00 00 f3 4b 18 3b 4f 71 a7 06 23 | ody>.</html>.PK.........K.;Oq..# |
168ea0 | 2e 00 00 23 2e 00 00 26 00 00 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 61 62 6f 75 74 | ...#...&...content/browser/about |
168ec0 | 53 65 73 73 69 6f 6e 52 65 73 74 6f 72 65 2e 6a 73 2f 2a 20 2a 2a 2a 2a 2a 20 42 45 47 49 4e 20 | SessionRestore.js/*.*****.BEGIN. |
168ee0 | 4c 49 43 45 4e 53 45 20 42 4c 4f 43 4b 20 2a 2a 2a 2a 2a 0a 20 2a 20 56 65 72 73 69 6f 6e 3a 20 | LICENSE.BLOCK.*****..*.Version:. |
168f00 | 4d 50 4c 20 31 2e 31 2f 47 50 4c 20 32 2e 30 2f 4c 47 50 4c 20 32 2e 31 0a 20 2a 0a 20 2a 20 54 | MPL.1.1/GPL.2.0/LGPL.2.1..*..*.T |
168f20 | 68 65 20 63 6f 6e 74 65 6e 74 73 20 6f 66 20 74 68 69 73 20 66 69 6c 65 20 61 72 65 20 73 75 62 | he.contents.of.this.file.are.sub |
168f40 | 6a 65 63 74 20 74 6f 20 74 68 65 20 4d 6f 7a 69 6c 6c 61 20 50 75 62 6c 69 63 20 4c 69 63 65 6e | ject.to.the.Mozilla.Public.Licen |
168f60 | 73 65 20 56 65 72 73 69 6f 6e 0a 20 2a 20 31 2e 31 20 28 74 68 65 20 22 4c 69 63 65 6e 73 65 22 | se.Version..*.1.1.(the."License" |
168f80 | 29 3b 20 79 6f 75 20 6d 61 79 20 6e 6f 74 20 75 73 65 20 74 68 69 73 20 66 69 6c 65 20 65 78 63 | );.you.may.not.use.this.file.exc |
168fa0 | 65 70 74 20 69 6e 20 63 6f 6d 70 6c 69 61 6e 63 65 20 77 69 74 68 0a 20 2a 20 74 68 65 20 4c 69 | ept.in.compliance.with..*.the.Li |
168fc0 | 63 65 6e 73 65 2e 20 59 6f 75 20 6d 61 79 20 6f 62 74 61 69 6e 20 61 20 63 6f 70 79 20 6f 66 20 | cense..You.may.obtain.a.copy.of. |
168fe0 | 74 68 65 20 4c 69 63 65 6e 73 65 20 61 74 0a 20 2a 20 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a | the.License.at..*.http://www.moz |
169000 | 69 6c 6c 61 2e 6f 72 67 2f 4d 50 4c 2f 0a 20 2a 0a 20 2a 20 53 6f 66 74 77 61 72 65 20 64 69 73 | illa.org/MPL/..*..*.Software.dis |
169020 | 74 72 69 62 75 74 65 64 20 75 6e 64 65 72 20 74 68 65 20 4c 69 63 65 6e 73 65 20 69 73 20 64 69 | tributed.under.the.License.is.di |
169040 | 73 74 72 69 62 75 74 65 64 20 6f 6e 20 61 6e 20 22 41 53 20 49 53 22 20 62 61 73 69 73 2c 0a 20 | stributed.on.an."AS.IS".basis,.. |
169060 | 2a 20 57 49 54 48 4f 55 54 20 57 41 52 52 41 4e 54 59 20 4f 46 20 41 4e 59 20 4b 49 4e 44 2c 20 | *.WITHOUT.WARRANTY.OF.ANY.KIND,. |
169080 | 65 69 74 68 65 72 20 65 78 70 72 65 73 73 20 6f 72 20 69 6d 70 6c 69 65 64 2e 20 53 65 65 20 74 | either.express.or.implied..See.t |
1690a0 | 68 65 20 4c 69 63 65 6e 73 65 0a 20 2a 20 66 6f 72 20 74 68 65 20 73 70 65 63 69 66 69 63 20 6c | he.License..*.for.the.specific.l |
1690c0 | 61 6e 67 75 61 67 65 20 67 6f 76 65 72 6e 69 6e 67 20 72 69 67 68 74 73 20 61 6e 64 20 6c 69 6d | anguage.governing.rights.and.lim |
1690e0 | 69 74 61 74 69 6f 6e 73 20 75 6e 64 65 72 20 74 68 65 0a 20 2a 20 4c 69 63 65 6e 73 65 2e 0a 20 | itations.under.the..*.License... |
169100 | 2a 0a 20 2a 20 54 68 65 20 4f 72 69 67 69 6e 61 6c 20 43 6f 64 65 20 69 73 20 74 68 65 20 6e 73 | *..*.The.Original.Code.is.the.ns |
169120 | 53 65 73 73 69 6f 6e 53 74 6f 72 65 20 63 6f 6d 70 6f 6e 65 6e 74 2e 0a 20 2a 0a 20 2a 20 54 68 | SessionStore.component...*..*.Th |
169140 | 65 20 49 6e 69 74 69 61 6c 20 44 65 76 65 6c 6f 70 65 72 20 6f 66 20 74 68 65 20 4f 72 69 67 69 | e.Initial.Developer.of.the.Origi |
169160 | 6e 61 6c 20 43 6f 64 65 20 69 73 0a 20 2a 20 53 69 6d 6f 6e 20 42 c3 bc 6e 7a 6c 69 20 3c 7a 65 | nal.Code.is..*.Simon.B..nzli.<ze |
169180 | 6e 69 6b 6f 40 67 6d 61 69 6c 2e 63 6f 6d 3e 0a 20 2a 20 50 6f 72 74 69 6f 6e 73 20 63 72 65 61 | niko@gmail.com>..*.Portions.crea |
1691a0 | 74 65 64 20 62 79 20 74 68 65 20 49 6e 69 74 69 61 6c 20 44 65 76 65 6c 6f 70 65 72 20 61 72 65 | ted.by.the.Initial.Developer.are |
1691c0 | 20 43 6f 70 79 72 69 67 68 74 20 28 43 29 20 32 30 30 38 0a 20 2a 20 74 68 65 20 49 6e 69 74 69 | .Copyright.(C).2008..*.the.Initi |
1691e0 | 61 6c 20 44 65 76 65 6c 6f 70 65 72 2e 20 41 6c 6c 20 52 69 67 68 74 73 20 52 65 73 65 72 76 65 | al.Developer..All.Rights.Reserve |
169200 | 64 2e 0a 20 2a 0a 20 2a 20 43 6f 6e 74 72 69 62 75 74 6f 72 28 73 29 3a 0a 20 2a 0a 20 2a 20 41 | d...*..*.Contributor(s):..*..*.A |
169220 | 6c 74 65 72 6e 61 74 69 76 65 6c 79 2c 20 74 68 65 20 63 6f 6e 74 65 6e 74 73 20 6f 66 20 74 68 | lternatively,.the.contents.of.th |
169240 | 69 73 20 66 69 6c 65 20 6d 61 79 20 62 65 20 75 73 65 64 20 75 6e 64 65 72 20 74 68 65 20 74 65 | is.file.may.be.used.under.the.te |
169260 | 72 6d 73 20 6f 66 0a 20 2a 20 65 69 74 68 65 72 20 74 68 65 20 47 4e 55 20 47 65 6e 65 72 61 6c | rms.of..*.either.the.GNU.General |
169280 | 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 20 56 65 72 73 69 6f 6e 20 32 20 6f 72 20 6c 61 74 | .Public.License.Version.2.or.lat |
1692a0 | 65 72 20 28 74 68 65 20 22 47 50 4c 22 29 2c 20 6f 72 0a 20 2a 20 74 68 65 20 47 4e 55 20 4c 65 | er.(the."GPL"),.or..*.the.GNU.Le |
1692c0 | 73 73 65 72 20 47 65 6e 65 72 61 6c 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 20 56 65 72 73 | sser.General.Public.License.Vers |
1692e0 | 69 6f 6e 20 32 2e 31 20 6f 72 20 6c 61 74 65 72 20 28 74 68 65 20 22 4c 47 50 4c 22 29 2c 0a 20 | ion.2.1.or.later.(the."LGPL"),.. |
169300 | 2a 20 69 6e 20 77 68 69 63 68 20 63 61 73 65 20 74 68 65 20 70 72 6f 76 69 73 69 6f 6e 73 20 6f | *.in.which.case.the.provisions.o |
169320 | 66 20 74 68 65 20 47 50 4c 20 6f 72 20 74 68 65 20 4c 47 50 4c 20 61 72 65 20 61 70 70 6c 69 63 | f.the.GPL.or.the.LGPL.are.applic |
169340 | 61 62 6c 65 20 69 6e 73 74 65 61 64 0a 20 2a 20 6f 66 20 74 68 6f 73 65 20 61 62 6f 76 65 2e 20 | able.instead..*.of.those.above.. |
169360 | 49 66 20 79 6f 75 20 77 69 73 68 20 74 6f 20 61 6c 6c 6f 77 20 75 73 65 20 6f 66 20 79 6f 75 72 | If.you.wish.to.allow.use.of.your |
169380 | 20 76 65 72 73 69 6f 6e 20 6f 66 20 74 68 69 73 20 66 69 6c 65 20 6f 6e 6c 79 0a 20 2a 20 75 6e | .version.of.this.file.only..*.un |
1693a0 | 64 65 72 20 74 68 65 20 74 65 72 6d 73 20 6f 66 20 65 69 74 68 65 72 20 74 68 65 20 47 50 4c 20 | der.the.terms.of.either.the.GPL. |
1693c0 | 6f 72 20 74 68 65 20 4c 47 50 4c 2c 20 61 6e 64 20 6e 6f 74 20 74 6f 20 61 6c 6c 6f 77 20 6f 74 | or.the.LGPL,.and.not.to.allow.ot |
1693e0 | 68 65 72 73 20 74 6f 0a 20 2a 20 75 73 65 20 79 6f 75 72 20 76 65 72 73 69 6f 6e 20 6f 66 20 74 | hers.to..*.use.your.version.of.t |
169400 | 68 69 73 20 66 69 6c 65 20 75 6e 64 65 72 20 74 68 65 20 74 65 72 6d 73 20 6f 66 20 74 68 65 20 | his.file.under.the.terms.of.the. |
169420 | 4d 50 4c 2c 20 69 6e 64 69 63 61 74 65 20 79 6f 75 72 0a 20 2a 20 64 65 63 69 73 69 6f 6e 20 62 | MPL,.indicate.your..*.decision.b |
169440 | 79 20 64 65 6c 65 74 69 6e 67 20 74 68 65 20 70 72 6f 76 69 73 69 6f 6e 73 20 61 62 6f 76 65 20 | y.deleting.the.provisions.above. |
169460 | 61 6e 64 20 72 65 70 6c 61 63 65 20 74 68 65 6d 20 77 69 74 68 20 74 68 65 20 6e 6f 74 69 63 65 | and.replace.them.with.the.notice |
169480 | 0a 20 2a 20 61 6e 64 20 6f 74 68 65 72 20 70 72 6f 76 69 73 69 6f 6e 73 20 72 65 71 75 69 72 65 | ..*.and.other.provisions.require |
1694a0 | 64 20 62 79 20 74 68 65 20 47 50 4c 20 6f 72 20 74 68 65 20 4c 47 50 4c 2e 20 49 66 20 79 6f 75 | d.by.the.GPL.or.the.LGPL..If.you |
1694c0 | 20 64 6f 20 6e 6f 74 20 64 65 6c 65 74 65 0a 20 2a 20 74 68 65 20 70 72 6f 76 69 73 69 6f 6e 73 | .do.not.delete..*.the.provisions |
1694e0 | 20 61 62 6f 76 65 2c 20 61 20 72 65 63 69 70 69 65 6e 74 20 6d 61 79 20 75 73 65 20 79 6f 75 72 | .above,.a.recipient.may.use.your |
169500 | 20 76 65 72 73 69 6f 6e 20 6f 66 20 74 68 69 73 20 66 69 6c 65 20 75 6e 64 65 72 0a 20 2a 20 74 | .version.of.this.file.under..*.t |
169520 | 68 65 20 74 65 72 6d 73 20 6f 66 20 61 6e 79 20 6f 6e 65 20 6f 66 20 74 68 65 20 4d 50 4c 2c 20 | he.terms.of.any.one.of.the.MPL,. |
169540 | 74 68 65 20 47 50 4c 20 6f 72 20 74 68 65 20 4c 47 50 4c 2e 0a 20 2a 0a 20 2a 20 2a 2a 2a 2a 2a | the.GPL.or.the.LGPL...*..*.***** |
169560 | 20 45 4e 44 20 4c 49 43 45 4e 53 45 20 42 4c 4f 43 4b 20 2a 2a 2a 2a 2a 20 2a 2f 0a 0a 63 6f 6e | .END.LICENSE.BLOCK.*****.*/..con |
169580 | 73 74 20 43 63 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 3b 0a 63 6f 6e 73 | st.Cc.=.Components.classes;.cons |
1695a0 | 74 20 43 69 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 3b 0a 0a 76 | t.Ci.=.Components.interfaces;..v |
1695c0 | 61 72 20 67 53 74 61 74 65 4f 62 6a 65 63 74 3b 0a 76 61 72 20 67 54 72 65 65 44 61 74 61 3b 0a | ar.gStateObject;.var.gTreeData;. |
1695e0 | 0a 2f 2f 20 50 61 67 65 20 69 6e 69 74 69 61 6c 69 7a 61 74 69 6f 6e 0a 0a 77 69 6e 64 6f 77 2e | .//.Page.initialization..window. |
169600 | 6f 6e 6c 6f 61 64 20 3d 20 66 75 6e 63 74 69 6f 6e 28 29 20 7b 0a 20 20 2f 2f 20 74 68 65 20 63 | onload.=.function().{...//.the.c |
169620 | 72 61 73 68 65 64 20 73 65 73 73 69 6f 6e 20 73 74 61 74 65 20 69 73 20 6b 65 70 74 20 69 6e 73 | rashed.session.state.is.kept.ins |
169640 | 69 64 65 20 61 20 74 65 78 74 62 6f 78 20 73 6f 20 74 68 61 74 20 53 65 73 73 69 6f 6e 53 74 6f | ide.a.textbox.so.that.SessionSto |
169660 | 72 65 20 70 69 63 6b 73 20 69 74 20 75 70 0a 20 20 2f 2f 20 28 66 6f 72 20 77 68 65 6e 20 74 68 | re.picks.it.up...//.(for.when.th |
169680 | 65 20 74 61 62 20 69 73 20 63 6c 6f 73 65 64 20 6f 72 20 74 68 65 20 73 65 73 73 69 6f 6e 20 63 | e.tab.is.closed.or.the.session.c |
1696a0 | 72 61 73 68 65 73 20 72 69 67 68 74 20 61 67 61 69 6e 29 0a 20 20 76 61 72 20 73 65 73 73 69 6f | rashes.right.again)...var.sessio |
1696c0 | 6e 44 61 74 61 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 | nData.=.document.getElementById( |
1696e0 | 22 73 65 73 73 69 6f 6e 44 61 74 61 22 29 3b 0a 20 20 69 66 20 28 21 73 65 73 73 69 6f 6e 44 61 | "sessionData");...if.(!sessionDa |
169700 | 74 61 2e 76 61 6c 75 65 29 20 7b 0a 20 20 20 20 76 61 72 20 73 73 20 3d 20 43 63 5b 22 40 6d 6f | ta.value).{.....var.ss.=.Cc["@mo |
169720 | 7a 69 6c 6c 61 2e 6f 72 67 2f 62 72 6f 77 73 65 72 2f 73 65 73 73 69 6f 6e 73 74 61 72 74 75 70 | zilla.org/browser/sessionstartup |
169740 | 3b 31 22 5d 2e 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 53 65 73 73 69 6f 6e 53 74 61 | ;1"].getService(Ci.nsISessionSta |
169760 | 72 74 75 70 29 3b 0a 20 20 20 20 73 65 73 73 69 6f 6e 44 61 74 61 2e 76 61 6c 75 65 20 3d 20 73 | rtup);.....sessionData.value.=.s |
169780 | 73 2e 73 74 61 74 65 3b 0a 20 20 20 20 69 66 20 28 21 73 65 73 73 69 6f 6e 44 61 74 61 2e 76 61 | s.state;.....if.(!sessionData.va |
1697a0 | 6c 75 65 29 20 7b 0a 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 | lue).{.......document.getElement |
1697c0 | 42 79 49 64 28 22 65 72 72 6f 72 54 72 79 41 67 61 69 6e 22 29 2e 64 69 73 61 62 6c 65 64 20 3d | ById("errorTryAgain").disabled.= |
1697e0 | 20 74 72 75 65 3b 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 20 20 7d 0a 20 20 7d 0a 20 | .true;.......return;.....}...}.. |
169800 | 20 2f 2f 20 6d 61 6b 65 20 73 75 72 65 20 74 68 65 20 64 61 74 61 20 69 73 20 74 72 61 63 6b 65 | .//.make.sure.the.data.is.tracke |
169820 | 64 20 74 6f 20 62 65 20 72 65 73 74 6f 72 65 64 20 69 6e 20 63 61 73 65 20 6f 66 20 61 20 73 75 | d.to.be.restored.in.case.of.a.su |
169840 | 62 73 65 71 75 65 6e 74 20 63 72 61 73 68 0a 20 20 76 61 72 20 65 76 65 6e 74 20 3d 20 64 6f 63 | bsequent.crash...var.event.=.doc |
169860 | 75 6d 65 6e 74 2e 63 72 65 61 74 65 45 76 65 6e 74 28 22 55 49 45 76 65 6e 74 73 22 29 3b 0a 20 | ument.createEvent("UIEvents");.. |
169880 | 20 65 76 65 6e 74 2e 69 6e 69 74 55 49 45 76 65 6e 74 28 22 69 6e 70 75 74 22 2c 20 74 72 75 65 | .event.initUIEvent("input",.true |
1698a0 | 2c 20 74 72 75 65 2c 20 77 69 6e 64 6f 77 2c 20 30 29 3b 0a 20 20 73 65 73 73 69 6f 6e 44 61 74 | ,.true,.window,.0);...sessionDat |
1698c0 | 61 2e 64 69 73 70 61 74 63 68 45 76 65 6e 74 28 65 76 65 6e 74 29 3b 0a 20 20 0a 20 20 76 61 72 | a.dispatchEvent(event);......var |
1698e0 | 20 73 20 3d 20 6e 65 77 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 75 74 69 6c 73 2e 53 61 6e 64 62 6f | .s.=.new.Components.utils.Sandbo |
169900 | 78 28 22 61 62 6f 75 74 3a 62 6c 61 6e 6b 22 29 3b 0a 20 20 67 53 74 61 74 65 4f 62 6a 65 63 74 | x("about:blank");...gStateObject |
169920 | 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 75 74 69 6c 73 2e 65 76 61 6c 49 6e 53 61 6e 64 62 6f | .=.Components.utils.evalInSandbo |
169940 | 78 28 22 28 22 20 2b 20 73 65 73 73 69 6f 6e 44 61 74 61 2e 76 61 6c 75 65 20 2b 20 22 29 22 2c | x("(".+.sessionData.value.+.")", |
169960 | 20 73 29 3b 0a 20 20 0a 20 20 69 6e 69 74 54 72 65 65 56 69 65 77 28 29 3b 0a 20 20 0a 20 20 64 | .s);......initTreeView();......d |
169980 | 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 65 72 72 6f 72 54 72 79 | ocument.getElementById("errorTry |
1699a0 | 41 67 61 69 6e 22 29 2e 66 6f 63 75 73 28 29 3b 0a 7d 3b 0a 0a 66 75 6e 63 74 69 6f 6e 20 69 6e | Again").focus();.};..function.in |
1699c0 | 69 74 54 72 65 65 56 69 65 77 28 29 20 7b 0a 20 20 76 61 72 20 74 61 62 4c 69 73 74 20 3d 20 64 | itTreeView().{...var.tabList.=.d |
1699e0 | 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 74 61 62 4c 69 73 74 22 | ocument.getElementById("tabList" |
169a00 | 29 3b 0a 20 20 76 61 72 20 77 69 6e 4c 61 62 65 6c 20 3d 20 74 61 62 4c 69 73 74 2e 67 65 74 41 | );...var.winLabel.=.tabList.getA |
169a20 | 74 74 72 69 62 75 74 65 28 22 5f 77 69 6e 64 6f 77 5f 6c 61 62 65 6c 22 29 3b 0a 20 20 0a 20 20 | ttribute("_window_label");...... |
169a40 | 67 54 72 65 65 44 61 74 61 20 3d 20 5b 5d 3b 0a 20 20 67 53 74 61 74 65 4f 62 6a 65 63 74 2e 77 | gTreeData.=.[];...gStateObject.w |
169a60 | 69 6e 64 6f 77 73 2e 66 6f 72 45 61 63 68 28 66 75 6e 63 74 69 6f 6e 28 61 57 69 6e 44 61 74 61 | indows.forEach(function(aWinData |
169a80 | 2c 20 61 49 78 29 20 7b 0a 20 20 20 20 76 61 72 20 77 69 6e 53 74 61 74 65 20 3d 20 7b 0a 20 20 | ,.aIx).{.....var.winState.=.{... |
169aa0 | 20 20 20 20 6c 61 62 65 6c 3a 20 77 69 6e 4c 61 62 65 6c 2e 72 65 70 6c 61 63 65 28 22 25 53 22 | ....label:.winLabel.replace("%S" |
169ac0 | 2c 20 28 61 49 78 20 2b 20 31 29 29 2c 0a 20 20 20 20 20 20 6f 70 65 6e 3a 20 74 72 75 65 2c 0a | ,.(aIx.+.1)),.......open:.true,. |
169ae0 | 20 20 20 20 20 20 63 68 65 63 6b 65 64 3a 20 74 72 75 65 2c 0a 20 20 20 20 20 20 69 78 3a 20 61 | ......checked:.true,.......ix:.a |
169b00 | 49 78 0a 20 20 20 20 7d 3b 0a 20 20 20 20 77 69 6e 53 74 61 74 65 2e 74 61 62 73 20 3d 20 61 57 | Ix.....};.....winState.tabs.=.aW |
169b20 | 69 6e 44 61 74 61 2e 74 61 62 73 2e 6d 61 70 28 66 75 6e 63 74 69 6f 6e 28 61 54 61 62 44 61 74 | inData.tabs.map(function(aTabDat |
169b40 | 61 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 65 6e 74 72 79 20 3d 20 61 54 61 62 44 61 74 61 2e | a).{.......var.entry.=.aTabData. |
169b60 | 65 6e 74 72 69 65 73 5b 61 54 61 62 44 61 74 61 2e 69 6e 64 65 78 20 2d 20 31 5d 20 7c 7c 20 7b | entries[aTabData.index.-.1].||.{ |
169b80 | 20 75 72 6c 3a 20 22 61 62 6f 75 74 3a 62 6c 61 6e 6b 22 20 7d 3b 0a 20 20 20 20 20 20 76 61 72 | .url:."about:blank".};.......var |
169ba0 | 20 69 63 6f 6e 55 52 4c 20 3d 20 61 54 61 62 44 61 74 61 2e 61 74 74 72 69 62 75 74 65 73 20 26 | .iconURL.=.aTabData.attributes.& |
169bc0 | 26 20 61 54 61 62 44 61 74 61 2e 61 74 74 72 69 62 75 74 65 73 2e 69 6d 61 67 65 20 7c 7c 20 6e | &.aTabData.attributes.image.||.n |
169be0 | 75 6c 6c 3b 0a 20 20 20 20 20 20 2f 2f 20 64 6f 6e 27 74 20 69 6e 69 74 69 61 74 65 20 61 20 63 | ull;.......//.don't.initiate.a.c |
169c00 | 6f 6e 6e 65 63 74 69 6f 6e 20 6a 75 73 74 20 74 6f 20 66 65 74 63 68 20 61 20 66 61 76 69 63 6f | onnection.just.to.fetch.a.favico |
169c20 | 6e 20 28 73 65 65 20 62 75 67 20 34 36 32 38 36 33 29 0a 20 20 20 20 20 20 69 66 20 28 2f 5e 68 | n.(see.bug.462863).......if.(/^h |
169c40 | 74 74 70 73 3f 3a 2f 2e 74 65 73 74 28 69 63 6f 6e 55 52 4c 29 29 0a 20 20 20 20 20 20 20 20 69 | ttps?:/.test(iconURL)).........i |
169c60 | 63 6f 6e 55 52 4c 20 3d 20 22 6d 6f 7a 2d 61 6e 6e 6f 3a 66 61 76 69 63 6f 6e 3a 22 20 2b 20 69 | conURL.=."moz-anno:favicon:".+.i |
169c80 | 63 6f 6e 55 52 4c 3b 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 7b 0a 20 20 20 20 20 20 20 20 6c | conURL;.......return.{.........l |
169ca0 | 61 62 65 6c 3a 20 65 6e 74 72 79 2e 74 69 74 6c 65 20 7c 7c 20 65 6e 74 72 79 2e 75 72 6c 2c 0a | abel:.entry.title.||.entry.url,. |
169cc0 | 20 20 20 20 20 20 20 20 63 68 65 63 6b 65 64 3a 20 74 72 75 65 2c 0a 20 20 20 20 20 20 20 20 73 | ........checked:.true,.........s |
169ce0 | 72 63 3a 20 69 63 6f 6e 55 52 4c 2c 0a 20 20 20 20 20 20 20 20 70 61 72 65 6e 74 3a 20 77 69 6e | rc:.iconURL,.........parent:.win |
169d00 | 53 74 61 74 65 0a 20 20 20 20 20 20 7d 3b 0a 20 20 20 20 7d 29 3b 0a 20 20 20 20 67 54 72 65 65 | State.......};.....});.....gTree |
169d20 | 44 61 74 61 2e 70 75 73 68 28 77 69 6e 53 74 61 74 65 29 3b 0a 20 20 20 20 66 6f 72 20 65 61 63 | Data.push(winState);.....for.eac |
169d40 | 68 20 28 76 61 72 20 74 61 62 20 69 6e 20 77 69 6e 53 74 61 74 65 2e 74 61 62 73 29 0a 20 20 20 | h.(var.tab.in.winState.tabs).... |
169d60 | 20 20 20 67 54 72 65 65 44 61 74 61 2e 70 75 73 68 28 74 61 62 29 3b 0a 20 20 7d 2c 20 74 68 69 | ...gTreeData.push(tab);...},.thi |
169d80 | 73 29 3b 0a 20 20 0a 20 20 74 61 62 4c 69 73 74 2e 76 69 65 77 20 3d 20 74 72 65 65 56 69 65 77 | s);......tabList.view.=.treeView |
169da0 | 3b 0a 20 20 74 61 62 4c 69 73 74 2e 76 69 65 77 2e 73 65 6c 65 63 74 69 6f 6e 2e 73 65 6c 65 63 | ;...tabList.view.selection.selec |
169dc0 | 74 28 30 29 3b 0a 7d 0a 0a 2f 2f 20 55 73 65 72 20 61 63 74 69 6f 6e 73 0a 0a 66 75 6e 63 74 69 | t(0);.}..//.User.actions..functi |
169de0 | 6f 6e 20 72 65 73 74 6f 72 65 53 65 73 73 69 6f 6e 28 29 20 7b 0a 20 20 64 6f 63 75 6d 65 6e 74 | on.restoreSession().{...document |
169e00 | 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 65 72 72 6f 72 54 72 79 41 67 61 69 6e 22 29 | .getElementById("errorTryAgain") |
169e20 | 2e 64 69 73 61 62 6c 65 64 20 3d 20 74 72 75 65 3b 0a 20 20 0a 20 20 2f 2f 20 72 65 6d 6f 76 65 | .disabled.=.true;......//.remove |
169e40 | 20 61 6c 6c 20 75 6e 73 65 6c 65 63 74 65 64 20 74 61 62 73 20 66 72 6f 6d 20 74 68 65 20 73 74 | .all.unselected.tabs.from.the.st |
169e60 | 61 74 65 20 62 65 66 6f 72 65 20 72 65 73 74 6f 72 69 6e 67 20 69 74 0a 20 20 76 61 72 20 69 78 | ate.before.restoring.it...var.ix |
169e80 | 20 3d 20 67 53 74 61 74 65 4f 62 6a 65 63 74 2e 77 69 6e 64 6f 77 73 2e 6c 65 6e 67 74 68 20 2d | .=.gStateObject.windows.length.- |
169ea0 | 20 31 3b 0a 20 20 66 6f 72 20 28 76 61 72 20 74 20 3d 20 67 54 72 65 65 44 61 74 61 2e 6c 65 6e | .1;...for.(var.t.=.gTreeData.len |
169ec0 | 67 74 68 20 2d 20 31 3b 20 74 20 3e 3d 20 30 3b 20 74 2d 2d 29 20 7b 0a 20 20 20 20 69 66 20 28 | gth.-.1;.t.>=.0;.t--).{.....if.( |
169ee0 | 74 72 65 65 56 69 65 77 2e 69 73 43 6f 6e 74 61 69 6e 65 72 28 74 29 29 20 7b 0a 20 20 20 20 20 | treeView.isContainer(t)).{...... |
169f00 | 20 69 66 20 28 67 54 72 65 65 44 61 74 61 5b 74 5d 2e 63 68 65 63 6b 65 64 20 3d 3d 3d 20 30 29 | .if.(gTreeData[t].checked.===.0) |
169f20 | 0a 20 20 20 20 20 20 20 20 2f 2f 20 74 68 69 73 20 77 69 6e 64 6f 77 20 77 69 6c 6c 20 62 65 20 | .........//.this.window.will.be. |
169f40 | 72 65 73 74 6f 72 65 64 20 70 61 72 74 69 61 6c 6c 79 0a 20 20 20 20 20 20 20 20 67 53 74 61 74 | restored.partially.........gStat |
169f60 | 65 4f 62 6a 65 63 74 2e 77 69 6e 64 6f 77 73 5b 69 78 5d 2e 74 61 62 73 20 3d 0a 20 20 20 20 20 | eObject.windows[ix].tabs.=...... |
169f80 | 20 20 20 20 20 67 53 74 61 74 65 4f 62 6a 65 63 74 2e 77 69 6e 64 6f 77 73 5b 69 78 5d 2e 74 61 | .....gStateObject.windows[ix].ta |
169fa0 | 62 73 2e 66 69 6c 74 65 72 28 66 75 6e 63 74 69 6f 6e 28 61 54 61 62 44 61 74 61 2c 20 61 49 78 | bs.filter(function(aTabData,.aIx |
169fc0 | 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | )............................... |
169fe0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 54 72 65 65 44 61 74 61 5b 74 5d 2e | ...................gTreeData[t]. |
16a000 | 74 61 62 73 5b 61 49 78 5d 2e 63 68 65 63 6b 65 64 29 3b 0a 20 20 20 20 20 20 65 6c 73 65 20 69 | tabs[aIx].checked);.......else.i |
16a020 | 66 20 28 21 67 54 72 65 65 44 61 74 61 5b 74 5d 2e 63 68 65 63 6b 65 64 29 0a 20 20 20 20 20 20 | f.(!gTreeData[t].checked)....... |
16a040 | 20 20 2f 2f 20 74 68 69 73 20 77 69 6e 64 6f 77 20 77 6f 6e 27 74 20 62 65 20 72 65 73 74 6f 72 | ..//.this.window.won't.be.restor |
16a060 | 65 64 20 61 74 20 61 6c 6c 0a 20 20 20 20 20 20 20 20 67 53 74 61 74 65 4f 62 6a 65 63 74 2e 77 | ed.at.all.........gStateObject.w |
16a080 | 69 6e 64 6f 77 73 2e 73 70 6c 69 63 65 28 69 78 2c 20 31 29 3b 0a 20 20 20 20 20 20 69 78 2d 2d | indows.splice(ix,.1);.......ix-- |
16a0a0 | 3b 0a 20 20 20 20 7d 0a 20 20 7d 0a 20 20 76 61 72 20 73 74 61 74 65 53 74 72 69 6e 67 20 3d 20 | ;.....}...}...var.stateString.=. |
16a0c0 | 67 53 74 61 74 65 4f 62 6a 65 63 74 2e 74 6f 53 6f 75 72 63 65 28 29 3b 0a 20 20 0a 20 20 76 61 | gStateObject.toSource();......va |
16a0e0 | 72 20 73 73 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 62 72 6f 77 73 65 72 2f | r.ss.=.Cc["@mozilla.org/browser/ |
16a100 | 73 65 73 73 69 6f 6e 73 74 6f 72 65 3b 31 22 5d 2e 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e | sessionstore;1"].getService(Ci.n |
16a120 | 73 49 53 65 73 73 69 6f 6e 53 74 6f 72 65 29 3b 0a 20 20 76 61 72 20 74 6f 70 20 3d 20 67 65 74 | sISessionStore);...var.top.=.get |
16a140 | 42 72 6f 77 73 65 72 57 69 6e 64 6f 77 28 29 3b 0a 20 20 0a 20 20 2f 2f 20 69 66 20 74 68 65 72 | BrowserWindow();......//.if.ther |
16a160 | 65 27 73 20 6f 6e 6c 79 20 74 68 69 73 20 70 61 67 65 20 6f 70 65 6e 2c 20 72 65 75 73 65 20 74 | e's.only.this.page.open,.reuse.t |
16a180 | 68 65 20 77 69 6e 64 6f 77 20 66 6f 72 20 72 65 73 74 6f 72 69 6e 67 20 74 68 65 20 73 65 73 73 | he.window.for.restoring.the.sess |
16a1a0 | 69 6f 6e 0a 20 20 69 66 20 28 74 6f 70 2e 67 42 72 6f 77 73 65 72 2e 74 61 62 43 6f 6e 74 61 69 | ion...if.(top.gBrowser.tabContai |
16a1c0 | 6e 65 72 2e 63 68 69 6c 64 4e 6f 64 65 73 2e 6c 65 6e 67 74 68 20 3d 3d 20 31 29 20 7b 0a 20 20 | ner.childNodes.length.==.1).{... |
16a1e0 | 20 20 73 73 2e 73 65 74 57 69 6e 64 6f 77 53 74 61 74 65 28 74 6f 70 2c 20 73 74 61 74 65 53 74 | ..ss.setWindowState(top,.stateSt |
16a200 | 72 69 6e 67 2c 20 74 72 75 65 29 3b 0a 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 7d 0a 20 20 0a | ring,.true);.....return;...}.... |
16a220 | 20 20 2f 2f 20 72 65 73 74 6f 72 65 20 74 68 65 20 73 65 73 73 69 6f 6e 20 69 6e 74 6f 20 61 20 | ..//.restore.the.session.into.a. |
16a240 | 6e 65 77 20 77 69 6e 64 6f 77 20 61 6e 64 20 63 6c 6f 73 65 20 74 68 65 20 63 75 72 72 65 6e 74 | new.window.and.close.the.current |
16a260 | 20 74 61 62 0a 20 20 76 61 72 20 6e 65 77 57 69 6e 64 6f 77 20 3d 20 74 6f 70 2e 6f 70 65 6e 44 | .tab...var.newWindow.=.top.openD |
16a280 | 69 61 6c 6f 67 28 74 6f 70 2e 6c 6f 63 61 74 69 6f 6e 2c 20 22 5f 62 6c 61 6e 6b 22 2c 20 22 63 | ialog(top.location,."_blank",."c |
16a2a0 | 68 72 6f 6d 65 2c 64 69 61 6c 6f 67 3d 6e 6f 2c 61 6c 6c 22 29 3b 0a 20 20 6e 65 77 57 69 6e 64 | hrome,dialog=no,all");...newWind |
16a2c0 | 6f 77 2e 61 64 64 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 28 22 6c 6f 61 64 22 2c 20 66 75 6e 63 | ow.addEventListener("load",.func |
16a2e0 | 74 69 6f 6e 28 29 20 7b 0a 20 20 20 20 6e 65 77 57 69 6e 64 6f 77 2e 72 65 6d 6f 76 65 45 76 65 | tion().{.....newWindow.removeEve |
16a300 | 6e 74 4c 69 73 74 65 6e 65 72 28 22 6c 6f 61 64 22 2c 20 61 72 67 75 6d 65 6e 74 73 2e 63 61 6c | ntListener("load",.arguments.cal |
16a320 | 6c 65 65 2c 20 74 72 75 65 29 3b 0a 20 20 20 20 73 73 2e 73 65 74 57 69 6e 64 6f 77 53 74 61 74 | lee,.true);.....ss.setWindowStat |
16a340 | 65 28 6e 65 77 57 69 6e 64 6f 77 2c 20 73 74 61 74 65 53 74 72 69 6e 67 2c 20 74 72 75 65 29 3b | e(newWindow,.stateString,.true); |
16a360 | 0a 20 20 20 20 0a 20 20 20 20 76 61 72 20 74 61 62 62 72 6f 77 73 65 72 20 3d 20 74 6f 70 2e 67 | ..........var.tabbrowser.=.top.g |
16a380 | 42 72 6f 77 73 65 72 3b 0a 20 20 20 20 76 61 72 20 74 61 62 49 6e 64 65 78 20 3d 20 74 61 62 62 | Browser;.....var.tabIndex.=.tabb |
16a3a0 | 72 6f 77 73 65 72 2e 67 65 74 42 72 6f 77 73 65 72 49 6e 64 65 78 46 6f 72 44 6f 63 75 6d 65 6e | rowser.getBrowserIndexForDocumen |
16a3c0 | 74 28 64 6f 63 75 6d 65 6e 74 29 3b 0a 20 20 20 20 74 61 62 62 72 6f 77 73 65 72 2e 72 65 6d 6f | t(document);.....tabbrowser.remo |
16a3e0 | 76 65 54 61 62 28 74 61 62 62 72 6f 77 73 65 72 2e 74 61 62 43 6f 6e 74 61 69 6e 65 72 2e 63 68 | veTab(tabbrowser.tabContainer.ch |
16a400 | 69 6c 64 4e 6f 64 65 73 5b 74 61 62 49 6e 64 65 78 5d 29 3b 0a 20 20 7d 2c 20 74 72 75 65 29 3b | ildNodes[tabIndex]);...},.true); |
16a420 | 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 73 74 61 72 74 4e 65 77 53 65 73 73 69 6f 6e 28 29 20 7b | .}..function.startNewSession().{ |
16a440 | 0a 20 20 67 65 74 42 72 6f 77 73 65 72 57 69 6e 64 6f 77 28 29 2e 42 72 6f 77 73 65 72 48 6f 6d | ...getBrowserWindow().BrowserHom |
16a460 | 65 28 29 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 6f 6e 4c 69 73 74 43 6c 69 63 6b 28 61 45 76 | e();.}..function.onListClick(aEv |
16a480 | 65 6e 74 29 20 7b 0a 20 20 2f 2f 20 64 6f 6e 27 74 20 72 65 61 63 74 20 74 6f 20 72 69 67 68 74 | ent).{...//.don't.react.to.right |
16a4a0 | 2d 63 6c 69 63 6b 73 0a 20 20 69 66 20 28 61 45 76 65 6e 74 2e 62 75 74 74 6f 6e 20 3d 3d 20 32 | -clicks...if.(aEvent.button.==.2 |
16a4c0 | 29 0a 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 0a 20 20 76 61 72 20 72 6f 77 20 3d 20 7b 7d 2c | ).....return;......var.row.=.{}, |
16a4e0 | 20 63 6f 6c 20 3d 20 7b 7d 3b 0a 20 20 74 72 65 65 56 69 65 77 2e 74 72 65 65 42 6f 78 2e 67 65 | .col.=.{};...treeView.treeBox.ge |
16a500 | 74 43 65 6c 6c 41 74 28 61 45 76 65 6e 74 2e 63 6c 69 65 6e 74 58 2c 20 61 45 76 65 6e 74 2e 63 | tCellAt(aEvent.clientX,.aEvent.c |
16a520 | 6c 69 65 6e 74 59 2c 20 72 6f 77 2c 20 63 6f 6c 2c 20 7b 7d 29 3b 0a 20 20 69 66 20 28 63 6f 6c | lientY,.row,.col,.{});...if.(col |
16a540 | 2e 76 61 6c 75 65 29 20 7b 0a 20 20 20 20 2f 2f 20 72 65 73 74 6f 72 65 20 74 68 69 73 20 73 70 | .value).{.....//.restore.this.sp |
16a560 | 65 63 69 66 69 63 20 74 61 62 20 69 6e 20 74 68 65 20 73 61 6d 65 20 77 69 6e 64 6f 77 20 66 6f | ecific.tab.in.the.same.window.fo |
16a580 | 72 20 6d 69 64 64 6c 65 2d 63 6c 69 63 6b 69 6e 67 0a 20 20 20 20 2f 2f 20 6f 72 20 43 74 72 6c | r.middle-clicking.....//.or.Ctrl |
16a5a0 | 2b 63 6c 69 63 6b 69 6e 67 20 6f 6e 20 61 20 74 61 62 27 73 20 74 69 74 6c 65 0a 20 20 20 20 69 | +clicking.on.a.tab's.title.....i |
16a5c0 | 66 20 28 28 61 45 76 65 6e 74 2e 62 75 74 74 6f 6e 20 3d 3d 20 31 20 7c 7c 20 61 45 76 65 6e 74 | f.((aEvent.button.==.1.||.aEvent |
16a5e0 | 2e 63 74 72 6c 4b 65 79 29 20 26 26 20 63 6f 6c 2e 76 61 6c 75 65 2e 69 64 20 3d 3d 20 22 74 69 | .ctrlKey).&&.col.value.id.==."ti |
16a600 | 74 6c 65 22 20 26 26 0a 20 20 20 20 20 20 20 20 21 74 72 65 65 56 69 65 77 2e 69 73 43 6f 6e 74 | tle".&&.........!treeView.isCont |
16a620 | 61 69 6e 65 72 28 72 6f 77 2e 76 61 6c 75 65 29 29 0a 20 20 20 20 20 20 72 65 73 74 6f 72 65 53 | ainer(row.value)).......restoreS |
16a640 | 69 6e 67 6c 65 54 61 62 28 72 6f 77 2e 76 61 6c 75 65 2c 20 61 45 76 65 6e 74 2e 73 68 69 66 74 | ingleTab(row.value,.aEvent.shift |
16a660 | 4b 65 79 29 3b 0a 20 20 20 20 65 6c 73 65 20 69 66 20 28 63 6f 6c 2e 76 61 6c 75 65 2e 69 64 20 | Key);.....else.if.(col.value.id. |
16a680 | 3d 3d 20 22 72 65 73 74 6f 72 65 22 29 0a 20 20 20 20 20 20 74 6f 67 67 6c 65 52 6f 77 43 68 65 | ==."restore").......toggleRowChe |
16a6a0 | 63 6b 65 64 28 72 6f 77 2e 76 61 6c 75 65 29 3b 0a 20 20 7d 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e | cked(row.value);...}.}..function |
16a6c0 | 20 6f 6e 4c 69 73 74 4b 65 79 44 6f 77 6e 28 61 45 76 65 6e 74 29 20 7b 0a 20 20 73 77 69 74 63 | .onListKeyDown(aEvent).{...switc |
16a6e0 | 68 20 28 61 45 76 65 6e 74 2e 6b 65 79 43 6f 64 65 29 0a 20 20 7b 0a 20 20 63 61 73 65 20 4b 65 | h.(aEvent.keyCode)...{...case.Ke |
16a700 | 79 45 76 65 6e 74 2e 44 4f 4d 5f 56 4b 5f 53 50 41 43 45 3a 0a 20 20 20 20 74 6f 67 67 6c 65 52 | yEvent.DOM_VK_SPACE:.....toggleR |
16a720 | 6f 77 43 68 65 63 6b 65 64 28 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 | owChecked(document.getElementByI |
16a740 | 64 28 22 74 61 62 4c 69 73 74 22 29 2e 63 75 72 72 65 6e 74 49 6e 64 65 78 29 3b 0a 20 20 20 20 | d("tabList").currentIndex);..... |
16a760 | 62 72 65 61 6b 3b 0a 20 20 63 61 73 65 20 4b 65 79 45 76 65 6e 74 2e 44 4f 4d 5f 56 4b 5f 52 45 | break;...case.KeyEvent.DOM_VK_RE |
16a780 | 54 55 52 4e 3a 0a 20 20 20 20 76 61 72 20 69 78 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 | TURN:.....var.ix.=.document.getE |
16a7a0 | 6c 65 6d 65 6e 74 42 79 49 64 28 22 74 61 62 4c 69 73 74 22 29 2e 63 75 72 72 65 6e 74 49 6e 64 | lementById("tabList").currentInd |
16a7c0 | 65 78 3b 0a 20 20 20 20 69 66 20 28 61 45 76 65 6e 74 2e 63 74 72 6c 4b 65 79 20 26 26 20 21 74 | ex;.....if.(aEvent.ctrlKey.&&.!t |
16a7e0 | 72 65 65 56 69 65 77 2e 69 73 43 6f 6e 74 61 69 6e 65 72 28 69 78 29 29 0a 20 20 20 20 20 20 72 | reeView.isContainer(ix)).......r |
16a800 | 65 73 74 6f 72 65 53 69 6e 67 6c 65 54 61 62 28 69 78 2c 20 61 45 76 65 6e 74 2e 73 68 69 66 74 | estoreSingleTab(ix,.aEvent.shift |
16a820 | 4b 65 79 29 3b 0a 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 63 61 73 65 20 4b 65 79 45 76 65 6e 74 | Key);.....break;...case.KeyEvent |
16a840 | 2e 44 4f 4d 5f 56 4b 5f 55 50 3a 0a 20 20 63 61 73 65 20 4b 65 79 45 76 65 6e 74 2e 44 4f 4d 5f | .DOM_VK_UP:...case.KeyEvent.DOM_ |
16a860 | 56 4b 5f 44 4f 57 4e 3a 0a 20 20 63 61 73 65 20 4b 65 79 45 76 65 6e 74 2e 44 4f 4d 5f 56 4b 5f | VK_DOWN:...case.KeyEvent.DOM_VK_ |
16a880 | 50 41 47 45 5f 55 50 3a 0a 20 20 63 61 73 65 20 4b 65 79 45 76 65 6e 74 2e 44 4f 4d 5f 56 4b 5f | PAGE_UP:...case.KeyEvent.DOM_VK_ |
16a8a0 | 50 41 47 45 5f 44 4f 57 4e 3a 0a 20 20 63 61 73 65 20 4b 65 79 45 76 65 6e 74 2e 44 4f 4d 5f 56 | PAGE_DOWN:...case.KeyEvent.DOM_V |
16a8c0 | 4b 5f 48 4f 4d 45 3a 0a 20 20 63 61 73 65 20 4b 65 79 45 76 65 6e 74 2e 44 4f 4d 5f 56 4b 5f 45 | K_HOME:...case.KeyEvent.DOM_VK_E |
16a8e0 | 4e 44 3a 0a 20 20 20 20 61 45 76 65 6e 74 2e 70 72 65 76 65 6e 74 44 65 66 61 75 6c 74 28 29 3b | ND:.....aEvent.preventDefault(); |
16a900 | 20 2f 2f 20 65 6c 73 65 20 74 68 65 20 70 61 67 65 20 73 63 72 6f 6c 6c 73 20 75 6e 77 61 6e 74 | .//.else.the.page.scrolls.unwant |
16a920 | 65 64 6c 79 0a 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 7d 0a 7d 0a 0a 2f 2f 20 48 65 6c 70 65 72 | edly.....break;...}.}..//.Helper |
16a940 | 20 66 75 6e 63 74 69 6f 6e 73 0a 0a 66 75 6e 63 74 69 6f 6e 20 67 65 74 42 72 6f 77 73 65 72 57 | .functions..function.getBrowserW |
16a960 | 69 6e 64 6f 77 28 29 20 7b 0a 20 20 72 65 74 75 72 6e 20 77 69 6e 64 6f 77 2e 51 75 65 72 79 49 | indow().{...return.window.QueryI |
16a980 | 6e 74 65 72 66 61 63 65 28 43 69 2e 6e 73 49 49 6e 74 65 72 66 61 63 65 52 65 71 75 65 73 74 6f | nterface(Ci.nsIInterfaceRequesto |
16a9a0 | 72 29 2e 67 65 74 49 6e 74 65 72 66 61 63 65 28 43 69 2e 6e 73 49 57 65 62 4e 61 76 69 67 61 74 | r).getInterface(Ci.nsIWebNavigat |
16a9c0 | 69 6f 6e 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 51 75 65 72 79 49 6e 74 65 72 66 | ion).................QueryInterf |
16a9e0 | 61 63 65 28 43 69 2e 6e 73 49 44 6f 63 53 68 65 6c 6c 54 72 65 65 49 74 65 6d 29 2e 72 6f 6f 74 | ace(Ci.nsIDocShellTreeItem).root |
16aa00 | 54 72 65 65 49 74 65 6d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 51 75 65 72 79 49 6e | TreeItem.................QueryIn |
16aa20 | 74 65 72 66 61 63 65 28 43 69 2e 6e 73 49 49 6e 74 65 72 66 61 63 65 52 65 71 75 65 73 74 6f 72 | terface(Ci.nsIInterfaceRequestor |
16aa40 | 29 2e 67 65 74 49 6e 74 65 72 66 61 63 65 28 43 69 2e 6e 73 49 44 4f 4d 57 69 6e 64 6f 77 29 3b | ).getInterface(Ci.nsIDOMWindow); |
16aa60 | 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 74 6f 67 67 6c 65 52 6f 77 43 68 65 63 6b 65 64 28 61 49 | .}..function.toggleRowChecked(aI |
16aa80 | 78 29 20 7b 0a 20 20 76 61 72 20 69 74 65 6d 20 3d 20 67 54 72 65 65 44 61 74 61 5b 61 49 78 5d | x).{...var.item.=.gTreeData[aIx] |
16aaa0 | 3b 0a 20 20 69 74 65 6d 2e 63 68 65 63 6b 65 64 20 3d 20 21 69 74 65 6d 2e 63 68 65 63 6b 65 64 | ;...item.checked.=.!item.checked |
16aac0 | 3b 0a 20 20 74 72 65 65 56 69 65 77 2e 74 72 65 65 42 6f 78 2e 69 6e 76 61 6c 69 64 61 74 65 52 | ;...treeView.treeBox.invalidateR |
16aae0 | 6f 77 28 61 49 78 29 3b 0a 20 20 0a 20 20 66 75 6e 63 74 69 6f 6e 20 69 73 43 68 65 63 6b 65 64 | ow(aIx);......function.isChecked |
16ab00 | 28 61 49 74 65 6d 29 20 61 49 74 65 6d 2e 63 68 65 63 6b 65 64 3b 0a 20 20 0a 20 20 69 66 20 28 | (aItem).aItem.checked;......if.( |
16ab20 | 74 72 65 65 56 69 65 77 2e 69 73 43 6f 6e 74 61 69 6e 65 72 28 61 49 78 29 29 20 7b 0a 20 20 20 | treeView.isContainer(aIx)).{.... |
16ab40 | 20 2f 2f 20 28 75 6e 29 63 68 65 63 6b 20 61 6c 6c 20 74 61 62 73 20 6f 66 20 74 68 69 73 20 77 | .//.(un)check.all.tabs.of.this.w |
16ab60 | 69 6e 64 6f 77 20 61 73 20 77 65 6c 6c 0a 20 20 20 20 66 6f 72 20 65 61 63 68 20 28 76 61 72 20 | indow.as.well.....for.each.(var. |
16ab80 | 74 61 62 20 69 6e 20 69 74 65 6d 2e 74 61 62 73 29 20 7b 0a 20 20 20 20 20 20 74 61 62 2e 63 68 | tab.in.item.tabs).{.......tab.ch |
16aba0 | 65 63 6b 65 64 20 3d 20 69 74 65 6d 2e 63 68 65 63 6b 65 64 3b 0a 20 20 20 20 20 20 74 72 65 65 | ecked.=.item.checked;.......tree |
16abc0 | 56 69 65 77 2e 74 72 65 65 42 6f 78 2e 69 6e 76 61 6c 69 64 61 74 65 52 6f 77 28 67 54 72 65 65 | View.treeBox.invalidateRow(gTree |
16abe0 | 44 61 74 61 2e 69 6e 64 65 78 4f 66 28 74 61 62 29 29 3b 0a 20 20 20 20 7d 0a 20 20 7d 0a 20 20 | Data.indexOf(tab));.....}...}... |
16ac00 | 65 6c 73 65 20 7b 0a 20 20 20 20 2f 2f 20 75 70 64 61 74 65 20 74 68 65 20 77 69 6e 64 6f 77 27 | else.{.....//.update.the.window' |
16ac20 | 73 20 63 68 65 63 6b 6d 61 72 6b 20 61 73 20 77 65 6c 6c 20 28 30 20 6d 65 61 6e 73 20 22 70 61 | s.checkmark.as.well.(0.means."pa |
16ac40 | 72 74 69 61 6c 6c 79 20 63 68 65 63 6b 65 64 22 29 0a 20 20 20 20 69 74 65 6d 2e 70 61 72 65 6e | rtially.checked").....item.paren |
16ac60 | 74 2e 63 68 65 63 6b 65 64 20 3d 20 69 74 65 6d 2e 70 61 72 65 6e 74 2e 74 61 62 73 2e 65 76 65 | t.checked.=.item.parent.tabs.eve |
16ac80 | 72 79 28 69 73 43 68 65 63 6b 65 64 29 20 3f 20 74 72 75 65 20 3a 0a 20 20 20 20 20 20 20 20 20 | ry(isChecked).?.true.:.......... |
16aca0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 74 65 6d 2e 70 61 72 65 6e 74 2e 74 61 62 | .................item.parent.tab |
16acc0 | 73 2e 73 6f 6d 65 28 69 73 43 68 65 63 6b 65 64 29 20 3f 20 30 20 3a 20 66 61 6c 73 65 3b 0a 20 | s.some(isChecked).?.0.:.false;.. |
16ace0 | 20 20 20 74 72 65 65 56 69 65 77 2e 74 72 65 65 42 6f 78 2e 69 6e 76 61 6c 69 64 61 74 65 52 6f | ...treeView.treeBox.invalidateRo |
16ad00 | 77 28 67 54 72 65 65 44 61 74 61 2e 69 6e 64 65 78 4f 66 28 69 74 65 6d 2e 70 61 72 65 6e 74 29 | w(gTreeData.indexOf(item.parent) |
16ad20 | 29 3b 0a 20 20 7d 0a 20 20 0a 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 | );...}......document.getElementB |
16ad40 | 79 49 64 28 22 65 72 72 6f 72 54 72 79 41 67 61 69 6e 22 29 2e 64 69 73 61 62 6c 65 64 20 3d 20 | yId("errorTryAgain").disabled.=. |
16ad60 | 21 67 54 72 65 65 44 61 74 61 2e 73 6f 6d 65 28 69 73 43 68 65 63 6b 65 64 29 3b 0a 7d 0a 0a 66 | !gTreeData.some(isChecked);.}..f |
16ad80 | 75 6e 63 74 69 6f 6e 20 72 65 73 74 6f 72 65 53 69 6e 67 6c 65 54 61 62 28 61 49 78 2c 20 61 53 | unction.restoreSingleTab(aIx,.aS |
16ada0 | 68 69 66 74 65 64 29 20 7b 0a 20 20 76 61 72 20 74 61 62 62 72 6f 77 73 65 72 20 3d 20 67 65 74 | hifted).{...var.tabbrowser.=.get |
16adc0 | 42 72 6f 77 73 65 72 57 69 6e 64 6f 77 28 29 2e 67 42 72 6f 77 73 65 72 3b 0a 20 20 76 61 72 20 | BrowserWindow().gBrowser;...var. |
16ade0 | 6e 65 77 54 61 62 20 3d 20 74 61 62 62 72 6f 77 73 65 72 2e 61 64 64 54 61 62 28 29 3b 0a 20 20 | newTab.=.tabbrowser.addTab();... |
16ae00 | 76 61 72 20 69 74 65 6d 20 3d 20 67 54 72 65 65 44 61 74 61 5b 61 49 78 5d 3b 0a 20 20 0a 20 20 | var.item.=.gTreeData[aIx];...... |
16ae20 | 76 61 72 20 73 73 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 62 72 6f 77 73 65 | var.ss.=.Cc["@mozilla.org/browse |
16ae40 | 72 2f 73 65 73 73 69 6f 6e 73 74 6f 72 65 3b 31 22 5d 2e 67 65 74 53 65 72 76 69 63 65 28 43 69 | r/sessionstore;1"].getService(Ci |
16ae60 | 2e 6e 73 49 53 65 73 73 69 6f 6e 53 74 6f 72 65 29 3b 0a 20 20 76 61 72 20 74 61 62 53 74 61 74 | .nsISessionStore);...var.tabStat |
16ae80 | 65 20 3d 20 67 53 74 61 74 65 4f 62 6a 65 63 74 2e 77 69 6e 64 6f 77 73 5b 69 74 65 6d 2e 70 61 | e.=.gStateObject.windows[item.pa |
16aea0 | 72 65 6e 74 2e 69 78 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | rent.ix]........................ |
16aec0 | 20 20 20 20 20 20 2e 74 61 62 73 5b 61 49 78 20 2d 20 67 54 72 65 65 44 61 74 61 2e 69 6e 64 65 | .......tabs[aIx.-.gTreeData.inde |
16aee0 | 78 4f 66 28 69 74 65 6d 2e 70 61 72 65 6e 74 29 20 2d 20 31 5d 3b 0a 20 20 73 73 2e 73 65 74 54 | xOf(item.parent).-.1];...ss.setT |
16af00 | 61 62 53 74 61 74 65 28 6e 65 77 54 61 62 2c 20 74 61 62 53 74 61 74 65 2e 74 6f 53 6f 75 72 63 | abState(newTab,.tabState.toSourc |
16af20 | 65 28 29 29 3b 0a 20 20 0a 20 20 2f 2f 20 72 65 73 70 65 63 74 20 74 68 65 20 70 72 65 66 65 72 | e());......//.respect.the.prefer |
16af40 | 65 6e 63 65 20 61 73 20 74 6f 20 77 68 65 74 68 65 72 20 74 6f 20 73 65 6c 65 63 74 20 74 68 65 | ence.as.to.whether.to.select.the |
16af60 | 20 74 61 62 20 28 74 68 65 20 53 68 69 66 74 20 6b 65 79 20 69 6e 76 65 72 73 65 73 29 0a 20 20 | .tab.(the.Shift.key.inverses)... |
16af80 | 76 61 72 20 70 72 65 66 42 72 61 6e 63 68 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 | var.prefBranch.=.Cc["@mozilla.or |
16afa0 | 67 2f 70 72 65 66 65 72 65 6e 63 65 73 2d 73 65 72 76 69 63 65 3b 31 22 5d 2e 67 65 74 53 65 72 | g/preferences-service;1"].getSer |
16afc0 | 76 69 63 65 28 43 69 2e 6e 73 49 50 72 65 66 42 72 61 6e 63 68 29 3b 0a 20 20 69 66 20 28 70 72 | vice(Ci.nsIPrefBranch);...if.(pr |
16afe0 | 65 66 42 72 61 6e 63 68 2e 67 65 74 42 6f 6f 6c 50 72 65 66 28 22 62 72 6f 77 73 65 72 2e 74 61 | efBranch.getBoolPref("browser.ta |
16b000 | 62 73 2e 6c 6f 61 64 49 6e 42 61 63 6b 67 72 6f 75 6e 64 22 29 20 21 3d 20 21 61 53 68 69 66 74 | bs.loadInBackground").!=.!aShift |
16b020 | 65 64 29 0a 20 20 20 20 74 61 62 62 72 6f 77 73 65 72 2e 73 65 6c 65 63 74 65 64 54 61 62 20 3d | ed).....tabbrowser.selectedTab.= |
16b040 | 20 6e 65 77 54 61 62 3b 0a 7d 0a 0a 2f 2f 20 54 72 65 65 20 63 6f 6e 74 72 6f 6c 6c 65 72 0a 0a | .newTab;.}..//.Tree.controller.. |
16b060 | 76 61 72 20 74 72 65 65 56 69 65 77 20 3d 20 7b 0a 20 20 5f 61 74 6f 6d 73 3a 20 7b 7d 2c 0a 20 | var.treeView.=.{..._atoms:.{},.. |
16b080 | 20 5f 67 65 74 41 74 6f 6d 3a 20 66 75 6e 63 74 69 6f 6e 28 61 4e 61 6d 65 29 0a 20 20 7b 0a 20 | ._getAtom:.function(aName)...{.. |
16b0a0 | 20 20 20 69 66 20 28 21 74 68 69 73 2e 5f 61 74 6f 6d 73 5b 61 4e 61 6d 65 5d 29 20 7b 0a 20 20 | ...if.(!this._atoms[aName]).{... |
16b0c0 | 20 20 20 20 76 61 72 20 61 73 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 61 74 | ....var.as.=.Cc["@mozilla.org/at |
16b0e0 | 6f 6d 2d 73 65 72 76 69 63 65 3b 31 22 5d 2e 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 | om-service;1"].getService(Ci.nsI |
16b100 | 41 74 6f 6d 53 65 72 76 69 63 65 29 3b 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 61 74 6f 6d 73 5b | AtomService);.......this._atoms[ |
16b120 | 61 4e 61 6d 65 5d 20 3d 20 61 73 2e 67 65 74 41 74 6f 6d 28 61 4e 61 6d 65 29 3b 0a 20 20 20 20 | aName].=.as.getAtom(aName);..... |
16b140 | 7d 0a 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 61 74 6f 6d 73 5b 61 4e 61 6d 65 5d 3b | }.....return.this._atoms[aName]; |
16b160 | 0a 20 20 7d 2c 0a 0a 20 20 74 72 65 65 42 6f 78 3a 20 6e 75 6c 6c 2c 0a 20 20 73 65 6c 65 63 74 | ...},....treeBox:.null,...select |
16b180 | 69 6f 6e 3a 20 6e 75 6c 6c 2c 0a 0a 20 20 67 65 74 20 72 6f 77 43 6f 75 6e 74 28 29 20 20 20 20 | ion:.null,....get.rowCount().... |
16b1a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7b 20 72 65 74 75 72 6e 20 67 54 72 65 65 44 | .................{.return.gTreeD |
16b1c0 | 61 74 61 2e 6c 65 6e 67 74 68 3b 20 7d 2c 0a 20 20 73 65 74 54 72 65 65 3a 20 66 75 6e 63 74 69 | ata.length;.},...setTree:.functi |
16b1e0 | 6f 6e 28 74 72 65 65 42 6f 78 29 20 20 20 20 20 20 20 20 20 7b 20 74 68 69 73 2e 74 72 65 65 42 | on(treeBox).........{.this.treeB |
16b200 | 6f 78 20 3d 20 74 72 65 65 42 6f 78 3b 20 7d 2c 0a 20 20 67 65 74 43 65 6c 6c 54 65 78 74 3a 20 | ox.=.treeBox;.},...getCellText:. |
16b220 | 66 75 6e 63 74 69 6f 6e 28 69 64 78 2c 20 63 6f 6c 75 6d 6e 29 20 7b 20 72 65 74 75 72 6e 20 67 | function(idx,.column).{.return.g |
16b240 | 54 72 65 65 44 61 74 61 5b 69 64 78 5d 2e 6c 61 62 65 6c 3b 20 7d 2c 0a 20 20 69 73 43 6f 6e 74 | TreeData[idx].label;.},...isCont |
16b260 | 61 69 6e 65 72 3a 20 66 75 6e 63 74 69 6f 6e 28 69 64 78 29 20 20 20 20 20 20 20 20 20 7b 20 72 | ainer:.function(idx).........{.r |
16b280 | 65 74 75 72 6e 20 22 6f 70 65 6e 22 20 69 6e 20 67 54 72 65 65 44 61 74 61 5b 69 64 78 5d 3b 20 | eturn."open".in.gTreeData[idx];. |
16b2a0 | 7d 2c 0a 20 20 67 65 74 43 65 6c 6c 56 61 6c 75 65 3a 20 66 75 6e 63 74 69 6f 6e 28 69 64 78 2c | },...getCellValue:.function(idx, |
16b2c0 | 20 63 6f 6c 75 6d 6e 29 7b 20 72 65 74 75 72 6e 20 67 54 72 65 65 44 61 74 61 5b 69 64 78 5d 2e | .column){.return.gTreeData[idx]. |
16b2e0 | 63 68 65 63 6b 65 64 3b 20 7d 2c 0a 20 20 69 73 43 6f 6e 74 61 69 6e 65 72 4f 70 65 6e 3a 20 66 | checked;.},...isContainerOpen:.f |
16b300 | 75 6e 63 74 69 6f 6e 28 69 64 78 29 20 20 20 20 20 7b 20 72 65 74 75 72 6e 20 67 54 72 65 65 44 | unction(idx).....{.return.gTreeD |
16b320 | 61 74 61 5b 69 64 78 5d 2e 6f 70 65 6e 3b 20 7d 2c 0a 20 20 69 73 43 6f 6e 74 61 69 6e 65 72 45 | ata[idx].open;.},...isContainerE |
16b340 | 6d 70 74 79 3a 20 66 75 6e 63 74 69 6f 6e 28 69 64 78 29 20 20 20 20 7b 20 72 65 74 75 72 6e 20 | mpty:.function(idx)....{.return. |
16b360 | 66 61 6c 73 65 3b 20 7d 2c 0a 20 20 69 73 53 65 70 61 72 61 74 6f 72 3a 20 66 75 6e 63 74 69 6f | false;.},...isSeparator:.functio |
16b380 | 6e 28 69 64 78 29 20 20 20 20 20 20 20 20 20 7b 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 20 7d | n(idx).........{.return.false;.} |
16b3a0 | 2c 0a 20 20 69 73 53 6f 72 74 65 64 3a 20 66 75 6e 63 74 69 6f 6e 28 29 20 20 20 20 20 20 20 20 | ,...isSorted:.function()........ |
16b3c0 | 20 20 20 20 20 20 20 7b 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 20 7d 2c 0a 20 20 69 73 45 64 | .......{.return.false;.},...isEd |
16b3e0 | 69 74 61 62 6c 65 3a 20 66 75 6e 63 74 69 6f 6e 28 69 64 78 2c 20 63 6f 6c 75 6d 6e 29 20 20 7b | itable:.function(idx,.column)..{ |
16b400 | 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 20 7d 2c 0a 20 20 67 65 74 4c 65 76 65 6c 3a 20 66 75 | .return.false;.},...getLevel:.fu |
16b420 | 6e 63 74 69 6f 6e 28 69 64 78 29 20 20 20 20 20 20 20 20 20 20 20 20 7b 20 72 65 74 75 72 6e 20 | nction(idx)............{.return. |
16b440 | 74 68 69 73 2e 69 73 43 6f 6e 74 61 69 6e 65 72 28 69 64 78 29 20 3f 20 30 20 3a 20 31 3b 20 7d | this.isContainer(idx).?.0.:.1;.} |
16b460 | 2c 0a 0a 20 20 67 65 74 50 61 72 65 6e 74 49 6e 64 65 78 3a 20 66 75 6e 63 74 69 6f 6e 28 69 64 | ,....getParentIndex:.function(id |
16b480 | 78 29 20 7b 0a 20 20 20 20 69 66 20 28 21 74 68 69 73 2e 69 73 43 6f 6e 74 61 69 6e 65 72 28 69 | x).{.....if.(!this.isContainer(i |
16b4a0 | 64 78 29 29 0a 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 74 20 3d 20 69 64 78 20 2d 20 31 3b | dx)).......for.(var.t.=.idx.-.1; |
16b4c0 | 20 74 20 3e 3d 20 30 20 3b 20 74 2d 2d 29 0a 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e | .t.>=.0.;.t--).........if.(this. |
16b4e0 | 69 73 43 6f 6e 74 61 69 6e 65 72 28 74 29 29 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e | isContainer(t))...........return |
16b500 | 20 74 3b 0a 20 20 20 20 72 65 74 75 72 6e 20 2d 31 3b 0a 20 20 7d 2c 0a 0a 20 20 68 61 73 4e 65 | .t;.....return.-1;...},....hasNe |
16b520 | 78 74 53 69 62 6c 69 6e 67 3a 20 66 75 6e 63 74 69 6f 6e 28 69 64 78 2c 20 61 66 74 65 72 29 20 | xtSibling:.function(idx,.after). |
16b540 | 7b 0a 20 20 20 20 76 61 72 20 74 68 69 73 4c 65 76 65 6c 20 3d 20 74 68 69 73 2e 67 65 74 4c 65 | {.....var.thisLevel.=.this.getLe |
16b560 | 76 65 6c 28 69 64 78 29 3b 0a 20 20 20 20 66 6f 72 20 28 76 61 72 20 74 20 3d 20 61 66 74 65 72 | vel(idx);.....for.(var.t.=.after |
16b580 | 20 2b 20 31 3b 20 74 20 3c 20 67 54 72 65 65 44 61 74 61 2e 6c 65 6e 67 74 68 3b 20 74 2b 2b 29 | .+.1;.t.<.gTreeData.length;.t++) |
16b5a0 | 0a 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 67 65 74 4c 65 76 65 6c 28 74 29 20 3c 3d 20 74 | .......if.(this.getLevel(t).<=.t |
16b5c0 | 68 69 73 4c 65 76 65 6c 29 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 67 65 | hisLevel).........return.this.ge |
16b5e0 | 74 4c 65 76 65 6c 28 74 29 20 3d 3d 20 74 68 69 73 4c 65 76 65 6c 3b 0a 20 20 20 20 72 65 74 75 | tLevel(t).==.thisLevel;.....retu |
16b600 | 72 6e 20 66 61 6c 73 65 3b 0a 20 20 7d 2c 0a 0a 20 20 74 6f 67 67 6c 65 4f 70 65 6e 53 74 61 74 | rn.false;...},....toggleOpenStat |
16b620 | 65 3a 20 66 75 6e 63 74 69 6f 6e 28 69 64 78 29 20 7b 0a 20 20 20 20 69 66 20 28 21 74 68 69 73 | e:.function(idx).{.....if.(!this |
16b640 | 2e 69 73 43 6f 6e 74 61 69 6e 65 72 28 69 64 78 29 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b | .isContainer(idx)).......return; |
16b660 | 0a 20 20 20 20 76 61 72 20 69 74 65 6d 20 3d 20 67 54 72 65 65 44 61 74 61 5b 69 64 78 5d 3b 0a | .....var.item.=.gTreeData[idx];. |
16b680 | 20 20 20 20 69 66 20 28 69 74 65 6d 2e 6f 70 65 6e 29 20 7b 0a 20 20 20 20 20 20 2f 2f 20 72 65 | ....if.(item.open).{.......//.re |
16b6a0 | 6d 6f 76 65 20 74 68 69 73 20 77 69 6e 64 6f 77 27 73 20 74 61 62 20 72 6f 77 73 20 66 72 6f 6d | move.this.window's.tab.rows.from |
16b6c0 | 20 74 68 65 20 76 69 65 77 0a 20 20 20 20 20 20 76 61 72 20 74 68 69 73 4c 65 76 65 6c 20 3d 20 | .the.view.......var.thisLevel.=. |
16b6e0 | 74 68 69 73 2e 67 65 74 4c 65 76 65 6c 28 69 64 78 29 3b 0a 20 20 20 20 20 20 66 6f 72 20 28 76 | this.getLevel(idx);.......for.(v |
16b700 | 61 72 20 74 20 3d 20 69 64 78 20 2b 20 31 3b 20 74 20 3c 20 67 54 72 65 65 44 61 74 61 2e 6c 65 | ar.t.=.idx.+.1;.t.<.gTreeData.le |
16b720 | 6e 67 74 68 20 26 26 20 74 68 69 73 2e 67 65 74 4c 65 76 65 6c 28 74 29 20 3e 20 74 68 69 73 4c | ngth.&&.this.getLevel(t).>.thisL |
16b740 | 65 76 65 6c 3b 20 74 2b 2b 29 3b 0a 20 20 20 20 20 20 76 61 72 20 64 65 6c 65 74 65 63 6f 75 6e | evel;.t++);.......var.deletecoun |
16b760 | 74 20 3d 20 74 20 2d 20 69 64 78 20 2d 20 31 3b 0a 20 20 20 20 20 20 67 54 72 65 65 44 61 74 61 | t.=.t.-.idx.-.1;.......gTreeData |
16b780 | 2e 73 70 6c 69 63 65 28 69 64 78 20 2b 20 31 2c 20 64 65 6c 65 74 65 63 6f 75 6e 74 29 3b 0a 20 | .splice(idx.+.1,.deletecount);.. |
16b7a0 | 20 20 20 20 20 74 68 69 73 2e 74 72 65 65 42 6f 78 2e 72 6f 77 43 6f 75 6e 74 43 68 61 6e 67 65 | .....this.treeBox.rowCountChange |
16b7c0 | 64 28 69 64 78 20 2b 20 31 2c 20 2d 64 65 6c 65 74 65 63 6f 75 6e 74 29 3b 0a 20 20 20 20 7d 0a | d(idx.+.1,.-deletecount);.....}. |
16b7e0 | 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 2f 2f 20 61 64 64 20 74 68 69 73 20 77 69 6e | ....else.{.......//.add.this.win |
16b800 | 64 6f 77 27 73 20 74 61 62 20 72 6f 77 73 20 74 6f 20 74 68 65 20 76 69 65 77 0a 20 20 20 20 20 | dow's.tab.rows.to.the.view...... |
16b820 | 20 76 61 72 20 74 6f 69 6e 73 65 72 74 20 3d 20 67 54 72 65 65 44 61 74 61 5b 69 64 78 5d 2e 74 | .var.toinsert.=.gTreeData[idx].t |
16b840 | 61 62 73 3b 0a 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 74 | abs;.......for.(var.i.=.0;.i.<.t |
16b860 | 6f 69 6e 73 65 72 74 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 0a 20 20 20 20 20 20 20 20 67 54 72 | oinsert.length;.i++).........gTr |
16b880 | 65 65 44 61 74 61 2e 73 70 6c 69 63 65 28 69 64 78 20 2b 20 69 20 2b 20 31 2c 20 30 2c 20 74 6f | eeData.splice(idx.+.i.+.1,.0,.to |
16b8a0 | 69 6e 73 65 72 74 5b 69 5d 29 3b 0a 20 20 20 20 20 20 74 68 69 73 2e 74 72 65 65 42 6f 78 2e 72 | insert[i]);.......this.treeBox.r |
16b8c0 | 6f 77 43 6f 75 6e 74 43 68 61 6e 67 65 64 28 69 64 78 20 2b 20 31 2c 20 74 6f 69 6e 73 65 72 74 | owCountChanged(idx.+.1,.toinsert |
16b8e0 | 2e 6c 65 6e 67 74 68 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 69 74 65 6d 2e 6f 70 65 6e 20 3d 20 | .length);.....}.....item.open.=. |
16b900 | 21 69 74 65 6d 2e 6f 70 65 6e 3b 0a 20 20 20 20 74 68 69 73 2e 74 72 65 65 42 6f 78 2e 69 6e 76 | !item.open;.....this.treeBox.inv |
16b920 | 61 6c 69 64 61 74 65 52 6f 77 28 69 64 78 29 3b 0a 20 20 7d 2c 0a 0a 20 20 67 65 74 43 65 6c 6c | alidateRow(idx);...},....getCell |
16b940 | 50 72 6f 70 65 72 74 69 65 73 3a 20 66 75 6e 63 74 69 6f 6e 28 69 64 78 2c 20 63 6f 6c 75 6d 6e | Properties:.function(idx,.column |
16b960 | 2c 20 70 72 6f 70 29 20 7b 0a 20 20 20 20 69 66 20 28 63 6f 6c 75 6d 6e 2e 69 64 20 3d 3d 20 22 | ,.prop).{.....if.(column.id.==." |
16b980 | 72 65 73 74 6f 72 65 22 20 26 26 20 74 68 69 73 2e 69 73 43 6f 6e 74 61 69 6e 65 72 28 69 64 78 | restore".&&.this.isContainer(idx |
16b9a0 | 29 20 26 26 20 67 54 72 65 65 44 61 74 61 5b 69 64 78 5d 2e 63 68 65 63 6b 65 64 20 3d 3d 3d 20 | ).&&.gTreeData[idx].checked.===. |
16b9c0 | 30 29 0a 20 20 20 20 20 20 70 72 6f 70 2e 41 70 70 65 6e 64 45 6c 65 6d 65 6e 74 28 74 68 69 73 | 0).......prop.AppendElement(this |
16b9e0 | 2e 5f 67 65 74 41 74 6f 6d 28 22 70 61 72 74 69 61 6c 22 29 29 3b 0a 20 20 20 20 69 66 20 28 63 | ._getAtom("partial"));.....if.(c |
16ba00 | 6f 6c 75 6d 6e 2e 69 64 20 3d 3d 20 22 74 69 74 6c 65 22 29 0a 20 20 20 20 20 20 70 72 6f 70 2e | olumn.id.==."title").......prop. |
16ba20 | 41 70 70 65 6e 64 45 6c 65 6d 65 6e 74 28 74 68 69 73 2e 5f 67 65 74 41 74 6f 6d 28 74 68 69 73 | AppendElement(this._getAtom(this |
16ba40 | 2e 67 65 74 49 6d 61 67 65 53 72 63 28 69 64 78 2c 20 63 6f 6c 75 6d 6e 29 20 3f 20 22 69 63 6f | .getImageSrc(idx,.column).?."ico |
16ba60 | 6e 22 20 3a 20 22 6e 6f 69 63 6f 6e 22 29 29 3b 0a 20 20 7d 2c 0a 0a 20 20 67 65 74 52 6f 77 50 | n".:."noicon"));...},....getRowP |
16ba80 | 72 6f 70 65 72 74 69 65 73 3a 20 66 75 6e 63 74 69 6f 6e 28 69 64 78 2c 20 70 72 6f 70 29 20 7b | roperties:.function(idx,.prop).{ |
16baa0 | 0a 20 20 20 20 76 61 72 20 77 69 6e 53 74 61 74 65 20 3d 20 67 54 72 65 65 44 61 74 61 5b 69 64 | .....var.winState.=.gTreeData[id |
16bac0 | 78 5d 2e 70 61 72 65 6e 74 20 7c 7c 20 67 54 72 65 65 44 61 74 61 5b 69 64 78 5d 3b 0a 20 20 20 | x].parent.||.gTreeData[idx];.... |
16bae0 | 20 69 66 20 28 77 69 6e 53 74 61 74 65 2e 69 78 20 25 20 32 20 21 3d 20 30 29 0a 20 20 20 20 20 | .if.(winState.ix.%.2.!=.0)...... |
16bb00 | 20 70 72 6f 70 2e 41 70 70 65 6e 64 45 6c 65 6d 65 6e 74 28 74 68 69 73 2e 5f 67 65 74 41 74 6f | .prop.AppendElement(this._getAto |
16bb20 | 6d 28 22 61 6c 74 65 72 6e 61 74 65 22 29 29 3b 0a 20 20 7d 2c 0a 0a 20 20 67 65 74 49 6d 61 67 | m("alternate"));...},....getImag |
16bb40 | 65 53 72 63 3a 20 66 75 6e 63 74 69 6f 6e 28 69 64 78 2c 20 63 6f 6c 75 6d 6e 29 20 7b 0a 20 20 | eSrc:.function(idx,.column).{... |
16bb60 | 20 20 69 66 20 28 63 6f 6c 75 6d 6e 2e 69 64 20 3d 3d 20 22 74 69 74 6c 65 22 29 0a 20 20 20 20 | ..if.(column.id.==."title")..... |
16bb80 | 20 20 72 65 74 75 72 6e 20 67 54 72 65 65 44 61 74 61 5b 69 64 78 5d 2e 73 72 63 20 7c 7c 20 6e | ..return.gTreeData[idx].src.||.n |
16bba0 | 75 6c 6c 3b 0a 20 20 20 20 72 65 74 75 72 6e 20 6e 75 6c 6c 3b 0a 20 20 7d 2c 0a 0a 20 20 67 65 | ull;.....return.null;...},....ge |
16bbc0 | 74 50 72 6f 67 72 65 73 73 4d 6f 64 65 20 3a 20 66 75 6e 63 74 69 6f 6e 28 69 64 78 2c 20 63 6f | tProgressMode.:.function(idx,.co |
16bbe0 | 6c 75 6d 6e 29 20 7b 20 7d 2c 0a 20 20 63 79 63 6c 65 48 65 61 64 65 72 3a 20 66 75 6e 63 74 69 | lumn).{.},...cycleHeader:.functi |
16bc00 | 6f 6e 28 63 6f 6c 75 6d 6e 29 20 7b 20 7d 2c 0a 20 20 63 79 63 6c 65 43 65 6c 6c 3a 20 66 75 6e | on(column).{.},...cycleCell:.fun |
16bc20 | 63 74 69 6f 6e 28 69 64 78 2c 20 63 6f 6c 75 6d 6e 29 20 7b 20 7d 2c 0a 20 20 73 65 6c 65 63 74 | ction(idx,.column).{.},...select |
16bc40 | 69 6f 6e 43 68 61 6e 67 65 64 3a 20 66 75 6e 63 74 69 6f 6e 28 29 20 7b 20 7d 2c 0a 20 20 70 65 | ionChanged:.function().{.},...pe |
16bc60 | 72 66 6f 72 6d 41 63 74 69 6f 6e 3a 20 66 75 6e 63 74 69 6f 6e 28 61 63 74 69 6f 6e 29 20 7b 20 | rformAction:.function(action).{. |
16bc80 | 7d 2c 0a 20 20 70 65 72 66 6f 72 6d 41 63 74 69 6f 6e 4f 6e 43 65 6c 6c 3a 20 66 75 6e 63 74 69 | },...performActionOnCell:.functi |
16bca0 | 6f 6e 28 61 63 74 69 6f 6e 2c 20 69 6e 64 65 78 2c 20 63 6f 6c 75 6d 6e 29 20 7b 20 7d 2c 0a 20 | on(action,.index,.column).{.},.. |
16bcc0 | 20 67 65 74 43 6f 6c 75 6d 6e 50 72 6f 70 65 72 74 69 65 73 3a 20 66 75 6e 63 74 69 6f 6e 28 63 | .getColumnProperties:.function(c |
16bce0 | 6f 6c 75 6d 6e 2c 20 70 72 6f 70 29 20 7b 20 7d 0a 7d 3b 0a 50 4b 03 04 14 00 00 00 00 00 f4 4b | olumn,.prop).{.}.};.PK.........K |
16bd00 | 18 3b 9c 03 b5 85 42 08 00 00 42 08 00 00 28 00 00 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 | .;....B...B...(...content/browse |
16bd20 | 72 2f 73 65 74 44 65 73 6b 74 6f 70 42 61 63 6b 67 72 6f 75 6e 64 2e 78 75 6c 3c 3f 78 6d 6c 20 | r/setDesktopBackground.xul<?xml. |
16bd40 | 76 65 72 73 69 6f 6e 3d 22 31 2e 30 22 3f 3e 20 3c 21 2d 2d 20 2d 2a 2d 20 4d 6f 64 65 3a 20 48 | version="1.0"?>.<!--.-*-.Mode:.H |
16bd60 | 54 4d 4c 20 2d 2a 2d 20 2d 2d 3e 20 0a 0a 0a 3c 3f 78 6d 6c 2d 73 74 79 6c 65 73 68 65 65 74 20 | TML.-*-.-->....<?xml-stylesheet. |
16bd80 | 68 72 65 66 3d 22 63 68 72 6f 6d 65 3a 2f 2f 67 6c 6f 62 61 6c 2f 73 6b 69 6e 2f 22 20 74 79 70 | href="chrome://global/skin/".typ |
16bda0 | 65 3d 22 74 65 78 74 2f 63 73 73 22 3f 3e 20 0a 3c 3f 78 6d 6c 2d 73 74 79 6c 65 73 68 65 65 74 | e="text/css"?>..<?xml-stylesheet |
16bdc0 | 20 68 72 65 66 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 73 6b 69 6e 2f 73 65 74 | .href="chrome://browser/skin/set |
16bde0 | 44 65 73 6b 74 6f 70 42 61 63 6b 67 72 6f 75 6e 64 2e 63 73 73 22 20 74 79 70 65 3d 22 74 65 78 | DesktopBackground.css".type="tex |
16be00 | 74 2f 63 73 73 22 3f 3e 0a 0a 3c 21 44 4f 43 54 59 50 45 20 64 69 61 6c 6f 67 20 53 59 53 54 45 | t/css"?>..<!DOCTYPE.dialog.SYSTE |
16be20 | 4d 20 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 6c 6f 63 61 6c 65 2f 73 65 74 44 65 | M."chrome://browser/locale/setDe |
16be40 | 73 6b 74 6f 70 42 61 63 6b 67 72 6f 75 6e 64 2e 64 74 64 22 3e 0a 0a 0a 3c 64 69 61 6c 6f 67 20 | sktopBackground.dtd">...<dialog. |
16be60 | 78 6d 6c 6e 73 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6b 65 | xmlns="http://www.mozilla.org/ke |
16be80 | 79 6d 61 73 74 65 72 2f 67 61 74 65 6b 65 65 70 65 72 2f 74 68 65 72 65 2e 69 73 2e 6f 6e 6c 79 | ymaster/gatekeeper/there.is.only |
16bea0 | 2e 78 75 6c 22 0a 20 20 20 20 20 20 20 20 78 6d 6c 6e 73 3a 68 74 6d 6c 3d 22 68 74 74 70 3a 2f | .xul".........xmlns:html="http:/ |
16bec0 | 2f 77 77 77 2e 77 33 2e 6f 72 67 2f 31 39 39 39 2f 78 68 74 6d 6c 22 0a 20 20 20 20 20 20 20 20 | /www.w3.org/1999/xhtml"......... |
16bee0 | 77 69 6e 64 6f 77 74 79 70 65 3d 22 53 68 65 6c 6c 3a 53 65 74 44 65 73 6b 74 6f 70 42 61 63 6b | windowtype="Shell:SetDesktopBack |
16bf00 | 67 72 6f 75 6e 64 22 0a 20 20 20 20 20 20 20 20 62 75 74 74 6f 6e 73 3d 22 61 63 63 65 70 74 2c | ground".........buttons="accept, |
16bf20 | 63 61 6e 63 65 6c 22 0a 20 20 20 20 20 20 20 20 62 75 74 74 6f 6e 6c 61 62 65 6c 61 63 63 65 70 | cancel".........buttonlabelaccep |
16bf40 | 74 3d 22 26 73 65 74 44 65 73 6b 74 6f 70 42 61 63 6b 67 72 6f 75 6e 64 2e 74 69 74 6c 65 3b 22 | t="&setDesktopBackground.title;" |
16bf60 | 0a 20 20 20 20 20 20 20 20 6f 6e 6c 6f 61 64 3d 22 67 53 65 74 42 61 63 6b 67 72 6f 75 6e 64 2e | .........onload="gSetBackground. |
16bf80 | 6c 6f 61 64 28 29 3b 22 0a 20 20 20 20 20 20 20 20 6f 6e 64 69 61 6c 6f 67 61 63 63 65 70 74 3d | load();".........ondialogaccept= |
16bfa0 | 22 67 53 65 74 42 61 63 6b 67 72 6f 75 6e 64 2e 73 65 74 44 65 73 6b 74 6f 70 42 61 63 6b 67 72 | "gSetBackground.setDesktopBackgr |
16bfc0 | 6f 75 6e 64 28 29 3b 22 0a 20 20 20 20 20 20 20 20 74 69 74 6c 65 3d 22 26 73 65 74 44 65 73 6b | ound();".........title="&setDesk |
16bfe0 | 74 6f 70 42 61 63 6b 67 72 6f 75 6e 64 2e 74 69 74 6c 65 3b 22 0a 20 20 20 20 20 20 20 20 73 74 | topBackground.title;".........st |
16c000 | 79 6c 65 3d 22 77 69 64 74 68 3a 20 33 30 65 6d 3b 22 3e 0a 0a 20 20 20 20 3c 73 74 72 69 6e 67 | yle="width:.30em;">......<string |
16c020 | 62 75 6e 64 6c 65 20 69 64 3d 22 62 61 63 6b 67 72 6f 75 6e 64 42 75 6e 64 6c 65 22 0a 20 20 20 | bundle.id="backgroundBundle".... |
16c040 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f | ...............src="chrome://bro |
16c060 | 77 73 65 72 2f 6c 6f 63 61 6c 65 2f 73 68 65 6c 6c 73 65 72 76 69 63 65 2e 70 72 6f 70 65 72 74 | wser/locale/shellservice.propert |
16c080 | 69 65 73 22 2f 3e 0a 20 20 20 20 3c 73 63 72 69 70 74 20 74 79 70 65 3d 22 61 70 70 6c 69 63 61 | ies"/>.....<script.type="applica |
16c0a0 | 74 69 6f 6e 2f 6a 61 76 61 73 63 72 69 70 74 22 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 | tion/javascript".src="chrome://b |
16c0c0 | 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 75 74 69 6c 69 74 79 4f 76 65 72 6c 61 79 2e 6a 73 | rowser/content/utilityOverlay.js |
16c0e0 | 22 2f 3e 0a 20 20 20 20 3c 73 63 72 69 70 74 20 74 79 70 65 3d 22 61 70 70 6c 69 63 61 74 69 6f | "/>.....<script.type="applicatio |
16c100 | 6e 2f 6a 61 76 61 73 63 72 69 70 74 22 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 | n/javascript".src="chrome://brow |
16c120 | 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 73 65 74 44 65 73 6b 74 6f 70 42 61 63 6b 67 72 6f 75 6e 64 | ser/content/setDesktopBackground |
16c140 | 2e 6a 73 22 2f 3e 0a 20 20 20 20 3c 73 63 72 69 70 74 20 74 79 70 65 3d 22 61 70 70 6c 69 63 61 | .js"/>.....<script.type="applica |
16c160 | 74 69 6f 6e 2f 6a 61 76 61 73 63 72 69 70 74 22 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 67 | tion/javascript".src="chrome://g |
16c180 | 6c 6f 62 61 6c 2f 63 6f 6e 74 65 6e 74 2f 63 6f 6e 74 65 6e 74 41 72 65 61 55 74 69 6c 73 2e 6a | lobal/content/contentAreaUtils.j |
16c1a0 | 73 22 2f 3e 0a 0a 20 20 20 20 3c 68 62 6f 78 20 61 6c 69 67 6e 3d 22 63 65 6e 74 65 72 22 3e 0a | s"/>......<hbox.align="center">. |
16c1c0 | 20 20 20 20 20 20 3c 6c 61 62 65 6c 20 76 61 6c 75 65 3d 22 26 70 6f 73 69 74 69 6f 6e 2e 6c 61 | ......<label.value="&position.la |
16c1e0 | 62 65 6c 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 6c 69 73 74 20 69 64 3d 22 6d 65 6e 75 | bel;"/>.......<menulist.id="menu |
16c200 | 50 6f 73 69 74 69 6f 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d | Position".................label= |
16c220 | 22 26 70 6f 73 69 74 69 6f 6e 2e 6c 61 62 65 6c 3b 22 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 | "&position.label;".............. |
16c240 | 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 53 65 74 42 61 63 6b 67 72 6f 75 6e 64 2e 75 70 | ....oncommand="gSetBackground.up |
16c260 | 64 61 74 65 50 6f 73 69 74 69 6f 6e 28 29 3b 22 3e 0a 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 70 | datePosition();">.........<menup |
16c280 | 6f 70 75 70 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 6c 61 62 65 6c 3d | opup>...........<menuitem.label= |
16c2a0 | 22 26 63 65 6e 74 65 72 2e 6c 61 62 65 6c 3b 22 20 20 76 61 6c 75 65 3d 22 43 45 4e 54 45 52 22 | "¢er.label;"..value="CENTER" |
16c2c0 | 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 6c 61 62 65 6c 3d 22 26 74 | />...........<menuitem.label="&t |
16c2e0 | 69 6c 65 2e 6c 61 62 65 6c 3b 22 20 20 20 20 76 61 6c 75 65 3d 22 54 49 4c 45 22 2f 3e 0a 20 20 | ile.label;"....value="TILE"/>... |
16c300 | 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 6c 61 62 65 6c 3d 22 26 73 74 72 65 74 63 | ........<menuitem.label="&stretc |
16c320 | 68 2e 6c 61 62 65 6c 3b 22 20 76 61 6c 75 65 3d 22 53 54 52 45 54 43 48 22 2f 3e 0a 20 20 20 20 | h.label;".value="STRETCH"/>..... |
16c340 | 20 20 20 20 3c 2f 6d 65 6e 75 70 6f 70 75 70 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 6e 75 6c 69 73 | ....</menupopup>.......</menulis |
16c360 | 74 3e 0a 20 20 20 20 20 20 3c 73 70 61 63 65 72 20 66 6c 65 78 3d 22 31 22 2f 3e 0a 20 20 20 20 | t>.......<spacer.flex="1"/>..... |
16c380 | 20 20 3c 6c 61 62 65 6c 20 76 61 6c 75 65 3d 22 26 63 6f 6c 6f 72 2e 6c 61 62 65 6c 3b 22 2f 3e | ..<label.value="&color.label;"/> |
16c3a0 | 0a 20 20 20 20 20 20 3c 63 6f 6c 6f 72 70 69 63 6b 65 72 20 69 64 3d 22 64 65 73 6b 74 6f 70 43 | .......<colorpicker.id="desktopC |
16c3c0 | 6f 6c 6f 72 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 79 70 65 3d 22 62 | olor"....................type="b |
16c3e0 | 75 74 74 6f 6e 22 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 68 61 | utton".....................oncha |
16c400 | 6e 67 65 3d 22 67 53 65 74 42 61 63 6b 67 72 6f 75 6e 64 2e 75 70 64 61 74 65 43 6f 6c 6f 72 28 | nge="gSetBackground.updateColor( |
16c420 | 74 68 69 73 2e 63 6f 6c 6f 72 29 3b 22 2f 3e 20 0a 20 20 20 20 3c 2f 68 62 6f 78 3e 0a 20 20 20 | this.color);"/>......</hbox>.... |
16c440 | 20 3c 67 72 6f 75 70 62 6f 78 20 61 6c 69 67 6e 3d 22 63 65 6e 74 65 72 22 3e 0a 20 20 20 20 20 | .<groupbox.align="center">...... |
16c460 | 20 3c 63 61 70 74 69 6f 6e 20 6c 61 62 65 6c 3d 22 26 70 72 65 76 69 65 77 2e 6c 61 62 65 6c 3b | .<caption.label="&preview.label; |
16c480 | 22 2f 3e 0a 20 20 20 20 20 20 3c 73 74 61 63 6b 3e 0a 20 20 20 20 20 20 20 20 3c 21 2d 2d 20 69 | "/>.......<stack>.........<!--.i |
16c4a0 | 66 20 77 69 64 74 68 20 61 6e 64 20 68 65 69 67 68 74 20 61 72 65 20 6e 6f 74 20 70 72 65 73 65 | f.width.and.height.are.not.prese |
16c4c0 | 6e 74 2c 20 74 68 65 79 20 64 65 66 61 75 6c 74 20 74 6f 20 33 30 30 78 31 35 30 20 61 6e 64 20 | nt,.they.default.to.300x150.and. |
16c4e0 | 73 74 72 65 74 63 68 20 74 68 65 20 73 74 61 63 6b 20 2d 2d 3e 0a 20 20 20 20 20 20 20 20 3c 68 | stretch.the.stack.-->.........<h |
16c500 | 74 6d 6c 3a 63 61 6e 76 61 73 20 69 64 3d 22 73 63 72 65 65 6e 22 20 77 69 64 74 68 3d 22 31 22 | tml:canvas.id="screen".width="1" |
16c520 | 20 68 65 69 67 68 74 3d 22 31 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 69 6d 61 67 65 20 69 64 3d | .height="1"/>.........<image.id= |
16c540 | 22 6d 6f 6e 69 74 6f 72 22 2f 3e 0a 20 20 20 20 20 20 3c 2f 73 74 61 63 6b 3e 0a 20 20 20 20 3c | "monitor"/>.......</stack>.....< |
16c560 | 2f 67 72 6f 75 70 62 6f 78 3e 0a 20 20 20 20 0a 0a 0a 3c 2f 64 69 61 6c 6f 67 3e 0a 50 4b 03 04 | /groupbox>........</dialog>.PK.. |
16c580 | 14 00 00 00 00 00 f4 4b 18 3b 2f 36 07 32 18 12 00 00 18 12 00 00 27 00 00 00 63 6f 6e 74 65 6e | .......K.;/6.2........'...conten |
16c5a0 | 74 2f 62 72 6f 77 73 65 72 2f 73 65 74 44 65 73 6b 74 6f 70 42 61 63 6b 67 72 6f 75 6e 64 2e 6a | t/browser/setDesktopBackground.j |
16c5c0 | 73 2f 2f 40 6c 69 6e 65 20 33 39 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f | s//@line.39."/builds/moz2_slave/ |
16c5e0 | 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 63 6f 6d 70 6f 6e | linux_build/build/browser/compon |
16c600 | 65 6e 74 73 2f 73 68 65 6c 6c 2f 63 6f 6e 74 65 6e 74 2f 73 65 74 44 65 73 6b 74 6f 70 42 61 63 | ents/shell/content/setDesktopBac |
16c620 | 6b 67 72 6f 75 6e 64 2e 6a 73 22 0a 0a 76 61 72 20 43 69 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 | kground.js"..var.Ci.=.Components |
16c640 | 2e 69 6e 74 65 72 66 61 63 65 73 3b 0a 0a 76 61 72 20 67 53 65 74 42 61 63 6b 67 72 6f 75 6e 64 | .interfaces;..var.gSetBackground |
16c660 | 20 3d 20 7b 0a 2f 2f 40 6c 69 6e 65 20 34 34 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c | .=.{.//@line.44."/builds/moz2_sl |
16c680 | 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 63 6f | ave/linux_build/build/browser/co |
16c6a0 | 6d 70 6f 6e 65 6e 74 73 2f 73 68 65 6c 6c 2f 63 6f 6e 74 65 6e 74 2f 73 65 74 44 65 73 6b 74 6f | mponents/shell/content/setDeskto |
16c6c0 | 70 42 61 63 6b 67 72 6f 75 6e 64 2e 6a 73 22 0a 20 20 5f 70 6f 73 69 74 69 6f 6e 20 20 20 20 20 | pBackground.js"..._position..... |
16c6e0 | 20 20 20 3a 20 22 22 2c 0a 20 20 5f 62 61 63 6b 67 72 6f 75 6e 64 43 6f 6c 6f 72 20 3a 20 30 2c | ...:."",..._backgroundColor.:.0, |
16c700 | 0a 2f 2f 40 6c 69 6e 65 20 34 39 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f | .//@line.49."/builds/moz2_slave/ |
16c720 | 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 63 6f 6d 70 6f 6e | linux_build/build/browser/compon |
16c740 | 65 6e 74 73 2f 73 68 65 6c 6c 2f 63 6f 6e 74 65 6e 74 2f 73 65 74 44 65 73 6b 74 6f 70 42 61 63 | ents/shell/content/setDesktopBac |
16c760 | 6b 67 72 6f 75 6e 64 2e 6a 73 22 0a 20 20 5f 73 63 72 65 65 6e 57 69 64 74 68 20 20 20 20 20 3a | kground.js"..._screenWidth.....: |
16c780 | 20 30 2c 0a 20 20 5f 73 63 72 65 65 6e 48 65 69 67 68 74 20 20 20 20 3a 20 30 2c 0a 20 20 5f 69 | .0,..._screenHeight....:.0,..._i |
16c7a0 | 6d 61 67 65 20 20 20 20 20 20 20 20 20 20 20 3a 20 6e 75 6c 6c 2c 0a 20 20 5f 63 61 6e 76 61 73 | mage...........:.null,..._canvas |
16c7c0 | 20 20 20 20 20 20 20 20 20 20 3a 20 6e 75 6c 6c 2c 0a 0a 20 20 67 65 74 20 5f 73 68 65 6c 6c 28 | ..........:.null,....get._shell( |
16c7e0 | 29 0a 20 20 7b 0a 20 20 20 20 72 65 74 75 72 6e 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 | )...{.....return.Components.clas |
16c800 | 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 62 72 6f 77 73 65 72 2f 73 68 65 6c 6c 2d | ses["@mozilla.org/browser/shell- |
16c820 | 73 65 72 76 69 63 65 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | service;1"]..................... |
16c840 | 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 53 68 65 6c 6c 53 65 72 76 69 63 65 29 | ..getService(Ci.nsIShellService) |
16c860 | 3b 0a 20 20 7d 2c 0a 0a 20 20 6c 6f 61 64 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a | ;...},....load:.function.()...{. |
16c880 | 20 20 20 20 74 68 69 73 2e 5f 63 61 6e 76 61 73 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 | ....this._canvas.=.document.getE |
16c8a0 | 6c 65 6d 65 6e 74 42 79 49 64 28 22 73 63 72 65 65 6e 22 29 3b 0a 20 20 20 20 74 68 69 73 2e 5f | lementById("screen");.....this._ |
16c8c0 | 73 63 72 65 65 6e 57 69 64 74 68 20 3d 20 73 63 72 65 65 6e 2e 77 69 64 74 68 3b 0a 20 20 20 20 | screenWidth.=.screen.width;..... |
16c8e0 | 74 68 69 73 2e 5f 73 63 72 65 65 6e 48 65 69 67 68 74 20 3d 20 73 63 72 65 65 6e 2e 68 65 69 67 | this._screenHeight.=.screen.heig |
16c900 | 68 74 3b 0a 2f 2f 40 6c 69 6e 65 20 36 38 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 | ht;.//@line.68."/builds/moz2_sla |
16c920 | 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 63 6f 6d | ve/linux_build/build/browser/com |
16c940 | 70 6f 6e 65 6e 74 73 2f 73 68 65 6c 6c 2f 63 6f 6e 74 65 6e 74 2f 73 65 74 44 65 73 6b 74 6f 70 | ponents/shell/content/setDesktop |
16c960 | 42 61 63 6b 67 72 6f 75 6e 64 2e 6a 73 22 0a 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 73 63 72 | Background.js".....if.(this._scr |
16c980 | 65 65 6e 57 69 64 74 68 20 2f 20 74 68 69 73 2e 5f 73 63 72 65 65 6e 48 65 69 67 68 74 20 3e 3d | eenWidth./.this._screenHeight.>= |
16c9a0 | 20 31 2e 36 29 0a 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 | .1.6).......document.getElementB |
16c9c0 | 79 49 64 28 22 6d 6f 6e 69 74 6f 72 22 29 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 61 73 70 | yId("monitor").setAttribute("asp |
16c9e0 | 65 63 74 72 61 74 69 6f 22 2c 20 22 31 36 3a 31 30 22 29 3b 0a 0a 20 20 20 20 2f 2f 20 6d 61 6b | ectratio",."16:10");......//.mak |
16ca00 | 65 20 73 75 72 65 20 74 68 61 74 20 74 68 65 20 63 6f 72 72 65 63 74 20 64 69 6d 65 6e 73 69 6f | e.sure.that.the.correct.dimensio |
16ca20 | 6e 73 20 77 69 6c 6c 20 62 65 20 75 73 65 64 0a 20 20 20 20 73 65 74 54 69 6d 65 6f 75 74 28 66 | ns.will.be.used.....setTimeout(f |
16ca40 | 75 6e 63 74 69 6f 6e 28 73 65 6c 66 29 20 7b 0a 20 20 20 20 20 20 73 65 6c 66 2e 69 6e 69 74 28 | unction(self).{.......self.init( |
16ca60 | 77 69 6e 64 6f 77 2e 61 72 67 75 6d 65 6e 74 73 5b 30 5d 29 3b 0a 20 20 20 20 7d 2c 20 30 2c 20 | window.arguments[0]);.....},.0,. |
16ca80 | 74 68 69 73 29 3b 0a 20 20 7d 2c 0a 0a 20 20 69 6e 69 74 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 | this);...},....init:.function.(a |
16caa0 | 49 6d 61 67 65 29 0a 20 20 7b 0a 20 20 20 20 74 68 69 73 2e 5f 69 6d 61 67 65 20 3d 20 61 49 6d | Image)...{.....this._image.=.aIm |
16cac0 | 61 67 65 3b 0a 0a 20 20 20 20 2f 2f 20 73 65 74 20 74 68 65 20 73 69 7a 65 20 6f 66 20 74 68 65 | age;......//.set.the.size.of.the |
16cae0 | 20 63 6f 6f 72 64 69 6e 61 74 65 20 73 70 61 63 65 0a 20 20 20 20 74 68 69 73 2e 5f 63 61 6e 76 | .coordinate.space.....this._canv |
16cb00 | 61 73 2e 77 69 64 74 68 20 3d 20 74 68 69 73 2e 5f 63 61 6e 76 61 73 2e 63 6c 69 65 6e 74 57 69 | as.width.=.this._canvas.clientWi |
16cb20 | 64 74 68 3b 0a 20 20 20 20 74 68 69 73 2e 5f 63 61 6e 76 61 73 2e 68 65 69 67 68 74 20 3d 20 74 | dth;.....this._canvas.height.=.t |
16cb40 | 68 69 73 2e 5f 63 61 6e 76 61 73 2e 63 6c 69 65 6e 74 48 65 69 67 68 74 3b 0a 0a 20 20 20 20 76 | his._canvas.clientHeight;......v |
16cb60 | 61 72 20 63 74 78 20 3d 20 74 68 69 73 2e 5f 63 61 6e 76 61 73 2e 67 65 74 43 6f 6e 74 65 78 74 | ar.ctx.=.this._canvas.getContext |
16cb80 | 28 22 32 64 22 29 3b 0a 20 20 20 20 63 74 78 2e 73 63 61 6c 65 28 74 68 69 73 2e 5f 63 61 6e 76 | ("2d");.....ctx.scale(this._canv |
16cba0 | 61 73 2e 63 6c 69 65 6e 74 57 69 64 74 68 20 2f 20 74 68 69 73 2e 5f 73 63 72 65 65 6e 57 69 64 | as.clientWidth./.this._screenWid |
16cbc0 | 74 68 2c 20 74 68 69 73 2e 5f 63 61 6e 76 61 73 2e 63 6c 69 65 6e 74 48 65 69 67 68 74 20 2f 20 | th,.this._canvas.clientHeight./. |
16cbe0 | 74 68 69 73 2e 5f 73 63 72 65 65 6e 48 65 69 67 68 74 29 3b 0a 0a 2f 2f 40 6c 69 6e 65 20 38 39 | this._screenHeight);..//@line.89 |
16cc00 | 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 | ."/builds/moz2_slave/linux_build |
16cc20 | 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 63 6f 6d 70 6f 6e 65 6e 74 73 2f 73 68 65 6c 6c 2f | /build/browser/components/shell/ |
16cc40 | 63 6f 6e 74 65 6e 74 2f 73 65 74 44 65 73 6b 74 6f 70 42 61 63 6b 67 72 6f 75 6e 64 2e 6a 73 22 | content/setDesktopBackground.js" |
16cc60 | 0a 20 20 20 20 74 68 69 73 2e 5f 69 6e 69 74 43 6f 6c 6f 72 28 29 3b 0a 2f 2f 40 6c 69 6e 65 20 | .....this._initColor();.//@line. |
16cc80 | 31 30 31 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 | 101."/builds/moz2_slave/linux_bu |
16cca0 | 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 63 6f 6d 70 6f 6e 65 6e 74 73 2f 73 68 65 | ild/build/browser/components/she |
16ccc0 | 6c 6c 2f 63 6f 6e 74 65 6e 74 2f 73 65 74 44 65 73 6b 74 6f 70 42 61 63 6b 67 72 6f 75 6e 64 2e | ll/content/setDesktopBackground. |
16cce0 | 6a 73 22 0a 20 20 20 20 74 68 69 73 2e 75 70 64 61 74 65 50 6f 73 69 74 69 6f 6e 28 29 3b 0a 20 | js".....this.updatePosition();.. |
16cd00 | 20 7d 2c 0a 0a 2f 2f 40 6c 69 6e 65 20 31 30 35 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 | .},..//@line.105."/builds/moz2_s |
16cd20 | 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 63 | lave/linux_build/build/browser/c |
16cd40 | 6f 6d 70 6f 6e 65 6e 74 73 2f 73 68 65 6c 6c 2f 63 6f 6e 74 65 6e 74 2f 73 65 74 44 65 73 6b 74 | omponents/shell/content/setDeskt |
16cd60 | 6f 70 42 61 63 6b 67 72 6f 75 6e 64 2e 6a 73 22 0a 20 20 5f 69 6e 69 74 43 6f 6c 6f 72 3a 20 66 | opBackground.js"..._initColor:.f |
16cd80 | 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 76 61 72 20 63 6f 6c 6f 72 20 3d 20 74 | unction.()...{.....var.color.=.t |
16cda0 | 68 69 73 2e 5f 73 68 65 6c 6c 2e 64 65 73 6b 74 6f 70 42 61 63 6b 67 72 6f 75 6e 64 43 6f 6c 6f | his._shell.desktopBackgroundColo |
16cdc0 | 72 3b 0a 0a 20 20 20 20 63 6f 6e 73 74 20 72 4d 61 73 6b 20 3d 20 34 32 39 34 39 30 31 37 36 30 | r;......const.rMask.=.4294901760 |
16cde0 | 3b 0a 20 20 20 20 63 6f 6e 73 74 20 67 4d 61 73 6b 20 3d 20 36 35 32 38 30 3b 0a 20 20 20 20 63 | ;.....const.gMask.=.65280;.....c |
16ce00 | 6f 6e 73 74 20 62 4d 61 73 6b 20 3d 20 32 35 35 3b 0a 20 20 20 20 76 61 72 20 72 20 3d 20 28 63 | onst.bMask.=.255;.....var.r.=.(c |
16ce20 | 6f 6c 6f 72 20 26 20 72 4d 61 73 6b 29 20 3e 3e 20 31 36 3b 0a 20 20 20 20 76 61 72 20 67 20 3d | olor.&.rMask).>>.16;.....var.g.= |
16ce40 | 20 28 63 6f 6c 6f 72 20 26 20 67 4d 61 73 6b 29 20 3e 3e 20 38 3b 0a 20 20 20 20 76 61 72 20 62 | .(color.&.gMask).>>.8;.....var.b |
16ce60 | 20 3d 20 28 63 6f 6c 6f 72 20 26 20 62 4d 61 73 6b 29 3b 0a 20 20 20 20 74 68 69 73 2e 75 70 64 | .=.(color.&.bMask);.....this.upd |
16ce80 | 61 74 65 43 6f 6c 6f 72 28 74 68 69 73 2e 5f 72 67 62 54 6f 48 65 78 28 72 2c 20 67 2c 20 62 29 | ateColor(this._rgbToHex(r,.g,.b) |
16cea0 | 29 3b 0a 0a 20 20 20 20 76 61 72 20 63 6f 6c 6f 72 70 69 63 6b 65 72 20 3d 20 64 6f 63 75 6d 65 | );......var.colorpicker.=.docume |
16cec0 | 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 64 65 73 6b 74 6f 70 43 6f 6c 6f 72 22 | nt.getElementById("desktopColor" |
16cee0 | 29 3b 0a 20 20 20 20 63 6f 6c 6f 72 70 69 63 6b 65 72 2e 63 6f 6c 6f 72 20 3d 20 74 68 69 73 2e | );.....colorpicker.color.=.this. |
16cf00 | 5f 62 61 63 6b 67 72 6f 75 6e 64 43 6f 6c 6f 72 3b 0a 20 20 7d 2c 0a 0a 20 20 75 70 64 61 74 65 | _backgroundColor;...},....update |
16cf20 | 43 6f 6c 6f 72 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 43 6f 6c 6f 72 29 0a 20 20 7b 0a 20 20 20 | Color:.function.(aColor)...{.... |
16cf40 | 20 74 68 69 73 2e 5f 62 61 63 6b 67 72 6f 75 6e 64 43 6f 6c 6f 72 20 3d 20 61 43 6f 6c 6f 72 3b | .this._backgroundColor.=.aColor; |
16cf60 | 0a 20 20 20 20 74 68 69 73 2e 5f 63 61 6e 76 61 73 2e 73 74 79 6c 65 2e 62 61 63 6b 67 72 6f 75 | .....this._canvas.style.backgrou |
16cf80 | 6e 64 43 6f 6c 6f 72 20 3d 20 61 43 6f 6c 6f 72 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2f 20 43 6f 6e | ndColor.=.aColor;...},....//.Con |
16cfa0 | 76 65 72 74 73 20 61 20 63 6f 6c 6f 72 20 73 74 72 69 6e 67 20 69 6e 20 74 68 65 20 66 6f 72 6d | verts.a.color.string.in.the.form |
16cfc0 | 61 74 20 22 23 52 52 47 47 42 42 22 20 74 6f 20 61 6e 20 69 6e 74 65 67 65 72 2e 0a 20 20 5f 68 | at."#RRGGBB".to.an.integer...._h |
16cfe0 | 65 78 53 74 72 69 6e 67 54 6f 4c 6f 6e 67 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 53 74 72 69 6e | exStringToLong:.function.(aStrin |
16d000 | 67 29 0a 20 20 7b 0a 20 20 20 20 72 65 74 75 72 6e 20 70 61 72 73 65 49 6e 74 28 61 53 74 72 69 | g)...{.....return.parseInt(aStri |
16d020 | 6e 67 2e 73 75 62 73 74 72 69 6e 67 28 31 2c 33 29 2c 20 31 36 29 20 3c 3c 20 31 36 20 7c 0a 20 | ng.substring(1,3),.16).<<.16.|.. |
16d040 | 20 20 20 20 20 20 20 20 20 20 70 61 72 73 65 49 6e 74 28 61 53 74 72 69 6e 67 2e 73 75 62 73 74 | ..........parseInt(aString.subst |
16d060 | 72 69 6e 67 28 33 2c 35 29 2c 20 31 36 29 20 3c 3c 20 38 20 7c 0a 20 20 20 20 20 20 20 20 20 20 | ring(3,5),.16).<<.8.|........... |
16d080 | 20 70 61 72 73 65 49 6e 74 28 61 53 74 72 69 6e 67 2e 73 75 62 73 74 72 69 6e 67 28 35 2c 37 29 | .parseInt(aString.substring(5,7) |
16d0a0 | 2c 20 31 36 29 3b 0a 20 20 7d 2c 0a 0a 20 20 5f 72 67 62 54 6f 48 65 78 3a 20 66 75 6e 63 74 69 | ,.16);...},...._rgbToHex:.functi |
16d0c0 | 6f 6e 20 28 61 52 2c 20 61 47 2c 20 61 42 29 0a 20 20 7b 0a 20 20 20 20 72 65 74 75 72 6e 20 22 | on.(aR,.aG,.aB)...{.....return." |
16d0e0 | 23 22 20 2b 20 5b 61 52 2c 20 61 47 2c 20 61 42 5d 2e 6d 61 70 28 66 75 6e 63 74 69 6f 6e 28 61 | #".+.[aR,.aG,.aB].map(function(a |
16d100 | 49 6e 74 29 20 61 49 6e 74 2e 74 6f 53 74 72 69 6e 67 28 31 36 29 2e 72 65 70 6c 61 63 65 28 2f | Int).aInt.toString(16).replace(/ |
16d120 | 5e 28 2e 29 24 2f 2c 20 22 30 24 31 22 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ^(.)$/,."0$1"))................. |
16d140 | 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 6a 6f 69 6e 28 22 22 29 2e 74 6f 55 70 70 65 72 43 61 | ..............join("").toUpperCa |
16d160 | 73 65 28 29 3b 0a 20 20 7d 2c 0a 2f 2f 40 6c 69 6e 65 20 31 35 38 20 22 2f 62 75 69 6c 64 73 2f | se();...},.//@line.158."/builds/ |
16d180 | 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f | moz2_slave/linux_build/build/bro |
16d1a0 | 77 73 65 72 2f 63 6f 6d 70 6f 6e 65 6e 74 73 2f 73 68 65 6c 6c 2f 63 6f 6e 74 65 6e 74 2f 73 65 | wser/components/shell/content/se |
16d1c0 | 74 44 65 73 6b 74 6f 70 42 61 63 6b 67 72 6f 75 6e 64 2e 6a 73 22 0a 0a 20 20 73 65 74 44 65 73 | tDesktopBackground.js"....setDes |
16d1e0 | 6b 74 6f 70 42 61 63 6b 67 72 6f 75 6e 64 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a | ktopBackground:.function.()...{. |
16d200 | 2f 2f 40 6c 69 6e 65 20 31 36 32 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f | //@line.162."/builds/moz2_slave/ |
16d220 | 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 63 6f 6d 70 6f 6e | linux_build/build/browser/compon |
16d240 | 65 6e 74 73 2f 73 68 65 6c 6c 2f 63 6f 6e 74 65 6e 74 2f 73 65 74 44 65 73 6b 74 6f 70 42 61 63 | ents/shell/content/setDesktopBac |
16d260 | 6b 67 72 6f 75 6e 64 2e 6a 73 22 0a 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 70 65 72 73 69 73 74 | kground.js".....document.persist |
16d280 | 28 22 6d 65 6e 75 50 6f 73 69 74 69 6f 6e 22 2c 20 22 76 61 6c 75 65 22 29 3b 0a 20 20 20 20 74 | ("menuPosition",."value");.....t |
16d2a0 | 68 69 73 2e 5f 73 68 65 6c 6c 2e 64 65 73 6b 74 6f 70 42 61 63 6b 67 72 6f 75 6e 64 43 6f 6c 6f | his._shell.desktopBackgroundColo |
16d2c0 | 72 20 3d 20 74 68 69 73 2e 5f 68 65 78 53 74 72 69 6e 67 54 6f 4c 6f 6e 67 28 74 68 69 73 2e 5f | r.=.this._hexStringToLong(this._ |
16d2e0 | 62 61 63 6b 67 72 6f 75 6e 64 43 6f 6c 6f 72 29 3b 0a 2f 2f 40 6c 69 6e 65 20 31 37 34 20 22 2f | backgroundColor);.//@line.174."/ |
16d300 | 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 | builds/moz2_slave/linux_build/bu |
16d320 | 69 6c 64 2f 62 72 6f 77 73 65 72 2f 63 6f 6d 70 6f 6e 65 6e 74 73 2f 73 68 65 6c 6c 2f 63 6f 6e | ild/browser/components/shell/con |
16d340 | 74 65 6e 74 2f 73 65 74 44 65 73 6b 74 6f 70 42 61 63 6b 67 72 6f 75 6e 64 2e 6a 73 22 0a 20 20 | tent/setDesktopBackground.js"... |
16d360 | 20 20 74 68 69 73 2e 5f 73 68 65 6c 6c 2e 73 65 74 44 65 73 6b 74 6f 70 42 61 63 6b 67 72 6f 75 | ..this._shell.setDesktopBackgrou |
16d380 | 6e 64 28 74 68 69 73 2e 5f 69 6d 61 67 65 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | nd(this._image,................. |
16d3a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 43 69 2e 6e 73 49 53 68 65 6c 6c | .....................Ci.nsIShell |
16d3c0 | 53 65 72 76 69 63 65 5b 22 42 41 43 4b 47 52 4f 55 4e 44 5f 22 20 2b 20 74 68 69 73 2e 5f 70 6f | Service["BACKGROUND_".+.this._po |
16d3e0 | 73 69 74 69 6f 6e 5d 29 3b 0a 20 20 7d 2c 0a 0a 20 20 75 70 64 61 74 65 50 6f 73 69 74 69 6f 6e | sition]);...},....updatePosition |
16d400 | 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 76 61 72 20 63 74 78 20 3d 20 | :.function.()...{.....var.ctx.=. |
16d420 | 74 68 69 73 2e 5f 63 61 6e 76 61 73 2e 67 65 74 43 6f 6e 74 65 78 74 28 22 32 64 22 29 3b 0a 20 | this._canvas.getContext("2d");.. |
16d440 | 20 20 20 63 74 78 2e 63 6c 65 61 72 52 65 63 74 28 30 2c 20 30 2c 20 74 68 69 73 2e 5f 73 63 72 | ...ctx.clearRect(0,.0,.this._scr |
16d460 | 65 65 6e 57 69 64 74 68 2c 20 74 68 69 73 2e 5f 73 63 72 65 65 6e 48 65 69 67 68 74 29 3b 0a 0a | eenWidth,.this._screenHeight);.. |
16d480 | 2f 2f 40 6c 69 6e 65 20 31 38 34 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f | //@line.184."/builds/moz2_slave/ |
16d4a0 | 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 63 6f 6d 70 6f 6e | linux_build/build/browser/compon |
16d4c0 | 65 6e 74 73 2f 73 68 65 6c 6c 2f 63 6f 6e 74 65 6e 74 2f 73 65 74 44 65 73 6b 74 6f 70 42 61 63 | ents/shell/content/setDesktopBac |
16d4e0 | 6b 67 72 6f 75 6e 64 2e 6a 73 22 0a 20 20 20 20 74 68 69 73 2e 5f 70 6f 73 69 74 69 6f 6e 20 3d | kground.js".....this._position.= |
16d500 | 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 6d 65 6e 75 50 6f | .document.getElementById("menuPo |
16d520 | 73 69 74 69 6f 6e 22 29 2e 76 61 6c 75 65 3b 0a 2f 2f 40 6c 69 6e 65 20 31 38 36 20 22 2f 62 75 | sition").value;.//@line.186."/bu |
16d540 | 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c | ilds/moz2_slave/linux_build/buil |
16d560 | 64 2f 62 72 6f 77 73 65 72 2f 63 6f 6d 70 6f 6e 65 6e 74 73 2f 73 68 65 6c 6c 2f 63 6f 6e 74 65 | d/browser/components/shell/conte |
16d580 | 6e 74 2f 73 65 74 44 65 73 6b 74 6f 70 42 61 63 6b 67 72 6f 75 6e 64 2e 6a 73 22 0a 0a 20 20 20 | nt/setDesktopBackground.js"..... |
16d5a0 | 20 73 77 69 74 63 68 20 28 74 68 69 73 2e 5f 70 6f 73 69 74 69 6f 6e 29 20 7b 0a 20 20 20 20 20 | .switch.(this._position).{...... |
16d5c0 | 20 63 61 73 65 20 22 54 49 4c 45 22 3a 0a 20 20 20 20 20 20 20 20 63 74 78 2e 73 61 76 65 28 29 | .case."TILE":.........ctx.save() |
16d5e0 | 3b 0a 20 20 20 20 20 20 20 20 63 74 78 2e 66 69 6c 6c 53 74 79 6c 65 20 3d 20 63 74 78 2e 63 72 | ;.........ctx.fillStyle.=.ctx.cr |
16d600 | 65 61 74 65 50 61 74 74 65 72 6e 28 74 68 69 73 2e 5f 69 6d 61 67 65 2c 20 22 72 65 70 65 61 74 | eatePattern(this._image,."repeat |
16d620 | 22 29 3b 0a 20 20 20 20 20 20 20 20 63 74 78 2e 66 69 6c 6c 52 65 63 74 28 30 2c 20 30 2c 20 74 | ");.........ctx.fillRect(0,.0,.t |
16d640 | 68 69 73 2e 5f 73 63 72 65 65 6e 57 69 64 74 68 2c 20 74 68 69 73 2e 5f 73 63 72 65 65 6e 48 65 | his._screenWidth,.this._screenHe |
16d660 | 69 67 68 74 29 3b 0a 20 20 20 20 20 20 20 20 63 74 78 2e 72 65 73 74 6f 72 65 28 29 3b 0a 20 20 | ight);.........ctx.restore();... |
16d680 | 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 63 61 73 65 20 22 53 54 52 45 54 43 48 | ......break;.......case."STRETCH |
16d6a0 | 22 3a 0a 20 20 20 20 20 20 20 20 63 74 78 2e 64 72 61 77 49 6d 61 67 65 28 74 68 69 73 2e 5f 69 | ":.........ctx.drawImage(this._i |
16d6c0 | 6d 61 67 65 2c 20 30 2c 20 30 2c 20 74 68 69 73 2e 5f 73 63 72 65 65 6e 57 69 64 74 68 2c 20 74 | mage,.0,.0,.this._screenWidth,.t |
16d6e0 | 68 69 73 2e 5f 73 63 72 65 65 6e 48 65 69 67 68 74 29 3b 0a 20 20 20 20 20 20 20 20 62 72 65 61 | his._screenHeight);.........brea |
16d700 | 6b 3b 0a 20 20 20 20 20 20 63 61 73 65 20 22 43 45 4e 54 45 52 22 3a 0a 20 20 20 20 20 20 20 20 | k;.......case."CENTER":......... |
16d720 | 76 61 72 20 78 20 3d 20 28 74 68 69 73 2e 5f 73 63 72 65 65 6e 57 69 64 74 68 20 2d 20 74 68 69 | var.x.=.(this._screenWidth.-.thi |
16d740 | 73 2e 5f 69 6d 61 67 65 2e 6e 61 74 75 72 61 6c 57 69 64 74 68 29 20 2f 20 32 3b 0a 20 20 20 20 | s._image.naturalWidth)./.2;..... |
16d760 | 20 20 20 20 76 61 72 20 79 20 3d 20 28 74 68 69 73 2e 5f 73 63 72 65 65 6e 48 65 69 67 68 74 20 | ....var.y.=.(this._screenHeight. |
16d780 | 2d 20 74 68 69 73 2e 5f 69 6d 61 67 65 2e 6e 61 74 75 72 61 6c 48 65 69 67 68 74 29 20 2f 20 32 | -.this._image.naturalHeight)./.2 |
16d7a0 | 3b 0a 20 20 20 20 20 20 20 20 63 74 78 2e 64 72 61 77 49 6d 61 67 65 28 74 68 69 73 2e 5f 69 6d | ;.........ctx.drawImage(this._im |
16d7c0 | 61 67 65 2c 20 78 2c 20 79 29 3b 0a 20 20 20 20 7d 0a 20 20 7d 0a 7d 3b 0a 50 4b 03 04 14 00 00 | age,.x,.y);.....}...}.};.PK..... |
16d7e0 | 00 00 00 f4 4b 18 3b 89 cd 30 8b c4 0a 00 00 c4 0a 00 00 25 00 00 00 63 6f 6e 74 65 6e 74 2f 62 | ....K.;..0.........%...content/b |
16d800 | 72 6f 77 73 65 72 2f 66 65 65 64 73 2f 73 75 62 73 63 72 69 62 65 2e 78 68 74 6d 6c 3c 3f 78 6d | rowser/feeds/subscribe.xhtml<?xm |
16d820 | 6c 20 76 65 72 73 69 6f 6e 3d 22 31 2e 30 22 20 65 6e 63 6f 64 69 6e 67 3d 22 75 74 66 2d 38 22 | l.version="1.0".encoding="utf-8" |
16d840 | 3f 3e 0a 0a 3c 21 44 4f 43 54 59 50 45 20 68 74 6d 6c 20 5b 0a 20 20 3c 21 45 4e 54 49 54 59 20 | ?>..<!DOCTYPE.html.[...<!ENTITY. |
16d860 | 25 20 68 74 6d 6c 44 54 44 0a 20 20 20 20 50 55 42 4c 49 43 20 22 2d 2f 2f 57 33 43 2f 2f 44 54 | %.htmlDTD.....PUBLIC."-//W3C//DT |
16d880 | 44 20 58 48 54 4d 4c 20 31 2e 30 20 53 74 72 69 63 74 2f 2f 45 4e 22 0a 20 20 20 20 22 44 54 44 | D.XHTML.1.0.Strict//EN"....."DTD |
16d8a0 | 2f 78 68 74 6d 6c 31 2d 73 74 72 69 63 74 2e 64 74 64 22 3e 0a 20 20 25 68 74 6d 6c 44 54 44 3b | /xhtml1-strict.dtd">...%htmlDTD; |
16d8c0 | 0a 20 20 3c 21 45 4e 54 49 54 59 20 25 20 67 6c 6f 62 61 6c 44 54 44 0a 20 20 20 20 53 59 53 54 | ...<!ENTITY.%.globalDTD.....SYST |
16d8e0 | 45 4d 20 22 63 68 72 6f 6d 65 3a 2f 2f 67 6c 6f 62 61 6c 2f 6c 6f 63 61 6c 65 2f 67 6c 6f 62 61 | EM."chrome://global/locale/globa |
16d900 | 6c 2e 64 74 64 22 3e 0a 20 20 25 67 6c 6f 62 61 6c 44 54 44 3b 0a 20 20 3c 21 45 4e 54 49 54 59 | l.dtd">...%globalDTD;...<!ENTITY |
16d920 | 20 25 20 66 65 65 64 44 54 44 0a 20 20 20 20 53 59 53 54 45 4d 20 22 63 68 72 6f 6d 65 3a 2f 2f | .%.feedDTD.....SYSTEM."chrome:// |
16d940 | 62 72 6f 77 73 65 72 2f 6c 6f 63 61 6c 65 2f 66 65 65 64 73 2f 73 75 62 73 63 72 69 62 65 2e 64 | browser/locale/feeds/subscribe.d |
16d960 | 74 64 22 3e 0a 20 20 25 66 65 65 64 44 54 44 3b 0a 5d 3e 0a 0a 3c 3f 78 6d 6c 2d 73 74 79 6c 65 | td">...%feedDTD;.]>..<?xml-style |
16d980 | 73 68 65 65 74 20 68 72 65 66 3d 22 63 68 72 6f 6d 65 3a 2f 2f 67 6c 6f 62 61 6c 2f 73 6b 69 6e | sheet.href="chrome://global/skin |
16d9a0 | 2f 22 20 74 79 70 65 3d 22 74 65 78 74 2f 63 73 73 22 3f 3e 0a 0a 3c 68 74 6d 6c 20 69 64 3d 22 | /".type="text/css"?>..<html.id=" |
16d9c0 | 66 65 65 64 48 61 6e 64 6c 65 72 22 0a 20 20 20 20 20 20 78 6d 6c 6e 73 3d 22 68 74 74 70 3a 2f | feedHandler".......xmlns="http:/ |
16d9e0 | 2f 77 77 77 2e 77 33 2e 6f 72 67 2f 31 39 39 39 2f 78 68 74 6d 6c 22 0a 20 20 20 20 20 20 78 6d | /www.w3.org/1999/xhtml".......xm |
16da00 | 6c 6e 73 3a 78 75 6c 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f | lns:xul="http://www.mozilla.org/ |
16da20 | 6b 65 79 6d 61 73 74 65 72 2f 67 61 74 65 6b 65 65 70 65 72 2f 74 68 65 72 65 2e 69 73 2e 6f 6e | keymaster/gatekeeper/there.is.on |
16da40 | 6c 79 2e 78 75 6c 22 3e 0a 20 20 3c 68 65 61 64 3e 0a 20 20 20 20 3c 74 69 74 6c 65 3e 26 66 65 | ly.xul">...<head>.....<title>&fe |
16da60 | 65 64 50 61 67 65 2e 74 69 74 6c 65 3b 3c 2f 74 69 74 6c 65 3e 0a 20 20 20 20 3c 6c 69 6e 6b 20 | edPage.title;</title>.....<link. |
16da80 | 72 65 6c 3d 22 73 74 79 6c 65 73 68 65 65 74 22 0a 20 20 20 20 20 20 20 20 20 20 68 72 65 66 3d | rel="stylesheet"...........href= |
16daa0 | 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 73 6b 69 6e 2f 66 65 65 64 73 2f 73 75 62 | "chrome://browser/skin/feeds/sub |
16dac0 | 73 63 72 69 62 65 2e 63 73 73 22 0a 20 20 20 20 20 20 20 20 20 20 74 79 70 65 3d 22 74 65 78 74 | scribe.css"...........type="text |
16dae0 | 2f 63 73 73 22 0a 20 20 20 20 20 20 20 20 20 20 6d 65 64 69 61 3d 22 61 6c 6c 22 2f 3e 0a 20 20 | /css"...........media="all"/>... |
16db00 | 20 20 3c 73 63 72 69 70 74 20 74 79 70 65 3d 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f 78 2d 6a 61 | ..<script.type="application/x-ja |
16db20 | 76 61 73 63 72 69 70 74 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 73 72 63 3d 22 63 68 72 6f 6d | vascript".............src="chrom |
16db40 | 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 66 65 65 64 73 2f 73 75 62 73 63 72 | e://browser/content/feeds/subscr |
16db60 | 69 62 65 2e 6a 73 22 2f 3e 0a 20 20 3c 2f 68 65 61 64 3e 0a 20 20 3c 62 6f 64 79 20 6f 6e 6c 6f | ibe.js"/>...</head>...<body.onlo |
16db80 | 61 64 3d 22 53 75 62 73 63 72 69 62 65 48 61 6e 64 6c 65 72 2e 77 72 69 74 65 43 6f 6e 74 65 6e | ad="SubscribeHandler.writeConten |
16dba0 | 74 28 29 3b 22 20 6f 6e 75 6e 6c 6f 61 64 3d 22 53 75 62 73 63 72 69 62 65 48 61 6e 64 6c 65 72 | t();".onunload="SubscribeHandler |
16dbc0 | 2e 75 6e 69 6e 69 74 28 29 3b 22 3e 0a 20 20 20 20 3c 64 69 76 20 69 64 3d 22 66 65 65 64 48 65 | .uninit();">.....<div.id="feedHe |
16dbe0 | 61 64 65 72 43 6f 6e 74 61 69 6e 65 72 22 3e 0a 20 20 20 20 20 20 3c 64 69 76 20 69 64 3d 22 66 | aderContainer">.......<div.id="f |
16dc00 | 65 65 64 48 65 61 64 65 72 22 20 64 69 72 3d 22 26 6c 6f 63 61 6c 65 2e 64 69 72 3b 22 3e 0a 20 | eedHeader".dir="&locale.dir;">.. |
16dc20 | 20 20 20 20 20 20 20 3c 64 69 76 20 69 64 3d 22 66 65 65 64 49 6e 74 72 6f 54 65 78 74 22 3e 0a | .......<div.id="feedIntroText">. |
16dc40 | 20 20 20 20 20 20 20 20 20 20 3c 70 20 69 64 3d 22 66 65 65 64 53 75 62 73 63 72 69 70 74 69 6f | ..........<p.id="feedSubscriptio |
16dc60 | 6e 49 6e 66 6f 31 22 20 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 70 20 69 64 3d 22 66 65 65 64 | nInfo1"./>...........<p.id="feed |
16dc80 | 53 75 62 73 63 72 69 70 74 69 6f 6e 49 6e 66 6f 32 22 20 2f 3e 0a 20 20 20 20 20 20 20 20 3c 2f | SubscriptionInfo2"./>.........</ |
16dca0 | 64 69 76 3e 0a 0a 3c 21 2d 2d 20 58 58 58 6d 61 6e 6f 20 74 68 69 73 20 63 61 6e 27 74 20 68 61 | div>..<!--.XXXmano.this.can't.ha |
16dcc0 | 76 65 20 61 6e 79 20 77 68 69 74 65 73 70 61 63 65 20 69 6e 20 69 74 2e 20 20 4f 74 68 65 72 77 | ve.any.whitespace.in.it...Otherw |
16dce0 | 69 73 65 20 79 6f 75 20 77 6f 75 6c 64 20 73 65 65 0a 20 20 20 20 20 68 6f 77 20 6d 75 63 68 20 | ise.you.would.see......how.much. |
16dd00 | 58 55 4c 2d 69 6e 2d 58 48 54 4d 4c 20 73 75 63 6b 73 2c 20 73 65 65 20 62 75 67 20 33 34 38 38 | XUL-in-XHTML.sucks,.see.bug.3488 |
16dd20 | 33 30 20 2d 2d 3e 0a 20 20 20 20 20 20 20 20 3c 64 69 76 20 69 64 3d 22 66 65 65 64 53 75 62 73 | 30.-->.........<div.id="feedSubs |
16dd40 | 63 72 69 62 65 4c 69 6e 65 22 0a 20 20 20 20 20 20 20 20 20 20 3e 3c 78 75 6c 3a 76 62 6f 78 0a | cribeLine"...........><xul:vbox. |
16dd60 | 20 20 20 20 20 20 20 20 20 20 20 20 3e 3c 78 75 6c 3a 68 62 6f 78 20 61 6c 69 67 6e 3d 22 63 65 | ............><xul:hbox.align="ce |
16dd80 | 6e 74 65 72 22 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3e 3c 78 75 6c 3a 64 65 73 63 72 | nter"................><xul:descr |
16dda0 | 69 70 74 69 6f 6e 20 69 64 3d 22 73 75 62 73 63 72 69 62 65 55 73 69 6e 67 44 65 73 63 72 69 70 | iption.id="subscribeUsingDescrip |
16ddc0 | 74 69 6f 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 3e 3c 78 75 6c 3a 6d 65 6e 75 6c | tion".............../><xul:menul |
16dde0 | 69 73 74 20 69 64 3d 22 68 61 6e 64 6c 65 72 73 4d 65 6e 75 4c 69 73 74 22 20 6f 6e 66 6f 63 75 | ist.id="handlersMenuList".onfocu |
16de00 | 73 3d 22 73 65 74 54 69 6d 65 6f 75 74 28 53 75 62 73 63 72 69 62 65 48 61 6e 64 6c 65 72 2e 6d | s="setTimeout(SubscribeHandler.m |
16de20 | 65 6e 75 4c 69 73 74 46 6f 63 75 73 65 64 2c 30 2c 74 68 69 73 29 3b 22 20 61 72 69 61 2d 6c 61 | enuListFocused,0,this);".aria-la |
16de40 | 62 65 6c 6c 65 64 62 79 3d 22 73 75 62 73 63 72 69 62 65 55 73 69 6e 67 44 65 73 63 72 69 70 74 | belledby="subscribeUsingDescript |
16de60 | 69 6f 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3e 3c 78 75 6c 3a 6d 65 6e 75 70 | ion".................><xul:menup |
16de80 | 6f 70 75 70 20 6d 65 6e 75 67 65 6e 65 72 61 74 65 64 3d 22 74 72 75 65 22 20 69 64 3d 22 68 61 | opup.menugenerated="true".id="ha |
16dea0 | 6e 64 6c 65 72 73 4d 65 6e 75 50 6f 70 75 70 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ndlersMenuPopup"................ |
16dec0 | 20 20 20 3e 3c 78 75 6c 3a 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 6c 69 76 65 42 6f 6f 6b 6d 61 | ...><xul:menuitem.id="liveBookma |
16dee0 | 72 6b 73 4d 65 6e 75 49 74 65 6d 22 20 6c 61 62 65 6c 3d 22 26 66 65 65 64 4c 69 76 65 42 6f 6f | rksMenuItem".label="&feedLiveBoo |
16df00 | 6b 6d 61 72 6b 73 3b 22 20 63 6c 61 73 73 3d 22 6d 65 6e 75 69 74 65 6d 2d 69 63 6f 6e 69 63 22 | kmarks;".class="menuitem-iconic" |
16df20 | 20 69 6d 61 67 65 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 73 6b 69 6e 2f 70 61 | .image="chrome://browser/skin/pa |
16df40 | 67 65 2d 6c 69 76 65 6d 61 72 6b 73 2e 70 6e 67 22 20 73 65 6c 65 63 74 65 64 3d 22 74 72 75 65 | ge-livemarks.png".selected="true |
16df60 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 3e 3c 78 75 6c 3a 6d 65 6e 75 73 | ".................../><xul:menus |
16df80 | 65 70 61 72 61 74 6f 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 3e 3c 2f 78 75 6c | eparator................./></xul |
16dfa0 | 3a 6d 65 6e 75 70 6f 70 75 70 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3e 3c 2f 78 75 6c 3a | :menupopup...............></xul: |
16dfc0 | 6d 65 6e 75 6c 69 73 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 3e 3c 2f 78 75 6c 3a 68 62 6f 78 | menulist.............></xul:hbox |
16dfe0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 3e 3c 78 75 6c 3a 68 62 6f 78 0a 20 20 20 20 20 20 20 20 | .............><xul:hbox......... |
16e000 | 20 20 20 20 20 20 3e 3c 78 75 6c 3a 63 68 65 63 6b 62 6f 78 20 69 64 3d 22 61 6c 77 61 79 73 55 | ......><xul:checkbox.id="alwaysU |
16e020 | 73 65 22 20 63 68 65 63 6b 65 64 3d 22 66 61 6c 73 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 | se".checked="false"............. |
16e040 | 2f 3e 3c 2f 78 75 6c 3a 68 62 6f 78 0a 20 20 20 20 20 20 20 20 20 20 20 20 3e 3c 78 75 6c 3a 68 | /></xul:hbox.............><xul:h |
16e060 | 62 6f 78 20 61 6c 69 67 6e 3d 22 63 65 6e 74 65 72 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | box.align="center".............. |
16e080 | 20 3e 3c 78 75 6c 3a 73 70 61 63 65 72 20 66 6c 65 78 3d 22 31 22 0a 20 20 20 20 20 20 20 20 20 | .><xul:spacer.flex="1".......... |
16e0a0 | 20 20 20 20 20 2f 3e 3c 78 75 6c 3a 62 75 74 74 6f 6e 20 6c 61 62 65 6c 3d 22 26 66 65 65 64 53 | ...../><xul:button.label="&feedS |
16e0c0 | 75 62 73 63 72 69 62 65 4e 6f 77 3b 22 20 69 64 3d 22 73 75 62 73 63 72 69 62 65 42 75 74 74 6f | ubscribeNow;".id="subscribeButto |
16e0e0 | 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 3e 3c 2f 78 75 6c 3a 68 62 6f 78 0a 20 20 20 20 | n"............./></xul:hbox..... |
16e100 | 20 20 20 20 20 20 3e 3c 2f 78 75 6c 3a 76 62 6f 78 0a 20 20 20 20 20 20 20 20 3e 3c 2f 64 69 76 | ......></xul:vbox.........></div |
16e120 | 0a 20 20 20 20 20 20 3e 3c 2f 64 69 76 3e 0a 20 20 20 20 3c 2f 64 69 76 3e 0a 0a 20 20 20 20 3c | .......></div>.....</div>......< |
16e140 | 73 63 72 69 70 74 20 74 79 70 65 3d 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f 78 2d 6a 61 76 61 73 | script.type="application/x-javas |
16e160 | 63 72 69 70 74 22 3e 0a 20 20 20 20 20 20 53 75 62 73 63 72 69 62 65 48 61 6e 64 6c 65 72 2e 69 | cript">.......SubscribeHandler.i |
16e180 | 6e 69 74 28 29 3b 0a 20 20 20 20 3c 2f 73 63 72 69 70 74 3e 0a 0a 20 20 20 20 3c 64 69 76 20 69 | nit();.....</script>......<div.i |
16e1a0 | 64 3d 22 66 65 65 64 42 6f 64 79 22 3e 0a 20 20 20 20 20 20 3c 64 69 76 20 69 64 3d 22 66 65 65 | d="feedBody">.......<div.id="fee |
16e1c0 | 64 54 69 74 6c 65 22 3e 0a 20 20 20 20 20 20 20 20 3c 61 20 69 64 3d 22 66 65 65 64 54 69 74 6c | dTitle">.........<a.id="feedTitl |
16e1e0 | 65 4c 69 6e 6b 22 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 69 6d 67 20 69 64 3d 22 66 65 65 64 54 | eLink">...........<img.id="feedT |
16e200 | 69 74 6c 65 49 6d 61 67 65 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 2f 61 3e 0a 20 20 20 20 20 20 | itleImage"/>.........</a>....... |
16e220 | 20 20 3c 64 69 76 20 69 64 3d 22 66 65 65 64 54 69 74 6c 65 43 6f 6e 74 61 69 6e 65 72 22 3e 0a | ..<div.id="feedTitleContainer">. |
16e240 | 20 20 20 20 20 20 20 20 20 20 3c 68 31 20 69 64 3d 22 66 65 65 64 54 69 74 6c 65 54 65 78 74 22 | ..........<h1.id="feedTitleText" |
16e260 | 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 68 32 20 69 64 3d 22 66 65 65 64 53 75 62 74 69 74 6c | />...........<h2.id="feedSubtitl |
16e280 | 65 54 65 78 74 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 2f 64 69 76 3e 0a 20 20 20 20 20 20 3c 2f | eText"/>.........</div>.......</ |
16e2a0 | 64 69 76 3e 0a 20 20 20 20 20 20 3c 64 69 76 20 69 64 3d 22 66 65 65 64 43 6f 6e 74 65 6e 74 22 | div>.......<div.id="feedContent" |
16e2c0 | 2f 3e 0a 20 20 20 20 3c 2f 64 69 76 3e 0a 20 20 3c 2f 62 6f 64 79 3e 0a 3c 2f 68 74 6d 6c 3e 0a | />.....</div>...</body>.</html>. |
16e2e0 | 50 4b 03 04 14 00 00 00 00 00 f4 4b 18 3b 42 27 02 d0 27 0a 00 00 27 0a 00 00 22 00 00 00 63 6f | PK.........K.;B'..'...'..."...co |
16e300 | 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 66 65 65 64 73 2f 73 75 62 73 63 72 69 62 65 2e 6a 73 | ntent/browser/feeds/subscribe.js |
16e320 | 2f 2a 20 2d 2a 2d 20 4d 6f 64 65 3a 20 43 2b 2b 3b 20 74 61 62 2d 77 69 64 74 68 3a 20 38 3b 20 | /*.-*-.Mode:.C++;.tab-width:.8;. |
16e340 | 69 6e 64 65 6e 74 2d 74 61 62 73 2d 6d 6f 64 65 3a 20 6e 69 6c 3b 20 63 2d 62 61 73 69 63 2d 6f | indent-tabs-mode:.nil;.c-basic-o |
16e360 | 66 66 73 65 74 3a 20 32 20 2d 2a 2d 20 2a 2f 0a 2f 2a 20 2a 2a 2a 2a 2a 20 42 45 47 49 4e 20 4c | ffset:.2.-*-.*/./*.*****.BEGIN.L |
16e380 | 49 43 45 4e 53 45 20 42 4c 4f 43 4b 20 2a 2a 2a 2a 2a 0a 20 2a 20 56 65 72 73 69 6f 6e 3a 20 4d | ICENSE.BLOCK.*****..*.Version:.M |
16e3a0 | 50 4c 20 31 2e 31 2f 47 50 4c 20 32 2e 30 2f 4c 47 50 4c 20 32 2e 31 0a 20 2a 0a 20 2a 20 54 68 | PL.1.1/GPL.2.0/LGPL.2.1..*..*.Th |
16e3c0 | 65 20 63 6f 6e 74 65 6e 74 73 20 6f 66 20 74 68 69 73 20 66 69 6c 65 20 61 72 65 20 73 75 62 6a | e.contents.of.this.file.are.subj |
16e3e0 | 65 63 74 20 74 6f 20 74 68 65 20 4d 6f 7a 69 6c 6c 61 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 | ect.to.the.Mozilla.Public.Licens |
16e400 | 65 20 56 65 72 73 69 6f 6e 0a 20 2a 20 31 2e 31 20 28 74 68 65 20 22 4c 69 63 65 6e 73 65 22 29 | e.Version..*.1.1.(the."License") |
16e420 | 3b 20 79 6f 75 20 6d 61 79 20 6e 6f 74 20 75 73 65 20 74 68 69 73 20 66 69 6c 65 20 65 78 63 65 | ;.you.may.not.use.this.file.exce |
16e440 | 70 74 20 69 6e 20 63 6f 6d 70 6c 69 61 6e 63 65 20 77 69 74 68 0a 20 2a 20 74 68 65 20 4c 69 63 | pt.in.compliance.with..*.the.Lic |
16e460 | 65 6e 73 65 2e 20 59 6f 75 20 6d 61 79 20 6f 62 74 61 69 6e 20 61 20 63 6f 70 79 20 6f 66 20 74 | ense..You.may.obtain.a.copy.of.t |
16e480 | 68 65 20 4c 69 63 65 6e 73 65 20 61 74 0a 20 2a 20 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 | he.License.at..*.http://www.mozi |
16e4a0 | 6c 6c 61 2e 6f 72 67 2f 4d 50 4c 2f 0a 20 2a 0a 20 2a 20 53 6f 66 74 77 61 72 65 20 64 69 73 74 | lla.org/MPL/..*..*.Software.dist |
16e4c0 | 72 69 62 75 74 65 64 20 75 6e 64 65 72 20 74 68 65 20 4c 69 63 65 6e 73 65 20 69 73 20 64 69 73 | ributed.under.the.License.is.dis |
16e4e0 | 74 72 69 62 75 74 65 64 20 6f 6e 20 61 6e 20 22 41 53 20 49 53 22 20 62 61 73 69 73 2c 0a 20 2a | tributed.on.an."AS.IS".basis,..* |
16e500 | 20 57 49 54 48 4f 55 54 20 57 41 52 52 41 4e 54 59 20 4f 46 20 41 4e 59 20 4b 49 4e 44 2c 20 65 | .WITHOUT.WARRANTY.OF.ANY.KIND,.e |
16e520 | 69 74 68 65 72 20 65 78 70 72 65 73 73 20 6f 72 20 69 6d 70 6c 69 65 64 2e 20 53 65 65 20 74 68 | ither.express.or.implied..See.th |
16e540 | 65 20 4c 69 63 65 6e 73 65 0a 20 2a 20 66 6f 72 20 74 68 65 20 73 70 65 63 69 66 69 63 20 6c 61 | e.License..*.for.the.specific.la |
16e560 | 6e 67 75 61 67 65 20 67 6f 76 65 72 6e 69 6e 67 20 72 69 67 68 74 73 20 61 6e 64 20 6c 69 6d 69 | nguage.governing.rights.and.limi |
16e580 | 74 61 74 69 6f 6e 73 20 75 6e 64 65 72 20 74 68 65 0a 20 2a 20 4c 69 63 65 6e 73 65 2e 0a 20 2a | tations.under.the..*.License...* |
16e5a0 | 0a 20 2a 20 54 68 65 20 4f 72 69 67 69 6e 61 6c 20 43 6f 64 65 20 69 73 20 74 68 65 20 46 65 65 | ..*.The.Original.Code.is.the.Fee |
16e5c0 | 64 20 53 75 62 73 63 72 69 62 65 20 48 61 6e 64 6c 65 72 2e 0a 20 2a 0a 20 2a 20 54 68 65 20 49 | d.Subscribe.Handler...*..*.The.I |
16e5e0 | 6e 69 74 69 61 6c 20 44 65 76 65 6c 6f 70 65 72 20 6f 66 20 74 68 65 20 4f 72 69 67 69 6e 61 6c | nitial.Developer.of.the.Original |
16e600 | 20 43 6f 64 65 20 69 73 20 47 6f 6f 67 6c 65 20 49 6e 63 2e 0a 20 2a 20 50 6f 72 74 69 6f 6e 73 | .Code.is.Google.Inc...*.Portions |
16e620 | 20 63 72 65 61 74 65 64 20 62 79 20 74 68 65 20 49 6e 69 74 69 61 6c 20 44 65 76 65 6c 6f 70 65 | .created.by.the.Initial.Develope |
16e640 | 72 20 61 72 65 20 43 6f 70 79 72 69 67 68 74 20 28 43 29 20 32 30 30 36 0a 20 2a 20 74 68 65 20 | r.are.Copyright.(C).2006..*.the. |
16e660 | 49 6e 69 74 69 61 6c 20 44 65 76 65 6c 6f 70 65 72 2e 20 41 6c 6c 20 52 69 67 68 74 73 20 52 65 | Initial.Developer..All.Rights.Re |
16e680 | 73 65 72 76 65 64 2e 0a 20 2a 0a 20 2a 20 43 6f 6e 74 72 69 62 75 74 6f 72 28 73 29 3a 0a 20 2a | served...*..*.Contributor(s):..* |
16e6a0 | 20 20 20 42 65 6e 20 47 6f 6f 64 67 65 72 20 3c 62 65 6e 67 40 67 6f 6f 67 6c 65 2e 63 6f 6d 3e | ...Ben.Goodger.<beng@google.com> |
16e6c0 | 0a 20 2a 20 20 20 41 73 61 66 20 52 6f 6d 61 6e 6f 20 3c 6d 61 6e 6f 40 6d 6f 7a 69 6c 6c 61 2e | ..*...Asaf.Romano.<mano@mozilla. |
16e6e0 | 63 6f 6d 3e 0a 20 2a 0a 20 2a 20 41 6c 74 65 72 6e 61 74 69 76 65 6c 79 2c 20 74 68 65 20 63 6f | com>..*..*.Alternatively,.the.co |
16e700 | 6e 74 65 6e 74 73 20 6f 66 20 74 68 69 73 20 66 69 6c 65 20 6d 61 79 20 62 65 20 75 73 65 64 20 | ntents.of.this.file.may.be.used. |
16e720 | 75 6e 64 65 72 20 74 68 65 20 74 65 72 6d 73 20 6f 66 0a 20 2a 20 65 69 74 68 65 72 20 74 68 65 | under.the.terms.of..*.either.the |
16e740 | 20 47 4e 55 20 47 65 6e 65 72 61 6c 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 20 56 65 72 73 | .GNU.General.Public.License.Vers |
16e760 | 69 6f 6e 20 32 20 6f 72 20 6c 61 74 65 72 20 28 74 68 65 20 22 47 50 4c 22 29 2c 20 6f 72 0a 20 | ion.2.or.later.(the."GPL"),.or.. |
16e780 | 2a 20 74 68 65 20 47 4e 55 20 4c 65 73 73 65 72 20 47 65 6e 65 72 61 6c 20 50 75 62 6c 69 63 20 | *.the.GNU.Lesser.General.Public. |
16e7a0 | 4c 69 63 65 6e 73 65 20 56 65 72 73 69 6f 6e 20 32 2e 31 20 6f 72 20 6c 61 74 65 72 20 28 74 68 | License.Version.2.1.or.later.(th |
16e7c0 | 65 20 22 4c 47 50 4c 22 29 2c 0a 20 2a 20 69 6e 20 77 68 69 63 68 20 63 61 73 65 20 74 68 65 20 | e."LGPL"),..*.in.which.case.the. |
16e7e0 | 70 72 6f 76 69 73 69 6f 6e 73 20 6f 66 20 74 68 65 20 47 50 4c 20 6f 72 20 74 68 65 20 4c 47 50 | provisions.of.the.GPL.or.the.LGP |
16e800 | 4c 20 61 72 65 20 61 70 70 6c 69 63 61 62 6c 65 20 69 6e 73 74 65 61 64 0a 20 2a 20 6f 66 20 74 | L.are.applicable.instead..*.of.t |
16e820 | 68 6f 73 65 20 61 62 6f 76 65 2e 20 49 66 20 79 6f 75 20 77 69 73 68 20 74 6f 20 61 6c 6c 6f 77 | hose.above..If.you.wish.to.allow |
16e840 | 20 75 73 65 20 6f 66 20 79 6f 75 72 20 76 65 72 73 69 6f 6e 20 6f 66 20 74 68 69 73 20 66 69 6c | .use.of.your.version.of.this.fil |
16e860 | 65 20 6f 6e 6c 79 0a 20 2a 20 75 6e 64 65 72 20 74 68 65 20 74 65 72 6d 73 20 6f 66 20 65 69 74 | e.only..*.under.the.terms.of.eit |
16e880 | 68 65 72 20 74 68 65 20 47 50 4c 20 6f 72 20 74 68 65 20 4c 47 50 4c 2c 20 61 6e 64 20 6e 6f 74 | her.the.GPL.or.the.LGPL,.and.not |
16e8a0 | 20 74 6f 20 61 6c 6c 6f 77 20 6f 74 68 65 72 73 20 74 6f 0a 20 2a 20 75 73 65 20 79 6f 75 72 20 | .to.allow.others.to..*.use.your. |
16e8c0 | 76 65 72 73 69 6f 6e 20 6f 66 20 74 68 69 73 20 66 69 6c 65 20 75 6e 64 65 72 20 74 68 65 20 74 | version.of.this.file.under.the.t |
16e8e0 | 65 72 6d 73 20 6f 66 20 74 68 65 20 4d 50 4c 2c 20 69 6e 64 69 63 61 74 65 20 79 6f 75 72 0a 20 | erms.of.the.MPL,.indicate.your.. |
16e900 | 2a 20 64 65 63 69 73 69 6f 6e 20 62 79 20 64 65 6c 65 74 69 6e 67 20 74 68 65 20 70 72 6f 76 69 | *.decision.by.deleting.the.provi |
16e920 | 73 69 6f 6e 73 20 61 62 6f 76 65 20 61 6e 64 20 72 65 70 6c 61 63 65 20 74 68 65 6d 20 77 69 74 | sions.above.and.replace.them.wit |
16e940 | 68 20 74 68 65 20 6e 6f 74 69 63 65 0a 20 2a 20 61 6e 64 20 6f 74 68 65 72 20 70 72 6f 76 69 73 | h.the.notice..*.and.other.provis |
16e960 | 69 6f 6e 73 20 72 65 71 75 69 72 65 64 20 62 79 20 74 68 65 20 47 50 4c 20 6f 72 20 74 68 65 20 | ions.required.by.the.GPL.or.the. |
16e980 | 4c 47 50 4c 2e 20 49 66 20 79 6f 75 20 64 6f 20 6e 6f 74 20 64 65 6c 65 74 65 0a 20 2a 20 74 68 | LGPL..If.you.do.not.delete..*.th |
16e9a0 | 65 20 70 72 6f 76 69 73 69 6f 6e 73 20 61 62 6f 76 65 2c 20 61 20 72 65 63 69 70 69 65 6e 74 20 | e.provisions.above,.a.recipient. |
16e9c0 | 6d 61 79 20 75 73 65 20 79 6f 75 72 20 76 65 72 73 69 6f 6e 20 6f 66 20 74 68 69 73 20 66 69 6c | may.use.your.version.of.this.fil |
16e9e0 | 65 20 75 6e 64 65 72 0a 20 2a 20 74 68 65 20 74 65 72 6d 73 20 6f 66 20 61 6e 79 20 6f 6e 65 20 | e.under..*.the.terms.of.any.one. |
16ea00 | 6f 66 20 74 68 65 20 4d 50 4c 2c 20 74 68 65 20 47 50 4c 20 6f 72 20 74 68 65 20 4c 47 50 4c 2e | of.the.MPL,.the.GPL.or.the.LGPL. |
16ea20 | 0a 20 2a 0a 20 2a 20 2a 2a 2a 2a 2a 20 45 4e 44 20 4c 49 43 45 4e 53 45 20 42 4c 4f 43 4b 20 2a | ..*..*.*****.END.LICENSE.BLOCK.* |
16ea40 | 2a 2a 2a 2a 20 2a 2f 0a 0a 76 61 72 20 53 75 62 73 63 72 69 62 65 48 61 6e 64 6c 65 72 20 3d 20 | ****.*/..var.SubscribeHandler.=. |
16ea60 | 7b 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 54 68 65 20 6e 73 49 46 65 65 64 57 72 69 74 65 72 20 6f | {.../**....*.The.nsIFeedWriter.o |
16ea80 | 62 6a 65 63 74 20 74 68 61 74 20 70 72 6f 64 75 63 65 73 20 74 68 65 20 55 49 0a 20 20 20 2a 2f | bject.that.produces.the.UI....*/ |
16eaa0 | 0a 20 20 5f 66 65 65 64 57 72 69 74 65 72 3a 20 6e 75 6c 6c 2c 0a 20 20 0a 20 20 69 6e 69 74 3a | ..._feedWriter:.null,......init: |
16eac0 | 20 66 75 6e 63 74 69 6f 6e 20 53 48 5f 69 6e 69 74 28 29 20 7b 0a 20 20 20 20 74 68 69 73 2e 5f | .function.SH_init().{.....this._ |
16eae0 | 66 65 65 64 57 72 69 74 65 72 20 3d 20 6e 65 77 20 42 72 6f 77 73 65 72 46 65 65 64 57 72 69 74 | feedWriter.=.new.BrowserFeedWrit |
16eb00 | 65 72 28 29 3b 0a 20 20 20 20 74 68 69 73 2e 5f 66 65 65 64 57 72 69 74 65 72 2e 69 6e 69 74 28 | er();.....this._feedWriter.init( |
16eb20 | 77 69 6e 64 6f 77 29 3b 0a 20 20 7d 2c 0a 0a 20 20 77 72 69 74 65 43 6f 6e 74 65 6e 74 3a 20 66 | window);...},....writeContent:.f |
16eb40 | 75 6e 63 74 69 6f 6e 20 53 48 5f 77 72 69 74 65 43 6f 6e 74 65 6e 74 28 29 20 7b 0a 20 20 20 20 | unction.SH_writeContent().{..... |
16eb60 | 74 68 69 73 2e 5f 66 65 65 64 57 72 69 74 65 72 2e 77 72 69 74 65 43 6f 6e 74 65 6e 74 28 29 3b | this._feedWriter.writeContent(); |
16eb80 | 0a 20 20 7d 2c 0a 0a 20 20 75 6e 69 6e 69 74 3a 20 66 75 6e 63 74 69 6f 6e 20 53 48 5f 75 6e 69 | ...},....uninit:.function.SH_uni |
16eba0 | 6e 69 74 28 29 20 7b 0a 20 20 20 20 74 68 69 73 2e 5f 66 65 65 64 57 72 69 74 65 72 2e 63 6c 6f | nit().{.....this._feedWriter.clo |
16ebc0 | 73 65 28 29 3b 0a 20 20 7d 2c 0a 20 20 0a 20 20 73 75 62 73 63 72 69 62 65 3a 20 66 75 6e 63 74 | se();...},......subscribe:.funct |
16ebe0 | 69 6f 6e 20 46 48 5f 73 75 62 73 63 72 69 62 65 28 29 20 7b 0a 20 20 20 20 74 68 69 73 2e 5f 66 | ion.FH_subscribe().{.....this._f |
16ec00 | 65 65 64 57 72 69 74 65 72 2e 73 75 62 73 63 72 69 62 65 28 29 3b 0a 20 20 7d 2c 0a 20 20 2f 2f | eedWriter.subscribe();...},...// |
16ec20 | 20 57 6f 72 6b 20 61 72 6f 75 6e 64 20 66 6f 72 20 6d 65 6e 75 6c 69 73 74 20 58 55 4c 20 69 6e | .Work.around.for.menulist.XUL.in |
16ec40 | 20 58 48 54 4d 4c 20 62 75 67 20 34 36 31 39 38 31 0a 20 20 6d 65 6e 75 4c 69 73 74 46 6f 63 75 | .XHTML.bug.461981...menuListFocu |
16ec60 | 73 65 64 3a 20 66 75 6e 63 74 69 6f 6e 20 53 48 5f 6d 65 6e 75 6c 69 73 74 46 6f 63 75 73 65 64 | sed:.function.SH_menulistFocused |
16ec80 | 28 6d 65 6e 75 6c 69 73 74 29 20 7b 0a 20 20 20 20 76 61 72 20 72 61 6e 67 65 20 3d 20 64 6f 63 | (menulist).{.....var.range.=.doc |
16eca0 | 75 6d 65 6e 74 2e 63 72 65 61 74 65 52 61 6e 67 65 28 29 3b 0a 20 20 20 20 72 61 6e 67 65 2e 73 | ument.createRange();.....range.s |
16ecc0 | 65 6c 65 63 74 4e 6f 64 65 28 6d 65 6e 75 6c 69 73 74 29 3b 0a 20 20 20 20 76 61 72 20 73 65 6c | electNode(menulist);.....var.sel |
16ece0 | 65 63 74 69 6f 6e 20 3d 20 77 69 6e 64 6f 77 2e 67 65 74 53 65 6c 65 63 74 69 6f 6e 28 29 3b 0a | ection.=.window.getSelection();. |
16ed00 | 20 20 20 20 73 65 6c 65 63 74 69 6f 6e 2e 61 64 64 52 61 6e 67 65 28 72 61 6e 67 65 29 3b 0a 20 | ....selection.addRange(range);.. |
16ed20 | 20 20 20 73 65 6c 65 63 74 69 6f 6e 2e 63 6f 6c 6c 61 70 73 65 54 6f 53 74 61 72 74 28 29 3b 0a | ...selection.collapseToStart();. |
16ed40 | 20 20 7d 0a 7d 3b 0a 50 4b 03 04 14 00 00 00 00 00 f5 4b 18 3b ca da 49 c5 b5 0d 00 00 b5 0d 00 | ..}.};.PK.........K.;..I........ |
16ed60 | 00 2e 00 00 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 6c 61 63 65 73 2f 62 6f 6f 6b | .....content/browser/places/book |
16ed80 | 6d 61 72 6b 50 72 6f 70 65 72 74 69 65 73 32 2e 78 75 6c 3c 3f 78 6d 6c 20 76 65 72 73 69 6f 6e | markProperties2.xul<?xml.version |
16eda0 | 3d 22 31 2e 30 22 3f 3e 0a 0a 3c 21 2d 2d 20 2a 2a 2a 2a 2a 20 42 45 47 49 4e 20 4c 49 43 45 4e | ="1.0"?>..<!--.*****.BEGIN.LICEN |
16edc0 | 53 45 20 42 4c 4f 43 4b 20 2a 2a 2a 2a 2a 0a 20 20 20 2d 20 56 65 72 73 69 6f 6e 3a 20 4d 50 4c | SE.BLOCK.*****....-.Version:.MPL |
16ede0 | 20 31 2e 31 2f 47 50 4c 20 32 2e 30 2f 4c 47 50 4c 20 32 2e 31 0a 20 20 20 2d 0a 20 20 20 2d 20 | .1.1/GPL.2.0/LGPL.2.1....-....-. |
16ee00 | 54 68 65 20 63 6f 6e 74 65 6e 74 73 20 6f 66 20 74 68 69 73 20 66 69 6c 65 20 61 72 65 20 73 75 | The.contents.of.this.file.are.su |
16ee20 | 62 6a 65 63 74 20 74 6f 20 74 68 65 20 4d 6f 7a 69 6c 6c 61 20 50 75 62 6c 69 63 20 4c 69 63 65 | bject.to.the.Mozilla.Public.Lice |
16ee40 | 6e 73 65 20 56 65 72 73 69 6f 6e 0a 20 20 20 2d 20 31 2e 31 20 28 74 68 65 20 22 4c 69 63 65 6e | nse.Version....-.1.1.(the."Licen |
16ee60 | 73 65 22 29 3b 20 79 6f 75 20 6d 61 79 20 6e 6f 74 20 75 73 65 20 74 68 69 73 20 66 69 6c 65 20 | se");.you.may.not.use.this.file. |
16ee80 | 65 78 63 65 70 74 20 69 6e 20 63 6f 6d 70 6c 69 61 6e 63 65 20 77 69 74 68 0a 20 20 20 2d 20 74 | except.in.compliance.with....-.t |
16eea0 | 68 65 20 4c 69 63 65 6e 73 65 2e 20 59 6f 75 20 6d 61 79 20 6f 62 74 61 69 6e 20 61 20 63 6f 70 | he.License..You.may.obtain.a.cop |
16eec0 | 79 20 6f 66 20 74 68 65 20 4c 69 63 65 6e 73 65 20 61 74 0a 20 20 20 2d 20 68 74 74 70 3a 2f 2f | y.of.the.License.at....-.http:// |
16eee0 | 77 77 77 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 4d 50 4c 2f 0a 20 20 20 2d 0a 20 20 20 2d 20 53 | www.mozilla.org/MPL/....-....-.S |
16ef00 | 6f 66 74 77 61 72 65 20 64 69 73 74 72 69 62 75 74 65 64 20 75 6e 64 65 72 20 74 68 65 20 4c 69 | oftware.distributed.under.the.Li |
16ef20 | 63 65 6e 73 65 20 69 73 20 64 69 73 74 72 69 62 75 74 65 64 20 6f 6e 20 61 6e 20 22 41 53 20 49 | cense.is.distributed.on.an."AS.I |
16ef40 | 53 22 20 62 61 73 69 73 2c 0a 20 20 20 2d 20 57 49 54 48 4f 55 54 20 57 41 52 52 41 4e 54 59 20 | S".basis,....-.WITHOUT.WARRANTY. |
16ef60 | 4f 46 20 41 4e 59 20 4b 49 4e 44 2c 20 65 69 74 68 65 72 20 65 78 70 72 65 73 73 20 6f 72 20 69 | OF.ANY.KIND,.either.express.or.i |
16ef80 | 6d 70 6c 69 65 64 2e 20 53 65 65 20 74 68 65 20 4c 69 63 65 6e 73 65 0a 20 20 20 2d 20 66 6f 72 | mplied..See.the.License....-.for |
16efa0 | 20 74 68 65 20 73 70 65 63 69 66 69 63 20 6c 61 6e 67 75 61 67 65 20 67 6f 76 65 72 6e 69 6e 67 | .the.specific.language.governing |
16efc0 | 20 72 69 67 68 74 73 20 61 6e 64 20 6c 69 6d 69 74 61 74 69 6f 6e 73 20 75 6e 64 65 72 20 74 68 | .rights.and.limitations.under.th |
16efe0 | 65 0a 20 20 20 2d 20 4c 69 63 65 6e 73 65 2e 0a 20 20 20 2d 0a 20 20 20 2d 20 54 68 65 20 4f 72 | e....-.License.....-....-.The.Or |
16f000 | 69 67 69 6e 61 6c 20 43 6f 64 65 20 69 73 20 74 68 65 20 50 6c 61 63 65 73 20 42 6f 6f 6b 6d 61 | iginal.Code.is.the.Places.Bookma |
16f020 | 72 6b 20 50 72 6f 70 65 72 74 69 65 73 20 64 69 61 6c 6f 67 2e 0a 20 20 20 2d 0a 20 20 20 2d 20 | rk.Properties.dialog.....-....-. |
16f040 | 54 68 65 20 49 6e 69 74 69 61 6c 20 44 65 76 65 6c 6f 70 65 72 20 6f 66 20 74 68 65 20 4f 72 69 | The.Initial.Developer.of.the.Ori |
16f060 | 67 69 6e 61 6c 20 43 6f 64 65 20 69 73 20 47 6f 6f 67 6c 65 20 49 6e 63 2e 0a 20 20 20 2d 20 50 | ginal.Code.is.Google.Inc.....-.P |
16f080 | 6f 72 74 69 6f 6e 73 20 63 72 65 61 74 65 64 20 62 79 20 74 68 65 20 49 6e 69 74 69 61 6c 20 44 | ortions.created.by.the.Initial.D |
16f0a0 | 65 76 65 6c 6f 70 65 72 20 61 72 65 20 43 6f 70 79 72 69 67 68 74 20 28 43 29 20 32 30 30 36 0a | eveloper.are.Copyright.(C).2006. |
16f0c0 | 20 20 20 2d 20 74 68 65 20 49 6e 69 74 69 61 6c 20 44 65 76 65 6c 6f 70 65 72 2e 20 41 6c 6c 20 | ...-.the.Initial.Developer..All. |
16f0e0 | 52 69 67 68 74 73 20 52 65 73 65 72 76 65 64 2e 0a 20 20 20 2d 0a 20 20 20 2d 20 43 6f 6e 74 72 | Rights.Reserved.....-....-.Contr |
16f100 | 69 62 75 74 6f 72 28 73 29 3a 0a 20 20 20 2d 20 20 20 4a 6f 65 20 48 75 67 68 65 73 20 3c 6a 68 | ibutor(s):....-...Joe.Hughes.<jh |
16f120 | 75 67 68 65 73 40 67 6f 6f 67 6c 65 2e 63 6f 6d 3e 0a 20 20 20 2d 20 20 20 41 73 61 66 20 52 6f | ughes@google.com>....-...Asaf.Ro |
16f140 | 6d 61 6e 6f 20 3c 6d 61 6e 6f 40 6d 6f 7a 69 6c 6c 61 2e 63 6f 6d 3e 0a 20 20 20 2d 20 20 20 45 | mano.<mano@mozilla.com>....-...E |
16f160 | 68 73 61 6e 20 41 6b 68 67 61 72 69 20 3c 65 68 73 61 6e 2e 61 6b 68 67 61 72 69 40 67 6d 61 69 | hsan.Akhgari.<ehsan.akhgari@gmai |
16f180 | 6c 2e 63 6f 6d 3e 0a 20 20 20 2d 20 20 20 4d 61 72 63 6f 20 42 6f 6e 61 72 64 6f 20 3c 6d 61 6b | l.com>....-...Marco.Bonardo.<mak |
16f1a0 | 37 37 40 62 6f 6e 61 72 64 6f 2e 6e 65 74 3e 0a 20 20 20 2d 0a 20 20 20 2d 20 41 6c 74 65 72 6e | 77@bonardo.net>....-....-.Altern |
16f1c0 | 61 74 69 76 65 6c 79 2c 20 74 68 65 20 63 6f 6e 74 65 6e 74 73 20 6f 66 20 74 68 69 73 20 66 69 | atively,.the.contents.of.this.fi |
16f1e0 | 6c 65 20 6d 61 79 20 62 65 20 75 73 65 64 20 75 6e 64 65 72 20 74 68 65 20 74 65 72 6d 73 20 6f | le.may.be.used.under.the.terms.o |
16f200 | 66 0a 20 20 20 2d 20 65 69 74 68 65 72 20 74 68 65 20 47 4e 55 20 47 65 6e 65 72 61 6c 20 50 75 | f....-.either.the.GNU.General.Pu |
16f220 | 62 6c 69 63 20 4c 69 63 65 6e 73 65 20 56 65 72 73 69 6f 6e 20 32 20 6f 72 20 6c 61 74 65 72 20 | blic.License.Version.2.or.later. |
16f240 | 28 74 68 65 20 22 47 50 4c 22 29 2c 20 6f 72 0a 20 20 20 2d 20 74 68 65 20 47 4e 55 20 4c 65 73 | (the."GPL"),.or....-.the.GNU.Les |
16f260 | 73 65 72 20 47 65 6e 65 72 61 6c 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 20 56 65 72 73 69 | ser.General.Public.License.Versi |
16f280 | 6f 6e 20 32 2e 31 20 6f 72 20 6c 61 74 65 72 20 28 74 68 65 20 22 4c 47 50 4c 22 29 2c 0a 20 20 | on.2.1.or.later.(the."LGPL"),... |
16f2a0 | 20 2d 20 69 6e 20 77 68 69 63 68 20 63 61 73 65 20 74 68 65 20 70 72 6f 76 69 73 69 6f 6e 73 20 | .-.in.which.case.the.provisions. |
16f2c0 | 6f 66 20 74 68 65 20 47 50 4c 20 6f 72 20 74 68 65 20 4c 47 50 4c 20 61 72 65 20 61 70 70 6c 69 | of.the.GPL.or.the.LGPL.are.appli |
16f2e0 | 63 61 62 6c 65 20 69 6e 73 74 65 61 64 0a 20 20 20 2d 20 6f 66 20 74 68 6f 73 65 20 61 62 6f 76 | cable.instead....-.of.those.abov |
16f300 | 65 2e 20 49 66 20 79 6f 75 20 77 69 73 68 20 74 6f 20 61 6c 6c 6f 77 20 75 73 65 20 6f 66 20 79 | e..If.you.wish.to.allow.use.of.y |
16f320 | 6f 75 72 20 76 65 72 73 69 6f 6e 20 6f 66 20 74 68 69 73 20 66 69 6c 65 20 6f 6e 6c 79 0a 20 20 | our.version.of.this.file.only... |
16f340 | 20 2d 20 75 6e 64 65 72 20 74 68 65 20 74 65 72 6d 73 20 6f 66 20 65 69 74 68 65 72 20 74 68 65 | .-.under.the.terms.of.either.the |
16f360 | 20 47 50 4c 20 6f 72 20 74 68 65 20 4c 47 50 4c 2c 20 61 6e 64 20 6e 6f 74 20 74 6f 20 61 6c 6c | .GPL.or.the.LGPL,.and.not.to.all |
16f380 | 6f 77 20 6f 74 68 65 72 73 20 74 6f 0a 20 20 20 2d 20 75 73 65 20 79 6f 75 72 20 76 65 72 73 69 | ow.others.to....-.use.your.versi |
16f3a0 | 6f 6e 20 6f 66 20 74 68 69 73 20 66 69 6c 65 20 75 6e 64 65 72 20 74 68 65 20 74 65 72 6d 73 20 | on.of.this.file.under.the.terms. |
16f3c0 | 6f 66 20 74 68 65 20 4d 50 4c 2c 20 69 6e 64 69 63 61 74 65 20 79 6f 75 72 0a 20 20 20 2d 20 64 | of.the.MPL,.indicate.your....-.d |
16f3e0 | 65 63 69 73 69 6f 6e 20 62 79 20 64 65 6c 65 74 69 6e 67 20 74 68 65 20 70 72 6f 76 69 73 69 6f | ecision.by.deleting.the.provisio |
16f400 | 6e 73 20 61 62 6f 76 65 20 61 6e 64 20 72 65 70 6c 61 63 65 20 74 68 65 6d 20 77 69 74 68 20 74 | ns.above.and.replace.them.with.t |
16f420 | 68 65 20 6e 6f 74 69 63 65 0a 20 20 20 2d 20 61 6e 64 20 6f 74 68 65 72 20 70 72 6f 76 69 73 69 | he.notice....-.and.other.provisi |
16f440 | 6f 6e 73 20 72 65 71 75 69 72 65 64 20 62 79 20 74 68 65 20 47 50 4c 20 6f 72 20 74 68 65 20 4c | ons.required.by.the.GPL.or.the.L |
16f460 | 47 50 4c 2e 20 49 66 20 79 6f 75 20 64 6f 20 6e 6f 74 20 64 65 6c 65 74 65 0a 20 20 20 2d 20 74 | GPL..If.you.do.not.delete....-.t |
16f480 | 68 65 20 70 72 6f 76 69 73 69 6f 6e 73 20 61 62 6f 76 65 2c 20 61 20 72 65 63 69 70 69 65 6e 74 | he.provisions.above,.a.recipient |
16f4a0 | 20 6d 61 79 20 75 73 65 20 79 6f 75 72 20 76 65 72 73 69 6f 6e 20 6f 66 20 74 68 69 73 20 66 69 | .may.use.your.version.of.this.fi |
16f4c0 | 6c 65 20 75 6e 64 65 72 0a 20 20 20 2d 20 74 68 65 20 74 65 72 6d 73 20 6f 66 20 61 6e 79 20 6f | le.under....-.the.terms.of.any.o |
16f4e0 | 6e 65 20 6f 66 20 74 68 65 20 4d 50 4c 2c 20 74 68 65 20 47 50 4c 20 6f 72 20 74 68 65 20 4c 47 | ne.of.the.MPL,.the.GPL.or.the.LG |
16f500 | 50 4c 2e 0a 20 20 20 2d 0a 20 20 20 2d 20 2a 2a 2a 2a 2a 20 45 4e 44 20 4c 49 43 45 4e 53 45 20 | PL.....-....-.*****.END.LICENSE. |
16f520 | 42 4c 4f 43 4b 20 2a 2a 2a 2a 2a 20 2d 2d 3e 0a 0a 3c 3f 78 6d 6c 2d 73 74 79 6c 65 73 68 65 65 | BLOCK.*****.-->..<?xml-styleshee |
16f540 | 74 20 68 72 65 66 3d 22 63 68 72 6f 6d 65 3a 2f 2f 67 6c 6f 62 61 6c 2f 73 6b 69 6e 2f 22 3f 3e | t.href="chrome://global/skin/"?> |
16f560 | 0a 3c 3f 78 6d 6c 2d 73 74 79 6c 65 73 68 65 65 74 20 68 72 65 66 3d 22 63 68 72 6f 6d 65 3a 2f | .<?xml-stylesheet.href="chrome:/ |
16f580 | 2f 62 72 6f 77 73 65 72 2f 73 6b 69 6e 2f 70 6c 61 63 65 73 2f 65 64 69 74 42 6f 6f 6b 6d 61 72 | /browser/skin/places/editBookmar |
16f5a0 | 6b 4f 76 65 72 6c 61 79 2e 63 73 73 22 3f 3e 0a 3c 3f 78 6d 6c 2d 73 74 79 6c 65 73 68 65 65 74 | kOverlay.css"?>.<?xml-stylesheet |
16f5c0 | 20 68 72 65 66 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 73 6b 69 6e 2f 70 6c 61 | .href="chrome://browser/skin/pla |
16f5e0 | 63 65 73 2f 70 6c 61 63 65 73 2e 63 73 73 22 3f 3e 0a 3c 3f 78 6d 6c 2d 73 74 79 6c 65 73 68 65 | ces/places.css"?>.<?xml-styleshe |
16f600 | 65 74 20 68 72 65 66 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e | et.href="chrome://browser/conten |
16f620 | 74 2f 70 6c 61 63 65 73 2f 70 6c 61 63 65 73 2e 63 73 73 22 3f 3e 0a 0a 3c 3f 78 75 6c 2d 6f 76 | t/places/places.css"?>..<?xul-ov |
16f640 | 65 72 6c 61 79 20 68 72 65 66 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e | erlay.href="chrome://browser/con |
16f660 | 74 65 6e 74 2f 70 6c 61 63 65 73 2f 70 6c 61 63 65 73 4f 76 65 72 6c 61 79 2e 78 75 6c 22 3f 3e | tent/places/placesOverlay.xul"?> |
16f680 | 0a 3c 3f 78 75 6c 2d 6f 76 65 72 6c 61 79 20 68 72 65 66 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 | .<?xul-overlay.href="chrome://br |
16f6a0 | 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 70 6c 61 63 65 73 2f 65 64 69 74 42 6f 6f 6b 6d 61 72 | owser/content/places/editBookmar |
16f6c0 | 6b 4f 76 65 72 6c 61 79 2e 78 75 6c 22 3f 3e 0a 0a 3c 21 44 4f 43 54 59 50 45 20 64 69 61 6c 6f | kOverlay.xul"?>..<!DOCTYPE.dialo |
16f6e0 | 67 20 5b 0a 20 20 3c 21 45 4e 54 49 54 59 20 25 20 65 64 69 74 42 6f 6f 6b 6d 61 72 6b 4f 76 65 | g.[...<!ENTITY.%.editBookmarkOve |
16f700 | 72 6c 61 79 44 54 44 20 53 59 53 54 45 4d 20 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 | rlayDTD.SYSTEM."chrome://browser |
16f720 | 2f 6c 6f 63 61 6c 65 2f 70 6c 61 63 65 73 2f 65 64 69 74 42 6f 6f 6b 6d 61 72 6b 4f 76 65 72 6c | /locale/places/editBookmarkOverl |
16f740 | 61 79 2e 64 74 64 22 3e 0a 20 20 25 65 64 69 74 42 6f 6f 6b 6d 61 72 6b 4f 76 65 72 6c 61 79 44 | ay.dtd">...%editBookmarkOverlayD |
16f760 | 54 44 3b 0a 5d 3e 0a 0a 3c 64 69 61 6c 6f 67 20 69 64 3d 22 62 6f 6f 6b 6d 61 72 6b 70 72 6f 70 | TD;.]>..<dialog.id="bookmarkprop |
16f780 | 65 72 74 69 65 73 22 0a 20 20 20 20 20 20 20 20 62 75 74 74 6f 6e 73 3d 22 61 63 63 65 70 74 2c | erties".........buttons="accept, |
16f7a0 | 20 63 61 6e 63 65 6c 22 0a 20 20 20 20 20 20 20 20 64 65 66 61 75 6c 74 42 75 74 74 6f 6e 3d 22 | .cancel".........defaultButton=" |
16f7c0 | 6e 6f 6e 65 22 0a 20 20 20 20 20 20 20 20 6f 6e 64 69 61 6c 6f 67 61 63 63 65 70 74 3d 22 42 6f | none".........ondialogaccept="Bo |
16f7e0 | 6f 6b 6d 61 72 6b 50 72 6f 70 65 72 74 69 65 73 50 61 6e 65 6c 2e 6f 6e 44 69 61 6c 6f 67 41 63 | okmarkPropertiesPanel.onDialogAc |
16f800 | 63 65 70 74 28 29 3b 22 0a 20 20 20 20 20 20 20 20 6f 6e 64 69 61 6c 6f 67 63 61 6e 63 65 6c 3d | cept();".........ondialogcancel= |
16f820 | 22 42 6f 6f 6b 6d 61 72 6b 50 72 6f 70 65 72 74 69 65 73 50 61 6e 65 6c 2e 6f 6e 44 69 61 6c 6f | "BookmarkPropertiesPanel.onDialo |
16f840 | 67 43 61 6e 63 65 6c 28 29 3b 22 0a 20 20 20 20 20 20 20 20 62 75 74 74 6f 6e 69 63 6f 6e 61 63 | gCancel();".........buttoniconac |
16f860 | 63 65 70 74 3d 22 73 61 76 65 22 0a 20 20 20 20 20 20 20 20 78 6d 6c 6e 73 3d 22 68 74 74 70 3a | cept="save".........xmlns="http: |
16f880 | 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6b 65 79 6d 61 73 74 65 72 2f 67 61 74 65 | //www.mozilla.org/keymaster/gate |
16f8a0 | 6b 65 65 70 65 72 2f 74 68 65 72 65 2e 69 73 2e 6f 6e 6c 79 2e 78 75 6c 22 0a 20 20 20 20 20 20 | keeper/there.is.only.xul"....... |
16f8c0 | 20 20 6f 6e 6c 6f 61 64 3d 22 42 6f 6f 6b 6d 61 72 6b 50 72 6f 70 65 72 74 69 65 73 50 61 6e 65 | ..onload="BookmarkPropertiesPane |
16f8e0 | 6c 2e 6f 6e 44 69 61 6c 6f 67 4c 6f 61 64 28 29 3b 22 0a 20 20 20 20 20 20 20 20 6f 6e 75 6e 6c | l.onDialogLoad();".........onunl |
16f900 | 6f 61 64 3d 22 42 6f 6f 6b 6d 61 72 6b 50 72 6f 70 65 72 74 69 65 73 50 61 6e 65 6c 2e 6f 6e 44 | oad="BookmarkPropertiesPanel.onD |
16f920 | 69 61 6c 6f 67 55 6e 6c 6f 61 64 28 29 3b 22 0a 20 20 20 20 20 20 20 20 73 74 79 6c 65 3d 22 6d | ialogUnload();".........style="m |
16f940 | 69 6e 2d 77 69 64 74 68 3a 20 33 30 65 6d 3b 22 0a 20 20 20 20 20 20 20 20 70 65 72 73 69 73 74 | in-width:.30em;".........persist |
16f960 | 3d 22 73 63 72 65 65 6e 58 20 73 63 72 65 65 6e 59 20 77 69 64 74 68 22 3e 0a 0a 20 20 3c 73 74 | ="screenX.screenY.width">....<st |
16f980 | 72 69 6e 67 62 75 6e 64 6c 65 73 65 74 20 69 64 3d 22 73 74 72 69 6e 67 62 75 6e 64 6c 65 73 65 | ringbundleset.id="stringbundlese |
16f9a0 | 74 22 3e 0a 20 20 20 20 3c 73 74 72 69 6e 67 62 75 6e 64 6c 65 20 69 64 3d 22 73 74 72 69 6e 67 | t">.....<stringbundle.id="string |
16f9c0 | 42 75 6e 64 6c 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 72 63 3d 22 63 | Bundle"...................src="c |
16f9e0 | 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 6c 6f 63 61 6c 65 2f 70 6c 61 63 65 73 2f 62 6f | hrome://browser/locale/places/bo |
16fa00 | 6f 6b 6d 61 72 6b 50 72 6f 70 65 72 74 69 65 73 2e 70 72 6f 70 65 72 74 69 65 73 22 2f 3e 0a 20 | okmarkProperties.properties"/>.. |
16fa20 | 20 3c 2f 73 74 72 69 6e 67 62 75 6e 64 6c 65 73 65 74 3e 0a 0a 20 20 3c 73 63 72 69 70 74 20 74 | .</stringbundleset>....<script.t |
16fa40 | 79 70 65 3d 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f 6a 61 76 61 73 63 72 69 70 74 22 0a 20 20 20 | ype="application/javascript".... |
16fa60 | 20 20 20 20 20 20 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e | .......src="chrome://browser/con |
16fa80 | 74 65 6e 74 2f 70 6c 61 63 65 73 2f 65 64 69 74 42 6f 6f 6b 6d 61 72 6b 4f 76 65 72 6c 61 79 2e | tent/places/editBookmarkOverlay. |
16faa0 | 6a 73 22 2f 3e 0a 20 20 3c 73 63 72 69 70 74 20 74 79 70 65 3d 22 61 70 70 6c 69 63 61 74 69 6f | js"/>...<script.type="applicatio |
16fac0 | 6e 2f 6a 61 76 61 73 63 72 69 70 74 22 0a 20 20 20 20 20 20 20 20 20 20 73 72 63 3d 22 63 68 72 | n/javascript"...........src="chr |
16fae0 | 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 70 6c 61 63 65 73 2f 62 6f 6f | ome://browser/content/places/boo |
16fb00 | 6b 6d 61 72 6b 50 72 6f 70 65 72 74 69 65 73 2e 6a 73 22 2f 3e 0a 0a 3c 76 62 6f 78 20 69 64 3d | kmarkProperties.js"/>..<vbox.id= |
16fb20 | 22 65 64 69 74 42 6f 6f 6b 6d 61 72 6b 50 61 6e 65 6c 43 6f 6e 74 65 6e 74 22 2f 3e 0a 0a 3c 2f | "editBookmarkPanelContent"/>..</ |
16fb40 | 64 69 61 6c 6f 67 3e 0a 50 4b 03 04 14 00 00 00 00 00 f5 4b 18 3b 73 6d e1 05 38 51 00 00 38 51 | dialog>.PK.........K.;sm..8Q..8Q |
16fb60 | 00 00 21 00 00 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 6c 61 63 65 73 2f 70 6c 61 | ..!...content/browser/places/pla |
16fb80 | 63 65 73 2e 78 75 6c 3c 3f 78 6d 6c 20 76 65 72 73 69 6f 6e 3d 22 31 2e 30 22 3f 3e 0a 0a 0a 3c | ces.xul<?xml.version="1.0"?>...< |
16fba0 | 3f 78 6d 6c 2d 73 74 79 6c 65 73 68 65 65 74 20 68 72 65 66 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 | ?xml-stylesheet.href="chrome://b |
16fbc0 | 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 70 6c 61 63 65 73 2f 70 6c 61 63 65 73 2e 63 73 73 | rowser/content/places/places.css |
16fbe0 | 22 3f 3e 0a 3c 3f 78 6d 6c 2d 73 74 79 6c 65 73 68 65 65 74 20 68 72 65 66 3d 22 63 68 72 6f 6d | "?>.<?xml-stylesheet.href="chrom |
16fc00 | 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 70 6c 61 63 65 73 2f 6f 72 67 61 6e | e://browser/content/places/organ |
16fc20 | 69 7a 65 72 2e 63 73 73 22 3f 3e 0a 0a 3c 3f 78 6d 6c 2d 73 74 79 6c 65 73 68 65 65 74 20 68 72 | izer.css"?>..<?xml-stylesheet.hr |
16fc40 | 65 66 3d 22 63 68 72 6f 6d 65 3a 2f 2f 67 6c 6f 62 61 6c 2f 73 6b 69 6e 2f 22 3f 3e 0a 3c 3f 78 | ef="chrome://global/skin/"?>.<?x |
16fc60 | 6d 6c 2d 73 74 79 6c 65 73 68 65 65 74 20 68 72 65 66 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f | ml-stylesheet.href="chrome://bro |
16fc80 | 77 73 65 72 2f 73 6b 69 6e 2f 70 6c 61 63 65 73 2f 70 6c 61 63 65 73 2e 63 73 73 22 3f 3e 0a 3c | wser/skin/places/places.css"?>.< |
16fca0 | 3f 78 6d 6c 2d 73 74 79 6c 65 73 68 65 65 74 20 68 72 65 66 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 | ?xml-stylesheet.href="chrome://b |
16fcc0 | 72 6f 77 73 65 72 2f 73 6b 69 6e 2f 70 6c 61 63 65 73 2f 6f 72 67 61 6e 69 7a 65 72 2e 63 73 73 | rowser/skin/places/organizer.css |
16fce0 | 22 3f 3e 0a 0a 3c 3f 78 75 6c 2d 6f 76 65 72 6c 61 79 20 68 72 65 66 3d 22 63 68 72 6f 6d 65 3a | "?>..<?xul-overlay.href="chrome: |
16fd00 | 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 70 6c 61 63 65 73 2f 65 64 69 74 42 6f 6f | //browser/content/places/editBoo |
16fd20 | 6b 6d 61 72 6b 4f 76 65 72 6c 61 79 2e 78 75 6c 22 3f 3e 0a 0a 3c 3f 78 75 6c 2d 6f 76 65 72 6c | kmarkOverlay.xul"?>..<?xul-overl |
16fd40 | 61 79 20 68 72 65 66 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e | ay.href="chrome://browser/conten |
16fd60 | 74 2f 62 61 73 65 4d 65 6e 75 4f 76 65 72 6c 61 79 2e 78 75 6c 22 3f 3e 0a 3c 3f 78 75 6c 2d 6f | t/baseMenuOverlay.xul"?>.<?xul-o |
16fd80 | 76 65 72 6c 61 79 20 68 72 65 66 3d 22 63 68 72 6f 6d 65 3a 2f 2f 67 6c 6f 62 61 6c 2f 63 6f 6e | verlay.href="chrome://global/con |
16fda0 | 74 65 6e 74 2f 65 64 69 74 4d 65 6e 75 4f 76 65 72 6c 61 79 2e 78 75 6c 22 3f 3e 0a 3c 3f 78 75 | tent/editMenuOverlay.xul"?>.<?xu |
16fdc0 | 6c 2d 6f 76 65 72 6c 61 79 20 68 72 65 66 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 | l-overlay.href="chrome://browser |
16fde0 | 2f 63 6f 6e 74 65 6e 74 2f 70 6c 61 63 65 73 2f 70 6c 61 63 65 73 4f 76 65 72 6c 61 79 2e 78 75 | /content/places/placesOverlay.xu |
16fe00 | 6c 22 3f 3e 0a 0a 3c 21 44 4f 43 54 59 50 45 20 77 69 6e 64 6f 77 20 5b 0a 3c 21 45 4e 54 49 54 | l"?>..<!DOCTYPE.window.[.<!ENTIT |
16fe20 | 59 20 25 20 70 6c 61 63 65 73 44 54 44 20 53 59 53 54 45 4d 20 22 63 68 72 6f 6d 65 3a 2f 2f 62 | Y.%.placesDTD.SYSTEM."chrome://b |
16fe40 | 72 6f 77 73 65 72 2f 6c 6f 63 61 6c 65 2f 70 6c 61 63 65 73 2f 70 6c 61 63 65 73 2e 64 74 64 22 | rowser/locale/places/places.dtd" |
16fe60 | 3e 0a 25 70 6c 61 63 65 73 44 54 44 3b 0a 3c 21 45 4e 54 49 54 59 20 25 20 65 64 69 74 4d 65 6e | >.%placesDTD;.<!ENTITY.%.editMen |
16fe80 | 75 4f 76 65 72 6c 61 79 44 54 44 20 53 59 53 54 45 4d 20 22 63 68 72 6f 6d 65 3a 2f 2f 67 6c 6f | uOverlayDTD.SYSTEM."chrome://glo |
16fea0 | 62 61 6c 2f 6c 6f 63 61 6c 65 2f 65 64 69 74 4d 65 6e 75 4f 76 65 72 6c 61 79 2e 64 74 64 22 3e | bal/locale/editMenuOverlay.dtd"> |
16fec0 | 0a 25 65 64 69 74 4d 65 6e 75 4f 76 65 72 6c 61 79 44 54 44 3b 0a 3c 21 45 4e 54 49 54 59 20 25 | .%editMenuOverlayDTD;.<!ENTITY.% |
16fee0 | 20 67 6c 6f 62 61 6c 44 54 44 20 53 59 53 54 45 4d 20 22 63 68 72 6f 6d 65 3a 2f 2f 67 6c 6f 62 | .globalDTD.SYSTEM."chrome://glob |
16ff00 | 61 6c 2f 6c 6f 63 61 6c 65 2f 67 6c 6f 62 61 6c 2e 64 74 64 22 3e 0a 25 67 6c 6f 62 61 6c 44 54 | al/locale/global.dtd">.%globalDT |
16ff20 | 44 3b 0a 3c 21 45 4e 54 49 54 59 20 25 20 62 72 6f 77 73 65 72 44 54 44 20 53 59 53 54 45 4d 20 | D;.<!ENTITY.%.browserDTD.SYSTEM. |
16ff40 | 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 6c 6f 63 61 6c 65 2f 62 72 6f 77 73 65 72 | "chrome://browser/locale/browser |
16ff60 | 2e 64 74 64 22 3e 0a 25 62 72 6f 77 73 65 72 44 54 44 3b 0a 5d 3e 0a 0a 3c 77 69 6e 64 6f 77 20 | .dtd">.%browserDTD;.]>..<window. |
16ff80 | 69 64 3d 22 70 6c 61 63 65 73 22 0a 20 20 20 20 20 20 20 20 74 69 74 6c 65 3d 22 26 70 6c 61 63 | id="places".........title="&plac |
16ffa0 | 65 73 2e 6c 69 62 72 61 72 79 2e 74 69 74 6c 65 3b 22 20 0a 20 20 20 20 20 20 20 20 77 69 6e 64 | es.library.title;"..........wind |
16ffc0 | 6f 77 74 79 70 65 3d 22 50 6c 61 63 65 73 3a 4f 72 67 61 6e 69 7a 65 72 22 20 0a 20 20 20 20 20 | owtype="Places:Organizer"....... |
16ffe0 | 20 20 20 78 6d 6c 6e 73 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 | ...xmlns="http://www.mozilla.org |
170000 | 2f 6b 65 79 6d 61 73 74 65 72 2f 67 61 74 65 6b 65 65 70 65 72 2f 74 68 65 72 65 2e 69 73 2e 6f | /keymaster/gatekeeper/there.is.o |
170020 | 6e 6c 79 2e 78 75 6c 22 0a 20 20 20 20 20 20 20 20 78 6d 6c 6e 73 3a 68 74 6d 6c 3d 22 68 74 74 | nly.xul".........xmlns:html="htt |
170040 | 70 3a 2f 2f 77 77 77 2e 77 33 2e 6f 72 67 2f 31 39 39 39 2f 78 68 74 6d 6c 22 0a 20 20 20 20 20 | p://www.w3.org/1999/xhtml"...... |
170060 | 20 20 20 6f 6e 6c 6f 61 64 3d 22 50 6c 61 63 65 73 4f 72 67 61 6e 69 7a 65 72 2e 69 6e 69 74 28 | ...onload="PlacesOrganizer.init( |
170080 | 29 3b 22 0a 20 20 20 20 20 20 20 20 6f 6e 75 6e 6c 6f 61 64 3d 22 50 6c 61 63 65 73 4f 72 67 61 | );".........onunload="PlacesOrga |
1700a0 | 6e 69 7a 65 72 2e 64 65 73 74 72 6f 79 28 29 3b 22 0a 20 20 20 20 20 20 20 20 77 69 64 74 68 3d | nizer.destroy();".........width= |
1700c0 | 22 26 70 6c 61 63 65 73 2e 6c 69 62 72 61 72 79 2e 77 69 64 74 68 3b 22 20 68 65 69 67 68 74 3d | "&places.library.width;".height= |
1700e0 | 22 26 70 6c 61 63 65 73 2e 6c 69 62 72 61 72 79 2e 68 65 69 67 68 74 3b 22 0a 20 20 20 20 20 20 | "&places.library.height;"....... |
170100 | 20 20 73 63 72 65 65 6e 58 3d 22 31 30 22 20 73 63 72 65 65 6e 59 3d 22 31 30 22 0a 20 20 20 20 | ..screenX="10".screenY="10"..... |
170120 | 20 20 20 20 70 65 72 73 69 73 74 3d 22 77 69 64 74 68 20 68 65 69 67 68 74 20 73 63 72 65 65 6e | ....persist="width.height.screen |
170140 | 58 20 73 63 72 65 65 6e 59 20 73 69 7a 65 6d 6f 64 65 22 3e 0a 0a 20 20 3c 73 63 72 69 70 74 20 | X.screenY.sizemode">....<script. |
170160 | 74 79 70 65 3d 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f 78 2d 6a 61 76 61 73 63 72 69 70 74 22 0a | type="application/x-javascript". |
170180 | 20 20 20 20 20 20 20 20 20 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f | ..........src="chrome://browser/ |
1701a0 | 63 6f 6e 74 65 6e 74 2f 70 6c 61 63 65 73 2f 70 6c 61 63 65 73 2e 6a 73 22 2f 3e 0a 20 20 3c 73 | content/places/places.js"/>...<s |
1701c0 | 63 72 69 70 74 20 74 79 70 65 3d 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f 6a 61 76 61 73 63 72 69 | cript.type="application/javascri |
1701e0 | 70 74 22 0a 20 20 20 20 20 20 20 20 20 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 | pt"...........src="chrome://brow |
170200 | 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 75 74 69 6c 69 74 79 4f 76 65 72 6c 61 79 2e 6a 73 22 2f 3e | ser/content/utilityOverlay.js"/> |
170220 | 0a 20 20 3c 73 63 72 69 70 74 20 74 79 70 65 3d 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f 6a 61 76 | ...<script.type="application/jav |
170240 | 61 73 63 72 69 70 74 22 0a 20 20 20 20 20 20 20 20 20 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f | ascript"...........src="chrome:/ |
170260 | 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 70 6c 61 63 65 73 2f 65 64 69 74 42 6f 6f 6b | /browser/content/places/editBook |
170280 | 6d 61 72 6b 4f 76 65 72 6c 61 79 2e 6a 73 22 2f 3e 0a 0a 20 20 3c 73 74 72 69 6e 67 62 75 6e 64 | markOverlay.js"/>....<stringbund |
1702a0 | 6c 65 73 65 74 20 69 64 3d 22 70 6c 61 63 65 73 53 74 72 69 6e 67 53 65 74 22 3e 0a 20 20 20 20 | leset.id="placesStringSet">..... |
1702c0 | 3c 73 74 72 69 6e 67 62 75 6e 64 6c 65 20 69 64 3d 22 62 72 61 6e 64 53 74 72 69 6e 67 73 22 20 | <stringbundle.id="brandStrings". |
1702e0 | 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 61 6e 64 69 6e 67 2f 6c 6f 63 61 6c 65 2f 62 72 | src="chrome://branding/locale/br |
170300 | 61 6e 64 2e 70 72 6f 70 65 72 74 69 65 73 22 2f 3e 0a 20 20 3c 2f 73 74 72 69 6e 67 62 75 6e 64 | and.properties"/>...</stringbund |
170320 | 6c 65 73 65 74 3e 0a 0a 0a 20 20 3c 63 6f 6d 6d 61 6e 64 73 65 74 20 69 64 3d 22 65 64 69 74 4d | leset>.....<commandset.id="editM |
170340 | 65 6e 75 43 6f 6d 6d 61 6e 64 73 22 2f 3e 0a 20 20 3c 63 6f 6d 6d 61 6e 64 73 65 74 20 69 64 3d | enuCommands"/>...<commandset.id= |
170360 | 22 70 6c 61 63 65 73 43 6f 6d 6d 61 6e 64 73 22 2f 3e 0a 0a 20 20 3c 63 6f 6d 6d 61 6e 64 73 65 | "placesCommands"/>....<commandse |
170380 | 74 20 69 64 3d 22 6f 72 67 61 6e 69 7a 65 72 43 6f 6d 6d 61 6e 64 53 65 74 22 3e 0a 20 20 20 20 | t.id="organizerCommandSet">..... |
1703a0 | 3c 63 6f 6d 6d 61 6e 64 20 69 64 3d 22 4f 72 67 61 6e 69 7a 65 72 43 6f 6d 6d 61 6e 64 5f 66 69 | <command.id="OrganizerCommand_fi |
1703c0 | 6e 64 3a 61 6c 6c 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 63 6d 64 | nd:all"..............label="&cmd |
1703e0 | 2e 66 69 6e 64 49 6e 42 6f 6f 6b 6d 61 72 6b 73 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 | .findInBookmarks.label;"........ |
170400 | 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 63 6d 64 2e 66 69 6e 64 49 6e 42 6f 6f 6b | ......accesskey="&cmd.findInBook |
170420 | 6d 61 72 6b 73 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 6f | marks.accesskey;"..............o |
170440 | 6e 63 6f 6d 6d 61 6e 64 3d 22 50 6c 61 63 65 73 53 65 61 72 63 68 42 6f 78 2e 66 69 6e 64 41 6c | ncommand="PlacesSearchBox.findAl |
170460 | 6c 28 29 3b 22 2f 3e 0a 20 20 20 20 3c 63 6f 6d 6d 61 6e 64 20 69 64 3d 22 4f 72 67 61 6e 69 7a | l();"/>.....<command.id="Organiz |
170480 | 65 72 43 6f 6d 6d 61 6e 64 5f 66 69 6e 64 3a 63 75 72 72 65 6e 74 22 0a 20 20 20 20 20 20 20 20 | erCommand_find:current"......... |
1704a0 | 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 63 6d 64 2e 66 69 6e 64 43 75 72 72 65 6e 74 2e 6c 61 62 | .....label="&cmd.findCurrent.lab |
1704c0 | 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 63 6d | el;"..............accesskey="&cm |
1704e0 | 64 2e 66 69 6e 64 43 75 72 72 65 6e 74 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 | d.findCurrent.accesskey;"....... |
170500 | 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 50 6c 61 63 65 73 53 65 61 72 63 68 42 6f | .......oncommand="PlacesSearchBo |
170520 | 78 2e 66 69 6e 64 43 75 72 72 65 6e 74 28 29 3b 22 2f 3e 0a 20 20 20 20 3c 63 6f 6d 6d 61 6e 64 | x.findCurrent();"/>.....<command |
170540 | 20 69 64 3d 22 4f 72 67 61 6e 69 7a 65 72 43 6f 6d 6d 61 6e 64 5f 65 78 70 6f 72 74 22 0a 20 20 | .id="OrganizerCommand_export"... |
170560 | 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 50 6c 61 63 65 73 4f 72 67 61 | ...........oncommand="PlacesOrga |
170580 | 6e 69 7a 65 72 2e 65 78 70 6f 72 74 42 6f 6f 6b 6d 61 72 6b 73 28 29 3b 22 2f 3e 0a 20 20 20 20 | nizer.exportBookmarks();"/>..... |
1705a0 | 3c 63 6f 6d 6d 61 6e 64 20 69 64 3d 22 4f 72 67 61 6e 69 7a 65 72 43 6f 6d 6d 61 6e 64 5f 69 6d | <command.id="OrganizerCommand_im |
1705c0 | 70 6f 72 74 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 50 6c | port"..............oncommand="Pl |
1705e0 | 61 63 65 73 4f 72 67 61 6e 69 7a 65 72 2e 69 6d 70 6f 72 74 42 6f 6f 6b 6d 61 72 6b 73 28 29 3b | acesOrganizer.importBookmarks(); |
170600 | 22 2f 3e 0a 20 20 20 20 3c 63 6f 6d 6d 61 6e 64 20 69 64 3d 22 4f 72 67 61 6e 69 7a 65 72 43 6f | "/>.....<command.id="OrganizerCo |
170620 | 6d 6d 61 6e 64 5f 62 61 63 6b 75 70 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d | mmand_backup"..............oncom |
170640 | 6d 61 6e 64 3d 22 50 6c 61 63 65 73 4f 72 67 61 6e 69 7a 65 72 2e 62 61 63 6b 75 70 42 6f 6f 6b | mand="PlacesOrganizer.backupBook |
170660 | 6d 61 72 6b 73 28 29 3b 22 2f 3e 0a 20 20 20 20 3c 63 6f 6d 6d 61 6e 64 20 69 64 3d 22 4f 72 67 | marks();"/>.....<command.id="Org |
170680 | 61 6e 69 7a 65 72 43 6f 6d 6d 61 6e 64 5f 72 65 73 74 6f 72 65 46 72 6f 6d 46 69 6c 65 22 0a 20 | anizerCommand_restoreFromFile".. |
1706a0 | 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 50 6c 61 63 65 73 4f 72 67 | ............oncommand="PlacesOrg |
1706c0 | 61 6e 69 7a 65 72 2e 6f 6e 52 65 73 74 6f 72 65 42 6f 6f 6b 6d 61 72 6b 73 46 72 6f 6d 46 69 6c | anizer.onRestoreBookmarksFromFil |
1706e0 | 65 28 29 3b 22 2f 3e 0a 20 20 20 20 3c 63 6f 6d 6d 61 6e 64 20 69 64 3d 22 4f 72 67 61 6e 69 7a | e();"/>.....<command.id="Organiz |
170700 | 65 72 43 6f 6d 6d 61 6e 64 5f 73 65 61 72 63 68 3a 73 61 76 65 22 0a 20 20 20 20 20 20 20 20 20 | erCommand_search:save".......... |
170720 | 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 50 6c 61 63 65 73 4f 72 67 61 6e 69 7a 65 72 2e 73 | ....oncommand="PlacesOrganizer.s |
170740 | 61 76 65 53 65 61 72 63 68 28 29 3b 22 2f 3e 0a 20 20 20 20 3c 63 6f 6d 6d 61 6e 64 20 69 64 3d | aveSearch();"/>.....<command.id= |
170760 | 22 4f 72 67 61 6e 69 7a 65 72 43 6f 6d 6d 61 6e 64 5f 73 65 61 72 63 68 3a 6d 6f 72 65 43 72 69 | "OrganizerCommand_search:moreCri |
170780 | 74 65 72 69 61 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 50 | teria"..............oncommand="P |
1707a0 | 6c 61 63 65 73 51 75 65 72 79 42 75 69 6c 64 65 72 2e 61 64 64 52 6f 77 28 29 3b 22 2f 3e 0a 20 | lacesQueryBuilder.addRow();"/>.. |
1707c0 | 20 20 20 3c 63 6f 6d 6d 61 6e 64 20 69 64 3d 22 4f 72 67 61 6e 69 7a 65 72 43 6f 6d 6d 61 6e 64 | ...<command.id="OrganizerCommand |
1707e0 | 3a 42 61 63 6b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 50 | :Back"..............oncommand="P |
170800 | 6c 61 63 65 73 4f 72 67 61 6e 69 7a 65 72 2e 62 61 63 6b 28 29 3b 22 2f 3e 0a 20 20 20 20 3c 63 | lacesOrganizer.back();"/>.....<c |
170820 | 6f 6d 6d 61 6e 64 20 69 64 3d 22 4f 72 67 61 6e 69 7a 65 72 43 6f 6d 6d 61 6e 64 3a 46 6f 72 77 | ommand.id="OrganizerCommand:Forw |
170840 | 61 72 64 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 50 6c 61 | ard"..............oncommand="Pla |
170860 | 63 65 73 4f 72 67 61 6e 69 7a 65 72 2e 66 6f 72 77 61 72 64 28 29 3b 22 2f 3e 0a 20 20 3c 2f 63 | cesOrganizer.forward();"/>...</c |
170880 | 6f 6d 6d 61 6e 64 73 65 74 3e 0a 0a 0a 20 20 3c 6b 65 79 73 65 74 20 69 64 3d 22 70 6c 61 63 65 | ommandset>.....<keyset.id="place |
1708a0 | 73 4f 72 67 61 6e 69 7a 65 72 4b 65 79 73 65 74 22 3e 0a 20 20 20 20 3c 21 2d 2d 20 49 6e 73 74 | sOrganizerKeyset">.....<!--.Inst |
1708c0 | 61 6e 74 69 61 74 69 6f 6e 20 4b 65 79 73 20 2d 2d 3e 0a 20 20 20 20 3c 6b 65 79 20 69 64 3d 22 | antiation.Keys.-->.....<key.id=" |
1708e0 | 70 6c 61 63 65 73 4b 65 79 5f 63 6c 6f 73 65 22 20 6b 65 79 3d 22 26 63 6d 64 2e 63 6c 6f 73 65 | placesKey_close".key="&cmd.close |
170900 | 2e 6b 65 79 3b 22 20 6d 6f 64 69 66 69 65 72 73 3d 22 61 63 63 65 6c 22 20 0a 20 20 20 20 20 20 | .key;".modifiers="accel"........ |
170920 | 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 63 6c 6f 73 65 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 | ...oncommand="close();"/>....... |
170940 | 20 20 20 0a 20 20 20 20 3c 21 2d 2d 20 43 6f 6d 6d 61 6e 64 20 4b 65 79 73 20 2d 2d 3e 0a 20 20 | ........<!--.Command.Keys.-->... |
170960 | 20 20 3c 6b 65 79 20 69 64 3d 22 70 6c 61 63 65 73 4b 65 79 5f 66 69 6e 64 3a 61 6c 6c 22 0a 20 | ..<key.id="placesKey_find:all".. |
170980 | 20 20 20 20 20 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 4f 72 67 61 6e 69 7a 65 72 43 6f 6d 6d 61 6e | ........command="OrganizerComman |
1709a0 | 64 5f 66 69 6e 64 3a 61 6c 6c 22 20 0a 20 20 20 20 20 20 20 20 20 6b 65 79 3d 22 26 63 6d 64 2e | d_find:all"...........key="&cmd. |
1709c0 | 66 69 6e 64 2e 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 6d 6f 64 69 66 69 65 72 73 3d 22 61 | find.key;"..........modifiers="a |
1709e0 | 63 63 65 6c 22 2f 3e 0a 20 20 20 20 3c 6b 65 79 20 69 64 3d 22 70 6c 61 63 65 73 4b 65 79 5f 66 | ccel"/>.....<key.id="placesKey_f |
170a00 | 69 6e 64 3a 63 75 72 72 65 6e 74 22 0a 20 20 20 20 20 20 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 4f | ind:current"..........command="O |
170a20 | 72 67 61 6e 69 7a 65 72 43 6f 6d 6d 61 6e 64 5f 66 69 6e 64 3a 63 75 72 72 65 6e 74 22 20 0a 20 | rganizerCommand_find:current"... |
170a40 | 20 20 20 20 20 20 20 20 6b 65 79 3d 22 26 63 6d 64 2e 66 69 6e 64 2e 6b 65 79 3b 22 0a 20 20 20 | ........key="&cmd.find.key;".... |
170a60 | 20 20 20 20 20 20 6d 6f 64 69 66 69 65 72 73 3d 22 61 63 63 65 6c 2c 73 68 69 66 74 22 2f 3e 0a | ......modifiers="accel,shift"/>. |
170a80 | 0a 20 20 20 20 3c 21 2d 2d 20 42 61 63 6b 2f 46 6f 72 77 61 72 64 20 4b 65 79 73 20 53 75 70 70 | .....<!--.Back/Forward.Keys.Supp |
170aa0 | 6f 72 74 20 2d 2d 3e 0a 20 20 20 20 3c 6b 65 79 20 69 64 3d 22 70 6c 61 63 65 73 4b 65 79 5f 67 | ort.-->.....<key.id="placesKey_g |
170ac0 | 6f 42 61 63 6b 4b 62 22 0a 20 20 20 20 20 20 20 20 20 6b 65 79 63 6f 64 65 3d 22 56 4b 5f 4c 45 | oBackKb"..........keycode="VK_LE |
170ae0 | 46 54 22 0a 20 20 20 20 20 20 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 4f 72 67 61 6e 69 7a 65 72 43 | FT"..........command="OrganizerC |
170b00 | 6f 6d 6d 61 6e 64 3a 42 61 63 6b 22 0a 20 20 20 20 20 20 20 20 20 6d 6f 64 69 66 69 65 72 73 3d | ommand:Back"..........modifiers= |
170b20 | 22 61 6c 74 22 2f 3e 0a 20 20 20 20 3c 6b 65 79 20 69 64 3d 22 70 6c 61 63 65 73 4b 65 79 5f 67 | "alt"/>.....<key.id="placesKey_g |
170b40 | 6f 46 6f 72 77 61 72 64 4b 62 22 0a 20 20 20 20 20 20 20 20 20 6b 65 79 63 6f 64 65 3d 22 56 4b | oForwardKb"..........keycode="VK |
170b60 | 5f 52 49 47 48 54 22 0a 20 20 20 20 20 20 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 4f 72 67 61 6e 69 | _RIGHT"..........command="Organi |
170b80 | 7a 65 72 43 6f 6d 6d 61 6e 64 3a 46 6f 72 77 61 72 64 22 0a 20 20 20 20 20 20 20 20 20 6d 6f 64 | zerCommand:Forward"..........mod |
170ba0 | 69 66 69 65 72 73 3d 22 61 6c 74 22 2f 3e 0a 20 20 20 20 3c 6b 65 79 20 69 64 3d 22 70 6c 61 63 | ifiers="alt"/>.....<key.id="plac |
170bc0 | 65 73 4b 65 79 5f 67 6f 42 61 63 6b 4b 62 32 22 0a 20 20 20 20 20 20 20 20 20 6b 65 79 3d 22 26 | esKey_goBackKb2"..........key="& |
170be0 | 67 6f 42 61 63 6b 43 6d 64 2e 63 6f 6d 6d 61 6e 64 4b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 | goBackCmd.commandKey;".......... |
170c00 | 63 6f 6d 6d 61 6e 64 3d 22 4f 72 67 61 6e 69 7a 65 72 43 6f 6d 6d 61 6e 64 3a 42 61 63 6b 22 0a | command="OrganizerCommand:Back". |
170c20 | 20 20 20 20 20 20 20 20 20 6d 6f 64 69 66 69 65 72 73 3d 22 61 63 63 65 6c 22 2f 3e 0a 20 20 20 | .........modifiers="accel"/>.... |
170c40 | 20 3c 6b 65 79 20 69 64 3d 22 70 6c 61 63 65 73 4b 65 79 5f 67 6f 46 6f 72 77 61 72 64 4b 62 32 | .<key.id="placesKey_goForwardKb2 |
170c60 | 22 0a 20 20 20 20 20 20 20 20 20 6b 65 79 3d 22 26 67 6f 46 6f 72 77 61 72 64 43 6d 64 2e 63 6f | "..........key="&goForwardCmd.co |
170c80 | 6d 6d 61 6e 64 4b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 4f 72 67 | mmandKey;"..........command="Org |
170ca0 | 61 6e 69 7a 65 72 43 6f 6d 6d 61 6e 64 3a 46 6f 72 77 61 72 64 22 0a 20 20 20 20 20 20 20 20 20 | anizerCommand:Forward".......... |
170cc0 | 6d 6f 64 69 66 69 65 72 73 3d 22 61 63 63 65 6c 22 2f 3e 0a 20 20 3c 2f 6b 65 79 73 65 74 3e 0a | modifiers="accel"/>...</keyset>. |
170ce0 | 0a 20 20 3c 6b 65 79 73 65 74 20 69 64 3d 22 65 64 69 74 4d 65 6e 75 4b 65 79 73 22 3e 0a 20 20 | ...<keyset.id="editMenuKeys">... |
170d00 | 3c 2f 6b 65 79 73 65 74 3e 0a 0a 20 20 3c 70 6f 70 75 70 73 65 74 20 69 64 3d 22 70 6c 61 63 65 | </keyset>....<popupset.id="place |
170d20 | 73 50 6f 70 75 70 73 65 74 22 3e 0a 20 20 20 20 3c 70 6f 70 75 70 20 69 64 3d 22 70 6c 61 63 65 | sPopupset">.....<popup.id="place |
170d40 | 73 43 6f 6e 74 65 78 74 22 2f 3e 0a 20 20 20 20 3c 70 6f 70 75 70 20 69 64 3d 22 70 6c 61 63 65 | sContext"/>.....<popup.id="place |
170d60 | 73 43 6f 6c 75 6d 6e 73 43 6f 6e 74 65 78 74 22 0a 20 20 20 20 20 20 20 20 20 20 20 6f 6e 70 6f | sColumnsContext"............onpo |
170d80 | 70 75 70 73 68 6f 77 69 6e 67 3d 22 56 69 65 77 4d 65 6e 75 2e 66 69 6c 6c 57 69 74 68 43 6f 6c | pupshowing="ViewMenu.fillWithCol |
170da0 | 75 6d 6e 73 28 65 76 65 6e 74 2c 20 6e 75 6c 6c 2c 20 6e 75 6c 6c 2c 20 27 63 68 65 63 6b 62 6f | umns(event,.null,.null,.'checkbo |
170dc0 | 78 27 2c 20 6e 75 6c 6c 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 | x',.null);"............oncommand |
170de0 | 3d 22 56 69 65 77 4d 65 6e 75 2e 73 68 6f 77 48 69 64 65 43 6f 6c 75 6d 6e 28 65 76 65 6e 74 2e | ="ViewMenu.showHideColumn(event. |
170e00 | 74 61 72 67 65 74 29 3b 20 65 76 65 6e 74 2e 73 74 6f 70 50 72 6f 70 61 67 61 74 69 6f 6e 28 29 | target);.event.stopPropagation() |
170e20 | 3b 22 2f 3e 0a 20 20 3c 2f 70 6f 70 75 70 73 65 74 3e 0a 0a 20 20 3c 74 6f 6f 6c 62 6f 78 20 69 | ;"/>...</popupset>....<toolbox.i |
170e40 | 64 3d 22 70 6c 61 63 65 73 54 6f 6f 6c 62 6f 78 22 3e 0a 20 20 20 20 3c 74 6f 6f 6c 62 61 72 20 | d="placesToolbox">.....<toolbar. |
170e60 | 63 6c 61 73 73 3d 22 63 68 72 6f 6d 65 63 6c 61 73 73 2d 74 6f 6f 6c 62 61 72 22 20 69 64 3d 22 | class="chromeclass-toolbar".id=" |
170e80 | 70 6c 61 63 65 73 54 6f 6f 6c 62 61 72 22 20 61 6c 69 67 6e 3d 22 63 65 6e 74 65 72 22 20 63 68 | placesToolbar".align="center".ch |
170ea0 | 72 6f 6d 65 64 69 72 3d 22 26 6c 6f 63 61 6c 65 2e 64 69 72 3b 22 3e 0a 20 20 20 20 20 20 3c 74 | romedir="&locale.dir;">.......<t |
170ec0 | 6f 6f 6c 62 61 72 62 75 74 74 6f 6e 20 69 64 3d 22 62 61 63 6b 2d 62 75 74 74 6f 6e 22 20 63 6c | oolbarbutton.id="back-button".cl |
170ee0 | 61 73 73 3d 22 74 6f 6f 6c 62 61 72 62 75 74 74 6f 6e 2d 31 20 63 68 72 6f 6d 65 63 6c 61 73 73 | ass="toolbarbutton-1.chromeclass |
170f00 | 2d 74 6f 6f 6c 62 61 72 2d 61 64 64 69 74 69 6f 6e 61 6c 22 0a 20 20 20 20 20 20 20 20 20 20 20 | -toolbar-additional"............ |
170f20 | 20 20 20 20 20 20 20 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 4f 72 67 61 6e 69 7a 65 72 43 6f 6d 6d | ..........command="OrganizerComm |
170f40 | 61 6e 64 3a 42 61 63 6b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 | and:Back"......................t |
170f60 | 6f 6f 6c 74 69 70 74 65 78 74 3d 22 26 62 61 63 6b 42 75 74 74 6f 6e 2e 74 6f 6f 6c 74 69 70 3b | ooltiptext="&backButton.tooltip; |
170f80 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 | "......................accesskey |
170fa0 | 3d 22 26 62 61 63 6b 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 | ="&backCmd.accesskey;".......... |
170fc0 | 20 20 20 20 20 20 20 20 20 20 20 20 63 68 72 6f 6d 65 64 69 72 3d 22 26 6c 6f 63 61 6c 65 2e 64 | ............chromedir="&locale.d |
170fe0 | 69 72 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 69 73 61 62 6c | ir;"......................disabl |
171000 | 65 64 3d 22 74 72 75 65 22 2f 3e 0a 0a 20 20 20 20 20 20 3c 74 6f 6f 6c 62 61 72 62 75 74 74 6f | ed="true"/>........<toolbarbutto |
171020 | 6e 20 69 64 3d 22 66 6f 72 77 61 72 64 2d 62 75 74 74 6f 6e 22 20 63 6c 61 73 73 3d 22 74 6f 6f | n.id="forward-button".class="too |
171040 | 6c 62 61 72 62 75 74 74 6f 6e 2d 31 20 63 68 72 6f 6d 65 63 6c 61 73 73 2d 74 6f 6f 6c 62 61 72 | lbarbutton-1.chromeclass-toolbar |
171060 | 2d 61 64 64 69 74 69 6f 6e 61 6c 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | -additional".................... |
171080 | 20 20 63 6f 6d 6d 61 6e 64 3d 22 4f 72 67 61 6e 69 7a 65 72 43 6f 6d 6d 61 6e 64 3a 46 6f 72 77 | ..command="OrganizerCommand:Forw |
1710a0 | 61 72 64 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 6f 6f 6c 74 69 | ard"......................toolti |
1710c0 | 70 74 65 78 74 3d 22 26 66 6f 72 77 61 72 64 42 75 74 74 6f 6e 2e 74 6f 6f 6c 74 69 70 3b 22 0a | ptext="&forwardButton.tooltip;". |
1710e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 | .....................accesskey=" |
171100 | 26 66 6f 72 77 61 72 64 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 | &forwardCmd.accesskey;"......... |
171120 | 20 20 20 20 20 20 20 20 20 20 20 20 20 63 68 72 6f 6d 65 64 69 72 3d 22 26 6c 6f 63 61 6c 65 2e | .............chromedir="&locale. |
171140 | 64 69 72 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 69 73 61 62 | dir;"......................disab |
171160 | 6c 65 64 3d 22 74 72 75 65 22 2f 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 6e 75 62 61 72 20 69 64 3d | led="true"/>........<menubar.id= |
171180 | 22 70 6c 61 63 65 73 4d 65 6e 75 22 20 63 68 72 6f 6d 65 64 69 72 3d 22 26 6c 6f 63 61 6c 65 2e | "placesMenu".chromedir="&locale. |
1711a0 | 64 69 72 3b 22 3e 0a 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 20 61 63 63 65 73 73 6b 65 79 3d 22 | dir;">.........<menu.accesskey=" |
1711c0 | 26 6f 72 67 61 6e 69 7a 65 2e 61 63 63 65 73 73 6b 65 79 3b 22 20 63 6c 61 73 73 3d 22 6d 65 6e | &organize.accesskey;".class="men |
1711e0 | 75 2d 69 63 6f 6e 69 63 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 64 3d 22 6f 72 67 61 | u-iconic"...............id="orga |
171200 | 6e 69 7a 65 42 75 74 74 6f 6e 22 20 6c 61 62 65 6c 3d 22 26 6f 72 67 61 6e 69 7a 65 2e 6c 61 62 | nizeButton".label="&organize.lab |
171220 | 65 6c 3b 22 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 70 6f 70 75 70 20 69 64 3d 22 6f | el;">...........<menupopup.id="o |
171240 | 72 67 61 6e 69 7a 65 42 75 74 74 6f 6e 50 6f 70 75 70 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 | rganizeButtonPopup">............ |
171260 | 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 6e 65 77 62 6f 6f 6b 6d 61 72 6b 22 0a 20 20 20 20 | .<menuitem.id="newbookmark"..... |
171280 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 70 6c 61 63 65 | ..................command="place |
1712a0 | 73 43 6d 64 5f 6e 65 77 3a 62 6f 6f 6b 6d 61 72 6b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | sCmd_new:bookmark".............. |
1712c0 | 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 63 6d 64 2e 6e 65 77 5f 62 6f 6f 6b 6d 61 72 | .........label="&cmd.new_bookmar |
1712e0 | 6b 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | k.label;"....................... |
171300 | 61 63 63 65 73 73 6b 65 79 3d 22 26 63 6d 64 2e 6e 65 77 5f 62 6f 6f 6b 6d 61 72 6b 2e 61 63 63 | accesskey="&cmd.new_bookmark.acc |
171320 | 65 73 73 6b 65 79 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d | esskey;"/>.............<menuitem |
171340 | 20 69 64 3d 22 6e 65 77 66 6f 6c 64 65 72 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .id="newfolder"................. |
171360 | 20 20 20 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 70 6c 61 63 65 73 43 6d 64 5f 6e 65 77 3a 66 6f 6c | ......command="placesCmd_new:fol |
171380 | 64 65 72 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c | der".......................label |
1713a0 | 3d 22 26 63 6d 64 2e 6e 65 77 5f 66 6f 6c 64 65 72 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 | ="&cmd.new_folder.label;"....... |
1713c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 63 6d 64 2e | ................accesskey="&cmd. |
1713e0 | 6e 65 77 5f 66 6f 6c 64 65 72 2e 61 63 63 65 73 73 6b 65 79 3b 22 2f 3e 0a 20 20 20 20 20 20 20 | new_folder.accesskey;"/>........ |
171400 | 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 6e 65 77 73 65 70 61 72 61 74 6f 72 22 | .....<menuitem.id="newseparator" |
171420 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 | .......................command=" |
171440 | 70 6c 61 63 65 73 43 6d 64 5f 6e 65 77 3a 73 65 70 61 72 61 74 6f 72 22 0a 20 20 20 20 20 20 20 | placesCmd_new:separator"........ |
171460 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 63 6d 64 2e 6e 65 77 5f 73 | ...............label="&cmd.new_s |
171480 | 65 70 61 72 61 74 6f 72 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | eparator.label;"................ |
1714a0 | 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 63 6d 64 2e 6e 65 77 5f 73 65 70 61 72 | .......accesskey="&cmd.new_separ |
1714c0 | 61 74 6f 72 2e 61 63 63 65 73 73 6b 65 79 3b 22 2f 3e 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ator.accesskey;"/>.............. |
1714e0 | 3c 6d 65 6e 75 73 65 70 61 72 61 74 6f 72 20 69 64 3d 22 6f 72 67 43 75 74 53 65 70 61 72 61 74 | <menuseparator.id="orgCutSeparat |
171500 | 6f 72 22 2f 3e 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d | or"/>..............<menuitem.id= |
171520 | 22 6f 72 67 43 75 74 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 | "orgCut".......................c |
171540 | 6f 6d 6d 61 6e 64 3d 22 63 6d 64 5f 63 75 74 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ommand="cmd_cut"................ |
171560 | 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 63 75 74 43 6d 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 | .......label="&cutCmd.label;"... |
171580 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6b 65 79 3d 22 6b 65 79 5f 63 75 74 | ....................key="key_cut |
1715a0 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 | ".......................accesske |
1715c0 | 79 3d 22 26 63 75 74 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 | y="&cutCmd.accesskey;".......... |
1715e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 73 65 6c 65 63 74 69 6f 6e 3d 22 73 65 70 61 72 61 74 6f | .............selection="separato |
171600 | 72 7c 6c 69 6e 6b 7c 66 6f 6c 64 65 72 7c 6d 69 78 65 64 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 | r|link|folder|mixed"/>.......... |
171620 | 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 6f 72 67 43 6f 70 79 22 0a 20 20 20 20 20 20 | ...<menuitem.id="orgCopy"....... |
171640 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 63 6d 64 5f 63 6f 70 | ................command="cmd_cop |
171660 | 79 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 | y".......................label=" |
171680 | 26 63 6f 70 79 43 6d 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ©Cmd.label;"................ |
1716a0 | 20 20 20 20 20 20 20 6b 65 79 3d 22 6b 65 79 5f 63 6f 70 79 22 0a 20 20 20 20 20 20 20 20 20 20 | .......key="key_copy"........... |
1716c0 | 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 63 6f 70 79 43 6d 64 2e | ............accesskey="©Cmd. |
1716e0 | 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | accesskey;"..................... |
171700 | 20 20 73 65 6c 65 63 74 69 6f 6e 3d 22 73 65 70 61 72 61 74 6f 72 7c 6c 69 6e 6b 7c 66 6f 6c 64 | ..selection="separator|link|fold |
171720 | 65 72 7c 6d 69 78 65 64 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 | er|mixed"/>.............<menuite |
171740 | 6d 20 69 64 3d 22 6f 72 67 50 61 73 74 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | m.id="orgPaste"................. |
171760 | 20 20 20 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 63 6d 64 5f 70 61 73 74 65 22 0a 20 20 20 20 20 20 | ......command="cmd_paste"....... |
171780 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 70 61 73 74 65 43 6d 64 | ................label="&pasteCmd |
1717a0 | 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6b | .label;".......................k |
1717c0 | 65 79 3d 22 6b 65 79 5f 70 61 73 74 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ey="key_paste".................. |
1717e0 | 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 70 61 73 74 65 43 6d 64 2e 61 63 63 65 73 73 | .....accesskey="&pasteCmd.access |
171800 | 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 65 6c 65 | key;".......................sele |
171820 | 63 74 69 6f 6e 3d 22 6d 75 74 61 62 6c 65 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d | ction="mutable"/>.............<m |
171840 | 65 6e 75 69 74 65 6d 20 69 64 3d 22 6f 72 67 55 6e 64 6f 22 0a 20 20 20 20 20 20 20 20 20 20 20 | enuitem.id="orgUndo"............ |
171860 | 20 20 20 20 20 20 20 20 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 63 6d 64 5f 75 6e 64 6f 22 0a 20 20 | ...........command="cmd_undo"... |
171880 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 75 6e 64 6f | ....................label="&undo |
1718a0 | 43 6d 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | Cmd.label;"..................... |
1718c0 | 20 20 6b 65 79 3d 22 6b 65 79 5f 75 6e 64 6f 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ..key="key_undo"................ |
1718e0 | 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 75 6e 64 6f 43 6d 64 2e 61 63 63 65 73 | .......accesskey="&undoCmd.acces |
171900 | 73 6b 65 79 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 | skey;"/>.............<menuitem.i |
171920 | 64 3d 22 6f 72 67 52 65 64 6f 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | d="orgRedo"..................... |
171940 | 20 20 63 6f 6d 6d 61 6e 64 3d 22 63 6d 64 5f 72 65 64 6f 22 0a 20 20 20 20 20 20 20 20 20 20 20 | ..command="cmd_redo"............ |
171960 | 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 72 65 64 6f 43 6d 64 2e 6c 61 62 65 6c | ...........label="&redoCmd.label |
171980 | 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6b 65 79 3d 22 6b 65 | ;".......................key="ke |
1719a0 | 79 5f 72 65 64 6f 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 | y_redo".......................ac |
1719c0 | 63 65 73 73 6b 65 79 3d 22 26 72 65 64 6f 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 2f 3e 0a | cesskey="&redoCmd.accesskey;"/>. |
1719e0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 73 65 70 61 72 61 74 6f 72 20 69 64 3d 22 | .............<menuseparator.id=" |
171a00 | 73 65 6c 65 63 74 41 6c 6c 53 65 70 61 72 61 74 6f 72 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 | selectAllSeparator"/>........... |
171a20 | 20 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 6f 72 67 | ...............<menuitem.id="org |
171a40 | 53 65 6c 65 63 74 41 6c 6c 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | SelectAll"...................... |
171a60 | 20 63 6f 6d 6d 61 6e 64 3d 22 63 6d 64 5f 73 65 6c 65 63 74 41 6c 6c 22 0a 20 20 20 20 20 20 20 | .command="cmd_selectAll"........ |
171a80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 73 65 6c 65 63 74 41 6c 6c | ...............label="&selectAll |
171aa0 | 43 6d 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | Cmd.label;"..................... |
171ac0 | 20 20 6b 65 79 3d 22 6b 65 79 5f 73 65 6c 65 63 74 41 6c 6c 22 0a 20 20 20 20 20 20 20 20 20 20 | ..key="key_selectAll"........... |
171ae0 | 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 73 65 6c 65 63 74 41 6c | ............accesskey="&selectAl |
171b00 | 6c 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 2f 3e 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 | lCmd.accesskey;"/>.............. |
171b20 | 3c 6d 65 6e 75 73 65 70 61 72 61 74 6f 72 20 69 64 3d 22 6f 72 67 4d 6f 76 65 53 65 70 61 72 61 | <menuseparator.id="orgMoveSepara |
171b40 | 74 6f 72 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d | tor"/>.............<menuitem.id= |
171b60 | 22 6f 72 67 4d 6f 76 65 42 6f 6f 6b 6d 61 72 6b 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | "orgMoveBookmarks".............. |
171b80 | 20 20 20 20 20 20 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 70 6c 61 63 65 73 43 6d 64 5f 6d 6f 76 65 | .........command="placesCmd_move |
171ba0 | 42 6f 6f 6b 6d 61 72 6b 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | Bookmarks"...................... |
171bc0 | 20 6c 61 62 65 6c 3d 22 26 63 6d 64 2e 6d 6f 76 65 42 6f 6f 6b 6d 61 72 6b 73 2e 6c 61 62 65 6c | .label="&cmd.moveBookmarks.label |
171be0 | 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b | ;".......................accessk |
171c00 | 65 79 3d 22 26 63 6d 64 2e 6d 6f 76 65 42 6f 6f 6b 6d 61 72 6b 73 2e 61 63 63 65 73 73 6b 65 79 | ey="&cmd.moveBookmarks.accesskey |
171c20 | 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 6f | ;"/>.............<menuitem.id="o |
171c40 | 72 67 44 65 6c 65 74 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | rgDelete"....................... |
171c60 | 63 6f 6d 6d 61 6e 64 3d 22 63 6d 64 5f 64 65 6c 65 74 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 | command="cmd_delete"............ |
171c80 | 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 64 65 6c 65 74 65 43 6d 64 2e 6c 61 62 | ...........label="&deleteCmd.lab |
171ca0 | 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6b 65 79 3d 22 | el;".......................key=" |
171cc0 | 6b 65 79 5f 64 65 6c 65 74 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | key_delete"..................... |
171ce0 | 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 64 65 6c 65 74 65 43 6d 64 2e 61 63 63 65 73 73 6b 65 | ..accesskey="&deleteCmd.accesske |
171d00 | 79 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 73 65 70 61 72 61 74 6f 72 | y;"/>.............<menuseparator |
171d20 | 20 69 64 3d 22 6f 72 67 43 6c 6f 73 65 53 65 70 61 72 61 74 6f 72 22 2f 3e 0a 0a 20 20 20 20 20 | .id="orgCloseSeparator"/>....... |
171d40 | 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 6f 72 67 43 6c 6f 73 65 22 0a 20 | .......<menuitem.id="orgClose".. |
171d60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6b 65 79 3d 22 70 6c 61 63 65 73 | .....................key="places |
171d80 | 4b 65 79 5f 63 6c 6f 73 65 22 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | Key_close"...................... |
171da0 | 20 20 6c 61 62 65 6c 3d 22 26 66 69 6c 65 2e 63 6c 6f 73 65 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 | ..label="&file.close.label;".... |
171dc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 66 | ...................accesskey="&f |
171de0 | 69 6c 65 2e 63 6c 6f 73 65 2e 61 63 63 65 73 73 6b 65 79 3b 22 20 0a 20 20 20 20 20 20 20 20 20 | ile.close.accesskey;"........... |
171e00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 63 6c 6f 73 65 28 29 3b | .............oncommand="close(); |
171e20 | 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 2f 6d 65 6e 75 70 6f 70 75 70 3e 0a 20 20 20 20 20 | "/>...........</menupopup>...... |
171e40 | 20 20 20 3c 2f 6d 65 6e 75 3e 0a 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 20 61 63 63 65 73 73 6b | ...</menu>.........<menu.accessk |
171e60 | 65 79 3d 22 26 76 69 65 77 73 2e 61 63 63 65 73 73 6b 65 79 3b 22 20 63 6c 61 73 73 3d 22 6d 65 | ey="&views.accesskey;".class="me |
171e80 | 6e 75 2d 69 63 6f 6e 69 63 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 64 3d 22 76 69 65 | nu-iconic"...............id="vie |
171ea0 | 77 4d 65 6e 75 22 20 6c 61 62 65 6c 3d 22 26 76 69 65 77 73 2e 6c 61 62 65 6c 3b 22 3e 0a 20 20 | wMenu".label="&views.label;">... |
171ec0 | 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 70 6f 70 75 70 20 69 64 3d 22 76 69 65 77 4d 65 6e 75 50 | ........<menupopup.id="viewMenuP |
171ee0 | 6f 70 75 70 22 3e 0a 3c 21 2d 2d 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 | opup">.<!--.............<menuite |
171f00 | 6d 20 69 64 3d 22 76 69 65 77 44 65 74 61 69 6c 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | m.id="viewDetails".............. |
171f20 | 20 20 20 20 20 20 20 20 20 74 79 70 65 3d 22 72 61 64 69 6f 22 0a 20 20 20 20 20 20 20 20 20 20 | .........type="radio"........... |
171f40 | 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 76 69 65 77 2e 64 65 74 61 69 6c 73 | ............label="&view.details |
171f60 | 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 | .label;".......................a |
171f80 | 63 63 65 73 73 6b 65 79 3d 22 26 76 69 65 77 2e 64 65 74 61 69 6c 73 2e 61 63 63 65 73 73 6b 65 | ccesskey="&view.details.accesske |
171fa0 | 79 3b 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 6d 65 6e 75 69 74 65 6d 3e 0a 0a 20 20 | y;">.............</menuitem>.... |
171fc0 | 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 73 65 70 61 72 61 74 6f 72 20 69 64 3d 22 61 64 64 | ..........<menuseparator.id="add |
171fe0 | 6f 6e 73 53 65 70 61 72 61 74 6f 72 22 2f 3e 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 | onsSeparator"/>..............<me |
172000 | 6e 75 69 74 65 6d 20 69 64 3d 22 76 69 65 77 41 64 64 6f 6e 73 22 0a 20 20 20 20 20 20 20 20 20 | nuitem.id="viewAddons".......... |
172020 | 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 22 0a 20 20 20 20 20 20 20 20 | .............command=""......... |
172040 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 76 69 65 77 2e 61 64 64 6f 6e | ..............label="&view.addon |
172060 | 73 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | s.label;"....................... |
172080 | 61 63 63 65 73 73 6b 65 79 3d 22 26 76 69 65 77 2e 61 64 64 6f 6e 73 2e 6c 61 62 65 6c 3b 22 2f | accesskey="&view.addons.label;"/ |
1720a0 | 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 73 65 70 61 72 61 74 6f 72 20 69 64 3d | >.............<menuseparator.id= |
1720c0 | 22 73 6f 72 74 69 6e 67 53 65 70 61 72 61 74 6f 72 22 2f 3e 0a 2d 2d 3e 0a 0a 20 20 20 20 20 20 | "sortingSeparator"/>.-->........ |
1720e0 | 20 20 20 20 20 20 3c 6d 65 6e 75 20 69 64 3d 22 76 69 65 77 43 6f 6c 75 6d 6e 73 22 20 0a 20 20 | ......<menu.id="viewColumns".... |
172100 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 76 69 65 77 2e 63 6f 6c | ................label="&view.col |
172120 | 75 6d 6e 73 2e 6c 61 62 65 6c 3b 22 20 61 63 63 65 73 73 6b 65 79 3d 22 26 76 69 65 77 2e 63 6f | umns.label;".accesskey="&view.co |
172140 | 6c 75 6d 6e 73 2e 61 63 63 65 73 73 6b 65 79 3b 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | lumns.accesskey;">.............. |
172160 | 20 3c 6d 65 6e 75 70 6f 70 75 70 20 6f 6e 70 6f 70 75 70 73 68 6f 77 69 6e 67 3d 22 56 69 65 77 | .<menupopup.onpopupshowing="View |
172180 | 4d 65 6e 75 2e 66 69 6c 6c 57 69 74 68 43 6f 6c 75 6d 6e 73 28 65 76 65 6e 74 2c 20 6e 75 6c 6c | Menu.fillWithColumns(event,.null |
1721a0 | 2c 20 6e 75 6c 6c 2c 20 27 63 68 65 63 6b 62 6f 78 27 2c 20 6e 75 6c 6c 29 3b 22 0a 20 20 20 20 | ,.null,.'checkbox',.null);"..... |
1721c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 | .....................oncommand=" |
1721e0 | 56 69 65 77 4d 65 6e 75 2e 73 68 6f 77 48 69 64 65 43 6f 6c 75 6d 6e 28 65 76 65 6e 74 2e 74 61 | ViewMenu.showHideColumn(event.ta |
172200 | 72 67 65 74 29 3b 20 65 76 65 6e 74 2e 73 74 6f 70 50 72 6f 70 61 67 61 74 69 6f 6e 28 29 3b 22 | rget);.event.stopPropagation();" |
172220 | 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 6d 65 6e 75 3e 0a 0a 20 20 20 20 20 20 20 20 | />.............</menu>.......... |
172240 | 20 20 20 20 3c 6d 65 6e 75 20 69 64 3d 22 76 69 65 77 53 6f 72 74 22 20 6c 61 62 65 6c 3d 22 26 | ....<menu.id="viewSort".label="& |
172260 | 76 69 65 77 2e 73 6f 72 74 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | view.sort.label;"............... |
172280 | 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 76 69 65 77 2e 73 6f 72 74 2e 61 63 63 65 73 73 | ....accesskey="&view.sort.access |
1722a0 | 6b 65 79 3b 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 70 6f 70 75 70 20 | key;">...............<menupopup. |
1722c0 | 6f 6e 70 6f 70 75 70 73 68 6f 77 69 6e 67 3d 22 56 69 65 77 4d 65 6e 75 2e 70 6f 70 75 6c 61 74 | onpopupshowing="ViewMenu.populat |
1722e0 | 65 53 6f 72 74 4d 65 6e 75 28 65 76 65 6e 74 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | eSortMenu(event);".............. |
172300 | 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 56 69 65 77 4d 65 6e 75 2e | ............oncommand="ViewMenu. |
172320 | 73 65 74 53 6f 72 74 43 6f 6c 75 6d 6e 28 65 76 65 6e 74 2e 74 61 72 67 65 74 2e 63 6f 6c 75 6d | setSortColumn(event.target.colum |
172340 | 6e 2c 20 6e 75 6c 6c 29 3b 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e | n,.null);">.................<men |
172360 | 75 69 74 65 6d 20 69 64 3d 22 76 69 65 77 55 6e 73 6f 72 74 65 64 22 20 74 79 70 65 3d 22 72 61 | uitem.id="viewUnsorted".type="ra |
172380 | 64 69 6f 22 20 6e 61 6d 65 3d 22 63 6f 6c 75 6d 6e 73 22 20 0a 20 20 20 20 20 20 20 20 20 20 20 | dio".name="columns"............. |
1723a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 76 69 65 77 2e 75 6e 73 6f | ...............label="&view.unso |
1723c0 | 72 74 65 64 2e 6c 61 62 65 6c 3b 22 20 61 63 63 65 73 73 6b 65 79 3d 22 26 76 69 65 77 2e 75 6e | rted.label;".accesskey="&view.un |
1723e0 | 73 6f 72 74 65 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | sorted.accesskey;".............. |
172400 | 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 56 69 65 77 4d 65 6e 75 | .............oncommand="ViewMenu |
172420 | 2e 73 65 74 53 6f 72 74 43 6f 6c 75 6d 6e 28 6e 75 6c 6c 2c 20 6e 75 6c 6c 29 3b 22 2f 3e 0a 20 | .setSortColumn(null,.null);"/>.. |
172440 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 73 65 70 61 72 61 74 6f 72 20 69 64 | ...............<menuseparator.id |
172460 | 3d 22 64 69 72 65 63 74 69 6f 6e 53 65 70 61 72 61 74 6f 72 22 2f 3e 0a 20 20 20 20 20 20 20 20 | ="directionSeparator"/>......... |
172480 | 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 76 69 65 77 53 6f 72 74 41 73 | ........<menuitem.id="viewSortAs |
1724a0 | 63 65 6e 64 69 6e 67 22 20 74 79 70 65 3d 22 72 61 64 69 6f 22 20 6e 61 6d 65 3d 22 64 69 72 65 | cending".type="radio".name="dire |
1724c0 | 63 74 69 6f 6e 22 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ction".......................... |
1724e0 | 20 20 6c 61 62 65 6c 3d 22 26 76 69 65 77 2e 73 6f 72 74 41 73 63 65 6e 64 69 6e 67 2e 6c 61 62 | ..label="&view.sortAscending.lab |
172500 | 65 6c 3b 22 20 61 63 63 65 73 73 6b 65 79 3d 22 26 76 69 65 77 2e 73 6f 72 74 41 73 63 65 6e 64 | el;".accesskey="&view.sortAscend |
172520 | 69 6e 67 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ing.accesskey;"................. |
172540 | 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 56 69 65 77 4d 65 6e 75 2e 73 65 | ..........oncommand="ViewMenu.se |
172560 | 74 53 6f 72 74 43 6f 6c 75 6d 6e 28 6e 75 6c 6c 2c 20 27 61 73 63 65 6e 64 69 6e 67 27 29 3b 20 | tSortColumn(null,.'ascending');. |
172580 | 65 76 65 6e 74 2e 73 74 6f 70 50 72 6f 70 61 67 61 74 69 6f 6e 28 29 3b 22 2f 3e 0a 20 20 20 20 | event.stopPropagation();"/>..... |
1725a0 | 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 76 69 65 77 53 6f | ............<menuitem.id="viewSo |
1725c0 | 72 74 44 65 73 63 65 6e 64 69 6e 67 22 20 74 79 70 65 3d 22 72 61 64 69 6f 22 20 6e 61 6d 65 3d | rtDescending".type="radio".name= |
1725e0 | 22 64 69 72 65 63 74 69 6f 6e 22 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | "direction"..................... |
172600 | 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 76 69 65 77 2e 73 6f 72 74 44 65 73 63 65 6e 64 69 | .......label="&view.sortDescendi |
172620 | 6e 67 2e 6c 61 62 65 6c 3b 22 20 61 63 63 65 73 73 6b 65 79 3d 22 26 76 69 65 77 2e 73 6f 72 74 | ng.label;".accesskey="&view.sort |
172640 | 44 65 73 63 65 6e 64 69 6e 67 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 | Descending.accesskey;".......... |
172660 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 56 69 65 77 | .................oncommand="View |
172680 | 4d 65 6e 75 2e 73 65 74 53 6f 72 74 43 6f 6c 75 6d 6e 28 6e 75 6c 6c 2c 20 27 64 65 73 63 65 6e | Menu.setSortColumn(null,.'descen |
1726a0 | 64 69 6e 67 27 29 3b 20 65 76 65 6e 74 2e 73 74 6f 70 50 72 6f 70 61 67 61 74 69 6f 6e 28 29 3b | ding');.event.stopPropagation(); |
1726c0 | 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 6d 65 6e 75 70 6f 70 75 70 3e 0a 20 | "/>...............</menupopup>.. |
1726e0 | 20 20 20 20 20 20 20 20 20 20 20 3c 2f 6d 65 6e 75 3e 0a 3c 21 2d 2d 0a 20 20 20 20 20 20 20 20 | ...........</menu>.<!--......... |
172700 | 20 20 20 20 3c 6d 65 6e 75 73 65 70 61 72 61 74 6f 72 20 69 64 3d 22 67 72 6f 75 70 69 6e 67 53 | ....<menuseparator.id="groupingS |
172720 | 65 70 61 72 61 74 6f 72 22 20 6f 62 73 65 72 76 65 73 3d 22 70 6c 61 63 65 73 42 43 5f 67 72 6f | eparator".observes="placesBC_gro |
172740 | 75 70 69 6e 67 3a 73 65 70 61 72 61 74 6f 72 22 2f 3e 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 | uping:separator"/>.............. |
172760 | 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 76 69 65 77 47 72 6f 75 70 4e 6f 6e 65 22 20 74 79 70 | <menuitem.id="viewGroupNone".typ |
172780 | 65 3d 22 72 61 64 69 6f 22 20 6e 61 6d 65 3d 22 67 72 6f 75 70 22 0a 20 20 20 20 20 20 20 20 20 | e="radio".name="group".......... |
1727a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 62 73 65 72 76 65 73 3d 22 70 6c 61 63 65 73 42 43 5f | .............observes="placesBC_ |
1727c0 | 67 72 6f 75 70 69 6e 67 3a 6f 66 66 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e | grouping:off"/>.............<men |
1727e0 | 75 69 74 65 6d 20 69 64 3d 22 76 69 65 77 47 72 6f 75 70 47 72 6f 75 70 22 20 74 79 70 65 3d 22 | uitem.id="viewGroupGroup".type=" |
172800 | 72 61 64 69 6f 22 20 6e 61 6d 65 3d 22 67 72 6f 75 70 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 | radio".name="group"............. |
172820 | 20 20 20 20 20 20 20 20 20 20 6f 62 73 65 72 76 65 73 3d 22 70 6c 61 63 65 73 42 43 5f 67 72 6f | ..........observes="placesBC_gro |
172840 | 75 70 69 6e 67 3a 6f 6e 22 2f 3e 0a 2d 2d 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 2f 6d 65 6e 75 | uping:on"/>.-->...........</menu |
172860 | 70 6f 70 75 70 3e 0a 20 20 20 20 20 20 20 20 3c 2f 6d 65 6e 75 3e 0a 20 20 20 20 20 20 20 20 3c | popup>.........</menu>.........< |
172880 | 6d 65 6e 75 20 61 63 63 65 73 73 6b 65 79 3d 22 26 6d 61 69 6e 74 65 6e 61 6e 63 65 2e 61 63 63 | menu.accesskey="&maintenance.acc |
1728a0 | 65 73 73 6b 65 79 3b 22 20 63 6c 61 73 73 3d 22 6d 65 6e 75 2d 69 63 6f 6e 69 63 22 0a 20 20 20 | esskey;".class="menu-iconic".... |
1728c0 | 20 20 20 20 20 20 20 20 20 20 20 69 64 3d 22 6d 61 69 6e 74 65 6e 61 6e 63 65 42 75 74 74 6f 6e | ...........id="maintenanceButton |
1728e0 | 22 20 6c 61 62 65 6c 3d 22 26 6d 61 69 6e 74 65 6e 61 6e 63 65 2e 6c 61 62 65 6c 3b 22 3e 0a 20 | ".label="&maintenance.label;">.. |
172900 | 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 70 6f 70 75 70 20 69 64 3d 22 6d 61 69 6e 74 65 6e 61 | .........<menupopup.id="maintena |
172920 | 6e 63 65 42 75 74 74 6f 6e 50 6f 70 75 70 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 | nceButtonPopup">.............<me |
172940 | 6e 75 69 74 65 6d 20 69 64 3d 22 62 61 63 6b 75 70 42 6f 6f 6b 6d 61 72 6b 73 22 0a 20 20 20 20 | nuitem.id="backupBookmarks"..... |
172960 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 4f 72 67 61 6e | ..................command="Organ |
172980 | 69 7a 65 72 43 6f 6d 6d 61 6e 64 5f 62 61 63 6b 75 70 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 | izerCommand_backup"............. |
1729a0 | 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 63 6d 64 2e 62 61 63 6b 75 70 2e 6c 61 62 | ..........label="&cmd.backup.lab |
1729c0 | 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 | el;".......................acces |
1729e0 | 73 6b 65 79 3d 22 26 63 6d 64 2e 62 61 63 6b 75 70 2e 61 63 63 65 73 73 6b 65 79 3b 22 2f 3e 0a | skey="&cmd.backup.accesskey;"/>. |
172a00 | 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 20 69 64 3d 22 66 69 6c 65 52 65 73 74 6f 72 | ............<menu.id="fileRestor |
172a20 | 65 4d 65 6e 75 22 20 6c 61 62 65 6c 3d 22 26 63 6d 64 2e 72 65 73 74 6f 72 65 32 2e 6c 61 62 65 | eMenu".label="&cmd.restore2.labe |
172a40 | 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 | l;".......................access |
172a60 | 6b 65 79 3d 22 26 63 6d 64 2e 72 65 73 74 6f 72 65 32 2e 61 63 63 65 73 73 6b 65 79 3b 22 3e 0a | key="&cmd.restore2.accesskey;">. |
172a80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 70 6f 70 75 70 20 69 64 3d 22 66 69 6c | ..............<menupopup.id="fil |
172aa0 | 65 52 65 73 74 6f 72 65 50 6f 70 75 70 22 20 6f 6e 70 6f 70 75 70 73 68 6f 77 69 6e 67 3d 22 50 | eRestorePopup".onpopupshowing="P |
172ac0 | 6c 61 63 65 73 4f 72 67 61 6e 69 7a 65 72 2e 70 6f 70 75 6c 61 74 65 52 65 73 74 6f 72 65 4d 65 | lacesOrganizer.populateRestoreMe |
172ae0 | 6e 75 28 29 3b 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 | nu();">.................<menuite |
172b00 | 6d 20 69 64 3d 22 72 65 73 74 6f 72 65 46 72 6f 6d 46 69 6c 65 22 0a 20 20 20 20 20 20 20 20 20 | m.id="restoreFromFile".......... |
172b20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 4f 72 67 61 6e 69 | .................command="Organi |
172b40 | 7a 65 72 43 6f 6d 6d 61 6e 64 5f 72 65 73 74 6f 72 65 46 72 6f 6d 46 69 6c 65 22 0a 20 20 20 20 | zerCommand_restoreFromFile"..... |
172b60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 63 6d | ......................label="&cm |
172b80 | 64 2e 72 65 73 74 6f 72 65 46 72 6f 6d 46 69 6c 65 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 | d.restoreFromFile.label;"....... |
172ba0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 | ....................accesskey="& |
172bc0 | 63 6d 64 2e 72 65 73 74 6f 72 65 46 72 6f 6d 46 69 6c 65 2e 61 63 63 65 73 73 6b 65 79 3b 22 2f | cmd.restoreFromFile.accesskey;"/ |
172be0 | 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 6d 65 6e 75 70 6f 70 75 70 3e 0a 20 20 20 | >...............</menupopup>.... |
172c00 | 20 20 20 20 20 20 20 20 20 3c 2f 6d 65 6e 75 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 | .........</menu>.............<me |
172c20 | 6e 75 73 65 70 61 72 61 74 6f 72 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 | nuseparator/>.............<menui |
172c40 | 74 65 6d 20 69 64 3d 22 66 69 6c 65 49 6d 70 6f 72 74 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 | tem.id="fileImport"............. |
172c60 | 20 20 20 20 20 20 20 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 4f 72 67 61 6e 69 7a 65 72 43 6f 6d 6d | ..........command="OrganizerComm |
172c80 | 61 6e 64 5f 69 6d 70 6f 72 74 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | and_import"..................... |
172ca0 | 20 20 6c 61 62 65 6c 3d 22 26 63 6d 64 2e 69 6d 70 6f 72 74 48 54 4d 4c 2e 6c 61 62 65 6c 3b 22 | ..label="&cmd.importHTML.label;" |
172cc0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 | .......................accesskey |
172ce0 | 3d 22 26 63 6d 64 2e 69 6d 70 6f 72 74 48 54 4d 4c 2e 61 63 63 65 73 73 6b 65 79 3b 22 2f 3e 0a | ="&cmd.importHTML.accesskey;"/>. |
172d00 | 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 66 69 6c 65 45 78 | ............<menuitem.id="fileEx |
172d20 | 70 6f 72 74 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6d 6d | port".......................comm |
172d40 | 61 6e 64 3d 22 4f 72 67 61 6e 69 7a 65 72 43 6f 6d 6d 61 6e 64 5f 65 78 70 6f 72 74 22 0a 20 20 | and="OrganizerCommand_export"... |
172d60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 63 6d 64 2e | ....................label="&cmd. |
172d80 | 65 78 70 6f 72 74 48 54 4d 4c 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | exportHTML.label;".............. |
172da0 | 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 63 6d 64 2e 65 78 70 6f 72 74 48 | .........accesskey="&cmd.exportH |
172dc0 | 54 4d 4c 2e 61 63 63 65 73 73 6b 65 79 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 2f 6d 65 | TML.accesskey;"/>...........</me |
172de0 | 6e 75 70 6f 70 75 70 3e 0a 20 20 20 20 20 20 20 20 3c 2f 6d 65 6e 75 3e 0a 20 20 20 20 20 20 3c | nupopup>.........</menu>.......< |
172e00 | 2f 6d 65 6e 75 62 61 72 3e 0a 0a 20 20 20 20 20 20 3c 73 70 61 63 65 72 20 66 6c 65 78 3d 22 31 | /menubar>........<spacer.flex="1 |
172e20 | 22 2f 3e 0a 0a 20 20 20 20 20 20 3c 74 65 78 74 62 6f 78 20 69 64 3d 22 73 65 61 72 63 68 46 69 | "/>........<textbox.id="searchFi |
172e40 | 6c 74 65 72 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6c 69 63 6b 53 65 6c 65 63 74 | lter"................clickSelect |
172e60 | 73 41 6c 6c 3d 22 74 72 75 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 79 70 65 3d | sAll="true"................type= |
172e80 | 22 73 65 61 72 63 68 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 72 69 61 2d 63 6f 6e | "search"................aria-con |
172ea0 | 74 72 6f 6c 73 3d 22 70 6c 61 63 65 43 6f 6e 74 65 6e 74 22 0a 20 20 20 20 20 20 20 20 20 20 20 | trols="placeContent"............ |
172ec0 | 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 50 6c 61 63 65 73 53 65 61 72 63 68 42 6f 78 2e 73 | ....oncommand="PlacesSearchBox.s |
172ee0 | 65 61 72 63 68 28 74 68 69 73 2e 76 61 6c 75 65 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 | earch(this.value);"............. |
172f00 | 20 20 20 63 6f 6c 6c 65 63 74 69 6f 6e 3d 22 62 6f 6f 6b 6d 61 72 6b 73 22 3e 0a 20 20 20 20 20 | ...collection="bookmarks">...... |
172f20 | 20 3c 2f 74 65 78 74 62 6f 78 3e 0a 20 20 20 20 3c 2f 74 6f 6f 6c 62 61 72 3e 0a 20 20 3c 2f 74 | .</textbox>.....</toolbar>...</t |
172f40 | 6f 6f 6c 62 6f 78 3e 0a 0a 20 20 3c 68 62 6f 78 20 66 6c 65 78 3d 22 31 22 20 69 64 3d 22 70 6c | oolbox>....<hbox.flex="1".id="pl |
172f60 | 61 63 65 73 56 69 65 77 22 3e 0a 20 20 20 20 3c 74 72 65 65 20 69 64 3d 22 70 6c 61 63 65 73 4c | acesView">.....<tree.id="placesL |
172f80 | 69 73 74 22 0a 20 20 20 20 20 20 20 20 20 20 63 6c 61 73 73 3d 22 70 6c 61 63 65 73 54 72 65 65 | ist"...........class="placesTree |
172fa0 | 22 0a 20 20 20 20 20 20 20 20 20 20 74 79 70 65 3d 22 70 6c 61 63 65 73 22 0a 20 20 20 20 20 20 | "...........type="places"....... |
172fc0 | 20 20 20 20 68 69 64 65 63 6f 6c 75 6d 6e 70 69 63 6b 65 72 3d 22 74 72 75 65 22 20 63 6f 6e 74 | ....hidecolumnpicker="true".cont |
172fe0 | 65 78 74 3d 22 70 6c 61 63 65 73 43 6f 6e 74 65 78 74 22 0a 20 20 20 20 20 20 20 20 20 20 6f 6e | ext="placesContext"...........on |
173000 | 73 65 6c 65 63 74 3d 22 50 6c 61 63 65 73 4f 72 67 61 6e 69 7a 65 72 2e 6f 6e 50 6c 61 63 65 53 | select="PlacesOrganizer.onPlaceS |
173020 | 65 6c 65 63 74 65 64 28 74 72 75 65 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6c 69 63 | elected(true);"...........onclic |
173040 | 6b 3d 22 50 6c 61 63 65 73 4f 72 67 61 6e 69 7a 65 72 2e 6f 6e 54 72 65 65 43 6c 69 63 6b 28 65 | k="PlacesOrganizer.onTreeClick(e |
173060 | 76 65 6e 74 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 6f 6e 66 6f 63 75 73 3d 22 50 6c 61 63 65 | vent);"...........onfocus="Place |
173080 | 73 4f 72 67 61 6e 69 7a 65 72 2e 6f 6e 54 72 65 65 46 6f 63 75 73 28 65 76 65 6e 74 29 3b 22 20 | sOrganizer.onTreeFocus(event);". |
1730a0 | 20 20 20 20 20 20 20 20 20 0a 20 20 20 20 20 20 20 20 20 20 73 65 6c 74 79 70 65 3d 22 73 69 6e | ....................seltype="sin |
1730c0 | 67 6c 65 22 0a 20 20 20 20 20 20 20 20 20 20 70 65 72 73 69 73 74 3d 22 77 69 64 74 68 22 0a 20 | gle"...........persist="width".. |
1730e0 | 20 20 20 20 20 20 20 20 20 77 69 64 74 68 3d 22 32 30 30 22 0a 20 20 20 20 20 20 20 20 20 20 6d | .........width="200"...........m |
173100 | 69 6e 77 69 64 74 68 3d 22 31 30 30 22 0a 20 20 20 20 20 20 20 20 20 20 6d 61 78 77 69 64 74 68 | inwidth="100"...........maxwidth |
173120 | 3d 22 34 30 30 22 3e 0a 20 20 20 20 20 20 3c 74 72 65 65 63 6f 6c 73 3e 0a 20 20 20 20 20 20 20 | ="400">.......<treecols>........ |
173140 | 20 3c 74 72 65 65 63 6f 6c 20 61 6e 6f 6e 69 64 3d 22 74 69 74 6c 65 22 20 66 6c 65 78 3d 22 31 | .<treecol.anonid="title".flex="1 |
173160 | 22 20 70 72 69 6d 61 72 79 3d 22 74 72 75 65 22 20 68 69 64 65 68 65 61 64 65 72 3d 22 74 72 75 | ".primary="true".hideheader="tru |
173180 | 65 22 2f 3e 0a 20 20 20 20 20 20 3c 2f 74 72 65 65 63 6f 6c 73 3e 0a 20 20 20 20 20 20 3c 74 72 | e"/>.......</treecols>.......<tr |
1731a0 | 65 65 63 68 69 6c 64 72 65 6e 20 66 6c 65 78 3d 22 31 22 2f 3e 0a 20 20 20 20 3c 2f 74 72 65 65 | eechildren.flex="1"/>.....</tree |
1731c0 | 3e 0a 20 20 20 20 3c 73 70 6c 69 74 74 65 72 20 63 6f 6c 6c 61 70 73 65 3d 22 6e 6f 6e 65 22 20 | >.....<splitter.collapse="none". |
1731e0 | 70 65 72 73 69 73 74 3d 22 73 74 61 74 65 22 3e 3c 2f 73 70 6c 69 74 74 65 72 3e 0a 20 20 20 20 | persist="state"></splitter>..... |
173200 | 3c 76 62 6f 78 20 69 64 3d 22 63 6f 6e 74 65 6e 74 56 69 65 77 22 20 66 6c 65 78 3d 22 34 22 3e | <vbox.id="contentView".flex="4"> |
173220 | 0a 20 20 20 20 20 20 3c 64 65 63 6b 20 69 64 3d 22 63 6f 6e 74 65 6e 74 44 65 63 6b 22 20 66 6c | .......<deck.id="contentDeck".fl |
173240 | 65 78 3d 22 31 22 3e 0a 20 20 20 20 20 20 20 20 3c 76 62 6f 78 20 69 64 3d 22 64 65 66 61 75 6c | ex="1">.........<vbox.id="defaul |
173260 | 74 56 69 65 77 22 20 66 6c 65 78 3d 22 31 22 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 76 62 6f 78 | tView".flex="1">...........<vbox |
173280 | 20 69 64 3d 22 73 65 61 72 63 68 4d 6f 64 69 66 69 65 72 73 22 20 68 69 64 64 65 6e 3d 22 74 72 | .id="searchModifiers".hidden="tr |
1732a0 | 75 65 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 74 6f 6f 6c 62 61 72 20 69 64 3d 22 6f 72 | ue">.............<toolbar.id="or |
1732c0 | 67 61 6e 69 7a 65 72 53 63 6f 70 65 42 61 72 22 20 63 6c 61 73 73 3d 22 63 68 72 6f 6d 65 63 6c | ganizerScopeBar".class="chromecl |
1732e0 | 61 73 73 2d 74 6f 6f 6c 62 61 72 22 20 61 6c 69 67 6e 3d 22 63 65 6e 74 65 72 22 3e 0a 20 20 20 | ass-toolbar".align="center">.... |
173300 | 20 20 20 20 20 20 20 20 20 20 20 3c 6c 61 62 65 6c 20 69 64 3d 22 73 63 6f 70 65 42 61 72 54 69 | ...........<label.id="scopeBarTi |
173320 | 74 6c 65 22 20 76 61 6c 75 65 3d 22 26 73 65 61 72 63 68 2e 6c 61 62 65 6c 3b 22 2f 3e 0a 20 20 | tle".value="&search.label;"/>... |
173340 | 20 20 20 20 20 20 20 20 20 20 20 20 3c 74 6f 6f 6c 62 61 72 62 75 74 74 6f 6e 20 69 64 3d 22 73 | ............<toolbarbutton.id="s |
173360 | 63 6f 70 65 42 61 72 41 6c 6c 22 20 74 79 70 65 3d 22 72 61 64 69 6f 22 20 67 72 6f 75 70 3d 22 | copeBarAll".type="radio".group=" |
173380 | 73 63 6f 70 65 42 61 72 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | scopeBar"....................... |
1733a0 | 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 50 6c 61 63 65 73 51 75 65 72 79 42 75 69 | .......oncommand="PlacesQueryBui |
1733c0 | 6c 64 65 72 2e 6f 6e 53 63 6f 70 65 53 65 6c 65 63 74 65 64 28 74 68 69 73 29 3b 22 0a 20 20 20 | lder.onScopeSelected(this);".... |
1733e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d | ..........................label= |
173400 | 22 26 73 65 61 72 63 68 2e 73 63 6f 70 65 42 6f 6f 6b 6d 61 72 6b 73 2e 6c 61 62 65 6c 3b 22 0a | "&search.scopeBookmarks.label;". |
173420 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 | .............................acc |
173440 | 65 73 73 6b 65 79 3d 22 26 73 65 61 72 63 68 2e 73 63 6f 70 65 42 6f 6f 6b 6d 61 72 6b 73 2e 61 | esskey="&search.scopeBookmarks.a |
173460 | 63 63 65 73 73 6b 65 79 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 21 2d 2d 0a | ccesskey;"/>...............<!--. |
173480 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 74 6f 6f 6c 62 61 72 62 75 74 74 6f 6e 20 69 64 3d | ..............<toolbarbutton.id= |
1734a0 | 22 73 63 6f 70 65 42 61 72 44 6f 77 6e 6c 6f 61 64 73 22 20 74 79 70 65 3d 22 72 61 64 69 6f 22 | "scopeBarDownloads".type="radio" |
1734c0 | 20 67 72 6f 75 70 3d 22 73 63 6f 70 65 42 61 72 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .group="scopeBar"............... |
1734e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 50 6c 61 63 65 73 | ...............oncommand="Places |
173500 | 51 75 65 72 79 42 75 69 6c 64 65 72 2e 6f 6e 53 63 6f 70 65 53 65 6c 65 63 74 65 64 28 74 68 69 | QueryBuilder.onScopeSelected(thi |
173520 | 73 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | s);"............................ |
173540 | 20 20 6c 61 62 65 6c 3d 22 26 73 65 61 72 63 68 2e 73 63 6f 70 65 44 6f 77 6e 6c 6f 61 64 73 2e | ..label="&search.scopeDownloads. |
173560 | 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | label;"......................... |
173580 | 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 73 65 61 72 63 68 2e 73 63 6f 70 65 44 6f 77 | .....accesskey="&search.scopeDow |
1735a0 | 6e 6c 6f 61 64 73 2e 61 63 63 65 73 73 6b 65 79 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 | nloads.accesskey;"/>............ |
1735c0 | 20 20 20 2d 2d 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 74 6f 6f 6c 62 61 72 62 75 74 | ...-->...............<toolbarbut |
1735e0 | 74 6f 6e 20 69 64 3d 22 73 63 6f 70 65 42 61 72 48 69 73 74 6f 72 79 22 20 74 79 70 65 3d 22 72 | ton.id="scopeBarHistory".type="r |
173600 | 61 64 69 6f 22 20 67 72 6f 75 70 3d 22 73 63 6f 70 65 42 61 72 22 0a 20 20 20 20 20 20 20 20 20 | adio".group="scopeBar".......... |
173620 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 50 | ....................oncommand="P |
173640 | 6c 61 63 65 73 51 75 65 72 79 42 75 69 6c 64 65 72 2e 6f 6e 53 63 6f 70 65 53 65 6c 65 63 74 65 | lacesQueryBuilder.onScopeSelecte |
173660 | 64 28 74 68 69 73 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | d(this);"....................... |
173680 | 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 73 65 61 72 63 68 2e 73 63 6f 70 65 48 69 73 74 6f | .......label="&search.scopeHisto |
1736a0 | 72 79 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ry.label;"...................... |
1736c0 | 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 73 65 61 72 63 68 2e 73 63 6f 70 65 | ........accesskey="&search.scope |
1736e0 | 48 69 73 74 6f 72 79 2e 61 63 63 65 73 73 6b 65 79 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 | History.accesskey;"/>........... |
173700 | 20 20 20 20 3c 74 6f 6f 6c 62 61 72 62 75 74 74 6f 6e 20 69 64 3d 22 73 63 6f 70 65 42 61 72 46 | ....<toolbarbutton.id="scopeBarF |
173720 | 6f 6c 64 65 72 22 20 74 79 70 65 3d 22 72 61 64 69 6f 22 20 67 72 6f 75 70 3d 22 73 63 6f 70 65 | older".type="radio".group="scope |
173740 | 42 61 72 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | Bar"............................ |
173760 | 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 50 6c 61 63 65 73 51 75 65 72 79 42 75 69 6c 64 65 72 2e | ..oncommand="PlacesQueryBuilder. |
173780 | 6f 6e 53 63 6f 70 65 53 65 6c 65 63 74 65 64 28 74 68 69 73 29 3b 22 0a 20 20 20 20 20 20 20 20 | onScopeSelected(this);"......... |
1737a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 | .....................accesskey=" |
1737c0 | 26 73 65 61 72 63 68 2e 73 63 6f 70 65 46 6f 6c 64 65 72 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a | &search.scopeFolder.accesskey;". |
1737e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 6d 70 | .............................emp |
173800 | 74 79 74 69 74 6c 65 3d 22 26 73 65 61 72 63 68 2e 73 63 6f 70 65 46 6f 6c 64 65 72 2e 6c 61 62 | tytitle="&search.scopeFolder.lab |
173820 | 65 6c 3b 22 20 66 6c 65 78 3d 22 31 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 21 | el;".flex="1"/>...............<! |
173840 | 2d 2d 20 54 68 65 20 66 6f 6c 64 65 72 20 73 63 6f 70 65 20 62 75 74 74 6f 6e 20 73 68 6f 75 6c | --.The.folder.scope.button.shoul |
173860 | 64 20 66 6c 65 78 20 62 75 74 20 6e 6f 74 20 74 61 6b 65 20 75 70 20 6d 6f 72 65 20 72 6f 6f 6d | d.flex.but.not.take.up.more.room |
173880 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 61 6e 20 69 74 73 20 6c 61 62 | ....................than.its.lab |
1738a0 | 65 6c 20 6e 65 65 64 73 2e 20 20 54 68 65 20 6f 6e 6c 79 20 73 69 6d 70 6c 65 20 77 61 79 20 74 | el.needs...The.only.simple.way.t |
1738c0 | 6f 20 64 6f 20 74 68 61 74 20 69 73 20 74 6f 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | o.do.that.is.to................. |
1738e0 | 20 20 20 73 65 74 20 61 20 72 65 61 6c 6c 79 20 62 69 67 20 66 6c 65 78 20 6f 6e 20 74 68 65 20 | ...set.a.really.big.flex.on.the. |
173900 | 73 70 61 63 65 72 2c 20 65 2e 67 2e 2c 20 32 5e 33 31 20 2d 20 31 2e 20 2d 2d 3e 0a 20 20 20 20 | spacer,.e.g.,.2^31.-.1..-->..... |
173920 | 20 20 20 20 20 20 20 20 20 20 3c 73 70 61 63 65 72 20 66 6c 65 78 3d 22 32 31 34 37 34 38 33 36 | ..........<spacer.flex="21474836 |
173940 | 34 37 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 62 75 74 74 6f 6e 20 69 64 3d 22 | 47"/>...............<button.id=" |
173960 | 73 61 76 65 53 65 61 72 63 68 22 20 63 6c 61 73 73 3d 22 73 6d 61 6c 6c 22 20 0a 20 20 20 20 20 | saveSearch".class="small"....... |
173980 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 73 61 76 65 53 65 | ..................label="&saveSe |
1739a0 | 61 72 63 68 2e 6c 61 62 65 6c 3b 22 20 61 63 63 65 73 73 6b 65 79 3d 22 26 73 61 76 65 53 65 61 | arch.label;".accesskey="&saveSea |
1739c0 | 72 63 68 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | rch.accesskey;"................. |
1739e0 | 20 20 20 20 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 4f 72 67 61 6e 69 7a 65 72 43 6f 6d 6d 61 6e 64 | .......command="OrganizerCommand |
173a00 | 5f 73 65 61 72 63 68 3a 73 61 76 65 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 74 6f | _search:save"/>.............</to |
173a20 | 6f 6c 62 61 72 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 2f 76 62 6f 78 3e 0a 20 20 20 20 20 20 20 | olbar>...........</vbox>........ |
173a40 | 20 20 20 3c 76 62 6f 78 20 66 6c 65 78 3d 22 31 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c | ...<vbox.flex="1">.............< |
173a60 | 74 72 65 65 20 69 64 3d 22 70 6c 61 63 65 43 6f 6e 74 65 6e 74 22 20 63 6c 61 73 73 3d 22 70 6c | tree.id="placeContent".class="pl |
173a80 | 61 63 65 73 54 72 65 65 22 20 63 6f 6e 74 65 78 74 3d 22 70 6c 61 63 65 73 43 6f 6e 74 65 78 74 | acesTree".context="placesContext |
173aa0 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 68 69 64 65 63 6f 6c 75 6d 6e 70 69 | "...................hidecolumnpi |
173ac0 | 63 6b 65 72 3d 22 74 72 75 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 6c | cker="true"...................fl |
173ae0 | 65 78 3d 22 31 22 20 74 79 70 65 3d 22 70 6c 61 63 65 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 | ex="1".type="places"............ |
173b00 | 20 20 20 20 20 20 20 66 6c 61 74 4c 69 73 74 3d 22 74 72 75 65 22 0a 20 20 20 20 20 20 20 20 20 | .......flatList="true".......... |
173b20 | 20 20 20 20 20 20 20 20 20 65 6e 61 62 6c 65 43 6f 6c 75 6d 6e 44 72 61 67 3d 22 74 72 75 65 22 | .........enableColumnDrag="true" |
173b40 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 6b 65 79 70 72 65 73 73 3d 22 69 | ...................onkeypress="i |
173b60 | 66 20 28 65 76 65 6e 74 2e 6b 65 79 43 6f 64 65 20 3d 3d 20 4b 65 79 45 76 65 6e 74 2e 44 4f 4d | f.(event.keyCode.==.KeyEvent.DOM |
173b80 | 5f 56 4b 5f 52 45 54 55 52 4e 29 20 50 6c 61 63 65 73 4f 72 67 61 6e 69 7a 65 72 2e 6f 70 65 6e | _VK_RETURN).PlacesOrganizer.open |
173ba0 | 53 65 6c 65 63 74 65 64 4e 6f 64 65 28 65 76 65 6e 74 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 | SelectedNode(event);"........... |
173bc0 | 20 20 20 20 20 20 20 20 6f 6e 6f 70 65 6e 66 6c 61 74 63 6f 6e 74 61 69 6e 65 72 3d 22 50 6c 61 | ........onopenflatcontainer="Pla |
173be0 | 63 65 73 4f 72 67 61 6e 69 7a 65 72 2e 6f 70 65 6e 46 6c 61 74 43 6f 6e 74 61 69 6e 65 72 28 61 | cesOrganizer.openFlatContainer(a |
173c00 | 43 6f 6e 74 61 69 6e 65 72 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f | Container);"...................o |
173c20 | 6e 73 65 6c 65 63 74 3d 22 50 6c 61 63 65 73 4f 72 67 61 6e 69 7a 65 72 2e 6f 6e 43 6f 6e 74 65 | nselect="PlacesOrganizer.onConte |
173c40 | 6e 74 54 72 65 65 53 65 6c 65 63 74 28 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ntTreeSelect();"................ |
173c60 | 20 20 20 6f 6e 66 6f 63 75 73 3d 22 50 6c 61 63 65 73 4f 72 67 61 6e 69 7a 65 72 2e 6f 6e 54 72 | ...onfocus="PlacesOrganizer.onTr |
173c80 | 65 65 46 6f 63 75 73 28 65 76 65 6e 74 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | eeFocus(event);"................ |
173ca0 | 20 20 20 6f 6e 63 6c 69 63 6b 3d 22 50 6c 61 63 65 73 4f 72 67 61 6e 69 7a 65 72 2e 6f 6e 54 72 | ...onclick="PlacesOrganizer.onTr |
173cc0 | 65 65 43 6c 69 63 6b 28 65 76 65 6e 74 29 3b 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | eeClick(event);">............... |
173ce0 | 3c 74 72 65 65 63 6f 6c 73 20 69 64 3d 22 70 6c 61 63 65 43 6f 6e 74 65 6e 74 43 6f 6c 75 6d 6e | <treecols.id="placeContentColumn |
173d00 | 73 22 20 63 6f 6e 74 65 78 74 3d 22 70 6c 61 63 65 73 43 6f 6c 75 6d 6e 73 43 6f 6e 74 65 78 74 | s".context="placesColumnsContext |
173d20 | 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 74 72 65 65 63 6f 6c 20 6c 61 62 65 | ">.................<treecol.labe |
173d40 | 6c 3d 22 26 63 6f 6c 2e 6e 61 6d 65 2e 6c 61 62 65 6c 3b 22 20 69 64 3d 22 70 6c 61 63 65 73 43 | l="&col.name.label;".id="placesC |
173d60 | 6f 6e 74 65 6e 74 54 69 74 6c 65 22 20 61 6e 6f 6e 69 64 3d 22 74 69 74 6c 65 22 20 66 6c 65 78 | ontentTitle".anonid="title".flex |
173d80 | 3d 22 35 22 20 70 72 69 6d 61 72 79 3d 22 74 72 75 65 22 20 6f 72 64 69 6e 61 6c 3d 22 31 22 20 | ="5".primary="true".ordinal="1". |
173da0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 65 72 73 69 73 | ..........................persis |
173dc0 | 74 3d 22 77 69 64 74 68 20 68 69 64 64 65 6e 20 6f 72 64 69 6e 61 6c 20 73 6f 72 74 41 63 74 69 | t="width.hidden.ordinal.sortActi |
173de0 | 76 65 20 73 6f 72 74 44 69 72 65 63 74 69 6f 6e 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ve.sortDirection"/>............. |
173e00 | 20 20 20 20 3c 73 70 6c 69 74 74 65 72 20 63 6c 61 73 73 3d 22 74 72 65 65 2d 73 70 6c 69 74 74 | ....<splitter.class="tree-splitt |
173e20 | 65 72 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 74 72 65 65 63 6f 6c 20 6c | er"/>.................<treecol.l |
173e40 | 61 62 65 6c 3d 22 26 63 6f 6c 2e 74 61 67 73 2e 6c 61 62 65 6c 3b 22 20 69 64 3d 22 70 6c 61 63 | abel="&col.tags.label;".id="plac |
173e60 | 65 73 43 6f 6e 74 65 6e 74 54 61 67 73 22 20 61 6e 6f 6e 69 64 3d 22 74 61 67 73 22 20 66 6c 65 | esContentTags".anonid="tags".fle |
173e80 | 78 3d 22 32 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 | x="2"..........................p |
173ea0 | 65 72 73 69 73 74 3d 22 77 69 64 74 68 20 68 69 64 64 65 6e 20 6f 72 64 69 6e 61 6c 20 73 6f 72 | ersist="width.hidden.ordinal.sor |
173ec0 | 74 41 63 74 69 76 65 20 73 6f 72 74 44 69 72 65 63 74 69 6f 6e 22 2f 3e 0a 20 20 20 20 20 20 20 | tActive.sortDirection"/>........ |
173ee0 | 20 20 20 20 20 20 20 20 20 3c 73 70 6c 69 74 74 65 72 20 63 6c 61 73 73 3d 22 74 72 65 65 2d 73 | .........<splitter.class="tree-s |
173f00 | 70 6c 69 74 74 65 72 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 74 72 65 65 | plitter"/>.................<tree |
173f20 | 63 6f 6c 20 6c 61 62 65 6c 3d 22 26 63 6f 6c 2e 75 72 6c 2e 6c 61 62 65 6c 3b 22 20 69 64 3d 22 | col.label="&col.url.label;".id=" |
173f40 | 70 6c 61 63 65 73 43 6f 6e 74 65 6e 74 55 72 6c 22 20 61 6e 6f 6e 69 64 3d 22 75 72 6c 22 20 66 | placesContentUrl".anonid="url".f |
173f60 | 6c 65 78 3d 22 35 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | lex="5"......................... |
173f80 | 20 70 65 72 73 69 73 74 3d 22 77 69 64 74 68 20 68 69 64 64 65 6e 20 6f 72 64 69 6e 61 6c 20 73 | .persist="width.hidden.ordinal.s |
173fa0 | 6f 72 74 41 63 74 69 76 65 20 73 6f 72 74 44 69 72 65 63 74 69 6f 6e 22 2f 3e 0a 20 20 20 20 20 | ortActive.sortDirection"/>...... |
173fc0 | 20 20 20 20 20 20 20 20 20 20 20 3c 73 70 6c 69 74 74 65 72 20 63 6c 61 73 73 3d 22 74 72 65 65 | ...........<splitter.class="tree |
173fe0 | 2d 73 70 6c 69 74 74 65 72 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 74 72 | -splitter"/>.................<tr |
174000 | 65 65 63 6f 6c 20 6c 61 62 65 6c 3d 22 26 63 6f 6c 2e 6c 61 73 74 76 69 73 69 74 2e 6c 61 62 65 | eecol.label="&col.lastvisit.labe |
174020 | 6c 3b 22 20 69 64 3d 22 70 6c 61 63 65 73 43 6f 6e 74 65 6e 74 44 61 74 65 22 20 61 6e 6f 6e 69 | l;".id="placesContentDate".anoni |
174040 | 64 3d 22 64 61 74 65 22 20 66 6c 65 78 3d 22 31 22 20 68 69 64 64 65 6e 3d 22 74 72 75 65 22 0a | d="date".flex="1".hidden="true". |
174060 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 65 72 73 69 73 74 | .........................persist |
174080 | 3d 22 77 69 64 74 68 20 68 69 64 64 65 6e 20 6f 72 64 69 6e 61 6c 20 73 6f 72 74 41 63 74 69 76 | ="width.hidden.ordinal.sortActiv |
1740a0 | 65 20 73 6f 72 74 44 69 72 65 63 74 69 6f 6e 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | e.sortDirection"/>.............. |
1740c0 | 20 20 20 3c 73 70 6c 69 74 74 65 72 20 63 6c 61 73 73 3d 22 74 72 65 65 2d 73 70 6c 69 74 74 65 | ...<splitter.class="tree-splitte |
1740e0 | 72 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 74 72 65 65 63 6f 6c 20 6c 61 | r"/>.................<treecol.la |
174100 | 62 65 6c 3d 22 26 63 6f 6c 2e 76 69 73 69 74 63 6f 75 6e 74 2e 6c 61 62 65 6c 3b 22 20 69 64 3d | bel="&col.visitcount.label;".id= |
174120 | 22 70 6c 61 63 65 73 43 6f 6e 74 65 6e 74 56 69 73 69 74 43 6f 75 6e 74 22 20 61 6e 6f 6e 69 64 | "placesContentVisitCount".anonid |
174140 | 3d 22 76 69 73 69 74 43 6f 75 6e 74 22 20 66 6c 65 78 3d 22 31 22 20 68 69 64 64 65 6e 3d 22 74 | ="visitCount".flex="1".hidden="t |
174160 | 72 75 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 65 | rue"..........................pe |
174180 | 72 73 69 73 74 3d 22 77 69 64 74 68 20 68 69 64 64 65 6e 20 6f 72 64 69 6e 61 6c 20 73 6f 72 74 | rsist="width.hidden.ordinal.sort |
1741a0 | 41 63 74 69 76 65 20 73 6f 72 74 44 69 72 65 63 74 69 6f 6e 22 2f 3e 0a 20 20 20 20 20 20 20 20 | Active.sortDirection"/>......... |
1741c0 | 20 20 20 20 20 20 20 20 3c 73 70 6c 69 74 74 65 72 20 63 6c 61 73 73 3d 22 74 72 65 65 2d 73 70 | ........<splitter.class="tree-sp |
1741e0 | 6c 69 74 74 65 72 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 74 72 65 65 63 | litter"/>.................<treec |
174200 | 6f 6c 20 6c 61 62 65 6c 3d 22 26 63 6f 6c 2e 6b 65 79 77 6f 72 64 2e 6c 61 62 65 6c 3b 22 20 69 | ol.label="&col.keyword.label;".i |
174220 | 64 3d 22 70 6c 61 63 65 73 43 6f 6e 74 65 6e 74 4b 65 79 77 6f 72 64 22 20 61 6e 6f 6e 69 64 3d | d="placesContentKeyword".anonid= |
174240 | 22 6b 65 79 77 6f 72 64 22 20 66 6c 65 78 3d 22 31 22 20 68 69 64 64 65 6e 3d 22 74 72 75 65 22 | "keyword".flex="1".hidden="true" |
174260 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 65 72 73 69 73 | ..........................persis |
174280 | 74 3d 22 77 69 64 74 68 20 68 69 64 64 65 6e 20 6f 72 64 69 6e 61 6c 20 73 6f 72 74 41 63 74 69 | t="width.hidden.ordinal.sortActi |
1742a0 | 76 65 20 73 6f 72 74 44 69 72 65 63 74 69 6f 6e 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ve.sortDirection"/>............. |
1742c0 | 20 20 20 20 3c 73 70 6c 69 74 74 65 72 20 63 6c 61 73 73 3d 22 74 72 65 65 2d 73 70 6c 69 74 74 | ....<splitter.class="tree-splitt |
1742e0 | 65 72 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 74 72 65 65 63 6f 6c 20 6c | er"/>.................<treecol.l |
174300 | 61 62 65 6c 3d 22 26 63 6f 6c 2e 64 65 73 63 72 69 70 74 69 6f 6e 2e 6c 61 62 65 6c 3b 22 20 69 | abel="&col.description.label;".i |
174320 | 64 3d 22 70 6c 61 63 65 73 43 6f 6e 74 65 6e 74 44 65 73 63 72 69 70 74 69 6f 6e 22 20 61 6e 6f | d="placesContentDescription".ano |
174340 | 6e 69 64 3d 22 64 65 73 63 72 69 70 74 69 6f 6e 22 20 66 6c 65 78 3d 22 31 22 20 68 69 64 64 65 | nid="description".flex="1".hidde |
174360 | 6e 3d 22 74 72 75 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | n="true"........................ |
174380 | 20 20 70 65 72 73 69 73 74 3d 22 77 69 64 74 68 20 68 69 64 64 65 6e 20 6f 72 64 69 6e 61 6c 20 | ..persist="width.hidden.ordinal. |
1743a0 | 73 6f 72 74 41 63 74 69 76 65 20 73 6f 72 74 44 69 72 65 63 74 69 6f 6e 22 2f 3e 0a 20 20 20 20 | sortActive.sortDirection"/>..... |
1743c0 | 20 20 20 20 20 20 20 20 20 20 20 20 3c 73 70 6c 69 74 74 65 72 20 63 6c 61 73 73 3d 22 74 72 65 | ............<splitter.class="tre |
1743e0 | 65 2d 73 70 6c 69 74 74 65 72 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 74 | e-splitter"/>.................<t |
174400 | 72 65 65 63 6f 6c 20 6c 61 62 65 6c 3d 22 26 63 6f 6c 2e 64 61 74 65 61 64 64 65 64 2e 6c 61 62 | reecol.label="&col.dateadded.lab |
174420 | 65 6c 3b 22 20 69 64 3d 22 70 6c 61 63 65 73 43 6f 6e 74 65 6e 74 44 61 74 65 41 64 64 65 64 22 | el;".id="placesContentDateAdded" |
174440 | 20 61 6e 6f 6e 69 64 3d 22 64 61 74 65 41 64 64 65 64 22 20 66 6c 65 78 3d 22 31 22 20 68 69 64 | .anonid="dateAdded".flex="1".hid |
174460 | 64 65 6e 3d 22 74 72 75 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | den="true"...................... |
174480 | 20 20 20 20 70 65 72 73 69 73 74 3d 22 77 69 64 74 68 20 68 69 64 64 65 6e 20 6f 72 64 69 6e 61 | ....persist="width.hidden.ordina |
1744a0 | 6c 20 73 6f 72 74 41 63 74 69 76 65 20 73 6f 72 74 44 69 72 65 63 74 69 6f 6e 22 2f 3e 0a 20 20 | l.sortActive.sortDirection"/>... |
1744c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 73 70 6c 69 74 74 65 72 20 63 6c 61 73 73 3d 22 74 | ..............<splitter.class="t |
1744e0 | 72 65 65 2d 73 70 6c 69 74 74 65 72 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ree-splitter"/>................. |
174500 | 3c 74 72 65 65 63 6f 6c 20 6c 61 62 65 6c 3d 22 26 63 6f 6c 2e 6c 61 73 74 6d 6f 64 69 66 69 65 | <treecol.label="&col.lastmodifie |
174520 | 64 2e 6c 61 62 65 6c 3b 22 20 69 64 3d 22 70 6c 61 63 65 73 43 6f 6e 74 65 6e 74 4c 61 73 74 4d | d.label;".id="placesContentLastM |
174540 | 6f 64 69 66 69 65 64 22 20 61 6e 6f 6e 69 64 3d 22 6c 61 73 74 4d 6f 64 69 66 69 65 64 22 20 66 | odified".anonid="lastModified".f |
174560 | 6c 65 78 3d 22 31 22 20 68 69 64 64 65 6e 3d 22 74 72 75 65 22 0a 20 20 20 20 20 20 20 20 20 20 | lex="1".hidden="true"........... |
174580 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 65 72 73 69 73 74 3d 22 77 69 64 74 68 20 68 69 | ...............persist="width.hi |
1745a0 | 64 64 65 6e 20 6f 72 64 69 6e 61 6c 20 73 6f 72 74 41 63 74 69 76 65 20 73 6f 72 74 44 69 72 65 | dden.ordinal.sortActive.sortDire |
1745c0 | 63 74 69 6f 6e 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 74 72 65 65 63 6f 6c | ction"/>...............</treecol |
1745e0 | 73 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 74 72 65 65 63 68 69 6c 64 72 65 6e 20 66 | s>...............<treechildren.f |
174600 | 6c 65 78 3d 22 31 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 74 72 65 65 3e 0a 20 20 | lex="1"/>.............</tree>... |
174620 | 20 20 20 20 20 20 20 20 20 20 3c 68 62 6f 78 20 69 64 3d 22 69 6e 66 6f 50 61 6e 65 42 6f 78 22 | ..........<hbox.id="infoPaneBox" |
174640 | 20 73 74 79 6c 65 3d 22 68 65 69 67 68 74 3a 20 31 31 65 6d 3b 22 3e 0a 20 20 20 20 20 20 20 20 | .style="height:.11em;">......... |
174660 | 20 20 20 20 20 20 3c 64 65 63 6b 20 66 6c 65 78 3d 22 31 22 20 69 64 3d 22 64 65 74 61 69 6c 73 | ......<deck.flex="1".id="details |
174680 | 44 65 63 6b 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 76 62 6f 78 20 69 64 3d | Deck">.................<vbox.id= |
1746a0 | 22 69 74 65 6d 73 43 6f 75 6e 74 42 6f 78 22 20 61 6c 69 67 6e 3d 22 63 65 6e 74 65 72 22 3e 0a | "itemsCountBox".align="center">. |
1746c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 73 70 61 63 65 72 20 66 6c 65 78 3d 22 | ..................<spacer.flex=" |
1746e0 | 33 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 61 62 65 6c 20 69 64 | 3"/>...................<label.id |
174700 | 3d 22 69 74 65 6d 73 43 6f 75 6e 74 54 65 78 74 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ="itemsCountText"/>............. |
174720 | 20 20 20 20 20 20 3c 73 70 61 63 65 72 20 66 6c 65 78 3d 22 31 22 2f 3e 0a 20 20 20 20 20 20 20 | ......<spacer.flex="1"/>........ |
174740 | 20 20 20 20 20 20 20 20 20 20 20 3c 64 65 73 63 72 69 70 74 69 6f 6e 20 69 64 3d 22 73 65 6c 65 | ...........<description.id="sele |
174760 | 63 74 49 74 65 6d 44 65 73 63 72 69 70 74 69 6f 6e 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ctItemDescription">............. |
174780 | 20 20 20 20 20 20 20 20 20 26 64 65 74 61 69 6c 73 50 61 6e 65 2e 73 65 6c 65 63 74 41 6e 49 74 | .........&detailsPane.selectAnIt |
1747a0 | 65 6d 54 65 78 74 2e 64 65 73 63 72 69 70 74 69 6f 6e 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 | emText.description;............. |
1747c0 | 20 20 20 20 20 20 3c 2f 64 65 73 63 72 69 70 74 69 6f 6e 3e 0a 20 20 20 20 20 20 20 20 20 20 20 | ......</description>............ |
1747e0 | 20 20 20 20 20 20 20 3c 73 70 61 63 65 72 20 66 6c 65 78 3d 22 33 22 2f 3e 0a 20 20 20 20 20 20 | .......<spacer.flex="3"/>....... |
174800 | 20 20 20 20 20 20 20 20 20 20 3c 2f 76 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ..........</vbox>............... |
174820 | 20 20 3c 76 62 6f 78 20 69 64 3d 22 69 6e 66 6f 42 6f 78 22 20 6d 69 6e 69 6d 61 6c 3d 22 74 72 | ..<vbox.id="infoBox".minimal="tr |
174840 | 75 65 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 76 62 6f 78 20 69 64 3d | ue">...................<vbox.id= |
174860 | 22 65 64 69 74 42 6f 6f 6b 6d 61 72 6b 50 61 6e 65 6c 43 6f 6e 74 65 6e 74 22 2f 3e 0a 20 20 20 | "editBookmarkPanelContent"/>.... |
174880 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 73 70 61 63 65 72 20 66 6c 65 78 3d 22 31 22 2f | ...............<spacer.flex="1"/ |
1748a0 | 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 68 62 6f 78 20 69 64 3d 22 69 6e | >...................<hbox.id="in |
1748c0 | 66 6f 42 6f 78 45 78 70 61 6e 64 65 72 57 72 61 70 70 65 72 22 20 61 6c 69 67 6e 3d 22 63 65 6e | foBoxExpanderWrapper".align="cen |
1748e0 | 74 65 72 22 3e 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 62 75 74 74 | ter">......................<butt |
174900 | 6f 6e 20 74 79 70 65 3d 22 69 6d 61 67 65 22 20 69 64 3d 22 69 6e 66 6f 42 6f 78 45 78 70 61 6e | on.type="image".id="infoBoxExpan |
174920 | 64 65 72 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | der"............................ |
174940 | 20 63 6c 61 73 73 3d 22 65 78 70 61 6e 64 65 72 2d 64 6f 77 6e 22 0a 20 20 20 20 20 20 20 20 20 | .class="expander-down".......... |
174960 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 50 6c | ...................oncommand="Pl |
174980 | 61 63 65 73 4f 72 67 61 6e 69 7a 65 72 2e 74 6f 67 67 6c 65 41 64 64 69 74 69 6f 6e 61 6c 49 6e | acesOrganizer.toggleAdditionalIn |
1749a0 | 66 6f 46 69 65 6c 64 73 28 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | foFields();".................... |
1749c0 | 20 20 20 20 20 20 20 20 20 6f 62 73 65 72 76 65 73 3d 22 70 61 6e 65 45 6c 65 6d 65 6e 74 73 42 | .........observes="paneElementsB |
1749e0 | 72 6f 61 64 63 61 73 74 65 72 22 2f 3e 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | roadcaster"/>................... |
174a00 | 20 20 20 3c 6c 61 62 65 6c 20 69 64 3d 22 69 6e 66 6f 42 6f 78 45 78 70 61 6e 64 65 72 4c 61 62 | ...<label.id="infoBoxExpanderLab |
174a20 | 65 6c 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c | el"............................l |
174a40 | 65 73 73 6c 61 62 65 6c 3d 22 26 64 65 74 61 69 6c 73 50 61 6e 65 2e 6c 65 73 73 2e 6c 61 62 65 | esslabel="&detailsPane.less.labe |
174a60 | 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c | l;"............................l |
174a80 | 65 73 73 61 63 63 65 73 73 6b 65 79 3d 22 26 64 65 74 61 69 6c 73 50 61 6e 65 2e 6c 65 73 73 2e | essaccesskey="&detailsPane.less. |
174aa0 | 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | accesskey;"..................... |
174ac0 | 20 20 20 20 20 20 20 6d 6f 72 65 6c 61 62 65 6c 3d 22 26 64 65 74 61 69 6c 73 50 61 6e 65 2e 6d | .......morelabel="&detailsPane.m |
174ae0 | 6f 72 65 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ore.label;"..................... |
174b00 | 20 20 20 20 20 20 20 6d 6f 72 65 61 63 63 65 73 73 6b 65 79 3d 22 26 64 65 74 61 69 6c 73 50 61 | .......moreaccesskey="&detailsPa |
174b20 | 6e 65 2e 6d 6f 72 65 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ne.more.accesskey;"............. |
174b40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 6c 75 65 3d 22 26 64 65 74 61 69 6c 73 50 61 | ...............value="&detailsPa |
174b60 | 6e 65 2e 6d 6f 72 65 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ne.more.label;"................. |
174b80 | 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 64 65 74 61 69 6c 73 50 61 | ...........accesskey="&detailsPa |
174ba0 | 6e 65 2e 6d 6f 72 65 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ne.more.accesskey;"............. |
174bc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6e 74 72 6f 6c 3d 22 69 6e 66 6f 42 6f 78 45 | ...............control="infoBoxE |
174be0 | 78 70 61 6e 64 65 72 22 2f 3e 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | xpander"/>...................... |
174c00 | 3c 73 70 61 63 65 72 20 66 6c 65 78 3d 22 31 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | <spacer.flex="1"/>.............. |
174c20 | 20 20 20 20 20 3c 2f 68 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 76 | .....</hbox>.................</v |
174c40 | 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 64 65 63 6b 3e 0a 20 20 20 20 20 | box>...............</deck>...... |
174c60 | 20 20 20 20 20 20 20 3c 2f 68 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 2f 76 62 6f 78 3e | .......</hbox>...........</vbox> |
174c80 | 0a 20 20 20 20 20 20 20 20 3c 2f 76 62 6f 78 3e 0a 20 20 20 20 20 20 3c 2f 64 65 63 6b 3e 0a 20 | .........</vbox>.......</deck>.. |
174ca0 | 20 20 20 3c 2f 76 62 6f 78 3e 0a 20 20 3c 2f 68 62 6f 78 3e 0a 3c 2f 77 69 6e 64 6f 77 3e 0a 50 | ...</vbox>...</hbox>.</window>.P |
174cc0 | 4b 03 04 14 00 00 00 00 00 f5 4b 18 3b f3 ee 19 d6 c8 c6 00 00 c8 c6 00 00 20 00 00 00 63 6f 6e | K.........K.;................con |
174ce0 | 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 6c 61 63 65 73 2f 70 6c 61 63 65 73 2e 6a 73 2f 2a 20 | tent/browser/places/places.js/*. |
174d00 | 2d 2a 2d 20 4d 6f 64 65 3a 20 43 2b 2b 3b 20 74 61 62 2d 77 69 64 74 68 3a 20 38 3b 20 69 6e 64 | -*-.Mode:.C++;.tab-width:.8;.ind |
174d20 | 65 6e 74 2d 74 61 62 73 2d 6d 6f 64 65 3a 20 6e 69 6c 3b 20 63 2d 62 61 73 69 63 2d 6f 66 66 73 | ent-tabs-mode:.nil;.c-basic-offs |
174d40 | 65 74 3a 20 32 20 2d 2a 2d 20 2a 2f 0a 2f 2a 20 2a 2a 2a 2a 2a 20 42 45 47 49 4e 20 4c 49 43 45 | et:.2.-*-.*/./*.*****.BEGIN.LICE |
174d60 | 4e 53 45 20 42 4c 4f 43 4b 20 2a 2a 2a 2a 2a 0a 20 2a 20 56 65 72 73 69 6f 6e 3a 20 4d 50 4c 20 | NSE.BLOCK.*****..*.Version:.MPL. |
174d80 | 31 2e 31 2f 47 50 4c 20 32 2e 30 2f 4c 47 50 4c 20 32 2e 31 0a 20 2a 0a 20 2a 20 54 68 65 20 63 | 1.1/GPL.2.0/LGPL.2.1..*..*.The.c |
174da0 | 6f 6e 74 65 6e 74 73 20 6f 66 20 74 68 69 73 20 66 69 6c 65 20 61 72 65 20 73 75 62 6a 65 63 74 | ontents.of.this.file.are.subject |
174dc0 | 20 74 6f 20 74 68 65 20 4d 6f 7a 69 6c 6c 61 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 20 56 | .to.the.Mozilla.Public.License.V |
174de0 | 65 72 73 69 6f 6e 0a 20 2a 20 31 2e 31 20 28 74 68 65 20 22 4c 69 63 65 6e 73 65 22 29 3b 20 79 | ersion..*.1.1.(the."License");.y |
174e00 | 6f 75 20 6d 61 79 20 6e 6f 74 20 75 73 65 20 74 68 69 73 20 66 69 6c 65 20 65 78 63 65 70 74 20 | ou.may.not.use.this.file.except. |
174e20 | 69 6e 20 63 6f 6d 70 6c 69 61 6e 63 65 20 77 69 74 68 0a 20 2a 20 74 68 65 20 4c 69 63 65 6e 73 | in.compliance.with..*.the.Licens |
174e40 | 65 2e 20 59 6f 75 20 6d 61 79 20 6f 62 74 61 69 6e 20 61 20 63 6f 70 79 20 6f 66 20 74 68 65 20 | e..You.may.obtain.a.copy.of.the. |
174e60 | 4c 69 63 65 6e 73 65 20 61 74 0a 20 2a 20 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c 61 | License.at..*.http://www.mozilla |
174e80 | 2e 6f 72 67 2f 4d 50 4c 2f 0a 20 2a 0a 20 2a 20 53 6f 66 74 77 61 72 65 20 64 69 73 74 72 69 62 | .org/MPL/..*..*.Software.distrib |
174ea0 | 75 74 65 64 20 75 6e 64 65 72 20 74 68 65 20 4c 69 63 65 6e 73 65 20 69 73 20 64 69 73 74 72 69 | uted.under.the.License.is.distri |
174ec0 | 62 75 74 65 64 20 6f 6e 20 61 6e 20 22 41 53 20 49 53 22 20 62 61 73 69 73 2c 0a 20 2a 20 57 49 | buted.on.an."AS.IS".basis,..*.WI |
174ee0 | 54 48 4f 55 54 20 57 41 52 52 41 4e 54 59 20 4f 46 20 41 4e 59 20 4b 49 4e 44 2c 20 65 69 74 68 | THOUT.WARRANTY.OF.ANY.KIND,.eith |
174f00 | 65 72 20 65 78 70 72 65 73 73 20 6f 72 20 69 6d 70 6c 69 65 64 2e 20 53 65 65 20 74 68 65 20 4c | er.express.or.implied..See.the.L |
174f20 | 69 63 65 6e 73 65 0a 20 2a 20 66 6f 72 20 74 68 65 20 73 70 65 63 69 66 69 63 20 6c 61 6e 67 75 | icense..*.for.the.specific.langu |
174f40 | 61 67 65 20 67 6f 76 65 72 6e 69 6e 67 20 72 69 67 68 74 73 20 61 6e 64 20 6c 69 6d 69 74 61 74 | age.governing.rights.and.limitat |
174f60 | 69 6f 6e 73 20 75 6e 64 65 72 20 74 68 65 0a 20 2a 20 4c 69 63 65 6e 73 65 2e 0a 20 2a 0a 20 2a | ions.under.the..*.License...*..* |
174f80 | 20 54 68 65 20 4f 72 69 67 69 6e 61 6c 20 43 6f 64 65 20 69 73 20 4d 6f 7a 69 6c 6c 61 20 50 6c | .The.Original.Code.is.Mozilla.Pl |
174fa0 | 61 63 65 73 20 4f 72 67 61 6e 69 7a 65 72 2e 0a 20 2a 0a 20 2a 20 54 68 65 20 49 6e 69 74 69 61 | aces.Organizer...*..*.The.Initia |
174fc0 | 6c 20 44 65 76 65 6c 6f 70 65 72 20 6f 66 20 74 68 65 20 4f 72 69 67 69 6e 61 6c 20 43 6f 64 65 | l.Developer.of.the.Original.Code |
174fe0 | 20 69 73 20 47 6f 6f 67 6c 65 20 49 6e 63 2e 0a 20 2a 20 50 6f 72 74 69 6f 6e 73 20 63 72 65 61 | .is.Google.Inc...*.Portions.crea |
175000 | 74 65 64 20 62 79 20 74 68 65 20 49 6e 69 74 69 61 6c 20 44 65 76 65 6c 6f 70 65 72 20 61 72 65 | ted.by.the.Initial.Developer.are |
175020 | 20 43 6f 70 79 72 69 67 68 74 20 28 43 29 20 32 30 30 35 2d 32 30 30 36 0a 20 2a 20 74 68 65 20 | .Copyright.(C).2005-2006..*.the. |
175040 | 49 6e 69 74 69 61 6c 20 44 65 76 65 6c 6f 70 65 72 2e 20 41 6c 6c 20 52 69 67 68 74 73 20 52 65 | Initial.Developer..All.Rights.Re |
175060 | 73 65 72 76 65 64 2e 0a 20 2a 0a 20 2a 20 43 6f 6e 74 72 69 62 75 74 6f 72 28 73 29 3a 0a 20 2a | served...*..*.Contributor(s):..* |
175080 | 20 20 20 42 65 6e 20 47 6f 6f 64 67 65 72 20 3c 62 65 6e 67 40 67 6f 6f 67 6c 65 2e 63 6f 6d 3e | ...Ben.Goodger.<beng@google.com> |
1750a0 | 0a 20 2a 20 20 20 41 6e 6e 69 65 20 53 75 6c 6c 69 76 61 6e 20 3c 61 6e 6e 69 65 2e 73 75 6c 6c | ..*...Annie.Sullivan.<annie.sull |
1750c0 | 69 76 61 6e 40 67 6d 61 69 6c 2e 63 6f 6d 3e 0a 20 2a 20 20 20 41 73 61 66 20 52 6f 6d 61 6e 6f | ivan@gmail.com>..*...Asaf.Romano |
1750e0 | 20 3c 6d 61 6e 6f 40 6d 6f 7a 69 6c 6c 61 2e 63 6f 6d 3e 0a 20 2a 20 20 20 45 68 73 61 6e 20 41 | .<mano@mozilla.com>..*...Ehsan.A |
175100 | 6b 68 67 61 72 69 20 3c 65 68 73 61 6e 2e 61 6b 68 67 61 72 69 40 67 6d 61 69 6c 2e 63 6f 6d 3e | khgari.<ehsan.akhgari@gmail.com> |
175120 | 0a 20 2a 20 20 20 44 72 65 77 20 57 69 6c 6c 63 6f 78 6f 6e 20 3c 61 64 77 40 6d 6f 7a 69 6c 6c | ..*...Drew.Willcoxon.<adw@mozill |
175140 | 61 2e 63 6f 6d 3e 0a 20 2a 0a 20 2a 20 41 6c 74 65 72 6e 61 74 69 76 65 6c 79 2c 20 74 68 65 20 | a.com>..*..*.Alternatively,.the. |
175160 | 63 6f 6e 74 65 6e 74 73 20 6f 66 20 74 68 69 73 20 66 69 6c 65 20 6d 61 79 20 62 65 20 75 73 65 | contents.of.this.file.may.be.use |
175180 | 64 20 75 6e 64 65 72 20 74 68 65 20 74 65 72 6d 73 20 6f 66 0a 20 2a 20 65 69 74 68 65 72 20 74 | d.under.the.terms.of..*.either.t |
1751a0 | 68 65 20 47 4e 55 20 47 65 6e 65 72 61 6c 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 20 56 65 | he.GNU.General.Public.License.Ve |
1751c0 | 72 73 69 6f 6e 20 32 20 6f 72 20 6c 61 74 65 72 20 28 74 68 65 20 22 47 50 4c 22 29 2c 20 6f 72 | rsion.2.or.later.(the."GPL"),.or |
1751e0 | 0a 20 2a 20 74 68 65 20 47 4e 55 20 4c 65 73 73 65 72 20 47 65 6e 65 72 61 6c 20 50 75 62 6c 69 | ..*.the.GNU.Lesser.General.Publi |
175200 | 63 20 4c 69 63 65 6e 73 65 20 56 65 72 73 69 6f 6e 20 32 2e 31 20 6f 72 20 6c 61 74 65 72 20 28 | c.License.Version.2.1.or.later.( |
175220 | 74 68 65 20 22 4c 47 50 4c 22 29 2c 0a 20 2a 20 69 6e 20 77 68 69 63 68 20 63 61 73 65 20 74 68 | the."LGPL"),..*.in.which.case.th |
175240 | 65 20 70 72 6f 76 69 73 69 6f 6e 73 20 6f 66 20 74 68 65 20 47 50 4c 20 6f 72 20 74 68 65 20 4c | e.provisions.of.the.GPL.or.the.L |
175260 | 47 50 4c 20 61 72 65 20 61 70 70 6c 69 63 61 62 6c 65 20 69 6e 73 74 65 61 64 0a 20 2a 20 6f 66 | GPL.are.applicable.instead..*.of |
175280 | 20 74 68 6f 73 65 20 61 62 6f 76 65 2e 20 49 66 20 79 6f 75 20 77 69 73 68 20 74 6f 20 61 6c 6c | .those.above..If.you.wish.to.all |
1752a0 | 6f 77 20 75 73 65 20 6f 66 20 79 6f 75 72 20 76 65 72 73 69 6f 6e 20 6f 66 20 74 68 69 73 20 66 | ow.use.of.your.version.of.this.f |
1752c0 | 69 6c 65 20 6f 6e 6c 79 0a 20 2a 20 75 6e 64 65 72 20 74 68 65 20 74 65 72 6d 73 20 6f 66 20 65 | ile.only..*.under.the.terms.of.e |
1752e0 | 69 74 68 65 72 20 74 68 65 20 47 50 4c 20 6f 72 20 74 68 65 20 4c 47 50 4c 2c 20 61 6e 64 20 6e | ither.the.GPL.or.the.LGPL,.and.n |
175300 | 6f 74 20 74 6f 20 61 6c 6c 6f 77 20 6f 74 68 65 72 73 20 74 6f 0a 20 2a 20 75 73 65 20 79 6f 75 | ot.to.allow.others.to..*.use.you |
175320 | 72 20 76 65 72 73 69 6f 6e 20 6f 66 20 74 68 69 73 20 66 69 6c 65 20 75 6e 64 65 72 20 74 68 65 | r.version.of.this.file.under.the |
175340 | 20 74 65 72 6d 73 20 6f 66 20 74 68 65 20 4d 50 4c 2c 20 69 6e 64 69 63 61 74 65 20 79 6f 75 72 | .terms.of.the.MPL,.indicate.your |
175360 | 0a 20 2a 20 64 65 63 69 73 69 6f 6e 20 62 79 20 64 65 6c 65 74 69 6e 67 20 74 68 65 20 70 72 6f | ..*.decision.by.deleting.the.pro |
175380 | 76 69 73 69 6f 6e 73 20 61 62 6f 76 65 20 61 6e 64 20 72 65 70 6c 61 63 65 20 74 68 65 6d 20 77 | visions.above.and.replace.them.w |
1753a0 | 69 74 68 20 74 68 65 20 6e 6f 74 69 63 65 0a 20 2a 20 61 6e 64 20 6f 74 68 65 72 20 70 72 6f 76 | ith.the.notice..*.and.other.prov |
1753c0 | 69 73 69 6f 6e 73 20 72 65 71 75 69 72 65 64 20 62 79 20 74 68 65 20 47 50 4c 20 6f 72 20 74 68 | isions.required.by.the.GPL.or.th |
1753e0 | 65 20 4c 47 50 4c 2e 20 49 66 20 79 6f 75 20 64 6f 20 6e 6f 74 20 64 65 6c 65 74 65 0a 20 2a 20 | e.LGPL..If.you.do.not.delete..*. |
175400 | 74 68 65 20 70 72 6f 76 69 73 69 6f 6e 73 20 61 62 6f 76 65 2c 20 61 20 72 65 63 69 70 69 65 6e | the.provisions.above,.a.recipien |
175420 | 74 20 6d 61 79 20 75 73 65 20 79 6f 75 72 20 76 65 72 73 69 6f 6e 20 6f 66 20 74 68 69 73 20 66 | t.may.use.your.version.of.this.f |
175440 | 69 6c 65 20 75 6e 64 65 72 0a 20 2a 20 74 68 65 20 74 65 72 6d 73 20 6f 66 20 61 6e 79 20 6f 6e | ile.under..*.the.terms.of.any.on |
175460 | 65 20 6f 66 20 74 68 65 20 4d 50 4c 2c 20 74 68 65 20 47 50 4c 20 6f 72 20 74 68 65 20 4c 47 50 | e.of.the.MPL,.the.GPL.or.the.LGP |
175480 | 4c 2e 0a 20 2a 0a 20 2a 20 2a 2a 2a 2a 2a 20 45 4e 44 20 4c 49 43 45 4e 53 45 20 42 4c 4f 43 4b | L...*..*.*****.END.LICENSE.BLOCK |
1754a0 | 20 2a 2a 2a 2a 2a 20 2a 2f 0a 0a 76 61 72 20 50 6c 61 63 65 73 4f 72 67 61 6e 69 7a 65 72 20 3d | .*****.*/..var.PlacesOrganizer.= |
1754c0 | 20 7b 0a 20 20 5f 70 6c 61 63 65 73 3a 20 6e 75 6c 6c 2c 0a 20 20 5f 63 6f 6e 74 65 6e 74 3a 20 | .{..._places:.null,..._content:. |
1754e0 | 6e 75 6c 6c 2c 0a 0a 20 20 5f 69 6e 69 74 46 6f 6c 64 65 72 54 72 65 65 3a 20 66 75 6e 63 74 69 | null,...._initFolderTree:.functi |
175500 | 6f 6e 28 29 20 7b 0a 20 20 20 20 76 61 72 20 6c 65 66 74 50 61 6e 65 52 6f 6f 74 20 3d 20 50 6c | on().{.....var.leftPaneRoot.=.Pl |
175520 | 61 63 65 73 55 49 55 74 69 6c 73 2e 6c 65 66 74 50 61 6e 65 46 6f 6c 64 65 72 49 64 3b 0a 20 20 | acesUIUtils.leftPaneFolderId;... |
175540 | 20 20 74 68 69 73 2e 5f 70 6c 61 63 65 73 2e 70 6c 61 63 65 20 3d 20 22 70 6c 61 63 65 3a 65 78 | ..this._places.place.=."place:ex |
175560 | 63 6c 75 64 65 49 74 65 6d 73 3d 31 26 65 78 70 61 6e 64 51 75 65 72 69 65 73 3d 30 26 66 6f 6c | cludeItems=1&expandQueries=0&fol |
175580 | 64 65 72 3d 22 20 2b 20 6c 65 66 74 50 61 6e 65 52 6f 6f 74 3b 0a 20 20 7d 2c 0a 0a 20 20 73 65 | der=".+.leftPaneRoot;...},....se |
1755a0 | 6c 65 63 74 4c 65 66 74 50 61 6e 65 51 75 65 72 79 3a 20 66 75 6e 63 74 69 6f 6e 20 50 4f 5f 73 | lectLeftPaneQuery:.function.PO_s |
1755c0 | 65 6c 65 63 74 4c 65 66 74 50 61 6e 65 51 75 65 72 79 28 61 51 75 65 72 79 4e 61 6d 65 29 20 7b | electLeftPaneQuery(aQueryName).{ |
1755e0 | 0a 20 20 20 20 76 61 72 20 69 74 65 6d 49 64 20 3d 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e | .....var.itemId.=.PlacesUIUtils. |
175600 | 6c 65 66 74 50 61 6e 65 51 75 65 72 69 65 73 5b 61 51 75 65 72 79 4e 61 6d 65 5d 3b 0a 20 20 20 | leftPaneQueries[aQueryName];.... |
175620 | 20 74 68 69 73 2e 5f 70 6c 61 63 65 73 2e 73 65 6c 65 63 74 49 74 65 6d 73 28 5b 69 74 65 6d 49 | .this._places.selectItems([itemI |
175640 | 64 5d 29 3b 0a 20 20 20 20 2f 2f 20 46 6f 72 63 65 66 75 6c 6c 79 20 65 78 70 61 6e 64 20 61 6c | d]);.....//.Forcefully.expand.al |
175660 | 6c 2d 62 6f 6f 6b 6d 61 72 6b 73 0a 20 20 20 20 69 66 20 28 61 51 75 65 72 79 4e 61 6d 65 20 3d | l-bookmarks.....if.(aQueryName.= |
175680 | 3d 20 22 41 6c 6c 42 6f 6f 6b 6d 61 72 6b 73 22 29 0a 20 20 20 20 20 20 61 73 43 6f 6e 74 61 69 | =."AllBookmarks").......asContai |
1756a0 | 6e 65 72 28 74 68 69 73 2e 5f 70 6c 61 63 65 73 2e 73 65 6c 65 63 74 65 64 4e 6f 64 65 29 2e 63 | ner(this._places.selectedNode).c |
1756c0 | 6f 6e 74 61 69 6e 65 72 4f 70 65 6e 20 3d 20 74 72 75 65 3b 0a 20 20 7d 2c 0a 0a 20 20 69 6e 69 | ontainerOpen.=.true;...},....ini |
1756e0 | 74 3a 20 66 75 6e 63 74 69 6f 6e 20 50 4f 5f 69 6e 69 74 28 29 20 7b 0a 20 20 20 20 74 68 69 73 | t:.function.PO_init().{.....this |
175700 | 2e 5f 70 6c 61 63 65 73 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 | ._places.=.document.getElementBy |
175720 | 49 64 28 22 70 6c 61 63 65 73 4c 69 73 74 22 29 3b 0a 20 20 20 20 74 68 69 73 2e 5f 63 6f 6e 74 | Id("placesList");.....this._cont |
175740 | 65 6e 74 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 70 | ent.=.document.getElementById("p |
175760 | 6c 61 63 65 43 6f 6e 74 65 6e 74 22 29 3b 0a 20 20 20 20 74 68 69 73 2e 5f 69 6e 69 74 46 6f 6c | laceContent");.....this._initFol |
175780 | 64 65 72 54 72 65 65 28 29 3b 0a 0a 20 20 20 20 76 61 72 20 6c 65 66 74 50 61 6e 65 53 65 6c 65 | derTree();......var.leftPaneSele |
1757a0 | 63 74 69 6f 6e 20 3d 20 22 41 6c 6c 42 6f 6f 6b 6d 61 72 6b 73 22 3b 20 2f 2f 20 64 65 66 61 75 | ction.=."AllBookmarks";.//.defau |
1757c0 | 6c 74 20 74 6f 20 61 6c 6c 2d 62 6f 6f 6b 6d 61 72 6b 73 0a 20 20 20 20 69 66 20 28 22 61 72 67 | lt.to.all-bookmarks.....if.("arg |
1757e0 | 75 6d 65 6e 74 73 22 20 69 6e 20 77 69 6e 64 6f 77 20 26 26 20 77 69 6e 64 6f 77 2e 61 72 67 75 | uments".in.window.&&.window.argu |
175800 | 6d 65 6e 74 73 2e 6c 65 6e 67 74 68 20 3e 20 30 29 0a 20 20 20 20 20 20 6c 65 66 74 50 61 6e 65 | ments.length.>.0).......leftPane |
175820 | 53 65 6c 65 63 74 69 6f 6e 20 3d 20 77 69 6e 64 6f 77 2e 61 72 67 75 6d 65 6e 74 73 5b 30 5d 3b | Selection.=.window.arguments[0]; |
175840 | 0a 0a 20 20 20 20 74 68 69 73 2e 73 65 6c 65 63 74 4c 65 66 74 50 61 6e 65 51 75 65 72 79 28 6c | ......this.selectLeftPaneQuery(l |
175860 | 65 66 74 50 61 6e 65 53 65 6c 65 63 74 69 6f 6e 29 3b 0a 20 20 20 20 2f 2f 20 63 6c 65 61 72 20 | eftPaneSelection);.....//.clear. |
175880 | 74 68 65 20 62 61 63 6b 2d 73 74 61 63 6b 0a 20 20 20 20 74 68 69 73 2e 5f 62 61 63 6b 48 69 73 | the.back-stack.....this._backHis |
1758a0 | 74 6f 72 79 2e 73 70 6c 69 63 65 28 30 29 3b 0a 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 | tory.splice(0);.....document.get |
1758c0 | 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 4f 72 67 61 6e 69 7a 65 72 43 6f 6d 6d 61 6e 64 3a 42 61 | ElementById("OrganizerCommand:Ba |
1758e0 | 63 6b 22 29 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 64 69 73 61 62 6c 65 64 22 2c 20 74 72 | ck").setAttribute("disabled",.tr |
175900 | 75 65 29 3b 0a 0a 20 20 20 20 76 61 72 20 76 69 65 77 20 3d 20 74 68 69 73 2e 5f 63 6f 6e 74 65 | ue);......var.view.=.this._conte |
175920 | 6e 74 2e 74 72 65 65 42 6f 78 4f 62 6a 65 63 74 2e 76 69 65 77 3b 0a 20 20 20 20 69 66 20 28 76 | nt.treeBoxObject.view;.....if.(v |
175940 | 69 65 77 2e 72 6f 77 43 6f 75 6e 74 20 3e 20 30 29 0a 20 20 20 20 20 20 76 69 65 77 2e 73 65 6c | iew.rowCount.>.0).......view.sel |
175960 | 65 63 74 69 6f 6e 2e 73 65 6c 65 63 74 28 30 29 3b 0a 0a 20 20 20 20 74 68 69 73 2e 5f 63 6f 6e | ection.select(0);......this._con |
175980 | 74 65 6e 74 2e 66 6f 63 75 73 28 29 3b 0a 0a 20 20 20 20 2f 2f 20 53 65 74 20 75 70 20 74 68 65 | tent.focus();......//.Set.up.the |
1759a0 | 20 73 65 61 72 63 68 20 55 49 2e 0a 20 20 20 20 50 6c 61 63 65 73 53 65 61 72 63 68 42 6f 78 2e | .search.UI......PlacesSearchBox. |
1759c0 | 69 6e 69 74 28 29 3b 0a 0a 2f 2f 40 6c 69 6e 65 20 38 36 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a | init();..//@line.86."/builds/moz |
1759e0 | 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 | 2_slave/linux_build/build/browse |
175a00 | 72 2f 63 6f 6d 70 6f 6e 65 6e 74 73 2f 70 6c 61 63 65 73 2f 63 6f 6e 74 65 6e 74 2f 70 6c 61 63 | r/components/places/content/plac |
175a20 | 65 73 2e 6a 73 22 0a 0a 20 20 20 20 77 69 6e 64 6f 77 2e 61 64 64 45 76 65 6e 74 4c 69 73 74 65 | es.js"......window.addEventListe |
175a40 | 6e 65 72 28 22 41 70 70 43 6f 6d 6d 61 6e 64 22 2c 20 74 68 69 73 2c 20 74 72 75 65 29 3b 0a 2f | ner("AppCommand",.this,.true);./ |
175a60 | 2f 40 6c 69 6e 65 20 31 30 39 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c | /@line.109."/builds/moz2_slave/l |
175a80 | 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 63 6f 6d 70 6f 6e 65 | inux_build/build/browser/compone |
175aa0 | 6e 74 73 2f 70 6c 61 63 65 73 2f 63 6f 6e 74 65 6e 74 2f 70 6c 61 63 65 73 2e 6a 73 22 0a 0a 20 | nts/places/content/places.js"... |
175ac0 | 20 20 20 2f 2f 20 72 65 6d 6f 76 65 20 74 68 65 20 22 50 72 6f 70 65 72 74 69 65 73 22 20 63 6f | ...//.remove.the."Properties".co |
175ae0 | 6e 74 65 78 74 2d 6d 65 6e 75 20 69 74 65 6d 2c 20 77 65 27 76 65 20 6f 75 72 20 6f 77 6e 20 64 | ntext-menu.item,.we've.our.own.d |
175b00 | 65 74 61 69 6c 73 20 70 61 6e 65 0a 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d | etails.pane.....document.getElem |
175b20 | 65 6e 74 42 79 49 64 28 22 70 6c 61 63 65 73 43 6f 6e 74 65 78 74 22 29 0a 20 20 20 20 20 20 20 | entById("placesContext")........ |
175b40 | 20 20 20 20 20 2e 72 65 6d 6f 76 65 43 68 69 6c 64 28 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c | ......removeChild(document.getEl |
175b60 | 65 6d 65 6e 74 42 79 49 64 28 22 70 6c 61 63 65 73 43 6f 6e 74 65 78 74 5f 73 68 6f 77 3a 69 6e | ementById("placesContext_show:in |
175b80 | 66 6f 22 29 29 3b 0a 20 20 7d 2c 0a 0a 20 20 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 3a 20 66 | fo"));...},....QueryInterface:.f |
175ba0 | 75 6e 63 74 69 6f 6e 20 50 4f 5f 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 28 61 49 49 44 29 20 | unction.PO_QueryInterface(aIID). |
175bc0 | 7b 0a 20 20 20 20 69 66 20 28 61 49 49 44 2e 65 71 75 61 6c 73 28 43 6f 6d 70 6f 6e 65 6e 74 73 | {.....if.(aIID.equals(Components |
175be0 | 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 44 4f 4d 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 29 | .interfaces.nsIDOMEventListener) |
175c00 | 20 7c 7c 0a 20 20 20 20 20 20 20 20 61 49 49 44 2e 65 71 75 61 6c 73 28 43 6f 6d 70 6f 6e 65 6e | .||.........aIID.equals(Componen |
175c20 | 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 53 75 70 70 6f 72 74 73 29 29 0a 20 20 20 20 | ts.interfaces.nsISupports))..... |
175c40 | 20 20 72 65 74 75 72 6e 20 74 68 69 73 3b 0a 0a 20 20 20 20 74 68 72 6f 77 20 43 6f 6d 70 6f 6e | ..return.this;......throw.Compon |
175c60 | 65 6e 74 73 2e 72 65 73 75 6c 74 73 2e 4e 53 5f 4e 4f 49 4e 54 45 52 46 41 43 45 3b 0a 20 20 7d | ents.results.NS_NOINTERFACE;...} |
175c80 | 2c 0a 0a 20 20 68 61 6e 64 6c 65 45 76 65 6e 74 3a 20 66 75 6e 63 74 69 6f 6e 20 50 4f 5f 68 61 | ,....handleEvent:.function.PO_ha |
175ca0 | 6e 64 6c 65 45 76 65 6e 74 28 61 45 76 65 6e 74 29 20 7b 0a 20 20 20 20 69 66 20 28 61 45 76 65 | ndleEvent(aEvent).{.....if.(aEve |
175cc0 | 6e 74 2e 74 79 70 65 20 21 3d 20 22 41 70 70 43 6f 6d 6d 61 6e 64 22 29 0a 20 20 20 20 20 20 72 | nt.type.!=."AppCommand").......r |
175ce0 | 65 74 75 72 6e 3b 0a 0a 20 20 20 20 61 45 76 65 6e 74 2e 73 74 6f 70 50 72 6f 70 61 67 61 74 69 | eturn;......aEvent.stopPropagati |
175d00 | 6f 6e 28 29 3b 0a 20 20 20 20 73 77 69 74 63 68 20 28 61 45 76 65 6e 74 2e 63 6f 6d 6d 61 6e 64 | on();.....switch.(aEvent.command |
175d20 | 29 20 7b 0a 20 20 20 20 20 20 63 61 73 65 20 22 42 61 63 6b 22 3a 0a 20 20 20 20 20 20 20 20 69 | ).{.......case."Back":.........i |
175d40 | 66 20 28 74 68 69 73 2e 5f 62 61 63 6b 48 69 73 74 6f 72 79 2e 6c 65 6e 67 74 68 20 3e 20 30 29 | f.(this._backHistory.length.>.0) |
175d60 | 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 62 61 63 6b 28 29 3b 0a 20 20 20 20 20 20 20 20 | ...........this.back();......... |
175d80 | 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 63 61 73 65 20 22 46 6f 72 77 61 72 64 22 3a 0a 20 20 20 | break;.......case."Forward":.... |
175da0 | 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 66 6f 72 77 61 72 64 48 69 73 74 6f 72 79 2e 6c 65 | .....if.(this._forwardHistory.le |
175dc0 | 6e 67 74 68 20 3e 20 30 29 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 66 6f 72 77 61 72 64 | ngth.>.0)...........this.forward |
175de0 | 28 29 3b 0a 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 63 61 73 65 20 22 53 | ();.........break;.......case."S |
175e00 | 65 61 72 63 68 22 3a 0a 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 53 65 61 72 63 68 42 6f 78 2e | earch":.........PlacesSearchBox. |
175e20 | 66 69 6e 64 41 6c 6c 28 29 3b 0a 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 7d 0a | findAll();.........break;.....}. |
175e40 | 20 20 7d 2c 0a 0a 20 20 64 65 73 74 72 6f 79 3a 20 66 75 6e 63 74 69 6f 6e 20 50 4f 5f 64 65 73 | ..},....destroy:.function.PO_des |
175e60 | 74 72 6f 79 28 29 20 7b 0a 20 20 7d 2c 0a 0a 20 20 5f 6c 6f 63 61 74 69 6f 6e 3a 20 6e 75 6c 6c | troy().{...},...._location:.null |
175e80 | 2c 0a 20 20 67 65 74 20 6c 6f 63 61 74 69 6f 6e 28 29 20 7b 0a 20 20 20 20 72 65 74 75 72 6e 20 | ,...get.location().{.....return. |
175ea0 | 74 68 69 73 2e 5f 6c 6f 63 61 74 69 6f 6e 3b 0a 20 20 7d 2c 0a 0a 20 20 73 65 74 20 6c 6f 63 61 | this._location;...},....set.loca |
175ec0 | 74 69 6f 6e 28 61 4c 6f 63 61 74 69 6f 6e 29 20 7b 0a 20 20 20 20 69 66 20 28 21 61 4c 6f 63 61 | tion(aLocation).{.....if.(!aLoca |
175ee0 | 74 69 6f 6e 20 7c 7c 20 74 68 69 73 2e 5f 6c 6f 63 61 74 69 6f 6e 20 3d 3d 20 61 4c 6f 63 61 74 | tion.||.this._location.==.aLocat |
175f00 | 69 6f 6e 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 61 4c 6f 63 61 74 69 6f 6e 3b 0a 0a 20 20 | ion).......return.aLocation;.... |
175f20 | 20 20 69 66 20 28 74 68 69 73 2e 6c 6f 63 61 74 69 6f 6e 29 20 7b 0a 20 20 20 20 20 20 74 68 69 | ..if.(this.location).{.......thi |
175f40 | 73 2e 5f 62 61 63 6b 48 69 73 74 6f 72 79 2e 75 6e 73 68 69 66 74 28 74 68 69 73 2e 6c 6f 63 61 | s._backHistory.unshift(this.loca |
175f60 | 74 69 6f 6e 29 3b 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 66 6f 72 77 61 72 64 48 69 73 74 6f 72 | tion);.......this._forwardHistor |
175f80 | 79 2e 73 70 6c 69 63 65 28 30 29 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 74 68 69 73 2e 5f 6c 6f | y.splice(0);.....}......this._lo |
175fa0 | 63 61 74 69 6f 6e 20 3d 20 61 4c 6f 63 61 74 69 6f 6e 3b 0a 20 20 20 20 74 68 69 73 2e 5f 70 6c | cation.=.aLocation;.....this._pl |
175fc0 | 61 63 65 73 2e 73 65 6c 65 63 74 50 6c 61 63 65 55 52 49 28 61 4c 6f 63 61 74 69 6f 6e 29 3b 0a | aces.selectPlaceURI(aLocation);. |
175fe0 | 0a 20 20 20 20 69 66 20 28 21 74 68 69 73 2e 5f 70 6c 61 63 65 73 2e 68 61 73 53 65 6c 65 63 74 | .....if.(!this._places.hasSelect |
176000 | 69 6f 6e 29 20 7b 0a 20 20 20 20 20 20 2f 2f 20 49 66 20 6e 6f 20 6e 6f 64 65 20 77 61 73 20 66 | ion).{.......//.If.no.node.was.f |
176020 | 6f 75 6e 64 20 66 6f 72 20 74 68 65 20 67 69 76 65 6e 20 70 6c 61 63 65 3a 20 75 72 69 2c 20 6a | ound.for.the.given.place:.uri,.j |
176040 | 75 73 74 20 6c 6f 61 64 20 69 74 20 64 69 72 65 63 74 6c 79 0a 20 20 20 20 20 20 74 68 69 73 2e | ust.load.it.directly.......this. |
176060 | 5f 63 6f 6e 74 65 6e 74 2e 70 6c 61 63 65 20 3d 20 61 4c 6f 63 61 74 69 6f 6e 3b 0a 20 20 20 20 | _content.place.=.aLocation;..... |
176080 | 7d 0a 20 20 20 20 74 68 69 73 2e 6f 6e 43 6f 6e 74 65 6e 74 54 72 65 65 53 65 6c 65 63 74 28 29 | }.....this.onContentTreeSelect() |
1760a0 | 3b 0a 0a 20 20 20 20 2f 2f 20 75 70 64 61 74 65 20 6e 61 76 69 67 61 74 69 6f 6e 20 63 6f 6d 6d | ;......//.update.navigation.comm |
1760c0 | 61 6e 64 73 0a 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 62 61 63 6b 48 69 73 74 6f 72 79 2e 6c | ands.....if.(this._backHistory.l |
1760e0 | 65 6e 67 74 68 20 3d 3d 20 30 29 0a 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c | ength.==.0).......document.getEl |
176100 | 65 6d 65 6e 74 42 79 49 64 28 22 4f 72 67 61 6e 69 7a 65 72 43 6f 6d 6d 61 6e 64 3a 42 61 63 6b | ementById("OrganizerCommand:Back |
176120 | 22 29 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 64 69 73 61 62 6c 65 64 22 2c 20 74 72 75 65 | ").setAttribute("disabled",.true |
176140 | 29 3b 0a 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c | );.....else.......document.getEl |
176160 | 65 6d 65 6e 74 42 79 49 64 28 22 4f 72 67 61 6e 69 7a 65 72 43 6f 6d 6d 61 6e 64 3a 42 61 63 6b | ementById("OrganizerCommand:Back |
176180 | 22 29 2e 72 65 6d 6f 76 65 41 74 74 72 69 62 75 74 65 28 22 64 69 73 61 62 6c 65 64 22 29 3b 0a | ").removeAttribute("disabled");. |
1761a0 | 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 66 6f 72 77 61 72 64 48 69 73 74 6f 72 79 2e 6c 65 6e | ....if.(this._forwardHistory.len |
1761c0 | 67 74 68 20 3d 3d 20 30 29 0a 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d | gth.==.0).......document.getElem |
1761e0 | 65 6e 74 42 79 49 64 28 22 4f 72 67 61 6e 69 7a 65 72 43 6f 6d 6d 61 6e 64 3a 46 6f 72 77 61 72 | entById("OrganizerCommand:Forwar |
176200 | 64 22 29 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 64 69 73 61 62 6c 65 64 22 2c 20 74 72 75 | d").setAttribute("disabled",.tru |
176220 | 65 29 3b 0a 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 | e);.....else.......document.getE |
176240 | 6c 65 6d 65 6e 74 42 79 49 64 28 22 4f 72 67 61 6e 69 7a 65 72 43 6f 6d 6d 61 6e 64 3a 46 6f 72 | lementById("OrganizerCommand:For |
176260 | 77 61 72 64 22 29 2e 72 65 6d 6f 76 65 41 74 74 72 69 62 75 74 65 28 22 64 69 73 61 62 6c 65 64 | ward").removeAttribute("disabled |
176280 | 22 29 3b 0a 0a 20 20 20 20 72 65 74 75 72 6e 20 61 4c 6f 63 61 74 69 6f 6e 3b 0a 20 20 7d 2c 0a | ");......return.aLocation;...},. |
1762a0 | 0a 20 20 5f 62 61 63 6b 48 69 73 74 6f 72 79 3a 20 5b 5d 2c 0a 20 20 5f 66 6f 72 77 61 72 64 48 | ..._backHistory:.[],..._forwardH |
1762c0 | 69 73 74 6f 72 79 3a 20 5b 5d 2c 0a 0a 20 20 62 61 63 6b 3a 20 66 75 6e 63 74 69 6f 6e 20 50 4f | istory:.[],....back:.function.PO |
1762e0 | 5f 62 61 63 6b 28 29 20 7b 0a 20 20 20 20 74 68 69 73 2e 5f 66 6f 72 77 61 72 64 48 69 73 74 6f | _back().{.....this._forwardHisto |
176300 | 72 79 2e 75 6e 73 68 69 66 74 28 74 68 69 73 2e 6c 6f 63 61 74 69 6f 6e 29 3b 0a 20 20 20 20 76 | ry.unshift(this.location);.....v |
176320 | 61 72 20 68 69 73 74 6f 72 79 45 6e 74 72 79 20 3d 20 74 68 69 73 2e 5f 62 61 63 6b 48 69 73 74 | ar.historyEntry.=.this._backHist |
176340 | 6f 72 79 2e 73 68 69 66 74 28 29 3b 0a 20 20 20 20 74 68 69 73 2e 5f 6c 6f 63 61 74 69 6f 6e 20 | ory.shift();.....this._location. |
176360 | 3d 20 6e 75 6c 6c 3b 0a 20 20 20 20 74 68 69 73 2e 6c 6f 63 61 74 69 6f 6e 20 3d 20 68 69 73 74 | =.null;.....this.location.=.hist |
176380 | 6f 72 79 45 6e 74 72 79 3b 0a 20 20 7d 2c 0a 20 20 66 6f 72 77 61 72 64 3a 20 66 75 6e 63 74 69 | oryEntry;...},...forward:.functi |
1763a0 | 6f 6e 20 50 4f 5f 66 6f 72 77 61 72 64 28 29 20 7b 0a 20 20 20 20 74 68 69 73 2e 5f 62 61 63 6b | on.PO_forward().{.....this._back |
1763c0 | 48 69 73 74 6f 72 79 2e 75 6e 73 68 69 66 74 28 74 68 69 73 2e 6c 6f 63 61 74 69 6f 6e 29 3b 0a | History.unshift(this.location);. |
1763e0 | 20 20 20 20 76 61 72 20 68 69 73 74 6f 72 79 45 6e 74 72 79 20 3d 20 74 68 69 73 2e 5f 66 6f 72 | ....var.historyEntry.=.this._for |
176400 | 77 61 72 64 48 69 73 74 6f 72 79 2e 73 68 69 66 74 28 29 3b 0a 20 20 20 20 74 68 69 73 2e 5f 6c | wardHistory.shift();.....this._l |
176420 | 6f 63 61 74 69 6f 6e 20 3d 20 6e 75 6c 6c 3b 0a 20 20 20 20 74 68 69 73 2e 6c 6f 63 61 74 69 6f | ocation.=.null;.....this.locatio |
176440 | 6e 20 3d 20 68 69 73 74 6f 72 79 45 6e 74 72 79 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 | n.=.historyEntry;...},..../**... |
176460 | 20 2a 20 43 61 6c 6c 65 64 20 77 68 65 6e 20 61 20 70 6c 61 63 65 20 66 6f 6c 64 65 72 20 69 73 | .*.Called.when.a.place.folder.is |
176480 | 20 73 65 6c 65 63 74 65 64 20 69 6e 20 74 68 65 20 6c 65 66 74 20 70 61 6e 65 2e 0a 20 20 20 2a | .selected.in.the.left.pane.....* |
1764a0 | 20 40 70 61 72 61 6d 20 20 20 72 65 73 65 74 53 65 61 72 63 68 42 6f 78 0a 20 20 20 2a 20 20 20 | .@param...resetSearchBox....*... |
1764c0 | 20 20 20 20 20 20 20 74 72 75 65 20 69 66 20 74 68 65 20 73 65 61 72 63 68 20 62 6f 78 20 73 68 | .......true.if.the.search.box.sh |
1764e0 | 6f 75 6c 64 20 61 6c 73 6f 20 62 65 20 72 65 73 65 74 2c 20 66 61 6c 73 65 20 6f 74 68 65 72 77 | ould.also.be.reset,.false.otherw |
176500 | 69 73 65 2e 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 54 68 65 20 73 65 61 72 63 68 20 62 6f | ise.....*..........The.search.bo |
176520 | 78 20 73 68 6f 75 6c 64 20 62 65 20 72 65 73 65 74 20 77 68 65 6e 20 61 20 6e 65 77 20 66 6f 6c | x.should.be.reset.when.a.new.fol |
176540 | 64 65 72 20 69 6e 20 74 68 65 20 6c 65 66 74 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 70 61 | der.in.the.left....*..........pa |
176560 | 6e 65 20 69 73 20 73 65 6c 65 63 74 65 64 3b 20 74 68 65 20 73 65 61 72 63 68 20 73 63 6f 70 65 | ne.is.selected;.the.search.scope |
176580 | 20 61 6e 64 20 74 65 78 74 20 6e 65 65 64 20 74 6f 20 62 65 20 63 6c 65 61 72 65 64 20 69 6e 0a | .and.text.need.to.be.cleared.in. |
1765a0 | 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 70 72 65 70 61 72 61 74 69 6f 6e 20 66 6f 72 20 74 68 | ...*..........preparation.for.th |
1765c0 | 65 20 6e 65 77 20 66 6f 6c 64 65 72 2e 20 20 4e 6f 74 65 20 74 68 61 74 20 69 66 20 74 68 65 20 | e.new.folder...Note.that.if.the. |
1765e0 | 75 73 65 72 20 6d 61 6e 75 61 6c 6c 79 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 72 65 73 65 | user.manually....*..........rese |
176600 | 74 73 20 74 68 65 20 73 65 61 72 63 68 20 62 6f 78 2c 20 65 69 74 68 65 72 20 62 79 20 63 6c 69 | ts.the.search.box,.either.by.cli |
176620 | 63 6b 69 6e 67 20 69 74 73 20 72 65 73 65 74 20 62 75 74 74 6f 6e 20 6f 72 20 62 79 0a 20 20 20 | cking.its.reset.button.or.by.... |
176640 | 2a 20 20 20 20 20 20 20 20 20 20 64 65 6c 65 74 69 6e 67 20 69 74 73 20 74 65 78 74 2c 20 74 68 | *..........deleting.its.text,.th |
176660 | 69 73 20 77 69 6c 6c 20 62 65 20 66 61 6c 73 65 2e 0a 20 20 20 2a 2f 0a 20 20 5f 63 61 63 68 65 | is.will.be.false.....*/..._cache |
176680 | 64 4c 65 66 74 50 61 6e 65 53 65 6c 65 63 74 65 64 55 52 49 3a 20 6e 75 6c 6c 2c 0a 20 20 6f 6e | dLeftPaneSelectedURI:.null,...on |
1766a0 | 50 6c 61 63 65 53 65 6c 65 63 74 65 64 3a 20 66 75 6e 63 74 69 6f 6e 20 50 4f 5f 6f 6e 50 6c 61 | PlaceSelected:.function.PO_onPla |
1766c0 | 63 65 53 65 6c 65 63 74 65 64 28 72 65 73 65 74 53 65 61 72 63 68 42 6f 78 29 20 7b 0a 20 20 20 | ceSelected(resetSearchBox).{.... |
1766e0 | 20 2f 2f 20 44 6f 6e 27 74 20 63 68 61 6e 67 65 20 74 68 65 20 72 69 67 68 74 2d 68 61 6e 64 20 | .//.Don't.change.the.right-hand. |
176700 | 70 61 6e 65 20 63 6f 6e 74 65 6e 74 73 20 77 68 65 6e 20 74 68 65 72 65 27 73 20 6e 6f 20 73 65 | pane.contents.when.there's.no.se |
176720 | 6c 65 63 74 69 6f 6e 2e 0a 20 20 20 20 69 66 20 28 21 74 68 69 73 2e 5f 70 6c 61 63 65 73 2e 68 | lection......if.(!this._places.h |
176740 | 61 73 53 65 6c 65 63 74 69 6f 6e 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 20 20 | asSelection).......return;...... |
176760 | 76 61 72 20 6e 6f 64 65 20 3d 20 74 68 69 73 2e 5f 70 6c 61 63 65 73 2e 73 65 6c 65 63 74 65 64 | var.node.=.this._places.selected |
176780 | 4e 6f 64 65 3b 0a 20 20 20 20 76 61 72 20 71 75 65 72 69 65 73 20 3d 20 61 73 51 75 65 72 79 28 | Node;.....var.queries.=.asQuery( |
1767a0 | 6e 6f 64 65 29 2e 67 65 74 51 75 65 72 69 65 73 28 7b 7d 29 3b 0a 0a 20 20 20 20 2f 2f 20 49 74 | node).getQueries({});......//.It |
1767c0 | 65 6d 73 20 61 72 65 20 6f 6e 6c 79 20 65 78 63 6c 75 64 65 64 20 6f 6e 20 74 68 65 20 6c 65 66 | ems.are.only.excluded.on.the.lef |
1767e0 | 74 20 70 61 6e 65 2e 0a 20 20 20 20 76 61 72 20 6f 70 74 69 6f 6e 73 20 3d 20 6e 6f 64 65 2e 71 | t.pane......var.options.=.node.q |
176800 | 75 65 72 79 4f 70 74 69 6f 6e 73 2e 63 6c 6f 6e 65 28 29 3b 0a 20 20 20 20 6f 70 74 69 6f 6e 73 | ueryOptions.clone();.....options |
176820 | 2e 65 78 63 6c 75 64 65 49 74 65 6d 73 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 76 61 72 20 70 | .excludeItems.=.false;.....var.p |
176840 | 6c 61 63 65 55 52 49 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 68 69 73 74 6f 72 79 2e 71 75 | laceURI.=.PlacesUtils.history.qu |
176860 | 65 72 69 65 73 54 6f 51 75 65 72 79 53 74 72 69 6e 67 28 71 75 65 72 69 65 73 2c 0a 20 20 20 20 | eriesToQueryString(queries,..... |
176880 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
1768a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 71 75 65 72 69 65 73 2e | ........................queries. |
1768c0 | 6c 65 6e 67 74 68 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | length,......................... |
1768e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
176900 | 20 20 20 20 6f 70 74 69 6f 6e 73 29 3b 0a 0a 20 20 20 20 2f 2f 20 49 66 20 65 69 74 68 65 72 20 | ....options);......//.If.either. |
176920 | 74 68 65 20 70 6c 61 63 65 20 6f 66 20 74 68 65 20 63 6f 6e 74 65 6e 74 20 74 72 65 65 20 69 6e | the.place.of.the.content.tree.in |
176940 | 20 74 68 65 20 72 69 67 68 74 20 70 61 6e 65 20 68 61 73 20 63 68 61 6e 67 65 64 20 6f 72 0a 20 | .the.right.pane.has.changed.or.. |
176960 | 20 20 20 2f 2f 20 74 68 65 20 75 73 65 72 20 63 6c 65 61 72 65 64 20 74 68 65 20 73 65 61 72 63 | ...//.the.user.cleared.the.searc |
176980 | 68 20 62 6f 78 2c 20 75 70 64 61 74 65 20 74 68 65 20 70 6c 61 63 65 2c 20 68 69 64 65 20 74 68 | h.box,.update.the.place,.hide.th |
1769a0 | 65 20 73 65 61 72 63 68 20 55 49 2c 0a 20 20 20 20 2f 2f 20 61 6e 64 20 75 70 64 61 74 65 20 74 | e.search.UI,.....//.and.update.t |
1769c0 | 68 65 20 62 61 63 6b 2f 66 6f 72 77 61 72 64 20 62 75 74 74 6f 6e 73 20 62 79 20 73 65 74 74 69 | he.back/forward.buttons.by.setti |
1769e0 | 6e 67 20 6c 6f 63 61 74 69 6f 6e 2e 0a 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 63 6f 6e 74 65 | ng.location......if.(this._conte |
176a00 | 6e 74 2e 70 6c 61 63 65 20 21 3d 20 70 6c 61 63 65 55 52 49 20 7c 7c 20 21 72 65 73 65 74 53 65 | nt.place.!=.placeURI.||.!resetSe |
176a20 | 61 72 63 68 42 6f 78 29 20 7b 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 63 6f 6e 74 65 6e 74 2e 70 | archBox).{.......this._content.p |
176a40 | 6c 61 63 65 20 3d 20 70 6c 61 63 65 55 52 49 3b 0a 20 20 20 20 20 20 50 6c 61 63 65 73 53 65 61 | lace.=.placeURI;.......PlacesSea |
176a60 | 72 63 68 42 6f 78 2e 68 69 64 65 53 65 61 72 63 68 55 49 28 29 3b 0a 20 20 20 20 20 20 74 68 69 | rchBox.hideSearchUI();.......thi |
176a80 | 73 2e 6c 6f 63 61 74 69 6f 6e 20 3d 20 6e 6f 64 65 2e 75 72 69 3b 0a 20 20 20 20 7d 0a 0a 20 20 | s.location.=.node.uri;.....}.... |
176aa0 | 20 20 2f 2f 20 55 70 64 61 74 65 20 74 68 65 20 73 65 6c 65 63 74 65 64 20 66 6f 6c 64 65 72 20 | ..//.Update.the.selected.folder. |
176ac0 | 74 69 74 6c 65 20 77 68 65 72 65 20 69 74 20 61 70 70 65 61 72 73 20 69 6e 20 74 68 65 20 55 49 | title.where.it.appears.in.the.UI |
176ae0 | 3a 20 74 68 65 20 66 6f 6c 64 65 72 0a 20 20 20 20 2f 2f 20 73 63 6f 70 65 20 62 75 74 74 6f 6e | :.the.folder.....//.scope.button |
176b00 | 2c 20 22 46 69 6e 64 20 69 6e 20 3c 63 75 72 72 65 6e 74 20 63 6f 6c 6c 65 63 74 69 6f 6e 3e 22 | ,."Find.in.<current.collection>" |
176b20 | 20 63 6f 6d 6d 61 6e 64 2c 20 61 6e 64 20 74 68 65 20 73 65 61 72 63 68 20 62 6f 78 0a 20 20 20 | .command,.and.the.search.box.... |
176b40 | 20 2f 2f 20 65 6d 70 74 79 74 65 78 74 2e 20 20 54 68 65 79 20 6d 75 73 74 20 62 65 20 75 70 64 | .//.emptytext...They.must.be.upd |
176b60 | 61 74 65 64 20 65 76 65 6e 20 69 66 20 74 68 65 20 73 65 6c 65 63 74 69 6f 6e 20 68 61 73 6e 27 | ated.even.if.the.selection.hasn' |
176b80 | 74 20 63 68 61 6e 67 65 64 20 2d 2d 0a 20 20 20 20 2f 2f 20 73 70 65 63 69 66 69 63 61 6c 6c 79 | t.changed.--.....//.specifically |
176ba0 | 20 77 68 65 6e 20 6e 6f 64 65 27 73 20 74 69 74 6c 65 20 63 68 61 6e 67 65 73 2e 20 20 49 6e 20 | .when.node's.title.changes...In. |
176bc0 | 74 68 61 74 20 63 61 73 65 20 61 20 73 65 6c 65 63 74 69 6f 6e 20 65 76 65 6e 74 0a 20 20 20 20 | that.case.a.selection.event..... |
176be0 | 2f 2f 20 69 73 20 67 65 6e 65 72 61 74 65 64 2c 20 74 68 69 73 20 6d 65 74 68 6f 64 20 69 73 20 | //.is.generated,.this.method.is. |
176c00 | 63 61 6c 6c 65 64 2c 20 62 75 74 20 74 68 65 20 73 65 6c 65 63 74 69 6f 6e 20 64 6f 65 73 20 6e | called,.but.the.selection.does.n |
176c20 | 6f 74 20 63 68 61 6e 67 65 2e 0a 20 20 20 20 76 61 72 20 66 6f 6c 64 65 72 42 75 74 74 6f 6e 20 | ot.change......var.folderButton. |
176c40 | 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 73 63 6f 70 65 | =.document.getElementById("scope |
176c60 | 42 61 72 46 6f 6c 64 65 72 22 29 3b 0a 20 20 20 20 76 61 72 20 66 6f 6c 64 65 72 54 69 74 6c 65 | BarFolder");.....var.folderTitle |
176c80 | 20 3d 20 6e 6f 64 65 2e 74 69 74 6c 65 20 7c 7c 20 66 6f 6c 64 65 72 42 75 74 74 6f 6e 2e 67 65 | .=.node.title.||.folderButton.ge |
176ca0 | 74 41 74 74 72 69 62 75 74 65 28 22 65 6d 70 74 79 74 69 74 6c 65 22 29 3b 0a 20 20 20 20 66 6f | tAttribute("emptytitle");.....fo |
176cc0 | 6c 64 65 72 42 75 74 74 6f 6e 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 6c 61 62 65 6c 22 2c | lderButton.setAttribute("label", |
176ce0 | 20 66 6f 6c 64 65 72 54 69 74 6c 65 29 3b 0a 20 20 20 20 76 61 72 20 63 6d 64 20 3d 20 64 6f 63 | .folderTitle);.....var.cmd.=.doc |
176d00 | 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 4f 72 67 61 6e 69 7a 65 72 43 | ument.getElementById("OrganizerC |
176d20 | 6f 6d 6d 61 6e 64 5f 66 69 6e 64 3a 63 75 72 72 65 6e 74 22 29 3b 0a 20 20 20 20 76 61 72 20 6c | ommand_find:current");.....var.l |
176d40 | 61 62 65 6c 20 3d 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 67 65 74 46 6f 72 6d 61 74 74 65 | abel.=.PlacesUIUtils.getFormatte |
176d60 | 64 53 74 72 69 6e 67 28 22 66 69 6e 64 49 6e 50 72 65 66 69 78 22 2c 20 5b 66 6f 6c 64 65 72 54 | dString("findInPrefix",.[folderT |
176d80 | 69 74 6c 65 5d 29 3b 0a 20 20 20 20 63 6d 64 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 6c 61 | itle]);.....cmd.setAttribute("la |
176da0 | 62 65 6c 22 2c 20 6c 61 62 65 6c 29 3b 0a 20 20 20 20 69 66 20 28 50 6c 61 63 65 73 53 65 61 72 | bel",.label);.....if.(PlacesSear |
176dc0 | 63 68 42 6f 78 2e 66 69 6c 74 65 72 43 6f 6c 6c 65 63 74 69 6f 6e 20 3d 3d 20 22 63 6f 6c 6c 65 | chBox.filterCollection.==."colle |
176de0 | 63 74 69 6f 6e 22 29 0a 20 20 20 20 20 20 50 6c 61 63 65 73 53 65 61 72 63 68 42 6f 78 2e 75 70 | ction").......PlacesSearchBox.up |
176e00 | 64 61 74 65 43 6f 6c 6c 65 63 74 69 6f 6e 54 69 74 6c 65 28 66 6f 6c 64 65 72 54 69 74 6c 65 29 | dateCollectionTitle(folderTitle) |
176e20 | 3b 0a 0a 20 20 20 20 2f 2f 20 57 68 65 6e 20 77 65 20 69 6e 76 61 6c 69 64 61 74 65 20 61 20 63 | ;......//.When.we.invalidate.a.c |
176e40 | 6f 6e 74 61 69 6e 65 72 20 77 65 20 75 73 65 20 73 75 70 70 72 65 73 73 53 65 6c 65 63 74 69 6f | ontainer.we.use.suppressSelectio |
176e60 | 6e 45 76 65 6e 74 2c 20 77 68 65 6e 20 69 74 20 69 73 0a 20 20 20 20 2f 2f 20 75 6e 73 65 74 20 | nEvent,.when.it.is.....//.unset. |
176e80 | 61 20 73 65 6c 65 63 74 20 65 76 65 6e 74 20 69 73 20 66 69 72 65 64 2c 20 69 6e 20 6d 61 6e 79 | a.select.event.is.fired,.in.many |
176ea0 | 20 63 61 73 65 73 20 74 68 65 20 73 65 6c 65 63 74 69 6f 6e 20 64 69 64 20 6e 6f 74 20 72 65 61 | .cases.the.selection.did.not.rea |
176ec0 | 6c 6c 79 0a 20 20 20 20 2f 2f 20 63 68 61 6e 67 65 2c 20 73 6f 20 77 65 20 73 68 6f 75 6c 64 20 | lly.....//.change,.so.we.should. |
176ee0 | 63 68 65 63 6b 20 66 6f 72 20 69 74 2c 20 61 6e 64 20 72 65 74 75 72 6e 20 65 61 72 6c 79 20 69 | check.for.it,.and.return.early.i |
176f00 | 6e 20 73 75 63 68 20 61 20 63 61 73 65 2e 20 4e 6f 74 65 0a 20 20 20 20 2f 2f 20 74 68 61 74 20 | n.such.a.case..Note.....//.that. |
176f20 | 77 65 20 63 61 6e 6e 6f 74 20 72 65 74 75 72 6e 20 61 6e 79 20 65 61 72 6c 69 65 72 20 74 68 61 | we.cannot.return.any.earlier.tha |
176f40 | 6e 20 74 68 69 73 20 70 6f 69 6e 74 2c 20 62 65 63 61 75 73 65 20 77 68 65 6e 0a 20 20 20 20 2f | n.this.point,.because.when...../ |
176f60 | 2f 20 21 72 65 73 65 74 53 65 61 72 63 68 42 6f 78 2c 20 77 65 20 6e 65 65 64 20 74 6f 20 75 70 | /.!resetSearchBox,.we.need.to.up |
176f80 | 64 61 74 65 20 6c 6f 63 61 74 69 6f 6e 20 61 6e 64 20 68 69 64 65 20 74 68 65 20 55 49 20 61 73 | date.location.and.hide.the.UI.as |
176fa0 | 20 61 62 6f 76 65 2c 0a 20 20 20 20 2f 2f 20 65 76 65 6e 20 74 68 6f 75 67 68 20 74 68 65 20 73 | .above,.....//.even.though.the.s |
176fc0 | 65 6c 65 63 74 69 6f 6e 20 68 61 73 20 6e 6f 74 20 63 68 61 6e 67 65 64 2e 0a 20 20 20 20 69 66 | election.has.not.changed......if |
176fe0 | 20 28 6e 6f 64 65 2e 75 72 69 20 3d 3d 20 74 68 69 73 2e 5f 63 61 63 68 65 64 4c 65 66 74 50 61 | .(node.uri.==.this._cachedLeftPa |
177000 | 6e 65 53 65 6c 65 63 74 65 64 55 52 49 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 20 | neSelectedURI).......return;.... |
177020 | 20 74 68 69 73 2e 5f 63 61 63 68 65 64 4c 65 66 74 50 61 6e 65 53 65 6c 65 63 74 65 64 55 52 49 | .this._cachedLeftPaneSelectedURI |
177040 | 20 3d 20 6e 6f 64 65 2e 75 72 69 3b 0a 0a 20 20 20 20 2f 2f 20 41 74 20 74 68 69 73 20 70 6f 69 | .=.node.uri;......//.At.this.poi |
177060 | 6e 74 2c 20 72 65 73 65 74 53 65 61 72 63 68 42 6f 78 20 69 73 20 74 72 75 65 2c 20 62 65 63 61 | nt,.resetSearchBox.is.true,.beca |
177080 | 75 73 65 20 74 68 65 20 6c 65 66 74 20 70 61 6e 65 20 73 65 6c 65 63 74 69 6f 6e 0a 20 20 20 20 | use.the.left.pane.selection..... |
1770a0 | 2f 2f 20 68 61 73 20 63 68 61 6e 67 65 64 3b 20 6f 74 68 65 72 77 69 73 65 20 77 65 20 77 6f 75 | //.has.changed;.otherwise.we.wou |
1770c0 | 6c 64 20 68 61 76 65 20 72 65 74 75 72 6e 65 64 20 65 61 72 6c 69 65 72 2e 0a 0a 20 20 20 20 50 | ld.have.returned.earlier.......P |
1770e0 | 6c 61 63 65 73 53 65 61 72 63 68 42 6f 78 2e 73 65 61 72 63 68 46 69 6c 74 65 72 2e 72 65 73 65 | lacesSearchBox.searchFilter.rese |
177100 | 74 28 29 3b 0a 20 20 20 20 74 68 69 73 2e 5f 73 65 74 53 65 61 72 63 68 53 63 6f 70 65 46 6f 72 | t();.....this._setSearchScopeFor |
177120 | 4e 6f 64 65 28 6e 6f 64 65 29 3b 0a 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 70 6c 61 63 65 73 | Node(node);.....if.(this._places |
177140 | 2e 74 72 65 65 42 6f 78 4f 62 6a 65 63 74 2e 66 6f 63 75 73 65 64 29 0a 20 20 20 20 20 20 74 68 | .treeBoxObject.focused).......th |
177160 | 69 73 2e 5f 66 69 6c 6c 44 65 74 61 69 6c 73 50 61 6e 65 28 5b 6e 6f 64 65 5d 29 3b 0a 20 20 7d | is._fillDetailsPane([node]);...} |
177180 | 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 53 65 74 73 20 74 68 65 20 73 65 61 72 63 68 20 73 63 | ,..../**....*.Sets.the.search.sc |
1771a0 | 6f 70 65 20 62 61 73 65 64 20 6f 6e 20 61 4e 6f 64 65 27 73 20 70 72 6f 70 65 72 74 69 65 73 2e | ope.based.on.aNode's.properties. |
1771c0 | 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 20 20 61 4e 6f 64 65 0a 20 20 20 2a 20 20 20 20 20 20 20 | ....*.@param...aNode....*....... |
1771e0 | 20 20 20 74 68 65 20 6e 6f 64 65 20 74 6f 20 73 65 74 20 75 70 20 73 63 6f 70 65 20 66 72 6f 6d | ...the.node.to.set.up.scope.from |
177200 | 0a 20 20 20 2a 2f 0a 20 20 5f 73 65 74 53 65 61 72 63 68 53 63 6f 70 65 46 6f 72 4e 6f 64 65 3a | ....*/..._setSearchScopeForNode: |
177220 | 20 66 75 6e 63 74 69 6f 6e 20 50 4f 5f 5f 73 65 74 53 63 6f 70 65 46 6f 72 4e 6f 64 65 28 61 4e | .function.PO__setScopeForNode(aN |
177240 | 6f 64 65 29 20 7b 0a 20 20 20 20 76 61 72 20 69 74 65 6d 49 64 20 3d 20 61 4e 6f 64 65 2e 69 74 | ode).{.....var.itemId.=.aNode.it |
177260 | 65 6d 49 64 3b 0a 20 20 20 20 69 66 20 28 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 | emId;.....if.(PlacesUtils.nodeIs |
177280 | 48 69 73 74 6f 72 79 43 6f 6e 74 61 69 6e 65 72 28 61 4e 6f 64 65 29 20 7c 7c 0a 20 20 20 20 20 | HistoryContainer(aNode).||...... |
1772a0 | 20 20 20 69 74 65 6d 49 64 20 3d 3d 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 6c 65 66 74 50 | ...itemId.==.PlacesUIUtils.leftP |
1772c0 | 61 6e 65 51 75 65 72 69 65 73 5b 22 48 69 73 74 6f 72 79 22 5d 29 20 7b 0a 20 20 20 20 20 20 50 | aneQueries["History"]).{.......P |
1772e0 | 6c 61 63 65 73 51 75 65 72 79 42 75 69 6c 64 65 72 2e 73 65 74 53 63 6f 70 65 28 22 68 69 73 74 | lacesQueryBuilder.setScope("hist |
177300 | 6f 72 79 22 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 2f 2f 20 44 65 66 61 75 6c 74 20 74 6f 20 41 | ory");.....}.....//.Default.to.A |
177320 | 6c 6c 20 42 6f 6f 6b 6d 61 72 6b 73 20 66 6f 72 20 61 6c 6c 20 6f 74 68 65 72 20 6e 6f 64 65 73 | ll.Bookmarks.for.all.other.nodes |
177340 | 2c 20 70 65 72 20 62 75 67 20 34 36 39 34 33 37 2e 0a 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 | ,.per.bug.469437......else...... |
177360 | 20 50 6c 61 63 65 73 51 75 65 72 79 42 75 69 6c 64 65 72 2e 73 65 74 53 63 6f 70 65 28 22 62 6f | .PlacesQueryBuilder.setScope("bo |
177380 | 6f 6b 6d 61 72 6b 73 22 29 3b 0a 0a 20 20 20 20 2f 2f 20 45 6e 61 62 6c 65 20 6f 72 20 64 69 73 | okmarks");......//.Enable.or.dis |
1773a0 | 61 62 6c 65 20 74 68 65 20 66 6f 6c 64 65 72 20 73 63 6f 70 65 20 62 75 74 74 6f 6e 2e 0a 20 20 | able.the.folder.scope.button.... |
1773c0 | 20 20 76 61 72 20 66 6f 6c 64 65 72 42 75 74 74 6f 6e 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 | ..var.folderButton.=.document.ge |
1773e0 | 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 73 63 6f 70 65 42 61 72 46 6f 6c 64 65 72 22 29 3b 0a | tElementById("scopeBarFolder");. |
177400 | 20 20 20 20 66 6f 6c 64 65 72 42 75 74 74 6f 6e 2e 68 69 64 64 65 6e 20 3d 20 21 50 6c 61 63 65 | ....folderButton.hidden.=.!Place |
177420 | 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 46 6f 6c 64 65 72 28 61 4e 6f 64 65 29 20 7c 7c 0a 20 20 | sUtils.nodeIsFolder(aNode).||... |
177440 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 74 65 6d 49 64 20 3d | ........................itemId.= |
177460 | 3d 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 61 6c 6c 42 6f 6f 6b 6d 61 72 6b 73 46 6f 6c 64 | =.PlacesUIUtils.allBookmarksFold |
177480 | 65 72 49 64 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 48 61 6e 64 6c 65 20 63 6c | erId;...},..../**....*.Handle.cl |
1774a0 | 69 63 6b 73 20 6f 6e 20 74 68 65 20 74 72 65 65 2e 0a 20 20 20 2a 20 53 69 6e 67 6c 65 20 4c 65 | icks.on.the.tree.....*.Single.Le |
1774c0 | 66 74 20 63 6c 69 63 6b 2c 20 72 69 67 68 74 20 63 6c 69 63 6b 20 6f 72 20 6d 6f 64 69 66 69 65 | ft.click,.right.click.or.modifie |
1774e0 | 64 20 63 6c 69 63 6b 20 64 6f 20 6e 6f 74 20 72 65 73 75 6c 74 20 69 6e 20 61 6e 79 0a 20 20 20 | d.click.do.not.result.in.any.... |
177500 | 2a 20 73 70 65 63 69 61 6c 20 61 63 74 69 6f 6e 2c 20 73 69 6e 63 65 20 74 68 65 79 27 72 65 20 | *.special.action,.since.they're. |
177520 | 72 65 6c 61 74 65 64 20 74 6f 20 73 65 6c 65 63 74 69 6f 6e 2e 0a 20 20 20 2a 20 40 70 61 72 61 | related.to.selection.....*.@para |
177540 | 6d 20 20 20 61 45 76 65 6e 74 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 54 68 65 20 6d 6f 75 | m...aEvent....*..........The.mou |
177560 | 73 65 20 65 76 65 6e 74 2e 0a 20 20 20 2a 2f 0a 20 20 6f 6e 54 72 65 65 43 6c 69 63 6b 3a 20 66 | se.event.....*/...onTreeClick:.f |
177580 | 75 6e 63 74 69 6f 6e 20 50 4f 5f 6f 6e 54 72 65 65 43 6c 69 63 6b 28 61 45 76 65 6e 74 29 20 7b | unction.PO_onTreeClick(aEvent).{ |
1775a0 | 0a 20 20 20 20 2f 2f 20 4f 6e 6c 79 20 68 61 6e 64 6c 65 20 63 6c 69 63 6b 73 20 6f 6e 20 74 72 | .....//.Only.handle.clicks.on.tr |
1775c0 | 65 65 20 63 68 69 6c 64 72 65 6e 2e 0a 20 20 20 20 69 66 20 28 61 45 76 65 6e 74 2e 74 61 72 67 | ee.children......if.(aEvent.targ |
1775e0 | 65 74 2e 6c 6f 63 61 6c 4e 61 6d 65 20 21 3d 20 22 74 72 65 65 63 68 69 6c 64 72 65 6e 22 29 0a | et.localName.!=."treechildren"). |
177600 | 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 20 20 76 61 72 20 63 75 72 72 65 6e 74 56 69 | ......return;......var.currentVi |
177620 | 65 77 20 3d 20 61 45 76 65 6e 74 2e 63 75 72 72 65 6e 74 54 61 72 67 65 74 3b 0a 20 20 20 20 76 | ew.=.aEvent.currentTarget;.....v |
177640 | 61 72 20 73 65 6c 65 63 74 65 64 4e 6f 64 65 20 3d 20 63 75 72 72 65 6e 74 56 69 65 77 2e 73 65 | ar.selectedNode.=.currentView.se |
177660 | 6c 65 63 74 65 64 4e 6f 64 65 3b 0a 20 20 20 20 69 66 20 28 73 65 6c 65 63 74 65 64 4e 6f 64 65 | lectedNode;.....if.(selectedNode |
177680 | 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 64 6f 75 62 6c 65 43 6c 69 63 6b 4f 6e 46 6c 61 74 4c | ).{.......var.doubleClickOnFlatL |
1776a0 | 69 73 74 20 3d 20 28 61 45 76 65 6e 74 2e 62 75 74 74 6f 6e 20 3d 3d 20 30 20 26 26 20 61 45 76 | ist.=.(aEvent.button.==.0.&&.aEv |
1776c0 | 65 6e 74 2e 64 65 74 61 69 6c 20 3d 3d 20 32 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ent.detail.==.2.&&.............. |
1776e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 45 76 65 6e 74 2e 74 61 72 | ......................aEvent.tar |
177700 | 67 65 74 2e 70 61 72 65 6e 74 4e 6f 64 65 2e 66 6c 61 74 4c 69 73 74 29 3b 0a 20 20 20 20 20 20 | get.parentNode.flatList);....... |
177720 | 76 61 72 20 6d 69 64 64 6c 65 43 6c 69 63 6b 20 3d 20 28 61 45 76 65 6e 74 2e 62 75 74 74 6f 6e | var.middleClick.=.(aEvent.button |
177740 | 20 3d 3d 20 31 20 26 26 20 61 45 76 65 6e 74 2e 64 65 74 61 69 6c 20 3d 3d 20 31 29 3b 0a 0a 20 | .==.1.&&.aEvent.detail.==.1);... |
177760 | 20 20 20 20 20 69 66 20 28 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 55 52 49 28 73 | .....if.(PlacesUtils.nodeIsURI(s |
177780 | 65 6c 65 63 74 65 64 4e 6f 64 65 29 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 28 64 6f 75 62 6c | electedNode).&&...........(doubl |
1777a0 | 65 43 6c 69 63 6b 4f 6e 46 6c 61 74 4c 69 73 74 20 7c 7c 20 6d 69 64 64 6c 65 43 6c 69 63 6b 29 | eClickOnFlatList.||.middleClick) |
1777c0 | 29 20 7b 0a 20 20 20 20 20 20 20 20 2f 2f 20 4f 70 65 6e 20 61 73 73 6f 63 69 61 74 65 64 20 75 | ).{.........//.Open.associated.u |
1777e0 | 72 69 20 69 6e 20 74 68 65 20 62 72 6f 77 73 65 72 2e 0a 20 20 20 20 20 20 20 20 50 6c 61 63 65 | ri.in.the.browser..........Place |
177800 | 73 4f 72 67 61 6e 69 7a 65 72 2e 6f 70 65 6e 53 65 6c 65 63 74 65 64 4e 6f 64 65 28 61 45 76 65 | sOrganizer.openSelectedNode(aEve |
177820 | 6e 74 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 65 6c 73 65 20 69 66 20 28 6d 69 64 64 | nt);.......}.......else.if.(midd |
177840 | 6c 65 43 6c 69 63 6b 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 | leClick.&&................Places |
177860 | 55 74 69 6c 73 2e 6e 6f 64 65 49 73 43 6f 6e 74 61 69 6e 65 72 28 73 65 6c 65 63 74 65 64 4e 6f | Utils.nodeIsContainer(selectedNo |
177880 | 64 65 29 29 20 7b 0a 20 20 20 20 20 20 20 20 2f 2f 20 54 68 65 20 63 6f 6d 6d 61 6e 64 20 65 78 | de)).{.........//.The.command.ex |
1778a0 | 65 63 75 74 69 6f 6e 20 66 75 6e 63 74 69 6f 6e 20 77 69 6c 6c 20 74 61 6b 65 20 63 61 72 65 20 | ecution.function.will.take.care. |
1778c0 | 6f 66 20 73 65 65 69 6e 67 20 69 66 20 74 68 65 0a 20 20 20 20 20 20 20 20 2f 2f 20 73 65 6c 65 | of.seeing.if.the.........//.sele |
1778e0 | 63 74 69 6f 6e 20 69 73 20 61 20 66 6f 6c 64 65 72 20 6f 72 20 61 20 64 69 66 66 65 72 65 6e 74 | ction.is.a.folder.or.a.different |
177900 | 20 63 6f 6e 74 61 69 6e 65 72 20 74 79 70 65 2c 20 61 6e 64 20 77 69 6c 6c 0a 20 20 20 20 20 20 | .container.type,.and.will....... |
177920 | 20 20 2f 2f 20 6c 6f 61 64 20 69 74 73 20 63 6f 6e 74 65 6e 74 73 20 69 6e 20 74 61 62 73 2e 0a | ..//.load.its.contents.in.tabs.. |
177940 | 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 6f 70 65 6e 43 6f 6e 74 61 69 | ........PlacesUIUtils.openContai |
177960 | 6e 65 72 4e 6f 64 65 49 6e 54 61 62 73 28 73 65 6c 65 63 74 65 64 4e 6f 64 65 2c 20 61 45 76 65 | nerNodeInTabs(selectedNode,.aEve |
177980 | 6e 74 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 | nt);.......}.....}...},..../**.. |
1779a0 | 20 20 2a 20 48 61 6e 64 6c 65 20 66 6f 63 75 73 20 63 68 61 6e 67 65 73 20 6f 6e 20 74 68 65 20 | ..*.Handle.focus.changes.on.the. |
1779c0 | 74 72 65 65 73 2e 0a 20 20 20 2a 20 57 68 65 6e 20 6d 6f 76 69 6e 67 20 66 6f 63 75 73 20 62 65 | trees.....*.When.moving.focus.be |
1779e0 | 74 77 65 65 6e 20 70 61 6e 65 73 20 77 65 20 73 68 6f 75 6c 64 20 75 70 64 61 74 65 20 74 68 65 | tween.panes.we.should.update.the |
177a00 | 20 64 65 74 61 69 6c 73 20 70 61 6e 65 20 63 6f 6e 74 65 6e 74 73 2e 0a 20 20 20 2a 20 40 70 61 | .details.pane.contents.....*.@pa |
177a20 | 72 61 6d 20 20 20 61 45 76 65 6e 74 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 54 68 65 20 6d | ram...aEvent....*..........The.m |
177a40 | 6f 75 73 65 20 65 76 65 6e 74 2e 0a 20 20 20 2a 2f 0a 20 20 6f 6e 54 72 65 65 46 6f 63 75 73 3a | ouse.event.....*/...onTreeFocus: |
177a60 | 20 66 75 6e 63 74 69 6f 6e 20 50 4f 5f 6f 6e 54 72 65 65 46 6f 63 75 73 28 61 45 76 65 6e 74 29 | .function.PO_onTreeFocus(aEvent) |
177a80 | 20 7b 0a 20 20 20 20 76 61 72 20 63 75 72 72 65 6e 74 56 69 65 77 20 3d 20 61 45 76 65 6e 74 2e | .{.....var.currentView.=.aEvent. |
177aa0 | 63 75 72 72 65 6e 74 54 61 72 67 65 74 3b 0a 20 20 20 20 76 61 72 20 73 65 6c 65 63 74 65 64 4e | currentTarget;.....var.selectedN |
177ac0 | 6f 64 65 73 20 3d 20 63 75 72 72 65 6e 74 56 69 65 77 2e 73 65 6c 65 63 74 65 64 4e 6f 64 65 20 | odes.=.currentView.selectedNode. |
177ae0 | 3f 20 5b 63 75 72 72 65 6e 74 56 69 65 77 2e 73 65 6c 65 63 74 65 64 4e 6f 64 65 5d 20 3a 0a 20 | ?.[currentView.selectedNode].:.. |
177b00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 63 6f 6e | .......................this._con |
177b20 | 74 65 6e 74 2e 67 65 74 53 65 6c 65 63 74 69 6f 6e 4e 6f 64 65 73 28 29 3b 0a 20 20 20 20 74 68 | tent.getSelectionNodes();.....th |
177b40 | 69 73 2e 5f 66 69 6c 6c 44 65 74 61 69 6c 73 50 61 6e 65 28 73 65 6c 65 63 74 65 64 4e 6f 64 65 | is._fillDetailsPane(selectedNode |
177b60 | 73 29 3b 0a 20 20 7d 2c 0a 0a 20 20 6f 70 65 6e 46 6c 61 74 43 6f 6e 74 61 69 6e 65 72 3a 20 66 | s);...},....openFlatContainer:.f |
177b80 | 75 6e 63 74 69 6f 6e 20 50 4f 5f 6f 70 65 6e 46 6c 61 74 43 6f 6e 74 61 69 6e 65 72 46 6c 61 74 | unction.PO_openFlatContainerFlat |
177ba0 | 43 6f 6e 74 61 69 6e 65 72 28 61 43 6f 6e 74 61 69 6e 65 72 29 20 7b 0a 20 20 20 20 69 66 20 28 | Container(aContainer).{.....if.( |
177bc0 | 61 43 6f 6e 74 61 69 6e 65 72 2e 69 74 65 6d 49 64 20 21 3d 20 2d 31 29 0a 20 20 20 20 20 20 74 | aContainer.itemId.!=.-1).......t |
177be0 | 68 69 73 2e 5f 70 6c 61 63 65 73 2e 73 65 6c 65 63 74 49 74 65 6d 73 28 5b 61 43 6f 6e 74 61 69 | his._places.selectItems([aContai |
177c00 | 6e 65 72 2e 69 74 65 6d 49 64 5d 29 3b 0a 20 20 20 20 65 6c 73 65 20 69 66 20 28 50 6c 61 63 65 | ner.itemId]);.....else.if.(Place |
177c20 | 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 51 75 65 72 79 28 61 43 6f 6e 74 61 69 6e 65 72 29 29 0a | sUtils.nodeIsQuery(aContainer)). |
177c40 | 20 20 20 20 20 20 74 68 69 73 2e 5f 70 6c 61 63 65 73 2e 73 65 6c 65 63 74 50 6c 61 63 65 55 52 | ......this._places.selectPlaceUR |
177c60 | 49 28 61 43 6f 6e 74 61 69 6e 65 72 2e 75 72 69 29 3b 0a 20 20 7d 2c 0a 0a 20 20 6f 70 65 6e 53 | I(aContainer.uri);...},....openS |
177c80 | 65 6c 65 63 74 65 64 4e 6f 64 65 3a 20 66 75 6e 63 74 69 6f 6e 20 50 4f 5f 6f 70 65 6e 53 65 6c | electedNode:.function.PO_openSel |
177ca0 | 65 63 74 65 64 4e 6f 64 65 28 61 45 76 65 6e 74 29 20 7b 0a 20 20 20 20 50 6c 61 63 65 73 55 49 | ectedNode(aEvent).{.....PlacesUI |
177cc0 | 55 74 69 6c 73 2e 6f 70 65 6e 4e 6f 64 65 57 69 74 68 45 76 65 6e 74 28 74 68 69 73 2e 5f 63 6f | Utils.openNodeWithEvent(this._co |
177ce0 | 6e 74 65 6e 74 2e 73 65 6c 65 63 74 65 64 4e 6f 64 65 2c 20 61 45 76 65 6e 74 29 3b 0a 20 20 7d | ntent.selectedNode,.aEvent);...} |
177d00 | 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 52 65 74 75 72 6e 73 20 74 68 65 20 6f 70 74 69 6f 6e | ,..../**....*.Returns.the.option |
177d20 | 73 20 61 73 73 6f 63 69 61 74 65 64 20 77 69 74 68 20 74 68 65 20 71 75 65 72 79 20 63 75 72 72 | s.associated.with.the.query.curr |
177d40 | 65 6e 74 6c 79 20 6c 6f 61 64 65 64 20 69 6e 20 74 68 65 0a 20 20 20 2a 20 6d 61 69 6e 20 70 6c | ently.loaded.in.the....*.main.pl |
177d60 | 61 63 65 73 20 70 61 6e 65 2e 0a 20 20 20 2a 2f 0a 20 20 67 65 74 43 75 72 72 65 6e 74 4f 70 74 | aces.pane.....*/...getCurrentOpt |
177d80 | 69 6f 6e 73 3a 20 66 75 6e 63 74 69 6f 6e 20 50 4f 5f 67 65 74 43 75 72 72 65 6e 74 4f 70 74 69 | ions:.function.PO_getCurrentOpti |
177da0 | 6f 6e 73 28 29 20 7b 0a 20 20 20 20 72 65 74 75 72 6e 20 61 73 51 75 65 72 79 28 74 68 69 73 2e | ons().{.....return.asQuery(this. |
177dc0 | 5f 63 6f 6e 74 65 6e 74 2e 67 65 74 52 65 73 75 6c 74 28 29 2e 72 6f 6f 74 29 2e 71 75 65 72 79 | _content.getResult().root).query |
177de0 | 4f 70 74 69 6f 6e 73 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 52 65 74 75 72 6e | Options;...},..../**....*.Return |
177e00 | 73 20 74 68 65 20 71 75 65 72 69 65 73 20 61 73 73 6f 63 69 61 74 65 64 20 77 69 74 68 20 74 68 | s.the.queries.associated.with.th |
177e20 | 65 20 71 75 65 72 79 20 63 75 72 72 65 6e 74 6c 79 20 6c 6f 61 64 65 64 20 69 6e 20 74 68 65 0a | e.query.currently.loaded.in.the. |
177e40 | 20 20 20 2a 20 6d 61 69 6e 20 70 6c 61 63 65 73 20 70 61 6e 65 2e 0a 20 20 20 2a 2f 0a 20 20 67 | ...*.main.places.pane.....*/...g |
177e60 | 65 74 43 75 72 72 65 6e 74 51 75 65 72 69 65 73 3a 20 66 75 6e 63 74 69 6f 6e 20 50 4f 5f 67 65 | etCurrentQueries:.function.PO_ge |
177e80 | 74 43 75 72 72 65 6e 74 51 75 65 72 69 65 73 28 29 20 7b 0a 20 20 20 20 72 65 74 75 72 6e 20 61 | tCurrentQueries().{.....return.a |
177ea0 | 73 51 75 65 72 79 28 74 68 69 73 2e 5f 63 6f 6e 74 65 6e 74 2e 67 65 74 52 65 73 75 6c 74 28 29 | sQuery(this._content.getResult() |
177ec0 | 2e 72 6f 6f 74 29 2e 67 65 74 51 75 65 72 69 65 73 28 7b 7d 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f | .root).getQueries({});...},..../ |
177ee0 | 2a 2a 0a 20 20 20 2a 20 53 68 6f 77 20 74 68 65 20 6d 69 67 72 61 74 69 6f 6e 20 77 69 7a 61 72 | **....*.Show.the.migration.wizar |
177f00 | 64 20 66 6f 72 20 69 6d 70 6f 72 74 69 6e 67 20 66 72 6f 6d 20 61 20 66 69 6c 65 2e 0a 20 20 20 | d.for.importing.from.a.file..... |
177f20 | 2a 2f 0a 20 20 69 6d 70 6f 72 74 42 6f 6f 6b 6d 61 72 6b 73 3a 20 66 75 6e 63 74 69 6f 6e 20 50 | */...importBookmarks:.function.P |
177f40 | 4f 5f 69 6d 70 6f 72 74 28 29 20 7b 0a 20 20 20 20 2f 2f 20 58 58 58 3a 20 69 66 64 65 66 20 69 | O_import().{.....//.XXX:.ifdef.i |
177f60 | 74 20 74 6f 20 62 65 20 6e 6f 6e 2d 6d 6f 64 61 6c 20 28 6e 6f 6e 2d 22 73 68 65 65 74 22 29 20 | t.to.be.non-modal.(non-"sheet"). |
177f80 | 6f 6e 20 6d 61 63 20 28 73 65 65 20 62 75 67 20 32 35 39 30 33 39 29 0a 20 20 20 20 76 61 72 20 | on.mac.(see.bug.259039).....var. |
177fa0 | 66 65 61 74 75 72 65 73 20 3d 20 22 6d 6f 64 61 6c 2c 63 65 6e 74 65 72 73 63 72 65 65 6e 2c 63 | features.=."modal,centerscreen,c |
177fc0 | 68 72 6f 6d 65 2c 72 65 73 69 7a 61 62 6c 65 3d 6e 6f 22 3b 0a 0a 20 20 20 20 2f 2f 20 54 68 65 | hrome,resizable=no";......//.The |
177fe0 | 20 6d 69 67 72 61 74 6f 72 20 77 69 6e 64 6f 77 20 77 69 6c 6c 20 73 65 74 20 74 68 69 73 20 74 | .migrator.window.will.set.this.t |
178000 | 6f 20 74 72 75 65 20 77 68 65 6e 20 69 74 20 63 6c 6f 73 65 73 2c 20 69 66 20 74 68 65 20 75 73 | o.true.when.it.closes,.if.the.us |
178020 | 65 72 0a 20 20 20 20 2f 2f 20 63 68 6f 73 65 20 74 6f 20 6d 69 67 72 61 74 65 20 66 72 6f 6d 20 | er.....//.chose.to.migrate.from. |
178040 | 61 20 73 70 65 63 69 66 69 63 20 66 69 6c 65 2e 0a 20 20 20 20 77 69 6e 64 6f 77 2e 66 72 6f 6d | a.specific.file......window.from |
178060 | 46 69 6c 65 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 6f 70 65 6e 44 69 61 6c 6f 67 28 22 63 68 | File.=.false;.....openDialog("ch |
178080 | 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 6d 69 67 72 61 74 69 6f 6e | rome://browser/content/migration |
1780a0 | 2f 6d 69 67 72 61 74 69 6f 6e 2e 78 75 6c 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | /migration.xul",................ |
1780c0 | 22 6d 69 67 72 61 74 69 6f 6e 22 2c 20 66 65 61 74 75 72 65 73 2c 20 22 62 6f 6f 6b 6d 61 72 6b | "migration",.features,."bookmark |
1780e0 | 73 22 29 3b 0a 20 20 20 20 69 66 20 28 77 69 6e 64 6f 77 2e 66 72 6f 6d 46 69 6c 65 29 0a 20 20 | s");.....if.(window.fromFile)... |
178100 | 20 20 20 20 74 68 69 73 2e 69 6d 70 6f 72 74 46 72 6f 6d 46 69 6c 65 28 29 3b 0a 20 20 7d 2c 0a | ....this.importFromFile();...},. |
178120 | 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 4f 70 65 6e 20 61 20 66 69 6c 65 2d 70 69 63 6b 65 72 20 61 | .../**....*.Open.a.file-picker.a |
178140 | 6e 64 20 69 6d 70 6f 72 74 20 74 68 65 20 73 65 6c 65 63 74 65 64 20 66 69 6c 65 20 69 6e 74 6f | nd.import.the.selected.file.into |
178160 | 20 74 68 65 20 62 6f 6f 6b 6d 61 72 6b 73 20 73 74 6f 72 65 0a 20 20 20 2a 2f 0a 20 20 69 6d 70 | .the.bookmarks.store....*/...imp |
178180 | 6f 72 74 46 72 6f 6d 46 69 6c 65 3a 20 66 75 6e 63 74 69 6f 6e 20 50 4f 5f 69 6d 70 6f 72 74 46 | ortFromFile:.function.PO_importF |
1781a0 | 72 6f 6d 46 69 6c 65 28 29 20 7b 0a 20 20 20 20 76 61 72 20 66 70 20 3d 20 43 63 5b 22 40 6d 6f | romFile().{.....var.fp.=.Cc["@mo |
1781c0 | 7a 69 6c 6c 61 2e 6f 72 67 2f 66 69 6c 65 70 69 63 6b 65 72 3b 31 22 5d 2e 0a 20 20 20 20 20 20 | zilla.org/filepicker;1"]........ |
1781e0 | 20 20 20 20 20 20 20 63 72 65 61 74 65 49 6e 73 74 61 6e 63 65 28 43 69 2e 6e 73 49 46 69 6c 65 | .......createInstance(Ci.nsIFile |
178200 | 50 69 63 6b 65 72 29 3b 0a 20 20 20 20 66 70 2e 69 6e 69 74 28 77 69 6e 64 6f 77 2c 20 50 6c 61 | Picker);.....fp.init(window,.Pla |
178220 | 63 65 73 55 49 55 74 69 6c 73 2e 67 65 74 53 74 72 69 6e 67 28 22 53 65 6c 65 63 74 49 6d 70 6f | cesUIUtils.getString("SelectImpo |
178240 | 72 74 22 29 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 43 69 2e 6e 73 49 46 69 6c 65 50 69 63 6b | rt"),.............Ci.nsIFilePick |
178260 | 65 72 2e 6d 6f 64 65 4f 70 65 6e 29 3b 0a 20 20 20 20 66 70 2e 61 70 70 65 6e 64 46 69 6c 74 65 | er.modeOpen);.....fp.appendFilte |
178280 | 72 73 28 43 69 2e 6e 73 49 46 69 6c 65 50 69 63 6b 65 72 2e 66 69 6c 74 65 72 48 54 4d 4c 29 3b | rs(Ci.nsIFilePicker.filterHTML); |
1782a0 | 0a 20 20 20 20 69 66 20 28 66 70 2e 73 68 6f 77 28 29 20 21 3d 20 43 69 2e 6e 73 49 46 69 6c 65 | .....if.(fp.show().!=.Ci.nsIFile |
1782c0 | 50 69 63 6b 65 72 2e 72 65 74 75 72 6e 43 61 6e 63 65 6c 29 20 7b 0a 20 20 20 20 20 20 69 66 20 | Picker.returnCancel).{.......if. |
1782e0 | 28 66 70 2e 66 69 6c 65 29 20 7b 0a 20 20 20 20 20 20 20 20 76 61 72 20 69 6d 70 6f 72 74 65 72 | (fp.file).{.........var.importer |
178300 | 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 62 72 6f 77 73 65 72 2f 70 6c 61 63 | .=.Cc["@mozilla.org/browser/plac |
178320 | 65 73 2f 69 6d 70 6f 72 74 2d 65 78 70 6f 72 74 2d 73 65 72 76 69 63 65 3b 31 22 5d 2e 0a 20 20 | es/import-export-service;1"].... |
178340 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 | .....................getService( |
178360 | 43 69 2e 6e 73 49 50 6c 61 63 65 73 49 6d 70 6f 72 74 45 78 70 6f 72 74 53 65 72 76 69 63 65 29 | Ci.nsIPlacesImportExportService) |
178380 | 3b 0a 20 20 20 20 20 20 20 20 76 61 72 20 66 69 6c 65 20 3d 20 66 70 2e 66 69 6c 65 2e 51 75 65 | ;.........var.file.=.fp.file.Que |
1783a0 | 72 79 49 6e 74 65 72 66 61 63 65 28 43 69 2e 6e 73 49 4c 6f 63 61 6c 46 69 6c 65 29 3b 0a 20 20 | ryInterface(Ci.nsILocalFile);... |
1783c0 | 20 20 20 20 20 20 69 6d 70 6f 72 74 65 72 2e 69 6d 70 6f 72 74 48 54 4d 4c 46 72 6f 6d 46 69 6c | ......importer.importHTMLFromFil |
1783e0 | 65 28 66 69 6c 65 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 20 20 | e(file,.false);.......}.....}... |
178400 | 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 41 6c 6c 6f 77 73 20 73 69 6d 70 6c 65 20 65 78 70 | },..../**....*.Allows.simple.exp |
178420 | 6f 72 74 69 6e 67 20 6f 66 20 62 6f 6f 6b 6d 61 72 6b 73 2e 0a 20 20 20 2a 2f 0a 20 20 65 78 70 | orting.of.bookmarks.....*/...exp |
178440 | 6f 72 74 42 6f 6f 6b 6d 61 72 6b 73 3a 20 66 75 6e 63 74 69 6f 6e 20 50 4f 5f 65 78 70 6f 72 74 | ortBookmarks:.function.PO_export |
178460 | 42 6f 6f 6b 6d 61 72 6b 73 28 29 20 7b 0a 20 20 20 20 76 61 72 20 66 70 20 3d 20 43 63 5b 22 40 | Bookmarks().{.....var.fp.=.Cc["@ |
178480 | 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 66 69 6c 65 70 69 63 6b 65 72 3b 31 22 5d 2e 0a 20 20 20 20 | mozilla.org/filepicker;1"]...... |
1784a0 | 20 20 20 20 20 20 20 20 20 63 72 65 61 74 65 49 6e 73 74 61 6e 63 65 28 43 69 2e 6e 73 49 46 69 | .........createInstance(Ci.nsIFi |
1784c0 | 6c 65 50 69 63 6b 65 72 29 3b 0a 20 20 20 20 66 70 2e 69 6e 69 74 28 77 69 6e 64 6f 77 2c 20 50 | lePicker);.....fp.init(window,.P |
1784e0 | 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 67 65 74 53 74 72 69 6e 67 28 22 45 6e 74 65 72 45 78 70 | lacesUIUtils.getString("EnterExp |
178500 | 6f 72 74 22 29 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 43 69 2e 6e 73 49 46 69 6c 65 50 69 63 | ort"),.............Ci.nsIFilePic |
178520 | 6b 65 72 2e 6d 6f 64 65 53 61 76 65 29 3b 0a 20 20 20 20 66 70 2e 61 70 70 65 6e 64 46 69 6c 74 | ker.modeSave);.....fp.appendFilt |
178540 | 65 72 73 28 43 69 2e 6e 73 49 46 69 6c 65 50 69 63 6b 65 72 2e 66 69 6c 74 65 72 48 54 4d 4c 29 | ers(Ci.nsIFilePicker.filterHTML) |
178560 | 3b 0a 20 20 20 20 66 70 2e 64 65 66 61 75 6c 74 53 74 72 69 6e 67 20 3d 20 22 62 6f 6f 6b 6d 61 | ;.....fp.defaultString.=."bookma |
178580 | 72 6b 73 2e 68 74 6d 6c 22 3b 0a 20 20 20 20 69 66 20 28 66 70 2e 73 68 6f 77 28 29 20 21 3d 20 | rks.html";.....if.(fp.show().!=. |
1785a0 | 43 69 2e 6e 73 49 46 69 6c 65 50 69 63 6b 65 72 2e 72 65 74 75 72 6e 43 61 6e 63 65 6c 29 20 7b | Ci.nsIFilePicker.returnCancel).{ |
1785c0 | 0a 20 20 20 20 20 20 76 61 72 20 65 78 70 6f 72 74 65 72 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c | .......var.exporter.=.Cc["@mozil |
1785e0 | 6c 61 2e 6f 72 67 2f 62 72 6f 77 73 65 72 2f 70 6c 61 63 65 73 2f 69 6d 70 6f 72 74 2d 65 78 70 | la.org/browser/places/import-exp |
178600 | 6f 72 74 2d 73 65 72 76 69 63 65 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ort-service;1"]................. |
178620 | 20 20 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 50 6c 61 63 65 73 49 6d 70 | ......getService(Ci.nsIPlacesImp |
178640 | 6f 72 74 45 78 70 6f 72 74 53 65 72 76 69 63 65 29 3b 0a 20 20 20 20 20 20 65 78 70 6f 72 74 65 | ortExportService);.......exporte |
178660 | 72 2e 65 78 70 6f 72 74 48 54 4d 4c 54 6f 46 69 6c 65 28 66 70 2e 66 69 6c 65 29 3b 0a 20 20 20 | r.exportHTMLToFile(fp.file);.... |
178680 | 20 7d 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 50 6f 70 75 6c 61 74 65 73 20 74 68 | .}...},..../**....*.Populates.th |
1786a0 | 65 20 72 65 73 74 6f 72 65 20 6d 65 6e 75 20 77 69 74 68 20 74 68 65 20 64 61 74 65 73 20 6f 66 | e.restore.menu.with.the.dates.of |
1786c0 | 20 74 68 65 20 62 61 63 6b 75 70 73 20 61 76 61 69 6c 61 62 6c 65 2e 0a 20 20 20 2a 2f 0a 20 20 | .the.backups.available.....*/... |
1786e0 | 70 6f 70 75 6c 61 74 65 52 65 73 74 6f 72 65 4d 65 6e 75 3a 20 66 75 6e 63 74 69 6f 6e 20 50 4f | populateRestoreMenu:.function.PO |
178700 | 5f 70 6f 70 75 6c 61 74 65 52 65 73 74 6f 72 65 4d 65 6e 75 28 29 20 7b 0a 20 20 20 20 76 61 72 | _populateRestoreMenu().{.....var |
178720 | 20 72 65 73 74 6f 72 65 50 6f 70 75 70 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d | .restorePopup.=.document.getElem |
178740 | 65 6e 74 42 79 49 64 28 22 66 69 6c 65 52 65 73 74 6f 72 65 50 6f 70 75 70 22 29 3b 0a 0a 20 20 | entById("fileRestorePopup");.... |
178760 | 20 20 76 61 72 20 64 61 74 65 53 76 63 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 | ..var.dateSvc.=.Cc["@mozilla.org |
178780 | 2f 69 6e 74 6c 2f 73 63 72 69 70 74 61 62 6c 65 64 61 74 65 66 6f 72 6d 61 74 3b 31 22 5d 2e 0a | /intl/scriptabledateformat;1"].. |
1787a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 69 2e | ..................getService(Ci. |
1787c0 | 6e 73 49 53 63 72 69 70 74 61 62 6c 65 44 61 74 65 46 6f 72 6d 61 74 29 3b 0a 0a 20 20 20 20 2f | nsIScriptableDateFormat);....../ |
1787e0 | 2f 20 72 65 6d 6f 76 65 20 65 78 69 73 74 69 6e 67 20 6d 65 6e 75 20 69 74 65 6d 73 0a 20 20 20 | /.remove.existing.menu.items.... |
178800 | 20 2f 2f 20 6c 61 73 74 20 69 74 65 6d 20 69 73 20 74 68 65 20 72 65 73 74 6f 72 65 46 72 6f 6d | .//.last.item.is.the.restoreFrom |
178820 | 46 69 6c 65 20 69 74 65 6d 0a 20 20 20 20 77 68 69 6c 65 20 28 72 65 73 74 6f 72 65 50 6f 70 75 | File.item.....while.(restorePopu |
178840 | 70 2e 63 68 69 6c 64 4e 6f 64 65 73 2e 6c 65 6e 67 74 68 20 3e 20 31 29 0a 20 20 20 20 20 20 72 | p.childNodes.length.>.1).......r |
178860 | 65 73 74 6f 72 65 50 6f 70 75 70 2e 72 65 6d 6f 76 65 43 68 69 6c 64 28 72 65 73 74 6f 72 65 50 | estorePopup.removeChild(restoreP |
178880 | 6f 70 75 70 2e 66 69 72 73 74 43 68 69 6c 64 29 3b 0a 0a 20 20 20 20 2f 2f 20 67 65 74 20 6c 69 | opup.firstChild);......//.get.li |
1788a0 | 73 74 20 6f 66 20 66 69 6c 65 73 0a 20 20 20 20 76 61 72 20 6c 6f 63 61 6c 69 7a 65 64 46 69 6c | st.of.files.....var.localizedFil |
1788c0 | 65 6e 61 6d 65 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 67 65 74 53 74 72 69 6e 67 28 22 62 | ename.=.PlacesUtils.getString("b |
1788e0 | 6f 6f 6b 6d 61 72 6b 73 41 72 63 68 69 76 65 46 69 6c 65 6e 61 6d 65 22 29 3b 0a 20 20 20 20 76 | ookmarksArchiveFilename");.....v |
178900 | 61 72 20 6c 6f 63 61 6c 69 7a 65 64 46 69 6c 65 6e 61 6d 65 50 72 65 66 69 78 20 3d 20 6c 6f 63 | ar.localizedFilenamePrefix.=.loc |
178920 | 61 6c 69 7a 65 64 46 69 6c 65 6e 61 6d 65 2e 73 75 62 73 74 72 28 30 2c 20 6c 6f 63 61 6c 69 7a | alizedFilename.substr(0,.localiz |
178940 | 65 64 46 69 6c 65 6e 61 6d 65 2e 69 6e 64 65 78 4f 66 28 22 2d 22 29 29 3b 0a 20 20 20 20 76 61 | edFilename.indexOf("-"));.....va |
178960 | 72 20 66 69 6c 65 4c 69 73 74 20 3d 20 5b 5d 3b 0a 20 20 20 20 76 61 72 20 66 69 6c 65 73 20 3d | r.fileList.=.[];.....var.files.= |
178980 | 20 74 68 69 73 2e 62 6f 6f 6b 6d 61 72 6b 73 42 61 63 6b 75 70 44 69 72 2e 64 69 72 65 63 74 6f | .this.bookmarksBackupDir.directo |
1789a0 | 72 79 45 6e 74 72 69 65 73 3b 0a 20 20 20 20 77 68 69 6c 65 20 28 66 69 6c 65 73 2e 68 61 73 4d | ryEntries;.....while.(files.hasM |
1789c0 | 6f 72 65 45 6c 65 6d 65 6e 74 73 28 29 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 66 20 3d 20 66 | oreElements()).{.......var.f.=.f |
1789e0 | 69 6c 65 73 2e 67 65 74 4e 65 78 74 28 29 2e 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 28 43 69 | iles.getNext().QueryInterface(Ci |
178a00 | 2e 6e 73 49 46 69 6c 65 29 3b 0a 20 20 20 20 20 20 76 61 72 20 72 78 20 3d 20 6e 65 77 20 52 65 | .nsIFile);.......var.rx.=.new.Re |
178a20 | 67 45 78 70 28 22 5e 28 62 6f 6f 6b 6d 61 72 6b 73 7c 22 20 2b 20 6c 6f 63 61 6c 69 7a 65 64 46 | gExp("^(bookmarks|".+.localizedF |
178a40 | 69 6c 65 6e 61 6d 65 50 72 65 66 69 78 20 2b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ilenamePrefix.+................. |
178a60 | 20 20 20 20 20 20 20 20 20 20 22 29 2d 28 5b 30 2d 39 5d 7b 34 7d 2d 5b 30 2d 39 5d 7b 32 7d 2d | ..........")-([0-9]{4}-[0-9]{2}- |
178a80 | 5b 30 2d 39 5d 7b 32 7d 29 5c 2e 6a 73 6f 6e 24 22 29 3b 0a 20 20 20 20 20 20 69 66 20 28 21 66 | [0-9]{2})\.json$");.......if.(!f |
178aa0 | 2e 69 73 48 69 64 64 65 6e 28 29 20 26 26 20 66 2e 6c 65 61 66 4e 61 6d 65 2e 6d 61 74 63 68 28 | .isHidden().&&.f.leafName.match( |
178ac0 | 72 78 29 29 20 7b 0a 20 20 20 20 20 20 20 20 76 61 72 20 64 61 74 65 20 3d 20 66 2e 6c 65 61 66 | rx)).{.........var.date.=.f.leaf |
178ae0 | 4e 61 6d 65 2e 6d 61 74 63 68 28 72 78 29 5b 32 5d 2e 72 65 70 6c 61 63 65 28 2f 2d 2f 67 2c 20 | Name.match(rx)[2].replace(/-/g,. |
178b00 | 22 2f 22 29 3b 0a 20 20 20 20 20 20 20 20 76 61 72 20 64 61 74 65 4f 62 6a 20 3d 20 6e 65 77 20 | "/");.........var.dateObj.=.new. |
178b20 | 44 61 74 65 28 64 61 74 65 29 3b 0a 20 20 20 20 20 20 20 20 66 69 6c 65 4c 69 73 74 2e 70 75 73 | Date(date);.........fileList.pus |
178b40 | 68 28 7b 64 61 74 65 3a 20 64 61 74 65 4f 62 6a 2c 20 66 69 6c 65 6e 61 6d 65 3a 20 66 2e 6c 65 | h({date:.dateObj,.filename:.f.le |
178b60 | 61 66 4e 61 6d 65 7d 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 0a 20 20 20 20 66 69 6c | afName});.......}.....}......fil |
178b80 | 65 4c 69 73 74 2e 73 6f 72 74 28 66 75 6e 63 74 69 6f 6e 20 50 4f 5f 66 69 6c 65 4c 69 73 74 5f | eList.sort(function.PO_fileList_ |
178ba0 | 63 6f 6d 70 61 72 65 28 61 2c 20 62 29 20 7b 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 62 2e 64 | compare(a,.b).{.......return.b.d |
178bc0 | 61 74 65 20 2d 20 61 2e 64 61 74 65 3b 0a 20 20 20 20 7d 29 3b 0a 0a 20 20 20 20 69 66 20 28 66 | ate.-.a.date;.....});......if.(f |
178be0 | 69 6c 65 4c 69 73 74 2e 6c 65 6e 67 74 68 20 3d 3d 20 30 29 0a 20 20 20 20 20 20 72 65 74 75 72 | ileList.length.==.0).......retur |
178c00 | 6e 3b 0a 0a 20 20 20 20 2f 2f 20 70 6f 70 75 6c 61 74 65 20 6d 65 6e 75 0a 20 20 20 20 66 6f 72 | n;......//.populate.menu.....for |
178c20 | 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 66 69 6c 65 4c 69 73 74 2e 6c 65 6e 67 74 68 | .(var.i.=.0;.i.<.fileList.length |
178c40 | 3b 20 69 2b 2b 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 6d 20 3d 20 72 65 73 74 6f 72 65 50 6f | ;.i++).{.......var.m.=.restorePo |
178c60 | 70 75 70 2e 69 6e 73 65 72 74 42 65 66 6f 72 65 0a 20 20 20 20 20 20 20 20 28 64 6f 63 75 6d 65 | pup.insertBefore.........(docume |
178c80 | 6e 74 2e 63 72 65 61 74 65 45 6c 65 6d 65 6e 74 28 22 6d 65 6e 75 69 74 65 6d 22 29 2c 0a 20 20 | nt.createElement("menuitem"),... |
178ca0 | 20 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 | .......document.getElementById(" |
178cc0 | 72 65 73 74 6f 72 65 46 72 6f 6d 46 69 6c 65 22 29 29 3b 0a 20 20 20 20 20 20 6d 2e 73 65 74 41 | restoreFromFile"));.......m.setA |
178ce0 | 74 74 72 69 62 75 74 65 28 22 6c 61 62 65 6c 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ttribute("label",............... |
178d00 | 20 20 20 20 20 20 20 64 61 74 65 53 76 63 2e 46 6f 72 6d 61 74 44 61 74 65 28 22 22 2c 0a 20 20 | .......dateSvc.FormatDate("",... |
178d20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
178d40 | 20 20 20 20 20 20 43 69 2e 6e 73 49 53 63 72 69 70 74 61 62 6c 65 44 61 74 65 46 6f 72 6d 61 74 | ......Ci.nsIScriptableDateFormat |
178d60 | 2e 64 61 74 65 46 6f 72 6d 61 74 4c 6f 6e 67 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .dateFormatLong,................ |
178d80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 69 6c 65 4c 69 73 | .........................fileLis |
178da0 | 74 5b 69 5d 2e 64 61 74 65 2e 67 65 74 46 75 6c 6c 59 65 61 72 28 29 2c 0a 20 20 20 20 20 20 20 | t[i].date.getFullYear(),........ |
178dc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
178de0 | 20 66 69 6c 65 4c 69 73 74 5b 69 5d 2e 64 61 74 65 2e 67 65 74 4d 6f 6e 74 68 28 29 20 2b 20 31 | .fileList[i].date.getMonth().+.1 |
178e00 | 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ,............................... |
178e20 | 20 20 20 20 20 20 20 20 20 20 66 69 6c 65 4c 69 73 74 5b 69 5d 2e 64 61 74 65 2e 67 65 74 44 61 | ..........fileList[i].date.getDa |
178e40 | 74 65 28 29 29 29 3b 0a 20 20 20 20 20 20 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 76 61 | te()));.......m.setAttribute("va |
178e60 | 6c 75 65 22 2c 20 66 69 6c 65 4c 69 73 74 5b 69 5d 2e 66 69 6c 65 6e 61 6d 65 29 3b 0a 20 20 20 | lue",.fileList[i].filename);.... |
178e80 | 20 20 20 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 6f 6e 63 6f 6d 6d 61 6e 64 22 2c 0a 20 | ...m.setAttribute("oncommand",.. |
178ea0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 50 6c 61 63 65 73 4f 72 67 61 6e | ...................."PlacesOrgan |
178ec0 | 69 7a 65 72 2e 6f 6e 52 65 73 74 6f 72 65 4d 65 6e 75 49 74 65 6d 43 6c 69 63 6b 28 74 68 69 73 | izer.onRestoreMenuItemClick(this |
178ee0 | 29 3b 22 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 72 65 73 74 6f 72 65 50 6f 70 75 70 2e 69 6e 73 | );");.....}.....restorePopup.ins |
178f00 | 65 72 74 42 65 66 6f 72 65 28 64 6f 63 75 6d 65 6e 74 2e 63 72 65 61 74 65 45 6c 65 6d 65 6e 74 | ertBefore(document.createElement |
178f20 | 28 22 6d 65 6e 75 73 65 70 61 72 61 74 6f 72 22 29 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ("menuseparator"),.............. |
178f40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 | .................document.getEle |
178f60 | 6d 65 6e 74 42 79 49 64 28 22 72 65 73 74 6f 72 65 46 72 6f 6d 46 69 6c 65 22 29 29 3b 0a 20 20 | mentById("restoreFromFile"));... |
178f80 | 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 43 61 6c 6c 65 64 20 77 68 65 6e 20 61 20 6d 65 6e | },..../**....*.Called.when.a.men |
178fa0 | 75 69 74 65 6d 20 69 73 20 73 65 6c 65 63 74 65 64 20 66 72 6f 6d 20 74 68 65 20 72 65 73 74 6f | uitem.is.selected.from.the.resto |
178fc0 | 72 65 20 6d 65 6e 75 2e 0a 20 20 20 2a 2f 0a 20 20 6f 6e 52 65 73 74 6f 72 65 4d 65 6e 75 49 74 | re.menu.....*/...onRestoreMenuIt |
178fe0 | 65 6d 43 6c 69 63 6b 3a 20 66 75 6e 63 74 69 6f 6e 20 50 4f 5f 6f 6e 52 65 73 74 6f 72 65 4d 65 | emClick:.function.PO_onRestoreMe |
179000 | 6e 75 49 74 65 6d 43 6c 69 63 6b 28 61 4d 65 6e 75 49 74 65 6d 29 20 7b 0a 20 20 20 20 76 61 72 | nuItemClick(aMenuItem).{.....var |
179020 | 20 64 69 72 53 76 63 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 66 69 6c 65 2f | .dirSvc.=.Cc["@mozilla.org/file/ |
179040 | 64 69 72 65 63 74 6f 72 79 5f 73 65 72 76 69 63 65 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 | directory_service;1"]........... |
179060 | 20 20 20 20 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 50 72 6f 70 65 72 74 | ........getService(Ci.nsIPropert |
179080 | 69 65 73 29 3b 0a 20 20 20 20 76 61 72 20 62 6f 6f 6b 6d 61 72 6b 73 46 69 6c 65 20 3d 20 64 69 | ies);.....var.bookmarksFile.=.di |
1790a0 | 72 53 76 63 2e 67 65 74 28 22 50 72 6f 66 44 22 2c 20 43 69 2e 6e 73 49 46 69 6c 65 29 3b 0a 20 | rSvc.get("ProfD",.Ci.nsIFile);.. |
1790c0 | 20 20 20 62 6f 6f 6b 6d 61 72 6b 73 46 69 6c 65 2e 61 70 70 65 6e 64 28 22 62 6f 6f 6b 6d 61 72 | ...bookmarksFile.append("bookmar |
1790e0 | 6b 62 61 63 6b 75 70 73 22 29 3b 0a 20 20 20 20 62 6f 6f 6b 6d 61 72 6b 73 46 69 6c 65 2e 61 70 | kbackups");.....bookmarksFile.ap |
179100 | 70 65 6e 64 28 61 4d 65 6e 75 49 74 65 6d 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 76 61 6c | pend(aMenuItem.getAttribute("val |
179120 | 75 65 22 29 29 3b 0a 20 20 20 20 69 66 20 28 21 62 6f 6f 6b 6d 61 72 6b 73 46 69 6c 65 2e 65 78 | ue"));.....if.(!bookmarksFile.ex |
179140 | 69 73 74 73 28 29 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 20 20 74 68 69 73 2e 72 | ists()).......return;.....this.r |
179160 | 65 73 74 6f 72 65 42 6f 6f 6b 6d 61 72 6b 73 46 72 6f 6d 46 69 6c 65 28 62 6f 6f 6b 6d 61 72 6b | estoreBookmarksFromFile(bookmark |
179180 | 73 46 69 6c 65 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 43 61 6c 6c 65 64 20 | sFile);...},..../**....*.Called. |
1791a0 | 77 68 65 6e 20 27 43 68 6f 6f 73 65 20 46 69 6c 65 2e 2e 2e 27 20 69 73 20 73 65 6c 65 63 74 65 | when.'Choose.File...'.is.selecte |
1791c0 | 64 20 66 72 6f 6d 20 74 68 65 20 72 65 73 74 6f 72 65 20 6d 65 6e 75 2e 0a 20 20 20 2a 20 50 72 | d.from.the.restore.menu.....*.Pr |
1791e0 | 6f 6d 70 74 73 20 66 6f 72 20 61 20 66 69 6c 65 20 61 6e 64 20 72 65 73 74 6f 72 65 73 20 62 6f | ompts.for.a.file.and.restores.bo |
179200 | 6f 6b 6d 61 72 6b 73 20 74 6f 20 74 68 6f 73 65 20 69 6e 20 74 68 65 20 66 69 6c 65 2e 0a 20 20 | okmarks.to.those.in.the.file.... |
179220 | 20 2a 2f 0a 20 20 6f 6e 52 65 73 74 6f 72 65 42 6f 6f 6b 6d 61 72 6b 73 46 72 6f 6d 46 69 6c 65 | .*/...onRestoreBookmarksFromFile |
179240 | 3a 20 66 75 6e 63 74 69 6f 6e 20 50 4f 5f 6f 6e 52 65 73 74 6f 72 65 42 6f 6f 6b 6d 61 72 6b 73 | :.function.PO_onRestoreBookmarks |
179260 | 46 72 6f 6d 46 69 6c 65 28 29 20 7b 0a 20 20 20 20 76 61 72 20 66 70 20 3d 20 43 63 5b 22 40 6d | FromFile().{.....var.fp.=.Cc["@m |
179280 | 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 66 69 6c 65 70 69 63 6b 65 72 3b 31 22 5d 2e 63 72 65 61 74 65 | ozilla.org/filepicker;1"].create |
1792a0 | 49 6e 73 74 61 6e 63 65 28 43 69 2e 6e 73 49 46 69 6c 65 50 69 63 6b 65 72 29 3b 0a 20 20 20 20 | Instance(Ci.nsIFilePicker);..... |
1792c0 | 66 70 2e 69 6e 69 74 28 77 69 6e 64 6f 77 2c 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 67 65 | fp.init(window,.PlacesUIUtils.ge |
1792e0 | 74 53 74 72 69 6e 67 28 22 62 6f 6f 6b 6d 61 72 6b 73 52 65 73 74 6f 72 65 54 69 74 6c 65 22 29 | tString("bookmarksRestoreTitle") |
179300 | 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 43 69 2e 6e 73 49 46 69 6c 65 50 69 63 6b 65 72 2e 6d | ,.............Ci.nsIFilePicker.m |
179320 | 6f 64 65 4f 70 65 6e 29 3b 0a 20 20 20 20 66 70 2e 61 70 70 65 6e 64 46 69 6c 74 65 72 28 50 6c | odeOpen);.....fp.appendFilter(Pl |
179340 | 61 63 65 73 55 49 55 74 69 6c 73 2e 67 65 74 53 74 72 69 6e 67 28 22 62 6f 6f 6b 6d 61 72 6b 73 | acesUIUtils.getString("bookmarks |
179360 | 52 65 73 74 6f 72 65 46 69 6c 74 65 72 4e 61 6d 65 22 29 2c 0a 20 20 20 20 20 20 20 20 20 20 20 | RestoreFilterName"),............ |
179380 | 20 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 67 65 74 53 74 72 69 6e 67 | .........PlacesUIUtils.getString |
1793a0 | 28 22 62 6f 6f 6b 6d 61 72 6b 73 52 65 73 74 6f 72 65 46 69 6c 74 65 72 45 78 74 65 6e 73 69 6f | ("bookmarksRestoreFilterExtensio |
1793c0 | 6e 22 29 29 3b 0a 20 20 20 20 66 70 2e 61 70 70 65 6e 64 46 69 6c 74 65 72 73 28 43 69 2e 6e 73 | n"));.....fp.appendFilters(Ci.ns |
1793e0 | 49 46 69 6c 65 50 69 63 6b 65 72 2e 66 69 6c 74 65 72 41 6c 6c 29 3b 0a 0a 20 20 20 20 76 61 72 | IFilePicker.filterAll);......var |
179400 | 20 64 69 72 53 76 63 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 66 69 6c 65 2f | .dirSvc.=.Cc["@mozilla.org/file/ |
179420 | 64 69 72 65 63 74 6f 72 79 5f 73 65 72 76 69 63 65 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 | directory_service;1"]........... |
179440 | 20 20 20 20 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 50 72 6f 70 65 72 74 | ........getService(Ci.nsIPropert |
179460 | 69 65 73 29 3b 0a 20 20 20 20 76 61 72 20 62 61 63 6b 75 70 73 44 69 72 20 3d 20 64 69 72 53 76 | ies);.....var.backupsDir.=.dirSv |
179480 | 63 2e 67 65 74 28 22 44 65 73 6b 22 2c 20 43 69 2e 6e 73 49 4c 6f 63 61 6c 46 69 6c 65 29 3b 0a | c.get("Desk",.Ci.nsILocalFile);. |
1794a0 | 20 20 20 20 66 70 2e 64 69 73 70 6c 61 79 44 69 72 65 63 74 6f 72 79 20 3d 20 62 61 63 6b 75 70 | ....fp.displayDirectory.=.backup |
1794c0 | 73 44 69 72 3b 0a 0a 20 20 20 20 69 66 20 28 66 70 2e 73 68 6f 77 28 29 20 21 3d 20 43 69 2e 6e | sDir;......if.(fp.show().!=.Ci.n |
1794e0 | 73 49 46 69 6c 65 50 69 63 6b 65 72 2e 72 65 74 75 72 6e 43 61 6e 63 65 6c 29 0a 20 20 20 20 20 | sIFilePicker.returnCancel)...... |
179500 | 20 74 68 69 73 2e 72 65 73 74 6f 72 65 42 6f 6f 6b 6d 61 72 6b 73 46 72 6f 6d 46 69 6c 65 28 66 | .this.restoreBookmarksFromFile(f |
179520 | 70 2e 66 69 6c 65 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 52 65 73 74 6f 72 | p.file);...},..../**....*.Restor |
179540 | 65 73 20 62 6f 6f 6b 6d 61 72 6b 73 20 66 72 6f 6d 20 61 20 4a 53 4f 4e 20 66 69 6c 65 2e 0a 20 | es.bookmarks.from.a.JSON.file... |
179560 | 20 20 2a 2f 0a 20 20 72 65 73 74 6f 72 65 42 6f 6f 6b 6d 61 72 6b 73 46 72 6f 6d 46 69 6c 65 3a | ..*/...restoreBookmarksFromFile: |
179580 | 20 66 75 6e 63 74 69 6f 6e 20 50 4f 5f 72 65 73 74 6f 72 65 42 6f 6f 6b 6d 61 72 6b 73 46 72 6f | .function.PO_restoreBookmarksFro |
1795a0 | 6d 46 69 6c 65 28 61 46 69 6c 65 29 20 7b 0a 20 20 20 20 2f 2f 20 63 68 65 63 6b 20 66 69 6c 65 | mFile(aFile).{.....//.check.file |
1795c0 | 20 65 78 74 65 6e 73 69 6f 6e 0a 20 20 20 20 69 66 20 28 21 61 46 69 6c 65 2e 6c 65 61 66 4e 61 | .extension.....if.(!aFile.leafNa |
1795e0 | 6d 65 2e 6d 61 74 63 68 28 2f 5c 2e 6a 73 6f 6e 24 2f 29 29 20 7b 0a 20 20 20 20 20 20 74 68 69 | me.match(/\.json$/)).{.......thi |
179600 | 73 2e 5f 73 68 6f 77 45 72 72 6f 72 41 6c 65 72 74 28 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e | s._showErrorAlert(PlacesUIUtils. |
179620 | 67 65 74 53 74 72 69 6e 67 28 22 62 6f 6f 6b 6d 61 72 6b 73 52 65 73 74 6f 72 65 46 6f 72 6d 61 | getString("bookmarksRestoreForma |
179640 | 74 45 72 72 6f 72 22 29 29 3b 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 20 20 7d 0a 0a | tError"));.......return;.....}.. |
179660 | 20 20 20 20 2f 2f 20 63 6f 6e 66 69 72 6d 20 6f 6b 20 74 6f 20 64 65 6c 65 74 65 20 65 78 69 73 | ....//.confirm.ok.to.delete.exis |
179680 | 74 69 6e 67 20 62 6f 6f 6b 6d 61 72 6b 73 0a 20 20 20 20 76 61 72 20 70 72 6f 6d 70 74 73 20 3d | ting.bookmarks.....var.prompts.= |
1796a0 | 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 65 6d 62 65 64 63 6f 6d 70 2f 70 72 6f 6d | .Cc["@mozilla.org/embedcomp/prom |
1796c0 | 70 74 2d 73 65 72 76 69 63 65 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | pt-service;1"].................. |
1796e0 | 20 20 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 50 72 6f 6d 70 74 53 65 72 76 69 63 65 | ..getService(Ci.nsIPromptService |
179700 | 29 3b 0a 20 20 20 20 69 66 20 28 21 70 72 6f 6d 70 74 73 2e 63 6f 6e 66 69 72 6d 28 6e 75 6c 6c | );.....if.(!prompts.confirm(null |
179720 | 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 50 6c 61 63 65 | ,..........................Place |
179740 | 73 55 49 55 74 69 6c 73 2e 67 65 74 53 74 72 69 6e 67 28 22 62 6f 6f 6b 6d 61 72 6b 73 52 65 73 | sUIUtils.getString("bookmarksRes |
179760 | 74 6f 72 65 41 6c 65 72 74 54 69 74 6c 65 22 29 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | toreAlertTitle"),............... |
179780 | 20 20 20 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 67 65 74 53 74 72 69 | ...........PlacesUIUtils.getStri |
1797a0 | 6e 67 28 22 62 6f 6f 6b 6d 61 72 6b 73 52 65 73 74 6f 72 65 41 6c 65 72 74 22 29 29 29 0a 20 20 | ng("bookmarksRestoreAlert")))... |
1797c0 | 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 50 6c 61 | ....return;......try.{.......Pla |
1797e0 | 63 65 73 55 74 69 6c 73 2e 72 65 73 74 6f 72 65 42 6f 6f 6b 6d 61 72 6b 73 46 72 6f 6d 4a 53 4f | cesUtils.restoreBookmarksFromJSO |
179800 | 4e 46 69 6c 65 28 61 46 69 6c 65 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 63 61 74 63 68 28 65 78 | NFile(aFile);.....}.....catch(ex |
179820 | 29 20 7b 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 73 68 6f 77 45 72 72 6f 72 41 6c 65 72 74 28 50 | ).{.......this._showErrorAlert(P |
179840 | 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 67 65 74 53 74 72 69 6e 67 28 22 62 6f 6f 6b 6d 61 72 6b | lacesUIUtils.getString("bookmark |
179860 | 73 52 65 73 74 6f 72 65 50 61 72 73 65 45 72 72 6f 72 22 29 29 3b 0a 20 20 20 20 7d 0a 20 20 7d | sRestoreParseError"));.....}...} |
179880 | 2c 0a 0a 20 20 5f 73 68 6f 77 45 72 72 6f 72 41 6c 65 72 74 3a 20 66 75 6e 63 74 69 6f 6e 20 50 | ,...._showErrorAlert:.function.P |
1798a0 | 4f 5f 5f 73 68 6f 77 45 72 72 6f 72 41 6c 65 72 74 28 61 4d 73 67 29 20 7b 0a 20 20 20 20 76 61 | O__showErrorAlert(aMsg).{.....va |
1798c0 | 72 20 62 72 61 6e 64 53 68 6f 72 74 4e 61 6d 65 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 | r.brandShortName.=.document.getE |
1798e0 | 6c 65 6d 65 6e 74 42 79 49 64 28 22 62 72 61 6e 64 53 74 72 69 6e 67 73 22 29 2e 0a 20 20 20 20 | lementById("brandStrings")...... |
179900 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 | ..............................ge |
179920 | 74 53 74 72 69 6e 67 28 22 62 72 61 6e 64 53 68 6f 72 74 4e 61 6d 65 22 29 3b 0a 0a 20 20 20 20 | tString("brandShortName");...... |
179940 | 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 65 6d 62 65 64 63 6f 6d 70 2f 70 72 6f 6d 70 | Cc["@mozilla.org/embedcomp/promp |
179960 | 74 2d 73 65 72 76 69 63 65 3b 31 22 5d 2e 0a 20 20 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 | t-service;1"]........getService( |
179980 | 43 69 2e 6e 73 49 50 72 6f 6d 70 74 53 65 72 76 69 63 65 29 2e 0a 20 20 20 20 20 20 61 6c 65 72 | Ci.nsIPromptService)........aler |
1799a0 | 74 28 77 69 6e 64 6f 77 2c 20 62 72 61 6e 64 53 68 6f 72 74 4e 61 6d 65 2c 20 61 4d 73 67 29 3b | t(window,.brandShortName,.aMsg); |
1799c0 | 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 42 61 63 6b 75 70 20 62 6f 6f 6b 6d 61 72 | ...},..../**....*.Backup.bookmar |
1799e0 | 6b 73 20 74 6f 20 64 65 73 6b 74 6f 70 2c 20 61 75 74 6f 2d 67 65 6e 65 72 61 74 65 20 61 20 66 | ks.to.desktop,.auto-generate.a.f |
179a00 | 69 6c 65 6e 61 6d 65 20 77 69 74 68 20 61 20 64 61 74 65 2e 0a 20 20 20 2a 20 54 68 65 20 66 69 | ilename.with.a.date.....*.The.fi |
179a20 | 6c 65 20 69 73 20 61 20 4a 53 4f 4e 20 73 65 72 69 61 6c 69 7a 61 74 69 6f 6e 20 6f 66 20 62 6f | le.is.a.JSON.serialization.of.bo |
179a40 | 6f 6b 6d 61 72 6b 73 2c 20 74 61 67 73 20 61 6e 64 20 61 6e 79 20 61 6e 6e 6f 74 61 74 69 6f 6e | okmarks,.tags.and.any.annotation |
179a60 | 73 0a 20 20 20 2a 20 6f 66 20 74 68 6f 73 65 20 69 74 65 6d 73 2e 0a 20 20 20 2a 2f 0a 20 20 62 | s....*.of.those.items.....*/...b |
179a80 | 61 63 6b 75 70 42 6f 6f 6b 6d 61 72 6b 73 3a 20 66 75 6e 63 74 69 6f 6e 20 50 4f 5f 62 61 63 6b | ackupBookmarks:.function.PO_back |
179aa0 | 75 70 42 6f 6f 6b 6d 61 72 6b 73 28 29 20 7b 0a 20 20 20 20 76 61 72 20 66 70 20 3d 20 43 63 5b | upBookmarks().{.....var.fp.=.Cc[ |
179ac0 | 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 66 69 6c 65 70 69 63 6b 65 72 3b 31 22 5d 2e 63 72 65 | "@mozilla.org/filepicker;1"].cre |
179ae0 | 61 74 65 49 6e 73 74 61 6e 63 65 28 43 69 2e 6e 73 49 46 69 6c 65 50 69 63 6b 65 72 29 3b 0a 20 | ateInstance(Ci.nsIFilePicker);.. |
179b00 | 20 20 20 66 70 2e 69 6e 69 74 28 77 69 6e 64 6f 77 2c 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 | ...fp.init(window,.PlacesUIUtils |
179b20 | 2e 67 65 74 53 74 72 69 6e 67 28 22 62 6f 6f 6b 6d 61 72 6b 73 42 61 63 6b 75 70 54 69 74 6c 65 | .getString("bookmarksBackupTitle |
179b40 | 22 29 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 43 69 2e 6e 73 49 46 69 6c 65 50 69 63 6b 65 72 | "),.............Ci.nsIFilePicker |
179b60 | 2e 6d 6f 64 65 53 61 76 65 29 3b 0a 20 20 20 20 66 70 2e 61 70 70 65 6e 64 46 69 6c 74 65 72 28 | .modeSave);.....fp.appendFilter( |
179b80 | 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 67 65 74 53 74 72 69 6e 67 28 22 62 6f 6f 6b 6d 61 72 | PlacesUIUtils.getString("bookmar |
179ba0 | 6b 73 52 65 73 74 6f 72 65 46 69 6c 74 65 72 4e 61 6d 65 22 29 2c 0a 20 20 20 20 20 20 20 20 20 | ksRestoreFilterName"),.......... |
179bc0 | 20 20 20 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 67 65 74 53 74 72 69 | ...........PlacesUIUtils.getStri |
179be0 | 6e 67 28 22 62 6f 6f 6b 6d 61 72 6b 73 52 65 73 74 6f 72 65 46 69 6c 74 65 72 45 78 74 65 6e 73 | ng("bookmarksRestoreFilterExtens |
179c00 | 69 6f 6e 22 29 29 3b 0a 0a 20 20 20 20 76 61 72 20 64 69 72 53 76 63 20 3d 20 43 63 5b 22 40 6d | ion"));......var.dirSvc.=.Cc["@m |
179c20 | 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 66 69 6c 65 2f 64 69 72 65 63 74 6f 72 79 5f 73 65 72 76 69 63 | ozilla.org/file/directory_servic |
179c40 | 65 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 53 65 72 76 69 | e;1"]...................getServi |
179c60 | 63 65 28 43 69 2e 6e 73 49 50 72 6f 70 65 72 74 69 65 73 29 3b 0a 20 20 20 20 76 61 72 20 62 61 | ce(Ci.nsIProperties);.....var.ba |
179c80 | 63 6b 75 70 73 44 69 72 20 3d 20 64 69 72 53 76 63 2e 67 65 74 28 22 44 65 73 6b 22 2c 20 43 69 | ckupsDir.=.dirSvc.get("Desk",.Ci |
179ca0 | 2e 6e 73 49 4c 6f 63 61 6c 46 69 6c 65 29 3b 0a 20 20 20 20 66 70 2e 64 69 73 70 6c 61 79 44 69 | .nsILocalFile);.....fp.displayDi |
179cc0 | 72 65 63 74 6f 72 79 20 3d 20 62 61 63 6b 75 70 73 44 69 72 3b 0a 0a 20 20 20 20 66 70 2e 64 65 | rectory.=.backupsDir;......fp.de |
179ce0 | 66 61 75 6c 74 53 74 72 69 6e 67 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 67 65 74 42 61 63 | faultString.=.PlacesUtils.getBac |
179d00 | 6b 75 70 46 69 6c 65 6e 61 6d 65 28 29 3b 0a 0a 20 20 20 20 69 66 20 28 66 70 2e 73 68 6f 77 28 | kupFilename();......if.(fp.show( |
179d20 | 29 20 21 3d 20 43 69 2e 6e 73 49 46 69 6c 65 50 69 63 6b 65 72 2e 72 65 74 75 72 6e 43 61 6e 63 | ).!=.Ci.nsIFilePicker.returnCanc |
179d40 | 65 6c 29 20 7b 0a 20 20 20 20 20 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 62 61 63 6b 75 70 42 6f | el).{.......PlacesUtils.backupBo |
179d60 | 6f 6b 6d 61 72 6b 73 54 6f 46 69 6c 65 28 66 70 2e 66 69 6c 65 29 3b 0a 0a 20 20 20 20 20 20 2f | okmarksToFile(fp.file);......../ |
179d80 | 2f 20 63 6f 70 79 20 6e 65 77 20 62 61 63 6b 75 70 20 74 6f 20 2f 62 61 63 6b 75 70 73 20 64 69 | /.copy.new.backup.to./backups.di |
179da0 | 72 20 28 62 75 67 20 34 32 34 33 38 39 29 0a 20 20 20 20 20 20 76 61 72 20 6c 61 74 65 73 74 42 | r.(bug.424389).......var.latestB |
179dc0 | 61 63 6b 75 70 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 67 65 74 4d 6f 73 74 52 65 63 65 6e | ackup.=.PlacesUtils.getMostRecen |
179de0 | 74 42 61 63 6b 75 70 28 29 3b 0a 20 20 20 20 20 20 69 66 20 28 21 6c 61 74 65 73 74 42 61 63 6b | tBackup();.......if.(!latestBack |
179e00 | 75 70 20 7c 7c 20 6c 61 74 65 73 74 42 61 63 6b 75 70 20 21 3d 20 66 70 2e 66 69 6c 65 29 20 7b | up.||.latestBackup.!=.fp.file).{ |
179e20 | 0a 20 20 20 20 20 20 20 20 6c 61 74 65 73 74 42 61 63 6b 75 70 2e 72 65 6d 6f 76 65 28 66 61 6c | .........latestBackup.remove(fal |
179e40 | 73 65 29 3b 0a 20 20 20 20 20 20 20 20 76 61 72 20 6e 61 6d 65 20 3d 20 50 6c 61 63 65 73 55 74 | se);.........var.name.=.PlacesUt |
179e60 | 69 6c 73 2e 67 65 74 42 61 63 6b 75 70 46 69 6c 65 6e 61 6d 65 28 29 3b 0a 20 20 20 20 20 20 20 | ils.getBackupFilename();........ |
179e80 | 20 66 70 2e 66 69 6c 65 2e 63 6f 70 79 54 6f 28 74 68 69 73 2e 62 6f 6f 6b 6d 61 72 6b 73 42 61 | .fp.file.copyTo(this.bookmarksBa |
179ea0 | 63 6b 75 70 44 69 72 2c 20 6e 61 6d 65 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 20 20 | ckupDir,.name);.......}.....}... |
179ec0 | 7d 2c 0a 0a 20 20 67 65 74 20 62 6f 6f 6b 6d 61 72 6b 73 42 61 63 6b 75 70 44 69 72 28 29 20 7b | },....get.bookmarksBackupDir().{ |
179ee0 | 0a 20 20 20 20 64 65 6c 65 74 65 20 74 68 69 73 2e 62 6f 6f 6b 6d 61 72 6b 73 42 61 63 6b 75 70 | .....delete.this.bookmarksBackup |
179f00 | 44 69 72 3b 0a 20 20 20 20 76 61 72 20 64 69 72 53 76 63 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c | Dir;.....var.dirSvc.=.Cc["@mozil |
179f20 | 6c 61 2e 6f 72 67 2f 66 69 6c 65 2f 64 69 72 65 63 74 6f 72 79 5f 73 65 72 76 69 63 65 3b 31 22 | la.org/file/directory_service;1" |
179f40 | 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 | ]...................getService(C |
179f60 | 69 2e 6e 73 49 50 72 6f 70 65 72 74 69 65 73 29 3b 0a 20 20 20 20 76 61 72 20 62 6f 6f 6b 6d 61 | i.nsIProperties);.....var.bookma |
179f80 | 72 6b 73 42 61 63 6b 75 70 44 69 72 20 3d 20 64 69 72 53 76 63 2e 67 65 74 28 22 50 72 6f 66 44 | rksBackupDir.=.dirSvc.get("ProfD |
179fa0 | 22 2c 20 43 69 2e 6e 73 49 46 69 6c 65 29 3b 0a 20 20 20 20 62 6f 6f 6b 6d 61 72 6b 73 42 61 63 | ",.Ci.nsIFile);.....bookmarksBac |
179fc0 | 6b 75 70 44 69 72 2e 61 70 70 65 6e 64 28 22 62 6f 6f 6b 6d 61 72 6b 62 61 63 6b 75 70 73 22 29 | kupDir.append("bookmarkbackups") |
179fe0 | 3b 0a 20 20 20 20 69 66 20 28 21 62 6f 6f 6b 6d 61 72 6b 73 42 61 63 6b 75 70 44 69 72 2e 65 78 | ;.....if.(!bookmarksBackupDir.ex |
17a000 | 69 73 74 73 28 29 29 0a 20 20 20 20 20 20 62 6f 6f 6b 6d 61 72 6b 73 42 61 63 6b 75 70 44 69 72 | ists()).......bookmarksBackupDir |
17a020 | 2e 63 72 65 61 74 65 28 43 69 2e 6e 73 49 46 69 6c 65 2e 44 49 52 45 43 54 4f 52 59 5f 54 59 50 | .create(Ci.nsIFile.DIRECTORY_TYP |
17a040 | 45 2c 20 30 37 30 30 29 3b 0a 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 62 6f 6f 6b 6d 61 | E,.0700);.....return.this.bookma |
17a060 | 72 6b 73 42 61 63 6b 75 70 44 69 72 20 3d 20 62 6f 6f 6b 6d 61 72 6b 73 42 61 63 6b 75 70 44 69 | rksBackupDir.=.bookmarksBackupDi |
17a080 | 72 3b 0a 20 20 7d 2c 0a 0a 20 20 5f 70 61 6e 65 44 69 73 61 62 6c 65 64 3a 20 66 61 6c 73 65 2c | r;...},...._paneDisabled:.false, |
17a0a0 | 0a 20 20 5f 73 65 74 44 65 74 61 69 6c 73 46 69 65 6c 64 73 44 69 73 61 62 6c 65 64 53 74 61 74 | ..._setDetailsFieldsDisabledStat |
17a0c0 | 65 3a 0a 20 20 66 75 6e 63 74 69 6f 6e 20 50 4f 5f 5f 73 65 74 44 65 74 61 69 6c 73 46 69 65 6c | e:...function.PO__setDetailsFiel |
17a0e0 | 64 73 44 69 73 61 62 6c 65 64 53 74 61 74 65 28 61 44 69 73 61 62 6c 65 64 29 20 7b 0a 20 20 20 | dsDisabledState(aDisabled).{.... |
17a100 | 20 69 66 20 28 61 44 69 73 61 62 6c 65 64 29 20 7b 0a 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 | .if.(aDisabled).{.......document |
17a120 | 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 70 61 6e 65 45 6c 65 6d 65 6e 74 73 42 72 6f | .getElementById("paneElementsBro |
17a140 | 61 64 63 61 73 74 65 72 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 73 65 74 41 74 74 | adcaster")................setAtt |
17a160 | 72 69 62 75 74 65 28 22 64 69 73 61 62 6c 65 64 22 2c 20 22 74 72 75 65 22 29 3b 0a 20 20 20 20 | ribute("disabled",."true");..... |
17a180 | 7d 0a 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 | }.....else.{.......document.getE |
17a1a0 | 6c 65 6d 65 6e 74 42 79 49 64 28 22 70 61 6e 65 45 6c 65 6d 65 6e 74 73 42 72 6f 61 64 63 61 73 | lementById("paneElementsBroadcas |
17a1c0 | 74 65 72 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 72 65 6d 6f 76 65 41 74 74 72 69 | ter")................removeAttri |
17a1e0 | 62 75 74 65 28 22 64 69 73 61 62 6c 65 64 22 29 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 | bute("disabled");.....}...},.... |
17a200 | 5f 64 65 74 65 63 74 41 6e 64 53 65 74 44 65 74 61 69 6c 73 50 61 6e 65 4d 69 6e 69 6d 61 6c 53 | _detectAndSetDetailsPaneMinimalS |
17a220 | 74 61 74 65 3a 0a 20 20 66 75 6e 63 74 69 6f 6e 20 50 4f 5f 5f 64 65 74 65 63 74 41 6e 64 53 65 | tate:...function.PO__detectAndSe |
17a240 | 74 44 65 74 61 69 6c 73 50 61 6e 65 4d 69 6e 69 6d 61 6c 53 74 61 74 65 28 61 4e 6f 64 65 29 20 | tDetailsPaneMinimalState(aNode). |
17a260 | 7b 0a 20 20 20 20 2f 2a 2a 0a 20 20 20 20 20 2a 20 54 68 65 20 64 65 74 61 69 6c 73 20 6f 66 20 | {...../**......*.The.details.of. |
17a280 | 73 69 6d 70 6c 65 20 66 6f 6c 64 65 72 2d 69 74 65 6d 73 20 28 61 73 20 6f 70 70 6f 73 65 64 20 | simple.folder-items.(as.opposed. |
17a2a0 | 74 6f 20 6c 69 76 65 6d 61 72 6b 73 29 20 6f 72 20 74 68 65 0a 20 20 20 20 20 2a 20 6f 66 20 6c | to.livemarks).or.the......*.of.l |
17a2c0 | 69 76 65 6d 61 72 6b 2d 63 68 69 6c 64 72 65 6e 20 61 72 65 20 6e 6f 74 20 6c 69 6b 65 6c 79 20 | ivemark-children.are.not.likely. |
17a2e0 | 74 6f 20 66 69 6c 6c 20 74 68 65 20 69 6e 66 6f 42 6f 78 20 61 6e 79 77 61 79 2c 0a 20 20 20 20 | to.fill.the.infoBox.anyway,..... |
17a300 | 20 2a 20 74 68 75 73 20 77 65 20 72 65 6d 6f 76 65 20 74 68 65 20 22 4d 6f 72 65 2f 4c 65 73 73 | .*.thus.we.remove.the."More/Less |
17a320 | 22 20 62 75 74 74 6f 6e 20 61 6e 64 20 73 68 6f 77 20 61 6c 6c 20 64 65 74 61 69 6c 73 2e 0a 20 | ".button.and.show.all.details... |
17a340 | 20 20 20 20 2a 0a 20 20 20 20 20 2a 20 74 68 65 20 77 61 73 6d 69 6e 69 6d 61 6c 20 61 74 74 72 | ....*......*.the.wasminimal.attr |
17a360 | 69 62 75 74 65 20 68 65 72 65 20 69 73 20 75 73 65 64 20 74 6f 20 70 65 72 73 69 73 74 20 74 68 | ibute.here.is.used.to.persist.th |
17a380 | 65 20 22 6d 6f 72 65 2f 6c 65 73 73 22 0a 20 20 20 20 20 2a 20 73 74 61 74 65 20 69 6e 20 61 20 | e."more/less"......*.state.in.a. |
17a3a0 | 62 6f 6f 6b 6d 61 72 6b 2d 3e 66 6f 6c 64 65 72 2d 3e 62 6f 6f 6b 6d 61 72 6b 20 73 63 65 6e 61 | bookmark->folder->bookmark.scena |
17a3c0 | 72 69 6f 2e 0a 20 20 20 20 20 2a 2f 0a 20 20 20 20 76 61 72 20 69 6e 66 6f 42 6f 78 20 3d 20 64 | rio.......*/.....var.infoBox.=.d |
17a3e0 | 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 69 6e 66 6f 42 6f 78 22 | ocument.getElementById("infoBox" |
17a400 | 29 3b 0a 20 20 20 20 76 61 72 20 69 6e 66 6f 42 6f 78 45 78 70 61 6e 64 65 72 20 3d 20 64 6f 63 | );.....var.infoBoxExpander.=.doc |
17a420 | 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 69 6e 66 6f 42 6f 78 45 78 70 | ument.getElementById("infoBoxExp |
17a440 | 61 6e 64 65 72 22 29 3b 0a 20 20 20 20 76 61 72 20 69 6e 66 6f 42 6f 78 45 78 70 61 6e 64 65 72 | ander");.....var.infoBoxExpander |
17a460 | 57 72 61 70 70 65 72 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 | Wrapper.=.document.getElementByI |
17a480 | 64 28 22 69 6e 66 6f 42 6f 78 45 78 70 61 6e 64 65 72 57 72 61 70 70 65 72 22 29 3b 0a 0a 20 20 | d("infoBoxExpanderWrapper");.... |
17a4a0 | 20 20 69 66 20 28 21 61 4e 6f 64 65 29 20 7b 0a 20 20 20 20 20 20 69 6e 66 6f 42 6f 78 45 78 70 | ..if.(!aNode).{.......infoBoxExp |
17a4c0 | 61 6e 64 65 72 57 72 61 70 70 65 72 2e 68 69 64 64 65 6e 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 | anderWrapper.hidden.=.true;..... |
17a4e0 | 20 20 72 65 74 75 72 6e 3b 0a 20 20 20 20 7d 0a 20 20 20 20 69 66 20 28 61 4e 6f 64 65 2e 69 74 | ..return;.....}.....if.(aNode.it |
17a500 | 65 6d 49 64 20 21 3d 20 2d 31 20 26 26 0a 20 20 20 20 20 20 20 20 28 28 50 6c 61 63 65 73 55 74 | emId.!=.-1.&&.........((PlacesUt |
17a520 | 69 6c 73 2e 6e 6f 64 65 49 73 46 6f 6c 64 65 72 28 61 4e 6f 64 65 29 20 26 26 0a 20 20 20 20 20 | ils.nodeIsFolder(aNode).&&...... |
17a540 | 20 20 20 20 20 21 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 4c 69 76 65 6d 61 72 6b | .....!PlacesUtils.nodeIsLivemark |
17a560 | 43 6f 6e 74 61 69 6e 65 72 28 61 4e 6f 64 65 29 29 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 50 6c | Container(aNode)).||..........Pl |
17a580 | 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 4c 69 76 65 6d 61 72 6b 49 74 65 6d 28 61 4e 6f | acesUtils.nodeIsLivemarkItem(aNo |
17a5a0 | 64 65 29 29 29 20 7b 0a 20 20 20 20 20 20 69 66 20 28 69 6e 66 6f 42 6f 78 2e 67 65 74 41 74 74 | de))).{.......if.(infoBox.getAtt |
17a5c0 | 72 69 62 75 74 65 28 22 6d 69 6e 69 6d 61 6c 22 29 20 3d 3d 20 22 74 72 75 65 22 29 0a 20 20 20 | ribute("minimal").==."true").... |
17a5e0 | 20 20 20 20 20 69 6e 66 6f 42 6f 78 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 77 61 73 6d 69 | .....infoBox.setAttribute("wasmi |
17a600 | 6e 69 6d 61 6c 22 2c 20 22 74 72 75 65 22 29 3b 0a 20 20 20 20 20 20 69 6e 66 6f 42 6f 78 2e 72 | nimal",."true");.......infoBox.r |
17a620 | 65 6d 6f 76 65 41 74 74 72 69 62 75 74 65 28 22 6d 69 6e 69 6d 61 6c 22 29 3b 0a 20 20 20 20 20 | emoveAttribute("minimal");...... |
17a640 | 20 69 6e 66 6f 42 6f 78 45 78 70 61 6e 64 65 72 57 72 61 70 70 65 72 2e 68 69 64 64 65 6e 20 3d | .infoBoxExpanderWrapper.hidden.= |
17a660 | 20 74 72 75 65 3b 0a 20 20 20 20 7d 0a 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 69 66 | .true;.....}.....else.{.......if |
17a680 | 20 28 69 6e 66 6f 42 6f 78 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 77 61 73 6d 69 6e 69 6d | .(infoBox.getAttribute("wasminim |
17a6a0 | 61 6c 22 29 20 3d 3d 20 22 74 72 75 65 22 29 0a 20 20 20 20 20 20 20 20 69 6e 66 6f 42 6f 78 2e | al").==."true").........infoBox. |
17a6c0 | 73 65 74 41 74 74 72 69 62 75 74 65 28 22 6d 69 6e 69 6d 61 6c 22 2c 20 22 74 72 75 65 22 29 3b | setAttribute("minimal",."true"); |
17a6e0 | 0a 20 20 20 20 20 20 69 6e 66 6f 42 6f 78 2e 72 65 6d 6f 76 65 41 74 74 72 69 62 75 74 65 28 22 | .......infoBox.removeAttribute(" |
17a700 | 77 61 73 6d 69 6e 69 6d 61 6c 22 29 3b 0a 20 20 20 20 20 20 69 6e 66 6f 42 6f 78 45 78 70 61 6e | wasminimal");.......infoBoxExpan |
17a720 | 64 65 72 57 72 61 70 70 65 72 2e 68 69 64 64 65 6e 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 7d | derWrapper.hidden.=.false;.....} |
17a740 | 0a 20 20 7d 2c 0a 0a 20 20 2f 2f 20 4e 4f 54 20 59 45 54 20 55 53 45 44 0a 20 20 75 70 64 61 74 | ...},....//.NOT.YET.USED...updat |
17a760 | 65 54 68 75 6d 62 6e 61 69 6c 50 72 6f 70 6f 72 74 69 6f 6e 73 3a 20 66 75 6e 63 74 69 6f 6e 20 | eThumbnailProportions:.function. |
17a780 | 50 4f 5f 75 70 64 61 74 65 54 68 75 6d 62 6e 61 69 6c 50 72 6f 70 6f 72 74 69 6f 6e 73 28 29 20 | PO_updateThumbnailProportions(). |
17a7a0 | 7b 0a 20 20 20 20 76 61 72 20 70 72 65 76 69 65 77 42 6f 78 20 3d 20 64 6f 63 75 6d 65 6e 74 2e | {.....var.previewBox.=.document. |
17a7c0 | 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 70 72 65 76 69 65 77 42 6f 78 22 29 3b 0a 20 20 | getElementById("previewBox");... |
17a7e0 | 20 20 76 61 72 20 63 61 6e 76 61 73 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 | ..var.canvas.=.document.getEleme |
17a800 | 6e 74 42 79 49 64 28 22 69 74 65 6d 54 68 75 6d 62 6e 61 69 6c 22 29 3b 0a 20 20 20 20 76 61 72 | ntById("itemThumbnail");.....var |
17a820 | 20 68 65 69 67 68 74 20 3d 20 70 72 65 76 69 65 77 42 6f 78 2e 62 6f 78 4f 62 6a 65 63 74 2e 68 | .height.=.previewBox.boxObject.h |
17a840 | 65 69 67 68 74 3b 0a 20 20 20 20 76 61 72 20 77 69 64 74 68 20 3d 20 68 65 69 67 68 74 20 2a 20 | eight;.....var.width.=.height.*. |
17a860 | 28 73 63 72 65 65 6e 2e 77 69 64 74 68 20 2f 20 73 63 72 65 65 6e 2e 68 65 69 67 68 74 29 3b 0a | (screen.width./.screen.height);. |
17a880 | 20 20 20 20 63 61 6e 76 61 73 2e 77 69 64 74 68 20 3d 20 77 69 64 74 68 3b 0a 20 20 20 20 63 61 | ....canvas.width.=.width;.....ca |
17a8a0 | 6e 76 61 73 2e 68 65 69 67 68 74 20 3d 20 68 65 69 67 68 74 3b 0a 20 20 7d 2c 0a 0a 20 20 6f 6e | nvas.height.=.height;...},....on |
17a8c0 | 43 6f 6e 74 65 6e 74 54 72 65 65 53 65 6c 65 63 74 3a 20 66 75 6e 63 74 69 6f 6e 20 50 4f 5f 6f | ContentTreeSelect:.function.PO_o |
17a8e0 | 6e 43 6f 6e 74 65 6e 74 54 72 65 65 53 65 6c 65 63 74 28 29 20 7b 0a 20 20 20 20 69 66 20 28 74 | nContentTreeSelect().{.....if.(t |
17a900 | 68 69 73 2e 5f 63 6f 6e 74 65 6e 74 2e 74 72 65 65 42 6f 78 4f 62 6a 65 63 74 2e 66 6f 63 75 73 | his._content.treeBoxObject.focus |
17a920 | 65 64 29 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 66 69 6c 6c 44 65 74 61 69 6c 73 50 61 6e 65 28 | ed).......this._fillDetailsPane( |
17a940 | 74 68 69 73 2e 5f 63 6f 6e 74 65 6e 74 2e 67 65 74 53 65 6c 65 63 74 69 6f 6e 4e 6f 64 65 73 28 | this._content.getSelectionNodes( |
17a960 | 29 29 3b 0a 20 20 7d 2c 0a 0a 20 20 5f 66 69 6c 6c 44 65 74 61 69 6c 73 50 61 6e 65 3a 20 66 75 | ));...},...._fillDetailsPane:.fu |
17a980 | 6e 63 74 69 6f 6e 20 50 4f 5f 5f 66 69 6c 6c 44 65 74 61 69 6c 73 50 61 6e 65 28 61 4e 6f 64 65 | nction.PO__fillDetailsPane(aNode |
17a9a0 | 4c 69 73 74 29 20 7b 0a 20 20 20 20 76 61 72 20 69 6e 66 6f 42 6f 78 20 3d 20 64 6f 63 75 6d 65 | List).{.....var.infoBox.=.docume |
17a9c0 | 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 69 6e 66 6f 42 6f 78 22 29 3b 0a 20 20 | nt.getElementById("infoBox");... |
17a9e0 | 20 20 76 61 72 20 64 65 74 61 69 6c 73 44 65 63 6b 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 | ..var.detailsDeck.=.document.get |
17aa00 | 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 64 65 74 61 69 6c 73 44 65 63 6b 22 29 3b 0a 0a 20 20 20 | ElementById("detailsDeck");..... |
17aa20 | 20 2f 2f 20 4d 61 6b 65 20 73 75 72 65 20 74 68 65 20 69 6e 66 6f 42 6f 78 20 55 49 20 69 73 20 | .//.Make.sure.the.infoBox.UI.is. |
17aa40 | 76 69 73 69 62 6c 65 20 69 66 20 77 65 20 6e 65 65 64 20 74 6f 20 75 73 65 20 69 74 2c 20 77 65 | visible.if.we.need.to.use.it,.we |
17aa60 | 20 68 69 64 65 20 69 74 0a 20 20 20 20 2f 2f 20 62 65 6c 6f 77 20 77 68 65 6e 20 77 65 20 64 6f | .hide.it.....//.below.when.we.do |
17aa80 | 6e 27 74 2e 0a 20 20 20 20 69 6e 66 6f 42 6f 78 2e 68 69 64 64 65 6e 20 3d 20 66 61 6c 73 65 3b | n't......infoBox.hidden.=.false; |
17aaa0 | 0a 20 20 20 20 76 61 72 20 61 53 65 6c 65 63 74 65 64 4e 6f 64 65 20 3d 20 61 4e 6f 64 65 4c 69 | .....var.aSelectedNode.=.aNodeLi |
17aac0 | 73 74 2e 6c 65 6e 67 74 68 20 3d 3d 20 31 20 3f 20 61 4e 6f 64 65 4c 69 73 74 5b 30 5d 20 3a 20 | st.length.==.1.?.aNodeList[0].:. |
17aae0 | 6e 75 6c 6c 3b 0a 20 20 20 20 2f 2f 20 49 66 20 61 20 74 65 78 74 62 6f 78 20 77 69 74 68 69 6e | null;.....//.If.a.textbox.within |
17ab00 | 20 61 20 70 61 6e 65 6c 20 69 73 20 66 6f 63 75 73 65 64 2c 20 66 6f 72 63 65 2d 62 6c 75 72 20 | .a.panel.is.focused,.force-blur. |
17ab20 | 69 74 20 73 6f 20 69 74 73 20 63 6f 6e 74 65 6e 74 73 0a 20 20 20 20 2f 2f 20 61 72 65 20 73 61 | it.so.its.contents.....//.are.sa |
17ab40 | 76 65 64 0a 20 20 20 20 69 66 20 28 67 45 64 69 74 49 74 65 6d 4f 76 65 72 6c 61 79 2e 69 74 65 | ved.....if.(gEditItemOverlay.ite |
17ab60 | 6d 49 64 20 21 3d 20 2d 31 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 66 6f 63 75 73 65 64 45 6c | mId.!=.-1).{.......var.focusedEl |
17ab80 | 65 6d 65 6e 74 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 63 6f 6d 6d 61 6e 64 44 69 73 70 61 74 63 68 | ement.=.document.commandDispatch |
17aba0 | 65 72 2e 66 6f 63 75 73 65 64 45 6c 65 6d 65 6e 74 3b 0a 20 20 20 20 20 20 69 66 20 28 28 66 6f | er.focusedElement;.......if.((fo |
17abc0 | 63 75 73 65 64 45 6c 65 6d 65 6e 74 20 69 6e 73 74 61 6e 63 65 6f 66 20 48 54 4d 4c 49 6e 70 75 | cusedElement.instanceof.HTMLInpu |
17abe0 | 74 45 6c 65 6d 65 6e 74 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 66 6f 63 75 73 65 64 45 6c | tElement.||............focusedEl |
17ac00 | 65 6d 65 6e 74 20 69 6e 73 74 61 6e 63 65 6f 66 20 48 54 4d 4c 54 65 78 74 41 72 65 61 45 6c 65 | ement.instanceof.HTMLTextAreaEle |
17ac20 | 6d 65 6e 74 29 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 2f 5e 65 64 69 74 42 4d 50 61 6e 65 6c | ment).&&.........../^editBMPanel |
17ac40 | 2e 2a 2f 2e 74 65 73 74 28 66 6f 63 75 73 65 64 45 6c 65 6d 65 6e 74 2e 70 61 72 65 6e 74 4e 6f | .*/.test(focusedElement.parentNo |
17ac60 | 64 65 2e 70 61 72 65 6e 74 4e 6f 64 65 2e 69 64 29 29 0a 20 20 20 20 20 20 20 20 66 6f 63 75 73 | de.parentNode.id)).........focus |
17ac80 | 65 64 45 6c 65 6d 65 6e 74 2e 62 6c 75 72 28 29 3b 0a 0a 20 20 20 20 20 20 2f 2f 20 64 6f 6e 27 | edElement.blur();........//.don' |
17aca0 | 74 20 75 70 64 61 74 65 20 74 68 65 20 70 61 6e 65 6c 20 69 66 20 77 65 20 61 72 65 20 61 6c 72 | t.update.the.panel.if.we.are.alr |
17acc0 | 65 61 64 79 20 65 64 69 74 69 6e 67 20 74 68 69 73 20 6e 6f 64 65 20 75 6e 6c 65 73 73 20 77 65 | eady.editing.this.node.unless.we |
17ace0 | 27 72 65 0a 20 20 20 20 20 20 2f 2f 20 69 6e 20 6d 75 6c 74 69 2d 65 64 69 74 20 6d 6f 64 65 0a | 're.......//.in.multi-edit.mode. |
17ad00 | 20 20 20 20 20 20 69 66 20 28 61 53 65 6c 65 63 74 65 64 4e 6f 64 65 20 26 26 20 67 45 64 69 74 | ......if.(aSelectedNode.&&.gEdit |
17ad20 | 49 74 65 6d 4f 76 65 72 6c 61 79 2e 69 74 65 6d 49 64 20 3d 3d 20 61 53 65 6c 65 63 74 65 64 4e | ItemOverlay.itemId.==.aSelectedN |
17ad40 | 6f 64 65 2e 69 74 65 6d 49 64 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 64 65 74 61 69 6c 73 44 | ode.itemId.&&...........detailsD |
17ad60 | 65 63 6b 2e 73 65 6c 65 63 74 65 64 49 6e 64 65 78 20 3d 3d 20 31 20 26 26 20 21 67 45 64 69 74 | eck.selectedIndex.==.1.&&.!gEdit |
17ad80 | 49 74 65 6d 4f 76 65 72 6c 61 79 2e 6d 75 6c 74 69 45 64 69 74 29 0a 20 20 20 20 20 20 20 20 72 | ItemOverlay.multiEdit).........r |
17ada0 | 65 74 75 72 6e 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 2f 2f 20 43 6c 65 61 6e 20 75 70 20 74 68 | eturn;.....}......//.Clean.up.th |
17adc0 | 65 20 70 61 6e 65 6c 20 62 65 66 6f 72 65 20 69 6e 69 74 69 6e 67 20 69 74 20 61 67 61 69 6e 2e | e.panel.before.initing.it.again. |
17ade0 | 0a 20 20 20 20 67 45 64 69 74 49 74 65 6d 4f 76 65 72 6c 61 79 2e 75 6e 69 6e 69 74 50 61 6e 65 | .....gEditItemOverlay.uninitPane |
17ae00 | 6c 28 66 61 6c 73 65 29 3b 0a 0a 20 20 20 20 69 66 20 28 61 53 65 6c 65 63 74 65 64 4e 6f 64 65 | l(false);......if.(aSelectedNode |
17ae20 | 20 26 26 20 21 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 53 65 70 61 72 61 74 6f 72 | .&&.!PlacesUtils.nodeIsSeparator |
17ae40 | 28 61 53 65 6c 65 63 74 65 64 4e 6f 64 65 29 29 20 7b 0a 20 20 20 20 20 20 64 65 74 61 69 6c 73 | (aSelectedNode)).{.......details |
17ae60 | 44 65 63 6b 2e 73 65 6c 65 63 74 65 64 49 6e 64 65 78 20 3d 20 31 3b 0a 20 20 20 20 20 20 2f 2f | Deck.selectedIndex.=.1;.......// |
17ae80 | 20 55 73 69 6e 67 20 74 68 65 20 63 6f 6e 63 72 65 74 65 20 69 74 65 6d 49 64 20 69 73 20 61 72 | .Using.the.concrete.itemId.is.ar |
17aea0 | 67 75 61 62 6c 79 20 77 72 6f 6e 67 2e 20 20 54 68 65 20 62 6f 6f 6b 6d 61 72 6b 73 20 41 50 49 | guably.wrong...The.bookmarks.API |
17aec0 | 0a 20 20 20 20 20 20 2f 2f 20 64 6f 65 73 20 61 6c 6c 6f 77 20 73 65 74 74 69 6e 67 20 70 72 6f | .......//.does.allow.setting.pro |
17aee0 | 70 65 72 74 69 65 73 20 66 6f 72 20 66 6f 6c 64 65 72 20 73 68 6f 72 74 63 75 74 73 20 61 73 20 | perties.for.folder.shortcuts.as. |
17af00 | 77 65 6c 6c 2c 20 62 75 74 20 73 69 6e 63 65 0a 20 20 20 20 20 20 2f 2f 20 74 68 65 20 55 49 20 | well,.but.since.......//.the.UI. |
17af20 | 64 6f 65 73 20 6e 6f 74 20 64 69 73 74 69 6e 63 74 20 62 65 74 77 65 65 6e 20 74 68 65 20 63 6f | does.not.distinct.between.the.co |
17af40 | 75 70 6c 65 2c 20 77 65 20 62 65 74 74 65 72 20 6a 75 73 74 20 73 68 6f 77 0a 20 20 20 20 20 20 | uple,.we.better.just.show....... |
17af60 | 2f 2f 20 74 68 65 20 63 6f 6e 63 72 65 74 65 20 69 74 65 6d 20 70 72 6f 70 65 72 74 69 65 73 20 | //.the.concrete.item.properties. |
17af80 | 66 6f 72 20 73 68 6f 72 74 63 75 74 73 20 74 6f 20 72 6f 6f 74 20 6e 6f 64 65 73 2e 0a 20 20 20 | for.shortcuts.to.root.nodes..... |
17afa0 | 20 20 20 76 61 72 20 63 6f 6e 63 72 65 74 65 49 64 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e | ...var.concreteId.=.PlacesUtils. |
17afc0 | 67 65 74 43 6f 6e 63 72 65 74 65 49 74 65 6d 49 64 28 61 53 65 6c 65 63 74 65 64 4e 6f 64 65 29 | getConcreteItemId(aSelectedNode) |
17afe0 | 3b 0a 20 20 20 20 20 20 76 61 72 20 69 73 52 6f 6f 74 49 74 65 6d 20 3d 20 63 6f 6e 63 72 65 74 | ;.......var.isRootItem.=.concret |
17b000 | 65 49 64 20 21 3d 20 2d 31 20 26 26 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 69 73 52 6f 6f 74 49 | eId.!=.-1.&&.PlacesUtils.isRootI |
17b020 | 74 65 6d 28 63 6f 6e 63 72 65 74 65 49 64 29 3b 0a 20 20 20 20 20 20 76 61 72 20 72 65 61 64 4f | tem(concreteId);.......var.readO |
17b040 | 6e 6c 79 20 3d 20 69 73 52 6f 6f 74 49 74 65 6d 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 | nly.=.isRootItem.||............. |
17b060 | 20 20 20 20 20 20 20 20 20 61 53 65 6c 65 63 74 65 64 4e 6f 64 65 2e 70 61 72 65 6e 74 2e 69 74 | .........aSelectedNode.parent.it |
17b080 | 65 6d 49 64 20 3d 3d 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 6c 65 66 74 50 61 6e 65 46 6f | emId.==.PlacesUIUtils.leftPaneFo |
17b0a0 | 6c 64 65 72 49 64 3b 0a 20 20 20 20 20 20 76 61 72 20 75 73 65 43 6f 6e 63 72 65 74 65 49 64 20 | lderId;.......var.useConcreteId. |
17b0c0 | 3d 20 69 73 52 6f 6f 74 49 74 65 6d 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | =.isRootItem.||................. |
17b0e0 | 20 20 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 54 61 67 51 | ..........PlacesUtils.nodeIsTagQ |
17b100 | 75 65 72 79 28 61 53 65 6c 65 63 74 65 64 4e 6f 64 65 29 3b 0a 20 20 20 20 20 20 76 61 72 20 69 | uery(aSelectedNode);.......var.i |
17b120 | 74 65 6d 49 64 20 3d 20 2d 31 3b 0a 20 20 20 20 20 20 69 66 20 28 63 6f 6e 63 72 65 74 65 49 64 | temId.=.-1;.......if.(concreteId |
17b140 | 20 21 3d 20 2d 31 20 26 26 20 75 73 65 43 6f 6e 63 72 65 74 65 49 64 29 0a 20 20 20 20 20 20 20 | .!=.-1.&&.useConcreteId)........ |
17b160 | 20 69 74 65 6d 49 64 20 3d 20 63 6f 6e 63 72 65 74 65 49 64 3b 0a 20 20 20 20 20 20 65 6c 73 65 | .itemId.=.concreteId;.......else |
17b180 | 20 69 66 20 28 61 53 65 6c 65 63 74 65 64 4e 6f 64 65 2e 69 74 65 6d 49 64 20 21 3d 20 2d 31 29 | .if.(aSelectedNode.itemId.!=.-1) |
17b1a0 | 0a 20 20 20 20 20 20 20 20 69 74 65 6d 49 64 20 3d 20 61 53 65 6c 65 63 74 65 64 4e 6f 64 65 2e | .........itemId.=.aSelectedNode. |
17b1c0 | 69 74 65 6d 49 64 3b 0a 20 20 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 20 20 69 74 65 6d 49 | itemId;.......else.........itemI |
17b1e0 | 64 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 5f 75 72 69 28 61 53 65 6c 65 63 74 65 64 4e 6f | d.=.PlacesUtils._uri(aSelectedNo |
17b200 | 64 65 2e 75 72 69 29 3b 0a 0a 20 20 20 20 20 20 67 45 64 69 74 49 74 65 6d 4f 76 65 72 6c 61 79 | de.uri);........gEditItemOverlay |
17b220 | 2e 69 6e 69 74 50 61 6e 65 6c 28 69 74 65 6d 49 64 2c 20 7b 20 68 69 64 64 65 6e 52 6f 77 73 3a | .initPanel(itemId,.{.hiddenRows: |
17b240 | 20 5b 22 66 6f 6c 64 65 72 50 69 63 6b 65 72 22 5d 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | .["folderPicker"],.............. |
17b260 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 6f | ..............................fo |
17b280 | 72 63 65 52 65 61 64 4f 6e 6c 79 3a 20 72 65 61 64 4f 6e 6c 79 20 7d 29 3b 0a 0a 20 20 20 20 20 | rceReadOnly:.readOnly.});....... |
17b2a0 | 20 2f 2f 20 44 79 6e 61 6d 69 63 61 6c 6c 79 20 67 65 6e 65 72 61 74 65 64 20 71 75 65 72 69 65 | .//.Dynamically.generated.querie |
17b2c0 | 73 2c 20 6c 69 6b 65 20 68 69 73 74 6f 72 79 20 64 61 74 65 20 63 6f 6e 74 61 69 6e 65 72 73 2c | s,.like.history.date.containers, |
17b2e0 | 20 68 61 76 65 0a 20 20 20 20 20 20 2f 2f 20 69 74 65 6d 49 64 20 21 3d 30 20 61 6e 64 20 64 6f | .have.......//.itemId.!=0.and.do |
17b300 | 20 6e 6f 74 20 65 78 69 73 74 20 69 6e 20 68 69 73 74 6f 72 79 2e 20 20 46 6f 72 20 74 68 65 6d | .not.exist.in.history...For.them |
17b320 | 20 74 68 65 20 70 61 6e 65 6c 20 69 73 0a 20 20 20 20 20 20 2f 2f 20 72 65 61 64 2d 6f 6e 6c 79 | .the.panel.is.......//.read-only |
17b340 | 2c 20 62 75 74 20 65 6d 70 74 79 2c 20 73 69 6e 63 65 20 69 74 20 63 61 6e 27 74 20 67 65 74 20 | ,.but.empty,.since.it.can't.get. |
17b360 | 61 20 76 61 6c 69 64 20 74 69 74 6c 65 20 66 6f 72 20 74 68 65 20 6f 62 6a 65 63 74 2e 0a 20 20 | a.valid.title.for.the.object.... |
17b380 | 20 20 20 20 2f 2f 20 49 6e 20 73 75 63 68 20 61 20 63 61 73 65 20 77 65 20 66 6f 72 63 65 20 74 | ....//.In.such.a.case.we.force.t |
17b3a0 | 68 65 20 74 69 74 6c 65 20 75 73 69 6e 67 20 74 68 65 20 73 65 6c 65 63 74 65 64 4e 6f 64 65 20 | he.title.using.the.selectedNode. |
17b3c0 | 6f 6e 65 2c 20 66 6f 72 20 55 49 0a 20 20 20 20 20 20 2f 2f 20 70 6f 6c 69 73 68 6e 65 73 73 2e | one,.for.UI.......//.polishness. |
17b3e0 | 0a 20 20 20 20 20 20 69 66 20 28 61 53 65 6c 65 63 74 65 64 4e 6f 64 65 2e 69 74 65 6d 49 64 20 | .......if.(aSelectedNode.itemId. |
17b400 | 3d 3d 20 2d 31 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 28 50 6c 61 63 65 73 55 74 69 6c 73 2e | ==.-1.&&...........(PlacesUtils. |
17b420 | 6e 6f 64 65 49 73 44 61 79 28 61 53 65 6c 65 63 74 65 64 4e 6f 64 65 29 20 7c 7c 0a 20 20 20 20 | nodeIsDay(aSelectedNode).||..... |
17b440 | 20 20 20 20 20 20 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 48 6f 73 74 28 61 53 | .......PlacesUtils.nodeIsHost(aS |
17b460 | 65 6c 65 63 74 65 64 4e 6f 64 65 29 29 29 0a 20 20 20 20 20 20 20 20 67 45 64 69 74 49 74 65 6d | electedNode))).........gEditItem |
17b480 | 4f 76 65 72 6c 61 79 2e 5f 65 6c 65 6d 65 6e 74 28 22 6e 61 6d 65 50 69 63 6b 65 72 22 29 2e 76 | Overlay._element("namePicker").v |
17b4a0 | 61 6c 75 65 20 3d 20 61 53 65 6c 65 63 74 65 64 4e 6f 64 65 2e 74 69 74 6c 65 3b 0a 0a 20 20 20 | alue.=.aSelectedNode.title;..... |
17b4c0 | 20 20 20 74 68 69 73 2e 5f 64 65 74 65 63 74 41 6e 64 53 65 74 44 65 74 61 69 6c 73 50 61 6e 65 | ...this._detectAndSetDetailsPane |
17b4e0 | 4d 69 6e 69 6d 61 6c 53 74 61 74 65 28 61 53 65 6c 65 63 74 65 64 4e 6f 64 65 29 3b 0a 20 20 20 | MinimalState(aSelectedNode);.... |
17b500 | 20 7d 0a 20 20 20 20 65 6c 73 65 20 69 66 20 28 21 61 53 65 6c 65 63 74 65 64 4e 6f 64 65 20 26 | .}.....else.if.(!aSelectedNode.& |
17b520 | 26 20 61 4e 6f 64 65 4c 69 73 74 5b 30 5d 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 69 74 65 6d | &.aNodeList[0]).{.......var.item |
17b540 | 49 64 73 20 3d 20 5b 5d 3b 0a 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 | Ids.=.[];.......for.(var.i.=.0;. |
17b560 | 69 20 3c 20 61 4e 6f 64 65 4c 69 73 74 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 20 7b 0a 20 20 20 | i.<.aNodeList.length;.i++).{.... |
17b580 | 20 20 20 20 20 69 66 20 28 21 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 42 6f 6f 6b | .....if.(!PlacesUtils.nodeIsBook |
17b5a0 | 6d 61 72 6b 28 61 4e 6f 64 65 4c 69 73 74 5b 69 5d 29 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 | mark(aNodeList[i]).&&........... |
17b5c0 | 20 20 21 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 55 52 49 28 61 4e 6f 64 65 4c 69 | ..!PlacesUtils.nodeIsURI(aNodeLi |
17b5e0 | 73 74 5b 69 5d 29 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 64 65 74 61 69 6c 73 44 65 63 6b 2e | st[i])).{...........detailsDeck. |
17b600 | 73 65 6c 65 63 74 65 64 49 6e 64 65 78 20 3d 20 30 3b 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 | selectedIndex.=.0;...........var |
17b620 | 20 73 65 6c 65 63 74 49 74 65 6d 44 65 73 63 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c | .selectItemDesc.=.document.getEl |
17b640 | 65 6d 65 6e 74 42 79 49 64 28 22 73 65 6c 65 63 74 49 74 65 6d 44 65 73 63 72 69 70 74 69 6f 6e | ementById("selectItemDescription |
17b660 | 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 69 74 65 6d 73 43 6f 75 6e 74 4c 61 62 65 | ");...........var.itemsCountLabe |
17b680 | 6c 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 69 74 65 | l.=.document.getElementById("ite |
17b6a0 | 6d 73 43 6f 75 6e 74 54 65 78 74 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 73 65 6c 65 63 74 49 | msCountText");...........selectI |
17b6c0 | 74 65 6d 44 65 73 63 2e 68 69 64 64 65 6e 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 20 20 20 | temDesc.hidden.=.false;......... |
17b6e0 | 20 20 69 74 65 6d 73 43 6f 75 6e 74 4c 61 62 65 6c 2e 76 61 6c 75 65 20 3d 0a 20 20 20 20 20 20 | ..itemsCountLabel.value.=....... |
17b700 | 20 20 20 20 20 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 67 65 74 46 6f 72 6d 61 74 74 65 64 | ......PlacesUIUtils.getFormatted |
17b720 | 53 74 72 69 6e 67 28 22 64 65 74 61 69 6c 73 50 61 6e 65 2e 6d 75 6c 74 69 70 6c 65 49 74 65 6d | String("detailsPane.multipleItem |
17b740 | 73 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | s",............................. |
17b760 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 5b 61 4e 6f 64 65 4c 69 73 74 2e 6c 65 6e 67 | .................[aNodeList.leng |
17b780 | 74 68 5d 29 3b 0a 20 20 20 20 20 20 20 20 20 20 69 6e 66 6f 42 6f 78 2e 68 69 64 64 65 6e 20 3d | th]);...........infoBox.hidden.= |
17b7a0 | 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 20 20 20 20 20 | .true;...........return;........ |
17b7c0 | 20 7d 0a 20 20 20 20 20 20 20 20 69 74 65 6d 49 64 73 5b 69 5d 20 3d 20 61 4e 6f 64 65 4c 69 73 | .}.........itemIds[i].=.aNodeLis |
17b7e0 | 74 5b 69 5d 2e 69 74 65 6d 49 64 20 21 3d 20 2d 31 20 3f 20 61 4e 6f 64 65 4c 69 73 74 5b 69 5d | t[i].itemId.!=.-1.?.aNodeList[i] |
17b800 | 2e 69 74 65 6d 49 64 20 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 50 | .itemId.:......................P |
17b820 | 6c 61 63 65 73 55 74 69 6c 73 2e 5f 75 72 69 28 61 4e 6f 64 65 4c 69 73 74 5b 69 5d 2e 75 72 69 | lacesUtils._uri(aNodeList[i].uri |
17b840 | 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 64 65 74 61 69 6c 73 44 65 63 6b 2e 73 65 6c | );.......}.......detailsDeck.sel |
17b860 | 65 63 74 65 64 49 6e 64 65 78 20 3d 20 31 3b 0a 20 20 20 20 20 20 67 45 64 69 74 49 74 65 6d 4f | ectedIndex.=.1;.......gEditItemO |
17b880 | 76 65 72 6c 61 79 2e 69 6e 69 74 50 61 6e 65 6c 28 69 74 65 6d 49 64 73 2c 0a 20 20 20 20 20 20 | verlay.initPanel(itemIds,....... |
17b8a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7b 20 68 69 64 | ...........................{.hid |
17b8c0 | 64 65 6e 52 6f 77 73 3a 20 5b 22 66 6f 6c 64 65 72 50 69 63 6b 65 72 22 2c 0a 20 20 20 20 20 20 | denRows:.["folderPicker",....... |
17b8e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
17b900 | 20 20 20 20 20 20 20 20 20 20 22 6c 6f 61 64 49 6e 53 69 64 65 62 61 72 22 2c 0a 20 20 20 20 20 | .........."loadInSidebar",...... |
17b920 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
17b940 | 20 20 20 20 20 20 20 20 20 20 20 22 6c 6f 63 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 20 20 20 | ..........."location",.......... |
17b960 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
17b980 | 20 20 20 20 20 20 20 22 6b 65 79 77 6f 72 64 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ......."keyword",............... |
17b9a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
17b9c0 | 20 20 22 64 65 73 63 72 69 70 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .."description",................ |
17b9e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
17ba00 | 20 22 6e 61 6d 65 22 5d 7d 29 3b 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 64 65 74 65 63 74 41 6e | ."name"]});.......this._detectAn |
17ba20 | 64 53 65 74 44 65 74 61 69 6c 73 50 61 6e 65 4d 69 6e 69 6d 61 6c 53 74 61 74 65 28 61 53 65 6c | dSetDetailsPaneMinimalState(aSel |
17ba40 | 65 63 74 65 64 4e 6f 64 65 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 | ectedNode);.....}.....else.{.... |
17ba60 | 20 20 20 64 65 74 61 69 6c 73 44 65 63 6b 2e 73 65 6c 65 63 74 65 64 49 6e 64 65 78 20 3d 20 30 | ...detailsDeck.selectedIndex.=.0 |
17ba80 | 3b 0a 20 20 20 20 20 20 69 6e 66 6f 42 6f 78 2e 68 69 64 64 65 6e 20 3d 20 74 72 75 65 3b 0a 20 | ;.......infoBox.hidden.=.true;.. |
17baa0 | 20 20 20 20 20 76 61 72 20 73 65 6c 65 63 74 49 74 65 6d 44 65 73 63 20 3d 20 64 6f 63 75 6d 65 | .....var.selectItemDesc.=.docume |
17bac0 | 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 73 65 6c 65 63 74 49 74 65 6d 44 65 73 | nt.getElementById("selectItemDes |
17bae0 | 63 72 69 70 74 69 6f 6e 22 29 3b 0a 20 20 20 20 20 20 76 61 72 20 69 74 65 6d 73 43 6f 75 6e 74 | cription");.......var.itemsCount |
17bb00 | 4c 61 62 65 6c 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 | Label.=.document.getElementById( |
17bb20 | 22 69 74 65 6d 73 43 6f 75 6e 74 54 65 78 74 22 29 3b 0a 20 20 20 20 20 20 76 61 72 20 72 6f 77 | "itemsCountText");.......var.row |
17bb40 | 43 6f 75 6e 74 20 3d 20 74 68 69 73 2e 5f 63 6f 6e 74 65 6e 74 2e 74 72 65 65 42 6f 78 4f 62 6a | Count.=.this._content.treeBoxObj |
17bb60 | 65 63 74 2e 76 69 65 77 2e 72 6f 77 43 6f 75 6e 74 3b 0a 20 20 20 20 20 20 69 66 20 28 72 6f 77 | ect.view.rowCount;.......if.(row |
17bb80 | 43 6f 75 6e 74 20 3d 3d 20 30 29 20 7b 0a 20 20 20 20 20 20 20 20 73 65 6c 65 63 74 49 74 65 6d | Count.==.0).{.........selectItem |
17bba0 | 44 65 73 63 2e 68 69 64 64 65 6e 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 69 74 65 6d | Desc.hidden.=.true;.........item |
17bbc0 | 73 43 6f 75 6e 74 4c 61 62 65 6c 2e 76 61 6c 75 65 20 3d 20 50 6c 61 63 65 73 55 49 55 74 69 6c | sCountLabel.value.=.PlacesUIUtil |
17bbe0 | 73 2e 67 65 74 53 74 72 69 6e 67 28 22 64 65 74 61 69 6c 73 50 61 6e 65 2e 6e 6f 49 74 65 6d 73 | s.getString("detailsPane.noItems |
17bc00 | 22 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 20 | ");.......}.......else.{........ |
17bc20 | 20 73 65 6c 65 63 74 49 74 65 6d 44 65 73 63 2e 68 69 64 64 65 6e 20 3d 20 66 61 6c 73 65 3b 0a | .selectItemDesc.hidden.=.false;. |
17bc40 | 20 20 20 20 20 20 20 20 69 66 20 28 72 6f 77 43 6f 75 6e 74 20 3d 3d 20 31 29 0a 20 20 20 20 20 | ........if.(rowCount.==.1)...... |
17bc60 | 20 20 20 20 20 69 74 65 6d 73 43 6f 75 6e 74 4c 61 62 65 6c 2e 76 61 6c 75 65 20 3d 20 50 6c 61 | .....itemsCountLabel.value.=.Pla |
17bc80 | 63 65 73 55 49 55 74 69 6c 73 2e 67 65 74 53 74 72 69 6e 67 28 22 64 65 74 61 69 6c 73 50 61 6e | cesUIUtils.getString("detailsPan |
17bca0 | 65 2e 6f 6e 65 49 74 65 6d 22 29 3b 0a 20 20 20 20 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 | e.oneItem");.........else.{..... |
17bcc0 | 20 20 20 20 20 20 69 74 65 6d 73 43 6f 75 6e 74 4c 61 62 65 6c 2e 76 61 6c 75 65 20 3d 0a 20 20 | ......itemsCountLabel.value.=... |
17bce0 | 20 20 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 67 65 74 46 6f 72 6d 61 | ..........PlacesUIUtils.getForma |
17bd00 | 74 74 65 64 53 74 72 69 6e 67 28 22 64 65 74 61 69 6c 73 50 61 6e 65 2e 6d 75 6c 74 69 70 6c 65 | ttedString("detailsPane.multiple |
17bd20 | 49 74 65 6d 73 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | Items",......................... |
17bd40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 5b 72 6f 77 43 6f 75 6e 74 5d 29 | .....................[rowCount]) |
17bd60 | 3b 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a | ;.........}.......}.....}...},.. |
17bd80 | 20 20 2f 2f 20 4e 4f 54 20 59 45 54 20 55 53 45 44 0a 20 20 5f 75 70 64 61 74 65 54 68 75 6d 62 | ..//.NOT.YET.USED..._updateThumb |
17bda0 | 6e 61 69 6c 3a 20 66 75 6e 63 74 69 6f 6e 20 50 4f 5f 5f 75 70 64 61 74 65 54 68 75 6d 62 6e 61 | nail:.function.PO__updateThumbna |
17bdc0 | 69 6c 28 29 20 7b 0a 20 20 20 20 76 61 72 20 62 6f 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 | il().{.....var.bo.=.document.get |
17bde0 | 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 70 72 65 76 69 65 77 42 6f 78 22 29 2e 62 6f 78 4f 62 6a | ElementById("previewBox").boxObj |
17be00 | 65 63 74 3b 0a 20 20 20 20 76 61 72 20 77 69 64 74 68 20 20 3d 20 62 6f 2e 77 69 64 74 68 3b 0a | ect;.....var.width..=.bo.width;. |
17be20 | 20 20 20 20 76 61 72 20 68 65 69 67 68 74 20 3d 20 62 6f 2e 68 65 69 67 68 74 3b 0a 0a 20 20 20 | ....var.height.=.bo.height;..... |
17be40 | 20 76 61 72 20 63 61 6e 76 61 73 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e | .var.canvas.=.document.getElemen |
17be60 | 74 42 79 49 64 28 22 69 74 65 6d 54 68 75 6d 62 6e 61 69 6c 22 29 3b 0a 20 20 20 20 76 61 72 20 | tById("itemThumbnail");.....var. |
17be80 | 63 74 78 20 3d 20 63 61 6e 76 61 73 2e 67 65 74 43 6f 6e 74 65 78 74 28 27 32 64 27 29 3b 0a 20 | ctx.=.canvas.getContext('2d');.. |
17bea0 | 20 20 20 76 61 72 20 6e 6f 74 41 76 61 69 6c 61 62 6c 65 54 65 78 74 20 3d 20 63 61 6e 76 61 73 | ...var.notAvailableText.=.canvas |
17bec0 | 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 6e 6f 74 61 76 61 69 6c 61 62 6c 65 74 65 78 74 22 | .getAttribute("notavailabletext" |
17bee0 | 29 3b 0a 20 20 20 20 63 74 78 2e 73 61 76 65 28 29 3b 0a 20 20 20 20 63 74 78 2e 66 69 6c 6c 53 | );.....ctx.save();.....ctx.fillS |
17bf00 | 74 79 6c 65 20 3d 20 22 2d 6d 6f 7a 2d 44 69 61 6c 6f 67 22 3b 0a 20 20 20 20 63 74 78 2e 66 69 | tyle.=."-moz-Dialog";.....ctx.fi |
17bf20 | 6c 6c 52 65 63 74 28 30 2c 20 30 2c 20 77 69 64 74 68 2c 20 68 65 69 67 68 74 29 3b 0a 20 20 20 | llRect(0,.0,.width,.height);.... |
17bf40 | 20 63 74 78 2e 74 72 61 6e 73 6c 61 74 65 28 77 69 64 74 68 2f 32 2c 20 68 65 69 67 68 74 2f 32 | .ctx.translate(width/2,.height/2 |
17bf60 | 29 3b 0a 0a 20 20 20 20 63 74 78 2e 66 69 6c 6c 53 74 79 6c 65 20 3d 20 22 47 72 61 79 54 65 78 | );......ctx.fillStyle.=."GrayTex |
17bf80 | 74 22 3b 0a 20 20 20 20 63 74 78 2e 6d 6f 7a 54 65 78 74 53 74 79 6c 65 20 3d 20 22 31 32 70 74 | t";.....ctx.mozTextStyle.=."12pt |
17bfa0 | 20 73 61 6e 73 20 73 65 72 69 66 22 3b 0a 20 20 20 20 76 61 72 20 6c 65 6e 20 3d 20 63 74 78 2e | .sans.serif";.....var.len.=.ctx. |
17bfc0 | 6d 6f 7a 4d 65 61 73 75 72 65 54 65 78 74 28 6e 6f 74 41 76 61 69 6c 61 62 6c 65 54 65 78 74 29 | mozMeasureText(notAvailableText) |
17bfe0 | 3b 0a 20 20 20 20 63 74 78 2e 74 72 61 6e 73 6c 61 74 65 28 2d 6c 65 6e 2f 32 2c 30 29 3b 0a 20 | ;.....ctx.translate(-len/2,0);.. |
17c000 | 20 20 20 63 74 78 2e 6d 6f 7a 44 72 61 77 54 65 78 74 28 6e 6f 74 41 76 61 69 6c 61 62 6c 65 54 | ...ctx.mozDrawText(notAvailableT |
17c020 | 65 78 74 29 3b 0a 20 20 20 20 63 74 78 2e 72 65 73 74 6f 72 65 28 29 3b 0a 20 20 7d 2c 0a 0a 20 | ext);.....ctx.restore();...},... |
17c040 | 20 74 6f 67 67 6c 65 41 64 64 69 74 69 6f 6e 61 6c 49 6e 66 6f 46 69 65 6c 64 73 3a 20 66 75 6e | .toggleAdditionalInfoFields:.fun |
17c060 | 63 74 69 6f 6e 20 50 4f 5f 74 6f 67 67 6c 65 41 64 64 69 74 69 6f 6e 61 6c 49 6e 66 6f 46 69 65 | ction.PO_toggleAdditionalInfoFie |
17c080 | 6c 64 73 28 29 20 7b 0a 20 20 20 20 76 61 72 20 69 6e 66 6f 42 6f 78 20 3d 20 64 6f 63 75 6d 65 | lds().{.....var.infoBox.=.docume |
17c0a0 | 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 69 6e 66 6f 42 6f 78 22 29 3b 0a 20 20 | nt.getElementById("infoBox");... |
17c0c0 | 20 20 76 61 72 20 69 6e 66 6f 42 6f 78 45 78 70 61 6e 64 65 72 20 3d 20 64 6f 63 75 6d 65 6e 74 | ..var.infoBoxExpander.=.document |
17c0e0 | 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 69 6e 66 6f 42 6f 78 45 78 70 61 6e 64 65 72 | .getElementById("infoBoxExpander |
17c100 | 22 29 3b 0a 20 20 20 20 76 61 72 20 69 6e 66 6f 42 6f 78 45 78 70 61 6e 64 65 72 4c 61 62 65 6c | ");.....var.infoBoxExpanderLabel |
17c120 | 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 69 6e 66 6f | .=.document.getElementById("info |
17c140 | 42 6f 78 45 78 70 61 6e 64 65 72 4c 61 62 65 6c 22 29 3b 0a 0a 20 20 20 20 69 66 20 28 69 6e 66 | BoxExpanderLabel");......if.(inf |
17c160 | 6f 42 6f 78 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 6d 69 6e 69 6d 61 6c 22 29 20 3d 3d 20 | oBox.getAttribute("minimal").==. |
17c180 | 22 74 72 75 65 22 29 20 7b 0a 20 20 20 20 20 20 69 6e 66 6f 42 6f 78 2e 72 65 6d 6f 76 65 41 74 | "true").{.......infoBox.removeAt |
17c1a0 | 74 72 69 62 75 74 65 28 22 6d 69 6e 69 6d 61 6c 22 29 3b 0a 20 20 20 20 20 20 69 6e 66 6f 42 6f | tribute("minimal");.......infoBo |
17c1c0 | 78 45 78 70 61 6e 64 65 72 4c 61 62 65 6c 2e 76 61 6c 75 65 20 3d 20 69 6e 66 6f 42 6f 78 45 78 | xExpanderLabel.value.=.infoBoxEx |
17c1e0 | 70 61 6e 64 65 72 4c 61 62 65 6c 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 6c 65 73 73 6c 61 | panderLabel.getAttribute("lessla |
17c200 | 62 65 6c 22 29 3b 0a 20 20 20 20 20 20 69 6e 66 6f 42 6f 78 45 78 70 61 6e 64 65 72 4c 61 62 65 | bel");.......infoBoxExpanderLabe |
17c220 | 6c 2e 61 63 63 65 73 73 4b 65 79 20 3d 20 69 6e 66 6f 42 6f 78 45 78 70 61 6e 64 65 72 4c 61 62 | l.accessKey.=.infoBoxExpanderLab |
17c240 | 65 6c 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 6c 65 73 73 61 63 63 65 73 73 6b 65 79 22 29 | el.getAttribute("lessaccesskey") |
17c260 | 3b 0a 20 20 20 20 20 20 69 6e 66 6f 42 6f 78 45 78 70 61 6e 64 65 72 2e 63 6c 61 73 73 4e 61 6d | ;.......infoBoxExpander.classNam |
17c280 | 65 20 3d 20 22 65 78 70 61 6e 64 65 72 2d 75 70 22 3b 0a 20 20 20 20 7d 0a 20 20 20 20 65 6c 73 | e.=."expander-up";.....}.....els |
17c2a0 | 65 20 7b 0a 20 20 20 20 20 20 69 6e 66 6f 42 6f 78 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 | e.{.......infoBox.setAttribute(" |
17c2c0 | 6d 69 6e 69 6d 61 6c 22 2c 20 22 74 72 75 65 22 29 3b 0a 20 20 20 20 20 20 69 6e 66 6f 42 6f 78 | minimal",."true");.......infoBox |
17c2e0 | 45 78 70 61 6e 64 65 72 4c 61 62 65 6c 2e 76 61 6c 75 65 20 3d 20 69 6e 66 6f 42 6f 78 45 78 70 | ExpanderLabel.value.=.infoBoxExp |
17c300 | 61 6e 64 65 72 4c 61 62 65 6c 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 6d 6f 72 65 6c 61 62 | anderLabel.getAttribute("morelab |
17c320 | 65 6c 22 29 3b 0a 20 20 20 20 20 20 69 6e 66 6f 42 6f 78 45 78 70 61 6e 64 65 72 4c 61 62 65 6c | el");.......infoBoxExpanderLabel |
17c340 | 2e 61 63 63 65 73 73 4b 65 79 20 3d 20 69 6e 66 6f 42 6f 78 45 78 70 61 6e 64 65 72 4c 61 62 65 | .accessKey.=.infoBoxExpanderLabe |
17c360 | 6c 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 6d 6f 72 65 61 63 63 65 73 73 6b 65 79 22 29 3b | l.getAttribute("moreaccesskey"); |
17c380 | 0a 20 20 20 20 20 20 69 6e 66 6f 42 6f 78 45 78 70 61 6e 64 65 72 2e 63 6c 61 73 73 4e 61 6d 65 | .......infoBoxExpander.className |
17c3a0 | 20 3d 20 22 65 78 70 61 6e 64 65 72 2d 64 6f 77 6e 22 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a | .=."expander-down";.....}...},.. |
17c3c0 | 20 20 2f 2a 2a 0a 20 20 20 2a 20 53 61 76 65 20 74 68 65 20 63 75 72 72 65 6e 74 20 73 65 61 72 | ../**....*.Save.the.current.sear |
17c3e0 | 63 68 20 28 6f 72 20 61 64 76 61 6e 63 65 64 20 71 75 65 72 79 29 20 74 6f 20 74 68 65 20 62 6f | ch.(or.advanced.query).to.the.bo |
17c400 | 6f 6b 6d 61 72 6b 73 20 72 6f 6f 74 2e 0a 20 20 20 2a 2f 0a 20 20 73 61 76 65 53 65 61 72 63 68 | okmarks.root.....*/...saveSearch |
17c420 | 3a 20 66 75 6e 63 74 69 6f 6e 20 50 4f 5f 73 61 76 65 53 65 61 72 63 68 28 29 20 7b 0a 20 20 20 | :.function.PO_saveSearch().{.... |
17c440 | 20 2f 2f 20 47 65 74 20 74 68 65 20 70 6c 61 63 65 3a 20 75 72 69 20 66 6f 72 20 74 68 65 20 71 | .//.Get.the.place:.uri.for.the.q |
17c460 | 75 65 72 79 2e 0a 20 20 20 20 2f 2f 20 49 66 20 74 68 65 20 61 64 76 61 6e 63 65 64 20 71 75 65 | uery......//.If.the.advanced.que |
17c480 | 72 79 20 62 75 69 6c 64 65 72 20 69 73 20 73 68 6f 77 69 6e 67 2c 20 75 73 65 20 74 68 61 74 2e | ry.builder.is.showing,.use.that. |
17c4a0 | 0a 20 20 20 20 76 61 72 20 6f 70 74 69 6f 6e 73 20 3d 20 74 68 69 73 2e 67 65 74 43 75 72 72 65 | .....var.options.=.this.getCurre |
17c4c0 | 6e 74 4f 70 74 69 6f 6e 73 28 29 3b 0a 0a 2f 2f 40 6c 69 6e 65 20 38 31 30 20 22 2f 62 75 69 6c | ntOptions();..//@line.810."/buil |
17c4e0 | 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f | ds/moz2_slave/linux_build/build/ |
17c500 | 62 72 6f 77 73 65 72 2f 63 6f 6d 70 6f 6e 65 6e 74 73 2f 70 6c 61 63 65 73 2f 63 6f 6e 74 65 6e | browser/components/places/conten |
17c520 | 74 2f 70 6c 61 63 65 73 2e 6a 73 22 0a 20 20 20 20 76 61 72 20 71 75 65 72 69 65 73 20 3d 20 74 | t/places.js".....var.queries.=.t |
17c540 | 68 69 73 2e 67 65 74 43 75 72 72 65 6e 74 51 75 65 72 69 65 73 28 29 3b 0a 2f 2f 40 6c 69 6e 65 | his.getCurrentQueries();.//@line |
17c560 | 20 38 31 32 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 | .812."/builds/moz2_slave/linux_b |
17c580 | 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 63 6f 6d 70 6f 6e 65 6e 74 73 2f 70 6c | uild/build/browser/components/pl |
17c5a0 | 61 63 65 73 2f 63 6f 6e 74 65 6e 74 2f 70 6c 61 63 65 73 2e 6a 73 22 0a 0a 20 20 20 20 76 61 72 | aces/content/places.js"......var |
17c5c0 | 20 70 6c 61 63 65 53 70 65 63 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 68 69 73 74 6f 72 79 | .placeSpec.=.PlacesUtils.history |
17c5e0 | 2e 71 75 65 72 69 65 73 54 6f 51 75 65 72 79 53 74 72 69 6e 67 28 71 75 65 72 69 65 73 2c 0a 20 | .queriesToQueryString(queries,.. |
17c600 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
17c620 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 71 75 65 72 | ............................quer |
17c640 | 69 65 73 2e 6c 65 6e 67 74 68 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ies.length,..................... |
17c660 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
17c680 | 20 20 20 20 20 20 20 20 20 6f 70 74 69 6f 6e 73 29 3b 0a 20 20 20 20 76 61 72 20 70 6c 61 63 65 | .........options);.....var.place |
17c6a0 | 55 52 49 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6e 65 74 77 6f 72 6b 2f 69 | URI.=.Cc["@mozilla.org/network/i |
17c6c0 | 6f 2d 73 65 72 76 69 63 65 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | o-service;1"]................... |
17c6e0 | 20 20 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 49 4f 53 65 72 76 69 63 65 29 2e 0a 20 | ..getService(Ci.nsIIOService)... |
17c700 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 65 77 55 52 49 28 70 6c 61 63 65 53 70 | ..................newURI(placeSp |
17c720 | 65 63 2c 20 6e 75 6c 6c 2c 20 6e 75 6c 6c 29 3b 0a 0a 20 20 20 20 2f 2f 20 50 72 6f 6d 70 74 20 | ec,.null,.null);......//.Prompt. |
17c740 | 74 68 65 20 75 73 65 72 20 66 6f 72 20 61 20 6e 61 6d 65 20 66 6f 72 20 74 68 65 20 71 75 65 72 | the.user.for.a.name.for.the.quer |
17c760 | 79 2e 0a 20 20 20 20 2f 2f 20 58 58 58 20 2d 20 75 73 69 6e 67 20 70 72 6f 6d 70 74 20 73 65 72 | y......//.XXX.-.using.prompt.ser |
17c780 | 76 69 63 65 20 66 6f 72 20 6e 6f 77 3b 20 77 69 6c 6c 20 6e 65 65 64 20 74 6f 20 6d 61 6b 65 0a | vice.for.now;.will.need.to.make. |
17c7a0 | 20 20 20 20 2f 2f 20 61 20 72 65 61 6c 20 64 69 61 6c 6f 67 20 61 6e 64 20 6c 6f 63 61 6c 69 7a | ....//.a.real.dialog.and.localiz |
17c7c0 | 65 20 77 68 65 6e 20 77 65 27 72 65 20 73 75 72 65 20 74 68 69 73 20 69 73 20 74 68 65 20 55 49 | e.when.we're.sure.this.is.the.UI |
17c7e0 | 20 77 65 20 77 61 6e 74 2e 0a 20 20 20 20 76 61 72 20 74 69 74 6c 65 20 3d 20 50 6c 61 63 65 73 | .we.want......var.title.=.Places |
17c800 | 55 49 55 74 69 6c 73 2e 67 65 74 53 74 72 69 6e 67 28 22 73 61 76 65 53 65 61 72 63 68 2e 74 69 | UIUtils.getString("saveSearch.ti |
17c820 | 74 6c 65 22 29 3b 0a 20 20 20 20 76 61 72 20 69 6e 70 75 74 4c 61 62 65 6c 20 3d 20 50 6c 61 63 | tle");.....var.inputLabel.=.Plac |
17c840 | 65 73 55 49 55 74 69 6c 73 2e 67 65 74 53 74 72 69 6e 67 28 22 73 61 76 65 53 65 61 72 63 68 2e | esUIUtils.getString("saveSearch. |
17c860 | 69 6e 70 75 74 4c 61 62 65 6c 22 29 3b 0a 20 20 20 20 76 61 72 20 64 65 66 61 75 6c 74 54 65 78 | inputLabel");.....var.defaultTex |
17c880 | 74 20 3d 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 67 65 74 53 74 72 69 6e 67 28 22 73 61 76 | t.=.PlacesUIUtils.getString("sav |
17c8a0 | 65 53 65 61 72 63 68 2e 69 6e 70 75 74 44 65 66 61 75 6c 74 54 65 78 74 22 29 3b 0a 0a 20 20 20 | eSearch.inputDefaultText");..... |
17c8c0 | 20 76 61 72 20 70 72 6f 6d 70 74 73 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f | .var.prompts.=.Cc["@mozilla.org/ |
17c8e0 | 65 6d 62 65 64 63 6f 6d 70 2f 70 72 6f 6d 70 74 2d 73 65 72 76 69 63 65 3b 31 22 5d 2e 0a 20 20 | embedcomp/prompt-service;1"].... |
17c900 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 | ................getService(Ci.ns |
17c920 | 49 50 72 6f 6d 70 74 53 65 72 76 69 63 65 29 3b 0a 20 20 20 20 76 61 72 20 63 68 65 63 6b 20 3d | IPromptService);.....var.check.= |
17c940 | 20 7b 76 61 6c 75 65 3a 20 66 61 6c 73 65 7d 3b 0a 20 20 20 20 76 61 72 20 69 6e 70 75 74 20 3d | .{value:.false};.....var.input.= |
17c960 | 20 7b 76 61 6c 75 65 3a 20 64 65 66 61 75 6c 74 54 65 78 74 7d 3b 0a 20 20 20 20 76 61 72 20 73 | .{value:.defaultText};.....var.s |
17c980 | 61 76 65 20 3d 20 70 72 6f 6d 70 74 73 2e 70 72 6f 6d 70 74 28 6e 75 6c 6c 2c 20 74 69 74 6c 65 | ave.=.prompts.prompt(null,.title |
17c9a0 | 2c 20 69 6e 70 75 74 4c 61 62 65 6c 2c 20 69 6e 70 75 74 2c 20 6e 75 6c 6c 2c 20 63 68 65 63 6b | ,.inputLabel,.input,.null,.check |
17c9c0 | 29 3b 0a 0a 20 20 20 20 2f 2f 20 44 6f 6e 27 74 20 61 64 64 20 74 68 65 20 71 75 65 72 79 20 69 | );......//.Don't.add.the.query.i |
17c9e0 | 66 20 74 68 65 20 75 73 65 72 20 63 61 6e 63 65 6c 73 20 6f 72 20 63 6c 65 61 72 73 20 74 68 65 | f.the.user.cancels.or.clears.the |
17ca00 | 20 73 65 61 63 68 20 6e 61 6d 65 2e 0a 20 20 20 20 69 66 20 28 21 73 61 76 65 20 7c 7c 20 69 6e | .seach.name......if.(!save.||.in |
17ca20 | 70 75 74 2e 76 61 6c 75 65 20 3d 3d 20 22 22 29 0a 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 | put.value.==."")......return;... |
17ca40 | 20 20 20 2f 2f 20 41 64 64 20 74 68 65 20 70 6c 61 63 65 3a 20 75 72 69 20 61 73 20 61 20 62 6f | ...//.Add.the.place:.uri.as.a.bo |
17ca60 | 6f 6b 6d 61 72 6b 20 75 6e 64 65 72 20 74 68 65 20 62 6f 6f 6b 6d 61 72 6b 73 20 72 6f 6f 74 2e | okmark.under.the.bookmarks.root. |
17ca80 | 0a 20 20 20 20 76 61 72 20 74 78 6e 20 3d 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 70 74 6d | .....var.txn.=.PlacesUIUtils.ptm |
17caa0 | 2e 63 72 65 61 74 65 49 74 65 6d 28 70 6c 61 63 65 55 52 49 2c 0a 20 20 20 20 20 20 20 20 20 20 | .createItem(placeURI,........... |
17cac0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
17cae0 | 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 62 6f 6f 6b 6d 61 72 6b 73 4d 65 6e 75 46 6f 6c 64 65 72 | .PlacesUtils.bookmarksMenuFolder |
17cb00 | 49 64 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | Id,............................. |
17cb20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 62 6f 6f 6b 6d | ...............PlacesUtils.bookm |
17cb40 | 61 72 6b 73 2e 44 45 46 41 55 4c 54 5f 49 4e 44 45 58 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 | arks.DEFAULT_INDEX,............. |
17cb60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 | ...............................i |
17cb80 | 6e 70 75 74 2e 76 61 6c 75 65 29 3b 0a 20 20 20 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 70 | nput.value);.....PlacesUIUtils.p |
17cba0 | 74 6d 2e 64 6f 54 72 61 6e 73 61 63 74 69 6f 6e 28 74 78 6e 29 3b 0a 0a 20 20 20 20 2f 2f 20 73 | tm.doTransaction(txn);......//.s |
17cbc0 | 65 6c 65 63 74 20 61 6e 64 20 6c 6f 61 64 20 74 68 65 20 6e 65 77 20 71 75 65 72 79 0a 20 20 20 | elect.and.load.the.new.query.... |
17cbe0 | 20 74 68 69 73 2e 5f 70 6c 61 63 65 73 2e 73 65 6c 65 63 74 50 6c 61 63 65 55 52 49 28 70 6c 61 | .this._places.selectPlaceURI(pla |
17cc00 | 63 65 53 70 65 63 29 3b 0a 20 20 7d 0a 7d 3b 0a 0a 2f 2a 2a 0a 20 2a 20 41 20 73 65 74 20 6f 66 | ceSpec);...}.};../**..*.A.set.of |
17cc20 | 20 75 74 69 6c 69 74 69 65 73 20 72 65 6c 61 74 69 6e 67 20 74 6f 20 73 65 61 72 63 68 20 77 69 | .utilities.relating.to.search.wi |
17cc40 | 74 68 69 6e 20 42 6f 6f 6b 6d 61 72 6b 73 20 61 6e 64 20 48 69 73 74 6f 72 79 2e 0a 20 2a 2f 0a | thin.Bookmarks.and.History...*/. |
17cc60 | 76 61 72 20 50 6c 61 63 65 73 53 65 61 72 63 68 42 6f 78 20 3d 20 7b 0a 0a 20 20 2f 2a 2a 0a 20 | var.PlacesSearchBox.=.{..../**.. |
17cc80 | 20 20 2a 20 54 68 65 20 53 65 61 72 63 68 20 74 65 78 74 20 66 69 65 6c 64 0a 20 20 20 2a 2f 0a | ..*.The.Search.text.field....*/. |
17cca0 | 20 20 67 65 74 20 73 65 61 72 63 68 46 69 6c 74 65 72 28 29 20 7b 0a 20 20 20 20 72 65 74 75 72 | ..get.searchFilter().{.....retur |
17ccc0 | 6e 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 73 65 61 72 63 | n.document.getElementById("searc |
17cce0 | 68 46 69 6c 74 65 72 22 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 46 6f 6c 64 | hFilter");...},..../**....*.Fold |
17cd00 | 65 72 73 20 74 6f 20 69 6e 63 6c 75 64 65 20 77 68 65 6e 20 73 65 61 72 63 68 69 6e 67 2e 0a 20 | ers.to.include.when.searching... |
17cd20 | 20 20 2a 2f 0a 20 20 5f 66 6f 6c 64 65 72 73 3a 20 5b 5d 2c 0a 20 20 67 65 74 20 66 6f 6c 64 65 | ..*/..._folders:.[],...get.folde |
17cd40 | 72 73 28 29 20 7b 0a 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 66 6f 6c 64 65 72 73 2e 6c 65 6e | rs().{.....if.(this._folders.len |
17cd60 | 67 74 68 20 3d 3d 20 30 29 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 66 6f 6c 64 65 72 73 2e 70 75 | gth.==.0).......this._folders.pu |
17cd80 | 73 68 28 50 6c 61 63 65 73 55 74 69 6c 73 2e 62 6f 6f 6b 6d 61 72 6b 73 4d 65 6e 75 46 6f 6c 64 | sh(PlacesUtils.bookmarksMenuFold |
17cda0 | 65 72 49 64 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 50 | erId,..........................P |
17cdc0 | 6c 61 63 65 73 55 74 69 6c 73 2e 75 6e 66 69 6c 65 64 42 6f 6f 6b 6d 61 72 6b 73 46 6f 6c 64 65 | lacesUtils.unfiledBookmarksFolde |
17cde0 | 72 49 64 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 50 6c | rId,..........................Pl |
17ce00 | 61 63 65 73 55 74 69 6c 73 2e 74 6f 6f 6c 62 61 72 46 6f 6c 64 65 72 49 64 29 3b 0a 20 20 20 20 | acesUtils.toolbarFolderId);..... |
17ce20 | 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 66 6f 6c 64 65 72 73 3b 0a 20 20 7d 2c 0a 20 20 73 65 74 | return.this._folders;...},...set |
17ce40 | 20 66 6f 6c 64 65 72 73 28 61 46 6f 6c 64 65 72 73 29 20 7b 0a 20 20 20 20 74 68 69 73 2e 5f 66 | .folders(aFolders).{.....this._f |
17ce60 | 6f 6c 64 65 72 73 20 3d 20 61 46 6f 6c 64 65 72 73 3b 0a 20 20 20 20 72 65 74 75 72 6e 20 61 46 | olders.=.aFolders;.....return.aF |
17ce80 | 6f 6c 64 65 72 73 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 52 75 6e 20 61 20 73 | olders;...},..../**....*.Run.a.s |
17cea0 | 65 61 72 63 68 20 66 6f 72 20 74 68 65 20 73 70 65 63 69 66 69 65 64 20 74 65 78 74 2c 20 6f 76 | earch.for.the.specified.text,.ov |
17cec0 | 65 72 20 74 68 65 20 63 6f 6c 6c 65 63 74 69 6f 6e 20 73 70 65 63 69 66 69 65 64 20 62 79 0a 20 | er.the.collection.specified.by.. |
17cee0 | 20 20 2a 20 74 68 65 20 64 72 6f 70 64 6f 77 6e 20 61 72 72 6f 77 2e 20 54 68 65 20 64 65 66 61 | ..*.the.dropdown.arrow..The.defa |
17cf00 | 75 6c 74 20 69 73 20 61 6c 6c 20 62 6f 6f 6b 6d 61 72 6b 73 2c 20 62 75 74 20 63 61 6e 20 62 65 | ult.is.all.bookmarks,.but.can.be |
17cf20 | 0a 20 20 20 2a 20 6c 6f 63 61 6c 69 7a 65 64 20 74 6f 20 74 68 65 20 61 63 74 69 76 65 20 63 6f | ....*.localized.to.the.active.co |
17cf40 | 6c 6c 65 63 74 69 6f 6e 2e 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 20 20 66 69 6c 74 65 72 53 74 | llection.....*.@param...filterSt |
17cf60 | 72 69 6e 67 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 54 68 65 20 74 65 78 74 20 74 6f 20 73 | ring....*..........The.text.to.s |
17cf80 | 65 61 72 63 68 20 66 6f 72 2e 0a 20 20 20 2a 2f 0a 20 20 73 65 61 72 63 68 3a 20 66 75 6e 63 74 | earch.for.....*/...search:.funct |
17cfa0 | 69 6f 6e 20 50 53 42 5f 73 65 61 72 63 68 28 66 69 6c 74 65 72 53 74 72 69 6e 67 29 20 7b 0a 20 | ion.PSB_search(filterString).{.. |
17cfc0 | 20 20 20 76 61 72 20 50 4f 20 3d 20 50 6c 61 63 65 73 4f 72 67 61 6e 69 7a 65 72 3b 0a 20 20 20 | ...var.PO.=.PlacesOrganizer;.... |
17cfe0 | 20 2f 2f 20 49 66 20 74 68 65 20 75 73 65 72 20 65 6d 70 74 69 65 73 20 74 68 65 20 73 65 61 72 | .//.If.the.user.empties.the.sear |
17d000 | 63 68 20 62 6f 78 20 6d 61 6e 75 61 6c 6c 79 2c 20 72 65 73 65 74 20 69 74 20 61 6e 64 20 6c 6f | ch.box.manually,.reset.it.and.lo |
17d020 | 61 64 20 61 6c 6c 0a 20 20 20 20 2f 2f 20 63 6f 6e 74 65 6e 74 73 20 6f 66 20 74 68 65 20 63 75 | ad.all.....//.contents.of.the.cu |
17d040 | 72 72 65 6e 74 20 73 63 6f 70 65 2e 0a 20 20 20 20 2f 2f 20 58 58 58 20 74 68 69 73 20 6d 69 67 | rrent.scope......//.XXX.this.mig |
17d060 | 68 74 20 62 65 20 74 6f 20 6a 75 6d 70 79 2c 20 6d 61 79 62 65 20 73 68 6f 75 6c 64 20 73 65 61 | ht.be.to.jumpy,.maybe.should.sea |
17d080 | 72 63 68 20 66 6f 72 20 22 22 2c 20 73 6f 20 72 65 73 75 6c 74 73 0a 20 20 20 20 2f 2f 20 61 72 | rch.for."",.so.results.....//.ar |
17d0a0 | 65 20 75 6e 67 72 6f 75 70 65 64 2c 20 61 6e 64 20 73 65 61 72 63 68 20 62 6f 78 20 6e 6f 74 20 | e.ungrouped,.and.search.box.not. |
17d0c0 | 72 65 73 65 74 0a 20 20 20 20 69 66 20 28 66 69 6c 74 65 72 53 74 72 69 6e 67 20 3d 3d 20 22 22 | reset.....if.(filterString.==."" |
17d0e0 | 29 20 7b 0a 20 20 20 20 20 20 50 4f 2e 6f 6e 50 6c 61 63 65 53 65 6c 65 63 74 65 64 28 66 61 6c | ).{.......PO.onPlaceSelected(fal |
17d100 | 73 65 29 3b 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 76 61 | se);.......return;.....}......va |
17d120 | 72 20 63 75 72 72 65 6e 74 4f 70 74 69 6f 6e 73 20 3d 20 50 4f 2e 67 65 74 43 75 72 72 65 6e 74 | r.currentOptions.=.PO.getCurrent |
17d140 | 4f 70 74 69 6f 6e 73 28 29 3b 0a 20 20 20 20 76 61 72 20 63 6f 6e 74 65 6e 74 20 3d 20 50 4f 2e | Options();.....var.content.=.PO. |
17d160 | 5f 63 6f 6e 74 65 6e 74 3b 0a 0a 20 20 20 20 2f 2f 20 53 65 61 72 63 68 20 61 63 63 6f 72 64 69 | _content;......//.Search.accordi |
17d180 | 6e 67 20 74 6f 20 74 68 65 20 63 75 72 72 65 6e 74 20 73 63 6f 70 65 20 61 6e 64 20 66 6f 6c 64 | ng.to.the.current.scope.and.fold |
17d1a0 | 65 72 73 2c 20 77 68 69 63 68 20 77 65 72 65 20 73 65 74 20 62 79 0a 20 20 20 20 2f 2f 20 50 51 | ers,.which.were.set.by.....//.PQ |
17d1c0 | 42 5f 73 65 74 53 63 6f 70 65 28 29 0a 20 20 20 20 73 77 69 74 63 68 20 28 50 6c 61 63 65 73 53 | B_setScope().....switch.(PlacesS |
17d1e0 | 65 61 72 63 68 42 6f 78 2e 66 69 6c 74 65 72 43 6f 6c 6c 65 63 74 69 6f 6e 29 20 7b 0a 20 20 20 | earchBox.filterCollection).{.... |
17d200 | 20 63 61 73 65 20 22 63 6f 6c 6c 65 63 74 69 6f 6e 22 3a 0a 20 20 20 20 20 20 63 6f 6e 74 65 6e | .case."collection":.......conten |
17d220 | 74 2e 61 70 70 6c 79 46 69 6c 74 65 72 28 66 69 6c 74 65 72 53 74 72 69 6e 67 2c 20 74 68 69 73 | t.applyFilter(filterString,.this |
17d240 | 2e 66 6f 6c 64 65 72 73 29 3b 0a 20 20 20 20 20 20 2f 2f 20 58 58 58 20 63 68 61 6e 67 69 6e 67 | .folders);.......//.XXX.changing |
17d260 | 20 74 68 65 20 62 75 74 74 6f 6e 20 74 65 78 74 20 69 73 20 62 61 64 6e 65 73 73 0a 20 20 20 20 | .the.button.text.is.badness..... |
17d280 | 20 20 2f 2f 76 61 72 20 73 63 6f 70 65 42 74 6e 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 | ..//var.scopeBtn.=.document.getE |
17d2a0 | 6c 65 6d 65 6e 74 42 79 49 64 28 22 73 63 6f 70 65 42 61 72 46 6f 6c 64 65 72 22 29 3b 0a 20 20 | lementById("scopeBarFolder");... |
17d2c0 | 20 20 20 20 2f 2f 73 63 6f 70 65 42 74 6e 2e 6c 61 62 65 6c 20 3d 20 50 6c 61 63 65 73 4f 72 67 | ....//scopeBtn.label.=.PlacesOrg |
17d2e0 | 61 6e 69 7a 65 72 2e 5f 70 6c 61 63 65 73 2e 73 65 6c 65 63 74 65 64 4e 6f 64 65 2e 74 69 74 6c | anizer._places.selectedNode.titl |
17d300 | 65 3b 0a 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 63 61 73 65 20 22 62 6f 6f 6b 6d 61 | e;.......break;.....case."bookma |
17d320 | 72 6b 73 22 3a 0a 20 20 20 20 20 20 63 6f 6e 74 65 6e 74 2e 61 70 70 6c 79 46 69 6c 74 65 72 28 | rks":.......content.applyFilter( |
17d340 | 66 69 6c 74 65 72 53 74 72 69 6e 67 2c 20 74 68 69 73 2e 66 6f 6c 64 65 72 73 29 3b 0a 20 20 20 | filterString,.this.folders);.... |
17d360 | 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 63 61 73 65 20 22 68 69 73 74 6f 72 79 22 3a 0a 20 20 | ...break;.....case."history":... |
17d380 | 20 20 20 20 69 66 20 28 63 75 72 72 65 6e 74 4f 70 74 69 6f 6e 73 2e 71 75 65 72 79 54 79 70 65 | ....if.(currentOptions.queryType |
17d3a0 | 20 21 3d 20 43 69 2e 6e 73 49 4e 61 76 48 69 73 74 6f 72 79 51 75 65 72 79 4f 70 74 69 6f 6e 73 | .!=.Ci.nsINavHistoryQueryOptions |
17d3c0 | 2e 51 55 45 52 59 5f 54 59 50 45 5f 48 49 53 54 4f 52 59 29 20 7b 0a 20 20 20 20 20 20 20 20 76 | .QUERY_TYPE_HISTORY).{.........v |
17d3e0 | 61 72 20 71 75 65 72 79 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 68 69 73 74 6f 72 79 2e 67 | ar.query.=.PlacesUtils.history.g |
17d400 | 65 74 4e 65 77 51 75 65 72 79 28 29 3b 0a 20 20 20 20 20 20 20 20 71 75 65 72 79 2e 73 65 61 72 | etNewQuery();.........query.sear |
17d420 | 63 68 54 65 72 6d 73 20 3d 20 66 69 6c 74 65 72 53 74 72 69 6e 67 3b 0a 20 20 20 20 20 20 20 20 | chTerms.=.filterString;......... |
17d440 | 76 61 72 20 6f 70 74 69 6f 6e 73 20 3d 20 63 75 72 72 65 6e 74 4f 70 74 69 6f 6e 73 2e 63 6c 6f | var.options.=.currentOptions.clo |
17d460 | 6e 65 28 29 3b 0a 20 20 20 20 20 20 20 20 2f 2f 20 4d 61 6b 65 20 73 75 72 65 20 77 65 27 72 65 | ne();.........//.Make.sure.we're |
17d480 | 20 67 65 74 74 69 6e 67 20 75 72 69 20 72 65 73 75 6c 74 73 2e 0a 20 20 20 20 20 20 20 20 6f 70 | .getting.uri.results..........op |
17d4a0 | 74 69 6f 6e 73 2e 72 65 73 75 6c 74 54 79 70 65 20 3d 20 63 75 72 72 65 6e 74 4f 70 74 69 6f 6e | tions.resultType.=.currentOption |
17d4c0 | 73 2e 52 45 53 55 4c 54 5f 54 59 50 45 5f 55 52 49 3b 0a 20 20 20 20 20 20 20 20 6f 70 74 69 6f | s.RESULT_TYPE_URI;.........optio |
17d4e0 | 6e 73 2e 71 75 65 72 79 54 79 70 65 20 3d 20 43 69 2e 6e 73 49 4e 61 76 48 69 73 74 6f 72 79 51 | ns.queryType.=.Ci.nsINavHistoryQ |
17d500 | 75 65 72 79 4f 70 74 69 6f 6e 73 2e 51 55 45 52 59 5f 54 59 50 45 5f 48 49 53 54 4f 52 59 3b 0a | ueryOptions.QUERY_TYPE_HISTORY;. |
17d520 | 20 20 20 20 20 20 20 20 63 6f 6e 74 65 6e 74 2e 6c 6f 61 64 28 5b 71 75 65 72 79 5d 2c 20 6f 70 | ........content.load([query],.op |
17d540 | 74 69 6f 6e 73 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 | tions);.......}.......else...... |
17d560 | 20 20 20 63 6f 6e 74 65 6e 74 2e 61 70 70 6c 79 46 69 6c 74 65 72 28 66 69 6c 74 65 72 53 74 72 | ...content.applyFilter(filterStr |
17d580 | 69 6e 67 29 3b 0a 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 64 65 66 61 75 6c 74 3a 0a | ing);.......break;.....default:. |
17d5a0 | 20 20 20 20 20 20 74 68 72 6f 77 20 22 49 6e 76 61 6c 69 64 20 66 69 6c 74 65 72 43 6f 6c 6c 65 | ......throw."Invalid.filterColle |
17d5c0 | 63 74 69 6f 6e 20 6f 6e 20 73 65 61 72 63 68 22 3b 0a 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 | ction.on.search";.......break;.. |
17d5e0 | 20 20 20 7d 0a 0a 20 20 20 20 50 6c 61 63 65 73 53 65 61 72 63 68 42 6f 78 2e 73 68 6f 77 53 65 | ...}......PlacesSearchBox.showSe |
17d600 | 61 72 63 68 55 49 28 29 3b 0a 0a 20 20 20 20 2f 2f 20 55 70 64 61 74 65 20 74 68 65 20 64 65 74 | archUI();......//.Update.the.det |
17d620 | 61 69 6c 73 20 70 61 6e 65 6c 0a 20 20 20 20 50 6c 61 63 65 73 4f 72 67 61 6e 69 7a 65 72 2e 6f | ails.panel.....PlacesOrganizer.o |
17d640 | 6e 43 6f 6e 74 65 6e 74 54 72 65 65 53 65 6c 65 63 74 28 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a | nContentTreeSelect();...},..../* |
17d660 | 2a 0a 20 20 20 2a 20 46 69 6e 64 73 20 61 63 72 6f 73 73 20 61 6c 6c 20 62 6f 6f 6b 6d 61 72 6b | *....*.Finds.across.all.bookmark |
17d680 | 73 0a 20 20 20 2a 2f 0a 20 20 66 69 6e 64 41 6c 6c 3a 20 66 75 6e 63 74 69 6f 6e 20 50 53 42 5f | s....*/...findAll:.function.PSB_ |
17d6a0 | 66 69 6e 64 41 6c 6c 28 29 20 7b 0a 20 20 20 20 50 6c 61 63 65 73 51 75 65 72 79 42 75 69 6c 64 | findAll().{.....PlacesQueryBuild |
17d6c0 | 65 72 2e 73 65 74 53 63 6f 70 65 28 22 62 6f 6f 6b 6d 61 72 6b 73 22 29 3b 0a 20 20 20 20 74 68 | er.setScope("bookmarks");.....th |
17d6e0 | 69 73 2e 66 6f 63 75 73 28 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 46 69 6e | is.focus();...},..../**....*.Fin |
17d700 | 64 73 20 69 6e 20 74 68 65 20 63 75 72 72 65 6e 74 6c 79 20 73 65 6c 65 63 74 65 64 20 50 6c 61 | ds.in.the.currently.selected.Pla |
17d720 | 63 65 2e 0a 20 20 20 2a 2f 0a 20 20 66 69 6e 64 43 75 72 72 65 6e 74 3a 20 66 75 6e 63 74 69 6f | ce.....*/...findCurrent:.functio |
17d740 | 6e 20 50 53 42 5f 66 69 6e 64 43 75 72 72 65 6e 74 28 29 20 7b 0a 20 20 20 20 50 6c 61 63 65 73 | n.PSB_findCurrent().{.....Places |
17d760 | 51 75 65 72 79 42 75 69 6c 64 65 72 2e 73 65 74 53 63 6f 70 65 28 22 63 6f 6c 6c 65 63 74 69 6f | QueryBuilder.setScope("collectio |
17d780 | 6e 22 29 3b 0a 20 20 20 20 74 68 69 73 2e 66 6f 63 75 73 28 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f | n");.....this.focus();...},..../ |
17d7a0 | 2a 2a 0a 20 20 20 2a 20 55 70 64 61 74 65 73 20 74 68 65 20 64 69 73 70 6c 61 79 20 77 69 74 68 | **....*.Updates.the.display.with |
17d7c0 | 20 74 68 65 20 74 69 74 6c 65 20 6f 66 20 74 68 65 20 63 75 72 72 65 6e 74 20 63 6f 6c 6c 65 63 | .the.title.of.the.current.collec |
17d7e0 | 74 69 6f 6e 2e 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 20 20 74 69 74 6c 65 0a 20 20 20 2a 20 20 | tion.....*.@param...title....*.. |
17d800 | 20 20 20 20 20 20 20 20 54 68 65 20 74 69 74 6c 65 20 6f 66 20 74 68 65 20 63 75 72 72 65 6e 74 | ........The.title.of.the.current |
17d820 | 20 63 6f 6c 6c 65 63 74 69 6f 6e 2e 0a 20 20 20 2a 2f 0a 20 20 75 70 64 61 74 65 43 6f 6c 6c 65 | .collection.....*/...updateColle |
17d840 | 63 74 69 6f 6e 54 69 74 6c 65 3a 20 66 75 6e 63 74 69 6f 6e 20 50 53 42 5f 75 70 64 61 74 65 43 | ctionTitle:.function.PSB_updateC |
17d860 | 6f 6c 6c 65 63 74 69 6f 6e 54 69 74 6c 65 28 74 69 74 6c 65 29 20 7b 0a 20 20 20 20 69 66 20 28 | ollectionTitle(title).{.....if.( |
17d880 | 74 69 74 6c 65 29 0a 20 20 20 20 20 20 74 68 69 73 2e 73 65 61 72 63 68 46 69 6c 74 65 72 2e 65 | title).......this.searchFilter.e |
17d8a0 | 6d 70 74 79 54 65 78 74 20 3d 0a 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 | mptyText.=.........PlacesUIUtils |
17d8c0 | 2e 67 65 74 46 6f 72 6d 61 74 74 65 64 53 74 72 69 6e 67 28 22 73 65 61 72 63 68 43 75 72 72 65 | .getFormattedString("searchCurre |
17d8e0 | 6e 74 44 65 66 61 75 6c 74 22 2c 20 5b 74 69 74 6c 65 5d 29 3b 0a 20 20 20 20 65 6c 73 65 0a 20 | ntDefault",.[title]);.....else.. |
17d900 | 20 20 20 20 20 74 68 69 73 2e 73 65 61 72 63 68 46 69 6c 74 65 72 2e 65 6d 70 74 79 54 65 78 74 | .....this.searchFilter.emptyText |
17d920 | 20 3d 20 74 68 69 73 2e 66 69 6c 74 65 72 43 6f 6c 6c 65 63 74 69 6f 6e 20 3d 3d 20 22 68 69 73 | .=.this.filterCollection.==."his |
17d940 | 74 6f 72 79 22 20 3f 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | tory".?......................... |
17d960 | 20 20 20 20 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 67 65 74 53 74 72 | ............PlacesUIUtils.getStr |
17d980 | 69 6e 67 28 22 73 65 61 72 63 68 48 69 73 74 6f 72 79 22 29 20 3a 0a 20 20 20 20 20 20 20 20 20 | ing("searchHistory").:.......... |
17d9a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 50 6c 61 63 65 | ...........................Place |
17d9c0 | 73 55 49 55 74 69 6c 73 2e 67 65 74 53 74 72 69 6e 67 28 22 73 65 61 72 63 68 42 6f 6f 6b 6d 61 | sUIUtils.getString("searchBookma |
17d9e0 | 72 6b 73 22 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 47 65 74 73 2f 73 65 74 | rks");...},..../**....*.Gets/set |
17da00 | 73 20 74 68 65 20 61 63 74 69 76 65 20 63 6f 6c 6c 65 63 74 69 6f 6e 20 66 72 6f 6d 20 74 68 65 | s.the.active.collection.from.the |
17da20 | 20 64 72 6f 70 64 6f 77 6e 20 6d 65 6e 75 2e 0a 20 20 20 2a 2f 0a 20 20 67 65 74 20 66 69 6c 74 | .dropdown.menu.....*/...get.filt |
17da40 | 65 72 43 6f 6c 6c 65 63 74 69 6f 6e 28 29 20 7b 0a 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 | erCollection().{.....return.this |
17da60 | 2e 73 65 61 72 63 68 46 69 6c 74 65 72 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 63 6f 6c 6c | .searchFilter.getAttribute("coll |
17da80 | 65 63 74 69 6f 6e 22 29 3b 0a 20 20 7d 2c 0a 20 20 73 65 74 20 66 69 6c 74 65 72 43 6f 6c 6c 65 | ection");...},...set.filterColle |
17daa0 | 63 74 69 6f 6e 28 63 6f 6c 6c 65 63 74 69 6f 6e 4e 61 6d 65 29 20 7b 0a 20 20 20 20 69 66 20 28 | ction(collectionName).{.....if.( |
17dac0 | 63 6f 6c 6c 65 63 74 69 6f 6e 4e 61 6d 65 20 3d 3d 20 74 68 69 73 2e 66 69 6c 74 65 72 43 6f 6c | collectionName.==.this.filterCol |
17dae0 | 6c 65 63 74 69 6f 6e 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 63 6f 6c 6c 65 63 74 69 6f 6e | lection).......return.collection |
17db00 | 4e 61 6d 65 3b 0a 0a 20 20 20 20 74 68 69 73 2e 73 65 61 72 63 68 46 69 6c 74 65 72 2e 73 65 74 | Name;......this.searchFilter.set |
17db20 | 41 74 74 72 69 62 75 74 65 28 22 63 6f 6c 6c 65 63 74 69 6f 6e 22 2c 20 63 6f 6c 6c 65 63 74 69 | Attribute("collection",.collecti |
17db40 | 6f 6e 4e 61 6d 65 29 3b 0a 0a 20 20 20 20 76 61 72 20 6e 65 77 47 72 61 79 54 65 78 74 20 3d 20 | onName);......var.newGrayText.=. |
17db60 | 6e 75 6c 6c 3b 0a 20 20 20 20 69 66 20 28 63 6f 6c 6c 65 63 74 69 6f 6e 4e 61 6d 65 20 3d 3d 20 | null;.....if.(collectionName.==. |
17db80 | 22 63 6f 6c 6c 65 63 74 69 6f 6e 22 29 20 7b 0a 20 20 20 20 20 20 6e 65 77 47 72 61 79 54 65 78 | "collection").{.......newGrayTex |
17dba0 | 74 20 3d 20 50 6c 61 63 65 73 4f 72 67 61 6e 69 7a 65 72 2e 5f 70 6c 61 63 65 73 2e 73 65 6c 65 | t.=.PlacesOrganizer._places.sele |
17dbc0 | 63 74 65 64 4e 6f 64 65 2e 74 69 74 6c 65 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ctedNode.title.||............... |
17dbe0 | 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 73 | ......document.getElementById("s |
17dc00 | 63 6f 70 65 42 61 72 46 6f 6c 64 65 72 22 29 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | copeBarFolder")................. |
17dc20 | 20 20 20 20 20 20 20 67 65 74 41 74 74 72 69 62 75 74 65 28 22 65 6d 70 74 79 74 69 74 6c 65 22 | .......getAttribute("emptytitle" |
17dc40 | 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 74 68 69 73 2e 75 70 64 61 74 65 43 6f 6c 6c 65 63 74 69 | );.....}.....this.updateCollecti |
17dc60 | 6f 6e 54 69 74 6c 65 28 6e 65 77 47 72 61 79 54 65 78 74 29 3b 0a 20 20 20 20 72 65 74 75 72 6e | onTitle(newGrayText);.....return |
17dc80 | 20 63 6f 6c 6c 65 63 74 69 6f 6e 4e 61 6d 65 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 | .collectionName;...},..../**.... |
17dca0 | 2a 20 46 6f 63 75 73 20 74 68 65 20 73 65 61 72 63 68 20 62 6f 78 0a 20 20 20 2a 2f 0a 20 20 66 | *.Focus.the.search.box....*/...f |
17dcc0 | 6f 63 75 73 3a 20 66 75 6e 63 74 69 6f 6e 20 50 53 42 5f 66 6f 63 75 73 28 29 20 7b 0a 20 20 20 | ocus:.function.PSB_focus().{.... |
17dce0 | 20 74 68 69 73 2e 73 65 61 72 63 68 46 69 6c 74 65 72 2e 66 6f 63 75 73 28 29 3b 0a 20 20 7d 2c | .this.searchFilter.focus();...}, |
17dd00 | 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 53 65 74 20 75 70 20 74 68 65 20 67 72 61 79 20 74 65 78 | ..../**....*.Set.up.the.gray.tex |
17dd20 | 74 20 69 6e 20 74 68 65 20 73 65 61 72 63 68 20 62 61 72 20 61 73 20 74 68 65 20 50 6c 61 63 65 | t.in.the.search.bar.as.the.Place |
17dd40 | 73 20 56 69 65 77 20 6c 6f 61 64 73 2e 0a 20 20 20 2a 2f 0a 20 20 69 6e 69 74 3a 20 66 75 6e 63 | s.View.loads.....*/...init:.func |
17dd60 | 74 69 6f 6e 20 50 53 42 5f 69 6e 69 74 28 29 20 7b 0a 20 20 20 20 74 68 69 73 2e 75 70 64 61 74 | tion.PSB_init().{.....this.updat |
17dd80 | 65 43 6f 6c 6c 65 63 74 69 6f 6e 54 69 74 6c 65 28 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a | eCollectionTitle();...},..../**. |
17dda0 | 20 20 20 2a 20 47 65 74 73 20 6f 72 20 73 65 74 73 20 74 68 65 20 74 65 78 74 20 73 68 6f 77 6e | ...*.Gets.or.sets.the.text.shown |
17ddc0 | 20 69 6e 20 74 68 65 20 50 6c 61 63 65 73 20 53 65 61 72 63 68 20 42 6f 78 0a 20 20 20 2a 2f 0a | .in.the.Places.Search.Box....*/. |
17dde0 | 20 20 67 65 74 20 76 61 6c 75 65 28 29 20 7b 0a 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e | ..get.value().{.....return.this. |
17de00 | 73 65 61 72 63 68 46 69 6c 74 65 72 2e 76 61 6c 75 65 3b 0a 20 20 7d 2c 0a 20 20 73 65 74 20 76 | searchFilter.value;...},...set.v |
17de20 | 61 6c 75 65 28 76 61 6c 75 65 29 20 7b 0a 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 73 65 | alue(value).{.....return.this.se |
17de40 | 61 72 63 68 46 69 6c 74 65 72 2e 76 61 6c 75 65 20 3d 20 76 61 6c 75 65 3b 0a 20 20 7d 2c 0a 0a | archFilter.value.=.value;...},.. |
17de60 | 20 20 73 68 6f 77 53 65 61 72 63 68 55 49 3a 20 66 75 6e 63 74 69 6f 6e 20 50 53 42 5f 73 68 6f | ..showSearchUI:.function.PSB_sho |
17de80 | 77 53 65 61 72 63 68 55 49 28 29 20 7b 0a 20 20 20 20 2f 2f 20 48 69 64 65 20 74 68 65 20 61 64 | wSearchUI().{.....//.Hide.the.ad |
17dea0 | 76 61 6e 63 65 64 20 73 65 61 72 63 68 20 63 6f 6e 74 72 6f 6c 73 20 77 68 65 6e 20 74 68 65 20 | vanced.search.controls.when.the. |
17dec0 | 75 73 65 72 20 68 61 73 6e 27 74 20 73 65 61 72 63 68 65 64 0a 20 20 20 20 76 61 72 20 73 65 61 | user.hasn't.searched.....var.sea |
17dee0 | 72 63 68 4d 6f 64 69 66 69 65 72 73 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 | rchModifiers.=.document.getEleme |
17df00 | 6e 74 42 79 49 64 28 22 73 65 61 72 63 68 4d 6f 64 69 66 69 65 72 73 22 29 3b 0a 20 20 20 20 73 | ntById("searchModifiers");.....s |
17df20 | 65 61 72 63 68 4d 6f 64 69 66 69 65 72 73 2e 68 69 64 64 65 6e 20 3d 20 66 61 6c 73 65 3b 0a 0a | earchModifiers.hidden.=.false;.. |
17df40 | 2f 2f 40 6c 69 6e 65 20 31 30 32 31 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 | //@line.1021."/builds/moz2_slave |
17df60 | 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 63 6f 6d 70 6f | /linux_build/build/browser/compo |
17df80 | 6e 65 6e 74 73 2f 70 6c 61 63 65 73 2f 63 6f 6e 74 65 6e 74 2f 70 6c 61 63 65 73 2e 6a 73 22 0a | nents/places/content/places.js". |
17dfa0 | 20 20 7d 2c 0a 0a 20 20 68 69 64 65 53 65 61 72 63 68 55 49 3a 20 66 75 6e 63 74 69 6f 6e 20 50 | ..},....hideSearchUI:.function.P |
17dfc0 | 53 42 5f 68 69 64 65 53 65 61 72 63 68 55 49 28 29 20 7b 0a 20 20 20 20 76 61 72 20 73 65 61 72 | SB_hideSearchUI().{.....var.sear |
17dfe0 | 63 68 4d 6f 64 69 66 69 65 72 73 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e | chModifiers.=.document.getElemen |
17e000 | 74 42 79 49 64 28 22 73 65 61 72 63 68 4d 6f 64 69 66 69 65 72 73 22 29 3b 0a 20 20 20 20 73 65 | tById("searchModifiers");.....se |
17e020 | 61 72 63 68 4d 6f 64 69 66 69 65 72 73 2e 68 69 64 64 65 6e 20 3d 20 74 72 75 65 3b 0a 20 20 7d | archModifiers.hidden.=.true;...} |
17e040 | 0a 7d 3b 0a 0a 2f 2a 2a 0a 20 2a 20 46 75 6e 63 74 69 6f 6e 73 20 61 6e 64 20 64 61 74 61 20 66 | .};../**..*.Functions.and.data.f |
17e060 | 6f 72 20 61 64 76 61 6e 63 65 64 20 71 75 65 72 79 20 62 75 69 6c 64 65 72 0a 20 2a 2f 0a 76 61 | or.advanced.query.builder..*/.va |
17e080 | 72 20 50 6c 61 63 65 73 51 75 65 72 79 42 75 69 6c 64 65 72 20 3d 20 7b 0a 0a 20 20 71 75 65 72 | r.PlacesQueryBuilder.=.{....quer |
17e0a0 | 69 65 73 3a 20 5b 5d 2c 0a 20 20 71 75 65 72 79 4f 70 74 69 6f 6e 73 3a 20 6e 75 6c 6c 2c 0a 0a | ies:.[],...queryOptions:.null,.. |
17e0c0 | 2f 2f 40 6c 69 6e 65 20 31 35 30 30 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 | //@line.1500."/builds/moz2_slave |
17e0e0 | 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 63 6f 6d 70 6f | /linux_build/build/browser/compo |
17e100 | 6e 65 6e 74 73 2f 70 6c 61 63 65 73 2f 63 6f 6e 74 65 6e 74 2f 70 6c 61 63 65 73 2e 6a 73 22 0a | nents/places/content/places.js". |
17e120 | 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 43 61 6c 6c 65 64 20 77 68 65 6e 20 61 20 73 63 6f 70 65 20 | .../**....*.Called.when.a.scope. |
17e140 | 62 75 74 74 6f 6e 20 69 6e 20 74 68 65 20 73 63 6f 70 65 20 62 61 72 20 69 73 20 63 6c 69 63 6b | button.in.the.scope.bar.is.click |
17e160 | 65 64 2e 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 20 20 61 42 75 74 74 6f 6e 0a 20 20 20 2a 20 20 | ed.....*.@param...aButton....*.. |
17e180 | 20 20 20 20 20 20 20 20 74 68 65 20 73 63 6f 70 65 20 62 75 74 74 6f 6e 20 74 68 61 74 20 77 61 | ........the.scope.button.that.wa |
17e1a0 | 73 20 73 65 6c 65 63 74 65 64 0a 20 20 20 2a 2f 0a 20 20 6f 6e 53 63 6f 70 65 53 65 6c 65 63 74 | s.selected....*/...onScopeSelect |
17e1c0 | 65 64 3a 20 66 75 6e 63 74 69 6f 6e 20 50 51 42 5f 6f 6e 53 63 6f 70 65 53 65 6c 65 63 74 65 64 | ed:.function.PQB_onScopeSelected |
17e1e0 | 28 61 42 75 74 74 6f 6e 29 20 7b 0a 20 20 20 20 73 77 69 74 63 68 20 28 61 42 75 74 74 6f 6e 2e | (aButton).{.....switch.(aButton. |
17e200 | 69 64 29 20 7b 0a 20 20 20 20 63 61 73 65 20 22 73 63 6f 70 65 42 61 72 48 69 73 74 6f 72 79 22 | id).{.....case."scopeBarHistory" |
17e220 | 3a 0a 20 20 20 20 20 20 74 68 69 73 2e 73 65 74 53 63 6f 70 65 28 22 68 69 73 74 6f 72 79 22 29 | :.......this.setScope("history") |
17e240 | 3b 0a 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 63 61 73 65 20 22 73 63 6f 70 65 42 61 | ;.......break;.....case."scopeBa |
17e260 | 72 46 6f 6c 64 65 72 22 3a 0a 20 20 20 20 20 20 74 68 69 73 2e 73 65 74 53 63 6f 70 65 28 22 63 | rFolder":.......this.setScope("c |
17e280 | 6f 6c 6c 65 63 74 69 6f 6e 22 29 3b 0a 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 63 61 | ollection");.......break;.....ca |
17e2a0 | 73 65 20 22 73 63 6f 70 65 42 61 72 41 6c 6c 22 3a 0a 20 20 20 20 20 20 74 68 69 73 2e 73 65 74 | se."scopeBarAll":.......this.set |
17e2c0 | 53 63 6f 70 65 28 22 62 6f 6f 6b 6d 61 72 6b 73 22 29 3b 0a 20 20 20 20 20 20 62 72 65 61 6b 3b | Scope("bookmarks");.......break; |
17e2e0 | 0a 20 20 20 20 64 65 66 61 75 6c 74 3a 0a 20 20 20 20 20 20 74 68 72 6f 77 20 22 49 6e 76 61 6c | .....default:.......throw."Inval |
17e300 | 69 64 20 73 65 61 72 63 68 20 73 63 6f 70 65 20 62 75 74 74 6f 6e 20 49 44 22 3b 0a 20 20 20 20 | id.search.scope.button.ID";..... |
17e320 | 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 | ..break;.....}...},..../**....*. |
17e340 | 53 65 74 73 20 74 68 65 20 73 65 61 72 63 68 20 73 63 6f 70 65 2e 20 20 54 68 69 73 20 63 61 6e | Sets.the.search.scope...This.can |
17e360 | 20 62 65 20 63 61 6c 6c 65 64 20 77 68 65 6e 20 6e 6f 20 73 65 61 72 63 68 20 69 73 20 61 63 74 | .be.called.when.no.search.is.act |
17e380 | 69 76 65 2c 20 61 6e 64 0a 20 20 20 2a 20 69 6e 20 74 68 61 74 20 63 61 73 65 2c 20 77 68 65 6e | ive,.and....*.in.that.case,.when |
17e3a0 | 20 74 68 65 20 75 73 65 72 20 64 6f 65 73 20 62 65 67 69 6e 20 61 20 73 65 61 72 63 68 20 61 53 | .the.user.does.begin.a.search.aS |
17e3c0 | 63 6f 70 65 20 77 69 6c 6c 20 62 65 20 75 73 65 64 20 28 73 65 65 0a 20 20 20 2a 20 50 53 42 5f | cope.will.be.used.(see....*.PSB_ |
17e3e0 | 73 65 61 72 63 68 28 29 29 2e 20 20 49 66 20 74 68 65 72 65 20 69 73 20 61 6e 20 61 63 74 69 76 | search())...If.there.is.an.activ |
17e400 | 65 20 73 65 61 72 63 68 2c 20 69 74 27 73 20 70 65 72 66 6f 72 6d 65 64 20 61 67 61 69 6e 20 74 | e.search,.it's.performed.again.t |
17e420 | 6f 0a 20 20 20 2a 20 75 70 64 61 74 65 20 74 68 65 20 63 6f 6e 74 65 6e 74 20 74 72 65 65 2e 0a | o....*.update.the.content.tree.. |
17e440 | 20 20 20 2a 20 40 70 61 72 61 6d 20 20 20 61 53 63 6f 70 65 0a 20 20 20 2a 20 20 20 20 20 20 20 | ...*.@param...aScope....*....... |
17e460 | 20 20 20 74 68 65 20 73 65 61 72 63 68 20 73 63 6f 70 65 2c 20 22 62 6f 6f 6b 6d 61 72 6b 73 22 | ...the.search.scope,."bookmarks" |
17e480 | 2c 20 22 63 6f 6c 6c 65 63 74 69 6f 6e 22 2c 20 6f 72 20 22 68 69 73 74 6f 72 79 22 0a 20 20 20 | ,."collection",.or."history".... |
17e4a0 | 2a 2f 0a 20 20 73 65 74 53 63 6f 70 65 3a 20 66 75 6e 63 74 69 6f 6e 20 50 51 42 5f 73 65 74 53 | */...setScope:.function.PQB_setS |
17e4c0 | 63 6f 70 65 28 61 53 63 6f 70 65 29 20 7b 0a 20 20 20 20 2f 2f 20 44 65 74 65 72 6d 69 6e 65 20 | cope(aScope).{.....//.Determine. |
17e4e0 | 66 69 6c 74 65 72 43 6f 6c 6c 65 63 74 69 6f 6e 2c 20 66 6f 6c 64 65 72 73 2c 20 61 6e 64 20 73 | filterCollection,.folders,.and.s |
17e500 | 63 6f 70 65 42 75 74 74 6f 6e 49 64 20 62 61 73 65 64 20 6f 6e 20 61 53 63 6f 70 65 2e 0a 20 20 | copeButtonId.based.on.aScope.... |
17e520 | 20 20 76 61 72 20 66 69 6c 74 65 72 43 6f 6c 6c 65 63 74 69 6f 6e 3b 0a 20 20 20 20 76 61 72 20 | ..var.filterCollection;.....var. |
17e540 | 66 6f 6c 64 65 72 73 20 3d 20 5b 5d 3b 0a 20 20 20 20 76 61 72 20 73 63 6f 70 65 42 75 74 74 6f | folders.=.[];.....var.scopeButto |
17e560 | 6e 49 64 3b 0a 20 20 20 20 73 77 69 74 63 68 20 28 61 53 63 6f 70 65 29 20 7b 0a 20 20 20 20 63 | nId;.....switch.(aScope).{.....c |
17e580 | 61 73 65 20 22 68 69 73 74 6f 72 79 22 3a 0a 20 20 20 20 20 20 66 69 6c 74 65 72 43 6f 6c 6c 65 | ase."history":.......filterColle |
17e5a0 | 63 74 69 6f 6e 20 3d 20 22 68 69 73 74 6f 72 79 22 3b 0a 20 20 20 20 20 20 73 63 6f 70 65 42 75 | ction.=."history";.......scopeBu |
17e5c0 | 74 74 6f 6e 49 64 20 3d 20 22 73 63 6f 70 65 42 61 72 48 69 73 74 6f 72 79 22 3b 0a 20 20 20 20 | ttonId.=."scopeBarHistory";..... |
17e5e0 | 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 63 61 73 65 20 22 63 6f 6c 6c 65 63 74 69 6f 6e 22 3a 0a | ..break;.....case."collection":. |
17e600 | 20 20 20 20 20 20 2f 2f 20 54 68 65 20 66 6f 6c 64 65 72 20 73 63 6f 70 65 20 62 75 74 74 6f 6e | ......//.The.folder.scope.button |
17e620 | 20 63 61 6e 20 6f 6e 6c 79 20 62 65 63 6f 6d 65 20 68 69 64 64 65 6e 20 75 70 6f 6e 20 73 65 6c | .can.only.become.hidden.upon.sel |
17e640 | 65 63 74 69 6e 67 20 61 20 6e 65 77 0a 20 20 20 20 20 20 2f 2f 20 66 6f 6c 64 65 72 20 69 6e 20 | ecting.a.new.......//.folder.in. |
17e660 | 74 68 65 20 6c 65 66 74 20 70 61 6e 65 2c 20 61 6e 64 20 74 68 65 20 64 69 73 61 62 6c 65 64 20 | the.left.pane,.and.the.disabled. |
17e680 | 73 74 61 74 65 20 77 69 6c 6c 20 72 65 6d 61 69 6e 20 75 6e 63 68 61 6e 67 65 64 0a 20 20 20 20 | state.will.remain.unchanged..... |
17e6a0 | 20 20 2f 2f 20 75 6e 74 69 6c 20 61 20 6e 65 77 20 66 6f 6c 64 65 72 20 69 73 20 73 65 6c 65 63 | ..//.until.a.new.folder.is.selec |
17e6c0 | 74 65 64 2e 20 20 53 65 65 20 50 4f 5f 5f 73 65 74 53 63 6f 70 65 46 6f 72 4e 6f 64 65 28 29 2e | ted...See.PO__setScopeForNode(). |
17e6e0 | 0a 20 20 20 20 20 20 69 66 20 28 21 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 | .......if.(!document.getElementB |
17e700 | 79 49 64 28 22 73 63 6f 70 65 42 61 72 46 6f 6c 64 65 72 22 29 2e 68 69 64 64 65 6e 29 20 7b 0a | yId("scopeBarFolder").hidden).{. |
17e720 | 20 20 20 20 20 20 20 20 66 69 6c 74 65 72 43 6f 6c 6c 65 63 74 69 6f 6e 20 3d 20 22 63 6f 6c 6c | ........filterCollection.=."coll |
17e740 | 65 63 74 69 6f 6e 22 3b 0a 20 20 20 20 20 20 20 20 73 63 6f 70 65 42 75 74 74 6f 6e 49 64 20 3d | ection";.........scopeButtonId.= |
17e760 | 20 22 73 63 6f 70 65 42 61 72 46 6f 6c 64 65 72 22 3b 0a 20 20 20 20 20 20 20 20 66 6f 6c 64 65 | ."scopeBarFolder";.........folde |
17e780 | 72 73 2e 70 75 73 68 28 50 6c 61 63 65 73 55 74 69 6c 73 2e 67 65 74 43 6f 6e 63 72 65 74 65 49 | rs.push(PlacesUtils.getConcreteI |
17e7a0 | 74 65 6d 49 64 28 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 50 6c | temId(........................Pl |
17e7c0 | 61 63 65 73 4f 72 67 61 6e 69 7a 65 72 2e 5f 70 6c 61 63 65 73 2e 73 65 6c 65 63 74 65 64 4e 6f | acesOrganizer._places.selectedNo |
17e7e0 | 64 65 29 29 3b 0a 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 | de));.........break;.......}.... |
17e800 | 20 20 20 2f 2f 20 46 61 6c 6c 20 74 68 72 6f 75 67 68 2e 20 20 49 66 20 63 6f 6c 6c 65 63 74 69 | ...//.Fall.through...If.collecti |
17e820 | 6f 6e 20 73 63 6f 70 65 20 64 6f 65 73 6e 27 74 20 6d 61 6b 65 20 73 65 6e 73 65 20 66 6f 72 20 | on.scope.doesn't.make.sense.for. |
17e840 | 74 68 65 0a 20 20 20 20 20 20 2f 2f 20 73 65 6c 65 63 74 65 64 20 6e 6f 64 65 2c 20 63 68 6f 6f | the.......//.selected.node,.choo |
17e860 | 73 65 20 62 6f 6f 6b 6d 61 72 6b 73 20 73 63 6f 70 65 2e 0a 20 20 20 20 63 61 73 65 20 22 62 6f | se.bookmarks.scope......case."bo |
17e880 | 6f 6b 6d 61 72 6b 73 22 3a 0a 20 20 20 20 20 20 66 69 6c 74 65 72 43 6f 6c 6c 65 63 74 69 6f 6e | okmarks":.......filterCollection |
17e8a0 | 20 3d 20 22 62 6f 6f 6b 6d 61 72 6b 73 22 3b 0a 20 20 20 20 20 20 73 63 6f 70 65 42 75 74 74 6f | .=."bookmarks";.......scopeButto |
17e8c0 | 6e 49 64 20 3d 20 22 73 63 6f 70 65 42 61 72 41 6c 6c 22 3b 0a 20 20 20 20 20 20 66 6f 6c 64 65 | nId.=."scopeBarAll";.......folde |
17e8e0 | 72 73 2e 70 75 73 68 28 50 6c 61 63 65 73 55 74 69 6c 73 2e 62 6f 6f 6b 6d 61 72 6b 73 4d 65 6e | rs.push(PlacesUtils.bookmarksMen |
17e900 | 75 46 6f 6c 64 65 72 49 64 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 50 6c | uFolderId,....................Pl |
17e920 | 61 63 65 73 55 74 69 6c 73 2e 74 6f 6f 6c 62 61 72 46 6f 6c 64 65 72 49 64 2c 0a 20 20 20 20 20 | acesUtils.toolbarFolderId,...... |
17e940 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 75 6e 66 69 6c 65 | ..............PlacesUtils.unfile |
17e960 | 64 42 6f 6f 6b 6d 61 72 6b 73 46 6f 6c 64 65 72 49 64 29 3b 0a 20 20 20 20 20 20 62 72 65 61 6b | dBookmarksFolderId);.......break |
17e980 | 3b 0a 20 20 20 20 64 65 66 61 75 6c 74 3a 0a 20 20 20 20 20 20 74 68 72 6f 77 20 22 49 6e 76 61 | ;.....default:.......throw."Inva |
17e9a0 | 6c 69 64 20 73 65 61 72 63 68 20 73 63 6f 70 65 22 3b 0a 20 20 20 20 20 20 62 72 65 61 6b 3b 0a | lid.search.scope";.......break;. |
17e9c0 | 20 20 20 20 7d 0a 0a 20 20 20 20 2f 2f 20 43 68 65 63 6b 20 74 68 65 20 61 70 70 72 6f 70 72 69 | ....}......//.Check.the.appropri |
17e9e0 | 61 74 65 20 73 63 6f 70 65 20 62 75 74 74 6f 6e 20 69 6e 20 74 68 65 20 73 63 6f 70 65 20 62 61 | ate.scope.button.in.the.scope.ba |
17ea00 | 72 2e 0a 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 73 | r......document.getElementById(s |
17ea20 | 63 6f 70 65 42 75 74 74 6f 6e 49 64 29 2e 63 68 65 63 6b 65 64 20 3d 20 74 72 75 65 3b 0a 0a 20 | copeButtonId).checked.=.true;... |
17ea40 | 20 20 20 2f 2f 20 55 70 64 61 74 65 20 74 68 65 20 73 65 61 72 63 68 20 62 6f 78 2e 20 20 52 65 | ...//.Update.the.search.box...Re |
17ea60 | 2d 73 65 61 72 63 68 20 69 66 20 74 68 65 72 65 27 73 20 61 6e 20 61 63 74 69 76 65 20 73 65 61 | -search.if.there's.an.active.sea |
17ea80 | 72 63 68 2e 0a 20 20 20 20 50 6c 61 63 65 73 53 65 61 72 63 68 42 6f 78 2e 66 69 6c 74 65 72 43 | rch......PlacesSearchBox.filterC |
17eaa0 | 6f 6c 6c 65 63 74 69 6f 6e 20 3d 20 66 69 6c 74 65 72 43 6f 6c 6c 65 63 74 69 6f 6e 3b 0a 20 20 | ollection.=.filterCollection;... |
17eac0 | 20 20 50 6c 61 63 65 73 53 65 61 72 63 68 42 6f 78 2e 66 6f 6c 64 65 72 73 20 3d 20 66 6f 6c 64 | ..PlacesSearchBox.folders.=.fold |
17eae0 | 65 72 73 3b 0a 20 20 20 20 76 61 72 20 73 65 61 72 63 68 53 74 72 20 3d 20 50 6c 61 63 65 73 53 | ers;.....var.searchStr.=.PlacesS |
17eb00 | 65 61 72 63 68 42 6f 78 2e 73 65 61 72 63 68 46 69 6c 74 65 72 2e 76 61 6c 75 65 3b 0a 20 20 20 | earchBox.searchFilter.value;.... |
17eb20 | 20 69 66 20 28 73 65 61 72 63 68 53 74 72 29 0a 20 20 20 20 20 20 50 6c 61 63 65 73 53 65 61 72 | .if.(searchStr).......PlacesSear |
17eb40 | 63 68 42 6f 78 2e 73 65 61 72 63 68 28 73 65 61 72 63 68 53 74 72 29 3b 0a 20 20 7d 0a 7d 3b 0a | chBox.search(searchStr);...}.};. |
17eb60 | 0a 2f 2a 2a 0a 20 2a 20 50 6f 70 75 6c 61 74 69 6f 6e 20 61 6e 64 20 63 6f 6d 6d 61 6e 64 73 20 | ./**..*.Population.and.commands. |
17eb80 | 66 6f 72 20 74 68 65 20 56 69 65 77 20 4d 65 6e 75 2e 0a 20 2a 2f 0a 76 61 72 20 56 69 65 77 4d | for.the.View.Menu...*/.var.ViewM |
17eba0 | 65 6e 75 20 3d 20 7b 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 52 65 6d 6f 76 65 73 20 63 6f 6e 74 65 | enu.=.{.../**....*.Removes.conte |
17ebc0 | 6e 74 20 67 65 6e 65 72 61 74 65 64 20 70 72 65 76 69 6f 75 73 6c 79 20 66 72 6f 6d 20 61 20 6d | nt.generated.previously.from.a.m |
17ebe0 | 65 6e 75 70 6f 70 75 70 2e 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 20 20 70 6f 70 75 70 0a 20 20 | enupopup.....*.@param...popup... |
17ec00 | 20 2a 20 20 20 20 20 20 20 20 20 20 54 68 65 20 70 6f 70 75 70 20 74 68 61 74 20 63 6f 6e 74 61 | .*..........The.popup.that.conta |
17ec20 | 69 6e 73 20 74 68 65 20 70 72 65 76 69 6f 75 73 6c 79 20 67 65 6e 65 72 61 74 65 64 20 63 6f 6e | ins.the.previously.generated.con |
17ec40 | 74 65 6e 74 2e 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 20 20 73 74 61 72 74 49 44 0a 20 20 20 2a | tent.....*.@param...startID....* |
17ec60 | 20 20 20 20 20 20 20 20 20 20 54 68 65 20 69 64 20 61 74 74 72 69 62 75 74 65 20 6f 66 20 61 6e | ..........The.id.attribute.of.an |
17ec80 | 20 65 6c 65 6d 65 6e 74 20 74 68 61 74 20 69 73 20 74 68 65 20 73 74 61 72 74 20 6f 66 20 74 68 | .element.that.is.the.start.of.th |
17eca0 | 65 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 64 79 6e 61 6d 69 63 61 6c 6c 79 20 67 65 6e 65 | e....*..........dynamically.gene |
17ecc0 | 72 61 74 65 64 20 72 65 67 69 6f 6e 20 2d 20 72 65 6d 6f 76 65 20 65 6c 65 6d 65 6e 74 73 20 61 | rated.region.-.remove.elements.a |
17ece0 | 66 74 65 72 20 74 68 69 73 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 69 74 65 6d 20 6f 6e 6c | fter.this....*..........item.onl |
17ed00 | 79 2e 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 4d 75 73 74 20 62 65 20 63 6f 6e 74 61 69 6e | y.....*..........Must.be.contain |
17ed20 | 65 64 20 62 79 20 70 6f 70 75 70 2e 20 43 61 6e 20 62 65 20 6e 75 6c 6c 20 28 69 6e 20 77 68 69 | ed.by.popup..Can.be.null.(in.whi |
17ed40 | 63 68 20 63 61 73 65 20 74 68 65 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 63 6f 6e 74 65 6e | ch.case.the....*..........conten |
17ed60 | 74 73 20 6f 66 20 70 6f 70 75 70 20 61 72 65 20 72 65 6d 6f 76 65 64 29 2e 0a 20 20 20 2a 20 40 | ts.of.popup.are.removed).....*.@ |
17ed80 | 70 61 72 61 6d 20 20 20 65 6e 64 49 44 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 54 68 65 20 | param...endID....*..........The. |
17eda0 | 69 64 20 61 74 74 72 69 62 75 74 65 20 6f 66 20 61 6e 20 65 6c 65 6d 65 6e 74 20 74 68 61 74 20 | id.attribute.of.an.element.that. |
17edc0 | 69 73 20 74 68 65 20 65 6e 64 20 6f 66 20 74 68 65 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 | is.the.end.of.the....*.......... |
17ede0 | 64 79 6e 61 6d 69 63 61 6c 6c 79 20 67 65 6e 65 72 61 74 65 64 20 72 65 67 69 6f 6e 20 2d 20 72 | dynamically.generated.region.-.r |
17ee00 | 65 6d 6f 76 65 20 65 6c 65 6d 65 6e 74 73 20 75 70 20 74 6f 20 74 68 69 73 0a 20 20 20 2a 20 20 | emove.elements.up.to.this....*.. |
17ee20 | 20 20 20 20 20 20 20 20 69 74 65 6d 20 6f 6e 6c 79 2e 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 | ........item.only.....*......... |
17ee40 | 20 4d 75 73 74 20 62 65 20 63 6f 6e 74 61 69 6e 65 64 20 62 79 20 70 6f 70 75 70 2e 20 43 61 6e | .Must.be.contained.by.popup..Can |
17ee60 | 20 62 65 20 6e 75 6c 6c 20 28 69 6e 20 77 68 69 63 68 20 63 61 73 65 20 61 6c 6c 0a 20 20 20 2a | .be.null.(in.which.case.all....* |
17ee80 | 20 20 20 20 20 20 20 20 20 20 69 74 65 6d 73 20 75 6e 74 69 6c 20 74 68 65 20 65 6e 64 20 6f 66 | ..........items.until.the.end.of |
17eea0 | 20 74 68 65 20 70 6f 70 75 70 20 77 69 6c 6c 20 62 65 20 72 65 6d 6f 76 65 64 29 2e 20 49 67 6e | .the.popup.will.be.removed)..Ign |
17eec0 | 6f 72 65 64 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 69 66 20 73 74 61 72 74 49 44 20 69 73 | ored....*..........if.startID.is |
17eee0 | 20 6e 75 6c 6c 2e 0a 20 20 20 2a 20 40 72 65 74 75 72 6e 73 20 54 68 65 20 65 6c 65 6d 65 6e 74 | .null.....*.@returns.The.element |
17ef00 | 20 66 6f 72 20 74 68 65 20 63 61 6c 6c 65 72 20 74 6f 20 69 6e 73 65 72 74 20 6e 65 77 20 69 74 | .for.the.caller.to.insert.new.it |
17ef20 | 65 6d 73 20 62 65 66 6f 72 65 2c 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 6e 75 6c 6c 20 69 | ems.before,....*..........null.i |
17ef40 | 66 20 74 68 65 20 63 61 6c 6c 65 72 20 73 68 6f 75 6c 64 20 6a 75 73 74 20 61 70 70 65 6e 64 20 | f.the.caller.should.just.append. |
17ef60 | 74 6f 20 74 68 65 20 70 6f 70 75 70 2e 0a 20 20 20 2a 2f 0a 20 20 5f 63 6c 65 61 6e 3a 20 66 75 | to.the.popup.....*/..._clean:.fu |
17ef80 | 6e 63 74 69 6f 6e 20 56 4d 5f 5f 63 6c 65 61 6e 28 70 6f 70 75 70 2c 20 73 74 61 72 74 49 44 2c | nction.VM__clean(popup,.startID, |
17efa0 | 20 65 6e 64 49 44 29 20 7b 0a 20 20 20 20 69 66 20 28 65 6e 64 49 44 29 0a 20 20 20 20 20 20 4e | .endID).{.....if.(endID).......N |
17efc0 | 53 5f 41 53 53 45 52 54 28 73 74 61 72 74 49 44 2c 20 22 6d 65 61 6e 69 6e 67 6c 65 73 73 20 74 | S_ASSERT(startID,."meaningless.t |
17efe0 | 6f 20 68 61 76 65 20 76 61 6c 69 64 20 65 6e 64 49 44 20 61 6e 64 20 6e 75 6c 6c 20 73 74 61 72 | o.have.valid.endID.and.null.star |
17f000 | 74 49 44 22 29 3b 0a 20 20 20 20 69 66 20 28 73 74 61 72 74 49 44 29 20 7b 0a 20 20 20 20 20 20 | tID");.....if.(startID).{....... |
17f020 | 76 61 72 20 73 74 61 72 74 45 6c 65 6d 65 6e 74 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 | var.startElement.=.document.getE |
17f040 | 6c 65 6d 65 6e 74 42 79 49 64 28 73 74 61 72 74 49 44 29 3b 0a 20 20 20 20 20 20 4e 53 5f 41 53 | lementById(startID);.......NS_AS |
17f060 | 53 45 52 54 28 73 74 61 72 74 45 6c 65 6d 65 6e 74 2e 70 61 72 65 6e 74 4e 6f 64 65 20 3d 3d 0a | SERT(startElement.parentNode.==. |
17f080 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 6f 70 75 70 2c 20 22 73 74 61 72 74 45 6c 65 | ................popup,."startEle |
17f0a0 | 6d 65 6e 74 20 69 73 20 6e 6f 74 20 69 6e 20 70 6f 70 75 70 22 29 3b 0a 20 20 20 20 20 20 4e 53 | ment.is.not.in.popup");.......NS |
17f0c0 | 5f 41 53 53 45 52 54 28 73 74 61 72 74 45 6c 65 6d 65 6e 74 2c 0a 20 20 20 20 20 20 20 20 20 20 | _ASSERT(startElement,........... |
17f0e0 | 20 20 20 20 20 20 22 73 74 61 72 74 49 44 20 64 6f 65 73 20 6e 6f 74 20 63 6f 72 72 65 73 70 6f | ......"startID.does.not.correspo |
17f100 | 6e 64 20 74 6f 20 61 6e 20 65 78 69 73 74 69 6e 67 20 65 6c 65 6d 65 6e 74 22 29 3b 0a 20 20 20 | nd.to.an.existing.element");.... |
17f120 | 20 20 20 76 61 72 20 65 6e 64 45 6c 65 6d 65 6e 74 20 3d 20 6e 75 6c 6c 3b 0a 20 20 20 20 20 20 | ...var.endElement.=.null;....... |
17f140 | 69 66 20 28 65 6e 64 49 44 29 20 7b 0a 20 20 20 20 20 20 20 20 65 6e 64 45 6c 65 6d 65 6e 74 20 | if.(endID).{.........endElement. |
17f160 | 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 65 6e 64 49 44 29 | =.document.getElementById(endID) |
17f180 | 3b 0a 20 20 20 20 20 20 20 20 4e 53 5f 41 53 53 45 52 54 28 65 6e 64 45 6c 65 6d 65 6e 74 2e 70 | ;.........NS_ASSERT(endElement.p |
17f1a0 | 61 72 65 6e 74 4e 6f 64 65 20 3d 3d 20 70 6f 70 75 70 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 | arentNode.==.popup,............. |
17f1c0 | 20 20 20 20 20 20 22 65 6e 64 45 6c 65 6d 65 6e 74 20 69 73 20 6e 6f 74 20 69 6e 20 70 6f 70 75 | ......"endElement.is.not.in.popu |
17f1e0 | 70 22 29 3b 0a 20 20 20 20 20 20 20 20 4e 53 5f 41 53 53 45 52 54 28 65 6e 64 45 6c 65 6d 65 6e | p");.........NS_ASSERT(endElemen |
17f200 | 74 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 65 6e 64 49 44 20 64 6f 65 73 | t,..................."endID.does |
17f220 | 20 6e 6f 74 20 63 6f 72 72 65 73 70 6f 6e 64 20 74 6f 20 61 6e 20 65 78 69 73 74 69 6e 67 20 65 | .not.correspond.to.an.existing.e |
17f240 | 6c 65 6d 65 6e 74 22 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 77 68 69 6c 65 20 28 73 | lement");.......}.......while.(s |
17f260 | 74 61 72 74 45 6c 65 6d 65 6e 74 2e 6e 65 78 74 53 69 62 6c 69 6e 67 20 21 3d 20 65 6e 64 45 6c | tartElement.nextSibling.!=.endEl |
17f280 | 65 6d 65 6e 74 29 0a 20 20 20 20 20 20 20 20 70 6f 70 75 70 2e 72 65 6d 6f 76 65 43 68 69 6c 64 | ement).........popup.removeChild |
17f2a0 | 28 73 74 61 72 74 45 6c 65 6d 65 6e 74 2e 6e 65 78 74 53 69 62 6c 69 6e 67 29 3b 0a 20 20 20 20 | (startElement.nextSibling);..... |
17f2c0 | 20 20 72 65 74 75 72 6e 20 65 6e 64 45 6c 65 6d 65 6e 74 3b 0a 20 20 20 20 7d 0a 20 20 20 20 65 | ..return.endElement;.....}.....e |
17f2e0 | 6c 73 65 20 7b 0a 20 20 20 20 20 20 77 68 69 6c 65 28 70 6f 70 75 70 2e 68 61 73 43 68 69 6c 64 | lse.{.......while(popup.hasChild |
17f300 | 4e 6f 64 65 73 28 29 29 0a 20 20 20 20 20 20 20 20 70 6f 70 75 70 2e 72 65 6d 6f 76 65 43 68 69 | Nodes()).........popup.removeChi |
17f320 | 6c 64 28 70 6f 70 75 70 2e 66 69 72 73 74 43 68 69 6c 64 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 | ld(popup.firstChild);.....}..... |
17f340 | 72 65 74 75 72 6e 20 6e 75 6c 6c 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 46 69 | return.null;...},..../**....*.Fi |
17f360 | 6c 6c 73 20 61 20 6d 65 6e 75 70 6f 70 75 70 20 77 69 74 68 20 61 20 6c 69 73 74 20 6f 66 20 63 | lls.a.menupopup.with.a.list.of.c |
17f380 | 6f 6c 75 6d 6e 73 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 20 20 65 76 65 6e 74 0a 20 20 20 2a 20 | olumns....*.@param...event....*. |
17f3a0 | 20 20 20 20 20 20 20 20 20 54 68 65 20 70 6f 70 75 70 73 68 6f 77 69 6e 67 20 65 76 65 6e 74 20 | .........The.popupshowing.event. |
17f3c0 | 74 68 61 74 20 69 6e 76 6f 6b 65 64 20 74 68 69 73 20 66 75 6e 63 74 69 6f 6e 2e 0a 20 20 20 2a | that.invoked.this.function.....* |
17f3e0 | 20 40 70 61 72 61 6d 20 20 20 73 74 61 72 74 49 44 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 | .@param...startID....*.......... |
17f400 | 73 65 65 20 5f 63 6c 65 61 6e 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 20 20 65 6e 64 49 44 0a 20 | see._clean....*.@param...endID.. |
17f420 | 20 20 2a 20 20 20 20 20 20 20 20 20 20 73 65 65 20 5f 63 6c 65 61 6e 0a 20 20 20 2a 20 40 70 61 | ..*..........see._clean....*.@pa |
17f440 | 72 61 6d 20 20 20 74 79 70 65 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 74 68 65 20 74 79 70 | ram...type....*..........the.typ |
17f460 | 65 20 6f 66 20 74 68 65 20 6d 65 6e 75 69 74 65 6d 2c 20 65 2e 67 2e 20 22 72 61 64 69 6f 22 20 | e.of.the.menuitem,.e.g.."radio". |
17f480 | 6f 72 20 22 63 68 65 63 6b 62 6f 78 22 2e 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 43 61 6e | or."checkbox".....*..........Can |
17f4a0 | 20 62 65 20 6e 75 6c 6c 20 28 6e 6f 2d 74 79 70 65 29 2e 0a 20 20 20 2a 20 20 20 20 20 20 20 20 | .be.null.(no-type).....*........ |
17f4c0 | 20 20 43 68 65 63 6b 62 6f 78 65 73 20 61 72 65 20 63 68 65 63 6b 65 64 20 69 66 20 74 68 65 20 | ..Checkboxes.are.checked.if.the. |
17f4e0 | 63 6f 6c 75 6d 6e 20 69 73 20 76 69 73 69 62 6c 65 2e 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 20 | column.is.visible.....*.@param.. |
17f500 | 20 70 72 6f 70 65 72 74 79 50 72 65 66 69 78 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 49 66 | .propertyPrefix....*..........If |
17f520 | 20 70 72 6f 70 65 72 74 79 50 72 65 66 69 78 20 69 73 20 6e 6f 6e 2d 6e 75 6c 6c 3a 0a 20 20 20 | .propertyPrefix.is.non-null:.... |
17f540 | 2a 20 20 20 20 20 20 20 20 20 20 70 72 6f 70 65 72 74 79 50 72 65 66 69 78 20 2b 20 63 6f 6c 75 | *..........propertyPrefix.+.colu |
17f560 | 6d 6e 20 49 44 20 2b 20 22 2e 6c 61 62 65 6c 22 20 77 69 6c 6c 20 62 65 20 75 73 65 64 20 74 6f | mn.ID.+.".label".will.be.used.to |
17f580 | 20 67 65 74 20 74 68 65 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 6c 6f 63 61 6c 69 7a 65 64 | .get.the....*..........localized |
17f5a0 | 20 6c 61 62 65 6c 20 73 74 72 69 6e 67 2e 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 70 72 6f | .label.string.....*..........pro |
17f5c0 | 70 65 72 74 79 50 72 65 66 69 78 20 2b 20 63 6f 6c 75 6d 6e 20 49 44 20 2b 20 22 2e 61 63 63 65 | pertyPrefix.+.column.ID.+.".acce |
17f5e0 | 73 73 6b 65 79 22 20 77 69 6c 6c 20 62 65 20 75 73 65 64 20 74 6f 20 67 65 74 20 74 68 65 0a 20 | sskey".will.be.used.to.get.the.. |
17f600 | 20 20 2a 20 20 20 20 20 20 20 20 20 20 6c 6f 63 61 6c 69 7a 65 64 20 61 63 63 65 73 73 6b 65 79 | ..*..........localized.accesskey |
17f620 | 2e 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 49 66 20 70 72 6f 70 65 72 74 79 50 72 65 66 69 | .....*..........If.propertyPrefi |
17f640 | 78 20 69 73 20 6e 75 6c 6c 2c 20 74 68 65 20 63 6f 6c 75 6d 6e 20 6c 61 62 65 6c 20 69 73 20 75 | x.is.null,.the.column.label.is.u |
17f660 | 73 65 64 20 61 73 20 6c 61 62 65 6c 20 61 6e 64 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 6e | sed.as.label.and....*..........n |
17f680 | 6f 20 61 63 63 65 73 73 6b 65 79 20 69 73 20 61 73 73 69 67 6e 65 64 2e 0a 20 20 20 2a 2f 0a 20 | o.accesskey.is.assigned.....*/.. |
17f6a0 | 20 66 69 6c 6c 57 69 74 68 43 6f 6c 75 6d 6e 73 3a 20 66 75 6e 63 74 69 6f 6e 20 56 4d 5f 66 69 | .fillWithColumns:.function.VM_fi |
17f6c0 | 6c 6c 57 69 74 68 43 6f 6c 75 6d 6e 73 28 65 76 65 6e 74 2c 20 73 74 61 72 74 49 44 2c 20 65 6e | llWithColumns(event,.startID,.en |
17f6e0 | 64 49 44 2c 20 74 79 70 65 2c 20 70 72 6f 70 65 72 74 79 50 72 65 66 69 78 29 20 7b 0a 20 20 20 | dID,.type,.propertyPrefix).{.... |
17f700 | 20 76 61 72 20 70 6f 70 75 70 20 3d 20 65 76 65 6e 74 2e 74 61 72 67 65 74 3b 0a 20 20 20 20 76 | .var.popup.=.event.target;.....v |
17f720 | 61 72 20 70 69 76 6f 74 20 3d 20 74 68 69 73 2e 5f 63 6c 65 61 6e 28 70 6f 70 75 70 2c 20 73 74 | ar.pivot.=.this._clean(popup,.st |
17f740 | 61 72 74 49 44 2c 20 65 6e 64 49 44 29 3b 0a 0a 20 20 20 20 2f 2f 20 49 66 20 6e 6f 20 63 6f 6c | artID,.endID);......//.If.no.col |
17f760 | 75 6d 6e 20 69 73 20 22 73 6f 72 74 2d 61 63 74 69 76 65 22 2c 20 74 68 65 20 22 55 6e 73 6f 72 | umn.is."sort-active",.the."Unsor |
17f780 | 74 65 64 22 20 69 74 65 6d 20 6e 65 65 64 73 20 74 6f 20 62 65 20 63 68 65 63 6b 65 64 2c 0a 20 | ted".item.needs.to.be.checked,.. |
17f7a0 | 20 20 20 2f 2f 20 73 6f 20 74 72 61 63 6b 20 77 68 65 74 68 65 72 20 6f 72 20 6e 6f 74 20 77 65 | ...//.so.track.whether.or.not.we |
17f7c0 | 20 66 69 6e 64 20 61 20 63 6f 6c 75 6d 6e 20 74 68 61 74 20 69 73 20 73 6f 72 74 2d 61 63 74 69 | .find.a.column.that.is.sort-acti |
17f7e0 | 76 65 2e 0a 20 20 20 20 76 61 72 20 69 73 53 6f 72 74 65 64 20 3d 20 66 61 6c 73 65 3b 0a 20 20 | ve......var.isSorted.=.false;... |
17f800 | 20 20 76 61 72 20 63 6f 6e 74 65 6e 74 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d | ..var.content.=.document.getElem |
17f820 | 65 6e 74 42 79 49 64 28 22 70 6c 61 63 65 43 6f 6e 74 65 6e 74 22 29 3b 0a 20 20 20 20 76 61 72 | entById("placeContent");.....var |
17f840 | 20 63 6f 6c 75 6d 6e 73 20 3d 20 63 6f 6e 74 65 6e 74 2e 63 6f 6c 75 6d 6e 73 3b 0a 20 20 20 20 | .columns.=.content.columns;..... |
17f860 | 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 63 6f 6c 75 6d 6e 73 2e 63 6f 75 6e | for.(var.i.=.0;.i.<.columns.coun |
17f880 | 74 3b 20 2b 2b 69 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 63 6f 6c 75 6d 6e 20 3d 20 63 6f 6c | t;.++i).{.......var.column.=.col |
17f8a0 | 75 6d 6e 73 2e 67 65 74 43 6f 6c 75 6d 6e 41 74 28 69 29 2e 65 6c 65 6d 65 6e 74 3b 0a 20 20 20 | umns.getColumnAt(i).element;.... |
17f8c0 | 20 20 20 76 61 72 20 6d 65 6e 75 69 74 65 6d 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 63 72 65 61 74 | ...var.menuitem.=.document.creat |
17f8e0 | 65 45 6c 65 6d 65 6e 74 28 22 6d 65 6e 75 69 74 65 6d 22 29 3b 0a 20 20 20 20 20 20 6d 65 6e 75 | eElement("menuitem");.......menu |
17f900 | 69 74 65 6d 2e 69 64 20 3d 20 22 6d 65 6e 75 63 6f 6c 5f 22 20 2b 20 63 6f 6c 75 6d 6e 2e 69 64 | item.id.=."menucol_".+.column.id |
17f920 | 3b 0a 20 20 20 20 20 20 6d 65 6e 75 69 74 65 6d 2e 63 6f 6c 75 6d 6e 20 3d 20 63 6f 6c 75 6d 6e | ;.......menuitem.column.=.column |
17f940 | 3b 0a 20 20 20 20 20 20 76 61 72 20 6c 61 62 65 6c 20 3d 20 63 6f 6c 75 6d 6e 2e 67 65 74 41 74 | ;.......var.label.=.column.getAt |
17f960 | 74 72 69 62 75 74 65 28 22 6c 61 62 65 6c 22 29 3b 0a 20 20 20 20 20 20 69 66 20 28 70 72 6f 70 | tribute("label");.......if.(prop |
17f980 | 65 72 74 79 50 72 65 66 69 78 29 20 7b 0a 20 20 20 20 20 20 20 20 76 61 72 20 6d 65 6e 75 69 74 | ertyPrefix).{.........var.menuit |
17f9a0 | 65 6d 50 72 65 66 69 78 20 3d 20 70 72 6f 70 65 72 74 79 50 72 65 66 69 78 3b 0a 20 20 20 20 20 | emPrefix.=.propertyPrefix;...... |
17f9c0 | 20 20 20 2f 2f 20 66 6f 72 20 73 74 72 69 6e 67 20 70 72 6f 70 65 72 74 69 65 73 2c 20 75 73 65 | ...//.for.string.properties,.use |
17f9e0 | 20 22 6e 61 6d 65 22 20 61 73 20 74 68 65 20 69 64 2c 20 69 6e 73 74 65 61 64 20 6f 66 20 22 74 | ."name".as.the.id,.instead.of."t |
17fa00 | 69 74 6c 65 22 0a 20 20 20 20 20 20 20 20 2f 2f 20 73 65 65 20 62 75 67 20 23 33 38 36 32 38 37 | itle".........//.see.bug.#386287 |
17fa20 | 20 66 6f 72 20 64 65 74 61 69 6c 73 0a 20 20 20 20 20 20 20 20 76 61 72 20 63 6f 6c 75 6d 6e 49 | .for.details.........var.columnI |
17fa40 | 64 20 3d 20 63 6f 6c 75 6d 6e 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 61 6e 6f 6e 69 64 22 | d.=.column.getAttribute("anonid" |
17fa60 | 29 3b 0a 20 20 20 20 20 20 20 20 6d 65 6e 75 69 74 65 6d 50 72 65 66 69 78 20 2b 3d 20 63 6f 6c | );.........menuitemPrefix.+=.col |
17fa80 | 75 6d 6e 49 64 20 3d 3d 20 22 74 69 74 6c 65 22 20 3f 20 22 6e 61 6d 65 22 20 3a 20 63 6f 6c 75 | umnId.==."title".?."name".:.colu |
17faa0 | 6d 6e 49 64 3b 0a 20 20 20 20 20 20 20 20 6c 61 62 65 6c 20 3d 20 50 6c 61 63 65 73 55 49 55 74 | mnId;.........label.=.PlacesUIUt |
17fac0 | 69 6c 73 2e 67 65 74 53 74 72 69 6e 67 28 6d 65 6e 75 69 74 65 6d 50 72 65 66 69 78 20 2b 20 22 | ils.getString(menuitemPrefix.+." |
17fae0 | 2e 6c 61 62 65 6c 22 29 3b 0a 20 20 20 20 20 20 20 20 76 61 72 20 61 63 63 65 73 73 6b 65 79 20 | .label");.........var.accesskey. |
17fb00 | 3d 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 67 65 74 53 74 72 69 6e 67 28 6d 65 6e 75 69 74 | =.PlacesUIUtils.getString(menuit |
17fb20 | 65 6d 50 72 65 66 69 78 20 2b 20 22 2e 61 63 63 65 73 73 6b 65 79 22 29 3b 0a 20 20 20 20 20 20 | emPrefix.+.".accesskey");....... |
17fb40 | 20 20 6d 65 6e 75 69 74 65 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 61 63 63 65 73 73 6b | ..menuitem.setAttribute("accessk |
17fb60 | 65 79 22 2c 20 61 63 63 65 73 73 6b 65 79 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 6d | ey",.accesskey);.......}.......m |
17fb80 | 65 6e 75 69 74 65 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 6c 61 62 65 6c 22 2c 20 6c 61 | enuitem.setAttribute("label",.la |
17fba0 | 62 65 6c 29 3b 0a 20 20 20 20 20 20 69 66 20 28 74 79 70 65 20 3d 3d 20 22 72 61 64 69 6f 22 29 | bel);.......if.(type.==."radio") |
17fbc0 | 20 7b 0a 20 20 20 20 20 20 20 20 6d 65 6e 75 69 74 65 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 | .{.........menuitem.setAttribute |
17fbe0 | 28 22 74 79 70 65 22 2c 20 22 72 61 64 69 6f 22 29 3b 0a 20 20 20 20 20 20 20 20 6d 65 6e 75 69 | ("type",."radio");.........menui |
17fc00 | 74 65 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 6e 61 6d 65 22 2c 20 22 63 6f 6c 75 6d 6e | tem.setAttribute("name",."column |
17fc20 | 73 22 29 3b 0a 20 20 20 20 20 20 20 20 2f 2f 20 54 68 69 73 20 63 6f 6c 75 6d 6e 20 69 73 20 74 | s");.........//.This.column.is.t |
17fc40 | 68 65 20 73 6f 72 74 20 6b 65 79 2e 20 49 74 73 20 69 74 65 6d 20 69 73 20 63 68 65 63 6b 65 64 | he.sort.key..Its.item.is.checked |
17fc60 | 2e 0a 20 20 20 20 20 20 20 20 69 66 20 28 63 6f 6c 75 6d 6e 2e 67 65 74 41 74 74 72 69 62 75 74 | ..........if.(column.getAttribut |
17fc80 | 65 28 22 73 6f 72 74 44 69 72 65 63 74 69 6f 6e 22 29 20 21 3d 20 22 22 29 20 7b 0a 20 20 20 20 | e("sortDirection").!=."").{..... |
17fca0 | 20 20 20 20 20 20 6d 65 6e 75 69 74 65 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 63 68 65 | ......menuitem.setAttribute("che |
17fcc0 | 63 6b 65 64 22 2c 20 22 74 72 75 65 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 69 73 53 6f 72 74 | cked",."true");...........isSort |
17fce0 | 65 64 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 7d 0a 20 20 20 | ed.=.true;.........}.......}.... |
17fd00 | 20 20 20 65 6c 73 65 20 69 66 20 28 74 79 70 65 20 3d 3d 20 22 63 68 65 63 6b 62 6f 78 22 29 20 | ...else.if.(type.==."checkbox"). |
17fd20 | 7b 0a 20 20 20 20 20 20 20 20 6d 65 6e 75 69 74 65 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 | {.........menuitem.setAttribute( |
17fd40 | 22 74 79 70 65 22 2c 20 22 63 68 65 63 6b 62 6f 78 22 29 3b 0a 20 20 20 20 20 20 20 20 2f 2f 20 | "type",."checkbox");.........//. |
17fd60 | 43 61 6e 6e 6f 74 20 75 6e 63 68 65 63 6b 20 74 68 65 20 70 72 69 6d 61 72 79 20 63 6f 6c 75 6d | Cannot.uncheck.the.primary.colum |
17fd80 | 6e 2e 0a 20 20 20 20 20 20 20 20 69 66 20 28 63 6f 6c 75 6d 6e 2e 67 65 74 41 74 74 72 69 62 75 | n..........if.(column.getAttribu |
17fda0 | 74 65 28 22 70 72 69 6d 61 72 79 22 29 20 3d 3d 20 22 74 72 75 65 22 29 0a 20 20 20 20 20 20 20 | te("primary").==."true")........ |
17fdc0 | 20 20 20 6d 65 6e 75 69 74 65 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 64 69 73 61 62 6c | ...menuitem.setAttribute("disabl |
17fde0 | 65 64 22 2c 20 22 74 72 75 65 22 29 3b 0a 20 20 20 20 20 20 20 20 2f 2f 20 49 74 65 6d 73 20 66 | ed",."true");.........//.Items.f |
17fe00 | 6f 72 20 76 69 73 69 62 6c 65 20 63 6f 6c 75 6d 6e 73 20 61 72 65 20 63 68 65 63 6b 65 64 2e 0a | or.visible.columns.are.checked.. |
17fe20 | 20 20 20 20 20 20 20 20 69 66 20 28 21 63 6f 6c 75 6d 6e 2e 68 69 64 64 65 6e 29 0a 20 20 20 20 | ........if.(!column.hidden)..... |
17fe40 | 20 20 20 20 20 20 6d 65 6e 75 69 74 65 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 63 68 65 | ......menuitem.setAttribute("che |
17fe60 | 63 6b 65 64 22 2c 20 22 74 72 75 65 22 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 69 66 | cked",."true");.......}.......if |
17fe80 | 20 28 70 69 76 6f 74 29 0a 20 20 20 20 20 20 20 20 70 6f 70 75 70 2e 69 6e 73 65 72 74 42 65 66 | .(pivot).........popup.insertBef |
17fea0 | 6f 72 65 28 6d 65 6e 75 69 74 65 6d 2c 20 70 69 76 6f 74 29 3b 0a 20 20 20 20 20 20 65 6c 73 65 | ore(menuitem,.pivot);.......else |
17fec0 | 0a 20 20 20 20 20 20 20 20 70 6f 70 75 70 2e 61 70 70 65 6e 64 43 68 69 6c 64 28 6d 65 6e 75 69 | .........popup.appendChild(menui |
17fee0 | 74 65 6d 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 65 76 65 6e 74 2e 73 74 6f 70 50 72 6f 70 61 67 | tem);.....}.....event.stopPropag |
17ff00 | 61 74 69 6f 6e 28 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 53 65 74 20 75 70 | ation();...},..../**....*.Set.up |
17ff20 | 20 74 68 65 20 63 6f 6e 74 65 6e 74 20 6f 66 20 74 68 65 20 76 69 65 77 20 6d 65 6e 75 2e 0a 20 | .the.content.of.the.view.menu... |
17ff40 | 20 20 2a 2f 0a 20 20 70 6f 70 75 6c 61 74 65 53 6f 72 74 4d 65 6e 75 3a 20 66 75 6e 63 74 69 6f | ..*/...populateSortMenu:.functio |
17ff60 | 6e 20 56 4d 5f 70 6f 70 75 6c 61 74 65 53 6f 72 74 4d 65 6e 75 28 65 76 65 6e 74 29 20 7b 0a 20 | n.VM_populateSortMenu(event).{.. |
17ff80 | 20 20 20 74 68 69 73 2e 66 69 6c 6c 57 69 74 68 43 6f 6c 75 6d 6e 73 28 65 76 65 6e 74 2c 20 22 | ...this.fillWithColumns(event,." |
17ffa0 | 76 69 65 77 55 6e 73 6f 72 74 65 64 22 2c 20 22 64 69 72 65 63 74 69 6f 6e 53 65 70 61 72 61 74 | viewUnsorted",."directionSeparat |
17ffc0 | 6f 72 22 2c 20 22 72 61 64 69 6f 22 2c 20 22 76 69 65 77 2e 73 6f 72 74 42 79 2e 22 29 3b 0a 0a | or",."radio",."view.sortBy.");.. |
17ffe0 | 20 20 20 20 76 61 72 20 73 6f 72 74 43 6f 6c 75 6d 6e 20 3d 20 74 68 69 73 2e 5f 67 65 74 53 6f | ....var.sortColumn.=.this._getSo |
180000 | 72 74 43 6f 6c 75 6d 6e 28 29 3b 0a 20 20 20 20 76 61 72 20 76 69 65 77 53 6f 72 74 41 73 63 65 | rtColumn();.....var.viewSortAsce |
180020 | 6e 64 69 6e 67 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 | nding.=.document.getElementById( |
180040 | 22 76 69 65 77 53 6f 72 74 41 73 63 65 6e 64 69 6e 67 22 29 3b 0a 20 20 20 20 76 61 72 20 76 69 | "viewSortAscending");.....var.vi |
180060 | 65 77 53 6f 72 74 44 65 73 63 65 6e 64 69 6e 67 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 | ewSortDescending.=.document.getE |
180080 | 6c 65 6d 65 6e 74 42 79 49 64 28 22 76 69 65 77 53 6f 72 74 44 65 73 63 65 6e 64 69 6e 67 22 29 | lementById("viewSortDescending") |
1800a0 | 3b 0a 20 20 20 20 2f 2f 20 57 65 20 6e 65 65 64 20 74 6f 20 72 65 6d 6f 76 65 20 61 6e 20 65 78 | ;.....//.We.need.to.remove.an.ex |
1800c0 | 69 73 74 69 6e 67 20 63 68 65 63 6b 65 64 20 61 74 74 72 69 62 75 74 65 20 62 65 63 61 75 73 65 | isting.checked.attribute.because |
1800e0 | 20 74 68 65 20 75 6e 73 6f 72 74 65 64 0a 20 20 20 20 2f 2f 20 6d 65 6e 75 20 69 74 65 6d 20 69 | .the.unsorted.....//.menu.item.i |
180100 | 73 20 6e 6f 74 20 72 65 62 75 69 6c 74 20 65 76 65 72 79 20 74 69 6d 65 20 77 65 20 6f 70 65 6e | s.not.rebuilt.every.time.we.open |
180120 | 20 74 68 65 20 6d 65 6e 75 20 6c 69 6b 65 20 74 68 65 20 6f 74 68 65 72 73 2e 0a 20 20 20 20 76 | .the.menu.like.the.others......v |
180140 | 61 72 20 76 69 65 77 55 6e 73 6f 72 74 65 64 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c | ar.viewUnsorted.=.document.getEl |
180160 | 65 6d 65 6e 74 42 79 49 64 28 22 76 69 65 77 55 6e 73 6f 72 74 65 64 22 29 3b 0a 20 20 20 20 69 | ementById("viewUnsorted");.....i |
180180 | 66 20 28 21 73 6f 72 74 43 6f 6c 75 6d 6e 29 20 7b 0a 20 20 20 20 20 20 76 69 65 77 53 6f 72 74 | f.(!sortColumn).{.......viewSort |
1801a0 | 41 73 63 65 6e 64 69 6e 67 2e 72 65 6d 6f 76 65 41 74 74 72 69 62 75 74 65 28 22 63 68 65 63 6b | Ascending.removeAttribute("check |
1801c0 | 65 64 22 29 3b 0a 20 20 20 20 20 20 76 69 65 77 53 6f 72 74 44 65 73 63 65 6e 64 69 6e 67 2e 72 | ed");.......viewSortDescending.r |
1801e0 | 65 6d 6f 76 65 41 74 74 72 69 62 75 74 65 28 22 63 68 65 63 6b 65 64 22 29 3b 0a 20 20 20 20 20 | emoveAttribute("checked");...... |
180200 | 20 76 69 65 77 55 6e 73 6f 72 74 65 64 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 63 68 65 63 | .viewUnsorted.setAttribute("chec |
180220 | 6b 65 64 22 2c 20 22 74 72 75 65 22 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 65 6c 73 65 20 69 66 | ked",."true");.....}.....else.if |
180240 | 20 28 73 6f 72 74 43 6f 6c 75 6d 6e 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 73 6f 72 74 44 | .(sortColumn.getAttribute("sortD |
180260 | 69 72 65 63 74 69 6f 6e 22 29 20 3d 3d 20 22 61 73 63 65 6e 64 69 6e 67 22 29 20 7b 0a 20 20 20 | irection").==."ascending").{.... |
180280 | 20 20 20 76 69 65 77 53 6f 72 74 41 73 63 65 6e 64 69 6e 67 2e 73 65 74 41 74 74 72 69 62 75 74 | ...viewSortAscending.setAttribut |
1802a0 | 65 28 22 63 68 65 63 6b 65 64 22 2c 20 22 74 72 75 65 22 29 3b 0a 20 20 20 20 20 20 76 69 65 77 | e("checked",."true");.......view |
1802c0 | 53 6f 72 74 44 65 73 63 65 6e 64 69 6e 67 2e 72 65 6d 6f 76 65 41 74 74 72 69 62 75 74 65 28 22 | SortDescending.removeAttribute(" |
1802e0 | 63 68 65 63 6b 65 64 22 29 3b 0a 20 20 20 20 20 20 76 69 65 77 55 6e 73 6f 72 74 65 64 2e 72 65 | checked");.......viewUnsorted.re |
180300 | 6d 6f 76 65 41 74 74 72 69 62 75 74 65 28 22 63 68 65 63 6b 65 64 22 29 3b 0a 20 20 20 20 7d 0a | moveAttribute("checked");.....}. |
180320 | 20 20 20 20 65 6c 73 65 20 69 66 20 28 73 6f 72 74 43 6f 6c 75 6d 6e 2e 67 65 74 41 74 74 72 69 | ....else.if.(sortColumn.getAttri |
180340 | 62 75 74 65 28 22 73 6f 72 74 44 69 72 65 63 74 69 6f 6e 22 29 20 3d 3d 20 22 64 65 73 63 65 6e | bute("sortDirection").==."descen |
180360 | 64 69 6e 67 22 29 20 7b 0a 20 20 20 20 20 20 76 69 65 77 53 6f 72 74 44 65 73 63 65 6e 64 69 6e | ding").{.......viewSortDescendin |
180380 | 67 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 63 68 65 63 6b 65 64 22 2c 20 22 74 72 75 65 22 | g.setAttribute("checked",."true" |
1803a0 | 29 3b 0a 20 20 20 20 20 20 76 69 65 77 53 6f 72 74 41 73 63 65 6e 64 69 6e 67 2e 72 65 6d 6f 76 | );.......viewSortAscending.remov |
1803c0 | 65 41 74 74 72 69 62 75 74 65 28 22 63 68 65 63 6b 65 64 22 29 3b 0a 20 20 20 20 20 20 76 69 65 | eAttribute("checked");.......vie |
1803e0 | 77 55 6e 73 6f 72 74 65 64 2e 72 65 6d 6f 76 65 41 74 74 72 69 62 75 74 65 28 22 63 68 65 63 6b | wUnsorted.removeAttribute("check |
180400 | 65 64 22 29 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 53 68 6f | ed");.....}...},..../**....*.Sho |
180420 | 77 73 2f 48 69 64 65 73 20 61 20 74 72 65 65 20 63 6f 6c 75 6d 6e 2e 0a 20 20 20 2a 20 40 70 61 | ws/Hides.a.tree.column.....*.@pa |
180440 | 72 61 6d 20 20 20 65 6c 65 6d 65 6e 74 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 54 68 65 20 | ram...element....*..........The. |
180460 | 6d 65 6e 75 69 74 65 6d 20 65 6c 65 6d 65 6e 74 20 66 6f 72 20 74 68 65 20 63 6f 6c 75 6d 6e 0a | menuitem.element.for.the.column. |
180480 | 20 20 20 2a 2f 0a 20 20 73 68 6f 77 48 69 64 65 43 6f 6c 75 6d 6e 3a 20 66 75 6e 63 74 69 6f 6e | ...*/...showHideColumn:.function |
1804a0 | 20 56 4d 5f 73 68 6f 77 48 69 64 65 43 6f 6c 75 6d 6e 28 65 6c 65 6d 65 6e 74 29 20 7b 0a 20 20 | .VM_showHideColumn(element).{... |
1804c0 | 20 20 76 61 72 20 63 6f 6c 75 6d 6e 20 3d 20 65 6c 65 6d 65 6e 74 2e 63 6f 6c 75 6d 6e 3b 0a 0a | ..var.column.=.element.column;.. |
1804e0 | 20 20 20 20 76 61 72 20 73 70 6c 69 74 74 65 72 20 3d 20 63 6f 6c 75 6d 6e 2e 6e 65 78 74 53 69 | ....var.splitter.=.column.nextSi |
180500 | 62 6c 69 6e 67 3b 0a 20 20 20 20 69 66 20 28 73 70 6c 69 74 74 65 72 20 26 26 20 73 70 6c 69 74 | bling;.....if.(splitter.&&.split |
180520 | 74 65 72 2e 6c 6f 63 61 6c 4e 61 6d 65 20 21 3d 20 22 73 70 6c 69 74 74 65 72 22 29 0a 20 20 20 | ter.localName.!=."splitter").... |
180540 | 20 20 20 73 70 6c 69 74 74 65 72 20 3d 20 6e 75 6c 6c 3b 0a 0a 20 20 20 20 69 66 20 28 65 6c 65 | ...splitter.=.null;......if.(ele |
180560 | 6d 65 6e 74 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 63 68 65 63 6b 65 64 22 29 20 3d 3d 20 | ment.getAttribute("checked").==. |
180580 | 22 74 72 75 65 22 29 20 7b 0a 20 20 20 20 20 20 63 6f 6c 75 6d 6e 2e 73 65 74 41 74 74 72 69 62 | "true").{.......column.setAttrib |
1805a0 | 75 74 65 28 22 68 69 64 64 65 6e 22 2c 20 22 66 61 6c 73 65 22 29 3b 0a 20 20 20 20 20 20 69 66 | ute("hidden",."false");.......if |
1805c0 | 20 28 73 70 6c 69 74 74 65 72 29 0a 20 20 20 20 20 20 20 20 73 70 6c 69 74 74 65 72 2e 72 65 6d | .(splitter).........splitter.rem |
1805e0 | 6f 76 65 41 74 74 72 69 62 75 74 65 28 22 68 69 64 64 65 6e 22 29 3b 0a 20 20 20 20 7d 0a 20 20 | oveAttribute("hidden");.....}... |
180600 | 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 63 6f 6c 75 6d 6e 2e 73 65 74 41 74 74 72 69 62 75 | ..else.{.......column.setAttribu |
180620 | 74 65 28 22 68 69 64 64 65 6e 22 2c 20 22 74 72 75 65 22 29 3b 0a 20 20 20 20 20 20 69 66 20 28 | te("hidden",."true");.......if.( |
180640 | 73 70 6c 69 74 74 65 72 29 0a 20 20 20 20 20 20 20 20 73 70 6c 69 74 74 65 72 2e 73 65 74 41 74 | splitter).........splitter.setAt |
180660 | 74 72 69 62 75 74 65 28 22 68 69 64 64 65 6e 22 2c 20 22 74 72 75 65 22 29 3b 0a 20 20 20 20 7d | tribute("hidden",."true");.....} |
180680 | 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 47 65 74 73 20 74 68 65 20 6c 61 73 74 20 | ...},..../**....*.Gets.the.last. |
1806a0 | 63 6f 6c 75 6d 6e 20 74 68 61 74 20 77 61 73 20 73 6f 72 74 65 64 2e 0a 20 20 20 2a 20 40 72 65 | column.that.was.sorted.....*.@re |
1806c0 | 74 75 72 6e 73 20 20 74 68 65 20 63 75 72 72 65 6e 74 6c 79 20 73 6f 72 74 65 64 20 63 6f 6c 75 | turns..the.currently.sorted.colu |
1806e0 | 6d 6e 2c 20 6e 75 6c 6c 20 69 66 20 74 68 65 72 65 20 69 73 20 6e 6f 20 73 6f 72 74 65 64 20 63 | mn,.null.if.there.is.no.sorted.c |
180700 | 6f 6c 75 6d 6e 2e 0a 20 20 20 2a 2f 0a 20 20 5f 67 65 74 53 6f 72 74 43 6f 6c 75 6d 6e 3a 20 66 | olumn.....*/..._getSortColumn:.f |
180720 | 75 6e 63 74 69 6f 6e 20 56 4d 5f 5f 67 65 74 53 6f 72 74 43 6f 6c 75 6d 6e 28 29 20 7b 0a 20 20 | unction.VM__getSortColumn().{... |
180740 | 20 20 76 61 72 20 63 6f 6e 74 65 6e 74 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d | ..var.content.=.document.getElem |
180760 | 65 6e 74 42 79 49 64 28 22 70 6c 61 63 65 43 6f 6e 74 65 6e 74 22 29 3b 0a 20 20 20 20 76 61 72 | entById("placeContent");.....var |
180780 | 20 63 6f 6c 73 20 3d 20 63 6f 6e 74 65 6e 74 2e 63 6f 6c 75 6d 6e 73 3b 0a 20 20 20 20 66 6f 72 | .cols.=.content.columns;.....for |
1807a0 | 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 63 6f 6c 73 2e 63 6f 75 6e 74 3b 20 2b 2b 69 | .(var.i.=.0;.i.<.cols.count;.++i |
1807c0 | 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 63 6f 6c 75 6d 6e 20 3d 20 63 6f 6c 73 2e 67 65 74 43 | ).{.......var.column.=.cols.getC |
1807e0 | 6f 6c 75 6d 6e 41 74 28 69 29 2e 65 6c 65 6d 65 6e 74 3b 0a 20 20 20 20 20 20 76 61 72 20 73 6f | olumnAt(i).element;.......var.so |
180800 | 72 74 44 69 72 65 63 74 69 6f 6e 20 3d 20 63 6f 6c 75 6d 6e 2e 67 65 74 41 74 74 72 69 62 75 74 | rtDirection.=.column.getAttribut |
180820 | 65 28 22 73 6f 72 74 44 69 72 65 63 74 69 6f 6e 22 29 3b 0a 20 20 20 20 20 20 69 66 20 28 73 6f | e("sortDirection");.......if.(so |
180840 | 72 74 44 69 72 65 63 74 69 6f 6e 20 3d 3d 20 22 61 73 63 65 6e 64 69 6e 67 22 20 7c 7c 20 73 6f | rtDirection.==."ascending".||.so |
180860 | 72 74 44 69 72 65 63 74 69 6f 6e 20 3d 3d 20 22 64 65 73 63 65 6e 64 69 6e 67 22 29 0a 20 20 20 | rtDirection.==."descending").... |
180880 | 20 20 20 20 20 72 65 74 75 72 6e 20 63 6f 6c 75 6d 6e 3b 0a 20 20 20 20 7d 0a 20 20 20 20 72 65 | .....return.column;.....}.....re |
1808a0 | 74 75 72 6e 20 6e 75 6c 6c 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 53 6f 72 74 | turn.null;...},..../**....*.Sort |
1808c0 | 73 20 74 68 65 20 76 69 65 77 20 62 79 20 74 68 65 20 73 70 65 63 69 66 69 65 64 20 63 6f 6c 75 | s.the.view.by.the.specified.colu |
1808e0 | 6d 6e 2e 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 20 20 61 43 6f 6c 75 6d 6e 0a 20 20 20 2a 20 20 | mn.....*.@param...aColumn....*.. |
180900 | 20 20 20 20 20 20 20 20 54 68 65 20 63 6f 6c 75 6d 20 74 68 61 74 20 69 73 20 74 68 65 20 73 6f | ........The.colum.that.is.the.so |
180920 | 72 74 20 6b 65 79 2e 20 43 61 6e 20 62 65 20 6e 75 6c 6c 20 2d 20 74 68 65 0a 20 20 20 2a 20 20 | rt.key..Can.be.null.-.the....*.. |
180940 | 20 20 20 20 20 20 20 20 63 75 72 72 65 6e 74 20 73 6f 72 74 20 63 6f 6c 75 6d 6e 20 6f 72 20 74 | ........current.sort.column.or.t |
180960 | 68 65 20 74 69 74 6c 65 20 63 6f 6c 75 6d 6e 20 77 69 6c 6c 20 62 65 20 75 73 65 64 2e 0a 20 20 | he.title.column.will.be.used.... |
180980 | 20 2a 20 40 70 61 72 61 6d 20 20 20 61 44 69 72 65 63 74 69 6f 6e 0a 20 20 20 2a 20 20 20 20 20 | .*.@param...aDirection....*..... |
1809a0 | 20 20 20 20 20 54 68 65 20 64 69 72 65 63 74 69 6f 6e 20 74 6f 20 73 6f 72 74 20 2d 20 22 61 73 | .....The.direction.to.sort.-."as |
1809c0 | 63 65 6e 64 69 6e 67 22 20 6f 72 20 22 64 65 73 63 65 6e 64 69 6e 67 22 2e 0a 20 20 20 2a 20 20 | cending".or."descending".....*.. |
1809e0 | 20 20 20 20 20 20 20 20 43 61 6e 20 62 65 20 6e 75 6c 6c 20 2d 20 74 68 65 20 6c 61 73 74 20 64 | ........Can.be.null.-.the.last.d |
180a00 | 69 72 65 63 74 69 6f 6e 20 6f 72 20 64 65 73 63 65 6e 64 69 6e 67 20 77 69 6c 6c 20 62 65 20 75 | irection.or.descending.will.be.u |
180a20 | 73 65 64 2e 0a 20 20 20 2a 0a 20 20 20 2a 20 49 66 20 62 6f 74 68 20 61 43 6f 6c 75 6d 6e 49 44 | sed.....*....*.If.both.aColumnID |
180a40 | 20 61 6e 64 20 61 44 69 72 65 63 74 69 6f 6e 20 61 72 65 20 6e 75 6c 6c 2c 20 74 68 65 20 76 69 | .and.aDirection.are.null,.the.vi |
180a60 | 65 77 20 77 69 6c 6c 20 62 65 20 75 6e 73 6f 72 74 65 64 2e 0a 20 20 20 2a 2f 0a 20 20 73 65 74 | ew.will.be.unsorted.....*/...set |
180a80 | 53 6f 72 74 43 6f 6c 75 6d 6e 3a 20 66 75 6e 63 74 69 6f 6e 20 56 4d 5f 73 65 74 53 6f 72 74 43 | SortColumn:.function.VM_setSortC |
180aa0 | 6f 6c 75 6d 6e 28 61 43 6f 6c 75 6d 6e 2c 20 61 44 69 72 65 63 74 69 6f 6e 29 20 7b 0a 20 20 20 | olumn(aColumn,.aDirection).{.... |
180ac0 | 20 76 61 72 20 72 65 73 75 6c 74 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e | .var.result.=.document.getElemen |
180ae0 | 74 42 79 49 64 28 22 70 6c 61 63 65 43 6f 6e 74 65 6e 74 22 29 2e 67 65 74 52 65 73 75 6c 74 28 | tById("placeContent").getResult( |
180b00 | 29 3b 0a 20 20 20 20 69 66 20 28 21 61 43 6f 6c 75 6d 6e 20 26 26 20 21 61 44 69 72 65 63 74 69 | );.....if.(!aColumn.&&.!aDirecti |
180b20 | 6f 6e 29 20 7b 0a 20 20 20 20 20 20 72 65 73 75 6c 74 2e 73 6f 72 74 69 6e 67 4d 6f 64 65 20 3d | on).{.......result.sortingMode.= |
180b40 | 20 43 69 2e 6e 73 49 4e 61 76 48 69 73 74 6f 72 79 51 75 65 72 79 4f 70 74 69 6f 6e 73 2e 53 4f | .Ci.nsINavHistoryQueryOptions.SO |
180b60 | 52 54 5f 42 59 5f 4e 4f 4e 45 3b 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 20 20 7d 0a | RT_BY_NONE;.......return;.....}. |
180b80 | 0a 20 20 20 20 76 61 72 20 63 6f 6c 75 6d 6e 49 64 3b 0a 20 20 20 20 69 66 20 28 61 43 6f 6c 75 | .....var.columnId;.....if.(aColu |
180ba0 | 6d 6e 29 20 7b 0a 20 20 20 20 20 20 63 6f 6c 75 6d 6e 49 64 20 3d 20 61 43 6f 6c 75 6d 6e 2e 67 | mn).{.......columnId.=.aColumn.g |
180bc0 | 65 74 41 74 74 72 69 62 75 74 65 28 22 61 6e 6f 6e 69 64 22 29 3b 0a 20 20 20 20 20 20 69 66 20 | etAttribute("anonid");.......if. |
180be0 | 28 21 61 44 69 72 65 63 74 69 6f 6e 29 20 7b 0a 20 20 20 20 20 20 20 20 76 61 72 20 73 6f 72 74 | (!aDirection).{.........var.sort |
180c00 | 43 6f 6c 75 6d 6e 20 3d 20 74 68 69 73 2e 5f 67 65 74 53 6f 72 74 43 6f 6c 75 6d 6e 28 29 3b 0a | Column.=.this._getSortColumn();. |
180c20 | 20 20 20 20 20 20 20 20 69 66 20 28 73 6f 72 74 43 6f 6c 75 6d 6e 29 0a 20 20 20 20 20 20 20 20 | ........if.(sortColumn)......... |
180c40 | 20 20 61 44 69 72 65 63 74 69 6f 6e 20 3d 20 73 6f 72 74 43 6f 6c 75 6d 6e 2e 67 65 74 41 74 74 | ..aDirection.=.sortColumn.getAtt |
180c60 | 72 69 62 75 74 65 28 22 73 6f 72 74 44 69 72 65 63 74 69 6f 6e 22 29 3b 0a 20 20 20 20 20 20 7d | ribute("sortDirection");.......} |
180c80 | 0a 20 20 20 20 7d 0a 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 76 61 72 20 73 6f 72 74 | .....}.....else.{.......var.sort |
180ca0 | 43 6f 6c 75 6d 6e 20 3d 20 74 68 69 73 2e 5f 67 65 74 53 6f 72 74 43 6f 6c 75 6d 6e 28 29 3b 0a | Column.=.this._getSortColumn();. |
180cc0 | 20 20 20 20 20 20 63 6f 6c 75 6d 6e 49 64 20 3d 20 73 6f 72 74 43 6f 6c 75 6d 6e 20 3f 20 73 6f | ......columnId.=.sortColumn.?.so |
180ce0 | 72 74 43 6f 6c 75 6d 6e 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 61 6e 6f 6e 69 64 22 29 20 | rtColumn.getAttribute("anonid"). |
180d00 | 3a 20 22 74 69 74 6c 65 22 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 2f 2f 20 54 68 69 73 20 6d 61 | :."title";.....}......//.This.ma |
180d20 | 70 73 20 74 68 65 20 70 6f 73 73 69 62 6c 65 20 76 61 6c 75 65 73 20 6f 66 20 63 6f 6c 75 6d 6e | ps.the.possible.values.of.column |
180d40 | 49 64 20 28 69 2e 65 2e 2c 20 61 6e 6f 6e 69 64 27 73 20 6f 66 20 74 72 65 65 63 6f 6c 73 20 69 | Id.(i.e.,.anonid's.of.treecols.i |
180d60 | 6e 0a 20 20 20 20 2f 2f 20 70 6c 61 63 65 43 6f 6e 74 65 6e 74 29 20 74 6f 20 74 68 65 20 64 65 | n.....//.placeContent).to.the.de |
180d80 | 66 61 75 6c 74 20 73 6f 72 74 69 6e 67 4d 6f 64 65 20 61 6e 64 20 73 6f 72 74 69 6e 67 41 6e 6e | fault.sortingMode.and.sortingAnn |
180da0 | 6f 74 61 74 69 6f 6e 20 76 61 6c 75 65 73 20 66 6f 72 0a 20 20 20 20 2f 2f 20 65 61 63 68 20 63 | otation.values.for.....//.each.c |
180dc0 | 6f 6c 75 6d 6e 2e 0a 20 20 20 20 2f 2f 20 20 20 6b 65 79 3a 20 20 53 6f 72 74 20 6b 65 79 20 69 | olumn......//...key:..Sort.key.i |
180de0 | 6e 20 74 68 65 20 6e 61 6d 65 20 6f 66 20 6f 6e 65 20 6f 66 20 74 68 65 0a 20 20 20 20 2f 2f 20 | n.the.name.of.one.of.the.....//. |
180e00 | 20 20 20 20 20 20 20 20 6e 73 49 4e 61 76 48 69 73 74 6f 72 79 51 75 65 72 79 4f 70 74 69 6f 6e | ........nsINavHistoryQueryOption |
180e20 | 73 2e 53 4f 52 54 5f 42 59 5f 2a 20 63 6f 6e 73 74 61 6e 74 73 0a 20 20 20 20 2f 2f 20 20 20 64 | s.SORT_BY_*.constants.....//...d |
180e40 | 69 72 3a 20 20 44 65 66 61 75 6c 74 20 73 6f 72 74 20 64 69 72 65 63 74 69 6f 6e 20 74 6f 20 75 | ir:..Default.sort.direction.to.u |
180e60 | 73 65 20 69 66 20 6e 6f 6e 65 20 68 61 73 20 62 65 65 6e 20 73 70 65 63 69 66 69 65 64 0a 20 20 | se.if.none.has.been.specified... |
180e80 | 20 20 2f 2f 20 20 20 61 6e 6e 6f 3a 20 54 68 65 20 61 6e 6e 6f 74 61 74 69 6f 6e 20 74 6f 20 73 | ..//...anno:.The.annotation.to.s |
180ea0 | 6f 72 74 20 62 79 2c 20 69 66 20 6b 65 79 20 69 73 20 22 41 4e 4e 4f 54 41 54 49 4f 4e 22 0a 20 | ort.by,.if.key.is."ANNOTATION".. |
180ec0 | 20 20 20 76 61 72 20 63 6f 6c 4c 6f 6f 6b 75 70 54 61 62 6c 65 20 3d 20 7b 0a 20 20 20 20 20 20 | ...var.colLookupTable.=.{....... |
180ee0 | 74 69 74 6c 65 3a 20 20 20 20 20 20 20 20 7b 20 6b 65 79 3a 20 22 54 49 54 4c 45 22 2c 20 20 20 | title:........{.key:."TITLE",... |
180f00 | 20 20 20 20 20 64 69 72 3a 20 22 61 73 63 65 6e 64 69 6e 67 22 20 20 7d 2c 0a 20 20 20 20 20 20 | .....dir:."ascending"..},....... |
180f20 | 74 61 67 73 3a 20 20 20 20 20 20 20 20 20 7b 20 6b 65 79 3a 20 22 54 41 47 53 22 2c 20 20 20 20 | tags:.........{.key:."TAGS",.... |
180f40 | 20 20 20 20 20 64 69 72 3a 20 22 61 73 63 65 6e 64 69 6e 67 22 20 20 7d 2c 0a 20 20 20 20 20 20 | .....dir:."ascending"..},....... |
180f60 | 75 72 6c 3a 20 20 20 20 20 20 20 20 20 20 7b 20 6b 65 79 3a 20 22 55 52 49 22 2c 20 20 20 20 20 | url:..........{.key:."URI",..... |
180f80 | 20 20 20 20 20 64 69 72 3a 20 22 61 73 63 65 6e 64 69 6e 67 22 20 20 7d 2c 0a 20 20 20 20 20 20 | .....dir:."ascending"..},....... |
180fa0 | 64 61 74 65 3a 20 20 20 20 20 20 20 20 20 7b 20 6b 65 79 3a 20 22 44 41 54 45 22 2c 20 20 20 20 | date:.........{.key:."DATE",.... |
180fc0 | 20 20 20 20 20 64 69 72 3a 20 22 64 65 73 63 65 6e 64 69 6e 67 22 20 7d 2c 0a 20 20 20 20 20 20 | .....dir:."descending".},....... |
180fe0 | 76 69 73 69 74 43 6f 75 6e 74 3a 20 20 20 7b 20 6b 65 79 3a 20 22 56 49 53 49 54 43 4f 55 4e 54 | visitCount:...{.key:."VISITCOUNT |
181000 | 22 2c 20 20 20 64 69 72 3a 20 22 64 65 73 63 65 6e 64 69 6e 67 22 20 7d 2c 0a 20 20 20 20 20 20 | ",...dir:."descending".},....... |
181020 | 6b 65 79 77 6f 72 64 3a 20 20 20 20 20 20 7b 20 6b 65 79 3a 20 22 4b 45 59 57 4f 52 44 22 2c 20 | keyword:......{.key:."KEYWORD",. |
181040 | 20 20 20 20 20 64 69 72 3a 20 22 61 73 63 65 6e 64 69 6e 67 22 20 20 7d 2c 0a 20 20 20 20 20 20 | .....dir:."ascending"..},....... |
181060 | 64 61 74 65 41 64 64 65 64 3a 20 20 20 20 7b 20 6b 65 79 3a 20 22 44 41 54 45 41 44 44 45 44 22 | dateAdded:....{.key:."DATEADDED" |
181080 | 2c 20 20 20 20 64 69 72 3a 20 22 64 65 73 63 65 6e 64 69 6e 67 22 20 7d 2c 0a 20 20 20 20 20 20 | ,....dir:."descending".},....... |
1810a0 | 6c 61 73 74 4d 6f 64 69 66 69 65 64 3a 20 7b 20 6b 65 79 3a 20 22 4c 41 53 54 4d 4f 44 49 46 49 | lastModified:.{.key:."LASTMODIFI |
1810c0 | 45 44 22 2c 20 64 69 72 3a 20 22 64 65 73 63 65 6e 64 69 6e 67 22 20 7d 2c 0a 20 20 20 20 20 20 | ED",.dir:."descending".},....... |
1810e0 | 64 65 73 63 72 69 70 74 69 6f 6e 3a 20 20 7b 20 6b 65 79 3a 20 22 41 4e 4e 4f 54 41 54 49 4f 4e | description:..{.key:."ANNOTATION |
181100 | 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 69 72 3a 20 22 61 | ",.......................dir:."a |
181120 | 73 63 65 6e 64 69 6e 67 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | scending",...................... |
181140 | 20 61 6e 6e 6f 3a 20 44 45 53 43 52 49 50 54 49 4f 4e 5f 41 4e 4e 4f 20 7d 0a 20 20 20 20 7d 3b | .anno:.DESCRIPTION_ANNO.}.....}; |
181160 | 0a 0a 20 20 20 20 2f 2f 20 4d 61 6b 65 20 73 75 72 65 20 77 65 20 68 61 76 65 20 61 20 76 61 6c | ......//.Make.sure.we.have.a.val |
181180 | 69 64 20 63 6f 6c 75 6d 6e 2e 0a 20 20 20 20 69 66 20 28 21 63 6f 6c 4c 6f 6f 6b 75 70 54 61 62 | id.column......if.(!colLookupTab |
1811a0 | 6c 65 2e 68 61 73 4f 77 6e 50 72 6f 70 65 72 74 79 28 63 6f 6c 75 6d 6e 49 64 29 29 0a 20 20 20 | le.hasOwnProperty(columnId)).... |
1811c0 | 20 20 20 74 68 72 6f 77 28 22 49 6e 76 61 6c 69 64 20 63 6f 6c 75 6d 6e 22 29 3b 0a 0a 20 20 20 | ...throw("Invalid.column");..... |
1811e0 | 20 2f 2f 20 55 73 65 20 61 20 64 65 66 61 75 6c 74 20 73 6f 72 74 20 64 69 72 65 63 74 69 6f 6e | .//.Use.a.default.sort.direction |
181200 | 20 69 66 20 6e 6f 6e 65 20 68 61 73 20 62 65 65 6e 20 73 70 65 63 69 66 69 65 64 2e 20 20 49 66 | .if.none.has.been.specified...If |
181220 | 20 61 44 69 72 65 63 74 69 6f 6e 0a 20 20 20 20 2f 2f 20 69 73 20 69 6e 76 61 6c 69 64 2c 20 72 | .aDirection.....//.is.invalid,.r |
181240 | 65 73 75 6c 74 2e 73 6f 72 74 69 6e 67 4d 6f 64 65 20 77 69 6c 6c 20 62 65 20 75 6e 64 65 66 69 | esult.sortingMode.will.be.undefi |
181260 | 6e 65 64 2c 20 77 68 69 63 68 20 68 61 73 20 74 68 65 20 65 66 66 65 63 74 0a 20 20 20 20 2f 2f | ned,.which.has.the.effect.....// |
181280 | 20 6f 66 20 75 6e 73 6f 72 74 69 6e 67 20 74 68 65 20 74 72 65 65 2e 0a 20 20 20 20 61 44 69 72 | .of.unsorting.the.tree......aDir |
1812a0 | 65 63 74 69 6f 6e 20 3d 20 28 61 44 69 72 65 63 74 69 6f 6e 20 7c 7c 20 63 6f 6c 4c 6f 6f 6b 75 | ection.=.(aDirection.||.colLooku |
1812c0 | 70 54 61 62 6c 65 5b 63 6f 6c 75 6d 6e 49 64 5d 2e 64 69 72 29 2e 74 6f 55 70 70 65 72 43 61 73 | pTable[columnId].dir).toUpperCas |
1812e0 | 65 28 29 3b 0a 0a 20 20 20 20 76 61 72 20 73 6f 72 74 43 6f 6e 73 74 20 3d 20 22 53 4f 52 54 5f | e();......var.sortConst.=."SORT_ |
181300 | 42 59 5f 22 20 2b 20 63 6f 6c 4c 6f 6f 6b 75 70 54 61 62 6c 65 5b 63 6f 6c 75 6d 6e 49 64 5d 2e | BY_".+.colLookupTable[columnId]. |
181320 | 6b 65 79 20 2b 20 22 5f 22 20 2b 20 61 44 69 72 65 63 74 69 6f 6e 3b 0a 20 20 20 20 72 65 73 75 | key.+."_".+.aDirection;.....resu |
181340 | 6c 74 2e 73 6f 72 74 69 6e 67 41 6e 6e 6f 74 61 74 69 6f 6e 20 3d 20 63 6f 6c 4c 6f 6f 6b 75 70 | lt.sortingAnnotation.=.colLookup |
181360 | 54 61 62 6c 65 5b 63 6f 6c 75 6d 6e 49 64 5d 2e 61 6e 6e 6f 20 7c 7c 20 22 22 3b 0a 20 20 20 20 | Table[columnId].anno.||."";..... |
181380 | 72 65 73 75 6c 74 2e 73 6f 72 74 69 6e 67 4d 6f 64 65 20 3d 20 43 69 2e 6e 73 49 4e 61 76 48 69 | result.sortingMode.=.Ci.nsINavHi |
1813a0 | 73 74 6f 72 79 51 75 65 72 79 4f 70 74 69 6f 6e 73 5b 73 6f 72 74 43 6f 6e 73 74 5d 3b 0a 20 20 | storyQueryOptions[sortConst];... |
1813c0 | 7d 0a 7d 3b 0a 50 4b 03 04 14 00 00 00 00 00 f5 4b 18 3b 1c 10 d4 ca 14 06 00 00 14 06 00 00 21 | }.};.PK.........K.;............! |
1813e0 | 00 00 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 6c 61 63 65 73 2f 70 6c 61 63 65 73 | ...content/browser/places/places |
181400 | 2e 78 6d 6c 3c 3f 78 6d 6c 20 76 65 72 73 69 6f 6e 3d 22 31 2e 30 22 3f 3e 0a 0a 3c 21 44 4f 43 | .xml<?xml.version="1.0"?>..<!DOC |
181420 | 54 59 50 45 20 62 69 6e 64 69 6e 67 73 20 5b 0a 3c 21 45 4e 54 49 54 59 20 25 20 67 6c 6f 62 61 | TYPE.bindings.[.<!ENTITY.%.globa |
181440 | 6c 44 54 44 20 53 59 53 54 45 4d 20 22 63 68 72 6f 6d 65 3a 2f 2f 67 6c 6f 62 61 6c 2f 6c 6f 63 | lDTD.SYSTEM."chrome://global/loc |
181460 | 61 6c 65 2f 67 6c 6f 62 61 6c 2e 64 74 64 22 3e 0a 25 67 6c 6f 62 61 6c 44 54 44 3b 0a 5d 3e 0a | ale/global.dtd">.%globalDTD;.]>. |
181480 | 0a 3c 62 69 6e 64 69 6e 67 73 20 69 64 3d 22 70 6c 61 63 65 73 42 69 6e 64 69 6e 67 73 22 0a 20 | .<bindings.id="placesBindings".. |
1814a0 | 20 20 20 20 20 20 20 20 20 78 6d 6c 6e 73 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c | .........xmlns="http://www.mozil |
1814c0 | 6c 61 2e 6f 72 67 2f 78 62 6c 22 0a 20 20 20 20 20 20 20 20 20 20 78 6d 6c 6e 73 3a 78 62 6c 3d | la.org/xbl"...........xmlns:xbl= |
1814e0 | 22 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 78 62 6c 22 0a 20 20 20 | "http://www.mozilla.org/xbl".... |
181500 | 20 20 20 20 20 20 20 78 6d 6c 6e 73 3a 68 74 6d 6c 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e 77 33 | .......xmlns:html="http://www.w3 |
181520 | 2e 6f 72 67 2f 31 39 39 39 2f 78 68 74 6d 6c 22 0a 20 20 20 20 20 20 20 20 20 20 78 6d 6c 6e 73 | .org/1999/xhtml"...........xmlns |
181540 | 3a 78 75 6c 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6b 65 79 | :xul="http://www.mozilla.org/key |
181560 | 6d 61 73 74 65 72 2f 67 61 74 65 6b 65 65 70 65 72 2f 74 68 65 72 65 2e 69 73 2e 6f 6e 6c 79 2e | master/gatekeeper/there.is.only. |
181580 | 78 75 6c 22 3e 0a 20 20 0a 20 20 3c 62 69 6e 64 69 6e 67 20 69 64 3d 22 63 6f 6d 6d 61 6e 64 2d | xul">......<binding.id="command- |
1815a0 | 62 75 74 74 6f 6e 22 20 65 78 74 65 6e 64 73 3d 22 63 68 72 6f 6d 65 3a 2f 2f 67 6c 6f 62 61 6c | button".extends="chrome://global |
1815c0 | 2f 63 6f 6e 74 65 6e 74 2f 62 69 6e 64 69 6e 67 73 2f 62 75 74 74 6f 6e 2e 78 6d 6c 23 62 75 74 | /content/bindings/button.xml#but |
1815e0 | 74 6f 6e 22 3e 0a 20 20 20 20 3c 69 6d 70 6c 65 6d 65 6e 74 61 74 69 6f 6e 3e 0a 20 20 20 20 20 | ton">.....<implementation>...... |
181600 | 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 75 70 64 61 74 65 41 63 74 69 76 65 56 69 65 77 22 | .<method.name="updateActiveView" |
181620 | 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 3c 21 5b 43 44 41 54 41 5b 20 0a 20 20 20 20 20 | >.........<body><![CDATA[....... |
181640 | 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 68 61 73 41 74 74 72 69 62 75 74 65 28 22 76 69 65 77 | .....if.(this.hasAttribute("view |
181660 | 22 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 43 6f 6e 74 72 6f 6c 6c 65 72 | ")).............PlacesController |
181680 | 2e 61 63 74 69 76 65 56 69 65 77 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e | .activeView.=.document.getElemen |
1816a0 | 74 42 79 49 64 28 74 68 69 73 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 76 69 65 77 22 29 29 | tById(this.getAttribute("view")) |
1816c0 | 3b 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 | ;.........]]></body>.......</met |
1816e0 | 68 6f 64 3e 0a 20 20 20 20 3c 2f 69 6d 70 6c 65 6d 65 6e 74 61 74 69 6f 6e 3e 0a 20 20 20 20 3c | hod>.....</implementation>.....< |
181700 | 68 61 6e 64 6c 65 72 73 3e 0a 20 20 20 20 20 20 3c 68 61 6e 64 6c 65 72 20 65 76 65 6e 74 3d 22 | handlers>.......<handler.event=" |
181720 | 63 6c 69 63 6b 22 20 62 75 74 74 6f 6e 3d 22 30 22 20 61 63 74 69 6f 6e 3d 22 74 68 69 73 2e 75 | click".button="0".action="this.u |
181740 | 70 64 61 74 65 41 63 74 69 76 65 56 69 65 77 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 68 61 6e | pdateActiveView();"/>.......<han |
181760 | 64 6c 65 72 20 65 76 65 6e 74 3d 22 6b 65 79 70 72 65 73 73 22 20 6b 65 79 63 6f 64 65 3d 22 56 | dler.event="keypress".keycode="V |
181780 | 4b 5f 53 50 41 43 45 22 20 61 63 74 69 6f 6e 3d 22 74 68 69 73 2e 75 70 64 61 74 65 41 63 74 69 | K_SPACE".action="this.updateActi |
1817a0 | 76 65 56 69 65 77 28 29 3b 22 2f 3e 0a 20 20 20 20 3c 2f 68 61 6e 64 6c 65 72 73 3e 0a 20 20 3c | veView();"/>.....</handlers>...< |
1817c0 | 2f 62 69 6e 64 69 6e 67 3e 0a 20 20 0a 20 20 3c 62 69 6e 64 69 6e 67 20 69 64 3d 22 66 69 6c 74 | /binding>......<binding.id="filt |
1817e0 | 65 72 2d 62 75 74 74 6f 6e 22 20 65 78 74 65 6e 64 73 3d 22 63 68 72 6f 6d 65 3a 2f 2f 67 6c 6f | er-button".extends="chrome://glo |
181800 | 62 61 6c 2f 63 6f 6e 74 65 6e 74 2f 62 69 6e 64 69 6e 67 73 2f 62 75 74 74 6f 6e 2e 78 6d 6c 23 | bal/content/bindings/button.xml# |
181820 | 6d 65 6e 75 22 3e 0a 20 20 20 20 3c 63 6f 6e 74 65 6e 74 3e 0a 20 20 20 20 20 20 3c 78 75 6c 3a | menu">.....<content>.......<xul: |
181840 | 73 74 61 63 6b 20 66 6c 65 78 3d 22 31 22 20 63 6c 61 73 73 3d 22 62 6f 78 2d 69 6e 68 65 72 69 | stack.flex="1".class="box-inheri |
181860 | 74 20 62 75 74 74 6f 6e 2d 62 6f 78 22 3e 0a 20 20 20 20 20 20 20 20 3c 78 75 6c 3a 69 6d 61 67 | t.button-box">.........<xul:imag |
181880 | 65 20 63 6c 61 73 73 3d 22 62 75 74 74 6f 6e 2d 69 63 6f 6e 22 20 78 62 6c 3a 69 6e 68 65 72 69 | e.class="button-icon".xbl:inheri |
1818a0 | 74 73 3d 22 73 72 63 3d 69 6d 61 67 65 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 78 75 6c 3a 64 72 | ts="src=image"/>.........<xul:dr |
1818c0 | 6f 70 6d 61 72 6b 65 72 20 63 6c 61 73 73 3d 22 62 75 74 74 6f 6e 2d 6d 65 6e 75 2d 64 72 6f 70 | opmarker.class="button-menu-drop |
1818e0 | 6d 61 72 6b 65 72 22 20 78 62 6c 3a 69 6e 68 65 72 69 74 73 3d 22 6f 70 65 6e 2c 64 69 73 61 62 | marker".xbl:inherits="open,disab |
181900 | 6c 65 64 22 2f 3e 0a 20 20 20 20 20 20 3c 2f 78 75 6c 3a 73 74 61 63 6b 3e 0a 20 20 20 20 20 20 | led"/>.......</xul:stack>....... |
181920 | 3c 63 68 69 6c 64 72 65 6e 20 69 6e 63 6c 75 64 65 73 3d 22 6d 65 6e 75 70 6f 70 75 70 22 2f 3e | <children.includes="menupopup"/> |
181940 | 0a 20 20 20 20 3c 2f 63 6f 6e 74 65 6e 74 3e 0a 20 20 20 20 3c 68 61 6e 64 6c 65 72 73 3e 0a 20 | .....</content>.....<handlers>.. |
181960 | 20 20 20 20 20 3c 68 61 6e 64 6c 65 72 20 65 76 65 6e 74 3d 22 63 6f 6d 6d 61 6e 64 22 3e 3c 21 | .....<handler.event="command"><! |
181980 | 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 53 65 61 72 63 68 42 6f 78 2e | [CDATA[.........PlacesSearchBox. |
1819a0 | 66 69 6c 74 65 72 43 6f 6c 6c 65 63 74 69 6f 6e 20 3d 20 65 76 65 6e 74 2e 74 61 72 67 65 74 2e | filterCollection.=.event.target. |
1819c0 | 67 65 74 41 74 74 72 69 62 75 74 65 28 22 76 61 6c 75 65 22 29 3b 0a 20 20 20 20 20 20 5d 5d 3e | getAttribute("value");.......]]> |
1819e0 | 3c 2f 68 61 6e 64 6c 65 72 3e 0a 20 20 20 20 3c 2f 68 61 6e 64 6c 65 72 73 3e 0a 20 20 3c 2f 62 | </handler>.....</handlers>...</b |
181a00 | 69 6e 64 69 6e 67 3e 0a 0a 20 20 0a 3c 2f 62 69 6e 64 69 6e 67 73 3e 0a 50 4b 03 04 14 00 00 00 | inding>.....</bindings>.PK...... |
181a20 | 00 00 f5 4b 18 3b bc c4 fe c6 71 02 00 00 71 02 00 00 21 00 00 00 63 6f 6e 74 65 6e 74 2f 62 72 | ...K.;....q...q...!...content/br |
181a40 | 6f 77 73 65 72 2f 70 6c 61 63 65 73 2f 70 6c 61 63 65 73 2e 63 73 73 74 72 65 65 5b 74 79 70 65 | owser/places/places.csstree[type |
181a60 | 3d 22 70 6c 61 63 65 73 22 5d 20 7b 0a 20 20 2d 6d 6f 7a 2d 62 69 6e 64 69 6e 67 3a 20 75 72 6c | ="places"].{...-moz-binding:.url |
181a80 | 28 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 70 6c 61 63 65 | ("chrome://browser/content/place |
181aa0 | 73 2f 74 72 65 65 2e 78 6d 6c 23 70 6c 61 63 65 73 2d 74 72 65 65 22 29 3b 0a 7d 0a 0a 68 62 6f | s/tree.xml#places-tree");.}..hbo |
181ac0 | 78 5b 74 79 70 65 3d 22 70 6c 61 63 65 73 22 5d 20 7b 0a 20 20 2d 6d 6f 7a 2d 62 69 6e 64 69 6e | x[type="places"].{...-moz-bindin |
181ae0 | 67 3a 20 75 72 6c 28 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 | g:.url("chrome://browser/content |
181b00 | 2f 70 6c 61 63 65 73 2f 74 6f 6f 6c 62 61 72 2e 78 6d 6c 23 70 6c 61 63 65 73 2d 62 61 72 22 29 | /places/toolbar.xml#places-bar") |
181b20 | 3b 0a 20 20 6f 76 65 72 66 6c 6f 77 3a 20 68 69 64 64 65 6e 3b 0a 7d 0a 0a 2e 62 6f 6f 6b 6d 61 | ;...overflow:.hidden;.}...bookma |
181b40 | 72 6b 73 2d 74 6f 6f 6c 62 61 72 2d 63 75 73 74 6f 6d 69 7a 65 2c 0a 74 6f 6f 6c 62 61 72 70 61 | rks-toolbar-customize,.toolbarpa |
181b60 | 6c 65 74 74 65 69 74 65 6d 20 2e 62 6f 6f 6b 6d 61 72 6b 73 2d 74 6f 6f 6c 62 61 72 2d 69 74 65 | letteitem..bookmarks-toolbar-ite |
181b80 | 6d 73 20 7b 0a 20 20 64 69 73 70 6c 61 79 3a 20 6e 6f 6e 65 3b 0a 7d 0a 0a 74 6f 6f 6c 62 61 72 | ms.{...display:.none;.}..toolbar |
181ba0 | 70 61 6c 65 74 74 65 69 74 65 6d 20 2e 62 6f 6f 6b 6d 61 72 6b 73 2d 74 6f 6f 6c 62 61 72 2d 63 | paletteitem..bookmarks-toolbar-c |
181bc0 | 75 73 74 6f 6d 69 7a 65 20 7b 0a 20 20 64 69 73 70 6c 61 79 3a 20 2d 6d 6f 7a 2d 62 6f 78 3b 0a | ustomize.{...display:.-moz-box;. |
181be0 | 7d 0a 0a 6d 65 6e 75 70 6f 70 75 70 5b 74 79 70 65 3d 22 70 6c 61 63 65 73 22 5d 20 7b 0a 20 20 | }..menupopup[type="places"].{... |
181c00 | 2d 6d 6f 7a 2d 62 69 6e 64 69 6e 67 3a 20 75 72 6c 28 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 | -moz-binding:.url("chrome://brow |
181c20 | 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 70 6c 61 63 65 73 2f 6d 65 6e 75 2e 78 6d 6c 23 70 6c 61 63 | ser/content/places/menu.xml#plac |
181c40 | 65 73 2d 6d 65 6e 75 70 6f 70 75 70 22 29 3b 0a 7d 0a 0a 6d 65 6e 75 70 6f 70 75 70 5b 70 6c 61 | es-menupopup");.}..menupopup[pla |
181c60 | 63 65 73 70 6f 70 75 70 3d 22 74 72 75 65 22 5d 20 7b 0a 20 20 2d 6d 6f 7a 2d 62 69 6e 64 69 6e | cespopup="true"].{...-moz-bindin |
181c80 | 67 3a 20 75 72 6c 28 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 | g:.url("chrome://browser/content |
181ca0 | 2f 70 6c 61 63 65 73 2f 6d 65 6e 75 2e 78 6d 6c 23 70 6c 61 63 65 73 2d 70 6f 70 75 70 2d 62 61 | /places/menu.xml#places-popup-ba |
181cc0 | 73 65 22 29 3b 0a 7d 0a 50 4b 03 04 14 00 00 00 00 00 f5 4b 18 3b 49 b7 49 82 4c 02 00 00 4c 02 | se");.}.PK.........K.;I.I.L...L. |
181ce0 | 00 00 24 00 00 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 6c 61 63 65 73 2f 6f 72 67 | ..$...content/browser/places/org |
181d00 | 61 6e 69 7a 65 72 2e 63 73 73 0a 2e 68 69 73 74 6f 72 79 2d 63 61 6c 65 6e 64 61 72 20 7b 0a 20 | anizer.css..history-calendar.{.. |
181d20 | 20 2d 6d 6f 7a 2d 62 69 6e 64 69 6e 67 3a 20 75 72 6c 28 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f | .-moz-binding:.url("chrome://bro |
181d40 | 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 70 6c 61 63 65 73 2f 70 6c 61 63 65 73 2e 78 6d 6c 23 63 | wser/content/places/places.xml#c |
181d60 | 61 6c 65 6e 64 61 72 22 29 3b 0a 7d 0a 0a 62 75 74 74 6f 6e 2e 63 6f 6d 6d 61 6e 64 42 75 74 74 | alendar");.}..button.commandButt |
181d80 | 6f 6e 20 7b 0a 20 20 2d 6d 6f 7a 2d 62 69 6e 64 69 6e 67 3a 20 75 72 6c 28 22 63 68 72 6f 6d 65 | on.{...-moz-binding:.url("chrome |
181da0 | 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 70 6c 61 63 65 73 2f 70 6c 61 63 65 73 | ://browser/content/places/places |
181dc0 | 2e 78 6d 6c 23 63 6f 6d 6d 61 6e 64 2d 62 75 74 74 6f 6e 22 29 3b 0a 7d 0a 0a 2e 66 69 6c 74 65 | .xml#command-button");.}...filte |
181de0 | 72 4c 69 73 74 20 7b 0a 20 20 2d 6d 6f 7a 2d 62 69 6e 64 69 6e 67 3a 20 75 72 6c 28 22 63 68 72 | rList.{...-moz-binding:.url("chr |
181e00 | 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 70 6c 61 63 65 73 2f 70 6c 61 | ome://browser/content/places/pla |
181e20 | 63 65 73 2e 78 6d 6c 23 66 69 6c 74 65 72 2d 62 75 74 74 6f 6e 22 29 3b 0a 7d 0a 0a 23 63 6f 6e | ces.xml#filter-button");.}..#con |
181e40 | 74 65 6e 74 54 69 74 6c 65 20 7b 0a 20 20 77 69 64 74 68 3a 20 30 70 78 3b 0a 7d 0a 0a 23 73 65 | tentTitle.{...width:.0px;.}..#se |
181e60 | 61 72 63 68 46 69 6c 74 65 72 20 7b 0a 20 20 77 69 64 74 68 3a 20 32 33 65 6d 3b 0a 7d 0a 0a 2f | archFilter.{...width:.23em;.}../ |
181e80 | 2a 20 45 64 69 74 20 49 74 65 6d 20 50 61 6e 65 6c 20 2a 2f 0a 0a 23 69 6e 66 6f 42 6f 78 5b 6d | *.Edit.Item.Panel.*/..#infoBox[m |
181ea0 | 69 6e 69 6d 61 6c 3d 22 74 72 75 65 22 5d 20 23 65 64 69 74 42 4d 50 61 6e 65 6c 5f 64 65 73 63 | inimal="true"].#editBMPanel_desc |
181ec0 | 72 69 70 74 69 6f 6e 52 6f 77 2c 0a 23 69 6e 66 6f 42 6f 78 5b 6d 69 6e 69 6d 61 6c 3d 22 74 72 | riptionRow,.#infoBox[minimal="tr |
181ee0 | 75 65 22 5d 20 23 65 64 69 74 42 4d 50 61 6e 65 6c 5f 6c 6f 61 64 49 6e 53 69 64 65 62 61 72 43 | ue"].#editBMPanel_loadInSidebarC |
181f00 | 68 65 63 6b 62 6f 78 2c 0a 23 69 6e 66 6f 42 6f 78 5b 6d 69 6e 69 6d 61 6c 3d 22 74 72 75 65 22 | heckbox,.#infoBox[minimal="true" |
181f20 | 5d 20 23 65 64 69 74 42 4d 50 61 6e 65 6c 5f 6b 65 79 77 6f 72 64 52 6f 77 20 7b 0a 20 20 76 69 | ].#editBMPanel_keywordRow.{...vi |
181f40 | 73 69 62 69 6c 69 74 79 3a 20 63 6f 6c 6c 61 70 73 65 3b 0a 7d 0a 50 4b 03 04 14 00 00 00 00 00 | sibility:.collapse;.}.PK........ |
181f60 | f5 4b 18 3b ca da 49 c5 b5 0d 00 00 b5 0d 00 00 2d 00 00 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 | .K.;..I.........-...content/brow |
181f80 | 73 65 72 2f 70 6c 61 63 65 73 2f 62 6f 6f 6b 6d 61 72 6b 50 72 6f 70 65 72 74 69 65 73 2e 78 75 | ser/places/bookmarkProperties.xu |
181fa0 | 6c 3c 3f 78 6d 6c 20 76 65 72 73 69 6f 6e 3d 22 31 2e 30 22 3f 3e 0a 0a 3c 21 2d 2d 20 2a 2a 2a | l<?xml.version="1.0"?>..<!--.*** |
181fc0 | 2a 2a 20 42 45 47 49 4e 20 4c 49 43 45 4e 53 45 20 42 4c 4f 43 4b 20 2a 2a 2a 2a 2a 0a 20 20 20 | **.BEGIN.LICENSE.BLOCK.*****.... |
181fe0 | 2d 20 56 65 72 73 69 6f 6e 3a 20 4d 50 4c 20 31 2e 31 2f 47 50 4c 20 32 2e 30 2f 4c 47 50 4c 20 | -.Version:.MPL.1.1/GPL.2.0/LGPL. |
182000 | 32 2e 31 0a 20 20 20 2d 0a 20 20 20 2d 20 54 68 65 20 63 6f 6e 74 65 6e 74 73 20 6f 66 20 74 68 | 2.1....-....-.The.contents.of.th |
182020 | 69 73 20 66 69 6c 65 20 61 72 65 20 73 75 62 6a 65 63 74 20 74 6f 20 74 68 65 20 4d 6f 7a 69 6c | is.file.are.subject.to.the.Mozil |
182040 | 6c 61 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 20 56 65 72 73 69 6f 6e 0a 20 20 20 2d 20 31 | la.Public.License.Version....-.1 |
182060 | 2e 31 20 28 74 68 65 20 22 4c 69 63 65 6e 73 65 22 29 3b 20 79 6f 75 20 6d 61 79 20 6e 6f 74 20 | .1.(the."License");.you.may.not. |
182080 | 75 73 65 20 74 68 69 73 20 66 69 6c 65 20 65 78 63 65 70 74 20 69 6e 20 63 6f 6d 70 6c 69 61 6e | use.this.file.except.in.complian |
1820a0 | 63 65 20 77 69 74 68 0a 20 20 20 2d 20 74 68 65 20 4c 69 63 65 6e 73 65 2e 20 59 6f 75 20 6d 61 | ce.with....-.the.License..You.ma |
1820c0 | 79 20 6f 62 74 61 69 6e 20 61 20 63 6f 70 79 20 6f 66 20 74 68 65 20 4c 69 63 65 6e 73 65 20 61 | y.obtain.a.copy.of.the.License.a |
1820e0 | 74 0a 20 20 20 2d 20 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 4d 50 | t....-.http://www.mozilla.org/MP |
182100 | 4c 2f 0a 20 20 20 2d 0a 20 20 20 2d 20 53 6f 66 74 77 61 72 65 20 64 69 73 74 72 69 62 75 74 65 | L/....-....-.Software.distribute |
182120 | 64 20 75 6e 64 65 72 20 74 68 65 20 4c 69 63 65 6e 73 65 20 69 73 20 64 69 73 74 72 69 62 75 74 | d.under.the.License.is.distribut |
182140 | 65 64 20 6f 6e 20 61 6e 20 22 41 53 20 49 53 22 20 62 61 73 69 73 2c 0a 20 20 20 2d 20 57 49 54 | ed.on.an."AS.IS".basis,....-.WIT |
182160 | 48 4f 55 54 20 57 41 52 52 41 4e 54 59 20 4f 46 20 41 4e 59 20 4b 49 4e 44 2c 20 65 69 74 68 65 | HOUT.WARRANTY.OF.ANY.KIND,.eithe |
182180 | 72 20 65 78 70 72 65 73 73 20 6f 72 20 69 6d 70 6c 69 65 64 2e 20 53 65 65 20 74 68 65 20 4c 69 | r.express.or.implied..See.the.Li |
1821a0 | 63 65 6e 73 65 0a 20 20 20 2d 20 66 6f 72 20 74 68 65 20 73 70 65 63 69 66 69 63 20 6c 61 6e 67 | cense....-.for.the.specific.lang |
1821c0 | 75 61 67 65 20 67 6f 76 65 72 6e 69 6e 67 20 72 69 67 68 74 73 20 61 6e 64 20 6c 69 6d 69 74 61 | uage.governing.rights.and.limita |
1821e0 | 74 69 6f 6e 73 20 75 6e 64 65 72 20 74 68 65 0a 20 20 20 2d 20 4c 69 63 65 6e 73 65 2e 0a 20 20 | tions.under.the....-.License.... |
182200 | 20 2d 0a 20 20 20 2d 20 54 68 65 20 4f 72 69 67 69 6e 61 6c 20 43 6f 64 65 20 69 73 20 74 68 65 | .-....-.The.Original.Code.is.the |
182220 | 20 50 6c 61 63 65 73 20 42 6f 6f 6b 6d 61 72 6b 20 50 72 6f 70 65 72 74 69 65 73 20 64 69 61 6c | .Places.Bookmark.Properties.dial |
182240 | 6f 67 2e 0a 20 20 20 2d 0a 20 20 20 2d 20 54 68 65 20 49 6e 69 74 69 61 6c 20 44 65 76 65 6c 6f | og.....-....-.The.Initial.Develo |
182260 | 70 65 72 20 6f 66 20 74 68 65 20 4f 72 69 67 69 6e 61 6c 20 43 6f 64 65 20 69 73 20 47 6f 6f 67 | per.of.the.Original.Code.is.Goog |
182280 | 6c 65 20 49 6e 63 2e 0a 20 20 20 2d 20 50 6f 72 74 69 6f 6e 73 20 63 72 65 61 74 65 64 20 62 79 | le.Inc.....-.Portions.created.by |
1822a0 | 20 74 68 65 20 49 6e 69 74 69 61 6c 20 44 65 76 65 6c 6f 70 65 72 20 61 72 65 20 43 6f 70 79 72 | .the.Initial.Developer.are.Copyr |
1822c0 | 69 67 68 74 20 28 43 29 20 32 30 30 36 0a 20 20 20 2d 20 74 68 65 20 49 6e 69 74 69 61 6c 20 44 | ight.(C).2006....-.the.Initial.D |
1822e0 | 65 76 65 6c 6f 70 65 72 2e 20 41 6c 6c 20 52 69 67 68 74 73 20 52 65 73 65 72 76 65 64 2e 0a 20 | eveloper..All.Rights.Reserved... |
182300 | 20 20 2d 0a 20 20 20 2d 20 43 6f 6e 74 72 69 62 75 74 6f 72 28 73 29 3a 0a 20 20 20 2d 20 20 20 | ..-....-.Contributor(s):....-... |
182320 | 4a 6f 65 20 48 75 67 68 65 73 20 3c 6a 68 75 67 68 65 73 40 67 6f 6f 67 6c 65 2e 63 6f 6d 3e 0a | Joe.Hughes.<jhughes@google.com>. |
182340 | 20 20 20 2d 20 20 20 41 73 61 66 20 52 6f 6d 61 6e 6f 20 3c 6d 61 6e 6f 40 6d 6f 7a 69 6c 6c 61 | ...-...Asaf.Romano.<mano@mozilla |
182360 | 2e 63 6f 6d 3e 0a 20 20 20 2d 20 20 20 45 68 73 61 6e 20 41 6b 68 67 61 72 69 20 3c 65 68 73 61 | .com>....-...Ehsan.Akhgari.<ehsa |
182380 | 6e 2e 61 6b 68 67 61 72 69 40 67 6d 61 69 6c 2e 63 6f 6d 3e 0a 20 20 20 2d 20 20 20 4d 61 72 63 | n.akhgari@gmail.com>....-...Marc |
1823a0 | 6f 20 42 6f 6e 61 72 64 6f 20 3c 6d 61 6b 37 37 40 62 6f 6e 61 72 64 6f 2e 6e 65 74 3e 0a 20 20 | o.Bonardo.<mak77@bonardo.net>... |
1823c0 | 20 2d 0a 20 20 20 2d 20 41 6c 74 65 72 6e 61 74 69 76 65 6c 79 2c 20 74 68 65 20 63 6f 6e 74 65 | .-....-.Alternatively,.the.conte |
1823e0 | 6e 74 73 20 6f 66 20 74 68 69 73 20 66 69 6c 65 20 6d 61 79 20 62 65 20 75 73 65 64 20 75 6e 64 | nts.of.this.file.may.be.used.und |
182400 | 65 72 20 74 68 65 20 74 65 72 6d 73 20 6f 66 0a 20 20 20 2d 20 65 69 74 68 65 72 20 74 68 65 20 | er.the.terms.of....-.either.the. |
182420 | 47 4e 55 20 47 65 6e 65 72 61 6c 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 20 56 65 72 73 69 | GNU.General.Public.License.Versi |
182440 | 6f 6e 20 32 20 6f 72 20 6c 61 74 65 72 20 28 74 68 65 20 22 47 50 4c 22 29 2c 20 6f 72 0a 20 20 | on.2.or.later.(the."GPL"),.or... |
182460 | 20 2d 20 74 68 65 20 47 4e 55 20 4c 65 73 73 65 72 20 47 65 6e 65 72 61 6c 20 50 75 62 6c 69 63 | .-.the.GNU.Lesser.General.Public |
182480 | 20 4c 69 63 65 6e 73 65 20 56 65 72 73 69 6f 6e 20 32 2e 31 20 6f 72 20 6c 61 74 65 72 20 28 74 | .License.Version.2.1.or.later.(t |
1824a0 | 68 65 20 22 4c 47 50 4c 22 29 2c 0a 20 20 20 2d 20 69 6e 20 77 68 69 63 68 20 63 61 73 65 20 74 | he."LGPL"),....-.in.which.case.t |
1824c0 | 68 65 20 70 72 6f 76 69 73 69 6f 6e 73 20 6f 66 20 74 68 65 20 47 50 4c 20 6f 72 20 74 68 65 20 | he.provisions.of.the.GPL.or.the. |
1824e0 | 4c 47 50 4c 20 61 72 65 20 61 70 70 6c 69 63 61 62 6c 65 20 69 6e 73 74 65 61 64 0a 20 20 20 2d | LGPL.are.applicable.instead....- |
182500 | 20 6f 66 20 74 68 6f 73 65 20 61 62 6f 76 65 2e 20 49 66 20 79 6f 75 20 77 69 73 68 20 74 6f 20 | .of.those.above..If.you.wish.to. |
182520 | 61 6c 6c 6f 77 20 75 73 65 20 6f 66 20 79 6f 75 72 20 76 65 72 73 69 6f 6e 20 6f 66 20 74 68 69 | allow.use.of.your.version.of.thi |
182540 | 73 20 66 69 6c 65 20 6f 6e 6c 79 0a 20 20 20 2d 20 75 6e 64 65 72 20 74 68 65 20 74 65 72 6d 73 | s.file.only....-.under.the.terms |
182560 | 20 6f 66 20 65 69 74 68 65 72 20 74 68 65 20 47 50 4c 20 6f 72 20 74 68 65 20 4c 47 50 4c 2c 20 | .of.either.the.GPL.or.the.LGPL,. |
182580 | 61 6e 64 20 6e 6f 74 20 74 6f 20 61 6c 6c 6f 77 20 6f 74 68 65 72 73 20 74 6f 0a 20 20 20 2d 20 | and.not.to.allow.others.to....-. |
1825a0 | 75 73 65 20 79 6f 75 72 20 76 65 72 73 69 6f 6e 20 6f 66 20 74 68 69 73 20 66 69 6c 65 20 75 6e | use.your.version.of.this.file.un |
1825c0 | 64 65 72 20 74 68 65 20 74 65 72 6d 73 20 6f 66 20 74 68 65 20 4d 50 4c 2c 20 69 6e 64 69 63 61 | der.the.terms.of.the.MPL,.indica |
1825e0 | 74 65 20 79 6f 75 72 0a 20 20 20 2d 20 64 65 63 69 73 69 6f 6e 20 62 79 20 64 65 6c 65 74 69 6e | te.your....-.decision.by.deletin |
182600 | 67 20 74 68 65 20 70 72 6f 76 69 73 69 6f 6e 73 20 61 62 6f 76 65 20 61 6e 64 20 72 65 70 6c 61 | g.the.provisions.above.and.repla |
182620 | 63 65 20 74 68 65 6d 20 77 69 74 68 20 74 68 65 20 6e 6f 74 69 63 65 0a 20 20 20 2d 20 61 6e 64 | ce.them.with.the.notice....-.and |
182640 | 20 6f 74 68 65 72 20 70 72 6f 76 69 73 69 6f 6e 73 20 72 65 71 75 69 72 65 64 20 62 79 20 74 68 | .other.provisions.required.by.th |
182660 | 65 20 47 50 4c 20 6f 72 20 74 68 65 20 4c 47 50 4c 2e 20 49 66 20 79 6f 75 20 64 6f 20 6e 6f 74 | e.GPL.or.the.LGPL..If.you.do.not |
182680 | 20 64 65 6c 65 74 65 0a 20 20 20 2d 20 74 68 65 20 70 72 6f 76 69 73 69 6f 6e 73 20 61 62 6f 76 | .delete....-.the.provisions.abov |
1826a0 | 65 2c 20 61 20 72 65 63 69 70 69 65 6e 74 20 6d 61 79 20 75 73 65 20 79 6f 75 72 20 76 65 72 73 | e,.a.recipient.may.use.your.vers |
1826c0 | 69 6f 6e 20 6f 66 20 74 68 69 73 20 66 69 6c 65 20 75 6e 64 65 72 0a 20 20 20 2d 20 74 68 65 20 | ion.of.this.file.under....-.the. |
1826e0 | 74 65 72 6d 73 20 6f 66 20 61 6e 79 20 6f 6e 65 20 6f 66 20 74 68 65 20 4d 50 4c 2c 20 74 68 65 | terms.of.any.one.of.the.MPL,.the |
182700 | 20 47 50 4c 20 6f 72 20 74 68 65 20 4c 47 50 4c 2e 0a 20 20 20 2d 0a 20 20 20 2d 20 2a 2a 2a 2a | .GPL.or.the.LGPL.....-....-.**** |
182720 | 2a 20 45 4e 44 20 4c 49 43 45 4e 53 45 20 42 4c 4f 43 4b 20 2a 2a 2a 2a 2a 20 2d 2d 3e 0a 0a 3c | *.END.LICENSE.BLOCK.*****.-->..< |
182740 | 3f 78 6d 6c 2d 73 74 79 6c 65 73 68 65 65 74 20 68 72 65 66 3d 22 63 68 72 6f 6d 65 3a 2f 2f 67 | ?xml-stylesheet.href="chrome://g |
182760 | 6c 6f 62 61 6c 2f 73 6b 69 6e 2f 22 3f 3e 0a 3c 3f 78 6d 6c 2d 73 74 79 6c 65 73 68 65 65 74 20 | lobal/skin/"?>.<?xml-stylesheet. |
182780 | 68 72 65 66 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 73 6b 69 6e 2f 70 6c 61 63 | href="chrome://browser/skin/plac |
1827a0 | 65 73 2f 65 64 69 74 42 6f 6f 6b 6d 61 72 6b 4f 76 65 72 6c 61 79 2e 63 73 73 22 3f 3e 0a 3c 3f | es/editBookmarkOverlay.css"?>.<? |
1827c0 | 78 6d 6c 2d 73 74 79 6c 65 73 68 65 65 74 20 68 72 65 66 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 | xml-stylesheet.href="chrome://br |
1827e0 | 6f 77 73 65 72 2f 73 6b 69 6e 2f 70 6c 61 63 65 73 2f 70 6c 61 63 65 73 2e 63 73 73 22 3f 3e 0a | owser/skin/places/places.css"?>. |
182800 | 3c 3f 78 6d 6c 2d 73 74 79 6c 65 73 68 65 65 74 20 68 72 65 66 3d 22 63 68 72 6f 6d 65 3a 2f 2f | <?xml-stylesheet.href="chrome:// |
182820 | 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 70 6c 61 63 65 73 2f 70 6c 61 63 65 73 2e 63 73 | browser/content/places/places.cs |
182840 | 73 22 3f 3e 0a 0a 3c 3f 78 75 6c 2d 6f 76 65 72 6c 61 79 20 68 72 65 66 3d 22 63 68 72 6f 6d 65 | s"?>..<?xul-overlay.href="chrome |
182860 | 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 70 6c 61 63 65 73 2f 70 6c 61 63 65 73 | ://browser/content/places/places |
182880 | 4f 76 65 72 6c 61 79 2e 78 75 6c 22 3f 3e 0a 3c 3f 78 75 6c 2d 6f 76 65 72 6c 61 79 20 68 72 65 | Overlay.xul"?>.<?xul-overlay.hre |
1828a0 | 66 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 70 6c 61 63 | f="chrome://browser/content/plac |
1828c0 | 65 73 2f 65 64 69 74 42 6f 6f 6b 6d 61 72 6b 4f 76 65 72 6c 61 79 2e 78 75 6c 22 3f 3e 0a 0a 3c | es/editBookmarkOverlay.xul"?>..< |
1828e0 | 21 44 4f 43 54 59 50 45 20 64 69 61 6c 6f 67 20 5b 0a 20 20 3c 21 45 4e 54 49 54 59 20 25 20 65 | !DOCTYPE.dialog.[...<!ENTITY.%.e |
182900 | 64 69 74 42 6f 6f 6b 6d 61 72 6b 4f 76 65 72 6c 61 79 44 54 44 20 53 59 53 54 45 4d 20 22 63 68 | ditBookmarkOverlayDTD.SYSTEM."ch |
182920 | 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 6c 6f 63 61 6c 65 2f 70 6c 61 63 65 73 2f 65 64 69 | rome://browser/locale/places/edi |
182940 | 74 42 6f 6f 6b 6d 61 72 6b 4f 76 65 72 6c 61 79 2e 64 74 64 22 3e 0a 20 20 25 65 64 69 74 42 6f | tBookmarkOverlay.dtd">...%editBo |
182960 | 6f 6b 6d 61 72 6b 4f 76 65 72 6c 61 79 44 54 44 3b 0a 5d 3e 0a 0a 3c 64 69 61 6c 6f 67 20 69 64 | okmarkOverlayDTD;.]>..<dialog.id |
182980 | 3d 22 62 6f 6f 6b 6d 61 72 6b 70 72 6f 70 65 72 74 69 65 73 22 0a 20 20 20 20 20 20 20 20 62 75 | ="bookmarkproperties".........bu |
1829a0 | 74 74 6f 6e 73 3d 22 61 63 63 65 70 74 2c 20 63 61 6e 63 65 6c 22 0a 20 20 20 20 20 20 20 20 64 | ttons="accept,.cancel".........d |
1829c0 | 65 66 61 75 6c 74 42 75 74 74 6f 6e 3d 22 6e 6f 6e 65 22 0a 20 20 20 20 20 20 20 20 6f 6e 64 69 | efaultButton="none".........ondi |
1829e0 | 61 6c 6f 67 61 63 63 65 70 74 3d 22 42 6f 6f 6b 6d 61 72 6b 50 72 6f 70 65 72 74 69 65 73 50 61 | alogaccept="BookmarkPropertiesPa |
182a00 | 6e 65 6c 2e 6f 6e 44 69 61 6c 6f 67 41 63 63 65 70 74 28 29 3b 22 0a 20 20 20 20 20 20 20 20 6f | nel.onDialogAccept();".........o |
182a20 | 6e 64 69 61 6c 6f 67 63 61 6e 63 65 6c 3d 22 42 6f 6f 6b 6d 61 72 6b 50 72 6f 70 65 72 74 69 65 | ndialogcancel="BookmarkPropertie |
182a40 | 73 50 61 6e 65 6c 2e 6f 6e 44 69 61 6c 6f 67 43 61 6e 63 65 6c 28 29 3b 22 0a 20 20 20 20 20 20 | sPanel.onDialogCancel();"....... |
182a60 | 20 20 62 75 74 74 6f 6e 69 63 6f 6e 61 63 63 65 70 74 3d 22 73 61 76 65 22 0a 20 20 20 20 20 20 | ..buttoniconaccept="save"....... |
182a80 | 20 20 78 6d 6c 6e 73 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f | ..xmlns="http://www.mozilla.org/ |
182aa0 | 6b 65 79 6d 61 73 74 65 72 2f 67 61 74 65 6b 65 65 70 65 72 2f 74 68 65 72 65 2e 69 73 2e 6f 6e | keymaster/gatekeeper/there.is.on |
182ac0 | 6c 79 2e 78 75 6c 22 0a 20 20 20 20 20 20 20 20 6f 6e 6c 6f 61 64 3d 22 42 6f 6f 6b 6d 61 72 6b | ly.xul".........onload="Bookmark |
182ae0 | 50 72 6f 70 65 72 74 69 65 73 50 61 6e 65 6c 2e 6f 6e 44 69 61 6c 6f 67 4c 6f 61 64 28 29 3b 22 | PropertiesPanel.onDialogLoad();" |
182b00 | 0a 20 20 20 20 20 20 20 20 6f 6e 75 6e 6c 6f 61 64 3d 22 42 6f 6f 6b 6d 61 72 6b 50 72 6f 70 65 | .........onunload="BookmarkPrope |
182b20 | 72 74 69 65 73 50 61 6e 65 6c 2e 6f 6e 44 69 61 6c 6f 67 55 6e 6c 6f 61 64 28 29 3b 22 0a 20 20 | rtiesPanel.onDialogUnload();"... |
182b40 | 20 20 20 20 20 20 73 74 79 6c 65 3d 22 6d 69 6e 2d 77 69 64 74 68 3a 20 33 30 65 6d 3b 22 0a 20 | ......style="min-width:.30em;".. |
182b60 | 20 20 20 20 20 20 20 70 65 72 73 69 73 74 3d 22 73 63 72 65 65 6e 58 20 73 63 72 65 65 6e 59 20 | .......persist="screenX.screenY. |
182b80 | 77 69 64 74 68 22 3e 0a 0a 20 20 3c 73 74 72 69 6e 67 62 75 6e 64 6c 65 73 65 74 20 69 64 3d 22 | width">....<stringbundleset.id=" |
182ba0 | 73 74 72 69 6e 67 62 75 6e 64 6c 65 73 65 74 22 3e 0a 20 20 20 20 3c 73 74 72 69 6e 67 62 75 6e | stringbundleset">.....<stringbun |
182bc0 | 64 6c 65 20 69 64 3d 22 73 74 72 69 6e 67 42 75 6e 64 6c 65 22 0a 20 20 20 20 20 20 20 20 20 20 | dle.id="stringBundle"........... |
182be0 | 20 20 20 20 20 20 20 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 6c 6f | ........src="chrome://browser/lo |
182c00 | 63 61 6c 65 2f 70 6c 61 63 65 73 2f 62 6f 6f 6b 6d 61 72 6b 50 72 6f 70 65 72 74 69 65 73 2e 70 | cale/places/bookmarkProperties.p |
182c20 | 72 6f 70 65 72 74 69 65 73 22 2f 3e 0a 20 20 3c 2f 73 74 72 69 6e 67 62 75 6e 64 6c 65 73 65 74 | roperties"/>...</stringbundleset |
182c40 | 3e 0a 0a 20 20 3c 73 63 72 69 70 74 20 74 79 70 65 3d 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f 6a | >....<script.type="application/j |
182c60 | 61 76 61 73 63 72 69 70 74 22 0a 20 20 20 20 20 20 20 20 20 20 73 72 63 3d 22 63 68 72 6f 6d 65 | avascript"...........src="chrome |
182c80 | 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 70 6c 61 63 65 73 2f 65 64 69 74 42 6f | ://browser/content/places/editBo |
182ca0 | 6f 6b 6d 61 72 6b 4f 76 65 72 6c 61 79 2e 6a 73 22 2f 3e 0a 20 20 3c 73 63 72 69 70 74 20 74 79 | okmarkOverlay.js"/>...<script.ty |
182cc0 | 70 65 3d 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f 6a 61 76 61 73 63 72 69 70 74 22 0a 20 20 20 20 | pe="application/javascript"..... |
182ce0 | 20 20 20 20 20 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 | ......src="chrome://browser/cont |
182d00 | 65 6e 74 2f 70 6c 61 63 65 73 2f 62 6f 6f 6b 6d 61 72 6b 50 72 6f 70 65 72 74 69 65 73 2e 6a 73 | ent/places/bookmarkProperties.js |
182d20 | 22 2f 3e 0a 0a 3c 76 62 6f 78 20 69 64 3d 22 65 64 69 74 42 6f 6f 6b 6d 61 72 6b 50 61 6e 65 6c | "/>..<vbox.id="editBookmarkPanel |
182d40 | 43 6f 6e 74 65 6e 74 22 2f 3e 0a 0a 3c 2f 64 69 61 6c 6f 67 3e 0a 50 4b 03 04 14 00 00 00 00 00 | Content"/>..</dialog>.PK........ |
182d60 | f5 4b 18 3b 98 58 8c 30 17 62 00 00 17 62 00 00 2c 00 00 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 | .K.;.X.0.b...b..,...content/brow |
182d80 | 73 65 72 2f 70 6c 61 63 65 73 2f 62 6f 6f 6b 6d 61 72 6b 50 72 6f 70 65 72 74 69 65 73 2e 6a 73 | ser/places/bookmarkProperties.js |
182da0 | 2f 2a 20 2d 2a 2d 20 4d 6f 64 65 3a 20 43 2b 2b 3b 20 74 61 62 2d 77 69 64 74 68 3a 20 38 3b 20 | /*.-*-.Mode:.C++;.tab-width:.8;. |
182dc0 | 69 6e 64 65 6e 74 2d 74 61 62 73 2d 6d 6f 64 65 3a 20 6e 69 6c 3b 20 63 2d 62 61 73 69 63 2d 6f | indent-tabs-mode:.nil;.c-basic-o |
182de0 | 66 66 73 65 74 3a 20 32 20 2d 2a 2d 20 2a 2f 0a 2f 2a 20 2a 2a 2a 2a 2a 20 42 45 47 49 4e 20 4c | ffset:.2.-*-.*/./*.*****.BEGIN.L |
182e00 | 49 43 45 4e 53 45 20 42 4c 4f 43 4b 20 2a 2a 2a 2a 2a 0a 20 2a 20 56 65 72 73 69 6f 6e 3a 20 4d | ICENSE.BLOCK.*****..*.Version:.M |
182e20 | 50 4c 20 31 2e 31 2f 47 50 4c 20 32 2e 30 2f 4c 47 50 4c 20 32 2e 31 0a 20 2a 0a 20 2a 20 54 68 | PL.1.1/GPL.2.0/LGPL.2.1..*..*.Th |
182e40 | 65 20 63 6f 6e 74 65 6e 74 73 20 6f 66 20 74 68 69 73 20 66 69 6c 65 20 61 72 65 20 73 75 62 6a | e.contents.of.this.file.are.subj |
182e60 | 65 63 74 20 74 6f 20 74 68 65 20 4d 6f 7a 69 6c 6c 61 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 | ect.to.the.Mozilla.Public.Licens |
182e80 | 65 20 56 65 72 73 69 6f 6e 0a 20 2a 20 31 2e 31 20 28 74 68 65 20 22 4c 69 63 65 6e 73 65 22 29 | e.Version..*.1.1.(the."License") |
182ea0 | 3b 20 79 6f 75 20 6d 61 79 20 6e 6f 74 20 75 73 65 20 74 68 69 73 20 66 69 6c 65 20 65 78 63 65 | ;.you.may.not.use.this.file.exce |
182ec0 | 70 74 20 69 6e 20 63 6f 6d 70 6c 69 61 6e 63 65 20 77 69 74 68 0a 20 2a 20 74 68 65 20 4c 69 63 | pt.in.compliance.with..*.the.Lic |
182ee0 | 65 6e 73 65 2e 20 59 6f 75 20 6d 61 79 20 6f 62 74 61 69 6e 20 61 20 63 6f 70 79 20 6f 66 20 74 | ense..You.may.obtain.a.copy.of.t |
182f00 | 68 65 20 4c 69 63 65 6e 73 65 20 61 74 0a 20 2a 20 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 | he.License.at..*.http://www.mozi |
182f20 | 6c 6c 61 2e 6f 72 67 2f 4d 50 4c 2f 0a 20 2a 0a 20 2a 20 53 6f 66 74 77 61 72 65 20 64 69 73 74 | lla.org/MPL/..*..*.Software.dist |
182f40 | 72 69 62 75 74 65 64 20 75 6e 64 65 72 20 74 68 65 20 4c 69 63 65 6e 73 65 20 69 73 20 64 69 73 | ributed.under.the.License.is.dis |
182f60 | 74 72 69 62 75 74 65 64 20 6f 6e 20 61 6e 20 22 41 53 20 49 53 22 20 62 61 73 69 73 2c 0a 20 2a | tributed.on.an."AS.IS".basis,..* |
182f80 | 20 57 49 54 48 4f 55 54 20 57 41 52 52 41 4e 54 59 20 4f 46 20 41 4e 59 20 4b 49 4e 44 2c 20 65 | .WITHOUT.WARRANTY.OF.ANY.KIND,.e |
182fa0 | 69 74 68 65 72 20 65 78 70 72 65 73 73 20 6f 72 20 69 6d 70 6c 69 65 64 2e 20 53 65 65 20 74 68 | ither.express.or.implied..See.th |
182fc0 | 65 20 4c 69 63 65 6e 73 65 0a 20 2a 20 66 6f 72 20 74 68 65 20 73 70 65 63 69 66 69 63 20 6c 61 | e.License..*.for.the.specific.la |
182fe0 | 6e 67 75 61 67 65 20 67 6f 76 65 72 6e 69 6e 67 20 72 69 67 68 74 73 20 61 6e 64 20 6c 69 6d 69 | nguage.governing.rights.and.limi |
183000 | 74 61 74 69 6f 6e 73 20 75 6e 64 65 72 20 74 68 65 0a 20 2a 20 4c 69 63 65 6e 73 65 2e 0a 20 2a | tations.under.the..*.License...* |
183020 | 0a 20 2a 20 54 68 65 20 4f 72 69 67 69 6e 61 6c 20 43 6f 64 65 20 69 73 20 74 68 65 20 50 6c 61 | ..*.The.Original.Code.is.the.Pla |
183040 | 63 65 73 20 42 6f 6f 6b 6d 61 72 6b 20 50 72 6f 70 65 72 74 69 65 73 20 64 69 61 6c 6f 67 2e 0a | ces.Bookmark.Properties.dialog.. |
183060 | 20 2a 0a 20 2a 20 54 68 65 20 49 6e 69 74 69 61 6c 20 44 65 76 65 6c 6f 70 65 72 20 6f 66 20 74 | .*..*.The.Initial.Developer.of.t |
183080 | 68 65 20 4f 72 69 67 69 6e 61 6c 20 43 6f 64 65 20 69 73 20 47 6f 6f 67 6c 65 20 49 6e 63 2e 0a | he.Original.Code.is.Google.Inc.. |
1830a0 | 20 2a 20 50 6f 72 74 69 6f 6e 73 20 63 72 65 61 74 65 64 20 62 79 20 74 68 65 20 49 6e 69 74 69 | .*.Portions.created.by.the.Initi |
1830c0 | 61 6c 20 44 65 76 65 6c 6f 70 65 72 20 61 72 65 20 43 6f 70 79 72 69 67 68 74 20 28 43 29 20 32 | al.Developer.are.Copyright.(C).2 |
1830e0 | 30 30 36 0a 20 2a 20 74 68 65 20 49 6e 69 74 69 61 6c 20 44 65 76 65 6c 6f 70 65 72 2e 20 41 6c | 006..*.the.Initial.Developer..Al |
183100 | 6c 20 52 69 67 68 74 73 20 52 65 73 65 72 76 65 64 2e 0a 20 2a 0a 20 2a 20 43 6f 6e 74 72 69 62 | l.Rights.Reserved...*..*.Contrib |
183120 | 75 74 6f 72 28 73 29 3a 0a 20 2a 20 20 20 4a 6f 65 20 48 75 67 68 65 73 20 3c 6a 68 75 67 68 65 | utor(s):..*...Joe.Hughes.<jhughe |
183140 | 73 40 67 6f 6f 67 6c 65 2e 63 6f 6d 3e 0a 20 2a 20 20 20 44 69 65 74 72 69 63 68 20 41 79 61 6c | s@google.com>..*...Dietrich.Ayal |
183160 | 61 20 3c 64 69 65 74 72 69 63 68 40 6d 6f 7a 69 6c 6c 61 2e 63 6f 6d 3e 0a 20 2a 20 20 20 41 73 | a.<dietrich@mozilla.com>..*...As |
183180 | 61 66 20 52 6f 6d 61 6e 6f 20 3c 6d 61 6e 6f 40 6d 6f 7a 69 6c 6c 61 2e 63 6f 6d 3e 0a 20 2a 20 | af.Romano.<mano@mozilla.com>..*. |
1831a0 | 20 20 4d 61 72 63 6f 20 42 6f 6e 61 72 64 6f 20 3c 6d 61 6b 37 37 40 62 6f 6e 61 72 64 6f 2e 6e | ..Marco.Bonardo.<mak77@bonardo.n |
1831c0 | 65 74 3e 0a 20 2a 0a 20 2a 20 41 6c 74 65 72 6e 61 74 69 76 65 6c 79 2c 20 74 68 65 20 63 6f 6e | et>..*..*.Alternatively,.the.con |
1831e0 | 74 65 6e 74 73 20 6f 66 20 74 68 69 73 20 66 69 6c 65 20 6d 61 79 20 62 65 20 75 73 65 64 20 75 | tents.of.this.file.may.be.used.u |
183200 | 6e 64 65 72 20 74 68 65 20 74 65 72 6d 73 20 6f 66 0a 20 2a 20 65 69 74 68 65 72 20 74 68 65 20 | nder.the.terms.of..*.either.the. |
183220 | 47 4e 55 20 47 65 6e 65 72 61 6c 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 20 56 65 72 73 69 | GNU.General.Public.License.Versi |
183240 | 6f 6e 20 32 20 6f 72 20 6c 61 74 65 72 20 28 74 68 65 20 22 47 50 4c 22 29 2c 20 6f 72 0a 20 2a | on.2.or.later.(the."GPL"),.or..* |
183260 | 20 74 68 65 20 47 4e 55 20 4c 65 73 73 65 72 20 47 65 6e 65 72 61 6c 20 50 75 62 6c 69 63 20 4c | .the.GNU.Lesser.General.Public.L |
183280 | 69 63 65 6e 73 65 20 56 65 72 73 69 6f 6e 20 32 2e 31 20 6f 72 20 6c 61 74 65 72 20 28 74 68 65 | icense.Version.2.1.or.later.(the |
1832a0 | 20 22 4c 47 50 4c 22 29 2c 0a 20 2a 20 69 6e 20 77 68 69 63 68 20 63 61 73 65 20 74 68 65 20 70 | ."LGPL"),..*.in.which.case.the.p |
1832c0 | 72 6f 76 69 73 69 6f 6e 73 20 6f 66 20 74 68 65 20 47 50 4c 20 6f 72 20 74 68 65 20 4c 47 50 4c | rovisions.of.the.GPL.or.the.LGPL |
1832e0 | 20 61 72 65 20 61 70 70 6c 69 63 61 62 6c 65 20 69 6e 73 74 65 61 64 0a 20 2a 20 6f 66 20 74 68 | .are.applicable.instead..*.of.th |
183300 | 6f 73 65 20 61 62 6f 76 65 2e 20 49 66 20 79 6f 75 20 77 69 73 68 20 74 6f 20 61 6c 6c 6f 77 20 | ose.above..If.you.wish.to.allow. |
183320 | 75 73 65 20 6f 66 20 79 6f 75 72 20 76 65 72 73 69 6f 6e 20 6f 66 20 74 68 69 73 20 66 69 6c 65 | use.of.your.version.of.this.file |
183340 | 20 6f 6e 6c 79 0a 20 2a 20 75 6e 64 65 72 20 74 68 65 20 74 65 72 6d 73 20 6f 66 20 65 69 74 68 | .only..*.under.the.terms.of.eith |
183360 | 65 72 20 74 68 65 20 47 50 4c 20 6f 72 20 74 68 65 20 4c 47 50 4c 2c 20 61 6e 64 20 6e 6f 74 20 | er.the.GPL.or.the.LGPL,.and.not. |
183380 | 74 6f 20 61 6c 6c 6f 77 20 6f 74 68 65 72 73 20 74 6f 0a 20 2a 20 75 73 65 20 79 6f 75 72 20 76 | to.allow.others.to..*.use.your.v |
1833a0 | 65 72 73 69 6f 6e 20 6f 66 20 74 68 69 73 20 66 69 6c 65 20 75 6e 64 65 72 20 74 68 65 20 74 65 | ersion.of.this.file.under.the.te |
1833c0 | 72 6d 73 20 6f 66 20 74 68 65 20 4d 50 4c 2c 20 69 6e 64 69 63 61 74 65 20 79 6f 75 72 0a 20 2a | rms.of.the.MPL,.indicate.your..* |
1833e0 | 20 64 65 63 69 73 69 6f 6e 20 62 79 20 64 65 6c 65 74 69 6e 67 20 74 68 65 20 70 72 6f 76 69 73 | .decision.by.deleting.the.provis |
183400 | 69 6f 6e 73 20 61 62 6f 76 65 20 61 6e 64 20 72 65 70 6c 61 63 65 20 74 68 65 6d 20 77 69 74 68 | ions.above.and.replace.them.with |
183420 | 20 74 68 65 20 6e 6f 74 69 63 65 0a 20 2a 20 61 6e 64 20 6f 74 68 65 72 20 70 72 6f 76 69 73 69 | .the.notice..*.and.other.provisi |
183440 | 6f 6e 73 20 72 65 71 75 69 72 65 64 20 62 79 20 74 68 65 20 47 50 4c 20 6f 72 20 74 68 65 20 4c | ons.required.by.the.GPL.or.the.L |
183460 | 47 50 4c 2e 20 49 66 20 79 6f 75 20 64 6f 20 6e 6f 74 20 64 65 6c 65 74 65 0a 20 2a 20 74 68 65 | GPL..If.you.do.not.delete..*.the |
183480 | 20 70 72 6f 76 69 73 69 6f 6e 73 20 61 62 6f 76 65 2c 20 61 20 72 65 63 69 70 69 65 6e 74 20 6d | .provisions.above,.a.recipient.m |
1834a0 | 61 79 20 75 73 65 20 79 6f 75 72 20 76 65 72 73 69 6f 6e 20 6f 66 20 74 68 69 73 20 66 69 6c 65 | ay.use.your.version.of.this.file |
1834c0 | 20 75 6e 64 65 72 0a 20 2a 20 74 68 65 20 74 65 72 6d 73 20 6f 66 20 61 6e 79 20 6f 6e 65 20 6f | .under..*.the.terms.of.any.one.o |
1834e0 | 66 20 74 68 65 20 4d 50 4c 2c 20 74 68 65 20 47 50 4c 20 6f 72 20 74 68 65 20 4c 47 50 4c 2e 0a | f.the.MPL,.the.GPL.or.the.LGPL.. |
183500 | 20 2a 0a 20 2a 20 2a 2a 2a 2a 2a 20 45 4e 44 20 4c 49 43 45 4e 53 45 20 42 4c 4f 43 4b 20 2a 2a | .*..*.*****.END.LICENSE.BLOCK.** |
183520 | 2a 2a 2a 20 2a 2f 0a 0a 2f 2a 2a 0a 20 2a 20 54 68 65 20 70 61 6e 65 6c 20 69 73 20 69 6e 69 74 | ***.*/../**..*.The.panel.is.init |
183540 | 69 61 6c 69 7a 65 64 20 62 61 73 65 64 20 6f 6e 20 64 61 74 61 20 67 69 76 65 6e 20 69 6e 20 74 | ialized.based.on.data.given.in.t |
183560 | 68 65 20 6a 73 20 6f 62 6a 65 63 74 20 70 61 73 73 65 64 0a 20 2a 20 61 73 20 77 69 6e 64 6f 77 | he.js.object.passed..*.as.window |
183580 | 2e 61 72 67 75 6d 65 6e 74 73 5b 30 5d 2e 20 54 68 65 20 6f 62 6a 65 63 74 20 6d 75 73 74 20 68 | .arguments[0]..The.object.must.h |
1835a0 | 61 76 65 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 66 69 65 6c 64 73 20 73 65 74 3a 0a 20 2a | ave.the.following.fields.set:..* |
1835c0 | 20 20 20 40 20 61 63 74 69 6f 6e 20 28 53 74 72 69 6e 67 29 2e 20 50 6f 73 73 69 62 6c 65 20 76 | ...@.action.(String)..Possible.v |
1835e0 | 61 6c 75 65 73 3a 0a 20 2a 20 20 20 20 20 2d 20 22 61 64 64 22 20 2d 20 66 6f 72 20 61 64 64 69 | alues:..*.....-."add".-.for.addi |
183600 | 6e 67 20 61 20 6e 65 77 20 69 74 65 6d 2e 0a 20 2a 20 20 20 20 20 20 20 40 20 74 79 70 65 20 28 | ng.a.new.item...*.......@.type.( |
183620 | 53 74 72 69 6e 67 29 2e 20 50 6f 73 73 69 62 6c 65 20 76 61 6c 75 65 73 3a 0a 20 2a 20 20 20 20 | String)..Possible.values:..*.... |
183640 | 20 20 20 20 20 2d 20 22 62 6f 6f 6b 6d 61 72 6b 22 0a 20 2a 20 20 20 20 20 20 20 20 20 20 20 40 | .....-."bookmark"..*...........@ |
183660 | 20 6c 6f 61 64 42 6f 6f 6b 6d 61 72 6b 49 6e 53 69 64 65 62 61 72 20 2d 20 6f 70 74 69 6f 6e 61 | .loadBookmarkInSidebar.-.optiona |
183680 | 6c 2c 20 74 68 65 20 64 65 66 61 75 6c 74 20 73 74 61 74 65 20 66 6f 72 20 74 68 65 0a 20 2a 20 | l,.the.default.state.for.the..*. |
1836a0 | 20 20 20 20 20 20 20 20 20 20 20 20 22 4c 6f 61 64 20 74 68 69 73 20 62 6f 6f 6b 6d 61 72 6b 20 | ............"Load.this.bookmark. |
1836c0 | 69 6e 20 74 68 65 20 73 69 64 65 62 61 72 22 20 66 69 65 6c 64 2e 0a 20 2a 20 20 20 20 20 20 20 | in.the.sidebar".field...*....... |
1836e0 | 20 20 2d 20 22 66 6f 6c 64 65 72 22 0a 20 2a 20 20 20 20 20 20 20 20 20 20 20 40 20 55 52 49 4c | ..-."folder"..*...........@.URIL |
183700 | 69 73 74 20 28 41 72 72 61 79 20 6f 66 20 6e 73 49 55 52 49 20 6f 62 6a 65 63 74 73 29 20 2d 20 | ist.(Array.of.nsIURI.objects).-. |
183720 | 6f 70 74 69 6f 6e 61 6c 2c 20 6c 69 73 74 20 6f 66 20 75 72 69 73 20 74 6f 0a 20 2a 20 20 20 20 | optional,.list.of.uris.to..*.... |
183740 | 20 20 20 20 20 20 20 20 20 62 65 20 62 6f 6f 6b 6d 61 72 6b 65 64 20 75 6e 64 65 72 20 74 68 65 | .........be.bookmarked.under.the |
183760 | 20 6e 65 77 20 66 6f 6c 64 65 72 2e 0a 20 2a 20 20 20 20 20 20 20 20 20 2d 20 22 6c 69 76 65 6d | .new.folder...*.........-."livem |
183780 | 61 72 6b 22 0a 20 2a 20 20 20 20 20 20 20 40 20 75 72 69 20 28 6e 73 49 55 52 49 20 6f 62 6a 65 | ark"..*.......@.uri.(nsIURI.obje |
1837a0 | 63 74 29 20 2d 20 6f 70 74 69 6f 6e 61 6c 2c 20 74 68 65 20 64 65 66 61 75 6c 74 20 75 72 69 20 | ct).-.optional,.the.default.uri. |
1837c0 | 66 6f 72 20 74 68 65 20 6e 65 77 20 69 74 65 6d 2e 0a 20 2a 20 20 20 20 20 20 20 20 20 54 68 65 | for.the.new.item...*.........The |
1837e0 | 20 70 72 6f 70 65 72 74 79 20 69 73 20 6e 6f 74 20 75 73 65 64 20 66 6f 72 20 74 68 65 20 22 66 | .property.is.not.used.for.the."f |
183800 | 6f 6c 64 65 72 20 77 69 74 68 20 69 74 65 6d 73 22 20 74 79 70 65 2e 0a 20 2a 20 20 20 20 20 20 | older.with.items".type...*...... |
183820 | 20 40 20 74 69 74 6c 65 20 28 53 74 72 69 6e 67 29 20 2d 20 6f 70 74 69 6f 6e 61 6c 2c 20 74 68 | .@.title.(String).-.optional,.th |
183840 | 65 20 64 65 66 61 75 6c 74 20 74 69 74 6c 65 20 66 6f 72 20 74 68 65 20 6e 65 77 20 69 74 65 6d | e.default.title.for.the.new.item |
183860 | 2e 0a 20 2a 20 20 20 20 20 20 20 40 20 64 65 73 63 72 69 70 74 69 6f 6e 20 28 53 74 72 69 6e 67 | ...*.......@.description.(String |
183880 | 29 20 2d 20 6f 70 74 69 6f 6e 61 6c 2c 20 74 68 65 20 64 65 66 61 75 6c 74 20 64 65 73 63 72 69 | ).-.optional,.the.default.descri |
1838a0 | 70 74 69 6f 6e 20 66 6f 72 20 74 68 65 20 6e 65 77 0a 20 2a 20 20 20 20 20 20 20 20 20 69 74 65 | ption.for.the.new..*.........ite |
1838c0 | 6d 2e 0a 20 2a 20 20 20 20 20 20 20 40 20 64 65 66 61 75 6c 74 49 6e 73 65 72 74 69 6f 6e 50 6f | m...*.......@.defaultInsertionPo |
1838e0 | 69 6e 74 20 28 49 6e 73 65 72 74 69 6f 6e 50 6f 69 6e 74 20 4a 53 20 6f 62 6a 65 63 74 29 20 2d | int.(InsertionPoint.JS.object).- |
183900 | 20 6f 70 74 69 6f 6e 61 6c 2c 20 74 68 65 0a 20 2a 20 20 20 20 20 20 20 20 20 64 65 66 61 75 6c | .optional,.the..*.........defaul |
183920 | 74 20 69 6e 73 65 72 74 69 6f 6e 20 70 6f 69 6e 74 20 66 6f 72 20 74 68 65 20 6e 65 77 20 69 74 | t.insertion.point.for.the.new.it |
183940 | 65 6d 2e 0a 20 2a 20 20 20 20 20 20 20 40 20 6b 65 79 77 6f 72 64 20 28 53 74 72 69 6e 67 29 20 | em...*.......@.keyword.(String). |
183960 | 2d 20 6f 70 74 69 6f 6e 61 6c 2c 20 74 68 65 20 64 65 66 61 75 6c 74 20 6b 65 79 77 6f 72 64 20 | -.optional,.the.default.keyword. |
183980 | 66 6f 72 20 74 68 65 20 6e 65 77 20 69 74 65 6d 2e 0a 20 2a 20 20 20 20 20 20 20 40 20 70 6f 73 | for.the.new.item...*.......@.pos |
1839a0 | 74 44 61 74 61 20 28 53 74 72 69 6e 67 29 20 2d 20 6f 70 74 69 6f 6e 61 6c 2c 20 50 4f 53 54 20 | tData.(String).-.optional,.POST. |
1839c0 | 64 61 74 61 20 74 6f 20 61 63 63 6f 6d 70 61 6e 79 20 74 68 65 20 6b 65 79 77 6f 72 64 2e 0a 20 | data.to.accompany.the.keyword... |
1839e0 | 2a 20 20 20 20 20 20 20 40 20 63 68 61 72 53 65 74 20 28 53 74 72 69 6e 67 29 20 2d 20 6f 70 74 | *.......@.charSet.(String).-.opt |
183a00 | 69 6f 6e 61 6c 2c 20 63 68 61 72 61 63 74 65 72 2d 73 65 74 20 74 6f 20 61 63 63 6f 6d 70 61 6e | ional,.character-set.to.accompan |
183a20 | 79 20 74 68 65 20 6b 65 79 77 6f 72 64 2e 0a 20 2a 20 20 20 20 20 20 4e 6f 74 65 73 3a 0a 20 2a | y.the.keyword...*......Notes:..* |
183a40 | 20 20 20 20 20 20 20 20 31 29 20 49 66 20 7c 75 72 69 7c 20 69 73 20 73 65 74 20 66 6f 72 20 61 | ........1).If.|uri|.is.set.for.a |
183a60 | 20 62 6f 6f 6b 6d 61 72 6b 2f 6c 69 76 65 6d 61 72 6b 20 69 74 65 6d 20 61 6e 64 20 7c 74 69 74 | .bookmark/livemark.item.and.|tit |
183a80 | 6c 65 7c 20 69 73 6e 27 74 2c 0a 20 2a 20 20 20 20 20 20 20 20 20 20 20 74 68 65 20 64 69 61 6c | le|.isn't,..*...........the.dial |
183aa0 | 6f 67 20 77 69 6c 6c 20 71 75 65 72 79 20 74 68 65 20 68 69 73 74 6f 72 79 20 74 61 62 6c 65 73 | og.will.query.the.history.tables |
183ac0 | 20 66 6f 72 20 74 68 65 20 74 69 74 6c 65 20 61 73 73 6f 63 69 61 74 65 64 0a 20 2a 20 20 20 20 | .for.the.title.associated..*.... |
183ae0 | 20 20 20 20 20 20 20 77 69 74 68 20 74 68 65 20 67 69 76 65 6e 20 75 72 69 2e 20 49 66 20 74 68 | .......with.the.given.uri..If.th |
183b00 | 65 20 64 69 61 6c 6f 67 20 69 73 20 73 65 74 20 74 6f 20 61 64 64 69 6e 67 20 61 20 66 6f 6c 64 | e.dialog.is.set.to.adding.a.fold |
183b20 | 65 72 20 77 69 74 68 0a 20 2a 20 20 20 20 20 20 20 20 20 20 20 62 6f 6f 6b 6d 61 72 6b 20 69 74 | er.with..*...........bookmark.it |
183b40 | 65 6d 73 20 75 6e 64 65 72 20 69 74 20 28 73 65 65 20 55 52 49 4c 69 73 74 29 2c 20 61 20 64 65 | ems.under.it.(see.URIList),.a.de |
183b60 | 66 61 75 6c 74 20 73 74 61 74 69 63 20 74 69 74 6c 65 20 69 73 0a 20 2a 20 20 20 20 20 20 20 20 | fault.static.title.is..*........ |
183b80 | 20 20 20 75 73 65 64 20 28 22 5b 46 6f 6c 64 65 72 20 4e 61 6d 65 5d 22 29 2e 0a 20 2a 20 20 20 | ...used.("[Folder.Name]")...*... |
183ba0 | 20 20 20 20 20 32 29 20 54 68 65 20 69 6e 64 65 78 20 66 69 65 6c 64 20 6f 66 20 74 68 65 20 64 | .....2).The.index.field.of.the.d |
183bc0 | 65 66 61 75 6c 74 20 69 6e 73 65 72 74 69 6f 6e 20 70 6f 69 6e 74 20 69 73 20 69 67 6e 6f 72 65 | efault.insertion.point.is.ignore |
183be0 | 64 20 69 66 0a 20 2a 20 20 20 20 20 20 20 20 20 20 20 74 68 65 20 66 6f 6c 64 65 72 20 70 69 63 | d.if..*...........the.folder.pic |
183c00 | 6b 65 72 20 69 73 20 73 68 6f 77 6e 2e 0a 20 2a 20 20 20 20 20 2d 20 22 65 64 69 74 22 20 2d 20 | ker.is.shown...*.....-."edit".-. |
183c20 | 66 6f 72 20 65 64 69 74 69 6e 67 20 61 20 62 6f 6f 6b 6d 61 72 6b 20 69 74 65 6d 20 6f 72 20 61 | for.editing.a.bookmark.item.or.a |
183c40 | 20 66 6f 6c 64 65 72 2e 0a 20 2a 20 20 20 20 20 20 20 40 20 74 79 70 65 20 28 53 74 72 69 6e 67 | .folder...*.......@.type.(String |
183c60 | 29 2e 20 50 6f 73 73 69 62 6c 65 20 76 61 6c 75 65 73 3a 0a 20 2a 20 20 20 20 20 20 20 20 20 2d | )..Possible.values:..*.........- |
183c80 | 20 22 62 6f 6f 6b 6d 61 72 6b 22 0a 20 2a 20 20 20 20 20 20 20 20 20 20 20 40 20 69 74 65 6d 49 | ."bookmark"..*...........@.itemI |
183ca0 | 64 20 28 49 6e 74 65 67 65 72 29 20 2d 20 74 68 65 20 69 64 20 6f 66 20 74 68 65 20 62 6f 6f 6b | d.(Integer).-.the.id.of.the.book |
183cc0 | 6d 61 72 6b 20 69 74 65 6d 2e 0a 20 2a 20 20 20 20 20 20 20 20 20 2d 20 22 66 6f 6c 64 65 72 22 | mark.item...*.........-."folder" |
183ce0 | 20 28 61 6c 73 6f 20 61 70 70 6c 69 65 73 20 74 6f 20 6c 69 76 65 6d 61 72 6b 73 29 0a 20 2a 20 | .(also.applies.to.livemarks)..*. |
183d00 | 20 20 20 20 20 20 20 20 20 20 40 20 69 74 65 6d 49 64 20 28 49 6e 74 65 67 65 72 29 20 2d 20 74 | ..........@.itemId.(Integer).-.t |
183d20 | 68 65 20 69 64 20 6f 66 20 74 68 65 20 66 6f 6c 64 65 72 2e 0a 20 2a 20 20 20 40 20 68 69 64 64 | he.id.of.the.folder...*...@.hidd |
183d40 | 65 6e 52 6f 77 73 20 28 53 74 72 69 6e 67 73 20 61 72 72 61 79 29 20 2d 20 6f 70 74 69 6f 6e 61 | enRows.(Strings.array).-.optiona |
183d60 | 6c 2c 20 6c 69 73 74 20 6f 66 20 72 6f 77 73 20 74 6f 20 62 65 20 68 69 64 64 65 6e 0a 20 2a 20 | l,.list.of.rows.to.be.hidden..*. |
183d80 | 20 20 20 20 72 65 67 61 72 64 6c 65 73 73 20 6f 66 20 74 68 65 20 69 74 65 6d 20 65 64 69 74 65 | ....regardless.of.the.item.edite |
183da0 | 64 20 6f 72 20 61 64 64 65 64 20 62 79 20 74 68 65 20 64 69 61 6c 6f 67 2e 0a 20 2a 20 20 20 20 | d.or.added.by.the.dialog...*.... |
183dc0 | 20 50 6f 73 73 69 62 6c 65 20 76 61 6c 75 65 73 3a 0a 20 2a 20 20 20 20 20 2d 20 22 74 69 74 6c | .Possible.values:..*.....-."titl |
183de0 | 65 22 0a 20 2a 20 20 20 20 20 2d 20 22 6c 6f 63 61 74 69 6f 6e 22 0a 20 2a 20 20 20 20 20 2d 20 | e"..*.....-."location"..*.....-. |
183e00 | 22 64 65 73 63 72 69 70 74 69 6f 6e 22 0a 20 2a 20 20 20 20 20 2d 20 22 6b 65 79 77 6f 72 64 22 | "description"..*.....-."keyword" |
183e20 | 0a 20 2a 20 20 20 20 20 2d 20 22 74 61 67 73 22 0a 20 2a 20 20 20 20 20 2d 20 22 6c 6f 61 64 49 | ..*.....-."tags"..*.....-."loadI |
183e40 | 6e 53 69 64 65 62 61 72 22 0a 20 2a 20 20 20 20 20 2d 20 22 66 65 65 64 4c 6f 63 61 74 69 6f 6e | nSidebar"..*.....-."feedLocation |
183e60 | 22 0a 20 2a 20 20 20 20 20 2d 20 22 73 69 74 65 4c 6f 63 61 74 69 6f 6e 22 0a 20 2a 20 20 20 20 | "..*.....-."siteLocation"..*.... |
183e80 | 20 2d 20 22 66 6f 6c 64 65 72 50 69 63 6b 65 72 22 20 2d 20 68 69 64 65 73 20 62 6f 74 68 20 74 | .-."folderPicker".-.hides.both.t |
183ea0 | 68 65 20 74 72 65 65 20 61 6e 64 20 74 68 65 20 6d 65 6e 75 2e 0a 20 2a 20 20 20 40 20 72 65 61 | he.tree.and.the.menu...*...@.rea |
183ec0 | 64 4f 6e 6c 79 20 28 42 6f 6f 6c 65 61 6e 29 20 2d 20 6f 70 74 69 6f 6e 61 6c 2c 20 73 74 61 74 | dOnly.(Boolean).-.optional,.stat |
183ee0 | 65 73 20 69 66 20 74 68 65 20 70 61 6e 65 6c 20 73 68 6f 75 6c 64 20 62 65 20 72 65 61 64 2d 6f | es.if.the.panel.should.be.read-o |
183f00 | 6e 6c 79 0a 20 2a 0a 20 2a 20 77 69 6e 64 6f 77 2e 61 72 67 75 6d 65 6e 74 73 5b 30 5d 2e 70 65 | nly..*..*.window.arguments[0].pe |
183f20 | 72 66 6f 72 6d 65 64 20 69 73 20 73 65 74 20 74 6f 20 74 72 75 65 20 69 66 20 61 6e 79 20 74 72 | rformed.is.set.to.true.if.any.tr |
183f40 | 61 6e 73 61 63 74 69 6f 6e 20 68 61 73 0a 20 2a 20 62 65 65 6e 20 70 65 72 66 6f 72 6d 65 64 20 | ansaction.has..*.been.performed. |
183f60 | 62 79 20 74 68 65 20 64 69 61 6c 6f 67 2e 0a 20 2a 2f 0a 0a 63 6f 6e 73 74 20 42 4f 4f 4b 4d 41 | by.the.dialog...*/..const.BOOKMA |
183f80 | 52 4b 5f 49 54 45 4d 20 3d 20 30 3b 0a 63 6f 6e 73 74 20 42 4f 4f 4b 4d 41 52 4b 5f 46 4f 4c 44 | RK_ITEM.=.0;.const.BOOKMARK_FOLD |
183fa0 | 45 52 20 3d 20 31 3b 0a 63 6f 6e 73 74 20 4c 49 56 45 4d 41 52 4b 5f 43 4f 4e 54 41 49 4e 45 52 | ER.=.1;.const.LIVEMARK_CONTAINER |
183fc0 | 20 3d 20 32 3b 0a 0a 63 6f 6e 73 74 20 41 43 54 49 4f 4e 5f 45 44 49 54 20 3d 20 30 3b 0a 63 6f | .=.2;..const.ACTION_EDIT.=.0;.co |
183fe0 | 6e 73 74 20 41 43 54 49 4f 4e 5f 41 44 44 20 3d 20 31 3b 0a 0a 76 61 72 20 42 6f 6f 6b 6d 61 72 | nst.ACTION_ADD.=.1;..var.Bookmar |
184000 | 6b 50 72 6f 70 65 72 74 69 65 73 50 61 6e 65 6c 20 3d 20 7b 0a 0a 20 20 2f 2a 2a 20 55 49 20 54 | kPropertiesPanel.=.{..../**.UI.T |
184020 | 65 78 74 20 53 74 72 69 6e 67 73 20 2a 2f 0a 20 20 5f 5f 73 74 72 69 6e 67 73 3a 20 6e 75 6c 6c | ext.Strings.*/...__strings:.null |
184040 | 2c 0a 20 20 67 65 74 20 5f 73 74 72 69 6e 67 73 28 29 20 7b 0a 20 20 20 20 69 66 20 28 21 74 68 | ,...get._strings().{.....if.(!th |
184060 | 69 73 2e 5f 5f 73 74 72 69 6e 67 73 29 20 7b 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 5f 73 74 72 | is.__strings).{.......this.__str |
184080 | 69 6e 67 73 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 | ings.=.document.getElementById(" |
1840a0 | 73 74 72 69 6e 67 42 75 6e 64 6c 65 22 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 72 65 74 75 72 6e | stringBundle");.....}.....return |
1840c0 | 20 74 68 69 73 2e 5f 5f 73 74 72 69 6e 67 73 3b 0a 20 20 7d 2c 0a 0a 20 20 5f 61 63 74 69 6f 6e | .this.__strings;...},...._action |
1840e0 | 3a 20 6e 75 6c 6c 2c 0a 20 20 5f 69 74 65 6d 54 79 70 65 3a 20 6e 75 6c 6c 2c 0a 20 20 5f 69 74 | :.null,..._itemType:.null,..._it |
184100 | 65 6d 49 64 3a 20 2d 31 2c 0a 20 20 5f 75 72 69 3a 20 6e 75 6c 6c 2c 0a 20 20 5f 6c 6f 61 64 49 | emId:.-1,..._uri:.null,..._loadI |
184120 | 6e 53 69 64 65 62 61 72 3a 20 66 61 6c 73 65 2c 0a 20 20 5f 74 69 74 6c 65 3a 20 22 22 2c 0a 20 | nSidebar:.false,..._title:."",.. |
184140 | 20 5f 64 65 73 63 72 69 70 74 69 6f 6e 3a 20 22 22 2c 0a 20 20 5f 55 52 49 73 3a 20 5b 5d 2c 0a | ._description:."",..._URIs:.[],. |
184160 | 20 20 5f 6b 65 79 77 6f 72 64 3a 20 22 22 2c 0a 20 20 5f 70 6f 73 74 44 61 74 61 3a 20 6e 75 6c | .._keyword:."",..._postData:.nul |
184180 | 6c 2c 0a 20 20 5f 63 68 61 72 53 65 74 3a 20 22 22 2c 0a 20 20 5f 66 65 65 64 55 52 49 3a 20 6e | l,..._charSet:."",..._feedURI:.n |
1841a0 | 75 6c 6c 2c 0a 20 20 5f 73 69 74 65 55 52 49 3a 20 6e 75 6c 6c 2c 0a 0a 20 20 5f 64 65 66 61 75 | ull,..._siteURI:.null,...._defau |
1841c0 | 6c 74 49 6e 73 65 72 74 69 6f 6e 50 6f 69 6e 74 3a 20 6e 75 6c 6c 2c 0a 20 20 5f 68 69 64 64 65 | ltInsertionPoint:.null,..._hidde |
1841e0 | 6e 52 6f 77 73 3a 20 5b 5d 2c 0a 20 20 5f 62 61 74 63 68 69 6e 67 3a 20 66 61 6c 73 65 2c 0a 20 | nRows:.[],..._batching:.false,.. |
184200 | 20 5f 72 65 61 64 4f 6e 6c 79 3a 20 66 61 6c 73 65 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 54 | ._readOnly:.false,..../**....*.T |
184220 | 68 69 73 20 6d 65 74 68 6f 64 20 72 65 74 75 72 6e 73 20 74 68 65 20 63 6f 72 72 65 63 74 20 6c | his.method.returns.the.correct.l |
184240 | 61 62 65 6c 20 66 6f 72 20 74 68 65 20 64 69 61 6c 6f 67 27 73 20 22 61 63 63 65 70 74 22 0a 20 | abel.for.the.dialog's."accept".. |
184260 | 20 20 2a 20 62 75 74 74 6f 6e 20 62 61 73 65 64 20 6f 6e 20 74 68 65 20 76 61 72 69 61 6e 74 20 | ..*.button.based.on.the.variant. |
184280 | 6f 66 20 74 68 65 20 64 69 61 6c 6f 67 2e 0a 20 20 20 2a 2f 0a 20 20 5f 67 65 74 41 63 63 65 70 | of.the.dialog.....*/..._getAccep |
1842a0 | 74 4c 61 62 65 6c 3a 20 66 75 6e 63 74 69 6f 6e 20 42 50 50 5f 5f 67 65 74 41 63 63 65 70 74 4c | tLabel:.function.BPP__getAcceptL |
1842c0 | 61 62 65 6c 28 29 20 7b 0a 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 61 63 74 69 6f 6e 20 3d 3d | abel().{.....if.(this._action.== |
1842e0 | 20 41 43 54 49 4f 4e 5f 41 44 44 29 20 7b 0a 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 55 | .ACTION_ADD).{.......if.(this._U |
184300 | 52 49 73 2e 6c 65 6e 67 74 68 29 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e | RIs.length).........return.this. |
184320 | 5f 73 74 72 69 6e 67 73 2e 67 65 74 53 74 72 69 6e 67 28 22 64 69 61 6c 6f 67 41 63 63 65 70 74 | _strings.getString("dialogAccept |
184340 | 4c 61 62 65 6c 41 64 64 4d 75 6c 74 69 22 29 3b 0a 0a 20 20 20 20 20 20 69 66 20 28 74 68 69 73 | LabelAddMulti");........if.(this |
184360 | 2e 5f 69 74 65 6d 54 79 70 65 20 3d 3d 20 4c 49 56 45 4d 41 52 4b 5f 43 4f 4e 54 41 49 4e 45 52 | ._itemType.==.LIVEMARK_CONTAINER |
184380 | 29 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 73 74 72 69 6e 67 73 2e 67 | ).........return.this._strings.g |
1843a0 | 65 74 53 74 72 69 6e 67 28 22 64 69 61 6c 6f 67 41 63 63 65 70 74 4c 61 62 65 6c 41 64 64 4c 69 | etString("dialogAcceptLabelAddLi |
1843c0 | 76 65 6d 61 72 6b 22 29 3b 0a 0a 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 64 75 6d 6d 79 | vemark");........if.(this._dummy |
1843e0 | 49 74 65 6d 20 7c 7c 20 74 68 69 73 2e 5f 6c 6f 61 64 49 6e 53 69 64 65 62 61 72 29 0a 20 20 20 | Item.||.this._loadInSidebar).... |
184400 | 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 73 74 72 69 6e 67 73 2e 67 65 74 53 74 72 | .....return.this._strings.getStr |
184420 | 69 6e 67 28 22 64 69 61 6c 6f 67 41 63 63 65 70 74 4c 61 62 65 6c 41 64 64 49 74 65 6d 22 29 3b | ing("dialogAcceptLabelAddItem"); |
184440 | 0a 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 73 74 72 69 6e 67 73 2e 67 65 74 | ........return.this._strings.get |
184460 | 53 74 72 69 6e 67 28 22 64 69 61 6c 6f 67 41 63 63 65 70 74 4c 61 62 65 6c 53 61 76 65 49 74 65 | String("dialogAcceptLabelSaveIte |
184480 | 6d 22 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 73 74 72 69 | m");.....}.....return.this._stri |
1844a0 | 6e 67 73 2e 67 65 74 53 74 72 69 6e 67 28 22 64 69 61 6c 6f 67 41 63 63 65 70 74 4c 61 62 65 6c | ngs.getString("dialogAcceptLabel |
1844c0 | 45 64 69 74 22 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 54 68 69 73 20 6d 65 | Edit");...},..../**....*.This.me |
1844e0 | 74 68 6f 64 20 72 65 74 75 72 6e 73 20 74 68 65 20 63 6f 72 72 65 63 74 20 74 69 74 6c 65 20 66 | thod.returns.the.correct.title.f |
184500 | 6f 72 20 74 68 65 20 63 75 72 72 65 6e 74 20 76 61 72 69 61 6e 74 0a 20 20 20 2a 20 6f 66 20 74 | or.the.current.variant....*.of.t |
184520 | 68 69 73 20 64 69 61 6c 6f 67 2e 0a 20 20 20 2a 2f 0a 20 20 5f 67 65 74 44 69 61 6c 6f 67 54 69 | his.dialog.....*/..._getDialogTi |
184540 | 74 6c 65 3a 20 66 75 6e 63 74 69 6f 6e 20 42 50 50 5f 5f 67 65 74 44 69 61 6c 6f 67 54 69 74 6c | tle:.function.BPP__getDialogTitl |
184560 | 65 28 29 20 7b 0a 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 61 63 74 69 6f 6e 20 3d 3d 20 41 43 | e().{.....if.(this._action.==.AC |
184580 | 54 49 4f 4e 5f 41 44 44 29 20 7b 0a 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 69 74 65 6d | TION_ADD).{.......if.(this._item |
1845a0 | 54 79 70 65 20 3d 3d 20 42 4f 4f 4b 4d 41 52 4b 5f 49 54 45 4d 29 0a 20 20 20 20 20 20 20 20 72 | Type.==.BOOKMARK_ITEM).........r |
1845c0 | 65 74 75 72 6e 20 74 68 69 73 2e 5f 73 74 72 69 6e 67 73 2e 67 65 74 53 74 72 69 6e 67 28 22 64 | eturn.this._strings.getString("d |
1845e0 | 69 61 6c 6f 67 54 69 74 6c 65 41 64 64 42 6f 6f 6b 6d 61 72 6b 22 29 3b 0a 20 20 20 20 20 20 69 | ialogTitleAddBookmark");.......i |
184600 | 66 20 28 74 68 69 73 2e 5f 69 74 65 6d 54 79 70 65 20 3d 3d 20 4c 49 56 45 4d 41 52 4b 5f 43 4f | f.(this._itemType.==.LIVEMARK_CO |
184620 | 4e 54 41 49 4e 45 52 29 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 73 74 | NTAINER).........return.this._st |
184640 | 72 69 6e 67 73 2e 67 65 74 53 74 72 69 6e 67 28 22 64 69 61 6c 6f 67 54 69 74 6c 65 41 64 64 4c | rings.getString("dialogTitleAddL |
184660 | 69 76 65 6d 61 72 6b 22 29 3b 0a 0a 20 20 20 20 20 20 2f 2f 20 61 64 64 20 66 6f 6c 64 65 72 0a | ivemark");........//.add.folder. |
184680 | 20 20 20 20 20 20 4e 53 5f 41 53 53 45 52 54 28 74 68 69 73 2e 5f 69 74 65 6d 54 79 70 65 20 3d | ......NS_ASSERT(this._itemType.= |
1846a0 | 3d 20 42 4f 4f 4b 4d 41 52 4b 5f 46 4f 4c 44 45 52 2c 20 22 55 6e 6b 6e 6f 77 6e 20 69 74 65 6d | =.BOOKMARK_FOLDER,."Unknown.item |
1846c0 | 20 74 79 70 65 22 29 3b 0a 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 55 52 49 73 2e 6c 65 | .type");.......if.(this._URIs.le |
1846e0 | 6e 67 74 68 29 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 73 74 72 69 6e | ngth).........return.this._strin |
184700 | 67 73 2e 67 65 74 53 74 72 69 6e 67 28 22 64 69 61 6c 6f 67 54 69 74 6c 65 41 64 64 4d 75 6c 74 | gs.getString("dialogTitleAddMult |
184720 | 69 22 29 3b 0a 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 73 74 72 69 6e 67 73 | i");........return.this._strings |
184740 | 2e 67 65 74 53 74 72 69 6e 67 28 22 64 69 61 6c 6f 67 54 69 74 6c 65 41 64 64 46 6f 6c 64 65 72 | .getString("dialogTitleAddFolder |
184760 | 22 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 61 63 74 69 6f 6e 20 3d | ");.....}.....if.(this._action.= |
184780 | 3d 20 41 43 54 49 4f 4e 5f 45 44 49 54 29 20 7b 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 | =.ACTION_EDIT).{.......return.th |
1847a0 | 69 73 2e 5f 73 74 72 69 6e 67 73 2e 67 65 74 46 6f 72 6d 61 74 74 65 64 53 74 72 69 6e 67 28 22 | is._strings.getFormattedString(" |
1847c0 | 64 69 61 6c 6f 67 54 69 74 6c 65 45 64 69 74 22 2c 20 5b 74 68 69 73 2e 5f 74 69 74 6c 65 5d 29 | dialogTitleEdit",.[this._title]) |
1847e0 | 3b 0a 20 20 20 20 7d 0a 20 20 20 20 72 65 74 75 72 6e 20 22 22 3b 0a 20 20 7d 2c 0a 0a 20 20 2f | ;.....}.....return."";...},..../ |
184800 | 2a 2a 0a 20 20 20 2a 20 44 65 74 65 72 6d 69 6e 65 73 20 74 68 65 20 69 6e 69 74 69 61 6c 20 64 | **....*.Determines.the.initial.d |
184820 | 61 74 61 20 66 6f 72 20 74 68 65 20 69 74 65 6d 20 65 64 69 74 65 64 20 6f 72 20 61 64 64 65 64 | ata.for.the.item.edited.or.added |
184840 | 20 62 79 20 74 68 69 73 20 64 69 61 6c 6f 67 0a 20 20 20 2a 2f 0a 20 20 5f 64 65 74 65 72 6d 69 | .by.this.dialog....*/..._determi |
184860 | 6e 65 49 74 65 6d 49 6e 66 6f 3a 20 66 75 6e 63 74 69 6f 6e 20 42 50 50 5f 5f 64 65 74 65 72 6d | neItemInfo:.function.BPP__determ |
184880 | 69 6e 65 49 74 65 6d 49 6e 66 6f 28 29 20 7b 0a 20 20 20 20 76 61 72 20 64 69 61 6c 6f 67 49 6e | ineItemInfo().{.....var.dialogIn |
1848a0 | 66 6f 20 3d 20 77 69 6e 64 6f 77 2e 61 72 67 75 6d 65 6e 74 73 5b 30 5d 3b 0a 20 20 20 20 74 68 | fo.=.window.arguments[0];.....th |
1848c0 | 69 73 2e 5f 61 63 74 69 6f 6e 20 3d 20 64 69 61 6c 6f 67 49 6e 66 6f 2e 61 63 74 69 6f 6e 20 3d | is._action.=.dialogInfo.action.= |
1848e0 | 3d 20 22 61 64 64 22 20 3f 20 41 43 54 49 4f 4e 5f 41 44 44 20 3a 20 41 43 54 49 4f 4e 5f 45 44 | =."add".?.ACTION_ADD.:.ACTION_ED |
184900 | 49 54 3b 0a 20 20 20 20 74 68 69 73 2e 5f 68 69 64 64 65 6e 52 6f 77 73 20 3d 20 64 69 61 6c 6f | IT;.....this._hiddenRows.=.dialo |
184920 | 67 49 6e 66 6f 2e 68 69 64 64 65 6e 52 6f 77 73 20 3f 20 64 69 61 6c 6f 67 49 6e 66 6f 2e 68 69 | gInfo.hiddenRows.?.dialogInfo.hi |
184940 | 64 64 65 6e 52 6f 77 73 20 3a 20 5b 5d 3b 0a 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 61 63 74 | ddenRows.:.[];.....if.(this._act |
184960 | 69 6f 6e 20 3d 3d 20 41 43 54 49 4f 4e 5f 41 44 44 29 20 7b 0a 20 20 20 20 20 20 4e 53 5f 41 53 | ion.==.ACTION_ADD).{.......NS_AS |
184980 | 53 45 52 54 28 22 74 79 70 65 22 20 69 6e 20 64 69 61 6c 6f 67 49 6e 66 6f 2c 20 22 6d 69 73 73 | SERT("type".in.dialogInfo,."miss |
1849a0 | 69 6e 67 20 74 79 70 65 20 70 72 6f 70 65 72 74 79 20 66 6f 72 20 61 64 64 20 61 63 74 69 6f 6e | ing.type.property.for.add.action |
1849c0 | 22 29 3b 0a 0a 20 20 20 20 20 20 69 66 20 28 22 74 69 74 6c 65 22 20 69 6e 20 64 69 61 6c 6f 67 | ");........if.("title".in.dialog |
1849e0 | 49 6e 66 6f 29 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 74 69 74 6c 65 20 3d 20 64 69 61 6c | Info).........this._title.=.dial |
184a00 | 6f 67 49 6e 66 6f 2e 74 69 74 6c 65 3b 0a 0a 20 20 20 20 20 20 69 66 20 28 22 64 65 66 61 75 6c | ogInfo.title;........if.("defaul |
184a20 | 74 49 6e 73 65 72 74 69 6f 6e 50 6f 69 6e 74 22 20 69 6e 20 64 69 61 6c 6f 67 49 6e 66 6f 29 20 | tInsertionPoint".in.dialogInfo). |
184a40 | 7b 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 64 65 66 61 75 6c 74 49 6e 73 65 72 74 69 6f 6e | {.........this._defaultInsertion |
184a60 | 50 6f 69 6e 74 20 3d 20 64 69 61 6c 6f 67 49 6e 66 6f 2e 64 65 66 61 75 6c 74 49 6e 73 65 72 74 | Point.=.dialogInfo.defaultInsert |
184a80 | 69 6f 6e 50 6f 69 6e 74 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 65 6c 73 65 0a 20 20 20 | ionPoint;.......}.......else.... |
184aa0 | 20 20 20 20 20 74 68 69 73 2e 5f 64 65 66 61 75 6c 74 49 6e 73 65 72 74 69 6f 6e 50 6f 69 6e 74 | .....this._defaultInsertionPoint |
184ac0 | 20 3d 0a 20 20 20 20 20 20 20 20 20 20 6e 65 77 20 49 6e 73 65 72 74 69 6f 6e 50 6f 69 6e 74 28 | .=...........new.InsertionPoint( |
184ae0 | 50 6c 61 63 65 73 55 74 69 6c 73 2e 62 6f 6f 6b 6d 61 72 6b 73 4d 65 6e 75 46 6f 6c 64 65 72 49 | PlacesUtils.bookmarksMenuFolderI |
184b00 | 64 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | d,.............................. |
184b20 | 50 6c 61 63 65 73 55 74 69 6c 73 2e 62 6f 6f 6b 6d 61 72 6b 73 2e 44 45 46 41 55 4c 54 5f 49 4e | PlacesUtils.bookmarks.DEFAULT_IN |
184b40 | 44 45 58 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | DEX,............................ |
184b60 | 20 20 43 69 2e 6e 73 49 54 72 65 65 56 69 65 77 2e 44 52 4f 50 5f 4f 4e 29 3b 0a 0a 20 20 20 20 | ..Ci.nsITreeView.DROP_ON);...... |
184b80 | 20 20 73 77 69 74 63 68 28 64 69 61 6c 6f 67 49 6e 66 6f 2e 74 79 70 65 29 20 7b 0a 20 20 20 20 | ..switch(dialogInfo.type).{..... |
184ba0 | 20 20 20 20 63 61 73 65 20 22 62 6f 6f 6b 6d 61 72 6b 22 3a 0a 20 20 20 20 20 20 20 20 20 20 74 | ....case."bookmark":...........t |
184bc0 | 68 69 73 2e 5f 69 74 65 6d 54 79 70 65 20 3d 20 42 4f 4f 4b 4d 41 52 4b 5f 49 54 45 4d 3b 0a 20 | his._itemType.=.BOOKMARK_ITEM;.. |
184be0 | 20 20 20 20 20 20 20 20 20 69 66 20 28 22 75 72 69 22 20 69 6e 20 64 69 61 6c 6f 67 49 6e 66 6f | .........if.("uri".in.dialogInfo |
184c00 | 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 4e 53 5f 41 53 53 45 52 54 28 64 69 61 6c 6f 67 | ).{.............NS_ASSERT(dialog |
184c20 | 49 6e 66 6f 2e 75 72 69 20 69 6e 73 74 61 6e 63 65 6f 66 20 43 69 2e 6e 73 49 55 52 49 2c 0a 20 | Info.uri.instanceof.Ci.nsIURI,.. |
184c40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 75 72 69 20 70 72 6f 70 65 72 | ....................."uri.proper |
184c60 | 74 79 20 73 68 6f 75 6c 64 20 62 65 20 61 20 75 72 69 20 6f 62 6a 65 63 74 22 29 3b 0a 20 20 20 | ty.should.be.a.uri.object");.... |
184c80 | 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 75 72 69 20 3d 20 64 69 61 6c 6f 67 49 6e 66 6f 2e | .........this._uri.=.dialogInfo. |
184ca0 | 75 72 69 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 79 70 65 6f 66 28 74 68 69 73 | uri;.............if.(typeof(this |
184cc0 | 2e 5f 74 69 74 6c 65 29 20 21 3d 20 22 73 74 72 69 6e 67 22 29 20 7b 0a 20 20 20 20 20 20 20 20 | ._title).!=."string").{......... |
184ce0 | 20 20 20 20 20 20 74 68 69 73 2e 5f 74 69 74 6c 65 20 3d 20 74 68 69 73 2e 5f 67 65 74 55 52 49 | ......this._title.=.this._getURI |
184d00 | 54 69 74 6c 65 46 72 6f 6d 48 69 73 74 6f 72 79 28 74 68 69 73 2e 5f 75 72 69 29 20 7c 7c 0a 20 | TitleFromHistory(this._uri).||.. |
184d20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e | ...........................this. |
184d40 | 5f 75 72 69 2e 73 70 65 63 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 | _uri.spec;.............}........ |
184d60 | 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 20 20 20 20 | ...}...........else.{........... |
184d80 | 20 20 74 68 69 73 2e 5f 75 72 69 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 5f 75 72 69 28 22 | ..this._uri.=.PlacesUtils._uri(" |
184da0 | 61 62 6f 75 74 3a 62 6c 61 6e 6b 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e | about:blank");.............this. |
184dc0 | 5f 74 69 74 6c 65 20 3d 20 74 68 69 73 2e 5f 73 74 72 69 6e 67 73 2e 67 65 74 53 74 72 69 6e 67 | _title.=.this._strings.getString |
184de0 | 28 22 6e 65 77 42 6f 6f 6b 6d 61 72 6b 44 65 66 61 75 6c 74 22 29 3b 0a 20 20 20 20 20 20 20 20 | ("newBookmarkDefault");......... |
184e00 | 20 20 20 20 74 68 69 73 2e 5f 64 75 6d 6d 79 49 74 65 6d 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 | ....this._dummyItem.=.true;..... |
184e20 | 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 22 6c 6f 61 64 42 6f 6f 6b | ......}............if.("loadBook |
184e40 | 6d 61 72 6b 49 6e 53 69 64 65 62 61 72 22 20 69 6e 20 64 69 61 6c 6f 67 49 6e 66 6f 29 0a 20 20 | markInSidebar".in.dialogInfo)... |
184e60 | 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 6c 6f 61 64 49 6e 53 69 64 65 62 61 72 20 3d 20 | ..........this._loadInSidebar.=. |
184e80 | 64 69 61 6c 6f 67 49 6e 66 6f 2e 6c 6f 61 64 42 6f 6f 6b 6d 61 72 6b 49 6e 53 69 64 65 62 61 72 | dialogInfo.loadBookmarkInSidebar |
184ea0 | 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 22 6b 65 79 77 6f 72 64 22 20 69 6e 20 64 69 | ;............if.("keyword".in.di |
184ec0 | 61 6c 6f 67 49 6e 66 6f 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 6b 65 | alogInfo).{.............this._ke |
184ee0 | 79 77 6f 72 64 20 3d 20 64 69 61 6c 6f 67 49 6e 66 6f 2e 6b 65 79 77 6f 72 64 3b 0a 20 20 20 20 | yword.=.dialogInfo.keyword;..... |
184f00 | 20 20 20 20 20 20 20 20 69 66 20 28 22 70 6f 73 74 44 61 74 61 22 20 69 6e 20 64 69 61 6c 6f 67 | ........if.("postData".in.dialog |
184f20 | 49 6e 66 6f 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 70 6f 73 74 44 61 | Info)...............this._postDa |
184f40 | 74 61 20 3d 20 64 69 61 6c 6f 67 49 6e 66 6f 2e 70 6f 73 74 44 61 74 61 3b 0a 20 20 20 20 20 20 | ta.=.dialogInfo.postData;....... |
184f60 | 20 20 20 20 20 20 69 66 20 28 22 63 68 61 72 53 65 74 22 20 69 6e 20 64 69 61 6c 6f 67 49 6e 66 | ......if.("charSet".in.dialogInf |
184f80 | 6f 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 63 68 61 72 53 65 74 20 3d | o)...............this._charSet.= |
184fa0 | 20 64 69 61 6c 6f 67 49 6e 66 6f 2e 63 68 61 72 53 65 74 3b 0a 20 20 20 20 20 20 20 20 20 20 7d | .dialogInfo.charSet;...........} |
184fc0 | 0a 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 0a 20 20 20 20 20 20 20 20 63 61 73 65 20 | ...........break;..........case. |
184fe0 | 22 66 6f 6c 64 65 72 22 3a 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 69 74 65 6d 54 79 | "folder":...........this._itemTy |
185000 | 70 65 20 3d 20 42 4f 4f 4b 4d 41 52 4b 5f 46 4f 4c 44 45 52 3b 0a 20 20 20 20 20 20 20 20 20 20 | pe.=.BOOKMARK_FOLDER;........... |
185020 | 69 66 20 28 21 74 68 69 73 2e 5f 74 69 74 6c 65 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 | if.(!this._title).{............. |
185040 | 69 66 20 28 22 55 52 49 4c 69 73 74 22 20 69 6e 20 64 69 61 6c 6f 67 49 6e 66 6f 29 20 7b 0a 20 | if.("URIList".in.dialogInfo).{.. |
185060 | 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 74 69 74 6c 65 20 3d 20 74 68 69 73 2e | .............this._title.=.this. |
185080 | 5f 73 74 72 69 6e 67 73 2e 67 65 74 53 74 72 69 6e 67 28 22 62 6f 6f 6b 6d 61 72 6b 41 6c 6c 54 | _strings.getString("bookmarkAllT |
1850a0 | 61 62 73 44 65 66 61 75 6c 74 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 | absDefault");...............this |
1850c0 | 2e 5f 55 52 49 73 20 3d 20 64 69 61 6c 6f 67 49 6e 66 6f 2e 55 52 49 4c 69 73 74 3b 0a 20 20 20 | ._URIs.=.dialogInfo.URIList;.... |
1850e0 | 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 0a 20 20 20 20 | .........}.............else..... |
185100 | 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 74 69 74 6c 65 20 3d 20 74 68 69 73 2e 5f 73 74 | ..........this._title.=.this._st |
185120 | 72 69 6e 67 73 2e 67 65 74 53 74 72 69 6e 67 28 22 6e 65 77 46 6f 6c 64 65 72 44 65 66 61 75 6c | rings.getString("newFolderDefaul |
185140 | 74 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 64 75 6d 6d 79 49 74 | t");...............this._dummyIt |
185160 | 65 6d 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 | em.=.true;...........}.......... |
185180 | 20 62 72 65 61 6b 3b 0a 0a 20 20 20 20 20 20 20 20 63 61 73 65 20 22 6c 69 76 65 6d 61 72 6b 22 | .break;..........case."livemark" |
1851a0 | 3a 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 69 74 65 6d 54 79 70 65 20 3d 20 4c 49 56 | :...........this._itemType.=.LIV |
1851c0 | 45 4d 41 52 4b 5f 43 4f 4e 54 41 49 4e 45 52 3b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 22 | EMARK_CONTAINER;...........if.(" |
1851e0 | 66 65 65 64 55 52 49 22 20 69 6e 20 64 69 61 6c 6f 67 49 6e 66 6f 29 0a 20 20 20 20 20 20 20 20 | feedURI".in.dialogInfo)......... |
185200 | 20 20 20 20 74 68 69 73 2e 5f 66 65 65 64 55 52 49 20 3d 20 64 69 61 6c 6f 67 49 6e 66 6f 2e 66 | ....this._feedURI.=.dialogInfo.f |
185220 | 65 65 64 55 52 49 3b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 22 73 69 74 65 55 52 49 22 20 | eedURI;...........if.("siteURI". |
185240 | 69 6e 20 64 69 61 6c 6f 67 49 6e 66 6f 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e | in.dialogInfo).............this. |
185260 | 5f 73 69 74 65 55 52 49 20 3d 20 64 69 61 6c 6f 67 49 6e 66 6f 2e 73 69 74 65 55 52 49 3b 0a 0a | _siteURI.=.dialogInfo.siteURI;.. |
185280 | 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 74 68 69 73 2e 5f 74 69 74 6c 65 29 20 7b 0a 20 20 | ..........if.(!this._title).{... |
1852a0 | 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 66 65 65 64 55 52 49 29 20 7b 0a 20 | ..........if.(this._feedURI).{.. |
1852c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 74 69 74 6c 65 20 3d 20 74 68 69 73 2e | .............this._title.=.this. |
1852e0 | 5f 67 65 74 55 52 49 54 69 74 6c 65 46 72 6f 6d 48 69 73 74 6f 72 79 28 74 68 69 73 2e 5f 66 65 | _getURITitleFromHistory(this._fe |
185300 | 65 64 55 52 49 29 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | edURI).||....................... |
185320 | 20 20 20 20 20 20 74 68 69 73 2e 5f 66 65 65 64 55 52 49 2e 73 70 65 63 3b 0a 20 20 20 20 20 20 | ......this._feedURI.spec;....... |
185340 | 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 20 | ......}.............else........ |
185360 | 20 20 20 20 20 20 20 74 68 69 73 2e 5f 74 69 74 6c 65 20 3d 20 74 68 69 73 2e 5f 73 74 72 69 6e | .......this._title.=.this._strin |
185380 | 67 73 2e 67 65 74 53 74 72 69 6e 67 28 22 6e 65 77 4c 69 76 65 6d 61 72 6b 44 65 66 61 75 6c 74 | gs.getString("newLivemarkDefault |
1853a0 | 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 69 | ");...........}.......}........i |
1853c0 | 66 20 28 22 64 65 73 63 72 69 70 74 69 6f 6e 22 20 69 6e 20 64 69 61 6c 6f 67 49 6e 66 6f 29 0a | f.("description".in.dialogInfo). |
1853e0 | 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 64 65 73 63 72 69 70 74 69 6f 6e 20 3d 20 64 69 61 6c | ........this._description.=.dial |
185400 | 6f 67 49 6e 66 6f 2e 64 65 73 63 72 69 70 74 69 6f 6e 3b 0a 20 20 20 20 7d 0a 20 20 20 20 65 6c | ogInfo.description;.....}.....el |
185420 | 73 65 20 7b 20 2f 2f 20 65 64 69 74 0a 20 20 20 20 20 20 4e 53 5f 41 53 53 45 52 54 28 22 69 74 | se.{.//.edit.......NS_ASSERT("it |
185440 | 65 6d 49 64 22 20 69 6e 20 64 69 61 6c 6f 67 49 6e 66 6f 29 3b 0a 20 20 20 20 20 20 74 68 69 73 | emId".in.dialogInfo);.......this |
185460 | 2e 5f 69 74 65 6d 49 64 20 3d 20 64 69 61 6c 6f 67 49 6e 66 6f 2e 69 74 65 6d 49 64 3b 0a 20 20 | ._itemId.=.dialogInfo.itemId;... |
185480 | 20 20 20 20 74 68 69 73 2e 5f 74 69 74 6c 65 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 62 6f | ....this._title.=.PlacesUtils.bo |
1854a0 | 6f 6b 6d 61 72 6b 73 2e 67 65 74 49 74 65 6d 54 69 74 6c 65 28 74 68 69 73 2e 5f 69 74 65 6d 49 | okmarks.getItemTitle(this._itemI |
1854c0 | 64 29 3b 0a 20 20 20 20 20 20 2f 2f 20 44 6f 6e 27 74 20 73 68 6f 77 20 66 6f 6c 64 65 72 50 69 | d);.......//.Don't.show.folderPi |
1854e0 | 63 6b 65 72 20 77 68 65 6e 20 65 64 69 74 69 6e 67 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 68 69 | cker.when.editing.......this._hi |
185500 | 64 64 65 6e 52 6f 77 73 2e 70 75 73 68 28 22 66 6f 6c 64 65 72 50 69 63 6b 65 72 22 29 3b 0a 20 | ddenRows.push("folderPicker");.. |
185520 | 20 20 20 20 20 74 68 69 73 2e 5f 72 65 61 64 4f 6e 6c 79 20 3d 20 21 21 64 69 61 6c 6f 67 49 6e | .....this._readOnly.=.!!dialogIn |
185540 | 66 6f 2e 72 65 61 64 4f 6e 6c 79 3b 0a 0a 20 20 20 20 20 20 73 77 69 74 63 68 20 28 64 69 61 6c | fo.readOnly;........switch.(dial |
185560 | 6f 67 49 6e 66 6f 2e 74 79 70 65 29 20 7b 0a 20 20 20 20 20 20 20 20 63 61 73 65 20 22 62 6f 6f | ogInfo.type).{.........case."boo |
185580 | 6b 6d 61 72 6b 22 3a 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 69 74 65 6d 54 79 70 65 | kmark":...........this._itemType |
1855a0 | 20 3d 20 42 4f 4f 4b 4d 41 52 4b 5f 49 54 45 4d 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 | .=.BOOKMARK_ITEM;............thi |
1855c0 | 73 2e 5f 75 72 69 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 62 6f 6f 6b 6d 61 72 6b 73 2e 67 | s._uri.=.PlacesUtils.bookmarks.g |
1855e0 | 65 74 42 6f 6f 6b 6d 61 72 6b 55 52 49 28 74 68 69 73 2e 5f 69 74 65 6d 49 64 29 3b 0a 20 20 20 | etBookmarkURI(this._itemId);.... |
185600 | 20 20 20 20 20 20 20 2f 2f 20 6b 65 79 77 6f 72 64 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 | .......//.keyword...........this |
185620 | 2e 5f 6b 65 79 77 6f 72 64 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 62 6f 6f 6b 6d 61 72 6b | ._keyword.=.PlacesUtils.bookmark |
185640 | 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | s............................... |
185660 | 20 20 20 20 20 20 20 2e 67 65 74 4b 65 79 77 6f 72 64 46 6f 72 42 6f 6f 6b 6d 61 72 6b 28 74 68 | ........getKeywordForBookmark(th |
185680 | 69 73 2e 5f 69 74 65 6d 49 64 29 3b 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 4c 6f 61 64 20 49 | is._itemId);...........//.Load.I |
1856a0 | 6e 20 53 69 64 65 62 61 72 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 6c 6f 61 64 49 6e | n.Sidebar...........this._loadIn |
1856c0 | 53 69 64 65 62 61 72 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 61 6e 6e 6f 74 61 74 69 6f 6e | Sidebar.=.PlacesUtils.annotation |
1856e0 | 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | s............................... |
185700 | 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 69 74 65 6d 48 61 73 41 6e 6e 6f 74 61 74 69 6f 6e 28 | ..............itemHasAnnotation( |
185720 | 74 68 69 73 2e 5f 69 74 65 6d 49 64 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | this._itemId,................... |
185740 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
185760 | 20 20 20 20 20 20 20 20 20 20 20 20 4c 4f 41 44 5f 49 4e 5f 53 49 44 45 42 41 52 5f 41 4e 4e 4f | ............LOAD_IN_SIDEBAR_ANNO |
185780 | 29 3b 0a 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 0a 20 20 20 20 20 20 20 20 63 61 73 | );...........break;..........cas |
1857a0 | 65 20 22 66 6f 6c 64 65 72 22 3a 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 50 6c 61 63 65 73 | e."folder":...........if.(Places |
1857c0 | 55 74 69 6c 73 2e 6c 69 76 65 6d 61 72 6b 73 2e 69 73 4c 69 76 65 6d 61 72 6b 28 74 68 69 73 2e | Utils.livemarks.isLivemark(this. |
1857e0 | 5f 69 74 65 6d 49 64 29 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 69 74 | _itemId)).{.............this._it |
185800 | 65 6d 54 79 70 65 20 3d 20 4c 49 56 45 4d 41 52 4b 5f 43 4f 4e 54 41 49 4e 45 52 3b 0a 20 20 20 | emType.=.LIVEMARK_CONTAINER;.... |
185820 | 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 66 65 65 64 55 52 49 20 3d 20 50 6c 61 63 65 73 55 | .........this._feedURI.=.PlacesU |
185840 | 74 69 6c 73 2e 6c 69 76 65 6d 61 72 6b 73 2e 67 65 74 46 65 65 64 55 52 49 28 74 68 69 73 2e 5f | tils.livemarks.getFeedURI(this._ |
185860 | 69 74 65 6d 49 64 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 73 69 74 65 55 | itemId);.............this._siteU |
185880 | 52 49 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 6c 69 76 65 6d 61 72 6b 73 2e 67 65 74 53 69 | RI.=.PlacesUtils.livemarks.getSi |
1858a0 | 74 65 55 52 49 28 74 68 69 73 2e 5f 69 74 65 6d 49 64 29 3b 0a 20 20 20 20 20 20 20 20 20 20 7d | teURI(this._itemId);...........} |
1858c0 | 0a 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 | ...........else.............this |
1858e0 | 2e 5f 69 74 65 6d 54 79 70 65 20 3d 20 42 4f 4f 4b 4d 41 52 4b 5f 46 4f 4c 44 45 52 3b 0a 20 20 | ._itemType.=.BOOKMARK_FOLDER;... |
185900 | 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 2f 2f | ........break;.......}........// |
185920 | 20 44 65 73 63 72 69 70 74 69 6f 6e 0a 20 20 20 20 20 20 69 66 20 28 50 6c 61 63 65 73 55 74 69 | .Description.......if.(PlacesUti |
185940 | 6c 73 2e 61 6e 6e 6f 74 61 74 69 6f 6e 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ls.annotations.................. |
185960 | 20 20 20 20 2e 69 74 65 6d 48 61 73 41 6e 6e 6f 74 61 74 69 6f 6e 28 74 68 69 73 2e 5f 69 74 65 | .....itemHasAnnotation(this._ite |
185980 | 6d 49 64 2c 20 44 45 53 43 52 49 50 54 49 4f 4e 5f 41 4e 4e 4f 29 29 20 7b 0a 20 20 20 20 20 20 | mId,.DESCRIPTION_ANNO)).{....... |
1859a0 | 20 20 74 68 69 73 2e 5f 64 65 73 63 72 69 70 74 69 6f 6e 20 3d 20 50 6c 61 63 65 73 55 74 69 6c | ..this._description.=.PlacesUtil |
1859c0 | 73 2e 61 6e 6e 6f 74 61 74 69 6f 6e 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | s.annotations................... |
1859e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 49 74 65 6d 41 6e 6e | ......................getItemAnn |
185a00 | 6f 74 61 74 69 6f 6e 28 74 68 69 73 2e 5f 69 74 65 6d 49 64 2c 0a 20 20 20 20 20 20 20 20 20 20 | otation(this._itemId,........... |
185a20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
185a40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 44 45 53 43 52 49 50 54 49 4f 4e 5f 41 4e 4e 4f | ................DESCRIPTION_ANNO |
185a60 | 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 | );.......}.....}...},..../**.... |
185a80 | 2a 20 54 68 69 73 20 6d 65 74 68 6f 64 20 72 65 74 75 72 6e 73 20 74 68 65 20 74 69 74 6c 65 20 | *.This.method.returns.the.title. |
185aa0 | 73 74 72 69 6e 67 20 63 6f 72 72 65 73 70 6f 6e 64 69 6e 67 20 74 6f 20 61 20 67 69 76 65 6e 20 | string.corresponding.to.a.given. |
185ac0 | 55 52 49 2e 0a 20 20 20 2a 20 49 66 20 6e 6f 6e 65 20 69 73 20 61 76 61 69 6c 61 62 6c 65 20 66 | URI.....*.If.none.is.available.f |
185ae0 | 72 6f 6d 20 74 68 65 20 62 6f 6f 6b 6d 61 72 6b 20 73 65 72 76 69 63 65 20 28 70 72 6f 62 61 62 | rom.the.bookmark.service.(probab |
185b00 | 6c 79 20 62 65 63 61 75 73 65 0a 20 20 20 2a 20 74 68 65 20 67 69 76 65 6e 20 55 52 49 20 64 6f | ly.because....*.the.given.URI.do |
185b20 | 65 73 6e 27 74 20 61 70 70 65 61 72 20 69 6e 20 62 6f 6f 6b 6d 61 72 6b 73 20 6f 72 20 68 69 73 | esn't.appear.in.bookmarks.or.his |
185b40 | 74 6f 72 79 29 2c 20 77 65 20 73 79 6e 74 68 65 73 69 7a 65 0a 20 20 20 2a 20 61 20 74 69 74 6c | tory),.we.synthesize....*.a.titl |
185b60 | 65 20 66 72 6f 6d 20 74 68 65 20 66 69 72 73 74 20 31 30 30 20 63 68 61 72 61 63 74 65 72 73 20 | e.from.the.first.100.characters. |
185b80 | 6f 66 20 74 68 65 20 55 52 49 2e 0a 20 20 20 2a 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 61 55 52 | of.the.URI.....*....*.@param.aUR |
185ba0 | 49 0a 20 20 20 2a 20 20 20 20 20 20 20 20 6e 73 49 55 52 49 20 6f 62 6a 65 63 74 20 66 6f 72 20 | I....*........nsIURI.object.for. |
185bc0 | 77 68 69 63 68 20 77 65 20 77 61 6e 74 20 74 68 65 20 74 69 74 6c 65 0a 20 20 20 2a 0a 20 20 20 | which.we.want.the.title....*.... |
185be0 | 2a 20 40 72 65 74 75 72 6e 73 20 61 20 74 69 74 6c 65 20 73 74 72 69 6e 67 0a 20 20 20 2a 2f 0a | *.@returns.a.title.string....*/. |
185c00 | 20 20 5f 67 65 74 55 52 49 54 69 74 6c 65 46 72 6f 6d 48 69 73 74 6f 72 79 3a 20 66 75 6e 63 74 | .._getURITitleFromHistory:.funct |
185c20 | 69 6f 6e 20 42 50 50 5f 5f 67 65 74 55 52 49 54 69 74 6c 65 46 72 6f 6d 48 69 73 74 6f 72 79 28 | ion.BPP__getURITitleFromHistory( |
185c40 | 61 55 52 49 29 20 7b 0a 20 20 20 20 4e 53 5f 41 53 53 45 52 54 28 61 55 52 49 20 69 6e 73 74 61 | aURI).{.....NS_ASSERT(aURI.insta |
185c60 | 6e 63 65 6f 66 20 43 69 2e 6e 73 49 55 52 49 29 3b 0a 0a 20 20 20 20 2f 2f 20 67 65 74 20 74 68 | nceof.Ci.nsIURI);......//.get.th |
185c80 | 65 20 74 69 74 6c 65 20 66 72 6f 6d 20 48 69 73 74 6f 72 79 0a 20 20 20 20 72 65 74 75 72 6e 20 | e.title.from.History.....return. |
185ca0 | 50 6c 61 63 65 73 55 74 69 6c 73 2e 68 69 73 74 6f 72 79 2e 67 65 74 50 61 67 65 54 69 74 6c 65 | PlacesUtils.history.getPageTitle |
185cc0 | 28 61 55 52 49 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 54 68 69 73 20 6d 65 | (aURI);...},..../**....*.This.me |
185ce0 | 74 68 6f 64 20 73 68 6f 75 6c 64 20 62 65 20 63 61 6c 6c 65 64 20 62 79 20 74 68 65 20 6f 6e 6c | thod.should.be.called.by.the.onl |
185d00 | 6f 61 64 20 6f 66 20 74 68 65 20 42 6f 6f 6b 6d 61 72 6b 20 50 72 6f 70 65 72 74 69 65 73 0a 20 | oad.of.the.Bookmark.Properties.. |
185d20 | 20 20 2a 20 64 69 61 6c 6f 67 20 74 6f 20 69 6e 69 74 69 61 6c 69 7a 65 20 74 68 65 20 73 74 61 | ..*.dialog.to.initialize.the.sta |
185d40 | 74 65 20 6f 66 20 74 68 65 20 70 61 6e 65 6c 2e 0a 20 20 20 2a 2f 0a 20 20 6f 6e 44 69 61 6c 6f | te.of.the.panel.....*/...onDialo |
185d60 | 67 4c 6f 61 64 3a 20 66 75 6e 63 74 69 6f 6e 20 42 50 50 5f 6f 6e 44 69 61 6c 6f 67 4c 6f 61 64 | gLoad:.function.BPP_onDialogLoad |
185d80 | 28 29 20 7b 0a 20 20 20 20 74 68 69 73 2e 5f 64 65 74 65 72 6d 69 6e 65 49 74 65 6d 49 6e 66 6f | ().{.....this._determineItemInfo |
185da0 | 28 29 3b 0a 0a 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 74 69 74 6c 65 20 3d 20 74 68 69 73 2e 5f | ();......document.title.=.this._ |
185dc0 | 67 65 74 44 69 61 6c 6f 67 54 69 74 6c 65 28 29 3b 0a 20 20 20 20 76 61 72 20 61 63 63 65 70 74 | getDialogTitle();.....var.accept |
185de0 | 42 75 74 74 6f 6e 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 64 6f 63 75 6d 65 6e 74 45 6c 65 6d 65 6e | Button.=.document.documentElemen |
185e00 | 74 2e 67 65 74 42 75 74 74 6f 6e 28 22 61 63 63 65 70 74 22 29 3b 0a 20 20 20 20 61 63 63 65 70 | t.getButton("accept");.....accep |
185e20 | 74 42 75 74 74 6f 6e 2e 6c 61 62 65 6c 20 3d 20 74 68 69 73 2e 5f 67 65 74 41 63 63 65 70 74 4c | tButton.label.=.this._getAcceptL |
185e40 | 61 62 65 6c 28 29 3b 0a 0a 20 20 20 20 74 68 69 73 2e 5f 62 65 67 69 6e 42 61 74 63 68 28 29 3b | abel();......this._beginBatch(); |
185e60 | 0a 0a 20 20 20 20 73 77 69 74 63 68 20 28 74 68 69 73 2e 5f 61 63 74 69 6f 6e 29 20 7b 0a 20 20 | ......switch.(this._action).{... |
185e80 | 20 20 20 20 63 61 73 65 20 41 43 54 49 4f 4e 5f 45 44 49 54 3a 0a 20 20 20 20 20 20 20 20 74 68 | ....case.ACTION_EDIT:.........th |
185ea0 | 69 73 2e 5f 66 69 6c 6c 45 64 69 74 50 72 6f 70 65 72 74 69 65 73 28 29 3b 0a 20 20 20 20 20 20 | is._fillEditProperties();....... |
185ec0 | 20 20 61 63 63 65 70 74 42 75 74 74 6f 6e 2e 64 69 73 61 62 6c 65 64 20 3d 20 74 68 69 73 2e 5f | ..acceptButton.disabled.=.this._ |
185ee0 | 72 65 61 64 4f 6e 6c 79 3b 0a 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 63 | readOnly;.........break;.......c |
185f00 | 61 73 65 20 41 43 54 49 4f 4e 5f 41 44 44 3a 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 66 69 | ase.ACTION_ADD:.........this._fi |
185f20 | 6c 6c 41 64 64 50 72 6f 70 65 72 74 69 65 73 28 29 3b 0a 20 20 20 20 20 20 20 20 2f 2f 20 69 66 | llAddProperties();.........//.if |
185f40 | 20 74 68 69 73 20 69 73 20 61 6e 20 75 72 69 20 72 65 6c 61 74 65 64 20 64 69 61 6c 6f 67 20 64 | .this.is.an.uri.related.dialog.d |
185f60 | 69 73 61 62 6c 65 20 61 63 63 65 70 74 20 62 75 74 74 6f 6e 20 75 6e 74 69 6c 0a 20 20 20 20 20 | isable.accept.button.until...... |
185f80 | 20 20 20 2f 2f 20 74 68 65 20 75 73 65 72 20 66 69 6c 6c 73 20 61 6e 20 75 72 69 20 76 61 6c 75 | ...//.the.user.fills.an.uri.valu |
185fa0 | 65 2e 0a 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 69 74 65 6d 54 79 70 65 20 3d 3d | e..........if.(this._itemType.== |
185fc0 | 20 42 4f 4f 4b 4d 41 52 4b 5f 49 54 45 4d 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 | .BOOKMARK_ITEM.||.............th |
185fe0 | 69 73 2e 5f 69 74 65 6d 54 79 70 65 20 3d 3d 20 4c 49 56 45 4d 41 52 4b 5f 43 4f 4e 54 41 49 4e | is._itemType.==.LIVEMARK_CONTAIN |
186000 | 45 52 29 0a 20 20 20 20 20 20 20 20 20 20 61 63 63 65 70 74 42 75 74 74 6f 6e 2e 64 69 73 61 62 | ER)...........acceptButton.disab |
186020 | 6c 65 64 20 3d 20 21 74 68 69 73 2e 5f 69 6e 70 75 74 49 73 56 61 6c 69 64 28 29 3b 0a 20 20 20 | led.=.!this._inputIsValid();.... |
186040 | 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 2f 2f 20 57 68 65 6e 20 63 | .....break;.....}......//.When.c |
186060 | 6f 6c 6c 61 70 73 69 62 6c 65 20 65 6c 65 6d 65 6e 74 73 20 63 68 61 6e 67 65 20 74 68 65 69 72 | ollapsible.elements.change.their |
186080 | 20 63 6f 6c 6c 61 70 73 65 64 20 61 74 74 72 69 62 75 74 65 20 77 65 20 6d 75 73 74 0a 20 20 20 | .collapsed.attribute.we.must.... |
1860a0 | 20 2f 2f 20 72 65 73 69 7a 65 20 74 68 65 20 64 69 61 6c 6f 67 2e 0a 20 20 20 20 2f 2f 20 73 69 | .//.resize.the.dialog......//.si |
1860c0 | 7a 65 54 6f 43 6f 6e 74 65 6e 74 20 69 73 20 6e 6f 74 20 75 73 61 62 6c 65 20 64 75 65 20 74 6f | zeToContent.is.not.usable.due.to |
1860e0 | 20 62 75 67 20 39 30 32 37 36 2c 20 73 6f 20 77 65 27 6c 6c 20 75 73 65 20 72 65 73 69 7a 65 54 | .bug.90276,.so.we'll.use.resizeT |
186100 | 6f 0a 20 20 20 20 2f 2f 20 69 6e 73 74 65 61 64 20 61 6e 64 20 63 61 63 68 65 20 74 68 65 20 65 | o.....//.instead.and.cache.the.e |
186120 | 6c 65 6d 65 6e 74 20 73 69 7a 65 2e 20 53 65 65 20 57 53 75 63 6b 73 20 69 6e 20 74 68 65 20 6c | lement.size..See.WSucks.in.the.l |
186140 | 65 67 61 63 79 0a 20 20 20 20 2f 2f 20 55 49 20 63 6f 64 65 20 28 61 64 64 42 6f 6f 6b 6d 61 72 | egacy.....//.UI.code.(addBookmar |
186160 | 6b 32 2e 6a 73 29 2e 0a 20 20 20 20 69 66 20 28 21 74 68 69 73 2e 5f 65 6c 65 6d 65 6e 74 28 22 | k2.js)......if.(!this._element(" |
186180 | 74 61 67 73 52 6f 77 22 29 2e 63 6f 6c 6c 61 70 73 65 64 29 20 7b 0a 20 20 20 20 20 20 74 68 69 | tagsRow").collapsed).{.......thi |
1861a0 | 73 2e 5f 65 6c 65 6d 65 6e 74 28 22 74 61 67 73 53 65 6c 65 63 74 6f 72 52 6f 77 22 29 0a 20 20 | s._element("tagsSelectorRow")... |
1861c0 | 20 20 20 20 20 20 20 20 2e 61 64 64 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 28 22 44 4f 4d 41 74 | .........addEventListener("DOMAt |
1861e0 | 74 72 4d 6f 64 69 66 69 65 64 22 2c 20 74 68 69 73 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 20 7d | trModified",.this,.false);.....} |
186200 | 0a 20 20 20 20 69 66 20 28 21 74 68 69 73 2e 5f 65 6c 65 6d 65 6e 74 28 22 66 6f 6c 64 65 72 52 | .....if.(!this._element("folderR |
186220 | 6f 77 22 29 2e 63 6f 6c 6c 61 70 73 65 64 29 20 7b 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 65 6c | ow").collapsed).{.......this._el |
186240 | 65 6d 65 6e 74 28 22 66 6f 6c 64 65 72 54 72 65 65 52 6f 77 22 29 0a 20 20 20 20 20 20 20 20 20 | ement("folderTreeRow").......... |
186260 | 20 2e 61 64 64 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 28 22 44 4f 4d 41 74 74 72 4d 6f 64 69 66 | ..addEventListener("DOMAttrModif |
186280 | 69 65 64 22 2c 20 74 68 69 73 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 69 | ied",.this,.false);.....}......i |
1862a0 | 66 20 28 21 74 68 69 73 2e 5f 72 65 61 64 4f 6e 6c 79 29 20 7b 0a 20 20 20 20 20 20 2f 2f 20 4c | f.(!this._readOnly).{.......//.L |
1862c0 | 69 73 74 65 6e 20 6f 6e 20 75 72 69 20 66 69 65 6c 64 73 20 74 6f 20 65 6e 61 62 6c 65 20 61 63 | isten.on.uri.fields.to.enable.ac |
1862e0 | 63 65 70 74 20 62 75 74 74 6f 6e 20 69 66 20 69 6e 70 75 74 20 69 73 20 76 61 6c 69 64 0a 20 20 | cept.button.if.input.is.valid... |
186300 | 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 69 74 65 6d 54 79 70 65 20 3d 3d 20 42 4f 4f 4b 4d 41 | ....if.(this._itemType.==.BOOKMA |
186320 | 52 4b 5f 49 54 45 4d 29 20 7b 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 65 6c 65 6d 65 6e 74 | RK_ITEM).{.........this._element |
186340 | 28 22 6c 6f 63 61 74 69 6f 6e 46 69 65 6c 64 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 2e 61 | ("locationField")..............a |
186360 | 64 64 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 28 22 69 6e 70 75 74 22 2c 20 74 68 69 73 2c 20 66 | ddEventListener("input",.this,.f |
186380 | 61 6c 73 65 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 65 6c 73 65 20 69 66 20 28 74 68 | alse);.......}.......else.if.(th |
1863a0 | 69 73 2e 5f 69 74 65 6d 54 79 70 65 20 3d 3d 20 4c 49 56 45 4d 41 52 4b 5f 43 4f 4e 54 41 49 4e | is._itemType.==.LIVEMARK_CONTAIN |
1863c0 | 45 52 29 20 7b 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 65 6c 65 6d 65 6e 74 28 22 66 65 65 | ER).{.........this._element("fee |
1863e0 | 64 4c 6f 63 61 74 69 6f 6e 46 69 65 6c 64 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 2e 61 64 | dLocationField")..............ad |
186400 | 64 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 28 22 69 6e 70 75 74 22 2c 20 74 68 69 73 2c 20 66 61 | dEventListener("input",.this,.fa |
186420 | 6c 73 65 29 3b 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 65 6c 65 6d 65 6e 74 28 22 73 69 74 | lse);.........this._element("sit |
186440 | 65 4c 6f 63 61 74 69 6f 6e 46 69 65 6c 64 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 2e 61 64 | eLocationField")..............ad |
186460 | 64 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 28 22 69 6e 70 75 74 22 2c 20 74 68 69 73 2c 20 66 61 | dEventListener("input",.this,.fa |
186480 | 6c 73 65 29 3b 0a 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 2f 2f 20 53 65 74 20 6f 6e 20 64 | lse);.......}........//.Set.on.d |
1864a0 | 6f 63 75 6d 65 6e 74 20 74 6f 20 67 65 74 20 74 68 65 20 65 76 65 6e 74 20 62 65 66 6f 72 65 20 | ocument.to.get.the.event.before. |
1864c0 | 61 6e 20 61 75 74 6f 63 6f 6d 70 6c 65 74 65 20 70 6f 70 75 70 20 63 6f 75 6c 64 0a 20 20 20 20 | an.autocomplete.popup.could..... |
1864e0 | 20 20 2f 2f 20 62 65 20 68 69 64 64 65 6e 20 6f 6e 20 45 6e 74 65 72 2e 0a 20 20 20 20 20 20 64 | ..//.be.hidden.on.Enter........d |
186500 | 6f 63 75 6d 65 6e 74 2e 61 64 64 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 28 22 6b 65 79 70 72 65 | ocument.addEventListener("keypre |
186520 | 73 73 22 2c 20 74 68 69 73 2c 20 74 72 75 65 29 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 77 69 6e | ss",.this,.true);.....}......win |
186540 | 64 6f 77 2e 73 69 7a 65 54 6f 43 6f 6e 74 65 6e 74 28 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2f 20 | dow.sizeToContent();...},....//. |
186560 | 6e 73 49 44 4f 4d 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 0a 20 20 5f 65 6c 65 6d 65 6e 74 73 48 | nsIDOMEventListener..._elementsH |
186580 | 65 69 67 68 74 3a 20 5b 5d 2c 0a 20 20 68 61 6e 64 6c 65 45 76 65 6e 74 3a 20 66 75 6e 63 74 69 | eight:.[],...handleEvent:.functi |
1865a0 | 6f 6e 20 42 50 50 5f 68 61 6e 64 6c 65 45 76 65 6e 74 28 61 45 76 65 6e 74 29 20 7b 0a 20 20 20 | on.BPP_handleEvent(aEvent).{.... |
1865c0 | 20 76 61 72 20 74 61 72 67 65 74 20 3d 20 61 45 76 65 6e 74 2e 74 61 72 67 65 74 3b 0a 20 20 20 | .var.target.=.aEvent.target;.... |
1865e0 | 20 73 77 69 74 63 68 20 28 61 45 76 65 6e 74 2e 74 79 70 65 29 20 7b 0a 20 20 20 20 20 20 63 61 | .switch.(aEvent.type).{.......ca |
186600 | 73 65 20 22 6b 65 79 70 72 65 73 73 22 3a 0a 20 20 20 20 20 20 20 20 66 75 6e 63 74 69 6f 6e 20 | se."keypress":.........function. |
186620 | 63 61 6e 41 63 63 65 70 74 44 69 61 6c 6f 67 28 61 45 6c 65 6d 65 6e 74 29 20 7b 0a 20 20 20 20 | canAcceptDialog(aElement).{..... |
186640 | 20 20 20 20 20 20 2f 2f 20 6f 6e 20 45 6e 74 65 72 20 77 65 20 61 63 63 65 70 74 20 74 68 65 20 | ......//.on.Enter.we.accept.the. |
186660 | 64 69 61 6c 6f 67 20 75 6e 6c 65 73 73 3a 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 2d 20 74 68 | dialog.unless:...........//.-.th |
186680 | 65 20 66 6f 6c 64 65 72 20 74 72 65 65 20 69 73 20 66 6f 63 75 73 65 64 0a 20 20 20 20 20 20 20 | e.folder.tree.is.focused........ |
1866a0 | 20 20 20 2f 2f 20 2d 20 61 6e 20 65 78 70 61 6e 64 65 72 20 69 73 20 66 6f 63 75 73 65 64 0a 20 | ...//.-.an.expander.is.focused.. |
1866c0 | 20 20 20 20 20 20 20 20 20 2f 2f 20 2d 20 61 6e 20 61 75 74 6f 63 6f 6d 70 6c 65 74 65 20 28 65 | .........//.-.an.autocomplete.(e |
1866e0 | 67 2e 20 74 61 67 73 29 20 70 6f 70 75 70 20 69 73 20 6f 70 65 6e 0a 20 20 20 20 20 20 20 20 20 | g..tags).popup.is.open.......... |
186700 | 20 2f 2f 20 2d 20 61 20 6d 65 6e 75 6c 69 73 74 20 69 73 20 6f 70 65 6e 0a 20 20 20 20 20 20 20 | .//.-.a.menulist.is.open........ |
186720 | 20 20 20 2f 2f 20 2d 20 61 20 6d 75 6c 74 69 6c 69 6e 65 20 74 65 78 74 62 6f 78 20 69 73 20 66 | ...//.-.a.multiline.textbox.is.f |
186740 | 6f 63 75 73 65 64 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 61 45 6c 65 6d 65 6e 74 | ocused...........return.aElement |
186760 | 2e 6c 6f 63 61 6c 4e 61 6d 65 20 21 3d 20 22 74 72 65 65 22 20 26 26 0a 20 20 20 20 20 20 20 20 | .localName.!=."tree".&&......... |
186780 | 20 20 20 20 20 20 20 20 20 61 45 6c 65 6d 65 6e 74 2e 63 6c 61 73 73 4e 61 6d 65 20 21 3d 20 22 | .........aElement.className.!=." |
1867a0 | 65 78 70 61 6e 64 65 72 2d 75 70 22 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | expander-up".&&................. |
1867c0 | 20 61 45 6c 65 6d 65 6e 74 2e 63 6c 61 73 73 4e 61 6d 65 20 21 3d 20 22 65 78 70 61 6e 64 65 72 | .aElement.className.!=."expander |
1867e0 | 2d 64 6f 77 6e 22 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 21 61 45 6c 65 | -down".&&..................!aEle |
186800 | 6d 65 6e 74 2e 70 6f 70 75 70 4f 70 65 6e 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ment.popupOpen.&&............... |
186820 | 20 20 20 21 61 45 6c 65 6d 65 6e 74 2e 6f 70 65 6e 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 | ...!aElement.open.&&............ |
186840 | 20 20 20 20 20 20 21 28 61 45 6c 65 6d 65 6e 74 2e 6c 6f 63 61 6c 4e 61 6d 65 20 3d 3d 20 22 74 | ......!(aElement.localName.==."t |
186860 | 65 78 74 62 6f 78 22 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 45 | extbox".&&....................aE |
186880 | 6c 65 6d 65 6e 74 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 6d 75 6c 74 69 6c 69 6e 65 22 29 | lement.getAttribute("multiline") |
1868a0 | 20 3d 3d 20 22 74 72 75 65 22 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 69 | .==."true");.........}.........i |
1868c0 | 66 20 28 61 45 76 65 6e 74 2e 6b 65 79 43 6f 64 65 20 3d 3d 20 4b 65 79 45 76 65 6e 74 2e 44 4f | f.(aEvent.keyCode.==.KeyEvent.DO |
1868e0 | 4d 5f 56 4b 5f 52 45 54 55 52 4e 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 63 61 6e 41 63 | M_VK_RETURN.&&.............canAc |
186900 | 63 65 70 74 44 69 61 6c 6f 67 28 74 61 72 67 65 74 29 29 0a 20 20 20 20 20 20 20 20 20 20 64 6f | ceptDialog(target))...........do |
186920 | 63 75 6d 65 6e 74 2e 64 6f 63 75 6d 65 6e 74 45 6c 65 6d 65 6e 74 2e 61 63 63 65 70 74 44 69 61 | cument.documentElement.acceptDia |
186940 | 6c 6f 67 28 29 3b 0a 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 0a 20 20 20 20 20 20 63 61 73 | log();.........break;........cas |
186960 | 65 20 22 69 6e 70 75 74 22 3a 0a 20 20 20 20 20 20 20 20 69 66 20 28 74 61 72 67 65 74 2e 69 64 | e."input":.........if.(target.id |
186980 | 20 3d 3d 20 22 65 64 69 74 42 4d 50 61 6e 65 6c 5f 6c 6f 63 61 74 69 6f 6e 46 69 65 6c 64 22 20 | .==."editBMPanel_locationField". |
1869a0 | 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 61 72 67 65 74 2e 69 64 20 3d 3d 20 22 65 64 69 | ||.............target.id.==."edi |
1869c0 | 74 42 4d 50 61 6e 65 6c 5f 66 65 65 64 4c 6f 63 61 74 69 6f 6e 46 69 65 6c 64 22 20 7c 7c 0a 20 | tBMPanel_feedLocationField".||.. |
1869e0 | 20 20 20 20 20 20 20 20 20 20 20 74 61 72 67 65 74 2e 69 64 20 3d 3d 20 22 65 64 69 74 42 4d 50 | ...........target.id.==."editBMP |
186a00 | 61 6e 65 6c 5f 73 69 74 65 4c 6f 63 61 74 69 6f 6e 46 69 65 6c 64 22 29 20 7b 0a 20 20 20 20 20 | anel_siteLocationField").{...... |
186a20 | 20 20 20 20 20 2f 2f 20 43 68 65 63 6b 20 75 72 69 20 66 69 65 6c 64 73 20 74 6f 20 65 6e 61 62 | .....//.Check.uri.fields.to.enab |
186a40 | 6c 65 20 61 63 63 65 70 74 20 62 75 74 74 6f 6e 20 69 66 20 69 6e 70 75 74 20 69 73 20 76 61 6c | le.accept.button.if.input.is.val |
186a60 | 69 64 0a 20 20 20 20 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 64 6f 63 75 6d 65 6e 74 45 6c | id...........document.documentEl |
186a80 | 65 6d 65 6e 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 42 75 74 74 | ement....................getButt |
186aa0 | 6f 6e 28 22 61 63 63 65 70 74 22 29 2e 64 69 73 61 62 6c 65 64 20 3d 20 21 74 68 69 73 2e 5f 69 | on("accept").disabled.=.!this._i |
186ac0 | 6e 70 75 74 49 73 56 61 6c 69 64 28 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 | nputIsValid();.........}........ |
186ae0 | 20 62 72 65 61 6b 3b 0a 0a 20 20 20 20 20 20 63 61 73 65 20 22 44 4f 4d 41 74 74 72 4d 6f 64 69 | .break;........case."DOMAttrModi |
186b00 | 66 69 65 64 22 3a 0a 20 20 20 20 20 20 20 20 2f 2f 20 74 68 69 73 20 69 73 20 63 61 6c 6c 65 64 | fied":.........//.this.is.called |
186b20 | 20 77 68 65 6e 20 63 6f 6c 6c 61 70 73 69 6e 67 20 61 20 6e 6f 64 65 2c 20 62 75 74 20 61 6c 73 | .when.collapsing.a.node,.but.als |
186b40 | 6f 20 69 74 73 20 64 69 72 65 63 74 20 63 68 69 6c 64 72 65 6e 2c 0a 20 20 20 20 20 20 20 20 2f | o.its.direct.children,........./ |
186b60 | 2f 20 77 65 20 6f 6e 6c 79 20 6e 65 65 64 20 74 6f 20 72 65 73 69 7a 65 20 77 68 65 6e 20 74 68 | /.we.only.need.to.resize.when.th |
186b80 | 65 20 6f 72 69 67 69 6e 61 6c 20 6e 6f 64 65 20 63 68 61 6e 67 65 73 2e 0a 20 20 20 20 20 20 20 | e.original.node.changes......... |
186ba0 | 20 69 66 20 28 28 74 61 72 67 65 74 2e 69 64 20 3d 3d 20 22 65 64 69 74 42 4d 50 61 6e 65 6c 5f | .if.((target.id.==."editBMPanel_ |
186bc0 | 74 61 67 73 53 65 6c 65 63 74 6f 72 52 6f 77 22 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 | tagsSelectorRow".||............. |
186be0 | 20 74 61 72 67 65 74 2e 69 64 20 3d 3d 20 22 65 64 69 74 42 4d 50 61 6e 65 6c 5f 66 6f 6c 64 65 | .target.id.==."editBMPanel_folde |
186c00 | 72 54 72 65 65 52 6f 77 22 29 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 61 45 76 65 6e 74 | rTreeRow").&&.............aEvent |
186c20 | 2e 61 74 74 72 4e 61 6d 65 20 3d 3d 20 22 63 6f 6c 6c 61 70 73 65 64 22 20 26 26 0a 20 20 20 20 | .attrName.==."collapsed".&&..... |
186c40 | 20 20 20 20 20 20 20 20 74 61 72 67 65 74 20 3d 3d 20 61 45 76 65 6e 74 2e 6f 72 69 67 69 6e 61 | ........target.==.aEvent.origina |
186c60 | 6c 54 61 72 67 65 74 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 69 64 20 3d 20 74 61 | lTarget).{...........var.id.=.ta |
186c80 | 72 67 65 74 2e 69 64 3b 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 6e 65 77 48 65 69 67 68 74 | rget.id;...........var.newHeight |
186ca0 | 20 3d 20 77 69 6e 64 6f 77 2e 6f 75 74 65 72 48 65 69 67 68 74 3b 0a 20 20 20 20 20 20 20 20 20 | .=.window.outerHeight;.......... |
186cc0 | 20 69 66 20 28 61 45 76 65 6e 74 2e 6e 65 77 56 61 6c 75 65 29 20 2f 2f 20 69 73 20 63 6f 6c 6c | .if.(aEvent.newValue).//.is.coll |
186ce0 | 61 70 73 65 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 6e 65 77 48 65 69 67 68 74 20 2d 3d 20 74 | apsed.............newHeight.-=.t |
186d00 | 68 69 73 2e 5f 65 6c 65 6d 65 6e 74 73 48 65 69 67 68 74 5b 69 64 5d 3b 0a 20 20 20 20 20 20 20 | his._elementsHeight[id];........ |
186d20 | 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 65 6c 65 6d | ...else.{.............this._elem |
186d40 | 65 6e 74 73 48 65 69 67 68 74 5b 69 64 5d 20 3d 20 74 61 72 67 65 74 2e 62 6f 78 4f 62 6a 65 63 | entsHeight[id].=.target.boxObjec |
186d60 | 74 2e 68 65 69 67 68 74 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 6e 65 77 48 65 69 67 68 74 20 | t.height;.............newHeight. |
186d80 | 2b 3d 20 74 68 69 73 2e 5f 65 6c 65 6d 65 6e 74 73 48 65 69 67 68 74 5b 69 64 5d 3b 0a 20 20 20 | +=.this._elementsHeight[id];.... |
186da0 | 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 77 69 6e 64 6f 77 2e 72 65 73 69 7a | .......}............window.resiz |
186dc0 | 65 54 6f 28 77 69 6e 64 6f 77 2e 6f 75 74 65 72 57 69 64 74 68 2c 20 6e 65 77 48 65 69 67 68 74 | eTo(window.outerWidth,.newHeight |
186de0 | 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 | );.........}.........break;..... |
186e00 | 7d 0a 20 20 7d 2c 0a 0a 20 20 5f 62 65 67 69 6e 42 61 74 63 68 3a 20 66 75 6e 63 74 69 6f 6e 20 | }...},...._beginBatch:.function. |
186e20 | 42 50 50 5f 5f 62 65 67 69 6e 42 61 74 63 68 28 29 20 7b 0a 20 20 20 20 69 66 20 28 74 68 69 73 | BPP__beginBatch().{.....if.(this |
186e40 | 2e 5f 62 61 74 63 68 69 6e 67 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 20 20 50 | ._batching).......return;......P |
186e60 | 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 70 74 6d 2e 62 65 67 69 6e 42 61 74 63 68 28 29 3b 0a 20 | lacesUIUtils.ptm.beginBatch();.. |
186e80 | 20 20 20 74 68 69 73 2e 5f 62 61 74 63 68 69 6e 67 20 3d 20 74 72 75 65 3b 0a 20 20 7d 2c 0a 0a | ...this._batching.=.true;...},.. |
186ea0 | 20 20 5f 65 6e 64 42 61 74 63 68 3a 20 66 75 6e 63 74 69 6f 6e 20 42 50 50 5f 5f 65 6e 64 42 61 | .._endBatch:.function.BPP__endBa |
186ec0 | 74 63 68 28 29 20 7b 0a 20 20 20 20 69 66 20 28 21 74 68 69 73 2e 5f 62 61 74 63 68 69 6e 67 29 | tch().{.....if.(!this._batching) |
186ee0 | 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 20 20 50 6c 61 63 65 73 55 49 55 74 69 6c | .......return;......PlacesUIUtil |
186f00 | 73 2e 70 74 6d 2e 65 6e 64 42 61 74 63 68 28 29 3b 0a 20 20 20 20 74 68 69 73 2e 5f 62 61 74 63 | s.ptm.endBatch();.....this._batc |
186f20 | 68 69 6e 67 20 3d 20 66 61 6c 73 65 3b 0a 20 20 7d 2c 0a 0a 20 20 5f 66 69 6c 6c 45 64 69 74 50 | hing.=.false;...},...._fillEditP |
186f40 | 72 6f 70 65 72 74 69 65 73 3a 20 66 75 6e 63 74 69 6f 6e 20 42 50 50 5f 5f 66 69 6c 6c 45 64 69 | roperties:.function.BPP__fillEdi |
186f60 | 74 50 72 6f 70 65 72 74 69 65 73 28 29 20 7b 0a 20 20 20 20 67 45 64 69 74 49 74 65 6d 4f 76 65 | tProperties().{.....gEditItemOve |
186f80 | 72 6c 61 79 2e 69 6e 69 74 50 61 6e 65 6c 28 74 68 69 73 2e 5f 69 74 65 6d 49 64 2c 0a 20 20 20 | rlay.initPanel(this._itemId,.... |
186fa0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7b 20 68 69 | ............................{.hi |
186fc0 | 64 64 65 6e 52 6f 77 73 3a 20 74 68 69 73 2e 5f 68 69 64 64 65 6e 52 6f 77 73 2c 0a 20 20 20 20 | ddenRows:.this._hiddenRows,..... |
186fe0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 6f 72 | .............................for |
187000 | 63 65 52 65 61 64 4f 6e 6c 79 3a 20 74 68 69 73 2e 5f 72 65 61 64 4f 6e 6c 79 20 7d 29 3b 0a 20 | ceReadOnly:.this._readOnly.});.. |
187020 | 20 7d 2c 0a 0a 20 20 5f 66 69 6c 6c 41 64 64 50 72 6f 70 65 72 74 69 65 73 3a 20 66 75 6e 63 74 | .},...._fillAddProperties:.funct |
187040 | 69 6f 6e 20 42 50 50 5f 5f 66 69 6c 6c 41 64 64 50 72 6f 70 65 72 74 69 65 73 28 29 20 7b 0a 20 | ion.BPP__fillAddProperties().{.. |
187060 | 20 20 20 74 68 69 73 2e 5f 63 72 65 61 74 65 4e 65 77 49 74 65 6d 28 29 3b 0a 20 20 20 20 2f 2f | ...this._createNewItem();.....// |
187080 | 20 45 64 69 74 20 74 68 65 20 6e 65 77 20 69 74 65 6d 0a 20 20 20 20 67 45 64 69 74 49 74 65 6d | .Edit.the.new.item.....gEditItem |
1870a0 | 4f 76 65 72 6c 61 79 2e 69 6e 69 74 50 61 6e 65 6c 28 74 68 69 73 2e 5f 69 74 65 6d 49 64 2c 0a | Overlay.initPanel(this._itemId,. |
1870c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7b | ...............................{ |
1870e0 | 20 68 69 64 64 65 6e 52 6f 77 73 3a 20 74 68 69 73 2e 5f 68 69 64 64 65 6e 52 6f 77 73 20 7d 29 | .hiddenRows:.this._hiddenRows.}) |
187100 | 3b 0a 20 20 20 20 2f 2f 20 45 6d 70 74 79 20 6c 6f 63 61 74 69 6f 6e 20 66 69 65 6c 64 20 69 66 | ;.....//.Empty.location.field.if |
187120 | 20 74 68 65 20 75 72 69 20 69 73 20 61 62 6f 75 74 3a 62 6c 61 6e 6b 2c 20 74 68 69 73 20 77 61 | .the.uri.is.about:blank,.this.wa |
187140 | 79 20 69 6e 73 65 72 74 69 6e 67 20 61 20 6e 65 77 0a 20 20 20 20 2f 2f 20 75 72 6c 20 77 69 6c | y.inserting.a.new.....//.url.wil |
187160 | 6c 20 62 65 20 65 61 73 69 65 72 20 66 6f 72 20 74 68 65 20 75 73 65 72 2c 20 41 63 63 65 70 74 | l.be.easier.for.the.user,.Accept |
187180 | 20 62 75 74 74 6f 6e 20 77 69 6c 6c 20 62 65 20 61 75 74 6f 6d 61 74 69 63 61 6c 6c 79 0a 20 20 | .button.will.be.automatically... |
1871a0 | 20 20 2f 2f 20 64 69 73 61 62 6c 65 64 20 62 79 20 74 68 65 20 69 6e 70 75 74 20 6c 69 73 74 65 | ..//.disabled.by.the.input.liste |
1871c0 | 6e 65 72 20 75 6e 74 69 6c 20 74 68 65 20 75 73 65 72 20 66 69 6c 6c 73 20 74 68 65 20 66 69 65 | ner.until.the.user.fills.the.fie |
1871e0 | 6c 64 2e 0a 20 20 20 20 76 61 72 20 6c 6f 63 61 74 69 6f 6e 46 69 65 6c 64 20 3d 20 74 68 69 73 | ld......var.locationField.=.this |
187200 | 2e 5f 65 6c 65 6d 65 6e 74 28 22 6c 6f 63 61 74 69 6f 6e 46 69 65 6c 64 22 29 3b 0a 20 20 20 20 | ._element("locationField");..... |
187220 | 69 66 20 28 6c 6f 63 61 74 69 6f 6e 46 69 65 6c 64 2e 76 61 6c 75 65 20 3d 3d 20 22 61 62 6f 75 | if.(locationField.value.==."abou |
187240 | 74 3a 62 6c 61 6e 6b 22 29 0a 20 20 20 20 20 20 6c 6f 63 61 74 69 6f 6e 46 69 65 6c 64 2e 76 61 | t:blank").......locationField.va |
187260 | 6c 75 65 20 3d 20 22 22 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2f 20 6e 73 49 53 75 70 70 6f 72 74 73 | lue.=."";...},....//.nsISupports |
187280 | 0a 20 20 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 3a 20 66 75 6e 63 74 69 6f 6e 20 42 50 50 5f | ...QueryInterface:.function.BPP_ |
1872a0 | 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 28 61 49 49 44 29 20 7b 0a 20 20 20 20 69 66 20 28 61 | QueryInterface(aIID).{.....if.(a |
1872c0 | 49 49 44 2e 65 71 75 61 6c 73 28 43 69 2e 6e 73 49 44 4f 4d 45 76 65 6e 74 4c 69 73 74 65 6e 65 | IID.equals(Ci.nsIDOMEventListene |
1872e0 | 72 29 20 7c 7c 0a 20 20 20 20 20 20 20 20 61 49 49 44 2e 65 71 75 61 6c 73 28 43 69 2e 6e 73 49 | r).||.........aIID.equals(Ci.nsI |
187300 | 53 75 70 70 6f 72 74 73 29 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 3b 0a 0a 20 | Supports)).......return.this;... |
187320 | 20 20 20 74 68 72 6f 77 20 43 72 2e 4e 53 5f 4e 4f 49 4e 54 45 52 46 41 43 45 3b 0a 20 20 7d 2c | ...throw.Cr.NS_NOINTERFACE;...}, |
187340 | 0a 0a 20 20 5f 65 6c 65 6d 65 6e 74 3a 20 66 75 6e 63 74 69 6f 6e 20 42 50 50 5f 5f 65 6c 65 6d | ...._element:.function.BPP__elem |
187360 | 65 6e 74 28 61 49 44 29 20 7b 0a 20 20 20 20 72 65 74 75 72 6e 20 64 6f 63 75 6d 65 6e 74 2e 67 | ent(aID).{.....return.document.g |
187380 | 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 65 64 69 74 42 4d 50 61 6e 65 6c 5f 22 20 2b 20 61 | etElementById("editBMPanel_".+.a |
1873a0 | 49 44 29 3b 0a 20 20 7d 2c 0a 0a 20 20 6f 6e 44 69 61 6c 6f 67 55 6e 6c 6f 61 64 3a 20 66 75 6e | ID);...},....onDialogUnload:.fun |
1873c0 | 63 74 69 6f 6e 20 42 50 50 5f 6f 6e 44 69 61 6c 6f 67 55 6e 6c 6f 61 64 28 29 20 7b 0a 20 20 20 | ction.BPP_onDialogUnload().{.... |
1873e0 | 20 2f 2f 20 67 45 64 69 74 49 74 65 6d 4f 76 65 72 6c 61 79 20 64 6f 65 73 20 6e 6f 74 20 65 78 | .//.gEditItemOverlay.does.not.ex |
187400 | 69 73 74 20 61 6e 79 6d 6f 72 65 20 68 65 72 65 2c 20 73 6f 20 64 6f 6e 27 74 20 72 65 6c 79 20 | ist.anymore.here,.so.don't.rely. |
187420 | 6f 6e 20 69 74 2e 0a 20 20 20 20 2f 2f 20 43 61 6c 6c 69 6e 67 20 72 65 6d 6f 76 65 45 76 65 6e | on.it......//.Calling.removeEven |
187440 | 74 4c 69 73 74 65 6e 65 72 20 77 69 74 68 20 61 72 67 75 6d 65 6e 74 73 20 77 68 69 63 68 20 64 | tListener.with.arguments.which.d |
187460 | 6f 20 6e 6f 74 20 69 64 65 6e 74 69 66 79 20 61 6e 79 0a 20 20 20 20 2f 2f 20 63 75 72 72 65 6e | o.not.identify.any.....//.curren |
187480 | 74 6c 79 20 72 65 67 69 73 74 65 72 65 64 20 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 20 6f 6e 20 | tly.registered.EventListener.on. |
1874a0 | 74 68 65 20 45 76 65 6e 74 54 61 72 67 65 74 20 68 61 73 20 6e 6f 20 65 66 66 65 63 74 2e 0a 20 | the.EventTarget.has.no.effect... |
1874c0 | 20 20 20 74 68 69 73 2e 5f 65 6c 65 6d 65 6e 74 28 22 74 61 67 73 53 65 6c 65 63 74 6f 72 52 6f | ...this._element("tagsSelectorRo |
1874e0 | 77 22 29 0a 20 20 20 20 20 20 20 20 2e 72 65 6d 6f 76 65 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 | w")..........removeEventListener |
187500 | 28 22 44 4f 4d 41 74 74 72 4d 6f 64 69 66 69 65 64 22 2c 20 74 68 69 73 2c 20 66 61 6c 73 65 29 | ("DOMAttrModified",.this,.false) |
187520 | 3b 0a 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 72 65 6d 6f 76 65 45 76 65 6e 74 4c 69 73 74 65 6e | ;.....document.removeEventListen |
187540 | 65 72 28 22 6b 65 79 70 72 65 73 73 22 2c 20 74 68 69 73 2c 20 74 72 75 65 29 3b 0a 20 20 20 20 | er("keypress",.this,.true);..... |
187560 | 74 68 69 73 2e 5f 65 6c 65 6d 65 6e 74 28 22 66 6f 6c 64 65 72 54 72 65 65 52 6f 77 22 29 0a 20 | this._element("folderTreeRow").. |
187580 | 20 20 20 20 20 20 20 2e 72 65 6d 6f 76 65 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 28 22 44 4f 4d | ........removeEventListener("DOM |
1875a0 | 41 74 74 72 4d 6f 64 69 66 69 65 64 22 2c 20 74 68 69 73 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 | AttrModified",.this,.false);.... |
1875c0 | 20 74 68 69 73 2e 5f 65 6c 65 6d 65 6e 74 28 22 6c 6f 63 61 74 69 6f 6e 46 69 65 6c 64 22 29 0a | .this._element("locationField"). |
1875e0 | 20 20 20 20 20 20 20 20 2e 72 65 6d 6f 76 65 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 28 22 69 6e | .........removeEventListener("in |
187600 | 70 75 74 22 2c 20 74 68 69 73 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 20 74 68 69 73 2e 5f 65 6c | put",.this,.false);.....this._el |
187620 | 65 6d 65 6e 74 28 22 66 65 65 64 4c 6f 63 61 74 69 6f 6e 46 69 65 6c 64 22 29 0a 20 20 20 20 20 | ement("feedLocationField")...... |
187640 | 20 20 20 2e 72 65 6d 6f 76 65 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 28 22 69 6e 70 75 74 22 2c | ....removeEventListener("input", |
187660 | 20 74 68 69 73 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 20 74 68 69 73 2e 5f 65 6c 65 6d 65 6e 74 | .this,.false);.....this._element |
187680 | 28 22 73 69 74 65 4c 6f 63 61 74 69 6f 6e 46 69 65 6c 64 22 29 0a 20 20 20 20 20 20 20 20 2e 72 | ("siteLocationField")..........r |
1876a0 | 65 6d 6f 76 65 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 28 22 69 6e 70 75 74 22 2c 20 74 68 69 73 | emoveEventListener("input",.this |
1876c0 | 2c 20 66 61 6c 73 65 29 3b 0a 20 20 7d 2c 0a 0a 20 20 6f 6e 44 69 61 6c 6f 67 41 63 63 65 70 74 | ,.false);...},....onDialogAccept |
1876e0 | 3a 20 66 75 6e 63 74 69 6f 6e 20 42 50 50 5f 6f 6e 44 69 61 6c 6f 67 41 63 63 65 70 74 28 29 20 | :.function.BPP_onDialogAccept(). |
187700 | 7b 0a 20 20 20 20 2f 2f 20 57 65 20 6d 75 73 74 20 62 6c 75 72 20 63 75 72 72 65 6e 74 20 66 6f | {.....//.We.must.blur.current.fo |
187720 | 63 75 73 65 64 20 65 6c 65 6d 65 6e 74 20 74 6f 20 73 61 76 65 20 69 74 73 20 63 68 61 6e 67 65 | cused.element.to.save.its.change |
187740 | 73 20 63 6f 72 72 65 63 74 6c 79 0a 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 63 6f 6d 6d 61 6e 64 | s.correctly.....document.command |
187760 | 44 69 73 70 61 74 63 68 65 72 2e 66 6f 63 75 73 65 64 45 6c 65 6d 65 6e 74 2e 62 6c 75 72 28 29 | Dispatcher.focusedElement.blur() |
187780 | 3b 0a 20 20 20 20 2f 2f 20 54 68 65 20 6f 72 64 65 72 20 68 65 72 65 20 69 73 20 69 6d 70 6f 72 | ;.....//.The.order.here.is.impor |
1877a0 | 74 61 6e 74 21 20 57 65 20 68 61 76 65 20 74 6f 20 75 6e 69 6e 69 74 20 74 68 65 20 70 61 6e 65 | tant!.We.have.to.uninit.the.pane |
1877c0 | 6c 20 66 69 72 73 74 2c 20 6f 74 68 65 72 77 69 73 65 0a 20 20 20 20 2f 2f 20 6c 61 74 65 20 63 | l.first,.otherwise.....//.late.c |
1877e0 | 68 61 6e 67 65 73 20 63 6f 75 6c 64 20 66 6f 72 63 65 20 69 74 20 74 6f 20 63 6f 6d 6d 69 74 20 | hanges.could.force.it.to.commit. |
187800 | 6d 6f 72 65 20 74 72 61 6e 73 61 63 74 69 6f 6e 73 2e 0a 20 20 20 20 67 45 64 69 74 49 74 65 6d | more.transactions......gEditItem |
187820 | 4f 76 65 72 6c 61 79 2e 75 6e 69 6e 69 74 50 61 6e 65 6c 28 74 72 75 65 29 3b 0a 20 20 20 20 67 | Overlay.uninitPanel(true);.....g |
187840 | 45 64 69 74 49 74 65 6d 4f 76 65 72 6c 61 79 20 3d 20 6e 75 6c 6c 3b 0a 20 20 20 20 74 68 69 73 | EditItemOverlay.=.null;.....this |
187860 | 2e 5f 65 6e 64 42 61 74 63 68 28 29 3b 0a 20 20 20 20 77 69 6e 64 6f 77 2e 61 72 67 75 6d 65 6e | ._endBatch();.....window.argumen |
187880 | 74 73 5b 30 5d 2e 70 65 72 66 6f 72 6d 65 64 20 3d 20 74 72 75 65 3b 0a 20 20 7d 2c 0a 0a 20 20 | ts[0].performed.=.true;...},.... |
1878a0 | 6f 6e 44 69 61 6c 6f 67 43 61 6e 63 65 6c 3a 20 66 75 6e 63 74 69 6f 6e 20 42 50 50 5f 6f 6e 44 | onDialogCancel:.function.BPP_onD |
1878c0 | 69 61 6c 6f 67 43 61 6e 63 65 6c 28 29 20 7b 0a 20 20 20 20 2f 2f 20 54 68 65 20 6f 72 64 65 72 | ialogCancel().{.....//.The.order |
1878e0 | 20 68 65 72 65 20 69 73 20 69 6d 70 6f 72 74 61 6e 74 21 20 57 65 20 68 61 76 65 20 74 6f 20 75 | .here.is.important!.We.have.to.u |
187900 | 6e 69 6e 69 74 20 74 68 65 20 70 61 6e 65 6c 20 66 69 72 73 74 2c 20 6f 74 68 65 72 77 69 73 65 | ninit.the.panel.first,.otherwise |
187920 | 0a 20 20 20 20 2f 2f 20 63 68 61 6e 67 65 73 20 64 6f 6e 65 20 61 73 20 70 61 72 74 20 6f 66 20 | .....//.changes.done.as.part.of. |
187940 | 55 6e 64 6f 20 6d 61 79 20 63 68 61 6e 67 65 20 74 68 65 20 70 61 6e 65 6c 20 63 6f 6e 74 65 6e | Undo.may.change.the.panel.conten |
187960 | 74 73 20 61 6e 64 20 62 79 0a 20 20 20 20 2f 2f 20 74 68 61 74 20 66 6f 72 63 65 20 69 74 20 74 | ts.and.by.....//.that.force.it.t |
187980 | 6f 20 63 6f 6d 6d 69 74 20 6d 6f 72 65 20 74 72 61 6e 73 61 63 74 69 6f 6e 73 2e 0a 20 20 20 20 | o.commit.more.transactions...... |
1879a0 | 67 45 64 69 74 49 74 65 6d 4f 76 65 72 6c 61 79 2e 75 6e 69 6e 69 74 50 61 6e 65 6c 28 74 72 75 | gEditItemOverlay.uninitPanel(tru |
1879c0 | 65 29 3b 0a 20 20 20 20 67 45 64 69 74 49 74 65 6d 4f 76 65 72 6c 61 79 20 3d 20 6e 75 6c 6c 3b | e);.....gEditItemOverlay.=.null; |
1879e0 | 0a 20 20 20 20 74 68 69 73 2e 5f 65 6e 64 42 61 74 63 68 28 29 3b 0a 20 20 20 20 50 6c 61 63 65 | .....this._endBatch();.....Place |
187a00 | 73 55 49 55 74 69 6c 73 2e 70 74 6d 2e 75 6e 64 6f 54 72 61 6e 73 61 63 74 69 6f 6e 28 29 3b 0a | sUIUtils.ptm.undoTransaction();. |
187a20 | 20 20 20 20 77 69 6e 64 6f 77 2e 61 72 67 75 6d 65 6e 74 73 5b 30 5d 2e 70 65 72 66 6f 72 6d 65 | ....window.arguments[0].performe |
187a40 | 64 20 3d 20 66 61 6c 73 65 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 54 68 69 73 | d.=.false;...},..../**....*.This |
187a60 | 20 6d 65 74 68 6f 64 20 63 68 65 63 6b 73 20 74 6f 20 73 65 65 20 69 66 20 74 68 65 20 69 6e 70 | .method.checks.to.see.if.the.inp |
187a80 | 75 74 20 66 69 65 6c 64 73 20 61 72 65 20 69 6e 20 61 20 76 61 6c 69 64 20 73 74 61 74 65 2e 0a | ut.fields.are.in.a.valid.state.. |
187aa0 | 20 20 20 2a 0a 20 20 20 2a 20 40 72 65 74 75 72 6e 73 20 20 74 72 75 65 20 69 66 20 74 68 65 20 | ...*....*.@returns..true.if.the. |
187ac0 | 69 6e 70 75 74 20 69 73 20 76 61 6c 69 64 2c 20 66 61 6c 73 65 20 6f 74 68 65 72 77 69 73 65 0a | input.is.valid,.false.otherwise. |
187ae0 | 20 20 20 2a 2f 0a 20 20 5f 69 6e 70 75 74 49 73 56 61 6c 69 64 3a 20 66 75 6e 63 74 69 6f 6e 20 | ...*/..._inputIsValid:.function. |
187b00 | 42 50 50 5f 5f 69 6e 70 75 74 49 73 56 61 6c 69 64 28 29 20 7b 0a 20 20 20 20 69 66 20 28 74 68 | BPP__inputIsValid().{.....if.(th |
187b20 | 69 73 2e 5f 69 74 65 6d 54 79 70 65 20 3d 3d 20 42 4f 4f 4b 4d 41 52 4b 5f 49 54 45 4d 20 26 26 | is._itemType.==.BOOKMARK_ITEM.&& |
187b40 | 0a 20 20 20 20 20 20 20 20 21 74 68 69 73 2e 5f 63 6f 6e 74 61 69 6e 73 56 61 6c 69 64 55 52 49 | .........!this._containsValidURI |
187b60 | 28 22 6c 6f 63 61 74 69 6f 6e 46 69 65 6c 64 22 29 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 | ("locationField")).......return. |
187b80 | 66 61 6c 73 65 3b 0a 0a 20 20 20 20 2f 2f 20 46 65 65 64 20 4c 6f 63 61 74 69 6f 6e 20 68 61 73 | false;......//.Feed.Location.has |
187ba0 | 20 74 6f 20 62 65 20 61 20 76 61 6c 69 64 20 55 52 49 3b 0a 20 20 20 20 2f 2f 20 53 69 74 65 20 | .to.be.a.valid.URI;.....//.Site. |
187bc0 | 4c 6f 63 61 74 69 6f 6e 20 68 61 73 20 74 6f 20 62 65 20 61 20 76 61 6c 69 64 20 55 52 49 20 6f | Location.has.to.be.a.valid.URI.o |
187be0 | 72 20 65 6d 70 74 79 0a 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 69 74 65 6d 54 79 70 65 20 3d | r.empty.....if.(this._itemType.= |
187c00 | 3d 20 4c 49 56 45 4d 41 52 4b 5f 43 4f 4e 54 41 49 4e 45 52 29 20 7b 0a 20 20 20 20 20 20 69 66 | =.LIVEMARK_CONTAINER).{.......if |
187c20 | 20 28 21 74 68 69 73 2e 5f 63 6f 6e 74 61 69 6e 73 56 61 6c 69 64 55 52 49 28 22 66 65 65 64 4c | .(!this._containsValidURI("feedL |
187c40 | 6f 63 61 74 69 6f 6e 46 69 65 6c 64 22 29 29 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 66 | ocationField")).........return.f |
187c60 | 61 6c 73 65 3b 0a 20 20 20 20 20 20 69 66 20 28 21 74 68 69 73 2e 5f 63 6f 6e 74 61 69 6e 73 56 | alse;.......if.(!this._containsV |
187c80 | 61 6c 69 64 55 52 49 28 22 73 69 74 65 4c 6f 63 61 74 69 6f 6e 46 69 65 6c 64 22 29 20 26 26 0a | alidURI("siteLocationField").&&. |
187ca0 | 20 20 20 20 20 20 20 20 20 20 28 74 68 69 73 2e 5f 65 6c 65 6d 65 6e 74 28 22 73 69 74 65 4c 6f | ..........(this._element("siteLo |
187cc0 | 63 61 74 69 6f 6e 46 69 65 6c 64 22 29 2e 76 61 6c 75 65 2e 6c 65 6e 67 74 68 20 3e 20 30 29 29 | cationField").value.length.>.0)) |
187ce0 | 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 0a 20 20 20 20 7d 0a 0a 20 20 | .........return.false;.....}.... |
187d00 | 20 20 72 65 74 75 72 6e 20 74 72 75 65 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 | ..return.true;...},..../**....*. |
187d20 | 44 65 74 65 72 6d 69 6e 65 73 20 77 68 65 74 68 65 72 20 74 68 65 20 58 55 4c 20 74 65 78 74 62 | Determines.whether.the.XUL.textb |
187d40 | 6f 78 20 77 69 74 68 20 74 68 65 20 67 69 76 65 6e 20 49 44 20 63 6f 6e 74 61 69 6e 73 20 61 0a | ox.with.the.given.ID.contains.a. |
187d60 | 20 20 20 2a 20 73 74 72 69 6e 67 20 74 68 61 74 20 63 61 6e 20 62 65 20 63 6f 6e 76 65 72 74 65 | ...*.string.that.can.be.converte |
187d80 | 64 20 69 6e 74 6f 20 61 6e 20 6e 73 49 55 52 49 2e 0a 20 20 20 2a 0a 20 20 20 2a 20 40 70 61 72 | d.into.an.nsIURI.....*....*.@par |
187da0 | 61 6d 20 61 54 65 78 74 62 6f 78 49 44 0a 20 20 20 2a 20 20 20 20 20 20 20 20 74 68 65 20 49 44 | am.aTextboxID....*........the.ID |
187dc0 | 20 6f 66 20 74 68 65 20 74 65 78 74 62 6f 78 20 65 6c 65 6d 65 6e 74 20 77 68 6f 73 65 20 63 6f | .of.the.textbox.element.whose.co |
187de0 | 6e 74 65 6e 74 73 20 77 65 27 6c 6c 20 74 65 73 74 0a 20 20 20 2a 0a 20 20 20 2a 20 40 72 65 74 | ntents.we'll.test....*....*.@ret |
187e00 | 75 72 6e 73 20 74 72 75 65 20 69 66 20 74 68 65 20 74 65 78 74 62 6f 78 20 63 6f 6e 74 61 69 6e | urns.true.if.the.textbox.contain |
187e20 | 73 20 61 20 76 61 6c 69 64 20 55 52 49 20 73 74 72 69 6e 67 2c 20 66 61 6c 73 65 20 6f 74 68 65 | s.a.valid.URI.string,.false.othe |
187e40 | 72 77 69 73 65 0a 20 20 20 2a 2f 0a 20 20 5f 63 6f 6e 74 61 69 6e 73 56 61 6c 69 64 55 52 49 3a | rwise....*/..._containsValidURI: |
187e60 | 20 66 75 6e 63 74 69 6f 6e 20 42 50 50 5f 5f 63 6f 6e 74 61 69 6e 73 56 61 6c 69 64 55 52 49 28 | .function.BPP__containsValidURI( |
187e80 | 61 54 65 78 74 62 6f 78 49 44 29 20 7b 0a 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 76 61 | aTextboxID).{.....try.{.......va |
187ea0 | 72 20 76 61 6c 75 65 20 3d 20 74 68 69 73 2e 5f 65 6c 65 6d 65 6e 74 28 61 54 65 78 74 62 6f 78 | r.value.=.this._element(aTextbox |
187ec0 | 49 44 29 2e 76 61 6c 75 65 3b 0a 20 20 20 20 20 20 69 66 20 28 76 61 6c 75 65 29 20 7b 0a 20 20 | ID).value;.......if.(value).{... |
187ee0 | 20 20 20 20 20 20 76 61 72 20 75 72 69 20 3d 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 63 72 | ......var.uri.=.PlacesUIUtils.cr |
187f00 | 65 61 74 65 46 69 78 65 64 55 52 49 28 76 61 6c 75 65 29 3b 0a 20 20 20 20 20 20 20 20 72 65 74 | eateFixedURI(value);.........ret |
187f20 | 75 72 6e 20 74 72 75 65 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 20 63 61 74 63 68 20 28 65 | urn.true;.......}.....}.catch.(e |
187f40 | 29 20 7b 20 7d 0a 20 20 20 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 0a 20 20 7d 2c 0a 0a 20 20 | ).{.}.....return.false;...},.... |
187f60 | 2f 2a 2a 0a 20 20 20 2a 20 5b 4e 65 77 20 49 74 65 6d 20 4d 6f 64 65 5d 20 47 65 74 20 74 68 65 | /**....*.[New.Item.Mode].Get.the |
187f80 | 20 69 6e 73 65 72 74 69 6f 6e 20 70 6f 69 6e 74 20 64 65 74 61 69 6c 73 20 66 6f 72 20 74 68 65 | .insertion.point.details.for.the |
187fa0 | 20 6e 65 77 20 69 74 65 6d 2c 20 67 69 76 65 6e 0a 20 20 20 2a 20 64 69 61 6c 6f 67 20 73 74 61 | .new.item,.given....*.dialog.sta |
187fc0 | 74 65 20 61 6e 64 20 6f 70 65 6e 69 6e 67 20 61 72 67 75 6d 65 6e 74 73 2e 0a 20 20 20 2a 0a 20 | te.and.opening.arguments.....*.. |
187fe0 | 20 20 2a 20 54 68 65 20 63 6f 6e 74 61 69 6e 65 72 2d 69 64 65 6e 74 69 66 69 65 72 20 61 6e 64 | ..*.The.container-identifier.and |
188000 | 20 69 6e 73 65 72 74 69 6f 6e 2d 69 6e 64 65 78 20 61 72 65 20 72 65 74 75 72 6e 65 64 20 73 65 | .insertion-index.are.returned.se |
188020 | 70 61 72 61 74 65 6c 79 20 69 6e 0a 20 20 20 2a 20 74 68 65 20 66 6f 72 6d 20 6f 66 20 5b 63 6f | parately.in....*.the.form.of.[co |
188040 | 6e 74 61 69 6e 65 72 49 64 65 6e 74 69 66 69 65 72 2c 20 69 6e 73 65 72 74 69 6f 6e 49 6e 64 65 | ntainerIdentifier,.insertionInde |
188060 | 78 5d 0a 20 20 20 2a 2f 0a 20 20 5f 67 65 74 49 6e 73 65 72 74 69 6f 6e 50 6f 69 6e 74 44 65 74 | x]....*/..._getInsertionPointDet |
188080 | 61 69 6c 73 3a 20 66 75 6e 63 74 69 6f 6e 20 42 50 50 5f 5f 67 65 74 49 6e 73 65 72 74 69 6f 6e | ails:.function.BPP__getInsertion |
1880a0 | 50 6f 69 6e 74 44 65 74 61 69 6c 73 28 29 20 7b 0a 20 20 20 20 76 61 72 20 63 6f 6e 74 61 69 6e | PointDetails().{.....var.contain |
1880c0 | 65 72 49 64 20 3d 20 74 68 69 73 2e 5f 64 65 66 61 75 6c 74 49 6e 73 65 72 74 69 6f 6e 50 6f 69 | erId.=.this._defaultInsertionPoi |
1880e0 | 6e 74 2e 69 74 65 6d 49 64 3b 0a 20 20 20 20 76 61 72 20 69 6e 64 65 78 49 6e 43 6f 6e 74 61 69 | nt.itemId;.....var.indexInContai |
188100 | 6e 65 72 20 3d 20 74 68 69 73 2e 5f 64 65 66 61 75 6c 74 49 6e 73 65 72 74 69 6f 6e 50 6f 69 6e | ner.=.this._defaultInsertionPoin |
188120 | 74 2e 69 6e 64 65 78 3b 0a 0a 20 20 20 20 72 65 74 75 72 6e 20 5b 63 6f 6e 74 61 69 6e 65 72 49 | t.index;......return.[containerI |
188140 | 64 2c 20 69 6e 64 65 78 49 6e 43 6f 6e 74 61 69 6e 65 72 5d 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a | d,.indexInContainer];...},..../* |
188160 | 2a 0a 20 20 20 2a 20 52 65 74 75 72 6e 73 20 61 20 74 72 61 6e 73 61 63 74 69 6f 6e 20 66 6f 72 | *....*.Returns.a.transaction.for |
188180 | 20 63 72 65 61 74 69 6e 67 20 61 20 6e 65 77 20 62 6f 6f 6b 6d 61 72 6b 20 69 74 65 6d 20 72 65 | .creating.a.new.bookmark.item.re |
1881a0 | 70 72 65 73 65 6e 74 69 6e 67 20 74 68 65 0a 20 20 20 2a 20 76 61 72 69 6f 75 73 20 66 69 65 6c | presenting.the....*.various.fiel |
1881c0 | 64 73 20 61 6e 64 20 6f 70 65 6e 69 6e 67 20 61 72 67 75 6d 65 6e 74 73 20 6f 66 20 74 68 65 20 | ds.and.opening.arguments.of.the. |
1881e0 | 64 69 61 6c 6f 67 2e 0a 20 20 20 2a 2f 0a 20 20 5f 67 65 74 43 72 65 61 74 65 4e 65 77 42 6f 6f | dialog.....*/..._getCreateNewBoo |
188200 | 6b 6d 61 72 6b 54 72 61 6e 73 61 63 74 69 6f 6e 3a 0a 20 20 66 75 6e 63 74 69 6f 6e 20 42 50 50 | kmarkTransaction:...function.BPP |
188220 | 5f 5f 67 65 74 43 72 65 61 74 65 4e 65 77 42 6f 6f 6b 6d 61 72 6b 54 72 61 6e 73 61 63 74 69 6f | __getCreateNewBookmarkTransactio |
188240 | 6e 28 61 43 6f 6e 74 61 69 6e 65 72 2c 20 61 49 6e 64 65 78 29 20 7b 0a 20 20 20 20 76 61 72 20 | n(aContainer,.aIndex).{.....var. |
188260 | 61 6e 6e 6f 74 61 74 69 6f 6e 73 20 3d 20 5b 5d 3b 0a 20 20 20 20 76 61 72 20 63 68 69 6c 64 54 | annotations.=.[];.....var.childT |
188280 | 72 61 6e 73 61 63 74 69 6f 6e 73 20 3d 20 5b 5d 3b 0a 0a 20 20 20 20 69 66 20 28 74 68 69 73 2e | ransactions.=.[];......if.(this. |
1882a0 | 5f 64 65 73 63 72 69 70 74 69 6f 6e 29 20 7b 0a 20 20 20 20 20 20 63 68 69 6c 64 54 72 61 6e 73 | _description).{.......childTrans |
1882c0 | 61 63 74 69 6f 6e 73 2e 70 75 73 68 28 0a 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 55 49 55 74 | actions.push(.........PlacesUIUt |
1882e0 | 69 6c 73 2e 70 74 6d 2e 65 64 69 74 49 74 65 6d 44 65 73 63 72 69 70 74 69 6f 6e 28 2d 31 2c 20 | ils.ptm.editItemDescription(-1,. |
188300 | 74 68 69 73 2e 5f 64 65 73 63 72 69 70 74 69 6f 6e 29 29 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 | this._description));.....}...... |
188320 | 69 66 20 28 74 68 69 73 2e 5f 6c 6f 61 64 49 6e 53 69 64 65 62 61 72 29 20 7b 0a 20 20 20 20 20 | if.(this._loadInSidebar).{...... |
188340 | 20 63 68 69 6c 64 54 72 61 6e 73 61 63 74 69 6f 6e 73 2e 70 75 73 68 28 0a 20 20 20 20 20 20 20 | .childTransactions.push(........ |
188360 | 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 70 74 6d 2e 73 65 74 4c 6f 61 64 49 6e 53 69 64 65 | .PlacesUIUtils.ptm.setLoadInSide |
188380 | 62 61 72 28 2d 31 2c 20 74 68 69 73 2e 5f 6c 6f 61 64 49 6e 53 69 64 65 62 61 72 29 29 3b 0a 20 | bar(-1,.this._loadInSidebar));.. |
1883a0 | 20 20 20 7d 0a 0a 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 70 6f 73 74 44 61 74 61 29 20 7b 0a | ...}......if.(this._postData).{. |
1883c0 | 20 20 20 20 20 20 63 68 69 6c 64 54 72 61 6e 73 61 63 74 69 6f 6e 73 2e 70 75 73 68 28 0a 20 20 | ......childTransactions.push(... |
1883e0 | 20 20 20 20 20 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 70 74 6d 2e 65 64 69 74 42 6f 6f 6b | ......PlacesUIUtils.ptm.editBook |
188400 | 6d 61 72 6b 50 6f 73 74 44 61 74 61 28 2d 31 2c 20 74 68 69 73 2e 5f 70 6f 73 74 44 61 74 61 29 | markPostData(-1,.this._postData) |
188420 | 29 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 2f 2f 58 58 58 20 54 4f 44 4f 3a 20 74 68 69 73 20 73 | );.....}......//XXX.TODO:.this.s |
188440 | 68 6f 75 6c 64 20 62 65 20 69 6e 20 61 20 74 72 61 6e 73 61 63 74 69 6f 6e 21 0a 20 20 20 20 69 | hould.be.in.a.transaction!.....i |
188460 | 66 20 28 74 68 69 73 2e 5f 63 68 61 72 53 65 74 29 0a 20 20 20 20 20 20 50 6c 61 63 65 73 55 74 | f.(this._charSet).......PlacesUt |
188480 | 69 6c 73 2e 68 69 73 74 6f 72 79 2e 73 65 74 43 68 61 72 73 65 74 46 6f 72 55 52 49 28 74 68 69 | ils.history.setCharsetForURI(thi |
1884a0 | 73 2e 5f 75 72 69 2c 20 74 68 69 73 2e 5f 63 68 61 72 53 65 74 29 3b 0a 0a 20 20 20 20 76 61 72 | s._uri,.this._charSet);......var |
1884c0 | 20 74 72 61 6e 73 61 63 74 69 6f 6e 73 20 3d 20 5b 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 70 | .transactions.=.[PlacesUIUtils.p |
1884e0 | 74 6d 2e 63 72 65 61 74 65 49 74 65 6d 28 74 68 69 73 2e 5f 75 72 69 2c 0a 20 20 20 20 20 20 20 | tm.createItem(this._uri,........ |
188500 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
188520 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 43 6f 6e 74 61 69 6e 65 72 2c 20 61 49 6e 64 65 78 | ..............aContainer,.aIndex |
188540 | 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ,............................... |
188560 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 74 69 74 | .......................this._tit |
188580 | 6c 65 2c 20 74 68 69 73 2e 5f 6b 65 79 77 6f 72 64 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | le,.this._keyword,.............. |
1885a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
1885c0 | 20 20 20 20 20 20 20 20 61 6e 6e 6f 74 61 74 69 6f 6e 73 2c 0a 20 20 20 20 20 20 20 20 20 20 20 | ........annotations,............ |
1885e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
188600 | 20 20 20 20 20 20 20 20 20 20 63 68 69 6c 64 54 72 61 6e 73 61 63 74 69 6f 6e 73 29 5d 3b 0a 0a | ..........childTransactions)];.. |
188620 | 20 20 20 20 72 65 74 75 72 6e 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 70 74 6d 2e 61 67 67 | ....return.PlacesUIUtils.ptm.agg |
188640 | 72 65 67 61 74 65 54 72 61 6e 73 61 63 74 69 6f 6e 73 28 74 68 69 73 2e 5f 67 65 74 44 69 61 6c | regateTransactions(this._getDial |
188660 | 6f 67 54 69 74 6c 65 28 29 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ogTitle(),...................... |
188680 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 72 | ..............................tr |
1886a0 | 61 6e 73 61 63 74 69 6f 6e 73 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 52 65 | ansactions);...},..../**....*.Re |
1886c0 | 74 75 72 6e 73 20 61 20 63 68 69 6c 64 49 74 65 6d 73 2d 74 72 61 6e 73 61 63 74 69 6f 6e 73 20 | turns.a.childItems-transactions. |
1886e0 | 61 72 72 61 79 20 72 65 70 72 65 73 65 6e 74 69 6e 67 20 74 68 65 20 55 52 49 4c 69 73 74 20 77 | array.representing.the.URIList.w |
188700 | 69 74 68 0a 20 20 20 2a 20 77 68 69 63 68 20 74 68 65 20 64 69 61 6c 6f 67 20 68 61 73 20 62 65 | ith....*.which.the.dialog.has.be |
188720 | 65 6e 20 6f 70 65 6e 65 64 2e 0a 20 20 20 2a 2f 0a 20 20 5f 67 65 74 54 72 61 6e 73 61 63 74 69 | en.opened.....*/..._getTransacti |
188740 | 6f 6e 73 46 6f 72 55 52 49 4c 69 73 74 3a 20 66 75 6e 63 74 69 6f 6e 20 42 50 50 5f 5f 67 65 74 | onsForURIList:.function.BPP__get |
188760 | 54 72 61 6e 73 61 63 74 69 6f 6e 73 46 6f 72 55 52 49 4c 69 73 74 28 29 20 7b 0a 20 20 20 20 76 | TransactionsForURIList().{.....v |
188780 | 61 72 20 74 72 61 6e 73 61 63 74 69 6f 6e 73 20 3d 20 5b 5d 3b 0a 20 20 20 20 66 6f 72 20 28 76 | ar.transactions.=.[];.....for.(v |
1887a0 | 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 74 68 69 73 2e 5f 55 52 49 73 2e 6c 65 6e 67 74 68 3b | ar.i.=.0;.i.<.this._URIs.length; |
1887c0 | 20 2b 2b 69 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 75 72 69 20 3d 20 74 68 69 73 2e 5f 55 52 | .++i).{.......var.uri.=.this._UR |
1887e0 | 49 73 5b 69 5d 3b 0a 20 20 20 20 20 20 76 61 72 20 74 69 74 6c 65 20 3d 20 74 68 69 73 2e 5f 67 | Is[i];.......var.title.=.this._g |
188800 | 65 74 55 52 49 54 69 74 6c 65 46 72 6f 6d 48 69 73 74 6f 72 79 28 75 72 69 29 3b 0a 20 20 20 20 | etURITitleFromHistory(uri);..... |
188820 | 20 20 74 72 61 6e 73 61 63 74 69 6f 6e 73 2e 70 75 73 68 28 50 6c 61 63 65 73 55 49 55 74 69 6c | ..transactions.push(PlacesUIUtil |
188840 | 73 2e 70 74 6d 2e 63 72 65 61 74 65 49 74 65 6d 28 75 72 69 2c 20 2d 31 2c 20 2d 31 2c 20 74 69 | s.ptm.createItem(uri,.-1,.-1,.ti |
188860 | 74 6c 65 29 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 72 65 74 75 72 6e 20 74 72 61 6e 73 61 63 74 | tle));.....}.....return.transact |
188880 | 69 6f 6e 73 3b 20 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 52 65 74 75 72 6e 73 20 | ions;....},..../**....*.Returns. |
1888a0 | 61 20 74 72 61 6e 73 61 63 74 69 6f 6e 20 66 6f 72 20 63 72 65 61 74 69 6e 67 20 61 20 6e 65 77 | a.transaction.for.creating.a.new |
1888c0 | 20 66 6f 6c 64 65 72 20 69 74 65 6d 20 72 65 70 72 65 73 65 6e 74 69 6e 67 20 74 68 65 0a 20 20 | .folder.item.representing.the... |
1888e0 | 20 2a 20 76 61 72 69 6f 75 73 20 66 69 65 6c 64 73 20 61 6e 64 20 6f 70 65 6e 69 6e 67 20 61 72 | .*.various.fields.and.opening.ar |
188900 | 67 75 6d 65 6e 74 73 20 6f 66 20 74 68 65 20 64 69 61 6c 6f 67 2e 0a 20 20 20 2a 2f 0a 20 20 5f | guments.of.the.dialog.....*/..._ |
188920 | 67 65 74 43 72 65 61 74 65 4e 65 77 46 6f 6c 64 65 72 54 72 61 6e 73 61 63 74 69 6f 6e 3a 0a 20 | getCreateNewFolderTransaction:.. |
188940 | 20 66 75 6e 63 74 69 6f 6e 20 42 50 50 5f 5f 67 65 74 43 72 65 61 74 65 4e 65 77 46 6f 6c 64 65 | .function.BPP__getCreateNewFolde |
188960 | 72 54 72 61 6e 73 61 63 74 69 6f 6e 28 61 43 6f 6e 74 61 69 6e 65 72 2c 20 61 49 6e 64 65 78 29 | rTransaction(aContainer,.aIndex) |
188980 | 20 7b 0a 20 20 20 20 76 61 72 20 61 6e 6e 6f 74 61 74 69 6f 6e 73 20 3d 20 5b 5d 3b 0a 20 20 20 | .{.....var.annotations.=.[];.... |
1889a0 | 20 76 61 72 20 63 68 69 6c 64 49 74 65 6d 73 54 72 61 6e 73 61 63 74 69 6f 6e 73 3b 0a 20 20 20 | .var.childItemsTransactions;.... |
1889c0 | 20 69 66 20 28 74 68 69 73 2e 5f 55 52 49 73 2e 6c 65 6e 67 74 68 29 0a 20 20 20 20 20 20 63 68 | .if.(this._URIs.length).......ch |
1889e0 | 69 6c 64 49 74 65 6d 73 54 72 61 6e 73 61 63 74 69 6f 6e 73 20 3d 20 74 68 69 73 2e 5f 67 65 74 | ildItemsTransactions.=.this._get |
188a00 | 54 72 61 6e 73 61 63 74 69 6f 6e 73 46 6f 72 55 52 49 4c 69 73 74 28 29 3b 0a 0a 20 20 20 20 69 | TransactionsForURIList();......i |
188a20 | 66 20 28 74 68 69 73 2e 5f 64 65 73 63 72 69 70 74 69 6f 6e 29 0a 20 20 20 20 20 20 61 6e 6e 6f | f.(this._description).......anno |
188a40 | 74 61 74 69 6f 6e 73 2e 70 75 73 68 28 74 68 69 73 2e 5f 67 65 74 44 65 73 63 72 69 70 74 69 6f | tations.push(this._getDescriptio |
188a60 | 6e 41 6e 6e 6f 74 61 74 69 6f 6e 28 74 68 69 73 2e 5f 64 65 73 63 72 69 70 74 69 6f 6e 29 29 3b | nAnnotation(this._description)); |
188a80 | 0a 0a 20 20 20 20 72 65 74 75 72 6e 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 70 74 6d 2e 63 | ......return.PlacesUIUtils.ptm.c |
188aa0 | 72 65 61 74 65 46 6f 6c 64 65 72 28 74 68 69 73 2e 5f 74 69 74 6c 65 2c 20 61 43 6f 6e 74 61 69 | reateFolder(this._title,.aContai |
188ac0 | 6e 65 72 2c 20 61 49 6e 64 65 78 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ner,.aIndex,.................... |
188ae0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 6e 6e 6f 74 61 74 69 6f | .......................annotatio |
188b00 | 6e 73 2c 20 63 68 69 6c 64 49 74 65 6d 73 54 72 61 6e 73 61 63 74 69 6f 6e 73 29 3b 0a 20 20 7d | ns,.childItemsTransactions);...} |
188b20 | 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 52 65 74 75 72 6e 73 20 61 20 74 72 61 6e 73 61 63 74 | ,..../**....*.Returns.a.transact |
188b40 | 69 6f 6e 20 66 6f 72 20 63 72 65 61 74 69 6e 67 20 61 20 6e 65 77 20 6c 69 76 65 2d 62 6f 6f 6b | ion.for.creating.a.new.live-book |
188b60 | 6d 61 72 6b 20 69 74 65 6d 20 72 65 70 72 65 73 65 6e 74 69 6e 67 0a 20 20 20 2a 20 74 68 65 20 | mark.item.representing....*.the. |
188b80 | 76 61 72 69 6f 75 73 20 66 69 65 6c 64 73 20 61 6e 64 20 6f 70 65 6e 69 6e 67 20 61 72 67 75 6d | various.fields.and.opening.argum |
188ba0 | 65 6e 74 73 20 6f 66 20 74 68 65 20 64 69 61 6c 6f 67 2e 0a 20 20 20 2a 2f 0a 20 20 5f 67 65 74 | ents.of.the.dialog.....*/..._get |
188bc0 | 43 72 65 61 74 65 4e 65 77 4c 69 76 65 6d 61 72 6b 54 72 61 6e 73 61 63 74 69 6f 6e 3a 0a 20 20 | CreateNewLivemarkTransaction:... |
188be0 | 66 75 6e 63 74 69 6f 6e 20 42 50 50 5f 5f 67 65 74 43 72 65 61 74 65 4e 65 77 4c 69 76 65 6d 61 | function.BPP__getCreateNewLivema |
188c00 | 72 6b 54 72 61 6e 73 61 63 74 69 6f 6e 28 61 43 6f 6e 74 61 69 6e 65 72 2c 20 61 49 6e 64 65 78 | rkTransaction(aContainer,.aIndex |
188c20 | 29 20 7b 0a 20 20 20 20 72 65 74 75 72 6e 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 70 74 6d | ).{.....return.PlacesUIUtils.ptm |
188c40 | 2e 63 72 65 61 74 65 4c 69 76 65 6d 61 72 6b 28 74 68 69 73 2e 5f 66 65 65 64 55 52 49 2c 20 74 | .createLivemark(this._feedURI,.t |
188c60 | 68 69 73 2e 5f 73 69 74 65 55 52 49 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | his._siteURI,................... |
188c80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f | ..........................this._ |
188ca0 | 74 69 74 6c 65 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | title,.......................... |
188cc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 43 6f 6e 74 61 69 6e 65 72 2c 20 61 | ...................aContainer,.a |
188ce0 | 49 6e 64 65 78 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 44 69 61 6c 6f 67 2d | Index);...},..../**....*.Dialog- |
188d00 | 61 63 63 65 70 74 20 63 6f 64 65 2d 70 61 74 68 20 66 6f 72 20 63 72 65 61 74 69 6e 67 20 61 20 | accept.code-path.for.creating.a. |
188d20 | 6e 65 77 20 69 74 65 6d 20 28 61 6e 79 20 74 79 70 65 29 0a 20 20 20 2a 2f 0a 20 20 5f 63 72 65 | new.item.(any.type)....*/..._cre |
188d40 | 61 74 65 4e 65 77 49 74 65 6d 3a 20 66 75 6e 63 74 69 6f 6e 20 42 50 50 5f 5f 67 65 74 43 72 65 | ateNewItem:.function.BPP__getCre |
188d60 | 61 74 65 49 74 65 6d 54 72 61 6e 73 61 63 74 69 6f 6e 28 29 20 7b 0a 20 20 20 20 76 61 72 20 5b | ateItemTransaction().{.....var.[ |
188d80 | 63 6f 6e 74 61 69 6e 65 72 2c 20 69 6e 64 65 78 5d 20 3d 20 74 68 69 73 2e 5f 67 65 74 49 6e 73 | container,.index].=.this._getIns |
188da0 | 65 72 74 69 6f 6e 50 6f 69 6e 74 44 65 74 61 69 6c 73 28 29 3b 0a 20 20 20 20 76 61 72 20 74 78 | ertionPointDetails();.....var.tx |
188dc0 | 6e 3b 0a 0a 20 20 20 20 73 77 69 74 63 68 20 28 74 68 69 73 2e 5f 69 74 65 6d 54 79 70 65 29 20 | n;......switch.(this._itemType). |
188de0 | 7b 0a 20 20 20 20 20 20 63 61 73 65 20 42 4f 4f 4b 4d 41 52 4b 5f 46 4f 4c 44 45 52 3a 0a 20 20 | {.......case.BOOKMARK_FOLDER:... |
188e00 | 20 20 20 20 20 20 74 78 6e 20 3d 20 74 68 69 73 2e 5f 67 65 74 43 72 65 61 74 65 4e 65 77 46 6f | ......txn.=.this._getCreateNewFo |
188e20 | 6c 64 65 72 54 72 61 6e 73 61 63 74 69 6f 6e 28 63 6f 6e 74 61 69 6e 65 72 2c 20 69 6e 64 65 78 | lderTransaction(container,.index |
188e40 | 29 3b 0a 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 63 61 73 65 20 4c 49 56 | );.........break;.......case.LIV |
188e60 | 45 4d 41 52 4b 5f 43 4f 4e 54 41 49 4e 45 52 3a 0a 20 20 20 20 20 20 20 20 74 78 6e 20 3d 20 74 | EMARK_CONTAINER:.........txn.=.t |
188e80 | 68 69 73 2e 5f 67 65 74 43 72 65 61 74 65 4e 65 77 4c 69 76 65 6d 61 72 6b 54 72 61 6e 73 61 63 | his._getCreateNewLivemarkTransac |
188ea0 | 74 69 6f 6e 28 63 6f 6e 74 61 69 6e 65 72 2c 20 69 6e 64 65 78 29 3b 0a 20 20 20 20 20 20 20 20 | tion(container,.index);......... |
188ec0 | 62 72 65 61 6b 3b 20 20 20 20 20 20 0a 20 20 20 20 20 20 64 65 66 61 75 6c 74 3a 20 2f 2f 20 42 | break;.............default:.//.B |
188ee0 | 4f 4f 4b 4d 41 52 4b 5f 49 54 45 4d 0a 20 20 20 20 20 20 20 20 74 78 6e 20 3d 20 74 68 69 73 2e | OOKMARK_ITEM.........txn.=.this. |
188f00 | 5f 67 65 74 43 72 65 61 74 65 4e 65 77 42 6f 6f 6b 6d 61 72 6b 54 72 61 6e 73 61 63 74 69 6f 6e | _getCreateNewBookmarkTransaction |
188f20 | 28 63 6f 6e 74 61 69 6e 65 72 2c 20 69 6e 64 65 78 29 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 50 | (container,.index);.....}......P |
188f40 | 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 70 74 6d 2e 64 6f 54 72 61 6e 73 61 63 74 69 6f 6e 28 74 | lacesUIUtils.ptm.doTransaction(t |
188f60 | 78 6e 29 3b 0a 20 20 20 20 74 68 69 73 2e 5f 69 74 65 6d 49 64 20 3d 20 50 6c 61 63 65 73 55 74 | xn);.....this._itemId.=.PlacesUt |
188f80 | 69 6c 73 2e 62 6f 6f 6b 6d 61 72 6b 73 2e 67 65 74 49 64 46 6f 72 49 74 65 6d 41 74 28 63 6f 6e | ils.bookmarks.getIdForItemAt(con |
188fa0 | 74 61 69 6e 65 72 2c 20 69 6e 64 65 78 29 3b 0a 20 20 7d 0a 7d 3b 0a 50 4b 03 04 14 00 00 00 00 | tainer,.index);...}.};.PK....... |
188fc0 | 00 f5 4b 18 3b b0 ff 33 08 b9 21 00 00 b9 21 00 00 28 00 00 00 63 6f 6e 74 65 6e 74 2f 62 72 6f | ..K.;..3..!...!..(...content/bro |
188fe0 | 77 73 65 72 2f 70 6c 61 63 65 73 2f 70 6c 61 63 65 73 4f 76 65 72 6c 61 79 2e 78 75 6c 0a 3c 21 | wser/places/placesOverlay.xul.<! |
189000 | 44 4f 43 54 59 50 45 20 6f 76 65 72 6c 61 79 20 5b 0a 3c 21 45 4e 54 49 54 59 20 25 20 70 6c 61 | DOCTYPE.overlay.[.<!ENTITY.%.pla |
189020 | 63 65 73 44 54 44 20 53 59 53 54 45 4d 20 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f | cesDTD.SYSTEM."chrome://browser/ |
189040 | 6c 6f 63 61 6c 65 2f 70 6c 61 63 65 73 2f 70 6c 61 63 65 73 2e 64 74 64 22 3e 0a 25 70 6c 61 63 | locale/places/places.dtd">.%plac |
189060 | 65 73 44 54 44 3b 0a 3c 21 45 4e 54 49 54 59 20 25 20 65 64 69 74 4d 65 6e 75 4f 76 65 72 6c 61 | esDTD;.<!ENTITY.%.editMenuOverla |
189080 | 79 44 54 44 20 53 59 53 54 45 4d 20 22 63 68 72 6f 6d 65 3a 2f 2f 67 6c 6f 62 61 6c 2f 6c 6f 63 | yDTD.SYSTEM."chrome://global/loc |
1890a0 | 61 6c 65 2f 65 64 69 74 4d 65 6e 75 4f 76 65 72 6c 61 79 2e 64 74 64 22 3e 0a 25 65 64 69 74 4d | ale/editMenuOverlay.dtd">.%editM |
1890c0 | 65 6e 75 4f 76 65 72 6c 61 79 44 54 44 3b 0a 5d 3e 0a 0a 3c 6f 76 65 72 6c 61 79 20 69 64 3d 22 | enuOverlayDTD;.]>..<overlay.id=" |
1890e0 | 70 6c 61 63 65 73 4f 76 65 72 6c 61 79 22 0a 20 20 20 20 20 20 20 20 20 78 6d 6c 6e 73 3a 72 64 | placesOverlay"..........xmlns:rd |
189100 | 66 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e 77 33 2e 6f 72 67 2f 31 39 39 39 2f 30 32 2f 32 32 2d | f="http://www.w3.org/1999/02/22- |
189120 | 72 64 66 2d 73 79 6e 74 61 78 2d 6e 73 23 22 0a 20 20 20 20 20 20 20 20 20 78 6d 6c 6e 73 3d 22 | rdf-syntax-ns#"..........xmlns=" |
189140 | 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6b 65 79 6d 61 73 74 65 72 | http://www.mozilla.org/keymaster |
189160 | 2f 67 61 74 65 6b 65 65 70 65 72 2f 74 68 65 72 65 2e 69 73 2e 6f 6e 6c 79 2e 78 75 6c 22 3e 0a | /gatekeeper/there.is.only.xul">. |
189180 | 0a 20 20 3c 73 63 72 69 70 74 20 74 79 70 65 3d 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f 78 2d 6a | ...<script.type="application/x-j |
1891a0 | 61 76 61 73 63 72 69 70 74 22 0a 20 20 20 20 20 20 20 20 20 20 73 72 63 3d 22 63 68 72 6f 6d 65 | avascript"...........src="chrome |
1891c0 | 3a 2f 2f 67 6c 6f 62 61 6c 2f 63 6f 6e 74 65 6e 74 2f 67 6c 6f 62 61 6c 4f 76 65 72 6c 61 79 2e | ://global/content/globalOverlay. |
1891e0 | 6a 73 22 2f 3e 0a 20 20 3c 73 63 72 69 70 74 20 74 79 70 65 3d 22 61 70 70 6c 69 63 61 74 69 6f | js"/>...<script.type="applicatio |
189200 | 6e 2f 78 2d 6a 61 76 61 73 63 72 69 70 74 22 0a 20 20 20 20 20 20 20 20 20 20 73 72 63 3d 22 63 | n/x-javascript"...........src="c |
189220 | 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 75 74 69 6c 69 74 79 4f | hrome://browser/content/utilityO |
189240 | 76 65 72 6c 61 79 2e 6a 73 22 2f 3e 0a 20 20 3c 73 63 72 69 70 74 20 74 79 70 65 3d 22 61 70 70 | verlay.js"/>...<script.type="app |
189260 | 6c 69 63 61 74 69 6f 6e 2f 78 2d 6a 61 76 61 73 63 72 69 70 74 22 20 0a 20 20 20 20 20 20 20 20 | lication/x-javascript".......... |
189280 | 20 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f | ..src="chrome://browser/content/ |
1892a0 | 70 6c 61 63 65 73 2f 75 74 69 6c 73 2e 6a 73 22 2f 3e 0a 20 20 3c 73 63 72 69 70 74 20 74 79 70 | places/utils.js"/>...<script.typ |
1892c0 | 65 3d 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f 78 2d 6a 61 76 61 73 63 72 69 70 74 22 0a 20 20 20 | e="application/x-javascript".... |
1892e0 | 20 20 20 20 20 20 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e | .......src="chrome://browser/con |
189300 | 74 65 6e 74 2f 70 6c 61 63 65 73 2f 63 6f 6e 74 72 6f 6c 6c 65 72 2e 6a 73 22 2f 3e 0a 20 20 3c | tent/places/controller.js"/>...< |
189320 | 73 63 72 69 70 74 20 74 79 70 65 3d 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f 78 2d 6a 61 76 61 73 | script.type="application/x-javas |
189340 | 63 72 69 70 74 22 0a 20 20 20 20 20 20 20 20 20 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 | cript"...........src="chrome://b |
189360 | 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 70 6c 61 63 65 73 2f 74 72 65 65 56 69 65 77 2e 6a | rowser/content/places/treeView.j |
189380 | 73 22 2f 3e 0a 20 20 3c 73 63 72 69 70 74 20 74 79 70 65 3d 22 61 70 70 6c 69 63 61 74 69 6f 6e | s"/>...<script.type="application |
1893a0 | 2f 78 2d 6a 61 76 61 73 63 72 69 70 74 22 0a 20 20 20 20 20 20 20 20 20 20 73 72 63 3d 22 63 68 | /x-javascript"...........src="ch |
1893c0 | 72 6f 6d 65 3a 2f 2f 67 6c 6f 62 61 6c 2f 63 6f 6e 74 65 6e 74 2f 6e 73 44 72 61 67 41 6e 64 44 | rome://global/content/nsDragAndD |
1893e0 | 72 6f 70 2e 6a 73 22 2f 3e 0a 0a 20 20 3c 63 6f 6d 6d 61 6e 64 73 65 74 20 69 64 3d 22 70 6c 61 | rop.js"/>....<commandset.id="pla |
189400 | 63 65 73 43 6f 6d 6d 61 6e 64 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6d 6d 61 | cesCommands"...............comma |
189420 | 6e 64 75 70 64 61 74 65 72 3d 22 74 72 75 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 | ndupdater="true"...............e |
189440 | 76 65 6e 74 73 3d 22 66 6f 63 75 73 2c 73 6f 72 74 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | vents="focus,sort".............. |
189460 | 20 6f 6e 63 6f 6d 6d 61 6e 64 75 70 64 61 74 65 3d 22 67 6f 55 70 64 61 74 65 50 6c 61 63 65 73 | .oncommandupdate="goUpdatePlaces |
189480 | 43 6f 6d 6d 61 6e 64 73 28 29 3b 22 3e 0a 20 20 20 20 3c 63 6f 6d 6d 61 6e 64 20 69 64 3d 22 70 | Commands();">.....<command.id="p |
1894a0 | 6c 61 63 65 73 43 6d 64 5f 6f 70 65 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f | lacesCmd_open"..............onco |
1894c0 | 6d 6d 61 6e 64 3d 22 67 6f 44 6f 43 6f 6d 6d 61 6e 64 28 27 70 6c 61 63 65 73 43 6d 64 5f 6f 70 | mmand="goDoCommand('placesCmd_op |
1894e0 | 65 6e 27 29 3b 22 2f 3e 0a 20 20 20 20 3c 63 6f 6d 6d 61 6e 64 20 69 64 3d 22 70 6c 61 63 65 73 | en');"/>.....<command.id="places |
189500 | 43 6d 64 5f 6f 70 65 6e 3a 77 69 6e 64 6f 77 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e | Cmd_open:window"..............on |
189520 | 63 6f 6d 6d 61 6e 64 3d 22 67 6f 44 6f 43 6f 6d 6d 61 6e 64 28 27 70 6c 61 63 65 73 43 6d 64 5f | command="goDoCommand('placesCmd_ |
189540 | 6f 70 65 6e 3a 77 69 6e 64 6f 77 27 29 3b 22 2f 3e 0a 20 20 20 20 3c 63 6f 6d 6d 61 6e 64 20 69 | open:window');"/>.....<command.i |
189560 | 64 3d 22 70 6c 61 63 65 73 43 6d 64 5f 6f 70 65 6e 3a 74 61 62 22 0a 20 20 20 20 20 20 20 20 20 | d="placesCmd_open:tab".......... |
189580 | 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 6f 44 6f 43 6f 6d 6d 61 6e 64 28 27 70 6c 61 63 | ....oncommand="goDoCommand('plac |
1895a0 | 65 73 43 6d 64 5f 6f 70 65 6e 3a 74 61 62 27 29 3b 22 2f 3e 0a 0a 20 20 20 20 3c 63 6f 6d 6d 61 | esCmd_open:tab');"/>......<comma |
1895c0 | 6e 64 20 69 64 3d 22 70 6c 61 63 65 73 43 6d 64 5f 6e 65 77 3a 62 6f 6f 6b 6d 61 72 6b 22 0a 20 | nd.id="placesCmd_new:bookmark".. |
1895e0 | 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 6f 44 6f 43 6f 6d 6d 61 | ............oncommand="goDoComma |
189600 | 6e 64 28 27 70 6c 61 63 65 73 43 6d 64 5f 6e 65 77 3a 62 6f 6f 6b 6d 61 72 6b 27 29 3b 22 2f 3e | nd('placesCmd_new:bookmark');"/> |
189620 | 0a 20 20 20 20 3c 63 6f 6d 6d 61 6e 64 20 69 64 3d 22 70 6c 61 63 65 73 43 6d 64 5f 6e 65 77 3a | .....<command.id="placesCmd_new: |
189640 | 6c 69 76 65 6d 61 72 6b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 | livemark"..............oncommand |
189660 | 3d 22 67 6f 44 6f 43 6f 6d 6d 61 6e 64 28 27 70 6c 61 63 65 73 43 6d 64 5f 6e 65 77 3a 6c 69 76 | ="goDoCommand('placesCmd_new:liv |
189680 | 65 6d 61 72 6b 27 29 3b 22 2f 3e 0a 20 20 20 20 3c 63 6f 6d 6d 61 6e 64 20 69 64 3d 22 70 6c 61 | emark');"/>.....<command.id="pla |
1896a0 | 63 65 73 43 6d 64 5f 6e 65 77 3a 66 6f 6c 64 65 72 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | cesCmd_new:folder".............. |
1896c0 | 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 6f 44 6f 43 6f 6d 6d 61 6e 64 28 27 70 6c 61 63 65 73 43 6d | oncommand="goDoCommand('placesCm |
1896e0 | 64 5f 6e 65 77 3a 66 6f 6c 64 65 72 27 29 3b 22 2f 3e 0a 20 20 20 20 3c 63 6f 6d 6d 61 6e 64 20 | d_new:folder');"/>.....<command. |
189700 | 69 64 3d 22 70 6c 61 63 65 73 43 6d 64 5f 6e 65 77 3a 73 65 70 61 72 61 74 6f 72 22 0a 20 20 20 | id="placesCmd_new:separator".... |
189720 | 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 6f 44 6f 43 6f 6d 6d 61 6e 64 | ..........oncommand="goDoCommand |
189740 | 28 27 70 6c 61 63 65 73 43 6d 64 5f 6e 65 77 3a 73 65 70 61 72 61 74 6f 72 27 29 3b 22 2f 3e 0a | ('placesCmd_new:separator');"/>. |
189760 | 20 20 20 20 3c 63 6f 6d 6d 61 6e 64 20 69 64 3d 22 70 6c 61 63 65 73 43 6d 64 5f 73 68 6f 77 3a | ....<command.id="placesCmd_show: |
189780 | 69 6e 66 6f 22 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 | info"...............oncommand="g |
1897a0 | 6f 44 6f 43 6f 6d 6d 61 6e 64 28 27 70 6c 61 63 65 73 43 6d 64 5f 73 68 6f 77 3a 69 6e 66 6f 27 | oDoCommand('placesCmd_show:info' |
1897c0 | 29 3b 22 2f 3e 0a 20 20 20 20 3c 63 6f 6d 6d 61 6e 64 20 69 64 3d 22 70 6c 61 63 65 73 43 6d 64 | );"/>.....<command.id="placesCmd |
1897e0 | 5f 72 65 6e 61 6d 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d | _rename"..............oncommand= |
189800 | 22 67 6f 44 6f 43 6f 6d 6d 61 6e 64 28 27 70 6c 61 63 65 73 43 6d 64 5f 73 68 6f 77 3a 69 6e 66 | "goDoCommand('placesCmd_show:inf |
189820 | 6f 27 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 62 73 65 72 76 65 73 3d 22 70 6c 61 | o');"..............observes="pla |
189840 | 63 65 73 43 6d 64 5f 73 68 6f 77 3a 69 6e 66 6f 22 2f 3e 0a 20 20 20 20 3c 63 6f 6d 6d 61 6e 64 | cesCmd_show:info"/>.....<command |
189860 | 20 69 64 3d 22 70 6c 61 63 65 73 43 6d 64 5f 72 65 6c 6f 61 64 22 0a 20 20 20 20 20 20 20 20 20 | .id="placesCmd_reload".......... |
189880 | 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 6f 44 6f 43 6f 6d 6d 61 6e 64 28 27 70 6c 61 63 | ....oncommand="goDoCommand('plac |
1898a0 | 65 73 43 6d 64 5f 72 65 6c 6f 61 64 27 29 3b 22 2f 3e 0a 20 20 20 20 3c 63 6f 6d 6d 61 6e 64 20 | esCmd_reload');"/>.....<command. |
1898c0 | 69 64 3d 22 70 6c 61 63 65 73 43 6d 64 5f 72 65 6c 6f 61 64 4d 69 63 72 6f 73 75 6d 6d 61 72 79 | id="placesCmd_reloadMicrosummary |
1898e0 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 6f 44 6f 43 6f | "..............oncommand="goDoCo |
189900 | 6d 6d 61 6e 64 28 27 70 6c 61 63 65 73 43 6d 64 5f 72 65 6c 6f 61 64 4d 69 63 72 6f 73 75 6d 6d | mmand('placesCmd_reloadMicrosumm |
189920 | 61 72 79 27 29 3b 22 2f 3e 0a 20 20 20 20 3c 63 6f 6d 6d 61 6e 64 20 69 64 3d 22 70 6c 61 63 65 | ary');"/>.....<command.id="place |
189940 | 73 43 6d 64 5f 73 6f 72 74 42 79 3a 6e 61 6d 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 6f | sCmd_sortBy:name"..............o |
189960 | 6e 63 6f 6d 6d 61 6e 64 3d 22 67 6f 44 6f 43 6f 6d 6d 61 6e 64 28 27 70 6c 61 63 65 73 43 6d 64 | ncommand="goDoCommand('placesCmd |
189980 | 5f 73 6f 72 74 42 79 3a 6e 61 6d 65 27 29 3b 22 2f 3e 0a 20 20 20 20 3c 63 6f 6d 6d 61 6e 64 20 | _sortBy:name');"/>.....<command. |
1899a0 | 69 64 3d 22 70 6c 61 63 65 73 43 6d 64 5f 6d 6f 76 65 42 6f 6f 6b 6d 61 72 6b 73 22 0a 20 20 20 | id="placesCmd_moveBookmarks".... |
1899c0 | 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 6f 44 6f 43 6f 6d 6d 61 6e 64 | ..........oncommand="goDoCommand |
1899e0 | 28 27 70 6c 61 63 65 73 43 6d 64 5f 6d 6f 76 65 42 6f 6f 6b 6d 61 72 6b 73 27 29 3b 22 2f 3e 0a | ('placesCmd_moveBookmarks');"/>. |
189a00 | 20 20 20 20 3c 63 6f 6d 6d 61 6e 64 20 69 64 3d 22 70 6c 61 63 65 73 43 6d 64 5f 64 65 6c 65 74 | ....<command.id="placesCmd_delet |
189a20 | 65 44 61 74 61 48 6f 73 74 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e | eDataHost"..............oncomman |
189a40 | 64 3d 22 67 6f 44 6f 43 6f 6d 6d 61 6e 64 28 27 70 6c 61 63 65 73 43 6d 64 5f 64 65 6c 65 74 65 | d="goDoCommand('placesCmd_delete |
189a60 | 44 61 74 61 48 6f 73 74 27 29 3b 22 2f 3e 0a 20 20 3c 2f 63 6f 6d 6d 61 6e 64 73 65 74 3e 0a 0a | DataHost');"/>...</commandset>.. |
189a80 | 20 20 3c 70 6f 70 75 70 20 69 64 3d 22 70 6c 61 63 65 73 43 6f 6e 74 65 78 74 22 0a 20 20 20 20 | ..<popup.id="placesContext"..... |
189aa0 | 20 20 20 20 20 6f 6e 70 6f 70 75 70 73 68 6f 77 69 6e 67 3d 22 74 68 69 73 2e 5f 76 69 65 77 20 | .....onpopupshowing="this._view. |
189ac0 | 3d 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 67 65 74 56 69 65 77 46 6f 72 4e 6f 64 65 28 64 | =.PlacesUIUtils.getViewForNode(d |
189ae0 | 6f 63 75 6d 65 6e 74 2e 70 6f 70 75 70 4e 6f 64 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ocument.popupNode);............. |
189b00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 76 69 65 77 2e 62 | .............return.this._view.b |
189b20 | 75 69 6c 64 43 6f 6e 74 65 78 74 4d 65 6e 75 28 74 68 69 73 29 3b 22 0a 20 20 20 20 20 20 20 20 | uildContextMenu(this);"......... |
189b40 | 20 6f 6e 70 6f 70 75 70 68 69 64 69 6e 67 3d 22 74 68 69 73 2e 5f 76 69 65 77 2e 64 65 73 74 72 | .onpopuphiding="this._view.destr |
189b60 | 6f 79 43 6f 6e 74 65 78 74 4d 65 6e 75 28 29 3b 22 3e 0a 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d | oyContextMenu();">.....<menuitem |
189b80 | 20 69 64 3d 22 70 6c 61 63 65 73 43 6f 6e 74 65 78 74 5f 6f 70 65 6e 22 0a 20 20 20 20 20 20 20 | .id="placesContext_open"........ |
189ba0 | 20 20 20 20 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 70 6c 61 63 65 73 43 6d 64 5f 6f 70 65 6e 22 0a | .......command="placesCmd_open". |
189bc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 63 6d 64 2e 6f 70 65 6e 2e 6c | ..............label="&cmd.open.l |
189be0 | 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 | abel;"...............accesskey=" |
189c00 | 26 63 6d 64 2e 6f 70 65 6e 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 | &cmd.open.accesskey;"........... |
189c20 | 20 20 20 20 64 65 66 61 75 6c 74 3d 22 74 72 75 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ....default="true".............. |
189c40 | 20 73 65 6c 65 63 74 69 6f 6e 74 79 70 65 3d 22 73 69 6e 67 6c 65 22 0a 20 20 20 20 20 20 20 20 | .selectiontype="single"......... |
189c60 | 20 20 20 20 20 20 73 65 6c 65 63 74 69 6f 6e 3d 22 6c 69 6e 6b 22 2f 3e 0a 20 20 20 20 3c 6d 65 | ......selection="link"/>.....<me |
189c80 | 6e 75 69 74 65 6d 20 69 64 3d 22 70 6c 61 63 65 73 43 6f 6e 74 65 78 74 5f 6f 70 65 6e 3a 6e 65 | nuitem.id="placesContext_open:ne |
189ca0 | 77 77 69 6e 64 6f 77 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 | wwindow"...............command=" |
189cc0 | 70 6c 61 63 65 73 43 6d 64 5f 6f 70 65 6e 3a 77 69 6e 64 6f 77 22 0a 20 20 20 20 20 20 20 20 20 | placesCmd_open:window".......... |
189ce0 | 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 63 6d 64 2e 6f 70 65 6e 5f 77 69 6e 64 6f 77 2e 6c 61 62 | .....label="&cmd.open_window.lab |
189d00 | 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 63 | el;"...............accesskey="&c |
189d20 | 6d 64 2e 6f 70 65 6e 5f 77 69 6e 64 6f 77 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 | md.open_window.accesskey;"...... |
189d40 | 20 20 20 20 20 20 20 20 20 73 65 6c 65 63 74 69 6f 6e 74 79 70 65 3d 22 73 69 6e 67 6c 65 22 0a | .........selectiontype="single". |
189d60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 65 6c 65 63 74 69 6f 6e 3d 22 6c 69 6e 6b 22 2f 3e | ..............selection="link"/> |
189d80 | 0a 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 70 6c 61 63 65 73 43 6f 6e 74 65 78 74 | .....<menuitem.id="placesContext |
189da0 | 5f 6f 70 65 6e 3a 6e 65 77 74 61 62 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6d 6d | _open:newtab"...............comm |
189dc0 | 61 6e 64 3d 22 70 6c 61 63 65 73 43 6d 64 5f 6f 70 65 6e 3a 74 61 62 22 0a 20 20 20 20 20 20 20 | and="placesCmd_open:tab"........ |
189de0 | 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 63 6d 64 2e 6f 70 65 6e 5f 74 61 62 2e 6c 61 62 65 | .......label="&cmd.open_tab.labe |
189e00 | 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 63 6d | l;"...............accesskey="&cm |
189e20 | 64 2e 6f 70 65 6e 5f 74 61 62 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 | d.open_tab.accesskey;".......... |
189e40 | 20 20 20 20 20 73 65 6c 65 63 74 69 6f 6e 74 79 70 65 3d 22 73 69 6e 67 6c 65 22 0a 20 20 20 20 | .....selectiontype="single"..... |
189e60 | 20 20 20 20 20 20 20 20 20 20 73 65 6c 65 63 74 69 6f 6e 3d 22 6c 69 6e 6b 22 2f 3e 0a 20 20 20 | ..........selection="link"/>.... |
189e80 | 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 70 6c 61 63 65 73 43 6f 6e 74 65 78 74 5f 6f 70 65 | .<menuitem.id="placesContext_ope |
189ea0 | 6e 43 6f 6e 74 61 69 6e 65 72 3a 74 61 62 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f | nContainer:tabs"...............o |
189ec0 | 6e 63 6f 6d 6d 61 6e 64 3d 22 76 61 72 20 76 69 65 77 20 3d 20 50 6c 61 63 65 73 55 49 55 74 69 | ncommand="var.view.=.PlacesUIUti |
189ee0 | 6c 73 2e 67 65 74 56 69 65 77 46 6f 72 4e 6f 64 65 28 64 6f 63 75 6d 65 6e 74 2e 70 6f 70 75 70 | ls.getViewForNode(document.popup |
189f00 | 4e 6f 64 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | Node);.......................... |
189f20 | 76 69 65 77 2e 63 6f 6e 74 72 6f 6c 6c 65 72 2e 6f 70 65 6e 53 65 6c 65 63 74 69 6f 6e 49 6e 54 | view.controller.openSelectionInT |
189f40 | 61 62 73 28 65 76 65 6e 74 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6c 69 | abs(event);"...............oncli |
189f60 | 63 6b 3d 22 63 68 65 63 6b 46 6f 72 4d 69 64 64 6c 65 43 6c 69 63 6b 28 74 68 69 73 2c 20 65 76 | ck="checkForMiddleClick(this,.ev |
189f80 | 65 6e 74 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 63 6d 64 | ent);"...............label="&cmd |
189fa0 | 2e 6f 70 65 6e 5f 61 6c 6c 5f 69 6e 5f 74 61 62 73 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 | .open_all_in_tabs.label;"....... |
189fc0 | 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 63 6d 64 2e 6f 70 65 6e 5f 61 6c 6c | ........accesskey="&cmd.open_all |
189fe0 | 5f 69 6e 5f 74 61 62 73 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 | _in_tabs.accesskey;"............ |
18a000 | 20 20 20 73 65 6c 65 63 74 69 6f 6e 74 79 70 65 3d 22 73 69 6e 67 6c 65 22 0a 20 20 20 20 20 20 | ...selectiontype="single"....... |
18a020 | 20 20 20 20 20 20 20 20 73 65 6c 65 63 74 69 6f 6e 3d 22 66 6f 6c 64 65 72 7c 68 6f 73 74 7c 71 | ........selection="folder|host|q |
18a040 | 75 65 72 79 22 2f 3e 0a 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 70 6c 61 63 65 73 | uery"/>.....<menuitem.id="places |
18a060 | 43 6f 6e 74 65 78 74 5f 6f 70 65 6e 4c 69 6e 6b 73 3a 74 61 62 73 22 0a 20 20 20 20 20 20 20 20 | Context_openLinks:tabs"......... |
18a080 | 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 76 61 72 20 76 69 65 77 20 3d 20 50 6c 61 63 | ......oncommand="var.view.=.Plac |
18a0a0 | 65 73 55 49 55 74 69 6c 73 2e 67 65 74 56 69 65 77 46 6f 72 4e 6f 64 65 28 64 6f 63 75 6d 65 6e | esUIUtils.getViewForNode(documen |
18a0c0 | 74 2e 70 6f 70 75 70 4e 6f 64 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | t.popupNode);................... |
18a0e0 | 20 20 20 20 20 20 20 76 69 65 77 2e 63 6f 6e 74 72 6f 6c 6c 65 72 2e 6f 70 65 6e 53 65 6c 65 63 | .......view.controller.openSelec |
18a100 | 74 69 6f 6e 49 6e 54 61 62 73 28 65 76 65 6e 74 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 | tionInTabs(event);"............. |
18a120 | 20 20 6f 6e 63 6c 69 63 6b 3d 22 63 68 65 63 6b 46 6f 72 4d 69 64 64 6c 65 43 6c 69 63 6b 28 74 | ..onclick="checkForMiddleClick(t |
18a140 | 68 69 73 2c 20 65 76 65 6e 74 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 | his,.event);"...............labe |
18a160 | 6c 3d 22 26 63 6d 64 2e 6f 70 65 6e 5f 61 6c 6c 5f 69 6e 5f 74 61 62 73 2e 6c 61 62 65 6c 3b 22 | l="&cmd.open_all_in_tabs.label;" |
18a180 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 63 6d 64 2e 6f | ...............accesskey="&cmd.o |
18a1a0 | 70 65 6e 5f 61 6c 6c 5f 69 6e 5f 74 61 62 73 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 | pen_all_in_tabs.accesskey;"..... |
18a1c0 | 20 20 20 20 20 20 20 20 20 20 73 65 6c 65 63 74 69 6f 6e 74 79 70 65 3d 22 6d 75 6c 74 69 70 6c | ..........selectiontype="multipl |
18a1e0 | 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 65 6c 65 63 74 69 6f 6e 3d 22 6c 69 6e 6b | e"...............selection="link |
18a200 | 22 2f 3e 0a 20 20 20 20 3c 6d 65 6e 75 73 65 70 61 72 61 74 6f 72 20 69 64 3d 22 70 6c 61 63 65 | "/>.....<menuseparator.id="place |
18a220 | 73 43 6f 6e 74 65 78 74 5f 6f 70 65 6e 53 65 70 61 72 61 74 6f 72 22 2f 3e 0a 20 20 20 20 3c 6d | sContext_openSeparator"/>.....<m |
18a240 | 65 6e 75 69 74 65 6d 20 69 64 3d 22 70 6c 61 63 65 73 43 6f 6e 74 65 78 74 5f 6e 65 77 3a 62 6f | enuitem.id="placesContext_new:bo |
18a260 | 6f 6b 6d 61 72 6b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 70 | okmark"...............command="p |
18a280 | 6c 61 63 65 73 43 6d 64 5f 6e 65 77 3a 62 6f 6f 6b 6d 61 72 6b 22 0a 20 20 20 20 20 20 20 20 20 | lacesCmd_new:bookmark".......... |
18a2a0 | 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 63 6d 64 2e 6e 65 77 5f 62 6f 6f 6b 6d 61 72 6b 2e 6c 61 | .....label="&cmd.new_bookmark.la |
18a2c0 | 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 | bel;"...............accesskey="& |
18a2e0 | 63 6d 64 2e 6e 65 77 5f 62 6f 6f 6b 6d 61 72 6b 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 | cmd.new_bookmark.accesskey;".... |
18a300 | 20 20 20 20 20 20 20 20 20 20 20 73 65 6c 65 63 74 69 6f 6e 3d 22 61 6e 79 22 0a 20 20 20 20 20 | ...........selection="any"...... |
18a320 | 20 20 20 20 20 20 20 20 20 68 69 64 65 69 66 6e 6f 69 6e 73 65 74 69 6f 6e 70 6f 69 6e 74 3d 22 | .........hideifnoinsetionpoint=" |
18a340 | 74 72 75 65 22 2f 3e 0a 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 70 6c 61 63 65 73 | true"/>.....<menuitem.id="places |
18a360 | 43 6f 6e 74 65 78 74 5f 6e 65 77 3a 66 6f 6c 64 65 72 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 | Context_new:folder"............. |
18a380 | 20 20 63 6f 6d 6d 61 6e 64 3d 22 70 6c 61 63 65 73 43 6d 64 5f 6e 65 77 3a 66 6f 6c 64 65 72 22 | ..command="placesCmd_new:folder" |
18a3a0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 63 6d 64 2e 6e 65 77 5f 66 | ...............label="&cmd.new_f |
18a3c0 | 6f 6c 64 65 72 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 | older.label;"...............acce |
18a3e0 | 73 73 6b 65 79 3d 22 26 63 6d 64 2e 63 6f 6e 74 65 78 74 5f 6e 65 77 5f 66 6f 6c 64 65 72 2e 61 | sskey="&cmd.context_new_folder.a |
18a400 | 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 65 6c 65 63 74 69 | ccesskey;"...............selecti |
18a420 | 6f 6e 3d 22 61 6e 79 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 68 69 64 65 69 66 6e 6f 69 | on="any"...............hideifnoi |
18a440 | 6e 73 65 74 69 6f 6e 70 6f 69 6e 74 3d 22 74 72 75 65 22 2f 3e 0a 20 20 20 20 3c 6d 65 6e 75 69 | nsetionpoint="true"/>.....<menui |
18a460 | 74 65 6d 20 69 64 3d 22 70 6c 61 63 65 73 43 6f 6e 74 65 78 74 5f 6e 65 77 3a 73 65 70 61 72 61 | tem.id="placesContext_new:separa |
18a480 | 74 6f 72 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 70 6c 61 63 | tor"...............command="plac |
18a4a0 | 65 73 43 6d 64 5f 6e 65 77 3a 73 65 70 61 72 61 74 6f 72 22 0a 20 20 20 20 20 20 20 20 20 20 20 | esCmd_new:separator"............ |
18a4c0 | 20 20 20 6c 61 62 65 6c 3d 22 26 63 6d 64 2e 6e 65 77 5f 73 65 70 61 72 61 74 6f 72 2e 6c 61 62 | ...label="&cmd.new_separator.lab |
18a4e0 | 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 63 | el;"...............accesskey="&c |
18a500 | 6d 64 2e 6e 65 77 5f 73 65 70 61 72 61 74 6f 72 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 | md.new_separator.accesskey;".... |
18a520 | 20 20 20 20 20 20 20 20 20 20 20 63 6c 6f 73 65 6d 65 6e 75 3d 22 73 69 6e 67 6c 65 22 0a 20 20 | ...........closemenu="single"... |
18a540 | 20 20 20 20 20 20 20 20 20 20 20 20 73 65 6c 65 63 74 69 6f 6e 3d 22 61 6e 79 22 0a 20 20 20 20 | ............selection="any"..... |
18a560 | 20 20 20 20 20 20 20 20 20 20 68 69 64 65 69 66 6e 6f 69 6e 73 65 74 69 6f 6e 70 6f 69 6e 74 3d | ..........hideifnoinsetionpoint= |
18a580 | 22 74 72 75 65 22 2f 3e 0a 20 20 20 20 3c 6d 65 6e 75 73 65 70 61 72 61 74 6f 72 20 69 64 3d 22 | "true"/>.....<menuseparator.id=" |
18a5a0 | 70 6c 61 63 65 73 43 6f 6e 74 65 78 74 5f 6e 65 77 53 65 70 61 72 61 74 6f 72 22 2f 3e 0a 20 20 | placesContext_newSeparator"/>... |
18a5c0 | 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 70 6c 61 63 65 73 43 6f 6e 74 65 78 74 5f 63 75 | ..<menuitem.id="placesContext_cu |
18a5e0 | 74 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 63 6d 64 5f 63 75 | t"...............command="cmd_cu |
18a600 | 74 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 63 75 74 43 6d 64 2e | t"...............label="&cutCmd. |
18a620 | 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d | label;"...............accesskey= |
18a640 | 22 26 63 75 74 43 6d 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 20 0a 20 20 20 20 20 20 20 20 20 20 | "&cutCmd.accesskey;"............ |
18a660 | 20 20 20 20 63 6c 6f 73 65 6d 65 6e 75 3d 22 73 69 6e 67 6c 65 22 0a 20 20 20 20 20 20 20 20 20 | ....closemenu="single".......... |
18a680 | 20 20 20 20 20 73 65 6c 65 63 74 69 6f 6e 3d 22 62 6f 6f 6b 6d 61 72 6b 7c 66 6f 6c 64 65 72 7c | .....selection="bookmark|folder| |
18a6a0 | 73 65 70 61 72 61 74 6f 72 7c 71 75 65 72 79 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 | separator|query"...............f |
18a6c0 | 6f 72 63 65 68 69 64 65 73 65 6c 65 63 74 69 6f 6e 3d 22 74 61 67 43 68 69 6c 64 7c 6c 69 76 65 | orcehideselection="tagChild|live |
18a6e0 | 6d 61 72 6b 43 68 69 6c 64 22 2f 3e 0a 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 70 | markChild"/>.....<menuitem.id="p |
18a700 | 6c 61 63 65 73 43 6f 6e 74 65 78 74 5f 63 6f 70 79 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | lacesContext_copy".............. |
18a720 | 20 63 6f 6d 6d 61 6e 64 3d 22 63 6d 64 5f 63 6f 70 79 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 | .command="cmd_copy"............. |
18a740 | 20 20 6c 61 62 65 6c 3d 22 26 63 6f 70 79 43 6d 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 | ..label="©Cmd.label;"....... |
18a760 | 20 20 20 20 20 20 20 20 63 6c 6f 73 65 6d 65 6e 75 3d 22 73 69 6e 67 6c 65 22 0a 20 20 20 20 20 | ........closemenu="single"...... |
18a780 | 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 63 6f 70 79 43 6d 64 2e 61 63 63 | .........accesskey="©Cmd.acc |
18a7a0 | 65 73 73 6b 65 79 3b 22 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 65 6c 65 63 74 69 6f | esskey;"................selectio |
18a7c0 | 6e 3d 22 61 6e 79 22 2f 3e 0a 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 70 6c 61 63 | n="any"/>.....<menuitem.id="plac |
18a7e0 | 65 73 43 6f 6e 74 65 78 74 5f 70 61 73 74 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 | esContext_paste"...............c |
18a800 | 6f 6d 6d 61 6e 64 3d 22 63 6d 64 5f 70 61 73 74 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ommand="cmd_paste".............. |
18a820 | 20 6c 61 62 65 6c 3d 22 26 70 61 73 74 65 43 6d 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 | .label="&pasteCmd.label;"....... |
18a840 | 20 20 20 20 20 20 20 20 63 6c 6f 73 65 6d 65 6e 75 3d 22 73 69 6e 67 6c 65 22 0a 20 20 20 20 20 | ........closemenu="single"...... |
18a860 | 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 70 61 73 74 65 43 6d 64 2e 61 63 | .........accesskey="&pasteCmd.ac |
18a880 | 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 65 6c 65 63 74 69 6f | cesskey;"...............selectio |
18a8a0 | 6e 3d 22 61 6e 79 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 68 69 64 65 69 66 6e 6f 69 6e | n="any"...............hideifnoin |
18a8c0 | 73 65 74 69 6f 6e 70 6f 69 6e 74 3d 22 74 72 75 65 22 2f 3e 0a 20 20 20 20 3c 6d 65 6e 75 73 65 | setionpoint="true"/>.....<menuse |
18a8e0 | 70 61 72 61 74 6f 72 20 69 64 3d 22 70 6c 61 63 65 73 43 6f 6e 74 65 78 74 5f 65 64 69 74 53 65 | parator.id="placesContext_editSe |
18a900 | 70 61 72 61 74 6f 72 22 2f 3e 0a 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 70 6c 61 | parator"/>.....<menuitem.id="pla |
18a920 | 63 65 73 43 6f 6e 74 65 78 74 5f 64 65 6c 65 74 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | cesContext_delete".............. |
18a940 | 20 63 6f 6d 6d 61 6e 64 3d 22 63 6d 64 5f 64 65 6c 65 74 65 22 0a 20 20 20 20 20 20 20 20 20 20 | .command="cmd_delete"........... |
18a960 | 20 20 20 20 6c 61 62 65 6c 3d 22 26 64 65 6c 65 74 65 43 6d 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 | ....label="&deleteCmd.label;"... |
18a980 | 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 64 65 6c 65 74 65 43 6d | ............accesskey="&deleteCm |
18a9a0 | 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6c 6f 73 | d.accesskey;"...............clos |
18a9c0 | 65 6d 65 6e 75 3d 22 73 69 6e 67 6c 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 65 6c | emenu="single"...............sel |
18a9e0 | 65 63 74 69 6f 6e 3d 22 62 6f 6f 6b 6d 61 72 6b 7c 74 61 67 43 68 69 6c 64 7c 66 6f 6c 64 65 72 | ection="bookmark|tagChild|folder |
18aa00 | 7c 71 75 65 72 79 7c 64 79 6e 61 6d 69 63 63 6f 6e 74 61 69 6e 65 72 7c 73 65 70 61 72 61 74 6f | |query|dynamiccontainer|separato |
18aa20 | 72 7c 68 6f 73 74 22 2f 3e 0a 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 70 6c 61 63 | r|host"/>.....<menuitem.id="plac |
18aa40 | 65 73 43 6f 6e 74 65 78 74 5f 64 65 6c 65 74 65 5f 68 69 73 74 6f 72 79 22 0a 20 20 20 20 20 20 | esContext_delete_history"....... |
18aa60 | 20 20 20 20 20 20 20 20 63 6f 6d 6d 61 6e 64 3d 22 63 6d 64 5f 64 65 6c 65 74 65 22 0a 20 20 20 | ........command="cmd_delete".... |
18aa80 | 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 63 6d 64 2e 64 65 6c 65 74 65 2e 6c 61 | ...........label="&cmd.delete.la |
18aaa0 | 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 | bel;"...............accesskey="& |
18aac0 | 63 6d 64 2e 64 65 6c 65 74 65 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 | cmd.delete.accesskey;".......... |
18aae0 | 20 20 20 20 20 63 6c 6f 73 65 6d 65 6e 75 3d 22 73 69 6e 67 6c 65 22 0a 20 20 20 20 20 20 20 20 | .....closemenu="single"......... |
18ab00 | 20 20 20 20 20 20 73 65 6c 65 63 74 69 6f 6e 3d 22 6c 69 6e 6b 22 0a 20 20 20 20 20 20 20 20 20 | ......selection="link".......... |
18ab20 | 20 20 20 20 20 66 6f 72 63 65 68 69 64 65 73 65 6c 65 63 74 69 6f 6e 3d 22 62 6f 6f 6b 6d 61 72 | .....forcehideselection="bookmar |
18ab40 | 6b 22 2f 3e 0a 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 70 6c 61 63 65 73 43 6f 6e | k"/>.....<menuitem.id="placesCon |
18ab60 | 74 65 78 74 5f 64 65 6c 65 74 65 48 6f 73 74 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 | text_deleteHost"...............c |
18ab80 | 6f 6d 6d 61 6e 64 3d 22 70 6c 61 63 65 73 43 6d 64 5f 64 65 6c 65 74 65 44 61 74 61 48 6f 73 74 | ommand="placesCmd_deleteDataHost |
18aba0 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 63 6d 64 2e 64 65 6c 65 | "...............label="&cmd.dele |
18abc0 | 74 65 44 6f 6d 61 69 6e 44 61 74 61 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 | teDomainData.label;"............ |
18abe0 | 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 63 6d 64 2e 64 65 6c 65 74 65 44 6f 6d 61 69 6e 44 | ...accesskey="&cmd.deleteDomainD |
18ac00 | 61 74 61 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6c | ata.accesskey;"...............cl |
18ac20 | 6f 73 65 6d 65 6e 75 3d 22 73 69 6e 67 6c 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 | osemenu="single"...............s |
18ac40 | 65 6c 65 63 74 69 6f 6e 3d 22 6c 69 6e 6b 7c 68 6f 73 74 22 0a 20 20 20 20 20 20 20 20 20 20 20 | election="link|host"............ |
18ac60 | 20 20 20 73 65 6c 65 63 74 69 6f 6e 74 79 70 65 3d 22 73 69 6e 67 6c 65 22 0a 20 20 20 20 20 20 | ...selectiontype="single"....... |
18ac80 | 20 20 20 20 20 20 20 20 68 69 64 65 69 66 70 72 69 76 61 74 65 62 72 6f 77 73 69 6e 67 3d 22 74 | ........hideifprivatebrowsing="t |
18aca0 | 72 75 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 6f 72 63 65 68 69 64 65 73 65 6c 65 | rue"...............forcehidesele |
18acc0 | 63 74 69 6f 6e 3d 22 62 6f 6f 6b 6d 61 72 6b 22 2f 3e 0a 20 20 20 20 3c 6d 65 6e 75 73 65 70 61 | ction="bookmark"/>.....<menusepa |
18ace0 | 72 61 74 6f 72 20 69 64 3d 22 70 6c 61 63 65 73 43 6f 6e 74 65 78 74 5f 64 65 6c 65 74 65 53 65 | rator.id="placesContext_deleteSe |
18ad00 | 70 61 72 61 74 6f 72 22 2f 3e 0a 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 70 6c 61 | parator"/>.....<menuitem.id="pla |
18ad20 | 63 65 73 43 6f 6e 74 65 78 74 5f 72 65 6c 6f 61 64 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | cesContext_reload".............. |
18ad40 | 20 63 6f 6d 6d 61 6e 64 3d 22 70 6c 61 63 65 73 43 6d 64 5f 72 65 6c 6f 61 64 22 0a 20 20 20 20 | .command="placesCmd_reload"..... |
18ad60 | 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 63 6d 64 2e 72 65 6c 6f 61 64 4c 69 76 65 | ..........label="&cmd.reloadLive |
18ad80 | 62 6f 6f 6b 6d 61 72 6b 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 | bookmark.label;"...............a |
18ada0 | 63 63 65 73 73 6b 65 79 3d 22 26 63 6d 64 2e 72 65 6c 6f 61 64 4c 69 76 65 62 6f 6f 6b 6d 61 72 | ccesskey="&cmd.reloadLivebookmar |
18adc0 | 6b 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6c 6f 73 | k.accesskey;"...............clos |
18ade0 | 65 6d 65 6e 75 3d 22 73 69 6e 67 6c 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 65 6c | emenu="single"...............sel |
18ae00 | 65 63 74 69 6f 6e 3d 22 6c 69 76 65 6d 61 72 6b 2f 66 65 65 64 55 52 49 22 2f 3e 0a 20 20 20 20 | ection="livemark/feedURI"/>..... |
18ae20 | 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 70 6c 61 63 65 73 43 6f 6e 74 65 78 74 5f 72 65 6c 6f | <menuitem.id="placesContext_relo |
18ae40 | 61 64 4d 69 63 72 6f 73 75 6d 6d 61 72 79 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f | adMicrosummary"...............co |
18ae60 | 6d 6d 61 6e 64 3d 22 70 6c 61 63 65 73 43 6d 64 5f 72 65 6c 6f 61 64 4d 69 63 72 6f 73 75 6d 6d | mmand="placesCmd_reloadMicrosumm |
18ae80 | 61 72 79 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 63 6d 64 2e 72 | ary"...............label="&cmd.r |
18aea0 | 65 6c 6f 61 64 4d 69 63 72 6f 73 75 6d 6d 61 72 79 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 | eloadMicrosummary.label;"....... |
18aec0 | 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 63 6d 64 2e 72 65 6c 6f 61 64 4d 69 | ........accesskey="&cmd.reloadMi |
18aee0 | 63 72 6f 73 75 6d 6d 61 72 79 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 | crosummary.accesskey;".......... |
18af00 | 20 20 20 20 20 63 6c 6f 73 65 6d 65 6e 75 3d 22 73 69 6e 67 6c 65 22 0a 20 20 20 20 20 20 20 20 | .....closemenu="single"......... |
18af20 | 20 20 20 20 20 20 73 65 6c 65 63 74 69 6f 6e 3d 22 6d 69 63 72 6f 73 75 6d 6d 61 72 79 22 2f 3e | ......selection="microsummary"/> |
18af40 | 0a 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 70 6c 61 63 65 73 43 6f 6e 74 65 78 74 | .....<menuitem.id="placesContext |
18af60 | 5f 73 6f 72 74 42 79 3a 6e 61 6d 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6d 6d | _sortBy:name"...............comm |
18af80 | 61 6e 64 3d 22 70 6c 61 63 65 73 43 6d 64 5f 73 6f 72 74 42 79 3a 6e 61 6d 65 22 0a 20 20 20 20 | and="placesCmd_sortBy:name"..... |
18afa0 | 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 63 6d 64 2e 73 6f 72 74 62 79 5f 6e 61 6d | ..........label="&cmd.sortby_nam |
18afc0 | 65 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 | e.label;"...............accesske |
18afe0 | 79 3d 22 26 63 6d 64 2e 63 6f 6e 74 65 78 74 5f 73 6f 72 74 62 79 5f 6e 61 6d 65 2e 61 63 63 65 | y="&cmd.context_sortby_name.acce |
18b000 | 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6c 6f 73 65 6d 65 6e 75 3d | sskey;"...............closemenu= |
18b020 | 22 73 69 6e 67 6c 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 65 6c 65 63 74 69 6f 6e | "single"...............selection |
18b040 | 3d 22 66 6f 6c 64 65 72 22 2f 3e 0a 20 20 20 20 3c 6d 65 6e 75 73 65 70 61 72 61 74 6f 72 20 69 | ="folder"/>.....<menuseparator.i |
18b060 | 64 3d 22 70 6c 61 63 65 73 43 6f 6e 74 65 78 74 5f 73 6f 72 74 53 65 70 61 72 61 74 6f 72 22 2f | d="placesContext_sortSeparator"/ |
18b080 | 3e 0a 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 70 6c 61 63 65 73 43 6f 6e 74 65 78 | >.....<menuitem.id="placesContex |
18b0a0 | 74 5f 73 68 6f 77 3a 69 6e 66 6f 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6d 6d 61 | t_show:info"...............comma |
18b0c0 | 6e 64 3d 22 70 6c 61 63 65 73 43 6d 64 5f 73 68 6f 77 3a 69 6e 66 6f 22 0a 20 20 20 20 20 20 20 | nd="placesCmd_show:info"........ |
18b0e0 | 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 63 6d 64 2e 70 72 6f 70 65 72 74 69 65 73 2e 6c 61 | .......label="&cmd.properties.la |
18b100 | 62 65 6c 3b 22 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 | bel;"................accesskey=" |
18b120 | 26 63 6d 64 2e 70 72 6f 70 65 72 74 69 65 73 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 | &cmd.properties.accesskey;"..... |
18b140 | 20 20 20 20 20 20 20 20 20 20 73 65 6c 65 63 74 69 6f 6e 3d 22 62 6f 6f 6b 6d 61 72 6b 7c 66 6f | ..........selection="bookmark|fo |
18b160 | 6c 64 65 72 7c 71 75 65 72 79 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 6f 72 63 65 68 | lder|query"...............forceh |
18b180 | 69 64 65 73 65 6c 65 63 74 69 6f 6e 3d 22 6c 69 76 65 6d 61 72 6b 43 68 69 6c 64 22 2f 3e 0a 20 | ideselection="livemarkChild"/>.. |
18b1a0 | 20 3c 2f 70 6f 70 75 70 3e 0a 0a 3c 2f 6f 76 65 72 6c 61 79 3e 0a 50 4b 03 04 14 00 00 00 00 00 | .</popup>..</overlay>.PK........ |
18b1c0 | f5 4b 18 3b de 39 e1 ee 39 af 00 00 39 af 00 00 22 00 00 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 | .K.;.9..9...9..."...content/brow |
18b1e0 | 73 65 72 2f 70 6c 61 63 65 73 2f 74 6f 6f 6c 62 61 72 2e 78 6d 6c 3c 3f 78 6d 6c 20 76 65 72 73 | ser/places/toolbar.xml<?xml.vers |
18b200 | 69 6f 6e 3d 22 31 2e 30 22 3f 3e 0a 0a 0a 0a 3c 21 44 4f 43 54 59 50 45 20 62 69 6e 64 69 6e 67 | ion="1.0"?>....<!DOCTYPE.binding |
18b220 | 73 20 5b 0a 3c 21 45 4e 54 49 54 59 20 25 20 67 6c 6f 62 61 6c 44 54 44 20 53 59 53 54 45 4d 20 | s.[.<!ENTITY.%.globalDTD.SYSTEM. |
18b240 | 22 63 68 72 6f 6d 65 3a 2f 2f 67 6c 6f 62 61 6c 2f 6c 6f 63 61 6c 65 2f 67 6c 6f 62 61 6c 2e 64 | "chrome://global/locale/global.d |
18b260 | 74 64 22 20 3e 0a 25 67 6c 6f 62 61 6c 44 54 44 3b 0a 3c 21 45 4e 54 49 54 59 20 25 20 62 72 6f | td".>.%globalDTD;.<!ENTITY.%.bro |
18b280 | 77 73 65 72 44 54 44 20 53 59 53 54 45 4d 20 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 | wserDTD.SYSTEM."chrome://browser |
18b2a0 | 2f 6c 6f 63 61 6c 65 2f 62 72 6f 77 73 65 72 2e 64 74 64 22 20 3e 0a 25 62 72 6f 77 73 65 72 44 | /locale/browser.dtd".>.%browserD |
18b2c0 | 54 44 3b 0a 5d 3e 0a 0a 3c 62 69 6e 64 69 6e 67 73 20 69 64 3d 22 70 6c 61 63 65 73 54 6f 6f 6c | TD;.]>..<bindings.id="placesTool |
18b2e0 | 62 61 72 42 69 6e 64 69 6e 67 73 22 0a 20 20 20 20 20 20 20 20 20 20 78 6d 6c 6e 73 3d 22 68 74 | barBindings"...........xmlns="ht |
18b300 | 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 78 62 6c 22 0a 20 20 20 20 20 20 | tp://www.mozilla.org/xbl"....... |
18b320 | 20 20 20 20 78 6d 6c 6e 73 3a 78 62 6c 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c | ....xmlns:xbl="http://www.mozill |
18b340 | 61 2e 6f 72 67 2f 78 62 6c 22 0a 20 20 20 20 20 20 20 20 20 20 78 6d 6c 6e 73 3a 68 74 6d 6c 3d | a.org/xbl"...........xmlns:html= |
18b360 | 22 68 74 74 70 3a 2f 2f 77 77 77 2e 77 33 2e 6f 72 67 2f 31 39 39 39 2f 78 68 74 6d 6c 22 0a 20 | "http://www.w3.org/1999/xhtml".. |
18b380 | 20 20 20 20 20 20 20 20 20 78 6d 6c 6e 73 3a 78 75 6c 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e 6d | .........xmlns:xul="http://www.m |
18b3a0 | 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6b 65 79 6d 61 73 74 65 72 2f 67 61 74 65 6b 65 65 70 65 72 2f | ozilla.org/keymaster/gatekeeper/ |
18b3c0 | 74 68 65 72 65 2e 69 73 2e 6f 6e 6c 79 2e 78 75 6c 22 3e 0a 0a 20 20 3c 62 69 6e 64 69 6e 67 20 | there.is.only.xul">....<binding. |
18b3e0 | 69 64 3d 22 70 6c 61 63 65 73 2d 62 61 72 22 3e 0a 20 20 20 20 3c 72 65 73 6f 75 72 63 65 73 3e | id="places-bar">.....<resources> |
18b400 | 0a 20 20 20 20 20 20 3c 73 74 79 6c 65 73 68 65 65 74 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f | .......<stylesheet.src="chrome:/ |
18b420 | 2f 62 72 6f 77 73 65 72 2f 73 6b 69 6e 2f 70 6c 61 63 65 73 2f 70 6c 61 63 65 73 2e 63 73 73 22 | /browser/skin/places/places.css" |
18b440 | 2f 3e 0a 20 20 20 20 3c 2f 72 65 73 6f 75 72 63 65 73 3e 0a 0a 20 20 20 20 3c 63 6f 6e 74 65 6e | />.....</resources>......<conten |
18b460 | 74 3e 0a 20 20 20 20 20 20 3c 78 75 6c 3a 76 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 3c 78 75 6c | t>.......<xul:vbox>.........<xul |
18b480 | 3a 68 62 6f 78 20 63 6c 61 73 73 3d 22 74 6f 6f 6c 62 61 72 2d 64 72 6f 70 2d 69 6e 64 69 63 61 | :hbox.class="toolbar-drop-indica |
18b4a0 | 74 6f 72 2d 62 61 72 22 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 78 75 6c 3a 68 62 6f 78 20 63 6c | tor-bar">...........<xul:hbox.cl |
18b4c0 | 61 73 73 3d 22 74 6f 6f 6c 62 61 72 2d 64 72 6f 70 2d 69 6e 64 69 63 61 74 6f 72 22 2f 3e 0a 20 | ass="toolbar-drop-indicator"/>.. |
18b4e0 | 20 20 20 20 20 20 20 3c 2f 78 75 6c 3a 68 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 3c 78 75 6c 3a | .......</xul:hbox>.........<xul: |
18b500 | 68 62 6f 78 20 66 6c 65 78 3d 22 31 22 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 78 75 6c 3a 68 62 | hbox.flex="1">...........<xul:hb |
18b520 | 6f 78 20 63 6c 61 73 73 3d 22 62 6f 6f 6b 6d 61 72 6b 73 2d 74 6f 6f 6c 62 61 72 2d 69 74 65 6d | ox.class="bookmarks-toolbar-item |
18b540 | 73 20 70 6c 61 63 65 73 2d 74 6f 6f 6c 62 61 72 2d 69 74 65 6d 73 22 20 66 6c 65 78 3d 22 31 22 | s.places-toolbar-items".flex="1" |
18b560 | 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 63 68 69 6c 64 72 65 6e 2f 3e 0a 20 20 20 20 20 20 | >.............<children/>....... |
18b580 | 20 20 20 20 3c 2f 78 75 6c 3a 68 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 78 75 6c 3a 74 | ....</xul:hbox>...........<xul:t |
18b5a0 | 6f 6f 6c 62 61 72 62 75 74 74 6f 6e 20 63 6c 61 73 73 3d 22 62 6f 6f 6b 6d 61 72 6b 2d 69 74 65 | oolbarbutton.class="bookmark-ite |
18b5c0 | 6d 20 62 6f 6f 6b 6d 61 72 6b 73 2d 74 6f 6f 6c 62 61 72 2d 63 75 73 74 6f 6d 69 7a 65 22 0a 20 | m.bookmarks-toolbar-customize".. |
18b5e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 6f 75 73 | ............................mous |
18b600 | 65 74 68 72 6f 75 67 68 3d 22 6e 65 76 65 72 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ethrough="never"................ |
18b620 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 62 6f 6f 6b 6d 61 72 6b 73 54 | ..............label="&bookmarksT |
18b640 | 6f 6f 6c 62 61 72 49 74 65 6d 2e 6c 61 62 65 6c 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 2f 78 | oolbarItem.label;"/>.........</x |
18b660 | 75 6c 3a 68 62 6f 78 3e 0a 20 20 20 20 20 20 3c 2f 78 75 6c 3a 76 62 6f 78 3e 0a 20 20 20 20 20 | ul:hbox>.......</xul:vbox>...... |
18b680 | 20 3c 78 75 6c 3a 68 62 6f 78 20 6d 6f 75 73 65 74 68 72 6f 75 67 68 3d 22 61 6c 77 61 79 73 22 | .<xul:hbox.mousethrough="always" |
18b6a0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 6c 65 78 3d 22 31 22 0a 20 20 20 20 20 20 | .................flex="1"....... |
18b6c0 | 20 20 20 20 20 20 20 20 20 20 70 61 63 6b 3d 22 65 6e 64 22 3e 0a 20 20 20 20 20 20 20 20 3c 78 | ..........pack="end">.........<x |
18b6e0 | 75 6c 3a 74 6f 6f 6c 62 61 72 62 75 74 74 6f 6e 20 74 79 70 65 3d 22 6d 65 6e 75 22 0a 20 20 20 | ul:toolbarbutton.type="menu".... |
18b700 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6c 61 73 73 3d 22 63 | ........................class="c |
18b720 | 68 65 76 72 6f 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | hevron"......................... |
18b740 | 20 20 20 6d 6f 75 73 65 74 68 72 6f 75 67 68 3d 22 6e 65 76 65 72 22 0a 20 20 20 20 20 20 20 20 | ...mousethrough="never"......... |
18b760 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6c 6c 61 70 73 65 64 3d 22 74 72 | ...................collapsed="tr |
18b780 | 75 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 | ue"............................t |
18b7a0 | 6f 6f 6c 74 69 70 74 65 78 74 3d 22 26 62 6f 6f 6b 6d 61 72 6b 73 54 6f 6f 6c 62 61 72 43 68 65 | ooltiptext="&bookmarksToolbarChe |
18b7c0 | 76 72 6f 6e 2e 74 6f 6f 6c 74 69 70 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | vron.tooltip;".................. |
18b7e0 | 20 20 20 20 20 20 20 20 20 20 63 68 72 6f 6d 65 64 69 72 3d 22 26 6c 6f 63 61 6c 65 2e 64 69 72 | ..........chromedir="&locale.dir |
18b800 | 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e | ;"............................on |
18b820 | 70 6f 70 75 70 73 68 6f 77 69 6e 67 3d 22 63 68 65 76 72 6f 6e 50 6f 70 75 70 53 68 6f 77 69 6e | popupshowing="chevronPopupShowin |
18b840 | 67 28 65 76 65 6e 74 29 3b 22 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 78 75 6c 3a 6d 65 6e 75 70 | g(event);">...........<xul:menup |
18b860 | 6f 70 75 70 20 61 6e 6f 6e 69 64 3d 22 63 68 65 76 72 6f 6e 50 6f 70 75 70 22 0a 20 20 20 20 20 | opup.anonid="chevronPopup"...... |
18b880 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 78 62 6c 3a 69 6e 68 65 72 69 74 73 | ....................xbl:inherits |
18b8a0 | 3d 22 74 6f 6f 6c 74 69 70 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ="tooltip"...................... |
18b8c0 | 20 20 20 20 63 6f 6e 74 65 78 74 3d 22 70 6c 61 63 65 73 43 6f 6e 74 65 78 74 22 0a 20 20 20 20 | ....context="placesContext"..... |
18b8e0 | 20 20 20 20 20 20 2f 3e 0a 20 20 20 20 20 20 20 20 3c 2f 78 75 6c 3a 74 6f 6f 6c 62 61 72 62 75 | ....../>.........</xul:toolbarbu |
18b900 | 74 74 6f 6e 3e 0a 20 20 20 20 20 20 3c 2f 78 75 6c 3a 68 62 6f 78 3e 0a 20 20 20 20 3c 2f 63 6f | tton>.......</xul:hbox>.....</co |
18b920 | 6e 74 65 6e 74 3e 0a 0a 20 20 20 20 3c 69 6d 70 6c 65 6d 65 6e 74 61 74 69 6f 6e 20 69 6d 70 6c | ntent>......<implementation.impl |
18b940 | 65 6d 65 6e 74 73 3d 22 6e 73 49 41 63 63 65 73 73 69 62 6c 65 50 72 6f 76 69 64 65 72 2c 20 6e | ements="nsIAccessibleProvider,.n |
18b960 | 73 49 54 69 6d 65 72 43 61 6c 6c 62 61 63 6b 22 3e 0a 20 20 20 20 20 20 3c 63 6f 6e 73 74 72 75 | sITimerCallback">.......<constru |
18b980 | 63 74 6f 72 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 69 6e 69 | ctor><![CDATA[.........this._ini |
18b9a0 | 74 28 29 3b 0a 20 20 20 20 20 20 5d 5d 3e 3c 2f 63 6f 6e 73 74 72 75 63 74 6f 72 3e 0a 0a 20 20 | t();.......]]></constructor>.... |
18b9c0 | 20 20 20 20 3c 64 65 73 74 72 75 63 74 6f 72 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 | ....<destructor><![CDATA[....... |
18b9e0 | 20 20 69 66 20 28 74 68 69 73 2e 5f 72 65 73 75 6c 74 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 | ..if.(this._result).{........... |
18ba00 | 74 68 69 73 2e 5f 72 65 73 75 6c 74 2e 76 69 65 77 65 72 20 3d 20 6e 75 6c 6c 3b 0a 20 20 20 20 | this._result.viewer.=.null;..... |
18ba20 | 20 20 20 20 20 20 74 68 69 73 2e 5f 72 65 73 75 6c 74 20 3d 20 6e 75 6c 6c 3b 0a 20 20 20 20 20 | ......this._result.=.null;...... |
18ba40 | 20 20 20 7d 0a 20 20 20 20 20 20 5d 5d 3e 3c 2f 64 65 73 74 72 75 63 74 6f 72 3e 0a 0a 20 20 20 | ...}.......]]></destructor>..... |
18ba60 | 20 20 20 3c 70 72 6f 70 65 72 74 79 20 6e 61 6d 65 3d 22 63 6f 6e 74 72 6f 6c 6c 65 72 22 0a 20 | ...<property.name="controller".. |
18ba80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 61 64 6f 6e 6c 79 3d 22 74 72 75 65 22 0a 20 | ...............readonly="true".. |
18baa0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 67 65 74 3d 22 72 65 74 75 72 6e 20 74 68 69 | ...............onget="return.thi |
18bac0 | 73 2e 5f 63 6f 6e 74 72 6f 6c 6c 65 72 3b 22 2f 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 | s._controller;"/>........<method |
18bae0 | 20 6e 61 6d 65 3d 22 5f 69 6e 69 74 22 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 3c 21 5b | .name="_init">.........<body><![ |
18bb00 | 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 63 6f 6e 74 72 6f 6c 6c 65 72 20 | CDATA[.........this._controller. |
18bb20 | 3d 20 6e 65 77 20 50 6c 61 63 65 73 43 6f 6e 74 72 6f 6c 6c 65 72 28 74 68 69 73 29 3b 0a 20 20 | =.new.PlacesController(this);... |
18bb40 | 20 20 20 20 20 20 74 68 69 73 2e 63 6f 6e 74 72 6f 6c 6c 65 72 73 2e 61 70 70 65 6e 64 43 6f 6e | ......this.controllers.appendCon |
18bb60 | 74 72 6f 6c 6c 65 72 28 74 68 69 73 2e 5f 63 6f 6e 74 72 6f 6c 6c 65 72 29 3b 0a 0a 20 20 20 20 | troller(this._controller);...... |
18bb80 | 20 20 20 20 76 61 72 20 74 20 3d 20 74 68 69 73 3b 0a 20 20 20 20 20 20 20 20 77 69 6e 64 6f 77 | ....var.t.=.this;.........window |
18bba0 | 2e 61 64 64 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 28 22 72 65 73 69 7a 65 22 2c 0a 20 20 20 20 | .addEventListener("resize",..... |
18bbc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 75 6e 63 | ............................func |
18bbe0 | 74 69 6f 6e 20 66 28 65 29 20 7b 20 74 2e 75 70 64 61 74 65 43 68 65 76 72 6f 6e 28 65 29 3b 20 | tion.f(e).{.t.updateChevron(e);. |
18bc00 | 7d 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | },.............................. |
18bc20 | 20 20 20 66 61 6c 73 65 29 3b 0a 0a 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 68 61 73 | ...false);..........if.(this.has |
18bc40 | 41 74 74 72 69 62 75 74 65 28 22 70 6c 61 63 65 22 29 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 | Attribute("place")).{........... |
18bc60 | 2f 2f 20 44 6f 20 74 68 65 20 69 6e 69 74 69 61 6c 20 62 75 69 6c 64 2e 20 0a 20 20 20 20 20 20 | //.Do.the.initial.build......... |
18bc80 | 20 20 20 20 74 68 69 73 2e 70 6c 61 63 65 20 3d 20 74 68 69 73 2e 70 6c 61 63 65 3b 0a 20 20 20 | ....this.place.=.this.place;.... |
18bca0 | 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 | .....}.........]]></body>....... |
18bcc0 | 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 66 69 65 6c 64 20 6e 61 6d 65 3d 22 5f 64 | </method>........<field.name="_d |
18bce0 | 72 6f 70 49 6e 64 69 63 61 74 6f 72 42 61 72 22 3e 64 6f 63 75 6d 65 6e 74 2e 67 65 74 41 6e 6f | ropIndicatorBar">document.getAno |
18bd00 | 6e 79 6d 6f 75 73 45 6c 65 6d 65 6e 74 42 79 41 74 74 72 69 62 75 74 65 28 74 68 69 73 2c 20 22 | nymousElementByAttribute(this,." |
18bd20 | 63 6c 61 73 73 22 2c 20 22 74 6f 6f 6c 62 61 72 2d 64 72 6f 70 2d 69 6e 64 69 63 61 74 6f 72 2d | class",."toolbar-drop-indicator- |
18bd40 | 62 61 72 22 29 3c 2f 66 69 65 6c 64 3e 0a 20 20 20 20 20 20 3c 66 69 65 6c 64 20 6e 61 6d 65 3d | bar")</field>.......<field.name= |
18bd60 | 22 5f 63 68 65 76 72 6f 6e 22 3e 64 6f 63 75 6d 65 6e 74 2e 67 65 74 41 6e 6f 6e 79 6d 6f 75 73 | "_chevron">document.getAnonymous |
18bd80 | 45 6c 65 6d 65 6e 74 42 79 41 74 74 72 69 62 75 74 65 28 74 68 69 73 2c 20 22 63 6c 61 73 73 22 | ElementByAttribute(this,."class" |
18bda0 | 2c 20 22 63 68 65 76 72 6f 6e 22 29 3c 2f 66 69 65 6c 64 3e 0a 0a 20 20 20 20 20 20 3c 66 69 65 | ,."chevron")</field>........<fie |
18bdc0 | 6c 64 20 6e 61 6d 65 3d 22 5f 6f 70 65 6e 65 64 4d 65 6e 75 42 75 74 74 6f 6e 22 3e 6e 75 6c 6c | ld.name="_openedMenuButton">null |
18bde0 | 3c 2f 66 69 65 6c 64 3e 0a 0a 20 20 20 20 20 20 3c 66 69 65 6c 64 20 6e 61 6d 65 3d 22 5f 72 65 | </field>........<field.name="_re |
18be00 | 73 75 6c 74 22 3e 6e 75 6c 6c 3c 2f 66 69 65 6c 64 3e 0a 0a 20 20 20 20 20 20 3c 21 2d 2d 20 6e | sult">null</field>........<!--.n |
18be20 | 73 49 50 6c 61 63 65 73 56 69 65 77 20 2d 2d 3e 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e | sIPlacesView.-->.......<method.n |
18be40 | 61 6d 65 3d 22 67 65 74 52 65 73 75 6c 74 22 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 3c | ame="getResult">.........<body>< |
18be60 | 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f | ![CDATA[...........return.this._ |
18be80 | 72 65 73 75 6c 74 3b 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 | result;.........]]></body>...... |
18bea0 | 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 21 2d 2d 20 6e 73 49 50 6c 61 63 65 73 | .</method>........<!--.nsIPlaces |
18bec0 | 56 69 65 77 20 2d 2d 3e 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 67 65 74 | View.-->.......<method.name="get |
18bee0 | 52 65 73 75 6c 74 4e 6f 64 65 22 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 3c 21 5b 43 44 | ResultNode">.........<body><![CD |
18bf00 | 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 72 65 73 75 | ATA[...........return.this._resu |
18bf20 | 6c 74 2e 72 6f 6f 74 3b 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 | lt.root;.........]]></body>..... |
18bf40 | 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d | ..</method>........<method.name= |
18bf60 | 22 5f 72 65 62 75 69 6c 64 22 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 3c 21 5b 43 44 41 | "_rebuild">.........<body><![CDA |
18bf80 | 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 43 6c 65 61 72 20 6f 75 74 20 72 65 66 65 72 | TA[...........//.Clear.out.refer |
18bfa0 | 65 6e 63 65 73 20 74 6f 20 65 78 69 73 74 69 6e 67 20 6e 6f 64 65 73 2c 20 73 69 6e 63 65 20 77 | ences.to.existing.nodes,.since.w |
18bfc0 | 65 27 6c 6c 20 62 65 20 64 65 6c 65 74 69 6e 67 20 61 6e 64 20 72 65 2d 61 64 64 69 6e 67 2e 0a | e'll.be.deleting.and.re-adding.. |
18bfe0 | 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 6f 76 65 72 46 6f 6c 64 65 72 2e 6e | ..........if.(this._overFolder.n |
18c000 | 6f 64 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 63 6c 65 61 72 4f 76 65 72 | ode).............this._clearOver |
18c020 | 46 6f 6c 64 65 72 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 6f 70 65 6e 65 64 | Folder();...........this._opened |
18c040 | 4d 65 6e 75 42 75 74 74 6f 6e 20 3d 20 6e 75 6c 6c 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 77 68 | MenuButton.=.null;............wh |
18c060 | 69 6c 65 20 28 74 68 69 73 2e 68 61 73 43 68 69 6c 64 4e 6f 64 65 73 28 29 29 0a 20 20 20 20 20 | ile.(this.hasChildNodes())...... |
18c080 | 20 20 20 20 20 20 20 74 68 69 73 2e 72 65 6d 6f 76 65 43 68 69 6c 64 28 74 68 69 73 2e 66 69 72 | .......this.removeChild(this.fir |
18c0a0 | 73 74 43 68 69 6c 64 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 72 6f 6f 74 4e 6f 64 | stChild);............var.rootNod |
18c0c0 | 65 20 3d 20 74 68 69 73 2e 5f 72 65 73 75 6c 74 2e 72 6f 6f 74 3b 0a 20 20 20 20 20 20 20 20 20 | e.=.this._result.root;.......... |
18c0e0 | 20 76 61 72 20 63 63 20 3d 20 72 6f 6f 74 4e 6f 64 65 2e 63 68 69 6c 64 43 6f 75 6e 74 3b 0a 20 | .var.cc.=.rootNode.childCount;.. |
18c100 | 20 20 20 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 63 63 3b | .........for.(var.i.=.0;.i.<.cc; |
18c120 | 20 2b 2b 69 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 69 6e 73 65 72 74 4e 65 77 | .++i).............this.insertNew |
18c140 | 49 74 65 6d 28 72 6f 6f 74 4e 6f 64 65 2e 67 65 74 43 68 69 6c 64 28 69 29 2c 20 6e 75 6c 6c 29 | Item(rootNode.getChild(i),.null) |
18c160 | 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 63 68 65 76 72 6f 6e 50 6f 70 75 70 20 3d 20 | ;............var.chevronPopup.=. |
18c180 | 74 68 69 73 2e 5f 63 68 65 76 72 6f 6e 2e 6c 61 73 74 43 68 69 6c 64 3b 0a 20 20 20 20 20 20 20 | this._chevron.lastChild;........ |
18c1a0 | 20 20 20 69 66 20 28 63 68 65 76 72 6f 6e 50 6f 70 75 70 2e 68 61 73 41 74 74 72 69 62 75 74 65 | ...if.(chevronPopup.hasAttribute |
18c1c0 | 28 22 74 79 70 65 22 29 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 4f 74 68 65 72 | ("type")).{.............//.Other |
18c1e0 | 77 69 73 65 20 77 65 27 6c 6c 20 73 65 74 20 69 74 20 77 68 65 6e 20 74 68 65 20 63 68 65 76 72 | wise.we'll.set.it.when.the.chevr |
18c200 | 6f 6e 20 69 73 20 65 6e 61 62 6c 65 64 20 28 73 65 65 20 75 70 64 61 74 65 43 68 65 76 72 6f 6e | on.is.enabled.(see.updateChevron |
18c220 | 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 63 68 65 76 72 6f 6e 50 6f 70 75 70 2e 70 6c 61 63 65 | ).............chevronPopup.place |
18c240 | 20 3d 20 74 68 69 73 2e 70 6c 61 63 65 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 | .=.this.place;...........}...... |
18c260 | 20 20 20 20 20 20 77 68 69 6c 65 20 28 63 68 65 76 72 6f 6e 50 6f 70 75 70 2e 68 61 73 43 68 69 | ......while.(chevronPopup.hasChi |
18c280 | 6c 64 4e 6f 64 65 73 28 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 63 68 65 76 72 6f 6e 50 6f | ldNodes()).............chevronPo |
18c2a0 | 70 75 70 2e 72 65 6d 6f 76 65 43 68 69 6c 64 28 63 68 65 76 72 6f 6e 50 6f 70 75 70 2e 6c 61 73 | pup.removeChild(chevronPopup.las |
18c2c0 | 74 43 68 69 6c 64 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 54 68 69 73 20 6e 65 65 64 | tChild);............//.This.need |
18c2e0 | 73 20 74 6f 20 62 65 20 69 6e 20 61 20 74 69 6d 65 6f 75 74 20 74 6f 20 6d 61 6b 65 20 73 75 72 | s.to.be.in.a.timeout.to.make.sur |
18c300 | 65 20 6f 75 72 20 62 6f 78 4f 62 6a 65 63 74 20 68 61 73 20 74 69 6d 65 0a 20 20 20 20 20 20 20 | e.our.boxObject.has.time........ |
18c320 | 20 20 20 2f 2f 20 74 6f 20 67 65 74 20 69 74 73 20 70 72 6f 70 65 72 20 73 69 7a 65 0a 20 20 20 | ...//.to.get.its.proper.size.... |
18c340 | 20 20 20 20 20 20 20 76 61 72 20 74 20 3d 20 74 68 69 73 3b 0a 20 20 20 20 20 20 20 20 20 20 73 | .......var.t.=.this;...........s |
18c360 | 65 74 54 69 6d 65 6f 75 74 28 66 75 6e 63 74 69 6f 6e 28 29 20 7b 20 74 2e 75 70 64 61 74 65 43 | etTimeout(function().{.t.updateC |
18c380 | 68 65 76 72 6f 6e 28 29 3b 20 7d 2c 20 30 29 3b 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 62 6f | hevron();.},.0);.........]]></bo |
18c3a0 | 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 | dy>.......</method>........<meth |
18c3c0 | 6f 64 20 6e 61 6d 65 3d 22 69 6e 73 65 72 74 4e 65 77 49 74 65 6d 22 3e 0a 20 20 20 20 20 20 20 | od.name="insertNewItem">........ |
18c3e0 | 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 43 68 69 6c 64 22 2f 3e 0a 20 20 20 20 | .<parameter.name="aChild"/>..... |
18c400 | 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 42 65 66 6f 72 65 22 2f 3e 0a | ....<parameter.name="aBefore"/>. |
18c420 | 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 | ........<body><![CDATA[......... |
18c440 | 20 20 76 61 72 20 74 79 70 65 20 3d 20 61 43 68 69 6c 64 2e 74 79 70 65 3b 0a 20 20 20 20 20 20 | ..var.type.=.aChild.type;....... |
18c460 | 20 20 20 20 76 61 72 20 62 75 74 74 6f 6e 3b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 79 | ....var.button;...........if.(ty |
18c480 | 70 65 20 3d 3d 20 43 69 2e 6e 73 49 4e 61 76 48 69 73 74 6f 72 79 52 65 73 75 6c 74 4e 6f 64 65 | pe.==.Ci.nsINavHistoryResultNode |
18c4a0 | 2e 52 45 53 55 4c 54 5f 54 59 50 45 5f 53 45 50 41 52 41 54 4f 52 29 0a 20 20 20 20 20 20 20 20 | .RESULT_TYPE_SEPARATOR)......... |
18c4c0 | 20 20 20 20 62 75 74 74 6f 6e 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 63 72 65 61 74 65 45 6c 65 6d | ....button.=.document.createElem |
18c4e0 | 65 6e 74 28 22 74 6f 6f 6c 62 61 72 73 65 70 61 72 61 74 6f 72 22 29 3b 0a 20 20 20 20 20 20 20 | ent("toolbarseparator");........ |
18c500 | 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 62 75 74 74 6f 6e 20 3d 20 64 | ...else.{.............button.=.d |
18c520 | 6f 63 75 6d 65 6e 74 2e 63 72 65 61 74 65 45 6c 65 6d 65 6e 74 28 22 74 6f 6f 6c 62 61 72 62 75 | ocument.createElement("toolbarbu |
18c540 | 74 74 6f 6e 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 62 75 74 74 6f 6e 2e 63 6c 61 73 73 | tton");.............button.class |
18c560 | 4e 61 6d 65 20 3d 20 22 62 6f 6f 6b 6d 61 72 6b 2d 69 74 65 6d 22 3b 0a 20 20 20 20 20 20 20 20 | Name.=."bookmark-item";......... |
18c580 | 20 20 20 20 62 75 74 74 6f 6e 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 6c 61 62 65 6c 22 2c | ....button.setAttribute("label", |
18c5a0 | 20 61 43 68 69 6c 64 2e 74 69 74 6c 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 | .aChild.title);.............var. |
18c5c0 | 69 63 6f 6e 55 52 49 20 3d 20 61 43 68 69 6c 64 2e 69 63 6f 6e 3b 0a 20 20 20 20 20 20 20 20 20 | iconURI.=.aChild.icon;.......... |
18c5e0 | 20 20 20 76 61 72 20 69 63 6f 6e 55 52 49 53 70 65 63 20 3d 20 22 22 3b 0a 20 20 20 20 20 20 20 | ...var.iconURISpec.=."";........ |
18c600 | 20 20 20 20 20 69 66 20 28 69 63 6f 6e 55 52 49 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 | .....if.(iconURI).{............. |
18c620 | 20 20 69 63 6f 6e 55 52 49 53 70 65 63 20 3d 20 69 63 6f 6e 55 52 49 2e 73 70 65 63 3b 0a 20 20 | ..iconURISpec.=.iconURI.spec;... |
18c640 | 20 20 20 20 20 20 20 20 20 20 20 20 62 75 74 74 6f 6e 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 | ............button.setAttribute( |
18c660 | 22 69 6d 61 67 65 22 2c 20 69 63 6f 6e 55 52 49 53 70 65 63 29 3b 0a 20 20 20 20 20 20 20 20 20 | "image",.iconURISpec);.......... |
18c680 | 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 50 6c 61 63 65 73 55 74 69 6c | ...}..............if.(PlacesUtil |
18c6a0 | 73 2e 63 6f 6e 74 61 69 6e 65 72 54 79 70 65 73 2e 69 6e 64 65 78 4f 66 28 74 79 70 65 29 20 21 | s.containerTypes.indexOf(type).! |
18c6c0 | 3d 20 2d 31 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 75 74 74 6f 6e 2e 73 65 74 | =.-1).{...............button.set |
18c6e0 | 41 74 74 72 69 62 75 74 65 28 22 74 79 70 65 22 2c 20 22 6d 65 6e 75 22 29 3b 0a 20 20 20 20 20 | Attribute("type",."menu");...... |
18c700 | 20 20 20 20 20 20 20 20 20 62 75 74 74 6f 6e 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 63 6f | .........button.setAttribute("co |
18c720 | 6e 74 61 69 6e 65 72 22 2c 20 22 74 72 75 65 22 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ntainer",."true");.............. |
18c740 | 20 20 69 66 20 28 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 51 75 65 72 79 28 61 43 | ..if.(PlacesUtils.nodeIsQuery(aC |
18c760 | 68 69 6c 64 29 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 75 74 74 6f 6e 2e | hild)).{.................button. |
18c780 | 73 65 74 41 74 74 72 69 62 75 74 65 28 22 71 75 65 72 79 22 2c 20 22 74 72 75 65 22 29 3b 0a 20 | setAttribute("query",."true");.. |
18c7a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e | ...............if.(PlacesUtils.n |
18c7c0 | 6f 64 65 49 73 54 61 67 51 75 65 72 79 28 61 43 68 69 6c 64 29 29 0a 20 20 20 20 20 20 20 20 20 | odeIsTagQuery(aChild)).......... |
18c7e0 | 20 20 20 20 20 20 20 20 20 62 75 74 74 6f 6e 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 74 61 | .........button.setAttribute("ta |
18c800 | 67 43 6f 6e 74 61 69 6e 65 72 22 2c 20 22 74 72 75 65 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 | gContainer",."true");........... |
18c820 | 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 20 69 66 20 28 50 6c 61 | ....}...............else.if.(Pla |
18c840 | 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 4c 69 76 65 6d 61 72 6b 43 6f 6e 74 61 69 6e 65 72 | cesUtils.nodeIsLivemarkContainer |
18c860 | 28 61 43 68 69 6c 64 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 75 74 74 6f 6e | (aChild)).................button |
18c880 | 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 6c 69 76 65 6d 61 72 6b 22 2c 20 22 74 72 75 65 22 | .setAttribute("livemark",."true" |
18c8a0 | 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 70 6f 70 75 70 20 3d 20 64 6f | );................var.popup.=.do |
18c8c0 | 63 75 6d 65 6e 74 2e 63 72 65 61 74 65 45 6c 65 6d 65 6e 74 28 22 6d 65 6e 75 70 6f 70 75 70 22 | cument.createElement("menupopup" |
18c8e0 | 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 6f 70 75 70 2e 73 65 74 41 74 74 72 69 62 | );...............popup.setAttrib |
18c900 | 75 74 65 28 22 70 6c 61 63 65 73 70 6f 70 75 70 22 2c 20 22 74 72 75 65 22 29 3b 0a 20 20 20 20 | ute("placespopup",."true");..... |
18c920 | 20 20 20 20 20 20 20 20 20 20 62 75 74 74 6f 6e 2e 61 70 70 65 6e 64 43 68 69 6c 64 28 70 6f 70 | ..........button.appendChild(pop |
18c940 | 75 70 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 6f 70 75 70 2e 5f 72 65 73 75 6c 74 | up);...............popup._result |
18c960 | 20 3d 20 74 68 69 73 2e 5f 72 65 73 75 6c 74 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 | .=.this._result;...............p |
18c980 | 6f 70 75 70 2e 5f 72 65 73 75 6c 74 4e 6f 64 65 20 3d 20 61 73 43 6f 6e 74 61 69 6e 65 72 28 61 | opup._resultNode.=.asContainer(a |
18c9a0 | 43 68 69 6c 64 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 6f 70 75 70 2e 73 65 74 41 | Child);...............popup.setA |
18c9c0 | 74 74 72 69 62 75 74 65 28 22 63 6f 6e 74 65 78 74 22 2c 20 22 70 6c 61 63 65 73 43 6f 6e 74 65 | ttribute("context",."placesConte |
18c9e0 | 78 74 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 63 6f 6e 74 61 69 | xt");...............this._contai |
18ca00 | 6e 65 72 4e 6f 64 65 73 4d 61 70 2e 70 75 73 68 28 7b 20 72 65 73 75 6c 74 4e 6f 64 65 3a 20 61 | nerNodesMap.push({.resultNode:.a |
18ca20 | 43 68 69 6c 64 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | Child,.......................... |
18ca40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 6f 6d 4e 6f 64 65 3a 20 70 6f 70 | ....................domNode:.pop |
18ca60 | 75 70 20 7d 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 | up.});.............}............ |
18ca80 | 20 65 6c 73 65 20 69 66 20 28 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 55 52 49 28 | .else.if.(PlacesUtils.nodeIsURI( |
18caa0 | 61 43 68 69 6c 64 29 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 75 74 74 6f 6e 2e | aChild)).{...............button. |
18cac0 | 73 65 74 41 74 74 72 69 62 75 74 65 28 22 73 63 68 65 6d 65 22 2c 20 50 6c 61 63 65 73 55 49 55 | setAttribute("scheme",.PlacesUIU |
18cae0 | 74 69 6c 73 2e 67 75 65 73 73 55 72 6c 53 63 68 65 6d 65 46 6f 72 55 49 28 61 43 68 69 6c 64 2e | tils.guessUrlSchemeForUI(aChild. |
18cb00 | 75 72 69 29 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 7d | uri));.............}...........} |
18cb20 | 0a 0a 20 20 20 20 20 20 20 20 20 20 62 75 74 74 6f 6e 2e 6e 6f 64 65 20 3d 20 61 43 68 69 6c 64 | ............button.node.=.aChild |
18cb40 | 3b 0a 20 20 20 20 20 20 20 20 20 20 62 75 74 74 6f 6e 2e 6e 6f 64 65 2e 76 69 65 77 49 6e 64 65 | ;...........button.node.viewInde |
18cb60 | 78 20 3d 20 30 3b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 61 42 65 66 6f 72 65 29 0a 20 20 | x.=.0;...........if.(aBefore)... |
18cb80 | 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 69 6e 73 65 72 74 42 65 66 6f 72 65 28 62 75 74 74 | ..........this.insertBefore(butt |
18cba0 | 6f 6e 2c 20 61 42 65 66 6f 72 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 0a 20 20 20 | on,.aBefore);...........else.... |
18cbc0 | 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 61 70 70 65 6e 64 43 68 69 6c 64 28 62 75 74 74 6f 6e | .........this.appendChild(button |
18cbe0 | 29 3b 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 | );.........]]></body>.......</me |
18cc00 | 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 72 65 6d 6f 76 | thod>........<method.name="remov |
18cc20 | 65 49 74 65 6d 22 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d | eItem">.........<parameter.name= |
18cc40 | 22 63 68 69 6c 64 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 3c 21 5b 43 44 41 54 41 | "child"/>.........<body><![CDATA |
18cc60 | 5b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 | [...........if.(PlacesUtils.node |
18cc80 | 49 73 43 6f 6e 74 61 69 6e 65 72 28 63 68 69 6c 64 2e 6e 6f 64 65 29 29 20 7b 0a 20 20 20 20 20 | IsContainer(child.node)).{...... |
18cca0 | 20 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 3d 30 3b 20 69 20 3c 20 74 68 69 73 2e 5f 63 | .......for.(var.i=0;.i.<.this._c |
18ccc0 | 6f 6e 74 61 69 6e 65 72 4e 6f 64 65 73 4d 61 70 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 20 7b 0a | ontainerNodesMap.length;.i++).{. |
18cce0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 63 6f 6e 74 61 69 6e 65 | ..............if.(this._containe |
18cd00 | 72 4e 6f 64 65 73 4d 61 70 5b 69 5d 2e 72 65 73 75 6c 74 4e 6f 64 65 20 3d 3d 20 63 68 69 6c 64 | rNodesMap[i].resultNode.==.child |
18cd20 | 2e 6e 6f 64 65 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 63 | .node).{.................this._c |
18cd40 | 6f 6e 74 61 69 6e 65 72 4e 6f 64 65 73 4d 61 70 2e 73 70 6c 69 63 65 28 69 2c 20 31 29 3b 0a 20 | ontainerNodesMap.splice(i,.1);.. |
18cd60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 20 20 20 20 | ...............break;........... |
18cd80 | 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 7d 0a | ....}.............}...........}. |
18cda0 | 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 69 66 20 64 6f 63 75 6d 65 6e 74 2e 70 6f 70 75 70 4e | ...........//.if.document.popupN |
18cdc0 | 6f 64 65 20 70 6f 69 6e 74 65 64 20 74 6f 20 74 68 69 73 20 63 68 69 6c 64 2c 20 6e 75 6c 6c 20 | ode.pointed.to.this.child,.null. |
18cde0 | 69 74 20 6f 75 74 2c 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 6f 74 68 65 72 77 69 73 65 20 63 | it.out,...........//.otherwise.c |
18ce00 | 6f 6e 74 72 6f 6c 6c 65 72 27 73 20 63 6f 6d 6d 61 6e 64 2d 75 70 64 61 74 69 6e 67 20 6d 61 79 | ontroller's.command-updating.may |
18ce20 | 20 72 65 6c 79 20 6f 6e 20 74 68 65 20 72 65 6d 6f 76 65 64 0a 20 20 20 20 20 20 20 20 20 20 2f | .rely.on.the.removed.........../ |
18ce40 | 2f 20 69 74 65 6d 20 73 74 69 6c 6c 20 62 65 69 6e 67 20 22 73 65 6c 65 63 74 65 64 22 2e 0a 20 | /.item.still.being."selected"... |
18ce60 | 20 20 20 20 20 20 20 20 20 69 66 20 28 64 6f 63 75 6d 65 6e 74 2e 70 6f 70 75 70 4e 6f 64 65 20 | .........if.(document.popupNode. |
18ce80 | 3d 3d 20 63 68 69 6c 64 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 70 | ==.child).............document.p |
18cea0 | 6f 70 75 70 4e 6f 64 65 20 3d 20 6e 75 6c 6c 3b 0a 20 20 20 20 20 20 20 20 20 20 63 68 69 6c 64 | opupNode.=.null;...........child |
18cec0 | 2e 70 61 72 65 6e 74 4e 6f 64 65 2e 72 65 6d 6f 76 65 43 68 69 6c 64 28 63 68 69 6c 64 29 3b 0a | .parentNode.removeChild(child);. |
18cee0 | 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f | ........]]></body>.......</metho |
18cf00 | 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 63 68 65 76 72 6f 6e 50 | d>........<method.name="chevronP |
18cf20 | 6f 70 75 70 53 68 6f 77 69 6e 67 22 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 | opupShowing">.........<parameter |
18cf40 | 20 6e 61 6d 65 3d 22 61 45 76 65 6e 74 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 3c | .name="aEvent"/>.........<body>< |
18cf60 | 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 70 6f 70 75 70 20 3d 20 61 | ![CDATA[...........var.popup.=.a |
18cf80 | 45 76 65 6e 74 2e 74 61 72 67 65 74 3b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 70 6f 70 75 | Event.target;...........if.(popu |
18cfa0 | 70 20 21 3d 20 74 68 69 73 2e 5f 63 68 65 76 72 6f 6e 2e 66 69 72 73 74 43 68 69 6c 64 29 0a 20 | p.!=.this._chevron.firstChild).. |
18cfc0 | 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 66 6f | ...........return;............fo |
18cfe0 | 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 70 6f 70 75 70 2e 63 68 69 6c 64 4e 6f 64 | r.(var.i.=.0;.i.<.popup.childNod |
18d000 | 65 73 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 70 6f 70 75 | es.length;.i++).............popu |
18d020 | 70 2e 63 68 69 6c 64 4e 6f 64 65 73 5b 69 5d 2e 68 69 64 64 65 6e 20 3d 20 21 74 68 69 73 2e 63 | p.childNodes[i].hidden.=.!this.c |
18d040 | 68 69 6c 64 4e 6f 64 65 73 5b 69 5d 2e 63 6f 6c 6c 61 70 73 65 64 3b 0a 20 20 20 20 20 20 20 20 | hildNodes[i].collapsed;......... |
18d060 | 5d 5d 3e 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 | ]]></body>.......</method>...... |
18d080 | 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 67 65 74 45 6c 65 6d 65 6e 74 57 69 64 74 68 22 | ..<method.name="getElementWidth" |
18d0a0 | 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 65 6c 65 6d 65 | >.........<parameter.name="eleme |
18d0c0 | 6e 74 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 | nt"/>.........<body><![CDATA[... |
18d0e0 | 20 20 20 20 20 20 20 20 76 61 72 20 73 74 79 6c 65 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 64 65 66 | ........var.style.=.document.def |
18d100 | 61 75 6c 74 56 69 65 77 2e 67 65 74 43 6f 6d 70 75 74 65 64 53 74 79 6c 65 28 65 6c 65 6d 65 6e | aultView.getComputedStyle(elemen |
18d120 | 74 2c 20 22 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 6c 65 66 74 4d 61 72 67 69 6e | t,."");...........var.leftMargin |
18d140 | 20 3d 20 73 74 79 6c 65 2e 67 65 74 50 72 6f 70 65 72 74 79 56 61 6c 75 65 28 22 6d 61 72 67 69 | .=.style.getPropertyValue("margi |
18d160 | 6e 2d 6c 65 66 74 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 6c 65 66 74 4d 61 72 67 69 6e 20 3d | n-left");...........leftMargin.= |
18d180 | 20 6c 65 66 74 4d 61 72 67 69 6e 20 3f 20 4d 61 74 68 2e 72 6f 75 6e 64 28 70 61 72 73 65 46 6c | .leftMargin.?.Math.round(parseFl |
18d1a0 | 6f 61 74 28 6c 65 66 74 4d 61 72 67 69 6e 29 29 20 3a 20 30 3b 0a 20 20 20 20 20 20 20 20 20 20 | oat(leftMargin)).:.0;........... |
18d1c0 | 76 61 72 20 72 69 67 68 74 4d 61 72 67 69 6e 20 3d 20 73 74 79 6c 65 2e 67 65 74 50 72 6f 70 65 | var.rightMargin.=.style.getPrope |
18d1e0 | 72 74 79 56 61 6c 75 65 28 22 6d 61 72 67 69 6e 2d 72 69 67 68 74 22 29 3b 0a 20 20 20 20 20 20 | rtyValue("margin-right");....... |
18d200 | 20 20 20 20 72 69 67 68 74 4d 61 72 67 69 6e 20 3d 20 72 69 67 68 74 4d 61 72 67 69 6e 20 3f 20 | ....rightMargin.=.rightMargin.?. |
18d220 | 4d 61 74 68 2e 72 6f 75 6e 64 28 70 61 72 73 65 46 6c 6f 61 74 28 72 69 67 68 74 4d 61 72 67 69 | Math.round(parseFloat(rightMargi |
18d240 | 6e 29 29 20 3a 20 30 3b 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 65 6c 65 6d 65 6e | n)).:.0;...........return.elemen |
18d260 | 74 2e 62 6f 78 4f 62 6a 65 63 74 2e 77 69 64 74 68 20 2b 20 6c 65 66 74 4d 61 72 67 69 6e 20 2b | t.boxObject.width.+.leftMargin.+ |
18d280 | 20 72 69 67 68 74 4d 61 72 67 69 6e 3b 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 62 6f 64 79 3e | .rightMargin;.........]]></body> |
18d2a0 | 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 | .......</method>........<method. |
18d2c0 | 6e 61 6d 65 3d 22 75 70 64 61 74 65 43 68 65 76 72 6f 6e 22 3e 0a 20 20 20 20 20 20 20 20 3c 70 | name="updateChevron">.........<p |
18d2e0 | 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 65 76 65 6e 74 22 2f 3e 0a 20 20 20 20 20 20 20 20 | arameter.name="event"/>......... |
18d300 | 3c 62 6f 64 79 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 49 67 6e | <body><![CDATA[...........//.Ign |
18d320 | 6f 72 65 20 65 76 65 6e 74 73 20 74 68 61 74 20 61 72 65 6e 27 74 20 6f 6e 20 74 68 65 20 64 6f | ore.events.that.aren't.on.the.do |
18d340 | 63 75 6d 65 6e 74 20 6f 72 20 74 68 65 20 77 69 6e 64 6f 77 0a 20 20 20 20 20 20 20 20 20 20 2f | cument.or.the.window.........../ |
18d360 | 2f 20 28 68 74 6d 6c 20 64 6f 63 75 6d 65 6e 74 2c 20 74 6f 6f 6c 74 69 70 73 2c 20 65 74 63 29 | /.(html.document,.tooltips,.etc) |
18d380 | 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 44 6f 20 6e 6f 74 20 69 67 6e 6f 72 65 20 63 6f 6e 74 | ...........//.Do.not.ignore.cont |
18d3a0 | 65 6e 74 20 77 69 6e 64 6f 77 20 72 65 73 69 7a 65 73 2c 20 62 65 63 61 75 73 65 20 74 68 65 79 | ent.window.resizes,.because.they |
18d3c0 | 20 6d 61 79 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 62 65 20 74 68 65 20 72 65 73 75 6c 74 20 | .may...........//.be.the.result. |
18d3e0 | 6f 66 20 74 68 65 20 74 6f 6f 6c 62 61 72 20 62 65 69 6e 67 20 73 68 6f 77 6e 2f 68 69 64 64 65 | of.the.toolbar.being.shown/hidde |
18d400 | 6e 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 65 76 65 6e 74 20 26 26 20 65 76 65 6e 74 2e 74 | n...........if.(event.&&.event.t |
18d420 | 61 72 67 65 74 20 21 3d 20 64 6f 63 75 6d 65 6e 74 20 26 26 20 65 76 65 6e 74 2e 74 61 72 67 65 | arget.!=.document.&&.event.targe |
18d440 | 74 20 21 3d 20 77 69 6e 64 6f 77 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 76 65 | t.!=.window.&&...............eve |
18d460 | 6e 74 2e 74 61 72 67 65 74 20 21 3d 20 63 6f 6e 74 65 6e 74 29 0a 20 20 20 20 20 20 20 20 20 20 | nt.target.!=.content)........... |
18d480 | 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 63 68 | ..return;............if.(this.ch |
18d4a0 | 69 6c 64 4e 6f 64 65 73 2e 6c 65 6e 67 74 68 20 3d 3d 20 30 29 20 7b 0a 20 20 20 20 20 20 20 20 | ildNodes.length.==.0).{......... |
18d4c0 | 20 20 20 20 74 68 69 73 2e 5f 63 68 65 76 72 6f 6e 2e 63 6f 6c 6c 61 70 73 65 64 20 3d 20 74 72 | ....this._chevron.collapsed.=.tr |
18d4e0 | 75 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 20 20 20 20 20 20 | ue;.............return;......... |
18d500 | 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 73 70 61 63 65 4c 65 66 74 20 3d 20 74 | ..}............var.spaceLeft.=.t |
18d520 | 68 69 73 2e 62 6f 78 4f 62 6a 65 63 74 2e 77 69 64 74 68 3b 0a 20 20 20 20 20 20 20 20 20 20 74 | his.boxObject.width;...........t |
18d540 | 68 69 73 2e 5f 63 68 65 76 72 6f 6e 2e 63 6f 6c 6c 61 70 73 65 64 20 3d 20 66 61 6c 73 65 3b 0a | his._chevron.collapsed.=.false;. |
18d560 | 20 20 20 20 20 20 20 20 20 20 76 61 72 20 63 68 65 76 72 6f 6e 57 69 64 74 68 20 3d 20 74 68 69 | ..........var.chevronWidth.=.thi |
18d580 | 73 2e 5f 63 68 65 76 72 6f 6e 2e 62 6f 78 4f 62 6a 65 63 74 2e 77 69 64 74 68 3b 0a 20 20 20 20 | s._chevron.boxObject.width;..... |
18d5a0 | 20 20 20 20 20 20 76 61 72 20 6f 76 65 72 66 6c 6f 77 65 64 20 3d 20 66 61 6c 73 65 3b 0a 20 20 | ......var.overflowed.=.false;... |
18d5c0 | 20 20 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 74 68 69 73 | ........for.(var.i.=.0;.i.<.this |
18d5e0 | 2e 63 68 69 6c 64 4e 6f 64 65 73 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 20 7b 0a 20 20 20 20 20 | .childNodes.length;.i++).{...... |
18d600 | 20 20 20 20 20 20 20 76 61 72 20 63 68 69 6c 64 20 3d 20 74 68 69 73 2e 63 68 69 6c 64 4e 6f 64 | .......var.child.=.this.childNod |
18d620 | 65 73 5b 69 5d 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 63 68 69 6c 64 2e 63 6f 6c 6c 61 70 73 | es[i];.............child.collaps |
18d640 | 65 64 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 73 70 61 63 65 4c 65 66 | ed.=.false;.............spaceLef |
18d660 | 74 20 2d 3d 20 74 68 69 73 2e 67 65 74 45 6c 65 6d 65 6e 74 57 69 64 74 68 28 63 68 69 6c 64 29 | t.-=.this.getElementWidth(child) |
18d680 | 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 73 70 61 63 65 4e 65 65 64 65 64 20 3d 20 | ;.............var.spaceNeeded.=. |
18d6a0 | 28 69 20 3d 3d 20 74 68 69 73 2e 63 68 69 6c 64 4e 6f 64 65 73 2e 6c 65 6e 67 74 68 20 2d 20 31 | (i.==.this.childNodes.length.-.1 |
18d6c0 | 29 20 3f 20 30 20 3a 20 63 68 65 76 72 6f 6e 57 69 64 74 68 3b 0a 20 20 20 20 20 20 20 20 20 20 | ).?.0.:.chevronWidth;........... |
18d6e0 | 20 20 69 66 20 28 73 70 61 63 65 4c 65 66 74 20 3c 20 73 70 61 63 65 4e 65 65 64 65 64 29 20 7b | ..if.(spaceLeft.<.spaceNeeded).{ |
18d700 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 76 65 72 66 6c 6f 77 65 64 20 3d 20 74 72 75 65 | ...............overflowed.=.true |
18d720 | 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 68 69 6c 64 2e 63 6f 6c 6c 61 70 73 65 64 20 | ;...............child.collapsed. |
18d740 | 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 | =.true;.............}........... |
18d760 | 7d 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 28 74 68 69 73 2e 5f 63 68 65 76 72 6f 6e 2e | }...........if.(!(this._chevron. |
18d780 | 63 6f 6c 6c 61 70 73 65 64 20 3d 20 21 6f 76 65 72 66 6c 6f 77 65 64 29 29 20 7b 0a 20 20 20 20 | collapsed.=.!overflowed)).{..... |
18d7a0 | 20 20 20 20 20 20 20 20 2f 2f 20 41 74 74 61 63 68 20 74 68 65 20 70 6f 70 75 70 20 62 69 6e 64 | ........//.Attach.the.popup.bind |
18d7c0 | 69 6e 67 20 74 6f 20 74 68 65 20 63 68 65 76 72 6f 6e 20 70 6f 70 75 70 0a 20 20 20 20 20 20 20 | ing.to.the.chevron.popup........ |
18d7e0 | 20 20 20 20 20 76 61 72 20 70 6f 70 75 70 20 3d 20 74 68 69 73 2e 5f 63 68 65 76 72 6f 6e 2e 66 | .....var.popup.=.this._chevron.f |
18d800 | 69 72 73 74 43 68 69 6c 64 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 70 6f 70 75 | irstChild;.............if.(!popu |
18d820 | 70 2e 68 61 73 41 74 74 72 69 62 75 74 65 28 22 74 79 70 65 22 29 29 20 7b 0a 20 20 20 20 20 20 | p.hasAttribute("type")).{....... |
18d840 | 20 20 20 20 20 20 20 20 70 6f 70 75 70 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 70 6c 61 63 | ........popup.setAttribute("plac |
18d860 | 65 22 2c 20 74 68 69 73 2e 70 6c 61 63 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 | e",.this.place);...............p |
18d880 | 6f 70 75 70 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 74 79 70 65 22 2c 20 22 70 6c 61 63 65 | opup.setAttribute("type",."place |
18d8a0 | 73 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 0a | s");.............}...........}.. |
18d8c0 | 20 20 20 20 20 20 20 20 20 20 2f 2f 20 57 65 20 72 65 62 75 69 6c 64 20 74 68 65 20 63 68 65 76 | ..........//.We.rebuild.the.chev |
18d8e0 | 72 6f 6e 20 6f 6e 20 70 6f 70 75 70 53 68 6f 77 69 6e 67 2c 20 73 6f 20 69 66 20 69 74 20 69 73 | ron.on.popupShowing,.so.if.it.is |
18d900 | 20 6f 70 65 6e 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 77 65 20 6d 75 73 74 20 66 6f 72 63 65 | .open...........//.we.must.force |
18d920 | 20 61 20 72 65 62 75 69 6c 64 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 63 | .a.rebuild...........if.(this._c |
18d940 | 68 65 76 72 6f 6e 2e 6f 70 65 6e 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 70 | hevron.open).{.............var.p |
18d960 | 6f 70 75 70 20 3d 20 74 68 69 73 2e 5f 63 68 65 76 72 6f 6e 2e 66 69 72 73 74 43 68 69 6c 64 3b | opup.=.this._chevron.firstChild; |
18d980 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c | .............for.(var.i.=.0;.i.< |
18d9a0 | 20 70 6f 70 75 70 2e 63 68 69 6c 64 4e 6f 64 65 73 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 0a 20 | .popup.childNodes.length;.i++).. |
18d9c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 70 6f 70 75 70 2e 63 68 69 6c 64 4e 6f 64 65 73 5b 69 5d | .............popup.childNodes[i] |
18d9e0 | 2e 68 69 64 64 65 6e 20 3d 20 21 74 68 69 73 2e 63 68 69 6c 64 4e 6f 64 65 73 5b 69 5d 2e 63 6f | .hidden.=.!this.childNodes[i].co |
18da00 | 6c 6c 61 70 73 65 64 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 5d 5d 3e | llapsed;...........}.........]]> |
18da20 | 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c | </body>.......</method>........< |
18da40 | 21 2d 2d 20 6e 73 49 50 6c 61 63 65 73 56 69 65 77 20 2d 2d 3e 0a 20 20 20 20 20 20 3c 70 72 6f | !--.nsIPlacesView.-->.......<pro |
18da60 | 70 65 72 74 79 20 6e 61 6d 65 3d 22 70 6c 61 63 65 22 3e 0a 20 20 20 20 20 20 20 20 3c 67 65 74 | perty.name="place">.........<get |
18da80 | 74 65 72 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 | ter><![CDATA[...........return.t |
18daa0 | 68 69 73 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 70 6c 61 63 65 22 29 3b 0a 20 20 20 20 20 | his.getAttribute("place");...... |
18dac0 | 20 20 20 5d 5d 3e 3c 2f 67 65 74 74 65 72 3e 0a 20 20 20 20 20 20 20 20 3c 73 65 74 74 65 72 3e | ...]]></getter>.........<setter> |
18dae0 | 3c 21 5b 43 44 41 54 41 5b 20 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 73 65 74 41 74 74 | <![CDATA[............this.setAtt |
18db00 | 72 69 62 75 74 65 28 22 70 6c 61 63 65 22 2c 20 76 61 6c 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 | ribute("place",.val);........... |
18db20 | 20 76 61 72 20 68 69 73 74 6f 72 79 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 68 69 73 74 6f | .var.history.=.PlacesUtils.histo |
18db40 | 72 79 3b 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 71 75 65 72 69 65 73 20 3d 20 7b 20 7d 2c | ry;...........var.queries.=.{.}, |
18db60 | 20 6f 70 74 69 6f 6e 73 20 3d 20 7b 20 7d 3b 0a 20 20 20 20 20 20 20 20 20 20 68 69 73 74 6f 72 | .options.=.{.};...........histor |
18db80 | 79 2e 71 75 65 72 79 53 74 72 69 6e 67 54 6f 51 75 65 72 69 65 73 28 76 61 6c 2c 20 71 75 65 72 | y.queryStringToQueries(val,.quer |
18dba0 | 69 65 73 2c 20 7b 20 7d 2c 20 6f 70 74 69 6f 6e 73 29 3b 0a 20 20 20 20 20 20 20 20 20 20 69 66 | ies,.{.},.options);...........if |
18dbc0 | 20 28 21 71 75 65 72 69 65 73 2e 76 61 6c 75 65 2e 6c 65 6e 67 74 68 29 20 0a 20 20 20 20 20 20 | .(!queries.value.length)........ |
18dbe0 | 20 20 20 20 20 20 71 75 65 72 69 65 73 2e 76 61 6c 75 65 20 3d 20 5b 68 69 73 74 6f 72 79 2e 67 | ......queries.value.=.[history.g |
18dc00 | 65 74 4e 65 77 51 75 65 72 79 28 29 5d 3b 0a 20 20 20 20 20 20 20 20 20 20 74 72 79 20 7b 0a 20 | etNewQuery()];...........try.{.. |
18dc20 | 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 72 65 73 75 6c 74 20 3d 0a 20 20 20 20 20 20 20 20 | ...........var.result.=......... |
18dc40 | 20 20 20 20 20 20 68 69 73 74 6f 72 79 2e 65 78 65 63 75 74 65 51 75 65 72 69 65 73 28 71 75 65 | ......history.executeQueries(que |
18dc60 | 72 69 65 73 2e 76 61 6c 75 65 2c 20 71 75 65 72 69 65 73 2e 76 61 6c 75 65 2e 6c 65 6e 67 74 68 | ries.value,.queries.value.length |
18dc80 | 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ,............................... |
18dca0 | 20 20 20 20 20 20 20 6f 70 74 69 6f 6e 73 2e 76 61 6c 75 65 29 3b 0a 20 20 20 20 20 20 20 20 20 | .......options.value);.......... |
18dcc0 | 20 20 20 72 65 73 75 6c 74 2e 76 69 65 77 65 72 20 3d 20 74 68 69 73 2e 5f 76 69 65 77 65 72 3b | ...result.viewer.=.this._viewer; |
18dce0 | 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 63 61 74 63 68 28 65 78 29 | ...........}...........catch(ex) |
18dd00 | 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 49 6e 76 61 6c 69 64 20 71 75 65 72 79 2c | .{.............//.Invalid.query, |
18dd20 | 20 6f 72 20 68 61 64 20 6e 6f 20 72 65 73 75 6c 74 73 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 | .or.had.no.results.............. |
18dd40 | 2f 2f 20 54 68 69 73 20 69 73 20 76 61 6c 69 64 2c 20 65 67 3a 20 75 73 65 72 20 64 65 6c 65 74 | //.This.is.valid,.eg:.user.delet |
18dd60 | 65 73 20 74 68 65 69 72 20 62 6f 6f 6b 6d 61 72 6b 73 20 74 6f 6f 6c 62 61 72 20 66 6f 6c 64 65 | es.their.bookmarks.toolbar.folde |
18dd80 | 72 2e 20 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e | r.............}...........return |
18dda0 | 20 76 61 6c 3b 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 73 65 74 74 65 72 3e 0a 20 20 20 20 20 | .val;.........]]></setter>...... |
18ddc0 | 20 3c 2f 70 72 6f 70 65 72 74 79 3e 0a 0a 20 20 20 20 20 20 3c 21 2d 2d 20 6e 73 49 50 6c 61 63 | .</property>........<!--.nsIPlac |
18dde0 | 65 73 56 69 65 77 20 2d 2d 3e 0a 20 20 20 20 20 20 3c 70 72 6f 70 65 72 74 79 20 6e 61 6d 65 3d | esView.-->.......<property.name= |
18de00 | 22 68 61 73 53 65 6c 65 63 74 69 6f 6e 22 3e 0a 20 20 20 20 20 20 20 20 3c 67 65 74 74 65 72 3e | "hasSelection">.........<getter> |
18de20 | 3c 21 5b 43 44 41 54 41 5b 20 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 | <![CDATA[............return.this |
18de40 | 2e 73 65 6c 65 63 74 65 64 4e 6f 64 65 20 21 3d 20 6e 75 6c 6c 3b 0a 20 20 20 20 20 20 20 20 5d | .selectedNode.!=.null;.........] |
18de60 | 5d 3e 3c 2f 67 65 74 74 65 72 3e 0a 20 20 20 20 20 20 3c 2f 70 72 6f 70 65 72 74 79 3e 0a 0a 20 | ]></getter>.......</property>... |
18de80 | 20 20 20 20 20 3c 21 2d 2d 20 6e 73 49 50 6c 61 63 65 73 56 69 65 77 20 2d 2d 3e 0a 20 20 20 20 | .....<!--.nsIPlacesView.-->..... |
18dea0 | 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 67 65 74 53 65 6c 65 63 74 69 6f 6e 4e 6f 64 65 | ..<method.name="getSelectionNode |
18dec0 | 73 22 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 | s">.........<body><![CDATA[..... |
18dee0 | 20 20 20 20 20 20 76 61 72 20 73 65 6c 65 63 74 65 64 4e 6f 64 65 20 3d 20 74 68 69 73 2e 73 65 | ......var.selectedNode.=.this.se |
18df00 | 6c 65 63 74 65 64 4e 6f 64 65 3b 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 73 65 6c | lectedNode;...........return.sel |
18df20 | 65 63 74 65 64 4e 6f 64 65 20 3f 20 5b 73 65 6c 65 63 74 65 64 4e 6f 64 65 5d 20 3a 20 5b 5d 3b | ectedNode.?.[selectedNode].:.[]; |
18df40 | 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 | .........]]></body>.......</meth |
18df60 | 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 21 2d 2d 20 6e 73 49 50 6c 61 63 65 73 56 69 65 77 20 2d 2d | od>........<!--.nsIPlacesView.-- |
18df80 | 3e 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 67 65 74 52 65 6d 6f 76 61 62 | >.......<method.name="getRemovab |
18dfa0 | 6c 65 53 65 6c 65 63 74 69 6f 6e 52 61 6e 67 65 73 22 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 | leSelectionRanges">.........<bod |
18dfc0 | 79 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 4f 6e 20 73 74 61 74 | y><![CDATA[...........//.On.stat |
18dfe0 | 69 63 20 63 6f 6e 74 65 6e 74 20 74 68 65 20 63 75 72 72 65 6e 74 20 73 65 6c 65 63 74 65 64 4e | ic.content.the.current.selectedN |
18e000 | 6f 64 65 20 77 6f 75 6c 64 20 62 65 20 74 68 65 20 73 65 6c 65 63 74 69 6f 6e 27 73 0a 20 20 20 | ode.would.be.the.selection's.... |
18e020 | 20 20 20 20 20 20 20 2f 2f 20 70 61 72 65 6e 74 20 6e 6f 64 65 2e 20 57 65 20 64 6f 6e 27 74 20 | .......//.parent.node..We.don't. |
18e040 | 77 61 6e 74 20 74 6f 20 61 6c 6c 6f 77 20 72 65 6d 6f 76 69 6e 67 20 61 20 6e 6f 64 65 20 77 68 | want.to.allow.removing.a.node.wh |
18e060 | 65 6e 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 73 65 6c 65 63 74 69 6f 6e 20 69 73 | en.the...........//.selection.is |
18e080 | 20 6e 6f 74 20 65 78 70 6c 69 63 69 74 2e 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 64 6f 63 | .not.explicit............if.(doc |
18e0a0 | 75 6d 65 6e 74 2e 70 6f 70 75 70 4e 6f 64 65 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ument.popupNode.&&.............. |
18e0c0 | 20 28 64 6f 63 75 6d 65 6e 74 2e 70 6f 70 75 70 4e 6f 64 65 20 3d 3d 20 22 6d 65 6e 75 70 6f 70 | .(document.popupNode.==."menupop |
18e0e0 | 75 70 22 20 7c 7c 20 21 64 6f 63 75 6d 65 6e 74 2e 70 6f 70 75 70 4e 6f 64 65 2e 6e 6f 64 65 29 | up".||.!document.popupNode.node) |
18e100 | 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 5b 5d 3b 0a 0a 20 20 20 20 20 20 | ).............return.[];........ |
18e120 | 20 20 20 20 72 65 74 75 72 6e 20 5b 74 68 69 73 2e 67 65 74 53 65 6c 65 63 74 69 6f 6e 4e 6f 64 | ....return.[this.getSelectionNod |
18e140 | 65 73 28 29 5d 3b 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 | es()];.........]]></body>....... |
18e160 | 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 21 2d 2d 20 6e 73 49 50 6c 61 63 65 73 56 | </method>........<!--.nsIPlacesV |
18e180 | 69 65 77 20 2d 2d 3e 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 67 65 74 44 | iew.-->.......<method.name="getD |
18e1a0 | 72 61 67 61 62 6c 65 53 65 6c 65 63 74 69 6f 6e 22 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 | ragableSelection">.........<body |
18e1c0 | 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 5b 74 68 69 | ><![CDATA[...........return.[thi |
18e1e0 | 73 2e 5f 64 72 61 67 67 65 64 4e 6f 64 65 5d 3b 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 62 6f | s._draggedNode];.........]]></bo |
18e200 | 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 21 2d 2d 20 | dy>.......</method>........<!--. |
18e220 | 6e 73 49 50 6c 61 63 65 73 56 69 65 77 20 2d 2d 3e 0a 20 20 20 20 20 20 3c 70 72 6f 70 65 72 74 | nsIPlacesView.-->.......<propert |
18e240 | 79 20 6e 61 6d 65 3d 22 73 65 6c 65 63 74 65 64 4e 6f 64 65 22 3e 0a 20 20 20 20 20 20 20 20 3c | y.name="selectedNode">.........< |
18e260 | 67 65 74 74 65 72 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 | getter><![CDATA[...........if.(t |
18e280 | 68 69 73 2e 5f 63 6f 6e 74 65 78 74 4d 65 6e 75 53 68 6f 77 6e 29 20 7b 0a 20 20 20 20 20 20 20 | his._contextMenuShown).{........ |
18e2a0 | 20 20 20 20 20 76 61 72 20 70 6f 70 75 70 4e 6f 64 65 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 70 6f | .....var.popupNode.=.document.po |
18e2c0 | 70 75 70 4e 6f 64 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 70 6f 70 75 70 4e 6f | pupNode;.............if.(popupNo |
18e2e0 | 64 65 20 3d 3d 20 74 68 69 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e | de.==.this)...............return |
18e300 | 20 74 68 69 73 2e 67 65 74 52 65 73 75 6c 74 4e 6f 64 65 28 29 3b 0a 0a 20 20 20 20 20 20 20 20 | .this.getResultNode();.......... |
18e320 | 20 20 20 20 72 65 74 75 72 6e 20 70 6f 70 75 70 4e 6f 64 65 2e 6e 6f 64 65 20 7c 7c 20 70 6f 70 | ....return.popupNode.node.||.pop |
18e340 | 75 70 4e 6f 64 65 2e 70 61 72 65 6e 74 4e 6f 64 65 2e 5f 72 65 73 75 6c 74 4e 6f 64 65 20 7c 7c | upNode.parentNode._resultNode.|| |
18e360 | 20 6e 75 6c 6c 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 | .null;...........}...........ret |
18e380 | 75 72 6e 20 6e 75 6c 6c 3b 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 67 65 74 74 65 72 3e 0a 20 | urn.null;.........]]></getter>.. |
18e3a0 | 20 20 20 20 20 3c 2f 70 72 6f 70 65 72 74 79 3e 0a 0a 20 20 20 20 20 20 3c 21 2d 2d 20 6e 73 49 | .....</property>........<!--.nsI |
18e3c0 | 50 6c 61 63 65 73 56 69 65 77 20 2d 2d 3e 0a 20 20 20 20 20 20 3c 70 72 6f 70 65 72 74 79 20 6e | PlacesView.-->.......<property.n |
18e3e0 | 61 6d 65 3d 22 69 6e 73 65 72 74 69 6f 6e 50 6f 69 6e 74 22 3e 0a 20 20 20 20 20 20 20 20 3c 67 | ame="insertionPoint">.........<g |
18e400 | 65 74 74 65 72 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 42 79 20 | etter><![CDATA[...........//.By. |
18e420 | 64 65 66 61 75 6c 74 2c 20 74 68 65 20 69 6e 73 65 72 74 69 6f 6e 20 70 6f 69 6e 74 20 69 73 20 | default,.the.insertion.point.is. |
18e440 | 61 74 20 74 68 65 20 74 6f 70 20 6c 65 76 65 6c 2c 20 61 74 20 74 68 65 20 65 6e 64 2e 20 0a 20 | at.the.top.level,.at.the.end.... |
18e460 | 20 20 20 20 20 20 20 20 20 76 61 72 20 69 6e 64 65 78 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 | .........var.index.=.PlacesUtils |
18e480 | 2e 62 6f 6f 6b 6d 61 72 6b 73 2e 44 45 46 41 55 4c 54 5f 49 4e 44 45 58 3b 0a 20 20 20 20 20 20 | .bookmarks.DEFAULT_INDEX;....... |
18e4a0 | 20 20 20 20 76 61 72 20 63 6f 6e 74 61 69 6e 65 72 20 3d 20 74 68 69 73 2e 5f 72 65 73 75 6c 74 | ....var.container.=.this._result |
18e4c0 | 2e 72 6f 6f 74 3b 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 6f 72 69 65 6e 74 61 74 69 6f 6e | .root;...........var.orientation |
18e4e0 | 20 3d 20 43 69 2e 6e 73 49 54 72 65 65 56 69 65 77 2e 44 52 4f 50 5f 42 45 46 4f 52 45 3b 0a 20 | .=.Ci.nsITreeView.DROP_BEFORE;.. |
18e500 | 20 20 20 20 20 20 20 20 20 76 61 72 20 69 73 54 61 67 20 3d 20 66 61 6c 73 65 3b 0a 0a 20 20 20 | .........var.isTag.=.false;..... |
18e520 | 20 20 20 20 20 20 20 76 61 72 20 73 65 6c 65 63 74 65 64 4e 6f 64 65 20 3d 20 74 68 69 73 2e 73 | .......var.selectedNode.=.this.s |
18e540 | 65 6c 65 63 74 65 64 4e 6f 64 65 3b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 73 65 6c 65 63 | electedNode;...........if.(selec |
18e560 | 74 65 64 4e 6f 64 65 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 70 6f 70 75 70 | tedNode).{.............var.popup |
18e580 | 4e 6f 64 65 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 70 6f 70 75 70 4e 6f 64 65 3b 0a 20 20 20 20 20 | Node.=.document.popupNode;...... |
18e5a0 | 20 20 20 20 20 20 20 69 66 20 28 21 70 6f 70 75 70 4e 6f 64 65 2e 6e 6f 64 65 29 20 7b 0a 20 20 | .......if.(!popupNode.node).{... |
18e5c0 | 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 49 66 20 61 20 73 74 61 74 69 63 20 6d 65 6e 75 69 | ............//.If.a.static.menui |
18e5e0 | 74 65 6d 20 69 73 20 73 65 6c 65 63 74 65 64 20 74 68 65 20 69 6e 73 65 72 74 69 6f 6e 20 70 6f | tem.is.selected.the.insertion.po |
18e600 | 69 6e 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 69 73 20 69 6e 73 69 64 65 20 74 | int...............//.is.inside.t |
18e620 | 68 65 20 66 6f 6c 64 65 72 2c 20 61 74 20 74 68 65 20 65 6e 64 2e 0a 20 20 20 20 20 20 20 20 20 | he.folder,.at.the.end........... |
18e640 | 20 20 20 20 20 63 6f 6e 74 61 69 6e 65 72 20 3d 20 73 65 6c 65 63 74 65 64 4e 6f 64 65 3b 0a 20 | .....container.=.selectedNode;.. |
18e660 | 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 72 69 65 6e 74 61 74 69 6f 6e 20 3d 20 43 69 2e 6e 73 | .............orientation.=.Ci.ns |
18e680 | 49 54 72 65 65 56 69 65 77 2e 44 52 4f 50 5f 4f 4e 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d | ITreeView.DROP_ON;.............} |
18e6a0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 | .............else.{............. |
18e6c0 | 20 20 2f 2f 20 49 6e 20 61 6c 6c 20 6f 74 68 65 72 20 63 61 73 65 73 20 74 68 65 20 69 6e 73 65 | ..//.In.all.other.cases.the.inse |
18e6e0 | 72 74 69 6f 6e 20 70 6f 69 6e 74 20 69 73 20 62 65 66 6f 72 65 20 74 68 61 74 20 6e 6f 64 65 2e | rtion.point.is.before.that.node. |
18e700 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6e 74 61 69 6e 65 72 20 3d 20 73 65 6c 65 63 | ...............container.=.selec |
18e720 | 74 65 64 4e 6f 64 65 2e 70 61 72 65 6e 74 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 6e | tedNode.parent;...............in |
18e740 | 64 65 78 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 67 65 74 49 6e 64 65 78 4f 66 4e 6f 64 65 | dex.=.PlacesUtils.getIndexOfNode |
18e760 | 28 73 65 6c 65 63 74 65 64 4e 6f 64 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 73 | (selectedNode);...............is |
18e780 | 54 61 67 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 54 61 67 51 75 65 72 79 | Tag.=.PlacesUtils.nodeIsTagQuery |
18e7a0 | 28 73 65 6c 65 63 74 65 64 4e 6f 64 65 2e 70 61 72 65 6e 74 29 3b 0a 20 20 20 20 20 20 20 20 20 | (selectedNode.parent);.......... |
18e7c0 | 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 | ...}...........}............if.( |
18e7e0 | 50 6c 61 63 65 73 43 6f 6e 74 72 6f 6c 6c 65 72 44 72 61 67 48 65 6c 70 65 72 2e 64 69 73 61 6c | PlacesControllerDragHelper.disal |
18e800 | 6c 6f 77 49 6e 73 65 72 74 69 6f 6e 28 63 6f 6e 74 61 69 6e 65 72 29 29 0a 20 20 20 20 20 20 20 | lowInsertion(container))........ |
18e820 | 20 20 20 20 20 72 65 74 75 72 6e 20 6e 75 6c 6c 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 | .....return.null;............ret |
18e840 | 75 72 6e 20 6e 65 77 20 49 6e 73 65 72 74 69 6f 6e 50 6f 69 6e 74 28 50 6c 61 63 65 73 55 74 69 | urn.new.InsertionPoint(PlacesUti |
18e860 | 6c 73 2e 67 65 74 43 6f 6e 63 72 65 74 65 49 74 65 6d 49 64 28 63 6f 6e 74 61 69 6e 65 72 29 2c | ls.getConcreteItemId(container), |
18e880 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
18e8a0 | 20 20 20 20 20 69 6e 64 65 78 2c 20 6f 72 69 65 6e 74 61 74 69 6f 6e 2c 20 69 73 54 61 67 29 3b | .....index,.orientation,.isTag); |
18e8c0 | 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 67 65 74 74 65 72 3e 0a 20 20 20 20 20 20 3c 2f 70 72 | .........]]></getter>.......</pr |
18e8e0 | 6f 70 65 72 74 79 3e 0a 0a 20 20 20 20 20 20 3c 21 2d 2d 20 6e 73 49 50 6c 61 63 65 73 56 69 65 | operty>........<!--.nsIPlacesVie |
18e900 | 77 20 2d 2d 3e 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 73 65 6c 65 63 74 | w.-->.......<method.name="select |
18e920 | 41 6c 6c 22 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 3c 21 5b 43 44 41 54 41 5b 20 0a 20 | All">.........<body><![CDATA[... |
18e940 | 20 20 20 20 20 20 20 20 20 2f 2f 20 4e 6f 74 68 69 6e 67 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c | .........//.Nothing.........]]>< |
18e960 | 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 6d | /body>.......</method>........<m |
18e980 | 65 74 68 6f 64 20 6e 61 6d 65 3d 22 73 65 6c 65 63 74 49 74 65 6d 73 22 3e 0a 20 20 20 20 20 20 | ethod.name="selectItems">....... |
18e9a0 | 20 20 3c 62 6f 64 79 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 4e | ..<body><![CDATA[...........//.N |
18e9c0 | 6f 74 68 69 6e 67 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 | othing.........]]></body>....... |
18e9e0 | 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 21 2d 2d 20 6e 73 49 4e 61 76 48 69 73 74 | </method>........<!--.nsINavHist |
18ea00 | 6f 72 79 52 65 73 75 6c 74 56 69 65 77 65 72 20 2d 2d 3e 0a 20 20 20 20 20 20 3c 66 69 65 6c 64 | oryResultViewer.-->.......<field |
18ea20 | 20 6e 61 6d 65 3d 22 5f 76 69 65 77 65 72 22 3e 3c 21 5b 43 44 41 54 41 5b 28 7b 0a 20 20 20 20 | .name="_viewer"><![CDATA[({..... |
18ea40 | 20 20 20 20 5f 73 65 6c 66 3a 20 74 68 69 73 2c 0a 0a 20 20 20 20 20 20 20 20 5f 67 65 74 50 6f | ...._self:.this,.........._getPo |
18ea60 | 70 75 70 46 6f 72 43 6f 6e 74 61 69 6e 65 72 3a 0a 20 20 20 20 20 20 20 20 66 75 6e 63 74 69 6f | pupForContainer:.........functio |
18ea80 | 6e 20 50 4d 56 5f 5f 67 65 74 50 6f 70 75 70 46 6f 72 43 6f 6e 74 61 69 6e 65 72 28 61 4e 6f 64 | n.PMV__getPopupForContainer(aNod |
18eaa0 | 65 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 73 65 6c 66 2e 5f 72 | e).{...........if.(this._self._r |
18eac0 | 65 73 75 6c 74 4e 6f 64 65 20 3d 3d 20 61 4e 6f 64 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 | esultNode.==.aNode)............. |
18eae0 | 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 73 65 6c 66 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 66 6f | return.this._self;............fo |
18eb00 | 72 20 28 76 61 72 20 69 3d 30 3b 20 69 20 3c 20 74 68 69 73 2e 5f 73 65 6c 66 2e 5f 63 6f 6e 74 | r.(var.i=0;.i.<.this._self._cont |
18eb20 | 61 69 6e 65 72 4e 6f 64 65 73 4d 61 70 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 20 7b 0a 20 20 20 | ainerNodesMap.length;.i++).{.... |
18eb40 | 20 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 73 65 6c 66 2e 5f 63 6f 6e 74 61 69 6e | .........if.(this._self._contain |
18eb60 | 65 72 4e 6f 64 65 73 4d 61 70 5b 69 5d 2e 72 65 73 75 6c 74 4e 6f 64 65 20 3d 3d 20 61 4e 6f 64 | erNodesMap[i].resultNode.==.aNod |
18eb80 | 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 73 65 | e)...............return.this._se |
18eba0 | 6c 66 2e 5f 63 6f 6e 74 61 69 6e 65 72 4e 6f 64 65 73 4d 61 70 5b 69 5d 2e 64 6f 6d 4e 6f 64 65 | lf._containerNodesMap[i].domNode |
18ebc0 | 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 74 68 72 6f 77 28 22 43 | ;...........}...........throw("C |
18ebe0 | 6f 6e 74 61 69 6e 65 72 20 76 69 65 77 20 6e 6f 74 20 66 6f 75 6e 64 22 29 3b 0a 20 20 20 20 20 | ontainer.view.not.found");...... |
18ec00 | 20 20 20 7d 2c 0a 0a 20 20 20 20 20 20 20 20 67 65 74 20 72 65 73 75 6c 74 28 29 20 7b 0a 20 20 | ...},..........get.result().{... |
18ec20 | 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 73 65 6c 66 2e 5f 72 65 73 75 6c | ........return.this._self._resul |
18ec40 | 74 3b 0a 20 20 20 20 20 20 20 20 7d 2c 0a 0a 20 20 20 20 20 20 20 20 73 65 74 20 72 65 73 75 6c | t;.........},..........set.resul |
18ec60 | 74 28 76 61 6c 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 73 6f 6d 65 20 6d 65 74 68 6f | t(val).{...........//.some.metho |
18ec80 | 64 73 20 28 65 2e 67 2e 20 67 65 74 55 52 4c 73 46 72 6f 6d 43 6f 6e 74 61 69 6e 65 72 29 20 74 | ds.(e.g..getURLsFromContainer).t |
18eca0 | 65 6d 70 6f 72 61 72 69 6c 79 20 6e 75 6c 6c 20 6f 75 74 20 74 68 65 0a 20 20 20 20 20 20 20 20 | emporarily.null.out.the......... |
18ecc0 | 20 20 2f 2f 20 76 69 65 77 65 72 20 77 68 65 6e 20 74 68 65 79 20 64 6f 20 74 65 6d 70 6f 72 61 | ..//.viewer.when.they.do.tempora |
18ece0 | 72 79 20 63 68 61 6e 67 65 73 20 74 6f 20 74 68 65 20 76 69 65 77 2c 20 74 68 69 73 20 64 6f 65 | ry.changes.to.the.view,.this.doe |
18ed00 | 73 20 5f 6e 6f 74 5f 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 63 61 6c 6c 20 73 65 74 52 65 73 | s._not_...........//.call.setRes |
18ed20 | 75 6c 74 28 6e 75 6c 6c 29 2c 20 62 75 74 20 74 68 65 6e 2c 20 77 65 27 72 65 20 63 61 6c 6c 65 | ult(null),.but.then,.we're.calle |
18ed40 | 64 20 61 67 61 69 6e 20 77 69 74 68 20 74 68 65 20 72 65 73 75 6c 74 0a 20 20 20 20 20 20 20 20 | d.again.with.the.result......... |
18ed60 | 20 20 2f 2f 20 6f 62 6a 65 63 74 20 77 68 69 63 68 20 69 73 20 61 6c 72 65 61 64 79 20 73 65 74 | ..//.object.which.is.already.set |
18ed80 | 20 66 6f 72 20 74 68 69 73 20 76 69 65 77 65 72 2e 20 41 74 20 74 68 61 74 20 70 6f 69 6e 74 2c | .for.this.viewer..At.that.point, |
18eda0 | 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 77 65 20 73 68 6f 75 6c 64 20 64 6f 20 6e 6f 74 68 69 | ...........//.we.should.do.nothi |
18edc0 | 6e 67 2e 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 73 65 6c 66 2e 5f 72 65 | ng............if.(this._self._re |
18ede0 | 73 75 6c 74 20 21 3d 20 76 61 6c 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e | sult.!=.val).{.............this. |
18ee00 | 5f 73 65 6c 66 2e 5f 63 6f 6e 74 61 69 6e 65 72 4e 6f 64 65 73 4d 61 70 20 3d 20 5b 5d 3b 0a 20 | _self._containerNodesMap.=.[];.. |
18ee20 | 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 73 65 6c 66 2e 5f 72 65 73 75 6c 74 20 3d 20 | ...........this._self._result.=. |
18ee40 | 76 61 6c 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 76 61 6c 29 20 2f 2f 20 74 68 69 | val;.............if.(val).//.thi |
18ee60 | 73 20 63 61 6c 6c 73 20 5f 72 65 62 75 69 6c 64 20 74 68 72 6f 75 67 68 20 69 6e 76 61 6c 69 64 | s.calls._rebuild.through.invalid |
18ee80 | 61 74 65 43 6f 6e 74 61 69 6e 65 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 6c 2e 72 | ateContainer...............val.r |
18eea0 | 6f 6f 74 2e 63 6f 6e 74 61 69 6e 65 72 4f 70 65 6e 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 | oot.containerOpen.=.true;....... |
18eec0 | 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 76 61 6c 3b 0a 20 20 20 20 | ....}...........return.val;..... |
18eee0 | 20 20 20 20 7d 2c 0a 0a 20 20 20 20 20 20 20 20 69 74 65 6d 49 6e 73 65 72 74 65 64 3a 20 66 75 | ....},..........itemInserted:.fu |
18ef00 | 6e 63 74 69 6f 6e 20 54 56 5f 56 5f 69 74 65 6d 49 6e 73 65 72 74 65 64 28 61 50 61 72 65 6e 74 | nction.TV_V_itemInserted(aParent |
18ef20 | 4e 6f 64 65 2c 20 61 4e 6f 64 65 2c 20 61 49 6e 64 65 78 29 20 7b 0a 20 20 20 20 20 20 20 20 20 | Node,.aNode,.aIndex).{.......... |
18ef40 | 20 2f 2f 20 64 6f 6e 27 74 20 69 6e 73 65 72 74 20 6e 65 77 20 69 74 65 6d 73 20 69 6e 74 6f 20 | .//.don't.insert.new.items.into. |
18ef60 | 74 68 65 20 74 6f 6f 6c 62 61 72 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 69 66 20 74 68 65 20 | the.toolbar...........//.if.the. |
18ef80 | 70 61 72 65 6e 74 20 69 73 20 6e 6f 74 20 74 68 65 20 72 6f 6f 74 20 0a 20 20 20 20 20 20 20 20 | parent.is.not.the.root.......... |
18efa0 | 20 20 69 66 20 28 61 50 61 72 65 6e 74 4e 6f 64 65 20 3d 3d 20 74 68 69 73 2e 5f 73 65 6c 66 2e | ..if.(aParentNode.==.this._self. |
18efc0 | 67 65 74 52 65 73 75 6c 74 4e 6f 64 65 28 29 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 | getResultNode()).{.............v |
18efe0 | 61 72 20 63 68 69 6c 64 72 65 6e 20 3d 20 74 68 69 73 2e 5f 73 65 6c 66 2e 63 68 69 6c 64 4e 6f | ar.children.=.this._self.childNo |
18f000 | 64 65 73 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 73 65 6c 66 2e 69 6e 73 65 | des;.............this._self.inse |
18f020 | 72 74 4e 65 77 49 74 65 6d 28 61 4e 6f 64 65 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 | rtNewItem(aNode,...............a |
18f040 | 49 6e 64 65 78 20 3c 20 63 68 69 6c 64 72 65 6e 2e 6c 65 6e 67 74 68 20 3f 20 63 68 69 6c 64 72 | Index.<.children.length.?.childr |
18f060 | 65 6e 5b 61 49 6e 64 65 78 5d 20 3a 20 6e 75 6c 6c 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 | en[aIndex].:.null);............. |
18f080 | 74 68 69 73 2e 5f 73 65 6c 66 2e 75 70 64 61 74 65 43 68 65 76 72 6f 6e 28 29 3b 0a 20 20 20 20 | this._self.updateChevron();..... |
18f0a0 | 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 20 | ......}...........else.{........ |
18f0c0 | 20 20 20 20 20 76 61 72 20 70 6f 70 75 70 20 3d 20 74 68 69 73 2e 5f 67 65 74 50 6f 70 75 70 46 | .....var.popup.=.this._getPopupF |
18f0e0 | 6f 72 43 6f 6e 74 61 69 6e 65 72 28 61 50 61 72 65 6e 74 4e 6f 64 65 29 3b 0a 20 20 20 20 20 20 | orContainer(aParentNode);....... |
18f100 | 20 20 20 20 20 20 69 66 20 28 21 70 6f 70 75 70 2e 5f 62 75 69 6c 74 29 0a 20 20 20 20 20 20 20 | ......if.(!popup._built)........ |
18f120 | 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 | .......return;..............var. |
18f140 | 62 65 66 6f 72 65 20 3d 20 70 6f 70 75 70 2e 63 68 69 6c 64 4e 6f 64 65 73 5b 61 49 6e 64 65 78 | before.=.popup.childNodes[aIndex |
18f160 | 5d 20 7c 7c 20 6e 75 6c 6c 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 73 65 6c | ].||.null;.............this._sel |
18f180 | 66 2e 69 6e 73 65 72 74 4e 65 77 49 74 65 6d 54 6f 50 6f 70 75 70 28 61 4e 6f 64 65 2c 20 70 6f | f.insertNewItemToPopup(aNode,.po |
18f1a0 | 70 75 70 2c 20 62 65 66 6f 72 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 70 6f | pup,.before);.............if.(po |
18f1c0 | 70 75 70 2e 5f 65 6d 70 74 79 4d 65 6e 75 49 74 65 6d 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 | pup._emptyMenuItem)............. |
18f1e0 | 20 20 70 6f 70 75 70 2e 5f 65 6d 70 74 79 4d 65 6e 75 49 74 65 6d 2e 68 69 64 64 65 6e 20 3d 20 | ..popup._emptyMenuItem.hidden.=. |
18f200 | 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 7d 2c 0a 0a 20 20 | true;...........}.........},.... |
18f220 | 20 20 20 20 20 20 69 74 65 6d 52 65 6d 6f 76 65 64 3a 20 66 75 6e 63 74 69 6f 6e 20 54 56 5f 56 | ......itemRemoved:.function.TV_V |
18f240 | 5f 69 74 65 6d 52 65 6d 6f 76 65 64 28 61 50 61 72 65 6e 74 4e 6f 64 65 2c 20 61 4e 6f 64 65 2c | _itemRemoved(aParentNode,.aNode, |
18f260 | 20 61 49 6e 64 65 78 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 61 50 61 72 65 6e 74 | .aIndex).{...........if.(aParent |
18f280 | 4e 6f 64 65 20 3d 3d 20 74 68 69 73 2e 5f 73 65 6c 66 2e 67 65 74 52 65 73 75 6c 74 4e 6f 64 65 | Node.==.this._self.getResultNode |
18f2a0 | 28 29 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 63 68 69 6c 64 72 65 6e 20 3d | ()).{.............var.children.= |
18f2c0 | 20 74 68 69 73 2e 5f 73 65 6c 66 2e 63 68 69 6c 64 4e 6f 64 65 73 3b 0a 20 20 20 20 20 20 20 20 | .this._self.childNodes;......... |
18f2e0 | 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 63 68 69 6c 64 72 65 6e | ....for.(var.i.=.0;.i.<.children |
18f300 | 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 | .length;.i++).{...............if |
18f320 | 20 28 63 68 69 6c 64 72 65 6e 5b 69 5d 2e 6e 6f 64 65 20 3d 3d 20 61 4e 6f 64 65 29 20 7b 0a 20 | .(children[i].node.==.aNode).{.. |
18f340 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 73 65 6c 66 2e 72 65 6d 6f 76 65 | ...............this._self.remove |
18f360 | 49 74 65 6d 28 63 68 69 6c 64 72 65 6e 5b 69 5d 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | Item(children[i]);.............. |
18f380 | 20 20 20 74 68 69 73 2e 5f 73 65 6c 66 2e 75 70 64 61 74 65 43 68 65 76 72 6f 6e 28 29 3b 0a 20 | ...this._self.updateChevron();.. |
18f3a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 20 20 20 20 20 20 20 | ...............return;.......... |
18f3c0 | 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 7d | .....}.............}...........} |
18f3e0 | 0a 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 | ...........else.{.............va |
18f400 | 72 20 70 6f 70 75 70 20 3d 20 74 68 69 73 2e 5f 67 65 74 50 6f 70 75 70 46 6f 72 43 6f 6e 74 61 | r.popup.=.this._getPopupForConta |
18f420 | 69 6e 65 72 28 61 50 61 72 65 6e 74 4e 6f 64 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 | iner(aParentNode);.............i |
18f440 | 66 20 28 21 70 6f 70 75 70 2e 5f 62 75 69 6c 74 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | f.(!popup._built)............... |
18f460 | 72 65 74 75 72 6e 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 63 68 69 6c 64 72 65 | return;..............var.childre |
18f480 | 6e 20 3d 20 70 6f 70 75 70 2e 63 68 69 6c 64 4e 6f 64 65 73 3b 0a 20 20 20 20 20 20 20 20 20 20 | n.=.popup.childNodes;........... |
18f4a0 | 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 63 68 69 6c 64 72 65 6e 2e 6c | ..for.(var.i.=.0;.i.<.children.l |
18f4c0 | 65 6e 67 74 68 3b 20 69 2b 2b 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 | ength;.i++).{...............if.( |
18f4e0 | 63 68 69 6c 64 72 65 6e 5b 69 5d 2e 6e 6f 64 65 20 3d 3d 20 61 4e 6f 64 65 29 20 7b 0a 20 20 20 | children[i].node.==.aNode).{.... |
18f500 | 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 73 65 6c 66 2e 72 65 6d 6f 76 65 49 74 | .............this._self.removeIt |
18f520 | 65 6d 28 63 68 69 6c 64 72 65 6e 5b 69 5d 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | em(children[i]);................ |
18f540 | 20 69 66 20 28 21 70 6f 70 75 70 2e 68 61 73 43 68 69 6c 64 4e 6f 64 65 73 28 29 20 7c 7c 0a 20 | .if.(!popup.hasChildNodes().||.. |
18f560 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 6f 70 75 70 2e 63 68 69 6c 64 4e | ...................(popup.childN |
18f580 | 6f 64 65 73 2e 6c 65 6e 67 74 68 20 3d 3d 20 31 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 | odes.length.==.1.&&............. |
18f5a0 | 20 20 20 20 20 20 20 20 20 70 6f 70 75 70 2e 66 69 72 73 74 43 68 69 6c 64 20 3d 3d 20 70 6f 70 | .........popup.firstChild.==.pop |
18f5c0 | 75 70 2e 5f 65 6d 70 74 79 4d 65 6e 75 49 74 65 6d 29 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 | up._emptyMenuItem)).{........... |
18f5e0 | 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 73 65 6c 66 2e 5f 73 68 6f 77 45 6d 70 74 79 4d 65 6e | ........this._self._showEmptyMen |
18f600 | 75 49 74 65 6d 28 70 6f 70 75 70 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a | uItem(popup);.................}. |
18f620 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 70 6f 70 75 70 2e 5f 65 6e 64 4d 61 | ................if.(popup._endMa |
18f640 | 72 6b 65 72 20 21 3d 20 2d 31 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 6f | rker.!=.-1)...................po |
18f660 | 70 75 70 2e 5f 65 6e 64 4d 61 72 6b 65 72 2d 2d 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | pup._endMarker--;............... |
18f680 | 20 20 72 65 74 75 72 6e 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 | ..return;...............}....... |
18f6a0 | 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 7d 2c 0a 0a | ......}...........}.........},.. |
18f6c0 | 20 20 20 20 20 20 20 20 69 74 65 6d 4d 6f 76 65 64 3a 0a 20 20 20 20 20 20 20 20 66 75 6e 63 74 | ........itemMoved:.........funct |
18f6e0 | 69 6f 6e 20 54 56 5f 56 5f 69 74 65 6d 4d 6f 76 65 64 28 61 49 74 65 6d 2c 20 61 4f 6c 64 50 61 | ion.TV_V_itemMoved(aItem,.aOldPa |
18f700 | 72 65 6e 74 2c 20 61 4f 6c 64 49 6e 64 65 78 2c 20 61 4e 65 77 50 61 72 65 6e 74 2c 0a 20 20 20 | rent,.aOldIndex,.aNewParent,.... |
18f720 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 4e 65 | .............................aNe |
18f740 | 77 49 6e 64 65 78 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 54 68 69 73 20 63 61 6e 6e | wIndex).{...........//.This.cann |
18f760 | 6f 74 20 61 63 74 75 61 6c 6c 79 20 68 61 70 70 65 6e 20 79 65 74 20 28 73 65 65 20 49 44 4c 29 | ot.actually.happen.yet.(see.IDL) |
18f780 | 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 61 4e 65 77 50 61 72 65 6e 74 20 21 3d 20 61 4f 6c | ...........if.(aNewParent.!=.aOl |
18f7a0 | 64 50 61 72 65 6e 74 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 | dParent).............return;.... |
18f7c0 | 20 20 20 20 20 20 20 20 69 66 20 28 61 4e 65 77 50 61 72 65 6e 74 20 3d 3d 20 74 68 69 73 2e 5f | ........if.(aNewParent.==.this._ |
18f7e0 | 73 65 6c 66 2e 67 65 74 52 65 73 75 6c 74 4e 6f 64 65 28 29 29 20 7b 0a 20 20 20 20 20 20 20 20 | self.getResultNode()).{......... |
18f800 | 20 20 20 20 76 61 72 20 63 68 69 6c 64 72 65 6e 20 3d 20 74 68 69 73 2e 5f 73 65 6c 66 2e 63 68 | ....var.children.=.this._self.ch |
18f820 | 69 6c 64 4e 6f 64 65 73 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 63 68 65 76 72 6f | ildNodes;.............var.chevro |
18f840 | 6e 50 6f 70 75 70 20 3d 20 74 68 69 73 2e 5f 73 65 6c 66 2e 5f 63 68 65 76 72 6f 6e 2e 66 69 72 | nPopup.=.this._self._chevron.fir |
18f860 | 73 74 43 68 69 6c 64 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 | stChild;.............for.(var.i. |
18f880 | 3d 20 30 3b 20 69 20 3c 20 63 68 69 6c 64 72 65 6e 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 20 7b | =.0;.i.<.children.length;.i++).{ |
18f8a0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 62 75 74 74 6f 6e 20 3d 20 63 68 69 6c | ...............var.button.=.chil |
18f8c0 | 64 72 65 6e 5b 69 5d 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 62 75 74 74 6f | dren[i];...............if.(butto |
18f8e0 | 6e 2e 6e 6f 64 65 20 3d 3d 20 61 49 74 65 6d 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | n.node.==.aItem).{.............. |
18f900 | 20 20 20 74 68 69 73 2e 5f 73 65 6c 66 2e 72 65 6d 6f 76 65 43 68 69 6c 64 28 62 75 74 74 6f 6e | ...this._self.removeChild(button |
18f920 | 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 73 65 6c 66 2e 69 6e | );.................this._self.in |
18f940 | 73 65 72 74 42 65 66 6f 72 65 28 62 75 74 74 6f 6e 2c 20 63 68 69 6c 64 72 65 6e 5b 61 4e 65 77 | sertBefore(button,.children[aNew |
18f960 | 49 6e 64 65 78 5d 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 63 68 65 | Index]);.................if.(che |
18f980 | 76 72 6f 6e 50 6f 70 75 70 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f | vronPopup).{.................../ |
18f9a0 | 2f 20 4d 61 69 6e 74 61 69 6e 20 63 68 65 76 72 6f 6e 20 69 6e 20 73 79 6e 63 0a 20 20 20 20 20 | /.Maintain.chevron.in.sync...... |
18f9c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 65 6e 75 69 74 65 6d 20 3d 20 63 68 65 76 72 6f 6e 50 | .............menuitem.=.chevronP |
18f9e0 | 6f 70 75 70 2e 63 68 69 6c 64 4e 6f 64 65 73 5b 69 5d 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 | opup.childNodes[i];............. |
18fa00 | 20 20 20 20 20 20 63 68 65 76 72 6f 6e 50 6f 70 75 70 2e 72 65 6d 6f 76 65 43 68 69 6c 64 28 6d | ......chevronPopup.removeChild(m |
18fa20 | 65 6e 75 69 74 65 6d 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 68 65 76 | enuitem);...................chev |
18fa40 | 72 6f 6e 50 6f 70 75 70 2e 69 6e 73 65 72 74 42 65 66 6f 72 65 28 6d 65 6e 75 69 74 65 6d 2c 0a | ronPopup.insertBefore(menuitem,. |
18fa60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
18fa80 | 20 20 20 20 20 20 20 20 20 20 20 20 63 68 65 76 72 6f 6e 50 6f 70 75 70 2e 63 68 69 6c 64 4e 6f | ............chevronPopup.childNo |
18faa0 | 64 65 73 5b 61 4e 65 77 49 6e 64 65 78 5d 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | des[aNewIndex]);................ |
18fac0 | 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 73 65 6c 66 2e 75 70 | .}.................this._self.up |
18fae0 | 64 61 74 65 43 68 65 76 72 6f 6e 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 | dateChevron();.................r |
18fb00 | 65 74 75 72 6e 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 | eturn;...............}.......... |
18fb20 | 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 70 | ...}...........}...........var.p |
18fb40 | 6f 70 75 70 20 3d 20 74 68 69 73 2e 5f 67 65 74 50 6f 70 75 70 46 6f 72 43 6f 6e 74 61 69 6e 65 | opup.=.this._getPopupForContaine |
18fb60 | 72 28 61 4e 65 77 50 61 72 65 6e 74 29 3b 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 63 68 69 | r(aNewParent);...........var.chi |
18fb80 | 6c 64 72 65 6e 20 3d 20 70 6f 70 75 70 2e 63 68 69 6c 64 4e 6f 64 65 73 3b 0a 20 20 20 20 20 20 | ldren.=.popup.childNodes;....... |
18fba0 | 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 63 68 69 6c 64 72 65 6e | ....for.(var.i.=.0;.i.<.children |
18fbc0 | 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 | .length;.i++).{.............var. |
18fbe0 | 6d 65 6e 75 49 74 65 6d 20 3d 20 63 68 69 6c 64 72 65 6e 5b 69 5d 3b 0a 20 20 20 20 20 20 20 20 | menuItem.=.children[i];......... |
18fc00 | 20 20 20 20 69 66 20 28 6d 65 6e 75 49 74 65 6d 2e 6e 6f 64 65 20 3d 3d 20 61 49 74 65 6d 29 20 | ....if.(menuItem.node.==.aItem). |
18fc20 | 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 6f 70 75 70 2e 72 65 6d 6f 76 65 43 68 69 6c | {...............popup.removeChil |
18fc40 | 64 28 6d 65 6e 75 49 74 65 6d 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 6f 70 75 70 | d(menuItem);...............popup |
18fc60 | 2e 69 6e 73 65 72 74 42 65 66 6f 72 65 28 6d 65 6e 75 49 74 65 6d 2c 20 63 68 69 6c 64 72 65 6e | .insertBefore(menuItem,.children |
18fc80 | 5b 61 4e 65 77 49 6e 64 65 78 5d 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 | [aNewIndex]);...............retu |
18fca0 | 72 6e 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 | rn;.............}...........}... |
18fcc0 | 20 20 20 20 20 20 7d 2c 0a 0a 20 20 20 20 20 20 20 20 69 74 65 6d 43 68 61 6e 67 65 64 3a 20 66 | ......},..........itemChanged:.f |
18fce0 | 75 6e 63 74 69 6f 6e 20 54 56 5f 56 5f 69 74 65 6d 43 68 61 6e 67 65 64 28 61 4e 6f 64 65 29 20 | unction.TV_V_itemChanged(aNode). |
18fd00 | 7b 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 74 68 69 73 20 63 68 65 63 6b 20 63 61 6e 20 62 65 | {...........//.this.check.can.be |
18fd20 | 20 72 65 6d 6f 76 65 64 20 6f 6e 63 65 20 77 65 20 66 69 78 20 62 75 67 20 23 33 38 32 33 39 37 | .removed.once.we.fix.bug.#382397 |
18fd40 | 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 70 61 72 65 6e 74 4e 6f 64 65 20 3d 20 61 4e 6f 64 | ...........var.parentNode.=.aNod |
18fd60 | 65 2e 70 61 72 65 6e 74 3b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 70 61 72 65 6e 74 4e | e.parent;...........if.(!parentN |
18fd80 | 6f 64 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 20 20 20 20 | ode).............return;........ |
18fda0 | 20 20 20 20 76 61 72 20 65 6c 65 6d 65 6e 74 3b 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 6f | ....var.element;...........var.o |
18fdc0 | 6e 54 6f 6f 6c 62 61 72 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 | nToolbar.=.false;...........if.( |
18fde0 | 70 61 72 65 6e 74 4e 6f 64 65 20 3d 3d 20 74 68 69 73 2e 5f 73 65 6c 66 2e 67 65 74 52 65 73 75 | parentNode.==.this._self.getResu |
18fe00 | 6c 74 4e 6f 64 65 28 29 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 54 6f 6f 6c 62 61 | ltNode()).{.............onToolba |
18fe20 | 72 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 63 68 69 6c 64 72 | r.=.true;.............var.childr |
18fe40 | 65 6e 20 3d 20 74 68 69 73 2e 5f 73 65 6c 66 2e 63 68 69 6c 64 4e 6f 64 65 73 3b 0a 20 20 20 20 | en.=.this._self.childNodes;..... |
18fe60 | 20 20 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 63 68 69 6c | ........for.(var.i.=.0;.i.<.chil |
18fe80 | 64 72 65 6e 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 | dren.length;.i++).{............. |
18fea0 | 20 20 69 66 20 28 63 68 69 6c 64 72 65 6e 5b 69 5d 2e 6e 6f 64 65 20 3d 3d 20 61 4e 6f 64 65 29 | ..if.(children[i].node.==.aNode) |
18fec0 | 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 6c 65 6d 65 6e 74 20 3d 20 63 68 69 | .{.................element.=.chi |
18fee0 | 6c 64 72 65 6e 5b 69 5d 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b | ldren[i];.................break; |
18ff00 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 | ...............}.............}.. |
18ff20 | 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 44 6f 6e 27 74 20 72 65 70 6c 61 63 65 20 74 69 74 6c | ...........//.Don't.replace.titl |
18ff40 | 65 20 6f 6e 20 74 6f 6f 6c 62 61 72 62 75 74 74 6f 6e 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 | e.on.toolbarbuttons............. |
18ff60 | 76 61 72 20 74 69 74 6c 65 20 3d 20 61 4e 6f 64 65 2e 74 69 74 6c 65 3b 0a 20 20 20 20 20 20 20 | var.title.=.aNode.title;........ |
18ff80 | 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 20 20 20 20 | ...}...........else.{........... |
18ffa0 | 20 20 76 61 72 20 70 6f 70 75 70 20 3d 20 74 68 69 73 2e 5f 67 65 74 50 6f 70 75 70 46 6f 72 43 | ..var.popup.=.this._getPopupForC |
18ffc0 | 6f 6e 74 61 69 6e 65 72 28 70 61 72 65 6e 74 4e 6f 64 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 | ontainer(parentNode);........... |
18ffe0 | 20 20 69 66 20 28 21 70 6f 70 75 70 2e 5f 62 75 69 6c 74 29 0a 20 20 20 20 20 20 20 20 20 20 20 | ..if.(!popup._built)............ |
190000 | 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 63 68 69 6c | ...return;..............var.chil |
190020 | 64 72 65 6e 20 3d 20 70 6f 70 75 70 2e 63 68 69 6c 64 4e 6f 64 65 73 3b 0a 20 20 20 20 20 20 20 | dren.=.popup.childNodes;........ |
190040 | 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 63 68 69 6c 64 72 65 | .....for.(var.i.=.0;.i.<.childre |
190060 | 6e 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 | n.length;.i++).{...............i |
190080 | 66 20 28 63 68 69 6c 64 72 65 6e 5b 69 5d 2e 6e 6f 64 65 20 3d 3d 20 61 4e 6f 64 65 29 20 7b 0a | f.(children[i].node.==.aNode).{. |
1900a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 6c 65 6d 65 6e 74 20 3d 20 63 68 69 6c 64 72 | ................element.=.childr |
1900c0 | 65 6e 5b 69 5d 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 | en[i];.................break;... |
1900e0 | 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 | ............}.............}..... |
190100 | 20 20 20 20 20 20 20 20 76 61 72 20 74 69 74 6c 65 20 3d 20 50 6c 61 63 65 73 55 49 55 74 69 6c | ........var.title.=.PlacesUIUtil |
190120 | 73 2e 67 65 74 42 65 73 74 54 69 74 6c 65 28 61 4e 6f 64 65 29 3b 0a 20 20 20 20 20 20 20 20 20 | s.getBestTitle(aNode);.......... |
190140 | 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f | .}............if.(PlacesUtils.no |
190160 | 64 65 49 73 53 65 70 61 72 61 74 6f 72 28 61 4e 6f 64 65 29 29 20 7b 0a 20 20 20 20 20 20 20 20 | deIsSeparator(aNode)).{......... |
190180 | 20 20 20 20 2f 2f 20 6e 6f 74 68 69 6e 67 20 74 6f 20 64 6f 20 77 68 65 6e 20 61 20 73 65 70 61 | ....//.nothing.to.do.when.a.sepa |
1901a0 | 72 61 74 6f 72 20 63 68 61 6e 67 65 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e | rator.changes.............return |
1901c0 | 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 69 63 6f | ;...........}............var.ico |
1901e0 | 6e 55 52 49 20 3d 20 61 4e 6f 64 65 2e 69 63 6f 6e 3b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 | nURI.=.aNode.icon;...........if. |
190200 | 28 69 63 6f 6e 55 52 49 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 73 70 65 63 | (iconURI).{.............var.spec |
190220 | 20 3d 20 69 63 6f 6e 55 52 49 2e 73 70 65 63 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 | .=.iconURI.spec;.............if. |
190240 | 28 65 6c 65 6d 65 6e 74 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 69 6d 61 67 65 22 29 20 21 | (element.getAttribute("image").! |
190260 | 3d 20 73 70 65 63 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 6c 65 6d 65 6e 74 2e 73 65 | =.spec)...............element.se |
190280 | 74 41 74 74 72 69 62 75 74 65 28 22 69 6d 61 67 65 22 2c 20 73 70 65 63 29 3b 0a 20 20 20 20 20 | tAttribute("image",.spec);...... |
1902a0 | 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 20 20 20 20 | .....}...........else........... |
1902c0 | 20 20 65 6c 65 6d 65 6e 74 2e 72 65 6d 6f 76 65 41 74 74 72 69 62 75 74 65 28 22 69 6d 61 67 65 | ..element.removeAttribute("image |
1902e0 | 22 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 65 6c 65 6d 65 6e 74 2e 67 65 74 41 74 | ");............if.(element.getAt |
190300 | 74 72 69 62 75 74 65 28 22 6c 61 62 65 6c 22 29 20 21 3d 20 74 69 74 6c 65 29 20 7b 0a 20 20 20 | tribute("label").!=.title).{.... |
190320 | 20 20 20 20 20 20 20 20 20 65 6c 65 6d 65 6e 74 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 6c | .........element.setAttribute("l |
190340 | 61 62 65 6c 22 2c 20 74 69 74 6c 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 6f | abel",.title);.............if.(o |
190360 | 6e 54 6f 6f 6c 62 61 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 73 65 | nToolbar)...............this._se |
190380 | 6c 66 2e 75 70 64 61 74 65 43 68 65 76 72 6f 6e 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a | lf.updateChevron();...........}. |
1903a0 | 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 | ...........if.(PlacesUtils.nodeI |
1903c0 | 73 4c 69 76 65 6d 61 72 6b 43 6f 6e 74 61 69 6e 65 72 28 61 4e 6f 64 65 29 29 20 7b 0a 20 20 20 | sLivemarkContainer(aNode)).{.... |
1903e0 | 20 20 20 20 20 20 20 20 20 69 66 20 28 21 65 6c 65 6d 65 6e 74 2e 68 61 73 41 74 74 72 69 62 75 | .........if.(!element.hasAttribu |
190400 | 74 65 28 22 6c 69 76 65 6d 61 72 6b 22 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 6c | te("livemark"))...............el |
190420 | 65 6d 65 6e 74 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 6c 69 76 65 6d 61 72 6b 22 2c 20 22 | ement.setAttribute("livemark",." |
190440 | 74 72 75 65 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 49 66 20 74 68 69 73 20 69 | true");.............//.If.this.i |
190460 | 73 20 61 20 6c 69 76 65 6d 61 72 6b 20 63 6f 6e 74 61 69 6e 65 72 20 63 68 65 63 6b 20 69 66 20 | s.a.livemark.container.check.if. |
190480 | 74 68 65 20 73 74 61 74 75 73 20 6d 65 6e 75 69 74 65 6d 20 68 61 73 0a 20 20 20 20 20 20 20 20 | the.status.menuitem.has......... |
1904a0 | 20 20 20 20 2f 2f 20 74 6f 20 62 65 20 61 64 64 65 64 20 6f 72 20 72 65 6d 6f 76 65 64 2e 0a 20 | ....//.to.be.added.or.removed... |
1904c0 | 20 20 20 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 65 6e 73 75 72 65 4c | ...........PlacesUIUtils.ensureL |
1904e0 | 69 76 65 6d 61 72 6b 53 74 61 74 75 73 4d 65 6e 75 49 74 65 6d 28 65 6c 65 6d 65 6e 74 2e 66 69 | ivemarkStatusMenuItem(element.fi |
190500 | 72 73 74 43 68 69 6c 64 29 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 | rstChild);...........}.......... |
190520 | 20 65 6c 73 65 20 69 66 20 28 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 55 52 49 28 | .else.if.(PlacesUtils.nodeIsURI( |
190540 | 61 4e 6f 64 65 29 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 65 6c 65 6d 65 6e 74 2e 73 65 | aNode)).{.............element.se |
190560 | 74 41 74 74 72 69 62 75 74 65 28 22 73 63 68 65 6d 65 22 2c 20 50 6c 61 63 65 73 55 49 55 74 69 | tAttribute("scheme",.PlacesUIUti |
190580 | 6c 73 2e 67 75 65 73 73 55 72 6c 53 63 68 65 6d 65 46 6f 72 55 49 28 61 4e 6f 64 65 2e 75 72 69 | ls.guessUrlSchemeForUI(aNode.uri |
1905a0 | 29 29 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 7d 2c 0a 0a 20 20 20 20 | ));...........}.........},...... |
1905c0 | 20 20 20 20 69 74 65 6d 52 65 70 6c 61 63 65 64 3a 0a 20 20 20 20 20 20 20 20 66 75 6e 63 74 69 | ....itemReplaced:.........functi |
1905e0 | 6f 6e 20 54 56 5f 56 5f 69 74 65 6d 52 65 70 6c 61 63 65 64 28 61 50 61 72 65 6e 74 4e 6f 64 65 | on.TV_V_itemReplaced(aParentNode |
190600 | 2c 20 61 4f 6c 64 4e 6f 64 65 2c 20 61 4e 65 77 4e 6f 64 65 2c 20 61 49 6e 64 65 78 29 20 7b 0a | ,.aOldNode,.aNewNode,.aIndex).{. |
190620 | 20 20 20 20 20 20 20 20 20 20 69 66 20 28 61 50 61 72 65 6e 74 4e 6f 64 65 20 3d 3d 20 74 68 69 | ..........if.(aParentNode.==.thi |
190640 | 73 2e 5f 73 65 6c 66 2e 67 65 74 52 65 73 75 6c 74 4e 6f 64 65 28 29 29 20 7b 0a 20 20 20 20 20 | s._self.getResultNode()).{...... |
190660 | 20 20 20 20 20 20 20 76 61 72 20 63 68 69 6c 64 72 65 6e 20 3d 20 74 68 69 73 2e 5f 73 65 6c 66 | .......var.children.=.this._self |
190680 | 2e 63 68 69 6c 64 4e 6f 64 65 73 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 66 6f 72 20 28 76 61 | .childNodes;.............for.(va |
1906a0 | 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 63 68 69 6c 64 72 65 6e 2e 6c 65 6e 67 74 68 3b 20 69 2b | r.i.=.0;.i.<.children.length;.i+ |
1906c0 | 2b 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 63 68 69 6c 64 72 65 6e 5b | +).{...............if.(children[ |
1906e0 | 69 5d 2e 6e 6f 64 65 20 3d 3d 20 61 4f 6c 64 4e 6f 64 65 29 20 7b 0a 20 20 20 20 20 20 20 20 20 | i].node.==.aOldNode).{.......... |
190700 | 20 20 20 20 20 20 20 76 61 72 20 6e 65 78 74 20 3d 20 63 68 69 6c 64 72 65 6e 5b 69 5d 2e 6e 65 | .......var.next.=.children[i].ne |
190720 | 78 74 53 69 62 6c 69 6e 67 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e | xtSibling;.................this. |
190740 | 5f 73 65 6c 66 2e 72 65 6d 6f 76 65 49 74 65 6d 28 63 68 69 6c 64 72 65 6e 5b 69 5d 29 3b 0a 20 | _self.removeItem(children[i]);.. |
190760 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 73 65 6c 66 2e 69 6e 73 65 72 74 | ...............this._self.insert |
190780 | 4e 65 77 49 74 65 6d 28 61 4e 65 77 4e 6f 64 65 2c 20 6e 65 78 74 29 3b 0a 20 20 20 20 20 20 20 | NewItem(aNewNode,.next);........ |
1907a0 | 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 73 65 6c 66 2e 75 70 64 61 74 65 43 68 65 76 72 6f | .........this._self.updateChevro |
1907c0 | 6e 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 20 | n();.................return;.... |
1907e0 | 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 | ...........}.............}...... |
190800 | 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 20 20 20 20 | .....}...........else........... |
190820 | 20 20 74 68 69 73 2e 5f 66 6f 72 77 61 72 64 54 6f 43 68 69 6c 64 56 69 65 77 28 61 50 61 72 65 | ..this._forwardToChildView(aPare |
190840 | 6e 74 4e 6f 64 65 2c 20 22 69 74 65 6d 52 65 70 6c 61 63 65 64 22 2c 20 61 72 67 75 6d 65 6e 74 | ntNode,."itemReplaced",.argument |
190860 | 73 29 3b 0a 20 20 20 20 20 20 20 20 7d 2c 0a 0a 20 20 20 20 20 20 20 20 63 6f 6e 74 61 69 6e 65 | s);.........},..........containe |
190880 | 72 4f 70 65 6e 65 64 3a 20 66 75 6e 63 74 69 6f 6e 20 54 56 5f 56 5f 63 6f 6e 74 61 69 6e 65 72 | rOpened:.function.TV_V_container |
1908a0 | 4f 70 65 6e 65 64 28 61 4e 6f 64 65 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 69 | Opened(aNode).{...........this.i |
1908c0 | 6e 76 61 6c 69 64 61 74 65 43 6f 6e 74 61 69 6e 65 72 28 61 4e 6f 64 65 29 3b 0a 20 20 20 20 20 | nvalidateContainer(aNode);...... |
1908e0 | 20 20 20 7d 2c 0a 0a 20 20 20 20 20 20 20 20 63 6f 6e 74 61 69 6e 65 72 43 6c 6f 73 65 64 3a 20 | ...},..........containerClosed:. |
190900 | 66 75 6e 63 74 69 6f 6e 20 54 56 5f 56 5f 63 6f 6e 74 61 69 6e 65 72 43 6c 6f 73 65 64 28 61 4e | function.TV_V_containerClosed(aN |
190920 | 6f 64 65 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 69 6e 76 61 6c 69 64 61 74 65 | ode).{...........this.invalidate |
190940 | 43 6f 6e 74 61 69 6e 65 72 28 61 4e 6f 64 65 29 3b 0a 20 20 20 20 20 20 20 20 7d 2c 0a 0a 20 20 | Container(aNode);.........},.... |
190960 | 20 20 20 20 20 20 69 6e 76 61 6c 69 64 61 74 65 43 6f 6e 74 61 69 6e 65 72 3a 20 66 75 6e 63 74 | ......invalidateContainer:.funct |
190980 | 69 6f 6e 20 54 56 5f 56 5f 69 6e 76 61 6c 69 64 61 74 65 43 6f 6e 74 61 69 6e 65 72 28 61 43 6f | ion.TV_V_invalidateContainer(aCo |
1909a0 | 6e 74 61 69 6e 65 72 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 61 43 6f 6e 74 61 69 | ntainer).{...........if.(aContai |
1909c0 | 6e 65 72 20 3d 3d 20 74 68 69 73 2e 5f 73 65 6c 66 2e 67 65 74 52 65 73 75 6c 74 4e 6f 64 65 28 | ner.==.this._self.getResultNode( |
1909e0 | 29 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 73 65 6c 66 2e 5f 63 6f 6e | )).{.............this._self._con |
190a00 | 74 61 69 6e 65 72 4e 6f 64 65 73 4d 61 70 2e 73 70 6c 69 63 65 28 30 29 3b 0a 20 20 20 20 20 20 | tainerNodesMap.splice(0);....... |
190a20 | 20 20 20 20 20 20 74 68 69 73 2e 5f 73 65 6c 66 2e 5f 72 65 62 75 69 6c 64 28 29 3b 0a 20 20 20 | ......this._self._rebuild();.... |
190a40 | 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 | .........return;...........}.... |
190a60 | 20 20 20 20 20 20 20 20 66 75 6e 63 74 69 6f 6e 20 69 73 43 68 69 6c 64 4f 66 28 6e 6f 64 65 2c | ........function.isChildOf(node, |
190a80 | 20 63 6f 6e 74 61 69 6e 65 72 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 70 61 | .container).{.............var.pa |
190aa0 | 72 65 6e 74 20 3d 20 6e 6f 64 65 2e 70 61 72 65 6e 74 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 | rent.=.node.parent;............. |
190ac0 | 77 68 69 6c 65 20 28 70 61 72 65 6e 74 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 | while.(parent).{...............i |
190ae0 | 66 20 28 70 61 72 65 6e 74 20 3d 3d 20 63 6f 6e 74 61 69 6e 65 72 29 0a 20 20 20 20 20 20 20 20 | f.(parent.==.container)......... |
190b00 | 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 | ........return.true;............ |
190b20 | 20 20 20 70 61 72 65 6e 74 20 3d 20 70 61 72 65 6e 74 2e 70 61 72 65 6e 74 3b 0a 20 20 20 20 20 | ...parent.=.parent.parent;...... |
190b40 | 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 66 61 6c 73 | .......}.............return.fals |
190b60 | 65 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 70 6f | e;...........}............var.po |
190b80 | 70 75 70 54 6f 52 65 62 75 69 6c 64 20 3d 20 6e 75 6c 6c 3b 0a 20 20 20 20 20 20 20 20 20 20 66 | pupToRebuild.=.null;...........f |
190ba0 | 6f 72 20 28 76 61 72 20 69 3d 30 3b 20 69 20 3c 20 74 68 69 73 2e 5f 73 65 6c 66 2e 5f 63 6f 6e | or.(var.i=0;.i.<.this._self._con |
190bc0 | 74 61 69 6e 65 72 4e 6f 64 65 73 4d 61 70 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 20 7b 0a 20 20 | tainerNodesMap.length;.i++).{... |
190be0 | 20 20 20 20 20 20 20 20 20 20 76 61 72 20 6e 6f 64 65 20 3d 20 74 68 69 73 2e 5f 73 65 6c 66 2e | ..........var.node.=.this._self. |
190c00 | 5f 63 6f 6e 74 61 69 6e 65 72 4e 6f 64 65 73 4d 61 70 5b 69 5d 2e 72 65 73 75 6c 74 4e 6f 64 65 | _containerNodesMap[i].resultNode |
190c20 | 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 6e | ;..........................if.(n |
190c40 | 6f 64 65 20 3d 3d 20 61 43 6f 6e 74 61 69 6e 65 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ode.==.aContainer).............. |
190c60 | 20 70 6f 70 75 70 54 6f 52 65 62 75 69 6c 64 20 3d 20 74 68 69 73 2e 5f 73 65 6c 66 2e 5f 63 6f | .popupToRebuild.=.this._self._co |
190c80 | 6e 74 61 69 6e 65 72 4e 6f 64 65 73 4d 61 70 5b 69 5d 2e 64 6f 6d 4e 6f 64 65 3b 0a 20 20 20 20 | ntainerNodesMap[i].domNode;..... |
190ca0 | 20 20 20 20 20 20 20 20 69 66 20 28 69 73 43 68 69 6c 64 4f 66 28 6e 6f 64 65 2c 20 61 43 6f 6e | ........if.(isChildOf(node,.aCon |
190cc0 | 74 61 69 6e 65 72 29 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 73 | tainer)).{...............this._s |
190ce0 | 65 6c 66 2e 5f 63 6f 6e 74 61 69 6e 65 72 4e 6f 64 65 73 4d 61 70 2e 73 70 6c 69 63 65 28 69 2c | elf._containerNodesMap.splice(i, |
190d00 | 31 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 2d 2d 3b 0a 20 20 20 20 20 20 20 20 20 | 1);...............i--;.......... |
190d20 | 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 | ...}...........}............if.( |
190d40 | 70 6f 70 75 70 54 6f 52 65 62 75 69 6c 64 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 70 6f | popupToRebuild).{.............po |
190d60 | 70 75 70 54 6f 52 65 62 75 69 6c 64 2e 5f 62 75 69 6c 74 20 3d 20 66 61 6c 73 65 3b 0a 0a 20 20 | pupToRebuild._built.=.false;.... |
190d80 | 20 20 20 20 20 20 20 20 20 20 2f 2f 20 69 66 20 74 68 65 20 6d 65 6e 75 70 6f 70 75 70 20 69 73 | ..........//.if.the.menupopup.is |
190da0 | 20 6f 70 65 6e 20 77 65 20 73 68 6f 75 6c 64 20 6c 69 76 65 2d 75 70 64 61 74 65 20 69 74 0a 20 | .open.we.should.live-update.it.. |
190dc0 | 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 70 6f 70 75 70 54 6f 52 65 62 75 69 6c 64 2e 70 61 | ...........if.(popupToRebuild.pa |
190de0 | 72 65 6e 74 4e 6f 64 65 2e 6f 70 65 6e 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 | rentNode.open)...............thi |
190e00 | 73 2e 5f 73 65 6c 66 2e 5f 72 65 62 75 69 6c 64 50 6f 70 75 70 28 70 6f 70 75 70 54 6f 52 65 62 | s._self._rebuildPopup(popupToReb |
190e20 | 75 69 6c 64 29 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 7d 2c 0a 0a 20 | uild);...........}.........},... |
190e40 | 20 20 20 20 20 20 20 69 6e 76 61 6c 69 64 61 74 65 41 6c 6c 3a 20 66 75 6e 63 74 69 6f 6e 20 54 | .......invalidateAll:.function.T |
190e60 | 56 5f 56 5f 69 6e 76 61 6c 69 64 61 74 65 41 6c 6c 28 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 | V_V_invalidateAll().{........... |
190e80 | 74 68 69 73 2e 5f 73 65 6c 66 2e 5f 63 6f 6e 74 61 69 6e 65 72 4e 6f 64 65 73 4d 61 70 2e 73 70 | this._self._containerNodesMap.sp |
190ea0 | 6c 69 63 65 28 30 29 3b 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 73 65 6c 66 2e 5f 72 | lice(0);...........this._self._r |
190ec0 | 65 62 75 69 6c 64 28 29 3b 0a 20 20 20 20 20 20 20 20 7d 2c 0a 0a 20 20 20 20 20 20 20 20 73 6f | ebuild();.........},..........so |
190ee0 | 72 74 69 6e 67 43 68 61 6e 67 65 64 3a 20 66 75 6e 63 74 69 6f 6e 20 54 56 5f 56 5f 73 6f 72 74 | rtingChanged:.function.TV_V_sort |
190f00 | 69 6e 67 43 68 61 6e 67 65 64 28 61 53 6f 72 74 69 6e 67 4d 6f 64 65 29 20 7b 0a 20 20 20 20 20 | ingChanged(aSortingMode).{...... |
190f20 | 20 20 20 7d 0a 20 20 20 20 20 20 7d 29 5d 5d 3e 3c 2f 66 69 65 6c 64 3e 0a 0a 20 20 20 20 20 20 | ...}.......})]]></field>........ |
190f40 | 3c 70 72 6f 70 65 72 74 79 20 6e 61 6d 65 3d 22 73 65 6c 54 79 70 65 22 20 6f 6e 67 65 74 3d 22 | <property.name="selType".onget=" |
190f60 | 72 65 74 75 72 6e 20 27 73 69 6e 67 6c 65 27 3b 22 2f 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 | return.'single';"/>........<meth |
190f80 | 6f 64 20 6e 61 6d 65 3d 22 62 75 69 6c 64 43 6f 6e 74 65 78 74 4d 65 6e 75 22 3e 0a 20 20 20 20 | od.name="buildContextMenu">..... |
190fa0 | 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 50 6f 70 75 70 22 2f 3e 0a 20 | ....<parameter.name="aPopup"/>.. |
190fc0 | 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 | .......<body><![CDATA[.......... |
190fe0 | 20 74 68 69 73 2e 5f 63 6f 6e 74 65 78 74 4d 65 6e 75 53 68 6f 77 6e 20 3d 20 74 72 75 65 3b 0a | .this._contextMenuShown.=.true;. |
191000 | 20 20 20 20 20 20 20 20 20 20 2f 2f 20 41 63 74 69 76 61 74 65 20 74 68 65 20 63 6f 6e 74 72 6f | ..........//.Activate.the.contro |
191020 | 6c 6c 65 72 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 66 6f 63 75 73 28 29 3b 0a 20 20 20 | ller...........this.focus();.... |
191040 | 20 20 20 20 20 20 20 2f 2f 20 54 68 65 20 61 62 6f 76 65 20 63 61 6c 6c 20 6d 61 79 20 6e 6f 74 | .......//.The.above.call.may.not |
191060 | 20 61 6c 77 61 79 73 20 66 69 72 65 20 61 20 63 6f 6e 73 75 6d 61 62 6c 65 20 65 76 65 6e 74 20 | .always.fire.a.consumable.event. |
191080 | 66 6f 72 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 63 6f 6d 6d 61 6e 64 55 70 64 61 74 65 72 2c | for...........//.commandUpdater, |
1910a0 | 20 73 6f 20 77 65 20 66 6f 72 63 65 20 61 20 63 6f 6d 6d 61 6e 64 20 75 70 64 61 74 65 2e 0a 20 | .so.we.force.a.command.update... |
1910c0 | 20 20 20 20 20 20 20 20 20 77 69 6e 64 6f 77 2e 75 70 64 61 74 65 43 6f 6d 6d 61 6e 64 73 28 22 | .........window.updateCommands(" |
1910e0 | 66 6f 63 75 73 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 63 | focus");...........return.this.c |
191100 | 6f 6e 74 72 6f 6c 6c 65 72 2e 62 75 69 6c 64 43 6f 6e 74 65 78 74 4d 65 6e 75 28 61 50 6f 70 75 | ontroller.buildContextMenu(aPopu |
191120 | 70 29 3b 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d | p);.........]]></body>.......</m |
191140 | 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 64 65 73 74 | ethod>........<method.name="dest |
191160 | 72 6f 79 43 6f 6e 74 65 78 74 4d 65 6e 75 22 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 | royContextMenu">.........<parame |
191180 | 74 65 72 20 6e 61 6d 65 3d 22 61 50 6f 70 75 70 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 | ter.name="aPopup"/>.........<bod |
1911a0 | 79 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 63 6f 6e 74 | y><![CDATA[...........this._cont |
1911c0 | 65 78 74 4d 65 6e 75 53 68 6f 77 6e 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 20 20 20 20 20 | extMenuShown.=.false;........... |
1911e0 | 69 66 20 28 77 69 6e 64 6f 77 2e 63 6f 6e 74 65 6e 74 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 | if.(window.content)............. |
191200 | 77 69 6e 64 6f 77 2e 63 6f 6e 74 65 6e 74 2e 66 6f 63 75 73 28 29 3b 0a 20 20 20 20 20 20 20 20 | window.content.focus();......... |
191220 | 5d 5d 3e 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 | ]]></body>.......</method>...... |
191240 | 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 5f 73 68 6f 77 45 6d 70 74 79 4d 65 6e 75 49 74 | ..<method.name="_showEmptyMenuIt |
191260 | 65 6d 22 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 50 | em">.........<parameter.name="aP |
191280 | 6f 70 75 70 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 3c 21 5b 43 44 41 54 41 5b 0a | opup"/>.........<body><![CDATA[. |
1912a0 | 20 20 20 20 20 20 20 20 20 20 69 66 20 28 61 50 6f 70 75 70 2e 5f 65 6d 70 74 79 4d 65 6e 75 49 | ..........if.(aPopup._emptyMenuI |
1912c0 | 74 65 6d 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 61 50 6f 70 75 70 2e 5f 65 6d 70 74 79 | tem).{.............aPopup._empty |
1912e0 | 4d 65 6e 75 49 74 65 6d 2e 68 69 64 64 65 6e 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 20 20 | MenuItem.hidden.=.false;........ |
191300 | 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 | .....return;...........}........ |
191320 | 20 20 20 20 76 61 72 20 6c 61 62 65 6c 20 3d 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 67 65 | ....var.label.=.PlacesUIUtils.ge |
191340 | 74 53 74 72 69 6e 67 28 22 62 6f 6f 6b 6d 61 72 6b 73 4d 65 6e 75 45 6d 70 74 79 46 6f 6c 64 65 | tString("bookmarksMenuEmptyFolde |
191360 | 72 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 61 50 6f 70 75 70 2e 5f 65 6d 70 74 79 4d 65 6e 75 | r");...........aPopup._emptyMenu |
191380 | 49 74 65 6d 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 63 72 65 61 74 65 45 6c 65 6d 65 6e 74 28 22 6d | Item.=.document.createElement("m |
1913a0 | 65 6e 75 69 74 65 6d 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 61 50 6f 70 75 70 2e 5f 65 6d 70 | enuitem");...........aPopup._emp |
1913c0 | 74 79 4d 65 6e 75 49 74 65 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 6c 61 62 65 6c 22 2c | tyMenuItem.setAttribute("label", |
1913e0 | 20 6c 61 62 65 6c 29 3b 0a 20 20 20 20 20 20 20 20 20 20 61 50 6f 70 75 70 2e 5f 65 6d 70 74 79 | .label);...........aPopup._empty |
191400 | 4d 65 6e 75 49 74 65 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 64 69 73 61 62 6c 65 64 22 | MenuItem.setAttribute("disabled" |
191420 | 2c 20 74 72 75 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 61 50 6f 70 75 70 2e 61 70 70 65 6e 64 | ,.true);...........aPopup.append |
191440 | 43 68 69 6c 64 28 61 50 6f 70 75 70 2e 5f 65 6d 70 74 79 4d 65 6e 75 49 74 65 6d 29 3b 0a 20 20 | Child(aPopup._emptyMenuItem);... |
191460 | 20 20 20 20 20 20 5d 5d 3e 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e | ......]]></body>.......</method> |
191480 | 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 69 6e 73 65 72 74 4e 65 77 49 | ........<method.name="insertNewI |
1914a0 | 74 65 6d 54 6f 50 6f 70 75 70 22 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 | temToPopup">.........<parameter. |
1914c0 | 6e 61 6d 65 3d 22 61 43 68 69 6c 64 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 | name="aChild"/>.........<paramet |
1914e0 | 65 72 20 6e 61 6d 65 3d 22 61 50 61 72 65 6e 74 50 6f 70 75 70 22 2f 3e 0a 20 20 20 20 20 20 20 | er.name="aParentPopup"/>........ |
191500 | 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 42 65 66 6f 72 65 22 2f 3e 0a 20 20 20 | .<parameter.name="aBefore"/>.... |
191520 | 20 20 20 20 20 3c 62 6f 64 79 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 76 | .....<body><![CDATA[...........v |
191540 | 61 72 20 65 6c 65 6d 65 6e 74 20 3d 0a 20 20 20 20 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 55 | ar.element.=.............PlacesU |
191560 | 49 55 74 69 6c 73 2e 63 72 65 61 74 65 4d 65 6e 75 49 74 65 6d 46 6f 72 4e 6f 64 65 28 61 43 68 | IUtils.createMenuItemForNode(aCh |
191580 | 69 6c 64 2c 20 74 68 69 73 2e 5f 63 6f 6e 74 61 69 6e 65 72 4e 6f 64 65 73 4d 61 70 29 3b 0a 0a | ild,.this._containerNodesMap);.. |
1915a0 | 20 20 20 20 20 20 20 20 20 20 69 66 20 28 61 42 65 66 6f 72 65 29 0a 20 20 20 20 20 20 20 20 20 | ..........if.(aBefore).......... |
1915c0 | 20 20 20 61 50 61 72 65 6e 74 50 6f 70 75 70 2e 69 6e 73 65 72 74 42 65 66 6f 72 65 28 65 6c 65 | ...aParentPopup.insertBefore(ele |
1915e0 | 6d 65 6e 74 2c 20 61 42 65 66 6f 72 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 20 7b | ment,.aBefore);...........else.{ |
191600 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 41 64 64 20 74 68 65 20 6e 65 77 20 65 6c 65 6d | .............//.Add.the.new.elem |
191620 | 65 6e 74 20 74 6f 20 74 68 65 20 6d 65 6e 75 2e 20 20 49 66 20 74 68 65 72 65 20 69 73 20 73 74 | ent.to.the.menu...If.there.is.st |
191640 | 61 74 69 63 20 63 6f 6e 74 65 6e 74 20 61 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 74 | atic.content.at.............//.t |
191660 | 68 65 20 65 6e 64 20 6f 66 20 74 68 65 20 6d 65 6e 75 2c 20 61 64 64 20 74 68 65 20 65 6c 65 6d | he.end.of.the.menu,.add.the.elem |
191680 | 65 6e 74 20 62 65 66 6f 72 65 20 74 68 61 74 2e 20 20 4f 74 68 65 72 77 69 73 65 2c 0a 20 20 20 | ent.before.that...Otherwise,.... |
1916a0 | 20 20 20 20 20 20 20 20 20 2f 2f 20 6a 75 73 74 20 61 64 64 20 74 6f 20 74 68 65 20 65 6e 64 2e | .........//.just.add.to.the.end. |
1916c0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 61 50 61 72 65 6e 74 50 6f 70 75 70 2e 5f 65 | .............if.(aParentPopup._e |
1916e0 | 6e 64 4d 61 72 6b 65 72 20 21 3d 20 2d 31 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ndMarker.!=.-1).{............... |
191700 | 61 50 61 72 65 6e 74 50 6f 70 75 70 2e 69 6e 73 65 72 74 42 65 66 6f 72 65 28 65 6c 65 6d 65 6e | aParentPopup.insertBefore(elemen |
191720 | 74 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | t,.............................. |
191740 | 20 20 20 20 20 20 20 20 20 20 20 61 50 61 72 65 6e 74 50 6f 70 75 70 2e 63 68 69 6c 64 4e 6f 64 | ...........aParentPopup.childNod |
191760 | 65 73 5b 61 50 61 72 65 6e 74 50 6f 70 75 70 2e 5f 65 6e 64 4d 61 72 6b 65 72 5d 29 3b 0a 20 20 | es[aParentPopup._endMarker]);... |
191780 | 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 0a 20 20 20 | ..........}.............else.... |
1917a0 | 20 20 20 20 20 20 20 20 20 20 20 61 50 61 72 65 6e 74 50 6f 70 75 70 2e 61 70 70 65 6e 64 43 68 | ...........aParentPopup.appendCh |
1917c0 | 69 6c 64 28 65 6c 65 6d 65 6e 74 29 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 | ild(element);...........}....... |
1917e0 | 20 20 20 20 20 69 66 20 28 61 50 61 72 65 6e 74 50 6f 70 75 70 2e 5f 65 6e 64 4d 61 72 6b 65 72 | .....if.(aParentPopup._endMarker |
191800 | 20 21 3d 20 2d 31 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 61 50 61 72 65 6e 74 50 6f 70 75 70 | .!=.-1).............aParentPopup |
191820 | 2e 5f 65 6e 64 4d 61 72 6b 65 72 2b 2b 3b 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 62 6f 64 79 | ._endMarker++;.........]]></body |
191840 | 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 | >.......</method>........<method |
191860 | 20 6e 61 6d 65 3d 22 5f 63 6f 6e 74 61 69 6e 65 72 50 6f 70 75 70 53 68 6f 77 69 6e 67 22 3e 0a | .name="_containerPopupShowing">. |
191880 | 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 50 6f 70 75 70 22 | ........<parameter.name="aPopup" |
1918a0 | 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 | />.........<body><![CDATA[...... |
1918c0 | 20 20 20 20 20 69 66 20 28 21 61 50 6f 70 75 70 2e 5f 62 75 69 6c 74 29 0a 20 20 20 20 20 20 20 | .....if.(!aPopup._built)........ |
1918e0 | 20 20 20 20 20 74 68 69 73 2e 5f 72 65 62 75 69 6c 64 50 6f 70 75 70 28 61 50 6f 70 75 70 29 3b | .....this._rebuildPopup(aPopup); |
191900 | 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 | .........]]></body>.......</meth |
191920 | 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 5f 72 65 62 75 69 6c | od>........<method.name="_rebuil |
191940 | 64 50 6f 70 75 70 22 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 | dPopup">.........<parameter.name |
191960 | 3d 22 61 50 6f 70 75 70 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 3c 21 5b 43 44 41 | ="aPopup"/>.........<body><![CDA |
191980 | 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 63 6c 65 61 | TA[...........PlacesUIUtils.clea |
1919a0 | 6e 50 6c 61 63 65 73 50 6f 70 75 70 28 61 50 6f 70 75 70 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 | nPlacesPopup(aPopup);........... |
1919c0 | 20 2f 2f 20 49 66 20 74 68 69 73 20 69 73 20 61 20 6c 69 76 65 6d 61 72 6b 20 63 6f 6e 74 61 69 | .//.If.this.is.a.livemark.contai |
1919e0 | 6e 65 72 20 63 68 65 63 6b 20 69 66 20 74 68 65 20 73 74 61 74 75 73 20 6d 65 6e 75 69 74 65 6d | ner.check.if.the.status.menuitem |
191a00 | 20 68 61 73 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 74 6f 20 62 65 20 61 64 64 65 64 20 6f 72 | .has...........//.to.be.added.or |
191a20 | 20 72 65 6d 6f 76 65 64 2e 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 50 6c 61 63 65 73 55 74 | .removed............if.(PlacesUt |
191a40 | 69 6c 73 2e 6e 6f 64 65 49 73 4c 69 76 65 6d 61 72 6b 43 6f 6e 74 61 69 6e 65 72 28 61 50 6f 70 | ils.nodeIsLivemarkContainer(aPop |
191a60 | 75 70 2e 5f 72 65 73 75 6c 74 4e 6f 64 65 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 50 6c 61 | up._resultNode)).............Pla |
191a80 | 63 65 73 55 49 55 74 69 6c 73 2e 65 6e 73 75 72 65 4c 69 76 65 6d 61 72 6b 53 74 61 74 75 73 4d | cesUIUtils.ensureLivemarkStatusM |
191aa0 | 65 6e 75 49 74 65 6d 28 61 50 6f 70 75 70 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 | enuItem(aPopup);............var. |
191ac0 | 72 65 73 75 6c 74 4e 6f 64 65 20 3d 20 61 50 6f 70 75 70 2e 5f 72 65 73 75 6c 74 4e 6f 64 65 3b | resultNode.=.aPopup._resultNode; |
191ae0 | 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 72 65 73 75 6c 74 4e 6f 64 65 2e 63 6f 6e 74 61 | ...........if.(!resultNode.conta |
191b00 | 69 6e 65 72 4f 70 65 6e 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 73 75 6c 74 4e 6f 64 65 | inerOpen).............resultNode |
191b20 | 2e 63 6f 6e 74 61 69 6e 65 72 4f 70 65 6e 20 3d 20 74 72 75 65 3b 0a 0a 20 20 20 20 20 20 20 20 | .containerOpen.=.true;.......... |
191b40 | 20 20 76 61 72 20 63 63 20 3d 20 72 65 73 75 6c 74 4e 6f 64 65 2e 63 68 69 6c 64 43 6f 75 6e 74 | ..var.cc.=.resultNode.childCount |
191b60 | 3b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 63 63 20 3e 20 30 29 20 7b 0a 20 20 20 20 20 20 | ;...........if.(cc.>.0).{....... |
191b80 | 20 20 20 20 20 20 69 66 20 28 61 50 6f 70 75 70 2e 5f 65 6d 70 74 79 4d 65 6e 75 49 74 65 6d 29 | ......if.(aPopup._emptyMenuItem) |
191ba0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 50 6f 70 75 70 2e 5f 65 6d 70 74 79 4d 65 6e 75 | ...............aPopup._emptyMenu |
191bc0 | 49 74 65 6d 2e 68 69 64 64 65 6e 20 3d 20 74 72 75 65 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 | Item.hidden.=.true;............. |
191be0 | 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 63 63 3b 20 2b 2b 69 29 20 7b 0a | .for.(var.i.=.0;.i.<.cc;.++i).{. |
191c00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 63 68 69 6c 64 20 3d 20 72 65 73 75 6c 74 | ..............var.child.=.result |
191c20 | 4e 6f 64 65 2e 67 65 74 43 68 69 6c 64 28 69 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | Node.getChild(i);............... |
191c40 | 74 68 69 73 2e 69 6e 73 65 72 74 4e 65 77 49 74 65 6d 54 6f 50 6f 70 75 70 28 63 68 69 6c 64 2c | this.insertNewItemToPopup(child, |
191c60 | 20 61 50 6f 70 75 70 2c 20 6e 75 6c 6c 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 | .aPopup,.null);.............}... |
191c80 | 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 | ........}...........else.{...... |
191ca0 | 20 20 20 20 20 20 20 2f 2f 20 54 68 69 73 20 6d 65 6e 75 20 69 73 20 65 6d 70 74 79 2e 20 20 49 | .......//.This.menu.is.empty...I |
191cc0 | 66 20 74 68 65 72 65 20 69 73 20 6e 6f 20 73 74 61 74 69 63 20 63 6f 6e 74 65 6e 74 2c 20 61 64 | f.there.is.no.static.content,.ad |
191ce0 | 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 61 6e 20 65 6c 65 6d 65 6e 74 20 74 6f 20 73 | d.............//.an.element.to.s |
191d00 | 68 6f 77 20 69 74 20 69 73 20 65 6d 70 74 79 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 | how.it.is.empty..............if. |
191d20 | 28 61 50 6f 70 75 70 2e 5f 73 74 61 72 74 4d 61 72 6b 65 72 20 3d 3d 20 2d 31 20 26 26 20 61 50 | (aPopup._startMarker.==.-1.&&.aP |
191d40 | 6f 70 75 70 2e 5f 65 6e 64 4d 61 72 6b 65 72 20 3d 3d 20 2d 31 29 0a 20 20 20 20 20 20 20 20 20 | opup._endMarker.==.-1).......... |
191d60 | 20 20 20 20 20 74 68 69 73 2e 5f 73 68 6f 77 45 6d 70 74 79 4d 65 6e 75 49 74 65 6d 28 61 50 6f | .....this._showEmptyMenuItem(aPo |
191d80 | 70 75 70 29 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 61 50 6f 70 | pup);...........}...........aPop |
191da0 | 75 70 2e 5f 62 75 69 6c 74 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 62 | up._built.=.true;.........]]></b |
191dc0 | 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 66 69 65 | ody>.......</method>........<fie |
191de0 | 6c 64 20 6e 61 6d 65 3d 22 5f 6f 76 65 72 46 6f 6c 64 65 72 22 3e 3c 21 5b 43 44 41 54 41 5b 0a | ld.name="_overFolder"><![CDATA[. |
191e00 | 20 20 20 20 20 20 20 28 0a 20 20 20 20 20 20 20 20 20 2f 2f 20 4d 65 6e 75 20 62 75 74 74 6f 6e | .......(..........//.Menu.button |
191e20 | 73 20 73 68 6f 75 6c 64 20 62 65 20 6f 70 65 6e 65 64 20 77 68 65 6e 20 74 68 65 20 6d 6f 75 73 | s.should.be.opened.when.the.mous |
191e40 | 65 20 64 72 61 67 73 20 6f 76 65 72 20 74 68 65 6d 2c 20 61 6e 64 0a 20 20 20 20 20 20 20 20 20 | e.drags.over.them,.and.......... |
191e60 | 2f 2f 20 63 6c 6f 73 65 64 20 77 68 65 6e 20 74 68 65 20 6d 6f 75 73 65 20 64 72 61 67 73 20 6f | //.closed.when.the.mouse.drags.o |
191e80 | 66 66 2e 20 54 68 69 73 20 6f 62 6a 65 63 74 20 6d 61 6e 61 67 65 73 20 6f 70 65 6e 69 6e 67 20 | ff..This.object.manages.opening. |
191ea0 | 61 6e 64 0a 20 20 20 20 20 20 20 20 20 2f 2f 20 63 6c 6f 73 69 6e 67 20 6f 66 20 66 6f 6c 64 65 | and..........//.closing.of.folde |
191ec0 | 72 73 20 77 68 65 6e 20 74 68 65 20 6d 6f 75 73 65 20 68 6f 76 65 72 73 2e 0a 20 20 20 20 20 20 | rs.when.the.mouse.hovers........ |
191ee0 | 20 20 20 7b 20 6e 6f 64 65 3a 20 6e 75 6c 6c 2c 20 6f 70 65 6e 54 69 6d 65 72 3a 20 6e 75 6c 6c | ...{.node:.null,.openTimer:.null |
191f00 | 2c 20 68 6f 76 65 72 54 69 6d 65 3a 20 33 35 30 2c 20 63 6c 6f 73 65 54 69 6d 65 72 3a 20 6e 75 | ,.hoverTime:.350,.closeTimer:.nu |
191f20 | 6c 6c 20 7d 0a 20 20 20 20 20 20 20 29 3b 0a 20 20 20 20 20 20 5d 5d 3e 3c 2f 66 69 65 6c 64 3e | ll.}........);.......]]></field> |
191f40 | 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 5f 63 6c 65 61 72 4f 76 65 72 | ........<method.name="_clearOver |
191f60 | 46 6f 6c 64 65 72 22 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 3c 21 5b 43 44 41 54 41 5b | Folder">.........<body><![CDATA[ |
191f80 | 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 54 68 65 20 6d 6f 75 73 65 20 69 73 20 6e 6f 20 6c 6f | ...........//.The.mouse.is.no.lo |
191fa0 | 6e 67 65 72 20 64 72 61 67 67 69 6e 67 20 6f 76 65 72 20 74 68 65 20 73 74 6f 72 65 64 20 6d 65 | nger.dragging.over.the.stored.me |
191fc0 | 6e 75 62 75 74 74 6f 6e 2e 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 43 6c 6f 73 65 20 74 68 65 | nubutton............//.Close.the |
191fe0 | 20 6d 65 6e 75 62 75 74 74 6f 6e 2c 20 63 6c 65 61 72 20 6f 75 74 20 64 72 61 67 20 73 74 79 6c | .menubutton,.clear.out.drag.styl |
192000 | 65 73 2c 20 61 6e 64 20 63 6c 65 61 72 20 61 6c 6c 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 74 | es,.and.clear.all...........//.t |
192020 | 69 6d 65 72 73 20 66 6f 72 20 6f 70 65 6e 69 6e 67 2f 63 6c 6f 73 69 6e 67 20 69 74 2e 0a 20 20 | imers.for.opening/closing.it.... |
192040 | 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 6f 76 65 72 46 6f 6c 64 65 72 2e 6e 6f 64 | ........if.(this._overFolder.nod |
192060 | 65 20 26 26 20 74 68 69 73 2e 5f 6f 76 65 72 46 6f 6c 64 65 72 2e 6e 6f 64 65 2e 6c 61 73 74 43 | e.&&.this._overFolder.node.lastC |
192080 | 68 69 6c 64 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 74 68 69 73 2e 5f 6f | hild).{.............if.(!this._o |
1920a0 | 76 65 72 46 6f 6c 64 65 72 2e 6e 6f 64 65 2e 6c 61 73 74 43 68 69 6c 64 2e 68 61 73 41 74 74 72 | verFolder.node.lastChild.hasAttr |
1920c0 | 69 62 75 74 65 28 22 64 72 61 67 6f 76 65 72 22 29 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 | ibute("dragover")).{............ |
1920e0 | 20 20 20 74 68 69 73 2e 5f 6f 76 65 72 46 6f 6c 64 65 72 2e 6e 6f 64 65 2e 6c 61 73 74 43 68 69 | ...this._overFolder.node.lastChi |
192100 | 6c 64 2e 68 69 64 65 50 6f 70 75 70 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 | ld.hidePopup();.............}... |
192120 | 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 6f 76 65 72 46 6f 6c 64 65 72 2e 6e 6f 64 65 2e | ..........this._overFolder.node. |
192140 | 72 65 6d 6f 76 65 41 74 74 72 69 62 75 74 65 28 22 64 72 61 67 6f 76 65 72 22 29 3b 0a 20 20 20 | removeAttribute("dragover");.... |
192160 | 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 6f 76 65 72 46 6f 6c 64 65 72 2e 6e 6f 64 65 20 3d | .........this._overFolder.node.= |
192180 | 20 6e 75 6c 6c 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 | .null;...........}...........if. |
1921a0 | 28 74 68 69 73 2e 5f 6f 76 65 72 46 6f 6c 64 65 72 2e 6f 70 65 6e 54 69 6d 65 72 29 20 7b 0a 20 | (this._overFolder.openTimer).{.. |
1921c0 | 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 6f 76 65 72 46 6f 6c 64 65 72 2e 6f 70 65 6e | ...........this._overFolder.open |
1921e0 | 54 69 6d 65 72 2e 63 61 6e 63 65 6c 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 | Timer.cancel();.............this |
192200 | 2e 5f 6f 76 65 72 46 6f 6c 64 65 72 2e 6f 70 65 6e 54 69 6d 65 72 20 3d 20 6e 75 6c 6c 3b 0a 20 | ._overFolder.openTimer.=.null;.. |
192220 | 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 6f | .........}...........if.(this._o |
192240 | 76 65 72 46 6f 6c 64 65 72 2e 63 6c 6f 73 65 54 69 6d 65 72 29 20 7b 0a 20 20 20 20 20 20 20 20 | verFolder.closeTimer).{......... |
192260 | 20 20 20 20 74 68 69 73 2e 5f 6f 76 65 72 46 6f 6c 64 65 72 2e 63 6c 6f 73 65 54 69 6d 65 72 2e | ....this._overFolder.closeTimer. |
192280 | 63 61 6e 63 65 6c 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 6f 76 65 72 | cancel();.............this._over |
1922a0 | 46 6f 6c 64 65 72 2e 63 6c 6f 73 65 54 69 6d 65 72 20 3d 20 6e 75 6c 6c 3b 0a 20 20 20 20 20 20 | Folder.closeTimer.=.null;....... |
1922c0 | 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c | ....}.........]]></body>.......< |
1922e0 | 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 5f 67 | /method>........<method.name="_g |
192300 | 65 74 44 72 6f 70 50 6f 69 6e 74 22 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 | etDropPoint">.........<parameter |
192320 | 20 6e 61 6d 65 3d 22 61 45 76 65 6e 74 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 3c | .name="aEvent"/>.........<body>< |
192340 | 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 54 68 69 73 20 66 75 6e 63 74 | ![CDATA[...........//.This.funct |
192360 | 69 6f 6e 20 72 65 74 75 72 6e 73 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 20 61 62 6f 75 74 20 77 68 | ion.returns.information.about.wh |
192380 | 65 72 65 20 74 6f 20 64 72 6f 70 20 77 68 65 6e 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 64 72 | ere.to.drop.when...........//.dr |
1923a0 | 61 67 67 69 6e 67 20 6f 76 65 72 20 74 68 69 73 20 6d 65 6e 75 2d 2d 69 6e 73 65 72 74 69 6f 6e | agging.over.this.menu--insertion |
1923c0 | 20 70 6f 69 6e 74 2c 20 63 68 69 6c 64 20 69 6e 64 65 78 20 74 6f 20 64 72 6f 70 0a 20 20 20 20 | .point,.child.index.to.drop..... |
1923e0 | 20 20 20 20 20 20 2f 2f 20 62 65 66 6f 72 65 2c 20 61 6e 64 20 66 6f 6c 64 65 72 20 74 6f 20 64 | ......//.before,.and.folder.to.d |
192400 | 72 6f 70 20 69 6e 74 6f 2e 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 43 61 6e 27 74 20 64 72 6f | rop.into............//.Can't.dro |
192420 | 70 20 69 66 20 74 68 65 20 74 6f 6f 6c 62 61 72 20 69 73 6e 27 74 20 61 20 66 6f 6c 64 65 72 2e | p.if.the.toolbar.isn't.a.folder. |
192440 | 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 72 65 73 75 6c 74 20 3d 20 74 68 69 73 2e 67 65 74 | ...........var.result.=.this.get |
192460 | 52 65 73 75 6c 74 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 50 6c 61 63 65 73 55 | Result();...........if.(!PlacesU |
192480 | 74 69 6c 73 2e 6e 6f 64 65 49 73 46 6f 6c 64 65 72 28 72 65 73 75 6c 74 2e 72 6f 6f 74 29 29 0a | tils.nodeIsFolder(result.root)). |
1924a0 | 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 6e 75 6c 6c 3b 0a 0a 20 20 20 20 20 20 | ............return.null;........ |
1924c0 | 20 20 20 20 76 61 72 20 69 73 52 54 4c 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 64 65 66 61 75 6c 74 | ....var.isRTL.=.document.default |
1924e0 | 56 69 65 77 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | View............................ |
192500 | 20 20 20 2e 67 65 74 43 6f 6d 70 75 74 65 64 53 74 79 6c 65 28 74 68 69 73 2e 70 61 72 65 6e 74 | ....getComputedStyle(this.parent |
192520 | 4e 6f 64 65 2c 20 22 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | Node,."")....................... |
192540 | 20 20 20 20 20 20 20 20 2e 64 69 72 65 63 74 69 6f 6e 20 3d 3d 20 22 72 74 6c 22 3b 0a 0a 20 20 | .........direction.==."rtl";.... |
192560 | 20 20 20 20 20 20 20 20 76 61 72 20 64 72 6f 70 50 6f 69 6e 74 20 3d 20 7b 20 69 70 3a 20 6e 75 | ........var.dropPoint.=.{.ip:.nu |
192580 | 6c 6c 2c 20 62 65 66 6f 72 65 49 6e 64 65 78 3a 20 6e 75 6c 6c 2c 20 66 6f 6c 64 65 72 4e 6f 64 | ll,.beforeIndex:.null,.folderNod |
1925a0 | 65 3a 20 6e 75 6c 6c 20 7d 3b 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 4c 6f 6f 70 20 74 68 72 | e:.null.};...........//.Loop.thr |
1925c0 | 6f 75 67 68 20 61 6c 6c 20 74 68 65 20 6e 6f 64 65 73 20 74 6f 20 73 65 65 20 77 68 69 63 68 20 | ough.all.the.nodes.to.see.which. |
1925e0 | 6f 6e 65 20 74 68 69 73 20 73 68 6f 75 6c 64 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 67 65 74 | one.this.should...........//.get |
192600 | 20 64 72 6f 70 70 65 64 20 69 6e 2f 6e 65 78 74 20 74 6f 0a 20 20 20 20 20 20 20 20 20 20 66 6f | .dropped.in/next.to...........fo |
192620 | 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 74 68 69 73 2e 63 68 69 6c 64 4e 6f 64 65 | r.(var.i.=.0;.i.<.this.childNode |
192640 | 73 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 | s.length;.i++).{.............var |
192660 | 20 78 75 6c 4e 6f 64 65 20 3d 20 74 68 69 73 2e 63 68 69 6c 64 4e 6f 64 65 73 5b 69 5d 3b 0a 20 | .xulNode.=.this.childNodes[i];.. |
192680 | 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 | ...........if.(PlacesUtils.nodeI |
1926a0 | 73 46 6f 6c 64 65 72 28 78 75 6c 4e 6f 64 65 2e 6e 6f 64 65 29 20 26 26 0a 20 20 20 20 20 20 20 | sFolder(xulNode.node).&&........ |
1926c0 | 20 20 20 20 20 20 20 20 20 21 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 52 65 61 64 | .........!PlacesUtils.nodeIsRead |
1926e0 | 4f 6e 6c 79 28 78 75 6c 4e 6f 64 65 2e 6e 6f 64 65 29 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 | Only(xulNode.node)).{........... |
192700 | 20 20 20 20 2f 2f 20 54 68 69 73 20 69 73 20 61 20 66 6f 6c 64 65 72 2e 20 49 66 20 74 68 65 20 | ....//.This.is.a.folder..If.the. |
192720 | 6d 6f 75 73 65 20 69 73 20 69 6e 20 74 68 65 20 6c 65 66 74 20 32 35 25 20 6f 66 20 74 68 65 0a | mouse.is.in.the.left.25%.of.the. |
192740 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 6e 6f 64 65 20 28 6f 72 20 32 35 25 20 6f 66 | ..............//.node.(or.25%.of |
192760 | 20 74 68 65 20 72 69 67 68 74 2c 20 69 6e 20 52 54 4c 20 55 49 29 2c 20 64 72 6f 70 20 62 65 66 | .the.right,.in.RTL.UI),.drop.bef |
192780 | 6f 72 65 20 74 68 65 20 66 6f 6c 64 65 72 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f | ore.the.folder................// |
1927a0 | 20 49 66 20 69 74 27 73 20 69 6e 20 74 68 65 20 6d 69 64 64 6c 65 20 35 30 25 2c 20 64 72 6f 70 | .If.it's.in.the.middle.50%,.drop |
1927c0 | 20 69 6e 74 6f 20 74 68 65 20 66 6f 6c 64 65 72 2e 20 49 66 20 69 74 27 73 20 70 61 73 74 0a 20 | .into.the.folder..If.it's.past.. |
1927e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 74 68 61 74 2c 20 64 72 6f 70 20 61 66 74 65 72 | .............//.that,.drop.after |
192800 | 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 28 69 73 52 54 4c 20 26 26 20 61 45 | ................if.((isRTL.&&.aE |
192820 | 76 65 6e 74 2e 63 6c 69 65 6e 74 58 20 3e 20 78 75 6c 4e 6f 64 65 2e 62 6f 78 4f 62 6a 65 63 74 | vent.clientX.>.xulNode.boxObject |
192840 | 2e 78 20 2b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .x.+............................ |
192860 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 78 75 6c 4e 6f 64 65 2e 62 6f 78 4f 62 | ..................(xulNode.boxOb |
192880 | 6a 65 63 74 2e 77 69 64 74 68 20 2a 20 30 2e 37 35 29 29 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 | ject.width.*.0.75)).||.......... |
1928a0 | 20 20 20 20 20 20 20 20 20 28 21 69 73 52 54 4c 20 26 26 20 61 45 76 65 6e 74 2e 63 6c 69 65 6e | .........(!isRTL.&&.aEvent.clien |
1928c0 | 74 58 20 3c 20 78 75 6c 4e 6f 64 65 2e 62 6f 78 4f 62 6a 65 63 74 2e 78 20 2b 20 0a 20 20 20 20 | tX.<.xulNode.boxObject.x.+...... |
1928e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
192900 | 20 20 20 20 20 20 20 20 20 20 28 78 75 6c 4e 6f 64 65 2e 62 6f 78 4f 62 6a 65 63 74 2e 77 69 64 | ..........(xulNode.boxObject.wid |
192920 | 74 68 20 2a 20 30 2e 32 35 29 29 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f | th.*.0.25))).{................./ |
192940 | 2f 20 44 72 6f 70 20 74 6f 20 74 68 65 20 6c 65 66 74 20 6f 66 20 74 68 69 73 20 66 6f 6c 64 65 | /.Drop.to.the.left.of.this.folde |
192960 | 72 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 72 6f 70 50 6f 69 6e 74 2e 69 70 20 | r..................dropPoint.ip. |
192980 | 3d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 65 77 20 49 6e 73 65 72 74 69 6f | =...................new.Insertio |
1929a0 | 6e 50 6f 69 6e 74 28 50 6c 61 63 65 73 55 74 69 6c 73 2e 67 65 74 43 6f 6e 63 72 65 74 65 49 74 | nPoint(PlacesUtils.getConcreteIt |
1929c0 | 65 6d 49 64 28 72 65 73 75 6c 74 2e 72 6f 6f 74 29 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | emId(result.root),.............. |
1929e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 2c 20 2d 31 29 3b 0a | ........................i,.-1);. |
192a00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 72 6f 70 50 6f 69 6e 74 2e 62 65 66 6f 72 65 | ................dropPoint.before |
192a20 | 49 6e 64 65 78 20 3d 20 69 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 | Index.=.i;.................retur |
192a40 | 6e 20 64 72 6f 70 50 6f 69 6e 74 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 | n.dropPoint;...............}.... |
192a60 | 20 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 20 69 66 20 28 28 69 73 52 54 4c 20 26 26 20 61 45 | ...........else.if.((isRTL.&&.aE |
192a80 | 76 65 6e 74 2e 63 6c 69 65 6e 74 58 20 3e 20 78 75 6c 4e 6f 64 65 2e 62 6f 78 4f 62 6a 65 63 74 | vent.clientX.>.xulNode.boxObject |
192aa0 | 2e 78 20 2b 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .x.+............................ |
192ac0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 78 75 6c 4e 6f 64 65 | ........................(xulNode |
192ae0 | 2e 62 6f 78 4f 62 6a 65 63 74 2e 77 69 64 74 68 20 2a 20 30 2e 32 35 29 29 20 7c 7c 0a 20 20 20 | .boxObject.width.*.0.25)).||.... |
192b00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 21 69 73 52 54 4c 20 26 26 20 61 | ....................(!isRTL.&&.a |
192b20 | 45 76 65 6e 74 2e 63 6c 69 65 6e 74 58 20 3c 20 78 75 6c 4e 6f 64 65 2e 62 6f 78 4f 62 6a 65 63 | Event.clientX.<.xulNode.boxObjec |
192b40 | 74 2e 78 20 2b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | t.x.+........................... |
192b60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 78 75 6c 4e 6f 64 | .........................(xulNod |
192b80 | 65 2e 62 6f 78 4f 62 6a 65 63 74 2e 77 69 64 74 68 20 2a 20 30 2e 37 35 29 29 29 20 7b 0a 20 20 | e.boxObject.width.*.0.75))).{... |
192ba0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 44 72 6f 70 20 69 6e 73 69 64 65 20 74 68 69 | ..............//.Drop.inside.thi |
192bc0 | 73 20 66 6f 6c 64 65 72 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 72 6f 70 50 6f | s.folder..................dropPo |
192be0 | 69 6e 74 2e 69 70 20 3d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 65 77 20 49 | int.ip.=...................new.I |
192c00 | 6e 73 65 72 74 69 6f 6e 50 6f 69 6e 74 28 50 6c 61 63 65 73 55 74 69 6c 73 2e 67 65 74 43 6f 6e | nsertionPoint(PlacesUtils.getCon |
192c20 | 63 72 65 74 65 49 74 65 6d 49 64 28 78 75 6c 4e 6f 64 65 2e 6e 6f 64 65 29 2c 0a 20 20 20 20 20 | creteItemId(xulNode.node),...... |
192c40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
192c60 | 2d 31 2c 20 31 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | -1,.1,.......................... |
192c80 | 20 20 20 20 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 54 61 | ............PlacesUtils.nodeIsTa |
192ca0 | 67 51 75 65 72 79 28 78 75 6c 4e 6f 64 65 2e 6e 6f 64 65 29 29 3b 0a 20 20 20 20 20 20 20 20 20 | gQuery(xulNode.node));.......... |
192cc0 | 20 20 20 20 20 20 20 64 72 6f 70 50 6f 69 6e 74 2e 62 65 66 6f 72 65 49 6e 64 65 78 20 3d 20 69 | .......dropPoint.beforeIndex.=.i |
192ce0 | 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 72 6f 70 50 6f 69 6e 74 2e 66 6f 6c 64 | ;.................dropPoint.fold |
192d00 | 65 72 4e 6f 64 65 20 3d 20 78 75 6c 4e 6f 64 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | erNode.=.xulNode;............... |
192d20 | 20 20 72 65 74 75 72 6e 20 64 72 6f 70 50 6f 69 6e 74 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ..return.dropPoint;............. |
192d40 | 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 65 6c | ..}.............}.............el |
192d60 | 73 65 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 54 68 69 73 20 69 73 20 61 20 | se.{...............//.This.is.a. |
192d80 | 6e 6f 6e 2d 66 6f 6c 64 65 72 20 6e 6f 64 65 2e 20 49 66 20 74 68 65 20 6d 6f 75 73 65 20 69 73 | non-folder.node..If.the.mouse.is |
192da0 | 20 6c 65 66 74 20 28 6f 72 20 72 69 67 68 74 2c 20 69 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 | .left.(or.right,.in............. |
192dc0 | 20 20 2f 2f 20 52 54 4c 20 55 49 29 20 6f 66 20 74 68 65 20 6d 69 64 64 6c 65 2c 20 64 72 6f 70 | ..//.RTL.UI).of.the.middle,.drop |
192de0 | 20 62 65 66 6f 72 65 20 74 68 65 20 66 6f 6c 64 65 72 2e 20 20 4f 74 65 68 72 77 69 73 65 2c 0a | .before.the.folder...Otehrwise,. |
192e00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 77 65 27 6c 6c 20 64 72 6f 70 20 61 66 74 65 | ..............//.we'll.drop.afte |
192e20 | 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 28 69 73 52 54 4c 20 26 26 20 61 45 | r...............if.((isRTL.&&.aE |
192e40 | 76 65 6e 74 2e 63 6c 69 65 6e 74 58 20 3e 20 78 75 6c 4e 6f 64 65 2e 62 6f 78 4f 62 6a 65 63 74 | vent.clientX.>.xulNode.boxObject |
192e60 | 2e 78 20 2b 20 28 78 75 6c 4e 6f 64 65 2e 62 6f 78 4f 62 6a 65 63 74 2e 77 69 64 74 68 20 2f 20 | .x.+.(xulNode.boxObject.width./. |
192e80 | 32 29 29 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 21 69 73 52 54 4c | 2)).||...................(!isRTL |
192ea0 | 20 26 26 20 61 45 76 65 6e 74 2e 63 6c 69 65 6e 74 58 20 3c 20 78 75 6c 4e 6f 64 65 2e 62 6f 78 | .&&.aEvent.clientX.<.xulNode.box |
192ec0 | 4f 62 6a 65 63 74 2e 78 20 2b 20 28 78 75 6c 4e 6f 64 65 2e 62 6f 78 4f 62 6a 65 63 74 2e 77 69 | Object.x.+.(xulNode.boxObject.wi |
192ee0 | 64 74 68 20 2f 20 32 29 29 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 | dth./.2))).{.................//. |
192f00 | 44 72 6f 70 20 62 65 66 6f 72 65 20 74 68 69 73 20 62 6f 6f 6b 6d 61 72 6b 2e 0a 20 20 20 20 20 | Drop.before.this.bookmark....... |
192f20 | 20 20 20 20 20 20 20 20 20 20 20 64 72 6f 70 50 6f 69 6e 74 2e 69 70 20 3d 0a 09 20 20 20 20 20 | ...........dropPoint.ip.=....... |
192f40 | 20 20 20 20 20 20 20 20 20 20 20 6e 65 77 20 49 6e 73 65 72 74 69 6f 6e 50 6f 69 6e 74 28 50 6c | ...........new.InsertionPoint(Pl |
192f60 | 61 63 65 73 55 74 69 6c 73 2e 67 65 74 43 6f 6e 63 72 65 74 65 49 74 65 6d 49 64 28 72 65 73 75 | acesUtils.getConcreteItemId(resu |
192f80 | 6c 74 2e 72 6f 6f 74 29 2c 0a 09 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | lt.root),....................... |
192fa0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 2c 20 2d 31 29 3b 0a 20 20 20 20 20 20 20 20 20 20 | ..............i,.-1);........... |
192fc0 | 20 20 20 20 20 20 64 72 6f 70 50 6f 69 6e 74 2e 62 65 66 6f 72 65 49 6e 64 65 78 20 3d 20 69 3b | ......dropPoint.beforeIndex.=.i; |
192fe0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 64 72 6f 70 50 6f 69 6e | .................return.dropPoin |
193000 | 74 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d | t;...............}.............} |
193020 | 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 53 68 6f 75 6c 64 | ...........}...........//.Should |
193040 | 20 64 72 6f 70 20 61 66 74 65 72 20 74 68 65 20 6c 61 73 74 20 6e 6f 64 65 2e 0a 20 20 20 20 20 | .drop.after.the.last.node....... |
193060 | 20 20 20 20 20 64 72 6f 70 50 6f 69 6e 74 2e 69 70 20 3d 0a 20 20 20 20 20 20 20 20 09 20 20 6e | .....dropPoint.ip.=............n |
193080 | 65 77 20 49 6e 73 65 72 74 69 6f 6e 50 6f 69 6e 74 28 50 6c 61 63 65 73 55 74 69 6c 73 2e 67 65 | ew.InsertionPoint(PlacesUtils.ge |
1930a0 | 74 43 6f 6e 63 72 65 74 65 49 74 65 6d 49 64 28 72 65 73 75 6c 74 2e 72 6f 6f 74 29 2c 0a 09 20 | tConcreteItemId(result.root),... |
1930c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2d 31 2c 20 | ............................-1,. |
1930e0 | 31 29 3b 0a 20 20 20 20 20 20 20 20 20 20 64 72 6f 70 50 6f 69 6e 74 2e 62 65 66 6f 72 65 49 6e | 1);...........dropPoint.beforeIn |
193100 | 64 65 78 20 3d 20 2d 31 3b 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 64 72 6f 70 50 | dex.=.-1;...........return.dropP |
193120 | 6f 69 6e 74 3b 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c | oint;.........]]></body>.......< |
193140 | 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 5f 73 | /method>........<method.name="_s |
193160 | 65 74 54 69 6d 65 72 22 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d | etTimer">.........<parameter.nam |
193180 | 65 3d 22 61 54 69 6d 65 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 3c 21 5b 43 44 41 | e="aTime"/>.........<body><![CDA |
1931a0 | 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 74 69 6d 65 72 20 3d 20 43 63 5b 22 40 6d | TA[...........var.timer.=.Cc["@m |
1931c0 | 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 74 69 6d 65 72 3b 31 22 5d 2e 63 72 65 61 74 65 49 6e 73 74 61 | ozilla.org/timer;1"].createInsta |
1931e0 | 6e 63 65 28 43 69 2e 6e 73 49 54 69 6d 65 72 29 3b 0a 20 20 20 20 20 20 20 20 20 20 74 69 6d 65 | nce(Ci.nsITimer);...........time |
193200 | 72 2e 69 6e 69 74 57 69 74 68 43 61 6c 6c 62 61 63 6b 28 74 68 69 73 2c 20 61 54 69 6d 65 2c 20 | r.initWithCallback(this,.aTime,. |
193220 | 74 69 6d 65 72 2e 54 59 50 45 5f 4f 4e 45 5f 53 48 4f 54 29 3b 0a 20 20 20 20 20 20 20 20 20 20 | timer.TYPE_ONE_SHOT);........... |
193240 | 72 65 74 75 72 6e 20 74 69 6d 65 72 3b 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 62 6f 64 79 3e | return.timer;.........]]></body> |
193260 | 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 21 2d 2d 20 6e 73 49 | .......</method>........<!--.nsI |
193280 | 54 69 6d 65 72 43 61 6c 6c 62 61 63 6b 20 2d 2d 3e 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 | TimerCallback.-->.......<method. |
1932a0 | 6e 61 6d 65 3d 22 6e 6f 74 69 66 79 22 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 | name="notify">.........<paramete |
1932c0 | 72 20 6e 61 6d 65 3d 22 61 54 69 6d 65 72 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e | r.name="aTimer"/>.........<body> |
1932e0 | 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 46 75 6e 63 74 69 6f 6e 20 | <![CDATA[...........//.Function. |
193300 | 74 6f 20 70 72 6f 63 65 73 73 20 61 6c 6c 20 74 69 6d 65 72 20 6e 6f 74 69 66 69 63 61 74 69 6f | to.process.all.timer.notificatio |
193320 | 6e 73 2e 0a 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 2a 20 54 69 6d 65 72 20 74 6f 20 74 75 72 | ns.............//.*.Timer.to.tur |
193340 | 6e 20 6f 66 66 20 69 6e 64 69 63 61 74 6f 72 20 62 61 72 2e 0a 20 20 20 20 20 20 20 20 20 20 69 | n.off.indicator.bar............i |
193360 | 66 20 28 61 54 69 6d 65 72 20 3d 3d 20 74 68 69 73 2e 5f 69 62 54 69 6d 65 72 29 20 7b 0a 20 20 | f.(aTimer.==.this._ibTimer).{... |
193380 | 20 20 20 20 20 20 20 20 20 20 69 62 20 3d 20 74 68 69 73 2e 5f 64 72 6f 70 49 6e 64 69 63 61 74 | ..........ib.=.this._dropIndicat |
1933a0 | 6f 72 42 61 72 2e 72 65 6d 6f 76 65 41 74 74 72 69 62 75 74 65 28 27 64 72 61 67 67 69 6e 67 27 | orBar.removeAttribute('dragging' |
1933c0 | 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 69 62 54 69 6d 65 72 20 3d 20 6e | );.............this._ibTimer.=.n |
1933e0 | 75 6c 6c 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 2a | ull;...........}............//.* |
193400 | 20 54 69 6d 65 72 20 74 6f 20 6f 70 65 6e 20 61 20 6d 65 6e 75 62 75 74 74 6f 6e 20 74 68 61 74 | .Timer.to.open.a.menubutton.that |
193420 | 27 73 20 62 65 69 6e 67 20 64 72 61 67 67 65 64 20 6f 76 65 72 2e 0a 20 20 20 20 20 20 20 20 20 | 's.being.dragged.over........... |
193440 | 20 69 66 20 28 61 54 69 6d 65 72 20 3d 3d 20 74 68 69 73 2e 5f 6f 76 65 72 46 6f 6c 64 65 72 2e | .if.(aTimer.==.this._overFolder. |
193460 | 6f 70 65 6e 54 69 6d 65 72 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 53 65 74 20 | openTimer).{.............//.Set. |
193480 | 74 68 65 20 61 75 74 6f 6f 70 65 6e 20 61 74 74 72 69 62 75 74 65 20 6f 6e 20 74 68 65 20 66 6f | the.autoopen.attribute.on.the.fo |
1934a0 | 6c 64 65 72 27 73 20 6d 65 6e 75 70 6f 70 75 70 20 73 6f 20 74 68 61 74 0a 20 20 20 20 20 20 20 | lder's.menupopup.so.that........ |
1934c0 | 20 20 20 20 20 2f 2f 20 74 68 65 20 6d 65 6e 75 20 77 69 6c 6c 20 61 75 74 6f 6d 61 74 69 63 61 | .....//.the.menu.will.automatica |
1934e0 | 6c 6c 79 20 63 6c 6f 73 65 20 77 68 65 6e 20 74 68 65 20 6d 6f 75 73 65 20 64 72 61 67 73 20 6f | lly.close.when.the.mouse.drags.o |
193500 | 66 66 20 6f 66 20 69 74 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 6f 76 65 72 | ff.of.it..............this._over |
193520 | 46 6f 6c 64 65 72 2e 6e 6f 64 65 2e 6c 61 73 74 43 68 69 6c 64 2e 73 65 74 41 74 74 72 69 62 75 | Folder.node.lastChild.setAttribu |
193540 | 74 65 28 22 61 75 74 6f 6f 70 65 6e 65 64 22 2c 20 22 74 72 75 65 22 29 3b 0a 20 20 20 20 20 20 | te("autoopened",."true");....... |
193560 | 20 20 20 20 20 20 74 68 69 73 2e 5f 6f 76 65 72 46 6f 6c 64 65 72 2e 6e 6f 64 65 2e 6f 70 65 6e | ......this._overFolder.node.open |
193580 | 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 6f 76 65 72 46 | .=.true;.............this._overF |
1935a0 | 6f 6c 64 65 72 2e 6f 70 65 6e 54 69 6d 65 72 20 3d 20 6e 75 6c 6c 3b 0a 20 20 20 20 20 20 20 20 | older.openTimer.=.null;......... |
1935c0 | 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 2a 20 54 69 6d 65 72 20 74 6f 20 63 6c 6f | ..}............//.*.Timer.to.clo |
1935e0 | 73 65 20 61 20 6d 65 6e 75 62 75 74 74 6f 6e 20 74 68 61 74 27 73 20 62 65 65 6e 20 64 72 61 67 | se.a.menubutton.that's.been.drag |
193600 | 67 65 64 20 6f 66 66 20 6f 66 2e 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 61 54 69 6d 65 72 | ged.off.of............if.(aTimer |
193620 | 20 3d 3d 20 74 68 69 73 2e 5f 6f 76 65 72 46 6f 6c 64 65 72 2e 63 6c 6f 73 65 54 69 6d 65 72 29 | .==.this._overFolder.closeTimer) |
193640 | 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 4f 6e 6c 79 20 63 6c 6f 73 65 20 74 68 65 | .{.............//.Only.close.the |
193660 | 20 6d 65 6e 75 62 75 74 74 6f 6e 20 69 66 20 74 68 65 20 64 72 61 67 20 73 65 73 73 69 6f 6e 20 | .menubutton.if.the.drag.session. |
193680 | 69 73 6e 27 74 20 63 75 72 72 65 6e 74 6c 79 20 6f 76 65 72 0a 20 20 20 20 20 20 20 20 20 20 20 | isn't.currently.over............ |
1936a0 | 20 2f 2f 20 69 74 20 6f 72 20 6f 6e 65 20 6f 66 20 69 74 73 20 63 68 69 6c 64 72 65 6e 2e 20 20 | .//.it.or.one.of.its.children... |
1936c0 | 28 54 68 65 20 61 75 74 6f 6f 70 65 6e 65 64 20 61 74 74 72 69 62 75 74 65 20 77 69 6c 6c 20 6c | (The.autoopened.attribute.will.l |
1936e0 | 65 74 20 74 68 65 20 6d 65 6e 75 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 6b 6e 6f 77 20 | et.the.menu.............//.know. |
193700 | 74 6f 20 63 6c 6f 73 65 20 6c 61 74 65 72 20 69 66 20 74 68 65 20 6d 65 6e 75 20 69 73 20 73 74 | to.close.later.if.the.menu.is.st |
193720 | 69 6c 6c 20 62 65 69 6e 67 20 64 72 61 67 67 65 64 20 6f 76 65 72 2e 29 0a 20 20 20 20 20 20 20 | ill.being.dragged.over.)........ |
193740 | 20 20 20 20 20 76 61 72 20 63 75 72 72 65 6e 74 4e 6f 64 65 20 3d 20 50 6c 61 63 65 73 43 6f 6e | .....var.currentNode.=.PlacesCon |
193760 | 74 72 6f 6c 6c 65 72 44 72 61 67 48 65 6c 70 65 72 2e 63 75 72 72 65 6e 74 44 72 6f 70 54 61 72 | trollerDragHelper.currentDropTar |
193780 | 67 65 74 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 69 6e 48 69 65 72 61 72 63 68 79 | get;.............var.inHierarchy |
1937a0 | 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 77 68 69 6c 65 20 28 63 75 72 | .=.false;.............while.(cur |
1937c0 | 72 65 6e 74 4e 6f 64 65 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 63 75 | rentNode).{...............if.(cu |
1937e0 | 72 72 65 6e 74 4e 6f 64 65 20 3d 3d 20 74 68 69 73 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 | rrentNode.==.this).{............ |
193800 | 20 20 20 20 20 69 6e 48 69 65 72 61 72 63 68 79 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 | .....inHierarchy.=.true;........ |
193820 | 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a | .........break;...............}. |
193840 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 75 72 72 65 6e 74 4e 6f 64 65 20 3d 20 63 75 72 72 | ..............currentNode.=.curr |
193860 | 65 6e 74 4e 6f 64 65 2e 70 61 72 65 6e 74 4e 6f 64 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 | entNode.parentNode;............. |
193880 | 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 54 68 65 20 5f 63 6c 65 61 72 4f 76 65 72 46 | }.............//.The._clearOverF |
1938a0 | 6f 6c 64 65 72 28 29 20 66 75 6e 63 74 69 6f 6e 20 77 69 6c 6c 20 63 6c 6f 73 65 20 74 68 65 20 | older().function.will.close.the. |
1938c0 | 6d 65 6e 75 20 66 6f 72 20 5f 6f 76 65 72 46 6f 6c 64 65 72 2e 6e 6f 64 65 2e 0a 20 20 20 20 20 | menu.for._overFolder.node....... |
1938e0 | 20 20 20 20 20 20 20 2f 2f 20 53 6f 20 6e 75 6c 6c 20 69 74 20 6f 75 74 20 69 66 20 77 65 20 64 | .......//.So.null.it.out.if.we.d |
193900 | 6f 6e 27 74 20 77 61 6e 74 20 74 6f 20 63 6c 6f 73 65 20 69 74 2e 0a 20 20 20 20 20 20 20 20 20 | on't.want.to.close.it........... |
193920 | 20 20 20 69 66 20 28 69 6e 48 69 65 72 61 72 63 68 79 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ...if.(inHierarchy)............. |
193940 | 20 20 74 68 69 73 2e 5f 6f 76 65 72 46 6f 6c 64 65 72 2e 6e 6f 64 65 20 3d 20 6e 75 6c 6c 3b 0a | ..this._overFolder.node.=.null;. |
193960 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 43 6c 65 61 72 20 6f 75 74 20 74 68 65 20 66 6f | .............//.Clear.out.the.fo |
193980 | 6c 64 65 72 20 61 6e 64 20 61 6c 6c 20 61 73 73 6f 63 69 61 74 65 64 20 74 69 6d 65 72 73 2e 0a | lder.and.all.associated.timers.. |
1939a0 | 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 63 6c 65 61 72 4f 76 65 72 46 6f 6c 64 65 | ............this._clearOverFolde |
1939c0 | 72 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 62 6f | r();...........}.........]]></bo |
1939e0 | 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 20 20 20 20 3c 2f 69 6d 70 6c 65 6d | dy>.......</method>.....</implem |
193a00 | 65 6e 74 61 74 69 6f 6e 3e 0a 0a 20 20 20 20 3c 68 61 6e 64 6c 65 72 73 3e 0a 20 20 20 20 20 20 | entation>......<handlers>....... |
193a20 | 3c 68 61 6e 64 6c 65 72 20 65 76 65 6e 74 3d 22 6d 6f 75 73 65 6f 76 65 72 22 3e 3c 21 5b 43 44 | <handler.event="mouseover"><![CD |
193a40 | 41 54 41 5b 0a 20 20 20 20 20 20 20 20 76 61 72 20 62 75 74 74 6f 6e 20 3d 20 65 76 65 6e 74 2e | ATA[.........var.button.=.event. |
193a60 | 74 61 72 67 65 74 3b 0a 20 20 20 20 20 20 20 20 69 66 20 28 62 75 74 74 6f 6e 2e 70 61 72 65 6e | target;.........if.(button.paren |
193a80 | 74 4e 6f 64 65 20 3d 3d 20 74 68 69 73 20 26 26 20 62 75 74 74 6f 6e 2e 6e 6f 64 65 20 26 26 0a | tNode.==.this.&&.button.node.&&. |
193aa0 | 20 20 20 20 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 55 52 | ............PlacesUtils.nodeIsUR |
193ac0 | 49 28 62 75 74 74 6f 6e 2e 6e 6f 64 65 29 29 0a 20 20 20 20 20 20 20 20 20 20 77 69 6e 64 6f 77 | I(button.node))...........window |
193ae0 | 2e 58 55 4c 42 72 6f 77 73 65 72 57 69 6e 64 6f 77 2e 73 65 74 4f 76 65 72 4c 69 6e 6b 28 65 76 | .XULBrowserWindow.setOverLink(ev |
193b00 | 65 6e 74 2e 74 61 72 67 65 74 2e 6e 6f 64 65 2e 75 72 69 2c 20 6e 75 6c 6c 29 3b 0a 20 20 20 20 | ent.target.node.uri,.null);..... |
193b20 | 20 20 5d 5d 3e 3c 2f 68 61 6e 64 6c 65 72 3e 0a 0a 20 20 20 20 20 20 3c 68 61 6e 64 6c 65 72 20 | ..]]></handler>........<handler. |
193b40 | 65 76 65 6e 74 3d 22 6d 6f 75 73 65 6f 75 74 22 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 | event="mouseout"><![CDATA[...... |
193b60 | 20 20 20 77 69 6e 64 6f 77 2e 58 55 4c 42 72 6f 77 73 65 72 57 69 6e 64 6f 77 2e 73 65 74 4f 76 | ...window.XULBrowserWindow.setOv |
193b80 | 65 72 4c 69 6e 6b 28 22 22 2c 20 6e 75 6c 6c 29 3b 0a 20 20 20 20 20 20 5d 5d 3e 3c 2f 68 61 6e | erLink("",.null);.......]]></han |
193ba0 | 64 6c 65 72 3e 0a 0a 20 20 20 20 20 20 3c 68 61 6e 64 6c 65 72 20 65 76 65 6e 74 3d 22 64 72 61 | dler>........<handler.event="dra |
193bc0 | 67 73 74 61 72 74 22 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 2f 2f 20 73 75 62 | gstart"><![CDATA[.........//.sub |
193be0 | 20 6d 65 6e 75 73 20 68 61 76 65 20 74 68 65 69 72 20 6f 77 6e 20 64 26 64 20 68 61 6e 64 6c 65 | .menus.have.their.own.d&d.handle |
193c00 | 72 73 0a 20 20 20 20 20 20 20 20 76 61 72 20 64 72 61 67 67 65 64 44 4f 4d 4e 6f 64 65 20 3d 20 | rs.........var.draggedDOMNode.=. |
193c20 | 65 76 65 6e 74 2e 74 61 72 67 65 74 3b 0a 20 20 20 20 20 20 20 20 69 66 20 28 64 72 61 67 67 65 | event.target;.........if.(dragge |
193c40 | 64 44 4f 4d 4e 6f 64 65 2e 70 61 72 65 6e 74 4e 6f 64 65 20 21 3d 20 74 68 69 73 20 7c 7c 20 21 | dDOMNode.parentNode.!=.this.||.! |
193c60 | 64 72 61 67 67 65 64 44 4f 4d 4e 6f 64 65 2e 6e 6f 64 65 29 0a 20 20 20 20 20 20 20 20 20 20 72 | draggedDOMNode.node)...........r |
193c80 | 65 74 75 72 6e 3b 0a 0a 20 20 20 20 20 20 20 20 69 66 20 28 64 72 61 67 67 65 64 44 4f 4d 4e 6f | eturn;..........if.(draggedDOMNo |
193ca0 | 64 65 2e 6c 6f 63 61 6c 4e 61 6d 65 20 3d 3d 20 22 74 6f 6f 6c 62 61 72 62 75 74 74 6f 6e 22 20 | de.localName.==."toolbarbutton". |
193cc0 | 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 64 72 61 67 67 65 64 44 4f 4d 4e 6f 64 65 2e 67 65 | &&.............draggedDOMNode.ge |
193ce0 | 74 41 74 74 72 69 62 75 74 65 28 22 74 79 70 65 22 29 20 3d 3d 20 22 6d 65 6e 75 22 29 20 7b 0a | tAttribute("type").==."menu").{. |
193d00 | 20 20 20 20 20 20 20 20 20 20 2f 2f 20 49 66 20 74 68 65 20 64 72 61 67 20 67 65 73 74 75 72 65 | ..........//.If.the.drag.gesture |
193d20 | 20 6f 6e 20 61 20 63 6f 6e 74 61 69 6e 65 72 20 69 73 20 74 6f 77 61 72 64 20 64 6f 77 6e 20 77 | .on.a.container.is.toward.down.w |
193d40 | 65 20 6f 70 65 6e 20 69 6e 73 74 65 61 64 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 6f 66 20 64 | e.open.instead...........//.of.d |
193d60 | 72 61 67 67 69 6e 67 2e 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 6d 6f 75 | ragging............if.(this._mou |
193d80 | 73 65 44 6f 77 6e 54 69 6d 65 72 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e | seDownTimer).{.............this. |
193da0 | 5f 6d 6f 75 73 65 44 6f 77 6e 54 69 6d 65 72 2e 63 61 6e 63 65 6c 28 29 3b 0a 20 20 20 20 20 20 | _mouseDownTimer.cancel();....... |
193dc0 | 20 20 20 20 20 20 74 68 69 73 2e 5f 6d 6f 75 73 65 44 6f 77 6e 54 69 6d 65 72 20 3d 20 6e 75 6c | ......this._mouseDownTimer.=.nul |
193de0 | 6c 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 74 72 61 | l;...........}...........var.tra |
193e00 | 6e 73 6c 61 74 65 59 20 3d 20 74 68 69 73 2e 5f 63 61 63 68 65 64 4d 6f 75 73 65 4d 6f 76 65 45 | nslateY.=.this._cachedMouseMoveE |
193e20 | 76 65 6e 74 2e 63 6c 69 65 6e 74 59 20 2d 20 65 76 65 6e 74 2e 63 6c 69 65 6e 74 59 3b 0a 20 20 | vent.clientY.-.event.clientY;... |
193e40 | 20 20 20 20 20 20 20 20 76 61 72 20 74 72 61 6e 73 6c 61 74 65 58 20 3d 20 74 68 69 73 2e 5f 63 | ........var.translateX.=.this._c |
193e60 | 61 63 68 65 64 4d 6f 75 73 65 4d 6f 76 65 45 76 65 6e 74 2e 63 6c 69 65 6e 74 58 20 2d 20 65 76 | achedMouseMoveEvent.clientX.-.ev |
193e80 | 65 6e 74 2e 63 6c 69 65 6e 74 58 3b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 28 74 72 61 6e | ent.clientX;...........if.((tran |
193ea0 | 73 6c 61 74 65 59 29 20 3e 3d 20 4d 61 74 68 2e 61 62 73 28 74 72 61 6e 73 6c 61 74 65 58 2f 32 | slateY).>=.Math.abs(translateX/2 |
193ec0 | 29 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 44 6f 6e 27 74 20 73 74 61 72 74 20 | )).{.............//.Don't.start. |
193ee0 | 74 68 65 20 64 72 61 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 65 76 65 6e 74 2e 70 72 65 76 65 | the.drag.............event.preve |
193f00 | 6e 74 44 65 66 61 75 6c 74 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 4f 70 65 6e | ntDefault();.............//.Open |
193f20 | 20 74 68 65 20 6d 65 6e 75 0a 20 20 20 20 20 20 20 20 20 20 20 20 64 72 61 67 67 65 64 44 4f 4d | .the.menu.............draggedDOM |
193f40 | 4e 6f 64 65 2e 6f 70 65 6e 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 | Node.open.=.true;.............re |
193f60 | 74 75 72 6e 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 69 | turn;...........}...........//.i |
193f80 | 66 20 74 68 65 20 6d 65 6e 75 20 69 73 20 6f 70 65 6e 2c 20 63 6c 6f 73 65 20 69 74 0a 20 20 20 | f.the.menu.is.open,.close.it.... |
193fa0 | 20 20 20 20 20 20 20 69 66 20 28 64 72 61 67 67 65 64 44 4f 4d 4e 6f 64 65 2e 6f 70 65 6e 29 20 | .......if.(draggedDOMNode.open). |
193fc0 | 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 64 72 61 67 67 65 64 44 4f 4d 4e 6f 64 65 2e 66 69 72 | {.............draggedDOMNode.fir |
193fe0 | 73 74 43 68 69 6c 64 2e 68 69 64 65 50 6f 70 75 70 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 | stChild.hidePopup();............ |
194000 | 20 64 72 61 67 67 65 64 44 4f 4d 4e 6f 64 65 2e 6f 70 65 6e 20 3d 20 66 61 6c 73 65 3b 0a 20 20 | .draggedDOMNode.open.=.false;... |
194020 | 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 2f 2f 20 | ........}.........}..........//. |
194040 | 61 63 74 69 76 61 74 65 20 74 68 65 20 76 69 65 77 20 61 6e 64 20 63 61 63 68 65 20 74 68 65 20 | activate.the.view.and.cache.the. |
194060 | 64 72 61 67 67 65 64 20 6e 6f 64 65 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 64 72 61 67 67 | dragged.node.........this._dragg |
194080 | 65 64 4e 6f 64 65 20 3d 20 64 72 61 67 67 65 64 44 4f 4d 4e 6f 64 65 2e 6e 6f 64 65 3b 0a 20 20 | edNode.=.draggedDOMNode.node;... |
1940a0 | 20 20 20 20 20 20 74 68 69 73 2e 66 6f 63 75 73 28 29 3b 0a 0a 20 20 20 20 20 20 20 20 74 68 69 | ......this.focus();..........thi |
1940c0 | 73 2e 5f 63 6f 6e 74 72 6f 6c 6c 65 72 2e 73 65 74 44 61 74 61 54 72 61 6e 73 66 65 72 28 65 76 | s._controller.setDataTransfer(ev |
1940e0 | 65 6e 74 29 3b 0a 20 20 20 20 20 20 20 20 65 76 65 6e 74 2e 73 74 6f 70 50 72 6f 70 61 67 61 74 | ent);.........event.stopPropagat |
194100 | 69 6f 6e 28 29 3b 0a 20 20 20 20 20 20 5d 5d 3e 3c 2f 68 61 6e 64 6c 65 72 3e 0a 0a 20 20 20 20 | ion();.......]]></handler>...... |
194120 | 20 20 3c 68 61 6e 64 6c 65 72 20 65 76 65 6e 74 3d 22 64 72 61 67 6f 76 65 72 22 3e 3c 21 5b 43 | ..<handler.event="dragover"><![C |
194140 | 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 2f 2f 20 43 61 63 68 65 20 74 68 65 20 64 61 74 61 54 | DATA[.........//.Cache.the.dataT |
194160 | 72 61 6e 73 66 65 72 0a 20 20 20 20 20 20 20 20 76 61 72 20 64 74 20 3d 20 50 6c 61 63 65 73 43 | ransfer.........var.dt.=.PlacesC |
194180 | 6f 6e 74 72 6f 6c 6c 65 72 44 72 61 67 48 65 6c 70 65 72 2e 63 75 72 72 65 6e 74 44 61 74 61 54 | ontrollerDragHelper.currentDataT |
1941a0 | 72 61 6e 73 66 65 72 20 3d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 76 65 6e 74 | ransfer.=..................event |
1941c0 | 2e 64 61 74 61 54 72 61 6e 73 66 65 72 3b 0a 0a 20 20 20 20 20 20 20 20 76 61 72 20 69 62 20 3d | .dataTransfer;..........var.ib.= |
1941e0 | 20 74 68 69 73 2e 5f 64 72 6f 70 49 6e 64 69 63 61 74 6f 72 42 61 72 3b 0a 20 20 20 20 20 20 20 | .this._dropIndicatorBar;........ |
194200 | 20 76 61 72 20 69 70 20 3d 20 74 68 69 73 2e 69 6e 73 65 72 74 69 6f 6e 50 6f 69 6e 74 3b 0a 20 | .var.ip.=.this.insertionPoint;.. |
194220 | 20 20 20 20 20 20 20 69 66 20 28 21 69 70 20 7c 7c 20 21 50 6c 61 63 65 73 43 6f 6e 74 72 6f 6c | .......if.(!ip.||.!PlacesControl |
194240 | 6c 65 72 44 72 61 67 48 65 6c 70 65 72 2e 63 61 6e 44 72 6f 70 28 69 70 29 29 20 7b 0a 20 20 20 | lerDragHelper.canDrop(ip)).{.... |
194260 | 20 20 20 20 20 20 20 69 62 2e 72 65 6d 6f 76 65 41 74 74 72 69 62 75 74 65 28 22 64 72 61 67 67 | .......ib.removeAttribute("dragg |
194280 | 69 6e 67 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 43 6f 6e 74 72 6f 6c 6c 65 | ing");...........PlacesControlle |
1942a0 | 72 44 72 61 67 48 65 6c 70 65 72 2e 63 75 72 72 65 6e 74 44 61 74 61 54 72 61 6e 73 66 65 72 20 | rDragHelper.currentDataTransfer. |
1942c0 | 3d 20 6e 75 6c 6c 3b 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 20 20 20 20 | =.null;...........return;....... |
1942e0 | 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 43 6f 6e 74 72 6f 6c 6c 65 72 44 72 61 | ..}..........PlacesControllerDra |
194300 | 67 48 65 6c 70 65 72 2e 63 75 72 72 65 6e 74 44 72 6f 70 54 61 72 67 65 74 20 3d 20 65 76 65 6e | gHelper.currentDropTarget.=.even |
194320 | 74 2e 74 61 72 67 65 74 3b 0a 20 20 20 20 20 20 20 20 76 61 72 20 64 72 6f 70 50 6f 69 6e 74 20 | t.target;.........var.dropPoint. |
194340 | 3d 20 74 68 69 73 2e 5f 67 65 74 44 72 6f 70 50 6f 69 6e 74 28 65 76 65 6e 74 29 3b 0a 0a 20 20 | =.this._getDropPoint(event);.... |
194360 | 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 69 62 54 69 6d 65 72 29 20 7b 0a 20 20 20 20 20 | ......if.(this._ibTimer).{...... |
194380 | 20 20 20 20 20 74 68 69 73 2e 5f 69 62 54 69 6d 65 72 2e 63 61 6e 63 65 6c 28 29 3b 0a 20 20 20 | .....this._ibTimer.cancel();.... |
1943a0 | 20 20 20 20 20 20 20 74 68 69 73 2e 5f 69 62 54 69 6d 65 72 20 3d 20 6e 75 6c 6c 3b 0a 20 20 20 | .......this._ibTimer.=.null;.... |
1943c0 | 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 69 66 20 28 64 72 6f 70 50 6f 69 6e 74 2e 66 6f | .....}..........if.(dropPoint.fo |
1943e0 | 6c 64 65 72 4e 6f 64 65 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 65 76 65 6e 74 2e 6f 72 | lderNode.||.............event.or |
194400 | 69 67 69 6e 61 6c 54 61 72 67 65 74 20 3d 3d 20 74 68 69 73 2e 5f 63 68 65 76 72 6f 6e 29 20 7b | iginalTarget.==.this._chevron).{ |
194420 | 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 44 72 6f 70 70 69 6e 67 20 6f 76 65 72 20 61 20 6d 65 | ...........//.Dropping.over.a.me |
194440 | 6e 75 62 75 74 74 6f 6e 20 6f 72 20 63 68 65 76 72 6f 6e 20 62 75 74 74 6f 6e 0a 20 20 20 20 20 | nubutton.or.chevron.button...... |
194460 | 20 20 20 20 20 2f 2f 20 73 65 74 20 73 74 79 6c 65 73 20 61 6e 64 20 74 69 6d 65 72 20 74 6f 20 | .....//.set.styles.and.timer.to. |
194480 | 6f 70 65 6e 20 72 65 6c 61 74 69 76 65 20 6d 65 6e 75 70 6f 70 75 70 0a 20 20 20 20 20 20 20 20 | open.relative.menupopup......... |
1944a0 | 20 20 76 61 72 20 6f 76 65 72 4e 6f 64 65 20 3d 20 64 72 6f 70 50 6f 69 6e 74 2e 66 6f 6c 64 65 | ..var.overNode.=.dropPoint.folde |
1944c0 | 72 4e 6f 64 65 20 7c 7c 20 74 68 69 73 2e 5f 63 68 65 76 72 6f 6e 3b 0a 20 20 20 20 20 20 20 20 | rNode.||.this._chevron;......... |
1944e0 | 20 20 69 66 20 28 74 68 69 73 2e 5f 6f 76 65 72 46 6f 6c 64 65 72 2e 6e 6f 64 65 20 21 3d 20 6f | ..if.(this._overFolder.node.!=.o |
194500 | 76 65 72 4e 6f 64 65 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 63 6c 65 | verNode).{.............this._cle |
194520 | 61 72 4f 76 65 72 46 6f 6c 64 65 72 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 | arOverFolder();.............this |
194540 | 2e 5f 6f 76 65 72 46 6f 6c 64 65 72 2e 6e 6f 64 65 20 3d 20 6f 76 65 72 4e 6f 64 65 3b 0a 20 20 | ._overFolder.node.=.overNode;... |
194560 | 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 6f 76 65 72 46 6f 6c 64 65 72 2e 6f 70 65 6e 54 | ..........this._overFolder.openT |
194580 | 69 6d 65 72 20 3d 20 74 68 69 73 2e 5f 73 65 74 54 69 6d 65 72 28 74 68 69 73 2e 5f 6f 76 65 72 | imer.=.this._setTimer(this._over |
1945a0 | 46 6f 6c 64 65 72 2e 68 6f 76 65 72 54 69 6d 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 | Folder.hoverTime);...........}.. |
1945c0 | 20 20 20 20 20 20 20 20 20 69 66 20 28 21 74 68 69 73 2e 5f 6f 76 65 72 46 6f 6c 64 65 72 2e 6e | .........if.(!this._overFolder.n |
1945e0 | 6f 64 65 2e 68 61 73 41 74 74 72 69 62 75 74 65 28 22 64 72 61 67 6f 76 65 72 22 29 29 0a 20 20 | ode.hasAttribute("dragover"))... |
194600 | 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 6f 76 65 72 46 6f 6c 64 65 72 2e 6e 6f 64 65 2e | ..........this._overFolder.node. |
194620 | 73 65 74 41 74 74 72 69 62 75 74 65 28 22 64 72 61 67 6f 76 65 72 22 2c 20 22 74 72 75 65 22 29 | setAttribute("dragover",."true") |
194640 | 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 69 62 2e 72 65 6d 6f 76 65 41 74 74 72 69 62 75 74 65 28 | ;............ib.removeAttribute( |
194660 | 22 64 72 61 67 67 69 6e 67 22 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 65 | "dragging");.........}.........e |
194680 | 6c 73 65 20 7b 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 44 72 61 67 67 69 6e 67 20 6f 76 65 72 | lse.{...........//.Dragging.over |
1946a0 | 20 61 20 6e 6f 72 6d 61 6c 20 74 6f 6f 6c 62 61 72 62 75 74 74 6f 6e 2c 0a 20 20 20 20 20 20 20 | .a.normal.toolbarbutton,........ |
1946c0 | 20 20 20 2f 2f 20 73 68 6f 77 20 69 6e 64 69 63 61 74 6f 72 20 62 61 72 20 61 6e 64 20 6d 6f 76 | ...//.show.indicator.bar.and.mov |
1946e0 | 65 20 69 74 20 74 6f 20 74 68 65 20 61 70 70 72 6f 70 72 69 61 74 65 20 64 72 6f 70 20 70 6f 69 | e.it.to.the.appropriate.drop.poi |
194700 | 6e 74 2e 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 69 62 2e 68 61 73 41 74 74 72 69 62 75 | nt............if.(!ib.hasAttribu |
194720 | 74 65 28 22 64 72 61 67 67 69 6e 67 22 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 62 2e 73 | te("dragging")).............ib.s |
194740 | 65 74 41 74 74 72 69 62 75 74 65 28 22 64 72 61 67 67 69 6e 67 22 2c 20 22 74 72 75 65 22 29 3b | etAttribute("dragging",."true"); |
194760 | 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 69 6e 64 20 3d 20 69 62 2e 66 69 72 73 74 43 68 69 | ...........var.ind.=.ib.firstChi |
194780 | 6c 64 3b 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 68 61 6c 66 49 6e 64 20 3d 20 69 6e 64 2e | ld;...........var.halfInd.=.ind. |
1947a0 | 62 6f 78 4f 62 6a 65 63 74 2e 77 69 64 74 68 20 2f 20 32 3b 0a 20 20 20 20 20 20 20 20 20 20 76 | boxObject.width./.2;...........v |
1947c0 | 61 72 20 64 69 72 65 63 74 69 6f 6e 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 64 65 66 61 75 6c 74 56 | ar.direction.=.document.defaultV |
1947e0 | 69 65 77 2e 67 65 74 43 6f 6d 70 75 74 65 64 53 74 79 6c 65 28 74 68 69 73 2e 70 61 72 65 6e 74 | iew.getComputedStyle(this.parent |
194800 | 4e 6f 64 65 2c 20 22 22 29 2e 64 69 72 65 63 74 69 6f 6e 3b 0a 20 20 20 20 20 20 20 20 20 20 69 | Node,."").direction;...........i |
194820 | 66 20 28 64 69 72 65 63 74 69 6f 6e 20 3d 3d 20 22 6c 74 72 22 29 20 7b 0a 20 20 20 20 20 20 20 | f.(direction.==."ltr").{........ |
194840 | 20 20 20 20 20 68 61 6c 66 49 6e 64 20 3d 20 4d 61 74 68 2e 63 65 69 6c 28 68 61 6c 66 49 6e 64 | .....halfInd.=.Math.ceil(halfInd |
194860 | 29 3b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 74 68 69 73 2e 63 68 69 6c 64 4e 6f 64 65 | );...........if.(!this.childNode |
194880 | 73 2e 6c 65 6e 67 74 68 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 64 2e 73 74 79 6c 65 2e | s.length).............ind.style. |
1948a0 | 6d 61 72 67 69 6e 4c 65 66 74 20 3d 20 30 20 2d 20 74 68 69 73 2e 62 6f 78 4f 62 6a 65 63 74 2e | marginLeft.=.0.-.this.boxObject. |
1948c0 | 78 20 2d 20 68 61 6c 66 49 6e 64 20 2b 20 27 70 78 27 0a 20 20 20 20 20 20 20 20 20 20 65 6c 73 | x.-.halfInd.+.'px'...........els |
1948e0 | 65 20 69 66 20 28 64 72 6f 70 50 6f 69 6e 74 2e 62 65 66 6f 72 65 49 6e 64 65 78 20 3d 3d 20 2d | e.if.(dropPoint.beforeIndex.==.- |
194900 | 31 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 64 2e 73 74 79 6c 65 2e 6d 61 72 67 69 6e 4c | 1).............ind.style.marginL |
194920 | 65 66 74 20 3d 20 74 68 69 73 2e 6c 61 73 74 43 68 69 6c 64 2e 62 6f 78 4f 62 6a 65 63 74 2e 78 | eft.=.this.lastChild.boxObject.x |
194940 | 20 2b 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .+.............................. |
194960 | 20 20 20 20 20 20 20 74 68 69 73 2e 6c 61 73 74 43 68 69 6c 64 2e 62 6f 78 4f 62 6a 65 63 74 2e | .......this.lastChild.boxObject. |
194980 | 77 69 64 74 68 20 2d 20 74 68 69 73 2e 62 6f 78 4f 62 6a 65 63 74 2e 78 20 2d 20 68 61 6c 66 49 | width.-.this.boxObject.x.-.halfI |
1949a0 | 6e 64 20 2b 20 27 70 78 27 3b 0a 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 | nd.+.'px';...........else....... |
1949c0 | 20 20 20 20 20 20 69 6e 64 2e 73 74 79 6c 65 2e 6d 61 72 67 69 6e 4c 65 66 74 20 3d 20 74 68 69 | ......ind.style.marginLeft.=.thi |
1949e0 | 73 2e 63 68 69 6c 64 4e 6f 64 65 73 5b 64 72 6f 70 50 6f 69 6e 74 2e 62 65 66 6f 72 65 49 6e 64 | s.childNodes[dropPoint.beforeInd |
194a00 | 65 78 5d 2e 62 6f 78 4f 62 6a 65 63 74 2e 78 20 2d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ex].boxObject.x.-............... |
194a20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 62 6f 78 4f 62 6a | .....................this.boxObj |
194a40 | 65 63 74 2e 78 20 2d 20 68 61 6c 66 49 6e 64 20 2b 20 27 70 78 27 3b 0a 20 20 20 20 20 20 20 20 | ect.x.-.halfInd.+.'px';......... |
194a60 | 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 | ..}...........else.{............ |
194a80 | 20 68 61 6c 66 49 6e 64 20 3d 20 4d 61 74 68 2e 66 6c 6f 6f 72 28 68 61 6c 66 49 6e 64 29 3b 0a | .halfInd.=.Math.floor(halfInd);. |
194aa0 | 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 63 68 69 6c 64 4e 6f 64 65 73 2e | ............if.(this.childNodes. |
194ac0 | 6c 65 6e 67 74 68 20 3d 3d 20 30 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 64 2e 73 | length.==.0)...............ind.s |
194ae0 | 74 79 6c 65 2e 6d 61 72 67 69 6e 52 69 67 68 74 20 3d 20 74 68 69 73 2e 62 6f 78 4f 62 6a 65 63 | tyle.marginRight.=.this.boxObjec |
194b00 | 74 2e 77 69 64 74 68 20 2b 20 27 70 78 27 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 | t.width.+.'px';.............else |
194b20 | 20 69 66 20 28 64 72 6f 70 50 6f 69 6e 74 2e 62 65 66 6f 72 65 49 6e 64 65 78 20 3d 3d 20 2d 31 | .if.(dropPoint.beforeIndex.==.-1 |
194b40 | 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 64 2e 73 74 79 6c 65 2e 6d 61 72 67 | ).{...............ind.style.marg |
194b60 | 69 6e 52 69 67 68 74 20 3d 20 74 68 69 73 2e 62 6f 78 4f 62 6a 65 63 74 2e 77 69 64 74 68 20 2d | inRight.=.this.boxObject.width.- |
194b80 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
194ba0 | 20 20 20 20 20 20 20 28 74 68 69 73 2e 63 68 69 6c 64 4e 6f 64 65 73 5b 74 68 69 73 2e 63 68 69 | .......(this.childNodes[this.chi |
194bc0 | 6c 64 4e 6f 64 65 73 2e 6c 65 6e 67 74 68 20 2d 20 31 5d 2e 62 6f 78 4f 62 6a 65 63 74 2e 78 20 | ldNodes.length.-.1].boxObject.x. |
194be0 | 2b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | +............................... |
194c00 | 20 20 20 20 20 20 20 20 68 61 6c 66 49 6e 64 29 20 2b 27 70 78 27 3b 0a 20 20 20 20 20 20 20 20 | ........halfInd).+'px';......... |
194c20 | 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 20 | ....}.............else.{........ |
194c40 | 20 20 20 20 20 20 20 69 6e 64 2e 73 74 79 6c 65 2e 6d 61 72 67 69 6e 52 69 67 68 74 20 3d 20 74 | .......ind.style.marginRight.=.t |
194c60 | 68 69 73 2e 62 6f 78 4f 62 6a 65 63 74 2e 77 69 64 74 68 20 2d 0a 20 20 20 20 20 20 20 20 20 20 | his.boxObject.width.-........... |
194c80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 74 68 69 | ............................(thi |
194ca0 | 73 2e 63 68 69 6c 64 4e 6f 64 65 73 5b 64 72 6f 70 50 6f 69 6e 74 2e 62 65 66 6f 72 65 49 6e 64 | s.childNodes[dropPoint.beforeInd |
194cc0 | 65 78 5d 2e 62 6f 78 4f 62 6a 65 63 74 2e 78 20 2b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ex].boxObject.x.+............... |
194ce0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 63 68 | .........................this.ch |
194d00 | 69 6c 64 4e 6f 64 65 73 5b 64 72 6f 70 50 6f 69 6e 74 2e 62 65 66 6f 72 65 49 6e 64 65 78 5d 2e | ildNodes[dropPoint.beforeIndex]. |
194d20 | 62 6f 78 4f 62 6a 65 63 74 2e 77 69 64 74 68 20 2d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | boxObject.width.-............... |
194d40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 62 6f 78 | ........................this.box |
194d60 | 4f 62 6a 65 63 74 2e 78 20 2b 20 68 61 6c 66 49 6e 64 29 20 2b 20 27 70 78 27 3b 0a 20 20 20 20 | Object.x.+.halfInd).+.'px';..... |
194d80 | 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 | ........}...........}........... |
194da0 | 2f 2f 20 43 6c 65 61 72 20 6f 75 74 20 6f 6c 64 20 66 6f 6c 64 65 72 20 69 6e 66 6f 72 6d 61 74 | //.Clear.out.old.folder.informat |
194dc0 | 69 6f 6e 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 63 6c 65 61 72 4f 76 65 72 46 6f 6c | ion...........this._clearOverFol |
194de0 | 64 65 72 28 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 64 74 2e 65 66 66 | der();.........}..........dt.eff |
194e00 | 65 63 74 41 6c 6c 6f 77 65 64 20 3d 20 22 61 6c 6c 22 3b 0a 20 20 20 20 20 20 20 20 65 76 65 6e | ectAllowed.=."all";.........even |
194e20 | 74 2e 70 72 65 76 65 6e 74 44 65 66 61 75 6c 74 28 29 3b 0a 20 20 20 20 20 20 20 20 65 76 65 6e | t.preventDefault();.........even |
194e40 | 74 2e 73 74 6f 70 50 72 6f 70 61 67 61 74 69 6f 6e 28 29 3b 0a 20 20 20 20 20 20 5d 5d 3e 3c 2f | t.stopPropagation();.......]]></ |
194e60 | 68 61 6e 64 6c 65 72 3e 0a 0a 20 20 20 20 20 20 3c 68 61 6e 64 6c 65 72 20 65 76 65 6e 74 3d 22 | handler>........<handler.event=" |
194e80 | 64 72 6f 70 22 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 43 6f | drop"><![CDATA[.........PlacesCo |
194ea0 | 6e 74 72 6f 6c 6c 65 72 44 72 61 67 48 65 6c 70 65 72 2e 63 75 72 72 65 6e 74 44 61 74 61 54 72 | ntrollerDragHelper.currentDataTr |
194ec0 | 61 6e 73 66 65 72 20 3d 20 65 76 65 6e 74 2e 64 61 74 61 54 72 61 6e 73 66 65 72 3b 0a 20 20 20 | ansfer.=.event.dataTransfer;.... |
194ee0 | 20 20 20 20 20 50 6c 61 63 65 73 43 6f 6e 74 72 6f 6c 6c 65 72 44 72 61 67 48 65 6c 70 65 72 2e | .....PlacesControllerDragHelper. |
194f00 | 63 75 72 72 65 6e 74 44 72 6f 70 54 61 72 67 65 74 20 3d 20 65 76 65 6e 74 2e 74 61 72 67 65 74 | currentDropTarget.=.event.target |
194f20 | 3b 0a 0a 20 20 20 20 20 20 20 20 76 61 72 20 69 70 20 3d 20 74 68 69 73 2e 69 6e 73 65 72 74 69 | ;..........var.ip.=.this.inserti |
194f40 | 6f 6e 50 6f 69 6e 74 3b 0a 20 20 20 20 20 20 20 20 69 66 20 28 21 69 70 20 7c 7c 20 21 50 6c 61 | onPoint;.........if.(!ip.||.!Pla |
194f60 | 63 65 73 43 6f 6e 74 72 6f 6c 6c 65 72 44 72 61 67 48 65 6c 70 65 72 2e 63 61 6e 44 72 6f 70 28 | cesControllerDragHelper.canDrop( |
194f80 | 69 70 29 29 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 20 20 20 20 20 20 | ip))...........return;.......... |
194fa0 | 76 61 72 20 64 72 6f 70 50 6f 69 6e 74 20 3d 20 74 68 69 73 2e 5f 67 65 74 44 72 6f 70 50 6f 69 | var.dropPoint.=.this._getDropPoi |
194fc0 | 6e 74 28 65 76 65 6e 74 29 3b 0a 20 20 20 20 20 20 20 20 69 66 20 28 21 64 72 6f 70 50 6f 69 6e | nt(event);.........if.(!dropPoin |
194fe0 | 74 29 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 20 20 20 20 20 20 50 6c | t)...........return;..........Pl |
195000 | 61 63 65 73 43 6f 6e 74 72 6f 6c 6c 65 72 44 72 61 67 48 65 6c 70 65 72 2e 6f 6e 44 72 6f 70 28 | acesControllerDragHelper.onDrop( |
195020 | 64 72 6f 70 50 6f 69 6e 74 2e 69 70 29 3b 0a 20 20 20 20 20 20 20 20 65 76 65 6e 74 2e 73 74 6f | dropPoint.ip);.........event.sto |
195040 | 70 50 72 6f 70 61 67 61 74 69 6f 6e 28 29 3b 0a 20 20 20 20 20 20 5d 5d 3e 3c 2f 68 61 6e 64 6c | pPropagation();.......]]></handl |
195060 | 65 72 3e 0a 0a 20 20 20 20 20 20 3c 68 61 6e 64 6c 65 72 20 65 76 65 6e 74 3d 22 64 72 61 67 6c | er>........<handler.event="dragl |
195080 | 65 61 76 65 22 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 43 6f | eave"><![CDATA[.........PlacesCo |
1950a0 | 6e 74 72 6f 6c 6c 65 72 44 72 61 67 48 65 6c 70 65 72 2e 63 75 72 72 65 6e 74 44 72 6f 70 54 61 | ntrollerDragHelper.currentDropTa |
1950c0 | 72 67 65 74 20 3d 20 6e 75 6c 6c 3b 0a 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 43 6f 6e 74 72 | rget.=.null;.........PlacesContr |
1950e0 | 6f 6c 6c 65 72 44 72 61 67 48 65 6c 70 65 72 2e 63 75 72 72 65 6e 74 44 61 74 61 54 72 61 6e 73 | ollerDragHelper.currentDataTrans |
195100 | 66 65 72 20 3d 20 6e 75 6c 6c 3b 0a 0a 20 20 20 20 20 20 20 20 2f 2f 20 53 65 74 20 74 69 6d 65 | fer.=.null;..........//.Set.time |
195120 | 72 20 74 6f 20 74 75 72 6e 20 6f 66 66 20 69 6e 64 69 63 61 74 6f 72 20 62 61 72 20 28 69 66 20 | r.to.turn.off.indicator.bar.(if. |
195140 | 77 65 20 74 75 72 6e 20 69 74 20 6f 66 66 0a 20 20 20 20 20 20 20 20 2f 2f 20 68 65 72 65 2c 20 | we.turn.it.off.........//.here,. |
195160 | 64 72 61 67 65 6e 74 65 72 20 6d 69 67 68 74 20 62 65 20 63 61 6c 6c 65 64 20 69 6d 6d 65 64 69 | dragenter.might.be.called.immedi |
195180 | 61 74 65 6c 79 20 61 66 74 65 72 2c 20 63 72 65 61 74 69 6e 67 0a 20 20 20 20 20 20 20 20 2f 2f | ately.after,.creating.........// |
1951a0 | 20 66 6c 69 63 6b 65 72 2e 29 0a 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 69 62 54 | .flicker.).........if.(this._ibT |
1951c0 | 69 6d 65 72 29 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 69 62 54 69 6d 65 72 2e 63 61 | imer)...........this._ibTimer.ca |
1951e0 | 6e 63 65 6c 28 29 3b 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 69 62 54 69 6d 65 72 20 3d 20 | ncel();.........this._ibTimer.=. |
195200 | 74 68 69 73 2e 5f 73 65 74 54 69 6d 65 72 28 31 30 29 3b 0a 0a 20 20 20 20 20 20 20 20 2f 2f 20 | this._setTimer(10);..........//. |
195220 | 49 66 20 77 65 20 68 6f 76 65 72 65 64 20 6f 76 65 72 20 61 20 66 6f 6c 64 65 72 2c 20 63 6c 6f | If.we.hovered.over.a.folder,.clo |
195240 | 73 65 20 69 74 20 6e 6f 77 0a 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 6f 76 65 72 | se.it.now.........if.(this._over |
195260 | 46 6f 6c 64 65 72 2e 6e 6f 64 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 6f | Folder.node).............this._o |
195280 | 76 65 72 46 6f 6c 64 65 72 2e 63 6c 6f 73 65 54 69 6d 65 72 20 3d 20 74 68 69 73 2e 5f 73 65 74 | verFolder.closeTimer.=.this._set |
1952a0 | 54 69 6d 65 72 28 74 68 69 73 2e 5f 6f 76 65 72 46 6f 6c 64 65 72 2e 68 6f 76 65 72 54 69 6d 65 | Timer(this._overFolder.hoverTime |
1952c0 | 29 3b 0a 20 20 20 20 20 20 5d 5d 3e 3c 2f 68 61 6e 64 6c 65 72 3e 0a 0a 20 20 20 20 20 20 3c 68 | );.......]]></handler>........<h |
1952e0 | 61 6e 64 6c 65 72 20 65 76 65 6e 74 3d 22 64 72 61 67 65 6e 64 22 3e 3c 21 5b 43 44 41 54 41 5b | andler.event="dragend"><![CDATA[ |
195300 | 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 64 72 61 67 67 65 64 4e 6f 64 65 20 3d 20 6e 75 6c | .........this._draggedNode.=.nul |
195320 | 6c 3b 0a 20 20 20 20 20 20 5d 5d 3e 3c 2f 68 61 6e 64 6c 65 72 3e 0a 0a 20 20 20 20 20 20 3c 68 | l;.......]]></handler>........<h |
195340 | 61 6e 64 6c 65 72 20 65 76 65 6e 74 3d 22 70 6f 70 75 70 73 68 6f 77 69 6e 67 22 20 70 68 61 73 | andler.event="popupshowing".phas |
195360 | 65 3d 22 63 61 70 74 75 72 69 6e 67 22 3e 3c 21 5b 43 44 41 54 41 5b 20 20 20 20 20 20 0a 20 20 | e="capturing"><![CDATA[......... |
195380 | 20 20 20 20 20 20 69 66 20 28 21 74 68 69 73 2e 5f 61 6c 6c 6f 77 50 6f 70 75 70 53 68 6f 77 69 | ......if.(!this._allowPopupShowi |
1953a0 | 6e 67 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 61 6c 6c 6f 77 50 6f 70 75 70 | ng).{...........this._allowPopup |
1953c0 | 53 68 6f 77 69 6e 67 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 20 20 65 76 65 6e 74 2e | Showing.=.true;...........event. |
1953e0 | 70 72 65 76 65 6e 74 44 65 66 61 75 6c 74 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 | preventDefault();...........retu |
195400 | 72 6e 3b 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 76 61 72 20 70 6f 70 75 70 | rn;.........}..........var.popup |
195420 | 20 3d 20 65 76 65 6e 74 2e 6f 72 69 67 69 6e 61 6c 54 61 72 67 65 74 3b 0a 0a 20 20 20 20 20 20 | .=.event.originalTarget;........ |
195440 | 20 20 2f 2f 20 41 76 6f 69 64 20 68 61 6e 64 6c 69 6e 67 20 70 6f 70 75 70 73 68 6f 77 69 6e 67 | ..//.Avoid.handling.popupshowing |
195460 | 20 6f 66 20 69 6e 6e 65 72 20 76 69 65 77 73 0a 20 20 20 20 20 20 20 20 69 66 20 28 70 6f 70 75 | .of.inner.views.........if.(popu |
195480 | 70 2e 5f 72 65 73 75 6c 74 4e 6f 64 65 20 26 26 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 67 | p._resultNode.&&.PlacesUIUtils.g |
1954a0 | 65 74 56 69 65 77 46 6f 72 4e 6f 64 65 28 70 6f 70 75 70 29 20 3d 3d 20 74 68 69 73 29 0a 20 20 | etViewForNode(popup).==.this)... |
1954c0 | 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 63 6f 6e 74 61 69 6e 65 72 50 6f 70 75 70 53 68 6f 77 | ........this._containerPopupShow |
1954e0 | 69 6e 67 28 70 6f 70 75 70 29 3b 0a 0a 20 20 20 20 20 20 20 20 76 61 72 20 70 61 72 65 6e 74 20 | ing(popup);..........var.parent. |
195500 | 3d 20 70 6f 70 75 70 2e 70 61 72 65 6e 74 4e 6f 64 65 3b 0a 20 20 20 20 20 20 20 20 69 66 20 28 | =.popup.parentNode;.........if.( |
195520 | 70 61 72 65 6e 74 2e 6c 6f 63 61 6c 4e 61 6d 65 20 3d 3d 20 22 74 6f 6f 6c 62 61 72 62 75 74 74 | parent.localName.==."toolbarbutt |
195540 | 6f 6e 22 29 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 6f 70 65 6e 65 64 4d 65 6e 75 42 | on")...........this._openedMenuB |
195560 | 75 74 74 6f 6e 20 3d 20 70 61 72 65 6e 74 3b 0a 20 20 20 20 20 20 5d 5d 3e 3c 2f 68 61 6e 64 6c | utton.=.parent;.......]]></handl |
195580 | 65 72 3e 0a 0a 20 20 20 20 20 20 3c 68 61 6e 64 6c 65 72 20 65 76 65 6e 74 3d 22 70 6f 70 75 70 | er>........<handler.event="popup |
1955a0 | 68 69 64 64 65 6e 22 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 76 61 72 20 70 6f | hidden"><![CDATA[.........var.po |
1955c0 | 70 75 70 20 3d 20 65 76 65 6e 74 2e 6f 72 69 67 69 6e 61 6c 54 61 72 67 65 74 3b 0a 0a 20 20 20 | pup.=.event.originalTarget;..... |
1955e0 | 20 20 20 20 20 2f 2f 20 41 76 6f 69 64 20 68 61 6e 64 6c 69 6e 67 20 70 6f 70 75 70 68 69 64 64 | .....//.Avoid.handling.popuphidd |
195600 | 65 6e 20 6f 66 20 69 6e 6e 65 72 20 76 69 65 77 73 0a 20 20 20 20 20 20 20 20 69 66 20 28 70 6f | en.of.inner.views.........if.(po |
195620 | 70 75 70 2e 5f 72 65 73 75 6c 74 4e 6f 64 65 20 26 26 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 | pup._resultNode.&&.PlacesUIUtils |
195640 | 2e 67 65 74 56 69 65 77 46 6f 72 4e 6f 64 65 28 70 6f 70 75 70 29 20 3d 3d 20 74 68 69 73 29 20 | .getViewForNode(popup).==.this). |
195660 | 7b 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 55 49 20 70 65 72 66 6f 72 6d 61 6e 63 65 3a 20 66 | {...........//.UI.performance:.f |
195680 | 6f 6c 64 65 72 20 71 75 65 72 69 65 73 20 61 72 65 20 63 68 65 61 70 2c 20 6b 65 65 70 20 74 68 | older.queries.are.cheap,.keep.th |
1956a0 | 65 20 72 65 73 75 6c 74 6e 6f 64 65 20 6f 70 65 6e 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 73 | e.resultnode.open...........//.s |
1956c0 | 6f 20 77 65 20 64 6f 6e 27 74 20 72 65 62 75 69 6c 64 20 69 74 73 20 63 6f 6e 74 65 6e 74 73 20 | o.we.don't.rebuild.its.contents. |
1956e0 | 77 68 65 6e 65 76 65 72 20 74 68 65 20 70 6f 70 75 70 20 69 73 20 72 65 6f 70 65 6e 65 64 2e 0a | whenever.the.popup.is.reopened.. |
195700 | 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 | ..........if.(!PlacesUtils.nodeI |
195720 | 73 46 6f 6c 64 65 72 28 70 6f 70 75 70 2e 5f 72 65 73 75 6c 74 4e 6f 64 65 29 29 0a 20 20 20 20 | sFolder(popup._resultNode))..... |
195740 | 20 20 20 20 20 20 20 20 70 6f 70 75 70 2e 5f 72 65 73 75 6c 74 4e 6f 64 65 2e 63 6f 6e 74 61 69 | ........popup._resultNode.contai |
195760 | 6e 65 72 4f 70 65 6e 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 | nerOpen.=.false;.........}...... |
195780 | 20 20 20 20 76 61 72 20 70 61 72 65 6e 74 20 3d 20 70 6f 70 75 70 2e 70 61 72 65 6e 74 4e 6f 64 | ....var.parent.=.popup.parentNod |
1957a0 | 65 3b 0a 20 20 20 20 20 20 20 20 69 66 20 28 70 61 72 65 6e 74 2e 6c 6f 63 61 6c 4e 61 6d 65 20 | e;.........if.(parent.localName. |
1957c0 | 3d 3d 20 22 74 6f 6f 6c 62 61 72 62 75 74 74 6f 6e 22 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 | ==."toolbarbutton").{........... |
1957e0 | 74 68 69 73 2e 5f 6f 70 65 6e 65 64 4d 65 6e 75 42 75 74 74 6f 6e 20 3d 20 6e 75 6c 6c 3b 0a 20 | this._openedMenuButton.=.null;.. |
195800 | 20 20 20 20 20 20 20 20 20 2f 2f 20 43 6c 65 61 72 20 74 68 65 20 64 72 61 67 6f 76 65 72 20 61 | .........//.Clear.the.dragover.a |
195820 | 74 74 72 69 62 75 74 65 20 69 66 20 70 72 65 73 65 6e 74 2c 20 69 66 20 77 65 20 61 72 65 20 64 | ttribute.if.present,.if.we.are.d |
195840 | 72 61 67 67 69 6e 67 20 69 6e 74 6f 20 61 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 66 6f 6c 64 | ragging.into.a...........//.fold |
195860 | 65 72 20 69 6e 20 74 68 65 20 68 69 65 72 61 63 68 79 20 6f 66 20 63 75 72 72 65 6e 74 20 6f 70 | er.in.the.hierachy.of.current.op |
195880 | 65 6e 65 64 20 70 6f 70 75 70 20 77 65 20 64 6f 6e 27 74 20 63 6c 65 61 72 0a 20 20 20 20 20 20 | ened.popup.we.don't.clear....... |
1958a0 | 20 20 20 20 2f 2f 20 74 68 69 73 20 61 74 74 72 69 62 75 74 65 20 6f 6e 20 63 6c 65 61 72 4f 76 | ....//.this.attribute.on.clearOv |
1958c0 | 65 72 46 6f 6c 64 65 72 2e 20 20 53 65 65 20 4e 6f 74 69 66 79 20 66 6f 72 20 63 6c 6f 73 65 54 | erFolder...See.Notify.for.closeT |
1958e0 | 69 6d 65 72 2e 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 70 61 72 65 6e 74 2e 68 61 73 41 74 | imer............if.(parent.hasAt |
195900 | 74 72 69 62 75 74 65 28 22 64 72 61 67 6f 76 65 72 22 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 | tribute("dragover"))............ |
195920 | 20 70 61 72 65 6e 74 2e 72 65 6d 6f 76 65 41 74 74 72 69 62 75 74 65 28 22 64 72 61 67 6f 76 65 | .parent.removeAttribute("dragove |
195940 | 72 22 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 5d 5d 3e 3c 2f 68 61 6e 64 6c 65 | r");.........}.......]]></handle |
195960 | 72 3e 0a 0a 20 20 20 20 20 20 3c 68 61 6e 64 6c 65 72 20 65 76 65 6e 74 3d 22 6d 6f 75 73 65 64 | r>........<handler.event="moused |
195980 | 6f 77 6e 22 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 76 61 72 20 74 61 72 67 65 | own"><![CDATA[.........var.targe |
1959a0 | 74 20 3d 20 65 76 65 6e 74 2e 74 61 72 67 65 74 3b 0a 20 20 20 20 20 20 20 20 69 66 20 28 65 76 | t.=.event.target;.........if.(ev |
1959c0 | 65 6e 74 2e 62 75 74 74 6f 6e 20 3d 3d 20 30 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 | ent.button.==.0.&&.............t |
1959e0 | 61 72 67 65 74 2e 6c 6f 63 61 6c 4e 61 6d 65 20 3d 3d 20 22 74 6f 6f 6c 62 61 72 62 75 74 74 6f | arget.localName.==."toolbarbutto |
195a00 | 6e 22 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 61 72 67 65 74 2e 67 65 74 41 74 74 72 | n".&&.............target.getAttr |
195a20 | 69 62 75 74 65 28 22 74 79 70 65 22 29 20 3d 3d 20 22 6d 65 6e 75 22 29 20 7b 0a 20 20 20 20 20 | ibute("type").==."menu").{...... |
195a40 | 20 20 20 20 20 74 68 69 73 2e 5f 61 6c 6c 6f 77 50 6f 70 75 70 53 68 6f 77 69 6e 67 20 3d 20 66 | .....this._allowPopupShowing.=.f |
195a60 | 61 6c 73 65 3b 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 54 68 69 73 20 69 73 20 61 20 63 6f 6e | alse;...........//.This.is.a.con |
195a80 | 74 61 69 6e 65 72 2c 20 77 65 20 77 69 6c 6c 20 6f 70 65 6e 20 74 68 65 20 6d 65 6e 75 20 69 66 | tainer,.we.will.open.the.menu.if |
195aa0 | 20 74 68 65 20 75 73 65 72 20 63 6c 69 63 6b 73 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 6f 72 | .the.user.clicks...........//.or |
195ac0 | 20 64 72 61 67 20 74 6f 77 61 72 64 20 64 6f 77 6e 20 6f 72 20 61 66 74 65 72 20 61 20 64 65 6c | .drag.toward.down.or.after.a.del |
195ae0 | 61 79 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 6d 6f 75 73 65 44 6f 77 6e 54 69 6d 65 | ay...........this._mouseDownTime |
195b00 | 72 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 74 69 6d 65 72 3b 31 22 5d 0a 20 | r.=.Cc["@mozilla.org/timer;1"].. |
195b20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
195b40 | 20 20 2e 63 72 65 61 74 65 49 6e 73 74 61 6e 63 65 28 43 69 2e 6e 73 49 54 69 6d 65 72 29 3b 0a | ...createInstance(Ci.nsITimer);. |
195b60 | 20 20 20 20 20 20 20 20 20 20 76 61 72 20 63 61 6c 6c 62 61 63 6b 20 3d 20 7b 0a 20 20 20 20 20 | ..........var.callback.=.{...... |
195b80 | 20 20 20 20 20 20 20 5f 73 65 6c 66 3a 20 74 68 69 73 2c 0a 09 09 20 20 20 20 20 20 20 20 5f 74 | ......._self:.this,..........._t |
195ba0 | 61 72 67 65 74 3a 20 74 61 72 67 65 74 2c 0a 09 09 20 20 20 20 20 20 20 20 6e 6f 74 69 66 79 3a | arget:.target,...........notify: |
195bc0 | 20 66 75 6e 63 74 69 6f 6e 28 74 69 6d 65 72 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | .function(timer).{.............. |
195be0 | 20 74 68 69 73 2e 5f 74 61 72 67 65 74 2e 6f 70 65 6e 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 | .this._target.open.=.true;...... |
195c00 | 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 73 65 6c 66 2e 5f 6d 6f 75 73 65 44 6f 77 6e 54 69 | .........this._self._mouseDownTi |
195c20 | 6d 65 72 20 3d 20 6e 75 6c 6c 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 | mer.=.null;.............}....... |
195c40 | 20 20 20 20 7d 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 6d 6f 75 73 65 44 6f 77 | ....};............this._mouseDow |
195c60 | 6e 54 69 6d 65 72 2e 69 6e 69 74 57 69 74 68 43 61 6c 6c 62 61 63 6b 28 63 61 6c 6c 62 61 63 6b | nTimer.initWithCallback(callback |
195c80 | 2c 20 35 30 30 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ,.500,.......................... |
195ca0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 43 69 2e 6e 73 49 54 69 6d | .......................Ci.nsITim |
195cc0 | 65 72 2e 54 59 50 45 5f 4f 4e 45 5f 53 48 4f 54 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 | er.TYPE_ONE_SHOT);.........}.... |
195ce0 | 20 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 61 6c 6c 6f 77 20 6f | .....else.{...........//.allow.o |
195d00 | 70 65 6e 69 6e 67 20 70 6f 70 75 70 73 2c 20 6c 69 6b 65 20 74 68 65 20 63 68 65 76 72 6f 6e 20 | pening.popups,.like.the.chevron. |
195d20 | 61 6e 64 20 63 6f 6e 74 65 78 74 20 6d 65 6e 75 73 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 | and.context.menus...........this |
195d40 | 2e 5f 61 6c 6c 6f 77 50 6f 70 75 70 53 68 6f 77 69 6e 67 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 | ._allowPopupShowing.=.true;..... |
195d60 | 20 20 20 20 7d 0a 20 20 20 20 20 20 5d 5d 3e 3c 2f 68 61 6e 64 6c 65 72 3e 0a 0a 20 20 20 20 20 | ....}.......]]></handler>....... |
195d80 | 20 3c 68 61 6e 64 6c 65 72 20 65 76 65 6e 74 3d 22 6d 6f 75 73 65 75 70 22 3e 3c 21 5b 43 44 41 | .<handler.event="mouseup"><![CDA |
195da0 | 54 41 5b 0a 20 20 20 20 20 20 20 20 69 66 20 28 65 76 65 6e 74 2e 62 75 74 74 6f 6e 20 21 3d 20 | TA[.........if.(event.button.!=. |
195dc0 | 30 29 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 20 20 20 20 20 20 69 66 | 0)...........return;..........if |
195de0 | 20 28 74 68 69 73 2e 5f 6d 6f 75 73 65 44 6f 77 6e 54 69 6d 65 72 29 20 7b 0a 20 20 20 20 20 20 | .(this._mouseDownTimer).{....... |
195e00 | 20 20 20 20 2f 2f 20 4f 6e 20 61 20 63 6c 69 63 6b 20 28 64 6f 77 6e 2f 75 70 29 20 77 65 20 73 | ....//.On.a.click.(down/up).we.s |
195e20 | 68 6f 75 6c 64 20 6f 70 65 6e 20 74 68 65 20 6d 65 6e 75 20 70 6f 70 75 70 0a 20 20 20 20 20 20 | hould.open.the.menu.popup....... |
195e40 | 20 20 20 20 74 68 69 73 2e 5f 6d 6f 75 73 65 44 6f 77 6e 54 69 6d 65 72 2e 63 61 6e 63 65 6c 28 | ....this._mouseDownTimer.cancel( |
195e60 | 29 3b 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 6d 6f 75 73 65 44 6f 77 6e 54 69 6d 65 | );...........this._mouseDownTime |
195e80 | 72 20 3d 20 6e 75 6c 6c 3b 0a 20 20 20 20 20 20 20 20 20 20 65 76 65 6e 74 2e 74 61 72 67 65 74 | r.=.null;...........event.target |
195ea0 | 2e 6f 70 65 6e 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 5d 5d | .open.=.true;.........}.......]] |
195ec0 | 3e 3c 2f 68 61 6e 64 6c 65 72 3e 0a 0a 20 20 20 20 20 20 3c 68 61 6e 64 6c 65 72 20 65 76 65 6e | ></handler>........<handler.even |
195ee0 | 74 3d 22 6d 6f 75 73 65 6d 6f 76 65 22 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 | t="mousemove"><![CDATA[......... |
195f00 | 2f 2f 20 55 73 65 64 20 69 6e 20 64 72 61 67 53 74 61 72 74 20 74 6f 20 70 72 65 76 65 6e 74 20 | //.Used.in.dragStart.to.prevent. |
195f20 | 64 72 61 67 67 69 6e 67 20 66 6f 6c 64 65 72 73 20 77 68 65 6e 20 64 72 61 67 67 69 6e 67 20 64 | dragging.folders.when.dragging.d |
195f40 | 6f 77 6e 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 63 61 63 68 65 64 4d 6f 75 73 65 4d 6f 76 | own.........this._cachedMouseMov |
195f60 | 65 45 76 65 6e 74 20 3d 20 65 76 65 6e 74 3b 0a 0a 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 | eEvent.=.event;..........if.(thi |
195f80 | 73 2e 5f 6f 70 65 6e 65 64 4d 65 6e 75 42 75 74 74 6f 6e 20 3d 3d 20 6e 75 6c 6c 20 7c 7c 0a 20 | s._openedMenuButton.==.null.||.. |
195fa0 | 20 20 20 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 43 6f 6e 74 72 6f 6c 6c 65 72 44 72 61 67 48 | ...........PlacesControllerDragH |
195fc0 | 65 6c 70 65 72 2e 67 65 74 53 65 73 73 69 6f 6e 28 29 29 0a 20 20 20 20 20 20 20 20 20 20 72 65 | elper.getSession())...........re |
195fe0 | 74 75 72 6e 3b 0a 0a 20 20 20 20 20 20 20 20 76 61 72 20 74 61 72 67 65 74 20 3d 20 65 76 65 6e | turn;..........var.target.=.even |
196000 | 74 2e 6f 72 69 67 69 6e 61 6c 54 61 72 67 65 74 3b 0a 20 20 20 20 20 20 20 20 69 66 20 28 74 68 | t.originalTarget;.........if.(th |
196020 | 69 73 2e 5f 6f 70 65 6e 65 64 4d 65 6e 75 42 75 74 74 6f 6e 20 21 3d 20 74 61 72 67 65 74 20 26 | is._openedMenuButton.!=.target.& |
196040 | 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 61 72 67 65 74 2e 6c 6f 63 61 6c 4e 61 6d 65 20 3d | &.............target.localName.= |
196060 | 3d 20 22 74 6f 6f 6c 62 61 72 62 75 74 74 6f 6e 22 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 | =."toolbarbutton".&&............ |
196080 | 20 74 61 72 67 65 74 2e 74 79 70 65 20 3d 3d 20 22 6d 65 6e 75 22 29 20 7b 0a 20 20 20 20 20 20 | .target.type.==."menu").{....... |
1960a0 | 20 20 20 20 74 68 69 73 2e 5f 6f 70 65 6e 65 64 4d 65 6e 75 42 75 74 74 6f 6e 2e 6f 70 65 6e 20 | ....this._openedMenuButton.open. |
1960c0 | 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 20 20 20 20 20 74 61 72 67 65 74 2e 6f 70 65 6e 20 3d | =.false;...........target.open.= |
1960e0 | 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 5d 5d 3e 3c 2f 68 61 6e 64 | .true;.........}.......]]></hand |
196100 | 6c 65 72 3e 0a 20 20 20 20 3c 2f 68 61 6e 64 6c 65 72 73 3e 0a 20 20 3c 2f 62 69 6e 64 69 6e 67 | ler>.....</handlers>...</binding |
196120 | 3e 0a 0a 3c 2f 62 69 6e 64 69 6e 67 73 3e 0a 50 4b 03 04 14 00 00 00 00 00 f6 4b 18 3b 35 c5 27 | >..</bindings>.PK.........K.;5.' |
196140 | 41 1f 93 00 00 1f 93 00 00 1f 00 00 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 6c 61 | A............content/browser/pla |
196160 | 63 65 73 2f 6d 65 6e 75 2e 78 6d 6c 3c 3f 78 6d 6c 20 76 65 72 73 69 6f 6e 3d 22 31 2e 30 22 3f | ces/menu.xml<?xml.version="1.0"? |
196180 | 3e 0a 0a 0a 3c 62 69 6e 64 69 6e 67 73 20 69 64 3d 22 70 6c 61 63 65 73 4d 65 6e 75 42 69 6e 64 | >...<bindings.id="placesMenuBind |
1961a0 | 69 6e 67 73 22 0a 20 20 20 20 20 20 20 20 20 20 78 6d 6c 6e 73 3d 22 68 74 74 70 3a 2f 2f 77 77 | ings"...........xmlns="http://ww |
1961c0 | 77 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 78 62 6c 22 0a 20 20 20 20 20 20 20 20 20 20 78 6d 6c | w.mozilla.org/xbl"...........xml |
1961e0 | 6e 73 3a 78 62 6c 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 78 | ns:xbl="http://www.mozilla.org/x |
196200 | 62 6c 22 0a 20 20 20 20 20 20 20 20 20 20 78 6d 6c 6e 73 3a 68 74 6d 6c 3d 22 68 74 74 70 3a 2f | bl"...........xmlns:html="http:/ |
196220 | 2f 77 77 77 2e 77 33 2e 6f 72 67 2f 31 39 39 39 2f 78 68 74 6d 6c 22 0a 20 20 20 20 20 20 20 20 | /www.w3.org/1999/xhtml"......... |
196240 | 20 20 78 6d 6c 6e 73 3a 78 75 6c 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c 61 2e | ..xmlns:xul="http://www.mozilla. |
196260 | 6f 72 67 2f 6b 65 79 6d 61 73 74 65 72 2f 67 61 74 65 6b 65 65 70 65 72 2f 74 68 65 72 65 2e 69 | org/keymaster/gatekeeper/there.i |
196280 | 73 2e 6f 6e 6c 79 2e 78 75 6c 22 3e 0a 0a 20 20 3c 62 69 6e 64 69 6e 67 20 69 64 3d 22 70 6c 61 | s.only.xul">....<binding.id="pla |
1962a0 | 63 65 73 2d 70 6f 70 75 70 2d 62 61 73 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 65 78 74 65 6e | ces-popup-base"............exten |
1962c0 | 64 73 3d 22 63 68 72 6f 6d 65 3a 2f 2f 67 6c 6f 62 61 6c 2f 63 6f 6e 74 65 6e 74 2f 62 69 6e 64 | ds="chrome://global/content/bind |
1962e0 | 69 6e 67 73 2f 70 6f 70 75 70 2e 78 6d 6c 23 70 6f 70 75 70 22 3e 0a 20 20 20 20 3c 63 6f 6e 74 | ings/popup.xml#popup">.....<cont |
196300 | 65 6e 74 3e 0a 20 20 20 20 20 20 3c 78 75 6c 3a 68 62 6f 78 20 66 6c 65 78 3d 22 31 22 3e 0a 20 | ent>.......<xul:hbox.flex="1">.. |
196320 | 20 20 20 20 20 20 20 3c 78 75 6c 3a 76 62 6f 78 20 63 6c 61 73 73 3d 22 6d 65 6e 75 70 6f 70 75 | .......<xul:vbox.class="menupopu |
196340 | 70 2d 64 72 6f 70 2d 69 6e 64 69 63 61 74 6f 72 2d 62 61 72 22 20 68 69 64 64 65 6e 3d 22 74 72 | p-drop-indicator-bar".hidden="tr |
196360 | 75 65 22 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 78 75 6c 3a 69 6d 61 67 65 20 63 6c 61 73 73 3d | ue">...........<xul:image.class= |
196380 | 22 6d 65 6e 75 70 6f 70 75 70 2d 64 72 6f 70 2d 69 6e 64 69 63 61 74 6f 72 22 20 6d 6f 75 73 65 | "menupopup-drop-indicator".mouse |
1963a0 | 74 68 72 6f 75 67 68 3d 22 61 6c 77 61 79 73 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 2f 78 75 6c | through="always"/>.........</xul |
1963c0 | 3a 76 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 3c 78 75 6c 3a 61 72 72 6f 77 73 63 72 6f 6c 6c 62 | :vbox>.........<xul:arrowscrollb |
1963e0 | 6f 78 20 63 6c 61 73 73 3d 22 70 6f 70 75 70 2d 69 6e 74 65 72 6e 61 6c 2d 62 6f 78 22 20 66 6c | ox.class="popup-internal-box".fl |
196400 | 65 78 3d 22 31 22 20 6f 72 69 65 6e 74 3d 22 76 65 72 74 69 63 61 6c 22 3e 0a 20 20 20 20 20 20 | ex="1".orient="vertical">....... |
196420 | 20 20 20 20 3c 63 68 69 6c 64 72 65 6e 2f 3e 0a 20 20 20 20 20 20 20 20 3c 2f 78 75 6c 3a 61 72 | ....<children/>.........</xul:ar |
196440 | 72 6f 77 73 63 72 6f 6c 6c 62 6f 78 3e 0a 20 20 20 20 20 20 3c 2f 78 75 6c 3a 68 62 6f 78 3e 0a | rowscrollbox>.......</xul:hbox>. |
196460 | 20 20 20 20 3c 2f 63 6f 6e 74 65 6e 74 3e 0a 0a 20 20 20 20 3c 69 6d 70 6c 65 6d 65 6e 74 61 74 | ....</content>......<implementat |
196480 | 69 6f 6e 3e 0a 0a 20 20 20 20 20 20 3c 66 69 65 6c 64 20 6e 61 6d 65 3d 22 5f 69 6e 64 69 63 61 | ion>........<field.name="_indica |
1964a0 | 74 6f 72 42 61 72 22 3e 0a 20 20 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 41 6e 6f | torBar">.........document.getAno |
1964c0 | 6e 79 6d 6f 75 73 45 6c 65 6d 65 6e 74 42 79 41 74 74 72 69 62 75 74 65 28 74 68 69 73 2c 20 22 | nymousElementByAttribute(this,." |
1964e0 | 63 6c 61 73 73 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | class",......................... |
196500 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 6d 65 6e 75 70 6f 70 | ........................"menupop |
196520 | 75 70 2d 64 72 6f 70 2d 69 6e 64 69 63 61 74 6f 72 2d 62 61 72 22 29 3b 0a 20 20 20 20 20 20 3c | up-drop-indicator-bar");.......< |
196540 | 2f 66 69 65 6c 64 3e 0a 0a 20 20 20 20 20 20 3c 66 69 65 6c 64 20 6e 61 6d 65 3d 22 5f 73 63 72 | /field>........<field.name="_scr |
196560 | 6f 6c 6c 42 6f 78 22 3e 0a 20 20 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 41 6e 6f | ollBox">.........document.getAno |
196580 | 6e 79 6d 6f 75 73 45 6c 65 6d 65 6e 74 42 79 41 74 74 72 69 62 75 74 65 28 74 68 69 73 2c 20 22 | nymousElementByAttribute(this,." |
1965a0 | 63 6c 61 73 73 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | class",......................... |
1965c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 70 6f 70 75 70 2d 69 | ........................"popup-i |
1965e0 | 6e 74 65 72 6e 61 6c 2d 62 6f 78 22 29 3b 0a 20 20 20 20 20 20 3c 2f 66 69 65 6c 64 3e 0a 0a 20 | nternal-box");.......</field>... |
196600 | 20 20 20 20 20 3c 21 2d 2d 20 6d 61 72 6b 65 72 73 20 66 6f 72 20 73 74 61 72 74 20 61 6e 64 20 | .....<!--.markers.for.start.and. |
196620 | 65 6e 64 20 6f 66 20 76 61 6c 69 64 20 70 6c 61 63 65 73 20 69 74 65 6d 73 20 2d 2d 3e 0a 20 20 | end.of.valid.places.items.-->... |
196640 | 20 20 20 20 3c 66 69 65 6c 64 20 6e 61 6d 65 3d 22 5f 73 74 61 72 74 4d 61 72 6b 65 72 22 3e 2d | ....<field.name="_startMarker">- |
196660 | 31 3c 2f 66 69 65 6c 64 3e 0a 20 20 20 20 20 20 3c 66 69 65 6c 64 20 6e 61 6d 65 3d 22 5f 65 6e | 1</field>.......<field.name="_en |
196680 | 64 4d 61 72 6b 65 72 22 3e 2d 31 3c 2f 66 69 65 6c 64 3e 0a 0a 20 20 20 20 20 20 3c 21 2d 2d 20 | dMarker">-1</field>........<!--. |
1966a0 | 54 68 69 73 20 69 73 20 74 68 65 20 76 69 65 77 20 74 68 61 74 20 6d 61 6e 61 67 65 20 74 68 65 | This.is.the.view.that.manage.the |
1966c0 | 20 70 6f 70 75 70 20 2d 2d 3e 0a 20 20 20 20 20 20 3c 66 69 65 6c 64 20 6e 61 6d 65 3d 22 5f 72 | .popup.-->.......<field.name="_r |
1966e0 | 6f 6f 74 56 69 65 77 22 3e 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 67 65 74 56 69 65 77 46 6f | ootView">PlacesUIUtils.getViewFo |
196700 | 72 4e 6f 64 65 28 74 68 69 73 29 3b 3c 2f 66 69 65 6c 64 3e 0a 0a 20 20 20 20 20 20 3c 66 69 65 | rNode(this);</field>........<fie |
196720 | 6c 64 20 6e 61 6d 65 3d 22 5f 62 75 69 6c 74 22 3e 66 61 6c 73 65 3c 2f 66 69 65 6c 64 3e 0a 0a | ld.name="_built">false</field>.. |
196740 | 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 6f 6e 44 72 61 67 4f 76 65 72 22 3e | ......<method.name="onDragOver"> |
196760 | 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 45 76 65 6e 74 | .........<parameter.name="aEvent |
196780 | 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 46 6c | "/>.........<parameter.name="aFl |
1967a0 | 61 76 6f 75 72 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 | avour"/>.........<parameter.name |
1967c0 | 3d 22 61 44 72 61 67 53 65 73 73 69 6f 6e 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e | ="aDragSession"/>.........<body> |
1967e0 | 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 43 6f 6e 74 72 6f | <![CDATA[...........PlacesContro |
196800 | 6c 6c 65 72 44 72 61 67 48 65 6c 70 65 72 2e 63 75 72 72 65 6e 74 44 72 6f 70 54 61 72 67 65 74 | llerDragHelper.currentDropTarget |
196820 | 20 3d 20 61 45 76 65 6e 74 2e 74 61 72 67 65 74 3b 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 63 | .=.aEvent.target;...........//.c |
196840 | 68 65 63 6b 20 69 66 20 77 65 20 68 61 76 65 20 61 20 76 61 6c 69 64 20 64 72 6f 70 50 6f 69 6e | heck.if.we.have.a.valid.dropPoin |
196860 | 74 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 64 72 6f 70 50 6f 69 6e 74 20 3d 20 74 68 69 73 | t...........var.dropPoint.=.this |
196880 | 2e 5f 67 65 74 44 72 6f 70 50 6f 69 6e 74 28 61 45 76 65 6e 74 29 3b 0a 20 20 20 20 20 20 20 20 | ._getDropPoint(aEvent);......... |
1968a0 | 20 20 69 66 20 28 21 64 72 6f 70 50 6f 69 6e 74 20 7c 7c 20 21 64 72 6f 70 50 6f 69 6e 74 2e 69 | ..if.(!dropPoint.||.!dropPoint.i |
1968c0 | 70 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 21 50 6c 61 63 65 73 43 6f 6e 74 72 6f | p.||...............!PlacesContro |
1968e0 | 6c 6c 65 72 44 72 61 67 48 65 6c 70 65 72 2e 63 61 6e 44 72 6f 70 28 64 72 6f 70 50 6f 69 6e 74 | llerDragHelper.canDrop(dropPoint |
196900 | 2e 69 70 29 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 61 45 76 65 6e 74 2e 64 61 74 61 54 | .ip)).{.............aEvent.dataT |
196920 | 72 61 6e 73 66 65 72 2e 65 66 66 65 63 74 41 6c 6c 6f 77 65 64 20 3d 20 22 6e 6f 6e 65 22 3b 0a | ransfer.effectAllowed.=."none";. |
196940 | 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a | ............return;...........}. |
196960 | 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 61 64 64 20 61 20 64 72 61 67 6f 76 65 72 20 61 74 74 | ...........//.add.a.dragover.att |
196980 | 72 69 62 75 74 65 20 74 6f 20 74 68 69 73 20 70 6f 70 75 70 0a 20 20 20 20 20 20 20 20 20 20 74 | ribute.to.this.popup...........t |
1969a0 | 68 69 73 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 64 72 61 67 6f 76 65 72 22 2c 20 22 74 72 | his.setAttribute("dragover",."tr |
1969c0 | 75 65 22 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 64 72 6f 70 50 6f 69 6e 74 2e 66 | ue");............if.(dropPoint.f |
1969e0 | 6f 6c 64 65 72 4e 6f 64 65 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 57 65 20 61 | olderNode).{.............//.We.a |
196a00 | 72 65 20 64 72 61 67 67 69 6e 67 20 6f 76 65 72 20 61 20 66 6f 6c 64 65 72 0a 20 20 20 20 20 20 | re.dragging.over.a.folder....... |
196a20 | 20 20 20 20 20 20 2f 2f 20 5f 6f 76 65 72 46 6f 6c 64 65 72 20 73 68 6f 75 6c 64 20 74 61 6b 65 | ......//._overFolder.should.take |
196a40 | 20 74 68 65 20 63 61 72 65 20 6f 66 20 6f 70 65 6e 69 6e 67 20 69 74 20 6f 6e 20 61 20 74 69 6d | .the.care.of.opening.it.on.a.tim |
196a60 | 65 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 6f 76 65 72 46 6f 6c | er.............if.(this._overFol |
196a80 | 64 65 72 2e 6e 6f 64 65 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 | der.node.&&.................this |
196aa0 | 2e 5f 6f 76 65 72 46 6f 6c 64 65 72 2e 6e 6f 64 65 20 21 3d 20 64 72 6f 70 50 6f 69 6e 74 2e 66 | ._overFolder.node.!=.dropPoint.f |
196ac0 | 6f 6c 64 65 72 4e 6f 64 65 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 77 65 | olderNode).{...............//.we |
196ae0 | 20 61 72 65 20 64 72 61 67 67 69 6e 67 20 6f 76 65 72 20 61 20 6e 65 77 20 66 6f 6c 64 65 72 2c | .are.dragging.over.a.new.folder, |
196b00 | 20 6c 65 74 27 73 20 63 6c 65 61 72 20 6f 6c 64 20 76 61 6c 75 65 73 0a 20 20 20 20 20 20 20 20 | .let's.clear.old.values......... |
196b20 | 20 20 20 20 20 20 74 68 69 73 2e 5f 6f 76 65 72 46 6f 6c 64 65 72 2e 63 6c 65 61 72 28 29 3b 0a | ......this._overFolder.clear();. |
196b40 | 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 74 | ............}.............if.(!t |
196b60 | 68 69 73 2e 5f 6f 76 65 72 46 6f 6c 64 65 72 2e 6e 6f 64 65 29 20 7b 0a 20 20 20 20 20 20 20 20 | his._overFolder.node).{......... |
196b80 | 20 20 20 20 20 20 74 68 69 73 2e 5f 6f 76 65 72 46 6f 6c 64 65 72 2e 6e 6f 64 65 20 3d 20 64 72 | ......this._overFolder.node.=.dr |
196ba0 | 6f 70 50 6f 69 6e 74 2e 66 6f 6c 64 65 72 4e 6f 64 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 | opPoint.folderNode;............. |
196bc0 | 20 20 2f 2f 20 63 72 65 61 74 65 20 74 68 65 20 74 69 6d 65 72 20 74 6f 20 6f 70 65 6e 20 74 68 | ..//.create.the.timer.to.open.th |
196be0 | 69 73 20 66 6f 6c 64 65 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 6f 76 | is.folder...............this._ov |
196c00 | 65 72 46 6f 6c 64 65 72 2e 6f 70 65 6e 54 69 6d 65 72 20 3d 20 74 68 69 73 2e 5f 6f 76 65 72 46 | erFolder.openTimer.=.this._overF |
196c20 | 6f 6c 64 65 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | older........................... |
196c40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 73 65 74 54 69 6d 65 72 28 74 | ......................setTimer(t |
196c60 | 68 69 73 2e 5f 6f 76 65 72 46 6f 6c 64 65 72 2e 68 6f 76 65 72 54 69 6d 65 29 3b 0a 20 20 20 20 | his._overFolder.hoverTime);..... |
196c80 | 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 73 69 6e 63 65 20 77 | ........}.............//.since.w |
196ca0 | 65 20 61 72 65 20 64 72 6f 70 70 69 6e 67 20 69 6e 74 6f 20 61 20 66 6f 6c 64 65 72 20 73 65 74 | e.are.dropping.into.a.folder.set |
196cc0 | 20 74 68 65 20 63 6f 72 72 65 73 70 6f 6e 64 69 6e 67 20 73 74 79 6c 65 0a 20 20 20 20 20 20 20 | .the.corresponding.style........ |
196ce0 | 20 20 20 20 20 64 72 6f 70 50 6f 69 6e 74 2e 66 6f 6c 64 65 72 4e 6f 64 65 2e 73 65 74 41 74 74 | .....dropPoint.folderNode.setAtt |
196d00 | 72 69 62 75 74 65 28 22 5f 6d 6f 7a 2d 6d 65 6e 75 61 63 74 69 76 65 22 2c 20 74 72 75 65 29 3b | ribute("_moz-menuactive",.true); |
196d20 | 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 | ...........}...........else.{... |
196d40 | 20 20 20 20 20 20 20 20 20 20 2f 2f 20 57 65 20 61 72 65 20 6e 6f 74 20 64 72 61 67 67 69 6e 67 | ..........//.We.are.not.dragging |
196d60 | 20 6f 76 65 72 20 61 20 66 6f 6c 64 65 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 43 6c | .over.a.folder.............//.Cl |
196d80 | 65 61 72 20 6f 75 74 20 6f 6c 64 20 5f 6f 76 65 72 46 6f 6c 64 65 72 20 69 6e 66 6f 72 6d 61 74 | ear.out.old._overFolder.informat |
196da0 | 69 6f 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 6f 76 65 72 46 6f 6c 64 65 72 | ion.............this._overFolder |
196dc0 | 2e 63 6c 65 61 72 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 | .clear();...........}........... |
196de0 | 20 2f 2f 20 41 75 74 6f 73 63 72 6f 6c 6c 20 74 68 65 20 70 6f 70 75 70 20 73 74 72 69 70 20 69 | .//.Autoscroll.the.popup.strip.i |
196e00 | 66 20 77 65 20 64 72 61 67 20 6f 76 65 72 20 74 68 65 20 73 63 72 6f 6c 6c 20 62 75 74 74 6f 6e | f.we.drag.over.the.scroll.button |
196e20 | 73 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 61 6e 6f 6e 69 64 20 3d 20 61 45 76 65 6e 74 2e | s...........var.anonid.=.aEvent. |
196e40 | 6f 72 69 67 69 6e 61 6c 54 61 72 67 65 74 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 27 61 6e 6f | originalTarget.getAttribute('ano |
196e60 | 6e 69 64 27 29 3b 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 73 63 72 6f 6c 6c 44 69 72 20 3d | nid');...........var.scrollDir.= |
196e80 | 20 61 6e 6f 6e 69 64 20 3d 3d 20 22 73 63 72 6f 6c 6c 62 75 74 74 6f 6e 2d 75 70 22 20 3f 20 2d | .anonid.==."scrollbutton-up".?.- |
196ea0 | 31 20 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 6e | 1.:...........................an |
196ec0 | 6f 6e 69 64 20 3d 3d 20 22 73 63 72 6f 6c 6c 62 75 74 74 6f 6e 2d 64 6f 77 6e 22 20 3f 20 31 20 | onid.==."scrollbutton-down".?.1. |
196ee0 | 3a 20 30 3b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 73 63 72 6f 6c 6c 44 69 72 20 21 3d 20 | :.0;...........if.(scrollDir.!=. |
196f00 | 30 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 73 63 72 6f 6c 6c 42 | 0).{...............this._scrollB |
196f20 | 6f 78 2e 73 63 72 6f 6c 6c 42 79 49 6e 64 65 78 28 73 63 72 6f 6c 6c 44 69 72 29 3b 0a 20 20 20 | ox.scrollByIndex(scrollDir);.... |
196f40 | 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 43 68 65 63 6b 20 69 66 20 | .......}............//.Check.if. |
196f60 | 77 65 20 73 68 6f 75 6c 64 20 68 69 64 65 20 74 68 65 20 64 72 6f 70 20 69 6e 64 69 63 61 74 6f | we.should.hide.the.drop.indicato |
196f80 | 72 20 66 6f 72 20 74 68 69 73 20 74 61 72 67 65 74 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 | r.for.this.target...........if.( |
196fa0 | 21 61 44 72 61 67 53 65 73 73 69 6f 6e 2e 63 61 6e 44 72 6f 70 20 7c 7c 0a 20 20 20 20 20 20 20 | !aDragSession.canDrop.||........ |
196fc0 | 20 20 20 20 20 20 20 21 64 72 6f 70 50 6f 69 6e 74 20 7c 7c 20 64 72 6f 70 50 6f 69 6e 74 2e 66 | .......!dropPoint.||.dropPoint.f |
196fe0 | 6f 6c 64 65 72 4e 6f 64 65 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e | olderNode.||...............this. |
197000 | 5f 68 69 64 65 44 72 6f 70 49 6e 64 69 63 61 74 6f 72 28 61 45 76 65 6e 74 2c 20 64 72 6f 70 50 | _hideDropIndicator(aEvent,.dropP |
197020 | 6f 69 6e 74 29 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 69 6e 64 69 63 | oint)).{.............this._indic |
197040 | 61 74 6f 72 42 61 72 2e 68 69 64 64 65 6e 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 20 | atorBar.hidden.=.true;.......... |
197060 | 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 | ...return;...........}.......... |
197080 | 20 20 2f 2f 20 57 65 20 73 68 6f 75 6c 64 20 64 69 73 70 6c 61 79 20 74 68 65 20 64 72 6f 70 20 | ..//.We.should.display.the.drop. |
1970a0 | 69 6e 64 69 63 61 74 6f 72 20 72 65 6c 61 74 69 76 65 20 74 6f 20 74 68 65 20 61 72 72 6f 77 73 | indicator.relative.to.the.arrows |
1970c0 | 63 72 6f 6c 6c 62 6f 78 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 73 62 6f 20 3d 20 74 68 69 | crollbox...........var.sbo.=.thi |
1970e0 | 73 2e 5f 73 63 72 6f 6c 6c 42 6f 78 2e 73 63 72 6f 6c 6c 42 6f 78 4f 62 6a 65 63 74 3b 0a 20 20 | s._scrollBox.scrollBoxObject;... |
197100 | 20 20 20 20 20 20 20 20 76 61 72 20 6e 65 77 4d 61 72 67 69 6e 54 6f 70 20 3d 20 30 3b 0a 20 20 | ........var.newMarginTop.=.0;... |
197120 | 20 20 20 20 20 20 20 20 69 66 20 28 73 63 72 6f 6c 6c 44 69 72 20 3d 3d 20 30 29 20 7b 0a 20 20 | ........if.(scrollDir.==.0).{... |
197140 | 20 20 20 20 20 20 20 20 20 20 76 61 72 20 6e 6f 64 65 20 3d 20 74 68 69 73 2e 66 69 72 73 74 43 | ..........var.node.=.this.firstC |
197160 | 68 69 6c 64 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 77 68 69 6c 65 20 28 6e 6f 64 65 20 26 26 | hild;.............while.(node.&& |
197180 | 20 61 45 76 65 6e 74 2e 73 63 72 65 65 6e 59 20 3e 20 6e 6f 64 65 2e 62 6f 78 4f 62 6a 65 63 74 | .aEvent.screenY.>.node.boxObject |
1971a0 | 2e 73 63 72 65 65 6e 59 20 2b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .screenY.+...................... |
1971c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 6f 64 65 2e 62 6f 78 4f | .......................node.boxO |
1971e0 | 62 6a 65 63 74 2e 68 65 69 67 68 74 20 2f 20 32 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | bject.height./.2)............... |
197200 | 6e 6f 64 65 20 3d 20 6e 6f 64 65 2e 6e 65 78 74 53 69 62 6c 69 6e 67 3b 0a 20 20 20 20 20 20 20 | node.=.node.nextSibling;........ |
197220 | 20 20 20 20 20 6e 65 77 4d 61 72 67 69 6e 54 6f 70 20 3d 20 6e 6f 64 65 20 3f 20 6e 6f 64 65 2e | .....newMarginTop.=.node.?.node. |
197240 | 62 6f 78 4f 62 6a 65 63 74 2e 73 63 72 65 65 6e 59 20 2d 20 73 62 6f 2e 73 63 72 65 65 6e 59 20 | boxObject.screenY.-.sbo.screenY. |
197260 | 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | :............................... |
197280 | 20 20 20 20 73 62 6f 2e 68 65 69 67 68 74 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 | ....sbo.height;...........}..... |
1972a0 | 20 20 20 20 20 20 65 6c 73 65 20 69 66 20 28 73 63 72 6f 6c 6c 44 69 72 20 3d 3d 20 31 29 0a 20 | ......else.if.(scrollDir.==.1).. |
1972c0 | 20 20 20 20 20 20 20 20 20 20 20 6e 65 77 4d 61 72 67 69 6e 54 6f 70 20 3d 20 73 62 6f 2e 68 65 | ...........newMarginTop.=.sbo.he |
1972e0 | 69 67 68 74 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 73 65 74 20 74 68 65 20 6e 65 77 20 | ight;............//.set.the.new. |
197300 | 6d 61 72 67 69 6e 54 6f 70 20 62 61 73 65 64 20 6f 6e 20 61 72 72 6f 77 73 63 72 6f 6c 6c 62 6f | marginTop.based.on.arrowscrollbo |
197320 | 78 0a 20 20 20 20 20 20 20 20 20 20 6e 65 77 4d 61 72 67 69 6e 54 6f 70 20 2b 3d 20 73 62 6f 2e | x...........newMarginTop.+=.sbo. |
197340 | 79 20 2d 20 74 68 69 73 2e 5f 73 63 72 6f 6c 6c 42 6f 78 2e 62 6f 78 4f 62 6a 65 63 74 2e 79 3b | y.-.this._scrollBox.boxObject.y; |
197360 | 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 69 6e 64 69 63 61 74 6f 72 42 61 72 2e 66 69 | ...........this._indicatorBar.fi |
197380 | 72 73 74 43 68 69 6c 64 2e 73 74 79 6c 65 2e 6d 61 72 67 69 6e 54 6f 70 20 3d 20 6e 65 77 4d 61 | rstChild.style.marginTop.=.newMa |
1973a0 | 72 67 69 6e 54 6f 70 20 2b 20 22 70 78 22 3b 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f | rginTop.+."px";...........this._ |
1973c0 | 69 6e 64 69 63 61 74 6f 72 42 61 72 2e 68 69 64 64 65 6e 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 | indicatorBar.hidden.=.false;.... |
1973e0 | 20 20 20 20 20 20 20 61 45 76 65 6e 74 2e 73 74 6f 70 50 72 6f 70 61 67 61 74 69 6f 6e 28 29 3b | .......aEvent.stopPropagation(); |
197400 | 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 | .........]]></body>.......</meth |
197420 | 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 6f 6e 44 72 61 67 45 | od>........<method.name="onDragE |
197440 | 78 69 74 22 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 | xit">.........<parameter.name="a |
197460 | 45 76 65 6e 74 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 | Event"/>.........<parameter.name |
197480 | 3d 22 61 44 72 61 67 53 65 73 73 69 6f 6e 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e | ="aDragSession"/>.........<body> |
1974a0 | 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 43 6f 6e 74 72 6f | <![CDATA[...........PlacesContro |
1974c0 | 6c 6c 65 72 44 72 61 67 48 65 6c 70 65 72 2e 63 75 72 72 65 6e 74 44 72 6f 70 54 61 72 67 65 74 | llerDragHelper.currentDropTarget |
1974e0 | 20 3d 20 6e 75 6c 6c 3b 0a 20 20 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 43 6f 6e 74 72 6f 6c | .=.null;...........PlacesControl |
197500 | 6c 65 72 44 72 61 67 48 65 6c 70 65 72 2e 63 75 72 72 65 6e 74 44 61 74 61 54 72 61 6e 73 66 65 | lerDragHelper.currentDataTransfe |
197520 | 72 20 3d 20 6e 75 6c 6c 3b 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 72 65 6d 6f 76 65 41 | r.=.null;...........this.removeA |
197540 | 74 74 72 69 62 75 74 65 28 22 64 72 61 67 6f 76 65 72 22 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 | ttribute("dragover");........... |
197560 | 20 2f 2f 20 69 66 20 77 65 20 68 61 76 65 20 6e 6f 74 20 6d 6f 76 65 64 20 74 6f 20 61 20 76 61 | .//.if.we.have.not.moved.to.a.va |
197580 | 6c 69 64 20 6e 65 77 20 74 61 72 67 65 74 20 63 6c 65 61 72 20 74 68 65 20 64 72 6f 70 20 69 6e | lid.new.target.clear.the.drop.in |
1975a0 | 64 69 63 61 74 6f 72 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 74 68 69 73 20 68 61 70 70 65 6e | dicator...........//.this.happen |
1975c0 | 73 20 77 68 65 6e 20 6d 6f 76 69 6e 67 20 6f 75 74 20 6f 66 20 74 68 65 20 70 6f 70 75 70 0a 20 | s.when.moving.out.of.the.popup.. |
1975e0 | 20 20 20 20 20 20 20 20 20 76 61 72 20 74 61 72 67 65 74 20 3d 20 61 45 76 65 6e 74 2e 72 65 6c | .........var.target.=.aEvent.rel |
197600 | 61 74 65 64 54 61 72 67 65 74 3b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 74 61 72 67 65 | atedTarget;...........if.(!targe |
197620 | 74 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 69 6e 64 69 63 61 74 6f 72 42 61 | t).............this._indicatorBa |
197640 | 72 2e 68 69 64 64 65 6e 20 3d 20 74 72 75 65 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 43 | r.hidden.=.true;............//.C |
197660 | 6c 6f 73 65 20 61 6e 79 20 66 6f 6c 64 65 72 20 62 65 69 6e 67 20 68 6f 76 65 72 65 64 20 6f 76 | lose.any.folder.being.hovered.ov |
197680 | 65 72 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 6f 76 65 72 46 6f 6c 64 65 | er...........if.(this._overFolde |
1976a0 | 72 2e 6e 6f 64 65 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 6f 76 65 72 | r.node).{.............this._over |
1976c0 | 46 6f 6c 64 65 72 2e 63 6c 6f 73 65 54 69 6d 65 72 20 3d 20 74 68 69 73 2e 5f 6f 76 65 72 46 6f | Folder.closeTimer.=.this._overFo |
1976e0 | 6c 64 65 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | lder............................ |
197700 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 73 65 74 54 69 6d 65 72 28 74 68 69 | ....................setTimer(thi |
197720 | 73 2e 5f 6f 76 65 72 46 6f 6c 64 65 72 2e 68 6f 76 65 72 54 69 6d 65 29 3b 0a 20 20 20 20 20 20 | s._overFolder.hoverTime);....... |
197740 | 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 54 68 65 20 61 75 74 6f 6f 70 65 6e | ....}............//.The.autoopen |
197760 | 65 64 20 61 74 74 72 69 62 75 74 65 20 69 73 20 73 65 74 20 77 68 65 6e 20 74 68 69 73 20 66 6f | ed.attribute.is.set.when.this.fo |
197780 | 6c 64 65 72 20 77 61 73 20 61 75 74 6f 6d 61 74 69 63 61 6c 6c 79 0a 20 20 20 20 20 20 20 20 20 | lder.was.automatically.......... |
1977a0 | 20 2f 2f 20 6f 70 65 6e 65 64 20 61 66 74 65 72 20 74 68 65 20 75 73 65 72 20 64 72 61 67 67 65 | .//.opened.after.the.user.dragge |
1977c0 | 64 20 6f 76 65 72 20 69 74 2e 20 20 49 66 20 74 68 69 73 20 61 74 74 72 69 62 75 74 65 20 69 73 | d.over.it...If.this.attribute.is |
1977e0 | 20 73 65 74 2c 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 61 75 74 6f 2d 63 6c 6f 73 65 20 74 68 | .set,...........//.auto-close.th |
197800 | 65 20 66 6f 6c 64 65 72 20 6f 6e 20 64 72 61 67 20 65 78 69 74 2e 0a 20 20 20 20 20 20 20 20 20 | e.folder.on.drag.exit........... |
197820 | 20 2f 2f 20 57 65 20 73 68 6f 75 6c 64 20 61 6c 73 6f 20 74 72 79 20 74 6f 20 63 6c 6f 73 65 20 | .//.We.should.also.try.to.close. |
197840 | 74 68 69 73 20 70 6f 70 75 70 20 69 66 20 74 68 65 20 64 72 61 67 20 68 61 73 20 73 74 61 72 74 | this.popup.if.the.drag.has.start |
197860 | 65 64 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 66 72 6f 6d 20 68 65 72 65 2c 20 74 68 65 20 74 | ed...........//.from.here,.the.t |
197880 | 69 6d 65 72 20 77 69 6c 6c 20 63 68 65 63 6b 20 69 66 20 77 65 20 61 72 65 20 64 72 61 67 67 69 | imer.will.check.if.we.are.draggi |
1978a0 | 6e 67 20 6f 76 65 72 20 61 20 63 68 69 6c 64 2e 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 | ng.over.a.child............if.(t |
1978c0 | 68 69 73 2e 68 61 73 41 74 74 72 69 62 75 74 65 28 22 61 75 74 6f 6f 70 65 6e 65 64 22 29 20 7c | his.hasAttribute("autoopened").| |
1978e0 | 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 68 61 73 41 74 74 72 69 62 75 74 | |...............this.hasAttribut |
197900 | 65 28 22 64 72 61 67 73 74 61 72 74 22 29 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 | e("dragstart")).{.............th |
197920 | 69 73 2e 5f 6f 76 65 72 46 6f 6c 64 65 72 2e 63 6c 6f 73 65 4d 65 6e 75 54 69 6d 65 72 20 3d 20 | is._overFolder.closeMenuTimer.=. |
197940 | 74 68 69 73 2e 5f 6f 76 65 72 46 6f 6c 64 65 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | this._overFolder................ |
197960 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
197980 | 20 20 20 2e 73 65 74 54 69 6d 65 72 28 74 68 69 73 2e 5f 6f 76 65 72 46 6f 6c 64 65 72 2e 68 6f | ....setTimer(this._overFolder.ho |
1979a0 | 76 65 72 54 69 6d 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 | verTime);...........}........... |
1979c0 | 20 74 68 69 73 2e 5f 72 6f 6f 74 56 69 65 77 2e 5f 64 72 61 67 67 65 64 4e 6f 64 65 20 3d 20 6e | .this._rootView._draggedNode.=.n |
1979e0 | 75 6c 6c 3b 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f | ull;.........]]></body>.......</ |
197a00 | 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 6f 6e 44 | method>........<method.name="onD |
197a20 | 72 61 67 53 74 61 72 74 22 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 | ragStart">.........<parameter.na |
197a40 | 6d 65 3d 22 61 45 76 65 6e 74 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 | me="aEvent"/>.........<parameter |
197a60 | 20 6e 61 6d 65 3d 22 61 58 66 65 72 44 61 74 61 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 | .name="aXferData"/>.........<par |
197a80 | 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 44 72 61 67 41 63 74 69 6f 6e 22 2f 3e 0a 20 20 20 20 | ameter.name="aDragAction"/>..... |
197aa0 | 20 20 20 20 3c 62 6f 64 79 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 76 61 | ....<body><![CDATA[...........va |
197ac0 | 72 20 64 72 61 67 67 65 64 4e 6f 64 65 20 3d 20 61 45 76 65 6e 74 2e 74 61 72 67 65 74 2e 6e 6f | r.draggedNode.=.aEvent.target.no |
197ae0 | 64 65 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 46 6f 72 63 65 20 61 20 63 6f 70 79 20 61 | de;............//.Force.a.copy.a |
197b00 | 63 74 69 6f 6e 20 69 66 20 70 61 72 65 6e 74 20 6e 6f 64 65 20 69 73 20 61 20 71 75 65 72 79 20 | ction.if.parent.node.is.a.query. |
197b20 | 6f 72 20 77 65 20 61 72 65 20 64 72 61 67 67 69 6e 67 20 61 0a 20 20 20 20 20 20 20 20 20 20 2f | or.we.are.dragging.a.........../ |
197b40 | 2f 20 6e 6f 74 2d 72 65 6d 6f 76 61 62 6c 65 20 6e 6f 64 65 0a 20 20 20 20 20 20 20 20 20 20 69 | /.not-removable.node...........i |
197b60 | 66 20 28 21 50 6c 61 63 65 73 43 6f 6e 74 72 6f 6c 6c 65 72 44 72 61 67 48 65 6c 70 65 72 2e 63 | f.(!PlacesControllerDragHelper.c |
197b80 | 61 6e 4d 6f 76 65 4e 6f 64 65 28 64 72 61 67 67 65 64 4e 6f 64 65 29 29 0a 20 20 20 20 20 20 20 | anMoveNode(draggedNode))........ |
197ba0 | 20 20 20 20 20 61 45 76 65 6e 74 2e 64 61 74 61 54 72 61 6e 73 66 65 72 2e 65 66 66 65 63 74 41 | .....aEvent.dataTransfer.effectA |
197bc0 | 6c 6c 6f 77 65 64 20 3d 20 22 63 6f 70 79 4c 69 6e 6b 22 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 | llowed.=."copyLink";............ |
197be0 | 2f 2f 20 61 63 74 69 76 61 74 65 20 74 68 65 20 76 69 65 77 20 61 6e 64 20 63 61 63 68 65 20 74 | //.activate.the.view.and.cache.t |
197c00 | 68 65 20 64 72 61 67 67 65 64 20 6e 6f 64 65 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f | he.dragged.node...........this._ |
197c20 | 72 6f 6f 74 56 69 65 77 2e 5f 64 72 61 67 67 65 64 4e 6f 64 65 20 3d 20 64 72 61 67 67 65 64 4e | rootView._draggedNode.=.draggedN |
197c40 | 6f 64 65 3b 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 72 6f 6f 74 56 69 65 77 2e 66 6f | ode;...........this._rootView.fo |
197c60 | 63 75 73 28 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 46 69 6c 6c 20 74 68 65 20 64 61 | cus();............//.Fill.the.da |
197c80 | 74 61 54 72 61 6e 73 66 65 72 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 72 6f 6f 74 56 | taTransfer...........this._rootV |
197ca0 | 69 65 77 2e 5f 63 6f 6e 74 72 6f 6c 6c 65 72 2e 73 65 74 44 61 74 61 54 72 61 6e 73 66 65 72 28 | iew._controller.setDataTransfer( |
197cc0 | 61 45 76 65 6e 74 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 73 65 74 41 74 74 72 | aEvent);............this.setAttr |
197ce0 | 69 62 75 74 65 28 22 64 72 61 67 73 74 61 72 74 22 2c 20 22 74 72 75 65 22 29 3b 0a 20 20 20 20 | ibute("dragstart",."true");..... |
197d00 | 20 20 20 20 20 20 61 45 76 65 6e 74 2e 73 74 6f 70 50 72 6f 70 61 67 61 74 69 6f 6e 28 29 3b 0a | ......aEvent.stopPropagation();. |
197d20 | 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f | ........]]></body>.......</metho |
197d40 | 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 6f 6e 44 72 6f 70 22 3e | d>........<method.name="onDrop"> |
197d60 | 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 45 76 65 6e 74 | .........<parameter.name="aEvent |
197d80 | 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 44 72 | "/>.........<parameter.name="aDr |
197da0 | 6f 70 44 61 74 61 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d | opData"/>.........<parameter.nam |
197dc0 | 65 3d 22 61 53 65 73 73 69 6f 6e 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 3c 21 5b | e="aSession"/>.........<body><![ |
197de0 | 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 43 61 63 68 65 20 74 68 65 20 64 61 | CDATA[...........//.Cache.the.da |
197e00 | 74 61 54 72 61 6e 73 66 65 72 0a 20 20 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 43 6f 6e 74 72 | taTransfer...........PlacesContr |
197e20 | 6f 6c 6c 65 72 44 72 61 67 48 65 6c 70 65 72 2e 63 75 72 72 65 6e 74 44 61 74 61 54 72 61 6e 73 | ollerDragHelper.currentDataTrans |
197e40 | 66 65 72 20 3d 20 61 45 76 65 6e 74 2e 64 61 74 61 54 72 61 6e 73 66 65 72 3b 0a 0a 20 20 20 20 | fer.=.aEvent.dataTransfer;...... |
197e60 | 20 20 20 20 20 20 76 61 72 20 64 72 6f 70 50 6f 69 6e 74 20 3d 20 74 68 69 73 2e 5f 67 65 74 44 | ......var.dropPoint.=.this._getD |
197e80 | 72 6f 70 50 6f 69 6e 74 28 61 45 76 65 6e 74 29 3b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 | ropPoint(aEvent);...........if.( |
197ea0 | 21 64 72 6f 70 50 6f 69 6e 74 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a | !dropPoint).............return;. |
197ec0 | 0a 20 20 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 43 6f 6e 74 72 6f 6c 6c 65 72 44 72 61 67 48 | ...........PlacesControllerDragH |
197ee0 | 65 6c 70 65 72 2e 6f 6e 44 72 6f 70 28 64 72 6f 70 50 6f 69 6e 74 2e 69 70 29 3b 0a 20 20 20 20 | elper.onDrop(dropPoint.ip);..... |
197f00 | 20 20 20 20 20 20 61 45 76 65 6e 74 2e 73 74 6f 70 50 72 6f 70 61 67 61 74 69 6f 6e 28 29 3b 0a | ......aEvent.stopPropagation();. |
197f20 | 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f | ........]]></body>.......</metho |
197f40 | 64 3e 0a 0a 20 20 20 20 20 20 3c 21 2d 2d 20 54 68 69 73 20 72 65 74 75 72 6e 73 20 74 68 65 20 | d>........<!--.This.returns.the. |
197f60 | 46 61 76 6f 75 72 53 65 74 20 61 63 63 65 70 74 65 64 20 62 79 20 74 68 69 73 20 70 6f 70 75 70 | FavourSet.accepted.by.this.popup |
197f80 | 20 2d 2d 3e 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 67 65 74 53 75 70 70 | .-->.......<method.name="getSupp |
197fa0 | 6f 72 74 65 64 46 6c 61 76 6f 75 72 73 22 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 3c 21 | ortedFlavours">.........<body><! |
197fc0 | 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 50 6c 61 63 65 73 43 | [CDATA[...........return.PlacesC |
197fe0 | 6f 6e 74 72 6f 6c 6c 65 72 44 72 61 67 48 65 6c 70 65 72 2e 66 6c 61 76 6f 75 72 53 65 74 3b 0a | ontrollerDragHelper.flavourSet;. |
198000 | 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f | ........]]></body>.......</metho |
198020 | 64 3e 0a 0a 20 20 20 20 20 20 3c 21 2d 2d 20 43 68 65 63 6b 20 69 66 20 77 65 20 73 68 6f 75 6c | d>........<!--.Check.if.we.shoul |
198040 | 64 20 68 69 64 65 20 74 68 65 20 64 72 6f 70 20 69 6e 64 69 63 61 74 6f 72 20 66 6f 72 20 74 68 | d.hide.the.drop.indicator.for.th |
198060 | 65 20 74 61 72 67 65 74 20 2d 2d 3e 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d | e.target.-->.......<method.name= |
198080 | 22 5f 68 69 64 65 44 72 6f 70 49 6e 64 69 63 61 74 6f 72 22 3e 0a 20 20 20 20 20 20 20 20 3c 70 | "_hideDropIndicator">.........<p |
1980a0 | 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 45 76 65 6e 74 22 2f 3e 0a 20 20 20 20 20 20 20 | arameter.name="aEvent"/>........ |
1980c0 | 20 3c 62 6f 64 79 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 74 | .<body><![CDATA[...........var.t |
1980e0 | 61 72 67 65 74 20 3d 20 61 45 76 65 6e 74 2e 74 61 72 67 65 74 3b 0a 0a 20 20 20 20 20 20 20 20 | arget.=.aEvent.target;.......... |
198100 | 20 20 2f 2f 20 69 6e 20 73 6f 6d 65 20 76 69 65 77 20 77 65 20 68 61 76 65 20 5f 73 74 61 72 74 | ..//.in.some.view.we.have._start |
198120 | 4d 61 72 6b 65 72 20 61 6e 64 20 5f 65 6e 64 4d 61 72 6b 65 72 2c 20 77 65 20 73 68 6f 75 6c 64 | Marker.and._endMarker,.we.should |
198140 | 20 6e 6f 74 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 64 72 61 77 20 74 68 65 20 64 72 6f 70 20 | .not...........//.draw.the.drop. |
198160 | 69 6e 64 69 63 61 74 6f 72 20 6f 75 74 73 69 64 65 20 6f 66 20 74 68 65 6d 0a 20 20 20 20 20 20 | indicator.outside.of.them....... |
198180 | 20 20 20 20 76 61 72 20 62 65 74 77 65 65 6e 4d 61 72 6b 65 72 73 20 3d 20 74 72 75 65 3b 0a 20 | ....var.betweenMarkers.=.true;.. |
1981a0 | 20 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 73 74 61 72 74 4d 61 72 6b 65 72 20 21 | .........if.(this._startMarker.! |
1981c0 | 3d 20 2d 31 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 61 72 67 65 74 2e 62 6f 78 | =.-1.&&...............target.box |
1981e0 | 4f 62 6a 65 63 74 2e 79 20 3c 3d 20 74 68 69 73 2e 63 68 69 6c 64 4e 6f 64 65 73 5b 74 68 69 73 | Object.y.<=.this.childNodes[this |
198200 | 2e 5f 73 74 61 72 74 4d 61 72 6b 65 72 5d 2e 62 6f 78 4f 62 6a 65 63 74 2e 79 29 0a 20 20 20 20 | ._startMarker].boxObject.y)..... |
198220 | 20 20 20 20 20 20 20 20 62 65 74 77 65 65 6e 4d 61 72 6b 65 72 73 20 3d 20 66 61 6c 73 65 3b 0a | ........betweenMarkers.=.false;. |
198240 | 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 65 6e 64 4d 61 72 6b 65 72 20 21 3d | ..........if.(this._endMarker.!= |
198260 | 20 2d 31 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 61 72 67 65 74 2e 62 6f 78 4f | .-1.&&...............target.boxO |
198280 | 62 6a 65 63 74 2e 79 20 3e 3d 20 74 68 69 73 2e 63 68 69 6c 64 4e 6f 64 65 73 5b 74 68 69 73 2e | bject.y.>=.this.childNodes[this. |
1982a0 | 5f 65 6e 64 4d 61 72 6b 65 72 5d 2e 62 6f 78 4f 62 6a 65 63 74 2e 79 29 0a 20 20 20 20 20 20 20 | _endMarker].boxObject.y)........ |
1982c0 | 20 20 20 20 20 62 65 74 77 65 65 6e 4d 61 72 6b 65 72 73 20 3d 20 66 61 6c 73 65 3b 0a 0a 20 20 | .....betweenMarkers.=.false;.... |
1982e0 | 20 20 20 20 20 20 20 20 2f 2f 20 68 69 64 65 20 74 68 65 20 64 72 6f 70 6d 61 72 6b 65 72 20 69 | ........//.hide.the.dropmarker.i |
198300 | 66 20 63 75 72 72 65 6e 74 20 6e 6f 64 65 20 69 73 20 6e 6f 74 20 61 20 70 6c 61 63 65 73 20 62 | f.current.node.is.not.a.places.b |
198320 | 6f 6f 6b 6d 61 72 6b 20 69 74 65 6d 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 21 28 | ookmark.item...........return.!( |
198340 | 74 61 72 67 65 74 20 26 26 20 74 61 72 67 65 74 2e 6e 6f 64 65 20 26 26 20 62 65 74 77 65 65 6e | target.&&.target.node.&&.between |
198360 | 4d 61 72 6b 65 72 73 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 | Markers.&&....................th |
198380 | 69 73 2e 63 61 6e 44 72 6f 70 28 61 45 76 65 6e 74 29 29 3b 0a 20 20 20 20 20 20 20 20 5d 5d 3e | is.canDrop(aEvent));.........]]> |
1983a0 | 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c | </body>.......</method>........< |
1983c0 | 21 2d 2d 20 54 68 69 73 20 66 75 6e 63 74 69 6f 6e 20 72 65 74 75 72 6e 73 20 69 6e 66 6f 72 6d | !--.This.function.returns.inform |
1983e0 | 61 74 69 6f 6e 20 61 62 6f 75 74 20 77 68 65 72 65 20 74 6f 20 64 72 6f 70 20 77 68 65 6e 0a 20 | ation.about.where.to.drop.when.. |
198400 | 20 20 20 20 20 20 20 20 20 20 64 72 61 67 67 69 6e 67 20 6f 76 65 72 20 74 68 69 73 20 70 6f 70 | ..........dragging.over.this.pop |
198420 | 75 70 20 69 6e 73 65 72 74 69 6f 6e 20 70 6f 69 6e 74 20 2d 2d 3e 0a 20 20 20 20 20 20 3c 6d 65 | up.insertion.point.-->.......<me |
198440 | 74 68 6f 64 20 6e 61 6d 65 3d 22 5f 67 65 74 44 72 6f 70 50 6f 69 6e 74 22 3e 0a 20 20 20 20 20 | thod.name="_getDropPoint">...... |
198460 | 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 45 76 65 6e 74 22 2f 3e 0a 20 20 | ...<parameter.name="aEvent"/>... |
198480 | 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 | ........<body><![CDATA[......... |
1984a0 | 20 20 20 20 2f 2f 20 43 61 6e 27 74 20 64 72 6f 70 20 69 66 20 74 68 65 20 6d 65 6e 75 20 69 73 | ....//.Can't.drop.if.the.menu.is |
1984c0 | 6e 27 74 20 61 20 66 6f 6c 64 65 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 72 65 73 | n't.a.folder.............var.res |
1984e0 | 75 6c 74 4e 6f 64 65 20 3d 20 74 68 69 73 2e 5f 72 65 73 75 6c 74 4e 6f 64 65 3b 0a 0a 20 20 20 | ultNode.=.this._resultNode;..... |
198500 | 20 20 20 20 20 20 20 20 20 69 66 20 28 21 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 | .........if.(!PlacesUtils.nodeIs |
198520 | 46 6f 6c 64 65 72 28 72 65 73 75 6c 74 4e 6f 64 65 29 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 | Folder(resultNode).||........... |
198540 | 20 20 20 20 20 20 50 6c 61 63 65 73 43 6f 6e 74 72 6f 6c 6c 65 72 44 72 61 67 48 65 6c 70 65 72 | ......PlacesControllerDragHelper |
198560 | 2e 64 69 73 61 6c 6c 6f 77 49 6e 73 65 72 74 69 6f 6e 28 72 65 73 75 6c 74 4e 6f 64 65 29 29 20 | .disallowInsertion(resultNode)). |
198580 | 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 45 76 65 6e 74 2e 64 61 74 61 54 72 61 6e 73 | {...............aEvent.dataTrans |
1985a0 | 66 65 72 2e 65 66 66 65 63 74 41 6c 6c 6f 77 65 64 20 3d 20 22 6e 6f 6e 65 22 3b 0a 20 20 20 20 | fer.effectAllowed.=."none";..... |
1985c0 | 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 6e 75 6c 6c 3b 0a 20 20 20 20 20 20 20 20 20 | ..........return.null;.......... |
1985e0 | 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 64 72 6f 70 50 6f 69 6e 74 20 | ...}..............var.dropPoint. |
198600 | 3d 20 7b 20 69 70 3a 20 6e 75 6c 6c 2c 20 66 6f 6c 64 65 72 4e 6f 64 65 3a 20 6e 75 6c 6c 20 7d | =.{.ip:.null,.folderNode:.null.} |
198620 | 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 54 68 65 20 6e 6f 64 65 20 77 65 20 61 72 | ;..............//.The.node.we.ar |
198640 | 65 20 64 72 61 67 67 69 6e 67 20 6f 76 65 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 | e.dragging.over.............var. |
198660 | 78 75 6c 4e 6f 64 65 20 3d 20 61 45 76 65 6e 74 2e 74 61 72 67 65 74 3b 0a 0a 20 20 20 20 20 20 | xulNode.=.aEvent.target;........ |
198680 | 20 20 20 20 20 20 2f 2f 20 43 61 6c 63 75 6c 61 74 65 20 70 6f 73 69 74 69 6f 6e 73 20 74 61 6b | ......//.Calculate.positions.tak |
1986a0 | 69 6e 67 20 63 61 72 65 20 6f 66 20 61 72 72 6f 77 73 63 72 6f 6c 6c 62 6f 78 0a 20 20 20 20 20 | ing.care.of.arrowscrollbox...... |
1986c0 | 20 20 20 20 20 20 20 76 61 72 20 65 76 65 6e 74 59 20 3d 20 61 45 76 65 6e 74 2e 6c 61 79 65 72 | .......var.eventY.=.aEvent.layer |
1986e0 | 59 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 73 63 72 6f 6c 6c 62 6f 78 20 3d 20 74 | Y;.............var.scrollbox.=.t |
198700 | 68 69 73 2e 5f 73 63 72 6f 6c 6c 42 6f 78 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 | his._scrollBox;.............var. |
198720 | 73 63 72 6f 6c 6c 62 6f 78 4f 66 66 73 65 74 20 3d 20 73 63 72 6f 6c 6c 62 6f 78 2e 73 63 72 6f | scrollboxOffset.=.scrollbox.scro |
198740 | 6c 6c 42 6f 78 4f 62 6a 65 63 74 2e 79 20 2d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | llBoxObject.y.-................. |
198760 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 73 63 72 6f 6c 6c 62 6f 78 2e 62 6f 78 | ..................(scrollbox.box |
198780 | 4f 62 6a 65 63 74 2e 79 20 2d 20 74 68 69 73 2e 62 6f 78 4f 62 6a 65 63 74 2e 79 29 3b 0a 20 20 | Object.y.-.this.boxObject.y);... |
1987a0 | 20 20 20 20 20 20 20 20 20 20 76 61 72 20 6e 6f 64 65 59 20 3d 20 78 75 6c 4e 6f 64 65 2e 62 6f | ..........var.nodeY.=.xulNode.bo |
1987c0 | 78 4f 62 6a 65 63 74 2e 79 20 2d 20 73 63 72 6f 6c 6c 62 6f 78 4f 66 66 73 65 74 3b 0a 20 20 20 | xObject.y.-.scrollboxOffset;.... |
1987e0 | 20 20 20 20 20 20 20 20 20 76 61 72 20 6e 6f 64 65 48 65 69 67 68 74 20 3d 20 78 75 6c 4e 6f 64 | .........var.nodeHeight.=.xulNod |
198800 | 65 2e 62 6f 78 4f 62 6a 65 63 74 2e 68 65 69 67 68 74 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 | e.boxObject.height;............. |
198820 | 20 69 66 20 28 21 78 75 6c 4e 6f 64 65 2e 6e 6f 64 65 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 | .if.(!xulNode.node).{........... |
198840 | 20 20 20 20 2f 2f 20 69 66 20 77 65 20 61 72 65 20 64 72 61 67 67 69 6e 67 20 6f 76 65 72 20 61 | ....//.if.we.are.dragging.over.a |
198860 | 20 6e 6f 6e 20 70 6c 61 63 65 73 20 6e 6f 64 65 20 64 72 6f 70 20 61 74 20 74 68 65 20 65 6e 64 | .non.places.node.drop.at.the.end |
198880 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 72 6f 70 50 6f 69 6e 74 2e 69 70 20 3d 20 6e 65 | ...............dropPoint.ip.=.ne |
1988a0 | 77 20 49 6e 73 65 72 74 69 6f 6e 50 6f 69 6e 74 28 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | w.InsertionPoint(............... |
1988c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 55 74 69 6c 73 2e | ....................PlacesUtils. |
1988e0 | 67 65 74 43 6f 6e 63 72 65 74 65 49 74 65 6d 49 64 28 72 65 73 75 6c 74 4e 6f 64 65 29 2c 0a 20 | getConcreteItemId(resultNode),.. |
198900 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
198920 | 20 2d 31 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .-1,............................ |
198940 | 20 20 20 20 20 20 20 43 69 2e 6e 73 49 54 72 65 65 56 69 65 77 2e 44 52 4f 50 5f 4f 4e 29 3b 0a | .......Ci.nsITreeView.DROP_ON);. |
198960 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 64 72 6f 70 50 6f 69 6e 74 3b 0a | ..............return.dropPoint;. |
198980 | 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 20 69 | ............}.............else.i |
1989a0 | 66 20 28 28 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 46 6f 6c 64 65 72 28 78 75 6c | f.((PlacesUtils.nodeIsFolder(xul |
1989c0 | 4e 6f 64 65 2e 6e 6f 64 65 29 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | Node.node).||................... |
1989e0 | 20 20 20 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 54 61 67 51 75 65 72 79 28 78 | ....PlacesUtils.nodeIsTagQuery(x |
198a00 | 75 6c 4e 6f 64 65 2e 6e 6f 64 65 29 29 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ulNode.node)).&&................ |
198a20 | 20 20 20 20 20 20 21 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 52 65 61 64 4f 6e 6c | ......!PlacesUtils.nodeIsReadOnl |
198a40 | 79 28 78 75 6c 4e 6f 64 65 2e 6e 6f 64 65 29 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | y(xulNode.node)).{.............. |
198a60 | 20 2f 2f 20 54 68 69 73 20 69 73 20 61 20 66 6f 6c 64 65 72 20 6f 72 20 61 20 74 61 67 20 63 6f | .//.This.is.a.folder.or.a.tag.co |
198a80 | 6e 74 61 69 6e 65 72 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 65 76 65 6e 74 | ntainer................if.(event |
198aa0 | 59 20 2d 20 6e 6f 64 65 59 20 3c 20 6e 6f 64 65 48 65 69 67 68 74 20 2a 20 30 2e 32 30 29 20 7b | Y.-.nodeY.<.nodeHeight.*.0.20).{ |
198ac0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 49 66 20 6d 6f 75 73 65 20 69 73 20 | .................//.If.mouse.is. |
198ae0 | 69 6e 20 74 68 65 20 74 6f 70 20 70 61 72 74 20 6f 66 20 74 68 65 20 6e 6f 64 65 2c 20 64 72 6f | in.the.top.part.of.the.node,.dro |
198b00 | 70 20 61 62 6f 76 65 20 66 6f 6c 64 65 72 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | p.above.folder.................. |
198b20 | 64 72 6f 70 50 6f 69 6e 74 2e 69 70 20 3d 20 6e 65 77 20 49 6e 73 65 72 74 69 6f 6e 50 6f 69 6e | dropPoint.ip.=.new.InsertionPoin |
198b40 | 74 28 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | t(.............................. |
198b60 | 20 20 20 20 20 20 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 67 65 74 43 6f 6e 63 72 65 74 65 49 74 | .......PlacesUtils.getConcreteIt |
198b80 | 65 6d 49 64 28 72 65 73 75 6c 74 4e 6f 64 65 29 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | emId(resultNode),............... |
198ba0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2d 31 2c 0a 20 20 20 20 20 20 | ......................-1,....... |
198bc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 43 69 | ..............................Ci |
198be0 | 2e 6e 73 49 54 72 65 65 56 69 65 77 2e 44 52 4f 50 5f 42 45 46 4f 52 45 2c 0a 20 20 20 20 20 20 | .nsITreeView.DROP_BEFORE,....... |
198c00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 50 6c | ..............................Pl |
198c20 | 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 54 61 67 51 75 65 72 79 28 78 75 6c 4e 6f 64 65 | acesUtils.nodeIsTagQuery(xulNode |
198c40 | 2e 6e 6f 64 65 29 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .node),......................... |
198c60 | 20 20 20 20 20 20 20 20 20 20 20 20 78 75 6c 4e 6f 64 65 2e 6e 6f 64 65 2e 69 74 65 6d 49 64 29 | ............xulNode.node.itemId) |
198c80 | 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 64 72 6f 70 50 6f 69 | ;.................return.dropPoi |
198ca0 | 6e 74 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 | nt;...............}............. |
198cc0 | 20 20 65 6c 73 65 20 69 66 20 28 65 76 65 6e 74 59 20 2d 20 6e 6f 64 65 59 20 3c 20 6e 6f 64 65 | ..else.if.(eventY.-.nodeY.<.node |
198ce0 | 48 65 69 67 68 74 20 2a 20 30 2e 38 30 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | Height.*.0.80).{................ |
198d00 | 20 2f 2f 20 49 66 20 6d 6f 75 73 65 20 69 73 20 69 6e 20 74 68 65 20 6d 69 64 64 6c 65 20 6f 66 | .//.If.mouse.is.in.the.middle.of |
198d20 | 20 74 68 65 20 6e 6f 64 65 2c 20 64 72 6f 70 20 69 6e 73 69 64 65 20 66 6f 6c 64 65 72 2e 0a 20 | .the.node,.drop.inside.folder... |
198d40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 72 6f 70 50 6f 69 6e 74 2e 69 70 20 3d 20 6e 65 | ...............dropPoint.ip.=.ne |
198d60 | 77 20 49 6e 73 65 72 74 69 6f 6e 50 6f 69 6e 74 28 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | w.InsertionPoint(............... |
198d80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 55 74 69 6c | ......................PlacesUtil |
198da0 | 73 2e 67 65 74 43 6f 6e 63 72 65 74 65 49 74 65 6d 49 64 28 78 75 6c 4e 6f 64 65 2e 6e 6f 64 65 | s.getConcreteItemId(xulNode.node |
198dc0 | 29 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ),.............................. |
198de0 | 20 20 20 20 20 20 20 2d 31 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .......-1,...................... |
198e00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 43 69 2e 6e 73 49 54 72 65 65 56 69 65 77 2e 44 52 | ...............Ci.nsITreeView.DR |
198e20 | 4f 50 5f 4f 4e 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | OP_ON,.......................... |
198e40 | 20 20 20 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 54 61 67 | ...........PlacesUtils.nodeIsTag |
198e60 | 51 75 65 72 79 28 78 75 6c 4e 6f 64 65 2e 6e 6f 64 65 29 29 3b 0a 20 20 20 20 20 20 20 20 20 20 | Query(xulNode.node));........... |
198e80 | 20 20 20 20 20 20 64 72 6f 70 50 6f 69 6e 74 2e 66 6f 6c 64 65 72 4e 6f 64 65 20 3d 20 78 75 6c | ......dropPoint.folderNode.=.xul |
198ea0 | 4e 6f 64 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 64 72 6f | Node;.................return.dro |
198ec0 | 70 50 6f 69 6e 74 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 | pPoint;...............}......... |
198ee0 | 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 20 69 66 20 28 65 76 65 6e 74 | ....}.............else.if.(event |
198f00 | 59 20 2d 20 6e 6f 64 65 59 20 3c 3d 20 6e 6f 64 65 48 65 69 67 68 74 20 2f 20 32 29 20 7b 0a 20 | Y.-.nodeY.<=.nodeHeight./.2).{.. |
198f20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 54 68 69 73 20 69 73 20 61 20 6e 6f 6e 2d 66 6f | .............//.This.is.a.non-fo |
198f40 | 6c 64 65 72 20 6e 6f 64 65 20 6f 72 20 61 20 72 65 61 64 6f 6e 6c 79 20 66 6f 6c 64 65 72 2e 0a | lder.node.or.a.readonly.folder.. |
198f60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 49 66 20 74 68 65 20 6d 6f 75 73 65 20 69 73 | ..............//.If.the.mouse.is |
198f80 | 20 61 62 6f 76 65 20 74 68 65 20 6d 69 64 64 6c 65 2c 20 64 72 6f 70 20 61 62 6f 76 65 20 74 68 | .above.the.middle,.drop.above.th |
198fa0 | 69 73 20 69 74 65 6d 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 72 6f 70 50 6f 69 6e 74 | is.item................dropPoint |
198fc0 | 2e 69 70 20 3d 20 6e 65 77 20 49 6e 73 65 72 74 69 6f 6e 50 6f 69 6e 74 28 0a 20 20 20 20 20 20 | .ip.=.new.InsertionPoint(....... |
198fe0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 50 6c 61 63 | ............................Plac |
199000 | 65 73 55 74 69 6c 73 2e 67 65 74 43 6f 6e 63 72 65 74 65 49 74 65 6d 49 64 28 72 65 73 75 6c 74 | esUtils.getConcreteItemId(result |
199020 | 4e 6f 64 65 29 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | Node),.......................... |
199040 | 20 20 20 20 20 20 20 20 20 2d 31 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .........-1,.................... |
199060 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 43 69 2e 6e 73 49 54 72 65 65 56 69 65 77 2e 44 52 | ...............Ci.nsITreeView.DR |
199080 | 4f 50 5f 42 45 46 4f 52 45 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | OP_BEFORE,...................... |
1990a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 54 | .............PlacesUtils.nodeIsT |
1990c0 | 61 67 51 75 65 72 79 28 78 75 6c 4e 6f 64 65 2e 6e 6f 64 65 29 2c 0a 20 20 20 20 20 20 20 20 20 | agQuery(xulNode.node),.......... |
1990e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 78 75 6c 4e 6f 64 65 | .........................xulNode |
199100 | 2e 6e 6f 64 65 2e 69 74 65 6d 49 64 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 | .node.itemId);...............ret |
199120 | 75 72 6e 20 64 72 6f 70 50 6f 69 6e 74 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 | urn.dropPoint;.............}.... |
199140 | 20 20 20 20 20 20 20 20 20 20 2f 2f 20 44 72 6f 70 20 62 65 6c 6f 77 20 74 68 65 20 69 74 65 6d | ..........//.Drop.below.the.item |
199160 | 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 64 72 6f 70 50 6f 69 6e 74 2e 69 70 20 3d 20 6e 65 77 | ..............dropPoint.ip.=.new |
199180 | 20 49 6e 73 65 72 74 69 6f 6e 50 6f 69 6e 74 28 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .InsertionPoint(................ |
1991a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 67 65 74 | .................PlacesUtils.get |
1991c0 | 43 6f 6e 63 72 65 74 65 49 74 65 6d 49 64 28 72 65 73 75 6c 74 4e 6f 64 65 29 2c 0a 20 20 20 20 | ConcreteItemId(resultNode),..... |
1991e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2d 31 2c 0a | ............................-1,. |
199200 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
199220 | 43 69 2e 6e 73 49 54 72 65 65 56 69 65 77 2e 44 52 4f 50 5f 41 46 54 45 52 2c 0a 20 20 20 20 20 | Ci.nsITreeView.DROP_AFTER,...... |
199240 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 50 6c 61 63 65 | ...........................Place |
199260 | 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 54 61 67 51 75 65 72 79 28 78 75 6c 4e 6f 64 65 2e 6e 6f | sUtils.nodeIsTagQuery(xulNode.no |
199280 | 64 65 29 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | de),............................ |
1992a0 | 20 20 20 20 20 78 75 6c 4e 6f 64 65 2e 6e 6f 64 65 2e 69 74 65 6d 49 64 29 3b 0a 20 20 20 20 20 | .....xulNode.node.itemId);...... |
1992c0 | 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 64 72 6f 70 50 6f 69 6e 74 3b 0a 20 20 20 20 20 20 20 | .......return.dropPoint;........ |
1992e0 | 20 5d 5d 3e 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 | .]]></body>.......</method>..... |
199300 | 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 63 61 6e 44 72 6f 70 22 3e 0a 20 20 20 20 20 | ...<method.name="canDrop">...... |
199320 | 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 45 76 65 6e 74 22 2f 3e 0a 20 20 | ...<parameter.name="aEvent"/>... |
199340 | 20 20 20 20 20 20 3c 62 6f 64 79 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 | ......<body><![CDATA[........... |
199360 | 2f 2f 20 43 61 63 68 65 20 74 68 65 20 64 61 74 61 54 72 61 6e 73 66 65 72 0a 20 20 20 20 20 20 | //.Cache.the.dataTransfer....... |
199380 | 20 20 20 20 50 6c 61 63 65 73 43 6f 6e 74 72 6f 6c 6c 65 72 44 72 61 67 48 65 6c 70 65 72 2e 63 | ....PlacesControllerDragHelper.c |
1993a0 | 75 72 72 65 6e 74 44 61 74 61 54 72 61 6e 73 66 65 72 20 3d 20 61 45 76 65 6e 74 2e 64 61 74 61 | urrentDataTransfer.=.aEvent.data |
1993c0 | 54 72 61 6e 73 66 65 72 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 69 70 20 3d 20 74 68 | Transfer;............var.ip.=.th |
1993e0 | 69 73 2e 5f 72 6f 6f 74 56 69 65 77 2e 69 6e 73 65 72 74 69 6f 6e 50 6f 69 6e 74 3b 0a 20 20 20 | is._rootView.insertionPoint;.... |
199400 | 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 69 70 20 26 26 20 50 6c 61 63 65 73 43 6f 6e 74 72 6f | .......return.ip.&&.PlacesContro |
199420 | 6c 6c 65 72 44 72 61 67 48 65 6c 70 65 72 2e 63 61 6e 44 72 6f 70 28 69 70 29 3b 0a 20 20 20 20 | llerDragHelper.canDrop(ip);..... |
199440 | 20 20 20 20 5d 5d 3e 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a | ....]]></body>.......</method>.. |
199460 | 20 20 20 20 20 20 3c 21 2d 2d 20 53 75 62 2d 6d 65 6e 75 73 20 73 68 6f 75 6c 64 20 62 65 20 6f | ......<!--.Sub-menus.should.be.o |
199480 | 70 65 6e 65 64 20 77 68 65 6e 20 74 68 65 20 6d 6f 75 73 65 20 64 72 61 67 73 20 6f 76 65 72 20 | pened.when.the.mouse.drags.over. |
1994a0 | 74 68 65 6d 2c 20 61 6e 64 20 63 6c 6f 73 65 64 0a 20 20 20 20 20 20 20 20 20 20 20 77 68 65 6e | them,.and.closed............when |
1994c0 | 20 74 68 65 20 6d 6f 75 73 65 20 64 72 61 67 73 20 6f 66 66 2e 20 20 54 68 65 20 6f 76 65 72 46 | .the.mouse.drags.off...The.overF |
1994e0 | 6f 6c 64 65 72 20 6f 62 6a 65 63 74 20 6d 61 6e 61 67 65 73 20 6f 70 65 6e 69 6e 67 20 61 6e 64 | older.object.manages.opening.and |
199500 | 0a 20 20 20 20 20 20 20 20 20 20 20 63 6c 6f 73 69 6e 67 20 6f 66 20 66 6f 6c 64 65 72 73 20 77 | ............closing.of.folders.w |
199520 | 68 65 6e 20 74 68 65 20 6d 6f 75 73 65 20 68 6f 76 65 72 73 2e 20 2d 2d 3e 0a 20 20 20 20 20 20 | hen.the.mouse.hovers..-->....... |
199540 | 3c 66 69 65 6c 64 20 6e 61 6d 65 3d 22 5f 6f 76 65 72 46 6f 6c 64 65 72 22 3e 3c 21 5b 43 44 41 | <field.name="_overFolder"><![CDA |
199560 | 54 41 5b 28 7b 0a 20 20 20 20 20 20 20 20 5f 73 65 6c 66 3a 20 74 68 69 73 2c 0a 20 20 20 20 20 | TA[({........._self:.this,...... |
199580 | 20 20 20 5f 66 6f 6c 64 65 72 3a 20 7b 6e 6f 64 65 3a 20 6e 75 6c 6c 2c 0a 20 20 20 20 20 20 20 | ..._folder:.{node:.null,........ |
1995a0 | 20 20 20 20 20 20 20 20 20 20 20 6f 70 65 6e 54 69 6d 65 72 3a 20 6e 75 6c 6c 2c 0a 20 20 20 20 | ...........openTimer:.null,..... |
1995c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 68 6f 76 65 72 54 69 6d 65 3a 20 33 35 30 2c 0a 20 20 | ..............hoverTime:.350,... |
1995e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6c 6f 73 65 54 69 6d 65 72 3a 20 6e 75 6c 6c | ................closeTimer:.null |
199600 | 7d 2c 0a 20 20 20 20 20 20 20 20 5f 63 6c 6f 73 65 4d 65 6e 75 54 69 6d 65 72 3a 20 6e 75 6c 6c | },........._closeMenuTimer:.null |
199620 | 2c 0a 0a 20 20 20 20 20 20 20 20 67 65 74 20 6e 6f 64 65 28 29 20 7b 0a 20 20 20 20 20 20 20 20 | ,..........get.node().{......... |
199640 | 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 66 6f 6c 64 65 72 2e 6e 6f 64 65 3b 0a 20 20 20 20 | ..return.this._folder.node;..... |
199660 | 20 20 20 20 7d 2c 0a 20 20 20 20 20 20 20 20 73 65 74 20 6e 6f 64 65 28 76 61 6c 29 20 7b 0a 20 | ....},.........set.node(val).{.. |
199680 | 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 66 6f 6c 64 65 72 2e 6e 6f 64 | .........return.this._folder.nod |
1996a0 | 65 20 3d 20 76 61 6c 3b 0a 20 20 20 20 20 20 20 20 7d 2c 0a 0a 20 20 20 20 20 20 20 20 67 65 74 | e.=.val;.........},..........get |
1996c0 | 20 6f 70 65 6e 54 69 6d 65 72 28 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 | .openTimer().{...........return. |
1996e0 | 74 68 69 73 2e 5f 66 6f 6c 64 65 72 2e 6f 70 65 6e 54 69 6d 65 72 3b 0a 20 20 20 20 20 20 20 20 | this._folder.openTimer;......... |
199700 | 7d 2c 0a 20 20 20 20 20 20 20 20 73 65 74 20 6f 70 65 6e 54 69 6d 65 72 28 76 61 6c 29 20 7b 0a | },.........set.openTimer(val).{. |
199720 | 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 66 6f 6c 64 65 72 2e 6f 70 | ..........return.this._folder.op |
199740 | 65 6e 54 69 6d 65 72 20 3d 20 76 61 6c 3b 0a 20 20 20 20 20 20 20 20 7d 2c 0a 0a 20 20 20 20 20 | enTimer.=.val;.........},....... |
199760 | 20 20 20 67 65 74 20 68 6f 76 65 72 54 69 6d 65 28 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 72 | ...get.hoverTime().{...........r |
199780 | 65 74 75 72 6e 20 74 68 69 73 2e 5f 66 6f 6c 64 65 72 2e 68 6f 76 65 72 54 69 6d 65 3b 0a 20 20 | eturn.this._folder.hoverTime;... |
1997a0 | 20 20 20 20 20 20 7d 2c 0a 20 20 20 20 20 20 20 20 73 65 74 20 68 6f 76 65 72 54 69 6d 65 28 76 | ......},.........set.hoverTime(v |
1997c0 | 61 6c 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 66 6f 6c | al).{...........return.this._fol |
1997e0 | 64 65 72 2e 68 6f 76 65 72 54 69 6d 65 20 3d 20 76 61 6c 3b 0a 20 20 20 20 20 20 20 20 7d 2c 0a | der.hoverTime.=.val;.........},. |
199800 | 0a 20 20 20 20 20 20 20 20 67 65 74 20 63 6c 6f 73 65 54 69 6d 65 72 28 29 20 7b 0a 20 20 20 20 | .........get.closeTimer().{..... |
199820 | 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 66 6f 6c 64 65 72 2e 63 6c 6f 73 65 54 | ......return.this._folder.closeT |
199840 | 69 6d 65 72 3b 0a 20 20 20 20 20 20 20 20 7d 2c 0a 20 20 20 20 20 20 20 20 73 65 74 20 63 6c 6f | imer;.........},.........set.clo |
199860 | 73 65 54 69 6d 65 72 28 76 61 6c 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 | seTimer(val).{...........return. |
199880 | 74 68 69 73 2e 5f 66 6f 6c 64 65 72 2e 63 6c 6f 73 65 54 69 6d 65 72 20 3d 20 76 61 6c 3b 0a 20 | this._folder.closeTimer.=.val;.. |
1998a0 | 20 20 20 20 20 20 20 7d 2c 0a 0a 20 20 20 20 20 20 20 20 67 65 74 20 63 6c 6f 73 65 4d 65 6e 75 | .......},..........get.closeMenu |
1998c0 | 54 69 6d 65 72 28 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e | Timer().{...........return.this. |
1998e0 | 5f 63 6c 6f 73 65 4d 65 6e 75 54 69 6d 65 72 3b 0a 20 20 20 20 20 20 20 20 7d 2c 0a 20 20 20 20 | _closeMenuTimer;.........},..... |
199900 | 20 20 20 20 73 65 74 20 63 6c 6f 73 65 4d 65 6e 75 54 69 6d 65 72 28 76 61 6c 29 20 7b 0a 20 20 | ....set.closeMenuTimer(val).{... |
199920 | 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 63 6c 6f 73 65 4d 65 6e 75 54 69 | ........return.this._closeMenuTi |
199940 | 6d 65 72 20 3d 20 76 61 6c 3b 0a 20 20 20 20 20 20 20 20 7d 2c 0a 0a 20 20 20 20 20 20 20 20 73 | mer.=.val;.........},..........s |
199960 | 65 74 54 69 6d 65 72 3a 20 66 75 6e 63 74 69 6f 6e 20 4f 46 5f 5f 73 65 74 54 69 6d 65 72 28 61 | etTimer:.function.OF__setTimer(a |
199980 | 54 69 6d 65 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 74 69 6d 65 72 20 3d 20 43 63 | Time).{...........var.timer.=.Cc |
1999a0 | 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 74 69 6d 65 72 3b 31 22 5d 2e 63 72 65 61 74 65 49 | ["@mozilla.org/timer;1"].createI |
1999c0 | 6e 73 74 61 6e 63 65 28 43 69 2e 6e 73 49 54 69 6d 65 72 29 3b 0a 20 20 20 20 20 20 20 20 20 20 | nstance(Ci.nsITimer);........... |
1999e0 | 74 69 6d 65 72 2e 69 6e 69 74 57 69 74 68 43 61 6c 6c 62 61 63 6b 28 74 68 69 73 2c 20 61 54 69 | timer.initWithCallback(this,.aTi |
199a00 | 6d 65 2c 20 74 69 6d 65 72 2e 54 59 50 45 5f 4f 4e 45 5f 53 48 4f 54 29 3b 0a 20 20 20 20 20 20 | me,.timer.TYPE_ONE_SHOT);....... |
199a20 | 20 20 20 20 72 65 74 75 72 6e 20 74 69 6d 65 72 3b 0a 20 20 20 20 20 20 20 20 7d 2c 0a 0a 20 20 | ....return.timer;.........},.... |
199a40 | 20 20 20 20 20 20 6e 6f 74 69 66 79 3a 20 66 75 6e 63 74 69 6f 6e 20 4f 46 5f 5f 6e 6f 74 69 66 | ......notify:.function.OF__notif |
199a60 | 79 28 61 54 69 6d 65 72 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 46 75 6e 63 74 69 6f | y(aTimer).{...........//.Functio |
199a80 | 6e 20 74 6f 20 70 72 6f 63 65 73 73 20 61 6c 6c 20 74 69 6d 65 72 20 6e 6f 74 69 66 69 63 61 74 | n.to.process.all.timer.notificat |
199aa0 | 69 6f 6e 73 2e 0a 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 61 54 69 6d 65 72 20 3d 3d 20 74 | ions.............if.(aTimer.==.t |
199ac0 | 68 69 73 2e 5f 66 6f 6c 64 65 72 2e 6f 70 65 6e 54 69 6d 65 72 29 20 7b 0a 20 20 20 20 20 20 20 | his._folder.openTimer).{........ |
199ae0 | 20 20 20 20 20 2f 2f 20 54 69 6d 65 72 20 74 6f 20 6f 70 65 6e 20 61 20 73 75 62 6d 65 6e 75 20 | .....//.Timer.to.open.a.submenu. |
199b00 | 74 68 61 74 27 73 20 62 65 69 6e 67 20 64 72 61 67 67 65 64 20 6f 76 65 72 2e 0a 20 20 20 20 20 | that's.being.dragged.over....... |
199b20 | 20 20 20 20 20 20 20 74 68 69 73 2e 5f 66 6f 6c 64 65 72 2e 6e 6f 64 65 2e 6c 61 73 74 43 68 69 | .......this._folder.node.lastChi |
199b40 | 6c 64 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 61 75 74 6f 6f 70 65 6e 65 64 22 2c 20 22 74 | ld.setAttribute("autoopened",."t |
199b60 | 72 75 65 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 66 6f 6c 64 65 72 2e | rue");.............this._folder. |
199b80 | 6e 6f 64 65 2e 6c 61 73 74 43 68 69 6c 64 2e 73 68 6f 77 50 6f 70 75 70 28 74 68 69 73 2e 5f 66 | node.lastChild.showPopup(this._f |
199ba0 | 6f 6c 64 65 72 2e 6e 6f 64 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 66 | older.node);.............this._f |
199bc0 | 6f 6c 64 65 72 2e 6f 70 65 6e 54 69 6d 65 72 20 3d 20 6e 75 6c 6c 3b 0a 20 20 20 20 20 20 20 20 | older.openTimer.=.null;......... |
199be0 | 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 20 69 66 20 28 61 54 69 6d 65 72 20 3d | ..}............else.if.(aTimer.= |
199c00 | 3d 20 74 68 69 73 2e 5f 66 6f 6c 64 65 72 2e 63 6c 6f 73 65 54 69 6d 65 72 29 20 7b 0a 20 20 20 | =.this._folder.closeTimer).{.... |
199c20 | 20 20 20 20 20 20 20 20 20 2f 2f 20 54 69 6d 65 72 20 74 6f 20 63 6c 6f 73 65 20 61 20 73 75 62 | .........//.Timer.to.close.a.sub |
199c40 | 6d 65 6e 75 20 74 68 61 74 27 73 20 62 65 65 6e 20 64 72 61 67 67 65 64 20 6f 66 66 20 6f 66 2e | menu.that's.been.dragged.off.of. |
199c60 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 4f 6e 6c 79 20 63 6c 6f 73 65 20 74 68 65 20 73 | .............//.Only.close.the.s |
199c80 | 75 62 6d 65 6e 75 20 69 66 20 74 68 65 20 6d 6f 75 73 65 20 69 73 6e 27 74 20 62 65 69 6e 67 20 | ubmenu.if.the.mouse.isn't.being. |
199ca0 | 64 72 61 67 67 65 64 20 6f 76 65 72 20 61 6e 79 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 | dragged.over.any.............//. |
199cc0 | 6f 66 20 69 74 73 20 63 68 69 6c 64 20 6d 65 6e 75 73 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 | of.its.child.menus.............. |
199ce0 | 76 61 72 20 64 72 61 67 67 69 6e 67 4f 76 65 72 43 68 69 6c 64 20 3d 20 50 6c 61 63 65 73 43 6f | var.draggingOverChild.=.PlacesCo |
199d00 | 6e 74 72 6f 6c 6c 65 72 44 72 61 67 48 65 6c 70 65 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ntrollerDragHelper.............. |
199d20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 64 72 61 67 67 69 6e 67 | ........................dragging |
199d40 | 4f 76 65 72 43 68 69 6c 64 4e 6f 64 65 28 74 68 69 73 2e 5f 66 6f 6c 64 65 72 2e 6e 6f 64 65 29 | OverChildNode(this._folder.node) |
199d60 | 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 64 72 61 67 67 69 6e 67 4f 76 65 72 43 68 | ;.............if.(draggingOverCh |
199d80 | 69 6c 64 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 66 6f 6c 64 65 72 2e | ild)...............this._folder. |
199da0 | 6e 6f 64 65 20 3d 20 6e 75 6c 6c 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 63 6c | node.=.null;.............this.cl |
199dc0 | 65 61 72 28 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 43 6c 6f 73 65 20 61 6e 79 | ear();..............//.Close.any |
199de0 | 20 70 61 72 65 6e 74 20 66 6f 6c 64 65 72 73 20 77 68 69 63 68 20 61 72 65 6e 27 74 20 62 65 69 | .parent.folders.which.aren't.bei |
199e00 | 6e 67 20 64 72 61 67 67 65 64 20 6f 76 65 72 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 | ng.dragged.over..............//. |
199e20 | 28 54 68 69 73 20 69 73 20 6e 65 63 65 73 73 61 72 79 20 62 65 63 61 75 73 65 20 6f 66 20 74 68 | (This.is.necessary.because.of.th |
199e40 | 65 20 61 62 6f 76 65 20 63 6f 64 65 20 74 68 61 74 20 6b 65 65 70 73 20 61 20 66 6f 6c 64 65 72 | e.above.code.that.keeps.a.folder |
199e60 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 6f 70 65 6e 20 77 68 69 6c 65 20 69 74 73 20 63 | .............//.open.while.its.c |
199e80 | 68 69 6c 64 72 65 6e 20 61 72 65 20 62 65 69 6e 67 20 64 72 61 67 67 65 64 20 6f 76 65 72 2e 29 | hildren.are.being.dragged.over.) |
199ea0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 64 72 61 67 67 69 6e 67 4f 76 65 72 43 68 | .............if.(!draggingOverCh |
199ec0 | 69 6c 64 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 63 6c 6f 73 65 50 61 72 | ild)...............this.closePar |
199ee0 | 65 6e 74 4d 65 6e 75 73 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 | entMenus();...........}......... |
199f00 | 20 20 20 65 6c 73 65 20 69 66 20 28 61 54 69 6d 65 72 20 3d 3d 20 74 68 69 73 2e 63 6c 6f 73 65 | ...else.if.(aTimer.==.this.close |
199f20 | 4d 65 6e 75 54 69 6d 65 72 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 54 69 6d 65 | MenuTimer).{.............//.Time |
199f40 | 72 20 74 6f 20 63 6c 6f 73 65 20 74 68 69 73 20 6d 65 6e 75 20 61 66 74 65 72 20 74 68 65 20 64 | r.to.close.this.menu.after.the.d |
199f60 | 72 61 67 20 65 78 69 74 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 70 6f 70 75 70 20 | rag.exit..............var.popup. |
199f80 | 3d 20 74 68 69 73 2e 5f 73 65 6c 66 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 69 66 20 | =.this._self;.............//.if. |
199fa0 | 77 65 20 61 72 65 20 6e 6f 20 6d 6f 72 65 20 64 72 61 67 67 69 6e 67 20 77 65 20 63 61 6e 20 6c | we.are.no.more.dragging.we.can.l |
199fc0 | 65 61 76 65 20 74 68 65 20 6d 65 6e 75 20 6f 70 65 6e 20 74 6f 20 61 6c 6c 6f 77 0a 20 20 20 20 | eave.the.menu.open.to.allow..... |
199fe0 | 20 20 20 20 20 20 20 20 2f 2f 20 66 6f 72 20 62 65 74 74 65 72 20 44 26 44 20 62 6f 6f 6b 6d 61 | ........//.for.better.D&D.bookma |
19a000 | 72 6b 20 6f 72 67 61 6e 69 7a 61 74 69 6f 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 | rk.organization.............if.( |
19a020 | 50 6c 61 63 65 73 43 6f 6e 74 72 6f 6c 6c 65 72 44 72 61 67 48 65 6c 70 65 72 2e 67 65 74 53 65 | PlacesControllerDragHelper.getSe |
19a040 | 73 73 69 6f 6e 28 29 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 21 50 6c 61 63 | ssion().&&.................!Plac |
19a060 | 65 73 43 6f 6e 74 72 6f 6c 6c 65 72 44 72 61 67 48 65 6c 70 65 72 2e 64 72 61 67 67 69 6e 67 4f | esControllerDragHelper.draggingO |
19a080 | 76 65 72 43 68 69 6c 64 4e 6f 64 65 28 70 6f 70 75 70 2e 70 61 72 65 6e 74 4e 6f 64 65 29 29 20 | verChildNode(popup.parentNode)). |
19a0a0 | 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 6f 70 75 70 2e 68 69 64 65 50 6f 70 75 70 28 | {...............popup.hidePopup( |
19a0c0 | 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 43 6c 6f 73 65 20 61 6e 79 20 70 61 | );...............//.Close.any.pa |
19a0e0 | 72 65 6e 74 20 6d 65 6e 75 73 20 74 68 61 74 20 61 72 65 6e 27 74 20 62 65 69 6e 67 20 64 72 61 | rent.menus.that.aren't.being.dra |
19a100 | 67 67 65 64 20 6f 76 65 72 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 6f 74 68 65 | gged.over;...............//.othe |
19a120 | 72 77 69 73 65 20 74 68 65 79 27 6c 6c 20 73 74 61 79 20 6f 70 65 6e 20 62 65 63 61 75 73 65 20 | rwise.they'll.stay.open.because. |
19a140 | 74 68 65 79 20 63 6f 75 6c 64 6e 27 74 20 63 6c 6f 73 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 | they.couldn't.close............. |
19a160 | 20 20 2f 2f 20 77 68 69 6c 65 20 74 68 69 73 20 6d 65 6e 75 20 77 61 73 20 62 65 69 6e 67 20 64 | ..//.while.this.menu.was.being.d |
19a180 | 72 61 67 67 65 64 20 6f 76 65 72 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e | ragged.over................this. |
19a1a0 | 63 6c 6f 73 65 50 61 72 65 6e 74 4d 65 6e 75 73 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 | closeParentMenus();............. |
19a1c0 | 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 63 6c 6f 73 65 4d 65 6e 75 54 69 6d | }.............this._closeMenuTim |
19a1e0 | 65 72 20 3d 20 6e 75 6c 6c 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 7d | er.=.null;...........}.........} |
19a200 | 2c 0a 0a 20 20 20 20 20 20 20 20 2f 2f 20 20 48 65 6c 70 65 72 20 66 75 6e 63 74 69 6f 6e 20 74 | ,..........//..Helper.function.t |
19a220 | 6f 20 63 6c 6f 73 65 20 61 6c 6c 20 70 61 72 65 6e 74 20 6d 65 6e 75 73 20 6f 66 20 74 68 69 73 | o.close.all.parent.menus.of.this |
19a240 | 20 6d 65 6e 75 2c 0a 20 20 20 20 20 20 20 20 2f 2f 20 20 61 73 20 6c 6f 6e 67 20 61 73 20 6e 6f | .menu,.........//..as.long.as.no |
19a260 | 6e 65 20 6f 66 20 74 68 65 20 70 61 72 65 6e 74 27 73 20 63 68 69 6c 64 72 65 6e 20 61 72 65 20 | ne.of.the.parent's.children.are. |
19a280 | 63 75 72 72 65 6e 74 6c 79 20 62 65 69 6e 67 0a 20 20 20 20 20 20 20 20 2f 2f 20 20 64 72 61 67 | currently.being.........//..drag |
19a2a0 | 67 65 64 20 6f 76 65 72 2e 0a 20 20 20 20 20 20 20 20 63 6c 6f 73 65 50 61 72 65 6e 74 4d 65 6e | ged.over..........closeParentMen |
19a2c0 | 75 73 3a 20 66 75 6e 63 74 69 6f 6e 20 4f 46 5f 5f 63 6c 6f 73 65 50 61 72 65 6e 74 4d 65 6e 75 | us:.function.OF__closeParentMenu |
19a2e0 | 73 28 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 70 6f 70 75 70 20 3d 20 74 68 69 73 | s().{...........var.popup.=.this |
19a300 | 2e 5f 73 65 6c 66 3b 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 70 61 72 65 6e 74 20 3d 20 70 | ._self;...........var.parent.=.p |
19a320 | 6f 70 75 70 2e 70 61 72 65 6e 74 4e 6f 64 65 3b 0a 20 20 20 20 20 20 20 20 20 20 77 68 69 6c 65 | opup.parentNode;...........while |
19a340 | 20 28 70 61 72 65 6e 74 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 70 61 72 65 | .(parent).{.............if.(pare |
19a360 | 6e 74 2e 6e 6f 64 65 4e 61 6d 65 20 3d 3d 20 22 6d 65 6e 75 70 6f 70 75 70 22 20 26 26 20 70 61 | nt.nodeName.==."menupopup".&&.pa |
19a380 | 72 65 6e 74 2e 5f 72 65 73 75 6c 74 4e 6f 64 65 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 | rent._resultNode).{............. |
19a3a0 | 20 20 69 66 20 28 50 6c 61 63 65 73 43 6f 6e 74 72 6f 6c 6c 65 72 44 72 61 67 48 65 6c 70 65 72 | ..if.(PlacesControllerDragHelper |
19a3c0 | 2e 64 72 61 67 67 69 6e 67 4f 76 65 72 43 68 69 6c 64 4e 6f 64 65 28 70 61 72 65 6e 74 2e 70 61 | .draggingOverChildNode(parent.pa |
19a3e0 | 72 65 6e 74 4e 6f 64 65 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b | rentNode)).................break |
19a400 | 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 61 72 65 6e 74 2e 68 69 64 65 50 6f 70 75 70 | ;...............parent.hidePopup |
19a420 | 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 70 61 | ();.............}.............pa |
19a440 | 72 65 6e 74 20 3d 20 70 61 72 65 6e 74 2e 70 61 72 65 6e 74 4e 6f 64 65 3b 0a 20 20 20 20 20 20 | rent.=.parent.parentNode;....... |
19a460 | 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 7d 2c 0a 0a 20 20 20 20 20 20 20 20 2f 2f 20 20 54 68 | ....}.........},..........//..Th |
19a480 | 65 20 6d 6f 75 73 65 20 69 73 20 6e 6f 20 6c 6f 6e 67 65 72 20 64 72 61 67 67 69 6e 67 20 6f 76 | e.mouse.is.no.longer.dragging.ov |
19a4a0 | 65 72 20 74 68 65 20 73 74 6f 72 65 64 20 6d 65 6e 75 62 75 74 74 6f 6e 2e 0a 20 20 20 20 20 20 | er.the.stored.menubutton........ |
19a4c0 | 20 20 2f 2f 20 20 43 6c 6f 73 65 20 74 68 65 20 6d 65 6e 75 62 75 74 74 6f 6e 2c 20 63 6c 65 61 | ..//..Close.the.menubutton,.clea |
19a4e0 | 72 20 6f 75 74 20 64 72 61 67 20 73 74 79 6c 65 73 2c 20 61 6e 64 20 63 6c 65 61 72 20 61 6c 6c | r.out.drag.styles,.and.clear.all |
19a500 | 0a 20 20 20 20 20 20 20 20 2f 2f 20 20 74 69 6d 65 72 73 20 66 6f 72 20 6f 70 65 6e 69 6e 67 2f | .........//..timers.for.opening/ |
19a520 | 63 6c 6f 73 69 6e 67 20 69 74 2e 0a 20 20 20 20 20 20 20 20 63 6c 65 61 72 3a 20 66 75 6e 63 74 | closing.it..........clear:.funct |
19a540 | 69 6f 6e 20 4f 46 5f 5f 63 6c 65 61 72 28 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 | ion.OF__clear().{...........if.( |
19a560 | 74 68 69 73 2e 5f 66 6f 6c 64 65 72 2e 6e 6f 64 65 20 26 26 20 74 68 69 73 2e 5f 66 6f 6c 64 65 | this._folder.node.&&.this._folde |
19a580 | 72 2e 6e 6f 64 65 2e 6c 61 73 74 43 68 69 6c 64 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 | r.node.lastChild).{............. |
19a5a0 | 69 66 20 28 21 74 68 69 73 2e 5f 66 6f 6c 64 65 72 2e 6e 6f 64 65 2e 6c 61 73 74 43 68 69 6c 64 | if.(!this._folder.node.lastChild |
19a5c0 | 2e 68 61 73 41 74 74 72 69 62 75 74 65 28 22 64 72 61 67 6f 76 65 72 22 29 29 0a 20 20 20 20 20 | .hasAttribute("dragover"))...... |
19a5e0 | 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 66 6f 6c 64 65 72 2e 6e 6f 64 65 2e 6c 61 73 74 43 | .........this._folder.node.lastC |
19a600 | 68 69 6c 64 2e 68 69 64 65 50 6f 70 75 70 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f | hild.hidePopup();.............// |
19a620 | 20 72 65 6d 6f 76 65 20 6d 65 6e 75 61 63 74 69 76 65 20 73 74 79 6c 65 0a 20 20 20 20 20 20 20 | .remove.menuactive.style........ |
19a640 | 20 20 20 20 20 74 68 69 73 2e 5f 66 6f 6c 64 65 72 2e 6e 6f 64 65 2e 72 65 6d 6f 76 65 41 74 74 | .....this._folder.node.removeAtt |
19a660 | 72 69 62 75 74 65 28 22 5f 6d 6f 7a 2d 6d 65 6e 75 61 63 74 69 76 65 22 29 3b 0a 20 20 20 20 20 | ribute("_moz-menuactive");...... |
19a680 | 20 20 20 20 20 20 20 74 68 69 73 2e 5f 66 6f 6c 64 65 72 2e 6e 6f 64 65 20 3d 20 6e 75 6c 6c 3b | .......this._folder.node.=.null; |
19a6a0 | 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e | ...........}...........if.(this. |
19a6c0 | 5f 66 6f 6c 64 65 72 2e 6f 70 65 6e 54 69 6d 65 72 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 | _folder.openTimer).{............ |
19a6e0 | 20 74 68 69 73 2e 5f 66 6f 6c 64 65 72 2e 6f 70 65 6e 54 69 6d 65 72 2e 63 61 6e 63 65 6c 28 29 | .this._folder.openTimer.cancel() |
19a700 | 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 66 6f 6c 64 65 72 2e 6f 70 65 6e 54 | ;.............this._folder.openT |
19a720 | 69 6d 65 72 20 3d 20 6e 75 6c 6c 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 | imer.=.null;...........}........ |
19a740 | 20 20 20 69 66 20 28 74 68 69 73 2e 5f 66 6f 6c 64 65 72 2e 63 6c 6f 73 65 54 69 6d 65 72 29 20 | ...if.(this._folder.closeTimer). |
19a760 | 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 66 6f 6c 64 65 72 2e 63 6c 6f 73 65 | {.............this._folder.close |
19a780 | 54 69 6d 65 72 2e 63 61 6e 63 65 6c 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 | Timer.cancel();.............this |
19a7a0 | 2e 5f 66 6f 6c 64 65 72 2e 63 6c 6f 73 65 54 69 6d 65 72 20 3d 20 6e 75 6c 6c 3b 0a 20 20 20 20 | ._folder.closeTimer.=.null;..... |
19a7c0 | 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 7d 29 5d 5d 3e 3c 2f 66 | ......}.........}.......})]]></f |
19a7e0 | 69 65 6c 64 3e 0a 0a 20 20 20 20 3c 2f 69 6d 70 6c 65 6d 65 6e 74 61 74 69 6f 6e 3e 0a 0a 20 20 | ield>......</implementation>.... |
19a800 | 20 20 3c 68 61 6e 64 6c 65 72 73 3e 0a 20 20 20 20 20 20 3c 68 61 6e 64 6c 65 72 20 65 76 65 6e | ..<handlers>.......<handler.even |
19a820 | 74 3d 22 44 4f 4d 4d 65 6e 75 49 74 65 6d 41 63 74 69 76 65 22 3e 3c 21 5b 43 44 41 54 41 5b 0a | t="DOMMenuItemActive"><![CDATA[. |
19a840 | 20 20 20 20 20 20 20 20 76 61 72 20 6e 6f 64 65 20 3d 20 65 76 65 6e 74 2e 74 61 72 67 65 74 3b | ........var.node.=.event.target; |
19a860 | 0a 20 20 20 20 20 20 20 20 69 66 20 28 6e 6f 64 65 2e 70 61 72 65 6e 74 4e 6f 64 65 20 21 3d 20 | .........if.(node.parentNode.!=. |
19a880 | 74 68 69 73 29 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 0a 20 20 20 20 20 20 | this)...........return;......... |
19a8a0 | 20 20 69 66 20 28 77 69 6e 64 6f 77 2e 58 55 4c 42 72 6f 77 73 65 72 57 69 6e 64 6f 77 29 20 7b | ..if.(window.XULBrowserWindow).{ |
19a8c0 | 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 6e 6f 64 65 49 74 65 6d 20 3d 20 65 76 65 6e 74 2e | ...........var.nodeItem.=.event. |
19a8e0 | 74 61 72 67 65 74 2e 6e 6f 64 65 3b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 6e 6f 64 65 49 | target.node;...........if.(nodeI |
19a900 | 74 65 6d 20 26 26 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 55 52 49 28 6e 6f 64 | tem.&&.PlacesUtils.nodeIsURI(nod |
19a920 | 65 49 74 65 6d 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 77 69 6e 64 6f 77 2e 58 55 4c 42 72 | eItem)).............window.XULBr |
19a940 | 6f 77 73 65 72 57 69 6e 64 6f 77 2e 73 65 74 4f 76 65 72 4c 69 6e 6b 28 6e 6f 64 65 49 74 65 6d | owserWindow.setOverLink(nodeItem |
19a960 | 2e 75 72 69 2c 20 6e 75 6c 6c 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 5d 5d 3e | .uri,.null);.........}.......]]> |
19a980 | 3c 2f 68 61 6e 64 6c 65 72 3e 0a 20 20 20 20 20 20 3c 68 61 6e 64 6c 65 72 20 65 76 65 6e 74 3d | </handler>.......<handler.event= |
19a9a0 | 22 44 4f 4d 4d 65 6e 75 49 74 65 6d 49 6e 61 63 74 69 76 65 22 3e 3c 21 5b 43 44 41 54 41 5b 0a | "DOMMenuItemInactive"><![CDATA[. |
19a9c0 | 20 20 20 20 20 20 20 20 76 61 72 20 6e 6f 64 65 20 3d 20 65 76 65 6e 74 2e 74 61 72 67 65 74 3b | ........var.node.=.event.target; |
19a9e0 | 0a 20 20 20 20 20 20 20 20 69 66 20 28 6e 6f 64 65 2e 70 61 72 65 6e 74 4e 6f 64 65 20 21 3d 20 | .........if.(node.parentNode.!=. |
19aa00 | 74 68 69 73 29 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 20 20 20 20 20 | this)...........return;......... |
19aa20 | 20 69 66 20 28 77 69 6e 64 6f 77 2e 58 55 4c 42 72 6f 77 73 65 72 57 69 6e 64 6f 77 29 0a 20 20 | .if.(window.XULBrowserWindow)... |
19aa40 | 20 20 20 20 20 20 20 20 77 69 6e 64 6f 77 2e 58 55 4c 42 72 6f 77 73 65 72 57 69 6e 64 6f 77 2e | ........window.XULBrowserWindow. |
19aa60 | 73 65 74 4f 76 65 72 4c 69 6e 6b 28 22 22 2c 20 6e 75 6c 6c 29 3b 0a 20 20 20 20 20 20 5d 5d 3e | setOverLink("",.null);.......]]> |
19aa80 | 3c 2f 68 61 6e 64 6c 65 72 3e 0a 20 20 20 20 20 20 3c 68 61 6e 64 6c 65 72 20 65 76 65 6e 74 3d | </handler>.......<handler.event= |
19aaa0 | 22 64 72 61 67 67 65 73 74 75 72 65 22 20 61 63 74 69 6f 6e 3d 22 69 66 20 28 65 76 65 6e 74 2e | "draggesture".action="if.(event. |
19aac0 | 74 61 72 67 65 74 2e 6e 6f 64 65 29 20 6e 73 44 72 61 67 41 6e 64 44 72 6f 70 2e 73 74 61 72 74 | target.node).nsDragAndDrop.start |
19aae0 | 44 72 61 67 28 65 76 65 6e 74 2c 20 74 68 69 73 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 68 61 6e | Drag(event,.this);"/>.......<han |
19ab00 | 64 6c 65 72 20 65 76 65 6e 74 3d 22 64 72 6f 70 22 20 61 63 74 69 6f 6e 3d 22 6e 73 44 72 61 67 | dler.event="drop".action="nsDrag |
19ab20 | 41 6e 64 44 72 6f 70 2e 64 72 6f 70 28 65 76 65 6e 74 2c 20 74 68 69 73 29 3b 22 2f 3e 0a 20 20 | AndDrop.drop(event,.this);"/>... |
19ab40 | 20 20 20 20 3c 68 61 6e 64 6c 65 72 20 65 76 65 6e 74 3d 22 64 72 61 67 6f 76 65 72 22 20 61 63 | ....<handler.event="dragover".ac |
19ab60 | 74 69 6f 6e 3d 22 6e 73 44 72 61 67 41 6e 64 44 72 6f 70 2e 64 72 61 67 4f 76 65 72 28 65 76 65 | tion="nsDragAndDrop.dragOver(eve |
19ab80 | 6e 74 2c 20 74 68 69 73 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 68 61 6e 64 6c 65 72 20 65 76 65 | nt,.this);"/>.......<handler.eve |
19aba0 | 6e 74 3d 22 64 72 61 67 65 78 69 74 22 20 61 63 74 69 6f 6e 3d 22 6e 73 44 72 61 67 41 6e 64 44 | nt="dragexit".action="nsDragAndD |
19abc0 | 72 6f 70 2e 64 72 61 67 45 78 69 74 28 65 76 65 6e 74 2c 20 74 68 69 73 29 3b 22 2f 3e 0a 20 20 | rop.dragExit(event,.this);"/>... |
19abe0 | 20 20 3c 2f 68 61 6e 64 6c 65 72 73 3e 0a 20 20 3c 2f 62 69 6e 64 69 6e 67 3e 0a 0a 0a 20 20 3c | ..</handlers>...</binding>.....< |
19ac00 | 62 69 6e 64 69 6e 67 20 69 64 3d 22 70 6c 61 63 65 73 2d 6d 65 6e 75 70 6f 70 75 70 22 0a 20 20 | binding.id="places-menupopup"... |
19ac20 | 20 20 20 20 20 20 20 20 20 65 78 74 65 6e 64 73 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 | .........extends="chrome://brows |
19ac40 | 65 72 2f 63 6f 6e 74 65 6e 74 2f 70 6c 61 63 65 73 2f 6d 65 6e 75 2e 78 6d 6c 23 70 6c 61 63 65 | er/content/places/menu.xml#place |
19ac60 | 73 2d 70 6f 70 75 70 2d 62 61 73 65 22 3e 0a 20 20 20 20 3c 69 6d 70 6c 65 6d 65 6e 74 61 74 69 | s-popup-base">.....<implementati |
19ac80 | 6f 6e 3e 0a 20 20 20 20 20 20 3c 64 65 73 74 72 75 63 74 6f 72 3e 3c 21 5b 43 44 41 54 41 5b 0a | on>.......<destructor><![CDATA[. |
19aca0 | 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 72 65 73 75 6c 74 4e 6f 64 65 20 3d 20 6e 75 6c 6c 3b | ........this._resultNode.=.null; |
19acc0 | 0a 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 72 65 73 75 6c 74 29 20 7b 0a 20 20 20 | .........if.(this._result).{.... |
19ace0 | 20 20 20 20 20 20 20 74 68 69 73 2e 5f 72 65 73 75 6c 74 2e 76 69 65 77 65 72 20 3d 20 6e 75 6c | .......this._result.viewer.=.nul |
19ad00 | 6c 3b 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 72 65 73 75 6c 74 20 3d 20 6e 75 6c 6c | l;...........this._result.=.null |
19ad20 | 3b 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 5d 5d 3e 3c 2f 64 65 73 74 72 75 63 74 6f | ;.........}.......]]></destructo |
19ad40 | 72 3e 0a 0a 20 20 20 20 20 20 3c 66 69 65 6c 64 20 6e 61 6d 65 3d 22 5f 69 6e 69 74 69 61 6c 69 | r>........<field.name="_initiali |
19ad60 | 7a 65 64 22 3e 66 61 6c 73 65 3c 2f 66 69 65 6c 64 3e 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 | zed">false</field>.......<method |
19ad80 | 20 6e 61 6d 65 3d 22 5f 65 6e 73 75 72 65 49 6e 69 74 69 61 6c 69 7a 65 64 22 3e 0a 20 20 20 20 | .name="_ensureInitialized">..... |
19ada0 | 20 20 20 20 3c 62 6f 64 79 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 69 66 | ....<body><![CDATA[...........if |
19adc0 | 20 28 74 68 69 73 2e 5f 69 6e 69 74 69 61 6c 69 7a 65 64 29 0a 20 20 20 20 20 20 20 20 20 20 20 | .(this._initialized)............ |
19ade0 | 20 72 65 74 75 72 6e 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 63 6f 6e 74 72 6f | .return;............this._contro |
19ae00 | 6c 6c 65 72 20 3d 20 6e 65 77 20 50 6c 61 63 65 73 43 6f 6e 74 72 6f 6c 6c 65 72 28 74 68 69 73 | ller.=.new.PlacesController(this |
19ae20 | 29 3b 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 63 6f 6e 74 72 6f 6c 6c 65 72 73 2e 61 70 | );...........this.controllers.ap |
19ae40 | 70 65 6e 64 43 6f 6e 74 72 6f 6c 6c 65 72 28 74 68 69 73 2e 5f 63 6f 6e 74 72 6f 6c 6c 65 72 29 | pendController(this._controller) |
19ae60 | 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 54 68 69 73 20 66 75 6e 63 74 69 6f 6e 20 73 68 | ;............//.This.function.sh |
19ae80 | 6f 75 6c 64 20 6f 6e 6c 79 20 62 65 20 63 61 6c 6c 65 64 20 66 6f 72 20 74 6f 70 2d 6c 65 76 65 | ould.only.be.called.for.top-leve |
19aea0 | 6c 20 6d 65 6e 75 73 20 6c 69 6b 65 20 74 68 65 20 62 6f 6f 6b 6d 61 72 6b 73 20 6d 65 6e 75 2e | l.menus.like.the.bookmarks.menu. |
19aec0 | 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 53 75 62 6d 65 6e 75 73 20 67 65 74 20 74 68 65 69 72 | ...........//.Submenus.get.their |
19aee0 | 20 5f 72 65 73 75 6c 74 20 61 6e 64 20 5f 72 65 73 75 6c 74 4e 6f 64 65 20 66 72 6f 6d 20 74 68 | ._result.and._resultNode.from.th |
19af00 | 65 69 72 20 70 61 72 65 6e 74 73 2e 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e | eir.parents............if.(this. |
19af20 | 68 61 73 41 74 74 72 69 62 75 74 65 28 22 70 6c 61 63 65 22 29 29 20 7b 0a 20 20 20 20 20 20 20 | hasAttribute("place")).{........ |
19af40 | 20 20 20 20 20 2f 2f 20 44 6f 20 74 68 65 20 69 6e 69 74 69 61 6c 20 62 75 69 6c 64 2e 0a 20 20 | .....//.Do.the.initial.build.... |
19af60 | 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 70 6c 61 63 65 20 3d 20 74 68 69 73 2e 70 6c 61 63 | ..........this.place.=.this.plac |
19af80 | 65 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 69 | e;...........}...........this._i |
19afa0 | 6e 69 74 69 61 6c 69 7a 65 64 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f | nitialized.=.true;.........]]></ |
19afc0 | 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 70 72 | body>.......</method>........<pr |
19afe0 | 6f 70 65 72 74 79 20 6e 61 6d 65 3d 22 63 6f 6e 74 72 6f 6c 6c 65 72 22 0a 20 20 20 20 20 20 20 | operty.name="controller"........ |
19b000 | 20 20 20 20 20 20 20 20 20 72 65 61 64 6f 6e 6c 79 3d 22 74 72 75 65 22 0a 20 20 20 20 20 20 20 | .........readonly="true"........ |
19b020 | 20 20 20 20 20 20 20 20 20 6f 6e 67 65 74 3d 22 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 63 6f 6e | .........onget="return.this._con |
19b040 | 74 72 6f 6c 6c 65 72 3b 22 2f 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d | troller;"/>........<method.name= |
19b060 | 22 6f 6e 50 6f 70 75 70 53 68 6f 77 69 6e 67 22 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d | "onPopupShowing">.........<param |
19b080 | 65 74 65 72 20 6e 61 6d 65 3d 22 61 45 76 65 6e 74 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f | eter.name="aEvent"/>.........<bo |
19b0a0 | 64 79 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 70 6f 70 75 70 | dy><![CDATA[...........var.popup |
19b0c0 | 20 3d 20 61 45 76 65 6e 74 2e 74 61 72 67 65 74 3b 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 | .=.aEvent.target;...........var. |
19b0e0 | 72 65 73 75 6c 74 4e 6f 64 65 20 3d 20 70 6f 70 75 70 2e 5f 72 65 73 75 6c 74 4e 6f 64 65 3b 0a | resultNode.=.popup._resultNode;. |
19b100 | 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 72 65 73 75 6c 74 4e 6f 64 65 2e 63 6f 6e 74 61 69 | ..........if.(!resultNode.contai |
19b120 | 6e 65 72 4f 70 65 6e 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 73 75 6c 74 4e 6f 64 65 2e | nerOpen).............resultNode. |
19b140 | 63 6f 6e 74 61 69 6e 65 72 4f 70 65 6e 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 20 20 | containerOpen.=.true;........... |
19b160 | 69 66 20 28 21 70 6f 70 75 70 2e 5f 62 75 69 6c 74 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 | if.(!popup._built).............t |
19b180 | 68 69 73 2e 5f 72 65 62 75 69 6c 64 28 70 6f 70 75 70 29 3b 0a 20 20 20 20 20 20 20 20 5d 5d 3e | his._rebuild(popup);.........]]> |
19b1a0 | 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c | </body>.......</method>........< |
19b1c0 | 21 2d 2d 20 6e 73 49 50 6c 61 63 65 73 56 69 65 77 20 2d 2d 3e 0a 20 20 20 20 20 20 3c 6d 65 74 | !--.nsIPlacesView.-->.......<met |
19b1e0 | 68 6f 64 20 6e 61 6d 65 3d 22 67 65 74 52 65 73 75 6c 74 22 3e 0a 20 20 20 20 20 20 20 20 3c 62 | hod.name="getResult">.........<b |
19b200 | 6f 64 79 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 | ody><![CDATA[...........return.t |
19b220 | 68 69 73 2e 5f 72 65 73 75 6c 74 3b 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 62 6f 64 79 3e 0a | his._result;.........]]></body>. |
19b240 | 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 21 2d 2d 20 6e 73 49 50 | ......</method>........<!--.nsIP |
19b260 | 6c 61 63 65 73 56 69 65 77 20 2d 2d 3e 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 | lacesView.-->.......<method.name |
19b280 | 3d 22 67 65 74 52 65 73 75 6c 74 4e 6f 64 65 22 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e | ="getResultNode">.........<body> |
19b2a0 | 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 65 6e 73 75 72 65 | <![CDATA[...........this._ensure |
19b2c0 | 49 6e 69 74 69 61 6c 69 7a 65 64 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 | Initialized();...........return. |
19b2e0 | 74 68 69 73 2e 5f 72 65 73 75 6c 74 4e 6f 64 65 3b 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 62 | this._resultNode;.........]]></b |
19b300 | 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 | ody>.......</method>........<met |
19b320 | 68 6f 64 20 6e 61 6d 65 3d 22 72 65 6d 6f 76 65 49 74 65 6d 22 3e 0a 20 20 20 20 20 20 20 20 3c | hod.name="removeItem">.........< |
19b340 | 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 63 68 69 6c 64 22 2f 3e 0a 20 20 20 20 20 20 20 | parameter.name="child"/>........ |
19b360 | 20 3c 62 6f 64 79 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 50 | .<body><![CDATA[...........if.(P |
19b380 | 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 43 6f 6e 74 61 69 6e 65 72 28 63 68 69 6c 64 | lacesUtils.nodeIsContainer(child |
19b3a0 | 2e 6e 6f 64 65 29 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 | .node)).{.............for.(var.i |
19b3c0 | 3d 30 3b 20 69 20 3c 20 74 68 69 73 2e 5f 63 6f 6e 74 61 69 6e 65 72 4e 6f 64 65 73 4d 61 70 2e | =0;.i.<.this._containerNodesMap. |
19b3e0 | 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 | length;.i++).{...............if. |
19b400 | 28 74 68 69 73 2e 5f 63 6f 6e 74 61 69 6e 65 72 4e 6f 64 65 73 4d 61 70 5b 69 5d 2e 72 65 73 75 | (this._containerNodesMap[i].resu |
19b420 | 6c 74 4e 6f 64 65 20 3d 3d 20 63 68 69 6c 64 2e 6e 6f 64 65 29 20 7b 0a 20 20 20 20 20 20 20 20 | ltNode.==.child.node).{......... |
19b440 | 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 63 6f 6e 74 61 69 6e 65 72 4e 6f 64 65 73 4d 61 70 2e | ........this._containerNodesMap. |
19b460 | 73 70 6c 69 63 65 28 69 2c 20 31 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 | splice(i,.1);.................br |
19b480 | 65 61 6b 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 | eak;...............}............ |
19b4a0 | 20 7d 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 69 66 20 | .}...........}............//.if. |
19b4c0 | 64 6f 63 75 6d 65 6e 74 2e 70 6f 70 75 70 4e 6f 64 65 20 70 6f 69 6e 74 65 64 20 74 6f 20 74 68 | document.popupNode.pointed.to.th |
19b4e0 | 69 73 20 63 68 69 6c 64 2c 20 6e 75 6c 6c 20 69 74 20 6f 75 74 2c 0a 20 20 20 20 20 20 20 20 20 | is.child,.null.it.out,.......... |
19b500 | 20 2f 2f 20 6f 74 68 65 72 77 69 73 65 20 63 6f 6e 74 72 6f 6c 6c 65 72 27 73 20 63 6f 6d 6d 61 | .//.otherwise.controller's.comma |
19b520 | 6e 64 2d 75 70 64 61 74 69 6e 67 20 6d 61 79 20 72 65 6c 79 20 6f 6e 20 74 68 65 20 72 65 6d 6f | nd-updating.may.rely.on.the.remo |
19b540 | 76 65 64 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 69 74 65 6d 20 73 74 69 6c 6c 20 62 65 69 6e | ved...........//.item.still.bein |
19b560 | 67 20 22 73 65 6c 65 63 74 65 64 22 2e 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 64 6f 63 75 | g."selected"............if.(docu |
19b580 | 6d 65 6e 74 2e 70 6f 70 75 70 4e 6f 64 65 20 3d 3d 20 63 68 69 6c 64 29 0a 20 20 20 20 20 20 20 | ment.popupNode.==.child)........ |
19b5a0 | 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 70 6f 70 75 70 4e 6f 64 65 20 3d 20 6e 75 6c 6c 3b 0a | .....document.popupNode.=.null;. |
19b5c0 | 20 20 20 20 20 20 20 20 20 20 63 68 69 6c 64 2e 70 61 72 65 6e 74 4e 6f 64 65 2e 72 65 6d 6f 76 | ..........child.parentNode.remov |
19b5e0 | 65 43 68 69 6c 64 28 63 68 69 6c 64 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 68 | eChild(child);............if.(th |
19b600 | 69 73 2e 5f 65 6e 64 4d 61 72 6b 65 72 20 21 3d 20 2d 31 29 0a 20 20 20 20 20 20 20 20 20 20 20 | is._endMarker.!=.-1)............ |
19b620 | 20 74 68 69 73 2e 5f 65 6e 64 4d 61 72 6b 65 72 2d 2d 3b 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c | .this._endMarker--;.........]]>< |
19b640 | 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 6d | /body>.......</method>........<m |
19b660 | 65 74 68 6f 64 20 6e 61 6d 65 3d 22 69 6e 73 65 72 74 4e 65 77 49 74 65 6d 22 3e 0a 20 20 20 20 | ethod.name="insertNewItem">..... |
19b680 | 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 43 68 69 6c 64 22 2f 3e 0a 20 | ....<parameter.name="aChild"/>.. |
19b6a0 | 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 50 61 72 65 6e 74 50 | .......<parameter.name="aParentP |
19b6c0 | 6f 70 75 70 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d | opup"/>.........<parameter.name= |
19b6e0 | 22 61 42 65 66 6f 72 65 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 3c 21 5b 43 44 41 | "aBefore"/>.........<body><![CDA |
19b700 | 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 65 6c 65 6d 65 6e 74 20 3d 0a 20 20 20 20 | TA[...........var.element.=..... |
19b720 | 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 63 72 65 61 74 65 4d 65 6e 75 | ........PlacesUIUtils.createMenu |
19b740 | 49 74 65 6d 46 6f 72 4e 6f 64 65 28 61 43 68 69 6c 64 2c 20 74 68 69 73 2e 5f 63 6f 6e 74 61 69 | ItemForNode(aChild,.this._contai |
19b760 | 6e 65 72 4e 6f 64 65 73 4d 61 70 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 61 42 65 | nerNodesMap);............if.(aBe |
19b780 | 66 6f 72 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 61 50 61 72 65 6e 74 50 6f 70 75 70 2e 69 | fore).............aParentPopup.i |
19b7a0 | 6e 73 65 72 74 42 65 66 6f 72 65 28 65 6c 65 6d 65 6e 74 2c 20 61 42 65 66 6f 72 65 29 3b 0a 20 | nsertBefore(element,.aBefore);.. |
19b7c0 | 20 20 20 20 20 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 41 | .........else.{.............//.A |
19b7e0 | 64 64 20 74 68 65 20 6e 65 77 20 65 6c 65 6d 65 6e 74 20 74 6f 20 74 68 65 20 6d 65 6e 75 2e 20 | dd.the.new.element.to.the.menu.. |
19b800 | 20 49 66 20 74 68 65 72 65 20 69 73 20 73 74 61 74 69 63 20 63 6f 6e 74 65 6e 74 20 61 74 0a 20 | .If.there.is.static.content.at.. |
19b820 | 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 74 68 65 20 65 6e 64 20 6f 66 20 74 68 65 20 6d 65 6e | ...........//.the.end.of.the.men |
19b840 | 75 2c 20 61 64 64 20 74 68 65 20 65 6c 65 6d 65 6e 74 20 62 65 66 6f 72 65 20 74 68 61 74 2e 20 | u,.add.the.element.before.that.. |
19b860 | 20 4f 74 68 65 72 77 69 73 65 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 6a 75 73 74 20 | .Otherwise,.............//.just. |
19b880 | 61 64 64 20 74 6f 20 74 68 65 20 65 6e 64 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 | add.to.the.end..............if.( |
19b8a0 | 61 50 61 72 65 6e 74 50 6f 70 75 70 2e 5f 65 6e 64 4d 61 72 6b 65 72 20 21 3d 20 2d 31 29 20 7b | aParentPopup._endMarker.!=.-1).{ |
19b8c0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 50 61 72 65 6e 74 50 6f 70 75 70 2e 69 6e 73 65 | ...............aParentPopup.inse |
19b8e0 | 72 74 42 65 66 6f 72 65 28 65 6c 65 6d 65 6e 74 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | rtBefore(element,............... |
19b900 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 50 61 72 65 6e | ..........................aParen |
19b920 | 74 50 6f 70 75 70 2e 63 68 69 6c 64 4e 6f 64 65 73 5b 61 50 61 72 65 6e 74 50 6f 70 75 70 2e 5f | tPopup.childNodes[aParentPopup._ |
19b940 | 65 6e 64 4d 61 72 6b 65 72 5d 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 | endMarker]);.............}...... |
19b960 | 20 20 20 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 50 61 72 65 6e | .......else...............aParen |
19b980 | 74 50 6f 70 75 70 2e 61 70 70 65 6e 64 43 68 69 6c 64 28 65 6c 65 6d 65 6e 74 29 3b 0a 20 20 20 | tPopup.appendChild(element);.... |
19b9a0 | 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 61 50 61 72 65 6e 74 50 | .......}............if.(aParentP |
19b9c0 | 6f 70 75 70 2e 5f 65 6e 64 4d 61 72 6b 65 72 20 21 3d 20 2d 31 29 0a 20 20 20 20 20 20 20 20 20 | opup._endMarker.!=.-1).......... |
19b9e0 | 20 20 20 61 50 61 72 65 6e 74 50 6f 70 75 70 2e 5f 65 6e 64 4d 61 72 6b 65 72 2b 2b 3b 0a 20 20 | ...aParentPopup._endMarker++;... |
19ba00 | 20 20 20 20 20 20 5d 5d 3e 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e | ......]]></body>.......</method> |
19ba20 | 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 5f 73 68 6f 77 45 6d 70 74 79 | ........<method.name="_showEmpty |
19ba40 | 4d 65 6e 75 49 74 65 6d 22 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 | MenuItem">.........<parameter.na |
19ba60 | 6d 65 3d 22 61 50 6f 70 75 70 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 3c 21 5b 43 | me="aPopup"/>.........<body><![C |
19ba80 | 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 61 50 6f 70 75 70 2e 5f 65 6d 70 74 | DATA[...........if.(aPopup._empt |
19baa0 | 79 4d 65 6e 75 49 74 65 6d 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 61 50 6f 70 75 70 2e | yMenuItem).{.............aPopup. |
19bac0 | 5f 65 6d 70 74 79 4d 65 6e 75 49 74 65 6d 2e 68 69 64 64 65 6e 20 3d 20 66 61 6c 73 65 3b 0a 20 | _emptyMenuItem.hidden.=.false;.. |
19bae0 | 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 0a | ...........return;...........}.. |
19bb00 | 20 20 20 20 20 20 20 20 20 20 76 61 72 20 6c 61 62 65 6c 20 3d 20 50 6c 61 63 65 73 55 49 55 74 | ..........var.label.=.PlacesUIUt |
19bb20 | 69 6c 73 2e 67 65 74 53 74 72 69 6e 67 28 22 62 6f 6f 6b 6d 61 72 6b 73 4d 65 6e 75 45 6d 70 74 | ils.getString("bookmarksMenuEmpt |
19bb40 | 79 46 6f 6c 64 65 72 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 61 50 6f 70 75 70 2e 5f 65 6d 70 | yFolder");...........aPopup._emp |
19bb60 | 74 79 4d 65 6e 75 49 74 65 6d 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 63 72 65 61 74 65 45 6c 65 6d | tyMenuItem.=.document.createElem |
19bb80 | 65 6e 74 28 22 6d 65 6e 75 69 74 65 6d 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 61 50 6f 70 75 | ent("menuitem");...........aPopu |
19bba0 | 70 2e 5f 65 6d 70 74 79 4d 65 6e 75 49 74 65 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 6c | p._emptyMenuItem.setAttribute("l |
19bbc0 | 61 62 65 6c 22 2c 20 6c 61 62 65 6c 29 3b 0a 20 20 20 20 20 20 20 20 20 20 61 50 6f 70 75 70 2e | abel",.label);...........aPopup. |
19bbe0 | 5f 65 6d 70 74 79 4d 65 6e 75 49 74 65 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 64 69 73 | _emptyMenuItem.setAttribute("dis |
19bc00 | 61 62 6c 65 64 22 2c 20 74 72 75 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 61 50 6f 70 75 70 2e | abled",.true);...........aPopup. |
19bc20 | 61 70 70 65 6e 64 43 68 69 6c 64 28 61 50 6f 70 75 70 2e 5f 65 6d 70 74 79 4d 65 6e 75 49 74 65 | appendChild(aPopup._emptyMenuIte |
19bc40 | 6d 29 3b 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d | m);.........]]></body>.......</m |
19bc60 | 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 5f 72 65 62 | ethod>........<method.name="_reb |
19bc80 | 75 69 6c 64 22 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 | uild">.........<parameter.name=" |
19bca0 | 61 50 6f 70 75 70 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 3c 21 5b 43 44 41 54 41 | aPopup"/>.........<body><![CDATA |
19bcc0 | 5b 0a 20 20 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 63 6c 65 61 6e 50 | [...........PlacesUIUtils.cleanP |
19bce0 | 6c 61 63 65 73 50 6f 70 75 70 28 61 50 6f 70 75 70 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 2f | lacesPopup(aPopup);............/ |
19bd00 | 2f 20 49 66 20 74 68 69 73 20 69 73 20 61 20 6c 69 76 65 6d 61 72 6b 20 63 6f 6e 74 61 69 6e 65 | /.If.this.is.a.livemark.containe |
19bd20 | 72 20 63 68 65 63 6b 20 69 66 20 74 68 65 20 73 74 61 74 75 73 20 6d 65 6e 75 69 74 65 6d 20 68 | r.check.if.the.status.menuitem.h |
19bd40 | 61 73 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 74 6f 20 62 65 20 61 64 64 65 64 20 6f 72 20 72 | as...........//.to.be.added.or.r |
19bd60 | 65 6d 6f 76 65 64 2e 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 50 6c 61 63 65 73 55 74 69 6c | emoved............if.(PlacesUtil |
19bd80 | 73 2e 6e 6f 64 65 49 73 4c 69 76 65 6d 61 72 6b 43 6f 6e 74 61 69 6e 65 72 28 61 50 6f 70 75 70 | s.nodeIsLivemarkContainer(aPopup |
19bda0 | 2e 5f 72 65 73 75 6c 74 4e 6f 64 65 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 50 6c 61 63 65 | ._resultNode)).............Place |
19bdc0 | 73 55 49 55 74 69 6c 73 2e 65 6e 73 75 72 65 4c 69 76 65 6d 61 72 6b 53 74 61 74 75 73 4d 65 6e | sUIUtils.ensureLivemarkStatusMen |
19bde0 | 75 49 74 65 6d 28 61 50 6f 70 75 70 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 63 63 | uItem(aPopup);............var.cc |
19be00 | 20 3d 20 61 50 6f 70 75 70 2e 5f 72 65 73 75 6c 74 4e 6f 64 65 2e 63 68 69 6c 64 43 6f 75 6e 74 | .=.aPopup._resultNode.childCount |
19be20 | 3b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 63 63 20 3e 20 30 29 20 7b 0a 20 20 20 20 20 20 | ;...........if.(cc.>.0).{....... |
19be40 | 20 20 20 20 20 20 69 66 20 28 61 50 6f 70 75 70 2e 5f 65 6d 70 74 79 4d 65 6e 75 49 74 65 6d 29 | ......if.(aPopup._emptyMenuItem) |
19be60 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 50 6f 70 75 70 2e 5f 65 6d 70 74 79 4d 65 6e 75 | ...............aPopup._emptyMenu |
19be80 | 49 74 65 6d 2e 68 69 64 64 65 6e 20 3d 20 74 72 75 65 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 | Item.hidden.=.true;............. |
19bea0 | 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 63 63 3b 20 2b 2b 69 29 20 7b 0a | .for.(var.i.=.0;.i.<.cc;.++i).{. |
19bec0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 63 68 69 6c 64 20 3d 20 61 50 6f 70 75 70 | ..............var.child.=.aPopup |
19bee0 | 2e 5f 72 65 73 75 6c 74 4e 6f 64 65 2e 67 65 74 43 68 69 6c 64 28 69 29 3b 0a 20 20 20 20 20 20 | ._resultNode.getChild(i);....... |
19bf00 | 20 20 20 20 20 20 20 20 74 68 69 73 2e 69 6e 73 65 72 74 4e 65 77 49 74 65 6d 28 63 68 69 6c 64 | ........this.insertNewItem(child |
19bf20 | 2c 20 61 50 6f 70 75 70 2c 20 6e 75 6c 6c 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 | ,.aPopup,.null);.............}.. |
19bf40 | 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 | .........}...........else.{..... |
19bf60 | 20 20 20 20 20 20 20 20 2f 2f 20 54 68 69 73 20 6d 65 6e 75 20 69 73 20 65 6d 70 74 79 2e 20 20 | ........//.This.menu.is.empty... |
19bf80 | 49 66 20 74 68 65 72 65 20 69 73 20 6e 6f 20 73 74 61 74 69 63 20 63 6f 6e 74 65 6e 74 2c 20 61 | If.there.is.no.static.content,.a |
19bfa0 | 64 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 61 6e 20 65 6c 65 6d 65 6e 74 20 74 6f 20 | dd.............//.an.element.to. |
19bfc0 | 73 68 6f 77 20 69 74 20 69 73 20 65 6d 70 74 79 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 | show.it.is.empty..............if |
19bfe0 | 20 28 61 50 6f 70 75 70 2e 5f 73 74 61 72 74 4d 61 72 6b 65 72 20 3d 3d 20 2d 31 20 26 26 20 61 | .(aPopup._startMarker.==.-1.&&.a |
19c000 | 50 6f 70 75 70 2e 5f 65 6e 64 4d 61 72 6b 65 72 20 3d 3d 20 2d 31 29 0a 20 20 20 20 20 20 20 20 | Popup._endMarker.==.-1)......... |
19c020 | 20 20 20 20 20 20 74 68 69 73 2e 5f 73 68 6f 77 45 6d 70 74 79 4d 65 6e 75 49 74 65 6d 28 61 50 | ......this._showEmptyMenuItem(aP |
19c040 | 6f 70 75 70 29 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 61 50 6f | opup);...........}...........aPo |
19c060 | 70 75 70 2e 5f 62 75 69 6c 74 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f | pup._built.=.true;.........]]></ |
19c080 | 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 21 2d | body>.......</method>........<!- |
19c0a0 | 2d 20 6e 73 49 4e 61 76 48 69 73 74 6f 72 79 52 65 73 75 6c 74 56 69 65 77 65 72 20 2d 2d 3e 0a | -.nsINavHistoryResultViewer.-->. |
19c0c0 | 20 20 20 20 20 20 3c 66 69 65 6c 64 20 6e 61 6d 65 3d 22 5f 76 69 65 77 65 72 22 3e 3c 21 5b 43 | ......<field.name="_viewer"><![C |
19c0e0 | 44 41 54 41 5b 28 7b 0a 20 20 20 20 20 20 20 20 5f 73 65 6c 66 3a 20 74 68 69 73 2c 0a 0a 20 20 | DATA[({........._self:.this,.... |
19c100 | 20 20 20 20 20 20 5f 67 65 74 50 6f 70 75 70 46 6f 72 43 6f 6e 74 61 69 6e 65 72 3a 0a 20 20 20 | ......_getPopupForContainer:.... |
19c120 | 20 20 20 20 20 66 75 6e 63 74 69 6f 6e 20 50 4d 56 5f 5f 67 65 74 50 6f 70 75 70 46 6f 72 43 6f | .....function.PMV__getPopupForCo |
19c140 | 6e 74 61 69 6e 65 72 28 61 4e 6f 64 65 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 | ntainer(aNode).{...........if.(t |
19c160 | 68 69 73 2e 5f 73 65 6c 66 2e 5f 72 65 73 75 6c 74 4e 6f 64 65 20 3d 3d 20 61 4e 6f 64 65 29 0a | his._self._resultNode.==.aNode). |
19c180 | 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 73 65 6c 66 3b 0a 0a | ............return.this._self;.. |
19c1a0 | 20 20 20 20 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 3d 30 3b 20 69 20 3c 20 74 68 69 73 | ..........for.(var.i=0;.i.<.this |
19c1c0 | 2e 5f 73 65 6c 66 2e 5f 63 6f 6e 74 61 69 6e 65 72 4e 6f 64 65 73 4d 61 70 2e 6c 65 6e 67 74 68 | ._self._containerNodesMap.length |
19c1e0 | 3b 20 69 2b 2b 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 73 | ;.i++).{.............if.(this._s |
19c200 | 65 6c 66 2e 5f 63 6f 6e 74 61 69 6e 65 72 4e 6f 64 65 73 4d 61 70 5b 69 5d 2e 72 65 73 75 6c 74 | elf._containerNodesMap[i].result |
19c220 | 4e 6f 64 65 20 3d 3d 20 61 4e 6f 64 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 | Node.==.aNode)...............ret |
19c240 | 75 72 6e 20 74 68 69 73 2e 5f 73 65 6c 66 2e 5f 63 6f 6e 74 61 69 6e 65 72 4e 6f 64 65 73 4d 61 | urn.this._self._containerNodesMa |
19c260 | 70 5b 69 5d 2e 64 6f 6d 4e 6f 64 65 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 | p[i].domNode;...........}....... |
19c280 | 20 20 20 20 74 68 72 6f 77 28 22 43 6f 6e 74 61 69 6e 65 72 20 76 69 65 77 20 6e 6f 74 20 66 6f | ....throw("Container.view.not.fo |
19c2a0 | 75 6e 64 22 29 3b 0a 20 20 20 20 20 20 20 20 7d 2c 0a 0a 20 20 20 20 20 20 20 20 67 65 74 20 72 | und");.........},..........get.r |
19c2c0 | 65 73 75 6c 74 28 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e | esult().{...........return.this. |
19c2e0 | 5f 73 65 6c 66 2e 5f 72 65 73 75 6c 74 3b 0a 20 20 20 20 20 20 20 20 7d 2c 0a 0a 20 20 20 20 20 | _self._result;.........},....... |
19c300 | 20 20 20 73 65 74 20 72 65 73 75 6c 74 28 76 61 6c 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 2f | ...set.result(val).{.........../ |
19c320 | 2f 20 73 6f 6d 65 20 6d 65 74 68 6f 64 73 20 28 65 2e 67 2e 20 67 65 74 55 52 4c 73 46 72 6f 6d | /.some.methods.(e.g..getURLsFrom |
19c340 | 43 6f 6e 74 61 69 6e 65 72 29 20 74 65 6d 70 6f 72 61 72 69 6c 79 20 6e 75 6c 6c 20 6f 75 74 20 | Container).temporarily.null.out. |
19c360 | 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 76 69 65 77 65 72 20 77 68 65 6e 20 74 68 65 | the...........//.viewer.when.the |
19c380 | 79 20 64 6f 20 74 65 6d 70 6f 72 61 72 79 20 63 68 61 6e 67 65 73 20 74 6f 20 74 68 65 20 76 69 | y.do.temporary.changes.to.the.vi |
19c3a0 | 65 77 2c 20 74 68 69 73 20 64 6f 65 73 20 5f 6e 6f 74 5f 0a 20 20 20 20 20 20 20 20 20 20 2f 2f | ew,.this.does._not_...........// |
19c3c0 | 20 63 61 6c 6c 20 73 65 74 52 65 73 75 6c 74 28 6e 75 6c 6c 29 2c 20 62 75 74 20 74 68 65 6e 2c | .call.setResult(null),.but.then, |
19c3e0 | 20 77 65 27 72 65 20 63 61 6c 6c 65 64 20 61 67 61 69 6e 20 77 69 74 68 20 74 68 65 20 72 65 73 | .we're.called.again.with.the.res |
19c400 | 75 6c 74 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 6f 62 6a 65 63 74 20 77 68 69 63 68 20 69 73 | ult...........//.object.which.is |
19c420 | 20 61 6c 72 65 61 64 79 20 73 65 74 20 66 6f 72 20 74 68 69 73 20 76 69 65 77 65 72 2e 20 41 74 | .already.set.for.this.viewer..At |
19c440 | 20 74 68 61 74 20 70 6f 69 6e 74 2c 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 77 65 20 73 68 6f | .that.point,...........//.we.sho |
19c460 | 75 6c 64 20 64 6f 20 6e 6f 74 68 69 6e 67 2e 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 68 | uld.do.nothing............if.(th |
19c480 | 69 73 2e 5f 73 65 6c 66 2e 5f 72 65 73 75 6c 74 20 21 3d 20 76 61 6c 29 20 7b 0a 20 20 20 20 20 | is._self._result.!=.val).{...... |
19c4a0 | 20 20 20 20 20 20 20 74 68 69 73 2e 5f 62 75 69 6c 74 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 | .......this._built.=.false;..... |
19c4c0 | 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 73 65 6c 66 2e 5f 63 6f 6e 74 61 69 6e 65 72 4e 6f 64 | ........this._self._containerNod |
19c4e0 | 65 73 4d 61 70 20 3d 20 5b 5d 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 73 65 | esMap.=.[];.............this._se |
19c500 | 6c 66 2e 5f 72 65 73 75 6c 74 4e 6f 64 65 20 3d 20 76 61 6c 2e 72 6f 6f 74 3b 0a 20 20 20 20 20 | lf._resultNode.=.val.root;...... |
19c520 | 20 20 20 20 20 20 20 74 68 69 73 2e 5f 73 65 6c 66 2e 5f 72 65 73 75 6c 74 20 3d 20 76 61 6c 3b | .......this._self._result.=.val; |
19c540 | 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 76 61 | ...........}...........return.va |
19c560 | 6c 3b 0a 20 20 20 20 20 20 20 20 7d 2c 0a 0a 20 20 20 20 20 20 20 20 69 74 65 6d 49 6e 73 65 72 | l;.........},..........itemInser |
19c580 | 74 65 64 3a 20 66 75 6e 63 74 69 6f 6e 20 50 4d 56 5f 69 74 65 6d 49 6e 73 65 72 74 65 64 28 61 | ted:.function.PMV_itemInserted(a |
19c5a0 | 50 61 72 65 6e 74 4e 6f 64 65 2c 20 61 4e 6f 64 65 2c 20 61 49 6e 64 65 78 29 20 7b 0a 20 20 20 | ParentNode,.aNode,.aIndex).{.... |
19c5c0 | 20 20 20 20 20 20 20 76 61 72 20 70 6f 70 75 70 20 3d 20 74 68 69 73 2e 5f 67 65 74 50 6f 70 75 | .......var.popup.=.this._getPopu |
19c5e0 | 70 46 6f 72 43 6f 6e 74 61 69 6e 65 72 28 61 50 61 72 65 6e 74 4e 6f 64 65 29 3b 0a 20 20 20 20 | pForContainer(aParentNode);..... |
19c600 | 20 20 20 20 20 20 69 66 20 28 21 70 6f 70 75 70 2e 5f 62 75 69 6c 74 29 0a 20 20 20 20 20 20 20 | ......if.(!popup._built)........ |
19c620 | 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 69 6e 64 65 | .....return;............var.inde |
19c640 | 78 20 3d 20 70 6f 70 75 70 2e 5f 73 74 61 72 74 4d 61 72 6b 65 72 20 2b 20 31 20 2b 20 61 49 6e | x.=.popup._startMarker.+.1.+.aIn |
19c660 | 64 65 78 3b 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 62 65 66 6f 72 65 20 3d 20 70 6f 70 75 | dex;...........var.before.=.popu |
19c680 | 70 2e 63 68 69 6c 64 4e 6f 64 65 73 5b 69 6e 64 65 78 5d 20 7c 7c 20 6e 75 6c 6c 3b 0a 20 20 20 | p.childNodes[index].||.null;.... |
19c6a0 | 20 20 20 20 20 20 20 74 68 69 73 2e 5f 73 65 6c 66 2e 69 6e 73 65 72 74 4e 65 77 49 74 65 6d 28 | .......this._self.insertNewItem( |
19c6c0 | 61 4e 6f 64 65 2c 20 70 6f 70 75 70 2c 20 62 65 66 6f 72 65 29 3b 0a 20 20 20 20 20 20 20 20 20 | aNode,.popup,.before);.......... |
19c6e0 | 20 69 66 20 28 70 6f 70 75 70 2e 5f 65 6d 70 74 79 4d 65 6e 75 49 74 65 6d 29 0a 20 20 20 20 20 | .if.(popup._emptyMenuItem)...... |
19c700 | 20 20 20 20 20 20 20 70 6f 70 75 70 2e 5f 65 6d 70 74 79 4d 65 6e 75 49 74 65 6d 2e 68 69 64 64 | .......popup._emptyMenuItem.hidd |
19c720 | 65 6e 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 7d 2c 0a 0a 20 20 20 20 20 20 20 20 69 | en.=.true;.........},..........i |
19c740 | 74 65 6d 52 65 6d 6f 76 65 64 3a 20 66 75 6e 63 74 69 6f 6e 20 50 4d 56 5f 69 74 65 6d 52 65 6d | temRemoved:.function.PMV_itemRem |
19c760 | 6f 76 65 64 28 61 50 61 72 65 6e 74 4e 6f 64 65 2c 20 61 4e 6f 64 65 2c 20 61 49 6e 64 65 78 29 | oved(aParentNode,.aNode,.aIndex) |
19c780 | 20 7b 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 70 6f 70 75 70 20 3d 20 74 68 69 73 2e 5f 67 | .{...........var.popup.=.this._g |
19c7a0 | 65 74 50 6f 70 75 70 46 6f 72 43 6f 6e 74 61 69 6e 65 72 28 61 50 61 72 65 6e 74 4e 6f 64 65 29 | etPopupForContainer(aParentNode) |
19c7c0 | 3b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 70 6f 70 75 70 2e 5f 62 75 69 6c 74 29 0a 20 | ;...........if.(!popup._built).. |
19c7e0 | 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 76 61 | ...........return;............va |
19c800 | 72 20 63 68 69 6c 64 72 65 6e 20 3d 20 70 6f 70 75 70 2e 63 68 69 6c 64 4e 6f 64 65 73 3b 0a 20 | r.children.=.popup.childNodes;.. |
19c820 | 20 20 20 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 63 68 69 | .........for.(var.i.=.0;.i.<.chi |
19c840 | 6c 64 72 65 6e 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 | ldren.length;.i++).{............ |
19c860 | 20 69 66 20 28 63 68 69 6c 64 72 65 6e 5b 69 5d 2e 6e 6f 64 65 20 3d 3d 20 61 4e 6f 64 65 29 20 | .if.(children[i].node.==.aNode). |
19c880 | 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 73 65 6c 66 2e 72 65 6d 6f 76 | {...............this._self.remov |
19c8a0 | 65 49 74 65 6d 28 63 68 69 6c 64 72 65 6e 5b 69 5d 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 | eItem(children[i]);............. |
19c8c0 | 20 20 69 66 20 28 21 70 6f 70 75 70 2e 68 61 73 43 68 69 6c 64 4e 6f 64 65 73 28 29 20 7c 7c 0a | ..if.(!popup.hasChildNodes().||. |
19c8e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 70 6f 70 75 70 2e 63 68 69 6c 64 4e 6f | ..................(popup.childNo |
19c900 | 64 65 73 2e 6c 65 6e 67 74 68 20 3d 3d 20 31 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | des.length.==.1.&&.............. |
19c920 | 20 20 20 20 20 20 70 6f 70 75 70 2e 66 69 72 73 74 43 68 69 6c 64 20 3d 3d 20 70 6f 70 75 70 2e | ......popup.firstChild.==.popup. |
19c940 | 5f 65 6d 70 74 79 4d 65 6e 75 49 74 65 6d 29 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | _emptyMenuItem)).{.............. |
19c960 | 20 20 20 74 68 69 73 2e 5f 73 65 6c 66 2e 5f 73 68 6f 77 45 6d 70 74 79 4d 65 6e 75 49 74 65 6d | ...this._self._showEmptyMenuItem |
19c980 | 28 70 6f 70 75 70 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 | (popup);...............}........ |
19c9a0 | 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 | .......return;.............}.... |
19c9c0 | 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 7d 2c 0a 0a 20 20 20 20 20 20 20 20 69 74 65 | .......}.........},..........ite |
19c9e0 | 6d 4d 6f 76 65 64 3a 0a 20 20 20 20 20 20 20 20 66 75 6e 63 74 69 6f 6e 20 50 4d 56 5f 69 74 65 | mMoved:.........function.PMV_ite |
19ca00 | 6d 4d 6f 76 65 64 28 61 49 74 65 6d 2c 20 61 4f 6c 64 50 61 72 65 6e 74 2c 20 61 4f 6c 64 49 6e | mMoved(aItem,.aOldParent,.aOldIn |
19ca20 | 64 65 78 2c 20 61 4e 65 77 50 61 72 65 6e 74 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | dex,.aNewParent,................ |
19ca40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 4e 65 77 49 6e 64 65 78 29 20 7b 0a 20 20 20 | ................aNewIndex).{.... |
19ca60 | 20 20 20 20 20 20 20 2f 2f 20 54 68 69 73 20 63 61 6e 6e 6f 74 20 61 63 74 75 61 6c 6c 79 20 68 | .......//.This.cannot.actually.h |
19ca80 | 61 70 70 65 6e 20 79 65 74 20 28 73 65 65 20 49 44 4c 29 0a 20 20 20 20 20 20 20 20 20 20 69 66 | appen.yet.(see.IDL)...........if |
19caa0 | 20 28 61 4e 65 77 50 61 72 65 6e 74 20 21 3d 20 61 4f 6c 64 50 61 72 65 6e 74 29 0a 20 20 20 20 | .(aNewParent.!=.aOldParent)..... |
19cac0 | 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 70 | ........return;............var.p |
19cae0 | 6f 70 75 70 20 3d 20 74 68 69 73 2e 5f 67 65 74 50 6f 70 75 70 46 6f 72 43 6f 6e 74 61 69 6e 65 | opup.=.this._getPopupForContaine |
19cb00 | 72 28 61 4e 65 77 50 61 72 65 6e 74 29 3b 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 69 6e 64 | r(aNewParent);...........var.ind |
19cb20 | 65 78 20 3d 20 70 6f 70 75 70 2e 5f 73 74 61 72 74 4d 61 72 6b 65 72 20 2b 20 31 20 2b 20 61 4e | ex.=.popup._startMarker.+.1.+.aN |
19cb40 | 65 77 49 6e 64 65 78 3b 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 63 68 69 6c 64 72 65 6e 20 | ewIndex;...........var.children. |
19cb60 | 3d 20 70 6f 70 75 70 2e 63 68 69 6c 64 4e 6f 64 65 73 3b 0a 20 20 20 20 20 20 20 20 20 20 66 6f | =.popup.childNodes;...........fo |
19cb80 | 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 63 68 69 6c 64 72 65 6e 2e 6c 65 6e 67 74 | r.(var.i.=.0;.i.<.children.lengt |
19cba0 | 68 3b 20 69 2b 2b 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 6d 65 6e 75 49 74 | h;.i++).{.............var.menuIt |
19cbc0 | 65 6d 20 3d 20 63 68 69 6c 64 72 65 6e 5b 69 5d 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 | em.=.children[i];.............if |
19cbe0 | 20 28 6d 65 6e 75 49 74 65 6d 2e 6e 6f 64 65 20 3d 3d 20 61 49 74 65 6d 29 20 7b 0a 20 20 20 20 | .(menuItem.node.==.aItem).{..... |
19cc00 | 20 20 20 20 20 20 20 20 20 20 70 6f 70 75 70 2e 72 65 6d 6f 76 65 43 68 69 6c 64 28 6d 65 6e 75 | ..........popup.removeChild(menu |
19cc20 | 49 74 65 6d 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 6f 70 75 70 2e 69 6e 73 65 72 | Item);...............popup.inser |
19cc40 | 74 42 65 66 6f 72 65 28 6d 65 6e 75 49 74 65 6d 2c 20 63 68 69 6c 64 72 65 6e 5b 69 6e 64 65 78 | tBefore(menuItem,.children[index |
19cc60 | 5d 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 20 20 20 20 | ]);...............return;....... |
19cc80 | 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 7d 2c 0a 0a | ......}...........}.........},.. |
19cca0 | 20 20 20 20 20 20 20 20 69 74 65 6d 43 68 61 6e 67 65 64 3a 20 66 75 6e 63 74 69 6f 6e 20 50 4d | ........itemChanged:.function.PM |
19ccc0 | 56 5f 69 74 65 6d 43 68 61 6e 67 65 64 28 61 4e 6f 64 65 29 20 7b 0a 20 20 20 20 20 20 20 20 20 | V_itemChanged(aNode).{.......... |
19cce0 | 20 2f 2f 20 74 68 69 73 20 63 68 65 63 6b 20 63 61 6e 20 62 65 20 72 65 6d 6f 76 65 64 20 6f 6e | .//.this.check.can.be.removed.on |
19cd00 | 63 65 20 77 65 20 66 69 78 20 62 75 67 20 23 33 38 32 33 39 37 0a 20 20 20 20 20 20 20 20 20 20 | ce.we.fix.bug.#382397........... |
19cd20 | 76 61 72 20 70 61 72 65 6e 74 4e 6f 64 65 20 3d 20 61 4e 6f 64 65 2e 70 61 72 65 6e 74 3b 0a 20 | var.parentNode.=.aNode.parent;.. |
19cd40 | 20 20 20 20 20 20 20 20 20 69 66 20 28 21 70 61 72 65 6e 74 4e 6f 64 65 29 0a 20 20 20 20 20 20 | .........if.(!parentNode)....... |
19cd60 | 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 70 6f 70 | ......return;............var.pop |
19cd80 | 75 70 20 3d 20 74 68 69 73 2e 5f 67 65 74 50 6f 70 75 70 46 6f 72 43 6f 6e 74 61 69 6e 65 72 28 | up.=.this._getPopupForContainer( |
19cda0 | 70 61 72 65 6e 74 4e 6f 64 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 70 6f 70 75 | parentNode);...........if.(!popu |
19cdc0 | 70 2e 5f 62 75 69 6c 74 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 | p._built).............return;... |
19cde0 | 20 20 20 20 20 20 20 20 20 76 61 72 20 63 68 69 6c 64 72 65 6e 20 3d 20 70 6f 70 75 70 2e 63 68 | .........var.children.=.popup.ch |
19ce00 | 69 6c 64 4e 6f 64 65 73 3b 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 6d 65 6e 75 69 74 65 6d | ildNodes;...........var.menuitem |
19ce20 | 3b 0a 20 20 20 20 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 | ;...........for.(var.i.=.0;.i.<. |
19ce40 | 63 68 69 6c 64 72 65 6e 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 20 7b 0a 20 20 20 20 20 20 20 20 | children.length;.i++).{......... |
19ce60 | 20 20 20 20 69 66 20 28 63 68 69 6c 64 72 65 6e 5b 69 5d 2e 6e 6f 64 65 20 3d 3d 20 61 4e 6f 64 | ....if.(children[i].node.==.aNod |
19ce80 | 65 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 65 6e 75 69 74 65 6d 20 3d 20 63 68 | e).{...............menuitem.=.ch |
19cea0 | 69 6c 64 72 65 6e 5b 69 5d 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a | ildren[i];...............break;. |
19cec0 | 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 | ............}...........}....... |
19cee0 | 20 20 20 20 20 69 66 20 28 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 53 65 70 61 72 | .....if.(PlacesUtils.nodeIsSepar |
19cf00 | 61 74 6f 72 28 61 4e 6f 64 65 29 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 6e 6f | ator(aNode)).{.............//.no |
19cf20 | 74 68 69 6e 67 20 74 6f 20 64 6f 20 77 68 65 6e 20 61 20 73 65 70 61 72 61 74 6f 72 20 63 68 61 | thing.to.do.when.a.separator.cha |
19cf40 | 6e 67 65 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 20 20 20 20 20 | nges.............return;........ |
19cf60 | 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 69 63 6f 6e 55 52 49 20 3d 20 61 4e | ...}............var.iconURI.=.aN |
19cf80 | 6f 64 65 2e 69 63 6f 6e 3b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 69 63 6f 6e 55 52 49 29 | ode.icon;...........if.(iconURI) |
19cfa0 | 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 73 70 65 63 20 3d 20 69 63 6f 6e 55 52 | .{.............var.spec.=.iconUR |
19cfc0 | 49 2e 73 70 65 63 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 6d 65 6e 75 69 74 65 6d | I.spec;.............if.(menuitem |
19cfe0 | 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 69 6d 61 67 65 22 29 20 21 3d 20 73 70 65 63 29 0a | .getAttribute("image").!=.spec). |
19d000 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 65 6e 75 69 74 65 6d 2e 73 65 74 41 74 74 72 69 62 | ..............menuitem.setAttrib |
19d020 | 75 74 65 28 22 69 6d 61 67 65 22 2c 20 73 70 65 63 29 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a | ute("image",.spec);...........}. |
19d040 | 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 65 6e 75 69 | ..........else.............menui |
19d060 | 74 65 6d 2e 72 65 6d 6f 76 65 41 74 74 72 69 62 75 74 65 28 22 69 6d 61 67 65 22 29 3b 0a 0a 20 | tem.removeAttribute("image");... |
19d080 | 20 20 20 20 20 20 20 20 20 76 61 72 20 74 69 74 6c 65 20 3d 20 50 6c 61 63 65 73 55 49 55 74 69 | .........var.title.=.PlacesUIUti |
19d0a0 | 6c 73 2e 67 65 74 42 65 73 74 54 69 74 6c 65 28 61 4e 6f 64 65 29 3b 0a 20 20 20 20 20 20 20 20 | ls.getBestTitle(aNode);......... |
19d0c0 | 20 20 69 66 20 28 6d 65 6e 75 69 74 65 6d 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 6c 61 62 | ..if.(menuitem.getAttribute("lab |
19d0e0 | 65 6c 22 29 20 21 3d 20 74 69 74 6c 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 65 6e 75 69 | el").!=.title).............menui |
19d100 | 74 65 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 6c 61 62 65 6c 22 2c 20 74 69 74 6c 65 29 | tem.setAttribute("label",.title) |
19d120 | 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 | ;............if.(PlacesUtils.nod |
19d140 | 65 49 73 4c 69 76 65 6d 61 72 6b 43 6f 6e 74 61 69 6e 65 72 28 61 4e 6f 64 65 29 29 20 7b 0a 20 | eIsLivemarkContainer(aNode)).{.. |
19d160 | 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 6d 65 6e 75 69 74 65 6d 2e 68 61 73 41 74 74 72 | ...........if.(!menuitem.hasAttr |
19d180 | 69 62 75 74 65 28 22 6c 69 76 65 6d 61 72 6b 22 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ibute("livemark")).............. |
19d1a0 | 20 6d 65 6e 75 69 74 65 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 6c 69 76 65 6d 61 72 6b | .menuitem.setAttribute("livemark |
19d1c0 | 22 2c 20 22 74 72 75 65 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 49 66 20 74 68 | ",."true");.............//.If.th |
19d1e0 | 69 73 20 69 73 20 61 20 6c 69 76 65 6d 61 72 6b 20 63 6f 6e 74 61 69 6e 65 72 20 63 68 65 63 6b | is.is.a.livemark.container.check |
19d200 | 20 69 66 20 74 68 65 20 73 74 61 74 75 73 20 6d 65 6e 75 69 74 65 6d 20 68 61 73 0a 20 20 20 20 | .if.the.status.menuitem.has..... |
19d220 | 20 20 20 20 20 20 20 20 2f 2f 20 74 6f 20 62 65 20 61 64 64 65 64 20 6f 72 20 72 65 6d 6f 76 65 | ........//.to.be.added.or.remove |
19d240 | 64 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 65 6e 73 | d..............PlacesUIUtils.ens |
19d260 | 75 72 65 4c 69 76 65 6d 61 72 6b 53 74 61 74 75 73 4d 65 6e 75 49 74 65 6d 28 6d 65 6e 75 69 74 | ureLivemarkStatusMenuItem(menuit |
19d280 | 65 6d 2e 66 69 72 73 74 43 68 69 6c 64 29 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 | em.firstChild);...........}..... |
19d2a0 | 20 20 20 20 20 20 65 6c 73 65 20 69 66 20 28 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 | ......else.if.(PlacesUtils.nodeI |
19d2c0 | 73 55 52 49 28 61 4e 6f 64 65 29 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 65 6e | sURI(aNode)).{...............men |
19d2e0 | 75 69 74 65 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 73 63 68 65 6d 65 22 2c 20 50 6c 61 | uitem.setAttribute("scheme",.Pla |
19d300 | 63 65 73 55 49 55 74 69 6c 73 2e 67 75 65 73 73 55 72 6c 53 63 68 65 6d 65 46 6f 72 55 49 28 61 | cesUIUtils.guessUrlSchemeForUI(a |
19d320 | 4e 6f 64 65 2e 75 72 69 29 29 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 | Node.uri));...........}......... |
19d340 | 7d 2c 0a 0a 20 20 20 20 20 20 20 20 69 74 65 6d 52 65 70 6c 61 63 65 64 3a 0a 20 20 20 20 20 20 | },..........itemReplaced:....... |
19d360 | 20 20 66 75 6e 63 74 69 6f 6e 20 50 4d 56 5f 69 74 65 6d 52 65 70 6c 61 63 65 64 28 61 50 61 72 | ..function.PMV_itemReplaced(aPar |
19d380 | 65 6e 74 4e 6f 64 65 2c 20 61 4f 6c 64 4e 6f 64 65 2c 20 61 4e 65 77 4e 6f 64 65 2c 20 61 49 6e | entNode,.aOldNode,.aNewNode,.aIn |
19d3a0 | 64 65 78 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 70 6f 70 75 70 20 3d 20 74 68 69 | dex).{...........var.popup.=.thi |
19d3c0 | 73 2e 5f 67 65 74 50 6f 70 75 70 46 6f 72 43 6f 6e 74 61 69 6e 65 72 28 61 50 61 72 65 6e 74 4e | s._getPopupForContainer(aParentN |
19d3e0 | 6f 64 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 70 6f 70 75 70 2e 5f 62 75 69 6c | ode);...........if.(!popup._buil |
19d400 | 74 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 20 20 20 20 20 20 | t).............return;.......... |
19d420 | 20 20 76 61 72 20 63 68 69 6c 64 72 65 6e 20 3d 20 70 6f 70 75 70 2e 63 68 69 6c 64 4e 6f 64 65 | ..var.children.=.popup.childNode |
19d440 | 73 3b 0a 20 20 20 20 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c | s;...........for.(var.i.=.0;.i.< |
19d460 | 20 63 68 69 6c 64 72 65 6e 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 20 7b 0a 20 20 20 20 20 20 20 | .children.length;.i++).{........ |
19d480 | 20 20 20 20 20 69 66 20 28 63 68 69 6c 64 72 65 6e 5b 69 5d 2e 6e 6f 64 65 20 3d 3d 20 61 4f 6c | .....if.(children[i].node.==.aOl |
19d4a0 | 64 4e 6f 64 65 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 6e 65 78 74 20 | dNode).{...............var.next. |
19d4c0 | 3d 20 63 68 69 6c 64 72 65 6e 5b 69 5d 2e 6e 65 78 74 53 69 62 6c 69 6e 67 3b 0a 20 20 20 20 20 | =.children[i].nextSibling;...... |
19d4e0 | 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 73 65 6c 66 2e 72 65 6d 6f 76 65 49 74 65 6d 28 63 | .........this._self.removeItem(c |
19d500 | 68 69 6c 64 72 65 6e 5b 69 5d 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e | hildren[i]);...............this. |
19d520 | 5f 73 65 6c 66 2e 69 6e 73 65 72 74 4e 65 77 49 74 65 6d 28 61 4e 65 77 4e 6f 64 65 2c 20 70 6f | _self.insertNewItem(aNewNode,.po |
19d540 | 70 75 70 2c 20 6e 65 78 74 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e | pup,.next);...............return |
19d560 | 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 | ;.............}...........}..... |
19d580 | 20 20 20 20 7d 2c 0a 0a 20 20 20 20 20 20 20 20 63 6f 6e 74 61 69 6e 65 72 4f 70 65 6e 65 64 3a | ....},..........containerOpened: |
19d5a0 | 20 66 75 6e 63 74 69 6f 6e 20 50 4d 56 5f 63 6f 6e 74 61 69 6e 65 72 4f 70 65 6e 65 64 28 61 4e | .function.PMV_containerOpened(aN |
19d5c0 | 6f 64 65 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 69 6e 76 61 6c 69 64 61 74 65 | ode).{...........this.invalidate |
19d5e0 | 43 6f 6e 74 61 69 6e 65 72 28 61 4e 6f 64 65 29 3b 0a 20 20 20 20 20 20 20 20 7d 2c 0a 0a 20 20 | Container(aNode);.........},.... |
19d600 | 20 20 20 20 20 20 63 6f 6e 74 61 69 6e 65 72 43 6c 6f 73 65 64 3a 20 66 75 6e 63 74 69 6f 6e 20 | ......containerClosed:.function. |
19d620 | 50 4d 56 5f 63 6f 6e 74 61 69 6e 65 72 43 6c 6f 73 65 64 28 61 4e 6f 64 65 29 20 7b 0a 20 20 20 | PMV_containerClosed(aNode).{.... |
19d640 | 20 20 20 20 20 20 20 74 68 69 73 2e 69 6e 76 61 6c 69 64 61 74 65 43 6f 6e 74 61 69 6e 65 72 28 | .......this.invalidateContainer( |
19d660 | 61 4e 6f 64 65 29 3b 0a 20 20 20 20 20 20 20 20 7d 2c 0a 20 0a 20 20 20 20 20 20 20 20 69 6e 76 | aNode);.........},...........inv |
19d680 | 61 6c 69 64 61 74 65 43 6f 6e 74 61 69 6e 65 72 3a 20 66 75 6e 63 74 69 6f 6e 20 50 4d 56 5f 69 | alidateContainer:.function.PMV_i |
19d6a0 | 6e 76 61 6c 69 64 61 74 65 43 6f 6e 74 61 69 6e 65 72 28 61 43 6f 6e 74 61 69 6e 65 72 29 20 7b | nvalidateContainer(aContainer).{ |
19d6c0 | 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 74 68 69 73 2e 5f 73 65 6c 66 2e 5f 62 75 69 6c | ...........if.(!this._self._buil |
19d6e0 | 74 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 20 20 20 20 20 20 | t).............return;.......... |
19d700 | 20 20 66 75 6e 63 74 69 6f 6e 20 69 73 43 68 69 6c 64 4f 66 28 6e 6f 64 65 2c 20 63 6f 6e 74 61 | ..function.isChildOf(node,.conta |
19d720 | 69 6e 65 72 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 70 61 72 65 6e 74 20 3d | iner).{.............var.parent.= |
19d740 | 20 6e 6f 64 65 2e 70 61 72 65 6e 74 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 77 68 69 6c 65 20 | .node.parent;.............while. |
19d760 | 28 70 61 72 65 6e 74 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 70 61 72 | (parent).{...............if.(par |
19d780 | 65 6e 74 20 3d 3d 20 63 6f 6e 74 61 69 6e 65 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ent.==.container)............... |
19d7a0 | 20 20 72 65 74 75 72 6e 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 61 72 | ..return.true;...............par |
19d7c0 | 65 6e 74 20 3d 20 70 61 72 65 6e 74 2e 70 61 72 65 6e 74 3b 0a 20 20 20 20 20 20 20 20 20 20 20 | ent.=.parent.parent;............ |
19d7e0 | 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 0a 20 20 20 | .}.............return.false;.... |
19d800 | 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 70 6f 70 75 70 54 6f 52 | .......}............var.popupToR |
19d820 | 65 62 75 69 6c 64 20 3d 20 6e 75 6c 6c 3b 0a 20 20 20 20 20 20 20 20 20 20 66 6f 72 20 28 76 61 | ebuild.=.null;...........for.(va |
19d840 | 72 20 69 3d 30 3b 20 69 20 3c 20 74 68 69 73 2e 5f 73 65 6c 66 2e 5f 63 6f 6e 74 61 69 6e 65 72 | r.i=0;.i.<.this._self._container |
19d860 | 4e 6f 64 65 73 4d 61 70 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 20 7b 0a 20 20 20 20 20 20 20 20 | NodesMap.length;.i++).{......... |
19d880 | 20 20 20 20 76 61 72 20 6e 6f 64 65 20 3d 20 74 68 69 73 2e 5f 73 65 6c 66 2e 5f 63 6f 6e 74 61 | ....var.node.=.this._self._conta |
19d8a0 | 69 6e 65 72 4e 6f 64 65 73 4d 61 70 5b 69 5d 2e 72 65 73 75 6c 74 4e 6f 64 65 3b 0a 0a 20 20 20 | inerNodesMap[i].resultNode;..... |
19d8c0 | 20 20 20 20 20 20 20 20 20 69 66 20 28 6e 6f 64 65 20 3d 3d 20 61 43 6f 6e 74 61 69 6e 65 72 29 | .........if.(node.==.aContainer) |
19d8e0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 6f 70 75 70 54 6f 52 65 62 75 69 6c 64 20 3d 20 | ...............popupToRebuild.=. |
19d900 | 74 68 69 73 2e 5f 73 65 6c 66 2e 5f 63 6f 6e 74 61 69 6e 65 72 4e 6f 64 65 73 4d 61 70 5b 69 5d | this._self._containerNodesMap[i] |
19d920 | 2e 64 6f 6d 4e 6f 64 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 69 73 43 68 69 6c | .domNode;.............if.(isChil |
19d940 | 64 4f 66 28 6e 6f 64 65 2c 20 61 43 6f 6e 74 61 69 6e 65 72 29 29 20 7b 0a 20 20 20 20 20 20 20 | dOf(node,.aContainer)).{........ |
19d960 | 20 20 20 20 20 20 20 74 68 69 73 2e 5f 73 65 6c 66 2e 5f 63 6f 6e 74 61 69 6e 65 72 4e 6f 64 65 | .......this._self._containerNode |
19d980 | 73 4d 61 70 2e 73 70 6c 69 63 65 28 69 2c 31 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | sMap.splice(i,1);............... |
19d9a0 | 69 2d 2d 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 0a | i--;.............}...........}.. |
19d9c0 | 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 70 6f 70 75 70 54 6f 52 65 62 75 69 6c 64 29 0a 20 | ..........if.(!popupToRebuild).. |
19d9e0 | 20 20 20 20 20 20 20 20 20 20 20 70 6f 70 75 70 54 6f 52 65 62 75 69 6c 64 20 3d 20 74 68 69 73 | ...........popupToRebuild.=.this |
19da00 | 2e 5f 73 65 6c 66 3b 0a 20 20 20 20 20 20 20 20 20 20 70 6f 70 75 70 54 6f 52 65 62 75 69 6c 64 | ._self;...........popupToRebuild |
19da20 | 2e 5f 62 75 69 6c 74 20 3d 20 66 61 6c 73 65 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 69 | ._built.=.false;............//.i |
19da40 | 66 20 74 68 65 20 6d 65 6e 75 70 6f 70 75 70 20 69 73 20 6f 70 65 6e 20 77 65 20 73 68 6f 75 6c | f.the.menupopup.is.open.we.shoul |
19da60 | 64 20 6c 69 76 65 2d 75 70 64 61 74 65 20 69 74 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 70 | d.live-update.it...........if.(p |
19da80 | 6f 70 75 70 54 6f 52 65 62 75 69 6c 64 2e 70 61 72 65 6e 74 4e 6f 64 65 2e 6f 70 65 6e 29 0a 20 | opupToRebuild.parentNode.open).. |
19daa0 | 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 73 65 6c 66 2e 5f 72 65 62 75 69 6c 64 28 70 | ...........this._self._rebuild(p |
19dac0 | 6f 70 75 70 54 6f 52 65 62 75 69 6c 64 29 3b 0a 20 20 20 20 20 20 20 20 7d 2c 0a 0a 20 20 20 20 | opupToRebuild);.........},...... |
19dae0 | 20 20 20 20 69 6e 76 61 6c 69 64 61 74 65 41 6c 6c 3a 20 66 75 6e 63 74 69 6f 6e 20 50 4d 56 5f | ....invalidateAll:.function.PMV_ |
19db00 | 69 6e 76 61 6c 69 64 61 74 65 41 6c 6c 28 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 | invalidateAll().{...........this |
19db20 | 2e 5f 73 65 6c 66 2e 5f 63 6f 6e 74 61 69 6e 65 72 4e 6f 64 65 73 4d 61 70 2e 73 70 6c 69 63 65 | ._self._containerNodesMap.splice |
19db40 | 28 30 29 3b 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 73 65 6c 66 2e 5f 62 75 69 6c 74 | (0);...........this._self._built |
19db60 | 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 20 20 20 7d 2c 0a 0a 20 20 20 20 20 20 20 20 73 6f | .=.false;.........},..........so |
19db80 | 72 74 69 6e 67 43 68 61 6e 67 65 64 3a 20 66 75 6e 63 74 69 6f 6e 20 50 4d 56 5f 73 6f 72 74 69 | rtingChanged:.function.PMV_sorti |
19dba0 | 6e 67 43 68 61 6e 67 65 64 28 61 53 6f 72 74 69 6e 67 4d 6f 64 65 29 20 7b 0a 20 20 20 20 20 20 | ngChanged(aSortingMode).{....... |
19dbc0 | 20 20 7d 0a 20 20 20 20 20 20 7d 29 5d 5d 3e 3c 2f 66 69 65 6c 64 3e 0a 0a 20 20 20 20 20 20 3c | ..}.......})]]></field>........< |
19dbe0 | 21 2d 2d 20 6e 73 49 50 6c 61 63 65 73 56 69 65 77 20 2d 2d 3e 0a 20 20 20 20 20 20 3c 70 72 6f | !--.nsIPlacesView.-->.......<pro |
19dc00 | 70 65 72 74 79 20 6e 61 6d 65 3d 22 70 6c 61 63 65 22 3e 0a 20 20 20 20 20 20 20 20 3c 67 65 74 | perty.name="place">.........<get |
19dc20 | 74 65 72 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 | ter><![CDATA[...........return.t |
19dc40 | 68 69 73 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 70 6c 61 63 65 22 29 3b 0a 20 20 20 20 20 | his.getAttribute("place");...... |
19dc60 | 20 20 20 5d 5d 3e 3c 2f 67 65 74 74 65 72 3e 0a 20 20 20 20 20 20 20 20 3c 73 65 74 74 65 72 3e | ...]]></getter>.........<setter> |
19dc80 | 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 73 65 74 41 74 74 72 | <![CDATA[...........this.setAttr |
19dca0 | 69 62 75 74 65 28 22 70 6c 61 63 65 22 2c 20 76 61 6c 29 3b 0a 20 20 20 20 20 20 20 20 20 20 76 | ibute("place",.val);...........v |
19dcc0 | 61 72 20 71 75 65 72 69 65 73 20 3d 20 7b 20 7d 2c 20 6f 70 74 69 6f 6e 73 20 3d 20 7b 20 7d 3b | ar.queries.=.{.},.options.=.{.}; |
19dce0 | 0a 20 20 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 68 69 73 74 6f 72 79 2e 71 | ...........PlacesUtils.history.q |
19dd00 | 75 65 72 79 53 74 72 69 6e 67 54 6f 51 75 65 72 69 65 73 28 76 61 6c 2c 20 71 75 65 72 69 65 73 | ueryStringToQueries(val,.queries |
19dd20 | 2c 20 7b 20 7d 2c 20 6f 70 74 69 6f 6e 73 29 3b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 | ,.{.},.options);...........if.(! |
19dd40 | 71 75 65 72 69 65 73 2e 76 61 6c 75 65 2e 6c 65 6e 67 74 68 29 0a 20 20 20 20 20 20 20 20 20 20 | queries.value.length)........... |
19dd60 | 20 20 71 75 65 72 69 65 73 2e 76 61 6c 75 65 20 3d 20 5b 50 6c 61 63 65 73 55 74 69 6c 73 2e 68 | ..queries.value.=.[PlacesUtils.h |
19dd80 | 69 73 74 6f 72 79 2e 67 65 74 4e 65 77 51 75 65 72 79 28 29 5d 3b 0a 20 20 20 20 20 20 20 20 20 | istory.getNewQuery()];.......... |
19dda0 | 20 76 61 72 20 72 65 73 75 6c 74 20 3d 0a 20 20 20 20 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 | .var.result.=.............Places |
19ddc0 | 55 74 69 6c 73 2e 68 69 73 74 6f 72 79 2e 65 78 65 63 75 74 65 51 75 65 72 69 65 73 28 71 75 65 | Utils.history.executeQueries(que |
19dde0 | 72 69 65 73 2e 76 61 6c 75 65 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ries.value,..................... |
19de00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 71 75 65 72 69 | ...........................queri |
19de20 | 65 73 2e 76 61 6c 75 65 2e 6c 65 6e 67 74 68 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | es.value.length,................ |
19de40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
19de60 | 6f 70 74 69 6f 6e 73 2e 76 61 6c 75 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 72 65 73 75 6c 74 | options.value);...........result |
19de80 | 2e 76 69 65 77 65 72 20 3d 20 74 68 69 73 2e 5f 76 69 65 77 65 72 3b 0a 20 20 20 20 20 20 20 20 | .viewer.=.this._viewer;......... |
19dea0 | 20 20 72 65 74 75 72 6e 20 76 61 6c 3b 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 73 65 74 74 65 | ..return.val;.........]]></sette |
19dec0 | 72 3e 0a 20 20 20 20 20 20 3c 2f 70 72 6f 70 65 72 74 79 3e 0a 0a 20 20 20 20 20 20 3c 21 2d 2d | r>.......</property>........<!-- |
19dee0 | 20 6e 73 49 50 6c 61 63 65 73 56 69 65 77 20 2d 2d 3e 0a 20 20 20 20 20 20 3c 70 72 6f 70 65 72 | .nsIPlacesView.-->.......<proper |
19df00 | 74 79 20 6e 61 6d 65 3d 22 68 61 73 53 65 6c 65 63 74 69 6f 6e 22 3e 0a 20 20 20 20 20 20 20 20 | ty.name="hasSelection">......... |
19df20 | 3c 67 65 74 74 65 72 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 | <getter><![CDATA[...........retu |
19df40 | 72 6e 20 74 68 69 73 2e 73 65 6c 65 63 74 65 64 4e 6f 64 65 20 21 3d 20 6e 75 6c 6c 3b 0a 20 20 | rn.this.selectedNode.!=.null;... |
19df60 | 20 20 20 20 20 20 5d 5d 3e 3c 2f 67 65 74 74 65 72 3e 0a 20 20 20 20 20 20 3c 2f 70 72 6f 70 65 | ......]]></getter>.......</prope |
19df80 | 72 74 79 3e 0a 0a 20 20 20 20 20 20 3c 21 2d 2d 20 6e 73 49 50 6c 61 63 65 73 56 69 65 77 20 2d | rty>........<!--.nsIPlacesView.- |
19dfa0 | 2d 3e 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 67 65 74 53 65 6c 65 63 74 | ->.......<method.name="getSelect |
19dfc0 | 69 6f 6e 4e 6f 64 65 73 22 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 3c 21 5b 43 44 41 54 | ionNodes">.........<body><![CDAT |
19dfe0 | 41 5b 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 73 65 6c 65 63 74 65 64 4e 6f 64 65 20 3d 20 | A[...........var.selectedNode.=. |
19e000 | 74 68 69 73 2e 73 65 6c 65 63 74 65 64 4e 6f 64 65 3b 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 | this.selectedNode;...........ret |
19e020 | 75 72 6e 20 73 65 6c 65 63 74 65 64 4e 6f 64 65 20 3f 20 5b 73 65 6c 65 63 74 65 64 4e 6f 64 65 | urn.selectedNode.?.[selectedNode |
19e040 | 5d 20 3a 20 5b 5d 3b 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 | ].:.[];.........]]></body>...... |
19e060 | 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 21 2d 2d 20 6e 73 49 50 6c 61 63 65 73 | .</method>........<!--.nsIPlaces |
19e080 | 56 69 65 77 20 2d 2d 3e 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 67 65 74 | View.-->.......<method.name="get |
19e0a0 | 52 65 6d 6f 76 61 62 6c 65 53 65 6c 65 63 74 69 6f 6e 52 61 6e 67 65 73 22 3e 0a 20 20 20 20 20 | RemovableSelectionRanges">...... |
19e0c0 | 20 20 20 3c 62 6f 64 79 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 | ...<body><![CDATA[...........//. |
19e0e0 | 4f 6e 20 73 74 61 74 69 63 20 63 6f 6e 74 65 6e 74 20 74 68 65 20 63 75 72 72 65 6e 74 20 73 65 | On.static.content.the.current.se |
19e100 | 6c 65 63 74 65 64 4e 6f 64 65 20 77 6f 75 6c 64 20 62 65 20 74 68 65 20 73 65 6c 65 63 74 69 6f | lectedNode.would.be.the.selectio |
19e120 | 6e 27 73 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 70 61 72 65 6e 74 20 6e 6f 64 65 2e 20 57 65 | n's...........//.parent.node..We |
19e140 | 20 64 6f 6e 27 74 20 77 61 6e 74 20 74 6f 20 61 6c 6c 6f 77 20 72 65 6d 6f 76 69 6e 67 20 61 20 | .don't.want.to.allow.removing.a. |
19e160 | 6e 6f 64 65 20 77 68 65 6e 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 73 65 6c 65 63 | node.when.the...........//.selec |
19e180 | 74 69 6f 6e 20 69 73 20 6e 6f 74 20 65 78 70 6c 69 63 69 74 2e 0a 20 20 20 20 20 20 20 20 20 20 | tion.is.not.explicit............ |
19e1a0 | 69 66 20 28 64 6f 63 75 6d 65 6e 74 2e 70 6f 70 75 70 4e 6f 64 65 20 26 26 0a 20 20 20 20 20 20 | if.(document.popupNode.&&....... |
19e1c0 | 20 20 20 20 20 20 20 20 28 64 6f 63 75 6d 65 6e 74 2e 70 6f 70 75 70 4e 6f 64 65 20 3d 3d 20 22 | ........(document.popupNode.==." |
19e1e0 | 6d 65 6e 75 70 6f 70 75 70 22 20 7c 7c 20 21 64 6f 63 75 6d 65 6e 74 2e 70 6f 70 75 70 4e 6f 64 | menupopup".||.!document.popupNod |
19e200 | 65 2e 6e 6f 64 65 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 5b 5d 3b 0a | e.node)).............return.[];. |
19e220 | 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 5b 74 68 69 73 2e 67 65 74 53 65 6c 65 63 | ...........return.[this.getSelec |
19e240 | 74 69 6f 6e 4e 6f 64 65 73 28 29 5d 3b 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 62 6f 64 79 3e | tionNodes()];.........]]></body> |
19e260 | 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 21 2d 2d 20 6e 73 49 | .......</method>........<!--.nsI |
19e280 | 50 6c 61 63 65 73 56 69 65 77 20 2d 2d 3e 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d | PlacesView.-->.......<method.nam |
19e2a0 | 65 3d 22 67 65 74 44 72 61 67 61 62 6c 65 53 65 6c 65 63 74 69 6f 6e 22 3e 0a 20 20 20 20 20 20 | e="getDragableSelection">....... |
19e2c0 | 20 20 3c 62 6f 64 79 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 | ..<body><![CDATA[...........retu |
19e2e0 | 72 6e 20 5b 74 68 69 73 2e 5f 64 72 61 67 67 65 64 4e 6f 64 65 5d 3b 0a 20 20 20 20 20 20 20 20 | rn.[this._draggedNode];......... |
19e300 | 5d 5d 3e 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 | ]]></body>.......</method>...... |
19e320 | 20 20 3c 21 2d 2d 20 6e 73 49 50 6c 61 63 65 73 56 69 65 77 20 2d 2d 3e 0a 20 20 20 20 20 20 3c | ..<!--.nsIPlacesView.-->.......< |
19e340 | 70 72 6f 70 65 72 74 79 20 6e 61 6d 65 3d 22 73 65 6c 65 63 74 65 64 4e 6f 64 65 22 3e 0a 20 20 | property.name="selectedNode">... |
19e360 | 20 20 20 20 20 20 3c 67 65 74 74 65 72 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 | ......<getter><![CDATA[......... |
19e380 | 20 20 69 66 20 28 74 68 69 73 2e 5f 63 6f 6e 74 65 78 74 4d 65 6e 75 53 68 6f 77 6e 29 20 7b 0a | ..if.(this._contextMenuShown).{. |
19e3a0 | 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 70 6f 70 75 70 4e 6f 64 65 20 3d 20 64 6f 63 75 | ............var.popupNode.=.docu |
19e3c0 | 6d 65 6e 74 2e 70 6f 70 75 70 4e 6f 64 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 | ment.popupNode;.............retu |
19e3e0 | 72 6e 20 70 6f 70 75 70 4e 6f 64 65 2e 6e 6f 64 65 20 7c 7c 20 70 6f 70 75 70 4e 6f 64 65 2e 70 | rn.popupNode.node.||.popupNode.p |
19e400 | 61 72 65 6e 74 4e 6f 64 65 2e 5f 72 65 73 75 6c 74 4e 6f 64 65 20 7c 7c 20 6e 75 6c 6c 3b 0a 20 | arentNode._resultNode.||.null;.. |
19e420 | 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 6e 75 6c 6c | .........}...........return.null |
19e440 | 3b 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 67 65 74 74 65 72 3e 0a 20 20 20 20 20 20 3c 2f 70 | ;.........]]></getter>.......</p |
19e460 | 72 6f 70 65 72 74 79 3e 0a 0a 20 20 20 20 20 20 3c 21 2d 2d 20 6e 73 49 50 6c 61 63 65 73 56 69 | roperty>........<!--.nsIPlacesVi |
19e480 | 65 77 20 2d 2d 3e 0a 20 20 20 20 20 20 3c 70 72 6f 70 65 72 74 79 20 6e 61 6d 65 3d 22 69 6e 73 | ew.-->.......<property.name="ins |
19e4a0 | 65 72 74 69 6f 6e 50 6f 69 6e 74 22 3e 0a 20 20 20 20 20 20 20 20 3c 67 65 74 74 65 72 3e 3c 21 | ertionPoint">.........<getter><! |
19e4c0 | 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 74 68 65 72 65 20 69 73 20 6e 6f | [CDATA[...........//.there.is.no |
19e4e0 | 20 69 6e 73 65 72 74 69 6f 6e 20 70 6f 69 6e 74 20 66 6f 72 20 68 69 73 74 6f 72 79 20 71 75 65 | .insertion.point.for.history.que |
19e500 | 72 69 65 73 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 73 6f 20 62 61 69 6c 20 6f 75 74 20 6e 6f | ries...........//.so.bail.out.no |
19e520 | 77 20 61 6e 64 20 73 61 76 65 20 61 20 6c 6f 74 20 6f 66 20 77 6f 72 6b 20 77 68 65 6e 20 75 70 | w.and.save.a.lot.of.work.when.up |
19e540 | 64 61 74 69 6e 67 20 63 6f 6d 6d 61 6e 64 73 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 72 65 | dating.commands...........var.re |
19e560 | 73 75 6c 74 4e 6f 64 65 20 3d 20 74 68 69 73 2e 5f 72 65 73 75 6c 74 4e 6f 64 65 3b 0a 20 20 20 | sultNode.=.this._resultNode;.... |
19e580 | 20 20 20 20 20 20 20 69 66 20 28 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 51 75 65 | .......if.(PlacesUtils.nodeIsQue |
19e5a0 | 72 79 28 72 65 73 75 6c 74 4e 6f 64 65 29 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ry(resultNode).&&............... |
19e5c0 | 61 73 51 75 65 72 79 28 72 65 73 75 6c 74 4e 6f 64 65 29 2e 71 75 65 72 79 4f 70 74 69 6f 6e 73 | asQuery(resultNode).queryOptions |
19e5e0 | 2e 71 75 65 72 79 54 79 70 65 20 3d 3d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 43 69 | .queryType.==.................Ci |
19e600 | 2e 6e 73 49 4e 61 76 48 69 73 74 6f 72 79 51 75 65 72 79 4f 70 74 69 6f 6e 73 2e 51 55 45 52 59 | .nsINavHistoryQueryOptions.QUERY |
19e620 | 5f 54 59 50 45 5f 48 49 53 54 4f 52 59 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 | _TYPE_HISTORY)...............ret |
19e640 | 75 72 6e 20 6e 75 6c 6c 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 42 79 20 64 65 66 61 75 | urn.null;............//.By.defau |
19e660 | 6c 74 2c 20 74 68 65 20 69 6e 73 65 72 74 69 6f 6e 20 70 6f 69 6e 74 20 69 73 20 61 74 20 74 68 | lt,.the.insertion.point.is.at.th |
19e680 | 65 20 74 6f 70 20 6c 65 76 65 6c 2c 20 61 74 20 74 68 65 20 65 6e 64 2e 0a 20 20 20 20 20 20 20 | e.top.level,.at.the.end......... |
19e6a0 | 20 20 20 76 61 72 20 69 6e 64 65 78 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 62 6f 6f 6b 6d | ...var.index.=.PlacesUtils.bookm |
19e6c0 | 61 72 6b 73 2e 44 45 46 41 55 4c 54 5f 49 4e 44 45 58 3b 0a 20 20 20 20 20 20 20 20 20 20 76 61 | arks.DEFAULT_INDEX;...........va |
19e6e0 | 72 20 63 6f 6e 74 61 69 6e 65 72 20 3d 20 6e 75 6c 6c 3b 0a 20 20 20 20 20 20 20 20 20 20 76 61 | r.container.=.null;...........va |
19e700 | 72 20 6f 72 69 65 6e 74 61 74 69 6f 6e 20 3d 20 43 69 2e 6e 73 49 54 72 65 65 56 69 65 77 2e 44 | r.orientation.=.Ci.nsITreeView.D |
19e720 | 52 4f 50 5f 42 45 46 4f 52 45 3b 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 69 73 54 61 67 20 | ROP_BEFORE;...........var.isTag. |
19e740 | 3d 20 66 61 6c 73 65 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 50 6c 61 63 65 73 55 74 | =.false;............if.(PlacesUt |
19e760 | 69 6c 73 2e 6e 6f 64 65 49 73 46 6f 6c 64 65 72 28 72 65 73 75 6c 74 4e 6f 64 65 29 29 20 7b 0a | ils.nodeIsFolder(resultNode)).{. |
19e780 | 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6e 74 61 69 6e 65 72 20 3d 20 72 65 73 75 6c 74 4e 6f | ............container.=.resultNo |
19e7a0 | 64 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 73 54 61 67 20 3d 20 50 6c 61 63 65 73 55 74 | de;.............isTag.=.PlacesUt |
19e7c0 | 69 6c 73 2e 6e 6f 64 65 49 73 54 61 67 51 75 65 72 79 28 72 65 73 75 6c 74 4e 6f 64 65 29 3b 0a | ils.nodeIsTagQuery(resultNode);. |
19e7e0 | 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 73 65 6c 65 63 | ..........}............var.selec |
19e800 | 74 65 64 4e 6f 64 65 20 3d 20 74 68 69 73 2e 73 65 6c 65 63 74 65 64 4e 6f 64 65 3b 0a 20 20 20 | tedNode.=.this.selectedNode;.... |
19e820 | 20 20 20 20 20 20 20 69 66 20 28 73 65 6c 65 63 74 65 64 4e 6f 64 65 29 20 7b 0a 20 20 20 20 20 | .......if.(selectedNode).{...... |
19e840 | 20 20 20 20 20 20 20 76 61 72 20 70 6f 70 75 70 4e 6f 64 65 20 3d 20 64 6f 63 75 6d 65 6e 74 2e | .......var.popupNode.=.document. |
19e860 | 70 6f 70 75 70 4e 6f 64 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 70 6f 70 75 | popupNode;.............if.(!popu |
19e880 | 70 4e 6f 64 65 2e 6e 6f 64 65 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 49 | pNode.node).{...............//.I |
19e8a0 | 66 20 61 20 73 74 61 74 69 63 20 6d 65 6e 75 69 74 65 6d 20 69 73 20 73 65 6c 65 63 74 65 64 20 | f.a.static.menuitem.is.selected. |
19e8c0 | 74 68 65 20 69 6e 73 65 72 74 69 6f 6e 20 70 6f 69 6e 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 | the.insertion.point............. |
19e8e0 | 20 20 2f 2f 20 69 73 20 69 6e 73 69 64 65 20 74 68 65 20 66 6f 6c 64 65 72 2c 20 61 74 20 74 68 | ..//.is.inside.the.folder,.at.th |
19e900 | 65 20 65 6e 64 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6e 74 61 69 6e 65 72 20 3d | e.end................container.= |
19e920 | 20 73 65 6c 65 63 74 65 64 4e 6f 64 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 72 69 | .selectedNode;...............ori |
19e940 | 65 6e 74 61 74 69 6f 6e 20 3d 20 43 69 2e 6e 73 49 54 72 65 65 56 69 65 77 2e 44 52 4f 50 5f 4f | entation.=.Ci.nsITreeView.DROP_O |
19e960 | 4e 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 65 6c 73 | N;.............}.............els |
19e980 | 65 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 49 6e 20 61 6c 6c 20 6f 74 68 65 | e.{...............//.In.all.othe |
19e9a0 | 72 20 63 61 73 65 73 20 74 68 65 20 69 6e 73 65 72 74 69 6f 6e 20 70 6f 69 6e 74 20 69 73 20 62 | r.cases.the.insertion.point.is.b |
19e9c0 | 65 66 6f 72 65 20 74 68 61 74 20 6e 6f 64 65 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 | efore.that.node................c |
19e9e0 | 6f 6e 74 61 69 6e 65 72 20 3d 20 73 65 6c 65 63 74 65 64 4e 6f 64 65 2e 70 61 72 65 6e 74 3b 0a | ontainer.=.selectedNode.parent;. |
19ea00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 64 65 78 20 3d 20 50 6c 61 63 65 73 55 74 69 6c | ..............index.=.PlacesUtil |
19ea20 | 73 2e 67 65 74 49 6e 64 65 78 4f 66 4e 6f 64 65 28 73 65 6c 65 63 74 65 64 4e 6f 64 65 29 3b 0a | s.getIndexOfNode(selectedNode);. |
19ea40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 73 54 61 67 20 3d 20 50 6c 61 63 65 73 55 74 69 6c | ..............isTag.=.PlacesUtil |
19ea60 | 73 2e 6e 6f 64 65 49 73 54 61 67 51 75 65 72 79 28 73 65 6c 65 63 74 65 64 4e 6f 64 65 2e 70 61 | s.nodeIsTagQuery(selectedNode.pa |
19ea80 | 72 65 6e 74 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 7d | rent);.............}...........} |
19eaa0 | 0a 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 50 6c 61 63 65 73 43 6f 6e 74 72 6f 6c 6c 65 72 | ............if.(PlacesController |
19eac0 | 44 72 61 67 48 65 6c 70 65 72 2e 64 69 73 61 6c 6c 6f 77 49 6e 73 65 72 74 69 6f 6e 28 63 6f 6e | DragHelper.disallowInsertion(con |
19eae0 | 74 61 69 6e 65 72 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 6e 75 6c 6c | tainer)).............return.null |
19eb00 | 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 6e 65 77 20 49 6e 73 65 72 74 69 6f | ;............return.new.Insertio |
19eb20 | 6e 50 6f 69 6e 74 28 50 6c 61 63 65 73 55 74 69 6c 73 2e 67 65 74 43 6f 6e 63 72 65 74 65 49 74 | nPoint(PlacesUtils.getConcreteIt |
19eb40 | 65 6d 49 64 28 63 6f 6e 74 61 69 6e 65 72 29 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | emId(container),................ |
19eb60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 64 65 78 2c 20 6f 72 69 65 | .....................index,.orie |
19eb80 | 6e 74 61 74 69 6f 6e 2c 20 69 73 54 61 67 29 3b 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 67 65 | ntation,.isTag);.........]]></ge |
19eba0 | 74 74 65 72 3e 0a 20 20 20 20 20 20 3c 2f 70 72 6f 70 65 72 74 79 3e 0a 0a 20 20 20 20 20 20 3c | tter>.......</property>........< |
19ebc0 | 21 2d 2d 20 6e 73 49 50 6c 61 63 65 73 56 69 65 77 20 2d 2d 3e 0a 20 20 20 20 20 20 3c 6d 65 74 | !--.nsIPlacesView.-->.......<met |
19ebe0 | 68 6f 64 20 6e 61 6d 65 3d 22 73 65 6c 65 63 74 41 6c 6c 22 3e 0a 20 20 20 20 20 20 20 20 3c 62 | hod.name="selectAll">.........<b |
19ec00 | 6f 64 79 2f 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 | ody/>.......</method>........<me |
19ec20 | 74 68 6f 64 20 6e 61 6d 65 3d 22 73 65 6c 65 63 74 49 74 65 6d 73 22 3e 0a 20 20 20 20 20 20 20 | thod.name="selectItems">........ |
19ec40 | 20 3c 62 6f 64 79 2f 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 | .<body/>.......</method>........ |
19ec60 | 3c 70 72 6f 70 65 72 74 79 20 6e 61 6d 65 3d 22 73 65 6c 54 79 70 65 22 20 72 65 61 64 6f 6e 6c | <property.name="selType".readonl |
19ec80 | 79 3d 22 74 72 75 65 22 20 6f 6e 67 65 74 3d 22 72 65 74 75 72 6e 20 27 73 69 6e 67 6c 65 27 3b | y="true".onget="return.'single'; |
19eca0 | 22 2f 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 62 75 69 6c 64 43 6f | "/>........<method.name="buildCo |
19ecc0 | 6e 74 65 78 74 4d 65 6e 75 22 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e | ntextMenu">.........<parameter.n |
19ece0 | 61 6d 65 3d 22 61 50 6f 70 75 70 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 3c 21 5b | ame="aPopup"/>.........<body><![ |
19ed00 | 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 65 6e 73 75 72 65 49 6e 69 | CDATA[...........this._ensureIni |
19ed20 | 74 69 61 6c 69 7a 65 64 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 63 6f 6e 74 | tialized();...........this._cont |
19ed40 | 65 78 74 4d 65 6e 75 53 68 6f 77 6e 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 20 20 2f | extMenuShown.=.true;.........../ |
19ed60 | 2f 20 41 63 74 69 76 61 74 65 20 74 68 65 20 63 6f 6e 74 72 6f 6c 6c 65 72 0a 20 20 20 20 20 20 | /.Activate.the.controller....... |
19ed80 | 20 20 20 20 74 68 69 73 2e 66 6f 63 75 73 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 54 | ....this.focus();...........//.T |
19eda0 | 68 65 20 61 62 6f 76 65 20 63 61 6c 6c 20 6d 61 79 20 6e 6f 74 20 61 6c 77 61 79 73 20 66 69 72 | he.above.call.may.not.always.fir |
19edc0 | 65 20 61 20 63 6f 6e 73 75 6d 61 62 6c 65 20 65 76 65 6e 74 20 66 6f 72 0a 20 20 20 20 20 20 20 | e.a.consumable.event.for........ |
19ede0 | 20 20 20 2f 2f 20 63 6f 6d 6d 61 6e 64 55 70 64 61 74 65 72 2c 20 73 6f 20 77 65 20 66 6f 72 63 | ...//.commandUpdater,.so.we.forc |
19ee00 | 65 20 61 20 63 6f 6d 6d 61 6e 64 20 75 70 64 61 74 65 2e 0a 20 20 20 20 20 20 20 20 20 20 77 69 | e.a.command.update............wi |
19ee20 | 6e 64 6f 77 2e 75 70 64 61 74 65 43 6f 6d 6d 61 6e 64 73 28 22 66 6f 63 75 73 22 29 3b 0a 20 20 | ndow.updateCommands("focus");... |
19ee40 | 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 63 6f 6e 74 72 6f 6c 6c 65 72 2e 62 | ........return.this.controller.b |
19ee60 | 75 69 6c 64 43 6f 6e 74 65 78 74 4d 65 6e 75 28 61 50 6f 70 75 70 29 3b 0a 20 20 20 20 20 20 20 | uildContextMenu(aPopup);........ |
19ee80 | 20 5d 5d 3e 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 | .]]></body>.......</method>..... |
19eea0 | 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 64 65 73 74 72 6f 79 43 6f 6e 74 65 78 74 4d | ...<method.name="destroyContextM |
19eec0 | 65 6e 75 22 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 | enu">.........<parameter.name="a |
19eee0 | 50 6f 70 75 70 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 0a 20 20 20 20 20 20 20 20 | Popup"/>.........<body>......... |
19ef00 | 20 20 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 63 6f | ..<![CDATA[.............this._co |
19ef20 | 6e 74 65 78 74 4d 65 6e 75 53 68 6f 77 6e 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 20 20 20 | ntextMenuShown.=.false;......... |
19ef40 | 20 20 20 20 69 66 20 28 77 69 6e 64 6f 77 2e 63 6f 6e 74 65 6e 74 29 0a 20 20 20 20 20 20 20 20 | ....if.(window.content)......... |
19ef60 | 20 20 20 20 20 20 77 69 6e 64 6f 77 2e 63 6f 6e 74 65 6e 74 2e 66 6f 63 75 73 28 29 3b 0a 20 20 | ......window.content.focus();... |
19ef80 | 20 20 20 20 20 20 20 20 5d 5d 3e 0a 20 20 20 20 20 20 20 20 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 | ........]]>.........</body>..... |
19efa0 | 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 20 20 20 20 3c 2f 69 6d 70 6c 65 6d 65 6e 74 61 74 69 6f 6e | ..</method>.....</implementation |
19efc0 | 3e 0a 20 20 20 20 3c 68 61 6e 64 6c 65 72 73 3e 0a 20 20 20 20 20 20 3c 68 61 6e 64 6c 65 72 20 | >.....<handlers>.......<handler. |
19efe0 | 65 76 65 6e 74 3d 22 70 6f 70 75 70 73 68 6f 77 69 6e 67 22 20 70 68 61 73 65 3d 22 63 61 70 74 | event="popupshowing".phase="capt |
19f000 | 75 72 69 6e 67 22 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 65 | uring"><![CDATA[.........this._e |
19f020 | 6e 73 75 72 65 49 6e 69 74 69 61 6c 69 7a 65 64 28 29 3b 0a 20 20 20 20 20 20 20 20 76 61 72 20 | nsureInitialized();.........var. |
19f040 | 70 6f 70 75 70 20 3d 20 65 76 65 6e 74 2e 74 61 72 67 65 74 3b 0a 20 20 20 20 20 20 20 20 2f 2f | popup.=.event.target;.........// |
19f060 | 20 41 76 6f 69 64 20 68 61 6e 64 6c 69 6e 67 20 70 6f 70 75 70 73 68 6f 77 69 6e 67 20 6f 66 20 | .Avoid.handling.popupshowing.of. |
19f080 | 69 6e 6e 65 72 20 76 69 65 77 73 0a 20 20 20 20 20 20 20 20 69 66 20 28 21 70 6f 70 75 70 2e 5f | inner.views.........if.(!popup._ |
19f0a0 | 72 65 73 75 6c 74 4e 6f 64 65 20 7c 7c 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 67 65 74 56 | resultNode.||.PlacesUIUtils.getV |
19f0c0 | 69 65 77 46 6f 72 4e 6f 64 65 28 70 6f 70 75 70 29 20 21 3d 20 74 68 69 73 29 0a 20 20 20 20 20 | iewForNode(popup).!=.this)...... |
19f0e0 | 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 6f 6e 50 6f 70 | .....return;..........this.onPop |
19f100 | 75 70 53 68 6f 77 69 6e 67 28 65 76 65 6e 74 29 3b 0a 20 20 20 20 20 20 5d 5d 3e 3c 2f 68 61 6e | upShowing(event);.......]]></han |
19f120 | 64 6c 65 72 3e 0a 0a 20 20 20 20 20 20 3c 68 61 6e 64 6c 65 72 20 65 76 65 6e 74 3d 22 70 6f 70 | dler>........<handler.event="pop |
19f140 | 75 70 68 69 64 64 65 6e 22 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 76 61 72 20 | uphidden"><![CDATA[.........var. |
19f160 | 70 6f 70 75 70 20 3d 20 65 76 65 6e 74 2e 74 61 72 67 65 74 3b 0a 20 20 20 20 20 20 20 20 2f 2f | popup.=.event.target;.........// |
19f180 | 20 57 65 20 73 68 6f 75 6c 64 20 61 76 6f 69 64 20 74 6f 20 68 61 6e 64 6c 65 20 65 76 65 6e 74 | .We.should.avoid.to.handle.event |
19f1a0 | 73 20 6f 66 20 69 6e 6e 65 72 20 76 69 65 77 73 0a 20 20 20 20 20 20 20 20 69 66 20 28 21 70 6f | s.of.inner.views.........if.(!po |
19f1c0 | 70 75 70 2e 5f 72 65 73 75 6c 74 4e 6f 64 65 20 7c 7c 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 | pup._resultNode.||.PlacesUIUtils |
19f1e0 | 2e 67 65 74 56 69 65 77 46 6f 72 4e 6f 64 65 28 70 6f 70 75 70 29 20 21 3d 20 74 68 69 73 29 0a | .getViewForNode(popup).!=.this). |
19f200 | 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 20 20 20 20 20 20 2f 2f 20 55 49 | ..........return;..........//.UI |
19f220 | 20 70 65 72 66 6f 72 6d 61 6e 63 65 3a 20 66 6f 6c 64 65 72 20 71 75 65 72 69 65 73 20 61 72 65 | .performance:.folder.queries.are |
19f240 | 20 63 68 65 61 70 2c 20 6b 65 65 70 20 74 68 65 20 72 65 73 75 6c 74 6e 6f 64 65 20 6f 70 65 6e | .cheap,.keep.the.resultnode.open |
19f260 | 0a 20 20 20 20 20 20 20 20 2f 2f 20 73 6f 20 77 65 20 64 6f 6e 27 74 20 72 65 62 75 69 6c 64 20 | .........//.so.we.don't.rebuild. |
19f280 | 69 74 73 20 63 6f 6e 74 65 6e 74 73 20 77 68 65 6e 65 76 65 72 20 74 68 65 20 70 6f 70 75 70 20 | its.contents.whenever.the.popup. |
19f2a0 | 69 73 20 72 65 6f 70 65 6e 65 64 2e 0a 20 20 20 20 20 20 20 20 69 66 20 28 21 50 6c 61 63 65 73 | is.reopened..........if.(!Places |
19f2c0 | 55 74 69 6c 73 2e 6e 6f 64 65 49 73 46 6f 6c 64 65 72 28 70 6f 70 75 70 2e 5f 72 65 73 75 6c 74 | Utils.nodeIsFolder(popup._result |
19f2e0 | 4e 6f 64 65 29 29 0a 20 20 20 20 20 20 20 20 20 20 70 6f 70 75 70 2e 5f 72 65 73 75 6c 74 4e 6f | Node))...........popup._resultNo |
19f300 | 64 65 2e 63 6f 6e 74 61 69 6e 65 72 4f 70 65 6e 20 3d 20 66 61 6c 73 65 3b 0a 0a 20 20 20 20 20 | de.containerOpen.=.false;....... |
19f320 | 20 20 20 2f 2f 20 54 68 65 20 61 75 74 6f 6f 70 65 6e 65 64 20 61 74 74 72 69 62 75 74 65 20 69 | ...//.The.autoopened.attribute.i |
19f340 | 73 20 73 65 74 20 66 6f 72 20 66 6f 6c 64 65 72 73 20 77 68 69 63 68 20 68 61 76 65 20 62 65 65 | s.set.for.folders.which.have.bee |
19f360 | 6e 0a 20 20 20 20 20 20 20 20 2f 2f 20 61 75 74 6f 6d 61 74 69 63 61 6c 6c 79 20 6f 70 65 6e 65 | n.........//.automatically.opene |
19f380 | 64 20 77 68 65 6e 20 64 72 61 67 67 65 64 20 6f 76 65 72 2e 20 20 54 75 72 6e 20 6f 66 66 20 74 | d.when.dragged.over...Turn.off.t |
19f3a0 | 68 69 73 20 61 74 74 72 69 62 75 74 65 0a 20 20 20 20 20 20 20 20 2f 2f 20 77 68 65 6e 20 74 68 | his.attribute.........//.when.th |
19f3c0 | 65 20 66 6f 6c 64 65 72 20 63 6c 6f 73 65 73 20 62 65 63 61 75 73 65 20 69 74 20 69 73 20 6e 6f | e.folder.closes.because.it.is.no |
19f3e0 | 20 6c 6f 6e 67 65 72 20 61 70 70 6c 69 63 61 62 6c 65 2e 0a 20 20 20 20 20 20 20 20 70 6f 70 75 | .longer.applicable..........popu |
19f400 | 70 2e 72 65 6d 6f 76 65 41 74 74 72 69 62 75 74 65 28 22 61 75 74 6f 6f 70 65 6e 65 64 22 29 3b | p.removeAttribute("autoopened"); |
19f420 | 0a 20 20 20 20 20 20 20 20 70 6f 70 75 70 2e 72 65 6d 6f 76 65 41 74 74 72 69 62 75 74 65 28 22 | .........popup.removeAttribute(" |
19f440 | 64 72 61 67 73 74 61 72 74 22 29 3b 0a 20 20 20 20 20 20 5d 5d 3e 3c 2f 68 61 6e 64 6c 65 72 3e | dragstart");.......]]></handler> |
19f460 | 0a 20 20 20 20 3c 2f 68 61 6e 64 6c 65 72 73 3e 0a 20 20 3c 2f 62 69 6e 64 69 6e 67 3e 0a 0a 3c | .....</handlers>...</binding>..< |
19f480 | 2f 62 69 6e 64 69 6e 67 73 3e 0a 50 4b 03 04 14 00 00 00 00 00 f6 4b 18 3b ce 4c bb 9b 06 74 00 | /bindings>.PK.........K.;.L...t. |
19f4a0 | 00 06 74 00 00 1f 00 00 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 6c 61 63 65 73 2f | ..t......content/browser/places/ |
19f4c0 | 74 72 65 65 2e 78 6d 6c 3c 3f 78 6d 6c 20 76 65 72 73 69 6f 6e 3d 22 31 2e 30 22 3f 3e 0a 0a 0a | tree.xml<?xml.version="1.0"?>... |
19f4e0 | 3c 62 69 6e 64 69 6e 67 73 20 69 64 3d 22 70 6c 61 63 65 73 54 72 65 65 42 69 6e 64 69 6e 67 73 | <bindings.id="placesTreeBindings |
19f500 | 22 0a 20 20 20 20 20 20 20 20 20 20 78 6d 6c 6e 73 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f | "...........xmlns="http://www.mo |
19f520 | 7a 69 6c 6c 61 2e 6f 72 67 2f 78 62 6c 22 0a 20 20 20 20 20 20 20 20 20 20 78 6d 6c 6e 73 3a 78 | zilla.org/xbl"...........xmlns:x |
19f540 | 62 6c 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 78 62 6c 22 0a | bl="http://www.mozilla.org/xbl". |
19f560 | 20 20 20 20 20 20 20 20 20 20 78 6d 6c 6e 73 3a 68 74 6d 6c 3d 22 68 74 74 70 3a 2f 2f 77 77 77 | ..........xmlns:html="http://www |
19f580 | 2e 77 33 2e 6f 72 67 2f 31 39 39 39 2f 78 68 74 6d 6c 22 0a 20 20 20 20 20 20 20 20 20 20 78 6d | .w3.org/1999/xhtml"...........xm |
19f5a0 | 6c 6e 73 3a 78 75 6c 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f | lns:xul="http://www.mozilla.org/ |
19f5c0 | 6b 65 79 6d 61 73 74 65 72 2f 67 61 74 65 6b 65 65 70 65 72 2f 74 68 65 72 65 2e 69 73 2e 6f 6e | keymaster/gatekeeper/there.is.on |
19f5e0 | 6c 79 2e 78 75 6c 22 3e 0a 20 20 0a 20 20 3c 62 69 6e 64 69 6e 67 20 69 64 3d 22 70 6c 61 63 65 | ly.xul">......<binding.id="place |
19f600 | 73 2d 74 72 65 65 22 20 65 78 74 65 6e 64 73 3d 22 63 68 72 6f 6d 65 3a 2f 2f 67 6c 6f 62 61 6c | s-tree".extends="chrome://global |
19f620 | 2f 63 6f 6e 74 65 6e 74 2f 62 69 6e 64 69 6e 67 73 2f 74 72 65 65 2e 78 6d 6c 23 74 72 65 65 22 | /content/bindings/tree.xml#tree" |
19f640 | 3e 0a 20 20 20 20 3c 69 6d 70 6c 65 6d 65 6e 74 61 74 69 6f 6e 3e 0a 20 20 20 20 20 20 3c 63 6f | >.....<implementation>.......<co |
19f660 | 6e 73 74 72 75 63 74 6f 72 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 2f 2f 20 46 | nstructor><![CDATA[.........//.F |
19f680 | 6f 72 63 65 20 61 6e 20 69 6e 69 74 69 61 6c 20 62 75 69 6c 64 2e 0a 20 20 20 20 20 20 20 20 69 | orce.an.initial.build..........i |
19f6a0 | 66 20 28 74 68 69 73 2e 70 6c 61 63 65 29 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 70 6c | f.(this.place)...........this.pl |
19f6c0 | 61 63 65 20 3d 20 74 68 69 73 2e 70 6c 61 63 65 3b 0a 20 20 20 20 20 20 5d 5d 3e 3c 2f 63 6f 6e | ace.=.this.place;.......]]></con |
19f6e0 | 73 74 72 75 63 74 6f 72 3e 0a 0a 20 20 20 20 20 20 3c 64 65 73 74 72 75 63 74 6f 72 3e 3c 21 5b | structor>........<destructor><![ |
19f700 | 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 2f 2f 20 42 72 65 61 6b 20 74 68 65 20 74 72 65 65 | CDATA[.........//.Break.the.tree |
19f720 | 76 69 65 77 65 72 2d 3e 72 65 73 75 6c 74 2d 3e 74 72 65 65 76 69 65 77 65 72 20 63 79 63 6c 65 | viewer->result->treeviewer.cycle |
19f740 | 2e 0a 20 20 20 20 20 20 20 20 2f 2f 20 4e 6f 74 65 3a 20 75 6e 73 65 74 74 69 6e 67 20 74 68 65 | ..........//.Note:.unsetting.the |
19f760 | 20 72 65 73 75 6c 74 27 73 20 76 69 65 77 65 72 20 61 6c 73 6f 20 75 6e 73 65 74 73 0a 20 20 20 | .result's.viewer.also.unsets.... |
19f780 | 20 20 20 20 20 2f 2f 20 74 68 65 20 76 69 65 77 65 72 27 73 20 72 65 66 65 72 65 6e 63 65 20 74 | .....//.the.viewer's.reference.t |
19f7a0 | 6f 20 6f 75 72 20 74 72 65 65 42 6f 78 4f 62 6a 65 63 74 2e 0a 20 20 20 20 20 20 20 20 76 61 72 | o.our.treeBoxObject..........var |
19f7c0 | 20 72 65 73 75 6c 74 20 3d 20 74 68 69 73 2e 67 65 74 52 65 73 75 6c 74 28 29 3b 0a 20 20 20 20 | .result.=.this.getResult();..... |
19f7e0 | 20 20 20 20 69 66 20 28 72 65 73 75 6c 74 29 0a 20 20 20 20 20 20 20 20 20 20 72 65 73 75 6c 74 | ....if.(result)...........result |
19f800 | 2e 76 69 65 77 65 72 20 3d 20 6e 75 6c 6c 3b 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 76 69 65 | .viewer.=.null;.........this.vie |
19f820 | 77 20 3d 20 6e 75 6c 6c 3b 0a 20 20 20 20 20 20 5d 5d 3e 3c 2f 64 65 73 74 72 75 63 74 6f 72 3e | w.=.null;.......]]></destructor> |
19f840 | 0a 0a 20 20 20 20 20 20 3c 70 72 6f 70 65 72 74 79 20 6e 61 6d 65 3d 22 63 6f 6e 74 72 6f 6c 6c | ........<property.name="controll |
19f860 | 65 72 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 61 64 6f 6e 6c 79 3d 22 74 72 | er".................readonly="tr |
19f880 | 75 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 67 65 74 3d 22 72 65 74 75 72 | ue".................onget="retur |
19f8a0 | 6e 20 74 68 69 73 2e 5f 63 6f 6e 74 72 6f 6c 6c 65 72 3b 22 2f 3e 0a 0a 20 20 20 20 20 20 3c 21 | n.this._controller;"/>........<! |
19f8c0 | 2d 2d 20 6f 76 65 72 72 69 64 69 6e 67 20 2d 2d 3e 0a 20 20 20 20 20 20 3c 70 72 6f 70 65 72 74 | --.overriding.-->.......<propert |
19f8e0 | 79 20 6e 61 6d 65 3d 22 76 69 65 77 22 3e 0a 20 20 20 20 20 20 20 20 3c 67 65 74 74 65 72 3e 3c | y.name="view">.........<getter>< |
19f900 | 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 74 | ![CDATA[...........return.this.t |
19f920 | 72 65 65 42 6f 78 4f 62 6a 65 63 74 2e 76 69 65 77 2e 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 | reeBoxObject.view.QueryInterface |
19f940 | 28 43 69 2e 6e 73 49 4e 61 76 48 69 73 74 6f 72 79 52 65 73 75 6c 74 54 72 65 65 56 69 65 77 65 | (Ci.nsINavHistoryResultTreeViewe |
19f960 | 72 29 3b 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 67 65 74 74 65 72 3e 0a 20 20 20 20 20 20 20 | r);.........]]></getter>........ |
19f980 | 20 3c 73 65 74 74 65 72 3e 3c 21 5b 43 44 41 54 41 5b 20 0a 20 20 20 20 20 20 20 20 20 20 72 65 | .<setter><![CDATA[............re |
19f9a0 | 74 75 72 6e 20 74 68 69 73 2e 74 72 65 65 42 6f 78 4f 62 6a 65 63 74 2e 76 69 65 77 20 3d 20 76 | turn.this.treeBoxObject.view.=.v |
19f9c0 | 61 6c 3b 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 73 65 74 74 65 72 3e 0a 20 20 20 20 20 20 3c | al;.........]]></setter>.......< |
19f9e0 | 2f 70 72 6f 70 65 72 74 79 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 | /property>........<method.name=" |
19fa00 | 67 65 74 42 65 73 74 4f 70 74 69 6f 6e 73 22 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 3c | getBestOptions">.........<body>< |
19fa20 | 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 47 65 74 20 74 68 65 20 62 65 | ![CDATA[...........//.Get.the.be |
19fa40 | 73 74 20 73 65 74 20 6f 66 20 67 72 6f 75 70 69 6e 67 20 6f 70 74 69 6f 6e 73 20 74 6f 20 75 73 | st.set.of.grouping.options.to.us |
19fa60 | 65 2c 20 65 69 74 68 65 72 20 72 65 75 73 65 20 74 68 65 20 0a 20 20 20 20 20 20 20 20 20 20 2f | e,.either.reuse.the............/ |
19fa80 | 2f 20 65 78 69 73 74 69 6e 67 20 6f 6e 65 73 20 6f 72 20 63 72 65 61 74 65 20 6e 65 77 20 6f 6e | /.existing.ones.or.create.new.on |
19faa0 | 65 73 2e 20 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 6f 70 74 69 6f 6e 73 20 3d 20 74 68 69 | es.............var.options.=.thi |
19fac0 | 73 2e 67 65 74 52 65 73 75 6c 74 28 29 2e 71 75 65 72 79 4f 70 74 69 6f 6e 73 3b 0a 20 20 20 20 | s.getResult().queryOptions;..... |
19fae0 | 20 20 20 20 20 20 69 66 20 28 21 6f 70 74 69 6f 6e 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ......if.(!options)............. |
19fb00 | 6f 70 74 69 6f 6e 73 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 68 69 73 74 6f 72 79 2e 67 65 | options.=.PlacesUtils.history.ge |
19fb20 | 74 4e 65 77 51 75 65 72 79 4f 70 74 69 6f 6e 73 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 72 65 | tNewQueryOptions();...........re |
19fb40 | 74 75 72 6e 20 6f 70 74 69 6f 6e 73 3b 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 62 6f 64 79 3e | turn.options;.........]]></body> |
19fb60 | 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 | .......</method>........<method. |
19fb80 | 6e 61 6d 65 3d 22 61 70 70 6c 79 46 69 6c 74 65 72 22 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 | name="applyFilter">.........<par |
19fba0 | 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 66 69 6c 74 65 72 53 74 72 69 6e 67 22 2f 3e 0a 20 20 20 | ameter.name="filterString"/>.... |
19fbc0 | 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 66 6f 6c 64 65 72 52 65 73 74 | .....<parameter.name="folderRest |
19fbe0 | 72 69 63 74 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 3c 21 5b 43 44 41 54 41 5b 0a | rict"/>.........<body><![CDATA[. |
19fc00 | 20 20 20 20 20 20 20 20 20 20 2f 2f 20 70 72 65 73 65 72 76 65 20 67 72 6f 75 70 69 6e 67 0a 20 | ..........//.preserve.grouping.. |
19fc20 | 20 20 20 20 20 20 20 20 20 76 61 72 20 71 75 65 72 79 4e 6f 64 65 20 3d 20 61 73 51 75 65 72 79 | .........var.queryNode.=.asQuery |
19fc40 | 28 74 68 69 73 2e 67 65 74 52 65 73 75 6c 74 4e 6f 64 65 28 29 29 3b 0a 20 20 20 20 20 20 20 20 | (this.getResultNode());......... |
19fc60 | 20 20 76 61 72 20 6f 70 74 69 6f 6e 73 20 3d 20 71 75 65 72 79 4e 6f 64 65 2e 71 75 65 72 79 4f | ..var.options.=.queryNode.queryO |
19fc80 | 70 74 69 6f 6e 73 2e 63 6c 6f 6e 65 28 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 4d 61 | ptions.clone();............//.Ma |
19fca0 | 6b 65 20 73 75 72 65 20 77 65 27 72 65 20 67 65 74 74 69 6e 67 20 75 72 69 20 72 65 73 75 6c 74 | ke.sure.we're.getting.uri.result |
19fcc0 | 73 2e 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 57 65 20 64 6f 20 6e 6f 74 20 79 65 74 20 73 75 | s............//.We.do.not.yet.su |
19fce0 | 70 70 6f 72 74 20 73 65 61 72 63 68 69 6e 67 20 69 6e 74 6f 20 67 72 6f 75 70 65 64 20 71 75 65 | pport.searching.into.grouped.que |
19fd00 | 72 69 65 73 20 6f 72 20 69 6e 74 6f 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 74 61 67 20 63 6f | ries.or.into...........//.tag.co |
19fd20 | 6e 74 61 69 6e 65 72 73 2c 20 73 6f 20 77 65 20 6d 75 73 74 20 66 61 6c 6c 20 74 6f 20 74 68 65 | ntainers,.so.we.must.fall.to.the |
19fd40 | 20 64 65 66 61 75 6c 74 20 63 61 73 65 2e 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 50 6c 61 | .default.case............if.(Pla |
19fd60 | 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 48 69 73 74 6f 72 79 43 6f 6e 74 61 69 6e 65 72 28 | cesUtils.nodeIsHistoryContainer( |
19fd80 | 71 75 65 72 79 4e 6f 64 65 29 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 70 74 69 | queryNode).||...............opti |
19fda0 | 6f 6e 73 2e 72 65 73 75 6c 74 54 79 70 65 20 3d 3d 20 6f 70 74 69 6f 6e 73 2e 52 45 53 55 4c 54 | ons.resultType.==.options.RESULT |
19fdc0 | 53 5f 41 53 5f 54 41 47 5f 51 55 45 52 59 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | S_AS_TAG_QUERY.||............... |
19fde0 | 6f 70 74 69 6f 6e 73 2e 72 65 73 75 6c 74 54 79 70 65 20 3d 3d 20 6f 70 74 69 6f 6e 73 2e 52 45 | options.resultType.==.options.RE |
19fe00 | 53 55 4c 54 53 5f 41 53 5f 54 41 47 5f 43 4f 4e 54 45 4e 54 53 29 0a 20 20 20 20 20 20 20 20 20 | SULTS_AS_TAG_CONTENTS).......... |
19fe20 | 20 20 20 6f 70 74 69 6f 6e 73 2e 72 65 73 75 6c 74 54 79 70 65 20 3d 20 6f 70 74 69 6f 6e 73 2e | ...options.resultType.=.options. |
19fe40 | 52 45 53 55 4c 54 5f 54 59 50 45 5f 55 52 49 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 | RESULT_TYPE_URI;............var. |
19fe60 | 71 75 65 72 79 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 68 69 73 74 6f 72 79 2e 67 65 74 4e | query.=.PlacesUtils.history.getN |
19fe80 | 65 77 51 75 65 72 79 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 71 75 65 72 79 2e 73 65 61 72 63 | ewQuery();...........query.searc |
19fea0 | 68 54 65 72 6d 73 20 3d 20 66 69 6c 74 65 72 53 74 72 69 6e 67 3b 0a 0a 20 20 20 20 20 20 20 20 | hTerms.=.filterString;.......... |
19fec0 | 20 20 69 66 20 28 66 6f 6c 64 65 72 52 65 73 74 72 69 63 74 29 20 7b 0a 20 20 20 20 20 20 20 20 | ..if.(folderRestrict).{......... |
19fee0 | 20 20 20 20 71 75 65 72 79 2e 73 65 74 46 6f 6c 64 65 72 73 28 66 6f 6c 64 65 72 52 65 73 74 72 | ....query.setFolders(folderRestr |
19ff00 | 69 63 74 2c 20 66 6f 6c 64 65 72 52 65 73 74 72 69 63 74 2e 6c 65 6e 67 74 68 29 3b 0a 20 20 20 | ict,.folderRestrict.length);.... |
19ff20 | 20 20 20 20 20 20 20 20 20 6f 70 74 69 6f 6e 73 2e 71 75 65 72 79 54 79 70 65 20 3d 20 6f 70 74 | .........options.queryType.=.opt |
19ff40 | 69 6f 6e 73 2e 51 55 45 52 59 5f 54 59 50 45 5f 42 4f 4f 4b 4d 41 52 4b 53 3b 0a 20 20 20 20 20 | ions.QUERY_TYPE_BOOKMARKS;...... |
19ff60 | 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6c 6f 61 64 28 5b 71 75 65 | .....}............this.load([que |
19ff80 | 72 79 5d 2c 20 6f 70 74 69 6f 6e 73 29 3b 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 62 6f 64 79 | ry],.options);.........]]></body |
19ffa0 | 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 20 20 20 20 20 20 0a 20 20 20 20 20 20 3c | >.......</method>..............< |
19ffc0 | 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 6c 6f 61 64 22 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 | method.name="load">.........<par |
19ffe0 | 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 71 75 65 72 69 65 73 22 2f 3e 0a 20 20 20 20 20 20 20 20 | ameter.name="queries"/>......... |
1a0000 | 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 6f 70 74 69 6f 6e 73 22 2f 3e 0a 20 20 20 20 | <parameter.name="options"/>..... |
1a0020 | 20 20 20 20 3c 62 6f 64 79 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 76 61 | ....<body><![CDATA[...........va |
1a0040 | 72 20 72 65 73 75 6c 74 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 68 69 73 74 6f 72 79 2e 65 | r.result.=.PlacesUtils.history.e |
1a0060 | 78 65 63 75 74 65 51 75 65 72 69 65 73 28 71 75 65 72 69 65 73 2c 20 71 75 65 72 69 65 73 2e 6c | xecuteQueries(queries,.queries.l |
1a0080 | 65 6e 67 74 68 2c 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ength,.......................... |
1a00a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
1a00c0 | 20 20 6f 70 74 69 6f 6e 73 29 3b 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 63 61 6c 6c 62 61 | ..options);...........var.callba |
1a00e0 | 63 6b 3b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 66 6c 61 74 4c 69 73 74 29 | ck;...........if.(this.flatList) |
1a0100 | 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 6f 6e 4f 70 65 6e 46 6c 61 74 43 6f 6e | .{.............var.onOpenFlatCon |
1a0120 | 74 61 69 6e 65 72 20 3d 20 74 68 69 73 2e 6f 6e 4f 70 65 6e 46 6c 61 74 43 6f 6e 74 61 69 6e 65 | tainer.=.this.onOpenFlatContaine |
1a0140 | 72 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 6f 6e 4f 70 65 6e 46 6c 61 74 43 6f 6e | r;.............if.(onOpenFlatCon |
1a0160 | 74 61 69 6e 65 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 6c 6c 62 61 63 6b 20 3d | tainer)...............callback.= |
1a0180 | 20 6e 65 77 20 46 75 6e 63 74 69 6f 6e 28 22 61 43 6f 6e 74 61 69 6e 65 72 22 2c 20 6f 6e 4f 70 | .new.Function("aContainer",.onOp |
1a01a0 | 65 6e 46 6c 61 74 43 6f 6e 74 61 69 6e 65 72 29 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 | enFlatContainer);...........}... |
1a01c0 | 20 20 20 20 20 20 20 20 20 76 61 72 20 74 72 65 65 56 69 65 77 20 3d 20 6e 65 77 20 50 6c 61 63 | .........var.treeView.=.new.Plac |
1a01e0 | 65 73 54 72 65 65 56 69 65 77 28 74 68 69 73 2e 73 68 6f 77 52 6f 6f 74 2c 20 74 68 69 73 2e 66 | esTreeView(this.showRoot,.this.f |
1a0200 | 6c 61 74 4c 69 73 74 2c 20 63 61 6c 6c 62 61 63 6b 29 3b 0a 20 20 20 20 20 20 20 20 20 20 72 65 | latList,.callback);...........re |
1a0220 | 73 75 6c 74 2e 76 69 65 77 65 72 20 3d 20 74 72 65 65 56 69 65 77 3b 0a 20 20 20 20 20 20 20 20 | sult.viewer.=.treeView;......... |
1a0240 | 20 20 74 68 69 73 2e 76 69 65 77 20 3d 20 74 72 65 65 56 69 65 77 3b 0a 20 20 20 20 20 20 20 20 | ..this.view.=.treeView;......... |
1a0260 | 20 20 69 66 20 28 21 74 68 69 73 2e 5f 63 6f 6e 74 72 6f 6c 6c 65 72 29 20 7b 0a 20 20 20 20 20 | ..if.(!this._controller).{...... |
1a0280 | 20 20 20 20 20 20 20 74 68 69 73 2e 5f 63 6f 6e 74 72 6f 6c 6c 65 72 20 3d 20 6e 65 77 20 50 6c | .......this._controller.=.new.Pl |
1a02a0 | 61 63 65 73 43 6f 6e 74 72 6f 6c 6c 65 72 28 74 68 69 73 29 3b 0a 20 20 20 20 20 20 20 20 20 20 | acesController(this);........... |
1a02c0 | 20 20 74 68 69 73 2e 63 6f 6e 74 72 6f 6c 6c 65 72 73 2e 61 70 70 65 6e 64 43 6f 6e 74 72 6f 6c | ..this.controllers.appendControl |
1a02e0 | 6c 65 72 28 74 68 69 73 2e 5f 63 6f 6e 74 72 6f 6c 6c 65 72 29 3b 0a 20 20 20 20 20 20 20 20 20 | ler(this._controller);.......... |
1a0300 | 20 7d 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 63 61 63 68 65 64 49 6e 73 65 72 74 69 | .}...........this._cachedInserti |
1a0320 | 6f 6e 50 6f 69 6e 74 20 3d 20 75 6e 64 65 66 69 6e 65 64 3b 0a 20 20 20 20 20 20 20 20 5d 5d 3e | onPoint.=.undefined;.........]]> |
1a0340 | 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c | </body>.......</method>........< |
1a0360 | 70 72 6f 70 65 72 74 79 20 6e 61 6d 65 3d 22 73 68 6f 77 52 6f 6f 74 22 3e 0a 20 20 20 20 20 20 | property.name="showRoot">....... |
1a0380 | 20 20 3c 67 65 74 74 65 72 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 72 65 | ..<getter><![CDATA[...........re |
1a03a0 | 74 75 72 6e 20 74 68 69 73 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 73 68 6f 77 52 6f 6f 74 | turn.this.getAttribute("showRoot |
1a03c0 | 22 29 20 3d 3d 20 22 74 72 75 65 22 3b 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 67 65 74 74 65 | ").==."true";.........]]></gette |
1a03e0 | 72 3e 0a 20 20 20 20 20 20 20 20 3c 73 65 74 74 65 72 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 | r>.........<setter><![CDATA[.... |
1a0400 | 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 73 68 6f 77 52 6f 6f 74 20 21 3d 20 76 61 6c 29 | .......if.(this.showRoot.!=.val) |
1a0420 | 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 73 65 74 41 74 74 72 69 62 75 74 65 | .{.............this.setAttribute |
1a0440 | 28 22 73 68 6f 77 52 6f 6f 74 22 2c 20 76 61 6c 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f | ("showRoot",.val);............./ |
1a0460 | 2f 20 72 65 6c 6f 61 64 20 77 69 74 68 20 74 68 65 20 6c 61 73 74 20 70 6c 61 63 65 20 73 65 74 | /.reload.with.the.last.place.set |
1a0480 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 70 6c 61 63 65 29 0a 20 20 20 | .............if.(this.place).... |
1a04a0 | 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 70 6c 61 63 65 20 3d 20 74 68 69 73 2e 70 6c 61 | ...........this.place.=.this.pla |
1a04c0 | 63 65 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e | ce;...........}...........return |
1a04e0 | 20 76 61 6c 3b 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 73 65 74 74 65 72 3e 0a 20 20 20 20 20 | .val;.........]]></setter>...... |
1a0500 | 20 3c 2f 70 72 6f 70 65 72 74 79 3e 0a 0a 20 20 20 20 20 20 3c 70 72 6f 70 65 72 74 79 20 6e 61 | .</property>........<property.na |
1a0520 | 6d 65 3d 22 66 6c 61 74 4c 69 73 74 22 3e 0a 20 20 20 20 20 20 20 20 3c 67 65 74 74 65 72 3e 3c | me="flatList">.........<getter>< |
1a0540 | 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 67 | ![CDATA[...........return.this.g |
1a0560 | 65 74 41 74 74 72 69 62 75 74 65 28 22 66 6c 61 74 4c 69 73 74 22 29 20 3d 3d 20 22 74 72 75 65 | etAttribute("flatList").==."true |
1a0580 | 22 3b 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 67 65 74 74 65 72 3e 0a 20 20 20 20 20 20 20 20 | ";.........]]></getter>......... |
1a05a0 | 3c 73 65 74 74 65 72 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 | <setter><![CDATA[...........if.( |
1a05c0 | 74 68 69 73 2e 66 6c 61 74 4c 69 73 74 20 21 3d 20 76 61 6c 29 20 7b 0a 20 20 20 20 20 20 20 20 | this.flatList.!=.val).{......... |
1a05e0 | 20 20 20 20 74 68 69 73 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 66 6c 61 74 4c 69 73 74 22 | ....this.setAttribute("flatList" |
1a0600 | 2c 20 76 61 6c 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 72 65 6c 6f 61 64 20 77 69 | ,.val);.............//.reload.wi |
1a0620 | 74 68 20 74 68 65 20 6c 61 73 74 20 70 6c 61 63 65 20 73 65 74 0a 20 20 20 20 20 20 20 20 20 20 | th.the.last.place.set........... |
1a0640 | 20 20 69 66 20 28 74 68 69 73 2e 70 6c 61 63 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ..if.(this.place)............... |
1a0660 | 74 68 69 73 2e 70 6c 61 63 65 20 3d 20 74 68 69 73 2e 70 6c 61 63 65 3b 0a 20 20 20 20 20 20 20 | this.place.=.this.place;........ |
1a0680 | 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 76 61 6c 3b 0a 20 20 20 20 20 | ...}...........return.val;...... |
1a06a0 | 20 20 20 5d 5d 3e 3c 2f 73 65 74 74 65 72 3e 0a 20 20 20 20 20 20 3c 2f 70 72 6f 70 65 72 74 79 | ...]]></setter>.......</property |
1a06c0 | 3e 0a 0a 20 20 20 20 20 20 3c 70 72 6f 70 65 72 74 79 20 6e 61 6d 65 3d 22 6f 6e 4f 70 65 6e 46 | >........<property.name="onOpenF |
1a06e0 | 6c 61 74 43 6f 6e 74 61 69 6e 65 72 22 3e 0a 20 20 20 20 20 20 20 20 3c 67 65 74 74 65 72 3e 3c | latContainer">.........<getter>< |
1a0700 | 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 67 | ![CDATA[...........return.this.g |
1a0720 | 65 74 41 74 74 72 69 62 75 74 65 28 22 6f 6e 6f 70 65 6e 66 6c 61 74 63 6f 6e 74 61 69 6e 65 72 | etAttribute("onopenflatcontainer |
1a0740 | 22 29 3b 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 67 65 74 74 65 72 3e 0a 20 20 20 20 20 20 20 | ");.........]]></getter>........ |
1a0760 | 20 3c 73 65 74 74 65 72 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 | .<setter><![CDATA[...........if. |
1a0780 | 28 74 68 69 73 2e 6f 6e 4f 70 65 6e 46 6c 61 74 43 6f 6e 74 61 69 6e 65 72 20 21 3d 20 76 61 6c | (this.onOpenFlatContainer.!=.val |
1a07a0 | 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 73 65 74 41 74 74 72 69 62 75 74 | ).{.............this.setAttribut |
1a07c0 | 65 28 22 6f 6e 6f 70 65 6e 66 6c 61 74 63 6f 6e 74 61 69 6e 65 72 22 2c 20 76 61 6c 29 3b 0a 20 | e("onopenflatcontainer",.val);.. |
1a07e0 | 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 72 65 6c 6f 61 64 20 77 69 74 68 20 74 68 65 20 6c 61 | ...........//.reload.with.the.la |
1a0800 | 73 74 20 70 6c 61 63 65 20 73 65 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 | st.place.set.............if.(thi |
1a0820 | 73 2e 70 6c 61 63 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 70 6c 61 63 | s.place)...............this.plac |
1a0840 | 65 20 3d 20 74 68 69 73 2e 70 6c 61 63 65 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 | e.=.this.place;...........}..... |
1a0860 | 20 20 20 20 20 20 72 65 74 75 72 6e 20 76 61 6c 3b 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 73 | ......return.val;.........]]></s |
1a0880 | 65 74 74 65 72 3e 0a 20 20 20 20 20 20 3c 2f 70 72 6f 70 65 72 74 79 3e 0a 0a 20 20 20 20 20 20 | etter>.......</property>........ |
1a08a0 | 3c 21 2d 2d 20 0a 20 20 20 20 20 20 20 20 43 61 75 73 65 73 20 61 20 70 61 72 74 69 63 75 6c 61 | <!--..........Causes.a.particula |
1a08c0 | 72 20 6e 6f 64 65 20 72 65 70 72 65 73 65 6e 74 65 64 20 62 79 20 74 68 65 20 73 70 65 63 69 66 | r.node.represented.by.the.specif |
1a08e0 | 69 65 64 20 70 6c 61 63 65 55 52 49 20 74 6f 20 62 65 0a 20 20 20 20 20 20 20 20 73 65 6c 65 63 | ied.placeURI.to.be.........selec |
1a0900 | 74 65 64 20 69 6e 20 74 68 65 20 74 72 65 65 2e 20 41 6c 6c 20 63 6f 6e 74 61 69 6e 65 72 73 20 | ted.in.the.tree..All.containers. |
1a0920 | 61 62 6f 76 65 20 74 68 65 20 6e 6f 64 65 20 69 6e 20 74 68 65 20 68 69 65 72 61 72 63 68 79 0a | above.the.node.in.the.hierarchy. |
1a0940 | 20 20 20 20 20 20 20 20 77 69 6c 6c 20 62 65 20 6f 70 65 6e 65 64 2c 20 73 6f 20 74 68 61 74 20 | ........will.be.opened,.so.that. |
1a0960 | 74 68 65 20 6e 6f 64 65 20 69 73 20 76 69 73 69 62 6c 65 2e 20 0a 20 20 20 20 20 20 20 20 2d 2d | the.node.is.visible...........-- |
1a0980 | 3e 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 73 65 6c 65 63 74 50 6c 61 63 | >.......<method.name="selectPlac |
1a09a0 | 65 55 52 49 22 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 | eURI">.........<parameter.name=" |
1a09c0 | 70 6c 61 63 65 55 52 49 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 3c 21 5b 43 44 41 | placeURI"/>.........<body><![CDA |
1a09e0 | 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 44 6f 20 6e 6f 74 68 69 6e 67 20 69 66 20 61 | TA[...........//.Do.nothing.if.a |
1a0a00 | 20 6e 6f 64 65 20 6d 61 74 63 68 69 6e 67 20 74 68 65 20 67 69 76 65 6e 20 75 72 69 20 69 73 20 | .node.matching.the.given.uri.is. |
1a0a20 | 61 6c 72 65 61 64 79 20 73 65 6c 65 63 74 65 64 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 | already.selected...........if.(t |
1a0a40 | 68 69 73 2e 68 61 73 53 65 6c 65 63 74 69 6f 6e 20 26 26 20 74 68 69 73 2e 73 65 6c 65 63 74 65 | his.hasSelection.&&.this.selecte |
1a0a60 | 64 4e 6f 64 65 2e 75 72 69 20 3d 3d 20 70 6c 61 63 65 55 52 49 29 0a 20 20 20 20 20 20 20 20 20 | dNode.uri.==.placeURI).......... |
1a0a80 | 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 66 75 6e 63 74 69 6f 6e 20 66 | ...return;............function.f |
1a0aa0 | 69 6e 64 4e 6f 64 65 28 63 6f 6e 74 61 69 6e 65 72 2c 20 70 6c 61 63 65 55 52 49 2c 20 6e 6f 64 | indNode(container,.placeURI,.nod |
1a0ac0 | 65 73 55 52 49 43 68 65 63 6b 65 64 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 | esURIChecked).{.............var. |
1a0ae0 | 63 6f 6e 74 61 69 6e 65 72 55 52 49 20 3d 20 63 6f 6e 74 61 69 6e 65 72 2e 75 72 69 3b 0a 20 20 | containerURI.=.container.uri;... |
1a0b00 | 20 20 20 20 20 20 20 20 20 20 69 66 20 28 63 6f 6e 74 61 69 6e 65 72 55 52 49 20 3d 3d 20 70 6c | ..........if.(containerURI.==.pl |
1a0b20 | 61 63 65 55 52 49 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 63 6f 6e | aceURI)...............return.con |
1a0b40 | 74 61 69 6e 65 72 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 6e 6f 64 65 73 55 52 49 | tainer;.............if.(nodesURI |
1a0b60 | 43 68 65 63 6b 65 64 2e 69 6e 64 65 78 4f 66 28 63 6f 6e 74 61 69 6e 65 72 55 52 49 29 20 21 3d | Checked.indexOf(containerURI).!= |
1a0b80 | 20 2d 31 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 6e 75 6c 6c 3b 0a | .-1)...............return.null;. |
1a0ba0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 6e 65 76 65 72 20 63 68 65 63 6b 20 74 68 65 20 | .............//.never.check.the. |
1a0bc0 | 63 6f 6e 74 65 6e 74 73 20 6f 66 20 74 68 65 20 73 61 6d 65 20 71 75 65 72 79 0a 20 20 20 20 20 | contents.of.the.same.query...... |
1a0be0 | 20 20 20 20 20 20 20 6e 6f 64 65 73 55 52 49 43 68 65 63 6b 65 64 2e 70 75 73 68 28 63 6f 6e 74 | .......nodesURIChecked.push(cont |
1a0c00 | 61 69 6e 65 72 55 52 49 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 77 61 73 4f | ainerURI);..............var.wasO |
1a0c20 | 70 65 6e 20 3d 20 63 6f 6e 74 61 69 6e 65 72 2e 63 6f 6e 74 61 69 6e 65 72 4f 70 65 6e 3b 0a 20 | pen.=.container.containerOpen;.. |
1a0c40 | 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 77 61 73 4f 70 65 6e 29 0a 20 20 20 20 20 20 20 | ...........if.(!wasOpen)........ |
1a0c60 | 20 20 20 20 20 20 20 63 6f 6e 74 61 69 6e 65 72 2e 63 6f 6e 74 61 69 6e 65 72 4f 70 65 6e 20 3d | .......container.containerOpen.= |
1a0c80 | 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 | .true;.............for.(var.i.=. |
1a0ca0 | 30 3b 20 69 20 3c 20 63 6f 6e 74 61 69 6e 65 72 2e 63 68 69 6c 64 43 6f 75 6e 74 3b 20 2b 2b 69 | 0;.i.<.container.childCount;.++i |
1a0cc0 | 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 63 68 69 6c 64 20 3d 20 63 6f | ).{...............var.child.=.co |
1a0ce0 | 6e 74 61 69 6e 65 72 2e 67 65 74 43 68 69 6c 64 28 69 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 | ntainer.getChild(i);............ |
1a0d00 | 20 20 20 76 61 72 20 63 68 69 6c 64 55 52 49 20 3d 20 63 68 69 6c 64 2e 75 72 69 3b 0a 20 20 20 | ...var.childURI.=.child.uri;.... |
1a0d20 | 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 63 68 69 6c 64 55 52 49 20 3d 3d 20 70 6c 61 63 65 | ...........if.(childURI.==.place |
1a0d40 | 55 52 49 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 63 68 69 6c | URI).................return.chil |
1a0d60 | 64 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 20 69 66 20 28 50 6c 61 63 65 73 | d;...............else.if.(Places |
1a0d80 | 55 74 69 6c 73 2e 6e 6f 64 65 49 73 43 6f 6e 74 61 69 6e 65 72 28 63 68 69 6c 64 29 29 20 7b 0a | Utils.nodeIsContainer(child)).{. |
1a0da0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 6e 65 73 74 65 64 20 3d 20 66 69 6e | ................var.nested.=.fin |
1a0dc0 | 64 4e 6f 64 65 28 61 73 43 6f 6e 74 61 69 6e 65 72 28 63 68 69 6c 64 29 2c 20 70 6c 61 63 65 55 | dNode(asContainer(child),.placeU |
1a0de0 | 52 49 2c 20 6e 6f 64 65 73 55 52 49 43 68 65 63 6b 65 64 29 3b 0a 20 20 20 20 20 20 20 20 20 20 | RI,.nodesURIChecked);........... |
1a0e00 | 20 20 20 20 20 20 69 66 20 28 6e 65 73 74 65 64 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ......if.(nested)............... |
1a0e20 | 20 20 20 20 72 65 74 75 72 6e 20 6e 65 73 74 65 64 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ....return.nested;.............. |
1a0e40 | 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 | .}.............}..............if |
1a0e60 | 20 28 21 77 61 73 4f 70 65 6e 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6e 74 61 69 | .(!wasOpen)...............contai |
1a0e80 | 6e 65 72 2e 63 6f 6e 74 61 69 6e 65 72 4f 70 65 6e 20 3d 20 66 61 6c 73 65 3b 0a 0a 20 20 20 20 | ner.containerOpen.=.false;...... |
1a0ea0 | 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 6e 75 6c 6c 3b 0a 20 20 20 20 20 20 20 20 20 20 7d | ........return.null;...........} |
1a0ec0 | 0a 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 63 6f 6e 74 61 69 6e 65 72 20 3d 20 74 68 69 73 | ............var.container.=.this |
1a0ee0 | 2e 67 65 74 52 65 73 75 6c 74 4e 6f 64 65 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 4e 53 5f 41 | .getResultNode();...........NS_A |
1a0f00 | 53 53 45 52 54 28 63 6f 6e 74 61 69 6e 65 72 2c 20 22 4e 6f 20 72 65 73 75 6c 74 2c 20 63 61 6e | SSERT(container,."No.result,.can |
1a0f20 | 6e 6f 74 20 73 65 6c 65 63 74 20 70 6c 61 63 65 20 55 52 49 21 22 29 3b 0a 20 20 20 20 20 20 20 | not.select.place.URI!");........ |
1a0f40 | 20 20 20 69 66 20 28 21 63 6f 6e 74 61 69 6e 65 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 | ...if.(!container).............r |
1a0f60 | 65 74 75 72 6e 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 63 68 69 6c 64 20 3d 20 66 69 | eturn;............var.child.=.fi |
1a0f80 | 6e 64 4e 6f 64 65 28 63 6f 6e 74 61 69 6e 65 72 2c 20 70 6c 61 63 65 55 52 49 2c 20 5b 5d 29 3b | ndNode(container,.placeURI,.[]); |
1a0fa0 | 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 63 68 69 6c 64 29 0a 20 20 20 20 20 20 20 20 20 20 | ...........if.(child)........... |
1a0fc0 | 20 20 74 68 69 73 2e 73 65 6c 65 63 74 4e 6f 64 65 28 63 68 69 6c 64 29 3b 0a 20 20 20 20 20 20 | ..this.selectNode(child);....... |
1a0fe0 | 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 49 66 20 74 68 65 | ....else.{.............//.If.the |
1a1000 | 20 73 70 65 63 69 66 69 65 64 20 63 68 69 6c 64 20 63 6f 75 6c 64 20 6e 6f 74 20 62 65 20 6c 6f | .specified.child.could.not.be.lo |
1a1020 | 63 61 74 65 64 2c 20 63 6c 65 61 72 20 74 68 65 20 73 65 6c 65 63 74 69 6f 6e 0a 20 20 20 20 20 | cated,.clear.the.selection...... |
1a1040 | 20 20 20 20 20 20 20 76 61 72 20 73 65 6c 65 63 74 69 6f 6e 20 3d 20 74 68 69 73 2e 76 69 65 77 | .......var.selection.=.this.view |
1a1060 | 2e 73 65 6c 65 63 74 69 6f 6e 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 73 65 6c 65 63 74 69 6f | .selection;.............selectio |
1a1080 | 6e 2e 63 6c 65 61 72 53 65 6c 65 63 74 69 6f 6e 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a | n.clearSelection();...........}. |
1a10a0 | 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f | ........]]></body>.......</metho |
1a10c0 | 64 3e 0a 0a 20 20 20 20 20 20 3c 21 2d 2d 20 0a 20 20 20 20 20 20 20 20 43 61 75 73 65 73 20 61 | d>........<!--..........Causes.a |
1a10e0 | 20 70 61 72 74 69 63 75 6c 61 72 20 6e 6f 64 65 20 74 6f 20 62 65 20 73 65 6c 65 63 74 65 64 20 | .particular.node.to.be.selected. |
1a1100 | 69 6e 20 74 68 65 20 74 72 65 65 2c 20 72 65 73 75 6c 74 69 6e 67 20 69 6e 20 61 6c 6c 20 0a 20 | in.the.tree,.resulting.in.all... |
1a1120 | 20 20 20 20 20 20 20 63 6f 6e 74 61 69 6e 65 72 73 20 61 62 6f 76 65 20 74 68 65 20 6e 6f 64 65 | .......containers.above.the.node |
1a1140 | 20 69 6e 20 74 68 65 20 68 69 65 72 61 72 63 68 79 20 74 6f 20 62 65 20 6f 70 65 6e 65 64 2c 20 | .in.the.hierarchy.to.be.opened,. |
1a1160 | 73 6f 20 74 68 61 74 20 74 68 65 0a 20 20 20 20 20 20 20 20 6e 6f 64 65 20 69 73 20 76 69 73 69 | so.that.the.........node.is.visi |
1a1180 | 62 6c 65 2e 20 0a 20 20 20 20 20 20 20 20 2d 2d 3e 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 | ble...........-->.......<method. |
1a11a0 | 6e 61 6d 65 3d 22 73 65 6c 65 63 74 4e 6f 64 65 22 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 | name="selectNode">.........<para |
1a11c0 | 6d 65 74 65 72 20 6e 61 6d 65 3d 22 6e 6f 64 65 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 | meter.name="node"/>.........<bod |
1a11e0 | 79 3e 3c 21 5b 43 44 41 54 41 5b 20 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 76 69 65 77 20 | y><![CDATA[............var.view. |
1a1200 | 3d 20 74 68 69 73 2e 67 65 74 52 65 73 75 6c 74 56 69 65 77 28 29 3b 0a 0a 20 20 20 20 20 20 20 | =.this.getResultView();......... |
1a1220 | 20 20 20 76 61 72 20 70 61 72 65 6e 74 20 3d 20 6e 6f 64 65 2e 70 61 72 65 6e 74 3b 0a 20 20 20 | ...var.parent.=.node.parent;.... |
1a1240 | 20 20 20 20 20 20 20 69 66 20 28 70 61 72 65 6e 74 20 26 26 20 21 70 61 72 65 6e 74 2e 63 6f 6e | .......if.(parent.&&.!parent.con |
1a1260 | 74 61 69 6e 65 72 4f 70 65 6e 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 42 75 69 | tainerOpen).{.............//.Bui |
1a1280 | 6c 64 20 61 20 6c 69 73 74 20 6f 66 20 61 6c 6c 20 6f 66 20 74 68 65 20 6e 6f 64 65 73 20 74 68 | ld.a.list.of.all.of.the.nodes.th |
1a12a0 | 61 74 20 61 72 65 20 74 68 65 20 70 61 72 65 6e 74 20 6f 66 20 74 68 69 73 20 6f 6e 65 20 0a 20 | at.are.the.parent.of.this.one... |
1a12c0 | 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 69 6e 20 74 68 65 20 72 65 73 75 6c 74 2e 20 0a 20 20 | ...........//.in.the.result..... |
1a12e0 | 20 20 20 20 20 20 20 20 20 20 76 61 72 20 70 61 72 65 6e 74 73 20 3d 20 5b 5d 3b 0a 20 20 20 20 | ..........var.parents.=.[];..... |
1a1300 | 20 20 20 20 20 20 20 20 76 61 72 20 72 6f 6f 74 20 3d 20 74 68 69 73 2e 67 65 74 52 65 73 75 6c | ........var.root.=.this.getResul |
1a1320 | 74 4e 6f 64 65 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 77 68 69 6c 65 20 28 70 61 72 65 | tNode();.............while.(pare |
1a1340 | 6e 74 20 26 26 20 70 61 72 65 6e 74 20 21 3d 20 72 6f 6f 74 29 20 7b 0a 20 20 20 20 20 20 20 20 | nt.&&.parent.!=.root).{......... |
1a1360 | 20 20 20 20 20 20 70 61 72 65 6e 74 73 2e 70 75 73 68 28 70 61 72 65 6e 74 29 3b 0a 20 20 20 20 | ......parents.push(parent);..... |
1a1380 | 20 20 20 20 20 20 20 20 20 20 70 61 72 65 6e 74 20 3d 20 70 61 72 65 6e 74 2e 70 61 72 65 6e 74 | ..........parent.=.parent.parent |
1a13a0 | 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 | ;.............}..............//. |
1a13c0 | 57 61 6c 6b 20 74 68 65 20 6c 69 73 74 20 62 61 63 6b 77 61 72 64 73 20 28 6f 70 65 6e 69 6e 67 | Walk.the.list.backwards.(opening |
1a13e0 | 20 66 72 6f 6d 20 74 68 65 20 72 6f 6f 74 20 6f 66 20 74 68 65 20 68 69 65 72 61 72 63 68 79 29 | .from.the.root.of.the.hierarchy) |
1a1400 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 6f 70 65 6e 69 6e 67 20 65 61 63 68 20 66 6f 6c | .............//.opening.each.fol |
1a1420 | 64 65 72 20 61 73 20 77 65 20 67 6f 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 66 6f 72 20 28 76 | der.as.we.go..............for.(v |
1a1440 | 61 72 20 69 20 3d 20 70 61 72 65 6e 74 73 2e 6c 65 6e 67 74 68 20 2d 20 31 3b 20 69 20 3e 3d 20 | ar.i.=.parents.length.-.1;.i.>=. |
1a1460 | 30 3b 20 2d 2d 69 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 69 6e 64 65 | 0;.--i).{...............var.inde |
1a1480 | 78 20 3d 20 76 69 65 77 2e 74 72 65 65 49 6e 64 65 78 46 6f 72 4e 6f 64 65 28 70 61 72 65 6e 74 | x.=.view.treeIndexForNode(parent |
1a14a0 | 73 5b 69 5d 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 76 69 65 77 2e 69 73 | s[i]);...............if.(view.is |
1a14c0 | 43 6f 6e 74 61 69 6e 65 72 28 69 6e 64 65 78 29 20 26 26 20 21 76 69 65 77 2e 69 73 43 6f 6e 74 | Container(index).&&.!view.isCont |
1a14e0 | 61 69 6e 65 72 4f 70 65 6e 28 69 6e 64 65 78 29 29 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ainerOpen(index))............... |
1a1500 | 20 20 20 76 69 65 77 2e 74 6f 67 67 6c 65 4f 70 65 6e 53 74 61 74 65 28 69 6e 64 65 78 29 3b 0a | ...view.toggleOpenState(index);. |
1a1520 | 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 53 65 6c | ............}.............//.Sel |
1a1540 | 65 63 74 20 74 68 65 20 73 70 65 63 69 66 69 65 64 20 6e 6f 64 65 2e 2e 2e 0a 20 20 20 20 20 20 | ect.the.specified.node.......... |
1a1560 | 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 69 6e 64 65 78 20 3d 20 76 69 65 | ....}............var.index.=.vie |
1a1580 | 77 2e 74 72 65 65 49 6e 64 65 78 46 6f 72 4e 6f 64 65 28 6e 6f 64 65 29 3b 0a 20 20 20 20 20 20 | w.treeIndexForNode(node);....... |
1a15a0 | 20 20 20 20 76 69 65 77 2e 73 65 6c 65 63 74 69 6f 6e 2e 73 65 6c 65 63 74 28 69 6e 64 65 78 29 | ....view.selection.select(index) |
1a15c0 | 3b 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 2e 2e 2e 20 61 6e 64 20 65 6e 73 75 72 65 20 69 74 | ;...........//.....and.ensure.it |
1a15e0 | 27 73 20 76 69 73 69 62 6c 65 2c 20 6e 6f 74 20 73 63 72 6f 6c 6c 65 64 20 6f 66 66 20 73 6f 6d | 's.visible,.not.scrolled.off.som |
1a1600 | 65 77 68 65 72 65 2e 20 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 74 72 65 65 42 6f 78 4f | ewhere.............this.treeBoxO |
1a1620 | 62 6a 65 63 74 2e 65 6e 73 75 72 65 52 6f 77 49 73 56 69 73 69 62 6c 65 28 69 6e 64 65 78 29 3b | bject.ensureRowIsVisible(index); |
1a1640 | 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 | .........]]></body>.......</meth |
1a1660 | 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 21 2d 2d 20 6e 73 49 50 6c 61 63 65 73 56 69 65 77 20 2d 2d | od>........<!--.nsIPlacesView.-- |
1a1680 | 3e 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 67 65 74 52 65 73 75 6c 74 22 | >.......<method.name="getResult" |
1a16a0 | 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 | >.........<body><![CDATA[....... |
1a16c0 | 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 | ....try.{.............return.thi |
1a16e0 | 73 2e 76 69 65 77 2e 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 28 43 69 2e 6e 73 49 4e 61 76 48 | s.view.QueryInterface(Ci.nsINavH |
1a1700 | 69 73 74 6f 72 79 52 65 73 75 6c 74 56 69 65 77 65 72 29 2e 72 65 73 75 6c 74 3b 0a 20 20 20 20 | istoryResultViewer).result;..... |
1a1720 | 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 63 61 74 63 68 20 28 65 29 20 7b 0a 20 20 | ......}...........catch.(e).{... |
1a1740 | 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 6e 75 6c 6c 3b 0a 20 20 20 20 20 20 20 20 20 | ..........return.null;.......... |
1a1760 | 20 7d 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 | .}.........]]></body>.......</me |
1a1780 | 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 21 2d 2d 20 6e 73 49 50 6c 61 63 65 73 56 69 65 77 20 | thod>........<!--.nsIPlacesView. |
1a17a0 | 2d 2d 3e 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 67 65 74 52 65 73 75 6c | -->.......<method.name="getResul |
1a17c0 | 74 4e 6f 64 65 22 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 3c 21 5b 43 44 41 54 41 5b 0a | tNode">.........<body><![CDATA[. |
1a17e0 | 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 67 65 74 52 65 73 75 6c 74 28 | ..........return.this.getResult( |
1a1800 | 29 2e 72 6f 6f 74 3b 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 | ).root;.........]]></body>...... |
1a1820 | 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 | .</method>........<method.name=" |
1a1840 | 67 65 74 52 65 73 75 6c 74 56 69 65 77 22 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 3c 21 | getResultView">.........<body><! |
1a1860 | 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 20 20 | [CDATA[...........try.{......... |
1a1880 | 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 76 69 65 77 2e 51 75 65 72 79 49 6e 74 65 72 66 | ....return.this.view.QueryInterf |
1a18a0 | 61 63 65 28 43 69 2e 6e 73 49 4e 61 76 48 69 73 74 6f 72 79 52 65 73 75 6c 74 54 72 65 65 56 69 | ace(Ci.nsINavHistoryResultTreeVi |
1a18c0 | 65 77 65 72 29 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 63 61 74 | ewer);...........}...........cat |
1a18e0 | 63 68 20 28 65 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 72 | ch.(e).{...........}...........r |
1a1900 | 65 74 75 72 6e 20 6e 75 6c 6c 3b 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 62 6f 64 79 3e 0a 20 | eturn.null;.........]]></body>.. |
1a1920 | 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 21 2d 2d 20 6e 73 49 50 6c | .....</method>........<!--.nsIPl |
1a1940 | 61 63 65 73 56 69 65 77 20 2d 2d 3e 0a 20 20 20 20 20 20 3c 70 72 6f 70 65 72 74 79 20 6e 61 6d | acesView.-->.......<property.nam |
1a1960 | 65 3d 22 70 6c 61 63 65 22 3e 0a 20 20 20 20 20 20 20 20 3c 67 65 74 74 65 72 3e 3c 21 5b 43 44 | e="place">.........<getter><![CD |
1a1980 | 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 67 65 74 41 74 | ATA[...........return.this.getAt |
1a19a0 | 74 72 69 62 75 74 65 28 22 70 6c 61 63 65 22 29 3b 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 67 | tribute("place");.........]]></g |
1a19c0 | 65 74 74 65 72 3e 0a 20 20 20 20 20 20 20 20 3c 73 65 74 74 65 72 3e 3c 21 5b 43 44 41 54 41 5b | etter>.........<setter><![CDATA[ |
1a19e0 | 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 70 6c | ...........this.setAttribute("pl |
1a1a00 | 61 63 65 22 2c 20 76 61 6c 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 71 75 65 72 69 | ace",.val);............var.queri |
1a1a20 | 65 73 52 65 66 20 3d 20 7b 20 7d 3b 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 71 75 65 72 79 | esRef.=.{.};...........var.query |
1a1a40 | 43 6f 75 6e 74 52 65 66 20 3d 20 7b 20 7d 3b 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 6f 70 | CountRef.=.{.};...........var.op |
1a1a60 | 74 69 6f 6e 73 52 65 66 20 3d 20 7b 20 7d 3b 0a 20 20 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 | tionsRef.=.{.};...........Places |
1a1a80 | 55 74 69 6c 73 2e 68 69 73 74 6f 72 79 2e 71 75 65 72 79 53 74 72 69 6e 67 54 6f 51 75 65 72 69 | Utils.history.queryStringToQueri |
1a1aa0 | 65 73 28 76 61 6c 2c 20 71 75 65 72 69 65 73 52 65 66 2c 20 71 75 65 72 79 43 6f 75 6e 74 52 65 | es(val,.queriesRef,.queryCountRe |
1a1ac0 | 66 2c 20 6f 70 74 69 6f 6e 73 52 65 66 29 3b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 71 75 | f,.optionsRef);...........if.(qu |
1a1ae0 | 65 72 79 43 6f 75 6e 74 52 65 66 2e 76 61 6c 75 65 20 3d 3d 20 30 29 0a 20 20 20 20 20 20 20 20 | eryCountRef.value.==.0)......... |
1a1b00 | 20 20 20 20 71 75 65 72 69 65 73 52 65 66 2e 76 61 6c 75 65 20 3d 20 5b 50 6c 61 63 65 73 55 74 | ....queriesRef.value.=.[PlacesUt |
1a1b20 | 69 6c 73 2e 68 69 73 74 6f 72 79 2e 67 65 74 4e 65 77 51 75 65 72 79 28 29 5d 3b 0a 20 20 20 20 | ils.history.getNewQuery()];..... |
1a1b40 | 20 20 20 20 20 20 69 66 20 28 21 6f 70 74 69 6f 6e 73 52 65 66 2e 76 61 6c 75 65 29 0a 20 20 20 | ......if.(!optionsRef.value).... |
1a1b60 | 20 20 20 20 20 20 20 20 20 6f 70 74 69 6f 6e 73 52 65 66 2e 76 61 6c 75 65 20 3d 20 50 6c 61 63 | .........optionsRef.value.=.Plac |
1a1b80 | 65 73 55 74 69 6c 73 2e 68 69 73 74 6f 72 79 2e 67 65 74 4e 65 77 51 75 65 72 79 4f 70 74 69 6f | esUtils.history.getNewQueryOptio |
1a1ba0 | 6e 73 28 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 6c 6f 61 64 28 71 75 65 72 69 | ns();............this.load(queri |
1a1bc0 | 65 73 52 65 66 2e 76 61 6c 75 65 2c 20 6f 70 74 69 6f 6e 73 52 65 66 2e 76 61 6c 75 65 29 3b 0a | esRef.value,.optionsRef.value);. |
1a1be0 | 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 76 61 6c 3b 0a 20 20 20 20 20 20 20 20 5d | ...........return.val;.........] |
1a1c00 | 5d 3e 3c 2f 73 65 74 74 65 72 3e 0a 20 20 20 20 20 20 3c 2f 70 72 6f 70 65 72 74 79 3e 0a 0a 20 | ]></setter>.......</property>... |
1a1c20 | 20 20 20 20 20 3c 21 2d 2d 20 6e 73 49 50 6c 61 63 65 73 56 69 65 77 20 2d 2d 3e 0a 20 20 20 20 | .....<!--.nsIPlacesView.-->..... |
1a1c40 | 20 20 3c 70 72 6f 70 65 72 74 79 20 6e 61 6d 65 3d 22 68 61 73 53 65 6c 65 63 74 69 6f 6e 22 3e | ..<property.name="hasSelection"> |
1a1c60 | 0a 20 20 20 20 20 20 20 20 3c 67 65 74 74 65 72 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 | .........<getter><![CDATA[...... |
1a1c80 | 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 76 69 65 77 2e 73 65 6c 65 63 74 69 6f 6e 2e | .....return.this.view.selection. |
1a1ca0 | 63 6f 75 6e 74 20 3e 3d 20 31 3b 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 67 65 74 74 65 72 3e | count.>=.1;.........]]></getter> |
1a1cc0 | 0a 20 20 20 20 20 20 3c 2f 70 72 6f 70 65 72 74 79 3e 0a 20 20 20 20 20 20 0a 20 20 20 20 20 20 | .......</property>.............. |
1a1ce0 | 3c 21 2d 2d 20 6e 73 49 50 6c 61 63 65 73 56 69 65 77 20 2d 2d 3e 0a 20 20 20 20 20 20 3c 6d 65 | <!--.nsIPlacesView.-->.......<me |
1a1d00 | 74 68 6f 64 20 6e 61 6d 65 3d 22 67 65 74 53 65 6c 65 63 74 69 6f 6e 4e 6f 64 65 73 22 3e 0a 20 | thod.name="getSelectionNodes">.. |
1a1d20 | 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 3c 21 5b 43 44 41 54 41 5b 20 0a 20 20 20 20 20 20 20 20 | .......<body><![CDATA[.......... |
1a1d40 | 20 20 76 61 72 20 73 65 6c 65 63 74 69 6f 6e 20 3d 20 74 68 69 73 2e 76 69 65 77 2e 73 65 6c 65 | ..var.selection.=.this.view.sele |
1a1d60 | 63 74 69 6f 6e 3b 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 72 63 20 3d 20 73 65 6c 65 63 74 | ction;...........var.rc.=.select |
1a1d80 | 69 6f 6e 2e 67 65 74 52 61 6e 67 65 43 6f 75 6e 74 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 76 | ion.getRangeCount();...........v |
1a1da0 | 61 72 20 6e 6f 64 65 73 20 3d 20 5b 5d 3b 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 72 65 73 | ar.nodes.=.[];...........var.res |
1a1dc0 | 75 6c 74 76 69 65 77 20 3d 20 74 68 69 73 2e 67 65 74 52 65 73 75 6c 74 56 69 65 77 28 29 3b 0a | ultview.=.this.getResultView();. |
1a1de0 | 20 20 20 20 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 72 63 | ..........for.(var.i.=.0;.i.<.rc |
1a1e00 | 3b 20 2b 2b 69 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 6d 69 6e 20 3d 20 7b | ;.++i).{.............var.min.=.{ |
1a1e20 | 20 7d 2c 20 6d 61 78 20 3d 20 7b 20 7d 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 73 65 6c 65 63 | .},.max.=.{.};.............selec |
1a1e40 | 74 69 6f 6e 2e 67 65 74 52 61 6e 67 65 41 74 28 69 2c 20 6d 69 6e 2c 20 6d 61 78 29 3b 0a 0a 20 | tion.getRangeAt(i,.min,.max);... |
1a1e60 | 20 20 20 20 20 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 6a 20 3d 20 6d 69 6e 2e 76 61 6c 75 | ...........for.(var.j.=.min.valu |
1a1e80 | 65 3b 20 6a 20 3c 3d 20 6d 61 78 2e 76 61 6c 75 65 3b 20 2b 2b 6a 29 0a 20 20 20 20 20 20 20 20 | e;.j.<=.max.value;.++j)......... |
1a1ea0 | 20 20 20 20 20 20 6e 6f 64 65 73 2e 70 75 73 68 28 72 65 73 75 6c 74 76 69 65 77 2e 6e 6f 64 65 | ......nodes.push(resultview.node |
1a1ec0 | 46 6f 72 54 72 65 65 49 6e 64 65 78 28 6a 29 29 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 | ForTreeIndex(j));...........}... |
1a1ee0 | 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 6e 6f 64 65 73 3b 0a 20 20 20 20 20 20 20 20 5d 5d | ........return.nodes;.........]] |
1a1f00 | 3e 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 | ></body>.......</method>........ |
1a1f20 | 3c 21 2d 2d 20 6e 73 49 50 6c 61 63 65 73 56 69 65 77 20 2d 2d 3e 0a 20 20 20 20 20 20 3c 6d 65 | <!--.nsIPlacesView.-->.......<me |
1a1f40 | 74 68 6f 64 20 6e 61 6d 65 3d 22 67 65 74 52 65 6d 6f 76 61 62 6c 65 53 65 6c 65 63 74 69 6f 6e | thod.name="getRemovableSelection |
1a1f60 | 52 61 6e 67 65 73 22 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 3c 21 5b 43 44 41 54 41 5b | Ranges">.........<body><![CDATA[ |
1a1f80 | 20 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 54 68 69 73 20 66 75 6e 63 74 69 6f 6e 20 65 78 69 | ............//.This.function.exi |
1a1fa0 | 73 74 73 20 69 6e 20 61 64 64 69 74 69 6f 6e 20 74 6f 20 67 65 74 53 65 6c 65 63 74 69 6f 6e 4e | sts.in.addition.to.getSelectionN |
1a1fc0 | 6f 64 65 73 20 62 65 63 61 75 73 65 20 69 74 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 65 6e 63 | odes.because.it...........//.enc |
1a1fe0 | 6f 64 65 73 20 73 65 6c 65 63 74 69 6f 6e 20 72 61 6e 67 65 73 20 28 77 68 69 63 68 20 6f 6e 6c | odes.selection.ranges.(which.onl |
1a2000 | 79 20 6f 63 63 75 72 20 69 6e 20 6c 69 73 74 20 76 69 65 77 73 29 20 69 6e 74 6f 0a 20 20 20 20 | y.occur.in.list.views).into..... |
1a2020 | 20 20 20 20 20 20 2f 2f 20 74 68 65 20 72 65 74 75 72 6e 20 76 61 6c 75 65 2e 20 46 6f 72 20 65 | ......//.the.return.value..For.e |
1a2040 | 61 63 68 20 72 65 6d 6f 76 65 64 20 72 61 6e 67 65 2c 20 74 68 65 20 69 6e 64 65 78 20 61 74 20 | ach.removed.range,.the.index.at. |
1a2060 | 77 68 69 63 68 20 69 74 65 6d 73 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 77 69 6c 6c 20 62 65 | which.items...........//.will.be |
1a2080 | 20 72 65 2d 69 6e 73 65 72 74 65 64 20 75 70 6f 6e 20 74 68 65 20 72 65 6d 6f 76 65 20 74 72 61 | .re-inserted.upon.the.remove.tra |
1a20a0 | 6e 73 61 63 74 69 6f 6e 20 62 65 69 6e 67 20 70 65 72 66 6f 72 6d 65 64 20 69 73 0a 20 20 20 20 | nsaction.being.performed.is..... |
1a20c0 | 20 20 20 20 20 20 2f 2f 20 74 68 65 20 66 69 72 73 74 20 69 6e 64 65 78 20 6f 66 20 74 68 65 20 | ......//.the.first.index.of.the. |
1a20e0 | 72 61 6e 67 65 2c 20 73 6f 20 74 68 61 74 20 74 68 65 20 76 69 65 77 20 75 70 64 61 74 65 73 20 | range,.so.that.the.view.updates. |
1a2100 | 63 6f 72 72 65 63 74 6c 79 2e 20 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 0a 20 20 20 20 20 20 20 | correctly.............//........ |
1a2120 | 20 20 20 2f 2f 20 46 6f 72 20 65 78 61 6d 70 6c 65 2c 20 69 66 20 77 65 20 72 65 6d 6f 76 65 20 | ...//.For.example,.if.we.remove. |
1a2140 | 72 6f 77 73 20 32 2c 33 2c 34 20 61 6e 64 20 37 2c 38 20 66 72 6f 6d 20 61 20 6c 69 73 74 2c 20 | rows.2,3,4.and.7,8.from.a.list,. |
1a2160 | 77 68 65 6e 20 77 65 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 75 6e 64 6f 20 74 68 61 74 20 6f | when.we...........//.undo.that.o |
1a2180 | 70 65 72 61 74 69 6f 6e 2c 20 69 66 20 77 65 20 69 6e 73 65 72 74 20 77 68 61 74 20 77 61 73 20 | peration,.if.we.insert.what.was. |
1a21a0 | 61 74 20 72 6f 77 20 33 20 61 74 20 72 6f 77 20 33 20 61 67 61 69 6e 2c 0a 20 20 20 20 20 20 20 | at.row.3.at.row.3.again,........ |
1a21c0 | 20 20 20 2f 2f 20 69 74 20 77 69 6c 6c 20 73 68 6f 77 20 75 70 20 5f 61 66 74 65 72 5f 20 74 68 | ...//.it.will.show.up._after_.th |
1a21e0 | 65 20 69 74 65 6d 20 74 68 61 74 20 77 61 73 20 61 74 20 72 6f 77 20 35 2e 20 53 6f 20 77 65 20 | e.item.that.was.at.row.5..So.we. |
1a2200 | 6e 65 65 64 20 74 6f 20 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 69 6e 73 65 72 74 20 61 6c 6c | need.to............//.insert.all |
1a2220 | 20 69 74 65 6d 73 20 61 74 20 72 6f 77 20 32 2c 20 61 6e 64 20 74 68 65 20 74 72 65 65 20 76 69 | .items.at.row.2,.and.the.tree.vi |
1a2240 | 65 77 20 77 69 6c 6c 20 75 70 64 61 74 65 20 63 6f 72 72 65 63 74 6c 79 2e 20 0a 20 20 20 20 20 | ew.will.update.correctly........ |
1a2260 | 20 20 20 20 20 2f 2f 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 41 6c 73 6f 2c 20 74 68 69 73 20 | .....//...........//.Also,.this. |
1a2280 | 66 75 6e 63 74 69 6f 6e 20 63 6f 6c 6c 61 70 73 65 73 20 74 68 65 20 73 65 6c 65 63 74 69 6f 6e | function.collapses.the.selection |
1a22a0 | 20 74 6f 20 72 65 6d 6f 76 65 20 72 65 64 75 6e 64 61 6e 74 0a 20 20 20 20 20 20 20 20 20 20 2f | .to.remove.redundant.........../ |
1a22c0 | 2f 20 64 61 74 61 2c 20 65 2e 67 2e 20 77 68 65 6e 20 64 65 6c 65 74 69 6e 67 20 74 68 69 73 20 | /.data,.e.g..when.deleting.this. |
1a22e0 | 73 65 6c 65 63 74 69 6f 6e 3a 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 0a 20 20 20 20 20 20 20 20 | selection:...........//......... |
1a2300 | 20 20 2f 2f 20 20 20 20 20 20 68 74 74 70 3a 2f 2f 77 77 77 2e 66 6f 6f 2e 63 6f 6d 2f 0a 20 20 | ..//......http://www.foo.com/... |
1a2320 | 20 20 20 20 20 20 20 20 2f 2f 20 20 28 2d 29 20 53 6f 6d 65 20 46 6f 6c 64 65 72 0a 20 20 20 20 | ........//..(-).Some.Folder..... |
1a2340 | 20 20 20 20 20 20 2f 2f 20 20 20 20 20 20 20 20 68 74 74 70 3a 2f 2f 77 77 77 2e 62 61 72 2e 63 | ......//........http://www.bar.c |
1a2360 | 6f 6d 2f 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 2e 2e | om/...........//...........//... |
1a2380 | 2e 20 72 65 74 75 72 6e 69 6e 67 20 68 74 74 70 3a 2f 2f 77 77 77 2e 62 61 72 2e 63 6f 6d 2f 20 | ..returning.http://www.bar.com/. |
1a23a0 | 61 73 20 70 61 72 74 20 6f 66 20 74 68 65 20 73 65 6c 65 63 74 69 6f 6e 20 69 73 20 0a 20 20 20 | as.part.of.the.selection.is..... |
1a23c0 | 20 20 20 20 20 20 20 2f 2f 20 72 65 64 75 6e 64 61 6e 74 20 62 65 63 61 75 73 65 20 69 74 20 69 | .......//.redundant.because.it.i |
1a23e0 | 73 20 69 6d 70 6c 69 65 64 20 62 79 20 72 65 6d 6f 76 69 6e 67 20 22 53 6f 6d 65 20 46 6f 6c 64 | s.implied.by.removing."Some.Fold |
1a2400 | 65 72 22 2e 20 57 65 20 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 66 69 6c 74 65 72 20 6f 75 74 | er"..We............//.filter.out |
1a2420 | 20 61 6c 6c 20 73 75 63 68 20 72 65 64 75 6e 64 61 6e 63 69 65 73 20 73 69 6e 63 65 20 73 6f 6d | .all.such.redundancies.since.som |
1a2440 | 65 20 70 61 72 74 69 61 6c 20 61 6d 6f 75 6e 74 20 6f 66 0a 20 20 20 20 20 20 20 20 20 20 2f 2f | e.partial.amount.of...........// |
1a2460 | 20 74 68 65 20 66 6f 6c 64 65 72 27 73 20 63 68 69 6c 64 72 65 6e 20 6d 61 79 20 62 65 20 73 65 | .the.folder's.children.may.be.se |
1a2480 | 6c 65 63 74 65 64 2e 20 20 20 20 20 20 20 20 20 20 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 0a 20 | lected......................//.. |
1a24a0 | 20 20 20 20 20 20 20 20 20 76 61 72 20 73 65 6c 65 63 74 69 6f 6e 20 3d 20 74 68 69 73 2e 76 69 | .........var.selection.=.this.vi |
1a24c0 | 65 77 2e 73 65 6c 65 63 74 69 6f 6e 3b 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 72 63 20 3d | ew.selection;...........var.rc.= |
1a24e0 | 20 73 65 6c 65 63 74 69 6f 6e 2e 67 65 74 52 61 6e 67 65 43 6f 75 6e 74 28 29 3b 0a 20 20 20 20 | .selection.getRangeCount();..... |
1a2500 | 20 20 20 20 20 20 76 61 72 20 6e 6f 64 65 73 20 3d 20 5b 5d 3b 0a 20 20 20 20 20 20 20 20 20 20 | ......var.nodes.=.[];........... |
1a2520 | 76 61 72 20 72 65 73 75 6c 74 76 69 65 77 20 3d 20 74 68 69 73 2e 67 65 74 52 65 73 75 6c 74 56 | var.resultview.=.this.getResultV |
1a2540 | 69 65 77 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 54 68 69 73 20 6c 69 73 74 20 69 73 | iew();...........//.This.list.is |
1a2560 | 20 6b 65 70 74 20 69 6e 64 65 70 65 6e 64 65 6e 74 6c 79 20 6f 66 20 74 68 65 20 72 61 6e 67 65 | .kept.independently.of.the.range |
1a2580 | 20 73 65 6c 65 63 74 65 64 20 28 69 2e 65 2e 20 4f 55 54 53 49 44 45 0a 20 20 20 20 20 20 20 20 | .selected.(i.e..OUTSIDE......... |
1a25a0 | 20 20 2f 2f 20 74 68 65 20 66 6f 72 20 6c 6f 6f 70 29 20 73 69 6e 63 65 20 74 68 65 20 72 6f 77 | ..//.the.for.loop).since.the.row |
1a25c0 | 20 69 6e 64 65 78 20 6f 66 20 61 20 63 6f 6e 74 61 69 6e 65 72 20 69 73 20 75 6e 69 71 75 65 20 | .index.of.a.container.is.unique. |
1a25e0 | 66 6f 72 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 65 6e 74 69 72 65 20 76 69 65 77 | for.the...........//.entire.view |
1a2600 | 2c 20 61 6e 64 20 77 65 20 63 6f 75 6c 64 20 68 61 76 65 20 73 6f 6d 65 20 72 65 61 6c 6c 79 20 | ,.and.we.could.have.some.really. |
1a2620 | 77 61 63 6b 79 20 73 65 6c 65 63 74 69 6f 6e 20 61 6e 64 20 77 65 0a 20 20 20 20 20 20 20 20 20 | wacky.selection.and.we.......... |
1a2640 | 20 2f 2f 20 64 6f 6e 27 74 20 77 61 6e 74 20 74 6f 20 62 6c 6f 77 20 75 70 2e 0a 20 20 20 20 20 | .//.don't.want.to.blow.up....... |
1a2660 | 20 20 20 20 20 76 61 72 20 63 6f 6e 74 61 69 6e 65 72 73 20 3d 20 7b 20 7d 3b 0a 20 20 20 20 20 | .....var.containers.=.{.};...... |
1a2680 | 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 72 63 3b 20 2b 2b 69 | .....for.(var.i.=.0;.i.<.rc;.++i |
1a26a0 | 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 72 61 6e 67 65 20 3d 20 5b 5d 3b 0a | ).{.............var.range.=.[];. |
1a26c0 | 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 6d 69 6e 20 3d 20 7b 20 7d 2c 20 6d 61 78 20 3d | ............var.min.=.{.},.max.= |
1a26e0 | 20 7b 20 7d 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 73 65 6c 65 63 74 69 6f 6e 2e 67 65 74 52 | .{.};.............selection.getR |
1a2700 | 61 6e 67 65 41 74 28 69 2c 20 6d 69 6e 2c 20 6d 61 78 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 | angeAt(i,.min,.max);............ |
1a2720 | 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 6a 20 3d 20 6d 69 6e 2e 76 | ..............for.(var.j.=.min.v |
1a2740 | 61 6c 75 65 3b 20 6a 20 3c 3d 20 6d 61 78 2e 76 61 6c 75 65 3b 20 2b 2b 6a 29 20 7b 0a 20 20 20 | alue;.j.<=.max.value;.++j).{.... |
1a2760 | 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 76 69 65 77 2e 69 73 43 6f 6e 74 61 | ...........if.(this.view.isConta |
1a2780 | 69 6e 65 72 28 6a 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6e 74 61 69 6e | iner(j)).................contain |
1a27a0 | 65 72 73 5b 6a 5d 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 | ers[j].=.true;...............if. |
1a27c0 | 28 21 28 74 68 69 73 2e 76 69 65 77 2e 67 65 74 50 61 72 65 6e 74 49 6e 64 65 78 28 6a 29 20 69 | (!(this.view.getParentIndex(j).i |
1a27e0 | 6e 20 63 6f 6e 74 61 69 6e 65 72 73 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 | n.containers)).................r |
1a2800 | 61 6e 67 65 2e 70 75 73 68 28 72 65 73 75 6c 74 76 69 65 77 2e 6e 6f 64 65 46 6f 72 54 72 65 65 | ange.push(resultview.nodeForTree |
1a2820 | 49 6e 64 65 78 28 6a 29 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 | Index(j));.............}........ |
1a2840 | 20 20 20 20 20 6e 6f 64 65 73 2e 70 75 73 68 28 72 61 6e 67 65 29 3b 0a 20 20 20 20 20 20 20 20 | .....nodes.push(range);......... |
1a2860 | 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 6e 6f 64 65 73 3b 0a 20 20 20 20 | ..}...........return.nodes;..... |
1a2880 | 20 20 20 20 5d 5d 3e 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 20 | ....]]></body>.......</method>.. |
1a28a0 | 20 20 20 20 20 0a 20 20 20 20 20 20 3c 21 2d 2d 20 6e 73 49 50 6c 61 63 65 73 56 69 65 77 20 2d | ............<!--.nsIPlacesView.- |
1a28c0 | 2d 3e 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 67 65 74 44 72 61 67 61 62 | ->.......<method.name="getDragab |
1a28e0 | 6c 65 53 65 6c 65 63 74 69 6f 6e 22 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 3c 21 5b 43 | leSelection">.........<body><![C |
1a2900 | 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 67 65 74 53 | DATA[...........return.this.getS |
1a2920 | 65 6c 65 63 74 69 6f 6e 4e 6f 64 65 73 28 29 3b 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 62 6f | electionNodes();.........]]></bo |
1a2940 | 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 20 20 20 20 20 20 0a 20 20 20 20 20 | dy>.......</method>............. |
1a2960 | 20 3c 21 2d 2d 20 6e 73 49 50 6c 61 63 65 73 56 69 65 77 20 2d 2d 3e 0a 20 20 20 20 20 20 3c 70 | .<!--.nsIPlacesView.-->.......<p |
1a2980 | 72 6f 70 65 72 74 79 20 6e 61 6d 65 3d 22 73 65 6c 65 63 74 65 64 4e 6f 64 65 22 3e 0a 20 20 20 | roperty.name="selectedNode">.... |
1a29a0 | 20 20 20 20 20 3c 67 65 74 74 65 72 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 | .....<getter><![CDATA[.......... |
1a29c0 | 20 76 61 72 20 76 69 65 77 20 3d 20 74 68 69 73 2e 76 69 65 77 3b 0a 20 20 20 20 20 20 20 20 20 | .var.view.=.this.view;.......... |
1a29e0 | 20 69 66 20 28 76 69 65 77 2e 73 65 6c 65 63 74 69 6f 6e 2e 63 6f 75 6e 74 20 21 3d 20 31 29 0a | .if.(view.selection.count.!=.1). |
1a2a00 | 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 6e 75 6c 6c 3b 0a 0a 20 20 20 20 20 20 | ............return.null;........ |
1a2a20 | 20 20 20 20 76 61 72 20 73 65 6c 65 63 74 69 6f 6e 20 3d 20 76 69 65 77 2e 73 65 6c 65 63 74 69 | ....var.selection.=.view.selecti |
1a2a40 | 6f 6e 3b 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 6d 69 6e 20 3d 20 7b 20 7d 2c 20 6d 61 78 | on;...........var.min.=.{.},.max |
1a2a60 | 20 3d 20 7b 20 7d 3b 0a 20 20 20 20 20 20 20 20 20 20 73 65 6c 65 63 74 69 6f 6e 2e 67 65 74 52 | .=.{.};...........selection.getR |
1a2a80 | 61 6e 67 65 41 74 28 30 2c 20 6d 69 6e 2c 20 6d 61 78 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 | angeAt(0,.min,.max);............ |
1a2aa0 | 72 65 74 75 72 6e 20 74 68 69 73 2e 67 65 74 52 65 73 75 6c 74 56 69 65 77 28 29 2e 6e 6f 64 65 | return.this.getResultView().node |
1a2ac0 | 46 6f 72 54 72 65 65 49 6e 64 65 78 28 6d 69 6e 2e 76 61 6c 75 65 29 3b 0a 20 20 20 20 20 20 20 | ForTreeIndex(min.value);........ |
1a2ae0 | 20 5d 5d 3e 3c 2f 67 65 74 74 65 72 3e 0a 20 20 20 20 20 20 3c 2f 70 72 6f 70 65 72 74 79 3e 0a | .]]></getter>.......</property>. |
1a2b00 | 0a 20 20 20 20 20 20 3c 21 2d 2d 20 6e 73 49 50 6c 61 63 65 73 56 69 65 77 20 2d 2d 3e 0a 20 20 | .......<!--.nsIPlacesView.-->... |
1a2b20 | 20 20 20 20 3c 70 72 6f 70 65 72 74 79 20 6e 61 6d 65 3d 22 69 6e 73 65 72 74 69 6f 6e 50 6f 69 | ....<property.name="insertionPoi |
1a2b40 | 6e 74 22 3e 0a 20 20 20 20 20 20 20 20 3c 67 65 74 74 65 72 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 | nt">.........<getter><![CDATA[.. |
1a2b60 | 20 20 20 20 20 20 20 20 20 2f 2f 20 69 6e 76 61 6c 69 64 61 74 65 64 20 6f 6e 20 73 65 6c 65 63 | .........//.invalidated.on.selec |
1a2b80 | 74 69 6f 6e 20 61 6e 64 20 66 6f 63 75 73 20 63 68 61 6e 67 65 73 0a 20 20 20 20 20 20 20 20 20 | tion.and.focus.changes.......... |
1a2ba0 | 20 69 66 20 28 74 68 69 73 2e 5f 63 61 63 68 65 64 49 6e 73 65 72 74 69 6f 6e 50 6f 69 6e 74 20 | .if.(this._cachedInsertionPoint. |
1a2bc0 | 21 3d 3d 20 75 6e 64 65 66 69 6e 65 64 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 | !==.undefined).............retur |
1a2be0 | 6e 20 74 68 69 73 2e 5f 63 61 63 68 65 64 49 6e 73 65 72 74 69 6f 6e 50 6f 69 6e 74 3b 0a 0a 20 | n.this._cachedInsertionPoint;... |
1a2c00 | 20 20 20 20 20 20 20 20 20 2f 2f 20 74 68 65 72 65 20 69 73 20 6e 6f 20 69 6e 73 65 72 74 69 6f | .........//.there.is.no.insertio |
1a2c20 | 6e 20 70 6f 69 6e 74 20 66 6f 72 20 68 69 73 74 6f 72 79 20 71 75 65 72 69 65 73 0a 20 20 20 20 | n.point.for.history.queries..... |
1a2c40 | 20 20 20 20 20 20 2f 2f 20 73 6f 20 62 61 69 6c 20 6f 75 74 20 6e 6f 77 20 61 6e 64 20 73 61 76 | ......//.so.bail.out.now.and.sav |
1a2c60 | 65 20 61 20 6c 6f 74 20 6f 66 20 77 6f 72 6b 20 77 68 65 6e 20 75 70 64 61 74 69 6e 67 20 63 6f | e.a.lot.of.work.when.updating.co |
1a2c80 | 6d 6d 61 6e 64 73 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 72 65 73 75 6c 74 4e 6f 64 65 20 | mmands...........var.resultNode. |
1a2ca0 | 3d 20 74 68 69 73 2e 67 65 74 52 65 73 75 6c 74 4e 6f 64 65 28 29 3b 0a 20 20 20 20 20 20 20 20 | =.this.getResultNode();......... |
1a2cc0 | 20 20 69 66 20 28 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 51 75 65 72 79 28 72 65 | ..if.(PlacesUtils.nodeIsQuery(re |
1a2ce0 | 73 75 6c 74 4e 6f 64 65 29 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 73 51 75 65 | sultNode).&&...............asQue |
1a2d00 | 72 79 28 72 65 73 75 6c 74 4e 6f 64 65 29 2e 71 75 65 72 79 4f 70 74 69 6f 6e 73 2e 71 75 65 72 | ry(resultNode).queryOptions.quer |
1a2d20 | 79 54 79 70 65 20 3d 3d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 43 69 2e 6e 73 49 4e | yType.==.................Ci.nsIN |
1a2d40 | 61 76 48 69 73 74 6f 72 79 51 75 65 72 79 4f 70 74 69 6f 6e 73 2e 51 55 45 52 59 5f 54 59 50 45 | avHistoryQueryOptions.QUERY_TYPE |
1a2d60 | 5f 48 49 53 54 4f 52 59 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 | _HISTORY)...............return.t |
1a2d80 | 68 69 73 2e 5f 63 61 63 68 65 64 49 6e 73 65 72 74 69 6f 6e 50 6f 69 6e 74 20 3d 20 6e 75 6c 6c | his._cachedInsertionPoint.=.null |
1a2da0 | 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 6f 72 69 65 6e 74 61 74 69 6f 6e 20 3d 20 43 | ;............var.orientation.=.C |
1a2dc0 | 69 2e 6e 73 49 54 72 65 65 56 69 65 77 2e 44 52 4f 50 5f 42 45 46 4f 52 45 3b 0a 20 20 20 20 20 | i.nsITreeView.DROP_BEFORE;...... |
1a2de0 | 20 20 20 20 20 2f 2f 20 49 66 20 74 68 65 72 65 20 69 73 20 6e 6f 20 73 65 6c 65 63 74 69 6f 6e | .....//.If.there.is.no.selection |
1a2e00 | 2c 20 69 6e 73 65 72 74 20 61 74 20 74 68 65 20 65 6e 64 20 6f 66 20 74 68 65 20 63 6f 6e 74 61 | ,.insert.at.the.end.of.the.conta |
1a2e20 | 69 6e 65 72 2e 20 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 74 68 69 73 2e 68 61 73 53 65 | iner.............if.(!this.hasSe |
1a2e40 | 6c 65 63 74 69 6f 6e 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 69 6e 64 65 78 | lection).{.............var.index |
1a2e60 | 20 3d 20 74 68 69 73 2e 76 69 65 77 2e 72 6f 77 43 6f 75 6e 74 20 2d 20 31 3b 0a 20 20 20 20 20 | .=.this.view.rowCount.-.1;...... |
1a2e80 | 20 20 20 20 20 20 20 74 68 69 73 2e 5f 63 61 63 68 65 64 49 6e 73 65 72 74 69 6f 6e 50 6f 69 6e | .......this._cachedInsertionPoin |
1a2ea0 | 74 20 3d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 67 65 74 49 6e 73 65 72 | t.=...............this._getInser |
1a2ec0 | 74 69 6f 6e 50 6f 69 6e 74 28 69 6e 64 65 78 2c 20 6f 72 69 65 6e 74 61 74 69 6f 6e 29 3b 0a 20 | tionPoint(index,.orientation);.. |
1a2ee0 | 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 63 61 63 68 65 64 49 6e | ...........return.this._cachedIn |
1a2f00 | 73 65 72 74 69 6f 6e 50 6f 69 6e 74 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 | sertionPoint;...........}....... |
1a2f20 | 20 20 20 20 20 2f 2f 20 54 68 69 73 20 69 73 20 61 20 74 77 6f 2d 70 61 72 74 20 70 72 6f 63 65 | .....//.This.is.a.two-part.proce |
1a2f40 | 73 73 2e 20 54 68 65 20 66 69 72 73 74 20 70 61 72 74 20 69 73 20 64 65 74 65 72 6d 69 6e 69 6e | ss..The.first.part.is.determinin |
1a2f60 | 67 20 74 68 65 20 64 72 6f 70 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 6f 72 69 65 6e 74 61 74 | g.the.drop...........//.orientat |
1a2f80 | 69 6f 6e 2e 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 2a 20 54 68 65 20 64 65 66 61 75 6c 74 20 | ion............//.*.The.default. |
1a2fa0 | 6f 72 69 65 6e 74 61 74 69 6f 6e 20 69 73 20 74 6f 20 64 72 6f 70 20 5f 62 65 66 6f 72 65 5f 20 | orientation.is.to.drop._before_. |
1a2fc0 | 74 68 65 20 73 65 6c 65 63 74 65 64 20 69 74 65 6d 2e 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 | the.selected.item............//. |
1a2fe0 | 2a 20 49 66 20 74 68 65 20 73 65 6c 65 63 74 65 64 20 69 74 65 6d 20 69 73 20 61 20 63 6f 6e 74 | *.If.the.selected.item.is.a.cont |
1a3000 | 61 69 6e 65 72 2c 20 74 68 65 20 64 65 66 61 75 6c 74 20 6f 72 69 65 6e 74 61 74 69 6f 6e 0a 20 | ainer,.the.default.orientation.. |
1a3020 | 20 20 20 20 20 20 20 20 20 2f 2f 20 20 20 69 73 20 74 6f 20 64 72 6f 70 20 5f 69 6e 74 6f 5f 20 | .........//...is.to.drop._into_. |
1a3040 | 74 68 61 74 20 63 6f 6e 74 61 69 6e 65 72 2e 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 0a 20 20 20 | that.container............//.... |
1a3060 | 20 20 20 20 20 20 20 2f 2f 20 57 61 72 6e 69 6e 67 3a 20 49 74 20 6d 61 79 20 62 65 20 74 65 6d | .......//.Warning:.It.may.be.tem |
1a3080 | 70 74 69 6e 67 20 74 6f 20 75 73 65 20 74 72 65 65 20 69 6e 64 65 78 65 73 20 69 6e 20 74 68 69 | pting.to.use.tree.indexes.in.thi |
1a30a0 | 73 20 63 6f 64 65 2c 20 62 75 74 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 20 20 20 20 20 20 20 | s.code,.but...........//........ |
1a30c0 | 20 20 79 6f 75 20 6d 75 73 74 20 6e 6f 74 2c 20 73 69 6e 63 65 20 74 68 65 20 74 72 65 65 20 69 | ..you.must.not,.since.the.tree.i |
1a30e0 | 73 20 6e 65 73 74 65 64 20 61 6e 64 20 61 73 20 79 6f 75 72 20 74 72 65 65 20 0a 20 20 20 20 20 | s.nested.and.as.your.tree....... |
1a3100 | 20 20 20 20 20 2f 2f 20 20 20 20 20 20 20 20 20 20 69 6e 64 65 78 20 6d 61 79 20 63 68 61 6e 67 | .....//..........index.may.chang |
1a3120 | 65 20 77 68 65 6e 20 66 6f 6c 64 65 72 73 20 62 65 66 6f 72 65 20 79 6f 75 20 61 72 65 20 6f 70 | e.when.folders.before.you.are.op |
1a3140 | 65 6e 65 64 20 61 6e 64 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 20 20 20 20 20 20 20 20 20 63 | ened.and...........//..........c |
1a3160 | 6c 6f 73 65 64 2e 20 59 6f 75 20 6d 75 73 74 20 63 6f 6e 76 65 72 74 20 79 6f 75 72 20 74 72 65 | losed..You.must.convert.your.tre |
1a3180 | 65 20 69 6e 64 65 78 20 74 6f 20 61 20 6e 6f 64 65 2c 20 61 6e 64 0a 20 20 20 20 20 20 20 20 20 | e.index.to.a.node,.and.......... |
1a31a0 | 20 2f 2f 20 20 20 20 20 20 20 20 20 20 74 68 65 6e 20 75 73 65 20 67 65 74 49 6e 64 65 78 4f 66 | .//..........then.use.getIndexOf |
1a31c0 | 4e 6f 64 65 20 74 6f 20 66 69 6e 64 20 79 6f 75 72 20 61 62 73 6f 6c 75 74 65 20 69 6e 64 65 78 | Node.to.find.your.absolute.index |
1a31e0 | 20 69 6e 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 20 20 20 20 20 20 20 20 20 74 68 65 20 70 61 | .in...........//..........the.pa |
1a3200 | 72 65 6e 74 20 63 6f 6e 74 61 69 6e 65 72 20 69 6e 73 74 65 61 64 2e 20 0a 20 20 20 20 20 20 20 | rent.container.instead.......... |
1a3220 | 20 20 20 2f 2f 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 72 65 73 75 6c 74 56 69 65 77 20 3d | ...//...........var.resultView.= |
1a3240 | 20 74 68 69 73 2e 67 65 74 52 65 73 75 6c 74 56 69 65 77 28 29 3b 0a 20 20 20 20 20 20 20 20 20 | .this.getResultView();.......... |
1a3260 | 20 76 61 72 20 73 65 6c 65 63 74 69 6f 6e 20 3d 20 72 65 73 75 6c 74 56 69 65 77 2e 73 65 6c 65 | .var.selection.=.resultView.sele |
1a3280 | 63 74 69 6f 6e 3b 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 72 63 20 3d 20 73 65 6c 65 63 74 | ction;...........var.rc.=.select |
1a32a0 | 69 6f 6e 2e 67 65 74 52 61 6e 67 65 43 6f 75 6e 74 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 76 | ion.getRangeCount();...........v |
1a32c0 | 61 72 20 6d 69 6e 20 3d 20 7b 20 7d 2c 20 6d 61 78 20 3d 20 7b 20 7d 3b 0a 20 20 20 20 20 20 20 | ar.min.=.{.},.max.=.{.};........ |
1a32e0 | 20 20 20 73 65 6c 65 63 74 69 6f 6e 2e 67 65 74 52 61 6e 67 65 41 74 28 72 63 20 2d 20 31 2c 20 | ...selection.getRangeAt(rc.-.1,. |
1a3300 | 6d 69 6e 2c 20 6d 61 78 29 3b 0a 20 20 20 20 20 20 20 20 20 20 0a 20 20 20 20 20 20 20 20 20 20 | min,.max);...................... |
1a3320 | 2f 2f 20 49 66 20 74 68 65 20 73 6f 6c 65 20 73 65 6c 65 63 74 69 6f 6e 20 69 73 20 61 20 63 6f | //.If.the.sole.selection.is.a.co |
1a3340 | 6e 74 61 69 6e 65 72 2c 20 61 6e 64 20 77 65 20 61 72 65 20 6e 6f 74 20 69 6e 0a 20 20 20 20 20 | ntainer,.and.we.are.not.in...... |
1a3360 | 20 20 20 20 20 2f 2f 20 61 20 66 6c 61 74 6c 69 73 74 2c 20 69 6e 73 65 72 74 20 69 6e 74 6f 20 | .....//.a.flatlist,.insert.into. |
1a3380 | 69 74 2e 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 4e 6f 74 65 20 74 68 61 74 20 74 68 69 73 20 | it............//.Note.that.this. |
1a33a0 | 6f 6e 6c 79 20 61 70 70 6c 69 65 73 20 74 6f 20 5f 73 69 6e 67 6c 65 5f 20 73 65 6c 65 63 74 69 | only.applies.to._single_.selecti |
1a33c0 | 6f 6e 73 2c 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 69 66 20 74 68 65 20 6c 61 73 74 20 65 6c | ons,...........//.if.the.last.el |
1a33e0 | 65 6d 65 6e 74 20 77 69 74 68 69 6e 20 61 20 6d 75 6c 74 69 2d 73 65 6c 65 63 74 69 6f 6e 20 69 | ement.within.a.multi-selection.i |
1a3400 | 73 20 61 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 63 6f 6e 74 61 69 6e 65 72 2c 20 69 6e 73 65 | s.a...........//.container,.inse |
1a3420 | 72 74 20 5f 61 64 6a 61 63 65 6e 74 5f 20 74 6f 20 74 68 65 20 73 65 6c 65 63 74 69 6f 6e 2e 0a | rt._adjacent_.to.the.selection.. |
1a3440 | 20 20 20 20 20 20 20 20 20 20 2f 2f 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 49 66 20 74 68 65 | ..........//...........//.If.the |
1a3460 | 20 73 6f 6c 65 20 73 65 6c 65 63 74 69 6f 6e 20 69 73 20 74 68 65 20 62 6f 6f 6b 6d 61 72 6b 73 | .sole.selection.is.the.bookmarks |
1a3480 | 20 74 6f 6f 6c 62 61 72 20 66 6f 6c 64 65 72 2c 20 77 65 20 69 6e 73 65 72 74 0a 20 20 20 20 20 | .toolbar.folder,.we.insert...... |
1a34a0 | 20 20 20 20 20 2f 2f 20 69 6e 74 6f 20 69 74 20 65 76 65 6e 20 69 66 20 69 74 20 69 73 20 6e 6f | .....//.into.it.even.if.it.is.no |
1a34c0 | 74 20 6f 70 65 6e 65 64 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 69 74 65 6d 49 64 20 3d 0a | t.opened...........var.itemId.=. |
1a34e0 | 20 20 20 20 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 67 65 74 43 6f 6e 63 72 | ............PlacesUtils.getConcr |
1a3500 | 65 74 65 49 74 65 6d 49 64 28 72 65 73 75 6c 74 56 69 65 77 2e 6e 6f 64 65 46 6f 72 54 72 65 65 | eteItemId(resultView.nodeForTree |
1a3520 | 49 6e 64 65 78 28 6d 61 78 2e 76 61 6c 75 65 29 29 3b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 | Index(max.value));...........if. |
1a3540 | 28 73 65 6c 65 63 74 69 6f 6e 2e 63 6f 75 6e 74 20 3d 3d 20 31 20 26 26 20 72 65 73 75 6c 74 56 | (selection.count.==.1.&&.resultV |
1a3560 | 69 65 77 2e 69 73 43 6f 6e 74 61 69 6e 65 72 28 6d 61 78 2e 76 61 6c 75 65 29 20 26 26 0a 20 20 | iew.isContainer(max.value).&&... |
1a3580 | 20 20 20 20 20 20 20 20 20 20 20 20 21 74 68 69 73 2e 66 6c 61 74 4c 69 73 74 29 0a 20 20 20 20 | ............!this.flatList)..... |
1a35a0 | 20 20 20 20 20 20 20 20 6f 72 69 65 6e 74 61 74 69 6f 6e 20 3d 20 43 69 2e 6e 73 49 54 72 65 65 | ........orientation.=.Ci.nsITree |
1a35c0 | 56 69 65 77 2e 44 52 4f 50 5f 4f 4e 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 63 | View.DROP_ON;............this._c |
1a35e0 | 61 63 68 65 64 49 6e 73 65 72 74 69 6f 6e 50 6f 69 6e 74 20 3d 0a 20 20 20 20 20 20 20 20 20 20 | achedInsertionPoint.=........... |
1a3600 | 20 20 74 68 69 73 2e 5f 67 65 74 49 6e 73 65 72 74 69 6f 6e 50 6f 69 6e 74 28 6d 61 78 2e 76 61 | ..this._getInsertionPoint(max.va |
1a3620 | 6c 75 65 2c 20 6f 72 69 65 6e 74 61 74 69 6f 6e 29 3b 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 | lue,.orientation);...........ret |
1a3640 | 75 72 6e 20 74 68 69 73 2e 5f 63 61 63 68 65 64 49 6e 73 65 72 74 69 6f 6e 50 6f 69 6e 74 3b 0a | urn.this._cachedInsertionPoint;. |
1a3660 | 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 67 65 74 74 65 72 3e 0a 20 20 20 20 20 20 3c 2f 70 72 6f | ........]]></getter>.......</pro |
1a3680 | 70 65 72 74 79 3e 0a 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 5f 67 65 74 | perty>........<method.name="_get |
1a36a0 | 49 6e 73 65 72 74 69 6f 6e 50 6f 69 6e 74 22 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 | InsertionPoint">.........<parame |
1a36c0 | 74 65 72 20 6e 61 6d 65 3d 22 69 6e 64 65 78 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 | ter.name="index"/>.........<para |
1a36e0 | 6d 65 74 65 72 20 6e 61 6d 65 3d 22 6f 72 69 65 6e 74 61 74 69 6f 6e 22 2f 3e 0a 20 20 20 20 20 | meter.name="orientation"/>...... |
1a3700 | 20 20 20 3c 62 6f 64 79 3e 3c 21 5b 43 44 41 54 41 5b 20 0a 20 20 20 20 20 20 20 20 20 20 76 61 | ...<body><![CDATA[............va |
1a3720 | 72 20 72 65 73 75 6c 74 20 3d 20 74 68 69 73 2e 67 65 74 52 65 73 75 6c 74 28 29 3b 0a 20 20 20 | r.result.=.this.getResult();.... |
1a3740 | 20 20 20 20 20 20 20 76 61 72 20 72 65 73 75 6c 74 76 69 65 77 20 3d 20 74 68 69 73 2e 67 65 74 | .......var.resultview.=.this.get |
1a3760 | 52 65 73 75 6c 74 56 69 65 77 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 63 6f 6e 74 | ResultView();...........var.cont |
1a3780 | 61 69 6e 65 72 20 3d 20 72 65 73 75 6c 74 2e 72 6f 6f 74 3b 0a 20 20 20 20 20 20 20 20 20 20 76 | ainer.=.result.root;...........v |
1a37a0 | 61 72 20 64 72 6f 70 4e 65 61 72 49 74 65 6d 49 64 20 3d 20 2d 31 3b 0a 20 20 20 20 20 20 20 20 | ar.dropNearItemId.=.-1;......... |
1a37c0 | 20 20 4e 53 5f 41 53 53 45 52 54 28 63 6f 6e 74 61 69 6e 65 72 2c 20 22 6e 75 6c 6c 20 63 6f 6e | ..NS_ASSERT(container,."null.con |
1a37e0 | 74 61 69 6e 65 72 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 57 68 65 6e 20 74 68 65 72 | tainer");...........//.When.ther |
1a3800 | 65 27 73 20 6e 6f 20 73 65 6c 65 63 74 69 6f 6e 2c 20 61 73 73 75 6d 65 20 74 68 65 20 63 6f 6e | e's.no.selection,.assume.the.con |
1a3820 | 74 61 69 6e 65 72 20 69 73 20 74 68 65 20 63 6f 6e 74 61 69 6e 65 72 0a 20 20 20 20 20 20 20 20 | tainer.is.the.container......... |
1a3840 | 20 20 2f 2f 20 74 68 65 20 76 69 65 77 20 69 73 20 70 6f 70 75 6c 61 74 65 64 20 66 72 6f 6d 20 | ..//.the.view.is.populated.from. |
1a3860 | 28 69 2e 65 2e 20 74 68 65 20 72 65 73 75 6c 74 27 73 20 69 74 65 6d 49 64 29 2e 0a 20 20 20 20 | (i.e..the.result's.itemId)...... |
1a3880 | 20 20 20 20 20 20 69 66 20 28 69 6e 64 65 78 20 21 3d 20 2d 31 29 20 7b 0a 20 20 20 20 20 20 20 | ......if.(index.!=.-1).{........ |
1a38a0 | 20 20 20 20 20 76 61 72 20 6c 61 73 74 53 65 6c 65 63 74 65 64 20 3d 20 72 65 73 75 6c 74 76 69 | .....var.lastSelected.=.resultvi |
1a38c0 | 65 77 2e 6e 6f 64 65 46 6f 72 54 72 65 65 49 6e 64 65 78 28 69 6e 64 65 78 29 3b 0a 20 20 20 20 | ew.nodeForTreeIndex(index);..... |
1a38e0 | 20 20 20 20 20 20 20 20 69 66 20 28 72 65 73 75 6c 74 76 69 65 77 2e 69 73 43 6f 6e 74 61 69 6e | ........if.(resultview.isContain |
1a3900 | 65 72 28 69 6e 64 65 78 29 20 26 26 20 6f 72 69 65 6e 74 61 74 69 6f 6e 20 3d 3d 20 43 69 2e 6e | er(index).&&.orientation.==.Ci.n |
1a3920 | 73 49 54 72 65 65 56 69 65 77 2e 44 52 4f 50 5f 4f 4e 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 | sITreeView.DROP_ON).{........... |
1a3940 | 20 20 20 20 2f 2f 20 49 66 20 74 68 65 20 6c 61 73 74 20 73 65 6c 65 63 74 65 64 20 69 74 65 6d | ....//.If.the.last.selected.item |
1a3960 | 20 69 73 20 61 6e 20 6f 70 65 6e 20 63 6f 6e 74 61 69 6e 65 72 2c 20 61 70 70 65 6e 64 20 5f 69 | .is.an.open.container,.append._i |
1a3980 | 6e 74 6f 5f 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 69 74 2c 20 72 61 74 68 65 72 | nto_...............//.it,.rather |
1a39a0 | 20 74 68 61 6e 20 69 6e 73 65 72 74 20 61 64 6a 61 63 65 6e 74 20 74 6f 20 69 74 2e 20 0a 20 20 | .than.insert.adjacent.to.it..... |
1a39c0 | 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6e 74 61 69 6e 65 72 20 3d 20 6c 61 73 74 53 65 6c 65 | ............container.=.lastSele |
1a39e0 | 63 74 65 64 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 64 65 78 20 3d 20 2d 31 3b 0a | cted;...............index.=.-1;. |
1a3a00 | 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 20 69 | ............}.............else.i |
1a3a20 | 66 20 28 6c 61 73 74 53 65 6c 65 63 74 65 64 2e 63 6f 6e 74 61 69 6e 65 72 4f 70 65 6e 20 26 26 | f.(lastSelected.containerOpen.&& |
1a3a40 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 72 69 65 6e 74 61 74 69 6f | ......................orientatio |
1a3a60 | 6e 20 3d 3d 20 43 69 2e 6e 73 49 54 72 65 65 56 69 65 77 2e 44 52 4f 50 5f 41 46 54 45 52 20 26 | n.==.Ci.nsITreeView.DROP_AFTER.& |
1a3a80 | 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 73 74 53 65 6c 65 63 | &......................lastSelec |
1a3aa0 | 74 65 64 2e 68 61 73 43 68 69 6c 64 72 65 6e 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ted.hasChildren).{.............. |
1a3ac0 | 2f 2f 20 49 66 20 74 68 65 20 6c 61 73 74 20 73 65 6c 65 63 74 65 64 20 69 74 65 6d 20 69 73 20 | //.If.the.last.selected.item.is. |
1a3ae0 | 61 6e 20 6f 70 65 6e 20 63 6f 6e 74 61 69 6e 65 72 20 61 6e 64 20 74 68 65 20 75 73 65 72 20 69 | an.open.container.and.the.user.i |
1a3b00 | 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 74 72 79 69 6e 67 20 74 6f 20 64 72 61 67 | s..............//.trying.to.drag |
1a3b20 | 20 69 6e 74 6f 20 69 74 20 61 73 20 61 20 66 69 72 73 74 20 69 74 65 6d 2c 20 72 65 61 6c 6c 79 | .into.it.as.a.first.item,.really |
1a3b40 | 20 69 6e 73 65 72 74 20 69 6e 74 6f 20 69 74 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f | .insert.into.it...............co |
1a3b60 | 6e 74 61 69 6e 65 72 20 3d 20 6c 61 73 74 53 65 6c 65 63 74 65 64 3b 0a 20 20 20 20 20 20 20 20 | ntainer.=.lastSelected;......... |
1a3b80 | 20 20 20 20 20 6f 72 69 65 6e 74 61 74 69 6f 6e 20 3d 20 43 69 2e 6e 73 49 54 72 65 65 56 69 65 | .....orientation.=.Ci.nsITreeVie |
1a3ba0 | 77 2e 44 52 4f 50 5f 4f 4e 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 64 65 78 20 3d 20 | w.DROP_ON;..............index.=. |
1a3bc0 | 30 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 65 6c 73 | 0;.............}.............els |
1a3be0 | 65 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 55 73 65 20 74 68 65 20 6c 61 73 | e.{...............//.Use.the.las |
1a3c00 | 74 2d 73 65 6c 65 63 74 65 64 20 6e 6f 64 65 27 73 20 63 6f 6e 74 61 69 6e 65 72 20 75 6e 6c 65 | t-selected.node's.container.unle |
1a3c20 | 73 73 20 74 68 65 20 72 6f 6f 74 20 6e 6f 64 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f | ss.the.root.node.............../ |
1a3c40 | 2f 20 69 73 20 73 65 6c 65 63 74 65 64 2c 20 69 6e 20 77 68 69 63 68 20 63 61 73 65 20 77 65 20 | /.is.selected,.in.which.case.we. |
1a3c60 | 75 73 65 20 74 68 65 20 72 6f 6f 74 20 6e 6f 64 65 20 69 74 73 65 6c 66 20 61 73 20 74 68 65 0a | use.the.root.node.itself.as.the. |
1a3c80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 69 6e 73 65 72 74 69 6f 6e 20 70 6f 69 6e 74 | ..............//.insertion.point |
1a3ca0 | 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6e 74 61 69 6e 65 72 20 3d 20 6c 61 73 74 | ................container.=.last |
1a3cc0 | 53 65 6c 65 63 74 65 64 2e 70 61 72 65 6e 74 20 7c 7c 20 63 6f 6e 74 61 69 6e 65 72 3b 0a 0a 20 | Selected.parent.||.container;... |
1a3ce0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 61 76 6f 69 64 20 74 68 65 20 70 6f 74 65 6e 74 | .............//.avoid.the.potent |
1a3d00 | 69 61 6c 6c 79 20 65 78 70 65 6e 73 69 76 65 20 63 61 6c 6c 20 74 6f 20 67 65 74 49 6e 64 65 78 | ially.expensive.call.to.getIndex |
1a3d20 | 4f 66 4e 6f 64 65 28 29 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 69 66 20 77 65 | OfNode()................//.if.we |
1a3d40 | 20 6b 6e 6f 77 20 74 68 69 73 20 63 6f 6e 74 61 69 6e 65 72 20 64 6f 65 73 6e 27 74 20 61 6c 6c | .know.this.container.doesn't.all |
1a3d60 | 6f 77 20 69 6e 73 65 72 74 69 6f 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 50 | ow.insertion...............if.(P |
1a3d80 | 6c 61 63 65 73 43 6f 6e 74 72 6f 6c 6c 65 72 44 72 61 67 48 65 6c 70 65 72 2e 64 69 73 61 6c 6c | lacesControllerDragHelper.disall |
1a3da0 | 6f 77 49 6e 73 65 72 74 69 6f 6e 28 63 6f 6e 74 61 69 6e 65 72 29 29 0a 20 20 20 20 20 20 20 20 | owInsertion(container))......... |
1a3dc0 | 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 6e 75 6c 6c 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 | ........return.null;............ |
1a3de0 | 20 20 20 20 76 61 72 20 71 75 65 72 79 4f 70 74 69 6f 6e 73 20 3d 20 61 73 51 75 65 72 79 28 72 | ....var.queryOptions.=.asQuery(r |
1a3e00 | 65 73 75 6c 74 2e 72 6f 6f 74 29 2e 71 75 65 72 79 4f 70 74 69 6f 6e 73 3b 0a 20 20 20 20 20 20 | esult.root).queryOptions;....... |
1a3e20 | 20 20 20 20 20 20 20 20 69 66 20 28 71 75 65 72 79 4f 70 74 69 6f 6e 73 2e 73 6f 72 74 69 6e 67 | ........if.(queryOptions.sorting |
1a3e40 | 4d 6f 64 65 20 21 3d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 43 69 2e 6e | Mode.!=.....................Ci.n |
1a3e60 | 73 49 4e 61 76 48 69 73 74 6f 72 79 51 75 65 72 79 4f 70 74 69 6f 6e 73 2e 53 4f 52 54 5f 42 59 | sINavHistoryQueryOptions.SORT_BY |
1a3e80 | 5f 4e 4f 4e 45 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 49 66 20 77 | _NONE).{.................//.If.w |
1a3ea0 | 65 20 61 72 65 20 77 69 74 68 69 6e 20 61 20 73 6f 72 74 65 64 20 76 69 65 77 2c 20 69 6e 73 65 | e.are.within.a.sorted.view,.inse |
1a3ec0 | 72 74 20 61 74 20 74 68 65 20 65 6e 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 6e | rt.at.the.end.................in |
1a3ee0 | 64 65 78 20 3d 20 2d 31 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 | dex.=.-1;...............}....... |
1a3f00 | 20 20 20 20 20 20 20 20 65 6c 73 65 20 69 66 20 28 71 75 65 72 79 4f 70 74 69 6f 6e 73 2e 65 78 | ........else.if.(queryOptions.ex |
1a3f20 | 63 6c 75 64 65 49 74 65 6d 73 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | cludeItems.||................... |
1a3f40 | 20 20 20 20 20 71 75 65 72 79 4f 70 74 69 6f 6e 73 2e 65 78 63 6c 75 64 65 51 75 65 72 69 65 73 | .....queryOptions.excludeQueries |
1a3f60 | 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 71 75 65 72 79 | .||........................query |
1a3f80 | 4f 70 74 69 6f 6e 73 2e 65 78 63 6c 75 64 65 52 65 61 64 4f 6e 6c 79 46 6f 6c 64 65 72 73 29 20 | Options.excludeReadOnlyFolders). |
1a3fa0 | 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 53 6f 6d 65 20 69 74 65 6d 20 6d | {.................//.Some.item.m |
1a3fc0 | 61 79 20 62 65 20 69 6e 76 69 73 69 62 6c 65 2c 20 69 6e 73 65 72 74 20 6e 65 61 72 20 6c 61 73 | ay.be.invisible,.insert.near.las |
1a3fe0 | 74 20 73 65 6c 65 63 74 65 64 20 6f 6e 65 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | t.selected.one.................. |
1a4000 | 2f 2f 20 57 65 20 64 6f 6e 27 74 20 72 65 70 6c 61 63 65 20 69 6e 64 65 78 20 68 65 72 65 20 74 | //.We.don't.replace.index.here.t |
1a4020 | 6f 20 61 76 6f 69 64 20 72 65 71 75 65 73 74 73 20 74 6f 20 74 68 65 20 64 62 2c 0a 20 20 20 20 | o.avoid.requests.to.the.db,..... |
1a4040 | 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 69 6e 73 74 65 61 64 20 69 74 20 77 69 6c 6c 20 62 | ............//.instead.it.will.b |
1a4060 | 65 20 63 61 6c 63 75 6c 61 74 65 64 20 6c 61 74 65 72 20 62 79 20 74 68 65 20 63 6f 6e 74 72 6f | e.calculated.later.by.the.contro |
1a4080 | 6c 6c 65 72 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 64 65 78 20 3d 20 2d 31 | ller..................index.=.-1 |
1a40a0 | 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 72 6f 70 4e 65 61 72 49 74 65 6d 49 64 | ;.................dropNearItemId |
1a40c0 | 20 3d 20 6c 61 73 74 53 65 6c 65 63 74 65 64 2e 69 74 65 6d 49 64 3b 0a 20 20 20 20 20 20 20 20 | .=.lastSelected.itemId;......... |
1a40e0 | 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 | ......}...............else.{.... |
1a4100 | 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 6c 73 69 20 3d 20 50 6c 61 63 65 73 55 74 69 | .............var.lsi.=.PlacesUti |
1a4120 | 6c 73 2e 67 65 74 49 6e 64 65 78 4f 66 4e 6f 64 65 28 6c 61 73 74 53 65 6c 65 63 74 65 64 29 3b | ls.getIndexOfNode(lastSelected); |
1a4140 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 64 65 78 20 3d 20 6f 72 69 65 6e 74 61 | .................index.=.orienta |
1a4160 | 74 69 6f 6e 20 3d 3d 20 43 69 2e 6e 73 49 54 72 65 65 56 69 65 77 2e 44 52 4f 50 5f 42 45 46 4f | tion.==.Ci.nsITreeView.DROP_BEFO |
1a4180 | 52 45 20 3f 20 6c 73 69 20 3a 20 6c 73 69 20 2b 20 31 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 | RE.?.lsi.:.lsi.+.1;............. |
1a41a0 | 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 | ..}.............}...........}... |
1a41c0 | 20 20 20 20 20 20 20 20 20 69 66 20 28 50 6c 61 63 65 73 43 6f 6e 74 72 6f 6c 6c 65 72 44 72 61 | .........if.(PlacesControllerDra |
1a41e0 | 67 48 65 6c 70 65 72 2e 64 69 73 61 6c 6c 6f 77 49 6e 73 65 72 74 69 6f 6e 28 63 6f 6e 74 61 69 | gHelper.disallowInsertion(contai |
1a4200 | 6e 65 72 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 6e 75 6c 6c 3b 0a 0a | ner)).............return.null;.. |
1a4220 | 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 6e 65 77 20 49 6e 73 65 72 74 69 6f 6e 50 6f | ..........return.new.InsertionPo |
1a4240 | 69 6e 74 28 50 6c 61 63 65 73 55 74 69 6c 73 2e 67 65 74 43 6f 6e 63 72 65 74 65 49 74 65 6d 49 | int(PlacesUtils.getConcreteItemI |
1a4260 | 64 28 63 6f 6e 74 61 69 6e 65 72 29 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | d(container),................... |
1a4280 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 64 65 78 2c 20 6f 72 69 65 6e 74 61 | ..................index,.orienta |
1a42a0 | 74 69 6f 6e 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | tion,........................... |
1a42c0 | 20 20 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 54 61 67 51 | ..........PlacesUtils.nodeIsTagQ |
1a42e0 | 75 65 72 79 28 63 6f 6e 74 61 69 6e 65 72 29 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | uery(container),................ |
1a4300 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 72 6f 70 4e 65 61 72 49 74 65 | .....................dropNearIte |
1a4320 | 6d 49 64 29 3b 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c | mId);.........]]></body>.......< |
1a4340 | 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 21 2d 2d 20 6e 73 49 50 6c 61 63 65 73 56 69 | /method>........<!--.nsIPlacesVi |
1a4360 | 65 77 20 2d 2d 3e 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 73 65 6c 65 63 | ew.-->.......<method.name="selec |
1a4380 | 74 41 6c 6c 22 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 3c 21 5b 43 44 41 54 41 5b 20 0a | tAll">.........<body><![CDATA[.. |
1a43a0 | 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 76 69 65 77 2e 73 65 6c 65 63 74 69 6f 6e 2e 73 65 | ..........this.view.selection.se |
1a43c0 | 6c 65 63 74 41 6c 6c 28 29 3b 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 62 6f 64 79 3e 0a 20 20 | lectAll();.........]]></body>... |
1a43e0 | 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c 21 2d 2d 20 54 68 69 73 20 6d | ....</method>........<!--.This.m |
1a4400 | 65 74 68 6f 64 20 77 69 6c 6c 20 73 65 6c 65 63 74 20 74 68 65 20 66 69 72 73 74 20 6e 6f 64 65 | ethod.will.select.the.first.node |
1a4420 | 20 69 6e 20 74 68 65 20 74 72 65 65 20 74 68 61 74 20 6d 61 74 63 68 65 73 0a 20 20 20 20 20 20 | .in.the.tree.that.matches....... |
1a4440 | 20 20 20 20 20 65 61 63 68 20 67 69 76 65 6e 20 69 74 65 6d 20 69 64 2e 20 49 74 20 77 69 6c 6c | .....each.given.item.id..It.will |
1a4460 | 20 6f 70 65 6e 20 61 6e 79 20 70 61 72 65 6e 74 20 6e 6f 64 65 73 20 74 68 61 74 20 69 74 20 6e | .open.any.parent.nodes.that.it.n |
1a4480 | 65 65 64 73 0a 20 20 20 20 20 20 20 20 20 20 20 74 6f 20 69 6e 20 6f 72 64 65 72 20 74 6f 20 73 | eeds............to.in.order.to.s |
1a44a0 | 68 6f 77 20 74 68 65 20 73 65 6c 65 63 74 65 64 20 69 74 65 6d 73 2e 0a 20 20 20 20 20 20 2d 2d | how.the.selected.items........-- |
1a44c0 | 3e 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 73 65 6c 65 63 74 49 74 65 6d | >.......<method.name="selectItem |
1a44e0 | 73 22 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 49 44 | s">.........<parameter.name="aID |
1a4500 | 73 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 4f | s"/>.........<parameter.name="aO |
1a4520 | 70 65 6e 43 6f 6e 74 61 69 6e 65 72 73 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 3c | penContainers"/>.........<body>< |
1a4540 | 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 42 79 20 64 65 66 61 75 6c 74 | ![CDATA[...........//.By.default |
1a4560 | 2c 20 77 65 20 64 6f 20 73 65 61 72 63 68 20 61 6e 64 20 73 65 6c 65 63 74 20 77 69 74 68 69 6e | ,.we.do.search.and.select.within |
1a4580 | 20 63 6f 6e 74 61 69 6e 65 72 73 20 77 68 69 63 68 20 77 65 72 65 0a 20 20 20 20 20 20 20 20 20 | .containers.which.were.......... |
1a45a0 | 20 2f 2f 20 63 6c 6f 73 65 64 20 28 6e 6f 74 65 20 74 68 61 74 20 63 6f 6e 74 61 69 6e 65 72 73 | .//.closed.(note.that.containers |
1a45c0 | 20 69 6e 20 77 68 69 63 68 20 6e 6f 64 65 73 20 77 65 72 65 20 6e 6f 74 20 66 6f 75 6e 64 20 61 | .in.which.nodes.were.not.found.a |
1a45e0 | 72 65 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 63 6c 6f 73 65 64 29 2e 0a 20 20 20 20 20 20 20 | re...........//.closed)......... |
1a4600 | 20 20 20 69 66 20 28 61 4f 70 65 6e 43 6f 6e 74 61 69 6e 65 72 73 20 3d 3d 3d 20 75 6e 64 65 66 | ...if.(aOpenContainers.===.undef |
1a4620 | 69 6e 65 64 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 61 4f 70 65 6e 43 6f 6e 74 61 69 6e 65 72 | ined).............aOpenContainer |
1a4640 | 73 20 3d 20 74 72 75 65 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 69 64 73 20 3d 20 61 | s.=.true;............var.ids.=.a |
1a4660 | 49 44 73 3b 20 2f 2f 20 64 6f 6e 27 74 20 6d 61 6e 69 70 75 6c 61 74 65 20 74 68 65 20 63 61 6c | IDs;.//.don't.manipulate.the.cal |
1a4680 | 6c 65 72 27 73 20 61 72 72 61 79 0a 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 41 72 72 61 79 20 | ler's.array............//.Array. |
1a46a0 | 6f 66 20 6e 6f 64 65 73 20 66 6f 75 6e 64 20 62 79 20 66 69 6e 64 4e 6f 64 65 73 20 77 68 69 63 | of.nodes.found.by.findNodes.whic |
1a46c0 | 68 20 61 72 65 20 74 6f 20 62 65 20 73 65 6c 65 63 74 65 64 0a 20 20 20 20 20 20 20 20 20 20 76 | h.are.to.be.selected...........v |
1a46e0 | 61 72 20 6e 6f 64 65 73 20 3d 20 5b 5d 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 41 72 72 | ar.nodes.=.[];............//.Arr |
1a4700 | 61 79 20 6f 66 20 6e 6f 64 65 73 20 66 6f 75 6e 64 20 62 79 20 66 69 6e 64 4e 6f 64 65 73 20 77 | ay.of.nodes.found.by.findNodes.w |
1a4720 | 68 69 63 68 20 73 68 6f 75 6c 64 20 62 65 20 6f 70 65 6e 65 64 0a 20 20 20 20 20 20 20 20 20 20 | hich.should.be.opened........... |
1a4740 | 76 61 72 20 6e 6f 64 65 73 54 6f 4f 70 65 6e 20 3d 20 5b 5d 3b 0a 0a 20 20 20 20 20 20 20 20 20 | var.nodesToOpen.=.[];........... |
1a4760 | 20 2f 2f 20 41 20 73 65 74 20 6f 66 20 55 52 49 73 20 6f 66 20 63 6f 6e 74 61 69 6e 65 72 2d 6e | .//.A.set.of.URIs.of.container-n |
1a4780 | 6f 64 65 73 20 74 68 61 74 20 77 65 72 65 20 70 72 65 76 69 6f 75 73 6c 79 20 73 65 61 72 63 68 | odes.that.were.previously.search |
1a47a0 | 65 64 2c 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 61 6e 64 20 74 68 75 73 20 73 68 6f 75 6c 64 | ed,...........//.and.thus.should |
1a47c0 | 6e 27 74 20 62 65 20 73 65 61 72 63 68 65 64 20 61 67 61 69 6e 2e 20 54 68 69 73 20 69 73 20 65 | n't.be.searched.again..This.is.e |
1a47e0 | 6d 70 74 79 20 61 74 20 74 68 65 20 69 6e 69 74 69 61 6c 0a 20 20 20 20 20 20 20 20 20 20 2f 2f | mpty.at.the.initial...........// |
1a4800 | 20 73 74 61 72 74 20 6f 66 20 74 68 65 20 72 65 63 75 72 73 69 6f 6e 20 61 6e 64 20 67 65 74 73 | .start.of.the.recursion.and.gets |
1a4820 | 20 66 69 6c 6c 65 64 20 69 6e 20 61 73 20 74 68 65 20 72 65 63 75 72 73 69 6f 6e 0a 20 20 20 20 | .filled.in.as.the.recursion..... |
1a4840 | 20 20 20 20 20 20 2f 2f 20 70 72 6f 67 72 65 73 73 65 73 2e 0a 20 20 20 20 20 20 20 20 20 20 76 | ......//.progresses............v |
1a4860 | 61 72 20 6e 6f 64 65 73 55 52 49 43 68 65 63 6b 65 64 20 3d 20 5b 5d 3b 0a 0a 20 20 20 20 20 20 | ar.nodesURIChecked.=.[];........ |
1a4880 | 20 20 20 20 2f 2a 2a 0a 20 20 20 20 20 20 20 20 20 20 20 2a 20 52 65 63 75 72 73 69 76 65 6c 79 | ..../**............*.Recursively |
1a48a0 | 20 73 65 61 72 63 68 20 74 68 72 6f 75 67 68 20 61 20 6e 6f 64 65 27 73 20 63 68 69 6c 64 72 65 | .search.through.a.node's.childre |
1a48c0 | 6e 20 66 6f 72 20 69 74 65 6d 73 0a 20 20 20 20 20 20 20 20 20 20 20 2a 20 77 69 74 68 20 74 68 | n.for.items............*.with.th |
1a48e0 | 65 20 67 69 76 65 6e 20 49 44 73 2e 20 57 68 65 6e 20 61 20 6d 61 74 63 68 69 6e 67 20 69 74 65 | e.given.IDs..When.a.matching.ite |
1a4900 | 6d 20 69 73 20 66 6f 75 6e 64 2c 20 72 65 6d 6f 76 65 20 69 74 73 20 49 44 0a 20 20 20 20 20 20 | m.is.found,.remove.its.ID....... |
1a4920 | 20 20 20 20 20 2a 20 66 72 6f 6d 20 74 68 65 20 49 44 73 20 61 72 72 61 79 2c 20 61 6e 64 20 61 | .....*.from.the.IDs.array,.and.a |
1a4940 | 64 64 20 74 68 65 20 66 6f 75 6e 64 20 6e 6f 64 65 20 74 6f 20 74 68 65 20 6e 6f 64 65 73 20 64 | dd.the.found.node.to.the.nodes.d |
1a4960 | 69 63 74 69 6f 6e 61 72 79 2e 0a 20 20 20 20 20 20 20 20 20 20 20 2a 0a 20 20 20 20 20 20 20 20 | ictionary.............*......... |
1a4980 | 20 20 20 2a 20 4e 4f 54 45 3a 20 54 68 69 73 20 6d 65 74 68 6f 64 20 77 69 6c 6c 20 6c 65 61 76 | ...*.NOTE:.This.method.will.leav |
1a49a0 | 65 20 6f 70 65 6e 20 61 6e 79 20 6e 6f 64 65 20 74 68 61 74 20 68 61 64 20 6d 61 74 63 68 69 6e | e.open.any.node.that.had.matchin |
1a49c0 | 67 20 69 74 65 6d 73 0a 20 20 20 20 20 20 20 20 20 20 20 2a 20 69 6e 20 69 74 73 20 73 75 62 74 | g.items............*.in.its.subt |
1a49e0 | 72 65 65 2e 0a 20 20 20 20 20 20 20 20 20 20 20 2a 2f 0a 20 20 20 20 20 20 20 20 20 20 66 75 6e | ree.............*/...........fun |
1a4a00 | 63 74 69 6f 6e 20 66 69 6e 64 4e 6f 64 65 73 28 6e 6f 64 65 29 20 7b 0a 20 20 20 20 20 20 20 20 | ction.findNodes(node).{......... |
1a4a20 | 20 20 20 20 76 61 72 20 66 6f 75 6e 64 4f 6e 65 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 20 | ....var.foundOne.=.false;....... |
1a4a40 | 20 20 20 20 20 20 2f 2f 20 53 65 65 20 69 66 20 6e 6f 64 65 20 6d 61 74 63 68 65 73 20 61 6e 20 | ......//.See.if.node.matches.an. |
1a4a60 | 49 44 20 77 65 20 77 61 6e 74 65 64 3b 20 61 64 64 20 74 6f 20 72 65 73 75 6c 74 73 2e 0a 20 20 | ID.we.wanted;.add.to.results.... |
1a4a80 | 20 20 20 20 20 20 20 20 20 20 2f 2f 20 46 6f 72 20 73 69 6d 70 6c 65 20 66 6f 6c 64 65 72 20 71 | ..........//.For.simple.folder.q |
1a4aa0 | 75 65 72 69 65 73 2c 20 63 68 65 63 6b 20 62 6f 74 68 20 69 74 65 6d 49 64 20 61 6e 64 20 74 68 | ueries,.check.both.itemId.and.th |
1a4ac0 | 65 20 63 6f 6e 63 72 65 74 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 69 74 65 6d 20 69 | e.concrete.............//.item.i |
1a4ae0 | 64 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 69 6e 64 65 78 20 3d 20 69 64 73 2e 69 | d..............var.index.=.ids.i |
1a4b00 | 6e 64 65 78 4f 66 28 6e 6f 64 65 2e 69 74 65 6d 49 64 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 | ndexOf(node.itemId);............ |
1a4b20 | 20 69 66 20 28 69 6e 64 65 78 20 3d 3d 20 2d 31 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 | .if.(index.==.-1.&&............. |
1a4b40 | 20 20 20 20 6e 6f 64 65 2e 74 79 70 65 20 3d 3d 20 43 69 2e 6e 73 49 4e 61 76 48 69 73 74 6f 72 | ....node.type.==.Ci.nsINavHistor |
1a4b60 | 79 52 65 73 75 6c 74 4e 6f 64 65 2e 52 45 53 55 4c 54 5f 54 59 50 45 5f 46 4f 4c 44 45 52 5f 53 | yResultNode.RESULT_TYPE_FOLDER_S |
1a4b80 | 48 4f 52 54 43 55 54 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 64 65 78 20 3d 20 69 | HORTCUT)...............index.=.i |
1a4ba0 | 64 73 2e 69 6e 64 65 78 4f 66 28 61 73 51 75 65 72 79 28 6e 6f 64 65 29 2e 66 6f 6c 64 65 72 49 | ds.indexOf(asQuery(node).folderI |
1a4bc0 | 74 65 6d 49 64 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 69 6e 64 65 78 20 21 | temId);..............if.(index.! |
1a4be0 | 3d 20 2d 31 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 6f 64 65 73 2e 70 75 73 68 | =.-1).{...............nodes.push |
1a4c00 | 28 6e 6f 64 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 6f 75 6e 64 4f 6e 65 20 3d | (node);...............foundOne.= |
1a4c20 | 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 64 73 2e 73 70 6c 69 63 65 28 | .true;...............ids.splice( |
1a4c40 | 69 6e 64 65 78 2c 20 31 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 | index,.1);.............}........ |
1a4c60 | 20 20 20 20 20 20 69 66 20 28 69 64 73 2e 6c 65 6e 67 74 68 20 3d 3d 20 30 20 7c 7c 20 21 50 6c | ......if.(ids.length.==.0.||.!Pl |
1a4c80 | 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 43 6f 6e 74 61 69 6e 65 72 28 6e 6f 64 65 29 20 | acesUtils.nodeIsContainer(node). |
1a4ca0 | 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 6f 64 65 73 55 52 49 43 68 65 63 6b | ||.................nodesURICheck |
1a4cc0 | 65 64 2e 69 6e 64 65 78 4f 66 28 6e 6f 64 65 2e 75 72 69 29 20 21 3d 20 2d 31 29 0a 20 20 20 20 | ed.indexOf(node.uri).!=.-1)..... |
1a4ce0 | 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 66 6f 75 6e 64 4f 6e 65 3b 0a 0a 20 20 20 20 | ..........return.foundOne;...... |
1a4d00 | 20 20 20 20 20 20 20 20 61 73 43 6f 6e 74 61 69 6e 65 72 28 6e 6f 64 65 29 3b 0a 20 20 20 20 20 | ........asContainer(node);...... |
1a4d20 | 20 20 20 20 20 20 20 69 66 20 28 21 61 4f 70 65 6e 43 6f 6e 74 61 69 6e 65 72 73 20 26 26 20 21 | .......if.(!aOpenContainers.&&.! |
1a4d40 | 6e 6f 64 65 2e 63 6f 6e 74 61 69 6e 65 72 4f 70 65 6e 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 | node.containerOpen)............. |
1a4d60 | 20 20 72 65 74 75 72 6e 20 66 6f 75 6e 64 4f 6e 65 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ..return.foundOne;.............. |
1a4d80 | 6e 6f 64 65 73 55 52 49 43 68 65 63 6b 65 64 2e 70 75 73 68 28 6e 6f 64 65 2e 75 72 69 29 3b 0a | nodesURIChecked.push(node.uri);. |
1a4da0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 52 65 6d 65 6d 62 65 72 20 74 68 65 20 62 65 67 | .............//.Remember.the.beg |
1a4dc0 | 69 6e 6e 69 6e 67 20 73 74 61 74 65 20 73 6f 20 74 68 61 74 20 77 65 20 63 61 6e 20 72 65 2d 63 | inning.state.so.that.we.can.re-c |
1a4de0 | 6c 6f 73 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 74 68 69 73 20 6e 6f 64 65 20 69 66 | lose.............//.this.node.if |
1a4e00 | 20 77 65 20 64 6f 6e 27 74 20 66 69 6e 64 20 61 6e 79 20 61 64 64 69 74 69 6f 6e 61 6c 20 72 65 | .we.don't.find.any.additional.re |
1a4e20 | 73 75 6c 74 73 20 68 65 72 65 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 70 72 65 76 | sults.here..............var.prev |
1a4e40 | 69 6f 75 73 4f 70 65 6e 6e 65 73 73 20 3d 20 6e 6f 64 65 2e 63 6f 6e 74 61 69 6e 65 72 4f 70 65 | iousOpenness.=.node.containerOpe |
1a4e60 | 6e 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 6e 6f 64 65 2e 63 6f 6e 74 61 69 6e 65 72 4f 70 65 | n;.............node.containerOpe |
1a4e80 | 6e 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 63 | n.=.true;.............for.(var.c |
1a4ea0 | 68 69 6c 64 20 3d 20 30 3b 20 20 63 68 69 6c 64 20 3c 20 6e 6f 64 65 2e 63 68 69 6c 64 43 6f 75 | hild.=.0;..child.<.node.childCou |
1a4ec0 | 6e 74 20 26 26 20 69 64 73 2e 6c 65 6e 67 74 68 20 3e 20 30 3b 0a 20 20 20 20 20 20 20 20 20 20 | nt.&&.ids.length.>.0;........... |
1a4ee0 | 20 20 20 20 20 20 20 63 68 69 6c 64 2b 2b 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .......child++).{............... |
1a4f00 | 76 61 72 20 63 68 69 6c 64 4e 6f 64 65 20 3d 20 6e 6f 64 65 2e 67 65 74 43 68 69 6c 64 28 63 68 | var.childNode.=.node.getChild(ch |
1a4f20 | 69 6c 64 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 66 6f 75 6e 64 20 3d 20 | ild);...............var.found.=. |
1a4f40 | 66 69 6e 64 4e 6f 64 65 73 28 63 68 69 6c 64 4e 6f 64 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 | findNodes(childNode);........... |
1a4f60 | 20 20 20 20 69 66 20 28 21 66 6f 75 6e 64 4f 6e 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ....if.(!foundOne).............. |
1a4f80 | 20 20 20 66 6f 75 6e 64 4f 6e 65 20 3d 20 66 6f 75 6e 64 3b 0a 20 20 20 20 20 20 20 20 20 20 20 | ...foundOne.=.found;............ |
1a4fa0 | 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 49 66 20 77 65 20 64 69 64 6e 27 74 20 | .}..............//.If.we.didn't. |
1a4fc0 | 66 69 6e 64 20 61 6e 79 20 61 64 64 69 74 69 6f 6e 61 6c 20 6d 61 74 63 68 65 73 20 69 6e 20 74 | find.any.additional.matches.in.t |
1a4fe0 | 68 69 73 20 6e 6f 64 65 27 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 73 75 62 74 72 65 | his.node's.............//.subtre |
1a5000 | 65 2c 20 72 65 76 65 72 74 20 74 68 65 20 6e 6f 64 65 20 74 6f 20 69 74 73 20 70 72 65 76 69 6f | e,.revert.the.node.to.its.previo |
1a5020 | 75 73 20 6f 70 65 6e 6e 65 73 73 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 66 6f 75 | us.openness..............if.(fou |
1a5040 | 6e 64 4f 6e 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 6f 64 65 73 54 6f 4f 70 65 6e | ndOne)...............nodesToOpen |
1a5060 | 2e 75 6e 73 68 69 66 74 28 6e 6f 64 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 6e 6f 64 65 | .unshift(node);.............node |
1a5080 | 2e 63 6f 6e 74 61 69 6e 65 72 4f 70 65 6e 20 3d 20 70 72 65 76 69 6f 75 73 4f 70 65 6e 6e 65 73 | .containerOpen.=.previousOpennes |
1a50a0 | 73 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 66 6f 75 6e 64 4f 6e 65 3b 0a | s;.............return.foundOne;. |
1a50c0 | 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 4e 75 6c 6c 20 74 | ..........}............//.Null.t |
1a50e0 | 68 65 20 76 69 65 77 65 72 20 77 68 69 6c 65 20 6c 6f 6f 6b 69 6e 67 20 66 6f 72 20 6e 6f 64 65 | he.viewer.while.looking.for.node |
1a5100 | 73 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 72 65 73 75 6c 74 20 3d 20 74 68 69 73 2e 67 65 | s...........var.result.=.this.ge |
1a5120 | 74 52 65 73 75 6c 74 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 6f 6c 64 56 69 65 77 | tResult();...........var.oldView |
1a5140 | 65 72 20 3d 20 72 65 73 75 6c 74 2e 76 69 65 77 65 72 3b 0a 20 20 20 20 20 20 20 20 20 20 72 65 | er.=.result.viewer;...........re |
1a5160 | 73 75 6c 74 2e 76 69 65 77 65 72 20 3d 20 6e 75 6c 6c 3b 0a 20 20 20 20 20 20 20 20 20 20 66 69 | sult.viewer.=.null;...........fi |
1a5180 | 6e 64 4e 6f 64 65 73 28 74 68 69 73 2e 67 65 74 52 65 73 75 6c 74 4e 6f 64 65 28 29 29 3b 0a 20 | ndNodes(this.getResultNode());.. |
1a51a0 | 20 20 20 20 20 20 20 20 20 72 65 73 75 6c 74 2e 76 69 65 77 65 72 20 3d 20 6f 6c 64 56 69 65 77 | .........result.viewer.=.oldView |
1a51c0 | 65 72 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 46 6f 72 20 61 6c 6c 20 74 68 65 20 6e 6f | er;............//.For.all.the.no |
1a51e0 | 64 65 73 20 77 65 27 76 65 20 66 6f 75 6e 64 2c 20 68 69 67 68 6c 69 67 68 74 20 74 68 65 20 63 | des.we've.found,.highlight.the.c |
1a5200 | 6f 72 72 65 73 70 6f 6e 64 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 69 6e 64 65 78 20 | orresponding...........//.index. |
1a5220 | 69 6e 20 74 68 65 20 74 72 65 65 2e 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 72 65 73 75 6c | in.the.tree............var.resul |
1a5240 | 74 76 69 65 77 20 3d 20 74 68 69 73 2e 67 65 74 52 65 73 75 6c 74 56 69 65 77 28 29 3b 0a 20 20 | tview.=.this.getResultView();... |
1a5260 | 20 20 20 20 20 20 20 20 76 61 72 20 73 65 6c 65 63 74 69 6f 6e 20 3d 20 74 68 69 73 2e 76 69 65 | ........var.selection.=.this.vie |
1a5280 | 77 2e 73 65 6c 65 63 74 69 6f 6e 3b 0a 20 20 20 20 20 20 20 20 20 20 73 65 6c 65 63 74 69 6f 6e | w.selection;...........selection |
1a52a0 | 2e 73 65 6c 65 63 74 45 76 65 6e 74 73 53 75 70 70 72 65 73 73 65 64 20 3d 20 74 72 75 65 3b 0a | .selectEventsSuppressed.=.true;. |
1a52c0 | 20 20 20 20 20 20 20 20 20 20 73 65 6c 65 63 74 69 6f 6e 2e 63 6c 65 61 72 53 65 6c 65 63 74 69 | ..........selection.clearSelecti |
1a52e0 | 6f 6e 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 4f 70 65 6e 20 6e 6f 64 65 73 20 63 6f | on();...........//.Open.nodes.co |
1a5300 | 6e 74 61 69 6e 69 6e 67 20 66 6f 75 6e 64 20 69 74 65 6d 73 0a 20 20 20 20 20 20 20 20 20 20 66 | ntaining.found.items...........f |
1a5320 | 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 6e 6f 64 65 73 54 6f 4f 70 65 6e 2e 6c | or.(var.i.=.0;.i.<.nodesToOpen.l |
1a5340 | 65 6e 67 74 68 3b 20 69 2b 2b 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 6e 6f 64 65 73 54 | ength;.i++).{.............nodesT |
1a5360 | 6f 4f 70 65 6e 5b 69 5d 2e 63 6f 6e 74 61 69 6e 65 72 4f 70 65 6e 20 3d 20 74 72 75 65 3b 0a 20 | oOpen[i].containerOpen.=.true;.. |
1a5380 | 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 | .........}...........for.(var.i. |
1a53a0 | 3d 20 30 3b 20 69 20 3c 20 6e 6f 64 65 73 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 20 7b 0a 20 20 | =.0;.i.<.nodes.length;.i++).{... |
1a53c0 | 20 20 20 20 20 20 20 20 20 20 76 61 72 20 69 6e 64 65 78 20 3d 20 72 65 73 75 6c 74 76 69 65 77 | ..........var.index.=.resultview |
1a53e0 | 2e 74 72 65 65 49 6e 64 65 78 46 6f 72 4e 6f 64 65 28 6e 6f 64 65 73 5b 69 5d 29 3b 0a 20 20 20 | .treeIndexForNode(nodes[i]);.... |
1a5400 | 20 20 20 20 20 20 20 20 20 73 65 6c 65 63 74 69 6f 6e 2e 72 61 6e 67 65 64 53 65 6c 65 63 74 28 | .........selection.rangedSelect( |
1a5420 | 69 6e 64 65 78 2c 20 69 6e 64 65 78 2c 20 74 72 75 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 7d | index,.index,.true);...........} |
1a5440 | 0a 20 20 20 20 20 20 20 20 20 20 73 65 6c 65 63 74 69 6f 6e 2e 73 65 6c 65 63 74 45 76 65 6e 74 | ...........selection.selectEvent |
1a5460 | 73 53 75 70 70 72 65 73 73 65 64 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 20 20 20 5d 5d 3e | sSuppressed.=.false;.........]]> |
1a5480 | 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 3c | </body>.......</method>........< |
1a54a0 | 21 2d 2d 20 6e 73 44 72 61 67 41 6e 64 44 72 6f 70 20 2d 2d 3e 0a 20 20 20 20 20 20 3c 6d 65 74 | !--.nsDragAndDrop.-->.......<met |
1a54c0 | 68 6f 64 20 6e 61 6d 65 3d 22 6f 6e 44 72 61 67 53 74 61 72 74 22 3e 0a 20 20 20 20 20 20 20 20 | hod.name="onDragStart">......... |
1a54e0 | 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 45 76 65 6e 74 22 2f 3e 0a 20 20 20 20 20 | <parameter.name="aEvent"/>...... |
1a5500 | 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 58 66 65 72 44 61 74 61 22 2f 3e | ...<parameter.name="aXferData"/> |
1a5520 | 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 44 72 61 67 41 | .........<parameter.name="aDragA |
1a5540 | 63 74 69 6f 6e 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 3c 21 5b 43 44 41 54 41 5b | ction"/>.........<body><![CDATA[ |
1a5560 | 20 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 6e 6f 64 65 73 20 3d 20 74 68 69 73 2e 67 65 74 | ............var.nodes.=.this.get |
1a5580 | 53 65 6c 65 63 74 69 6f 6e 4e 6f 64 65 73 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 66 6f 72 20 | SelectionNodes();...........for. |
1a55a0 | 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 6e 6f 64 65 73 2e 6c 65 6e 67 74 68 3b 20 2b 2b | (var.i.=.0;.i.<.nodes.length;.++ |
1a55c0 | 69 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 6e 6f 64 65 20 3d 20 6e 6f 64 65 | i).{.............var.node.=.node |
1a55e0 | 73 5b 69 5d 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 44 69 73 61 6c 6c 6f 77 20 64 | s[i];..............//.Disallow.d |
1a5600 | 72 61 67 67 69 6e 67 20 74 68 65 20 72 6f 6f 74 20 6e 6f 64 65 20 6f 66 20 61 20 74 72 65 65 0a | ragging.the.root.node.of.a.tree. |
1a5620 | 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 70 61 72 65 6e 74 20 3d 20 6e 6f 64 65 2e 70 61 | ............var.parent.=.node.pa |
1a5640 | 72 65 6e 74 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 70 61 72 65 6e 74 29 0a 20 | rent;.............if.(!parent).. |
1a5660 | 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 | .............return;............ |
1a5680 | 20 20 2f 2f 20 49 66 20 74 68 69 73 20 6e 6f 64 65 20 69 73 20 63 68 69 6c 64 20 6f 66 20 61 20 | ..//.If.this.node.is.child.of.a. |
1a56a0 | 72 65 61 64 6f 6e 6c 79 20 63 6f 6e 74 61 69 6e 65 72 20 28 65 2e 67 2e 20 61 20 6c 69 76 65 6d | readonly.container.(e.g..a.livem |
1a56c0 | 61 72 6b 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 6f 72 20 63 61 6e 6e 6f 74 20 62 65 | ark).............//.or.cannot.be |
1a56e0 | 20 6d 6f 76 65 64 2c 20 77 65 20 6d 75 73 74 20 66 6f 72 63 65 20 61 20 63 6f 70 79 2e 0a 20 20 | .moved,.we.must.force.a.copy.... |
1a5700 | 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 50 6c 61 63 65 73 43 6f 6e 74 72 6f 6c 6c 65 72 44 | ..........if.(!PlacesControllerD |
1a5720 | 72 61 67 48 65 6c 70 65 72 2e 63 61 6e 4d 6f 76 65 4e 6f 64 65 28 6e 6f 64 65 29 29 20 7b 0a 20 | ragHelper.canMoveNode(node)).{.. |
1a5740 | 20 20 20 20 20 20 20 20 20 20 20 20 20 61 45 76 65 6e 74 2e 64 61 74 61 54 72 61 6e 73 66 65 72 | .............aEvent.dataTransfer |
1a5760 | 2e 65 66 66 65 63 74 41 6c 6c 6f 77 65 64 20 3d 20 22 63 6f 70 79 4c 69 6e 6b 22 3b 0a 20 20 20 | .effectAllowed.=."copyLink";.... |
1a5780 | 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a | ...........break;.............}. |
1a57a0 | 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 53 74 75 66 66 20 | ..........}............//.Stuff. |
1a57c0 | 74 68 65 20 65 6e 63 6f 64 65 64 20 73 65 6c 65 63 74 69 6f 6e 20 69 6e 74 6f 20 74 68 65 20 74 | the.encoded.selection.into.the.t |
1a57e0 | 72 61 6e 73 66 65 72 61 62 6c 65 20 64 61 74 61 20 6f 62 6a 65 63 74 0a 20 20 20 20 20 20 20 20 | ransferable.data.object......... |
1a5800 | 20 20 74 68 69 73 2e 5f 63 6f 6e 74 72 6f 6c 6c 65 72 2e 73 65 74 44 61 74 61 54 72 61 6e 73 66 | ..this._controller.setDataTransf |
1a5820 | 65 72 28 61 45 76 65 6e 74 29 3b 0a 20 20 20 20 20 20 20 20 5d 5d 3e 3c 2f 62 6f 64 79 3e 0a 20 | er(aEvent);.........]]></body>.. |
1a5840 | 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 20 20 20 20 20 20 0a 20 20 20 20 20 20 3c 21 2d 2d | .....</method>..............<!-- |
1a5860 | 20 6e 73 44 72 61 67 41 6e 64 44 72 6f 70 20 2d 2d 3e 0a 20 20 20 20 20 20 3c 6d 65 74 68 6f 64 | .nsDragAndDrop.-->.......<method |
1a5880 | 20 6e 61 6d 65 3d 22 63 61 6e 44 72 6f 70 22 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 | .name="canDrop">.........<parame |
1a58a0 | 74 65 72 20 6e 61 6d 65 3d 22 61 45 76 65 6e 74 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 | ter.name="aEvent"/>.........<par |
1a58c0 | 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 44 72 61 67 53 65 73 73 69 6f 6e 22 2f 3e 0a 20 20 20 | ameter.name="aDragSession"/>.... |
1a58e0 | 20 20 20 20 20 3c 62 6f 64 79 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 2f | .....<body><![CDATA[.........../ |
1a5900 | 2f 20 43 61 63 68 65 20 74 68 65 20 64 61 74 61 54 72 61 6e 73 66 65 72 20 66 6f 72 20 74 68 65 | /.Cache.the.dataTransfer.for.the |
1a5920 | 20 76 69 65 77 0a 20 20 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 43 6f 6e 74 72 6f 6c 6c 65 72 | .view...........PlacesController |
1a5940 | 44 72 61 67 48 65 6c 70 65 72 2e 63 75 72 72 65 6e 74 44 61 74 61 54 72 61 6e 73 66 65 72 20 3d | DragHelper.currentDataTransfer.= |
1a5960 | 20 61 45 76 65 6e 74 2e 64 61 74 61 54 72 61 6e 73 66 65 72 3b 0a 0a 20 20 20 20 20 20 20 20 20 | .aEvent.dataTransfer;........... |
1a5980 | 20 76 61 72 20 72 6f 77 20 3d 20 7b 20 7d 2c 20 63 6f 6c 20 3d 20 7b 20 7d 2c 20 63 68 69 6c 64 | .var.row.=.{.},.col.=.{.},.child |
1a59a0 | 20 3d 20 7b 20 7d 3b 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 74 72 65 65 42 6f 78 4f 62 | .=.{.};...........this.treeBoxOb |
1a59c0 | 6a 65 63 74 2e 67 65 74 43 65 6c 6c 41 74 28 61 45 76 65 6e 74 2e 63 6c 69 65 6e 74 58 2c 20 61 | ject.getCellAt(aEvent.clientX,.a |
1a59e0 | 45 76 65 6e 74 2e 63 6c 69 65 6e 74 59 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | Event.clientY,.................. |
1a5a00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 6f 77 2c 20 63 6f 6c 2c 20 | ......................row,.col,. |
1a5a20 | 63 68 69 6c 64 29 3b 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 6e 6f 64 65 20 3d 20 72 6f 77 | child);...........var.node.=.row |
1a5a40 | 2e 76 61 6c 75 65 20 21 3d 20 2d 31 20 3f 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .value.!=.-1.?.................. |
1a5a60 | 20 20 20 20 74 68 69 73 2e 67 65 74 52 65 73 75 6c 74 56 69 65 77 28 29 2e 6e 6f 64 65 46 6f 72 | ....this.getResultView().nodeFor |
1a5a80 | 54 72 65 65 49 6e 64 65 78 28 72 6f 77 2e 76 61 6c 75 65 29 20 3a 0a 20 20 20 20 20 20 20 20 20 | TreeIndex(row.value).:.......... |
1a5aa0 | 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 67 65 74 52 65 73 75 6c 74 4e 6f 64 65 28 29 | ............this.getResultNode() |
1a5ac0 | 3b 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 63 61 63 68 65 20 74 68 65 20 64 72 6f 70 54 61 72 | ;...........//.cache.the.dropTar |
1a5ae0 | 67 65 74 20 66 6f 72 20 74 68 65 20 76 69 65 77 0a 20 20 20 20 20 20 20 20 20 20 50 6c 61 63 65 | get.for.the.view...........Place |
1a5b00 | 73 43 6f 6e 74 72 6f 6c 6c 65 72 44 72 61 67 48 65 6c 70 65 72 2e 63 75 72 72 65 6e 74 44 72 6f | sControllerDragHelper.currentDro |
1a5b20 | 70 54 61 72 67 65 74 20 3d 20 6e 6f 64 65 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 57 65 | pTarget.=.node;............//.We |
1a5b40 | 20 68 61 76 65 20 74 6f 20 63 61 6c 63 75 6c 61 74 65 20 74 68 65 20 6f 72 69 65 6e 74 61 74 69 | .have.to.calculate.the.orientati |
1a5b60 | 6f 6e 20 73 69 6e 63 65 20 76 69 65 77 2e 63 61 6e 44 72 6f 70 20 77 69 6c 6c 20 75 73 65 0a 20 | on.since.view.canDrop.will.use.. |
1a5b80 | 20 20 20 20 20 20 20 20 20 2f 2f 20 69 74 20 61 6e 64 20 77 65 20 77 61 6e 74 20 74 6f 20 62 65 | .........//.it.and.we.want.to.be |
1a5ba0 | 20 63 6f 6e 73 69 73 74 65 6e 74 20 77 69 74 68 20 74 68 65 20 64 72 6f 70 66 65 65 64 62 61 63 | .consistent.with.the.dropfeedbac |
1a5bc0 | 6b 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 74 62 6f 20 3d 20 74 68 69 73 2e 74 72 65 65 42 | k...........var.tbo.=.this.treeB |
1a5be0 | 6f 78 4f 62 6a 65 63 74 3b 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 72 6f 77 48 65 69 67 68 | oxObject;...........var.rowHeigh |
1a5c00 | 74 20 3d 20 74 62 6f 2e 72 6f 77 48 65 69 67 68 74 3b 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 | t.=.tbo.rowHeight;...........var |
1a5c20 | 20 65 76 65 6e 74 59 20 3d 20 61 45 76 65 6e 74 2e 63 6c 69 65 6e 74 59 20 2d 20 74 62 6f 2e 74 | .eventY.=.aEvent.clientY.-.tbo.t |
1a5c40 | 72 65 65 42 6f 64 79 2e 62 6f 78 4f 62 6a 65 63 74 2e 79 20 2d 0a 20 20 20 20 20 20 20 20 20 20 | reeBody.boxObject.y.-........... |
1a5c60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 72 6f 77 48 65 69 67 68 74 20 2a 20 28 72 6f 77 2e 76 61 | .............rowHeight.*.(row.va |
1a5c80 | 6c 75 65 20 2d 20 74 62 6f 2e 67 65 74 46 69 72 73 74 56 69 73 69 62 6c 65 52 6f 77 28 29 29 3b | lue.-.tbo.getFirstVisibleRow()); |
1a5ca0 | 0a 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 6f 72 69 65 6e 74 61 74 69 6f 6e 20 3d 20 43 69 | ............var.orientation.=.Ci |
1a5cc0 | 2e 6e 73 49 54 72 65 65 56 69 65 77 2e 44 52 4f 50 5f 42 45 46 4f 52 45 3b 0a 0a 20 20 20 20 20 | .nsITreeView.DROP_BEFORE;....... |
1a5ce0 | 20 20 20 20 20 69 66 20 28 72 6f 77 2e 76 61 6c 75 65 20 3d 3d 20 2d 31 29 20 7b 0a 20 20 20 20 | .....if.(row.value.==.-1).{..... |
1a5d00 | 20 20 20 20 20 20 20 20 2f 2f 20 49 66 20 74 68 65 20 72 6f 77 20 69 73 20 6e 6f 74 20 76 61 6c | ........//.If.the.row.is.not.val |
1a5d20 | 69 64 20 77 65 20 74 72 79 20 74 6f 20 69 6e 73 65 72 74 20 69 6e 73 69 64 65 20 74 68 65 20 72 | id.we.try.to.insert.inside.the.r |
1a5d40 | 65 73 75 6c 74 4e 6f 64 65 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 6f 72 69 65 6e 74 61 74 69 | esultNode..............orientati |
1a5d60 | 6f 6e 20 3d 20 43 69 2e 6e 73 49 54 72 65 65 56 69 65 77 2e 44 52 4f 50 5f 4f 4e 3b 0a 20 20 20 | on.=.Ci.nsITreeView.DROP_ON;.... |
1a5d80 | 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 20 69 66 20 28 50 6c 61 63 | .......}...........else.if.(Plac |
1a5da0 | 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 43 6f 6e 74 61 69 6e 65 72 28 6e 6f 64 65 29 20 26 26 | esUtils.nodeIsContainer(node).&& |
1a5dc0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 76 65 6e 74 59 20 3e 20 72 6f 77 | ....................eventY.>.row |
1a5de0 | 48 65 69 67 68 74 20 2a 20 30 2e 37 35 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 | Height.*.0.75).{.............//. |
1a5e00 | 49 66 20 77 65 20 61 72 65 20 62 65 6c 6f 77 20 74 68 65 20 37 35 25 20 6f 66 20 61 20 63 6f 6e | If.we.are.below.the.75%.of.a.con |
1a5e20 | 74 61 69 6e 65 72 20 74 68 65 20 74 72 65 65 76 69 65 77 20 77 65 20 74 72 79 0a 20 20 20 20 20 | tainer.the.treeview.we.try...... |
1a5e40 | 20 20 20 20 20 20 20 2f 2f 20 74 6f 20 64 72 6f 70 20 61 66 74 65 72 20 74 68 65 20 6e 6f 64 65 | .......//.to.drop.after.the.node |
1a5e60 | 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 6f 72 69 65 6e 74 61 74 69 6f 6e 20 3d 20 43 69 2e 6e | ..............orientation.=.Ci.n |
1a5e80 | 73 49 54 72 65 65 56 69 65 77 2e 44 52 4f 50 5f 41 46 54 45 52 3b 0a 20 20 20 20 20 20 20 20 20 | sITreeView.DROP_AFTER;.......... |
1a5ea0 | 20 7d 0a 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 20 69 66 20 28 50 6c 61 63 65 73 55 74 69 6c | .}...........else.if.(PlacesUtil |
1a5ec0 | 73 2e 6e 6f 64 65 49 73 43 6f 6e 74 61 69 6e 65 72 28 6e 6f 64 65 29 20 26 26 0a 20 20 20 20 20 | s.nodeIsContainer(node).&&...... |
1a5ee0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 76 65 6e 74 59 20 3e 20 72 6f 77 48 65 69 67 68 74 | ..............eventY.>.rowHeight |
1a5f00 | 20 2a 20 30 2e 32 35 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 49 66 20 77 65 20 | .*.0.25).{.............//.If.we. |
1a5f20 | 61 72 65 20 62 65 6c 6f 77 20 74 68 65 20 32 35 25 20 6f 66 20 61 20 63 6f 6e 74 61 69 6e 65 72 | are.below.the.25%.of.a.container |
1a5f40 | 20 74 68 65 20 74 72 65 65 76 69 65 77 20 77 65 20 74 72 79 0a 20 20 20 20 20 20 20 20 20 20 20 | .the.treeview.we.try............ |
1a5f60 | 20 2f 2f 20 74 6f 20 64 72 6f 70 20 69 6e 73 69 64 65 20 74 68 65 20 6e 6f 64 65 2e 0a 20 20 20 | .//.to.drop.inside.the.node..... |
1a5f80 | 20 20 20 20 20 20 20 20 20 6f 72 69 65 6e 74 61 74 69 6f 6e 20 3d 20 43 69 2e 6e 73 49 54 72 65 | .........orientation.=.Ci.nsITre |
1a5fa0 | 65 56 69 65 77 2e 44 52 4f 50 5f 4f 4e 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 | eView.DROP_ON;...........}...... |
1a5fc0 | 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 76 69 65 77 2e 63 61 6e 44 72 6f 70 28 72 | ......return.this.view.canDrop(r |
1a5fe0 | 6f 77 2e 76 61 6c 75 65 2c 20 6f 72 69 65 6e 74 61 74 69 6f 6e 29 3b 0a 20 20 20 20 20 20 20 20 | ow.value,.orientation);......... |
1a6000 | 5d 5d 3e 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 20 20 20 20 20 | ]]></body>.......</method>...... |
1a6020 | 20 0a 20 20 20 20 20 20 3c 21 2d 2d 20 6e 73 44 72 61 67 41 6e 64 44 72 6f 70 20 2d 2d 3e 0a 20 | ........<!--.nsDragAndDrop.-->.. |
1a6040 | 20 20 20 20 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 6f 6e 44 72 61 67 4f 76 65 72 22 3e 0a | .....<method.name="onDragOver">. |
1a6060 | 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 45 76 65 6e 74 22 | ........<parameter.name="aEvent" |
1a6080 | 2f 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 46 6c 61 | />.........<parameter.name="aFla |
1a60a0 | 76 6f 75 72 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d | vour"/>.........<parameter.name= |
1a60c0 | 22 61 44 72 61 67 53 65 73 73 69 6f 6e 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 3c | "aDragSession"/>.........<body>< |
1a60e0 | 21 5b 43 44 41 54 41 5b 20 20 20 20 20 20 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 74 68 | ![CDATA[.................if.(!th |
1a6100 | 69 73 2e 63 61 6e 44 72 6f 70 28 61 45 76 65 6e 74 2c 20 61 44 72 61 67 53 65 73 73 69 6f 6e 29 | is.canDrop(aEvent,.aDragSession) |
1a6120 | 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 61 45 76 65 6e 74 2e 64 61 74 61 54 72 61 6e 73 66 65 | ).............aEvent.dataTransfe |
1a6140 | 72 2e 65 66 66 65 63 74 41 6c 6c 6f 77 65 64 20 3d 20 22 6e 6f 6e 65 22 3b 0a 20 20 20 20 20 20 | r.effectAllowed.=."none";....... |
1a6160 | 20 20 5d 5d 3e 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 | ..]]></body>.......</method>.... |
1a6180 | 20 20 20 20 3c 21 2d 2d 20 6e 73 44 72 61 67 41 6e 64 44 72 6f 70 20 2d 2d 3e 0a 20 20 20 20 20 | ....<!--.nsDragAndDrop.-->...... |
1a61a0 | 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 67 65 74 53 75 70 70 6f 72 74 65 64 46 6c 61 76 6f | .<method.name="getSupportedFlavo |
1a61c0 | 75 72 73 22 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 | urs">.........<body><![CDATA[... |
1a61e0 | 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 50 6c 61 63 65 73 43 6f 6e 74 72 6f 6c 6c 65 72 44 | ........return.PlacesControllerD |
1a6200 | 72 61 67 48 65 6c 70 65 72 2e 66 6c 61 76 6f 75 72 53 65 74 3b 0a 20 20 20 20 20 20 20 20 5d 5d | ragHelper.flavourSet;.........]] |
1a6220 | 3e 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 20 | ></body>.......</method>........ |
1a6240 | 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 62 75 69 6c 64 43 6f 6e 74 65 78 74 4d 65 6e 75 22 3e | <method.name="buildContextMenu"> |
1a6260 | 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 50 6f 70 75 70 | .........<parameter.name="aPopup |
1a6280 | 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 | "/>.........<body><![CDATA[..... |
1a62a0 | 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 63 6f 6e 74 72 6f 6c 6c 65 72 2e 62 75 69 | ......return.this.controller.bui |
1a62c0 | 6c 64 43 6f 6e 74 65 78 74 4d 65 6e 75 28 61 50 6f 70 75 70 29 3b 0a 20 20 20 20 20 20 20 20 5d | ldContextMenu(aPopup);.........] |
1a62e0 | 5d 3e 3c 2f 62 6f 64 79 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 74 68 6f 64 3e 0a 0a 20 20 20 20 20 | ]></body>.......</method>....... |
1a6300 | 20 3c 6d 65 74 68 6f 64 20 6e 61 6d 65 3d 22 64 65 73 74 72 6f 79 43 6f 6e 74 65 78 74 4d 65 6e | .<method.name="destroyContextMen |
1a6320 | 75 22 3e 0a 20 20 20 20 20 20 20 20 3c 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 3d 22 61 50 6f | u">.........<parameter.name="aPo |
1a6340 | 70 75 70 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 62 6f 64 79 2f 3e 0a 20 20 20 20 20 20 3c 2f 6d | pup"/>.........<body/>.......</m |
1a6360 | 65 74 68 6f 64 3e 0a 20 20 20 20 3c 2f 69 6d 70 6c 65 6d 65 6e 74 61 74 69 6f 6e 3e 0a 20 20 20 | ethod>.....</implementation>.... |
1a6380 | 20 3c 68 61 6e 64 6c 65 72 73 3e 0a 20 20 20 20 20 20 3c 68 61 6e 64 6c 65 72 20 65 76 65 6e 74 | .<handlers>.......<handler.event |
1a63a0 | 3d 22 66 6f 63 75 73 22 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e | ="focus"><![CDATA[.........this. |
1a63c0 | 5f 63 61 63 68 65 64 49 6e 73 65 72 74 69 6f 6e 50 6f 69 6e 74 20 3d 20 75 6e 64 65 66 69 6e 65 | _cachedInsertionPoint.=.undefine |
1a63e0 | 64 3b 0a 0a 20 20 20 20 20 20 20 20 2f 2f 20 53 65 65 20 73 65 6c 65 63 74 20 68 61 6e 64 6c 65 | d;..........//.See.select.handle |
1a6400 | 72 2e 20 57 65 20 6e 65 65 64 20 74 68 65 20 73 69 64 65 62 61 72 27 73 20 70 6c 61 63 65 73 20 | r..We.need.the.sidebar's.places. |
1a6420 | 63 6f 6d 6d 61 6e 64 73 65 74 20 74 6f 20 62 65 0a 20 20 20 20 20 20 20 20 2f 2f 20 75 70 64 61 | commandset.to.be.........//.upda |
1a6440 | 74 65 64 20 61 73 20 77 65 6c 6c 0a 20 20 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 63 6f 6d | ted.as.well.........document.com |
1a6460 | 6d 61 6e 64 44 69 73 70 61 74 63 68 65 72 2e 75 70 64 61 74 65 43 6f 6d 6d 61 6e 64 73 28 22 66 | mandDispatcher.updateCommands("f |
1a6480 | 6f 63 75 73 22 29 3b 0a 20 20 20 20 20 20 5d 5d 3e 3c 2f 68 61 6e 64 6c 65 72 3e 0a 20 20 20 20 | ocus");.......]]></handler>..... |
1a64a0 | 20 20 3c 68 61 6e 64 6c 65 72 20 65 76 65 6e 74 3d 22 73 65 6c 65 63 74 22 3e 3c 21 5b 43 44 41 | ..<handler.event="select"><![CDA |
1a64c0 | 54 41 5b 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 63 61 63 68 65 64 49 6e 73 65 72 74 69 6f | TA[.........this._cachedInsertio |
1a64e0 | 6e 50 6f 69 6e 74 20 3d 20 75 6e 64 65 66 69 6e 65 64 3b 0a 0a 20 20 20 20 20 20 20 20 2f 2f 20 | nPoint.=.undefined;..........//. |
1a6500 | 54 68 69 73 20 61 64 64 69 74 69 6f 6e 61 6c 20 63 6f 6d 70 6c 65 78 69 74 79 20 69 73 20 68 65 | This.additional.complexity.is.he |
1a6520 | 72 65 20 66 6f 72 20 74 68 65 20 73 69 64 65 62 61 72 73 0a 20 20 20 20 20 20 20 20 76 61 72 20 | re.for.the.sidebars.........var. |
1a6540 | 77 69 6e 20 3d 20 77 69 6e 64 6f 77 3b 0a 20 20 20 20 20 20 20 20 77 68 69 6c 65 20 28 74 72 75 | win.=.window;.........while.(tru |
1a6560 | 65 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 77 69 6e 2e 64 6f 63 75 6d 65 6e 74 2e 63 6f 6d 6d | e).{...........win.document.comm |
1a6580 | 61 6e 64 44 69 73 70 61 74 63 68 65 72 2e 75 70 64 61 74 65 43 6f 6d 6d 61 6e 64 73 28 22 66 6f | andDispatcher.updateCommands("fo |
1a65a0 | 63 75 73 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 77 69 6e 20 3d 3d 20 77 69 6e 64 | cus");...........if.(win.==.wind |
1a65c0 | 6f 77 2e 74 6f 70 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 0a 20 20 20 20 | ow.top).............break;...... |
1a65e0 | 20 20 20 20 20 20 77 69 6e 20 3d 20 77 69 6e 2e 70 61 72 65 6e 74 3b 0a 20 20 20 20 20 20 20 20 | ......win.=.win.parent;......... |
1a6600 | 7d 0a 20 20 20 20 20 20 5d 5d 3e 3c 2f 68 61 6e 64 6c 65 72 3e 0a 20 20 20 20 20 20 3c 68 61 6e | }.......]]></handler>.......<han |
1a6620 | 64 6c 65 72 20 65 76 65 6e 74 3d 22 64 72 61 67 67 65 73 74 75 72 65 22 3e 3c 21 5b 43 44 41 54 | dler.event="draggesture"><![CDAT |
1a6640 | 41 5b 0a 20 20 20 20 20 20 20 20 69 66 20 28 65 76 65 6e 74 2e 74 61 72 67 65 74 2e 6c 6f 63 61 | A[.........if.(event.target.loca |
1a6660 | 6c 4e 61 6d 65 20 3d 3d 20 22 74 72 65 65 63 68 69 6c 64 72 65 6e 22 29 0a 20 20 20 20 20 20 20 | lName.==."treechildren")........ |
1a6680 | 20 20 20 6e 73 44 72 61 67 41 6e 64 44 72 6f 70 2e 73 74 61 72 74 44 72 61 67 28 65 76 65 6e 74 | ...nsDragAndDrop.startDrag(event |
1a66a0 | 2c 20 74 68 69 73 29 3b 0a 20 20 20 20 20 20 5d 5d 3e 3c 2f 68 61 6e 64 6c 65 72 3e 0a 20 20 20 | ,.this);.......]]></handler>.... |
1a66c0 | 20 20 20 3c 68 61 6e 64 6c 65 72 20 65 76 65 6e 74 3d 22 64 72 61 67 6f 76 65 72 22 3e 3c 21 5b | ...<handler.event="dragover"><![ |
1a66e0 | 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 69 66 20 28 65 76 65 6e 74 2e 74 61 72 67 65 74 2e | CDATA[.........if.(event.target. |
1a6700 | 6c 6f 63 61 6c 4e 61 6d 65 20 3d 3d 20 22 74 72 65 65 63 68 69 6c 64 72 65 6e 22 29 0a 20 20 20 | localName.==."treechildren").... |
1a6720 | 20 20 20 20 20 20 20 6e 73 44 72 61 67 41 6e 64 44 72 6f 70 2e 64 72 61 67 4f 76 65 72 28 65 76 | .......nsDragAndDrop.dragOver(ev |
1a6740 | 65 6e 74 2c 20 74 68 69 73 29 3b 0a 20 20 20 20 20 20 5d 5d 3e 3c 2f 68 61 6e 64 6c 65 72 3e 0a | ent,.this);.......]]></handler>. |
1a6760 | 20 20 20 20 20 20 3c 68 61 6e 64 6c 65 72 20 65 76 65 6e 74 3d 22 64 72 6f 70 22 3e 3c 21 5b 43 | ......<handler.event="drop"><![C |
1a6780 | 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 43 6f 6e 74 72 6f 6c 6c 65 72 | DATA[...........PlacesController |
1a67a0 | 44 72 61 67 48 65 6c 70 65 72 2e 63 75 72 72 65 6e 74 44 61 74 61 54 72 61 6e 73 66 65 72 20 3d | DragHelper.currentDataTransfer.= |
1a67c0 | 20 65 76 65 6e 74 2e 64 61 74 61 54 72 61 6e 73 66 65 72 3b 0a 20 20 20 20 20 20 5d 5d 3e 3c 2f | .event.dataTransfer;.......]]></ |
1a67e0 | 68 61 6e 64 6c 65 72 3e 0a 20 20 20 20 20 20 3c 68 61 6e 64 6c 65 72 20 65 76 65 6e 74 3d 22 64 | handler>.......<handler.event="d |
1a6800 | 72 61 67 65 78 69 74 22 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 20 20 50 6c 61 63 65 | ragexit"><![CDATA[.........Place |
1a6820 | 73 43 6f 6e 74 72 6f 6c 6c 65 72 44 72 61 67 48 65 6c 70 65 72 2e 63 75 72 72 65 6e 74 44 61 74 | sControllerDragHelper.currentDat |
1a6840 | 61 54 72 61 6e 73 66 65 72 20 3d 20 6e 75 6c 6c 3b 0a 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 | aTransfer.=.null;.........Places |
1a6860 | 43 6f 6e 74 72 6f 6c 6c 65 72 44 72 61 67 48 65 6c 70 65 72 2e 63 75 72 72 65 6e 74 44 72 6f 70 | ControllerDragHelper.currentDrop |
1a6880 | 54 61 72 67 65 74 20 3d 20 6e 75 6c 6c 3b 0a 20 20 20 20 20 20 5d 5d 3e 3c 2f 68 61 6e 64 6c 65 | Target.=.null;.......]]></handle |
1a68a0 | 72 3e 0a 20 20 20 20 3c 2f 68 61 6e 64 6c 65 72 73 3e 0a 20 20 3c 2f 62 69 6e 64 69 6e 67 3e 0a | r>.....</handlers>...</binding>. |
1a68c0 | 0a 3c 2f 62 69 6e 64 69 6e 67 73 3e 0a 0a 50 4b 03 04 14 00 00 00 00 00 f6 4b 18 3b 37 69 60 55 | .</bindings>..PK.........K.;7i`U |
1a68e0 | e8 c0 00 00 e8 c0 00 00 1f 00 00 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 6c 61 63 | ............content/browser/plac |
1a6900 | 65 73 2f 75 74 69 6c 73 2e 6a 73 2f 2a 20 2d 2a 2d 20 4d 6f 64 65 3a 20 43 2b 2b 3b 20 74 61 62 | es/utils.js/*.-*-.Mode:.C++;.tab |
1a6920 | 2d 77 69 64 74 68 3a 20 38 3b 20 69 6e 64 65 6e 74 2d 74 61 62 73 2d 6d 6f 64 65 3a 20 6e 69 6c | -width:.8;.indent-tabs-mode:.nil |
1a6940 | 3b 20 63 2d 62 61 73 69 63 2d 6f 66 66 73 65 74 3a 20 32 20 2d 2a 2d 20 2a 2f 0a 2f 2a 20 2a 2a | ;.c-basic-offset:.2.-*-.*/./*.** |
1a6960 | 2a 2a 2a 20 42 45 47 49 4e 20 4c 49 43 45 4e 53 45 20 42 4c 4f 43 4b 20 2a 2a 2a 2a 2a 0a 20 2a | ***.BEGIN.LICENSE.BLOCK.*****..* |
1a6980 | 20 56 65 72 73 69 6f 6e 3a 20 4d 50 4c 20 31 2e 31 2f 47 50 4c 20 32 2e 30 2f 4c 47 50 4c 20 32 | .Version:.MPL.1.1/GPL.2.0/LGPL.2 |
1a69a0 | 2e 31 0a 20 2a 0a 20 2a 20 54 68 65 20 63 6f 6e 74 65 6e 74 73 20 6f 66 20 74 68 69 73 20 66 69 | .1..*..*.The.contents.of.this.fi |
1a69c0 | 6c 65 20 61 72 65 20 73 75 62 6a 65 63 74 20 74 6f 20 74 68 65 20 4d 6f 7a 69 6c 6c 61 20 50 75 | le.are.subject.to.the.Mozilla.Pu |
1a69e0 | 62 6c 69 63 20 4c 69 63 65 6e 73 65 20 56 65 72 73 69 6f 6e 0a 20 2a 20 31 2e 31 20 28 74 68 65 | blic.License.Version..*.1.1.(the |
1a6a00 | 20 22 4c 69 63 65 6e 73 65 22 29 3b 20 79 6f 75 20 6d 61 79 20 6e 6f 74 20 75 73 65 20 74 68 69 | ."License");.you.may.not.use.thi |
1a6a20 | 73 20 66 69 6c 65 20 65 78 63 65 70 74 20 69 6e 20 63 6f 6d 70 6c 69 61 6e 63 65 20 77 69 74 68 | s.file.except.in.compliance.with |
1a6a40 | 0a 20 2a 20 74 68 65 20 4c 69 63 65 6e 73 65 2e 20 59 6f 75 20 6d 61 79 20 6f 62 74 61 69 6e 20 | ..*.the.License..You.may.obtain. |
1a6a60 | 61 20 63 6f 70 79 20 6f 66 20 74 68 65 20 4c 69 63 65 6e 73 65 20 61 74 0a 20 2a 20 68 74 74 70 | a.copy.of.the.License.at..*.http |
1a6a80 | 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 4d 50 4c 2f 0a 20 2a 0a 20 2a 20 53 6f | ://www.mozilla.org/MPL/..*..*.So |
1a6aa0 | 66 74 77 61 72 65 20 64 69 73 74 72 69 62 75 74 65 64 20 75 6e 64 65 72 20 74 68 65 20 4c 69 63 | ftware.distributed.under.the.Lic |
1a6ac0 | 65 6e 73 65 20 69 73 20 64 69 73 74 72 69 62 75 74 65 64 20 6f 6e 20 61 6e 20 22 41 53 20 49 53 | ense.is.distributed.on.an."AS.IS |
1a6ae0 | 22 20 62 61 73 69 73 2c 0a 20 2a 20 57 49 54 48 4f 55 54 20 57 41 52 52 41 4e 54 59 20 4f 46 20 | ".basis,..*.WITHOUT.WARRANTY.OF. |
1a6b00 | 41 4e 59 20 4b 49 4e 44 2c 20 65 69 74 68 65 72 20 65 78 70 72 65 73 73 20 6f 72 20 69 6d 70 6c | ANY.KIND,.either.express.or.impl |
1a6b20 | 69 65 64 2e 20 53 65 65 20 74 68 65 20 4c 69 63 65 6e 73 65 0a 20 2a 20 66 6f 72 20 74 68 65 20 | ied..See.the.License..*.for.the. |
1a6b40 | 73 70 65 63 69 66 69 63 20 6c 61 6e 67 75 61 67 65 20 67 6f 76 65 72 6e 69 6e 67 20 72 69 67 68 | specific.language.governing.righ |
1a6b60 | 74 73 20 61 6e 64 20 6c 69 6d 69 74 61 74 69 6f 6e 73 20 75 6e 64 65 72 20 74 68 65 0a 20 2a 20 | ts.and.limitations.under.the..*. |
1a6b80 | 4c 69 63 65 6e 73 65 2e 0a 20 2a 0a 20 2a 20 54 68 65 20 4f 72 69 67 69 6e 61 6c 20 43 6f 64 65 | License...*..*.The.Original.Code |
1a6ba0 | 20 69 73 20 74 68 65 20 50 6c 61 63 65 73 20 43 6f 6d 6d 61 6e 64 20 43 6f 6e 74 72 6f 6c 6c 65 | .is.the.Places.Command.Controlle |
1a6bc0 | 72 2e 0a 20 2a 0a 20 2a 20 54 68 65 20 49 6e 69 74 69 61 6c 20 44 65 76 65 6c 6f 70 65 72 20 6f | r...*..*.The.Initial.Developer.o |
1a6be0 | 66 20 74 68 65 20 4f 72 69 67 69 6e 61 6c 20 43 6f 64 65 20 69 73 20 47 6f 6f 67 6c 65 20 49 6e | f.the.Original.Code.is.Google.In |
1a6c00 | 63 2e 0a 20 2a 20 50 6f 72 74 69 6f 6e 73 20 63 72 65 61 74 65 64 20 62 79 20 74 68 65 20 49 6e | c...*.Portions.created.by.the.In |
1a6c20 | 69 74 69 61 6c 20 44 65 76 65 6c 6f 70 65 72 20 61 72 65 20 43 6f 70 79 72 69 67 68 74 20 28 43 | itial.Developer.are.Copyright.(C |
1a6c40 | 29 20 32 30 30 35 0a 20 2a 20 74 68 65 20 49 6e 69 74 69 61 6c 20 44 65 76 65 6c 6f 70 65 72 2e | ).2005..*.the.Initial.Developer. |
1a6c60 | 20 41 6c 6c 20 52 69 67 68 74 73 20 52 65 73 65 72 76 65 64 2e 0a 20 2a 0a 20 2a 20 43 6f 6e 74 | .All.Rights.Reserved...*..*.Cont |
1a6c80 | 72 69 62 75 74 6f 72 28 73 29 3a 0a 20 2a 20 20 20 42 65 6e 20 47 6f 6f 64 67 65 72 20 3c 62 65 | ributor(s):..*...Ben.Goodger.<be |
1a6ca0 | 6e 67 40 67 6f 6f 67 6c 65 2e 63 6f 6d 3e 0a 20 2a 20 20 20 4d 79 6b 20 4d 65 6c 65 7a 20 3c 6d | ng@google.com>..*...Myk.Melez.<m |
1a6cc0 | 79 6b 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 3e 0a 20 2a 20 20 20 41 73 61 66 20 52 6f 6d 61 6e 6f | yk@mozilla.org>..*...Asaf.Romano |
1a6ce0 | 20 3c 6d 61 6e 6f 40 6d 6f 7a 69 6c 6c 61 2e 63 6f 6d 3e 0a 20 2a 20 20 20 53 75 6e 67 6a 6f 6f | .<mano@mozilla.com>..*...Sungjoo |
1a6d00 | 6e 20 53 74 65 76 65 20 57 6f 6e 20 3c 73 74 65 76 65 77 6f 6e 40 67 6d 61 69 6c 2e 63 6f 6d 3e | n.Steve.Won.<stevewon@gmail.com> |
1a6d20 | 0a 20 2a 20 20 20 44 69 65 74 72 69 63 68 20 41 79 61 6c 61 20 3c 64 69 65 74 72 69 63 68 40 6d | ..*...Dietrich.Ayala.<dietrich@m |
1a6d40 | 6f 7a 69 6c 6c 61 2e 63 6f 6d 3e 0a 20 2a 20 20 20 4d 61 72 63 6f 20 42 6f 6e 61 72 64 6f 20 3c | ozilla.com>..*...Marco.Bonardo.< |
1a6d60 | 6d 61 6b 37 37 40 62 6f 6e 61 72 64 6f 2e 6e 65 74 3e 0a 20 2a 0a 20 2a 20 41 6c 74 65 72 6e 61 | mak77@bonardo.net>..*..*.Alterna |
1a6d80 | 74 69 76 65 6c 79 2c 20 74 68 65 20 63 6f 6e 74 65 6e 74 73 20 6f 66 20 74 68 69 73 20 66 69 6c | tively,.the.contents.of.this.fil |
1a6da0 | 65 20 6d 61 79 20 62 65 20 75 73 65 64 20 75 6e 64 65 72 20 74 68 65 20 74 65 72 6d 73 20 6f 66 | e.may.be.used.under.the.terms.of |
1a6dc0 | 0a 20 2a 20 65 69 74 68 65 72 20 74 68 65 20 47 4e 55 20 47 65 6e 65 72 61 6c 20 50 75 62 6c 69 | ..*.either.the.GNU.General.Publi |
1a6de0 | 63 20 4c 69 63 65 6e 73 65 20 56 65 72 73 69 6f 6e 20 32 20 6f 72 20 6c 61 74 65 72 20 28 74 68 | c.License.Version.2.or.later.(th |
1a6e00 | 65 20 22 47 50 4c 22 29 2c 20 6f 72 0a 20 2a 20 74 68 65 20 47 4e 55 20 4c 65 73 73 65 72 20 47 | e."GPL"),.or..*.the.GNU.Lesser.G |
1a6e20 | 65 6e 65 72 61 6c 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 20 56 65 72 73 69 6f 6e 20 32 2e | eneral.Public.License.Version.2. |
1a6e40 | 31 20 6f 72 20 6c 61 74 65 72 20 28 74 68 65 20 22 4c 47 50 4c 22 29 2c 0a 20 2a 20 69 6e 20 77 | 1.or.later.(the."LGPL"),..*.in.w |
1a6e60 | 68 69 63 68 20 63 61 73 65 20 74 68 65 20 70 72 6f 76 69 73 69 6f 6e 73 20 6f 66 20 74 68 65 20 | hich.case.the.provisions.of.the. |
1a6e80 | 47 50 4c 20 6f 72 20 74 68 65 20 4c 47 50 4c 20 61 72 65 20 61 70 70 6c 69 63 61 62 6c 65 20 69 | GPL.or.the.LGPL.are.applicable.i |
1a6ea0 | 6e 73 74 65 61 64 0a 20 2a 20 6f 66 20 74 68 6f 73 65 20 61 62 6f 76 65 2e 20 49 66 20 79 6f 75 | nstead..*.of.those.above..If.you |
1a6ec0 | 20 77 69 73 68 20 74 6f 20 61 6c 6c 6f 77 20 75 73 65 20 6f 66 20 79 6f 75 72 20 76 65 72 73 69 | .wish.to.allow.use.of.your.versi |
1a6ee0 | 6f 6e 20 6f 66 20 74 68 69 73 20 66 69 6c 65 20 6f 6e 6c 79 0a 20 2a 20 75 6e 64 65 72 20 74 68 | on.of.this.file.only..*.under.th |
1a6f00 | 65 20 74 65 72 6d 73 20 6f 66 20 65 69 74 68 65 72 20 74 68 65 20 47 50 4c 20 6f 72 20 74 68 65 | e.terms.of.either.the.GPL.or.the |
1a6f20 | 20 4c 47 50 4c 2c 20 61 6e 64 20 6e 6f 74 20 74 6f 20 61 6c 6c 6f 77 20 6f 74 68 65 72 73 20 74 | .LGPL,.and.not.to.allow.others.t |
1a6f40 | 6f 0a 20 2a 20 75 73 65 20 79 6f 75 72 20 76 65 72 73 69 6f 6e 20 6f 66 20 74 68 69 73 20 66 69 | o..*.use.your.version.of.this.fi |
1a6f60 | 6c 65 20 75 6e 64 65 72 20 74 68 65 20 74 65 72 6d 73 20 6f 66 20 74 68 65 20 4d 50 4c 2c 20 69 | le.under.the.terms.of.the.MPL,.i |
1a6f80 | 6e 64 69 63 61 74 65 20 79 6f 75 72 0a 20 2a 20 64 65 63 69 73 69 6f 6e 20 62 79 20 64 65 6c 65 | ndicate.your..*.decision.by.dele |
1a6fa0 | 74 69 6e 67 20 74 68 65 20 70 72 6f 76 69 73 69 6f 6e 73 20 61 62 6f 76 65 20 61 6e 64 20 72 65 | ting.the.provisions.above.and.re |
1a6fc0 | 70 6c 61 63 65 20 74 68 65 6d 20 77 69 74 68 20 74 68 65 20 6e 6f 74 69 63 65 0a 20 2a 20 61 6e | place.them.with.the.notice..*.an |
1a6fe0 | 64 20 6f 74 68 65 72 20 70 72 6f 76 69 73 69 6f 6e 73 20 72 65 71 75 69 72 65 64 20 62 79 20 74 | d.other.provisions.required.by.t |
1a7000 | 68 65 20 47 50 4c 20 6f 72 20 74 68 65 20 4c 47 50 4c 2e 20 49 66 20 79 6f 75 20 64 6f 20 6e 6f | he.GPL.or.the.LGPL..If.you.do.no |
1a7020 | 74 20 64 65 6c 65 74 65 0a 20 2a 20 74 68 65 20 70 72 6f 76 69 73 69 6f 6e 73 20 61 62 6f 76 65 | t.delete..*.the.provisions.above |
1a7040 | 2c 20 61 20 72 65 63 69 70 69 65 6e 74 20 6d 61 79 20 75 73 65 20 79 6f 75 72 20 76 65 72 73 69 | ,.a.recipient.may.use.your.versi |
1a7060 | 6f 6e 20 6f 66 20 74 68 69 73 20 66 69 6c 65 20 75 6e 64 65 72 0a 20 2a 20 74 68 65 20 74 65 72 | on.of.this.file.under..*.the.ter |
1a7080 | 6d 73 20 6f 66 20 61 6e 79 20 6f 6e 65 20 6f 66 20 74 68 65 20 4d 50 4c 2c 20 74 68 65 20 47 50 | ms.of.any.one.of.the.MPL,.the.GP |
1a70a0 | 4c 20 6f 72 20 74 68 65 20 4c 47 50 4c 2e 0a 20 2a 0a 20 2a 20 2a 2a 2a 2a 2a 20 45 4e 44 20 4c | L.or.the.LGPL...*..*.*****.END.L |
1a70c0 | 49 43 45 4e 53 45 20 42 4c 4f 43 4b 20 2a 2a 2a 2a 2a 20 2a 2f 0a 0a 66 75 6e 63 74 69 6f 6e 20 | ICENSE.BLOCK.*****.*/..function. |
1a70e0 | 4c 4f 47 28 73 74 72 29 20 7b 0a 20 20 64 75 6d 70 28 22 2a 2a 2a 20 22 20 2b 20 73 74 72 20 2b | LOG(str).{...dump("***.".+.str.+ |
1a7100 | 20 22 5c 6e 22 29 3b 0a 7d 0a 0a 76 61 72 20 43 69 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 | ."\n");.}..var.Ci.=.Components.i |
1a7120 | 6e 74 65 72 66 61 63 65 73 3b 0a 76 61 72 20 43 63 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 | nterfaces;.var.Cc.=.Components.c |
1a7140 | 6c 61 73 73 65 73 3b 0a 76 61 72 20 43 72 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 72 65 73 75 | lasses;.var.Cr.=.Components.resu |
1a7160 | 6c 74 73 3b 0a 0a 5f 5f 64 65 66 69 6e 65 47 65 74 74 65 72 5f 5f 28 22 50 6c 61 63 65 73 55 74 | lts;..__defineGetter__("PlacesUt |
1a7180 | 69 6c 73 22 2c 20 66 75 6e 63 74 69 6f 6e 28 29 20 7b 0a 20 20 64 65 6c 65 74 65 20 74 68 69 73 | ils",.function().{...delete.this |
1a71a0 | 2e 50 6c 61 63 65 73 55 74 69 6c 73 0a 20 20 76 61 72 20 74 6d 70 53 63 6f 70 65 20 3d 20 7b 7d | .PlacesUtils...var.tmpScope.=.{} |
1a71c0 | 3b 0a 20 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 75 74 69 6c 73 2e 69 6d 70 6f 72 74 28 22 72 65 73 | ;...Components.utils.import("res |
1a71e0 | 6f 75 72 63 65 3a 2f 2f 67 72 65 2f 6d 6f 64 75 6c 65 73 2f 75 74 69 6c 73 2e 6a 73 22 2c 20 74 | ource://gre/modules/utils.js",.t |
1a7200 | 6d 70 53 63 6f 70 65 29 3b 0a 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 50 6c 61 63 65 73 55 74 | mpScope);...return.this.PlacesUt |
1a7220 | 69 6c 73 20 3d 20 74 6d 70 53 63 6f 70 65 2e 50 6c 61 63 65 73 55 74 69 6c 73 3b 0a 7d 29 3b 0a | ils.=.tmpScope.PlacesUtils;.});. |
1a7240 | 0a 63 6f 6e 73 74 20 4c 4f 41 44 5f 49 4e 5f 53 49 44 45 42 41 52 5f 41 4e 4e 4f 20 3d 20 22 62 | .const.LOAD_IN_SIDEBAR_ANNO.=."b |
1a7260 | 6f 6f 6b 6d 61 72 6b 50 72 6f 70 65 72 74 69 65 73 2f 6c 6f 61 64 49 6e 53 69 64 65 62 61 72 22 | ookmarkProperties/loadInSidebar" |
1a7280 | 3b 0a 63 6f 6e 73 74 20 44 45 53 43 52 49 50 54 49 4f 4e 5f 41 4e 4e 4f 20 3d 20 22 62 6f 6f 6b | ;.const.DESCRIPTION_ANNO.=."book |
1a72a0 | 6d 61 72 6b 50 72 6f 70 65 72 74 69 65 73 2f 64 65 73 63 72 69 70 74 69 6f 6e 22 3b 0a 63 6f 6e | markProperties/description";.con |
1a72c0 | 73 74 20 47 55 49 44 5f 41 4e 4e 4f 20 3d 20 22 70 6c 61 63 65 73 49 6e 74 65 72 6e 61 6c 2f 47 | st.GUID_ANNO.=."placesInternal/G |
1a72e0 | 55 49 44 22 3b 0a 63 6f 6e 73 74 20 4c 4d 41 4e 4e 4f 5f 46 45 45 44 55 52 49 20 3d 20 22 6c 69 | UID";.const.LMANNO_FEEDURI.=."li |
1a7300 | 76 65 6d 61 72 6b 2f 66 65 65 64 55 52 49 22 3b 0a 63 6f 6e 73 74 20 4c 4d 41 4e 4e 4f 5f 53 49 | vemark/feedURI";.const.LMANNO_SI |
1a7320 | 54 45 55 52 49 20 3d 20 22 6c 69 76 65 6d 61 72 6b 2f 73 69 74 65 55 52 49 22 3b 0a 63 6f 6e 73 | TEURI.=."livemark/siteURI";.cons |
1a7340 | 74 20 4f 52 47 41 4e 49 5a 45 52 5f 46 4f 4c 44 45 52 5f 41 4e 4e 4f 20 3d 20 22 50 6c 61 63 65 | t.ORGANIZER_FOLDER_ANNO.=."Place |
1a7360 | 73 4f 72 67 61 6e 69 7a 65 72 2f 4f 72 67 61 6e 69 7a 65 72 46 6f 6c 64 65 72 22 3b 0a 63 6f 6e | sOrganizer/OrganizerFolder";.con |
1a7380 | 73 74 20 4f 52 47 41 4e 49 5a 45 52 5f 51 55 45 52 59 5f 41 4e 4e 4f 20 3d 20 22 50 6c 61 63 65 | st.ORGANIZER_QUERY_ANNO.=."Place |
1a73a0 | 73 4f 72 67 61 6e 69 7a 65 72 2f 4f 72 67 61 6e 69 7a 65 72 51 75 65 72 79 22 3b 0a 63 6f 6e 73 | sOrganizer/OrganizerQuery";.cons |
1a73c0 | 74 20 4f 52 47 41 4e 49 5a 45 52 5f 4c 45 46 54 50 41 4e 45 5f 56 45 52 53 49 4f 4e 20 3d 20 36 | t.ORGANIZER_LEFTPANE_VERSION.=.6 |
1a73e0 | 3b 0a 63 6f 6e 73 74 20 45 58 43 4c 55 44 45 5f 46 52 4f 4d 5f 42 41 43 4b 55 50 5f 41 4e 4e 4f | ;.const.EXCLUDE_FROM_BACKUP_ANNO |
1a7400 | 20 3d 20 22 70 6c 61 63 65 73 2f 65 78 63 6c 75 64 65 46 72 6f 6d 42 61 63 6b 75 70 22 3b 0a 0a | .=."places/excludeFromBackup";.. |
1a7420 | 2f 2f 40 6c 69 6e 65 20 37 33 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c | //@line.73."/builds/moz2_slave/l |
1a7440 | 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 63 6f 6d 70 6f 6e 65 | inux_build/build/browser/compone |
1a7460 | 6e 74 73 2f 70 6c 61 63 65 73 2f 63 6f 6e 74 65 6e 74 2f 75 74 69 6c 73 2e 6a 73 22 0a 2f 2f 20 | nts/places/content/utils.js".//. |
1a7480 | 4f 6e 20 6f 74 68 65 72 20 70 6c 61 74 66 6f 72 6d 73 2c 20 74 68 65 20 74 72 61 6e 73 66 65 72 | On.other.platforms,.the.transfer |
1a74a0 | 61 62 6c 65 20 73 79 73 74 65 6d 20 63 6f 6e 76 65 72 74 73 20 22 5c 72 5c 6e 22 20 74 6f 20 22 | able.system.converts."\r\n".to." |
1a74c0 | 5c 6e 22 2e 0a 63 6f 6e 73 74 20 4e 45 57 4c 49 4e 45 20 3d 20 22 5c 72 5c 6e 22 3b 0a 2f 2f 40 | \n"..const.NEWLINE.=."\r\n";.//@ |
1a74e0 | 6c 69 6e 65 20 37 36 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 | line.76."/builds/moz2_slave/linu |
1a7500 | 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 63 6f 6d 70 6f 6e 65 6e 74 73 | x_build/build/browser/components |
1a7520 | 2f 70 6c 61 63 65 73 2f 63 6f 6e 74 65 6e 74 2f 75 74 69 6c 73 2e 6a 73 22 0a 0a 66 75 6e 63 74 | /places/content/utils.js"..funct |
1a7540 | 69 6f 6e 20 51 49 5f 6e 6f 64 65 28 61 4e 6f 64 65 2c 20 61 49 49 44 29 20 7b 0a 20 20 72 65 74 | ion.QI_node(aNode,.aIID).{...ret |
1a7560 | 75 72 6e 20 61 4e 6f 64 65 2e 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 28 61 49 49 44 29 3b 0a | urn.aNode.QueryInterface(aIID);. |
1a7580 | 7d 0a 66 75 6e 63 74 69 6f 6e 20 61 73 56 69 73 69 74 28 61 4e 6f 64 65 29 20 20 20 20 7b 20 72 | }.function.asVisit(aNode)....{.r |
1a75a0 | 65 74 75 72 6e 20 51 49 5f 6e 6f 64 65 28 61 4e 6f 64 65 2c 20 43 69 2e 6e 73 49 4e 61 76 48 69 | eturn.QI_node(aNode,.Ci.nsINavHi |
1a75c0 | 73 74 6f 72 79 56 69 73 69 74 52 65 73 75 6c 74 4e 6f 64 65 29 3b 20 20 20 20 7d 0a 66 75 6e 63 | storyVisitResultNode);....}.func |
1a75e0 | 74 69 6f 6e 20 61 73 46 75 6c 6c 56 69 73 69 74 28 61 4e 6f 64 65 29 7b 20 72 65 74 75 72 6e 20 | tion.asFullVisit(aNode){.return. |
1a7600 | 51 49 5f 6e 6f 64 65 28 61 4e 6f 64 65 2c 20 43 69 2e 6e 73 49 4e 61 76 48 69 73 74 6f 72 79 46 | QI_node(aNode,.Ci.nsINavHistoryF |
1a7620 | 75 6c 6c 56 69 73 69 74 52 65 73 75 6c 74 4e 6f 64 65 29 3b 7d 0a 66 75 6e 63 74 69 6f 6e 20 61 | ullVisitResultNode);}.function.a |
1a7640 | 73 43 6f 6e 74 61 69 6e 65 72 28 61 4e 6f 64 65 29 7b 20 72 65 74 75 72 6e 20 51 49 5f 6e 6f 64 | sContainer(aNode){.return.QI_nod |
1a7660 | 65 28 61 4e 6f 64 65 2c 20 43 69 2e 6e 73 49 4e 61 76 48 69 73 74 6f 72 79 43 6f 6e 74 61 69 6e | e(aNode,.Ci.nsINavHistoryContain |
1a7680 | 65 72 52 65 73 75 6c 74 4e 6f 64 65 29 3b 7d 0a 66 75 6e 63 74 69 6f 6e 20 61 73 51 75 65 72 79 | erResultNode);}.function.asQuery |
1a76a0 | 28 61 4e 6f 64 65 29 20 20 20 20 7b 20 72 65 74 75 72 6e 20 51 49 5f 6e 6f 64 65 28 61 4e 6f 64 | (aNode)....{.return.QI_node(aNod |
1a76c0 | 65 2c 20 43 69 2e 6e 73 49 4e 61 76 48 69 73 74 6f 72 79 51 75 65 72 79 52 65 73 75 6c 74 4e 6f | e,.Ci.nsINavHistoryQueryResultNo |
1a76e0 | 64 65 29 3b 20 20 20 20 7d 0a 0a 76 61 72 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 20 3d 20 7b | de);....}..var.PlacesUIUtils.=.{ |
1a7700 | 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 54 68 65 20 4d 69 63 72 6f 73 75 6d 6d 61 72 79 20 53 65 72 | .../**....*.The.Microsummary.Ser |
1a7720 | 76 69 63 65 0a 20 20 20 2a 2f 0a 20 20 67 65 74 20 6d 69 63 72 6f 73 75 6d 6d 61 72 69 65 73 28 | vice....*/...get.microsummaries( |
1a7740 | 29 20 7b 0a 20 20 20 20 64 65 6c 65 74 65 20 74 68 69 73 2e 6d 69 63 72 6f 73 75 6d 6d 61 72 69 | ).{.....delete.this.microsummari |
1a7760 | 65 73 3b 0a 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 6d 69 63 72 6f 73 75 6d 6d 61 72 69 | es;.....return.this.microsummari |
1a7780 | 65 73 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6d 69 63 72 6f 73 75 6d 6d 61 | es.=.Cc["@mozilla.org/microsumma |
1a77a0 | 72 79 2f 73 65 72 76 69 63 65 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ry/service;1"].................. |
1a77c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e | .................getService(Ci.n |
1a77e0 | 73 49 4d 69 63 72 6f 73 75 6d 6d 61 72 79 53 65 72 76 69 63 65 29 3b 0a 20 20 7d 2c 0a 0a 20 20 | sIMicrosummaryService);...},.... |
1a7800 | 67 65 74 20 52 44 46 28 29 20 7b 0a 20 20 20 20 64 65 6c 65 74 65 20 74 68 69 73 2e 52 44 46 3b | get.RDF().{.....delete.this.RDF; |
1a7820 | 0a 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 52 44 46 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 | .....return.this.RDF.=.Cc["@mozi |
1a7840 | 6c 6c 61 2e 6f 72 67 2f 72 64 66 2f 72 64 66 2d 73 65 72 76 69 63 65 3b 31 22 5d 2e 0a 20 20 20 | lla.org/rdf/rdf-service;1"]..... |
1a7860 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 69 | ...................getService(Ci |
1a7880 | 2e 6e 73 49 52 44 46 53 65 72 76 69 63 65 29 3b 0a 20 20 7d 2c 0a 0a 20 20 67 65 74 20 6c 6f 63 | .nsIRDFService);...},....get.loc |
1a78a0 | 61 6c 53 74 6f 72 65 28 29 20 7b 0a 20 20 20 20 64 65 6c 65 74 65 20 74 68 69 73 2e 6c 6f 63 61 | alStore().{.....delete.this.loca |
1a78c0 | 6c 53 74 6f 72 65 3b 0a 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 6c 6f 63 61 6c 53 74 6f | lStore;.....return.this.localSto |
1a78e0 | 72 65 20 3d 20 74 68 69 73 2e 52 44 46 2e 47 65 74 44 61 74 61 53 6f 75 72 63 65 28 22 72 64 66 | re.=.this.RDF.GetDataSource("rdf |
1a7900 | 3a 6c 6f 63 61 6c 2d 73 74 6f 72 65 22 29 3b 0a 20 20 7d 2c 0a 0a 20 20 67 65 74 20 70 74 6d 28 | :local-store");...},....get.ptm( |
1a7920 | 29 20 7b 0a 20 20 20 20 64 65 6c 65 74 65 20 74 68 69 73 2e 70 74 6d 3b 0a 20 20 20 20 72 65 74 | ).{.....delete.this.ptm;.....ret |
1a7940 | 75 72 6e 20 74 68 69 73 2e 70 74 6d 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f | urn.this.ptm.=.Cc["@mozilla.org/ |
1a7960 | 62 72 6f 77 73 65 72 2f 70 6c 61 63 65 73 54 72 61 6e 73 61 63 74 69 6f 6e 73 53 65 72 76 69 63 | browser/placesTransactionsServic |
1a7980 | 65 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 | e;1"]........................get |
1a79a0 | 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 50 6c 61 63 65 73 54 72 61 6e 73 61 63 74 69 6f 6e 73 | Service(Ci.nsIPlacesTransactions |
1a79c0 | 53 65 72 76 69 63 65 29 3b 0a 20 20 7d 2c 0a 0a 20 20 67 65 74 20 63 6c 69 70 62 6f 61 72 64 28 | Service);...},....get.clipboard( |
1a79e0 | 29 20 7b 0a 20 20 20 20 64 65 6c 65 74 65 20 74 68 69 73 2e 63 6c 69 70 62 6f 61 72 64 3b 0a 20 | ).{.....delete.this.clipboard;.. |
1a7a00 | 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 63 6c 69 70 62 6f 61 72 64 20 3d 20 43 63 5b 22 40 | ...return.this.clipboard.=.Cc["@ |
1a7a20 | 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 77 69 64 67 65 74 2f 63 6c 69 70 62 6f 61 72 64 3b 31 22 5d | mozilla.org/widget/clipboard;1"] |
1a7a40 | 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 | ..............................ge |
1a7a60 | 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 43 6c 69 70 62 6f 61 72 64 29 3b 0a 20 20 7d 2c 0a | tService(Ci.nsIClipboard);...},. |
1a7a80 | 0a 20 20 67 65 74 20 55 52 49 46 69 78 75 70 28 29 20 7b 0a 20 20 20 20 64 65 6c 65 74 65 20 74 | ...get.URIFixup().{.....delete.t |
1a7aa0 | 68 69 73 2e 55 52 49 46 69 78 75 70 3b 0a 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 55 52 | his.URIFixup;.....return.this.UR |
1a7ac0 | 49 46 69 78 75 70 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 64 6f 63 73 68 65 | IFixup.=.Cc["@mozilla.org/docshe |
1a7ae0 | 6c 6c 2f 75 72 69 66 69 78 75 70 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ll/urifixup;1"]................. |
1a7b00 | 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 55 52 49 | ............getService(Ci.nsIURI |
1a7b20 | 46 69 78 75 70 29 3b 0a 20 20 7d 2c 0a 0a 20 20 67 65 74 20 65 6c 6c 69 70 73 69 73 28 29 20 7b | Fixup);...},....get.ellipsis().{ |
1a7b40 | 0a 20 20 20 20 64 65 6c 65 74 65 20 74 68 69 73 2e 65 6c 6c 69 70 73 69 73 3b 0a 20 20 20 20 76 | .....delete.this.ellipsis;.....v |
1a7b60 | 61 72 20 70 72 65 66 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 70 72 65 66 65 | ar.pref.=.Cc["@mozilla.org/prefe |
1a7b80 | 72 65 6e 63 65 73 2d 73 65 72 76 69 63 65 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 | rences-service;1"].............. |
1a7ba0 | 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 50 72 65 66 42 72 61 6e 63 68 29 3b | ...getService(Ci.nsIPrefBranch); |
1a7bc0 | 0a 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 65 6c 6c 69 70 73 69 73 20 3d 20 70 72 65 66 | .....return.this.ellipsis.=.pref |
1a7be0 | 2e 67 65 74 43 6f 6d 70 6c 65 78 56 61 6c 75 65 28 22 69 6e 74 6c 2e 65 6c 6c 69 70 73 69 73 22 | .getComplexValue("intl.ellipsis" |
1a7c00 | 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ,............................... |
1a7c20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 43 69 2e 6e 73 49 50 72 65 66 4c 6f 63 61 | ..................Ci.nsIPrefLoca |
1a7c40 | 6c 69 7a 65 64 53 74 72 69 6e 67 29 2e 64 61 74 61 3b 0a 20 20 7d 2c 0a 0a 20 20 67 65 74 20 70 | lizedString).data;...},....get.p |
1a7c60 | 72 69 76 61 74 65 42 72 6f 77 73 69 6e 67 28 29 20 7b 0a 20 20 20 20 64 65 6c 65 74 65 20 74 68 | rivateBrowsing().{.....delete.th |
1a7c80 | 69 73 2e 70 72 69 76 61 74 65 42 72 6f 77 73 69 6e 67 3b 0a 20 20 20 20 72 65 74 75 72 6e 20 74 | is.privateBrowsing;.....return.t |
1a7ca0 | 68 69 73 2e 70 72 69 76 61 74 65 42 72 6f 77 73 69 6e 67 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c | his.privateBrowsing.=.Cc["@mozil |
1a7cc0 | 6c 61 2e 6f 72 67 2f 70 72 69 76 61 74 65 62 72 6f 77 73 69 6e 67 3b 31 22 5d 2e 0a 20 20 20 20 | la.org/privatebrowsing;1"]...... |
1a7ce0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 | ..............................ge |
1a7d00 | 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 50 72 69 76 61 74 65 42 72 6f 77 73 69 6e 67 53 65 | tService(Ci.nsIPrivateBrowsingSe |
1a7d20 | 72 76 69 63 65 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 4d 61 6b 65 73 20 61 | rvice);...},..../**....*.Makes.a |
1a7d40 | 20 55 52 49 20 66 72 6f 6d 20 61 20 73 70 65 63 2c 20 61 6e 64 20 64 6f 20 66 69 78 75 70 0a 20 | .URI.from.a.spec,.and.do.fixup.. |
1a7d60 | 20 20 2a 20 40 70 61 72 61 6d 20 20 20 61 53 70 65 63 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 | ..*.@param...aSpec....*......... |
1a7d80 | 20 54 68 65 20 73 74 72 69 6e 67 20 73 70 65 63 20 6f 66 20 74 68 65 20 55 52 49 0a 20 20 20 2a | .The.string.spec.of.the.URI....* |
1a7da0 | 20 40 72 65 74 75 72 6e 73 20 41 20 55 52 49 20 6f 62 6a 65 63 74 20 66 6f 72 20 74 68 65 20 73 | .@returns.A.URI.object.for.the.s |
1a7dc0 | 70 65 63 2e 0a 20 20 20 2a 2f 0a 20 20 63 72 65 61 74 65 46 69 78 65 64 55 52 49 3a 20 66 75 6e | pec.....*/...createFixedURI:.fun |
1a7de0 | 63 74 69 6f 6e 20 50 55 5f 63 72 65 61 74 65 46 69 78 65 64 55 52 49 28 61 53 70 65 63 29 20 7b | ction.PU_createFixedURI(aSpec).{ |
1a7e00 | 0a 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 55 52 49 46 69 78 75 70 2e 63 72 65 61 74 65 | .....return.this.URIFixup.create |
1a7e20 | 46 69 78 75 70 55 52 49 28 61 53 70 65 63 2c 20 30 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a | FixupURI(aSpec,.0);...},..../**. |
1a7e40 | 20 20 20 2a 20 57 72 61 70 73 20 61 20 73 74 72 69 6e 67 20 69 6e 20 61 20 6e 73 49 53 75 70 70 | ...*.Wraps.a.string.in.a.nsISupp |
1a7e60 | 6f 72 74 73 53 74 72 69 6e 67 20 77 72 61 70 70 65 72 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 20 | ortsString.wrapper....*.@param.. |
1a7e80 | 20 61 53 74 72 69 6e 67 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 54 68 65 20 73 74 72 69 6e | .aString....*..........The.strin |
1a7ea0 | 67 20 74 6f 20 77 72 61 70 0a 20 20 20 2a 20 40 72 65 74 75 72 6e 73 20 41 20 6e 73 49 53 75 70 | g.to.wrap....*.@returns.A.nsISup |
1a7ec0 | 70 6f 72 74 73 53 74 72 69 6e 67 20 6f 62 6a 65 63 74 20 63 6f 6e 74 61 69 6e 69 6e 67 20 61 20 | portsString.object.containing.a. |
1a7ee0 | 73 74 72 69 6e 67 2e 0a 20 20 20 2a 2f 0a 20 20 5f 77 72 61 70 53 74 72 69 6e 67 3a 20 66 75 6e | string.....*/..._wrapString:.fun |
1a7f00 | 63 74 69 6f 6e 20 50 55 5f 5f 77 72 61 70 53 74 72 69 6e 67 28 61 53 74 72 69 6e 67 29 20 7b 0a | ction.PU__wrapString(aString).{. |
1a7f20 | 20 20 20 20 76 61 72 20 73 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 73 75 70 | ....var.s.=.Cc["@mozilla.org/sup |
1a7f40 | 70 6f 72 74 73 2d 73 74 72 69 6e 67 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 63 72 | ports-string;1"]..............cr |
1a7f60 | 65 61 74 65 49 6e 73 74 61 6e 63 65 28 43 69 2e 6e 73 49 53 75 70 70 6f 72 74 73 53 74 72 69 6e | eateInstance(Ci.nsISupportsStrin |
1a7f80 | 67 29 3b 0a 20 20 20 20 73 2e 64 61 74 61 20 3d 20 61 53 74 72 69 6e 67 3b 0a 20 20 20 20 72 65 | g);.....s.data.=.aString;.....re |
1a7fa0 | 74 75 72 6e 20 73 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 53 74 72 69 6e 67 20 | turn.s;...},..../**....*.String. |
1a7fc0 | 62 75 6e 64 6c 65 20 68 65 6c 70 65 72 73 0a 20 20 20 2a 2f 0a 20 20 67 65 74 20 5f 62 75 6e 64 | bundle.helpers....*/...get._bund |
1a7fe0 | 6c 65 28 29 20 7b 0a 20 20 20 20 63 6f 6e 73 74 20 50 4c 41 43 45 53 5f 53 54 52 49 4e 47 5f 42 | le().{.....const.PLACES_STRING_B |
1a8000 | 55 4e 44 4c 45 5f 55 52 49 20 3d 0a 20 20 20 20 20 20 20 20 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 | UNDLE_URI.=........."chrome://br |
1a8020 | 6f 77 73 65 72 2f 6c 6f 63 61 6c 65 2f 70 6c 61 63 65 73 2f 70 6c 61 63 65 73 2e 70 72 6f 70 65 | owser/locale/places/places.prope |
1a8040 | 72 74 69 65 73 22 3b 0a 20 20 20 20 64 65 6c 65 74 65 20 74 68 69 73 2e 5f 62 75 6e 64 6c 65 3b | rties";.....delete.this._bundle; |
1a8060 | 0a 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 62 75 6e 64 6c 65 20 3d 20 43 63 5b 22 40 | .....return.this._bundle.=.Cc["@ |
1a8080 | 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 69 6e 74 6c 2f 73 74 72 69 6e 67 62 75 6e 64 6c 65 3b 31 22 | mozilla.org/intl/stringbundle;1" |
1a80a0 | 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 | ]............................get |
1a80c0 | 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 53 74 72 69 6e 67 42 75 6e 64 6c 65 53 65 72 76 69 63 | Service(Ci.nsIStringBundleServic |
1a80e0 | 65 29 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 72 | e)............................cr |
1a8100 | 65 61 74 65 42 75 6e 64 6c 65 28 50 4c 41 43 45 53 5f 53 54 52 49 4e 47 5f 42 55 4e 44 4c 45 5f | eateBundle(PLACES_STRING_BUNDLE_ |
1a8120 | 55 52 49 29 3b 0a 20 20 7d 2c 0a 0a 20 20 67 65 74 46 6f 72 6d 61 74 74 65 64 53 74 72 69 6e 67 | URI);...},....getFormattedString |
1a8140 | 3a 20 66 75 6e 63 74 69 6f 6e 20 50 55 5f 67 65 74 46 6f 72 6d 61 74 74 65 64 53 74 72 69 6e 67 | :.function.PU_getFormattedString |
1a8160 | 28 6b 65 79 2c 20 70 61 72 61 6d 73 29 20 7b 0a 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e | (key,.params).{.....return.this. |
1a8180 | 5f 62 75 6e 64 6c 65 2e 66 6f 72 6d 61 74 53 74 72 69 6e 67 46 72 6f 6d 4e 61 6d 65 28 6b 65 79 | _bundle.formatStringFromName(key |
1a81a0 | 2c 20 70 61 72 61 6d 73 2c 20 70 61 72 61 6d 73 2e 6c 65 6e 67 74 68 29 3b 0a 20 20 7d 2c 0a 0a | ,.params,.params.length);...},.. |
1a81c0 | 20 20 67 65 74 53 74 72 69 6e 67 3a 20 66 75 6e 63 74 69 6f 6e 20 50 55 5f 67 65 74 53 74 72 69 | ..getString:.function.PU_getStri |
1a81e0 | 6e 67 28 6b 65 79 29 20 7b 0a 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 62 75 6e 64 6c | ng(key).{.....return.this._bundl |
1a8200 | 65 2e 47 65 74 53 74 72 69 6e 67 46 72 6f 6d 4e 61 6d 65 28 6b 65 79 29 3b 0a 20 20 7d 2c 0a 0a | e.GetStringFromName(key);...},.. |
1a8220 | 20 20 2f 2a 2a 0a 20 20 20 2a 20 47 65 74 20 61 20 74 72 61 6e 73 61 63 74 69 6f 6e 20 66 6f 72 | ../**....*.Get.a.transaction.for |
1a8240 | 20 63 6f 70 79 69 6e 67 20 61 20 75 72 69 20 69 74 65 6d 20 66 72 6f 6d 20 6f 6e 65 20 63 6f 6e | .copying.a.uri.item.from.one.con |
1a8260 | 74 61 69 6e 65 72 20 74 6f 20 61 6e 6f 74 68 65 72 0a 20 20 20 2a 20 61 73 20 61 20 62 6f 6f 6b | tainer.to.another....*.as.a.book |
1a8280 | 6d 61 72 6b 2e 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 20 20 61 44 61 74 61 0a 20 20 20 2a 20 20 | mark.....*.@param...aData....*.. |
1a82a0 | 20 20 20 20 20 20 20 20 4a 53 4f 4e 20 6f 62 6a 65 63 74 20 6f 66 20 64 72 6f 70 70 65 64 20 6f | ........JSON.object.of.dropped.o |
1a82c0 | 72 20 70 61 73 74 65 64 20 69 74 65 6d 20 70 72 6f 70 65 72 74 69 65 73 0a 20 20 20 2a 20 40 70 | r.pasted.item.properties....*.@p |
1a82e0 | 61 72 61 6d 20 20 20 61 43 6f 6e 74 61 69 6e 65 72 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 | aram...aContainer....*.......... |
1a8300 | 54 68 65 20 63 6f 6e 74 61 69 6e 65 72 20 62 65 69 6e 67 20 63 6f 70 69 65 64 20 69 6e 74 6f 0a | The.container.being.copied.into. |
1a8320 | 20 20 20 2a 20 40 70 61 72 61 6d 20 20 20 61 49 6e 64 65 78 0a 20 20 20 2a 20 20 20 20 20 20 20 | ...*.@param...aIndex....*....... |
1a8340 | 20 20 20 54 68 65 20 69 6e 64 65 78 20 77 69 74 68 69 6e 20 74 68 65 20 63 6f 6e 74 61 69 6e 65 | ...The.index.within.the.containe |
1a8360 | 72 20 74 68 65 20 69 74 65 6d 20 69 73 20 63 6f 70 69 65 64 20 74 6f 0a 20 20 20 2a 20 40 72 65 | r.the.item.is.copied.to....*.@re |
1a8380 | 74 75 72 6e 73 20 41 20 6e 73 49 54 72 61 6e 73 61 63 74 69 6f 6e 20 6f 62 6a 65 63 74 20 74 68 | turns.A.nsITransaction.object.th |
1a83a0 | 61 74 20 70 65 72 66 6f 72 6d 73 20 74 68 65 20 63 6f 70 79 2e 0a 20 20 20 2a 2f 0a 20 20 5f 67 | at.performs.the.copy.....*/..._g |
1a83c0 | 65 74 55 52 49 49 74 65 6d 43 6f 70 79 54 72 61 6e 73 61 63 74 69 6f 6e 3a 20 66 75 6e 63 74 69 | etURIItemCopyTransaction:.functi |
1a83e0 | 6f 6e 20 28 61 44 61 74 61 2c 20 61 43 6f 6e 74 61 69 6e 65 72 2c 20 61 49 6e 64 65 78 29 20 7b | on.(aData,.aContainer,.aIndex).{ |
1a8400 | 0a 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 70 74 6d 2e 63 72 65 61 74 65 49 74 65 6d 28 | .....return.this.ptm.createItem( |
1a8420 | 50 6c 61 63 65 73 55 74 69 6c 73 2e 5f 75 72 69 28 61 44 61 74 61 2e 75 72 69 29 2c 20 61 43 6f | PlacesUtils._uri(aData.uri),.aCo |
1a8440 | 6e 74 61 69 6e 65 72 2c 20 61 49 6e 64 65 78 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ntainer,.aIndex,................ |
1a8460 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 44 61 74 61 2e 74 69 74 6c 65 2c 20 22 22 29 | ................aData.title,."") |
1a8480 | 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 47 65 74 20 61 20 74 72 61 6e 73 61 63 | ;...},..../**....*.Get.a.transac |
1a84a0 | 74 69 6f 6e 20 66 6f 72 20 63 6f 70 79 69 6e 67 20 61 20 62 6f 6f 6b 6d 61 72 6b 20 69 74 65 6d | tion.for.copying.a.bookmark.item |
1a84c0 | 20 66 72 6f 6d 20 6f 6e 65 20 63 6f 6e 74 61 69 6e 65 72 20 74 6f 0a 20 20 20 2a 20 61 6e 6f 74 | .from.one.container.to....*.anot |
1a84e0 | 68 65 72 2e 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 20 20 61 44 61 74 61 0a 20 20 20 2a 20 20 20 | her.....*.@param...aData....*... |
1a8500 | 20 20 20 20 20 20 20 4a 53 4f 4e 20 6f 62 6a 65 63 74 20 6f 66 20 64 72 6f 70 70 65 64 20 6f 72 | .......JSON.object.of.dropped.or |
1a8520 | 20 70 61 73 74 65 64 20 69 74 65 6d 20 70 72 6f 70 65 72 74 69 65 73 0a 20 20 20 2a 20 40 70 61 | .pasted.item.properties....*.@pa |
1a8540 | 72 61 6d 20 20 20 61 43 6f 6e 74 61 69 6e 65 72 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 54 | ram...aContainer....*..........T |
1a8560 | 68 65 20 63 6f 6e 74 61 69 6e 65 72 20 62 65 69 6e 67 20 63 6f 70 69 65 64 20 69 6e 74 6f 0a 20 | he.container.being.copied.into.. |
1a8580 | 20 20 2a 20 40 70 61 72 61 6d 20 20 20 61 49 6e 64 65 78 0a 20 20 20 2a 20 20 20 20 20 20 20 20 | ..*.@param...aIndex....*........ |
1a85a0 | 20 20 54 68 65 20 69 6e 64 65 78 20 77 69 74 68 69 6e 20 74 68 65 20 63 6f 6e 74 61 69 6e 65 72 | ..The.index.within.the.container |
1a85c0 | 20 74 68 65 20 69 74 65 6d 20 69 73 20 63 6f 70 69 65 64 20 74 6f 0a 20 20 20 2a 20 40 70 61 72 | .the.item.is.copied.to....*.@par |
1a85e0 | 61 6d 20 20 20 5b 6f 70 74 69 6f 6e 61 6c 5d 20 61 45 78 63 6c 75 64 65 41 6e 6e 6f 74 61 74 69 | am...[optional].aExcludeAnnotati |
1a8600 | 6f 6e 73 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 4f 70 74 69 6f 6e 61 6c 2c 20 61 72 72 61 | ons....*..........Optional,.arra |
1a8620 | 79 20 6f 66 20 61 6e 6e 6f 74 61 74 69 6f 6e 73 20 28 6c 69 73 74 65 64 20 62 79 20 74 68 65 69 | y.of.annotations.(listed.by.thei |
1a8640 | 72 20 6e 61 6d 65 73 29 20 74 6f 20 65 78 63 6c 75 64 65 0a 20 20 20 2a 20 20 20 20 20 20 20 20 | r.names).to.exclude....*........ |
1a8660 | 20 20 77 68 65 6e 20 63 6f 70 79 69 6e 67 20 74 68 65 20 69 74 65 6d 2e 0a 20 20 20 2a 20 40 72 | ..when.copying.the.item.....*.@r |
1a8680 | 65 74 75 72 6e 73 20 41 20 6e 73 49 54 72 61 6e 73 61 63 74 69 6f 6e 20 6f 62 6a 65 63 74 20 74 | eturns.A.nsITransaction.object.t |
1a86a0 | 68 61 74 20 70 65 72 66 6f 72 6d 73 20 74 68 65 20 63 6f 70 79 2e 0a 20 20 20 2a 2f 0a 20 20 5f | hat.performs.the.copy.....*/..._ |
1a86c0 | 67 65 74 42 6f 6f 6b 6d 61 72 6b 49 74 65 6d 43 6f 70 79 54 72 61 6e 73 61 63 74 69 6f 6e 3a 0a | getBookmarkItemCopyTransaction:. |
1a86e0 | 20 20 66 75 6e 63 74 69 6f 6e 20 50 55 5f 5f 67 65 74 42 6f 6f 6b 6d 61 72 6b 49 74 65 6d 43 6f | ..function.PU__getBookmarkItemCo |
1a8700 | 70 79 54 72 61 6e 73 61 63 74 69 6f 6e 28 61 44 61 74 61 2c 20 61 43 6f 6e 74 61 69 6e 65 72 2c | pyTransaction(aData,.aContainer, |
1a8720 | 20 61 49 6e 64 65 78 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .aIndex,........................ |
1a8740 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 45 78 63 6c 75 64 65 41 | .......................aExcludeA |
1a8760 | 6e 6e 6f 74 61 74 69 6f 6e 73 29 20 7b 0a 20 20 20 20 76 61 72 20 69 74 65 6d 55 52 4c 20 3d 20 | nnotations).{.....var.itemURL.=. |
1a8780 | 50 6c 61 63 65 73 55 74 69 6c 73 2e 5f 75 72 69 28 61 44 61 74 61 2e 75 72 69 29 3b 0a 20 20 20 | PlacesUtils._uri(aData.uri);.... |
1a87a0 | 20 76 61 72 20 69 74 65 6d 54 69 74 6c 65 20 3d 20 61 44 61 74 61 2e 74 69 74 6c 65 3b 0a 20 20 | .var.itemTitle.=.aData.title;... |
1a87c0 | 20 20 76 61 72 20 6b 65 79 77 6f 72 64 20 3d 20 61 44 61 74 61 2e 6b 65 79 77 6f 72 64 20 7c 7c | ..var.keyword.=.aData.keyword.|| |
1a87e0 | 20 6e 75 6c 6c 3b 0a 20 20 20 20 76 61 72 20 61 6e 6e 6f 73 20 3d 20 61 44 61 74 61 2e 61 6e 6e | .null;.....var.annos.=.aData.ann |
1a8800 | 6f 73 20 7c 7c 20 5b 5d 3b 0a 20 20 20 20 2f 2f 20 61 6c 77 61 79 73 20 65 78 63 6c 75 64 65 20 | os.||.[];.....//.always.exclude. |
1a8820 | 47 55 49 44 20 77 68 65 6e 20 63 6f 70 79 69 6e 67 20 61 6e 79 20 69 74 65 6d 0a 20 20 20 20 76 | GUID.when.copying.any.item.....v |
1a8840 | 61 72 20 65 78 63 6c 75 64 65 41 6e 6e 6f 73 20 3d 20 5b 47 55 49 44 5f 41 4e 4e 4f 5d 3b 0a 20 | ar.excludeAnnos.=.[GUID_ANNO];.. |
1a8860 | 20 20 20 69 66 20 28 61 45 78 63 6c 75 64 65 41 6e 6e 6f 74 61 74 69 6f 6e 73 29 0a 20 20 20 20 | ...if.(aExcludeAnnotations)..... |
1a8880 | 20 20 65 78 63 6c 75 64 65 41 6e 6e 6f 73 20 3d 20 65 78 63 6c 75 64 65 41 6e 6e 6f 73 2e 63 6f | ..excludeAnnos.=.excludeAnnos.co |
1a88a0 | 6e 63 61 74 28 61 45 78 63 6c 75 64 65 41 6e 6e 6f 74 61 74 69 6f 6e 73 29 3b 0a 20 20 20 20 61 | ncat(aExcludeAnnotations);.....a |
1a88c0 | 6e 6e 6f 73 20 3d 20 61 6e 6e 6f 73 2e 66 69 6c 74 65 72 28 66 75 6e 63 74 69 6f 6e 28 61 56 61 | nnos.=.annos.filter(function(aVa |
1a88e0 | 6c 75 65 2c 20 61 49 6e 64 65 78 2c 20 61 41 72 72 61 79 29 20 7b 0a 20 20 20 20 20 20 72 65 74 | lue,.aIndex,.aArray).{.......ret |
1a8900 | 75 72 6e 20 65 78 63 6c 75 64 65 41 6e 6e 6f 73 2e 69 6e 64 65 78 4f 66 28 61 56 61 6c 75 65 2e | urn.excludeAnnos.indexOf(aValue. |
1a8920 | 6e 61 6d 65 29 20 3d 3d 20 2d 31 3b 0a 20 20 20 20 7d 29 3b 0a 20 20 20 20 76 61 72 20 63 68 69 | name).==.-1;.....});.....var.chi |
1a8940 | 6c 64 54 78 6e 73 20 3d 20 5b 5d 3b 0a 20 20 20 20 69 66 20 28 61 44 61 74 61 2e 64 61 74 65 41 | ldTxns.=.[];.....if.(aData.dateA |
1a8960 | 64 64 65 64 29 0a 20 20 20 20 20 20 63 68 69 6c 64 54 78 6e 73 2e 70 75 73 68 28 74 68 69 73 2e | dded).......childTxns.push(this. |
1a8980 | 70 74 6d 2e 65 64 69 74 49 74 65 6d 44 61 74 65 41 64 64 65 64 28 6e 75 6c 6c 2c 20 61 44 61 74 | ptm.editItemDateAdded(null,.aDat |
1a89a0 | 61 2e 64 61 74 65 41 64 64 65 64 29 29 3b 0a 20 20 20 20 69 66 20 28 61 44 61 74 61 2e 6c 61 73 | a.dateAdded));.....if.(aData.las |
1a89c0 | 74 4d 6f 64 69 66 69 65 64 29 0a 20 20 20 20 20 20 63 68 69 6c 64 54 78 6e 73 2e 70 75 73 68 28 | tModified).......childTxns.push( |
1a89e0 | 74 68 69 73 2e 70 74 6d 2e 65 64 69 74 49 74 65 6d 4c 61 73 74 4d 6f 64 69 66 69 65 64 28 6e 75 | this.ptm.editItemLastModified(nu |
1a8a00 | 6c 6c 2c 20 61 44 61 74 61 2e 6c 61 73 74 4d 6f 64 69 66 69 65 64 29 29 3b 0a 20 20 20 20 69 66 | ll,.aData.lastModified));.....if |
1a8a20 | 20 28 61 44 61 74 61 2e 74 61 67 73 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 74 61 67 73 20 3d | .(aData.tags).{.......var.tags.= |
1a8a40 | 20 61 44 61 74 61 2e 74 61 67 73 2e 73 70 6c 69 74 28 22 2c 20 22 29 3b 0a 20 20 20 20 20 20 2f | .aData.tags.split(",.");......./ |
1a8a60 | 2f 20 66 69 6c 74 65 72 20 6f 75 74 20 74 61 67 73 20 61 6c 72 65 61 64 79 20 70 72 65 73 65 6e | /.filter.out.tags.already.presen |
1a8a80 | 74 2c 20 73 6f 20 74 68 61 74 20 75 6e 64 6f 20 64 6f 65 73 6e 27 74 20 72 65 6d 6f 76 65 20 74 | t,.so.that.undo.doesn't.remove.t |
1a8aa0 | 68 65 6d 0a 20 20 20 20 20 20 2f 2f 20 66 72 6f 6d 20 70 72 65 2d 65 78 69 73 74 69 6e 67 20 62 | hem.......//.from.pre-existing.b |
1a8ac0 | 6f 6f 6b 6d 61 72 6b 73 0a 20 20 20 20 20 20 76 61 72 20 73 74 6f 72 65 64 54 61 67 73 20 3d 20 | ookmarks.......var.storedTags.=. |
1a8ae0 | 50 6c 61 63 65 73 55 74 69 6c 73 2e 74 61 67 67 69 6e 67 2e 67 65 74 54 61 67 73 46 6f 72 55 52 | PlacesUtils.tagging.getTagsForUR |
1a8b00 | 49 28 69 74 65 6d 55 52 4c 2c 20 7b 7d 29 3b 0a 20 20 20 20 20 20 74 61 67 73 20 3d 20 74 61 67 | I(itemURL,.{});.......tags.=.tag |
1a8b20 | 73 2e 66 69 6c 74 65 72 28 66 75 6e 63 74 69 6f 6e 20 28 61 54 61 67 29 20 7b 0a 20 20 20 20 20 | s.filter(function.(aTag).{...... |
1a8b40 | 20 20 20 72 65 74 75 72 6e 20 28 73 74 6f 72 65 64 54 61 67 73 2e 69 6e 64 65 78 4f 66 28 61 54 | ...return.(storedTags.indexOf(aT |
1a8b60 | 61 67 29 20 3d 3d 20 2d 31 29 3b 0a 20 20 20 20 20 20 7d 2c 20 74 68 69 73 29 3b 0a 20 20 20 20 | ag).==.-1);.......},.this);..... |
1a8b80 | 20 20 69 66 20 28 74 61 67 73 2e 6c 65 6e 67 74 68 29 0a 20 20 20 20 20 20 20 20 63 68 69 6c 64 | ..if.(tags.length).........child |
1a8ba0 | 54 78 6e 73 2e 70 75 73 68 28 74 68 69 73 2e 70 74 6d 2e 74 61 67 55 52 49 28 69 74 65 6d 55 52 | Txns.push(this.ptm.tagURI(itemUR |
1a8bc0 | 4c 2c 20 74 61 67 73 29 29 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 | L,.tags));.....}......return.thi |
1a8be0 | 73 2e 70 74 6d 2e 63 72 65 61 74 65 49 74 65 6d 28 69 74 65 6d 55 52 4c 2c 20 61 43 6f 6e 74 61 | s.ptm.createItem(itemURL,.aConta |
1a8c00 | 69 6e 65 72 2c 20 61 49 6e 64 65 78 2c 20 69 74 65 6d 54 69 74 6c 65 2c 20 6b 65 79 77 6f 72 64 | iner,.aIndex,.itemTitle,.keyword |
1a8c20 | 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ,............................... |
1a8c40 | 20 61 6e 6e 6f 73 2c 20 63 68 69 6c 64 54 78 6e 73 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a | .annos,.childTxns);...},..../**. |
1a8c60 | 20 20 20 2a 20 47 65 74 73 20 61 20 74 72 61 6e 73 61 63 74 69 6f 6e 20 66 6f 72 20 63 6f 70 79 | ...*.Gets.a.transaction.for.copy |
1a8c80 | 69 6e 67 20 28 72 65 63 75 72 73 69 76 65 6c 79 20 6e 65 73 74 69 6e 67 20 74 6f 20 69 6e 63 6c | ing.(recursively.nesting.to.incl |
1a8ca0 | 75 64 65 20 63 68 69 6c 64 72 65 6e 29 0a 20 20 20 2a 20 61 20 66 6f 6c 64 65 72 20 28 6f 72 20 | ude.children)....*.a.folder.(or. |
1a8cc0 | 63 6f 6e 74 61 69 6e 65 72 29 20 61 6e 64 20 69 74 73 20 63 6f 6e 74 65 6e 74 73 20 66 72 6f 6d | container).and.its.contents.from |
1a8ce0 | 20 6f 6e 65 20 66 6f 6c 64 65 72 20 74 6f 20 61 6e 6f 74 68 65 72 2e 0a 20 20 20 2a 0a 20 20 20 | .one.folder.to.another.....*.... |
1a8d00 | 2a 20 40 70 61 72 61 6d 20 20 20 61 44 61 74 61 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 55 | *.@param...aData....*..........U |
1a8d20 | 6e 77 72 61 70 70 65 64 20 64 72 6f 70 70 65 64 20 66 6f 6c 64 65 72 20 64 61 74 61 20 2d 20 4f | nwrapped.dropped.folder.data.-.O |
1a8d40 | 62 6a 20 63 6f 6e 74 61 69 6e 69 6e 67 20 66 6f 6c 64 65 72 20 61 6e 64 20 63 68 69 6c 64 72 65 | bj.containing.folder.and.childre |
1a8d60 | 6e 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 20 20 61 43 6f 6e 74 61 69 6e 65 72 0a 20 20 20 2a 20 | n....*.@param...aContainer....*. |
1a8d80 | 20 20 20 20 20 20 20 20 20 54 68 65 20 63 6f 6e 74 61 69 6e 65 72 20 77 65 20 61 72 65 20 63 6f | .........The.container.we.are.co |
1a8da0 | 70 79 69 6e 67 20 69 6e 74 6f 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 20 20 61 49 6e 64 65 78 0a | pying.into....*.@param...aIndex. |
1a8dc0 | 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 54 68 65 20 69 6e 64 65 78 20 69 6e 20 74 68 65 20 64 | ...*..........The.index.in.the.d |
1a8de0 | 65 73 74 69 6e 61 74 69 6f 6e 20 63 6f 6e 74 61 69 6e 65 72 20 74 6f 20 69 6e 73 65 72 74 20 74 | estination.container.to.insert.t |
1a8e00 | 68 65 20 6e 65 77 20 69 74 65 6d 73 0a 20 20 20 2a 20 40 72 65 74 75 72 6e 73 20 41 20 6e 73 49 | he.new.items....*.@returns.A.nsI |
1a8e20 | 54 72 61 6e 73 61 63 74 69 6f 6e 20 6f 62 6a 65 63 74 20 74 68 61 74 20 77 69 6c 6c 20 70 65 72 | Transaction.object.that.will.per |
1a8e40 | 66 6f 72 6d 20 74 68 65 20 63 6f 70 79 2e 0a 20 20 20 2a 2f 0a 20 20 5f 67 65 74 46 6f 6c 64 65 | form.the.copy.....*/..._getFolde |
1a8e60 | 72 43 6f 70 79 54 72 61 6e 73 61 63 74 69 6f 6e 3a 0a 20 20 66 75 6e 63 74 69 6f 6e 20 50 55 5f | rCopyTransaction:...function.PU_ |
1a8e80 | 5f 67 65 74 46 6f 6c 64 65 72 43 6f 70 79 54 72 61 6e 73 61 63 74 69 6f 6e 28 61 44 61 74 61 2c | _getFolderCopyTransaction(aData, |
1a8ea0 | 20 61 43 6f 6e 74 61 69 6e 65 72 2c 20 61 49 6e 64 65 78 29 20 7b 0a 20 20 20 20 76 61 72 20 73 | .aContainer,.aIndex).{.....var.s |
1a8ec0 | 65 6c 66 20 3d 20 74 68 69 73 3b 0a 20 20 20 20 66 75 6e 63 74 69 6f 6e 20 67 65 74 43 68 69 6c | elf.=.this;.....function.getChil |
1a8ee0 | 64 49 74 65 6d 73 54 72 61 6e 73 61 63 74 69 6f 6e 73 28 61 43 68 69 6c 64 72 65 6e 29 20 7b 0a | dItemsTransactions(aChildren).{. |
1a8f00 | 20 20 20 20 20 20 76 61 72 20 63 68 69 6c 64 49 74 65 6d 73 54 72 61 6e 73 61 63 74 69 6f 6e 73 | ......var.childItemsTransactions |
1a8f20 | 20 3d 20 5b 5d 3b 0a 20 20 20 20 20 20 76 61 72 20 63 63 20 3d 20 61 43 68 69 6c 64 72 65 6e 2e | .=.[];.......var.cc.=.aChildren. |
1a8f40 | 6c 65 6e 67 74 68 3b 0a 20 20 20 20 20 20 76 61 72 20 69 6e 64 65 78 20 3d 20 61 49 6e 64 65 78 | length;.......var.index.=.aIndex |
1a8f60 | 3b 0a 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 63 63 3b 20 | ;.......for.(var.i.=.0;.i.<.cc;. |
1a8f80 | 2b 2b 69 29 20 7b 0a 20 20 20 20 20 20 20 20 76 61 72 20 74 78 6e 20 3d 20 6e 75 6c 6c 3b 0a 20 | ++i).{.........var.txn.=.null;.. |
1a8fa0 | 20 20 20 20 20 20 20 76 61 72 20 6e 6f 64 65 20 3d 20 61 43 68 69 6c 64 72 65 6e 5b 69 5d 3b 0a | .......var.node.=.aChildren[i];. |
1a8fc0 | 0a 20 20 20 20 20 20 20 20 2f 2f 20 4d 61 6b 65 20 73 75 72 65 20 74 68 61 74 20 69 74 65 6d 73 | .........//.Make.sure.that.items |
1a8fe0 | 20 61 72 65 20 67 69 76 65 6e 20 74 68 65 20 63 6f 72 72 65 63 74 20 69 6e 64 65 78 2c 20 74 68 | .are.given.the.correct.index,.th |
1a9000 | 69 73 20 77 69 6c 6c 20 62 65 0a 20 20 20 20 20 20 20 20 2f 2f 20 70 61 73 73 65 64 20 62 79 20 | is.will.be.........//.passed.by. |
1a9020 | 74 68 65 20 74 72 61 6e 73 61 63 74 69 6f 6e 20 6d 61 6e 61 67 65 72 20 74 6f 20 74 68 65 20 62 | the.transaction.manager.to.the.b |
1a9040 | 61 63 6b 65 6e 64 20 66 6f 72 20 74 68 65 20 69 6e 73 65 72 74 69 6f 6e 2e 0a 20 20 20 20 20 20 | ackend.for.the.insertion........ |
1a9060 | 20 20 2f 2f 20 49 6e 73 65 72 74 69 6f 6e 20 62 65 68 61 76 65 73 20 64 69 66 66 65 72 65 6e 74 | ..//.Insertion.behaves.different |
1a9080 | 6c 79 20 69 66 20 69 6e 64 65 78 20 3d 3d 20 44 45 46 41 55 4c 54 5f 49 4e 44 45 58 20 28 61 70 | ly.if.index.==.DEFAULT_INDEX.(ap |
1a90a0 | 70 65 6e 64 29 0a 20 20 20 20 20 20 20 20 69 66 20 28 61 49 6e 64 65 78 20 21 3d 20 50 6c 61 63 | pend).........if.(aIndex.!=.Plac |
1a90c0 | 65 73 55 74 69 6c 73 2e 62 6f 6f 6b 6d 61 72 6b 73 2e 44 45 46 41 55 4c 54 5f 49 4e 44 45 58 29 | esUtils.bookmarks.DEFAULT_INDEX) |
1a90e0 | 0a 20 20 20 20 20 20 20 20 20 20 69 6e 64 65 78 20 3d 20 69 3b 0a 0a 20 20 20 20 20 20 20 20 69 | ...........index.=.i;..........i |
1a9100 | 66 20 28 6e 6f 64 65 2e 74 79 70 65 20 3d 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 54 59 50 45 | f.(node.type.==.PlacesUtils.TYPE |
1a9120 | 5f 58 5f 4d 4f 5a 5f 50 4c 41 43 45 5f 43 4f 4e 54 41 49 4e 45 52 29 20 7b 0a 20 20 20 20 20 20 | _X_MOZ_PLACE_CONTAINER).{....... |
1a9140 | 20 20 20 20 69 66 20 28 6e 6f 64 65 2e 6c 69 76 65 6d 61 72 6b 20 26 26 20 6e 6f 64 65 2e 61 6e | ....if.(node.livemark.&&.node.an |
1a9160 | 6e 6f 73 29 20 2f 2f 20 6e 6f 64 65 20 69 73 20 61 20 6c 69 76 65 6d 61 72 6b 0a 20 20 20 20 20 | nos).//.node.is.a.livemark...... |
1a9180 | 20 20 20 20 20 20 20 74 78 6e 20 3d 20 73 65 6c 66 2e 5f 67 65 74 4c 69 76 65 6d 61 72 6b 43 6f | .......txn.=.self._getLivemarkCo |
1a91a0 | 70 79 54 72 61 6e 73 61 63 74 69 6f 6e 28 6e 6f 64 65 2c 20 61 43 6f 6e 74 61 69 6e 65 72 2c 20 | pyTransaction(node,.aContainer,. |
1a91c0 | 69 6e 64 65 78 29 3b 0a 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 20 20 20 | index);...........else.......... |
1a91e0 | 20 20 20 74 78 6e 20 3d 20 73 65 6c 66 2e 5f 67 65 74 46 6f 6c 64 65 72 43 6f 70 79 54 72 61 6e | ...txn.=.self._getFolderCopyTran |
1a9200 | 73 61 63 74 69 6f 6e 28 6e 6f 64 65 2c 20 61 43 6f 6e 74 61 69 6e 65 72 2c 20 69 6e 64 65 78 29 | saction(node,.aContainer,.index) |
1a9220 | 3b 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 65 6c 73 65 20 69 66 20 28 6e 6f 64 | ;.........}.........else.if.(nod |
1a9240 | 65 2e 74 79 70 65 20 3d 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 54 59 50 45 5f 58 5f 4d 4f 5a | e.type.==.PlacesUtils.TYPE_X_MOZ |
1a9260 | 5f 50 4c 41 43 45 5f 53 45 50 41 52 41 54 4f 52 29 0a 20 20 20 20 20 20 20 20 20 20 74 78 6e 20 | _PLACE_SEPARATOR)...........txn. |
1a9280 | 3d 20 73 65 6c 66 2e 70 74 6d 2e 63 72 65 61 74 65 53 65 70 61 72 61 74 6f 72 28 2d 31 2c 20 69 | =.self.ptm.createSeparator(-1,.i |
1a92a0 | 6e 64 65 78 29 3b 0a 20 20 20 20 20 20 20 20 65 6c 73 65 20 69 66 20 28 6e 6f 64 65 2e 74 79 70 | ndex);.........else.if.(node.typ |
1a92c0 | 65 20 3d 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 54 59 50 45 5f 58 5f 4d 4f 5a 5f 50 4c 41 43 | e.==.PlacesUtils.TYPE_X_MOZ_PLAC |
1a92e0 | 45 29 0a 20 20 20 20 20 20 20 20 20 20 74 78 6e 20 3d 20 73 65 6c 66 2e 5f 67 65 74 42 6f 6f 6b | E)...........txn.=.self._getBook |
1a9300 | 6d 61 72 6b 49 74 65 6d 43 6f 70 79 54 72 61 6e 73 61 63 74 69 6f 6e 28 6e 6f 64 65 2c 20 2d 31 | markItemCopyTransaction(node,.-1 |
1a9320 | 2c 20 69 6e 64 65 78 29 3b 0a 0a 20 20 20 20 20 20 20 20 4e 53 5f 41 53 53 45 52 54 28 74 78 6e | ,.index);..........NS_ASSERT(txn |
1a9340 | 2c 20 22 55 6e 65 78 70 65 63 74 65 64 20 69 74 65 6d 20 75 6e 64 65 72 20 61 20 62 6f 6f 6b 6d | ,."Unexpected.item.under.a.bookm |
1a9360 | 61 72 6b 73 20 66 6f 6c 64 65 72 22 29 3b 0a 20 20 20 20 20 20 20 20 69 66 20 28 74 78 6e 29 0a | arks.folder");.........if.(txn). |
1a9380 | 20 20 20 20 20 20 20 20 20 20 63 68 69 6c 64 49 74 65 6d 73 54 72 61 6e 73 61 63 74 69 6f 6e 73 | ..........childItemsTransactions |
1a93a0 | 2e 70 75 73 68 28 74 78 6e 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 72 65 74 75 72 6e | .push(txn);.......}.......return |
1a93c0 | 20 63 68 69 6c 64 49 74 65 6d 73 54 72 61 6e 73 61 63 74 69 6f 6e 73 3b 0a 20 20 20 20 7d 0a 0a | .childItemsTransactions;.....}.. |
1a93e0 | 20 20 20 20 2f 2f 20 74 61 67 20 66 6f 6c 64 65 72 73 20 75 73 65 20 74 61 67 20 74 72 61 6e 73 | ....//.tag.folders.use.tag.trans |
1a9400 | 61 63 74 69 6f 6e 73 0a 20 20 20 20 69 66 20 28 61 43 6f 6e 74 61 69 6e 65 72 20 3d 3d 20 50 6c | actions.....if.(aContainer.==.Pl |
1a9420 | 61 63 65 73 55 74 69 6c 73 2e 62 6f 6f 6b 6d 61 72 6b 73 2e 74 61 67 73 46 6f 6c 64 65 72 29 20 | acesUtils.bookmarks.tagsFolder). |
1a9440 | 7b 0a 20 20 20 20 20 20 76 61 72 20 74 78 6e 73 20 3d 20 5b 5d 3b 0a 20 20 20 20 20 20 69 66 20 | {.......var.txns.=.[];.......if. |
1a9460 | 28 61 44 61 74 61 2e 63 68 69 6c 64 72 65 6e 29 20 7b 0a 20 20 20 20 20 20 20 20 61 44 61 74 61 | (aData.children).{.........aData |
1a9480 | 2e 63 68 69 6c 64 72 65 6e 2e 66 6f 72 45 61 63 68 28 66 75 6e 63 74 69 6f 6e 28 61 43 68 69 6c | .children.forEach(function(aChil |
1a94a0 | 64 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 74 78 6e 73 2e 70 75 73 68 28 74 68 69 73 2e 70 74 | d).{...........txns.push(this.pt |
1a94c0 | 6d 2e 74 61 67 55 52 49 28 50 6c 61 63 65 73 55 74 69 6c 73 2e 5f 75 72 69 28 61 43 68 69 6c 64 | m.tagURI(PlacesUtils._uri(aChild |
1a94e0 | 2e 75 72 69 29 2c 20 5b 61 44 61 74 61 2e 74 69 74 6c 65 5d 29 29 3b 0a 20 20 20 20 20 20 20 20 | .uri),.[aData.title]));......... |
1a9500 | 7d 2c 20 74 68 69 73 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 | },.this);.......}.......return.t |
1a9520 | 68 69 73 2e 70 74 6d 2e 61 67 67 72 65 67 61 74 65 54 72 61 6e 73 61 63 74 69 6f 6e 73 28 22 61 | his.ptm.aggregateTransactions("a |
1a9540 | 64 64 54 61 67 73 22 2c 20 74 78 6e 73 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 65 6c 73 65 20 69 | ddTags",.txns);.....}.....else.i |
1a9560 | 66 20 28 61 44 61 74 61 2e 6c 69 76 65 6d 61 72 6b 20 26 26 20 61 44 61 74 61 2e 61 6e 6e 6f 73 | f.(aData.livemark.&&.aData.annos |
1a9580 | 29 20 7b 0a 20 20 20 20 20 20 2f 2f 20 50 6c 61 63 65 20 69 73 20 61 20 4c 69 76 65 6d 61 72 6b | ).{.......//.Place.is.a.Livemark |
1a95a0 | 20 43 6f 6e 74 61 69 6e 65 72 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 67 65 | .Container.......return.this._ge |
1a95c0 | 74 4c 69 76 65 6d 61 72 6b 43 6f 70 79 54 72 61 6e 73 61 63 74 69 6f 6e 28 61 44 61 74 61 2c 20 | tLivemarkCopyTransaction(aData,. |
1a95e0 | 61 43 6f 6e 74 61 69 6e 65 72 2c 20 61 49 6e 64 65 78 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 65 | aContainer,.aIndex);.....}.....e |
1a9600 | 6c 73 65 20 7b 0a 20 20 20 20 20 20 76 61 72 20 63 68 69 6c 64 49 74 65 6d 73 20 3d 20 67 65 74 | lse.{.......var.childItems.=.get |
1a9620 | 43 68 69 6c 64 49 74 65 6d 73 54 72 61 6e 73 61 63 74 69 6f 6e 73 28 61 44 61 74 61 2e 63 68 69 | ChildItemsTransactions(aData.chi |
1a9640 | 6c 64 72 65 6e 29 3b 0a 20 20 20 20 20 20 69 66 20 28 61 44 61 74 61 2e 64 61 74 65 41 64 64 65 | ldren);.......if.(aData.dateAdde |
1a9660 | 64 29 0a 20 20 20 20 20 20 20 20 63 68 69 6c 64 49 74 65 6d 73 2e 70 75 73 68 28 74 68 69 73 2e | d).........childItems.push(this. |
1a9680 | 70 74 6d 2e 65 64 69 74 49 74 65 6d 44 61 74 65 41 64 64 65 64 28 6e 75 6c 6c 2c 20 61 44 61 74 | ptm.editItemDateAdded(null,.aDat |
1a96a0 | 61 2e 64 61 74 65 41 64 64 65 64 29 29 3b 0a 20 20 20 20 20 20 69 66 20 28 61 44 61 74 61 2e 6c | a.dateAdded));.......if.(aData.l |
1a96c0 | 61 73 74 4d 6f 64 69 66 69 65 64 29 0a 20 20 20 20 20 20 20 20 63 68 69 6c 64 49 74 65 6d 73 2e | astModified).........childItems. |
1a96e0 | 70 75 73 68 28 74 68 69 73 2e 70 74 6d 2e 65 64 69 74 49 74 65 6d 4c 61 73 74 4d 6f 64 69 66 69 | push(this.ptm.editItemLastModifi |
1a9700 | 65 64 28 6e 75 6c 6c 2c 20 61 44 61 74 61 2e 6c 61 73 74 4d 6f 64 69 66 69 65 64 29 29 3b 0a 0a | ed(null,.aData.lastModified));.. |
1a9720 | 20 20 20 20 20 20 76 61 72 20 61 6e 6e 6f 73 20 3d 20 61 44 61 74 61 2e 61 6e 6e 6f 73 20 7c 7c | ......var.annos.=.aData.annos.|| |
1a9740 | 20 5b 5d 3b 0a 20 20 20 20 20 20 61 6e 6e 6f 73 20 3d 20 61 6e 6e 6f 73 2e 66 69 6c 74 65 72 28 | .[];.......annos.=.annos.filter( |
1a9760 | 66 75 6e 63 74 69 6f 6e 28 61 41 6e 6e 6f 29 20 7b 0a 20 20 20 20 20 20 20 20 2f 2f 20 61 6c 77 | function(aAnno).{.........//.alw |
1a9780 | 61 79 73 20 65 78 63 6c 75 64 65 20 47 55 49 44 20 77 68 65 6e 20 63 6f 70 79 69 6e 67 20 61 6e | ays.exclude.GUID.when.copying.an |
1a97a0 | 79 20 69 74 65 6d 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 61 41 6e 6e 6f 2e 6e 61 6d 65 | y.item.........return.aAnno.name |
1a97c0 | 20 21 3d 20 47 55 49 44 5f 41 4e 4e 4f 3b 0a 20 20 20 20 20 20 7d 29 3b 0a 20 20 20 20 20 20 72 | .!=.GUID_ANNO;.......});.......r |
1a97e0 | 65 74 75 72 6e 20 74 68 69 73 2e 70 74 6d 2e 63 72 65 61 74 65 46 6f 6c 64 65 72 28 61 44 61 74 | eturn.this.ptm.createFolder(aDat |
1a9800 | 61 2e 74 69 74 6c 65 2c 20 61 43 6f 6e 74 61 69 6e 65 72 2c 20 61 49 6e 64 65 78 2c 20 61 6e 6e | a.title,.aContainer,.aIndex,.ann |
1a9820 | 6f 73 2c 20 63 68 69 6c 64 49 74 65 6d 73 29 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 5f | os,.childItems);.....}...},...._ |
1a9840 | 67 65 74 4c 69 76 65 6d 61 72 6b 43 6f 70 79 54 72 61 6e 73 61 63 74 69 6f 6e 3a 0a 20 20 66 75 | getLivemarkCopyTransaction:...fu |
1a9860 | 6e 63 74 69 6f 6e 20 50 55 5f 5f 67 65 74 4c 69 76 65 6d 61 72 6b 43 6f 70 79 54 72 61 6e 73 61 | nction.PU__getLivemarkCopyTransa |
1a9880 | 63 74 69 6f 6e 28 61 44 61 74 61 2c 20 61 43 6f 6e 74 61 69 6e 65 72 2c 20 61 49 6e 64 65 78 29 | ction(aData,.aContainer,.aIndex) |
1a98a0 | 20 7b 0a 20 20 20 20 4e 53 5f 41 53 53 45 52 54 28 61 44 61 74 61 2e 6c 69 76 65 6d 61 72 6b 20 | .{.....NS_ASSERT(aData.livemark. |
1a98c0 | 26 26 20 61 44 61 74 61 2e 61 6e 6e 6f 73 2c 20 22 6e 6f 64 65 20 69 73 20 6e 6f 74 20 61 20 6c | &&.aData.annos,."node.is.not.a.l |
1a98e0 | 69 76 65 6d 61 72 6b 22 29 3b 0a 20 20 20 20 2f 2f 20 50 6c 61 63 65 20 69 73 20 61 20 4c 69 76 | ivemark");.....//.Place.is.a.Liv |
1a9900 | 65 6d 61 72 6b 20 43 6f 6e 74 61 69 6e 65 72 0a 20 20 20 20 76 61 72 20 66 65 65 64 55 52 49 20 | emark.Container.....var.feedURI. |
1a9920 | 3d 20 6e 75 6c 6c 3b 0a 20 20 20 20 76 61 72 20 73 69 74 65 55 52 49 20 3d 20 6e 75 6c 6c 3b 0a | =.null;.....var.siteURI.=.null;. |
1a9940 | 20 20 20 20 61 44 61 74 61 2e 61 6e 6e 6f 73 20 3d 20 61 44 61 74 61 2e 61 6e 6e 6f 73 2e 66 69 | ....aData.annos.=.aData.annos.fi |
1a9960 | 6c 74 65 72 28 66 75 6e 63 74 69 6f 6e 28 61 41 6e 6e 6f 29 20 7b 0a 20 20 20 20 20 20 69 66 20 | lter(function(aAnno).{.......if. |
1a9980 | 28 61 41 6e 6e 6f 2e 6e 61 6d 65 20 3d 3d 20 4c 4d 41 4e 4e 4f 5f 46 45 45 44 55 52 49 29 20 7b | (aAnno.name.==.LMANNO_FEEDURI).{ |
1a99a0 | 0a 20 20 20 20 20 20 20 20 66 65 65 64 55 52 49 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 5f | .........feedURI.=.PlacesUtils._ |
1a99c0 | 75 72 69 28 61 41 6e 6e 6f 2e 76 61 6c 75 65 29 3b 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e | uri(aAnno.value);.........return |
1a99e0 | 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 65 6c 73 65 20 69 66 20 28 61 | .false;.......}.......else.if.(a |
1a9a00 | 41 6e 6e 6f 2e 6e 61 6d 65 20 3d 3d 20 4c 4d 41 4e 4e 4f 5f 53 49 54 45 55 52 49 29 20 7b 0a 20 | Anno.name.==.LMANNO_SITEURI).{.. |
1a9a20 | 20 20 20 20 20 20 20 73 69 74 65 55 52 49 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 5f 75 72 | .......siteURI.=.PlacesUtils._ur |
1a9a40 | 69 28 61 41 6e 6e 6f 2e 76 61 6c 75 65 29 3b 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 66 | i(aAnno.value);.........return.f |
1a9a60 | 61 6c 73 65 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 2f 2f 20 61 6c 77 61 79 73 20 65 78 | alse;.......}.......//.always.ex |
1a9a80 | 63 6c 75 64 65 20 47 55 49 44 20 77 68 65 6e 20 63 6f 70 79 69 6e 67 20 61 6e 79 20 69 74 65 6d | clude.GUID.when.copying.any.item |
1a9aa0 | 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 61 41 6e 6e 6f 2e 6e 61 6d 65 20 21 3d 20 47 55 49 44 | .......return.aAnno.name.!=.GUID |
1a9ac0 | 5f 41 4e 4e 4f 3b 0a 20 20 20 20 7d 29 3b 0a 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 70 | _ANNO;.....});.....return.this.p |
1a9ae0 | 74 6d 2e 63 72 65 61 74 65 4c 69 76 65 6d 61 72 6b 28 66 65 65 64 55 52 49 2c 20 73 69 74 65 55 | tm.createLivemark(feedURI,.siteU |
1a9b00 | 52 49 2c 20 61 44 61 74 61 2e 74 69 74 6c 65 2c 20 61 43 6f 6e 74 61 69 6e 65 72 2c 0a 20 20 20 | RI,.aData.title,.aContainer,.... |
1a9b20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
1a9b40 | 61 49 6e 64 65 78 2c 20 61 44 61 74 61 2e 61 6e 6e 6f 73 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a | aIndex,.aData.annos);...},..../* |
1a9b60 | 2a 0a 20 20 20 2a 20 43 6f 6e 73 74 72 75 63 74 73 20 61 20 54 72 61 6e 73 61 63 74 69 6f 6e 20 | *....*.Constructs.a.Transaction. |
1a9b80 | 66 6f 72 20 74 68 65 20 64 72 6f 70 20 6f 72 20 70 61 73 74 65 20 6f 66 20 61 20 62 6c 6f 62 20 | for.the.drop.or.paste.of.a.blob. |
1a9ba0 | 6f 66 20 64 61 74 61 20 69 6e 74 6f 0a 20 20 20 2a 20 61 20 63 6f 6e 74 61 69 6e 65 72 2e 0a 20 | of.data.into....*.a.container... |
1a9bc0 | 20 20 2a 20 40 70 61 72 61 6d 20 20 20 64 61 74 61 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 | ..*.@param...data....*.......... |
1a9be0 | 54 68 65 20 75 6e 77 72 61 70 70 65 64 20 64 61 74 61 20 62 6c 6f 62 20 6f 66 20 64 72 6f 70 70 | The.unwrapped.data.blob.of.dropp |
1a9c00 | 65 64 20 6f 72 20 70 61 73 74 65 64 20 64 61 74 61 2e 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 20 | ed.or.pasted.data.....*.@param.. |
1a9c20 | 20 74 79 70 65 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 54 68 65 20 63 6f 6e 74 65 6e 74 20 | .type....*..........The.content. |
1a9c40 | 74 79 70 65 20 6f 66 20 74 68 65 20 64 61 74 61 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 20 20 63 | type.of.the.data....*.@param...c |
1a9c60 | 6f 6e 74 61 69 6e 65 72 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 54 68 65 20 63 6f 6e 74 61 | ontainer....*..........The.conta |
1a9c80 | 69 6e 65 72 20 74 68 65 20 64 61 74 61 20 77 61 73 20 64 72 6f 70 70 65 64 20 6f 72 20 70 61 73 | iner.the.data.was.dropped.or.pas |
1a9ca0 | 74 65 64 20 69 6e 74 6f 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 20 20 69 6e 64 65 78 0a 20 20 20 | ted.into....*.@param...index.... |
1a9cc0 | 2a 20 20 20 20 20 20 20 20 20 20 54 68 65 20 69 6e 64 65 78 20 77 69 74 68 69 6e 20 74 68 65 20 | *..........The.index.within.the. |
1a9ce0 | 63 6f 6e 74 61 69 6e 65 72 20 74 68 65 20 69 74 65 6d 20 77 61 73 20 64 72 6f 70 70 65 64 20 6f | container.the.item.was.dropped.o |
1a9d00 | 72 20 70 61 73 74 65 64 20 61 74 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 20 20 63 6f 70 79 0a 20 | r.pasted.at....*.@param...copy.. |
1a9d20 | 20 20 2a 20 20 20 20 20 20 20 20 20 20 54 68 65 20 64 72 61 67 20 61 63 74 69 6f 6e 20 77 61 73 | ..*..........The.drag.action.was |
1a9d40 | 20 63 6f 70 79 2c 20 73 6f 20 64 6f 6e 27 74 20 6d 6f 76 65 20 66 6f 6c 64 65 72 73 20 6f 72 20 | .copy,.so.don't.move.folders.or. |
1a9d60 | 6c 69 6e 6b 73 2e 0a 20 20 20 2a 20 40 72 65 74 75 72 6e 73 20 41 6e 20 6f 62 6a 65 63 74 20 69 | links.....*.@returns.An.object.i |
1a9d80 | 6d 70 6c 65 6d 65 6e 74 69 6e 67 20 6e 73 49 54 72 61 6e 73 61 63 74 69 6f 6e 20 74 68 61 74 20 | mplementing.nsITransaction.that. |
1a9da0 | 63 61 6e 20 70 65 72 66 6f 72 6d 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 74 68 65 20 6d 6f | can.perform....*..........the.mo |
1a9dc0 | 76 65 2f 69 6e 73 65 72 74 2e 0a 20 20 20 2a 2f 0a 20 20 6d 61 6b 65 54 72 61 6e 73 61 63 74 69 | ve/insert.....*/...makeTransacti |
1a9de0 | 6f 6e 3a 20 66 75 6e 63 74 69 6f 6e 20 50 55 5f 6d 61 6b 65 54 72 61 6e 73 61 63 74 69 6f 6e 28 | on:.function.PU_makeTransaction( |
1a9e00 | 64 61 74 61 2c 20 74 79 70 65 2c 20 63 6f 6e 74 61 69 6e 65 72 2c 0a 20 20 20 20 20 20 20 20 20 | data,.type,.container,.......... |
1a9e20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
1a9e40 | 20 20 20 20 20 20 69 6e 64 65 78 2c 20 63 6f 70 79 29 20 7b 0a 20 20 20 20 73 77 69 74 63 68 20 | ......index,.copy).{.....switch. |
1a9e60 | 28 64 61 74 61 2e 74 79 70 65 29 20 7b 0a 20 20 20 20 20 20 63 61 73 65 20 50 6c 61 63 65 73 55 | (data.type).{.......case.PlacesU |
1a9e80 | 74 69 6c 73 2e 54 59 50 45 5f 58 5f 4d 4f 5a 5f 50 4c 41 43 45 5f 43 4f 4e 54 41 49 4e 45 52 3a | tils.TYPE_X_MOZ_PLACE_CONTAINER: |
1a9ea0 | 0a 20 20 20 20 20 20 20 20 69 66 20 28 63 6f 70 79 29 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 | .........if.(copy)...........ret |
1a9ec0 | 75 72 6e 20 74 68 69 73 2e 5f 67 65 74 46 6f 6c 64 65 72 43 6f 70 79 54 72 61 6e 73 61 63 74 69 | urn.this._getFolderCopyTransacti |
1a9ee0 | 6f 6e 28 64 61 74 61 2c 20 63 6f 6e 74 61 69 6e 65 72 2c 20 69 6e 64 65 78 29 3b 0a 20 20 20 20 | on(data,.container,.index);..... |
1a9f00 | 20 20 20 20 65 6c 73 65 20 7b 20 2f 2f 20 4d 6f 76 65 20 74 68 65 20 69 74 65 6d 0a 20 20 20 20 | ....else.{.//.Move.the.item..... |
1a9f20 | 20 20 20 20 20 20 76 61 72 20 69 64 20 3d 20 64 61 74 61 2e 66 6f 6c 64 65 72 20 3f 20 64 61 74 | ......var.id.=.data.folder.?.dat |
1a9f40 | 61 2e 66 6f 6c 64 65 72 2e 69 64 20 3a 20 64 61 74 61 2e 69 64 3b 0a 20 20 20 20 20 20 20 20 20 | a.folder.id.:.data.id;.......... |
1a9f60 | 20 72 65 74 75 72 6e 20 74 68 69 73 2e 70 74 6d 2e 6d 6f 76 65 49 74 65 6d 28 69 64 2c 20 63 6f | .return.this.ptm.moveItem(id,.co |
1a9f80 | 6e 74 61 69 6e 65 72 2c 20 69 6e 64 65 78 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 | ntainer,.index);.........}...... |
1a9fa0 | 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 63 61 73 65 20 50 6c 61 63 65 73 55 74 69 6c 73 | ...break;.......case.PlacesUtils |
1a9fc0 | 2e 54 59 50 45 5f 58 5f 4d 4f 5a 5f 50 4c 41 43 45 3a 0a 20 20 20 20 20 20 20 20 69 66 20 28 64 | .TYPE_X_MOZ_PLACE:.........if.(d |
1a9fe0 | 61 74 61 2e 69 64 20 3c 3d 20 30 29 20 2f 2f 20 6e 6f 6e 2d 62 6f 6f 6b 6d 61 72 6b 20 69 74 65 | ata.id.<=.0).//.non-bookmark.ite |
1aa000 | 6d 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 67 65 74 55 52 49 49 | m...........return.this._getURII |
1aa020 | 74 65 6d 43 6f 70 79 54 72 61 6e 73 61 63 74 69 6f 6e 28 64 61 74 61 2c 20 63 6f 6e 74 61 69 6e | temCopyTransaction(data,.contain |
1aa040 | 65 72 2c 20 69 6e 64 65 78 29 3b 0a 20 20 0a 20 20 20 20 20 20 20 20 69 66 20 28 63 6f 70 79 29 | er,.index);............if.(copy) |
1aa060 | 20 7b 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 43 6f 70 79 69 6e 67 20 61 20 63 68 69 6c 64 20 | .{...........//.Copying.a.child. |
1aa080 | 6f 66 20 61 20 6c 69 76 65 2d 62 6f 6f 6b 6d 61 72 6b 20 62 79 20 69 74 73 65 6c 66 20 73 68 6f | of.a.live-bookmark.by.itself.sho |
1aa0a0 | 75 6c 64 20 72 65 73 75 6c 74 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 61 73 20 61 20 6e 65 77 | uld.result...........//.as.a.new |
1aa0c0 | 20 6e 6f 72 6d 61 6c 20 62 6f 6f 6b 6d 61 72 6b 20 69 74 65 6d 20 28 62 75 67 20 33 37 36 37 33 | .normal.bookmark.item.(bug.37673 |
1aa0e0 | 31 29 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 67 65 74 42 6f 6f | 1)...........return.this._getBoo |
1aa100 | 6b 6d 61 72 6b 49 74 65 6d 43 6f 70 79 54 72 61 6e 73 61 63 74 69 6f 6e 28 64 61 74 61 2c 20 63 | kmarkItemCopyTransaction(data,.c |
1aa120 | 6f 6e 74 61 69 6e 65 72 2c 20 69 6e 64 65 78 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ontainer,.index,................ |
1aa140 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
1aa160 | 20 20 20 20 20 20 20 5b 22 6c 69 76 65 6d 61 72 6b 2f 62 6f 6f 6b 6d 61 72 6b 46 65 65 64 55 52 | .......["livemark/bookmarkFeedUR |
1aa180 | 49 22 5d 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 65 6c 73 65 0a 20 20 20 | I"]);.........}.........else.... |
1aa1a0 | 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 70 74 6d 2e 6d 6f 76 65 49 74 65 6d 28 | .......return.this.ptm.moveItem( |
1aa1c0 | 64 61 74 61 2e 69 64 2c 20 63 6f 6e 74 61 69 6e 65 72 2c 20 69 6e 64 65 78 29 3b 0a 20 20 20 20 | data.id,.container,.index);..... |
1aa1e0 | 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 63 61 73 65 20 50 6c 61 63 65 73 55 74 69 6c | ....break;.......case.PlacesUtil |
1aa200 | 73 2e 54 59 50 45 5f 58 5f 4d 4f 5a 5f 50 4c 41 43 45 5f 53 45 50 41 52 41 54 4f 52 3a 0a 20 20 | s.TYPE_X_MOZ_PLACE_SEPARATOR:... |
1aa220 | 20 20 20 20 20 20 2f 2f 20 54 68 65 72 65 20 69 73 20 6e 6f 20 64 61 74 61 20 69 6e 20 61 20 73 | ......//.There.is.no.data.in.a.s |
1aa240 | 65 70 61 72 61 74 6f 72 2c 20 73 6f 20 63 6f 70 79 69 6e 67 20 69 74 20 6a 75 73 74 20 61 6d 6f | eparator,.so.copying.it.just.amo |
1aa260 | 75 6e 74 73 20 74 6f 0a 20 20 20 20 20 20 20 20 2f 2f 20 69 6e 73 65 72 74 69 6e 67 20 61 20 6e | unts.to.........//.inserting.a.n |
1aa280 | 65 77 20 73 65 70 61 72 61 74 6f 72 2e 0a 20 20 20 20 20 20 20 20 69 66 20 28 63 6f 70 79 29 0a | ew.separator..........if.(copy). |
1aa2a0 | 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 70 74 6d 2e 63 72 65 61 74 65 | ..........return.this.ptm.create |
1aa2c0 | 53 65 70 61 72 61 74 6f 72 28 63 6f 6e 74 61 69 6e 65 72 2c 20 69 6e 64 65 78 29 3b 0a 20 20 20 | Separator(container,.index);.... |
1aa2e0 | 20 20 20 20 20 2f 2f 20 4d 6f 76 65 20 74 68 65 20 73 65 70 61 72 61 74 6f 72 20 6f 74 68 65 72 | .....//.Move.the.separator.other |
1aa300 | 77 69 73 65 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 70 74 6d 2e 6d 6f 76 | wise.........return.this.ptm.mov |
1aa320 | 65 49 74 65 6d 28 64 61 74 61 2e 69 64 2c 20 63 6f 6e 74 61 69 6e 65 72 2c 20 69 6e 64 65 78 29 | eItem(data.id,.container,.index) |
1aa340 | 3b 0a 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 64 65 66 61 75 6c 74 3a 0a | ;.........break;.......default:. |
1aa360 | 20 20 20 20 20 20 20 20 69 66 20 28 74 79 70 65 20 3d 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e | ........if.(type.==.PlacesUtils. |
1aa380 | 54 59 50 45 5f 58 5f 4d 4f 5a 5f 55 52 4c 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 79 | TYPE_X_MOZ_URL.||.............ty |
1aa3a0 | 70 65 20 3d 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 54 59 50 45 5f 55 4e 49 43 4f 44 45 20 7c | pe.==.PlacesUtils.TYPE_UNICODE.| |
1aa3c0 | 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 79 70 65 20 3d 3d 20 54 41 42 5f 44 52 4f 50 5f 54 | |.............type.==.TAB_DROP_T |
1aa3e0 | 59 50 45 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 74 69 74 6c 65 20 3d 20 28 74 79 | YPE).{...........var.title.=.(ty |
1aa400 | 70 65 20 21 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 54 59 50 45 5f 55 4e 49 43 4f 44 45 29 20 | pe.!=.PlacesUtils.TYPE_UNICODE). |
1aa420 | 3f 20 64 61 74 61 2e 74 69 74 6c 65 20 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ?.data.title.:.................. |
1aa440 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
1aa460 | 20 20 20 20 20 20 20 20 20 20 20 20 64 61 74 61 2e 75 72 69 3b 0a 20 20 20 20 20 20 20 20 20 20 | ............data.uri;........... |
1aa480 | 72 65 74 75 72 6e 20 74 68 69 73 2e 70 74 6d 2e 63 72 65 61 74 65 49 74 65 6d 28 50 6c 61 63 65 | return.this.ptm.createItem(Place |
1aa4a0 | 73 55 74 69 6c 73 2e 5f 75 72 69 28 64 61 74 61 2e 75 72 69 29 2c 0a 20 20 20 20 20 20 20 20 20 | sUtils._uri(data.uri),.......... |
1aa4c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6e 74 | ............................cont |
1aa4e0 | 61 69 6e 65 72 2c 20 69 6e 64 65 78 2c 20 74 69 74 6c 65 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a | ainer,.index,.title);.........}. |
1aa500 | 20 20 20 20 7d 0a 20 20 20 20 72 65 74 75 72 6e 20 6e 75 6c 6c 3b 0a 20 20 7d 2c 0a 0a 20 20 2f | ....}.....return.null;...},..../ |
1aa520 | 2a 2a 0a 20 20 20 2a 20 4d 65 74 68 6f 64 73 20 74 6f 20 73 68 6f 77 20 74 68 65 20 62 6f 6f 6b | **....*.Methods.to.show.the.book |
1aa540 | 6d 61 72 6b 50 72 6f 70 65 72 74 69 65 73 20 64 69 61 6c 6f 67 20 69 6e 20 69 74 73 20 76 61 72 | markProperties.dialog.in.its.var |
1aa560 | 69 6f 75 73 20 6d 6f 64 65 73 2e 0a 20 20 20 2a 0a 20 20 20 2a 20 54 68 65 20 73 68 6f 77 4d 69 | ious.modes.....*....*.The.showMi |
1aa580 | 6e 69 6d 61 6c 41 64 64 2a 20 6d 65 74 68 6f 64 73 20 6f 70 65 6e 20 74 68 65 20 64 69 61 6c 6f | nimalAdd*.methods.open.the.dialo |
1aa5a0 | 67 20 62 79 20 69 74 73 20 61 6c 74 65 72 6e 61 74 69 76 65 20 55 52 49 2e 20 54 68 75 73 0a 20 | g.by.its.alternative.URI..Thus.. |
1aa5c0 | 20 20 2a 20 74 68 65 79 20 70 65 72 73 69 73 74 20 74 68 65 20 64 69 61 6c 6f 67 20 64 69 6d 65 | ..*.they.persist.the.dialog.dime |
1aa5e0 | 6e 73 69 6f 6e 73 20 73 65 70 61 72 61 74 65 6c 79 20 66 72 6f 6d 20 74 68 65 20 73 68 6f 77 41 | nsions.separately.from.the.showA |
1aa600 | 64 64 2a 20 6d 65 74 68 6f 64 73 2e 0a 20 20 20 2a 20 4e 6f 74 65 20 74 68 65 73 65 20 76 61 72 | dd*.methods.....*.Note.these.var |
1aa620 | 69 61 6e 74 73 20 61 6c 73 6f 20 64 6f 20 6e 6f 74 20 72 65 74 75 72 6e 20 74 68 65 20 64 69 61 | iants.also.do.not.return.the.dia |
1aa640 | 6c 6f 67 20 22 70 65 72 66 6f 72 6d 65 64 22 20 73 74 61 74 65 20 73 69 6e 63 65 0a 20 20 20 2a | log."performed".state.since....* |
1aa660 | 20 74 68 65 79 20 6d 61 79 20 6e 6f 74 20 6f 70 65 6e 20 74 68 65 20 64 69 61 6c 6f 67 20 6d 6f | .they.may.not.open.the.dialog.mo |
1aa680 | 64 61 6c 6c 79 2e 0a 20 20 20 2a 2f 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 53 68 6f 77 73 20 74 | dally.....*/..../**....*.Shows.t |
1aa6a0 | 68 65 20 22 41 64 64 20 42 6f 6f 6b 6d 61 72 6b 22 20 64 69 61 6c 6f 67 2e 0a 20 20 20 2a 0a 20 | he."Add.Bookmark".dialog.....*.. |
1aa6c0 | 20 20 2a 20 40 70 61 72 61 6d 20 5b 6f 70 74 69 6f 6e 61 6c 5d 20 61 55 52 49 0a 20 20 20 2a 20 | ..*.@param.[optional].aURI....*. |
1aa6e0 | 20 20 20 20 20 20 20 41 6e 20 6e 73 49 55 52 49 20 6f 62 6a 65 63 74 20 66 6f 72 20 77 68 69 63 | .......An.nsIURI.object.for.whic |
1aa700 | 68 20 74 68 65 20 22 61 64 64 20 62 6f 6f 6b 6d 61 72 6b 22 20 64 69 61 6c 6f 67 20 69 73 0a 20 | h.the."add.bookmark".dialog.is.. |
1aa720 | 20 20 2a 20 20 20 20 20 20 20 20 74 6f 20 62 65 20 73 68 6f 77 6e 2e 0a 20 20 20 2a 20 40 70 61 | ..*........to.be.shown.....*.@pa |
1aa740 | 72 61 6d 20 5b 6f 70 74 69 6f 6e 61 6c 5d 20 61 54 69 74 6c 65 0a 20 20 20 2a 20 20 20 20 20 20 | ram.[optional].aTitle....*...... |
1aa760 | 20 20 54 68 65 20 64 65 66 61 75 6c 74 20 74 69 74 6c 65 20 66 6f 72 20 74 68 65 20 6e 65 77 20 | ..The.default.title.for.the.new. |
1aa780 | 62 6f 6f 6b 6d 61 72 6b 2e 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 5b 6f 70 74 69 6f 6e 61 6c 5d | bookmark.....*.@param.[optional] |
1aa7a0 | 20 61 44 65 73 63 72 69 70 74 69 6f 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 54 68 65 20 64 65 | .aDescription.............The.de |
1aa7c0 | 66 61 75 6c 74 20 64 65 73 63 72 69 70 74 69 6f 6e 20 66 6f 72 20 74 68 65 20 6e 65 77 20 62 6f | fault.description.for.the.new.bo |
1aa7e0 | 6f 6b 6d 61 72 6b 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 5b 6f 70 74 69 6f 6e 61 6c 5d 20 61 44 | okmark....*.@param.[optional].aD |
1aa800 | 65 66 61 75 6c 74 49 6e 73 65 72 74 69 6f 6e 50 6f 69 6e 74 0a 20 20 20 2a 20 20 20 20 20 20 20 | efaultInsertionPoint....*....... |
1aa820 | 20 54 68 65 20 64 65 66 61 75 6c 74 20 69 6e 73 65 72 74 69 6f 6e 20 70 6f 69 6e 74 20 66 6f 72 | .The.default.insertion.point.for |
1aa840 | 20 74 68 65 20 6e 65 77 20 69 74 65 6d 2e 20 49 66 20 73 65 74 2c 20 74 68 65 20 66 6f 6c 64 65 | .the.new.item..If.set,.the.folde |
1aa860 | 72 0a 20 20 20 2a 20 20 20 20 20 20 20 20 70 69 63 6b 65 72 20 77 6f 75 6c 64 20 62 65 20 68 69 | r....*........picker.would.be.hi |
1aa880 | 64 64 65 6e 20 75 6e 6c 65 73 73 20 61 53 68 6f 77 50 69 63 6b 65 72 20 69 73 20 73 65 74 20 74 | dden.unless.aShowPicker.is.set.t |
1aa8a0 | 6f 20 74 72 75 65 2c 20 69 6e 20 77 68 69 63 68 0a 20 20 20 2a 20 20 20 20 20 20 20 20 63 61 73 | o.true,.in.which....*........cas |
1aa8c0 | 65 20 74 68 65 20 64 69 61 6c 6f 67 20 6f 6e 6c 79 20 75 73 65 73 20 74 68 65 20 66 6f 6c 64 65 | e.the.dialog.only.uses.the.folde |
1aa8e0 | 72 20 69 64 65 6e 74 69 66 69 65 72 20 66 72 6f 6d 20 74 68 65 20 69 6e 73 65 72 74 69 6f 6e 0a | r.identifier.from.the.insertion. |
1aa900 | 20 20 20 2a 20 20 20 20 20 20 20 20 70 6f 69 6e 74 20 61 73 20 74 68 65 20 69 6e 69 74 69 61 6c | ...*........point.as.the.initial |
1aa920 | 6c 79 20 73 65 6c 65 63 74 65 64 20 69 74 65 6d 20 69 6e 20 74 68 65 20 66 6f 6c 64 65 72 20 70 | ly.selected.item.in.the.folder.p |
1aa940 | 69 63 6b 65 72 2e 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 5b 6f 70 74 69 6f 6e 61 6c 5d 20 61 53 | icker.....*.@param.[optional].aS |
1aa960 | 68 6f 77 50 69 63 6b 65 72 0a 20 20 20 2a 20 20 20 20 20 20 20 20 73 65 65 20 61 62 6f 76 65 0a | howPicker....*........see.above. |
1aa980 | 20 20 20 2a 20 40 70 61 72 61 6d 20 5b 6f 70 74 69 6f 6e 61 6c 5d 20 61 4c 6f 61 64 49 6e 53 69 | ...*.@param.[optional].aLoadInSi |
1aa9a0 | 64 65 62 61 72 0a 20 20 20 2a 20 20 20 20 20 20 20 20 49 66 20 74 72 75 65 2c 20 74 68 65 20 64 | debar....*........If.true,.the.d |
1aa9c0 | 69 61 6c 6f 67 20 77 69 6c 6c 20 64 65 66 61 75 6c 74 20 74 6f 20 6c 6f 61 64 20 74 68 65 20 6e | ialog.will.default.to.load.the.n |
1aa9e0 | 65 77 20 69 74 65 6d 20 69 6e 20 74 68 65 0a 20 20 20 2a 20 20 20 20 20 20 20 20 73 69 64 65 62 | ew.item.in.the....*........sideb |
1aaa00 | 61 72 20 28 61 73 20 61 20 77 65 62 20 70 61 6e 65 6c 29 2e 0a 20 20 20 2a 20 40 70 61 72 61 6d | ar.(as.a.web.panel).....*.@param |
1aaa20 | 20 5b 6f 70 74 69 6f 6e 61 6c 5d 20 61 4b 65 79 77 6f 72 64 0a 20 20 20 2a 20 20 20 20 20 20 20 | .[optional].aKeyword....*....... |
1aaa40 | 20 54 68 65 20 64 65 66 61 75 6c 74 20 6b 65 79 77 6f 72 64 20 66 6f 72 20 74 68 65 20 6e 65 77 | .The.default.keyword.for.the.new |
1aaa60 | 20 62 6f 6f 6b 6d 61 72 6b 2e 20 54 68 65 20 6b 65 79 77 6f 72 64 20 66 69 65 6c 64 0a 20 20 20 | .bookmark..The.keyword.field.... |
1aaa80 | 2a 20 20 20 20 20 20 20 20 77 69 6c 6c 20 62 65 20 73 68 6f 77 6e 20 69 6e 20 74 68 65 20 64 69 | *........will.be.shown.in.the.di |
1aaaa0 | 61 6c 6f 67 20 69 66 20 74 68 69 73 20 69 73 20 75 73 65 64 2e 0a 20 20 20 2a 20 40 70 61 72 61 | alog.if.this.is.used.....*.@para |
1aaac0 | 6d 20 5b 6f 70 74 69 6f 6e 61 6c 5d 20 61 50 6f 73 74 44 61 74 61 0a 20 20 20 2a 20 20 20 20 20 | m.[optional].aPostData....*..... |
1aaae0 | 20 20 20 50 4f 53 54 20 64 61 74 61 20 66 6f 72 20 50 4f 53 54 2d 73 74 79 6c 65 20 6b 65 79 77 | ...POST.data.for.POST-style.keyw |
1aab00 | 6f 72 64 73 2e 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 5b 6f 70 74 69 6f 6e 61 6c 5d 20 61 43 68 | ords.....*.@param.[optional].aCh |
1aab20 | 61 72 53 65 74 0a 20 20 20 2a 20 20 20 20 20 20 20 20 54 68 65 20 63 68 61 72 61 63 74 65 72 20 | arSet....*........The.character. |
1aab40 | 73 65 74 20 66 6f 72 20 74 68 65 20 62 6f 6f 6b 6d 61 72 6b 65 64 20 70 61 67 65 2e 0a 20 20 20 | set.for.the.bookmarked.page..... |
1aab60 | 2a 20 40 72 65 74 75 72 6e 20 74 72 75 65 20 69 66 20 61 6e 79 20 74 72 61 6e 73 61 63 74 69 6f | *.@return.true.if.any.transactio |
1aab80 | 6e 20 68 61 73 20 62 65 65 6e 20 70 65 72 66 6f 72 6d 65 64 2e 0a 20 20 20 2a 0a 20 20 20 2a 20 | n.has.been.performed.....*....*. |
1aaba0 | 4e 6f 74 65 73 3a 0a 20 20 20 2a 20 20 2d 20 74 68 65 20 6c 6f 63 61 74 69 6f 6e 2c 20 64 65 73 | Notes:....*..-.the.location,.des |
1aabc0 | 63 72 69 70 74 69 6f 6e 20 61 6e 64 20 22 6c 6f 61 64 49 6e 53 69 64 65 62 61 72 22 20 66 69 65 | cription.and."loadInSidebar".fie |
1aabe0 | 6c 64 73 20 61 72 65 0a 20 20 20 2a 20 20 20 20 76 69 73 69 62 6c 65 20 6f 6e 6c 79 20 69 66 20 | lds.are....*....visible.only.if. |
1aac00 | 74 68 65 72 65 20 69 73 20 6e 6f 20 69 6e 69 74 69 61 6c 20 55 52 49 20 28 61 55 52 49 20 69 73 | there.is.no.initial.URI.(aURI.is |
1aac20 | 20 6e 75 6c 6c 29 2e 0a 20 20 20 2a 20 20 2d 20 57 68 65 6e 20 61 44 65 66 61 75 6c 74 49 6e 73 | .null).....*..-.When.aDefaultIns |
1aac40 | 65 72 74 69 6f 6e 50 6f 69 6e 74 20 69 73 20 6e 6f 74 20 73 65 74 2c 20 74 68 65 20 64 69 61 6c | ertionPoint.is.not.set,.the.dial |
1aac60 | 6f 67 20 64 65 66 61 75 6c 74 73 20 74 6f 20 74 68 65 0a 20 20 20 2a 20 20 20 20 62 6f 6f 6b 6d | og.defaults.to.the....*....bookm |
1aac80 | 61 72 6b 73 20 72 6f 6f 74 20 66 6f 6c 64 65 72 2e 0a 20 20 20 2a 2f 0a 20 20 73 68 6f 77 41 64 | arks.root.folder.....*/...showAd |
1aaca0 | 64 42 6f 6f 6b 6d 61 72 6b 55 49 3a 20 66 75 6e 63 74 69 6f 6e 20 50 55 5f 73 68 6f 77 41 64 64 | dBookmarkUI:.function.PU_showAdd |
1aacc0 | 42 6f 6f 6b 6d 61 72 6b 55 49 28 61 55 52 49 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | BookmarkUI(aURI,................ |
1aace0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
1aad00 | 20 20 20 20 61 54 69 74 6c 65 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ....aTitle,..................... |
1aad20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 | ...............................a |
1aad40 | 44 65 73 63 72 69 70 74 69 6f 6e 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | Description,.................... |
1aad60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
1aad80 | 61 44 65 66 61 75 6c 74 49 6e 73 65 72 74 69 6f 6e 50 6f 69 6e 74 2c 0a 20 20 20 20 20 20 20 20 | aDefaultInsertionPoint,......... |
1aada0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
1aadc0 | 20 20 20 20 20 20 20 20 20 20 20 61 53 68 6f 77 50 69 63 6b 65 72 2c 0a 20 20 20 20 20 20 20 20 | ...........aShowPicker,......... |
1aade0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
1aae00 | 20 20 20 20 20 20 20 20 20 20 20 61 4c 6f 61 64 49 6e 53 69 64 65 62 61 72 2c 0a 20 20 20 20 20 | ...........aLoadInSidebar,...... |
1aae20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
1aae40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 4b 65 79 77 6f 72 64 2c 0a 20 20 20 20 20 20 20 20 | ..............aKeyword,......... |
1aae60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
1aae80 | 20 20 20 20 20 20 20 20 20 20 20 61 50 6f 73 74 44 61 74 61 2c 0a 20 20 20 20 20 20 20 20 20 20 | ...........aPostData,........... |
1aaea0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
1aaec0 | 20 20 20 20 20 20 20 20 20 61 43 68 61 72 53 65 74 29 20 7b 0a 20 20 20 20 76 61 72 20 69 6e 66 | .........aCharSet).{.....var.inf |
1aaee0 | 6f 20 3d 20 7b 0a 20 20 20 20 20 20 61 63 74 69 6f 6e 3a 20 22 61 64 64 22 2c 0a 20 20 20 20 20 | o.=.{.......action:."add",...... |
1aaf00 | 20 74 79 70 65 3a 20 22 62 6f 6f 6b 6d 61 72 6b 22 0a 20 20 20 20 7d 3b 0a 0a 20 20 20 20 69 66 | .type:."bookmark".....};......if |
1aaf20 | 20 28 61 55 52 49 29 0a 20 20 20 20 20 20 69 6e 66 6f 2e 75 72 69 20 3d 20 61 55 52 49 3b 0a 0a | .(aURI).......info.uri.=.aURI;.. |
1aaf40 | 20 20 20 20 2f 2f 20 61 6c 6c 6f 77 20 64 65 66 61 75 6c 74 20 65 6d 70 74 79 20 74 69 74 6c 65 | ....//.allow.default.empty.title |
1aaf60 | 0a 20 20 20 20 69 66 20 28 74 79 70 65 6f 66 28 61 54 69 74 6c 65 29 20 3d 3d 20 22 73 74 72 69 | .....if.(typeof(aTitle).==."stri |
1aaf80 | 6e 67 22 29 0a 20 20 20 20 20 20 69 6e 66 6f 2e 74 69 74 6c 65 20 3d 20 61 54 69 74 6c 65 3b 0a | ng").......info.title.=.aTitle;. |
1aafa0 | 0a 20 20 20 20 69 66 20 28 61 44 65 73 63 72 69 70 74 69 6f 6e 29 0a 20 20 20 20 20 20 69 6e 66 | .....if.(aDescription).......inf |
1aafc0 | 6f 2e 64 65 73 63 72 69 70 74 69 6f 6e 20 3d 20 61 44 65 73 63 72 69 70 74 69 6f 6e 3b 0a 0a 20 | o.description.=.aDescription;... |
1aafe0 | 20 20 20 69 66 20 28 61 44 65 66 61 75 6c 74 49 6e 73 65 72 74 69 6f 6e 50 6f 69 6e 74 29 20 7b | ...if.(aDefaultInsertionPoint).{ |
1ab000 | 0a 20 20 20 20 20 20 69 6e 66 6f 2e 64 65 66 61 75 6c 74 49 6e 73 65 72 74 69 6f 6e 50 6f 69 6e | .......info.defaultInsertionPoin |
1ab020 | 74 20 3d 20 61 44 65 66 61 75 6c 74 49 6e 73 65 72 74 69 6f 6e 50 6f 69 6e 74 3b 0a 20 20 20 20 | t.=.aDefaultInsertionPoint;..... |
1ab040 | 20 20 69 66 20 28 21 61 53 68 6f 77 50 69 63 6b 65 72 29 0a 20 20 20 20 20 20 20 20 69 6e 66 6f | ..if.(!aShowPicker).........info |
1ab060 | 2e 68 69 64 64 65 6e 52 6f 77 73 20 3d 20 5b 22 66 6f 6c 64 65 72 50 69 63 6b 65 72 22 5d 3b 0a | .hiddenRows.=.["folderPicker"];. |
1ab080 | 20 20 20 20 7d 0a 0a 20 20 20 20 69 66 20 28 61 4c 6f 61 64 49 6e 53 69 64 65 62 61 72 29 0a 20 | ....}......if.(aLoadInSidebar).. |
1ab0a0 | 20 20 20 20 20 69 6e 66 6f 2e 6c 6f 61 64 42 6f 6f 6b 6d 61 72 6b 49 6e 53 69 64 65 62 61 72 20 | .....info.loadBookmarkInSidebar. |
1ab0c0 | 3d 20 74 72 75 65 3b 0a 0a 20 20 20 20 69 66 20 28 74 79 70 65 6f 66 28 61 4b 65 79 77 6f 72 64 | =.true;......if.(typeof(aKeyword |
1ab0e0 | 29 20 3d 3d 20 22 73 74 72 69 6e 67 22 29 20 7b 0a 20 20 20 20 20 20 69 6e 66 6f 2e 6b 65 79 77 | ).==."string").{.......info.keyw |
1ab100 | 6f 72 64 20 3d 20 61 4b 65 79 77 6f 72 64 3b 0a 20 20 20 20 20 20 69 66 20 28 74 79 70 65 6f 66 | ord.=.aKeyword;.......if.(typeof |
1ab120 | 28 61 50 6f 73 74 44 61 74 61 29 20 3d 3d 20 22 73 74 72 69 6e 67 22 29 0a 20 20 20 20 20 20 20 | (aPostData).==."string")........ |
1ab140 | 20 69 6e 66 6f 2e 70 6f 73 74 44 61 74 61 20 3d 20 61 50 6f 73 74 44 61 74 61 3b 0a 20 20 20 20 | .info.postData.=.aPostData;..... |
1ab160 | 20 20 69 66 20 28 74 79 70 65 6f 66 28 61 43 68 61 72 53 65 74 29 20 3d 3d 20 22 73 74 72 69 6e | ..if.(typeof(aCharSet).==."strin |
1ab180 | 67 22 29 0a 20 20 20 20 20 20 20 20 69 6e 66 6f 2e 63 68 61 72 53 65 74 20 3d 20 61 43 68 61 72 | g").........info.charSet.=.aChar |
1ab1a0 | 53 65 74 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 73 68 6f | Set;.....}......return.this._sho |
1ab1c0 | 77 42 6f 6f 6b 6d 61 72 6b 44 69 61 6c 6f 67 28 69 6e 66 6f 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f | wBookmarkDialog(info);...},..../ |
1ab1e0 | 2a 2a 0a 20 20 20 2a 20 40 73 65 65 20 73 68 6f 77 41 64 64 42 6f 6f 6b 6d 61 72 6b 55 49 0a 20 | **....*.@see.showAddBookmarkUI.. |
1ab200 | 20 20 2a 20 54 68 69 73 20 6f 70 65 6e 73 20 74 68 65 20 64 69 61 6c 6f 67 20 77 69 74 68 20 6f | ..*.This.opens.the.dialog.with.o |
1ab220 | 6e 6c 79 20 74 68 65 20 6e 61 6d 65 20 61 6e 64 20 66 6f 6c 64 65 72 20 70 69 63 6b 65 72 73 20 | nly.the.name.and.folder.pickers. |
1ab240 | 76 69 73 69 62 6c 65 20 62 79 0a 20 20 20 2a 20 64 65 66 61 75 6c 74 2e 0a 20 20 20 2a 0a 20 20 | visible.by....*.default.....*... |
1ab260 | 20 2a 20 59 6f 75 20 63 61 6e 20 73 74 69 6c 6c 20 70 61 73 73 20 69 6e 20 74 68 65 20 76 61 72 | .*.You.can.still.pass.in.the.var |
1ab280 | 69 6f 75 73 20 70 61 72 61 6d 61 74 65 72 73 20 61 73 20 74 68 65 20 64 65 66 61 75 6c 74 20 70 | ious.paramaters.as.the.default.p |
1ab2a0 | 72 6f 70 65 72 74 69 65 73 0a 20 20 20 2a 20 66 6f 72 20 74 68 65 20 6e 65 77 20 62 6f 6f 6b 6d | roperties....*.for.the.new.bookm |
1ab2c0 | 61 72 6b 2e 0a 20 20 20 2a 0a 20 20 20 2a 20 54 68 65 20 6b 65 79 77 6f 72 64 20 66 69 65 6c 64 | ark.....*....*.The.keyword.field |
1ab2e0 | 20 77 69 6c 6c 20 62 65 20 76 69 73 69 62 6c 65 20 6f 6e 6c 79 20 69 66 20 74 68 65 20 61 4b 65 | .will.be.visible.only.if.the.aKe |
1ab300 | 79 77 6f 72 64 20 70 61 72 61 6d 65 74 65 72 0a 20 20 20 2a 20 77 61 73 20 75 73 65 64 2e 0a 20 | yword.parameter....*.was.used... |
1ab320 | 20 20 2a 2f 0a 20 20 73 68 6f 77 4d 69 6e 69 6d 61 6c 41 64 64 42 6f 6f 6b 6d 61 72 6b 55 49 3a | ..*/...showMinimalAddBookmarkUI: |
1ab340 | 0a 20 20 66 75 6e 63 74 69 6f 6e 20 50 55 5f 73 68 6f 77 4d 69 6e 69 6d 61 6c 41 64 64 42 6f 6f | ...function.PU_showMinimalAddBoo |
1ab360 | 6b 6d 61 72 6b 55 49 28 61 55 52 49 2c 20 61 54 69 74 6c 65 2c 20 61 44 65 73 63 72 69 70 74 69 | kmarkUI(aURI,.aTitle,.aDescripti |
1ab380 | 6f 6e 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | on,............................. |
1ab3a0 | 20 20 20 20 20 20 20 20 20 20 20 61 44 65 66 61 75 6c 74 49 6e 73 65 72 74 69 6f 6e 50 6f 69 6e | ...........aDefaultInsertionPoin |
1ab3c0 | 74 2c 20 61 53 68 6f 77 50 69 63 6b 65 72 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | t,.aShowPicker,................. |
1ab3e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 4c 6f 61 64 49 6e 53 69 | .......................aLoadInSi |
1ab400 | 64 65 62 61 72 2c 20 61 4b 65 79 77 6f 72 64 2c 20 61 50 6f 73 74 44 61 74 61 2c 0a 20 20 20 20 | debar,.aKeyword,.aPostData,..... |
1ab420 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
1ab440 | 20 20 20 61 43 68 61 72 53 65 74 29 20 7b 0a 20 20 20 20 76 61 72 20 69 6e 66 6f 20 3d 20 7b 0a | ...aCharSet).{.....var.info.=.{. |
1ab460 | 20 20 20 20 20 20 61 63 74 69 6f 6e 3a 20 22 61 64 64 22 2c 0a 20 20 20 20 20 20 74 79 70 65 3a | ......action:."add",.......type: |
1ab480 | 20 22 62 6f 6f 6b 6d 61 72 6b 22 2c 0a 20 20 20 20 20 20 68 69 64 64 65 6e 52 6f 77 73 3a 20 5b | ."bookmark",.......hiddenRows:.[ |
1ab4a0 | 22 64 65 73 63 72 69 70 74 69 6f 6e 22 5d 0a 20 20 20 20 7d 3b 0a 20 20 20 20 69 66 20 28 61 55 | "description"].....};.....if.(aU |
1ab4c0 | 52 49 29 0a 20 20 20 20 20 20 69 6e 66 6f 2e 75 72 69 20 3d 20 61 55 52 49 3b 0a 0a 20 20 20 20 | RI).......info.uri.=.aURI;...... |
1ab4e0 | 2f 2f 20 61 6c 6c 6f 77 20 64 65 66 61 75 6c 74 20 65 6d 70 74 79 20 74 69 74 6c 65 0a 20 20 20 | //.allow.default.empty.title.... |
1ab500 | 20 69 66 20 28 74 79 70 65 6f 66 28 61 54 69 74 6c 65 29 20 3d 3d 20 22 73 74 72 69 6e 67 22 29 | .if.(typeof(aTitle).==."string") |
1ab520 | 0a 20 20 20 20 20 20 69 6e 66 6f 2e 74 69 74 6c 65 20 3d 20 61 54 69 74 6c 65 3b 0a 0a 20 20 20 | .......info.title.=.aTitle;..... |
1ab540 | 20 69 66 20 28 61 44 65 73 63 72 69 70 74 69 6f 6e 29 0a 20 20 20 20 20 20 69 6e 66 6f 2e 64 65 | .if.(aDescription).......info.de |
1ab560 | 73 63 72 69 70 74 69 6f 6e 20 3d 20 61 44 65 73 63 72 69 70 74 69 6f 6e 3b 0a 0a 20 20 20 20 69 | scription.=.aDescription;......i |
1ab580 | 66 20 28 61 44 65 66 61 75 6c 74 49 6e 73 65 72 74 69 6f 6e 50 6f 69 6e 74 29 20 7b 0a 20 20 20 | f.(aDefaultInsertionPoint).{.... |
1ab5a0 | 20 20 20 69 6e 66 6f 2e 64 65 66 61 75 6c 74 49 6e 73 65 72 74 69 6f 6e 50 6f 69 6e 74 20 3d 20 | ...info.defaultInsertionPoint.=. |
1ab5c0 | 61 44 65 66 61 75 6c 74 49 6e 73 65 72 74 69 6f 6e 50 6f 69 6e 74 3b 0a 20 20 20 20 20 20 69 66 | aDefaultInsertionPoint;.......if |
1ab5e0 | 20 28 21 61 53 68 6f 77 50 69 63 6b 65 72 29 0a 20 20 20 20 20 20 20 20 69 6e 66 6f 2e 68 69 64 | .(!aShowPicker).........info.hid |
1ab600 | 64 65 6e 52 6f 77 73 2e 70 75 73 68 28 22 66 6f 6c 64 65 72 50 69 63 6b 65 72 22 29 3b 0a 20 20 | denRows.push("folderPicker");... |
1ab620 | 20 20 7d 0a 0a 20 20 20 20 69 66 20 28 61 4c 6f 61 64 49 6e 53 69 64 65 62 61 72 29 0a 20 20 20 | ..}......if.(aLoadInSidebar).... |
1ab640 | 20 20 20 69 6e 66 6f 2e 6c 6f 61 64 42 6f 6f 6b 6d 61 72 6b 49 6e 53 69 64 65 62 61 72 20 3d 20 | ...info.loadBookmarkInSidebar.=. |
1ab660 | 74 72 75 65 3b 0a 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 69 6e 66 6f 2e 68 69 64 64 65 6e | true;.....else.......info.hidden |
1ab680 | 52 6f 77 73 20 3d 20 69 6e 66 6f 2e 68 69 64 64 65 6e 52 6f 77 73 2e 63 6f 6e 63 61 74 28 5b 22 | Rows.=.info.hiddenRows.concat([" |
1ab6a0 | 6c 6f 63 61 74 69 6f 6e 22 2c 20 22 6c 6f 61 64 49 6e 53 69 64 65 62 61 72 22 5d 29 3b 0a 0a 20 | location",."loadInSidebar"]);... |
1ab6c0 | 20 20 20 69 66 20 28 74 79 70 65 6f 66 28 61 4b 65 79 77 6f 72 64 29 20 3d 3d 20 22 73 74 72 69 | ...if.(typeof(aKeyword).==."stri |
1ab6e0 | 6e 67 22 29 20 7b 0a 20 20 20 20 20 20 69 6e 66 6f 2e 6b 65 79 77 6f 72 64 20 3d 20 61 4b 65 79 | ng").{.......info.keyword.=.aKey |
1ab700 | 77 6f 72 64 3b 0a 20 20 20 20 20 20 2f 2f 20 68 69 64 65 20 74 68 65 20 54 61 67 73 20 66 69 65 | word;.......//.hide.the.Tags.fie |
1ab720 | 6c 64 20 69 66 20 77 65 20 61 72 65 20 61 64 64 69 6e 67 20 61 20 6b 65 79 77 6f 72 64 0a 20 20 | ld.if.we.are.adding.a.keyword... |
1ab740 | 20 20 20 20 69 6e 66 6f 2e 68 69 64 64 65 6e 52 6f 77 73 2e 70 75 73 68 28 22 74 61 67 73 22 29 | ....info.hiddenRows.push("tags") |
1ab760 | 3b 0a 20 20 20 20 20 20 69 66 20 28 74 79 70 65 6f 66 28 61 50 6f 73 74 44 61 74 61 29 20 3d 3d | ;.......if.(typeof(aPostData).== |
1ab780 | 20 22 73 74 72 69 6e 67 22 29 0a 20 20 20 20 20 20 20 20 69 6e 66 6f 2e 70 6f 73 74 44 61 74 61 | ."string").........info.postData |
1ab7a0 | 20 3d 20 61 50 6f 73 74 44 61 74 61 3b 0a 20 20 20 20 20 20 69 66 20 28 74 79 70 65 6f 66 28 61 | .=.aPostData;.......if.(typeof(a |
1ab7c0 | 43 68 61 72 53 65 74 29 20 3d 3d 20 22 73 74 72 69 6e 67 22 29 0a 20 20 20 20 20 20 20 20 69 6e | CharSet).==."string").........in |
1ab7e0 | 66 6f 2e 63 68 61 72 53 65 74 20 3d 20 61 43 68 61 72 53 65 74 3b 0a 20 20 20 20 7d 0a 20 20 20 | fo.charSet.=.aCharSet;.....}.... |
1ab800 | 20 65 6c 73 65 0a 20 20 20 20 20 20 69 6e 66 6f 2e 68 69 64 64 65 6e 52 6f 77 73 2e 70 75 73 68 | .else.......info.hiddenRows.push |
1ab820 | 28 22 6b 65 79 77 6f 72 64 22 29 3b 0a 0a 20 20 20 20 74 68 69 73 2e 5f 73 68 6f 77 42 6f 6f 6b | ("keyword");......this._showBook |
1ab840 | 6d 61 72 6b 44 69 61 6c 6f 67 28 69 6e 66 6f 2c 20 74 72 75 65 29 3b 0a 20 20 7d 2c 0a 0a 20 20 | markDialog(info,.true);...},.... |
1ab860 | 2f 2a 2a 0a 20 20 20 2a 20 53 68 6f 77 73 20 74 68 65 20 22 41 64 64 20 4c 69 76 65 20 42 6f 6f | /**....*.Shows.the."Add.Live.Boo |
1ab880 | 6b 6d 61 72 6b 22 20 64 69 61 6c 6f 67 2e 0a 20 20 20 2a 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 | kmark".dialog.....*....*.@param. |
1ab8a0 | 5b 6f 70 74 69 6f 6e 61 6c 5d 20 61 46 65 65 64 55 52 49 0a 20 20 20 2a 20 20 20 20 20 20 20 20 | [optional].aFeedURI....*........ |
1ab8c0 | 54 68 65 20 66 65 65 64 20 55 52 49 20 66 6f 72 20 77 68 69 63 68 20 74 68 65 20 64 69 61 6c 6f | The.feed.URI.for.which.the.dialo |
1ab8e0 | 67 20 69 73 20 74 6f 20 62 65 20 73 68 6f 77 6e 20 28 6e 73 49 55 52 49 29 2e 0a 20 20 20 2a 20 | g.is.to.be.shown.(nsIURI).....*. |
1ab900 | 40 70 61 72 61 6d 20 5b 6f 70 74 69 6f 6e 61 6c 5d 20 61 53 69 74 65 55 52 49 0a 20 20 20 2a 20 | @param.[optional].aSiteURI....*. |
1ab920 | 20 20 20 20 20 20 20 54 68 65 20 73 69 74 65 20 55 52 49 20 66 6f 72 20 74 68 65 20 6e 65 77 20 | .......The.site.URI.for.the.new. |
1ab940 | 6c 69 76 65 2d 62 6f 6f 6b 6d 61 72 6b 20 28 6e 73 49 55 52 49 29 2e 0a 20 20 20 2a 20 40 70 61 | live-bookmark.(nsIURI).....*.@pa |
1ab960 | 72 61 6d 20 5b 6f 70 74 69 6f 6e 61 6c 5d 20 61 44 65 66 61 75 6c 74 49 6e 73 65 72 74 69 6f 6e | ram.[optional].aDefaultInsertion |
1ab980 | 50 6f 69 6e 74 0a 20 20 20 2a 20 20 20 20 20 20 20 20 54 68 65 20 64 65 66 61 75 6c 74 20 69 6e | Point....*........The.default.in |
1ab9a0 | 73 65 72 74 69 6f 6e 20 70 6f 69 6e 74 20 66 6f 72 20 74 68 65 20 6e 65 77 20 69 74 65 6d 2e 20 | sertion.point.for.the.new.item.. |
1ab9c0 | 49 66 20 73 65 74 2c 20 74 68 65 20 66 6f 6c 64 65 72 0a 20 20 20 2a 20 20 20 20 20 20 20 20 70 | If.set,.the.folder....*........p |
1ab9e0 | 69 63 6b 65 72 20 77 6f 75 6c 64 20 62 65 20 68 69 64 64 65 6e 20 75 6e 6c 65 73 73 20 61 53 68 | icker.would.be.hidden.unless.aSh |
1aba00 | 6f 77 50 69 63 6b 65 72 20 69 73 20 73 65 74 20 74 6f 20 74 72 75 65 2c 20 69 6e 20 77 68 69 63 | owPicker.is.set.to.true,.in.whic |
1aba20 | 68 0a 20 20 20 2a 20 20 20 20 20 20 20 20 63 61 73 65 20 74 68 65 20 64 69 61 6c 6f 67 20 6f 6e | h....*........case.the.dialog.on |
1aba40 | 6c 79 20 75 73 65 73 20 74 68 65 20 66 6f 6c 64 65 72 20 69 64 65 6e 74 69 66 69 65 72 20 66 72 | ly.uses.the.folder.identifier.fr |
1aba60 | 6f 6d 20 74 68 65 20 69 6e 73 65 72 74 69 6f 6e 0a 20 20 20 2a 20 20 20 20 20 20 20 20 70 6f 69 | om.the.insertion....*........poi |
1aba80 | 6e 74 20 61 73 20 74 68 65 20 69 6e 69 74 69 61 6c 6c 79 20 73 65 6c 65 63 74 65 64 20 69 74 65 | nt.as.the.initially.selected.ite |
1abaa0 | 6d 20 69 6e 20 74 68 65 20 66 6f 6c 64 65 72 20 70 69 63 6b 65 72 2e 0a 20 20 20 2a 20 40 70 61 | m.in.the.folder.picker.....*.@pa |
1abac0 | 72 61 6d 20 5b 6f 70 74 69 6f 6e 61 6c 5d 20 61 53 68 6f 77 50 69 63 6b 65 72 0a 20 20 20 2a 20 | ram.[optional].aShowPicker....*. |
1abae0 | 20 20 20 20 20 20 20 73 65 65 20 61 62 6f 76 65 0a 20 20 20 2a 20 40 72 65 74 75 72 6e 20 74 72 | .......see.above....*.@return.tr |
1abb00 | 75 65 20 69 66 20 61 6e 79 20 74 72 61 6e 73 61 63 74 69 6f 6e 20 68 61 73 20 62 65 65 6e 20 70 | ue.if.any.transaction.has.been.p |
1abb20 | 65 72 66 6f 72 6d 65 64 2e 0a 20 20 20 2a 0a 20 20 20 2a 20 4e 6f 74 65 73 3a 0a 20 20 20 2a 20 | erformed.....*....*.Notes:....*. |
1abb40 | 20 2d 20 74 68 65 20 66 65 65 64 55 52 49 20 61 6e 64 20 64 65 73 63 72 69 70 74 69 6f 6e 20 66 | .-.the.feedURI.and.description.f |
1abb60 | 69 65 6c 64 73 20 61 72 65 20 76 69 73 69 62 6c 65 20 6f 6e 6c 79 20 69 66 20 74 68 65 72 65 20 | ields.are.visible.only.if.there. |
1abb80 | 69 73 20 6e 6f 0a 20 20 20 2a 20 20 20 20 69 6e 69 74 69 61 6c 20 66 65 65 64 20 55 52 49 20 28 | is.no....*....initial.feed.URI.( |
1abba0 | 61 46 65 65 64 55 52 49 20 69 73 20 6e 75 6c 6c 29 2e 0a 20 20 20 2a 20 20 2d 20 57 68 65 6e 20 | aFeedURI.is.null).....*..-.When. |
1abbc0 | 61 44 65 66 61 75 6c 74 49 6e 73 65 72 74 69 6f 6e 50 6f 69 6e 74 20 69 73 20 6e 6f 74 20 73 65 | aDefaultInsertionPoint.is.not.se |
1abbe0 | 74 2c 20 74 68 65 20 64 69 61 6c 6f 67 20 64 65 66 61 75 6c 74 73 20 74 6f 20 74 68 65 0a 20 20 | t,.the.dialog.defaults.to.the... |
1abc00 | 20 2a 20 20 20 20 62 6f 6f 6b 6d 61 72 6b 73 20 72 6f 6f 74 20 66 6f 6c 64 65 72 2e 0a 20 20 20 | .*....bookmarks.root.folder..... |
1abc20 | 2a 2f 0a 20 20 73 68 6f 77 41 64 64 4c 69 76 65 6d 61 72 6b 55 49 3a 20 66 75 6e 63 74 69 6f 6e | */...showAddLivemarkUI:.function |
1abc40 | 20 50 55 5f 73 68 6f 77 41 64 64 4c 69 76 65 6d 61 72 6b 55 52 49 28 61 46 65 65 64 55 52 49 2c | .PU_showAddLivemarkURI(aFeedURI, |
1abc60 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
1abc80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 53 69 74 65 55 52 49 2c 0a 20 | .....................aSiteURI,.. |
1abca0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
1abcc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 54 69 74 6c 65 2c 0a 20 20 20 20 20 | ...................aTitle,...... |
1abce0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
1abd00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 44 65 73 63 72 69 70 74 69 6f 6e 2c 0a 20 20 20 | ...............aDescription,.... |
1abd20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
1abd40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 44 65 66 61 75 6c 74 49 6e 73 65 72 74 69 | .................aDefaultInserti |
1abd60 | 6f 6e 50 6f 69 6e 74 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | onPoint,........................ |
1abd80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 53 68 | .............................aSh |
1abda0 | 6f 77 50 69 63 6b 65 72 29 20 7b 0a 20 20 20 20 76 61 72 20 69 6e 66 6f 20 3d 20 7b 0a 20 20 20 | owPicker).{.....var.info.=.{.... |
1abdc0 | 20 20 20 61 63 74 69 6f 6e 3a 20 22 61 64 64 22 2c 0a 20 20 20 20 20 20 74 79 70 65 3a 20 22 6c | ...action:."add",.......type:."l |
1abde0 | 69 76 65 6d 61 72 6b 22 0a 20 20 20 20 7d 3b 0a 0a 20 20 20 20 69 66 20 28 61 46 65 65 64 55 52 | ivemark".....};......if.(aFeedUR |
1abe00 | 49 29 0a 20 20 20 20 20 20 69 6e 66 6f 2e 66 65 65 64 55 52 49 20 3d 20 61 46 65 65 64 55 52 49 | I).......info.feedURI.=.aFeedURI |
1abe20 | 3b 0a 20 20 20 20 69 66 20 28 61 53 69 74 65 55 52 49 29 0a 20 20 20 20 20 20 69 6e 66 6f 2e 73 | ;.....if.(aSiteURI).......info.s |
1abe40 | 69 74 65 55 52 49 20 3d 20 61 53 69 74 65 55 52 49 3b 0a 0a 20 20 20 20 2f 2f 20 61 6c 6c 6f 77 | iteURI.=.aSiteURI;......//.allow |
1abe60 | 20 64 65 66 61 75 6c 74 20 65 6d 70 74 79 20 74 69 74 6c 65 0a 20 20 20 20 69 66 20 28 74 79 70 | .default.empty.title.....if.(typ |
1abe80 | 65 6f 66 28 61 54 69 74 6c 65 29 20 3d 3d 20 22 73 74 72 69 6e 67 22 29 0a 20 20 20 20 20 20 69 | eof(aTitle).==."string").......i |
1abea0 | 6e 66 6f 2e 74 69 74 6c 65 20 3d 20 61 54 69 74 6c 65 3b 0a 0a 20 20 20 20 69 66 20 28 61 44 65 | nfo.title.=.aTitle;......if.(aDe |
1abec0 | 73 63 72 69 70 74 69 6f 6e 29 0a 20 20 20 20 20 20 69 6e 66 6f 2e 64 65 73 63 72 69 70 74 69 6f | scription).......info.descriptio |
1abee0 | 6e 20 3d 20 61 44 65 73 63 72 69 70 74 69 6f 6e 3b 0a 0a 20 20 20 20 69 66 20 28 61 44 65 66 61 | n.=.aDescription;......if.(aDefa |
1abf00 | 75 6c 74 49 6e 73 65 72 74 69 6f 6e 50 6f 69 6e 74 29 20 7b 0a 20 20 20 20 20 20 69 6e 66 6f 2e | ultInsertionPoint).{.......info. |
1abf20 | 64 65 66 61 75 6c 74 49 6e 73 65 72 74 69 6f 6e 50 6f 69 6e 74 20 3d 20 61 44 65 66 61 75 6c 74 | defaultInsertionPoint.=.aDefault |
1abf40 | 49 6e 73 65 72 74 69 6f 6e 50 6f 69 6e 74 3b 0a 20 20 20 20 20 20 69 66 20 28 21 61 53 68 6f 77 | InsertionPoint;.......if.(!aShow |
1abf60 | 50 69 63 6b 65 72 29 0a 20 20 20 20 20 20 20 20 69 6e 66 6f 2e 68 69 64 64 65 6e 52 6f 77 73 20 | Picker).........info.hiddenRows. |
1abf80 | 3d 20 5b 22 66 6f 6c 64 65 72 50 69 63 6b 65 72 22 5d 3b 0a 20 20 20 20 7d 0a 20 20 20 20 72 65 | =.["folderPicker"];.....}.....re |
1abfa0 | 74 75 72 6e 20 74 68 69 73 2e 5f 73 68 6f 77 42 6f 6f 6b 6d 61 72 6b 44 69 61 6c 6f 67 28 69 6e | turn.this._showBookmarkDialog(in |
1abfc0 | 66 6f 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 40 73 65 65 20 73 68 6f 77 41 | fo);...},..../**....*.@see.showA |
1abfe0 | 64 64 4c 69 76 65 6d 61 72 6b 55 49 0a 20 20 20 2a 20 54 68 69 73 20 6f 70 65 6e 73 20 74 68 65 | ddLivemarkUI....*.This.opens.the |
1ac000 | 20 64 69 61 6c 6f 67 20 77 69 74 68 20 6f 6e 6c 79 20 74 68 65 20 6e 61 6d 65 20 61 6e 64 20 66 | .dialog.with.only.the.name.and.f |
1ac020 | 6f 6c 64 65 72 20 70 69 63 6b 65 72 73 20 76 69 73 69 62 6c 65 20 62 79 0a 20 20 20 2a 20 64 65 | older.pickers.visible.by....*.de |
1ac040 | 66 61 75 6c 74 2e 0a 20 20 20 2a 0a 20 20 20 2a 20 59 6f 75 20 63 61 6e 20 73 74 69 6c 6c 20 70 | fault.....*....*.You.can.still.p |
1ac060 | 61 73 73 20 69 6e 20 74 68 65 20 76 61 72 69 6f 75 73 20 70 61 72 61 6d 61 74 65 72 73 20 61 73 | ass.in.the.various.paramaters.as |
1ac080 | 20 74 68 65 20 64 65 66 61 75 6c 74 20 70 72 6f 70 65 72 74 69 65 73 0a 20 20 20 2a 20 66 6f 72 | .the.default.properties....*.for |
1ac0a0 | 20 74 68 65 20 6e 65 77 20 6c 69 76 65 2d 62 6f 6f 6b 6d 61 72 6b 2e 0a 20 20 20 2a 2f 0a 20 20 | .the.new.live-bookmark.....*/... |
1ac0c0 | 73 68 6f 77 4d 69 6e 69 6d 61 6c 41 64 64 4c 69 76 65 6d 61 72 6b 55 49 3a 0a 20 20 66 75 6e 63 | showMinimalAddLivemarkUI:...func |
1ac0e0 | 74 69 6f 6e 20 50 55 5f 73 68 6f 77 4d 69 6e 69 6d 61 6c 41 64 64 4c 69 76 65 6d 61 72 6b 55 52 | tion.PU_showMinimalAddLivemarkUR |
1ac100 | 49 28 61 46 65 65 64 55 52 49 2c 20 61 53 69 74 65 55 52 49 2c 20 61 54 69 74 6c 65 2c 0a 20 20 | I(aFeedURI,.aSiteURI,.aTitle,... |
1ac120 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
1ac140 | 20 20 20 20 20 20 61 44 65 73 63 72 69 70 74 69 6f 6e 2c 20 61 44 65 66 61 75 6c 74 49 6e 73 65 | ......aDescription,.aDefaultInse |
1ac160 | 72 74 69 6f 6e 50 6f 69 6e 74 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | rtionPoint,..................... |
1ac180 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 53 68 6f 77 50 69 63 6b 65 72 29 | ....................aShowPicker) |
1ac1a0 | 20 7b 0a 20 20 20 20 76 61 72 20 69 6e 66 6f 20 3d 20 7b 0a 20 20 20 20 20 20 61 63 74 69 6f 6e | .{.....var.info.=.{.......action |
1ac1c0 | 3a 20 22 61 64 64 22 2c 0a 20 20 20 20 20 20 74 79 70 65 3a 20 22 6c 69 76 65 6d 61 72 6b 22 2c | :."add",.......type:."livemark", |
1ac1e0 | 0a 20 20 20 20 20 20 68 69 64 64 65 6e 52 6f 77 73 3a 20 5b 22 66 65 65 64 4c 6f 63 61 74 69 6f | .......hiddenRows:.["feedLocatio |
1ac200 | 6e 22 2c 20 22 73 69 74 65 4c 6f 63 61 74 69 6f 6e 22 2c 20 22 64 65 73 63 72 69 70 74 69 6f 6e | n",."siteLocation",."description |
1ac220 | 22 5d 0a 20 20 20 20 7d 3b 0a 0a 20 20 20 20 69 66 20 28 61 46 65 65 64 55 52 49 29 0a 20 20 20 | "].....};......if.(aFeedURI).... |
1ac240 | 20 20 20 69 6e 66 6f 2e 66 65 65 64 55 52 49 20 3d 20 61 46 65 65 64 55 52 49 3b 0a 20 20 20 20 | ...info.feedURI.=.aFeedURI;..... |
1ac260 | 69 66 20 28 61 53 69 74 65 55 52 49 29 0a 20 20 20 20 20 20 69 6e 66 6f 2e 73 69 74 65 55 52 49 | if.(aSiteURI).......info.siteURI |
1ac280 | 20 3d 20 61 53 69 74 65 55 52 49 3b 0a 0a 20 20 20 20 2f 2f 20 61 6c 6c 6f 77 20 64 65 66 61 75 | .=.aSiteURI;......//.allow.defau |
1ac2a0 | 6c 74 20 65 6d 70 74 79 20 74 69 74 6c 65 0a 20 20 20 20 69 66 20 28 74 79 70 65 6f 66 28 61 54 | lt.empty.title.....if.(typeof(aT |
1ac2c0 | 69 74 6c 65 29 20 3d 3d 20 22 73 74 72 69 6e 67 22 29 0a 20 20 20 20 20 20 69 6e 66 6f 2e 74 69 | itle).==."string").......info.ti |
1ac2e0 | 74 6c 65 20 3d 20 61 54 69 74 6c 65 3b 0a 0a 20 20 20 20 69 66 20 28 61 44 65 73 63 72 69 70 74 | tle.=.aTitle;......if.(aDescript |
1ac300 | 69 6f 6e 29 0a 20 20 20 20 20 20 69 6e 66 6f 2e 64 65 73 63 72 69 70 74 69 6f 6e 20 3d 20 61 44 | ion).......info.description.=.aD |
1ac320 | 65 73 63 72 69 70 74 69 6f 6e 3b 0a 0a 20 20 20 20 69 66 20 28 61 44 65 66 61 75 6c 74 49 6e 73 | escription;......if.(aDefaultIns |
1ac340 | 65 72 74 69 6f 6e 50 6f 69 6e 74 29 20 7b 0a 20 20 20 20 20 20 69 6e 66 6f 2e 64 65 66 61 75 6c | ertionPoint).{.......info.defaul |
1ac360 | 74 49 6e 73 65 72 74 69 6f 6e 50 6f 69 6e 74 20 3d 20 61 44 65 66 61 75 6c 74 49 6e 73 65 72 74 | tInsertionPoint.=.aDefaultInsert |
1ac380 | 69 6f 6e 50 6f 69 6e 74 3b 0a 20 20 20 20 20 20 69 66 20 28 21 61 53 68 6f 77 50 69 63 6b 65 72 | ionPoint;.......if.(!aShowPicker |
1ac3a0 | 29 0a 20 20 20 20 20 20 20 20 69 6e 66 6f 2e 68 69 64 64 65 6e 52 6f 77 73 2e 70 75 73 68 28 22 | ).........info.hiddenRows.push(" |
1ac3c0 | 66 6f 6c 64 65 72 50 69 63 6b 65 72 22 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 74 68 69 73 2e 5f | folderPicker");.....}.....this._ |
1ac3e0 | 73 68 6f 77 42 6f 6f 6b 6d 61 72 6b 44 69 61 6c 6f 67 28 69 6e 66 6f 2c 20 74 72 75 65 29 3b 0a | showBookmarkDialog(info,.true);. |
1ac400 | 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 53 68 6f 77 20 61 6e 20 22 41 64 64 20 42 6f | ..},..../**....*.Show.an."Add.Bo |
1ac420 | 6f 6b 6d 61 72 6b 73 22 20 64 69 61 6c 6f 67 20 74 6f 20 61 6c 6c 6f 77 20 74 68 65 20 61 64 64 | okmarks".dialog.to.allow.the.add |
1ac440 | 69 6e 67 20 6f 66 20 61 20 66 6f 6c 64 65 72 20 66 75 6c 6c 0a 20 20 20 2a 20 6f 66 20 62 6f 6f | ing.of.a.folder.full....*.of.boo |
1ac460 | 6b 6d 61 72 6b 73 20 63 6f 72 72 65 73 70 6f 6e 64 69 6e 67 20 74 6f 20 74 68 65 20 6f 62 6a 65 | kmarks.corresponding.to.the.obje |
1ac480 | 63 74 73 20 69 6e 20 74 68 65 20 75 72 69 4c 69 73 74 2e 20 20 54 68 69 73 20 77 69 6c 6c 0a 20 | cts.in.the.uriList...This.will.. |
1ac4a0 | 20 20 2a 20 62 65 20 63 61 6c 6c 65 64 20 6d 6f 73 74 20 6f 66 74 65 6e 20 61 73 20 74 68 65 20 | ..*.be.called.most.often.as.the. |
1ac4c0 | 72 65 73 75 6c 74 20 6f 66 20 61 20 22 42 6f 6f 6b 6d 61 72 6b 20 41 6c 6c 20 54 61 62 73 2e 2e | result.of.a."Bookmark.All.Tabs.. |
1ac4e0 | 2e 22 20 63 6f 6d 6d 61 6e 64 2e 0a 20 20 20 2a 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 61 55 52 | .".command.....*....*.@param.aUR |
1ac500 | 49 4c 69 73 74 20 20 4c 69 73 74 20 6f 66 20 6e 73 49 55 52 49 20 6f 62 6a 65 63 74 73 20 72 65 | IList..List.of.nsIURI.objects.re |
1ac520 | 70 72 65 73 65 6e 74 69 6e 67 20 74 68 65 20 6c 6f 63 61 74 69 6f 6e 73 0a 20 20 20 2a 20 20 20 | presenting.the.locations....*... |
1ac540 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 6f 20 62 65 20 62 6f 6f 6b 6d 61 72 6b 65 64 2e | ...............to.be.bookmarked. |
1ac560 | 0a 20 20 20 2a 20 40 72 65 74 75 72 6e 20 74 72 75 65 20 69 66 20 61 6e 79 20 74 72 61 6e 73 61 | ....*.@return.true.if.any.transa |
1ac580 | 63 74 69 6f 6e 20 68 61 73 20 62 65 65 6e 20 70 65 72 66 6f 72 6d 65 64 2e 0a 20 20 20 2a 2f 0a | ction.has.been.performed.....*/. |
1ac5a0 | 20 20 73 68 6f 77 4d 69 6e 69 6d 61 6c 41 64 64 4d 75 6c 74 69 42 6f 6f 6b 6d 61 72 6b 55 49 3a | ..showMinimalAddMultiBookmarkUI: |
1ac5c0 | 20 66 75 6e 63 74 69 6f 6e 20 50 55 5f 73 68 6f 77 41 64 64 4d 75 6c 74 69 42 6f 6f 6b 6d 61 72 | .function.PU_showAddMultiBookmar |
1ac5e0 | 6b 55 49 28 61 55 52 49 4c 69 73 74 29 20 7b 0a 20 20 20 20 4e 53 5f 41 53 53 45 52 54 28 61 55 | kUI(aURIList).{.....NS_ASSERT(aU |
1ac600 | 52 49 4c 69 73 74 2e 6c 65 6e 67 74 68 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 73 68 | RIList.length,..............."sh |
1ac620 | 6f 77 41 64 64 4d 75 6c 74 69 42 6f 6f 6b 6d 61 72 6b 55 49 20 65 78 70 65 63 74 73 20 61 20 6c | owAddMultiBookmarkUI.expects.a.l |
1ac640 | 69 73 74 20 6f 66 20 6e 73 49 55 52 49 20 6f 62 6a 65 63 74 73 22 29 3b 0a 20 20 20 20 76 61 72 | ist.of.nsIURI.objects");.....var |
1ac660 | 20 69 6e 66 6f 20 3d 20 7b 0a 20 20 20 20 20 20 61 63 74 69 6f 6e 3a 20 22 61 64 64 22 2c 0a 20 | .info.=.{.......action:."add",.. |
1ac680 | 20 20 20 20 20 74 79 70 65 3a 20 22 66 6f 6c 64 65 72 22 2c 0a 20 20 20 20 20 20 68 69 64 64 65 | .....type:."folder",.......hidde |
1ac6a0 | 6e 52 6f 77 73 3a 20 5b 22 64 65 73 63 72 69 70 74 69 6f 6e 22 5d 2c 0a 20 20 20 20 20 20 55 52 | nRows:.["description"],.......UR |
1ac6c0 | 49 4c 69 73 74 3a 20 61 55 52 49 4c 69 73 74 0a 20 20 20 20 7d 3b 0a 20 20 20 20 74 68 69 73 2e | IList:.aURIList.....};.....this. |
1ac6e0 | 5f 73 68 6f 77 42 6f 6f 6b 6d 61 72 6b 44 69 61 6c 6f 67 28 69 6e 66 6f 2c 20 74 72 75 65 29 3b | _showBookmarkDialog(info,.true); |
1ac700 | 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 4f 70 65 6e 73 20 74 68 65 20 70 72 6f 70 | ...},..../**....*.Opens.the.prop |
1ac720 | 65 72 74 69 65 73 20 64 69 61 6c 6f 67 20 66 6f 72 20 61 20 67 69 76 65 6e 20 69 74 65 6d 20 69 | erties.dialog.for.a.given.item.i |
1ac740 | 64 65 6e 74 69 66 69 65 72 2e 0a 20 20 20 2a 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 61 49 74 65 | dentifier.....*....*.@param.aIte |
1ac760 | 6d 49 64 0a 20 20 20 2a 20 20 20 20 20 20 20 20 69 74 65 6d 20 69 64 65 6e 74 69 66 69 65 72 20 | mId....*........item.identifier. |
1ac780 | 66 6f 72 20 77 68 69 63 68 20 74 68 65 20 70 72 6f 70 65 72 74 69 65 73 20 61 72 65 20 74 6f 20 | for.which.the.properties.are.to. |
1ac7a0 | 62 65 20 73 68 6f 77 6e 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 61 54 79 70 65 0a 20 20 20 2a 20 | be.shown....*.@param.aType....*. |
1ac7c0 | 20 20 20 20 20 20 20 69 74 65 6d 20 74 79 70 65 2c 20 65 69 74 68 65 72 20 22 62 6f 6f 6b 6d 61 | .......item.type,.either."bookma |
1ac7e0 | 72 6b 22 20 6f 72 20 22 66 6f 6c 64 65 72 22 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 5b 6f 70 74 | rk".or."folder"....*.@param.[opt |
1ac800 | 69 6f 6e 61 6c 5d 20 61 52 65 61 64 4f 6e 6c 79 0a 20 20 20 2a 20 20 20 20 20 20 20 20 73 74 61 | ional].aReadOnly....*........sta |
1ac820 | 74 65 73 20 69 66 20 70 72 6f 70 65 72 74 69 65 73 20 64 69 61 6c 6f 67 20 73 68 6f 75 6c 64 20 | tes.if.properties.dialog.should. |
1ac840 | 62 65 20 72 65 61 64 6f 6e 6c 79 0a 20 20 20 2a 20 40 72 65 74 75 72 6e 20 74 72 75 65 20 69 66 | be.readonly....*.@return.true.if |
1ac860 | 20 61 6e 79 20 74 72 61 6e 73 61 63 74 69 6f 6e 20 68 61 73 20 62 65 65 6e 20 70 65 72 66 6f 72 | .any.transaction.has.been.perfor |
1ac880 | 6d 65 64 2e 0a 20 20 20 2a 2f 0a 20 20 73 68 6f 77 49 74 65 6d 50 72 6f 70 65 72 74 69 65 73 3a | med.....*/...showItemProperties: |
1ac8a0 | 20 66 75 6e 63 74 69 6f 6e 20 50 55 5f 73 68 6f 77 49 74 65 6d 50 72 6f 70 65 72 74 69 65 73 28 | .function.PU_showItemProperties( |
1ac8c0 | 61 49 74 65 6d 49 64 2c 20 61 54 79 70 65 2c 20 61 52 65 61 64 4f 6e 6c 79 29 20 7b 0a 20 20 20 | aItemId,.aType,.aReadOnly).{.... |
1ac8e0 | 20 76 61 72 20 69 6e 66 6f 20 3d 20 7b 0a 20 20 20 20 20 20 61 63 74 69 6f 6e 3a 20 22 65 64 69 | .var.info.=.{.......action:."edi |
1ac900 | 74 22 2c 0a 20 20 20 20 20 20 74 79 70 65 3a 20 61 54 79 70 65 2c 0a 20 20 20 20 20 20 69 74 65 | t",.......type:.aType,.......ite |
1ac920 | 6d 49 64 3a 20 61 49 74 65 6d 49 64 2c 0a 20 20 20 20 20 20 72 65 61 64 4f 6e 6c 79 3a 20 61 52 | mId:.aItemId,.......readOnly:.aR |
1ac940 | 65 61 64 4f 6e 6c 79 0a 20 20 20 20 7d 3b 0a 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f | eadOnly.....};.....return.this._ |
1ac960 | 73 68 6f 77 42 6f 6f 6b 6d 61 72 6b 44 69 61 6c 6f 67 28 69 6e 66 6f 29 3b 0a 20 20 7d 2c 0a 0a | showBookmarkDialog(info);...},.. |
1ac980 | 20 20 2f 2a 2a 0a 20 20 20 2a 20 53 68 6f 77 73 20 74 68 65 20 22 4e 65 77 20 46 6f 6c 64 65 72 | ../**....*.Shows.the."New.Folder |
1ac9a0 | 22 20 64 69 61 6c 6f 67 2e 0a 20 20 20 2a 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 5b 6f 70 74 69 | ".dialog.....*....*.@param.[opti |
1ac9c0 | 6f 6e 61 6c 5d 20 61 54 69 74 6c 65 0a 20 20 20 2a 20 20 20 20 20 20 20 20 54 68 65 20 64 65 66 | onal].aTitle....*........The.def |
1ac9e0 | 61 75 6c 74 20 74 69 74 6c 65 20 66 6f 72 20 74 68 65 20 6e 65 77 20 62 6f 6f 6b 6d 61 72 6b 2e | ault.title.for.the.new.bookmark. |
1aca00 | 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 5b 6f 70 74 69 6f 6e 61 6c 5d 20 61 44 65 66 61 75 6c 74 | ....*.@param.[optional].aDefault |
1aca20 | 49 6e 73 65 72 74 69 6f 6e 50 6f 69 6e 74 0a 20 20 20 2a 20 20 20 20 20 20 20 20 54 68 65 20 64 | InsertionPoint....*........The.d |
1aca40 | 65 66 61 75 6c 74 20 69 6e 73 65 72 74 69 6f 6e 20 70 6f 69 6e 74 20 66 6f 72 20 74 68 65 20 6e | efault.insertion.point.for.the.n |
1aca60 | 65 77 20 69 74 65 6d 2e 20 49 66 20 73 65 74 2c 20 74 68 65 20 66 6f 6c 64 65 72 0a 20 20 20 2a | ew.item..If.set,.the.folder....* |
1aca80 | 20 20 20 20 20 20 20 20 70 69 63 6b 65 72 20 77 6f 75 6c 64 20 62 65 20 68 69 64 64 65 6e 20 75 | ........picker.would.be.hidden.u |
1acaa0 | 6e 6c 65 73 73 20 61 53 68 6f 77 50 69 63 6b 65 72 20 69 73 20 73 65 74 20 74 6f 20 74 72 75 65 | nless.aShowPicker.is.set.to.true |
1acac0 | 2c 20 69 6e 20 77 68 69 63 68 0a 20 20 20 2a 20 20 20 20 20 20 20 20 63 61 73 65 20 74 68 65 20 | ,.in.which....*........case.the. |
1acae0 | 64 69 61 6c 6f 67 20 6f 6e 6c 79 20 75 73 65 73 20 74 68 65 20 66 6f 6c 64 65 72 20 69 64 65 6e | dialog.only.uses.the.folder.iden |
1acb00 | 74 69 66 69 65 72 20 66 72 6f 6d 20 74 68 65 20 69 6e 73 65 72 74 69 6f 6e 0a 20 20 20 2a 20 20 | tifier.from.the.insertion....*.. |
1acb20 | 20 20 20 20 20 20 70 6f 69 6e 74 20 61 73 20 74 68 65 20 69 6e 69 74 69 61 6c 6c 79 20 73 65 6c | ......point.as.the.initially.sel |
1acb40 | 65 63 74 65 64 20 69 74 65 6d 20 69 6e 20 74 68 65 20 66 6f 6c 64 65 72 20 70 69 63 6b 65 72 2e | ected.item.in.the.folder.picker. |
1acb60 | 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 5b 6f 70 74 69 6f 6e 61 6c 5d 20 61 53 68 6f 77 50 69 63 | ....*.@param.[optional].aShowPic |
1acb80 | 6b 65 72 0a 20 20 20 2a 20 20 20 20 20 20 20 20 73 65 65 20 61 62 6f 76 65 0a 20 20 20 2a 20 40 | ker....*........see.above....*.@ |
1acba0 | 72 65 74 75 72 6e 20 74 72 75 65 20 69 66 20 61 6e 79 20 74 72 61 6e 73 61 63 74 69 6f 6e 20 68 | return.true.if.any.transaction.h |
1acbc0 | 61 73 20 62 65 65 6e 20 70 65 72 66 6f 72 6d 65 64 2e 0a 20 20 20 2a 2f 0a 20 20 73 68 6f 77 41 | as.been.performed.....*/...showA |
1acbe0 | 64 64 46 6f 6c 64 65 72 55 49 3a 0a 20 20 66 75 6e 63 74 69 6f 6e 20 50 55 5f 73 68 6f 77 41 64 | ddFolderUI:...function.PU_showAd |
1acc00 | 64 46 6f 6c 64 65 72 55 49 28 61 54 69 74 6c 65 2c 20 61 44 65 66 61 75 6c 74 49 6e 73 65 72 74 | dFolderUI(aTitle,.aDefaultInsert |
1acc20 | 69 6f 6e 50 6f 69 6e 74 2c 20 61 53 68 6f 77 50 69 63 6b 65 72 29 20 7b 0a 20 20 20 20 76 61 72 | ionPoint,.aShowPicker).{.....var |
1acc40 | 20 69 6e 66 6f 20 3d 20 7b 0a 20 20 20 20 20 20 61 63 74 69 6f 6e 3a 20 22 61 64 64 22 2c 0a 20 | .info.=.{.......action:."add",.. |
1acc60 | 20 20 20 20 20 74 79 70 65 3a 20 22 66 6f 6c 64 65 72 22 2c 0a 20 20 20 20 20 20 68 69 64 64 65 | .....type:."folder",.......hidde |
1acc80 | 6e 52 6f 77 73 3a 20 5b 5d 0a 20 20 20 20 7d 3b 0a 0a 20 20 20 20 2f 2f 20 61 6c 6c 6f 77 20 64 | nRows:.[].....};......//.allow.d |
1acca0 | 65 66 61 75 6c 74 20 65 6d 70 74 79 20 74 69 74 6c 65 0a 20 20 20 20 69 66 20 28 74 79 70 65 6f | efault.empty.title.....if.(typeo |
1accc0 | 66 28 61 54 69 74 6c 65 29 20 3d 3d 20 22 73 74 72 69 6e 67 22 29 0a 20 20 20 20 20 20 69 6e 66 | f(aTitle).==."string").......inf |
1acce0 | 6f 2e 74 69 74 6c 65 20 3d 20 61 54 69 74 6c 65 3b 0a 0a 20 20 20 20 69 66 20 28 61 44 65 66 61 | o.title.=.aTitle;......if.(aDefa |
1acd00 | 75 6c 74 49 6e 73 65 72 74 69 6f 6e 50 6f 69 6e 74 29 20 7b 0a 20 20 20 20 20 20 69 6e 66 6f 2e | ultInsertionPoint).{.......info. |
1acd20 | 64 65 66 61 75 6c 74 49 6e 73 65 72 74 69 6f 6e 50 6f 69 6e 74 20 3d 20 61 44 65 66 61 75 6c 74 | defaultInsertionPoint.=.aDefault |
1acd40 | 49 6e 73 65 72 74 69 6f 6e 50 6f 69 6e 74 3b 0a 20 20 20 20 20 20 69 66 20 28 21 61 53 68 6f 77 | InsertionPoint;.......if.(!aShow |
1acd60 | 50 69 63 6b 65 72 29 0a 20 20 20 20 20 20 20 20 69 6e 66 6f 2e 68 69 64 64 65 6e 52 6f 77 73 2e | Picker).........info.hiddenRows. |
1acd80 | 70 75 73 68 28 22 66 6f 6c 64 65 72 50 69 63 6b 65 72 22 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 | push("folderPicker");.....}..... |
1acda0 | 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 73 68 6f 77 42 6f 6f 6b 6d 61 72 6b 44 69 61 6c 6f 67 28 | return.this._showBookmarkDialog( |
1acdc0 | 69 6e 66 6f 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 53 68 6f 77 73 20 74 68 | info);...},..../**....*.Shows.th |
1acde0 | 65 20 62 6f 6f 6b 6d 61 72 6b 20 64 69 61 6c 6f 67 20 63 6f 72 72 65 73 70 6f 6e 64 69 6e 67 20 | e.bookmark.dialog.corresponding. |
1ace00 | 74 6f 20 74 68 65 20 73 70 65 63 69 66 69 65 64 20 69 6e 66 6f 0a 20 20 20 2a 0a 20 20 20 2a 20 | to.the.specified.info....*....*. |
1ace20 | 40 70 61 72 61 6d 20 61 49 6e 66 6f 0a 20 20 20 2a 20 20 20 20 20 20 20 20 44 65 73 63 72 69 62 | @param.aInfo....*........Describ |
1ace40 | 65 73 20 74 68 65 20 69 74 65 6d 20 74 6f 20 62 65 20 65 64 69 74 65 64 2f 61 64 64 65 64 20 69 | es.the.item.to.be.edited/added.i |
1ace60 | 6e 20 74 68 65 20 64 69 61 6c 6f 67 2e 0a 20 20 20 2a 20 20 20 20 20 20 20 20 53 65 65 20 64 6f | n.the.dialog.....*........See.do |
1ace80 | 63 75 6d 65 6e 74 61 74 69 6f 6e 20 61 74 20 74 68 65 20 74 6f 70 20 6f 66 20 62 6f 6f 6b 6d 61 | cumentation.at.the.top.of.bookma |
1acea0 | 72 6b 50 72 6f 70 65 72 74 69 65 73 2e 6a 73 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 61 4d 69 6e | rkProperties.js....*.@param.aMin |
1acec0 | 69 6d 61 6c 55 49 0a 20 20 20 2a 20 20 20 20 20 20 20 20 5b 6f 70 74 69 6f 6e 61 6c 5d 20 69 66 | imalUI....*........[optional].if |
1acee0 | 20 74 72 75 65 2c 20 74 68 65 20 64 69 61 6c 6f 67 20 69 73 20 6f 70 65 6e 65 64 20 62 79 20 69 | .true,.the.dialog.is.opened.by.i |
1acf00 | 74 73 20 61 6c 74 65 72 6e 61 74 69 76 65 0a 20 20 20 2a 20 20 20 20 20 20 20 20 63 68 72 6f 6d | ts.alternative....*........chrom |
1acf20 | 65 3a 20 75 72 69 2e 0a 20 20 20 2a 0a 20 20 20 2a 20 40 72 65 74 75 72 6e 20 74 72 75 65 20 69 | e:.uri.....*....*.@return.true.i |
1acf40 | 66 20 61 6e 79 20 74 72 61 6e 73 61 63 74 69 6f 6e 20 68 61 73 20 62 65 65 6e 20 70 65 72 66 6f | f.any.transaction.has.been.perfo |
1acf60 | 72 6d 65 64 2c 20 66 61 6c 73 65 20 6f 74 68 65 72 77 69 73 65 2e 0a 20 20 20 2a 2f 0a 20 20 5f | rmed,.false.otherwise.....*/..._ |
1acf80 | 73 68 6f 77 42 6f 6f 6b 6d 61 72 6b 44 69 61 6c 6f 67 3a 20 66 75 6e 63 74 69 6f 6e 20 50 55 5f | showBookmarkDialog:.function.PU_ |
1acfa0 | 5f 73 68 6f 77 42 6f 6f 6b 6d 61 72 6b 44 69 61 6c 6f 67 28 61 49 6e 66 6f 2c 20 61 4d 69 6e 69 | _showBookmarkDialog(aInfo,.aMini |
1acfc0 | 6d 61 6c 55 49 29 20 7b 0a 20 20 20 20 76 61 72 20 64 69 61 6c 6f 67 55 52 4c 20 3d 20 61 4d 69 | malUI).{.....var.dialogURL.=.aMi |
1acfe0 | 6e 69 6d 61 6c 55 49 20 3f 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 63 | nimalUI.?....................."c |
1ad000 | 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 70 6c 61 63 65 73 2f 62 | hrome://browser/content/places/b |
1ad020 | 6f 6f 6b 6d 61 72 6b 50 72 6f 70 65 72 74 69 65 73 32 2e 78 75 6c 22 20 3a 0a 20 20 20 20 20 20 | ookmarkProperties2.xul".:....... |
1ad040 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f | .............."chrome://browser/ |
1ad060 | 63 6f 6e 74 65 6e 74 2f 70 6c 61 63 65 73 2f 62 6f 6f 6b 6d 61 72 6b 50 72 6f 70 65 72 74 69 65 | content/places/bookmarkPropertie |
1ad080 | 73 2e 78 75 6c 22 3b 0a 0a 20 20 20 20 76 61 72 20 66 65 61 74 75 72 65 73 3b 0a 20 20 20 20 69 | s.xul";......var.features;.....i |
1ad0a0 | 66 20 28 61 4d 69 6e 69 6d 61 6c 55 49 29 0a 20 20 20 20 20 20 66 65 61 74 75 72 65 73 20 3d 20 | f.(aMinimalUI).......features.=. |
1ad0c0 | 22 63 65 6e 74 65 72 73 63 72 65 65 6e 2c 63 68 72 6f 6d 65 2c 64 69 61 6c 6f 67 2c 72 65 73 69 | "centerscreen,chrome,dialog,resi |
1ad0e0 | 7a 61 62 6c 65 2c 6d 6f 64 61 6c 22 3b 0a 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 66 65 61 | zable,modal";.....else.......fea |
1ad100 | 74 75 72 65 73 20 3d 20 22 63 65 6e 74 65 72 73 63 72 65 65 6e 2c 63 68 72 6f 6d 65 2c 6d 6f 64 | tures.=."centerscreen,chrome,mod |
1ad120 | 61 6c 2c 72 65 73 69 7a 61 62 6c 65 3d 6e 6f 22 3b 0a 20 20 20 20 77 69 6e 64 6f 77 2e 6f 70 65 | al,resizable=no";.....window.ope |
1ad140 | 6e 44 69 61 6c 6f 67 28 64 69 61 6c 6f 67 55 52 4c 2c 20 22 22 2c 20 20 66 65 61 74 75 72 65 73 | nDialog(dialogURL,."",..features |
1ad160 | 2c 20 61 49 6e 66 6f 29 3b 0a 20 20 20 20 72 65 74 75 72 6e 20 28 22 70 65 72 66 6f 72 6d 65 64 | ,.aInfo);.....return.("performed |
1ad180 | 22 20 69 6e 20 61 49 6e 66 6f 20 26 26 20 61 49 6e 66 6f 2e 70 65 72 66 6f 72 6d 65 64 29 3b 0a | ".in.aInfo.&&.aInfo.performed);. |
1ad1a0 | 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 52 65 74 75 72 6e 73 20 74 68 65 20 63 6c 6f | ..},..../**....*.Returns.the.clo |
1ad1c0 | 73 65 74 20 61 6e 63 65 73 74 6f 72 20 70 6c 61 63 65 73 20 76 69 65 77 20 66 6f 72 20 74 68 65 | set.ancestor.places.view.for.the |
1ad1e0 | 20 67 69 76 65 6e 20 44 4f 4d 20 6e 6f 64 65 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 61 4e 6f 64 | .given.DOM.node....*.@param.aNod |
1ad200 | 65 0a 20 20 20 2a 20 20 20 20 20 20 20 20 61 20 44 4f 4d 20 6e 6f 64 65 0a 20 20 20 2a 20 40 72 | e....*........a.DOM.node....*.@r |
1ad220 | 65 74 75 72 6e 20 74 68 65 20 63 6c 6f 73 65 74 20 61 6e 63 65 73 74 6f 72 20 70 6c 61 63 65 73 | eturn.the.closet.ancestor.places |
1ad240 | 20 76 69 65 77 20 69 66 20 65 78 69 73 74 73 2c 20 6e 75 6c 6c 20 6f 74 68 65 72 77 73 69 65 2e | .view.if.exists,.null.otherwsie. |
1ad260 | 0a 20 20 20 2a 2f 0a 20 20 67 65 74 56 69 65 77 46 6f 72 4e 6f 64 65 3a 20 66 75 6e 63 74 69 6f | ....*/...getViewForNode:.functio |
1ad280 | 6e 20 50 55 5f 67 65 74 56 69 65 77 46 6f 72 4e 6f 64 65 28 61 4e 6f 64 65 29 20 7b 0a 20 20 20 | n.PU_getViewForNode(aNode).{.... |
1ad2a0 | 20 76 61 72 20 6e 6f 64 65 20 3d 20 61 4e 6f 64 65 3b 0a 0a 20 20 20 20 2f 2f 20 74 68 65 20 76 | .var.node.=.aNode;......//.the.v |
1ad2c0 | 69 65 77 20 66 6f 72 20 61 20 3c 6d 65 6e 75 3e 20 6f 66 20 77 68 69 63 68 20 69 74 73 20 61 73 | iew.for.a.<menu>.of.which.its.as |
1ad2e0 | 73 6f 63 69 61 74 65 64 20 6d 65 6e 75 70 6f 70 75 70 20 69 73 20 61 20 70 6c 61 63 65 73 20 76 | sociated.menupopup.is.a.places.v |
1ad300 | 69 65 77 2c 0a 20 20 20 20 2f 2f 20 69 73 20 74 68 65 20 6d 65 6e 75 70 6f 70 75 70 0a 20 20 20 | iew,.....//.is.the.menupopup.... |
1ad320 | 20 69 66 20 28 6e 6f 64 65 2e 6c 6f 63 61 6c 4e 61 6d 65 20 3d 3d 20 22 6d 65 6e 75 22 20 26 26 | .if.(node.localName.==."menu".&& |
1ad340 | 20 21 6e 6f 64 65 2e 6e 6f 64 65 20 26 26 0a 20 20 20 20 20 20 20 20 6e 6f 64 65 2e 66 69 72 73 | .!node.node.&&.........node.firs |
1ad360 | 74 43 68 69 6c 64 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 74 79 70 65 22 29 20 3d 3d 20 22 | tChild.getAttribute("type").==." |
1ad380 | 70 6c 61 63 65 73 22 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 6e 6f 64 65 2e 66 69 72 73 74 | places").......return.node.first |
1ad3a0 | 43 68 69 6c 64 3b 0a 0a 20 20 20 20 77 68 69 6c 65 20 28 6e 6f 64 65 29 20 7b 0a 20 20 20 20 20 | Child;......while.(node).{...... |
1ad3c0 | 20 2f 2f 20 58 58 58 6d 61 6e 6f 3a 20 55 73 65 20 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 28 | .//.XXXmano:.Use.QueryInterface( |
1ad3e0 | 6e 73 49 50 6c 61 63 65 73 56 69 65 77 29 20 6f 6e 63 65 20 77 65 20 69 6d 70 6c 65 6d 65 6e 74 | nsIPlacesView).once.we.implement |
1ad400 | 20 69 74 2e 2e 2e 0a 20 20 20 20 20 20 69 66 20 28 6e 6f 64 65 2e 67 65 74 41 74 74 72 69 62 75 | .it..........if.(node.getAttribu |
1ad420 | 74 65 28 22 74 79 70 65 22 29 20 3d 3d 20 22 70 6c 61 63 65 73 22 29 0a 20 20 20 20 20 20 20 20 | te("type").==."places")......... |
1ad440 | 72 65 74 75 72 6e 20 6e 6f 64 65 3b 0a 0a 20 20 20 20 20 20 6e 6f 64 65 20 3d 20 6e 6f 64 65 2e | return.node;........node.=.node. |
1ad460 | 70 61 72 65 6e 74 4e 6f 64 65 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 72 65 74 75 72 6e 20 6e 75 | parentNode;.....}......return.nu |
1ad480 | 6c 6c 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 42 79 20 63 61 6c 6c 69 6e 67 20 | ll;...},..../**....*.By.calling. |
1ad4a0 | 74 68 69 73 20 62 65 66 6f 72 65 20 77 65 20 76 69 73 69 74 20 61 20 55 52 4c 2c 20 77 65 20 77 | this.before.we.visit.a.URL,.we.w |
1ad4c0 | 69 6c 6c 20 75 73 65 20 54 52 41 4e 53 49 54 49 4f 4e 5f 54 59 50 45 44 0a 20 20 20 2a 20 61 73 | ill.use.TRANSITION_TYPED....*.as |
1ad4e0 | 20 74 68 65 20 74 72 61 6e 73 69 74 69 6f 6e 20 66 6f 72 20 74 68 65 20 76 69 73 69 74 20 74 6f | .the.transition.for.the.visit.to |
1ad500 | 20 74 68 61 74 20 55 52 4c 20 28 69 66 20 77 65 20 64 6f 6e 27 74 20 68 61 76 65 20 61 20 72 65 | .that.URL.(if.we.don't.have.a.re |
1ad520 | 66 65 72 72 65 72 29 2e 0a 20 20 20 2a 20 54 68 69 73 20 69 73 20 75 73 65 64 20 77 68 65 6e 20 | ferrer).....*.This.is.used.when. |
1ad540 | 76 69 73 69 74 69 6e 67 20 70 61 67 65 73 20 66 72 6f 6d 20 74 68 65 20 68 69 73 74 6f 72 79 20 | visiting.pages.from.the.history. |
1ad560 | 6d 65 6e 75 2c 20 68 69 73 74 6f 72 79 20 73 69 64 65 62 61 72 2c 0a 20 20 20 2a 20 75 72 6c 20 | menu,.history.sidebar,....*.url. |
1ad580 | 62 61 72 2c 20 75 72 6c 20 61 75 74 6f 63 6f 6d 70 6c 65 74 65 20 72 65 73 75 6c 74 73 2c 20 61 | bar,.url.autocomplete.results,.a |
1ad5a0 | 6e 64 20 68 69 73 74 6f 72 79 20 73 65 61 72 63 68 65 73 20 66 72 6f 6d 20 74 68 65 20 70 6c 61 | nd.history.searches.from.the.pla |
1ad5c0 | 63 65 73 0a 20 20 20 2a 20 6f 72 67 61 6e 69 7a 65 72 2e 20 20 49 66 20 77 65 20 64 6f 6e 27 74 | ces....*.organizer...If.we.don't |
1ad5e0 | 20 63 61 6c 6c 20 74 68 69 73 2c 20 77 65 27 6c 6c 20 74 72 65 61 74 20 74 68 6f 73 65 20 76 69 | .call.this,.we'll.treat.those.vi |
1ad600 | 73 69 74 73 20 61 73 0a 20 20 20 2a 20 54 52 41 4e 53 49 54 49 4f 4e 5f 4c 49 4e 4b 2e 0a 20 20 | sits.as....*.TRANSITION_LINK.... |
1ad620 | 20 2a 2f 0a 20 20 6d 61 72 6b 50 61 67 65 41 73 54 79 70 65 64 3a 20 66 75 6e 63 74 69 6f 6e 20 | .*/...markPageAsTyped:.function. |
1ad640 | 50 55 5f 6d 61 72 6b 50 61 67 65 41 73 54 79 70 65 64 28 61 55 52 4c 29 20 7b 0a 20 20 20 20 50 | PU_markPageAsTyped(aURL).{.....P |
1ad660 | 6c 61 63 65 73 55 74 69 6c 73 2e 68 69 73 74 6f 72 79 2e 51 75 65 72 79 49 6e 74 65 72 66 61 63 | lacesUtils.history.QueryInterfac |
1ad680 | 65 28 43 69 2e 6e 73 49 42 72 6f 77 73 65 72 48 69 73 74 6f 72 79 29 0a 20 20 20 20 20 20 20 20 | e(Ci.nsIBrowserHistory)......... |
1ad6a0 | 20 20 20 20 20 20 20 2e 6d 61 72 6b 50 61 67 65 41 73 54 79 70 65 64 28 74 68 69 73 2e 63 72 65 | ........markPageAsTyped(this.cre |
1ad6c0 | 61 74 65 46 69 78 65 64 55 52 49 28 61 55 52 4c 29 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a | ateFixedURI(aURL));...},..../**. |
1ad6e0 | 20 20 20 2a 20 42 79 20 63 61 6c 6c 69 6e 67 20 74 68 69 73 20 62 65 66 6f 72 65 20 77 65 20 76 | ...*.By.calling.this.before.we.v |
1ad700 | 69 73 69 74 20 61 20 55 52 4c 2c 20 77 65 20 77 69 6c 6c 20 75 73 65 20 54 52 41 4e 53 49 54 49 | isit.a.URL,.we.will.use.TRANSITI |
1ad720 | 4f 4e 5f 42 4f 4f 4b 4d 41 52 4b 0a 20 20 20 2a 20 61 73 20 74 68 65 20 74 72 61 6e 73 69 74 69 | ON_BOOKMARK....*.as.the.transiti |
1ad740 | 6f 6e 20 66 6f 72 20 74 68 65 20 76 69 73 69 74 20 74 6f 20 74 68 61 74 20 55 52 4c 20 28 69 66 | on.for.the.visit.to.that.URL.(if |
1ad760 | 20 77 65 20 64 6f 6e 27 74 20 68 61 76 65 20 61 20 72 65 66 65 72 72 65 72 29 2e 0a 20 20 20 2a | .we.don't.have.a.referrer).....* |
1ad780 | 20 54 68 69 73 20 69 73 20 75 73 65 64 20 77 68 65 6e 20 76 69 73 69 74 69 6e 67 20 70 61 67 65 | .This.is.used.when.visiting.page |
1ad7a0 | 73 20 66 72 6f 6d 20 74 68 65 20 62 6f 6f 6b 6d 61 72 6b 73 20 6d 65 6e 75 2c 20 0a 20 20 20 2a | s.from.the.bookmarks.menu,.....* |
1ad7c0 | 20 70 65 72 73 6f 6e 61 6c 20 74 6f 6f 6c 62 61 72 2c 20 61 6e 64 20 62 6f 6f 6b 6d 61 72 6b 73 | .personal.toolbar,.and.bookmarks |
1ad7e0 | 20 66 72 6f 6d 20 77 69 74 68 69 6e 20 74 68 65 20 70 6c 61 63 65 73 20 6f 72 67 61 6e 69 7a 65 | .from.within.the.places.organize |
1ad800 | 72 2e 0a 20 20 20 2a 20 49 66 20 77 65 20 64 6f 6e 27 74 20 63 61 6c 6c 20 74 68 69 73 2c 20 77 | r.....*.If.we.don't.call.this,.w |
1ad820 | 65 27 6c 6c 20 74 72 65 61 74 20 74 68 6f 73 65 20 76 69 73 69 74 73 20 61 73 20 54 52 41 4e 53 | e'll.treat.those.visits.as.TRANS |
1ad840 | 49 54 49 4f 4e 5f 4c 49 4e 4b 2e 0a 20 20 20 2a 2f 0a 20 20 6d 61 72 6b 50 61 67 65 41 73 46 6f | ITION_LINK.....*/...markPageAsFo |
1ad860 | 6c 6c 6f 77 65 64 42 6f 6f 6b 6d 61 72 6b 3a 20 66 75 6e 63 74 69 6f 6e 20 50 55 5f 6d 61 72 6b | llowedBookmark:.function.PU_mark |
1ad880 | 50 61 67 65 41 73 46 6f 6c 6c 6f 77 65 64 42 6f 6f 6b 6d 61 72 6b 28 61 55 52 4c 29 20 7b 0a 20 | PageAsFollowedBookmark(aURL).{.. |
1ad8a0 | 20 20 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 68 69 73 74 6f 72 79 2e 6d 61 72 6b 50 61 67 65 41 | ...PlacesUtils.history.markPageA |
1ad8c0 | 73 46 6f 6c 6c 6f 77 65 64 42 6f 6f 6b 6d 61 72 6b 28 74 68 69 73 2e 63 72 65 61 74 65 46 69 78 | sFollowedBookmark(this.createFix |
1ad8e0 | 65 64 55 52 49 28 61 55 52 4c 29 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 41 | edURI(aURL));...},..../**....*.A |
1ad900 | 6c 6c 6f 77 73 20 6f 70 65 6e 69 6e 67 20 6f 66 20 6a 61 76 61 73 63 72 69 70 74 2f 64 61 74 61 | llows.opening.of.javascript/data |
1ad920 | 20 55 52 49 20 6f 6e 6c 79 20 69 66 20 74 68 65 20 67 69 76 65 6e 20 6e 6f 64 65 20 69 73 0a 20 | .URI.only.if.the.given.node.is.. |
1ad940 | 20 20 2a 20 62 6f 6f 6b 6d 61 72 6b 65 64 20 28 73 65 65 20 62 75 67 20 32 32 34 35 32 31 29 2e | ..*.bookmarked.(see.bug.224521). |
1ad960 | 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 61 55 52 49 4e 6f 64 65 0a 20 20 20 2a 20 20 20 20 20 20 | ....*.@param.aURINode....*...... |
1ad980 | 20 20 61 20 55 52 49 20 6e 6f 64 65 0a 20 20 20 2a 20 40 72 65 74 75 72 6e 20 74 72 75 65 20 69 | ..a.URI.node....*.@return.true.i |
1ad9a0 | 66 20 69 74 27 73 20 73 61 66 65 20 74 6f 20 6f 70 65 6e 20 74 68 65 20 6e 6f 64 65 20 69 6e 20 | f.it's.safe.to.open.the.node.in. |
1ad9c0 | 74 68 65 20 62 72 6f 77 73 65 72 2c 20 66 61 6c 73 65 20 6f 74 68 65 72 77 69 73 65 2e 0a 20 20 | the.browser,.false.otherwise.... |
1ad9e0 | 20 2a 0a 20 20 20 2a 2f 0a 20 20 63 68 65 63 6b 55 52 4c 53 65 63 75 72 69 74 79 3a 20 66 75 6e | .*....*/...checkURLSecurity:.fun |
1ada00 | 63 74 69 6f 6e 20 50 55 5f 63 68 65 63 6b 55 52 4c 53 65 63 75 72 69 74 79 28 61 55 52 49 4e 6f | ction.PU_checkURLSecurity(aURINo |
1ada20 | 64 65 29 20 7b 0a 20 20 20 20 69 66 20 28 21 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 | de).{.....if.(!PlacesUtils.nodeI |
1ada40 | 73 42 6f 6f 6b 6d 61 72 6b 28 61 55 52 49 4e 6f 64 65 29 29 20 7b 0a 20 20 20 20 20 20 76 61 72 | sBookmark(aURINode)).{.......var |
1ada60 | 20 75 72 69 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 5f 75 72 69 28 61 55 52 49 4e 6f 64 65 | .uri.=.PlacesUtils._uri(aURINode |
1ada80 | 2e 75 72 69 29 3b 0a 20 20 20 20 20 20 69 66 20 28 75 72 69 2e 73 63 68 65 6d 65 49 73 28 22 6a | .uri);.......if.(uri.schemeIs("j |
1adaa0 | 61 76 61 73 63 72 69 70 74 22 29 20 7c 7c 20 75 72 69 2e 73 63 68 65 6d 65 49 73 28 22 64 61 74 | avascript").||.uri.schemeIs("dat |
1adac0 | 61 22 29 29 20 7b 0a 20 20 20 20 20 20 20 20 63 6f 6e 73 74 20 42 52 41 4e 44 49 4e 47 5f 42 55 | a")).{.........const.BRANDING_BU |
1adae0 | 4e 44 4c 45 5f 55 52 49 20 3d 20 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 61 6e 64 69 6e 67 2f 6c 6f | NDLE_URI.=."chrome://branding/lo |
1adb00 | 63 61 6c 65 2f 62 72 61 6e 64 2e 70 72 6f 70 65 72 74 69 65 73 22 3b 0a 20 20 20 20 20 20 20 20 | cale/brand.properties";......... |
1adb20 | 76 61 72 20 62 72 61 6e 64 53 68 6f 72 74 4e 61 6d 65 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c | var.brandShortName.=.Cc["@mozill |
1adb40 | 61 2e 6f 72 67 2f 69 6e 74 6c 2f 73 74 72 69 6e 67 62 75 6e 64 6c 65 3b 31 22 5d 2e 0a 20 20 20 | a.org/intl/stringbundle;1"]..... |
1adb60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 53 65 72 | ..........................getSer |
1adb80 | 76 69 63 65 28 43 69 2e 6e 73 49 53 74 72 69 6e 67 42 75 6e 64 6c 65 53 65 72 76 69 63 65 29 2e | vice(Ci.nsIStringBundleService). |
1adba0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 72 | ..............................cr |
1adbc0 | 65 61 74 65 42 75 6e 64 6c 65 28 42 52 41 4e 44 49 4e 47 5f 42 55 4e 44 4c 45 5f 55 52 49 29 2e | eateBundle(BRANDING_BUNDLE_URI). |
1adbe0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 47 65 | ..............................Ge |
1adc00 | 74 53 74 72 69 6e 67 46 72 6f 6d 4e 61 6d 65 28 22 62 72 61 6e 64 53 68 6f 72 74 4e 61 6d 65 22 | tStringFromName("brandShortName" |
1adc20 | 29 3b 0a 20 20 20 20 20 20 20 20 76 61 72 20 70 72 6f 6d 70 74 53 65 72 76 69 63 65 20 3d 20 43 | );.........var.promptService.=.C |
1adc40 | 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 65 6d 62 65 64 63 6f 6d 70 2f 70 72 6f 6d 70 74 | c["@mozilla.org/embedcomp/prompt |
1adc60 | 2d 73 65 72 76 69 63 65 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | -service;1"].................... |
1adc80 | 20 20 20 20 20 20 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 50 72 6f 6d 70 | ..........getService(Ci.nsIPromp |
1adca0 | 74 53 65 72 76 69 63 65 29 3b 0a 0a 20 20 20 20 20 20 20 20 76 61 72 20 65 72 72 6f 72 53 74 72 | tService);..........var.errorStr |
1adcc0 | 20 3d 20 74 68 69 73 2e 67 65 74 53 74 72 69 6e 67 28 22 6c 6f 61 64 2d 6a 73 2d 64 61 74 61 2d | .=.this.getString("load-js-data- |
1adce0 | 75 72 6c 2d 65 72 72 6f 72 22 29 3b 0a 20 20 20 20 20 20 20 20 70 72 6f 6d 70 74 53 65 72 76 69 | url-error");.........promptServi |
1add00 | 63 65 2e 61 6c 65 72 74 28 77 69 6e 64 6f 77 2c 20 62 72 61 6e 64 53 68 6f 72 74 4e 61 6d 65 2c | ce.alert(window,.brandShortName, |
1add20 | 20 65 72 72 6f 72 53 74 72 29 3b 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 66 61 6c 73 65 | .errorStr);.........return.false |
1add40 | 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 20 20 20 20 72 65 74 75 72 6e 20 74 72 75 65 3b | ;.......}.....}.....return.true; |
1add60 | 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 47 65 74 20 74 68 65 20 64 65 73 63 72 69 | ...},..../**....*.Get.the.descri |
1add80 | 70 74 69 6f 6e 20 61 73 73 6f 63 69 61 74 65 64 20 77 69 74 68 20 61 20 64 6f 63 75 6d 65 6e 74 | ption.associated.with.a.document |
1adda0 | 2c 20 61 73 20 73 70 65 63 69 66 69 65 64 20 69 6e 20 61 20 3c 4d 45 54 41 3e 0a 20 20 20 2a 20 | ,.as.specified.in.a.<META>....*. |
1addc0 | 65 6c 65 6d 65 6e 74 2e 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 20 20 64 6f 63 0a 20 20 20 2a 20 | element.....*.@param...doc....*. |
1adde0 | 20 20 20 20 20 20 20 20 20 41 20 44 4f 4d 20 44 6f 63 75 6d 65 6e 74 20 74 6f 20 67 65 74 20 61 | .........A.DOM.Document.to.get.a |
1ade00 | 20 64 65 73 63 72 69 70 74 69 6f 6e 20 66 6f 72 0a 20 20 20 2a 20 40 72 65 74 75 72 6e 73 20 41 | .description.for....*.@returns.A |
1ade20 | 20 64 65 73 63 72 69 70 74 69 6f 6e 20 73 74 72 69 6e 67 20 69 66 20 61 20 4d 45 54 41 20 65 6c | .description.string.if.a.META.el |
1ade40 | 65 6d 65 6e 74 20 77 61 73 20 64 69 73 63 6f 76 65 72 65 64 20 77 69 74 68 20 61 0a 20 20 20 2a | ement.was.discovered.with.a....* |
1ade60 | 20 20 20 20 20 20 20 20 20 20 22 64 65 73 63 72 69 70 74 69 6f 6e 22 20 6f 72 20 22 68 74 74 70 | .........."description".or."http |
1ade80 | 65 71 75 69 76 22 20 61 74 74 72 69 62 75 74 65 2c 20 65 6d 70 74 79 20 73 74 72 69 6e 67 20 6f | equiv".attribute,.empty.string.o |
1adea0 | 74 68 65 72 77 69 73 65 2e 0a 20 20 20 2a 2f 0a 20 20 67 65 74 44 65 73 63 72 69 70 74 69 6f 6e | therwise.....*/...getDescription |
1adec0 | 46 72 6f 6d 44 6f 63 75 6d 65 6e 74 3a 20 66 75 6e 63 74 69 6f 6e 20 50 55 5f 67 65 74 44 65 73 | FromDocument:.function.PU_getDes |
1adee0 | 63 72 69 70 74 69 6f 6e 46 72 6f 6d 44 6f 63 75 6d 65 6e 74 28 64 6f 63 29 20 7b 0a 20 20 20 20 | criptionFromDocument(doc).{..... |
1adf00 | 76 61 72 20 6d 65 74 61 45 6c 65 6d 65 6e 74 73 20 3d 20 64 6f 63 2e 67 65 74 45 6c 65 6d 65 6e | var.metaElements.=.doc.getElemen |
1adf20 | 74 73 42 79 54 61 67 4e 61 6d 65 28 22 4d 45 54 41 22 29 3b 0a 20 20 20 20 66 6f 72 20 28 76 61 | tsByTagName("META");.....for.(va |
1adf40 | 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 6d 65 74 61 45 6c 65 6d 65 6e 74 73 2e 6c 65 6e 67 74 68 | r.i.=.0;.i.<.metaElements.length |
1adf60 | 3b 20 2b 2b 69 29 20 7b 0a 20 20 20 20 20 20 69 66 20 28 6d 65 74 61 45 6c 65 6d 65 6e 74 73 5b | ;.++i).{.......if.(metaElements[ |
1adf80 | 69 5d 2e 6e 61 6d 65 2e 74 6f 4c 6f 77 65 72 43 61 73 65 28 29 20 3d 3d 20 22 64 65 73 63 72 69 | i].name.toLowerCase().==."descri |
1adfa0 | 70 74 69 6f 6e 22 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 6d 65 74 61 45 6c 65 6d 65 6e 74 73 | ption".||...........metaElements |
1adfc0 | 5b 69 5d 2e 68 74 74 70 45 71 75 69 76 2e 74 6f 4c 6f 77 65 72 43 61 73 65 28 29 20 3d 3d 20 22 | [i].httpEquiv.toLowerCase().==." |
1adfe0 | 64 65 73 63 72 69 70 74 69 6f 6e 22 29 20 7b 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 6d | description").{.........return.m |
1ae000 | 65 74 61 45 6c 65 6d 65 6e 74 73 5b 69 5d 2e 63 6f 6e 74 65 6e 74 3b 0a 20 20 20 20 20 20 7d 0a | etaElements[i].content;.......}. |
1ae020 | 20 20 20 20 7d 0a 20 20 20 20 72 65 74 75 72 6e 20 22 22 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a | ....}.....return."";...},..../** |
1ae040 | 0a 20 20 20 2a 20 52 65 74 72 69 65 76 65 20 74 68 65 20 64 65 73 63 72 69 70 74 69 6f 6e 20 6f | ....*.Retrieve.the.description.o |
1ae060 | 66 20 61 6e 20 69 74 65 6d 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 61 49 74 65 6d 49 64 0a 20 20 | f.an.item....*.@param.aItemId... |
1ae080 | 20 2a 20 20 20 20 20 20 20 20 69 74 65 6d 20 69 64 65 6e 74 69 66 69 65 72 0a 20 20 20 2a 20 40 | .*........item.identifier....*.@ |
1ae0a0 | 72 65 74 75 72 6e 73 20 74 68 65 20 64 65 73 63 72 69 70 74 69 6f 6e 20 6f 66 20 74 68 65 20 67 | returns.the.description.of.the.g |
1ae0c0 | 69 76 65 6e 20 69 74 65 6d 2c 20 6f 72 20 61 6e 20 65 6d 70 74 79 20 73 74 72 69 6e 67 20 69 66 | iven.item,.or.an.empty.string.if |
1ae0e0 | 20 69 74 20 69 73 0a 20 20 20 2a 20 6e 6f 74 20 73 65 74 2e 0a 20 20 20 2a 2f 0a 20 20 67 65 74 | .it.is....*.not.set.....*/...get |
1ae100 | 49 74 65 6d 44 65 73 63 72 69 70 74 69 6f 6e 3a 20 66 75 6e 63 74 69 6f 6e 20 50 55 5f 67 65 74 | ItemDescription:.function.PU_get |
1ae120 | 49 74 65 6d 44 65 73 63 72 69 70 74 69 6f 6e 28 61 49 74 65 6d 49 64 29 20 7b 0a 20 20 20 20 69 | ItemDescription(aItemId).{.....i |
1ae140 | 66 20 28 50 6c 61 63 65 73 55 74 69 6c 73 2e 61 6e 6e 6f 74 61 74 69 6f 6e 73 2e 69 74 65 6d 48 | f.(PlacesUtils.annotations.itemH |
1ae160 | 61 73 41 6e 6e 6f 74 61 74 69 6f 6e 28 61 49 74 65 6d 49 64 2c 20 44 45 53 43 52 49 50 54 49 4f | asAnnotation(aItemId,.DESCRIPTIO |
1ae180 | 4e 5f 41 4e 4e 4f 29 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 50 6c 61 63 65 73 55 74 69 6c | N_ANNO)).......return.PlacesUtil |
1ae1a0 | 73 2e 61 6e 6e 6f 74 61 74 69 6f 6e 73 2e 67 65 74 49 74 65 6d 41 6e 6e 6f 74 61 74 69 6f 6e 28 | s.annotations.getItemAnnotation( |
1ae1c0 | 61 49 74 65 6d 49 64 2c 20 44 45 53 43 52 49 50 54 49 4f 4e 5f 41 4e 4e 4f 29 3b 0a 20 20 20 20 | aItemId,.DESCRIPTION_ANNO);..... |
1ae1e0 | 72 65 74 75 72 6e 20 22 22 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 47 69 76 65 | return."";...},..../**....*.Give |
1ae200 | 73 20 74 68 65 20 75 73 65 72 20 61 20 63 68 61 6e 63 65 20 74 6f 20 63 61 6e 63 65 6c 20 6c 6f | s.the.user.a.chance.to.cancel.lo |
1ae220 | 61 64 69 6e 67 20 6c 6f 74 73 20 6f 66 20 74 61 62 73 20 61 74 20 6f 6e 63 65 0a 20 20 20 2a 2f | ading.lots.of.tabs.at.once....*/ |
1ae240 | 0a 20 20 5f 63 6f 6e 66 69 72 6d 4f 70 65 6e 49 6e 54 61 62 73 3a 20 66 75 6e 63 74 69 6f 6e 20 | ..._confirmOpenInTabs:.function. |
1ae260 | 50 55 5f 5f 63 6f 6e 66 69 72 6d 4f 70 65 6e 49 6e 54 61 62 73 28 6e 75 6d 54 61 62 73 54 6f 4f | PU__confirmOpenInTabs(numTabsToO |
1ae280 | 70 65 6e 29 20 7b 0a 20 20 20 20 76 61 72 20 70 72 65 66 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c | pen).{.....var.pref.=.Cc["@mozil |
1ae2a0 | 6c 61 2e 6f 72 67 2f 70 72 65 66 65 72 65 6e 63 65 73 2d 73 65 72 76 69 63 65 3b 31 22 5d 2e 0a | la.org/preferences-service;1"].. |
1ae2c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 | ...............getService(Ci.nsI |
1ae2e0 | 50 72 65 66 42 72 61 6e 63 68 29 3b 0a 0a 20 20 20 20 63 6f 6e 73 74 20 6b 57 61 72 6e 4f 6e 4f | PrefBranch);......const.kWarnOnO |
1ae300 | 70 65 6e 50 72 65 66 20 3d 20 22 62 72 6f 77 73 65 72 2e 74 61 62 73 2e 77 61 72 6e 4f 6e 4f 70 | penPref.=."browser.tabs.warnOnOp |
1ae320 | 65 6e 22 3b 0a 20 20 20 20 76 61 72 20 72 65 61 6c 6c 79 4f 70 65 6e 20 3d 20 74 72 75 65 3b 0a | en";.....var.reallyOpen.=.true;. |
1ae340 | 20 20 20 20 69 66 20 28 70 72 65 66 2e 67 65 74 42 6f 6f 6c 50 72 65 66 28 6b 57 61 72 6e 4f 6e | ....if.(pref.getBoolPref(kWarnOn |
1ae360 | 4f 70 65 6e 50 72 65 66 29 29 20 7b 0a 20 20 20 20 20 20 69 66 20 28 6e 75 6d 54 61 62 73 54 6f | OpenPref)).{.......if.(numTabsTo |
1ae380 | 4f 70 65 6e 20 3e 3d 20 70 72 65 66 2e 67 65 74 49 6e 74 50 72 65 66 28 22 62 72 6f 77 73 65 72 | Open.>=.pref.getIntPref("browser |
1ae3a0 | 2e 74 61 62 73 2e 6d 61 78 4f 70 65 6e 42 65 66 6f 72 65 57 61 72 6e 22 29 29 20 7b 0a 20 20 20 | .tabs.maxOpenBeforeWarn")).{.... |
1ae3c0 | 20 20 20 20 20 76 61 72 20 70 72 6f 6d 70 74 53 65 72 76 69 63 65 20 3d 20 43 63 5b 22 40 6d 6f | .....var.promptService.=.Cc["@mo |
1ae3e0 | 7a 69 6c 6c 61 2e 6f 72 67 2f 65 6d 62 65 64 63 6f 6d 70 2f 70 72 6f 6d 70 74 2d 73 65 72 76 69 | zilla.org/embedcomp/prompt-servi |
1ae400 | 63 65 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ce;1"].......................... |
1ae420 | 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 50 72 6f 6d 70 74 53 65 72 76 69 | ....getService(Ci.nsIPromptServi |
1ae440 | 63 65 29 3b 0a 0a 20 20 20 20 20 20 20 20 2f 2f 20 64 65 66 61 75 6c 74 20 74 6f 20 74 72 75 65 | ce);..........//.default.to.true |
1ae460 | 3a 20 69 66 20 69 74 20 77 65 72 65 20 66 61 6c 73 65 2c 20 77 65 20 77 6f 75 6c 64 6e 27 74 20 | :.if.it.were.false,.we.wouldn't. |
1ae480 | 67 65 74 20 74 68 69 73 20 66 61 72 0a 20 20 20 20 20 20 20 20 76 61 72 20 77 61 72 6e 4f 6e 4f | get.this.far.........var.warnOnO |
1ae4a0 | 70 65 6e 20 3d 20 7b 20 76 61 6c 75 65 3a 20 74 72 75 65 20 7d 3b 0a 0a 20 20 20 20 20 20 20 20 | pen.=.{.value:.true.};.......... |
1ae4c0 | 76 61 72 20 6d 65 73 73 61 67 65 4b 65 79 20 3d 20 22 74 61 62 73 2e 6f 70 65 6e 57 61 72 6e 69 | var.messageKey.=."tabs.openWarni |
1ae4e0 | 6e 67 4d 75 6c 74 69 70 6c 65 42 72 61 6e 64 65 64 22 3b 0a 20 20 20 20 20 20 20 20 76 61 72 20 | ngMultipleBranded";.........var. |
1ae500 | 6f 70 65 6e 4b 65 79 20 3d 20 22 74 61 62 73 2e 6f 70 65 6e 42 75 74 74 6f 6e 4d 75 6c 74 69 70 | openKey.=."tabs.openButtonMultip |
1ae520 | 6c 65 22 3b 0a 20 20 20 20 20 20 20 20 63 6f 6e 73 74 20 42 52 41 4e 44 49 4e 47 5f 42 55 4e 44 | le";.........const.BRANDING_BUND |
1ae540 | 4c 45 5f 55 52 49 20 3d 20 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 61 6e 64 69 6e 67 2f 6c 6f 63 61 | LE_URI.=."chrome://branding/loca |
1ae560 | 6c 65 2f 62 72 61 6e 64 2e 70 72 6f 70 65 72 74 69 65 73 22 3b 0a 20 20 20 20 20 20 20 20 76 61 | le/brand.properties";.........va |
1ae580 | 72 20 62 72 61 6e 64 53 68 6f 72 74 4e 61 6d 65 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e | r.brandShortName.=.Cc["@mozilla. |
1ae5a0 | 6f 72 67 2f 69 6e 74 6c 2f 73 74 72 69 6e 67 62 75 6e 64 6c 65 3b 31 22 5d 2e 0a 20 20 20 20 20 | org/intl/stringbundle;1"]....... |
1ae5c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 53 65 72 76 69 | ........................getServi |
1ae5e0 | 63 65 28 43 69 2e 6e 73 49 53 74 72 69 6e 67 42 75 6e 64 6c 65 53 65 72 76 69 63 65 29 2e 0a 20 | ce(Ci.nsIStringBundleService)... |
1ae600 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 72 65 61 | ............................crea |
1ae620 | 74 65 42 75 6e 64 6c 65 28 42 52 41 4e 44 49 4e 47 5f 42 55 4e 44 4c 45 5f 55 52 49 29 2e 0a 20 | teBundle(BRANDING_BUNDLE_URI)... |
1ae640 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 47 65 74 53 | ............................GetS |
1ae660 | 74 72 69 6e 67 46 72 6f 6d 4e 61 6d 65 28 22 62 72 61 6e 64 53 68 6f 72 74 4e 61 6d 65 22 29 3b | tringFromName("brandShortName"); |
1ae680 | 0a 0a 20 20 20 20 20 20 20 20 76 61 72 20 62 75 74 74 6f 6e 50 72 65 73 73 65 64 20 3d 20 70 72 | ..........var.buttonPressed.=.pr |
1ae6a0 | 6f 6d 70 74 53 65 72 76 69 63 65 2e 63 6f 6e 66 69 72 6d 45 78 28 77 69 6e 64 6f 77 2c 0a 20 20 | omptService.confirmEx(window,... |
1ae6c0 | 20 20 20 20 20 20 20 20 74 68 69 73 2e 67 65 74 53 74 72 69 6e 67 28 22 74 61 62 73 2e 6f 70 65 | ........this.getString("tabs.ope |
1ae6e0 | 6e 57 61 72 6e 69 6e 67 54 69 74 6c 65 22 29 2c 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e | nWarningTitle"),...........this. |
1ae700 | 67 65 74 46 6f 72 6d 61 74 74 65 64 53 74 72 69 6e 67 28 6d 65 73 73 61 67 65 4b 65 79 2c 20 5b | getFormattedString(messageKey,.[ |
1ae720 | 6e 75 6d 54 61 62 73 54 6f 4f 70 65 6e 2c 20 62 72 61 6e 64 53 68 6f 72 74 4e 61 6d 65 5d 29 2c | numTabsToOpen,.brandShortName]), |
1ae740 | 0a 20 20 20 20 20 20 20 20 20 20 28 70 72 6f 6d 70 74 53 65 72 76 69 63 65 2e 42 55 54 54 4f 4e | ...........(promptService.BUTTON |
1ae760 | 5f 54 49 54 4c 45 5f 49 53 5f 53 54 52 49 4e 47 20 2a 20 70 72 6f 6d 70 74 53 65 72 76 69 63 65 | _TITLE_IS_STRING.*.promptService |
1ae780 | 2e 42 55 54 54 4f 4e 5f 50 4f 53 5f 30 29 0a 20 20 20 20 20 20 20 20 20 20 20 2b 20 28 70 72 6f | .BUTTON_POS_0)............+.(pro |
1ae7a0 | 6d 70 74 53 65 72 76 69 63 65 2e 42 55 54 54 4f 4e 5f 54 49 54 4c 45 5f 43 41 4e 43 45 4c 20 2a | mptService.BUTTON_TITLE_CANCEL.* |
1ae7c0 | 20 70 72 6f 6d 70 74 53 65 72 76 69 63 65 2e 42 55 54 54 4f 4e 5f 50 4f 53 5f 31 29 2c 0a 20 20 | .promptService.BUTTON_POS_1),... |
1ae7e0 | 20 20 20 20 20 20 20 20 74 68 69 73 2e 67 65 74 53 74 72 69 6e 67 28 6f 70 65 6e 4b 65 79 29 2c | ........this.getString(openKey), |
1ae800 | 20 6e 75 6c 6c 2c 20 6e 75 6c 6c 2c 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 67 65 74 46 | .null,.null,...........this.getF |
1ae820 | 6f 72 6d 61 74 74 65 64 53 74 72 69 6e 67 28 22 74 61 62 73 2e 6f 70 65 6e 57 61 72 6e 69 6e 67 | ormattedString("tabs.openWarning |
1ae840 | 50 72 6f 6d 70 74 4d 65 42 72 61 6e 64 65 64 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | PromptMeBranded",............... |
1ae860 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 5b 62 72 61 6e 64 53 68 6f 72 74 4e | ....................[brandShortN |
1ae880 | 61 6d 65 5d 29 2c 20 77 61 72 6e 4f 6e 4f 70 65 6e 29 3b 0a 0a 20 20 20 20 20 20 20 20 72 65 61 | ame]),.warnOnOpen);..........rea |
1ae8a0 | 6c 6c 79 4f 70 65 6e 20 3d 20 28 62 75 74 74 6f 6e 50 72 65 73 73 65 64 20 3d 3d 20 30 29 3b 0a | llyOpen.=.(buttonPressed.==.0);. |
1ae8c0 | 20 20 20 20 20 20 20 20 2f 2f 20 64 6f 6e 27 74 20 73 65 74 20 74 68 65 20 70 72 65 66 20 75 6e | ........//.don't.set.the.pref.un |
1ae8e0 | 6c 65 73 73 20 74 68 65 79 20 70 72 65 73 73 20 4f 4b 20 61 6e 64 20 69 74 27 73 20 66 61 6c 73 | less.they.press.OK.and.it's.fals |
1ae900 | 65 0a 20 20 20 20 20 20 20 20 69 66 20 28 72 65 61 6c 6c 79 4f 70 65 6e 20 26 26 20 21 77 61 72 | e.........if.(reallyOpen.&&.!war |
1ae920 | 6e 4f 6e 4f 70 65 6e 2e 76 61 6c 75 65 29 0a 20 20 20 20 20 20 20 20 20 20 70 72 65 66 2e 73 65 | nOnOpen.value)...........pref.se |
1ae940 | 74 42 6f 6f 6c 50 72 65 66 28 6b 57 61 72 6e 4f 6e 4f 70 65 6e 50 72 65 66 2c 20 66 61 6c 73 65 | tBoolPref(kWarnOnOpenPref,.false |
1ae960 | 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 20 20 20 20 72 65 74 75 72 6e 20 72 65 61 6c | );.......}.....}.....return.real |
1ae980 | 6c 79 4f 70 65 6e 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 20 61 49 74 65 6d 73 54 6f 4f 70 65 6e | lyOpen;...},..../**.aItemsToOpen |
1ae9a0 | 20 6e 65 65 64 73 20 74 6f 20 62 65 20 61 6e 20 61 72 72 61 79 20 6f 66 20 6f 62 6a 65 63 74 73 | .needs.to.be.an.array.of.objects |
1ae9c0 | 20 6f 66 20 74 68 65 20 66 6f 72 6d 3a 0a 20 20 20 20 2a 20 7b 75 72 69 3a 20 73 74 72 69 6e 67 | .of.the.form:.....*.{uri:.string |
1ae9e0 | 2c 20 69 73 42 6f 6f 6b 6d 61 72 6b 3a 20 62 6f 6f 6c 65 61 6e 7d 0a 20 20 20 20 2a 2f 0a 20 20 | ,.isBookmark:.boolean}.....*/... |
1aea00 | 5f 6f 70 65 6e 54 61 62 73 65 74 3a 20 66 75 6e 63 74 69 6f 6e 20 50 55 5f 5f 6f 70 65 6e 54 61 | _openTabset:.function.PU__openTa |
1aea20 | 62 73 65 74 28 61 49 74 65 6d 73 54 6f 4f 70 65 6e 2c 20 61 45 76 65 6e 74 29 20 7b 0a 20 20 20 | bset(aItemsToOpen,.aEvent).{.... |
1aea40 | 20 69 66 20 28 21 61 49 74 65 6d 73 54 6f 4f 70 65 6e 2e 6c 65 6e 67 74 68 29 0a 20 20 20 20 20 | .if.(!aItemsToOpen.length)...... |
1aea60 | 20 72 65 74 75 72 6e 3b 0a 0a 20 20 20 20 76 61 72 20 75 72 6c 73 20 3d 20 5b 5d 3b 0a 20 20 20 | .return;......var.urls.=.[];.... |
1aea80 | 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 61 49 74 65 6d 73 54 6f 4f 70 65 | .for.(var.i.=.0;.i.<.aItemsToOpe |
1aeaa0 | 6e 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 69 74 65 6d 20 | n.length;.i++).{.......var.item. |
1aeac0 | 3d 20 61 49 74 65 6d 73 54 6f 4f 70 65 6e 5b 69 5d 3b 0a 20 20 20 20 20 20 69 66 20 28 69 74 65 | =.aItemsToOpen[i];.......if.(ite |
1aeae0 | 6d 2e 69 73 42 6f 6f 6b 6d 61 72 6b 29 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 61 72 6b 50 | m.isBookmark).........this.markP |
1aeb00 | 61 67 65 41 73 46 6f 6c 6c 6f 77 65 64 42 6f 6f 6b 6d 61 72 6b 28 69 74 65 6d 2e 75 72 69 29 3b | ageAsFollowedBookmark(item.uri); |
1aeb20 | 0a 20 20 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 61 72 6b 50 61 67 | .......else.........this.markPag |
1aeb40 | 65 41 73 54 79 70 65 64 28 69 74 65 6d 2e 75 72 69 29 3b 0a 0a 20 20 20 20 20 20 75 72 6c 73 2e | eAsTyped(item.uri);........urls. |
1aeb60 | 70 75 73 68 28 69 74 65 6d 2e 75 72 69 29 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 76 61 72 20 62 | push(item.uri);.....}......var.b |
1aeb80 | 72 6f 77 73 65 72 57 69 6e 64 6f 77 20 3d 20 67 65 74 54 6f 70 57 69 6e 28 29 3b 0a 20 20 20 20 | rowserWindow.=.getTopWin();..... |
1aeba0 | 76 61 72 20 77 68 65 72 65 20 3d 20 62 72 6f 77 73 65 72 57 69 6e 64 6f 77 20 3f 0a 20 20 20 20 | var.where.=.browserWindow.?..... |
1aebc0 | 20 20 20 20 20 20 20 20 20 20 20 20 77 68 65 72 65 54 6f 4f 70 65 6e 4c 69 6e 6b 28 61 45 76 65 | ............whereToOpenLink(aEve |
1aebe0 | 6e 74 2c 20 66 61 6c 73 65 2c 20 74 72 75 65 29 20 3a 20 22 77 69 6e 64 6f 77 22 3b 0a 20 20 20 | nt,.false,.true).:."window";.... |
1aec00 | 20 69 66 20 28 77 68 65 72 65 20 3d 3d 20 22 77 69 6e 64 6f 77 22 29 20 7b 0a 20 20 20 20 20 20 | .if.(where.==."window").{....... |
1aec20 | 77 69 6e 64 6f 77 2e 6f 70 65 6e 44 69 61 6c 6f 67 28 67 65 74 42 72 6f 77 73 65 72 55 52 4c 28 | window.openDialog(getBrowserURL( |
1aec40 | 29 2c 20 22 5f 62 6c 61 6e 6b 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ),."_blank",.................... |
1aec60 | 20 20 20 20 20 22 63 68 72 6f 6d 65 2c 61 6c 6c 2c 64 69 61 6c 6f 67 3d 6e 6f 22 2c 20 75 72 6c | ....."chrome,all,dialog=no",.url |
1aec80 | 73 2e 6a 6f 69 6e 28 22 7c 22 29 29 3b 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 20 20 | s.join("|"));.......return;..... |
1aeca0 | 7d 0a 0a 20 20 20 20 76 61 72 20 6c 6f 61 64 49 6e 42 61 63 6b 67 72 6f 75 6e 64 20 3d 20 77 68 | }......var.loadInBackground.=.wh |
1aecc0 | 65 72 65 20 3d 3d 20 22 74 61 62 73 68 69 66 74 65 64 22 20 3f 20 74 72 75 65 20 3a 20 66 61 6c | ere.==."tabshifted".?.true.:.fal |
1aece0 | 73 65 3b 0a 20 20 20 20 76 61 72 20 72 65 70 6c 61 63 65 43 75 72 72 65 6e 74 54 61 62 20 3d 20 | se;.....var.replaceCurrentTab.=. |
1aed00 | 77 68 65 72 65 20 3d 3d 20 22 74 61 62 22 20 3f 20 66 61 6c 73 65 20 3a 20 74 72 75 65 3b 0a 20 | where.==."tab".?.false.:.true;.. |
1aed20 | 20 20 20 62 72 6f 77 73 65 72 57 69 6e 64 6f 77 2e 67 65 74 42 72 6f 77 73 65 72 28 29 2e 6c 6f | ...browserWindow.getBrowser().lo |
1aed40 | 61 64 54 61 62 73 28 75 72 6c 73 2c 20 6c 6f 61 64 49 6e 42 61 63 6b 67 72 6f 75 6e 64 2c 0a 20 | adTabs(urls,.loadInBackground,.. |
1aed60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
1aed80 | 20 20 20 20 20 20 20 72 65 70 6c 61 63 65 43 75 72 72 65 6e 74 54 61 62 29 3b 0a 20 20 7d 2c 0a | .......replaceCurrentTab);...},. |
1aeda0 | 0a 20 20 6f 70 65 6e 43 6f 6e 74 61 69 6e 65 72 4e 6f 64 65 49 6e 54 61 62 73 3a 20 66 75 6e 63 | ...openContainerNodeInTabs:.func |
1aedc0 | 74 69 6f 6e 20 50 55 5f 6f 70 65 6e 43 6f 6e 74 61 69 6e 65 72 49 6e 54 61 62 73 28 61 4e 6f 64 | tion.PU_openContainerInTabs(aNod |
1aede0 | 65 2c 20 61 45 76 65 6e 74 29 20 7b 0a 20 20 20 20 76 61 72 20 75 72 6c 73 54 6f 4f 70 65 6e 20 | e,.aEvent).{.....var.urlsToOpen. |
1aee00 | 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 67 65 74 55 52 4c 73 46 6f 72 43 6f 6e 74 61 69 6e 65 | =.PlacesUtils.getURLsForContaine |
1aee20 | 72 4e 6f 64 65 28 61 4e 6f 64 65 29 3b 0a 20 20 20 20 69 66 20 28 21 74 68 69 73 2e 5f 63 6f 6e | rNode(aNode);.....if.(!this._con |
1aee40 | 66 69 72 6d 4f 70 65 6e 49 6e 54 61 62 73 28 75 72 6c 73 54 6f 4f 70 65 6e 2e 6c 65 6e 67 74 68 | firmOpenInTabs(urlsToOpen.length |
1aee60 | 29 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 20 20 74 68 69 73 2e 5f 6f 70 65 6e | )).......return;......this._open |
1aee80 | 54 61 62 73 65 74 28 75 72 6c 73 54 6f 4f 70 65 6e 2c 20 61 45 76 65 6e 74 29 3b 0a 20 20 7d 2c | Tabset(urlsToOpen,.aEvent);...}, |
1aeea0 | 0a 0a 20 20 6f 70 65 6e 55 52 49 4e 6f 64 65 73 49 6e 54 61 62 73 3a 20 66 75 6e 63 74 69 6f 6e | ....openURINodesInTabs:.function |
1aeec0 | 20 50 55 5f 6f 70 65 6e 55 52 49 4e 6f 64 65 73 49 6e 54 61 62 73 28 61 4e 6f 64 65 73 2c 20 61 | .PU_openURINodesInTabs(aNodes,.a |
1aeee0 | 45 76 65 6e 74 29 20 7b 0a 20 20 20 20 76 61 72 20 75 72 6c 73 54 6f 4f 70 65 6e 20 3d 20 5b 5d | Event).{.....var.urlsToOpen.=.[] |
1aef00 | 3b 0a 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 3d 30 3b 20 69 20 3c 20 61 4e 6f 64 65 73 2e 6c | ;.....for.(var.i=0;.i.<.aNodes.l |
1aef20 | 65 6e 67 74 68 3b 20 69 2b 2b 29 20 7b 0a 20 20 20 20 20 20 2f 2f 20 73 6b 69 70 20 6f 76 65 72 | ength;.i++).{.......//.skip.over |
1aef40 | 20 73 65 70 61 72 61 74 6f 72 73 20 61 6e 64 20 66 6f 6c 64 65 72 73 0a 20 20 20 20 20 20 69 66 | .separators.and.folders.......if |
1aef60 | 20 28 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 55 52 49 28 61 4e 6f 64 65 73 5b 69 | .(PlacesUtils.nodeIsURI(aNodes[i |
1aef80 | 5d 29 29 0a 20 20 20 20 20 20 20 20 75 72 6c 73 54 6f 4f 70 65 6e 2e 70 75 73 68 28 7b 75 72 69 | ])).........urlsToOpen.push({uri |
1aefa0 | 3a 20 61 4e 6f 64 65 73 5b 69 5d 2e 75 72 69 2c 20 69 73 42 6f 6f 6b 6d 61 72 6b 3a 20 50 6c 61 | :.aNodes[i].uri,.isBookmark:.Pla |
1aefc0 | 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 42 6f 6f 6b 6d 61 72 6b 28 61 4e 6f 64 65 73 5b 69 | cesUtils.nodeIsBookmark(aNodes[i |
1aefe0 | 5d 29 7d 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 74 68 69 73 2e 5f 6f 70 65 6e 54 61 62 73 65 74 | ])});.....}.....this._openTabset |
1af000 | 28 75 72 6c 73 54 6f 4f 70 65 6e 2c 20 61 45 76 65 6e 74 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a | (urlsToOpen,.aEvent);...},..../* |
1af020 | 2a 0a 20 20 20 2a 20 4c 6f 61 64 73 20 74 68 65 20 6e 6f 64 65 27 73 20 55 52 4c 20 69 6e 20 74 | *....*.Loads.the.node's.URL.in.t |
1af040 | 68 65 20 61 70 70 72 6f 70 72 69 61 74 65 20 74 61 62 20 6f 72 20 77 69 6e 64 6f 77 20 6f 72 20 | he.appropriate.tab.or.window.or. |
1af060 | 61 73 20 61 20 77 65 62 0a 20 20 20 2a 20 70 61 6e 65 6c 20 67 69 76 65 6e 20 74 68 65 20 75 73 | as.a.web....*.panel.given.the.us |
1af080 | 65 72 27 73 20 70 72 65 66 65 72 65 6e 63 65 20 73 70 65 63 69 66 69 65 64 20 62 79 20 6d 6f 64 | er's.preference.specified.by.mod |
1af0a0 | 69 66 69 65 72 20 6b 65 79 73 20 74 72 61 63 6b 65 64 20 62 79 20 61 0a 20 20 20 2a 20 44 4f 4d | ifier.keys.tracked.by.a....*.DOM |
1af0c0 | 20 6d 6f 75 73 65 2f 6b 65 79 20 65 76 65 6e 74 2e 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 20 20 | .mouse/key.event.....*.@param... |
1af0e0 | 61 4e 6f 64 65 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 41 6e 20 75 72 69 20 72 65 73 75 6c | aNode....*..........An.uri.resul |
1af100 | 74 20 6e 6f 64 65 2e 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 20 20 61 45 76 65 6e 74 0a 20 20 20 | t.node.....*.@param...aEvent.... |
1af120 | 2a 20 20 20 20 20 20 20 20 20 20 54 68 65 20 44 4f 4d 20 6d 6f 75 73 65 2f 6b 65 79 20 65 76 65 | *..........The.DOM.mouse/key.eve |
1af140 | 6e 74 20 77 69 74 68 20 6d 6f 64 69 66 69 65 72 20 6b 65 79 73 20 73 65 74 20 74 68 61 74 20 74 | nt.with.modifier.keys.set.that.t |
1af160 | 72 61 63 6b 20 74 68 65 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 75 73 65 72 27 73 20 70 72 | rack.the....*..........user's.pr |
1af180 | 65 66 65 72 72 65 64 20 64 65 73 74 69 6e 61 74 69 6f 6e 20 77 69 6e 64 6f 77 20 6f 72 20 74 61 | eferred.destination.window.or.ta |
1af1a0 | 62 2e 0a 20 20 20 2a 2f 0a 20 20 6f 70 65 6e 4e 6f 64 65 57 69 74 68 45 76 65 6e 74 3a 20 66 75 | b.....*/...openNodeWithEvent:.fu |
1af1c0 | 6e 63 74 69 6f 6e 20 50 55 5f 6f 70 65 6e 4e 6f 64 65 57 69 74 68 45 76 65 6e 74 28 61 4e 6f 64 | nction.PU_openNodeWithEvent(aNod |
1af1e0 | 65 2c 20 61 45 76 65 6e 74 29 20 7b 0a 20 20 20 20 74 68 69 73 2e 6f 70 65 6e 4e 6f 64 65 49 6e | e,.aEvent).{.....this.openNodeIn |
1af200 | 28 61 4e 6f 64 65 2c 20 77 68 65 72 65 54 6f 4f 70 65 6e 4c 69 6e 6b 28 61 45 76 65 6e 74 29 29 | (aNode,.whereToOpenLink(aEvent)) |
1af220 | 3b 0a 20 20 7d 2c 0a 20 20 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 4c 6f 61 64 73 20 74 68 65 20 6e | ;...},....../**....*.Loads.the.n |
1af240 | 6f 64 65 27 73 20 55 52 4c 20 69 6e 20 74 68 65 20 61 70 70 72 6f 70 72 69 61 74 65 20 74 61 62 | ode's.URL.in.the.appropriate.tab |
1af260 | 20 6f 72 20 77 69 6e 64 6f 77 20 6f 72 20 61 73 20 61 0a 20 20 20 2a 20 77 65 62 20 70 61 6e 65 | .or.window.or.as.a....*.web.pane |
1af280 | 6c 2e 0a 20 20 20 2a 20 73 65 65 20 61 6c 73 6f 20 6f 70 65 6e 55 49 4c 69 6e 6b 49 6e 0a 20 20 | l.....*.see.also.openUILinkIn... |
1af2a0 | 20 2a 2f 0a 20 20 6f 70 65 6e 4e 6f 64 65 49 6e 3a 20 66 75 6e 63 74 69 6f 6e 20 50 55 5f 6f 70 | .*/...openNodeIn:.function.PU_op |
1af2c0 | 65 6e 4e 6f 64 65 49 6e 28 61 4e 6f 64 65 2c 20 61 57 68 65 72 65 29 20 7b 0a 20 20 20 20 69 66 | enNodeIn(aNode,.aWhere).{.....if |
1af2e0 | 20 28 61 4e 6f 64 65 20 26 26 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 55 52 49 | .(aNode.&&.PlacesUtils.nodeIsURI |
1af300 | 28 61 4e 6f 64 65 29 20 26 26 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 63 68 65 63 6b 55 52 4c | (aNode).&&.........this.checkURL |
1af320 | 53 65 63 75 72 69 74 79 28 61 4e 6f 64 65 29 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 69 73 42 | Security(aNode)).{.......var.isB |
1af340 | 6f 6f 6b 6d 61 72 6b 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 42 6f 6f 6b | ookmark.=.PlacesUtils.nodeIsBook |
1af360 | 6d 61 72 6b 28 61 4e 6f 64 65 29 3b 0a 0a 20 20 20 20 20 20 69 66 20 28 69 73 42 6f 6f 6b 6d 61 | mark(aNode);........if.(isBookma |
1af380 | 72 6b 29 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 61 72 6b 50 61 67 65 41 73 46 6f 6c 6c 6f | rk).........this.markPageAsFollo |
1af3a0 | 77 65 64 42 6f 6f 6b 6d 61 72 6b 28 61 4e 6f 64 65 2e 75 72 69 29 3b 0a 20 20 20 20 20 20 65 6c | wedBookmark(aNode.uri);.......el |
1af3c0 | 73 65 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 6d 61 72 6b 50 61 67 65 41 73 54 79 70 65 64 28 | se.........this.markPageAsTyped( |
1af3e0 | 61 4e 6f 64 65 2e 75 72 69 29 3b 0a 0a 20 20 20 20 20 20 2f 2f 20 43 68 65 63 6b 20 77 68 65 74 | aNode.uri);........//.Check.whet |
1af400 | 68 65 72 20 74 68 65 20 6e 6f 64 65 20 69 73 20 61 20 62 6f 6f 6b 6d 61 72 6b 20 77 68 69 63 68 | her.the.node.is.a.bookmark.which |
1af420 | 20 73 68 6f 75 6c 64 20 62 65 20 6f 70 65 6e 65 64 20 61 73 0a 20 20 20 20 20 20 2f 2f 20 61 20 | .should.be.opened.as.......//.a. |
1af440 | 77 65 62 20 70 61 6e 65 6c 0a 20 20 20 20 20 20 69 66 20 28 61 57 68 65 72 65 20 3d 3d 20 22 63 | web.panel.......if.(aWhere.==."c |
1af460 | 75 72 72 65 6e 74 22 20 26 26 20 69 73 42 6f 6f 6b 6d 61 72 6b 29 20 7b 0a 20 20 20 20 20 20 20 | urrent".&&.isBookmark).{........ |
1af480 | 20 69 66 20 28 50 6c 61 63 65 73 55 74 69 6c 73 2e 61 6e 6e 6f 74 61 74 69 6f 6e 73 0a 20 20 20 | .if.(PlacesUtils.annotations.... |
1af4a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 69 74 65 6d 48 61 73 41 6e 6e 6f | .....................itemHasAnno |
1af4c0 | 74 61 74 69 6f 6e 28 61 4e 6f 64 65 2e 69 74 65 6d 49 64 2c 20 4c 4f 41 44 5f 49 4e 5f 53 49 44 | tation(aNode.itemId,.LOAD_IN_SID |
1af4e0 | 45 42 41 52 5f 41 4e 4e 4f 29 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 77 20 3d 20 | EBAR_ANNO)).{...........var.w.=. |
1af500 | 67 65 74 54 6f 70 57 69 6e 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 77 29 20 7b 0a | getTopWin();...........if.(w).{. |
1af520 | 20 20 20 20 20 20 20 20 20 20 20 20 77 2e 6f 70 65 6e 57 65 62 50 61 6e 65 6c 28 61 4e 6f 64 65 | ............w.openWebPanel(aNode |
1af540 | 2e 74 69 74 6c 65 2c 20 61 4e 6f 64 65 2e 75 72 69 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 | .title,.aNode.uri);............. |
1af560 | 72 65 74 75 72 6e 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 | return;...........}.........}... |
1af580 | 20 20 20 20 7d 0a 20 20 20 20 20 20 6f 70 65 6e 55 49 4c 69 6e 6b 49 6e 28 61 4e 6f 64 65 2e 75 | ....}.......openUILinkIn(aNode.u |
1af5a0 | 72 69 2c 20 61 57 68 65 72 65 29 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 | ri,.aWhere);.....}...},..../**.. |
1af5c0 | 20 20 2a 20 48 65 6c 70 65 72 20 66 6f 72 20 67 75 65 73 73 69 6e 67 20 73 63 68 65 6d 65 20 66 | ..*.Helper.for.guessing.scheme.f |
1af5e0 | 72 6f 6d 20 61 6e 20 75 72 6c 20 73 74 72 69 6e 67 2e 0a 20 20 20 2a 20 55 73 65 64 20 74 6f 20 | rom.an.url.string.....*.Used.to. |
1af600 | 61 76 6f 69 64 20 6e 73 49 55 52 49 20 6f 76 65 72 68 65 61 64 20 69 6e 20 66 72 65 71 75 65 6e | avoid.nsIURI.overhead.in.frequen |
1af620 | 74 6c 79 20 63 61 6c 6c 65 64 20 55 49 20 66 75 6e 63 74 69 6f 6e 73 2e 0a 20 20 20 2a 0a 20 20 | tly.called.UI.functions.....*... |
1af640 | 20 2a 20 40 70 61 72 61 6d 20 61 55 72 6c 53 74 72 69 6e 67 20 74 68 65 20 75 72 6c 20 74 6f 20 | .*.@param.aUrlString.the.url.to. |
1af660 | 67 75 65 73 73 20 74 68 65 20 73 63 68 65 6d 65 20 66 72 6f 6d 2e 0a 20 20 20 2a 20 0a 20 20 20 | guess.the.scheme.from.....*..... |
1af680 | 2a 20 40 72 65 74 75 72 6e 20 67 75 65 73 73 65 64 20 73 63 68 65 6d 65 20 66 6f 72 20 74 68 69 | *.@return.guessed.scheme.for.thi |
1af6a0 | 73 20 75 72 6c 20 73 74 72 69 6e 67 2e 0a 20 20 20 2a 0a 20 20 20 2a 20 40 6e 6f 74 65 20 74 68 | s.url.string.....*....*.@note.th |
1af6c0 | 69 73 20 69 73 20 6e 6f 74 20 73 75 70 70 6f 73 65 64 20 62 65 20 70 65 72 66 65 63 74 2c 20 73 | is.is.not.supposed.be.perfect,.s |
1af6e0 | 6f 20 75 73 65 20 69 74 20 6f 6e 6c 79 20 66 6f 72 20 55 49 20 70 75 72 70 6f 73 65 73 2e 0a 20 | o.use.it.only.for.UI.purposes... |
1af700 | 20 20 2a 2f 0a 20 20 67 75 65 73 73 55 72 6c 53 63 68 65 6d 65 46 6f 72 55 49 3a 20 66 75 6e 63 | ..*/...guessUrlSchemeForUI:.func |
1af720 | 74 69 6f 6e 20 50 55 55 5f 67 75 65 73 73 55 72 6c 53 63 68 65 6d 65 46 6f 72 55 49 28 61 55 72 | tion.PUU_guessUrlSchemeForUI(aUr |
1af740 | 6c 53 74 72 69 6e 67 29 20 7b 0a 20 20 20 20 72 65 74 75 72 6e 20 61 55 72 6c 53 74 72 69 6e 67 | lString).{.....return.aUrlString |
1af760 | 2e 73 75 62 73 74 72 28 30 2c 20 61 55 72 6c 53 74 72 69 6e 67 2e 69 6e 64 65 78 4f 66 28 22 3a | .substr(0,.aUrlString.indexOf(": |
1af780 | 22 29 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 48 65 6c 70 65 72 20 66 6f 72 | "));...},..../**....*.Helper.for |
1af7a0 | 20 74 68 65 20 74 6f 6f 6c 62 61 72 20 61 6e 64 20 6d 65 6e 75 20 76 69 65 77 73 0a 20 20 20 2a | .the.toolbar.and.menu.views....* |
1af7c0 | 2f 0a 20 20 63 72 65 61 74 65 4d 65 6e 75 49 74 65 6d 46 6f 72 4e 6f 64 65 3a 0a 20 20 66 75 6e | /...createMenuItemForNode:...fun |
1af7e0 | 63 74 69 6f 6e 20 50 55 55 5f 63 72 65 61 74 65 4d 65 6e 75 49 74 65 6d 46 6f 72 4e 6f 64 65 28 | ction.PUU_createMenuItemForNode( |
1af800 | 61 4e 6f 64 65 2c 20 61 43 6f 6e 74 61 69 6e 65 72 73 4d 61 70 29 20 7b 0a 20 20 20 20 76 61 72 | aNode,.aContainersMap).{.....var |
1af820 | 20 65 6c 65 6d 65 6e 74 3b 0a 20 20 20 20 76 61 72 20 74 79 70 65 20 3d 20 61 4e 6f 64 65 2e 74 | .element;.....var.type.=.aNode.t |
1af840 | 79 70 65 3b 0a 20 20 20 20 69 66 20 28 74 79 70 65 20 3d 3d 20 43 69 2e 6e 73 49 4e 61 76 48 69 | ype;.....if.(type.==.Ci.nsINavHi |
1af860 | 73 74 6f 72 79 52 65 73 75 6c 74 4e 6f 64 65 2e 52 45 53 55 4c 54 5f 54 59 50 45 5f 53 45 50 41 | storyResultNode.RESULT_TYPE_SEPA |
1af880 | 52 41 54 4f 52 29 0a 20 20 20 20 20 20 65 6c 65 6d 65 6e 74 20 3d 20 64 6f 63 75 6d 65 6e 74 2e | RATOR).......element.=.document. |
1af8a0 | 63 72 65 61 74 65 45 6c 65 6d 65 6e 74 28 22 6d 65 6e 75 73 65 70 61 72 61 74 6f 72 22 29 3b 0a | createElement("menuseparator");. |
1af8c0 | 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 76 61 72 20 69 63 6f 6e 55 52 49 20 3d 20 61 | ....else.{.......var.iconURI.=.a |
1af8e0 | 4e 6f 64 65 2e 69 63 6f 6e 3b 0a 20 20 20 20 20 20 76 61 72 20 69 63 6f 6e 55 52 49 53 70 65 63 | Node.icon;.......var.iconURISpec |
1af900 | 20 3d 20 22 22 3b 0a 20 20 20 20 20 20 69 66 20 28 69 63 6f 6e 55 52 49 29 0a 20 20 20 20 20 20 | .=."";.......if.(iconURI)....... |
1af920 | 20 20 69 63 6f 6e 55 52 49 53 70 65 63 20 3d 20 69 63 6f 6e 55 52 49 2e 73 70 65 63 3b 0a 0a 20 | ..iconURISpec.=.iconURI.spec;... |
1af940 | 20 20 20 20 20 69 66 20 28 50 6c 61 63 65 73 55 74 69 6c 73 2e 75 72 69 54 79 70 65 73 2e 69 6e | .....if.(PlacesUtils.uriTypes.in |
1af960 | 64 65 78 4f 66 28 74 79 70 65 29 20 21 3d 20 2d 31 29 20 7b 0a 20 20 20 20 20 20 20 20 65 6c 65 | dexOf(type).!=.-1).{.........ele |
1af980 | 6d 65 6e 74 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 63 72 65 61 74 65 45 6c 65 6d 65 6e 74 28 22 6d | ment.=.document.createElement("m |
1af9a0 | 65 6e 75 69 74 65 6d 22 29 3b 0a 20 20 20 20 20 20 20 20 65 6c 65 6d 65 6e 74 2e 63 6c 61 73 73 | enuitem");.........element.class |
1af9c0 | 4e 61 6d 65 20 3d 20 22 6d 65 6e 75 69 74 65 6d 2d 69 63 6f 6e 69 63 20 62 6f 6f 6b 6d 61 72 6b | Name.=."menuitem-iconic.bookmark |
1af9e0 | 2d 69 74 65 6d 22 3b 0a 20 20 20 20 20 20 20 20 65 6c 65 6d 65 6e 74 2e 73 65 74 41 74 74 72 69 | -item";.........element.setAttri |
1afa00 | 62 75 74 65 28 22 73 63 68 65 6d 65 22 2c 20 74 68 69 73 2e 67 75 65 73 73 55 72 6c 53 63 68 65 | bute("scheme",.this.guessUrlSche |
1afa20 | 6d 65 46 6f 72 55 49 28 61 4e 6f 64 65 2e 75 72 69 29 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 | meForUI(aNode.uri));.......}.... |
1afa40 | 20 20 20 65 6c 73 65 20 69 66 20 28 50 6c 61 63 65 73 55 74 69 6c 73 2e 63 6f 6e 74 61 69 6e 65 | ...else.if.(PlacesUtils.containe |
1afa60 | 72 54 79 70 65 73 2e 69 6e 64 65 78 4f 66 28 74 79 70 65 29 20 21 3d 20 2d 31 29 20 7b 0a 20 20 | rTypes.indexOf(type).!=.-1).{... |
1afa80 | 20 20 20 20 20 20 65 6c 65 6d 65 6e 74 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 63 72 65 61 74 65 45 | ......element.=.document.createE |
1afaa0 | 6c 65 6d 65 6e 74 28 22 6d 65 6e 75 22 29 3b 0a 20 20 20 20 20 20 20 20 65 6c 65 6d 65 6e 74 2e | lement("menu");.........element. |
1afac0 | 73 65 74 41 74 74 72 69 62 75 74 65 28 22 63 6f 6e 74 61 69 6e 65 72 22 2c 20 22 74 72 75 65 22 | setAttribute("container",."true" |
1afae0 | 29 3b 0a 0a 20 20 20 20 20 20 20 20 69 66 20 28 61 4e 6f 64 65 2e 74 79 70 65 20 3d 3d 20 43 69 | );..........if.(aNode.type.==.Ci |
1afb00 | 2e 6e 73 49 4e 61 76 48 69 73 74 6f 72 79 52 65 73 75 6c 74 4e 6f 64 65 2e 52 45 53 55 4c 54 5f | .nsINavHistoryResultNode.RESULT_ |
1afb20 | 54 59 50 45 5f 51 55 45 52 59 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 65 6c 65 6d 65 6e 74 2e | TYPE_QUERY).{...........element. |
1afb40 | 73 65 74 41 74 74 72 69 62 75 74 65 28 22 71 75 65 72 79 22 2c 20 22 74 72 75 65 22 29 3b 0a 20 | setAttribute("query",."true");.. |
1afb60 | 20 20 20 20 20 20 20 20 20 69 66 20 28 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 54 | .........if.(PlacesUtils.nodeIsT |
1afb80 | 61 67 51 75 65 72 79 28 61 4e 6f 64 65 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 65 6c 65 6d | agQuery(aNode)).............elem |
1afba0 | 65 6e 74 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 74 61 67 43 6f 6e 74 61 69 6e 65 72 22 2c | ent.setAttribute("tagContainer", |
1afbc0 | 20 22 74 72 75 65 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 20 69 66 20 28 50 6c 61 | ."true");...........else.if.(Pla |
1afbe0 | 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 44 61 79 28 61 4e 6f 64 65 29 29 0a 20 20 20 20 20 | cesUtils.nodeIsDay(aNode))...... |
1afc00 | 20 20 20 20 20 20 20 65 6c 65 6d 65 6e 74 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 64 61 79 | .......element.setAttribute("day |
1afc20 | 43 6f 6e 74 61 69 6e 65 72 22 2c 20 22 74 72 75 65 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 65 | Container",."true");...........e |
1afc40 | 6c 73 65 20 69 66 20 28 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 48 6f 73 74 28 61 | lse.if.(PlacesUtils.nodeIsHost(a |
1afc60 | 4e 6f 64 65 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 65 6c 65 6d 65 6e 74 2e 73 65 74 41 74 | Node)).............element.setAt |
1afc80 | 74 72 69 62 75 74 65 28 22 68 6f 73 74 43 6f 6e 74 61 69 6e 65 72 22 2c 20 22 74 72 75 65 22 29 | tribute("hostContainer",."true") |
1afca0 | 3b 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 65 6c 73 65 20 69 66 20 28 61 4e 6f | ;.........}.........else.if.(aNo |
1afcc0 | 64 65 2e 69 74 65 6d 49 64 20 21 3d 20 2d 31 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 | de.itemId.!=.-1).{...........if. |
1afce0 | 28 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 4c 69 76 65 6d 61 72 6b 43 6f 6e 74 61 | (PlacesUtils.nodeIsLivemarkConta |
1afd00 | 69 6e 65 72 28 61 4e 6f 64 65 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 65 6c 65 6d 65 6e 74 | iner(aNode)).............element |
1afd20 | 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 6c 69 76 65 6d 61 72 6b 22 2c 20 22 74 72 75 65 22 | .setAttribute("livemark",."true" |
1afd40 | 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 76 61 72 20 70 6f 70 75 70 20 | );.........}..........var.popup. |
1afd60 | 3d 20 64 6f 63 75 6d 65 6e 74 2e 63 72 65 61 74 65 45 6c 65 6d 65 6e 74 28 22 6d 65 6e 75 70 6f | =.document.createElement("menupo |
1afd80 | 70 75 70 22 29 3b 0a 20 20 20 20 20 20 20 20 70 6f 70 75 70 2e 73 65 74 41 74 74 72 69 62 75 74 | pup");.........popup.setAttribut |
1afda0 | 65 28 22 70 6c 61 63 65 73 70 6f 70 75 70 22 2c 20 22 74 72 75 65 22 29 3b 0a 20 20 20 20 20 20 | e("placespopup",."true");....... |
1afdc0 | 20 20 70 6f 70 75 70 2e 5f 72 65 73 75 6c 74 4e 6f 64 65 20 3d 20 61 73 43 6f 6e 74 61 69 6e 65 | ..popup._resultNode.=.asContaine |
1afde0 | 72 28 61 4e 6f 64 65 29 3b 0a 2f 2f 40 6c 69 6e 65 20 31 30 35 36 20 22 2f 62 75 69 6c 64 73 2f | r(aNode);.//@line.1056."/builds/ |
1afe00 | 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f | moz2_slave/linux_build/build/bro |
1afe20 | 77 73 65 72 2f 63 6f 6d 70 6f 6e 65 6e 74 73 2f 70 6c 61 63 65 73 2f 63 6f 6e 74 65 6e 74 2f 75 | wser/components/places/content/u |
1afe40 | 74 69 6c 73 2e 6a 73 22 0a 20 20 20 20 20 20 20 20 2f 2f 20 6e 6f 20 63 6f 6e 74 65 78 74 20 6d | tils.js".........//.no.context.m |
1afe60 | 65 6e 75 20 6f 6e 20 6d 61 63 0a 20 20 20 20 20 20 20 20 70 6f 70 75 70 2e 73 65 74 41 74 74 72 | enu.on.mac.........popup.setAttr |
1afe80 | 69 62 75 74 65 28 22 63 6f 6e 74 65 78 74 22 2c 20 22 70 6c 61 63 65 73 43 6f 6e 74 65 78 74 22 | ibute("context",."placesContext" |
1afea0 | 29 3b 0a 2f 2f 40 6c 69 6e 65 20 31 30 35 39 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c | );.//@line.1059."/builds/moz2_sl |
1afec0 | 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 63 6f | ave/linux_build/build/browser/co |
1afee0 | 6d 70 6f 6e 65 6e 74 73 2f 70 6c 61 63 65 73 2f 63 6f 6e 74 65 6e 74 2f 75 74 69 6c 73 2e 6a 73 | mponents/places/content/utils.js |
1aff00 | 22 0a 20 20 20 20 20 20 20 20 65 6c 65 6d 65 6e 74 2e 61 70 70 65 6e 64 43 68 69 6c 64 28 70 6f | ".........element.appendChild(po |
1aff20 | 70 75 70 29 3b 0a 20 20 20 20 20 20 20 20 69 66 20 28 61 43 6f 6e 74 61 69 6e 65 72 73 4d 61 70 | pup);.........if.(aContainersMap |
1aff40 | 29 0a 20 20 20 20 20 20 20 20 20 20 61 43 6f 6e 74 61 69 6e 65 72 73 4d 61 70 2e 70 75 73 68 28 | )...........aContainersMap.push( |
1aff60 | 7b 20 72 65 73 75 6c 74 4e 6f 64 65 3a 20 61 4e 6f 64 65 2c 20 64 6f 6d 4e 6f 64 65 3a 20 70 6f | {.resultNode:.aNode,.domNode:.po |
1aff80 | 70 75 70 20 7d 29 3b 0a 20 20 20 20 20 20 20 20 65 6c 65 6d 65 6e 74 2e 63 6c 61 73 73 4e 61 6d | pup.});.........element.classNam |
1affa0 | 65 20 3d 20 22 6d 65 6e 75 2d 69 63 6f 6e 69 63 20 62 6f 6f 6b 6d 61 72 6b 2d 69 74 65 6d 22 3b | e.=."menu-iconic.bookmark-item"; |
1affc0 | 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 20 20 74 68 72 6f | .......}.......else.........thro |
1affe0 | 77 20 22 55 6e 65 78 70 65 63 74 65 64 20 6e 6f 64 65 22 3b 0a 0a 20 20 20 20 20 20 65 6c 65 6d | w."Unexpected.node";........elem |
1b0000 | 65 6e 74 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 6c 61 62 65 6c 22 2c 20 74 68 69 73 2e 67 | ent.setAttribute("label",.this.g |
1b0020 | 65 74 42 65 73 74 54 69 74 6c 65 28 61 4e 6f 64 65 29 29 3b 0a 0a 20 20 20 20 20 20 69 66 20 28 | etBestTitle(aNode));........if.( |
1b0040 | 69 63 6f 6e 55 52 49 53 70 65 63 29 0a 20 20 20 20 20 20 20 20 65 6c 65 6d 65 6e 74 2e 73 65 74 | iconURISpec).........element.set |
1b0060 | 41 74 74 72 69 62 75 74 65 28 22 69 6d 61 67 65 22 2c 20 69 63 6f 6e 55 52 49 53 70 65 63 29 3b | Attribute("image",.iconURISpec); |
1b0080 | 0a 20 20 20 20 7d 0a 20 20 20 20 65 6c 65 6d 65 6e 74 2e 6e 6f 64 65 20 3d 20 61 4e 6f 64 65 3b | .....}.....element.node.=.aNode; |
1b00a0 | 0a 20 20 20 20 65 6c 65 6d 65 6e 74 2e 6e 6f 64 65 2e 76 69 65 77 49 6e 64 65 78 20 3d 20 30 3b | .....element.node.viewIndex.=.0; |
1b00c0 | 0a 0a 20 20 20 20 72 65 74 75 72 6e 20 65 6c 65 6d 65 6e 74 3b 0a 20 20 7d 2c 0a 0a 20 20 63 6c | ......return.element;...},....cl |
1b00e0 | 65 61 6e 50 6c 61 63 65 73 50 6f 70 75 70 3a 20 66 75 6e 63 74 69 6f 6e 20 50 55 5f 63 6c 65 61 | eanPlacesPopup:.function.PU_clea |
1b0100 | 6e 50 6c 61 63 65 73 50 6f 70 75 70 28 61 50 6f 70 75 70 29 20 7b 0a 20 20 20 20 2f 2f 20 52 65 | nPlacesPopup(aPopup).{.....//.Re |
1b0120 | 6d 6f 76 65 20 70 6c 61 63 65 73 20 70 6f 70 75 70 20 63 68 69 6c 64 72 65 6e 20 61 6e 64 20 75 | move.places.popup.children.and.u |
1b0140 | 70 64 61 74 65 20 6d 61 72 6b 65 72 73 20 74 6f 20 6b 65 65 70 20 74 72 61 63 6b 20 6f 66 0a 20 | pdate.markers.to.keep.track.of.. |
1b0160 | 20 20 20 2f 2f 20 74 68 65 69 72 20 69 6e 64 69 63 65 73 2e 0a 20 20 20 20 76 61 72 20 73 74 61 | ...//.their.indices......var.sta |
1b0180 | 72 74 20 3d 20 61 50 6f 70 75 70 2e 5f 73 74 61 72 74 4d 61 72 6b 65 72 20 21 3d 20 2d 31 20 3f | rt.=.aPopup._startMarker.!=.-1.? |
1b01a0 | 20 61 50 6f 70 75 70 2e 5f 73 74 61 72 74 4d 61 72 6b 65 72 20 2b 20 31 20 3a 20 30 3b 0a 20 20 | .aPopup._startMarker.+.1.:.0;... |
1b01c0 | 20 20 76 61 72 20 65 6e 64 20 3d 20 61 50 6f 70 75 70 2e 5f 65 6e 64 4d 61 72 6b 65 72 20 21 3d | ..var.end.=.aPopup._endMarker.!= |
1b01e0 | 20 2d 31 20 3f 20 61 50 6f 70 75 70 2e 5f 65 6e 64 4d 61 72 6b 65 72 20 3a 0a 20 20 20 20 20 20 | .-1.?.aPopup._endMarker.:....... |
1b0200 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
1b0220 | 20 20 61 50 6f 70 75 70 2e 63 68 69 6c 64 4e 6f 64 65 73 2e 6c 65 6e 67 74 68 3b 0a 20 20 20 20 | ..aPopup.childNodes.length;..... |
1b0240 | 76 61 72 20 69 74 65 6d 73 20 3d 20 5b 5d 3b 0a 20 20 20 20 76 61 72 20 70 6c 61 63 65 73 4e 6f | var.items.=.[];.....var.placesNo |
1b0260 | 64 65 46 6f 75 6e 64 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 | deFound.=.false;.....for.(var.i. |
1b0280 | 3d 20 73 74 61 72 74 3b 20 69 20 3c 20 65 6e 64 3b 20 2b 2b 69 29 20 7b 0a 20 20 20 20 20 20 76 | =.start;.i.<.end;.++i).{.......v |
1b02a0 | 61 72 20 69 74 65 6d 20 3d 20 61 50 6f 70 75 70 2e 63 68 69 6c 64 4e 6f 64 65 73 5b 69 5d 3b 0a | ar.item.=.aPopup.childNodes[i];. |
1b02c0 | 20 20 20 20 20 20 69 66 20 28 69 74 65 6d 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 62 75 69 | ......if.(item.getAttribute("bui |
1b02e0 | 6c 64 65 72 22 29 20 3d 3d 20 22 65 6e 64 22 29 20 7b 0a 20 20 20 20 20 20 20 20 2f 2f 20 77 65 | lder").==."end").{.........//.we |
1b0300 | 20 6e 65 65 64 20 74 6f 20 64 6f 20 74 68 69 73 20 66 6f 72 20 6d 65 6e 75 73 20 74 68 61 74 20 | .need.to.do.this.for.menus.that. |
1b0320 | 68 61 76 65 20 73 74 61 74 69 63 20 63 6f 6e 74 65 6e 74 20 61 74 20 74 68 65 20 65 6e 64 20 62 | have.static.content.at.the.end.b |
1b0340 | 75 74 0a 20 20 20 20 20 20 20 20 2f 2f 20 61 72 65 20 69 6e 69 74 69 61 6c 6c 79 20 65 6d 70 74 | ut.........//.are.initially.empt |
1b0360 | 79 2c 20 65 67 2e 20 74 68 65 20 68 69 73 74 6f 72 79 20 6d 65 6e 75 2c 20 77 65 20 6e 65 65 64 | y,.eg..the.history.menu,.we.need |
1b0380 | 20 74 6f 20 6b 6e 6f 77 20 77 68 65 72 65 20 74 6f 0a 20 20 20 20 20 20 20 20 2f 2f 20 73 74 61 | .to.know.where.to.........//.sta |
1b03a0 | 72 74 20 69 6e 73 65 72 74 69 6e 67 20 6e 65 77 20 69 74 65 6d 73 2e 0a 20 20 20 20 20 20 20 20 | rt.inserting.new.items.......... |
1b03c0 | 61 50 6f 70 75 70 2e 5f 65 6e 64 4d 61 72 6b 65 72 20 3d 20 69 3b 0a 20 20 20 20 20 20 20 20 62 | aPopup._endMarker.=.i;.........b |
1b03e0 | 72 65 61 6b 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 69 66 20 28 69 74 65 6d 2e 6e 6f 64 | reak;.......}.......if.(item.nod |
1b0400 | 65 29 20 7b 0a 20 20 20 20 20 20 20 20 69 74 65 6d 73 2e 70 75 73 68 28 69 74 65 6d 29 3b 0a 20 | e).{.........items.push(item);.. |
1b0420 | 20 20 20 20 20 20 20 70 6c 61 63 65 73 4e 6f 64 65 46 6f 75 6e 64 20 3d 20 74 72 75 65 3b 0a 20 | .......placesNodeFound.=.true;.. |
1b0440 | 20 20 20 20 20 7d 0a 20 20 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 20 20 2f 2f 20 54 | .....}.......else.{.........//.T |
1b0460 | 68 69 73 20 69 73 20 73 74 61 74 69 63 20 63 6f 6e 74 65 6e 74 2e 2e 2e 0a 20 20 20 20 20 20 20 | his.is.static.content........... |
1b0480 | 20 69 66 20 28 21 70 6c 61 63 65 73 4e 6f 64 65 46 6f 75 6e 64 29 0a 20 20 20 20 20 20 20 20 20 | .if.(!placesNodeFound).......... |
1b04a0 | 20 2f 2f 20 2e 2e 2e 61 74 20 74 68 65 20 73 74 61 72 74 20 6f 66 20 74 68 65 20 70 6f 70 75 70 | .//....at.the.start.of.the.popup |
1b04c0 | 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 49 6e 69 74 69 61 6c 69 7a 65 64 20 69 6e 20 6d 65 6e | ...........//.Initialized.in.men |
1b04e0 | 75 2e 78 6d 6c 2c 20 69 6e 20 74 68 65 20 62 61 73 65 20 62 69 6e 64 69 6e 67 0a 20 20 20 20 20 | u.xml,.in.the.base.binding...... |
1b0500 | 20 20 20 20 20 61 50 6f 70 75 70 2e 5f 73 74 61 72 74 4d 61 72 6b 65 72 2b 2b 3b 0a 20 20 20 20 | .....aPopup._startMarker++;..... |
1b0520 | 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 2e 2e 2e 61 66 74 65 72 | ....else.{...........//....after |
1b0540 | 20 70 6c 61 63 65 73 20 6e 6f 64 65 73 0a 20 20 20 20 20 20 20 20 20 20 61 50 6f 70 75 70 2e 5f | .places.nodes...........aPopup._ |
1b0560 | 65 6e 64 4d 61 72 6b 65 72 20 3d 20 69 3b 0a 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a | endMarker.=.i;...........break;. |
1b0580 | 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 0a 20 20 20 20 66 6f 72 | ........}.......}.....}......for |
1b05a0 | 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 69 74 65 6d 73 2e 6c 65 6e 67 74 68 3b 20 2b | .(var.i.=.0;.i.<.items.length;.+ |
1b05c0 | 2b 69 29 20 7b 0a 20 20 20 20 20 20 61 50 6f 70 75 70 2e 72 65 6d 6f 76 65 43 68 69 6c 64 28 69 | +i).{.......aPopup.removeChild(i |
1b05e0 | 74 65 6d 73 5b 69 5d 29 3b 0a 20 20 20 20 20 20 69 66 20 28 61 50 6f 70 75 70 2e 5f 65 6e 64 4d | tems[i]);.......if.(aPopup._endM |
1b0600 | 61 72 6b 65 72 20 21 3d 20 2d 31 29 0a 20 20 20 20 20 20 20 20 61 50 6f 70 75 70 2e 5f 65 6e 64 | arker.!=.-1).........aPopup._end |
1b0620 | 4d 61 72 6b 65 72 2d 2d 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 67 65 74 42 65 73 74 54 | Marker--;.....}...},....getBestT |
1b0640 | 69 74 6c 65 3a 20 66 75 6e 63 74 69 6f 6e 20 50 55 5f 67 65 74 42 65 73 74 54 69 74 6c 65 28 61 | itle:.function.PU_getBestTitle(a |
1b0660 | 4e 6f 64 65 29 20 7b 0a 20 20 20 20 76 61 72 20 74 69 74 6c 65 3b 0a 20 20 20 20 69 66 20 28 21 | Node).{.....var.title;.....if.(! |
1b0680 | 61 4e 6f 64 65 2e 74 69 74 6c 65 20 26 26 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 75 72 69 54 79 | aNode.title.&&.PlacesUtils.uriTy |
1b06a0 | 70 65 73 2e 69 6e 64 65 78 4f 66 28 61 4e 6f 64 65 2e 74 79 70 65 29 20 21 3d 20 2d 31 29 20 7b | pes.indexOf(aNode.type).!=.-1).{ |
1b06c0 | 0a 20 20 20 20 20 20 2f 2f 20 69 66 20 6e 6f 64 65 20 74 69 74 6c 65 20 69 73 20 65 6d 70 74 79 | .......//.if.node.title.is.empty |
1b06e0 | 2c 20 74 72 79 20 74 6f 20 73 65 74 20 74 68 65 20 6c 61 62 65 6c 20 75 73 69 6e 67 20 68 6f 73 | ,.try.to.set.the.label.using.hos |
1b0700 | 74 20 61 6e 64 20 66 69 6c 65 6e 61 6d 65 0a 20 20 20 20 20 20 2f 2f 20 50 6c 61 63 65 73 55 74 | t.and.filename.......//.PlacesUt |
1b0720 | 69 6c 73 2e 5f 75 72 69 28 29 20 77 69 6c 6c 20 74 68 72 6f 77 20 69 66 20 61 4e 6f 64 65 2e 75 | ils._uri().will.throw.if.aNode.u |
1b0740 | 72 69 20 69 73 20 6e 6f 74 20 61 20 76 61 6c 69 64 20 55 52 49 0a 20 20 20 20 20 20 74 72 79 20 | ri.is.not.a.valid.URI.......try. |
1b0760 | 7b 0a 20 20 20 20 20 20 20 20 76 61 72 20 75 72 69 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e | {.........var.uri.=.PlacesUtils. |
1b0780 | 5f 75 72 69 28 61 4e 6f 64 65 2e 75 72 69 29 3b 0a 20 20 20 20 20 20 20 20 76 61 72 20 68 6f 73 | _uri(aNode.uri);.........var.hos |
1b07a0 | 74 20 3d 20 75 72 69 2e 68 6f 73 74 3b 0a 20 20 20 20 20 20 20 20 76 61 72 20 66 69 6c 65 4e 61 | t.=.uri.host;.........var.fileNa |
1b07c0 | 6d 65 20 3d 20 75 72 69 2e 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 28 43 69 2e 6e 73 49 55 52 | me.=.uri.QueryInterface(Ci.nsIUR |
1b07e0 | 4c 29 2e 66 69 6c 65 4e 61 6d 65 3b 0a 20 20 20 20 20 20 20 20 2f 2f 20 69 66 20 66 69 6c 65 4e | L).fileName;.........//.if.fileN |
1b0800 | 61 6d 65 20 69 73 20 65 6d 70 74 79 2c 20 75 73 65 20 70 61 74 68 20 74 6f 20 64 69 73 74 69 6e | ame.is.empty,.use.path.to.distin |
1b0820 | 67 75 69 73 68 20 6c 61 62 65 6c 73 0a 20 20 20 20 20 20 20 20 74 69 74 6c 65 20 3d 20 68 6f 73 | guish.labels.........title.=.hos |
1b0840 | 74 20 2b 20 28 66 69 6c 65 4e 61 6d 65 20 3f 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | t.+.(fileName.?................. |
1b0860 | 20 20 20 20 20 20 20 20 28 68 6f 73 74 20 3f 20 22 2f 22 20 2b 20 74 68 69 73 2e 65 6c 6c 69 70 | ........(host.?."/".+.this.ellip |
1b0880 | 73 69 73 20 2b 20 22 2f 22 20 3a 20 22 22 29 20 2b 20 66 69 6c 65 4e 61 6d 65 20 3a 0a 20 20 20 | sis.+."/".:."").+.fileName.:.... |
1b08a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 75 72 69 2e 70 61 74 68 29 3b 0a | .....................uri.path);. |
1b08c0 | 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 63 61 74 63 68 20 28 65 29 20 7b 0a 20 20 20 20 20 20 | ......}.......catch.(e).{....... |
1b08e0 | 20 20 2f 2f 20 55 73 65 20 28 6e 6f 20 74 69 74 6c 65 29 20 66 6f 72 20 6e 6f 6e 2d 73 74 61 6e | ..//.Use.(no.title).for.non-stan |
1b0900 | 64 61 72 64 20 55 52 49 73 20 28 64 61 74 61 3a 2c 20 6a 61 76 61 73 63 72 69 70 74 3a 2c 20 2e | dard.URIs.(data:,.javascript:,.. |
1b0920 | 2e 2e 29 0a 20 20 20 20 20 20 20 20 74 69 74 6c 65 20 3d 20 22 22 3b 0a 20 20 20 20 20 20 7d 0a | ..).........title.=."";.......}. |
1b0940 | 20 20 20 20 7d 0a 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 74 69 74 6c 65 20 3d 20 61 4e 6f | ....}.....else.......title.=.aNo |
1b0960 | 64 65 2e 74 69 74 6c 65 3b 0a 0a 20 20 20 20 72 65 74 75 72 6e 20 74 69 74 6c 65 20 7c 7c 20 74 | de.title;......return.title.||.t |
1b0980 | 68 69 73 2e 67 65 74 53 74 72 69 6e 67 28 22 6e 6f 54 69 74 6c 65 22 29 3b 0a 20 20 7d 2c 0a 0a | his.getString("noTitle");...},.. |
1b09a0 | 20 20 67 65 74 20 6c 65 66 74 50 61 6e 65 51 75 65 72 69 65 73 28 29 20 7b 20 20 20 20 0a 20 20 | ..get.leftPaneQueries().{....... |
1b09c0 | 20 20 2f 2f 20 62 75 69 6c 64 20 74 68 65 20 6d 61 70 0a 20 20 20 20 74 68 69 73 2e 6c 65 66 74 | ..//.build.the.map.....this.left |
1b09e0 | 50 61 6e 65 46 6f 6c 64 65 72 49 64 3b 0a 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 6c 65 | PaneFolderId;.....return.this.le |
1b0a00 | 66 74 50 61 6e 65 51 75 65 72 69 65 73 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2f 20 47 65 74 20 74 68 | ftPaneQueries;...},....//.Get.th |
1b0a20 | 65 20 66 6f 6c 64 65 72 20 69 64 20 66 6f 72 20 74 68 65 20 6f 72 67 61 6e 69 7a 65 72 20 6c 65 | e.folder.id.for.the.organizer.le |
1b0a40 | 66 74 2d 70 61 6e 65 20 66 6f 6c 64 65 72 2e 0a 20 20 67 65 74 20 6c 65 66 74 50 61 6e 65 46 6f | ft-pane.folder....get.leftPaneFo |
1b0a60 | 6c 64 65 72 49 64 28 29 20 7b 0a 20 20 20 20 76 61 72 20 6c 65 66 74 50 61 6e 65 52 6f 6f 74 20 | lderId().{.....var.leftPaneRoot. |
1b0a80 | 3d 20 2d 31 3b 0a 20 20 20 20 76 61 72 20 61 6c 6c 42 6f 6f 6b 6d 61 72 6b 73 49 64 3b 0a 0a 20 | =.-1;.....var.allBookmarksId;... |
1b0aa0 | 20 20 20 2f 2f 20 53 68 6f 72 74 63 75 74 73 20 74 6f 20 73 65 72 76 69 63 65 73 2e 0a 20 20 20 | ...//.Shortcuts.to.services..... |
1b0ac0 | 20 76 61 72 20 62 73 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 62 6f 6f 6b 6d 61 72 6b 73 3b | .var.bs.=.PlacesUtils.bookmarks; |
1b0ae0 | 0a 20 20 20 20 76 61 72 20 61 73 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 61 6e 6e 6f 74 61 | .....var.as.=.PlacesUtils.annota |
1b0b00 | 74 69 6f 6e 73 3b 0a 0a 20 20 20 20 2f 2f 20 47 65 74 20 61 6c 6c 20 69 74 65 6d 73 20 6d 61 72 | tions;......//.Get.all.items.mar |
1b0b20 | 6b 65 64 20 61 73 20 62 65 69 6e 67 20 74 68 65 20 6c 65 66 74 20 70 61 6e 65 20 66 6f 6c 64 65 | ked.as.being.the.left.pane.folde |
1b0b40 | 72 2e 20 20 57 65 20 73 68 6f 75 6c 64 20 6f 6e 6c 79 20 68 61 76 65 0a 20 20 20 20 2f 2f 20 6f | r...We.should.only.have.....//.o |
1b0b60 | 6e 65 20 6f 66 20 74 68 65 6d 2e 0a 20 20 20 20 76 61 72 20 69 74 65 6d 73 20 3d 20 61 73 2e 67 | ne.of.them......var.items.=.as.g |
1b0b80 | 65 74 49 74 65 6d 73 57 69 74 68 41 6e 6e 6f 74 61 74 69 6f 6e 28 4f 52 47 41 4e 49 5a 45 52 5f | etItemsWithAnnotation(ORGANIZER_ |
1b0ba0 | 46 4f 4c 44 45 52 5f 41 4e 4e 4f 2c 20 7b 7d 29 3b 0a 20 20 20 20 69 66 20 28 69 74 65 6d 73 2e | FOLDER_ANNO,.{});.....if.(items. |
1b0bc0 | 6c 65 6e 67 74 68 20 3e 20 31 29 20 7b 0a 20 20 20 20 20 20 2f 2f 20 53 6f 6d 65 74 68 69 6e 67 | length.>.1).{.......//.Something |
1b0be0 | 20 77 65 6e 74 20 77 72 6f 6e 67 2c 20 77 65 20 63 61 6e 6e 6f 74 20 68 61 76 65 20 6d 6f 72 65 | .went.wrong,.we.cannot.have.more |
1b0c00 | 20 74 68 61 6e 20 6f 6e 65 20 6c 65 66 74 20 70 61 6e 65 20 66 6f 6c 64 65 72 2c 0a 20 20 20 20 | .than.one.left.pane.folder,..... |
1b0c20 | 20 20 2f 2f 20 72 65 6d 6f 76 65 20 61 6c 6c 20 6c 65 66 74 20 70 61 6e 65 20 66 6f 6c 64 65 72 | ..//.remove.all.left.pane.folder |
1b0c40 | 73 20 61 6e 64 20 63 6f 6e 74 69 6e 75 65 2e 20 20 57 65 20 77 69 6c 6c 20 63 72 65 61 74 65 20 | s.and.continue...We.will.create. |
1b0c60 | 61 20 6e 65 77 20 6f 6e 65 2e 0a 20 20 20 20 20 20 69 74 65 6d 73 2e 66 6f 72 45 61 63 68 28 62 | a.new.one........items.forEach(b |
1b0c80 | 73 2e 72 65 6d 6f 76 65 49 74 65 6d 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 65 6c 73 65 20 69 66 | s.removeItem);.....}.....else.if |
1b0ca0 | 20 28 69 74 65 6d 73 2e 6c 65 6e 67 74 68 20 3d 3d 20 31 20 26 26 20 69 74 65 6d 73 5b 30 5d 20 | .(items.length.==.1.&&.items[0]. |
1b0cc0 | 21 3d 20 2d 31 29 20 7b 0a 20 20 20 20 20 20 6c 65 66 74 50 61 6e 65 52 6f 6f 74 20 3d 20 69 74 | !=.-1).{.......leftPaneRoot.=.it |
1b0ce0 | 65 6d 73 5b 30 5d 3b 0a 20 20 20 20 20 20 2f 2f 20 43 68 65 63 6b 20 6f 72 67 61 6e 69 7a 65 72 | ems[0];.......//.Check.organizer |
1b0d00 | 20 6c 65 66 74 20 70 61 6e 65 20 76 65 72 73 69 6f 6e 2e 0a 20 20 20 20 20 20 76 61 72 20 76 65 | .left.pane.version........var.ve |
1b0d20 | 72 73 69 6f 6e 20 3d 20 61 73 2e 67 65 74 49 74 65 6d 41 6e 6e 6f 74 61 74 69 6f 6e 28 6c 65 66 | rsion.=.as.getItemAnnotation(lef |
1b0d40 | 74 50 61 6e 65 52 6f 6f 74 2c 20 4f 52 47 41 4e 49 5a 45 52 5f 46 4f 4c 44 45 52 5f 41 4e 4e 4f | tPaneRoot,.ORGANIZER_FOLDER_ANNO |
1b0d60 | 29 3b 0a 20 20 20 20 20 20 69 66 20 28 76 65 72 73 69 6f 6e 20 21 3d 20 4f 52 47 41 4e 49 5a 45 | );.......if.(version.!=.ORGANIZE |
1b0d80 | 52 5f 4c 45 46 54 50 41 4e 45 5f 56 45 52 53 49 4f 4e 29 20 7b 0a 20 20 20 20 20 20 20 20 2f 2f | R_LEFTPANE_VERSION).{.........// |
1b0da0 | 20 49 66 20 76 65 72 73 69 6f 6e 20 69 73 20 6e 6f 74 20 76 61 6c 69 64 20 77 65 20 6d 75 73 74 | .If.version.is.not.valid.we.must |
1b0dc0 | 20 72 65 62 75 69 6c 64 20 74 68 65 20 6c 65 66 74 20 70 61 6e 65 2e 0a 20 20 20 20 20 20 20 20 | .rebuild.the.left.pane.......... |
1b0de0 | 62 73 2e 72 65 6d 6f 76 65 49 74 65 6d 28 6c 65 66 74 50 61 6e 65 52 6f 6f 74 29 3b 0a 20 20 20 | bs.removeItem(leftPaneRoot);.... |
1b0e00 | 20 20 20 20 20 6c 65 66 74 50 61 6e 65 52 6f 6f 74 20 3d 20 2d 31 3b 0a 20 20 20 20 20 20 7d 0a | .....leftPaneRoot.=.-1;.......}. |
1b0e20 | 20 20 20 20 7d 0a 0a 20 20 20 20 76 61 72 20 71 75 65 72 69 65 73 54 69 74 6c 65 73 20 3d 20 7b | ....}......var.queriesTitles.=.{ |
1b0e40 | 0a 20 20 20 20 20 20 22 50 6c 61 63 65 73 52 6f 6f 74 22 3a 20 22 22 2c 0a 20 20 20 20 20 20 22 | ......."PlacesRoot":."",......." |
1b0e60 | 48 69 73 74 6f 72 79 22 3a 20 74 68 69 73 2e 67 65 74 53 74 72 69 6e 67 28 22 4f 72 67 61 6e 69 | History":.this.getString("Organi |
1b0e80 | 7a 65 72 51 75 65 72 79 48 69 73 74 6f 72 79 22 29 2c 0a 20 20 20 20 20 20 2f 2f 20 54 4f 44 4f | zerQueryHistory"),.......//.TODO |
1b0ea0 | 3a 20 42 75 67 20 34 38 39 36 38 31 2c 20 54 61 67 73 20 6e 65 65 64 73 20 69 74 73 20 6f 77 6e | :.Bug.489681,.Tags.needs.its.own |
1b0ec0 | 20 73 74 72 69 6e 67 20 69 6e 20 70 6c 61 63 65 73 2e 70 72 6f 70 65 72 74 69 65 73 0a 20 20 20 | .string.in.places.properties.... |
1b0ee0 | 20 20 20 22 54 61 67 73 22 3a 20 62 73 2e 67 65 74 49 74 65 6d 54 69 74 6c 65 28 50 6c 61 63 65 | ..."Tags":.bs.getItemTitle(Place |
1b0f00 | 73 55 74 69 6c 73 2e 74 61 67 73 46 6f 6c 64 65 72 49 64 29 2c 0a 20 20 20 20 20 20 22 41 6c 6c | sUtils.tagsFolderId),......."All |
1b0f20 | 42 6f 6f 6b 6d 61 72 6b 73 22 3a 20 74 68 69 73 2e 67 65 74 53 74 72 69 6e 67 28 22 4f 72 67 61 | Bookmarks":.this.getString("Orga |
1b0f40 | 6e 69 7a 65 72 51 75 65 72 79 41 6c 6c 42 6f 6f 6b 6d 61 72 6b 73 22 29 2c 0a 20 20 20 20 20 20 | nizerQueryAllBookmarks"),....... |
1b0f60 | 22 44 6f 77 6e 6c 6f 61 64 73 22 3a 20 74 68 69 73 2e 67 65 74 53 74 72 69 6e 67 28 22 4f 72 67 | "Downloads":.this.getString("Org |
1b0f80 | 61 6e 69 7a 65 72 51 75 65 72 79 44 6f 77 6e 6c 6f 61 64 73 22 29 2c 0a 20 20 20 20 20 20 22 42 | anizerQueryDownloads"),......."B |
1b0fa0 | 6f 6f 6b 6d 61 72 6b 73 54 6f 6f 6c 62 61 72 22 3a 20 6e 75 6c 6c 2c 0a 20 20 20 20 20 20 22 42 | ookmarksToolbar":.null,......."B |
1b0fc0 | 6f 6f 6b 6d 61 72 6b 73 4d 65 6e 75 22 3a 20 6e 75 6c 6c 2c 0a 20 20 20 20 20 20 22 55 6e 66 69 | ookmarksMenu":.null,......."Unfi |
1b0fe0 | 6c 65 64 42 6f 6f 6b 6d 61 72 6b 73 22 3a 20 6e 75 6c 6c 0a 20 20 20 20 7d 3b 0a 0a 20 20 20 20 | ledBookmarks":.null.....};...... |
1b1000 | 69 66 20 28 6c 65 66 74 50 61 6e 65 52 6f 6f 74 20 21 3d 20 2d 31 29 20 7b 0a 20 20 20 20 20 20 | if.(leftPaneRoot.!=.-1).{....... |
1b1020 | 2f 2f 20 41 20 76 61 6c 69 64 20 6c 65 66 74 20 70 61 6e 65 20 66 6f 6c 64 65 72 20 68 61 73 20 | //.A.valid.left.pane.folder.has. |
1b1040 | 62 65 65 6e 20 66 6f 75 6e 64 2e 0a 20 20 20 20 20 20 2f 2f 20 42 75 69 6c 64 20 74 68 65 20 6c | been.found........//.Build.the.l |
1b1060 | 65 66 74 50 61 6e 65 51 75 65 72 69 65 73 20 4d 61 70 2e 20 20 54 68 69 73 20 69 73 20 75 73 65 | eftPaneQueries.Map...This.is.use |
1b1080 | 64 20 74 6f 20 71 75 69 63 6b 6c 79 20 61 63 63 65 73 73 20 74 68 65 6d 0a 20 20 20 20 20 20 2f | d.to.quickly.access.them......./ |
1b10a0 | 2f 20 61 73 73 6f 63 69 61 74 69 6e 67 20 61 20 6d 6e 65 6d 6f 6e 69 63 20 6e 61 6d 65 20 74 6f | /.associating.a.mnemonic.name.to |
1b10c0 | 20 74 68 65 20 72 65 61 6c 20 69 74 65 6d 20 69 64 73 2e 0a 20 20 20 20 20 20 64 65 6c 65 74 65 | .the.real.item.ids........delete |
1b10e0 | 20 74 68 69 73 2e 6c 65 66 74 50 61 6e 65 51 75 65 72 69 65 73 3b 0a 20 20 20 20 20 20 74 68 69 | .this.leftPaneQueries;.......thi |
1b1100 | 73 2e 6c 65 66 74 50 61 6e 65 51 75 65 72 69 65 73 20 3d 20 7b 7d 3b 0a 20 20 20 20 20 20 76 61 | s.leftPaneQueries.=.{};.......va |
1b1120 | 72 20 69 74 65 6d 73 20 3d 20 61 73 2e 67 65 74 49 74 65 6d 73 57 69 74 68 41 6e 6e 6f 74 61 74 | r.items.=.as.getItemsWithAnnotat |
1b1140 | 69 6f 6e 28 4f 52 47 41 4e 49 5a 45 52 5f 51 55 45 52 59 5f 41 4e 4e 4f 2c 20 7b 7d 29 3b 0a 20 | ion(ORGANIZER_QUERY_ANNO,.{});.. |
1b1160 | 20 20 20 20 20 2f 2f 20 57 68 69 6c 65 20 6c 6f 6f 70 69 6e 67 20 74 68 72 6f 75 67 68 20 71 75 | .....//.While.looping.through.qu |
1b1180 | 65 72 69 65 73 20 77 65 20 77 69 6c 6c 20 61 6c 73 6f 20 63 68 65 63 6b 20 66 6f 72 20 74 69 74 | eries.we.will.also.check.for.tit |
1b11a0 | 6c 65 73 20 76 61 6c 69 64 69 74 79 2e 0a 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d | les.validity........for.(var.i.= |
1b11c0 | 20 30 3b 20 69 20 3c 20 69 74 65 6d 73 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 20 7b 0a 20 20 20 | .0;.i.<.items.length;.i++).{.... |
1b11e0 | 20 20 20 20 20 76 61 72 20 71 75 65 72 79 4e 61 6d 65 20 3d 20 61 73 2e 67 65 74 49 74 65 6d 41 | .....var.queryName.=.as.getItemA |
1b1200 | 6e 6e 6f 74 61 74 69 6f 6e 28 69 74 65 6d 73 5b 69 5d 2c 20 4f 52 47 41 4e 49 5a 45 52 5f 51 55 | nnotation(items[i],.ORGANIZER_QU |
1b1220 | 45 52 59 5f 41 4e 4e 4f 29 3b 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 6c 65 66 74 50 61 6e 65 | ERY_ANNO);.........this.leftPane |
1b1240 | 51 75 65 72 69 65 73 5b 71 75 65 72 79 4e 61 6d 65 5d 20 3d 20 69 74 65 6d 73 5b 69 5d 3b 0a 20 | Queries[queryName].=.items[i];.. |
1b1260 | 20 20 20 20 20 20 20 2f 2f 20 54 69 74 6c 65 73 20 63 6f 75 6c 64 20 68 61 76 65 20 62 65 65 6e | .......//.Titles.could.have.been |
1b1280 | 20 63 6f 72 72 75 70 74 65 64 20 6f 72 20 74 68 65 20 75 73 65 72 20 63 6f 75 6c 64 20 68 61 76 | .corrupted.or.the.user.could.hav |
1b12a0 | 65 20 63 68 61 6e 67 65 64 20 68 69 73 0a 20 20 20 20 20 20 20 20 2f 2f 20 6c 6f 63 61 6c 65 2e | e.changed.his.........//.locale. |
1b12c0 | 20 20 43 68 65 63 6b 20 74 69 74 6c 65 20 69 73 20 63 6f 72 72 65 63 74 6c 79 20 73 65 74 20 61 | ..Check.title.is.correctly.set.a |
1b12e0 | 6e 64 20 65 76 65 6e 74 75 61 6c 6c 79 20 66 69 78 20 69 74 2e 0a 20 20 20 20 20 20 20 20 69 66 | nd.eventually.fix.it..........if |
1b1300 | 20 28 62 73 2e 67 65 74 49 74 65 6d 54 69 74 6c 65 28 69 74 65 6d 73 5b 69 5d 29 20 21 3d 20 71 | .(bs.getItemTitle(items[i]).!=.q |
1b1320 | 75 65 72 69 65 73 54 69 74 6c 65 73 5b 71 75 65 72 79 4e 61 6d 65 5d 29 0a 20 20 20 20 20 20 20 | ueriesTitles[queryName])........ |
1b1340 | 20 20 20 62 73 2e 73 65 74 49 74 65 6d 54 69 74 6c 65 28 69 74 65 6d 73 5b 69 5d 2c 20 71 75 65 | ...bs.setItemTitle(items[i],.que |
1b1360 | 72 69 65 73 54 69 74 6c 65 73 5b 71 75 65 72 79 4e 61 6d 65 5d 29 3b 0a 20 20 20 20 20 20 7d 0a | riesTitles[queryName]);.......}. |
1b1380 | 20 20 20 20 20 20 64 65 6c 65 74 65 20 74 68 69 73 2e 6c 65 66 74 50 61 6e 65 46 6f 6c 64 65 72 | ......delete.this.leftPaneFolder |
1b13a0 | 49 64 3b 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 6c 65 66 74 50 61 6e 65 46 6f | Id;.......return.this.leftPaneFo |
1b13c0 | 6c 64 65 72 49 64 20 3d 20 6c 65 66 74 50 61 6e 65 52 6f 6f 74 3b 0a 20 20 20 20 7d 0a 0a 20 20 | lderId.=.leftPaneRoot;.....}.... |
1b13e0 | 20 20 76 61 72 20 73 65 6c 66 20 3d 20 74 68 69 73 3b 0a 20 20 20 20 76 61 72 20 63 61 6c 6c 62 | ..var.self.=.this;.....var.callb |
1b1400 | 61 63 6b 20 3d 20 7b 0a 20 20 20 20 20 20 2f 2f 20 48 65 6c 70 65 72 20 74 6f 20 63 72 65 61 74 | ack.=.{.......//.Helper.to.creat |
1b1420 | 65 20 61 6e 20 6f 72 67 61 6e 69 7a 65 72 20 73 70 65 63 69 61 6c 20 71 75 65 72 79 2e 0a 20 20 | e.an.organizer.special.query.... |
1b1440 | 20 20 20 20 63 72 65 61 74 65 5f 71 75 65 72 79 3a 20 66 75 6e 63 74 69 6f 6e 20 43 42 5f 63 72 | ....create_query:.function.CB_cr |
1b1460 | 65 61 74 65 5f 71 75 65 72 79 28 61 51 75 65 72 79 4e 61 6d 65 2c 20 61 50 61 72 65 6e 74 49 64 | eate_query(aQueryName,.aParentId |
1b1480 | 2c 20 61 51 75 65 72 79 55 72 6c 29 20 7b 0a 20 20 20 20 20 20 20 20 6c 65 74 20 69 74 65 6d 49 | ,.aQueryUrl).{.........let.itemI |
1b14a0 | 64 20 3d 20 62 73 2e 69 6e 73 65 72 74 42 6f 6f 6b 6d 61 72 6b 28 61 50 61 72 65 6e 74 49 64 2c | d.=.bs.insertBookmark(aParentId, |
1b14c0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
1b14e0 | 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 5f 75 72 69 28 61 51 75 65 72 79 55 | ........PlacesUtils._uri(aQueryU |
1b1500 | 72 6c 29 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | rl),............................ |
1b1520 | 20 20 20 20 20 20 20 20 20 20 20 20 62 73 2e 44 45 46 41 55 4c 54 5f 49 4e 44 45 58 2c 0a 20 20 | ............bs.DEFAULT_INDEX,... |
1b1540 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
1b1560 | 20 20 20 20 20 71 75 65 72 69 65 73 54 69 74 6c 65 73 5b 61 51 75 65 72 79 4e 61 6d 65 5d 29 3b | .....queriesTitles[aQueryName]); |
1b1580 | 0a 20 20 20 20 20 20 20 20 2f 2f 20 4d 61 72 6b 20 61 73 20 73 70 65 63 69 61 6c 20 6f 72 67 61 | .........//.Mark.as.special.orga |
1b15a0 | 6e 69 7a 65 72 20 71 75 65 72 79 2e 0a 20 20 20 20 20 20 20 20 61 73 2e 73 65 74 49 74 65 6d 41 | nizer.query..........as.setItemA |
1b15c0 | 6e 6e 6f 74 61 74 69 6f 6e 28 69 74 65 6d 49 64 2c 20 4f 52 47 41 4e 49 5a 45 52 5f 51 55 45 52 | nnotation(itemId,.ORGANIZER_QUER |
1b15e0 | 59 5f 41 4e 4e 4f 2c 20 61 51 75 65 72 79 4e 61 6d 65 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 | Y_ANNO,.aQueryName,............. |
1b1600 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 30 2c 20 61 73 2e 45 58 50 49 52 45 5f 4e 45 | .................0,.as.EXPIRE_NE |
1b1620 | 56 45 52 29 3b 0a 20 20 20 20 20 20 20 20 2f 2f 20 57 65 20 73 68 6f 75 6c 64 20 6e 65 76 65 72 | VER);.........//.We.should.never |
1b1640 | 20 62 61 63 6b 75 70 20 74 68 69 73 2c 20 73 69 6e 63 65 20 69 74 20 63 68 61 6e 67 65 73 20 62 | .backup.this,.since.it.changes.b |
1b1660 | 65 74 77 65 65 6e 20 70 72 6f 66 69 6c 65 73 2e 0a 20 20 20 20 20 20 20 20 61 73 2e 73 65 74 49 | etween.profiles..........as.setI |
1b1680 | 74 65 6d 41 6e 6e 6f 74 61 74 69 6f 6e 28 69 74 65 6d 49 64 2c 20 45 58 43 4c 55 44 45 5f 46 52 | temAnnotation(itemId,.EXCLUDE_FR |
1b16a0 | 4f 4d 5f 42 41 43 4b 55 50 5f 41 4e 4e 4f 2c 20 31 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | OM_BACKUP_ANNO,.1,.............. |
1b16c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 30 2c 20 61 73 2e 45 58 50 49 52 45 5f 4e 45 56 | ................0,.as.EXPIRE_NEV |
1b16e0 | 45 52 29 3b 0a 20 20 20 20 20 20 20 20 2f 2f 20 41 64 64 20 74 6f 20 74 68 65 20 71 75 65 72 69 | ER);.........//.Add.to.the.queri |
1b1700 | 65 73 20 6d 61 70 2e 0a 20 20 20 20 20 20 20 20 73 65 6c 66 2e 6c 65 66 74 50 61 6e 65 51 75 65 | es.map..........self.leftPaneQue |
1b1720 | 72 69 65 73 5b 61 51 75 65 72 79 4e 61 6d 65 5d 20 3d 20 69 74 65 6d 49 64 3b 0a 20 20 20 20 20 | ries[aQueryName].=.itemId;...... |
1b1740 | 20 20 20 72 65 74 75 72 6e 20 69 74 65 6d 49 64 3b 0a 20 20 20 20 20 20 7d 2c 0a 0a 20 20 20 20 | ...return.itemId;.......},...... |
1b1760 | 20 20 2f 2f 20 48 65 6c 70 65 72 20 74 6f 20 63 72 65 61 74 65 20 61 6e 20 6f 72 67 61 6e 69 7a | ..//.Helper.to.create.an.organiz |
1b1780 | 65 72 20 73 70 65 63 69 61 6c 20 66 6f 6c 64 65 72 2e 0a 20 20 20 20 20 20 63 72 65 61 74 65 5f | er.special.folder........create_ |
1b17a0 | 66 6f 6c 64 65 72 3a 20 66 75 6e 63 74 69 6f 6e 20 43 42 5f 63 72 65 61 74 65 5f 66 6f 6c 64 65 | folder:.function.CB_create_folde |
1b17c0 | 72 28 61 46 6f 6c 64 65 72 4e 61 6d 65 2c 20 61 50 61 72 65 6e 74 49 64 2c 20 61 49 73 52 6f 6f | r(aFolderName,.aParentId,.aIsRoo |
1b17e0 | 74 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 4c 65 66 74 20 50 61 6e 65 20 | t).{...............//.Left.Pane. |
1b1800 | 52 6f 6f 74 20 46 6f 6c 64 65 72 2e 0a 20 20 20 20 20 20 20 20 6c 65 74 20 66 6f 6c 64 65 72 49 | Root.Folder..........let.folderI |
1b1820 | 64 20 3d 20 62 73 2e 63 72 65 61 74 65 46 6f 6c 64 65 72 28 61 50 61 72 65 6e 74 49 64 2c 0a 20 | d.=.bs.createFolder(aParentId,.. |
1b1840 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
1b1860 | 20 20 20 20 20 20 71 75 65 72 69 65 73 54 69 74 6c 65 73 5b 61 46 6f 6c 64 65 72 4e 61 6d 65 5d | ......queriesTitles[aFolderName] |
1b1880 | 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ,............................... |
1b18a0 | 20 20 20 20 20 20 20 20 20 62 73 2e 44 45 46 41 55 4c 54 5f 49 4e 44 45 58 29 3b 0a 20 20 20 20 | .........bs.DEFAULT_INDEX);..... |
1b18c0 | 20 20 20 20 2f 2f 20 57 65 20 73 68 6f 75 6c 64 20 6e 65 76 65 72 20 62 61 63 6b 75 70 20 74 68 | ....//.We.should.never.backup.th |
1b18e0 | 69 73 2c 20 73 69 6e 63 65 20 69 74 20 63 68 61 6e 67 65 73 20 62 65 74 77 65 65 6e 20 70 72 6f | is,.since.it.changes.between.pro |
1b1900 | 66 69 6c 65 73 2e 0a 20 20 20 20 20 20 20 20 61 73 2e 73 65 74 49 74 65 6d 41 6e 6e 6f 74 61 74 | files..........as.setItemAnnotat |
1b1920 | 69 6f 6e 28 66 6f 6c 64 65 72 49 64 2c 20 45 58 43 4c 55 44 45 5f 46 52 4f 4d 5f 42 41 43 4b 55 | ion(folderId,.EXCLUDE_FROM_BACKU |
1b1940 | 50 5f 41 4e 4e 4f 2c 20 31 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | P_ANNO,.1,...................... |
1b1960 | 20 20 20 20 20 20 20 20 30 2c 20 61 73 2e 45 58 50 49 52 45 5f 4e 45 56 45 52 29 3b 0a 20 20 20 | ........0,.as.EXPIRE_NEVER);.... |
1b1980 | 20 20 20 20 20 2f 2f 20 44 69 73 61 6c 6c 6f 77 20 6d 61 6e 69 70 75 6c 61 74 69 6e 67 20 74 68 | .....//.Disallow.manipulating.th |
1b19a0 | 69 73 20 66 6f 6c 64 65 72 20 77 69 74 68 69 6e 20 74 68 65 20 6f 72 67 61 6e 69 7a 65 72 20 55 | is.folder.within.the.organizer.U |
1b19c0 | 49 2e 0a 20 20 20 20 20 20 20 20 62 73 2e 73 65 74 46 6f 6c 64 65 72 52 65 61 64 6f 6e 6c 79 28 | I..........bs.setFolderReadonly( |
1b19e0 | 66 6f 6c 64 65 72 49 64 2c 20 74 72 75 65 29 3b 0a 0a 20 20 20 20 20 20 20 20 69 66 20 28 61 49 | folderId,.true);..........if.(aI |
1b1a00 | 73 52 6f 6f 74 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 4d 61 72 6b 20 61 73 20 73 70 | sRoot).{...........//.Mark.as.sp |
1b1a20 | 65 63 69 61 6c 20 6c 65 66 74 20 70 61 6e 65 20 72 6f 6f 74 2e 0a 20 20 20 20 20 20 20 20 20 20 | ecial.left.pane.root............ |
1b1a40 | 61 73 2e 73 65 74 49 74 65 6d 41 6e 6e 6f 74 61 74 69 6f 6e 28 66 6f 6c 64 65 72 49 64 2c 20 4f | as.setItemAnnotation(folderId,.O |
1b1a60 | 52 47 41 4e 49 5a 45 52 5f 46 4f 4c 44 45 52 5f 41 4e 4e 4f 2c 0a 20 20 20 20 20 20 20 20 20 20 | RGANIZER_FOLDER_ANNO,........... |
1b1a80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 4f 52 47 41 4e 49 5a 45 52 5f 4c | .....................ORGANIZER_L |
1b1aa0 | 45 46 54 50 41 4e 45 5f 56 45 52 53 49 4f 4e 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | EFTPANE_VERSION,................ |
1b1ac0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 30 2c 20 61 73 2e 45 58 50 49 52 45 5f 4e 45 56 | ................0,.as.EXPIRE_NEV |
1b1ae0 | 45 52 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 | ER);.........}.........else.{... |
1b1b00 | 20 20 20 20 20 20 20 20 2f 2f 20 4d 61 72 6b 20 61 73 20 73 70 65 63 69 61 6c 20 6f 72 67 61 6e | ........//.Mark.as.special.organ |
1b1b20 | 69 7a 65 72 20 66 6f 6c 64 65 72 2e 0a 20 20 20 20 20 20 20 20 20 20 61 73 2e 73 65 74 49 74 65 | izer.folder............as.setIte |
1b1b40 | 6d 41 6e 6e 6f 74 61 74 69 6f 6e 28 66 6f 6c 64 65 72 49 64 2c 20 4f 52 47 41 4e 49 5a 45 52 5f | mAnnotation(folderId,.ORGANIZER_ |
1b1b60 | 51 55 45 52 59 5f 41 4e 4e 4f 2c 20 61 46 6f 6c 64 65 72 4e 61 6d 65 2c 0a 20 20 20 20 20 20 20 | QUERY_ANNO,.aFolderName,........ |
1b1b80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 30 2c 20 61 73 2e 45 58 50 49 52 45 | ....................0,.as.EXPIRE |
1b1ba0 | 5f 4e 45 56 45 52 29 3b 0a 20 20 20 20 20 20 20 20 20 20 73 65 6c 66 2e 6c 65 66 74 50 61 6e 65 | _NEVER);...........self.leftPane |
1b1bc0 | 51 75 65 72 69 65 73 5b 61 46 6f 6c 64 65 72 4e 61 6d 65 5d 20 3d 20 66 6f 6c 64 65 72 49 64 3b | Queries[aFolderName].=.folderId; |
1b1be0 | 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 66 6f 6c 64 65 72 | .........}.........return.folder |
1b1c00 | 49 64 3b 0a 20 20 20 20 20 20 7d 2c 0a 0a 20 20 20 20 20 20 72 75 6e 42 61 74 63 68 65 64 3a 20 | Id;.......},........runBatched:. |
1b1c20 | 66 75 6e 63 74 69 6f 6e 20 43 42 5f 72 75 6e 42 61 74 63 68 65 64 28 61 55 73 65 72 44 61 74 61 | function.CB_runBatched(aUserData |
1b1c40 | 29 20 7b 0a 20 20 20 20 20 20 20 20 64 65 6c 65 74 65 20 73 65 6c 66 2e 6c 65 66 74 50 61 6e 65 | ).{.........delete.self.leftPane |
1b1c60 | 51 75 65 72 69 65 73 3b 0a 20 20 20 20 20 20 20 20 73 65 6c 66 2e 6c 65 66 74 50 61 6e 65 51 75 | Queries;.........self.leftPaneQu |
1b1c80 | 65 72 69 65 73 20 3d 20 7b 20 7d 3b 0a 0a 20 20 20 20 20 20 20 20 2f 2f 20 4c 65 66 74 20 50 61 | eries.=.{.};..........//.Left.Pa |
1b1ca0 | 6e 65 20 52 6f 6f 74 20 46 6f 6c 64 65 72 2e 0a 20 20 20 20 20 20 20 20 6c 65 66 74 50 61 6e 65 | ne.Root.Folder..........leftPane |
1b1cc0 | 52 6f 6f 74 20 3d 20 74 68 69 73 2e 63 72 65 61 74 65 5f 66 6f 6c 64 65 72 28 22 50 6c 61 63 65 | Root.=.this.create_folder("Place |
1b1ce0 | 73 52 6f 6f 74 22 2c 20 62 73 2e 70 6c 61 63 65 73 52 6f 6f 74 2c 20 74 72 75 65 29 3b 0a 0a 20 | sRoot",.bs.placesRoot,.true);... |
1b1d00 | 20 20 20 20 20 20 20 2f 2f 20 48 69 73 74 6f 72 79 20 51 75 65 72 79 2e 0a 20 20 20 20 20 20 20 | .......//.History.Query......... |
1b1d20 | 20 74 68 69 73 2e 63 72 65 61 74 65 5f 71 75 65 72 79 28 22 48 69 73 74 6f 72 79 22 2c 20 6c 65 | .this.create_query("History",.le |
1b1d40 | 66 74 50 61 6e 65 52 6f 6f 74 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ftPaneRoot,..................... |
1b1d60 | 20 20 20 20 20 20 22 70 6c 61 63 65 3a 74 79 70 65 3d 22 20 2b 0a 20 20 20 20 20 20 20 20 20 20 | ......"place:type=".+........... |
1b1d80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 43 69 2e 6e 73 49 4e 61 76 48 69 73 74 6f 72 79 | ................Ci.nsINavHistory |
1b1da0 | 51 75 65 72 79 4f 70 74 69 6f 6e 73 2e 52 45 53 55 4c 54 53 5f 41 53 5f 44 41 54 45 5f 51 55 45 | QueryOptions.RESULTS_AS_DATE_QUE |
1b1dc0 | 52 59 20 2b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 | RY.+..........................." |
1b1de0 | 26 73 6f 72 74 3d 22 20 2b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | &sort=".+....................... |
1b1e00 | 20 20 20 20 43 69 2e 6e 73 49 4e 61 76 48 69 73 74 6f 72 79 51 75 65 72 79 4f 70 74 69 6f 6e 73 | ....Ci.nsINavHistoryQueryOptions |
1b1e20 | 2e 53 4f 52 54 5f 42 59 5f 44 41 54 45 5f 44 45 53 43 45 4e 44 49 4e 47 29 3b 0a 0a 20 20 20 20 | .SORT_BY_DATE_DESCENDING);...... |
1b1e40 | 20 20 20 20 2f 2f 20 58 58 58 3a 20 44 6f 77 6e 6c 6f 61 64 73 2e 0a 0a 20 20 20 20 20 20 20 20 | ....//.XXX:.Downloads........... |
1b1e60 | 2f 2f 20 54 61 67 73 20 51 75 65 72 79 2e 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 63 72 65 61 | //.Tags.Query..........this.crea |
1b1e80 | 74 65 5f 71 75 65 72 79 28 22 54 61 67 73 22 2c 20 6c 65 66 74 50 61 6e 65 52 6f 6f 74 2c 0a 20 | te_query("Tags",.leftPaneRoot,.. |
1b1ea0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 70 6c 61 63 65 3a | ........................."place: |
1b1ec0 | 74 79 70 65 3d 22 20 2b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | type=".+........................ |
1b1ee0 | 20 20 20 43 69 2e 6e 73 49 4e 61 76 48 69 73 74 6f 72 79 51 75 65 72 79 4f 70 74 69 6f 6e 73 2e | ...Ci.nsINavHistoryQueryOptions. |
1b1f00 | 52 45 53 55 4c 54 53 5f 41 53 5f 54 41 47 5f 51 55 45 52 59 20 2b 0a 20 20 20 20 20 20 20 20 20 | RESULTS_AS_TAG_QUERY.+.......... |
1b1f20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 26 73 6f 72 74 3d 22 20 2b 0a 20 20 20 20 | ................."&sort=".+..... |
1b1f40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 43 69 2e 6e 73 49 4e 61 76 48 | ......................Ci.nsINavH |
1b1f60 | 69 73 74 6f 72 79 51 75 65 72 79 4f 70 74 69 6f 6e 73 2e 53 4f 52 54 5f 42 59 5f 54 49 54 4c 45 | istoryQueryOptions.SORT_BY_TITLE |
1b1f80 | 5f 41 53 43 45 4e 44 49 4e 47 29 3b 0a 0a 20 20 20 20 20 20 20 20 2f 2f 20 41 6c 6c 20 42 6f 6f | _ASCENDING);..........//.All.Boo |
1b1fa0 | 6b 6d 61 72 6b 73 20 46 6f 6c 64 65 72 2e 0a 20 20 20 20 20 20 20 20 61 6c 6c 42 6f 6f 6b 6d 61 | kmarks.Folder..........allBookma |
1b1fc0 | 72 6b 73 49 64 20 3d 20 74 68 69 73 2e 63 72 65 61 74 65 5f 66 6f 6c 64 65 72 28 22 41 6c 6c 42 | rksId.=.this.create_folder("AllB |
1b1fe0 | 6f 6f 6b 6d 61 72 6b 73 22 2c 20 6c 65 66 74 50 61 6e 65 52 6f 6f 74 2c 20 66 61 6c 73 65 29 3b | ookmarks",.leftPaneRoot,.false); |
1b2000 | 0a 0a 20 20 20 20 20 20 20 20 2f 2f 20 41 6c 6c 20 42 6f 6f 6b 6d 61 72 6b 73 2d 3e 42 6f 6f 6b | ..........//.All.Bookmarks->Book |
1b2020 | 6d 61 72 6b 73 20 54 6f 6f 6c 62 61 72 20 51 75 65 72 79 2e 0a 20 20 20 20 20 20 20 20 74 68 69 | marks.Toolbar.Query..........thi |
1b2040 | 73 2e 63 72 65 61 74 65 5f 71 75 65 72 79 28 22 42 6f 6f 6b 6d 61 72 6b 73 54 6f 6f 6c 62 61 72 | s.create_query("BookmarksToolbar |
1b2060 | 22 2c 20 61 6c 6c 42 6f 6f 6b 6d 61 72 6b 73 49 64 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ",.allBookmarksId,.............. |
1b2080 | 20 20 20 20 20 20 20 20 20 20 20 20 20 22 70 6c 61 63 65 3a 66 6f 6c 64 65 72 3d 54 4f 4f 4c 42 | ............."place:folder=TOOLB |
1b20a0 | 41 52 22 29 3b 0a 0a 20 20 20 20 20 20 20 20 2f 2f 20 41 6c 6c 20 42 6f 6f 6b 6d 61 72 6b 73 2d | AR");..........//.All.Bookmarks- |
1b20c0 | 3e 42 6f 6f 6b 6d 61 72 6b 73 20 4d 65 6e 75 20 51 75 65 72 79 2e 0a 20 20 20 20 20 20 20 20 74 | >Bookmarks.Menu.Query..........t |
1b20e0 | 68 69 73 2e 63 72 65 61 74 65 5f 71 75 65 72 79 28 22 42 6f 6f 6b 6d 61 72 6b 73 4d 65 6e 75 22 | his.create_query("BookmarksMenu" |
1b2100 | 2c 20 61 6c 6c 42 6f 6f 6b 6d 61 72 6b 73 49 64 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ,.allBookmarksId,............... |
1b2120 | 20 20 20 20 20 20 20 20 20 20 20 20 22 70 6c 61 63 65 3a 66 6f 6c 64 65 72 3d 42 4f 4f 4b 4d 41 | ............"place:folder=BOOKMA |
1b2140 | 52 4b 53 5f 4d 45 4e 55 22 29 3b 0a 0a 20 20 20 20 20 20 20 20 2f 2f 20 41 6c 6c 20 42 6f 6f 6b | RKS_MENU");..........//.All.Book |
1b2160 | 6d 61 72 6b 73 2d 3e 55 6e 66 69 6c 65 64 20 42 6f 6f 6b 6d 61 72 6b 73 20 51 75 65 72 79 2e 0a | marks->Unfiled.Bookmarks.Query.. |
1b2180 | 20 20 20 20 20 20 20 20 74 68 69 73 2e 63 72 65 61 74 65 5f 71 75 65 72 79 28 22 55 6e 66 69 6c | ........this.create_query("Unfil |
1b21a0 | 65 64 42 6f 6f 6b 6d 61 72 6b 73 22 2c 20 61 6c 6c 42 6f 6f 6b 6d 61 72 6b 73 49 64 2c 0a 20 20 | edBookmarks",.allBookmarksId,... |
1b21c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 70 6c 61 63 65 3a 66 | ........................"place:f |
1b21e0 | 6f 6c 64 65 72 3d 55 4e 46 49 4c 45 44 5f 42 4f 4f 4b 4d 41 52 4b 53 22 29 3b 0a 20 20 20 20 20 | older=UNFILED_BOOKMARKS");...... |
1b2200 | 20 7d 0a 20 20 20 20 7d 3b 0a 20 20 20 20 62 73 2e 72 75 6e 49 6e 42 61 74 63 68 4d 6f 64 65 28 | .}.....};.....bs.runInBatchMode( |
1b2220 | 63 61 6c 6c 62 61 63 6b 2c 20 6e 75 6c 6c 29 3b 0a 0a 20 20 20 20 64 65 6c 65 74 65 20 74 68 69 | callback,.null);......delete.thi |
1b2240 | 73 2e 6c 65 66 74 50 61 6e 65 46 6f 6c 64 65 72 49 64 3b 0a 20 20 20 20 72 65 74 75 72 6e 20 74 | s.leftPaneFolderId;.....return.t |
1b2260 | 68 69 73 2e 6c 65 66 74 50 61 6e 65 46 6f 6c 64 65 72 49 64 20 3d 20 6c 65 66 74 50 61 6e 65 52 | his.leftPaneFolderId.=.leftPaneR |
1b2280 | 6f 6f 74 3b 0a 20 20 7d 2c 0a 0a 20 20 67 65 74 20 61 6c 6c 42 6f 6f 6b 6d 61 72 6b 73 46 6f 6c | oot;...},....get.allBookmarksFol |
1b22a0 | 64 65 72 49 64 28 29 20 7b 0a 20 20 20 20 2f 2f 20 65 6e 73 75 72 65 20 74 68 65 20 6c 65 66 74 | derId().{.....//.ensure.the.left |
1b22c0 | 2d 70 61 6e 65 20 72 6f 6f 74 20 69 73 20 69 6e 69 74 69 61 6c 69 7a 65 64 3b 0a 20 20 20 20 74 | -pane.root.is.initialized;.....t |
1b22e0 | 68 69 73 2e 6c 65 66 74 50 61 6e 65 46 6f 6c 64 65 72 49 64 3b 0a 20 20 20 20 64 65 6c 65 74 65 | his.leftPaneFolderId;.....delete |
1b2300 | 20 74 68 69 73 2e 61 6c 6c 42 6f 6f 6b 6d 61 72 6b 73 46 6f 6c 64 65 72 49 64 3b 0a 20 20 20 20 | .this.allBookmarksFolderId;..... |
1b2320 | 72 65 74 75 72 6e 20 74 68 69 73 2e 61 6c 6c 42 6f 6f 6b 6d 61 72 6b 73 46 6f 6c 64 65 72 49 64 | return.this.allBookmarksFolderId |
1b2340 | 20 3d 20 74 68 69 73 2e 6c 65 66 74 50 61 6e 65 51 75 65 72 69 65 73 5b 22 41 6c 6c 42 6f 6f 6b | .=.this.leftPaneQueries["AllBook |
1b2360 | 6d 61 72 6b 73 22 5d 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 2a 20 41 64 64 2c 20 75 70 | marks"];...},..../**...*.Add,.up |
1b2380 | 64 61 74 65 20 6f 72 20 72 65 6d 6f 76 65 20 74 68 65 20 6c 69 76 65 6d 61 72 6b 20 73 74 61 74 | date.or.remove.the.livemark.stat |
1b23a0 | 75 73 20 6d 65 6e 75 69 74 65 6d 2e 0a 20 20 2a 20 40 70 61 72 61 6d 20 61 50 6f 70 75 70 0a 20 | us.menuitem....*.@param.aPopup.. |
1b23c0 | 20 2a 20 20 20 20 20 20 20 20 54 68 65 20 6c 69 76 65 6d 61 72 6b 20 63 6f 6e 74 61 69 6e 65 72 | .*........The.livemark.container |
1b23e0 | 20 70 6f 70 75 70 0a 20 20 2a 2f 0a 20 20 65 6e 73 75 72 65 4c 69 76 65 6d 61 72 6b 53 74 61 74 | .popup...*/...ensureLivemarkStat |
1b2400 | 75 73 4d 65 6e 75 49 74 65 6d 3a 0a 20 20 66 75 6e 63 74 69 6f 6e 20 50 55 5f 65 6e 73 75 72 65 | usMenuItem:...function.PU_ensure |
1b2420 | 4c 69 76 65 6d 61 72 6b 53 74 61 74 75 73 4d 65 6e 75 49 74 65 6d 28 61 50 6f 70 75 70 29 20 7b | LivemarkStatusMenuItem(aPopup).{ |
1b2440 | 0a 20 20 20 20 76 61 72 20 69 74 65 6d 49 64 20 3d 20 61 50 6f 70 75 70 2e 5f 72 65 73 75 6c 74 | .....var.itemId.=.aPopup._result |
1b2460 | 4e 6f 64 65 2e 69 74 65 6d 49 64 3b 0a 0a 20 20 20 20 76 61 72 20 6c 6d 53 74 61 74 75 73 20 3d | Node.itemId;......var.lmStatus.= |
1b2480 | 20 6e 75 6c 6c 3b 0a 20 20 20 20 69 66 20 28 50 6c 61 63 65 73 55 74 69 6c 73 2e 61 6e 6e 6f 74 | .null;.....if.(PlacesUtils.annot |
1b24a0 | 61 74 69 6f 6e 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 69 74 65 6d 48 | ations.....................itemH |
1b24c0 | 61 73 41 6e 6e 6f 74 61 74 69 6f 6e 28 69 74 65 6d 49 64 2c 20 22 6c 69 76 65 6d 61 72 6b 2f 6c | asAnnotation(itemId,."livemark/l |
1b24e0 | 6f 61 64 66 61 69 6c 65 64 22 29 29 0a 20 20 20 20 20 20 6c 6d 53 74 61 74 75 73 20 3d 20 22 62 | oadfailed")).......lmStatus.=."b |
1b2500 | 6f 6f 6b 6d 61 72 6b 73 4c 69 76 65 6d 61 72 6b 46 61 69 6c 65 64 22 3b 0a 20 20 20 20 65 6c 73 | ookmarksLivemarkFailed";.....els |
1b2520 | 65 20 69 66 20 28 50 6c 61 63 65 73 55 74 69 6c 73 2e 61 6e 6e 6f 74 61 74 69 6f 6e 73 0a 20 20 | e.if.(PlacesUtils.annotations... |
1b2540 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 69 74 65 6d 48 61 73 41 6e | .......................itemHasAn |
1b2560 | 6e 6f 74 61 74 69 6f 6e 28 69 74 65 6d 49 64 2c 20 22 6c 69 76 65 6d 61 72 6b 2f 6c 6f 61 64 69 | notation(itemId,."livemark/loadi |
1b2580 | 6e 67 22 29 29 0a 20 20 20 20 20 20 6c 6d 53 74 61 74 75 73 20 3d 20 22 62 6f 6f 6b 6d 61 72 6b | ng")).......lmStatus.=."bookmark |
1b25a0 | 73 4c 69 76 65 6d 61 72 6b 4c 6f 61 64 69 6e 67 22 3b 0a 0a 20 20 20 20 69 66 20 28 6c 6d 53 74 | sLivemarkLoading";......if.(lmSt |
1b25c0 | 61 74 75 73 20 26 26 20 21 61 50 6f 70 75 70 2e 5f 6c 6d 53 74 61 74 75 73 4d 65 6e 75 49 74 65 | atus.&&.!aPopup._lmStatusMenuIte |
1b25e0 | 6d 29 20 7b 0a 20 20 20 20 20 20 2f 2f 20 43 72 65 61 74 65 20 74 68 65 20 73 74 61 74 75 73 20 | m).{.......//.Create.the.status. |
1b2600 | 6d 65 6e 75 69 74 65 6d 20 61 6e 64 20 63 61 63 68 65 20 69 74 20 69 6e 20 74 68 65 20 70 6f 70 | menuitem.and.cache.it.in.the.pop |
1b2620 | 75 70 20 6f 62 6a 65 63 74 2e 0a 20 20 20 20 20 20 61 50 6f 70 75 70 2e 5f 6c 6d 53 74 61 74 75 | up.object........aPopup._lmStatu |
1b2640 | 73 4d 65 6e 75 49 74 65 6d 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 63 72 65 61 74 65 45 6c 65 6d 65 | sMenuItem.=.document.createEleme |
1b2660 | 6e 74 28 22 6d 65 6e 75 69 74 65 6d 22 29 3b 0a 20 20 20 20 20 20 61 50 6f 70 75 70 2e 5f 6c 6d | nt("menuitem");.......aPopup._lm |
1b2680 | 53 74 61 74 75 73 4d 65 6e 75 49 74 65 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 6c 6d 53 | StatusMenuItem.setAttribute("lmS |
1b26a0 | 74 61 74 75 73 22 2c 20 6c 6d 53 74 61 74 75 73 29 3b 0a 20 20 20 20 20 20 61 50 6f 70 75 70 2e | tatus",.lmStatus);.......aPopup. |
1b26c0 | 5f 6c 6d 53 74 61 74 75 73 4d 65 6e 75 49 74 65 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 | _lmStatusMenuItem.setAttribute(" |
1b26e0 | 6c 61 62 65 6c 22 2c 20 74 68 69 73 2e 67 65 74 53 74 72 69 6e 67 28 6c 6d 53 74 61 74 75 73 29 | label",.this.getString(lmStatus) |
1b2700 | 29 3b 0a 20 20 20 20 20 20 61 50 6f 70 75 70 2e 5f 6c 6d 53 74 61 74 75 73 4d 65 6e 75 49 74 65 | );.......aPopup._lmStatusMenuIte |
1b2720 | 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 64 69 73 61 62 6c 65 64 22 2c 20 74 72 75 65 29 | m.setAttribute("disabled",.true) |
1b2740 | 3b 0a 20 20 20 20 20 20 61 50 6f 70 75 70 2e 69 6e 73 65 72 74 42 65 66 6f 72 65 28 61 50 6f 70 | ;.......aPopup.insertBefore(aPop |
1b2760 | 75 70 2e 5f 6c 6d 53 74 61 74 75 73 4d 65 6e 75 49 74 65 6d 2c 0a 20 20 20 20 20 20 20 20 20 20 | up._lmStatusMenuItem,........... |
1b2780 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 50 6f 70 75 70 2e 63 68 69 6c 64 4e 6f 64 65 | ................aPopup.childNode |
1b27a0 | 73 5b 61 50 6f 70 75 70 2e 5f 73 74 61 72 74 4d 61 72 6b 65 72 20 2b 20 31 5d 29 3b 0a 20 20 20 | s[aPopup._startMarker.+.1]);.... |
1b27c0 | 20 20 20 61 50 6f 70 75 70 2e 5f 73 74 61 72 74 4d 61 72 6b 65 72 2b 2b 3b 0a 20 20 20 20 7d 0a | ...aPopup._startMarker++;.....}. |
1b27e0 | 20 20 20 20 65 6c 73 65 20 69 66 20 28 6c 6d 53 74 61 74 75 73 20 26 26 0a 20 20 20 20 20 20 20 | ....else.if.(lmStatus.&&........ |
1b2800 | 20 20 20 20 20 20 61 50 6f 70 75 70 2e 5f 6c 6d 53 74 61 74 75 73 4d 65 6e 75 49 74 65 6d 2e 67 | ......aPopup._lmStatusMenuItem.g |
1b2820 | 65 74 41 74 74 72 69 62 75 74 65 28 22 6c 6d 53 74 61 74 75 73 22 29 20 21 3d 20 6c 6d 53 74 61 | etAttribute("lmStatus").!=.lmSta |
1b2840 | 74 75 73 29 20 7b 0a 20 20 20 20 20 20 2f 2f 20 53 74 61 74 75 73 20 68 61 73 20 63 68 61 6e 67 | tus).{.......//.Status.has.chang |
1b2860 | 65 64 2c 20 75 70 64 61 74 65 20 74 68 65 20 63 61 63 68 65 64 20 73 74 61 74 75 73 20 6d 65 6e | ed,.update.the.cached.status.men |
1b2880 | 75 69 74 65 6d 2e 0a 20 20 20 20 20 20 61 50 6f 70 75 70 2e 5f 6c 6d 53 74 61 74 75 73 4d 65 6e | uitem........aPopup._lmStatusMen |
1b28a0 | 75 49 74 65 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 6c 61 62 65 6c 22 2c 0a 20 20 20 20 | uItem.setAttribute("label",..... |
1b28c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
1b28e0 | 20 20 20 20 20 20 20 20 74 68 69 73 2e 67 65 74 53 74 72 69 6e 67 28 6c 6d 53 74 61 74 75 73 29 | ........this.getString(lmStatus) |
1b2900 | 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 65 6c 73 65 20 69 66 20 28 21 6c 6d 53 74 61 74 75 73 20 | );.....}.....else.if.(!lmStatus. |
1b2920 | 26 26 20 61 50 6f 70 75 70 2e 5f 6c 6d 53 74 61 74 75 73 4d 65 6e 75 49 74 65 6d 29 7b 0a 20 20 | &&.aPopup._lmStatusMenuItem){... |
1b2940 | 20 20 20 20 2f 2f 20 4e 6f 20 73 74 61 74 75 73 2c 20 72 65 6d 6f 76 65 20 74 68 65 20 63 61 63 | ....//.No.status,.remove.the.cac |
1b2960 | 68 65 64 20 6d 65 6e 75 69 74 65 6d 2e 0a 20 20 20 20 20 20 61 50 6f 70 75 70 2e 72 65 6d 6f 76 | hed.menuitem........aPopup.remov |
1b2980 | 65 43 68 69 6c 64 28 61 50 6f 70 75 70 2e 5f 6c 6d 53 74 61 74 75 73 4d 65 6e 75 49 74 65 6d 29 | eChild(aPopup._lmStatusMenuItem) |
1b29a0 | 3b 0a 20 20 20 20 20 20 61 50 6f 70 75 70 2e 5f 6c 6d 53 74 61 74 75 73 4d 65 6e 75 49 74 65 6d | ;.......aPopup._lmStatusMenuItem |
1b29c0 | 20 3d 20 6e 75 6c 6c 3b 0a 20 20 20 20 20 20 61 50 6f 70 75 70 2e 5f 73 74 61 72 74 4d 61 72 6b | .=.null;.......aPopup._startMark |
1b29e0 | 65 72 2d 2d 3b 0a 20 20 20 20 7d 0a 20 20 7d 0a 7d 3b 0a 50 4b 03 04 14 00 00 00 00 00 f6 4b 18 | er--;.....}...}.};.PK.........K. |
1b2a00 | 3b 69 2a ab 88 c0 ea 00 00 c0 ea 00 00 24 00 00 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 | ;i*..........$...content/browser |
1b2a20 | 2f 70 6c 61 63 65 73 2f 63 6f 6e 74 72 6f 6c 6c 65 72 2e 6a 73 2f 2a 20 2d 2a 2d 20 4d 6f 64 65 | /places/controller.js/*.-*-.Mode |
1b2a40 | 3a 20 43 2b 2b 3b 20 74 61 62 2d 77 69 64 74 68 3a 20 38 3b 20 69 6e 64 65 6e 74 2d 74 61 62 73 | :.C++;.tab-width:.8;.indent-tabs |
1b2a60 | 2d 6d 6f 64 65 3a 20 6e 69 6c 3b 20 63 2d 62 61 73 69 63 2d 6f 66 66 73 65 74 3a 20 32 20 2d 2a | -mode:.nil;.c-basic-offset:.2.-* |
1b2a80 | 2d 20 2a 2f 0a 2f 2a 20 2a 2a 2a 2a 2a 20 42 45 47 49 4e 20 4c 49 43 45 4e 53 45 20 42 4c 4f 43 | -.*/./*.*****.BEGIN.LICENSE.BLOC |
1b2aa0 | 4b 20 2a 2a 2a 2a 2a 0a 20 2a 20 56 65 72 73 69 6f 6e 3a 20 4d 50 4c 20 31 2e 31 2f 47 50 4c 20 | K.*****..*.Version:.MPL.1.1/GPL. |
1b2ac0 | 32 2e 30 2f 4c 47 50 4c 20 32 2e 31 0a 20 2a 0a 20 2a 20 54 68 65 20 63 6f 6e 74 65 6e 74 73 20 | 2.0/LGPL.2.1..*..*.The.contents. |
1b2ae0 | 6f 66 20 74 68 69 73 20 66 69 6c 65 20 61 72 65 20 73 75 62 6a 65 63 74 20 74 6f 20 74 68 65 20 | of.this.file.are.subject.to.the. |
1b2b00 | 4d 6f 7a 69 6c 6c 61 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 20 56 65 72 73 69 6f 6e 0a 20 | Mozilla.Public.License.Version.. |
1b2b20 | 2a 20 31 2e 31 20 28 74 68 65 20 22 4c 69 63 65 6e 73 65 22 29 3b 20 79 6f 75 20 6d 61 79 20 6e | *.1.1.(the."License");.you.may.n |
1b2b40 | 6f 74 20 75 73 65 20 74 68 69 73 20 66 69 6c 65 20 65 78 63 65 70 74 20 69 6e 20 63 6f 6d 70 6c | ot.use.this.file.except.in.compl |
1b2b60 | 69 61 6e 63 65 20 77 69 74 68 0a 20 2a 20 74 68 65 20 4c 69 63 65 6e 73 65 2e 20 59 6f 75 20 6d | iance.with..*.the.License..You.m |
1b2b80 | 61 79 20 6f 62 74 61 69 6e 20 61 20 63 6f 70 79 20 6f 66 20 74 68 65 20 4c 69 63 65 6e 73 65 20 | ay.obtain.a.copy.of.the.License. |
1b2ba0 | 61 74 0a 20 2a 20 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 4d 50 4c | at..*.http://www.mozilla.org/MPL |
1b2bc0 | 2f 0a 20 2a 0a 20 2a 20 53 6f 66 74 77 61 72 65 20 64 69 73 74 72 69 62 75 74 65 64 20 75 6e 64 | /..*..*.Software.distributed.und |
1b2be0 | 65 72 20 74 68 65 20 4c 69 63 65 6e 73 65 20 69 73 20 64 69 73 74 72 69 62 75 74 65 64 20 6f 6e | er.the.License.is.distributed.on |
1b2c00 | 20 61 6e 20 22 41 53 20 49 53 22 20 62 61 73 69 73 2c 0a 20 2a 20 57 49 54 48 4f 55 54 20 57 41 | .an."AS.IS".basis,..*.WITHOUT.WA |
1b2c20 | 52 52 41 4e 54 59 20 4f 46 20 41 4e 59 20 4b 49 4e 44 2c 20 65 69 74 68 65 72 20 65 78 70 72 65 | RRANTY.OF.ANY.KIND,.either.expre |
1b2c40 | 73 73 20 6f 72 20 69 6d 70 6c 69 65 64 2e 20 53 65 65 20 74 68 65 20 4c 69 63 65 6e 73 65 0a 20 | ss.or.implied..See.the.License.. |
1b2c60 | 2a 20 66 6f 72 20 74 68 65 20 73 70 65 63 69 66 69 63 20 6c 61 6e 67 75 61 67 65 20 67 6f 76 65 | *.for.the.specific.language.gove |
1b2c80 | 72 6e 69 6e 67 20 72 69 67 68 74 73 20 61 6e 64 20 6c 69 6d 69 74 61 74 69 6f 6e 73 20 75 6e 64 | rning.rights.and.limitations.und |
1b2ca0 | 65 72 20 74 68 65 0a 20 2a 20 4c 69 63 65 6e 73 65 2e 0a 20 2a 0a 20 2a 20 54 68 65 20 4f 72 69 | er.the..*.License...*..*.The.Ori |
1b2cc0 | 67 69 6e 61 6c 20 43 6f 64 65 20 69 73 20 74 68 65 20 50 6c 61 63 65 73 20 43 6f 6d 6d 61 6e 64 | ginal.Code.is.the.Places.Command |
1b2ce0 | 20 43 6f 6e 74 72 6f 6c 6c 65 72 2e 0a 20 2a 0a 20 2a 20 54 68 65 20 49 6e 69 74 69 61 6c 20 44 | .Controller...*..*.The.Initial.D |
1b2d00 | 65 76 65 6c 6f 70 65 72 20 6f 66 20 74 68 65 20 4f 72 69 67 69 6e 61 6c 20 43 6f 64 65 20 69 73 | eveloper.of.the.Original.Code.is |
1b2d20 | 20 47 6f 6f 67 6c 65 20 49 6e 63 2e 0a 20 2a 20 50 6f 72 74 69 6f 6e 73 20 63 72 65 61 74 65 64 | .Google.Inc...*.Portions.created |
1b2d40 | 20 62 79 20 74 68 65 20 49 6e 69 74 69 61 6c 20 44 65 76 65 6c 6f 70 65 72 20 61 72 65 20 43 6f | .by.the.Initial.Developer.are.Co |
1b2d60 | 70 79 72 69 67 68 74 20 28 43 29 20 32 30 30 35 0a 20 2a 20 74 68 65 20 49 6e 69 74 69 61 6c 20 | pyright.(C).2005..*.the.Initial. |
1b2d80 | 44 65 76 65 6c 6f 70 65 72 2e 20 41 6c 6c 20 52 69 67 68 74 73 20 52 65 73 65 72 76 65 64 2e 0a | Developer..All.Rights.Reserved.. |
1b2da0 | 20 2a 0a 20 2a 20 43 6f 6e 74 72 69 62 75 74 6f 72 28 73 29 3a 0a 20 2a 20 20 20 42 65 6e 20 47 | .*..*.Contributor(s):..*...Ben.G |
1b2dc0 | 6f 6f 64 67 65 72 20 3c 62 65 6e 67 40 67 6f 6f 67 6c 65 2e 63 6f 6d 3e 0a 20 2a 20 20 20 4d 79 | oodger.<beng@google.com>..*...My |
1b2de0 | 6b 20 4d 65 6c 65 7a 20 3c 6d 79 6b 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 3e 0a 20 2a 20 20 20 41 | k.Melez.<myk@mozilla.org>..*...A |
1b2e00 | 73 61 66 20 52 6f 6d 61 6e 6f 20 3c 6d 61 6e 6f 40 6d 6f 7a 69 6c 6c 61 2e 63 6f 6d 3e 0a 20 2a | saf.Romano.<mano@mozilla.com>..* |
1b2e20 | 20 20 20 4d 61 72 63 6f 20 42 6f 6e 61 72 64 6f 20 3c 6d 61 6b 37 37 40 62 6f 6e 61 72 64 6f 2e | ...Marco.Bonardo.<mak77@bonardo. |
1b2e40 | 6e 65 74 3e 0a 20 2a 0a 20 2a 20 41 6c 74 65 72 6e 61 74 69 76 65 6c 79 2c 20 74 68 65 20 63 6f | net>..*..*.Alternatively,.the.co |
1b2e60 | 6e 74 65 6e 74 73 20 6f 66 20 74 68 69 73 20 66 69 6c 65 20 6d 61 79 20 62 65 20 75 73 65 64 20 | ntents.of.this.file.may.be.used. |
1b2e80 | 75 6e 64 65 72 20 74 68 65 20 74 65 72 6d 73 20 6f 66 0a 20 2a 20 65 69 74 68 65 72 20 74 68 65 | under.the.terms.of..*.either.the |
1b2ea0 | 20 47 4e 55 20 47 65 6e 65 72 61 6c 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 20 56 65 72 73 | .GNU.General.Public.License.Vers |
1b2ec0 | 69 6f 6e 20 32 20 6f 72 20 6c 61 74 65 72 20 28 74 68 65 20 22 47 50 4c 22 29 2c 20 6f 72 0a 20 | ion.2.or.later.(the."GPL"),.or.. |
1b2ee0 | 2a 20 74 68 65 20 47 4e 55 20 4c 65 73 73 65 72 20 47 65 6e 65 72 61 6c 20 50 75 62 6c 69 63 20 | *.the.GNU.Lesser.General.Public. |
1b2f00 | 4c 69 63 65 6e 73 65 20 56 65 72 73 69 6f 6e 20 32 2e 31 20 6f 72 20 6c 61 74 65 72 20 28 74 68 | License.Version.2.1.or.later.(th |
1b2f20 | 65 20 22 4c 47 50 4c 22 29 2c 0a 20 2a 20 69 6e 20 77 68 69 63 68 20 63 61 73 65 20 74 68 65 20 | e."LGPL"),..*.in.which.case.the. |
1b2f40 | 70 72 6f 76 69 73 69 6f 6e 73 20 6f 66 20 74 68 65 20 47 50 4c 20 6f 72 20 74 68 65 20 4c 47 50 | provisions.of.the.GPL.or.the.LGP |
1b2f60 | 4c 20 61 72 65 20 61 70 70 6c 69 63 61 62 6c 65 20 69 6e 73 74 65 61 64 0a 20 2a 20 6f 66 20 74 | L.are.applicable.instead..*.of.t |
1b2f80 | 68 6f 73 65 20 61 62 6f 76 65 2e 20 49 66 20 79 6f 75 20 77 69 73 68 20 74 6f 20 61 6c 6c 6f 77 | hose.above..If.you.wish.to.allow |
1b2fa0 | 20 75 73 65 20 6f 66 20 79 6f 75 72 20 76 65 72 73 69 6f 6e 20 6f 66 20 74 68 69 73 20 66 69 6c | .use.of.your.version.of.this.fil |
1b2fc0 | 65 20 6f 6e 6c 79 0a 20 2a 20 75 6e 64 65 72 20 74 68 65 20 74 65 72 6d 73 20 6f 66 20 65 69 74 | e.only..*.under.the.terms.of.eit |
1b2fe0 | 68 65 72 20 74 68 65 20 47 50 4c 20 6f 72 20 74 68 65 20 4c 47 50 4c 2c 20 61 6e 64 20 6e 6f 74 | her.the.GPL.or.the.LGPL,.and.not |
1b3000 | 20 74 6f 20 61 6c 6c 6f 77 20 6f 74 68 65 72 73 20 74 6f 0a 20 2a 20 75 73 65 20 79 6f 75 72 20 | .to.allow.others.to..*.use.your. |
1b3020 | 76 65 72 73 69 6f 6e 20 6f 66 20 74 68 69 73 20 66 69 6c 65 20 75 6e 64 65 72 20 74 68 65 20 74 | version.of.this.file.under.the.t |
1b3040 | 65 72 6d 73 20 6f 66 20 74 68 65 20 4d 50 4c 2c 20 69 6e 64 69 63 61 74 65 20 79 6f 75 72 0a 20 | erms.of.the.MPL,.indicate.your.. |
1b3060 | 2a 20 64 65 63 69 73 69 6f 6e 20 62 79 20 64 65 6c 65 74 69 6e 67 20 74 68 65 20 70 72 6f 76 69 | *.decision.by.deleting.the.provi |
1b3080 | 73 69 6f 6e 73 20 61 62 6f 76 65 20 61 6e 64 20 72 65 70 6c 61 63 65 20 74 68 65 6d 20 77 69 74 | sions.above.and.replace.them.wit |
1b30a0 | 68 20 74 68 65 20 6e 6f 74 69 63 65 0a 20 2a 20 61 6e 64 20 6f 74 68 65 72 20 70 72 6f 76 69 73 | h.the.notice..*.and.other.provis |
1b30c0 | 69 6f 6e 73 20 72 65 71 75 69 72 65 64 20 62 79 20 74 68 65 20 47 50 4c 20 6f 72 20 74 68 65 20 | ions.required.by.the.GPL.or.the. |
1b30e0 | 4c 47 50 4c 2e 20 49 66 20 79 6f 75 20 64 6f 20 6e 6f 74 20 64 65 6c 65 74 65 0a 20 2a 20 74 68 | LGPL..If.you.do.not.delete..*.th |
1b3100 | 65 20 70 72 6f 76 69 73 69 6f 6e 73 20 61 62 6f 76 65 2c 20 61 20 72 65 63 69 70 69 65 6e 74 20 | e.provisions.above,.a.recipient. |
1b3120 | 6d 61 79 20 75 73 65 20 79 6f 75 72 20 76 65 72 73 69 6f 6e 20 6f 66 20 74 68 69 73 20 66 69 6c | may.use.your.version.of.this.fil |
1b3140 | 65 20 75 6e 64 65 72 0a 20 2a 20 74 68 65 20 74 65 72 6d 73 20 6f 66 20 61 6e 79 20 6f 6e 65 20 | e.under..*.the.terms.of.any.one. |
1b3160 | 6f 66 20 74 68 65 20 4d 50 4c 2c 20 74 68 65 20 47 50 4c 20 6f 72 20 74 68 65 20 4c 47 50 4c 2e | of.the.MPL,.the.GPL.or.the.LGPL. |
1b3180 | 0a 20 2a 0a 20 2a 20 2a 2a 2a 2a 2a 20 45 4e 44 20 4c 49 43 45 4e 53 45 20 42 4c 4f 43 4b 20 2a | ..*..*.*****.END.LICENSE.BLOCK.* |
1b31a0 | 2a 2a 2a 2a 20 2a 2f 0a 0a 2f 2f 20 58 58 58 6d 61 6e 6f 3a 20 77 65 20 73 68 6f 75 6c 64 20 6d | ****.*/..//.XXXmano:.we.should.m |
1b31c0 | 6f 76 65 20 6d 6f 73 74 2f 61 6c 6c 20 6f 66 20 74 68 65 73 65 20 63 6f 6e 73 74 61 6e 74 73 20 | ove.most/all.of.these.constants. |
1b31e0 | 74 6f 20 50 6c 61 63 65 73 55 74 69 6c 73 0a 63 6f 6e 73 74 20 4f 52 47 41 4e 49 5a 45 52 5f 52 | to.PlacesUtils.const.ORGANIZER_R |
1b3200 | 4f 4f 54 5f 42 4f 4f 4b 4d 41 52 4b 53 20 3d 20 22 70 6c 61 63 65 3a 66 6f 6c 64 65 72 3d 42 4f | OOT_BOOKMARKS.=."place:folder=BO |
1b3220 | 4f 4b 4d 41 52 4b 53 5f 4d 45 4e 55 26 65 78 63 6c 75 64 65 49 74 65 6d 73 3d 31 26 71 75 65 72 | OKMARKS_MENU&excludeItems=1&quer |
1b3240 | 79 54 79 70 65 3d 31 22 3b 0a 63 6f 6e 73 74 20 4f 52 47 41 4e 49 5a 45 52 5f 53 55 42 53 43 52 | yType=1";.const.ORGANIZER_SUBSCR |
1b3260 | 49 50 54 49 4f 4e 53 5f 51 55 45 52 59 20 3d 20 22 70 6c 61 63 65 3a 61 6e 6e 6f 74 61 74 69 6f | IPTIONS_QUERY.=."place:annotatio |
1b3280 | 6e 3d 6c 69 76 65 6d 61 72 6b 25 32 46 66 65 65 64 55 52 49 22 3b 0a 0a 2f 2f 20 4e 6f 20 63 68 | n=livemark%2FfeedURI";..//.No.ch |
1b32a0 | 61 6e 67 65 20 74 6f 20 74 68 65 20 76 69 65 77 2c 20 70 72 65 73 65 72 76 65 20 63 75 72 72 65 | ange.to.the.view,.preserve.curre |
1b32c0 | 6e 74 20 73 65 6c 65 63 74 69 6f 6e 0a 63 6f 6e 73 74 20 52 45 4c 4f 41 44 5f 41 43 54 49 4f 4e | nt.selection.const.RELOAD_ACTION |
1b32e0 | 5f 4e 4f 54 48 49 4e 47 20 3d 20 30 3b 0a 2f 2f 20 49 6e 73 65 72 74 69 6e 67 20 69 74 65 6d 73 | _NOTHING.=.0;.//.Inserting.items |
1b3300 | 20 6e 65 77 20 74 6f 20 74 68 65 20 76 69 65 77 2c 20 73 65 6c 65 63 74 20 74 68 65 20 69 6e 73 | .new.to.the.view,.select.the.ins |
1b3320 | 65 72 74 65 64 20 72 6f 77 73 0a 63 6f 6e 73 74 20 52 45 4c 4f 41 44 5f 41 43 54 49 4f 4e 5f 49 | erted.rows.const.RELOAD_ACTION_I |
1b3340 | 4e 53 45 52 54 20 3d 20 31 3b 0a 2f 2f 20 52 65 6d 6f 76 69 6e 67 20 69 74 65 6d 73 20 66 72 6f | NSERT.=.1;.//.Removing.items.fro |
1b3360 | 6d 20 74 68 65 20 76 69 65 77 2c 20 73 65 6c 65 63 74 20 74 68 65 20 66 69 72 73 74 20 69 74 65 | m.the.view,.select.the.first.ite |
1b3380 | 6d 20 61 66 74 65 72 20 74 68 65 20 6c 61 73 74 20 73 65 6c 65 63 74 65 64 0a 63 6f 6e 73 74 20 | m.after.the.last.selected.const. |
1b33a0 | 52 45 4c 4f 41 44 5f 41 43 54 49 4f 4e 5f 52 45 4d 4f 56 45 20 3d 20 32 3b 0a 2f 2f 20 4d 6f 76 | RELOAD_ACTION_REMOVE.=.2;.//.Mov |
1b33c0 | 69 6e 67 20 69 74 65 6d 73 20 77 69 74 68 69 6e 20 61 20 76 69 65 77 2c 20 64 6f 6e 27 74 20 74 | ing.items.within.a.view,.don't.t |
1b33e0 | 72 65 61 74 20 74 68 65 20 64 72 6f 70 70 65 64 20 69 74 65 6d 73 20 61 73 20 61 64 64 69 74 69 | reat.the.dropped.items.as.additi |
1b3400 | 6f 6e 61 6c 20 0a 2f 2f 20 72 6f 77 73 2e 0a 63 6f 6e 73 74 20 52 45 4c 4f 41 44 5f 41 43 54 49 | onal..//.rows..const.RELOAD_ACTI |
1b3420 | 4f 4e 5f 4d 4f 56 45 20 3d 20 33 3b 0a 0a 2f 2f 20 77 68 65 6e 20 72 65 6d 6f 76 69 6e 67 20 61 | ON_MOVE.=.3;..//.when.removing.a |
1b3440 | 20 62 75 6e 63 68 20 6f 66 20 70 61 67 65 73 20 77 65 20 73 70 6c 69 74 20 74 68 65 6d 20 69 6e | .bunch.of.pages.we.split.them.in |
1b3460 | 20 63 68 75 6e 6b 73 20 74 6f 20 61 76 6f 69 64 20 70 61 73 73 69 6e 67 0a 2f 2f 20 61 20 74 6f | .chunks.to.avoid.passing.//.a.to |
1b3480 | 6f 20 62 69 67 20 61 72 72 61 79 20 74 6f 20 52 65 6d 6f 76 65 50 61 67 65 73 0a 2f 2f 20 33 30 | o.big.array.to.RemovePages.//.30 |
1b34a0 | 30 20 69 73 20 74 68 65 20 62 65 73 74 20 63 68 6f 69 63 65 20 77 69 74 68 20 61 6e 20 68 69 73 | 0.is.the.best.choice.with.an.his |
1b34c0 | 74 6f 72 79 20 6f 66 20 61 62 6f 75 74 20 31 35 30 30 30 30 20 76 69 73 69 74 73 0a 2f 2f 20 73 | tory.of.about.150000.visits.//.s |
1b34e0 | 6d 61 6c 6c 65 72 20 63 68 75 6e 6b 73 20 63 6f 75 6c 64 20 63 61 75 73 65 20 61 20 53 6c 6f 77 | maller.chunks.could.cause.a.Slow |
1b3500 | 20 53 63 72 69 70 74 20 77 61 72 6e 69 6e 67 20 77 69 74 68 20 61 20 68 75 67 65 20 68 69 73 74 | .Script.warning.with.a.huge.hist |
1b3520 | 6f 72 79 0a 63 6f 6e 73 74 20 52 45 4d 4f 56 45 5f 50 41 47 45 53 5f 43 48 55 4e 4b 4c 45 4e 20 | ory.const.REMOVE_PAGES_CHUNKLEN. |
1b3540 | 3d 20 33 30 30 3b 0a 2f 2f 20 69 66 20 77 65 20 61 72 65 20 72 65 6d 6f 76 69 6e 67 20 6c 65 73 | =.300;.//.if.we.are.removing.les |
1b3560 | 73 20 74 68 61 6e 20 74 68 69 73 20 70 61 67 65 73 20 77 65 20 77 69 6c 6c 20 72 65 6d 6f 76 65 | s.than.this.pages.we.will.remove |
1b3580 | 20 74 68 65 6d 20 6f 6e 65 20 62 79 20 6f 6e 65 0a 2f 2f 20 73 69 6e 63 65 20 69 74 20 77 69 6c | .them.one.by.one.//.since.it.wil |
1b35a0 | 6c 20 62 65 20 72 65 66 6c 65 63 74 65 64 20 66 61 73 74 65 72 20 6f 6e 20 74 68 65 20 55 49 0a | l.be.reflected.faster.on.the.UI. |
1b35c0 | 2f 2f 20 31 30 20 69 73 20 61 20 67 6f 6f 64 20 63 6f 6d 70 72 6f 6d 69 73 65 2c 20 73 69 6e 63 | //.10.is.a.good.compromise,.sinc |
1b35e0 | 65 20 61 6c 6c 6f 77 73 20 74 68 65 20 75 73 65 72 20 74 6f 20 64 65 6c 65 74 65 20 61 20 6c 69 | e.allows.the.user.to.delete.a.li |
1b3600 | 74 74 6c 65 20 61 6d 6f 75 6e 74 20 6f 66 0a 2f 2f 20 75 72 6c 73 20 66 6f 72 20 70 72 69 76 61 | ttle.amount.of.//.urls.for.priva |
1b3620 | 63 79 20 72 65 61 73 6f 6e 73 2c 20 62 75 74 20 64 6f 65 73 20 6e 6f 74 20 63 61 75 73 65 20 68 | cy.reasons,.but.does.not.cause.h |
1b3640 | 65 61 76 79 20 64 69 73 6b 20 61 63 63 65 73 73 0a 63 6f 6e 73 74 20 52 45 4d 4f 56 45 5f 50 41 | eavy.disk.access.const.REMOVE_PA |
1b3660 | 47 45 53 5f 4d 41 58 5f 53 49 4e 47 4c 45 52 45 4d 4f 56 45 53 20 3d 20 31 30 3b 0a 0a 2f 2a 2a | GES_MAX_SINGLEREMOVES.=.10;../** |
1b3680 | 0a 20 2a 20 52 65 70 72 65 73 65 6e 74 73 20 61 6e 20 69 6e 73 65 72 74 69 6f 6e 20 70 6f 69 6e | ..*.Represents.an.insertion.poin |
1b36a0 | 74 20 77 69 74 68 69 6e 20 61 20 63 6f 6e 74 61 69 6e 65 72 20 77 68 65 72 65 20 77 65 20 63 61 | t.within.a.container.where.we.ca |
1b36c0 | 6e 20 69 6e 73 65 72 74 0a 20 2a 20 69 74 65 6d 73 2e 20 0a 20 2a 20 40 70 61 72 61 6d 20 20 20 | n.insert..*.items....*.@param... |
1b36e0 | 61 49 74 65 6d 49 64 0a 20 2a 20 20 20 20 20 20 20 20 20 20 54 68 65 20 69 64 65 6e 74 69 66 69 | aItemId..*..........The.identifi |
1b3700 | 65 72 20 6f 66 20 74 68 65 20 70 61 72 65 6e 74 20 63 6f 6e 74 61 69 6e 65 72 0a 20 2a 20 40 70 | er.of.the.parent.container..*.@p |
1b3720 | 61 72 61 6d 20 20 20 61 49 6e 64 65 78 0a 20 2a 20 20 20 20 20 20 20 20 20 20 54 68 65 20 69 6e | aram...aIndex..*..........The.in |
1b3740 | 64 65 78 20 77 69 74 68 69 6e 20 74 68 65 20 63 6f 6e 74 61 69 6e 65 72 20 77 68 65 72 65 20 77 | dex.within.the.container.where.w |
1b3760 | 65 20 73 68 6f 75 6c 64 20 69 6e 73 65 72 74 0a 20 2a 20 40 70 61 72 61 6d 20 20 20 61 4f 72 69 | e.should.insert..*.@param...aOri |
1b3780 | 65 6e 74 61 74 69 6f 6e 0a 20 2a 20 20 20 20 20 20 20 20 20 20 54 68 65 20 6f 72 69 65 6e 74 61 | entation..*..........The.orienta |
1b37a0 | 74 69 6f 6e 20 6f 66 20 74 68 65 20 69 6e 73 65 72 74 69 6f 6e 2e 20 4e 4f 54 45 3a 20 74 68 65 | tion.of.the.insertion..NOTE:.the |
1b37c0 | 20 61 64 6a 75 73 74 6d 65 6e 74 73 20 74 6f 20 74 68 65 0a 20 2a 20 20 20 20 20 20 20 20 20 20 | .adjustments.to.the..*.......... |
1b37e0 | 69 6e 73 65 72 74 69 6f 6e 20 70 6f 69 6e 74 20 74 6f 20 61 63 63 6f 6d 6d 6f 64 61 74 65 20 74 | insertion.point.to.accommodate.t |
1b3800 | 68 65 20 6f 72 69 65 6e 74 61 74 69 6f 6e 20 73 68 6f 75 6c 64 20 62 65 20 64 6f 6e 65 20 62 79 | he.orientation.should.be.done.by |
1b3820 | 0a 20 2a 20 20 20 20 20 20 20 20 20 20 74 68 65 20 70 65 72 73 6f 6e 20 77 68 6f 20 63 6f 6e 73 | ..*..........the.person.who.cons |
1b3840 | 74 72 75 63 74 73 20 74 68 65 20 49 50 2c 20 6e 6f 74 20 74 68 65 20 75 73 65 72 2e 20 54 68 65 | tructs.the.IP,.not.the.user..The |
1b3860 | 20 6f 72 69 65 6e 74 61 74 69 6f 6e 0a 20 2a 20 20 20 20 20 20 20 20 20 20 69 73 20 70 72 6f 76 | .orientation..*..........is.prov |
1b3880 | 69 64 65 64 20 66 6f 72 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 61 6c 20 70 75 72 70 6f 73 65 73 20 | ided.for.informational.purposes. |
1b38a0 | 6f 6e 6c 79 21 0a 20 2a 20 40 70 61 72 61 6d 20 20 20 5b 6f 70 74 69 6f 6e 61 6c 5d 20 61 49 73 | only!..*.@param...[optional].aIs |
1b38c0 | 54 61 67 0a 20 2a 20 20 20 20 20 20 20 20 20 20 49 6e 64 69 63 61 74 65 73 20 69 66 20 70 61 72 | Tag..*..........Indicates.if.par |
1b38e0 | 65 6e 74 20 63 6f 6e 74 61 69 6e 65 72 20 69 73 20 61 20 74 61 67 0a 20 2a 20 40 70 61 72 61 6d | ent.container.is.a.tag..*.@param |
1b3900 | 20 20 20 5b 6f 70 74 69 6f 6e 61 6c 5d 20 61 44 72 6f 70 4e 65 61 72 49 74 65 6d 49 64 0a 20 2a | ...[optional].aDropNearItemId..* |
1b3920 | 20 20 20 20 20 20 20 20 20 20 57 68 65 6e 20 64 65 66 69 6e 65 64 20 77 65 20 77 69 6c 6c 20 63 | ..........When.defined.we.will.c |
1b3940 | 61 6c 63 75 6c 61 74 65 20 69 6e 64 65 78 20 62 61 73 65 64 20 6f 6e 20 74 68 69 73 20 69 74 65 | alculate.index.based.on.this.ite |
1b3960 | 6d 49 64 0a 20 2a 20 40 63 6f 6e 73 74 72 75 63 74 6f 72 0a 20 2a 2f 0a 66 75 6e 63 74 69 6f 6e | mId..*.@constructor..*/.function |
1b3980 | 20 49 6e 73 65 72 74 69 6f 6e 50 6f 69 6e 74 28 61 49 74 65 6d 49 64 2c 20 61 49 6e 64 65 78 2c | .InsertionPoint(aItemId,.aIndex, |
1b39a0 | 20 61 4f 72 69 65 6e 74 61 74 69 6f 6e 2c 20 61 49 73 54 61 67 2c 0a 20 20 20 20 20 20 20 20 20 | .aOrientation,.aIsTag,.......... |
1b39c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 44 72 6f 70 4e 65 61 72 49 74 65 6d 49 64 29 20 | ...............aDropNearItemId). |
1b39e0 | 7b 0a 20 20 74 68 69 73 2e 69 74 65 6d 49 64 20 3d 20 61 49 74 65 6d 49 64 3b 0a 20 20 74 68 69 | {...this.itemId.=.aItemId;...thi |
1b3a00 | 73 2e 5f 69 6e 64 65 78 20 3d 20 61 49 6e 64 65 78 3b 0a 20 20 74 68 69 73 2e 6f 72 69 65 6e 74 | s._index.=.aIndex;...this.orient |
1b3a20 | 61 74 69 6f 6e 20 3d 20 61 4f 72 69 65 6e 74 61 74 69 6f 6e 3b 0a 20 20 74 68 69 73 2e 69 73 54 | ation.=.aOrientation;...this.isT |
1b3a40 | 61 67 20 3d 20 61 49 73 54 61 67 3b 0a 20 20 74 68 69 73 2e 64 72 6f 70 4e 65 61 72 49 74 65 6d | ag.=.aIsTag;...this.dropNearItem |
1b3a60 | 49 64 20 3d 20 61 44 72 6f 70 4e 65 61 72 49 74 65 6d 49 64 3b 0a 7d 0a 0a 49 6e 73 65 72 74 69 | Id.=.aDropNearItemId;.}..Inserti |
1b3a80 | 6f 6e 50 6f 69 6e 74 2e 70 72 6f 74 6f 74 79 70 65 20 3d 20 7b 0a 20 20 73 65 74 20 69 6e 64 65 | onPoint.prototype.=.{...set.inde |
1b3aa0 | 78 28 76 61 6c 29 20 7b 0a 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 69 6e 64 65 78 20 | x(val).{.....return.this._index. |
1b3ac0 | 3d 20 76 61 6c 3b 0a 20 20 7d 2c 0a 0a 20 20 67 65 74 20 69 6e 64 65 78 28 29 20 7b 0a 20 20 20 | =.val;...},....get.index().{.... |
1b3ae0 | 20 69 66 20 28 74 68 69 73 2e 64 72 6f 70 4e 65 61 72 49 74 65 6d 49 64 20 3e 20 30 29 20 7b 0a | .if.(this.dropNearItemId.>.0).{. |
1b3b00 | 20 20 20 20 20 20 2f 2f 20 49 66 20 64 72 6f 70 4e 65 61 72 49 74 65 6d 49 64 20 69 73 20 73 65 | ......//.If.dropNearItemId.is.se |
1b3b20 | 74 20 75 70 20 77 65 20 6d 75 73 74 20 63 61 6c 63 75 6c 61 74 65 20 74 68 65 20 72 65 61 6c 20 | t.up.we.must.calculate.the.real. |
1b3b40 | 69 6e 64 65 78 20 6f 66 0a 20 20 20 20 20 20 2f 2f 20 74 68 65 20 69 74 65 6d 20 6e 65 61 72 20 | index.of.......//.the.item.near. |
1b3b60 | 77 68 69 63 68 20 77 65 20 77 69 6c 6c 20 64 72 6f 70 2e 0a 20 20 20 20 20 20 76 61 72 20 69 6e | which.we.will.drop........var.in |
1b3b80 | 64 65 78 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 62 6f 6f 6b 6d 61 72 6b 73 2e 67 65 74 49 | dex.=.PlacesUtils.bookmarks.getI |
1b3ba0 | 74 65 6d 49 6e 64 65 78 28 74 68 69 73 2e 64 72 6f 70 4e 65 61 72 49 74 65 6d 49 64 29 3b 0a 20 | temIndex(this.dropNearItemId);.. |
1b3bc0 | 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 6f 72 69 65 6e 74 61 74 69 6f 6e 20 3d 3d 20 | .....return.this.orientation.==. |
1b3be0 | 43 69 2e 6e 73 49 54 72 65 65 56 69 65 77 2e 44 52 4f 50 5f 42 45 46 4f 52 45 20 3f 20 69 6e 64 | Ci.nsITreeView.DROP_BEFORE.?.ind |
1b3c00 | 65 78 20 3a 20 69 6e 64 65 78 20 2b 20 31 3b 0a 20 20 20 20 7d 0a 20 20 20 20 72 65 74 75 72 6e | ex.:.index.+.1;.....}.....return |
1b3c20 | 20 74 68 69 73 2e 5f 69 6e 64 65 78 3b 0a 20 20 7d 0a 7d 3b 0a 0a 2f 2a 2a 0a 20 2a 20 50 6c 61 | .this._index;...}.};../**..*.Pla |
1b3c40 | 63 65 73 20 43 6f 6e 74 72 6f 6c 6c 65 72 0a 20 2a 2f 0a 0a 66 75 6e 63 74 69 6f 6e 20 50 6c 61 | ces.Controller..*/..function.Pla |
1b3c60 | 63 65 73 43 6f 6e 74 72 6f 6c 6c 65 72 28 61 56 69 65 77 29 20 7b 0a 20 20 74 68 69 73 2e 5f 76 | cesController(aView).{...this._v |
1b3c80 | 69 65 77 20 3d 20 61 56 69 65 77 3b 0a 7d 0a 0a 50 6c 61 63 65 73 43 6f 6e 74 72 6f 6c 6c 65 72 | iew.=.aView;.}..PlacesController |
1b3ca0 | 2e 70 72 6f 74 6f 74 79 70 65 20 3d 20 7b 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 54 68 65 20 70 6c | .prototype.=.{.../**....*.The.pl |
1b3cc0 | 61 63 65 73 20 76 69 65 77 2e 0a 20 20 20 2a 2f 0a 20 20 5f 76 69 65 77 3a 20 6e 75 6c 6c 2c 0a | aces.view.....*/..._view:.null,. |
1b3ce0 | 0a 20 20 69 73 43 6f 6d 6d 61 6e 64 45 6e 61 62 6c 65 64 3a 20 66 75 6e 63 74 69 6f 6e 20 50 43 | ...isCommandEnabled:.function.PC |
1b3d00 | 5f 69 73 43 6f 6d 6d 61 6e 64 45 6e 61 62 6c 65 64 28 61 43 6f 6d 6d 61 6e 64 29 20 7b 0a 20 20 | _isCommandEnabled(aCommand).{... |
1b3d20 | 20 20 73 77 69 74 63 68 20 28 61 43 6f 6d 6d 61 6e 64 29 20 7b 0a 20 20 20 20 63 61 73 65 20 22 | ..switch.(aCommand).{.....case." |
1b3d40 | 63 6d 64 5f 75 6e 64 6f 22 3a 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 50 6c 61 63 65 73 55 49 | cmd_undo":.......return.PlacesUI |
1b3d60 | 55 74 69 6c 73 2e 70 74 6d 2e 6e 75 6d 62 65 72 4f 66 55 6e 64 6f 49 74 65 6d 73 20 3e 20 30 3b | Utils.ptm.numberOfUndoItems.>.0; |
1b3d80 | 0a 20 20 20 20 63 61 73 65 20 22 63 6d 64 5f 72 65 64 6f 22 3a 0a 20 20 20 20 20 20 72 65 74 75 | .....case."cmd_redo":.......retu |
1b3da0 | 72 6e 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 70 74 6d 2e 6e 75 6d 62 65 72 4f 66 52 65 64 | rn.PlacesUIUtils.ptm.numberOfRed |
1b3dc0 | 6f 49 74 65 6d 73 20 3e 20 30 3b 0a 20 20 20 20 63 61 73 65 20 22 63 6d 64 5f 63 75 74 22 3a 0a | oItems.>.0;.....case."cmd_cut":. |
1b3de0 | 20 20 20 20 20 20 76 61 72 20 6e 6f 64 65 73 20 3d 20 74 68 69 73 2e 5f 76 69 65 77 2e 67 65 74 | ......var.nodes.=.this._view.get |
1b3e00 | 53 65 6c 65 63 74 69 6f 6e 4e 6f 64 65 73 28 29 3b 0a 20 20 20 20 20 20 2f 2f 20 49 66 20 73 65 | SelectionNodes();.......//.If.se |
1b3e20 | 6c 65 63 74 69 6f 6e 20 69 6e 63 6c 75 64 65 73 20 68 69 73 74 6f 72 79 20 6e 6f 64 65 73 20 74 | lection.includes.history.nodes.t |
1b3e40 | 68 65 72 65 27 73 20 6e 6f 20 72 65 61 73 6f 6e 20 74 6f 20 61 6c 6c 6f 77 20 63 75 74 2e 0a 20 | here's.no.reason.to.allow.cut... |
1b3e60 | 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 6e 6f 64 65 73 2e 6c | .....for.(var.i.=.0;.i.<.nodes.l |
1b3e80 | 65 6e 67 74 68 3b 20 69 2b 2b 29 20 7b 0a 20 20 20 20 20 20 20 20 69 66 20 28 6e 6f 64 65 73 5b | ength;.i++).{.........if.(nodes[ |
1b3ea0 | 69 5d 2e 69 74 65 6d 49 64 20 3d 3d 20 2d 31 29 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 | i].itemId.==.-1)...........retur |
1b3ec0 | 6e 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 2f 2f 20 4f 74 68 65 72 77 | n.false;.......}.......//.Otherw |
1b3ee0 | 69 73 65 20 66 61 6c 6c 62 61 63 6b 20 74 6f 20 63 6d 64 5f 64 65 6c 65 74 65 20 63 68 65 63 6b | ise.fallback.to.cmd_delete.check |
1b3f00 | 2e 0a 20 20 20 20 63 61 73 65 20 22 63 6d 64 5f 64 65 6c 65 74 65 22 3a 0a 20 20 20 20 20 20 72 | ......case."cmd_delete":.......r |
1b3f20 | 65 74 75 72 6e 20 74 68 69 73 2e 5f 68 61 73 52 65 6d 6f 76 61 62 6c 65 53 65 6c 65 63 74 69 6f | eturn.this._hasRemovableSelectio |
1b3f40 | 6e 28 66 61 6c 73 65 29 3b 0a 20 20 20 20 63 61 73 65 20 22 70 6c 61 63 65 73 43 6d 64 5f 64 65 | n(false);.....case."placesCmd_de |
1b3f60 | 6c 65 74 65 44 61 74 61 48 6f 73 74 22 3a 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 | leteDataHost":.......return.this |
1b3f80 | 2e 5f 68 61 73 52 65 6d 6f 76 61 62 6c 65 53 65 6c 65 63 74 69 6f 6e 28 66 61 6c 73 65 29 20 26 | ._hasRemovableSelection(false).& |
1b3fa0 | 26 0a 20 20 20 20 20 20 20 20 21 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 70 72 69 76 61 74 65 | &.........!PlacesUIUtils.private |
1b3fc0 | 42 72 6f 77 73 69 6e 67 2e 70 72 69 76 61 74 65 42 72 6f 77 73 69 6e 67 45 6e 61 62 6c 65 64 3b | Browsing.privateBrowsingEnabled; |
1b3fe0 | 0a 20 20 20 20 63 61 73 65 20 22 70 6c 61 63 65 73 43 6d 64 5f 6d 6f 76 65 42 6f 6f 6b 6d 61 72 | .....case."placesCmd_moveBookmar |
1b4000 | 6b 73 22 3a 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 68 61 73 52 65 6d 6f 76 | ks":.......return.this._hasRemov |
1b4020 | 61 62 6c 65 53 65 6c 65 63 74 69 6f 6e 28 74 72 75 65 29 3b 0a 20 20 20 20 63 61 73 65 20 22 63 | ableSelection(true);.....case."c |
1b4040 | 6d 64 5f 63 6f 70 79 22 3a 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 76 69 65 | md_copy":.......return.this._vie |
1b4060 | 77 2e 68 61 73 53 65 6c 65 63 74 69 6f 6e 3b 0a 20 20 20 20 63 61 73 65 20 22 63 6d 64 5f 70 61 | w.hasSelection;.....case."cmd_pa |
1b4080 | 73 74 65 22 3a 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 63 61 6e 49 6e 73 65 | ste":.......return.this._canInse |
1b40a0 | 72 74 28 74 72 75 65 29 20 26 26 20 74 68 69 73 2e 5f 69 73 43 6c 69 70 62 6f 61 72 64 44 61 74 | rt(true).&&.this._isClipboardDat |
1b40c0 | 61 50 61 73 74 65 61 62 6c 65 28 29 3b 0a 20 20 20 20 63 61 73 65 20 22 63 6d 64 5f 73 65 6c 65 | aPasteable();.....case."cmd_sele |
1b40e0 | 63 74 41 6c 6c 22 3a 0a 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 76 69 65 77 2e 73 65 6c | ctAll":.......if.(this._view.sel |
1b4100 | 54 79 70 65 20 21 3d 20 22 73 69 6e 67 6c 65 22 29 20 7b 0a 20 20 20 20 20 20 20 20 76 61 72 20 | Type.!=."single").{.........var. |
1b4120 | 72 65 73 75 6c 74 20 3d 20 74 68 69 73 2e 5f 76 69 65 77 2e 67 65 74 52 65 73 75 6c 74 28 29 3b | result.=.this._view.getResult(); |
1b4140 | 0a 20 20 20 20 20 20 20 20 69 66 20 28 72 65 73 75 6c 74 29 20 7b 0a 20 20 20 20 20 20 20 20 20 | .........if.(result).{.......... |
1b4160 | 20 76 61 72 20 63 6f 6e 74 61 69 6e 65 72 20 3d 20 61 73 43 6f 6e 74 61 69 6e 65 72 28 72 65 73 | .var.container.=.asContainer(res |
1b4180 | 75 6c 74 2e 72 6f 6f 74 29 3b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 63 6f 6e 74 61 69 6e | ult.root);...........if.(contain |
1b41a0 | 65 72 2e 63 68 69 6c 64 43 6f 75 6e 74 20 3e 20 30 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 | er.childCount.>.0).............r |
1b41c0 | 65 74 75 72 6e 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 7d 0a 20 20 | eturn.true;.........}.......}... |
1b41e0 | 20 20 20 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 0a 20 20 20 20 63 61 73 65 20 22 70 6c 61 63 | ....return.false;.....case."plac |
1b4200 | 65 73 43 6d 64 5f 6f 70 65 6e 22 3a 0a 20 20 20 20 63 61 73 65 20 22 70 6c 61 63 65 73 43 6d 64 | esCmd_open":.....case."placesCmd |
1b4220 | 5f 6f 70 65 6e 3a 77 69 6e 64 6f 77 22 3a 0a 20 20 20 20 63 61 73 65 20 22 70 6c 61 63 65 73 43 | _open:window":.....case."placesC |
1b4240 | 6d 64 5f 6f 70 65 6e 3a 74 61 62 22 3a 0a 20 20 20 20 20 20 76 61 72 20 73 65 6c 65 63 74 65 64 | md_open:tab":.......var.selected |
1b4260 | 4e 6f 64 65 20 3d 20 74 68 69 73 2e 5f 76 69 65 77 2e 73 65 6c 65 63 74 65 64 4e 6f 64 65 3b 0a | Node.=.this._view.selectedNode;. |
1b4280 | 20 20 20 20 20 20 72 65 74 75 72 6e 20 73 65 6c 65 63 74 65 64 4e 6f 64 65 20 26 26 20 50 6c 61 | ......return.selectedNode.&&.Pla |
1b42a0 | 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 55 52 49 28 73 65 6c 65 63 74 65 64 4e 6f 64 65 29 | cesUtils.nodeIsURI(selectedNode) |
1b42c0 | 3b 0a 20 20 20 20 63 61 73 65 20 22 70 6c 61 63 65 73 43 6d 64 5f 6e 65 77 3a 66 6f 6c 64 65 72 | ;.....case."placesCmd_new:folder |
1b42e0 | 22 3a 0a 20 20 20 20 63 61 73 65 20 22 70 6c 61 63 65 73 43 6d 64 5f 6e 65 77 3a 6c 69 76 65 6d | ":.....case."placesCmd_new:livem |
1b4300 | 61 72 6b 22 3a 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 63 61 6e 49 6e 73 65 | ark":.......return.this._canInse |
1b4320 | 72 74 28 29 3b 0a 20 20 20 20 63 61 73 65 20 22 70 6c 61 63 65 73 43 6d 64 5f 6e 65 77 3a 62 6f | rt();.....case."placesCmd_new:bo |
1b4340 | 6f 6b 6d 61 72 6b 22 3a 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 63 61 6e 49 | okmark":.......return.this._canI |
1b4360 | 6e 73 65 72 74 28 29 3b 0a 20 20 20 20 63 61 73 65 20 22 70 6c 61 63 65 73 43 6d 64 5f 6e 65 77 | nsert();.....case."placesCmd_new |
1b4380 | 3a 73 65 70 61 72 61 74 6f 72 22 3a 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f | :separator":.......return.this._ |
1b43a0 | 63 61 6e 49 6e 73 65 72 74 28 29 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 21 61 73 51 | canInsert().&&..............!asQ |
1b43c0 | 75 65 72 79 28 74 68 69 73 2e 5f 76 69 65 77 2e 67 65 74 52 65 73 75 6c 74 28 29 2e 72 6f 6f 74 | uery(this._view.getResult().root |
1b43e0 | 29 2e 71 75 65 72 79 4f 70 74 69 6f 6e 73 2e 65 78 63 6c 75 64 65 49 74 65 6d 73 20 26 26 0a 20 | ).queryOptions.excludeItems.&&.. |
1b4400 | 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 76 69 65 77 2e 67 65 74 52 65 73 75 6c 74 | ............this._view.getResult |
1b4420 | 28 29 2e 73 6f 72 74 69 6e 67 4d 6f 64 65 20 3d 3d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ().sortingMode.==............... |
1b4440 | 20 20 20 43 69 2e 6e 73 49 4e 61 76 48 69 73 74 6f 72 79 51 75 65 72 79 4f 70 74 69 6f 6e 73 2e | ...Ci.nsINavHistoryQueryOptions. |
1b4460 | 53 4f 52 54 5f 42 59 5f 4e 4f 4e 45 3b 0a 20 20 20 20 63 61 73 65 20 22 70 6c 61 63 65 73 43 6d | SORT_BY_NONE;.....case."placesCm |
1b4480 | 64 5f 73 68 6f 77 3a 69 6e 66 6f 22 3a 0a 20 20 20 20 20 20 76 61 72 20 73 65 6c 65 63 74 65 64 | d_show:info":.......var.selected |
1b44a0 | 4e 6f 64 65 20 3d 20 74 68 69 73 2e 5f 76 69 65 77 2e 73 65 6c 65 63 74 65 64 4e 6f 64 65 3b 0a | Node.=.this._view.selectedNode;. |
1b44c0 | 20 20 20 20 20 20 69 66 20 28 73 65 6c 65 63 74 65 64 4e 6f 64 65 20 26 26 0a 20 20 20 20 20 20 | ......if.(selectedNode.&&....... |
1b44e0 | 20 20 20 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 67 65 74 43 6f 6e 63 72 65 74 65 49 74 65 6d 49 | ....PlacesUtils.getConcreteItemI |
1b4500 | 64 28 73 65 6c 65 63 74 65 64 4e 6f 64 65 29 20 21 3d 20 2d 31 20 20 26 26 0a 20 20 20 20 20 20 | d(selectedNode).!=.-1..&&....... |
1b4520 | 20 20 20 20 21 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 4c 69 76 65 6d 61 72 6b 49 | ....!PlacesUtils.nodeIsLivemarkI |
1b4540 | 74 65 6d 28 73 65 6c 65 63 74 65 64 4e 6f 64 65 29 29 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 | tem(selectedNode)).........retur |
1b4560 | 6e 20 74 72 75 65 3b 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 0a 20 20 20 20 | n.true;.......return.false;..... |
1b4580 | 63 61 73 65 20 22 70 6c 61 63 65 73 43 6d 64 5f 72 65 6c 6f 61 64 4d 69 63 72 6f 73 75 6d 6d 61 | case."placesCmd_reloadMicrosumma |
1b45a0 | 72 79 22 3a 0a 20 20 20 20 20 20 76 61 72 20 73 65 6c 65 63 74 65 64 4e 6f 64 65 20 3d 20 74 68 | ry":.......var.selectedNode.=.th |
1b45c0 | 69 73 2e 5f 76 69 65 77 2e 73 65 6c 65 63 74 65 64 4e 6f 64 65 3b 0a 20 20 20 20 20 20 72 65 74 | is._view.selectedNode;.......ret |
1b45e0 | 75 72 6e 20 73 65 6c 65 63 74 65 64 4e 6f 64 65 20 26 26 20 50 6c 61 63 65 73 55 74 69 6c 73 2e | urn.selectedNode.&&.PlacesUtils. |
1b4600 | 6e 6f 64 65 49 73 42 6f 6f 6b 6d 61 72 6b 28 73 65 6c 65 63 74 65 64 4e 6f 64 65 29 20 26 26 0a | nodeIsBookmark(selectedNode).&&. |
1b4620 | 20 20 20 20 20 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 6d 69 63 72 6f | .............PlacesUIUtils.micro |
1b4640 | 73 75 6d 6d 61 72 69 65 73 2e 68 61 73 4d 69 63 72 6f 73 75 6d 6d 61 72 79 28 73 65 6c 65 63 74 | summaries.hasMicrosummary(select |
1b4660 | 65 64 4e 6f 64 65 2e 69 74 65 6d 49 64 29 3b 0a 20 20 20 20 63 61 73 65 20 22 70 6c 61 63 65 73 | edNode.itemId);.....case."places |
1b4680 | 43 6d 64 5f 72 65 6c 6f 61 64 22 3a 0a 20 20 20 20 20 20 2f 2f 20 4c 69 76 65 6d 61 72 6b 20 63 | Cmd_reload":.......//.Livemark.c |
1b46a0 | 6f 6e 74 61 69 6e 65 72 73 0a 20 20 20 20 20 20 76 61 72 20 73 65 6c 65 63 74 65 64 4e 6f 64 65 | ontainers.......var.selectedNode |
1b46c0 | 20 3d 20 74 68 69 73 2e 5f 76 69 65 77 2e 73 65 6c 65 63 74 65 64 4e 6f 64 65 3b 0a 20 20 20 20 | .=.this._view.selectedNode;..... |
1b46e0 | 20 20 72 65 74 75 72 6e 20 73 65 6c 65 63 74 65 64 4e 6f 64 65 20 26 26 20 50 6c 61 63 65 73 55 | ..return.selectedNode.&&.PlacesU |
1b4700 | 74 69 6c 73 2e 6e 6f 64 65 49 73 4c 69 76 65 6d 61 72 6b 43 6f 6e 74 61 69 6e 65 72 28 73 65 6c | tils.nodeIsLivemarkContainer(sel |
1b4720 | 65 63 74 65 64 4e 6f 64 65 29 3b 0a 20 20 20 20 63 61 73 65 20 22 70 6c 61 63 65 73 43 6d 64 5f | ectedNode);.....case."placesCmd_ |
1b4740 | 73 6f 72 74 42 79 3a 6e 61 6d 65 22 3a 0a 20 20 20 20 20 20 76 61 72 20 73 65 6c 65 63 74 65 64 | sortBy:name":.......var.selected |
1b4760 | 4e 6f 64 65 20 3d 20 74 68 69 73 2e 5f 76 69 65 77 2e 73 65 6c 65 63 74 65 64 4e 6f 64 65 3b 0a | Node.=.this._view.selectedNode;. |
1b4780 | 20 20 20 20 20 20 72 65 74 75 72 6e 20 73 65 6c 65 63 74 65 64 4e 6f 64 65 20 26 26 0a 20 20 20 | ......return.selectedNode.&&.... |
1b47a0 | 20 20 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 46 6f 6c 64 | ..........PlacesUtils.nodeIsFold |
1b47c0 | 65 72 28 73 65 6c 65 63 74 65 64 4e 6f 64 65 29 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 | er(selectedNode).&&............. |
1b47e0 | 20 21 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 52 65 61 64 4f 6e 6c 79 28 73 65 6c | .!PlacesUtils.nodeIsReadOnly(sel |
1b4800 | 65 63 74 65 64 4e 6f 64 65 29 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e | ectedNode).&&..............this. |
1b4820 | 5f 76 69 65 77 2e 67 65 74 52 65 73 75 6c 74 28 29 2e 73 6f 72 74 69 6e 67 4d 6f 64 65 20 3d 3d | _view.getResult().sortingMode.== |
1b4840 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 43 69 2e 6e 73 49 4e 61 76 48 69 73 74 6f | ..................Ci.nsINavHisto |
1b4860 | 72 79 51 75 65 72 79 4f 70 74 69 6f 6e 73 2e 53 4f 52 54 5f 42 59 5f 4e 4f 4e 45 3b 0a 20 20 20 | ryQueryOptions.SORT_BY_NONE;.... |
1b4880 | 20 64 65 66 61 75 6c 74 3a 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 0a 20 20 | .default:.......return.false;... |
1b48a0 | 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 73 75 70 70 6f 72 74 73 43 6f 6d 6d 61 6e 64 3a 20 66 75 6e | ..}...},....supportsCommand:.fun |
1b48c0 | 63 74 69 6f 6e 20 50 43 5f 73 75 70 70 6f 72 74 73 43 6f 6d 6d 61 6e 64 28 61 43 6f 6d 6d 61 6e | ction.PC_supportsCommand(aComman |
1b48e0 | 64 29 20 7b 0a 20 20 20 20 2f 2f 4c 4f 47 28 22 73 75 70 70 6f 72 74 73 43 6f 6d 6d 61 6e 64 3a | d).{.....//LOG("supportsCommand: |
1b4900 | 20 22 20 2b 20 63 6f 6d 6d 61 6e 64 29 3b 0a 20 20 20 20 2f 2f 20 4e 6f 6e 2d 50 6c 61 63 65 73 | .".+.command);.....//.Non-Places |
1b4920 | 20 73 70 65 63 69 66 69 63 20 63 6f 6d 6d 61 6e 64 73 20 74 68 61 74 20 77 65 20 61 6c 73 6f 20 | .specific.commands.that.we.also. |
1b4940 | 73 75 70 70 6f 72 74 0a 20 20 20 20 73 77 69 74 63 68 20 28 61 43 6f 6d 6d 61 6e 64 29 20 7b 0a | support.....switch.(aCommand).{. |
1b4960 | 20 20 20 20 63 61 73 65 20 22 63 6d 64 5f 75 6e 64 6f 22 3a 0a 20 20 20 20 63 61 73 65 20 22 63 | ....case."cmd_undo":.....case."c |
1b4980 | 6d 64 5f 72 65 64 6f 22 3a 0a 20 20 20 20 63 61 73 65 20 22 63 6d 64 5f 63 75 74 22 3a 0a 20 20 | md_redo":.....case."cmd_cut":... |
1b49a0 | 20 20 63 61 73 65 20 22 63 6d 64 5f 63 6f 70 79 22 3a 0a 20 20 20 20 63 61 73 65 20 22 63 6d 64 | ..case."cmd_copy":.....case."cmd |
1b49c0 | 5f 70 61 73 74 65 22 3a 0a 20 20 20 20 63 61 73 65 20 22 63 6d 64 5f 64 65 6c 65 74 65 22 3a 0a | _paste":.....case."cmd_delete":. |
1b49e0 | 20 20 20 20 63 61 73 65 20 22 63 6d 64 5f 73 65 6c 65 63 74 41 6c 6c 22 3a 0a 20 20 20 20 20 20 | ....case."cmd_selectAll":....... |
1b4a00 | 72 65 74 75 72 6e 20 74 72 75 65 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 2f 2f 20 41 6c 6c 20 6f | return.true;.....}......//.All.o |
1b4a20 | 74 68 65 72 20 50 6c 61 63 65 73 20 43 6f 6d 6d 61 6e 64 73 20 61 72 65 20 70 72 65 66 69 78 65 | ther.Places.Commands.are.prefixe |
1b4a40 | 64 20 77 69 74 68 20 22 70 6c 61 63 65 73 43 6d 64 5f 22 20 2e 2e 2e 20 74 68 69 73 20 0a 20 20 | d.with."placesCmd_".....this.... |
1b4a60 | 20 20 2f 2f 20 66 69 6c 74 65 72 73 20 6f 75 74 20 6f 74 68 65 72 20 63 6f 6d 6d 61 6e 64 73 20 | ..//.filters.out.other.commands. |
1b4a80 | 74 68 61 74 20 77 65 20 64 6f 20 5f 6e 6f 74 5f 20 73 75 70 70 6f 72 74 20 28 73 65 65 20 33 32 | that.we.do._not_.support.(see.32 |
1b4aa0 | 39 35 38 37 29 2e 0a 20 20 20 20 63 6f 6e 73 74 20 43 4d 44 5f 50 52 45 46 49 58 20 3d 20 22 70 | 9587)......const.CMD_PREFIX.=."p |
1b4ac0 | 6c 61 63 65 73 43 6d 64 5f 22 3b 0a 20 20 20 20 72 65 74 75 72 6e 20 28 61 43 6f 6d 6d 61 6e 64 | lacesCmd_";.....return.(aCommand |
1b4ae0 | 2e 73 75 62 73 74 72 28 30 2c 20 43 4d 44 5f 50 52 45 46 49 58 2e 6c 65 6e 67 74 68 29 20 3d 3d | .substr(0,.CMD_PREFIX.length).== |
1b4b00 | 20 43 4d 44 5f 50 52 45 46 49 58 29 3b 0a 20 20 7d 2c 0a 0a 20 20 64 6f 43 6f 6d 6d 61 6e 64 3a | .CMD_PREFIX);...},....doCommand: |
1b4b20 | 20 66 75 6e 63 74 69 6f 6e 20 50 43 5f 64 6f 43 6f 6d 6d 61 6e 64 28 61 43 6f 6d 6d 61 6e 64 29 | .function.PC_doCommand(aCommand) |
1b4b40 | 20 7b 0a 20 20 20 20 73 77 69 74 63 68 20 28 61 43 6f 6d 6d 61 6e 64 29 20 7b 0a 20 20 20 20 63 | .{.....switch.(aCommand).{.....c |
1b4b60 | 61 73 65 20 22 63 6d 64 5f 75 6e 64 6f 22 3a 0a 20 20 20 20 20 20 50 6c 61 63 65 73 55 49 55 74 | ase."cmd_undo":.......PlacesUIUt |
1b4b80 | 69 6c 73 2e 70 74 6d 2e 75 6e 64 6f 54 72 61 6e 73 61 63 74 69 6f 6e 28 29 3b 0a 20 20 20 20 20 | ils.ptm.undoTransaction();...... |
1b4ba0 | 20 62 72 65 61 6b 3b 0a 20 20 20 20 63 61 73 65 20 22 63 6d 64 5f 72 65 64 6f 22 3a 0a 20 20 20 | .break;.....case."cmd_redo":.... |
1b4bc0 | 20 20 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 70 74 6d 2e 72 65 64 6f 54 72 61 6e 73 61 63 | ...PlacesUIUtils.ptm.redoTransac |
1b4be0 | 74 69 6f 6e 28 29 3b 0a 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 63 61 73 65 20 22 63 | tion();.......break;.....case."c |
1b4c00 | 6d 64 5f 63 75 74 22 3a 0a 20 20 20 20 20 20 74 68 69 73 2e 63 75 74 28 29 3b 0a 20 20 20 20 20 | md_cut":.......this.cut();...... |
1b4c20 | 20 62 72 65 61 6b 3b 0a 20 20 20 20 63 61 73 65 20 22 63 6d 64 5f 63 6f 70 79 22 3a 0a 20 20 20 | .break;.....case."cmd_copy":.... |
1b4c40 | 20 20 20 74 68 69 73 2e 63 6f 70 79 28 29 3b 0a 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 | ...this.copy();.......break;.... |
1b4c60 | 20 63 61 73 65 20 22 63 6d 64 5f 70 61 73 74 65 22 3a 0a 20 20 20 20 20 20 74 68 69 73 2e 70 61 | .case."cmd_paste":.......this.pa |
1b4c80 | 73 74 65 28 29 3b 0a 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 63 61 73 65 20 22 63 6d | ste();.......break;.....case."cm |
1b4ca0 | 64 5f 64 65 6c 65 74 65 22 3a 0a 20 20 20 20 20 20 74 68 69 73 2e 72 65 6d 6f 76 65 28 22 52 65 | d_delete":.......this.remove("Re |
1b4cc0 | 6d 6f 76 65 20 53 65 6c 65 63 74 69 6f 6e 22 29 3b 0a 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 | move.Selection");.......break;.. |
1b4ce0 | 20 20 20 63 61 73 65 20 22 70 6c 61 63 65 73 43 6d 64 5f 64 65 6c 65 74 65 44 61 74 61 48 6f 73 | ...case."placesCmd_deleteDataHos |
1b4d00 | 74 22 3a 0a 20 20 20 20 20 20 76 61 72 20 68 6f 73 74 3b 0a 20 20 20 20 20 20 69 66 20 28 50 6c | t":.......var.host;.......if.(Pl |
1b4d20 | 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 48 6f 73 74 28 74 68 69 73 2e 5f 76 69 65 77 2e | acesUtils.nodeIsHost(this._view. |
1b4d40 | 73 65 6c 65 63 74 65 64 4e 6f 64 65 29 29 20 7b 0a 20 20 20 20 20 20 20 20 76 61 72 20 71 75 65 | selectedNode)).{.........var.que |
1b4d60 | 72 69 65 73 20 3d 20 74 68 69 73 2e 5f 76 69 65 77 2e 73 65 6c 65 63 74 65 64 4e 6f 64 65 2e 67 | ries.=.this._view.selectedNode.g |
1b4d80 | 65 74 51 75 65 72 69 65 73 28 7b 7d 29 3b 0a 20 20 20 20 20 20 20 20 68 6f 73 74 20 3d 20 71 75 | etQueries({});.........host.=.qu |
1b4da0 | 65 72 69 65 73 5b 30 5d 2e 64 6f 6d 61 69 6e 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 65 | eries[0].domain;.......}.......e |
1b4dc0 | 6c 73 65 0a 20 20 20 20 20 20 20 20 68 6f 73 74 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 5f | lse.........host.=.PlacesUtils._ |
1b4de0 | 75 72 69 28 74 68 69 73 2e 5f 76 69 65 77 2e 73 65 6c 65 63 74 65 64 4e 6f 64 65 2e 75 72 69 29 | uri(this._view.selectedNode.uri) |
1b4e00 | 2e 68 6f 73 74 3b 0a 20 20 20 20 20 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 70 72 69 76 61 | .host;.......PlacesUIUtils.priva |
1b4e20 | 74 65 42 72 6f 77 73 69 6e 67 2e 72 65 6d 6f 76 65 44 61 74 61 46 72 6f 6d 44 6f 6d 61 69 6e 28 | teBrowsing.removeDataFromDomain( |
1b4e40 | 68 6f 73 74 29 3b 0a 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 63 61 73 65 20 22 63 6d | host);.......break;.....case."cm |
1b4e60 | 64 5f 73 65 6c 65 63 74 41 6c 6c 22 3a 0a 20 20 20 20 20 20 74 68 69 73 2e 73 65 6c 65 63 74 41 | d_selectAll":.......this.selectA |
1b4e80 | 6c 6c 28 29 3b 0a 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 63 61 73 65 20 22 70 6c 61 | ll();.......break;.....case."pla |
1b4ea0 | 63 65 73 43 6d 64 5f 6f 70 65 6e 22 3a 0a 20 20 20 20 20 20 50 6c 61 63 65 73 55 49 55 74 69 6c | cesCmd_open":.......PlacesUIUtil |
1b4ec0 | 73 2e 6f 70 65 6e 4e 6f 64 65 49 6e 28 74 68 69 73 2e 5f 76 69 65 77 2e 73 65 6c 65 63 74 65 64 | s.openNodeIn(this._view.selected |
1b4ee0 | 4e 6f 64 65 2c 20 22 63 75 72 72 65 6e 74 22 29 3b 0a 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 | Node,."current");.......break;.. |
1b4f00 | 20 20 20 63 61 73 65 20 22 70 6c 61 63 65 73 43 6d 64 5f 6f 70 65 6e 3a 77 69 6e 64 6f 77 22 3a | ...case."placesCmd_open:window": |
1b4f20 | 0a 20 20 20 20 20 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 6f 70 65 6e 4e 6f 64 65 49 6e 28 | .......PlacesUIUtils.openNodeIn( |
1b4f40 | 74 68 69 73 2e 5f 76 69 65 77 2e 73 65 6c 65 63 74 65 64 4e 6f 64 65 2c 20 22 77 69 6e 64 6f 77 | this._view.selectedNode,."window |
1b4f60 | 22 29 3b 0a 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 63 61 73 65 20 22 70 6c 61 63 65 | ");.......break;.....case."place |
1b4f80 | 73 43 6d 64 5f 6f 70 65 6e 3a 74 61 62 22 3a 0a 20 20 20 20 20 20 50 6c 61 63 65 73 55 49 55 74 | sCmd_open:tab":.......PlacesUIUt |
1b4fa0 | 69 6c 73 2e 6f 70 65 6e 4e 6f 64 65 49 6e 28 74 68 69 73 2e 5f 76 69 65 77 2e 73 65 6c 65 63 74 | ils.openNodeIn(this._view.select |
1b4fc0 | 65 64 4e 6f 64 65 2c 20 22 74 61 62 22 29 3b 0a 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 | edNode,."tab");.......break;.... |
1b4fe0 | 20 63 61 73 65 20 22 70 6c 61 63 65 73 43 6d 64 5f 6e 65 77 3a 66 6f 6c 64 65 72 22 3a 0a 20 20 | .case."placesCmd_new:folder":... |
1b5000 | 20 20 20 20 74 68 69 73 2e 6e 65 77 49 74 65 6d 28 22 66 6f 6c 64 65 72 22 29 3b 0a 20 20 20 20 | ....this.newItem("folder");..... |
1b5020 | 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 63 61 73 65 20 22 70 6c 61 63 65 73 43 6d 64 5f 6e 65 77 | ..break;.....case."placesCmd_new |
1b5040 | 3a 62 6f 6f 6b 6d 61 72 6b 22 3a 0a 20 20 20 20 20 20 74 68 69 73 2e 6e 65 77 49 74 65 6d 28 22 | :bookmark":.......this.newItem(" |
1b5060 | 62 6f 6f 6b 6d 61 72 6b 22 29 3b 0a 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 63 61 73 | bookmark");.......break;.....cas |
1b5080 | 65 20 22 70 6c 61 63 65 73 43 6d 64 5f 6e 65 77 3a 6c 69 76 65 6d 61 72 6b 22 3a 0a 20 20 20 20 | e."placesCmd_new:livemark":..... |
1b50a0 | 20 20 74 68 69 73 2e 6e 65 77 49 74 65 6d 28 22 6c 69 76 65 6d 61 72 6b 22 29 3b 0a 20 20 20 20 | ..this.newItem("livemark");..... |
1b50c0 | 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 63 61 73 65 20 22 70 6c 61 63 65 73 43 6d 64 5f 6e 65 77 | ..break;.....case."placesCmd_new |
1b50e0 | 3a 73 65 70 61 72 61 74 6f 72 22 3a 0a 20 20 20 20 20 20 74 68 69 73 2e 6e 65 77 53 65 70 61 72 | :separator":.......this.newSepar |
1b5100 | 61 74 6f 72 28 29 3b 0a 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 63 61 73 65 20 22 70 | ator();.......break;.....case."p |
1b5120 | 6c 61 63 65 73 43 6d 64 5f 73 68 6f 77 3a 69 6e 66 6f 22 3a 0a 20 20 20 20 20 20 74 68 69 73 2e | lacesCmd_show:info":.......this. |
1b5140 | 73 68 6f 77 42 6f 6f 6b 6d 61 72 6b 50 72 6f 70 65 72 74 69 65 73 46 6f 72 53 65 6c 65 63 74 69 | showBookmarkPropertiesForSelecti |
1b5160 | 6f 6e 28 29 3b 0a 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 63 61 73 65 20 22 70 6c 61 | on();.......break;.....case."pla |
1b5180 | 63 65 73 43 6d 64 5f 6d 6f 76 65 42 6f 6f 6b 6d 61 72 6b 73 22 3a 0a 20 20 20 20 20 20 74 68 69 | cesCmd_moveBookmarks":.......thi |
1b51a0 | 73 2e 6d 6f 76 65 53 65 6c 65 63 74 65 64 42 6f 6f 6b 6d 61 72 6b 73 28 29 3b 0a 20 20 20 20 20 | s.moveSelectedBookmarks();...... |
1b51c0 | 20 62 72 65 61 6b 3b 0a 20 20 20 20 63 61 73 65 20 22 70 6c 61 63 65 73 43 6d 64 5f 72 65 6c 6f | .break;.....case."placesCmd_relo |
1b51e0 | 61 64 22 3a 0a 20 20 20 20 20 20 74 68 69 73 2e 72 65 6c 6f 61 64 53 65 6c 65 63 74 65 64 4c 69 | ad":.......this.reloadSelectedLi |
1b5200 | 76 65 6d 61 72 6b 28 29 3b 0a 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 63 61 73 65 20 | vemark();.......break;.....case. |
1b5220 | 22 70 6c 61 63 65 73 43 6d 64 5f 72 65 6c 6f 61 64 4d 69 63 72 6f 73 75 6d 6d 61 72 79 22 3a 0a | "placesCmd_reloadMicrosummary":. |
1b5240 | 20 20 20 20 20 20 74 68 69 73 2e 72 65 6c 6f 61 64 53 65 6c 65 63 74 65 64 4d 69 63 72 6f 73 75 | ......this.reloadSelectedMicrosu |
1b5260 | 6d 6d 61 72 79 28 29 3b 0a 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 63 61 73 65 20 22 | mmary();.......break;.....case." |
1b5280 | 70 6c 61 63 65 73 43 6d 64 5f 73 6f 72 74 42 79 3a 6e 61 6d 65 22 3a 0a 20 20 20 20 20 20 74 68 | placesCmd_sortBy:name":.......th |
1b52a0 | 69 73 2e 73 6f 72 74 46 6f 6c 64 65 72 42 79 4e 61 6d 65 28 29 3b 0a 20 20 20 20 20 20 62 72 65 | is.sortFolderByName();.......bre |
1b52c0 | 61 6b 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 6f 6e 45 76 65 6e 74 3a 20 66 75 6e 63 74 | ak;.....}...},....onEvent:.funct |
1b52e0 | 69 6f 6e 20 50 43 5f 6f 6e 45 76 65 6e 74 28 65 76 65 6e 74 4e 61 6d 65 29 20 7b 20 7d 2c 0a 0a | ion.PC_onEvent(eventName).{.},.. |
1b5300 | 20 20 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 44 65 74 65 72 6d 69 6e 65 20 77 68 65 74 68 65 72 20 | ...../**....*.Determine.whether. |
1b5320 | 6f 72 20 6e 6f 74 20 74 68 65 20 73 65 6c 65 63 74 69 6f 6e 20 63 61 6e 20 62 65 20 72 65 6d 6f | or.not.the.selection.can.be.remo |
1b5340 | 76 65 64 2c 20 65 69 74 68 65 72 20 62 79 20 74 68 65 20 0a 20 20 20 2a 20 64 65 6c 65 74 65 20 | ved,.either.by.the.....*.delete. |
1b5360 | 6f 72 20 63 75 74 20 6f 70 65 72 61 74 69 6f 6e 73 20 62 61 73 65 64 20 6f 6e 20 77 68 65 74 68 | or.cut.operations.based.on.wheth |
1b5380 | 65 72 20 6f 72 20 6e 6f 74 20 61 6e 79 20 6f 66 20 69 74 73 20 63 6f 6e 74 65 6e 74 73 0a 20 20 | er.or.not.any.of.its.contents... |
1b53a0 | 20 2a 20 61 72 65 20 6e 6f 6e 2d 72 65 6d 6f 76 61 62 6c 65 2e 20 57 65 20 64 6f 6e 27 74 20 6e | .*.are.non-removable..We.don't.n |
1b53c0 | 65 65 64 20 74 6f 20 77 6f 72 72 79 20 61 62 6f 75 74 20 72 65 63 75 72 73 69 6f 6e 20 68 65 72 | eed.to.worry.about.recursion.her |
1b53e0 | 65 20 73 69 6e 63 65 20 69 74 0a 20 20 20 2a 20 69 73 20 61 20 70 6f 6c 69 63 79 20 64 65 63 69 | e.since.it....*.is.a.policy.deci |
1b5400 | 73 69 6f 6e 20 74 68 61 74 20 61 20 72 65 6d 6f 76 61 62 6c 65 20 69 74 65 6d 20 6e 6f 74 20 62 | sion.that.a.removable.item.not.b |
1b5420 | 65 20 70 6c 61 63 65 64 20 69 6e 73 69 64 65 20 61 20 6e 6f 6e 2d 0a 20 20 20 2a 20 72 65 6d 6f | e.placed.inside.a.non-....*.remo |
1b5440 | 76 61 62 6c 65 20 69 74 65 6d 2e 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 61 49 73 4d 6f 76 65 43 | vable.item.....*.@param.aIsMoveC |
1b5460 | 6f 6d 6d 61 6e 64 0a 20 20 20 2a 20 20 20 20 20 20 20 20 54 72 75 65 20 69 66 20 74 68 65 20 63 | ommand....*........True.if.the.c |
1b5480 | 6f 6d 6d 61 6e 64 20 66 6f 72 20 77 68 69 63 68 20 74 68 69 73 20 6d 65 74 68 6f 64 20 69 73 20 | ommand.for.which.this.method.is. |
1b54a0 | 63 61 6c 6c 65 64 20 6f 6e 6c 79 20 6d 6f 76 65 73 20 74 68 65 0a 20 20 20 2a 20 20 20 20 20 20 | called.only.moves.the....*...... |
1b54c0 | 20 20 73 65 6c 65 63 74 65 64 20 69 74 65 6d 73 20 74 6f 20 61 6e 6f 74 68 65 72 20 63 6f 6e 74 | ..selected.items.to.another.cont |
1b54e0 | 61 69 6e 65 72 2c 20 66 61 6c 73 65 20 6f 74 68 65 72 77 69 73 65 2e 0a 20 20 20 2a 20 40 72 65 | ainer,.false.otherwise.....*.@re |
1b5500 | 74 75 72 6e 73 20 74 72 75 65 20 69 66 20 61 6c 6c 20 6e 6f 64 65 73 20 69 6e 20 74 68 65 20 73 | turns.true.if.all.nodes.in.the.s |
1b5520 | 65 6c 65 63 74 69 6f 6e 20 63 61 6e 20 62 65 20 72 65 6d 6f 76 65 64 2c 0a 20 20 20 2a 20 20 20 | election.can.be.removed,....*... |
1b5540 | 20 20 20 20 20 20 20 66 61 6c 73 65 20 6f 74 68 65 72 77 69 73 65 2e 0a 20 20 20 2a 2f 0a 20 20 | .......false.otherwise.....*/... |
1b5560 | 5f 68 61 73 52 65 6d 6f 76 61 62 6c 65 53 65 6c 65 63 74 69 6f 6e 3a 20 66 75 6e 63 74 69 6f 6e | _hasRemovableSelection:.function |
1b5580 | 20 50 43 5f 5f 68 61 73 52 65 6d 6f 76 61 62 6c 65 53 65 6c 65 63 74 69 6f 6e 28 61 49 73 4d 6f | .PC__hasRemovableSelection(aIsMo |
1b55a0 | 76 65 43 6f 6d 6d 61 6e 64 29 20 7b 0a 20 20 20 20 76 61 72 20 72 61 6e 67 65 73 20 3d 20 74 68 | veCommand).{.....var.ranges.=.th |
1b55c0 | 69 73 2e 5f 76 69 65 77 2e 67 65 74 52 65 6d 6f 76 61 62 6c 65 53 65 6c 65 63 74 69 6f 6e 52 61 | is._view.getRemovableSelectionRa |
1b55e0 | 6e 67 65 73 28 29 3b 0a 20 20 20 20 69 66 20 28 21 72 61 6e 67 65 73 2e 6c 65 6e 67 74 68 29 0a | nges();.....if.(!ranges.length). |
1b5600 | 20 20 20 20 20 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 0a 0a 20 20 20 20 76 61 72 20 72 6f 6f | ......return.false;......var.roo |
1b5620 | 74 20 3d 20 74 68 69 73 2e 5f 76 69 65 77 2e 67 65 74 52 65 73 75 6c 74 4e 6f 64 65 28 29 3b 0a | t.=.this._view.getResultNode();. |
1b5640 | 0a 20 20 20 20 66 6f 72 20 28 76 61 72 20 6a 20 3d 20 30 3b 20 6a 20 3c 20 72 61 6e 67 65 73 2e | .....for.(var.j.=.0;.j.<.ranges. |
1b5660 | 6c 65 6e 67 74 68 3b 20 6a 2b 2b 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 6e 6f 64 65 73 20 3d | length;.j++).{.......var.nodes.= |
1b5680 | 20 72 61 6e 67 65 73 5b 6a 5d 3b 0a 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 | .ranges[j];.......for.(var.i.=.0 |
1b56a0 | 3b 20 69 20 3c 20 6e 6f 64 65 73 2e 6c 65 6e 67 74 68 3b 20 2b 2b 69 29 20 7b 0a 20 20 20 20 20 | ;.i.<.nodes.length;.++i).{...... |
1b56c0 | 20 20 20 2f 2f 20 44 69 73 61 6c 6c 6f 77 20 72 65 6d 6f 76 69 6e 67 20 74 68 65 20 76 69 65 77 | ...//.Disallow.removing.the.view |
1b56e0 | 27 73 20 72 6f 6f 74 20 6e 6f 64 65 0a 20 20 20 20 20 20 20 20 69 66 20 28 6e 6f 64 65 73 5b 69 | 's.root.node.........if.(nodes[i |
1b5700 | 5d 20 3d 3d 20 72 6f 6f 74 29 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 66 61 6c 73 | ].==.root)...........return.fals |
1b5720 | 65 3b 0a 0a 20 20 20 20 20 20 20 20 69 66 20 28 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 | e;..........if.(PlacesUtils.node |
1b5740 | 49 73 46 6f 6c 64 65 72 28 6e 6f 64 65 73 5b 69 5d 29 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 | IsFolder(nodes[i]).&&........... |
1b5760 | 20 20 21 50 6c 61 63 65 73 43 6f 6e 74 72 6f 6c 6c 65 72 44 72 61 67 48 65 6c 70 65 72 2e 63 61 | ..!PlacesControllerDragHelper.ca |
1b5780 | 6e 4d 6f 76 65 4e 6f 64 65 28 6e 6f 64 65 73 5b 69 5d 29 29 0a 20 20 20 20 20 20 20 20 20 20 72 | nMoveNode(nodes[i]))...........r |
1b57a0 | 65 74 75 72 6e 20 66 61 6c 73 65 3b 0a 0a 20 20 20 20 20 20 20 20 2f 2f 20 57 65 20 64 6f 6e 27 | eturn.false;..........//.We.don' |
1b57c0 | 74 20 63 61 6c 6c 20 6e 6f 64 65 49 73 52 65 61 64 4f 6e 6c 79 20 68 65 72 65 2c 20 62 65 63 61 | t.call.nodeIsReadOnly.here,.beca |
1b57e0 | 75 73 65 20 6e 6f 64 65 49 73 52 65 61 64 4f 6e 6c 79 20 6d 65 61 6e 73 20 74 68 61 74 0a 20 20 | use.nodeIsReadOnly.means.that... |
1b5800 | 20 20 20 20 20 20 2f 2f 20 61 20 6e 6f 64 65 20 68 61 73 20 63 68 69 6c 64 72 65 6e 20 74 68 61 | ......//.a.node.has.children.tha |
1b5820 | 74 20 63 61 6e 6e 6f 74 20 62 65 20 65 64 69 74 65 64 2c 20 72 65 6f 72 64 65 72 65 64 20 6f 72 | t.cannot.be.edited,.reordered.or |
1b5840 | 20 72 65 6d 6f 76 65 64 2e 20 48 65 72 65 2c 0a 20 20 20 20 20 20 20 20 2f 2f 20 77 65 20 64 6f | .removed..Here,.........//.we.do |
1b5860 | 6e 27 74 20 63 61 72 65 20 69 66 20 61 20 6e 6f 64 65 27 73 20 63 68 69 6c 64 72 65 6e 20 63 61 | n't.care.if.a.node's.children.ca |
1b5880 | 6e 27 74 20 62 65 20 72 65 6f 72 64 65 72 65 64 20 6f 72 20 65 64 69 74 65 64 2c 20 6a 75 73 74 | n't.be.reordered.or.edited,.just |
1b58a0 | 0a 20 20 20 20 20 20 20 20 2f 2f 20 74 68 61 74 20 74 68 65 79 27 72 65 20 72 65 6d 6f 76 61 62 | .........//.that.they're.removab |
1b58c0 | 6c 65 2e 20 41 6c 6c 20 68 69 73 74 6f 72 79 20 72 65 73 75 6c 74 73 20 68 61 76 65 20 72 65 6d | le..All.history.results.have.rem |
1b58e0 | 6f 76 61 62 6c 65 20 63 68 69 6c 64 72 65 6e 0a 20 20 20 20 20 20 20 20 2f 2f 20 28 62 61 73 65 | ovable.children.........//.(base |
1b5900 | 64 20 6f 6e 20 74 68 65 20 70 72 69 6e 63 69 70 6c 65 20 74 68 61 74 20 61 6e 79 20 55 52 4c 20 | d.on.the.principle.that.any.URL. |
1b5920 | 69 6e 20 74 68 65 20 68 69 73 74 6f 72 79 20 74 61 62 6c 65 20 73 68 6f 75 6c 64 20 62 65 0a 20 | in.the.history.table.should.be.. |
1b5940 | 20 20 20 20 20 20 20 2f 2f 20 72 65 6d 6f 76 61 62 6c 65 29 2c 20 62 75 74 20 73 6f 6d 65 20 73 | .......//.removable),.but.some.s |
1b5960 | 70 65 63 69 61 6c 20 62 6f 6f 6b 6d 61 72 6b 20 66 6f 6c 64 65 72 73 20 6d 61 79 20 68 61 76 65 | pecial.bookmark.folders.may.have |
1b5980 | 20 6e 6f 6e 2d 72 65 6d 6f 76 61 62 6c 65 0a 20 20 20 20 20 20 20 20 2f 2f 20 63 68 69 6c 64 72 | .non-removable.........//.childr |
1b59a0 | 65 6e 2c 20 65 2e 67 2e 20 6c 69 76 65 20 62 6f 6f 6b 6d 61 72 6b 20 66 6f 6c 64 65 72 20 63 68 | en,.e.g..live.bookmark.folder.ch |
1b59c0 | 69 6c 64 72 65 6e 2e 20 49 74 20 64 6f 65 73 6e 27 74 20 6d 61 6b 65 20 73 65 6e 73 65 0a 20 20 | ildren..It.doesn't.make.sense... |
1b59e0 | 20 20 20 20 20 20 2f 2f 20 74 6f 20 64 65 6c 65 74 65 20 61 20 63 68 69 6c 64 20 6f 66 20 61 20 | ......//.to.delete.a.child.of.a. |
1b5a00 | 6c 69 76 65 20 62 6f 6f 6b 6d 61 72 6b 20 66 6f 6c 64 65 72 2c 20 73 69 6e 63 65 20 77 68 65 6e | live.bookmark.folder,.since.when |
1b5a20 | 20 74 68 65 20 66 6f 6c 64 65 72 0a 20 20 20 20 20 20 20 20 2f 2f 20 72 65 66 72 65 73 68 65 73 | .the.folder.........//.refreshes |
1b5a40 | 2c 20 74 68 65 20 63 68 69 6c 64 20 77 69 6c 6c 20 72 65 74 75 72 6e 2e 0a 20 20 20 20 20 20 20 | ,.the.child.will.return......... |
1b5a60 | 20 76 61 72 20 70 61 72 65 6e 74 20 3d 20 6e 6f 64 65 73 5b 69 5d 2e 70 61 72 65 6e 74 20 7c 7c | .var.parent.=.nodes[i].parent.|| |
1b5a80 | 20 72 6f 6f 74 3b 0a 20 20 20 20 20 20 20 20 69 66 20 28 50 6c 61 63 65 73 55 74 69 6c 73 2e 69 | .root;.........if.(PlacesUtils.i |
1b5aa0 | 73 52 65 61 64 6f 6e 6c 79 46 6f 6c 64 65 72 28 70 61 72 65 6e 74 29 29 0a 20 20 20 20 20 20 20 | sReadonlyFolder(parent))........ |
1b5ac0 | 20 20 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 0a | ...return.false;.......}.....}.. |
1b5ae0 | 20 20 20 20 72 65 74 75 72 6e 20 74 72 75 65 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 | ....return.true;...},..../**.... |
1b5b00 | 2a 20 44 65 74 65 72 6d 69 6e 65 73 20 77 68 65 74 68 65 72 20 6f 72 20 6e 6f 74 20 6e 6f 64 65 | *.Determines.whether.or.not.node |
1b5b20 | 73 20 63 61 6e 20 62 65 20 69 6e 73 65 72 74 65 64 20 72 65 6c 61 74 69 76 65 20 74 6f 20 74 68 | s.can.be.inserted.relative.to.th |
1b5b40 | 65 20 73 65 6c 65 63 74 69 6f 6e 2e 0a 20 20 20 2a 2f 0a 20 20 5f 63 61 6e 49 6e 73 65 72 74 3a | e.selection.....*/..._canInsert: |
1b5b60 | 20 66 75 6e 63 74 69 6f 6e 20 50 43 5f 5f 63 61 6e 49 6e 73 65 72 74 28 69 73 50 61 73 74 65 29 | .function.PC__canInsert(isPaste) |
1b5b80 | 20 7b 0a 20 20 20 20 76 61 72 20 69 70 20 3d 20 74 68 69 73 2e 5f 76 69 65 77 2e 69 6e 73 65 72 | .{.....var.ip.=.this._view.inser |
1b5ba0 | 74 69 6f 6e 50 6f 69 6e 74 3b 0a 20 20 20 20 72 65 74 75 72 6e 20 69 70 20 21 3d 20 6e 75 6c 6c | tionPoint;.....return.ip.!=.null |
1b5bc0 | 20 26 26 20 28 69 73 50 61 73 74 65 20 7c 7c 20 69 70 2e 69 73 54 61 67 20 21 3d 20 74 72 75 65 | .&&.(isPaste.||.ip.isTag.!=.true |
1b5be0 | 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 44 65 74 65 72 6d 69 6e 65 73 20 77 | );...},..../**....*.Determines.w |
1b5c00 | 68 65 74 68 65 72 20 6f 72 20 6e 6f 74 20 74 68 65 20 72 6f 6f 74 20 6e 6f 64 65 20 66 6f 72 20 | hether.or.not.the.root.node.for. |
1b5c20 | 74 68 65 20 76 69 65 77 20 69 73 20 73 65 6c 65 63 74 65 64 0a 20 20 20 2a 2f 0a 20 20 72 6f 6f | the.view.is.selected....*/...roo |
1b5c40 | 74 4e 6f 64 65 49 73 53 65 6c 65 63 74 65 64 3a 20 66 75 6e 63 74 69 6f 6e 20 50 43 5f 72 6f 6f | tNodeIsSelected:.function.PC_roo |
1b5c60 | 74 4e 6f 64 65 49 73 53 65 6c 65 63 74 65 64 28 29 20 7b 0a 20 20 20 20 76 61 72 20 6e 6f 64 65 | tNodeIsSelected().{.....var.node |
1b5c80 | 73 20 3d 20 74 68 69 73 2e 5f 76 69 65 77 2e 67 65 74 53 65 6c 65 63 74 69 6f 6e 4e 6f 64 65 73 | s.=.this._view.getSelectionNodes |
1b5ca0 | 28 29 3b 0a 20 20 20 20 76 61 72 20 72 6f 6f 74 20 3d 20 74 68 69 73 2e 5f 76 69 65 77 2e 67 65 | ();.....var.root.=.this._view.ge |
1b5cc0 | 74 52 65 73 75 6c 74 4e 6f 64 65 28 29 3b 0a 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 | tResultNode();.....for.(var.i.=. |
1b5ce0 | 30 3b 20 69 20 3c 20 6e 6f 64 65 73 2e 6c 65 6e 67 74 68 3b 20 2b 2b 69 29 20 7b 0a 20 20 20 20 | 0;.i.<.nodes.length;.++i).{..... |
1b5d00 | 20 20 69 66 20 28 6e 6f 64 65 73 5b 69 5d 20 3d 3d 20 72 6f 6f 74 29 0a 20 20 20 20 20 20 20 20 | ..if.(nodes[i].==.root)......... |
1b5d20 | 72 65 74 75 72 6e 20 74 72 75 65 3b 20 20 20 20 20 20 0a 20 20 20 20 7d 0a 0a 20 20 20 20 72 65 | return.true;...........}......re |
1b5d40 | 74 75 72 6e 20 66 61 6c 73 65 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 4c 6f 6f | turn.false;...},..../**....*.Loo |
1b5d60 | 6b 73 20 61 74 20 74 68 65 20 64 61 74 61 20 6f 6e 20 74 68 65 20 63 6c 69 70 62 6f 61 72 64 20 | ks.at.the.data.on.the.clipboard. |
1b5d80 | 74 6f 20 73 65 65 20 69 66 20 69 74 20 69 73 20 70 61 73 74 65 2d 61 62 6c 65 2e 20 0a 20 20 20 | to.see.if.it.is.paste-able...... |
1b5da0 | 2a 20 50 61 73 74 65 2d 61 62 6c 65 20 64 61 74 61 20 69 73 3a 0a 20 20 20 2a 20 20 20 2d 20 69 | *.Paste-able.data.is:....*...-.i |
1b5dc0 | 6e 20 61 20 66 6f 72 6d 61 74 20 74 68 61 74 20 74 68 65 20 76 69 65 77 20 63 61 6e 20 72 65 63 | n.a.format.that.the.view.can.rec |
1b5de0 | 65 69 76 65 0a 20 20 20 2a 20 40 72 65 74 75 72 6e 73 20 74 72 75 65 20 69 66 3a 20 2d 20 63 6c | eive....*.@returns.true.if:.-.cl |
1b5e00 | 69 70 62 6f 61 72 64 20 64 61 74 61 20 69 73 20 6f 66 20 61 20 54 59 50 45 5f 58 5f 4d 4f 5a 5f | ipboard.data.is.of.a.TYPE_X_MOZ_ |
1b5e20 | 50 4c 41 43 45 5f 2a 20 66 6c 61 76 6f 72 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | PLACE_*.flavor,................. |
1b5e40 | 20 20 20 20 20 20 20 2d 20 63 6c 69 70 62 6f 61 72 64 20 64 61 74 61 20 69 73 20 6f 66 20 74 79 | .......-.clipboard.data.is.of.ty |
1b5e60 | 70 65 20 54 45 58 54 5f 55 4e 49 43 4f 44 45 20 61 6e 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 | pe.TEXT_UNICODE.and............. |
1b5e80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 69 73 20 61 20 76 61 6c 69 64 20 55 52 49 2e 0a 20 20 20 | .............is.a.valid.URI..... |
1b5ea0 | 2a 2f 0a 20 20 5f 69 73 43 6c 69 70 62 6f 61 72 64 44 61 74 61 50 61 73 74 65 61 62 6c 65 3a 20 | */..._isClipboardDataPasteable:. |
1b5ec0 | 66 75 6e 63 74 69 6f 6e 20 50 43 5f 5f 69 73 43 6c 69 70 62 6f 61 72 64 44 61 74 61 50 61 73 74 | function.PC__isClipboardDataPast |
1b5ee0 | 65 61 62 6c 65 28 29 20 7b 0a 20 20 20 20 2f 2f 20 69 66 20 74 68 65 20 63 6c 69 70 62 6f 61 72 | eable().{.....//.if.the.clipboar |
1b5f00 | 64 20 63 6f 6e 74 61 69 6e 73 20 54 59 50 45 5f 58 5f 4d 4f 5a 5f 50 4c 41 43 45 5f 2a 20 64 61 | d.contains.TYPE_X_MOZ_PLACE_*.da |
1b5f20 | 74 61 2c 20 69 74 20 69 73 20 64 65 66 69 6e 69 74 65 6c 79 0a 20 20 20 20 2f 2f 20 70 61 73 74 | ta,.it.is.definitely.....//.past |
1b5f40 | 65 61 62 6c 65 2c 20 77 69 74 68 20 6e 6f 20 6e 65 65 64 20 74 6f 20 75 6e 77 72 61 70 20 61 6c | eable,.with.no.need.to.unwrap.al |
1b5f60 | 6c 20 74 68 65 20 6e 6f 64 65 73 2e 0a 0a 20 20 20 20 76 61 72 20 66 6c 61 76 6f 72 73 20 3d 20 | l.the.nodes.......var.flavors.=. |
1b5f80 | 50 6c 61 63 65 73 43 6f 6e 74 72 6f 6c 6c 65 72 44 72 61 67 48 65 6c 70 65 72 2e 70 6c 61 63 65 | PlacesControllerDragHelper.place |
1b5fa0 | 73 46 6c 61 76 6f 72 73 3b 0a 20 20 20 20 76 61 72 20 63 6c 69 70 62 6f 61 72 64 20 3d 20 50 6c | sFlavors;.....var.clipboard.=.Pl |
1b5fc0 | 61 63 65 73 55 49 55 74 69 6c 73 2e 63 6c 69 70 62 6f 61 72 64 3b 0a 20 20 20 20 76 61 72 20 68 | acesUIUtils.clipboard;.....var.h |
1b5fe0 | 61 73 50 6c 61 63 65 73 44 61 74 61 20 3d 0a 20 20 20 20 20 20 63 6c 69 70 62 6f 61 72 64 2e 68 | asPlacesData.=.......clipboard.h |
1b6000 | 61 73 44 61 74 61 4d 61 74 63 68 69 6e 67 46 6c 61 76 6f 72 73 28 66 6c 61 76 6f 72 73 2c 20 66 | asDataMatchingFlavors(flavors,.f |
1b6020 | 6c 61 76 6f 72 73 2e 6c 65 6e 67 74 68 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | lavors.length,.................. |
1b6040 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 43 69 2e 6e 73 49 43 6c 69 70 | ......................Ci.nsIClip |
1b6060 | 62 6f 61 72 64 2e 6b 47 6c 6f 62 61 6c 43 6c 69 70 62 6f 61 72 64 29 3b 0a 20 20 20 20 69 66 20 | board.kGlobalClipboard);.....if. |
1b6080 | 28 68 61 73 50 6c 61 63 65 73 44 61 74 61 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 | (hasPlacesData).......return.thi |
1b60a0 | 73 2e 5f 76 69 65 77 2e 69 6e 73 65 72 74 69 6f 6e 50 6f 69 6e 74 20 21 3d 20 6e 75 6c 6c 3b 0a | s._view.insertionPoint.!=.null;. |
1b60c0 | 0a 20 20 20 20 2f 2f 20 69 66 20 74 68 65 20 63 6c 69 70 62 6f 61 72 64 20 64 6f 65 73 6e 27 74 | .....//.if.the.clipboard.doesn't |
1b60e0 | 20 68 61 76 65 20 54 59 50 45 5f 58 5f 4d 4f 5a 5f 50 4c 41 43 45 5f 2a 20 64 61 74 61 2c 20 77 | .have.TYPE_X_MOZ_PLACE_*.data,.w |
1b6100 | 65 20 61 6c 73 6f 20 61 6c 6c 6f 77 0a 20 20 20 20 2f 2f 20 70 61 73 74 69 6e 67 20 6f 66 20 76 | e.also.allow.....//.pasting.of.v |
1b6120 | 61 6c 69 64 20 22 74 65 78 74 2f 75 6e 69 63 6f 64 65 22 20 61 6e 64 20 22 74 65 78 74 2f 78 2d | alid."text/unicode".and."text/x- |
1b6140 | 6d 6f 7a 2d 75 72 6c 22 20 64 61 74 61 0a 20 20 20 20 76 61 72 20 78 66 65 72 61 62 6c 65 20 3d | moz-url".data.....var.xferable.= |
1b6160 | 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 77 69 64 67 65 74 2f 74 72 61 6e 73 66 65 | .Cc["@mozilla.org/widget/transfe |
1b6180 | 72 61 62 6c 65 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 72 | rable;1"].....................cr |
1b61a0 | 65 61 74 65 49 6e 73 74 61 6e 63 65 28 43 69 2e 6e 73 49 54 72 61 6e 73 66 65 72 61 62 6c 65 29 | eateInstance(Ci.nsITransferable) |
1b61c0 | 3b 0a 0a 20 20 20 20 78 66 65 72 61 62 6c 65 2e 61 64 64 44 61 74 61 46 6c 61 76 6f 72 28 50 6c | ;......xferable.addDataFlavor(Pl |
1b61e0 | 61 63 65 73 55 74 69 6c 73 2e 54 59 50 45 5f 58 5f 4d 4f 5a 5f 55 52 4c 29 3b 0a 20 20 20 20 78 | acesUtils.TYPE_X_MOZ_URL);.....x |
1b6200 | 66 65 72 61 62 6c 65 2e 61 64 64 44 61 74 61 46 6c 61 76 6f 72 28 50 6c 61 63 65 73 55 74 69 6c | ferable.addDataFlavor(PlacesUtil |
1b6220 | 73 2e 54 59 50 45 5f 55 4e 49 43 4f 44 45 29 3b 0a 20 20 20 20 63 6c 69 70 62 6f 61 72 64 2e 67 | s.TYPE_UNICODE);.....clipboard.g |
1b6240 | 65 74 44 61 74 61 28 78 66 65 72 61 62 6c 65 2c 20 43 69 2e 6e 73 49 43 6c 69 70 62 6f 61 72 64 | etData(xferable,.Ci.nsIClipboard |
1b6260 | 2e 6b 47 6c 6f 62 61 6c 43 6c 69 70 62 6f 61 72 64 29 3b 0a 0a 20 20 20 20 74 72 79 20 7b 0a 20 | .kGlobalClipboard);......try.{.. |
1b6280 | 20 20 20 20 20 2f 2f 20 67 65 74 41 6e 79 54 72 61 6e 73 66 65 72 44 61 74 61 20 77 69 6c 6c 20 | .....//.getAnyTransferData.will. |
1b62a0 | 74 68 72 6f 77 20 69 66 20 6e 6f 20 64 61 74 61 20 69 73 20 61 76 61 69 6c 61 62 6c 65 2e 0a 20 | throw.if.no.data.is.available... |
1b62c0 | 20 20 20 20 20 76 61 72 20 64 61 74 61 20 3d 20 7b 20 7d 2c 20 74 79 70 65 20 3d 20 7b 20 7d 3b | .....var.data.=.{.},.type.=.{.}; |
1b62e0 | 0a 20 20 20 20 20 20 78 66 65 72 61 62 6c 65 2e 67 65 74 41 6e 79 54 72 61 6e 73 66 65 72 44 61 | .......xferable.getAnyTransferDa |
1b6300 | 74 61 28 74 79 70 65 2c 20 64 61 74 61 2c 20 7b 20 7d 29 3b 0a 20 20 20 20 20 20 64 61 74 61 20 | ta(type,.data,.{.});.......data. |
1b6320 | 3d 20 64 61 74 61 2e 76 61 6c 75 65 2e 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 28 43 69 2e 6e | =.data.value.QueryInterface(Ci.n |
1b6340 | 73 49 53 75 70 70 6f 72 74 73 53 74 72 69 6e 67 29 2e 64 61 74 61 3b 0a 20 20 20 20 20 20 69 66 | sISupportsString).data;.......if |
1b6360 | 20 28 74 79 70 65 2e 76 61 6c 75 65 20 21 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 54 59 50 45 | .(type.value.!=.PlacesUtils.TYPE |
1b6380 | 5f 58 5f 4d 4f 5a 5f 55 52 4c 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 74 79 70 65 2e 76 61 6c | _X_MOZ_URL.&&...........type.val |
1b63a0 | 75 65 20 21 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 54 59 50 45 5f 55 4e 49 43 4f 44 45 29 0a | ue.!=.PlacesUtils.TYPE_UNICODE). |
1b63c0 | 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 0a 0a 20 20 20 20 20 20 2f 2f 20 | ........return.false;........//. |
1b63e0 | 75 6e 77 72 61 70 4e 6f 64 65 73 28 29 20 77 69 6c 6c 20 74 68 72 6f 77 20 69 66 20 74 68 65 20 | unwrapNodes().will.throw.if.the. |
1b6400 | 64 61 74 61 20 62 6c 6f 62 20 69 73 20 6d 61 6c 66 6f 72 6d 65 64 2e 0a 20 20 20 20 20 20 76 61 | data.blob.is.malformed........va |
1b6420 | 72 20 75 6e 77 72 61 70 70 65 64 4e 6f 64 65 73 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 75 | r.unwrappedNodes.=.PlacesUtils.u |
1b6440 | 6e 77 72 61 70 4e 6f 64 65 73 28 64 61 74 61 2c 20 74 79 70 65 2e 76 61 6c 75 65 29 3b 0a 20 20 | nwrapNodes(data,.type.value);... |
1b6460 | 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 76 69 65 77 2e 69 6e 73 65 72 74 69 6f 6e 50 | ....return.this._view.insertionP |
1b6480 | 6f 69 6e 74 20 21 3d 20 6e 75 6c 6c 3b 0a 20 20 20 20 7d 0a 20 20 20 20 63 61 74 63 68 20 28 65 | oint.!=.null;.....}.....catch.(e |
1b64a0 | 29 20 7b 0a 20 20 20 20 20 20 2f 2f 20 67 65 74 41 6e 79 54 72 61 6e 73 66 65 72 44 61 74 61 20 | ).{.......//.getAnyTransferData. |
1b64c0 | 6f 72 20 75 6e 77 72 61 70 4e 6f 64 65 73 20 66 61 69 6c 65 64 0a 20 20 20 20 20 20 72 65 74 75 | or.unwrapNodes.failed.......retu |
1b64e0 | 72 6e 20 66 61 6c 73 65 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 20 0a 20 20 20 | rn.false;.....}...},..../**..... |
1b6500 | 2a 20 47 61 74 68 65 72 73 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 20 61 62 6f 75 74 20 74 68 65 20 | *.Gathers.information.about.the. |
1b6520 | 73 65 6c 65 63 74 65 64 20 6e 6f 64 65 73 20 61 63 63 6f 72 64 69 6e 67 20 74 6f 20 74 68 65 20 | selected.nodes.according.to.the. |
1b6540 | 66 6f 6c 6c 6f 77 69 6e 67 0a 20 20 20 2a 20 72 75 6c 65 73 3a 0a 20 20 20 2a 20 20 20 20 22 6c | following....*.rules:....*...."l |
1b6560 | 69 6e 6b 22 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 6f 64 65 20 69 73 20 61 20 55 52 49 0a | ink"..............node.is.a.URI. |
1b6580 | 20 20 20 2a 20 20 20 20 22 62 6f 6f 6b 6d 61 72 6b 22 20 20 20 20 20 20 20 20 20 20 6e 6f 64 65 | ...*...."bookmark"..........node |
1b65a0 | 20 69 73 20 61 20 62 6f 6f 6b 61 6d 72 6b 0a 20 20 20 2a 20 20 20 20 22 6c 69 76 65 6d 61 72 6b | .is.a.bookamrk....*...."livemark |
1b65c0 | 43 68 69 6c 64 22 20 20 20 20 20 6e 6f 64 65 20 69 73 20 61 20 63 68 69 6c 64 20 6f 66 20 61 20 | Child".....node.is.a.child.of.a. |
1b65e0 | 6c 69 76 65 6d 61 72 6b 0a 20 20 20 2a 20 20 20 20 22 74 61 67 43 68 69 6c 64 22 20 20 20 20 20 | livemark....*...."tagChild"..... |
1b6600 | 20 20 20 20 20 6e 6f 64 65 20 69 73 20 61 20 63 68 69 6c 64 20 6f 66 20 61 20 74 61 67 0a 20 20 | .....node.is.a.child.of.a.tag... |
1b6620 | 20 2a 20 20 20 20 22 66 6f 6c 64 65 72 22 20 20 20 20 20 20 20 20 20 20 20 20 6e 6f 64 65 20 69 | .*...."folder"............node.i |
1b6640 | 73 20 61 20 66 6f 6c 64 65 72 0a 20 20 20 2a 20 20 20 20 22 71 75 65 72 79 22 20 20 20 20 20 20 | s.a.folder....*...."query"...... |
1b6660 | 20 20 20 20 20 20 20 6e 6f 64 65 20 69 73 20 61 20 71 75 65 72 79 0a 20 20 20 2a 20 20 20 20 22 | .......node.is.a.query....*...." |
1b6680 | 64 79 6e 61 6d 69 63 63 6f 6e 74 61 69 6e 65 72 22 20 20 6e 6f 64 65 20 69 73 20 61 20 64 79 6e | dynamiccontainer"..node.is.a.dyn |
1b66a0 | 61 6d 69 63 20 63 6f 6e 74 61 69 6e 65 72 0a 20 20 20 2a 20 20 20 20 22 73 65 70 61 72 61 74 6f | amic.container....*...."separato |
1b66c0 | 72 22 20 20 20 20 20 20 20 20 20 6e 6f 64 65 20 69 73 20 61 20 73 65 70 61 72 61 74 6f 72 20 6c | r".........node.is.a.separator.l |
1b66e0 | 69 6e 65 0a 20 20 20 2a 20 20 20 20 22 68 6f 73 74 22 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ine....*...."host".............. |
1b6700 | 6e 6f 64 65 20 69 73 20 61 20 68 6f 73 74 0a 20 20 20 2a 0a 20 20 20 2a 20 40 72 65 74 75 72 6e | node.is.a.host....*....*.@return |
1b6720 | 73 20 61 6e 20 61 72 72 61 79 20 6f 66 20 6f 62 6a 65 63 74 73 20 63 6f 72 72 65 73 70 6f 6e 64 | s.an.array.of.objects.correspond |
1b6740 | 69 6e 67 20 74 68 65 20 73 65 6c 65 63 74 65 64 20 6e 6f 64 65 73 2e 20 45 61 63 68 0a 20 20 20 | ing.the.selected.nodes..Each.... |
1b6760 | 2a 20 20 20 20 20 20 20 20 20 20 6f 62 6a 65 63 74 20 68 61 73 20 65 61 63 68 20 6f 66 20 74 68 | *..........object.has.each.of.th |
1b6780 | 65 20 70 72 6f 70 65 72 74 69 65 73 20 61 62 6f 76 65 20 73 65 74 20 69 66 20 69 74 73 20 63 6f | e.properties.above.set.if.its.co |
1b67a0 | 72 72 65 73 70 6f 6e 64 69 6e 67 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 6e 6f 64 65 20 6d | rresponding....*..........node.m |
1b67c0 | 61 74 63 68 65 73 20 74 68 65 20 72 75 6c 65 2e 20 49 6e 20 61 64 64 69 74 69 6f 6e 2c 20 74 68 | atches.the.rule..In.addition,.th |
1b67e0 | 65 20 61 6e 6e 6f 74 61 74 69 6f 6e 73 20 6e 61 6d 65 73 20 66 6f 72 20 65 61 63 68 20 0a 20 20 | e.annotations.names.for.each.... |
1b6800 | 20 2a 20 20 20 20 20 20 20 20 20 20 6e 6f 64 65 20 61 72 65 20 73 65 74 20 6f 6e 20 69 74 73 20 | .*..........node.are.set.on.its. |
1b6820 | 63 6f 72 72 65 73 70 6f 6e 64 69 6e 67 20 6f 62 6a 65 63 74 20 61 73 20 70 72 6f 70 65 72 74 69 | corresponding.object.as.properti |
1b6840 | 65 73 2e 0a 20 20 20 2a 20 4e 6f 74 65 73 3a 0a 20 20 20 2a 20 20 20 31 29 20 54 68 69 73 20 63 | es.....*.Notes:....*...1).This.c |
1b6860 | 61 6e 20 62 65 20 73 6c 6f 77 2c 20 73 6f 20 64 6f 6e 27 74 20 63 61 6c 6c 20 69 74 20 61 6e 79 | an.be.slow,.so.don't.call.it.any |
1b6880 | 77 68 65 72 65 20 70 65 72 66 6f 72 6d 61 6e 63 65 20 63 72 69 74 69 63 61 6c 21 0a 20 20 20 2a | where.performance.critical!....* |
1b68a0 | 20 20 20 32 29 20 41 20 73 69 6e 67 6c 65 2d 6f 62 6a 65 63 74 20 61 72 72 61 79 20 63 6f 72 72 | ...2).A.single-object.array.corr |
1b68c0 | 65 73 70 6f 6e 64 69 6e 67 20 74 68 65 20 72 6f 6f 74 20 6e 6f 64 65 20 69 73 20 72 65 74 75 72 | esponding.the.root.node.is.retur |
1b68e0 | 6e 65 64 20 69 66 0a 20 20 20 2a 20 20 20 20 20 20 74 68 65 72 65 27 73 20 6e 6f 20 73 65 6c 65 | ned.if....*......there's.no.sele |
1b6900 | 63 74 69 6f 6e 2e 0a 20 20 20 2a 2f 0a 20 20 5f 62 75 69 6c 64 53 65 6c 65 63 74 69 6f 6e 4d 65 | ction.....*/..._buildSelectionMe |
1b6920 | 74 61 64 61 74 61 3a 20 66 75 6e 63 74 69 6f 6e 20 50 43 5f 5f 62 75 69 6c 64 53 65 6c 65 63 74 | tadata:.function.PC__buildSelect |
1b6940 | 69 6f 6e 4d 65 74 61 64 61 74 61 28 29 20 7b 0a 20 20 20 20 76 61 72 20 6d 65 74 61 64 61 74 61 | ionMetadata().{.....var.metadata |
1b6960 | 20 3d 20 5b 5d 3b 0a 20 20 20 20 76 61 72 20 72 6f 6f 74 20 3d 20 74 68 69 73 2e 5f 76 69 65 77 | .=.[];.....var.root.=.this._view |
1b6980 | 2e 67 65 74 52 65 73 75 6c 74 28 29 2e 72 6f 6f 74 3b 0a 20 20 20 20 76 61 72 20 6e 6f 64 65 73 | .getResult().root;.....var.nodes |
1b69a0 | 20 3d 20 74 68 69 73 2e 5f 76 69 65 77 2e 67 65 74 53 65 6c 65 63 74 69 6f 6e 4e 6f 64 65 73 28 | .=.this._view.getSelectionNodes( |
1b69c0 | 29 3b 0a 20 20 20 20 69 66 20 28 6e 6f 64 65 73 2e 6c 65 6e 67 74 68 20 3d 3d 20 30 29 0a 20 20 | );.....if.(nodes.length.==.0)... |
1b69e0 | 20 20 20 20 6e 6f 64 65 73 2e 70 75 73 68 28 72 6f 6f 74 29 3b 20 2f 2f 20 53 65 65 20 74 68 65 | ....nodes.push(root);.//.See.the |
1b6a00 | 20 73 65 63 6f 6e 64 20 6e 6f 74 65 20 61 62 6f 76 65 0a 0a 20 20 20 20 66 6f 72 20 28 76 61 72 | .second.note.above......for.(var |
1b6a20 | 20 69 3d 30 3b 20 69 20 3c 20 6e 6f 64 65 73 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 20 7b 0a 20 | .i=0;.i.<.nodes.length;.i++).{.. |
1b6a40 | 20 20 20 20 20 76 61 72 20 6e 6f 64 65 44 61 74 61 20 3d 20 7b 7d 3b 0a 20 20 20 20 20 20 76 61 | .....var.nodeData.=.{};.......va |
1b6a60 | 72 20 6e 6f 64 65 20 3d 20 6e 6f 64 65 73 5b 69 5d 3b 0a 20 20 20 20 20 20 76 61 72 20 6e 6f 64 | r.node.=.nodes[i];.......var.nod |
1b6a80 | 65 54 79 70 65 20 3d 20 6e 6f 64 65 2e 74 79 70 65 3b 0a 20 20 20 20 20 20 76 61 72 20 75 72 69 | eType.=.node.type;.......var.uri |
1b6aa0 | 20 3d 20 6e 75 6c 6c 3b 0a 0a 20 20 20 20 20 20 2f 2f 20 57 65 20 64 6f 6e 27 74 20 75 73 65 20 | .=.null;........//.We.don't.use. |
1b6ac0 | 74 68 65 20 6e 6f 64 65 49 73 2a 20 6d 65 74 68 6f 64 73 20 68 65 72 65 20 74 6f 20 61 76 6f 69 | the.nodeIs*.methods.here.to.avoi |
1b6ae0 | 64 20 67 6f 69 6e 67 20 74 68 72 6f 75 67 68 20 74 68 65 20 74 79 70 65 0a 20 20 20 20 20 20 2f | d.going.through.the.type......./ |
1b6b00 | 2f 20 70 72 6f 70 65 72 74 79 20 77 61 79 20 74 6f 6f 20 6f 66 74 65 6e 0a 20 20 20 20 20 20 73 | /.property.way.too.often.......s |
1b6b20 | 77 69 74 63 68 28 6e 6f 64 65 54 79 70 65 29 20 7b 0a 20 20 20 20 20 20 20 20 63 61 73 65 20 43 | witch(nodeType).{.........case.C |
1b6b40 | 69 2e 6e 73 49 4e 61 76 48 69 73 74 6f 72 79 52 65 73 75 6c 74 4e 6f 64 65 2e 52 45 53 55 4c 54 | i.nsINavHistoryResultNode.RESULT |
1b6b60 | 5f 54 59 50 45 5f 51 55 45 52 59 3a 0a 20 20 20 20 20 20 20 20 20 20 6e 6f 64 65 44 61 74 61 5b | _TYPE_QUERY:...........nodeData[ |
1b6b80 | 22 71 75 65 72 79 22 5d 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 6e | "query"].=.true;...........if.(n |
1b6ba0 | 6f 64 65 2e 70 61 72 65 6e 74 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 73 77 69 74 63 68 | ode.parent).{.............switch |
1b6bc0 | 20 28 61 73 51 75 65 72 79 28 6e 6f 64 65 2e 70 61 72 65 6e 74 29 2e 71 75 65 72 79 4f 70 74 69 | .(asQuery(node.parent).queryOpti |
1b6be0 | 6f 6e 73 2e 72 65 73 75 6c 74 54 79 70 65 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ons.resultType).{............... |
1b6c00 | 63 61 73 65 20 43 69 2e 6e 73 49 4e 61 76 48 69 73 74 6f 72 79 51 75 65 72 79 4f 70 74 69 6f 6e | case.Ci.nsINavHistoryQueryOption |
1b6c20 | 73 2e 52 45 53 55 4c 54 53 5f 41 53 5f 53 49 54 45 5f 51 55 45 52 59 3a 0a 20 20 20 20 20 20 20 | s.RESULTS_AS_SITE_QUERY:........ |
1b6c40 | 20 20 20 20 20 20 20 20 20 6e 6f 64 65 44 61 74 61 5b 22 68 6f 73 74 22 5d 20 3d 20 74 72 75 65 | .........nodeData["host"].=.true |
1b6c60 | 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 20 | ;.................break;........ |
1b6c80 | 20 20 20 20 20 20 20 63 61 73 65 20 43 69 2e 6e 73 49 4e 61 76 48 69 73 74 6f 72 79 51 75 65 72 | .......case.Ci.nsINavHistoryQuer |
1b6ca0 | 79 4f 70 74 69 6f 6e 73 2e 52 45 53 55 4c 54 53 5f 41 53 5f 44 41 54 45 5f 53 49 54 45 5f 51 55 | yOptions.RESULTS_AS_DATE_SITE_QU |
1b6cc0 | 45 52 59 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 43 69 2e 6e 73 49 4e 61 | ERY:...............case.Ci.nsINa |
1b6ce0 | 76 48 69 73 74 6f 72 79 51 75 65 72 79 4f 70 74 69 6f 6e 73 2e 52 45 53 55 4c 54 53 5f 41 53 5f | vHistoryQueryOptions.RESULTS_AS_ |
1b6d00 | 44 41 54 45 5f 51 55 45 52 59 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 6f 64 65 | DATE_QUERY:.................node |
1b6d20 | 44 61 74 61 5b 22 64 61 79 22 5d 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 | Data["day"].=.true;............. |
1b6d40 | 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 | ....break;.............}........ |
1b6d60 | 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 20 20 63 61 | ...}...........break;.........ca |
1b6d80 | 73 65 20 43 69 2e 6e 73 49 4e 61 76 48 69 73 74 6f 72 79 52 65 73 75 6c 74 4e 6f 64 65 2e 52 45 | se.Ci.nsINavHistoryResultNode.RE |
1b6da0 | 53 55 4c 54 5f 54 59 50 45 5f 44 59 4e 41 4d 49 43 5f 43 4f 4e 54 41 49 4e 45 52 3a 0a 20 20 20 | SULT_TYPE_DYNAMIC_CONTAINER:.... |
1b6dc0 | 20 20 20 20 20 20 20 6e 6f 64 65 44 61 74 61 5b 22 64 79 6e 61 6d 69 63 63 6f 6e 74 61 69 6e 65 | .......nodeData["dynamiccontaine |
1b6de0 | 72 22 5d 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 | r"].=.true;...........break;.... |
1b6e00 | 20 20 20 20 20 63 61 73 65 20 43 69 2e 6e 73 49 4e 61 76 48 69 73 74 6f 72 79 52 65 73 75 6c 74 | .....case.Ci.nsINavHistoryResult |
1b6e20 | 4e 6f 64 65 2e 52 45 53 55 4c 54 5f 54 59 50 45 5f 46 4f 4c 44 45 52 3a 0a 20 20 20 20 20 20 20 | Node.RESULT_TYPE_FOLDER:........ |
1b6e40 | 20 63 61 73 65 20 43 69 2e 6e 73 49 4e 61 76 48 69 73 74 6f 72 79 52 65 73 75 6c 74 4e 6f 64 65 | .case.Ci.nsINavHistoryResultNode |
1b6e60 | 2e 52 45 53 55 4c 54 5f 54 59 50 45 5f 46 4f 4c 44 45 52 5f 53 48 4f 52 54 43 55 54 3a 0a 20 20 | .RESULT_TYPE_FOLDER_SHORTCUT:... |
1b6e80 | 20 20 20 20 20 20 20 20 6e 6f 64 65 44 61 74 61 5b 22 66 6f 6c 64 65 72 22 5d 20 3d 20 74 72 75 | ........nodeData["folder"].=.tru |
1b6ea0 | 65 3b 0a 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 20 20 63 61 73 65 | e;...........break;.........case |
1b6ec0 | 20 43 69 2e 6e 73 49 4e 61 76 48 69 73 74 6f 72 79 52 65 73 75 6c 74 4e 6f 64 65 2e 52 45 53 55 | .Ci.nsINavHistoryResultNode.RESU |
1b6ee0 | 4c 54 5f 54 59 50 45 5f 53 45 50 41 52 41 54 4f 52 3a 0a 20 20 20 20 20 20 20 20 20 20 6e 6f 64 | LT_TYPE_SEPARATOR:...........nod |
1b6f00 | 65 44 61 74 61 5b 22 73 65 70 61 72 61 74 6f 72 22 5d 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 | eData["separator"].=.true;...... |
1b6f20 | 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 20 20 63 61 73 65 20 43 69 2e 6e 73 49 4e | .....break;.........case.Ci.nsIN |
1b6f40 | 61 76 48 69 73 74 6f 72 79 52 65 73 75 6c 74 4e 6f 64 65 2e 52 45 53 55 4c 54 5f 54 59 50 45 5f | avHistoryResultNode.RESULT_TYPE_ |
1b6f60 | 55 52 49 3a 0a 20 20 20 20 20 20 20 20 63 61 73 65 20 43 69 2e 6e 73 49 4e 61 76 48 69 73 74 6f | URI:.........case.Ci.nsINavHisto |
1b6f80 | 72 79 52 65 73 75 6c 74 4e 6f 64 65 2e 52 45 53 55 4c 54 5f 54 59 50 45 5f 56 49 53 49 54 3a 0a | ryResultNode.RESULT_TYPE_VISIT:. |
1b6fa0 | 20 20 20 20 20 20 20 20 63 61 73 65 20 43 69 2e 6e 73 49 4e 61 76 48 69 73 74 6f 72 79 52 65 73 | ........case.Ci.nsINavHistoryRes |
1b6fc0 | 75 6c 74 4e 6f 64 65 2e 52 45 53 55 4c 54 5f 54 59 50 45 5f 46 55 4c 4c 5f 56 49 53 49 54 3a 0a | ultNode.RESULT_TYPE_FULL_VISIT:. |
1b6fe0 | 20 20 20 20 20 20 20 20 20 20 6e 6f 64 65 44 61 74 61 5b 22 6c 69 6e 6b 22 5d 20 3d 20 74 72 75 | ..........nodeData["link"].=.tru |
1b7000 | 65 3b 0a 20 20 20 20 20 20 20 20 20 20 75 72 69 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 5f | e;...........uri.=.PlacesUtils._ |
1b7020 | 75 72 69 28 6e 6f 64 65 2e 75 72 69 29 3b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 50 6c 61 | uri(node.uri);...........if.(Pla |
1b7040 | 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 42 6f 6f 6b 6d 61 72 6b 28 6e 6f 64 65 29 29 20 7b | cesUtils.nodeIsBookmark(node)).{ |
1b7060 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 6e 6f 64 65 44 61 74 61 5b 22 62 6f 6f 6b 6d 61 72 6b 22 | .............nodeData["bookmark" |
1b7080 | 5d 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 55 74 69 6c | ].=.true;.............PlacesUtil |
1b70a0 | 73 2e 6e 6f 64 65 49 73 54 61 67 51 75 65 72 79 28 6e 6f 64 65 2e 70 61 72 65 6e 74 29 0a 20 20 | s.nodeIsTagQuery(node.parent)... |
1b70c0 | 20 20 20 20 20 20 20 20 20 20 76 61 72 20 6d 73 73 20 3d 20 50 6c 61 63 65 73 55 49 55 74 69 6c | ..........var.mss.=.PlacesUIUtil |
1b70e0 | 73 2e 6d 69 63 72 6f 73 75 6d 6d 61 72 69 65 73 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 | s.microsummaries;.............if |
1b7100 | 20 28 6d 73 73 2e 68 61 73 4d 69 63 72 6f 73 75 6d 6d 61 72 79 28 6e 6f 64 65 2e 69 74 65 6d 49 | .(mss.hasMicrosummary(node.itemI |
1b7120 | 64 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 6f 64 65 44 61 74 61 5b 22 6d 69 63 72 | d))...............nodeData["micr |
1b7140 | 6f 73 75 6d 6d 61 72 79 22 5d 20 3d 20 74 72 75 65 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 | osummary"].=.true;.............. |
1b7160 | 76 61 72 20 70 61 72 65 6e 74 4e 6f 64 65 20 3d 20 6e 6f 64 65 2e 70 61 72 65 6e 74 3b 0a 20 20 | var.parentNode.=.node.parent;... |
1b7180 | 20 20 20 20 20 20 20 20 20 20 69 66 20 28 70 61 72 65 6e 74 4e 6f 64 65 29 20 7b 0a 20 20 20 20 | ..........if.(parentNode).{..... |
1b71a0 | 20 20 20 20 20 20 20 20 20 20 69 66 20 28 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 | ..........if.(PlacesUtils.nodeIs |
1b71c0 | 54 61 67 51 75 65 72 79 28 70 61 72 65 6e 74 4e 6f 64 65 29 29 0a 20 20 20 20 20 20 20 20 20 20 | TagQuery(parentNode))........... |
1b71e0 | 20 20 20 20 20 20 6e 6f 64 65 44 61 74 61 5b 22 74 61 67 43 68 69 6c 64 22 5d 20 3d 20 74 72 75 | ......nodeData["tagChild"].=.tru |
1b7200 | 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 20 69 66 20 28 50 6c 61 63 65 73 | e;...............else.if.(Places |
1b7220 | 55 74 69 6c 73 2e 6e 6f 64 65 49 73 4c 69 76 65 6d 61 72 6b 43 6f 6e 74 61 69 6e 65 72 28 70 61 | Utils.nodeIsLivemarkContainer(pa |
1b7240 | 72 65 6e 74 4e 6f 64 65 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 6f 64 65 44 | rentNode)).................nodeD |
1b7260 | 61 74 61 5b 22 6c 69 76 65 6d 61 72 6b 43 68 69 6c 64 22 5d 20 3d 20 74 72 75 65 3b 0a 20 20 20 | ata["livemarkChild"].=.true;.... |
1b7280 | 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 | .........}...........}.......... |
1b72a0 | 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 2f 2f 20 61 6e 6e 6f 74 61 | .break;.......}........//.annota |
1b72c0 | 74 69 6f 6e 73 0a 20 20 20 20 20 20 69 66 20 28 75 72 69 29 20 7b 0a 20 20 20 20 20 20 20 20 76 | tions.......if.(uri).{.........v |
1b72e0 | 61 72 20 6e 61 6d 65 73 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 61 6e 6e 6f 74 61 74 69 6f | ar.names.=.PlacesUtils.annotatio |
1b7300 | 6e 73 2e 67 65 74 50 61 67 65 41 6e 6e 6f 74 61 74 69 6f 6e 4e 61 6d 65 73 28 75 72 69 2c 20 7b | ns.getPageAnnotationNames(uri,.{ |
1b7320 | 7d 29 3b 0a 20 20 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 6a 20 3d 20 30 3b 20 6a 20 3c 20 | });.........for.(var.j.=.0;.j.<. |
1b7340 | 6e 61 6d 65 73 2e 6c 65 6e 67 74 68 3b 20 2b 2b 6a 29 0a 20 20 20 20 20 20 20 20 20 20 6e 6f 64 | names.length;.++j)...........nod |
1b7360 | 65 44 61 74 61 5b 6e 61 6d 65 73 5b 6a 5d 5d 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 7d 0a | eData[names[j]].=.true;.......}. |
1b7380 | 0a 20 20 20 20 20 20 2f 2f 20 46 6f 72 20 69 74 65 6d 73 20 61 6c 73 6f 20 69 6e 63 6c 75 64 65 | .......//.For.items.also.include |
1b73a0 | 20 74 68 65 20 69 74 65 6d 2d 73 70 65 63 69 66 69 63 20 61 6e 6e 6f 74 61 74 69 6f 6e 73 0a 20 | .the.item-specific.annotations.. |
1b73c0 | 20 20 20 20 20 69 66 20 28 6e 6f 64 65 2e 69 74 65 6d 49 64 20 21 3d 20 2d 31 29 20 7b 0a 20 20 | .....if.(node.itemId.!=.-1).{... |
1b73e0 | 20 20 20 20 20 20 6e 61 6d 65 73 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 61 6e 6e 6f 74 61 | ......names.=.PlacesUtils.annota |
1b7400 | 74 69 6f 6e 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | tions........................... |
1b7420 | 20 2e 67 65 74 49 74 65 6d 41 6e 6e 6f 74 61 74 69 6f 6e 4e 61 6d 65 73 28 6e 6f 64 65 2e 69 74 | ..getItemAnnotationNames(node.it |
1b7440 | 65 6d 49 64 2c 20 7b 7d 29 3b 0a 20 20 20 20 20 20 20 20 66 6f 72 20 28 6a 20 3d 20 30 3b 20 6a | emId,.{});.........for.(j.=.0;.j |
1b7460 | 20 3c 20 6e 61 6d 65 73 2e 6c 65 6e 67 74 68 3b 20 2b 2b 6a 29 0a 20 20 20 20 20 20 20 20 20 20 | .<.names.length;.++j)........... |
1b7480 | 6e 6f 64 65 44 61 74 61 5b 6e 61 6d 65 73 5b 6a 5d 5d 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 | nodeData[names[j]].=.true;...... |
1b74a0 | 20 7d 0a 20 20 20 20 20 20 6d 65 74 61 64 61 74 61 2e 70 75 73 68 28 6e 6f 64 65 44 61 74 61 29 | .}.......metadata.push(nodeData) |
1b74c0 | 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 72 65 74 75 72 6e 20 6d 65 74 61 64 61 74 61 3b 0a 20 20 | ;.....}......return.metadata;... |
1b74e0 | 7d 2c 0a 0a 20 20 2f 2a 2a 20 0a 20 20 20 2a 20 44 65 74 65 72 6d 69 6e 65 73 20 69 66 20 61 20 | },..../**.....*.Determines.if.a. |
1b7500 | 63 6f 6e 74 65 78 74 2d 6d 65 6e 75 20 69 74 65 6d 20 73 68 6f 75 6c 64 20 62 65 20 73 68 6f 77 | context-menu.item.should.be.show |
1b7520 | 6e 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 20 20 61 4d 65 6e 75 49 74 65 6d 0a 20 20 20 2a 20 20 | n....*.@param...aMenuItem....*.. |
1b7540 | 20 20 20 20 20 20 20 20 74 68 65 20 63 6f 6e 74 65 78 74 20 6d 65 6e 75 20 69 74 65 6d 20 0a 20 | ........the.context.menu.item... |
1b7560 | 20 20 2a 20 40 70 61 72 61 6d 20 20 20 61 4d 65 74 61 44 61 74 61 0a 20 20 20 2a 20 20 20 20 20 | ..*.@param...aMetaData....*..... |
1b7580 | 20 20 20 20 20 6d 65 74 61 20 64 61 74 61 20 61 62 6f 75 74 20 74 68 65 20 73 65 6c 65 63 74 69 | .....meta.data.about.the.selecti |
1b75a0 | 6f 6e 0a 20 20 20 2a 20 40 72 65 74 75 72 6e 73 20 74 72 75 65 20 69 66 20 74 68 65 20 63 6f 6e | on....*.@returns.true.if.the.con |
1b75c0 | 64 69 74 69 6f 6e 73 20 28 73 65 65 20 62 75 69 6c 64 43 6f 6e 74 65 78 74 4d 65 6e 75 29 20 61 | ditions.(see.buildContextMenu).a |
1b75e0 | 72 65 20 73 61 74 69 73 66 69 65 64 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 61 6e 64 20 74 | re.satisfied....*..........and.t |
1b7600 | 68 65 20 69 74 65 6d 20 63 61 6e 20 62 65 20 64 69 73 70 6c 61 79 65 64 2c 20 66 61 6c 73 65 20 | he.item.can.be.displayed,.false. |
1b7620 | 6f 74 68 65 72 77 69 73 65 2e 20 0a 20 20 20 2a 2f 0a 20 20 5f 73 68 6f 75 6c 64 53 68 6f 77 4d | otherwise......*/..._shouldShowM |
1b7640 | 65 6e 75 49 74 65 6d 3a 20 66 75 6e 63 74 69 6f 6e 20 50 43 5f 5f 73 68 6f 75 6c 64 53 68 6f 77 | enuItem:.function.PC__shouldShow |
1b7660 | 4d 65 6e 75 49 74 65 6d 28 61 4d 65 6e 75 49 74 65 6d 2c 20 61 4d 65 74 61 44 61 74 61 29 20 7b | MenuItem(aMenuItem,.aMetaData).{ |
1b7680 | 0a 20 20 20 20 76 61 72 20 73 65 6c 65 63 74 69 6f 6e 74 79 70 65 20 3d 20 61 4d 65 6e 75 49 74 | .....var.selectiontype.=.aMenuIt |
1b76a0 | 65 6d 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 73 65 6c 65 63 74 69 6f 6e 74 79 70 65 22 29 | em.getAttribute("selectiontype") |
1b76c0 | 3b 0a 20 20 20 20 69 66 20 28 73 65 6c 65 63 74 69 6f 6e 74 79 70 65 20 3d 3d 20 22 6d 75 6c 74 | ;.....if.(selectiontype.==."mult |
1b76e0 | 69 70 6c 65 22 20 26 26 20 61 4d 65 74 61 44 61 74 61 2e 6c 65 6e 67 74 68 20 3d 3d 20 31 29 0a | iple".&&.aMetaData.length.==.1). |
1b7700 | 20 20 20 20 20 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 0a 20 20 20 20 69 66 20 28 73 65 6c 65 | ......return.false;.....if.(sele |
1b7720 | 63 74 69 6f 6e 74 79 70 65 20 3d 3d 20 22 73 69 6e 67 6c 65 22 20 26 26 20 61 4d 65 74 61 44 61 | ctiontype.==."single".&&.aMetaDa |
1b7740 | 74 61 2e 6c 65 6e 67 74 68 20 21 3d 20 31 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 66 61 6c | ta.length.!=.1).......return.fal |
1b7760 | 73 65 3b 0a 0a 20 20 20 20 76 61 72 20 66 6f 72 63 65 48 69 64 65 52 75 6c 65 73 20 3d 20 61 4d | se;......var.forceHideRules.=.aM |
1b7780 | 65 6e 75 49 74 65 6d 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 66 6f 72 63 65 68 69 64 65 73 | enuItem.getAttribute("forcehides |
1b77a0 | 65 6c 65 63 74 69 6f 6e 22 29 2e 73 70 6c 69 74 28 22 7c 22 29 3b 0a 20 20 20 20 66 6f 72 20 28 | election").split("|");.....for.( |
1b77c0 | 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 61 4d 65 74 61 44 61 74 61 2e 6c 65 6e 67 74 68 3b | var.i.=.0;.i.<.aMetaData.length; |
1b77e0 | 20 2b 2b 69 29 20 7b 0a 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 6a 3d 30 3b 20 6a 20 3c 20 | .++i).{.......for.(var.j=0;.j.<. |
1b7800 | 66 6f 72 63 65 48 69 64 65 52 75 6c 65 73 2e 6c 65 6e 67 74 68 3b 20 2b 2b 6a 29 20 7b 0a 20 20 | forceHideRules.length;.++j).{... |
1b7820 | 20 20 20 20 20 20 69 66 20 28 66 6f 72 63 65 48 69 64 65 52 75 6c 65 73 5b 6a 5d 20 69 6e 20 61 | ......if.(forceHideRules[j].in.a |
1b7840 | 4d 65 74 61 44 61 74 61 5b 69 5d 29 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 66 61 | MetaData[i])...........return.fa |
1b7860 | 6c 73 65 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 0a 20 20 20 20 76 61 72 20 73 65 6c 65 | lse;.......}.....}......var.sele |
1b7880 | 63 74 69 6f 6e 41 74 74 72 20 3d 20 61 4d 65 6e 75 49 74 65 6d 2e 67 65 74 41 74 74 72 69 62 75 | ctionAttr.=.aMenuItem.getAttribu |
1b78a0 | 74 65 28 22 73 65 6c 65 63 74 69 6f 6e 22 29 3b 0a 20 20 20 20 69 66 20 28 73 65 6c 65 63 74 69 | te("selection");.....if.(selecti |
1b78c0 | 6f 6e 41 74 74 72 29 20 7b 0a 20 20 20 20 20 20 69 66 20 28 73 65 6c 65 63 74 69 6f 6e 41 74 74 | onAttr).{.......if.(selectionAtt |
1b78e0 | 72 20 3d 3d 20 22 61 6e 79 22 29 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 72 75 65 3b | r.==."any").........return.true; |
1b7900 | 0a 0a 20 20 20 20 20 20 76 61 72 20 73 68 6f 77 52 75 6c 65 73 20 3d 20 73 65 6c 65 63 74 69 6f | ........var.showRules.=.selectio |
1b7920 | 6e 41 74 74 72 2e 73 70 6c 69 74 28 22 7c 22 29 3b 0a 20 20 20 20 20 20 76 61 72 20 61 6e 79 4d | nAttr.split("|");.......var.anyM |
1b7940 | 61 74 63 68 65 64 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 20 66 75 6e 63 74 69 6f 6e 20 6d | atched.=.false;.......function.m |
1b7960 | 65 74 61 44 61 74 61 4e 6f 64 65 4d 61 74 63 68 65 73 28 6d 65 74 61 44 61 74 61 4e 6f 64 65 2c | etaDataNodeMatches(metaDataNode, |
1b7980 | 20 72 75 6c 65 73 29 20 7b 0a 20 20 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 3d 30 3b 20 | .rules).{.........for.(var.i=0;. |
1b79a0 | 69 20 3c 20 72 75 6c 65 73 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 20 7b 0a 20 20 20 20 20 20 20 | i.<.rules.length;.i++).{........ |
1b79c0 | 20 20 20 69 66 20 28 72 75 6c 65 73 5b 69 5d 20 69 6e 20 6d 65 74 61 44 61 74 61 4e 6f 64 65 29 | ...if.(rules[i].in.metaDataNode) |
1b79e0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 72 75 65 3b 0a 20 20 20 20 20 20 | .............return.true;....... |
1b7a00 | 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 | ..}..........return.false;...... |
1b7a20 | 20 7d 0a 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 61 4d 65 | .}.......for.(var.i.=.0;.i.<.aMe |
1b7a40 | 74 61 44 61 74 61 2e 6c 65 6e 67 74 68 3b 20 2b 2b 69 29 20 7b 0a 20 20 20 20 20 20 20 20 69 66 | taData.length;.++i).{.........if |
1b7a60 | 20 28 6d 65 74 61 44 61 74 61 4e 6f 64 65 4d 61 74 63 68 65 73 28 61 4d 65 74 61 44 61 74 61 5b | .(metaDataNodeMatches(aMetaData[ |
1b7a80 | 69 5d 2c 20 73 68 6f 77 52 75 6c 65 73 29 29 0a 20 20 20 20 20 20 20 20 20 20 61 6e 79 4d 61 74 | i],.showRules))...........anyMat |
1b7aa0 | 63 68 65 64 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 | ched.=.true;.........else....... |
1b7ac0 | 20 20 20 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 | ....return.false;.......}....... |
1b7ae0 | 72 65 74 75 72 6e 20 61 6e 79 4d 61 74 63 68 65 64 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 72 65 | return.anyMatched;.....}......re |
1b7b00 | 74 75 72 6e 20 21 61 4d 65 6e 75 49 74 65 6d 2e 68 69 64 64 65 6e 3b 0a 20 20 7d 2c 0a 0a 20 20 | turn.!aMenuItem.hidden;...},.... |
1b7b20 | 2f 2a 2a 0a 20 20 20 2a 20 44 65 74 65 63 74 73 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 20 28 6d 65 | /**....*.Detects.information.(me |
1b7b40 | 74 61 2d 64 61 74 61 20 72 75 6c 65 73 29 20 61 62 6f 75 74 20 74 68 65 20 63 75 72 72 65 6e 74 | ta-data.rules).about.the.current |
1b7b60 | 20 73 65 6c 65 63 74 69 6f 6e 20 69 6e 20 74 68 65 0a 20 20 20 2a 20 76 69 65 77 20 28 73 65 65 | .selection.in.the....*.view.(see |
1b7b80 | 20 5f 62 75 69 6c 64 53 65 6c 65 63 74 69 6f 6e 4d 65 74 61 64 61 74 61 29 20 61 6e 64 20 73 65 | ._buildSelectionMetadata).and.se |
1b7ba0 | 74 73 20 74 68 65 20 76 69 73 69 62 69 6c 69 74 79 20 73 74 61 74 65 20 66 6f 72 20 65 61 63 68 | ts.the.visibility.state.for.each |
1b7bc0 | 0a 20 20 20 2a 20 6f 66 20 74 68 65 20 6d 65 6e 75 2d 69 74 65 6d 73 20 69 6e 20 74 68 65 20 67 | ....*.of.the.menu-items.in.the.g |
1b7be0 | 69 76 65 6e 20 70 6f 70 75 70 20 77 69 74 68 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 72 75 | iven.popup.with.the.following.ru |
1b7c00 | 6c 65 73 20 61 70 70 6c 69 65 64 3a 0a 20 20 20 2a 20 20 31 29 20 54 68 65 20 22 73 65 6c 65 63 | les.applied:....*..1).The."selec |
1b7c20 | 74 69 6f 6e 74 79 70 65 22 20 61 74 74 72 69 62 75 74 65 20 6d 61 79 20 62 65 20 73 65 74 20 6f | tiontype".attribute.may.be.set.o |
1b7c40 | 6e 20 61 20 6d 65 6e 75 2d 69 74 65 6d 20 74 6f 20 22 73 69 6e 67 6c 65 22 0a 20 20 20 2a 20 20 | n.a.menu-item.to."single"....*.. |
1b7c60 | 20 20 20 69 66 20 74 68 65 20 6d 65 6e 75 2d 69 74 65 6d 20 73 68 6f 75 6c 64 20 62 65 20 76 69 | ...if.the.menu-item.should.be.vi |
1b7c80 | 73 69 62 6c 65 20 6f 6e 6c 79 20 69 66 20 74 68 65 72 65 20 69 73 20 61 20 73 69 6e 67 6c 65 20 | sible.only.if.there.is.a.single. |
1b7ca0 | 6e 6f 64 65 0a 20 20 20 2a 20 20 20 20 20 73 65 6c 65 63 74 65 64 2c 20 6f 72 20 74 6f 20 22 6d | node....*.....selected,.or.to."m |
1b7cc0 | 75 6c 74 69 70 6c 65 22 20 69 66 20 74 68 65 20 6d 65 6e 75 2d 69 74 65 6d 20 73 68 6f 75 6c 64 | ultiple".if.the.menu-item.should |
1b7ce0 | 20 62 65 20 76 69 73 69 62 6c 65 20 6f 6e 6c 79 20 69 66 0a 20 20 20 2a 20 20 20 20 20 6d 75 6c | .be.visible.only.if....*.....mul |
1b7d00 | 74 69 70 6c 65 20 6e 6f 64 65 73 20 61 72 65 20 73 65 6c 65 63 74 65 64 2e 20 49 66 20 74 68 65 | tiple.nodes.are.selected..If.the |
1b7d20 | 20 61 74 74 72 69 62 75 74 65 20 69 73 20 6e 6f 74 20 73 65 74 20 6f 72 20 69 66 20 69 74 20 69 | .attribute.is.not.set.or.if.it.i |
1b7d40 | 73 0a 20 20 20 2a 20 20 20 20 20 73 65 74 20 74 6f 20 61 6e 20 69 6e 76 61 6c 69 64 20 76 61 6c | s....*.....set.to.an.invalid.val |
1b7d60 | 75 65 2c 20 74 68 65 20 6d 65 6e 75 2d 69 74 65 6d 20 6d 61 79 20 62 65 20 76 69 73 69 62 6c 65 | ue,.the.menu-item.may.be.visible |
1b7d80 | 20 66 6f 72 20 62 6f 74 68 20 74 79 70 65 73 20 6f 66 0a 20 20 20 2a 20 20 20 20 20 73 65 6c 65 | .for.both.types.of....*.....sele |
1b7da0 | 63 74 69 6f 6e 2e 0a 20 20 20 2a 20 20 32 29 20 54 68 65 20 22 73 65 6c 65 63 74 69 6f 6e 22 20 | ction.....*..2).The."selection". |
1b7dc0 | 61 74 74 72 69 62 75 74 65 20 6d 61 79 20 62 65 20 73 65 74 20 6f 6e 20 61 20 6d 65 6e 75 2d 69 | attribute.may.be.set.on.a.menu-i |
1b7de0 | 74 65 6d 20 74 6f 20 74 68 65 20 76 61 72 69 6f 75 73 0a 20 20 20 2a 20 20 20 20 20 6d 65 74 61 | tem.to.the.various....*.....meta |
1b7e00 | 2d 64 61 74 61 20 72 75 6c 65 73 20 66 6f 72 20 77 68 69 63 68 20 69 74 20 6d 61 79 20 62 65 20 | -data.rules.for.which.it.may.be. |
1b7e20 | 76 69 73 69 62 6c 65 2e 20 54 68 65 20 72 75 6c 65 73 20 73 68 6f 75 6c 64 20 62 65 0a 20 20 20 | visible..The.rules.should.be.... |
1b7e40 | 2a 20 20 20 20 20 73 65 70 61 72 61 74 65 64 20 77 69 74 68 20 74 68 65 20 7c 20 63 68 61 72 61 | *.....separated.with.the.|.chara |
1b7e60 | 63 74 65 72 2e 0a 20 20 20 2a 20 20 33 29 20 41 20 6d 65 6e 75 2d 69 74 65 6d 20 6d 61 79 20 62 | cter.....*..3).A.menu-item.may.b |
1b7e80 | 65 20 76 69 73 69 62 6c 65 20 6f 6e 6c 79 20 69 66 20 61 74 20 6c 65 61 73 74 20 6f 6e 65 20 6f | e.visible.only.if.at.least.one.o |
1b7ea0 | 66 20 74 68 65 20 72 75 6c 65 73 20 73 65 74 20 69 6e 0a 20 20 20 2a 20 20 20 20 20 69 74 73 20 | f.the.rules.set.in....*.....its. |
1b7ec0 | 73 65 6c 65 63 74 69 6f 6e 20 61 74 74 72 69 62 75 74 65 20 61 70 70 6c 79 20 74 6f 20 65 61 63 | selection.attribute.apply.to.eac |
1b7ee0 | 68 20 6f 66 20 74 68 65 20 73 65 6c 65 63 74 65 64 20 6e 6f 64 65 73 20 69 6e 20 74 68 65 0a 20 | h.of.the.selected.nodes.in.the.. |
1b7f00 | 20 20 2a 20 20 20 20 20 76 69 65 77 2e 0a 20 20 20 2a 20 20 34 29 20 54 68 65 20 22 66 6f 72 63 | ..*.....view.....*..4).The."forc |
1b7f20 | 65 68 69 64 65 73 65 6c 65 63 74 69 6f 6e 22 20 61 74 74 72 69 62 75 74 65 20 6d 61 79 20 62 65 | ehideselection".attribute.may.be |
1b7f40 | 20 73 65 74 20 6f 6e 20 61 20 6d 65 6e 75 2d 69 74 65 6d 20 74 6f 20 72 75 6c 65 73 0a 20 20 20 | .set.on.a.menu-item.to.rules.... |
1b7f60 | 2a 20 20 20 20 20 66 6f 72 20 77 68 69 63 68 20 69 74 20 73 68 6f 75 6c 64 20 62 65 20 68 69 64 | *.....for.which.it.should.be.hid |
1b7f80 | 64 65 6e 2e 20 54 68 69 73 20 61 74 74 72 69 62 75 74 65 20 74 61 6b 65 73 20 70 72 69 6f 72 69 | den..This.attribute.takes.priori |
1b7fa0 | 74 79 20 6f 76 65 72 20 74 68 65 0a 20 20 20 2a 20 20 20 20 20 73 65 6c 65 63 74 69 6f 6e 20 61 | ty.over.the....*.....selection.a |
1b7fc0 | 74 74 72 69 62 75 74 65 2e 20 41 20 6d 65 6e 75 2d 69 74 65 6d 20 77 6f 75 6c 64 20 62 65 20 68 | ttribute..A.menu-item.would.be.h |
1b7fe0 | 69 64 64 65 6e 20 69 66 20 61 74 20 6c 65 61 73 74 20 6f 6e 65 20 6f 66 20 74 68 65 0a 20 20 20 | idden.if.at.least.one.of.the.... |
1b8000 | 2a 20 20 20 20 20 67 69 76 65 6e 20 72 75 6c 65 73 20 61 70 70 6c 79 20 74 6f 20 6f 6e 65 20 6f | *.....given.rules.apply.to.one.o |
1b8020 | 66 20 74 68 65 20 73 65 6c 65 63 74 65 64 20 6e 6f 64 65 73 2e 20 54 68 65 20 72 75 6c 65 73 20 | f.the.selected.nodes..The.rules. |
1b8040 | 73 68 6f 75 6c 64 20 62 65 0a 20 20 20 2a 20 20 20 20 20 73 65 70 61 72 61 74 65 64 20 77 69 74 | should.be....*.....separated.wit |
1b8060 | 68 20 74 68 65 20 7c 20 63 68 61 72 61 63 74 65 72 2e 0a 20 20 20 2a 20 20 35 29 20 54 68 65 20 | h.the.|.character.....*..5).The. |
1b8080 | 22 68 69 64 65 69 66 6e 6f 69 6e 73 65 74 69 6f 6e 70 6f 69 6e 74 22 20 61 74 74 72 69 62 75 74 | "hideifnoinsetionpoint".attribut |
1b80a0 | 65 20 6d 61 79 20 62 65 20 73 65 74 20 6f 6e 20 61 20 6d 65 6e 75 2d 69 74 65 6d 20 74 6f 0a 20 | e.may.be.set.on.a.menu-item.to.. |
1b80c0 | 20 20 2a 20 20 20 20 20 74 72 75 65 20 69 66 20 69 74 20 73 68 6f 75 6c 64 20 62 65 20 68 69 64 | ..*.....true.if.it.should.be.hid |
1b80e0 | 64 65 6e 20 77 68 65 6e 20 74 68 65 72 65 27 73 20 6e 6f 20 69 6e 73 65 72 74 69 6f 6e 20 70 6f | den.when.there's.no.insertion.po |
1b8100 | 69 6e 74 0a 20 20 20 2a 20 20 36 29 20 54 68 65 20 76 69 73 69 62 69 6c 69 74 79 20 73 74 61 74 | int....*..6).The.visibility.stat |
1b8120 | 65 20 6f 66 20 61 20 6d 65 6e 75 2d 69 74 65 6d 20 69 73 20 75 6e 63 68 61 6e 67 65 64 20 69 66 | e.of.a.menu-item.is.unchanged.if |
1b8140 | 20 6e 6f 6e 65 20 6f 66 20 74 68 65 73 65 0a 20 20 20 2a 20 20 20 20 20 61 74 74 72 69 62 75 74 | .none.of.these....*.....attribut |
1b8160 | 65 20 61 72 65 20 73 65 74 2e 0a 20 20 20 2a 20 20 37 29 20 54 68 65 73 65 20 61 74 74 72 69 62 | e.are.set.....*..7).These.attrib |
1b8180 | 75 74 65 73 20 73 68 6f 75 6c 64 20 6e 6f 74 20 62 65 20 73 65 74 20 6f 6e 20 73 65 70 61 72 61 | utes.should.not.be.set.on.separa |
1b81a0 | 74 6f 72 73 20 66 6f 72 20 77 68 69 63 68 20 74 68 65 0a 20 20 20 2a 20 20 20 20 20 76 69 73 69 | tors.for.which.the....*.....visi |
1b81c0 | 62 69 6c 69 74 79 20 73 74 61 74 65 20 69 73 20 22 61 75 74 6f 2d 64 65 74 65 63 74 65 64 2e 22 | bility.state.is."auto-detected." |
1b81e0 | 0a 20 20 20 2a 20 20 38 29 20 54 68 65 20 22 68 69 64 65 69 66 70 72 69 76 61 74 65 62 72 6f 77 | ....*..8).The."hideifprivatebrow |
1b8200 | 73 69 6e 67 22 20 61 74 74 72 69 62 75 74 65 20 6d 61 79 20 62 65 20 73 65 74 20 6f 6e 20 61 20 | sing".attribute.may.be.set.on.a. |
1b8220 | 6d 65 6e 75 2d 69 74 65 6d 20 74 6f 0a 20 20 20 2a 20 20 20 20 20 74 72 75 65 20 69 66 20 69 74 | menu-item.to....*.....true.if.it |
1b8240 | 20 73 68 6f 75 6c 64 20 62 65 20 68 69 64 64 65 6e 20 69 6e 73 69 64 65 20 74 68 65 20 70 72 69 | .should.be.hidden.inside.the.pri |
1b8260 | 76 61 74 65 20 62 72 6f 77 73 69 6e 67 20 6d 6f 64 65 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 20 | vate.browsing.mode....*.@param.. |
1b8280 | 20 61 50 6f 70 75 70 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 54 68 65 20 6d 65 6e 75 70 6f | .aPopup....*..........The.menupo |
1b82a0 | 70 75 70 20 74 6f 20 62 75 69 6c 64 20 63 68 69 6c 64 72 65 6e 20 69 6e 74 6f 2e 0a 20 20 20 2a | pup.to.build.children.into.....* |
1b82c0 | 20 40 72 65 74 75 72 6e 20 74 72 75 65 20 69 66 20 61 74 20 6c 65 61 73 74 20 6f 6e 65 20 69 74 | .@return.true.if.at.least.one.it |
1b82e0 | 65 6d 20 69 73 20 76 69 73 69 62 6c 65 2c 20 66 61 6c 73 65 20 6f 74 68 65 72 77 69 73 65 2e 0a | em.is.visible,.false.otherwise.. |
1b8300 | 20 20 20 2a 2f 0a 20 20 62 75 69 6c 64 43 6f 6e 74 65 78 74 4d 65 6e 75 3a 20 66 75 6e 63 74 69 | ...*/...buildContextMenu:.functi |
1b8320 | 6f 6e 20 50 43 5f 62 75 69 6c 64 43 6f 6e 74 65 78 74 4d 65 6e 75 28 61 50 6f 70 75 70 29 20 7b | on.PC_buildContextMenu(aPopup).{ |
1b8340 | 0a 20 20 20 20 76 61 72 20 6d 65 74 61 64 61 74 61 20 3d 20 74 68 69 73 2e 5f 62 75 69 6c 64 53 | .....var.metadata.=.this._buildS |
1b8360 | 65 6c 65 63 74 69 6f 6e 4d 65 74 61 64 61 74 61 28 29 3b 0a 20 20 20 20 76 61 72 20 69 70 20 3d | electionMetadata();.....var.ip.= |
1b8380 | 20 74 68 69 73 2e 5f 76 69 65 77 2e 69 6e 73 65 72 74 69 6f 6e 50 6f 69 6e 74 3b 0a 20 20 20 20 | .this._view.insertionPoint;..... |
1b83a0 | 76 61 72 20 6e 6f 49 70 20 3d 20 21 69 70 20 7c 7c 20 69 70 2e 69 73 54 61 67 3b 0a 0a 20 20 20 | var.noIp.=.!ip.||.ip.isTag;..... |
1b83c0 | 20 76 61 72 20 73 65 70 61 72 61 74 6f 72 20 3d 20 6e 75 6c 6c 3b 0a 20 20 20 20 76 61 72 20 76 | .var.separator.=.null;.....var.v |
1b83e0 | 69 73 69 62 6c 65 49 74 65 6d 73 42 65 66 6f 72 65 53 65 70 20 3d 20 66 61 6c 73 65 3b 0a 20 20 | isibleItemsBeforeSep.=.false;... |
1b8400 | 20 20 76 61 72 20 61 6e 79 56 69 73 69 62 6c 65 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 66 6f | ..var.anyVisible.=.false;.....fo |
1b8420 | 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 61 50 6f 70 75 70 2e 63 68 69 6c 64 4e 6f | r.(var.i.=.0;.i.<.aPopup.childNo |
1b8440 | 64 65 73 2e 6c 65 6e 67 74 68 3b 20 2b 2b 69 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 69 74 65 | des.length;.++i).{.......var.ite |
1b8460 | 6d 20 3d 20 61 50 6f 70 75 70 2e 63 68 69 6c 64 4e 6f 64 65 73 5b 69 5d 3b 0a 20 20 20 20 20 20 | m.=.aPopup.childNodes[i];....... |
1b8480 | 69 66 20 28 69 74 65 6d 2e 6c 6f 63 61 6c 4e 61 6d 65 20 21 3d 20 22 6d 65 6e 75 73 65 70 61 72 | if.(item.localName.!=."menusepar |
1b84a0 | 61 74 6f 72 22 29 20 7b 0a 20 20 20 20 20 20 20 20 2f 2f 20 57 65 20 61 6c 6c 6f 77 20 70 61 73 | ator").{.........//.We.allow.pas |
1b84c0 | 74 69 6e 67 20 69 6e 74 6f 20 74 61 67 20 63 6f 6e 74 61 69 6e 65 72 73 2c 20 73 6f 20 73 70 65 | ting.into.tag.containers,.so.spe |
1b84e0 | 63 69 61 6c 20 63 61 73 65 20 74 68 61 74 2e 0a 20 20 20 20 20 20 20 20 76 61 72 20 68 69 64 65 | cial.case.that..........var.hide |
1b8500 | 49 66 4e 6f 49 50 20 3d 20 69 74 65 6d 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 68 69 64 65 | IfNoIP.=.item.getAttribute("hide |
1b8520 | 69 66 6e 6f 69 6e 73 65 74 69 6f 6e 70 6f 69 6e 74 22 29 20 3d 3d 20 22 74 72 75 65 22 20 26 26 | ifnoinsetionpoint").==."true".&& |
1b8540 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 6f 49 70 20 26 | ..........................noIp.& |
1b8560 | 26 20 21 28 69 70 20 26 26 20 69 70 2e 69 73 54 61 67 20 26 26 20 69 74 65 6d 2e 69 64 20 3d 3d | &.!(ip.&&.ip.isTag.&&.item.id.== |
1b8580 | 20 22 70 6c 61 63 65 73 43 6f 6e 74 65 78 74 5f 70 61 73 74 65 22 29 3b 0a 20 20 20 20 20 20 20 | ."placesContext_paste");........ |
1b85a0 | 20 76 61 72 20 68 69 64 65 49 66 50 42 20 3d 20 69 74 65 6d 2e 67 65 74 41 74 74 72 69 62 75 74 | .var.hideIfPB.=.item.getAttribut |
1b85c0 | 65 28 22 68 69 64 65 69 66 70 72 69 76 61 74 65 62 72 6f 77 73 69 6e 67 22 29 20 3d 3d 20 22 74 | e("hideifprivatebrowsing").==."t |
1b85e0 | 72 75 65 22 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 50 | rue".&&........................P |
1b8600 | 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 70 72 69 76 61 74 65 42 72 6f 77 73 69 6e 67 2e 70 72 69 | lacesUIUtils.privateBrowsing.pri |
1b8620 | 76 61 74 65 42 72 6f 77 73 69 6e 67 45 6e 61 62 6c 65 64 3b 0a 20 20 20 20 20 20 20 20 69 74 65 | vateBrowsingEnabled;.........ite |
1b8640 | 6d 2e 68 69 64 64 65 6e 20 3d 20 68 69 64 65 49 66 4e 6f 49 50 20 7c 7c 20 68 69 64 65 49 66 50 | m.hidden.=.hideIfNoIP.||.hideIfP |
1b8660 | 42 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 21 74 68 69 73 | B.||.......................!this |
1b8680 | 2e 5f 73 68 6f 75 6c 64 53 68 6f 77 4d 65 6e 75 49 74 65 6d 28 69 74 65 6d 2c 20 6d 65 74 61 64 | ._shouldShowMenuItem(item,.metad |
1b86a0 | 61 74 61 29 3b 0a 0a 20 20 20 20 20 20 20 20 69 66 20 28 21 69 74 65 6d 2e 68 69 64 64 65 6e 29 | ata);..........if.(!item.hidden) |
1b86c0 | 20 7b 0a 20 20 20 20 20 20 20 20 20 20 76 69 73 69 62 6c 65 49 74 65 6d 73 42 65 66 6f 72 65 53 | .{...........visibleItemsBeforeS |
1b86e0 | 65 70 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 20 20 61 6e 79 56 69 73 69 62 6c 65 20 | ep.=.true;...........anyVisible. |
1b8700 | 3d 20 74 72 75 65 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 53 68 6f 77 20 74 68 65 20 73 | =.true;............//.Show.the.s |
1b8720 | 65 70 61 72 61 74 6f 72 20 61 62 6f 76 65 20 74 68 65 20 6d 65 6e 75 2d 69 74 65 6d 20 69 66 20 | eparator.above.the.menu-item.if. |
1b8740 | 61 6e 79 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 73 65 70 61 72 61 74 6f 72 29 20 7b 0a 20 | any...........if.(separator).{.. |
1b8760 | 20 20 20 20 20 20 20 20 20 20 20 73 65 70 61 72 61 74 6f 72 2e 68 69 64 64 65 6e 20 3d 20 66 61 | ...........separator.hidden.=.fa |
1b8780 | 6c 73 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 73 65 70 61 72 61 74 6f 72 20 3d 20 6e 75 6c | lse;.............separator.=.nul |
1b87a0 | 6c 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 7d | l;...........}.........}.......} |
1b87c0 | 0a 20 20 20 20 20 20 65 6c 73 65 20 7b 20 2f 2f 20 6d 65 6e 75 73 65 70 61 72 61 74 6f 72 0a 20 | .......else.{.//.menuseparator.. |
1b87e0 | 20 20 20 20 20 20 20 2f 2f 20 49 6e 69 74 69 61 6c 6c 79 20 68 69 64 65 20 69 74 2e 20 49 74 20 | .......//.Initially.hide.it..It. |
1b8800 | 77 69 6c 6c 20 62 65 20 75 6e 68 69 64 64 65 6e 20 69 66 20 74 68 65 72 65 20 77 69 6c 6c 20 62 | will.be.unhidden.if.there.will.b |
1b8820 | 65 20 61 74 20 6c 65 61 73 74 20 6f 6e 65 0a 20 20 20 20 20 20 20 20 2f 2f 20 76 69 73 69 62 6c | e.at.least.one.........//.visibl |
1b8840 | 65 20 6d 65 6e 75 2d 69 74 65 6d 20 61 62 6f 76 65 20 61 6e 64 20 62 65 6c 6f 77 20 69 74 2e 0a | e.menu-item.above.and.below.it.. |
1b8860 | 20 20 20 20 20 20 20 20 69 74 65 6d 2e 68 69 64 64 65 6e 20 3d 20 74 72 75 65 3b 0a 0a 20 20 20 | ........item.hidden.=.true;..... |
1b8880 | 20 20 20 20 20 2f 2f 20 57 65 20 77 6f 6e 27 74 20 73 68 6f 77 20 74 68 65 20 73 65 70 61 72 61 | .....//.We.won't.show.the.separa |
1b88a0 | 74 6f 72 20 61 74 20 61 6c 6c 20 69 66 20 6e 6f 20 69 74 65 6d 73 20 61 72 65 20 76 69 73 69 62 | tor.at.all.if.no.items.are.visib |
1b88c0 | 6c 65 20 61 62 6f 76 65 20 69 74 0a 20 20 20 20 20 20 20 20 69 66 20 28 76 69 73 69 62 6c 65 49 | le.above.it.........if.(visibleI |
1b88e0 | 74 65 6d 73 42 65 66 6f 72 65 53 65 70 29 0a 20 20 20 20 20 20 20 20 20 20 73 65 70 61 72 61 74 | temsBeforeSep)...........separat |
1b8900 | 6f 72 20 3d 20 69 74 65 6d 3b 0a 0a 20 20 20 20 20 20 20 20 2f 2f 20 4e 65 77 20 73 65 70 61 72 | or.=.item;..........//.New.separ |
1b8920 | 61 74 6f 72 2c 20 63 6f 75 6e 74 20 61 67 61 69 6e 3a 0a 20 20 20 20 20 20 20 20 76 69 73 69 62 | ator,.count.again:.........visib |
1b8940 | 6c 65 49 74 65 6d 73 42 65 66 6f 72 65 53 65 70 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 20 | leItemsBeforeSep.=.false;....... |
1b8960 | 7d 0a 20 20 20 20 7d 0a 0a 20 20 20 20 2f 2f 20 53 65 74 20 4f 70 65 6e 20 46 6f 6c 64 65 72 2f | }.....}......//.Set.Open.Folder/ |
1b8980 | 4c 69 6e 6b 73 20 49 6e 20 54 61 62 73 20 69 74 65 6d 73 20 65 6e 61 62 6c 65 64 20 73 74 61 74 | Links.In.Tabs.items.enabled.stat |
1b89a0 | 65 20 69 66 20 74 68 65 79 27 72 65 20 76 69 73 69 62 6c 65 0a 20 20 20 20 69 66 20 28 61 6e 79 | e.if.they're.visible.....if.(any |
1b89c0 | 56 69 73 69 62 6c 65 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 6f 70 65 6e 43 6f 6e 74 61 69 6e | Visible).{.......var.openContain |
1b89e0 | 65 72 49 6e 54 61 62 73 49 74 65 6d 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 | erInTabsItem.=.document.getEleme |
1b8a00 | 6e 74 42 79 49 64 28 22 70 6c 61 63 65 73 43 6f 6e 74 65 78 74 5f 6f 70 65 6e 43 6f 6e 74 61 69 | ntById("placesContext_openContai |
1b8a20 | 6e 65 72 3a 74 61 62 73 22 29 3b 0a 20 20 20 20 20 20 69 66 20 28 21 6f 70 65 6e 43 6f 6e 74 61 | ner:tabs");.......if.(!openConta |
1b8a40 | 69 6e 65 72 49 6e 54 61 62 73 49 74 65 6d 2e 68 69 64 64 65 6e 20 26 26 20 74 68 69 73 2e 5f 76 | inerInTabsItem.hidden.&&.this._v |
1b8a60 | 69 65 77 2e 73 65 6c 65 63 74 65 64 4e 6f 64 65 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 50 6c | iew.selectedNode.&&...........Pl |
1b8a80 | 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 43 6f 6e 74 61 69 6e 65 72 28 74 68 69 73 2e 5f | acesUtils.nodeIsContainer(this._ |
1b8aa0 | 76 69 65 77 2e 73 65 6c 65 63 74 65 64 4e 6f 64 65 29 29 20 7b 0a 20 20 20 20 20 20 20 20 6f 70 | view.selectedNode)).{.........op |
1b8ac0 | 65 6e 43 6f 6e 74 61 69 6e 65 72 49 6e 54 61 62 73 49 74 65 6d 2e 64 69 73 61 62 6c 65 64 20 3d | enContainerInTabsItem.disabled.= |
1b8ae0 | 0a 20 20 20 20 20 20 20 20 20 20 21 50 6c 61 63 65 73 55 74 69 6c 73 2e 68 61 73 43 68 69 6c 64 | ...........!PlacesUtils.hasChild |
1b8b00 | 55 52 49 73 28 74 68 69 73 2e 5f 76 69 65 77 2e 73 65 6c 65 63 74 65 64 4e 6f 64 65 29 3b 0a 20 | URIs(this._view.selectedNode);.. |
1b8b20 | 20 20 20 20 20 7d 0a 20 20 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 20 20 2f 2f 20 73 | .....}.......else.{.........//.s |
1b8b40 | 65 65 20 73 65 6c 65 63 74 69 6f 6e 74 79 70 65 20 72 75 6c 65 20 69 6e 20 74 68 65 20 6f 76 65 | ee.selectiontype.rule.in.the.ove |
1b8b60 | 72 6c 61 79 0a 20 20 20 20 20 20 20 20 76 61 72 20 6f 70 65 6e 4c 69 6e 6b 73 49 6e 54 61 62 73 | rlay.........var.openLinksInTabs |
1b8b80 | 49 74 65 6d 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 | Item.=.document.getElementById(" |
1b8ba0 | 70 6c 61 63 65 73 43 6f 6e 74 65 78 74 5f 6f 70 65 6e 4c 69 6e 6b 73 3a 74 61 62 73 22 29 3b 0a | placesContext_openLinks:tabs");. |
1b8bc0 | 20 20 20 20 20 20 20 20 6f 70 65 6e 4c 69 6e 6b 73 49 6e 54 61 62 73 49 74 65 6d 2e 64 69 73 61 | ........openLinksInTabsItem.disa |
1b8be0 | 62 6c 65 64 20 3d 20 6f 70 65 6e 4c 69 6e 6b 73 49 6e 54 61 62 73 49 74 65 6d 2e 68 69 64 64 65 | bled.=.openLinksInTabsItem.hidde |
1b8c00 | 6e 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 0a 20 20 20 20 72 65 74 75 72 6e 20 61 6e 79 | n;.......}.....}......return.any |
1b8c20 | 56 69 73 69 62 6c 65 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 53 65 6c 65 63 74 | Visible;...},..../**....*.Select |
1b8c40 | 20 61 6c 6c 20 6c 69 6e 6b 73 20 69 6e 20 74 68 65 20 63 75 72 72 65 6e 74 20 76 69 65 77 2e 20 | .all.links.in.the.current.view.. |
1b8c60 | 0a 20 20 20 2a 2f 0a 20 20 73 65 6c 65 63 74 41 6c 6c 3a 20 66 75 6e 63 74 69 6f 6e 20 50 43 5f | ....*/...selectAll:.function.PC_ |
1b8c80 | 73 65 6c 65 63 74 41 6c 6c 28 29 20 7b 0a 20 20 20 20 74 68 69 73 2e 5f 76 69 65 77 2e 73 65 6c | selectAll().{.....this._view.sel |
1b8ca0 | 65 63 74 41 6c 6c 28 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 4f 70 65 6e 73 | ectAll();...},..../**....*.Opens |
1b8cc0 | 20 74 68 65 20 62 6f 6f 6b 6d 61 72 6b 20 70 72 6f 70 65 72 74 69 65 73 20 66 6f 72 20 74 68 65 | .the.bookmark.properties.for.the |
1b8ce0 | 20 73 65 6c 65 63 74 65 64 20 55 52 49 20 4e 6f 64 65 2e 0a 20 20 20 2a 2f 0a 20 20 73 68 6f 77 | .selected.URI.Node.....*/...show |
1b8d00 | 42 6f 6f 6b 6d 61 72 6b 50 72 6f 70 65 72 74 69 65 73 46 6f 72 53 65 6c 65 63 74 69 6f 6e 3a 20 | BookmarkPropertiesForSelection:. |
1b8d20 | 0a 20 20 66 75 6e 63 74 69 6f 6e 20 50 43 5f 73 68 6f 77 42 6f 6f 6b 6d 61 72 6b 50 72 6f 70 65 | ...function.PC_showBookmarkPrope |
1b8d40 | 72 74 69 65 73 46 6f 72 53 65 6c 65 63 74 69 6f 6e 28 29 20 7b 0a 20 20 20 20 76 61 72 20 6e 6f | rtiesForSelection().{.....var.no |
1b8d60 | 64 65 20 3d 20 74 68 69 73 2e 5f 76 69 65 77 2e 73 65 6c 65 63 74 65 64 4e 6f 64 65 3b 0a 20 20 | de.=.this._view.selectedNode;... |
1b8d80 | 20 20 69 66 20 28 21 6e 6f 64 65 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 20 20 | ..if.(!node).......return;...... |
1b8da0 | 76 61 72 20 69 74 65 6d 54 79 70 65 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 | var.itemType.=.PlacesUtils.nodeI |
1b8dc0 | 73 46 6f 6c 64 65 72 28 6e 6f 64 65 29 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | sFolder(node).||................ |
1b8de0 | 20 20 20 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 54 61 67 51 75 65 72 79 28 6e | ....PlacesUtils.nodeIsTagQuery(n |
1b8e00 | 6f 64 65 29 20 3f 20 22 66 6f 6c 64 65 72 22 20 3a 20 22 62 6f 6f 6b 6d 61 72 6b 22 3b 0a 20 20 | ode).?."folder".:."bookmark";... |
1b8e20 | 20 20 76 61 72 20 63 6f 6e 63 72 65 74 65 49 64 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 67 | ..var.concreteId.=.PlacesUtils.g |
1b8e40 | 65 74 43 6f 6e 63 72 65 74 65 49 74 65 6d 49 64 28 6e 6f 64 65 29 3b 0a 20 20 20 20 76 61 72 20 | etConcreteItemId(node);.....var. |
1b8e60 | 69 73 52 6f 6f 74 49 74 65 6d 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 69 73 52 6f 6f 74 49 | isRootItem.=.PlacesUtils.isRootI |
1b8e80 | 74 65 6d 28 63 6f 6e 63 72 65 74 65 49 64 29 3b 0a 20 20 20 20 76 61 72 20 69 74 65 6d 49 64 20 | tem(concreteId);.....var.itemId. |
1b8ea0 | 3d 20 6e 6f 64 65 2e 69 74 65 6d 49 64 3b 0a 20 20 20 20 69 66 20 28 69 73 52 6f 6f 74 49 74 65 | =.node.itemId;.....if.(isRootIte |
1b8ec0 | 6d 20 7c 7c 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 54 61 67 51 75 65 72 79 28 | m.||.PlacesUtils.nodeIsTagQuery( |
1b8ee0 | 6e 6f 64 65 29 29 20 7b 0a 20 20 20 20 20 20 2f 2f 20 49 66 20 74 68 69 73 20 69 73 20 61 20 72 | node)).{.......//.If.this.is.a.r |
1b8f00 | 6f 6f 74 20 6f 72 20 74 68 65 20 54 61 67 73 20 71 75 65 72 79 20 77 65 20 75 73 65 20 74 68 65 | oot.or.the.Tags.query.we.use.the |
1b8f20 | 20 63 6f 6e 63 72 65 74 65 20 69 74 65 6d 49 64 20 74 6f 20 63 61 74 63 68 0a 20 20 20 20 20 20 | .concrete.itemId.to.catch....... |
1b8f40 | 2f 2f 20 74 68 65 20 63 6f 72 72 65 63 74 20 74 69 74 6c 65 20 66 6f 72 20 74 68 65 20 6e 6f 64 | //.the.correct.title.for.the.nod |
1b8f60 | 65 2e 0a 20 20 20 20 20 20 69 74 65 6d 49 64 20 3d 20 63 6f 6e 63 72 65 74 65 49 64 3b 0a 20 20 | e........itemId.=.concreteId;... |
1b8f80 | 20 20 7d 0a 0a 20 20 20 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 73 68 6f 77 49 74 65 6d 50 | ..}......PlacesUIUtils.showItemP |
1b8fa0 | 72 6f 70 65 72 74 69 65 73 28 69 74 65 6d 49 64 2c 20 69 74 65 6d 54 79 70 65 2c 0a 20 20 20 20 | roperties(itemId,.itemType,..... |
1b8fc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
1b8fe0 | 20 69 73 52 6f 6f 74 49 74 65 6d 20 2f 2a 20 72 65 61 64 20 6f 6e 6c 79 20 2a 2f 29 3b 0a 20 20 | .isRootItem./*.read.only.*/);... |
1b9000 | 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 54 68 69 73 20 6d 65 74 68 6f 64 20 63 61 6e 20 62 | },..../**....*.This.method.can.b |
1b9020 | 65 20 72 75 6e 20 6f 6e 20 61 20 55 52 49 20 70 61 72 61 6d 65 74 65 72 20 74 6f 20 65 6e 73 75 | e.run.on.a.URI.parameter.to.ensu |
1b9040 | 72 65 20 74 68 61 74 20 69 74 20 64 69 64 6e 27 74 0a 20 20 20 2a 20 72 65 63 65 69 76 65 20 61 | re.that.it.didn't....*.receive.a |
1b9060 | 20 73 74 72 69 6e 67 20 69 6e 73 74 65 61 64 20 6f 66 20 61 6e 20 6e 73 49 55 52 49 20 6f 62 6a | .string.instead.of.an.nsIURI.obj |
1b9080 | 65 63 74 2e 0a 20 20 20 2a 2f 0a 20 20 5f 61 73 73 65 72 74 55 52 49 4e 6f 74 53 74 72 69 6e 67 | ect.....*/..._assertURINotString |
1b90a0 | 3a 20 66 75 6e 63 74 69 6f 6e 20 50 43 5f 5f 61 73 73 65 72 74 55 52 49 4e 6f 74 53 74 72 69 6e | :.function.PC__assertURINotStrin |
1b90c0 | 67 28 76 61 6c 75 65 29 20 7b 0a 20 20 20 20 4e 53 5f 41 53 53 45 52 54 28 28 74 79 70 65 6f 66 | g(value).{.....NS_ASSERT((typeof |
1b90e0 | 28 76 61 6c 75 65 29 20 3d 3d 20 22 6f 62 6a 65 63 74 22 29 20 26 26 20 21 28 76 61 6c 75 65 20 | (value).==."object").&&.!(value. |
1b9100 | 69 6e 73 74 61 6e 63 65 6f 66 20 53 74 72 69 6e 67 29 2c 20 0a 20 20 20 20 20 20 20 20 20 20 20 | instanceof.String),............. |
1b9120 | 22 54 68 69 73 20 6d 65 74 68 6f 64 20 73 68 6f 75 6c 64 20 62 65 20 70 61 73 73 65 64 20 61 20 | "This.method.should.be.passed.a. |
1b9140 | 55 52 49 20 61 73 20 61 20 6e 73 49 55 52 49 20 6f 62 6a 65 63 74 2c 20 6e 6f 74 20 61 73 20 61 | URI.as.a.nsIURI.object,.not.as.a |
1b9160 | 20 73 74 72 69 6e 67 2e 22 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 52 65 6c | .string.");...},..../**....*.Rel |
1b9180 | 6f 61 64 73 20 74 68 65 20 73 65 6c 65 63 74 65 64 20 6c 69 76 65 6d 61 72 6b 20 69 66 20 61 6e | oads.the.selected.livemark.if.an |
1b91a0 | 79 2e 0a 20 20 20 2a 2f 0a 20 20 72 65 6c 6f 61 64 53 65 6c 65 63 74 65 64 4c 69 76 65 6d 61 72 | y.....*/...reloadSelectedLivemar |
1b91c0 | 6b 3a 20 66 75 6e 63 74 69 6f 6e 20 50 43 5f 72 65 6c 6f 61 64 53 65 6c 65 63 74 65 64 4c 69 76 | k:.function.PC_reloadSelectedLiv |
1b91e0 | 65 6d 61 72 6b 28 29 20 7b 0a 20 20 20 20 76 61 72 20 73 65 6c 65 63 74 65 64 4e 6f 64 65 20 3d | emark().{.....var.selectedNode.= |
1b9200 | 20 74 68 69 73 2e 5f 76 69 65 77 2e 73 65 6c 65 63 74 65 64 4e 6f 64 65 3b 0a 20 20 20 20 69 66 | .this._view.selectedNode;.....if |
1b9220 | 20 28 73 65 6c 65 63 74 65 64 4e 6f 64 65 20 26 26 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f | .(selectedNode.&&.PlacesUtils.no |
1b9240 | 64 65 49 73 4c 69 76 65 6d 61 72 6b 43 6f 6e 74 61 69 6e 65 72 28 73 65 6c 65 63 74 65 64 4e 6f | deIsLivemarkContainer(selectedNo |
1b9260 | 64 65 29 29 0a 20 20 20 20 20 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 6c 69 76 65 6d 61 72 6b 73 | de)).......PlacesUtils.livemarks |
1b9280 | 2e 72 65 6c 6f 61 64 4c 69 76 65 6d 61 72 6b 46 6f 6c 64 65 72 28 73 65 6c 65 63 74 65 64 4e 6f | .reloadLivemarkFolder(selectedNo |
1b92a0 | 64 65 2e 69 74 65 6d 49 64 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 52 65 6c | de.itemId);...},..../**....*.Rel |
1b92c0 | 6f 61 64 20 74 68 65 20 6d 69 63 72 6f 73 75 6d 6d 61 72 79 20 61 73 73 6f 63 69 61 74 65 64 20 | oad.the.microsummary.associated. |
1b92e0 | 77 69 74 68 20 74 68 65 20 73 65 6c 65 63 74 69 6f 6e 0a 20 20 20 2a 2f 0a 20 20 72 65 6c 6f 61 | with.the.selection....*/...reloa |
1b9300 | 64 53 65 6c 65 63 74 65 64 4d 69 63 72 6f 73 75 6d 6d 61 72 79 3a 20 66 75 6e 63 74 69 6f 6e 20 | dSelectedMicrosummary:.function. |
1b9320 | 50 43 5f 72 65 6c 6f 61 64 53 65 6c 65 63 74 65 64 4d 69 63 72 6f 73 75 6d 6d 61 72 79 28 29 20 | PC_reloadSelectedMicrosummary(). |
1b9340 | 7b 0a 20 20 20 20 76 61 72 20 73 65 6c 65 63 74 65 64 4e 6f 64 65 20 3d 20 74 68 69 73 2e 5f 76 | {.....var.selectedNode.=.this._v |
1b9360 | 69 65 77 2e 73 65 6c 65 63 74 65 64 4e 6f 64 65 3b 0a 20 20 20 20 76 61 72 20 6d 73 73 20 3d 20 | iew.selectedNode;.....var.mss.=. |
1b9380 | 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 6d 69 63 72 6f 73 75 6d 6d 61 72 69 65 73 3b 0a 20 20 | PlacesUIUtils.microsummaries;... |
1b93a0 | 20 20 69 66 20 28 6d 73 73 2e 68 61 73 4d 69 63 72 6f 73 75 6d 6d 61 72 79 28 73 65 6c 65 63 74 | ..if.(mss.hasMicrosummary(select |
1b93c0 | 65 64 4e 6f 64 65 2e 69 74 65 6d 49 64 29 29 0a 20 20 20 20 20 20 6d 73 73 2e 72 65 66 72 65 73 | edNode.itemId)).......mss.refres |
1b93e0 | 68 4d 69 63 72 6f 73 75 6d 6d 61 72 79 28 73 65 6c 65 63 74 65 64 4e 6f 64 65 2e 69 74 65 6d 49 | hMicrosummary(selectedNode.itemI |
1b9400 | 64 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 47 69 76 65 73 20 74 68 65 20 75 | d);...},..../**....*.Gives.the.u |
1b9420 | 73 65 72 20 61 20 63 68 61 6e 63 65 20 74 6f 20 63 61 6e 63 65 6c 20 6c 6f 61 64 69 6e 67 20 6c | ser.a.chance.to.cancel.loading.l |
1b9440 | 6f 74 73 20 6f 66 20 74 61 62 73 20 61 74 20 6f 6e 63 65 0a 20 20 20 2a 2f 0a 20 20 5f 63 6f 6e | ots.of.tabs.at.once....*/..._con |
1b9460 | 66 69 72 6d 4f 70 65 6e 54 61 62 73 3a 20 66 75 6e 63 74 69 6f 6e 28 6e 75 6d 54 61 62 73 54 6f | firmOpenTabs:.function(numTabsTo |
1b9480 | 4f 70 65 6e 29 20 7b 0a 20 20 20 20 76 61 72 20 70 72 65 66 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 | Open).{.....var.pref.=.Cc["@mozi |
1b94a0 | 6c 6c 61 2e 6f 72 67 2f 70 72 65 66 65 72 65 6e 63 65 73 2d 73 65 72 76 69 63 65 3b 31 22 5d 2e | lla.org/preferences-service;1"]. |
1b94c0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 | ................getService(Ci.ns |
1b94e0 | 49 50 72 65 66 42 72 61 6e 63 68 29 3b 0a 0a 20 20 20 20 63 6f 6e 73 74 20 6b 57 61 72 6e 4f 6e | IPrefBranch);......const.kWarnOn |
1b9500 | 4f 70 65 6e 50 72 65 66 20 3d 20 22 62 72 6f 77 73 65 72 2e 74 61 62 73 2e 77 61 72 6e 4f 6e 4f | OpenPref.=."browser.tabs.warnOnO |
1b9520 | 70 65 6e 22 3b 0a 20 20 20 20 76 61 72 20 72 65 61 6c 6c 79 4f 70 65 6e 20 3d 20 74 72 75 65 3b | pen";.....var.reallyOpen.=.true; |
1b9540 | 0a 20 20 20 20 69 66 20 28 70 72 65 66 2e 67 65 74 42 6f 6f 6c 50 72 65 66 28 6b 57 61 72 6e 4f | .....if.(pref.getBoolPref(kWarnO |
1b9560 | 6e 4f 70 65 6e 50 72 65 66 29 29 20 7b 0a 20 20 20 20 20 20 69 66 20 28 6e 75 6d 54 61 62 73 54 | nOpenPref)).{.......if.(numTabsT |
1b9580 | 6f 4f 70 65 6e 20 3e 3d 20 70 72 65 66 2e 67 65 74 49 6e 74 50 72 65 66 28 22 62 72 6f 77 73 65 | oOpen.>=.pref.getIntPref("browse |
1b95a0 | 72 2e 74 61 62 73 2e 6d 61 78 4f 70 65 6e 42 65 66 6f 72 65 57 61 72 6e 22 29 29 20 7b 0a 20 20 | r.tabs.maxOpenBeforeWarn")).{... |
1b95c0 | 20 20 20 20 20 20 76 61 72 20 70 72 6f 6d 70 74 53 65 72 76 69 63 65 20 3d 20 43 63 5b 22 40 6d | ......var.promptService.=.Cc["@m |
1b95e0 | 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 65 6d 62 65 64 63 6f 6d 70 2f 70 72 6f 6d 70 74 2d 73 65 72 76 | ozilla.org/embedcomp/prompt-serv |
1b9600 | 69 63 65 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ice;1"]......................... |
1b9620 | 20 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 50 72 6f 6d 70 74 53 65 72 76 | .....getService(Ci.nsIPromptServ |
1b9640 | 69 63 65 29 3b 0a 0a 20 20 20 20 20 20 20 20 2f 2f 20 64 65 66 61 75 6c 74 20 74 6f 20 74 72 75 | ice);..........//.default.to.tru |
1b9660 | 65 3a 20 69 66 20 69 74 20 77 65 72 65 20 66 61 6c 73 65 2c 20 77 65 20 77 6f 75 6c 64 6e 27 74 | e:.if.it.were.false,.we.wouldn't |
1b9680 | 20 67 65 74 20 74 68 69 73 20 66 61 72 0a 20 20 20 20 20 20 20 20 76 61 72 20 77 61 72 6e 4f 6e | .get.this.far.........var.warnOn |
1b96a0 | 4f 70 65 6e 20 3d 20 7b 20 76 61 6c 75 65 3a 20 74 72 75 65 20 7d 3b 0a 0a 20 20 20 20 20 20 20 | Open.=.{.value:.true.};......... |
1b96c0 | 20 76 61 72 20 6d 65 73 73 61 67 65 4b 65 79 20 3d 20 22 74 61 62 73 2e 6f 70 65 6e 57 61 72 6e | .var.messageKey.=."tabs.openWarn |
1b96e0 | 69 6e 67 4d 75 6c 74 69 70 6c 65 42 72 61 6e 64 65 64 22 3b 0a 20 20 20 20 20 20 20 20 76 61 72 | ingMultipleBranded";.........var |
1b9700 | 20 6f 70 65 6e 4b 65 79 20 3d 20 22 74 61 62 73 2e 6f 70 65 6e 42 75 74 74 6f 6e 4d 75 6c 74 69 | .openKey.=."tabs.openButtonMulti |
1b9720 | 70 6c 65 22 3b 0a 20 20 20 20 20 20 20 20 76 61 72 20 73 74 72 69 6e 67 73 20 3d 20 64 6f 63 75 | ple";.........var.strings.=.docu |
1b9740 | 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 70 6c 61 63 65 42 75 6e 64 6c 65 | ment.getElementById("placeBundle |
1b9760 | 22 29 3b 0a 20 20 20 20 20 20 20 20 63 6f 6e 73 74 20 42 52 41 4e 44 49 4e 47 5f 42 55 4e 44 4c | ");.........const.BRANDING_BUNDL |
1b9780 | 45 5f 55 52 49 20 3d 20 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 61 6e 64 69 6e 67 2f 6c 6f 63 61 6c | E_URI.=."chrome://branding/local |
1b97a0 | 65 2f 62 72 61 6e 64 2e 70 72 6f 70 65 72 74 69 65 73 22 3b 0a 20 20 20 20 20 20 20 20 76 61 72 | e/brand.properties";.........var |
1b97c0 | 20 62 72 61 6e 64 53 68 6f 72 74 4e 61 6d 65 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f | .brandShortName.=.Cc["@mozilla.o |
1b97e0 | 72 67 2f 69 6e 74 6c 2f 73 74 72 69 6e 67 62 75 6e 64 6c 65 3b 31 22 5d 2e 0a 20 20 20 20 20 20 | rg/intl/stringbundle;1"]........ |
1b9800 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 53 65 72 76 69 63 | .......................getServic |
1b9820 | 65 28 43 69 2e 6e 73 49 53 74 72 69 6e 67 42 75 6e 64 6c 65 53 65 72 76 69 63 65 29 2e 0a 20 20 | e(Ci.nsIStringBundleService).... |
1b9840 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 72 65 61 74 | ...........................creat |
1b9860 | 65 42 75 6e 64 6c 65 28 42 52 41 4e 44 49 4e 47 5f 42 55 4e 44 4c 45 5f 55 52 49 29 2e 0a 20 20 | eBundle(BRANDING_BUNDLE_URI).... |
1b9880 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 47 65 74 53 74 | ...........................GetSt |
1b98a0 | 72 69 6e 67 46 72 6f 6d 4e 61 6d 65 28 22 62 72 61 6e 64 53 68 6f 72 74 4e 61 6d 65 22 29 3b 0a | ringFromName("brandShortName");. |
1b98c0 | 20 20 20 20 20 20 20 0a 20 20 20 20 20 20 20 20 76 61 72 20 62 75 74 74 6f 6e 50 72 65 73 73 65 | ................var.buttonPresse |
1b98e0 | 64 20 3d 20 70 72 6f 6d 70 74 53 65 72 76 69 63 65 2e 63 6f 6e 66 69 72 6d 45 78 28 77 69 6e 64 | d.=.promptService.confirmEx(wind |
1b9900 | 6f 77 2c 0a 20 20 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 67 65 74 53 | ow,...........PlacesUIUtils.getS |
1b9920 | 74 72 69 6e 67 28 22 74 61 62 73 2e 6f 70 65 6e 57 61 72 6e 69 6e 67 54 69 74 6c 65 22 29 2c 0a | tring("tabs.openWarningTitle"),. |
1b9940 | 20 20 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 67 65 74 46 6f 72 6d 61 | ..........PlacesUIUtils.getForma |
1b9960 | 74 74 65 64 53 74 72 69 6e 67 28 6d 65 73 73 61 67 65 4b 65 79 2c 20 0a 20 20 20 20 20 20 20 20 | ttedString(messageKey,.......... |
1b9980 | 20 20 20 20 5b 6e 75 6d 54 61 62 73 54 6f 4f 70 65 6e 2c 20 62 72 61 6e 64 53 68 6f 72 74 4e 61 | ....[numTabsToOpen,.brandShortNa |
1b99a0 | 6d 65 5d 29 2c 0a 20 20 20 20 20 20 20 20 20 20 28 70 72 6f 6d 70 74 53 65 72 76 69 63 65 2e 42 | me]),...........(promptService.B |
1b99c0 | 55 54 54 4f 4e 5f 54 49 54 4c 45 5f 49 53 5f 53 54 52 49 4e 47 20 2a 20 70 72 6f 6d 70 74 53 65 | UTTON_TITLE_IS_STRING.*.promptSe |
1b99e0 | 72 76 69 63 65 2e 42 55 54 54 4f 4e 5f 50 4f 53 5f 30 29 0a 20 20 20 20 20 20 20 20 20 20 2b 20 | rvice.BUTTON_POS_0)...........+. |
1b9a00 | 28 70 72 6f 6d 70 74 53 65 72 76 69 63 65 2e 42 55 54 54 4f 4e 5f 54 49 54 4c 45 5f 43 41 4e 43 | (promptService.BUTTON_TITLE_CANC |
1b9a20 | 45 4c 20 2a 20 70 72 6f 6d 70 74 53 65 72 76 69 63 65 2e 42 55 54 54 4f 4e 5f 50 4f 53 5f 31 29 | EL.*.promptService.BUTTON_POS_1) |
1b9a40 | 2c 0a 20 20 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 67 65 74 53 74 72 | ,...........PlacesUIUtils.getStr |
1b9a60 | 69 6e 67 28 6f 70 65 6e 4b 65 79 29 2c 0a 20 20 20 20 20 20 20 20 20 20 6e 75 6c 6c 2c 20 6e 75 | ing(openKey),...........null,.nu |
1b9a80 | 6c 6c 2c 0a 20 20 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 67 65 74 46 | ll,...........PlacesUIUtils.getF |
1b9aa0 | 6f 72 6d 61 74 74 65 64 53 74 72 69 6e 67 28 22 74 61 62 73 2e 6f 70 65 6e 57 61 72 6e 69 6e 67 | ormattedString("tabs.openWarning |
1b9ac0 | 50 72 6f 6d 70 74 4d 65 42 72 61 6e 64 65 64 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 5b 62 | PromptMeBranded",.............[b |
1b9ae0 | 72 61 6e 64 53 68 6f 72 74 4e 61 6d 65 5d 29 2c 0a 20 20 20 20 20 20 20 20 20 20 77 61 72 6e 4f | randShortName]),...........warnO |
1b9b00 | 6e 4f 70 65 6e 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 72 65 61 6c 6c 79 4f 70 65 6e 20 3d 20 28 | nOpen);...........reallyOpen.=.( |
1b9b20 | 62 75 74 74 6f 6e 50 72 65 73 73 65 64 20 3d 3d 20 30 29 3b 0a 20 20 20 20 20 20 20 20 20 2f 2f | buttonPressed.==.0);..........// |
1b9b40 | 20 64 6f 6e 27 74 20 73 65 74 20 74 68 65 20 70 72 65 66 20 75 6e 6c 65 73 73 20 74 68 65 79 20 | .don't.set.the.pref.unless.they. |
1b9b60 | 70 72 65 73 73 20 4f 4b 20 61 6e 64 20 69 74 27 73 20 66 61 6c 73 65 0a 20 20 20 20 20 20 20 20 | press.OK.and.it's.false......... |
1b9b80 | 20 69 66 20 28 72 65 61 6c 6c 79 4f 70 65 6e 20 26 26 20 21 77 61 72 6e 4f 6e 4f 70 65 6e 2e 76 | .if.(reallyOpen.&&.!warnOnOpen.v |
1b9ba0 | 61 6c 75 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 70 72 65 66 2e 73 65 74 42 6f 6f 6c 50 72 65 | alue)............pref.setBoolPre |
1b9bc0 | 66 28 6b 57 61 72 6e 4f 6e 4f 70 65 6e 50 72 65 66 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 20 20 | f(kWarnOnOpenPref,.false);...... |
1b9be0 | 20 7d 0a 20 20 20 20 7d 0a 20 20 20 20 72 65 74 75 72 6e 20 72 65 61 6c 6c 79 4f 70 65 6e 3b 0a | .}.....}.....return.reallyOpen;. |
1b9c00 | 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 4f 70 65 6e 73 20 74 68 65 20 6c 69 6e 6b 73 | ..},..../**....*.Opens.the.links |
1b9c20 | 20 69 6e 20 74 68 65 20 73 65 6c 65 63 74 65 64 20 66 6f 6c 64 65 72 2c 20 6f 72 20 74 68 65 20 | .in.the.selected.folder,.or.the. |
1b9c40 | 73 65 6c 65 63 74 65 64 20 6c 69 6e 6b 73 20 69 6e 20 6e 65 77 20 74 61 62 73 2e 20 0a 20 20 20 | selected.links.in.new.tabs...... |
1b9c60 | 2a 2f 0a 20 20 6f 70 65 6e 53 65 6c 65 63 74 69 6f 6e 49 6e 54 61 62 73 3a 20 66 75 6e 63 74 69 | */...openSelectionInTabs:.functi |
1b9c80 | 6f 6e 20 50 43 5f 6f 70 65 6e 4c 69 6e 6b 73 49 6e 54 61 62 73 28 61 45 76 65 6e 74 29 20 7b 0a | on.PC_openLinksInTabs(aEvent).{. |
1b9ca0 | 20 20 20 20 76 61 72 20 6e 6f 64 65 20 3d 20 74 68 69 73 2e 5f 76 69 65 77 2e 73 65 6c 65 63 74 | ....var.node.=.this._view.select |
1b9cc0 | 65 64 4e 6f 64 65 3b 0a 20 20 20 20 69 66 20 28 6e 6f 64 65 20 26 26 20 50 6c 61 63 65 73 55 74 | edNode;.....if.(node.&&.PlacesUt |
1b9ce0 | 69 6c 73 2e 6e 6f 64 65 49 73 43 6f 6e 74 61 69 6e 65 72 28 6e 6f 64 65 29 29 0a 20 20 20 20 20 | ils.nodeIsContainer(node))...... |
1b9d00 | 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 6f 70 65 6e 43 6f 6e 74 61 69 6e 65 72 4e 6f 64 65 | .PlacesUIUtils.openContainerNode |
1b9d20 | 49 6e 54 61 62 73 28 74 68 69 73 2e 5f 76 69 65 77 2e 73 65 6c 65 63 74 65 64 4e 6f 64 65 2c 20 | InTabs(this._view.selectedNode,. |
1b9d40 | 61 45 76 65 6e 74 29 3b 0a 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 50 6c 61 63 65 73 55 49 | aEvent);.....else.......PlacesUI |
1b9d60 | 55 74 69 6c 73 2e 6f 70 65 6e 55 52 49 4e 6f 64 65 73 49 6e 54 61 62 73 28 74 68 69 73 2e 5f 76 | Utils.openURINodesInTabs(this._v |
1b9d80 | 69 65 77 2e 67 65 74 53 65 6c 65 63 74 69 6f 6e 4e 6f 64 65 73 28 29 2c 20 61 45 76 65 6e 74 29 | iew.getSelectionNodes(),.aEvent) |
1b9da0 | 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 53 68 6f 77 73 20 74 68 65 20 41 64 64 | ;...},..../**....*.Shows.the.Add |
1b9dc0 | 20 42 6f 6f 6b 6d 61 72 6b 20 55 49 20 66 6f 72 20 74 68 65 20 63 75 72 72 65 6e 74 20 69 6e 73 | .Bookmark.UI.for.the.current.ins |
1b9de0 | 65 72 74 69 6f 6e 20 70 6f 69 6e 74 2e 0a 20 20 20 2a 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 61 | ertion.point.....*....*.@param.a |
1b9e00 | 54 79 70 65 0a 20 20 20 2a 20 20 20 20 20 20 20 20 74 68 65 20 74 79 70 65 20 6f 66 20 74 68 65 | Type....*........the.type.of.the |
1b9e20 | 20 6e 65 77 20 69 74 65 6d 20 28 62 6f 6f 6b 6d 61 72 6b 2f 6c 69 76 65 6d 61 72 6b 2f 66 6f 6c | .new.item.(bookmark/livemark/fol |
1b9e40 | 64 65 72 29 0a 20 20 20 2a 2f 0a 20 20 6e 65 77 49 74 65 6d 3a 20 66 75 6e 63 74 69 6f 6e 20 50 | der)....*/...newItem:.function.P |
1b9e60 | 43 5f 6e 65 77 49 74 65 6d 28 61 54 79 70 65 29 20 7b 0a 20 20 20 20 76 61 72 20 69 70 20 3d 20 | C_newItem(aType).{.....var.ip.=. |
1b9e80 | 74 68 69 73 2e 5f 76 69 65 77 2e 69 6e 73 65 72 74 69 6f 6e 50 6f 69 6e 74 3b 0a 20 20 20 20 69 | this._view.insertionPoint;.....i |
1b9ea0 | 66 20 28 21 69 70 29 0a 20 20 20 20 20 20 74 68 72 6f 77 20 43 72 2e 4e 53 5f 45 52 52 4f 52 5f | f.(!ip).......throw.Cr.NS_ERROR_ |
1b9ec0 | 4e 4f 54 5f 41 56 41 49 4c 41 42 4c 45 3b 0a 0a 20 20 20 20 76 61 72 20 70 65 72 66 6f 72 6d 65 | NOT_AVAILABLE;......var.performe |
1b9ee0 | 64 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 69 66 20 28 61 54 79 70 65 20 3d 3d 20 22 62 6f 6f | d.=.false;.....if.(aType.==."boo |
1b9f00 | 6b 6d 61 72 6b 22 29 0a 20 20 20 20 20 20 70 65 72 66 6f 72 6d 65 64 20 3d 20 50 6c 61 63 65 73 | kmark").......performed.=.Places |
1b9f20 | 55 49 55 74 69 6c 73 2e 73 68 6f 77 41 64 64 42 6f 6f 6b 6d 61 72 6b 55 49 28 6e 75 6c 6c 2c 20 | UIUtils.showAddBookmarkUI(null,. |
1b9f40 | 6e 75 6c 6c 2c 20 6e 75 6c 6c 2c 20 69 70 29 3b 0a 20 20 20 20 65 6c 73 65 20 69 66 20 28 61 54 | null,.null,.ip);.....else.if.(aT |
1b9f60 | 79 70 65 20 3d 3d 20 22 6c 69 76 65 6d 61 72 6b 22 29 0a 20 20 20 20 20 20 70 65 72 66 6f 72 6d | ype.==."livemark").......perform |
1b9f80 | 65 64 20 3d 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 73 68 6f 77 41 64 64 4c 69 76 65 6d 61 | ed.=.PlacesUIUtils.showAddLivema |
1b9fa0 | 72 6b 55 49 28 6e 75 6c 6c 2c 20 6e 75 6c 6c 2c 20 6e 75 6c 6c 2c 20 6e 75 6c 6c 2c 20 69 70 29 | rkUI(null,.null,.null,.null,.ip) |
1b9fc0 | 3b 0a 20 20 20 20 65 6c 73 65 20 2f 2f 20 66 6f 6c 64 65 72 0a 20 20 20 20 20 20 70 65 72 66 6f | ;.....else.//.folder.......perfo |
1b9fe0 | 72 6d 65 64 20 3d 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 73 68 6f 77 41 64 64 46 6f 6c 64 | rmed.=.PlacesUIUtils.showAddFold |
1ba000 | 65 72 55 49 28 6e 75 6c 6c 2c 20 69 70 29 3b 0a 0a 20 20 20 20 69 66 20 28 70 65 72 66 6f 72 6d | erUI(null,.ip);......if.(perform |
1ba020 | 65 64 29 20 7b 0a 20 20 20 20 20 20 2f 2f 20 73 65 6c 65 63 74 20 74 68 65 20 6e 65 77 20 69 74 | ed).{.......//.select.the.new.it |
1ba040 | 65 6d 0a 20 20 20 20 20 20 76 61 72 20 69 6e 73 65 72 74 65 64 4e 6f 64 65 49 64 20 3d 20 50 6c | em.......var.insertedNodeId.=.Pl |
1ba060 | 61 63 65 73 55 74 69 6c 73 2e 62 6f 6f 6b 6d 61 72 6b 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 | acesUtils.bookmarks............. |
1ba080 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 49 64 | ...........................getId |
1ba0a0 | 46 6f 72 49 74 65 6d 41 74 28 69 70 2e 69 74 65 6d 49 64 2c 20 69 70 2e 69 6e 64 65 78 29 3b 0a | ForItemAt(ip.itemId,.ip.index);. |
1ba0c0 | 20 20 20 20 20 20 74 68 69 73 2e 5f 76 69 65 77 2e 73 65 6c 65 63 74 49 74 65 6d 73 28 5b 69 6e | ......this._view.selectItems([in |
1ba0e0 | 73 65 72 74 65 64 4e 6f 64 65 49 64 5d 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 20 7d 0a 20 20 7d | sertedNodeId],.false);.....}...} |
1ba100 | 2c 0a 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 43 72 65 61 74 65 20 61 20 6e 65 77 20 42 6f 6f 6b | ,...../**....*.Create.a.new.Book |
1ba120 | 6d 61 72 6b 20 66 6f 6c 64 65 72 20 73 6f 6d 65 77 68 65 72 65 2e 20 50 72 6f 6d 70 74 73 20 74 | mark.folder.somewhere..Prompts.t |
1ba140 | 68 65 20 75 73 65 72 20 66 6f 72 20 74 68 65 20 6e 61 6d 65 0a 20 20 20 2a 20 6f 66 20 74 68 65 | he.user.for.the.name....*.of.the |
1ba160 | 20 66 6f 6c 64 65 72 2e 20 0a 20 20 20 2a 2f 0a 20 20 6e 65 77 46 6f 6c 64 65 72 3a 20 66 75 6e | .folder......*/...newFolder:.fun |
1ba180 | 63 74 69 6f 6e 20 50 43 5f 6e 65 77 46 6f 6c 64 65 72 28 29 20 7b 0a 20 20 20 20 76 61 72 20 69 | ction.PC_newFolder().{.....var.i |
1ba1a0 | 70 20 3d 20 74 68 69 73 2e 5f 76 69 65 77 2e 69 6e 73 65 72 74 69 6f 6e 50 6f 69 6e 74 3b 0a 20 | p.=.this._view.insertionPoint;.. |
1ba1c0 | 20 20 20 69 66 20 28 21 69 70 29 0a 20 20 20 20 20 20 74 68 72 6f 77 20 43 72 2e 4e 53 5f 45 52 | ...if.(!ip).......throw.Cr.NS_ER |
1ba1e0 | 52 4f 52 5f 4e 4f 54 5f 41 56 41 49 4c 41 42 4c 45 3b 0a 0a 20 20 20 20 76 61 72 20 70 65 72 66 | ROR_NOT_AVAILABLE;......var.perf |
1ba200 | 6f 72 6d 65 64 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 70 65 72 66 6f 72 6d 65 64 20 3d 20 50 | ormed.=.false;.....performed.=.P |
1ba220 | 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 73 68 6f 77 41 64 64 46 6f 6c 64 65 72 55 49 28 6e 75 6c | lacesUIUtils.showAddFolderUI(nul |
1ba240 | 6c 2c 20 69 70 29 3b 0a 20 20 20 20 69 66 20 28 70 65 72 66 6f 72 6d 65 64 29 20 7b 0a 20 20 20 | l,.ip);.....if.(performed).{.... |
1ba260 | 20 20 20 2f 2f 20 73 65 6c 65 63 74 20 74 68 65 20 6e 65 77 20 69 74 65 6d 0a 20 20 20 20 20 20 | ...//.select.the.new.item....... |
1ba280 | 76 61 72 20 69 6e 73 65 72 74 65 64 4e 6f 64 65 49 64 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 | var.insertedNodeId.=.PlacesUtils |
1ba2a0 | 2e 62 6f 6f 6b 6d 61 72 6b 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .bookmarks...................... |
1ba2c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 49 64 46 6f 72 49 74 65 6d 41 74 | ..................getIdForItemAt |
1ba2e0 | 28 69 70 2e 69 74 65 6d 49 64 2c 20 69 70 2e 69 6e 64 65 78 29 3b 0a 20 20 20 20 20 20 74 68 69 | (ip.itemId,.ip.index);.......thi |
1ba300 | 73 2e 5f 76 69 65 77 2e 73 65 6c 65 63 74 49 74 65 6d 73 28 5b 69 6e 73 65 72 74 65 64 4e 6f 64 | s._view.selectItems([insertedNod |
1ba320 | 65 49 64 5d 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a | eId],.false);.....}...},..../**. |
1ba340 | 20 20 20 2a 20 43 72 65 61 74 65 20 61 20 6e 65 77 20 42 6f 6f 6b 6d 61 72 6b 20 73 65 70 61 72 | ...*.Create.a.new.Bookmark.separ |
1ba360 | 61 74 6f 72 20 73 6f 6d 65 77 68 65 72 65 2e 0a 20 20 20 2a 2f 0a 20 20 6e 65 77 53 65 70 61 72 | ator.somewhere.....*/...newSepar |
1ba380 | 61 74 6f 72 3a 20 66 75 6e 63 74 69 6f 6e 20 50 43 5f 6e 65 77 53 65 70 61 72 61 74 6f 72 28 29 | ator:.function.PC_newSeparator() |
1ba3a0 | 20 7b 0a 20 20 20 20 76 61 72 20 69 70 20 3d 20 74 68 69 73 2e 5f 76 69 65 77 2e 69 6e 73 65 72 | .{.....var.ip.=.this._view.inser |
1ba3c0 | 74 69 6f 6e 50 6f 69 6e 74 3b 0a 20 20 20 20 69 66 20 28 21 69 70 29 0a 20 20 20 20 20 20 74 68 | tionPoint;.....if.(!ip).......th |
1ba3e0 | 72 6f 77 20 43 72 2e 4e 53 5f 45 52 52 4f 52 5f 4e 4f 54 5f 41 56 41 49 4c 41 42 4c 45 3b 0a 20 | row.Cr.NS_ERROR_NOT_AVAILABLE;.. |
1ba400 | 20 20 20 76 61 72 20 74 78 6e 20 3d 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 70 74 6d 2e 63 | ...var.txn.=.PlacesUIUtils.ptm.c |
1ba420 | 72 65 61 74 65 53 65 70 61 72 61 74 6f 72 28 69 70 2e 69 74 65 6d 49 64 2c 20 69 70 2e 69 6e 64 | reateSeparator(ip.itemId,.ip.ind |
1ba440 | 65 78 29 3b 0a 20 20 20 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 70 74 6d 2e 64 6f 54 72 61 | ex);.....PlacesUIUtils.ptm.doTra |
1ba460 | 6e 73 61 63 74 69 6f 6e 28 74 78 6e 29 3b 0a 20 20 20 20 2f 2f 20 73 65 6c 65 63 74 20 74 68 65 | nsaction(txn);.....//.select.the |
1ba480 | 20 6e 65 77 20 69 74 65 6d 0a 20 20 20 20 76 61 72 20 69 6e 73 65 72 74 65 64 4e 6f 64 65 49 64 | .new.item.....var.insertedNodeId |
1ba4a0 | 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 62 6f 6f 6b 6d 61 72 6b 73 0a 20 20 20 20 20 20 20 | .=.PlacesUtils.bookmarks........ |
1ba4c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 | ..............................ge |
1ba4e0 | 74 49 64 46 6f 72 49 74 65 6d 41 74 28 69 70 2e 69 74 65 6d 49 64 2c 20 69 70 2e 69 6e 64 65 78 | tIdForItemAt(ip.itemId,.ip.index |
1ba500 | 29 3b 0a 20 20 20 20 74 68 69 73 2e 5f 76 69 65 77 2e 73 65 6c 65 63 74 49 74 65 6d 73 28 5b 69 | );.....this._view.selectItems([i |
1ba520 | 6e 73 65 72 74 65 64 4e 6f 64 65 49 64 5d 2c 20 66 61 6c 73 65 29 3b 0a 20 20 7d 2c 0a 0a 20 20 | nsertedNodeId],.false);...},.... |
1ba540 | 2f 2a 2a 0a 20 20 20 2a 20 4f 70 65 6e 73 20 61 20 64 69 61 6c 6f 67 20 66 6f 72 20 6d 6f 76 69 | /**....*.Opens.a.dialog.for.movi |
1ba560 | 6e 67 20 74 68 65 20 73 65 6c 65 63 74 65 64 20 6e 6f 64 65 73 2e 0a 20 20 20 2a 2f 0a 20 20 6d | ng.the.selected.nodes.....*/...m |
1ba580 | 6f 76 65 53 65 6c 65 63 74 65 64 42 6f 6f 6b 6d 61 72 6b 73 3a 20 66 75 6e 63 74 69 6f 6e 20 50 | oveSelectedBookmarks:.function.P |
1ba5a0 | 43 5f 6d 6f 76 65 42 6f 6f 6b 6d 61 72 6b 73 28 29 20 7b 0a 20 20 20 20 77 69 6e 64 6f 77 2e 6f | C_moveBookmarks().{.....window.o |
1ba5c0 | 70 65 6e 44 69 61 6c 6f 67 28 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 | penDialog("chrome://browser/cont |
1ba5e0 | 65 6e 74 2f 70 6c 61 63 65 73 2f 6d 6f 76 65 42 6f 6f 6b 6d 61 72 6b 73 2e 78 75 6c 22 2c 0a 20 | ent/places/moveBookmarks.xul",.. |
1ba600 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 22 2c 20 22 63 68 72 6f 6d 65 | ....................."",."chrome |
1ba620 | 2c 20 6d 6f 64 61 6c 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ,.modal",....................... |
1ba640 | 74 68 69 73 2e 5f 76 69 65 77 2e 67 65 74 53 65 6c 65 63 74 69 6f 6e 4e 6f 64 65 73 28 29 29 3b | this._view.getSelectionNodes()); |
1ba660 | 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 53 6f 72 74 20 74 68 65 20 73 65 6c 65 63 | ...},..../**....*.Sort.the.selec |
1ba680 | 74 65 64 20 66 6f 6c 64 65 72 20 62 79 20 6e 61 6d 65 0a 20 20 20 2a 2f 0a 20 20 73 6f 72 74 46 | ted.folder.by.name....*/...sortF |
1ba6a0 | 6f 6c 64 65 72 42 79 4e 61 6d 65 3a 20 66 75 6e 63 74 69 6f 6e 20 50 43 5f 73 6f 72 74 46 6f 6c | olderByName:.function.PC_sortFol |
1ba6c0 | 64 65 72 42 79 4e 61 6d 65 28 29 20 7b 0a 20 20 20 20 76 61 72 20 69 74 65 6d 49 64 20 3d 20 50 | derByName().{.....var.itemId.=.P |
1ba6e0 | 6c 61 63 65 73 55 74 69 6c 73 2e 67 65 74 43 6f 6e 63 72 65 74 65 49 74 65 6d 49 64 28 74 68 69 | lacesUtils.getConcreteItemId(thi |
1ba700 | 73 2e 5f 76 69 65 77 2e 73 65 6c 65 63 74 65 64 4e 6f 64 65 29 3b 0a 20 20 20 20 76 61 72 20 74 | s._view.selectedNode);.....var.t |
1ba720 | 78 6e 20 3d 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 70 74 6d 2e 73 6f 72 74 46 6f 6c 64 65 | xn.=.PlacesUIUtils.ptm.sortFolde |
1ba740 | 72 42 79 4e 61 6d 65 28 69 74 65 6d 49 64 29 3b 0a 20 20 20 20 50 6c 61 63 65 73 55 49 55 74 69 | rByName(itemId);.....PlacesUIUti |
1ba760 | 6c 73 2e 70 74 6d 2e 64 6f 54 72 61 6e 73 61 63 74 69 6f 6e 28 74 78 6e 29 3b 0a 20 20 7d 2c 0a | ls.ptm.doTransaction(txn);...},. |
1ba780 | 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 57 61 6c 6b 20 74 68 65 20 6c 69 73 74 20 6f 66 20 66 6f 6c | .../**....*.Walk.the.list.of.fol |
1ba7a0 | 64 65 72 73 20 77 65 27 72 65 20 72 65 6d 6f 76 69 6e 67 20 69 6e 20 74 68 69 73 20 64 65 6c 65 | ders.we're.removing.in.this.dele |
1ba7c0 | 74 65 20 6f 70 65 72 61 74 69 6f 6e 2c 20 61 6e 64 0a 20 20 20 2a 20 73 65 65 20 69 66 20 74 68 | te.operation,.and....*.see.if.th |
1ba7e0 | 65 20 73 65 6c 65 63 74 65 64 20 6e 6f 64 65 20 73 70 65 63 69 66 69 65 64 20 69 73 20 61 6c 72 | e.selected.node.specified.is.alr |
1ba800 | 65 61 64 79 20 69 6d 70 6c 69 63 69 74 6c 79 20 62 65 69 6e 67 20 72 65 6d 6f 76 65 64 20 0a 20 | eady.implicitly.being.removed... |
1ba820 | 20 20 2a 20 62 65 63 61 75 73 65 20 69 74 20 69 73 20 61 20 63 68 69 6c 64 20 6f 66 20 74 68 61 | ..*.because.it.is.a.child.of.tha |
1ba840 | 74 20 66 6f 6c 64 65 72 2e 20 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 20 20 6e 6f 64 65 0a 20 20 | t.folder......*.@param...node... |
1ba860 | 20 2a 20 20 20 20 20 20 20 20 20 20 4e 6f 64 65 20 74 6f 20 63 68 65 63 6b 20 66 6f 72 20 63 6f | .*..........Node.to.check.for.co |
1ba880 | 6e 74 61 69 6e 6d 65 6e 74 2e 20 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 20 20 70 61 73 74 46 6f | ntainment......*.@param...pastFo |
1ba8a0 | 6c 64 65 72 73 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 4c 69 73 74 20 6f 66 20 66 6f 6c 64 | lders....*..........List.of.fold |
1ba8c0 | 65 72 73 20 74 68 65 20 63 61 6c 6c 69 6e 67 20 66 75 6e 63 74 69 6f 6e 20 68 61 73 20 61 6c 72 | ers.the.calling.function.has.alr |
1ba8e0 | 65 61 64 79 20 74 72 61 76 65 72 73 65 64 0a 20 20 20 2a 20 40 72 65 74 75 72 6e 73 20 74 72 75 | eady.traversed....*.@returns.tru |
1ba900 | 65 20 69 66 20 74 68 65 20 6e 6f 64 65 20 73 68 6f 75 6c 64 20 62 65 20 73 6b 69 70 70 65 64 2c | e.if.the.node.should.be.skipped, |
1ba920 | 20 66 61 6c 73 65 20 6f 74 68 65 72 77 69 73 65 2e 20 0a 20 20 20 2a 2f 0a 20 20 5f 73 68 6f 75 | .false.otherwise......*/..._shou |
1ba940 | 6c 64 53 6b 69 70 4e 6f 64 65 3a 20 66 75 6e 63 74 69 6f 6e 20 50 43 5f 73 68 6f 75 6c 64 53 6b | ldSkipNode:.function.PC_shouldSk |
1ba960 | 69 70 4e 6f 64 65 28 6e 6f 64 65 2c 20 70 61 73 74 46 6f 6c 64 65 72 73 29 20 7b 0a 20 20 20 20 | ipNode(node,.pastFolders).{..... |
1ba980 | 2f 2a 2a 0a 20 20 20 20 20 2a 20 44 65 74 65 72 6d 69 6e 65 73 20 69 66 20 61 20 6e 6f 64 65 20 | /**......*.Determines.if.a.node. |
1ba9a0 | 69 73 20 63 6f 6e 74 61 69 6e 65 64 20 62 79 20 61 6e 6f 74 68 65 72 20 6e 6f 64 65 20 77 69 74 | is.contained.by.another.node.wit |
1ba9c0 | 68 69 6e 20 61 20 72 65 73 75 6c 74 73 65 74 2e 20 0a 20 20 20 20 20 2a 20 40 70 61 72 61 6d 20 | hin.a.resultset........*.@param. |
1ba9e0 | 20 20 6e 6f 64 65 0a 20 20 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 54 68 65 20 6e 6f 64 65 20 | ..node......*..........The.node. |
1baa00 | 74 6f 20 63 68 65 63 6b 20 66 6f 72 20 63 6f 6e 74 61 69 6e 6d 65 6e 74 20 66 6f 72 0a 20 20 20 | to.check.for.containment.for.... |
1baa20 | 20 20 2a 20 40 70 61 72 61 6d 20 20 20 70 61 72 65 6e 74 0a 20 20 20 20 20 2a 20 20 20 20 20 20 | ..*.@param...parent......*...... |
1baa40 | 20 20 20 20 54 68 65 20 70 61 72 65 6e 74 20 63 6f 6e 74 61 69 6e 65 72 20 74 6f 20 63 68 65 63 | ....The.parent.container.to.chec |
1baa60 | 6b 20 66 6f 72 20 63 6f 6e 74 61 69 6e 6d 65 6e 74 20 69 6e 0a 20 20 20 20 20 2a 20 40 72 65 74 | k.for.containment.in......*.@ret |
1baa80 | 75 72 6e 73 20 74 72 75 65 20 69 66 20 6e 6f 64 65 20 69 73 20 61 20 6d 65 6d 62 65 72 20 6f 66 | urns.true.if.node.is.a.member.of |
1baaa0 | 20 70 61 72 65 6e 74 27 73 20 63 68 69 6c 64 72 65 6e 2c 20 66 61 6c 73 65 20 6f 74 68 65 72 77 | .parent's.children,.false.otherw |
1baac0 | 69 73 65 2e 0a 20 20 20 20 20 2a 2f 0a 20 20 20 20 66 75 6e 63 74 69 6f 6e 20 69 73 43 6f 6e 74 | ise.......*/.....function.isCont |
1baae0 | 61 69 6e 65 64 42 79 28 6e 6f 64 65 2c 20 70 61 72 65 6e 74 29 20 7b 0a 20 20 20 20 20 20 76 61 | ainedBy(node,.parent).{.......va |
1bab00 | 72 20 63 75 72 73 6f 72 20 3d 20 6e 6f 64 65 2e 70 61 72 65 6e 74 3b 0a 20 20 20 20 20 20 77 68 | r.cursor.=.node.parent;.......wh |
1bab20 | 69 6c 65 20 28 63 75 72 73 6f 72 29 20 7b 0a 20 20 20 20 20 20 20 20 69 66 20 28 63 75 72 73 6f | ile.(cursor).{.........if.(curso |
1bab40 | 72 20 3d 3d 20 70 61 72 65 6e 74 29 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 72 | r.==.parent)...........return.tr |
1bab60 | 75 65 3b 0a 20 20 20 20 20 20 20 20 63 75 72 73 6f 72 20 3d 20 63 75 72 73 6f 72 2e 70 61 72 65 | ue;.........cursor.=.cursor.pare |
1bab80 | 6e 74 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 0a | nt;.......}.......return.false;. |
1baba0 | 20 20 20 20 7d 0a 20 20 0a 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 6a 20 3d 20 30 3b 20 6a | ....}..........for.(var.j.=.0;.j |
1babc0 | 20 3c 20 70 61 73 74 46 6f 6c 64 65 72 73 2e 6c 65 6e 67 74 68 3b 20 2b 2b 6a 29 20 7b 0a 20 20 | .<.pastFolders.length;.++j).{... |
1babe0 | 20 20 20 20 20 20 69 66 20 28 69 73 43 6f 6e 74 61 69 6e 65 64 42 79 28 6e 6f 64 65 2c 20 70 61 | ......if.(isContainedBy(node,.pa |
1bac00 | 73 74 46 6f 6c 64 65 72 73 5b 6a 5d 29 29 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 | stFolders[j]))...........return. |
1bac20 | 74 72 75 65 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 66 61 6c 73 65 | true;.......}.......return.false |
1bac40 | 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 43 72 65 61 74 65 73 20 61 20 73 65 74 | ;...},..../**....*.Creates.a.set |
1bac60 | 20 6f 66 20 74 72 61 6e 73 61 63 74 69 6f 6e 73 20 66 6f 72 20 74 68 65 20 72 65 6d 6f 76 61 6c | .of.transactions.for.the.removal |
1bac80 | 20 6f 66 20 61 20 72 61 6e 67 65 20 6f 66 20 69 74 65 6d 73 2e 20 0a 20 20 20 2a 20 41 20 72 61 | .of.a.range.of.items......*.A.ra |
1baca0 | 6e 67 65 20 69 73 20 61 6e 20 61 72 72 61 79 20 6f 66 20 61 64 6a 61 63 65 6e 74 20 6e 6f 64 65 | nge.is.an.array.of.adjacent.node |
1bacc0 | 73 20 69 6e 20 61 20 76 69 65 77 2e 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 20 20 5b 69 6e 5d 20 | s.in.a.view.....*.@param...[in]. |
1bace0 | 72 61 6e 67 65 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 41 6e 20 61 72 72 61 79 20 6f 66 20 | range....*..........An.array.of. |
1bad00 | 6e 6f 64 65 73 20 74 6f 20 72 65 6d 6f 76 65 2e 20 53 68 6f 75 6c 64 20 61 6c 6c 20 62 65 20 61 | nodes.to.remove..Should.all.be.a |
1bad20 | 64 6a 61 63 65 6e 74 2e 20 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 20 20 5b 6f 75 74 5d 20 74 72 | djacent......*.@param...[out].tr |
1bad40 | 61 6e 73 61 63 74 69 6f 6e 73 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 41 6e 20 61 72 72 61 | ansactions....*..........An.arra |
1bad60 | 79 20 6f 66 20 74 72 61 6e 73 61 63 74 69 6f 6e 73 2e 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 20 | y.of.transactions.....*.@param.. |
1bad80 | 20 5b 6f 70 74 69 6f 6e 61 6c 5d 20 72 65 6d 6f 76 65 64 46 6f 6c 64 65 72 73 0a 20 20 20 2a 20 | .[optional].removedFolders....*. |
1bada0 | 20 20 20 20 20 20 20 20 20 41 6e 20 61 72 72 61 79 20 6f 66 20 66 6f 6c 64 65 72 20 6e 6f 64 65 | .........An.array.of.folder.node |
1badc0 | 73 20 74 68 61 74 20 68 61 76 65 20 61 6c 72 65 61 64 79 20 62 65 65 6e 20 72 65 6d 6f 76 65 64 | s.that.have.already.been.removed |
1bade0 | 2e 0a 20 20 20 2a 2f 0a 20 20 5f 72 65 6d 6f 76 65 52 61 6e 67 65 3a 20 66 75 6e 63 74 69 6f 6e | .....*/..._removeRange:.function |
1bae00 | 20 50 43 5f 5f 72 65 6d 6f 76 65 52 61 6e 67 65 28 72 61 6e 67 65 2c 20 74 72 61 6e 73 61 63 74 | .PC__removeRange(range,.transact |
1bae20 | 69 6f 6e 73 2c 20 72 65 6d 6f 76 65 64 46 6f 6c 64 65 72 73 29 20 7b 0a 20 20 20 20 4e 53 5f 41 | ions,.removedFolders).{.....NS_A |
1bae40 | 53 53 45 52 54 28 74 72 61 6e 73 61 63 74 69 6f 6e 73 20 69 6e 73 74 61 6e 63 65 6f 66 20 41 72 | SSERT(transactions.instanceof.Ar |
1bae60 | 72 61 79 2c 20 22 4d 75 73 74 20 70 61 73 73 20 61 20 74 72 61 6e 73 61 63 74 69 6f 6e 73 20 61 | ray,."Must.pass.a.transactions.a |
1bae80 | 72 72 61 79 22 29 3b 0a 20 20 20 20 69 66 20 28 21 72 65 6d 6f 76 65 64 46 6f 6c 64 65 72 73 29 | rray");.....if.(!removedFolders) |
1baea0 | 0a 20 20 20 20 20 20 72 65 6d 6f 76 65 64 46 6f 6c 64 65 72 73 20 3d 20 5b 5d 3b 0a 0a 20 20 20 | .......removedFolders.=.[];..... |
1baec0 | 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 72 61 6e 67 65 2e 6c 65 6e 67 74 | .for.(var.i.=.0;.i.<.range.lengt |
1baee0 | 68 3b 20 2b 2b 69 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 6e 6f 64 65 20 3d 20 72 61 6e 67 65 | h;.++i).{.......var.node.=.range |
1baf00 | 5b 69 5d 3b 0a 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 73 68 6f 75 6c 64 53 6b 69 70 4e | [i];.......if.(this._shouldSkipN |
1baf20 | 6f 64 65 28 6e 6f 64 65 2c 20 72 65 6d 6f 76 65 64 46 6f 6c 64 65 72 73 29 29 0a 20 20 20 20 20 | ode(node,.removedFolders))...... |
1baf40 | 20 20 20 63 6f 6e 74 69 6e 75 65 3b 0a 0a 20 20 20 20 20 20 69 66 20 28 50 6c 61 63 65 73 55 74 | ...continue;........if.(PlacesUt |
1baf60 | 69 6c 73 2e 6e 6f 64 65 49 73 54 61 67 51 75 65 72 79 28 6e 6f 64 65 2e 70 61 72 65 6e 74 29 29 | ils.nodeIsTagQuery(node.parent)) |
1baf80 | 20 7b 0a 20 20 20 20 20 20 20 20 2f 2f 20 54 68 69 73 20 69 73 20 61 20 75 72 69 20 6e 6f 64 65 | .{.........//.This.is.a.uri.node |
1bafa0 | 20 69 6e 73 69 64 65 20 61 20 74 61 67 20 63 6f 6e 74 61 69 6e 65 72 2e 20 20 49 74 20 6e 65 65 | .inside.a.tag.container...It.nee |
1bafc0 | 64 73 20 61 20 73 70 65 63 69 61 6c 0a 20 20 20 20 20 20 20 20 2f 2f 20 75 6e 74 61 67 20 74 72 | ds.a.special.........//.untag.tr |
1bafe0 | 61 6e 73 61 63 74 69 6f 6e 2e 0a 20 20 20 20 20 20 20 20 76 61 72 20 74 61 67 49 74 65 6d 49 64 | ansaction..........var.tagItemId |
1bb000 | 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 67 65 74 43 6f 6e 63 72 65 74 65 49 74 65 6d 49 64 | .=.PlacesUtils.getConcreteItemId |
1bb020 | 28 6e 6f 64 65 2e 70 61 72 65 6e 74 29 3b 0a 20 20 20 20 20 20 20 20 76 61 72 20 75 72 69 20 3d | (node.parent);.........var.uri.= |
1bb040 | 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 5f 75 72 69 28 6e 6f 64 65 2e 75 72 69 29 3b 0a 20 20 20 | .PlacesUtils._uri(node.uri);.... |
1bb060 | 20 20 20 20 20 74 72 61 6e 73 61 63 74 69 6f 6e 73 2e 70 75 73 68 28 50 6c 61 63 65 73 55 49 55 | .....transactions.push(PlacesUIU |
1bb080 | 74 69 6c 73 2e 70 74 6d 2e 75 6e 74 61 67 55 52 49 28 75 72 69 2c 20 5b 74 61 67 49 74 65 6d 49 | tils.ptm.untagURI(uri,.[tagItemI |
1bb0a0 | 64 5d 29 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 65 6c 73 65 20 69 66 20 28 50 6c 61 | d]));.......}.......else.if.(Pla |
1bb0c0 | 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 54 61 67 51 75 65 72 79 28 6e 6f 64 65 29 20 26 26 | cesUtils.nodeIsTagQuery(node).&& |
1bb0e0 | 20 6e 6f 64 65 2e 70 61 72 65 6e 74 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 50 | .node.parent.&&................P |
1bb100 | 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 51 75 65 72 79 28 6e 6f 64 65 2e 70 61 72 65 | lacesUtils.nodeIsQuery(node.pare |
1bb120 | 6e 74 29 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 73 51 75 65 72 79 28 6e 6f | nt).&&................asQuery(no |
1bb140 | 64 65 2e 70 61 72 65 6e 74 29 2e 71 75 65 72 79 4f 70 74 69 6f 6e 73 2e 72 65 73 75 6c 74 54 79 | de.parent).queryOptions.resultTy |
1bb160 | 70 65 20 3d 3d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 43 69 2e 6e 73 49 4e 61 76 | pe.==..................Ci.nsINav |
1bb180 | 48 69 73 74 6f 72 79 51 75 65 72 79 4f 70 74 69 6f 6e 73 2e 52 45 53 55 4c 54 53 5f 41 53 5f 54 | HistoryQueryOptions.RESULTS_AS_T |
1bb1a0 | 41 47 5f 51 55 45 52 59 29 20 7b 0a 20 20 20 20 20 20 20 20 2f 2f 20 54 68 69 73 20 69 73 20 61 | AG_QUERY).{.........//.This.is.a |
1bb1c0 | 20 74 61 67 20 63 6f 6e 74 61 69 6e 65 72 2e 0a 20 20 20 20 20 20 20 20 2f 2f 20 55 6e 74 61 67 | .tag.container..........//.Untag |
1bb1e0 | 20 61 6c 6c 20 55 52 49 73 20 74 61 67 67 65 64 20 77 69 74 68 20 74 68 69 73 20 74 61 67 20 6f | .all.URIs.tagged.with.this.tag.o |
1bb200 | 6e 6c 79 20 69 66 20 74 68 65 20 74 61 67 20 63 6f 6e 74 61 69 6e 65 72 20 69 73 0a 20 20 20 20 | nly.if.the.tag.container.is..... |
1bb220 | 20 20 20 20 2f 2f 20 63 68 69 6c 64 20 6f 66 20 74 68 65 20 22 54 61 67 73 22 20 71 75 65 72 79 | ....//.child.of.the."Tags".query |
1bb240 | 20 69 6e 20 74 68 65 20 6c 69 62 72 61 72 79 2c 20 69 6e 20 61 6c 6c 20 6f 74 68 65 72 20 70 6c | .in.the.library,.in.all.other.pl |
1bb260 | 61 63 65 73 20 77 65 0a 20 20 20 20 20 20 20 20 2f 2f 20 6d 75 73 74 20 6f 6e 6c 79 20 72 65 6d | aces.we.........//.must.only.rem |
1bb280 | 6f 76 65 20 74 68 65 20 71 75 65 72 79 20 6e 6f 64 65 2e 0a 20 20 20 20 20 20 20 20 76 61 72 20 | ove.the.query.node..........var. |
1bb2a0 | 74 61 67 20 3d 20 6e 6f 64 65 2e 74 69 74 6c 65 3b 0a 20 20 20 20 20 20 20 20 76 61 72 20 55 52 | tag.=.node.title;.........var.UR |
1bb2c0 | 49 73 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 74 61 67 67 69 6e 67 2e 67 65 74 55 52 49 73 | Is.=.PlacesUtils.tagging.getURIs |
1bb2e0 | 46 6f 72 54 61 67 28 74 61 67 29 3b 0a 20 20 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 6a 20 | ForTag(tag);.........for.(var.j. |
1bb300 | 3d 20 30 3b 20 6a 20 3c 20 55 52 49 73 2e 6c 65 6e 67 74 68 3b 20 6a 2b 2b 29 0a 20 20 20 20 20 | =.0;.j.<.URIs.length;.j++)...... |
1bb320 | 20 20 20 20 20 74 72 61 6e 73 61 63 74 69 6f 6e 73 2e 70 75 73 68 28 50 6c 61 63 65 73 55 49 55 | .....transactions.push(PlacesUIU |
1bb340 | 74 69 6c 73 2e 70 74 6d 2e 75 6e 74 61 67 55 52 49 28 55 52 49 73 5b 6a 5d 2c 20 5b 74 61 67 5d | tils.ptm.untagURI(URIs[j],.[tag] |
1bb360 | 29 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 65 6c 73 65 20 69 66 20 28 50 6c 61 63 65 | ));.......}.......else.if.(Place |
1bb380 | 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 55 52 49 28 6e 6f 64 65 29 20 26 26 0a 20 20 20 20 20 20 | sUtils.nodeIsURI(node).&&....... |
1bb3a0 | 20 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 51 75 65 72 79 | .........PlacesUtils.nodeIsQuery |
1bb3c0 | 28 6e 6f 64 65 2e 70 61 72 65 6e 74 29 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | (node.parent).&&................ |
1bb3e0 | 61 73 51 75 65 72 79 28 6e 6f 64 65 2e 70 61 72 65 6e 74 29 2e 71 75 65 72 79 4f 70 74 69 6f 6e | asQuery(node.parent).queryOption |
1bb400 | 73 2e 71 75 65 72 79 54 79 70 65 20 3d 3d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | s.queryType.==.................. |
1bb420 | 43 69 2e 6e 73 49 4e 61 76 48 69 73 74 6f 72 79 51 75 65 72 79 4f 70 74 69 6f 6e 73 2e 51 55 45 | Ci.nsINavHistoryQueryOptions.QUE |
1bb440 | 52 59 5f 54 59 50 45 5f 48 49 53 54 4f 52 59 29 20 7b 0a 20 20 20 20 20 20 20 20 2f 2f 20 54 68 | RY_TYPE_HISTORY).{.........//.Th |
1bb460 | 69 73 20 69 73 20 61 20 75 72 69 20 6e 6f 64 65 20 69 6e 73 69 64 65 20 61 6e 20 68 69 73 74 6f | is.is.a.uri.node.inside.an.histo |
1bb480 | 72 79 20 71 75 65 72 79 2e 0a 20 20 20 20 20 20 20 20 76 61 72 20 62 68 69 73 74 20 3d 20 50 6c | ry.query..........var.bhist.=.Pl |
1bb4a0 | 61 63 65 73 55 74 69 6c 73 2e 68 69 73 74 6f 72 79 2e 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 | acesUtils.history.QueryInterface |
1bb4c0 | 28 43 69 2e 6e 73 49 42 72 6f 77 73 65 72 48 69 73 74 6f 72 79 29 3b 0a 20 20 20 20 20 20 20 20 | (Ci.nsIBrowserHistory);......... |
1bb4e0 | 62 68 69 73 74 2e 72 65 6d 6f 76 65 50 61 67 65 28 50 6c 61 63 65 73 55 74 69 6c 73 2e 5f 75 72 | bhist.removePage(PlacesUtils._ur |
1bb500 | 69 28 6e 6f 64 65 2e 75 72 69 29 29 3b 0a 20 20 20 20 20 20 20 20 2f 2f 20 48 69 73 74 6f 72 79 | i(node.uri));.........//.History |
1bb520 | 20 64 65 6c 65 74 65 73 20 61 72 65 20 6e 6f 74 20 75 6e 64 6f 61 62 6c 65 2c 20 73 6f 20 77 65 | .deletes.are.not.undoable,.so.we |
1bb540 | 20 64 6f 6e 27 74 20 68 61 76 65 20 61 20 74 72 61 6e 73 61 63 74 69 6f 6e 2e 0a 20 20 20 20 20 | .don't.have.a.transaction....... |
1bb560 | 20 7d 0a 20 20 20 20 20 20 65 6c 73 65 20 69 66 20 28 6e 6f 64 65 2e 69 74 65 6d 49 64 20 3d 3d | .}.......else.if.(node.itemId.== |
1bb580 | 20 2d 31 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 55 74 69 6c | .-1.&&................PlacesUtil |
1bb5a0 | 73 2e 6e 6f 64 65 49 73 51 75 65 72 79 28 6e 6f 64 65 29 20 26 26 0a 20 20 20 20 20 20 20 20 20 | s.nodeIsQuery(node).&&.......... |
1bb5c0 | 20 20 20 20 20 20 61 73 51 75 65 72 79 28 6e 6f 64 65 29 2e 71 75 65 72 79 4f 70 74 69 6f 6e 73 | ......asQuery(node).queryOptions |
1bb5e0 | 2e 71 75 65 72 79 54 79 70 65 20 3d 3d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 43 | .queryType.==..................C |
1bb600 | 69 2e 6e 73 49 4e 61 76 48 69 73 74 6f 72 79 51 75 65 72 79 4f 70 74 69 6f 6e 73 2e 51 55 45 52 | i.nsINavHistoryQueryOptions.QUER |
1bb620 | 59 5f 54 59 50 45 5f 48 49 53 54 4f 52 59 29 20 7b 0a 20 20 20 20 20 20 20 20 2f 2f 20 54 68 69 | Y_TYPE_HISTORY).{.........//.Thi |
1bb640 | 73 20 69 73 20 61 20 64 79 6e 61 6d 69 63 61 6c 6c 79 20 67 65 6e 65 72 61 74 65 64 20 68 69 73 | s.is.a.dynamically.generated.his |
1bb660 | 74 6f 72 79 20 71 75 65 72 79 2c 20 6c 69 6b 65 20 71 75 65 72 69 65 73 0a 20 20 20 20 20 20 20 | tory.query,.like.queries........ |
1bb680 | 20 2f 2f 20 67 72 6f 75 70 65 64 20 62 79 20 73 69 74 65 2c 20 74 69 6d 65 20 6f 72 20 62 6f 74 | .//.grouped.by.site,.time.or.bot |
1bb6a0 | 68 2e 20 20 44 79 6e 61 6d 69 63 61 6c 6c 79 20 67 65 6e 65 72 61 74 65 64 20 71 75 65 72 69 65 | h...Dynamically.generated.querie |
1bb6c0 | 73 20 64 6f 6e 27 74 0a 20 20 20 20 20 20 20 20 2f 2f 20 68 61 76 65 20 61 6e 20 69 74 65 6d 49 | s.don't.........//.have.an.itemI |
1bb6e0 | 64 20 65 76 65 6e 20 69 66 20 74 68 65 79 20 61 72 65 20 64 65 73 63 65 6e 64 61 6e 74 73 20 6f | d.even.if.they.are.descendants.o |
1bb700 | 66 20 61 20 62 6f 6f 6b 6d 61 72 6b 2e 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 72 65 6d 6f | f.a.bookmark..........this._remo |
1bb720 | 76 65 48 69 73 74 6f 72 79 43 6f 6e 74 61 69 6e 65 72 28 6e 6f 64 65 29 3b 0a 20 20 20 20 20 20 | veHistoryContainer(node);....... |
1bb740 | 20 20 2f 2f 20 48 69 73 74 6f 72 79 20 64 65 6c 65 74 65 73 20 61 72 65 20 6e 6f 74 20 75 6e 64 | ..//.History.deletes.are.not.und |
1bb760 | 6f 61 62 6c 65 2c 20 73 6f 20 77 65 20 64 6f 6e 27 74 20 68 61 76 65 20 61 20 74 72 61 6e 73 61 | oable,.so.we.don't.have.a.transa |
1bb780 | 63 74 69 6f 6e 2e 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 | ction........}.......else.{..... |
1bb7a0 | 20 20 20 20 2f 2f 20 54 68 69 73 20 69 73 20 61 20 63 6f 6d 6d 6f 6e 20 62 6f 6f 6b 6d 61 72 6b | ....//.This.is.a.common.bookmark |
1bb7c0 | 20 69 74 65 6d 2e 0a 20 20 20 20 20 20 20 20 69 66 20 28 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e | .item..........if.(PlacesUtils.n |
1bb7e0 | 6f 64 65 49 73 46 6f 6c 64 65 72 28 6e 6f 64 65 29 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 2f | odeIsFolder(node)).{.........../ |
1bb800 | 2f 20 49 66 20 74 68 69 73 20 69 73 20 61 20 66 6f 6c 64 65 72 20 77 65 20 61 64 64 20 69 74 20 | /.If.this.is.a.folder.we.add.it. |
1bb820 | 74 6f 20 6f 75 72 20 61 72 72 61 79 20 6f 66 20 66 6f 6c 64 65 72 73 2c 20 75 73 65 64 0a 20 20 | to.our.array.of.folders,.used... |
1bb840 | 20 20 20 20 20 20 20 20 2f 2f 20 74 6f 20 73 6b 69 70 20 6e 6f 64 65 73 20 74 68 61 74 20 61 72 | ........//.to.skip.nodes.that.ar |
1bb860 | 65 20 63 68 69 6c 64 72 65 6e 20 6f 66 20 61 6e 20 61 6c 72 65 61 64 79 20 72 65 6d 6f 76 65 64 | e.children.of.an.already.removed |
1bb880 | 20 66 6f 6c 64 65 72 2e 0a 20 20 20 20 20 20 20 20 20 20 72 65 6d 6f 76 65 64 46 6f 6c 64 65 72 | .folder............removedFolder |
1bb8a0 | 73 2e 70 75 73 68 28 6e 6f 64 65 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 | s.push(node);.........}......... |
1bb8c0 | 74 72 61 6e 73 61 63 74 69 6f 6e 73 2e 70 75 73 68 28 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e | transactions.push(PlacesUIUtils. |
1bb8e0 | 70 74 6d 2e 72 65 6d 6f 76 65 49 74 65 6d 28 6e 6f 64 65 2e 69 74 65 6d 49 64 29 29 3b 0a 20 20 | ptm.removeItem(node.itemId));... |
1bb900 | 20 20 20 20 7d 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 52 65 6d | ....}.....}...},..../**....*.Rem |
1bb920 | 6f 76 65 73 20 74 68 65 20 73 65 74 20 6f 66 20 73 65 6c 65 63 74 65 64 20 72 61 6e 67 65 73 20 | oves.the.set.of.selected.ranges. |
1bb940 | 66 72 6f 6d 20 62 6f 6f 6b 6d 61 72 6b 73 2e 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 20 20 74 78 | from.bookmarks.....*.@param...tx |
1bb960 | 6e 4e 61 6d 65 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 53 65 65 20 7c 72 65 6d 6f 76 65 7c | nName....*..........See.|remove| |
1bb980 | 2e 0a 20 20 20 2a 2f 0a 20 20 5f 72 65 6d 6f 76 65 52 6f 77 73 46 72 6f 6d 42 6f 6f 6b 6d 61 72 | .....*/..._removeRowsFromBookmar |
1bb9a0 | 6b 73 3a 20 66 75 6e 63 74 69 6f 6e 20 50 43 5f 5f 72 65 6d 6f 76 65 52 6f 77 73 46 72 6f 6d 42 | ks:.function.PC__removeRowsFromB |
1bb9c0 | 6f 6f 6b 6d 61 72 6b 73 28 74 78 6e 4e 61 6d 65 29 20 7b 0a 20 20 20 20 76 61 72 20 72 61 6e 67 | ookmarks(txnName).{.....var.rang |
1bb9e0 | 65 73 20 3d 20 74 68 69 73 2e 5f 76 69 65 77 2e 67 65 74 52 65 6d 6f 76 61 62 6c 65 53 65 6c 65 | es.=.this._view.getRemovableSele |
1bba00 | 63 74 69 6f 6e 52 61 6e 67 65 73 28 29 3b 0a 20 20 20 20 76 61 72 20 74 72 61 6e 73 61 63 74 69 | ctionRanges();.....var.transacti |
1bba20 | 6f 6e 73 20 3d 20 5b 5d 3b 0a 20 20 20 20 76 61 72 20 72 65 6d 6f 76 65 64 46 6f 6c 64 65 72 73 | ons.=.[];.....var.removedFolders |
1bba40 | 20 3d 20 5b 5d 3b 0a 0a 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 | .=.[];......for.(var.i.=.0;.i.<. |
1bba60 | 72 61 6e 67 65 73 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 0a 20 20 20 20 20 20 74 68 69 73 2e 5f | ranges.length;.i++).......this._ |
1bba80 | 72 65 6d 6f 76 65 52 61 6e 67 65 28 72 61 6e 67 65 73 5b 69 5d 2c 20 74 72 61 6e 73 61 63 74 69 | removeRange(ranges[i],.transacti |
1bbaa0 | 6f 6e 73 2c 20 72 65 6d 6f 76 65 64 46 6f 6c 64 65 72 73 29 3b 0a 0a 20 20 20 20 69 66 20 28 74 | ons,.removedFolders);......if.(t |
1bbac0 | 72 61 6e 73 61 63 74 69 6f 6e 73 2e 6c 65 6e 67 74 68 20 3e 20 30 29 20 7b 0a 20 20 20 20 20 20 | ransactions.length.>.0).{....... |
1bbae0 | 76 61 72 20 74 78 6e 20 3d 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 70 74 6d 2e 61 67 67 72 | var.txn.=.PlacesUIUtils.ptm.aggr |
1bbb00 | 65 67 61 74 65 54 72 61 6e 73 61 63 74 69 6f 6e 73 28 74 78 6e 4e 61 6d 65 2c 20 74 72 61 6e 73 | egateTransactions(txnName,.trans |
1bbb20 | 61 63 74 69 6f 6e 73 29 3b 0a 20 20 20 20 20 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 70 74 | actions);.......PlacesUIUtils.pt |
1bbb40 | 6d 2e 64 6f 54 72 61 6e 73 61 63 74 69 6f 6e 28 74 78 6e 29 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c | m.doTransaction(txn);.....}...}, |
1bbb60 | 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 52 65 6d 6f 76 65 73 20 74 68 65 20 73 65 74 20 6f 66 20 | ..../**....*.Removes.the.set.of. |
1bbb80 | 73 65 6c 65 63 74 65 64 20 72 61 6e 67 65 73 20 66 72 6f 6d 20 68 69 73 74 6f 72 79 2e 0a 20 20 | selected.ranges.from.history.... |
1bbba0 | 20 2a 2f 0a 20 20 5f 72 65 6d 6f 76 65 52 6f 77 73 46 72 6f 6d 48 69 73 74 6f 72 79 3a 20 66 75 | .*/..._removeRowsFromHistory:.fu |
1bbbc0 | 6e 63 74 69 6f 6e 20 50 43 5f 5f 72 65 6d 6f 76 65 52 6f 77 73 46 72 6f 6d 48 69 73 74 6f 72 79 | nction.PC__removeRowsFromHistory |
1bbbe0 | 28 29 20 7b 0a 20 20 20 20 2f 2f 20 4f 74 68 65 72 20 63 6f 6e 74 61 69 6e 65 72 73 20 61 72 65 | ().{.....//.Other.containers.are |
1bbc00 | 20 68 69 73 74 6f 72 79 20 71 75 65 72 69 65 73 2c 20 6a 75 73 74 20 64 65 6c 65 74 65 20 66 72 | .history.queries,.just.delete.fr |
1bbc20 | 6f 6d 20 68 69 73 74 6f 72 79 0a 20 20 20 20 2f 2f 20 68 69 73 74 6f 72 79 20 64 65 6c 65 74 65 | om.history.....//.history.delete |
1bbc40 | 73 20 61 72 65 20 6e 6f 74 20 75 6e 64 6f 61 62 6c 65 2e 0a 20 20 20 20 76 61 72 20 6e 6f 64 65 | s.are.not.undoable......var.node |
1bbc60 | 73 20 3d 20 74 68 69 73 2e 5f 76 69 65 77 2e 67 65 74 53 65 6c 65 63 74 69 6f 6e 4e 6f 64 65 73 | s.=.this._view.getSelectionNodes |
1bbc80 | 28 29 3b 0a 20 20 20 20 76 61 72 20 55 52 49 73 20 3d 20 5b 5d 3b 0a 20 20 20 20 76 61 72 20 62 | ();.....var.URIs.=.[];.....var.b |
1bbca0 | 68 69 73 74 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 68 69 73 74 6f 72 79 2e 51 75 65 72 79 | hist.=.PlacesUtils.history.Query |
1bbcc0 | 49 6e 74 65 72 66 61 63 65 28 43 69 2e 6e 73 49 42 72 6f 77 73 65 72 48 69 73 74 6f 72 79 29 3b | Interface(Ci.nsIBrowserHistory); |
1bbce0 | 0a 20 20 20 20 76 61 72 20 72 65 73 75 6c 74 56 69 65 77 20 3d 20 74 68 69 73 2e 5f 76 69 65 77 | .....var.resultView.=.this._view |
1bbd00 | 2e 67 65 74 52 65 73 75 6c 74 56 69 65 77 28 29 3b 0a 20 20 20 20 76 61 72 20 72 6f 6f 74 20 3d | .getResultView();.....var.root.= |
1bbd20 | 20 74 68 69 73 2e 5f 76 69 65 77 2e 67 65 74 52 65 73 75 6c 74 4e 6f 64 65 28 29 3b 0a 0a 20 20 | .this._view.getResultNode();.... |
1bbd40 | 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 6e 6f 64 65 73 2e 6c 65 6e 67 | ..for.(var.i.=.0;.i.<.nodes.leng |
1bbd60 | 74 68 3b 20 2b 2b 69 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 6e 6f 64 65 20 3d 20 6e 6f 64 65 | th;.++i).{.......var.node.=.node |
1bbd80 | 73 5b 69 5d 3b 0a 20 20 20 20 20 20 69 66 20 28 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 | s[i];.......if.(PlacesUtils.node |
1bbda0 | 49 73 55 52 49 28 6e 6f 64 65 29 29 20 7b 0a 20 20 20 20 20 20 20 20 76 61 72 20 75 72 69 20 3d | IsURI(node)).{.........var.uri.= |
1bbdc0 | 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 5f 75 72 69 28 6e 6f 64 65 2e 75 72 69 29 3b 0a 20 20 20 | .PlacesUtils._uri(node.uri);.... |
1bbde0 | 20 20 20 20 20 2f 2f 20 61 76 6f 69 64 20 74 72 79 69 6e 67 20 74 6f 20 64 65 6c 65 74 65 20 74 | .....//.avoid.trying.to.delete.t |
1bbe00 | 68 65 20 73 61 6d 65 20 75 72 6c 20 74 77 69 63 65 0a 20 20 20 20 20 20 20 20 69 66 20 28 55 52 | he.same.url.twice.........if.(UR |
1bbe20 | 49 73 2e 69 6e 64 65 78 4f 66 28 75 72 69 29 20 3c 20 30 29 20 7b 0a 20 20 20 20 20 20 20 20 20 | Is.indexOf(uri).<.0).{.......... |
1bbe40 | 20 55 52 49 73 2e 70 75 73 68 28 75 72 69 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 | .URIs.push(uri);.........}...... |
1bbe60 | 20 7d 0a 20 20 20 20 20 20 65 6c 73 65 20 69 66 20 28 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f | .}.......else.if.(PlacesUtils.no |
1bbe80 | 64 65 49 73 51 75 65 72 79 28 6e 6f 64 65 29 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | deIsQuery(node).&&.............. |
1bbea0 | 20 20 61 73 51 75 65 72 79 28 6e 6f 64 65 29 2e 71 75 65 72 79 4f 70 74 69 6f 6e 73 2e 71 75 65 | ..asQuery(node).queryOptions.que |
1bbec0 | 72 79 54 79 70 65 20 3d 3d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 43 69 2e 6e 73 | ryType.==..................Ci.ns |
1bbee0 | 49 4e 61 76 48 69 73 74 6f 72 79 51 75 65 72 79 4f 70 74 69 6f 6e 73 2e 51 55 45 52 59 5f 54 59 | INavHistoryQueryOptions.QUERY_TY |
1bbf00 | 50 45 5f 48 49 53 54 4f 52 59 29 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 72 65 6d 6f 76 65 | PE_HISTORY).........this._remove |
1bbf20 | 48 69 73 74 6f 72 79 43 6f 6e 74 61 69 6e 65 72 28 6e 6f 64 65 29 3b 0a 20 20 20 20 7d 0a 0a 20 | HistoryContainer(node);.....}... |
1bbf40 | 20 20 20 2f 2f 20 69 66 20 77 65 20 68 61 76 65 20 74 6f 20 64 65 6c 65 74 65 20 61 20 6c 6f 74 | ...//.if.we.have.to.delete.a.lot |
1bbf60 | 20 6f 66 20 75 72 6c 73 20 52 65 6d 6f 76 65 50 61 67 65 20 77 69 6c 6c 20 62 65 20 73 6c 6f 77 | .of.urls.RemovePage.will.be.slow |
1bbf80 | 2c 20 69 74 27 73 20 62 65 74 74 65 72 0a 20 20 20 20 2f 2f 20 74 6f 20 64 65 6c 65 74 65 20 74 | ,.it's.better.....//.to.delete.t |
1bbfa0 | 68 65 6d 20 69 6e 20 62 75 6e 63 68 20 61 6e 64 20 72 65 62 75 69 6c 64 20 74 68 65 20 66 75 6c | hem.in.bunch.and.rebuild.the.ful |
1bbfc0 | 6c 20 74 72 65 65 56 69 65 77 0a 20 20 20 20 69 66 20 28 55 52 49 73 2e 6c 65 6e 67 74 68 20 3e | l.treeView.....if.(URIs.length.> |
1bbfe0 | 20 52 45 4d 4f 56 45 5f 50 41 47 45 53 5f 4d 41 58 5f 53 49 4e 47 4c 45 52 45 4d 4f 56 45 53 29 | .REMOVE_PAGES_MAX_SINGLEREMOVES) |
1bc000 | 20 7b 0a 20 20 20 20 20 20 2f 2f 20 64 6f 20 72 65 6d 6f 76 61 6c 20 69 6e 20 63 68 75 6e 6b 73 | .{.......//.do.removal.in.chunks |
1bc020 | 20 74 6f 20 61 76 6f 69 64 20 70 61 73 73 69 6e 67 20 61 20 74 6f 6f 20 62 69 67 20 61 72 72 61 | .to.avoid.passing.a.too.big.arra |
1bc040 | 79 20 74 6f 20 72 65 6d 6f 76 65 50 61 67 65 73 0a 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 | y.to.removePages.......for.(var. |
1bc060 | 69 20 3d 20 30 3b 20 69 20 3c 20 55 52 49 73 2e 6c 65 6e 67 74 68 3b 20 69 20 2b 3d 20 52 45 4d | i.=.0;.i.<.URIs.length;.i.+=.REM |
1bc080 | 4f 56 45 5f 50 41 47 45 53 5f 43 48 55 4e 4b 4c 45 4e 29 20 7b 0a 20 20 20 20 20 20 20 20 76 61 | OVE_PAGES_CHUNKLEN).{.........va |
1bc0a0 | 72 20 55 52 49 73 6c 69 63 65 20 3d 20 55 52 49 73 2e 73 6c 69 63 65 28 69 2c 20 69 20 2b 20 52 | r.URIslice.=.URIs.slice(i,.i.+.R |
1bc0c0 | 45 4d 4f 56 45 5f 50 41 47 45 53 5f 43 48 55 4e 4b 4c 45 4e 29 3b 0a 20 20 20 20 20 20 20 20 2f | EMOVE_PAGES_CHUNKLEN);........./ |
1bc0e0 | 2f 20 73 65 74 20 44 6f 42 61 74 63 68 4e 6f 74 69 66 79 20 28 74 68 69 72 64 20 70 61 72 61 6d | /.set.DoBatchNotify.(third.param |
1bc100 | 29 20 6f 6e 6c 79 20 6f 6e 20 74 68 65 20 6c 61 73 74 20 63 68 75 6e 6b 2c 20 73 6f 20 77 65 20 | ).only.on.the.last.chunk,.so.we. |
1bc120 | 75 70 64 61 74 65 0a 20 20 20 20 20 20 20 20 2f 2f 20 74 68 65 20 74 72 65 65 56 69 65 77 20 77 | update.........//.the.treeView.w |
1bc140 | 68 65 6e 20 77 65 20 61 72 65 20 64 6f 6e 65 2e 0a 20 20 20 20 20 20 20 20 62 68 69 73 74 2e 72 | hen.we.are.done..........bhist.r |
1bc160 | 65 6d 6f 76 65 50 61 67 65 73 28 55 52 49 73 6c 69 63 65 2c 20 55 52 49 73 6c 69 63 65 2e 6c 65 | emovePages(URIslice,.URIslice.le |
1bc180 | 6e 67 74 68 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ngth,........................... |
1bc1a0 | 28 69 20 2b 20 52 45 4d 4f 56 45 5f 50 41 47 45 53 5f 43 48 55 4e 4b 4c 45 4e 29 20 3e 3d 20 55 | (i.+.REMOVE_PAGES_CHUNKLEN).>=.U |
1bc1c0 | 52 49 73 2e 6c 65 6e 67 74 68 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 20 20 20 20 65 | RIs.length);.......}.....}.....e |
1bc1e0 | 6c 73 65 20 7b 0a 20 20 20 20 20 20 2f 2f 20 69 66 20 77 65 20 68 61 76 65 20 74 6f 20 64 65 6c | lse.{.......//.if.we.have.to.del |
1bc200 | 65 74 65 20 66 65 77 65 72 20 75 72 6c 73 2c 20 72 65 6d 6f 76 65 70 61 67 65 20 77 69 6c 6c 20 | ete.fewer.urls,.removepage.will. |
1bc220 | 61 6c 6c 6f 77 20 75 73 20 74 6f 20 61 76 6f 69 64 0a 20 20 20 20 20 20 2f 2f 20 72 65 62 75 69 | allow.us.to.avoid.......//.rebui |
1bc240 | 6c 64 69 6e 67 20 74 68 65 20 66 75 6c 6c 20 74 72 65 65 56 69 65 77 0a 20 20 20 20 20 20 66 6f | lding.the.full.treeView.......fo |
1bc260 | 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 55 52 49 73 2e 6c 65 6e 67 74 68 3b 20 2b | r.(var.i.=.0;.i.<.URIs.length;.+ |
1bc280 | 2b 69 29 0a 20 20 20 20 20 20 20 20 62 68 69 73 74 2e 72 65 6d 6f 76 65 50 61 67 65 28 55 52 49 | +i).........bhist.removePage(URI |
1bc2a0 | 73 5b 69 5d 29 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 52 65 | s[i]);.....}...},..../**....*.Re |
1bc2c0 | 6d 6f 76 65 73 20 68 69 73 74 6f 72 79 20 76 69 73 69 74 73 20 66 6f 72 20 61 6e 20 68 69 73 74 | moves.history.visits.for.an.hist |
1bc2e0 | 6f 72 79 20 63 6f 6e 74 61 69 6e 65 72 20 6e 6f 64 65 2e 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 | ory.container.node.....*.@param. |
1bc300 | 20 20 5b 69 6e 5d 20 61 43 6f 6e 74 61 69 6e 65 72 4e 6f 64 65 0a 20 20 20 2a 20 20 20 20 20 20 | ..[in].aContainerNode....*...... |
1bc320 | 20 20 20 20 54 68 65 20 63 6f 6e 74 61 69 6e 65 72 20 6e 6f 64 65 20 74 6f 20 72 65 6d 6f 76 65 | ....The.container.node.to.remove |
1bc340 | 2e 0a 20 20 20 2a 2f 0a 20 20 5f 72 65 6d 6f 76 65 48 69 73 74 6f 72 79 43 6f 6e 74 61 69 6e 65 | .....*/..._removeHistoryContaine |
1bc360 | 72 3a 20 66 75 6e 63 74 69 6f 6e 20 50 43 5f 72 65 6d 6f 76 65 48 69 73 74 6f 72 79 43 6f 6e 74 | r:.function.PC_removeHistoryCont |
1bc380 | 61 69 6e 65 72 28 61 43 6f 6e 74 61 69 6e 65 72 4e 6f 64 65 29 20 7b 0a 20 20 20 20 76 61 72 20 | ainer(aContainerNode).{.....var. |
1bc3a0 | 62 68 69 73 74 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 68 69 73 74 6f 72 79 2e 51 75 65 72 | bhist.=.PlacesUtils.history.Quer |
1bc3c0 | 79 49 6e 74 65 72 66 61 63 65 28 43 69 2e 6e 73 49 42 72 6f 77 73 65 72 48 69 73 74 6f 72 79 29 | yInterface(Ci.nsIBrowserHistory) |
1bc3e0 | 3b 0a 20 20 20 20 69 66 20 28 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 48 6f 73 74 | ;.....if.(PlacesUtils.nodeIsHost |
1bc400 | 28 61 43 6f 6e 74 61 69 6e 65 72 4e 6f 64 65 29 29 20 7b 0a 20 20 20 20 20 20 2f 2f 20 53 69 74 | (aContainerNode)).{.......//.Sit |
1bc420 | 65 20 63 6f 6e 74 61 69 6e 65 72 2e 0a 20 20 20 20 20 20 62 68 69 73 74 2e 72 65 6d 6f 76 65 50 | e.container........bhist.removeP |
1bc440 | 61 67 65 73 46 72 6f 6d 48 6f 73 74 28 61 43 6f 6e 74 61 69 6e 65 72 4e 6f 64 65 2e 74 69 74 6c | agesFromHost(aContainerNode.titl |
1bc460 | 65 2c 20 74 72 75 65 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 65 6c 73 65 20 69 66 20 28 50 6c 61 | e,.true);.....}.....else.if.(Pla |
1bc480 | 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 44 61 79 28 61 43 6f 6e 74 61 69 6e 65 72 4e 6f 64 | cesUtils.nodeIsDay(aContainerNod |
1bc4a0 | 65 29 29 20 7b 0a 20 20 20 20 20 20 2f 2f 20 44 61 79 20 63 6f 6e 74 61 69 6e 65 72 2e 0a 20 20 | e)).{.......//.Day.container.... |
1bc4c0 | 20 20 20 20 76 61 72 20 71 75 65 72 79 20 3d 20 61 43 6f 6e 74 61 69 6e 65 72 4e 6f 64 65 2e 67 | ....var.query.=.aContainerNode.g |
1bc4e0 | 65 74 51 75 65 72 69 65 73 28 7b 7d 29 5b 30 5d 3b 0a 20 20 20 20 20 20 76 61 72 20 62 65 67 69 | etQueries({})[0];.......var.begi |
1bc500 | 6e 54 69 6d 65 20 3d 20 71 75 65 72 79 2e 62 65 67 69 6e 54 69 6d 65 3b 0a 20 20 20 20 20 20 76 | nTime.=.query.beginTime;.......v |
1bc520 | 61 72 20 65 6e 64 54 69 6d 65 20 3d 20 71 75 65 72 79 2e 65 6e 64 54 69 6d 65 3b 0a 20 20 20 20 | ar.endTime.=.query.endTime;..... |
1bc540 | 20 20 4e 53 5f 41 53 53 45 52 54 28 71 75 65 72 79 20 26 26 20 62 65 67 69 6e 54 69 6d 65 20 26 | ..NS_ASSERT(query.&&.beginTime.& |
1bc560 | 26 20 65 6e 64 54 69 6d 65 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 41 20 76 61 | &.endTime,................."A.va |
1bc580 | 6c 69 64 20 64 61 74 65 20 63 6f 6e 74 61 69 6e 65 72 20 71 75 65 72 79 20 73 68 6f 75 6c 64 20 | lid.date.container.query.should. |
1bc5a0 | 65 78 69 73 74 21 22 29 3b 0a 20 20 20 20 20 20 2f 2f 20 57 65 20 77 61 6e 74 20 74 6f 20 65 78 | exist!");.......//.We.want.to.ex |
1bc5c0 | 63 6c 75 64 65 20 62 65 67 69 6e 54 69 6d 65 20 66 72 6f 6d 20 74 68 65 20 72 65 6d 6f 76 61 6c | clude.beginTime.from.the.removal |
1bc5e0 | 20 62 65 63 61 75 73 65 0a 20 20 20 20 20 20 2f 2f 20 72 65 6d 6f 76 65 50 61 67 65 73 42 79 54 | .because.......//.removePagesByT |
1bc600 | 69 6d 65 66 72 61 6d 65 20 69 6e 63 6c 75 64 65 73 20 62 6f 74 68 20 65 78 74 72 65 6d 65 73 2c | imeframe.includes.both.extremes, |
1bc620 | 20 77 68 69 6c 65 20 64 61 74 65 20 63 6f 6e 74 61 69 6e 65 72 73 0a 20 20 20 20 20 20 2f 2f 20 | .while.date.containers.......//. |
1bc640 | 65 78 63 6c 75 64 65 20 74 68 65 20 6c 6f 77 65 72 20 65 78 74 72 65 6d 65 2e 20 20 53 6f 2c 20 | exclude.the.lower.extreme...So,. |
1bc660 | 69 66 20 77 65 20 77 6f 75 6c 64 20 6e 6f 74 20 65 78 63 6c 75 64 65 20 69 74 2c 20 77 65 20 77 | if.we.would.not.exclude.it,.we.w |
1bc680 | 6f 75 6c 64 0a 20 20 20 20 20 20 2f 2f 20 65 6e 64 20 75 70 20 72 65 6d 6f 76 69 6e 67 20 6d 6f | ould.......//.end.up.removing.mo |
1bc6a0 | 72 65 20 68 69 73 74 6f 72 79 20 74 68 61 6e 20 72 65 71 75 65 73 74 65 64 2e 0a 20 20 20 20 20 | re.history.than.requested....... |
1bc6c0 | 20 62 68 69 73 74 2e 72 65 6d 6f 76 65 50 61 67 65 73 42 79 54 69 6d 65 66 72 61 6d 65 28 62 65 | .bhist.removePagesByTimeframe(be |
1bc6e0 | 67 69 6e 54 69 6d 65 2b 31 2c 20 65 6e 64 54 69 6d 65 29 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a | ginTime+1,.endTime);.....}...},. |
1bc700 | 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 52 65 6d 6f 76 65 73 20 74 68 65 20 73 65 6c 65 63 74 69 6f | .../**....*.Removes.the.selectio |
1bc720 | 6e 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 20 20 61 54 78 6e 4e 61 6d 65 0a 20 20 20 2a 20 20 20 | n....*.@param...aTxnName....*... |
1bc740 | 20 20 20 20 20 20 20 41 20 6e 61 6d 65 20 66 6f 72 20 74 68 65 20 74 72 61 6e 73 61 63 74 69 6f | .......A.name.for.the.transactio |
1bc760 | 6e 20 69 66 20 74 68 69 73 20 69 73 20 62 65 69 6e 67 20 70 65 72 66 6f 72 6d 65 64 0a 20 20 20 | n.if.this.is.being.performed.... |
1bc780 | 2a 20 20 20 20 20 20 20 20 20 20 61 73 20 70 61 72 74 20 6f 66 20 61 6e 6f 74 68 65 72 20 6f 70 | *..........as.part.of.another.op |
1bc7a0 | 65 72 61 74 69 6f 6e 2e 0a 20 20 20 2a 2f 0a 20 20 72 65 6d 6f 76 65 3a 20 66 75 6e 63 74 69 6f | eration.....*/...remove:.functio |
1bc7c0 | 6e 20 50 43 5f 72 65 6d 6f 76 65 28 61 54 78 6e 4e 61 6d 65 29 20 7b 0a 20 20 20 20 69 66 20 28 | n.PC_remove(aTxnName).{.....if.( |
1bc7e0 | 21 74 68 69 73 2e 5f 68 61 73 52 65 6d 6f 76 61 62 6c 65 53 65 6c 65 63 74 69 6f 6e 28 66 61 6c | !this._hasRemovableSelection(fal |
1bc800 | 73 65 29 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 20 20 4e 53 5f 41 53 53 45 52 | se)).......return;......NS_ASSER |
1bc820 | 54 28 61 54 78 6e 4e 61 6d 65 20 21 3d 3d 20 75 6e 64 65 66 69 6e 65 64 2c 20 22 4d 75 73 74 20 | T(aTxnName.!==.undefined,."Must. |
1bc840 | 73 75 70 70 6c 79 20 54 72 61 6e 73 61 63 74 69 6f 6e 20 4e 61 6d 65 22 29 3b 0a 0a 20 20 20 20 | supply.Transaction.Name");...... |
1bc860 | 76 61 72 20 72 6f 6f 74 20 3d 20 74 68 69 73 2e 5f 76 69 65 77 2e 67 65 74 52 65 73 75 6c 74 28 | var.root.=.this._view.getResult( |
1bc880 | 29 2e 72 6f 6f 74 3b 0a 0a 20 20 20 20 69 66 20 28 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 | ).root;......if.(PlacesUtils.nod |
1bc8a0 | 65 49 73 46 6f 6c 64 65 72 28 72 6f 6f 74 29 29 20 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 72 65 | eIsFolder(root))........this._re |
1bc8c0 | 6d 6f 76 65 52 6f 77 73 46 72 6f 6d 42 6f 6f 6b 6d 61 72 6b 73 28 61 54 78 6e 4e 61 6d 65 29 3b | moveRowsFromBookmarks(aTxnName); |
1bc8e0 | 0a 20 20 20 20 65 6c 73 65 20 69 66 20 28 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 | .....else.if.(PlacesUtils.nodeIs |
1bc900 | 51 75 65 72 79 28 72 6f 6f 74 29 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 71 75 65 72 79 54 79 | Query(root)).{.......var.queryTy |
1bc920 | 70 65 20 3d 20 61 73 51 75 65 72 79 28 72 6f 6f 74 29 2e 71 75 65 72 79 4f 70 74 69 6f 6e 73 2e | pe.=.asQuery(root).queryOptions. |
1bc940 | 71 75 65 72 79 54 79 70 65 3b 0a 20 20 20 20 20 20 69 66 20 28 71 75 65 72 79 54 79 70 65 20 3d | queryType;.......if.(queryType.= |
1bc960 | 3d 20 43 69 2e 6e 73 49 4e 61 76 48 69 73 74 6f 72 79 51 75 65 72 79 4f 70 74 69 6f 6e 73 2e 51 | =.Ci.nsINavHistoryQueryOptions.Q |
1bc980 | 55 45 52 59 5f 54 59 50 45 5f 42 4f 4f 4b 4d 41 52 4b 53 29 0a 20 20 20 20 20 20 20 20 74 68 69 | UERY_TYPE_BOOKMARKS).........thi |
1bc9a0 | 73 2e 5f 72 65 6d 6f 76 65 52 6f 77 73 46 72 6f 6d 42 6f 6f 6b 6d 61 72 6b 73 28 61 54 78 6e 4e | s._removeRowsFromBookmarks(aTxnN |
1bc9c0 | 61 6d 65 29 3b 0a 20 20 20 20 20 20 65 6c 73 65 20 69 66 20 28 71 75 65 72 79 54 79 70 65 20 3d | ame);.......else.if.(queryType.= |
1bc9e0 | 3d 20 43 69 2e 6e 73 49 4e 61 76 48 69 73 74 6f 72 79 51 75 65 72 79 4f 70 74 69 6f 6e 73 2e 51 | =.Ci.nsINavHistoryQueryOptions.Q |
1bca00 | 55 45 52 59 5f 54 59 50 45 5f 48 49 53 54 4f 52 59 29 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e | UERY_TYPE_HISTORY).........this. |
1bca20 | 5f 72 65 6d 6f 76 65 52 6f 77 73 46 72 6f 6d 48 69 73 74 6f 72 79 28 29 3b 0a 20 20 20 20 20 20 | _removeRowsFromHistory();....... |
1bca40 | 65 6c 73 65 0a 20 20 20 20 20 20 20 20 4e 53 5f 41 53 53 45 52 54 28 66 61 6c 73 65 2c 20 22 69 | else.........NS_ASSERT(false,."i |
1bca60 | 6d 70 6c 65 6d 65 6e 74 20 73 75 70 70 6f 72 74 20 66 6f 72 20 51 55 45 52 59 5f 54 59 50 45 5f | mplement.support.for.QUERY_TYPE_ |
1bca80 | 55 4e 49 46 49 45 44 22 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 | UNIFIED");.....}.....else....... |
1bcaa0 | 4e 53 5f 41 53 53 45 52 54 28 66 61 6c 73 65 2c 20 22 75 6e 65 78 70 65 63 74 65 64 20 72 6f 6f | NS_ASSERT(false,."unexpected.roo |
1bcac0 | 74 22 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 46 69 6c 6c 73 20 61 20 44 61 | t");...},..../**....*.Fills.a.Da |
1bcae0 | 74 61 54 72 61 6e 73 66 65 72 20 6f 62 6a 65 63 74 20 77 69 74 68 20 74 68 65 20 63 6f 6e 74 65 | taTransfer.object.with.the.conte |
1bcb00 | 6e 74 20 6f 66 20 74 68 65 20 73 65 6c 65 63 74 69 6f 6e 20 74 68 61 74 20 63 61 6e 20 62 65 0a | nt.of.the.selection.that.can.be. |
1bcb20 | 20 20 20 2a 20 64 72 6f 70 70 65 64 20 65 6c 73 65 77 68 65 72 65 2e 0a 20 20 20 2a 20 40 70 61 | ...*.dropped.elsewhere.....*.@pa |
1bcb40 | 72 61 6d 20 20 20 61 45 76 65 6e 74 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 54 68 65 20 64 | ram...aEvent....*..........The.d |
1bcb60 | 72 61 67 73 74 61 72 74 20 65 76 65 6e 74 2e 0a 20 20 20 2a 2f 0a 20 20 73 65 74 44 61 74 61 54 | ragstart.event.....*/...setDataT |
1bcb80 | 72 61 6e 73 66 65 72 3a 20 66 75 6e 63 74 69 6f 6e 20 50 43 5f 73 65 74 44 61 74 61 54 72 61 6e | ransfer:.function.PC_setDataTran |
1bcba0 | 73 66 65 72 28 61 45 76 65 6e 74 29 20 7b 0a 20 20 20 20 76 61 72 20 64 74 20 3d 20 61 45 76 65 | sfer(aEvent).{.....var.dt.=.aEve |
1bcbc0 | 6e 74 2e 64 61 74 61 54 72 61 6e 73 66 65 72 3b 0a 20 20 20 20 76 61 72 20 64 6f 43 6f 70 79 20 | nt.dataTransfer;.....var.doCopy. |
1bcbe0 | 3d 20 64 74 2e 65 66 66 65 63 74 41 6c 6c 6f 77 65 64 20 3d 3d 20 22 63 6f 70 79 4c 69 6e 6b 22 | =.dt.effectAllowed.==."copyLink" |
1bcc00 | 20 7c 7c 20 64 74 2e 65 66 66 65 63 74 41 6c 6c 6f 77 65 64 20 3d 3d 20 22 63 6f 70 79 22 3b 0a | .||.dt.effectAllowed.==."copy";. |
1bcc20 | 0a 20 20 20 20 76 61 72 20 72 65 73 75 6c 74 20 3d 20 74 68 69 73 2e 5f 76 69 65 77 2e 67 65 74 | .....var.result.=.this._view.get |
1bcc40 | 52 65 73 75 6c 74 28 29 3b 0a 20 20 20 20 76 61 72 20 6f 6c 64 56 69 65 77 65 72 20 3d 20 72 65 | Result();.....var.oldViewer.=.re |
1bcc60 | 73 75 6c 74 2e 76 69 65 77 65 72 3b 0a 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 72 65 73 | sult.viewer;.....try.{.......res |
1bcc80 | 75 6c 74 2e 76 69 65 77 65 72 20 3d 20 6e 75 6c 6c 3b 0a 20 20 20 20 20 20 76 61 72 20 6e 6f 64 | ult.viewer.=.null;.......var.nod |
1bcca0 | 65 73 20 3d 20 74 68 69 73 2e 5f 76 69 65 77 2e 67 65 74 44 72 61 67 61 62 6c 65 53 65 6c 65 63 | es.=.this._view.getDragableSelec |
1bccc0 | 74 69 6f 6e 28 29 3b 0a 0a 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 | tion();........for.(var.i.=.0;.i |
1bcce0 | 20 3c 20 6e 6f 64 65 73 2e 6c 65 6e 67 74 68 3b 20 2b 2b 69 29 20 7b 0a 20 20 20 20 20 20 20 20 | .<.nodes.length;.++i).{......... |
1bcd00 | 76 61 72 20 6e 6f 64 65 20 3d 20 6e 6f 64 65 73 5b 69 5d 3b 0a 0a 20 20 20 20 20 20 20 20 66 75 | var.node.=.nodes[i];..........fu |
1bcd20 | 6e 63 74 69 6f 6e 20 61 64 64 44 61 74 61 28 74 79 70 65 2c 20 69 6e 64 65 78 2c 20 6f 76 65 72 | nction.addData(type,.index,.over |
1bcd40 | 72 69 64 65 55 52 49 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 77 72 61 70 4e 6f 64 | rideURI).{...........var.wrapNod |
1bcd60 | 65 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 77 72 61 70 4e 6f 64 65 28 6e 6f 64 65 2c 20 74 | e.=.PlacesUtils.wrapNode(node,.t |
1bcd80 | 79 70 65 2c 20 6f 76 65 72 72 69 64 65 55 52 49 2c 20 64 6f 43 6f 70 79 29 3b 0a 20 20 20 20 20 | ype,.overrideURI,.doCopy);...... |
1bcda0 | 20 20 20 20 20 64 74 2e 6d 6f 7a 53 65 74 44 61 74 61 41 74 28 74 79 70 65 2c 20 77 72 61 70 4e | .....dt.mozSetDataAt(type,.wrapN |
1bcdc0 | 6f 64 65 2c 20 69 6e 64 65 78 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 | ode,.index);.........}.......... |
1bcde0 | 66 75 6e 63 74 69 6f 6e 20 61 64 64 55 52 49 44 61 74 61 28 69 6e 64 65 78 2c 20 6f 76 65 72 72 | function.addURIData(index,.overr |
1bce00 | 69 64 65 55 52 49 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 61 64 64 44 61 74 61 28 50 6c 61 63 | ideURI).{...........addData(Plac |
1bce20 | 65 73 55 74 69 6c 73 2e 54 59 50 45 5f 58 5f 4d 4f 5a 5f 55 52 4c 2c 20 69 6e 64 65 78 2c 20 6f | esUtils.TYPE_X_MOZ_URL,.index,.o |
1bce40 | 76 65 72 72 69 64 65 55 52 49 29 3b 0a 20 20 20 20 20 20 20 20 20 20 61 64 64 44 61 74 61 28 50 | verrideURI);...........addData(P |
1bce60 | 6c 61 63 65 73 55 74 69 6c 73 2e 54 59 50 45 5f 55 4e 49 43 4f 44 45 2c 20 69 6e 64 65 78 2c 20 | lacesUtils.TYPE_UNICODE,.index,. |
1bce80 | 6f 76 65 72 72 69 64 65 55 52 49 29 3b 0a 20 20 20 20 20 20 20 20 20 20 61 64 64 44 61 74 61 28 | overrideURI);...........addData( |
1bcea0 | 50 6c 61 63 65 73 55 74 69 6c 73 2e 54 59 50 45 5f 48 54 4d 4c 2c 20 69 6e 64 65 78 2c 20 6f 76 | PlacesUtils.TYPE_HTML,.index,.ov |
1bcec0 | 65 72 72 69 64 65 55 52 49 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 2f | errideURI);.........}........../ |
1bcee0 | 2f 20 54 68 69 73 20 6f 72 64 65 72 20 69 73 20 5f 69 6d 70 6f 72 74 61 6e 74 5f 21 20 49 74 20 | /.This.order.is._important_!.It. |
1bcf00 | 63 6f 6e 74 72 6f 6c 73 20 68 6f 77 20 74 68 69 73 20 61 6e 64 20 6f 74 68 65 72 20 0a 20 20 20 | controls.how.this.and.other..... |
1bcf20 | 20 20 20 20 20 2f 2f 20 61 70 70 6c 69 63 61 74 69 6f 6e 73 20 73 65 6c 65 63 74 20 64 61 74 61 | .....//.applications.select.data |
1bcf40 | 20 74 6f 20 62 65 20 69 6e 73 65 72 74 65 64 20 62 61 73 65 64 20 6f 6e 20 74 79 70 65 2e 0a 20 | .to.be.inserted.based.on.type... |
1bcf60 | 20 20 20 20 20 20 20 61 64 64 44 61 74 61 28 50 6c 61 63 65 73 55 74 69 6c 73 2e 54 59 50 45 5f | .......addData(PlacesUtils.TYPE_ |
1bcf80 | 58 5f 4d 4f 5a 5f 50 4c 41 43 45 2c 20 69 29 3b 0a 0a 20 20 20 20 20 20 20 20 2f 2f 20 44 72 6f | X_MOZ_PLACE,.i);..........//.Dro |
1bcfa0 | 70 20 74 68 65 20 66 65 65 64 20 75 72 69 20 66 6f 72 20 6c 69 76 65 6d 61 72 6b 20 63 6f 6e 74 | p.the.feed.uri.for.livemark.cont |
1bcfc0 | 61 69 6e 65 72 73 0a 20 20 20 20 20 20 20 20 69 66 20 28 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e | ainers.........if.(PlacesUtils.n |
1bcfe0 | 6f 64 65 49 73 4c 69 76 65 6d 61 72 6b 43 6f 6e 74 61 69 6e 65 72 28 6e 6f 64 65 29 29 0a 20 20 | odeIsLivemarkContainer(node))... |
1bd000 | 20 20 20 20 20 20 20 20 61 64 64 55 52 49 44 61 74 61 28 69 2c 20 50 6c 61 63 65 73 55 74 69 6c | ........addURIData(i,.PlacesUtil |
1bd020 | 73 2e 6c 69 76 65 6d 61 72 6b 73 2e 67 65 74 46 65 65 64 55 52 49 28 6e 6f 64 65 2e 69 74 65 6d | s.livemarks.getFeedURI(node.item |
1bd040 | 49 64 29 2e 73 70 65 63 29 3b 0a 20 20 20 20 20 20 20 20 65 6c 73 65 20 69 66 20 28 6e 6f 64 65 | Id).spec);.........else.if.(node |
1bd060 | 2e 75 72 69 29 0a 20 20 20 20 20 20 20 20 20 20 61 64 64 55 52 49 44 61 74 61 28 69 29 3b 0a 20 | .uri)...........addURIData(i);.. |
1bd080 | 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 20 20 20 20 66 69 6e 61 6c 6c 79 20 7b 0a 20 20 20 20 20 | .....}.....}.....finally.{...... |
1bd0a0 | 20 69 66 20 28 6f 6c 64 56 69 65 77 65 72 29 0a 20 20 20 20 20 20 20 20 72 65 73 75 6c 74 2e 76 | .if.(oldViewer).........result.v |
1bd0c0 | 69 65 77 65 72 20 3d 20 6f 6c 64 56 69 65 77 65 72 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 | iewer.=.oldViewer;.....}...},... |
1bd0e0 | 20 2f 2a 2a 0a 20 20 20 2a 20 43 6f 70 79 20 42 6f 6f 6b 6d 61 72 6b 73 20 61 6e 64 20 46 6f 6c | ./**....*.Copy.Bookmarks.and.Fol |
1bd100 | 64 65 72 73 20 74 6f 20 74 68 65 20 63 6c 69 70 62 6f 61 72 64 0a 20 20 20 2a 2f 0a 20 20 63 6f | ders.to.the.clipboard....*/...co |
1bd120 | 70 79 3a 20 66 75 6e 63 74 69 6f 6e 20 50 43 5f 63 6f 70 79 28 29 20 7b 0a 20 20 20 20 76 61 72 | py:.function.PC_copy().{.....var |
1bd140 | 20 72 65 73 75 6c 74 20 3d 20 74 68 69 73 2e 5f 76 69 65 77 2e 67 65 74 52 65 73 75 6c 74 28 29 | .result.=.this._view.getResult() |
1bd160 | 3b 0a 20 20 20 20 76 61 72 20 6f 6c 64 56 69 65 77 65 72 20 3d 20 72 65 73 75 6c 74 2e 76 69 65 | ;.....var.oldViewer.=.result.vie |
1bd180 | 77 65 72 3b 0a 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 72 65 73 75 6c 74 2e 76 69 65 77 | wer;.....try.{.......result.view |
1bd1a0 | 65 72 20 3d 20 6e 75 6c 6c 3b 0a 20 20 20 20 20 20 76 61 72 20 6e 6f 64 65 73 20 3d 20 74 68 69 | er.=.null;.......var.nodes.=.thi |
1bd1c0 | 73 2e 5f 76 69 65 77 2e 67 65 74 53 65 6c 65 63 74 69 6f 6e 4e 6f 64 65 73 28 29 3b 0a 0a 20 20 | s._view.getSelectionNodes();.... |
1bd1e0 | 20 20 20 20 76 61 72 20 78 66 65 72 61 62 6c 65 20 3d 20 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 | ....var.xferable.=..Cc["@mozilla |
1bd200 | 2e 6f 72 67 2f 77 69 64 67 65 74 2f 74 72 61 6e 73 66 65 72 61 62 6c 65 3b 31 22 5d 2e 0a 20 20 | .org/widget/transferable;1"].... |
1bd220 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 72 65 61 74 65 49 6e 73 74 61 6e | ....................createInstan |
1bd240 | 63 65 28 43 69 2e 6e 73 49 54 72 61 6e 73 66 65 72 61 62 6c 65 29 3b 0a 20 20 20 20 20 20 76 61 | ce(Ci.nsITransferable);.......va |
1bd260 | 72 20 66 6f 75 6e 64 46 6f 6c 64 65 72 20 3d 20 66 61 6c 73 65 2c 20 66 6f 75 6e 64 4c 69 6e 6b | r.foundFolder.=.false,.foundLink |
1bd280 | 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 20 76 61 72 20 63 6f 70 69 65 64 46 6f 6c 64 65 72 | .=.false;.......var.copiedFolder |
1bd2a0 | 73 20 3d 20 5b 5d 3b 0a 20 20 20 20 20 20 76 61 72 20 70 6c 61 63 65 53 74 72 69 6e 67 2c 20 6d | s.=.[];.......var.placeString,.m |
1bd2c0 | 6f 7a 55 52 4c 53 74 72 69 6e 67 2c 20 68 74 6d 6c 53 74 72 69 6e 67 2c 20 75 6e 69 63 6f 64 65 | ozURLString,.htmlString,.unicode |
1bd2e0 | 53 74 72 69 6e 67 3b 0a 20 20 20 20 20 20 70 6c 61 63 65 53 74 72 69 6e 67 20 3d 20 6d 6f 7a 55 | String;.......placeString.=.mozU |
1bd300 | 52 4c 53 74 72 69 6e 67 20 3d 20 68 74 6d 6c 53 74 72 69 6e 67 20 3d 20 75 6e 69 63 6f 64 65 53 | RLString.=.htmlString.=.unicodeS |
1bd320 | 74 72 69 6e 67 20 3d 20 22 22 3b 0a 0a 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 | tring.=."";........for.(var.i.=. |
1bd340 | 30 3b 20 69 20 3c 20 6e 6f 64 65 73 2e 6c 65 6e 67 74 68 3b 20 2b 2b 69 29 20 7b 0a 20 20 20 20 | 0;.i.<.nodes.length;.++i).{..... |
1bd360 | 20 20 20 20 76 61 72 20 6e 6f 64 65 20 3d 20 6e 6f 64 65 73 5b 69 5d 3b 0a 20 20 20 20 20 20 20 | ....var.node.=.nodes[i];........ |
1bd380 | 20 69 66 20 28 74 68 69 73 2e 5f 73 68 6f 75 6c 64 53 6b 69 70 4e 6f 64 65 28 6e 6f 64 65 2c 20 | .if.(this._shouldSkipNode(node,. |
1bd3a0 | 63 6f 70 69 65 64 46 6f 6c 64 65 72 73 29 29 0a 20 20 20 20 20 20 20 20 20 20 63 6f 6e 74 69 6e | copiedFolders))...........contin |
1bd3c0 | 75 65 3b 0a 20 20 20 20 20 20 20 20 69 66 20 28 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 | ue;.........if.(PlacesUtils.node |
1bd3e0 | 49 73 46 6f 6c 64 65 72 28 6e 6f 64 65 29 29 0a 20 20 20 20 20 20 20 20 20 20 63 6f 70 69 65 64 | IsFolder(node))...........copied |
1bd400 | 46 6f 6c 64 65 72 73 2e 70 75 73 68 28 6e 6f 64 65 29 3b 0a 20 20 20 20 20 20 20 20 0a 20 20 20 | Folders.push(node);............. |
1bd420 | 20 20 20 20 20 66 75 6e 63 74 69 6f 6e 20 67 65 6e 65 72 61 74 65 43 68 75 6e 6b 28 74 79 70 65 | .....function.generateChunk(type |
1bd440 | 2c 20 6f 76 65 72 72 69 64 65 55 52 49 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 73 | ,.overrideURI).{...........var.s |
1bd460 | 75 66 66 69 78 20 3d 20 69 20 3c 20 28 6e 6f 64 65 73 2e 6c 65 6e 67 74 68 20 2d 20 31 29 20 3f | uffix.=.i.<.(nodes.length.-.1).? |
1bd480 | 20 4e 45 57 4c 49 4e 45 20 3a 20 22 22 3b 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 75 72 69 | .NEWLINE.:."";...........var.uri |
1bd4a0 | 20 3d 20 6f 76 65 72 72 69 64 65 55 52 49 3b 0a 20 20 20 20 20 20 20 20 0a 20 20 20 20 20 20 20 | .=.overrideURI;................. |
1bd4c0 | 20 20 20 69 66 20 28 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 4c 69 76 65 6d 61 72 | ...if.(PlacesUtils.nodeIsLivemar |
1bd4e0 | 6b 43 6f 6e 74 61 69 6e 65 72 28 6e 6f 64 65 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 75 72 | kContainer(node)).............ur |
1bd500 | 69 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 6c 69 76 65 6d 61 72 6b 73 2e 67 65 74 46 65 65 | i.=.PlacesUtils.livemarks.getFee |
1bd520 | 64 55 52 49 28 6e 6f 64 65 2e 69 74 65 6d 49 64 29 2e 73 70 65 63 0a 0a 20 20 20 20 20 20 20 20 | dURI(node.itemId).spec.......... |
1bd540 | 20 20 6d 6f 7a 55 52 4c 53 74 72 69 6e 67 20 2b 3d 20 28 50 6c 61 63 65 73 55 74 69 6c 73 2e 77 | ..mozURLString.+=.(PlacesUtils.w |
1bd560 | 72 61 70 4e 6f 64 65 28 6e 6f 64 65 2c 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 54 59 50 45 5f 58 | rapNode(node,.PlacesUtils.TYPE_X |
1bd580 | 5f 4d 4f 5a 5f 55 52 4c 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | _MOZ_URL,....................... |
1bd5a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 75 72 69 29 20 | ...........................uri). |
1bd5c0 | 2b 20 73 75 66 66 69 78 29 3b 0a 20 20 20 20 20 20 20 20 20 20 75 6e 69 63 6f 64 65 53 74 72 69 | +.suffix);...........unicodeStri |
1bd5e0 | 6e 67 20 2b 3d 20 28 50 6c 61 63 65 73 55 74 69 6c 73 2e 77 72 61 70 4e 6f 64 65 28 6e 6f 64 65 | ng.+=.(PlacesUtils.wrapNode(node |
1bd600 | 2c 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 54 59 50 45 5f 55 4e 49 43 4f 44 45 2c 0a 20 20 20 20 | ,.PlacesUtils.TYPE_UNICODE,..... |
1bd620 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
1bd640 | 20 20 20 20 20 20 20 20 20 20 20 20 20 75 72 69 29 20 2b 20 73 75 66 66 69 78 29 3b 0a 20 20 20 | .............uri).+.suffix);.... |
1bd660 | 20 20 20 20 20 20 20 68 74 6d 6c 53 74 72 69 6e 67 20 2b 3d 20 28 50 6c 61 63 65 73 55 74 69 6c | .......htmlString.+=.(PlacesUtil |
1bd680 | 73 2e 77 72 61 70 4e 6f 64 65 28 6e 6f 64 65 2c 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 54 59 50 | s.wrapNode(node,.PlacesUtils.TYP |
1bd6a0 | 45 5f 48 54 4d 4c 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | E_HTML,......................... |
1bd6c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 75 72 69 29 20 2b 20 | .........................uri).+. |
1bd6e0 | 73 75 66 66 69 78 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 70 6c 61 63 65 53 75 66 | suffix);............var.placeSuf |
1bd700 | 66 69 78 20 3d 20 69 20 3c 20 28 6e 6f 64 65 73 2e 6c 65 6e 67 74 68 20 2d 20 31 29 20 3f 20 22 | fix.=.i.<.(nodes.length.-.1).?." |
1bd720 | 2c 22 20 3a 20 22 22 3b 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 72 65 73 6f 6c 76 65 53 68 | ,".:."";...........var.resolveSh |
1bd740 | 6f 72 74 63 75 74 73 20 3d 20 21 50 6c 61 63 65 73 43 6f 6e 74 72 6f 6c 6c 65 72 44 72 61 67 48 | ortcuts.=.!PlacesControllerDragH |
1bd760 | 65 6c 70 65 72 2e 63 61 6e 4d 6f 76 65 4e 6f 64 65 28 6e 6f 64 65 29 3b 0a 20 20 20 20 20 20 20 | elper.canMoveNode(node);........ |
1bd780 | 20 20 20 72 65 74 75 72 6e 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 77 72 61 70 4e 6f 64 65 28 6e | ...return.PlacesUtils.wrapNode(n |
1bd7a0 | 6f 64 65 2c 20 74 79 70 65 2c 20 6f 76 65 72 72 69 64 65 55 52 49 2c 20 72 65 73 6f 6c 76 65 53 | ode,.type,.overrideURI,.resolveS |
1bd7c0 | 68 6f 72 74 63 75 74 73 29 20 2b 20 70 6c 61 63 65 53 75 66 66 69 78 3b 0a 20 20 20 20 20 20 20 | hortcuts).+.placeSuffix;........ |
1bd7e0 | 20 7d 0a 0a 20 20 20 20 20 20 20 20 2f 2f 20 61 6c 6c 20 69 74 65 6d 73 20 77 72 61 70 70 65 64 | .}..........//.all.items.wrapped |
1bd800 | 20 61 73 20 54 59 50 45 5f 58 5f 4d 4f 5a 5f 50 4c 41 43 45 0a 20 20 20 20 20 20 20 20 70 6c 61 | .as.TYPE_X_MOZ_PLACE.........pla |
1bd820 | 63 65 53 74 72 69 6e 67 20 2b 3d 20 67 65 6e 65 72 61 74 65 43 68 75 6e 6b 28 50 6c 61 63 65 73 | ceString.+=.generateChunk(Places |
1bd840 | 55 74 69 6c 73 2e 54 59 50 45 5f 58 5f 4d 4f 5a 5f 50 4c 41 43 45 29 3b 0a 20 20 20 20 20 20 7d | Utils.TYPE_X_MOZ_PLACE);.......} |
1bd860 | 0a 0a 20 20 20 20 20 20 66 75 6e 63 74 69 6f 6e 20 61 64 64 44 61 74 61 28 74 79 70 65 2c 20 64 | ........function.addData(type,.d |
1bd880 | 61 74 61 29 20 7b 0a 20 20 20 20 20 20 20 20 78 66 65 72 61 62 6c 65 2e 61 64 64 44 61 74 61 46 | ata).{.........xferable.addDataF |
1bd8a0 | 6c 61 76 6f 72 28 74 79 70 65 29 3b 0a 20 20 20 20 20 20 20 20 78 66 65 72 61 62 6c 65 2e 73 65 | lavor(type);.........xferable.se |
1bd8c0 | 74 54 72 61 6e 73 66 65 72 44 61 74 61 28 74 79 70 65 2c 20 50 6c 61 63 65 73 55 49 55 74 69 6c | tTransferData(type,.PlacesUIUtil |
1bd8e0 | 73 2e 5f 77 72 61 70 53 74 72 69 6e 67 28 64 61 74 61 29 2c 20 64 61 74 61 2e 6c 65 6e 67 74 68 | s._wrapString(data),.data.length |
1bd900 | 20 2a 20 32 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 2f 2f 20 54 68 69 73 20 6f 72 64 | .*.2);.......}.......//.This.ord |
1bd920 | 65 72 20 69 73 20 5f 69 6d 70 6f 72 74 61 6e 74 5f 21 20 49 74 20 63 6f 6e 74 72 6f 6c 73 20 68 | er.is._important_!.It.controls.h |
1bd940 | 6f 77 20 74 68 69 73 20 61 6e 64 20 6f 74 68 65 72 20 61 70 70 6c 69 63 61 74 69 6f 6e 73 20 0a | ow.this.and.other.applications.. |
1bd960 | 20 20 20 20 20 20 2f 2f 20 73 65 6c 65 63 74 20 64 61 74 61 20 74 6f 20 62 65 20 69 6e 73 65 72 | ......//.select.data.to.be.inser |
1bd980 | 74 65 64 20 62 61 73 65 64 20 6f 6e 20 74 79 70 65 2e 0a 20 20 20 20 20 20 69 66 20 28 70 6c 61 | ted.based.on.type........if.(pla |
1bd9a0 | 63 65 53 74 72 69 6e 67 29 0a 20 20 20 20 20 20 20 20 61 64 64 44 61 74 61 28 50 6c 61 63 65 73 | ceString).........addData(Places |
1bd9c0 | 55 74 69 6c 73 2e 54 59 50 45 5f 58 5f 4d 4f 5a 5f 50 4c 41 43 45 2c 20 70 6c 61 63 65 53 74 72 | Utils.TYPE_X_MOZ_PLACE,.placeStr |
1bd9e0 | 69 6e 67 29 3b 0a 20 20 20 20 20 20 69 66 20 28 6d 6f 7a 55 52 4c 53 74 72 69 6e 67 29 0a 20 20 | ing);.......if.(mozURLString)... |
1bda00 | 20 20 20 20 20 20 61 64 64 44 61 74 61 28 50 6c 61 63 65 73 55 74 69 6c 73 2e 54 59 50 45 5f 58 | ......addData(PlacesUtils.TYPE_X |
1bda20 | 5f 4d 4f 5a 5f 55 52 4c 2c 20 6d 6f 7a 55 52 4c 53 74 72 69 6e 67 29 3b 0a 20 20 20 20 20 20 69 | _MOZ_URL,.mozURLString);.......i |
1bda40 | 66 20 28 75 6e 69 63 6f 64 65 53 74 72 69 6e 67 29 0a 20 20 20 20 20 20 20 20 61 64 64 44 61 74 | f.(unicodeString).........addDat |
1bda60 | 61 28 50 6c 61 63 65 73 55 74 69 6c 73 2e 54 59 50 45 5f 55 4e 49 43 4f 44 45 2c 20 75 6e 69 63 | a(PlacesUtils.TYPE_UNICODE,.unic |
1bda80 | 6f 64 65 53 74 72 69 6e 67 29 3b 0a 20 20 20 20 20 20 69 66 20 28 68 74 6d 6c 53 74 72 69 6e 67 | odeString);.......if.(htmlString |
1bdaa0 | 29 0a 20 20 20 20 20 20 20 20 61 64 64 44 61 74 61 28 50 6c 61 63 65 73 55 74 69 6c 73 2e 54 59 | ).........addData(PlacesUtils.TY |
1bdac0 | 50 45 5f 48 54 4d 4c 2c 20 68 74 6d 6c 53 74 72 69 6e 67 29 3b 0a 0a 20 20 20 20 20 20 69 66 20 | PE_HTML,.htmlString);........if. |
1bdae0 | 28 70 6c 61 63 65 53 74 72 69 6e 67 20 7c 7c 20 75 6e 69 63 6f 64 65 53 74 72 69 6e 67 20 7c 7c | (placeString.||.unicodeString.|| |
1bdb00 | 20 68 74 6d 6c 53 74 72 69 6e 67 20 7c 7c 20 6d 6f 7a 55 52 4c 53 74 72 69 6e 67 29 20 7b 0a 20 | .htmlString.||.mozURLString).{.. |
1bdb20 | 20 20 20 20 20 20 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 63 6c 69 70 62 6f 61 72 64 2e 73 | .......PlacesUIUtils.clipboard.s |
1bdb40 | 65 74 44 61 74 61 28 78 66 65 72 61 62 6c 65 2c 20 6e 75 6c 6c 2c 20 43 69 2e 6e 73 49 43 6c 69 | etData(xferable,.null,.Ci.nsICli |
1bdb60 | 70 62 6f 61 72 64 2e 6b 47 6c 6f 62 61 6c 43 6c 69 70 62 6f 61 72 64 29 3b 0a 20 20 20 20 20 20 | pboard.kGlobalClipboard);....... |
1bdb80 | 7d 0a 20 20 20 20 7d 0a 20 20 20 20 66 69 6e 61 6c 6c 79 20 7b 0a 20 20 20 20 20 20 69 66 20 28 | }.....}.....finally.{.......if.( |
1bdba0 | 6f 6c 64 56 69 65 77 65 72 29 0a 20 20 20 20 20 20 20 20 72 65 73 75 6c 74 2e 76 69 65 77 65 72 | oldViewer).........result.viewer |
1bdbc0 | 20 3d 20 6f 6c 64 56 69 65 77 65 72 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a | .=.oldViewer;.....}...},..../**. |
1bdbe0 | 20 20 20 2a 20 43 75 74 20 42 6f 6f 6b 6d 61 72 6b 73 20 61 6e 64 20 46 6f 6c 64 65 72 73 20 74 | ...*.Cut.Bookmarks.and.Folders.t |
1bdc00 | 6f 20 74 68 65 20 63 6c 69 70 62 6f 61 72 64 0a 20 20 20 2a 2f 0a 20 20 63 75 74 3a 20 66 75 6e | o.the.clipboard....*/...cut:.fun |
1bdc20 | 63 74 69 6f 6e 20 50 43 5f 63 75 74 28 29 20 7b 0a 20 20 20 20 74 68 69 73 2e 63 6f 70 79 28 29 | ction.PC_cut().{.....this.copy() |
1bdc40 | 3b 0a 20 20 20 20 74 68 69 73 2e 72 65 6d 6f 76 65 28 22 43 75 74 20 53 65 6c 65 63 74 69 6f 6e | ;.....this.remove("Cut.Selection |
1bdc60 | 22 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 50 61 73 74 65 20 42 6f 6f 6b 6d | ");...},..../**....*.Paste.Bookm |
1bdc80 | 61 72 6b 73 20 61 6e 64 20 46 6f 6c 64 65 72 73 20 66 72 6f 6d 20 74 68 65 20 63 6c 69 70 62 6f | arks.and.Folders.from.the.clipbo |
1bdca0 | 61 72 64 0a 20 20 20 2a 2f 0a 20 20 70 61 73 74 65 3a 20 66 75 6e 63 74 69 6f 6e 20 50 43 5f 70 | ard....*/...paste:.function.PC_p |
1bdcc0 | 61 73 74 65 28 29 20 7b 0a 20 20 20 20 2f 2f 20 53 74 72 61 74 65 67 79 3a 0a 20 20 20 20 2f 2f | aste().{.....//.Strategy:.....// |
1bdce0 | 20 0a 20 20 20 20 2f 2f 20 54 68 65 72 65 20 63 61 6e 20 62 65 20 64 61 74 61 20 6f 66 20 76 61 | ......//.There.can.be.data.of.va |
1bdd00 | 72 69 6f 75 73 20 74 79 70 65 73 20 28 66 6f 6c 64 65 72 2c 20 73 65 70 61 72 61 74 6f 72 2c 20 | rious.types.(folder,.separator,. |
1bdd20 | 6c 69 6e 6b 29 20 6f 6e 20 74 68 65 20 0a 20 20 20 20 2f 2f 20 63 6c 69 70 62 6f 61 72 64 2e 20 | link).on.the......//.clipboard.. |
1bdd40 | 57 65 20 6e 65 65 64 20 74 6f 20 67 65 74 20 61 6c 6c 20 6f 66 20 74 68 61 74 20 64 61 74 61 20 | We.need.to.get.all.of.that.data. |
1bdd60 | 61 6e 64 20 62 75 69 6c 64 20 65 64 69 74 20 74 72 61 6e 73 61 63 74 69 6f 6e 73 0a 20 20 20 20 | and.build.edit.transactions..... |
1bdd80 | 2f 2f 20 66 6f 72 20 74 68 65 6d 2e 20 54 68 69 73 20 6d 65 61 6e 73 20 61 73 6b 69 6e 67 20 74 | //.for.them..This.means.asking.t |
1bdda0 | 68 65 20 63 6c 69 70 62 6f 61 72 64 20 6f 6e 63 65 20 66 6f 72 20 65 61 63 68 20 74 79 70 65 20 | he.clipboard.once.for.each.type. |
1bddc0 | 61 6e 64 20 0a 20 20 20 20 2f 2f 20 61 67 67 72 65 67 61 74 69 6e 67 20 74 68 65 20 72 65 73 75 | and......//.aggregating.the.resu |
1bdde0 | 6c 74 73 2e 20 0a 0a 20 20 20 20 2f 2a 2a 0a 20 20 20 20 20 2a 20 43 6f 6e 73 74 72 75 63 74 73 | lts......../**......*.Constructs |
1bde00 | 20 61 20 74 72 61 6e 73 66 65 72 61 62 6c 65 20 74 68 61 74 20 63 61 6e 20 72 65 63 65 69 76 65 | .a.transferable.that.can.receive |
1bde20 | 20 64 61 74 61 20 6f 66 20 73 70 65 63 69 66 69 63 20 74 79 70 65 73 2e 0a 20 20 20 20 20 2a 20 | .data.of.specific.types.......*. |
1bde40 | 40 70 61 72 61 6d 20 20 20 74 79 70 65 73 0a 20 20 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 54 | @param...types......*..........T |
1bde60 | 68 65 20 74 79 70 65 73 20 6f 66 20 64 61 74 61 20 74 68 65 20 74 72 61 6e 73 66 65 72 61 62 6c | he.types.of.data.the.transferabl |
1bde80 | 65 20 63 61 6e 20 68 6f 6c 64 2c 20 69 6e 20 6f 72 64 65 72 20 6f 66 0a 20 20 20 20 20 2a 20 20 | e.can.hold,.in.order.of......*.. |
1bdea0 | 20 20 20 20 20 20 20 20 70 72 65 66 65 72 65 6e 63 65 2e 0a 20 20 20 20 20 2a 20 40 72 65 74 75 | ........preference.......*.@retu |
1bdec0 | 72 6e 73 20 54 68 65 20 74 72 61 6e 73 66 65 72 61 62 6c 65 2e 0a 20 20 20 20 20 2a 2f 0a 20 20 | rns.The.transferable.......*/... |
1bdee0 | 20 20 66 75 6e 63 74 69 6f 6e 20 6d 61 6b 65 58 66 65 72 61 62 6c 65 28 74 79 70 65 73 29 20 7b | ..function.makeXferable(types).{ |
1bdf00 | 0a 20 20 20 20 20 20 76 61 72 20 78 66 65 72 61 62 6c 65 20 3d 20 0a 20 20 20 20 20 20 20 20 20 | .......var.xferable.=........... |
1bdf20 | 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 77 69 64 67 65 74 2f 74 72 61 6e 73 66 65 | .Cc["@mozilla.org/widget/transfe |
1bdf40 | 72 61 62 6c 65 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 63 72 65 61 74 65 49 6e 73 74 61 | rable;1"]............createInsta |
1bdf60 | 6e 63 65 28 43 69 2e 6e 73 49 54 72 61 6e 73 66 65 72 61 62 6c 65 29 3b 0a 20 20 20 20 20 20 66 | nce(Ci.nsITransferable);.......f |
1bdf80 | 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 74 79 70 65 73 2e 6c 65 6e 67 74 68 3b | or.(var.i.=.0;.i.<.types.length; |
1bdfa0 | 20 2b 2b 69 29 20 0a 20 20 20 20 20 20 20 20 78 66 65 72 61 62 6c 65 2e 61 64 64 44 61 74 61 46 | .++i)..........xferable.addDataF |
1bdfc0 | 6c 61 76 6f 72 28 74 79 70 65 73 5b 69 5d 29 3b 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 78 66 | lavor(types[i]);.......return.xf |
1bdfe0 | 65 72 61 62 6c 65 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 76 61 72 20 63 6c 69 70 62 6f 61 72 64 | erable;.....}......var.clipboard |
1be000 | 20 3d 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 63 6c 69 70 62 6f 61 72 64 3b 0a 0a 20 20 20 | .=.PlacesUIUtils.clipboard;..... |
1be020 | 20 76 61 72 20 69 70 20 3d 20 74 68 69 73 2e 5f 76 69 65 77 2e 69 6e 73 65 72 74 69 6f 6e 50 6f | .var.ip.=.this._view.insertionPo |
1be040 | 69 6e 74 3b 0a 20 20 20 20 69 66 20 28 21 69 70 29 0a 20 20 20 20 20 20 74 68 72 6f 77 20 43 72 | int;.....if.(!ip).......throw.Cr |
1be060 | 2e 4e 53 5f 45 52 52 4f 52 5f 4e 4f 54 5f 41 56 41 49 4c 41 42 4c 45 3b 0a 0a 20 20 20 20 2f 2a | .NS_ERROR_NOT_AVAILABLE;....../* |
1be080 | 2a 0a 20 20 20 20 20 2a 20 47 65 74 73 20 61 20 6c 69 73 74 20 6f 66 20 74 72 61 6e 73 61 63 74 | *......*.Gets.a.list.of.transact |
1be0a0 | 69 6f 6e 73 20 74 6f 20 70 65 72 66 6f 72 6d 20 74 68 65 20 70 61 73 74 65 20 6f 66 20 73 70 65 | ions.to.perform.the.paste.of.spe |
1be0c0 | 63 69 66 69 63 20 74 79 70 65 73 2e 0a 20 20 20 20 20 2a 20 40 70 61 72 61 6d 20 20 20 74 79 70 | cific.types.......*.@param...typ |
1be0e0 | 65 73 0a 20 20 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 54 68 65 20 74 79 70 65 73 20 6f 66 20 | es......*..........The.types.of. |
1be100 | 64 61 74 61 20 74 6f 20 66 6f 72 6d 20 70 61 73 74 65 20 74 72 61 6e 73 61 63 74 69 6f 6e 73 20 | data.to.form.paste.transactions. |
1be120 | 66 6f 72 0a 20 20 20 20 20 2a 20 40 72 65 74 75 72 6e 73 20 41 6e 20 61 72 72 61 79 20 6f 66 20 | for......*.@returns.An.array.of. |
1be140 | 74 72 61 6e 73 61 63 74 69 6f 6e 73 20 74 68 61 74 20 70 65 72 66 6f 72 6d 20 74 68 65 20 70 61 | transactions.that.perform.the.pa |
1be160 | 73 74 65 2e 0a 20 20 20 20 20 2a 2f 0a 20 20 20 20 66 75 6e 63 74 69 6f 6e 20 67 65 74 54 72 61 | ste.......*/.....function.getTra |
1be180 | 6e 73 61 63 74 69 6f 6e 73 28 74 79 70 65 73 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 78 66 65 | nsactions(types).{.......var.xfe |
1be1a0 | 72 61 62 6c 65 20 3d 20 6d 61 6b 65 58 66 65 72 61 62 6c 65 28 74 79 70 65 73 29 3b 0a 20 20 20 | rable.=.makeXferable(types);.... |
1be1c0 | 20 20 20 63 6c 69 70 62 6f 61 72 64 2e 67 65 74 44 61 74 61 28 78 66 65 72 61 62 6c 65 2c 20 43 | ...clipboard.getData(xferable,.C |
1be1e0 | 69 2e 6e 73 49 43 6c 69 70 62 6f 61 72 64 2e 6b 47 6c 6f 62 61 6c 43 6c 69 70 62 6f 61 72 64 29 | i.nsIClipboard.kGlobalClipboard) |
1be200 | 3b 0a 0a 20 20 20 20 20 20 76 61 72 20 64 61 74 61 20 3d 20 7b 20 7d 2c 20 74 79 70 65 20 3d 20 | ;........var.data.=.{.},.type.=. |
1be220 | 7b 20 7d 3b 0a 20 20 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 20 20 78 66 65 72 61 62 6c | {.};.......try.{.........xferabl |
1be240 | 65 2e 67 65 74 41 6e 79 54 72 61 6e 73 66 65 72 44 61 74 61 28 74 79 70 65 2c 20 64 61 74 61 2c | e.getAnyTransferData(type,.data, |
1be260 | 20 7b 20 7d 29 3b 0a 20 20 20 20 20 20 20 20 64 61 74 61 20 3d 20 64 61 74 61 2e 76 61 6c 75 65 | .{.});.........data.=.data.value |
1be280 | 2e 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 28 43 69 2e 6e 73 49 53 75 70 70 6f 72 74 73 53 74 | .QueryInterface(Ci.nsISupportsSt |
1be2a0 | 72 69 6e 67 29 2e 64 61 74 61 3b 0a 20 20 20 20 20 20 20 20 76 61 72 20 69 74 65 6d 73 20 3d 20 | ring).data;.........var.items.=. |
1be2c0 | 50 6c 61 63 65 73 55 74 69 6c 73 2e 75 6e 77 72 61 70 4e 6f 64 65 73 28 64 61 74 61 2c 20 74 79 | PlacesUtils.unwrapNodes(data,.ty |
1be2e0 | 70 65 2e 76 61 6c 75 65 29 3b 0a 20 20 20 20 20 20 20 20 76 61 72 20 74 72 61 6e 73 61 63 74 69 | pe.value);.........var.transacti |
1be300 | 6f 6e 73 20 3d 20 5b 5d 3b 0a 20 20 20 20 20 20 20 20 76 61 72 20 69 6e 64 65 78 20 3d 20 69 70 | ons.=.[];.........var.index.=.ip |
1be320 | 2e 69 6e 64 65 78 3b 0a 20 20 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 | .index;.........for.(var.i.=.0;. |
1be340 | 69 20 3c 20 69 74 65 6d 73 2e 6c 65 6e 67 74 68 3b 20 2b 2b 69 29 20 7b 0a 20 20 20 20 20 20 20 | i.<.items.length;.++i).{........ |
1be360 | 20 20 20 76 61 72 20 74 78 6e 3b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 69 70 2e 69 73 54 | ...var.txn;...........if.(ip.isT |
1be380 | 61 67 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 75 72 69 20 3d 20 50 6c 61 63 | ag).{.............var.uri.=.Plac |
1be3a0 | 65 73 55 74 69 6c 73 2e 5f 75 72 69 28 69 74 65 6d 73 5b 69 5d 2e 75 72 69 29 3b 0a 20 20 20 20 | esUtils._uri(items[i].uri);..... |
1be3c0 | 20 20 20 20 20 20 20 20 74 78 6e 20 3d 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 70 74 6d 2e | ........txn.=.PlacesUIUtils.ptm. |
1be3e0 | 74 61 67 55 52 49 28 75 72 69 2c 20 5b 69 70 2e 69 74 65 6d 49 64 5d 29 3b 0a 20 20 20 20 20 20 | tagURI(uri,.[ip.itemId]);....... |
1be400 | 20 20 20 20 7d 20 0a 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 20 20 | ....}............else.{......... |
1be420 | 20 20 20 20 2f 2f 20 61 64 6a 75 73 74 65 64 20 74 6f 20 6d 61 6b 65 20 73 75 72 65 20 74 68 61 | ....//.adjusted.to.make.sure.tha |
1be440 | 74 20 69 74 65 6d 73 20 61 72 65 20 67 69 76 65 6e 20 74 68 65 20 63 6f 72 72 65 63 74 20 69 6e | t.items.are.given.the.correct.in |
1be460 | 64 65 78 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 74 72 61 6e 73 61 63 74 69 6f 6e 73 20 | dex.............//.transactions. |
1be480 | 69 6e 73 65 72 74 20 64 69 66 66 65 72 65 6e 74 6c 79 20 69 66 20 69 6e 64 65 78 20 3d 3d 20 2d | insert.differently.if.index.==.- |
1be4a0 | 31 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 74 72 61 6e 73 61 63 74 69 6f 6e 20 77 69 | 1..............//.transaction.wi |
1be4c0 | 6c 6c 20 65 6e 71 75 65 75 65 20 74 68 65 20 69 74 65 6d 2e 0a 20 20 20 20 20 20 20 20 20 20 20 | ll.enqueue.the.item............. |
1be4e0 | 20 69 66 20 28 69 70 2e 69 6e 64 65 78 20 3e 20 2d 31 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 | .if.(ip.index.>.-1)............. |
1be500 | 20 20 69 6e 64 65 78 20 3d 20 69 70 2e 69 6e 64 65 78 20 2b 20 69 3b 0a 20 20 20 20 20 20 20 20 | ..index.=.ip.index.+.i;......... |
1be520 | 20 20 20 20 74 78 6e 20 3d 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 6d 61 6b 65 54 72 61 6e | ....txn.=.PlacesUIUtils.makeTran |
1be540 | 73 61 63 74 69 6f 6e 28 69 74 65 6d 73 5b 69 5d 2c 20 74 79 70 65 2e 76 61 6c 75 65 2c 0a 20 20 | saction(items[i],.type.value,... |
1be560 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
1be580 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 70 2e 69 74 65 6d 49 64 2c 20 69 6e 64 65 78 2c 20 | ..............ip.itemId,.index,. |
1be5a0 | 74 72 75 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 74 72 61 | true);...........}...........tra |
1be5c0 | 6e 73 61 63 74 69 6f 6e 73 2e 70 75 73 68 28 74 78 6e 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 20 | nsactions.push(txn);.........}.. |
1be5e0 | 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 72 61 6e 73 61 63 74 69 6f 6e 73 3b 0a 20 20 20 20 | .......return.transactions;..... |
1be600 | 20 20 7d 0a 20 20 20 20 20 20 63 61 74 63 68 20 28 65 29 20 7b 0a 20 20 20 20 20 20 20 20 2f 2f | ..}.......catch.(e).{.........// |
1be620 | 20 67 65 74 41 6e 79 54 72 61 6e 73 66 65 72 44 61 74 61 20 77 69 6c 6c 20 74 68 72 6f 77 20 69 | .getAnyTransferData.will.throw.i |
1be640 | 66 20 74 68 65 72 65 20 69 73 20 6e 6f 20 64 61 74 61 20 6f 66 20 74 68 65 20 73 70 65 63 69 66 | f.there.is.no.data.of.the.specif |
1be660 | 69 65 64 0a 20 20 20 20 20 20 20 20 2f 2f 20 74 79 70 65 20 6f 6e 20 74 68 65 20 63 6c 69 70 62 | ied.........//.type.on.the.clipb |
1be680 | 6f 61 72 64 2e 20 0a 20 20 20 20 20 20 20 20 2f 2f 20 75 6e 77 72 61 70 4e 6f 64 65 73 20 77 69 | oard...........//.unwrapNodes.wi |
1be6a0 | 6c 6c 20 74 68 72 6f 77 20 69 66 20 74 68 65 20 64 61 74 61 20 74 68 61 74 20 69 73 20 70 72 65 | ll.throw.if.the.data.that.is.pre |
1be6c0 | 73 65 6e 74 20 69 73 20 6d 61 6c 66 6f 72 6d 65 64 20 69 6e 0a 20 20 20 20 20 20 20 20 2f 2f 20 | sent.is.malformed.in.........//. |
1be6e0 | 73 6f 6d 65 20 77 61 79 2e 20 0a 20 20 20 20 20 20 20 20 2f 2f 20 49 6e 20 65 69 74 68 65 72 20 | some.way...........//.In.either. |
1be700 | 63 61 73 65 2c 20 64 6f 6e 27 74 20 66 61 69 6c 20 68 6f 72 72 69 62 6c 79 2c 20 6a 75 73 74 20 | case,.don't.fail.horribly,.just. |
1be720 | 72 65 74 75 72 6e 20 6e 6f 20 64 61 74 61 2e 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 72 65 | return.no.data........}.......re |
1be740 | 74 75 72 6e 20 5b 5d 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 2f 2f 20 47 65 74 20 74 72 61 6e 73 | turn.[];.....}......//.Get.trans |
1be760 | 61 63 74 69 6f 6e 73 20 74 6f 20 70 61 73 74 65 20 61 6e 79 20 66 6f 6c 64 65 72 73 2c 20 73 65 | actions.to.paste.any.folders,.se |
1be780 | 70 61 72 61 74 6f 72 73 20 6f 72 20 6c 69 6e 6b 73 20 74 68 61 74 20 6d 69 67 68 74 0a 20 20 20 | parators.or.links.that.might.... |
1be7a0 | 20 2f 2f 20 62 65 20 6f 6e 20 74 68 65 20 63 6c 69 70 62 6f 61 72 64 2c 20 61 67 67 72 65 67 61 | .//.be.on.the.clipboard,.aggrega |
1be7c0 | 74 65 20 74 68 65 6d 20 61 6e 64 20 65 78 65 63 75 74 65 20 74 68 65 6d 2e 20 0a 20 20 20 20 76 | te.them.and.execute.them.......v |
1be7e0 | 61 72 20 74 72 61 6e 73 61 63 74 69 6f 6e 73 20 3d 20 67 65 74 54 72 61 6e 73 61 63 74 69 6f 6e | ar.transactions.=.getTransaction |
1be800 | 73 28 5b 50 6c 61 63 65 73 55 74 69 6c 73 2e 54 59 50 45 5f 58 5f 4d 4f 5a 5f 50 4c 41 43 45 2c | s([PlacesUtils.TYPE_X_MOZ_PLACE, |
1be820 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
1be840 | 20 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 54 59 50 45 5f 58 5f 4d 4f 5a 5f | .........PlacesUtils.TYPE_X_MOZ_ |
1be860 | 55 52 4c 2c 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | URL,............................ |
1be880 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 54 59 50 45 5f 55 | ..............PlacesUtils.TYPE_U |
1be8a0 | 4e 49 43 4f 44 45 5d 29 3b 0a 20 20 20 20 76 61 72 20 74 78 6e 20 3d 20 50 6c 61 63 65 73 55 49 | NICODE]);.....var.txn.=.PlacesUI |
1be8c0 | 55 74 69 6c 73 2e 70 74 6d 2e 61 67 67 72 65 67 61 74 65 54 72 61 6e 73 61 63 74 69 6f 6e 73 28 | Utils.ptm.aggregateTransactions( |
1be8e0 | 22 50 61 73 74 65 22 2c 20 74 72 61 6e 73 61 63 74 69 6f 6e 73 29 3b 0a 20 20 20 20 50 6c 61 63 | "Paste",.transactions);.....Plac |
1be900 | 65 73 55 49 55 74 69 6c 73 2e 70 74 6d 2e 64 6f 54 72 61 6e 73 61 63 74 69 6f 6e 28 74 78 6e 29 | esUIUtils.ptm.doTransaction(txn) |
1be920 | 3b 0a 0a 20 20 20 20 2f 2f 20 73 65 6c 65 63 74 20 74 68 65 20 70 61 73 74 65 64 20 69 74 65 6d | ;......//.select.the.pasted.item |
1be940 | 73 2c 20 74 68 65 79 20 73 68 6f 75 6c 64 20 62 65 20 63 6f 6e 73 65 63 75 74 69 76 65 0a 20 20 | s,.they.should.be.consecutive... |
1be960 | 20 20 76 61 72 20 69 6e 73 65 72 74 65 64 4e 6f 64 65 49 64 73 20 3d 20 5b 5d 3b 0a 20 20 20 20 | ..var.insertedNodeIds.=.[];..... |
1be980 | 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 74 72 61 6e 73 61 63 74 69 6f 6e 73 | for.(var.i.=.0;.i.<.transactions |
1be9a0 | 2e 6c 65 6e 67 74 68 3b 20 2b 2b 69 29 0a 20 20 20 20 20 20 69 6e 73 65 72 74 65 64 4e 6f 64 65 | .length;.++i).......insertedNode |
1be9c0 | 49 64 73 2e 70 75 73 68 28 50 6c 61 63 65 73 55 74 69 6c 73 2e 62 6f 6f 6b 6d 61 72 6b 73 0a 20 | Ids.push(PlacesUtils.bookmarks.. |
1be9e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
1bea00 | 20 20 20 20 20 2e 67 65 74 49 64 46 6f 72 49 74 65 6d 41 74 28 69 70 2e 69 74 65 6d 49 64 2c 20 | ......getIdForItemAt(ip.itemId,. |
1bea20 | 69 70 2e 69 6e 64 65 78 20 2b 20 69 29 29 3b 0a 20 20 20 20 69 66 20 28 69 6e 73 65 72 74 65 64 | ip.index.+.i));.....if.(inserted |
1bea40 | 4e 6f 64 65 49 64 73 2e 6c 65 6e 67 74 68 20 3e 20 30 29 0a 20 20 20 20 20 20 74 68 69 73 2e 5f | NodeIds.length.>.0).......this._ |
1bea60 | 76 69 65 77 2e 73 65 6c 65 63 74 49 74 65 6d 73 28 69 6e 73 65 72 74 65 64 4e 6f 64 65 49 64 73 | view.selectItems(insertedNodeIds |
1bea80 | 2c 20 66 61 6c 73 65 29 3b 0a 20 20 7d 0a 7d 3b 0a 0a 2f 2a 2a 0a 20 2a 20 48 61 6e 64 6c 65 73 | ,.false);...}.};../**..*.Handles |
1beaa0 | 20 64 72 61 67 20 61 6e 64 20 64 72 6f 70 20 6f 70 65 72 61 74 69 6f 6e 73 20 66 6f 72 20 76 69 | .drag.and.drop.operations.for.vi |
1beac0 | 65 77 73 2e 20 4e 6f 74 65 20 74 68 61 74 20 74 68 69 73 20 69 73 20 76 69 65 77 20 61 67 6e 6f | ews..Note.that.this.is.view.agno |
1beae0 | 73 74 69 63 21 0a 20 2a 20 59 6f 75 20 73 68 6f 75 6c 64 20 6e 6f 74 20 75 73 65 20 50 6c 61 63 | stic!..*.You.should.not.use.Plac |
1beb00 | 65 73 43 6f 6e 74 72 6f 6c 6c 65 72 2e 5f 76 69 65 77 20 77 69 74 68 69 6e 20 74 68 65 73 65 20 | esController._view.within.these. |
1beb20 | 6d 65 74 68 6f 64 73 2c 20 73 69 6e 63 65 0a 20 2a 20 74 68 65 20 76 69 65 77 20 74 68 61 74 20 | methods,.since..*.the.view.that. |
1beb40 | 74 68 65 20 69 74 65 6d 28 73 29 20 68 61 76 65 20 62 65 65 6e 20 64 72 6f 70 70 65 64 20 6f 6e | the.item(s).have.been.dropped.on |
1beb60 | 20 77 61 73 20 6e 6f 74 20 6e 65 63 65 73 73 61 72 69 6c 79 20 61 63 74 69 76 65 2e 20 0a 20 2a | .was.not.necessarily.active....* |
1beb80 | 20 44 72 6f 70 20 66 75 6e 63 74 69 6f 6e 73 20 61 72 65 20 70 61 73 73 65 64 20 74 68 65 20 76 | .Drop.functions.are.passed.the.v |
1beba0 | 69 65 77 20 74 68 61 74 20 69 73 20 62 65 69 6e 67 20 64 72 6f 70 70 65 64 20 6f 6e 2e 20 0a 20 | iew.that.is.being.dropped.on.... |
1bebc0 | 2a 2f 0a 76 61 72 20 50 6c 61 63 65 73 43 6f 6e 74 72 6f 6c 6c 65 72 44 72 61 67 48 65 6c 70 65 | */.var.PlacesControllerDragHelpe |
1bebe0 | 72 20 3d 20 7b 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 44 4f 4d 20 45 6c 65 6d 65 6e 74 20 63 75 72 | r.=.{.../**....*.DOM.Element.cur |
1bec00 | 72 65 6e 74 6c 79 20 62 65 69 6e 67 20 64 72 61 67 67 65 64 20 6f 76 65 72 0a 20 20 20 2a 2f 0a | rently.being.dragged.over....*/. |
1bec20 | 20 20 63 75 72 72 65 6e 74 44 72 6f 70 54 61 72 67 65 74 3a 20 6e 75 6c 6c 2c 0a 0a 20 20 2f 2a | ..currentDropTarget:.null,..../* |
1bec40 | 2a 0a 20 20 20 2a 20 43 75 72 72 65 6e 74 20 6e 73 49 44 4f 4d 44 61 74 61 54 72 61 6e 73 66 65 | *....*.Current.nsIDOMDataTransfe |
1bec60 | 72 0a 20 20 20 2a 20 57 65 20 6e 65 65 64 20 74 6f 20 63 61 63 68 65 20 74 68 69 73 20 62 65 63 | r....*.We.need.to.cache.this.bec |
1bec80 | 61 75 73 65 20 77 65 20 64 6f 6e 27 74 20 68 61 76 65 20 61 63 63 65 73 73 20 74 6f 20 74 68 65 | ause.we.don't.have.access.to.the |
1beca0 | 20 65 76 65 6e 74 20 69 6e 20 74 68 65 0a 20 20 20 2a 20 74 72 65 65 56 69 65 77 27 73 20 63 61 | .event.in.the....*.treeView's.ca |
1becc0 | 6e 44 72 6f 70 20 6f 72 20 64 72 6f 70 20 6d 65 74 68 6f 64 73 2c 20 61 6e 64 20 73 65 73 73 69 | nDrop.or.drop.methods,.and.sessi |
1bece0 | 6f 6e 2e 64 61 74 61 54 72 61 6e 73 66 65 72 20 77 6f 75 6c 64 20 6e 6f 74 20 62 65 0a 20 20 20 | on.dataTransfer.would.not.be.... |
1bed00 | 2a 20 66 69 6c 6c 65 64 20 66 6f 72 20 64 72 61 67 20 61 6e 64 20 64 72 6f 70 20 66 72 6f 6d 20 | *.filled.for.drag.and.drop.from. |
1bed20 | 65 78 74 65 72 6e 61 6c 20 73 6f 75 72 63 65 73 20 28 65 67 2e 20 74 68 65 20 4f 53 29 2e 0a 20 | external.sources.(eg..the.OS)... |
1bed40 | 20 20 2a 2f 0a 20 20 63 75 72 72 65 6e 74 44 61 74 61 54 72 61 6e 73 66 65 72 3a 20 6e 75 6c 6c | ..*/...currentDataTransfer:.null |
1bed60 | 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 44 65 74 65 72 6d 69 6e 65 73 20 69 66 20 74 68 65 20 | ,..../**....*.Determines.if.the. |
1bed80 | 6d 6f 75 73 65 20 69 73 20 63 75 72 72 65 6e 74 6c 79 20 62 65 69 6e 67 20 64 72 61 67 67 65 64 | mouse.is.currently.being.dragged |
1beda0 | 20 6f 76 65 72 20 61 20 63 68 69 6c 64 20 6e 6f 64 65 20 6f 66 0a 20 20 20 2a 20 74 68 69 73 20 | .over.a.child.node.of....*.this. |
1bedc0 | 6d 65 6e 75 2e 20 54 68 69 73 20 69 73 20 6e 65 63 65 73 73 61 72 79 20 73 6f 20 74 68 61 74 20 | menu..This.is.necessary.so.that. |
1bede0 | 74 68 65 20 6d 65 6e 75 20 64 6f 65 73 6e 27 74 20 63 6c 6f 73 65 20 77 68 69 6c 65 20 74 68 65 | the.menu.doesn't.close.while.the |
1bee00 | 0a 20 20 20 2a 20 6d 6f 75 73 65 20 69 73 20 64 72 61 67 67 69 6e 67 20 6f 76 65 72 20 6f 6e 65 | ....*.mouse.is.dragging.over.one |
1bee20 | 20 6f 66 20 69 74 73 20 73 75 62 6d 65 6e 75 73 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 20 20 6e | .of.its.submenus....*.@param...n |
1bee40 | 6f 64 65 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 54 68 65 20 63 6f 6e 74 61 69 6e 65 72 20 | ode....*..........The.container. |
1bee60 | 6e 6f 64 65 0a 20 20 20 2a 20 40 72 65 74 75 72 6e 73 20 74 72 75 65 20 69 66 20 74 68 65 20 75 | node....*.@returns.true.if.the.u |
1bee80 | 73 65 72 20 69 73 20 64 72 61 67 67 69 6e 67 20 6f 76 65 72 20 61 20 6e 6f 64 65 20 77 69 74 68 | ser.is.dragging.over.a.node.with |
1beea0 | 69 6e 20 74 68 65 20 68 69 65 72 61 72 63 68 79 20 6f 66 0a 20 20 20 2a 20 20 20 20 20 20 20 20 | in.the.hierarchy.of....*........ |
1beec0 | 20 20 74 68 65 20 63 6f 6e 74 61 69 6e 65 72 2c 20 66 61 6c 73 65 20 6f 74 68 65 72 77 69 73 65 | ..the.container,.false.otherwise |
1beee0 | 2e 0a 20 20 20 2a 2f 0a 20 20 64 72 61 67 67 69 6e 67 4f 76 65 72 43 68 69 6c 64 4e 6f 64 65 3a | .....*/...draggingOverChildNode: |
1bef00 | 20 66 75 6e 63 74 69 6f 6e 20 50 43 44 48 5f 64 72 61 67 67 69 6e 67 4f 76 65 72 43 68 69 6c 64 | .function.PCDH_draggingOverChild |
1bef20 | 4e 6f 64 65 28 6e 6f 64 65 29 20 7b 0a 20 20 20 20 76 61 72 20 63 75 72 72 65 6e 74 4e 6f 64 65 | Node(node).{.....var.currentNode |
1bef40 | 20 3d 20 74 68 69 73 2e 63 75 72 72 65 6e 74 44 72 6f 70 54 61 72 67 65 74 3b 0a 20 20 20 20 77 | .=.this.currentDropTarget;.....w |
1bef60 | 68 69 6c 65 20 28 63 75 72 72 65 6e 74 4e 6f 64 65 29 20 7b 0a 20 20 20 20 20 20 69 66 20 28 63 | hile.(currentNode).{.......if.(c |
1bef80 | 75 72 72 65 6e 74 4e 6f 64 65 20 3d 3d 20 6e 6f 64 65 29 0a 20 20 20 20 20 20 20 20 72 65 74 75 | urrentNode.==.node).........retu |
1befa0 | 72 6e 20 74 72 75 65 3b 0a 20 20 20 20 20 20 63 75 72 72 65 6e 74 4e 6f 64 65 20 3d 20 63 75 72 | rn.true;.......currentNode.=.cur |
1befc0 | 72 65 6e 74 4e 6f 64 65 2e 70 61 72 65 6e 74 4e 6f 64 65 3b 0a 20 20 20 20 7d 0a 20 20 20 20 72 | rentNode.parentNode;.....}.....r |
1befe0 | 65 74 75 72 6e 20 66 61 6c 73 65 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 40 72 | eturn.false;...},..../**....*.@r |
1bf000 | 65 74 75 72 6e 73 20 54 68 65 20 63 75 72 72 65 6e 74 20 61 63 74 69 76 65 20 64 72 61 67 20 73 | eturns.The.current.active.drag.s |
1bf020 | 65 73 73 69 6f 6e 2e 20 52 65 74 75 72 6e 73 20 6e 75 6c 6c 20 69 66 20 74 68 65 72 65 20 69 73 | ession..Returns.null.if.there.is |
1bf040 | 20 6e 6f 6e 65 2e 0a 20 20 20 2a 2f 0a 20 20 67 65 74 53 65 73 73 69 6f 6e 3a 20 66 75 6e 63 74 | .none.....*/...getSession:.funct |
1bf060 | 69 6f 6e 20 50 43 44 48 5f 5f 67 65 74 53 65 73 73 69 6f 6e 28 29 20 7b 0a 20 20 20 20 76 61 72 | ion.PCDH__getSession().{.....var |
1bf080 | 20 64 72 61 67 53 65 72 76 69 63 65 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f | .dragService.=.Cc["@mozilla.org/ |
1bf0a0 | 77 69 64 67 65 74 2f 64 72 61 67 73 65 72 76 69 63 65 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 | widget/dragservice;1"].......... |
1bf0c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 44 | ..............getService(Ci.nsID |
1bf0e0 | 72 61 67 53 65 72 76 69 63 65 29 3b 0a 20 20 20 20 72 65 74 75 72 6e 20 64 72 61 67 53 65 72 76 | ragService);.....return.dragServ |
1bf100 | 69 63 65 2e 67 65 74 43 75 72 72 65 6e 74 53 65 73 73 69 6f 6e 28 29 3b 0a 20 20 7d 2c 0a 0a 20 | ice.getCurrentSession();...},... |
1bf120 | 20 2f 2a 2a 0a 20 20 20 2a 20 45 78 74 72 61 63 74 20 74 68 65 20 66 69 72 73 74 20 61 63 63 65 | ./**....*.Extract.the.first.acce |
1bf140 | 70 74 65 64 20 66 6c 61 76 6f 72 20 66 72 6f 6d 20 61 20 66 6c 61 76 6f 72 73 20 61 72 72 61 79 | pted.flavor.from.a.flavors.array |
1bf160 | 2e 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 61 46 6c 61 76 6f 72 73 0a 20 20 20 2a 20 20 20 20 20 | .....*.@param.aFlavors....*..... |
1bf180 | 20 20 20 54 68 65 20 66 6c 61 76 6f 72 73 20 61 72 72 61 79 2e 0a 20 20 20 2a 2f 0a 20 20 67 65 | ...The.flavors.array.....*/...ge |
1bf1a0 | 74 46 69 72 73 74 56 61 6c 69 64 46 6c 61 76 6f 72 3a 20 66 75 6e 63 74 69 6f 6e 20 50 43 44 48 | tFirstValidFlavor:.function.PCDH |
1bf1c0 | 5f 67 65 74 46 69 72 73 74 56 61 6c 69 64 46 6c 61 76 6f 72 28 61 46 6c 61 76 6f 72 73 29 20 7b | _getFirstValidFlavor(aFlavors).{ |
1bf1e0 | 0a 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 61 46 6c 61 76 6f 72 | .....for.(var.i.=.0;.i.<.aFlavor |
1bf200 | 73 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 20 7b 0a 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e | s.length;.i++).{.......if.(this. |
1bf220 | 47 45 4e 45 52 49 43 5f 56 49 45 57 5f 44 52 4f 50 5f 54 59 50 45 53 2e 69 6e 64 65 78 4f 66 28 | GENERIC_VIEW_DROP_TYPES.indexOf( |
1bf240 | 61 46 6c 61 76 6f 72 73 5b 69 5d 29 20 21 3d 20 2d 31 29 0a 20 20 20 20 20 20 20 20 72 65 74 75 | aFlavors[i]).!=.-1).........retu |
1bf260 | 72 6e 20 61 46 6c 61 76 6f 72 73 5b 69 5d 3b 0a 20 20 20 20 7d 0a 20 20 20 20 72 65 74 75 72 6e | rn.aFlavors[i];.....}.....return |
1bf280 | 20 6e 75 6c 6c 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 44 65 74 65 72 6d 69 6e | .null;...},..../**....*.Determin |
1bf2a0 | 65 73 20 77 68 65 74 68 65 72 20 6f 72 20 6e 6f 74 20 74 68 65 20 64 61 74 61 20 63 75 72 72 65 | es.whether.or.not.the.data.curre |
1bf2c0 | 6e 74 6c 79 20 62 65 69 6e 67 20 64 72 61 67 67 65 64 20 63 61 6e 20 62 65 20 64 72 6f 70 70 65 | ntly.being.dragged.can.be.droppe |
1bf2e0 | 64 0a 20 20 20 2a 20 6f 6e 20 61 20 70 6c 61 63 65 73 20 76 69 65 77 2e 0a 20 20 20 2a 20 40 70 | d....*.on.a.places.view.....*.@p |
1bf300 | 61 72 61 6d 20 69 70 0a 20 20 20 2a 20 20 20 20 20 20 20 20 54 68 65 20 69 6e 73 65 72 74 69 6f | aram.ip....*........The.insertio |
1bf320 | 6e 20 70 6f 69 6e 74 20 77 68 65 72 65 20 74 68 65 20 69 74 65 6d 73 20 73 68 6f 75 6c 64 20 62 | n.point.where.the.items.should.b |
1bf340 | 65 20 64 72 6f 70 70 65 64 0a 20 20 20 2a 2f 0a 20 20 63 61 6e 44 72 6f 70 3a 20 66 75 6e 63 74 | e.dropped....*/...canDrop:.funct |
1bf360 | 69 6f 6e 20 50 43 44 48 5f 63 61 6e 44 72 6f 70 28 69 70 29 20 7b 0a 20 20 20 20 76 61 72 20 64 | ion.PCDH_canDrop(ip).{.....var.d |
1bf380 | 74 20 3d 20 74 68 69 73 2e 63 75 72 72 65 6e 74 44 61 74 61 54 72 61 6e 73 66 65 72 3b 0a 20 20 | t.=.this.currentDataTransfer;... |
1bf3a0 | 20 20 76 61 72 20 64 72 6f 70 43 6f 75 6e 74 20 3d 20 64 74 2e 6d 6f 7a 49 74 65 6d 43 6f 75 6e | ..var.dropCount.=.dt.mozItemCoun |
1bf3c0 | 74 3b 0a 0a 20 20 20 20 2f 2f 20 43 68 65 63 6b 20 65 76 65 72 79 20 64 72 61 67 67 65 64 20 69 | t;......//.Check.every.dragged.i |
1bf3e0 | 74 65 6d 0a 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 64 72 6f 70 | tem.....for.(var.i.=.0;.i.<.drop |
1bf400 | 43 6f 75 6e 74 3b 20 69 2b 2b 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 66 6c 61 76 6f 72 20 3d | Count;.i++).{.......var.flavor.= |
1bf420 | 20 74 68 69 73 2e 67 65 74 46 69 72 73 74 56 61 6c 69 64 46 6c 61 76 6f 72 28 64 74 2e 6d 6f 7a | .this.getFirstValidFlavor(dt.moz |
1bf440 | 54 79 70 65 73 41 74 28 69 29 29 3b 0a 20 20 20 20 20 20 69 66 20 28 21 66 6c 61 76 6f 72 29 0a | TypesAt(i));.......if.(!flavor). |
1bf460 | 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 0a 0a 20 20 20 20 20 20 76 61 72 | ........return.false;........var |
1bf480 | 20 64 61 74 61 20 3d 20 64 74 2e 6d 6f 7a 47 65 74 44 61 74 61 41 74 28 66 6c 61 76 6f 72 2c 20 | .data.=.dt.mozGetDataAt(flavor,. |
1bf4a0 | 69 29 3b 0a 0a 20 20 20 20 20 20 2f 2f 20 75 72 6c 73 20 63 61 6e 20 62 65 20 64 72 6f 70 70 65 | i);........//.urls.can.be.droppe |
1bf4c0 | 64 20 6f 6e 20 61 6e 79 20 69 6e 73 65 72 74 69 6f 6e 70 6f 69 6e 74 0a 20 20 20 20 20 20 2f 2f | d.on.any.insertionpoint.......// |
1bf4e0 | 20 58 58 58 6d 61 6e 6f 3a 20 2f 2f 20 52 65 6d 65 6d 62 65 72 3a 20 74 68 69 73 20 6d 65 74 68 | .XXXmano:.//.Remember:.this.meth |
1bf500 | 6f 64 20 69 73 20 63 61 6c 6c 65 64 20 66 6f 72 20 65 61 63 68 20 64 72 61 67 6f 76 65 72 20 65 | od.is.called.for.each.dragover.e |
1bf520 | 76 65 6e 74 21 0a 20 20 20 20 20 20 2f 2f 20 54 68 75 73 20 77 65 20 73 68 6f 75 6c 64 6e 27 74 | vent!.......//.Thus.we.shouldn't |
1bf540 | 20 75 73 65 20 75 6e 77 72 61 70 4e 6f 64 65 73 20 68 65 72 65 20 61 74 20 61 6c 6c 20 69 66 20 | .use.unwrapNodes.here.at.all.if. |
1bf560 | 70 6f 73 73 69 62 6c 65 2e 0a 20 20 20 20 20 20 2f 2f 20 49 20 74 68 69 6e 6b 20 69 74 20 77 6f | possible........//.I.think.it.wo |
1bf580 | 75 6c 64 20 62 65 20 4f 4b 20 74 6f 20 61 63 63 65 70 74 20 62 6f 67 75 73 20 64 61 74 61 20 68 | uld.be.OK.to.accept.bogus.data.h |
1bf5a0 | 65 72 65 20 28 65 2e 67 2e 20 74 65 78 74 20 77 68 69 63 68 20 77 61 73 0a 20 20 20 20 20 20 2f | ere.(e.g..text.which.was......./ |
1bf5c0 | 2f 20 73 6f 6d 65 68 6f 77 20 77 72 61 70 70 65 64 20 61 73 20 54 41 42 5f 44 52 4f 50 5f 54 59 | /.somehow.wrapped.as.TAB_DROP_TY |
1bf5e0 | 50 45 2c 20 74 68 69 73 20 69 73 20 6e 6f 74 20 69 6e 20 6f 75 72 20 63 6f 6e 74 72 6f 6c 2c 20 | PE,.this.is.not.in.our.control,. |
1bf600 | 61 6e 64 0a 20 20 20 20 20 20 2f 2f 20 77 69 6c 6c 20 6a 75 73 74 20 63 61 73 65 20 74 68 65 20 | and.......//.will.just.case.the. |
1bf620 | 61 63 74 75 61 6c 20 64 72 6f 70 20 74 6f 20 62 65 20 61 20 6e 6f 2d 6f 70 29 2c 20 61 6e 64 20 | actual.drop.to.be.a.no-op),.and. |
1bf640 | 6f 6e 6c 79 20 72 75 6c 65 20 6f 75 74 20 76 61 6c 69 64 0a 20 20 20 20 20 20 2f 2f 20 65 78 70 | only.rule.out.valid.......//.exp |
1bf660 | 65 63 74 65 64 20 63 61 73 65 73 2c 20 77 68 69 63 68 20 61 72 65 20 65 69 74 68 65 72 20 75 6e | ected.cases,.which.are.either.un |
1bf680 | 73 75 70 70 6f 72 74 65 64 20 66 6c 61 76 6f 72 73 2c 20 6f 72 20 69 74 65 6d 73 20 77 68 69 63 | supported.flavors,.or.items.whic |
1bf6a0 | 68 0a 20 20 20 20 20 20 2f 2f 20 63 61 6e 6e 6f 74 20 62 65 20 64 72 6f 70 70 65 64 20 69 6e 20 | h.......//.cannot.be.dropped.in. |
1bf6c0 | 74 68 65 20 63 75 72 72 65 6e 74 20 69 6e 73 65 72 74 69 6f 6e 70 6f 69 6e 74 2e 20 54 68 65 20 | the.current.insertionpoint..The. |
1bf6e0 | 6c 61 73 74 20 63 61 73 65 20 77 69 6c 6c 0a 20 20 20 20 20 20 2f 2f 20 6c 69 6b 65 6c 79 20 66 | last.case.will.......//.likely.f |
1bf700 | 6f 72 63 65 20 75 73 20 74 6f 20 75 73 65 20 75 6e 77 72 61 70 4e 6f 64 65 73 20 66 6f 72 20 74 | orce.us.to.use.unwrapNodes.for.t |
1bf720 | 68 65 20 70 72 69 76 61 74 65 20 64 61 74 61 20 74 79 70 65 73 20 6f 66 0a 20 20 20 20 20 20 2f | he.private.data.types.of......./ |
1bf740 | 2f 20 70 6c 61 63 65 73 2e 0a 20 20 20 20 20 20 69 66 20 28 66 6c 61 76 6f 72 20 3d 3d 20 54 41 | /.places........if.(flavor.==.TA |
1bf760 | 42 5f 44 52 4f 50 5f 54 59 50 45 29 0a 20 20 20 20 20 20 20 20 63 6f 6e 74 69 6e 75 65 3b 0a 0a | B_DROP_TYPE).........continue;.. |
1bf780 | 20 20 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 20 20 76 61 72 20 64 72 61 67 67 65 64 20 | ......try.{.........var.dragged. |
1bf7a0 | 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 75 6e 77 72 61 70 4e 6f 64 65 73 28 64 61 74 61 2c 20 | =.PlacesUtils.unwrapNodes(data,. |
1bf7c0 | 66 6c 61 76 6f 72 29 5b 30 5d 3b 0a 20 20 20 20 20 20 7d 20 63 61 74 63 68 20 28 65 29 20 7b 0a | flavor)[0];.......}.catch.(e).{. |
1bf7e0 | 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 20 7d 0a 0a 20 | ........return.false;.......}... |
1bf800 | 20 20 20 20 20 2f 2f 20 4f 6e 6c 79 20 62 6f 6f 6b 6d 61 72 6b 73 20 61 6e 64 20 75 72 6c 73 20 | .....//.Only.bookmarks.and.urls. |
1bf820 | 63 61 6e 20 62 65 20 64 72 6f 70 70 65 64 20 69 6e 74 6f 20 74 61 67 20 63 6f 6e 74 61 69 6e 65 | can.be.dropped.into.tag.containe |
1bf840 | 72 73 0a 20 20 20 20 20 20 69 66 20 28 69 70 2e 69 73 54 61 67 20 26 26 20 69 70 2e 6f 72 69 65 | rs.......if.(ip.isTag.&&.ip.orie |
1bf860 | 6e 74 61 74 69 6f 6e 20 3d 3d 20 43 69 2e 6e 73 49 54 72 65 65 56 69 65 77 2e 44 52 4f 50 5f 4f | ntation.==.Ci.nsITreeView.DROP_O |
1bf880 | 4e 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 64 72 61 67 67 65 64 2e 74 79 70 65 20 21 3d 20 50 | N.&&...........dragged.type.!=.P |
1bf8a0 | 6c 61 63 65 73 55 74 69 6c 73 2e 54 59 50 45 5f 58 5f 4d 4f 5a 5f 55 52 4c 20 26 26 0a 20 20 20 | lacesUtils.TYPE_X_MOZ_URL.&&.... |
1bf8c0 | 20 20 20 20 20 20 20 28 64 72 61 67 67 65 64 2e 74 79 70 65 20 21 3d 20 50 6c 61 63 65 73 55 74 | .......(dragged.type.!=.PlacesUt |
1bf8e0 | 69 6c 73 2e 54 59 50 45 5f 58 5f 4d 4f 5a 5f 50 4c 41 43 45 20 7c 7c 0a 20 20 20 20 20 20 20 20 | ils.TYPE_X_MOZ_PLACE.||......... |
1bf900 | 20 20 20 2f 5e 70 6c 61 63 65 3a 2f 2e 74 65 73 74 28 64 72 61 67 67 65 64 2e 75 72 69 29 29 29 | .../^place:/.test(dragged.uri))) |
1bf920 | 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 0a 0a 20 20 20 20 20 20 2f 2f | .........return.false;........// |
1bf940 | 20 54 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 6c 6f 6f 70 20 64 69 73 61 6c 6c 6f 77 73 20 74 68 | .The.following.loop.disallows.th |
1bf960 | 65 20 64 72 6f 70 70 69 6e 67 20 6f 66 20 61 20 66 6f 6c 64 65 72 20 6f 6e 20 69 74 73 65 6c 66 | e.dropping.of.a.folder.on.itself |
1bf980 | 20 6f 72 0a 20 20 20 20 20 20 2f 2f 20 6f 6e 20 61 6e 79 20 6f 66 20 69 74 73 20 64 65 73 63 65 | .or.......//.on.any.of.its.desce |
1bf9a0 | 6e 64 61 6e 74 73 2e 0a 20 20 20 20 20 20 69 66 20 28 64 72 61 67 67 65 64 2e 74 79 70 65 20 3d | ndants........if.(dragged.type.= |
1bf9c0 | 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 54 59 50 45 5f 58 5f 4d 4f 5a 5f 50 4c 41 43 45 5f 43 | =.PlacesUtils.TYPE_X_MOZ_PLACE_C |
1bf9e0 | 4f 4e 54 41 49 4e 45 52 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 2f 5e 70 6c 61 63 65 3a 2f 2e | ONTAINER.||.........../^place:/. |
1bfa00 | 74 65 73 74 28 64 72 61 67 67 65 64 2e 75 72 69 29 29 20 7b 0a 20 20 20 20 20 20 20 20 76 61 72 | test(dragged.uri)).{.........var |
1bfa20 | 20 70 61 72 65 6e 74 49 64 20 3d 20 69 70 2e 69 74 65 6d 49 64 3b 0a 20 20 20 20 20 20 20 20 77 | .parentId.=.ip.itemId;.........w |
1bfa40 | 68 69 6c 65 20 28 70 61 72 65 6e 74 49 64 20 21 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 70 6c | hile.(parentId.!=.PlacesUtils.pl |
1bfa60 | 61 63 65 73 52 6f 6f 74 49 64 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 64 72 61 67 | acesRootId).{...........if.(drag |
1bfa80 | 67 65 64 2e 63 6f 6e 63 72 65 74 65 49 64 20 3d 3d 20 70 61 72 65 6e 74 49 64 20 7c 7c 20 64 72 | ged.concreteId.==.parentId.||.dr |
1bfaa0 | 61 67 67 65 64 2e 69 64 20 3d 3d 20 70 61 72 65 6e 74 49 64 29 0a 20 20 20 20 20 20 20 20 20 20 | agged.id.==.parentId)........... |
1bfac0 | 20 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 20 20 20 20 20 70 61 72 65 6e 74 | ..return.false;...........parent |
1bfae0 | 49 64 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 62 6f 6f 6b 6d 61 72 6b 73 2e 67 65 74 46 6f | Id.=.PlacesUtils.bookmarks.getFo |
1bfb00 | 6c 64 65 72 49 64 46 6f 72 49 74 65 6d 28 70 61 72 65 6e 74 49 64 29 3b 0a 20 20 20 20 20 20 20 | lderIdForItem(parentId);........ |
1bfb20 | 20 7d 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 20 20 20 20 72 65 74 75 72 6e 20 74 72 75 65 | .}.......}.....}.....return.true |
1bfb40 | 3b 0a 20 20 7d 2c 0a 0a 20 20 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 44 65 74 65 72 6d 69 6e 65 73 | ;...},......./**....*.Determines |
1bfb60 | 20 69 66 20 61 20 6e 6f 64 65 20 63 61 6e 20 62 65 20 6d 6f 76 65 64 2e 0a 20 20 20 2a 20 0a 20 | .if.a.node.can.be.moved.....*... |
1bfb80 | 20 20 2a 20 40 70 61 72 61 6d 20 20 20 61 4e 6f 64 65 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 | ..*.@param...aNode....*......... |
1bfba0 | 20 41 20 6e 73 49 4e 61 76 48 69 73 74 6f 72 79 52 65 73 75 6c 74 4e 6f 64 65 20 6e 6f 64 65 2e | .A.nsINavHistoryResultNode.node. |
1bfbc0 | 0a 20 20 20 2a 20 40 72 65 74 75 72 6e 73 20 54 72 75 65 20 69 66 20 74 68 65 20 6e 6f 64 65 20 | ....*.@returns.True.if.the.node. |
1bfbe0 | 63 61 6e 20 62 65 20 6d 6f 76 65 64 2c 20 66 61 6c 73 65 20 6f 74 68 65 72 77 69 73 65 2e 0a 20 | can.be.moved,.false.otherwise... |
1bfc00 | 20 20 2a 2f 0a 20 20 63 61 6e 4d 6f 76 65 4e 6f 64 65 3a 0a 20 20 66 75 6e 63 74 69 6f 6e 20 50 | ..*/...canMoveNode:...function.P |
1bfc20 | 43 44 48 5f 63 61 6e 4d 6f 76 65 4e 6f 64 65 28 61 4e 6f 64 65 29 20 7b 0a 20 20 20 20 2f 2f 20 | CDH_canMoveNode(aNode).{.....//. |
1bfc40 | 63 61 6e 27 74 20 6d 6f 76 65 20 71 75 65 72 79 20 72 6f 6f 74 0a 20 20 20 20 69 66 20 28 21 61 | can't.move.query.root.....if.(!a |
1bfc60 | 4e 6f 64 65 2e 70 61 72 65 6e 74 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b | Node.parent).......return.false; |
1bfc80 | 0a 0a 20 20 20 20 76 61 72 20 70 61 72 65 6e 74 49 64 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 | ......var.parentId.=.PlacesUtils |
1bfca0 | 2e 67 65 74 43 6f 6e 63 72 65 74 65 49 74 65 6d 49 64 28 61 4e 6f 64 65 2e 70 61 72 65 6e 74 29 | .getConcreteItemId(aNode.parent) |
1bfcc0 | 3b 0a 20 20 20 20 76 61 72 20 63 6f 6e 63 72 65 74 65 49 64 20 3d 20 50 6c 61 63 65 73 55 74 69 | ;.....var.concreteId.=.PlacesUti |
1bfce0 | 6c 73 2e 67 65 74 43 6f 6e 63 72 65 74 65 49 74 65 6d 49 64 28 61 4e 6f 64 65 29 3b 0a 0a 20 20 | ls.getConcreteItemId(aNode);.... |
1bfd00 | 20 20 2f 2f 20 63 61 6e 27 74 20 6d 6f 76 65 20 63 68 69 6c 64 72 65 6e 20 6f 66 20 74 61 67 20 | ..//.can't.move.children.of.tag. |
1bfd20 | 63 6f 6e 74 61 69 6e 65 72 73 0a 20 20 20 20 69 66 20 28 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e | containers.....if.(PlacesUtils.n |
1bfd40 | 6f 64 65 49 73 54 61 67 51 75 65 72 79 28 61 4e 6f 64 65 2e 70 61 72 65 6e 74 29 29 0a 20 20 20 | odeIsTagQuery(aNode.parent)).... |
1bfd60 | 20 20 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 0a 0a 20 20 20 20 2f 2f 20 63 61 6e 27 74 20 6d | ...return.false;......//.can't.m |
1bfd80 | 6f 76 65 20 63 68 69 6c 64 72 65 6e 20 6f 66 20 72 65 61 64 2d 6f 6e 6c 79 20 63 6f 6e 74 61 69 | ove.children.of.read-only.contai |
1bfda0 | 6e 65 72 73 0a 20 20 20 20 69 66 20 28 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 52 | ners.....if.(PlacesUtils.nodeIsR |
1bfdc0 | 65 61 64 4f 6e 6c 79 28 61 4e 6f 64 65 2e 70 61 72 65 6e 74 29 29 0a 20 20 20 20 20 20 72 65 74 | eadOnly(aNode.parent)).......ret |
1bfde0 | 75 72 6e 20 66 61 6c 73 65 3b 0a 0a 20 20 20 20 2f 2f 20 63 68 65 63 6b 20 66 6f 72 20 73 70 65 | urn.false;......//.check.for.spe |
1bfe00 | 63 69 61 6c 20 66 6f 6c 64 65 72 73 2c 20 65 74 63 0a 20 20 20 20 69 66 20 28 50 6c 61 63 65 73 | cial.folders,.etc.....if.(Places |
1bfe20 | 55 74 69 6c 73 2e 6e 6f 64 65 49 73 43 6f 6e 74 61 69 6e 65 72 28 61 4e 6f 64 65 29 20 26 26 0a | Utils.nodeIsContainer(aNode).&&. |
1bfe40 | 20 20 20 20 20 20 20 20 21 74 68 69 73 2e 63 61 6e 4d 6f 76 65 43 6f 6e 74 61 69 6e 65 72 28 61 | ........!this.canMoveContainer(a |
1bfe60 | 4e 6f 64 65 2e 69 74 65 6d 49 64 2c 20 70 61 72 65 6e 74 49 64 29 29 0a 20 20 20 20 20 20 72 65 | Node.itemId,.parentId)).......re |
1bfe80 | 74 75 72 6e 20 66 61 6c 73 65 3b 0a 0a 20 20 20 20 72 65 74 75 72 6e 20 74 72 75 65 3b 0a 20 20 | turn.false;......return.true;... |
1bfea0 | 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 44 65 74 65 72 6d 69 6e 65 73 20 69 66 20 61 20 63 | },..../**....*.Determines.if.a.c |
1bfec0 | 6f 6e 74 61 69 6e 65 72 20 6e 6f 64 65 20 63 61 6e 20 62 65 20 6d 6f 76 65 64 2e 0a 20 20 20 2a | ontainer.node.can.be.moved.....* |
1bfee0 | 20 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 20 20 61 49 64 0a 20 20 20 2a 20 20 20 20 20 20 20 20 | .....*.@param...aId....*........ |
1bff00 | 20 20 41 20 62 6f 6f 6b 6d 61 72 6b 20 66 6f 6c 64 65 72 20 69 64 2e 0a 20 20 20 2a 20 40 70 61 | ..A.bookmark.folder.id.....*.@pa |
1bff20 | 72 61 6d 20 20 20 5b 6f 70 74 69 6f 6e 61 6c 5d 20 61 50 61 72 65 6e 74 49 64 0a 20 20 20 2a 20 | ram...[optional].aParentId....*. |
1bff40 | 20 20 20 20 20 20 20 20 20 54 68 65 20 70 61 72 65 6e 74 20 69 64 20 6f 66 20 74 68 65 20 66 6f | .........The.parent.id.of.the.fo |
1bff60 | 6c 64 65 72 2e 0a 20 20 20 2a 20 40 72 65 74 75 72 6e 73 20 54 72 75 65 20 69 66 20 74 68 65 20 | lder.....*.@returns.True.if.the. |
1bff80 | 63 6f 6e 74 61 69 6e 65 72 20 63 61 6e 20 62 65 20 6d 6f 76 65 64 20 74 6f 20 74 68 65 20 74 61 | container.can.be.moved.to.the.ta |
1bffa0 | 72 67 65 74 2e 0a 20 20 20 2a 2f 0a 20 20 63 61 6e 4d 6f 76 65 43 6f 6e 74 61 69 6e 65 72 3a 0a | rget.....*/...canMoveContainer:. |
1bffc0 | 20 20 66 75 6e 63 74 69 6f 6e 20 50 43 44 48 5f 63 61 6e 4d 6f 76 65 43 6f 6e 74 61 69 6e 65 72 | ..function.PCDH_canMoveContainer |
1bffe0 | 28 61 49 64 2c 20 61 50 61 72 65 6e 74 49 64 29 20 7b 0a 20 20 20 20 69 66 20 28 61 49 64 20 3d | (aId,.aParentId).{.....if.(aId.= |
1c0000 | 3d 20 2d 31 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 0a 0a 20 20 20 20 2f | =.-1).......return.false;....../ |
1c0020 | 2f 20 44 69 73 61 6c 6c 6f 77 20 6d 6f 76 69 6e 67 20 6f 66 20 72 6f 6f 74 73 20 61 6e 64 20 73 | /.Disallow.moving.of.roots.and.s |
1c0040 | 70 65 63 69 61 6c 20 66 6f 6c 64 65 72 73 0a 20 20 20 20 63 6f 6e 73 74 20 52 4f 4f 54 53 20 3d | pecial.folders.....const.ROOTS.= |
1c0060 | 20 5b 50 6c 61 63 65 73 55 74 69 6c 73 2e 70 6c 61 63 65 73 52 6f 6f 74 49 64 2c 20 50 6c 61 63 | .[PlacesUtils.placesRootId,.Plac |
1c0080 | 65 73 55 74 69 6c 73 2e 62 6f 6f 6b 6d 61 72 6b 73 4d 65 6e 75 46 6f 6c 64 65 72 49 64 2c 0a 20 | esUtils.bookmarksMenuFolderId,.. |
1c00a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 74 61 | ..................PlacesUtils.ta |
1c00c0 | 67 73 46 6f 6c 64 65 72 49 64 2c 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 75 6e 66 69 6c 65 64 42 | gsFolderId,.PlacesUtils.unfiledB |
1c00e0 | 6f 6f 6b 6d 61 72 6b 73 46 6f 6c 64 65 72 49 64 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ookmarksFolderId,............... |
1c0100 | 20 20 20 20 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 74 6f 6f 6c 62 61 72 46 6f 6c 64 65 72 49 64 | .....PlacesUtils.toolbarFolderId |
1c0120 | 5d 3b 0a 20 20 20 20 69 66 20 28 52 4f 4f 54 53 2e 69 6e 64 65 78 4f 66 28 61 49 64 29 20 21 3d | ];.....if.(ROOTS.indexOf(aId).!= |
1c0140 | 20 2d 31 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 0a 0a 20 20 20 20 2f 2f | .-1).......return.false;......// |
1c0160 | 20 47 65 74 20 70 61 72 65 6e 74 20 69 64 20 69 66 20 6e 65 63 65 73 73 61 72 79 0a 20 20 20 20 | .Get.parent.id.if.necessary..... |
1c0180 | 69 66 20 28 61 50 61 72 65 6e 74 49 64 20 3d 3d 20 6e 75 6c 6c 20 7c 7c 20 61 50 61 72 65 6e 74 | if.(aParentId.==.null.||.aParent |
1c01a0 | 49 64 20 3d 3d 20 2d 31 29 0a 20 20 20 20 20 20 61 50 61 72 65 6e 74 49 64 20 3d 20 50 6c 61 63 | Id.==.-1).......aParentId.=.Plac |
1c01c0 | 65 73 55 74 69 6c 73 2e 62 6f 6f 6b 6d 61 72 6b 73 2e 67 65 74 46 6f 6c 64 65 72 49 64 46 6f 72 | esUtils.bookmarks.getFolderIdFor |
1c01e0 | 49 74 65 6d 28 61 49 64 29 3b 0a 0a 20 20 20 20 69 66 20 28 50 6c 61 63 65 73 55 74 69 6c 73 2e | Item(aId);......if.(PlacesUtils. |
1c0200 | 62 6f 6f 6b 6d 61 72 6b 73 2e 67 65 74 46 6f 6c 64 65 72 52 65 61 64 6f 6e 6c 79 28 61 50 61 72 | bookmarks.getFolderReadonly(aPar |
1c0220 | 65 6e 74 49 64 29 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 0a 0a 20 20 20 | entId)).......return.false;..... |
1c0240 | 20 72 65 74 75 72 6e 20 74 72 75 65 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 48 | .return.true;...},..../**....*.H |
1c0260 | 61 6e 64 6c 65 73 20 74 68 65 20 64 72 6f 70 20 6f 66 20 6f 6e 65 20 6f 72 20 6d 6f 72 65 20 69 | andles.the.drop.of.one.or.more.i |
1c0280 | 74 65 6d 73 20 6f 6e 74 6f 20 61 20 76 69 65 77 2e 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 20 20 | tems.onto.a.view.....*.@param... |
1c02a0 | 69 6e 73 65 72 74 69 6f 6e 50 6f 69 6e 74 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 54 68 65 | insertionPoint....*..........The |
1c02c0 | 20 69 6e 73 65 72 74 69 6f 6e 20 70 6f 69 6e 74 20 77 68 65 72 65 20 74 68 65 20 69 74 65 6d 73 | .insertion.point.where.the.items |
1c02e0 | 20 73 68 6f 75 6c 64 20 62 65 20 64 72 6f 70 70 65 64 0a 20 20 20 2a 2f 0a 20 20 6f 6e 44 72 6f | .should.be.dropped....*/...onDro |
1c0300 | 70 3a 20 66 75 6e 63 74 69 6f 6e 20 50 43 44 48 5f 6f 6e 44 72 6f 70 28 69 6e 73 65 72 74 69 6f | p:.function.PCDH_onDrop(insertio |
1c0320 | 6e 50 6f 69 6e 74 29 20 7b 0a 20 20 20 20 76 61 72 20 64 74 20 3d 20 74 68 69 73 2e 63 75 72 72 | nPoint).{.....var.dt.=.this.curr |
1c0340 | 65 6e 74 44 61 74 61 54 72 61 6e 73 66 65 72 3b 0a 20 20 20 20 76 61 72 20 64 6f 43 6f 70 79 20 | entDataTransfer;.....var.doCopy. |
1c0360 | 3d 20 64 74 2e 64 72 6f 70 45 66 66 65 63 74 20 3d 3d 20 22 63 6f 70 79 22 3b 0a 0a 20 20 20 20 | =.dt.dropEffect.==."copy";...... |
1c0380 | 76 61 72 20 74 72 61 6e 73 61 63 74 69 6f 6e 73 20 3d 20 5b 5d 3b 0a 20 20 20 20 76 61 72 20 64 | var.transactions.=.[];.....var.d |
1c03a0 | 72 6f 70 43 6f 75 6e 74 20 3d 20 64 74 2e 6d 6f 7a 49 74 65 6d 43 6f 75 6e 74 3b 0a 20 20 20 20 | ropCount.=.dt.mozItemCount;..... |
1c03c0 | 76 61 72 20 6d 6f 76 65 64 43 6f 75 6e 74 20 3d 20 30 3b 0a 20 20 20 20 66 6f 72 20 28 76 61 72 | var.movedCount.=.0;.....for.(var |
1c03e0 | 20 69 20 3d 20 30 3b 20 69 20 3c 20 64 72 6f 70 43 6f 75 6e 74 3b 20 2b 2b 69 29 20 7b 0a 20 20 | .i.=.0;.i.<.dropCount;.++i).{... |
1c0400 | 20 20 20 20 76 61 72 20 66 6c 61 76 6f 72 20 3d 20 74 68 69 73 2e 67 65 74 46 69 72 73 74 56 61 | ....var.flavor.=.this.getFirstVa |
1c0420 | 6c 69 64 46 6c 61 76 6f 72 28 64 74 2e 6d 6f 7a 54 79 70 65 73 41 74 28 69 29 29 3b 0a 20 20 20 | lidFlavor(dt.mozTypesAt(i));.... |
1c0440 | 20 20 20 69 66 20 28 21 66 6c 61 76 6f 72 29 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 66 | ...if.(!flavor).........return.f |
1c0460 | 61 6c 73 65 3b 0a 0a 20 20 20 20 20 20 76 61 72 20 64 61 74 61 20 3d 20 64 74 2e 6d 6f 7a 47 65 | alse;........var.data.=.dt.mozGe |
1c0480 | 74 44 61 74 61 41 74 28 66 6c 61 76 6f 72 2c 20 69 29 3b 0a 20 20 20 20 20 20 76 61 72 20 75 6e | tDataAt(flavor,.i);.......var.un |
1c04a0 | 77 72 61 70 70 65 64 3b 0a 20 20 20 20 20 20 69 66 20 28 66 6c 61 76 6f 72 20 21 3d 20 54 41 42 | wrapped;.......if.(flavor.!=.TAB |
1c04c0 | 5f 44 52 4f 50 5f 54 59 50 45 29 20 7b 0a 20 20 20 20 20 20 20 20 2f 2f 20 54 68 65 72 65 27 73 | _DROP_TYPE).{.........//.There's |
1c04e0 | 20 6f 6e 6c 79 20 65 76 65 72 20 6f 6e 65 20 69 6e 20 74 68 65 20 44 26 44 20 63 61 73 65 2e 0a | .only.ever.one.in.the.D&D.case.. |
1c0500 | 20 20 20 20 20 20 20 20 75 6e 77 72 61 70 70 65 64 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e | ........unwrapped.=.PlacesUtils. |
1c0520 | 75 6e 77 72 61 70 4e 6f 64 65 73 28 64 61 74 61 2c 20 66 6c 61 76 6f 72 29 5b 30 5d 3b 0a 20 20 | unwrapNodes(data,.flavor)[0];... |
1c0540 | 20 20 20 20 7d 0a 20 20 20 20 20 20 65 6c 73 65 20 69 66 20 28 64 61 74 61 20 69 6e 73 74 61 6e | ....}.......else.if.(data.instan |
1c0560 | 63 65 6f 66 20 58 55 4c 45 6c 65 6d 65 6e 74 20 26 26 20 64 61 74 61 2e 6c 6f 63 61 6c 4e 61 6d | ceof.XULElement.&&.data.localNam |
1c0580 | 65 20 3d 3d 20 22 74 61 62 22 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 61 74 | e.==."tab".&&................dat |
1c05a0 | 61 2e 6f 77 6e 65 72 44 6f 63 75 6d 65 6e 74 2e 64 65 66 61 75 6c 74 56 69 65 77 20 69 6e 73 74 | a.ownerDocument.defaultView.inst |
1c05c0 | 61 6e 63 65 6f 66 20 43 68 72 6f 6d 65 57 69 6e 64 6f 77 29 20 7b 0a 20 20 20 20 20 20 20 20 76 | anceof.ChromeWindow).{.........v |
1c05e0 | 61 72 20 75 72 69 20 3d 20 64 61 74 61 2e 6c 69 6e 6b 65 64 42 72 6f 77 73 65 72 2e 63 75 72 72 | ar.uri.=.data.linkedBrowser.curr |
1c0600 | 65 6e 74 55 52 49 3b 0a 20 20 20 20 20 20 20 20 76 61 72 20 73 70 65 63 20 3d 20 75 72 69 20 3f | entURI;.........var.spec.=.uri.? |
1c0620 | 20 75 72 69 2e 73 70 65 63 20 3a 20 22 61 62 6f 75 74 3a 62 6c 61 6e 6b 22 3b 0a 20 20 20 20 20 | .uri.spec.:."about:blank";...... |
1c0640 | 20 20 20 76 61 72 20 74 69 74 6c 65 20 3d 20 64 61 74 61 2e 6c 61 62 65 6c 3b 0a 20 20 20 20 20 | ...var.title.=.data.label;...... |
1c0660 | 20 20 20 75 6e 77 72 61 70 70 65 64 20 3d 20 7b 20 75 72 69 3a 20 73 70 65 63 2c 0a 20 20 20 20 | ...unwrapped.=.{.uri:.spec,..... |
1c0680 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 69 74 6c 65 3a 20 64 61 74 61 2e 6c 61 | ..................title:.data.la |
1c06a0 | 62 65 6c 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 79 70 65 3a | bel,.......................type: |
1c06c0 | 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 54 59 50 45 5f 58 5f 4d 4f 5a 5f 55 52 4c 7d 3b 0a 20 20 | .PlacesUtils.TYPE_X_MOZ_URL};... |
1c06e0 | 20 20 20 20 7d 0a 20 20 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 20 20 74 68 72 6f 77 28 22 | ....}.......else.........throw(" |
1c0700 | 62 6f 67 75 73 20 64 61 74 61 20 77 61 73 20 70 61 73 73 65 64 20 61 73 20 61 20 74 61 62 22 29 | bogus.data.was.passed.as.a.tab") |
1c0720 | 0a 0a 20 20 20 20 20 20 76 61 72 20 69 6e 64 65 78 20 3d 20 69 6e 73 65 72 74 69 6f 6e 50 6f 69 | ........var.index.=.insertionPoi |
1c0740 | 6e 74 2e 69 6e 64 65 78 3b 0a 0a 20 20 20 20 20 20 2f 2f 20 41 64 6a 75 73 74 20 69 6e 73 65 72 | nt.index;........//.Adjust.inser |
1c0760 | 74 69 6f 6e 20 69 6e 64 65 78 20 74 6f 20 70 72 65 76 65 6e 74 20 72 65 76 65 72 73 61 6c 20 6f | tion.index.to.prevent.reversal.o |
1c0780 | 66 20 64 72 61 67 67 65 64 20 69 74 65 6d 73 2e 20 57 68 65 6e 20 79 6f 75 0a 20 20 20 20 20 20 | f.dragged.items..When.you....... |
1c07a0 | 2f 2f 20 64 72 61 67 20 6d 75 6c 74 69 70 6c 65 20 65 6c 74 73 20 75 70 77 61 72 64 3a 20 6e 65 | //.drag.multiple.elts.upward:.ne |
1c07c0 | 65 64 20 74 6f 20 69 6e 63 72 65 6d 65 6e 74 20 69 6e 64 65 78 20 6f 72 20 65 61 63 68 20 73 75 | ed.to.increment.index.or.each.su |
1c07e0 | 63 63 65 73 73 69 76 65 0a 20 20 20 20 20 20 2f 2f 20 65 6c 74 20 77 69 6c 6c 20 62 65 20 69 6e | ccessive.......//.elt.will.be.in |
1c0800 | 73 65 72 74 65 64 20 61 74 20 74 68 65 20 73 61 6d 65 20 69 6e 64 65 78 2c 20 65 61 63 68 20 61 | serted.at.the.same.index,.each.a |
1c0820 | 62 6f 76 65 20 74 68 65 20 70 72 65 76 69 6f 75 73 2e 0a 20 20 20 20 20 20 76 61 72 20 64 72 61 | bove.the.previous........var.dra |
1c0840 | 67 67 69 6e 55 70 20 3d 20 69 6e 73 65 72 74 69 6f 6e 50 6f 69 6e 74 2e 69 74 65 6d 49 64 20 3d | gginUp.=.insertionPoint.itemId.= |
1c0860 | 3d 20 75 6e 77 72 61 70 70 65 64 2e 70 61 72 65 6e 74 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 | =.unwrapped.parent.&&........... |
1c0880 | 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 64 65 78 20 3c 20 50 6c 61 63 65 73 55 74 69 6c 73 2e | ............index.<.PlacesUtils. |
1c08a0 | 62 6f 6f 6b 6d 61 72 6b 73 2e 67 65 74 49 74 65 6d 49 6e 64 65 78 28 75 6e 77 72 61 70 70 65 64 | bookmarks.getItemIndex(unwrapped |
1c08c0 | 2e 69 64 29 3b 0a 20 20 20 20 20 20 69 66 20 28 69 6e 64 65 78 20 21 3d 20 2d 31 20 26 26 20 64 | .id);.......if.(index.!=.-1.&&.d |
1c08e0 | 72 61 67 67 69 6e 55 70 29 0a 20 20 20 20 20 20 20 20 69 6e 64 65 78 2b 3d 20 6d 6f 76 65 64 43 | ragginUp).........index+=.movedC |
1c0900 | 6f 75 6e 74 2b 2b 3b 0a 0a 20 20 20 20 20 20 2f 2f 20 69 66 20 64 72 61 67 67 69 6e 67 20 6f 76 | ount++;........//.if.dragging.ov |
1c0920 | 65 72 20 61 20 74 61 67 20 63 6f 6e 74 61 69 6e 65 72 20 77 65 20 73 68 6f 75 6c 64 20 74 61 67 | er.a.tag.container.we.should.tag |
1c0940 | 20 74 68 65 20 69 74 65 6d 0a 20 20 20 20 20 20 69 66 20 28 69 6e 73 65 72 74 69 6f 6e 50 6f 69 | .the.item.......if.(insertionPoi |
1c0960 | 6e 74 2e 69 73 54 61 67 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 69 6e 73 65 72 74 69 6f 6e 50 | nt.isTag.&&...........insertionP |
1c0980 | 6f 69 6e 74 2e 6f 72 69 65 6e 74 61 74 69 6f 6e 20 3d 3d 20 43 69 2e 6e 73 49 54 72 65 65 56 69 | oint.orientation.==.Ci.nsITreeVi |
1c09a0 | 65 77 2e 44 52 4f 50 5f 4f 4e 29 20 7b 0a 20 20 20 20 20 20 20 20 76 61 72 20 75 72 69 20 3d 20 | ew.DROP_ON).{.........var.uri.=. |
1c09c0 | 50 6c 61 63 65 73 55 74 69 6c 73 2e 5f 75 72 69 28 75 6e 77 72 61 70 70 65 64 2e 75 72 69 29 3b | PlacesUtils._uri(unwrapped.uri); |
1c09e0 | 0a 20 20 20 20 20 20 20 20 76 61 72 20 74 61 67 49 74 65 6d 49 64 20 3d 20 69 6e 73 65 72 74 69 | .........var.tagItemId.=.inserti |
1c0a00 | 6f 6e 50 6f 69 6e 74 2e 69 74 65 6d 49 64 3b 0a 20 20 20 20 20 20 20 20 74 72 61 6e 73 61 63 74 | onPoint.itemId;.........transact |
1c0a20 | 69 6f 6e 73 2e 70 75 73 68 28 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 70 74 6d 2e 74 61 67 55 | ions.push(PlacesUIUtils.ptm.tagU |
1c0a40 | 52 49 28 75 72 69 2c 5b 74 61 67 49 74 65 6d 49 64 5d 29 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 | RI(uri,[tagItemId]));.......}... |
1c0a60 | 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 20 20 74 72 61 6e 73 61 63 74 69 6f 6e 73 2e | ....else.{.........transactions. |
1c0a80 | 70 75 73 68 28 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 6d 61 6b 65 54 72 61 6e 73 61 63 74 69 | push(PlacesUIUtils.makeTransacti |
1c0aa0 | 6f 6e 28 75 6e 77 72 61 70 70 65 64 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | on(unwrapped,................... |
1c0ac0 | 20 20 20 20 20 20 20 20 66 6c 61 76 6f 72 2c 20 69 6e 73 65 72 74 69 6f 6e 50 6f 69 6e 74 2e 69 | ........flavor,.insertionPoint.i |
1c0ae0 | 74 65 6d 49 64 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | temId,.......................... |
1c0b00 | 20 69 6e 64 65 78 2c 20 64 6f 43 6f 70 79 29 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a | .index,.doCopy));.......}.....}. |
1c0b20 | 0a 20 20 20 20 76 61 72 20 74 78 6e 20 3d 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 70 74 6d | .....var.txn.=.PlacesUIUtils.ptm |
1c0b40 | 2e 61 67 67 72 65 67 61 74 65 54 72 61 6e 73 61 63 74 69 6f 6e 73 28 22 44 72 6f 70 49 74 65 6d | .aggregateTransactions("DropItem |
1c0b60 | 73 22 2c 20 74 72 61 6e 73 61 63 74 69 6f 6e 73 29 3b 0a 20 20 20 20 50 6c 61 63 65 73 55 49 55 | s",.transactions);.....PlacesUIU |
1c0b80 | 74 69 6c 73 2e 70 74 6d 2e 64 6f 54 72 61 6e 73 61 63 74 69 6f 6e 28 74 78 6e 29 3b 0a 20 20 7d | tils.ptm.doTransaction(txn);...} |
1c0ba0 | 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 43 68 65 63 6b 73 20 69 66 20 77 65 20 63 61 6e 20 69 | ,..../**....*.Checks.if.we.can.i |
1c0bc0 | 6e 73 65 72 74 20 69 6e 74 6f 20 61 20 63 6f 6e 74 61 69 6e 65 72 2e 0a 20 20 20 2a 20 40 70 61 | nsert.into.a.container.....*.@pa |
1c0be0 | 72 61 6d 20 20 20 61 43 6f 6e 74 61 69 6e 65 72 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 54 | ram...aContainer....*..........T |
1c0c00 | 68 65 20 63 6f 6e 74 61 69 6e 65 72 20 77 65 72 65 20 77 65 20 61 72 65 20 77 61 6e 74 20 74 6f | he.container.were.we.are.want.to |
1c0c20 | 20 64 72 6f 70 0a 20 20 20 2a 2f 0a 20 20 64 69 73 61 6c 6c 6f 77 49 6e 73 65 72 74 69 6f 6e 3a | .drop....*/...disallowInsertion: |
1c0c40 | 20 66 75 6e 63 74 69 6f 6e 28 61 43 6f 6e 74 61 69 6e 65 72 29 20 7b 0a 20 20 20 20 4e 53 5f 41 | .function(aContainer).{.....NS_A |
1c0c60 | 53 53 45 52 54 28 61 43 6f 6e 74 61 69 6e 65 72 2c 20 22 65 6d 70 74 79 20 63 6f 6e 74 61 69 6e | SSERT(aContainer,."empty.contain |
1c0c80 | 65 72 22 29 3b 0a 20 20 20 20 2f 2f 20 61 6c 6c 6f 77 20 64 72 6f 70 70 69 6e 67 20 69 6e 74 6f | er");.....//.allow.dropping.into |
1c0ca0 | 20 54 61 67 20 63 6f 6e 74 61 69 6e 65 72 73 0a 20 20 20 20 69 66 20 28 50 6c 61 63 65 73 55 74 | .Tag.containers.....if.(PlacesUt |
1c0cc0 | 69 6c 73 2e 6e 6f 64 65 49 73 54 61 67 51 75 65 72 79 28 61 43 6f 6e 74 61 69 6e 65 72 29 29 0a | ils.nodeIsTagQuery(aContainer)). |
1c0ce0 | 20 20 20 20 20 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 0a 20 20 20 20 2f 2f 20 44 69 73 61 6c | ......return.false;.....//.Disal |
1c0d00 | 6c 6f 77 20 69 6e 73 65 72 74 69 6f 6e 20 6f 66 20 69 74 65 6d 73 20 75 6e 64 65 72 20 72 65 61 | low.insertion.of.items.under.rea |
1c0d20 | 64 6f 6e 6c 79 20 66 6f 6c 64 65 72 73 0a 20 20 20 20 72 65 74 75 72 6e 20 28 21 50 6c 61 63 65 | donly.folders.....return.(!Place |
1c0d40 | 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 46 6f 6c 64 65 72 28 61 43 6f 6e 74 61 69 6e 65 72 29 20 | sUtils.nodeIsFolder(aContainer). |
1c0d60 | 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 | ||..............PlacesUtils.node |
1c0d80 | 49 73 52 65 61 64 4f 6e 6c 79 28 61 43 6f 6e 74 61 69 6e 65 72 29 29 3b 0a 20 20 7d 2c 0a 0a 20 | IsReadOnly(aContainer));...},... |
1c0da0 | 20 70 6c 61 63 65 73 46 6c 61 76 6f 72 73 3a 20 5b 50 6c 61 63 65 73 55 74 69 6c 73 2e 54 59 50 | .placesFlavors:.[PlacesUtils.TYP |
1c0dc0 | 45 5f 58 5f 4d 4f 5a 5f 50 4c 41 43 45 5f 43 4f 4e 54 41 49 4e 45 52 2c 0a 20 20 20 20 20 20 20 | E_X_MOZ_PLACE_CONTAINER,........ |
1c0de0 | 20 20 20 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 54 59 50 45 5f 58 5f 4d 4f | ...........PlacesUtils.TYPE_X_MO |
1c0e00 | 5a 5f 50 4c 41 43 45 5f 53 45 50 41 52 41 54 4f 52 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | Z_PLACE_SEPARATOR,.............. |
1c0e20 | 20 20 20 20 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 54 59 50 45 5f 58 5f 4d 4f 5a 5f 50 4c 41 43 | .....PlacesUtils.TYPE_X_MOZ_PLAC |
1c0e40 | 45 5d 2c 0a 0a 20 20 2f 2f 20 54 68 65 20 6f 72 64 65 72 20 6d 61 74 74 65 72 73 2e 0a 20 20 47 | E],....//.The.order.matters....G |
1c0e60 | 45 4e 45 52 49 43 5f 56 49 45 57 5f 44 52 4f 50 5f 54 59 50 45 53 3a 20 5b 50 6c 61 63 65 73 55 | ENERIC_VIEW_DROP_TYPES:.[PlacesU |
1c0e80 | 74 69 6c 73 2e 54 59 50 45 5f 58 5f 4d 4f 5a 5f 50 4c 41 43 45 5f 43 4f 4e 54 41 49 4e 45 52 2c | tils.TYPE_X_MOZ_PLACE_CONTAINER, |
1c0ea0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 50 6c 61 | .............................Pla |
1c0ec0 | 63 65 73 55 74 69 6c 73 2e 54 59 50 45 5f 58 5f 4d 4f 5a 5f 50 4c 41 43 45 5f 53 45 50 41 52 41 | cesUtils.TYPE_X_MOZ_PLACE_SEPARA |
1c0ee0 | 54 4f 52 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | TOR,............................ |
1c0f00 | 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 54 59 50 45 5f 58 5f 4d 4f 5a 5f 50 4c 41 43 45 2c 0a 20 | .PlacesUtils.TYPE_X_MOZ_PLACE,.. |
1c0f20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 50 6c 61 63 65 | ...........................Place |
1c0f40 | 73 55 74 69 6c 73 2e 54 59 50 45 5f 58 5f 4d 4f 5a 5f 55 52 4c 2c 0a 20 20 20 20 20 20 20 20 20 | sUtils.TYPE_X_MOZ_URL,.......... |
1c0f60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 54 41 42 5f 44 52 4f 50 5f 54 59 50 45 | ...................TAB_DROP_TYPE |
1c0f80 | 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 50 6c | ,.............................Pl |
1c0fa0 | 61 63 65 73 55 74 69 6c 73 2e 54 59 50 45 5f 55 4e 49 43 4f 44 45 5d 2c 0a 0a 20 20 2f 2a 2a 0a | acesUtils.TYPE_UNICODE],..../**. |
1c0fc0 | 20 20 20 2a 20 52 65 74 75 72 6e 73 20 6f 75 72 20 66 6c 61 76 6f 75 72 53 65 74 0a 20 20 20 2a | ...*.Returns.our.flavourSet....* |
1c0fe0 | 2f 0a 20 20 67 65 74 20 66 6c 61 76 6f 75 72 53 65 74 28 29 20 7b 0a 20 20 20 20 64 65 6c 65 74 | /...get.flavourSet().{.....delet |
1c1000 | 65 20 74 68 69 73 2e 66 6c 61 76 6f 75 72 53 65 74 3b 0a 20 20 20 20 76 61 72 20 66 6c 61 76 6f | e.this.flavourSet;.....var.flavo |
1c1020 | 75 72 53 65 74 20 3d 20 6e 65 77 20 46 6c 61 76 6f 75 72 53 65 74 28 29 3b 0a 20 20 20 20 76 61 | urSet.=.new.FlavourSet();.....va |
1c1040 | 72 20 61 63 63 65 70 74 65 64 44 72 6f 70 46 6c 61 76 6f 75 72 73 20 3d 20 74 68 69 73 2e 47 45 | r.acceptedDropFlavours.=.this.GE |
1c1060 | 4e 45 52 49 43 5f 56 49 45 57 5f 44 52 4f 50 5f 54 59 50 45 53 3b 0a 20 20 20 20 61 63 63 65 70 | NERIC_VIEW_DROP_TYPES;.....accep |
1c1080 | 74 65 64 44 72 6f 70 46 6c 61 76 6f 75 72 73 2e 66 6f 72 45 61 63 68 28 66 6c 61 76 6f 75 72 53 | tedDropFlavours.forEach(flavourS |
1c10a0 | 65 74 2e 61 70 70 65 6e 64 46 6c 61 76 6f 75 72 2c 20 66 6c 61 76 6f 75 72 53 65 74 29 3b 0a 20 | et.appendFlavour,.flavourSet);.. |
1c10c0 | 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 66 6c 61 76 6f 75 72 53 65 74 20 3d 20 66 6c 61 76 | ...return.this.flavourSet.=.flav |
1c10e0 | 6f 75 72 53 65 74 3b 0a 20 20 7d 0a 7d 3b 0a 0a 66 75 6e 63 74 69 6f 6e 20 67 6f 55 70 64 61 74 | ourSet;...}.};..function.goUpdat |
1c1100 | 65 50 6c 61 63 65 73 43 6f 6d 6d 61 6e 64 73 28 29 20 7b 0a 20 20 76 61 72 20 70 6c 61 63 65 73 | ePlacesCommands().{...var.places |
1c1120 | 43 6f 6e 74 72 6f 6c 6c 65 72 3b 0a 20 20 74 72 79 20 7b 0a 20 20 20 20 2f 2f 20 4f 72 20 61 6e | Controller;...try.{.....//.Or.an |
1c1140 | 79 20 6f 74 68 65 72 20 63 6f 6d 6d 61 6e 64 2e 2e 2e 0a 20 20 20 20 70 6c 61 63 65 73 43 6f 6e | y.other.command........placesCon |
1c1160 | 74 72 6f 6c 6c 65 72 20 3d 20 74 6f 70 2e 64 6f 63 75 6d 65 6e 74 2e 63 6f 6d 6d 61 6e 64 44 69 | troller.=.top.document.commandDi |
1c1180 | 73 70 61 74 63 68 65 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | spatcher........................ |
1c11a0 | 20 20 20 2e 67 65 74 43 6f 6e 74 72 6f 6c 6c 65 72 46 6f 72 43 6f 6d 6d 61 6e 64 28 22 70 6c 61 | ....getControllerForCommand("pla |
1c11c0 | 63 65 73 43 6d 64 5f 6f 70 65 6e 22 29 3b 0a 20 20 7d 0a 20 20 63 61 74 63 68 28 65 78 29 20 7b | cesCmd_open");...}...catch(ex).{ |
1c11e0 | 20 72 65 74 75 72 6e 3b 20 7d 0a 0a 20 20 66 75 6e 63 74 69 6f 6e 20 75 70 64 61 74 65 50 6c 61 | .return;.}....function.updatePla |
1c1200 | 63 65 73 43 6f 6d 6d 61 6e 64 28 61 43 6f 6d 6d 61 6e 64 29 20 7b 0a 20 20 20 20 76 61 72 20 65 | cesCommand(aCommand).{.....var.e |
1c1220 | 6e 61 62 6c 65 64 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 69 66 20 28 70 6c 61 63 65 73 43 6f | nabled.=.false;.....if.(placesCo |
1c1240 | 6e 74 72 6f 6c 6c 65 72 29 0a 20 20 20 20 20 20 65 6e 61 62 6c 65 64 20 3d 20 70 6c 61 63 65 73 | ntroller).......enabled.=.places |
1c1260 | 43 6f 6e 74 72 6f 6c 6c 65 72 2e 69 73 43 6f 6d 6d 61 6e 64 45 6e 61 62 6c 65 64 28 61 43 6f 6d | Controller.isCommandEnabled(aCom |
1c1280 | 6d 61 6e 64 29 3b 0a 20 20 20 20 67 6f 53 65 74 43 6f 6d 6d 61 6e 64 45 6e 61 62 6c 65 64 28 61 | mand);.....goSetCommandEnabled(a |
1c12a0 | 43 6f 6d 6d 61 6e 64 2c 20 65 6e 61 62 6c 65 64 29 3b 0a 20 20 7d 0a 0a 20 20 75 70 64 61 74 65 | Command,.enabled);...}....update |
1c12c0 | 50 6c 61 63 65 73 43 6f 6d 6d 61 6e 64 28 22 70 6c 61 63 65 73 43 6d 64 5f 6f 70 65 6e 22 29 3b | PlacesCommand("placesCmd_open"); |
1c12e0 | 0a 20 20 75 70 64 61 74 65 50 6c 61 63 65 73 43 6f 6d 6d 61 6e 64 28 22 70 6c 61 63 65 73 43 6d | ...updatePlacesCommand("placesCm |
1c1300 | 64 5f 6f 70 65 6e 3a 77 69 6e 64 6f 77 22 29 3b 0a 20 20 75 70 64 61 74 65 50 6c 61 63 65 73 43 | d_open:window");...updatePlacesC |
1c1320 | 6f 6d 6d 61 6e 64 28 22 70 6c 61 63 65 73 43 6d 64 5f 6f 70 65 6e 3a 74 61 62 22 29 3b 0a 20 20 | ommand("placesCmd_open:tab");... |
1c1340 | 75 70 64 61 74 65 50 6c 61 63 65 73 43 6f 6d 6d 61 6e 64 28 22 70 6c 61 63 65 73 43 6d 64 5f 6e | updatePlacesCommand("placesCmd_n |
1c1360 | 65 77 3a 66 6f 6c 64 65 72 22 29 3b 0a 20 20 75 70 64 61 74 65 50 6c 61 63 65 73 43 6f 6d 6d 61 | ew:folder");...updatePlacesComma |
1c1380 | 6e 64 28 22 70 6c 61 63 65 73 43 6d 64 5f 6e 65 77 3a 62 6f 6f 6b 6d 61 72 6b 22 29 3b 0a 20 20 | nd("placesCmd_new:bookmark");... |
1c13a0 | 75 70 64 61 74 65 50 6c 61 63 65 73 43 6f 6d 6d 61 6e 64 28 22 70 6c 61 63 65 73 43 6d 64 5f 6e | updatePlacesCommand("placesCmd_n |
1c13c0 | 65 77 3a 6c 69 76 65 6d 61 72 6b 22 29 3b 0a 20 20 75 70 64 61 74 65 50 6c 61 63 65 73 43 6f 6d | ew:livemark");...updatePlacesCom |
1c13e0 | 6d 61 6e 64 28 22 70 6c 61 63 65 73 43 6d 64 5f 6e 65 77 3a 73 65 70 61 72 61 74 6f 72 22 29 3b | mand("placesCmd_new:separator"); |
1c1400 | 0a 20 20 75 70 64 61 74 65 50 6c 61 63 65 73 43 6f 6d 6d 61 6e 64 28 22 70 6c 61 63 65 73 43 6d | ...updatePlacesCommand("placesCm |
1c1420 | 64 5f 73 68 6f 77 3a 69 6e 66 6f 22 29 3b 0a 20 20 75 70 64 61 74 65 50 6c 61 63 65 73 43 6f 6d | d_show:info");...updatePlacesCom |
1c1440 | 6d 61 6e 64 28 22 70 6c 61 63 65 73 43 6d 64 5f 6d 6f 76 65 42 6f 6f 6b 6d 61 72 6b 73 22 29 3b | mand("placesCmd_moveBookmarks"); |
1c1460 | 0a 20 20 75 70 64 61 74 65 50 6c 61 63 65 73 43 6f 6d 6d 61 6e 64 28 22 70 6c 61 63 65 73 43 6d | ...updatePlacesCommand("placesCm |
1c1480 | 64 5f 72 65 6c 6f 61 64 22 29 3b 0a 20 20 75 70 64 61 74 65 50 6c 61 63 65 73 43 6f 6d 6d 61 6e | d_reload");...updatePlacesComman |
1c14a0 | 64 28 22 70 6c 61 63 65 73 43 6d 64 5f 72 65 6c 6f 61 64 4d 69 63 72 6f 73 75 6d 6d 61 72 79 22 | d("placesCmd_reloadMicrosummary" |
1c14c0 | 29 3b 0a 20 20 75 70 64 61 74 65 50 6c 61 63 65 73 43 6f 6d 6d 61 6e 64 28 22 70 6c 61 63 65 73 | );...updatePlacesCommand("places |
1c14e0 | 43 6d 64 5f 73 6f 72 74 42 79 3a 6e 61 6d 65 22 29 3b 0a 7d 0a 50 4b 03 04 14 00 00 00 00 00 f6 | Cmd_sortBy:name");.}.PK......... |
1c1500 | 4b 18 3b cf 3a ab 06 31 cd 00 00 31 cd 00 00 22 00 00 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 | K.;.:..1...1..."...content/brows |
1c1520 | 65 72 2f 70 6c 61 63 65 73 2f 74 72 65 65 56 69 65 77 2e 6a 73 2f 2a 20 2d 2a 2d 20 4d 6f 64 65 | er/places/treeView.js/*.-*-.Mode |
1c1540 | 3a 20 43 2b 2b 3b 20 74 61 62 2d 77 69 64 74 68 3a 20 38 3b 20 69 6e 64 65 6e 74 2d 74 61 62 73 | :.C++;.tab-width:.8;.indent-tabs |
1c1560 | 2d 6d 6f 64 65 3a 20 6e 69 6c 3b 20 63 2d 62 61 73 69 63 2d 6f 66 66 73 65 74 3a 20 32 20 2d 2a | -mode:.nil;.c-basic-offset:.2.-* |
1c1580 | 2d 20 2a 2f 0a 2f 2a 20 2a 2a 2a 2a 2a 20 42 45 47 49 4e 20 4c 49 43 45 4e 53 45 20 42 4c 4f 43 | -.*/./*.*****.BEGIN.LICENSE.BLOC |
1c15a0 | 4b 20 2a 2a 2a 2a 2a 0a 20 2a 20 56 65 72 73 69 6f 6e 3a 20 4d 50 4c 20 31 2e 31 2f 47 50 4c 20 | K.*****..*.Version:.MPL.1.1/GPL. |
1c15c0 | 32 2e 30 2f 4c 47 50 4c 20 32 2e 31 0a 20 2a 0a 20 2a 20 54 68 65 20 63 6f 6e 74 65 6e 74 73 20 | 2.0/LGPL.2.1..*..*.The.contents. |
1c15e0 | 6f 66 20 74 68 69 73 20 66 69 6c 65 20 61 72 65 20 73 75 62 6a 65 63 74 20 74 6f 20 74 68 65 20 | of.this.file.are.subject.to.the. |
1c1600 | 4d 6f 7a 69 6c 6c 61 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 20 56 65 72 73 69 6f 6e 0a 20 | Mozilla.Public.License.Version.. |
1c1620 | 2a 20 31 2e 31 20 28 74 68 65 20 22 4c 69 63 65 6e 73 65 22 29 3b 20 79 6f 75 20 6d 61 79 20 6e | *.1.1.(the."License");.you.may.n |
1c1640 | 6f 74 20 75 73 65 20 74 68 69 73 20 66 69 6c 65 20 65 78 63 65 70 74 20 69 6e 20 63 6f 6d 70 6c | ot.use.this.file.except.in.compl |
1c1660 | 69 61 6e 63 65 20 77 69 74 68 0a 20 2a 20 74 68 65 20 4c 69 63 65 6e 73 65 2e 20 59 6f 75 20 6d | iance.with..*.the.License..You.m |
1c1680 | 61 79 20 6f 62 74 61 69 6e 20 61 20 63 6f 70 79 20 6f 66 20 74 68 65 20 4c 69 63 65 6e 73 65 20 | ay.obtain.a.copy.of.the.License. |
1c16a0 | 61 74 0a 20 2a 20 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 4d 50 4c | at..*.http://www.mozilla.org/MPL |
1c16c0 | 2f 0a 20 2a 0a 20 2a 20 53 6f 66 74 77 61 72 65 20 64 69 73 74 72 69 62 75 74 65 64 20 75 6e 64 | /..*..*.Software.distributed.und |
1c16e0 | 65 72 20 74 68 65 20 4c 69 63 65 6e 73 65 20 69 73 20 64 69 73 74 72 69 62 75 74 65 64 20 6f 6e | er.the.License.is.distributed.on |
1c1700 | 20 61 6e 20 22 41 53 20 49 53 22 20 62 61 73 69 73 2c 0a 20 2a 20 57 49 54 48 4f 55 54 20 57 41 | .an."AS.IS".basis,..*.WITHOUT.WA |
1c1720 | 52 52 41 4e 54 59 20 4f 46 20 41 4e 59 20 4b 49 4e 44 2c 20 65 69 74 68 65 72 20 65 78 70 72 65 | RRANTY.OF.ANY.KIND,.either.expre |
1c1740 | 73 73 20 6f 72 20 69 6d 70 6c 69 65 64 2e 20 53 65 65 20 74 68 65 20 4c 69 63 65 6e 73 65 0a 20 | ss.or.implied..See.the.License.. |
1c1760 | 2a 20 66 6f 72 20 74 68 65 20 73 70 65 63 69 66 69 63 20 6c 61 6e 67 75 61 67 65 20 67 6f 76 65 | *.for.the.specific.language.gove |
1c1780 | 72 6e 69 6e 67 20 72 69 67 68 74 73 20 61 6e 64 20 6c 69 6d 69 74 61 74 69 6f 6e 73 20 75 6e 64 | rning.rights.and.limitations.und |
1c17a0 | 65 72 20 74 68 65 0a 20 2a 20 4c 69 63 65 6e 73 65 2e 0a 20 2a 0a 20 2a 20 54 68 65 20 4f 72 69 | er.the..*.License...*..*.The.Ori |
1c17c0 | 67 69 6e 61 6c 20 43 6f 64 65 20 69 73 20 4d 6f 7a 69 6c 6c 61 20 48 69 73 74 6f 72 79 20 53 79 | ginal.Code.is.Mozilla.History.Sy |
1c17e0 | 73 74 65 6d 0a 20 2a 0a 20 2a 20 54 68 65 20 49 6e 69 74 69 61 6c 20 44 65 76 65 6c 6f 70 65 72 | stem..*..*.The.Initial.Developer |
1c1800 | 20 6f 66 20 74 68 65 20 4f 72 69 67 69 6e 61 6c 20 43 6f 64 65 20 69 73 0a 20 2a 20 47 6f 6f 67 | .of.the.Original.Code.is..*.Goog |
1c1820 | 6c 65 20 49 6e 63 2e 0a 20 2a 20 50 6f 72 74 69 6f 6e 73 20 63 72 65 61 74 65 64 20 62 79 20 74 | le.Inc...*.Portions.created.by.t |
1c1840 | 68 65 20 49 6e 69 74 69 61 6c 20 44 65 76 65 6c 6f 70 65 72 20 61 72 65 20 43 6f 70 79 72 69 67 | he.Initial.Developer.are.Copyrig |
1c1860 | 68 74 20 28 43 29 20 32 30 30 35 0a 20 2a 20 74 68 65 20 49 6e 69 74 69 61 6c 20 44 65 76 65 6c | ht.(C).2005..*.the.Initial.Devel |
1c1880 | 6f 70 65 72 2e 20 41 6c 6c 20 52 69 67 68 74 73 20 52 65 73 65 72 76 65 64 2e 0a 20 2a 0a 20 2a | oper..All.Rights.Reserved...*..* |
1c18a0 | 20 43 6f 6e 74 72 69 62 75 74 6f 72 28 73 29 3a 0a 20 2a 20 20 20 42 72 65 74 74 20 57 69 6c 73 | .Contributor(s):..*...Brett.Wils |
1c18c0 | 6f 6e 20 3c 62 72 65 74 74 77 40 67 6d 61 69 6c 2e 63 6f 6d 3e 20 28 6f 72 69 67 69 6e 61 6c 20 | on.<brettw@gmail.com>.(original. |
1c18e0 | 61 75 74 68 6f 72 29 0a 20 2a 20 20 20 41 73 61 66 20 52 6f 6d 61 6e 6f 20 3c 6d 61 6e 6f 40 6d | author)..*...Asaf.Romano.<mano@m |
1c1900 | 6f 7a 69 6c 6c 61 2e 63 6f 6d 3e 20 28 4a 61 76 61 73 63 72 69 70 74 20 76 65 72 73 69 6f 6e 29 | ozilla.com>.(Javascript.version) |
1c1920 | 0a 20 2a 0a 20 2a 20 41 6c 74 65 72 6e 61 74 69 76 65 6c 79 2c 20 74 68 65 20 63 6f 6e 74 65 6e | ..*..*.Alternatively,.the.conten |
1c1940 | 74 73 20 6f 66 20 74 68 69 73 20 66 69 6c 65 20 6d 61 79 20 62 65 20 75 73 65 64 20 75 6e 64 65 | ts.of.this.file.may.be.used.unde |
1c1960 | 72 20 74 68 65 20 74 65 72 6d 73 20 6f 66 0a 20 2a 20 65 69 74 68 65 72 20 74 68 65 20 47 4e 55 | r.the.terms.of..*.either.the.GNU |
1c1980 | 20 47 65 6e 65 72 61 6c 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 20 56 65 72 73 69 6f 6e 20 | .General.Public.License.Version. |
1c19a0 | 32 20 6f 72 20 6c 61 74 65 72 20 28 74 68 65 20 22 47 50 4c 22 29 2c 20 6f 72 0a 20 2a 20 74 68 | 2.or.later.(the."GPL"),.or..*.th |
1c19c0 | 65 20 47 4e 55 20 4c 65 73 73 65 72 20 47 65 6e 65 72 61 6c 20 50 75 62 6c 69 63 20 4c 69 63 65 | e.GNU.Lesser.General.Public.Lice |
1c19e0 | 6e 73 65 20 56 65 72 73 69 6f 6e 20 32 2e 31 20 6f 72 20 6c 61 74 65 72 20 28 74 68 65 20 22 4c | nse.Version.2.1.or.later.(the."L |
1c1a00 | 47 50 4c 22 29 2c 0a 20 2a 20 69 6e 20 77 68 69 63 68 20 63 61 73 65 20 74 68 65 20 70 72 6f 76 | GPL"),..*.in.which.case.the.prov |
1c1a20 | 69 73 69 6f 6e 73 20 6f 66 20 74 68 65 20 47 50 4c 20 6f 72 20 74 68 65 20 4c 47 50 4c 20 61 72 | isions.of.the.GPL.or.the.LGPL.ar |
1c1a40 | 65 20 61 70 70 6c 69 63 61 62 6c 65 20 69 6e 73 74 65 61 64 0a 20 2a 20 6f 66 20 74 68 6f 73 65 | e.applicable.instead..*.of.those |
1c1a60 | 20 61 62 6f 76 65 2e 20 49 66 20 79 6f 75 20 77 69 73 68 20 74 6f 20 61 6c 6c 6f 77 20 75 73 65 | .above..If.you.wish.to.allow.use |
1c1a80 | 20 6f 66 20 79 6f 75 72 20 76 65 72 73 69 6f 6e 20 6f 66 20 74 68 69 73 20 66 69 6c 65 20 6f 6e | .of.your.version.of.this.file.on |
1c1aa0 | 6c 79 0a 20 2a 20 75 6e 64 65 72 20 74 68 65 20 74 65 72 6d 73 20 6f 66 20 65 69 74 68 65 72 20 | ly..*.under.the.terms.of.either. |
1c1ac0 | 74 68 65 20 47 50 4c 20 6f 72 20 74 68 65 20 4c 47 50 4c 2c 20 61 6e 64 20 6e 6f 74 20 74 6f 20 | the.GPL.or.the.LGPL,.and.not.to. |
1c1ae0 | 61 6c 6c 6f 77 20 6f 74 68 65 72 73 20 74 6f 0a 20 2a 20 75 73 65 20 79 6f 75 72 20 76 65 72 73 | allow.others.to..*.use.your.vers |
1c1b00 | 69 6f 6e 20 6f 66 20 74 68 69 73 20 66 69 6c 65 20 75 6e 64 65 72 20 74 68 65 20 74 65 72 6d 73 | ion.of.this.file.under.the.terms |
1c1b20 | 20 6f 66 20 74 68 65 20 4d 50 4c 2c 20 69 6e 64 69 63 61 74 65 20 79 6f 75 72 0a 20 2a 20 64 65 | .of.the.MPL,.indicate.your..*.de |
1c1b40 | 63 69 73 69 6f 6e 20 62 79 20 64 65 6c 65 74 69 6e 67 20 74 68 65 20 70 72 6f 76 69 73 69 6f 6e | cision.by.deleting.the.provision |
1c1b60 | 73 20 61 62 6f 76 65 20 61 6e 64 20 72 65 70 6c 61 63 65 20 74 68 65 6d 20 77 69 74 68 20 74 68 | s.above.and.replace.them.with.th |
1c1b80 | 65 20 6e 6f 74 69 63 65 0a 20 2a 20 61 6e 64 20 6f 74 68 65 72 20 70 72 6f 76 69 73 69 6f 6e 73 | e.notice..*.and.other.provisions |
1c1ba0 | 20 72 65 71 75 69 72 65 64 20 62 79 20 74 68 65 20 47 50 4c 20 6f 72 20 74 68 65 20 4c 47 50 4c | .required.by.the.GPL.or.the.LGPL |
1c1bc0 | 2e 20 49 66 20 79 6f 75 20 64 6f 20 6e 6f 74 20 64 65 6c 65 74 65 0a 20 2a 20 74 68 65 20 70 72 | ..If.you.do.not.delete..*.the.pr |
1c1be0 | 6f 76 69 73 69 6f 6e 73 20 61 62 6f 76 65 2c 20 61 20 72 65 63 69 70 69 65 6e 74 20 6d 61 79 20 | ovisions.above,.a.recipient.may. |
1c1c00 | 75 73 65 20 79 6f 75 72 20 76 65 72 73 69 6f 6e 20 6f 66 20 74 68 69 73 20 66 69 6c 65 20 75 6e | use.your.version.of.this.file.un |
1c1c20 | 64 65 72 0a 20 2a 20 74 68 65 20 74 65 72 6d 73 20 6f 66 20 61 6e 79 20 6f 6e 65 20 6f 66 20 74 | der..*.the.terms.of.any.one.of.t |
1c1c40 | 68 65 20 4d 50 4c 2c 20 74 68 65 20 47 50 4c 20 6f 72 20 74 68 65 20 4c 47 50 4c 2e 0a 20 2a 0a | he.MPL,.the.GPL.or.the.LGPL...*. |
1c1c60 | 20 2a 20 2a 2a 2a 2a 2a 20 45 4e 44 20 4c 49 43 45 4e 53 45 20 42 4c 4f 43 4b 20 2a 2a 2a 2a 2a | .*.*****.END.LICENSE.BLOCK.***** |
1c1c80 | 20 2a 2f 0a 0a 50 6c 61 63 65 73 54 72 65 65 56 69 65 77 2e 70 72 6f 74 6f 74 79 70 65 20 3d 20 | .*/..PlacesTreeView.prototype.=. |
1c1ca0 | 7b 0a 20 20 5f 6d 61 6b 65 41 74 6f 6d 3a 20 66 75 6e 63 74 69 6f 6e 20 50 54 56 5f 5f 6d 61 6b | {..._makeAtom:.function.PTV__mak |
1c1cc0 | 65 41 74 6f 6d 28 61 53 74 72 69 6e 67 29 20 7b 0a 20 20 20 20 72 65 74 75 72 6e 20 20 43 63 5b | eAtom(aString).{.....return..Cc[ |
1c1ce0 | 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 61 74 6f 6d 2d 73 65 72 76 69 63 65 3b 31 22 5d 2e 0a | "@mozilla.org/atom-service;1"].. |
1c1d00 | 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 41 74 6f | ............getService(Ci.nsIAto |
1c1d20 | 6d 53 65 72 76 69 63 65 29 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 41 74 6f 6d 28 61 | mService)..............getAtom(a |
1c1d40 | 53 74 72 69 6e 67 29 3b 0a 20 20 7d 2c 0a 0a 20 20 5f 61 74 6f 6d 73 3a 20 5b 5d 2c 0a 20 20 5f | String);...},...._atoms:.[],..._ |
1c1d60 | 67 65 74 41 74 6f 6d 46 6f 72 3a 20 66 75 6e 63 74 69 6f 6e 20 50 54 56 5f 5f 67 65 74 41 74 6f | getAtomFor:.function.PTV__getAto |
1c1d80 | 6d 46 6f 72 28 61 4e 61 6d 65 29 20 7b 0a 20 20 20 20 69 66 20 28 21 74 68 69 73 2e 5f 61 74 6f | mFor(aName).{.....if.(!this._ato |
1c1da0 | 6d 73 5b 61 4e 61 6d 65 5d 29 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 61 74 6f 6d 73 5b 61 4e 61 | ms[aName]).......this._atoms[aNa |
1c1dc0 | 6d 65 5d 20 3d 20 74 68 69 73 2e 5f 6d 61 6b 65 41 74 6f 6d 28 61 4e 61 6d 65 29 3b 0a 0a 20 20 | me].=.this._makeAtom(aName);.... |
1c1de0 | 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 61 74 6f 6d 73 5b 61 4e 61 6d 65 5d 3b 0a 20 20 7d | ..return.this._atoms[aName];...} |
1c1e00 | 2c 0a 0a 20 20 5f 65 6e 73 75 72 65 56 61 6c 69 64 52 6f 77 3a 20 66 75 6e 63 74 69 6f 6e 20 50 | ,...._ensureValidRow:.function.P |
1c1e20 | 54 56 5f 5f 65 6e 73 75 72 65 56 61 6c 69 64 52 6f 77 28 61 52 6f 77 29 20 7b 0a 20 20 20 20 69 | TV__ensureValidRow(aRow).{.....i |
1c1e40 | 66 20 28 61 52 6f 77 20 3c 20 30 20 7c 7c 20 61 52 6f 77 20 3e 3d 20 74 68 69 73 2e 5f 76 69 73 | f.(aRow.<.0.||.aRow.>=.this._vis |
1c1e60 | 69 62 6c 65 45 6c 65 6d 65 6e 74 73 2e 6c 65 6e 67 74 68 29 0a 20 20 20 20 20 20 74 68 72 6f 77 | ibleElements.length).......throw |
1c1e80 | 20 43 72 2e 4e 53 5f 45 52 52 4f 52 5f 49 4e 56 41 4c 49 44 5f 41 52 47 3b 0a 20 20 7d 2c 0a 0a | .Cr.NS_ERROR_INVALID_ARG;...},.. |
1c1ea0 | 20 20 5f 5f 64 61 74 65 53 65 72 76 69 63 65 3a 20 6e 75 6c 6c 2c 0a 20 20 67 65 74 20 5f 64 61 | ..__dateService:.null,...get._da |
1c1ec0 | 74 65 53 65 72 76 69 63 65 28 29 20 7b 0a 20 20 20 20 69 66 20 28 21 74 68 69 73 2e 5f 5f 64 61 | teService().{.....if.(!this.__da |
1c1ee0 | 74 65 53 65 72 76 69 63 65 29 20 7b 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 5f 64 61 74 65 53 65 | teService).{.......this.__dateSe |
1c1f00 | 72 76 69 63 65 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 69 6e 74 6c 2f 73 63 | rvice.=.Cc["@mozilla.org/intl/sc |
1c1f20 | 72 69 70 74 61 62 6c 65 64 61 74 65 66 6f 72 6d 61 74 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 | riptabledateformat;1"].......... |
1c1f40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 69 | ...................getService(Ci |
1c1f60 | 2e 6e 73 49 53 63 72 69 70 74 61 62 6c 65 44 61 74 65 46 6f 72 6d 61 74 29 3b 0a 20 20 20 20 7d | .nsIScriptableDateFormat);.....} |
1c1f80 | 0a 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 5f 64 61 74 65 53 65 72 76 69 63 65 3b 0a | .....return.this.__dateService;. |
1c1fa0 | 20 20 7d 2c 0a 0a 20 20 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 3a 20 66 75 6e 63 74 69 6f 6e | ..},....QueryInterface:.function |
1c1fc0 | 20 50 54 56 5f 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 28 61 49 49 44 29 20 7b 0a 20 20 20 20 | .PTV_QueryInterface(aIID).{..... |
1c1fe0 | 69 66 20 28 61 49 49 44 2e 65 71 75 61 6c 73 28 43 69 2e 6e 73 49 54 72 65 65 56 69 65 77 29 20 | if.(aIID.equals(Ci.nsITreeView). |
1c2000 | 7c 7c 0a 20 20 20 20 20 20 20 20 61 49 49 44 2e 65 71 75 61 6c 73 28 43 69 2e 6e 73 49 4e 61 76 | ||.........aIID.equals(Ci.nsINav |
1c2020 | 48 69 73 74 6f 72 79 52 65 73 75 6c 74 56 69 65 77 65 72 29 20 7c 7c 0a 20 20 20 20 20 20 20 20 | HistoryResultViewer).||......... |
1c2040 | 61 49 49 44 2e 65 71 75 61 6c 73 28 43 69 2e 6e 73 49 4e 61 76 48 69 73 74 6f 72 79 52 65 73 75 | aIID.equals(Ci.nsINavHistoryResu |
1c2060 | 6c 74 54 72 65 65 56 69 65 77 65 72 29 20 7c 7c 0a 20 20 20 20 20 20 20 20 61 49 49 44 2e 65 71 | ltTreeViewer).||.........aIID.eq |
1c2080 | 75 61 6c 73 28 43 69 2e 6e 73 49 53 75 70 70 6f 72 74 73 29 29 0a 20 20 20 20 20 20 72 65 74 75 | uals(Ci.nsISupports)).......retu |
1c20a0 | 72 6e 20 74 68 69 73 3b 0a 0a 20 20 20 20 74 68 72 6f 77 20 43 72 2e 4e 53 5f 45 52 52 4f 52 5f | rn.this;......throw.Cr.NS_ERROR_ |
1c20c0 | 4e 4f 5f 49 4e 54 45 52 46 41 43 45 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 54 | NO_INTERFACE;...},..../**....*.T |
1c20e0 | 68 69 73 20 69 73 20 63 61 6c 6c 65 64 20 77 68 65 6e 20 74 68 65 20 72 65 73 75 6c 74 20 6f 72 | his.is.called.when.the.result.or |
1c2100 | 20 74 72 65 65 20 6d 61 79 20 68 61 76 65 20 63 68 61 6e 67 65 64 2e 0a 20 20 20 2a 20 49 74 20 | .tree.may.have.changed.....*.It. |
1c2120 | 72 65 69 6e 69 74 69 61 6c 69 7a 65 73 20 65 76 65 72 79 74 68 69 6e 67 2e 20 52 65 73 75 6c 74 | reinitializes.everything..Result |
1c2140 | 20 61 6e 64 2f 6f 72 20 74 72 65 65 20 63 61 6e 20 62 65 20 6e 75 6c 6c 0a 20 20 20 2a 20 77 68 | .and/or.tree.can.be.null....*.wh |
1c2160 | 65 6e 20 63 61 6c 6c 69 6e 67 2e 0a 20 20 20 2a 2f 0a 20 20 5f 66 69 6e 69 73 68 49 6e 69 74 3a | en.calling.....*/..._finishInit: |
1c2180 | 20 66 75 6e 63 74 69 6f 6e 20 50 54 56 5f 5f 66 69 6e 69 73 68 49 6e 69 74 28 29 20 7b 0a 20 20 | .function.PTV__finishInit().{... |
1c21a0 | 20 20 69 66 20 28 74 68 69 73 2e 5f 74 72 65 65 20 26 26 20 74 68 69 73 2e 5f 72 65 73 75 6c 74 | ..if.(this._tree.&&.this._result |
1c21c0 | 29 0a 20 20 20 20 20 20 74 68 69 73 2e 73 6f 72 74 69 6e 67 43 68 61 6e 67 65 64 28 74 68 69 73 | ).......this.sortingChanged(this |
1c21e0 | 2e 5f 72 65 73 75 6c 74 2e 73 6f 72 74 69 6e 67 4d 6f 64 65 29 3b 0a 0a 20 20 20 20 76 61 72 20 | ._result.sortingMode);......var. |
1c2200 | 71 6f 49 6e 74 20 3d 20 43 69 2e 6e 73 49 4e 61 76 48 69 73 74 6f 72 79 51 75 65 72 79 4f 70 74 | qoInt.=.Ci.nsINavHistoryQueryOpt |
1c2220 | 69 6f 6e 73 3b 0a 20 20 20 20 76 61 72 20 6f 70 74 69 6f 6e 73 20 3d 20 61 73 51 75 65 72 79 28 | ions;.....var.options.=.asQuery( |
1c2240 | 74 68 69 73 2e 5f 72 65 73 75 6c 74 2e 72 6f 6f 74 29 2e 71 75 65 72 79 4f 70 74 69 6f 6e 73 3b | this._result.root).queryOptions; |
1c2260 | 0a 0a 20 20 20 20 2f 2f 20 69 66 20 74 68 65 72 65 20 69 73 20 6e 6f 20 74 72 65 65 2c 20 42 75 | ......//.if.there.is.no.tree,.Bu |
1c2280 | 69 6c 64 56 69 73 69 62 6c 65 4c 69 73 74 20 77 69 6c 6c 20 63 6c 65 61 72 20 65 76 65 72 79 74 | ildVisibleList.will.clear.everyt |
1c22a0 | 68 69 6e 67 20 66 6f 72 20 75 73 0a 20 20 20 20 74 68 69 73 2e 5f 62 75 69 6c 64 56 69 73 69 62 | hing.for.us.....this._buildVisib |
1c22c0 | 6c 65 4c 69 73 74 28 29 3b 0a 20 20 7d 2c 0a 0a 20 20 5f 63 6f 6d 70 75 74 65 53 68 6f 77 53 65 | leList();...},...._computeShowSe |
1c22e0 | 73 73 69 6f 6e 73 3a 20 66 75 6e 63 74 69 6f 6e 20 50 54 56 5f 5f 63 6f 6d 70 75 74 65 53 68 6f | ssions:.function.PTV__computeSho |
1c2300 | 77 53 65 73 73 69 6f 6e 73 28 29 20 7b 0a 20 20 20 20 4e 53 5f 41 53 53 45 52 54 28 74 68 69 73 | wSessions().{.....NS_ASSERT(this |
1c2320 | 2e 5f 72 65 73 75 6c 74 2c 20 22 4d 75 73 74 20 68 61 76 65 20 61 20 72 65 73 75 6c 74 20 74 6f | ._result,."Must.have.a.result.to |
1c2340 | 20 73 68 6f 77 20 73 65 73 73 69 6f 6e 73 21 22 29 3b 0a 20 20 20 20 74 68 69 73 2e 5f 73 68 6f | .show.sessions!");.....this._sho |
1c2360 | 77 53 65 73 73 69 6f 6e 73 20 3d 20 66 61 6c 73 65 3b 0a 0a 20 20 20 20 76 61 72 20 6f 70 74 69 | wSessions.=.false;......var.opti |
1c2380 | 6f 6e 73 20 3d 20 61 73 51 75 65 72 79 28 74 68 69 73 2e 5f 72 65 73 75 6c 74 2e 72 6f 6f 74 29 | ons.=.asQuery(this._result.root) |
1c23a0 | 2e 71 75 65 72 79 4f 70 74 69 6f 6e 73 3b 0a 20 20 20 20 4e 53 5f 41 53 53 45 52 54 28 6f 70 74 | .queryOptions;.....NS_ASSERT(opt |
1c23c0 | 69 6f 6e 73 2c 20 22 6e 61 76 48 69 73 74 6f 72 79 52 65 73 75 6c 74 73 20 6d 75 73 74 20 68 61 | ions,."navHistoryResults.must.ha |
1c23e0 | 76 65 20 76 61 6c 69 64 20 6f 70 74 69 6f 6e 73 22 29 3b 0a 0a 20 20 20 20 69 66 20 28 21 6f 70 | ve.valid.options");......if.(!op |
1c2400 | 74 69 6f 6e 73 2e 73 68 6f 77 53 65 73 73 69 6f 6e 73 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e | tions.showSessions).......return |
1c2420 | 3b 20 2f 2f 20 73 65 73 73 69 6f 6e 73 20 61 72 65 20 6f 66 66 0a 0a 20 20 20 20 76 61 72 20 72 | ;.//.sessions.are.off......var.r |
1c2440 | 65 73 75 6c 74 54 79 70 65 20 3d 20 6f 70 74 69 6f 6e 73 2e 72 65 73 75 6c 74 54 79 70 65 3b 0a | esultType.=.options.resultType;. |
1c2460 | 20 20 20 20 69 66 20 28 72 65 73 75 6c 74 54 79 70 65 20 21 3d 20 43 69 2e 6e 73 49 4e 61 76 48 | ....if.(resultType.!=.Ci.nsINavH |
1c2480 | 69 73 74 6f 72 79 51 75 65 72 79 4f 70 74 69 6f 6e 73 2e 52 45 53 55 4c 54 53 5f 41 53 5f 56 49 | istoryQueryOptions.RESULTS_AS_VI |
1c24a0 | 53 49 54 20 26 26 0a 20 20 20 20 20 20 20 20 72 65 73 75 6c 74 54 79 70 65 20 21 3d 20 43 69 2e | SIT.&&.........resultType.!=.Ci. |
1c24c0 | 6e 73 49 4e 61 76 48 69 73 74 6f 72 79 51 75 65 72 79 4f 70 74 69 6f 6e 73 2e 52 45 53 55 4c 54 | nsINavHistoryQueryOptions.RESULT |
1c24e0 | 53 5f 41 53 5f 46 55 4c 4c 5f 56 49 53 49 54 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 20 2f | S_AS_FULL_VISIT).......return;./ |
1c2500 | 2f 20 6e 6f 74 20 76 69 73 69 74 73 0a 0a 20 20 20 20 76 61 72 20 73 6f 72 74 54 79 70 65 20 3d | /.not.visits......var.sortType.= |
1c2520 | 20 74 68 69 73 2e 5f 72 65 73 75 6c 74 2e 73 6f 72 74 69 6e 67 4d 6f 64 65 3b 0a 20 20 20 20 69 | .this._result.sortingMode;.....i |
1c2540 | 66 20 28 73 6f 72 74 54 79 70 65 20 21 3d 20 6e 73 49 4e 61 76 48 69 73 74 6f 72 79 51 75 65 72 | f.(sortType.!=.nsINavHistoryQuer |
1c2560 | 79 4f 70 74 69 6f 6e 73 3a 3a 53 4f 52 54 5f 42 59 5f 44 41 54 45 5f 41 53 43 45 4e 44 49 4e 47 | yOptions::SORT_BY_DATE_ASCENDING |
1c2580 | 20 26 26 0a 20 20 20 20 20 20 20 20 73 6f 72 74 54 79 70 65 20 21 3d 20 6e 73 49 4e 61 76 48 69 | .&&.........sortType.!=.nsINavHi |
1c25a0 | 73 74 6f 72 79 51 75 65 72 79 4f 70 74 69 6f 6e 73 3a 3a 53 4f 52 54 5f 42 59 5f 44 41 54 45 5f | storyQueryOptions::SORT_BY_DATE_ |
1c25c0 | 44 45 53 43 45 4e 44 49 4e 47 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 20 2f 2f 20 6e 6f 74 | DESCENDING).......return;.//.not |
1c25e0 | 20 64 61 74 65 20 73 6f 72 74 69 6e 67 0a 0a 20 20 20 20 74 68 69 73 2e 5f 73 68 6f 77 53 65 73 | .date.sorting......this._showSes |
1c2600 | 73 69 6f 6e 73 20 3d 20 74 72 75 65 3b 0a 20 20 7d 2c 0a 0a 20 20 53 45 53 53 49 4f 4e 5f 53 54 | sions.=.true;...},....SESSION_ST |
1c2620 | 41 54 55 53 5f 4e 4f 4e 45 3a 20 30 2c 0a 20 20 53 45 53 53 49 4f 4e 5f 53 54 41 54 55 53 5f 53 | ATUS_NONE:.0,...SESSION_STATUS_S |
1c2640 | 54 41 52 54 3a 20 31 2c 0a 20 20 53 45 53 53 49 4f 4e 5f 53 54 41 54 55 53 5f 43 4f 4e 54 49 4e | TART:.1,...SESSION_STATUS_CONTIN |
1c2660 | 55 45 3a 20 32 2c 0a 20 20 5f 67 65 74 52 6f 77 53 65 73 73 69 6f 6e 53 74 61 74 75 73 3a 20 66 | UE:.2,..._getRowSessionStatus:.f |
1c2680 | 75 6e 63 74 69 6f 6e 20 50 54 56 5f 5f 67 65 74 52 6f 77 53 65 73 73 69 6f 6e 53 74 61 74 75 73 | unction.PTV__getRowSessionStatus |
1c26a0 | 28 61 52 6f 77 29 20 7b 0a 20 20 20 20 76 61 72 20 6e 6f 64 65 20 3d 20 74 68 69 73 2e 5f 76 69 | (aRow).{.....var.node.=.this._vi |
1c26c0 | 73 69 62 6c 65 45 6c 65 6d 65 6e 74 73 5b 61 52 6f 77 5d 2e 6e 6f 64 65 3b 0a 20 20 20 20 69 66 | sibleElements[aRow].node;.....if |
1c26e0 | 20 28 21 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 56 69 73 69 74 28 6e 6f 64 65 29 | .(!PlacesUtils.nodeIsVisit(node) |
1c2700 | 20 7c 7c 20 61 73 56 69 73 69 74 28 6e 6f 64 65 29 2e 73 65 73 73 69 6f 6e 49 64 20 3d 3d 20 30 | .||.asVisit(node).sessionId.==.0 |
1c2720 | 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 53 45 53 53 49 4f 4e 5f 53 54 41 54 | ).......return.this.SESSION_STAT |
1c2740 | 55 53 5f 4e 4f 4e 45 3b 0a 0a 20 20 20 20 69 66 20 28 61 52 6f 77 20 3d 3d 20 30 29 0a 20 20 20 | US_NONE;......if.(aRow.==.0).... |
1c2760 | 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 53 45 53 53 49 4f 4e 5f 53 54 41 54 55 53 5f 53 54 | ...return.this.SESSION_STATUS_ST |
1c2780 | 41 52 54 3b 0a 0a 20 20 20 20 76 61 72 20 70 72 65 76 69 6f 75 73 4e 6f 64 65 20 3d 20 74 68 69 | ART;......var.previousNode.=.thi |
1c27a0 | 73 2e 5f 76 69 73 69 62 6c 65 45 6c 65 6d 65 6e 74 73 5b 61 52 6f 77 20 2d 20 31 5d 2e 6e 6f 64 | s._visibleElements[aRow.-.1].nod |
1c27c0 | 65 3b 0a 20 20 20 20 69 66 20 28 21 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 56 69 | e;.....if.(!PlacesUtils.nodeIsVi |
1c27e0 | 73 69 74 28 70 72 65 76 69 6f 75 73 4e 6f 64 65 29 20 7c 7c 0a 20 20 20 20 20 20 20 20 6e 6f 64 | sit(previousNode).||.........nod |
1c2800 | 65 2e 73 65 73 73 69 6f 6e 49 64 20 21 3d 20 61 73 56 69 73 69 74 28 70 72 65 76 69 6f 75 73 4e | e.sessionId.!=.asVisit(previousN |
1c2820 | 6f 64 65 29 2e 73 65 73 73 69 6f 6e 49 64 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 | ode).sessionId).......return.thi |
1c2840 | 73 2e 53 45 53 53 49 4f 4e 5f 53 54 41 54 55 53 5f 53 54 41 52 54 3b 0a 0a 20 20 20 20 72 65 74 | s.SESSION_STATUS_START;......ret |
1c2860 | 75 72 6e 20 74 68 69 73 2e 53 45 53 53 49 4f 4e 5f 53 54 41 54 55 53 5f 43 4f 4e 54 49 4e 55 45 | urn.this.SESSION_STATUS_CONTINUE |
1c2880 | 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 43 61 6c 6c 20 74 6f 20 63 6f 6d 70 6c | ;...},..../**....*.Call.to.compl |
1c28a0 | 65 74 65 6c 79 20 72 65 62 75 69 6c 64 20 74 68 65 20 6c 69 73 74 20 6f 66 20 76 69 73 69 62 6c | etely.rebuild.the.list.of.visibl |
1c28c0 | 65 20 69 74 65 6d 73 2e 20 4e 6f 74 65 20 69 66 20 74 68 65 72 65 20 69 73 20 6e 6f 0a 20 20 20 | e.items..Note.if.there.is.no.... |
1c28e0 | 2a 20 74 72 65 65 20 6f 72 20 72 6f 6f 74 20 74 68 69 73 20 77 69 6c 6c 20 6a 75 73 74 20 63 6c | *.tree.or.root.this.will.just.cl |
1c2900 | 65 61 72 20 6f 75 74 20 74 68 65 20 6c 69 73 74 2c 20 73 6f 20 79 6f 75 20 63 61 6e 20 61 6c 73 | ear.out.the.list,.so.you.can.als |
1c2920 | 6f 20 63 61 6c 6c 20 74 68 69 73 0a 20 20 20 2a 20 77 68 65 6e 20 61 20 74 72 65 65 20 69 73 20 | o.call.this....*.when.a.tree.is. |
1c2940 | 64 65 74 61 63 68 65 64 20 74 6f 20 63 6c 65 61 72 20 74 68 65 20 6c 69 73 74 2e 0a 20 20 20 2a | detached.to.clear.the.list.....* |
1c2960 | 2f 0a 20 20 5f 62 75 69 6c 64 56 69 73 69 62 6c 65 4c 69 73 74 3a 20 66 75 6e 63 74 69 6f 6e 20 | /..._buildVisibleList:.function. |
1c2980 | 50 54 56 5f 5f 62 75 69 6c 64 56 69 73 69 62 6c 65 4c 69 73 74 28 29 20 7b 0a 20 20 20 20 76 61 | PTV__buildVisibleList().{.....va |
1c29a0 | 72 20 73 65 6c 65 63 74 69 6f 6e 20 3d 20 74 68 69 73 2e 73 65 6c 65 63 74 69 6f 6e 3b 0a 20 20 | r.selection.=.this.selection;... |
1c29c0 | 20 20 69 66 20 28 73 65 6c 65 63 74 69 6f 6e 29 0a 20 20 20 20 20 20 73 65 6c 65 63 74 69 6f 6e | ..if.(selection).......selection |
1c29e0 | 2e 73 65 6c 65 63 74 45 76 65 6e 74 73 53 75 70 70 72 65 73 73 65 64 20 3d 20 74 72 75 65 3b 0a | .selectEventsSuppressed.=.true;. |
1c2a00 | 0a 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 72 65 73 75 6c 74 29 20 7b 0a 20 20 20 20 20 20 2f | .....if.(this._result).{......./ |
1c2a20 | 2f 20 41 6e 79 20 63 75 72 72 65 6e 74 20 76 69 73 69 62 6c 65 20 65 6c 65 6d 65 6e 74 73 20 6e | /.Any.current.visible.elements.n |
1c2a40 | 65 65 64 20 74 6f 20 62 65 20 6d 61 72 6b 65 64 20 61 73 20 69 6e 76 69 73 69 62 6c 65 2e 0a 20 | eed.to.be.marked.as.invisible... |
1c2a60 | 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 74 68 69 73 2e 5f 76 | .....for.(var.i.=.0;.i.<.this._v |
1c2a80 | 69 73 69 62 6c 65 45 6c 65 6d 65 6e 74 73 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 20 7b 0a 20 20 | isibleElements.length;.i++).{... |
1c2aa0 | 20 20 20 20 20 20 74 68 69 73 2e 5f 76 69 73 69 62 6c 65 45 6c 65 6d 65 6e 74 73 5b 69 5d 2e 6e | ......this._visibleElements[i].n |
1c2ac0 | 6f 64 65 2e 76 69 65 77 49 6e 64 65 78 20 3d 20 2d 31 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 | ode.viewIndex.=.-1;.......}..... |
1c2ae0 | 7d 0a 0a 20 20 20 20 76 61 72 20 72 6f 6f 74 4e 6f 64 65 20 3d 20 74 68 69 73 2e 5f 72 65 73 75 | }......var.rootNode.=.this._resu |
1c2b00 | 6c 74 2e 72 6f 6f 74 3b 0a 20 20 20 20 69 66 20 28 72 6f 6f 74 4e 6f 64 65 20 26 26 20 74 68 69 | lt.root;.....if.(rootNode.&&.thi |
1c2b20 | 73 2e 5f 74 72 65 65 29 20 7b 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 63 6f 6d 70 75 74 65 53 68 | s._tree).{.......this._computeSh |
1c2b40 | 6f 77 53 65 73 73 69 6f 6e 73 28 29 3b 0a 0a 20 20 20 20 20 20 61 73 43 6f 6e 74 61 69 6e 65 72 | owSessions();........asContainer |
1c2b60 | 28 72 6f 6f 74 4e 6f 64 65 29 3b 0a 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 73 68 6f 77 | (rootNode);.......if.(this._show |
1c2b80 | 52 6f 6f 74 29 20 7b 0a 20 20 20 20 20 20 20 20 2f 2f 20 4c 69 73 74 20 74 68 65 20 72 6f 6f 74 | Root).{.........//.List.the.root |
1c2ba0 | 20 6e 6f 64 65 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 76 69 73 69 62 6c 65 45 6c 65 6d 65 | .node.........this._visibleEleme |
1c2bc0 | 6e 74 73 2e 70 75 73 68 28 0a 20 20 20 20 20 20 20 20 20 20 7b 20 6e 6f 64 65 3a 20 74 68 69 73 | nts.push(...........{.node:.this |
1c2be0 | 2e 5f 72 65 73 75 6c 74 2e 72 6f 6f 74 2c 20 70 72 6f 70 65 72 74 69 65 73 3a 20 6e 75 6c 6c 20 | ._result.root,.properties:.null. |
1c2c00 | 7d 29 3b 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 74 72 65 65 2e 72 6f 77 43 6f 75 6e 74 43 | });.........this._tree.rowCountC |
1c2c20 | 68 61 6e 67 65 64 28 30 2c 20 31 29 3b 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 72 65 73 75 | hanged(0,.1);.........this._resu |
1c2c40 | 6c 74 2e 72 6f 6f 74 2e 76 69 65 77 49 6e 64 65 78 20 3d 20 30 3b 0a 20 20 20 20 20 20 7d 0a 20 | lt.root.viewIndex.=.0;.......}.. |
1c2c60 | 20 20 20 20 20 65 6c 73 65 20 69 66 20 28 21 72 6f 6f 74 4e 6f 64 65 2e 63 6f 6e 74 61 69 6e 65 | .....else.if.(!rootNode.containe |
1c2c80 | 72 4f 70 65 6e 29 20 7b 0a 20 20 20 20 20 20 20 20 2f 2f 20 74 68 69 73 20 74 72 69 67 67 65 72 | rOpen).{.........//.this.trigger |
1c2ca0 | 73 20 63 6f 6e 74 61 69 6e 65 72 4f 70 65 6e 65 64 20 77 68 69 63 68 20 74 68 65 6e 20 62 75 69 | s.containerOpened.which.then.bui |
1c2cc0 | 6c 64 73 20 74 68 65 20 76 69 73 69 62 6c 65 0a 20 20 20 20 20 20 20 20 2f 2f 20 73 65 63 74 69 | lds.the.visible.........//.secti |
1c2ce0 | 6f 6e 0a 20 20 20 20 20 20 20 20 72 6f 6f 74 4e 6f 64 65 2e 63 6f 6e 74 61 69 6e 65 72 4f 70 65 | on.........rootNode.containerOpe |
1c2d00 | 6e 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 65 6c 73 65 0a 20 20 20 | n.=.true;.......}.......else.... |
1c2d20 | 20 20 20 20 20 74 68 69 73 2e 69 6e 76 61 6c 69 64 61 74 65 43 6f 6e 74 61 69 6e 65 72 28 72 6f | .....this.invalidateContainer(ro |
1c2d40 | 6f 74 4e 6f 64 65 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 69 66 20 28 73 65 6c 65 63 74 69 6f 6e | otNode);.....}.....if.(selection |
1c2d60 | 29 0a 20 20 20 20 20 20 73 65 6c 65 63 74 69 6f 6e 2e 73 65 6c 65 63 74 45 76 65 6e 74 73 53 75 | ).......selection.selectEventsSu |
1c2d80 | 70 70 72 65 73 73 65 64 20 3d 20 66 61 6c 73 65 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 | ppressed.=.false;...},..../**... |
1c2da0 | 20 2a 20 54 68 69 73 20 74 61 6b 65 73 20 61 20 63 6f 6e 74 61 69 6e 65 72 20 61 6e 64 20 72 65 | .*.This.takes.a.container.and.re |
1c2dc0 | 63 75 72 73 69 76 65 6c 79 20 61 70 70 65 6e 64 73 20 76 69 73 69 62 6c 65 20 65 6c 65 6d 65 6e | cursively.appends.visible.elemen |
1c2de0 | 74 73 20 74 6f 20 74 68 65 0a 20 20 20 2a 20 67 69 76 65 6e 20 61 72 72 61 79 2e 20 54 68 69 73 | ts.to.the....*.given.array..This |
1c2e00 | 20 69 73 20 75 73 65 64 20 74 6f 20 62 75 69 6c 64 20 74 68 65 20 76 69 73 69 62 6c 65 20 65 6c | .is.used.to.build.the.visible.el |
1c2e20 | 65 6d 65 6e 74 20 6c 69 73 74 20 28 77 69 74 68 0a 20 20 20 2a 20 74 68 69 73 2e 5f 76 69 73 69 | ement.list.(with....*.this._visi |
1c2e40 | 62 6c 65 45 6c 65 6d 65 6e 74 73 20 70 61 73 73 65 64 20 61 73 20 74 68 65 20 61 72 72 61 79 29 | bleElements.passed.as.the.array) |
1c2e60 | 2c 20 6f 72 20 70 6f 72 74 69 6f 6e 73 20 74 68 65 72 65 6f 66 20 28 77 69 74 68 0a 20 20 20 2a | ,.or.portions.thereof.(with....* |
1c2e80 | 20 61 20 73 65 70 61 72 61 74 65 20 61 72 72 61 79 20 74 68 61 74 20 69 73 20 6d 65 72 67 65 64 | .a.separate.array.that.is.merged |
1c2ea0 | 20 77 69 74 68 20 74 68 65 20 6d 61 69 6e 20 6c 69 73 74 20 6c 61 74 65 72 2e 0a 20 20 20 2a 0a | .with.the.main.list.later.....*. |
1c2ec0 | 20 20 20 2a 20 61 56 69 73 69 62 6c 65 53 74 61 72 74 49 6e 64 65 78 20 69 73 20 74 68 65 20 76 | ...*.aVisibleStartIndex.is.the.v |
1c2ee0 | 69 73 69 62 6c 65 20 69 6e 64 65 78 20 6f 66 20 74 68 65 20 62 65 67 69 6e 6e 69 6e 67 20 6f 66 | isible.index.of.the.beginning.of |
1c2f00 | 20 74 68 65 20 27 61 56 69 73 69 62 6c 65 27 0a 20 20 20 2a 20 61 72 72 61 79 2e 20 57 68 65 6e | .the.'aVisible'....*.array..When |
1c2f20 | 20 61 56 69 73 69 62 6c 65 20 69 73 20 74 68 69 73 2e 5f 76 69 73 69 62 6c 65 45 6c 65 6d 65 6e | .aVisible.is.this._visibleElemen |
1c2f40 | 74 73 2c 20 74 68 69 73 20 69 73 20 30 2e 20 54 68 69 73 20 69 73 20 6e 6f 6e 2d 7a 65 72 6f 0a | ts,.this.is.0..This.is.non-zero. |
1c2f60 | 20 20 20 2a 20 77 68 65 6e 20 77 65 20 61 72 65 20 62 75 69 6c 64 69 6e 67 20 75 70 20 61 20 73 | ...*.when.we.are.building.up.a.s |
1c2f80 | 75 62 2d 72 65 67 69 6f 6e 20 66 6f 72 20 69 6e 73 65 72 74 69 6f 6e 2e 20 54 68 65 6e 2c 20 74 | ub-region.for.insertion..Then,.t |
1c2fa0 | 68 69 73 20 69 73 20 74 68 65 0a 20 20 20 2a 20 69 6e 64 65 78 20 77 68 65 72 65 20 74 68 65 20 | his.is.the....*.index.where.the. |
1c2fc0 | 6e 65 77 20 61 72 72 61 79 20 77 69 6c 6c 20 62 65 20 69 6e 73 65 72 74 65 64 20 69 6e 74 6f 20 | new.array.will.be.inserted.into. |
1c2fe0 | 74 68 69 73 2e 5f 76 69 73 69 62 6c 65 45 6c 65 6d 65 6e 74 73 2e 0a 20 20 20 2a 20 49 74 20 69 | this._visibleElements.....*.It.i |
1c3000 | 73 20 75 73 65 64 20 74 6f 20 63 6f 6d 70 75 74 65 20 65 61 63 68 20 6e 6f 64 65 27 73 20 76 69 | s.used.to.compute.each.node's.vi |
1c3020 | 65 77 49 6e 64 65 78 2e 0a 20 20 20 2a 2f 0a 20 20 5f 62 75 69 6c 64 56 69 73 69 62 6c 65 53 65 | ewIndex.....*/..._buildVisibleSe |
1c3040 | 63 74 69 6f 6e 3a 0a 20 20 66 75 6e 63 74 69 6f 6e 20 50 54 56 5f 5f 62 75 69 6c 64 56 69 73 69 | ction:...function.PTV__buildVisi |
1c3060 | 62 6c 65 53 65 63 74 69 6f 6e 28 61 43 6f 6e 74 61 69 6e 65 72 2c 20 61 56 69 73 69 62 6c 65 2c | bleSection(aContainer,.aVisible, |
1c3080 | 20 61 54 6f 4f 70 65 6e 2c 20 61 56 69 73 69 62 6c 65 53 74 61 72 74 49 6e 64 65 78 29 0a 20 20 | .aToOpen,.aVisibleStartIndex)... |
1c30a0 | 7b 0a 20 20 20 20 69 66 20 28 21 61 43 6f 6e 74 61 69 6e 65 72 2e 63 6f 6e 74 61 69 6e 65 72 4f | {.....if.(!aContainer.containerO |
1c30c0 | 70 65 6e 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 20 20 2f 2f 20 6e 6f 74 68 69 6e 67 20 74 | pen).......return;..//.nothing.t |
1c30e0 | 6f 20 64 6f 0a 0a 20 20 20 20 63 6f 6e 73 74 20 6f 70 65 6e 4c 69 74 65 72 61 6c 20 3d 20 50 6c | o.do......const.openLiteral.=.Pl |
1c3100 | 61 63 65 73 55 49 55 74 69 6c 73 2e 52 44 46 2e 47 65 74 52 65 73 6f 75 72 63 65 28 22 68 74 74 | acesUIUtils.RDF.GetResource("htt |
1c3120 | 70 3a 2f 2f 68 6f 6d 65 2e 6e 65 74 73 63 61 70 65 2e 63 6f 6d 2f 4e 43 2d 72 64 66 23 6f 70 65 | p://home.netscape.com/NC-rdf#ope |
1c3140 | 6e 22 29 3b 0a 20 20 20 20 63 6f 6e 73 74 20 74 72 75 65 4c 69 74 65 72 61 6c 20 3d 20 50 6c 61 | n");.....const.trueLiteral.=.Pla |
1c3160 | 63 65 73 55 49 55 74 69 6c 73 2e 52 44 46 2e 47 65 74 4c 69 74 65 72 61 6c 28 22 74 72 75 65 22 | cesUIUtils.RDF.GetLiteral("true" |
1c3180 | 29 3b 0a 0a 20 20 20 20 76 61 72 20 63 63 20 3d 20 61 43 6f 6e 74 61 69 6e 65 72 2e 63 68 69 6c | );......var.cc.=.aContainer.chil |
1c31a0 | 64 43 6f 75 6e 74 3b 0a 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 3d 30 3b 20 69 20 3c 20 63 63 | dCount;.....for.(var.i=0;.i.<.cc |
1c31c0 | 3b 20 69 2b 2b 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 63 75 72 43 68 69 6c 64 20 3d 20 61 43 | ;.i++).{.......var.curChild.=.aC |
1c31e0 | 6f 6e 74 61 69 6e 65 72 2e 67 65 74 43 68 69 6c 64 28 69 29 3b 0a 20 20 20 20 20 20 76 61 72 20 | ontainer.getChild(i);.......var. |
1c3200 | 63 75 72 43 68 69 6c 64 54 79 70 65 20 3d 20 63 75 72 43 68 69 6c 64 2e 74 79 70 65 3b 0a 0a 20 | curChildType.=.curChild.type;... |
1c3220 | 20 20 20 20 20 2f 2f 20 64 6f 6e 27 74 20 64 69 73 70 6c 61 79 20 73 65 70 61 72 61 74 6f 72 73 | .....//.don't.display.separators |
1c3240 | 20 77 68 65 6e 20 73 6f 72 74 65 64 0a 20 20 20 20 20 20 69 66 20 28 63 75 72 43 68 69 6c 64 54 | .when.sorted.......if.(curChildT |
1c3260 | 79 70 65 20 3d 3d 20 43 69 2e 6e 73 49 4e 61 76 48 69 73 74 6f 72 79 52 65 73 75 6c 74 4e 6f 64 | ype.==.Ci.nsINavHistoryResultNod |
1c3280 | 65 2e 52 45 53 55 4c 54 5f 54 59 50 45 5f 53 45 50 41 52 41 54 4f 52 29 20 7b 0a 20 20 20 20 20 | e.RESULT_TYPE_SEPARATOR).{...... |
1c32a0 | 20 20 20 69 66 20 28 74 68 69 73 2e 5f 72 65 73 75 6c 74 2e 73 6f 72 74 69 6e 67 4d 6f 64 65 20 | ...if.(this._result.sortingMode. |
1c32c0 | 21 3d 0a 20 20 20 20 20 20 20 20 20 20 20 20 43 69 2e 6e 73 49 4e 61 76 48 69 73 74 6f 72 79 51 | !=.............Ci.nsINavHistoryQ |
1c32e0 | 75 65 72 79 4f 70 74 69 6f 6e 73 2e 53 4f 52 54 5f 42 59 5f 4e 4f 4e 45 29 20 7b 0a 20 20 20 20 | ueryOptions.SORT_BY_NONE).{..... |
1c3300 | 20 20 20 20 20 20 63 75 72 43 68 69 6c 64 2e 76 69 65 77 49 6e 64 65 78 20 3d 20 2d 31 3b 0a 20 | ......curChild.viewIndex.=.-1;.. |
1c3320 | 20 20 20 20 20 20 20 20 20 63 6f 6e 74 69 6e 75 65 3b 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 | .........continue;.........}.... |
1c3340 | 20 20 20 7d 0a 0a 20 20 20 20 20 20 2f 2f 20 61 64 64 20 69 74 65 6d 0a 20 20 20 20 20 20 63 75 | ...}........//.add.item.......cu |
1c3360 | 72 43 68 69 6c 64 2e 76 69 65 77 49 6e 64 65 78 20 3d 20 61 56 69 73 69 62 6c 65 53 74 61 72 74 | rChild.viewIndex.=.aVisibleStart |
1c3380 | 49 6e 64 65 78 20 2b 20 61 56 69 73 69 62 6c 65 2e 6c 65 6e 67 74 68 3b 0a 20 20 20 20 20 20 61 | Index.+.aVisible.length;.......a |
1c33a0 | 56 69 73 69 62 6c 65 2e 70 75 73 68 28 7b 20 6e 6f 64 65 3a 20 63 75 72 43 68 69 6c 64 2c 20 70 | Visible.push({.node:.curChild,.p |
1c33c0 | 72 6f 70 65 72 74 69 65 73 3a 20 6e 75 6c 6c 20 7d 29 3b 0a 0a 20 20 20 20 20 20 2f 2f 20 72 65 | roperties:.null.});........//.re |
1c33e0 | 63 75 72 73 69 76 65 6c 79 20 64 6f 20 63 6f 6e 74 61 69 6e 65 72 73 0a 20 20 20 20 20 20 69 66 | cursively.do.containers.......if |
1c3400 | 20 28 21 74 68 69 73 2e 5f 66 6c 61 74 4c 69 73 74 20 26 26 20 50 6c 61 63 65 73 55 74 69 6c 73 | .(!this._flatList.&&.PlacesUtils |
1c3420 | 2e 63 6f 6e 74 61 69 6e 65 72 54 79 70 65 73 2e 69 6e 64 65 78 4f 66 28 63 75 72 43 68 69 6c 64 | .containerTypes.indexOf(curChild |
1c3440 | 54 79 70 65 29 20 21 3d 20 2d 31 29 20 7b 0a 20 20 20 20 20 20 20 20 61 73 43 6f 6e 74 61 69 6e | Type).!=.-1).{.........asContain |
1c3460 | 65 72 28 63 75 72 43 68 69 6c 64 29 3b 0a 0a 20 20 20 20 20 20 20 20 76 61 72 20 72 65 73 6f 75 | er(curChild);..........var.resou |
1c3480 | 72 63 65 20 3d 20 74 68 69 73 2e 5f 67 65 74 52 65 73 6f 75 72 63 65 46 6f 72 4e 6f 64 65 28 63 | rce.=.this._getResourceForNode(c |
1c34a0 | 75 72 43 68 69 6c 64 29 3b 0a 20 20 20 20 20 20 20 20 76 61 72 20 69 73 6f 70 65 6e 20 3d 20 72 | urChild);.........var.isopen.=.r |
1c34c0 | 65 73 6f 75 72 63 65 20 21 3d 20 6e 75 6c 6c 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | esource.!=.null.&&.............. |
1c34e0 | 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 6c 6f 63 61 6c 53 74 6f 72 65 | ........PlacesUIUtils.localStore |
1c3500 | 2e 48 61 73 41 73 73 65 72 74 69 6f 6e 28 72 65 73 6f 75 72 63 65 2c 20 6f 70 65 6e 4c 69 74 65 | .HasAssertion(resource,.openLite |
1c3520 | 72 61 6c 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ral,............................ |
1c3540 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
1c3560 | 74 72 75 65 4c 69 74 65 72 61 6c 2c 20 74 72 75 65 29 3b 0a 20 20 20 20 20 20 20 20 69 66 20 28 | trueLiteral,.true);.........if.( |
1c3580 | 69 73 6f 70 65 6e 20 21 3d 20 63 75 72 43 68 69 6c 64 2e 63 6f 6e 74 61 69 6e 65 72 4f 70 65 6e | isopen.!=.curChild.containerOpen |
1c35a0 | 29 0a 20 20 20 20 20 20 20 20 20 20 61 54 6f 4f 70 65 6e 2e 70 75 73 68 28 63 75 72 43 68 69 6c | )...........aToOpen.push(curChil |
1c35c0 | 64 29 3b 0a 20 20 20 20 20 20 20 20 65 6c 73 65 20 69 66 20 28 63 75 72 43 68 69 6c 64 2e 63 6f | d);.........else.if.(curChild.co |
1c35e0 | 6e 74 61 69 6e 65 72 4f 70 65 6e 20 26 26 20 63 75 72 43 68 69 6c 64 2e 63 68 69 6c 64 43 6f 75 | ntainerOpen.&&.curChild.childCou |
1c3600 | 6e 74 20 3e 20 30 29 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 62 75 69 6c 64 56 69 73 | nt.>.0)...........this._buildVis |
1c3620 | 69 62 6c 65 53 65 63 74 69 6f 6e 28 63 75 72 43 68 69 6c 64 2c 20 61 56 69 73 69 62 6c 65 2c 20 | ibleSection(curChild,.aVisible,. |
1c3640 | 61 54 6f 4f 70 65 6e 2c 20 61 56 69 73 69 62 6c 65 53 74 61 72 74 49 6e 64 65 78 29 3b 0a 20 20 | aToOpen,.aVisibleStartIndex);... |
1c3660 | 20 20 20 20 7d 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 54 68 69 | ....}.....}...},..../**....*.Thi |
1c3680 | 73 20 63 6f 75 6e 74 73 20 68 6f 77 20 6d 61 6e 79 20 72 6f 77 73 20 61 6e 20 69 74 65 6d 20 74 | s.counts.how.many.rows.an.item.t |
1c36a0 | 61 6b 65 73 20 69 6e 20 74 68 65 20 74 72 65 65 2c 20 74 68 61 74 20 69 73 2c 20 74 68 65 0a 20 | akes.in.the.tree,.that.is,.the.. |
1c36c0 | 20 20 2a 20 69 74 65 6d 20 69 74 73 65 6c 66 20 70 6c 75 73 20 61 6e 79 20 6e 6f 64 65 73 20 66 | ..*.item.itself.plus.any.nodes.f |
1c36e0 | 6f 6c 6c 6f 77 69 6e 67 20 69 74 20 77 69 74 68 20 61 6e 20 69 6e 63 72 65 61 73 65 64 20 69 6e | ollowing.it.with.an.increased.in |
1c3700 | 64 65 6e 74 2e 0a 20 20 20 2a 20 54 68 69 73 20 61 6c 6c 6f 77 73 20 79 6f 75 20 74 6f 20 66 69 | dent.....*.This.allows.you.to.fi |
1c3720 | 67 75 72 65 20 6f 75 74 20 68 6f 77 20 6d 61 6e 79 20 72 6f 77 73 20 61 6e 20 69 74 65 6d 20 28 | gure.out.how.many.rows.an.item.( |
1c3740 | 3d 31 29 20 6f 72 20 61 0a 20 20 20 2a 20 63 6f 6e 74 61 69 6e 65 72 20 77 69 74 68 20 61 6c 6c | =1).or.a....*.container.with.all |
1c3760 | 20 6f 66 20 69 74 73 20 63 68 69 6c 64 72 65 6e 20 74 61 6b 65 73 2e 0a 20 20 20 2a 2f 0a 20 20 | .of.its.children.takes.....*/... |
1c3780 | 5f 63 6f 75 6e 74 56 69 73 69 62 6c 65 52 6f 77 73 46 6f 72 49 74 65 6d 3a 20 66 75 6e 63 74 69 | _countVisibleRowsForItem:.functi |
1c37a0 | 6f 6e 20 50 54 56 5f 5f 63 6f 75 6e 74 56 69 73 69 62 6c 65 52 6f 77 73 46 6f 72 49 74 65 6d 28 | on.PTV__countVisibleRowsForItem( |
1c37c0 | 61 4e 6f 64 65 29 20 7b 0a 20 20 20 20 69 66 20 28 61 4e 6f 64 65 20 3d 3d 20 74 68 69 73 2e 5f | aNode).{.....if.(aNode.==.this._ |
1c37e0 | 72 65 73 75 6c 74 2e 72 6f 6f 74 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f | result.root).......return.this._ |
1c3800 | 76 69 73 69 62 6c 65 45 6c 65 6d 65 6e 74 73 2e 6c 65 6e 67 74 68 3b 0a 0a 20 20 20 20 76 61 72 | visibleElements.length;......var |
1c3820 | 20 76 69 65 77 49 6e 64 65 78 20 3d 20 61 4e 6f 64 65 2e 76 69 65 77 49 6e 64 65 78 3b 0a 20 20 | .viewIndex.=.aNode.viewIndex;... |
1c3840 | 20 20 4e 53 5f 41 53 53 45 52 54 28 76 69 65 77 49 6e 64 65 78 20 3e 3d 20 30 2c 20 22 49 74 65 | ..NS_ASSERT(viewIndex.>=.0,."Ite |
1c3860 | 6d 20 69 73 20 6e 6f 74 20 76 69 73 69 62 6c 65 2c 20 6e 6f 20 72 6f 77 73 20 74 6f 20 63 6f 75 | m.is.not.visible,.no.rows.to.cou |
1c3880 | 6e 74 22 29 3b 0a 20 20 20 20 76 61 72 20 6f 75 74 65 72 4c 65 76 65 6c 20 3d 20 61 4e 6f 64 65 | nt");.....var.outerLevel.=.aNode |
1c38a0 | 2e 69 6e 64 65 6e 74 4c 65 76 65 6c 3b 0a 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 76 | .indentLevel;.....for.(var.i.=.v |
1c38c0 | 69 65 77 49 6e 64 65 78 20 2b 20 31 3b 20 69 20 3c 20 74 68 69 73 2e 5f 76 69 73 69 62 6c 65 45 | iewIndex.+.1;.i.<.this._visibleE |
1c38e0 | 6c 65 6d 65 6e 74 73 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 20 7b 0a 20 20 20 20 20 20 69 66 20 | lements.length;.i++).{.......if. |
1c3900 | 28 74 68 69 73 2e 5f 76 69 73 69 62 6c 65 45 6c 65 6d 65 6e 74 73 5b 69 5d 2e 6e 6f 64 65 2e 69 | (this._visibleElements[i].node.i |
1c3920 | 6e 64 65 6e 74 4c 65 76 65 6c 20 3c 3d 20 6f 75 74 65 72 4c 65 76 65 6c 29 0a 20 20 20 20 20 20 | ndentLevel.<=.outerLevel)....... |
1c3940 | 20 20 72 65 74 75 72 6e 20 69 20 2d 20 76 69 65 77 49 6e 64 65 78 3b 0a 20 20 20 20 7d 0a 20 20 | ..return.i.-.viewIndex;.....}... |
1c3960 | 20 20 2f 2f 20 74 68 69 73 20 6e 6f 64 65 20 70 6c 75 73 20 69 74 73 20 63 68 69 6c 64 72 65 6e | ..//.this.node.plus.its.children |
1c3980 | 20 6f 63 63 75 70 79 20 74 68 65 20 62 6f 74 74 6f 6d 20 6f 66 20 74 68 65 20 6c 69 73 74 0a 20 | .occupy.the.bottom.of.the.list.. |
1c39a0 | 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 76 69 73 69 62 6c 65 45 6c 65 6d 65 6e 74 73 2e | ...return.this._visibleElements. |
1c39c0 | 6c 65 6e 67 74 68 20 2d 20 76 69 65 77 49 6e 64 65 78 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a | length.-.viewIndex;...},..../**. |
1c39e0 | 20 20 20 2a 20 54 68 69 73 20 69 73 20 63 61 6c 6c 65 64 20 62 79 20 63 6f 6e 74 61 69 6e 65 72 | ...*.This.is.called.by.container |
1c3a00 | 73 20 77 68 65 6e 20 74 68 65 79 20 63 68 61 6e 67 65 20 61 6e 64 20 77 65 20 6e 65 65 64 20 74 | s.when.they.change.and.we.need.t |
1c3a20 | 6f 20 75 70 64 61 74 65 0a 20 20 20 2a 20 65 76 65 72 79 74 68 69 6e 67 20 61 62 6f 75 74 20 74 | o.update....*.everything.about.t |
1c3a40 | 68 65 20 63 6f 6e 74 61 69 6e 65 72 2e 20 57 65 20 62 75 69 6c 64 20 61 20 6e 65 77 20 76 69 73 | he.container..We.build.a.new.vis |
1c3a60 | 69 62 6c 65 20 73 65 63 74 69 6f 6e 20 77 69 74 68 0a 20 20 20 2a 20 74 68 65 20 63 6f 6e 74 61 | ible.section.with....*.the.conta |
1c3a80 | 69 6e 65 72 20 61 73 20 61 20 73 65 70 61 72 61 74 65 20 6f 62 6a 65 63 74 20 73 6f 20 77 65 20 | iner.as.a.separate.object.so.we. |
1c3aa0 | 66 69 72 73 74 20 6b 6e 6f 77 20 68 6f 77 20 74 68 65 20 6c 69 73 74 0a 20 20 20 2a 20 63 68 61 | first.know.how.the.list....*.cha |
1c3ac0 | 6e 67 65 73 2e 20 54 68 69 73 20 77 61 79 20 77 65 20 6f 6e 6c 79 20 68 61 76 65 20 74 6f 20 64 | nges..This.way.we.only.have.to.d |
1c3ae0 | 6f 20 6f 6e 65 20 72 65 61 6c 6c 6f 63 2f 6d 65 6d 63 70 79 20 74 6f 20 75 70 64 61 74 65 0a 20 | o.one.realloc/memcpy.to.update.. |
1c3b00 | 20 20 2a 20 74 68 65 20 6c 69 73 74 2e 0a 20 20 20 2a 0a 20 20 20 2a 20 57 65 20 61 6c 73 6f 20 | ..*.the.list.....*....*.We.also. |
1c3b20 | 74 72 79 20 74 6f 20 62 65 20 73 6d 61 72 74 20 68 65 72 65 20 61 62 6f 75 74 20 72 65 64 72 61 | try.to.be.smart.here.about.redra |
1c3b40 | 77 69 6e 67 20 74 68 65 20 73 63 72 65 65 6e 2e 0a 20 20 20 2a 2f 0a 20 20 5f 72 65 66 72 65 73 | wing.the.screen.....*/..._refres |
1c3b60 | 68 56 69 73 69 62 6c 65 53 65 63 74 69 6f 6e 3a 20 66 75 6e 63 74 69 6f 6e 20 50 54 56 5f 5f 72 | hVisibleSection:.function.PTV__r |
1c3b80 | 65 66 72 65 73 68 56 69 73 69 62 6c 65 53 65 63 74 69 6f 6e 28 61 43 6f 6e 74 61 69 6e 65 72 29 | efreshVisibleSection(aContainer) |
1c3ba0 | 20 7b 0a 20 20 20 20 4e 53 5f 41 53 53 45 52 54 28 74 68 69 73 2e 5f 72 65 73 75 6c 74 2c 20 22 | .{.....NS_ASSERT(this._result,." |
1c3bc0 | 4e 65 65 64 20 74 6f 20 68 61 76 65 20 61 20 72 65 73 75 6c 74 20 74 6f 20 75 70 64 61 74 65 22 | Need.to.have.a.result.to.update" |
1c3be0 | 29 3b 0a 20 20 20 20 69 66 20 28 21 74 68 69 73 2e 5f 74 72 65 65 29 0a 20 20 20 20 20 20 72 65 | );.....if.(!this._tree).......re |
1c3c00 | 74 75 72 6e 3b 0a 0a 20 20 20 20 2f 2f 20 54 68 65 20 72 6f 6f 74 20 6e 6f 64 65 20 69 73 20 69 | turn;......//.The.root.node.is.i |
1c3c20 | 6e 76 69 73 69 62 6c 65 20 69 66 20 73 68 6f 77 52 6f 6f 74 20 69 73 20 6e 6f 74 20 73 65 74 2e | nvisible.if.showRoot.is.not.set. |
1c3c40 | 20 4f 74 68 65 72 77 69 73 65 20 61 43 6f 6e 74 61 69 6e 65 72 0a 20 20 20 20 2f 2f 20 6d 75 73 | .Otherwise.aContainer.....//.mus |
1c3c60 | 74 20 62 65 20 76 69 73 69 62 6c 65 0a 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 73 68 6f 77 52 | t.be.visible.....if.(this._showR |
1c3c80 | 6f 6f 74 20 7c 7c 20 61 43 6f 6e 74 61 69 6e 65 72 20 21 3d 20 74 68 69 73 2e 5f 72 65 73 75 6c | oot.||.aContainer.!=.this._resul |
1c3ca0 | 74 2e 72 6f 6f 74 29 20 7b 0a 20 20 20 20 20 20 69 66 20 28 61 43 6f 6e 74 61 69 6e 65 72 2e 76 | t.root).{.......if.(aContainer.v |
1c3cc0 | 69 65 77 49 6e 64 65 78 20 3c 20 30 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 61 43 6f 6e 74 61 | iewIndex.<.0.||...........aConta |
1c3ce0 | 69 6e 65 72 2e 76 69 65 77 49 6e 64 65 78 20 3e 20 74 68 69 73 2e 5f 76 69 73 69 62 6c 65 45 6c | iner.viewIndex.>.this._visibleEl |
1c3d00 | 65 6d 65 6e 74 73 2e 6c 65 6e 67 74 68 29 0a 20 20 20 20 20 20 20 20 74 68 72 6f 77 20 22 54 72 | ements.length).........throw."Tr |
1c3d20 | 79 69 6e 67 20 74 6f 20 65 78 70 61 6e 64 20 61 20 6e 6f 64 65 20 74 68 61 74 20 69 73 20 6e 6f | ying.to.expand.a.node.that.is.no |
1c3d40 | 74 20 76 69 73 69 62 6c 65 22 3b 0a 0a 20 20 20 20 20 20 4e 53 5f 41 53 53 45 52 54 28 74 68 69 | t.visible";........NS_ASSERT(thi |
1c3d60 | 73 2e 5f 76 69 73 69 62 6c 65 45 6c 65 6d 65 6e 74 73 5b 61 43 6f 6e 74 61 69 6e 65 72 2e 76 69 | s._visibleElements[aContainer.vi |
1c3d80 | 65 77 49 6e 64 65 78 5d 2e 6e 6f 64 65 20 3d 3d 20 61 43 6f 6e 74 61 69 6e 65 72 2c 0a 20 20 20 | ewIndex].node.==.aContainer,.... |
1c3da0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 22 56 69 73 69 62 6c 65 20 69 6e 64 65 78 20 69 73 20 6f | ............."Visible.index.is.o |
1c3dc0 | 75 74 20 6f 66 20 73 79 6e 63 21 22 29 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 76 61 72 20 73 74 | ut.of.sync!");.....}......var.st |
1c3de0 | 61 72 74 52 65 70 6c 61 63 65 6d 65 6e 74 20 3d 20 61 43 6f 6e 74 61 69 6e 65 72 2e 76 69 65 77 | artReplacement.=.aContainer.view |
1c3e00 | 49 6e 64 65 78 20 2b 20 31 3b 0a 20 20 20 20 76 61 72 20 72 65 70 6c 61 63 65 43 6f 75 6e 74 20 | Index.+.1;.....var.replaceCount. |
1c3e20 | 3d 20 74 68 69 73 2e 5f 63 6f 75 6e 74 56 69 73 69 62 6c 65 52 6f 77 73 46 6f 72 49 74 65 6d 28 | =.this._countVisibleRowsForItem( |
1c3e40 | 61 43 6f 6e 74 61 69 6e 65 72 29 3b 0a 0a 20 20 20 20 2f 2f 20 57 65 20 64 6f 6e 27 74 20 72 65 | aContainer);......//.We.don't.re |
1c3e60 | 70 6c 61 63 65 20 74 68 65 20 63 6f 6e 74 61 69 6e 65 72 20 69 74 65 6d 20 69 74 73 65 6c 66 20 | place.the.container.item.itself. |
1c3e80 | 73 6f 20 77 65 20 64 65 63 72 65 61 73 65 20 74 68 65 0a 20 20 20 20 2f 2f 20 72 65 70 6c 61 63 | so.we.decrease.the.....//.replac |
1c3ea0 | 65 43 6f 75 6e 74 20 62 79 20 31 2e 20 57 65 20 64 6f 6e 27 74 20 64 6f 20 73 6f 20 74 68 6f 75 | eCount.by.1..We.don't.do.so.thou |
1c3ec0 | 67 68 20 69 66 20 74 68 65 72 65 20 69 73 20 6e 6f 20 76 69 73 69 62 6c 65 20 69 74 65 6d 0a 20 | gh.if.there.is.no.visible.item.. |
1c3ee0 | 20 20 20 2f 2f 20 66 6f 72 20 74 68 65 20 63 6f 6e 74 61 69 6e 65 72 2e 20 54 68 69 73 20 68 61 | ...//.for.the.container..This.ha |
1c3f00 | 70 70 65 6e 73 20 77 68 65 6e 20 61 43 6f 6e 74 61 69 6e 65 72 20 69 73 20 74 68 65 20 72 6f 6f | ppens.when.aContainer.is.the.roo |
1c3f20 | 74 20 6e 6f 64 65 20 61 6e 64 0a 20 20 20 20 2f 2f 20 73 68 6f 77 52 6f 6f 74 20 69 73 20 6e 6f | t.node.and.....//.showRoot.is.no |
1c3f40 | 74 20 73 65 74 2e 0a 20 20 20 20 69 66 20 28 61 43 6f 6e 74 61 69 6e 65 72 2e 76 69 65 77 49 6e | t.set......if.(aContainer.viewIn |
1c3f60 | 64 65 78 20 21 3d 20 2d 31 29 0a 20 20 20 20 20 20 72 65 70 6c 61 63 65 43 6f 75 6e 74 2d 3d 31 | dex.!=.-1).......replaceCount-=1 |
1c3f80 | 3b 0a 0a 20 20 20 20 2f 2f 20 50 65 72 73 69 73 74 20 73 65 6c 65 63 74 69 6f 6e 20 73 74 61 74 | ;......//.Persist.selection.stat |
1c3fa0 | 65 0a 20 20 20 20 76 61 72 20 70 72 65 76 69 6f 75 73 6c 79 53 65 6c 65 63 74 65 64 4e 6f 64 65 | e.....var.previouslySelectedNode |
1c3fc0 | 73 20 3d 20 5b 5d 3b 0a 20 20 20 20 76 61 72 20 73 65 6c 65 63 74 69 6f 6e 20 3d 20 74 68 69 73 | s.=.[];.....var.selection.=.this |
1c3fe0 | 2e 73 65 6c 65 63 74 69 6f 6e 3b 0a 20 20 20 20 76 61 72 20 72 63 20 3d 20 73 65 6c 65 63 74 69 | .selection;.....var.rc.=.selecti |
1c4000 | 6f 6e 2e 67 65 74 52 61 6e 67 65 43 6f 75 6e 74 28 29 3b 0a 20 20 20 20 66 6f 72 20 28 76 61 72 | on.getRangeCount();.....for.(var |
1c4020 | 20 72 61 6e 67 65 49 6e 64 65 78 20 3d 20 30 3b 20 72 61 6e 67 65 49 6e 64 65 78 20 3c 20 72 63 | .rangeIndex.=.0;.rangeIndex.<.rc |
1c4040 | 3b 20 72 61 6e 67 65 49 6e 64 65 78 2b 2b 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 6d 69 6e 20 | ;.rangeIndex++).{.......var.min. |
1c4060 | 3d 20 7b 20 7d 2c 20 6d 61 78 20 3d 20 7b 20 7d 3b 0a 20 20 20 20 20 20 73 65 6c 65 63 74 69 6f | =.{.},.max.=.{.};.......selectio |
1c4080 | 6e 2e 67 65 74 52 61 6e 67 65 41 74 28 72 61 6e 67 65 49 6e 64 65 78 2c 20 6d 69 6e 2c 20 6d 61 | n.getRangeAt(rangeIndex,.min,.ma |
1c40a0 | 78 29 3b 0a 20 20 20 20 20 20 76 61 72 20 6c 61 73 74 49 6e 64 65 78 20 3d 20 4d 61 74 68 2e 6d | x);.......var.lastIndex.=.Math.m |
1c40c0 | 69 6e 28 6d 61 78 2e 76 61 6c 75 65 2c 20 73 74 61 72 74 52 65 70 6c 61 63 65 6d 65 6e 74 20 2b | in(max.value,.startReplacement.+ |
1c40e0 | 20 72 65 70 6c 61 63 65 43 6f 75 6e 74 20 2d 31 29 3b 0a 20 20 20 20 20 20 2f 2f 20 69 66 20 74 | .replaceCount.-1);.......//.if.t |
1c4100 | 68 69 73 20 72 61 6e 67 65 20 64 6f 65 73 20 6e 6f 74 20 6f 76 65 72 6c 61 70 20 74 68 65 20 72 | his.range.does.not.overlap.the.r |
1c4120 | 65 70 6c 61 63 65 64 20 63 68 75 6e 6b 20 77 65 20 64 6f 6e 27 74 20 6e 65 65 64 20 74 6f 0a 20 | eplaced.chunk.we.don't.need.to.. |
1c4140 | 20 20 20 20 20 2f 2f 20 70 65 72 73 69 73 74 20 74 68 65 20 73 65 6c 65 63 74 69 6f 6e 2e 0a 20 | .....//.persist.the.selection... |
1c4160 | 20 20 20 20 20 69 66 20 28 6d 61 78 2e 76 61 6c 75 65 20 3c 20 73 74 61 72 74 52 65 70 6c 61 63 | .....if.(max.value.<.startReplac |
1c4180 | 65 6d 65 6e 74 20 7c 7c 20 6d 69 6e 2e 76 61 6c 75 65 20 3e 20 6c 61 73 74 49 6e 64 65 78 29 0a | ement.||.min.value.>.lastIndex). |
1c41a0 | 20 20 20 20 20 20 20 20 63 6f 6e 74 69 6e 75 65 3b 0a 20 20 20 20 20 20 2f 2f 20 69 66 20 74 68 | ........continue;.......//.if.th |
1c41c0 | 69 73 20 72 61 6e 67 65 20 73 74 61 72 74 73 20 62 65 66 6f 72 65 20 74 68 65 20 72 65 70 6c 61 | is.range.starts.before.the.repla |
1c41e0 | 63 65 64 20 63 68 75 6e 6b 20 77 65 20 73 68 6f 75 6c 64 20 70 65 72 73 69 73 74 20 66 72 6f 6d | ced.chunk.we.should.persist.from |
1c4200 | 0a 20 20 20 20 20 20 2f 2f 20 73 74 61 72 74 52 65 70 6c 61 63 65 6d 65 6e 74 20 74 6f 20 6c 61 | .......//.startReplacement.to.la |
1c4220 | 73 74 49 6e 64 65 78 0a 20 20 20 20 20 20 76 61 72 20 66 69 72 73 74 49 6e 64 65 78 20 3d 20 4d | stIndex.......var.firstIndex.=.M |
1c4240 | 61 74 68 2e 6d 61 78 28 6d 69 6e 2e 76 61 6c 75 65 2c 20 73 74 61 72 74 52 65 70 6c 61 63 65 6d | ath.max(min.value,.startReplacem |
1c4260 | 65 6e 74 29 3b 0a 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 6e 6f 64 65 49 6e 64 65 78 20 3d | ent);.......for.(var.nodeIndex.= |
1c4280 | 20 66 69 72 73 74 49 6e 64 65 78 3b 20 6e 6f 64 65 49 6e 64 65 78 20 3c 3d 20 6c 61 73 74 49 6e | .firstIndex;.nodeIndex.<=.lastIn |
1c42a0 | 64 65 78 3b 20 6e 6f 64 65 49 6e 64 65 78 2b 2b 29 0a 20 20 20 20 20 20 20 20 70 72 65 76 69 6f | dex;.nodeIndex++).........previo |
1c42c0 | 75 73 6c 79 53 65 6c 65 63 74 65 64 4e 6f 64 65 73 2e 70 75 73 68 28 0a 20 20 20 20 20 20 20 20 | uslySelectedNodes.push(......... |
1c42e0 | 20 20 7b 20 6e 6f 64 65 3a 20 74 68 69 73 2e 5f 76 69 73 69 62 6c 65 45 6c 65 6d 65 6e 74 73 5b | ..{.node:.this._visibleElements[ |
1c4300 | 6e 6f 64 65 49 6e 64 65 78 5d 2e 6e 6f 64 65 2c 20 6f 6c 64 49 6e 64 65 78 3a 20 6e 6f 64 65 49 | nodeIndex].node,.oldIndex:.nodeI |
1c4320 | 6e 64 65 78 20 7d 29 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 2f 2f 20 4d 61 72 6b 20 74 68 65 20 | ndex.});.....}......//.Mark.the. |
1c4340 | 72 65 6d 6f 76 65 73 20 61 73 20 69 6e 76 69 73 69 62 6c 65 0a 20 20 20 20 66 6f 72 20 28 76 61 | removes.as.invisible.....for.(va |
1c4360 | 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 72 65 70 6c 61 63 65 43 6f 75 6e 74 3b 20 69 2b 2b 29 0a | r.i.=.0;.i.<.replaceCount;.i++). |
1c4380 | 20 20 20 20 20 20 74 68 69 73 2e 5f 76 69 73 69 62 6c 65 45 6c 65 6d 65 6e 74 73 5b 73 74 61 72 | ......this._visibleElements[star |
1c43a0 | 74 52 65 70 6c 61 63 65 6d 65 6e 74 20 2b 20 69 5d 2e 6e 6f 64 65 2e 76 69 65 77 49 6e 64 65 78 | tReplacement.+.i].node.viewIndex |
1c43c0 | 20 3d 20 2d 31 3b 0a 0a 20 20 20 20 2f 2f 20 42 75 69 6c 64 69 6e 67 20 74 68 65 20 6e 65 77 20 | .=.-1;......//.Building.the.new. |
1c43e0 | 6c 69 73 74 20 77 69 6c 6c 20 73 65 74 20 74 68 65 20 6e 65 77 20 65 6c 65 6d 65 6e 74 73 27 20 | list.will.set.the.new.elements'. |
1c4400 | 76 69 73 69 62 6c 65 20 69 6e 64 69 63 65 73 2e 0a 20 20 20 20 76 61 72 20 6e 65 77 45 6c 65 6d | visible.indices......var.newElem |
1c4420 | 65 6e 74 73 20 3d 20 5b 5d 3b 0a 20 20 20 20 76 61 72 20 74 6f 4f 70 65 6e 45 6c 65 6d 65 6e 74 | ents.=.[];.....var.toOpenElement |
1c4440 | 73 20 3d 20 5b 5d 3b 0a 20 20 20 20 74 68 69 73 2e 5f 62 75 69 6c 64 56 69 73 69 62 6c 65 53 65 | s.=.[];.....this._buildVisibleSe |
1c4460 | 63 74 69 6f 6e 28 61 43 6f 6e 74 61 69 6e 65 72 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ction(aContainer,............... |
1c4480 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 65 77 45 6c 65 6d 65 6e 74 73 2c 20 74 6f 4f | ................newElements,.toO |
1c44a0 | 70 65 6e 45 6c 65 6d 65 6e 74 73 2c 20 73 74 61 72 74 52 65 70 6c 61 63 65 6d 65 6e 74 29 3b 0a | penElements,.startReplacement);. |
1c44c0 | 0a 20 20 20 20 2f 2f 20 61 63 74 75 61 6c 6c 79 20 75 70 64 61 74 65 20 74 68 65 20 76 69 73 69 | .....//.actually.update.the.visi |
1c44e0 | 62 6c 65 20 6c 69 73 74 0a 20 20 20 20 74 68 69 73 2e 5f 76 69 73 69 62 6c 65 45 6c 65 6d 65 6e | ble.list.....this._visibleElemen |
1c4500 | 74 73 20 3d 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 76 69 73 69 62 6c 65 45 6c 65 6d 65 6e 74 73 | ts.=.......this._visibleElements |
1c4520 | 2e 73 6c 69 63 65 28 30 2c 20 73 74 61 72 74 52 65 70 6c 61 63 65 6d 65 6e 74 29 2e 63 6f 6e 63 | .slice(0,.startReplacement).conc |
1c4540 | 61 74 28 6e 65 77 45 6c 65 6d 65 6e 74 73 29 0a 20 20 20 20 20 20 20 20 20 20 2e 63 6f 6e 63 61 | at(newElements)............conca |
1c4560 | 74 28 74 68 69 73 2e 5f 76 69 73 69 62 6c 65 45 6c 65 6d 65 6e 74 73 2e 73 6c 69 63 65 28 73 74 | t(this._visibleElements.slice(st |
1c4580 | 61 72 74 52 65 70 6c 61 63 65 6d 65 6e 74 20 2b 20 72 65 70 6c 61 63 65 43 6f 75 6e 74 2c 0a 20 | artReplacement.+.replaceCount,.. |
1c45a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
1c45c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 76 69 73 69 62 6c 65 45 6c 65 6d 65 6e | .............this._visibleElemen |
1c45e0 | 74 73 2e 6c 65 6e 67 74 68 29 29 3b 0a 0a 20 20 20 20 2f 2f 20 49 66 20 74 68 65 20 6e 65 77 20 | ts.length));......//.If.the.new. |
1c4600 | 61 72 65 61 20 68 61 73 20 61 20 64 69 66 66 65 72 65 6e 74 20 73 69 7a 65 2c 20 77 65 27 6c 6c | area.has.a.different.size,.we'll |
1c4620 | 20 68 61 76 65 20 74 6f 20 72 65 6e 75 6d 62 65 72 20 74 68 65 0a 20 20 20 20 2f 2f 20 65 6c 65 | .have.to.renumber.the.....//.ele |
1c4640 | 6d 65 6e 74 73 20 66 6f 6c 6c 6f 77 69 6e 67 20 74 68 65 20 61 72 65 61 2e 0a 20 20 20 20 69 66 | ments.following.the.area......if |
1c4660 | 20 28 72 65 70 6c 61 63 65 43 6f 75 6e 74 20 21 3d 20 6e 65 77 45 6c 65 6d 65 6e 74 73 2e 6c 65 | .(replaceCount.!=.newElements.le |
1c4680 | 6e 67 74 68 29 20 7b 0a 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 73 74 61 72 74 | ngth).{.......for.(var.i.=.start |
1c46a0 | 52 65 70 6c 61 63 65 6d 65 6e 74 20 2b 20 6e 65 77 45 6c 65 6d 65 6e 74 73 2e 6c 65 6e 67 74 68 | Replacement.+.newElements.length |
1c46c0 | 3b 0a 20 20 20 20 20 20 20 20 20 20 20 69 20 3c 20 74 68 69 73 2e 5f 76 69 73 69 62 6c 65 45 6c | ;............i.<.this._visibleEl |
1c46e0 | 65 6d 65 6e 74 73 2e 6c 65 6e 67 74 68 3b 20 69 20 2b 2b 29 20 7b 0a 20 20 20 20 20 20 20 20 74 | ements.length;.i.++).{.........t |
1c4700 | 68 69 73 2e 5f 76 69 73 69 62 6c 65 45 6c 65 6d 65 6e 74 73 5b 69 5d 2e 6e 6f 64 65 2e 76 69 65 | his._visibleElements[i].node.vie |
1c4720 | 77 49 6e 64 65 78 20 3d 20 69 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 0a 20 20 20 20 2f | wIndex.=.i;.......}.....}....../ |
1c4740 | 2f 20 6e 6f 77 20 75 70 64 61 74 65 20 74 68 65 20 6e 75 6d 62 65 72 20 6f 66 20 65 6c 65 6d 65 | /.now.update.the.number.of.eleme |
1c4760 | 6e 74 73 0a 20 20 20 20 73 65 6c 65 63 74 69 6f 6e 2e 73 65 6c 65 63 74 45 76 65 6e 74 73 53 75 | nts.....selection.selectEventsSu |
1c4780 | 70 70 72 65 73 73 65 64 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 74 68 69 73 2e 5f 74 72 65 65 2e | ppressed.=.true;.....this._tree. |
1c47a0 | 62 65 67 69 6e 55 70 64 61 74 65 42 61 74 63 68 28 29 3b 0a 0a 20 20 20 20 69 66 20 28 72 65 70 | beginUpdateBatch();......if.(rep |
1c47c0 | 6c 61 63 65 43 6f 75 6e 74 29 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 74 72 65 65 2e 72 6f 77 43 | laceCount).......this._tree.rowC |
1c47e0 | 6f 75 6e 74 43 68 61 6e 67 65 64 28 73 74 61 72 74 52 65 70 6c 61 63 65 6d 65 6e 74 2c 20 2d 72 | ountChanged(startReplacement,.-r |
1c4800 | 65 70 6c 61 63 65 43 6f 75 6e 74 29 3b 0a 20 20 20 20 69 66 20 28 6e 65 77 45 6c 65 6d 65 6e 74 | eplaceCount);.....if.(newElement |
1c4820 | 73 2e 6c 65 6e 67 74 68 29 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 74 72 65 65 2e 72 6f 77 43 6f | s.length).......this._tree.rowCo |
1c4840 | 75 6e 74 43 68 61 6e 67 65 64 28 73 74 61 72 74 52 65 70 6c 61 63 65 6d 65 6e 74 2c 20 6e 65 77 | untChanged(startReplacement,.new |
1c4860 | 45 6c 65 6d 65 6e 74 73 2e 6c 65 6e 67 74 68 29 3b 0a 0a 20 20 20 20 69 66 20 28 21 74 68 69 73 | Elements.length);......if.(!this |
1c4880 | 2e 5f 66 6c 61 74 4c 69 73 74 29 20 7b 0a 20 20 20 20 20 20 2f 2f 20 6e 6f 77 2c 20 6f 70 65 6e | ._flatList).{.......//.now,.open |
1c48a0 | 20 61 6e 79 20 63 6f 6e 74 61 69 6e 65 72 73 20 74 68 61 74 20 77 65 72 65 20 70 65 72 73 69 73 | .any.containers.that.were.persis |
1c48c0 | 74 65 64 0a 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 74 6f | ted.......for.(var.i.=.0;.i.<.to |
1c48e0 | 4f 70 65 6e 45 6c 65 6d 65 6e 74 73 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 20 7b 0a 20 20 20 20 | OpenElements.length;.i++).{..... |
1c4900 | 20 20 20 20 76 61 72 20 69 74 65 6d 20 3d 20 74 6f 4f 70 65 6e 45 6c 65 6d 65 6e 74 73 5b 69 5d | ....var.item.=.toOpenElements[i] |
1c4920 | 3b 0a 20 20 20 20 20 20 20 20 76 61 72 20 70 61 72 65 6e 74 20 3d 20 69 74 65 6d 2e 70 61 72 65 | ;.........var.parent.=.item.pare |
1c4940 | 6e 74 3b 0a 20 20 20 20 20 20 20 20 2f 2f 20 61 76 6f 69 64 20 72 65 63 75 72 73 69 76 65 6c 79 | nt;.........//.avoid.recursively |
1c4960 | 20 6f 70 65 6e 69 6e 67 20 63 6f 6e 74 61 69 6e 65 72 73 0a 20 20 20 20 20 20 20 20 77 68 69 6c | .opening.containers.........whil |
1c4980 | 65 20 28 70 61 72 65 6e 74 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 70 61 72 65 6e | e.(parent).{...........if.(paren |
1c49a0 | 74 2e 75 72 69 20 3d 3d 20 69 74 65 6d 2e 75 72 69 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 62 | t.uri.==.item.uri).............b |
1c49c0 | 72 65 61 6b 3b 0a 20 20 20 20 20 20 20 20 20 20 70 61 72 65 6e 74 20 3d 20 70 61 72 65 6e 74 2e | reak;...........parent.=.parent. |
1c49e0 | 70 61 72 65 6e 74 3b 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 2f 2f 20 69 66 20 | parent;.........}.........//.if. |
1c4a00 | 77 65 20 64 6f 6e 27 74 20 68 61 76 65 20 61 20 70 61 72 65 6e 74 2c 20 77 65 20 6d 61 64 65 20 | we.don't.have.a.parent,.we.made. |
1c4a20 | 69 74 20 61 6c 6c 20 74 68 65 20 77 61 79 20 74 6f 20 74 68 65 20 72 6f 6f 74 0a 20 20 20 20 20 | it.all.the.way.to.the.root...... |
1c4a40 | 20 20 20 2f 2f 20 61 6e 64 20 64 69 64 6e 27 74 20 66 69 6e 64 20 61 20 6d 61 74 63 68 2c 20 73 | ...//.and.didn't.find.a.match,.s |
1c4a60 | 6f 20 77 65 20 63 61 6e 20 6f 70 65 6e 20 6f 75 72 20 69 74 65 6d 0a 20 20 20 20 20 20 20 20 69 | o.we.can.open.our.item.........i |
1c4a80 | 66 20 28 21 70 61 72 65 6e 74 20 26 26 20 21 69 74 65 6d 2e 63 6f 6e 74 61 69 6e 65 72 4f 70 65 | f.(!parent.&&.!item.containerOpe |
1c4aa0 | 6e 29 0a 20 20 20 20 20 20 20 20 20 20 69 74 65 6d 2e 63 6f 6e 74 61 69 6e 65 72 4f 70 65 6e 20 | n)...........item.containerOpen. |
1c4ac0 | 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 0a 20 20 20 20 74 68 69 73 2e | =.true;.......}.....}......this. |
1c4ae0 | 5f 74 72 65 65 2e 65 6e 64 55 70 64 61 74 65 42 61 74 63 68 28 29 3b 0a 0a 20 20 20 20 2f 2f 20 | _tree.endUpdateBatch();......//. |
1c4b00 | 72 65 73 74 6f 72 65 20 73 65 6c 65 63 74 69 6f 6e 0a 20 20 20 20 69 66 20 28 70 72 65 76 69 6f | restore.selection.....if.(previo |
1c4b20 | 75 73 6c 79 53 65 6c 65 63 74 65 64 4e 6f 64 65 73 2e 6c 65 6e 67 74 68 20 3e 20 30 29 20 7b 0a | uslySelectedNodes.length.>.0).{. |
1c4b40 | 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 70 72 65 76 69 6f | ......for.(var.i.=.0;.i.<.previo |
1c4b60 | 75 73 6c 79 53 65 6c 65 63 74 65 64 4e 6f 64 65 73 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 20 7b | uslySelectedNodes.length;.i++).{ |
1c4b80 | 0a 20 20 20 20 20 20 20 20 76 61 72 20 6e 6f 64 65 49 6e 66 6f 20 3d 20 70 72 65 76 69 6f 75 73 | .........var.nodeInfo.=.previous |
1c4ba0 | 6c 79 53 65 6c 65 63 74 65 64 4e 6f 64 65 73 5b 69 5d 3b 0a 20 20 20 20 20 20 20 20 76 61 72 20 | lySelectedNodes[i];.........var. |
1c4bc0 | 69 6e 64 65 78 20 3d 20 6e 6f 64 65 49 6e 66 6f 2e 6e 6f 64 65 2e 76 69 65 77 49 6e 64 65 78 3b | index.=.nodeInfo.node.viewIndex; |
1c4be0 | 0a 0a 20 20 20 20 20 20 20 20 2f 2f 20 69 66 20 74 68 65 20 73 61 6d 65 20 6e 6f 64 65 20 77 61 | ..........//.if.the.same.node.wa |
1c4c00 | 73 20 75 73 65 64 20 28 68 61 70 70 65 6e 73 20 6f 6e 20 73 6f 72 74 69 6e 67 2d 63 68 61 6e 67 | s.used.(happens.on.sorting-chang |
1c4c20 | 65 73 29 2c 0a 20 20 20 20 20 20 20 20 2f 2f 20 6a 75 73 74 20 75 73 65 20 76 69 65 77 49 6e 64 | es),.........//.just.use.viewInd |
1c4c40 | 65 78 0a 20 20 20 20 20 20 20 20 69 66 20 28 69 6e 64 65 78 20 3d 3d 20 2d 31 29 20 7b 20 2f 2f | ex.........if.(index.==.-1).{.// |
1c4c60 | 20 6f 74 68 65 72 77 69 73 65 2c 20 74 72 79 20 74 6f 20 66 69 6e 64 20 61 6e 20 65 71 75 61 6c | .otherwise,.try.to.find.an.equal |
1c4c80 | 20 6e 6f 64 65 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 69 74 65 6d 49 64 20 3d 20 50 6c 61 | .node...........var.itemId.=.Pla |
1c4ca0 | 63 65 73 55 74 69 6c 73 2e 67 65 74 43 6f 6e 63 72 65 74 65 49 74 65 6d 49 64 28 6e 6f 64 65 49 | cesUtils.getConcreteItemId(nodeI |
1c4cc0 | 6e 66 6f 2e 6e 6f 64 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 69 74 65 6d 49 64 20 | nfo.node);...........if.(itemId. |
1c4ce0 | 21 3d 20 31 29 20 7b 20 2f 2f 20 62 6f 6f 6b 6d 61 72 6b 2d 6e 6f 64 65 73 20 69 6e 20 71 75 65 | !=.1).{.//.bookmark-nodes.in.que |
1c4d00 | 72 69 65 73 20 63 61 73 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 6a | ries.case.............for.(var.j |
1c4d20 | 20 3d 20 30 3b 20 6a 20 3c 20 6e 65 77 45 6c 65 6d 65 6e 74 73 2e 6c 65 6e 67 74 68 20 26 26 20 | .=.0;.j.<.newElements.length.&&. |
1c4d40 | 69 6e 64 65 78 20 3d 3d 20 2d 31 3b 20 6a 2b 2b 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 | index.==.-1;.j++).{............. |
1c4d60 | 20 20 69 66 20 28 50 6c 61 63 65 73 55 74 69 6c 73 2e 67 65 74 43 6f 6e 63 72 65 74 65 49 74 65 | ..if.(PlacesUtils.getConcreteIte |
1c4d80 | 6d 49 64 28 6e 65 77 45 6c 65 6d 65 6e 74 73 5b 6a 5d 29 20 3d 3d 20 69 74 65 6d 49 64 29 0a 20 | mId(newElements[j]).==.itemId).. |
1c4da0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 64 65 78 20 3d 20 6e 65 77 45 6c 65 6d 65 6e | ...............index.=.newElemen |
1c4dc0 | 74 73 5b 6a 5d 2e 76 69 65 77 49 6e 64 65 78 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 | ts[j].viewIndex;.............}.. |
1c4de0 | 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 20 7b 20 2f 2f 20 68 | .........}...........else.{.//.h |
1c4e00 | 69 73 74 6f 72 79 20 6e 6f 64 65 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 75 72 69 | istory.nodes.............var.uri |
1c4e20 | 20 3d 20 6e 6f 64 65 49 6e 66 6f 2e 6e 6f 64 65 2e 75 72 69 3b 0a 20 20 20 20 20 20 20 20 20 20 | .=.nodeInfo.node.uri;........... |
1c4e40 | 20 20 69 66 20 28 75 72 69 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 6f 72 20 28 | ..if.(uri).{...............for.( |
1c4e60 | 76 61 72 20 6a 20 3d 20 30 3b 20 6a 20 3c 20 6e 65 77 45 6c 65 6d 65 6e 74 73 2e 6c 65 6e 67 74 | var.j.=.0;.j.<.newElements.lengt |
1c4e80 | 68 20 26 26 20 69 6e 64 65 78 20 3d 3d 20 2d 31 3b 20 6a 2b 2b 29 20 7b 0a 20 20 20 20 20 20 20 | h.&&.index.==.-1;.j++).{........ |
1c4ea0 | 20 20 20 20 20 20 20 20 20 69 66 20 28 6e 65 77 45 6c 65 6d 65 6e 74 73 5b 6a 5d 2e 75 72 69 20 | .........if.(newElements[j].uri. |
1c4ec0 | 3d 3d 20 75 72 69 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 64 65 78 20 | ==.uri)...................index. |
1c4ee0 | 3d 20 6e 65 77 45 6c 65 6d 65 6e 74 73 5b 6a 5d 2e 76 69 65 77 49 6e 64 65 78 3b 0a 20 20 20 20 | =.newElements[j].viewIndex;..... |
1c4f00 | 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 | ..........}.............}....... |
1c4f20 | 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 69 66 20 28 69 6e 64 65 | ....}.........}.........if.(inde |
1c4f40 | 78 20 21 3d 20 2d 31 29 0a 20 20 20 20 20 20 20 20 20 20 73 65 6c 65 63 74 69 6f 6e 2e 72 61 6e | x.!=.-1)...........selection.ran |
1c4f60 | 67 65 64 53 65 6c 65 63 74 28 69 6e 64 65 78 2c 20 69 6e 64 65 78 2c 20 74 72 75 65 29 3b 0a 20 | gedSelect(index,.index,.true);.. |
1c4f80 | 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 2f 2f 20 69 66 20 6f 6e 6c 79 20 6f 6e 65 20 6e 6f 64 | .....}........//.if.only.one.nod |
1c4fa0 | 65 20 77 61 73 20 70 72 65 76 69 6f 75 73 6c 79 20 73 65 6c 65 63 74 65 64 20 61 6e 64 20 74 68 | e.was.previously.selected.and.th |
1c4fc0 | 65 72 65 27 73 20 6e 6f 20 73 65 6c 65 63 74 69 6f 6e 20 6e 6f 77 2c 0a 20 20 20 20 20 20 2f 2f | ere's.no.selection.now,.......// |
1c4fe0 | 20 73 65 6c 65 63 74 20 74 68 65 20 6e 6f 64 65 20 61 74 20 69 74 73 20 6f 6c 64 2d 76 69 65 77 | .select.the.node.at.its.old-view |
1c5000 | 49 6e 64 65 78 2c 20 69 66 20 61 6e 79 0a 20 20 20 20 20 20 69 66 20 28 70 72 65 76 69 6f 75 73 | Index,.if.any.......if.(previous |
1c5020 | 6c 79 53 65 6c 65 63 74 65 64 4e 6f 64 65 73 2e 6c 65 6e 67 74 68 20 3d 3d 20 31 20 26 26 0a 20 | lySelectedNodes.length.==.1.&&.. |
1c5040 | 20 20 20 20 20 20 20 20 20 73 65 6c 65 63 74 69 6f 6e 2e 67 65 74 52 61 6e 67 65 43 6f 75 6e 74 | .........selection.getRangeCount |
1c5060 | 28 29 20 3d 3d 20 30 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 76 69 73 69 62 | ().==.0.&&...........this._visib |
1c5080 | 6c 65 45 6c 65 6d 65 6e 74 73 2e 6c 65 6e 67 74 68 20 3e 20 70 72 65 76 69 6f 75 73 6c 79 53 65 | leElements.length.>.previouslySe |
1c50a0 | 6c 65 63 74 65 64 4e 6f 64 65 73 5b 30 5d 2e 6f 6c 64 49 6e 64 65 78 29 20 7b 0a 20 20 20 20 20 | lectedNodes[0].oldIndex).{...... |
1c50c0 | 20 20 20 73 65 6c 65 63 74 69 6f 6e 2e 72 61 6e 67 65 64 53 65 6c 65 63 74 28 70 72 65 76 69 6f | ...selection.rangedSelect(previo |
1c50e0 | 75 73 6c 79 53 65 6c 65 63 74 65 64 4e 6f 64 65 73 5b 30 5d 2e 6f 6c 64 49 6e 64 65 78 2c 0a 20 | uslySelectedNodes[0].oldIndex,.. |
1c5100 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 | ..............................pr |
1c5120 | 65 76 69 6f 75 73 6c 79 53 65 6c 65 63 74 65 64 4e 6f 64 65 73 5b 30 5d 2e 6f 6c 64 49 6e 64 65 | eviouslySelectedNodes[0].oldInde |
1c5140 | 78 2c 20 74 72 75 65 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 20 20 20 20 73 65 6c 65 | x,.true);.......}.....}.....sele |
1c5160 | 63 74 69 6f 6e 2e 73 65 6c 65 63 74 45 76 65 6e 74 73 53 75 70 70 72 65 73 73 65 64 20 3d 20 66 | ction.selectEventsSuppressed.=.f |
1c5180 | 61 6c 73 65 3b 0a 20 20 7d 2c 0a 0a 20 20 5f 63 6f 6e 76 65 72 74 50 52 54 69 6d 65 54 6f 53 74 | alse;...},...._convertPRTimeToSt |
1c51a0 | 72 69 6e 67 3a 20 66 75 6e 63 74 69 6f 6e 20 50 54 56 5f 5f 63 6f 6e 76 65 72 74 50 52 54 69 6d | ring:.function.PTV__convertPRTim |
1c51c0 | 65 54 6f 53 74 72 69 6e 67 28 61 54 69 6d 65 29 20 7b 0a 20 20 20 20 76 61 72 20 74 69 6d 65 49 | eToString(aTime).{.....var.timeI |
1c51e0 | 6e 4d 69 6c 6c 69 73 65 63 6f 6e 64 73 20 3d 20 61 54 69 6d 65 20 2f 20 31 30 30 30 3b 20 2f 2f | nMilliseconds.=.aTime./.1000;.// |
1c5200 | 20 50 52 54 69 6d 65 20 69 73 20 69 6e 20 6d 69 63 72 6f 73 65 63 6f 6e 64 73 0a 0a 20 20 20 20 | .PRTime.is.in.microseconds...... |
1c5220 | 2f 2f 20 44 61 74 65 20 69 73 20 63 61 6c 63 75 6c 61 74 65 64 20 73 74 61 72 74 69 6e 67 20 66 | //.Date.is.calculated.starting.f |
1c5240 | 72 6f 6d 20 6d 69 64 6e 69 67 68 74 2c 20 73 6f 20 74 68 65 20 6d 6f 64 75 6c 6f 20 77 69 74 68 | rom.midnight,.so.the.modulo.with |
1c5260 | 20 61 20 64 61 79 20 61 72 65 0a 20 20 20 20 2f 2f 20 6d 69 6c 6c 69 73 65 63 6f 6e 64 73 20 66 | .a.day.are.....//.milliseconds.f |
1c5280 | 72 6f 6d 20 74 6f 64 61 79 27 73 20 6d 69 64 6e 69 67 68 74 2e 0a 20 20 20 20 2f 2f 20 67 65 74 | rom.today's.midnight......//.get |
1c52a0 | 54 69 6d 65 7a 6f 6e 65 4f 66 66 73 65 74 20 63 6f 72 72 65 63 74 73 20 74 68 61 74 20 62 61 73 | TimezoneOffset.corrects.that.bas |
1c52c0 | 65 64 20 6f 6e 20 6c 6f 63 61 6c 20 74 69 6d 65 2e 0a 20 20 20 20 2f 2f 20 38 36 34 30 30 30 30 | ed.on.local.time......//.8640000 |
1c52e0 | 30 20 3d 20 32 34 20 2a 20 36 30 20 2a 20 36 30 20 2a 20 31 30 30 30 20 3d 20 31 20 64 61 79 0a | 0.=.24.*.60.*.60.*.1000.=.1.day. |
1c5300 | 20 20 20 20 2f 2f 20 36 30 30 30 30 20 3d 20 36 30 20 2a 20 31 30 30 30 20 3d 20 31 20 6d 69 6e | ....//.60000.=.60.*.1000.=.1.min |
1c5320 | 75 74 65 0a 20 20 20 20 76 61 72 20 64 61 74 65 4f 62 6a 20 3d 20 6e 65 77 20 44 61 74 65 28 29 | ute.....var.dateObj.=.new.Date() |
1c5340 | 3b 0a 20 20 20 20 76 61 72 20 74 69 6d 65 5a 6f 6e 65 4f 66 66 73 65 74 49 6e 4d 73 20 3d 20 64 | ;.....var.timeZoneOffsetInMs.=.d |
1c5360 | 61 74 65 4f 62 6a 2e 67 65 74 54 69 6d 65 7a 6f 6e 65 4f 66 66 73 65 74 28 29 20 2a 20 36 30 30 | ateObj.getTimezoneOffset().*.600 |
1c5380 | 30 30 3b 0a 20 20 20 20 76 61 72 20 6e 6f 77 20 3d 20 64 61 74 65 4f 62 6a 2e 67 65 74 54 69 6d | 00;.....var.now.=.dateObj.getTim |
1c53a0 | 65 28 29 20 2d 20 74 69 6d 65 5a 6f 6e 65 4f 66 66 73 65 74 49 6e 4d 73 3b 0a 20 20 20 20 76 61 | e().-.timeZoneOffsetInMs;.....va |
1c53c0 | 72 20 6d 69 64 6e 69 67 68 74 20 3d 20 6e 6f 77 20 2d 20 28 6e 6f 77 20 25 20 28 38 36 34 30 30 | r.midnight.=.now.-.(now.%.(86400 |
1c53e0 | 30 30 30 29 29 3b 0a 0a 20 20 20 20 76 61 72 20 64 61 74 65 46 6f 72 6d 61 74 20 3d 20 74 69 6d | 000));......var.dateFormat.=.tim |
1c5400 | 65 49 6e 4d 69 6c 6c 69 73 65 63 6f 6e 64 73 20 2d 20 74 69 6d 65 5a 6f 6e 65 4f 66 66 73 65 74 | eInMilliseconds.-.timeZoneOffset |
1c5420 | 49 6e 4d 73 20 3e 3d 20 6d 69 64 6e 69 67 68 74 20 3f 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | InMs.>=.midnight.?.............. |
1c5440 | 20 20 20 20 20 20 20 20 20 43 69 2e 6e 73 49 53 63 72 69 70 74 61 62 6c 65 44 61 74 65 46 6f 72 | .........Ci.nsIScriptableDateFor |
1c5460 | 6d 61 74 2e 64 61 74 65 46 6f 72 6d 61 74 4e 6f 6e 65 20 3a 0a 20 20 20 20 20 20 20 20 20 20 20 | mat.dateFormatNone.:............ |
1c5480 | 20 20 20 20 20 20 20 20 20 20 20 43 69 2e 6e 73 49 53 63 72 69 70 74 61 62 6c 65 44 61 74 65 46 | ...........Ci.nsIScriptableDateF |
1c54a0 | 6f 72 6d 61 74 2e 64 61 74 65 46 6f 72 6d 61 74 53 68 6f 72 74 3b 0a 0a 20 20 20 20 76 61 72 20 | ormat.dateFormatShort;......var. |
1c54c0 | 74 69 6d 65 4f 62 6a 20 3d 20 6e 65 77 20 44 61 74 65 28 74 69 6d 65 49 6e 4d 69 6c 6c 69 73 65 | timeObj.=.new.Date(timeInMillise |
1c54e0 | 63 6f 6e 64 73 29 3b 0a 20 20 20 20 72 65 74 75 72 6e 20 28 74 68 69 73 2e 5f 64 61 74 65 53 65 | conds);.....return.(this._dateSe |
1c5500 | 72 76 69 63 65 2e 46 6f 72 6d 61 74 44 61 74 65 54 69 6d 65 28 22 22 2c 20 64 61 74 65 46 6f 72 | rvice.FormatDateTime("",.dateFor |
1c5520 | 6d 61 74 2c 0a 20 20 20 20 20 20 43 69 2e 6e 73 49 53 63 72 69 70 74 61 62 6c 65 44 61 74 65 46 | mat,.......Ci.nsIScriptableDateF |
1c5540 | 6f 72 6d 61 74 2e 74 69 6d 65 46 6f 72 6d 61 74 4e 6f 53 65 63 6f 6e 64 73 2c 0a 20 20 20 20 20 | ormat.timeFormatNoSeconds,...... |
1c5560 | 20 74 69 6d 65 4f 62 6a 2e 67 65 74 46 75 6c 6c 59 65 61 72 28 29 2c 20 74 69 6d 65 4f 62 6a 2e | .timeObj.getFullYear(),.timeObj. |
1c5580 | 67 65 74 4d 6f 6e 74 68 28 29 20 2b 20 31 2c 0a 20 20 20 20 20 20 74 69 6d 65 4f 62 6a 2e 67 65 | getMonth().+.1,.......timeObj.ge |
1c55a0 | 74 44 61 74 65 28 29 2c 20 74 69 6d 65 4f 62 6a 2e 67 65 74 48 6f 75 72 73 28 29 2c 0a 20 20 20 | tDate(),.timeObj.getHours(),.... |
1c55c0 | 20 20 20 74 69 6d 65 4f 62 6a 2e 67 65 74 4d 69 6e 75 74 65 73 28 29 2c 20 74 69 6d 65 4f 62 6a | ...timeObj.getMinutes(),.timeObj |
1c55e0 | 2e 67 65 74 53 65 63 6f 6e 64 73 28 29 29 29 3b 0a 20 20 7d 2c 0a 0a 20 20 43 4f 4c 55 4d 4e 5f | .getSeconds()));...},....COLUMN_ |
1c5600 | 54 59 50 45 5f 55 4e 4b 4e 4f 57 4e 3a 20 30 2c 0a 20 20 43 4f 4c 55 4d 4e 5f 54 59 50 45 5f 54 | TYPE_UNKNOWN:.0,...COLUMN_TYPE_T |
1c5620 | 49 54 4c 45 3a 20 31 2c 0a 20 20 43 4f 4c 55 4d 4e 5f 54 59 50 45 5f 55 52 49 3a 20 32 2c 0a 20 | ITLE:.1,...COLUMN_TYPE_URI:.2,.. |
1c5640 | 20 43 4f 4c 55 4d 4e 5f 54 59 50 45 5f 44 41 54 45 3a 20 33 2c 0a 20 20 43 4f 4c 55 4d 4e 5f 54 | .COLUMN_TYPE_DATE:.3,...COLUMN_T |
1c5660 | 59 50 45 5f 56 49 53 49 54 43 4f 55 4e 54 3a 20 34 2c 0a 20 20 43 4f 4c 55 4d 4e 5f 54 59 50 45 | YPE_VISITCOUNT:.4,...COLUMN_TYPE |
1c5680 | 5f 4b 45 59 57 4f 52 44 3a 20 35 2c 0a 20 20 43 4f 4c 55 4d 4e 5f 54 59 50 45 5f 44 45 53 43 52 | _KEYWORD:.5,...COLUMN_TYPE_DESCR |
1c56a0 | 49 50 54 49 4f 4e 3a 20 36 2c 0a 20 20 43 4f 4c 55 4d 4e 5f 54 59 50 45 5f 44 41 54 45 41 44 44 | IPTION:.6,...COLUMN_TYPE_DATEADD |
1c56c0 | 45 44 3a 20 37 2c 0a 20 20 43 4f 4c 55 4d 4e 5f 54 59 50 45 5f 4c 41 53 54 4d 4f 44 49 46 49 45 | ED:.7,...COLUMN_TYPE_LASTMODIFIE |
1c56e0 | 44 3a 20 38 2c 0a 20 20 43 4f 4c 55 4d 4e 5f 54 59 50 45 5f 54 41 47 53 3a 20 39 2c 0a 0a 20 20 | D:.8,...COLUMN_TYPE_TAGS:.9,.... |
1c5700 | 5f 67 65 74 43 6f 6c 75 6d 6e 54 79 70 65 3a 20 66 75 6e 63 74 69 6f 6e 20 50 54 56 5f 5f 67 65 | _getColumnType:.function.PTV__ge |
1c5720 | 74 43 6f 6c 75 6d 6e 54 79 70 65 28 61 43 6f 6c 75 6d 6e 29 20 7b 0a 20 20 20 20 76 61 72 20 63 | tColumnType(aColumn).{.....var.c |
1c5740 | 6f 6c 75 6d 6e 54 79 70 65 20 3d 20 61 43 6f 6c 75 6d 6e 2e 65 6c 65 6d 65 6e 74 2e 67 65 74 41 | olumnType.=.aColumn.element.getA |
1c5760 | 74 74 72 69 62 75 74 65 28 22 61 6e 6f 6e 69 64 22 29 20 7c 7c 20 61 43 6f 6c 75 6d 6e 2e 69 64 | ttribute("anonid").||.aColumn.id |
1c5780 | 3b 0a 0a 20 20 20 20 73 77 69 74 63 68 20 28 63 6f 6c 75 6d 6e 54 79 70 65 29 20 7b 0a 20 20 20 | ;......switch.(columnType).{.... |
1c57a0 | 20 20 20 63 61 73 65 20 22 74 69 74 6c 65 22 3a 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 | ...case."title":.........return. |
1c57c0 | 74 68 69 73 2e 43 4f 4c 55 4d 4e 5f 54 59 50 45 5f 54 49 54 4c 45 3b 0a 20 20 20 20 20 20 63 61 | this.COLUMN_TYPE_TITLE;.......ca |
1c57e0 | 73 65 20 22 75 72 6c 22 3a 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 43 4f | se."url":.........return.this.CO |
1c5800 | 4c 55 4d 4e 5f 54 59 50 45 5f 55 52 49 3b 0a 20 20 20 20 20 20 63 61 73 65 20 22 64 61 74 65 22 | LUMN_TYPE_URI;.......case."date" |
1c5820 | 3a 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 43 4f 4c 55 4d 4e 5f 54 59 50 | :.........return.this.COLUMN_TYP |
1c5840 | 45 5f 44 41 54 45 3b 0a 20 20 20 20 20 20 63 61 73 65 20 22 76 69 73 69 74 43 6f 75 6e 74 22 3a | E_DATE;.......case."visitCount": |
1c5860 | 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 43 4f 4c 55 4d 4e 5f 54 59 50 45 | .........return.this.COLUMN_TYPE |
1c5880 | 5f 56 49 53 49 54 43 4f 55 4e 54 3b 0a 20 20 20 20 20 20 63 61 73 65 20 22 6b 65 79 77 6f 72 64 | _VISITCOUNT;.......case."keyword |
1c58a0 | 22 3a 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 43 4f 4c 55 4d 4e 5f 54 59 | ":.........return.this.COLUMN_TY |
1c58c0 | 50 45 5f 4b 45 59 57 4f 52 44 3b 0a 20 20 20 20 20 20 63 61 73 65 20 22 64 65 73 63 72 69 70 74 | PE_KEYWORD;.......case."descript |
1c58e0 | 69 6f 6e 22 3a 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 43 4f 4c 55 4d 4e | ion":.........return.this.COLUMN |
1c5900 | 5f 54 59 50 45 5f 44 45 53 43 52 49 50 54 49 4f 4e 3b 0a 20 20 20 20 20 20 63 61 73 65 20 22 64 | _TYPE_DESCRIPTION;.......case."d |
1c5920 | 61 74 65 41 64 64 65 64 22 3a 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 43 | ateAdded":.........return.this.C |
1c5940 | 4f 4c 55 4d 4e 5f 54 59 50 45 5f 44 41 54 45 41 44 44 45 44 3b 0a 20 20 20 20 20 20 63 61 73 65 | OLUMN_TYPE_DATEADDED;.......case |
1c5960 | 20 22 6c 61 73 74 4d 6f 64 69 66 69 65 64 22 3a 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 | ."lastModified":.........return. |
1c5980 | 74 68 69 73 2e 43 4f 4c 55 4d 4e 5f 54 59 50 45 5f 4c 41 53 54 4d 4f 44 49 46 49 45 44 3b 0a 20 | this.COLUMN_TYPE_LASTMODIFIED;.. |
1c59a0 | 20 20 20 20 20 63 61 73 65 20 22 74 61 67 73 22 3a 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e | .....case."tags":.........return |
1c59c0 | 20 74 68 69 73 2e 43 4f 4c 55 4d 4e 5f 54 59 50 45 5f 54 41 47 53 3b 0a 20 20 20 20 7d 0a 20 20 | .this.COLUMN_TYPE_TAGS;.....}... |
1c59e0 | 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 43 4f 4c 55 4d 4e 5f 54 59 50 45 5f 55 4e 4b 4e 4f 57 | ..return.this.COLUMN_TYPE_UNKNOW |
1c5a00 | 4e 3b 0a 20 20 7d 2c 0a 0a 20 20 5f 73 6f 72 74 54 79 70 65 54 6f 43 6f 6c 75 6d 6e 54 79 70 65 | N;...},...._sortTypeToColumnType |
1c5a20 | 3a 20 66 75 6e 63 74 69 6f 6e 20 50 54 56 5f 5f 73 6f 72 74 54 79 70 65 54 6f 43 6f 6c 75 6d 6e | :.function.PTV__sortTypeToColumn |
1c5a40 | 54 79 70 65 28 61 53 6f 72 74 54 79 70 65 29 20 7b 0a 20 20 20 20 73 77 69 74 63 68 20 28 61 53 | Type(aSortType).{.....switch.(aS |
1c5a60 | 6f 72 74 54 79 70 65 29 20 7b 0a 20 20 20 20 20 20 63 61 73 65 20 43 69 2e 6e 73 49 4e 61 76 48 | ortType).{.......case.Ci.nsINavH |
1c5a80 | 69 73 74 6f 72 79 51 75 65 72 79 4f 70 74 69 6f 6e 73 2e 53 4f 52 54 5f 42 59 5f 54 49 54 4c 45 | istoryQueryOptions.SORT_BY_TITLE |
1c5aa0 | 5f 41 53 43 45 4e 44 49 4e 47 3a 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 5b 74 68 69 73 | _ASCENDING:.........return.[this |
1c5ac0 | 2e 43 4f 4c 55 4d 4e 5f 54 59 50 45 5f 54 49 54 4c 45 2c 20 66 61 6c 73 65 5d 3b 0a 20 20 20 20 | .COLUMN_TYPE_TITLE,.false];..... |
1c5ae0 | 20 20 63 61 73 65 20 43 69 2e 6e 73 49 4e 61 76 48 69 73 74 6f 72 79 51 75 65 72 79 4f 70 74 69 | ..case.Ci.nsINavHistoryQueryOpti |
1c5b00 | 6f 6e 73 2e 53 4f 52 54 5f 42 59 5f 54 49 54 4c 45 5f 44 45 53 43 45 4e 44 49 4e 47 3a 0a 20 20 | ons.SORT_BY_TITLE_DESCENDING:... |
1c5b20 | 20 20 20 20 20 20 72 65 74 75 72 6e 20 5b 74 68 69 73 2e 43 4f 4c 55 4d 4e 5f 54 59 50 45 5f 54 | ......return.[this.COLUMN_TYPE_T |
1c5b40 | 49 54 4c 45 2c 20 74 72 75 65 5d 3b 0a 20 20 20 20 20 20 63 61 73 65 20 43 69 2e 6e 73 49 4e 61 | ITLE,.true];.......case.Ci.nsINa |
1c5b60 | 76 48 69 73 74 6f 72 79 51 75 65 72 79 4f 70 74 69 6f 6e 73 2e 53 4f 52 54 5f 42 59 5f 44 41 54 | vHistoryQueryOptions.SORT_BY_DAT |
1c5b80 | 45 5f 41 53 43 45 4e 44 49 4e 47 3a 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 5b 74 68 69 | E_ASCENDING:.........return.[thi |
1c5ba0 | 73 2e 43 4f 4c 55 4d 4e 5f 54 59 50 45 5f 44 41 54 45 2c 20 66 61 6c 73 65 5d 3b 0a 20 20 20 20 | s.COLUMN_TYPE_DATE,.false];..... |
1c5bc0 | 20 20 63 61 73 65 20 43 69 2e 6e 73 49 4e 61 76 48 69 73 74 6f 72 79 51 75 65 72 79 4f 70 74 69 | ..case.Ci.nsINavHistoryQueryOpti |
1c5be0 | 6f 6e 73 2e 53 4f 52 54 5f 42 59 5f 44 41 54 45 5f 44 45 53 43 45 4e 44 49 4e 47 3a 0a 20 20 20 | ons.SORT_BY_DATE_DESCENDING:.... |
1c5c00 | 20 20 20 20 20 72 65 74 75 72 6e 20 5b 74 68 69 73 2e 43 4f 4c 55 4d 4e 5f 54 59 50 45 5f 44 41 | .....return.[this.COLUMN_TYPE_DA |
1c5c20 | 54 45 2c 20 74 72 75 65 5d 3b 0a 20 20 20 20 20 20 63 61 73 65 20 43 69 2e 6e 73 49 4e 61 76 48 | TE,.true];.......case.Ci.nsINavH |
1c5c40 | 69 73 74 6f 72 79 51 75 65 72 79 4f 70 74 69 6f 6e 73 2e 53 4f 52 54 5f 42 59 5f 55 52 49 5f 41 | istoryQueryOptions.SORT_BY_URI_A |
1c5c60 | 53 43 45 4e 44 49 4e 47 3a 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 5b 74 68 69 73 2e 43 | SCENDING:.........return.[this.C |
1c5c80 | 4f 4c 55 4d 4e 5f 54 59 50 45 5f 55 52 49 2c 20 66 61 6c 73 65 5d 3b 0a 20 20 20 20 20 20 63 61 | OLUMN_TYPE_URI,.false];.......ca |
1c5ca0 | 73 65 20 43 69 2e 6e 73 49 4e 61 76 48 69 73 74 6f 72 79 51 75 65 72 79 4f 70 74 69 6f 6e 73 2e | se.Ci.nsINavHistoryQueryOptions. |
1c5cc0 | 53 4f 52 54 5f 42 59 5f 55 52 49 5f 44 45 53 43 45 4e 44 49 4e 47 3a 0a 20 20 20 20 20 20 20 20 | SORT_BY_URI_DESCENDING:......... |
1c5ce0 | 72 65 74 75 72 6e 20 5b 74 68 69 73 2e 43 4f 4c 55 4d 4e 5f 54 59 50 45 5f 55 52 49 2c 20 74 72 | return.[this.COLUMN_TYPE_URI,.tr |
1c5d00 | 75 65 5d 3b 0a 20 20 20 20 20 20 63 61 73 65 20 43 69 2e 6e 73 49 4e 61 76 48 69 73 74 6f 72 79 | ue];.......case.Ci.nsINavHistory |
1c5d20 | 51 75 65 72 79 4f 70 74 69 6f 6e 73 2e 53 4f 52 54 5f 42 59 5f 56 49 53 49 54 43 4f 55 4e 54 5f | QueryOptions.SORT_BY_VISITCOUNT_ |
1c5d40 | 41 53 43 45 4e 44 49 4e 47 3a 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 5b 74 68 69 73 2e | ASCENDING:.........return.[this. |
1c5d60 | 43 4f 4c 55 4d 4e 5f 54 59 50 45 5f 56 49 53 49 54 43 4f 55 4e 54 2c 20 66 61 6c 73 65 5d 3b 0a | COLUMN_TYPE_VISITCOUNT,.false];. |
1c5d80 | 20 20 20 20 20 20 63 61 73 65 20 43 69 2e 6e 73 49 4e 61 76 48 69 73 74 6f 72 79 51 75 65 72 79 | ......case.Ci.nsINavHistoryQuery |
1c5da0 | 4f 70 74 69 6f 6e 73 2e 53 4f 52 54 5f 42 59 5f 56 49 53 49 54 43 4f 55 4e 54 5f 44 45 53 43 45 | Options.SORT_BY_VISITCOUNT_DESCE |
1c5dc0 | 4e 44 49 4e 47 3a 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 5b 74 68 69 73 2e 43 4f 4c 55 | NDING:.........return.[this.COLU |
1c5de0 | 4d 4e 5f 54 59 50 45 5f 56 49 53 49 54 43 4f 55 4e 54 2c 20 74 72 75 65 5d 3b 0a 20 20 20 20 20 | MN_TYPE_VISITCOUNT,.true];...... |
1c5e00 | 20 63 61 73 65 20 43 69 2e 6e 73 49 4e 61 76 48 69 73 74 6f 72 79 51 75 65 72 79 4f 70 74 69 6f | .case.Ci.nsINavHistoryQueryOptio |
1c5e20 | 6e 73 2e 53 4f 52 54 5f 42 59 5f 4b 45 59 57 4f 52 44 5f 41 53 43 45 4e 44 49 4e 47 3a 0a 20 20 | ns.SORT_BY_KEYWORD_ASCENDING:... |
1c5e40 | 20 20 20 20 20 20 72 65 74 75 72 6e 20 5b 74 68 69 73 2e 43 4f 4c 55 4d 4e 5f 54 59 50 45 5f 4b | ......return.[this.COLUMN_TYPE_K |
1c5e60 | 45 59 57 4f 52 44 2c 20 66 61 6c 73 65 5d 3b 0a 20 20 20 20 20 20 63 61 73 65 20 43 69 2e 6e 73 | EYWORD,.false];.......case.Ci.ns |
1c5e80 | 49 4e 61 76 48 69 73 74 6f 72 79 51 75 65 72 79 4f 70 74 69 6f 6e 73 2e 53 4f 52 54 5f 42 59 5f | INavHistoryQueryOptions.SORT_BY_ |
1c5ea0 | 4b 45 59 57 4f 52 44 5f 44 45 53 43 45 4e 44 49 4e 47 3a 0a 20 20 20 20 20 20 20 20 72 65 74 75 | KEYWORD_DESCENDING:.........retu |
1c5ec0 | 72 6e 20 5b 74 68 69 73 2e 43 4f 4c 55 4d 4e 5f 54 59 50 45 5f 4b 45 59 57 4f 52 44 2c 20 74 72 | rn.[this.COLUMN_TYPE_KEYWORD,.tr |
1c5ee0 | 75 65 5d 3b 0a 20 20 20 20 20 20 63 61 73 65 20 43 69 2e 6e 73 49 4e 61 76 48 69 73 74 6f 72 79 | ue];.......case.Ci.nsINavHistory |
1c5f00 | 51 75 65 72 79 4f 70 74 69 6f 6e 73 2e 53 4f 52 54 5f 42 59 5f 41 4e 4e 4f 54 41 54 49 4f 4e 5f | QueryOptions.SORT_BY_ANNOTATION_ |
1c5f20 | 41 53 43 45 4e 44 49 4e 47 3a 0a 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 72 65 73 | ASCENDING:.........if.(this._res |
1c5f40 | 75 6c 74 2e 73 6f 72 74 69 6e 67 41 6e 6e 6f 74 61 74 69 6f 6e 20 3d 3d 20 44 45 53 43 52 49 50 | ult.sortingAnnotation.==.DESCRIP |
1c5f60 | 54 49 4f 4e 5f 41 4e 4e 4f 29 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 5b 74 68 69 | TION_ANNO)...........return.[thi |
1c5f80 | 73 2e 43 4f 4c 55 4d 4e 5f 54 59 50 45 5f 44 45 53 43 52 49 50 54 49 4f 4e 2c 20 66 61 6c 73 65 | s.COLUMN_TYPE_DESCRIPTION,.false |
1c5fa0 | 5d 3b 0a 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 63 61 73 65 20 43 69 2e | ];.........break;.......case.Ci. |
1c5fc0 | 6e 73 49 4e 61 76 48 69 73 74 6f 72 79 51 75 65 72 79 4f 70 74 69 6f 6e 73 2e 53 4f 52 54 5f 42 | nsINavHistoryQueryOptions.SORT_B |
1c5fe0 | 59 5f 41 4e 4e 4f 54 41 54 49 4f 4e 5f 44 45 53 43 45 4e 44 49 4e 47 3a 0a 20 20 20 20 20 20 20 | Y_ANNOTATION_DESCENDING:........ |
1c6000 | 20 69 66 20 28 74 68 69 73 2e 5f 72 65 73 75 6c 74 2e 73 6f 72 74 69 6e 67 41 6e 6e 6f 74 61 74 | .if.(this._result.sortingAnnotat |
1c6020 | 69 6f 6e 20 3d 3d 20 44 45 53 43 52 49 50 54 49 4f 4e 5f 41 4e 4e 4f 29 0a 20 20 20 20 20 20 20 | ion.==.DESCRIPTION_ANNO)........ |
1c6040 | 20 20 20 72 65 74 75 72 6e 20 5b 74 68 69 73 2e 43 4f 4c 55 4d 4e 5f 54 59 50 45 5f 44 45 53 43 | ...return.[this.COLUMN_TYPE_DESC |
1c6060 | 52 49 50 54 49 4f 4e 2c 20 74 72 75 65 5d 3b 0a 20 20 20 20 20 20 63 61 73 65 20 43 69 2e 6e 73 | RIPTION,.true];.......case.Ci.ns |
1c6080 | 49 4e 61 76 48 69 73 74 6f 72 79 51 75 65 72 79 4f 70 74 69 6f 6e 73 2e 53 4f 52 54 5f 42 59 5f | INavHistoryQueryOptions.SORT_BY_ |
1c60a0 | 44 41 54 45 41 44 44 45 44 5f 41 53 43 45 4e 44 49 4e 47 3a 0a 20 20 20 20 20 20 20 20 72 65 74 | DATEADDED_ASCENDING:.........ret |
1c60c0 | 75 72 6e 20 5b 74 68 69 73 2e 43 4f 4c 55 4d 4e 5f 54 59 50 45 5f 44 41 54 45 41 44 44 45 44 2c | urn.[this.COLUMN_TYPE_DATEADDED, |
1c60e0 | 20 66 61 6c 73 65 5d 3b 0a 20 20 20 20 20 20 63 61 73 65 20 43 69 2e 6e 73 49 4e 61 76 48 69 73 | .false];.......case.Ci.nsINavHis |
1c6100 | 74 6f 72 79 51 75 65 72 79 4f 70 74 69 6f 6e 73 2e 53 4f 52 54 5f 42 59 5f 44 41 54 45 41 44 44 | toryQueryOptions.SORT_BY_DATEADD |
1c6120 | 45 44 5f 44 45 53 43 45 4e 44 49 4e 47 3a 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 5b 74 | ED_DESCENDING:.........return.[t |
1c6140 | 68 69 73 2e 43 4f 4c 55 4d 4e 5f 54 59 50 45 5f 44 41 54 45 41 44 44 45 44 2c 20 74 72 75 65 5d | his.COLUMN_TYPE_DATEADDED,.true] |
1c6160 | 3b 0a 20 20 20 20 20 20 63 61 73 65 20 43 69 2e 6e 73 49 4e 61 76 48 69 73 74 6f 72 79 51 75 65 | ;.......case.Ci.nsINavHistoryQue |
1c6180 | 72 79 4f 70 74 69 6f 6e 73 2e 53 4f 52 54 5f 42 59 5f 4c 41 53 54 4d 4f 44 49 46 49 45 44 5f 41 | ryOptions.SORT_BY_LASTMODIFIED_A |
1c61a0 | 53 43 45 4e 44 49 4e 47 3a 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 5b 74 68 69 73 2e 43 | SCENDING:.........return.[this.C |
1c61c0 | 4f 4c 55 4d 4e 5f 54 59 50 45 5f 4c 41 53 54 4d 4f 44 49 46 49 45 44 2c 20 66 61 6c 73 65 5d 3b | OLUMN_TYPE_LASTMODIFIED,.false]; |
1c61e0 | 0a 20 20 20 20 20 20 63 61 73 65 20 43 69 2e 6e 73 49 4e 61 76 48 69 73 74 6f 72 79 51 75 65 72 | .......case.Ci.nsINavHistoryQuer |
1c6200 | 79 4f 70 74 69 6f 6e 73 2e 53 4f 52 54 5f 42 59 5f 4c 41 53 54 4d 4f 44 49 46 49 45 44 5f 44 45 | yOptions.SORT_BY_LASTMODIFIED_DE |
1c6220 | 53 43 45 4e 44 49 4e 47 3a 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 5b 74 68 69 73 2e 43 | SCENDING:.........return.[this.C |
1c6240 | 4f 4c 55 4d 4e 5f 54 59 50 45 5f 4c 41 53 54 4d 4f 44 49 46 49 45 44 2c 20 74 72 75 65 5d 3b 0a | OLUMN_TYPE_LASTMODIFIED,.true];. |
1c6260 | 20 20 20 20 20 20 63 61 73 65 20 43 69 2e 6e 73 49 4e 61 76 48 69 73 74 6f 72 79 51 75 65 72 79 | ......case.Ci.nsINavHistoryQuery |
1c6280 | 4f 70 74 69 6f 6e 73 2e 53 4f 52 54 5f 42 59 5f 54 41 47 53 5f 41 53 43 45 4e 44 49 4e 47 3a 0a | Options.SORT_BY_TAGS_ASCENDING:. |
1c62a0 | 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 5b 74 68 69 73 2e 43 4f 4c 55 4d 4e 5f 54 59 50 45 | ........return.[this.COLUMN_TYPE |
1c62c0 | 5f 54 41 47 53 2c 20 66 61 6c 73 65 5d 3b 0a 20 20 20 20 20 20 63 61 73 65 20 43 69 2e 6e 73 49 | _TAGS,.false];.......case.Ci.nsI |
1c62e0 | 4e 61 76 48 69 73 74 6f 72 79 51 75 65 72 79 4f 70 74 69 6f 6e 73 2e 53 4f 52 54 5f 42 59 5f 54 | NavHistoryQueryOptions.SORT_BY_T |
1c6300 | 41 47 53 5f 44 45 53 43 45 4e 44 49 4e 47 3a 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 5b | AGS_DESCENDING:.........return.[ |
1c6320 | 74 68 69 73 2e 43 4f 4c 55 4d 4e 5f 54 59 50 45 5f 54 41 47 53 2c 20 74 72 75 65 5d 3b 0a 20 20 | this.COLUMN_TYPE_TAGS,.true];... |
1c6340 | 20 20 7d 0a 20 20 20 20 72 65 74 75 72 6e 20 5b 74 68 69 73 2e 43 4f 4c 55 4d 4e 5f 54 59 50 45 | ..}.....return.[this.COLUMN_TYPE |
1c6360 | 5f 55 4e 4b 4e 4f 57 4e 2c 20 66 61 6c 73 65 5d 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2f 20 6e 73 49 | _UNKNOWN,.false];...},....//.nsI |
1c6380 | 4e 61 76 48 69 73 74 6f 72 79 52 65 73 75 6c 74 56 69 65 77 65 72 0a 20 20 69 74 65 6d 49 6e 73 | NavHistoryResultViewer...itemIns |
1c63a0 | 65 72 74 65 64 3a 20 66 75 6e 63 74 69 6f 6e 20 50 54 56 5f 69 74 65 6d 49 6e 73 65 72 74 65 64 | erted:.function.PTV_itemInserted |
1c63c0 | 28 61 50 61 72 65 6e 74 2c 20 61 49 74 65 6d 2c 20 61 4e 65 77 49 6e 64 65 78 29 20 7b 0a 20 20 | (aParent,.aItem,.aNewIndex).{... |
1c63e0 | 20 20 69 66 20 28 21 74 68 69 73 2e 5f 74 72 65 65 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b | ..if.(!this._tree).......return; |
1c6400 | 0a 20 20 20 20 69 66 20 28 21 74 68 69 73 2e 5f 72 65 73 75 6c 74 29 0a 20 20 20 20 20 20 74 68 | .....if.(!this._result).......th |
1c6420 | 72 6f 77 20 43 72 2e 4e 53 5f 45 52 52 4f 52 5f 55 4e 45 58 50 45 43 54 45 44 3b 0a 0a 20 20 20 | row.Cr.NS_ERROR_UNEXPECTED;..... |
1c6440 | 20 69 66 20 28 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 53 65 70 61 72 61 74 6f 72 | .if.(PlacesUtils.nodeIsSeparator |
1c6460 | 28 61 49 74 65 6d 29 20 26 26 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 72 65 73 75 6c 74 2e | (aItem).&&.........this._result. |
1c6480 | 73 6f 72 74 69 6e 67 4d 6f 64 65 20 21 3d 20 43 69 2e 6e 73 49 4e 61 76 48 69 73 74 6f 72 79 51 | sortingMode.!=.Ci.nsINavHistoryQ |
1c64a0 | 75 65 72 79 4f 70 74 69 6f 6e 73 2e 53 4f 52 54 5f 42 59 5f 4e 4f 4e 45 29 20 7b 0a 20 20 20 20 | ueryOptions.SORT_BY_NONE).{..... |
1c64c0 | 20 20 61 49 74 65 6d 2e 76 69 65 77 49 6e 64 65 78 20 3d 20 2d 31 3b 0a 20 20 20 20 20 20 72 65 | ..aItem.viewIndex.=.-1;.......re |
1c64e0 | 74 75 72 6e 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 2f 2f 20 75 70 64 61 74 65 20 70 61 72 65 6e | turn;.....}......//.update.paren |
1c6500 | 74 20 77 68 65 6e 20 69 6e 73 65 72 74 69 6e 67 20 74 68 65 20 66 69 72 73 74 20 69 74 65 6d 20 | t.when.inserting.the.first.item. |
1c6520 | 62 65 63 61 75 73 65 20 74 77 69 73 74 79 20 6d 61 79 0a 20 20 20 20 2f 2f 20 68 61 76 65 20 63 | because.twisty.may.....//.have.c |
1c6540 | 68 61 6e 67 65 64 0a 20 20 20 20 69 66 20 28 61 50 61 72 65 6e 74 2e 63 68 69 6c 64 43 6f 75 6e | hanged.....if.(aParent.childCoun |
1c6560 | 74 20 3d 3d 20 31 29 0a 20 20 20 20 20 20 74 68 69 73 2e 69 74 65 6d 43 68 61 6e 67 65 64 28 61 | t.==.1).......this.itemChanged(a |
1c6580 | 50 61 72 65 6e 74 29 3b 0a 0a 20 20 20 20 2f 2f 20 63 6f 6d 70 75 74 65 20 74 68 65 20 6e 65 77 | Parent);......//.compute.the.new |
1c65a0 | 20 76 69 65 77 20 69 6e 64 65 78 20 6f 66 20 74 68 65 20 69 74 65 6d 0a 20 20 20 20 76 61 72 20 | .view.index.of.the.item.....var. |
1c65c0 | 6e 65 77 56 69 65 77 49 6e 64 65 78 20 3d 20 2d 31 3b 0a 20 20 20 20 69 66 20 28 61 4e 65 77 49 | newViewIndex.=.-1;.....if.(aNewI |
1c65e0 | 6e 64 65 78 20 3d 3d 20 30 29 20 7b 0a 20 20 20 20 20 20 2f 2f 20 69 74 65 6d 20 69 73 20 74 68 | ndex.==.0).{.......//.item.is.th |
1c6600 | 65 20 66 69 72 73 74 20 74 68 69 6e 67 20 69 6e 20 6f 75 72 20 63 68 69 6c 64 20 6c 69 73 74 2c | e.first.thing.in.our.child.list, |
1c6620 | 20 69 74 20 74 61 6b 65 73 20 6f 75 72 20 69 6e 64 65 78 20 2b 31 2e 20 4e 6f 74 65 0a 20 20 20 | .it.takes.our.index.+1..Note.... |
1c6640 | 20 20 20 2f 2f 20 74 68 61 74 20 74 68 69 73 20 63 6f 6d 70 75 74 61 74 69 6f 6e 20 73 74 69 6c | ...//.that.this.computation.stil |
1c6660 | 6c 20 77 6f 72 6b 73 20 69 66 20 74 68 65 20 70 61 72 65 6e 74 20 69 73 20 61 6e 20 69 6e 76 69 | l.works.if.the.parent.is.an.invi |
1c6680 | 73 69 62 6c 65 20 72 6f 6f 74 0a 20 20 20 20 20 20 2f 2f 20 6e 6f 64 65 2c 20 62 65 63 61 75 73 | sible.root.......//.node,.becaus |
1c66a0 | 65 20 72 6f 6f 74 5f 69 6e 64 65 78 20 2b 20 31 20 3d 20 2d 31 20 2b 20 31 20 3d 20 30 0a 20 20 | e.root_index.+.1.=.-1.+.1.=.0... |
1c66c0 | 20 20 20 20 6e 65 77 56 69 65 77 49 6e 64 65 78 20 3d 20 61 50 61 72 65 6e 74 2e 76 69 65 77 49 | ....newViewIndex.=.aParent.viewI |
1c66e0 | 6e 64 65 78 20 2b 20 31 3b 0a 20 20 20 20 7d 0a 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 | ndex.+.1;.....}.....else.{...... |
1c6700 | 20 2f 2f 20 48 65 72 65 2c 20 77 65 20 74 72 79 20 74 6f 20 66 69 6e 64 20 74 68 65 20 6e 65 78 | .//.Here,.we.try.to.find.the.nex |
1c6720 | 74 20 76 69 73 69 62 6c 65 20 65 6c 65 6d 65 6e 74 20 69 6e 20 74 68 65 20 63 68 69 6c 64 20 6c | t.visible.element.in.the.child.l |
1c6740 | 69 73 74 20 73 6f 20 77 65 0a 20 20 20 20 20 20 2f 2f 20 63 61 6e 20 73 65 74 20 74 68 65 20 6e | ist.so.we.......//.can.set.the.n |
1c6760 | 65 77 20 76 69 73 69 62 6c 65 20 69 6e 64 65 78 20 74 6f 20 62 65 20 72 69 67 68 74 20 62 65 66 | ew.visible.index.to.be.right.bef |
1c6780 | 6f 72 65 20 74 68 61 74 2e 20 4e 6f 74 65 20 74 68 61 74 20 77 65 0a 20 20 20 20 20 20 2f 2f 20 | ore.that..Note.that.we.......//. |
1c67a0 | 68 61 76 65 20 74 6f 20 73 65 61 72 63 68 20 44 4f 57 4e 20 69 6e 73 74 65 61 64 20 6f 66 20 75 | have.to.search.DOWN.instead.of.u |
1c67c0 | 70 2c 20 62 65 63 61 75 73 65 20 73 6f 6d 65 20 73 69 62 6c 69 6e 67 73 20 63 6f 75 6c 64 20 68 | p,.because.some.siblings.could.h |
1c67e0 | 61 76 65 0a 20 20 20 20 20 20 2f 2f 20 63 68 69 6c 64 72 65 6e 20 74 68 65 6d 73 65 6c 76 65 73 | ave.......//.children.themselves |
1c6800 | 20 74 68 61 74 20 77 6f 75 6c 64 20 62 65 20 69 6e 20 74 68 65 20 77 61 79 2e 0a 20 20 20 20 20 | .that.would.be.in.the.way....... |
1c6820 | 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 61 4e 65 77 49 6e 64 65 78 20 2b 20 31 3b 20 69 20 3c | .for.(var.i.=.aNewIndex.+.1;.i.< |
1c6840 | 20 61 50 61 72 65 6e 74 2e 63 68 69 6c 64 43 6f 75 6e 74 3b 20 69 20 2b 2b 29 20 7b 0a 20 20 20 | .aParent.childCount;.i.++).{.... |
1c6860 | 20 20 20 20 20 76 61 72 20 76 69 65 77 49 6e 64 65 78 20 3d 20 61 50 61 72 65 6e 74 2e 67 65 74 | .....var.viewIndex.=.aParent.get |
1c6880 | 43 68 69 6c 64 28 69 29 2e 76 69 65 77 49 6e 64 65 78 3b 0a 20 20 20 20 20 20 20 20 69 66 20 28 | Child(i).viewIndex;.........if.( |
1c68a0 | 76 69 65 77 49 6e 64 65 78 20 3e 3d 20 30 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 74 | viewIndex.>=.0).{...........//.t |
1c68c0 | 68 65 20 76 69 65 77 20 69 6e 64 69 63 65 73 20 6f 66 20 73 75 62 73 65 71 75 65 6e 74 20 63 68 | he.view.indices.of.subsequent.ch |
1c68e0 | 69 6c 64 72 65 6e 20 68 61 76 65 20 6e 6f 74 20 62 65 65 6e 20 73 68 69 66 74 65 64 20 73 6f 0a | ildren.have.not.been.shifted.so. |
1c6900 | 20 20 20 20 20 20 20 20 20 20 2f 2f 20 74 68 65 20 6e 65 78 74 20 69 74 65 6d 20 77 69 6c 6c 20 | ..........//.the.next.item.will. |
1c6920 | 68 61 76 65 20 77 68 61 74 20 73 68 6f 75 6c 64 20 62 65 20 6f 75 72 20 69 6e 64 65 78 0a 20 20 | have.what.should.be.our.index... |
1c6940 | 20 20 20 20 20 20 20 20 6e 65 77 56 69 65 77 49 6e 64 65 78 20 3d 20 76 69 65 77 49 6e 64 65 78 | ........newViewIndex.=.viewIndex |
1c6960 | 3b 0a 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 | ;...........break;.........}.... |
1c6980 | 20 20 20 7d 0a 20 20 20 20 20 20 69 66 20 28 6e 65 77 56 69 65 77 49 6e 64 65 78 20 3c 20 30 29 | ...}.......if.(newViewIndex.<.0) |
1c69a0 | 20 7b 0a 20 20 20 20 20 20 20 20 2f 2f 20 41 74 20 74 68 65 20 65 6e 64 20 6f 66 20 74 68 65 20 | .{.........//.At.the.end.of.the. |
1c69c0 | 63 68 69 6c 64 20 6c 69 73 74 20 77 69 74 68 6f 75 74 20 66 69 6e 64 69 6e 67 20 61 20 76 69 73 | child.list.without.finding.a.vis |
1c69e0 | 69 62 6c 65 20 73 69 62 6c 69 6e 67 3a 20 54 68 69 73 0a 20 20 20 20 20 20 20 20 2f 2f 20 69 73 | ible.sibling:.This.........//.is |
1c6a00 | 20 61 20 6c 69 74 74 6c 65 20 68 61 72 64 65 72 20 62 65 63 61 75 73 65 20 77 65 20 64 6f 6e 27 | .a.little.harder.because.we.don' |
1c6a20 | 74 20 6b 6e 6f 77 20 68 6f 77 20 6d 61 6e 79 20 72 6f 77 73 20 74 68 65 20 6c 61 73 74 20 69 74 | t.know.how.many.rows.the.last.it |
1c6a40 | 65 6d 0a 20 20 20 20 20 20 20 20 2f 2f 20 69 6e 20 6f 75 72 20 6c 69 73 74 20 74 61 6b 65 73 20 | em.........//.in.our.list.takes. |
1c6a60 | 75 70 20 28 69 74 20 63 6f 75 6c 64 20 62 65 20 61 20 63 6f 6e 74 61 69 6e 65 72 20 77 69 74 68 | up.(it.could.be.a.container.with |
1c6a80 | 20 6d 61 6e 79 20 63 68 69 6c 64 72 65 6e 29 2e 0a 20 20 20 20 20 20 20 20 76 61 72 20 70 72 65 | .many.children)..........var.pre |
1c6aa0 | 76 43 68 69 6c 64 20 3d 20 61 50 61 72 65 6e 74 2e 67 65 74 43 68 69 6c 64 28 61 4e 65 77 49 6e | vChild.=.aParent.getChild(aNewIn |
1c6ac0 | 64 65 78 20 2d 20 31 29 3b 0a 20 20 20 20 20 20 20 20 6e 65 77 56 69 65 77 49 6e 64 65 78 20 3d | dex.-.1);.........newViewIndex.= |
1c6ae0 | 20 70 72 65 76 43 68 69 6c 64 2e 76 69 65 77 49 6e 64 65 78 20 2b 20 74 68 69 73 2e 5f 63 6f 75 | .prevChild.viewIndex.+.this._cou |
1c6b00 | 6e 74 56 69 73 69 62 6c 65 52 6f 77 73 46 6f 72 49 74 65 6d 28 70 72 65 76 43 68 69 6c 64 29 3b | ntVisibleRowsForItem(prevChild); |
1c6b20 | 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 0a 20 20 20 20 61 49 74 65 6d 2e 76 69 65 77 49 6e | .......}.....}......aItem.viewIn |
1c6b40 | 64 65 78 20 3d 20 6e 65 77 56 69 65 77 49 6e 64 65 78 3b 0a 20 20 20 20 74 68 69 73 2e 5f 76 69 | dex.=.newViewIndex;.....this._vi |
1c6b60 | 73 69 62 6c 65 45 6c 65 6d 65 6e 74 73 2e 73 70 6c 69 63 65 28 6e 65 77 56 69 65 77 49 6e 64 65 | sibleElements.splice(newViewInde |
1c6b80 | 78 2c 20 30 2c 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | x,.0,........................... |
1c6ba0 | 20 20 20 20 20 20 20 20 7b 20 6e 6f 64 65 3a 20 61 49 74 65 6d 2c 20 70 72 6f 70 65 72 74 69 65 | ........{.node:.aItem,.propertie |
1c6bc0 | 73 3a 20 6e 75 6c 6c 20 7d 29 3b 0a 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 6e 65 77 | s:.null.});.....for.(var.i.=.new |
1c6be0 | 56 69 65 77 49 6e 64 65 78 20 2b 20 31 3b 0a 20 20 20 20 20 20 20 20 20 69 20 3c 20 74 68 69 73 | ViewIndex.+.1;..........i.<.this |
1c6c00 | 2e 5f 76 69 73 69 62 6c 65 45 6c 65 6d 65 6e 74 73 2e 6c 65 6e 67 74 68 3b 20 69 20 2b 2b 29 20 | ._visibleElements.length;.i.++). |
1c6c20 | 7b 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 76 69 73 69 62 6c 65 45 6c 65 6d 65 6e 74 73 5b 69 5d | {.......this._visibleElements[i] |
1c6c40 | 2e 6e 6f 64 65 2e 76 69 65 77 49 6e 64 65 78 20 3d 20 69 3b 0a 20 20 20 20 7d 0a 20 20 20 20 74 | .node.viewIndex.=.i;.....}.....t |
1c6c60 | 68 69 73 2e 5f 74 72 65 65 2e 72 6f 77 43 6f 75 6e 74 43 68 61 6e 67 65 64 28 6e 65 77 56 69 65 | his._tree.rowCountChanged(newVie |
1c6c80 | 77 49 6e 64 65 78 2c 20 31 29 3b 0a 0a 20 20 20 20 2f 2f 20 4e 65 65 64 20 74 6f 20 72 65 64 72 | wIndex,.1);......//.Need.to.redr |
1c6ca0 | 61 77 20 74 68 65 20 72 6f 77 73 20 61 72 6f 75 6e 64 20 74 68 69 73 20 6f 6e 65 20 62 65 63 61 | aw.the.rows.around.this.one.beca |
1c6cc0 | 75 73 65 20 73 65 73 73 69 6f 6e 20 62 6f 75 6e 64 61 72 69 65 73 0a 20 20 20 20 2f 2f 20 6d 61 | use.session.boundaries.....//.ma |
1c6ce0 | 79 20 68 61 76 65 20 63 68 61 6e 67 65 64 2e 20 46 6f 72 20 65 78 61 6d 70 6c 65 2c 20 69 66 20 | y.have.changed..For.example,.if. |
1c6d00 | 77 65 20 61 64 64 20 61 20 70 61 67 65 20 74 6f 20 61 20 73 65 73 73 69 6f 6e 2c 20 74 68 65 0a | we.add.a.page.to.a.session,.the. |
1c6d20 | 20 20 20 20 2f 2f 20 70 72 65 76 69 6f 75 73 20 70 61 67 65 20 77 69 6c 6c 20 6e 65 65 64 20 74 | ....//.previous.page.will.need.t |
1c6d40 | 6f 20 62 65 20 72 65 64 72 61 77 6e 20 62 65 63 61 75 73 65 20 69 74 73 20 73 65 73 73 69 6f 6e | o.be.redrawn.because.its.session |
1c6d60 | 20 62 6f 72 64 65 72 0a 20 20 20 20 2f 2f 20 77 69 6c 6c 20 64 69 73 61 70 70 65 61 72 2e 0a 20 | .border.....//.will.disappear... |
1c6d80 | 20 20 20 69 66 20 28 74 68 69 73 2e 5f 73 68 6f 77 53 65 73 73 69 6f 6e 73 29 20 7b 0a 20 20 20 | ...if.(this._showSessions).{.... |
1c6da0 | 20 20 20 69 66 20 28 6e 65 77 56 69 65 77 49 6e 64 65 78 20 3e 20 30 29 0a 20 20 20 20 20 20 20 | ...if.(newViewIndex.>.0)........ |
1c6dc0 | 20 74 68 69 73 2e 5f 74 72 65 65 2e 69 6e 76 61 6c 69 64 61 74 65 52 61 6e 67 65 28 6e 65 77 56 | .this._tree.invalidateRange(newV |
1c6de0 | 69 65 77 49 6e 64 65 78 20 2d 20 31 2c 20 6e 65 77 56 69 65 77 49 6e 64 65 78 20 2d 20 31 29 3b | iewIndex.-.1,.newViewIndex.-.1); |
1c6e00 | 0a 20 20 20 20 20 20 69 66 20 28 6e 65 77 56 69 65 77 49 6e 64 65 78 20 3c 20 74 68 69 73 2e 5f | .......if.(newViewIndex.<.this._ |
1c6e20 | 76 69 73 69 62 6c 65 45 6c 65 6d 65 6e 74 73 2e 6c 65 6e 67 74 68 20 2d 31 29 0a 20 20 20 20 20 | visibleElements.length.-1)...... |
1c6e40 | 20 20 20 74 68 69 73 2e 5f 74 72 65 65 2e 69 6e 76 61 6c 69 64 61 74 65 52 61 6e 67 65 28 6e 65 | ...this._tree.invalidateRange(ne |
1c6e60 | 77 56 69 65 77 49 6e 64 65 78 20 2b 20 31 2c 20 6e 65 77 56 69 65 77 49 6e 64 65 78 20 2b 20 31 | wViewIndex.+.1,.newViewIndex.+.1 |
1c6e80 | 29 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 69 66 20 28 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f | );.....}......if.(PlacesUtils.no |
1c6ea0 | 64 65 49 73 43 6f 6e 74 61 69 6e 65 72 28 61 49 74 65 6d 29 20 26 26 20 61 73 43 6f 6e 74 61 69 | deIsContainer(aItem).&&.asContai |
1c6ec0 | 6e 65 72 28 61 49 74 65 6d 29 2e 63 6f 6e 74 61 69 6e 65 72 4f 70 65 6e 29 0a 20 20 20 20 20 20 | ner(aItem).containerOpen)....... |
1c6ee0 | 74 68 69 73 2e 5f 72 65 66 72 65 73 68 56 69 73 69 62 6c 65 53 65 63 74 69 6f 6e 28 61 49 74 65 | this._refreshVisibleSection(aIte |
1c6f00 | 6d 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2f 20 74 68 69 73 20 69 73 20 75 73 65 64 20 69 6e 20 69 | m);...},....//.this.is.used.in.i |
1c6f20 | 74 65 6d 52 65 6d 6f 76 65 64 20 61 6e 64 20 69 74 65 6d 4d 6f 76 65 64 20 74 6f 20 66 69 78 20 | temRemoved.and.itemMoved.to.fix. |
1c6f40 | 76 69 65 77 49 6e 64 65 78 20 76 61 6c 75 65 73 0a 20 20 2f 2f 20 74 68 72 6f 77 20 69 66 20 74 | viewIndex.values...//.throw.if.t |
1c6f60 | 68 65 20 69 74 65 6d 20 68 61 73 20 61 6e 20 69 6e 76 61 6c 69 64 20 76 69 65 77 49 6e 64 65 78 | he.item.has.an.invalid.viewIndex |
1c6f80 | 0a 20 20 5f 66 69 78 56 69 65 77 49 6e 64 65 78 4f 6e 52 65 6d 6f 76 65 3a 20 66 75 6e 63 74 69 | ..._fixViewIndexOnRemove:.functi |
1c6fa0 | 6f 6e 20 50 54 56 5f 66 69 78 56 69 65 77 49 6e 64 65 78 4f 6e 52 65 6d 6f 76 65 28 61 49 74 65 | on.PTV_fixViewIndexOnRemove(aIte |
1c6fc0 | 6d 2c 20 61 50 61 72 65 6e 74 29 20 7b 0a 20 20 20 20 76 61 72 20 6f 6c 64 56 69 65 77 49 6e 64 | m,.aParent).{.....var.oldViewInd |
1c6fe0 | 65 78 20 3d 20 61 49 74 65 6d 2e 76 69 65 77 49 6e 64 65 78 3b 0a 20 20 20 20 2f 2f 20 74 68 69 | ex.=.aItem.viewIndex;.....//.thi |
1c7000 | 73 20 6d 61 79 20 68 61 76 65 20 62 65 65 6e 20 61 20 63 6f 6e 74 61 69 6e 65 72 2c 20 69 6e 20 | s.may.have.been.a.container,.in. |
1c7020 | 77 68 69 63 68 20 63 61 73 65 20 69 74 20 68 61 73 20 61 20 6c 6f 74 20 6f 66 20 72 6f 77 73 0a | which.case.it.has.a.lot.of.rows. |
1c7040 | 20 20 20 20 76 61 72 20 63 6f 75 6e 74 20 3d 20 74 68 69 73 2e 5f 63 6f 75 6e 74 56 69 73 69 62 | ....var.count.=.this._countVisib |
1c7060 | 6c 65 52 6f 77 73 46 6f 72 49 74 65 6d 28 61 49 74 65 6d 29 3b 0a 0a 20 20 20 20 69 66 20 28 6f | leRowsForItem(aItem);......if.(o |
1c7080 | 6c 64 56 69 65 77 49 6e 64 65 78 20 3e 20 74 68 69 73 2e 5f 76 69 73 69 62 6c 65 45 6c 65 6d 65 | ldViewIndex.>.this._visibleEleme |
1c70a0 | 6e 74 73 2e 6c 65 6e 67 74 68 29 0a 20 20 20 20 20 20 74 68 72 6f 77 28 22 54 72 79 69 6e 67 20 | nts.length).......throw("Trying. |
1c70c0 | 74 6f 20 72 65 6d 6f 76 65 20 61 6e 20 69 74 65 6d 20 77 69 74 68 20 61 6e 20 69 6e 76 61 6c 69 | to.remove.an.item.with.an.invali |
1c70e0 | 64 20 76 69 65 77 49 6e 64 65 78 22 29 3b 0a 0a 20 20 20 20 74 68 69 73 2e 5f 76 69 73 69 62 6c | d.viewIndex");......this._visibl |
1c7100 | 65 45 6c 65 6d 65 6e 74 73 2e 73 70 6c 69 63 65 28 6f 6c 64 56 69 65 77 49 6e 64 65 78 2c 20 63 | eElements.splice(oldViewIndex,.c |
1c7120 | 6f 75 6e 74 29 3b 0a 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 6f 6c 64 56 69 65 77 49 | ount);.....for.(var.i.=.oldViewI |
1c7140 | 6e 64 65 78 3b 20 69 20 3c 20 74 68 69 73 2e 5f 76 69 73 69 62 6c 65 45 6c 65 6d 65 6e 74 73 2e | ndex;.i.<.this._visibleElements. |
1c7160 | 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 76 69 73 69 62 6c 65 | length;.i++).......this._visible |
1c7180 | 45 6c 65 6d 65 6e 74 73 5b 69 5d 2e 6e 6f 64 65 2e 76 69 65 77 49 6e 64 65 78 20 3d 20 69 3b 0a | Elements[i].node.viewIndex.=.i;. |
1c71a0 | 0a 20 20 20 20 74 68 69 73 2e 5f 74 72 65 65 2e 72 6f 77 43 6f 75 6e 74 43 68 61 6e 67 65 64 28 | .....this._tree.rowCountChanged( |
1c71c0 | 6f 6c 64 56 69 65 77 49 6e 64 65 78 2c 20 2d 63 6f 75 6e 74 29 3b 0a 0a 20 20 20 20 2f 2f 20 72 | oldViewIndex,.-count);......//.r |
1c71e0 | 65 64 72 61 77 20 70 61 72 65 6e 74 20 62 65 63 61 75 73 65 20 74 77 69 73 74 79 20 6d 61 79 20 | edraw.parent.because.twisty.may. |
1c7200 | 68 61 76 65 20 63 68 61 6e 67 65 64 0a 20 20 20 20 69 66 20 28 21 61 50 61 72 65 6e 74 2e 68 61 | have.changed.....if.(!aParent.ha |
1c7220 | 73 43 68 69 6c 64 72 65 6e 29 0a 20 20 20 20 20 20 74 68 69 73 2e 69 74 65 6d 43 68 61 6e 67 65 | sChildren).......this.itemChange |
1c7240 | 64 28 61 50 61 72 65 6e 74 29 3b 0a 0a 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 7d 2c 0a 0a 20 | d(aParent);......return;...},... |
1c7260 | 20 2f 2a 2a 0a 20 20 20 2a 20 54 48 49 53 20 46 55 4e 43 54 49 4f 4e 20 44 4f 45 53 20 4e 4f 54 | ./**....*.THIS.FUNCTION.DOES.NOT |
1c7280 | 20 48 41 4e 44 4c 45 20 63 61 73 65 73 20 77 68 65 72 65 20 61 20 63 6f 6c 6c 61 70 73 65 64 20 | .HANDLE.cases.where.a.collapsed. |
1c72a0 | 6e 6f 64 65 20 69 73 20 62 65 69 6e 67 0a 20 20 20 2a 20 72 65 6d 6f 76 65 64 20 62 75 74 20 74 | node.is.being....*.removed.but.t |
1c72c0 | 68 65 20 6e 6f 64 65 20 69 74 20 69 73 20 63 6f 6c 6c 61 70 73 65 64 20 77 69 74 68 20 69 73 20 | he.node.it.is.collapsed.with.is. |
1c72e0 | 6e 6f 74 20 62 65 69 6e 67 20 72 65 6d 6f 76 65 64 20 28 74 68 69 73 20 74 68 65 6e 0a 20 20 20 | not.being.removed.(this.then.... |
1c7300 | 2a 20 6a 75 73 74 20 73 77 61 70 20 6f 75 74 20 74 68 65 20 72 65 6d 6f 76 65 65 20 77 69 74 68 | *.just.swap.out.the.removee.with |
1c7320 | 20 69 74 73 20 63 6f 6c 6c 61 70 73 69 6e 67 20 70 61 72 74 6e 65 72 29 2e 20 54 68 65 20 6f 6e | .its.collapsing.partner)..The.on |
1c7340 | 6c 79 20 74 69 6d 65 0a 20 20 20 2a 20 77 68 65 6e 20 77 65 20 72 65 61 6c 6c 79 20 72 65 6d 6f | ly.time....*.when.we.really.remo |
1c7360 | 76 65 20 74 68 69 6e 67 73 20 69 73 20 77 68 65 6e 20 64 65 6c 65 74 69 6e 67 20 55 52 49 73 2c | ve.things.is.when.deleting.URIs, |
1c7380 | 20 77 68 69 63 68 20 77 69 6c 6c 20 61 70 70 6c 79 20 74 6f 0a 20 20 20 2a 20 61 6c 6c 20 63 6f | .which.will.apply.to....*.all.co |
1c73a0 | 6c 6c 61 70 73 65 65 73 2e 20 54 68 69 73 20 66 75 6e 63 74 69 6f 6e 20 69 73 20 63 61 6c 6c 65 | llapsees..This.function.is.calle |
1c73c0 | 64 20 73 6f 6d 65 74 69 6d 65 73 20 77 68 65 6e 20 72 65 73 6f 72 74 69 6e 67 20 69 74 65 6d 73 | d.sometimes.when.resorting.items |
1c73e0 | 2e 0a 20 20 20 2a 20 48 6f 77 65 76 65 72 2c 20 77 65 20 77 6f 6e 27 74 20 64 6f 20 74 68 69 73 | .....*.However,.we.won't.do.this |
1c7400 | 20 77 68 65 6e 20 73 6f 72 74 65 64 20 62 79 20 64 61 74 65 20 62 65 63 61 75 73 65 20 64 61 74 | .when.sorted.by.date.because.dat |
1c7420 | 65 73 20 77 69 6c 6c 20 6e 65 76 65 72 0a 20 20 20 2a 20 63 68 61 6e 67 65 20 66 6f 72 20 76 69 | es.will.never....*.change.for.vi |
1c7440 | 73 69 74 73 2c 20 61 6e 64 20 64 61 74 65 20 73 6f 72 74 69 6e 67 20 69 73 20 74 68 65 20 6f 6e | sits,.and.date.sorting.is.the.on |
1c7460 | 6c 79 20 74 69 6d 65 20 74 68 69 6e 67 73 20 61 72 65 20 63 6f 6c 6c 61 70 73 65 64 2e 0a 20 20 | ly.time.things.are.collapsed.... |
1c7480 | 20 2a 2f 0a 20 20 69 74 65 6d 52 65 6d 6f 76 65 64 3a 20 66 75 6e 63 74 69 6f 6e 20 50 54 56 5f | .*/...itemRemoved:.function.PTV_ |
1c74a0 | 69 74 65 6d 52 65 6d 6f 76 65 64 28 61 50 61 72 65 6e 74 2c 20 61 49 74 65 6d 2c 20 61 4f 6c 64 | itemRemoved(aParent,.aItem,.aOld |
1c74c0 | 49 6e 64 65 78 29 20 7b 0a 20 20 20 20 4e 53 5f 41 53 53 45 52 54 28 74 68 69 73 2e 5f 72 65 73 | Index).{.....NS_ASSERT(this._res |
1c74e0 | 75 6c 74 2c 20 22 47 6f 74 20 61 20 6e 6f 74 69 66 69 63 61 74 69 6f 6e 20 62 75 74 20 68 61 76 | ult,."Got.a.notification.but.hav |
1c7500 | 65 20 6e 6f 20 72 65 73 75 6c 74 21 22 29 3b 0a 20 20 20 20 69 66 20 28 21 74 68 69 73 2e 5f 74 | e.no.result!");.....if.(!this._t |
1c7520 | 72 65 65 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 20 2f 2f 20 6e 6f 74 68 69 6e 67 20 74 6f | ree).......return;.//.nothing.to |
1c7540 | 20 64 6f 0a 0a 20 20 20 20 76 61 72 20 6f 6c 64 56 69 65 77 49 6e 64 65 78 20 3d 20 61 49 74 65 | .do......var.oldViewIndex.=.aIte |
1c7560 | 6d 2e 76 69 65 77 49 6e 64 65 78 3b 0a 20 20 20 20 69 66 20 28 6f 6c 64 56 69 65 77 49 6e 64 65 | m.viewIndex;.....if.(oldViewInde |
1c7580 | 78 20 3c 20 30 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 20 2f 2f 20 69 74 65 6d 20 77 61 73 | x.<.0).......return;.//.item.was |
1c75a0 | 20 61 6c 72 65 61 64 79 20 69 6e 76 69 73 69 62 6c 65 2c 20 6e 6f 74 68 69 6e 67 20 74 6f 20 64 | .already.invisible,.nothing.to.d |
1c75c0 | 6f 0a 0a 20 20 20 20 2f 2f 20 69 66 20 74 68 65 20 69 74 65 6d 20 77 61 73 20 65 78 63 6c 75 73 | o......//.if.the.item.was.exclus |
1c75e0 | 69 76 65 6c 79 20 73 65 6c 65 63 74 65 64 2c 20 74 68 65 20 6e 6f 64 65 20 6e 65 78 74 20 74 6f | ively.selected,.the.node.next.to |
1c7600 | 20 69 74 20 77 69 6c 6c 20 62 65 0a 20 20 20 20 2f 2f 20 73 65 6c 65 63 74 65 64 0a 20 20 20 20 | .it.will.be.....//.selected..... |
1c7620 | 76 61 72 20 73 65 6c 65 63 74 4e 65 78 74 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 76 61 72 20 | var.selectNext.=.false;.....var. |
1c7640 | 73 65 6c 65 63 74 69 6f 6e 20 3d 20 74 68 69 73 2e 73 65 6c 65 63 74 69 6f 6e 3b 0a 20 20 20 20 | selection.=.this.selection;..... |
1c7660 | 69 66 20 28 73 65 6c 65 63 74 69 6f 6e 2e 67 65 74 52 61 6e 67 65 43 6f 75 6e 74 28 29 20 3d 3d | if.(selection.getRangeCount().== |
1c7680 | 20 31 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 6d 69 6e 20 3d 20 7b 20 7d 2c 20 6d 61 78 20 3d | .1).{.......var.min.=.{.},.max.= |
1c76a0 | 20 7b 20 7d 3b 0a 20 20 20 20 20 20 73 65 6c 65 63 74 69 6f 6e 2e 67 65 74 52 61 6e 67 65 41 74 | .{.};.......selection.getRangeAt |
1c76c0 | 28 30 2c 20 6d 69 6e 2c 20 6d 61 78 29 3b 0a 20 20 20 20 20 20 69 66 20 28 6d 69 6e 2e 76 61 6c | (0,.min,.max);.......if.(min.val |
1c76e0 | 75 65 20 3d 3d 20 6d 61 78 2e 76 61 6c 75 65 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 | ue.==.max.value.&&...........thi |
1c7700 | 73 2e 6e 6f 64 65 46 6f 72 54 72 65 65 49 6e 64 65 78 28 6d 69 6e 2e 76 61 6c 75 65 29 20 3d 3d | s.nodeForTreeIndex(min.value).== |
1c7720 | 20 61 49 74 65 6d 29 0a 20 20 20 20 20 20 20 20 73 65 6c 65 63 74 4e 65 78 74 20 3d 20 74 72 75 | .aItem).........selectNext.=.tru |
1c7740 | 65 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 2f 2f 20 72 65 6d 6f 76 65 20 74 68 65 20 69 74 65 6d | e;.....}......//.remove.the.item |
1c7760 | 20 61 6e 64 20 66 69 78 20 76 69 65 77 49 6e 64 65 78 20 76 61 6c 75 65 73 0a 20 20 20 20 74 68 | .and.fix.viewIndex.values.....th |
1c7780 | 69 73 2e 5f 66 69 78 56 69 65 77 49 6e 64 65 78 4f 6e 52 65 6d 6f 76 65 28 61 49 74 65 6d 2c 20 | is._fixViewIndexOnRemove(aItem,. |
1c77a0 | 61 50 61 72 65 6e 74 29 3b 0a 0a 20 20 20 20 2f 2f 20 72 65 73 74 6f 72 65 20 73 65 6c 65 63 74 | aParent);......//.restore.select |
1c77c0 | 69 6f 6e 20 69 66 20 74 68 65 20 69 74 65 6d 20 77 61 73 20 65 78 63 6c 75 73 69 76 65 6c 79 20 | ion.if.the.item.was.exclusively. |
1c77e0 | 73 65 6c 65 63 74 65 64 0a 20 20 20 20 69 66 20 28 21 73 65 6c 65 63 74 4e 65 78 74 29 0a 20 20 | selected.....if.(!selectNext)... |
1c7800 | 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 20 20 2f 2f 20 72 65 73 74 6f 72 65 20 73 65 6c 65 63 | ....return;.....//.restore.selec |
1c7820 | 74 69 6f 6e 0a 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 76 69 73 69 62 6c 65 45 6c 65 6d 65 6e | tion.....if.(this._visibleElemen |
1c7840 | 74 73 2e 6c 65 6e 67 74 68 20 3e 20 6f 6c 64 56 69 65 77 49 6e 64 65 78 29 0a 20 20 20 20 20 20 | ts.length.>.oldViewIndex)....... |
1c7860 | 73 65 6c 65 63 74 69 6f 6e 2e 72 61 6e 67 65 64 53 65 6c 65 63 74 28 6f 6c 64 56 69 65 77 49 6e | selection.rangedSelect(oldViewIn |
1c7880 | 64 65 78 2c 20 6f 6c 64 56 69 65 77 49 6e 64 65 78 2c 20 74 72 75 65 29 3b 20 20 20 20 0a 20 20 | dex,.oldViewIndex,.true);....... |
1c78a0 | 20 20 65 6c 73 65 20 69 66 20 28 74 68 69 73 2e 5f 76 69 73 69 62 6c 65 45 6c 65 6d 65 6e 74 73 | ..else.if.(this._visibleElements |
1c78c0 | 2e 6c 65 6e 67 74 68 20 3e 20 30 29 20 7b 0a 20 20 20 20 20 20 2f 2f 20 69 66 20 77 65 20 72 65 | .length.>.0).{.......//.if.we.re |
1c78e0 | 6d 6f 76 65 64 20 74 68 65 20 6c 61 73 74 20 63 68 69 6c 64 2c 20 77 65 20 73 65 6c 65 63 74 20 | moved.the.last.child,.we.select. |
1c7900 | 74 68 65 20 6e 65 77 20 6c 61 73 74 20 63 68 69 6c 64 20 69 66 20 65 78 69 73 74 73 0a 20 20 20 | the.new.last.child.if.exists.... |
1c7920 | 20 20 20 73 65 6c 65 63 74 69 6f 6e 2e 72 61 6e 67 65 64 53 65 6c 65 63 74 28 74 68 69 73 2e 5f | ...selection.rangedSelect(this._ |
1c7940 | 76 69 73 69 62 6c 65 45 6c 65 6d 65 6e 74 73 2e 6c 65 6e 67 74 68 20 2d 20 31 2c 0a 20 20 20 20 | visibleElements.length.-.1,..... |
1c7960 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 76 | .........................this._v |
1c7980 | 69 73 69 62 6c 65 45 6c 65 6d 65 6e 74 73 2e 6c 65 6e 67 74 68 20 2d 20 31 2c 20 74 72 75 65 29 | isibleElements.length.-.1,.true) |
1c79a0 | 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 42 65 20 63 61 72 65 | ;.....}...},..../**....*.Be.care |
1c79c0 | 66 75 6c 2c 20 61 4f 6c 64 49 6e 64 65 78 20 61 6e 64 20 61 4e 65 77 49 6e 64 65 78 20 73 70 65 | ful,.aOldIndex.and.aNewIndex.spe |
1c79e0 | 63 69 66 79 20 74 68 65 20 69 6e 64 65 78 20 69 6e 20 74 68 65 0a 20 20 20 2a 20 63 6f 72 72 65 | cify.the.index.in.the....*.corre |
1c7a00 | 73 70 6f 6e 64 69 6e 67 20 70 61 72 65 6e 74 20 6e 6f 64 65 73 2c 20 6e 6f 74 20 74 68 65 20 76 | sponding.parent.nodes,.not.the.v |
1c7a20 | 69 73 69 62 6c 65 20 69 6e 64 65 78 65 73 2e 0a 20 20 20 2a 2f 0a 20 20 69 74 65 6d 4d 6f 76 65 | isible.indexes.....*/...itemMove |
1c7a40 | 64 3a 0a 20 20 66 75 6e 63 74 69 6f 6e 20 50 54 56 5f 69 74 65 6d 4d 6f 76 65 64 28 61 49 74 65 | d:...function.PTV_itemMoved(aIte |
1c7a60 | 6d 2c 20 61 4f 6c 64 50 61 72 65 6e 74 2c 20 61 4f 6c 64 49 6e 64 65 78 2c 20 61 4e 65 77 50 61 | m,.aOldParent,.aOldIndex,.aNewPa |
1c7a80 | 72 65 6e 74 2c 20 61 4e 65 77 49 6e 64 65 78 29 20 7b 0a 20 20 20 20 4e 53 5f 41 53 53 45 52 54 | rent,.aNewIndex).{.....NS_ASSERT |
1c7aa0 | 28 74 68 69 73 2e 5f 72 65 73 75 6c 74 2c 20 22 47 6f 74 20 61 20 6e 6f 74 69 66 69 63 61 74 69 | (this._result,."Got.a.notificati |
1c7ac0 | 6f 6e 20 62 75 74 20 68 61 76 65 20 6e 6f 20 72 65 73 75 6c 74 21 22 29 3b 0a 20 20 20 20 69 66 | on.but.have.no.result!");.....if |
1c7ae0 | 20 28 21 74 68 69 73 2e 5f 74 72 65 65 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 20 2f 2f 20 | .(!this._tree).......return;.//. |
1c7b00 | 6e 6f 74 68 69 6e 67 20 74 6f 20 64 6f 0a 0a 20 20 20 20 76 61 72 20 6f 6c 64 56 69 65 77 49 6e | nothing.to.do......var.oldViewIn |
1c7b20 | 64 65 78 20 3d 20 61 49 74 65 6d 2e 76 69 65 77 49 6e 64 65 78 3b 0a 20 20 20 20 69 66 20 28 6f | dex.=.aItem.viewIndex;.....if.(o |
1c7b40 | 6c 64 56 69 65 77 49 6e 64 65 78 20 3c 20 30 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 20 2f | ldViewIndex.<.0).......return;./ |
1c7b60 | 2f 20 69 74 65 6d 20 77 61 73 20 61 6c 72 65 61 64 79 20 69 6e 76 69 73 69 62 6c 65 2c 20 6e 6f | /.item.was.already.invisible,.no |
1c7b80 | 74 68 69 6e 67 20 74 6f 20 64 6f 0a 0a 20 20 20 20 2f 2f 20 74 68 69 73 20 6d 61 79 20 68 61 76 | thing.to.do......//.this.may.hav |
1c7ba0 | 65 20 62 65 65 6e 20 61 20 63 6f 6e 74 61 69 6e 65 72 2c 20 69 6e 20 77 68 69 63 68 20 63 61 73 | e.been.a.container,.in.which.cas |
1c7bc0 | 65 20 69 74 20 68 61 73 20 61 20 6c 6f 74 20 6f 66 20 72 6f 77 73 0a 20 20 20 20 76 61 72 20 63 | e.it.has.a.lot.of.rows.....var.c |
1c7be0 | 6f 75 6e 74 20 3d 20 74 68 69 73 2e 5f 63 6f 75 6e 74 56 69 73 69 62 6c 65 52 6f 77 73 46 6f 72 | ount.=.this._countVisibleRowsFor |
1c7c00 | 49 74 65 6d 28 61 49 74 65 6d 29 3b 0a 0a 20 20 20 20 2f 2f 20 50 65 72 73 69 73 74 20 73 65 6c | Item(aItem);......//.Persist.sel |
1c7c20 | 65 63 74 69 6f 6e 20 73 74 61 74 65 0a 20 20 20 20 76 61 72 20 6e 6f 64 65 73 54 6f 53 65 6c 65 | ection.state.....var.nodesToSele |
1c7c40 | 63 74 20 3d 20 5b 5d 3b 0a 20 20 20 20 76 61 72 20 73 65 6c 65 63 74 69 6f 6e 20 3d 20 74 68 69 | ct.=.[];.....var.selection.=.thi |
1c7c60 | 73 2e 73 65 6c 65 63 74 69 6f 6e 3b 0a 20 20 20 20 76 61 72 20 72 63 20 3d 20 73 65 6c 65 63 74 | s.selection;.....var.rc.=.select |
1c7c80 | 69 6f 6e 2e 67 65 74 52 61 6e 67 65 43 6f 75 6e 74 28 29 3b 0a 20 20 20 20 66 6f 72 20 28 76 61 | ion.getRangeCount();.....for.(va |
1c7ca0 | 72 20 72 61 6e 67 65 49 6e 64 65 78 20 3d 20 30 3b 20 72 61 6e 67 65 49 6e 64 65 78 20 3c 20 72 | r.rangeIndex.=.0;.rangeIndex.<.r |
1c7cc0 | 63 3b 20 72 61 6e 67 65 49 6e 64 65 78 2b 2b 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 6d 69 6e | c;.rangeIndex++).{.......var.min |
1c7ce0 | 20 3d 20 7b 20 7d 2c 20 6d 61 78 20 3d 20 7b 20 7d 3b 0a 20 20 20 20 20 20 73 65 6c 65 63 74 69 | .=.{.},.max.=.{.};.......selecti |
1c7d00 | 6f 6e 2e 67 65 74 52 61 6e 67 65 41 74 28 72 61 6e 67 65 49 6e 64 65 78 2c 20 6d 69 6e 2c 20 6d | on.getRangeAt(rangeIndex,.min,.m |
1c7d20 | 61 78 29 3b 0a 20 20 20 20 20 20 76 61 72 20 6c 61 73 74 49 6e 64 65 78 20 3d 20 4d 61 74 68 2e | ax);.......var.lastIndex.=.Math. |
1c7d40 | 6d 69 6e 28 6d 61 78 2e 76 61 6c 75 65 2c 20 6f 6c 64 56 69 65 77 49 6e 64 65 78 20 2b 20 63 6f | min(max.value,.oldViewIndex.+.co |
1c7d60 | 75 6e 74 20 2d 31 29 3b 0a 20 20 20 20 20 20 69 66 20 28 6d 69 6e 2e 76 61 6c 75 65 20 3c 20 6f | unt.-1);.......if.(min.value.<.o |
1c7d80 | 6c 64 56 69 65 77 49 6e 64 65 78 20 7c 7c 20 6d 69 6e 2e 76 61 6c 75 65 20 3e 20 6c 61 73 74 49 | ldViewIndex.||.min.value.>.lastI |
1c7da0 | 6e 64 65 78 29 0a 20 20 20 20 20 20 20 20 63 6f 6e 74 69 6e 75 65 3b 0a 0a 20 20 20 20 20 20 66 | ndex).........continue;........f |
1c7dc0 | 6f 72 20 28 76 61 72 20 6e 6f 64 65 49 6e 64 65 78 20 3d 20 6d 69 6e 2e 76 61 6c 75 65 3b 20 6e | or.(var.nodeIndex.=.min.value;.n |
1c7de0 | 6f 64 65 49 6e 64 65 78 20 3c 3d 20 6c 61 73 74 49 6e 64 65 78 3b 20 6e 6f 64 65 49 6e 64 65 78 | odeIndex.<=.lastIndex;.nodeIndex |
1c7e00 | 2b 2b 29 0a 20 20 20 20 20 20 20 20 6e 6f 64 65 73 54 6f 53 65 6c 65 63 74 2e 70 75 73 68 28 74 | ++).........nodesToSelect.push(t |
1c7e20 | 68 69 73 2e 5f 76 69 73 69 62 6c 65 45 6c 65 6d 65 6e 74 73 5b 6e 6f 64 65 49 6e 64 65 78 5d 2e | his._visibleElements[nodeIndex]. |
1c7e40 | 6e 6f 64 65 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 69 66 20 28 6e 6f 64 65 73 54 6f 53 65 6c 65 | node);.....}.....if.(nodesToSele |
1c7e60 | 63 74 2e 6c 65 6e 67 74 68 20 3e 20 30 29 0a 20 20 20 20 20 20 73 65 6c 65 63 74 69 6f 6e 2e 73 | ct.length.>.0).......selection.s |
1c7e80 | 65 6c 65 63 74 45 76 65 6e 74 73 53 75 70 70 72 65 73 73 65 64 20 3d 20 74 72 75 65 3b 0a 0a 20 | electEventsSuppressed.=.true;... |
1c7ea0 | 20 20 20 2f 2f 20 72 65 6d 6f 76 65 20 69 74 65 6d 20 66 72 6f 6d 20 74 68 65 20 6f 6c 64 20 70 | ...//.remove.item.from.the.old.p |
1c7ec0 | 6f 73 69 74 69 6f 6e 0a 20 20 20 20 74 68 69 73 2e 5f 66 69 78 56 69 65 77 49 6e 64 65 78 4f 6e | osition.....this._fixViewIndexOn |
1c7ee0 | 52 65 6d 6f 76 65 28 61 49 74 65 6d 2c 20 61 4f 6c 64 50 61 72 65 6e 74 29 3b 0a 0a 20 20 20 20 | Remove(aItem,.aOldParent);...... |
1c7f00 | 2f 2f 20 69 6e 73 65 72 74 20 74 68 65 20 69 74 65 6d 20 69 6e 74 6f 20 74 68 65 20 6e 65 77 20 | //.insert.the.item.into.the.new. |
1c7f20 | 70 6f 73 69 74 69 6f 6e 0a 20 20 20 20 74 68 69 73 2e 69 74 65 6d 49 6e 73 65 72 74 65 64 28 61 | position.....this.itemInserted(a |
1c7f40 | 4e 65 77 50 61 72 65 6e 74 2c 20 61 49 74 65 6d 2c 20 61 4e 65 77 49 6e 64 65 78 29 3b 0a 0a 20 | NewParent,.aItem,.aNewIndex);... |
1c7f60 | 20 20 20 2f 2f 20 72 65 73 74 6f 72 65 20 73 65 6c 65 63 74 69 6f 6e 0a 20 20 20 20 69 66 20 28 | ...//.restore.selection.....if.( |
1c7f80 | 6e 6f 64 65 73 54 6f 53 65 6c 65 63 74 2e 6c 65 6e 67 74 68 20 3e 20 30 29 20 7b 0a 20 20 20 20 | nodesToSelect.length.>.0).{..... |
1c7fa0 | 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 6e 6f 64 65 73 54 6f 53 65 6c | ..for.(var.i.=.0;.i.<.nodesToSel |
1c7fc0 | 65 63 74 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 20 7b 0a 20 20 20 20 20 20 20 20 76 61 72 20 6e | ect.length;.i++).{.........var.n |
1c7fe0 | 6f 64 65 20 3d 20 6e 6f 64 65 73 54 6f 53 65 6c 65 63 74 5b 69 5d 3b 0a 20 20 20 20 20 20 20 20 | ode.=.nodesToSelect[i];......... |
1c8000 | 76 61 72 20 69 6e 64 65 78 20 3d 20 6e 6f 64 65 2e 76 69 65 77 49 6e 64 65 78 3b 0a 20 20 20 20 | var.index.=.node.viewIndex;..... |
1c8020 | 20 20 20 20 73 65 6c 65 63 74 69 6f 6e 2e 72 61 6e 67 65 64 53 65 6c 65 63 74 28 69 6e 64 65 78 | ....selection.rangedSelect(index |
1c8040 | 2c 20 69 6e 64 65 78 2c 20 74 72 75 65 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 73 65 | ,.index,.true);.......}.......se |
1c8060 | 6c 65 63 74 69 6f 6e 2e 73 65 6c 65 63 74 45 76 65 6e 74 73 53 75 70 70 72 65 73 73 65 64 20 3d | lection.selectEventsSuppressed.= |
1c8080 | 20 66 61 6c 73 65 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 42 | .false;.....}...},..../**....*.B |
1c80a0 | 65 20 63 61 72 65 66 75 6c 2c 20 74 68 65 20 70 61 72 61 6d 65 74 65 72 20 27 61 49 6e 64 65 78 | e.careful,.the.parameter.'aIndex |
1c80c0 | 27 20 68 65 72 65 20 73 70 65 63 69 66 69 65 73 20 74 68 65 20 69 6e 64 65 78 20 69 6e 20 74 68 | '.here.specifies.the.index.in.th |
1c80e0 | 65 20 70 61 72 65 6e 74 0a 20 20 20 2a 20 6e 6f 64 65 20 6f 66 20 74 68 65 20 69 74 65 6d 2c 20 | e.parent....*.node.of.the.item,. |
1c8100 | 6e 6f 74 20 74 68 65 20 76 69 73 69 62 6c 65 20 69 6e 64 65 78 2e 0a 20 20 20 2a 0a 20 20 20 2a | not.the.visible.index.....*....* |
1c8120 | 20 54 68 69 73 20 69 73 20 63 61 6c 6c 65 64 20 66 72 6f 6d 20 74 68 65 20 72 65 73 75 6c 74 20 | .This.is.called.from.the.result. |
1c8140 | 77 68 65 6e 20 74 68 65 20 69 74 65 6d 20 69 73 20 72 65 70 6c 61 63 65 64 2c 20 62 75 74 20 74 | when.the.item.is.replaced,.but.t |
1c8160 | 68 69 73 20 6f 62 6a 65 63 74 0a 20 20 20 2a 20 63 61 6c 6c 73 20 74 68 69 73 20 66 75 6e 63 74 | his.object....*.calls.this.funct |
1c8180 | 69 6f 6e 20 69 6e 74 65 72 6e 61 6c 6c 79 20 61 6c 73 6f 20 77 68 65 6e 20 64 75 70 6c 69 63 61 | ion.internally.also.when.duplica |
1c81a0 | 74 65 20 63 6f 6c 6c 61 70 73 69 6e 67 20 63 68 61 6e 67 65 73 2e 20 49 6e 0a 20 20 20 2a 20 74 | te.collapsing.changes..In....*.t |
1c81c0 | 68 69 73 20 63 61 73 65 2c 20 61 49 6e 64 65 78 20 77 69 6c 6c 20 62 65 20 30 2c 20 73 6f 20 77 | his.case,.aIndex.will.be.0,.so.w |
1c81e0 | 65 20 73 68 6f 75 6c 64 20 62 65 20 63 61 72 65 66 75 6c 20 6e 6f 74 20 74 6f 20 75 73 65 20 74 | e.should.be.careful.not.to.use.t |
1c8200 | 68 65 20 76 61 6c 75 65 2e 0a 20 20 20 2a 2f 0a 20 20 69 74 65 6d 52 65 70 6c 61 63 65 64 3a 0a | he.value.....*/...itemReplaced:. |
1c8220 | 20 20 66 75 6e 63 74 69 6f 6e 20 50 54 56 5f 69 74 65 6d 52 65 70 6c 61 63 65 64 28 61 50 61 72 | ..function.PTV_itemReplaced(aPar |
1c8240 | 65 6e 74 2c 20 61 4f 6c 64 49 74 65 6d 2c 20 61 4e 65 77 49 74 65 6d 2c 20 61 49 6e 64 65 78 44 | ent,.aOldItem,.aNewItem,.aIndexD |
1c8260 | 6f 4e 6f 74 55 73 65 29 20 7b 0a 20 20 20 20 69 66 20 28 21 74 68 69 73 2e 5f 74 72 65 65 29 0a | oNotUse).{.....if.(!this._tree). |
1c8280 | 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 20 20 76 61 72 20 76 69 65 77 49 6e 64 65 78 | ......return;......var.viewIndex |
1c82a0 | 20 3d 20 61 4f 6c 64 49 74 65 6d 2e 76 69 65 77 49 6e 64 65 78 3b 0a 20 20 20 20 61 4e 65 77 49 | .=.aOldItem.viewIndex;.....aNewI |
1c82c0 | 74 65 6d 2e 76 69 65 77 49 6e 64 65 78 20 3d 20 76 69 65 77 49 6e 64 65 78 3b 0a 20 20 20 20 69 | tem.viewIndex.=.viewIndex;.....i |
1c82e0 | 66 20 28 76 69 65 77 49 6e 64 65 78 20 3e 3d 20 30 20 26 26 0a 20 20 20 20 20 20 20 20 76 69 65 | f.(viewIndex.>=.0.&&.........vie |
1c8300 | 77 49 6e 64 65 78 20 3c 20 74 68 69 73 2e 5f 76 69 73 69 62 6c 65 45 6c 65 6d 65 6e 74 73 2e 6c | wIndex.<.this._visibleElements.l |
1c8320 | 65 6e 67 74 68 29 20 7b 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 76 69 73 69 62 6c 65 45 6c 65 6d | ength).{.......this._visibleElem |
1c8340 | 65 6e 74 73 5b 76 69 65 77 49 6e 64 65 78 5d 2e 6e 6f 64 65 20 3d 20 61 4e 65 77 49 74 65 6d 3b | ents[viewIndex].node.=.aNewItem; |
1c8360 | 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 76 69 73 69 62 6c 65 45 6c 65 6d 65 6e 74 73 5b 76 69 65 | .......this._visibleElements[vie |
1c8380 | 77 49 6e 64 65 78 5d 2e 70 72 6f 70 65 72 74 69 65 73 20 3d 20 6e 75 6c 6c 3b 0a 20 20 20 20 7d | wIndex].properties.=.null;.....} |
1c83a0 | 0a 20 20 20 20 61 4f 6c 64 49 74 65 6d 2e 76 69 65 77 49 6e 64 65 78 20 3d 20 2d 31 3b 0a 20 20 | .....aOldItem.viewIndex.=.-1;... |
1c83c0 | 20 20 74 68 69 73 2e 5f 74 72 65 65 2e 69 6e 76 61 6c 69 64 61 74 65 52 6f 77 28 76 69 65 77 49 | ..this._tree.invalidateRow(viewI |
1c83e0 | 6e 64 65 78 29 3b 0a 20 20 7d 2c 0a 0a 20 20 69 74 65 6d 43 68 61 6e 67 65 64 3a 20 66 75 6e 63 | ndex);...},....itemChanged:.func |
1c8400 | 74 69 6f 6e 20 50 54 56 5f 69 74 65 6d 43 68 61 6e 67 65 64 28 61 49 74 65 6d 29 20 7b 0a 20 20 | tion.PTV_itemChanged(aItem).{... |
1c8420 | 20 20 4e 53 5f 41 53 53 45 52 54 28 74 68 69 73 2e 5f 72 65 73 75 6c 74 2c 20 22 47 6f 74 20 61 | ..NS_ASSERT(this._result,."Got.a |
1c8440 | 20 6e 6f 74 69 66 69 63 61 74 69 6f 6e 20 62 75 74 20 68 61 76 65 20 6e 6f 20 72 65 73 75 6c 74 | .notification.but.have.no.result |
1c8460 | 21 22 29 3b 0a 20 20 20 20 76 61 72 20 76 69 65 77 49 6e 64 65 78 20 3d 20 61 49 74 65 6d 2e 76 | !");.....var.viewIndex.=.aItem.v |
1c8480 | 69 65 77 49 6e 64 65 78 3b 0a 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 74 72 65 65 20 26 26 20 | iewIndex;.....if.(this._tree.&&. |
1c84a0 | 76 69 65 77 49 6e 64 65 78 20 3e 3d 20 30 29 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 74 72 65 65 | viewIndex.>=.0).......this._tree |
1c84c0 | 2e 69 6e 76 61 6c 69 64 61 74 65 52 6f 77 28 76 69 65 77 49 6e 64 65 78 29 3b 0a 20 20 7d 2c 0a | .invalidateRow(viewIndex);...},. |
1c84e0 | 0a 20 20 63 6f 6e 74 61 69 6e 65 72 4f 70 65 6e 65 64 3a 20 66 75 6e 63 74 69 6f 6e 20 50 54 56 | ...containerOpened:.function.PTV |
1c8500 | 5f 63 6f 6e 74 61 69 6e 65 72 4f 70 65 6e 65 64 28 61 49 74 65 6d 29 20 7b 0a 20 20 20 20 74 68 | _containerOpened(aItem).{.....th |
1c8520 | 69 73 2e 69 6e 76 61 6c 69 64 61 74 65 43 6f 6e 74 61 69 6e 65 72 28 61 49 74 65 6d 29 3b 0a 20 | is.invalidateContainer(aItem);.. |
1c8540 | 20 7d 2c 0a 0a 20 20 63 6f 6e 74 61 69 6e 65 72 43 6c 6f 73 65 64 3a 20 66 75 6e 63 74 69 6f 6e | .},....containerClosed:.function |
1c8560 | 20 50 54 56 5f 63 6f 6e 74 61 69 6e 65 72 43 6c 6f 73 65 64 28 61 49 74 65 6d 29 20 7b 0a 20 20 | .PTV_containerClosed(aItem).{... |
1c8580 | 20 20 74 68 69 73 2e 69 6e 76 61 6c 69 64 61 74 65 43 6f 6e 74 61 69 6e 65 72 28 61 49 74 65 6d | ..this.invalidateContainer(aItem |
1c85a0 | 29 3b 0a 20 20 7d 2c 0a 0a 20 20 69 6e 76 61 6c 69 64 61 74 65 43 6f 6e 74 61 69 6e 65 72 3a 20 | );...},....invalidateContainer:. |
1c85c0 | 66 75 6e 63 74 69 6f 6e 20 50 54 56 5f 69 6e 76 61 6c 69 64 61 74 65 43 6f 6e 74 61 69 6e 65 72 | function.PTV_invalidateContainer |
1c85e0 | 28 61 49 74 65 6d 29 20 7b 0a 20 20 20 20 4e 53 5f 41 53 53 45 52 54 28 74 68 69 73 2e 5f 72 65 | (aItem).{.....NS_ASSERT(this._re |
1c8600 | 73 75 6c 74 2c 20 22 47 6f 74 20 61 20 6e 6f 74 69 66 69 63 61 74 69 6f 6e 20 62 75 74 20 68 61 | sult,."Got.a.notification.but.ha |
1c8620 | 76 65 20 6e 6f 20 72 65 73 75 6c 74 21 22 29 3b 0a 20 20 20 20 69 66 20 28 21 74 68 69 73 2e 5f | ve.no.result!");.....if.(!this._ |
1c8640 | 74 72 65 65 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 20 2f 2f 20 6e 6f 74 68 69 6e 67 20 74 | tree).......return;.//.nothing.t |
1c8660 | 6f 20 64 6f 2c 20 63 6f 6e 74 61 69 6e 65 72 20 69 73 20 6e 6f 74 20 76 69 73 69 62 6c 65 0a 20 | o.do,.container.is.not.visible.. |
1c8680 | 20 20 20 76 61 72 20 76 69 65 77 49 6e 64 65 78 20 3d 20 61 49 74 65 6d 2e 76 69 65 77 49 6e 64 | ...var.viewIndex.=.aItem.viewInd |
1c86a0 | 65 78 3b 0a 20 20 20 20 69 66 20 28 76 69 65 77 49 6e 64 65 78 20 3e 3d 20 74 68 69 73 2e 5f 76 | ex;.....if.(viewIndex.>=.this._v |
1c86c0 | 69 73 69 62 6c 65 45 6c 65 6d 65 6e 74 73 2e 6c 65 6e 67 74 68 29 20 7b 0a 20 20 20 20 20 20 2f | isibleElements.length).{......./ |
1c86e0 | 2f 20 62 65 20 70 61 72 61 6e 6f 69 64 20 61 62 6f 75 74 20 76 69 73 69 62 6c 65 20 69 6e 64 69 | /.be.paranoid.about.visible.indi |
1c8700 | 63 65 73 20 73 69 6e 63 65 20 6f 74 68 65 72 73 20 63 61 6e 20 63 68 61 6e 67 65 20 69 74 0a 20 | ces.since.others.can.change.it.. |
1c8720 | 20 20 20 20 20 74 68 72 6f 77 20 43 72 2e 4e 53 5f 45 52 52 4f 52 5f 55 4e 45 58 50 45 43 54 45 | .....throw.Cr.NS_ERROR_UNEXPECTE |
1c8740 | 44 3b 0a 20 20 20 20 7d 0a 20 20 20 20 74 68 69 73 2e 5f 72 65 66 72 65 73 68 56 69 73 69 62 6c | D;.....}.....this._refreshVisibl |
1c8760 | 65 53 65 63 74 69 6f 6e 28 61 49 74 65 6d 29 3b 0a 20 20 7d 2c 0a 0a 20 20 69 6e 76 61 6c 69 64 | eSection(aItem);...},....invalid |
1c8780 | 61 74 65 41 6c 6c 3a 20 66 75 6e 63 74 69 6f 6e 20 50 54 56 5f 69 6e 76 61 6c 69 64 61 74 65 41 | ateAll:.function.PTV_invalidateA |
1c87a0 | 6c 6c 28 29 20 7b 0a 20 20 20 20 4e 53 5f 41 53 53 45 52 54 28 74 68 69 73 2e 5f 72 65 73 75 6c | ll().{.....NS_ASSERT(this._resul |
1c87c0 | 74 2c 20 22 47 6f 74 20 6d 65 73 73 61 67 65 20 62 75 74 20 64 6f 6e 27 74 20 68 61 76 65 20 61 | t,."Got.message.but.don't.have.a |
1c87e0 | 20 72 65 73 75 6c 74 21 22 29 3b 0a 20 20 20 20 69 66 20 28 21 74 68 69 73 2e 5f 74 72 65 65 29 | .result!");.....if.(!this._tree) |
1c8800 | 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 20 20 76 61 72 20 6f 6c 64 52 6f 77 43 6f | .......return;......var.oldRowCo |
1c8820 | 75 6e 74 20 3d 20 74 68 69 73 2e 5f 76 69 73 69 62 6c 65 45 6c 65 6d 65 6e 74 73 2e 6c 65 6e 67 | unt.=.this._visibleElements.leng |
1c8840 | 74 68 3b 0a 0a 20 20 20 20 2f 2f 20 75 70 64 61 74 65 20 66 6c 61 74 20 6c 69 73 74 20 74 6f 20 | th;......//.update.flat.list.to. |
1c8860 | 6e 65 77 20 63 6f 6e 74 65 6e 74 73 0a 20 20 20 20 74 68 69 73 2e 5f 62 75 69 6c 64 56 69 73 69 | new.contents.....this._buildVisi |
1c8880 | 62 6c 65 4c 69 73 74 28 29 3b 0a 20 20 7d 2c 0a 0a 20 20 73 6f 72 74 69 6e 67 43 68 61 6e 67 65 | bleList();...},....sortingChange |
1c88a0 | 64 3a 20 66 75 6e 63 74 69 6f 6e 20 50 54 56 5f 5f 73 6f 72 74 69 6e 67 43 68 61 6e 67 65 64 28 | d:.function.PTV__sortingChanged( |
1c88c0 | 61 53 6f 72 74 69 6e 67 4d 6f 64 65 29 20 7b 0a 20 20 20 20 69 66 20 28 21 74 68 69 73 2e 5f 74 | aSortingMode).{.....if.(!this._t |
1c88e0 | 72 65 65 20 7c 7c 20 21 74 68 69 73 2e 5f 72 65 73 75 6c 74 29 0a 20 20 20 20 20 20 72 65 74 75 | ree.||.!this._result).......retu |
1c8900 | 72 6e 3b 0a 0a 20 20 20 20 2f 2f 20 64 65 70 65 6e 64 69 6e 67 20 6f 6e 20 74 68 65 20 73 6f 72 | rn;......//.depending.on.the.sor |
1c8920 | 74 20 6d 6f 64 65 2c 20 63 65 72 74 61 69 6e 20 63 6f 6d 6d 61 6e 64 73 20 6d 61 79 20 62 65 20 | t.mode,.certain.commands.may.be. |
1c8940 | 64 69 73 61 62 6c 65 64 0a 20 20 20 20 77 69 6e 64 6f 77 2e 75 70 64 61 74 65 43 6f 6d 6d 61 6e | disabled.....window.updateComman |
1c8960 | 64 73 28 22 73 6f 72 74 22 29 3b 0a 0a 20 20 20 20 76 61 72 20 63 6f 6c 75 6d 6e 73 20 3d 20 74 | ds("sort");......var.columns.=.t |
1c8980 | 68 69 73 2e 5f 74 72 65 65 2e 63 6f 6c 75 6d 6e 73 3b 0a 0a 20 20 20 20 2f 2f 20 63 6c 65 61 72 | his._tree.columns;......//.clear |
1c89a0 | 20 6f 6c 64 20 73 6f 72 74 69 6e 67 20 69 6e 64 69 63 61 74 6f 72 0a 20 20 20 20 76 61 72 20 73 | .old.sorting.indicator.....var.s |
1c89c0 | 6f 72 74 65 64 43 6f 6c 75 6d 6e 20 3d 20 63 6f 6c 75 6d 6e 73 2e 67 65 74 53 6f 72 74 65 64 43 | ortedColumn.=.columns.getSortedC |
1c89e0 | 6f 6c 75 6d 6e 28 29 3b 0a 20 20 20 20 69 66 20 28 73 6f 72 74 65 64 43 6f 6c 75 6d 6e 29 0a 20 | olumn();.....if.(sortedColumn).. |
1c8a00 | 20 20 20 20 20 73 6f 72 74 65 64 43 6f 6c 75 6d 6e 2e 65 6c 65 6d 65 6e 74 2e 72 65 6d 6f 76 65 | .....sortedColumn.element.remove |
1c8a20 | 41 74 74 72 69 62 75 74 65 28 22 73 6f 72 74 44 69 72 65 63 74 69 6f 6e 22 29 3b 0a 0a 20 20 20 | Attribute("sortDirection");..... |
1c8a40 | 20 2f 2f 20 73 65 74 20 6e 65 77 20 73 6f 72 74 69 6e 67 20 69 6e 64 69 63 61 74 6f 72 20 62 79 | .//.set.new.sorting.indicator.by |
1c8a60 | 20 6c 6f 6f 6b 69 6e 67 20 74 68 72 6f 75 67 68 20 61 6c 6c 20 63 6f 6c 75 6d 6e 73 20 66 6f 72 | .looking.through.all.columns.for |
1c8a80 | 20 6f 75 72 73 0a 20 20 20 20 69 66 20 28 61 53 6f 72 74 69 6e 67 4d 6f 64 65 20 3d 3d 20 43 69 | .ours.....if.(aSortingMode.==.Ci |
1c8aa0 | 2e 6e 73 49 4e 61 76 48 69 73 74 6f 72 79 51 75 65 72 79 4f 70 74 69 6f 6e 73 2e 53 4f 52 54 5f | .nsINavHistoryQueryOptions.SORT_ |
1c8ac0 | 42 59 5f 4e 4f 4e 45 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 20 20 76 61 72 20 5b | BY_NONE).......return;.....var.[ |
1c8ae0 | 64 65 73 69 72 65 64 43 6f 6c 75 6d 6e 2c 20 64 65 73 69 72 65 64 49 73 44 65 73 63 65 6e 64 69 | desiredColumn,.desiredIsDescendi |
1c8b00 | 6e 67 5d 20 3d 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 73 6f 72 74 54 79 70 65 54 6f 43 6f 6c 75 | ng].=.......this._sortTypeToColu |
1c8b20 | 6d 6e 54 79 70 65 28 61 53 6f 72 74 69 6e 67 4d 6f 64 65 29 3b 0a 20 20 20 20 76 61 72 20 63 6f | mnType(aSortingMode);.....var.co |
1c8b40 | 6c 43 6f 75 6e 74 20 3d 20 63 6f 6c 75 6d 6e 73 2e 63 6f 75 6e 74 3b 0a 20 20 20 20 66 6f 72 20 | lCount.=.columns.count;.....for. |
1c8b60 | 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 63 6f 6c 43 6f 75 6e 74 3b 20 69 20 2b 2b 29 20 | (var.i.=.0;.i.<.colCount;.i.++). |
1c8b80 | 7b 0a 20 20 20 20 20 20 76 61 72 20 63 6f 6c 75 6d 6e 20 3d 20 63 6f 6c 75 6d 6e 73 2e 67 65 74 | {.......var.column.=.columns.get |
1c8ba0 | 43 6f 6c 75 6d 6e 41 74 28 69 29 3b 0a 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 67 65 74 | ColumnAt(i);.......if.(this._get |
1c8bc0 | 43 6f 6c 75 6d 6e 54 79 70 65 28 63 6f 6c 75 6d 6e 29 20 3d 3d 20 64 65 73 69 72 65 64 43 6f 6c | ColumnType(column).==.desiredCol |
1c8be0 | 75 6d 6e 29 20 7b 0a 20 20 20 20 20 20 20 20 2f 2f 20 66 6f 75 6e 64 20 6f 75 72 20 64 65 73 69 | umn).{.........//.found.our.desi |
1c8c00 | 72 65 64 20 6f 6e 65 2c 20 73 65 74 0a 20 20 20 20 20 20 20 20 69 66 20 28 64 65 73 69 72 65 64 | red.one,.set.........if.(desired |
1c8c20 | 49 73 44 65 73 63 65 6e 64 69 6e 67 29 0a 20 20 20 20 20 20 20 20 20 20 63 6f 6c 75 6d 6e 2e 65 | IsDescending)...........column.e |
1c8c40 | 6c 65 6d 65 6e 74 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 73 6f 72 74 44 69 72 65 63 74 69 | lement.setAttribute("sortDirecti |
1c8c60 | 6f 6e 22 2c 20 22 64 65 73 63 65 6e 64 69 6e 67 22 29 3b 0a 20 20 20 20 20 20 20 20 65 6c 73 65 | on",."descending");.........else |
1c8c80 | 0a 20 20 20 20 20 20 20 20 20 20 63 6f 6c 75 6d 6e 2e 65 6c 65 6d 65 6e 74 2e 73 65 74 41 74 74 | ...........column.element.setAtt |
1c8ca0 | 72 69 62 75 74 65 28 22 73 6f 72 74 44 69 72 65 63 74 69 6f 6e 22 2c 20 22 61 73 63 65 6e 64 69 | ribute("sortDirection",."ascendi |
1c8cc0 | 6e 67 22 29 3b 0a 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 | ng");.........break;.......}.... |
1c8ce0 | 20 7d 0a 20 20 7d 2c 0a 0a 20 20 67 65 74 20 72 65 73 75 6c 74 28 29 20 7b 0a 20 20 20 20 72 65 | .}...},....get.result().{.....re |
1c8d00 | 74 75 72 6e 20 74 68 69 73 2e 5f 72 65 73 75 6c 74 3b 0a 20 20 7d 2c 0a 0a 20 20 73 65 74 20 72 | turn.this._result;...},....set.r |
1c8d20 | 65 73 75 6c 74 28 76 61 6c 29 20 7b 0a 20 20 20 20 2f 2f 20 73 6f 6d 65 20 6d 65 74 68 6f 64 73 | esult(val).{.....//.some.methods |
1c8d40 | 20 28 65 2e 67 2e 20 67 65 74 55 52 4c 73 46 72 6f 6d 43 6f 6e 74 61 69 6e 65 72 29 20 74 65 6d | .(e.g..getURLsFromContainer).tem |
1c8d60 | 70 6f 72 61 72 69 6c 79 20 6e 75 6c 6c 20 6f 75 74 20 74 68 65 0a 20 20 20 20 2f 2f 20 76 69 65 | porarily.null.out.the.....//.vie |
1c8d80 | 77 65 72 20 77 68 65 6e 20 74 68 65 79 20 64 6f 20 74 65 6d 70 6f 72 61 72 79 20 63 68 61 6e 67 | wer.when.they.do.temporary.chang |
1c8da0 | 65 73 20 74 6f 20 74 68 65 20 76 69 65 77 2c 20 74 68 69 73 20 64 6f 65 73 20 5f 6e 6f 74 5f 0a | es.to.the.view,.this.does._not_. |
1c8dc0 | 20 20 20 20 2f 2f 20 63 61 6c 6c 20 73 65 74 52 65 73 75 6c 74 28 6e 75 6c 6c 29 2c 20 62 75 74 | ....//.call.setResult(null),.but |
1c8de0 | 20 74 68 65 6e 2c 20 77 65 27 72 65 20 63 61 6c 6c 65 64 20 61 67 61 69 6e 20 77 69 74 68 20 74 | .then,.we're.called.again.with.t |
1c8e00 | 68 65 20 72 65 73 75 6c 74 0a 20 20 20 20 2f 2f 20 6f 62 6a 65 63 74 20 77 68 69 63 68 20 69 73 | he.result.....//.object.which.is |
1c8e20 | 20 61 6c 72 65 61 64 79 20 73 65 74 20 66 6f 72 20 74 68 69 73 20 76 69 65 77 65 72 2e 20 41 74 | .already.set.for.this.viewer..At |
1c8e40 | 20 74 68 61 74 20 70 6f 69 6e 74 2c 0a 20 20 20 20 2f 2f 20 77 65 20 73 68 6f 75 6c 64 20 64 6f | .that.point,.....//.we.should.do |
1c8e60 | 20 6e 6f 74 68 69 6e 67 2e 0a 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 72 65 73 75 6c 74 20 21 | .nothing......if.(this._result.! |
1c8e80 | 3d 20 76 61 6c 29 20 7b 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 72 65 73 75 6c 74 20 3d 20 76 61 | =.val).{.......this._result.=.va |
1c8ea0 | 6c 3b 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 66 69 6e 69 73 68 49 6e 69 74 28 29 3b 0a 20 20 20 | l;.......this._finishInit();.... |
1c8ec0 | 20 7d 0a 20 20 20 20 72 65 74 75 72 6e 20 76 61 6c 3b 0a 20 20 7d 2c 0a 0a 20 20 6e 6f 64 65 46 | .}.....return.val;...},....nodeF |
1c8ee0 | 6f 72 54 72 65 65 49 6e 64 65 78 3a 20 66 75 6e 63 74 69 6f 6e 20 50 54 56 5f 6e 6f 64 65 46 6f | orTreeIndex:.function.PTV_nodeFo |
1c8f00 | 72 54 72 65 65 49 6e 64 65 78 28 61 49 6e 64 65 78 29 20 7b 0a 20 20 20 20 69 66 20 28 61 49 6e | rTreeIndex(aIndex).{.....if.(aIn |
1c8f20 | 64 65 78 20 3e 20 74 68 69 73 2e 5f 76 69 73 69 62 6c 65 45 6c 65 6d 65 6e 74 73 2e 6c 65 6e 67 | dex.>.this._visibleElements.leng |
1c8f40 | 74 68 29 0a 20 20 20 20 20 20 74 68 72 6f 77 20 43 72 2e 4e 53 5f 45 52 52 4f 52 5f 49 4e 56 41 | th).......throw.Cr.NS_ERROR_INVA |
1c8f60 | 4c 49 44 5f 41 52 47 3b 0a 0a 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 76 69 73 69 62 | LID_ARG;......return.this._visib |
1c8f80 | 6c 65 45 6c 65 6d 65 6e 74 73 5b 61 49 6e 64 65 78 5d 2e 6e 6f 64 65 3b 0a 20 20 7d 2c 0a 0a 20 | leElements[aIndex].node;...},... |
1c8fa0 | 20 74 72 65 65 49 6e 64 65 78 46 6f 72 4e 6f 64 65 3a 20 66 75 6e 63 74 69 6f 6e 20 50 54 56 5f | .treeIndexForNode:.function.PTV_ |
1c8fc0 | 74 72 65 65 4e 6f 64 65 46 6f 72 49 6e 64 65 78 28 61 4e 6f 64 65 29 20 7b 0a 20 20 20 20 76 61 | treeNodeForIndex(aNode).{.....va |
1c8fe0 | 72 20 76 69 65 77 49 6e 64 65 78 20 3d 20 61 4e 6f 64 65 2e 76 69 65 77 49 6e 64 65 78 3b 0a 20 | r.viewIndex.=.aNode.viewIndex;.. |
1c9000 | 20 20 20 69 66 20 28 76 69 65 77 49 6e 64 65 78 20 3c 20 30 29 0a 20 20 20 20 20 20 72 65 74 75 | ...if.(viewIndex.<.0).......retu |
1c9020 | 72 6e 20 43 69 2e 6e 73 49 4e 61 76 48 69 73 74 6f 72 79 52 65 73 75 6c 74 54 72 65 65 56 69 65 | rn.Ci.nsINavHistoryResultTreeVie |
1c9040 | 77 65 72 2e 49 4e 44 45 58 5f 49 4e 56 49 53 49 42 4c 45 3b 0a 0a 20 20 20 20 4e 53 5f 41 53 53 | wer.INDEX_INVISIBLE;......NS_ASS |
1c9060 | 45 52 54 28 74 68 69 73 2e 5f 76 69 73 69 62 6c 65 45 6c 65 6d 65 6e 74 73 5b 76 69 65 77 49 6e | ERT(this._visibleElements[viewIn |
1c9080 | 64 65 78 5d 2e 6e 6f 64 65 20 3d 3d 20 61 4e 6f 64 65 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 | dex].node.==.aNode,............. |
1c90a0 | 20 20 22 4e 6f 64 65 27 73 20 76 69 73 69 62 6c 65 20 69 6e 64 65 78 20 61 6e 64 20 61 72 72 61 | .."Node's.visible.index.and.arra |
1c90c0 | 79 20 6f 75 74 20 6f 66 20 73 79 6e 63 22 29 3b 0a 20 20 20 20 72 65 74 75 72 6e 20 76 69 65 77 | y.out.of.sync");.....return.view |
1c90e0 | 49 6e 64 65 78 3b 0a 20 20 7d 2c 0a 0a 20 20 5f 67 65 74 52 65 73 6f 75 72 63 65 46 6f 72 4e 6f | Index;...},...._getResourceForNo |
1c9100 | 64 65 3a 20 66 75 6e 63 74 69 6f 6e 20 50 54 56 5f 67 65 74 52 65 73 6f 75 72 63 65 46 6f 72 4e | de:.function.PTV_getResourceForN |
1c9120 | 6f 64 65 28 61 4e 6f 64 65 29 0a 20 20 7b 0a 20 20 20 20 76 61 72 20 75 72 69 20 3d 20 61 4e 6f | ode(aNode)...{.....var.uri.=.aNo |
1c9140 | 64 65 2e 75 72 69 3b 0a 20 20 20 20 4e 53 5f 41 53 53 45 52 54 28 75 72 69 2c 20 22 69 66 20 74 | de.uri;.....NS_ASSERT(uri,."if.t |
1c9160 | 68 65 72 65 20 69 73 20 6e 6f 20 75 72 69 2c 20 77 65 20 63 61 6e 27 74 20 70 65 72 73 69 73 74 | here.is.no.uri,.we.can't.persist |
1c9180 | 20 74 68 65 20 6f 70 65 6e 20 73 74 61 74 65 22 29 3b 0a 20 20 20 20 72 65 74 75 72 6e 20 75 72 | .the.open.state");.....return.ur |
1c91a0 | 69 20 3f 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 52 44 46 2e 47 65 74 52 65 73 6f 75 72 63 | i.?.PlacesUIUtils.RDF.GetResourc |
1c91c0 | 65 28 75 72 69 29 20 3a 20 6e 75 6c 6c 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2f 20 6e 73 49 54 72 65 | e(uri).:.null;...},....//.nsITre |
1c91e0 | 65 56 69 65 77 0a 20 20 67 65 74 20 72 6f 77 43 6f 75 6e 74 28 29 20 7b 0a 20 20 20 20 72 65 74 | eView...get.rowCount().{.....ret |
1c9200 | 75 72 6e 20 74 68 69 73 2e 5f 76 69 73 69 62 6c 65 45 6c 65 6d 65 6e 74 73 2e 6c 65 6e 67 74 68 | urn.this._visibleElements.length |
1c9220 | 3b 0a 20 20 7d 2c 0a 0a 20 20 67 65 74 20 73 65 6c 65 63 74 69 6f 6e 28 29 20 7b 0a 20 20 20 20 | ;...},....get.selection().{..... |
1c9240 | 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 73 65 6c 65 63 74 69 6f 6e 3b 0a 20 20 7d 2c 0a 0a 20 20 | return.this._selection;...},.... |
1c9260 | 73 65 74 20 73 65 6c 65 63 74 69 6f 6e 28 76 61 6c 29 20 7b 0a 20 20 20 20 72 65 74 75 72 6e 20 | set.selection(val).{.....return. |
1c9280 | 74 68 69 73 2e 5f 73 65 6c 65 63 74 69 6f 6e 20 3d 20 76 61 6c 3b 0a 20 20 7d 2c 0a 0a 20 20 67 | this._selection.=.val;...},....g |
1c92a0 | 65 74 52 6f 77 50 72 6f 70 65 72 74 69 65 73 3a 20 66 75 6e 63 74 69 6f 6e 20 50 54 56 5f 67 65 | etRowProperties:.function.PTV_ge |
1c92c0 | 74 52 6f 77 50 72 6f 70 65 72 74 69 65 73 28 61 52 6f 77 2c 20 61 50 72 6f 70 65 72 74 69 65 73 | tRowProperties(aRow,.aProperties |
1c92e0 | 29 20 7b 0a 20 20 20 20 74 68 69 73 2e 5f 65 6e 73 75 72 65 56 61 6c 69 64 52 6f 77 28 61 52 6f | ).{.....this._ensureValidRow(aRo |
1c9300 | 77 29 3b 0a 0a 20 20 20 20 2f 2f 20 48 61 6e 64 6c 65 20 70 72 6f 70 65 72 74 69 65 73 20 66 6f | w);......//.Handle.properties.fo |
1c9320 | 72 20 73 65 73 73 69 6f 6e 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 2e 0a 20 20 20 20 69 66 20 28 21 | r.session.information......if.(! |
1c9340 | 74 68 69 73 2e 5f 73 68 6f 77 53 65 73 73 69 6f 6e 73 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e | this._showSessions).......return |
1c9360 | 3b 0a 0a 20 20 20 20 76 61 72 20 73 74 61 74 75 73 20 3d 20 74 68 69 73 2e 5f 67 65 74 52 6f 77 | ;......var.status.=.this._getRow |
1c9380 | 53 65 73 73 69 6f 6e 53 74 61 74 75 73 28 61 52 6f 77 29 3b 0a 20 20 20 20 73 77 69 74 63 68 20 | SessionStatus(aRow);.....switch. |
1c93a0 | 28 73 74 61 74 75 73 29 20 7b 0a 20 20 20 20 20 20 63 61 73 65 20 74 68 69 73 2e 53 45 53 53 49 | (status).{.......case.this.SESSI |
1c93c0 | 4f 4e 5f 53 54 41 54 55 53 5f 4e 4f 4e 45 3a 0a 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 | ON_STATUS_NONE:.........break;.. |
1c93e0 | 20 20 20 20 20 63 61 73 65 20 74 68 69 73 2e 53 45 53 53 49 4f 4e 5f 53 54 41 54 55 53 5f 53 54 | .....case.this.SESSION_STATUS_ST |
1c9400 | 41 52 54 3a 0a 20 20 20 20 20 20 20 20 61 50 72 6f 70 65 72 74 69 65 73 2e 41 70 70 65 6e 64 45 | ART:.........aProperties.AppendE |
1c9420 | 6c 65 6d 65 6e 74 28 74 68 69 73 2e 5f 67 65 74 41 74 6f 6d 46 6f 72 28 22 73 65 73 73 69 6f 6e | lement(this._getAtomFor("session |
1c9440 | 2d 73 74 61 72 74 22 29 29 3b 0a 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 | -start"));.........break;....... |
1c9460 | 63 61 73 65 20 74 68 69 73 2e 53 45 53 53 49 4f 4e 5f 53 54 41 54 55 53 5f 43 4f 4e 54 49 4e 55 | case.this.SESSION_STATUS_CONTINU |
1c9480 | 45 3a 0a 20 20 20 20 20 20 20 20 61 50 72 6f 70 65 72 74 69 65 73 2e 41 70 70 65 6e 64 45 6c 65 | E:.........aProperties.AppendEle |
1c94a0 | 6d 65 6e 74 28 74 68 69 73 2e 5f 67 65 74 41 74 6f 6d 46 6f 72 28 22 73 65 73 73 69 6f 6e 2d 63 | ment(this._getAtomFor("session-c |
1c94c0 | 6f 6e 74 69 6e 75 65 22 29 29 3b 0a 20 20 20 20 20 20 20 20 62 72 65 61 6b 0a 20 20 20 20 7d 0a | ontinue"));.........break.....}. |
1c94e0 | 20 20 7d 2c 0a 0a 20 20 67 65 74 43 65 6c 6c 50 72 6f 70 65 72 74 69 65 73 3a 20 66 75 6e 63 74 | ..},....getCellProperties:.funct |
1c9500 | 69 6f 6e 20 50 54 56 5f 67 65 74 43 65 6c 6c 50 72 6f 70 65 72 74 69 65 73 28 61 52 6f 77 2c 20 | ion.PTV_getCellProperties(aRow,. |
1c9520 | 61 43 6f 6c 75 6d 6e 2c 20 61 50 72 6f 70 65 72 74 69 65 73 29 20 7b 0a 20 20 20 20 74 68 69 73 | aColumn,.aProperties).{.....this |
1c9540 | 2e 5f 65 6e 73 75 72 65 56 61 6c 69 64 52 6f 77 28 61 52 6f 77 29 3b 0a 0a 20 20 20 20 2f 2f 20 | ._ensureValidRow(aRow);......//. |
1c9560 | 66 6f 72 20 61 6e 6f 6e 69 64 2d 74 72 65 65 73 2c 20 77 65 20 6e 65 65 64 20 74 6f 20 61 64 64 | for.anonid-trees,.we.need.to.add |
1c9580 | 20 74 68 65 20 63 6f 6c 75 6d 6e 2d 74 79 70 65 20 6d 61 6e 75 61 6c 6c 79 0a 20 20 20 20 76 61 | .the.column-type.manually.....va |
1c95a0 | 72 20 63 6f 6c 75 6d 6e 54 79 70 65 20 3d 20 61 43 6f 6c 75 6d 6e 2e 65 6c 65 6d 65 6e 74 2e 67 | r.columnType.=.aColumn.element.g |
1c95c0 | 65 74 41 74 74 72 69 62 75 74 65 28 22 61 6e 6f 6e 69 64 22 29 3b 0a 20 20 20 20 69 66 20 28 63 | etAttribute("anonid");.....if.(c |
1c95e0 | 6f 6c 75 6d 6e 54 79 70 65 29 0a 20 20 20 20 20 20 61 50 72 6f 70 65 72 74 69 65 73 2e 41 70 70 | olumnType).......aProperties.App |
1c9600 | 65 6e 64 45 6c 65 6d 65 6e 74 28 74 68 69 73 2e 5f 67 65 74 41 74 6f 6d 46 6f 72 28 63 6f 6c 75 | endElement(this._getAtomFor(colu |
1c9620 | 6d 6e 54 79 70 65 29 29 3b 0a 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 76 61 72 20 63 6f 6c | mnType));.....else.......var.col |
1c9640 | 75 6d 6e 54 79 70 65 20 3d 20 61 43 6f 6c 75 6d 6e 2e 69 64 3b 0a 0a 20 20 20 20 2f 2f 20 53 65 | umnType.=.aColumn.id;......//.Se |
1c9660 | 74 20 74 68 65 20 22 6c 74 72 22 20 70 72 6f 70 65 72 74 79 20 6f 6e 20 75 72 6c 20 63 65 6c 6c | t.the."ltr".property.on.url.cell |
1c9680 | 73 0a 20 20 20 20 69 66 20 28 63 6f 6c 75 6d 6e 54 79 70 65 20 3d 3d 20 22 75 72 6c 22 29 0a 20 | s.....if.(columnType.==."url").. |
1c96a0 | 20 20 20 20 20 61 50 72 6f 70 65 72 74 69 65 73 2e 41 70 70 65 6e 64 45 6c 65 6d 65 6e 74 28 74 | .....aProperties.AppendElement(t |
1c96c0 | 68 69 73 2e 5f 67 65 74 41 74 6f 6d 46 6f 72 28 22 6c 74 72 22 29 29 3b 0a 0a 20 20 20 20 69 66 | his._getAtomFor("ltr"));......if |
1c96e0 | 20 28 63 6f 6c 75 6d 6e 54 79 70 65 20 21 3d 20 22 74 69 74 6c 65 22 29 0a 20 20 20 20 20 20 72 | .(columnType.!=."title").......r |
1c9700 | 65 74 75 72 6e 3b 0a 0a 20 20 20 20 76 61 72 20 6e 6f 64 65 20 3d 20 74 68 69 73 2e 5f 76 69 73 | eturn;......var.node.=.this._vis |
1c9720 | 69 62 6c 65 45 6c 65 6d 65 6e 74 73 5b 61 52 6f 77 5d 2e 6e 6f 64 65 3b 0a 20 20 20 20 76 61 72 | ibleElements[aRow].node;.....var |
1c9740 | 20 70 72 6f 70 65 72 74 69 65 73 20 3d 20 74 68 69 73 2e 5f 76 69 73 69 62 6c 65 45 6c 65 6d 65 | .properties.=.this._visibleEleme |
1c9760 | 6e 74 73 5b 61 52 6f 77 5d 2e 70 72 6f 70 65 72 74 69 65 73 3b 0a 0a 20 20 20 20 69 66 20 28 21 | nts[aRow].properties;......if.(! |
1c9780 | 70 72 6f 70 65 72 74 69 65 73 29 20 7b 0a 20 20 20 20 20 20 70 72 6f 70 65 72 74 69 65 73 20 3d | properties).{.......properties.= |
1c97a0 | 20 6e 65 77 20 41 72 72 61 79 28 29 3b 0a 20 20 20 20 20 20 76 61 72 20 69 74 65 6d 49 64 20 3d | .new.Array();.......var.itemId.= |
1c97c0 | 20 6e 6f 64 65 2e 69 74 65 6d 49 64 3b 0a 20 20 20 20 20 20 76 61 72 20 6e 6f 64 65 54 79 70 65 | .node.itemId;.......var.nodeType |
1c97e0 | 20 3d 20 6e 6f 64 65 2e 74 79 70 65 3b 0a 20 20 20 20 20 20 69 66 20 28 50 6c 61 63 65 73 55 74 | .=.node.type;.......if.(PlacesUt |
1c9800 | 69 6c 73 2e 63 6f 6e 74 61 69 6e 65 72 54 79 70 65 73 2e 69 6e 64 65 78 4f 66 28 6e 6f 64 65 54 | ils.containerTypes.indexOf(nodeT |
1c9820 | 79 70 65 29 20 21 3d 20 2d 31 29 20 7b 0a 20 20 20 20 20 20 20 20 69 66 20 28 6e 6f 64 65 54 79 | ype).!=.-1).{.........if.(nodeTy |
1c9840 | 70 65 20 3d 3d 20 43 69 2e 6e 73 49 4e 61 76 48 69 73 74 6f 72 79 52 65 73 75 6c 74 4e 6f 64 65 | pe.==.Ci.nsINavHistoryResultNode |
1c9860 | 2e 52 45 53 55 4c 54 5f 54 59 50 45 5f 51 55 45 52 59 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 | .RESULT_TYPE_QUERY).{........... |
1c9880 | 70 72 6f 70 65 72 74 69 65 73 2e 70 75 73 68 28 74 68 69 73 2e 5f 67 65 74 41 74 6f 6d 46 6f 72 | properties.push(this._getAtomFor |
1c98a0 | 28 22 71 75 65 72 79 22 29 29 3b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 50 6c 61 63 65 73 | ("query"));...........if.(Places |
1c98c0 | 55 74 69 6c 73 2e 6e 6f 64 65 49 73 54 61 67 51 75 65 72 79 28 6e 6f 64 65 29 29 0a 20 20 20 20 | Utils.nodeIsTagQuery(node))..... |
1c98e0 | 20 20 20 20 20 20 20 20 70 72 6f 70 65 72 74 69 65 73 2e 70 75 73 68 28 74 68 69 73 2e 5f 67 65 | ........properties.push(this._ge |
1c9900 | 74 41 74 6f 6d 46 6f 72 28 22 74 61 67 43 6f 6e 74 61 69 6e 65 72 22 29 29 3b 0a 20 20 20 20 20 | tAtomFor("tagContainer"));...... |
1c9920 | 20 20 20 20 20 65 6c 73 65 20 69 66 20 28 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 | .....else.if.(PlacesUtils.nodeIs |
1c9940 | 44 61 79 28 6e 6f 64 65 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 70 72 6f 70 65 72 74 69 65 | Day(node)).............propertie |
1c9960 | 73 2e 70 75 73 68 28 74 68 69 73 2e 5f 67 65 74 41 74 6f 6d 46 6f 72 28 22 64 61 79 43 6f 6e 74 | s.push(this._getAtomFor("dayCont |
1c9980 | 61 69 6e 65 72 22 29 29 3b 0a 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 20 69 66 20 28 50 6c 61 | ainer"));...........else.if.(Pla |
1c99a0 | 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 48 6f 73 74 28 6e 6f 64 65 29 29 0a 20 20 20 20 20 | cesUtils.nodeIsHost(node))...... |
1c99c0 | 20 20 20 20 20 20 20 70 72 6f 70 65 72 74 69 65 73 2e 70 75 73 68 28 74 68 69 73 2e 5f 67 65 74 | .......properties.push(this._get |
1c99e0 | 41 74 6f 6d 46 6f 72 28 22 68 6f 73 74 43 6f 6e 74 61 69 6e 65 72 22 29 29 3b 0a 20 20 20 20 20 | AtomFor("hostContainer"));...... |
1c9a00 | 20 20 20 7d 0a 20 20 20 20 20 20 20 20 65 6c 73 65 20 69 66 20 28 6e 6f 64 65 54 79 70 65 20 3d | ...}.........else.if.(nodeType.= |
1c9a20 | 3d 20 43 69 2e 6e 73 49 4e 61 76 48 69 73 74 6f 72 79 52 65 73 75 6c 74 4e 6f 64 65 2e 52 45 53 | =.Ci.nsINavHistoryResultNode.RES |
1c9a40 | 55 4c 54 5f 54 59 50 45 5f 46 4f 4c 44 45 52 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ULT_TYPE_FOLDER.||.............. |
1c9a60 | 20 20 20 20 6e 6f 64 65 54 79 70 65 20 3d 3d 20 43 69 2e 6e 73 49 4e 61 76 48 69 73 74 6f 72 79 | ....nodeType.==.Ci.nsINavHistory |
1c9a80 | 52 65 73 75 6c 74 4e 6f 64 65 2e 52 45 53 55 4c 54 5f 54 59 50 45 5f 46 4f 4c 44 45 52 5f 53 48 | ResultNode.RESULT_TYPE_FOLDER_SH |
1c9aa0 | 4f 52 54 43 55 54 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 50 6c 61 63 65 73 55 74 | ORTCUT).{...........if.(PlacesUt |
1c9ac0 | 69 6c 73 2e 61 6e 6e 6f 74 61 74 69 6f 6e 73 2e 69 74 65 6d 48 61 73 41 6e 6e 6f 74 61 74 69 6f | ils.annotations.itemHasAnnotatio |
1c9ae0 | 6e 28 69 74 65 6d 49 64 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | n(itemId,....................... |
1c9b00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
1c9b20 | 20 20 4c 4d 41 4e 4e 4f 5f 46 45 45 44 55 52 49 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 70 | ..LMANNO_FEEDURI)).............p |
1c9b40 | 72 6f 70 65 72 74 69 65 73 2e 70 75 73 68 28 74 68 69 73 2e 5f 67 65 74 41 74 6f 6d 46 6f 72 28 | roperties.push(this._getAtomFor( |
1c9b60 | 22 6c 69 76 65 6d 61 72 6b 22 29 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 | "livemark"));.........}......... |
1c9b80 | 20 69 66 20 28 69 74 65 6d 49 64 20 21 3d 20 2d 31 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 76 | .if.(itemId.!=.-1).{...........v |
1c9ba0 | 61 72 20 6f 71 41 6e 6e 6f 3b 0a 20 20 20 20 20 20 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 | ar.oqAnno;...........try.{...... |
1c9bc0 | 20 20 20 20 20 20 20 6f 71 41 6e 6e 6f 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 61 6e 6e 6f | .......oqAnno.=.PlacesUtils.anno |
1c9be0 | 74 61 74 69 6f 6e 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | tations......................... |
1c9c00 | 20 20 20 20 20 20 20 20 2e 67 65 74 49 74 65 6d 41 6e 6e 6f 74 61 74 69 6f 6e 28 69 74 65 6d 49 | .........getItemAnnotation(itemI |
1c9c20 | 64 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | d,.............................. |
1c9c40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 4f 52 47 41 4e 49 5a 45 52 5f | ......................ORGANIZER_ |
1c9c60 | 51 55 45 52 59 5f 41 4e 4e 4f 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 70 72 6f 70 65 72 74 | QUERY_ANNO);.............propert |
1c9c80 | 69 65 73 2e 70 75 73 68 28 74 68 69 73 2e 5f 67 65 74 41 74 6f 6d 46 6f 72 28 22 4f 72 67 61 6e | ies.push(this._getAtomFor("Organ |
1c9ca0 | 69 7a 65 72 51 75 65 72 79 5f 22 20 2b 20 6f 71 41 6e 6e 6f 29 29 3b 0a 20 20 20 20 20 20 20 20 | izerQuery_".+.oqAnno));......... |
1c9cc0 | 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 63 61 74 63 68 20 28 65 78 29 20 7b 20 2f 2a 20 6e 6f | ..}...........catch.(ex).{./*.no |
1c9ce0 | 74 20 61 20 73 70 65 63 69 61 6c 20 71 75 65 72 79 20 2a 2f 20 7d 0a 20 20 20 20 20 20 20 20 7d | t.a.special.query.*/.}.........} |
1c9d00 | 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 65 6c 73 65 20 69 66 20 28 6e 6f 64 65 54 79 70 65 | .......}.......else.if.(nodeType |
1c9d20 | 20 3d 3d 20 43 69 2e 6e 73 49 4e 61 76 48 69 73 74 6f 72 79 52 65 73 75 6c 74 4e 6f 64 65 2e 52 | .==.Ci.nsINavHistoryResultNode.R |
1c9d40 | 45 53 55 4c 54 5f 54 59 50 45 5f 53 45 50 41 52 41 54 4f 52 29 0a 20 20 20 20 20 20 20 20 70 72 | ESULT_TYPE_SEPARATOR).........pr |
1c9d60 | 6f 70 65 72 74 69 65 73 2e 70 75 73 68 28 74 68 69 73 2e 5f 67 65 74 41 74 6f 6d 46 6f 72 28 22 | operties.push(this._getAtomFor(" |
1c9d80 | 73 65 70 61 72 61 74 6f 72 22 29 29 3b 0a 20 20 20 20 20 20 65 6c 73 65 20 69 66 20 28 50 6c 61 | separator"));.......else.if.(Pla |
1c9da0 | 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 55 52 49 28 6e 6f 64 65 29 29 20 7b 0a 20 20 20 20 | cesUtils.nodeIsURI(node)).{..... |
1c9dc0 | 20 20 20 20 70 72 6f 70 65 72 74 69 65 73 2e 70 75 73 68 28 74 68 69 73 2e 5f 67 65 74 41 74 6f | ....properties.push(this._getAto |
1c9de0 | 6d 46 6f 72 28 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 67 75 65 73 73 55 72 6c 53 63 68 65 6d | mFor(PlacesUIUtils.guessUrlSchem |
1c9e00 | 65 46 6f 72 55 49 28 6e 6f 64 65 2e 75 72 69 29 29 29 3b 0a 20 20 20 20 20 20 20 20 69 66 20 28 | eForUI(node.uri)));.........if.( |
1c9e20 | 69 74 65 6d 49 64 20 21 3d 20 2d 31 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 50 6c | itemId.!=.-1).{...........if.(Pl |
1c9e40 | 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 4c 69 76 65 6d 61 72 6b 43 6f 6e 74 61 69 6e 65 | acesUtils.nodeIsLivemarkContaine |
1c9e60 | 72 28 6e 6f 64 65 2e 70 61 72 65 6e 74 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 70 72 6f 70 | r(node.parent)).............prop |
1c9e80 | 65 72 74 69 65 73 2e 70 75 73 68 28 74 68 69 73 2e 5f 67 65 74 41 74 6f 6d 46 6f 72 28 22 6c 69 | erties.push(this._getAtomFor("li |
1c9ea0 | 76 65 6d 61 72 6b 49 74 65 6d 22 29 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 7d | vemarkItem"));.........}.......} |
1c9ec0 | 0a 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 76 69 73 69 62 6c 65 45 6c 65 6d 65 6e 74 73 5b 61 52 | ........this._visibleElements[aR |
1c9ee0 | 6f 77 5d 2e 70 72 6f 70 65 72 74 69 65 73 20 3d 20 70 72 6f 70 65 72 74 69 65 73 3b 0a 20 20 20 | ow].properties.=.properties;.... |
1c9f00 | 20 7d 0a 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 70 72 6f 70 65 | .}.....for.(var.i.=.0;.i.<.prope |
1c9f20 | 72 74 69 65 73 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 0a 20 20 20 20 20 20 61 50 72 6f 70 65 72 | rties.length;.i++).......aProper |
1c9f40 | 74 69 65 73 2e 41 70 70 65 6e 64 45 6c 65 6d 65 6e 74 28 70 72 6f 70 65 72 74 69 65 73 5b 69 5d | ties.AppendElement(properties[i] |
1c9f60 | 29 3b 0a 20 20 7d 2c 0a 0a 20 20 67 65 74 43 6f 6c 75 6d 6e 50 72 6f 70 65 72 74 69 65 73 3a 20 | );...},....getColumnProperties:. |
1c9f80 | 66 75 6e 63 74 69 6f 6e 28 61 43 6f 6c 75 6d 6e 2c 20 61 50 72 6f 70 65 72 74 69 65 73 29 20 7b | function(aColumn,.aProperties).{ |
1c9fa0 | 20 7d 2c 0a 0a 20 20 69 73 43 6f 6e 74 61 69 6e 65 72 3a 20 66 75 6e 63 74 69 6f 6e 20 50 54 56 | .},....isContainer:.function.PTV |
1c9fc0 | 5f 69 73 43 6f 6e 74 61 69 6e 65 72 28 61 52 6f 77 29 20 7b 0a 20 20 20 20 74 68 69 73 2e 5f 65 | _isContainer(aRow).{.....this._e |
1c9fe0 | 6e 73 75 72 65 56 61 6c 69 64 52 6f 77 28 61 52 6f 77 29 3b 0a 0a 20 20 20 20 76 61 72 20 6e 6f | nsureValidRow(aRow);......var.no |
1ca000 | 64 65 20 3d 20 74 68 69 73 2e 5f 76 69 73 69 62 6c 65 45 6c 65 6d 65 6e 74 73 5b 61 52 6f 77 5d | de.=.this._visibleElements[aRow] |
1ca020 | 2e 6e 6f 64 65 3b 0a 20 20 20 20 69 66 20 28 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 | .node;.....if.(PlacesUtils.nodeI |
1ca040 | 73 43 6f 6e 74 61 69 6e 65 72 28 6e 6f 64 65 29 29 20 7b 0a 20 20 20 20 20 20 2f 2f 20 74 68 65 | sContainer(node)).{.......//.the |
1ca060 | 20 72 6f 6f 74 20 6e 6f 64 65 20 69 73 20 61 6c 77 61 79 73 20 65 78 70 61 6e 64 61 62 6c 65 0a | .root.node.is.always.expandable. |
1ca080 | 20 20 20 20 20 20 69 66 20 28 21 6e 6f 64 65 2e 70 61 72 65 6e 74 29 0a 20 20 20 20 20 20 20 20 | ......if.(!node.parent)......... |
1ca0a0 | 72 65 74 75 72 6e 20 74 72 75 65 3b 0a 0a 20 20 20 20 20 20 2f 2f 20 46 6c 61 74 2d 6c 69 73 74 | return.true;........//.Flat-list |
1ca0c0 | 73 20 6d 61 79 20 69 67 6e 6f 72 65 20 65 78 70 61 6e 64 51 75 65 72 69 65 73 20 61 6e 64 20 6f | s.may.ignore.expandQueries.and.o |
1ca0e0 | 74 68 65 72 20 71 75 65 72 79 20 6f 70 74 69 6f 6e 73 20 77 68 65 6e 0a 20 20 20 20 20 20 2f 2f | ther.query.options.when.......// |
1ca100 | 20 74 68 65 79 20 61 72 65 20 61 73 6b 65 64 20 74 6f 20 6f 70 65 6e 20 61 20 63 6f 6e 74 61 69 | .they.are.asked.to.open.a.contai |
1ca120 | 6e 65 72 2e 0a 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 66 6c 61 74 4c 69 73 74 29 0a 20 | ner........if.(this._flatList).. |
1ca140 | 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 72 75 65 3b 0a 0a 20 20 20 20 20 20 2f 2f 20 74 72 | .......return.true;........//.tr |
1ca160 | 65 61 74 20 6e 6f 6e 2d 65 78 70 61 6e 64 61 62 6c 65 20 63 68 69 6c 64 6c 65 73 73 20 71 75 65 | eat.non-expandable.childless.que |
1ca180 | 72 69 65 73 20 61 73 20 6e 6f 6e 2d 63 6f 6e 74 61 69 6e 65 72 73 0a 20 20 20 20 20 20 69 66 20 | ries.as.non-containers.......if. |
1ca1a0 | 28 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 51 75 65 72 79 28 6e 6f 64 65 29 29 20 | (PlacesUtils.nodeIsQuery(node)). |
1ca1c0 | 7b 0a 20 20 20 20 20 20 20 20 76 61 72 20 70 61 72 65 6e 74 20 3d 20 6e 6f 64 65 2e 70 61 72 65 | {.........var.parent.=.node.pare |
1ca1e0 | 6e 74 3b 0a 20 20 20 20 20 20 20 20 69 66 28 28 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 | nt;.........if((PlacesUtils.node |
1ca200 | 49 73 51 75 65 72 79 28 70 61 72 65 6e 74 29 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 50 | IsQuery(parent).||.............P |
1ca220 | 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 46 6f 6c 64 65 72 28 70 61 72 65 6e 74 29 29 | lacesUtils.nodeIsFolder(parent)) |
1ca240 | 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 21 6e 6f 64 65 2e 68 61 73 43 68 69 6c 64 72 65 6e | .&&............!node.hasChildren |
1ca260 | 29 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 61 73 51 75 65 72 79 28 70 61 72 65 6e | )...........return.asQuery(paren |
1ca280 | 74 29 2e 71 75 65 72 79 4f 70 74 69 6f 6e 73 2e 65 78 70 61 6e 64 51 75 65 72 69 65 73 3b 0a 20 | t).queryOptions.expandQueries;.. |
1ca2a0 | 20 20 20 20 20 7d 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 72 75 65 3b 0a 20 20 20 20 7d 0a | .....}.......return.true;.....}. |
1ca2c0 | 20 20 20 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 0a 20 20 7d 2c 0a 0a 20 20 69 73 43 6f 6e 74 | ....return.false;...},....isCont |
1ca2e0 | 61 69 6e 65 72 4f 70 65 6e 3a 20 66 75 6e 63 74 69 6f 6e 20 50 54 56 5f 69 73 43 6f 6e 74 61 69 | ainerOpen:.function.PTV_isContai |
1ca300 | 6e 65 72 4f 70 65 6e 28 61 52 6f 77 29 20 7b 0a 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 66 6c | nerOpen(aRow).{.....if.(this._fl |
1ca320 | 61 74 4c 69 73 74 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 0a 0a 20 20 20 | atList).......return.false;..... |
1ca340 | 20 74 68 69 73 2e 5f 65 6e 73 75 72 65 56 61 6c 69 64 52 6f 77 28 61 52 6f 77 29 3b 0a 20 20 20 | .this._ensureValidRow(aRow);.... |
1ca360 | 20 69 66 20 28 21 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 43 6f 6e 74 61 69 6e 65 | .if.(!PlacesUtils.nodeIsContaine |
1ca380 | 72 28 74 68 69 73 2e 5f 76 69 73 69 62 6c 65 45 6c 65 6d 65 6e 74 73 5b 61 52 6f 77 5d 2e 6e 6f | r(this._visibleElements[aRow].no |
1ca3a0 | 64 65 29 29 0a 20 20 20 20 20 20 74 68 72 6f 77 20 43 72 2e 4e 53 5f 45 52 52 4f 52 5f 49 4e 56 | de)).......throw.Cr.NS_ERROR_INV |
1ca3c0 | 41 4c 49 44 5f 41 52 47 3b 0a 0a 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 76 69 73 69 | ALID_ARG;......return.this._visi |
1ca3e0 | 62 6c 65 45 6c 65 6d 65 6e 74 73 5b 61 52 6f 77 5d 2e 6e 6f 64 65 2e 63 6f 6e 74 61 69 6e 65 72 | bleElements[aRow].node.container |
1ca400 | 4f 70 65 6e 3b 0a 20 20 7d 2c 0a 0a 20 20 69 73 43 6f 6e 74 61 69 6e 65 72 45 6d 70 74 79 3a 20 | Open;...},....isContainerEmpty:. |
1ca420 | 66 75 6e 63 74 69 6f 6e 20 50 54 56 5f 69 73 43 6f 6e 74 61 69 6e 65 72 45 6d 70 74 79 28 61 52 | function.PTV_isContainerEmpty(aR |
1ca440 | 6f 77 29 20 7b 0a 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 66 6c 61 74 4c 69 73 74 29 0a 20 20 | ow).{.....if.(this._flatList)... |
1ca460 | 20 20 20 20 72 65 74 75 72 6e 20 74 72 75 65 3b 0a 0a 20 20 20 20 74 68 69 73 2e 5f 65 6e 73 75 | ....return.true;......this._ensu |
1ca480 | 72 65 56 61 6c 69 64 52 6f 77 28 61 52 6f 77 29 3b 0a 0a 20 20 20 20 69 66 20 28 21 50 6c 61 63 | reValidRow(aRow);......if.(!Plac |
1ca4a0 | 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 43 6f 6e 74 61 69 6e 65 72 28 74 68 69 73 2e 5f 76 69 | esUtils.nodeIsContainer(this._vi |
1ca4c0 | 73 69 62 6c 65 45 6c 65 6d 65 6e 74 73 5b 61 52 6f 77 5d 2e 6e 6f 64 65 29 29 0a 20 20 20 20 20 | sibleElements[aRow].node))...... |
1ca4e0 | 20 74 68 72 6f 77 20 43 72 2e 4e 53 5f 45 52 52 4f 52 5f 49 4e 56 41 4c 49 44 5f 41 52 47 3b 0a | .throw.Cr.NS_ERROR_INVALID_ARG;. |
1ca500 | 0a 20 20 20 20 72 65 74 75 72 6e 20 21 74 68 69 73 2e 5f 76 69 73 69 62 6c 65 45 6c 65 6d 65 6e | .....return.!this._visibleElemen |
1ca520 | 74 73 5b 61 52 6f 77 5d 2e 6e 6f 64 65 2e 68 61 73 43 68 69 6c 64 72 65 6e 3b 0a 20 20 7d 2c 0a | ts[aRow].node.hasChildren;...},. |
1ca540 | 0a 20 20 69 73 53 65 70 61 72 61 74 6f 72 3a 20 66 75 6e 63 74 69 6f 6e 20 50 54 56 5f 69 73 53 | ...isSeparator:.function.PTV_isS |
1ca560 | 65 70 61 72 61 74 6f 72 28 61 52 6f 77 29 20 7b 0a 20 20 20 20 74 68 69 73 2e 5f 65 6e 73 75 72 | eparator(aRow).{.....this._ensur |
1ca580 | 65 56 61 6c 69 64 52 6f 77 28 61 52 6f 77 29 3b 0a 20 20 20 20 72 65 74 75 72 6e 20 50 6c 61 63 | eValidRow(aRow);.....return.Plac |
1ca5a0 | 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 53 65 70 61 72 61 74 6f 72 28 74 68 69 73 2e 5f 76 69 | esUtils.nodeIsSeparator(this._vi |
1ca5c0 | 73 69 62 6c 65 45 6c 65 6d 65 6e 74 73 5b 61 52 6f 77 5d 2e 6e 6f 64 65 29 3b 0a 20 20 7d 2c 0a | sibleElements[aRow].node);...},. |
1ca5e0 | 0a 20 20 69 73 53 6f 72 74 65 64 3a 20 66 75 6e 63 74 69 6f 6e 20 50 54 56 5f 69 73 53 6f 72 74 | ...isSorted:.function.PTV_isSort |
1ca600 | 65 64 28 29 20 7b 0a 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 72 65 73 75 6c 74 2e 73 | ed().{.....return.this._result.s |
1ca620 | 6f 72 74 69 6e 67 4d 6f 64 65 20 21 3d 0a 20 20 20 20 20 20 20 20 20 20 20 43 6f 6d 70 6f 6e 65 | ortingMode.!=............Compone |
1ca640 | 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 4e 61 76 48 69 73 74 6f 72 79 51 75 65 72 | nts.interfaces.nsINavHistoryQuer |
1ca660 | 79 4f 70 74 69 6f 6e 73 2e 53 4f 52 54 5f 42 59 5f 4e 4f 4e 45 3b 0a 20 20 7d 2c 0a 0a 20 20 63 | yOptions.SORT_BY_NONE;...},....c |
1ca680 | 61 6e 44 72 6f 70 3a 20 66 75 6e 63 74 69 6f 6e 20 50 54 56 5f 63 61 6e 44 72 6f 70 28 61 52 6f | anDrop:.function.PTV_canDrop(aRo |
1ca6a0 | 77 2c 20 61 4f 72 69 65 6e 74 61 74 69 6f 6e 29 20 7b 0a 20 20 20 20 69 66 20 28 21 74 68 69 73 | w,.aOrientation).{.....if.(!this |
1ca6c0 | 2e 5f 72 65 73 75 6c 74 29 0a 20 20 20 20 20 20 74 68 72 6f 77 20 43 72 2e 4e 53 5f 45 52 52 4f | ._result).......throw.Cr.NS_ERRO |
1ca6e0 | 52 5f 55 4e 45 58 50 45 43 54 45 44 3b 0a 0a 20 20 20 20 2f 2f 20 64 72 6f 70 20 70 6f 73 69 74 | R_UNEXPECTED;......//.drop.posit |
1ca700 | 69 6f 6e 20 69 6e 74 6f 20 61 20 73 6f 72 74 65 64 20 74 72 65 65 76 69 65 77 20 77 6f 75 6c 64 | ion.into.a.sorted.treeview.would |
1ca720 | 20 62 65 20 77 72 6f 6e 67 0a 20 20 20 20 69 66 20 28 74 68 69 73 2e 69 73 53 6f 72 74 65 64 28 | .be.wrong.....if.(this.isSorted( |
1ca740 | 29 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 0a 0a 20 20 20 20 76 61 72 20 | )).......return.false;......var. |
1ca760 | 69 70 20 3d 20 74 68 69 73 2e 5f 67 65 74 49 6e 73 65 72 74 69 6f 6e 50 6f 69 6e 74 28 61 52 6f | ip.=.this._getInsertionPoint(aRo |
1ca780 | 77 2c 20 61 4f 72 69 65 6e 74 61 74 69 6f 6e 29 3b 0a 20 20 20 20 72 65 74 75 72 6e 20 69 70 20 | w,.aOrientation);.....return.ip. |
1ca7a0 | 26 26 20 50 6c 61 63 65 73 43 6f 6e 74 72 6f 6c 6c 65 72 44 72 61 67 48 65 6c 70 65 72 2e 63 61 | &&.PlacesControllerDragHelper.ca |
1ca7c0 | 6e 44 72 6f 70 28 69 70 29 3b 0a 20 20 7d 2c 0a 0a 20 20 5f 67 65 74 49 6e 73 65 72 74 69 6f 6e | nDrop(ip);...},...._getInsertion |
1ca7e0 | 50 6f 69 6e 74 3a 20 66 75 6e 63 74 69 6f 6e 20 50 54 56 5f 5f 67 65 74 49 6e 73 65 72 74 69 6f | Point:.function.PTV__getInsertio |
1ca800 | 6e 50 6f 69 6e 74 28 69 6e 64 65 78 2c 20 6f 72 69 65 6e 74 61 74 69 6f 6e 29 20 7b 0a 20 20 20 | nPoint(index,.orientation).{.... |
1ca820 | 20 76 61 72 20 63 6f 6e 74 61 69 6e 65 72 20 3d 20 74 68 69 73 2e 5f 72 65 73 75 6c 74 2e 72 6f | .var.container.=.this._result.ro |
1ca840 | 6f 74 3b 0a 20 20 20 20 76 61 72 20 64 72 6f 70 4e 65 61 72 49 74 65 6d 49 64 20 3d 20 2d 31 3b | ot;.....var.dropNearItemId.=.-1; |
1ca860 | 0a 20 20 20 20 2f 2f 20 57 68 65 6e 20 74 68 65 72 65 27 73 20 6e 6f 20 73 65 6c 65 63 74 69 6f | .....//.When.there's.no.selectio |
1ca880 | 6e 2c 20 61 73 73 75 6d 65 20 74 68 65 20 63 6f 6e 74 61 69 6e 65 72 20 69 73 20 74 68 65 20 63 | n,.assume.the.container.is.the.c |
1ca8a0 | 6f 6e 74 61 69 6e 65 72 0a 20 20 20 20 2f 2f 20 74 68 65 20 76 69 65 77 20 69 73 20 70 6f 70 75 | ontainer.....//.the.view.is.popu |
1ca8c0 | 6c 61 74 65 64 20 66 72 6f 6d 20 28 69 2e 65 2e 20 74 68 65 20 72 65 73 75 6c 74 27 73 20 69 74 | lated.from.(i.e..the.result's.it |
1ca8e0 | 65 6d 49 64 29 2e 0a 20 20 20 20 69 66 20 28 69 6e 64 65 78 20 21 3d 20 2d 31 29 20 7b 0a 20 20 | emId)......if.(index.!=.-1).{... |
1ca900 | 20 20 20 20 76 61 72 20 6c 61 73 74 53 65 6c 65 63 74 65 64 20 3d 20 74 68 69 73 2e 6e 6f 64 65 | ....var.lastSelected.=.this.node |
1ca920 | 46 6f 72 54 72 65 65 49 6e 64 65 78 28 69 6e 64 65 78 29 3b 0a 20 20 20 20 20 20 69 66 20 28 74 | ForTreeIndex(index);.......if.(t |
1ca940 | 68 69 73 2e 69 73 43 6f 6e 74 61 69 6e 65 72 28 69 6e 64 65 78 29 20 26 26 20 6f 72 69 65 6e 74 | his.isContainer(index).&&.orient |
1ca960 | 61 74 69 6f 6e 20 3d 3d 20 43 69 2e 6e 73 49 54 72 65 65 56 69 65 77 2e 44 52 4f 50 5f 4f 4e 29 | ation.==.Ci.nsITreeView.DROP_ON) |
1ca980 | 20 7b 0a 20 20 20 20 20 20 20 20 2f 2f 20 49 66 20 74 68 65 20 6c 61 73 74 20 73 65 6c 65 63 74 | .{.........//.If.the.last.select |
1ca9a0 | 65 64 20 69 74 65 6d 20 69 73 20 61 6e 20 6f 70 65 6e 20 63 6f 6e 74 61 69 6e 65 72 2c 20 61 70 | ed.item.is.an.open.container,.ap |
1ca9c0 | 70 65 6e 64 20 5f 69 6e 74 6f 5f 0a 20 20 20 20 20 20 20 20 2f 2f 20 69 74 2c 20 72 61 74 68 65 | pend._into_.........//.it,.rathe |
1ca9e0 | 72 20 74 68 61 6e 20 69 6e 73 65 72 74 20 61 64 6a 61 63 65 6e 74 20 74 6f 20 69 74 2e 20 0a 20 | r.than.insert.adjacent.to.it.... |
1caa00 | 20 20 20 20 20 20 20 63 6f 6e 74 61 69 6e 65 72 20 3d 20 6c 61 73 74 53 65 6c 65 63 74 65 64 3b | .......container.=.lastSelected; |
1caa20 | 0a 20 20 20 20 20 20 20 20 69 6e 64 65 78 20 3d 20 2d 31 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 | .........index.=.-1;.......}.... |
1caa40 | 20 20 20 65 6c 73 65 20 69 66 20 28 6c 61 73 74 53 65 6c 65 63 74 65 64 2e 63 6f 6e 74 61 69 6e | ...else.if.(lastSelected.contain |
1caa60 | 65 72 4f 70 65 6e 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 72 69 65 6e 74 61 | erOpen.&&................orienta |
1caa80 | 74 69 6f 6e 20 3d 3d 20 43 69 2e 6e 73 49 54 72 65 65 56 69 65 77 2e 44 52 4f 50 5f 41 46 54 45 | tion.==.Ci.nsITreeView.DROP_AFTE |
1caaa0 | 52 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 73 74 53 65 6c 65 63 74 65 64 | R.&&................lastSelected |
1caac0 | 2e 68 61 73 43 68 69 6c 64 72 65 6e 29 20 7b 0a 20 20 20 20 20 20 20 20 2f 2f 20 49 66 20 74 68 | .hasChildren).{.........//.If.th |
1caae0 | 65 20 6c 61 73 74 20 73 65 6c 65 63 74 65 64 20 69 74 65 6d 20 69 73 20 61 6e 20 6f 70 65 6e 20 | e.last.selected.item.is.an.open. |
1cab00 | 63 6f 6e 74 61 69 6e 65 72 20 61 6e 64 20 74 68 65 20 75 73 65 72 20 69 73 0a 20 20 20 20 20 20 | container.and.the.user.is....... |
1cab20 | 20 20 2f 2f 20 74 72 79 69 6e 67 20 74 6f 20 64 72 61 67 20 69 6e 74 6f 20 69 74 20 61 73 20 61 | ..//.trying.to.drag.into.it.as.a |
1cab40 | 20 66 69 72 73 74 20 69 74 65 6d 2c 20 72 65 61 6c 6c 79 20 69 6e 73 65 72 74 20 69 6e 74 6f 20 | .first.item,.really.insert.into. |
1cab60 | 69 74 2e 0a 20 20 20 20 20 20 20 20 63 6f 6e 74 61 69 6e 65 72 20 3d 20 6c 61 73 74 53 65 6c 65 | it..........container.=.lastSele |
1cab80 | 63 74 65 64 3b 0a 20 20 20 20 20 20 20 20 6f 72 69 65 6e 74 61 74 69 6f 6e 20 3d 20 43 69 2e 6e | cted;.........orientation.=.Ci.n |
1caba0 | 73 49 54 72 65 65 56 69 65 77 2e 44 52 4f 50 5f 4f 4e 3b 0a 20 20 20 20 20 20 20 20 69 6e 64 65 | sITreeView.DROP_ON;.........inde |
1cabc0 | 78 20 3d 20 30 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 | x.=.0;.......}.......else.{..... |
1cabe0 | 20 20 20 20 2f 2f 20 55 73 65 20 74 68 65 20 6c 61 73 74 2d 73 65 6c 65 63 74 65 64 20 6e 6f 64 | ....//.Use.the.last-selected.nod |
1cac00 | 65 27 73 20 63 6f 6e 74 61 69 6e 65 72 20 75 6e 6c 65 73 73 20 74 68 65 20 72 6f 6f 74 20 6e 6f | e's.container.unless.the.root.no |
1cac20 | 64 65 0a 20 20 20 20 20 20 20 20 2f 2f 20 69 73 20 73 65 6c 65 63 74 65 64 2c 20 69 6e 20 77 68 | de.........//.is.selected,.in.wh |
1cac40 | 69 63 68 20 63 61 73 65 20 77 65 20 75 73 65 20 74 68 65 20 72 6f 6f 74 20 6e 6f 64 65 20 69 74 | ich.case.we.use.the.root.node.it |
1cac60 | 73 65 6c 66 20 61 73 20 74 68 65 0a 20 20 20 20 20 20 20 20 2f 2f 20 69 6e 73 65 72 74 69 6f 6e | self.as.the.........//.insertion |
1cac80 | 20 70 6f 69 6e 74 2e 0a 20 20 20 20 20 20 20 20 63 6f 6e 74 61 69 6e 65 72 20 3d 20 6c 61 73 74 | .point..........container.=.last |
1caca0 | 53 65 6c 65 63 74 65 64 2e 70 61 72 65 6e 74 20 7c 7c 20 63 6f 6e 74 61 69 6e 65 72 3b 0a 0a 20 | Selected.parent.||.container;... |
1cacc0 | 20 20 20 20 20 20 20 2f 2f 20 61 76 6f 69 64 20 74 68 65 20 70 6f 74 65 6e 74 69 61 6c 6c 79 20 | .......//.avoid.the.potentially. |
1cace0 | 65 78 70 65 6e 73 69 76 65 20 63 61 6c 6c 20 74 6f 20 67 65 74 49 6e 64 65 78 4f 66 4e 6f 64 65 | expensive.call.to.getIndexOfNode |
1cad00 | 28 29 20 0a 20 20 20 20 20 20 20 20 2f 2f 20 69 66 20 77 65 20 6b 6e 6f 77 20 74 68 69 73 20 63 | ()..........//.if.we.know.this.c |
1cad20 | 6f 6e 74 61 69 6e 65 72 20 64 6f 65 73 6e 27 74 20 61 6c 6c 6f 77 20 69 6e 73 65 72 74 69 6f 6e | ontainer.doesn't.allow.insertion |
1cad40 | 0a 20 20 20 20 20 20 20 20 69 66 20 28 50 6c 61 63 65 73 43 6f 6e 74 72 6f 6c 6c 65 72 44 72 61 | .........if.(PlacesControllerDra |
1cad60 | 67 48 65 6c 70 65 72 2e 64 69 73 61 6c 6c 6f 77 49 6e 73 65 72 74 69 6f 6e 28 63 6f 6e 74 61 69 | gHelper.disallowInsertion(contai |
1cad80 | 6e 65 72 29 29 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 6e 75 6c 6c 3b 0a 0a 20 20 | ner))...........return.null;.... |
1cada0 | 20 20 20 20 20 20 76 61 72 20 71 75 65 72 79 4f 70 74 69 6f 6e 73 20 3d 20 61 73 51 75 65 72 79 | ......var.queryOptions.=.asQuery |
1cadc0 | 28 74 68 69 73 2e 5f 72 65 73 75 6c 74 2e 72 6f 6f 74 29 2e 71 75 65 72 79 4f 70 74 69 6f 6e 73 | (this._result.root).queryOptions |
1cade0 | 3b 0a 20 20 20 20 20 20 20 20 69 66 20 28 71 75 65 72 79 4f 70 74 69 6f 6e 73 2e 73 6f 72 74 69 | ;.........if.(queryOptions.sorti |
1cae00 | 6e 67 4d 6f 64 65 20 21 3d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 43 69 2e 6e 73 49 4e 61 | ngMode.!=...............Ci.nsINa |
1cae20 | 76 48 69 73 74 6f 72 79 51 75 65 72 79 4f 70 74 69 6f 6e 73 2e 53 4f 52 54 5f 42 59 5f 4e 4f 4e | vHistoryQueryOptions.SORT_BY_NON |
1cae40 | 45 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 49 66 20 77 65 20 61 72 65 20 77 69 74 68 | E).{...........//.If.we.are.with |
1cae60 | 69 6e 20 61 20 73 6f 72 74 65 64 20 76 69 65 77 2c 20 69 6e 73 65 72 74 20 61 74 20 74 68 65 20 | in.a.sorted.view,.insert.at.the. |
1cae80 | 65 6e 64 73 0a 20 20 20 20 20 20 20 20 20 20 69 6e 64 65 78 20 3d 20 2d 31 3b 0a 20 20 20 20 20 | ends...........index.=.-1;...... |
1caea0 | 20 20 20 7d 0a 20 20 20 20 20 20 20 20 65 6c 73 65 20 69 66 20 28 71 75 65 72 79 4f 70 74 69 6f | ...}.........else.if.(queryOptio |
1caec0 | 6e 73 2e 65 78 63 6c 75 64 65 49 74 65 6d 73 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ns.excludeItems.||.............. |
1caee0 | 20 20 20 20 71 75 65 72 79 4f 70 74 69 6f 6e 73 2e 65 78 63 6c 75 64 65 51 75 65 72 69 65 73 20 | ....queryOptions.excludeQueries. |
1caf00 | 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 71 75 65 72 79 4f 70 74 69 6f 6e 73 | ||..................queryOptions |
1caf20 | 2e 65 78 63 6c 75 64 65 52 65 61 64 4f 6e 6c 79 46 6f 6c 64 65 72 73 29 20 7b 0a 20 20 20 20 20 | .excludeReadOnlyFolders).{...... |
1caf40 | 20 20 20 20 20 2f 2f 20 53 6f 6d 65 20 69 74 65 6d 20 6d 61 79 20 62 65 20 69 6e 76 69 73 69 62 | .....//.Some.item.may.be.invisib |
1caf60 | 6c 65 2c 20 69 6e 73 65 72 74 20 6e 65 61 72 20 6c 61 73 74 20 73 65 6c 65 63 74 65 64 20 6f 6e | le,.insert.near.last.selected.on |
1caf80 | 65 2e 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 57 65 20 64 6f 6e 27 74 20 72 65 70 6c 61 63 65 | e............//.We.don't.replace |
1cafa0 | 20 69 6e 64 65 78 20 68 65 72 65 20 74 6f 20 61 76 6f 69 64 20 72 65 71 75 65 73 74 73 20 74 6f | .index.here.to.avoid.requests.to |
1cafc0 | 20 74 68 65 20 64 62 2c 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 69 6e 73 74 65 61 64 20 69 74 | .the.db,...........//.instead.it |
1cafe0 | 20 77 69 6c 6c 20 62 65 20 63 61 6c 63 75 6c 61 74 65 64 20 6c 61 74 65 72 20 62 79 20 74 68 65 | .will.be.calculated.later.by.the |
1cb000 | 20 63 6f 6e 74 72 6f 6c 6c 65 72 2e 0a 20 20 20 20 20 20 20 20 20 20 69 6e 64 65 78 20 3d 20 2d | .controller............index.=.- |
1cb020 | 31 3b 0a 20 20 20 20 20 20 20 20 20 20 64 72 6f 70 4e 65 61 72 49 74 65 6d 49 64 20 3d 20 6c 61 | 1;...........dropNearItemId.=.la |
1cb040 | 73 74 53 65 6c 65 63 74 65 64 2e 69 74 65 6d 49 64 3b 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 | stSelected.itemId;.........}.... |
1cb060 | 20 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 20 20 20 20 76 61 72 20 6c 73 69 20 3d 20 | .....else.{...........var.lsi.=. |
1cb080 | 50 6c 61 63 65 73 55 74 69 6c 73 2e 67 65 74 49 6e 64 65 78 4f 66 4e 6f 64 65 28 6c 61 73 74 53 | PlacesUtils.getIndexOfNode(lastS |
1cb0a0 | 65 6c 65 63 74 65 64 29 3b 0a 20 20 20 20 20 20 20 20 20 20 69 6e 64 65 78 20 3d 20 6f 72 69 65 | elected);...........index.=.orie |
1cb0c0 | 6e 74 61 74 69 6f 6e 20 3d 3d 20 43 69 2e 6e 73 49 54 72 65 65 56 69 65 77 2e 44 52 4f 50 5f 42 | ntation.==.Ci.nsITreeView.DROP_B |
1cb0e0 | 45 46 4f 52 45 20 3f 20 6c 73 69 20 3a 20 6c 73 69 20 2b 20 31 3b 0a 20 20 20 20 20 20 20 20 7d | EFORE.?.lsi.:.lsi.+.1;.........} |
1cb100 | 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 0a 20 20 20 20 69 66 20 28 50 6c 61 63 65 73 43 6f | .......}.....}......if.(PlacesCo |
1cb120 | 6e 74 72 6f 6c 6c 65 72 44 72 61 67 48 65 6c 70 65 72 2e 64 69 73 61 6c 6c 6f 77 49 6e 73 65 72 | ntrollerDragHelper.disallowInser |
1cb140 | 74 69 6f 6e 28 63 6f 6e 74 61 69 6e 65 72 29 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 6e 75 | tion(container)).......return.nu |
1cb160 | 6c 6c 3b 0a 0a 20 20 20 20 72 65 74 75 72 6e 20 6e 65 77 20 49 6e 73 65 72 74 69 6f 6e 50 6f 69 | ll;......return.new.InsertionPoi |
1cb180 | 6e 74 28 50 6c 61 63 65 73 55 74 69 6c 73 2e 67 65 74 43 6f 6e 63 72 65 74 65 49 74 65 6d 49 64 | nt(PlacesUtils.getConcreteItemId |
1cb1a0 | 28 63 6f 6e 74 61 69 6e 65 72 29 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | (container),.................... |
1cb1c0 | 20 20 20 20 20 20 20 20 20 20 20 69 6e 64 65 78 2c 20 6f 72 69 65 6e 74 61 74 69 6f 6e 2c 0a 20 | ...........index,.orientation,.. |
1cb1e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 50 6c 61 | .............................Pla |
1cb200 | 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 54 61 67 51 75 65 72 79 28 63 6f 6e 74 61 69 6e 65 | cesUtils.nodeIsTagQuery(containe |
1cb220 | 72 29 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | r),............................. |
1cb240 | 20 20 64 72 6f 70 4e 65 61 72 49 74 65 6d 49 64 29 3b 0a 20 20 7d 2c 0a 0a 20 20 64 72 6f 70 3a | ..dropNearItemId);...},....drop: |
1cb260 | 20 66 75 6e 63 74 69 6f 6e 20 50 54 56 5f 64 72 6f 70 28 61 52 6f 77 2c 20 61 4f 72 69 65 6e 74 | .function.PTV_drop(aRow,.aOrient |
1cb280 | 61 74 69 6f 6e 29 20 7b 0a 20 20 20 20 2f 2f 20 57 65 20 61 72 65 20 72 65 73 70 6f 6e 73 69 62 | ation).{.....//.We.are.responsib |
1cb2a0 | 6c 65 20 66 6f 72 20 74 72 61 6e 73 6c 61 74 69 6e 67 20 74 68 65 20 7c 69 6e 64 65 78 7c 20 61 | le.for.translating.the.|index|.a |
1cb2c0 | 6e 64 20 7c 6f 72 69 65 6e 74 61 74 69 6f 6e 7c 20 0a 20 20 20 20 2f 2f 20 70 61 72 61 6d 65 74 | nd.|orientation|......//.paramet |
1cb2e0 | 65 72 73 20 69 6e 74 6f 20 61 20 63 6f 6e 74 61 69 6e 65 72 20 69 64 20 61 6e 64 20 69 6e 64 65 | ers.into.a.container.id.and.inde |
1cb300 | 78 20 77 69 74 68 69 6e 20 74 68 65 20 63 6f 6e 74 61 69 6e 65 72 2c 20 0a 20 20 20 20 2f 2f 20 | x.within.the.container,......//. |
1cb320 | 73 69 6e 63 65 20 74 68 69 73 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 20 69 73 20 73 70 65 63 69 66 | since.this.information.is.specif |
1cb340 | 69 63 20 74 6f 20 74 68 65 20 74 72 65 65 20 76 69 65 77 2e 0a 20 20 20 20 76 61 72 20 69 70 20 | ic.to.the.tree.view......var.ip. |
1cb360 | 3d 20 74 68 69 73 2e 5f 67 65 74 49 6e 73 65 72 74 69 6f 6e 50 6f 69 6e 74 28 61 52 6f 77 2c 20 | =.this._getInsertionPoint(aRow,. |
1cb380 | 61 4f 72 69 65 6e 74 61 74 69 6f 6e 29 3b 0a 20 20 20 20 69 66 20 28 21 69 70 29 0a 20 20 20 20 | aOrientation);.....if.(!ip)..... |
1cb3a0 | 20 20 72 65 74 75 72 6e 3b 0a 20 20 20 20 50 6c 61 63 65 73 43 6f 6e 74 72 6f 6c 6c 65 72 44 72 | ..return;.....PlacesControllerDr |
1cb3c0 | 61 67 48 65 6c 70 65 72 2e 6f 6e 44 72 6f 70 28 69 70 29 3b 0a 20 20 7d 2c 0a 0a 20 20 67 65 74 | agHelper.onDrop(ip);...},....get |
1cb3e0 | 50 61 72 65 6e 74 49 6e 64 65 78 3a 20 66 75 6e 63 74 69 6f 6e 20 50 54 56 5f 67 65 74 50 61 72 | ParentIndex:.function.PTV_getPar |
1cb400 | 65 6e 74 49 6e 64 65 78 28 61 52 6f 77 29 20 7b 0a 20 20 20 20 74 68 69 73 2e 5f 65 6e 73 75 72 | entIndex(aRow).{.....this._ensur |
1cb420 | 65 56 61 6c 69 64 52 6f 77 28 61 52 6f 77 29 3b 0a 20 20 20 20 76 61 72 20 70 61 72 65 6e 74 20 | eValidRow(aRow);.....var.parent. |
1cb440 | 3d 20 74 68 69 73 2e 5f 76 69 73 69 62 6c 65 45 6c 65 6d 65 6e 74 73 5b 61 52 6f 77 5d 2e 6e 6f | =.this._visibleElements[aRow].no |
1cb460 | 64 65 2e 70 61 72 65 6e 74 3b 0a 20 20 20 20 69 66 20 28 21 70 61 72 65 6e 74 20 7c 7c 20 70 61 | de.parent;.....if.(!parent.||.pa |
1cb480 | 72 65 6e 74 2e 76 69 65 77 49 6e 64 65 78 20 3c 20 30 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e | rent.viewIndex.<.0).......return |
1cb4a0 | 20 2d 31 3b 0a 0a 20 20 20 20 72 65 74 75 72 6e 20 70 61 72 65 6e 74 2e 76 69 65 77 49 6e 64 65 | .-1;......return.parent.viewInde |
1cb4c0 | 78 3b 0a 20 20 7d 2c 0a 0a 20 20 68 61 73 4e 65 78 74 53 69 62 6c 69 6e 67 3a 20 66 75 6e 63 74 | x;...},....hasNextSibling:.funct |
1cb4e0 | 69 6f 6e 20 50 54 56 5f 68 61 73 4e 65 78 74 53 69 62 6c 69 6e 67 28 61 52 6f 77 2c 20 61 41 66 | ion.PTV_hasNextSibling(aRow,.aAf |
1cb500 | 74 65 72 49 6e 64 65 78 29 20 7b 0a 20 20 20 20 74 68 69 73 2e 5f 65 6e 73 75 72 65 56 61 6c 69 | terIndex).{.....this._ensureVali |
1cb520 | 64 52 6f 77 28 61 52 6f 77 29 3b 0a 20 20 20 20 69 66 20 28 61 52 6f 77 20 3d 3d 20 74 68 69 73 | dRow(aRow);.....if.(aRow.==.this |
1cb540 | 2e 5f 76 69 73 69 62 6c 65 45 6c 65 6d 65 6e 74 73 2e 6c 65 6e 67 74 68 20 2d 31 29 20 7b 0a 20 | ._visibleElements.length.-1).{.. |
1cb560 | 20 20 20 20 20 2f 2f 20 74 68 69 73 20 69 73 20 74 68 65 20 6c 61 73 74 20 74 68 69 6e 67 20 69 | .....//.this.is.the.last.thing.i |
1cb580 | 6e 20 74 68 65 20 6c 69 73 74 20 2d 3e 20 6e 6f 20 6e 65 78 74 20 73 69 62 6c 69 6e 67 0a 20 20 | n.the.list.->.no.next.sibling... |
1cb5a0 | 20 20 20 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 76 61 72 | ....return.false;.....}......var |
1cb5c0 | 20 74 68 69 73 4c 65 76 65 6c 20 3d 20 74 68 69 73 2e 5f 76 69 73 69 62 6c 65 45 6c 65 6d 65 6e | .thisLevel.=.this._visibleElemen |
1cb5e0 | 74 73 5b 61 52 6f 77 5d 2e 6e 6f 64 65 2e 69 6e 64 65 6e 74 4c 65 76 65 6c 3b 0a 20 20 20 20 66 | ts[aRow].node.indentLevel;.....f |
1cb600 | 6f 72 20 28 76 61 72 20 69 20 3d 20 61 41 66 74 65 72 49 6e 64 65 78 20 2b 20 31 3b 20 69 20 3c | or.(var.i.=.aAfterIndex.+.1;.i.< |
1cb620 | 20 74 68 69 73 2e 5f 76 69 73 69 62 6c 65 45 6c 65 6d 65 6e 74 73 2e 6c 65 6e 67 74 68 3b 20 2b | .this._visibleElements.length;.+ |
1cb640 | 2b 69 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 6e 65 78 74 4c 65 76 65 6c 20 3d 20 74 68 69 73 | +i).{.......var.nextLevel.=.this |
1cb660 | 2e 5f 76 69 73 69 62 6c 65 45 6c 65 6d 65 6e 74 73 5b 69 5d 2e 6e 6f 64 65 2e 69 6e 64 65 6e 74 | ._visibleElements[i].node.indent |
1cb680 | 4c 65 76 65 6c 3b 0a 20 20 20 20 20 20 69 66 20 28 6e 65 78 74 4c 65 76 65 6c 20 3d 3d 20 74 68 | Level;.......if.(nextLevel.==.th |
1cb6a0 | 69 73 4c 65 76 65 6c 29 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 72 75 65 3b 0a 20 20 | isLevel).........return.true;... |
1cb6c0 | 20 20 20 20 69 66 20 28 6e 65 78 74 4c 65 76 65 6c 20 3c 20 74 68 69 73 4c 65 76 65 6c 29 0a 20 | ....if.(nextLevel.<.thisLevel).. |
1cb6e0 | 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 7d 0a 20 20 20 20 72 65 74 75 72 6e 20 66 | .......break;.....}.....return.f |
1cb700 | 61 6c 73 65 3b 0a 20 20 7d 2c 0a 0a 20 20 67 65 74 4c 65 76 65 6c 3a 20 66 75 6e 63 74 69 6f 6e | alse;...},....getLevel:.function |
1cb720 | 20 50 54 56 5f 67 65 74 4c 65 76 65 6c 28 61 52 6f 77 29 20 7b 0a 20 20 20 20 74 68 69 73 2e 5f | .PTV_getLevel(aRow).{.....this._ |
1cb740 | 65 6e 73 75 72 65 56 61 6c 69 64 52 6f 77 28 61 52 6f 77 29 3b 0a 0a 20 20 20 20 2f 2f 20 4c 65 | ensureValidRow(aRow);......//.Le |
1cb760 | 76 65 6c 20 69 73 20 30 20 66 6f 72 20 69 74 65 6d 73 20 61 74 20 74 68 65 20 72 6f 6f 74 20 6c | vel.is.0.for.items.at.the.root.l |
1cb780 | 65 76 65 6c 2c 20 31 20 66 6f 72 20 69 74 73 20 63 68 69 6c 64 72 65 6e 20 61 6e 64 20 73 6f 20 | evel,.1.for.its.children.and.so. |
1cb7a0 | 6f 6e 2e 0a 20 20 20 20 2f 2f 20 49 66 20 77 65 20 64 6f 6e 27 74 20 73 68 6f 77 20 74 68 65 20 | on......//.If.we.don't.show.the. |
1cb7c0 | 72 65 73 75 6c 74 27 73 20 72 6f 6f 74 20 6e 6f 64 65 2c 20 74 68 65 20 6c 65 76 65 6c 20 69 73 | result's.root.node,.the.level.is |
1cb7e0 | 20 73 69 6d 70 6c 79 20 74 68 65 20 6e 6f 64 65 27 73 0a 20 20 20 20 2f 2f 20 69 6e 64 65 6e 74 | .simply.the.node's.....//.indent |
1cb800 | 4c 65 76 65 6c 3b 20 69 66 20 77 65 20 64 6f 2c 20 69 74 20 69 73 20 74 68 65 20 6e 6f 64 65 27 | Level;.if.we.do,.it.is.the.node' |
1cb820 | 73 20 69 6e 64 65 6e 74 4c 65 76 65 6c 20 69 6e 63 72 65 61 73 65 64 20 62 79 20 31 2e 0a 20 20 | s.indentLevel.increased.by.1.... |
1cb840 | 20 20 2f 2f 20 54 68 61 74 20 69 73 20 62 65 63 61 75 73 65 20 6e 73 4e 61 76 48 69 73 74 6f 72 | ..//.That.is.because.nsNavHistor |
1cb860 | 79 52 65 73 75 6c 74 20 75 73 65 73 20 2d 31 20 61 73 20 74 68 65 20 69 6e 64 65 6e 74 20 6c 65 | yResult.uses.-1.as.the.indent.le |
1cb880 | 76 65 6c 20 66 6f 72 20 74 68 65 0a 20 20 20 20 2f 2f 20 72 6f 6f 74 20 6e 6f 64 65 20 72 65 67 | vel.for.the.....//.root.node.reg |
1cb8a0 | 61 72 64 6c 65 73 73 20 6f 66 20 6f 75 72 20 69 6e 74 65 72 6e 61 6c 20 73 68 6f 77 52 6f 6f 74 | ardless.of.our.internal.showRoot |
1cb8c0 | 20 73 74 61 74 65 2e 0a 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 73 68 6f 77 52 6f 6f 74 29 0a | .state......if.(this._showRoot). |
1cb8e0 | 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 76 69 73 69 62 6c 65 45 6c 65 6d 65 6e | ......return.this._visibleElemen |
1cb900 | 74 73 5b 61 52 6f 77 5d 2e 6e 6f 64 65 2e 69 6e 64 65 6e 74 4c 65 76 65 6c 20 2b 20 31 3b 0a 0a | ts[aRow].node.indentLevel.+.1;.. |
1cb920 | 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 76 69 73 69 62 6c 65 45 6c 65 6d 65 6e 74 73 | ....return.this._visibleElements |
1cb940 | 5b 61 52 6f 77 5d 2e 6e 6f 64 65 2e 69 6e 64 65 6e 74 4c 65 76 65 6c 3b 0a 20 20 7d 2c 0a 0a 20 | [aRow].node.indentLevel;...},... |
1cb960 | 20 67 65 74 49 6d 61 67 65 53 72 63 3a 20 66 75 6e 63 74 69 6f 6e 20 50 54 56 5f 67 65 74 49 6d | .getImageSrc:.function.PTV_getIm |
1cb980 | 61 67 65 53 72 63 28 61 52 6f 77 2c 20 61 43 6f 6c 75 6d 6e 29 20 7b 0a 20 20 20 20 74 68 69 73 | ageSrc(aRow,.aColumn).{.....this |
1cb9a0 | 2e 5f 65 6e 73 75 72 65 56 61 6c 69 64 52 6f 77 28 61 52 6f 77 29 3b 0a 0a 20 20 20 20 2f 2f 20 | ._ensureValidRow(aRow);......//. |
1cb9c0 | 6f 6e 6c 79 20 74 68 65 20 74 69 74 6c 65 20 63 6f 6c 75 6d 6e 20 68 61 73 20 61 6e 20 69 6d 61 | only.the.title.column.has.an.ima |
1cb9e0 | 67 65 0a 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 67 65 74 43 6f 6c 75 6d 6e 54 79 70 65 28 61 | ge.....if.(this._getColumnType(a |
1cba00 | 43 6f 6c 75 6d 6e 29 20 21 3d 20 74 68 69 73 2e 43 4f 4c 55 4d 4e 5f 54 59 50 45 5f 54 49 54 4c | Column).!=.this.COLUMN_TYPE_TITL |
1cba20 | 45 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 22 22 3b 0a 0a 20 20 20 20 76 61 72 20 6e 6f 64 | E).......return."";......var.nod |
1cba40 | 65 20 3d 20 74 68 69 73 2e 5f 76 69 73 69 62 6c 65 45 6c 65 6d 65 6e 74 73 5b 61 52 6f 77 5d 2e | e.=.this._visibleElements[aRow]. |
1cba60 | 6e 6f 64 65 3b 0a 20 20 20 20 76 61 72 20 69 63 6f 6e 20 3d 20 6e 6f 64 65 2e 69 63 6f 6e 3b 0a | node;.....var.icon.=.node.icon;. |
1cba80 | 20 20 20 20 69 66 20 28 69 63 6f 6e 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 69 63 6f 6e 2e | ....if.(icon).......return.icon. |
1cbaa0 | 73 70 65 63 3b 0a 20 20 20 20 72 65 74 75 72 6e 20 22 22 3b 0a 20 20 7d 2c 0a 0a 20 20 67 65 74 | spec;.....return."";...},....get |
1cbac0 | 50 72 6f 67 72 65 73 73 4d 6f 64 65 3a 20 66 75 6e 63 74 69 6f 6e 28 61 52 6f 77 2c 20 61 43 6f | ProgressMode:.function(aRow,.aCo |
1cbae0 | 6c 75 6d 6e 29 20 7b 20 7d 2c 0a 20 20 67 65 74 43 65 6c 6c 56 61 6c 75 65 3a 20 66 75 6e 63 74 | lumn).{.},...getCellValue:.funct |
1cbb00 | 69 6f 6e 28 61 52 6f 77 2c 20 61 43 6f 6c 75 6d 6e 29 20 7b 20 7d 2c 0a 0a 20 20 67 65 74 43 65 | ion(aRow,.aColumn).{.},....getCe |
1cbb20 | 6c 6c 54 65 78 74 3a 20 66 75 6e 63 74 69 6f 6e 20 50 54 56 5f 67 65 74 43 65 6c 6c 54 65 78 74 | llText:.function.PTV_getCellText |
1cbb40 | 28 61 52 6f 77 2c 20 61 43 6f 6c 75 6d 6e 29 20 7b 0a 20 20 20 20 74 68 69 73 2e 5f 65 6e 73 75 | (aRow,.aColumn).{.....this._ensu |
1cbb60 | 72 65 56 61 6c 69 64 52 6f 77 28 61 52 6f 77 29 3b 0a 0a 20 20 20 20 76 61 72 20 6e 6f 64 65 20 | reValidRow(aRow);......var.node. |
1cbb80 | 3d 20 74 68 69 73 2e 5f 76 69 73 69 62 6c 65 45 6c 65 6d 65 6e 74 73 5b 61 52 6f 77 5d 2e 6e 6f | =.this._visibleElements[aRow].no |
1cbba0 | 64 65 3b 0a 20 20 20 20 76 61 72 20 63 6f 6c 75 6d 6e 54 79 70 65 20 3d 20 74 68 69 73 2e 5f 67 | de;.....var.columnType.=.this._g |
1cbbc0 | 65 74 43 6f 6c 75 6d 6e 54 79 70 65 28 61 43 6f 6c 75 6d 6e 29 3b 0a 20 20 20 20 73 77 69 74 63 | etColumnType(aColumn);.....switc |
1cbbe0 | 68 20 28 63 6f 6c 75 6d 6e 54 79 70 65 29 20 7b 0a 20 20 20 20 20 20 63 61 73 65 20 74 68 69 73 | h.(columnType).{.......case.this |
1cbc00 | 2e 43 4f 4c 55 4d 4e 5f 54 59 50 45 5f 54 49 54 4c 45 3a 0a 20 20 20 20 20 20 20 20 2f 2f 20 6e | .COLUMN_TYPE_TITLE:.........//.n |
1cbc20 | 6f 72 6d 61 6c 6c 79 2c 20 74 68 69 73 20 69 73 20 6a 75 73 74 20 74 68 65 20 74 69 74 6c 65 2c | ormally,.this.is.just.the.title, |
1cbc40 | 20 62 75 74 20 77 65 20 64 6f 6e 27 74 20 77 61 6e 74 20 65 6d 70 74 79 20 69 74 65 6d 73 20 69 | .but.we.don't.want.empty.items.i |
1cbc60 | 6e 0a 20 20 20 20 20 20 20 20 2f 2f 20 74 68 65 20 74 72 65 65 20 76 69 65 77 20 73 6f 20 72 65 | n.........//.the.tree.view.so.re |
1cbc80 | 74 75 72 6e 20 61 20 73 70 65 63 69 61 6c 20 73 74 72 69 6e 67 20 69 66 20 74 68 65 20 74 69 74 | turn.a.special.string.if.the.tit |
1cbca0 | 6c 65 20 69 73 20 65 6d 70 74 79 2e 0a 20 20 20 20 20 20 20 20 2f 2f 20 44 6f 20 69 74 20 68 65 | le.is.empty..........//.Do.it.he |
1cbcc0 | 72 65 20 73 6f 20 74 68 61 74 20 63 61 6c 6c 65 72 73 20 63 61 6e 20 73 74 69 6c 6c 20 67 65 74 | re.so.that.callers.can.still.get |
1cbce0 | 20 61 74 20 74 68 65 20 30 20 6c 65 6e 67 74 68 20 74 69 74 6c 65 0a 20 20 20 20 20 20 20 20 2f | .at.the.0.length.title........./ |
1cbd00 | 2f 20 69 66 20 74 68 65 79 20 67 6f 20 74 68 72 6f 75 67 68 20 74 68 65 20 22 72 65 73 75 6c 74 | /.if.they.go.through.the."result |
1cbd20 | 22 20 41 50 49 2e 0a 20 20 20 20 20 20 20 20 69 66 20 28 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e | ".API..........if.(PlacesUtils.n |
1cbd40 | 6f 64 65 49 73 53 65 70 61 72 61 74 6f 72 28 6e 6f 64 65 29 29 0a 20 20 20 20 20 20 20 20 20 20 | odeIsSeparator(node))........... |
1cbd60 | 72 65 74 75 72 6e 20 22 22 3b 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 50 6c 61 63 65 73 | return."";.........return.Places |
1cbd80 | 55 49 55 74 69 6c 73 2e 67 65 74 42 65 73 74 54 69 74 6c 65 28 6e 6f 64 65 29 3b 0a 20 20 20 20 | UIUtils.getBestTitle(node);..... |
1cbda0 | 20 20 63 61 73 65 20 74 68 69 73 2e 43 4f 4c 55 4d 4e 5f 54 59 50 45 5f 54 41 47 53 3a 0a 20 20 | ..case.this.COLUMN_TYPE_TAGS:... |
1cbdc0 | 20 20 20 20 20 20 72 65 74 75 72 6e 20 6e 6f 64 65 2e 74 61 67 73 3b 0a 20 20 20 20 20 20 63 61 | ......return.node.tags;.......ca |
1cbde0 | 73 65 20 74 68 69 73 2e 43 4f 4c 55 4d 4e 5f 54 59 50 45 5f 55 52 49 3a 0a 20 20 20 20 20 20 20 | se.this.COLUMN_TYPE_URI:........ |
1cbe00 | 20 69 66 20 28 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 55 52 49 28 6e 6f 64 65 29 | .if.(PlacesUtils.nodeIsURI(node) |
1cbe20 | 29 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 6e 6f 64 65 2e 75 72 69 3b 0a 20 20 20 | )...........return.node.uri;.... |
1cbe40 | 20 20 20 20 20 72 65 74 75 72 6e 20 22 22 3b 0a 20 20 20 20 20 20 63 61 73 65 20 74 68 69 73 2e | .....return."";.......case.this. |
1cbe60 | 43 4f 4c 55 4d 4e 5f 54 59 50 45 5f 44 41 54 45 3a 0a 20 20 20 20 20 20 20 20 69 66 20 28 6e 6f | COLUMN_TYPE_DATE:.........if.(no |
1cbe80 | 64 65 2e 74 69 6d 65 20 3d 3d 20 30 20 7c 7c 20 21 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 | de.time.==.0.||.!PlacesUtils.nod |
1cbea0 | 65 49 73 55 52 49 28 6e 6f 64 65 29 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 68 6f 73 | eIsURI(node)).{...........//.hos |
1cbec0 | 74 73 20 61 6e 64 20 64 61 79 73 20 73 68 6f 75 6c 64 6e 27 74 20 68 61 76 65 20 61 20 76 61 6c | ts.and.days.shouldn't.have.a.val |
1cbee0 | 75 65 20 66 6f 72 20 74 68 65 20 64 61 74 65 20 63 6f 6c 75 6d 6e 2e 0a 20 20 20 20 20 20 20 20 | ue.for.the.date.column.......... |
1cbf00 | 20 20 2f 2f 20 41 63 74 75 61 6c 6c 79 2c 20 79 6f 75 20 63 6f 75 6c 64 20 61 72 67 75 65 20 74 | ..//.Actually,.you.could.argue.t |
1cbf20 | 68 69 73 20 70 6f 69 6e 74 2c 20 62 75 74 20 6c 6f 6f 6b 69 6e 67 20 61 74 20 74 68 65 0a 20 20 | his.point,.but.looking.at.the... |
1cbf40 | 20 20 20 20 20 20 20 20 2f 2f 20 72 65 73 75 6c 74 73 2c 20 73 65 65 69 6e 67 20 74 68 65 20 6d | ........//.results,.seeing.the.m |
1cbf60 | 6f 73 74 20 72 65 63 65 6e 74 6c 79 20 76 69 73 69 74 65 64 20 64 61 74 65 20 69 73 20 6e 6f 74 | ost.recently.visited.date.is.not |
1cbf80 | 20 77 68 61 74 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 49 20 65 78 70 65 63 74 2c 20 61 6e 64 | .what...........//.I.expect,.and |
1cbfa0 | 20 67 69 76 65 73 20 6d 65 20 6e 6f 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 20 49 20 6b 6e 6f 77 20 | .gives.me.no.information.I.know. |
1cbfc0 | 68 6f 77 20 74 6f 20 75 73 65 2e 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 4f 6e 6c 79 20 73 68 | how.to.use............//.Only.sh |
1cbfe0 | 6f 77 20 74 68 69 73 20 66 6f 72 20 55 52 49 2d 62 61 73 65 64 20 69 74 65 6d 73 2e 0a 20 20 20 | ow.this.for.URI-based.items..... |
1cc000 | 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 22 22 3b 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 | .......return."";.........}..... |
1cc020 | 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 67 65 74 52 6f 77 53 65 73 73 69 6f 6e 53 74 61 74 75 | ....if.(this._getRowSessionStatu |
1cc040 | 73 28 61 52 6f 77 29 20 21 3d 20 74 68 69 73 2e 53 45 53 53 49 4f 4e 5f 53 54 41 54 55 53 5f 43 | s(aRow).!=.this.SESSION_STATUS_C |
1cc060 | 4f 4e 54 49 4e 55 45 29 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f | ONTINUE)...........return.this._ |
1cc080 | 63 6f 6e 76 65 72 74 50 52 54 69 6d 65 54 6f 53 74 72 69 6e 67 28 6e 6f 64 65 2e 74 69 6d 65 29 | convertPRTimeToString(node.time) |
1cc0a0 | 3b 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 22 22 3b 0a 20 20 20 20 20 20 63 61 73 65 20 | ;.........return."";.......case. |
1cc0c0 | 74 68 69 73 2e 43 4f 4c 55 4d 4e 5f 54 59 50 45 5f 56 49 53 49 54 43 4f 55 4e 54 3a 0a 20 20 20 | this.COLUMN_TYPE_VISITCOUNT:.... |
1cc0e0 | 20 20 20 20 20 72 65 74 75 72 6e 20 6e 6f 64 65 2e 61 63 63 65 73 73 43 6f 75 6e 74 3b 0a 20 20 | .....return.node.accessCount;... |
1cc100 | 20 20 20 20 63 61 73 65 20 74 68 69 73 2e 43 4f 4c 55 4d 4e 5f 54 59 50 45 5f 4b 45 59 57 4f 52 | ....case.this.COLUMN_TYPE_KEYWOR |
1cc120 | 44 3a 0a 20 20 20 20 20 20 20 20 69 66 20 28 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 | D:.........if.(PlacesUtils.nodeI |
1cc140 | 73 42 6f 6f 6b 6d 61 72 6b 28 6e 6f 64 65 29 29 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 | sBookmark(node))...........retur |
1cc160 | 6e 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 62 6f 6f 6b 6d 61 72 6b 73 2e 67 65 74 4b 65 79 77 6f | n.PlacesUtils.bookmarks.getKeywo |
1cc180 | 72 64 46 6f 72 42 6f 6f 6b 6d 61 72 6b 28 6e 6f 64 65 2e 69 74 65 6d 49 64 29 3b 0a 20 20 20 20 | rdForBookmark(node.itemId);..... |
1cc1a0 | 20 20 20 20 72 65 74 75 72 6e 20 22 22 3b 0a 20 20 20 20 20 20 63 61 73 65 20 74 68 69 73 2e 43 | ....return."";.......case.this.C |
1cc1c0 | 4f 4c 55 4d 4e 5f 54 59 50 45 5f 44 45 53 43 52 49 50 54 49 4f 4e 3a 0a 20 20 20 20 20 20 20 20 | OLUMN_TYPE_DESCRIPTION:......... |
1cc1e0 | 63 6f 6e 73 74 20 61 6e 6e 6f 73 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 61 6e 6e 6f 74 61 | const.annos.=.PlacesUtils.annota |
1cc200 | 74 69 6f 6e 73 3b 0a 20 20 20 20 20 20 20 20 69 66 20 28 61 6e 6e 6f 73 2e 69 74 65 6d 48 61 73 | tions;.........if.(annos.itemHas |
1cc220 | 41 6e 6e 6f 74 61 74 69 6f 6e 28 6e 6f 64 65 2e 69 74 65 6d 49 64 2c 20 44 45 53 43 52 49 50 54 | Annotation(node.itemId,.DESCRIPT |
1cc240 | 49 4f 4e 5f 41 4e 4e 4f 29 29 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 61 6e 6e 6f | ION_ANNO))...........return.anno |
1cc260 | 73 2e 67 65 74 49 74 65 6d 41 6e 6e 6f 74 61 74 69 6f 6e 28 6e 6f 64 65 2e 69 74 65 6d 49 64 2c | s.getItemAnnotation(node.itemId, |
1cc280 | 20 44 45 53 43 52 49 50 54 49 4f 4e 5f 41 4e 4e 4f 29 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 | .DESCRIPTION_ANNO).........retur |
1cc2a0 | 6e 20 22 22 3b 0a 20 20 20 20 20 20 63 61 73 65 20 74 68 69 73 2e 43 4f 4c 55 4d 4e 5f 54 59 50 | n."";.......case.this.COLUMN_TYP |
1cc2c0 | 45 5f 44 41 54 45 41 44 44 45 44 3a 0a 20 20 20 20 20 20 20 20 69 66 20 28 6e 6f 64 65 2e 64 61 | E_DATEADDED:.........if.(node.da |
1cc2e0 | 74 65 41 64 64 65 64 29 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f | teAdded)...........return.this._ |
1cc300 | 63 6f 6e 76 65 72 74 50 52 54 69 6d 65 54 6f 53 74 72 69 6e 67 28 6e 6f 64 65 2e 64 61 74 65 41 | convertPRTimeToString(node.dateA |
1cc320 | 64 64 65 64 29 3b 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 22 22 3b 0a 20 20 20 20 20 20 | dded);.........return."";....... |
1cc340 | 63 61 73 65 20 74 68 69 73 2e 43 4f 4c 55 4d 4e 5f 54 59 50 45 5f 4c 41 53 54 4d 4f 44 49 46 49 | case.this.COLUMN_TYPE_LASTMODIFI |
1cc360 | 45 44 3a 0a 20 20 20 20 20 20 20 20 69 66 20 28 6e 6f 64 65 2e 6c 61 73 74 4d 6f 64 69 66 69 65 | ED:.........if.(node.lastModifie |
1cc380 | 64 29 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 63 6f 6e 76 65 72 | d)...........return.this._conver |
1cc3a0 | 74 50 52 54 69 6d 65 54 6f 53 74 72 69 6e 67 28 6e 6f 64 65 2e 6c 61 73 74 4d 6f 64 69 66 69 65 | tPRTimeToString(node.lastModifie |
1cc3c0 | 64 29 3b 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 22 22 3b 0a 20 20 20 20 7d 0a 20 20 20 | d);.........return."";.....}.... |
1cc3e0 | 20 72 65 74 75 72 6e 20 22 22 3b 0a 20 20 7d 2c 0a 0a 20 20 73 65 74 54 72 65 65 3a 20 66 75 6e | .return."";...},....setTree:.fun |
1cc400 | 63 74 69 6f 6e 20 50 54 56 5f 73 65 74 54 72 65 65 28 61 54 72 65 65 29 20 7b 0a 20 20 20 20 76 | ction.PTV_setTree(aTree).{.....v |
1cc420 | 61 72 20 68 61 73 4f 6c 64 54 72 65 65 20 3d 20 74 68 69 73 2e 5f 74 72 65 65 20 21 3d 20 6e 75 | ar.hasOldTree.=.this._tree.!=.nu |
1cc440 | 6c 6c 3b 0a 20 20 20 20 74 68 69 73 2e 5f 74 72 65 65 20 3d 20 61 54 72 65 65 3b 0a 0a 20 20 20 | ll;.....this._tree.=.aTree;..... |
1cc460 | 20 2f 2f 20 64 6f 20 74 68 69 73 20 62 65 66 6f 72 65 20 64 65 74 61 63 68 69 6e 67 20 66 72 6f | .//.do.this.before.detaching.fro |
1cc480 | 6d 20 72 65 73 75 6c 74 20 77 68 65 6e 20 74 68 65 72 65 20 69 73 20 6e 6f 20 74 72 65 65 2e 0a | m.result.when.there.is.no.tree.. |
1cc4a0 | 20 20 20 20 2f 2f 20 54 68 69 73 20 65 6e 73 75 72 65 73 20 74 68 61 74 20 74 68 65 20 76 69 73 | ....//.This.ensures.that.the.vis |
1cc4c0 | 69 62 6c 65 20 69 6e 64 69 63 65 73 20 6f 66 20 74 68 65 20 65 6c 65 6d 65 6e 74 73 20 69 6e 20 | ible.indices.of.the.elements.in. |
1cc4e0 | 74 68 65 0a 20 20 20 20 2f 2f 20 72 65 73 75 6c 74 20 68 61 76 65 20 62 65 65 6e 20 73 65 74 20 | the.....//.result.have.been.set. |
1cc500 | 74 6f 20 2d 31 0a 20 20 20 20 74 68 69 73 2e 5f 66 69 6e 69 73 68 49 6e 69 74 28 29 3b 0a 0a 20 | to.-1.....this._finishInit();... |
1cc520 | 20 20 20 69 66 20 28 21 61 54 72 65 65 20 26 26 20 68 61 73 4f 6c 64 54 72 65 65 20 26 26 20 74 | ...if.(!aTree.&&.hasOldTree.&&.t |
1cc540 | 68 69 73 2e 5f 72 65 73 75 6c 74 29 20 7b 0a 20 20 20 20 20 20 2f 2f 20 64 65 74 61 63 68 20 66 | his._result).{.......//.detach.f |
1cc560 | 72 6f 6d 20 72 65 73 75 6c 74 20 77 68 65 6e 20 77 65 20 61 72 65 20 64 65 74 61 63 68 69 6e 67 | rom.result.when.we.are.detaching |
1cc580 | 20 66 72 6f 6d 20 74 68 65 20 74 72 65 65 2e 0a 20 20 20 20 20 20 2f 2f 20 54 68 69 73 20 62 72 | .from.the.tree........//.This.br |
1cc5a0 | 65 61 6b 73 20 74 68 65 20 72 65 66 65 72 65 6e 63 65 20 63 79 63 6c 65 20 62 65 74 77 65 65 6e | eaks.the.reference.cycle.between |
1cc5c0 | 20 75 73 20 61 6e 64 20 74 68 65 20 72 65 73 75 6c 74 2e 0a 20 20 20 20 20 20 74 68 69 73 2e 5f | .us.and.the.result........this._ |
1cc5e0 | 72 65 73 75 6c 74 2e 76 69 65 77 65 72 20 3d 20 6e 75 6c 6c 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c | result.viewer.=.null;.....}...}, |
1cc600 | 0a 0a 20 20 74 6f 67 67 6c 65 4f 70 65 6e 53 74 61 74 65 3a 20 66 75 6e 63 74 69 6f 6e 20 50 54 | ....toggleOpenState:.function.PT |
1cc620 | 56 5f 74 6f 67 67 6c 65 4f 70 65 6e 53 74 61 74 65 28 61 52 6f 77 29 20 7b 0a 20 20 20 20 69 66 | V_toggleOpenState(aRow).{.....if |
1cc640 | 20 28 21 74 68 69 73 2e 5f 72 65 73 75 6c 74 29 0a 20 20 20 20 20 20 74 68 72 6f 77 20 43 72 2e | .(!this._result).......throw.Cr. |
1cc660 | 4e 53 5f 45 52 52 4f 52 5f 55 4e 45 58 50 45 43 54 45 44 3b 0a 20 20 20 20 74 68 69 73 2e 5f 65 | NS_ERROR_UNEXPECTED;.....this._e |
1cc680 | 6e 73 75 72 65 56 61 6c 69 64 52 6f 77 28 61 52 6f 77 29 3b 0a 0a 20 20 20 20 76 61 72 20 6e 6f | nsureValidRow(aRow);......var.no |
1cc6a0 | 64 65 20 3d 20 74 68 69 73 2e 5f 76 69 73 69 62 6c 65 45 6c 65 6d 65 6e 74 73 5b 61 52 6f 77 5d | de.=.this._visibleElements[aRow] |
1cc6c0 | 2e 6e 6f 64 65 3b 0a 20 20 20 20 69 66 20 28 21 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 | .node;.....if.(!PlacesUtils.node |
1cc6e0 | 49 73 43 6f 6e 74 61 69 6e 65 72 28 6e 6f 64 65 29 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b | IsContainer(node)).......return; |
1cc700 | 20 2f 2f 20 6e 6f 74 20 61 20 63 6f 6e 74 61 69 6e 65 72 2c 20 6e 6f 74 68 69 6e 67 20 74 6f 20 | .//.not.a.container,.nothing.to. |
1cc720 | 64 6f 0a 0a 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 66 6c 61 74 4c 69 73 74 20 26 26 20 74 68 | do......if.(this._flatList.&&.th |
1cc740 | 69 73 2e 5f 6f 70 65 6e 43 6f 6e 74 61 69 6e 65 72 43 61 6c 6c 62 61 63 6b 29 20 7b 0a 20 20 20 | is._openContainerCallback).{.... |
1cc760 | 20 20 20 74 68 69 73 2e 5f 6f 70 65 6e 43 6f 6e 74 61 69 6e 65 72 43 61 6c 6c 62 61 63 6b 28 6e | ...this._openContainerCallback(n |
1cc780 | 6f 64 65 29 3b 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 76 | ode);.......return;.....}......v |
1cc7a0 | 61 72 20 72 65 73 6f 75 72 63 65 20 3d 20 74 68 69 73 2e 5f 67 65 74 52 65 73 6f 75 72 63 65 46 | ar.resource.=.this._getResourceF |
1cc7c0 | 6f 72 4e 6f 64 65 28 6e 6f 64 65 29 3b 0a 20 20 20 20 69 66 20 28 72 65 73 6f 75 72 63 65 29 20 | orNode(node);.....if.(resource). |
1cc7e0 | 7b 0a 20 20 20 20 20 20 63 6f 6e 73 74 20 6f 70 65 6e 4c 69 74 65 72 61 6c 20 3d 20 50 6c 61 63 | {.......const.openLiteral.=.Plac |
1cc800 | 65 73 55 49 55 74 69 6c 73 2e 52 44 46 2e 47 65 74 52 65 73 6f 75 72 63 65 28 22 68 74 74 70 3a | esUIUtils.RDF.GetResource("http: |
1cc820 | 2f 2f 68 6f 6d 65 2e 6e 65 74 73 63 61 70 65 2e 63 6f 6d 2f 4e 43 2d 72 64 66 23 6f 70 65 6e 22 | //home.netscape.com/NC-rdf#open" |
1cc840 | 29 3b 0a 20 20 20 20 20 20 63 6f 6e 73 74 20 74 72 75 65 4c 69 74 65 72 61 6c 20 3d 20 50 6c 61 | );.......const.trueLiteral.=.Pla |
1cc860 | 63 65 73 55 49 55 74 69 6c 73 2e 52 44 46 2e 47 65 74 4c 69 74 65 72 61 6c 28 22 74 72 75 65 22 | cesUIUtils.RDF.GetLiteral("true" |
1cc880 | 29 3b 0a 0a 20 20 20 20 20 20 69 66 20 28 6e 6f 64 65 2e 63 6f 6e 74 61 69 6e 65 72 4f 70 65 6e | );........if.(node.containerOpen |
1cc8a0 | 29 0a 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 6c 6f 63 61 6c 53 74 6f | ).........PlacesUIUtils.localSto |
1cc8c0 | 72 65 2e 55 6e 61 73 73 65 72 74 28 72 65 73 6f 75 72 63 65 2c 20 6f 70 65 6e 4c 69 74 65 72 61 | re.Unassert(resource,.openLitera |
1cc8e0 | 6c 2c 20 74 72 75 65 4c 69 74 65 72 61 6c 29 3b 0a 20 20 20 20 20 20 65 6c 73 65 0a 20 20 20 20 | l,.trueLiteral);.......else..... |
1cc900 | 20 20 20 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 6c 6f 63 61 6c 53 74 6f 72 65 2e 41 73 73 | ....PlacesUIUtils.localStore.Ass |
1cc920 | 65 72 74 28 72 65 73 6f 75 72 63 65 2c 20 6f 70 65 6e 4c 69 74 65 72 61 6c 2c 20 74 72 75 65 4c | ert(resource,.openLiteral,.trueL |
1cc940 | 69 74 65 72 61 6c 2c 20 74 72 75 65 29 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 6e 6f 64 65 2e 63 | iteral,.true);.....}......node.c |
1cc960 | 6f 6e 74 61 69 6e 65 72 4f 70 65 6e 20 3d 20 21 6e 6f 64 65 2e 63 6f 6e 74 61 69 6e 65 72 4f 70 | ontainerOpen.=.!node.containerOp |
1cc980 | 65 6e 3b 0a 20 20 7d 2c 0a 0a 20 20 63 79 63 6c 65 48 65 61 64 65 72 3a 20 66 75 6e 63 74 69 6f | en;...},....cycleHeader:.functio |
1cc9a0 | 6e 20 50 54 56 5f 63 79 63 6c 65 48 65 61 64 65 72 28 61 43 6f 6c 75 6d 6e 29 20 7b 0a 20 20 20 | n.PTV_cycleHeader(aColumn).{.... |
1cc9c0 | 20 69 66 20 28 21 74 68 69 73 2e 5f 72 65 73 75 6c 74 29 0a 20 20 20 20 20 20 74 68 72 6f 77 20 | .if.(!this._result).......throw. |
1cc9e0 | 43 72 2e 4e 53 5f 45 52 52 4f 52 5f 55 4e 45 58 50 45 43 54 45 44 3b 0a 0a 20 20 20 20 2f 2f 20 | Cr.NS_ERROR_UNEXPECTED;......//. |
1cca00 | 53 6f 6d 65 74 69 6d 65 73 20 79 6f 75 20 77 61 6e 74 20 61 20 74 72 69 2d 73 74 61 74 65 20 73 | Sometimes.you.want.a.tri-state.s |
1cca20 | 6f 72 74 69 6e 67 2c 20 61 6e 64 20 73 6f 6d 65 74 69 6d 65 73 20 79 6f 75 20 64 6f 6e 27 74 2e | orting,.and.sometimes.you.don't. |
1cca40 | 20 54 68 69 73 0a 20 20 20 20 2f 2f 20 72 75 6c 65 20 61 6c 6c 6f 77 73 20 74 72 69 2d 73 74 61 | .This.....//.rule.allows.tri-sta |
1cca60 | 74 65 20 73 6f 72 74 69 6e 67 20 77 68 65 6e 20 74 68 65 20 72 6f 6f 74 20 6e 6f 64 65 20 69 73 | te.sorting.when.the.root.node.is |
1cca80 | 20 61 20 66 6f 6c 64 65 72 2e 20 54 68 69 73 20 77 69 6c 6c 0a 20 20 20 20 2f 2f 20 63 61 74 63 | .a.folder..This.will.....//.catc |
1ccaa0 | 68 20 74 68 65 20 6d 6f 73 74 20 63 6f 6d 6d 6f 6e 20 63 61 73 65 73 2e 20 57 68 65 6e 20 79 6f | h.the.most.common.cases..When.yo |
1ccac0 | 75 20 61 72 65 20 6c 6f 6f 6b 69 6e 67 20 61 74 20 66 6f 6c 64 65 72 73 2c 20 79 6f 75 20 77 61 | u.are.looking.at.folders,.you.wa |
1ccae0 | 6e 74 0a 20 20 20 20 2f 2f 20 74 68 65 20 74 68 69 72 64 20 73 74 61 74 65 20 74 6f 20 72 65 73 | nt.....//.the.third.state.to.res |
1ccb00 | 65 74 20 74 68 65 20 73 6f 72 74 69 6e 67 20 74 6f 20 74 68 65 20 6e 61 74 75 72 61 6c 20 62 6f | et.the.sorting.to.the.natural.bo |
1ccb20 | 6f 6b 6d 61 72 6b 20 6f 72 64 65 72 2e 20 57 68 65 6e 0a 20 20 20 20 2f 2f 20 79 6f 75 20 61 72 | okmark.order..When.....//.you.ar |
1ccb40 | 65 20 6c 6f 6f 6b 69 6e 67 20 61 74 20 68 69 73 74 6f 72 79 2c 20 74 68 61 74 20 74 68 69 72 64 | e.looking.at.history,.that.third |
1ccb60 | 20 73 74 61 74 65 20 68 61 73 20 6e 6f 20 6d 65 61 6e 69 6e 67 20 73 6f 20 77 65 20 74 72 79 0a | .state.has.no.meaning.so.we.try. |
1ccb80 | 20 20 20 20 2f 2f 20 74 6f 20 64 69 73 61 6c 6c 6f 77 20 69 74 2e 0a 20 20 20 20 2f 2f 0a 20 20 | ....//.to.disallow.it......//... |
1ccba0 | 20 20 2f 2f 20 54 68 65 20 70 72 6f 62 6c 65 6d 20 6f 63 63 75 72 73 20 77 68 65 6e 20 79 6f 75 | ..//.The.problem.occurs.when.you |
1ccbc0 | 20 68 61 76 65 20 61 20 71 75 65 72 79 20 74 68 61 74 20 72 65 73 75 6c 74 73 20 69 6e 20 62 6f | .have.a.query.that.results.in.bo |
1ccbe0 | 6f 6b 6d 61 72 6b 0a 20 20 20 20 2f 2f 20 66 6f 6c 64 65 72 73 2e 20 4f 6e 65 20 65 78 61 6d 70 | okmark.....//.folders..One.examp |
1ccc00 | 6c 65 20 6f 66 20 74 68 69 73 20 69 73 20 74 68 65 20 73 75 62 73 63 72 69 70 74 69 6f 6e 73 20 | le.of.this.is.the.subscriptions. |
1ccc20 | 76 69 65 77 2e 20 49 6e 20 74 68 65 73 65 20 63 61 73 65 73 2c 0a 20 20 20 20 2f 2f 20 74 68 69 | view..In.these.cases,.....//.thi |
1ccc40 | 73 20 72 75 6c 65 20 64 6f 65 73 6e 27 74 20 61 6c 6c 6f 77 20 79 6f 75 20 74 6f 20 73 6f 72 74 | s.rule.doesn't.allow.you.to.sort |
1ccc60 | 20 74 68 6f 73 65 20 73 75 62 2d 66 6f 6c 64 65 72 73 20 62 79 20 74 68 65 69 72 20 6e 61 74 75 | .those.sub-folders.by.their.natu |
1ccc80 | 72 61 6c 0a 20 20 20 20 2f 2f 20 6f 72 64 65 72 2e 0a 20 20 20 20 76 61 72 20 61 6c 6c 6f 77 54 | ral.....//.order......var.allowT |
1ccca0 | 72 69 53 74 61 74 65 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 46 6f 6c 64 | riState.=.PlacesUtils.nodeIsFold |
1cccc0 | 65 72 28 74 68 69 73 2e 5f 72 65 73 75 6c 74 2e 72 6f 6f 74 29 3b 0a 0a 20 20 20 20 76 61 72 20 | er(this._result.root);......var. |
1ccce0 | 6f 6c 64 53 6f 72 74 20 3d 20 74 68 69 73 2e 5f 72 65 73 75 6c 74 2e 73 6f 72 74 69 6e 67 4d 6f | oldSort.=.this._result.sortingMo |
1ccd00 | 64 65 3b 0a 20 20 20 20 76 61 72 20 6f 6c 64 53 6f 72 74 69 6e 67 41 6e 6e 6f 74 61 74 69 6f 6e | de;.....var.oldSortingAnnotation |
1ccd20 | 20 3d 20 74 68 69 73 2e 5f 72 65 73 75 6c 74 2e 73 6f 72 74 69 6e 67 41 6e 6e 6f 74 61 74 69 6f | .=.this._result.sortingAnnotatio |
1ccd40 | 6e 3b 0a 20 20 20 20 76 61 72 20 6e 65 77 53 6f 72 74 3b 0a 20 20 20 20 76 61 72 20 6e 65 77 53 | n;.....var.newSort;.....var.newS |
1ccd60 | 6f 72 74 69 6e 67 41 6e 6e 6f 74 61 74 69 6f 6e 20 3d 20 22 22 3b 0a 20 20 20 20 63 6f 6e 73 74 | ortingAnnotation.=."";.....const |
1ccd80 | 20 4e 48 51 4f 20 3d 20 43 69 2e 6e 73 49 4e 61 76 48 69 73 74 6f 72 79 51 75 65 72 79 4f 70 74 | .NHQO.=.Ci.nsINavHistoryQueryOpt |
1ccda0 | 69 6f 6e 73 3b 0a 20 20 20 20 76 61 72 20 63 6f 6c 75 6d 6e 54 79 70 65 20 3d 20 74 68 69 73 2e | ions;.....var.columnType.=.this. |
1ccdc0 | 5f 67 65 74 43 6f 6c 75 6d 6e 54 79 70 65 28 61 43 6f 6c 75 6d 6e 29 3b 0a 20 20 20 20 73 77 69 | _getColumnType(aColumn);.....swi |
1ccde0 | 74 63 68 20 28 63 6f 6c 75 6d 6e 54 79 70 65 29 20 7b 0a 20 20 20 20 20 20 63 61 73 65 20 74 68 | tch.(columnType).{.......case.th |
1cce00 | 69 73 2e 43 4f 4c 55 4d 4e 5f 54 59 50 45 5f 54 49 54 4c 45 3a 0a 20 20 20 20 20 20 20 20 69 66 | is.COLUMN_TYPE_TITLE:.........if |
1cce20 | 20 28 6f 6c 64 53 6f 72 74 20 3d 3d 20 4e 48 51 4f 2e 53 4f 52 54 5f 42 59 5f 54 49 54 4c 45 5f | .(oldSort.==.NHQO.SORT_BY_TITLE_ |
1cce40 | 41 53 43 45 4e 44 49 4e 47 29 0a 20 20 20 20 20 20 20 20 20 20 6e 65 77 53 6f 72 74 20 3d 20 4e | ASCENDING)...........newSort.=.N |
1cce60 | 48 51 4f 2e 53 4f 52 54 5f 42 59 5f 54 49 54 4c 45 5f 44 45 53 43 45 4e 44 49 4e 47 3b 0a 20 20 | HQO.SORT_BY_TITLE_DESCENDING;... |
1cce80 | 20 20 20 20 20 20 65 6c 73 65 20 69 66 20 28 61 6c 6c 6f 77 54 72 69 53 74 61 74 65 20 26 26 20 | ......else.if.(allowTriState.&&. |
1ccea0 | 6f 6c 64 53 6f 72 74 20 3d 3d 20 4e 48 51 4f 2e 53 4f 52 54 5f 42 59 5f 54 49 54 4c 45 5f 44 45 | oldSort.==.NHQO.SORT_BY_TITLE_DE |
1ccec0 | 53 43 45 4e 44 49 4e 47 29 0a 20 20 20 20 20 20 20 20 20 20 6e 65 77 53 6f 72 74 20 3d 20 4e 48 | SCENDING)...........newSort.=.NH |
1ccee0 | 51 4f 2e 53 4f 52 54 5f 42 59 5f 4e 4f 4e 45 3b 0a 20 20 20 20 20 20 20 20 65 6c 73 65 0a 20 20 | QO.SORT_BY_NONE;.........else... |
1ccf00 | 20 20 20 20 20 20 20 20 6e 65 77 53 6f 72 74 20 3d 20 4e 48 51 4f 2e 53 4f 52 54 5f 42 59 5f 54 | ........newSort.=.NHQO.SORT_BY_T |
1ccf20 | 49 54 4c 45 5f 41 53 43 45 4e 44 49 4e 47 3b 0a 0a 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a | ITLE_ASCENDING;..........break;. |
1ccf40 | 20 20 20 20 20 20 63 61 73 65 20 74 68 69 73 2e 43 4f 4c 55 4d 4e 5f 54 59 50 45 5f 55 52 49 3a | ......case.this.COLUMN_TYPE_URI: |
1ccf60 | 0a 20 20 20 20 20 20 20 20 69 66 20 28 6f 6c 64 53 6f 72 74 20 3d 3d 20 4e 48 51 4f 2e 53 4f 52 | .........if.(oldSort.==.NHQO.SOR |
1ccf80 | 54 5f 42 59 5f 55 52 49 5f 41 53 43 45 4e 44 49 4e 47 29 0a 20 20 20 20 20 20 20 20 20 20 6e 65 | T_BY_URI_ASCENDING)...........ne |
1ccfa0 | 77 53 6f 72 74 20 3d 20 4e 48 51 4f 2e 53 4f 52 54 5f 42 59 5f 55 52 49 5f 44 45 53 43 45 4e 44 | wSort.=.NHQO.SORT_BY_URI_DESCEND |
1ccfc0 | 49 4e 47 3b 0a 20 20 20 20 20 20 20 20 65 6c 73 65 20 69 66 20 28 61 6c 6c 6f 77 54 72 69 53 74 | ING;.........else.if.(allowTriSt |
1ccfe0 | 61 74 65 20 26 26 20 6f 6c 64 53 6f 72 74 20 3d 3d 20 4e 48 51 4f 2e 53 4f 52 54 5f 42 59 5f 55 | ate.&&.oldSort.==.NHQO.SORT_BY_U |
1cd000 | 52 49 5f 44 45 53 43 45 4e 44 49 4e 47 29 0a 20 20 20 20 20 20 20 20 20 20 6e 65 77 53 6f 72 74 | RI_DESCENDING)...........newSort |
1cd020 | 20 3d 20 4e 48 51 4f 2e 53 4f 52 54 5f 42 59 5f 4e 4f 4e 45 3b 0a 20 20 20 20 20 20 20 20 65 6c | .=.NHQO.SORT_BY_NONE;.........el |
1cd040 | 73 65 0a 20 20 20 20 20 20 20 20 20 20 6e 65 77 53 6f 72 74 20 3d 20 4e 48 51 4f 2e 53 4f 52 54 | se...........newSort.=.NHQO.SORT |
1cd060 | 5f 42 59 5f 55 52 49 5f 41 53 43 45 4e 44 49 4e 47 3b 0a 0a 20 20 20 20 20 20 20 20 62 72 65 61 | _BY_URI_ASCENDING;..........brea |
1cd080 | 6b 3b 0a 20 20 20 20 20 20 63 61 73 65 20 74 68 69 73 2e 43 4f 4c 55 4d 4e 5f 54 59 50 45 5f 44 | k;.......case.this.COLUMN_TYPE_D |
1cd0a0 | 41 54 45 3a 0a 20 20 20 20 20 20 20 20 69 66 20 28 6f 6c 64 53 6f 72 74 20 3d 3d 20 4e 48 51 4f | ATE:.........if.(oldSort.==.NHQO |
1cd0c0 | 2e 53 4f 52 54 5f 42 59 5f 44 41 54 45 5f 41 53 43 45 4e 44 49 4e 47 29 0a 20 20 20 20 20 20 20 | .SORT_BY_DATE_ASCENDING)........ |
1cd0e0 | 20 20 20 6e 65 77 53 6f 72 74 20 3d 20 4e 48 51 4f 2e 53 4f 52 54 5f 42 59 5f 44 41 54 45 5f 44 | ...newSort.=.NHQO.SORT_BY_DATE_D |
1cd100 | 45 53 43 45 4e 44 49 4e 47 3b 0a 20 20 20 20 20 20 20 20 65 6c 73 65 20 69 66 20 28 61 6c 6c 6f | ESCENDING;.........else.if.(allo |
1cd120 | 77 54 72 69 53 74 61 74 65 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6c | wTriState.&&..................ol |
1cd140 | 64 53 6f 72 74 20 3d 3d 20 4e 48 51 4f 2e 53 4f 52 54 5f 42 59 5f 44 41 54 45 5f 44 45 53 43 45 | dSort.==.NHQO.SORT_BY_DATE_DESCE |
1cd160 | 4e 44 49 4e 47 29 0a 20 20 20 20 20 20 20 20 20 20 6e 65 77 53 6f 72 74 20 3d 20 4e 48 51 4f 2e | NDING)...........newSort.=.NHQO. |
1cd180 | 53 4f 52 54 5f 42 59 5f 4e 4f 4e 45 3b 0a 20 20 20 20 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 | SORT_BY_NONE;.........else...... |
1cd1a0 | 20 20 20 20 20 6e 65 77 53 6f 72 74 20 3d 20 4e 48 51 4f 2e 53 4f 52 54 5f 42 59 5f 44 41 54 45 | .....newSort.=.NHQO.SORT_BY_DATE |
1cd1c0 | 5f 41 53 43 45 4e 44 49 4e 47 3b 0a 0a 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 | _ASCENDING;..........break;..... |
1cd1e0 | 20 20 63 61 73 65 20 74 68 69 73 2e 43 4f 4c 55 4d 4e 5f 54 59 50 45 5f 56 49 53 49 54 43 4f 55 | ..case.this.COLUMN_TYPE_VISITCOU |
1cd200 | 4e 54 3a 0a 20 20 20 20 20 20 20 20 2f 2f 20 76 69 73 69 74 20 63 6f 75 6e 74 20 64 65 66 61 75 | NT:.........//.visit.count.defau |
1cd220 | 6c 74 20 69 73 20 75 6e 75 73 75 61 6c 20 62 65 63 61 75 73 65 20 77 65 20 73 6f 72 74 20 62 79 | lt.is.unusual.because.we.sort.by |
1cd240 | 20 64 65 73 63 65 6e 64 69 6e 67 0a 20 20 20 20 20 20 20 20 2f 2f 20 62 79 20 64 65 66 61 75 6c | .descending.........//.by.defaul |
1cd260 | 74 20 62 65 63 61 75 73 65 20 79 6f 75 20 61 72 65 20 6d 6f 73 74 20 6c 69 6b 65 6c 79 20 74 6f | t.because.you.are.most.likely.to |
1cd280 | 20 62 65 20 6c 6f 6f 6b 69 6e 67 20 66 6f 72 0a 20 20 20 20 20 20 20 20 2f 2f 20 68 69 67 68 6c | .be.looking.for.........//.highl |
1cd2a0 | 79 20 76 69 73 69 74 65 64 20 73 69 74 65 73 20 77 68 65 6e 20 79 6f 75 20 63 6c 69 63 6b 20 69 | y.visited.sites.when.you.click.i |
1cd2c0 | 74 0a 20 20 20 20 20 20 20 20 69 66 20 28 6f 6c 64 53 6f 72 74 20 3d 3d 20 4e 48 51 4f 2e 53 4f | t.........if.(oldSort.==.NHQO.SO |
1cd2e0 | 52 54 5f 42 59 5f 56 49 53 49 54 43 4f 55 4e 54 5f 44 45 53 43 45 4e 44 49 4e 47 29 0a 20 20 20 | RT_BY_VISITCOUNT_DESCENDING).... |
1cd300 | 20 20 20 20 20 20 20 6e 65 77 53 6f 72 74 20 3d 20 4e 48 51 4f 2e 53 4f 52 54 5f 42 59 5f 56 49 | .......newSort.=.NHQO.SORT_BY_VI |
1cd320 | 53 49 54 43 4f 55 4e 54 5f 41 53 43 45 4e 44 49 4e 47 3b 0a 20 20 20 20 20 20 20 20 65 6c 73 65 | SITCOUNT_ASCENDING;.........else |
1cd340 | 20 69 66 20 28 61 6c 6c 6f 77 54 72 69 53 74 61 74 65 20 26 26 20 6f 6c 64 53 6f 72 74 20 3d 3d | .if.(allowTriState.&&.oldSort.== |
1cd360 | 20 4e 48 51 4f 2e 53 4f 52 54 5f 42 59 5f 56 49 53 49 54 43 4f 55 4e 54 5f 41 53 43 45 4e 44 49 | .NHQO.SORT_BY_VISITCOUNT_ASCENDI |
1cd380 | 4e 47 29 0a 20 20 20 20 20 20 20 20 20 20 6e 65 77 53 6f 72 74 20 3d 20 4e 48 51 4f 2e 53 4f 52 | NG)...........newSort.=.NHQO.SOR |
1cd3a0 | 54 5f 42 59 5f 4e 4f 4e 45 3b 0a 20 20 20 20 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 20 20 | T_BY_NONE;.........else......... |
1cd3c0 | 20 20 6e 65 77 53 6f 72 74 20 3d 20 4e 48 51 4f 2e 53 4f 52 54 5f 42 59 5f 56 49 53 49 54 43 4f | ..newSort.=.NHQO.SORT_BY_VISITCO |
1cd3e0 | 55 4e 54 5f 44 45 53 43 45 4e 44 49 4e 47 3b 0a 0a 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a | UNT_DESCENDING;..........break;. |
1cd400 | 20 20 20 20 20 20 63 61 73 65 20 74 68 69 73 2e 43 4f 4c 55 4d 4e 5f 54 59 50 45 5f 4b 45 59 57 | ......case.this.COLUMN_TYPE_KEYW |
1cd420 | 4f 52 44 3a 0a 20 20 20 20 20 20 20 20 69 66 20 28 6f 6c 64 53 6f 72 74 20 3d 3d 20 4e 48 51 4f | ORD:.........if.(oldSort.==.NHQO |
1cd440 | 2e 53 4f 52 54 5f 42 59 5f 4b 45 59 57 4f 52 44 5f 41 53 43 45 4e 44 49 4e 47 29 0a 20 20 20 20 | .SORT_BY_KEYWORD_ASCENDING)..... |
1cd460 | 20 20 20 20 20 20 6e 65 77 53 6f 72 74 20 3d 20 4e 48 51 4f 2e 53 4f 52 54 5f 42 59 5f 4b 45 59 | ......newSort.=.NHQO.SORT_BY_KEY |
1cd480 | 57 4f 52 44 5f 44 45 53 43 45 4e 44 49 4e 47 3b 0a 20 20 20 20 20 20 20 20 65 6c 73 65 20 69 66 | WORD_DESCENDING;.........else.if |
1cd4a0 | 20 28 61 6c 6c 6f 77 54 72 69 53 74 61 74 65 20 26 26 20 6f 6c 64 53 6f 72 74 20 3d 3d 20 4e 48 | .(allowTriState.&&.oldSort.==.NH |
1cd4c0 | 51 4f 2e 53 4f 52 54 5f 42 59 5f 4b 45 59 57 4f 52 44 5f 44 45 53 43 45 4e 44 49 4e 47 29 0a 20 | QO.SORT_BY_KEYWORD_DESCENDING).. |
1cd4e0 | 20 20 20 20 20 20 20 20 20 6e 65 77 53 6f 72 74 20 3d 20 4e 48 51 4f 2e 53 4f 52 54 5f 42 59 5f | .........newSort.=.NHQO.SORT_BY_ |
1cd500 | 4e 4f 4e 45 3b 0a 20 20 20 20 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 20 20 20 20 6e 65 77 | NONE;.........else...........new |
1cd520 | 53 6f 72 74 20 3d 20 4e 48 51 4f 2e 53 4f 52 54 5f 42 59 5f 4b 45 59 57 4f 52 44 5f 41 53 43 45 | Sort.=.NHQO.SORT_BY_KEYWORD_ASCE |
1cd540 | 4e 44 49 4e 47 3b 0a 0a 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 63 61 73 | NDING;..........break;.......cas |
1cd560 | 65 20 74 68 69 73 2e 43 4f 4c 55 4d 4e 5f 54 59 50 45 5f 44 45 53 43 52 49 50 54 49 4f 4e 3a 0a | e.this.COLUMN_TYPE_DESCRIPTION:. |
1cd580 | 20 20 20 20 20 20 20 20 69 66 20 28 6f 6c 64 53 6f 72 74 20 3d 3d 20 4e 48 51 4f 2e 53 4f 52 54 | ........if.(oldSort.==.NHQO.SORT |
1cd5a0 | 5f 42 59 5f 41 4e 4e 4f 54 41 54 49 4f 4e 5f 41 53 43 45 4e 44 49 4e 47 20 26 26 0a 20 20 20 20 | _BY_ANNOTATION_ASCENDING.&&..... |
1cd5c0 | 20 20 20 20 20 20 20 20 6f 6c 64 53 6f 72 74 69 6e 67 41 6e 6e 6f 74 61 74 69 6f 6e 20 3d 3d 20 | ........oldSortingAnnotation.==. |
1cd5e0 | 44 45 53 43 52 49 50 54 49 4f 4e 5f 41 4e 4e 4f 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 6e 65 | DESCRIPTION_ANNO).{...........ne |
1cd600 | 77 53 6f 72 74 20 3d 20 4e 48 51 4f 2e 53 4f 52 54 5f 42 59 5f 41 4e 4e 4f 54 41 54 49 4f 4e 5f | wSort.=.NHQO.SORT_BY_ANNOTATION_ |
1cd620 | 44 45 53 43 45 4e 44 49 4e 47 3b 0a 20 20 20 20 20 20 20 20 20 20 6e 65 77 53 6f 72 74 69 6e 67 | DESCENDING;...........newSorting |
1cd640 | 41 6e 6e 6f 74 61 74 69 6f 6e 20 3d 20 44 45 53 43 52 49 50 54 49 4f 4e 5f 41 4e 4e 4f 3b 0a 20 | Annotation.=.DESCRIPTION_ANNO;.. |
1cd660 | 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 65 6c 73 65 20 69 66 20 28 61 6c 6c 6f 77 54 | .......}.........else.if.(allowT |
1cd680 | 72 69 53 74 61 74 65 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6c 64 53 | riState.&&..................oldS |
1cd6a0 | 6f 72 74 20 3d 3d 20 4e 48 51 4f 2e 53 4f 52 54 5f 42 59 5f 41 4e 4e 4f 54 41 54 49 4f 4e 5f 44 | ort.==.NHQO.SORT_BY_ANNOTATION_D |
1cd6c0 | 45 53 43 45 4e 44 49 4e 47 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6c | ESCENDING.&&..................ol |
1cd6e0 | 64 53 6f 72 74 69 6e 67 41 6e 6e 6f 74 61 74 69 6f 6e 20 3d 3d 20 44 45 53 43 52 49 50 54 49 4f | dSortingAnnotation.==.DESCRIPTIO |
1cd700 | 4e 5f 41 4e 4e 4f 29 0a 20 20 20 20 20 20 20 20 20 20 6e 65 77 53 6f 72 74 20 3d 20 4e 48 51 4f | N_ANNO)...........newSort.=.NHQO |
1cd720 | 2e 53 4f 52 54 5f 42 59 5f 4e 4f 4e 45 3b 0a 20 20 20 20 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 | .SORT_BY_NONE;.........else.{... |
1cd740 | 20 20 20 20 20 20 20 20 6e 65 77 53 6f 72 74 20 3d 20 4e 48 51 4f 2e 53 4f 52 54 5f 42 59 5f 41 | ........newSort.=.NHQO.SORT_BY_A |
1cd760 | 4e 4e 4f 54 41 54 49 4f 4e 5f 41 53 43 45 4e 44 49 4e 47 3b 0a 20 20 20 20 20 20 20 20 20 20 6e | NNOTATION_ASCENDING;...........n |
1cd780 | 65 77 53 6f 72 74 69 6e 67 41 6e 6e 6f 74 61 74 69 6f 6e 20 3d 20 44 45 53 43 52 49 50 54 49 4f | ewSortingAnnotation.=.DESCRIPTIO |
1cd7a0 | 4e 5f 41 4e 4e 4f 3b 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 62 72 65 61 6b | N_ANNO;.........}..........break |
1cd7c0 | 3b 0a 20 20 20 20 20 20 63 61 73 65 20 74 68 69 73 2e 43 4f 4c 55 4d 4e 5f 54 59 50 45 5f 44 41 | ;.......case.this.COLUMN_TYPE_DA |
1cd7e0 | 54 45 41 44 44 45 44 3a 0a 20 20 20 20 20 20 20 20 69 66 20 28 6f 6c 64 53 6f 72 74 20 3d 3d 20 | TEADDED:.........if.(oldSort.==. |
1cd800 | 4e 48 51 4f 2e 53 4f 52 54 5f 42 59 5f 44 41 54 45 41 44 44 45 44 5f 41 53 43 45 4e 44 49 4e 47 | NHQO.SORT_BY_DATEADDED_ASCENDING |
1cd820 | 29 0a 20 20 20 20 20 20 20 20 20 20 6e 65 77 53 6f 72 74 20 3d 20 4e 48 51 4f 2e 53 4f 52 54 5f | )...........newSort.=.NHQO.SORT_ |
1cd840 | 42 59 5f 44 41 54 45 41 44 44 45 44 5f 44 45 53 43 45 4e 44 49 4e 47 3b 0a 20 20 20 20 20 20 20 | BY_DATEADDED_DESCENDING;........ |
1cd860 | 20 65 6c 73 65 20 69 66 20 28 61 6c 6c 6f 77 54 72 69 53 74 61 74 65 20 26 26 0a 20 20 20 20 20 | .else.if.(allowTriState.&&...... |
1cd880 | 20 20 20 20 20 20 20 20 20 20 20 20 6f 6c 64 53 6f 72 74 20 3d 3d 20 4e 48 51 4f 2e 53 4f 52 54 | ............oldSort.==.NHQO.SORT |
1cd8a0 | 5f 42 59 5f 44 41 54 45 41 44 44 45 44 5f 44 45 53 43 45 4e 44 49 4e 47 29 0a 20 20 20 20 20 20 | _BY_DATEADDED_DESCENDING)....... |
1cd8c0 | 20 20 20 20 6e 65 77 53 6f 72 74 20 3d 20 4e 48 51 4f 2e 53 4f 52 54 5f 42 59 5f 4e 4f 4e 45 3b | ....newSort.=.NHQO.SORT_BY_NONE; |
1cd8e0 | 0a 20 20 20 20 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 20 20 20 20 6e 65 77 53 6f 72 74 20 | .........else...........newSort. |
1cd900 | 3d 20 4e 48 51 4f 2e 53 4f 52 54 5f 42 59 5f 44 41 54 45 41 44 44 45 44 5f 41 53 43 45 4e 44 49 | =.NHQO.SORT_BY_DATEADDED_ASCENDI |
1cd920 | 4e 47 3b 0a 0a 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 63 61 73 65 20 74 | NG;..........break;.......case.t |
1cd940 | 68 69 73 2e 43 4f 4c 55 4d 4e 5f 54 59 50 45 5f 4c 41 53 54 4d 4f 44 49 46 49 45 44 3a 0a 20 20 | his.COLUMN_TYPE_LASTMODIFIED:... |
1cd960 | 20 20 20 20 20 20 69 66 20 28 6f 6c 64 53 6f 72 74 20 3d 3d 20 4e 48 51 4f 2e 53 4f 52 54 5f 42 | ......if.(oldSort.==.NHQO.SORT_B |
1cd980 | 59 5f 4c 41 53 54 4d 4f 44 49 46 49 45 44 5f 41 53 43 45 4e 44 49 4e 47 29 0a 20 20 20 20 20 20 | Y_LASTMODIFIED_ASCENDING)....... |
1cd9a0 | 20 20 20 20 6e 65 77 53 6f 72 74 20 3d 20 4e 48 51 4f 2e 53 4f 52 54 5f 42 59 5f 4c 41 53 54 4d | ....newSort.=.NHQO.SORT_BY_LASTM |
1cd9c0 | 4f 44 49 46 49 45 44 5f 44 45 53 43 45 4e 44 49 4e 47 3b 0a 20 20 20 20 20 20 20 20 65 6c 73 65 | ODIFIED_DESCENDING;.........else |
1cd9e0 | 20 69 66 20 28 61 6c 6c 6f 77 54 72 69 53 74 61 74 65 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 | .if.(allowTriState.&&........... |
1cda00 | 20 20 20 20 20 20 20 6f 6c 64 53 6f 72 74 20 3d 3d 20 4e 48 51 4f 2e 53 4f 52 54 5f 42 59 5f 4c | .......oldSort.==.NHQO.SORT_BY_L |
1cda20 | 41 53 54 4d 4f 44 49 46 49 45 44 5f 44 45 53 43 45 4e 44 49 4e 47 29 0a 20 20 20 20 20 20 20 20 | ASTMODIFIED_DESCENDING)......... |
1cda40 | 20 20 6e 65 77 53 6f 72 74 20 3d 20 4e 48 51 4f 2e 53 4f 52 54 5f 42 59 5f 4e 4f 4e 45 3b 0a 20 | ..newSort.=.NHQO.SORT_BY_NONE;.. |
1cda60 | 20 20 20 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 20 20 20 20 6e 65 77 53 6f 72 74 20 3d 20 | .......else...........newSort.=. |
1cda80 | 4e 48 51 4f 2e 53 4f 52 54 5f 42 59 5f 4c 41 53 54 4d 4f 44 49 46 49 45 44 5f 41 53 43 45 4e 44 | NHQO.SORT_BY_LASTMODIFIED_ASCEND |
1cdaa0 | 49 4e 47 3b 0a 0a 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 63 61 73 65 20 | ING;..........break;.......case. |
1cdac0 | 74 68 69 73 2e 43 4f 4c 55 4d 4e 5f 54 59 50 45 5f 54 41 47 53 3a 0a 20 20 20 20 20 20 20 20 69 | this.COLUMN_TYPE_TAGS:.........i |
1cdae0 | 66 20 28 6f 6c 64 53 6f 72 74 20 3d 3d 20 4e 48 51 4f 2e 53 4f 52 54 5f 42 59 5f 54 41 47 53 5f | f.(oldSort.==.NHQO.SORT_BY_TAGS_ |
1cdb00 | 41 53 43 45 4e 44 49 4e 47 29 0a 20 20 20 20 20 20 20 20 20 20 6e 65 77 53 6f 72 74 20 3d 20 4e | ASCENDING)...........newSort.=.N |
1cdb20 | 48 51 4f 2e 53 4f 52 54 5f 42 59 5f 54 41 47 53 5f 44 45 53 43 45 4e 44 49 4e 47 3b 0a 20 20 20 | HQO.SORT_BY_TAGS_DESCENDING;.... |
1cdb40 | 20 20 20 20 20 65 6c 73 65 20 69 66 20 28 61 6c 6c 6f 77 54 72 69 53 74 61 74 65 20 26 26 20 6f | .....else.if.(allowTriState.&&.o |
1cdb60 | 6c 64 53 6f 72 74 20 3d 3d 20 4e 48 51 4f 2e 53 4f 52 54 5f 42 59 5f 54 41 47 53 5f 44 45 53 43 | ldSort.==.NHQO.SORT_BY_TAGS_DESC |
1cdb80 | 45 4e 44 49 4e 47 29 0a 20 20 20 20 20 20 20 20 20 20 6e 65 77 53 6f 72 74 20 3d 20 4e 48 51 4f | ENDING)...........newSort.=.NHQO |
1cdba0 | 2e 53 4f 52 54 5f 42 59 5f 4e 4f 4e 45 3b 0a 20 20 20 20 20 20 20 20 65 6c 73 65 0a 20 20 20 20 | .SORT_BY_NONE;.........else..... |
1cdbc0 | 20 20 20 20 20 20 6e 65 77 53 6f 72 74 20 3d 20 4e 48 51 4f 2e 53 4f 52 54 5f 42 59 5f 54 41 47 | ......newSort.=.NHQO.SORT_BY_TAG |
1cdbe0 | 53 5f 41 53 43 45 4e 44 49 4e 47 3b 0a 0a 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 | S_ASCENDING;..........break;.... |
1cdc00 | 20 20 20 64 65 66 61 75 6c 74 3a 0a 20 20 20 20 20 20 20 20 74 68 72 6f 77 20 43 72 2e 4e 53 5f | ...default:.........throw.Cr.NS_ |
1cdc20 | 45 52 52 4f 52 5f 49 4e 56 41 4c 49 44 5f 41 52 47 3b 0a 20 20 20 20 7d 0a 20 20 20 20 74 68 69 | ERROR_INVALID_ARG;.....}.....thi |
1cdc40 | 73 2e 5f 72 65 73 75 6c 74 2e 73 6f 72 74 69 6e 67 41 6e 6e 6f 74 61 74 69 6f 6e 20 3d 20 6e 65 | s._result.sortingAnnotation.=.ne |
1cdc60 | 77 53 6f 72 74 69 6e 67 41 6e 6e 6f 74 61 74 69 6f 6e 3b 0a 20 20 20 20 74 68 69 73 2e 5f 72 65 | wSortingAnnotation;.....this._re |
1cdc80 | 73 75 6c 74 2e 73 6f 72 74 69 6e 67 4d 6f 64 65 20 3d 20 6e 65 77 53 6f 72 74 3b 0a 20 20 7d 2c | sult.sortingMode.=.newSort;...}, |
1cdca0 | 0a 0a 20 20 69 73 45 64 69 74 61 62 6c 65 3a 20 66 75 6e 63 74 69 6f 6e 20 50 54 56 5f 69 73 45 | ....isEditable:.function.PTV_isE |
1cdcc0 | 64 69 74 61 62 6c 65 28 61 52 6f 77 2c 20 61 43 6f 6c 75 6d 6e 29 20 7b 0a 20 20 20 20 2f 2f 20 | ditable(aRow,.aColumn).{.....//. |
1cdce0 | 41 74 20 74 68 69 73 20 70 6f 69 6e 74 20 77 65 20 6f 6e 6c 79 20 73 75 70 70 6f 72 74 20 65 64 | At.this.point.we.only.support.ed |
1cdd00 | 69 74 69 6e 67 20 74 68 65 20 74 69 74 6c 65 20 66 69 65 6c 64 2e 0a 20 20 20 20 69 66 20 28 61 | iting.the.title.field......if.(a |
1cdd20 | 43 6f 6c 75 6d 6e 2e 69 6e 64 65 78 20 21 3d 20 30 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 | Column.index.!=.0).......return. |
1cdd40 | 66 61 6c 73 65 3b 0a 0a 20 20 20 20 76 61 72 20 6e 6f 64 65 20 3d 20 74 68 69 73 2e 6e 6f 64 65 | false;......var.node.=.this.node |
1cdd60 | 46 6f 72 54 72 65 65 49 6e 64 65 78 28 61 52 6f 77 29 3b 0a 20 20 20 20 69 66 20 28 21 50 6c 61 | ForTreeIndex(aRow);.....if.(!Pla |
1cdd80 | 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 52 65 61 64 4f 6e 6c 79 28 6e 6f 64 65 29 20 26 26 | cesUtils.nodeIsReadOnly(node).&& |
1cdda0 | 0a 20 20 20 20 20 20 20 20 28 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 46 6f 6c 64 | .........(PlacesUtils.nodeIsFold |
1cddc0 | 65 72 28 6e 6f 64 65 29 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 28 50 6c 61 63 65 73 55 74 69 6c | er(node).||..........(PlacesUtil |
1cdde0 | 73 2e 6e 6f 64 65 49 73 42 6f 6f 6b 6d 61 72 6b 28 6e 6f 64 65 29 20 26 26 0a 20 20 20 20 20 20 | s.nodeIsBookmark(node).&&....... |
1cde00 | 20 20 20 20 21 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 4c 69 76 65 6d 61 72 6b 49 | ....!PlacesUtils.nodeIsLivemarkI |
1cde20 | 74 65 6d 28 6e 6f 64 65 29 29 29 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 72 75 65 3b 0a | tem(node)))).......return.true;. |
1cde40 | 0a 20 20 20 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 0a 20 20 7d 2c 0a 0a 20 20 73 65 74 43 65 | .....return.false;...},....setCe |
1cde60 | 6c 6c 54 65 78 74 3a 20 66 75 6e 63 74 69 6f 6e 20 50 54 56 5f 73 65 74 43 65 6c 6c 54 65 78 74 | llText:.function.PTV_setCellText |
1cde80 | 28 61 52 6f 77 2c 20 61 43 6f 6c 75 6d 6e 2c 20 61 54 65 78 74 29 20 7b 0a 20 20 20 20 2f 2f 20 | (aRow,.aColumn,.aText).{.....//. |
1cdea0 | 77 65 20 6d 61 79 20 6f 6e 6c 79 20 67 65 74 20 68 65 72 65 20 69 66 20 74 68 65 20 63 65 6c 6c | we.may.only.get.here.if.the.cell |
1cdec0 | 20 69 73 20 65 64 69 74 61 62 6c 65 0a 20 20 20 20 76 61 72 20 6e 6f 64 65 20 3d 20 74 68 69 73 | .is.editable.....var.node.=.this |
1cdee0 | 2e 6e 6f 64 65 46 6f 72 54 72 65 65 49 6e 64 65 78 28 61 52 6f 77 29 3b 0a 20 20 20 20 69 66 20 | .nodeForTreeIndex(aRow);.....if. |
1cdf00 | 28 6e 6f 64 65 2e 74 69 74 6c 65 20 21 3d 20 61 54 65 78 74 29 20 7b 0a 20 20 20 20 20 20 76 61 | (node.title.!=.aText).{.......va |
1cdf20 | 72 20 74 78 6e 20 3d 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 70 74 6d 2e 65 64 69 74 49 74 | r.txn.=.PlacesUIUtils.ptm.editIt |
1cdf40 | 65 6d 54 69 74 6c 65 28 6e 6f 64 65 2e 69 74 65 6d 49 64 2c 20 61 54 65 78 74 29 3b 0a 20 20 20 | emTitle(node.itemId,.aText);.... |
1cdf60 | 20 20 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 70 74 6d 2e 64 6f 54 72 61 6e 73 61 63 74 69 | ...PlacesUIUtils.ptm.doTransacti |
1cdf80 | 6f 6e 28 74 78 6e 29 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 73 65 6c 65 63 74 69 6f 6e | on(txn);.....}...},....selection |
1cdfa0 | 43 68 61 6e 67 65 64 3a 20 66 75 6e 63 74 69 6f 6e 28 29 20 7b 20 7d 2c 0a 20 20 63 79 63 6c 65 | Changed:.function().{.},...cycle |
1cdfc0 | 43 65 6c 6c 3a 20 66 75 6e 63 74 69 6f 6e 20 50 54 56 5f 63 79 63 6c 65 43 65 6c 6c 28 61 52 6f | Cell:.function.PTV_cycleCell(aRo |
1cdfe0 | 77 2c 20 61 43 6f 6c 75 6d 6e 29 20 7b 20 7d 2c 0a 20 20 69 73 53 65 6c 65 63 74 61 62 6c 65 3a | w,.aColumn).{.},...isSelectable: |
1ce000 | 20 66 75 6e 63 74 69 6f 6e 28 61 52 6f 77 2c 20 61 43 6f 6c 75 6d 6e 29 20 7b 20 72 65 74 75 72 | .function(aRow,.aColumn).{.retur |
1ce020 | 6e 20 66 61 6c 73 65 3b 20 7d 2c 0a 20 20 70 65 72 66 6f 72 6d 41 63 74 69 6f 6e 3a 20 66 75 6e | n.false;.},...performAction:.fun |
1ce040 | 63 74 69 6f 6e 28 61 41 63 74 69 6f 6e 29 20 7b 20 7d 2c 0a 20 20 70 65 72 66 6f 72 6d 41 63 74 | ction(aAction).{.},...performAct |
1ce060 | 69 6f 6e 4f 6e 52 6f 77 3a 20 66 75 6e 63 74 69 6f 6e 28 61 41 63 74 69 6f 6e 2c 20 61 52 6f 77 | ionOnRow:.function(aAction,.aRow |
1ce080 | 29 20 7b 20 7d 2c 0a 20 20 70 65 72 66 6f 72 6d 41 63 74 69 6f 6e 4f 6e 43 65 6c 6c 3a 20 66 75 | ).{.},...performActionOnCell:.fu |
1ce0a0 | 6e 63 74 69 6f 6e 28 61 41 63 74 69 6f 6e 2c 20 61 52 6f 77 2c 20 61 43 6f 6c 75 6d 6e 29 20 7b | nction(aAction,.aRow,.aColumn).{ |
1ce0c0 | 20 7d 0a 7d 3b 0a 0a 66 75 6e 63 74 69 6f 6e 20 50 6c 61 63 65 73 54 72 65 65 56 69 65 77 28 61 | .}.};..function.PlacesTreeView(a |
1ce0e0 | 53 68 6f 77 52 6f 6f 74 2c 20 61 46 6c 61 74 4c 69 73 74 2c 20 61 4f 6e 4f 70 65 6e 46 6c 61 74 | ShowRoot,.aFlatList,.aOnOpenFlat |
1ce100 | 43 6f 6e 74 61 69 6e 65 72 29 20 7b 0a 20 20 69 66 20 28 61 53 68 6f 77 52 6f 6f 74 20 26 26 20 | Container).{...if.(aShowRoot.&&. |
1ce120 | 61 46 6c 61 74 4c 69 73 74 29 0a 20 20 20 20 74 68 72 6f 77 28 22 46 6c 61 74 2d 6c 69 73 74 20 | aFlatList).....throw("Flat-list. |
1ce140 | 6d 6f 64 65 20 69 73 20 6e 6f 74 20 73 75 70 70 6f 72 74 65 64 20 77 68 65 6e 20 73 68 6f 77 2d | mode.is.not.supported.when.show- |
1ce160 | 72 6f 6f 74 20 69 73 20 73 65 74 22 29 3b 0a 0a 20 20 74 68 69 73 2e 5f 74 72 65 65 20 3d 20 6e | root.is.set");....this._tree.=.n |
1ce180 | 75 6c 6c 3b 0a 20 20 74 68 69 73 2e 5f 72 65 73 75 6c 74 20 3d 20 6e 75 6c 6c 3b 0a 20 20 74 68 | ull;...this._result.=.null;...th |
1ce1a0 | 69 73 2e 5f 73 68 6f 77 53 65 73 73 69 6f 6e 73 20 3d 20 66 61 6c 73 65 3b 0a 20 20 74 68 69 73 | is._showSessions.=.false;...this |
1ce1c0 | 2e 5f 73 65 6c 65 63 74 69 6f 6e 20 3d 20 6e 75 6c 6c 3b 0a 20 20 74 68 69 73 2e 5f 76 69 73 69 | ._selection.=.null;...this._visi |
1ce1e0 | 62 6c 65 45 6c 65 6d 65 6e 74 73 20 3d 20 5b 5d 3b 0a 20 20 74 68 69 73 2e 5f 73 68 6f 77 52 6f | bleElements.=.[];...this._showRo |
1ce200 | 6f 74 20 3d 20 61 53 68 6f 77 52 6f 6f 74 3b 0a 20 20 74 68 69 73 2e 5f 66 6c 61 74 4c 69 73 74 | ot.=.aShowRoot;...this._flatList |
1ce220 | 20 3d 20 61 46 6c 61 74 4c 69 73 74 3b 0a 20 20 74 68 69 73 2e 5f 6f 70 65 6e 43 6f 6e 74 61 69 | .=.aFlatList;...this._openContai |
1ce240 | 6e 65 72 43 61 6c 6c 62 61 63 6b 20 3d 20 61 4f 6e 4f 70 65 6e 46 6c 61 74 43 6f 6e 74 61 69 6e | nerCallback.=.aOnOpenFlatContain |
1ce260 | 65 72 3b 0a 7d 0a 50 4b 03 04 14 00 00 00 00 00 f6 4b 18 3b 89 d4 f0 14 65 02 00 00 65 02 00 00 | er;.}.PK.........K.;....e...e... |
1ce280 | 25 00 00 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 6c 61 63 65 73 2f 64 65 6d 6f 73 | %...content/browser/places/demos |
1ce2a0 | 2f 74 69 6d 65 2e 78 75 6c 3c 3f 78 6d 6c 20 76 65 72 73 69 6f 6e 3d 22 31 2e 30 22 3f 3e 0a 0a | /time.xul<?xml.version="1.0"?>.. |
1ce2c0 | 0a 3c 3f 78 6d 6c 2d 73 74 79 6c 65 73 68 65 65 74 20 68 72 65 66 3d 22 63 68 72 6f 6d 65 3a 2f | .<?xml-stylesheet.href="chrome:/ |
1ce2e0 | 2f 67 6c 6f 62 61 6c 2f 73 6b 69 6e 2f 22 3f 3e 0a 3c 3f 78 6d 6c 2d 73 74 79 6c 65 73 68 65 65 | /global/skin/"?>.<?xml-styleshee |
1ce300 | 74 20 68 72 65 66 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 | t.href="chrome://browser/content |
1ce320 | 2f 70 6c 61 63 65 73 2f 64 65 6d 6f 73 2f 74 69 6d 65 2e 63 73 73 22 3f 3e 0a 0a 3c 77 69 6e 64 | /places/demos/time.css"?>..<wind |
1ce340 | 6f 77 0a 20 20 78 6d 6c 6e 73 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c 61 2e 6f | ow...xmlns="http://www.mozilla.o |
1ce360 | 72 67 2f 6b 65 79 6d 61 73 74 65 72 2f 67 61 74 65 6b 65 65 70 65 72 2f 74 68 65 72 65 2e 69 73 | rg/keymaster/gatekeeper/there.is |
1ce380 | 2e 6f 6e 6c 79 2e 78 75 6c 22 0a 20 20 78 6d 6c 6e 73 3a 68 74 6d 6c 3d 22 68 74 74 70 3a 2f 2f | .only.xul"...xmlns:html="http:// |
1ce3a0 | 77 77 77 2e 77 33 2e 6f 72 67 2f 31 39 39 39 2f 78 68 74 6d 6c 22 3e 0a 0a 20 20 3c 73 63 72 69 | www.w3.org/1999/xhtml">....<scri |
1ce3c0 | 70 74 20 74 79 70 65 3d 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f 78 2d 6a 61 76 61 73 63 72 69 70 | pt.type="application/x-javascrip |
1ce3e0 | 74 22 0a 20 20 20 20 20 20 20 20 20 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 | t"...........src="chrome://brows |
1ce400 | 65 72 2f 63 6f 6e 74 65 6e 74 2f 70 6c 61 63 65 73 2f 64 65 6d 6f 73 2f 74 69 6d 65 2e 6a 73 22 | er/content/places/demos/time.js" |
1ce420 | 2f 3e 0a 0a 3c 68 62 6f 78 3e 0a 3c 76 62 6f 78 20 69 64 3d 22 64 61 79 6c 69 73 74 22 20 73 74 | />..<hbox>.<vbox.id="daylist".st |
1ce440 | 79 6c 65 3d 22 62 6f 72 64 65 72 2d 72 69 67 68 74 3a 31 70 78 20 73 6f 6c 69 64 20 62 6c 61 63 | yle="border-right:1px.solid.blac |
1ce460 | 6b 3b 22 3e 0a 3c 2f 76 62 6f 78 3e 0a 0a 0a 3c 62 72 6f 77 73 65 72 20 69 64 3d 22 74 68 65 66 | k;">.</vbox>...<browser.id="thef |
1ce480 | 72 61 6d 65 22 20 77 69 64 74 68 3d 22 37 30 30 22 20 68 65 69 67 68 74 3d 22 39 30 30 22 20 73 | rame".width="700".height="900".s |
1ce4a0 | 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 70 6c 61 | rc="chrome://browser/content/pla |
1ce4c0 | 63 65 73 2f 64 65 6d 6f 73 2f 74 69 6d 65 2e 68 74 6d 6c 22 20 6f 6e 6c 6f 61 64 3d 22 42 57 5f | ces/demos/time.html".onload="BW_ |
1ce4e0 | 6c 6f 61 64 69 66 72 61 6d 65 28 29 3b 22 3e 0a 3c 2f 62 72 6f 77 73 65 72 3e 0a 3c 2f 68 62 6f | loadiframe();">.</browser>.</hbo |
1ce500 | 78 3e 0a 0a 3c 2f 77 69 6e 64 6f 77 3e 0a 50 4b 03 04 14 00 00 00 00 00 f6 4b 18 3b 53 9c a7 30 | x>..</window>.PK.........K.;S..0 |
1ce520 | f1 02 00 00 f1 02 00 00 26 00 00 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 6c 61 63 | ........&...content/browser/plac |
1ce540 | 65 73 2f 64 65 6d 6f 73 2f 74 69 6d 65 2e 68 74 6d 6c 3c 21 44 4f 43 54 59 50 45 20 48 54 4d 4c | es/demos/time.html<!DOCTYPE.HTML |
1ce560 | 20 50 55 42 4c 49 43 20 22 2d 2f 2f 57 33 43 2f 2f 44 54 44 20 48 54 4d 4c 20 33 2e 32 2f 2f 45 | .PUBLIC."-//W3C//DTD.HTML.3.2//E |
1ce580 | 4e 22 3e 0a 3c 68 74 6d 6c 3e 0a 3c 68 65 61 64 3e 0a 3c 74 69 74 6c 65 3e 3c 2f 74 69 74 6c 65 | N">.<html>.<head>.<title></title |
1ce5a0 | 3e 0a 3c 73 74 79 6c 65 20 74 79 70 65 3d 22 74 65 78 74 2f 63 73 73 22 3e 0a 20 20 62 6f 64 79 | >.<style.type="text/css">...body |
1ce5c0 | 20 7b 20 62 61 63 6b 67 72 6f 75 6e 64 2d 63 6f 6c 6f 72 3a 77 68 69 74 65 3b 20 63 6f 6c 6f 72 | .{.background-color:white;.color |
1ce5e0 | 3a 62 6c 61 63 6b 3b 20 66 6f 6e 74 2d 66 61 6d 69 6c 79 3a 76 65 72 64 61 6e 61 2c 68 65 6c 76 | :black;.font-family:verdana,helv |
1ce600 | 65 74 69 63 61 3b 7d 0a 20 20 2e 69 74 65 6d 20 7b 20 66 6f 6e 74 2d 73 69 7a 65 3a 39 70 74 3b | etica;}....item.{.font-size:9pt; |
1ce620 | 20 70 61 64 64 69 6e 67 3a 33 70 78 3b 20 70 61 64 64 69 6e 67 2d 74 6f 70 3a 30 70 78 3b 20 6d | .padding:3px;.padding-top:0px;.m |
1ce640 | 61 72 67 69 6e 2d 74 6f 70 3a 30 70 78 3b 20 7d 0a 20 20 2e 69 74 65 6d 6e 65 77 20 7b 20 66 6f | argin-top:0px;.}....itemnew.{.fo |
1ce660 | 6e 74 2d 73 69 7a 65 3a 39 70 74 3b 20 70 61 64 64 69 6e 67 3a 33 70 78 3b 20 6d 61 72 67 69 6e | nt-size:9pt;.padding:3px;.margin |
1ce680 | 2d 6c 65 66 74 3a 35 65 6d 3b 20 62 6f 72 64 65 72 2d 74 6f 70 3a 31 70 78 20 64 6f 74 74 65 64 | -left:5em;.border-top:1px.dotted |
1ce6a0 | 20 23 38 38 38 3b 20 70 61 64 64 69 6e 67 2d 74 6f 70 3a 30 70 78 3b 20 7d 0a 20 20 2e 74 69 6d | .#888;.padding-top:0px;.}....tim |
1ce6c0 | 65 20 7b 20 66 6f 6e 74 2d 73 69 7a 65 3a 37 70 74 3b 20 62 6f 72 64 65 72 2d 74 6f 70 3a 32 70 | e.{.font-size:7pt;.border-top:2p |
1ce6e0 | 78 20 73 6f 6c 69 64 20 62 6c 61 63 6b 3b 20 6d 61 72 67 69 6e 2d 74 6f 70 3a 31 30 70 78 3b 20 | x.solid.black;.margin-top:10px;. |
1ce700 | 6d 61 72 67 69 6e 2d 62 6f 74 74 6f 6d 3a 32 70 78 3b 20 66 6f 6e 74 2d 77 65 69 67 68 74 3a 62 | margin-bottom:2px;.font-weight:b |
1ce720 | 6f 6c 64 3b 20 7d 0a 20 20 2e 68 6f 73 74 20 7b 20 66 6f 6e 74 2d 73 69 7a 65 3a 37 70 74 3b 20 | old;.}....host.{.font-size:7pt;. |
1ce740 | 66 6f 6e 74 2d 77 65 69 67 68 74 3a 62 6f 6c 64 3b 20 63 6f 6c 6f 72 3a 23 38 38 38 3b 20 77 69 | font-weight:bold;.color:#888;.wi |
1ce760 | 64 74 68 3a 38 65 6d 3b 20 6f 76 65 72 66 6c 6f 77 3a 68 69 64 64 65 6e 3b 20 7d 0a 20 20 2e 74 | dth:8em;.overflow:hidden;.}....t |
1ce780 | 69 74 6c 65 20 7b 20 6d 61 72 67 69 6e 3a 30 70 78 3b 20 70 61 64 64 69 6e 67 3a 32 70 78 3b 20 | itle.{.margin:0px;.padding:2px;. |
1ce7a0 | 7d 0a 20 20 2e 75 72 6c 20 7b 20 66 6f 6e 74 2d 73 69 7a 65 3a 37 70 74 3b 20 63 6f 6c 6f 72 3a | }....url.{.font-size:7pt;.color: |
1ce7c0 | 23 30 38 30 3b 20 70 61 64 64 69 6e 67 2d 6c 65 66 74 3a 31 32 65 6d 3b 20 7d 0a 20 20 2e 66 61 | #080;.padding-left:12em;.}....fa |
1ce7e0 | 76 69 63 6f 6e 20 7b 20 70 61 64 64 69 6e 67 2d 72 69 67 68 74 3a 38 70 78 3b 20 70 6f 73 69 74 | vicon.{.padding-right:8px;.posit |
1ce800 | 69 6f 6e 3a 72 65 6c 61 74 69 76 65 3b 20 74 6f 70 3a 32 70 78 3b 20 7d 0a 3c 2f 73 74 79 6c 65 | ion:relative;.top:2px;.}.</style |
1ce820 | 3e 0a 3c 2f 68 65 61 64 3e 0a 3c 62 6f 64 79 3e 0a 0a 3c 2f 62 6f 64 79 3e 0a 3c 2f 68 74 6d 6c | >.</head>.<body>..</body>.</html |
1ce840 | 3e 0a 0a 50 4b 03 04 14 00 00 00 00 00 f6 4b 18 3b 22 be da 7a 86 00 00 00 86 00 00 00 25 00 00 | >..PK.........K.;"..z........%.. |
1ce860 | 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 6c 61 63 65 73 2f 64 65 6d 6f 73 2f 74 69 | .content/browser/places/demos/ti |
1ce880 | 6d 65 2e 63 73 73 2e 64 61 79 31 20 7b 20 62 61 63 6b 67 72 6f 75 6e 64 2d 63 6f 6c 6f 72 3a 77 | me.css.day1.{.background-color:w |
1ce8a0 | 68 69 74 65 3b 20 7d 0a 2e 64 61 79 32 20 7b 20 62 61 63 6b 67 72 6f 75 6e 64 2d 63 6f 6c 6f 72 | hite;.}..day2.{.background-color |
1ce8c0 | 3a 23 45 45 45 3b 20 7d 0a 2e 67 72 65 65 6e 20 7b 20 62 61 63 6b 67 72 6f 75 6e 64 2d 63 6f 6c | :#EEE;.}..green.{.background-col |
1ce8e0 | 6f 72 3a 67 72 65 65 6e 3b 20 7d 0a 2e 72 65 64 20 7b 20 62 61 63 6b 67 72 6f 75 6e 64 2d 63 6f | or:green;.}..red.{.background-co |
1ce900 | 6c 6f 72 3a 72 65 64 3b 20 7d 0a 0a 50 4b 03 04 14 00 00 00 00 00 f6 4b 18 3b 49 be d1 6a c6 24 | lor:red;.}..PK.........K.;I..j.$ |
1ce920 | 00 00 c6 24 00 00 24 00 00 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 6c 61 63 65 73 | ...$..$...content/browser/places |
1ce940 | 2f 64 65 6d 6f 73 2f 74 69 6d 65 2e 6a 73 2f 2a 20 2a 2a 2a 2a 2a 20 42 45 47 49 4e 20 4c 49 43 | /demos/time.js/*.*****.BEGIN.LIC |
1ce960 | 45 4e 53 45 20 42 4c 4f 43 4b 20 2a 2a 2a 2a 2a 0a 20 2a 20 56 65 72 73 69 6f 6e 3a 20 4d 50 4c | ENSE.BLOCK.*****..*.Version:.MPL |
1ce980 | 20 31 2e 31 2f 47 50 4c 20 32 2e 30 2f 4c 47 50 4c 20 32 2e 31 0a 20 2a 0a 20 2a 20 54 68 65 20 | .1.1/GPL.2.0/LGPL.2.1..*..*.The. |
1ce9a0 | 63 6f 6e 74 65 6e 74 73 20 6f 66 20 74 68 69 73 20 66 69 6c 65 20 61 72 65 20 73 75 62 6a 65 63 | contents.of.this.file.are.subjec |
1ce9c0 | 74 20 74 6f 20 74 68 65 20 4d 6f 7a 69 6c 6c 61 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 20 | t.to.the.Mozilla.Public.License. |
1ce9e0 | 56 65 72 73 69 6f 6e 0a 20 2a 20 31 2e 31 20 28 74 68 65 20 22 4c 69 63 65 6e 73 65 22 29 3b 20 | Version..*.1.1.(the."License");. |
1cea00 | 79 6f 75 20 6d 61 79 20 6e 6f 74 20 75 73 65 20 74 68 69 73 20 66 69 6c 65 20 65 78 63 65 70 74 | you.may.not.use.this.file.except |
1cea20 | 20 69 6e 20 63 6f 6d 70 6c 69 61 6e 63 65 20 77 69 74 68 0a 20 2a 20 74 68 65 20 4c 69 63 65 6e | .in.compliance.with..*.the.Licen |
1cea40 | 73 65 2e 20 59 6f 75 20 6d 61 79 20 6f 62 74 61 69 6e 20 61 20 63 6f 70 79 20 6f 66 20 74 68 65 | se..You.may.obtain.a.copy.of.the |
1cea60 | 20 4c 69 63 65 6e 73 65 20 61 74 0a 20 2a 20 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c | .License.at..*.http://www.mozill |
1cea80 | 61 2e 6f 72 67 2f 4d 50 4c 2f 0a 20 2a 0a 20 2a 20 53 6f 66 74 77 61 72 65 20 64 69 73 74 72 69 | a.org/MPL/..*..*.Software.distri |
1ceaa0 | 62 75 74 65 64 20 75 6e 64 65 72 20 74 68 65 20 4c 69 63 65 6e 73 65 20 69 73 20 64 69 73 74 72 | buted.under.the.License.is.distr |
1ceac0 | 69 62 75 74 65 64 20 6f 6e 20 61 6e 20 22 41 53 20 49 53 22 20 62 61 73 69 73 2c 0a 20 2a 20 57 | ibuted.on.an."AS.IS".basis,..*.W |
1ceae0 | 49 54 48 4f 55 54 20 57 41 52 52 41 4e 54 59 20 4f 46 20 41 4e 59 20 4b 49 4e 44 2c 20 65 69 74 | ITHOUT.WARRANTY.OF.ANY.KIND,.eit |
1ceb00 | 68 65 72 20 65 78 70 72 65 73 73 20 6f 72 20 69 6d 70 6c 69 65 64 2e 20 53 65 65 20 74 68 65 20 | her.express.or.implied..See.the. |
1ceb20 | 4c 69 63 65 6e 73 65 0a 20 2a 20 66 6f 72 20 74 68 65 20 73 70 65 63 69 66 69 63 20 6c 61 6e 67 | License..*.for.the.specific.lang |
1ceb40 | 75 61 67 65 20 67 6f 76 65 72 6e 69 6e 67 20 72 69 67 68 74 73 20 61 6e 64 20 6c 69 6d 69 74 61 | uage.governing.rights.and.limita |
1ceb60 | 74 69 6f 6e 73 20 75 6e 64 65 72 20 74 68 65 0a 20 2a 20 4c 69 63 65 6e 73 65 2e 0a 20 2a 0a 20 | tions.under.the..*.License...*.. |
1ceb80 | 2a 20 54 68 65 20 4f 72 69 67 69 6e 61 6c 20 43 6f 64 65 20 69 73 20 4d 6f 7a 69 6c 6c 61 20 50 | *.The.Original.Code.is.Mozilla.P |
1ceba0 | 6c 61 63 65 73 0a 20 2a 0a 20 2a 20 54 68 65 20 49 6e 69 74 69 61 6c 20 44 65 76 65 6c 6f 70 65 | laces..*..*.The.Initial.Develope |
1cebc0 | 72 20 6f 66 20 74 68 65 20 4f 72 69 67 69 6e 61 6c 20 43 6f 64 65 20 69 73 20 47 6f 6f 67 6c 65 | r.of.the.Original.Code.is.Google |
1cebe0 | 20 49 6e 63 2e 0a 20 2a 20 50 6f 72 74 69 6f 6e 73 20 63 72 65 61 74 65 64 20 62 79 20 74 68 65 | .Inc...*.Portions.created.by.the |
1cec00 | 20 49 6e 69 74 69 61 6c 20 44 65 76 65 6c 6f 70 65 72 20 61 72 65 20 43 6f 70 79 72 69 67 68 74 | .Initial.Developer.are.Copyright |
1cec20 | 20 28 43 29 20 32 30 30 36 0a 20 2a 20 74 68 65 20 49 6e 69 74 69 61 6c 20 44 65 76 65 6c 6f 70 | .(C).2006..*.the.Initial.Develop |
1cec40 | 65 72 2e 20 41 6c 6c 20 52 69 67 68 74 73 20 52 65 73 65 72 76 65 64 2e 0a 20 2a 0a 20 2a 20 43 | er..All.Rights.Reserved...*..*.C |
1cec60 | 6f 6e 74 72 69 62 75 74 6f 72 28 73 29 3a 0a 20 2a 20 20 20 42 72 65 74 74 20 57 69 6c 73 6f 6e | ontributor(s):..*...Brett.Wilson |
1cec80 | 20 3c 62 72 65 74 74 77 40 67 6d 61 69 6c 2e 63 6f 6d 3e 20 28 6f 72 69 67 69 6e 61 6c 20 61 75 | .<brettw@gmail.com>.(original.au |
1ceca0 | 74 68 6f 72 29 0a 20 2a 0a 20 2a 20 41 6c 74 65 72 6e 61 74 69 76 65 6c 79 2c 20 74 68 65 20 63 | thor)..*..*.Alternatively,.the.c |
1cecc0 | 6f 6e 74 65 6e 74 73 20 6f 66 20 74 68 69 73 20 66 69 6c 65 20 6d 61 79 20 62 65 20 75 73 65 64 | ontents.of.this.file.may.be.used |
1cece0 | 20 75 6e 64 65 72 20 74 68 65 20 74 65 72 6d 73 20 6f 66 0a 20 2a 20 65 69 74 68 65 72 20 74 68 | .under.the.terms.of..*.either.th |
1ced00 | 65 20 47 4e 55 20 47 65 6e 65 72 61 6c 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 20 56 65 72 | e.GNU.General.Public.License.Ver |
1ced20 | 73 69 6f 6e 20 32 20 6f 72 20 6c 61 74 65 72 20 28 74 68 65 20 22 47 50 4c 22 29 2c 20 6f 72 0a | sion.2.or.later.(the."GPL"),.or. |
1ced40 | 20 2a 20 74 68 65 20 47 4e 55 20 4c 65 73 73 65 72 20 47 65 6e 65 72 61 6c 20 50 75 62 6c 69 63 | .*.the.GNU.Lesser.General.Public |
1ced60 | 20 4c 69 63 65 6e 73 65 20 56 65 72 73 69 6f 6e 20 32 2e 31 20 6f 72 20 6c 61 74 65 72 20 28 74 | .License.Version.2.1.or.later.(t |
1ced80 | 68 65 20 22 4c 47 50 4c 22 29 2c 0a 20 2a 20 69 6e 20 77 68 69 63 68 20 63 61 73 65 20 74 68 65 | he."LGPL"),..*.in.which.case.the |
1ceda0 | 20 70 72 6f 76 69 73 69 6f 6e 73 20 6f 66 20 74 68 65 20 47 50 4c 20 6f 72 20 74 68 65 20 4c 47 | .provisions.of.the.GPL.or.the.LG |
1cedc0 | 50 4c 20 61 72 65 20 61 70 70 6c 69 63 61 62 6c 65 20 69 6e 73 74 65 61 64 0a 20 2a 20 6f 66 20 | PL.are.applicable.instead..*.of. |
1cede0 | 74 68 6f 73 65 20 61 62 6f 76 65 2e 20 49 66 20 79 6f 75 20 77 69 73 68 20 74 6f 20 61 6c 6c 6f | those.above..If.you.wish.to.allo |
1cee00 | 77 20 75 73 65 20 6f 66 20 79 6f 75 72 20 76 65 72 73 69 6f 6e 20 6f 66 20 74 68 69 73 20 66 69 | w.use.of.your.version.of.this.fi |
1cee20 | 6c 65 20 6f 6e 6c 79 0a 20 2a 20 75 6e 64 65 72 20 74 68 65 20 74 65 72 6d 73 20 6f 66 20 65 69 | le.only..*.under.the.terms.of.ei |
1cee40 | 74 68 65 72 20 74 68 65 20 47 50 4c 20 6f 72 20 74 68 65 20 4c 47 50 4c 2c 20 61 6e 64 20 6e 6f | ther.the.GPL.or.the.LGPL,.and.no |
1cee60 | 74 20 74 6f 20 61 6c 6c 6f 77 20 6f 74 68 65 72 73 20 74 6f 0a 20 2a 20 75 73 65 20 79 6f 75 72 | t.to.allow.others.to..*.use.your |
1cee80 | 20 76 65 72 73 69 6f 6e 20 6f 66 20 74 68 69 73 20 66 69 6c 65 20 75 6e 64 65 72 20 74 68 65 20 | .version.of.this.file.under.the. |
1ceea0 | 74 65 72 6d 73 20 6f 66 20 74 68 65 20 4d 50 4c 2c 20 69 6e 64 69 63 61 74 65 20 79 6f 75 72 0a | terms.of.the.MPL,.indicate.your. |
1ceec0 | 20 2a 20 64 65 63 69 73 69 6f 6e 20 62 79 20 64 65 6c 65 74 69 6e 67 20 74 68 65 20 70 72 6f 76 | .*.decision.by.deleting.the.prov |
1ceee0 | 69 73 69 6f 6e 73 20 61 62 6f 76 65 20 61 6e 64 20 72 65 70 6c 61 63 65 20 74 68 65 6d 20 77 69 | isions.above.and.replace.them.wi |
1cef00 | 74 68 20 74 68 65 20 6e 6f 74 69 63 65 0a 20 2a 20 61 6e 64 20 6f 74 68 65 72 20 70 72 6f 76 69 | th.the.notice..*.and.other.provi |
1cef20 | 73 69 6f 6e 73 20 72 65 71 75 69 72 65 64 20 62 79 20 74 68 65 20 47 50 4c 20 6f 72 20 74 68 65 | sions.required.by.the.GPL.or.the |
1cef40 | 20 4c 47 50 4c 2e 20 49 66 20 79 6f 75 20 64 6f 20 6e 6f 74 20 64 65 6c 65 74 65 0a 20 2a 20 74 | .LGPL..If.you.do.not.delete..*.t |
1cef60 | 68 65 20 70 72 6f 76 69 73 69 6f 6e 73 20 61 62 6f 76 65 2c 20 61 20 72 65 63 69 70 69 65 6e 74 | he.provisions.above,.a.recipient |
1cef80 | 20 6d 61 79 20 75 73 65 20 79 6f 75 72 20 76 65 72 73 69 6f 6e 20 6f 66 20 74 68 69 73 20 66 69 | .may.use.your.version.of.this.fi |
1cefa0 | 6c 65 20 75 6e 64 65 72 0a 20 2a 20 74 68 65 20 74 65 72 6d 73 20 6f 66 20 61 6e 79 20 6f 6e 65 | le.under..*.the.terms.of.any.one |
1cefc0 | 20 6f 66 20 74 68 65 20 4d 50 4c 2c 20 74 68 65 20 47 50 4c 20 6f 72 20 74 68 65 20 4c 47 50 4c | .of.the.MPL,.the.GPL.or.the.LGPL |
1cefe0 | 2e 0a 20 2a 0a 20 2a 20 2a 2a 2a 2a 2a 20 45 4e 44 20 4c 49 43 45 4e 53 45 20 42 4c 4f 43 4b 20 | ...*..*.*****.END.LICENSE.BLOCK. |
1cf000 | 2a 2a 2a 2a 2a 20 2a 2f 0a 20 0a 77 69 6e 64 6f 77 2e 61 64 64 45 76 65 6e 74 4c 69 73 74 65 6e | *****.*/...window.addEventListen |
1cf020 | 65 72 28 22 6c 6f 61 64 22 2c 20 42 57 5f 73 74 61 72 74 75 70 2c 20 66 61 6c 73 65 29 3b 0a 0a | er("load",.BW_startup,.false);.. |
1cf040 | 76 61 72 20 42 57 5f 66 72 61 6d 65 3b 0a 76 61 72 20 42 57 5f 68 69 73 74 6f 72 79 53 65 72 76 | var.BW_frame;.var.BW_historyServ |
1cf060 | 69 63 65 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c | ice.=.Components.classes["@mozil |
1cf080 | 6c 61 2e 6f 72 67 2f 62 72 6f 77 73 65 72 2f 6e 61 76 2d 68 69 73 74 6f 72 79 2d 73 65 72 76 69 | la.org/browser/nav-history-servi |
1cf0a0 | 63 65 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 6f | ce;1"].............getService(Co |
1cf0c0 | 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 4e 61 76 48 69 73 74 6f 72 | mponents.interfaces.nsINavHistor |
1cf0e0 | 79 53 65 72 76 69 63 65 29 3b 0a 76 61 72 20 42 57 5f 72 65 73 75 6c 74 3b 0a 0a 76 61 72 20 6c | yService);.var.BW_result;..var.l |
1cf100 | 6f 61 64 65 64 49 66 72 61 6d 65 20 3d 20 66 61 6c 73 65 3b 0a 76 61 72 20 6c 6f 61 64 65 64 42 | oadedIframe.=.false;.var.loadedB |
1cf120 | 72 65 74 74 73 20 3d 20 66 61 6c 73 65 3b 0a 0a 66 75 6e 63 74 69 6f 6e 20 42 57 5f 73 74 61 72 | retts.=.false;..function.BW_star |
1cf140 | 74 75 70 28 29 20 7b 0a 20 20 42 57 5f 66 72 61 6d 65 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 | tup().{...BW_frame.=.document.ge |
1cf160 | 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 74 68 65 66 72 61 6d 65 22 29 3b 0a 0a 20 20 76 61 72 | tElementById("theframe");....var |
1cf180 | 20 6f 70 74 69 6f 6e 73 20 3d 20 42 57 5f 68 69 73 74 6f 72 79 53 65 72 76 69 63 65 2e 67 65 74 | .options.=.BW_historyService.get |
1cf1a0 | 4e 65 77 51 75 65 72 79 4f 70 74 69 6f 6e 73 28 29 3b 0a 20 20 6f 70 74 69 6f 6e 73 2e 73 6f 72 | NewQueryOptions();...options.sor |
1cf1c0 | 74 69 6e 67 4d 6f 64 65 20 3d 20 6f 70 74 69 6f 6e 73 2e 53 4f 52 54 5f 42 59 5f 44 41 54 45 5f | tingMode.=.options.SORT_BY_DATE_ |
1cf1e0 | 44 45 53 43 45 4e 44 49 4e 47 3b 0a 20 20 6f 70 74 69 6f 6e 73 2e 72 65 73 75 6c 74 54 79 70 65 | DESCENDING;...options.resultType |
1cf200 | 20 3d 20 6f 70 74 69 6f 6e 73 2e 52 45 53 55 4c 54 53 5f 41 53 5f 56 49 53 49 54 3b 0a 20 20 6f | .=.options.RESULTS_AS_VISIT;...o |
1cf220 | 70 74 69 6f 6e 73 2e 6d 61 78 52 65 73 75 6c 74 73 20 3d 20 32 30 30 3b 0a 20 20 76 61 72 20 71 | ptions.maxResults.=.200;...var.q |
1cf240 | 75 65 72 79 20 3d 20 42 57 5f 68 69 73 74 6f 72 79 53 65 72 76 69 63 65 2e 67 65 74 4e 65 77 51 | uery.=.BW_historyService.getNewQ |
1cf260 | 75 65 72 79 28 29 3b 0a 20 20 42 57 5f 72 65 73 75 6c 74 20 3d 20 42 57 5f 68 69 73 74 6f 72 79 | uery();...BW_result.=.BW_history |
1cf280 | 53 65 72 76 69 63 65 2e 65 78 65 63 75 74 65 51 75 65 72 79 28 71 75 65 72 79 2c 20 6f 70 74 69 | Service.executeQuery(query,.opti |
1cf2a0 | 6f 6e 73 29 3b 0a 20 20 42 57 5f 72 65 73 75 6c 74 2e 72 6f 6f 74 2e 63 6f 6e 74 61 69 6e 65 72 | ons);...BW_result.root.container |
1cf2c0 | 4f 70 65 6e 20 3d 20 74 72 75 65 3b 0a 0a 20 20 42 57 5f 66 72 61 6d 65 2e 63 6f 6e 74 65 6e 74 | Open.=.true;....BW_frame.content |
1cf2e0 | 57 69 6e 64 6f 77 2e 61 64 64 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 28 22 6c 6f 61 64 22 2c 20 | Window.addEventListener("load",. |
1cf300 | 42 57 5f 66 69 6c 6c 2c 20 74 72 75 65 29 3b 0a 20 20 6c 6f 61 64 65 64 42 72 65 74 74 73 20 3d | BW_fill,.true);...loadedBretts.= |
1cf320 | 20 74 72 75 65 3b 0a 20 20 69 66 20 28 6c 6f 61 64 65 64 49 66 72 61 6d 65 20 26 26 20 6c 6f 61 | .true;...if.(loadedIframe.&&.loa |
1cf340 | 64 65 64 42 72 65 74 74 73 29 0a 20 20 20 20 42 57 5f 66 69 6c 6c 28 29 3b 0a 20 20 2f 2f 42 57 | dedBretts).....BW_fill();...//BW |
1cf360 | 5f 66 72 61 6d 65 2e 6f 6e 6c 6f 61 64 20 3d 20 42 57 5f 66 69 6c 6c 3b 0a 20 20 2f 2f 42 57 5f | _frame.onload.=.BW_fill;...//BW_ |
1cf380 | 66 72 61 6d 65 2e 63 6f 6e 74 65 6e 74 44 6f 63 75 6d 65 6e 74 2e 6f 6e 4c 6f 61 64 20 3d 20 42 | frame.contentDocument.onLoad.=.B |
1cf3a0 | 57 5f 66 69 6c 6c 3b 0a 20 20 2f 2f 42 57 5f 66 69 6c 6c 28 29 3b 0a 7d 0a 0a 66 75 6e 63 74 69 | W_fill;...//BW_fill();.}..functi |
1cf3c0 | 6f 6e 20 42 57 5f 6c 6f 61 64 69 66 72 61 6d 65 28 29 20 7b 0a 20 20 6c 6f 61 64 65 64 49 66 72 | on.BW_loadiframe().{...loadedIfr |
1cf3e0 | 61 6d 65 20 3d 20 74 72 75 65 3b 0a 20 20 69 66 20 28 6c 6f 61 64 65 64 49 66 72 61 6d 65 20 26 | ame.=.true;...if.(loadedIframe.& |
1cf400 | 26 20 6c 6f 61 64 65 64 42 72 65 74 74 73 29 0a 20 20 20 20 42 57 5f 66 69 6c 6c 28 29 3b 0a 7d | &.loadedBretts).....BW_fill();.} |
1cf420 | 0a 0a 0a 66 75 6e 63 74 69 6f 6e 20 42 57 5f 67 65 74 54 4c 44 28 68 6f 73 74 29 20 7b 0a 20 20 | ...function.BW_getTLD(host).{... |
1cf440 | 76 61 72 20 63 6f 75 6e 74 20 3d 20 30 3b 0a 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 68 6f | var.count.=.0;...for.(var.i.=.ho |
1cf460 | 73 74 2e 6c 65 6e 67 74 68 20 2d 20 32 3b 20 69 20 3e 20 30 3b 20 69 20 2d 2d 29 20 7b 0a 20 20 | st.length.-.2;.i.>.0;.i.--).{... |
1cf480 | 20 20 69 66 20 28 68 6f 73 74 5b 69 5d 20 3d 3d 20 27 2e 27 29 20 7b 0a 20 20 20 20 20 20 63 6f | ..if.(host[i].==.'.').{.......co |
1cf4a0 | 75 6e 74 20 2b 2b 3b 0a 20 20 20 20 20 20 69 66 20 28 63 6f 75 6e 74 20 3d 3d 20 32 29 20 7b 0a | unt.++;.......if.(count.==.2).{. |
1cf4c0 | 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 68 6f 73 74 2e 73 75 62 73 74 72 28 69 20 2b 20 31 | ........return.host.substr(i.+.1 |
1cf4e0 | 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 20 20 7d 0a 20 20 72 65 74 75 72 6e 20 68 6f | );.......}.....}...}...return.ho |
1cf500 | 73 74 3b 0a 7d 0a 0a 76 61 72 20 42 57 5f 66 69 6c 6c 65 64 20 3d 20 66 61 6c 73 65 3b 0a 0a 66 | st;.}..var.BW_filled.=.false;..f |
1cf520 | 75 6e 63 74 69 6f 6e 20 42 57 5f 66 69 6c 6c 28 29 20 7b 0a 20 20 69 66 20 28 42 57 5f 66 69 6c | unction.BW_fill().{...if.(BW_fil |
1cf540 | 6c 65 64 29 0a 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 42 57 5f 66 69 6c 6c 65 64 20 3d 20 74 | led).....return;...BW_filled.=.t |
1cf560 | 72 75 65 3b 0a 0a 20 20 42 57 5f 66 72 61 6d 65 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 27 6f | rue;....BW_frame.setAttribute('o |
1cf580 | 6e 6c 6f 61 64 27 2c 20 27 27 29 3b 0a 0a 20 20 76 61 72 20 63 6f 6e 74 61 69 6e 65 72 20 3d 20 | nload',.'');....var.container.=. |
1cf5a0 | 42 57 5f 72 65 73 75 6c 74 2e 72 6f 6f 74 3b 0a 20 20 76 61 72 20 6c 65 6e 67 74 68 20 3d 20 63 | BW_result.root;...var.length.=.c |
1cf5c0 | 6f 6e 74 61 69 6e 65 72 2e 63 68 69 6c 64 43 6f 75 6e 74 3b 0a 20 20 64 75 6d 70 28 22 64 6f 63 | ontainer.childCount;...dump("doc |
1cf5e0 | 20 3d 20 22 20 2b 20 42 57 5f 66 72 61 6d 65 2e 63 6f 6e 74 65 6e 74 44 6f 63 75 6d 65 6e 74 20 | .=.".+.BW_frame.contentDocument. |
1cf600 | 2b 20 22 5c 6e 22 29 3b 0a 20 20 76 61 72 20 64 6f 63 20 3d 20 42 57 5f 66 72 61 6d 65 2e 63 6f | +."\n");...var.doc.=.BW_frame.co |
1cf620 | 6e 74 65 6e 74 44 6f 63 75 6d 65 6e 74 3b 0a 0a 20 20 76 61 72 20 69 6f 73 20 3d 20 43 6f 6d 70 | ntentDocument;....var.ios.=.Comp |
1cf640 | 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6e 65 74 | onents.classes["@mozilla.org/net |
1cf660 | 77 6f 72 6b 2f 69 6f 2d 73 65 72 76 69 63 65 3b 31 22 5d 2e 0a 20 20 20 20 20 20 20 20 67 65 74 | work/io-service;1"]..........get |
1cf680 | 53 65 72 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 | Service(Components.interfaces.ns |
1cf6a0 | 49 49 4f 53 65 72 76 69 63 65 29 3b 0a 20 20 76 61 72 20 64 61 74 65 66 6f 72 6d 61 74 20 3d 20 | IIOService);...var.dateformat.=. |
1cf6c0 | 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 | Components.classes["@mozilla.org |
1cf6e0 | 2f 69 6e 74 6c 2f 73 63 72 69 70 74 61 62 6c 65 64 61 74 65 66 6f 72 6d 61 74 3b 31 22 5d 0a 20 | /intl/scriptabledateformat;1"].. |
1cf700 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 6f | ...................getService(Co |
1cf720 | 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 53 63 72 69 70 74 61 62 6c | mponents.interfaces.nsIScriptabl |
1cf740 | 65 44 61 74 65 46 6f 72 6d 61 74 29 3b 0a 0a 20 20 76 61 72 20 74 61 62 6c 65 20 3d 20 64 6f 63 | eDateFormat);....var.table.=.doc |
1cf760 | 2e 63 72 65 61 74 65 45 6c 65 6d 65 6e 74 28 27 74 61 62 6c 65 27 29 3b 0a 20 20 64 6f 63 2e 62 | .createElement('table');...doc.b |
1cf780 | 6f 64 79 2e 61 70 70 65 6e 64 43 68 69 6c 64 28 74 61 62 6c 65 29 3b 0a 0a 20 20 76 61 72 20 63 | ody.appendChild(table);....var.c |
1cf7a0 | 6f 75 6e 74 73 20 3d 20 6e 65 77 20 41 72 72 61 79 28 32 34 30 29 3b 0a 20 20 66 6f 72 20 28 76 | ounts.=.new.Array(240);...for.(v |
1cf7c0 | 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 63 6f 75 6e 74 73 2e 6c 65 6e 67 74 68 3b 20 69 20 2b | ar.i.=.0;.i.<.counts.length;.i.+ |
1cf7e0 | 2b 29 20 7b 0a 20 20 20 20 63 6f 75 6e 74 73 5b 69 5d 20 3d 20 30 3b 0a 20 20 7d 0a 0a 20 20 76 | +).{.....counts[i].=.0;...}....v |
1cf800 | 61 72 20 6e 6f 77 20 3d 20 6e 65 77 20 44 61 74 65 28 29 3b 0a 20 20 6e 6f 77 2e 73 65 74 48 6f | ar.now.=.new.Date();...now.setHo |
1cf820 | 75 72 73 28 30 29 3b 0a 20 20 6e 6f 77 2e 73 65 74 4d 69 6e 75 74 65 73 28 30 29 3b 0a 20 20 6e | urs(0);...now.setMinutes(0);...n |
1cf840 | 6f 77 2e 73 65 74 53 65 63 6f 6e 64 73 28 30 29 3b 0a 20 20 6e 6f 77 2e 73 65 74 4d 69 6c 6c 69 | ow.setSeconds(0);...now.setMilli |
1cf860 | 73 65 63 6f 6e 64 73 28 30 29 3b 0a 20 20 6e 6f 77 2e 73 65 74 44 61 74 65 28 6e 6f 77 2e 67 65 | seconds(0);...now.setDate(now.ge |
1cf880 | 74 44 61 74 65 28 29 2b 31 29 3b 0a 20 20 76 61 72 20 74 6f 6e 69 67 68 74 55 53 20 3d 20 6e 6f | tDate()+1);...var.tonightUS.=.no |
1cf8a0 | 77 2e 67 65 74 54 69 6d 65 28 29 20 2a 20 31 30 30 30 3b 0a 20 20 76 61 72 20 75 73 50 65 72 48 | w.getTime().*.1000;...var.usPerH |
1cf8c0 | 6f 75 72 20 3d 20 33 36 30 30 30 30 30 30 30 30 3b 0a 0a 20 20 76 61 72 20 70 72 65 76 69 6f 75 | our.=.3600000000;....var.previou |
1cf8e0 | 73 53 65 73 73 69 6f 6e 20 3d 20 2d 31 3b 0a 20 20 76 61 72 20 70 72 65 76 69 6f 75 73 4d 53 20 | sSession.=.-1;...var.previousMS. |
1cf900 | 3d 20 31 38 34 33 37 37 33 36 38 37 34 34 35 34 38 31 30 36 32 37 3b 0a 20 20 76 61 72 20 70 72 | =.18437736874454810627;...var.pr |
1cf920 | 65 76 69 6f 75 73 48 6f 73 74 20 3d 20 22 22 3b 0a 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 | eviousHost.=."";...for.(var.i.=. |
1cf940 | 30 3b 20 69 20 3c 20 6c 65 6e 67 74 68 3b 20 69 20 2b 2b 29 20 7b 0a 20 20 20 20 76 61 72 20 63 | 0;.i.<.length;.i.++).{.....var.c |
1cf960 | 68 69 6c 64 20 3d 20 63 6f 6e 74 61 69 6e 65 72 2e 67 65 74 43 68 69 6c 64 28 69 29 3b 0a 20 20 | hild.=.container.getChild(i);... |
1cf980 | 20 20 63 68 69 6c 64 2e 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 | ..child.QueryInterface(Component |
1cf9a0 | 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 4e 61 76 48 69 73 74 6f 72 79 56 69 73 69 74 52 | s.interfaces.nsINavHistoryVisitR |
1cf9c0 | 65 73 75 6c 74 4e 6f 64 65 29 3b 0a 20 20 20 20 76 61 72 20 73 65 73 73 69 6f 6e 20 3d 20 63 68 | esultNode);.....var.session.=.ch |
1cf9e0 | 69 6c 64 2e 73 65 73 73 69 6f 6e 49 64 3b 0a 0a 20 20 20 20 76 61 72 20 74 68 69 73 42 69 6e 20 | ild.sessionId;......var.thisBin. |
1cfa00 | 3d 20 4d 61 74 68 2e 66 6c 6f 6f 72 28 28 74 6f 6e 69 67 68 74 55 53 20 2d 20 63 68 69 6c 64 2e | =.Math.floor((tonightUS.-.child. |
1cfa20 | 74 69 6d 65 29 20 2f 20 75 73 50 65 72 48 6f 75 72 29 3b 0a 20 20 20 20 69 66 20 28 74 68 69 73 | time)./.usPerHour);.....if.(this |
1cfa40 | 42 69 6e 20 3e 3d 20 30 20 26 26 20 74 68 69 73 42 69 6e 20 3c 20 63 6f 75 6e 74 73 2e 6c 65 6e | Bin.>=.0.&&.thisBin.<.counts.len |
1cfa60 | 67 74 68 29 20 7b 0a 20 20 20 20 20 20 63 6f 75 6e 74 73 5b 74 68 69 73 42 69 6e 5d 20 3d 20 63 | gth).{.......counts[thisBin].=.c |
1cfa80 | 6f 75 6e 74 73 5b 74 68 69 73 42 69 6e 5d 20 2b 20 31 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 76 | ounts[thisBin].+.1;.....}......v |
1cfaa0 | 61 72 20 6d 73 20 3d 20 63 68 69 6c 64 2e 74 69 6d 65 20 2f 20 31 30 30 30 3b 0a 20 20 20 20 76 | ar.ms.=.child.time./.1000;.....v |
1cfac0 | 61 72 20 61 64 64 65 64 54 69 6d 65 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 69 66 20 28 70 72 | ar.addedTime.=.false;.....if.(pr |
1cfae0 | 65 76 69 6f 75 73 4d 53 20 2d 20 6d 73 20 3e 20 36 30 30 30 30 30 29 20 7b 0a 20 20 20 20 20 20 | eviousMS.-.ms.>.600000).{....... |
1cfb00 | 61 64 64 65 64 54 69 6d 65 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 76 61 72 20 74 20 3d 20 | addedTime.=.true;.......var.t.=. |
1cfb20 | 6e 65 77 20 44 61 74 65 28 6d 73 29 3b 0a 20 20 20 20 20 20 76 61 72 20 74 72 20 3d 20 64 6f 63 | new.Date(ms);.......var.tr.=.doc |
1cfb40 | 2e 63 72 65 61 74 65 45 6c 65 6d 65 6e 74 28 27 74 72 27 29 3b 0a 20 20 20 20 20 20 74 61 62 6c | .createElement('tr');.......tabl |
1cfb60 | 65 2e 61 70 70 65 6e 64 43 68 69 6c 64 28 74 72 29 3b 0a 20 20 20 20 20 20 76 61 72 20 74 64 20 | e.appendChild(tr);.......var.td. |
1cfb80 | 3d 20 64 6f 63 2e 63 72 65 61 74 65 45 6c 65 6d 65 6e 74 28 27 74 64 27 29 3b 0a 20 20 20 20 20 | =.doc.createElement('td');...... |
1cfba0 | 20 74 64 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 27 63 6f 6c 73 70 61 6e 27 2c 20 27 32 27 29 | .td.setAttribute('colspan',.'2') |
1cfbc0 | 3b 0a 20 20 20 20 20 20 74 64 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 27 63 6c 61 73 73 27 2c | ;.......td.setAttribute('class', |
1cfbe0 | 20 27 74 69 6d 65 27 29 3b 0a 20 20 20 20 20 20 74 72 2e 61 70 70 65 6e 64 43 68 69 6c 64 28 74 | .'time');.......tr.appendChild(t |
1cfc00 | 64 29 3b 0a 0a 20 20 20 20 20 20 76 61 72 20 74 69 6d 65 73 74 72 69 6e 67 20 3d 20 64 61 74 65 | d);........var.timestring.=.date |
1cfc20 | 66 6f 72 6d 61 74 2e 46 6f 72 6d 61 74 44 61 74 65 54 69 6d 65 28 22 22 2c 0a 20 20 20 20 20 20 | format.FormatDateTime("",....... |
1cfc40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 61 74 65 66 6f | ..........................datefo |
1cfc60 | 72 6d 61 74 2e 64 61 74 65 46 6f 72 6d 61 74 53 68 6f 72 74 2c 0a 20 20 20 20 20 20 20 20 20 20 | rmat.dateFormatShort,........... |
1cfc80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 61 74 65 66 6f 72 6d 61 74 | ......................dateformat |
1cfca0 | 2e 74 69 6d 65 46 6f 72 6d 61 74 4e 6f 53 65 63 6f 6e 64 73 2c 0a 20 20 20 20 20 20 20 20 20 20 | .timeFormatNoSeconds,........... |
1cfcc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 2e 67 65 74 46 75 6c 6c 59 | ......................t.getFullY |
1cfce0 | 65 61 72 28 29 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ear(),.......................... |
1cfd00 | 20 20 20 20 20 20 20 74 2e 67 65 74 4d 6f 6e 74 68 28 29 2c 0a 20 20 20 20 20 20 20 20 20 20 20 | .......t.getMonth(),............ |
1cfd20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 2e 67 65 74 44 61 74 65 28 29 | .....................t.getDate() |
1cfd40 | 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ,............................... |
1cfd60 | 20 20 74 2e 67 65 74 48 6f 75 72 73 28 29 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ..t.getHours(),................. |
1cfd80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 2e 67 65 74 4d 69 6e 75 74 65 73 28 29 2c 0a | ................t.getMinutes(),. |
1cfda0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
1cfdc0 | 30 29 3b 0a 20 20 20 20 20 20 76 61 72 20 74 69 6d 65 74 65 78 74 20 3d 20 64 6f 63 2e 63 72 65 | 0);.......var.timetext.=.doc.cre |
1cfde0 | 61 74 65 54 65 78 74 4e 6f 64 65 28 74 69 6d 65 73 74 72 69 6e 67 29 3b 0a 20 20 20 20 20 20 74 | ateTextNode(timestring);.......t |
1cfe00 | 64 2e 61 70 70 65 6e 64 43 68 69 6c 64 28 74 69 6d 65 74 65 78 74 29 3b 0a 20 20 20 20 7d 0a 20 | d.appendChild(timetext);.....}.. |
1cfe20 | 20 20 20 70 72 65 76 69 6f 75 73 4d 53 20 3d 20 6d 73 3b 0a 0a 20 20 20 20 76 61 72 20 74 72 20 | ...previousMS.=.ms;......var.tr. |
1cfe40 | 3d 20 64 6f 63 2e 63 72 65 61 74 65 45 6c 65 6d 65 6e 74 28 27 74 72 27 29 3b 0a 20 20 20 20 74 | =.doc.createElement('tr');.....t |
1cfe60 | 61 62 6c 65 2e 61 70 70 65 6e 64 43 68 69 6c 64 28 74 72 29 3b 0a 0a 20 20 20 20 2f 2f 20 55 52 | able.appendChild(tr);......//.UR |
1cfe80 | 4c 0a 20 20 20 20 76 61 72 20 73 70 65 63 3b 0a 20 20 20 20 76 61 72 20 75 72 69 3b 0a 20 20 20 | L.....var.spec;.....var.uri;.... |
1cfea0 | 20 74 72 79 20 7b 0a 20 20 20 20 20 20 73 70 65 63 20 3d 20 63 68 69 6c 64 2e 75 72 69 3b 0a 20 | .try.{.......spec.=.child.uri;.. |
1cfec0 | 20 20 20 20 20 75 72 69 20 3d 20 69 6f 73 2e 6e 65 77 55 52 49 28 73 70 65 63 2c 20 6e 75 6c 6c | .....uri.=.ios.newURI(spec,.null |
1cfee0 | 2c 20 6e 75 6c 6c 29 3b 0a 20 20 20 20 7d 20 63 61 74 63 68 28 65 29 20 7b 0a 20 20 20 20 20 20 | ,.null);.....}.catch(e).{....... |
1cff00 | 73 70 65 63 20 3d 20 6e 75 6c 6c 3b 0a 20 20 20 20 20 20 75 72 69 20 3d 20 6e 75 6c 6c 3b 0a 20 | spec.=.null;.......uri.=.null;.. |
1cff20 | 20 20 20 7d 0a 0a 20 20 20 20 2f 2f 20 68 6f 73 74 20 6e 61 6d 65 20 69 66 20 6e 65 65 64 65 64 | ...}......//.host.name.if.needed |
1cff40 | 20 6f 6e 20 6c 65 66 74 0a 20 20 20 20 76 61 72 20 74 64 20 3d 20 64 6f 63 2e 63 72 65 61 74 65 | .on.left.....var.td.=.doc.create |
1cff60 | 45 6c 65 6d 65 6e 74 28 27 74 64 27 29 3b 0a 20 20 20 20 74 64 2e 73 65 74 41 74 74 72 69 62 75 | Element('td');.....td.setAttribu |
1cff80 | 74 65 28 27 76 61 6c 69 67 6e 27 2c 20 27 74 6f 70 27 29 3b 0a 20 20 20 20 74 64 2e 73 65 74 41 | te('valign',.'top');.....td.setA |
1cffa0 | 74 74 72 69 62 75 74 65 28 27 61 6c 69 67 6e 27 2c 20 27 72 69 67 68 74 27 29 3b 0a 20 20 20 20 | ttribute('align',.'right');..... |
1cffc0 | 74 64 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 27 63 6c 61 73 73 27 2c 20 27 68 6f 73 74 27 29 | td.setAttribute('class',.'host') |
1cffe0 | 3b 0a 20 20 20 20 74 72 2e 61 70 70 65 6e 64 43 68 69 6c 64 28 74 64 29 3b 0a 20 20 20 20 76 61 | ;.....tr.appendChild(td);.....va |
1d0000 | 72 20 68 6f 73 74 20 3d 20 42 57 5f 67 65 74 54 4c 44 28 75 72 69 2e 68 6f 73 74 29 3b 0a 20 20 | r.host.=.BW_getTLD(uri.host);... |
1d0020 | 20 20 69 66 20 28 61 64 64 65 64 54 69 6d 65 20 7c 7c 20 68 6f 73 74 20 21 3d 20 70 72 65 76 69 | ..if.(addedTime.||.host.!=.previ |
1d0040 | 6f 75 73 48 6f 73 74 29 20 7b 0a 20 20 20 20 20 20 2f 2f 20 61 64 64 20 68 6f 73 74 20 6e 61 6d | ousHost).{.......//.add.host.nam |
1d0060 | 65 0a 20 20 20 20 20 20 76 61 72 20 68 6f 73 74 74 65 78 74 20 3d 20 64 6f 63 2e 63 72 65 61 74 | e.......var.hosttext.=.doc.creat |
1d0080 | 65 54 65 78 74 4e 6f 64 65 28 68 6f 73 74 29 3b 0a 20 20 20 20 20 20 74 64 2e 61 70 70 65 6e 64 | eTextNode(host);.......td.append |
1d00a0 | 43 68 69 6c 64 28 68 6f 73 74 74 65 78 74 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 70 72 65 76 69 | Child(hosttext);.....}.....previ |
1d00c0 | 6f 75 73 48 6f 73 74 20 3d 20 68 6f 73 74 3b 0a 0a 20 20 20 20 2f 2f 20 72 69 67 68 74 20 73 65 | ousHost.=.host;......//.right.se |
1d00e0 | 63 74 69 6f 6e 0a 20 20 20 20 76 61 72 20 74 64 20 3d 20 64 6f 63 2e 63 72 65 61 74 65 45 6c 65 | ction.....var.td.=.doc.createEle |
1d0100 | 6d 65 6e 74 28 27 74 64 27 29 3b 0a 20 20 20 20 74 64 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 | ment('td');.....td.setAttribute( |
1d0120 | 27 76 61 6c 69 67 6e 27 2c 20 27 74 6f 70 27 29 3b 0a 20 20 20 20 74 72 2e 61 70 70 65 6e 64 43 | 'valign',.'top');.....tr.appendC |
1d0140 | 68 69 6c 64 28 74 64 29 3b 0a 0a 20 20 20 20 69 66 20 28 21 20 61 64 64 65 64 54 69 6d 65 20 26 | hild(td);......if.(!.addedTime.& |
1d0160 | 26 20 28 69 20 3d 3d 20 30 20 7c 7c 20 63 68 69 6c 64 2e 73 65 73 73 69 6f 6e 49 64 20 21 3d 20 | &.(i.==.0.||.child.sessionId.!=. |
1d0180 | 70 72 65 76 69 6f 75 73 53 65 73 73 69 6f 6e 29 29 0a 20 20 20 20 20 20 74 64 2e 73 65 74 41 74 | previousSession)).......td.setAt |
1d01a0 | 74 72 69 62 75 74 65 28 27 63 6c 61 73 73 27 2c 20 27 69 74 65 6d 6e 65 77 27 29 3b 0a 20 20 20 | tribute('class',.'itemnew');.... |
1d01c0 | 20 65 6c 73 65 0a 20 20 20 20 20 20 74 64 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 27 63 6c 61 | .else.......td.setAttribute('cla |
1d01e0 | 73 73 27 2c 20 27 69 74 65 6d 27 29 3b 0a 20 20 20 20 70 72 65 76 69 6f 75 73 53 65 73 73 69 6f | ss',.'item');.....previousSessio |
1d0200 | 6e 20 3d 20 73 65 73 73 69 6f 6e 3b 0a 0a 20 20 20 20 2f 2f 20 74 69 74 6c 65 20 64 69 76 20 61 | n.=.session;......//.title.div.a |
1d0220 | 6e 64 20 74 65 78 74 0a 20 20 20 20 76 61 72 20 74 69 74 6c 65 64 69 76 20 3d 20 64 6f 63 2e 63 | nd.text.....var.titlediv.=.doc.c |
1d0240 | 72 65 61 74 65 45 6c 65 6d 65 6e 74 28 27 64 69 76 27 29 3b 0a 20 20 20 20 74 69 74 6c 65 64 69 | reateElement('div');.....titledi |
1d0260 | 76 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 27 63 6c 61 73 73 27 2c 20 27 74 69 74 6c 65 27 29 | v.setAttribute('class',.'title') |
1d0280 | 3b 0a 0a 20 20 20 20 76 61 72 20 69 6d 67 65 6c 74 20 3d 20 64 6f 63 2e 63 72 65 61 74 65 45 6c | ;......var.imgelt.=.doc.createEl |
1d02a0 | 65 6d 65 6e 74 28 27 69 6d 67 27 29 3b 0a 20 20 20 20 69 66 20 28 63 68 69 6c 64 2e 69 63 6f 6e | ement('img');.....if.(child.icon |
1d02c0 | 29 0a 20 20 20 20 20 20 69 6d 67 65 6c 74 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 27 73 72 63 | ).......imgelt.setAttribute('src |
1d02e0 | 27 2c 20 63 68 69 6c 64 2e 69 63 6f 6e 2e 73 70 65 63 29 3b 0a 20 20 20 20 65 6c 73 65 0a 20 20 | ',.child.icon.spec);.....else... |
1d0300 | 20 20 20 20 69 6d 67 65 6c 74 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 27 73 72 63 27 2c 20 27 | ....imgelt.setAttribute('src',.' |
1d0320 | 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 73 6b 69 6e 2f 70 6c 61 63 65 73 2f 64 65 66 | chrome://browser/skin/places/def |
1d0340 | 61 75 6c 74 46 61 76 69 63 6f 6e 2e 70 6e 67 27 29 3b 0a 20 20 20 20 69 6d 67 65 6c 74 2e 73 65 | aultFavicon.png');.....imgelt.se |
1d0360 | 74 41 74 74 72 69 62 75 74 65 28 27 77 69 64 74 68 27 2c 20 31 36 29 3b 0a 20 20 20 20 69 6d 67 | tAttribute('width',.16);.....img |
1d0380 | 65 6c 74 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 27 68 65 69 67 68 74 27 2c 20 31 36 29 3b 0a | elt.setAttribute('height',.16);. |
1d03a0 | 20 20 20 20 69 6d 67 65 6c 74 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 27 63 6c 61 73 73 27 2c | ....imgelt.setAttribute('class', |
1d03c0 | 20 27 66 61 76 69 63 6f 6e 27 29 3b 0a 20 20 20 20 74 69 74 6c 65 64 69 76 2e 61 70 70 65 6e 64 | .'favicon');.....titlediv.append |
1d03e0 | 43 68 69 6c 64 28 69 6d 67 65 6c 74 29 3b 0a 0a 20 20 20 20 76 61 72 20 74 69 74 6c 65 74 65 78 | Child(imgelt);......var.titletex |
1d0400 | 74 20 3d 20 64 6f 63 2e 63 72 65 61 74 65 54 65 78 74 4e 6f 64 65 28 63 68 69 6c 64 2e 74 69 74 | t.=.doc.createTextNode(child.tit |
1d0420 | 6c 65 29 3b 0a 20 20 20 20 74 69 74 6c 65 64 69 76 2e 61 70 70 65 6e 64 43 68 69 6c 64 28 74 69 | le);.....titlediv.appendChild(ti |
1d0440 | 74 6c 65 74 65 78 74 29 3b 0a 20 20 20 20 74 64 2e 61 70 70 65 6e 64 43 68 69 6c 64 28 74 69 74 | tletext);.....td.appendChild(tit |
1d0460 | 6c 65 64 69 76 29 3b 0a 0a 20 20 20 20 2f 2f 20 55 52 4c 0a 20 20 20 20 69 66 20 28 73 70 65 63 | lediv);......//.URL.....if.(spec |
1d0480 | 29 20 7b 0a 20 20 20 20 20 20 2f 2a 20 2f 2f 20 74 68 69 73 20 64 6f 65 73 20 62 6f 6c 64 20 68 | ).{......./*.//.this.does.bold.h |
1d04a0 | 6f 73 74 20 6e 61 6d 65 73 0a 20 20 20 20 20 20 76 61 72 20 68 6f 73 74 20 3d 20 75 72 69 2e 68 | ost.names.......var.host.=.uri.h |
1d04c0 | 6f 73 74 3b 0a 20 20 20 20 20 20 76 61 72 20 68 6f 73 74 53 74 61 72 74 20 3d 20 73 70 65 63 2e | ost;.......var.hostStart.=.spec. |
1d04e0 | 69 6e 64 65 78 4f 66 28 68 6f 73 74 29 3b 0a 20 20 20 20 20 20 69 66 20 28 68 6f 73 74 53 74 61 | indexOf(host);.......if.(hostSta |
1d0500 | 72 74 20 3e 3d 20 30 29 20 7b 0a 20 20 20 20 20 20 20 20 76 61 72 20 70 72 65 68 6f 73 74 20 3d | rt.>=.0).{.........var.prehost.= |
1d0520 | 20 73 70 65 63 2e 73 75 62 73 74 72 69 6e 67 28 30 2c 20 68 6f 73 74 53 74 61 72 74 29 3b 0a 20 | .spec.substring(0,.hostStart);.. |
1d0540 | 20 20 20 20 20 20 20 76 61 72 20 70 72 65 68 6f 73 74 74 65 78 74 20 3d 20 64 6f 63 2e 63 72 65 | .......var.prehosttext.=.doc.cre |
1d0560 | 61 74 65 54 65 78 74 4e 6f 64 65 28 70 72 65 68 6f 73 74 29 3b 0a 20 20 20 20 20 20 20 20 76 61 | ateTextNode(prehost);.........va |
1d0580 | 72 20 70 6f 73 74 68 6f 73 74 20 3d 20 73 70 65 63 2e 73 75 62 73 74 72 69 6e 67 28 68 6f 73 74 | r.posthost.=.spec.substring(host |
1d05a0 | 53 74 61 72 74 20 2b 20 68 6f 73 74 2e 6c 65 6e 67 74 68 2c 20 73 70 65 63 2e 6c 65 6e 67 74 68 | Start.+.host.length,.spec.length |
1d05c0 | 29 3b 0a 20 20 20 20 20 20 20 20 76 61 72 20 70 6f 73 74 68 6f 73 74 74 65 78 74 20 3d 20 64 6f | );.........var.posthosttext.=.do |
1d05e0 | 63 2e 63 72 65 61 74 65 54 65 78 74 4e 6f 64 65 28 70 6f 73 74 68 6f 73 74 29 3b 0a 20 20 20 20 | c.createTextNode(posthost);..... |
1d0600 | 20 20 20 20 76 61 72 20 68 6f 73 74 74 65 78 74 20 3d 20 64 6f 63 2e 63 72 65 61 74 65 54 65 78 | ....var.hosttext.=.doc.createTex |
1d0620 | 74 4e 6f 64 65 28 68 6f 73 74 29 3b 0a 0a 20 20 20 20 20 20 20 20 76 61 72 20 62 6f 6c 64 45 6c | tNode(host);..........var.boldEl |
1d0640 | 65 6d 65 6e 74 20 3d 20 64 6f 63 2e 63 72 65 61 74 65 45 6c 65 6d 65 6e 74 28 27 62 27 29 3b 0a | ement.=.doc.createElement('b');. |
1d0660 | 20 20 20 20 20 20 20 20 62 6f 6c 64 45 6c 65 6d 65 6e 74 2e 61 70 70 65 6e 64 43 68 69 6c 64 28 | ........boldElement.appendChild( |
1d0680 | 68 6f 73 74 74 65 78 74 29 3b 0a 0a 20 20 20 20 20 20 20 20 76 61 72 20 75 72 6c 64 69 76 20 3d | hosttext);..........var.urldiv.= |
1d06a0 | 20 64 6f 63 2e 63 72 65 61 74 65 45 6c 65 6d 65 6e 74 28 27 64 69 76 27 29 3b 0a 20 20 20 20 20 | .doc.createElement('div');...... |
1d06c0 | 20 20 20 75 72 6c 64 69 76 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 27 63 6c 61 73 73 27 2c 20 | ...urldiv.setAttribute('class',. |
1d06e0 | 27 75 72 6c 27 29 3b 0a 20 20 20 20 20 20 20 20 75 72 6c 64 69 76 2e 61 70 70 65 6e 64 43 68 69 | 'url');.........urldiv.appendChi |
1d0700 | 6c 64 28 70 72 65 68 6f 73 74 74 65 78 74 29 3b 0a 20 20 20 20 20 20 20 20 75 72 6c 64 69 76 2e | ld(prehosttext);.........urldiv. |
1d0720 | 61 70 70 65 6e 64 43 68 69 6c 64 28 62 6f 6c 64 45 6c 65 6d 65 6e 74 29 3b 0a 20 20 20 20 20 20 | appendChild(boldElement);....... |
1d0740 | 20 20 75 72 6c 64 69 76 2e 61 70 70 65 6e 64 43 68 69 6c 64 28 70 6f 73 74 68 6f 73 74 74 65 78 | ..urldiv.appendChild(posthosttex |
1d0760 | 74 29 3b 0a 20 20 20 20 20 20 20 20 74 64 2e 61 70 70 65 6e 64 43 68 69 6c 64 28 75 72 6c 64 69 | t);.........td.appendChild(urldi |
1d0780 | 76 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 2a 2f 0a 20 20 20 20 20 20 76 61 72 20 75 | v);.......}.......*/.......var.u |
1d07a0 | 72 6c 64 69 76 20 3d 20 64 6f 63 2e 63 72 65 61 74 65 45 6c 65 6d 65 6e 74 28 27 64 69 76 27 29 | rldiv.=.doc.createElement('div') |
1d07c0 | 3b 0a 20 20 20 20 20 20 75 72 6c 64 69 76 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 27 63 6c 61 | ;.......urldiv.setAttribute('cla |
1d07e0 | 73 73 27 2c 20 27 75 72 6c 27 29 3b 0a 20 20 20 20 20 20 76 61 72 20 75 72 6c 74 65 78 74 20 3d | ss',.'url');.......var.urltext.= |
1d0800 | 20 64 6f 63 2e 63 72 65 61 74 65 54 65 78 74 4e 6f 64 65 28 73 70 65 63 29 3b 0a 20 20 20 20 20 | .doc.createTextNode(spec);...... |
1d0820 | 20 75 72 6c 64 69 76 2e 61 70 70 65 6e 64 43 68 69 6c 64 28 75 72 6c 74 65 78 74 29 3b 0a 20 20 | .urldiv.appendChild(urltext);... |
1d0840 | 20 20 20 20 74 64 2e 61 70 70 65 6e 64 43 68 69 6c 64 28 75 72 6c 64 69 76 29 3b 0a 20 20 20 20 | ....td.appendChild(urldiv);..... |
1d0860 | 7d 0a 20 20 7d 0a 0a 20 20 2f 2f 20 73 6d 6f 6f 74 68 20 74 68 65 20 63 6f 75 6e 74 73 0a 20 20 | }...}....//.smooth.the.counts... |
1d0880 | 76 61 72 20 63 6f 75 6e 74 73 32 20 3d 20 6e 65 77 20 41 72 72 61 79 28 63 6f 75 6e 74 73 2e 6c | var.counts2.=.new.Array(counts.l |
1d08a0 | 65 6e 67 74 68 29 3b 0a 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 63 6f | ength);...for.(var.i.=.0;.i.<.co |
1d08c0 | 75 6e 74 73 2e 6c 65 6e 67 74 68 3b 20 69 20 2b 2b 29 20 7b 0a 20 20 20 20 76 61 72 20 74 74 6c | unts.length;.i.++).{.....var.ttl |
1d08e0 | 20 3d 20 30 3b 0a 20 20 20 20 76 61 72 20 61 63 63 20 3d 20 30 3b 0a 20 20 20 20 66 6f 72 20 28 | .=.0;.....var.acc.=.0;.....for.( |
1d0900 | 76 61 72 20 6a 20 3d 20 2d 32 3b 20 6a 20 3c 3d 20 32 3b 20 6a 20 2b 2b 29 20 7b 0a 20 20 20 20 | var.j.=.-2;.j.<=.2;.j.++).{..... |
1d0920 | 20 20 69 66 20 28 69 20 2b 20 6a 20 3c 20 30 29 20 63 6f 6e 74 69 6e 75 65 3b 0a 20 20 20 20 20 | ..if.(i.+.j.<.0).continue;...... |
1d0940 | 20 69 66 20 28 69 20 2b 20 6a 20 3e 3d 20 63 6f 75 6e 74 73 2e 6c 65 6e 67 74 68 29 20 63 6f 6e | .if.(i.+.j.>=.counts.length).con |
1d0960 | 74 69 6e 75 65 3b 0a 20 20 20 20 20 20 76 61 72 20 73 63 61 6c 65 3b 0a 20 20 20 20 20 20 69 66 | tinue;.......var.scale;.......if |
1d0980 | 20 28 6a 20 3d 3d 20 2d 32 20 7c 7c 20 6a 20 3d 3d 20 32 29 20 73 63 61 6c 65 20 3d 20 30 2e 33 | .(j.==.-2.||.j.==.2).scale.=.0.3 |
1d09a0 | 33 3b 0a 20 20 20 20 20 20 65 6c 73 65 20 69 66 20 28 6a 20 3d 3d 20 2d 31 20 7c 7c 20 6a 20 3d | 3;.......else.if.(j.==.-1.||.j.= |
1d09c0 | 3d 20 31 29 20 73 63 61 6c 65 20 3d 20 30 2e 36 36 3b 0a 20 20 20 20 20 20 65 6c 73 65 20 73 63 | =.1).scale.=.0.66;.......else.sc |
1d09e0 | 61 6c 65 20 3d 20 31 2e 30 3b 0a 20 20 20 20 20 20 61 63 63 20 2b 3d 20 63 6f 75 6e 74 73 5b 69 | ale.=.1.0;.......acc.+=.counts[i |
1d0a00 | 2b 6a 5d 20 2a 20 73 63 61 6c 65 3b 0a 20 20 20 20 20 20 74 74 6c 20 2b 3d 20 73 63 61 6c 65 3b | +j].*.scale;.......ttl.+=.scale; |
1d0a20 | 0a 20 20 20 20 7d 0a 20 20 20 20 63 6f 75 6e 74 73 32 5b 69 5d 20 3d 20 4d 61 74 68 2e 72 6f 75 | .....}.....counts2[i].=.Math.rou |
1d0a40 | 6e 64 28 61 63 63 29 3b 0a 20 20 7d 0a 0a 20 20 2f 2f 20 66 69 6c 6c 20 69 6e 20 74 68 65 20 64 | nd(acc);...}....//.fill.in.the.d |
1d0a60 | 61 79 20 62 61 72 67 72 61 70 68 73 0a 20 20 76 61 72 20 64 61 79 6c 69 73 74 20 3d 20 64 6f 63 | ay.bargraphs...var.daylist.=.doc |
1d0a80 | 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 64 61 79 6c 69 73 74 22 29 3b | ument.getElementById("daylist"); |
1d0aa0 | 0a 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 63 6f 75 6e 74 73 32 2e 6c | ...for.(var.i.=.0;.i.<.counts2.l |
1d0ac0 | 65 6e 67 74 68 20 2f 20 32 34 3b 20 69 20 2b 2b 29 20 7b 0a 20 20 20 20 76 61 72 20 64 61 79 20 | ength./.24;.i.++).{.....var.day. |
1d0ae0 | 3d 20 64 6f 63 75 6d 65 6e 74 2e 63 72 65 61 74 65 45 6c 65 6d 65 6e 74 28 27 68 62 6f 78 27 29 | =.document.createElement('hbox') |
1d0b00 | 3b 0a 20 20 20 20 64 61 79 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 27 61 6c 69 67 6e 27 2c 20 | ;.....day.setAttribute('align',. |
1d0b20 | 27 63 65 6e 74 65 72 27 29 3b 0a 20 20 20 20 69 66 20 28 69 20 25 20 32 29 0a 20 20 20 20 20 20 | 'center');.....if.(i.%.2)....... |
1d0b40 | 64 61 79 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 27 63 6c 61 73 73 27 2c 20 27 64 61 79 32 27 | day.setAttribute('class',.'day2' |
1d0b60 | 29 3b 0a 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 64 61 79 2e 73 65 74 41 74 74 72 69 62 75 | );.....else.......day.setAttribu |
1d0b80 | 74 65 28 27 63 6c 61 73 73 27 2c 20 27 64 61 79 31 27 29 3b 0a 20 20 20 20 64 61 79 6c 69 73 74 | te('class',.'day1');.....daylist |
1d0ba0 | 2e 61 70 70 65 6e 64 43 68 69 6c 64 28 64 61 79 29 3b 0a 0a 20 20 20 20 76 61 72 20 74 65 78 74 | .appendChild(day);......var.text |
1d0bc0 | 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 63 72 65 61 74 65 54 65 78 74 4e 6f 64 65 28 22 54 6f 64 61 | .=.document.createTextNode("Toda |
1d0be0 | 79 20 2d 20 22 20 2b 20 69 20 29 3b 0a 20 20 20 20 76 61 72 20 64 65 73 63 72 69 70 74 69 6f 6e | y.-.".+.i.);.....var.description |
1d0c00 | 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 63 72 65 61 74 65 45 6c 65 6d 65 6e 74 28 27 64 65 73 63 72 | .=.document.createElement('descr |
1d0c20 | 69 70 74 69 6f 6e 27 29 3b 0a 20 20 20 20 64 65 73 63 72 69 70 74 69 6f 6e 2e 73 65 74 41 74 74 | iption');.....description.setAtt |
1d0c40 | 72 69 62 75 74 65 28 27 66 6c 65 78 27 2c 20 27 31 27 29 3b 0a 20 20 20 20 64 65 73 63 72 69 70 | ribute('flex',.'1');.....descrip |
1d0c60 | 74 69 6f 6e 2e 61 70 70 65 6e 64 43 68 69 6c 64 28 74 65 78 74 29 3b 0a 20 20 20 20 64 61 79 2e | tion.appendChild(text);.....day. |
1d0c80 | 61 70 70 65 6e 64 43 68 69 6c 64 28 64 65 73 63 72 69 70 74 69 6f 6e 29 3b 0a 0a 20 20 20 20 76 | appendChild(description);......v |
1d0ca0 | 61 72 20 62 61 72 73 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 63 72 65 61 74 65 45 6c 65 6d 65 6e 74 | ar.bars.=.document.createElement |
1d0cc0 | 28 27 76 62 6f 78 27 29 3b 0a 20 20 20 20 62 61 72 73 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 | ('vbox');.....bars.setAttribute( |
1d0ce0 | 27 61 6c 69 67 6e 27 2c 20 27 65 6e 64 27 29 3b 0a 20 20 20 20 64 61 79 2e 61 70 70 65 6e 64 43 | 'align',.'end');.....day.appendC |
1d0d00 | 68 69 6c 64 28 62 61 72 73 29 3b 0a 0a 20 20 20 20 66 6f 72 20 28 76 61 72 20 62 20 3d 20 30 3b | hild(bars);......for.(var.b.=.0; |
1d0d20 | 20 62 20 3c 20 32 34 3b 20 20 62 2b 2b 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 62 6f 78 20 3d | .b.<.24;..b++).{.......var.box.= |
1d0d40 | 20 64 6f 63 75 6d 65 6e 74 2e 63 72 65 61 74 65 45 6c 65 6d 65 6e 74 28 27 68 62 6f 78 27 29 3b | .document.createElement('hbox'); |
1d0d60 | 0a 20 20 20 20 20 20 62 6f 78 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 27 77 69 64 74 68 27 2c | .......box.setAttribute('width', |
1d0d80 | 20 27 27 20 2b 20 63 6f 75 6e 74 73 32 5b 69 2a 32 34 20 2b 20 62 5d 29 3b 0a 20 20 20 20 20 20 | .''.+.counts2[i*24.+.b]);....... |
1d0da0 | 62 6f 78 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 27 68 65 69 67 68 74 27 2c 20 27 31 27 29 3b | box.setAttribute('height',.'1'); |
1d0dc0 | 0a 20 20 20 20 20 20 62 6f 78 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 27 63 6c 61 73 73 27 2c | .......box.setAttribute('class', |
1d0de0 | 20 27 67 72 65 65 6e 27 29 3b 0a 20 20 20 20 20 20 62 61 72 73 2e 61 70 70 65 6e 64 43 68 69 6c | .'green');.......bars.appendChil |
1d0e00 | 64 28 62 6f 78 29 3b 0a 20 20 20 20 7d 0a 20 20 7d 0a 7d 0a 50 4b 03 04 14 00 00 00 00 00 f6 4b | d(box);.....}...}.}.PK.........K |
1d0e20 | 18 3b 11 cb 01 19 97 0f 00 00 97 0f 00 00 29 00 00 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 | .;............)...content/browse |
1d0e40 | 72 2f 68 69 73 74 6f 72 79 2f 68 69 73 74 6f 72 79 2d 70 61 6e 65 6c 2e 78 75 6c 3c 3f 78 6d 6c | r/history/history-panel.xul<?xml |
1d0e60 | 20 76 65 72 73 69 6f 6e 3d 22 31 2e 30 22 3f 3e 20 3c 21 2d 2d 20 2d 2a 2d 20 4d 6f 64 65 3a 20 | .version="1.0"?>.<!--.-*-.Mode:. |
1d0e80 | 78 6d 6c 3b 20 69 6e 64 65 6e 74 2d 74 61 62 73 2d 6d 6f 64 65 3a 20 6e 69 6c 3b 20 2d 2a 2d 20 | xml;.indent-tabs-mode:.nil;.-*-. |
1d0ea0 | 2d 2d 3e 0a 0a 0a 3c 3f 78 6d 6c 2d 73 74 79 6c 65 73 68 65 65 74 20 68 72 65 66 3d 22 63 68 72 | -->...<?xml-stylesheet.href="chr |
1d0ec0 | 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 70 6c 61 63 65 73 2f 70 6c 61 | ome://browser/content/places/pla |
1d0ee0 | 63 65 73 2e 63 73 73 22 3f 3e 0a 3c 3f 78 6d 6c 2d 73 74 79 6c 65 73 68 65 65 74 20 68 72 65 66 | ces.css"?>.<?xml-stylesheet.href |
1d0f00 | 3d 22 63 68 72 6f 6d 65 3a 2f 2f 67 6c 6f 62 61 6c 2f 73 6b 69 6e 2f 22 20 74 79 70 65 3d 22 74 | ="chrome://global/skin/".type="t |
1d0f20 | 65 78 74 2f 63 73 73 22 3f 3e 0a 3c 3f 78 6d 6c 2d 73 74 79 6c 65 73 68 65 65 74 20 68 72 65 66 | ext/css"?>.<?xml-stylesheet.href |
1d0f40 | 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 73 6b 69 6e 2f 70 6c 61 63 65 73 2f 70 | ="chrome://browser/skin/places/p |
1d0f60 | 6c 61 63 65 73 2e 63 73 73 22 3f 3e 0a 0a 3c 3f 78 75 6c 2d 6f 76 65 72 6c 61 79 20 68 72 65 66 | laces.css"?>..<?xul-overlay.href |
1d0f80 | 3d 22 63 68 72 6f 6d 65 3a 2f 2f 67 6c 6f 62 61 6c 2f 63 6f 6e 74 65 6e 74 2f 65 64 69 74 4d 65 | ="chrome://global/content/editMe |
1d0fa0 | 6e 75 4f 76 65 72 6c 61 79 2e 78 75 6c 22 3f 3e 0a 3c 3f 78 75 6c 2d 6f 76 65 72 6c 61 79 20 68 | nuOverlay.xul"?>.<?xul-overlay.h |
1d0fc0 | 72 65 66 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 70 6c | ref="chrome://browser/content/pl |
1d0fe0 | 61 63 65 73 2f 70 6c 61 63 65 73 4f 76 65 72 6c 61 79 2e 78 75 6c 22 3f 3e 0a 0a 3c 21 44 4f 43 | aces/placesOverlay.xul"?>..<!DOC |
1d1000 | 54 59 50 45 20 70 61 67 65 20 5b 0a 3c 21 45 4e 54 49 54 59 20 25 20 68 69 73 74 6f 72 79 44 54 | TYPE.page.[.<!ENTITY.%.historyDT |
1d1020 | 44 20 53 59 53 54 45 4d 20 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 6c 6f 63 61 6c | D.SYSTEM."chrome://browser/local |
1d1040 | 65 2f 68 69 73 74 6f 72 79 2f 68 69 73 74 6f 72 79 2e 64 74 64 22 3e 0a 25 68 69 73 74 6f 72 79 | e/history/history.dtd">.%history |
1d1060 | 44 54 44 3b 0a 3c 21 45 4e 54 49 54 59 20 25 20 70 6c 61 63 65 73 44 54 44 20 53 59 53 54 45 4d | DTD;.<!ENTITY.%.placesDTD.SYSTEM |
1d1080 | 20 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 6c 6f 63 61 6c 65 2f 70 6c 61 63 65 73 | ."chrome://browser/locale/places |
1d10a0 | 2f 70 6c 61 63 65 73 2e 64 74 64 22 3e 0a 25 70 6c 61 63 65 73 44 54 44 3b 0a 5d 3e 0a 0a 3c 21 | /places.dtd">.%placesDTD;.]>..<! |
1d10c0 | 2d 2d 20 77 65 20 6e 65 65 64 20 74 6f 20 6b 65 65 70 20 69 64 3d 22 68 69 73 74 6f 72 79 2d 70 | --.we.need.to.keep.id="history-p |
1d10e0 | 61 6e 65 6c 22 20 66 6f 72 20 75 70 67 72 61 64 65 20 61 6e 64 20 73 77 69 74 63 68 69 6e 67 0a | anel".for.upgrade.and.switching. |
1d1100 | 20 20 20 20 20 62 65 74 77 65 65 6e 20 76 65 72 73 69 6f 6e 73 20 6f 66 20 74 68 65 20 62 72 6f | .....between.versions.of.the.bro |
1d1120 | 77 73 65 72 20 2d 2d 3e 0a 0a 3c 70 61 67 65 20 69 64 3d 22 68 69 73 74 6f 72 79 2d 70 61 6e 65 | wser.-->..<page.id="history-pane |
1d1140 | 6c 22 20 6f 72 69 65 6e 74 3d 22 76 65 72 74 69 63 61 6c 22 0a 20 20 20 20 20 20 78 6d 6c 6e 73 | l".orient="vertical".......xmlns |
1d1160 | 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6b 65 79 6d 61 73 74 | ="http://www.mozilla.org/keymast |
1d1180 | 65 72 2f 67 61 74 65 6b 65 65 70 65 72 2f 74 68 65 72 65 2e 69 73 2e 6f 6e 6c 79 2e 78 75 6c 22 | er/gatekeeper/there.is.only.xul" |
1d11a0 | 0a 20 20 20 20 20 20 6f 6e 6c 6f 61 64 3d 22 48 69 73 74 6f 72 79 53 69 64 65 62 61 72 49 6e 69 | .......onload="HistorySidebarIni |
1d11c0 | 74 28 29 3b 22 0a 20 20 20 20 20 20 6f 6e 75 6e 6c 6f 61 64 3d 22 53 69 64 65 62 61 72 55 74 69 | t();".......onunload="SidebarUti |
1d11e0 | 6c 73 2e 63 6c 65 61 72 55 52 4c 46 72 6f 6d 53 74 61 74 75 73 42 61 72 28 29 3b 22 3e 0a 0a 20 | ls.clearURLFromStatusBar();">... |
1d1200 | 20 3c 73 63 72 69 70 74 20 74 79 70 65 3d 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f 78 2d 6a 61 76 | .<script.type="application/x-jav |
1d1220 | 61 73 63 72 69 70 74 22 20 0a 20 20 20 20 20 20 20 20 20 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a | ascript"............src="chrome: |
1d1240 | 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 62 6f 6f 6b 6d 61 72 6b 73 2f 73 69 64 65 | //browser/content/bookmarks/side |
1d1260 | 62 61 72 55 74 69 6c 73 2e 6a 73 22 2f 3e 0a 20 20 3c 73 63 72 69 70 74 20 74 79 70 65 3d 22 61 | barUtils.js"/>...<script.type="a |
1d1280 | 70 70 6c 69 63 61 74 69 6f 6e 2f 78 2d 6a 61 76 61 73 63 72 69 70 74 22 20 0a 20 20 20 20 20 20 | pplication/x-javascript"........ |
1d12a0 | 20 20 20 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e | ....src="chrome://browser/conten |
1d12c0 | 74 2f 70 6c 61 63 65 73 2f 68 69 73 74 6f 72 79 2d 70 61 6e 65 6c 2e 6a 73 22 2f 3e 0a 0a 20 20 | t/places/history-panel.js"/>.... |
1d12e0 | 3c 63 6f 6d 6d 61 6e 64 73 65 74 20 69 64 3d 22 65 64 69 74 4d 65 6e 75 43 6f 6d 6d 61 6e 64 73 | <commandset.id="editMenuCommands |
1d1300 | 22 2f 3e 0a 20 20 3c 63 6f 6d 6d 61 6e 64 73 65 74 20 69 64 3d 22 70 6c 61 63 65 73 43 6f 6d 6d | "/>...<commandset.id="placesComm |
1d1320 | 61 6e 64 73 22 2f 3e 0a 0a 20 20 3c 6b 65 79 73 65 74 20 69 64 3d 22 65 64 69 74 4d 65 6e 75 4b | ands"/>....<keyset.id="editMenuK |
1d1340 | 65 79 73 22 3e 0a 20 20 3c 2f 6b 65 79 73 65 74 3e 0a 0a 20 20 3c 70 6f 70 75 70 20 69 64 3d 22 | eys">...</keyset>....<popup.id=" |
1d1360 | 70 6c 61 63 65 73 43 6f 6e 74 65 78 74 22 3e 0a 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 | placesContext">.....<menuitem.id |
1d1380 | 3d 22 61 64 64 42 6f 6f 6b 6d 61 72 6b 43 6f 6e 74 65 78 74 49 74 65 6d 22 0a 20 20 20 20 20 20 | ="addBookmarkContextItem"....... |
1d13a0 | 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 62 6f 6f 6b 6d 61 72 6b 4c 69 6e 6b 2e 6c 61 62 | ........label="&bookmarkLink.lab |
1d13c0 | 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 62 | el;"...............accesskey="&b |
1d13e0 | 6f 6f 6b 6d 61 72 6b 4c 69 6e 6b 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 | ookmarkLink.accesskey;"......... |
1d1400 | 20 20 20 20 20 20 73 65 6c 65 63 74 69 6f 6e 3d 22 6c 69 6e 6b 22 0a 20 20 20 20 20 20 20 20 20 | ......selection="link".......... |
1d1420 | 20 20 20 20 20 73 65 6c 65 63 74 69 6f 6e 74 79 70 65 3d 22 73 69 6e 67 6c 65 22 0a 20 20 20 20 | .....selectiontype="single"..... |
1d1440 | 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 68 69 73 74 6f 72 79 41 64 64 42 | ..........oncommand="historyAddB |
1d1460 | 6f 6f 6b 6d 61 72 6b 73 28 29 3b 22 2f 3e 0a 20 20 3c 2f 70 6f 70 75 70 3e 0a 0a 20 20 3c 68 62 | ookmarks();"/>...</popup>....<hb |
1d1480 | 6f 78 20 61 6c 69 67 6e 3d 22 63 65 6e 74 65 72 22 3e 0a 20 20 20 20 3c 6c 61 62 65 6c 20 76 61 | ox.align="center">.....<label.va |
1d14a0 | 6c 75 65 3d 22 26 66 69 6e 64 2e 6c 61 62 65 6c 3b 22 20 61 63 63 65 73 73 6b 65 79 3d 22 26 66 | lue="&find.label;".accesskey="&f |
1d14c0 | 69 6e 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 20 0a 20 20 20 20 20 20 20 20 20 20 20 63 6f 6e 74 | ind.accesskey;".............cont |
1d14e0 | 72 6f 6c 3d 22 73 65 61 72 63 68 2d 62 6f 78 22 2f 3e 0a 20 20 20 20 3c 74 65 78 74 62 6f 78 20 | rol="search-box"/>.....<textbox. |
1d1500 | 69 64 3d 22 73 65 61 72 63 68 2d 62 6f 78 22 20 66 6c 65 78 3d 22 31 22 20 74 79 70 65 3d 22 73 | id="search-box".flex="1".type="s |
1d1520 | 65 61 72 63 68 22 20 63 6c 61 73 73 3d 22 63 6f 6d 70 61 63 74 22 0a 20 20 20 20 20 20 20 20 20 | earch".class="compact".......... |
1d1540 | 20 20 20 20 61 72 69 61 2d 63 6f 6e 74 72 6f 6c 73 3d 22 68 69 73 74 6f 72 79 54 72 65 65 22 0a | ....aria-controls="historyTree". |
1d1560 | 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 73 65 61 72 63 68 48 69 | .............oncommand="searchHi |
1d1580 | 73 74 6f 72 79 28 74 68 69 73 2e 76 61 6c 75 65 29 3b 22 2f 3e 0a 20 20 20 20 3c 62 75 74 74 6f | story(this.value);"/>.....<butto |
1d15a0 | 6e 20 69 64 3d 22 76 69 65 77 42 75 74 74 6f 6e 22 20 73 74 79 6c 65 3d 22 6d 69 6e 2d 77 69 64 | n.id="viewButton".style="min-wid |
1d15c0 | 74 68 3a 30 70 78 20 21 69 6d 70 6f 72 74 61 6e 74 3b 22 20 74 79 70 65 3d 22 6d 65 6e 75 22 0a | th:0px.!important;".type="menu". |
1d15e0 | 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 76 69 65 77 2e 6c 61 62 65 6c 3b 22 | ............label="&view.label;" |
1d1600 | 20 61 63 63 65 73 73 6b 65 79 3d 22 26 76 69 65 77 2e 61 63 63 65 73 73 6b 65 79 3b 22 20 73 65 | .accesskey="&view.accesskey;".se |
1d1620 | 6c 65 63 74 65 64 73 6f 72 74 3d 22 64 61 79 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 70 65 72 | lectedsort="day".............per |
1d1640 | 73 69 73 74 3d 22 73 65 6c 65 63 74 65 64 73 6f 72 74 22 3e 0a 20 20 20 20 20 20 3c 6d 65 6e 75 | sist="selectedsort">.......<menu |
1d1660 | 70 6f 70 75 70 3e 0a 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 62 79 64 | popup>.........<menuitem.id="byd |
1d1680 | 61 79 61 6e 64 73 69 74 65 22 20 6c 61 62 65 6c 3d 22 26 62 79 44 61 79 41 6e 64 53 69 74 65 2e | ayandsite".label="&byDayAndSite. |
1d16a0 | 6c 61 62 65 6c 3b 22 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 | label;"....................acces |
1d16c0 | 73 6b 65 79 3d 22 26 62 79 44 61 79 41 6e 64 53 69 74 65 2e 61 63 63 65 73 73 6b 65 79 3b 22 20 | skey="&byDayAndSite.accesskey;". |
1d16e0 | 74 79 70 65 3d 22 72 61 64 69 6f 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f | type="radio"...................o |
1d1700 | 6e 63 6f 6d 6d 61 6e 64 3d 22 74 68 69 73 2e 70 61 72 65 6e 74 4e 6f 64 65 2e 70 61 72 65 6e 74 | ncommand="this.parentNode.parent |
1d1720 | 4e 6f 64 65 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 27 73 65 6c 65 63 74 65 64 73 6f 72 74 27 | Node.setAttribute('selectedsort' |
1d1740 | 2c 20 27 64 61 79 61 6e 64 73 69 74 65 27 29 3b 20 47 72 6f 75 70 42 79 28 27 64 61 79 61 6e 64 | ,.'dayandsite');.GroupBy('dayand |
1d1760 | 73 69 74 65 27 29 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d | site');"/>.........<menuitem.id= |
1d1780 | 22 62 79 73 69 74 65 22 20 6c 61 62 65 6c 3d 22 26 62 79 53 69 74 65 2e 6c 61 62 65 6c 3b 22 20 | "bysite".label="&bySite.label;". |
1d17a0 | 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 | ....................accesskey="& |
1d17c0 | 62 79 53 69 74 65 2e 61 63 63 65 73 73 6b 65 79 3b 22 20 74 79 70 65 3d 22 72 61 64 69 6f 22 0a | bySite.accesskey;".type="radio". |
1d17e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 74 68 69 | ..................oncommand="thi |
1d1800 | 73 2e 70 61 72 65 6e 74 4e 6f 64 65 2e 70 61 72 65 6e 74 4e 6f 64 65 2e 73 65 74 41 74 74 72 69 | s.parentNode.parentNode.setAttri |
1d1820 | 62 75 74 65 28 27 73 65 6c 65 63 74 65 64 73 6f 72 74 27 2c 20 27 73 69 74 65 27 29 3b 20 47 72 | bute('selectedsort',.'site');.Gr |
1d1840 | 6f 75 70 42 79 28 27 73 69 74 65 27 29 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 | oupBy('site');"/>.........<menui |
1d1860 | 74 65 6d 20 69 64 3d 22 62 79 64 61 79 22 20 6c 61 62 65 6c 3d 22 26 62 79 44 61 74 65 2e 6c 61 | tem.id="byday".label="&byDate.la |
1d1880 | 62 65 6c 3b 22 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b | bel;"....................accessk |
1d18a0 | 65 79 3d 22 26 62 79 44 61 74 65 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 | ey="&byDate.accesskey;"......... |
1d18c0 | 20 20 20 20 20 20 20 20 20 20 74 79 70 65 3d 22 72 61 64 69 6f 22 0a 20 20 20 20 20 20 20 20 20 | ..........type="radio".......... |
1d18e0 | 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 74 68 69 73 2e 70 61 72 65 6e 74 4e | .........oncommand="this.parentN |
1d1900 | 6f 64 65 2e 70 61 72 65 6e 74 4e 6f 64 65 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 27 73 65 6c | ode.parentNode.setAttribute('sel |
1d1920 | 65 63 74 65 64 73 6f 72 74 27 2c 20 27 64 61 79 27 29 3b 20 47 72 6f 75 70 42 79 28 27 64 61 79 | ectedsort',.'day');.GroupBy('day |
1d1940 | 27 29 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 62 79 76 | ');"/>.........<menuitem.id="byv |
1d1960 | 69 73 69 74 65 64 22 20 6c 61 62 65 6c 3d 22 26 62 79 4d 6f 73 74 56 69 73 69 74 65 64 2e 6c 61 | isited".label="&byMostVisited.la |
1d1980 | 62 65 6c 3b 22 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b | bel;"....................accessk |
1d19a0 | 65 79 3d 22 26 62 79 4d 6f 73 74 56 69 73 69 74 65 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 | ey="&byMostVisited.accesskey;".. |
1d19c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 79 70 65 3d 22 72 61 64 69 6f 22 0a 20 20 | .................type="radio"... |
1d19e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 74 68 69 73 2e | ................oncommand="this. |
1d1a00 | 70 61 72 65 6e 74 4e 6f 64 65 2e 70 61 72 65 6e 74 4e 6f 64 65 2e 73 65 74 41 74 74 72 69 62 75 | parentNode.parentNode.setAttribu |
1d1a20 | 74 65 28 27 73 65 6c 65 63 74 65 64 73 6f 72 74 27 2c 20 27 76 69 73 69 74 65 64 27 29 3b 20 47 | te('selectedsort',.'visited');.G |
1d1a40 | 72 6f 75 70 42 79 28 27 76 69 73 69 74 65 64 27 29 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 6d | roupBy('visited');"/>.........<m |
1d1a60 | 65 6e 75 69 74 65 6d 20 69 64 3d 22 62 79 6c 61 73 74 76 69 73 69 74 65 64 22 20 6c 61 62 65 6c | enuitem.id="bylastvisited".label |
1d1a80 | 3d 22 26 62 79 4c 61 73 74 56 69 73 69 74 65 64 2e 6c 61 62 65 6c 3b 22 20 0a 20 20 20 20 20 20 | ="&byLastVisited.label;"........ |
1d1aa0 | 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 62 79 4c 61 73 74 56 69 | ............accesskey="&byLastVi |
1d1ac0 | 73 69 74 65 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | sited.accesskey;"............... |
1d1ae0 | 20 20 20 20 74 79 70 65 3d 22 72 61 64 69 6f 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ....type="radio"................ |
1d1b00 | 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 74 68 69 73 2e 70 61 72 65 6e 74 4e 6f 64 65 2e 70 61 | ...oncommand="this.parentNode.pa |
1d1b20 | 72 65 6e 74 4e 6f 64 65 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 27 73 65 6c 65 63 74 65 64 73 | rentNode.setAttribute('selecteds |
1d1b40 | 6f 72 74 27 2c 20 27 6c 61 73 74 76 69 73 69 74 65 64 27 29 3b 20 47 72 6f 75 70 42 79 28 27 6c | ort',.'lastvisited');.GroupBy('l |
1d1b60 | 61 73 74 76 69 73 69 74 65 64 27 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 2f 6d 65 6e 75 70 6f 70 | astvisited');"/>.......</menupop |
1d1b80 | 75 70 3e 0a 20 20 20 20 3c 2f 62 75 74 74 6f 6e 3e 0a 20 20 3c 2f 68 62 6f 78 3e 0a 0a 20 20 3c | up>.....</button>...</hbox>....< |
1d1ba0 | 74 72 65 65 20 69 64 3d 22 68 69 73 74 6f 72 79 54 72 65 65 22 0a 20 20 20 20 20 20 20 20 63 6c | tree.id="historyTree".........cl |
1d1bc0 | 61 73 73 3d 22 73 69 64 65 62 61 72 2d 70 6c 61 63 65 73 54 72 65 65 22 0a 20 20 20 20 20 20 20 | ass="sidebar-placesTree"........ |
1d1be0 | 20 66 6c 65 78 3d 22 31 22 0a 20 20 20 20 20 20 20 20 74 79 70 65 3d 22 70 6c 61 63 65 73 22 0a | .flex="1".........type="places". |
1d1c00 | 20 20 20 20 20 20 20 20 63 6f 6e 74 65 78 74 3d 22 70 6c 61 63 65 73 43 6f 6e 74 65 78 74 22 0a | ........context="placesContext". |
1d1c20 | 20 20 20 20 20 20 20 20 68 69 64 65 63 6f 6c 75 6d 6e 70 69 63 6b 65 72 3d 22 74 72 75 65 22 0a | ........hidecolumnpicker="true". |
1d1c40 | 20 20 20 20 20 20 20 20 6f 6e 6b 65 79 70 72 65 73 73 3d 22 53 69 64 65 62 61 72 55 74 69 6c 73 | ........onkeypress="SidebarUtils |
1d1c60 | 2e 68 61 6e 64 6c 65 54 72 65 65 4b 65 79 50 72 65 73 73 28 65 76 65 6e 74 29 3b 22 0a 20 20 20 | .handleTreeKeyPress(event);".... |
1d1c80 | 20 20 20 20 20 6f 6e 63 6c 69 63 6b 3d 22 53 69 64 65 62 61 72 55 74 69 6c 73 2e 68 61 6e 64 6c | .....onclick="SidebarUtils.handl |
1d1ca0 | 65 54 72 65 65 43 6c 69 63 6b 28 74 68 69 73 2c 20 65 76 65 6e 74 2c 20 74 72 75 65 29 3b 22 0a | eTreeClick(this,.event,.true);". |
1d1cc0 | 20 20 20 20 20 20 20 20 6f 6e 6d 6f 75 73 65 6d 6f 76 65 3d 22 53 69 64 65 62 61 72 55 74 69 6c | ........onmousemove="SidebarUtil |
1d1ce0 | 73 2e 68 61 6e 64 6c 65 54 72 65 65 4d 6f 75 73 65 4d 6f 76 65 28 65 76 65 6e 74 29 3b 22 0a 20 | s.handleTreeMouseMove(event);".. |
1d1d00 | 20 20 20 20 20 20 20 6f 6e 6d 6f 75 73 65 6f 75 74 3d 22 53 69 64 65 62 61 72 55 74 69 6c 73 2e | .......onmouseout="SidebarUtils. |
1d1d20 | 63 6c 65 61 72 55 52 4c 46 72 6f 6d 53 74 61 74 75 73 42 61 72 28 29 3b 22 3e 0a 20 20 20 20 3c | clearURLFromStatusBar();">.....< |
1d1d40 | 74 72 65 65 63 6f 6c 73 3e 0a 20 20 20 20 20 20 3c 74 72 65 65 63 6f 6c 20 69 64 3d 22 74 69 74 | treecols>.......<treecol.id="tit |
1d1d60 | 6c 65 22 20 66 6c 65 78 3d 22 31 22 20 70 72 69 6d 61 72 79 3d 22 74 72 75 65 22 20 68 69 64 65 | le".flex="1".primary="true".hide |
1d1d80 | 68 65 61 64 65 72 3d 22 74 72 75 65 22 2f 3e 0a 20 20 20 20 3c 2f 74 72 65 65 63 6f 6c 73 3e 0a | header="true"/>.....</treecols>. |
1d1da0 | 20 20 20 20 3c 74 72 65 65 63 68 69 6c 64 72 65 6e 20 63 6c 61 73 73 3d 22 73 69 64 65 62 61 72 | ....<treechildren.class="sidebar |
1d1dc0 | 2d 70 6c 61 63 65 73 54 72 65 65 63 68 69 6c 64 72 65 6e 22 20 66 6c 65 78 3d 22 31 22 2f 3e 0a | -placesTreechildren".flex="1"/>. |
1d1de0 | 20 20 3c 2f 74 72 65 65 3e 0a 3c 2f 70 61 67 65 3e 0a 50 4b 03 04 14 00 00 00 00 00 f6 4b 18 3b | ..</tree>.</page>.PK.........K.; |
1d1e00 | 3d 07 1b fa c8 0c 00 00 c8 0c 00 00 27 00 00 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f | =...........'...content/browser/ |
1d1e20 | 70 6c 61 63 65 73 2f 68 69 73 74 6f 72 79 2d 70 61 6e 65 6c 2e 6a 73 2f 2f 40 6c 69 6e 65 20 34 | places/history-panel.js//@line.4 |
1d1e40 | 30 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c | 0."/builds/moz2_slave/linux_buil |
1d1e60 | 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 63 6f 6d 70 6f 6e 65 6e 74 73 2f 70 6c 61 63 65 | d/build/browser/components/place |
1d1e80 | 73 2f 63 6f 6e 74 65 6e 74 2f 68 69 73 74 6f 72 79 2d 70 61 6e 65 6c 2e 6a 73 22 0a 0a 76 61 72 | s/content/history-panel.js"..var |
1d1ea0 | 20 67 48 69 73 74 6f 72 79 54 72 65 65 3b 0a 76 61 72 20 67 53 65 61 72 63 68 42 6f 78 3b 0a 76 | .gHistoryTree;.var.gSearchBox;.v |
1d1ec0 | 61 72 20 67 48 69 73 74 6f 72 79 47 72 6f 75 70 69 6e 67 20 3d 20 22 22 3b 0a 76 61 72 20 67 53 | ar.gHistoryGrouping.=."";.var.gS |
1d1ee0 | 65 61 72 63 68 69 6e 67 20 3d 20 66 61 6c 73 65 3b 0a 0a 66 75 6e 63 74 69 6f 6e 20 48 69 73 74 | earching.=.false;..function.Hist |
1d1f00 | 6f 72 79 53 69 64 65 62 61 72 49 6e 69 74 28 29 0a 7b 0a 20 20 67 48 69 73 74 6f 72 79 54 72 65 | orySidebarInit().{...gHistoryTre |
1d1f20 | 65 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 68 69 73 | e.=.document.getElementById("his |
1d1f40 | 74 6f 72 79 54 72 65 65 22 29 3b 0a 20 20 67 53 65 61 72 63 68 42 6f 78 20 3d 20 64 6f 63 75 6d | toryTree");...gSearchBox.=.docum |
1d1f60 | 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 73 65 61 72 63 68 2d 62 6f 78 22 29 | ent.getElementById("search-box") |
1d1f80 | 3b 0a 0a 20 20 67 48 69 73 74 6f 72 79 47 72 6f 75 70 69 6e 67 20 3d 20 64 6f 63 75 6d 65 6e 74 | ;....gHistoryGrouping.=.document |
1d1fa0 | 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 76 69 65 77 42 75 74 74 6f 6e 22 29 2e 0a 20 | .getElementById("viewButton")... |
1d1fc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 | .............................get |
1d1fe0 | 41 74 74 72 69 62 75 74 65 28 22 73 65 6c 65 63 74 65 64 73 6f 72 74 22 29 3b 0a 0a 20 20 69 66 | Attribute("selectedsort");....if |
1d2000 | 20 28 67 48 69 73 74 6f 72 79 47 72 6f 75 70 69 6e 67 20 3d 3d 20 22 73 69 74 65 22 29 0a 20 20 | .(gHistoryGrouping.==."site")... |
1d2020 | 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 62 79 73 69 74 | ..document.getElementById("bysit |
1d2040 | 65 22 29 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 63 68 65 63 6b 65 64 22 2c 20 22 74 72 75 | e").setAttribute("checked",."tru |
1d2060 | 65 22 29 3b 0a 20 20 65 6c 73 65 20 69 66 20 28 67 48 69 73 74 6f 72 79 47 72 6f 75 70 69 6e 67 | e");...else.if.(gHistoryGrouping |
1d2080 | 20 3d 3d 20 22 76 69 73 69 74 65 64 22 29 20 0a 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 | .==."visited")......document.get |
1d20a0 | 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 62 79 76 69 73 69 74 65 64 22 29 2e 73 65 74 41 74 74 72 | ElementById("byvisited").setAttr |
1d20c0 | 69 62 75 74 65 28 22 63 68 65 63 6b 65 64 22 2c 20 22 74 72 75 65 22 29 3b 0a 20 20 65 6c 73 65 | ibute("checked",."true");...else |
1d20e0 | 20 69 66 20 28 67 48 69 73 74 6f 72 79 47 72 6f 75 70 69 6e 67 20 3d 3d 20 22 6c 61 73 74 76 69 | .if.(gHistoryGrouping.==."lastvi |
1d2100 | 73 69 74 65 64 22 29 0a 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 | sited").....document.getElementB |
1d2120 | 79 49 64 28 22 62 79 6c 61 73 74 76 69 73 69 74 65 64 22 29 2e 73 65 74 41 74 74 72 69 62 75 74 | yId("bylastvisited").setAttribut |
1d2140 | 65 28 22 63 68 65 63 6b 65 64 22 2c 20 22 74 72 75 65 22 29 3b 0a 20 20 65 6c 73 65 20 69 66 20 | e("checked",."true");...else.if. |
1d2160 | 28 67 48 69 73 74 6f 72 79 47 72 6f 75 70 69 6e 67 20 3d 3d 20 22 64 61 79 61 6e 64 73 69 74 65 | (gHistoryGrouping.==."dayandsite |
1d2180 | 22 29 0a 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 | ").....document.getElementById(" |
1d21a0 | 62 79 64 61 79 61 6e 64 73 69 74 65 22 29 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 63 68 65 | bydayandsite").setAttribute("che |
1d21c0 | 63 6b 65 64 22 2c 20 22 74 72 75 65 22 29 3b 0a 20 20 65 6c 73 65 0a 20 20 20 20 64 6f 63 75 6d | cked",."true");...else.....docum |
1d21e0 | 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 62 79 64 61 79 22 29 2e 73 65 74 41 | ent.getElementById("byday").setA |
1d2200 | 74 74 72 69 62 75 74 65 28 22 63 68 65 63 6b 65 64 22 2c 20 22 74 72 75 65 22 29 3b 0a 0a 20 20 | ttribute("checked",."true");.... |
1d2220 | 69 6e 69 74 43 6f 6e 74 65 78 74 4d 65 6e 75 28 29 3b 0a 20 20 0a 20 20 73 65 61 72 63 68 48 69 | initContextMenu();......searchHi |
1d2240 | 73 74 6f 72 79 28 22 22 29 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 69 6e 69 74 43 6f 6e 74 65 | story("");.}..function.initConte |
1d2260 | 78 74 4d 65 6e 75 28 29 20 7b 0a 20 20 2f 2f 20 49 6e 73 65 72 74 20 22 42 6f 6f 6b 6d 61 72 6b | xtMenu().{...//.Insert."Bookmark |
1d2280 | 20 54 68 69 73 20 4c 69 6e 6b 22 20 72 69 67 68 74 20 62 65 66 6f 72 65 20 74 68 65 20 63 6f 70 | .This.Link".right.before.the.cop |
1d22a0 | 79 20 69 74 65 6d 0a 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 | y.item...document.getElementById |
1d22c0 | 28 22 70 6c 61 63 65 73 43 6f 6e 74 65 78 74 22 29 0a 20 20 20 20 20 20 20 20 20 20 2e 69 6e 73 | ("placesContext")............ins |
1d22e0 | 65 72 74 42 65 66 6f 72 65 28 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 | ertBefore(document.getElementByI |
1d2300 | 64 28 22 61 64 64 42 6f 6f 6b 6d 61 72 6b 43 6f 6e 74 65 78 74 49 74 65 6d 22 29 2c 0a 20 20 20 | d("addBookmarkContextItem"),.... |
1d2320 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 | .....................document.ge |
1d2340 | 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 70 6c 61 63 65 73 43 6f 6e 74 65 78 74 5f 63 6f 70 79 | tElementById("placesContext_copy |
1d2360 | 22 29 29 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 47 72 6f 75 70 42 79 28 67 72 6f 75 70 69 6e | "));.}..function.GroupBy(groupin |
1d2380 | 67 54 79 70 65 29 0a 7b 0a 20 20 67 48 69 73 74 6f 72 79 47 72 6f 75 70 69 6e 67 20 3d 20 67 72 | gType).{...gHistoryGrouping.=.gr |
1d23a0 | 6f 75 70 69 6e 67 54 79 70 65 3b 0a 20 20 73 65 61 72 63 68 48 69 73 74 6f 72 79 28 67 53 65 61 | oupingType;...searchHistory(gSea |
1d23c0 | 72 63 68 42 6f 78 2e 76 61 6c 75 65 29 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 68 69 73 74 6f | rchBox.value);.}..function.histo |
1d23e0 | 72 79 41 64 64 42 6f 6f 6b 6d 61 72 6b 73 28 29 0a 7b 20 0a 20 20 2f 2f 20 6e 6f 20 6e 65 65 64 | ryAddBookmarks().{....//.no.need |
1d2400 | 20 74 6f 20 63 68 65 63 6b 20 67 48 69 73 74 6f 72 79 54 72 65 65 2e 76 69 65 77 2e 73 65 6c 65 | .to.check.gHistoryTree.view.sele |
1d2420 | 63 74 69 6f 6e 2e 63 6f 75 6e 74 0a 20 20 2f 2f 20 6e 6f 64 65 20 77 69 6c 6c 20 62 65 20 6e 75 | ction.count...//.node.will.be.nu |
1d2440 | 6c 6c 20 69 66 20 74 68 65 72 65 20 69 73 20 61 20 6d 75 6c 74 69 70 6c 65 20 73 65 6c 65 63 74 | ll.if.there.is.a.multiple.select |
1d2460 | 69 6f 6e 20 0a 20 20 2f 2f 20 6f 72 20 69 66 20 74 68 65 20 73 65 6c 65 63 74 65 64 20 69 74 65 | ion....//.or.if.the.selected.ite |
1d2480 | 6d 20 69 73 20 6e 6f 74 20 61 20 55 52 49 20 6e 6f 64 65 0a 20 20 76 61 72 20 6e 6f 64 65 20 3d | m.is.not.a.URI.node...var.node.= |
1d24a0 | 20 67 48 69 73 74 6f 72 79 54 72 65 65 2e 73 65 6c 65 63 74 65 64 4e 6f 64 65 3b 0a 20 20 69 66 | .gHistoryTree.selectedNode;...if |
1d24c0 | 20 28 6e 6f 64 65 20 26 26 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 55 52 49 28 | .(node.&&.PlacesUtils.nodeIsURI( |
1d24e0 | 6e 6f 64 65 29 29 0a 20 20 20 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 73 68 6f 77 4d 69 6e | node)).....PlacesUIUtils.showMin |
1d2500 | 69 6d 61 6c 41 64 64 42 6f 6f 6b 6d 61 72 6b 55 49 28 50 6c 61 63 65 73 55 74 69 6c 73 2e 5f 75 | imalAddBookmarkUI(PlacesUtils._u |
1d2520 | 72 69 28 6e 6f 64 65 2e 75 72 69 29 2c 20 6e 6f 64 65 2e 74 69 74 6c 65 29 3b 0a 7d 0a 0a 66 75 | ri(node.uri),.node.title);.}..fu |
1d2540 | 6e 63 74 69 6f 6e 20 73 65 61 72 63 68 48 69 73 74 6f 72 79 28 61 49 6e 70 75 74 29 0a 7b 0a 20 | nction.searchHistory(aInput).{.. |
1d2560 | 20 76 61 72 20 71 75 65 72 79 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 68 69 73 74 6f 72 79 | .var.query.=.PlacesUtils.history |
1d2580 | 2e 67 65 74 4e 65 77 51 75 65 72 79 28 29 3b 0a 20 20 76 61 72 20 6f 70 74 69 6f 6e 73 20 3d 20 | .getNewQuery();...var.options.=. |
1d25a0 | 50 6c 61 63 65 73 55 74 69 6c 73 2e 68 69 73 74 6f 72 79 2e 67 65 74 4e 65 77 51 75 65 72 79 4f | PlacesUtils.history.getNewQueryO |
1d25c0 | 70 74 69 6f 6e 73 28 29 3b 0a 0a 20 20 63 6f 6e 73 74 20 4e 48 51 4f 20 3d 20 43 69 2e 6e 73 49 | ptions();....const.NHQO.=.Ci.nsI |
1d25e0 | 4e 61 76 48 69 73 74 6f 72 79 51 75 65 72 79 4f 70 74 69 6f 6e 73 3b 0a 20 20 76 61 72 20 73 6f | NavHistoryQueryOptions;...var.so |
1d2600 | 72 74 69 6e 67 4d 6f 64 65 3b 0a 20 20 76 61 72 20 72 65 73 75 6c 74 54 79 70 65 3b 0a 0a 20 20 | rtingMode;...var.resultType;.... |
1d2620 | 73 77 69 74 63 68 20 28 67 48 69 73 74 6f 72 79 47 72 6f 75 70 69 6e 67 29 20 7b 0a 20 20 20 20 | switch.(gHistoryGrouping).{..... |
1d2640 | 63 61 73 65 20 22 76 69 73 69 74 65 64 22 3a 0a 20 20 20 20 20 20 72 65 73 75 6c 74 54 79 70 65 | case."visited":.......resultType |
1d2660 | 20 3d 20 4e 48 51 4f 2e 52 45 53 55 4c 54 53 5f 41 53 5f 55 52 49 3b 0a 20 20 20 20 20 20 73 6f | .=.NHQO.RESULTS_AS_URI;.......so |
1d2680 | 72 74 69 6e 67 4d 6f 64 65 20 3d 20 4e 48 51 4f 2e 53 4f 52 54 5f 42 59 5f 56 49 53 49 54 43 4f | rtingMode.=.NHQO.SORT_BY_VISITCO |
1d26a0 | 55 4e 54 5f 44 45 53 43 45 4e 44 49 4e 47 3b 0a 20 20 20 20 20 20 62 72 65 61 6b 3b 20 0a 20 20 | UNT_DESCENDING;.......break;.... |
1d26c0 | 20 20 63 61 73 65 20 22 6c 61 73 74 76 69 73 69 74 65 64 22 3a 0a 20 20 20 20 20 20 72 65 73 75 | ..case."lastvisited":.......resu |
1d26e0 | 6c 74 54 79 70 65 20 3d 20 4e 48 51 4f 2e 52 45 53 55 4c 54 53 5f 41 53 5f 55 52 49 3b 0a 20 20 | ltType.=.NHQO.RESULTS_AS_URI;... |
1d2700 | 20 20 20 20 73 6f 72 74 69 6e 67 4d 6f 64 65 20 3d 20 4e 48 51 4f 2e 53 4f 52 54 5f 42 59 5f 44 | ....sortingMode.=.NHQO.SORT_BY_D |
1d2720 | 41 54 45 5f 44 45 53 43 45 4e 44 49 4e 47 3b 0a 20 20 20 20 20 20 62 72 65 61 6b 3b 20 0a 20 20 | ATE_DESCENDING;.......break;.... |
1d2740 | 20 20 63 61 73 65 20 22 64 61 79 61 6e 64 73 69 74 65 22 3a 0a 20 20 20 20 20 20 72 65 73 75 6c | ..case."dayandsite":.......resul |
1d2760 | 74 54 79 70 65 20 3d 20 4e 48 51 4f 2e 52 45 53 55 4c 54 53 5f 41 53 5f 44 41 54 45 5f 53 49 54 | tType.=.NHQO.RESULTS_AS_DATE_SIT |
1d2780 | 45 5f 51 55 45 52 59 3b 0a 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 63 61 73 65 20 22 | E_QUERY;.......break;.....case." |
1d27a0 | 73 69 74 65 22 3a 0a 20 20 20 20 20 20 72 65 73 75 6c 74 54 79 70 65 20 3d 20 4e 48 51 4f 2e 52 | site":.......resultType.=.NHQO.R |
1d27c0 | 45 53 55 4c 54 53 5f 41 53 5f 53 49 54 45 5f 51 55 45 52 59 3b 0a 20 20 20 20 20 20 73 6f 72 74 | ESULTS_AS_SITE_QUERY;.......sort |
1d27e0 | 69 6e 67 4d 6f 64 65 20 3d 20 4e 48 51 4f 2e 53 4f 52 54 5f 42 59 5f 54 49 54 4c 45 5f 41 53 43 | ingMode.=.NHQO.SORT_BY_TITLE_ASC |
1d2800 | 45 4e 44 49 4e 47 3b 0a 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 63 61 73 65 20 22 64 | ENDING;.......break;.....case."d |
1d2820 | 61 79 22 3a 0a 20 20 20 20 64 65 66 61 75 6c 74 3a 0a 20 20 20 20 20 20 72 65 73 75 6c 74 54 79 | ay":.....default:.......resultTy |
1d2840 | 70 65 20 3d 20 4e 48 51 4f 2e 52 45 53 55 4c 54 53 5f 41 53 5f 44 41 54 45 5f 51 55 45 52 59 3b | pe.=.NHQO.RESULTS_AS_DATE_QUERY; |
1d2860 | 0a 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 7d 0a 0a 20 20 69 66 20 28 61 49 6e 70 75 74 29 | .......break;...}....if.(aInput) |
1d2880 | 20 7b 0a 20 20 20 20 71 75 65 72 79 2e 73 65 61 72 63 68 54 65 72 6d 73 20 3d 20 61 49 6e 70 75 | .{.....query.searchTerms.=.aInpu |
1d28a0 | 74 3b 0a 20 20 20 20 69 66 20 28 67 48 69 73 74 6f 72 79 47 72 6f 75 70 69 6e 67 20 21 3d 20 22 | t;.....if.(gHistoryGrouping.!=." |
1d28c0 | 76 69 73 69 74 65 64 22 20 26 26 20 67 48 69 73 74 6f 72 79 47 72 6f 75 70 69 6e 67 20 21 3d 20 | visited".&&.gHistoryGrouping.!=. |
1d28e0 | 22 6c 61 73 74 76 69 73 69 74 65 64 22 29 20 7b 0a 20 20 20 20 20 20 73 6f 72 74 69 6e 67 4d 6f | "lastvisited").{.......sortingMo |
1d2900 | 64 65 20 3d 20 4e 48 51 4f 2e 53 4f 52 54 5f 42 59 5f 54 49 54 4c 45 5f 41 53 43 45 4e 44 49 4e | de.=.NHQO.SORT_BY_TITLE_ASCENDIN |
1d2920 | 47 3b 0a 20 20 20 20 20 20 72 65 73 75 6c 74 54 79 70 65 20 3d 20 4e 48 51 4f 2e 52 45 53 55 4c | G;.......resultType.=.NHQO.RESUL |
1d2940 | 54 53 5f 41 53 5f 55 52 49 3b 0a 20 20 20 20 7d 0a 20 20 7d 0a 0a 20 20 6f 70 74 69 6f 6e 73 2e | TS_AS_URI;.....}...}....options. |
1d2960 | 73 6f 72 74 69 6e 67 4d 6f 64 65 20 3d 20 73 6f 72 74 69 6e 67 4d 6f 64 65 3b 0a 20 20 6f 70 74 | sortingMode.=.sortingMode;...opt |
1d2980 | 69 6f 6e 73 2e 72 65 73 75 6c 74 54 79 70 65 20 3d 20 72 65 73 75 6c 74 54 79 70 65 3b 0a 0a 20 | ions.resultType.=.resultType;... |
1d29a0 | 20 2f 2f 20 63 61 6c 6c 20 6c 6f 61 64 28 29 20 6f 6e 20 74 68 65 20 74 72 65 65 20 6d 61 6e 75 | .//.call.load().on.the.tree.manu |
1d29c0 | 61 6c 6c 79 0a 20 20 2f 2f 20 69 6e 73 74 65 61 64 20 6f 66 20 73 65 74 74 69 6e 67 20 74 68 65 | ally...//.instead.of.setting.the |
1d29e0 | 20 70 6c 61 63 65 20 61 74 74 72 69 62 75 74 65 20 69 6e 20 68 69 73 74 6f 72 79 2d 70 61 6e 65 | .place.attribute.in.history-pane |
1d2a00 | 6c 2e 78 75 6c 0a 20 20 2f 2f 20 6f 74 68 65 72 77 69 73 65 2c 20 77 65 20 77 69 6c 6c 20 65 6e | l.xul...//.otherwise,.we.will.en |
1d2a20 | 64 20 75 70 20 63 61 6c 6c 69 6e 67 20 6c 6f 61 64 28 29 20 74 77 69 63 65 0a 20 20 67 48 69 73 | d.up.calling.load().twice...gHis |
1d2a40 | 74 6f 72 79 54 72 65 65 2e 6c 6f 61 64 28 5b 71 75 65 72 79 5d 2c 20 6f 70 74 69 6f 6e 73 29 3b | toryTree.load([query],.options); |
1d2a60 | 0a 7d 0a 0a 77 69 6e 64 6f 77 2e 61 64 64 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 28 22 53 69 64 | .}..window.addEventListener("Sid |
1d2a80 | 65 62 61 72 46 6f 63 75 73 65 64 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ebarFocused",................... |
1d2aa0 | 20 20 20 20 20 20 66 75 6e 63 74 69 6f 6e 28 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ......function()................ |
1d2ac0 | 20 20 20 20 20 20 20 20 20 20 20 67 53 65 61 72 63 68 42 6f 78 2e 66 6f 63 75 73 28 29 2c 0a 20 | ...........gSearchBox.focus(),.. |
1d2ae0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 61 6c 73 65 29 3b 0a 50 | .......................false);.P |
1d2b00 | 4b 03 04 14 00 00 00 00 00 f6 4b 18 3b 2d 9f 85 f6 c2 07 00 00 c2 07 00 00 2c 00 00 00 63 6f 6e | K.........K.;-...........,...con |
1d2b20 | 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 62 6f 6f 6b 6d 61 72 6b 73 2f 62 6f 6f 6b 6d 61 72 6b 73 | tent/browser/bookmarks/bookmarks |
1d2b40 | 50 61 6e 65 6c 2e 78 75 6c 3c 3f 78 6d 6c 20 76 65 72 73 69 6f 6e 3d 22 31 2e 30 22 3f 3e 20 3c | Panel.xul<?xml.version="1.0"?>.< |
1d2b60 | 21 2d 2d 20 2d 2a 2d 20 4d 6f 64 65 3a 20 53 47 4d 4c 3b 20 69 6e 64 65 6e 74 2d 74 61 62 73 2d | !--.-*-.Mode:.SGML;.indent-tabs- |
1d2b80 | 6d 6f 64 65 3a 20 6e 69 6c 3b 20 2d 2a 2d 20 2d 2d 3e 20 0a 0a 3c 3f 78 6d 6c 2d 73 74 79 6c 65 | mode:.nil;.-*-.-->...<?xml-style |
1d2ba0 | 73 68 65 65 74 20 68 72 65 66 3d 22 63 68 72 6f 6d 65 3a 2f 2f 67 6c 6f 62 61 6c 2f 73 6b 69 6e | sheet.href="chrome://global/skin |
1d2bc0 | 2f 22 20 74 79 70 65 3d 22 74 65 78 74 2f 63 73 73 22 3f 3e 0a 3c 3f 78 6d 6c 2d 73 74 79 6c 65 | /".type="text/css"?>.<?xml-style |
1d2be0 | 73 68 65 65 74 20 68 72 65 66 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e | sheet.href="chrome://browser/con |
1d2c00 | 74 65 6e 74 2f 70 6c 61 63 65 73 2f 70 6c 61 63 65 73 2e 63 73 73 22 3f 3e 0a 3c 3f 78 6d 6c 2d | tent/places/places.css"?>.<?xml- |
1d2c20 | 73 74 79 6c 65 73 68 65 65 74 20 68 72 65 66 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 | stylesheet.href="chrome://browse |
1d2c40 | 72 2f 73 6b 69 6e 2f 70 6c 61 63 65 73 2f 70 6c 61 63 65 73 2e 63 73 73 22 3f 3e 0a 3c 3f 78 75 | r/skin/places/places.css"?>.<?xu |
1d2c60 | 6c 2d 6f 76 65 72 6c 61 79 20 68 72 65 66 3d 22 63 68 72 6f 6d 65 3a 2f 2f 67 6c 6f 62 61 6c 2f | l-overlay.href="chrome://global/ |
1d2c80 | 63 6f 6e 74 65 6e 74 2f 65 64 69 74 4d 65 6e 75 4f 76 65 72 6c 61 79 2e 78 75 6c 22 3f 3e 0a 3c | content/editMenuOverlay.xul"?>.< |
1d2ca0 | 3f 78 75 6c 2d 6f 76 65 72 6c 61 79 20 68 72 65 66 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 | ?xul-overlay.href="chrome://brow |
1d2cc0 | 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 70 6c 61 63 65 73 2f 70 6c 61 63 65 73 4f 76 65 72 6c 61 79 | ser/content/places/placesOverlay |
1d2ce0 | 2e 78 75 6c 22 3f 3e 0a 0a 3c 21 44 4f 43 54 59 50 45 20 70 61 67 65 20 53 59 53 54 45 4d 20 22 | .xul"?>..<!DOCTYPE.page.SYSTEM." |
1d2d00 | 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 6c 6f 63 61 6c 65 2f 70 6c 61 63 65 73 2f 70 | chrome://browser/locale/places/p |
1d2d20 | 6c 61 63 65 73 2e 64 74 64 22 3e 0a 0a 3c 70 61 67 65 20 69 64 3d 22 62 6f 6f 6b 6d 61 72 6b 73 | laces.dtd">..<page.id="bookmarks |
1d2d40 | 50 61 6e 65 6c 22 0a 20 20 20 20 20 20 78 6d 6c 6e 73 3a 72 64 66 3d 22 68 74 74 70 3a 2f 2f 77 | Panel".......xmlns:rdf="http://w |
1d2d60 | 77 77 2e 77 33 2e 6f 72 67 2f 31 39 39 39 2f 30 32 2f 32 32 2d 72 64 66 2d 73 79 6e 74 61 78 2d | ww.w3.org/1999/02/22-rdf-syntax- |
1d2d80 | 6e 73 23 22 0a 20 20 20 20 20 20 78 6d 6c 6e 73 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a | ns#".......xmlns="http://www.moz |
1d2da0 | 69 6c 6c 61 2e 6f 72 67 2f 6b 65 79 6d 61 73 74 65 72 2f 67 61 74 65 6b 65 65 70 65 72 2f 74 68 | illa.org/keymaster/gatekeeper/th |
1d2dc0 | 65 72 65 2e 69 73 2e 6f 6e 6c 79 2e 78 75 6c 22 0a 20 20 20 20 20 20 6f 6e 6c 6f 61 64 3d 22 69 | ere.is.only.xul".......onload="i |
1d2de0 | 6e 69 74 28 29 3b 22 0a 20 20 20 20 20 20 6f 6e 75 6e 6c 6f 61 64 3d 22 53 69 64 65 62 61 72 55 | nit();".......onunload="SidebarU |
1d2e00 | 74 69 6c 73 2e 63 6c 65 61 72 55 52 4c 46 72 6f 6d 53 74 61 74 75 73 42 61 72 28 29 3b 22 3e 0a | tils.clearURLFromStatusBar();">. |
1d2e20 | 0a 20 20 3c 73 63 72 69 70 74 20 74 79 70 65 3d 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f 78 2d 6a | ...<script.type="application/x-j |
1d2e40 | 61 76 61 73 63 72 69 70 74 22 20 0a 20 20 20 20 20 20 20 20 20 20 73 72 63 3d 22 63 68 72 6f 6d | avascript"............src="chrom |
1d2e60 | 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 62 6f 6f 6b 6d 61 72 6b 73 2f 73 69 | e://browser/content/bookmarks/si |
1d2e80 | 64 65 62 61 72 55 74 69 6c 73 2e 6a 73 22 2f 3e 0a 20 20 3c 73 63 72 69 70 74 20 74 79 70 65 3d | debarUtils.js"/>...<script.type= |
1d2ea0 | 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f 78 2d 6a 61 76 61 73 63 72 69 70 74 22 20 0a 20 20 20 20 | "application/x-javascript"...... |
1d2ec0 | 20 20 20 20 20 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 | ......src="chrome://browser/cont |
1d2ee0 | 65 6e 74 2f 62 6f 6f 6b 6d 61 72 6b 73 2f 62 6f 6f 6b 6d 61 72 6b 73 50 61 6e 65 6c 2e 6a 73 22 | ent/bookmarks/bookmarksPanel.js" |
1d2f00 | 2f 3e 0a 0a 20 20 3c 63 6f 6d 6d 61 6e 64 73 65 74 20 69 64 3d 22 70 6c 61 63 65 73 43 6f 6d 6d | />....<commandset.id="placesComm |
1d2f20 | 61 6e 64 73 22 2f 3e 0a 20 20 3c 63 6f 6d 6d 61 6e 64 73 65 74 20 69 64 3d 22 65 64 69 74 4d 65 | ands"/>...<commandset.id="editMe |
1d2f40 | 6e 75 43 6f 6d 6d 61 6e 64 73 22 2f 3e 0a 20 20 3c 70 6f 70 75 70 20 69 64 3d 22 70 6c 61 63 65 | nuCommands"/>...<popup.id="place |
1d2f60 | 73 43 6f 6e 74 65 78 74 22 2f 3e 0a 0a 20 20 3c 68 62 6f 78 20 61 6c 69 67 6e 3d 22 63 65 6e 74 | sContext"/>....<hbox.align="cent |
1d2f80 | 65 72 22 3e 0a 20 20 20 20 3c 6c 61 62 65 6c 20 76 61 6c 75 65 3d 22 26 73 65 61 72 63 68 2e 6c | er">.....<label.value="&search.l |
1d2fa0 | 61 62 65 6c 3b 22 20 61 63 63 65 73 73 6b 65 79 3d 22 26 73 65 61 72 63 68 2e 61 63 63 65 73 73 | abel;".accesskey="&search.access |
1d2fc0 | 6b 65 79 3b 22 20 63 6f 6e 74 72 6f 6c 3d 22 73 65 61 72 63 68 2d 62 6f 78 22 2f 3e 0a 20 20 20 | key;".control="search-box"/>.... |
1d2fe0 | 20 3c 74 65 78 74 62 6f 78 20 69 64 3d 22 73 65 61 72 63 68 2d 62 6f 78 22 20 66 6c 65 78 3d 22 | .<textbox.id="search-box".flex=" |
1d3000 | 31 22 20 74 79 70 65 3d 22 73 65 61 72 63 68 22 20 63 6c 61 73 73 3d 22 63 6f 6d 70 61 63 74 22 | 1".type="search".class="compact" |
1d3020 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 61 72 69 61 2d 63 6f 6e 74 72 6f 6c 73 3d 22 62 6f 6f | ..............aria-controls="boo |
1d3040 | 6b 6d 61 72 6b 73 2d 76 69 65 77 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d | kmarks-view"..............oncomm |
1d3060 | 61 6e 64 3d 22 73 65 61 72 63 68 42 6f 6f 6b 6d 61 72 6b 73 28 74 68 69 73 2e 76 61 6c 75 65 29 | and="searchBookmarks(this.value) |
1d3080 | 3b 22 2f 3e 0a 20 20 3c 2f 68 62 6f 78 3e 0a 0a 20 20 3c 74 72 65 65 20 69 64 3d 22 62 6f 6f 6b | ;"/>...</hbox>....<tree.id="book |
1d30a0 | 6d 61 72 6b 73 2d 76 69 65 77 22 20 63 6c 61 73 73 3d 22 73 69 64 65 62 61 72 2d 70 6c 61 63 65 | marks-view".class="sidebar-place |
1d30c0 | 73 54 72 65 65 22 20 74 79 70 65 3d 22 70 6c 61 63 65 73 22 0a 20 20 20 20 20 20 20 20 66 6c 65 | sTree".type="places".........fle |
1d30e0 | 78 3d 22 31 22 0a 20 20 20 20 20 20 20 20 68 69 64 65 63 6f 6c 75 6d 6e 70 69 63 6b 65 72 3d 22 | x="1".........hidecolumnpicker=" |
1d3100 | 74 72 75 65 22 0a 20 20 20 20 20 20 20 20 63 6f 6e 74 65 78 74 3d 22 70 6c 61 63 65 73 43 6f 6e | true".........context="placesCon |
1d3120 | 74 65 78 74 22 0a 20 20 20 20 20 20 20 20 6f 6e 6b 65 79 70 72 65 73 73 3d 22 53 69 64 65 62 61 | text".........onkeypress="Sideba |
1d3140 | 72 55 74 69 6c 73 2e 68 61 6e 64 6c 65 54 72 65 65 4b 65 79 50 72 65 73 73 28 65 76 65 6e 74 29 | rUtils.handleTreeKeyPress(event) |
1d3160 | 3b 22 0a 20 20 20 20 20 20 20 20 6f 6e 63 6c 69 63 6b 3d 22 53 69 64 65 62 61 72 55 74 69 6c 73 | ;".........onclick="SidebarUtils |
1d3180 | 2e 68 61 6e 64 6c 65 54 72 65 65 43 6c 69 63 6b 28 74 68 69 73 2c 20 65 76 65 6e 74 2c 20 74 72 | .handleTreeClick(this,.event,.tr |
1d31a0 | 75 65 29 3b 22 0a 20 20 20 20 20 20 20 20 6f 6e 6d 6f 75 73 65 6d 6f 76 65 3d 22 53 69 64 65 62 | ue);".........onmousemove="Sideb |
1d31c0 | 61 72 55 74 69 6c 73 2e 68 61 6e 64 6c 65 54 72 65 65 4d 6f 75 73 65 4d 6f 76 65 28 65 76 65 6e | arUtils.handleTreeMouseMove(even |
1d31e0 | 74 29 3b 22 0a 20 20 20 20 20 20 20 20 6f 6e 6d 6f 75 73 65 6f 75 74 3d 22 53 69 64 65 62 61 72 | t);".........onmouseout="Sidebar |
1d3200 | 55 74 69 6c 73 2e 63 6c 65 61 72 55 52 4c 46 72 6f 6d 53 74 61 74 75 73 42 61 72 28 29 3b 22 3e | Utils.clearURLFromStatusBar();"> |
1d3220 | 0a 20 20 20 20 3c 74 72 65 65 63 6f 6c 73 3e 0a 20 20 20 20 20 20 3c 74 72 65 65 63 6f 6c 20 69 | .....<treecols>.......<treecol.i |
1d3240 | 64 3d 22 74 69 74 6c 65 22 20 66 6c 65 78 3d 22 31 22 20 70 72 69 6d 61 72 79 3d 22 74 72 75 65 | d="title".flex="1".primary="true |
1d3260 | 22 20 68 69 64 65 68 65 61 64 65 72 3d 22 74 72 75 65 22 2f 3e 0a 20 20 20 20 3c 2f 74 72 65 65 | ".hideheader="true"/>.....</tree |
1d3280 | 63 6f 6c 73 3e 0a 20 20 20 20 3c 74 72 65 65 63 68 69 6c 64 72 65 6e 20 69 64 3d 22 62 6f 6f 6b | cols>.....<treechildren.id="book |
1d32a0 | 6d 61 72 6b 73 2d 76 69 65 77 2d 63 68 69 6c 64 72 65 6e 22 20 76 69 65 77 3d 22 62 6f 6f 6b 6d | marks-view-children".view="bookm |
1d32c0 | 61 72 6b 73 2d 76 69 65 77 22 20 63 6c 61 73 73 3d 22 73 69 64 65 62 61 72 2d 70 6c 61 63 65 73 | arks-view".class="sidebar-places |
1d32e0 | 54 72 65 65 63 68 69 6c 64 72 65 6e 22 20 66 6c 65 78 3d 22 31 22 2f 3e 0a 20 20 3c 2f 74 72 65 | Treechildren".flex="1"/>...</tre |
1d3300 | 65 3e 0a 3c 2f 70 61 67 65 3e 0a 50 4b 03 04 14 00 00 00 00 00 f6 4b 18 3b 3b 6b 1e 2f 24 03 00 | e>.</page>.PK.........K.;;k./$.. |
1d3320 | 00 24 03 00 00 2b 00 00 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 62 6f 6f 6b 6d 61 72 | .$...+...content/browser/bookmar |
1d3340 | 6b 73 2f 62 6f 6f 6b 6d 61 72 6b 73 50 61 6e 65 6c 2e 6a 73 2f 2f 40 6c 69 6e 65 20 33 37 20 22 | ks/bookmarksPanel.js//@line.37." |
1d3360 | 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 | /builds/moz2_slave/linux_build/b |
1d3380 | 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 63 6f 6d 70 6f 6e 65 6e 74 73 2f 70 6c 61 63 65 73 2f 63 | uild/browser/components/places/c |
1d33a0 | 6f 6e 74 65 6e 74 2f 62 6f 6f 6b 6d 61 72 6b 73 50 61 6e 65 6c 2e 6a 73 22 0a 0a 66 75 6e 63 74 | ontent/bookmarksPanel.js"..funct |
1d33c0 | 69 6f 6e 20 69 6e 69 74 28 29 20 7b 0a 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 | ion.init().{...document.getEleme |
1d33e0 | 6e 74 42 79 49 64 28 22 62 6f 6f 6b 6d 61 72 6b 73 2d 76 69 65 77 22 29 2e 70 6c 61 63 65 20 3d | ntById("bookmarks-view").place.= |
1d3400 | 0a 20 20 20 20 22 70 6c 61 63 65 3a 71 75 65 72 79 54 79 70 65 3d 31 26 66 6f 6c 64 65 72 3d 22 | ....."place:queryType=1&folder=" |
1d3420 | 20 2b 20 77 69 6e 64 6f 77 2e 74 6f 70 2e 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 61 6c 6c 42 | .+.window.top.PlacesUIUtils.allB |
1d3440 | 6f 6f 6b 6d 61 72 6b 73 46 6f 6c 64 65 72 49 64 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 73 65 | ookmarksFolderId;.}..function.se |
1d3460 | 61 72 63 68 42 6f 6f 6b 6d 61 72 6b 73 28 61 53 65 61 72 63 68 53 74 72 69 6e 67 29 20 7b 0a 20 | archBookmarks(aSearchString).{.. |
1d3480 | 20 76 61 72 20 74 72 65 65 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 | .var.tree.=.document.getElementB |
1d34a0 | 79 49 64 28 27 62 6f 6f 6b 6d 61 72 6b 73 2d 76 69 65 77 27 29 3b 0a 20 20 69 66 20 28 21 61 53 | yId('bookmarks-view');...if.(!aS |
1d34c0 | 65 61 72 63 68 53 74 72 69 6e 67 29 0a 20 20 20 20 74 72 65 65 2e 70 6c 61 63 65 20 3d 20 74 72 | earchString).....tree.place.=.tr |
1d34e0 | 65 65 2e 70 6c 61 63 65 3b 0a 20 20 65 6c 73 65 0a 20 20 20 20 74 72 65 65 2e 61 70 70 6c 79 46 | ee.place;...else.....tree.applyF |
1d3500 | 69 6c 74 65 72 28 61 53 65 61 72 63 68 53 74 72 69 6e 67 2c 0a 20 20 20 20 20 20 20 20 20 20 20 | ilter(aSearchString,............ |
1d3520 | 20 20 20 20 20 20 20 20 20 20 5b 50 6c 61 63 65 73 55 74 69 6c 73 2e 62 6f 6f 6b 6d 61 72 6b 73 | ..........[PlacesUtils.bookmarks |
1d3540 | 4d 65 6e 75 46 6f 6c 64 65 72 49 64 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | MenuFolderId,................... |
1d3560 | 20 20 20 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 75 6e 66 69 6c 65 64 42 6f 6f 6b 6d 61 72 6b 73 | ....PlacesUtils.unfiledBookmarks |
1d3580 | 46 6f 6c 64 65 72 49 64 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | FolderId,....................... |
1d35a0 | 50 6c 61 63 65 73 55 74 69 6c 73 2e 74 6f 6f 6c 62 61 72 46 6f 6c 64 65 72 49 64 5d 29 3b 0a 7d | PlacesUtils.toolbarFolderId]);.} |
1d35c0 | 0a 0a 77 69 6e 64 6f 77 2e 61 64 64 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 28 22 53 69 64 65 62 | ..window.addEventListener("Sideb |
1d35e0 | 61 72 46 6f 63 75 73 65 64 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | arFocused",..................... |
1d3600 | 20 20 20 20 66 75 6e 63 74 69 6f 6e 28 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ....function().................. |
1d3620 | 20 20 20 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 | .........document.getElementById |
1d3640 | 28 22 73 65 61 72 63 68 2d 62 6f 78 22 29 2e 66 6f 63 75 73 28 29 2c 0a 20 20 20 20 20 20 20 20 | ("search-box").focus(),......... |
1d3660 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 61 6c 73 65 29 3b 0a 50 4b 03 04 14 00 00 00 | ................false);.PK...... |
1d3680 | 00 00 f6 4b 18 3b 60 94 e1 37 2b 0d 00 00 2b 0d 00 00 29 00 00 00 63 6f 6e 74 65 6e 74 2f 62 72 | ...K.;`..7+...+...)...content/br |
1d36a0 | 6f 77 73 65 72 2f 62 6f 6f 6b 6d 61 72 6b 73 2f 73 69 64 65 62 61 72 55 74 69 6c 73 2e 6a 73 2f | owser/bookmarks/sidebarUtils.js/ |
1d36c0 | 2f 40 6c 69 6e 65 20 33 39 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 | /@line.39."/builds/moz2_slave/li |
1d36e0 | 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 63 6f 6d 70 6f 6e 65 6e | nux_build/build/browser/componen |
1d3700 | 74 73 2f 70 6c 61 63 65 73 2f 63 6f 6e 74 65 6e 74 2f 73 69 64 65 62 61 72 55 74 69 6c 73 2e 6a | ts/places/content/sidebarUtils.j |
1d3720 | 73 22 0a 0a 76 61 72 20 53 69 64 65 62 61 72 55 74 69 6c 73 20 3d 20 7b 0a 20 20 68 61 6e 64 6c | s"..var.SidebarUtils.=.{...handl |
1d3740 | 65 54 72 65 65 43 6c 69 63 6b 3a 20 66 75 6e 63 74 69 6f 6e 20 53 55 5f 68 61 6e 64 6c 65 54 72 | eTreeClick:.function.SU_handleTr |
1d3760 | 65 65 43 6c 69 63 6b 28 61 54 72 65 65 2c 20 61 45 76 65 6e 74 2c 20 61 47 75 74 74 65 72 53 65 | eeClick(aTree,.aEvent,.aGutterSe |
1d3780 | 6c 65 63 74 29 20 7b 0a 20 20 20 20 2f 2f 20 72 69 67 68 74 2d 63 6c 69 63 6b 73 20 61 72 65 20 | lect).{.....//.right-clicks.are. |
1d37a0 | 6e 6f 74 20 68 61 6e 64 6c 65 64 20 68 65 72 65 0a 20 20 20 20 69 66 20 28 61 45 76 65 6e 74 2e | not.handled.here.....if.(aEvent. |
1d37c0 | 62 75 74 74 6f 6e 20 3d 3d 20 32 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 20 20 | button.==.2).......return;...... |
1d37e0 | 76 61 72 20 74 62 6f 20 3d 20 61 54 72 65 65 2e 74 72 65 65 42 6f 78 4f 62 6a 65 63 74 3b 0a 20 | var.tbo.=.aTree.treeBoxObject;.. |
1d3800 | 20 20 20 76 61 72 20 72 6f 77 20 3d 20 7b 20 7d 2c 20 63 6f 6c 20 3d 20 7b 20 7d 2c 20 6f 62 6a | ...var.row.=.{.},.col.=.{.},.obj |
1d3820 | 20 3d 20 7b 20 7d 3b 0a 20 20 20 20 74 62 6f 2e 67 65 74 43 65 6c 6c 41 74 28 61 45 76 65 6e 74 | .=.{.};.....tbo.getCellAt(aEvent |
1d3840 | 2e 63 6c 69 65 6e 74 58 2c 20 61 45 76 65 6e 74 2e 63 6c 69 65 6e 74 59 2c 20 72 6f 77 2c 20 63 | .clientX,.aEvent.clientY,.row,.c |
1d3860 | 6f 6c 2c 20 6f 62 6a 29 3b 0a 0a 20 20 20 20 69 66 20 28 72 6f 77 2e 76 61 6c 75 65 20 3d 3d 20 | ol,.obj);......if.(row.value.==. |
1d3880 | 2d 31 20 7c 7c 20 6f 62 6a 2e 76 61 6c 75 65 20 3d 3d 20 22 74 77 69 73 74 79 22 29 0a 20 20 20 | -1.||.obj.value.==."twisty").... |
1d38a0 | 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 20 20 76 61 72 20 6d 6f 75 73 65 49 6e 47 75 74 74 65 | ...return;......var.mouseInGutte |
1d38c0 | 72 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 69 66 20 28 61 47 75 74 74 65 72 53 65 6c 65 63 74 | r.=.false;.....if.(aGutterSelect |
1d38e0 | 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 78 20 3d 20 7b 20 7d 2c 20 79 20 3d 20 7b 20 7d 2c 20 | ).{.......var.x.=.{.},.y.=.{.},. |
1d3900 | 77 20 3d 20 7b 20 7d 2c 20 68 20 3d 20 7b 20 7d 3b 0a 20 20 20 20 20 20 74 62 6f 2e 67 65 74 43 | w.=.{.},.h.=.{.};.......tbo.getC |
1d3920 | 6f 6f 72 64 73 46 6f 72 43 65 6c 6c 49 74 65 6d 28 72 6f 77 2e 76 61 6c 75 65 2c 20 63 6f 6c 2e | oordsForCellItem(row.value,.col. |
1d3940 | 76 61 6c 75 65 2c 20 22 69 6d 61 67 65 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | value,."image",................. |
1d3960 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 78 2c 20 79 2c 20 77 2c 20 68 29 3b 0a 20 20 20 20 | ...............x,.y,.w,.h);..... |
1d3980 | 20 20 6d 6f 75 73 65 49 6e 47 75 74 74 65 72 20 3d 20 61 45 76 65 6e 74 2e 63 6c 69 65 6e 74 58 | ..mouseInGutter.=.aEvent.clientX |
1d39a0 | 20 3c 20 78 2e 76 61 6c 75 65 3b 0a 20 20 20 20 7d 0a 0a 2f 2f 40 6c 69 6e 65 20 36 34 20 22 2f | .<.x.value;.....}..//@line.64."/ |
1d39c0 | 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 | builds/moz2_slave/linux_build/bu |
1d39e0 | 69 6c 64 2f 62 72 6f 77 73 65 72 2f 63 6f 6d 70 6f 6e 65 6e 74 73 2f 70 6c 61 63 65 73 2f 63 6f | ild/browser/components/places/co |
1d3a00 | 6e 74 65 6e 74 2f 73 69 64 65 62 61 72 55 74 69 6c 73 2e 6a 73 22 0a 20 20 20 20 76 61 72 20 6d | ntent/sidebarUtils.js".....var.m |
1d3a20 | 6f 64 69 66 4b 65 79 20 3d 20 61 45 76 65 6e 74 2e 63 74 72 6c 4b 65 79 20 7c 7c 20 61 45 76 65 | odifKey.=.aEvent.ctrlKey.||.aEve |
1d3a40 | 6e 74 2e 73 68 69 66 74 4b 65 79 3b 0a 2f 2f 40 6c 69 6e 65 20 36 36 20 22 2f 62 75 69 6c 64 73 | nt.shiftKey;.//@line.66."/builds |
1d3a60 | 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 | /moz2_slave/linux_build/build/br |
1d3a80 | 6f 77 73 65 72 2f 63 6f 6d 70 6f 6e 65 6e 74 73 2f 70 6c 61 63 65 73 2f 63 6f 6e 74 65 6e 74 2f | owser/components/places/content/ |
1d3aa0 | 73 69 64 65 62 61 72 55 74 69 6c 73 2e 6a 73 22 0a 0a 20 20 20 20 76 61 72 20 69 73 43 6f 6e 74 | sidebarUtils.js"......var.isCont |
1d3ac0 | 61 69 6e 65 72 20 3d 20 74 62 6f 2e 76 69 65 77 2e 69 73 43 6f 6e 74 61 69 6e 65 72 28 72 6f 77 | ainer.=.tbo.view.isContainer(row |
1d3ae0 | 2e 76 61 6c 75 65 29 3b 0a 20 20 20 20 76 61 72 20 6f 70 65 6e 49 6e 54 61 62 73 20 3d 20 69 73 | .value);.....var.openInTabs.=.is |
1d3b00 | 43 6f 6e 74 61 69 6e 65 72 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | Container.&&.................... |
1d3b20 | 20 20 28 61 45 76 65 6e 74 2e 62 75 74 74 6f 6e 20 3d 3d 20 31 20 7c 7c 0a 20 20 20 20 20 20 20 | ..(aEvent.button.==.1.||........ |
1d3b40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 61 45 76 65 6e 74 2e 62 75 74 74 6f 6e 20 3d 3d | ...............(aEvent.button.== |
1d3b60 | 20 30 20 26 26 20 6d 6f 64 69 66 4b 65 79 29 29 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 | .0.&&.modifKey)).&&............. |
1d3b80 | 20 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 68 61 73 43 68 69 6c 64 55 52 49 | .........PlacesUtils.hasChildURI |
1d3ba0 | 73 28 74 62 6f 2e 76 69 65 77 2e 6e 6f 64 65 46 6f 72 54 72 65 65 49 6e 64 65 78 28 72 6f 77 2e | s(tbo.view.nodeForTreeIndex(row. |
1d3bc0 | 76 61 6c 75 65 29 29 3b 0a 0a 20 20 20 20 69 66 20 28 61 45 76 65 6e 74 2e 62 75 74 74 6f 6e 20 | value));......if.(aEvent.button. |
1d3be0 | 3d 3d 20 30 20 26 26 20 69 73 43 6f 6e 74 61 69 6e 65 72 20 26 26 20 21 6f 70 65 6e 49 6e 54 61 | ==.0.&&.isContainer.&&.!openInTa |
1d3c00 | 62 73 29 20 7b 0a 20 20 20 20 20 20 74 62 6f 2e 76 69 65 77 2e 74 6f 67 67 6c 65 4f 70 65 6e 53 | bs).{.......tbo.view.toggleOpenS |
1d3c20 | 74 61 74 65 28 72 6f 77 2e 76 61 6c 75 65 29 3b 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 | tate(row.value);.......return;.. |
1d3c40 | 20 20 20 7d 0a 20 20 20 20 65 6c 73 65 20 69 66 20 28 21 6d 6f 75 73 65 49 6e 47 75 74 74 65 72 | ...}.....else.if.(!mouseInGutter |
1d3c60 | 20 26 26 20 6f 70 65 6e 49 6e 54 61 62 73 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 61 45 | .&&.openInTabs.&&.............aE |
1d3c80 | 76 65 6e 74 2e 6f 72 69 67 69 6e 61 6c 54 61 72 67 65 74 2e 6c 6f 63 61 6c 4e 61 6d 65 20 3d 3d | vent.originalTarget.localName.== |
1d3ca0 | 20 22 74 72 65 65 63 68 69 6c 64 72 65 6e 22 29 20 7b 0a 20 20 20 20 20 20 74 62 6f 2e 76 69 65 | ."treechildren").{.......tbo.vie |
1d3cc0 | 77 2e 73 65 6c 65 63 74 69 6f 6e 2e 73 65 6c 65 63 74 28 72 6f 77 2e 76 61 6c 75 65 29 3b 0a 20 | w.selection.select(row.value);.. |
1d3ce0 | 20 20 20 20 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 6f 70 65 6e 43 6f 6e 74 61 69 6e 65 72 | .....PlacesUIUtils.openContainer |
1d3d00 | 4e 6f 64 65 49 6e 54 61 62 73 28 61 54 72 65 65 2e 73 65 6c 65 63 74 65 64 4e 6f 64 65 2c 20 61 | NodeInTabs(aTree.selectedNode,.a |
1d3d20 | 45 76 65 6e 74 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 65 6c 73 65 20 69 66 20 28 21 6d 6f 75 73 | Event);.....}.....else.if.(!mous |
1d3d40 | 65 49 6e 47 75 74 74 65 72 20 26 26 20 21 69 73 43 6f 6e 74 61 69 6e 65 72 20 26 26 0a 20 20 20 | eInGutter.&&.!isContainer.&&.... |
1d3d60 | 20 20 20 20 20 20 20 20 20 20 61 45 76 65 6e 74 2e 6f 72 69 67 69 6e 61 6c 54 61 72 67 65 74 2e | ..........aEvent.originalTarget. |
1d3d80 | 6c 6f 63 61 6c 4e 61 6d 65 20 3d 3d 20 22 74 72 65 65 63 68 69 6c 64 72 65 6e 22 29 20 7b 0a 20 | localName.==."treechildren").{.. |
1d3da0 | 20 20 20 20 20 2f 2f 20 43 6c 65 61 72 20 61 6c 6c 20 6f 74 68 65 72 20 73 65 6c 65 63 74 69 6f | .....//.Clear.all.other.selectio |
1d3dc0 | 6e 20 73 69 6e 63 65 20 77 65 27 72 65 20 6c 6f 61 64 69 6e 67 20 61 20 6c 69 6e 6b 20 6e 6f 77 | n.since.we're.loading.a.link.now |
1d3de0 | 2e 20 57 65 20 6d 75 73 74 0a 20 20 20 20 20 20 2f 2f 20 64 6f 20 74 68 69 73 20 2a 62 65 66 6f | ..We.must.......//.do.this.*befo |
1d3e00 | 72 65 2a 20 61 74 74 65 6d 70 74 69 6e 67 20 74 6f 20 6c 6f 61 64 20 74 68 65 20 6c 69 6e 6b 20 | re*.attempting.to.load.the.link. |
1d3e20 | 73 69 6e 63 65 20 6f 70 65 6e 55 52 4c 20 75 73 65 73 0a 20 20 20 20 20 20 2f 2f 20 73 65 6c 65 | since.openURL.uses.......//.sele |
1d3e40 | 63 74 69 6f 6e 20 61 73 20 61 6e 20 69 6e 64 69 63 61 74 69 6f 6e 20 6f 66 20 77 68 69 63 68 20 | ction.as.an.indication.of.which. |
1d3e60 | 6c 69 6e 6b 20 74 6f 20 6c 6f 61 64 2e 0a 20 20 20 20 20 20 74 62 6f 2e 76 69 65 77 2e 73 65 6c | link.to.load........tbo.view.sel |
1d3e80 | 65 63 74 69 6f 6e 2e 73 65 6c 65 63 74 28 72 6f 77 2e 76 61 6c 75 65 29 3b 0a 20 20 20 20 20 20 | ection.select(row.value);....... |
1d3ea0 | 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 6f 70 65 6e 4e 6f 64 65 57 69 74 68 45 76 65 6e 74 28 | PlacesUIUtils.openNodeWithEvent( |
1d3ec0 | 61 54 72 65 65 2e 73 65 6c 65 63 74 65 64 4e 6f 64 65 2c 20 61 45 76 65 6e 74 29 3b 0a 20 20 20 | aTree.selectedNode,.aEvent);.... |
1d3ee0 | 20 7d 0a 20 20 7d 2c 0a 0a 20 20 68 61 6e 64 6c 65 54 72 65 65 4b 65 79 50 72 65 73 73 3a 20 66 | .}...},....handleTreeKeyPress:.f |
1d3f00 | 75 6e 63 74 69 6f 6e 20 53 55 5f 68 61 6e 64 6c 65 54 72 65 65 4b 65 79 50 72 65 73 73 28 61 45 | unction.SU_handleTreeKeyPress(aE |
1d3f20 | 76 65 6e 74 29 20 7b 0a 20 20 20 20 69 66 20 28 61 45 76 65 6e 74 2e 6b 65 79 43 6f 64 65 20 3d | vent).{.....if.(aEvent.keyCode.= |
1d3f40 | 3d 20 4b 65 79 45 76 65 6e 74 2e 44 4f 4d 5f 56 4b 5f 52 45 54 55 52 4e 29 0a 20 20 20 20 20 20 | =.KeyEvent.DOM_VK_RETURN)....... |
1d3f60 | 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 6f 70 65 6e 4e 6f 64 65 57 69 74 68 45 76 65 6e 74 28 | PlacesUIUtils.openNodeWithEvent( |
1d3f80 | 61 45 76 65 6e 74 2e 74 61 72 67 65 74 2e 73 65 6c 65 63 74 65 64 4e 6f 64 65 2c 20 61 45 76 65 | aEvent.target.selectedNode,.aEve |
1d3fa0 | 6e 74 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 54 68 65 20 66 6f 6c 6c 6f 77 | nt);...},..../**....*.The.follow |
1d3fc0 | 69 6e 67 20 66 75 6e 63 74 69 6f 6e 20 64 69 73 70 6c 61 79 73 20 74 68 65 20 55 52 4c 20 6f 66 | ing.function.displays.the.URL.of |
1d3fe0 | 20 61 20 6e 6f 64 65 20 74 68 61 74 20 69 73 20 62 65 69 6e 67 0a 20 20 20 2a 20 68 6f 76 65 72 | .a.node.that.is.being....*.hover |
1d4000 | 65 64 20 6f 76 65 72 2e 0a 20 20 20 2a 2f 0a 20 20 68 61 6e 64 6c 65 54 72 65 65 4d 6f 75 73 65 | ed.over.....*/...handleTreeMouse |
1d4020 | 4d 6f 76 65 3a 20 66 75 6e 63 74 69 6f 6e 20 53 55 5f 68 61 6e 64 6c 65 54 72 65 65 4d 6f 75 73 | Move:.function.SU_handleTreeMous |
1d4040 | 65 4d 6f 76 65 28 61 45 76 65 6e 74 29 20 7b 0a 20 20 20 20 69 66 20 28 61 45 76 65 6e 74 2e 74 | eMove(aEvent).{.....if.(aEvent.t |
1d4060 | 61 72 67 65 74 2e 6c 6f 63 61 6c 4e 61 6d 65 20 21 3d 20 22 74 72 65 65 63 68 69 6c 64 72 65 6e | arget.localName.!=."treechildren |
1d4080 | 22 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 20 20 76 61 72 20 74 72 65 65 20 3d | ").......return;......var.tree.= |
1d40a0 | 20 61 45 76 65 6e 74 2e 74 61 72 67 65 74 2e 70 61 72 65 6e 74 4e 6f 64 65 3b 0a 20 20 20 20 76 | .aEvent.target.parentNode;.....v |
1d40c0 | 61 72 20 74 62 6f 20 3d 20 74 72 65 65 2e 74 72 65 65 42 6f 78 4f 62 6a 65 63 74 3b 0a 20 20 20 | ar.tbo.=.tree.treeBoxObject;.... |
1d40e0 | 20 76 61 72 20 72 6f 77 20 3d 20 7b 20 7d 2c 20 63 6f 6c 20 3d 20 7b 20 7d 2c 20 6f 62 6a 20 3d | .var.row.=.{.},.col.=.{.},.obj.= |
1d4100 | 20 7b 20 7d 3b 0a 20 20 20 20 74 62 6f 2e 67 65 74 43 65 6c 6c 41 74 28 61 45 76 65 6e 74 2e 63 | .{.};.....tbo.getCellAt(aEvent.c |
1d4120 | 6c 69 65 6e 74 58 2c 20 61 45 76 65 6e 74 2e 63 6c 69 65 6e 74 59 2c 20 72 6f 77 2c 20 63 6f 6c | lientX,.aEvent.clientY,.row,.col |
1d4140 | 2c 20 6f 62 6a 29 3b 0a 0a 20 20 20 20 2f 2f 20 72 6f 77 2e 76 61 6c 75 65 20 69 73 20 2d 31 20 | ,.obj);......//.row.value.is.-1. |
1d4160 | 77 68 65 6e 20 74 68 65 20 6d 6f 75 73 65 20 69 73 20 68 6f 76 65 72 69 6e 67 20 61 6e 20 65 6d | when.the.mouse.is.hovering.an.em |
1d4180 | 70 74 79 20 61 72 65 61 20 77 69 74 68 69 6e 20 74 68 65 20 74 72 65 65 2e 0a 20 20 20 20 2f 2f | pty.area.within.the.tree......// |
1d41a0 | 20 54 6f 20 61 76 6f 69 64 20 73 68 6f 77 69 6e 67 20 61 20 55 52 4c 20 66 72 6f 6d 20 61 20 70 | .To.avoid.showing.a.URL.from.a.p |
1d41c0 | 72 65 76 69 6f 75 73 6c 79 20 68 6f 76 65 72 65 64 20 6e 6f 64 65 2c 0a 20 20 20 20 2f 2f 20 66 | reviously.hovered.node,.....//.f |
1d41e0 | 6f 72 20 61 20 63 75 72 72 65 6e 74 6c 79 20 68 6f 76 65 72 65 64 20 6e 6f 6e 2d 75 72 6c 20 6e | or.a.currently.hovered.non-url.n |
1d4200 | 6f 64 65 2c 20 77 65 20 6d 75 73 74 20 63 6c 65 61 72 20 74 68 65 20 55 52 4c 20 66 72 6f 6d 20 | ode,.we.must.clear.the.URL.from. |
1d4220 | 74 68 65 0a 20 20 20 20 2f 2f 20 73 74 61 74 75 73 20 62 61 72 20 69 6e 20 74 68 65 73 65 20 63 | the.....//.status.bar.in.these.c |
1d4240 | 61 73 65 73 2e 0a 20 20 20 20 69 66 20 28 72 6f 77 2e 76 61 6c 75 65 20 21 3d 20 2d 31 29 20 7b | ases......if.(row.value.!=.-1).{ |
1d4260 | 0a 20 20 20 20 20 20 76 61 72 20 63 65 6c 6c 20 3d 20 74 72 65 65 2e 76 69 65 77 2e 6e 6f 64 65 | .......var.cell.=.tree.view.node |
1d4280 | 46 6f 72 54 72 65 65 49 6e 64 65 78 28 72 6f 77 2e 76 61 6c 75 65 29 3b 0a 20 20 20 20 20 20 69 | ForTreeIndex(row.value);.......i |
1d42a0 | 66 20 28 50 6c 61 63 65 73 55 74 69 6c 73 2e 6e 6f 64 65 49 73 55 52 49 28 63 65 6c 6c 29 29 0a | f.(PlacesUtils.nodeIsURI(cell)). |
1d42c0 | 20 20 20 20 20 20 20 20 77 69 6e 64 6f 77 2e 74 6f 70 2e 58 55 4c 42 72 6f 77 73 65 72 57 69 6e | ........window.top.XULBrowserWin |
1d42e0 | 64 6f 77 2e 73 65 74 4f 76 65 72 4c 69 6e 6b 28 63 65 6c 6c 2e 75 72 69 2c 20 6e 75 6c 6c 29 3b | dow.setOverLink(cell.uri,.null); |
1d4300 | 0a 20 20 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 63 6c 65 61 72 55 52 | .......else.........this.clearUR |
1d4320 | 4c 46 72 6f 6d 53 74 61 74 75 73 42 61 72 28 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 65 6c 73 65 | LFromStatusBar();.....}.....else |
1d4340 | 0a 20 20 20 20 20 20 74 68 69 73 2e 63 6c 65 61 72 55 52 4c 46 72 6f 6d 53 74 61 74 75 73 42 61 | .......this.clearURLFromStatusBa |
1d4360 | 72 28 29 3b 0a 20 20 7d 2c 0a 0a 20 20 63 6c 65 61 72 55 52 4c 46 72 6f 6d 53 74 61 74 75 73 42 | r();...},....clearURLFromStatusB |
1d4380 | 61 72 3a 20 66 75 6e 63 74 69 6f 6e 20 53 55 5f 63 6c 65 61 72 55 52 4c 46 72 6f 6d 53 74 61 74 | ar:.function.SU_clearURLFromStat |
1d43a0 | 75 73 42 61 72 28 29 20 7b 0a 20 20 20 20 77 69 6e 64 6f 77 2e 74 6f 70 2e 58 55 4c 42 72 6f 77 | usBar().{.....window.top.XULBrow |
1d43c0 | 73 65 72 57 69 6e 64 6f 77 2e 73 65 74 4f 76 65 72 4c 69 6e 6b 28 22 22 2c 20 6e 75 6c 6c 29 3b | serWindow.setOverLink("",.null); |
1d43e0 | 20 20 0a 20 20 7d 0a 7d 3b 0a 50 4b 03 04 14 00 00 00 00 00 f6 4b 18 3b 24 8a 7c 5e 74 06 00 00 | .....}.};.PK.........K.;$.|^t... |
1d4400 | 74 06 00 00 28 00 00 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 6c 61 63 65 73 2f 6d | t...(...content/browser/places/m |
1d4420 | 6f 76 65 42 6f 6f 6b 6d 61 72 6b 73 2e 78 75 6c 3c 3f 78 6d 6c 20 76 65 72 73 69 6f 6e 3d 22 31 | oveBookmarks.xul<?xml.version="1 |
1d4440 | 2e 30 22 3f 3e 0a 0a 0a 3c 3f 78 6d 6c 2d 73 74 79 6c 65 73 68 65 65 74 20 68 72 65 66 3d 22 63 | .0"?>...<?xml-stylesheet.href="c |
1d4460 | 68 72 6f 6d 65 3a 2f 2f 67 6c 6f 62 61 6c 2f 73 6b 69 6e 2f 22 3f 3e 0a 3c 3f 78 6d 6c 2d 73 74 | hrome://global/skin/"?>.<?xml-st |
1d4480 | 79 6c 65 73 68 65 65 74 20 68 72 65 66 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f | ylesheet.href="chrome://browser/ |
1d44a0 | 73 6b 69 6e 2f 70 6c 61 63 65 73 2f 70 6c 61 63 65 73 2e 63 73 73 22 3f 3e 0a 3c 3f 78 6d 6c 2d | skin/places/places.css"?>.<?xml- |
1d44c0 | 73 74 79 6c 65 73 68 65 65 74 20 68 72 65 66 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 | stylesheet.href="chrome://browse |
1d44e0 | 72 2f 63 6f 6e 74 65 6e 74 2f 70 6c 61 63 65 73 2f 70 6c 61 63 65 73 2e 63 73 73 22 3f 3e 0a 0a | r/content/places/places.css"?>.. |
1d4500 | 3c 3f 78 75 6c 2d 6f 76 65 72 6c 61 79 20 68 72 65 66 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f | <?xul-overlay.href="chrome://bro |
1d4520 | 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 70 6c 61 63 65 73 2f 70 6c 61 63 65 73 4f 76 65 72 6c 61 | wser/content/places/placesOverla |
1d4540 | 79 2e 78 75 6c 22 3f 3e 0a 0a 3c 21 44 4f 43 54 59 50 45 20 77 69 6e 64 6f 77 20 5b 0a 20 20 3c | y.xul"?>..<!DOCTYPE.window.[...< |
1d4560 | 21 45 4e 54 49 54 59 20 25 20 6d 6f 76 65 42 6f 6f 6b 6d 61 72 6b 73 44 54 44 20 53 59 53 54 45 | !ENTITY.%.moveBookmarksDTD.SYSTE |
1d4580 | 4d 20 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 6c 6f 63 61 6c 65 2f 70 6c 61 63 65 | M."chrome://browser/locale/place |
1d45a0 | 73 2f 6d 6f 76 65 42 6f 6f 6b 6d 61 72 6b 73 2e 64 74 64 22 3e 0a 20 20 25 6d 6f 76 65 42 6f 6f | s/moveBookmarks.dtd">...%moveBoo |
1d45c0 | 6b 6d 61 72 6b 73 44 54 44 3b 0a 5d 3e 0a 0a 3c 64 69 61 6c 6f 67 20 69 64 3d 22 6d 6f 76 65 42 | kmarksDTD;.]>..<dialog.id="moveB |
1d45e0 | 6f 6f 6b 6d 61 72 6b 44 69 61 6c 6f 67 22 0a 20 20 20 20 20 20 20 20 78 6d 6c 6e 73 3d 22 68 74 | ookmarkDialog".........xmlns="ht |
1d4600 | 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6b 65 79 6d 61 73 74 65 72 2f 67 | tp://www.mozilla.org/keymaster/g |
1d4620 | 61 74 65 6b 65 65 70 65 72 2f 74 68 65 72 65 2e 69 73 2e 6f 6e 6c 79 2e 78 75 6c 22 0a 20 20 20 | atekeeper/there.is.only.xul".... |
1d4640 | 20 20 20 20 20 6f 6e 64 69 61 6c 6f 67 61 63 63 65 70 74 3d 22 72 65 74 75 72 6e 20 67 4d 6f 76 | .....ondialogaccept="return.gMov |
1d4660 | 65 42 6f 6f 6b 6d 61 72 6b 73 44 69 61 6c 6f 67 2e 6f 6e 4f 4b 28 65 76 65 6e 74 29 3b 22 0a 20 | eBookmarksDialog.onOK(event);".. |
1d4680 | 20 20 20 20 20 20 20 74 69 74 6c 65 3d 22 26 77 69 6e 64 6f 77 2e 74 69 74 6c 65 3b 22 0a 20 20 | .......title="&window.title;"... |
1d46a0 | 20 20 20 20 20 20 6f 6e 6c 6f 61 64 3d 22 67 4d 6f 76 65 42 6f 6f 6b 6d 61 72 6b 73 44 69 61 6c | ......onload="gMoveBookmarksDial |
1d46c0 | 6f 67 2e 69 6e 69 74 28 29 3b 22 0a 20 20 20 20 20 20 20 20 73 74 79 6c 65 3d 22 26 77 69 6e 64 | og.init();".........style="&wind |
1d46e0 | 6f 77 2e 73 74 79 6c 65 3b 22 0a 20 20 20 20 20 20 20 20 73 63 72 65 65 6e 58 3d 22 32 34 22 0a | ow.style;".........screenX="24". |
1d4700 | 20 20 20 20 20 20 20 20 73 63 72 65 65 6e 59 3d 22 32 34 22 0a 20 20 20 20 20 20 20 20 70 65 72 | ........screenY="24".........per |
1d4720 | 73 69 73 74 3d 22 73 63 72 65 65 6e 58 20 73 63 72 65 65 6e 59 20 77 69 64 74 68 20 68 65 69 67 | sist="screenX.screenY.width.heig |
1d4740 | 68 74 22 3e 0a 0a 20 20 3c 73 63 72 69 70 74 20 74 79 70 65 3d 22 61 70 70 6c 69 63 61 74 69 6f | ht">....<script.type="applicatio |
1d4760 | 6e 2f 78 2d 6a 61 76 61 73 63 72 69 70 74 22 0a 20 20 20 20 20 20 20 20 20 20 73 72 63 3d 22 63 | n/x-javascript"...........src="c |
1d4780 | 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 70 6c 61 63 65 73 2f 6d | hrome://browser/content/places/m |
1d47a0 | 6f 76 65 42 6f 6f 6b 6d 61 72 6b 73 2e 6a 73 22 2f 3e 0a 0a 20 20 3c 68 62 6f 78 20 66 6c 65 78 | oveBookmarks.js"/>....<hbox.flex |
1d47c0 | 3d 22 31 22 3e 0a 20 20 20 20 3c 6c 61 62 65 6c 20 69 64 3d 22 6d 6f 76 65 74 6f 6c 61 62 65 6c | ="1">.....<label.id="movetolabel |
1d47e0 | 22 20 76 61 6c 75 65 3d 22 26 6d 6f 76 65 54 6f 2e 6c 61 62 65 6c 3b 22 20 63 6f 6e 74 72 6f 6c | ".value="&moveTo.label;".control |
1d4800 | 3d 22 66 6f 6c 64 65 72 73 54 72 65 65 22 2f 3e 0a 20 20 20 20 3c 68 62 6f 78 20 66 6c 65 78 3d | ="foldersTree"/>.....<hbox.flex= |
1d4820 | 22 31 22 3e 0a 20 20 20 20 20 20 3c 74 72 65 65 20 69 64 3d 22 66 6f 6c 64 65 72 73 54 72 65 65 | "1">.......<tree.id="foldersTree |
1d4840 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 63 6c 61 73 73 3d 22 70 6c 61 63 65 73 54 72 65 65 22 | ".............class="placesTree" |
1d4860 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 66 6c 65 78 3d 22 31 22 0a 20 20 20 20 20 20 20 20 20 20 | .............flex="1"........... |
1d4880 | 20 20 74 79 70 65 3d 22 70 6c 61 63 65 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 73 65 6c 74 | ..type="places".............selt |
1d48a0 | 79 70 65 3d 22 73 69 6e 67 6c 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 68 69 64 65 63 6f 6c | ype="single".............hidecol |
1d48c0 | 75 6d 6e 70 69 63 6b 65 72 3d 22 74 72 75 65 22 3e 0a 20 20 20 20 20 20 20 20 3c 74 72 65 65 63 | umnpicker="true">.........<treec |
1d48e0 | 6f 6c 73 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 74 72 65 65 63 6f 6c 20 69 64 3d 22 74 69 74 6c | ols>...........<treecol.id="titl |
1d4900 | 65 22 20 66 6c 65 78 3d 22 31 22 20 70 72 69 6d 61 72 79 3d 22 74 72 75 65 22 20 68 69 64 65 68 | e".flex="1".primary="true".hideh |
1d4920 | 65 61 64 65 72 3d 22 74 72 75 65 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 2f 74 72 65 65 63 6f 6c | eader="true"/>.........</treecol |
1d4940 | 73 3e 0a 20 20 20 20 20 20 20 20 3c 74 72 65 65 63 68 69 6c 64 72 65 6e 20 69 64 3d 22 70 6c 61 | s>.........<treechildren.id="pla |
1d4960 | 63 65 73 4c 69 73 74 43 68 69 6c 64 72 65 6e 22 20 76 69 65 77 3d 22 70 6c 61 63 65 73 4c 69 73 | cesListChildren".view="placesLis |
1d4980 | 74 22 20 66 6c 65 78 3d 22 31 22 2f 3e 0a 20 20 20 20 20 20 3c 2f 74 72 65 65 3e 0a 20 20 20 20 | t".flex="1"/>.......</tree>..... |
1d49a0 | 20 20 3c 76 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 3c 62 75 74 74 6f 6e 20 69 64 3d 22 6e 65 77 | ..<vbox>.........<button.id="new |
1d49c0 | 46 6f 6c 64 65 72 42 75 74 74 6f 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 | FolderButton".................la |
1d49e0 | 62 65 6c 3d 22 26 6e 65 77 46 6f 6c 64 65 72 42 75 74 74 6f 6e 2e 6c 61 62 65 6c 3b 22 0a 20 20 | bel="&newFolderButton.label;"... |
1d4a00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 6e 65 77 46 6f 6c | ..............accesskey="&newFol |
1d4a20 | 64 65 72 42 75 74 74 6f 6e 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 | derButton.accesskey;"........... |
1d4a40 | 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 4d 6f 76 65 42 6f 6f 6b 6d 61 72 6b 73 44 | ......oncommand="gMoveBookmarksD |
1d4a60 | 69 61 6c 6f 67 2e 6e 65 77 46 6f 6c 64 65 72 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 2f 76 62 | ialog.newFolder();"/>.......</vb |
1d4a80 | 6f 78 3e 0a 20 20 20 20 3c 2f 68 62 6f 78 3e 0a 20 20 3c 2f 68 62 6f 78 3e 0a 3c 2f 64 69 61 6c | ox>.....</hbox>...</hbox>.</dial |
1d4aa0 | 6f 67 3e 0a 50 4b 03 04 14 00 00 00 00 00 f6 4b 18 3b 6b 94 c8 28 d5 0c 00 00 d5 0c 00 00 27 00 | og>.PK.........K.;k..(........'. |
1d4ac0 | 00 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 6c 61 63 65 73 2f 6d 6f 76 65 42 6f 6f | ..content/browser/places/moveBoo |
1d4ae0 | 6b 6d 61 72 6b 73 2e 6a 73 2f 2a 20 2d 2a 2d 20 4d 6f 64 65 3a 20 43 2b 2b 3b 20 74 61 62 2d 77 | kmarks.js/*.-*-.Mode:.C++;.tab-w |
1d4b00 | 69 64 74 68 3a 20 38 3b 20 69 6e 64 65 6e 74 2d 74 61 62 73 2d 6d 6f 64 65 3a 20 6e 69 6c 3b 20 | idth:.8;.indent-tabs-mode:.nil;. |
1d4b20 | 63 2d 62 61 73 69 63 2d 6f 66 66 73 65 74 3a 20 32 20 2d 2a 2d 20 2a 2f 0a 2f 2a 20 2a 2a 2a 2a | c-basic-offset:.2.-*-.*/./*.**** |
1d4b40 | 2a 20 42 45 47 49 4e 20 4c 49 43 45 4e 53 45 20 42 4c 4f 43 4b 20 2a 2a 2a 2a 2a 0a 20 2a 20 56 | *.BEGIN.LICENSE.BLOCK.*****..*.V |
1d4b60 | 65 72 73 69 6f 6e 3a 20 4d 50 4c 20 31 2e 31 2f 47 50 4c 20 32 2e 30 2f 4c 47 50 4c 20 32 2e 31 | ersion:.MPL.1.1/GPL.2.0/LGPL.2.1 |
1d4b80 | 0a 20 2a 0a 20 2a 20 54 68 65 20 63 6f 6e 74 65 6e 74 73 20 6f 66 20 74 68 69 73 20 66 69 6c 65 | ..*..*.The.contents.of.this.file |
1d4ba0 | 20 61 72 65 20 73 75 62 6a 65 63 74 20 74 6f 20 74 68 65 20 4d 6f 7a 69 6c 6c 61 20 50 75 62 6c | .are.subject.to.the.Mozilla.Publ |
1d4bc0 | 69 63 20 4c 69 63 65 6e 73 65 20 56 65 72 73 69 6f 6e 0a 20 2a 20 31 2e 31 20 28 74 68 65 20 22 | ic.License.Version..*.1.1.(the." |
1d4be0 | 4c 69 63 65 6e 73 65 22 29 3b 20 79 6f 75 20 6d 61 79 20 6e 6f 74 20 75 73 65 20 74 68 69 73 20 | License");.you.may.not.use.this. |
1d4c00 | 66 69 6c 65 20 65 78 63 65 70 74 20 69 6e 20 63 6f 6d 70 6c 69 61 6e 63 65 20 77 69 74 68 0a 20 | file.except.in.compliance.with.. |
1d4c20 | 2a 20 74 68 65 20 4c 69 63 65 6e 73 65 2e 20 59 6f 75 20 6d 61 79 20 6f 62 74 61 69 6e 20 61 20 | *.the.License..You.may.obtain.a. |
1d4c40 | 63 6f 70 79 20 6f 66 20 74 68 65 20 4c 69 63 65 6e 73 65 20 61 74 0a 20 2a 20 68 74 74 70 3a 2f | copy.of.the.License.at..*.http:/ |
1d4c60 | 2f 77 77 77 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 4d 50 4c 2f 0a 20 2a 0a 20 2a 20 53 6f 66 74 | /www.mozilla.org/MPL/..*..*.Soft |
1d4c80 | 77 61 72 65 20 64 69 73 74 72 69 62 75 74 65 64 20 75 6e 64 65 72 20 74 68 65 20 4c 69 63 65 6e | ware.distributed.under.the.Licen |
1d4ca0 | 73 65 20 69 73 20 64 69 73 74 72 69 62 75 74 65 64 20 6f 6e 20 61 6e 20 22 41 53 20 49 53 22 20 | se.is.distributed.on.an."AS.IS". |
1d4cc0 | 62 61 73 69 73 2c 0a 20 2a 20 57 49 54 48 4f 55 54 20 57 41 52 52 41 4e 54 59 20 4f 46 20 41 4e | basis,..*.WITHOUT.WARRANTY.OF.AN |
1d4ce0 | 59 20 4b 49 4e 44 2c 20 65 69 74 68 65 72 20 65 78 70 72 65 73 73 20 6f 72 20 69 6d 70 6c 69 65 | Y.KIND,.either.express.or.implie |
1d4d00 | 64 2e 20 53 65 65 20 74 68 65 20 4c 69 63 65 6e 73 65 0a 20 2a 20 66 6f 72 20 74 68 65 20 73 70 | d..See.the.License..*.for.the.sp |
1d4d20 | 65 63 69 66 69 63 20 6c 61 6e 67 75 61 67 65 20 67 6f 76 65 72 6e 69 6e 67 20 72 69 67 68 74 73 | ecific.language.governing.rights |
1d4d40 | 20 61 6e 64 20 6c 69 6d 69 74 61 74 69 6f 6e 73 20 75 6e 64 65 72 20 74 68 65 0a 20 2a 20 4c 69 | .and.limitations.under.the..*.Li |
1d4d60 | 63 65 6e 73 65 2e 0a 20 2a 0a 20 2a 20 54 68 65 20 4f 72 69 67 69 6e 61 6c 20 43 6f 64 65 20 69 | cense...*..*.The.Original.Code.i |
1d4d80 | 73 20 74 68 65 20 50 6c 61 63 65 73 20 4d 6f 76 65 20 42 6f 6f 6b 6d 61 72 6b 73 20 44 69 61 6c | s.the.Places.Move.Bookmarks.Dial |
1d4da0 | 6f 67 2e 0a 20 2a 0a 20 2a 20 54 68 65 20 49 6e 69 74 69 61 6c 20 44 65 76 65 6c 6f 70 65 72 20 | og...*..*.The.Initial.Developer. |
1d4dc0 | 6f 66 20 74 68 65 20 4f 72 69 67 69 6e 61 6c 20 43 6f 64 65 20 69 73 20 4d 6f 7a 69 6c 6c 61 20 | of.the.Original.Code.is.Mozilla. |
1d4de0 | 43 6f 72 70 6f 72 61 74 69 6f 6e 2e 0a 20 2a 20 50 6f 72 74 69 6f 6e 73 20 63 72 65 61 74 65 64 | Corporation...*.Portions.created |
1d4e00 | 20 62 79 20 74 68 65 20 49 6e 69 74 69 61 6c 20 44 65 76 65 6c 6f 70 65 72 20 61 72 65 20 43 6f | .by.the.Initial.Developer.are.Co |
1d4e20 | 70 79 72 69 67 68 74 20 28 43 29 20 32 30 30 37 0a 20 2a 20 74 68 65 20 49 6e 69 74 69 61 6c 20 | pyright.(C).2007..*.the.Initial. |
1d4e40 | 44 65 76 65 6c 6f 70 65 72 2e 20 41 6c 6c 20 52 69 67 68 74 73 20 52 65 73 65 72 76 65 64 2e 0a | Developer..All.Rights.Reserved.. |
1d4e60 | 20 2a 0a 20 2a 20 43 6f 6e 74 72 69 62 75 74 6f 72 28 73 29 3a 0a 20 2a 20 20 20 41 73 61 66 20 | .*..*.Contributor(s):..*...Asaf. |
1d4e80 | 52 6f 6d 61 6e 6f 20 3c 6d 61 6e 6f 40 6d 6f 7a 69 6c 6c 61 2e 63 6f 6d 3e 0a 20 2a 20 20 20 53 | Romano.<mano@mozilla.com>..*...S |
1d4ea0 | 75 6e 67 6a 6f 6f 6e 20 53 74 65 76 65 20 57 6f 6e 20 3c 73 74 65 76 65 77 6f 6e 40 67 6d 61 69 | ungjoon.Steve.Won.<stevewon@gmai |
1d4ec0 | 6c 2e 63 6f 6d 3e 0a 20 2a 0a 20 2a 20 41 6c 74 65 72 6e 61 74 69 76 65 6c 79 2c 20 74 68 65 20 | l.com>..*..*.Alternatively,.the. |
1d4ee0 | 63 6f 6e 74 65 6e 74 73 20 6f 66 20 74 68 69 73 20 66 69 6c 65 20 6d 61 79 20 62 65 20 75 73 65 | contents.of.this.file.may.be.use |
1d4f00 | 64 20 75 6e 64 65 72 20 74 68 65 20 74 65 72 6d 73 20 6f 66 0a 20 2a 20 65 69 74 68 65 72 20 74 | d.under.the.terms.of..*.either.t |
1d4f20 | 68 65 20 47 4e 55 20 47 65 6e 65 72 61 6c 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 20 56 65 | he.GNU.General.Public.License.Ve |
1d4f40 | 72 73 69 6f 6e 20 32 20 6f 72 20 6c 61 74 65 72 20 28 74 68 65 20 22 47 50 4c 22 29 2c 20 6f 72 | rsion.2.or.later.(the."GPL"),.or |
1d4f60 | 0a 20 2a 20 74 68 65 20 47 4e 55 20 4c 65 73 73 65 72 20 47 65 6e 65 72 61 6c 20 50 75 62 6c 69 | ..*.the.GNU.Lesser.General.Publi |
1d4f80 | 63 20 4c 69 63 65 6e 73 65 20 56 65 72 73 69 6f 6e 20 32 2e 31 20 6f 72 20 6c 61 74 65 72 20 28 | c.License.Version.2.1.or.later.( |
1d4fa0 | 74 68 65 20 22 4c 47 50 4c 22 29 2c 0a 20 2a 20 69 6e 20 77 68 69 63 68 20 63 61 73 65 20 74 68 | the."LGPL"),..*.in.which.case.th |
1d4fc0 | 65 20 70 72 6f 76 69 73 69 6f 6e 73 20 6f 66 20 74 68 65 20 47 50 4c 20 6f 72 20 74 68 65 20 4c | e.provisions.of.the.GPL.or.the.L |
1d4fe0 | 47 50 4c 20 61 72 65 20 61 70 70 6c 69 63 61 62 6c 65 20 69 6e 73 74 65 61 64 0a 20 2a 20 6f 66 | GPL.are.applicable.instead..*.of |
1d5000 | 20 74 68 6f 73 65 20 61 62 6f 76 65 2e 20 49 66 20 79 6f 75 20 77 69 73 68 20 74 6f 20 61 6c 6c | .those.above..If.you.wish.to.all |
1d5020 | 6f 77 20 75 73 65 20 6f 66 20 79 6f 75 72 20 76 65 72 73 69 6f 6e 20 6f 66 20 74 68 69 73 20 66 | ow.use.of.your.version.of.this.f |
1d5040 | 69 6c 65 20 6f 6e 6c 79 0a 20 2a 20 75 6e 64 65 72 20 74 68 65 20 74 65 72 6d 73 20 6f 66 20 65 | ile.only..*.under.the.terms.of.e |
1d5060 | 69 74 68 65 72 20 74 68 65 20 47 50 4c 20 6f 72 20 74 68 65 20 4c 47 50 4c 2c 20 61 6e 64 20 6e | ither.the.GPL.or.the.LGPL,.and.n |
1d5080 | 6f 74 20 74 6f 20 61 6c 6c 6f 77 20 6f 74 68 65 72 73 20 74 6f 0a 20 2a 20 75 73 65 20 79 6f 75 | ot.to.allow.others.to..*.use.you |
1d50a0 | 72 20 76 65 72 73 69 6f 6e 20 6f 66 20 74 68 69 73 20 66 69 6c 65 20 75 6e 64 65 72 20 74 68 65 | r.version.of.this.file.under.the |
1d50c0 | 20 74 65 72 6d 73 20 6f 66 20 74 68 65 20 4d 50 4c 2c 20 69 6e 64 69 63 61 74 65 20 79 6f 75 72 | .terms.of.the.MPL,.indicate.your |
1d50e0 | 0a 20 2a 20 64 65 63 69 73 69 6f 6e 20 62 79 20 64 65 6c 65 74 69 6e 67 20 74 68 65 20 70 72 6f | ..*.decision.by.deleting.the.pro |
1d5100 | 76 69 73 69 6f 6e 73 20 61 62 6f 76 65 20 61 6e 64 20 72 65 70 6c 61 63 65 20 74 68 65 6d 20 77 | visions.above.and.replace.them.w |
1d5120 | 69 74 68 20 74 68 65 20 6e 6f 74 69 63 65 0a 20 2a 20 61 6e 64 20 6f 74 68 65 72 20 70 72 6f 76 | ith.the.notice..*.and.other.prov |
1d5140 | 69 73 69 6f 6e 73 20 72 65 71 75 69 72 65 64 20 62 79 20 74 68 65 20 47 50 4c 20 6f 72 20 74 68 | isions.required.by.the.GPL.or.th |
1d5160 | 65 20 4c 47 50 4c 2e 20 49 66 20 79 6f 75 20 64 6f 20 6e 6f 74 20 64 65 6c 65 74 65 0a 20 2a 20 | e.LGPL..If.you.do.not.delete..*. |
1d5180 | 74 68 65 20 70 72 6f 76 69 73 69 6f 6e 73 20 61 62 6f 76 65 2c 20 61 20 72 65 63 69 70 69 65 6e | the.provisions.above,.a.recipien |
1d51a0 | 74 20 6d 61 79 20 75 73 65 20 79 6f 75 72 20 76 65 72 73 69 6f 6e 20 6f 66 20 74 68 69 73 20 66 | t.may.use.your.version.of.this.f |
1d51c0 | 69 6c 65 20 75 6e 64 65 72 0a 20 2a 20 74 68 65 20 74 65 72 6d 73 20 6f 66 20 61 6e 79 20 6f 6e | ile.under..*.the.terms.of.any.on |
1d51e0 | 65 20 6f 66 20 74 68 65 20 4d 50 4c 2c 20 74 68 65 20 47 50 4c 20 6f 72 20 74 68 65 20 4c 47 50 | e.of.the.MPL,.the.GPL.or.the.LGP |
1d5200 | 4c 2e 0a 20 2a 0a 20 2a 20 2a 2a 2a 2a 2a 20 45 4e 44 20 4c 49 43 45 4e 53 45 20 42 4c 4f 43 4b | L...*..*.*****.END.LICENSE.BLOCK |
1d5220 | 20 2a 2a 2a 2a 2a 20 2a 2f 0a 0a 76 61 72 20 67 4d 6f 76 65 42 6f 6f 6b 6d 61 72 6b 73 44 69 61 | .*****.*/..var.gMoveBookmarksDia |
1d5240 | 6c 6f 67 20 3d 20 7b 0a 20 20 5f 6e 6f 64 65 73 3a 20 6e 75 6c 6c 2c 0a 0a 20 20 5f 66 6f 6c 64 | log.=.{..._nodes:.null,...._fold |
1d5260 | 65 72 73 54 72 65 65 3a 20 6e 75 6c 6c 2c 0a 20 20 67 65 74 20 66 6f 6c 64 65 72 73 54 72 65 65 | ersTree:.null,...get.foldersTree |
1d5280 | 28 29 20 7b 0a 20 20 20 20 69 66 20 28 21 74 68 69 73 2e 5f 66 6f 6c 64 65 72 73 54 72 65 65 29 | ().{.....if.(!this._foldersTree) |
1d52a0 | 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 66 6f 6c 64 65 72 73 54 72 65 65 20 3d 20 64 6f 63 75 6d | .......this._foldersTree.=.docum |
1d52c0 | 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 66 6f 6c 64 65 72 73 54 72 65 65 22 | ent.getElementById("foldersTree" |
1d52e0 | 29 3b 0a 0a 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 66 6f 6c 64 65 72 73 54 72 65 65 | );......return.this._foldersTree |
1d5300 | 3b 0a 20 20 7d 2c 0a 0a 20 20 69 6e 69 74 3a 20 66 75 6e 63 74 69 6f 6e 28 29 20 7b 0a 20 20 20 | ;...},....init:.function().{.... |
1d5320 | 20 74 68 69 73 2e 5f 6e 6f 64 65 73 20 3d 20 77 69 6e 64 6f 77 2e 61 72 67 75 6d 65 6e 74 73 5b | .this._nodes.=.window.arguments[ |
1d5340 | 30 5d 3b 0a 0a 20 20 20 20 74 68 69 73 2e 66 6f 6c 64 65 72 73 54 72 65 65 2e 70 6c 61 63 65 20 | 0];......this.foldersTree.place. |
1d5360 | 3d 0a 20 20 20 20 20 20 22 70 6c 61 63 65 3a 65 78 63 6c 75 64 65 49 74 65 6d 73 3d 31 26 65 78 | =......."place:excludeItems=1&ex |
1d5380 | 63 6c 75 64 65 51 75 65 72 69 65 73 3d 31 26 65 78 63 6c 75 64 65 52 65 61 64 4f 6e 6c 79 46 6f | cludeQueries=1&excludeReadOnlyFo |
1d53a0 | 6c 64 65 72 73 3d 31 26 66 6f 6c 64 65 72 3d 22 20 2b 0a 20 20 20 20 20 20 50 6c 61 63 65 73 55 | lders=1&folder=".+.......PlacesU |
1d53c0 | 49 55 74 69 6c 73 2e 61 6c 6c 42 6f 6f 6b 6d 61 72 6b 73 46 6f 6c 64 65 72 49 64 3b 0a 20 20 7d | IUtils.allBookmarksFolderId;...} |
1d53e0 | 2c 0a 0a 20 20 6f 6e 4f 4b 3a 20 66 75 6e 63 74 69 6f 6e 20 4d 42 44 5f 6f 6e 4f 4b 28 61 45 76 | ,....onOK:.function.MBD_onOK(aEv |
1d5400 | 65 6e 74 29 20 7b 0a 20 20 20 20 76 61 72 20 73 65 6c 65 63 74 65 64 4e 6f 64 65 20 3d 20 74 68 | ent).{.....var.selectedNode.=.th |
1d5420 | 69 73 2e 66 6f 6c 64 65 72 73 54 72 65 65 2e 73 65 6c 65 63 74 65 64 4e 6f 64 65 3b 0a 20 20 20 | is.foldersTree.selectedNode;.... |
1d5440 | 20 4e 53 5f 41 53 53 45 52 54 28 73 65 6c 65 63 74 65 64 4e 6f 64 65 2c 0a 20 20 20 20 20 20 20 | .NS_ASSERT(selectedNode,........ |
1d5460 | 20 20 20 20 20 20 20 22 73 65 6c 65 63 74 65 64 4e 6f 64 65 20 6d 75 73 74 20 62 65 20 73 65 74 | ......."selectedNode.must.be.set |
1d5480 | 20 69 6e 20 61 20 73 69 6e 67 6c 65 2d 73 65 6c 65 63 74 69 6f 6e 20 74 72 65 65 20 77 69 74 68 | .in.a.single-selection.tree.with |
1d54a0 | 20 69 6e 69 74 69 61 6c 20 73 65 6c 65 63 74 69 6f 6e 20 73 65 74 22 29 3b 0a 20 20 20 20 76 61 | .initial.selection.set");.....va |
1d54c0 | 72 20 73 65 6c 65 63 74 65 64 46 6f 6c 64 65 72 49 44 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 | r.selectedFolderID.=.PlacesUtils |
1d54e0 | 2e 67 65 74 43 6f 6e 63 72 65 74 65 49 74 65 6d 49 64 28 73 65 6c 65 63 74 65 64 4e 6f 64 65 29 | .getConcreteItemId(selectedNode) |
1d5500 | 3b 0a 0a 20 20 20 20 76 61 72 20 74 72 61 6e 73 61 63 74 69 6f 6e 73 20 3d 20 5b 5d 3b 0a 20 20 | ;......var.transactions.=.[];... |
1d5520 | 20 20 66 6f 72 20 28 76 61 72 20 69 3d 30 3b 20 69 20 3c 20 74 68 69 73 2e 5f 6e 6f 64 65 73 2e | ..for.(var.i=0;.i.<.this._nodes. |
1d5540 | 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 20 7b 0a 20 20 20 20 20 20 2f 2f 20 4e 6f 74 68 69 6e 67 20 | length;.i++).{.......//.Nothing. |
1d5560 | 74 6f 20 64 6f 20 69 66 20 74 68 65 20 6e 6f 64 65 20 69 73 20 61 6c 72 65 61 64 79 20 75 6e 64 | to.do.if.the.node.is.already.und |
1d5580 | 65 72 20 74 68 65 20 73 65 6c 65 63 74 65 64 20 66 6f 6c 64 65 72 0a 20 20 20 20 20 20 69 66 20 | er.the.selected.folder.......if. |
1d55a0 | 28 74 68 69 73 2e 5f 6e 6f 64 65 73 5b 69 5d 2e 70 61 72 65 6e 74 2e 69 74 65 6d 49 64 20 3d 3d | (this._nodes[i].parent.itemId.== |
1d55c0 | 20 73 65 6c 65 63 74 65 64 46 6f 6c 64 65 72 49 44 29 0a 20 20 20 20 20 20 20 20 63 6f 6e 74 69 | .selectedFolderID).........conti |
1d55e0 | 6e 75 65 3b 0a 0a 20 20 20 20 20 20 74 72 61 6e 73 61 63 74 69 6f 6e 73 2e 70 75 73 68 28 6e 65 | nue;........transactions.push(ne |
1d5600 | 77 0a 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 70 74 6d 2e 6d 6f 76 65 | w.........PlacesUIUtils.ptm.move |
1d5620 | 49 74 65 6d 28 74 68 69 73 2e 5f 6e 6f 64 65 73 5b 69 5d 2e 69 74 65 6d 49 64 2c 20 73 65 6c 65 | Item(this._nodes[i].itemId,.sele |
1d5640 | 63 74 65 64 46 6f 6c 64 65 72 49 44 2c 20 2d 31 29 29 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 69 | ctedFolderID,.-1));.....}......i |
1d5660 | 66 20 28 74 72 61 6e 73 61 63 74 69 6f 6e 73 2e 6c 65 6e 67 74 68 20 21 3d 20 30 29 20 7b 0a 20 | f.(transactions.length.!=.0).{.. |
1d5680 | 20 20 20 20 20 76 61 72 20 74 78 6e 20 3d 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 70 74 6d | .....var.txn.=.PlacesUIUtils.ptm |
1d56a0 | 2e 61 67 67 72 65 67 61 74 65 54 72 61 6e 73 61 63 74 69 6f 6e 73 28 22 4d 6f 76 65 20 49 74 65 | .aggregateTransactions("Move.Ite |
1d56c0 | 6d 73 22 2c 20 74 72 61 6e 73 61 63 74 69 6f 6e 73 29 3b 0a 20 20 20 20 20 20 50 6c 61 63 65 73 | ms",.transactions);.......Places |
1d56e0 | 55 49 55 74 69 6c 73 2e 70 74 6d 2e 64 6f 54 72 61 6e 73 61 63 74 69 6f 6e 28 74 78 6e 29 3b 0a | UIUtils.ptm.doTransaction(txn);. |
1d5700 | 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 6e 65 77 46 6f 6c 64 65 72 3a 20 66 75 6e 63 74 69 6f | ....}...},....newFolder:.functio |
1d5720 | 6e 20 4d 42 44 5f 6e 65 77 46 6f 6c 64 65 72 28 29 20 7b 0a 20 20 20 20 2f 2f 20 54 68 65 20 63 | n.MBD_newFolder().{.....//.The.c |
1d5740 | 6f 6d 6d 61 6e 64 20 69 73 20 64 69 73 61 62 6c 65 64 20 77 68 65 6e 20 74 68 65 20 74 72 65 65 | ommand.is.disabled.when.the.tree |
1d5760 | 20 69 73 20 6e 6f 74 20 66 6f 63 75 73 65 64 0a 20 20 20 20 74 68 69 73 2e 66 6f 6c 64 65 72 73 | .is.not.focused.....this.folders |
1d5780 | 54 72 65 65 2e 66 6f 63 75 73 28 29 3b 0a 20 20 20 20 67 6f 44 6f 43 6f 6d 6d 61 6e 64 28 22 70 | Tree.focus();.....goDoCommand("p |
1d57a0 | 6c 61 63 65 73 43 6d 64 5f 6e 65 77 3a 66 6f 6c 64 65 72 22 29 3b 0a 20 20 7d 0a 7d 3b 0a 50 4b | lacesCmd_new:folder");...}.};.PK |
1d57c0 | 03 04 14 00 00 00 00 00 f6 4b 18 3b 2d c3 54 24 b6 24 00 00 b6 24 00 00 2e 00 00 00 63 6f 6e 74 | .........K.;-.T$.$...$......cont |
1d57e0 | 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 6c 61 63 65 73 2f 65 64 69 74 42 6f 6f 6b 6d 61 72 6b 4f | ent/browser/places/editBookmarkO |
1d5800 | 76 65 72 6c 61 79 2e 78 75 6c 0a 3c 21 44 4f 43 54 59 50 45 20 6f 76 65 72 6c 61 79 20 5b 0a 3c | verlay.xul.<!DOCTYPE.overlay.[.< |
1d5820 | 21 45 4e 54 49 54 59 20 25 20 65 64 69 74 42 6f 6f 6b 6d 61 72 6b 4f 76 65 72 6c 61 79 44 54 44 | !ENTITY.%.editBookmarkOverlayDTD |
1d5840 | 20 53 59 53 54 45 4d 20 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 6c 6f 63 61 6c 65 | .SYSTEM."chrome://browser/locale |
1d5860 | 2f 70 6c 61 63 65 73 2f 65 64 69 74 42 6f 6f 6b 6d 61 72 6b 4f 76 65 72 6c 61 79 2e 64 74 64 22 | /places/editBookmarkOverlay.dtd" |
1d5880 | 3e 0a 25 65 64 69 74 42 6f 6f 6b 6d 61 72 6b 4f 76 65 72 6c 61 79 44 54 44 3b 0a 5d 3e 0a 0a 3c | >.%editBookmarkOverlayDTD;.]>..< |
1d58a0 | 3f 78 6d 6c 2d 73 74 79 6c 65 73 68 65 65 74 20 68 72 65 66 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 | ?xml-stylesheet.href="chrome://b |
1d58c0 | 72 6f 77 73 65 72 2f 73 6b 69 6e 2f 70 6c 61 63 65 73 2f 65 64 69 74 42 6f 6f 6b 6d 61 72 6b 4f | rowser/skin/places/editBookmarkO |
1d58e0 | 76 65 72 6c 61 79 2e 63 73 73 22 3f 3e 0a 3c 3f 78 6d 6c 2d 73 74 79 6c 65 73 68 65 65 74 20 68 | verlay.css"?>.<?xml-stylesheet.h |
1d5900 | 72 65 66 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 73 6b 69 6e 2f 70 6c 61 63 65 | ref="chrome://browser/skin/place |
1d5920 | 73 2f 70 6c 61 63 65 73 2e 63 73 73 22 3f 3e 0a 0a 3c 6f 76 65 72 6c 61 79 20 69 64 3d 22 65 64 | s/places.css"?>..<overlay.id="ed |
1d5940 | 69 74 42 6f 6f 6b 6d 61 72 6b 4f 76 65 72 6c 61 79 22 0a 20 20 20 20 20 20 20 20 20 78 6d 6c 6e | itBookmarkOverlay"..........xmln |
1d5960 | 73 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6b 65 79 6d 61 73 | s="http://www.mozilla.org/keymas |
1d5980 | 74 65 72 2f 67 61 74 65 6b 65 65 70 65 72 2f 74 68 65 72 65 2e 69 73 2e 6f 6e 6c 79 2e 78 75 6c | ter/gatekeeper/there.is.only.xul |
1d59a0 | 22 3e 0a 0a 20 20 3c 76 62 6f 78 20 69 64 3d 22 65 64 69 74 42 6f 6f 6b 6d 61 72 6b 50 61 6e 65 | ">....<vbox.id="editBookmarkPane |
1d59c0 | 6c 43 6f 6e 74 65 6e 74 22 3e 0a 20 20 20 20 3c 62 72 6f 61 64 63 61 73 74 65 72 20 69 64 3d 22 | lContent">.....<broadcaster.id=" |
1d59e0 | 70 61 6e 65 45 6c 65 6d 65 6e 74 73 42 72 6f 61 64 63 61 73 74 65 72 22 2f 3e 0a 0a 20 20 20 20 | paneElementsBroadcaster"/>...... |
1d5a00 | 3c 68 62 6f 78 20 69 64 3d 22 65 64 69 74 42 4d 50 61 6e 65 6c 5f 73 65 6c 65 63 74 69 6f 6e 43 | <hbox.id="editBMPanel_selectionC |
1d5a20 | 6f 75 6e 74 22 20 68 69 64 64 65 6e 3d 22 74 72 75 65 22 20 70 61 63 6b 3d 22 63 65 6e 74 65 72 | ount".hidden="true".pack="center |
1d5a40 | 22 3e 0a 20 20 20 20 20 20 3c 6c 61 62 65 6c 20 69 64 3d 22 65 64 69 74 42 4d 50 61 6e 65 6c 5f | ">.......<label.id="editBMPanel_ |
1d5a60 | 69 74 65 6d 73 43 6f 75 6e 74 54 65 78 74 22 2f 3e 0a 20 20 20 20 3c 2f 68 62 6f 78 3e 0a 0a 20 | itemsCountText"/>.....</hbox>... |
1d5a80 | 20 20 20 3c 67 72 69 64 20 69 64 3d 22 65 64 69 74 42 6f 6f 6b 6d 61 72 6b 50 61 6e 65 6c 47 72 | ...<grid.id="editBookmarkPanelGr |
1d5aa0 | 69 64 22 20 66 6c 65 78 3d 22 31 22 3e 0a 20 20 20 20 20 20 3c 63 6f 6c 75 6d 6e 73 3e 0a 20 20 | id".flex="1">.......<columns>... |
1d5ac0 | 20 20 20 20 20 20 3c 63 6f 6c 75 6d 6e 2f 3e 0a 20 20 20 20 20 20 20 20 3c 63 6f 6c 75 6d 6e 20 | ......<column/>.........<column. |
1d5ae0 | 66 6c 65 78 3d 22 31 22 2f 3e 0a 20 20 20 20 20 20 3c 2f 63 6f 6c 75 6d 6e 73 3e 0a 20 20 20 20 | flex="1"/>.......</columns>..... |
1d5b00 | 20 20 3c 72 6f 77 73 3e 0a 20 20 20 20 20 20 20 20 3c 72 6f 77 20 61 6c 69 67 6e 3d 22 63 65 6e | ..<rows>.........<row.align="cen |
1d5b20 | 74 65 72 22 20 69 64 3d 22 65 64 69 74 42 4d 50 61 6e 65 6c 5f 6e 61 6d 65 52 6f 77 22 3e 0a 20 | ter".id="editBMPanel_nameRow">.. |
1d5b40 | 20 20 20 20 20 20 20 20 20 3c 6c 61 62 65 6c 20 76 61 6c 75 65 3d 22 26 65 64 69 74 42 6f 6f 6b | .........<label.value="&editBook |
1d5b60 | 6d 61 72 6b 4f 76 65 72 6c 61 79 2e 6e 61 6d 65 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 | markOverlay.name.label;"........ |
1d5b80 | 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 65 64 69 74 42 6f 6f 6b 6d 61 | ..........accesskey="&editBookma |
1d5ba0 | 72 6b 4f 76 65 72 6c 61 79 2e 6e 61 6d 65 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 | rkOverlay.name.accesskey;"...... |
1d5bc0 | 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6e 74 72 6f 6c 3d 22 65 64 69 74 42 4d 50 61 6e 65 6c | ............control="editBMPanel |
1d5be0 | 5f 6e 61 6d 65 50 69 63 6b 65 72 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 62 | _namePicker"..................ob |
1d5c00 | 73 65 72 76 65 73 3d 22 70 61 6e 65 45 6c 65 6d 65 6e 74 73 42 72 6f 61 64 63 61 73 74 65 72 22 | serves="paneElementsBroadcaster" |
1d5c20 | 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 6c 69 73 74 20 69 64 3d 22 65 64 69 74 42 | />...........<menulist.id="editB |
1d5c40 | 4d 50 61 6e 65 6c 5f 6e 61 6d 65 50 69 63 6b 65 72 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | MPanel_namePicker".............. |
1d5c60 | 20 20 20 20 20 20 20 66 6c 65 78 3d 22 31 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .......flex="1"................. |
1d5c80 | 20 20 20 20 65 64 69 74 61 62 6c 65 3d 22 74 72 75 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ....editable="true"............. |
1d5ca0 | 20 20 20 20 20 20 20 20 64 72 6f 70 70 61 62 6c 65 3d 22 66 61 6c 73 65 22 0a 20 20 20 20 20 20 | ........droppable="false"....... |
1d5cc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 69 6e 70 75 74 3d 22 67 45 64 69 74 49 74 65 6d | ..............oninput="gEditItem |
1d5ce0 | 4f 76 65 72 6c 61 79 2e 6f 6e 4e 61 6d 65 50 69 63 6b 65 72 49 6e 70 75 74 28 29 3b 22 0a 20 20 | Overlay.onNamePickerInput();"... |
1d5d00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 62 6c 75 72 3d 22 67 45 64 69 74 49 | ..................onblur="gEditI |
1d5d20 | 74 65 6d 4f 76 65 72 6c 61 79 2e 6f 6e 4e 61 6d 65 50 69 63 6b 65 72 43 68 61 6e 67 65 28 29 3b | temOverlay.onNamePickerChange(); |
1d5d40 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d | ".....................oncommand= |
1d5d60 | 22 67 45 64 69 74 49 74 65 6d 4f 76 65 72 6c 61 79 2e 6f 6e 4e 61 6d 65 50 69 63 6b 65 72 43 68 | "gEditItemOverlay.onNamePickerCh |
1d5d80 | 61 6e 67 65 28 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 62 73 | ange();".....................obs |
1d5da0 | 65 72 76 65 73 3d 22 70 61 6e 65 45 6c 65 6d 65 6e 74 73 42 72 6f 61 64 63 61 73 74 65 72 22 3e | erves="paneElementsBroadcaster"> |
1d5dc0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 70 6f 70 75 70 3e 0a 20 20 20 20 20 20 20 | .............<menupopup>........ |
1d5de0 | 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 65 64 69 74 42 4d 50 61 6e 65 6c | .......<menuitem.id="editBMPanel |
1d5e00 | 5f 75 73 65 72 45 6e 74 65 72 65 64 4e 61 6d 65 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 | _userEnteredName"/>............. |
1d5e20 | 20 20 3c 6d 65 6e 75 69 74 65 6d 20 64 69 73 61 62 6c 65 64 3d 22 74 72 75 65 22 3e 0a 20 20 20 | ..<menuitem.disabled="true">.... |
1d5e40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 73 65 70 61 72 61 74 6f 72 20 66 6c 65 78 | .............<menuseparator.flex |
1d5e60 | 3d 22 31 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6c 61 62 65 6c 20 76 61 | ="1"/>.................<label.va |
1d5e80 | 6c 75 65 3d 22 26 65 64 69 74 42 6f 6f 6b 6d 61 72 6b 4f 76 65 72 6c 61 79 2e 6c 69 76 65 54 69 | lue="&editBookmarkOverlay.liveTi |
1d5ea0 | 74 6c 65 73 53 65 70 61 72 61 74 6f 72 2e 6c 61 62 65 6c 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 | tlesSeparator.label;"/>......... |
1d5ec0 | 20 20 20 20 20 20 3c 2f 6d 65 6e 75 69 74 65 6d 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f | ......</menuitem>.............</ |
1d5ee0 | 6d 65 6e 75 70 6f 70 75 70 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 2f 6d 65 6e 75 6c 69 73 74 3e | menupopup>...........</menulist> |
1d5f00 | 0a 20 20 20 20 20 20 20 20 3c 2f 72 6f 77 3e 0a 0a 20 20 20 20 20 20 20 20 3c 72 6f 77 20 61 6c | .........</row>..........<row.al |
1d5f20 | 69 67 6e 3d 22 63 65 6e 74 65 72 22 20 69 64 3d 22 65 64 69 74 42 4d 50 61 6e 65 6c 5f 6c 6f 63 | ign="center".id="editBMPanel_loc |
1d5f40 | 61 74 69 6f 6e 52 6f 77 22 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 6c 61 62 65 6c 20 76 61 6c 75 | ationRow">...........<label.valu |
1d5f60 | 65 3d 22 26 65 64 69 74 42 6f 6f 6b 6d 61 72 6b 4f 76 65 72 6c 61 79 2e 6c 6f 63 61 74 69 6f 6e | e="&editBookmarkOverlay.location |
1d5f80 | 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 | .label;"..................access |
1d5fa0 | 6b 65 79 3d 22 26 65 64 69 74 42 6f 6f 6b 6d 61 72 6b 4f 76 65 72 6c 61 79 2e 6c 6f 63 61 74 69 | key="&editBookmarkOverlay.locati |
1d5fc0 | 6f 6e 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | on.accesskey;".................. |
1d5fe0 | 63 6f 6e 74 72 6f 6c 3d 22 65 64 69 74 42 4d 50 61 6e 65 6c 5f 6c 6f 63 61 74 69 6f 6e 46 69 65 | control="editBMPanel_locationFie |
1d6000 | 6c 64 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 62 73 65 72 76 65 73 3d 22 70 | ld"..................observes="p |
1d6020 | 61 6e 65 45 6c 65 6d 65 6e 74 73 42 72 6f 61 64 63 61 73 74 65 72 22 2f 3e 0a 20 20 20 20 20 20 | aneElementsBroadcaster"/>....... |
1d6040 | 20 20 20 20 3c 74 65 78 74 62 6f 78 20 69 64 3d 22 65 64 69 74 42 4d 50 61 6e 65 6c 5f 6c 6f 63 | ....<textbox.id="editBMPanel_loc |
1d6060 | 61 74 69 6f 6e 46 69 65 6c 64 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 | ationField"....................c |
1d6080 | 6c 61 73 73 3d 22 75 72 69 2d 65 6c 65 6d 65 6e 74 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | lass="uri-element".............. |
1d60a0 | 20 20 20 20 20 20 6f 6e 62 6c 75 72 3d 22 67 45 64 69 74 49 74 65 6d 4f 76 65 72 6c 61 79 2e 6f | ......onblur="gEditItemOverlay.o |
1d60c0 | 6e 4c 6f 63 61 74 69 6f 6e 46 69 65 6c 64 42 6c 75 72 28 29 3b 22 0a 20 20 20 20 20 20 20 20 20 | nLocationFieldBlur();".......... |
1d60e0 | 20 20 20 20 20 20 20 20 20 20 6f 62 73 65 72 76 65 73 3d 22 70 61 6e 65 45 6c 65 6d 65 6e 74 73 | ..........observes="paneElements |
1d6100 | 42 72 6f 61 64 63 61 73 74 65 72 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 2f 72 6f 77 3e 0a 0a 20 | Broadcaster"/>.........</row>... |
1d6120 | 20 20 20 20 20 20 20 3c 72 6f 77 20 61 6c 69 67 6e 3d 22 63 65 6e 74 65 72 22 20 69 64 3d 22 65 | .......<row.align="center".id="e |
1d6140 | 64 69 74 42 4d 50 61 6e 65 6c 5f 66 65 65 64 4c 6f 63 61 74 69 6f 6e 52 6f 77 22 3e 0a 20 20 20 | ditBMPanel_feedLocationRow">.... |
1d6160 | 20 20 20 20 20 20 20 3c 6c 61 62 65 6c 20 76 61 6c 75 65 3d 22 26 65 64 69 74 42 6f 6f 6b 6d 61 | .......<label.value="&editBookma |
1d6180 | 72 6b 4f 76 65 72 6c 61 79 2e 66 65 65 64 4c 6f 63 61 74 69 6f 6e 2e 6c 61 62 65 6c 3b 22 0a 20 | rkOverlay.feedLocation.label;".. |
1d61a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 65 64 69 74 | ................accesskey="&edit |
1d61c0 | 42 6f 6f 6b 6d 61 72 6b 4f 76 65 72 6c 61 79 2e 66 65 65 64 4c 6f 63 61 74 69 6f 6e 2e 61 63 63 | BookmarkOverlay.feedLocation.acc |
1d61e0 | 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6e 74 72 6f | esskey;"..................contro |
1d6200 | 6c 3d 22 65 64 69 74 42 4d 50 61 6e 65 6c 5f 66 65 65 64 4c 6f 63 61 74 69 6f 6e 46 69 65 6c 64 | l="editBMPanel_feedLocationField |
1d6220 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 62 73 65 72 76 65 73 3d 22 70 61 6e | "..................observes="pan |
1d6240 | 65 45 6c 65 6d 65 6e 74 73 42 72 6f 61 64 63 61 73 74 65 72 22 2f 3e 0a 20 20 20 20 20 20 20 20 | eElementsBroadcaster"/>......... |
1d6260 | 20 20 3c 74 65 78 74 62 6f 78 20 69 64 3d 22 65 64 69 74 42 4d 50 61 6e 65 6c 5f 66 65 65 64 4c | ..<textbox.id="editBMPanel_feedL |
1d6280 | 6f 63 61 74 69 6f 6e 46 69 65 6c 64 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ocationField"................... |
1d62a0 | 20 63 6c 61 73 73 3d 22 75 72 69 2d 65 6c 65 6d 65 6e 74 22 0a 20 20 20 20 20 20 20 20 20 20 20 | .class="uri-element"............ |
1d62c0 | 20 20 20 20 20 20 20 20 6f 6e 62 6c 75 72 3d 22 67 45 64 69 74 49 74 65 6d 4f 76 65 72 6c 61 79 | ........onblur="gEditItemOverlay |
1d62e0 | 2e 6f 6e 46 65 65 64 4c 6f 63 61 74 69 6f 6e 46 69 65 6c 64 42 6c 75 72 28 29 3b 22 0a 20 20 20 | .onFeedLocationFieldBlur();".... |
1d6300 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 62 73 65 72 76 65 73 3d 22 70 61 6e 65 45 6c | ................observes="paneEl |
1d6320 | 65 6d 65 6e 74 73 42 72 6f 61 64 63 61 73 74 65 72 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 2f 72 | ementsBroadcaster"/>.........</r |
1d6340 | 6f 77 3e 0a 0a 20 20 20 20 20 20 20 20 3c 72 6f 77 20 61 6c 69 67 6e 3d 22 63 65 6e 74 65 72 22 | ow>..........<row.align="center" |
1d6360 | 20 69 64 3d 22 65 64 69 74 42 4d 50 61 6e 65 6c 5f 73 69 74 65 4c 6f 63 61 74 69 6f 6e 52 6f 77 | .id="editBMPanel_siteLocationRow |
1d6380 | 22 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 6c 61 62 65 6c 20 76 61 6c 75 65 3d 22 26 65 64 69 74 | ">...........<label.value="&edit |
1d63a0 | 42 6f 6f 6b 6d 61 72 6b 4f 76 65 72 6c 61 79 2e 73 69 74 65 4c 6f 63 61 74 69 6f 6e 2e 6c 61 62 | BookmarkOverlay.siteLocation.lab |
1d63c0 | 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d | el;"..................accesskey= |
1d63e0 | 22 26 65 64 69 74 42 6f 6f 6b 6d 61 72 6b 4f 76 65 72 6c 61 79 2e 73 69 74 65 4c 6f 63 61 74 69 | "&editBookmarkOverlay.siteLocati |
1d6400 | 6f 6e 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | on.accesskey;".................. |
1d6420 | 63 6f 6e 74 72 6f 6c 3d 22 65 64 69 74 42 4d 50 61 6e 65 6c 5f 73 69 74 65 4c 6f 63 61 74 69 6f | control="editBMPanel_siteLocatio |
1d6440 | 6e 46 69 65 6c 64 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 62 73 65 72 76 65 | nField"..................observe |
1d6460 | 73 3d 22 70 61 6e 65 45 6c 65 6d 65 6e 74 73 42 72 6f 61 64 63 61 73 74 65 72 22 2f 3e 0a 20 20 | s="paneElementsBroadcaster"/>... |
1d6480 | 20 20 20 20 20 20 20 20 3c 74 65 78 74 62 6f 78 20 69 64 3d 22 65 64 69 74 42 4d 50 61 6e 65 6c | ........<textbox.id="editBMPanel |
1d64a0 | 5f 73 69 74 65 4c 6f 63 61 74 69 6f 6e 46 69 65 6c 64 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 | _siteLocationField"............. |
1d64c0 | 20 20 20 20 20 20 20 63 6c 61 73 73 3d 22 75 72 69 2d 65 6c 65 6d 65 6e 74 22 0a 20 20 20 20 20 | .......class="uri-element"...... |
1d64e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 62 6c 75 72 3d 22 67 45 64 69 74 49 74 65 6d 4f | ..............onblur="gEditItemO |
1d6500 | 76 65 72 6c 61 79 2e 6f 6e 53 69 74 65 4c 6f 63 61 74 69 6f 6e 46 69 65 6c 64 42 6c 75 72 28 29 | verlay.onSiteLocationFieldBlur() |
1d6520 | 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 62 73 65 72 76 65 73 3d 22 | ;"....................observes=" |
1d6540 | 70 61 6e 65 45 6c 65 6d 65 6e 74 73 42 72 6f 61 64 63 61 73 74 65 72 22 2f 3e 0a 20 20 20 20 20 | paneElementsBroadcaster"/>...... |
1d6560 | 20 20 20 3c 2f 72 6f 77 3e 0a 0a 20 20 20 20 20 20 20 20 3c 72 6f 77 20 61 6c 69 67 6e 3d 22 63 | ...</row>..........<row.align="c |
1d6580 | 65 6e 74 65 72 22 20 69 64 3d 22 65 64 69 74 42 4d 50 61 6e 65 6c 5f 66 6f 6c 64 65 72 52 6f 77 | enter".id="editBMPanel_folderRow |
1d65a0 | 22 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 6c 61 62 65 6c 20 76 61 6c 75 65 3d 22 26 65 64 69 74 | ">...........<label.value="&edit |
1d65c0 | 42 6f 6f 6b 6d 61 72 6b 4f 76 65 72 6c 61 79 2e 66 6f 6c 64 65 72 2e 6c 61 62 65 6c 3b 22 0a 20 | BookmarkOverlay.folder.label;".. |
1d65e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6e 74 72 6f 6c 3d 22 65 64 69 74 42 4d 50 | ................control="editBMP |
1d6600 | 61 6e 65 6c 5f 66 6f 6c 64 65 72 4d 65 6e 75 4c 69 73 74 22 0a 20 20 20 20 20 20 20 20 20 20 20 | anel_folderMenuList"............ |
1d6620 | 20 20 20 20 20 20 6f 62 73 65 72 76 65 73 3d 22 70 61 6e 65 45 6c 65 6d 65 6e 74 73 42 72 6f 61 | ......observes="paneElementsBroa |
1d6640 | 64 63 61 73 74 65 72 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 68 62 6f 78 20 66 6c 65 78 3d | dcaster"/>...........<hbox.flex= |
1d6660 | 22 31 22 20 61 6c 69 67 6e 3d 22 63 65 6e 74 65 72 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 | "1".align="center">............. |
1d6680 | 3c 6d 65 6e 75 6c 69 73 74 20 69 64 3d 22 65 64 69 74 42 4d 50 61 6e 65 6c 5f 66 6f 6c 64 65 72 | <menulist.id="editBMPanel_folder |
1d66a0 | 4d 65 6e 75 4c 69 73 74 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | MenuList"....................... |
1d66c0 | 63 6c 61 73 73 3d 22 66 6f 6c 64 65 72 2d 69 63 6f 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 | class="folder-icon"............. |
1d66e0 | 20 20 20 20 20 20 20 20 20 20 66 6c 65 78 3d 22 31 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ..........flex="1".............. |
1d6700 | 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 45 64 69 74 49 74 65 6d 4f 76 65 | .........oncommand="gEditItemOve |
1d6720 | 72 6c 61 79 2e 6f 6e 46 6f 6c 64 65 72 4d 65 6e 75 4c 69 73 74 43 6f 6d 6d 61 6e 64 28 65 76 65 | rlay.onFolderMenuListCommand(eve |
1d6740 | 6e 74 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 62 73 65 | nt);".......................obse |
1d6760 | 72 76 65 73 3d 22 70 61 6e 65 45 6c 65 6d 65 6e 74 73 42 72 6f 61 64 63 61 73 74 65 72 22 3e 0a | rves="paneElementsBroadcaster">. |
1d6780 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 70 6f 70 75 70 3e 0a 20 20 20 20 20 20 | ..............<menupopup>....... |
1d67a0 | 20 20 20 20 20 20 20 20 20 20 3c 21 2d 2d 20 53 74 61 74 69 63 20 69 74 65 6d 20 66 6f 72 20 73 | ..........<!--.Static.item.for.s |
1d67c0 | 70 65 63 69 61 6c 20 66 6f 6c 64 65 72 73 20 2d 2d 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | pecial.folders.-->.............. |
1d67e0 | 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 65 64 69 74 42 4d 50 61 6e 65 6c 5f 74 6f 6f | ...<menuitem.id="editBMPanel_too |
1d6800 | 6c 62 61 72 46 6f 6c 64 65 72 49 74 65 6d 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | lbarFolderItem"................. |
1d6820 | 20 20 20 20 20 20 20 20 20 20 63 6c 61 73 73 3d 22 6d 65 6e 75 69 74 65 6d 2d 69 63 6f 6e 69 63 | ..........class="menuitem-iconic |
1d6840 | 20 66 6f 6c 64 65 72 2d 69 63 6f 6e 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .folder-icon"/>................. |
1d6860 | 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 65 64 69 74 42 4d 50 61 6e 65 6c 5f 62 6d 52 6f 6f 74 | <menuitem.id="editBMPanel_bmRoot |
1d6880 | 49 74 65 6d 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | Item"........................... |
1d68a0 | 63 6c 61 73 73 3d 22 6d 65 6e 75 69 74 65 6d 2d 69 63 6f 6e 69 63 20 66 6f 6c 64 65 72 2d 69 63 | class="menuitem-iconic.folder-ic |
1d68c0 | 6f 6e 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 | on"/>.................<menuitem. |
1d68e0 | 69 64 3d 22 65 64 69 74 42 4d 50 61 6e 65 6c 5f 75 6e 66 69 6c 65 64 52 6f 6f 74 49 74 65 6d 22 | id="editBMPanel_unfiledRootItem" |
1d6900 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6c 61 73 73 | ...........................class |
1d6920 | 3d 22 6d 65 6e 75 69 74 65 6d 2d 69 63 6f 6e 69 63 20 66 6f 6c 64 65 72 2d 69 63 6f 6e 22 2f 3e | ="menuitem-iconic.folder-icon"/> |
1d6940 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 73 65 70 61 72 61 74 6f 72 20 | .................<menuseparator. |
1d6960 | 69 64 3d 22 65 64 69 74 42 4d 50 61 6e 65 6c 5f 63 68 6f 6f 73 65 46 6f 6c 64 65 72 53 65 70 61 | id="editBMPanel_chooseFolderSepa |
1d6980 | 72 61 74 6f 72 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d 65 6e 75 69 74 | rator"/>.................<menuit |
1d69a0 | 65 6d 20 69 64 3d 22 65 64 69 74 42 4d 50 61 6e 65 6c 5f 63 68 6f 6f 73 65 46 6f 6c 64 65 72 4d | em.id="editBMPanel_chooseFolderM |
1d69c0 | 65 6e 75 49 74 65 6d 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | enuItem"........................ |
1d69e0 | 20 20 20 6c 61 62 65 6c 3d 22 26 65 64 69 74 42 6f 6f 6b 6d 61 72 6b 4f 76 65 72 6c 61 79 2e 63 | ...label="&editBookmarkOverlay.c |
1d6a00 | 68 6f 6f 73 65 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | hoose.label;"................... |
1d6a20 | 20 20 20 20 20 20 20 20 63 6c 61 73 73 3d 22 6d 65 6e 75 69 74 65 6d 2d 69 63 6f 6e 69 63 20 66 | ........class="menuitem-iconic.f |
1d6a40 | 6f 6c 64 65 72 2d 69 63 6f 6e 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 6d | older-icon"/>.................<m |
1d6a60 | 65 6e 75 73 65 70 61 72 61 74 6f 72 20 69 64 3d 22 65 64 69 74 42 4d 50 61 6e 65 6c 5f 66 6f 6c | enuseparator.id="editBMPanel_fol |
1d6a80 | 64 65 72 73 53 65 70 61 72 61 74 6f 72 22 20 68 69 64 64 65 6e 3d 22 74 72 75 65 22 2f 3e 0a 20 | dersSeparator".hidden="true"/>.. |
1d6aa0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 6d 65 6e 75 70 6f 70 75 70 3e 0a 20 20 20 20 20 20 | .............</menupopup>....... |
1d6ac0 | 20 20 20 20 20 20 3c 2f 6d 65 6e 75 6c 69 73 74 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 62 | ......</menulist>.............<b |
1d6ae0 | 75 74 74 6f 6e 20 69 64 3d 22 65 64 69 74 42 4d 50 61 6e 65 6c 5f 66 6f 6c 64 65 72 73 45 78 70 | utton.id="editBMPanel_foldersExp |
1d6b00 | 61 6e 64 65 72 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6c 61 73 73 | ander".....................class |
1d6b20 | 3d 22 65 78 70 61 6e 64 65 72 2d 64 6f 77 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ="expander-down"................ |
1d6b40 | 20 20 20 20 20 74 6f 6f 6c 74 69 70 74 65 78 74 3d 22 26 65 64 69 74 42 6f 6f 6b 6d 61 72 6b 4f | .....tooltiptext="&editBookmarkO |
1d6b60 | 76 65 72 6c 61 79 2e 66 6f 6c 64 65 72 73 45 78 70 61 6e 64 65 72 44 6f 77 6e 2e 74 6f 6f 6c 74 | verlay.foldersExpanderDown.toolt |
1d6b80 | 69 70 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 6f 6f 6c 74 69 70 | ip;".....................tooltip |
1d6ba0 | 74 65 78 74 64 6f 77 6e 3d 22 26 65 64 69 74 42 6f 6f 6b 6d 61 72 6b 4f 76 65 72 6c 61 79 2e 66 | textdown="&editBookmarkOverlay.f |
1d6bc0 | 6f 6c 64 65 72 73 45 78 70 61 6e 64 65 72 44 6f 77 6e 2e 74 6f 6f 6c 74 69 70 3b 22 0a 20 20 20 | oldersExpanderDown.tooltip;".... |
1d6be0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 6f 6f 6c 74 69 70 74 65 78 74 75 70 3d 22 | .................tooltiptextup=" |
1d6c00 | 26 65 64 69 74 42 6f 6f 6b 6d 61 72 6b 4f 76 65 72 6c 61 79 2e 65 78 70 61 6e 64 65 72 55 70 2e | &editBookmarkOverlay.expanderUp. |
1d6c20 | 74 6f 6f 6c 74 69 70 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e | tooltip;".....................on |
1d6c40 | 63 6f 6d 6d 61 6e 64 3d 22 67 45 64 69 74 49 74 65 6d 4f 76 65 72 6c 61 79 2e 74 6f 67 67 6c 65 | command="gEditItemOverlay.toggle |
1d6c60 | 46 6f 6c 64 65 72 54 72 65 65 56 69 73 69 62 69 6c 69 74 79 28 29 3b 22 0a 20 20 20 20 20 20 20 | FolderTreeVisibility();"........ |
1d6c80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 62 73 65 72 76 65 73 3d 22 70 61 6e 65 45 6c 65 6d 65 | .............observes="paneEleme |
1d6ca0 | 6e 74 73 42 72 6f 61 64 63 61 73 74 65 72 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 2f 68 62 | ntsBroadcaster"/>...........</hb |
1d6cc0 | 6f 78 3e 0a 20 20 20 20 20 20 20 20 3c 2f 72 6f 77 3e 0a 0a 20 20 20 20 20 20 20 20 3c 72 6f 77 | ox>.........</row>..........<row |
1d6ce0 | 20 61 6c 69 67 6e 3d 22 63 65 6e 74 65 72 22 20 69 64 3d 22 65 64 69 74 42 4d 50 61 6e 65 6c 5f | .align="center".id="editBMPanel_ |
1d6d00 | 66 6f 6c 64 65 72 54 72 65 65 52 6f 77 22 20 63 6f 6c 6c 61 70 73 65 64 3d 22 74 72 75 65 22 3e | folderTreeRow".collapsed="true"> |
1d6d20 | 0a 20 20 20 20 20 20 20 20 20 20 3c 73 70 61 63 65 72 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c | ...........<spacer/>...........< |
1d6d40 | 76 62 6f 78 20 66 6c 65 78 3d 22 31 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 74 72 65 65 | vbox.flex="1">.............<tree |
1d6d60 | 20 69 64 3d 22 65 64 69 74 42 4d 50 61 6e 65 6c 5f 66 6f 6c 64 65 72 54 72 65 65 22 0a 20 20 20 | .id="editBMPanel_folderTree".... |
1d6d80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6c 61 73 73 3d 22 70 6c 61 63 65 73 54 72 65 65 | ...............class="placesTree |
1d6da0 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 79 70 65 3d 22 70 6c 61 63 65 73 | "...................type="places |
1d6dc0 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 68 65 69 67 68 74 3d 22 31 35 30 22 | "...................height="150" |
1d6de0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 64 69 74 61 62 6c 65 3d 22 74 72 75 | ...................editable="tru |
1d6e00 | 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 73 65 6c 65 63 74 3d 22 67 | e"...................onselect="g |
1d6e20 | 45 64 69 74 49 74 65 6d 4f 76 65 72 6c 61 79 2e 6f 6e 46 6f 6c 64 65 72 54 72 65 65 53 65 6c 65 | EditItemOverlay.onFolderTreeSele |
1d6e40 | 63 74 28 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 68 69 64 65 63 6f 6c | ct();"...................hidecol |
1d6e60 | 75 6d 6e 70 69 63 6b 65 72 3d 22 74 72 75 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | umnpicker="true"................ |
1d6e80 | 20 20 20 6f 62 73 65 72 76 65 73 3d 22 70 61 6e 65 45 6c 65 6d 65 6e 74 73 42 72 6f 61 64 63 61 | ...observes="paneElementsBroadca |
1d6ea0 | 73 74 65 72 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 74 72 65 65 63 6f 6c 73 3e 0a | ster">...............<treecols>. |
1d6ec0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 74 72 65 65 63 6f 6c 20 61 6e 6f 6e 69 64 3d | ................<treecol.anonid= |
1d6ee0 | 22 74 69 74 6c 65 22 20 66 6c 65 78 3d 22 31 22 20 70 72 69 6d 61 72 79 3d 22 74 72 75 65 22 20 | "title".flex="1".primary="true". |
1d6f00 | 68 69 64 65 68 65 61 64 65 72 3d 22 74 72 75 65 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 | hideheader="true"/>............. |
1d6f20 | 20 20 3c 2f 74 72 65 65 63 6f 6c 73 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3c 74 72 65 | ..</treecols>...............<tre |
1d6f40 | 65 63 68 69 6c 64 72 65 6e 20 66 6c 65 78 3d 22 31 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 | echildren.flex="1"/>............ |
1d6f60 | 20 3c 2f 74 72 65 65 3e 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 68 62 6f 78 20 69 64 3d 22 | .</tree>..............<hbox.id=" |
1d6f80 | 65 64 69 74 42 4d 50 61 6e 65 6c 5f 6e 65 77 46 6f 6c 64 65 72 42 6f 78 22 3e 0a 20 20 20 20 20 | editBMPanel_newFolderBox">...... |
1d6fa0 | 20 20 20 20 20 20 20 20 20 3c 62 75 74 74 6f 6e 20 6c 61 62 65 6c 3d 22 26 65 64 69 74 42 6f 6f | .........<button.label="&editBoo |
1d6fc0 | 6b 6d 61 72 6b 4f 76 65 72 6c 61 79 2e 6e 65 77 46 6f 6c 64 65 72 42 75 74 74 6f 6e 2e 6c 61 62 | kmarkOverlay.newFolderButton.lab |
1d6fe0 | 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 64 3d 22 65 | el;".......................id="e |
1d7000 | 64 69 74 42 4d 50 61 6e 65 6c 5f 6e 65 77 46 6f 6c 64 65 72 42 75 74 74 6f 6e 22 0a 20 20 20 20 | ditBMPanel_newFolderButton"..... |
1d7020 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 65 64 | ..................accesskey="&ed |
1d7040 | 69 74 42 6f 6f 6b 6d 61 72 6b 4f 76 65 72 6c 61 79 2e 6e 65 77 46 6f 6c 64 65 72 42 75 74 74 6f | itBookmarkOverlay.newFolderButto |
1d7060 | 6e 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | n.accesskey;"................... |
1d7080 | 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 45 64 69 74 49 74 65 6d 4f 76 65 72 6c 61 79 2e | ....oncommand="gEditItemOverlay. |
1d70a0 | 6e 65 77 46 6f 6c 64 65 72 28 29 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 2f 68 62 | newFolder();"/>.............</hb |
1d70c0 | 6f 78 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 2f 76 62 6f 78 3e 0a 20 20 20 20 20 20 20 20 3c 2f | ox>...........</vbox>.........</ |
1d70e0 | 72 6f 77 3e 0a 0a 20 20 20 20 20 20 20 20 3c 72 6f 77 20 61 6c 69 67 6e 3d 22 63 65 6e 74 65 72 | row>..........<row.align="center |
1d7100 | 22 20 69 64 3d 22 65 64 69 74 42 4d 50 61 6e 65 6c 5f 74 61 67 73 52 6f 77 22 3e 0a 20 20 20 20 | ".id="editBMPanel_tagsRow">..... |
1d7120 | 20 20 20 20 20 20 3c 6c 61 62 65 6c 20 76 61 6c 75 65 3d 22 26 65 64 69 74 42 6f 6f 6b 6d 61 72 | ......<label.value="&editBookmar |
1d7140 | 6b 4f 76 65 72 6c 61 79 2e 74 61 67 73 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 | kOverlay.tags.label;"........... |
1d7160 | 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 65 64 69 74 42 6f 6f 6b 6d 61 72 6b 4f | .......accesskey="&editBookmarkO |
1d7180 | 76 65 72 6c 61 79 2e 74 61 67 73 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 | verlay.tags.accesskey;"......... |
1d71a0 | 20 20 20 20 20 20 20 20 20 63 6f 6e 74 72 6f 6c 3d 22 65 64 69 74 42 4d 50 61 6e 65 6c 5f 74 61 | .........control="editBMPanel_ta |
1d71c0 | 67 73 46 69 65 6c 64 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 62 73 65 72 76 | gsField"..................observ |
1d71e0 | 65 73 3d 22 70 61 6e 65 45 6c 65 6d 65 6e 74 73 42 72 6f 61 64 63 61 73 74 65 72 22 2f 3e 0a 20 | es="paneElementsBroadcaster"/>.. |
1d7200 | 20 20 20 20 20 20 20 20 20 3c 68 62 6f 78 20 66 6c 65 78 3d 22 31 22 20 61 6c 69 67 6e 3d 22 63 | .........<hbox.flex="1".align="c |
1d7220 | 65 6e 74 65 72 22 3e 0a 20 20 20 20 20 20 20 20 20 20 20 20 3c 74 65 78 74 62 6f 78 20 69 64 3d | enter">.............<textbox.id= |
1d7240 | 22 65 64 69 74 42 4d 50 61 6e 65 6c 5f 74 61 67 73 46 69 65 6c 64 22 0a 20 20 20 20 20 20 20 20 | "editBMPanel_tagsField"......... |
1d7260 | 20 20 20 20 20 20 20 20 20 20 20 20 20 74 79 70 65 3d 22 61 75 74 6f 63 6f 6d 70 6c 65 74 65 22 | .............type="autocomplete" |
1d7280 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6c 61 73 73 3d 22 70 61 64 | ......................class="pad |
1d72a0 | 64 65 64 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 6c 65 78 3d 22 | ded"......................flex=" |
1d72c0 | 31 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 75 74 6f 63 6f 6d 70 | 1"......................autocomp |
1d72e0 | 6c 65 74 65 73 65 61 72 63 68 3d 22 70 6c 61 63 65 73 2d 74 61 67 2d 61 75 74 6f 63 6f 6d 70 6c | letesearch="places-tag-autocompl |
1d7300 | 65 74 65 22 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6d 70 6c | ete".......................compl |
1d7320 | 65 74 65 64 65 66 61 75 6c 74 69 6e 64 65 78 3d 22 74 72 75 65 22 0a 20 20 20 20 20 20 20 20 20 | etedefaultindex="true".......... |
1d7340 | 20 20 20 20 20 20 20 20 20 20 20 20 74 61 62 73 63 72 6f 6c 6c 69 6e 67 3d 22 74 72 75 65 22 0a | ............tabscrolling="true". |
1d7360 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 68 6f 77 63 6f 6d 6d 65 6e 74 | .....................showcomment |
1d7380 | 63 6f 6c 75 6d 6e 3d 22 74 72 75 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | column="true"................... |
1d73a0 | 20 20 20 6f 6e 62 6c 75 72 3d 22 67 45 64 69 74 49 74 65 6d 4f 76 65 72 6c 61 79 2e 6f 6e 54 61 | ...onblur="gEditItemOverlay.onTa |
1d73c0 | 67 73 46 69 65 6c 64 42 6c 75 72 28 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | gsFieldBlur();"................. |
1d73e0 | 20 20 20 20 20 6f 62 73 65 72 76 65 73 3d 22 70 61 6e 65 45 6c 65 6d 65 6e 74 73 42 72 6f 61 64 | .....observes="paneElementsBroad |
1d7400 | 63 61 73 74 65 72 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 6d 70 | caster"......................emp |
1d7420 | 74 79 74 65 78 74 3d 22 26 65 64 69 74 42 6f 6f 6b 6d 61 72 6b 4f 76 65 72 6c 61 79 2e 74 61 67 | tytext="&editBookmarkOverlay.tag |
1d7440 | 73 45 6d 70 74 79 44 65 73 63 2e 6c 61 62 65 6c 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 20 | sEmptyDesc.label;"/>............ |
1d7460 | 20 3c 62 75 74 74 6f 6e 20 69 64 3d 22 65 64 69 74 42 4d 50 61 6e 65 6c 5f 74 61 67 73 53 65 6c | .<button.id="editBMPanel_tagsSel |
1d7480 | 65 63 74 6f 72 45 78 70 61 6e 64 65 72 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ectorExpander".................. |
1d74a0 | 20 20 20 63 6c 61 73 73 3d 22 65 78 70 61 6e 64 65 72 2d 64 6f 77 6e 22 0a 20 20 20 20 20 20 20 | ...class="expander-down"........ |
1d74c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 74 6f 6f 6c 74 69 70 74 65 78 74 3d 22 26 65 64 69 74 42 | .............tooltiptext="&editB |
1d74e0 | 6f 6f 6b 6d 61 72 6b 4f 76 65 72 6c 61 79 2e 74 61 67 73 45 78 70 61 6e 64 65 72 44 6f 77 6e 2e | ookmarkOverlay.tagsExpanderDown. |
1d7500 | 74 6f 6f 6c 74 69 70 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 6f | tooltip;".....................to |
1d7520 | 6f 6c 74 69 70 74 65 78 74 64 6f 77 6e 3d 22 26 65 64 69 74 42 6f 6f 6b 6d 61 72 6b 4f 76 65 72 | oltiptextdown="&editBookmarkOver |
1d7540 | 6c 61 79 2e 74 61 67 73 45 78 70 61 6e 64 65 72 44 6f 77 6e 2e 74 6f 6f 6c 74 69 70 3b 22 0a 20 | lay.tagsExpanderDown.tooltip;".. |
1d7560 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 6f 6f 6c 74 69 70 74 65 78 74 75 70 | ...................tooltiptextup |
1d7580 | 3d 22 26 65 64 69 74 42 6f 6f 6b 6d 61 72 6b 4f 76 65 72 6c 61 79 2e 65 78 70 61 6e 64 65 72 55 | ="&editBookmarkOverlay.expanderU |
1d75a0 | 70 2e 74 6f 6f 6c 74 69 70 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | p.tooltip;"..................... |
1d75c0 | 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 67 45 64 69 74 49 74 65 6d 4f 76 65 72 6c 61 79 2e 74 6f 67 67 | oncommand="gEditItemOverlay.togg |
1d75e0 | 6c 65 54 61 67 73 53 65 6c 65 63 74 6f 72 28 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | leTagsSelector();".............. |
1d7600 | 20 20 20 20 20 20 20 6f 62 73 65 72 76 65 73 3d 22 70 61 6e 65 45 6c 65 6d 65 6e 74 73 42 72 6f | .......observes="paneElementsBro |
1d7620 | 61 64 63 61 73 74 65 72 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 2f 68 62 6f 78 3e 0a 20 20 | adcaster"/>...........</hbox>... |
1d7640 | 20 20 20 20 20 20 3c 2f 72 6f 77 3e 0a 0a 20 20 20 20 20 20 20 20 3c 72 6f 77 20 69 64 3d 22 65 | ......</row>..........<row.id="e |
1d7660 | 64 69 74 42 4d 50 61 6e 65 6c 5f 74 61 67 73 53 65 6c 65 63 74 6f 72 52 6f 77 22 0a 20 20 20 20 | ditBMPanel_tagsSelectorRow"..... |
1d7680 | 20 20 20 20 20 20 20 20 20 61 6c 69 67 6e 3d 22 63 65 6e 74 65 72 22 0a 20 20 20 20 20 20 20 20 | .........align="center"......... |
1d76a0 | 20 20 20 20 20 63 6f 6c 6c 61 70 73 65 64 3d 22 74 72 75 65 22 3e 0a 20 20 20 20 20 20 20 20 20 | .....collapsed="true">.......... |
1d76c0 | 20 3c 73 70 61 63 65 72 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 6c 69 73 74 62 6f 78 20 69 64 | .<spacer/>...........<listbox.id |
1d76e0 | 3d 22 65 64 69 74 42 4d 50 61 6e 65 6c 5f 74 61 67 73 53 65 6c 65 63 74 6f 72 22 0a 20 20 20 20 | ="editBMPanel_tagsSelector"..... |
1d7700 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 68 65 69 67 68 74 3d 22 31 35 30 22 0a 20 20 20 20 | ...............height="150"..... |
1d7720 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 62 73 65 72 76 65 73 3d 22 70 61 6e 65 45 6c 65 | ...............observes="paneEle |
1d7740 | 6d 65 6e 74 73 42 72 6f 61 64 63 61 73 74 65 72 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 2f 72 6f | mentsBroadcaster"/>.........</ro |
1d7760 | 77 3e 0a 0a 20 20 20 20 20 20 20 20 3c 72 6f 77 20 61 6c 69 67 6e 3d 22 63 65 6e 74 65 72 22 20 | w>..........<row.align="center". |
1d7780 | 69 64 3d 22 65 64 69 74 42 4d 50 61 6e 65 6c 5f 6b 65 79 77 6f 72 64 52 6f 77 22 3e 0a 20 20 20 | id="editBMPanel_keywordRow">.... |
1d77a0 | 20 20 20 20 20 20 20 3c 6c 61 62 65 6c 20 76 61 6c 75 65 3d 22 26 65 64 69 74 42 6f 6f 6b 6d 61 | .......<label.value="&editBookma |
1d77c0 | 72 6b 4f 76 65 72 6c 61 79 2e 6b 65 79 77 6f 72 64 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 | rkOverlay.keyword.label;"....... |
1d77e0 | 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 65 64 69 74 42 6f 6f 6b 6d | ...........accesskey="&editBookm |
1d7800 | 61 72 6b 4f 76 65 72 6c 61 79 2e 6b 65 79 77 6f 72 64 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 | arkOverlay.keyword.accesskey;".. |
1d7820 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6e 74 72 6f 6c 3d 22 65 64 69 74 42 4d 50 | ................control="editBMP |
1d7840 | 61 6e 65 6c 5f 6b 65 79 77 6f 72 64 46 69 65 6c 64 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | anel_keywordField".............. |
1d7860 | 20 20 20 20 6f 62 73 65 72 76 65 73 3d 22 70 61 6e 65 45 6c 65 6d 65 6e 74 73 42 72 6f 61 64 63 | ....observes="paneElementsBroadc |
1d7880 | 61 73 74 65 72 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 74 65 78 74 62 6f 78 20 69 64 3d 22 | aster"/>...........<textbox.id=" |
1d78a0 | 65 64 69 74 42 4d 50 61 6e 65 6c 5f 6b 65 79 77 6f 72 64 46 69 65 6c 64 22 0a 20 20 20 20 20 20 | editBMPanel_keywordField"....... |
1d78c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 62 6c 75 72 3d 22 67 45 64 69 74 49 74 65 6d 4f 76 | .............onblur="gEditItemOv |
1d78e0 | 65 72 6c 61 79 2e 6f 6e 4b 65 79 77 6f 72 64 46 69 65 6c 64 42 6c 75 72 28 29 3b 22 0a 20 20 20 | erlay.onKeywordFieldBlur();".... |
1d7900 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 62 73 65 72 76 65 73 3d 22 70 61 6e 65 45 6c | ................observes="paneEl |
1d7920 | 65 6d 65 6e 74 73 42 72 6f 61 64 63 61 73 74 65 72 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 2f 72 | ementsBroadcaster"/>.........</r |
1d7940 | 6f 77 3e 0a 0a 20 20 20 20 20 20 20 20 3c 72 6f 77 20 69 64 3d 22 65 64 69 74 42 4d 50 61 6e 65 | ow>..........<row.id="editBMPane |
1d7960 | 6c 5f 64 65 73 63 72 69 70 74 69 6f 6e 52 6f 77 22 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 6c 61 | l_descriptionRow">...........<la |
1d7980 | 62 65 6c 20 76 61 6c 75 65 3d 22 26 65 64 69 74 42 6f 6f 6b 6d 61 72 6b 4f 76 65 72 6c 61 79 2e | bel.value="&editBookmarkOverlay. |
1d79a0 | 64 65 73 63 72 69 70 74 69 6f 6e 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 | description.label;"............. |
1d79c0 | 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 65 64 69 74 42 6f 6f 6b 6d 61 72 6b 4f 76 65 | .....accesskey="&editBookmarkOve |
1d79e0 | 72 6c 61 79 2e 64 65 73 63 72 69 70 74 69 6f 6e 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 | rlay.description.accesskey;".... |
1d7a00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6e 74 72 6f 6c 3d 22 65 64 69 74 42 4d 50 61 6e | ..............control="editBMPan |
1d7a20 | 65 6c 5f 64 65 73 63 72 69 70 74 69 6f 6e 46 69 65 6c 64 22 0a 20 20 20 20 20 20 20 20 20 20 20 | el_descriptionField"............ |
1d7a40 | 20 20 20 20 20 20 6f 62 73 65 72 76 65 73 3d 22 70 61 6e 65 45 6c 65 6d 65 6e 74 73 42 72 6f 61 | ......observes="paneElementsBroa |
1d7a60 | 64 63 61 73 74 65 72 22 2f 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 74 65 78 74 62 6f 78 20 69 64 | dcaster"/>...........<textbox.id |
1d7a80 | 3d 22 65 64 69 74 42 4d 50 61 6e 65 6c 5f 64 65 73 63 72 69 70 74 69 6f 6e 46 69 65 6c 64 22 0a | ="editBMPanel_descriptionField". |
1d7aa0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 75 6c 74 69 6c 69 6e 65 3d 22 74 72 | ...................multiline="tr |
1d7ac0 | 75 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 62 6c 75 72 3d 22 67 | ue"....................onblur="g |
1d7ae0 | 45 64 69 74 49 74 65 6d 4f 76 65 72 6c 61 79 2e 6f 6e 44 65 73 63 72 69 70 74 69 6f 6e 46 69 65 | EditItemOverlay.onDescriptionFie |
1d7b00 | 6c 64 42 6c 75 72 28 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 62 | ldBlur();"....................ob |
1d7b20 | 73 65 72 76 65 73 3d 22 70 61 6e 65 45 6c 65 6d 65 6e 74 73 42 72 6f 61 64 63 61 73 74 65 72 22 | serves="paneElementsBroadcaster" |
1d7b40 | 2f 3e 0a 20 20 20 20 20 20 20 20 3c 2f 72 6f 77 3e 0a 20 20 20 20 20 20 3c 2f 72 6f 77 73 3e 0a | />.........</row>.......</rows>. |
1d7b60 | 20 20 20 20 3c 2f 67 72 69 64 3e 0a 0a 20 20 20 20 3c 63 68 65 63 6b 62 6f 78 20 69 64 3d 22 65 | ....</grid>......<checkbox.id="e |
1d7b80 | 64 69 74 42 4d 50 61 6e 65 6c 5f 6c 6f 61 64 49 6e 53 69 64 65 62 61 72 43 68 65 63 6b 62 6f 78 | ditBMPanel_loadInSidebarCheckbox |
1d7ba0 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 65 64 69 74 42 6f 6f 6b | "...............label="&editBook |
1d7bc0 | 6d 61 72 6b 4f 76 65 72 6c 61 79 2e 6c 6f 61 64 49 6e 53 69 64 65 62 61 72 2e 6c 61 62 65 6c 3b | markOverlay.loadInSidebar.label; |
1d7be0 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 65 64 69 74 | "...............accesskey="&edit |
1d7c00 | 42 6f 6f 6b 6d 61 72 6b 4f 76 65 72 6c 61 79 2e 6c 6f 61 64 49 6e 53 69 64 65 62 61 72 2e 61 63 | BookmarkOverlay.loadInSidebar.ac |
1d7c20 | 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e | cesskey;"...............oncomman |
1d7c40 | 64 3d 22 67 45 64 69 74 49 74 65 6d 4f 76 65 72 6c 61 79 2e 6f 6e 4c 6f 61 64 49 6e 53 69 64 65 | d="gEditItemOverlay.onLoadInSide |
1d7c60 | 62 61 72 43 68 65 63 6b 62 6f 78 43 6f 6d 6d 61 6e 64 28 29 3b 22 0a 20 20 20 20 20 20 20 20 20 | barCheckboxCommand();".......... |
1d7c80 | 20 20 20 20 20 6f 62 73 65 72 76 65 73 3d 22 70 61 6e 65 45 6c 65 6d 65 6e 74 73 42 72 6f 61 64 | .....observes="paneElementsBroad |
1d7ca0 | 63 61 73 74 65 72 22 2f 3e 0a 0a 20 20 3c 2f 76 62 6f 78 3e 0a 3c 2f 6f 76 65 72 6c 61 79 3e 0a | caster"/>....</vbox>.</overlay>. |
1d7cc0 | 50 4b 03 04 14 00 00 00 00 00 f6 4b 18 3b 83 05 c1 64 b6 a4 00 00 b6 a4 00 00 2d 00 00 00 63 6f | PK.........K.;...d........-...co |
1d7ce0 | 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 6c 61 63 65 73 2f 65 64 69 74 42 6f 6f 6b 6d 61 72 | ntent/browser/places/editBookmar |
1d7d00 | 6b 4f 76 65 72 6c 61 79 2e 6a 73 2f 2a 20 2d 2a 2d 20 4d 6f 64 65 3a 20 43 2b 2b 3b 20 74 61 62 | kOverlay.js/*.-*-.Mode:.C++;.tab |
1d7d20 | 2d 77 69 64 74 68 3a 20 38 3b 20 69 6e 64 65 6e 74 2d 74 61 62 73 2d 6d 6f 64 65 3a 20 6e 69 6c | -width:.8;.indent-tabs-mode:.nil |
1d7d40 | 3b 20 63 2d 62 61 73 69 63 2d 6f 66 66 73 65 74 3a 20 32 20 2d 2a 2d 20 2a 2f 0a 2f 2a 20 2a 2a | ;.c-basic-offset:.2.-*-.*/./*.** |
1d7d60 | 2a 2a 2a 20 42 45 47 49 4e 20 4c 49 43 45 4e 53 45 20 42 4c 4f 43 4b 20 2a 2a 2a 2a 2a 0a 20 2a | ***.BEGIN.LICENSE.BLOCK.*****..* |
1d7d80 | 20 56 65 72 73 69 6f 6e 3a 20 4d 50 4c 20 31 2e 31 2f 47 50 4c 20 32 2e 30 2f 4c 47 50 4c 20 32 | .Version:.MPL.1.1/GPL.2.0/LGPL.2 |
1d7da0 | 2e 31 0a 20 2a 0a 20 2a 20 54 68 65 20 63 6f 6e 74 65 6e 74 73 20 6f 66 20 74 68 69 73 20 66 69 | .1..*..*.The.contents.of.this.fi |
1d7dc0 | 6c 65 20 61 72 65 20 73 75 62 6a 65 63 74 20 74 6f 20 74 68 65 20 4d 6f 7a 69 6c 6c 61 20 50 75 | le.are.subject.to.the.Mozilla.Pu |
1d7de0 | 62 6c 69 63 20 4c 69 63 65 6e 73 65 20 56 65 72 73 69 6f 6e 0a 20 2a 20 31 2e 31 20 28 74 68 65 | blic.License.Version..*.1.1.(the |
1d7e00 | 20 22 4c 69 63 65 6e 73 65 22 29 3b 20 79 6f 75 20 6d 61 79 20 6e 6f 74 20 75 73 65 20 74 68 69 | ."License");.you.may.not.use.thi |
1d7e20 | 73 20 66 69 6c 65 20 65 78 63 65 70 74 20 69 6e 20 63 6f 6d 70 6c 69 61 6e 63 65 20 77 69 74 68 | s.file.except.in.compliance.with |
1d7e40 | 0a 20 2a 20 74 68 65 20 4c 69 63 65 6e 73 65 2e 20 59 6f 75 20 6d 61 79 20 6f 62 74 61 69 6e 20 | ..*.the.License..You.may.obtain. |
1d7e60 | 61 20 63 6f 70 79 20 6f 66 20 74 68 65 20 4c 69 63 65 6e 73 65 20 61 74 0a 20 2a 20 68 74 74 70 | a.copy.of.the.License.at..*.http |
1d7e80 | 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 4d 50 4c 2f 0a 20 2a 0a 20 2a 20 53 6f | ://www.mozilla.org/MPL/..*..*.So |
1d7ea0 | 66 74 77 61 72 65 20 64 69 73 74 72 69 62 75 74 65 64 20 75 6e 64 65 72 20 74 68 65 20 4c 69 63 | ftware.distributed.under.the.Lic |
1d7ec0 | 65 6e 73 65 20 69 73 20 64 69 73 74 72 69 62 75 74 65 64 20 6f 6e 20 61 6e 20 22 41 53 20 49 53 | ense.is.distributed.on.an."AS.IS |
1d7ee0 | 22 20 62 61 73 69 73 2c 0a 20 2a 20 57 49 54 48 4f 55 54 20 57 41 52 52 41 4e 54 59 20 4f 46 20 | ".basis,..*.WITHOUT.WARRANTY.OF. |
1d7f00 | 41 4e 59 20 4b 49 4e 44 2c 20 65 69 74 68 65 72 20 65 78 70 72 65 73 73 20 6f 72 20 69 6d 70 6c | ANY.KIND,.either.express.or.impl |
1d7f20 | 69 65 64 2e 20 53 65 65 20 74 68 65 20 4c 69 63 65 6e 73 65 0a 20 2a 20 66 6f 72 20 74 68 65 20 | ied..See.the.License..*.for.the. |
1d7f40 | 73 70 65 63 69 66 69 63 20 6c 61 6e 67 75 61 67 65 20 67 6f 76 65 72 6e 69 6e 67 20 72 69 67 68 | specific.language.governing.righ |
1d7f60 | 74 73 20 61 6e 64 20 6c 69 6d 69 74 61 74 69 6f 6e 73 20 75 6e 64 65 72 20 74 68 65 0a 20 2a 20 | ts.and.limitations.under.the..*. |
1d7f80 | 4c 69 63 65 6e 73 65 2e 0a 20 2a 0a 20 2a 20 54 68 65 20 4f 72 69 67 69 6e 61 6c 20 43 6f 64 65 | License...*..*.The.Original.Code |
1d7fa0 | 20 69 73 20 74 68 65 20 50 6c 61 63 65 73 20 42 6f 6f 6b 6d 61 72 6b 20 50 72 6f 70 65 72 74 69 | .is.the.Places.Bookmark.Properti |
1d7fc0 | 65 73 20 64 69 61 6c 6f 67 2e 0a 20 2a 0a 20 2a 20 54 68 65 20 49 6e 69 74 69 61 6c 20 44 65 76 | es.dialog...*..*.The.Initial.Dev |
1d7fe0 | 65 6c 6f 70 65 72 20 6f 66 20 74 68 65 20 4f 72 69 67 69 6e 61 6c 20 43 6f 64 65 20 69 73 20 47 | eloper.of.the.Original.Code.is.G |
1d8000 | 6f 6f 67 6c 65 20 49 6e 63 2e 0a 20 2a 20 50 6f 72 74 69 6f 6e 73 20 63 72 65 61 74 65 64 20 62 | oogle.Inc...*.Portions.created.b |
1d8020 | 79 20 74 68 65 20 49 6e 69 74 69 61 6c 20 44 65 76 65 6c 6f 70 65 72 20 61 72 65 20 43 6f 70 79 | y.the.Initial.Developer.are.Copy |
1d8040 | 72 69 67 68 74 20 28 43 29 20 32 30 30 36 0a 20 2a 20 74 68 65 20 49 6e 69 74 69 61 6c 20 44 65 | right.(C).2006..*.the.Initial.De |
1d8060 | 76 65 6c 6f 70 65 72 2e 20 41 6c 6c 20 52 69 67 68 74 73 20 52 65 73 65 72 76 65 64 2e 0a 20 2a | veloper..All.Rights.Reserved...* |
1d8080 | 0a 20 2a 20 43 6f 6e 74 72 69 62 75 74 6f 72 28 73 29 3a 0a 20 2a 20 20 20 41 73 61 66 20 52 6f | ..*.Contributor(s):..*...Asaf.Ro |
1d80a0 | 6d 61 6e 6f 20 3c 6d 61 6e 6f 40 6d 6f 7a 69 6c 6c 61 2e 63 6f 6d 3e 0a 20 2a 0a 20 2a 20 41 6c | mano.<mano@mozilla.com>..*..*.Al |
1d80c0 | 74 65 72 6e 61 74 69 76 65 6c 79 2c 20 74 68 65 20 63 6f 6e 74 65 6e 74 73 20 6f 66 20 74 68 69 | ternatively,.the.contents.of.thi |
1d80e0 | 73 20 66 69 6c 65 20 6d 61 79 20 62 65 20 75 73 65 64 20 75 6e 64 65 72 20 74 68 65 20 74 65 72 | s.file.may.be.used.under.the.ter |
1d8100 | 6d 73 20 6f 66 0a 20 2a 20 65 69 74 68 65 72 20 74 68 65 20 47 4e 55 20 47 65 6e 65 72 61 6c 20 | ms.of..*.either.the.GNU.General. |
1d8120 | 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 20 56 65 72 73 69 6f 6e 20 32 20 6f 72 20 6c 61 74 65 | Public.License.Version.2.or.late |
1d8140 | 72 20 28 74 68 65 20 22 47 50 4c 22 29 2c 20 6f 72 0a 20 2a 20 74 68 65 20 47 4e 55 20 4c 65 73 | r.(the."GPL"),.or..*.the.GNU.Les |
1d8160 | 73 65 72 20 47 65 6e 65 72 61 6c 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 20 56 65 72 73 69 | ser.General.Public.License.Versi |
1d8180 | 6f 6e 20 32 2e 31 20 6f 72 20 6c 61 74 65 72 20 28 74 68 65 20 22 4c 47 50 4c 22 29 2c 0a 20 2a | on.2.1.or.later.(the."LGPL"),..* |
1d81a0 | 20 69 6e 20 77 68 69 63 68 20 63 61 73 65 20 74 68 65 20 70 72 6f 76 69 73 69 6f 6e 73 20 6f 66 | .in.which.case.the.provisions.of |
1d81c0 | 20 74 68 65 20 47 50 4c 20 6f 72 20 74 68 65 20 4c 47 50 4c 20 61 72 65 20 61 70 70 6c 69 63 61 | .the.GPL.or.the.LGPL.are.applica |
1d81e0 | 62 6c 65 20 69 6e 73 74 65 61 64 0a 20 2a 20 6f 66 20 74 68 6f 73 65 20 61 62 6f 76 65 2e 20 49 | ble.instead..*.of.those.above..I |
1d8200 | 66 20 79 6f 75 20 77 69 73 68 20 74 6f 20 61 6c 6c 6f 77 20 75 73 65 20 6f 66 20 79 6f 75 72 20 | f.you.wish.to.allow.use.of.your. |
1d8220 | 76 65 72 73 69 6f 6e 20 6f 66 20 74 68 69 73 20 66 69 6c 65 20 6f 6e 6c 79 0a 20 2a 20 75 6e 64 | version.of.this.file.only..*.und |
1d8240 | 65 72 20 74 68 65 20 74 65 72 6d 73 20 6f 66 20 65 69 74 68 65 72 20 74 68 65 20 47 50 4c 20 6f | er.the.terms.of.either.the.GPL.o |
1d8260 | 72 20 74 68 65 20 4c 47 50 4c 2c 20 61 6e 64 20 6e 6f 74 20 74 6f 20 61 6c 6c 6f 77 20 6f 74 68 | r.the.LGPL,.and.not.to.allow.oth |
1d8280 | 65 72 73 20 74 6f 0a 20 2a 20 75 73 65 20 79 6f 75 72 20 76 65 72 73 69 6f 6e 20 6f 66 20 74 68 | ers.to..*.use.your.version.of.th |
1d82a0 | 69 73 20 66 69 6c 65 20 75 6e 64 65 72 20 74 68 65 20 74 65 72 6d 73 20 6f 66 20 74 68 65 20 4d | is.file.under.the.terms.of.the.M |
1d82c0 | 50 4c 2c 20 69 6e 64 69 63 61 74 65 20 79 6f 75 72 0a 20 2a 20 64 65 63 69 73 69 6f 6e 20 62 79 | PL,.indicate.your..*.decision.by |
1d82e0 | 20 64 65 6c 65 74 69 6e 67 20 74 68 65 20 70 72 6f 76 69 73 69 6f 6e 73 20 61 62 6f 76 65 20 61 | .deleting.the.provisions.above.a |
1d8300 | 6e 64 20 72 65 70 6c 61 63 65 20 74 68 65 6d 20 77 69 74 68 20 74 68 65 20 6e 6f 74 69 63 65 0a | nd.replace.them.with.the.notice. |
1d8320 | 20 2a 20 61 6e 64 20 6f 74 68 65 72 20 70 72 6f 76 69 73 69 6f 6e 73 20 72 65 71 75 69 72 65 64 | .*.and.other.provisions.required |
1d8340 | 20 62 79 20 74 68 65 20 47 50 4c 20 6f 72 20 74 68 65 20 4c 47 50 4c 2e 20 49 66 20 79 6f 75 20 | .by.the.GPL.or.the.LGPL..If.you. |
1d8360 | 64 6f 20 6e 6f 74 20 64 65 6c 65 74 65 0a 20 2a 20 74 68 65 20 70 72 6f 76 69 73 69 6f 6e 73 20 | do.not.delete..*.the.provisions. |
1d8380 | 61 62 6f 76 65 2c 20 61 20 72 65 63 69 70 69 65 6e 74 20 6d 61 79 20 75 73 65 20 79 6f 75 72 20 | above,.a.recipient.may.use.your. |
1d83a0 | 76 65 72 73 69 6f 6e 20 6f 66 20 74 68 69 73 20 66 69 6c 65 20 75 6e 64 65 72 0a 20 2a 20 74 68 | version.of.this.file.under..*.th |
1d83c0 | 65 20 74 65 72 6d 73 20 6f 66 20 61 6e 79 20 6f 6e 65 20 6f 66 20 74 68 65 20 4d 50 4c 2c 20 74 | e.terms.of.any.one.of.the.MPL,.t |
1d83e0 | 68 65 20 47 50 4c 20 6f 72 20 74 68 65 20 4c 47 50 4c 2e 0a 20 2a 0a 20 2a 20 2a 2a 2a 2a 2a 20 | he.GPL.or.the.LGPL...*..*.*****. |
1d8400 | 45 4e 44 20 4c 49 43 45 4e 53 45 20 42 4c 4f 43 4b 20 2a 2a 2a 2a 2a 20 2a 2f 0a 0a 63 6f 6e 73 | END.LICENSE.BLOCK.*****.*/..cons |
1d8420 | 74 20 4c 41 53 54 5f 55 53 45 44 5f 41 4e 4e 4f 20 3d 20 22 62 6f 6f 6b 6d 61 72 6b 50 72 6f 70 | t.LAST_USED_ANNO.=."bookmarkProp |
1d8440 | 65 72 74 69 65 73 44 69 61 6c 6f 67 2f 66 6f 6c 64 65 72 4c 61 73 74 55 73 65 64 22 3b 0a 63 6f | ertiesDialog/folderLastUsed";.co |
1d8460 | 6e 73 74 20 53 54 41 54 49 43 5f 54 49 54 4c 45 5f 41 4e 4e 4f 20 3d 20 22 62 6f 6f 6b 6d 61 72 | nst.STATIC_TITLE_ANNO.=."bookmar |
1d8480 | 6b 73 2f 73 74 61 74 69 63 54 69 74 6c 65 22 3b 0a 63 6f 6e 73 74 20 4d 41 58 5f 46 4f 4c 44 45 | ks/staticTitle";.const.MAX_FOLDE |
1d84a0 | 52 5f 49 54 45 4d 5f 49 4e 5f 4d 45 4e 55 5f 4c 49 53 54 20 3d 20 35 3b 0a 0a 76 61 72 20 67 45 | R_ITEM_IN_MENU_LIST.=.5;..var.gE |
1d84c0 | 64 69 74 49 74 65 6d 4f 76 65 72 6c 61 79 20 3d 20 7b 0a 20 20 5f 75 72 69 3a 20 6e 75 6c 6c 2c | ditItemOverlay.=.{..._uri:.null, |
1d84e0 | 0a 20 20 5f 69 74 65 6d 49 64 3a 20 2d 31 2c 0a 20 20 5f 69 74 65 6d 49 64 73 3a 20 5b 5d 2c 0a | ..._itemId:.-1,..._itemIds:.[],. |
1d8500 | 20 20 5f 75 72 69 73 3a 20 5b 5d 2c 0a 20 20 5f 74 61 67 73 3a 20 5b 5d 2c 0a 20 20 5f 61 6c 6c | .._uris:.[],..._tags:.[],..._all |
1d8520 | 54 61 67 73 3a 20 5b 5d 2c 0a 20 20 5f 6d 75 6c 74 69 45 64 69 74 3a 20 66 61 6c 73 65 2c 0a 20 | Tags:.[],..._multiEdit:.false,.. |
1d8540 | 20 5f 69 74 65 6d 54 79 70 65 3a 20 2d 31 2c 0a 20 20 5f 72 65 61 64 4f 6e 6c 79 3a 20 66 61 6c | ._itemType:.-1,..._readOnly:.fal |
1d8560 | 73 65 2c 0a 20 20 5f 6d 69 63 72 6f 73 75 6d 6d 61 72 69 65 73 3a 20 6e 75 6c 6c 2c 0a 20 20 5f | se,..._microsummaries:.null,..._ |
1d8580 | 68 69 64 64 65 6e 52 6f 77 73 3a 20 5b 5d 2c 0a 20 20 5f 6f 62 73 65 72 76 65 72 73 41 64 64 65 | hiddenRows:.[],..._observersAdde |
1d85a0 | 64 3a 20 66 61 6c 73 65 2c 0a 20 20 5f 73 74 61 74 69 63 46 6f 6c 64 65 72 73 4c 69 73 74 42 75 | d:.false,..._staticFoldersListBu |
1d85c0 | 69 6c 74 3a 20 66 61 6c 73 65 2c 0a 20 20 5f 69 6e 69 74 69 61 6c 69 7a 65 64 3a 20 66 61 6c 73 | ilt:.false,..._initialized:.fals |
1d85e0 | 65 2c 0a 0a 20 20 67 65 74 20 69 74 65 6d 49 64 28 29 20 7b 0a 20 20 20 20 72 65 74 75 72 6e 20 | e,....get.itemId().{.....return. |
1d8600 | 74 68 69 73 2e 5f 69 74 65 6d 49 64 3b 0a 20 20 7d 2c 0a 0a 20 20 67 65 74 20 6d 75 6c 74 69 45 | this._itemId;...},....get.multiE |
1d8620 | 64 69 74 28 29 20 7b 0a 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f 6d 75 6c 74 69 45 64 | dit().{.....return.this._multiEd |
1d8640 | 69 74 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 44 65 74 65 72 6d 69 6e 65 73 20 | it;...},..../**....*.Determines. |
1d8660 | 74 68 65 20 69 6e 69 74 69 61 6c 20 64 61 74 61 20 66 6f 72 20 74 68 65 20 69 74 65 6d 20 65 64 | the.initial.data.for.the.item.ed |
1d8680 | 69 74 65 64 20 6f 72 20 61 64 64 65 64 20 62 79 20 74 68 69 73 20 64 69 61 6c 6f 67 0a 20 20 20 | ited.or.added.by.this.dialog.... |
1d86a0 | 2a 2f 0a 20 20 5f 64 65 74 65 72 6d 69 6e 65 49 6e 66 6f 3a 20 66 75 6e 63 74 69 6f 6e 20 45 49 | */..._determineInfo:.function.EI |
1d86c0 | 4f 5f 5f 64 65 74 65 72 6d 69 6e 65 49 6e 66 6f 28 61 49 6e 66 6f 29 20 7b 0a 20 20 20 20 2f 2f | O__determineInfo(aInfo).{.....// |
1d86e0 | 20 68 69 64 64 65 6e 20 72 6f 77 73 0a 20 20 20 20 69 66 20 28 61 49 6e 66 6f 20 26 26 20 61 49 | .hidden.rows.....if.(aInfo.&&.aI |
1d8700 | 6e 66 6f 2e 68 69 64 64 65 6e 52 6f 77 73 29 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 68 69 64 64 | nfo.hiddenRows).......this._hidd |
1d8720 | 65 6e 52 6f 77 73 20 3d 20 61 49 6e 66 6f 2e 68 69 64 64 65 6e 52 6f 77 73 3b 0a 20 20 20 20 65 | enRows.=.aInfo.hiddenRows;.....e |
1d8740 | 6c 73 65 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 68 69 64 64 65 6e 52 6f 77 73 2e 73 70 6c 69 63 | lse.......this._hiddenRows.splic |
1d8760 | 65 28 30 29 3b 0a 20 20 20 20 2f 2f 20 66 6f 72 63 65 2d 72 65 61 64 2d 6f 6e 6c 79 0a 20 20 20 | e(0);.....//.force-read-only.... |
1d8780 | 20 74 68 69 73 2e 5f 72 65 61 64 4f 6e 6c 79 20 3d 20 61 49 6e 66 6f 20 26 26 20 61 49 6e 66 6f | .this._readOnly.=.aInfo.&&.aInfo |
1d87a0 | 2e 66 6f 72 63 65 52 65 61 64 4f 6e 6c 79 3b 0a 20 20 7d 2c 0a 0a 20 20 5f 73 68 6f 77 48 69 64 | .forceReadOnly;...},...._showHid |
1d87c0 | 65 52 6f 77 73 3a 20 66 75 6e 63 74 69 6f 6e 20 45 49 4f 5f 5f 73 68 6f 77 48 69 64 65 52 6f 77 | eRows:.function.EIO__showHideRow |
1d87e0 | 73 28 29 20 7b 0a 20 20 20 20 76 61 72 20 69 73 42 6f 6f 6b 6d 61 72 6b 20 3d 20 74 68 69 73 2e | s().{.....var.isBookmark.=.this. |
1d8800 | 5f 69 74 65 6d 49 64 20 21 3d 20 2d 31 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | _itemId.!=.-1.&&................ |
1d8820 | 20 20 20 20 20 20 74 68 69 73 2e 5f 69 74 65 6d 54 79 70 65 20 3d 3d 20 43 69 2e 6e 73 49 4e 61 | ......this._itemType.==.Ci.nsINa |
1d8840 | 76 42 6f 6f 6b 6d 61 72 6b 73 53 65 72 76 69 63 65 2e 54 59 50 45 5f 42 4f 4f 4b 4d 41 52 4b 3b | vBookmarksService.TYPE_BOOKMARK; |
1d8860 | 0a 20 20 20 20 76 61 72 20 69 73 51 75 65 72 79 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 69 66 | .....var.isQuery.=.false;.....if |
1d8880 | 20 28 74 68 69 73 2e 5f 75 72 69 29 0a 20 20 20 20 20 20 69 73 51 75 65 72 79 20 3d 20 74 68 69 | .(this._uri).......isQuery.=.thi |
1d88a0 | 73 2e 5f 75 72 69 2e 73 63 68 65 6d 65 49 73 28 22 70 6c 61 63 65 22 29 3b 0a 0a 20 20 20 20 74 | s._uri.schemeIs("place");......t |
1d88c0 | 68 69 73 2e 5f 65 6c 65 6d 65 6e 74 28 22 6e 61 6d 65 52 6f 77 22 29 2e 63 6f 6c 6c 61 70 73 65 | his._element("nameRow").collapse |
1d88e0 | 64 20 3d 20 74 68 69 73 2e 5f 68 69 64 64 65 6e 52 6f 77 73 2e 69 6e 64 65 78 4f 66 28 22 6e 61 | d.=.this._hiddenRows.indexOf("na |
1d8900 | 6d 65 22 29 20 21 3d 20 2d 31 3b 0a 20 20 20 20 74 68 69 73 2e 5f 65 6c 65 6d 65 6e 74 28 22 66 | me").!=.-1;.....this._element("f |
1d8920 | 6f 6c 64 65 72 52 6f 77 22 29 2e 63 6f 6c 6c 61 70 73 65 64 20 3d 0a 20 20 20 20 20 20 74 68 69 | olderRow").collapsed.=.......thi |
1d8940 | 73 2e 5f 68 69 64 64 65 6e 52 6f 77 73 2e 69 6e 64 65 78 4f 66 28 22 66 6f 6c 64 65 72 50 69 63 | s._hiddenRows.indexOf("folderPic |
1d8960 | 6b 65 72 22 29 20 21 3d 20 2d 31 20 7c 7c 20 74 68 69 73 2e 5f 72 65 61 64 4f 6e 6c 79 3b 0a 20 | ker").!=.-1.||.this._readOnly;.. |
1d8980 | 20 20 20 74 68 69 73 2e 5f 65 6c 65 6d 65 6e 74 28 22 74 61 67 73 52 6f 77 22 29 2e 63 6f 6c 6c | ...this._element("tagsRow").coll |
1d89a0 | 61 70 73 65 64 20 3d 20 21 74 68 69 73 2e 5f 75 72 69 20 7c 7c 0a 20 20 20 20 20 20 74 68 69 73 | apsed.=.!this._uri.||.......this |
1d89c0 | 2e 5f 68 69 64 64 65 6e 52 6f 77 73 2e 69 6e 64 65 78 4f 66 28 22 74 61 67 73 22 29 20 21 3d 20 | ._hiddenRows.indexOf("tags").!=. |
1d89e0 | 2d 31 20 7c 7c 20 69 73 51 75 65 72 79 3b 0a 20 20 20 20 2f 2f 20 43 6f 6c 6c 61 70 73 65 20 74 | -1.||.isQuery;.....//.Collapse.t |
1d8a00 | 68 65 20 74 61 67 20 73 65 6c 65 63 74 6f 72 20 69 66 20 74 68 65 20 69 74 65 6d 20 64 6f 65 73 | he.tag.selector.if.the.item.does |
1d8a20 | 20 6e 6f 74 20 61 63 63 65 70 74 20 74 61 67 73 2e 0a 20 20 20 20 69 66 20 28 21 74 68 69 73 2e | .not.accept.tags......if.(!this. |
1d8a40 | 5f 65 6c 65 6d 65 6e 74 28 22 74 61 67 73 53 65 6c 65 63 74 6f 72 52 6f 77 22 29 2e 63 6f 6c 6c | _element("tagsSelectorRow").coll |
1d8a60 | 61 70 73 65 64 20 26 26 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 65 6c 65 6d 65 6e 74 28 22 | apsed.&&.........this._element(" |
1d8a80 | 74 61 67 73 52 6f 77 22 29 2e 63 6f 6c 6c 61 70 73 65 64 29 0a 20 20 20 20 20 20 74 68 69 73 2e | tagsRow").collapsed).......this. |
1d8aa0 | 74 6f 67 67 6c 65 54 61 67 73 53 65 6c 65 63 74 6f 72 28 29 3b 0a 20 20 20 20 74 68 69 73 2e 5f | toggleTagsSelector();.....this._ |
1d8ac0 | 65 6c 65 6d 65 6e 74 28 22 64 65 73 63 72 69 70 74 69 6f 6e 52 6f 77 22 29 2e 63 6f 6c 6c 61 70 | element("descriptionRow").collap |
1d8ae0 | 73 65 64 20 3d 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 68 69 64 64 65 6e 52 6f 77 73 2e 69 6e 64 | sed.=.......this._hiddenRows.ind |
1d8b00 | 65 78 4f 66 28 22 64 65 73 63 72 69 70 74 69 6f 6e 22 29 20 21 3d 20 2d 31 20 7c 7c 20 74 68 69 | exOf("description").!=.-1.||.thi |
1d8b20 | 73 2e 5f 72 65 61 64 4f 6e 6c 79 3b 0a 20 20 20 20 74 68 69 73 2e 5f 65 6c 65 6d 65 6e 74 28 22 | s._readOnly;.....this._element(" |
1d8b40 | 6b 65 79 77 6f 72 64 52 6f 77 22 29 2e 63 6f 6c 6c 61 70 73 65 64 20 3d 20 21 69 73 42 6f 6f 6b | keywordRow").collapsed.=.!isBook |
1d8b60 | 6d 61 72 6b 20 7c 7c 20 74 68 69 73 2e 5f 72 65 61 64 4f 6e 6c 79 20 7c 7c 0a 20 20 20 20 20 20 | mark.||.this._readOnly.||....... |
1d8b80 | 74 68 69 73 2e 5f 68 69 64 64 65 6e 52 6f 77 73 2e 69 6e 64 65 78 4f 66 28 22 6b 65 79 77 6f 72 | this._hiddenRows.indexOf("keywor |
1d8ba0 | 64 22 29 20 21 3d 20 2d 31 20 7c 7c 20 69 73 51 75 65 72 79 3b 0a 20 20 20 20 74 68 69 73 2e 5f | d").!=.-1.||.isQuery;.....this._ |
1d8bc0 | 65 6c 65 6d 65 6e 74 28 22 6c 6f 63 61 74 69 6f 6e 52 6f 77 22 29 2e 63 6f 6c 6c 61 70 73 65 64 | element("locationRow").collapsed |
1d8be0 | 20 3d 20 21 28 74 68 69 73 2e 5f 75 72 69 20 26 26 20 21 69 73 51 75 65 72 79 29 20 7c 7c 0a 20 | .=.!(this._uri.&&.!isQuery).||.. |
1d8c00 | 20 20 20 20 20 74 68 69 73 2e 5f 68 69 64 64 65 6e 52 6f 77 73 2e 69 6e 64 65 78 4f 66 28 22 6c | .....this._hiddenRows.indexOf("l |
1d8c20 | 6f 63 61 74 69 6f 6e 22 29 20 21 3d 20 2d 31 3b 0a 20 20 20 20 74 68 69 73 2e 5f 65 6c 65 6d 65 | ocation").!=.-1;.....this._eleme |
1d8c40 | 6e 74 28 22 6c 6f 61 64 49 6e 53 69 64 65 62 61 72 43 68 65 63 6b 62 6f 78 22 29 2e 63 6f 6c 6c | nt("loadInSidebarCheckbox").coll |
1d8c60 | 61 70 73 65 64 20 3d 20 21 69 73 42 6f 6f 6b 6d 61 72 6b 20 7c 7c 20 69 73 51 75 65 72 79 20 7c | apsed.=.!isBookmark.||.isQuery.| |
1d8c80 | 7c 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 72 65 61 64 4f 6e 6c 79 20 7c 7c 20 74 68 69 73 2e 5f | |.......this._readOnly.||.this._ |
1d8ca0 | 68 69 64 64 65 6e 52 6f 77 73 2e 69 6e 64 65 78 4f 66 28 22 6c 6f 61 64 49 6e 53 69 64 65 62 61 | hiddenRows.indexOf("loadInSideba |
1d8cc0 | 72 22 29 20 21 3d 20 2d 31 3b 0a 20 20 20 20 74 68 69 73 2e 5f 65 6c 65 6d 65 6e 74 28 22 66 65 | r").!=.-1;.....this._element("fe |
1d8ce0 | 65 64 4c 6f 63 61 74 69 6f 6e 52 6f 77 22 29 2e 63 6f 6c 6c 61 70 73 65 64 20 3d 20 21 74 68 69 | edLocationRow").collapsed.=.!thi |
1d8d00 | 73 2e 5f 69 73 4c 69 76 65 6d 61 72 6b 20 7c 7c 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 68 69 64 | s._isLivemark.||.......this._hid |
1d8d20 | 64 65 6e 52 6f 77 73 2e 69 6e 64 65 78 4f 66 28 22 66 65 65 64 4c 6f 63 61 74 69 6f 6e 22 29 20 | denRows.indexOf("feedLocation"). |
1d8d40 | 21 3d 20 2d 31 3b 0a 20 20 20 20 74 68 69 73 2e 5f 65 6c 65 6d 65 6e 74 28 22 73 69 74 65 4c 6f | !=.-1;.....this._element("siteLo |
1d8d60 | 63 61 74 69 6f 6e 52 6f 77 22 29 2e 63 6f 6c 6c 61 70 73 65 64 20 3d 20 21 74 68 69 73 2e 5f 69 | cationRow").collapsed.=.!this._i |
1d8d80 | 73 4c 69 76 65 6d 61 72 6b 20 7c 7c 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 68 69 64 64 65 6e 52 | sLivemark.||.......this._hiddenR |
1d8da0 | 6f 77 73 2e 69 6e 64 65 78 4f 66 28 22 73 69 74 65 4c 6f 63 61 74 69 6f 6e 22 29 20 21 3d 20 2d | ows.indexOf("siteLocation").!=.- |
1d8dc0 | 31 3b 0a 20 20 20 20 74 68 69 73 2e 5f 65 6c 65 6d 65 6e 74 28 22 73 65 6c 65 63 74 69 6f 6e 43 | 1;.....this._element("selectionC |
1d8de0 | 6f 75 6e 74 22 29 2e 68 69 64 64 65 6e 20 3d 20 21 74 68 69 73 2e 5f 6d 75 6c 74 69 45 64 69 74 | ount").hidden.=.!this._multiEdit |
1d8e00 | 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 49 6e 69 74 69 61 6c 69 7a 65 20 74 68 | ;...},..../**....*.Initialize.th |
1d8e20 | 65 20 70 61 6e 65 6c 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 61 46 6f 72 0a 20 20 20 2a 20 20 20 | e.panel....*.@param.aFor....*... |
1d8e40 | 20 20 20 20 20 45 69 74 68 65 72 20 61 20 70 6c 61 63 65 73 2d 69 74 65 6d 49 64 20 28 6f 66 20 | .....Either.a.places-itemId.(of. |
1d8e60 | 61 20 62 6f 6f 6b 6d 61 72 6b 2c 20 66 6f 6c 64 65 72 20 6f 72 20 61 20 6c 69 76 65 20 62 6f 6f | a.bookmark,.folder.or.a.live.boo |
1d8e80 | 6b 6d 61 72 6b 29 2c 0a 20 20 20 2a 20 20 20 20 20 20 20 20 61 6e 20 61 72 72 61 79 20 6f 66 20 | kmark),....*........an.array.of. |
1d8ea0 | 69 74 65 6d 49 64 73 20 28 75 73 65 64 20 66 6f 72 20 62 75 6c 6b 20 74 61 67 67 69 6e 67 29 2c | itemIds.(used.for.bulk.tagging), |
1d8ec0 | 20 6f 72 20 61 20 55 52 49 20 6f 62 6a 65 63 74 20 28 69 6e 20 0a 20 20 20 2a 20 20 20 20 20 20 | .or.a.URI.object.(in.....*...... |
1d8ee0 | 20 20 77 68 69 63 68 20 63 61 73 65 2c 20 74 68 65 20 70 61 6e 65 6c 20 77 6f 75 6c 64 20 62 65 | ..which.case,.the.panel.would.be |
1d8f00 | 20 69 6e 69 74 69 61 6c 69 7a 65 64 20 69 6e 20 72 65 61 64 2d 6f 6e 6c 79 20 6d 6f 64 65 29 2e | .initialized.in.read-only.mode). |
1d8f20 | 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 5b 6f 70 74 69 6f 6e 61 6c 5d 20 61 49 6e 66 6f 0a 20 20 | ....*.@param.[optional].aInfo... |
1d8f40 | 20 2a 20 20 20 20 20 20 20 20 4a 53 20 6f 62 6a 65 63 74 20 77 68 69 63 68 20 73 74 6f 72 65 73 | .*........JS.object.which.stores |
1d8f60 | 20 61 64 64 69 74 69 6f 6e 61 6c 20 69 6e 66 6f 20 66 6f 72 20 74 68 65 20 70 61 6e 65 6c 0a 20 | .additional.info.for.the.panel.. |
1d8f80 | 20 20 2a 20 20 20 20 20 20 20 20 69 6e 69 74 69 61 6c 69 7a 61 74 69 6f 6e 2e 20 54 68 65 20 66 | ..*........initialization..The.f |
1d8fa0 | 6f 6c 6c 6f 77 69 6e 67 20 70 72 6f 70 65 72 74 69 65 73 20 6d 61 79 20 62 65 74 20 73 65 74 3a | ollowing.properties.may.bet.set: |
1d8fc0 | 0a 20 20 20 2a 20 20 20 20 20 20 20 20 2a 20 68 69 64 64 65 6e 52 6f 77 73 20 28 53 74 72 69 6e | ....*........*.hiddenRows.(Strin |
1d8fe0 | 67 73 20 61 72 72 61 79 29 3a 20 6c 69 73 74 20 6f 66 20 72 6f 77 73 20 74 6f 20 62 65 20 68 69 | gs.array):.list.of.rows.to.be.hi |
1d9000 | 64 64 65 6e 20 72 65 67 61 72 64 6c 65 73 73 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 6f 66 | dden.regardless....*..........of |
1d9020 | 20 74 68 65 20 69 74 65 6d 20 65 64 69 74 65 64 2e 20 50 6f 73 73 69 62 6c 65 20 76 61 6c 75 65 | .the.item.edited..Possible.value |
1d9040 | 73 3a 20 22 74 69 74 6c 65 22 2c 20 22 6c 6f 63 61 74 69 6f 6e 22 2c 0a 20 20 20 2a 20 20 20 20 | s:."title",."location",....*.... |
1d9060 | 20 20 20 20 20 20 22 64 65 73 63 72 69 70 74 69 6f 6e 22 2c 20 22 6b 65 79 77 6f 72 64 22 2c 20 | ......"description",."keyword",. |
1d9080 | 22 6c 6f 61 64 49 6e 53 69 64 65 62 61 72 22 2c 20 22 66 65 65 64 4c 6f 63 61 74 69 6f 6e 22 2c | "loadInSidebar",."feedLocation", |
1d90a0 | 0a 20 20 20 2a 20 20 20 20 20 20 20 20 20 20 22 73 69 74 65 4c 6f 63 61 74 69 6f 6e 22 2c 20 66 | ....*.........."siteLocation",.f |
1d90c0 | 6f 6c 64 65 72 50 69 63 6b 65 72 22 0a 20 20 20 2a 20 20 20 20 20 20 20 20 2a 20 66 6f 72 63 65 | olderPicker"....*........*.force |
1d90e0 | 52 65 61 64 4f 6e 6c 79 20 2d 20 73 65 74 20 74 68 69 73 20 66 6c 61 67 20 74 6f 20 69 6e 69 74 | ReadOnly.-.set.this.flag.to.init |
1d9100 | 69 61 6c 69 7a 65 20 74 68 65 20 70 61 6e 65 6c 20 74 6f 20 69 74 73 0a 20 20 20 2a 20 20 20 20 | ialize.the.panel.to.its....*.... |
1d9120 | 20 20 20 20 20 20 72 65 61 64 2d 6f 6e 6c 79 20 28 76 69 65 77 29 20 6d 6f 64 65 20 65 76 65 6e | ......read-only.(view).mode.even |
1d9140 | 20 69 66 20 74 68 65 20 67 69 76 65 6e 20 69 74 65 6d 20 69 73 20 65 64 69 74 61 62 6c 65 2e 0a | .if.the.given.item.is.editable.. |
1d9160 | 20 20 20 2a 2f 0a 20 20 69 6e 69 74 50 61 6e 65 6c 3a 20 66 75 6e 63 74 69 6f 6e 20 45 49 4f 5f | ...*/...initPanel:.function.EIO_ |
1d9180 | 69 6e 69 74 50 61 6e 65 6c 28 61 46 6f 72 2c 20 61 49 6e 66 6f 29 20 7b 0a 20 20 20 20 2f 2f 20 | initPanel(aFor,.aInfo).{.....//. |
1d91a0 | 46 6f 72 20 73 61 6e 69 74 79 20 65 6e 73 75 72 65 20 74 68 61 74 20 74 68 65 20 69 6d 70 6c 65 | For.sanity.ensure.that.the.imple |
1d91c0 | 6d 65 6e 74 65 72 20 68 61 73 20 75 6e 69 6e 69 74 65 64 20 74 68 65 20 70 61 6e 65 6c 20 62 65 | menter.has.uninited.the.panel.be |
1d91e0 | 66 6f 72 65 0a 20 20 20 20 2f 2f 20 74 72 79 69 6e 67 20 74 6f 20 69 6e 69 74 20 69 74 20 61 67 | fore.....//.trying.to.init.it.ag |
1d9200 | 61 69 6e 2c 20 6f 72 20 77 65 20 63 6f 75 6c 64 20 65 6e 64 20 75 70 20 6c 65 61 6b 69 6e 67 20 | ain,.or.we.could.end.up.leaking. |
1d9220 | 64 75 65 20 74 6f 20 6f 62 73 65 72 76 65 72 73 2e 0a 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f | due.to.observers......if.(this._ |
1d9240 | 69 6e 69 74 69 61 6c 69 7a 65 64 29 0a 20 20 20 20 20 20 74 68 69 73 2e 75 6e 69 6e 69 74 50 61 | initialized).......this.uninitPa |
1d9260 | 6e 65 6c 28 66 61 6c 73 65 29 3b 0a 0a 20 20 20 20 76 61 72 20 61 49 74 65 6d 49 64 4c 69 73 74 | nel(false);......var.aItemIdList |
1d9280 | 3b 0a 20 20 20 20 69 66 20 28 61 46 6f 72 2e 6c 65 6e 67 74 68 29 20 7b 0a 20 20 20 20 20 20 61 | ;.....if.(aFor.length).{.......a |
1d92a0 | 49 74 65 6d 49 64 4c 69 73 74 20 3d 20 61 46 6f 72 3b 0a 20 20 20 20 20 20 61 46 6f 72 20 3d 20 | ItemIdList.=.aFor;.......aFor.=. |
1d92c0 | 61 49 74 65 6d 49 64 4c 69 73 74 5b 30 5d 3b 0a 20 20 20 20 7d 0a 20 20 20 20 65 6c 73 65 20 69 | aItemIdList[0];.....}.....else.i |
1d92e0 | 66 20 28 74 68 69 73 2e 5f 6d 75 6c 74 69 45 64 69 74 29 20 7b 0a 20 20 20 20 20 20 74 68 69 73 | f.(this._multiEdit).{.......this |
1d9300 | 2e 5f 6d 75 6c 74 69 45 64 69 74 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 20 74 68 69 73 2e | ._multiEdit.=.false;.......this. |
1d9320 | 5f 74 61 67 73 20 3d 20 5b 5d 3b 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 75 72 69 73 20 3d 20 5b | _tags.=.[];.......this._uris.=.[ |
1d9340 | 5d 3b 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 61 6c 6c 54 61 67 73 20 3d 20 5b 5d 3b 0a 20 20 20 | ];.......this._allTags.=.[];.... |
1d9360 | 20 20 20 74 68 69 73 2e 5f 69 74 65 6d 49 64 73 20 3d 20 5b 5d 3b 0a 20 20 20 20 20 20 74 68 69 | ...this._itemIds.=.[];.......thi |
1d9380 | 73 2e 5f 65 6c 65 6d 65 6e 74 28 22 73 65 6c 65 63 74 69 6f 6e 43 6f 75 6e 74 22 29 2e 68 69 64 | s._element("selectionCount").hid |
1d93a0 | 64 65 6e 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 74 68 69 73 2e 5f 66 6f 6c | den.=.true;.....}......this._fol |
1d93c0 | 64 65 72 4d 65 6e 75 4c 69 73 74 20 3d 20 74 68 69 73 2e 5f 65 6c 65 6d 65 6e 74 28 22 66 6f 6c | derMenuList.=.this._element("fol |
1d93e0 | 64 65 72 4d 65 6e 75 4c 69 73 74 22 29 3b 0a 20 20 20 20 74 68 69 73 2e 5f 66 6f 6c 64 65 72 54 | derMenuList");.....this._folderT |
1d9400 | 72 65 65 20 3d 20 74 68 69 73 2e 5f 65 6c 65 6d 65 6e 74 28 22 66 6f 6c 64 65 72 54 72 65 65 22 | ree.=.this._element("folderTree" |
1d9420 | 29 3b 0a 0a 20 20 20 20 74 68 69 73 2e 5f 64 65 74 65 72 6d 69 6e 65 49 6e 66 6f 28 61 49 6e 66 | );......this._determineInfo(aInf |
1d9440 | 6f 29 3b 0a 20 20 20 20 69 66 20 28 61 46 6f 72 20 69 6e 73 74 61 6e 63 65 6f 66 20 43 69 2e 6e | o);.....if.(aFor.instanceof.Ci.n |
1d9460 | 73 49 55 52 49 29 20 7b 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 69 74 65 6d 49 64 20 3d 20 2d 31 | sIURI).{.......this._itemId.=.-1 |
1d9480 | 3b 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 75 72 69 20 3d 20 61 46 6f 72 3b 0a 20 20 20 20 20 20 | ;.......this._uri.=.aFor;....... |
1d94a0 | 74 68 69 73 2e 5f 72 65 61 64 4f 6e 6c 79 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 7d 0a 20 20 20 | this._readOnly.=.true;.....}.... |
1d94c0 | 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 69 74 65 6d 49 64 20 3d 20 61 46 6f | .else.{.......this._itemId.=.aFo |
1d94e0 | 72 3b 0a 20 20 20 20 20 20 76 61 72 20 63 6f 6e 74 61 69 6e 65 72 20 3d 20 20 50 6c 61 63 65 73 | r;.......var.container.=..Places |
1d9500 | 55 74 69 6c 73 2e 62 6f 6f 6b 6d 61 72 6b 73 2e 67 65 74 46 6f 6c 64 65 72 49 64 46 6f 72 49 74 | Utils.bookmarks.getFolderIdForIt |
1d9520 | 65 6d 28 74 68 69 73 2e 5f 69 74 65 6d 49 64 29 3b 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 69 74 | em(this._itemId);.......this._it |
1d9540 | 65 6d 54 79 70 65 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 62 6f 6f 6b 6d 61 72 6b 73 2e 67 | emType.=.PlacesUtils.bookmarks.g |
1d9560 | 65 74 49 74 65 6d 54 79 70 65 28 74 68 69 73 2e 5f 69 74 65 6d 49 64 29 3b 0a 20 20 20 20 20 20 | etItemType(this._itemId);....... |
1d9580 | 69 66 20 28 74 68 69 73 2e 5f 69 74 65 6d 54 79 70 65 20 3d 3d 20 43 69 2e 6e 73 49 4e 61 76 42 | if.(this._itemType.==.Ci.nsINavB |
1d95a0 | 6f 6f 6b 6d 61 72 6b 73 53 65 72 76 69 63 65 2e 54 59 50 45 5f 42 4f 4f 4b 4d 41 52 4b 29 20 7b | ookmarksService.TYPE_BOOKMARK).{ |
1d95c0 | 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 75 72 69 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 | .........this._uri.=.PlacesUtils |
1d95e0 | 2e 62 6f 6f 6b 6d 61 72 6b 73 2e 67 65 74 42 6f 6f 6b 6d 61 72 6b 55 52 49 28 74 68 69 73 2e 5f | .bookmarks.getBookmarkURI(this._ |
1d9600 | 69 74 65 6d 49 64 29 3b 0a 20 20 20 20 20 20 20 20 69 66 20 28 21 74 68 69 73 2e 5f 72 65 61 64 | itemId);.........if.(!this._read |
1d9620 | 4f 6e 6c 79 29 20 2f 2f 20 49 66 20 72 65 61 64 4f 6e 6c 79 20 77 61 73 6e 27 74 20 66 6f 72 63 | Only).//.If.readOnly.wasn't.forc |
1d9640 | 65 64 20 74 68 72 6f 75 67 68 20 61 49 6e 66 6f 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e | ed.through.aInfo...........this. |
1d9660 | 5f 72 65 61 64 4f 6e 6c 79 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 6c 69 76 65 6d 61 72 6b | _readOnly.=.PlacesUtils.livemark |
1d9680 | 73 2e 69 73 4c 69 76 65 6d 61 72 6b 28 63 6f 6e 74 61 69 6e 65 72 29 3b 0a 20 20 20 20 20 20 20 | s.isLivemark(container);........ |
1d96a0 | 20 74 68 69 73 2e 5f 69 6e 69 74 54 65 78 74 46 69 65 6c 64 28 22 6b 65 79 77 6f 72 64 46 69 65 | .this._initTextField("keywordFie |
1d96c0 | 6c 64 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ld",............................ |
1d96e0 | 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 62 6f 6f 6b 6d 61 72 6b 73 0a 20 20 20 20 20 20 20 20 20 | .PlacesUtils.bookmarks.......... |
1d9700 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 | ...............................g |
1d9720 | 65 74 4b 65 79 77 6f 72 64 46 6f 72 42 6f 6f 6b 6d 61 72 6b 28 74 68 69 73 2e 5f 69 74 65 6d 49 | etKeywordForBookmark(this._itemI |
1d9740 | 64 29 29 3b 0a 20 20 20 20 20 20 20 20 2f 2f 20 4c 6f 61 64 20 49 6e 20 53 69 64 65 62 61 72 20 | d));.........//.Load.In.Sidebar. |
1d9760 | 63 68 65 63 6b 62 6f 78 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 65 6c 65 6d 65 6e 74 28 22 | checkbox.........this._element(" |
1d9780 | 6c 6f 61 64 49 6e 53 69 64 65 62 61 72 43 68 65 63 6b 62 6f 78 22 29 2e 63 68 65 63 6b 65 64 20 | loadInSidebarCheckbox").checked. |
1d97a0 | 3d 0a 20 20 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 61 6e 6e 6f 74 61 74 69 | =...........PlacesUtils.annotati |
1d97c0 | 6f 6e 73 2e 69 74 65 6d 48 61 73 41 6e 6e 6f 74 61 74 69 6f 6e 28 74 68 69 73 2e 5f 69 74 65 6d | ons.itemHasAnnotation(this._item |
1d97e0 | 49 64 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | Id,............................. |
1d9800 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 4c 4f 41 44 5f 49 4e 5f | ........................LOAD_IN_ |
1d9820 | 53 49 44 45 42 41 52 5f 41 4e 4e 4f 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 65 6c 73 | SIDEBAR_ANNO);.......}.......els |
1d9840 | 65 20 7b 0a 20 20 20 20 20 20 20 20 69 66 20 28 21 74 68 69 73 2e 5f 72 65 61 64 4f 6e 6c 79 29 | e.{.........if.(!this._readOnly) |
1d9860 | 20 2f 2f 20 49 66 20 72 65 61 64 4f 6e 6c 79 20 77 61 73 6e 27 74 20 66 6f 72 63 65 64 20 74 68 | .//.If.readOnly.wasn't.forced.th |
1d9880 | 72 6f 75 67 68 20 61 49 6e 66 6f 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 72 65 61 64 | rough.aInfo...........this._read |
1d98a0 | 4f 6e 6c 79 20 3d 20 66 61 6c 73 65 3b 0a 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 75 72 69 | Only.=.false;..........this._uri |
1d98c0 | 20 3d 20 6e 75 6c 6c 3b 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 69 73 4c 69 76 65 6d 61 72 | .=.null;.........this._isLivemar |
1d98e0 | 6b 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 6c 69 76 65 6d 61 72 6b 73 2e 69 73 4c 69 76 65 | k.=.PlacesUtils.livemarks.isLive |
1d9900 | 6d 61 72 6b 28 74 68 69 73 2e 5f 69 74 65 6d 49 64 29 3b 0a 20 20 20 20 20 20 20 20 69 66 20 28 | mark(this._itemId);.........if.( |
1d9920 | 74 68 69 73 2e 5f 69 73 4c 69 76 65 6d 61 72 6b 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 76 61 | this._isLivemark).{...........va |
1d9940 | 72 20 66 65 65 64 55 52 49 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 6c 69 76 65 6d 61 72 6b | r.feedURI.=.PlacesUtils.livemark |
1d9960 | 73 2e 67 65 74 46 65 65 64 55 52 49 28 74 68 69 73 2e 5f 69 74 65 6d 49 64 29 3b 0a 20 20 20 20 | s.getFeedURI(this._itemId);..... |
1d9980 | 20 20 20 20 20 20 76 61 72 20 73 69 74 65 55 52 49 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e | ......var.siteURI.=.PlacesUtils. |
1d99a0 | 6c 69 76 65 6d 61 72 6b 73 2e 67 65 74 53 69 74 65 55 52 49 28 74 68 69 73 2e 5f 69 74 65 6d 49 | livemarks.getSiteURI(this._itemI |
1d99c0 | 64 29 3b 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 69 6e 69 74 54 65 78 74 46 69 65 6c | d);...........this._initTextFiel |
1d99e0 | 64 28 22 66 65 65 64 4c 6f 63 61 74 69 6f 6e 46 69 65 6c 64 22 2c 20 66 65 65 64 55 52 49 2e 73 | d("feedLocationField",.feedURI.s |
1d9a00 | 70 65 63 29 3b 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 69 6e 69 74 54 65 78 74 46 69 | pec);...........this._initTextFi |
1d9a20 | 65 6c 64 28 22 73 69 74 65 4c 6f 63 61 74 69 6f 6e 46 69 65 6c 64 22 2c 20 73 69 74 65 55 52 49 | eld("siteLocationField",.siteURI |
1d9a40 | 20 3f 20 73 69 74 65 55 52 49 2e 73 70 65 63 20 3a 20 22 22 29 3b 0a 20 20 20 20 20 20 20 20 7d | .?.siteURI.spec.:."");.........} |
1d9a60 | 0a 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 2f 2f 20 66 6f 6c 64 65 72 20 70 69 63 6b 65 72 | .......}........//.folder.picker |
1d9a80 | 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 69 6e 69 74 46 6f 6c 64 65 72 4d 65 6e 75 4c 69 73 74 28 | .......this._initFolderMenuList( |
1d9aa0 | 63 6f 6e 74 61 69 6e 65 72 29 3b 0a 0a 20 20 20 20 20 20 2f 2f 20 64 65 73 63 72 69 70 74 69 6f | container);........//.descriptio |
1d9ac0 | 6e 20 66 69 65 6c 64 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 69 6e 69 74 54 65 78 74 46 69 65 6c | n.field.......this._initTextFiel |
1d9ae0 | 64 28 22 64 65 73 63 72 69 70 74 69 6f 6e 46 69 65 6c 64 22 2c 20 0a 20 20 20 20 20 20 20 20 20 | d("descriptionField",........... |
1d9b00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 67 | .................PlacesUIUtils.g |
1d9b20 | 65 74 49 74 65 6d 44 65 73 63 72 69 70 74 69 6f 6e 28 74 68 69 73 2e 5f 69 74 65 6d 49 64 29 29 | etItemDescription(this._itemId)) |
1d9b40 | 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 69 74 65 6d 49 64 20 3d 3d | ;.....}......if.(this._itemId.== |
1d9b60 | 20 2d 31 20 7c 7c 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 69 74 65 6d 54 79 70 65 20 3d 3d | .-1.||.........this._itemType.== |
1d9b80 | 20 43 69 2e 6e 73 49 4e 61 76 42 6f 6f 6b 6d 61 72 6b 73 53 65 72 76 69 63 65 2e 54 59 50 45 5f | .Ci.nsINavBookmarksService.TYPE_ |
1d9ba0 | 42 4f 4f 4b 4d 41 52 4b 29 20 7b 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 69 73 4c 69 76 65 6d 61 | BOOKMARK).{.......this._isLivema |
1d9bc0 | 72 6b 20 3d 20 66 61 6c 73 65 3b 0a 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 69 6e 69 74 54 65 78 | rk.=.false;........this._initTex |
1d9be0 | 74 46 69 65 6c 64 28 22 6c 6f 63 61 74 69 6f 6e 46 69 65 6c 64 22 2c 20 74 68 69 73 2e 5f 75 72 | tField("locationField",.this._ur |
1d9c00 | 69 2e 73 70 65 63 29 3b 0a 20 20 20 20 20 20 69 66 20 28 21 61 49 74 65 6d 49 64 4c 69 73 74 29 | i.spec);.......if.(!aItemIdList) |
1d9c20 | 20 7b 0a 20 20 20 20 20 20 20 20 76 61 72 20 74 61 67 73 20 3d 20 50 6c 61 63 65 73 55 74 69 6c | .{.........var.tags.=.PlacesUtil |
1d9c40 | 73 2e 74 61 67 67 69 6e 67 2e 67 65 74 54 61 67 73 46 6f 72 55 52 49 28 74 68 69 73 2e 5f 75 72 | s.tagging.getTagsForURI(this._ur |
1d9c60 | 69 2c 20 7b 7d 29 2e 6a 6f 69 6e 28 22 2c 20 22 29 3b 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e | i,.{}).join(",.");.........this. |
1d9c80 | 5f 69 6e 69 74 54 65 78 74 46 69 65 6c 64 28 22 74 61 67 73 46 69 65 6c 64 22 2c 20 74 61 67 73 | _initTextField("tagsField",.tags |
1d9ca0 | 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 65 6c 73 65 20 7b 0a 20 | ,.false);.......}.......else.{.. |
1d9cc0 | 20 20 20 20 20 20 20 74 68 69 73 2e 5f 6d 75 6c 74 69 45 64 69 74 20 3d 20 74 72 75 65 3b 0a 20 | .......this._multiEdit.=.true;.. |
1d9ce0 | 20 20 20 20 20 20 20 74 68 69 73 2e 5f 61 6c 6c 54 61 67 73 20 3d 20 5b 5d 3b 0a 20 20 20 20 20 | .......this._allTags.=.[];...... |
1d9d00 | 20 20 20 74 68 69 73 2e 5f 69 74 65 6d 49 64 73 20 3d 20 61 49 74 65 6d 49 64 4c 69 73 74 3b 0a | ...this._itemIds.=.aItemIdList;. |
1d9d20 | 20 20 20 20 20 20 20 20 76 61 72 20 6e 6f 64 65 54 6f 43 68 65 63 6b 20 3d 20 30 3b 0a 20 20 20 | ........var.nodeToCheck.=.0;.... |
1d9d40 | 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 61 49 74 65 6d 49 64 | .....for.(var.i.=.0;.i.<.aItemId |
1d9d60 | 4c 69 73 74 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 69 66 | List.length;.i++).{...........if |
1d9d80 | 20 28 61 49 74 65 6d 49 64 4c 69 73 74 5b 69 5d 20 69 6e 73 74 61 6e 63 65 6f 66 20 43 69 2e 6e | .(aItemIdList[i].instanceof.Ci.n |
1d9da0 | 73 49 55 52 49 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 75 72 69 73 5b | sIURI).{.............this._uris[ |
1d9dc0 | 69 5d 20 3d 20 61 49 74 65 6d 49 64 4c 69 73 74 5b 69 5d 3b 0a 20 20 20 20 20 20 20 20 20 20 20 | i].=.aItemIdList[i];............ |
1d9de0 | 20 74 68 69 73 2e 5f 69 74 65 6d 49 64 73 5b 69 5d 20 3d 20 2d 31 3b 0a 20 20 20 20 20 20 20 20 | .this._itemIds[i].=.-1;......... |
1d9e00 | 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 | ..}...........else.............t |
1d9e20 | 68 69 73 2e 5f 75 72 69 73 5b 69 5d 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 62 6f 6f 6b 6d | his._uris[i].=.PlacesUtils.bookm |
1d9e40 | 61 72 6b 73 2e 67 65 74 42 6f 6f 6b 6d 61 72 6b 55 52 49 28 74 68 69 73 2e 5f 69 74 65 6d 49 64 | arks.getBookmarkURI(this._itemId |
1d9e60 | 73 5b 69 5d 2c 20 7b 7d 29 3b 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 74 61 67 73 5b | s[i],.{});...........this._tags[ |
1d9e80 | 69 5d 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 74 61 67 67 69 6e 67 2e 67 65 74 54 61 67 73 | i].=.PlacesUtils.tagging.getTags |
1d9ea0 | 46 6f 72 55 52 49 28 74 68 69 73 2e 5f 75 72 69 73 5b 69 5d 2c 20 7b 7d 29 3b 0a 20 20 20 20 20 | ForURI(this._uris[i],.{});...... |
1d9ec0 | 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 74 61 67 73 5b 69 5d 2e 6c 65 6e 67 74 68 20 3c 20 | .....if.(this._tags[i].length.<. |
1d9ee0 | 74 68 69 73 2e 5f 74 61 67 73 5b 6e 6f 64 65 54 6f 43 68 65 63 6b 5d 2e 6c 65 6e 67 74 68 29 0a | this._tags[nodeToCheck].length). |
1d9f00 | 20 20 20 20 20 20 20 20 20 20 20 20 6e 6f 64 65 54 6f 43 68 65 63 6b 20 3d 20 20 69 3b 0a 20 20 | ............nodeToCheck.=..i;... |
1d9f20 | 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 67 65 74 43 6f 6d 6d 6f 6e 54 | ......}.........this._getCommonT |
1d9f40 | 61 67 73 28 6e 6f 64 65 54 6f 43 68 65 63 6b 29 3b 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f | ags(nodeToCheck);.........this._ |
1d9f60 | 69 6e 69 74 54 65 78 74 46 69 65 6c 64 28 22 74 61 67 73 46 69 65 6c 64 22 2c 20 74 68 69 73 2e | initTextField("tagsField",.this. |
1d9f80 | 5f 61 6c 6c 54 61 67 73 2e 6a 6f 69 6e 28 22 2c 20 22 29 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 | _allTags.join(",."),.false);.... |
1d9fa0 | 20 20 20 20 20 74 68 69 73 2e 5f 65 6c 65 6d 65 6e 74 28 22 69 74 65 6d 73 43 6f 75 6e 74 54 65 | .....this._element("itemsCountTe |
1d9fc0 | 78 74 22 29 2e 76 61 6c 75 65 20 3d 0a 20 20 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 55 49 55 | xt").value.=...........PlacesUIU |
1d9fe0 | 74 69 6c 73 2e 67 65 74 46 6f 72 6d 61 74 74 65 64 53 74 72 69 6e 67 28 22 64 65 74 61 69 6c 73 | tils.getFormattedString("details |
1da000 | 50 61 6e 65 2e 6d 75 6c 74 69 70 6c 65 49 74 65 6d 73 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 | Pane.multipleItems",............ |
1da020 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
1da040 | 5b 74 68 69 73 2e 5f 69 74 65 6d 49 64 73 2e 6c 65 6e 67 74 68 5d 29 3b 0a 20 20 20 20 20 20 7d | [this._itemIds.length]);.......} |
1da060 | 0a 0a 20 20 20 20 20 20 2f 2f 20 74 61 67 73 20 73 65 6c 65 63 74 6f 72 0a 20 20 20 20 20 20 74 | ........//.tags.selector.......t |
1da080 | 68 69 73 2e 5f 72 65 62 75 69 6c 64 54 61 67 73 53 65 6c 65 63 74 6f 72 4c 69 73 74 28 29 3b 0a | his._rebuildTagsSelectorList();. |
1da0a0 | 20 20 20 20 7d 0a 0a 20 20 20 20 2f 2f 20 6e 61 6d 65 20 70 69 63 6b 65 72 0a 20 20 20 20 74 68 | ....}......//.name.picker.....th |
1da0c0 | 69 73 2e 5f 69 6e 69 74 4e 61 6d 65 50 69 63 6b 65 72 28 29 3b 0a 20 20 20 20 0a 20 20 20 20 74 | is._initNamePicker();..........t |
1da0e0 | 68 69 73 2e 5f 73 68 6f 77 48 69 64 65 52 6f 77 73 28 29 3b 0a 0a 20 20 20 20 2f 2f 20 6f 62 73 | his._showHideRows();......//.obs |
1da100 | 65 72 76 65 20 63 68 61 6e 67 65 73 0a 20 20 20 20 69 66 20 28 21 74 68 69 73 2e 5f 6f 62 73 65 | erve.changes.....if.(!this._obse |
1da120 | 72 76 65 72 73 41 64 64 65 64 29 20 7b 0a 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 69 74 | rversAdded).{.......if.(this._it |
1da140 | 65 6d 49 64 20 21 3d 20 2d 31 29 0a 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 55 74 69 6c 73 2e | emId.!=.-1).........PlacesUtils. |
1da160 | 62 6f 6f 6b 6d 61 72 6b 73 2e 61 64 64 4f 62 73 65 72 76 65 72 28 74 68 69 73 2c 20 66 61 6c 73 | bookmarks.addObserver(this,.fals |
1da180 | 65 29 3b 0a 20 20 20 20 20 20 77 69 6e 64 6f 77 2e 61 64 64 45 76 65 6e 74 4c 69 73 74 65 6e 65 | e);.......window.addEventListene |
1da1a0 | 72 28 22 75 6e 6c 6f 61 64 22 2c 20 74 68 69 73 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 20 20 20 | r("unload",.this,.false);....... |
1da1c0 | 74 68 69 73 2e 5f 6f 62 73 65 72 76 65 72 73 41 64 64 65 64 20 3d 20 74 72 75 65 3b 0a 20 20 20 | this._observersAdded.=.true;.... |
1da1e0 | 20 7d 0a 0a 20 20 20 20 74 68 69 73 2e 5f 69 6e 69 74 69 61 6c 69 7a 65 64 20 3d 20 74 72 75 65 | .}......this._initialized.=.true |
1da200 | 3b 0a 20 20 7d 2c 0a 0a 20 20 5f 67 65 74 43 6f 6d 6d 6f 6e 54 61 67 73 3a 20 66 75 6e 63 74 69 | ;...},...._getCommonTags:.functi |
1da220 | 6f 6e 28 61 41 72 72 49 6e 64 65 78 29 20 7b 0a 20 20 20 20 76 61 72 20 74 65 6d 70 41 72 72 61 | on(aArrIndex).{.....var.tempArra |
1da240 | 79 20 3d 20 74 68 69 73 2e 5f 74 61 67 73 5b 61 41 72 72 49 6e 64 65 78 5d 3b 0a 20 20 20 20 76 | y.=.this._tags[aArrIndex];.....v |
1da260 | 61 72 20 69 73 41 6c 6c 54 61 67 3b 0a 20 20 20 20 66 6f 72 20 28 76 61 72 20 6b 20 3d 20 30 3b | ar.isAllTag;.....for.(var.k.=.0; |
1da280 | 20 6b 20 3c 20 74 65 6d 70 41 72 72 61 79 2e 6c 65 6e 67 74 68 3b 20 6b 2b 2b 29 20 7b 0a 20 20 | .k.<.tempArray.length;.k++).{... |
1da2a0 | 20 20 20 20 69 73 41 6c 6c 54 61 67 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 66 6f 72 20 28 | ....isAllTag.=.true;.......for.( |
1da2c0 | 76 61 72 20 6a 20 3d 20 30 3b 20 6a 20 3c 20 74 68 69 73 2e 5f 74 61 67 73 2e 6c 65 6e 67 74 68 | var.j.=.0;.j.<.this._tags.length |
1da2e0 | 3b 20 6a 2b 2b 29 20 7b 0a 20 20 20 20 20 20 20 20 69 66 20 28 6a 20 3d 3d 20 61 41 72 72 49 6e | ;.j++).{.........if.(j.==.aArrIn |
1da300 | 64 65 78 29 0a 20 20 20 20 20 20 20 20 20 20 63 6f 6e 74 69 6e 75 65 3b 0a 20 20 20 20 20 20 20 | dex)...........continue;........ |
1da320 | 20 69 66 20 28 74 68 69 73 2e 5f 74 61 67 73 5b 6a 5d 2e 69 6e 64 65 78 4f 66 28 74 65 6d 70 41 | .if.(this._tags[j].indexOf(tempA |
1da340 | 72 72 61 79 5b 6b 5d 29 20 3d 3d 20 2d 31 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 69 73 41 6c | rray[k]).==.-1).{...........isAl |
1da360 | 6c 54 61 67 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 | lTag.=.false;...........break;.. |
1da380 | 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 69 66 20 28 69 73 41 6c 6c | .......}.......}.......if.(isAll |
1da3a0 | 54 61 67 29 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 61 6c 6c 54 61 67 73 2e 70 75 73 68 28 | Tag).........this._allTags.push( |
1da3c0 | 74 65 6d 70 41 72 72 61 79 5b 6b 5d 29 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 5f 69 6e | tempArray[k]);.....}...},...._in |
1da3e0 | 69 74 54 65 78 74 46 69 65 6c 64 3a 20 66 75 6e 63 74 69 6f 6e 28 61 54 65 78 74 46 69 65 6c 64 | itTextField:.function(aTextField |
1da400 | 49 64 2c 20 61 56 61 6c 75 65 2c 20 61 52 65 61 64 4f 6e 6c 79 29 20 7b 0a 20 20 20 20 76 61 72 | Id,.aValue,.aReadOnly).{.....var |
1da420 | 20 66 69 65 6c 64 20 3d 20 74 68 69 73 2e 5f 65 6c 65 6d 65 6e 74 28 61 54 65 78 74 46 69 65 6c | .field.=.this._element(aTextFiel |
1da440 | 64 49 64 29 3b 0a 20 20 20 20 66 69 65 6c 64 2e 72 65 61 64 4f 6e 6c 79 20 3d 20 61 52 65 61 64 | dId);.....field.readOnly.=.aRead |
1da460 | 4f 6e 6c 79 20 21 3d 3d 20 75 6e 64 65 66 69 6e 65 64 20 3f 20 61 52 65 61 64 4f 6e 6c 79 20 3a | Only.!==.undefined.?.aReadOnly.: |
1da480 | 20 74 68 69 73 2e 5f 72 65 61 64 4f 6e 6c 79 3b 0a 0a 20 20 20 20 69 66 20 28 66 69 65 6c 64 2e | .this._readOnly;......if.(field. |
1da4a0 | 76 61 6c 75 65 20 21 3d 20 61 56 61 6c 75 65 29 20 7b 0a 20 20 20 20 20 20 66 69 65 6c 64 2e 76 | value.!=.aValue).{.......field.v |
1da4c0 | 61 6c 75 65 20 3d 20 61 56 61 6c 75 65 3b 0a 0a 20 20 20 20 20 20 2f 2f 20 63 6c 65 61 72 20 74 | alue.=.aValue;........//.clear.t |
1da4e0 | 68 65 20 75 6e 64 6f 20 73 74 61 63 6b 0a 20 20 20 20 20 20 76 61 72 20 65 64 69 74 6f 72 20 3d | he.undo.stack.......var.editor.= |
1da500 | 20 66 69 65 6c 64 2e 65 64 69 74 6f 72 3b 0a 20 20 20 20 20 20 69 66 20 28 65 64 69 74 6f 72 29 | .field.editor;.......if.(editor) |
1da520 | 0a 20 20 20 20 20 20 20 20 65 64 69 74 6f 72 2e 74 72 61 6e 73 61 63 74 69 6f 6e 4d 61 6e 61 67 | .........editor.transactionManag |
1da540 | 65 72 2e 63 6c 65 61 72 28 29 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 | er.clear();.....}...},..../**... |
1da560 | 20 2a 20 41 70 70 65 6e 64 73 20 61 20 6d 65 6e 75 2d 69 74 65 6d 20 72 65 70 72 65 73 65 6e 74 | .*.Appends.a.menu-item.represent |
1da580 | 69 6e 67 20 61 20 62 6f 6f 6b 6d 61 72 6b 73 20 66 6f 6c 64 65 72 20 74 6f 20 61 20 6d 65 6e 75 | ing.a.bookmarks.folder.to.a.menu |
1da5a0 | 2d 70 6f 70 75 70 2e 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 61 4d 65 6e 75 70 6f 70 75 70 0a 20 | -popup.....*.@param.aMenupopup.. |
1da5c0 | 20 20 2a 20 20 20 20 20 20 20 20 54 68 65 20 70 6f 70 75 70 20 74 6f 20 77 68 69 63 68 20 74 68 | ..*........The.popup.to.which.th |
1da5e0 | 65 20 6d 65 6e 75 2d 69 74 65 6d 20 73 68 6f 75 6c 64 20 62 65 20 61 64 64 65 64 2e 0a 20 20 20 | e.menu-item.should.be.added..... |
1da600 | 2a 20 40 70 61 72 61 6d 20 61 46 6f 6c 64 65 72 49 64 0a 20 20 20 2a 20 20 20 20 20 20 20 20 54 | *.@param.aFolderId....*........T |
1da620 | 68 65 20 69 64 65 6e 74 69 66 69 65 72 20 6f 66 20 74 68 65 20 62 6f 6f 6b 6d 61 72 6b 73 20 66 | he.identifier.of.the.bookmarks.f |
1da640 | 6f 6c 64 65 72 2e 0a 20 20 20 2a 20 40 72 65 74 75 72 6e 20 74 68 65 20 6e 65 77 20 6d 65 6e 75 | older.....*.@return.the.new.menu |
1da660 | 20 69 74 65 6d 2e 0a 20 20 20 2a 2f 0a 20 20 5f 61 70 70 65 6e 64 46 6f 6c 64 65 72 49 74 65 6d | .item.....*/..._appendFolderItem |
1da680 | 54 6f 4d 65 6e 75 70 6f 70 75 70 3a 0a 20 20 66 75 6e 63 74 69 6f 6e 20 45 49 4f 5f 5f 61 70 70 | ToMenupopup:...function.EIO__app |
1da6a0 | 65 6e 64 46 6f 6c 64 65 72 49 74 65 6d 54 6f 4d 65 6e 75 4c 69 73 74 28 61 4d 65 6e 75 70 6f 70 | endFolderItemToMenuList(aMenupop |
1da6c0 | 75 70 2c 20 61 46 6f 6c 64 65 72 49 64 29 20 7b 0a 20 20 20 20 2f 2f 20 46 69 72 73 74 20 6d 61 | up,.aFolderId).{.....//.First.ma |
1da6e0 | 6b 65 20 73 75 72 65 20 74 68 65 20 66 6f 6c 64 65 72 73 2d 73 65 70 61 72 61 74 6f 72 20 69 73 | ke.sure.the.folders-separator.is |
1da700 | 20 76 69 73 69 62 6c 65 0a 20 20 20 20 74 68 69 73 2e 5f 65 6c 65 6d 65 6e 74 28 22 66 6f 6c 64 | .visible.....this._element("fold |
1da720 | 65 72 73 53 65 70 61 72 61 74 6f 72 22 29 2e 68 69 64 64 65 6e 20 3d 20 66 61 6c 73 65 3b 0a 0a | ersSeparator").hidden.=.false;.. |
1da740 | 20 20 20 20 76 61 72 20 66 6f 6c 64 65 72 4d 65 6e 75 49 74 65 6d 20 3d 20 64 6f 63 75 6d 65 6e | ....var.folderMenuItem.=.documen |
1da760 | 74 2e 63 72 65 61 74 65 45 6c 65 6d 65 6e 74 28 22 6d 65 6e 75 69 74 65 6d 22 29 3b 0a 20 20 20 | t.createElement("menuitem");.... |
1da780 | 20 76 61 72 20 66 6f 6c 64 65 72 54 69 74 6c 65 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 62 | .var.folderTitle.=.PlacesUtils.b |
1da7a0 | 6f 6f 6b 6d 61 72 6b 73 2e 67 65 74 49 74 65 6d 54 69 74 6c 65 28 61 46 6f 6c 64 65 72 49 64 29 | ookmarks.getItemTitle(aFolderId) |
1da7c0 | 0a 20 20 20 20 66 6f 6c 64 65 72 4d 65 6e 75 49 74 65 6d 2e 66 6f 6c 64 65 72 49 64 20 3d 20 61 | .....folderMenuItem.folderId.=.a |
1da7e0 | 46 6f 6c 64 65 72 49 64 3b 0a 20 20 20 20 66 6f 6c 64 65 72 4d 65 6e 75 49 74 65 6d 2e 73 65 74 | FolderId;.....folderMenuItem.set |
1da800 | 41 74 74 72 69 62 75 74 65 28 22 6c 61 62 65 6c 22 2c 20 66 6f 6c 64 65 72 54 69 74 6c 65 29 3b | Attribute("label",.folderTitle); |
1da820 | 0a 20 20 20 20 66 6f 6c 64 65 72 4d 65 6e 75 49 74 65 6d 2e 63 6c 61 73 73 4e 61 6d 65 20 3d 20 | .....folderMenuItem.className.=. |
1da840 | 22 6d 65 6e 75 69 74 65 6d 2d 69 63 6f 6e 69 63 20 66 6f 6c 64 65 72 2d 69 63 6f 6e 22 3b 0a 20 | "menuitem-iconic.folder-icon";.. |
1da860 | 20 20 20 61 4d 65 6e 75 70 6f 70 75 70 2e 61 70 70 65 6e 64 43 68 69 6c 64 28 66 6f 6c 64 65 72 | ...aMenupopup.appendChild(folder |
1da880 | 4d 65 6e 75 49 74 65 6d 29 3b 0a 20 20 20 20 72 65 74 75 72 6e 20 66 6f 6c 64 65 72 4d 65 6e 75 | MenuItem);.....return.folderMenu |
1da8a0 | 49 74 65 6d 3b 0a 20 20 7d 2c 0a 0a 20 20 5f 69 6e 69 74 46 6f 6c 64 65 72 4d 65 6e 75 4c 69 73 | Item;...},...._initFolderMenuLis |
1da8c0 | 74 3a 20 66 75 6e 63 74 69 6f 6e 20 45 49 4f 5f 5f 69 6e 69 74 46 6f 6c 64 65 72 4d 65 6e 75 4c | t:.function.EIO__initFolderMenuL |
1da8e0 | 69 73 74 28 61 53 65 6c 65 63 74 65 64 46 6f 6c 64 65 72 29 20 7b 0a 20 20 20 20 2f 2f 20 63 6c | ist(aSelectedFolder).{.....//.cl |
1da900 | 65 61 6e 20 75 70 20 66 69 72 73 74 0a 20 20 20 20 76 61 72 20 6d 65 6e 75 70 6f 70 75 70 20 3d | ean.up.first.....var.menupopup.= |
1da920 | 20 74 68 69 73 2e 5f 66 6f 6c 64 65 72 4d 65 6e 75 4c 69 73 74 2e 6d 65 6e 75 70 6f 70 75 70 3b | .this._folderMenuList.menupopup; |
1da940 | 0a 20 20 20 20 77 68 69 6c 65 20 28 6d 65 6e 75 70 6f 70 75 70 2e 63 68 69 6c 64 4e 6f 64 65 73 | .....while.(menupopup.childNodes |
1da960 | 2e 6c 65 6e 67 74 68 20 3e 20 36 29 0a 20 20 20 20 20 20 6d 65 6e 75 70 6f 70 75 70 2e 72 65 6d | .length.>.6).......menupopup.rem |
1da980 | 6f 76 65 43 68 69 6c 64 28 6d 65 6e 75 70 6f 70 75 70 2e 6c 61 73 74 43 68 69 6c 64 29 3b 0a 0a | oveChild(menupopup.lastChild);.. |
1da9a0 | 20 20 20 20 63 6f 6e 73 74 20 62 6d 73 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 62 6f 6f 6b | ....const.bms.=.PlacesUtils.book |
1da9c0 | 6d 61 72 6b 73 3b 0a 20 20 20 20 63 6f 6e 73 74 20 61 6e 6e 6f 73 20 3d 20 50 6c 61 63 65 73 55 | marks;.....const.annos.=.PlacesU |
1da9e0 | 74 69 6c 73 2e 61 6e 6e 6f 74 61 74 69 6f 6e 73 3b 0a 0a 20 20 20 20 2f 2f 20 42 75 69 6c 64 20 | tils.annotations;......//.Build. |
1daa00 | 74 68 65 20 73 74 61 74 69 63 20 6c 69 73 74 0a 20 20 20 20 76 61 72 20 75 6e 66 69 6c 65 64 49 | the.static.list.....var.unfiledI |
1daa20 | 74 65 6d 20 3d 20 74 68 69 73 2e 5f 65 6c 65 6d 65 6e 74 28 22 75 6e 66 69 6c 65 64 52 6f 6f 74 | tem.=.this._element("unfiledRoot |
1daa40 | 49 74 65 6d 22 29 3b 0a 20 20 20 20 69 66 20 28 21 74 68 69 73 2e 5f 73 74 61 74 69 63 46 6f 6c | Item");.....if.(!this._staticFol |
1daa60 | 64 65 72 73 4c 69 73 74 42 75 69 6c 74 29 20 7b 0a 20 20 20 20 20 20 75 6e 66 69 6c 65 64 49 74 | dersListBuilt).{.......unfiledIt |
1daa80 | 65 6d 2e 6c 61 62 65 6c 20 3d 20 62 6d 73 2e 67 65 74 49 74 65 6d 54 69 74 6c 65 28 50 6c 61 63 | em.label.=.bms.getItemTitle(Plac |
1daaa0 | 65 73 55 74 69 6c 73 2e 75 6e 66 69 6c 65 64 42 6f 6f 6b 6d 61 72 6b 73 46 6f 6c 64 65 72 49 64 | esUtils.unfiledBookmarksFolderId |
1daac0 | 29 3b 0a 20 20 20 20 20 20 75 6e 66 69 6c 65 64 49 74 65 6d 2e 66 6f 6c 64 65 72 49 64 20 3d 20 | );.......unfiledItem.folderId.=. |
1daae0 | 50 6c 61 63 65 73 55 74 69 6c 73 2e 75 6e 66 69 6c 65 64 42 6f 6f 6b 6d 61 72 6b 73 46 6f 6c 64 | PlacesUtils.unfiledBookmarksFold |
1dab00 | 65 72 49 64 3b 0a 20 20 20 20 20 20 76 61 72 20 62 6d 4d 65 6e 75 49 74 65 6d 20 3d 20 74 68 69 | erId;.......var.bmMenuItem.=.thi |
1dab20 | 73 2e 5f 65 6c 65 6d 65 6e 74 28 22 62 6d 52 6f 6f 74 49 74 65 6d 22 29 3b 0a 20 20 20 20 20 20 | s._element("bmRootItem");....... |
1dab40 | 62 6d 4d 65 6e 75 49 74 65 6d 2e 6c 61 62 65 6c 20 3d 20 62 6d 73 2e 67 65 74 49 74 65 6d 54 69 | bmMenuItem.label.=.bms.getItemTi |
1dab60 | 74 6c 65 28 50 6c 61 63 65 73 55 74 69 6c 73 2e 62 6f 6f 6b 6d 61 72 6b 73 4d 65 6e 75 46 6f 6c | tle(PlacesUtils.bookmarksMenuFol |
1dab80 | 64 65 72 49 64 29 3b 0a 20 20 20 20 20 20 62 6d 4d 65 6e 75 49 74 65 6d 2e 66 6f 6c 64 65 72 49 | derId);.......bmMenuItem.folderI |
1daba0 | 64 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 62 6f 6f 6b 6d 61 72 6b 73 4d 65 6e 75 46 6f 6c | d.=.PlacesUtils.bookmarksMenuFol |
1dabc0 | 64 65 72 49 64 3b 0a 20 20 20 20 20 20 76 61 72 20 74 6f 6f 6c 62 61 72 49 74 65 6d 20 3d 20 74 | derId;.......var.toolbarItem.=.t |
1dabe0 | 68 69 73 2e 5f 65 6c 65 6d 65 6e 74 28 22 74 6f 6f 6c 62 61 72 46 6f 6c 64 65 72 49 74 65 6d 22 | his._element("toolbarFolderItem" |
1dac00 | 29 3b 0a 20 20 20 20 20 20 74 6f 6f 6c 62 61 72 49 74 65 6d 2e 6c 61 62 65 6c 20 3d 20 62 6d 73 | );.......toolbarItem.label.=.bms |
1dac20 | 2e 67 65 74 49 74 65 6d 54 69 74 6c 65 28 50 6c 61 63 65 73 55 74 69 6c 73 2e 74 6f 6f 6c 62 61 | .getItemTitle(PlacesUtils.toolba |
1dac40 | 72 46 6f 6c 64 65 72 49 64 29 3b 0a 20 20 20 20 20 20 74 6f 6f 6c 62 61 72 49 74 65 6d 2e 66 6f | rFolderId);.......toolbarItem.fo |
1dac60 | 6c 64 65 72 49 64 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 74 6f 6f 6c 62 61 72 46 6f 6c 64 | lderId.=.PlacesUtils.toolbarFold |
1dac80 | 65 72 49 64 3b 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 73 74 61 74 69 63 46 6f 6c 64 65 72 73 4c | erId;.......this._staticFoldersL |
1daca0 | 69 73 74 42 75 69 6c 74 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 2f 2f 20 4c | istBuilt.=.true;.....}......//.L |
1dacc0 | 69 73 74 20 6f 66 20 72 65 63 65 6e 74 6c 79 20 75 73 65 64 20 66 6f 6c 64 65 72 73 3a 0a 20 20 | ist.of.recently.used.folders:... |
1dace0 | 20 20 76 61 72 20 66 6f 6c 64 65 72 49 64 73 20 3d 20 61 6e 6e 6f 73 2e 67 65 74 49 74 65 6d 73 | ..var.folderIds.=.annos.getItems |
1dad00 | 57 69 74 68 41 6e 6e 6f 74 61 74 69 6f 6e 28 4c 41 53 54 5f 55 53 45 44 5f 41 4e 4e 4f 2c 20 7b | WithAnnotation(LAST_USED_ANNO,.{ |
1dad20 | 20 7d 29 3b 0a 0a 20 20 20 20 2f 2a 2a 0a 20 20 20 20 20 2a 20 54 68 65 20 76 61 6c 75 65 20 6f | .});....../**......*.The.value.o |
1dad40 | 66 20 74 68 65 20 4c 41 53 54 5f 55 53 45 44 5f 41 4e 4e 4f 20 61 6e 6e 6f 74 61 74 69 6f 6e 20 | f.the.LAST_USED_ANNO.annotation. |
1dad60 | 69 73 20 74 68 65 20 74 69 6d 65 20 28 69 6e 20 74 68 65 20 66 6f 72 6d 20 6f 66 0a 20 20 20 20 | is.the.time.(in.the.form.of..... |
1dad80 | 20 2a 20 44 61 74 65 2e 67 65 74 54 69 6d 65 29 20 61 74 20 77 68 69 63 68 20 74 68 65 20 66 6f | .*.Date.getTime).at.which.the.fo |
1dada0 | 6c 64 65 72 20 68 61 73 20 62 65 65 6e 20 6c 61 73 74 20 75 73 65 64 2e 0a 20 20 20 20 20 2a 0a | lder.has.been.last.used.......*. |
1dadc0 | 20 20 20 20 20 2a 20 46 69 72 73 74 20 77 65 20 62 75 69 6c 64 20 74 68 65 20 61 6e 6e 6f 74 61 | .....*.First.we.build.the.annota |
1dade0 | 74 65 64 20 66 6f 6c 64 65 72 73 20 61 72 72 61 79 2c 20 65 61 63 68 20 69 74 65 6d 20 68 61 73 | ted.folders.array,.each.item.has |
1dae00 | 20 62 6f 74 68 20 74 68 65 0a 20 20 20 20 20 2a 20 66 6f 6c 64 65 72 20 69 64 65 6e 74 69 66 69 | .both.the......*.folder.identifi |
1dae20 | 65 72 20 61 6e 64 20 74 68 65 20 74 69 6d 65 20 61 74 20 77 68 69 63 68 20 69 74 20 77 61 73 20 | er.and.the.time.at.which.it.was. |
1dae40 | 6c 61 73 74 2d 75 73 65 64 20 62 79 20 74 68 69 73 20 64 69 61 6c 6f 67 0a 20 20 20 20 20 2a 20 | last-used.by.this.dialog......*. |
1dae60 | 73 65 74 2e 20 54 68 65 6e 20 77 65 20 73 6f 72 74 20 69 74 20 64 65 73 63 65 6e 64 69 6e 67 6c | set..Then.we.sort.it.descendingl |
1dae80 | 79 20 62 61 73 65 64 20 6f 6e 20 74 68 65 20 74 69 6d 65 20 66 69 65 6c 64 2e 0a 20 20 20 20 20 | y.based.on.the.time.field....... |
1daea0 | 2a 2f 0a 20 20 20 20 74 68 69 73 2e 5f 72 65 63 65 6e 74 46 6f 6c 64 65 72 73 20 3d 20 5b 5d 3b | */.....this._recentFolders.=.[]; |
1daec0 | 0a 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 66 6f 6c 64 65 72 49 | .....for.(var.i.=.0;.i.<.folderI |
1daee0 | 64 73 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 6c 61 73 74 | ds.length;.i++).{.......var.last |
1daf00 | 55 73 65 64 20 3d 20 61 6e 6e 6f 73 2e 67 65 74 49 74 65 6d 41 6e 6e 6f 74 61 74 69 6f 6e 28 66 | Used.=.annos.getItemAnnotation(f |
1daf20 | 6f 6c 64 65 72 49 64 73 5b 69 5d 2c 20 4c 41 53 54 5f 55 53 45 44 5f 41 4e 4e 4f 29 3b 0a 20 20 | olderIds[i],.LAST_USED_ANNO);... |
1daf40 | 20 20 20 20 74 68 69 73 2e 5f 72 65 63 65 6e 74 46 6f 6c 64 65 72 73 2e 70 75 73 68 28 7b 20 66 | ....this._recentFolders.push({.f |
1daf60 | 6f 6c 64 65 72 49 64 3a 20 66 6f 6c 64 65 72 49 64 73 5b 69 5d 2c 20 6c 61 73 74 55 73 65 64 3a | olderId:.folderIds[i],.lastUsed: |
1daf80 | 20 6c 61 73 74 55 73 65 64 20 7d 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 74 68 69 73 2e 5f 72 65 | .lastUsed.});.....}.....this._re |
1dafa0 | 63 65 6e 74 46 6f 6c 64 65 72 73 2e 73 6f 72 74 28 66 75 6e 63 74 69 6f 6e 28 61 2c 20 62 29 20 | centFolders.sort(function(a,.b). |
1dafc0 | 7b 0a 20 20 20 20 20 20 69 66 20 28 62 2e 6c 61 73 74 55 73 65 64 20 3c 20 61 2e 6c 61 73 74 55 | {.......if.(b.lastUsed.<.a.lastU |
1dafe0 | 73 65 64 29 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 2d 31 3b 0a 20 20 20 20 20 20 69 66 | sed).........return.-1;.......if |
1db000 | 20 28 62 2e 6c 61 73 74 55 73 65 64 20 3e 20 61 2e 6c 61 73 74 55 73 65 64 29 0a 20 20 20 20 20 | .(b.lastUsed.>.a.lastUsed)...... |
1db020 | 20 20 20 72 65 74 75 72 6e 20 31 3b 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 30 3b 0a 20 20 20 | ...return.1;.......return.0;.... |
1db040 | 20 7d 29 3b 0a 0a 20 20 20 20 76 61 72 20 6e 75 6d 62 65 72 4f 66 49 74 65 6d 73 20 3d 20 4d 61 | .});......var.numberOfItems.=.Ma |
1db060 | 74 68 2e 6d 69 6e 28 4d 41 58 5f 46 4f 4c 44 45 52 5f 49 54 45 4d 5f 49 4e 5f 4d 45 4e 55 5f 4c | th.min(MAX_FOLDER_ITEM_IN_MENU_L |
1db080 | 49 53 54 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | IST,............................ |
1db0a0 | 20 20 20 20 20 20 74 68 69 73 2e 5f 72 65 63 65 6e 74 46 6f 6c 64 65 72 73 2e 6c 65 6e 67 74 68 | ......this._recentFolders.length |
1db0c0 | 29 3b 0a 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 6e 75 6d 62 65 | );.....for.(var.i.=.0;.i.<.numbe |
1db0e0 | 72 4f 66 49 74 65 6d 73 3b 20 69 2b 2b 29 20 7b 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 61 70 70 | rOfItems;.i++).{.......this._app |
1db100 | 65 6e 64 46 6f 6c 64 65 72 49 74 65 6d 54 6f 4d 65 6e 75 70 6f 70 75 70 28 6d 65 6e 75 70 6f 70 | endFolderItemToMenupopup(menupop |
1db120 | 75 70 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | up,............................. |
1db140 | 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 72 65 63 65 6e 74 46 6f 6c 64 65 72 73 5b | ............this._recentFolders[ |
1db160 | 69 5d 2e 66 6f 6c 64 65 72 49 64 29 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 76 61 72 20 64 65 66 | i].folderId);.....}......var.def |
1db180 | 61 75 6c 74 49 74 65 6d 20 3d 20 74 68 69 73 2e 5f 67 65 74 46 6f 6c 64 65 72 4d 65 6e 75 49 74 | aultItem.=.this._getFolderMenuIt |
1db1a0 | 65 6d 28 61 53 65 6c 65 63 74 65 64 46 6f 6c 64 65 72 29 3b 0a 20 20 20 20 74 68 69 73 2e 5f 66 | em(aSelectedFolder);.....this._f |
1db1c0 | 6f 6c 64 65 72 4d 65 6e 75 4c 69 73 74 2e 73 65 6c 65 63 74 65 64 49 74 65 6d 20 3d 20 64 65 66 | olderMenuList.selectedItem.=.def |
1db1e0 | 61 75 6c 74 49 74 65 6d 3b 0a 0a 20 20 20 20 2f 2f 20 53 65 74 20 61 20 73 65 6c 65 63 74 65 64 | aultItem;......//.Set.a.selected |
1db200 | 49 6e 64 65 78 20 61 74 74 72 69 62 75 74 65 20 74 6f 20 73 68 6f 77 20 73 70 65 63 69 61 6c 20 | Index.attribute.to.show.special. |
1db220 | 69 63 6f 6e 73 0a 20 20 20 20 74 68 69 73 2e 5f 66 6f 6c 64 65 72 4d 65 6e 75 4c 69 73 74 2e 73 | icons.....this._folderMenuList.s |
1db240 | 65 74 41 74 74 72 69 62 75 74 65 28 22 73 65 6c 65 63 74 65 64 49 6e 64 65 78 22 2c 0a 20 20 20 | etAttribute("selectedIndex",.... |
1db260 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
1db280 | 20 20 20 74 68 69 73 2e 5f 66 6f 6c 64 65 72 4d 65 6e 75 4c 69 73 74 2e 73 65 6c 65 63 74 65 64 | ...this._folderMenuList.selected |
1db2a0 | 49 6e 64 65 78 29 3b 0a 0a 20 20 20 20 2f 2f 20 48 69 64 65 20 74 68 65 20 66 6f 6c 64 65 72 73 | Index);......//.Hide.the.folders |
1db2c0 | 2d 73 65 70 61 72 61 74 6f 72 20 69 66 20 6e 6f 20 66 6f 6c 64 65 72 20 69 73 20 61 6e 6e 6f 74 | -separator.if.no.folder.is.annot |
1db2e0 | 61 74 65 64 20 61 73 20 72 65 63 65 6e 74 6c 79 2d 75 73 65 64 0a 20 20 20 20 74 68 69 73 2e 5f | ated.as.recently-used.....this._ |
1db300 | 65 6c 65 6d 65 6e 74 28 22 66 6f 6c 64 65 72 73 53 65 70 61 72 61 74 6f 72 22 29 2e 68 69 64 64 | element("foldersSeparator").hidd |
1db320 | 65 6e 20 3d 20 28 6d 65 6e 75 70 6f 70 75 70 2e 63 68 69 6c 64 4e 6f 64 65 73 2e 6c 65 6e 67 74 | en.=.(menupopup.childNodes.lengt |
1db340 | 68 20 3c 3d 20 36 29 3b 0a 20 20 20 20 74 68 69 73 2e 5f 66 6f 6c 64 65 72 4d 65 6e 75 4c 69 73 | h.<=.6);.....this._folderMenuLis |
1db360 | 74 2e 64 69 73 61 62 6c 65 64 20 3d 20 74 68 69 73 2e 5f 72 65 61 64 4f 6e 6c 79 3b 0a 20 20 7d | t.disabled.=.this._readOnly;...} |
1db380 | 2c 0a 0a 20 20 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 3a 20 66 75 6e 63 74 69 6f 6e 20 45 49 | ,....QueryInterface:.function.EI |
1db3a0 | 4f 5f 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 28 61 49 49 44 29 20 7b 0a 20 20 20 20 69 66 20 | O_QueryInterface(aIID).{.....if. |
1db3c0 | 28 61 49 49 44 2e 65 71 75 61 6c 73 28 43 69 2e 6e 73 49 4d 69 63 72 6f 73 75 6d 6d 61 72 79 4f | (aIID.equals(Ci.nsIMicrosummaryO |
1db3e0 | 62 73 65 72 76 65 72 29 20 7c 7c 0a 20 20 20 20 20 20 20 20 61 49 49 44 2e 65 71 75 61 6c 73 28 | bserver).||.........aIID.equals( |
1db400 | 43 69 2e 6e 73 49 44 4f 4d 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 29 20 7c 7c 0a 20 20 20 20 20 | Ci.nsIDOMEventListener).||...... |
1db420 | 20 20 20 61 49 49 44 2e 65 71 75 61 6c 73 28 43 69 2e 6e 73 49 4e 61 76 42 6f 6f 6b 6d 61 72 6b | ...aIID.equals(Ci.nsINavBookmark |
1db440 | 4f 62 73 65 72 76 65 72 29 20 7c 7c 0a 20 20 20 20 20 20 20 20 61 49 49 44 2e 65 71 75 61 6c 73 | Observer).||.........aIID.equals |
1db460 | 28 43 69 2e 6e 73 49 53 75 70 70 6f 72 74 73 29 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 | (Ci.nsISupports)).......return.t |
1db480 | 68 69 73 3b 0a 0a 20 20 20 20 74 68 72 6f 77 20 43 72 2e 4e 53 5f 45 52 52 4f 52 5f 4e 4f 5f 49 | his;......throw.Cr.NS_ERROR_NO_I |
1db4a0 | 4e 54 45 52 46 41 43 45 3b 0a 20 20 7d 2c 0a 0a 20 20 5f 65 6c 65 6d 65 6e 74 3a 20 66 75 6e 63 | NTERFACE;...},...._element:.func |
1db4c0 | 74 69 6f 6e 20 45 49 4f 5f 5f 65 6c 65 6d 65 6e 74 28 61 49 44 29 20 7b 0a 20 20 20 20 72 65 74 | tion.EIO__element(aID).{.....ret |
1db4e0 | 75 72 6e 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 65 64 69 | urn.document.getElementById("edi |
1db500 | 74 42 4d 50 61 6e 65 6c 5f 22 20 2b 20 61 49 44 29 3b 0a 20 20 7d 2c 0a 0a 20 20 5f 63 72 65 61 | tBMPanel_".+.aID);...},...._crea |
1db520 | 74 65 4d 69 63 72 6f 73 75 6d 6d 61 72 79 4d 65 6e 75 49 74 65 6d 3a 0a 20 20 66 75 6e 63 74 69 | teMicrosummaryMenuItem:...functi |
1db540 | 6f 6e 20 45 49 4f 5f 5f 63 72 65 61 74 65 4d 69 63 72 6f 73 75 6d 6d 61 72 79 4d 65 6e 75 49 74 | on.EIO__createMicrosummaryMenuIt |
1db560 | 65 6d 28 61 4d 69 63 72 6f 73 75 6d 6d 61 72 79 29 20 7b 0a 20 20 20 20 76 61 72 20 6d 65 6e 75 | em(aMicrosummary).{.....var.menu |
1db580 | 49 74 65 6d 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 63 72 65 61 74 65 45 6c 65 6d 65 6e 74 28 22 6d | Item.=.document.createElement("m |
1db5a0 | 65 6e 75 69 74 65 6d 22 29 3b 0a 0a 20 20 20 20 2f 2f 20 53 74 6f 72 65 20 61 20 72 65 66 65 72 | enuitem");......//.Store.a.refer |
1db5c0 | 65 6e 63 65 20 74 6f 20 74 68 65 20 6d 69 63 72 6f 73 75 6d 6d 61 72 79 20 69 6e 20 74 68 65 20 | ence.to.the.microsummary.in.the. |
1db5e0 | 6d 65 6e 75 20 69 74 65 6d 2c 20 73 6f 20 77 65 20 6b 6e 6f 77 0a 20 20 20 20 2f 2f 20 77 68 69 | menu.item,.so.we.know.....//.whi |
1db600 | 63 68 20 6d 69 63 72 6f 73 75 6d 6d 61 72 79 20 74 68 69 73 20 6d 65 6e 75 20 69 74 65 6d 20 72 | ch.microsummary.this.menu.item.r |
1db620 | 65 70 72 65 73 65 6e 74 73 20 77 68 65 6e 20 69 74 27 73 20 74 69 6d 65 20 74 6f 0a 20 20 20 20 | epresents.when.it's.time.to..... |
1db640 | 2f 2f 20 73 61 76 65 20 63 68 61 6e 67 65 73 20 6f 72 20 6c 6f 61 64 20 69 74 73 20 63 6f 6e 74 | //.save.changes.or.load.its.cont |
1db660 | 65 6e 74 2e 0a 20 20 20 20 6d 65 6e 75 49 74 65 6d 2e 6d 69 63 72 6f 73 75 6d 6d 61 72 79 20 3d | ent......menuItem.microsummary.= |
1db680 | 20 61 4d 69 63 72 6f 73 75 6d 6d 61 72 79 3b 0a 0a 20 20 20 20 2f 2f 20 43 6f 6e 74 65 6e 74 20 | .aMicrosummary;......//.Content. |
1db6a0 | 6d 61 79 20 68 61 76 65 20 74 6f 20 62 65 20 67 65 6e 65 72 61 74 65 64 20 61 73 79 6e 63 68 72 | may.have.to.be.generated.asynchr |
1db6c0 | 6f 6e 6f 75 73 6c 79 3b 20 77 65 20 64 6f 6e 27 74 20 6e 65 63 65 73 73 61 72 69 6c 79 0a 20 20 | onously;.we.don't.necessarily... |
1db6e0 | 20 20 2f 2f 20 68 61 76 65 20 69 74 20 6e 6f 77 2e 20 20 49 66 20 77 65 20 64 6f 2c 20 67 72 65 | ..//.have.it.now...If.we.do,.gre |
1db700 | 61 74 3b 20 6f 74 68 65 72 77 69 73 65 2c 20 66 61 6c 6c 20 62 61 63 6b 20 74 6f 20 74 68 65 20 | at;.otherwise,.fall.back.to.the. |
1db720 | 67 65 6e 65 72 61 74 6f 72 0a 20 20 20 20 2f 2f 20 6e 61 6d 65 2c 20 74 68 65 6e 20 74 68 65 20 | generator.....//.name,.then.the. |
1db740 | 55 52 49 2c 20 61 6e 64 20 77 65 20 74 72 69 67 67 65 72 20 61 20 6d 69 63 72 6f 73 75 6d 6d 61 | URI,.and.we.trigger.a.microsumma |
1db760 | 72 79 20 63 6f 6e 74 65 6e 74 20 75 70 64 61 74 65 2e 20 4f 6e 63 65 0a 20 20 20 20 2f 2f 20 74 | ry.content.update..Once.....//.t |
1db780 | 68 65 20 75 70 64 61 74 65 20 63 6f 6d 70 6c 65 74 65 73 2c 20 74 68 65 20 6d 69 63 72 6f 73 75 | he.update.completes,.the.microsu |
1db7a0 | 6d 6d 61 72 79 20 77 69 6c 6c 20 6e 6f 74 69 66 79 20 6f 75 72 20 6f 62 73 65 72 76 65 72 20 74 | mmary.will.notify.our.observer.t |
1db7c0 | 6f 0a 20 20 20 20 2f 2f 20 75 70 64 61 74 65 20 74 68 65 20 63 6f 72 72 65 73 70 6f 6e 64 69 6e | o.....//.update.the.correspondin |
1db7e0 | 67 20 6d 65 6e 75 2d 69 74 65 6d 2e 0a 20 20 20 20 2f 2f 20 58 58 58 20 49 6e 73 74 65 61 64 20 | g.menu-item......//.XXX.Instead. |
1db800 | 6f 66 20 6a 75 73 74 20 73 68 6f 77 69 6e 67 20 74 68 65 20 67 65 6e 65 72 61 74 6f 72 20 6e 61 | of.just.showing.the.generator.na |
1db820 | 6d 65 20 6f 72 20 28 68 65 61 76 65 6e 20 66 6f 72 62 69 64 29 0a 20 20 20 20 2f 2f 20 69 74 73 | me.or.(heaven.forbid).....//.its |
1db840 | 20 55 52 49 20 77 68 65 6e 20 77 65 20 64 6f 6e 27 74 20 68 61 76 65 20 63 6f 6e 74 65 6e 74 2c | .URI.when.we.don't.have.content, |
1db860 | 20 77 65 20 73 68 6f 75 6c 64 20 74 65 6c 6c 20 74 68 65 20 75 73 65 72 20 74 68 61 74 0a 20 20 | .we.should.tell.the.user.that... |
1db880 | 20 20 2f 2f 20 77 65 27 72 65 20 6c 6f 61 64 69 6e 67 20 74 68 65 20 6d 69 63 72 6f 73 75 6d 6d | ..//.we're.loading.the.microsumm |
1db8a0 | 61 72 79 2c 20 70 65 72 68 61 70 73 20 77 69 74 68 20 73 6f 6d 65 20 74 68 72 6f 62 62 69 6e 67 | ary,.perhaps.with.some.throbbing |
1db8c0 | 20 74 6f 20 6c 65 74 0a 20 20 20 20 2f 2f 20 68 65 72 20 6b 6e 6f 77 20 69 74 20 69 73 20 69 6e | .to.let.....//.her.know.it.is.in |
1db8e0 | 20 70 72 6f 67 72 65 73 73 2e 0a 20 20 20 20 69 66 20 28 61 4d 69 63 72 6f 73 75 6d 6d 61 72 79 | .progress......if.(aMicrosummary |
1db900 | 2e 63 6f 6e 74 65 6e 74 29 0a 20 20 20 20 20 20 6d 65 6e 75 49 74 65 6d 2e 73 65 74 41 74 74 72 | .content).......menuItem.setAttr |
1db920 | 69 62 75 74 65 28 22 6c 61 62 65 6c 22 2c 20 61 4d 69 63 72 6f 73 75 6d 6d 61 72 79 2e 63 6f 6e | ibute("label",.aMicrosummary.con |
1db940 | 74 65 6e 74 29 3b 0a 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 6d 65 6e 75 49 74 65 6d | tent);.....else.{.......menuItem |
1db960 | 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 6c 61 62 65 6c 22 2c 20 61 4d 69 63 72 6f 73 75 6d | .setAttribute("label",.aMicrosum |
1db980 | 6d 61 72 79 2e 67 65 6e 65 72 61 74 6f 72 2e 6e 61 6d 65 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 | mary.generator.name.||.......... |
1db9a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 4d 69 63 | ............................aMic |
1db9c0 | 72 6f 73 75 6d 6d 61 72 79 2e 67 65 6e 65 72 61 74 6f 72 2e 75 72 69 2e 73 70 65 63 29 3b 0a 20 | rosummary.generator.uri.spec);.. |
1db9e0 | 20 20 20 20 20 61 4d 69 63 72 6f 73 75 6d 6d 61 72 79 2e 75 70 64 61 74 65 28 29 3b 0a 20 20 20 | .....aMicrosummary.update();.... |
1dba00 | 20 7d 0a 0a 20 20 20 20 72 65 74 75 72 6e 20 6d 65 6e 75 49 74 65 6d 3b 0a 20 20 7d 2c 0a 0a 20 | .}......return.menuItem;...},... |
1dba20 | 20 5f 67 65 74 49 74 65 6d 53 74 61 74 69 63 54 69 74 6c 65 3a 20 66 75 6e 63 74 69 6f 6e 20 45 | ._getItemStaticTitle:.function.E |
1dba40 | 49 4f 5f 5f 67 65 74 49 74 65 6d 53 74 61 74 69 63 54 69 74 6c 65 28 29 20 7b 0a 20 20 20 20 69 | IO__getItemStaticTitle().{.....i |
1dba60 | 66 20 28 74 68 69 73 2e 5f 69 74 65 6d 49 64 20 3d 3d 20 2d 31 29 0a 20 20 20 20 20 20 72 65 74 | f.(this._itemId.==.-1).......ret |
1dba80 | 75 72 6e 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 68 69 73 74 6f 72 79 2e 67 65 74 50 61 67 65 54 | urn.PlacesUtils.history.getPageT |
1dbaa0 | 69 74 6c 65 28 74 68 69 73 2e 5f 75 72 69 29 3b 0a 0a 20 20 20 20 63 6f 6e 73 74 20 61 6e 6e 6f | itle(this._uri);......const.anno |
1dbac0 | 73 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 61 6e 6e 6f 74 61 74 69 6f 6e 73 3b 0a 20 20 20 | s.=.PlacesUtils.annotations;.... |
1dbae0 | 20 69 66 20 28 61 6e 6e 6f 73 2e 69 74 65 6d 48 61 73 41 6e 6e 6f 74 61 74 69 6f 6e 28 74 68 69 | .if.(annos.itemHasAnnotation(thi |
1dbb00 | 73 2e 5f 69 74 65 6d 49 64 2c 20 53 54 41 54 49 43 5f 54 49 54 4c 45 5f 41 4e 4e 4f 29 29 0a 20 | s._itemId,.STATIC_TITLE_ANNO)).. |
1dbb20 | 20 20 20 20 20 72 65 74 75 72 6e 20 61 6e 6e 6f 73 2e 67 65 74 49 74 65 6d 41 6e 6e 6f 74 61 74 | .....return.annos.getItemAnnotat |
1dbb40 | 69 6f 6e 28 74 68 69 73 2e 5f 69 74 65 6d 49 64 2c 20 53 54 41 54 49 43 5f 54 49 54 4c 45 5f 41 | ion(this._itemId,.STATIC_TITLE_A |
1dbb60 | 4e 4e 4f 29 3b 0a 0a 20 20 20 20 72 65 74 75 72 6e 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 62 6f | NNO);......return.PlacesUtils.bo |
1dbb80 | 6f 6b 6d 61 72 6b 73 2e 67 65 74 49 74 65 6d 54 69 74 6c 65 28 74 68 69 73 2e 5f 69 74 65 6d 49 | okmarks.getItemTitle(this._itemI |
1dbba0 | 64 29 3b 0a 20 20 7d 2c 0a 0a 20 20 5f 69 6e 69 74 4e 61 6d 65 50 69 63 6b 65 72 3a 20 66 75 6e | d);...},...._initNamePicker:.fun |
1dbbc0 | 63 74 69 6f 6e 20 45 49 4f 5f 69 6e 69 74 4e 61 6d 65 50 69 63 6b 65 72 28 29 20 7b 0a 20 20 20 | ction.EIO_initNamePicker().{.... |
1dbbe0 | 20 76 61 72 20 75 73 65 72 45 6e 74 65 72 65 64 4e 61 6d 65 46 69 65 6c 64 20 3d 20 74 68 69 73 | .var.userEnteredNameField.=.this |
1dbc00 | 2e 5f 65 6c 65 6d 65 6e 74 28 22 75 73 65 72 45 6e 74 65 72 65 64 4e 61 6d 65 22 29 3b 0a 20 20 | ._element("userEnteredName");... |
1dbc20 | 20 20 76 61 72 20 6e 61 6d 65 50 69 63 6b 65 72 20 3d 20 74 68 69 73 2e 5f 65 6c 65 6d 65 6e 74 | ..var.namePicker.=.this._element |
1dbc40 | 28 22 6e 61 6d 65 50 69 63 6b 65 72 22 29 3b 0a 20 20 20 20 76 61 72 20 64 72 6f 70 70 61 62 6c | ("namePicker");.....var.droppabl |
1dbc60 | 65 20 3d 20 66 61 6c 73 65 3b 0a 0a 20 20 20 20 75 73 65 72 45 6e 74 65 72 65 64 4e 61 6d 65 46 | e.=.false;......userEnteredNameF |
1dbc80 | 69 65 6c 64 2e 6c 61 62 65 6c 20 3d 20 74 68 69 73 2e 5f 67 65 74 49 74 65 6d 53 74 61 74 69 63 | ield.label.=.this._getItemStatic |
1dbca0 | 54 69 74 6c 65 28 29 3b 0a 0a 20 20 20 20 2f 2f 20 63 6c 65 61 6e 20 75 70 20 6f 6c 64 20 65 6e | Title();......//.clean.up.old.en |
1dbcc0 | 74 72 69 65 73 0a 20 20 20 20 76 61 72 20 6d 65 6e 75 70 6f 70 75 70 20 3d 20 6e 61 6d 65 50 69 | tries.....var.menupopup.=.namePi |
1dbce0 | 63 6b 65 72 2e 6d 65 6e 75 70 6f 70 75 70 3b 0a 20 20 20 20 77 68 69 6c 65 20 28 6d 65 6e 75 70 | cker.menupopup;.....while.(menup |
1dbd00 | 6f 70 75 70 2e 63 68 69 6c 64 4e 6f 64 65 73 2e 6c 65 6e 67 74 68 20 3e 20 32 29 0a 20 20 20 20 | opup.childNodes.length.>.2)..... |
1dbd20 | 20 20 6d 65 6e 75 70 6f 70 75 70 2e 72 65 6d 6f 76 65 43 68 69 6c 64 28 6d 65 6e 75 70 6f 70 75 | ..menupopup.removeChild(menupopu |
1dbd40 | 70 2e 6c 61 73 74 43 68 69 6c 64 29 3b 0a 0a 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 6d 69 63 | p.lastChild);......if.(this._mic |
1dbd60 | 72 6f 73 75 6d 6d 61 72 69 65 73 29 20 7b 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 6d 69 63 72 6f | rosummaries).{.......this._micro |
1dbd80 | 73 75 6d 6d 61 72 69 65 73 2e 72 65 6d 6f 76 65 4f 62 73 65 72 76 65 72 28 74 68 69 73 29 3b 0a | summaries.removeObserver(this);. |
1dbda0 | 20 20 20 20 20 20 74 68 69 73 2e 5f 6d 69 63 72 6f 73 75 6d 6d 61 72 69 65 73 20 3d 20 6e 75 6c | ......this._microsummaries.=.nul |
1dbdc0 | 6c 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 76 61 72 20 69 74 65 6d 54 6f 53 65 6c 65 63 74 20 3d | l;.....}......var.itemToSelect.= |
1dbde0 | 20 75 73 65 72 45 6e 74 65 72 65 64 4e 61 6d 65 46 69 65 6c 64 3b 0a 20 20 20 20 74 72 79 20 7b | .userEnteredNameField;.....try.{ |
1dbe00 | 0a 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 69 74 65 6d 49 64 20 21 3d 20 2d 31 20 26 26 | .......if.(this._itemId.!=.-1.&& |
1dbe20 | 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 69 74 65 6d 54 79 70 65 20 3d 3d 20 43 69 2e | ...........this._itemType.==.Ci. |
1dbe40 | 6e 73 49 4e 61 76 42 6f 6f 6b 6d 61 72 6b 73 53 65 72 76 69 63 65 2e 54 59 50 45 5f 42 4f 4f 4b | nsINavBookmarksService.TYPE_BOOK |
1dbe60 | 4d 41 52 4b 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 21 74 68 69 73 2e 5f 72 65 61 64 4f 6e 6c | MARK.&&...........!this._readOnl |
1dbe80 | 79 29 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 6d 69 63 72 6f 73 75 6d 6d 61 72 69 65 73 20 | y).........this._microsummaries. |
1dbea0 | 3d 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 6d 69 63 72 6f 73 75 6d 6d 61 72 69 65 73 0a 20 | =.PlacesUIUtils.microsummaries.. |
1dbec0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
1dbee0 | 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 4d 69 63 72 6f 73 75 6d 6d 61 72 69 65 73 28 74 68 | ............getMicrosummaries(th |
1dbf00 | 69 73 2e 5f 75 72 69 2c 20 2d 31 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 63 61 74 63 68 28 65 78 | is._uri,.-1);.....}.....catch(ex |
1dbf20 | 29 20 7b 0a 20 20 20 20 20 20 2f 2f 20 67 65 74 4d 69 63 72 6f 73 75 6d 6d 61 72 69 65 73 20 77 | ).{.......//.getMicrosummaries.w |
1dbf40 | 69 6c 6c 20 74 68 72 6f 77 20 61 6e 20 65 78 63 65 70 74 69 6f 6e 20 69 6e 20 61 74 20 6c 65 61 | ill.throw.an.exception.in.at.lea |
1dbf60 | 73 74 20 74 77 6f 20 63 61 73 65 73 3a 0a 20 20 20 20 20 20 2f 2f 20 31 2e 20 74 68 65 20 62 6f | st.two.cases:.......//.1..the.bo |
1dbf80 | 6f 6b 6d 61 72 6b 65 64 20 55 52 49 20 63 6f 6e 74 61 69 6e 73 20 61 20 73 63 68 65 6d 65 20 74 | okmarked.URI.contains.a.scheme.t |
1dbfa0 | 68 61 74 20 74 68 65 20 73 65 72 76 69 63 65 20 77 6f 6e 27 74 0a 20 20 20 20 20 20 2f 2f 20 20 | hat.the.service.won't.......//.. |
1dbfc0 | 20 20 64 6f 77 6e 6c 6f 61 64 20 66 6f 72 20 73 65 63 75 72 69 74 79 20 72 65 61 73 6f 6e 73 20 | ..download.for.security.reasons. |
1dbfe0 | 28 63 75 72 72 65 6e 74 6c 79 20 69 74 20 6f 6e 6c 79 20 68 61 6e 64 6c 65 73 20 68 74 74 70 2c | (currently.it.only.handles.http, |
1dc000 | 0a 20 20 20 20 20 20 2f 2f 20 20 20 20 68 74 74 70 73 2c 20 61 6e 64 20 66 69 6c 65 29 3b 0a 20 | .......//....https,.and.file);.. |
1dc020 | 20 20 20 20 20 2f 2f 20 32 2e 20 74 68 65 20 70 61 67 65 20 74 6f 20 77 68 69 63 68 20 74 68 65 | .....//.2..the.page.to.which.the |
1dc040 | 20 55 52 49 20 72 65 66 65 72 73 20 69 73 6e 27 74 20 48 54 4d 4c 20 6f 72 20 58 4d 4c 20 28 74 | .URI.refers.isn't.HTML.or.XML.(t |
1dc060 | 68 65 20 6f 6e 6c 79 20 74 77 6f 0a 20 20 20 20 20 20 2f 2f 20 20 20 20 63 6f 6e 74 65 6e 74 20 | he.only.two.......//....content. |
1dc080 | 74 79 70 65 73 20 74 68 65 20 73 65 72 76 69 63 65 20 6b 6e 6f 77 73 20 68 6f 77 20 74 6f 20 73 | types.the.service.knows.how.to.s |
1dc0a0 | 75 6d 6d 61 72 69 7a 65 29 2e 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 6d 69 63 72 6f 73 75 6d 6d | ummarize)........this._microsumm |
1dc0c0 | 61 72 69 65 73 20 3d 20 6e 75 6c 6c 3b 0a 20 20 20 20 7d 0a 20 20 20 20 69 66 20 28 74 68 69 73 | aries.=.null;.....}.....if.(this |
1dc0e0 | 2e 5f 6d 69 63 72 6f 73 75 6d 6d 61 72 69 65 73 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 65 6e | ._microsummaries).{.......var.en |
1dc100 | 75 6d 65 72 61 74 6f 72 20 3d 20 74 68 69 73 2e 5f 6d 69 63 72 6f 73 75 6d 6d 61 72 69 65 73 2e | umerator.=.this._microsummaries. |
1dc120 | 45 6e 75 6d 65 72 61 74 65 28 29 3b 0a 0a 20 20 20 20 20 20 69 66 20 28 65 6e 75 6d 65 72 61 74 | Enumerate();........if.(enumerat |
1dc140 | 6f 72 2e 68 61 73 4d 6f 72 65 45 6c 65 6d 65 6e 74 73 28 29 29 20 7b 0a 20 20 20 20 20 20 20 20 | or.hasMoreElements()).{......... |
1dc160 | 2f 2f 20 53 68 6f 77 20 74 68 65 20 64 72 6f 70 20 6d 61 72 6b 65 72 20 69 66 20 74 68 65 72 65 | //.Show.the.drop.marker.if.there |
1dc180 | 20 61 72 65 20 6d 69 63 72 6f 73 75 6d 6d 61 72 69 65 73 0a 20 20 20 20 20 20 20 20 64 72 6f 70 | .are.microsummaries.........drop |
1dc1a0 | 70 61 62 6c 65 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 77 68 69 6c 65 20 28 65 6e 75 | pable.=.true;.........while.(enu |
1dc1c0 | 6d 65 72 61 74 6f 72 2e 68 61 73 4d 6f 72 65 45 6c 65 6d 65 6e 74 73 28 29 29 20 7b 0a 20 20 20 | merator.hasMoreElements()).{.... |
1dc1e0 | 20 20 20 20 20 20 20 76 61 72 20 6d 69 63 72 6f 73 75 6d 6d 61 72 79 20 3d 20 65 6e 75 6d 65 72 | .......var.microsummary.=.enumer |
1dc200 | 61 74 6f 72 2e 67 65 74 4e 65 78 74 28 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ator.getNext().................. |
1dc220 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 51 75 65 72 79 49 6e 74 65 | .......................QueryInte |
1dc240 | 72 66 61 63 65 28 43 69 2e 6e 73 49 4d 69 63 72 6f 73 75 6d 6d 61 72 79 29 3b 0a 20 20 20 20 20 | rface(Ci.nsIMicrosummary);...... |
1dc260 | 20 20 20 20 20 76 61 72 20 6d 65 6e 75 49 74 65 6d 20 3d 20 74 68 69 73 2e 5f 63 72 65 61 74 65 | .....var.menuItem.=.this._create |
1dc280 | 4d 69 63 72 6f 73 75 6d 6d 61 72 79 4d 65 6e 75 49 74 65 6d 28 6d 69 63 72 6f 73 75 6d 6d 61 72 | MicrosummaryMenuItem(microsummar |
1dc2a0 | 79 29 3b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e | y);...........if.(PlacesUIUtils. |
1dc2c0 | 6d 69 63 72 6f 73 75 6d 6d 61 72 69 65 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | microsummaries.................. |
1dc2e0 | 20 20 20 20 20 20 20 20 20 20 2e 69 73 4d 69 63 72 6f 73 75 6d 6d 61 72 79 28 74 68 69 73 2e 5f | ...........isMicrosummary(this._ |
1dc300 | 69 74 65 6d 49 64 2c 20 6d 69 63 72 6f 73 75 6d 6d 61 72 79 29 29 0a 20 20 20 20 20 20 20 20 20 | itemId,.microsummary)).......... |
1dc320 | 20 20 20 69 74 65 6d 54 6f 53 65 6c 65 63 74 20 3d 20 6d 65 6e 75 49 74 65 6d 3b 0a 0a 20 20 20 | ...itemToSelect.=.menuItem;..... |
1dc340 | 20 20 20 20 20 20 20 6d 65 6e 75 70 6f 70 75 70 2e 61 70 70 65 6e 64 43 68 69 6c 64 28 6d 65 6e | .......menupopup.appendChild(men |
1dc360 | 75 49 74 65 6d 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 | uItem);.........}.......}....... |
1dc380 | 20 74 68 69 73 2e 5f 6d 69 63 72 6f 73 75 6d 6d 61 72 69 65 73 2e 61 64 64 4f 62 73 65 72 76 65 | .this._microsummaries.addObserve |
1dc3a0 | 72 28 74 68 69 73 29 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 69 66 20 28 6e 61 6d 65 50 69 63 6b | r(this);.....}......if.(namePick |
1dc3c0 | 65 72 2e 73 65 6c 65 63 74 65 64 49 74 65 6d 20 3d 3d 20 69 74 65 6d 54 6f 53 65 6c 65 63 74 29 | er.selectedItem.==.itemToSelect) |
1dc3e0 | 0a 20 20 20 20 20 20 6e 61 6d 65 50 69 63 6b 65 72 2e 76 61 6c 75 65 20 3d 20 69 74 65 6d 54 6f | .......namePicker.value.=.itemTo |
1dc400 | 53 65 6c 65 63 74 2e 6c 61 62 65 6c 3b 0a 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 6e 61 6d | Select.label;.....else.......nam |
1dc420 | 65 50 69 63 6b 65 72 2e 73 65 6c 65 63 74 65 64 49 74 65 6d 20 3d 20 69 74 65 6d 54 6f 53 65 6c | ePicker.selectedItem.=.itemToSel |
1dc440 | 65 63 74 3b 0a 0a 20 20 20 20 6e 61 6d 65 50 69 63 6b 65 72 2e 73 65 74 41 74 74 72 69 62 75 74 | ect;......namePicker.setAttribut |
1dc460 | 65 28 22 64 72 6f 70 70 61 62 6c 65 22 2c 20 64 72 6f 70 70 61 62 6c 65 29 3b 0a 20 20 20 20 6e | e("droppable",.droppable);.....n |
1dc480 | 61 6d 65 50 69 63 6b 65 72 2e 72 65 61 64 4f 6e 6c 79 20 3d 20 74 68 69 73 2e 5f 72 65 61 64 4f | amePicker.readOnly.=.this._readO |
1dc4a0 | 6e 6c 79 3b 0a 0a 20 20 20 20 2f 2f 20 63 6c 65 61 72 20 74 68 65 20 75 6e 64 6f 20 73 74 61 63 | nly;......//.clear.the.undo.stac |
1dc4c0 | 6b 0a 20 20 20 20 76 61 72 20 65 64 69 74 6f 72 20 3d 20 6e 61 6d 65 50 69 63 6b 65 72 2e 65 64 | k.....var.editor.=.namePicker.ed |
1dc4e0 | 69 74 6f 72 3b 0a 20 20 20 20 69 66 20 28 65 64 69 74 6f 72 29 0a 20 20 20 20 20 20 65 64 69 74 | itor;.....if.(editor).......edit |
1dc500 | 6f 72 2e 74 72 61 6e 73 61 63 74 69 6f 6e 4d 61 6e 61 67 65 72 2e 63 6c 65 61 72 28 29 3b 0a 20 | or.transactionManager.clear();.. |
1dc520 | 20 7d 2c 0a 0a 20 20 2f 2f 20 6e 73 49 4d 69 63 72 6f 73 75 6d 6d 61 72 79 4f 62 73 65 72 76 65 | .},....//.nsIMicrosummaryObserve |
1dc540 | 72 0a 20 20 6f 6e 43 6f 6e 74 65 6e 74 4c 6f 61 64 65 64 3a 20 66 75 6e 63 74 69 6f 6e 20 45 49 | r...onContentLoaded:.function.EI |
1dc560 | 4f 5f 6f 6e 43 6f 6e 74 65 6e 74 4c 6f 61 64 65 64 28 61 4d 69 63 72 6f 73 75 6d 6d 61 72 79 29 | O_onContentLoaded(aMicrosummary) |
1dc580 | 20 7b 0a 20 20 20 20 76 61 72 20 6e 61 6d 65 50 69 63 6b 65 72 20 3d 20 74 68 69 73 2e 5f 65 6c | .{.....var.namePicker.=.this._el |
1dc5a0 | 65 6d 65 6e 74 28 22 6e 61 6d 65 50 69 63 6b 65 72 22 29 3b 0a 20 20 20 20 76 61 72 20 63 68 69 | ement("namePicker");.....var.chi |
1dc5c0 | 6c 64 4e 6f 64 65 73 20 3d 20 6e 61 6d 65 50 69 63 6b 65 72 2e 6d 65 6e 75 70 6f 70 75 70 2e 63 | ldNodes.=.namePicker.menupopup.c |
1dc5e0 | 68 69 6c 64 4e 6f 64 65 73 3b 0a 0a 20 20 20 20 2f 2f 20 30 3a 20 75 73 65 72 2d 65 6e 74 65 72 | hildNodes;......//.0:.user-enter |
1dc600 | 65 64 20 69 74 65 6d 3b 20 31 3a 20 73 65 70 61 72 61 74 6f 72 0a 20 20 20 20 66 6f 72 20 28 76 | ed.item;.1:.separator.....for.(v |
1dc620 | 61 72 20 69 20 3d 20 32 3b 20 69 20 3c 20 63 68 69 6c 64 4e 6f 64 65 73 2e 6c 65 6e 67 74 68 3b | ar.i.=.2;.i.<.childNodes.length; |
1dc640 | 20 69 2b 2b 29 20 7b 0a 20 20 20 20 20 20 69 66 20 28 63 68 69 6c 64 4e 6f 64 65 73 5b 69 5d 2e | .i++).{.......if.(childNodes[i]. |
1dc660 | 6d 69 63 72 6f 73 75 6d 6d 61 72 79 20 3d 3d 20 61 4d 69 63 72 6f 73 75 6d 6d 61 72 79 29 20 7b | microsummary.==.aMicrosummary).{ |
1dc680 | 0a 20 20 20 20 20 20 20 20 76 61 72 20 6e 65 77 4c 61 62 65 6c 20 3d 20 61 4d 69 63 72 6f 73 75 | .........var.newLabel.=.aMicrosu |
1dc6a0 | 6d 6d 61 72 79 2e 63 6f 6e 74 65 6e 74 3b 0a 20 20 20 20 20 20 20 20 2f 2f 20 58 58 58 6d 61 6e | mmary.content;.........//.XXXman |
1dc6c0 | 6f 3a 20 6e 6f 6e 2d 65 64 69 74 61 62 6c 65 20 6d 65 6e 75 6c 69 73 74 20 77 6f 75 6c 64 20 64 | o:.non-editable.menulist.would.d |
1dc6e0 | 6f 20 74 68 69 73 20 66 6f 72 20 75 73 2c 20 73 65 65 20 62 75 67 20 33 36 30 32 32 30 0a 20 20 | o.this.for.us,.see.bug.360220... |
1dc700 | 20 20 20 20 20 20 2f 2f 20 57 65 20 73 68 6f 75 6c 64 20 66 69 78 20 65 64 69 74 61 62 6c 65 2d | ......//.We.should.fix.editable- |
1dc720 | 6d 65 6e 75 6c 69 73 74 73 20 74 6f 20 73 65 74 20 74 68 65 20 44 4f 4d 41 74 74 72 4d 6f 64 69 | menulists.to.set.the.DOMAttrModi |
1dc740 | 66 69 65 64 20 68 61 6e 64 6c 65 72 0a 20 20 20 20 20 20 20 20 2f 2f 20 61 73 20 77 65 6c 6c 2e | fied.handler.........//.as.well. |
1dc760 | 0a 20 20 20 20 20 20 20 20 2f 2f 0a 20 20 20 20 20 20 20 20 2f 2f 20 41 6c 73 6f 20 6e 6f 74 65 | .........//.........//.Also.note |
1dc780 | 20 74 68 65 20 6f 72 64 65 72 20 69 6d 70 6f 72 74 61 6e 63 65 3a 20 69 66 20 74 68 65 20 6c 61 | .the.order.importance:.if.the.la |
1dc7a0 | 62 65 6c 20 6f 66 20 74 68 65 20 6d 65 6e 75 2d 69 74 65 6d 20 69 73 0a 20 20 20 20 20 20 20 20 | bel.of.the.menu-item.is......... |
1dc7c0 | 2f 2f 20 73 65 74 20 74 6f 20 73 6f 6d 65 74 68 69 6e 67 20 64 69 66 66 65 72 65 6e 74 20 74 68 | //.set.to.something.different.th |
1dc7e0 | 61 6e 20 74 68 65 20 6d 65 6e 75 6c 69 73 74 27 73 20 63 75 72 72 65 6e 74 20 76 61 6c 75 65 2c | an.the.menulist's.current.value, |
1dc800 | 0a 20 20 20 20 20 20 20 20 2f 2f 20 74 68 65 20 6d 65 6e 75 6c 69 73 74 20 6e 6f 20 6c 6f 6e 67 | .........//.the.menulist.no.long |
1dc820 | 65 72 20 68 61 73 20 73 65 6c 65 63 74 65 64 49 74 65 6d 20 73 65 74 0a 20 20 20 20 20 20 20 20 | er.has.selectedItem.set......... |
1dc840 | 69 66 20 28 6e 61 6d 65 50 69 63 6b 65 72 2e 73 65 6c 65 63 74 65 64 49 74 65 6d 20 3d 3d 20 63 | if.(namePicker.selectedItem.==.c |
1dc860 | 68 69 6c 64 4e 6f 64 65 73 5b 69 5d 29 0a 20 20 20 20 20 20 20 20 20 20 6e 61 6d 65 50 69 63 6b | hildNodes[i])...........namePick |
1dc880 | 65 72 2e 76 61 6c 75 65 20 3d 20 6e 65 77 4c 61 62 65 6c 3b 0a 0a 20 20 20 20 20 20 20 20 63 68 | er.value.=.newLabel;..........ch |
1dc8a0 | 69 6c 64 4e 6f 64 65 73 5b 69 5d 2e 6c 61 62 65 6c 20 3d 20 6e 65 77 4c 61 62 65 6c 3b 0a 20 20 | ildNodes[i].label.=.newLabel;... |
1dc8c0 | 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 20 20 7d 2c | ......return;.......}.....}...}, |
1dc8e0 | 0a 0a 20 20 6f 6e 45 6c 65 6d 65 6e 74 41 70 70 65 6e 64 65 64 3a 20 66 75 6e 63 74 69 6f 6e 20 | ....onElementAppended:.function. |
1dc900 | 45 49 4f 5f 6f 6e 45 6c 65 6d 65 6e 74 41 70 70 65 6e 64 65 64 28 61 4d 69 63 72 6f 73 75 6d 6d | EIO_onElementAppended(aMicrosumm |
1dc920 | 61 72 79 29 20 7b 0a 20 20 20 20 76 61 72 20 6e 61 6d 65 50 69 63 6b 65 72 20 3d 20 74 68 69 73 | ary).{.....var.namePicker.=.this |
1dc940 | 2e 5f 65 6c 65 6d 65 6e 74 28 22 6e 61 6d 65 50 69 63 6b 65 72 22 29 3b 0a 20 20 20 20 6e 61 6d | ._element("namePicker");.....nam |
1dc960 | 65 50 69 63 6b 65 72 2e 6d 65 6e 75 70 6f 70 75 70 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ePicker.menupopup............... |
1dc980 | 2e 61 70 70 65 6e 64 43 68 69 6c 64 28 74 68 69 73 2e 5f 63 72 65 61 74 65 4d 69 63 72 6f 73 75 | .appendChild(this._createMicrosu |
1dc9a0 | 6d 6d 61 72 79 4d 65 6e 75 49 74 65 6d 28 61 4d 69 63 72 6f 73 75 6d 6d 61 72 79 29 29 3b 0a 0a | mmaryMenuItem(aMicrosummary));.. |
1dc9c0 | 20 20 20 20 2f 2f 20 4d 61 6b 65 20 73 75 72 65 20 74 68 65 20 64 72 6f 70 2d 6d 61 72 6b 65 72 | ....//.Make.sure.the.drop-marker |
1dc9e0 | 20 69 73 20 73 68 6f 77 6e 0a 20 20 20 20 6e 61 6d 65 50 69 63 6b 65 72 2e 73 65 74 41 74 74 72 | .is.shown.....namePicker.setAttr |
1dca00 | 69 62 75 74 65 28 22 64 72 6f 70 70 61 62 6c 65 22 2c 20 22 74 72 75 65 22 29 3b 0a 20 20 7d 2c | ibute("droppable",."true");...}, |
1dca20 | 0a 0a 20 20 75 6e 69 6e 69 74 50 61 6e 65 6c 3a 20 66 75 6e 63 74 69 6f 6e 20 45 49 4f 5f 75 6e | ....uninitPanel:.function.EIO_un |
1dca40 | 69 6e 69 74 50 61 6e 65 6c 28 61 48 69 64 65 43 6f 6c 6c 61 70 73 69 62 6c 65 45 6c 65 6d 65 6e | initPanel(aHideCollapsibleElemen |
1dca60 | 74 73 29 20 7b 0a 20 20 20 20 69 66 20 28 61 48 69 64 65 43 6f 6c 6c 61 70 73 69 62 6c 65 45 6c | ts).{.....if.(aHideCollapsibleEl |
1dca80 | 65 6d 65 6e 74 73 29 20 7b 0a 20 20 20 20 20 20 2f 2f 20 68 69 64 65 20 74 68 65 20 66 6f 6c 64 | ements).{.......//.hide.the.fold |
1dcaa0 | 65 72 20 74 72 65 65 20 69 66 20 69 74 20 77 61 73 20 70 72 65 76 69 6f 75 73 6c 79 20 76 69 73 | er.tree.if.it.was.previously.vis |
1dcac0 | 69 62 6c 65 0a 20 20 20 20 20 20 76 61 72 20 66 6f 6c 64 65 72 54 72 65 65 52 6f 77 20 3d 20 74 | ible.......var.folderTreeRow.=.t |
1dcae0 | 68 69 73 2e 5f 65 6c 65 6d 65 6e 74 28 22 66 6f 6c 64 65 72 54 72 65 65 52 6f 77 22 29 3b 0a 20 | his._element("folderTreeRow");.. |
1dcb00 | 20 20 20 20 20 69 66 20 28 21 66 6f 6c 64 65 72 54 72 65 65 52 6f 77 2e 63 6f 6c 6c 61 70 73 65 | .....if.(!folderTreeRow.collapse |
1dcb20 | 64 29 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 74 6f 67 67 6c 65 46 6f 6c 64 65 72 54 72 65 65 | d).........this.toggleFolderTree |
1dcb40 | 56 69 73 69 62 69 6c 69 74 79 28 29 3b 0a 0a 20 20 20 20 20 20 2f 2f 20 68 69 64 65 20 74 68 65 | Visibility();........//.hide.the |
1dcb60 | 20 74 61 67 20 73 65 6c 65 63 74 6f 72 20 69 66 20 69 74 20 77 61 73 20 70 72 65 76 69 6f 75 73 | .tag.selector.if.it.was.previous |
1dcb80 | 6c 79 20 76 69 73 69 62 6c 65 0a 20 20 20 20 20 20 76 61 72 20 74 61 67 73 53 65 6c 65 63 74 6f | ly.visible.......var.tagsSelecto |
1dcba0 | 72 52 6f 77 20 3d 20 74 68 69 73 2e 5f 65 6c 65 6d 65 6e 74 28 22 74 61 67 73 53 65 6c 65 63 74 | rRow.=.this._element("tagsSelect |
1dcbc0 | 6f 72 52 6f 77 22 29 3b 0a 20 20 20 20 20 20 69 66 20 28 21 74 61 67 73 53 65 6c 65 63 74 6f 72 | orRow");.......if.(!tagsSelector |
1dcbe0 | 52 6f 77 2e 63 6f 6c 6c 61 70 73 65 64 29 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 74 6f 67 67 | Row.collapsed).........this.togg |
1dcc00 | 6c 65 54 61 67 73 53 65 6c 65 63 74 6f 72 28 29 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 69 66 20 | leTagsSelector();.....}......if. |
1dcc20 | 28 74 68 69 73 2e 5f 6f 62 73 65 72 76 65 72 73 41 64 64 65 64 29 20 7b 0a 20 20 20 20 20 20 69 | (this._observersAdded).{.......i |
1dcc40 | 66 20 28 74 68 69 73 2e 5f 69 74 65 6d 49 64 20 21 3d 20 2d 31 29 0a 20 20 20 20 20 20 20 20 50 | f.(this._itemId.!=.-1).........P |
1dcc60 | 6c 61 63 65 73 55 74 69 6c 73 2e 62 6f 6f 6b 6d 61 72 6b 73 2e 72 65 6d 6f 76 65 4f 62 73 65 72 | lacesUtils.bookmarks.removeObser |
1dcc80 | 76 65 72 28 74 68 69 73 29 3b 0a 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 6f 62 73 65 72 76 65 72 | ver(this);........this._observer |
1dcca0 | 73 41 64 64 65 64 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 7d 0a 20 20 20 20 69 66 20 28 74 68 | sAdded.=.false;.....}.....if.(th |
1dccc0 | 69 73 2e 5f 6d 69 63 72 6f 73 75 6d 6d 61 72 69 65 73 29 20 7b 0a 20 20 20 20 20 20 74 68 69 73 | is._microsummaries).{.......this |
1dcce0 | 2e 5f 6d 69 63 72 6f 73 75 6d 6d 61 72 69 65 73 2e 72 65 6d 6f 76 65 4f 62 73 65 72 76 65 72 28 | ._microsummaries.removeObserver( |
1dcd00 | 74 68 69 73 29 3b 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 6d 69 63 72 6f 73 75 6d 6d 61 72 69 65 | this);.......this._microsummarie |
1dcd20 | 73 20 3d 20 6e 75 6c 6c 3b 0a 20 20 20 20 7d 0a 20 20 20 20 74 68 69 73 2e 5f 69 74 65 6d 49 64 | s.=.null;.....}.....this._itemId |
1dcd40 | 20 3d 20 2d 31 3b 0a 20 20 20 20 74 68 69 73 2e 5f 75 72 69 20 3d 20 6e 75 6c 6c 3b 0a 20 20 20 | .=.-1;.....this._uri.=.null;.... |
1dcd60 | 20 74 68 69 73 2e 5f 75 72 69 73 20 3d 20 5b 5d 3b 0a 20 20 20 20 74 68 69 73 2e 5f 74 61 67 73 | .this._uris.=.[];.....this._tags |
1dcd80 | 20 3d 20 5b 5d 3b 0a 20 20 20 20 74 68 69 73 2e 5f 61 6c 6c 54 61 67 73 20 3d 20 5b 5d 3b 0a 20 | .=.[];.....this._allTags.=.[];.. |
1dcda0 | 20 20 20 74 68 69 73 2e 5f 69 74 65 6d 49 64 73 20 3d 20 5b 5d 3b 0a 20 20 20 20 74 68 69 73 2e | ...this._itemIds.=.[];.....this. |
1dcdc0 | 5f 6d 75 6c 74 69 45 64 69 74 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 74 68 69 73 2e 5f 69 6e | _multiEdit.=.false;.....this._in |
1dcde0 | 69 74 69 61 6c 69 7a 65 64 20 3d 20 66 61 6c 73 65 3b 0a 20 20 7d 2c 0a 0a 20 20 6f 6e 54 61 67 | itialized.=.false;...},....onTag |
1dce00 | 73 46 69 65 6c 64 42 6c 75 72 3a 20 66 75 6e 63 74 69 6f 6e 20 45 49 4f 5f 6f 6e 54 61 67 73 46 | sFieldBlur:.function.EIO_onTagsF |
1dce20 | 69 65 6c 64 42 6c 75 72 28 29 20 7b 0a 20 20 20 20 74 68 69 73 2e 5f 75 70 64 61 74 65 54 61 67 | ieldBlur().{.....this._updateTag |
1dce40 | 73 28 29 3b 0a 20 20 7d 2c 0a 0a 20 20 5f 75 70 64 61 74 65 54 61 67 73 3a 20 66 75 6e 63 74 69 | s();...},...._updateTags:.functi |
1dce60 | 6f 6e 20 45 49 4f 5f 5f 75 70 64 61 74 65 54 61 67 73 28 29 20 7b 0a 20 20 20 20 69 66 20 28 74 | on.EIO__updateTags().{.....if.(t |
1dce80 | 68 69 73 2e 5f 6d 75 6c 74 69 45 64 69 74 29 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 75 70 64 61 | his._multiEdit).......this._upda |
1dcea0 | 74 65 4d 75 6c 74 69 70 6c 65 54 61 67 73 46 6f 72 49 74 65 6d 73 28 29 3b 0a 20 20 20 20 65 6c | teMultipleTagsForItems();.....el |
1dcec0 | 73 65 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 75 70 64 61 74 65 53 69 6e 67 6c 65 54 61 67 46 6f | se.......this._updateSingleTagFo |
1dcee0 | 72 49 74 65 6d 28 29 3b 0a 20 20 7d 2c 0a 0a 20 20 5f 75 70 64 61 74 65 53 69 6e 67 6c 65 54 61 | rItem();...},...._updateSingleTa |
1dcf00 | 67 46 6f 72 49 74 65 6d 3a 20 66 75 6e 63 74 69 6f 6e 20 45 49 4f 5f 5f 75 70 64 61 74 65 53 69 | gForItem:.function.EIO__updateSi |
1dcf20 | 6e 67 6c 65 54 61 67 46 6f 72 49 74 65 6d 28 29 20 7b 0a 20 20 20 20 76 61 72 20 63 75 72 72 65 | ngleTagForItem().{.....var.curre |
1dcf40 | 6e 74 54 61 67 73 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 74 61 67 67 69 6e 67 2e 67 65 74 | ntTags.=.PlacesUtils.tagging.get |
1dcf60 | 54 61 67 73 46 6f 72 55 52 49 28 74 68 69 73 2e 5f 75 72 69 2c 20 7b 20 7d 29 3b 0a 20 20 20 20 | TagsForURI(this._uri,.{.});..... |
1dcf80 | 76 61 72 20 74 61 67 73 20 3d 20 74 68 69 73 2e 5f 67 65 74 54 61 67 73 41 72 72 61 79 46 72 6f | var.tags.=.this._getTagsArrayFro |
1dcfa0 | 6d 54 61 67 46 69 65 6c 64 28 29 3b 0a 20 20 20 20 69 66 20 28 74 61 67 73 2e 6c 65 6e 67 74 68 | mTagField();.....if.(tags.length |
1dcfc0 | 20 3e 20 30 20 7c 7c 20 63 75 72 72 65 6e 74 54 61 67 73 2e 6c 65 6e 67 74 68 20 3e 20 30 29 20 | .>.0.||.currentTags.length.>.0). |
1dcfe0 | 7b 0a 20 20 20 20 20 20 76 61 72 20 74 61 67 73 54 6f 52 65 6d 6f 76 65 20 3d 20 5b 5d 3b 0a 20 | {.......var.tagsToRemove.=.[];.. |
1dd000 | 20 20 20 20 20 76 61 72 20 74 61 67 73 54 6f 41 64 64 20 3d 20 5b 5d 3b 0a 20 20 20 20 20 20 76 | .....var.tagsToAdd.=.[];.......v |
1dd020 | 61 72 20 74 78 6e 73 20 3d 20 5b 5d 3b 20 0a 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 | ar.txns.=.[];........for.(var.i. |
1dd040 | 3d 20 30 3b 20 69 20 3c 20 63 75 72 72 65 6e 74 54 61 67 73 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b | =.0;.i.<.currentTags.length;.i++ |
1dd060 | 29 20 7b 0a 20 20 20 20 20 20 20 20 69 66 20 28 74 61 67 73 2e 69 6e 64 65 78 4f 66 28 63 75 72 | ).{.........if.(tags.indexOf(cur |
1dd080 | 72 65 6e 74 54 61 67 73 5b 69 5d 29 20 3d 3d 20 2d 31 29 0a 20 20 20 20 20 20 20 20 20 20 74 61 | rentTags[i]).==.-1)...........ta |
1dd0a0 | 67 73 54 6f 52 65 6d 6f 76 65 2e 70 75 73 68 28 63 75 72 72 65 6e 74 54 61 67 73 5b 69 5d 29 3b | gsToRemove.push(currentTags[i]); |
1dd0c0 | 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 | .......}.......for.(var.i.=.0;.i |
1dd0e0 | 20 3c 20 74 61 67 73 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 20 7b 0a 20 20 20 20 20 20 20 20 69 | .<.tags.length;.i++).{.........i |
1dd100 | 66 20 28 63 75 72 72 65 6e 74 54 61 67 73 2e 69 6e 64 65 78 4f 66 28 74 61 67 73 5b 69 5d 29 20 | f.(currentTags.indexOf(tags[i]). |
1dd120 | 3d 3d 20 2d 31 29 0a 20 20 20 20 20 20 20 20 20 20 74 61 67 73 54 6f 41 64 64 2e 70 75 73 68 28 | ==.-1)...........tagsToAdd.push( |
1dd140 | 74 61 67 73 5b 69 5d 29 3b 0a 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 69 66 20 28 74 61 67 | tags[i]);.......}........if.(tag |
1dd160 | 73 54 6f 52 65 6d 6f 76 65 2e 6c 65 6e 67 74 68 20 3e 20 30 29 0a 20 20 20 20 20 20 20 20 74 78 | sToRemove.length.>.0).........tx |
1dd180 | 6e 73 2e 70 75 73 68 28 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 70 74 6d 2e 75 6e 74 61 67 55 | ns.push(PlacesUIUtils.ptm.untagU |
1dd1a0 | 52 49 28 74 68 69 73 2e 5f 75 72 69 2c 20 74 61 67 73 54 6f 52 65 6d 6f 76 65 29 29 3b 0a 20 20 | RI(this._uri,.tagsToRemove));... |
1dd1c0 | 20 20 20 20 69 66 20 28 74 61 67 73 54 6f 41 64 64 2e 6c 65 6e 67 74 68 20 3e 20 30 29 0a 20 20 | ....if.(tagsToAdd.length.>.0)... |
1dd1e0 | 20 20 20 20 20 20 74 78 6e 73 2e 70 75 73 68 28 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 70 74 | ......txns.push(PlacesUIUtils.pt |
1dd200 | 6d 2e 74 61 67 55 52 49 28 74 68 69 73 2e 5f 75 72 69 2c 20 74 61 67 73 54 6f 41 64 64 29 29 3b | m.tagURI(this._uri,.tagsToAdd)); |
1dd220 | 0a 0a 20 20 20 20 20 20 69 66 20 28 74 78 6e 73 2e 6c 65 6e 67 74 68 20 3e 20 30 29 20 7b 0a 20 | ........if.(txns.length.>.0).{.. |
1dd240 | 20 20 20 20 20 20 20 76 61 72 20 61 67 67 72 65 67 61 74 65 20 3d 20 50 6c 61 63 65 73 55 49 55 | .......var.aggregate.=.PlacesUIU |
1dd260 | 74 69 6c 73 2e 70 74 6d 2e 61 67 67 72 65 67 61 74 65 54 72 61 6e 73 61 63 74 69 6f 6e 73 28 22 | tils.ptm.aggregateTransactions(" |
1dd280 | 55 70 64 61 74 65 20 74 61 67 73 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | Update.tags",................... |
1dd2a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
1dd2c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 78 6e 73 29 3b 0a 20 20 20 20 20 20 20 20 50 6c 61 | ..............txns);.........Pla |
1dd2e0 | 63 65 73 55 49 55 74 69 6c 73 2e 70 74 6d 2e 64 6f 54 72 61 6e 73 61 63 74 69 6f 6e 28 61 67 67 | cesUIUtils.ptm.doTransaction(agg |
1dd300 | 72 65 67 61 74 65 29 3b 0a 0a 20 20 20 20 20 20 20 20 2f 2f 20 45 6e 73 75 72 65 20 74 68 65 20 | regate);..........//.Ensure.the. |
1dd320 | 74 61 67 73 46 69 65 6c 64 20 69 73 20 69 6e 20 73 79 6e 63 2c 20 63 6c 65 61 6e 20 69 74 20 75 | tagsField.is.in.sync,.clean.it.u |
1dd340 | 70 20 66 72 6f 6d 20 65 6d 70 74 79 20 74 61 67 73 0a 20 20 20 20 20 20 20 20 76 61 72 20 74 61 | p.from.empty.tags.........var.ta |
1dd360 | 67 73 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 74 61 67 67 69 6e 67 2e 67 65 74 54 61 67 73 | gs.=.PlacesUtils.tagging.getTags |
1dd380 | 46 6f 72 55 52 49 28 74 68 69 73 2e 5f 75 72 69 2c 20 7b 7d 29 2e 6a 6f 69 6e 28 22 2c 20 22 29 | ForURI(this._uri,.{}).join(",.") |
1dd3a0 | 3b 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 69 6e 69 74 54 65 78 74 46 69 65 6c 64 28 22 74 | ;.........this._initTextField("t |
1dd3c0 | 61 67 73 46 69 65 6c 64 22 2c 20 74 61 67 73 2c 20 66 61 6c 73 65 29 3b 0a 20 20 20 20 20 20 7d | agsField",.tags,.false);.......} |
1dd3e0 | 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 5f 75 70 64 61 74 65 4d 75 6c 74 69 70 6c 65 54 61 | .....}...},...._updateMultipleTa |
1dd400 | 67 73 46 6f 72 49 74 65 6d 73 3a 20 66 75 6e 63 74 69 6f 6e 20 45 49 4f 5f 5f 75 70 64 61 74 65 | gsForItems:.function.EIO__update |
1dd420 | 4d 75 6c 74 69 70 6c 65 54 61 67 73 46 6f 72 49 74 65 6d 73 28 29 20 7b 0a 20 20 20 20 76 61 72 | MultipleTagsForItems().{.....var |
1dd440 | 20 74 61 67 73 20 3d 20 74 68 69 73 2e 5f 67 65 74 54 61 67 73 41 72 72 61 79 46 72 6f 6d 54 61 | .tags.=.this._getTagsArrayFromTa |
1dd460 | 67 46 69 65 6c 64 28 29 3b 0a 20 20 20 20 69 66 20 28 74 61 67 73 2e 6c 65 6e 67 74 68 20 3e 20 | gField();.....if.(tags.length.>. |
1dd480 | 30 20 7c 7c 20 74 68 69 73 2e 5f 61 6c 6c 54 61 67 73 2e 6c 65 6e 67 74 68 20 3e 20 30 29 20 7b | 0.||.this._allTags.length.>.0).{ |
1dd4a0 | 0a 20 20 20 20 20 20 76 61 72 20 74 61 67 73 54 6f 52 65 6d 6f 76 65 20 3d 20 5b 5d 3b 0a 20 20 | .......var.tagsToRemove.=.[];... |
1dd4c0 | 20 20 20 20 76 61 72 20 74 61 67 73 54 6f 41 64 64 20 3d 20 5b 5d 3b 0a 20 20 20 20 20 20 76 61 | ....var.tagsToAdd.=.[];.......va |
1dd4e0 | 72 20 74 78 6e 73 20 3d 20 5b 5d 3b 20 0a 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d | r.txns.=.[];........for.(var.i.= |
1dd500 | 20 30 3b 20 69 20 3c 20 74 68 69 73 2e 5f 61 6c 6c 54 61 67 73 2e 6c 65 6e 67 74 68 3b 20 69 2b | .0;.i.<.this._allTags.length;.i+ |
1dd520 | 2b 29 20 7b 0a 20 20 20 20 20 20 20 20 69 66 20 28 74 61 67 73 2e 69 6e 64 65 78 4f 66 28 74 68 | +).{.........if.(tags.indexOf(th |
1dd540 | 69 73 2e 5f 61 6c 6c 54 61 67 73 5b 69 5d 29 20 3d 3d 20 2d 31 29 0a 20 20 20 20 20 20 20 20 20 | is._allTags[i]).==.-1).......... |
1dd560 | 20 74 61 67 73 54 6f 52 65 6d 6f 76 65 2e 70 75 73 68 28 74 68 69 73 2e 5f 61 6c 6c 54 61 67 73 | .tagsToRemove.push(this._allTags |
1dd580 | 5b 69 5d 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d | [i]);.......}.......for.(var.i.= |
1dd5a0 | 20 30 3b 20 69 20 3c 20 74 68 69 73 2e 5f 74 61 67 73 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 20 | .0;.i.<.this._tags.length;.i++). |
1dd5c0 | 7b 0a 20 20 20 20 20 20 20 20 74 61 67 73 54 6f 41 64 64 5b 69 5d 20 3d 20 5b 5d 3b 0a 20 20 20 | {.........tagsToAdd[i].=.[];.... |
1dd5e0 | 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 6a 20 3d 20 30 3b 20 6a 20 3c 20 74 61 67 73 2e 6c 65 | .....for.(var.j.=.0;.j.<.tags.le |
1dd600 | 6e 67 74 68 3b 20 6a 2b 2b 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e | ngth;.j++).{...........if.(this. |
1dd620 | 5f 74 61 67 73 5b 69 5d 2e 69 6e 64 65 78 4f 66 28 74 61 67 73 5b 6a 5d 29 20 3d 3d 20 2d 31 29 | _tags[i].indexOf(tags[j]).==.-1) |
1dd640 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 61 67 73 54 6f 41 64 64 5b 69 5d 2e 70 75 73 68 28 74 | .............tagsToAdd[i].push(t |
1dd660 | 61 67 73 5b 6a 5d 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 | ags[j]);.........}.......}...... |
1dd680 | 20 20 69 66 20 28 74 61 67 73 54 6f 41 64 64 2e 6c 65 6e 67 74 68 20 3e 20 30 29 20 7b 0a 20 20 | ..if.(tagsToAdd.length.>.0).{... |
1dd6a0 | 20 20 20 20 20 20 66 6f 72 20 28 69 20 3d 20 30 3b 20 69 20 3c 20 74 68 69 73 2e 5f 75 72 69 73 | ......for.(i.=.0;.i.<.this._uris |
1dd6c0 | 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 61 | .length;.i++).{...........if.(ta |
1dd6e0 | 67 73 54 6f 41 64 64 5b 69 5d 2e 6c 65 6e 67 74 68 20 3e 20 30 29 0a 20 20 20 20 20 20 20 20 20 | gsToAdd[i].length.>.0).......... |
1dd700 | 20 20 20 74 78 6e 73 2e 70 75 73 68 28 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 70 74 6d 2e 74 | ...txns.push(PlacesUIUtils.ptm.t |
1dd720 | 61 67 55 52 49 28 74 68 69 73 2e 5f 75 72 69 73 5b 69 5d 2c 20 74 61 67 73 54 6f 41 64 64 5b 69 | agURI(this._uris[i],.tagsToAdd[i |
1dd740 | 5d 29 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 69 66 20 | ]));.........}.......}.......if. |
1dd760 | 28 74 61 67 73 54 6f 52 65 6d 6f 76 65 2e 6c 65 6e 67 74 68 20 3e 20 30 29 20 7b 0a 20 20 20 20 | (tagsToRemove.length.>.0).{..... |
1dd780 | 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 74 68 69 73 2e 5f 75 72 | ....for.(var.i.=.0;.i.<.this._ur |
1dd7a0 | 69 73 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 0a 20 20 20 20 20 20 20 20 20 20 74 78 6e 73 2e 70 | is.length;.i++)...........txns.p |
1dd7c0 | 75 73 68 28 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 70 74 6d 2e 75 6e 74 61 67 55 52 49 28 74 | ush(PlacesUIUtils.ptm.untagURI(t |
1dd7e0 | 68 69 73 2e 5f 75 72 69 73 5b 69 5d 2c 20 74 61 67 73 54 6f 52 65 6d 6f 76 65 29 29 3b 0a 20 20 | his._uris[i],.tagsToRemove));... |
1dd800 | 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 69 66 20 28 74 78 6e 73 2e 6c 65 6e 67 74 68 20 3e 20 30 | ....}........if.(txns.length.>.0 |
1dd820 | 29 20 7b 0a 20 20 20 20 20 20 20 20 76 61 72 20 61 67 67 72 65 67 61 74 65 20 3d 20 50 6c 61 63 | ).{.........var.aggregate.=.Plac |
1dd840 | 65 73 55 49 55 74 69 6c 73 2e 70 74 6d 2e 61 67 67 72 65 67 61 74 65 54 72 61 6e 73 61 63 74 69 | esUIUtils.ptm.aggregateTransacti |
1dd860 | 6f 6e 73 28 22 55 70 64 61 74 65 20 74 61 67 73 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ons("Update.tags",.............. |
1dd880 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
1dd8a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 78 6e 73 29 3b 0a 20 20 20 20 20 20 | ...................txns);....... |
1dd8c0 | 20 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 70 74 6d 2e 64 6f 54 72 61 6e 73 61 63 74 69 6f | ..PlacesUIUtils.ptm.doTransactio |
1dd8e0 | 6e 28 61 67 67 72 65 67 61 74 65 29 3b 0a 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 61 6c 6c | n(aggregate);..........this._all |
1dd900 | 54 61 67 73 20 3d 20 74 61 67 73 3b 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 74 61 67 73 20 | Tags.=.tags;.........this._tags. |
1dd920 | 3d 20 5b 5d 3b 0a 20 20 20 20 20 20 20 20 66 6f 72 20 28 69 20 3d 20 30 3b 20 69 20 3c 20 74 68 | =.[];.........for.(i.=.0;.i.<.th |
1dd940 | 69 73 2e 5f 75 72 69 73 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 0a 20 20 20 20 20 20 20 20 20 20 | is._uris.length;.i++)........... |
1dd960 | 74 68 69 73 2e 5f 74 61 67 73 5b 69 5d 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 74 61 67 67 | this._tags[i].=.PlacesUtils.tagg |
1dd980 | 69 6e 67 2e 67 65 74 54 61 67 73 46 6f 72 55 52 49 28 74 68 69 73 2e 5f 75 72 69 73 5b 69 5d 2c | ing.getTagsForURI(this._uris[i], |
1dd9a0 | 20 7b 7d 29 3b 0a 0a 20 20 20 20 20 20 20 20 2f 2f 20 45 6e 73 75 72 65 20 74 68 65 20 74 61 67 | .{});..........//.Ensure.the.tag |
1dd9c0 | 73 46 69 65 6c 64 20 69 73 20 69 6e 20 73 79 6e 63 2c 20 63 6c 65 61 6e 20 69 74 20 75 70 20 66 | sField.is.in.sync,.clean.it.up.f |
1dd9e0 | 72 6f 6d 20 65 6d 70 74 79 20 74 61 67 73 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 69 6e 69 | rom.empty.tags.........this._ini |
1dda00 | 74 54 65 78 74 46 69 65 6c 64 28 22 74 61 67 73 46 69 65 6c 64 22 2c 20 74 61 67 73 2c 20 66 61 | tTextField("tagsField",.tags,.fa |
1dda20 | 6c 73 65 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 6f 6e 4e 61 | lse);.......}.....}...},....onNa |
1dda40 | 6d 65 50 69 63 6b 65 72 49 6e 70 75 74 3a 20 66 75 6e 63 74 69 6f 6e 20 45 49 4f 5f 6f 6e 4e 61 | mePickerInput:.function.EIO_onNa |
1dda60 | 6d 65 50 69 63 6b 65 72 49 6e 70 75 74 28 29 20 7b 0a 20 20 20 20 76 61 72 20 74 69 74 6c 65 20 | mePickerInput().{.....var.title. |
1dda80 | 3d 20 74 68 69 73 2e 5f 65 6c 65 6d 65 6e 74 28 22 6e 61 6d 65 50 69 63 6b 65 72 22 29 2e 76 61 | =.this._element("namePicker").va |
1ddaa0 | 6c 75 65 3b 0a 20 20 20 20 74 68 69 73 2e 5f 65 6c 65 6d 65 6e 74 28 22 75 73 65 72 45 6e 74 65 | lue;.....this._element("userEnte |
1ddac0 | 72 65 64 4e 61 6d 65 22 29 2e 6c 61 62 65 6c 20 3d 20 74 69 74 6c 65 3b 0a 20 20 7d 2c 0a 0a 20 | redName").label.=.title;...},... |
1ddae0 | 20 6f 6e 4e 61 6d 65 50 69 63 6b 65 72 43 68 61 6e 67 65 3a 20 66 75 6e 63 74 69 6f 6e 20 45 49 | .onNamePickerChange:.function.EI |
1ddb00 | 4f 5f 6f 6e 4e 61 6d 65 50 69 63 6b 65 72 43 68 61 6e 67 65 28 29 20 7b 0a 20 20 20 20 69 66 20 | O_onNamePickerChange().{.....if. |
1ddb20 | 28 74 68 69 73 2e 5f 69 74 65 6d 49 64 20 3d 3d 20 2d 31 29 0a 20 20 20 20 20 20 72 65 74 75 72 | (this._itemId.==.-1).......retur |
1ddb40 | 6e 3b 0a 0a 20 20 20 20 76 61 72 20 6e 61 6d 65 50 69 63 6b 65 72 20 3d 20 74 68 69 73 2e 5f 65 | n;......var.namePicker.=.this._e |
1ddb60 | 6c 65 6d 65 6e 74 28 22 6e 61 6d 65 50 69 63 6b 65 72 22 29 0a 20 20 20 20 76 61 72 20 74 78 6e | lement("namePicker").....var.txn |
1ddb80 | 73 20 3d 20 5b 5d 3b 0a 20 20 20 20 63 6f 6e 73 74 20 70 74 6d 20 3d 20 50 6c 61 63 65 73 55 49 | s.=.[];.....const.ptm.=.PlacesUI |
1ddba0 | 55 74 69 6c 73 2e 70 74 6d 3b 0a 0a 20 20 20 20 2f 2f 20 48 65 72 65 20 77 65 20 75 70 64 61 74 | Utils.ptm;......//.Here.we.updat |
1ddbc0 | 65 20 65 69 74 68 65 72 20 74 68 65 20 69 74 65 6d 20 74 69 74 6c 65 20 6f 72 20 69 74 73 20 63 | e.either.the.item.title.or.its.c |
1ddbe0 | 61 63 68 65 64 20 73 74 61 74 69 63 20 74 69 74 6c 65 0a 20 20 20 20 76 61 72 20 6e 65 77 54 69 | ached.static.title.....var.newTi |
1ddc00 | 74 6c 65 20 3d 20 74 68 69 73 2e 5f 65 6c 65 6d 65 6e 74 28 22 75 73 65 72 45 6e 74 65 72 65 64 | tle.=.this._element("userEntered |
1ddc20 | 4e 61 6d 65 22 29 2e 6c 61 62 65 6c 3b 0a 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 67 65 74 49 | Name").label;.....if.(this._getI |
1ddc40 | 74 65 6d 53 74 61 74 69 63 54 69 74 6c 65 28 29 20 21 3d 20 6e 65 77 54 69 74 6c 65 29 20 7b 0a | temStaticTitle().!=.newTitle).{. |
1ddc60 | 20 20 20 20 20 20 69 66 20 28 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 6d 69 63 72 6f 73 75 6d | ......if.(PlacesUIUtils.microsum |
1ddc80 | 6d 61 72 69 65 73 2e 68 61 73 4d 69 63 72 6f 73 75 6d 6d 61 72 79 28 74 68 69 73 2e 5f 69 74 65 | maries.hasMicrosummary(this._ite |
1ddca0 | 6d 49 64 29 29 20 7b 0a 20 20 20 20 20 20 20 20 2f 2f 20 4e 6f 74 65 3a 20 74 68 69 73 20 69 6d | mId)).{.........//.Note:.this.im |
1ddcc0 | 70 6c 69 63 69 74 6c 79 20 61 6c 73 6f 20 74 61 6b 65 73 20 63 61 72 65 20 6f 66 20 74 68 65 20 | plicitly.also.takes.care.of.the. |
1ddce0 | 6d 69 63 72 6f 73 75 6d 6d 61 72 79 2d 3e 73 74 61 74 69 63 0a 20 20 20 20 20 20 20 20 2f 2f 20 | microsummary->static.........//. |
1ddd00 | 74 69 74 6c 65 20 63 61 73 65 2c 20 74 68 65 20 72 65 6d 6f 76 65 4d 69 63 6f 72 6f 73 75 6d 6d | title.case,.the.removeMicorosumm |
1ddd20 | 61 72 79 20 6d 65 74 68 6f 64 20 69 6e 20 74 68 65 20 73 65 72 76 69 63 65 20 77 69 6c 6c 20 73 | ary.method.in.the.service.will.s |
1ddd40 | 65 74 0a 20 20 20 20 20 20 20 20 2f 2f 20 74 68 65 20 69 74 65 6d 2d 74 69 74 6c 65 20 74 6f 20 | et.........//.the.item-title.to. |
1ddd60 | 74 68 65 20 76 61 6c 75 65 20 6f 66 20 74 68 69 73 20 61 6e 6e 6f 74 61 74 69 6f 6e 2e 0a 20 20 | the.value.of.this.annotation.... |
1ddd80 | 20 20 20 20 20 20 2f 2f 0a 20 20 20 20 20 20 20 20 2f 2f 20 58 58 58 6d 61 6e 6f 3a 20 75 73 65 | ......//.........//.XXXmano:.use |
1ddda0 | 20 61 20 74 72 61 6e 73 61 63 74 69 6f 6e 0a 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 55 74 69 | .a.transaction.........PlacesUti |
1dddc0 | 6c 73 2e 73 65 74 41 6e 6e 6f 74 61 74 69 6f 6e 73 46 6f 72 49 74 65 6d 28 74 68 69 73 2e 5f 69 | ls.setAnnotationsForItem(this._i |
1ddde0 | 74 65 6d 49 64 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | temId,.......................... |
1dde00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 5b 7b 6e 61 6d 65 3a 20 53 54 41 54 49 43 5f | .................[{name:.STATIC_ |
1dde20 | 54 49 54 4c 45 5f 41 4e 4e 4f 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | TITLE_ANNO,..................... |
1dde40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 6c 75 65 3a 20 6e | ........................value:.n |
1dde60 | 65 77 54 69 74 6c 65 7d 5d 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 65 6c 73 65 0a 20 | ewTitle}]);.......}.......else.. |
1dde80 | 20 20 20 20 20 20 20 74 78 6e 73 2e 70 75 73 68 28 70 74 6d 2e 65 64 69 74 49 74 65 6d 54 69 74 | .......txns.push(ptm.editItemTit |
1ddea0 | 6c 65 28 74 68 69 73 2e 5f 69 74 65 6d 49 64 2c 20 6e 65 77 54 69 74 6c 65 29 29 3b 0a 20 20 20 | le(this._itemId,.newTitle));.... |
1ddec0 | 20 7d 0a 0a 20 20 20 20 76 61 72 20 6e 65 77 4d 69 63 72 6f 73 75 6d 6d 61 72 79 20 3d 20 6e 61 | .}......var.newMicrosummary.=.na |
1ddee0 | 6d 65 50 69 63 6b 65 72 2e 73 65 6c 65 63 74 65 64 49 74 65 6d 2e 6d 69 63 72 6f 73 75 6d 6d 61 | mePicker.selectedItem.microsumma |
1ddf00 | 72 79 3b 0a 0a 20 20 20 20 2f 2f 20 4f 6e 6c 79 20 61 64 64 20 61 20 6d 69 63 72 6f 73 75 6d 6d | ry;......//.Only.add.a.microsumm |
1ddf20 | 61 72 79 20 75 70 64 61 74 65 20 74 6f 20 74 68 65 20 74 72 61 6e 73 61 63 74 69 6f 6e 20 69 66 | ary.update.to.the.transaction.if |
1ddf40 | 20 74 68 65 20 6d 69 63 72 6f 73 75 6d 6d 61 72 79 0a 20 20 20 20 2f 2f 20 68 61 73 20 61 63 74 | .the.microsummary.....//.has.act |
1ddf60 | 75 61 6c 6c 79 20 63 68 61 6e 67 65 64 2c 20 69 2e 65 2e 20 74 68 65 20 75 73 65 72 20 73 65 6c | ually.changed,.i.e..the.user.sel |
1ddf80 | 65 63 74 65 64 20 6e 6f 20 6d 69 63 72 6f 73 75 6d 6d 61 72 79 2c 20 62 75 74 20 74 68 65 0a 20 | ected.no.microsummary,.but.the.. |
1ddfa0 | 20 20 20 2f 2f 20 62 6f 6f 6b 6d 61 72 6b 20 70 72 65 76 69 6f 75 73 6c 79 20 68 61 64 20 6f 6e | ...//.bookmark.previously.had.on |
1ddfc0 | 65 2c 20 6f 72 20 74 68 65 20 75 73 65 72 20 73 65 6c 65 63 74 65 64 20 61 20 6d 69 63 72 6f 73 | e,.or.the.user.selected.a.micros |
1ddfe0 | 75 6d 6d 61 72 79 20 77 68 69 63 68 0a 20 20 20 20 2f 2f 20 69 73 20 6e 6f 74 20 74 68 65 20 6f | ummary.which.....//.is.not.the.o |
1de000 | 6e 65 20 74 68 65 20 62 6f 6f 6b 6d 61 72 6b 20 70 72 65 76 69 6f 75 73 6c 79 20 68 61 64 0a 20 | ne.the.bookmark.previously.had.. |
1de020 | 20 20 20 69 66 20 28 28 6e 65 77 4d 69 63 72 6f 73 75 6d 6d 61 72 79 20 3d 3d 20 6e 75 6c 6c 20 | ...if.((newMicrosummary.==.null. |
1de040 | 26 26 0a 20 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 6d 69 63 72 6f 73 | &&..........PlacesUIUtils.micros |
1de060 | 75 6d 6d 61 72 69 65 73 2e 68 61 73 4d 69 63 72 6f 73 75 6d 6d 61 72 79 28 74 68 69 73 2e 5f 69 | ummaries.hasMicrosummary(this._i |
1de080 | 74 65 6d 49 64 29 29 20 7c 7c 0a 20 20 20 20 20 20 20 20 28 6e 65 77 4d 69 63 72 6f 73 75 6d 6d | temId)).||.........(newMicrosumm |
1de0a0 | 61 72 79 20 21 3d 20 6e 75 6c 6c 20 26 26 0a 20 20 20 20 20 20 20 20 20 21 50 6c 61 63 65 73 55 | ary.!=.null.&&..........!PlacesU |
1de0c0 | 49 55 74 69 6c 73 2e 6d 69 63 72 6f 73 75 6d 6d 61 72 69 65 73 0a 20 20 20 20 20 20 20 20 20 20 | IUtils.microsummaries........... |
1de0e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 69 73 4d 69 63 72 6f 73 75 6d 6d 61 72 79 28 74 68 69 | ..............isMicrosummary(thi |
1de100 | 73 2e 5f 69 74 65 6d 49 64 2c 20 6e 65 77 4d 69 63 72 6f 73 75 6d 6d 61 72 79 29 29 29 20 7b 0a | s._itemId,.newMicrosummary))).{. |
1de120 | 20 20 20 20 20 20 74 78 6e 73 2e 70 75 73 68 28 70 74 6d 2e 65 64 69 74 42 6f 6f 6b 6d 61 72 6b | ......txns.push(ptm.editBookmark |
1de140 | 4d 69 63 72 6f 73 75 6d 6d 61 72 79 28 74 68 69 73 2e 5f 69 74 65 6d 49 64 2c 20 6e 65 77 4d 69 | Microsummary(this._itemId,.newMi |
1de160 | 63 72 6f 73 75 6d 6d 61 72 79 29 29 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 76 61 72 20 61 67 67 | crosummary));.....}......var.agg |
1de180 | 72 65 67 61 74 65 20 3d 20 70 74 6d 2e 61 67 67 72 65 67 61 74 65 54 72 61 6e 73 61 63 74 69 6f | regate.=.ptm.aggregateTransactio |
1de1a0 | 6e 73 28 22 45 64 69 74 20 49 74 65 6d 20 54 69 74 6c 65 22 2c 20 74 78 6e 73 29 3b 0a 20 20 20 | ns("Edit.Item.Title",.txns);.... |
1de1c0 | 20 70 74 6d 2e 64 6f 54 72 61 6e 73 61 63 74 69 6f 6e 28 61 67 67 72 65 67 61 74 65 29 3b 0a 20 | .ptm.doTransaction(aggregate);.. |
1de1e0 | 20 7d 2c 0a 0a 20 20 6f 6e 44 65 73 63 72 69 70 74 69 6f 6e 46 69 65 6c 64 42 6c 75 72 3a 20 66 | .},....onDescriptionFieldBlur:.f |
1de200 | 75 6e 63 74 69 6f 6e 20 45 49 4f 5f 6f 6e 44 65 73 63 72 69 70 74 69 6f 6e 46 69 65 6c 64 49 6e | unction.EIO_onDescriptionFieldIn |
1de220 | 70 75 74 28 29 20 7b 0a 20 20 20 20 76 61 72 20 64 65 73 63 72 69 70 74 69 6f 6e 20 3d 20 74 68 | put().{.....var.description.=.th |
1de240 | 69 73 2e 5f 65 6c 65 6d 65 6e 74 28 22 64 65 73 63 72 69 70 74 69 6f 6e 46 69 65 6c 64 22 29 2e | is._element("descriptionField"). |
1de260 | 76 61 6c 75 65 3b 0a 20 20 20 20 69 66 20 28 64 65 73 63 72 69 70 74 69 6f 6e 20 21 3d 20 50 6c | value;.....if.(description.!=.Pl |
1de280 | 61 63 65 73 55 49 55 74 69 6c 73 2e 67 65 74 49 74 65 6d 44 65 73 63 72 69 70 74 69 6f 6e 28 74 | acesUIUtils.getItemDescription(t |
1de2a0 | 68 69 73 2e 5f 69 74 65 6d 49 64 29 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 74 78 6e 20 3d 20 | his._itemId)).{.......var.txn.=. |
1de2c0 | 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 70 74 6d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | PlacesUIUtils.ptm............... |
1de2e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 65 64 69 74 49 74 65 6d 44 65 73 63 72 69 70 74 | ................editItemDescript |
1de300 | 69 6f 6e 28 74 68 69 73 2e 5f 69 74 65 6d 49 64 2c 20 64 65 73 63 72 69 70 74 69 6f 6e 29 3b 0a | ion(this._itemId,.description);. |
1de320 | 20 20 20 20 20 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 70 74 6d 2e 64 6f 54 72 61 6e 73 61 | ......PlacesUIUtils.ptm.doTransa |
1de340 | 63 74 69 6f 6e 28 74 78 6e 29 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 6f 6e 4c 6f 63 61 | ction(txn);.....}...},....onLoca |
1de360 | 74 69 6f 6e 46 69 65 6c 64 42 6c 75 72 3a 20 66 75 6e 63 74 69 6f 6e 20 45 49 4f 5f 6f 6e 4c 6f | tionFieldBlur:.function.EIO_onLo |
1de380 | 63 61 74 69 6f 6e 46 69 65 6c 64 42 6c 75 72 28 29 20 7b 0a 20 20 20 20 76 61 72 20 75 72 69 3b | cationFieldBlur().{.....var.uri; |
1de3a0 | 0a 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 75 72 69 20 3d 20 50 6c 61 63 65 73 55 49 55 | .....try.{.......uri.=.PlacesUIU |
1de3c0 | 74 69 6c 73 2e 63 72 65 61 74 65 46 69 78 65 64 55 52 49 28 74 68 69 73 2e 5f 65 6c 65 6d 65 6e | tils.createFixedURI(this._elemen |
1de3e0 | 74 28 22 6c 6f 63 61 74 69 6f 6e 46 69 65 6c 64 22 29 2e 76 61 6c 75 65 29 3b 0a 20 20 20 20 7d | t("locationField").value);.....} |
1de400 | 0a 20 20 20 20 63 61 74 63 68 28 65 78 29 20 7b 20 72 65 74 75 72 6e 3b 20 7d 0a 0a 20 20 20 20 | .....catch(ex).{.return;.}...... |
1de420 | 69 66 20 28 21 74 68 69 73 2e 5f 75 72 69 2e 65 71 75 61 6c 73 28 75 72 69 29 29 20 7b 0a 20 20 | if.(!this._uri.equals(uri)).{... |
1de440 | 20 20 20 20 76 61 72 20 74 78 6e 20 3d 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 70 74 6d 2e | ....var.txn.=.PlacesUIUtils.ptm. |
1de460 | 65 64 69 74 42 6f 6f 6b 6d 61 72 6b 55 52 49 28 74 68 69 73 2e 5f 69 74 65 6d 49 64 2c 20 75 72 | editBookmarkURI(this._itemId,.ur |
1de480 | 69 29 3b 0a 20 20 20 20 20 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 70 74 6d 2e 64 6f 54 72 | i);.......PlacesUIUtils.ptm.doTr |
1de4a0 | 61 6e 73 61 63 74 69 6f 6e 28 74 78 6e 29 3b 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 75 72 69 20 | ansaction(txn);.......this._uri. |
1de4c0 | 3d 20 75 72 69 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 6f 6e 4b 65 79 77 6f 72 64 46 69 | =.uri;.....}...},....onKeywordFi |
1de4e0 | 65 6c 64 42 6c 75 72 3a 20 66 75 6e 63 74 69 6f 6e 20 45 49 4f 5f 6f 6e 4b 65 79 77 6f 72 64 46 | eldBlur:.function.EIO_onKeywordF |
1de500 | 69 65 6c 64 42 6c 75 72 28 29 20 7b 0a 20 20 20 20 76 61 72 20 6b 65 79 77 6f 72 64 20 3d 20 74 | ieldBlur().{.....var.keyword.=.t |
1de520 | 68 69 73 2e 5f 65 6c 65 6d 65 6e 74 28 22 6b 65 79 77 6f 72 64 46 69 65 6c 64 22 29 2e 76 61 6c | his._element("keywordField").val |
1de540 | 75 65 3b 0a 20 20 20 20 69 66 20 28 6b 65 79 77 6f 72 64 20 21 3d 20 50 6c 61 63 65 73 55 74 69 | ue;.....if.(keyword.!=.PlacesUti |
1de560 | 6c 73 2e 62 6f 6f 6b 6d 61 72 6b 73 2e 67 65 74 4b 65 79 77 6f 72 64 46 6f 72 42 6f 6f 6b 6d 61 | ls.bookmarks.getKeywordForBookma |
1de580 | 72 6b 28 74 68 69 73 2e 5f 69 74 65 6d 49 64 29 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 74 78 | rk(this._itemId)).{.......var.tx |
1de5a0 | 6e 20 3d 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 70 74 6d 2e 65 64 69 74 42 6f 6f 6b 6d 61 | n.=.PlacesUIUtils.ptm.editBookma |
1de5c0 | 72 6b 4b 65 79 77 6f 72 64 28 74 68 69 73 2e 5f 69 74 65 6d 49 64 2c 20 6b 65 79 77 6f 72 64 29 | rkKeyword(this._itemId,.keyword) |
1de5e0 | 3b 0a 20 20 20 20 20 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 70 74 6d 2e 64 6f 54 72 61 6e | ;.......PlacesUIUtils.ptm.doTran |
1de600 | 73 61 63 74 69 6f 6e 28 74 78 6e 29 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 6f 6e 46 65 | saction(txn);.....}...},....onFe |
1de620 | 65 64 4c 6f 63 61 74 69 6f 6e 46 69 65 6c 64 42 6c 75 72 3a 20 66 75 6e 63 74 69 6f 6e 20 45 49 | edLocationFieldBlur:.function.EI |
1de640 | 4f 5f 6f 6e 46 65 65 64 4c 6f 63 61 74 69 6f 6e 46 69 65 6c 64 42 6c 75 72 28 29 20 7b 0a 20 20 | O_onFeedLocationFieldBlur().{... |
1de660 | 20 20 76 61 72 20 75 72 69 3b 0a 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 75 72 69 20 3d | ..var.uri;.....try.{.......uri.= |
1de680 | 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 63 72 65 61 74 65 46 69 78 65 64 55 52 49 28 74 68 | .PlacesUIUtils.createFixedURI(th |
1de6a0 | 69 73 2e 5f 65 6c 65 6d 65 6e 74 28 22 66 65 65 64 4c 6f 63 61 74 69 6f 6e 46 69 65 6c 64 22 29 | is._element("feedLocationField") |
1de6c0 | 2e 76 61 6c 75 65 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 63 61 74 63 68 28 65 78 29 20 7b 20 72 | .value);.....}.....catch(ex).{.r |
1de6e0 | 65 74 75 72 6e 3b 20 7d 0a 0a 20 20 20 20 76 61 72 20 63 75 72 72 65 6e 74 46 65 65 64 55 52 49 | eturn;.}......var.currentFeedURI |
1de700 | 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 6c 69 76 65 6d 61 72 6b 73 2e 67 65 74 46 65 65 64 | .=.PlacesUtils.livemarks.getFeed |
1de720 | 55 52 49 28 74 68 69 73 2e 5f 69 74 65 6d 49 64 29 3b 0a 20 20 20 20 69 66 20 28 21 63 75 72 72 | URI(this._itemId);.....if.(!curr |
1de740 | 65 6e 74 46 65 65 64 55 52 49 2e 65 71 75 61 6c 73 28 75 72 69 29 29 20 7b 0a 20 20 20 20 20 20 | entFeedURI.equals(uri)).{....... |
1de760 | 76 61 72 20 74 78 6e 20 3d 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 70 74 6d 2e 65 64 69 74 | var.txn.=.PlacesUIUtils.ptm.edit |
1de780 | 4c 69 76 65 6d 61 72 6b 46 65 65 64 55 52 49 28 74 68 69 73 2e 5f 69 74 65 6d 49 64 2c 20 75 72 | LivemarkFeedURI(this._itemId,.ur |
1de7a0 | 69 29 3b 0a 20 20 20 20 20 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 70 74 6d 2e 64 6f 54 72 | i);.......PlacesUIUtils.ptm.doTr |
1de7c0 | 61 6e 73 61 63 74 69 6f 6e 28 74 78 6e 29 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 6f 6e | ansaction(txn);.....}...},....on |
1de7e0 | 53 69 74 65 4c 6f 63 61 74 69 6f 6e 46 69 65 6c 64 42 6c 75 72 3a 20 66 75 6e 63 74 69 6f 6e 20 | SiteLocationFieldBlur:.function. |
1de800 | 45 49 4f 5f 6f 6e 53 69 74 65 4c 6f 63 61 74 69 6f 6e 46 69 65 6c 64 42 6c 75 72 28 29 20 7b 0a | EIO_onSiteLocationFieldBlur().{. |
1de820 | 20 20 20 20 76 61 72 20 75 72 69 20 3d 20 6e 75 6c 6c 3b 0a 20 20 20 20 74 72 79 20 7b 0a 20 20 | ....var.uri.=.null;.....try.{... |
1de840 | 20 20 20 20 75 72 69 20 3d 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 63 72 65 61 74 65 46 69 | ....uri.=.PlacesUIUtils.createFi |
1de860 | 78 65 64 55 52 49 28 74 68 69 73 2e 5f 65 6c 65 6d 65 6e 74 28 22 73 69 74 65 4c 6f 63 61 74 69 | xedURI(this._element("siteLocati |
1de880 | 6f 6e 46 69 65 6c 64 22 29 2e 76 61 6c 75 65 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 63 61 74 63 | onField").value);.....}.....catc |
1de8a0 | 68 28 65 78 29 20 7b 20 20 7d 0a 0a 20 20 20 20 76 61 72 20 63 75 72 72 65 6e 74 53 69 74 65 55 | h(ex).{..}......var.currentSiteU |
1de8c0 | 52 49 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 6c 69 76 65 6d 61 72 6b 73 2e 67 65 74 53 69 | RI.=.PlacesUtils.livemarks.getSi |
1de8e0 | 74 65 55 52 49 28 74 68 69 73 2e 5f 69 74 65 6d 49 64 29 3b 0a 20 20 20 20 69 66 20 28 21 75 72 | teURI(this._itemId);.....if.(!ur |
1de900 | 69 20 7c 7c 20 21 63 75 72 72 65 6e 74 53 69 74 65 55 52 49 2e 65 71 75 61 6c 73 28 75 72 69 29 | i.||.!currentSiteURI.equals(uri) |
1de920 | 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 74 78 6e 20 3d 20 50 6c 61 63 65 73 55 49 55 74 69 6c | ).{.......var.txn.=.PlacesUIUtil |
1de940 | 73 2e 70 74 6d 2e 65 64 69 74 4c 69 76 65 6d 61 72 6b 53 69 74 65 55 52 49 28 74 68 69 73 2e 5f | s.ptm.editLivemarkSiteURI(this._ |
1de960 | 69 74 65 6d 49 64 2c 20 75 72 69 29 3b 0a 20 20 20 20 20 20 50 6c 61 63 65 73 55 49 55 74 69 6c | itemId,.uri);.......PlacesUIUtil |
1de980 | 73 2e 70 74 6d 2e 64 6f 54 72 61 6e 73 61 63 74 69 6f 6e 28 74 78 6e 29 3b 0a 20 20 20 20 7d 0a | s.ptm.doTransaction(txn);.....}. |
1de9a0 | 20 20 7d 2c 0a 0a 20 20 6f 6e 4c 6f 61 64 49 6e 53 69 64 65 62 61 72 43 68 65 63 6b 62 6f 78 43 | ..},....onLoadInSidebarCheckboxC |
1de9c0 | 6f 6d 6d 61 6e 64 3a 0a 20 20 66 75 6e 63 74 69 6f 6e 20 45 49 4f 5f 6f 6e 4c 6f 61 64 49 6e 53 | ommand:...function.EIO_onLoadInS |
1de9e0 | 69 64 65 62 61 72 43 68 65 63 6b 62 6f 78 43 6f 6d 6d 61 6e 64 28 29 20 7b 0a 20 20 20 20 76 61 | idebarCheckboxCommand().{.....va |
1dea00 | 72 20 6c 6f 61 64 49 6e 53 69 64 65 62 61 72 43 68 65 63 6b 65 64 20 3d 20 74 68 69 73 2e 5f 65 | r.loadInSidebarChecked.=.this._e |
1dea20 | 6c 65 6d 65 6e 74 28 22 6c 6f 61 64 49 6e 53 69 64 65 62 61 72 43 68 65 63 6b 62 6f 78 22 29 2e | lement("loadInSidebarCheckbox"). |
1dea40 | 63 68 65 63 6b 65 64 3b 0a 20 20 20 20 76 61 72 20 74 78 6e 20 3d 20 50 6c 61 63 65 73 55 49 55 | checked;.....var.txn.=.PlacesUIU |
1dea60 | 74 69 6c 73 2e 70 74 6d 2e 73 65 74 4c 6f 61 64 49 6e 53 69 64 65 62 61 72 28 74 68 69 73 2e 5f | tils.ptm.setLoadInSidebar(this._ |
1dea80 | 69 74 65 6d 49 64 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | itemId,......................... |
1deaa0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 6f 61 64 49 6e 53 | .........................loadInS |
1deac0 | 69 64 65 62 61 72 43 68 65 63 6b 65 64 29 3b 0a 20 20 20 20 50 6c 61 63 65 73 55 49 55 74 69 6c | idebarChecked);.....PlacesUIUtil |
1deae0 | 73 2e 70 74 6d 2e 64 6f 54 72 61 6e 73 61 63 74 69 6f 6e 28 74 78 6e 29 3b 0a 20 20 7d 2c 0a 0a | s.ptm.doTransaction(txn);...},.. |
1deb00 | 20 20 74 6f 67 67 6c 65 46 6f 6c 64 65 72 54 72 65 65 56 69 73 69 62 69 6c 69 74 79 3a 20 66 75 | ..toggleFolderTreeVisibility:.fu |
1deb20 | 6e 63 74 69 6f 6e 20 45 49 4f 5f 74 6f 67 67 6c 65 46 6f 6c 64 65 72 54 72 65 65 56 69 73 69 62 | nction.EIO_toggleFolderTreeVisib |
1deb40 | 69 6c 69 74 79 28 29 20 7b 0a 20 20 20 20 76 61 72 20 65 78 70 61 6e 64 65 72 20 3d 20 74 68 69 | ility().{.....var.expander.=.thi |
1deb60 | 73 2e 5f 65 6c 65 6d 65 6e 74 28 22 66 6f 6c 64 65 72 73 45 78 70 61 6e 64 65 72 22 29 3b 0a 20 | s._element("foldersExpander");.. |
1deb80 | 20 20 20 76 61 72 20 66 6f 6c 64 65 72 54 72 65 65 52 6f 77 20 3d 20 74 68 69 73 2e 5f 65 6c 65 | ...var.folderTreeRow.=.this._ele |
1deba0 | 6d 65 6e 74 28 22 66 6f 6c 64 65 72 54 72 65 65 52 6f 77 22 29 3b 0a 20 20 20 20 69 66 20 28 21 | ment("folderTreeRow");.....if.(! |
1debc0 | 66 6f 6c 64 65 72 54 72 65 65 52 6f 77 2e 63 6f 6c 6c 61 70 73 65 64 29 20 7b 0a 20 20 20 20 20 | folderTreeRow.collapsed).{...... |
1debe0 | 20 65 78 70 61 6e 64 65 72 2e 63 6c 61 73 73 4e 61 6d 65 20 3d 20 22 65 78 70 61 6e 64 65 72 2d | .expander.className.=."expander- |
1dec00 | 64 6f 77 6e 22 3b 0a 20 20 20 20 20 20 65 78 70 61 6e 64 65 72 2e 73 65 74 41 74 74 72 69 62 75 | down";.......expander.setAttribu |
1dec20 | 74 65 28 22 74 6f 6f 6c 74 69 70 74 65 78 74 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | te("tooltiptext",............... |
1dec40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 78 70 61 6e 64 65 72 2e 67 65 74 41 74 74 72 69 62 | ..............expander.getAttrib |
1dec60 | 75 74 65 28 22 74 6f 6f 6c 74 69 70 74 65 78 74 64 6f 77 6e 22 29 29 3b 0a 20 20 20 20 20 20 66 | ute("tooltiptextdown"));.......f |
1dec80 | 6f 6c 64 65 72 54 72 65 65 52 6f 77 2e 63 6f 6c 6c 61 70 73 65 64 20 3d 20 74 72 75 65 3b 0a 20 | olderTreeRow.collapsed.=.true;.. |
1deca0 | 20 20 20 20 20 74 68 69 73 2e 5f 65 6c 65 6d 65 6e 74 28 22 63 68 6f 6f 73 65 46 6f 6c 64 65 72 | .....this._element("chooseFolder |
1decc0 | 53 65 70 61 72 61 74 6f 72 22 29 2e 68 69 64 64 65 6e 20 3d 0a 20 20 20 20 20 20 20 20 74 68 69 | Separator").hidden.=.........thi |
1dece0 | 73 2e 5f 65 6c 65 6d 65 6e 74 28 22 63 68 6f 6f 73 65 46 6f 6c 64 65 72 4d 65 6e 75 49 74 65 6d | s._element("chooseFolderMenuItem |
1ded00 | 22 29 2e 68 69 64 64 65 6e 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 7d 0a 20 20 20 20 65 6c 73 | ").hidden.=.false;.....}.....els |
1ded20 | 65 20 7b 0a 20 20 20 20 20 20 65 78 70 61 6e 64 65 72 2e 63 6c 61 73 73 4e 61 6d 65 20 3d 20 22 | e.{.......expander.className.=." |
1ded40 | 65 78 70 61 6e 64 65 72 2d 75 70 22 0a 20 20 20 20 20 20 65 78 70 61 6e 64 65 72 2e 73 65 74 41 | expander-up".......expander.setA |
1ded60 | 74 74 72 69 62 75 74 65 28 22 74 6f 6f 6c 74 69 70 74 65 78 74 22 2c 0a 20 20 20 20 20 20 20 20 | ttribute("tooltiptext",......... |
1ded80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 78 70 61 6e 64 65 72 2e 67 65 74 | ....................expander.get |
1deda0 | 41 74 74 72 69 62 75 74 65 28 22 74 6f 6f 6c 74 69 70 74 65 78 74 75 70 22 29 29 3b 0a 20 20 20 | Attribute("tooltiptextup"));.... |
1dedc0 | 20 20 20 66 6f 6c 64 65 72 54 72 65 65 52 6f 77 2e 63 6f 6c 6c 61 70 73 65 64 20 3d 20 66 61 6c | ...folderTreeRow.collapsed.=.fal |
1dede0 | 73 65 3b 0a 0a 20 20 20 20 20 20 2f 2f 20 58 58 58 6d 61 6e 6f 3a 20 49 64 65 61 6c 6c 79 20 77 | se;........//.XXXmano:.Ideally.w |
1dee00 | 65 20 77 6f 75 6c 64 20 6f 6e 6c 79 20 64 6f 20 74 68 69 73 20 6f 6e 63 65 2c 20 62 75 74 20 66 | e.would.only.do.this.once,.but.f |
1dee20 | 6f 72 20 73 6f 6d 65 20 6f 64 64 20 72 65 61 73 6f 6e 2c 0a 20 20 20 20 20 20 2f 2f 20 74 68 65 | or.some.odd.reason,.......//.the |
1dee40 | 20 65 64 69 74 61 62 6c 65 20 6d 6f 64 65 20 73 65 74 20 6f 6e 20 74 68 69 73 20 74 72 65 65 2c | .editable.mode.set.on.this.tree, |
1dee60 | 20 74 6f 67 65 74 68 65 72 20 77 69 74 68 20 69 74 73 20 63 6f 6c 6c 61 70 73 65 64 20 73 74 61 | .together.with.its.collapsed.sta |
1dee80 | 74 65 0a 20 20 20 20 20 20 2f 2f 20 62 72 65 61 6b 73 20 74 68 65 20 76 69 65 77 2e 0a 20 20 20 | te.......//.breaks.the.view..... |
1deea0 | 20 20 20 63 6f 6e 73 74 20 46 4f 4c 44 45 52 5f 54 52 45 45 5f 50 4c 41 43 45 5f 55 52 49 20 3d | ...const.FOLDER_TREE_PLACE_URI.= |
1deec0 | 0a 20 20 20 20 20 20 20 20 22 70 6c 61 63 65 3a 65 78 63 6c 75 64 65 49 74 65 6d 73 3d 31 26 65 | ........."place:excludeItems=1&e |
1deee0 | 78 63 6c 75 64 65 51 75 65 72 69 65 73 3d 31 26 65 78 63 6c 75 64 65 52 65 61 64 4f 6e 6c 79 46 | xcludeQueries=1&excludeReadOnlyF |
1def00 | 6f 6c 64 65 72 73 3d 31 26 66 6f 6c 64 65 72 3d 22 20 2b 0a 20 20 20 20 20 20 20 20 50 6c 61 63 | olders=1&folder=".+.........Plac |
1def20 | 65 73 55 49 55 74 69 6c 73 2e 61 6c 6c 42 6f 6f 6b 6d 61 72 6b 73 46 6f 6c 64 65 72 49 64 3b 0a | esUIUtils.allBookmarksFolderId;. |
1def40 | 20 20 20 20 20 20 74 68 69 73 2e 5f 66 6f 6c 64 65 72 54 72 65 65 2e 70 6c 61 63 65 20 3d 20 46 | ......this._folderTree.place.=.F |
1def60 | 4f 4c 44 45 52 5f 54 52 45 45 5f 50 4c 41 43 45 5f 55 52 49 3b 0a 0a 20 20 20 20 20 20 74 68 69 | OLDER_TREE_PLACE_URI;........thi |
1def80 | 73 2e 5f 65 6c 65 6d 65 6e 74 28 22 63 68 6f 6f 73 65 46 6f 6c 64 65 72 53 65 70 61 72 61 74 6f | s._element("chooseFolderSeparato |
1defa0 | 72 22 29 2e 68 69 64 64 65 6e 20 3d 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 65 6c 65 6d 65 | r").hidden.=.........this._eleme |
1defc0 | 6e 74 28 22 63 68 6f 6f 73 65 46 6f 6c 64 65 72 4d 65 6e 75 49 74 65 6d 22 29 2e 68 69 64 64 65 | nt("chooseFolderMenuItem").hidde |
1defe0 | 6e 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 76 61 72 20 63 75 72 72 65 6e 74 46 6f 6c 64 65 | n.=.true;.......var.currentFolde |
1df000 | 72 20 3d 20 74 68 69 73 2e 5f 67 65 74 46 6f 6c 64 65 72 49 64 46 72 6f 6d 4d 65 6e 75 4c 69 73 | r.=.this._getFolderIdFromMenuLis |
1df020 | 74 28 29 3b 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 66 6f 6c 64 65 72 54 72 65 65 2e 73 65 6c 65 | t();.......this._folderTree.sele |
1df040 | 63 74 49 74 65 6d 73 28 5b 63 75 72 72 65 6e 74 46 6f 6c 64 65 72 5d 29 3b 0a 20 20 20 20 20 20 | ctItems([currentFolder]);....... |
1df060 | 74 68 69 73 2e 5f 66 6f 6c 64 65 72 54 72 65 65 2e 66 6f 63 75 73 28 29 3b 0a 20 20 20 20 7d 0a | this._folderTree.focus();.....}. |
1df080 | 20 20 7d 2c 0a 0a 20 20 5f 67 65 74 46 6f 6c 64 65 72 49 64 46 72 6f 6d 4d 65 6e 75 4c 69 73 74 | ..},...._getFolderIdFromMenuList |
1df0a0 | 3a 0a 20 20 66 75 6e 63 74 69 6f 6e 20 45 49 4f 5f 5f 67 65 74 46 6f 6c 64 65 72 49 64 46 72 6f | :...function.EIO__getFolderIdFro |
1df0c0 | 6d 4d 65 6e 75 4c 69 73 74 28 29 20 7b 0a 20 20 20 20 76 61 72 20 73 65 6c 65 63 74 65 64 49 74 | mMenuList().{.....var.selectedIt |
1df0e0 | 65 6d 20 3d 20 74 68 69 73 2e 5f 66 6f 6c 64 65 72 4d 65 6e 75 4c 69 73 74 2e 73 65 6c 65 63 74 | em.=.this._folderMenuList.select |
1df100 | 65 64 49 74 65 6d 3b 0a 20 20 20 20 4e 53 5f 41 53 53 45 52 54 28 22 66 6f 6c 64 65 72 49 64 22 | edItem;.....NS_ASSERT("folderId" |
1df120 | 20 69 6e 20 73 65 6c 65 63 74 65 64 49 74 65 6d 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .in.selectedItem,............... |
1df140 | 22 49 6e 76 61 6c 69 64 20 6d 65 6e 75 69 74 65 6d 20 69 6e 20 74 68 65 20 66 6f 6c 64 65 72 73 | "Invalid.menuitem.in.the.folders |
1df160 | 2d 6d 65 6e 75 6c 69 73 74 22 29 3b 0a 20 20 20 20 72 65 74 75 72 6e 20 73 65 6c 65 63 74 65 64 | -menulist");.....return.selected |
1df180 | 49 74 65 6d 2e 66 6f 6c 64 65 72 49 64 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 | Item.folderId;...},..../**....*. |
1df1a0 | 47 65 74 20 74 68 65 20 63 6f 72 72 65 73 70 6f 6e 64 69 6e 67 20 6d 65 6e 75 2d 69 74 65 6d 20 | Get.the.corresponding.menu-item. |
1df1c0 | 69 6e 20 74 68 65 20 66 6f 6c 64 65 72 2d 6d 65 6e 75 2d 6c 69 73 74 20 66 6f 72 20 61 20 62 6f | in.the.folder-menu-list.for.a.bo |
1df1e0 | 6f 6b 6d 61 72 6b 73 0a 20 20 20 2a 20 66 6f 6c 64 65 72 20 69 66 20 73 75 63 68 20 61 6e 20 69 | okmarks....*.folder.if.such.an.i |
1df200 | 74 65 6d 20 65 78 69 73 74 73 2e 20 4f 74 68 65 72 77 69 73 65 2c 20 74 68 69 73 20 63 72 65 61 | tem.exists..Otherwise,.this.crea |
1df220 | 74 65 73 20 61 20 6d 65 6e 75 2d 69 74 65 6d 20 66 6f 72 20 74 68 65 0a 20 20 20 2a 20 66 6f 6c | tes.a.menu-item.for.the....*.fol |
1df240 | 64 65 72 2e 20 49 66 20 74 68 65 20 69 74 65 6d 73 2d 63 6f 75 6e 74 20 6c 69 6d 69 74 20 28 73 | der..If.the.items-count.limit.(s |
1df260 | 65 65 20 4d 41 58 5f 46 4f 4c 44 45 52 53 5f 49 4e 5f 4d 45 4e 55 5f 4c 49 53 54 29 20 69 73 20 | ee.MAX_FOLDERS_IN_MENU_LIST).is. |
1df280 | 72 65 61 63 68 65 64 2c 0a 20 20 20 2a 20 74 68 65 20 6e 65 77 20 69 74 65 6d 20 72 65 70 6c 61 | reached,....*.the.new.item.repla |
1df2a0 | 63 65 73 20 74 68 65 20 6c 61 73 74 20 6d 65 6e 75 2d 69 74 65 6d 2e 0a 20 20 20 2a 20 40 70 61 | ces.the.last.menu-item.....*.@pa |
1df2c0 | 72 61 6d 20 61 46 6f 6c 64 65 72 49 64 0a 20 20 20 2a 20 20 20 20 20 20 20 20 54 68 65 20 69 64 | ram.aFolderId....*........The.id |
1df2e0 | 65 6e 74 69 66 69 65 72 20 6f 66 20 74 68 65 20 62 6f 6f 6b 6d 61 72 6b 73 20 66 6f 6c 64 65 72 | entifier.of.the.bookmarks.folder |
1df300 | 2e 0a 20 20 20 2a 2f 0a 20 20 5f 67 65 74 46 6f 6c 64 65 72 4d 65 6e 75 49 74 65 6d 3a 0a 20 20 | .....*/..._getFolderMenuItem:... |
1df320 | 66 75 6e 63 74 69 6f 6e 20 45 49 4f 5f 5f 67 65 74 46 6f 6c 64 65 72 4d 65 6e 75 49 74 65 6d 28 | function.EIO__getFolderMenuItem( |
1df340 | 61 46 6f 6c 64 65 72 49 64 29 20 7b 0a 20 20 20 20 76 61 72 20 6d 65 6e 75 70 6f 70 75 70 20 3d | aFolderId).{.....var.menupopup.= |
1df360 | 20 74 68 69 73 2e 5f 66 6f 6c 64 65 72 4d 65 6e 75 4c 69 73 74 2e 6d 65 6e 75 70 6f 70 75 70 3b | .this._folderMenuList.menupopup; |
1df380 | 0a 0a 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 3d 30 3b 20 20 69 20 3c 20 6d 65 6e 75 70 6f 70 | ......for.(var.i=0;..i.<.menupop |
1df3a0 | 75 70 2e 63 68 69 6c 64 4e 6f 64 65 73 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 20 7b 0a 20 20 20 | up.childNodes.length;.i++).{.... |
1df3c0 | 20 20 20 69 66 20 28 6d 65 6e 75 70 6f 70 75 70 2e 63 68 69 6c 64 4e 6f 64 65 73 5b 69 5d 2e 66 | ...if.(menupopup.childNodes[i].f |
1df3e0 | 6f 6c 64 65 72 49 64 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 6d 65 6e 75 70 6f 70 75 70 2e 63 | olderId.&&...........menupopup.c |
1df400 | 68 69 6c 64 4e 6f 64 65 73 5b 69 5d 2e 66 6f 6c 64 65 72 49 64 20 3d 3d 20 61 46 6f 6c 64 65 72 | hildNodes[i].folderId.==.aFolder |
1df420 | 49 64 29 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 6d 65 6e 75 70 6f 70 75 70 2e 63 68 69 | Id).........return.menupopup.chi |
1df440 | 6c 64 4e 6f 64 65 73 5b 69 5d 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 2f 2f 20 33 20 73 70 65 63 | ldNodes[i];.....}......//.3.spec |
1df460 | 69 61 6c 20 66 6f 6c 64 65 72 73 20 2b 20 73 65 70 61 72 61 74 6f 72 20 2b 20 66 6f 6c 64 65 72 | ial.folders.+.separator.+.folder |
1df480 | 2d 69 74 65 6d 73 2d 63 6f 75 6e 74 20 6c 69 6d 69 74 0a 20 20 20 20 69 66 20 28 6d 65 6e 75 70 | -items-count.limit.....if.(menup |
1df4a0 | 6f 70 75 70 2e 63 68 69 6c 64 4e 6f 64 65 73 2e 6c 65 6e 67 74 68 20 3d 3d 20 34 20 2b 20 4d 41 | opup.childNodes.length.==.4.+.MA |
1df4c0 | 58 5f 46 4f 4c 44 45 52 5f 49 54 45 4d 5f 49 4e 5f 4d 45 4e 55 5f 4c 49 53 54 29 0a 20 20 20 20 | X_FOLDER_ITEM_IN_MENU_LIST)..... |
1df4e0 | 20 20 6d 65 6e 75 70 6f 70 75 70 2e 72 65 6d 6f 76 65 43 68 69 6c 64 28 6d 65 6e 75 70 6f 70 75 | ..menupopup.removeChild(menupopu |
1df500 | 70 2e 6c 61 73 74 43 68 69 6c 64 29 3b 0a 0a 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 2e 5f | p.lastChild);......return.this._ |
1df520 | 61 70 70 65 6e 64 46 6f 6c 64 65 72 49 74 65 6d 54 6f 4d 65 6e 75 70 6f 70 75 70 28 6d 65 6e 75 | appendFolderItemToMenupopup(menu |
1df540 | 70 6f 70 75 70 2c 20 61 46 6f 6c 64 65 72 49 64 29 3b 0a 20 20 7d 2c 0a 0a 20 20 6f 6e 46 6f 6c | popup,.aFolderId);...},....onFol |
1df560 | 64 65 72 4d 65 6e 75 4c 69 73 74 43 6f 6d 6d 61 6e 64 3a 20 66 75 6e 63 74 69 6f 6e 20 45 49 4f | derMenuListCommand:.function.EIO |
1df580 | 5f 6f 6e 46 6f 6c 64 65 72 4d 65 6e 75 4c 69 73 74 43 6f 6d 6d 61 6e 64 28 61 45 76 65 6e 74 29 | _onFolderMenuListCommand(aEvent) |
1df5a0 | 20 7b 0a 20 20 20 20 2f 2f 20 53 65 74 20 61 20 73 65 6c 65 63 74 65 64 49 6e 64 65 78 20 61 74 | .{.....//.Set.a.selectedIndex.at |
1df5c0 | 74 72 69 62 75 74 65 20 74 6f 20 73 68 6f 77 20 73 70 65 63 69 61 6c 20 69 63 6f 6e 73 0a 20 20 | tribute.to.show.special.icons... |
1df5e0 | 20 20 74 68 69 73 2e 5f 66 6f 6c 64 65 72 4d 65 6e 75 4c 69 73 74 2e 73 65 74 41 74 74 72 69 62 | ..this._folderMenuList.setAttrib |
1df600 | 75 74 65 28 22 73 65 6c 65 63 74 65 64 49 6e 64 65 78 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 | ute("selectedIndex",............ |
1df620 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e | ...........................this. |
1df640 | 5f 66 6f 6c 64 65 72 4d 65 6e 75 4c 69 73 74 2e 73 65 6c 65 63 74 65 64 49 6e 64 65 78 29 3b 0a | _folderMenuList.selectedIndex);. |
1df660 | 0a 20 20 20 20 69 66 20 28 61 45 76 65 6e 74 2e 74 61 72 67 65 74 2e 69 64 20 3d 3d 20 22 65 64 | .....if.(aEvent.target.id.==."ed |
1df680 | 69 74 42 4d 50 61 6e 65 6c 5f 63 68 6f 6f 73 65 46 6f 6c 64 65 72 4d 65 6e 75 49 74 65 6d 22 29 | itBMPanel_chooseFolderMenuItem") |
1df6a0 | 20 7b 0a 20 20 20 20 20 20 2f 2f 20 72 65 73 65 74 20 74 68 65 20 73 65 6c 65 63 74 69 6f 6e 20 | .{.......//.reset.the.selection. |
1df6c0 | 62 61 63 6b 20 74 6f 20 77 68 65 72 65 20 69 74 20 77 61 73 20 61 6e 64 20 65 78 70 61 6e 64 20 | back.to.where.it.was.and.expand. |
1df6e0 | 74 68 65 20 74 72 65 65 0a 20 20 20 20 20 20 2f 2f 20 28 74 68 69 73 20 6d 65 6e 75 2d 69 74 65 | the.tree.......//.(this.menu-ite |
1df700 | 6d 20 69 73 20 68 69 64 64 65 6e 20 77 68 65 6e 20 74 68 65 20 74 72 65 65 20 69 73 20 61 6c 72 | m.is.hidden.when.the.tree.is.alr |
1df720 | 65 61 64 79 20 76 69 73 69 62 6c 65 0a 20 20 20 20 20 20 76 61 72 20 63 6f 6e 74 61 69 6e 65 72 | eady.visible.......var.container |
1df740 | 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 62 6f 6f 6b 6d 61 72 6b 73 2e 67 65 74 46 6f 6c 64 | .=.PlacesUtils.bookmarks.getFold |
1df760 | 65 72 49 64 46 6f 72 49 74 65 6d 28 74 68 69 73 2e 5f 69 74 65 6d 49 64 29 3b 0a 20 20 20 20 20 | erIdForItem(this._itemId);...... |
1df780 | 20 76 61 72 20 69 74 65 6d 20 3d 20 74 68 69 73 2e 5f 67 65 74 46 6f 6c 64 65 72 4d 65 6e 75 49 | .var.item.=.this._getFolderMenuI |
1df7a0 | 74 65 6d 28 63 6f 6e 74 61 69 6e 65 72 29 3b 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 66 6f 6c 64 | tem(container);.......this._fold |
1df7c0 | 65 72 4d 65 6e 75 4c 69 73 74 2e 73 65 6c 65 63 74 65 64 49 74 65 6d 20 3d 20 69 74 65 6d 3b 0a | erMenuList.selectedItem.=.item;. |
1df7e0 | 20 20 20 20 20 20 2f 2f 20 58 58 58 6d 61 6e 6f 20 48 41 43 4b 3a 20 73 65 74 54 69 6d 65 6f 75 | ......//.XXXmano.HACK:.setTimeou |
1df800 | 74 20 31 30 30 2c 20 6f 74 68 65 72 77 69 73 65 20 66 6f 63 75 73 20 67 6f 65 73 20 62 61 63 6b | t.100,.otherwise.focus.goes.back |
1df820 | 20 74 6f 20 74 68 65 0a 20 20 20 20 20 20 2f 2f 20 6d 65 6e 75 6c 69 73 74 20 72 69 67 68 74 20 | .to.the.......//.menulist.right. |
1df840 | 61 77 61 79 0a 20 20 20 20 20 20 73 65 74 54 69 6d 65 6f 75 74 28 66 75 6e 63 74 69 6f 6e 28 73 | away.......setTimeout(function(s |
1df860 | 65 6c 66 29 20 73 65 6c 66 2e 74 6f 67 67 6c 65 46 6f 6c 64 65 72 54 72 65 65 56 69 73 69 62 69 | elf).self.toggleFolderTreeVisibi |
1df880 | 6c 69 74 79 28 29 2c 20 31 30 30 2c 20 74 68 69 73 29 3b 0a 20 20 20 20 20 20 72 65 74 75 72 6e | lity(),.100,.this);.......return |
1df8a0 | 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 2f 2f 20 4d 6f 76 65 20 74 68 65 20 69 74 65 6d 0a 20 20 | ;.....}......//.Move.the.item... |
1df8c0 | 20 20 76 61 72 20 63 6f 6e 74 61 69 6e 65 72 20 3d 20 74 68 69 73 2e 5f 67 65 74 46 6f 6c 64 65 | ..var.container.=.this._getFolde |
1df8e0 | 72 49 64 46 72 6f 6d 4d 65 6e 75 4c 69 73 74 28 29 3b 0a 20 20 20 20 69 66 20 28 50 6c 61 63 65 | rIdFromMenuList();.....if.(Place |
1df900 | 73 55 74 69 6c 73 2e 62 6f 6f 6b 6d 61 72 6b 73 2e 67 65 74 46 6f 6c 64 65 72 49 64 46 6f 72 49 | sUtils.bookmarks.getFolderIdForI |
1df920 | 74 65 6d 28 74 68 69 73 2e 5f 69 74 65 6d 49 64 29 20 21 3d 20 63 6f 6e 74 61 69 6e 65 72 29 20 | tem(this._itemId).!=.container). |
1df940 | 7b 0a 20 20 20 20 20 20 76 61 72 20 74 78 6e 20 3d 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e | {.......var.txn.=.PlacesUIUtils. |
1df960 | 70 74 6d 2e 6d 6f 76 65 49 74 65 6d 28 74 68 69 73 2e 5f 69 74 65 6d 49 64 2c 20 63 6f 6e 74 61 | ptm.moveItem(this._itemId,.conta |
1df980 | 69 6e 65 72 2c 20 2d 31 29 3b 0a 20 20 20 20 20 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 70 | iner,.-1);.......PlacesUIUtils.p |
1df9a0 | 74 6d 2e 64 6f 54 72 61 6e 73 61 63 74 69 6f 6e 28 74 78 6e 29 3b 0a 0a 20 20 20 20 20 20 2f 2f | tm.doTransaction(txn);........// |
1df9c0 | 20 4d 61 72 6b 20 74 68 65 20 63 6f 6e 74 61 69 6e 69 6e 67 20 66 6f 6c 64 65 72 20 61 73 20 72 | .Mark.the.containing.folder.as.r |
1df9e0 | 65 63 65 6e 74 6c 79 2d 75 73 65 64 20 69 66 20 69 74 20 69 73 6e 27 74 20 69 6e 20 74 68 65 0a | ecently-used.if.it.isn't.in.the. |
1dfa00 | 20 20 20 20 20 20 2f 2f 20 73 74 61 74 69 63 20 6c 69 73 74 0a 20 20 20 20 20 20 69 66 20 28 63 | ......//.static.list.......if.(c |
1dfa20 | 6f 6e 74 61 69 6e 65 72 20 21 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 75 6e 66 69 6c 65 64 42 | ontainer.!=.PlacesUtils.unfiledB |
1dfa40 | 6f 6f 6b 6d 61 72 6b 73 46 6f 6c 64 65 72 49 64 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 63 6f | ookmarksFolderId.&&...........co |
1dfa60 | 6e 74 61 69 6e 65 72 20 21 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 74 6f 6f 6c 62 61 72 46 6f | ntainer.!=.PlacesUtils.toolbarFo |
1dfa80 | 6c 64 65 72 49 64 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 63 6f 6e 74 61 69 6e 65 72 20 21 3d | lderId.&&...........container.!= |
1dfaa0 | 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 62 6f 6f 6b 6d 61 72 6b 73 4d 65 6e 75 46 6f 6c 64 65 72 | .PlacesUtils.bookmarksMenuFolder |
1dfac0 | 49 64 29 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 6d 61 72 6b 46 6f 6c 64 65 72 41 73 52 65 | Id).........this._markFolderAsRe |
1dfae0 | 63 65 6e 74 6c 79 55 73 65 64 28 63 6f 6e 74 61 69 6e 65 72 29 3b 0a 20 20 20 20 7d 0a 0a 20 20 | centlyUsed(container);.....}.... |
1dfb00 | 20 20 2f 2f 20 55 70 64 61 74 65 20 66 6f 6c 64 65 72 2d 74 72 65 65 20 73 65 6c 65 63 74 69 6f | ..//.Update.folder-tree.selectio |
1dfb20 | 6e 0a 20 20 20 20 76 61 72 20 66 6f 6c 64 65 72 54 72 65 65 52 6f 77 20 3d 20 74 68 69 73 2e 5f | n.....var.folderTreeRow.=.this._ |
1dfb40 | 65 6c 65 6d 65 6e 74 28 22 66 6f 6c 64 65 72 54 72 65 65 52 6f 77 22 29 3b 0a 20 20 20 20 69 66 | element("folderTreeRow");.....if |
1dfb60 | 20 28 21 66 6f 6c 64 65 72 54 72 65 65 52 6f 77 2e 63 6f 6c 6c 61 70 73 65 64 29 20 7b 0a 20 20 | .(!folderTreeRow.collapsed).{... |
1dfb80 | 20 20 20 20 76 61 72 20 73 65 6c 65 63 74 65 64 4e 6f 64 65 20 3d 20 74 68 69 73 2e 5f 66 6f 6c | ....var.selectedNode.=.this._fol |
1dfba0 | 64 65 72 54 72 65 65 2e 73 65 6c 65 63 74 65 64 4e 6f 64 65 3b 0a 20 20 20 20 20 20 69 66 20 28 | derTree.selectedNode;.......if.( |
1dfbc0 | 21 73 65 6c 65 63 74 65 64 4e 6f 64 65 20 7c 7c 0a 20 20 20 20 20 20 20 20 20 20 50 6c 61 63 65 | !selectedNode.||...........Place |
1dfbe0 | 73 55 74 69 6c 73 2e 67 65 74 43 6f 6e 63 72 65 74 65 49 74 65 6d 49 64 28 73 65 6c 65 63 74 65 | sUtils.getConcreteItemId(selecte |
1dfc00 | 64 4e 6f 64 65 29 20 21 3d 20 63 6f 6e 74 61 69 6e 65 72 29 0a 20 20 20 20 20 20 20 20 74 68 69 | dNode).!=.container).........thi |
1dfc20 | 73 2e 5f 66 6f 6c 64 65 72 54 72 65 65 2e 73 65 6c 65 63 74 49 74 65 6d 73 28 5b 63 6f 6e 74 61 | s._folderTree.selectItems([conta |
1dfc40 | 69 6e 65 72 5d 29 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 6f 6e 46 6f 6c 64 65 72 54 72 | iner]);.....}...},....onFolderTr |
1dfc60 | 65 65 53 65 6c 65 63 74 3a 20 66 75 6e 63 74 69 6f 6e 20 45 49 4f 5f 6f 6e 46 6f 6c 64 65 72 54 | eeSelect:.function.EIO_onFolderT |
1dfc80 | 72 65 65 53 65 6c 65 63 74 28 29 20 7b 0a 20 20 20 20 76 61 72 20 73 65 6c 65 63 74 65 64 4e 6f | reeSelect().{.....var.selectedNo |
1dfca0 | 64 65 20 3d 20 74 68 69 73 2e 5f 66 6f 6c 64 65 72 54 72 65 65 2e 73 65 6c 65 63 74 65 64 4e 6f | de.=.this._folderTree.selectedNo |
1dfcc0 | 64 65 3b 0a 0a 20 20 20 20 2f 2f 20 44 69 73 61 62 6c 65 20 74 68 65 20 22 4e 65 77 20 46 6f 6c | de;......//.Disable.the."New.Fol |
1dfce0 | 64 65 72 22 20 62 75 74 74 6f 6e 20 69 66 20 77 65 20 63 61 6e 6e 6f 74 20 63 72 65 61 74 65 20 | der".button.if.we.cannot.create. |
1dfd00 | 61 20 6e 65 77 20 66 6f 6c 64 65 72 0a 20 20 20 20 74 68 69 73 2e 5f 65 6c 65 6d 65 6e 74 28 22 | a.new.folder.....this._element(" |
1dfd20 | 6e 65 77 46 6f 6c 64 65 72 42 75 74 74 6f 6e 22 29 0a 20 20 20 20 20 20 20 20 2e 64 69 73 61 62 | newFolderButton")..........disab |
1dfd40 | 6c 65 64 20 3d 20 21 74 68 69 73 2e 5f 66 6f 6c 64 65 72 54 72 65 65 2e 69 6e 73 65 72 74 69 6f | led.=.!this._folderTree.insertio |
1dfd60 | 6e 50 6f 69 6e 74 20 7c 7c 20 21 73 65 6c 65 63 74 65 64 4e 6f 64 65 3b 0a 0a 20 20 20 20 69 66 | nPoint.||.!selectedNode;......if |
1dfd80 | 20 28 21 73 65 6c 65 63 74 65 64 4e 6f 64 65 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a | .(!selectedNode).......return;.. |
1dfda0 | 20 20 20 20 76 61 72 20 66 6f 6c 64 65 72 49 64 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 67 | ....var.folderId.=.PlacesUtils.g |
1dfdc0 | 65 74 43 6f 6e 63 72 65 74 65 49 74 65 6d 49 64 28 73 65 6c 65 63 74 65 64 4e 6f 64 65 29 3b 0a | etConcreteItemId(selectedNode);. |
1dfde0 | 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 67 65 74 46 6f 6c 64 65 72 49 64 46 72 6f 6d 4d 65 6e | ....if.(this._getFolderIdFromMen |
1dfe00 | 75 4c 69 73 74 28 29 20 3d 3d 20 66 6f 6c 64 65 72 49 64 29 0a 20 20 20 20 20 20 72 65 74 75 72 | uList().==.folderId).......retur |
1dfe20 | 6e 3b 0a 0a 20 20 20 20 76 61 72 20 66 6f 6c 64 65 72 49 74 65 6d 20 3d 20 74 68 69 73 2e 5f 67 | n;......var.folderItem.=.this._g |
1dfe40 | 65 74 46 6f 6c 64 65 72 4d 65 6e 75 49 74 65 6d 28 66 6f 6c 64 65 72 49 64 29 3b 0a 20 20 20 20 | etFolderMenuItem(folderId);..... |
1dfe60 | 74 68 69 73 2e 5f 66 6f 6c 64 65 72 4d 65 6e 75 4c 69 73 74 2e 73 65 6c 65 63 74 65 64 49 74 65 | this._folderMenuList.selectedIte |
1dfe80 | 6d 20 3d 20 66 6f 6c 64 65 72 49 74 65 6d 3b 0a 20 20 20 20 66 6f 6c 64 65 72 49 74 65 6d 2e 64 | m.=.folderItem;.....folderItem.d |
1dfea0 | 6f 43 6f 6d 6d 61 6e 64 28 29 3b 0a 20 20 7d 2c 0a 0a 20 20 5f 6d 61 72 6b 46 6f 6c 64 65 72 41 | oCommand();...},...._markFolderA |
1dfec0 | 73 52 65 63 65 6e 74 6c 79 55 73 65 64 3a 0a 20 20 66 75 6e 63 74 69 6f 6e 20 45 49 4f 5f 5f 6d | sRecentlyUsed:...function.EIO__m |
1dfee0 | 61 72 6b 46 6f 6c 64 65 72 41 73 52 65 63 65 6e 74 6c 79 55 73 65 64 28 61 46 6f 6c 64 65 72 49 | arkFolderAsRecentlyUsed(aFolderI |
1dff00 | 64 29 20 7b 0a 20 20 20 20 76 61 72 20 74 78 6e 73 20 3d 20 5b 5d 3b 0a 0a 20 20 20 20 2f 2f 20 | d).{.....var.txns.=.[];......//. |
1dff20 | 45 78 70 69 72 65 20 6f 6c 64 20 75 6e 75 73 65 64 20 72 65 63 65 6e 74 20 66 6f 6c 64 65 72 73 | Expire.old.unused.recent.folders |
1dff40 | 0a 20 20 20 20 76 61 72 20 61 6e 6e 6f 20 3d 20 74 68 69 73 2e 5f 67 65 74 4c 61 73 74 55 73 65 | .....var.anno.=.this._getLastUse |
1dff60 | 64 41 6e 6e 6f 74 61 74 69 6f 6e 4f 62 6a 65 63 74 28 66 61 6c 73 65 29 3b 0a 20 20 20 20 77 68 | dAnnotationObject(false);.....wh |
1dff80 | 69 6c 65 20 28 74 68 69 73 2e 5f 72 65 63 65 6e 74 46 6f 6c 64 65 72 73 2e 6c 65 6e 67 74 68 20 | ile.(this._recentFolders.length. |
1dffa0 | 3e 20 4d 41 58 5f 46 4f 4c 44 45 52 5f 49 54 45 4d 5f 49 4e 5f 4d 45 4e 55 5f 4c 49 53 54 29 20 | >.MAX_FOLDER_ITEM_IN_MENU_LIST). |
1dffc0 | 7b 0a 20 20 20 20 20 20 76 61 72 20 66 6f 6c 64 65 72 49 64 20 3d 20 74 68 69 73 2e 5f 72 65 63 | {.......var.folderId.=.this._rec |
1dffe0 | 65 6e 74 46 6f 6c 64 65 72 73 2e 70 6f 70 28 29 2e 66 6f 6c 64 65 72 49 64 3b 0a 20 20 20 20 20 | entFolders.pop().folderId;...... |
1e0000 | 20 74 78 6e 73 2e 70 75 73 68 28 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 70 74 6d 2e 73 65 74 | .txns.push(PlacesUIUtils.ptm.set |
1e0020 | 49 74 65 6d 41 6e 6e 6f 74 61 74 69 6f 6e 28 66 6f 6c 64 65 72 49 64 2c 20 61 6e 6e 6f 29 29 3b | ItemAnnotation(folderId,.anno)); |
1e0040 | 0a 20 20 20 20 7d 0a 0a 20 20 20 20 2f 2f 20 4d 61 72 6b 20 66 6f 6c 64 65 72 20 61 73 20 72 65 | .....}......//.Mark.folder.as.re |
1e0060 | 63 65 6e 74 6c 79 20 75 73 65 64 0a 20 20 20 20 61 6e 6e 6f 20 3d 20 74 68 69 73 2e 5f 67 65 74 | cently.used.....anno.=.this._get |
1e0080 | 4c 61 73 74 55 73 65 64 41 6e 6e 6f 74 61 74 69 6f 6e 4f 62 6a 65 63 74 28 74 72 75 65 29 3b 0a | LastUsedAnnotationObject(true);. |
1e00a0 | 20 20 20 20 74 78 6e 73 2e 70 75 73 68 28 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 70 74 6d 2e | ....txns.push(PlacesUIUtils.ptm. |
1e00c0 | 73 65 74 49 74 65 6d 41 6e 6e 6f 74 61 74 69 6f 6e 28 61 46 6f 6c 64 65 72 49 64 2c 20 61 6e 6e | setItemAnnotation(aFolderId,.ann |
1e00e0 | 6f 29 29 3b 0a 0a 20 20 20 20 76 61 72 20 61 67 67 72 65 67 61 74 65 20 3d 20 50 6c 61 63 65 73 | o));......var.aggregate.=.Places |
1e0100 | 55 49 55 74 69 6c 73 2e 70 74 6d 2e 61 67 67 72 65 67 61 74 65 54 72 61 6e 73 61 63 74 69 6f 6e | UIUtils.ptm.aggregateTransaction |
1e0120 | 73 28 22 55 70 64 61 74 65 20 6c 61 73 74 20 75 73 65 64 20 66 6f 6c 64 65 72 73 22 2c 20 74 78 | s("Update.last.used.folders",.tx |
1e0140 | 6e 73 29 3b 0a 20 20 20 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 70 74 6d 2e 64 6f 54 72 61 | ns);.....PlacesUIUtils.ptm.doTra |
1e0160 | 6e 73 61 63 74 69 6f 6e 28 61 67 67 72 65 67 61 74 65 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2a 2a | nsaction(aggregate);...},..../** |
1e0180 | 0a 20 20 20 2a 20 52 65 74 75 72 6e 73 20 61 6e 20 6f 62 6a 65 63 74 20 77 68 69 63 68 20 63 6f | ....*.Returns.an.object.which.co |
1e01a0 | 75 6c 64 20 74 68 65 6e 20 62 65 20 75 73 65 64 20 74 6f 20 73 65 74 2f 75 6e 73 65 74 20 74 68 | uld.then.be.used.to.set/unset.th |
1e01c0 | 65 0a 20 20 20 2a 20 4c 41 53 54 5f 55 53 45 44 5f 41 4e 4e 4f 20 61 6e 6e 6f 74 61 74 69 6f 6e | e....*.LAST_USED_ANNO.annotation |
1e01e0 | 20 66 6f 72 20 61 20 66 6f 6c 64 65 72 2e 0a 20 20 20 2a 0a 20 20 20 2a 20 40 70 61 72 61 6d 20 | .for.a.folder.....*....*.@param. |
1e0200 | 61 4c 61 73 74 55 73 65 64 0a 20 20 20 2a 20 20 20 20 20 20 20 20 57 68 65 74 68 65 72 20 74 6f | aLastUsed....*........Whether.to |
1e0220 | 20 73 65 74 20 6f 72 20 75 6e 73 65 74 20 74 68 65 20 4c 41 53 54 5f 55 53 45 44 5f 41 4e 4e 4f | .set.or.unset.the.LAST_USED_ANNO |
1e0240 | 20 61 6e 6e 6f 74 61 74 69 6f 6e 2e 0a 20 20 20 2a 20 40 72 65 74 75 72 6e 73 20 61 6e 20 6f 62 | .annotation.....*.@returns.an.ob |
1e0260 | 6a 65 63 74 20 72 65 70 72 65 73 65 6e 74 69 6e 67 20 74 68 65 20 61 6e 6e 6f 74 61 74 69 6f 6e | ject.representing.the.annotation |
1e0280 | 20 77 68 69 63 68 20 63 6f 75 6c 64 20 74 68 65 6e 20 62 65 20 75 73 65 64 0a 20 20 20 2a 20 20 | .which.could.then.be.used....*.. |
1e02a0 | 20 20 20 20 20 20 20 20 77 69 74 68 20 74 68 65 20 74 72 61 6e 73 61 63 74 69 6f 6e 20 6d 61 6e | ........with.the.transaction.man |
1e02c0 | 61 67 65 72 2e 0a 20 20 20 2a 2f 0a 20 20 5f 67 65 74 4c 61 73 74 55 73 65 64 41 6e 6e 6f 74 61 | ager.....*/..._getLastUsedAnnota |
1e02e0 | 74 69 6f 6e 4f 62 6a 65 63 74 3a 0a 20 20 66 75 6e 63 74 69 6f 6e 20 45 49 4f 5f 5f 67 65 74 4c | tionObject:...function.EIO__getL |
1e0300 | 61 73 74 55 73 65 64 41 6e 6e 6f 74 61 74 69 6f 6e 4f 62 6a 65 63 74 28 61 4c 61 73 74 55 73 65 | astUsedAnnotationObject(aLastUse |
1e0320 | 64 29 20 7b 0a 20 20 20 20 76 61 72 20 61 6e 6e 6f 20 3d 20 7b 20 6e 61 6d 65 3a 20 4c 41 53 54 | d).{.....var.anno.=.{.name:.LAST |
1e0340 | 5f 55 53 45 44 5f 41 4e 4e 4f 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 79 70 | _USED_ANNO,..................typ |
1e0360 | 65 3a 20 43 69 2e 6e 73 49 41 6e 6e 6f 74 61 74 69 6f 6e 53 65 72 76 69 63 65 2e 54 59 50 45 5f | e:.Ci.nsIAnnotationService.TYPE_ |
1e0380 | 49 4e 54 33 32 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 6c 61 67 73 3a 20 30 | INT32,..................flags:.0 |
1e03a0 | 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 6c 75 65 3a 20 61 4c 61 73 74 55 | ,..................value:.aLastU |
1e03c0 | 73 65 64 20 3f 20 6e 65 77 20 44 61 74 65 28 29 2e 67 65 74 54 69 6d 65 28 29 20 3a 20 6e 75 6c | sed.?.new.Date().getTime().:.nul |
1e03e0 | 6c 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 78 70 69 72 65 73 3a 20 43 69 2e | l,..................expires:.Ci. |
1e0400 | 6e 73 49 41 6e 6e 6f 74 61 74 69 6f 6e 53 65 72 76 69 63 65 2e 45 58 50 49 52 45 5f 4e 45 56 45 | nsIAnnotationService.EXPIRE_NEVE |
1e0420 | 52 20 7d 3b 0a 0a 20 20 20 20 72 65 74 75 72 6e 20 61 6e 6e 6f 3b 0a 20 20 7d 2c 0a 0a 20 20 5f | R.};......return.anno;...},...._ |
1e0440 | 72 65 62 75 69 6c 64 54 61 67 73 53 65 6c 65 63 74 6f 72 4c 69 73 74 3a 20 66 75 6e 63 74 69 6f | rebuildTagsSelectorList:.functio |
1e0460 | 6e 20 45 49 4f 5f 5f 72 65 62 75 69 6c 64 54 61 67 73 53 65 6c 65 63 74 6f 72 4c 69 73 74 28 29 | n.EIO__rebuildTagsSelectorList() |
1e0480 | 20 7b 0a 20 20 20 20 76 61 72 20 74 61 67 73 53 65 6c 65 63 74 6f 72 20 3d 20 74 68 69 73 2e 5f | .{.....var.tagsSelector.=.this._ |
1e04a0 | 65 6c 65 6d 65 6e 74 28 22 74 61 67 73 53 65 6c 65 63 74 6f 72 22 29 3b 0a 20 20 20 20 76 61 72 | element("tagsSelector");.....var |
1e04c0 | 20 74 61 67 73 53 65 6c 65 63 74 6f 72 52 6f 77 20 3d 20 74 68 69 73 2e 5f 65 6c 65 6d 65 6e 74 | .tagsSelectorRow.=.this._element |
1e04e0 | 28 22 74 61 67 73 53 65 6c 65 63 74 6f 72 52 6f 77 22 29 3b 0a 20 20 20 20 69 66 20 28 74 61 67 | ("tagsSelectorRow");.....if.(tag |
1e0500 | 73 53 65 6c 65 63 74 6f 72 52 6f 77 2e 63 6f 6c 6c 61 70 73 65 64 29 0a 20 20 20 20 20 20 72 65 | sSelectorRow.collapsed).......re |
1e0520 | 74 75 72 6e 3b 0a 0a 20 20 20 20 77 68 69 6c 65 20 28 74 61 67 73 53 65 6c 65 63 74 6f 72 2e 68 | turn;......while.(tagsSelector.h |
1e0540 | 61 73 43 68 69 6c 64 4e 6f 64 65 73 28 29 29 0a 20 20 20 20 20 20 74 61 67 73 53 65 6c 65 63 74 | asChildNodes()).......tagsSelect |
1e0560 | 6f 72 2e 72 65 6d 6f 76 65 43 68 69 6c 64 28 74 61 67 73 53 65 6c 65 63 74 6f 72 2e 6c 61 73 74 | or.removeChild(tagsSelector.last |
1e0580 | 43 68 69 6c 64 29 3b 0a 0a 20 20 20 20 76 61 72 20 74 61 67 73 49 6e 46 69 65 6c 64 20 3d 20 74 | Child);......var.tagsInField.=.t |
1e05a0 | 68 69 73 2e 5f 67 65 74 54 61 67 73 41 72 72 61 79 46 72 6f 6d 54 61 67 46 69 65 6c 64 28 29 3b | his._getTagsArrayFromTagField(); |
1e05c0 | 0a 20 20 20 20 76 61 72 20 61 6c 6c 54 61 67 73 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 74 | .....var.allTags.=.PlacesUtils.t |
1e05e0 | 61 67 67 69 6e 67 2e 61 6c 6c 54 61 67 73 3b 0a 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d | agging.allTags;.....for.(var.i.= |
1e0600 | 20 30 3b 20 69 20 3c 20 61 6c 6c 54 61 67 73 2e 6c 65 6e 67 74 68 3b 20 69 2b 2b 29 20 7b 0a 20 | .0;.i.<.allTags.length;.i++).{.. |
1e0620 | 20 20 20 20 20 76 61 72 20 74 61 67 20 3d 20 61 6c 6c 54 61 67 73 5b 69 5d 3b 0a 20 20 20 20 20 | .....var.tag.=.allTags[i];...... |
1e0640 | 20 76 61 72 20 65 6c 74 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 63 72 65 61 74 65 45 6c 65 6d 65 6e | .var.elt.=.document.createElemen |
1e0660 | 74 28 22 6c 69 73 74 69 74 65 6d 22 29 3b 0a 20 20 20 20 20 20 65 6c 74 2e 73 65 74 41 74 74 72 | t("listitem");.......elt.setAttr |
1e0680 | 69 62 75 74 65 28 22 74 79 70 65 22 2c 20 22 63 68 65 63 6b 62 6f 78 22 29 3b 0a 20 20 20 20 20 | ibute("type",."checkbox");...... |
1e06a0 | 20 65 6c 74 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 6c 61 62 65 6c 22 2c 20 74 61 67 29 3b | .elt.setAttribute("label",.tag); |
1e06c0 | 0a 20 20 20 20 20 20 69 66 20 28 74 61 67 73 49 6e 46 69 65 6c 64 2e 69 6e 64 65 78 4f 66 28 74 | .......if.(tagsInField.indexOf(t |
1e06e0 | 61 67 29 20 21 3d 20 2d 31 29 0a 20 20 20 20 20 20 20 20 65 6c 74 2e 73 65 74 41 74 74 72 69 62 | ag).!=.-1).........elt.setAttrib |
1e0700 | 75 74 65 28 22 63 68 65 63 6b 65 64 22 2c 20 22 74 72 75 65 22 29 3b 0a 0a 20 20 20 20 20 20 74 | ute("checked",."true");........t |
1e0720 | 61 67 73 53 65 6c 65 63 74 6f 72 2e 61 70 70 65 6e 64 43 68 69 6c 64 28 65 6c 74 29 3b 0a 20 20 | agsSelector.appendChild(elt);... |
1e0740 | 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 74 6f 67 67 6c 65 54 61 67 73 53 65 6c 65 63 74 6f 72 3a 20 | ..}...},....toggleTagsSelector:. |
1e0760 | 66 75 6e 63 74 69 6f 6e 20 45 49 4f 5f 74 6f 67 67 6c 65 54 61 67 73 53 65 6c 65 63 74 6f 72 28 | function.EIO_toggleTagsSelector( |
1e0780 | 29 20 7b 0a 20 20 20 20 76 61 72 20 74 61 67 73 53 65 6c 65 63 74 6f 72 20 3d 20 74 68 69 73 2e | ).{.....var.tagsSelector.=.this. |
1e07a0 | 5f 65 6c 65 6d 65 6e 74 28 22 74 61 67 73 53 65 6c 65 63 74 6f 72 22 29 3b 0a 20 20 20 20 76 61 | _element("tagsSelector");.....va |
1e07c0 | 72 20 74 61 67 73 53 65 6c 65 63 74 6f 72 52 6f 77 20 3d 20 74 68 69 73 2e 5f 65 6c 65 6d 65 6e | r.tagsSelectorRow.=.this._elemen |
1e07e0 | 74 28 22 74 61 67 73 53 65 6c 65 63 74 6f 72 52 6f 77 22 29 3b 0a 20 20 20 20 76 61 72 20 65 78 | t("tagsSelectorRow");.....var.ex |
1e0800 | 70 61 6e 64 65 72 20 3d 20 74 68 69 73 2e 5f 65 6c 65 6d 65 6e 74 28 22 74 61 67 73 53 65 6c 65 | pander.=.this._element("tagsSele |
1e0820 | 63 74 6f 72 45 78 70 61 6e 64 65 72 22 29 3b 0a 20 20 20 20 69 66 20 28 74 61 67 73 53 65 6c 65 | ctorExpander");.....if.(tagsSele |
1e0840 | 63 74 6f 72 52 6f 77 2e 63 6f 6c 6c 61 70 73 65 64 29 20 7b 0a 20 20 20 20 20 20 65 78 70 61 6e | ctorRow.collapsed).{.......expan |
1e0860 | 64 65 72 2e 63 6c 61 73 73 4e 61 6d 65 20 3d 20 22 65 78 70 61 6e 64 65 72 2d 75 70 22 3b 0a 20 | der.className.=."expander-up";.. |
1e0880 | 20 20 20 20 20 65 78 70 61 6e 64 65 72 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 74 6f 6f 6c | .....expander.setAttribute("tool |
1e08a0 | 74 69 70 74 65 78 74 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | tiptext",....................... |
1e08c0 | 20 20 20 20 20 20 65 78 70 61 6e 64 65 72 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 74 6f 6f | ......expander.getAttribute("too |
1e08e0 | 6c 74 69 70 74 65 78 74 75 70 22 29 29 3b 0a 20 20 20 20 20 20 74 61 67 73 53 65 6c 65 63 74 6f | ltiptextup"));.......tagsSelecto |
1e0900 | 72 52 6f 77 2e 63 6f 6c 6c 61 70 73 65 64 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 20 74 68 | rRow.collapsed.=.false;.......th |
1e0920 | 69 73 2e 5f 72 65 62 75 69 6c 64 54 61 67 73 53 65 6c 65 63 74 6f 72 4c 69 73 74 28 29 3b 0a 0a | is._rebuildTagsSelectorList();.. |
1e0940 | 20 20 20 20 20 20 2f 2f 20 54 68 69 73 20 69 73 20 61 20 6e 6f 2d 6f 70 20 69 66 20 77 65 27 76 | ......//.This.is.a.no-op.if.we'v |
1e0960 | 65 20 61 64 64 65 64 20 74 68 65 20 6c 69 73 74 65 6e 65 72 2e 0a 20 20 20 20 20 20 74 61 67 73 | e.added.the.listener........tags |
1e0980 | 53 65 6c 65 63 74 6f 72 2e 61 64 64 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 28 22 43 68 65 63 6b | Selector.addEventListener("Check |
1e09a0 | 62 6f 78 53 74 61 74 65 43 68 61 6e 67 65 22 2c 20 74 68 69 73 2c 20 66 61 6c 73 65 29 3b 0a 20 | boxStateChange",.this,.false);.. |
1e09c0 | 20 20 20 7d 0a 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 65 78 70 61 6e 64 65 72 2e 63 | ...}.....else.{.......expander.c |
1e09e0 | 6c 61 73 73 4e 61 6d 65 20 3d 20 22 65 78 70 61 6e 64 65 72 2d 64 6f 77 6e 22 3b 0a 20 20 20 20 | lassName.=."expander-down";..... |
1e0a00 | 20 20 65 78 70 61 6e 64 65 72 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 74 6f 6f 6c 74 69 70 | ..expander.setAttribute("tooltip |
1e0a20 | 74 65 78 74 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | text",.......................... |
1e0a40 | 20 20 20 65 78 70 61 6e 64 65 72 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 74 6f 6f 6c 74 69 | ...expander.getAttribute("toolti |
1e0a60 | 70 74 65 78 74 64 6f 77 6e 22 29 29 3b 0a 20 20 20 20 20 20 74 61 67 73 53 65 6c 65 63 74 6f 72 | ptextdown"));.......tagsSelector |
1e0a80 | 52 6f 77 2e 63 6f 6c 6c 61 70 73 65 64 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c | Row.collapsed.=.true;.....}...}, |
1e0aa0 | 0a 0a 20 20 5f 67 65 74 54 61 67 73 41 72 72 61 79 46 72 6f 6d 54 61 67 46 69 65 6c 64 3a 20 66 | ...._getTagsArrayFromTagField:.f |
1e0ac0 | 75 6e 63 74 69 6f 6e 20 45 49 4f 5f 5f 67 65 74 54 61 67 73 41 72 72 61 79 46 72 6f 6d 54 61 67 | unction.EIO__getTagsArrayFromTag |
1e0ae0 | 46 69 65 6c 64 28 29 20 7b 0a 20 20 20 20 2f 2f 20 77 65 20 64 6f 6e 27 74 20 72 65 71 75 69 72 | Field().{.....//.we.don't.requir |
1e0b00 | 65 20 74 68 65 20 6c 65 61 64 69 6e 67 20 73 70 61 63 65 20 28 61 66 74 65 72 20 65 61 63 68 20 | e.the.leading.space.(after.each. |
1e0b20 | 63 6f 6d 6d 61 29 0a 20 20 20 20 76 61 72 20 74 61 67 73 20 3d 20 74 68 69 73 2e 5f 65 6c 65 6d | comma).....var.tags.=.this._elem |
1e0b40 | 65 6e 74 28 22 74 61 67 73 46 69 65 6c 64 22 29 2e 76 61 6c 75 65 2e 73 70 6c 69 74 28 22 2c 22 | ent("tagsField").value.split("," |
1e0b60 | 29 3b 0a 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 3d 30 3b 20 69 20 3c 20 74 61 67 73 2e 6c 65 | );.....for.(var.i=0;.i.<.tags.le |
1e0b80 | 6e 67 74 68 3b 20 69 2b 2b 29 20 7b 0a 20 20 20 20 20 20 2f 2f 20 72 65 6d 6f 76 65 20 74 72 61 | ngth;.i++).{.......//.remove.tra |
1e0ba0 | 69 6c 69 6e 67 20 61 6e 64 20 6c 65 61 64 69 6e 67 20 73 70 61 63 65 73 0a 20 20 20 20 20 20 74 | iling.and.leading.spaces.......t |
1e0bc0 | 61 67 73 5b 69 5d 20 3d 20 74 61 67 73 5b 69 5d 2e 72 65 70 6c 61 63 65 28 2f 5e 5c 73 2b 2f 2c | ags[i].=.tags[i].replace(/^\s+/, |
1e0be0 | 20 22 22 29 2e 72 65 70 6c 61 63 65 28 2f 5c 73 2b 24 2f 2c 20 22 22 29 3b 0a 0a 20 20 20 20 20 | ."").replace(/\s+$/,."");....... |
1e0c00 | 20 2f 2f 20 72 65 6d 6f 76 65 20 65 6d 70 74 79 20 65 6e 74 72 69 65 73 20 66 72 6f 6d 20 74 68 | .//.remove.empty.entries.from.th |
1e0c20 | 65 20 61 72 72 61 79 2e 0a 20 20 20 20 20 20 69 66 20 28 74 61 67 73 5b 69 5d 20 3d 3d 20 22 22 | e.array........if.(tags[i].==."" |
1e0c40 | 29 20 7b 0a 20 20 20 20 20 20 20 20 74 61 67 73 2e 73 70 6c 69 63 65 28 69 2c 20 31 29 3b 0a 20 | ).{.........tags.splice(i,.1);.. |
1e0c60 | 20 20 20 20 20 20 20 69 2d 2d 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 20 20 20 20 72 65 | .......i--;.......}.....}.....re |
1e0c80 | 74 75 72 6e 20 74 61 67 73 3b 0a 20 20 7d 2c 0a 0a 20 20 6e 65 77 46 6f 6c 64 65 72 3a 20 66 75 | turn.tags;...},....newFolder:.fu |
1e0ca0 | 6e 63 74 69 6f 6e 20 45 49 4f 5f 6e 65 77 46 6f 6c 64 65 72 28 29 20 7b 0a 20 20 20 20 76 61 72 | nction.EIO_newFolder().{.....var |
1e0cc0 | 20 69 70 20 3d 20 74 68 69 73 2e 5f 66 6f 6c 64 65 72 54 72 65 65 2e 69 6e 73 65 72 74 69 6f 6e | .ip.=.this._folderTree.insertion |
1e0ce0 | 50 6f 69 6e 74 3b 0a 0a 20 20 20 20 2f 2f 20 64 65 66 61 75 6c 74 20 74 6f 20 74 68 65 20 62 6f | Point;......//.default.to.the.bo |
1e0d00 | 6f 6b 6d 61 72 6b 73 20 6d 65 6e 75 20 66 6f 6c 64 65 72 0a 20 20 20 20 69 66 20 28 21 69 70 20 | okmarks.menu.folder.....if.(!ip. |
1e0d20 | 7c 7c 20 69 70 2e 69 74 65 6d 49 64 20 3d 3d 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 61 6c | ||.ip.itemId.==.PlacesUIUtils.al |
1e0d40 | 6c 42 6f 6f 6b 6d 61 72 6b 73 46 6f 6c 64 65 72 49 64 29 20 7b 0a 20 20 20 20 20 20 20 20 69 70 | lBookmarksFolderId).{.........ip |
1e0d60 | 20 3d 20 6e 65 77 20 49 6e 73 65 72 74 69 6f 6e 50 6f 69 6e 74 28 50 6c 61 63 65 73 55 74 69 6c | .=.new.InsertionPoint(PlacesUtil |
1e0d80 | 73 2e 62 6f 6f 6b 6d 61 72 6b 73 4d 65 6e 75 46 6f 6c 64 65 72 49 64 2c 0a 20 20 20 20 20 20 20 | s.bookmarksMenuFolderId,........ |
1e0da0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 55 | .........................PlacesU |
1e0dc0 | 74 69 6c 73 2e 62 6f 6f 6b 6d 61 72 6b 73 2e 44 45 46 41 55 4c 54 5f 49 4e 44 45 58 2c 0a 20 20 | tils.bookmarks.DEFAULT_INDEX,... |
1e0de0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 43 69 | ..............................Ci |
1e0e00 | 2e 6e 73 49 54 72 65 65 56 69 65 77 2e 44 52 4f 50 5f 4f 4e 29 3b 0a 20 20 20 20 7d 0a 0a 20 20 | .nsITreeView.DROP_ON);.....}.... |
1e0e20 | 20 20 2f 2f 20 58 58 58 6d 61 6e 6f 3a 20 61 64 64 20 61 20 73 65 70 61 72 61 74 65 20 22 4e 65 | ..//.XXXmano:.add.a.separate."Ne |
1e0e40 | 77 20 46 6f 6c 64 65 72 22 20 73 74 72 69 6e 67 20 61 74 20 73 6f 6d 65 20 70 6f 69 6e 74 2e 2e | w.Folder".string.at.some.point.. |
1e0e60 | 2e 0a 20 20 20 20 76 61 72 20 64 65 66 61 75 6c 74 4c 61 62 65 6c 20 3d 20 74 68 69 73 2e 5f 65 | ......var.defaultLabel.=.this._e |
1e0e80 | 6c 65 6d 65 6e 74 28 22 6e 65 77 46 6f 6c 64 65 72 42 75 74 74 6f 6e 22 29 2e 6c 61 62 65 6c 3b | lement("newFolderButton").label; |
1e0ea0 | 0a 20 20 20 20 76 61 72 20 74 78 6e 20 3d 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 70 74 6d | .....var.txn.=.PlacesUIUtils.ptm |
1e0ec0 | 2e 63 72 65 61 74 65 46 6f 6c 64 65 72 28 64 65 66 61 75 6c 74 4c 61 62 65 6c 2c 20 69 70 2e 69 | .createFolder(defaultLabel,.ip.i |
1e0ee0 | 74 65 6d 49 64 2c 20 69 70 2e 69 6e 64 65 78 29 3b 0a 20 20 20 20 50 6c 61 63 65 73 55 49 55 74 | temId,.ip.index);.....PlacesUIUt |
1e0f00 | 69 6c 73 2e 70 74 6d 2e 64 6f 54 72 61 6e 73 61 63 74 69 6f 6e 28 74 78 6e 29 3b 0a 20 20 20 20 | ils.ptm.doTransaction(txn);..... |
1e0f20 | 74 68 69 73 2e 5f 66 6f 6c 64 65 72 54 72 65 65 2e 66 6f 63 75 73 28 29 3b 0a 20 20 20 20 74 68 | this._folderTree.focus();.....th |
1e0f40 | 69 73 2e 5f 66 6f 6c 64 65 72 54 72 65 65 2e 73 65 6c 65 63 74 49 74 65 6d 73 28 5b 74 68 69 73 | is._folderTree.selectItems([this |
1e0f60 | 2e 5f 6c 61 73 74 4e 65 77 49 74 65 6d 5d 29 3b 0a 20 20 20 20 74 68 69 73 2e 5f 66 6f 6c 64 65 | ._lastNewItem]);.....this._folde |
1e0f80 | 72 54 72 65 65 2e 73 74 61 72 74 45 64 69 74 69 6e 67 28 74 68 69 73 2e 5f 66 6f 6c 64 65 72 54 | rTree.startEditing(this._folderT |
1e0fa0 | 72 65 65 2e 76 69 65 77 2e 73 65 6c 65 63 74 69 6f 6e 2e 63 75 72 72 65 6e 74 49 6e 64 65 78 2c | ree.view.selection.currentIndex, |
1e0fc0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
1e0fe0 | 20 20 20 74 68 69 73 2e 5f 66 6f 6c 64 65 72 54 72 65 65 2e 63 6f 6c 75 6d 6e 73 2e 67 65 74 46 | ...this._folderTree.columns.getF |
1e1000 | 69 72 73 74 43 6f 6c 75 6d 6e 28 29 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2f 20 6e 73 49 44 4f 4d | irstColumn());...},....//.nsIDOM |
1e1020 | 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 0a 20 20 68 61 6e 64 6c 65 45 76 65 6e 74 3a 20 66 75 6e | EventListener...handleEvent:.fun |
1e1040 | 63 74 69 6f 6e 20 45 49 4f 5f 6e 73 49 44 4f 4d 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 28 61 45 | ction.EIO_nsIDOMEventListener(aE |
1e1060 | 76 65 6e 74 29 20 7b 0a 20 20 20 20 73 77 69 74 63 68 20 28 61 45 76 65 6e 74 2e 74 79 70 65 29 | vent).{.....switch.(aEvent.type) |
1e1080 | 20 7b 0a 20 20 20 20 63 61 73 65 20 22 43 68 65 63 6b 62 6f 78 53 74 61 74 65 43 68 61 6e 67 65 | .{.....case."CheckboxStateChange |
1e10a0 | 22 3a 0a 20 20 20 20 20 20 2f 2f 20 55 70 64 61 74 65 20 74 68 65 20 74 61 67 73 20 66 69 65 6c | ":.......//.Update.the.tags.fiel |
1e10c0 | 64 20 77 68 65 6e 20 69 74 65 6d 73 20 61 72 65 20 63 68 65 63 6b 65 64 2f 75 6e 63 68 65 63 6b | d.when.items.are.checked/uncheck |
1e10e0 | 65 64 20 69 6e 20 74 68 65 20 6c 69 73 74 62 6f 78 0a 20 20 20 20 20 20 76 61 72 20 74 61 67 73 | ed.in.the.listbox.......var.tags |
1e1100 | 20 3d 20 74 68 69 73 2e 5f 67 65 74 54 61 67 73 41 72 72 61 79 46 72 6f 6d 54 61 67 46 69 65 6c | .=.this._getTagsArrayFromTagFiel |
1e1120 | 64 28 29 3b 0a 0a 20 20 20 20 20 20 69 66 20 28 61 45 76 65 6e 74 2e 74 61 72 67 65 74 2e 63 68 | d();........if.(aEvent.target.ch |
1e1140 | 65 63 6b 65 64 29 20 7b 0a 20 20 20 20 20 20 20 20 69 66 20 28 74 61 67 73 2e 69 6e 64 65 78 4f | ecked).{.........if.(tags.indexO |
1e1160 | 66 28 61 45 76 65 6e 74 2e 74 61 72 67 65 74 2e 6c 61 62 65 6c 29 20 3d 3d 20 2d 31 29 0a 20 20 | f(aEvent.target.label).==.-1)... |
1e1180 | 20 20 20 20 20 20 20 20 74 61 67 73 2e 70 75 73 68 28 61 45 76 65 6e 74 2e 74 61 72 67 65 74 2e | ........tags.push(aEvent.target. |
1e11a0 | 6c 61 62 65 6c 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 | label);.......}.......else.{.... |
1e11c0 | 20 20 20 20 20 76 61 72 20 69 6e 64 65 78 4f 66 49 74 65 6d 20 3d 20 74 61 67 73 2e 69 6e 64 65 | .....var.indexOfItem.=.tags.inde |
1e11e0 | 78 4f 66 28 61 45 76 65 6e 74 2e 74 61 72 67 65 74 2e 6c 61 62 65 6c 29 3b 0a 20 20 20 20 20 20 | xOf(aEvent.target.label);....... |
1e1200 | 20 20 69 66 20 28 69 6e 64 65 78 4f 66 49 74 65 6d 20 21 3d 20 2d 31 29 0a 20 20 20 20 20 20 20 | ..if.(indexOfItem.!=.-1)........ |
1e1220 | 20 20 20 74 61 67 73 2e 73 70 6c 69 63 65 28 69 6e 64 65 78 4f 66 49 74 65 6d 2c 20 31 29 3b 0a | ...tags.splice(indexOfItem,.1);. |
1e1240 | 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 65 6c 65 6d 65 6e 74 28 22 74 61 67 | ......}.......this._element("tag |
1e1260 | 73 46 69 65 6c 64 22 29 2e 76 61 6c 75 65 20 3d 20 74 61 67 73 2e 6a 6f 69 6e 28 22 2c 20 22 29 | sField").value.=.tags.join(",.") |
1e1280 | 3b 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 75 70 64 61 74 65 54 61 67 73 28 29 3b 0a 20 20 20 20 | ;.......this._updateTags();..... |
1e12a0 | 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 63 61 73 65 20 22 75 6e 6c 6f 61 64 22 3a 0a 20 20 20 20 | ..break;.....case."unload":..... |
1e12c0 | 20 20 74 68 69 73 2e 75 6e 69 6e 69 74 50 61 6e 65 6c 28 66 61 6c 73 65 29 3b 0a 20 20 20 20 20 | ..this.uninitPanel(false);...... |
1e12e0 | 20 62 72 65 61 6b 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 2f 2f 20 6e 73 49 4e 61 76 42 | .break;.....}...},....//.nsINavB |
1e1300 | 6f 6f 6b 6d 61 72 6b 4f 62 73 65 72 76 65 72 0a 20 20 6f 6e 49 74 65 6d 43 68 61 6e 67 65 64 3a | ookmarkObserver...onItemChanged: |
1e1320 | 20 66 75 6e 63 74 69 6f 6e 20 45 49 4f 5f 6f 6e 49 74 65 6d 43 68 61 6e 67 65 64 28 61 49 74 65 | .function.EIO_onItemChanged(aIte |
1e1340 | 6d 49 64 2c 20 61 50 72 6f 70 65 72 74 79 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | mId,.aProperty,................. |
1e1360 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 49 73 41 | ............................aIsA |
1e1380 | 6e 6e 6f 74 61 74 69 6f 6e 50 72 6f 70 65 72 74 79 2c 20 61 56 61 6c 75 65 29 20 7b 0a 20 20 20 | nnotationProperty,.aValue).{.... |
1e13a0 | 20 69 66 20 28 74 68 69 73 2e 5f 69 74 65 6d 49 64 20 21 3d 20 61 49 74 65 6d 49 64 29 20 7b 0a | .if.(this._itemId.!=.aItemId).{. |
1e13c0 | 20 20 20 20 20 20 69 66 20 28 61 50 72 6f 70 65 72 74 79 20 3d 3d 20 22 74 69 74 6c 65 22 29 20 | ......if.(aProperty.==."title"). |
1e13e0 | 7b 0a 20 20 20 20 20 20 20 20 2f 2f 20 49 66 20 74 68 65 20 74 69 74 6c 65 20 6f 66 20 61 20 66 | {.........//.If.the.title.of.a.f |
1e1400 | 6f 6c 64 65 72 20 77 68 69 63 68 20 69 73 20 6c 69 73 74 65 64 20 77 69 74 68 69 6e 20 74 68 65 | older.which.is.listed.within.the |
1e1420 | 20 66 6f 6c 64 65 72 73 0a 20 20 20 20 20 20 20 20 2f 2f 20 6d 65 6e 75 6c 69 73 74 20 68 61 73 | .folders.........//.menulist.has |
1e1440 | 20 62 65 65 6e 20 63 68 61 6e 67 65 64 2c 20 77 65 20 6e 65 65 64 20 74 6f 20 75 70 64 61 74 65 | .been.changed,.we.need.to.update |
1e1460 | 20 74 68 65 20 6c 61 62 65 6c 20 6f 66 20 69 74 73 0a 20 20 20 20 20 20 20 20 2f 2f 20 72 65 70 | .the.label.of.its.........//.rep |
1e1480 | 72 65 73 65 6e 74 69 6e 67 20 65 6c 65 6d 65 6e 74 2e 0a 20 20 20 20 20 20 20 20 76 61 72 20 6d | resenting.element..........var.m |
1e14a0 | 65 6e 75 70 6f 70 75 70 20 3d 20 74 68 69 73 2e 5f 66 6f 6c 64 65 72 4d 65 6e 75 4c 69 73 74 2e | enupopup.=.this._folderMenuList. |
1e14c0 | 6d 65 6e 75 70 6f 70 75 70 3b 0a 20 20 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 3d 30 3b | menupopup;.........for.(var.i=0; |
1e14e0 | 20 69 20 3c 20 6d 65 6e 75 70 6f 70 75 70 2e 63 68 69 6c 64 4e 6f 64 65 73 2e 6c 65 6e 67 74 68 | .i.<.menupopup.childNodes.length |
1e1500 | 3b 20 69 2b 2b 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 28 6d 65 6e 75 70 6f 70 75 70 | ;.i++).{...........if.(menupopup |
1e1520 | 2e 63 68 69 6c 64 4e 6f 64 65 73 5b 69 5d 2e 66 6f 6c 64 65 72 49 64 20 3d 3d 20 61 49 74 65 6d | .childNodes[i].folderId.==.aItem |
1e1540 | 49 64 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 65 6e 75 70 6f 70 75 70 2e 63 68 69 6c | Id).{.............menupopup.chil |
1e1560 | 64 4e 6f 64 65 73 5b 69 5d 2e 6c 61 62 65 6c 20 3d 20 61 56 61 6c 75 65 3b 0a 20 20 20 20 20 20 | dNodes[i].label.=.aValue;....... |
1e1580 | 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 | ......break;...........}........ |
1e15a0 | 20 7d 0a 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 20 20 7d 0a | .}.......}........return;.....}. |
1e15c0 | 0a 20 20 20 20 73 77 69 74 63 68 20 28 61 50 72 6f 70 65 72 74 79 29 20 7b 0a 20 20 20 20 63 61 | .....switch.(aProperty).{.....ca |
1e15e0 | 73 65 20 22 74 69 74 6c 65 22 3a 0a 20 20 20 20 20 20 69 66 20 28 50 6c 61 63 65 73 55 74 69 6c | se."title":.......if.(PlacesUtil |
1e1600 | 73 2e 61 6e 6e 6f 74 61 74 69 6f 6e 73 2e 69 74 65 6d 48 61 73 41 6e 6e 6f 74 61 74 69 6f 6e 28 | s.annotations.itemHasAnnotation( |
1e1620 | 74 68 69 73 2e 5f 69 74 65 6d 49 64 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | this._itemId,................... |
1e1640 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
1e1660 | 20 20 53 54 41 54 49 43 5f 54 49 54 4c 45 5f 41 4e 4e 4f 29 29 0a 20 20 20 20 20 20 20 20 72 65 | ..STATIC_TITLE_ANNO)).........re |
1e1680 | 74 75 72 6e 3b 20 20 2f 2f 20 6f 6e 43 6f 6e 74 65 6e 74 4c 6f 61 64 65 64 20 75 70 64 61 74 65 | turn;..//.onContentLoaded.update |
1e16a0 | 73 20 6d 69 63 72 6f 73 75 6d 6d 61 72 79 2d 69 74 65 6d 73 0a 0a 20 20 20 20 20 20 76 61 72 20 | s.microsummary-items........var. |
1e16c0 | 75 73 65 72 45 6e 74 65 72 65 64 4e 61 6d 65 46 69 65 6c 64 20 3d 20 74 68 69 73 2e 5f 65 6c 65 | userEnteredNameField.=.this._ele |
1e16e0 | 6d 65 6e 74 28 22 75 73 65 72 45 6e 74 65 72 65 64 4e 61 6d 65 22 29 3b 0a 20 20 20 20 20 20 69 | ment("userEnteredName");.......i |
1e1700 | 66 20 28 75 73 65 72 45 6e 74 65 72 65 64 4e 61 6d 65 46 69 65 6c 64 2e 76 61 6c 75 65 20 21 3d | f.(userEnteredNameField.value.!= |
1e1720 | 20 61 56 61 6c 75 65 29 20 7b 0a 20 20 20 20 20 20 20 20 75 73 65 72 45 6e 74 65 72 65 64 4e 61 | .aValue).{.........userEnteredNa |
1e1740 | 6d 65 46 69 65 6c 64 2e 76 61 6c 75 65 20 3d 20 61 56 61 6c 75 65 3b 0a 20 20 20 20 20 20 20 20 | meField.value.=.aValue;......... |
1e1760 | 76 61 72 20 6e 61 6d 65 50 69 63 6b 65 72 20 3d 20 74 68 69 73 2e 5f 65 6c 65 6d 65 6e 74 28 22 | var.namePicker.=.this._element(" |
1e1780 | 6e 61 6d 65 50 69 63 6b 65 72 22 29 3b 0a 20 20 20 20 20 20 20 20 69 66 20 28 6e 61 6d 65 50 69 | namePicker");.........if.(namePi |
1e17a0 | 63 6b 65 72 2e 73 65 6c 65 63 74 65 64 49 74 65 6d 20 3d 3d 20 75 73 65 72 45 6e 74 65 72 65 64 | cker.selectedItem.==.userEntered |
1e17c0 | 4e 61 6d 65 46 69 65 6c 64 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 6e 61 6d 65 50 69 63 6b 65 | NameField).{...........namePicke |
1e17e0 | 72 2e 6c 61 62 65 6c 20 3d 20 61 56 61 6c 75 65 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 | r.label.=.aValue;............//. |
1e1800 | 63 6c 65 61 72 20 75 6e 64 6f 20 73 74 61 63 6b 0a 20 20 20 20 20 20 20 20 20 20 6e 61 6d 65 50 | clear.undo.stack...........nameP |
1e1820 | 69 63 6b 65 72 2e 65 64 69 74 6f 72 2e 74 72 61 6e 73 61 63 74 69 6f 6e 4d 61 6e 61 67 65 72 2e | icker.editor.transactionManager. |
1e1840 | 63 6c 65 61 72 28 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 | clear();.........}.......}...... |
1e1860 | 20 62 72 65 61 6b 3b 0a 20 20 20 20 63 61 73 65 20 22 75 72 69 22 3a 0a 20 20 20 20 20 20 76 61 | .break;.....case."uri":.......va |
1e1880 | 72 20 6c 6f 63 61 74 69 6f 6e 46 69 65 6c 64 20 3d 20 74 68 69 73 2e 5f 65 6c 65 6d 65 6e 74 28 | r.locationField.=.this._element( |
1e18a0 | 22 6c 6f 63 61 74 69 6f 6e 46 69 65 6c 64 22 29 3b 0a 20 20 20 20 20 20 69 66 20 28 6c 6f 63 61 | "locationField");.......if.(loca |
1e18c0 | 74 69 6f 6e 46 69 65 6c 64 2e 76 61 6c 75 65 20 21 3d 20 61 56 61 6c 75 65 29 20 7b 0a 20 20 20 | tionField.value.!=.aValue).{.... |
1e18e0 | 20 20 20 20 20 74 68 69 73 2e 5f 75 72 69 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 | .....this._uri.=.Cc["@mozilla.or |
1e1900 | 67 2f 6e 65 74 77 6f 72 6b 2f 69 6f 2d 73 65 72 76 69 63 65 3b 31 22 5d 2e 0a 20 20 20 20 20 20 | g/network/io-service;1"]........ |
1e1920 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 49 | ..............getService(Ci.nsII |
1e1940 | 4f 53 65 72 76 69 63 65 29 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e | OService)......................n |
1e1960 | 65 77 55 52 49 28 61 56 61 6c 75 65 2c 20 6e 75 6c 6c 2c 20 6e 75 6c 6c 29 3b 0a 20 20 20 20 20 | ewURI(aValue,.null,.null);...... |
1e1980 | 20 20 20 74 68 69 73 2e 5f 69 6e 69 74 54 65 78 74 46 69 65 6c 64 28 22 6c 6f 63 61 74 69 6f 6e | ...this._initTextField("location |
1e19a0 | 46 69 65 6c 64 22 2c 20 74 68 69 73 2e 5f 75 72 69 2e 73 70 65 63 29 3b 0a 20 20 20 20 20 20 20 | Field",.this._uri.spec);........ |
1e19c0 | 20 74 68 69 73 2e 5f 69 6e 69 74 4e 61 6d 65 50 69 63 6b 65 72 28 29 3b 20 2f 2f 20 66 6f 72 20 | .this._initNamePicker();.//.for. |
1e19e0 | 6d 69 63 72 6f 73 75 6d 6d 61 72 69 65 73 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 69 6e 69 | microsummaries.........this._ini |
1e1a00 | 74 54 65 78 74 46 69 65 6c 64 28 22 74 61 67 73 46 69 65 6c 64 22 2c 0a 20 20 20 20 20 20 20 20 | tTextField("tagsField",......... |
1e1a20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 55 74 69 6c 73 | .....................PlacesUtils |
1e1a40 | 2e 74 61 67 67 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .tagging........................ |
1e1a60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 54 61 67 73 46 6f 72 55 52 49 28 | ..................getTagsForURI( |
1e1a80 | 74 68 69 73 2e 5f 75 72 69 2c 20 7b 20 7d 29 2e 6a 6f 69 6e 28 22 2c 20 22 29 2c 0a 20 20 20 20 | this._uri,.{.}).join(",."),..... |
1e1aa0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 61 6c 73 65 29 3b 0a | ........................false);. |
1e1ac0 | 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 72 65 62 75 69 6c 64 54 61 67 73 53 65 6c 65 63 74 6f | ........this._rebuildTagsSelecto |
1e1ae0 | 72 4c 69 73 74 28 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 | rList();.......}.......break;... |
1e1b00 | 20 20 63 61 73 65 20 22 6b 65 79 77 6f 72 64 22 3a 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 69 6e | ..case."keyword":.......this._in |
1e1b20 | 69 74 54 65 78 74 46 69 65 6c 64 28 22 6b 65 79 77 6f 72 64 46 69 65 6c 64 22 2c 0a 20 20 20 20 | itTextField("keywordField",..... |
1e1b40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 55 74 69 6c | ......................PlacesUtil |
1e1b60 | 73 2e 62 6f 6f 6b 6d 61 72 6b 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | s.bookmarks..................... |
1e1b80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 4b 65 79 77 6f 72 64 46 6f 72 42 | ..................getKeywordForB |
1e1ba0 | 6f 6f 6b 6d 61 72 6b 28 74 68 69 73 2e 5f 69 74 65 6d 49 64 29 29 3b 0a 20 20 20 20 20 20 62 72 | ookmark(this._itemId));.......br |
1e1bc0 | 65 61 6b 3b 0a 20 20 20 20 63 61 73 65 20 44 45 53 43 52 49 50 54 49 4f 4e 5f 41 4e 4e 4f 3a 0a | eak;.....case.DESCRIPTION_ANNO:. |
1e1be0 | 20 20 20 20 20 20 74 68 69 73 2e 5f 69 6e 69 74 54 65 78 74 46 69 65 6c 64 28 22 64 65 73 63 72 | ......this._initTextField("descr |
1e1c00 | 69 70 74 69 6f 6e 46 69 65 6c 64 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | iptionField",................... |
1e1c20 | 20 20 20 20 20 20 20 20 50 6c 61 63 65 73 55 49 55 74 69 6c 73 2e 67 65 74 49 74 65 6d 44 65 73 | ........PlacesUIUtils.getItemDes |
1e1c40 | 63 72 69 70 74 69 6f 6e 28 74 68 69 73 2e 5f 69 74 65 6d 49 64 29 29 3b 0a 20 20 20 20 20 20 62 | cription(this._itemId));.......b |
1e1c60 | 72 65 61 6b 3b 0a 20 20 20 20 63 61 73 65 20 4c 4f 41 44 5f 49 4e 5f 53 49 44 45 42 41 52 5f 41 | reak;.....case.LOAD_IN_SIDEBAR_A |
1e1c80 | 4e 4e 4f 3a 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 65 6c 65 6d 65 6e 74 28 22 6c 6f 61 64 49 6e | NNO:.......this._element("loadIn |
1e1ca0 | 53 69 64 65 62 61 72 43 68 65 63 6b 62 6f 78 22 29 2e 63 68 65 63 6b 65 64 20 3d 0a 20 20 20 20 | SidebarCheckbox").checked.=..... |
1e1cc0 | 20 20 20 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 61 6e 6e 6f 74 61 74 69 6f 6e 73 2e 69 74 65 6d | ....PlacesUtils.annotations.item |
1e1ce0 | 48 61 73 41 6e 6e 6f 74 61 74 69 6f 6e 28 74 68 69 73 2e 5f 69 74 65 6d 49 64 2c 0a 20 20 20 20 | HasAnnotation(this._itemId,..... |
1e1d00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
1e1d20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 4c 4f 41 44 5f 49 4e 5f 53 49 44 45 42 41 52 5f 41 4e | ..............LOAD_IN_SIDEBAR_AN |
1e1d40 | 4e 4f 29 3b 0a 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 63 61 73 65 20 4c 4d 41 4e 4e | NO);.......break;.....case.LMANN |
1e1d60 | 4f 5f 46 45 45 44 55 52 49 3a 0a 20 20 20 20 20 20 76 61 72 20 66 65 65 64 55 52 49 53 70 65 63 | O_FEEDURI:.......var.feedURISpec |
1e1d80 | 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 6c 69 76 65 6d 61 72 6b 73 2e 67 65 74 46 65 65 64 | .=.PlacesUtils.livemarks.getFeed |
1e1da0 | 55 52 49 28 74 68 69 73 2e 5f 69 74 65 6d 49 64 29 2e 73 70 65 63 3b 0a 20 20 20 20 20 20 74 68 | URI(this._itemId).spec;.......th |
1e1dc0 | 69 73 2e 5f 69 6e 69 74 54 65 78 74 46 69 65 6c 64 28 22 66 65 65 64 4c 6f 63 61 74 69 6f 6e 46 | is._initTextField("feedLocationF |
1e1de0 | 69 65 6c 64 22 2c 20 66 65 65 64 55 52 49 53 70 65 63 29 3b 0a 20 20 20 20 20 20 62 72 65 61 6b | ield",.feedURISpec);.......break |
1e1e00 | 3b 0a 20 20 20 20 63 61 73 65 20 4c 4d 41 4e 4e 4f 5f 53 49 54 45 55 52 49 3a 0a 20 20 20 20 20 | ;.....case.LMANNO_SITEURI:...... |
1e1e20 | 20 76 61 72 20 73 69 74 65 55 52 49 53 70 65 63 20 3d 20 22 22 3b 0a 20 20 20 20 20 20 76 61 72 | .var.siteURISpec.=."";.......var |
1e1e40 | 20 73 69 74 65 55 52 49 20 3d 20 50 6c 61 63 65 73 55 74 69 6c 73 2e 6c 69 76 65 6d 61 72 6b 73 | .siteURI.=.PlacesUtils.livemarks |
1e1e60 | 2e 67 65 74 53 69 74 65 55 52 49 28 74 68 69 73 2e 5f 69 74 65 6d 49 64 29 3b 0a 20 20 20 20 20 | .getSiteURI(this._itemId);...... |
1e1e80 | 20 69 66 20 28 73 69 74 65 55 52 49 29 0a 20 20 20 20 20 20 20 20 73 69 74 65 55 52 49 53 70 65 | .if.(siteURI).........siteURISpe |
1e1ea0 | 63 20 3d 20 73 69 74 65 55 52 49 2e 73 70 65 63 3b 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 69 6e | c.=.siteURI.spec;.......this._in |
1e1ec0 | 69 74 54 65 78 74 46 69 65 6c 64 28 22 73 69 74 65 4c 6f 63 61 74 69 6f 6e 46 69 65 6c 64 22 2c | itTextField("siteLocationField", |
1e1ee0 | 20 73 69 74 65 55 52 49 53 70 65 63 29 3b 0a 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 | .siteURISpec);.......break;..... |
1e1f00 | 7d 0a 20 20 7d 2c 0a 0a 20 20 6f 6e 49 74 65 6d 4d 6f 76 65 64 3a 20 66 75 6e 63 74 69 6f 6e 20 | }...},....onItemMoved:.function. |
1e1f20 | 45 49 4f 5f 6f 6e 49 74 65 6d 4d 6f 76 65 64 28 61 49 74 65 6d 49 64 2c 20 61 4f 6c 64 50 61 72 | EIO_onItemMoved(aItemId,.aOldPar |
1e1f40 | 65 6e 74 2c 20 61 4f 6c 64 49 6e 64 65 78 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ent,.aOldIndex,................. |
1e1f60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 4e 65 77 50 61 72 65 | ........................aNewPare |
1e1f80 | 6e 74 2c 20 61 4e 65 77 49 6e 64 65 78 29 20 7b 0a 20 20 20 20 69 66 20 28 61 49 74 65 6d 49 64 | nt,.aNewIndex).{.....if.(aItemId |
1e1fa0 | 20 21 3d 20 74 68 69 73 2e 5f 69 74 65 6d 49 64 20 7c 7c 0a 20 20 20 20 20 20 20 20 61 4e 65 77 | .!=.this._itemId.||.........aNew |
1e1fc0 | 50 61 72 65 6e 74 20 3d 3d 20 74 68 69 73 2e 5f 67 65 74 46 6f 6c 64 65 72 49 64 46 72 6f 6d 4d | Parent.==.this._getFolderIdFromM |
1e1fe0 | 65 6e 75 4c 69 73 74 28 29 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 20 20 76 61 | enuList()).......return;......va |
1e2000 | 72 20 66 6f 6c 64 65 72 49 74 65 6d 20 3d 20 74 68 69 73 2e 5f 67 65 74 46 6f 6c 64 65 72 4d 65 | r.folderItem.=.this._getFolderMe |
1e2020 | 6e 75 49 74 65 6d 28 61 4e 65 77 50 61 72 65 6e 74 29 3b 0a 0a 20 20 20 20 2f 2f 20 6a 75 73 74 | nuItem(aNewParent);......//.just |
1e2040 | 20 73 65 74 74 69 6e 67 20 73 65 6c 65 63 74 49 74 65 6d 20 5f 64 6f 65 73 20 6e 6f 74 5f 20 74 | .setting.selectItem._does.not_.t |
1e2060 | 72 69 67 67 65 72 20 6f 6e 63 6f 6d 6d 61 6e 64 2c 20 73 6f 20 77 65 20 64 6f 6e 27 74 0a 20 20 | rigger.oncommand,.so.we.don't... |
1e2080 | 20 20 2f 2f 20 72 65 63 75 72 73 65 0a 20 20 20 20 74 68 69 73 2e 5f 66 6f 6c 64 65 72 4d 65 6e | ..//.recurse.....this._folderMen |
1e20a0 | 75 4c 69 73 74 2e 73 65 6c 65 63 74 65 64 49 74 65 6d 20 3d 20 66 6f 6c 64 65 72 49 74 65 6d 3b | uList.selectedItem.=.folderItem; |
1e20c0 | 0a 20 20 7d 2c 0a 0a 20 20 6f 6e 49 74 65 6d 41 64 64 65 64 3a 20 66 75 6e 63 74 69 6f 6e 20 45 | ...},....onItemAdded:.function.E |
1e20e0 | 49 4f 5f 6f 6e 49 74 65 6d 41 64 64 65 64 28 61 49 74 65 6d 49 64 2c 20 61 46 6f 6c 64 65 72 2c | IO_onItemAdded(aItemId,.aFolder, |
1e2100 | 20 61 49 6e 64 65 78 29 20 7b 0a 20 20 20 20 74 68 69 73 2e 5f 6c 61 73 74 4e 65 77 49 74 65 6d | .aIndex).{.....this._lastNewItem |
1e2120 | 20 3d 20 61 49 74 65 6d 49 64 3b 0a 20 20 7d 2c 0a 0a 20 20 6f 6e 42 65 67 69 6e 55 70 64 61 74 | .=.aItemId;...},....onBeginUpdat |
1e2140 | 65 42 61 74 63 68 3a 20 66 75 6e 63 74 69 6f 6e 28 29 20 7b 20 7d 2c 0a 20 20 6f 6e 45 6e 64 55 | eBatch:.function().{.},...onEndU |
1e2160 | 70 64 61 74 65 42 61 74 63 68 3a 20 66 75 6e 63 74 69 6f 6e 28 29 20 7b 20 7d 2c 0a 20 20 6f 6e | pdateBatch:.function().{.},...on |
1e2180 | 49 74 65 6d 52 65 6d 6f 76 65 64 3a 20 66 75 6e 63 74 69 6f 6e 28 29 20 7b 20 7d 2c 0a 20 20 6f | ItemRemoved:.function().{.},...o |
1e21a0 | 6e 49 74 65 6d 56 69 73 69 74 65 64 3a 20 66 75 6e 63 74 69 6f 6e 28 29 20 7b 20 7d 2c 0a 7d 3b | nItemVisited:.function().{.},.}; |
1e21c0 | 0a 50 4b 03 04 14 00 00 00 00 00 f6 4b 18 3b 24 8d ff c8 4f 15 00 00 4f 15 00 00 2a 00 00 00 63 | .PK.........K.;$...O...O...*...c |
1e21e0 | 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 61 62 6f 75 74 50 72 69 76 61 74 65 42 72 6f 77 73 | ontent/browser/aboutPrivateBrows |
1e2200 | 69 6e 67 2e 78 68 74 6d 6c 3c 3f 78 6d 6c 20 76 65 72 73 69 6f 6e 3d 22 31 2e 30 22 20 65 6e 63 | ing.xhtml<?xml.version="1.0".enc |
1e2220 | 6f 64 69 6e 67 3d 22 55 54 46 2d 38 22 3f 3e 0a 3c 21 2d 2d 0a 2d 2d 3e 0a 3c 21 44 4f 43 54 59 | oding="UTF-8"?>.<!--.-->.<!DOCTY |
1e2240 | 50 45 20 68 74 6d 6c 20 5b 0a 20 20 3c 21 45 4e 54 49 54 59 20 25 20 68 74 6d 6c 44 54 44 20 50 | PE.html.[...<!ENTITY.%.htmlDTD.P |
1e2260 | 55 42 4c 49 43 20 22 2d 2f 2f 57 33 43 2f 2f 44 54 44 20 58 48 54 4d 4c 20 31 2e 30 20 53 74 72 | UBLIC."-//W3C//DTD.XHTML.1.0.Str |
1e2280 | 69 63 74 2f 2f 45 4e 22 20 22 44 54 44 2f 78 68 74 6d 6c 31 2d 73 74 72 69 63 74 2e 64 74 64 22 | ict//EN"."DTD/xhtml1-strict.dtd" |
1e22a0 | 3e 0a 20 20 25 68 74 6d 6c 44 54 44 3b 0a 20 20 3c 21 45 4e 54 49 54 59 20 25 20 6e 65 74 45 72 | >...%htmlDTD;...<!ENTITY.%.netEr |
1e22c0 | 72 6f 72 44 54 44 20 53 59 53 54 45 4d 20 22 63 68 72 6f 6d 65 3a 2f 2f 67 6c 6f 62 61 6c 2f 6c | rorDTD.SYSTEM."chrome://global/l |
1e22e0 | 6f 63 61 6c 65 2f 6e 65 74 45 72 72 6f 72 2e 64 74 64 22 3e 0a 20 20 25 6e 65 74 45 72 72 6f 72 | ocale/netError.dtd">...%netError |
1e2300 | 44 54 44 3b 0a 20 20 3c 21 45 4e 54 49 54 59 20 25 20 67 6c 6f 62 61 6c 44 54 44 20 53 59 53 54 | DTD;...<!ENTITY.%.globalDTD.SYST |
1e2320 | 45 4d 20 22 63 68 72 6f 6d 65 3a 2f 2f 67 6c 6f 62 61 6c 2f 6c 6f 63 61 6c 65 2f 67 6c 6f 62 61 | EM."chrome://global/locale/globa |
1e2340 | 6c 2e 64 74 64 22 3e 0a 20 20 25 67 6c 6f 62 61 6c 44 54 44 3b 0a 20 20 3c 21 45 4e 54 49 54 59 | l.dtd">...%globalDTD;...<!ENTITY |
1e2360 | 20 25 20 62 72 6f 77 73 65 72 44 54 44 20 53 59 53 54 45 4d 20 22 63 68 72 6f 6d 65 3a 2f 2f 62 | .%.browserDTD.SYSTEM."chrome://b |
1e2380 | 72 6f 77 73 65 72 2f 6c 6f 63 61 6c 65 2f 62 72 6f 77 73 65 72 2e 64 74 64 22 3e 0a 20 20 25 62 | rowser/locale/browser.dtd">...%b |
1e23a0 | 72 6f 77 73 65 72 44 54 44 3b 0a 20 20 3c 21 45 4e 54 49 54 59 20 25 20 70 72 69 76 61 74 65 62 | rowserDTD;...<!ENTITY.%.privateb |
1e23c0 | 72 6f 77 73 69 6e 67 70 61 67 65 44 54 44 20 53 59 53 54 45 4d 20 22 63 68 72 6f 6d 65 3a 2f 2f | rowsingpageDTD.SYSTEM."chrome:// |
1e23e0 | 62 72 6f 77 73 65 72 2f 6c 6f 63 61 6c 65 2f 61 62 6f 75 74 50 72 69 76 61 74 65 42 72 6f 77 73 | browser/locale/aboutPrivateBrows |
1e2400 | 69 6e 67 2e 64 74 64 22 3e 0a 20 20 25 70 72 69 76 61 74 65 62 72 6f 77 73 69 6e 67 70 61 67 65 | ing.dtd">...%privatebrowsingpage |
1e2420 | 44 54 44 3b 0a 5d 3e 0a 0a 3c 68 74 6d 6c 20 78 6d 6c 6e 73 3d 22 68 74 74 70 3a 2f 2f 77 77 77 | DTD;.]>..<html.xmlns="http://www |
1e2440 | 2e 77 33 2e 6f 72 67 2f 31 39 39 39 2f 78 68 74 6d 6c 22 3e 0a 20 20 3c 68 65 61 64 3e 0a 20 20 | .w3.org/1999/xhtml">...<head>... |
1e2460 | 20 20 3c 74 69 74 6c 65 3e 26 70 72 69 76 61 74 65 62 72 6f 77 73 69 6e 67 70 61 67 65 2e 74 69 | ..<title>&privatebrowsingpage.ti |
1e2480 | 74 6c 65 3b 3c 2f 74 69 74 6c 65 3e 0a 20 20 20 20 3c 6c 69 6e 6b 20 72 65 6c 3d 22 73 74 79 6c | tle;</title>.....<link.rel="styl |
1e24a0 | 65 73 68 65 65 74 22 20 68 72 65 66 3d 22 63 68 72 6f 6d 65 3a 2f 2f 67 6c 6f 62 61 6c 2f 73 6b | esheet".href="chrome://global/sk |
1e24c0 | 69 6e 2f 6e 65 74 45 72 72 6f 72 2e 63 73 73 22 20 74 79 70 65 3d 22 74 65 78 74 2f 63 73 73 22 | in/netError.css".type="text/css" |
1e24e0 | 20 6d 65 64 69 61 3d 22 61 6c 6c 22 2f 3e 0a 20 20 20 20 3c 6c 69 6e 6b 20 72 65 6c 3d 22 73 74 | .media="all"/>.....<link.rel="st |
1e2500 | 79 6c 65 73 68 65 65 74 22 20 68 72 65 66 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 | ylesheet".href="chrome://browser |
1e2520 | 2f 73 6b 69 6e 2f 61 62 6f 75 74 50 72 69 76 61 74 65 42 72 6f 77 73 69 6e 67 2e 63 73 73 22 20 | /skin/aboutPrivateBrowsing.css". |
1e2540 | 74 79 70 65 3d 22 74 65 78 74 2f 63 73 73 22 20 6d 65 64 69 61 3d 22 61 6c 6c 22 2f 3e 0a 20 20 | type="text/css".media="all"/>... |
1e2560 | 20 20 3c 73 63 72 69 70 74 20 74 79 70 65 3d 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f 78 2d 6a 61 | ..<script.type="application/x-ja |
1e2580 | 76 61 73 63 72 69 70 74 3b 76 65 72 73 69 6f 6e 3d 31 2e 37 22 3e 3c 21 5b 43 44 41 54 41 5b 0a | vascript;version=1.7"><![CDATA[. |
1e25a0 | 20 20 20 20 20 20 63 6f 6e 73 74 20 43 63 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 | ......const.Cc.=.Components.clas |
1e25c0 | 73 65 73 3b 0a 20 20 20 20 20 20 63 6f 6e 73 74 20 43 69 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 | ses;.......const.Ci.=.Components |
1e25e0 | 2e 69 6e 74 65 72 66 61 63 65 73 3b 0a 0a 20 20 20 20 20 20 77 69 6e 64 6f 77 2e 5f 5f 64 65 66 | .interfaces;........window.__def |
1e2600 | 69 6e 65 47 65 74 74 65 72 5f 5f 28 22 6d 61 69 6e 57 69 6e 64 6f 77 22 2c 20 66 75 6e 63 74 69 | ineGetter__("mainWindow",.functi |
1e2620 | 6f 6e 28 29 20 7b 0a 20 20 20 20 20 20 20 20 64 65 6c 65 74 65 20 77 69 6e 64 6f 77 2e 6d 61 69 | on().{.........delete.window.mai |
1e2640 | 6e 57 69 6e 64 6f 77 3b 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 77 69 6e 64 6f 77 2e 6d | nWindow;.........return.window.m |
1e2660 | 61 69 6e 57 69 6e 64 6f 77 20 3d 20 77 69 6e 64 6f 77 2e 51 75 65 72 79 49 6e 74 65 72 66 61 63 | ainWindow.=.window.QueryInterfac |
1e2680 | 65 28 43 69 2e 6e 73 49 49 6e 74 65 72 66 61 63 65 52 65 71 75 65 73 74 6f 72 29 0a 20 20 20 20 | e(Ci.nsIInterfaceRequestor)..... |
1e26a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
1e26c0 | 20 20 20 20 20 2e 67 65 74 49 6e 74 65 72 66 61 63 65 28 43 69 2e 6e 73 49 57 65 62 4e 61 76 69 | ......getInterface(Ci.nsIWebNavi |
1e26e0 | 67 61 74 69 6f 6e 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | gation)......................... |
1e2700 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 51 75 65 72 79 49 6e 74 65 72 66 61 63 65 | ..................QueryInterface |
1e2720 | 28 43 69 2e 6e 73 49 44 6f 63 53 68 65 6c 6c 54 72 65 65 49 74 65 6d 29 0a 20 20 20 20 20 20 20 | (Ci.nsIDocShellTreeItem)........ |
1e2740 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
1e2760 | 20 20 2e 72 6f 6f 74 54 72 65 65 49 74 65 6d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ...rootTreeItem................. |
1e2780 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 51 75 65 72 79 49 | ..........................QueryI |
1e27a0 | 6e 74 65 72 66 61 63 65 28 43 69 2e 6e 73 49 49 6e 74 65 72 66 61 63 65 52 65 71 75 65 73 74 6f | nterface(Ci.nsIInterfaceRequesto |
1e27c0 | 72 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | r).............................. |
1e27e0 | 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 49 6e 74 65 72 66 61 63 65 28 43 69 2e 6e 73 49 | .............getInterface(Ci.nsI |
1e2800 | 44 4f 4d 57 69 6e 64 6f 77 29 3b 0a 20 20 20 20 20 20 7d 29 3b 0a 0a 20 20 20 20 20 20 66 75 6e | DOMWindow);.......});........fun |
1e2820 | 63 74 69 6f 6e 20 6f 70 65 6e 53 61 6e 69 74 69 7a 65 44 69 61 6c 6f 67 28 29 20 7b 0a 20 20 20 | ction.openSanitizeDialog().{.... |
1e2840 | 20 20 20 20 20 6c 65 74 20 62 72 6f 77 73 65 72 47 6c 75 65 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 | .....let.browserGlue.=.Cc["@mozi |
1e2860 | 6c 6c 61 2e 6f 72 67 2f 62 72 6f 77 73 65 72 2f 62 72 6f 77 73 65 72 67 6c 75 65 3b 31 22 5d 2e | lla.org/browser/browserglue;1"]. |
1e2880 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 53 65 | ...........................getSe |
1e28a0 | 72 76 69 63 65 28 43 69 2e 6e 73 49 42 72 6f 77 73 65 72 47 6c 75 65 29 3b 0a 20 20 20 20 20 20 | rvice(Ci.nsIBrowserGlue);....... |
1e28c0 | 20 20 62 72 6f 77 73 65 72 47 6c 75 65 2e 73 61 6e 69 74 69 7a 65 28 6d 61 69 6e 57 69 6e 64 6f | ..browserGlue.sanitize(mainWindo |
1e28e0 | 77 20 7c 7c 20 6e 75 6c 6c 29 3b 0a 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 66 75 6e 63 74 | w.||.null);.......}........funct |
1e2900 | 69 6f 6e 20 73 65 74 46 61 76 49 63 6f 6e 28 75 72 6c 29 20 7b 0a 20 20 20 20 20 20 20 20 76 61 | ion.setFavIcon(url).{.........va |
1e2920 | 72 20 69 63 6f 6e 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 63 72 65 61 74 65 45 6c 65 6d 65 6e 74 28 | r.icon.=.document.createElement( |
1e2940 | 22 6c 69 6e 6b 22 29 3b 0a 20 20 20 20 20 20 20 20 69 63 6f 6e 2e 73 65 74 41 74 74 72 69 62 75 | "link");.........icon.setAttribu |
1e2960 | 74 65 28 22 72 65 6c 22 2c 20 22 69 63 6f 6e 22 29 3b 0a 20 20 20 20 20 20 20 20 69 63 6f 6e 2e | te("rel",."icon");.........icon. |
1e2980 | 73 65 74 41 74 74 72 69 62 75 74 65 28 22 74 79 70 65 22 2c 20 22 69 6d 61 67 65 2f 70 6e 67 22 | setAttribute("type",."image/png" |
1e29a0 | 29 3b 0a 20 20 20 20 20 20 20 20 69 63 6f 6e 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 68 72 | );.........icon.setAttribute("hr |
1e29c0 | 65 66 22 2c 20 75 72 6c 29 3b 0a 20 20 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 | ef",.url);.........document.getE |
1e29e0 | 6c 65 6d 65 6e 74 73 42 79 54 61 67 4e 61 6d 65 28 22 68 65 61 64 22 29 5b 30 5d 2e 61 70 70 65 | lementsByTagName("head")[0].appe |
1e2a00 | 6e 64 43 68 69 6c 64 28 69 63 6f 6e 29 3b 0a 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 66 75 | ndChild(icon);.......}........fu |
1e2a20 | 6e 63 74 69 6f 6e 20 6f 6e 4c 6f 61 64 28 29 20 7b 0a 20 20 20 20 20 20 20 20 6c 65 74 20 73 65 | nction.onLoad().{.........let.se |
1e2a40 | 6c 65 63 74 6f 72 3b 0a 20 20 20 20 20 20 20 20 6c 65 74 20 70 62 20 3d 20 43 63 5b 22 40 6d 6f | lector;.........let.pb.=.Cc["@mo |
1e2a60 | 7a 69 6c 6c 61 2e 6f 72 67 2f 70 72 69 76 61 74 65 62 72 6f 77 73 69 6e 67 3b 31 22 5d 2e 0a 20 | zilla.org/privatebrowsing;1"]... |
1e2a80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 53 65 72 76 69 63 65 28 43 69 2e 6e 73 | ................getService(Ci.ns |
1e2aa0 | 49 50 72 69 76 61 74 65 42 72 6f 77 73 69 6e 67 53 65 72 76 69 63 65 29 3b 0a 20 20 20 20 20 20 | IPrivateBrowsingService);....... |
1e2ac0 | 20 20 69 66 20 28 21 70 62 2e 70 72 69 76 61 74 65 42 72 6f 77 73 69 6e 67 45 6e 61 62 6c 65 64 | ..if.(!pb.privateBrowsingEnabled |
1e2ae0 | 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 62 6f 64 79 2e 73 65 74 41 | ).{...........document.body.setA |
1e2b00 | 74 74 72 69 62 75 74 65 28 22 63 6c 61 73 73 22 2c 20 22 6e 6f 72 6d 61 6c 22 29 3b 0a 20 20 20 | ttribute("class",."normal");.... |
1e2b20 | 20 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 74 69 74 6c 65 20 3d 20 64 6f 63 75 6d 65 6e 74 | .......document.title.=.document |
1e2b40 | 2e 62 6f 64 79 2e 67 65 74 41 74 74 72 69 62 75 74 65 28 22 6e 6f 72 6d 61 6c 74 69 74 6c 65 22 | .body.getAttribute("normaltitle" |
1e2b60 | 29 3b 0a 20 20 20 20 20 20 20 20 20 20 73 65 74 46 61 76 49 63 6f 6e 28 22 63 68 72 6f 6d 65 3a | );...........setFavIcon("chrome: |
1e2b80 | 2f 2f 67 6c 6f 62 61 6c 2f 73 6b 69 6e 2f 69 63 6f 6e 73 2f 71 75 65 73 74 69 6f 6e 2d 31 36 2e | //global/skin/icons/question-16. |
1e2ba0 | 70 6e 67 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 73 65 6c 65 63 74 6f 72 20 3d 20 22 2e 73 68 | png");...........selector.=.".sh |
1e2bc0 | 6f 77 50 72 69 76 61 74 65 22 3b 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 65 6c | owPrivate";.........}.........el |
1e2be0 | 73 65 20 7b 0a 20 20 20 20 20 20 20 20 20 20 73 65 74 46 61 76 49 63 6f 6e 28 22 63 68 72 6f 6d | se.{...........setFavIcon("chrom |
1e2c00 | 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 73 6b 69 6e 2f 50 72 69 76 61 63 79 2d 31 36 2e 70 6e 67 22 | e://browser/skin/Privacy-16.png" |
1e2c20 | 29 3b 0a 20 20 20 20 20 20 20 20 20 20 73 65 6c 65 63 74 6f 72 20 3d 20 22 2e 73 68 6f 77 4e 6f | );...........selector.=.".showNo |
1e2c40 | 72 6d 61 6c 22 3b 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 2f 2f 20 52 65 6d | rmal";.........}..........//.Rem |
1e2c60 | 6f 76 65 20 68 69 64 64 65 6e 20 65 6c 65 6d 65 6e 74 73 20 74 6f 20 61 76 6f 69 64 20 62 75 67 | ove.hidden.elements.to.avoid.bug |
1e2c80 | 20 33 39 30 39 38 0a 20 20 20 20 20 20 20 20 6c 65 74 20 65 6c 65 6d 65 6e 74 73 20 3d 20 64 6f | .39098.........let.elements.=.do |
1e2ca0 | 63 75 6d 65 6e 74 2e 62 6f 64 79 2e 71 75 65 72 79 53 65 6c 65 63 74 6f 72 41 6c 6c 28 73 65 6c | cument.body.querySelectorAll(sel |
1e2cc0 | 65 63 74 6f 72 29 3b 0a 20 20 20 20 20 20 20 20 66 6f 72 20 28 6c 65 74 20 69 20 3d 20 30 3b 20 | ector);.........for.(let.i.=.0;. |
1e2ce0 | 69 20 3c 20 65 6c 65 6d 65 6e 74 73 2e 6c 65 6e 67 74 68 3b 20 2b 2b 20 69 29 0a 20 20 20 20 20 | i.<.elements.length;.++.i)...... |
1e2d00 | 20 20 20 20 20 65 6c 65 6d 65 6e 74 73 5b 69 5d 2e 70 61 72 65 6e 74 4e 6f 64 65 2e 72 65 6d 6f | .....elements[i].parentNode.remo |
1e2d20 | 76 65 43 68 69 6c 64 28 65 6c 65 6d 65 6e 74 73 5b 69 5d 29 3b 0a 0a 20 20 20 20 20 20 20 20 2f | veChild(elements[i]);........../ |
1e2d40 | 2f 20 53 65 74 20 75 70 20 74 68 65 20 68 65 6c 70 20 6c 69 6e 6b 0a 20 20 20 20 20 20 20 20 6c | /.Set.up.the.help.link.........l |
1e2d60 | 65 74 20 6d 6f 72 65 49 6e 66 6f 55 52 4c 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 | et.moreInfoURL.=.Cc["@mozilla.or |
1e2d80 | 67 2f 74 6f 6f 6c 6b 69 74 2f 55 52 4c 46 6f 72 6d 61 74 74 65 72 53 65 72 76 69 63 65 3b 31 22 | g/toolkit/URLFormatterService;1" |
1e2da0 | 5d 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 | ]............................get |
1e2dc0 | 53 65 72 76 69 63 65 28 43 69 2e 6e 73 49 55 52 4c 46 6f 72 6d 61 74 74 65 72 29 2e 0a 20 20 20 | Service(Ci.nsIURLFormatter)..... |
1e2de0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 6f 72 6d 61 74 55 52 4c | .......................formatURL |
1e2e00 | 50 72 65 66 28 22 61 70 70 2e 73 75 70 70 6f 72 74 2e 62 61 73 65 55 52 4c 22 29 3b 0a 20 20 20 | Pref("app.support.baseURL");.... |
1e2e20 | 20 20 20 20 20 6c 65 74 20 6d 6f 72 65 49 6e 66 6f 4c 69 6e 6b 20 3d 20 64 6f 63 75 6d 65 6e 74 | .....let.moreInfoLink.=.document |
1e2e40 | 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 6d 6f 72 65 49 6e 66 6f 4c 69 6e 6b 22 29 3b | .getElementById("moreInfoLink"); |
1e2e60 | 0a 20 20 20 20 20 20 20 20 69 66 20 28 6d 6f 72 65 49 6e 66 6f 4c 69 6e 6b 29 0a 20 20 20 20 20 | .........if.(moreInfoLink)...... |
1e2e80 | 20 20 20 20 20 6d 6f 72 65 49 6e 66 6f 4c 69 6e 6b 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 | .....moreInfoLink.setAttribute(" |
1e2ea0 | 68 72 65 66 22 2c 20 6d 6f 72 65 49 6e 66 6f 55 52 4c 20 2b 20 22 70 72 69 76 61 74 65 2d 62 72 | href",.moreInfoURL.+."private-br |
1e2ec0 | 6f 77 73 69 6e 67 22 29 3b 0a 0a 20 20 20 20 20 20 20 20 2f 2f 20 46 6f 63 75 73 20 74 68 65 20 | owsing");..........//.Focus.the. |
1e2ee0 | 6c 6f 63 61 74 69 6f 6e 20 62 61 72 0a 20 20 20 20 20 20 20 20 69 66 20 28 6d 61 69 6e 57 69 6e | location.bar.........if.(mainWin |
1e2f00 | 64 6f 77 2e 67 55 52 4c 42 61 72 29 0a 20 20 20 20 20 20 20 20 20 20 6d 61 69 6e 57 69 6e 64 6f | dow.gURLBar)...........mainWindo |
1e2f20 | 77 2e 66 6f 63 75 73 45 6c 65 6d 65 6e 74 28 6d 61 69 6e 57 69 6e 64 6f 77 2e 67 55 52 4c 42 61 | w.focusElement(mainWindow.gURLBa |
1e2f40 | 72 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 5d 5d 3e 3c 2f 73 63 72 69 70 74 3e 0a 20 20 3c | r);.......}.....]]></script>...< |
1e2f60 | 2f 68 65 61 64 3e 0a 0a 20 20 3c 62 6f 64 79 20 64 69 72 3d 22 26 6c 6f 63 61 6c 65 2e 64 69 72 | /head>....<body.dir="&locale.dir |
1e2f80 | 3b 22 0a 20 20 20 20 20 20 20 20 63 6c 61 73 73 3d 22 70 72 69 76 61 74 65 22 0a 20 20 20 20 20 | ;".........class="private"...... |
1e2fa0 | 20 20 20 6f 6e 6c 6f 61 64 3d 22 6f 6e 4c 6f 61 64 28 29 3b 22 0a 20 20 20 20 20 20 20 20 6e 6f | ...onload="onLoad();".........no |
1e2fc0 | 72 6d 61 6c 74 69 74 6c 65 3d 22 26 70 72 69 76 61 74 65 62 72 6f 77 73 69 6e 67 70 61 67 65 2e | rmaltitle="&privatebrowsingpage. |
1e2fe0 | 74 69 74 6c 65 2e 6e 6f 72 6d 61 6c 3b 22 3e 0a 0a 20 20 20 20 3c 21 2d 2d 20 50 41 47 45 20 43 | title.normal;">......<!--.PAGE.C |
1e3000 | 4f 4e 54 41 49 4e 45 52 20 28 66 6f 72 20 73 74 79 6c 69 6e 67 20 70 75 72 70 6f 73 65 73 20 6f | ONTAINER.(for.styling.purposes.o |
1e3020 | 6e 6c 79 29 20 2d 2d 3e 0a 20 20 20 20 3c 64 69 76 20 69 64 3d 22 65 72 72 6f 72 50 61 67 65 43 | nly).-->.....<div.id="errorPageC |
1e3040 | 6f 6e 74 61 69 6e 65 72 22 3e 0a 0a 20 20 20 20 20 20 3c 21 2d 2d 20 45 72 72 6f 72 20 54 69 74 | ontainer">........<!--.Error.Tit |
1e3060 | 6c 65 20 2d 2d 3e 0a 20 20 20 20 20 20 3c 64 69 76 20 69 64 3d 22 65 72 72 6f 72 54 69 74 6c 65 | le.-->.......<div.id="errorTitle |
1e3080 | 22 3e 0a 20 20 20 20 20 20 20 20 3c 68 31 20 69 64 3d 22 65 72 72 6f 72 54 69 74 6c 65 54 65 78 | ">.........<h1.id="errorTitleTex |
1e30a0 | 74 22 20 63 6c 61 73 73 3d 22 73 68 6f 77 50 72 69 76 61 74 65 22 3e 26 70 72 69 76 61 74 65 62 | t".class="showPrivate">&privateb |
1e30c0 | 72 6f 77 73 69 6e 67 70 61 67 65 2e 74 69 74 6c 65 3b 3c 2f 68 31 3e 0a 20 20 20 20 20 20 20 20 | rowsingpage.title;</h1>......... |
1e30e0 | 3c 68 31 20 69 64 3d 22 65 72 72 6f 72 54 69 74 6c 65 54 65 78 74 4e 6f 72 6d 61 6c 22 20 63 6c | <h1.id="errorTitleTextNormal".cl |
1e3100 | 61 73 73 3d 22 73 68 6f 77 4e 6f 72 6d 61 6c 22 3e 26 70 72 69 76 61 74 65 62 72 6f 77 73 69 6e | ass="showNormal">&privatebrowsin |
1e3120 | 67 70 61 67 65 2e 74 69 74 6c 65 2e 6e 6f 72 6d 61 6c 3b 3c 2f 68 31 3e 0a 20 20 20 20 20 20 3c | gpage.title.normal;</h1>.......< |
1e3140 | 2f 64 69 76 3e 0a 0a 20 20 20 20 20 20 3c 21 2d 2d 20 4c 4f 4e 47 20 43 4f 4e 54 45 4e 54 20 28 | /div>........<!--.LONG.CONTENT.( |
1e3160 | 74 68 65 20 73 65 63 74 69 6f 6e 20 6d 6f 73 74 20 6c 69 6b 65 6c 79 20 74 6f 20 72 65 71 75 69 | the.section.most.likely.to.requi |
1e3180 | 72 65 20 73 63 72 6f 6c 6c 69 6e 67 29 20 2d 2d 3e 0a 20 20 20 20 20 20 3c 64 69 76 20 69 64 3d | re.scrolling).-->.......<div.id= |
1e31a0 | 22 65 72 72 6f 72 4c 6f 6e 67 43 6f 6e 74 65 6e 74 22 3e 0a 0a 20 20 20 20 20 20 20 20 3c 21 2d | "errorLongContent">..........<!- |
1e31c0 | 2d 20 53 68 6f 72 74 20 44 65 73 63 72 69 70 74 69 6f 6e 20 2d 2d 3e 0a 20 20 20 20 20 20 20 20 | -.Short.Description.-->......... |
1e31e0 | 3c 64 69 76 20 69 64 3d 22 65 72 72 6f 72 53 68 6f 72 74 44 65 73 63 22 3e 0a 20 20 20 20 20 20 | <div.id="errorShortDesc">....... |
1e3200 | 20 20 20 20 3c 70 20 69 64 3d 22 65 72 72 6f 72 53 68 6f 72 74 44 65 73 63 54 65 78 74 22 20 63 | ....<p.id="errorShortDescText".c |
1e3220 | 6c 61 73 73 3d 22 73 68 6f 77 50 72 69 76 61 74 65 22 3e 26 70 72 69 76 61 74 65 62 72 6f 77 73 | lass="showPrivate">&privatebrows |
1e3240 | 69 6e 67 70 61 67 65 2e 69 73 73 75 65 44 65 73 63 3b 3c 2f 70 3e 0a 20 20 20 20 20 20 20 20 20 | ingpage.issueDesc;</p>.......... |
1e3260 | 20 3c 70 20 69 64 3d 22 65 72 72 6f 72 53 68 6f 72 74 44 65 73 63 54 65 78 74 4e 6f 72 6d 61 6c | .<p.id="errorShortDescTextNormal |
1e3280 | 22 20 63 6c 61 73 73 3d 22 73 68 6f 77 4e 6f 72 6d 61 6c 22 3e 26 70 72 69 76 61 74 65 62 72 6f | ".class="showNormal">&privatebro |
1e32a0 | 77 73 69 6e 67 70 61 67 65 2e 69 73 73 75 65 44 65 73 63 2e 6e 6f 72 6d 61 6c 3b 3c 2f 70 3e 0a | wsingpage.issueDesc.normal;</p>. |
1e32c0 | 20 20 20 20 20 20 20 20 3c 2f 64 69 76 3e 0a 0a 20 20 20 20 20 20 20 20 3c 21 2d 2d 20 4c 6f 6e | ........</div>..........<!--.Lon |
1e32e0 | 67 20 44 65 73 63 72 69 70 74 69 6f 6e 20 2d 2d 3e 0a 20 20 20 20 20 20 20 20 3c 64 69 76 20 69 | g.Description.-->.........<div.i |
1e3300 | 64 3d 22 65 72 72 6f 72 4c 6f 6e 67 44 65 73 63 22 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 70 20 | d="errorLongDesc">...........<p. |
1e3320 | 69 64 3d 22 65 72 72 6f 72 4c 6f 6e 67 44 65 73 63 54 65 78 74 22 3e 26 70 72 69 76 61 74 65 62 | id="errorLongDescText">&privateb |
1e3340 | 72 6f 77 73 69 6e 67 70 61 67 65 2e 64 65 73 63 72 69 70 74 69 6f 6e 3b 3c 2f 70 3e 0a 20 20 20 | rowsingpage.description;</p>.... |
1e3360 | 20 20 20 20 20 3c 2f 64 69 76 3e 0a 0a 20 20 20 20 20 20 20 20 3c 21 2d 2d 20 53 74 61 72 74 20 | .....</div>..........<!--.Start. |
1e3380 | 50 72 69 76 61 74 65 20 42 72 6f 77 73 69 6e 67 20 2d 2d 3e 0a 20 20 20 20 20 20 20 20 3c 64 69 | Private.Browsing.-->.........<di |
1e33a0 | 76 20 69 64 3d 22 73 74 61 72 74 50 72 69 76 61 74 65 42 72 6f 77 73 69 6e 67 44 65 73 63 22 20 | v.id="startPrivateBrowsingDesc". |
1e33c0 | 63 6c 61 73 73 3d 22 73 68 6f 77 4e 6f 72 6d 61 6c 22 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 62 | class="showNormal">...........<b |
1e33e0 | 75 74 74 6f 6e 20 78 6d 6c 6e 73 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c 61 2e | utton.xmlns="http://www.mozilla. |
1e3400 | 6f 72 67 2f 6b 65 79 6d 61 73 74 65 72 2f 67 61 74 65 6b 65 65 70 65 72 2f 74 68 65 72 65 2e 69 | org/keymaster/gatekeeper/there.i |
1e3420 | 73 2e 6f 6e 6c 79 2e 78 75 6c 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 64 | s.only.xul"...................id |
1e3440 | 3d 22 73 74 61 72 74 50 72 69 76 61 74 65 42 72 6f 77 73 69 6e 67 22 20 6c 61 62 65 6c 3d 22 26 | ="startPrivateBrowsing".label="& |
1e3460 | 70 72 69 76 61 74 65 62 72 6f 77 73 69 6e 67 70 61 67 65 2e 73 74 61 72 74 50 72 69 76 61 74 65 | privatebrowsingpage.startPrivate |
1e3480 | 42 72 6f 77 73 69 6e 67 2e 6c 61 62 65 6c 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | Browsing.label;"................ |
1e34a0 | 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 70 72 69 76 61 74 65 62 72 6f 77 73 69 6e 67 70 61 | ...accesskey="&privatebrowsingpa |
1e34c0 | 67 65 2e 73 74 61 72 74 50 72 69 76 61 74 65 42 72 6f 77 73 69 6e 67 2e 61 63 63 65 73 73 6b 65 | ge.startPrivateBrowsing.accesske |
1e34e0 | 79 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 2f 64 69 76 3e 0a 0a 20 20 20 20 20 20 20 20 3c 21 | y;"/>.........</div>..........<! |
1e3500 | 2d 2d 20 46 6f 6f 74 65 72 20 2d 2d 3e 0a 20 20 20 20 20 20 20 20 3c 64 69 76 20 69 64 3d 22 66 | --.Footer.-->.........<div.id="f |
1e3520 | 6f 6f 74 65 72 44 65 73 63 22 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 70 20 69 64 3d 22 66 6f 6f | ooterDesc">...........<p.id="foo |
1e3540 | 74 65 72 54 65 78 74 22 20 63 6c 61 73 73 3d 22 73 68 6f 77 50 72 69 76 61 74 65 22 3e 26 70 72 | terText".class="showPrivate">&pr |
1e3560 | 69 76 61 74 65 62 72 6f 77 73 69 6e 67 70 61 67 65 2e 68 6f 77 54 6f 53 74 6f 70 3b 3c 2f 70 3e | ivatebrowsingpage.howToStop;</p> |
1e3580 | 0a 20 20 20 20 20 20 20 20 20 20 3c 70 20 69 64 3d 22 66 6f 6f 74 65 72 54 65 78 74 4e 6f 72 6d | ...........<p.id="footerTextNorm |
1e35a0 | 61 6c 22 20 63 6c 61 73 73 3d 22 73 68 6f 77 4e 6f 72 6d 61 6c 22 3e 26 70 72 69 76 61 74 65 62 | al".class="showNormal">&privateb |
1e35c0 | 72 6f 77 73 69 6e 67 70 61 67 65 2e 68 6f 77 54 6f 53 74 61 72 74 3b 3c 2f 70 3e 0a 20 20 20 20 | rowsingpage.howToStart;</p>..... |
1e35e0 | 20 20 20 20 3c 2f 64 69 76 3e 0a 0a 20 20 20 20 20 20 20 20 3c 21 2d 2d 20 4d 6f 72 65 20 49 6e | ....</div>..........<!--.More.In |
1e3600 | 66 6f 20 2d 2d 3e 0a 20 20 20 20 20 20 20 20 3c 64 69 76 20 69 64 3d 22 6d 6f 72 65 49 6e 66 6f | fo.-->.........<div.id="moreInfo |
1e3620 | 22 20 63 6c 61 73 73 3d 22 73 68 6f 77 50 72 69 76 61 74 65 22 3e 0a 20 20 20 20 20 20 20 20 20 | ".class="showPrivate">.......... |
1e3640 | 20 3c 70 20 69 64 3d 22 6d 6f 72 65 49 6e 66 6f 54 65 78 74 22 3e 0a 20 20 20 20 20 20 20 20 20 | .<p.id="moreInfoText">.......... |
1e3660 | 20 20 20 26 70 72 69 76 61 74 65 62 72 6f 77 73 69 6e 67 70 61 67 65 2e 6d 6f 72 65 49 6e 66 6f | ...&privatebrowsingpage.moreInfo |
1e3680 | 3b 0a 20 20 20 20 20 20 20 20 20 20 3c 2f 70 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 70 20 69 64 | ;...........</p>...........<p.id |
1e36a0 | 3d 22 6d 6f 72 65 49 6e 66 6f 4c 69 6e 6b 43 6f 6e 74 61 69 6e 65 72 22 3e 0a 20 20 20 20 20 20 | ="moreInfoLinkContainer">....... |
1e36c0 | 20 20 20 20 20 20 3c 61 20 69 64 3d 22 6d 6f 72 65 49 6e 66 6f 4c 69 6e 6b 22 20 74 61 72 67 65 | ......<a.id="moreInfoLink".targe |
1e36e0 | 74 3d 22 5f 62 6c 61 6e 6b 22 3e 26 70 72 69 76 61 74 65 62 72 6f 77 73 69 6e 67 70 61 67 65 2e | t="_blank">&privatebrowsingpage. |
1e3700 | 6c 65 61 72 6e 4d 6f 72 65 3b 3c 2f 61 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 2f 70 3e 0a 20 20 | learnMore;</a>...........</p>... |
1e3720 | 20 20 20 20 20 20 3c 2f 64 69 76 3e 0a 20 20 20 20 20 20 3c 2f 64 69 76 3e 0a 20 20 20 20 3c 2f | ......</div>.......</div>.....</ |
1e3740 | 64 69 76 3e 0a 0a 20 20 3c 2f 62 6f 64 79 3e 0a 3c 2f 68 74 6d 6c 3e 0a 50 4b 03 04 14 00 00 00 | div>....</body>.</html>.PK...... |
1e3760 | 00 00 f9 4b 18 3b 4e b1 93 c6 38 13 00 00 38 13 00 00 27 00 00 00 63 6f 6e 74 65 6e 74 2f 62 72 | ...K.;N...8...8...'...content/br |
1e3780 | 6f 77 73 65 72 2f 6d 69 67 72 61 74 69 6f 6e 2f 6d 69 67 72 61 74 69 6f 6e 2e 78 75 6c 3c 3f 78 | owser/migration/migration.xul<?x |
1e37a0 | 6d 6c 20 76 65 72 73 69 6f 6e 3d 22 31 2e 30 22 3f 3e 0a 0a 3c 3f 78 6d 6c 2d 73 74 79 6c 65 73 | ml.version="1.0"?>..<?xml-styles |
1e37c0 | 68 65 65 74 20 68 72 65 66 3d 22 63 68 72 6f 6d 65 3a 2f 2f 67 6c 6f 62 61 6c 2f 73 6b 69 6e 2f | heet.href="chrome://global/skin/ |
1e37e0 | 22 20 74 79 70 65 3d 22 74 65 78 74 2f 63 73 73 22 3f 3e 0a 0a 3c 21 44 4f 43 54 59 50 45 20 64 | ".type="text/css"?>..<!DOCTYPE.d |
1e3800 | 69 61 6c 6f 67 20 53 59 53 54 45 4d 20 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 6c | ialog.SYSTEM."chrome://browser/l |
1e3820 | 6f 63 61 6c 65 2f 6d 69 67 72 61 74 69 6f 6e 2f 6d 69 67 72 61 74 69 6f 6e 2e 64 74 64 22 20 3e | ocale/migration/migration.dtd".> |
1e3840 | 0a 0a 3c 77 69 7a 61 72 64 20 69 64 3d 22 6d 69 67 72 61 74 69 6f 6e 57 69 7a 61 72 64 22 0a 20 | ..<wizard.id="migrationWizard".. |
1e3860 | 20 20 20 20 20 20 20 78 6d 6c 6e 73 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c 61 | .......xmlns="http://www.mozilla |
1e3880 | 2e 6f 72 67 2f 6b 65 79 6d 61 73 74 65 72 2f 67 61 74 65 6b 65 65 70 65 72 2f 74 68 65 72 65 2e | .org/keymaster/gatekeeper/there. |
1e38a0 | 69 73 2e 6f 6e 6c 79 2e 78 75 6c 22 0a 20 20 20 20 20 20 20 20 77 69 6e 64 6f 77 74 79 70 65 3d | is.only.xul".........windowtype= |
1e38c0 | 22 42 72 6f 77 73 65 72 3a 4d 69 67 72 61 74 69 6f 6e 57 69 7a 61 72 64 22 0a 20 20 20 20 20 20 | "Browser:MigrationWizard"....... |
1e38e0 | 20 20 74 69 74 6c 65 3d 22 26 6d 69 67 72 61 74 69 6f 6e 57 69 7a 61 72 64 2e 74 69 74 6c 65 3b | ..title="&migrationWizard.title; |
1e3900 | 22 0a 20 20 20 20 20 20 20 20 6f 6e 6c 6f 61 64 3d 22 4d 69 67 72 61 74 69 6f 6e 57 69 7a 61 72 | ".........onload="MigrationWizar |
1e3920 | 64 2e 69 6e 69 74 28 29 22 0a 20 20 20 20 20 20 20 20 6f 6e 75 6e 6c 6f 61 64 3d 22 4d 69 67 72 | d.init()".........onunload="Migr |
1e3940 | 61 74 69 6f 6e 57 69 7a 61 72 64 2e 75 6e 69 6e 69 74 28 29 22 0a 20 20 20 20 20 20 20 20 73 74 | ationWizard.uninit()".........st |
1e3960 | 79 6c 65 3d 22 77 69 64 74 68 3a 20 34 30 65 6d 3b 22 0a 20 20 20 20 20 20 20 20 62 75 74 74 6f | yle="width:.40em;".........butto |
1e3980 | 6e 73 3d 22 61 63 63 65 70 74 2c 63 61 6e 63 65 6c 22 0a 20 20 20 20 20 20 20 20 62 72 61 6e 64 | ns="accept,cancel".........brand |
1e39a0 | 65 64 3d 22 74 72 75 65 22 3e 0a 0a 20 20 3c 73 63 72 69 70 74 20 74 79 70 65 3d 22 61 70 70 6c | ed="true">....<script.type="appl |
1e39c0 | 69 63 61 74 69 6f 6e 2f 78 2d 6a 61 76 61 73 63 72 69 70 74 22 20 73 72 63 3d 22 63 68 72 6f 6d | ication/x-javascript".src="chrom |
1e39e0 | 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 63 6f 6e 74 65 6e 74 2f 6d 69 67 72 61 74 69 6f 6e 2f 6d 69 | e://browser/content/migration/mi |
1e3a00 | 67 72 61 74 69 6f 6e 2e 6a 73 22 2f 3e 0a 0a 20 20 3c 73 74 72 69 6e 67 62 75 6e 64 6c 65 20 69 | gration.js"/>....<stringbundle.i |
1e3a20 | 64 3d 22 62 75 6e 64 6c 65 22 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 | d="bundle".src="chrome://browser |
1e3a40 | 2f 6c 6f 63 61 6c 65 2f 6d 69 67 72 61 74 69 6f 6e 2f 6d 69 67 72 61 74 69 6f 6e 2e 70 72 6f 70 | /locale/migration/migration.prop |
1e3a60 | 65 72 74 69 65 73 22 2f 3e 0a 20 20 3c 73 74 72 69 6e 67 62 75 6e 64 6c 65 20 69 64 3d 22 62 72 | erties"/>...<stringbundle.id="br |
1e3a80 | 61 6e 64 42 75 6e 64 6c 65 22 20 73 72 63 3d 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 61 6e 64 69 6e | andBundle".src="chrome://brandin |
1e3aa0 | 67 2f 6c 6f 63 61 6c 65 2f 62 72 61 6e 64 2e 70 72 6f 70 65 72 74 69 65 73 22 2f 3e 0a 0a 20 20 | g/locale/brand.properties"/>.... |
1e3ac0 | 3c 77 69 7a 61 72 64 70 61 67 65 20 69 64 3d 22 69 6d 70 6f 72 74 53 6f 75 72 63 65 22 20 70 61 | <wizardpage.id="importSource".pa |
1e3ae0 | 67 65 69 64 3d 22 69 6d 70 6f 72 74 53 6f 75 72 63 65 22 20 6e 65 78 74 3d 22 73 65 6c 65 63 74 | geid="importSource".next="select |
1e3b00 | 50 72 6f 66 69 6c 65 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 69 | Profile"...............label="&i |
1e3b20 | 6d 70 6f 72 74 53 6f 75 72 63 65 2e 74 69 74 6c 65 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 | mportSource.title;"............. |
1e3b40 | 20 20 6f 6e 70 61 67 65 61 64 76 61 6e 63 65 64 3d 22 72 65 74 75 72 6e 20 4d 69 67 72 61 74 69 | ..onpageadvanced="return.Migrati |
1e3b60 | 6f 6e 57 69 7a 61 72 64 2e 6f 6e 49 6d 70 6f 72 74 53 6f 75 72 63 65 50 61 67 65 41 64 76 61 6e | onWizard.onImportSourcePageAdvan |
1e3b80 | 63 65 64 28 29 3b 22 3e 0a 20 20 20 20 3c 64 65 73 63 72 69 70 74 69 6f 6e 20 69 64 3d 22 69 6d | ced();">.....<description.id="im |
1e3ba0 | 70 6f 72 74 41 6c 6c 22 20 63 6f 6e 74 72 6f 6c 3d 22 69 6d 70 6f 72 74 53 6f 75 72 63 65 47 72 | portAll".control="importSourceGr |
1e3bc0 | 6f 75 70 22 3e 26 69 6d 70 6f 72 74 46 72 6f 6d 55 6e 69 78 2e 6c 61 62 65 6c 3b 3c 2f 64 65 73 | oup">&importFromUnix.label;</des |
1e3be0 | 63 72 69 70 74 69 6f 6e 3e 0a 20 20 20 20 3c 64 65 73 63 72 69 70 74 69 6f 6e 20 69 64 3d 22 69 | cription>.....<description.id="i |
1e3c00 | 6d 70 6f 72 74 42 6f 6f 6b 6d 61 72 6b 73 22 20 63 6f 6e 74 72 6f 6c 3d 22 69 6d 70 6f 72 74 53 | mportBookmarks".control="importS |
1e3c20 | 6f 75 72 63 65 47 72 6f 75 70 22 20 68 69 64 64 65 6e 3d 22 74 72 75 65 22 3e 26 69 6d 70 6f 72 | ourceGroup".hidden="true">&impor |
1e3c40 | 74 46 72 6f 6d 42 6f 6f 6b 6d 61 72 6b 73 2e 6c 61 62 65 6c 3b 3c 2f 64 65 73 63 72 69 70 74 69 | tFromBookmarks.label;</descripti |
1e3c60 | 6f 6e 3e 0a 0a 20 20 20 20 3c 72 61 64 69 6f 67 72 6f 75 70 20 69 64 3d 22 69 6d 70 6f 72 74 53 | on>......<radiogroup.id="importS |
1e3c80 | 6f 75 72 63 65 47 72 6f 75 70 22 20 61 6c 69 67 6e 3d 22 73 74 61 72 74 22 3e 0a 20 20 20 20 20 | ourceGroup".align="start">...... |
1e3ca0 | 20 3c 21 2d 2d 20 49 66 20 79 6f 75 20 61 72 65 20 61 64 64 69 6e 67 20 61 20 6d 69 67 72 61 74 | .<!--.If.you.are.adding.a.migrat |
1e3cc0 | 6f 72 2c 20 70 6c 65 61 73 65 20 61 64 64 20 74 68 65 20 61 70 70 72 6f 70 72 69 61 74 65 0a 20 | or,.please.add.the.appropriate.. |
1e3ce0 | 20 20 20 20 20 20 20 20 20 20 68 6f 6f 6b 73 20 74 6f 20 47 65 74 44 65 66 61 75 6c 74 42 72 6f | ..........hooks.to.GetDefaultBro |
1e3d00 | 77 73 65 72 4d 69 67 72 61 74 6f 72 4b 65 79 20 69 6e 0a 20 20 20 20 20 20 20 20 20 20 20 62 72 | wserMigratorKey.in............br |
1e3d20 | 6f 77 73 65 72 2f 63 6f 6d 70 6f 6e 65 6e 74 73 2f 6d 69 67 72 61 74 69 6f 6e 2f 73 72 63 2f 6e | owser/components/migration/src/n |
1e3d40 | 73 50 72 6f 66 69 6c 65 4d 69 67 72 61 74 6f 72 2e 63 70 70 20 2d 2d 3e 0a 20 20 20 20 20 20 3c | sProfileMigrator.cpp.-->.......< |
1e3d60 | 72 61 64 69 6f 20 69 64 3d 22 70 68 6f 65 6e 69 78 22 20 20 20 6c 61 62 65 6c 3d 22 26 69 6d 70 | radio.id="phoenix"...label="&imp |
1e3d80 | 6f 72 74 46 72 6f 6d 50 68 6f 65 6e 69 78 2e 6c 61 62 65 6c 3b 22 20 20 20 61 63 63 65 73 73 6b | ortFromPhoenix.label;"...accessk |
1e3da0 | 65 79 3d 22 26 69 6d 70 6f 72 74 46 72 6f 6d 50 68 6f 65 6e 69 78 2e 61 63 63 65 73 73 6b 65 79 | ey="&importFromPhoenix.accesskey |
1e3dc0 | 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 72 61 64 69 6f 20 69 64 3d 22 73 65 61 6d 6f 6e 6b 65 79 22 | ;"/>.......<radio.id="seamonkey" |
1e3de0 | 20 6c 61 62 65 6c 3d 22 26 69 6d 70 6f 72 74 46 72 6f 6d 53 65 61 6d 6f 6e 6b 65 79 2e 6c 61 62 | .label="&importFromSeamonkey.lab |
1e3e00 | 65 6c 3b 22 20 61 63 63 65 73 73 6b 65 79 3d 22 26 69 6d 70 6f 72 74 46 72 6f 6d 53 65 61 6d 6f | el;".accesskey="&importFromSeamo |
1e3e20 | 6e 6b 65 79 2e 61 63 63 65 73 73 6b 65 79 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 72 61 64 69 6f 20 | nkey.accesskey;"/>.......<radio. |
1e3e40 | 69 64 3d 22 64 6f 67 62 65 72 74 22 20 20 20 6c 61 62 65 6c 3d 22 26 69 6d 70 6f 72 74 46 72 6f | id="dogbert"...label="&importFro |
1e3e60 | 6d 4e 65 74 73 63 61 70 65 34 2e 6c 61 62 65 6c 3b 22 20 61 63 63 65 73 73 6b 65 79 3d 22 26 69 | mNetscape4.label;".accesskey="&i |
1e3e80 | 6d 70 6f 72 74 46 72 6f 6d 4e 65 74 73 63 61 70 65 34 2e 61 63 63 65 73 73 6b 65 79 3b 22 2f 3e | mportFromNetscape4.accesskey;"/> |
1e3ea0 | 0a 20 20 20 20 20 20 3c 72 61 64 69 6f 20 69 64 3d 22 6f 70 65 72 61 22 20 20 20 20 20 6c 61 62 | .......<radio.id="opera".....lab |
1e3ec0 | 65 6c 3d 22 26 69 6d 70 6f 72 74 46 72 6f 6d 4f 70 65 72 61 2e 6c 61 62 65 6c 3b 22 20 20 20 20 | el="&importFromOpera.label;".... |
1e3ee0 | 20 61 63 63 65 73 73 6b 65 79 3d 22 26 69 6d 70 6f 72 74 46 72 6f 6d 4f 70 65 72 61 2e 61 63 63 | .accesskey="&importFromOpera.acc |
1e3f00 | 65 73 73 6b 65 79 3b 22 2f 3e 0a 3c 21 2d 2d 20 58 58 58 62 65 6e 20 2d 20 75 6e 63 6f 6d 6d 65 | esskey;"/>.<!--.XXXben.-.uncomme |
1e3f20 | 6e 74 20 74 68 65 73 65 20 61 73 20 77 65 20 77 72 69 74 65 20 6d 69 67 72 61 74 6f 72 73 20 66 | nt.these.as.we.write.migrators.f |
1e3f40 | 6f 72 20 74 68 65 6d 0a 20 20 20 20 20 20 3c 72 61 64 69 6f 20 69 64 3d 22 6b 6f 6e 71 75 65 72 | or.them.......<radio.id="konquer |
1e3f60 | 6f 72 22 20 6c 61 62 65 6c 3d 22 26 69 6d 70 6f 72 74 46 72 6f 6d 4b 6f 6e 71 75 65 72 6f 72 2e | or".label="&importFromKonqueror. |
1e3f80 | 6c 61 62 65 6c 3b 22 20 61 63 63 65 73 73 6b 65 79 3d 22 26 69 6d 70 6f 72 74 46 72 6f 6d 4b 6f | label;".accesskey="&importFromKo |
1e3fa0 | 6e 71 75 65 72 6f 72 2e 61 63 63 65 73 73 6b 65 79 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 72 61 64 | nqueror.accesskey;"/>.......<rad |
1e3fc0 | 69 6f 20 69 64 3d 22 65 70 69 70 68 61 6e 79 22 20 20 6c 61 62 65 6c 3d 22 26 69 6d 70 6f 72 74 | io.id="epiphany"..label="&import |
1e3fe0 | 46 72 6f 6d 45 70 69 70 68 61 6e 79 2e 6c 61 62 65 6c 3b 22 20 20 61 63 63 65 73 73 6b 65 79 3d | FromEpiphany.label;"..accesskey= |
1e4000 | 22 26 69 6d 70 6f 72 74 46 72 6f 6d 45 70 69 70 68 61 6e 79 2e 61 63 63 65 73 73 6b 65 79 3b 22 | "&importFromEpiphany.accesskey;" |
1e4020 | 2f 3e 0a 20 20 20 20 20 20 3c 72 61 64 69 6f 20 69 64 3d 22 67 61 6c 65 6f 6e 22 20 20 20 20 6c | />.......<radio.id="galeon"....l |
1e4040 | 61 62 65 6c 3d 22 26 69 6d 70 6f 72 74 46 72 6f 6d 47 61 6c 65 6f 6e 2e 6c 61 62 65 6c 3b 22 20 | abel="&importFromGaleon.label;". |
1e4060 | 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 69 6d 70 6f 72 74 46 72 6f 6d 47 61 6c 65 6f 6e 2e | ...accesskey="&importFromGaleon. |
1e4080 | 61 63 63 65 73 73 6b 65 79 3b 22 2f 3e 0a 20 20 2d 2d 3e 0a 20 20 20 20 20 20 3c 72 61 64 69 6f | accesskey;"/>...-->.......<radio |
1e40a0 | 20 69 64 3d 22 66 72 6f 6d 66 69 6c 65 22 20 20 6c 61 62 65 6c 3d 22 26 69 6d 70 6f 72 74 46 72 | .id="fromfile"..label="&importFr |
1e40c0 | 6f 6d 48 54 4d 4c 46 69 6c 65 2e 6c 61 62 65 6c 3b 22 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 | omHTMLFile.label;"..accesskey="& |
1e40e0 | 69 6d 70 6f 72 74 46 72 6f 6d 48 54 4d 4c 46 69 6c 65 2e 61 63 63 65 73 73 6b 65 79 3b 22 20 68 | importFromHTMLFile.accesskey;".h |
1e4100 | 69 64 64 65 6e 3d 22 74 72 75 65 22 2f 3e 0a 20 20 20 20 20 20 3c 72 61 64 69 6f 20 69 64 3d 22 | idden="true"/>.......<radio.id=" |
1e4120 | 6e 6f 74 68 69 6e 67 22 20 20 20 6c 61 62 65 6c 3d 22 26 69 6d 70 6f 72 74 46 72 6f 6d 4e 6f 74 | nothing"...label="&importFromNot |
1e4140 | 68 69 6e 67 2e 6c 61 62 65 6c 3b 22 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 69 6d 70 6f 72 | hing.label;"...accesskey="&impor |
1e4160 | 74 46 72 6f 6d 4e 6f 74 68 69 6e 67 2e 61 63 63 65 73 73 6b 65 79 3b 22 20 68 69 64 64 65 6e 3d | tFromNothing.accesskey;".hidden= |
1e4180 | 22 74 72 75 65 22 2f 3e 0a 20 20 20 20 3c 2f 72 61 64 69 6f 67 72 6f 75 70 3e 0a 20 20 20 20 3c | "true"/>.....</radiogroup>.....< |
1e41a0 | 6c 61 62 65 6c 20 69 64 3d 22 6e 6f 53 6f 75 72 63 65 73 22 20 68 69 64 64 65 6e 3d 22 74 72 75 | label.id="noSources".hidden="tru |
1e41c0 | 65 22 3e 26 6e 6f 4d 69 67 72 61 74 69 6f 6e 53 6f 75 72 63 65 73 2e 6c 61 62 65 6c 3b 3c 2f 6c | e">&noMigrationSources.label;</l |
1e41e0 | 61 62 65 6c 3e 0a 20 20 3c 2f 77 69 7a 61 72 64 70 61 67 65 3e 0a 0a 20 20 3c 77 69 7a 61 72 64 | abel>...</wizardpage>....<wizard |
1e4200 | 70 61 67 65 20 69 64 3d 22 73 65 6c 65 63 74 50 72 6f 66 69 6c 65 22 20 70 61 67 65 69 64 3d 22 | page.id="selectProfile".pageid=" |
1e4220 | 73 65 6c 65 63 74 50 72 6f 66 69 6c 65 22 20 6c 61 62 65 6c 3d 22 26 73 65 6c 65 63 74 50 72 6f | selectProfile".label="&selectPro |
1e4240 | 66 69 6c 65 2e 74 69 74 6c 65 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 65 78 74 3d | file.title;"...............next= |
1e4260 | 22 69 6d 70 6f 72 74 49 74 65 6d 73 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 70 61 | "importItems"...............onpa |
1e4280 | 67 65 73 68 6f 77 3d 22 72 65 74 75 72 6e 20 4d 69 67 72 61 74 69 6f 6e 57 69 7a 61 72 64 2e 6f | geshow="return.MigrationWizard.o |
1e42a0 | 6e 53 65 6c 65 63 74 50 72 6f 66 69 6c 65 50 61 67 65 53 68 6f 77 28 29 3b 22 0a 20 20 20 20 20 | nSelectProfilePageShow();"...... |
1e42c0 | 20 20 20 20 20 20 20 20 20 6f 6e 70 61 67 65 72 65 77 6f 75 6e 64 3d 22 72 65 74 75 72 6e 20 4d | .........onpagerewound="return.M |
1e42e0 | 69 67 72 61 74 69 6f 6e 57 69 7a 61 72 64 2e 6f 6e 53 65 6c 65 63 74 50 72 6f 66 69 6c 65 50 61 | igrationWizard.onSelectProfilePa |
1e4300 | 67 65 52 65 77 6f 75 6e 64 28 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 70 61 | geRewound();"...............onpa |
1e4320 | 67 65 61 64 76 61 6e 63 65 64 3d 22 72 65 74 75 72 6e 20 4d 69 67 72 61 74 69 6f 6e 57 69 7a 61 | geadvanced="return.MigrationWiza |
1e4340 | 72 64 2e 6f 6e 53 65 6c 65 63 74 50 72 6f 66 69 6c 65 50 61 67 65 41 64 76 61 6e 63 65 64 28 29 | rd.onSelectProfilePageAdvanced() |
1e4360 | 3b 22 3e 0a 20 20 20 20 3c 64 65 73 63 72 69 70 74 69 6f 6e 20 63 6f 6e 74 72 6f 6c 3d 22 70 72 | ;">.....<description.control="pr |
1e4380 | 6f 66 69 6c 65 73 22 3e 26 73 65 6c 65 63 74 50 72 6f 66 69 6c 65 2e 6c 61 62 65 6c 3b 3c 2f 64 | ofiles">&selectProfile.label;</d |
1e43a0 | 65 73 63 72 69 70 74 69 6f 6e 3e 0a 0a 20 20 20 20 3c 72 61 64 69 6f 67 72 6f 75 70 20 69 64 3d | escription>......<radiogroup.id= |
1e43c0 | 22 70 72 6f 66 69 6c 65 73 22 20 61 6c 69 67 6e 3d 22 6c 65 66 74 22 2f 3e 0a 20 20 3c 2f 77 69 | "profiles".align="left"/>...</wi |
1e43e0 | 7a 61 72 64 70 61 67 65 3e 0a 0a 20 20 3c 77 69 7a 61 72 64 70 61 67 65 20 69 64 3d 22 69 6d 70 | zardpage>....<wizardpage.id="imp |
1e4400 | 6f 72 74 49 74 65 6d 73 22 20 70 61 67 65 69 64 3d 22 69 6d 70 6f 72 74 49 74 65 6d 73 22 20 6c | ortItems".pageid="importItems".l |
1e4420 | 61 62 65 6c 3d 22 26 69 6d 70 6f 72 74 49 74 65 6d 73 2e 74 69 74 6c 65 3b 22 0a 20 20 20 20 20 | abel="&importItems.title;"...... |
1e4440 | 20 20 20 20 20 20 20 20 20 6e 65 78 74 3d 22 68 6f 6d 65 50 61 67 65 49 6d 70 6f 72 74 22 0a 20 | .........next="homePageImport".. |
1e4460 | 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 70 61 67 65 73 68 6f 77 3d 22 72 65 74 75 72 6e 20 | .............onpageshow="return. |
1e4480 | 4d 69 67 72 61 74 69 6f 6e 57 69 7a 61 72 64 2e 6f 6e 49 6d 70 6f 72 74 49 74 65 6d 73 50 61 67 | MigrationWizard.onImportItemsPag |
1e44a0 | 65 53 68 6f 77 28 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 70 61 67 65 72 65 | eShow();"...............onpagere |
1e44c0 | 77 6f 75 6e 64 3d 22 72 65 74 75 72 6e 20 4d 69 67 72 61 74 69 6f 6e 57 69 7a 61 72 64 2e 6f 6e | wound="return.MigrationWizard.on |
1e44e0 | 49 6d 70 6f 72 74 49 74 65 6d 73 50 61 67 65 52 65 77 6f 75 6e 64 28 29 3b 22 0a 20 20 20 20 20 | ImportItemsPageRewound();"...... |
1e4500 | 20 20 20 20 20 20 20 20 20 6f 6e 70 61 67 65 61 64 76 61 6e 63 65 64 3d 22 72 65 74 75 72 6e 20 | .........onpageadvanced="return. |
1e4520 | 4d 69 67 72 61 74 69 6f 6e 57 69 7a 61 72 64 2e 6f 6e 49 6d 70 6f 72 74 49 74 65 6d 73 50 61 67 | MigrationWizard.onImportItemsPag |
1e4540 | 65 41 64 76 61 6e 63 65 64 28 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6f | eAdvanced();"...............onco |
1e4560 | 6d 6d 61 6e 64 3d 22 4d 69 67 72 61 74 69 6f 6e 57 69 7a 61 72 64 2e 6f 6e 49 6d 70 6f 72 74 49 | mmand="MigrationWizard.onImportI |
1e4580 | 74 65 6d 43 6f 6d 6d 61 6e 64 28 29 3b 22 3e 0a 20 20 20 20 3c 64 65 73 63 72 69 70 74 69 6f 6e | temCommand();">.....<description |
1e45a0 | 20 63 6f 6e 74 72 6f 6c 3d 22 64 61 74 61 53 6f 75 72 63 65 73 22 3e 26 69 6d 70 6f 72 74 49 74 | .control="dataSources">&importIt |
1e45c0 | 65 6d 73 2e 6c 61 62 65 6c 3b 3c 2f 64 65 73 63 72 69 70 74 69 6f 6e 3e 0a 0a 20 20 20 20 3c 76 | ems.label;</description>......<v |
1e45e0 | 62 6f 78 20 69 64 3d 22 64 61 74 61 53 6f 75 72 63 65 73 22 20 73 74 79 6c 65 3d 22 6f 76 65 72 | box.id="dataSources".style="over |
1e4600 | 66 6c 6f 77 3a 20 61 75 74 6f 3b 20 2d 6d 6f 7a 2d 61 70 70 65 61 72 61 6e 63 65 3a 20 6c 69 73 | flow:.auto;.-moz-appearance:.lis |
1e4620 | 74 62 6f 78 22 20 61 6c 69 67 6e 3d 22 6c 65 66 74 22 20 66 6c 65 78 3d 22 31 22 20 72 6f 6c 65 | tbox".align="left".flex="1".role |
1e4640 | 3d 22 67 72 6f 75 70 22 2f 3e 0a 20 20 3c 2f 77 69 7a 61 72 64 70 61 67 65 3e 0a 0a 20 20 3c 77 | ="group"/>...</wizardpage>....<w |
1e4660 | 69 7a 61 72 64 70 61 67 65 20 69 64 3d 22 68 6f 6d 65 50 61 67 65 49 6d 70 6f 72 74 22 20 70 61 | izardpage.id="homePageImport".pa |
1e4680 | 67 65 69 64 3d 22 68 6f 6d 65 50 61 67 65 49 6d 70 6f 72 74 22 0a 20 20 20 20 20 20 20 20 20 20 | geid="homePageImport"........... |
1e46a0 | 20 20 20 20 6e 65 78 74 3d 22 6d 69 67 72 61 74 69 6e 67 22 0a 20 20 20 20 20 20 20 20 20 20 20 | ....next="migrating"............ |
1e46c0 | 20 20 20 6f 6e 70 61 67 65 73 68 6f 77 3d 22 72 65 74 75 72 6e 20 4d 69 67 72 61 74 69 6f 6e 57 | ...onpageshow="return.MigrationW |
1e46e0 | 69 7a 61 72 64 2e 6f 6e 48 6f 6d 65 50 61 67 65 4d 69 67 72 61 74 69 6f 6e 50 61 67 65 53 68 6f | izard.onHomePageMigrationPageSho |
1e4700 | 77 28 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 70 61 67 65 61 64 76 61 6e 63 | w();"...............onpageadvanc |
1e4720 | 65 64 3d 22 72 65 74 75 72 6e 20 4d 69 67 72 61 74 69 6f 6e 57 69 7a 61 72 64 2e 6f 6e 48 6f 6d | ed="return.MigrationWizard.onHom |
1e4740 | 65 50 61 67 65 4d 69 67 72 61 74 69 6f 6e 50 61 67 65 41 64 76 61 6e 63 65 64 28 29 3b 22 3e 0a | ePageMigrationPageAdvanced();">. |
1e4760 | 0a 20 20 20 20 3c 64 65 73 63 72 69 70 74 69 6f 6e 20 69 64 3d 22 68 6f 6d 65 50 61 67 65 49 6d | .....<description.id="homePageIm |
1e4780 | 70 6f 72 74 44 65 73 63 22 20 63 6f 6e 74 72 6f 6c 3d 22 68 6f 6d 65 50 61 67 65 52 61 64 69 6f | portDesc".control="homePageRadio |
1e47a0 | 47 72 6f 75 70 22 2f 3e 0a 20 20 20 20 3c 72 61 64 69 6f 67 72 6f 75 70 20 69 64 3d 22 68 6f 6d | Group"/>.....<radiogroup.id="hom |
1e47c0 | 65 50 61 67 65 52 61 64 69 6f 67 72 6f 75 70 22 3e 0a 20 20 20 20 20 20 3c 72 61 64 69 6f 20 69 | ePageRadiogroup">.......<radio.i |
1e47e0 | 64 3d 22 68 6f 6d 65 50 61 67 65 53 69 6e 67 6c 65 53 74 61 72 74 22 20 73 65 6c 65 63 74 65 64 | d="homePageSingleStart".selected |
1e4800 | 3d 22 74 72 75 65 22 20 2f 3e 0a 20 20 20 20 20 20 3c 72 61 64 69 6f 20 69 64 3d 22 6f 6c 64 48 | ="true"./>.......<radio.id="oldH |
1e4820 | 6f 6d 65 50 61 67 65 22 20 68 69 64 64 65 6e 3d 22 74 72 75 65 22 20 2f 3e 0a 20 20 20 20 3c 2f | omePage".hidden="true"./>.....</ |
1e4840 | 72 61 64 69 6f 67 72 6f 75 70 3e 0a 20 20 3c 2f 77 69 7a 61 72 64 70 61 67 65 3e 0a 0a 20 20 3c | radiogroup>...</wizardpage>....< |
1e4860 | 77 69 7a 61 72 64 70 61 67 65 20 69 64 3d 22 6d 69 67 72 61 74 69 6e 67 22 20 70 61 67 65 69 64 | wizardpage.id="migrating".pageid |
1e4880 | 3d 22 6d 69 67 72 61 74 69 6e 67 22 20 6c 61 62 65 6c 3d 22 26 6d 69 67 72 61 74 69 6e 67 2e 74 | ="migrating".label="&migrating.t |
1e48a0 | 69 74 6c 65 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 65 78 74 3d 22 64 6f 6e 65 22 | itle;"...............next="done" |
1e48c0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 70 61 67 65 73 68 6f 77 3d 22 4d 69 67 72 61 | ...............onpageshow="Migra |
1e48e0 | 74 69 6f 6e 57 69 7a 61 72 64 2e 6f 6e 4d 69 67 72 61 74 69 6e 67 50 61 67 65 53 68 6f 77 28 29 | tionWizard.onMigratingPageShow() |
1e4900 | 3b 22 3e 0a 20 20 20 20 3c 64 65 73 63 72 69 70 74 69 6f 6e 20 63 6f 6e 74 72 6f 6c 3d 22 6d 69 | ;">.....<description.control="mi |
1e4920 | 67 72 61 74 69 6e 67 49 74 65 6d 73 22 3e 26 6d 69 67 72 61 74 69 6e 67 2e 6c 61 62 65 6c 3b 3c | gratingItems">&migrating.label;< |
1e4940 | 2f 64 65 73 63 72 69 70 74 69 6f 6e 3e 0a 0a 20 20 20 20 3c 76 62 6f 78 20 69 64 3d 22 6d 69 67 | /description>......<vbox.id="mig |
1e4960 | 72 61 74 69 6e 67 49 74 65 6d 73 22 20 73 74 79 6c 65 3d 22 6f 76 65 72 66 6c 6f 77 3a 20 61 75 | ratingItems".style="overflow:.au |
1e4980 | 74 6f 3b 22 20 61 6c 69 67 6e 3d 22 6c 65 66 74 22 20 72 6f 6c 65 3d 22 67 72 6f 75 70 22 2f 3e | to;".align="left".role="group"/> |
1e49a0 | 0a 20 20 3c 2f 77 69 7a 61 72 64 70 61 67 65 3e 0a 0a 20 20 3c 77 69 7a 61 72 64 70 61 67 65 20 | ...</wizardpage>....<wizardpage. |
1e49c0 | 69 64 3d 22 64 6f 6e 65 22 20 70 61 67 65 69 64 3d 22 64 6f 6e 65 22 20 6c 61 62 65 6c 3d 22 26 | id="done".pageid="done".label="& |
1e49e0 | 64 6f 6e 65 2e 74 69 74 6c 65 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 70 61 67 | done.title;"...............onpag |
1e4a00 | 65 73 68 6f 77 3d 22 4d 69 67 72 61 74 69 6f 6e 57 69 7a 61 72 64 2e 6f 6e 44 6f 6e 65 50 61 67 | eshow="MigrationWizard.onDonePag |
1e4a20 | 65 53 68 6f 77 28 29 3b 22 3e 0a 20 20 20 20 3c 64 65 73 63 72 69 70 74 69 6f 6e 20 63 6f 6e 74 | eShow();">.....<description.cont |
1e4a40 | 72 6f 6c 3d 22 64 6f 6e 65 49 74 65 6d 73 22 3e 26 64 6f 6e 65 2e 6c 61 62 65 6c 3b 3c 2f 64 65 | rol="doneItems">&done.label;</de |
1e4a60 | 73 63 72 69 70 74 69 6f 6e 3e 0a 0a 20 20 20 20 3c 76 62 6f 78 20 69 64 3d 22 64 6f 6e 65 49 74 | scription>......<vbox.id="doneIt |
1e4a80 | 65 6d 73 22 20 73 74 79 6c 65 3d 22 6f 76 65 72 66 6c 6f 77 3a 20 61 75 74 6f 3b 22 20 61 6c 69 | ems".style="overflow:.auto;".ali |
1e4aa0 | 67 6e 3d 22 6c 65 66 74 22 20 72 6f 6c 65 3d 22 67 72 6f 75 70 22 2f 3e 0a 20 20 3c 2f 77 69 7a | gn="left".role="group"/>...</wiz |
1e4ac0 | 61 72 64 70 61 67 65 3e 0a 0a 3c 2f 77 69 7a 61 72 64 3e 0a 0a 50 4b 03 04 14 00 00 00 00 00 f9 | ardpage>..</wizard>..PK......... |
1e4ae0 | 4b 18 3b 4d d6 b3 79 c2 3d 00 00 c2 3d 00 00 26 00 00 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 | K.;M..y.=...=..&...content/brows |
1e4b00 | 65 72 2f 6d 69 67 72 61 74 69 6f 6e 2f 6d 69 67 72 61 74 69 6f 6e 2e 6a 73 2f 2f 40 6c 69 6e 65 | er/migration/migration.js//@line |
1e4b20 | 20 33 36 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 2f 6c 69 6e 75 78 5f 62 75 | .36."/builds/moz2_slave/linux_bu |
1e4b40 | 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 63 6f 6d 70 6f 6e 65 6e 74 73 2f 6d 69 67 | ild/build/browser/components/mig |
1e4b60 | 72 61 74 69 6f 6e 2f 63 6f 6e 74 65 6e 74 2f 6d 69 67 72 61 74 69 6f 6e 2e 6a 73 22 0a 0a 63 6f | ration/content/migration.js"..co |
1e4b80 | 6e 73 74 20 6b 49 4d 69 67 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 | nst.kIMig.=.Components.interface |
1e4ba0 | 73 2e 6e 73 49 42 72 6f 77 73 65 72 50 72 6f 66 69 6c 65 4d 69 67 72 61 74 6f 72 3b 0a 63 6f 6e | s.nsIBrowserProfileMigrator;.con |
1e4bc0 | 73 74 20 6b 49 50 53 74 61 72 74 75 70 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 | st.kIPStartup.=.Components.inter |
1e4be0 | 66 61 63 65 73 2e 6e 73 49 50 72 6f 66 69 6c 65 53 74 61 72 74 75 70 3b 0a 63 6f 6e 73 74 20 6b | faces.nsIProfileStartup;.const.k |
1e4c00 | 50 72 6f 66 69 6c 65 4d 69 67 72 61 74 6f 72 43 6f 6e 74 72 61 63 74 49 44 50 72 65 66 69 78 20 | ProfileMigratorContractIDPrefix. |
1e4c20 | 3d 20 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 70 72 6f 66 69 6c 65 2f 6d 69 67 72 61 74 6f 72 | =."@mozilla.org/profile/migrator |
1e4c40 | 3b 31 3f 61 70 70 3d 62 72 6f 77 73 65 72 26 74 79 70 65 3d 22 3b 0a 0a 76 61 72 20 4d 69 67 72 | ;1?app=browser&type=";..var.Migr |
1e4c60 | 61 74 69 6f 6e 57 69 7a 61 72 64 20 3d 20 7b 0a 20 20 5f 73 6f 75 72 63 65 3a 20 22 22 2c 20 20 | ationWizard.=.{..._source:."",.. |
1e4c80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 53 6f 75 72 63 65 20 50 72 6f 66 69 6c | ................//.Source.Profil |
1e4ca0 | 65 20 4d 69 67 72 61 74 6f 72 20 43 6f 6e 74 72 61 63 74 49 44 20 73 75 66 66 69 78 0a 20 20 5f | e.Migrator.ContractID.suffix..._ |
1e4cc0 | 69 74 65 6d 73 46 6c 61 67 73 3a 20 6b 49 4d 69 67 2e 41 4c 4c 2c 20 20 20 20 20 20 20 2f 2f 20 | itemsFlags:.kIMig.ALL,.......//. |
1e4ce0 | 53 65 6c 65 63 74 65 64 20 49 6d 70 6f 72 74 20 44 61 74 61 20 53 6f 75 72 63 65 73 20 28 31 36 | Selected.Import.Data.Sources.(16 |
1e4d00 | 2d 62 69 74 20 62 69 74 66 69 65 6c 64 29 0a 20 20 5f 73 65 6c 65 63 74 65 64 50 72 6f 66 69 6c | -bit.bitfield)..._selectedProfil |
1e4d20 | 65 3a 20 6e 75 6c 6c 2c 20 20 20 20 20 20 20 2f 2f 20 53 65 6c 65 63 74 65 64 20 50 72 6f 66 69 | e:.null,.......//.Selected.Profi |
1e4d40 | 6c 65 20 6e 61 6d 65 20 74 6f 20 69 6d 70 6f 72 74 20 66 72 6f 6d 0a 20 20 5f 77 69 7a 3a 20 6e | le.name.to.import.from..._wiz:.n |
1e4d60 | 75 6c 6c 2c 0a 20 20 5f 6d 69 67 72 61 74 6f 72 3a 20 6e 75 6c 6c 2c 0a 20 20 5f 61 75 74 6f 4d | ull,..._migrator:.null,..._autoM |
1e4d80 | 69 67 72 61 74 65 3a 20 6e 75 6c 6c 2c 0a 20 20 5f 62 6f 6f 6b 6d 61 72 6b 73 3a 20 66 61 6c 73 | igrate:.null,..._bookmarks:.fals |
1e4da0 | 65 2c 0a 0a 20 20 69 6e 69 74 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 | e,....init:.function.()...{..... |
1e4dc0 | 76 61 72 20 6f 73 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d 6f | var.os.=.Components.classes["@mo |
1e4de0 | 7a 69 6c 6c 61 2e 6f 72 67 2f 6f 62 73 65 72 76 65 72 2d 73 65 72 76 69 63 65 3b 31 22 5d 0a 20 | zilla.org/observer-service;1"].. |
1e4e00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 | .......................getServic |
1e4e20 | 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 4f 62 73 65 72 | e(Components.interfaces.nsIObser |
1e4e40 | 76 65 72 53 65 72 76 69 63 65 29 3b 0a 20 20 20 20 6f 73 2e 61 64 64 4f 62 73 65 72 76 65 72 28 | verService);.....os.addObserver( |
1e4e60 | 74 68 69 73 2c 20 22 4d 69 67 72 61 74 69 6f 6e 3a 53 74 61 72 74 65 64 22 2c 20 66 61 6c 73 65 | this,."Migration:Started",.false |
1e4e80 | 29 3b 0a 20 20 20 20 6f 73 2e 61 64 64 4f 62 73 65 72 76 65 72 28 74 68 69 73 2c 20 22 4d 69 67 | );.....os.addObserver(this,."Mig |
1e4ea0 | 72 61 74 69 6f 6e 3a 49 74 65 6d 42 65 66 6f 72 65 4d 69 67 72 61 74 65 22 2c 20 66 61 6c 73 65 | ration:ItemBeforeMigrate",.false |
1e4ec0 | 29 3b 0a 20 20 20 20 6f 73 2e 61 64 64 4f 62 73 65 72 76 65 72 28 74 68 69 73 2c 20 22 4d 69 67 | );.....os.addObserver(this,."Mig |
1e4ee0 | 72 61 74 69 6f 6e 3a 49 74 65 6d 41 66 74 65 72 4d 69 67 72 61 74 65 22 2c 20 66 61 6c 73 65 29 | ration:ItemAfterMigrate",.false) |
1e4f00 | 3b 0a 20 20 20 20 6f 73 2e 61 64 64 4f 62 73 65 72 76 65 72 28 74 68 69 73 2c 20 22 4d 69 67 72 | ;.....os.addObserver(this,."Migr |
1e4f20 | 61 74 69 6f 6e 3a 45 6e 64 65 64 22 2c 20 66 61 6c 73 65 29 3b 0a 0a 20 20 20 20 74 68 69 73 2e | ation:Ended",.false);......this. |
1e4f40 | 5f 77 69 7a 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 64 6f 63 75 6d 65 6e 74 45 6c 65 6d 65 6e 74 3b | _wiz.=.document.documentElement; |
1e4f60 | 0a 0a 20 20 20 20 69 66 20 28 22 61 72 67 75 6d 65 6e 74 73 22 20 69 6e 20 77 69 6e 64 6f 77 20 | ......if.("arguments".in.window. |
1e4f80 | 26 26 20 77 69 6e 64 6f 77 2e 61 72 67 75 6d 65 6e 74 73 2e 6c 65 6e 67 74 68 20 3e 20 31 29 20 | &&.window.arguments.length.>.1). |
1e4fa0 | 7b 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 73 6f 75 72 63 65 20 3d 20 77 69 6e 64 6f 77 2e 61 72 | {.......this._source.=.window.ar |
1e4fc0 | 67 75 6d 65 6e 74 73 5b 30 5d 3b 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 6d 69 67 72 61 74 6f 72 | guments[0];.......this._migrator |
1e4fe0 | 20 3d 20 77 69 6e 64 6f 77 2e 61 72 67 75 6d 65 6e 74 73 5b 31 5d 2e 51 75 65 72 79 49 6e 74 65 | .=.window.arguments[1].QueryInte |
1e5000 | 72 66 61 63 65 28 6b 49 4d 69 67 29 3b 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 61 75 74 6f 4d 69 | rface(kIMig);.......this._autoMi |
1e5020 | 67 72 61 74 65 20 3d 20 77 69 6e 64 6f 77 2e 61 72 67 75 6d 65 6e 74 73 5b 32 5d 2e 51 75 65 72 | grate.=.window.arguments[2].Quer |
1e5040 | 79 49 6e 74 65 72 66 61 63 65 28 6b 49 50 53 74 61 72 74 75 70 29 3b 0a 0a 20 20 20 20 20 20 69 | yInterface(kIPStartup);........i |
1e5060 | 66 20 28 74 68 69 73 2e 5f 61 75 74 6f 4d 69 67 72 61 74 65 29 20 7b 0a 20 20 20 20 20 20 20 20 | f.(this._autoMigrate).{......... |
1e5080 | 2f 2f 20 53 68 6f 77 20 74 68 65 20 22 6e 6f 74 68 69 6e 67 22 20 6f 70 74 69 6f 6e 20 69 6e 20 | //.Show.the."nothing".option.in. |
1e50a0 | 74 68 65 20 61 75 74 6f 6d 69 67 72 61 74 65 20 63 61 73 65 20 74 6f 20 70 72 6f 76 69 64 65 20 | the.automigrate.case.to.provide. |
1e50c0 | 61 6e 0a 20 20 20 20 20 20 20 20 2f 2f 20 65 61 73 69 6c 79 20 69 64 65 6e 74 69 66 69 61 62 6c | an.........//.easily.identifiabl |
1e50e0 | 65 20 77 61 79 20 74 6f 20 61 76 6f 69 64 20 6d 69 67 72 61 74 69 6f 6e 20 61 6e 64 20 63 72 65 | e.way.to.avoid.migration.and.cre |
1e5100 | 61 74 65 20 61 20 6e 65 77 20 70 72 6f 66 69 6c 65 2e 0a 20 20 20 20 20 20 20 20 76 61 72 20 6e | ate.a.new.profile..........var.n |
1e5120 | 6f 74 68 69 6e 67 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 | othing.=.document.getElementById |
1e5140 | 28 22 6e 6f 74 68 69 6e 67 22 29 3b 0a 20 20 20 20 20 20 20 20 6e 6f 74 68 69 6e 67 2e 68 69 64 | ("nothing");.........nothing.hid |
1e5160 | 64 65 6e 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 0a 20 20 20 20 | den.=.false;.......}.....}...... |
1e5180 | 74 68 69 73 2e 6f 6e 49 6d 70 6f 72 74 53 6f 75 72 63 65 50 61 67 65 53 68 6f 77 28 29 3b 0a 20 | this.onImportSourcePageShow();.. |
1e51a0 | 20 7d 2c 0a 0a 20 20 75 6e 69 6e 69 74 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 | .},....uninit:.function.()...{.. |
1e51c0 | 20 20 20 76 61 72 20 6f 73 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 | ...var.os.=.Components.classes[" |
1e51e0 | 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6f 62 73 65 72 76 65 72 2d 73 65 72 76 69 63 65 3b 31 22 | @mozilla.org/observer-service;1" |
1e5200 | 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 | ].........................getSer |
1e5220 | 76 69 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 4f 62 | vice(Components.interfaces.nsIOb |
1e5240 | 73 65 72 76 65 72 53 65 72 76 69 63 65 29 3b 0a 20 20 20 20 6f 73 2e 72 65 6d 6f 76 65 4f 62 73 | serverService);.....os.removeObs |
1e5260 | 65 72 76 65 72 28 74 68 69 73 2c 20 22 4d 69 67 72 61 74 69 6f 6e 3a 53 74 61 72 74 65 64 22 29 | erver(this,."Migration:Started") |
1e5280 | 3b 0a 20 20 20 20 6f 73 2e 72 65 6d 6f 76 65 4f 62 73 65 72 76 65 72 28 74 68 69 73 2c 20 22 4d | ;.....os.removeObserver(this,."M |
1e52a0 | 69 67 72 61 74 69 6f 6e 3a 49 74 65 6d 42 65 66 6f 72 65 4d 69 67 72 61 74 65 22 29 3b 0a 20 20 | igration:ItemBeforeMigrate");... |
1e52c0 | 20 20 6f 73 2e 72 65 6d 6f 76 65 4f 62 73 65 72 76 65 72 28 74 68 69 73 2c 20 22 4d 69 67 72 61 | ..os.removeObserver(this,."Migra |
1e52e0 | 74 69 6f 6e 3a 49 74 65 6d 41 66 74 65 72 4d 69 67 72 61 74 65 22 29 3b 0a 20 20 20 20 6f 73 2e | tion:ItemAfterMigrate");.....os. |
1e5300 | 72 65 6d 6f 76 65 4f 62 73 65 72 76 65 72 28 74 68 69 73 2c 20 22 4d 69 67 72 61 74 69 6f 6e 3a | removeObserver(this,."Migration: |
1e5320 | 45 6e 64 65 64 22 29 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2f 20 31 20 2d 20 49 6d 70 6f 72 74 20 53 | Ended");...},....//.1.-.Import.S |
1e5340 | 6f 75 72 63 65 0a 20 20 6f 6e 49 6d 70 6f 72 74 53 6f 75 72 63 65 50 61 67 65 53 68 6f 77 3a 20 | ource...onImportSourcePageShow:. |
1e5360 | 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 2f 2f 20 52 65 66 65 72 65 6e 63 65 | function.()...{.....//.Reference |
1e5380 | 20 74 6f 20 74 68 65 20 22 46 72 6f 6d 20 46 69 6c 65 22 20 72 61 64 69 6f 20 62 75 74 74 6f 6e | .to.the."From.File".radio.button |
1e53a0 | 20 0a 20 20 20 20 76 61 72 20 66 72 6f 6d 66 69 6c 65 20 3d 20 6e 75 6c 6c 3b 0a 0a 20 20 20 20 | ......var.fromfile.=.null;...... |
1e53c0 | 2f 2f 58 58 58 71 75 61 72 6b 20 54 68 69 73 20 66 75 6e 63 74 69 6f 6e 20 69 73 20 63 61 6c 6c | //XXXquark.This.function.is.call |
1e53e0 | 65 64 20 62 65 66 6f 72 65 20 69 6e 69 74 2c 20 73 6f 20 63 68 65 63 6b 20 66 6f 72 20 62 6f 6f | ed.before.init,.so.check.for.boo |
1e5400 | 6b 6d 61 72 6b 73 20 68 65 72 65 0a 20 20 20 20 69 66 20 28 22 61 72 67 75 6d 65 6e 74 73 22 20 | kmarks.here.....if.("arguments". |
1e5420 | 69 6e 20 77 69 6e 64 6f 77 20 26 26 20 77 69 6e 64 6f 77 2e 61 72 67 75 6d 65 6e 74 73 5b 30 5d | in.window.&&.window.arguments[0] |
1e5440 | 20 3d 3d 20 22 62 6f 6f 6b 6d 61 72 6b 73 22 29 20 7b 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 62 | .==."bookmarks").{.......this._b |
1e5460 | 6f 6f 6b 6d 61 72 6b 73 20 3d 20 74 72 75 65 3b 0a 0a 20 20 20 20 20 20 66 72 6f 6d 66 69 6c 65 | ookmarks.=.true;........fromfile |
1e5480 | 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 66 72 6f 6d | .=.document.getElementById("from |
1e54a0 | 66 69 6c 65 22 29 3b 0a 20 20 20 20 20 20 66 72 6f 6d 66 69 6c 65 2e 68 69 64 64 65 6e 20 3d 20 | file");.......fromfile.hidden.=. |
1e54c0 | 66 61 6c 73 65 3b 0a 0a 20 20 20 20 20 20 76 61 72 20 69 6d 70 6f 72 74 42 6f 6f 6b 6d 61 72 6b | false;........var.importBookmark |
1e54e0 | 73 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 69 6d 70 | s.=.document.getElementById("imp |
1e5500 | 6f 72 74 42 6f 6f 6b 6d 61 72 6b 73 22 29 3b 0a 20 20 20 20 20 20 69 6d 70 6f 72 74 42 6f 6f 6b | ortBookmarks");.......importBook |
1e5520 | 6d 61 72 6b 73 2e 68 69 64 64 65 6e 20 3d 20 66 61 6c 73 65 3b 0a 0a 20 20 20 20 20 20 76 61 72 | marks.hidden.=.false;........var |
1e5540 | 20 69 6d 70 6f 72 74 41 6c 6c 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 | .importAll.=.document.getElement |
1e5560 | 42 79 49 64 28 22 69 6d 70 6f 72 74 41 6c 6c 22 29 3b 0a 20 20 20 20 20 20 69 6d 70 6f 72 74 41 | ById("importAll");.......importA |
1e5580 | 6c 6c 2e 68 69 64 64 65 6e 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 74 68 69 | ll.hidden.=.true;.....}......thi |
1e55a0 | 73 2e 5f 77 69 7a 2e 63 61 6e 52 65 77 69 6e 64 20 3d 20 66 61 6c 73 65 3b 0a 0a 20 20 20 20 2f | s._wiz.canRewind.=.false;....../ |
1e55c0 | 2f 20 54 68 65 20 6d 69 67 72 61 74 6f 72 20 74 6f 20 73 65 6c 65 63 74 2e 20 49 66 20 74 68 65 | /.The.migrator.to.select..If.the |
1e55e0 | 20 22 66 72 6f 6d 66 69 6c 65 22 20 6d 69 67 72 61 74 6f 72 20 69 73 20 61 76 61 69 6c 61 62 6c | ."fromfile".migrator.is.availabl |
1e5600 | 65 2c 20 75 73 65 20 69 74 0a 20 20 20 20 2f 2f 20 61 73 20 74 68 65 20 64 65 66 61 75 6c 74 20 | e,.use.it.....//.as.the.default. |
1e5620 | 69 6e 20 63 61 73 65 20 77 65 20 68 61 76 65 20 6e 6f 20 6f 74 68 65 72 20 6d 69 67 72 61 74 6f | in.case.we.have.no.other.migrato |
1e5640 | 72 73 2e 0a 20 20 20 20 76 61 72 20 73 65 6c 65 63 74 65 64 4d 69 67 72 61 74 6f 72 20 3d 20 66 | rs......var.selectedMigrator.=.f |
1e5660 | 72 6f 6d 66 69 6c 65 3b 0a 0a 20 20 20 20 2f 2f 20 46 69 67 75 72 65 20 6f 75 74 20 77 68 61 74 | romfile;......//.Figure.out.what |
1e5680 | 20 73 6f 75 72 63 65 20 61 70 70 73 20 61 72 65 20 61 72 65 20 61 76 61 69 6c 61 62 6c 65 20 74 | .source.apps.are.are.available.t |
1e56a0 | 6f 20 69 6d 70 6f 72 74 20 66 72 6f 6d 3a 0a 20 20 20 20 76 61 72 20 67 72 6f 75 70 20 3d 20 64 | o.import.from:.....var.group.=.d |
1e56c0 | 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 69 6d 70 6f 72 74 53 6f | ocument.getElementById("importSo |
1e56e0 | 75 72 63 65 47 72 6f 75 70 22 29 3b 0a 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b | urceGroup");.....for.(var.i.=.0; |
1e5700 | 20 69 20 3c 20 67 72 6f 75 70 2e 63 68 69 6c 64 4e 6f 64 65 73 2e 6c 65 6e 67 74 68 3b 20 2b 2b | .i.<.group.childNodes.length;.++ |
1e5720 | 69 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 73 75 66 66 69 78 20 3d 20 67 72 6f 75 70 2e 63 68 | i).{.......var.suffix.=.group.ch |
1e5740 | 69 6c 64 4e 6f 64 65 73 5b 69 5d 2e 69 64 3b 0a 20 20 20 20 20 20 69 66 20 28 73 75 66 66 69 78 | ildNodes[i].id;.......if.(suffix |
1e5760 | 20 21 3d 20 22 6e 6f 74 68 69 6e 67 22 20 26 26 20 73 75 66 66 69 78 20 21 3d 20 22 66 72 6f 6d | .!=."nothing".&&.suffix.!=."from |
1e5780 | 66 69 6c 65 22 29 20 7b 0a 20 20 20 20 20 20 20 20 76 61 72 20 63 6f 6e 74 72 61 63 74 49 44 20 | file").{.........var.contractID. |
1e57a0 | 3d 20 6b 50 72 6f 66 69 6c 65 4d 69 67 72 61 74 6f 72 43 6f 6e 74 72 61 63 74 49 44 50 72 65 66 | =.kProfileMigratorContractIDPref |
1e57c0 | 69 78 20 2b 20 73 75 66 66 69 78 3b 0a 20 20 20 20 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 | ix.+.suffix;.........try.{...... |
1e57e0 | 20 20 20 20 20 76 61 72 20 6d 69 67 72 61 74 6f 72 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 | .....var.migrator.=.Components.c |
1e5800 | 6c 61 73 73 65 73 5b 63 6f 6e 74 72 61 63 74 49 44 5d 2e 63 72 65 61 74 65 49 6e 73 74 61 6e 63 | lasses[contractID].createInstanc |
1e5820 | 65 28 6b 49 4d 69 67 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 63 61 74 63 | e(kIMig);.........}.........catc |
1e5840 | 68 20 28 65 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 64 75 6d 70 28 22 2a 2a 2a 20 69 6e 76 61 | h.(e).{...........dump("***.inva |
1e5860 | 6c 69 64 20 63 6f 6e 74 72 61 63 74 49 44 20 3d 22 20 2b 20 63 6f 6e 74 72 61 63 74 49 44 20 2b | lid.contractID.=".+.contractID.+ |
1e5880 | 20 22 5c 6e 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 20 20 20 20 | ."\n");...........return;....... |
1e58a0 | 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 69 66 20 28 6d 69 67 72 61 74 6f 72 2e 73 6f 75 72 63 65 | ..}..........if.(migrator.source |
1e58c0 | 45 78 69 73 74 73 20 26 26 0a 20 20 20 20 20 20 20 20 20 20 20 20 21 28 73 75 66 66 69 78 20 3d | Exists.&&.............!(suffix.= |
1e58e0 | 3d 20 22 70 68 6f 65 6e 69 78 22 20 26 26 20 21 74 68 69 73 2e 5f 61 75 74 6f 4d 69 67 72 61 74 | =."phoenix".&&.!this._autoMigrat |
1e5900 | 65 29 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 53 61 76 65 20 74 68 69 73 20 61 73 20 | e)).{...........//.Save.this.as. |
1e5920 | 74 68 65 20 66 69 72 73 74 20 73 65 6c 65 63 74 61 62 6c 65 20 69 74 65 6d 2c 20 69 66 20 77 65 | the.first.selectable.item,.if.we |
1e5940 | 20 64 6f 6e 27 74 20 61 6c 72 65 61 64 79 20 68 61 76 65 0a 20 20 20 20 20 20 20 20 20 20 2f 2f | .don't.already.have...........// |
1e5960 | 20 6f 6e 65 2c 20 6f 72 20 69 66 20 69 74 20 69 73 20 74 68 65 20 6d 69 67 72 61 74 6f 72 20 74 | .one,.or.if.it.is.the.migrator.t |
1e5980 | 68 61 74 20 77 61 73 20 70 61 73 73 65 64 20 74 6f 20 75 73 2e 0a 20 20 20 20 20 20 20 20 20 20 | hat.was.passed.to.us............ |
1e59a0 | 69 66 20 28 21 73 65 6c 65 63 74 65 64 4d 69 67 72 61 74 6f 72 20 7c 7c 20 74 68 69 73 2e 5f 73 | if.(!selectedMigrator.||.this._s |
1e59c0 | 6f 75 72 63 65 20 3d 3d 20 73 75 66 66 69 78 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 73 65 6c | ource.==.suffix).............sel |
1e59e0 | 65 63 74 65 64 4d 69 67 72 61 74 6f 72 20 3d 20 67 72 6f 75 70 2e 63 68 69 6c 64 4e 6f 64 65 73 | ectedMigrator.=.group.childNodes |
1e5a00 | 5b 69 5d 3b 0a 20 20 20 20 20 20 20 20 7d 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 20 20 20 20 | [i];.........}.else.{........... |
1e5a20 | 2f 2f 20 48 69 64 65 20 74 68 69 73 20 6f 70 74 69 6f 6e 0a 20 20 20 20 20 20 20 20 20 20 67 72 | //.Hide.this.option...........gr |
1e5a40 | 6f 75 70 2e 63 68 69 6c 64 4e 6f 64 65 73 5b 69 5d 2e 68 69 64 64 65 6e 20 3d 20 74 72 75 65 3b | oup.childNodes[i].hidden.=.true; |
1e5a60 | 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 0a 20 20 20 20 69 66 | .........}.......}.....}......if |
1e5a80 | 20 28 73 65 6c 65 63 74 65 64 4d 69 67 72 61 74 6f 72 29 0a 20 20 20 20 20 20 67 72 6f 75 70 2e | .(selectedMigrator).......group. |
1e5aa0 | 73 65 6c 65 63 74 65 64 49 74 65 6d 20 3d 20 73 65 6c 65 63 74 65 64 4d 69 67 72 61 74 6f 72 3b | selectedItem.=.selectedMigrator; |
1e5ac0 | 0a 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 2f 2f 20 57 65 20 64 69 64 6e 27 74 20 66 | .....else.{.......//.We.didn't.f |
1e5ae0 | 69 6e 64 20 61 20 6d 69 67 72 61 74 6f 72 2c 20 6e 6f 74 69 66 79 20 74 68 65 20 75 73 65 72 0a | ind.a.migrator,.notify.the.user. |
1e5b00 | 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 6e | ......document.getElementById("n |
1e5b20 | 6f 53 6f 75 72 63 65 73 22 29 2e 68 69 64 64 65 6e 20 3d 20 66 61 6c 73 65 3b 0a 0a 20 20 20 20 | oSources").hidden.=.false;...... |
1e5b40 | 20 20 74 68 69 73 2e 5f 77 69 7a 2e 63 61 6e 41 64 76 61 6e 63 65 20 3d 20 66 61 6c 73 65 3b 0a | ..this._wiz.canAdvance.=.false;. |
1e5b60 | 0a 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 | .......document.getElementById(" |
1e5b80 | 69 6d 70 6f 72 74 42 6f 6f 6b 6d 61 72 6b 73 22 29 2e 68 69 64 64 65 6e 20 3d 20 74 72 75 65 3b | importBookmarks").hidden.=.true; |
1e5ba0 | 0a 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 | .......document.getElementById(" |
1e5bc0 | 69 6d 70 6f 72 74 41 6c 6c 22 29 2e 68 69 64 64 65 6e 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 7d | importAll").hidden.=.true;.....} |
1e5be0 | 0a 20 20 7d 2c 0a 20 20 0a 20 20 6f 6e 49 6d 70 6f 72 74 53 6f 75 72 63 65 50 61 67 65 41 64 76 | ...},......onImportSourcePageAdv |
1e5c00 | 61 6e 63 65 64 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 76 61 72 20 6e | anced:.function.()...{.....var.n |
1e5c20 | 65 77 53 6f 75 72 63 65 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 | ewSource.=.document.getElementBy |
1e5c40 | 49 64 28 22 69 6d 70 6f 72 74 53 6f 75 72 63 65 47 72 6f 75 70 22 29 2e 73 65 6c 65 63 74 65 64 | Id("importSourceGroup").selected |
1e5c60 | 49 74 65 6d 2e 69 64 3b 0a 20 20 20 20 0a 20 20 20 20 69 66 20 28 6e 65 77 53 6f 75 72 63 65 20 | Item.id;..........if.(newSource. |
1e5c80 | 3d 3d 20 22 6e 6f 74 68 69 6e 67 22 20 7c 7c 20 6e 65 77 53 6f 75 72 63 65 20 3d 3d 20 22 66 72 | ==."nothing".||.newSource.==."fr |
1e5ca0 | 6f 6d 66 69 6c 65 22 29 20 7b 0a 20 20 20 20 20 20 69 66 28 6e 65 77 53 6f 75 72 63 65 20 3d 3d | omfile").{.......if(newSource.== |
1e5cc0 | 20 22 66 72 6f 6d 66 69 6c 65 22 29 0a 20 20 20 20 20 20 20 20 77 69 6e 64 6f 77 2e 6f 70 65 6e | ."fromfile").........window.open |
1e5ce0 | 65 72 2e 66 72 6f 6d 46 69 6c 65 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 64 6f 63 75 6d 65 | er.fromFile.=.true;.......docume |
1e5d00 | 6e 74 2e 64 6f 63 75 6d 65 6e 74 45 6c 65 6d 65 6e 74 2e 63 61 6e 63 65 6c 28 29 3b 0a 20 20 20 | nt.documentElement.cancel();.... |
1e5d20 | 20 20 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 0a 20 20 20 20 7d 0a 20 20 20 20 0a 20 20 20 20 | ...return.false;.....}.......... |
1e5d40 | 69 66 20 28 21 74 68 69 73 2e 5f 6d 69 67 72 61 74 6f 72 20 7c 7c 20 28 6e 65 77 53 6f 75 72 63 | if.(!this._migrator.||.(newSourc |
1e5d60 | 65 20 21 3d 20 74 68 69 73 2e 5f 73 6f 75 72 63 65 29 29 20 7b 0a 20 20 20 20 20 20 2f 2f 20 43 | e.!=.this._source)).{.......//.C |
1e5d80 | 72 65 61 74 65 20 74 68 65 20 6d 69 67 72 61 74 6f 72 20 66 6f 72 20 74 68 65 20 73 65 6c 65 63 | reate.the.migrator.for.the.selec |
1e5da0 | 74 65 64 20 73 6f 75 72 63 65 2e 0a 20 20 20 20 20 20 76 61 72 20 63 6f 6e 74 72 61 63 74 49 44 | ted.source........var.contractID |
1e5dc0 | 20 3d 20 6b 50 72 6f 66 69 6c 65 4d 69 67 72 61 74 6f 72 43 6f 6e 74 72 61 63 74 49 44 50 72 65 | .=.kProfileMigratorContractIDPre |
1e5de0 | 66 69 78 20 2b 20 6e 65 77 53 6f 75 72 63 65 3b 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 6d 69 67 | fix.+.newSource;.......this._mig |
1e5e00 | 72 61 74 6f 72 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 63 6f 6e 74 72 | rator.=.Components.classes[contr |
1e5e20 | 61 63 74 49 44 5d 2e 63 72 65 61 74 65 49 6e 73 74 61 6e 63 65 28 6b 49 4d 69 67 29 3b 0a 0a 20 | actID].createInstance(kIMig);... |
1e5e40 | 20 20 20 20 20 74 68 69 73 2e 5f 69 74 65 6d 73 46 6c 61 67 73 20 3d 20 6b 49 4d 69 67 2e 41 4c | .....this._itemsFlags.=.kIMig.AL |
1e5e60 | 4c 3b 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 73 65 6c 65 63 74 65 64 50 72 6f 66 69 6c 65 20 3d | L;.......this._selectedProfile.= |
1e5e80 | 20 6e 75 6c 6c 3b 0a 20 20 20 20 7d 0a 20 20 20 20 74 68 69 73 2e 5f 73 6f 75 72 63 65 20 3d 20 | .null;.....}.....this._source.=. |
1e5ea0 | 6e 65 77 53 6f 75 72 63 65 3b 0a 20 20 20 20 20 20 0a 20 20 20 20 2f 2f 20 63 68 65 63 6b 20 66 | newSource;............//.check.f |
1e5ec0 | 6f 72 20 6d 6f 72 65 20 74 68 61 6e 20 6f 6e 65 20 73 6f 75 72 63 65 20 70 72 6f 66 69 6c 65 0a | or.more.than.one.source.profile. |
1e5ee0 | 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 6d 69 67 72 61 74 6f 72 2e 73 6f 75 72 63 65 48 61 73 | ....if.(this._migrator.sourceHas |
1e5f00 | 4d 75 6c 74 69 70 6c 65 50 72 6f 66 69 6c 65 73 29 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 77 69 | MultipleProfiles).......this._wi |
1e5f20 | 7a 2e 63 75 72 72 65 6e 74 50 61 67 65 2e 6e 65 78 74 20 3d 20 22 73 65 6c 65 63 74 50 72 6f 66 | z.currentPage.next.=."selectProf |
1e5f40 | 69 6c 65 22 3b 0a 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e | ile";.....else.{.......if.(this. |
1e5f60 | 5f 61 75 74 6f 4d 69 67 72 61 74 65 29 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 77 69 7a 2e | _autoMigrate).........this._wiz. |
1e5f80 | 63 75 72 72 65 6e 74 50 61 67 65 2e 6e 65 78 74 20 3d 20 22 68 6f 6d 65 50 61 67 65 49 6d 70 6f | currentPage.next.=."homePageImpo |
1e5fa0 | 72 74 22 3b 0a 20 20 20 20 20 20 65 6c 73 65 20 69 66 20 28 74 68 69 73 2e 5f 62 6f 6f 6b 6d 61 | rt";.......else.if.(this._bookma |
1e5fc0 | 72 6b 73 29 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 77 69 7a 2e 63 75 72 72 65 6e 74 50 61 | rks).........this._wiz.currentPa |
1e5fe0 | 67 65 2e 6e 65 78 74 20 3d 20 22 6d 69 67 72 61 74 69 6e 67 22 0a 20 20 20 20 20 20 65 6c 73 65 | ge.next.=."migrating".......else |
1e6000 | 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 77 69 7a 2e 63 75 72 72 65 6e 74 50 61 67 65 2e 6e | .........this._wiz.currentPage.n |
1e6020 | 65 78 74 20 3d 20 22 69 6d 70 6f 72 74 49 74 65 6d 73 22 3b 0a 0a 20 20 20 20 20 20 76 61 72 20 | ext.=."importItems";........var. |
1e6040 | 73 6f 75 72 63 65 50 72 6f 66 69 6c 65 73 20 3d 20 74 68 69 73 2e 5f 6d 69 67 72 61 74 6f 72 2e | sourceProfiles.=.this._migrator. |
1e6060 | 73 6f 75 72 63 65 50 72 6f 66 69 6c 65 73 3b 0a 20 20 20 20 20 20 69 66 20 28 73 6f 75 72 63 65 | sourceProfiles;.......if.(source |
1e6080 | 50 72 6f 66 69 6c 65 73 20 26 26 20 73 6f 75 72 63 65 50 72 6f 66 69 6c 65 73 2e 43 6f 75 6e 74 | Profiles.&&.sourceProfiles.Count |
1e60a0 | 28 29 20 3d 3d 20 31 29 20 7b 0a 20 20 20 20 20 20 20 20 76 61 72 20 70 72 6f 66 69 6c 65 4e 61 | ().==.1).{.........var.profileNa |
1e60c0 | 6d 65 20 3d 20 73 6f 75 72 63 65 50 72 6f 66 69 6c 65 73 2e 51 75 65 72 79 45 6c 65 6d 65 6e 74 | me.=.sourceProfiles.QueryElement |
1e60e0 | 41 74 28 30 2c 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 53 | At(0,.Components.interfaces.nsIS |
1e6100 | 75 70 70 6f 72 74 73 53 74 72 69 6e 67 29 3b 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 73 65 | upportsString);.........this._se |
1e6120 | 6c 65 63 74 65 64 50 72 6f 66 69 6c 65 20 3d 20 70 72 6f 66 69 6c 65 4e 61 6d 65 2e 64 61 74 61 | lectedProfile.=.profileName.data |
1e6140 | 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 20 20 74 68 69 | ;.......}.......else.........thi |
1e6160 | 73 2e 5f 73 65 6c 65 63 74 65 64 50 72 6f 66 69 6c 65 20 3d 20 22 22 3b 0a 20 20 20 20 7d 0a 20 | s._selectedProfile.=."";.....}.. |
1e6180 | 20 7d 2c 0a 20 20 0a 20 20 2f 2f 20 32 20 2d 20 5b 50 72 6f 66 69 6c 65 20 53 65 6c 65 63 74 69 | .},......//.2.-.[Profile.Selecti |
1e61a0 | 6f 6e 5d 0a 20 20 6f 6e 53 65 6c 65 63 74 50 72 6f 66 69 6c 65 50 61 67 65 53 68 6f 77 3a 20 66 | on]...onSelectProfilePageShow:.f |
1e61c0 | 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 2f 2f 20 44 69 73 61 62 6c 69 6e 67 20 | unction.()...{.....//.Disabling. |
1e61e0 | 74 68 69 73 20 66 6f 72 20 6e 6f 77 2c 20 73 69 6e 63 65 20 77 65 20 61 73 6b 20 61 62 6f 75 74 | this.for.now,.since.we.ask.about |
1e6200 | 20 69 6d 70 6f 72 74 20 73 6f 75 72 63 65 73 20 69 6e 20 61 75 74 6f 6d 69 67 72 61 74 69 6f 6e | .import.sources.in.automigration |
1e6220 | 0a 20 20 20 20 2f 2f 20 74 6f 6f 20 61 6e 64 20 64 6f 6e 27 74 20 77 61 6e 74 20 74 6f 20 64 69 | .....//.too.and.don't.want.to.di |
1e6240 | 73 61 62 6c 65 20 74 68 65 20 62 61 63 6b 20 62 75 74 74 6f 6e 0a 20 20 20 20 2f 2f 20 69 66 20 | sable.the.back.button.....//.if. |
1e6260 | 28 74 68 69 73 2e 5f 61 75 74 6f 4d 69 67 72 61 74 65 29 0a 20 20 20 20 2f 2f 20 20 20 64 6f 63 | (this._autoMigrate).....//...doc |
1e6280 | 75 6d 65 6e 74 2e 64 6f 63 75 6d 65 6e 74 45 6c 65 6d 65 6e 74 2e 67 65 74 42 75 74 74 6f 6e 28 | ument.documentElement.getButton( |
1e62a0 | 22 62 61 63 6b 22 29 2e 64 69 73 61 62 6c 65 64 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 0a | "back").disabled.=.true;........ |
1e62c0 | 20 20 20 20 76 61 72 20 70 72 6f 66 69 6c 65 73 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 | ....var.profiles.=.document.getE |
1e62e0 | 6c 65 6d 65 6e 74 42 79 49 64 28 22 70 72 6f 66 69 6c 65 73 22 29 3b 0a 20 20 20 20 77 68 69 6c | lementById("profiles");.....whil |
1e6300 | 65 20 28 70 72 6f 66 69 6c 65 73 2e 68 61 73 43 68 69 6c 64 4e 6f 64 65 73 28 29 29 20 0a 20 20 | e.(profiles.hasChildNodes()).... |
1e6320 | 20 20 20 20 70 72 6f 66 69 6c 65 73 2e 72 65 6d 6f 76 65 43 68 69 6c 64 28 70 72 6f 66 69 6c 65 | ....profiles.removeChild(profile |
1e6340 | 73 2e 66 69 72 73 74 43 68 69 6c 64 29 3b 0a 20 20 20 20 0a 20 20 20 20 2f 2f 20 4e 6f 74 65 20 | s.firstChild);..........//.Note. |
1e6360 | 74 68 61 74 20 74 68 69 73 20 62 6c 6f 63 6b 20 69 73 20 73 74 69 6c 6c 20 72 65 61 63 68 65 64 | that.this.block.is.still.reached |
1e6380 | 20 65 76 65 6e 20 69 66 20 74 68 65 20 75 73 65 72 20 63 68 6f 73 65 20 27 46 72 6f 6d 20 46 69 | .even.if.the.user.chose.'From.Fi |
1e63a0 | 6c 65 27 0a 20 20 20 20 2f 2f 20 61 6e 64 20 77 65 20 63 61 6e 63 65 6c 65 64 20 74 68 65 20 64 | le'.....//.and.we.canceled.the.d |
1e63c0 | 69 61 6c 6f 67 2e 20 20 57 68 65 6e 20 74 68 61 74 20 68 61 70 70 65 6e 73 2c 20 5f 6d 69 67 72 | ialog...When.that.happens,._migr |
1e63e0 | 61 74 6f 72 20 77 69 6c 6c 20 62 65 20 6e 75 6c 6c 2e 0a 20 20 20 20 69 66 20 28 74 68 69 73 2e | ator.will.be.null......if.(this. |
1e6400 | 5f 6d 69 67 72 61 74 6f 72 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 73 6f 75 72 63 65 50 72 6f | _migrator).{.......var.sourcePro |
1e6420 | 66 69 6c 65 73 20 3d 20 74 68 69 73 2e 5f 6d 69 67 72 61 74 6f 72 2e 73 6f 75 72 63 65 50 72 6f | files.=.this._migrator.sourcePro |
1e6440 | 66 69 6c 65 73 3b 0a 20 20 20 20 20 20 76 61 72 20 63 6f 75 6e 74 20 3d 20 73 6f 75 72 63 65 50 | files;.......var.count.=.sourceP |
1e6460 | 72 6f 66 69 6c 65 73 2e 43 6f 75 6e 74 28 29 3b 0a 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 | rofiles.Count();.......for.(var. |
1e6480 | 69 20 3d 20 30 3b 20 69 20 3c 20 63 6f 75 6e 74 3b 20 2b 2b 69 29 20 7b 0a 20 20 20 20 20 20 20 | i.=.0;.i.<.count;.++i).{........ |
1e64a0 | 20 76 61 72 20 69 74 65 6d 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 63 72 65 61 74 65 45 6c 65 6d 65 | .var.item.=.document.createEleme |
1e64c0 | 6e 74 28 22 72 61 64 69 6f 22 29 3b 0a 20 20 20 20 20 20 20 20 76 61 72 20 73 74 72 20 3d 20 73 | nt("radio");.........var.str.=.s |
1e64e0 | 6f 75 72 63 65 50 72 6f 66 69 6c 65 73 2e 51 75 65 72 79 45 6c 65 6d 65 6e 74 41 74 28 69 2c 20 | ourceProfiles.QueryElementAt(i,. |
1e6500 | 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 53 75 70 70 6f 72 74 | Components.interfaces.nsISupport |
1e6520 | 73 53 74 72 69 6e 67 29 3b 0a 20 20 20 20 20 20 20 20 69 74 65 6d 2e 69 64 20 3d 20 73 74 72 2e | sString);.........item.id.=.str. |
1e6540 | 64 61 74 61 3b 0a 20 20 20 20 20 20 20 20 69 74 65 6d 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 | data;.........item.setAttribute( |
1e6560 | 22 6c 61 62 65 6c 22 2c 20 73 74 72 2e 64 61 74 61 29 3b 0a 20 20 20 20 20 20 20 20 70 72 6f 66 | "label",.str.data);.........prof |
1e6580 | 69 6c 65 73 2e 61 70 70 65 6e 64 43 68 69 6c 64 28 69 74 65 6d 29 3b 0a 20 20 20 20 20 20 7d 0a | iles.appendChild(item);.......}. |
1e65a0 | 20 20 20 20 7d 0a 20 20 20 20 0a 20 20 20 20 70 72 6f 66 69 6c 65 73 2e 73 65 6c 65 63 74 65 64 | ....}..........profiles.selected |
1e65c0 | 49 74 65 6d 20 3d 20 74 68 69 73 2e 5f 73 65 6c 65 63 74 65 64 50 72 6f 66 69 6c 65 20 3f 20 64 | Item.=.this._selectedProfile.?.d |
1e65e0 | 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 74 68 69 73 2e 5f 73 65 6c | ocument.getElementById(this._sel |
1e6600 | 65 63 74 65 64 50 72 6f 66 69 6c 65 29 20 3a 20 70 72 6f 66 69 6c 65 73 2e 66 69 72 73 74 43 68 | ectedProfile).:.profiles.firstCh |
1e6620 | 69 6c 64 3b 0a 20 20 7d 2c 0a 20 20 0a 20 20 6f 6e 53 65 6c 65 63 74 50 72 6f 66 69 6c 65 50 61 | ild;...},......onSelectProfilePa |
1e6640 | 67 65 52 65 77 6f 75 6e 64 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 76 | geRewound:.function.()...{.....v |
1e6660 | 61 72 20 70 72 6f 66 69 6c 65 73 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e | ar.profiles.=.document.getElemen |
1e6680 | 74 42 79 49 64 28 22 70 72 6f 66 69 6c 65 73 22 29 3b 0a 20 20 20 20 74 68 69 73 2e 5f 73 65 6c | tById("profiles");.....this._sel |
1e66a0 | 65 63 74 65 64 50 72 6f 66 69 6c 65 20 3d 20 70 72 6f 66 69 6c 65 73 2e 73 65 6c 65 63 74 65 64 | ectedProfile.=.profiles.selected |
1e66c0 | 49 74 65 6d 2e 69 64 3b 0a 20 20 7d 2c 0a 20 20 0a 20 20 6f 6e 53 65 6c 65 63 74 50 72 6f 66 69 | Item.id;...},......onSelectProfi |
1e66e0 | 6c 65 50 61 67 65 41 64 76 61 6e 63 65 64 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a | lePageAdvanced:.function.()...{. |
1e6700 | 20 20 20 20 76 61 72 20 70 72 6f 66 69 6c 65 73 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 | ....var.profiles.=.document.getE |
1e6720 | 6c 65 6d 65 6e 74 42 79 49 64 28 22 70 72 6f 66 69 6c 65 73 22 29 3b 0a 20 20 20 20 74 68 69 73 | lementById("profiles");.....this |
1e6740 | 2e 5f 73 65 6c 65 63 74 65 64 50 72 6f 66 69 6c 65 20 3d 20 70 72 6f 66 69 6c 65 73 2e 73 65 6c | ._selectedProfile.=.profiles.sel |
1e6760 | 65 63 74 65 64 49 74 65 6d 2e 69 64 3b 0a 20 20 20 20 0a 20 20 20 20 2f 2f 20 49 66 20 77 65 27 | ectedItem.id;..........//.If.we' |
1e6780 | 72 65 20 61 75 74 6f 6d 69 67 72 61 74 69 6e 67 20 6f 72 20 6a 75 73 74 20 64 6f 69 6e 67 20 62 | re.automigrating.or.just.doing.b |
1e67a0 | 6f 6f 6b 6d 61 72 6b 73 20 64 6f 6e 27 74 20 73 68 6f 77 20 74 68 65 20 69 74 65 6d 20 73 65 6c | ookmarks.don't.show.the.item.sel |
1e67c0 | 65 63 74 69 6f 6e 20 70 61 67 65 0a 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 61 75 74 6f 4d 69 | ection.page.....if.(this._autoMi |
1e67e0 | 67 72 61 74 65 29 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 77 69 7a 2e 63 75 72 72 65 6e 74 50 61 | grate).......this._wiz.currentPa |
1e6800 | 67 65 2e 6e 65 78 74 20 3d 20 22 68 6f 6d 65 50 61 67 65 49 6d 70 6f 72 74 22 3b 0a 20 20 20 20 | ge.next.=."homePageImport";..... |
1e6820 | 65 6c 73 65 20 69 66 20 28 74 68 69 73 2e 5f 62 6f 6f 6b 6d 61 72 6b 73 29 0a 20 20 20 20 20 20 | else.if.(this._bookmarks)....... |
1e6840 | 74 68 69 73 2e 5f 77 69 7a 2e 63 75 72 72 65 6e 74 50 61 67 65 2e 6e 65 78 74 20 3d 20 22 6d 69 | this._wiz.currentPage.next.=."mi |
1e6860 | 67 72 61 74 69 6e 67 22 0a 20 20 7d 2c 0a 20 20 0a 20 20 2f 2f 20 33 20 2d 20 49 6d 70 6f 72 74 | grating"...},......//.3.-.Import |
1e6880 | 49 74 65 6d 73 0a 20 20 6f 6e 49 6d 70 6f 72 74 49 74 65 6d 73 50 61 67 65 53 68 6f 77 3a 20 66 | Items...onImportItemsPageShow:.f |
1e68a0 | 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 76 61 72 20 64 61 74 61 53 6f 75 72 63 | unction.()...{.....var.dataSourc |
1e68c0 | 65 73 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 64 61 | es.=.document.getElementById("da |
1e68e0 | 74 61 53 6f 75 72 63 65 73 22 29 3b 0a 20 20 20 20 77 68 69 6c 65 20 28 64 61 74 61 53 6f 75 72 | taSources");.....while.(dataSour |
1e6900 | 63 65 73 2e 68 61 73 43 68 69 6c 64 4e 6f 64 65 73 28 29 29 0a 20 20 20 20 20 20 64 61 74 61 53 | ces.hasChildNodes()).......dataS |
1e6920 | 6f 75 72 63 65 73 2e 72 65 6d 6f 76 65 43 68 69 6c 64 28 64 61 74 61 53 6f 75 72 63 65 73 2e 66 | ources.removeChild(dataSources.f |
1e6940 | 69 72 73 74 43 68 69 6c 64 29 3b 0a 20 20 20 20 0a 20 20 20 20 76 61 72 20 62 75 6e 64 6c 65 20 | irstChild);..........var.bundle. |
1e6960 | 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 62 75 6e 64 6c | =.document.getElementById("bundl |
1e6980 | 65 22 29 3b 0a 20 20 20 20 0a 20 20 20 20 76 61 72 20 69 74 65 6d 73 20 3d 20 74 68 69 73 2e 5f | e");..........var.items.=.this._ |
1e69a0 | 6d 69 67 72 61 74 6f 72 2e 67 65 74 4d 69 67 72 61 74 65 44 61 74 61 28 74 68 69 73 2e 5f 73 65 | migrator.getMigrateData(this._se |
1e69c0 | 6c 65 63 74 65 64 50 72 6f 66 69 6c 65 2c 20 74 68 69 73 2e 5f 61 75 74 6f 4d 69 67 72 61 74 65 | lectedProfile,.this._autoMigrate |
1e69e0 | 29 3b 0a 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 31 36 3b 20 2b | );.....for.(var.i.=.0;.i.<.16;.+ |
1e6a00 | 2b 69 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 69 74 65 6d 49 44 20 3d 20 28 69 74 65 6d 73 20 | +i).{.......var.itemID.=.(items. |
1e6a20 | 3e 3e 20 69 29 20 26 20 30 78 31 20 3f 20 4d 61 74 68 2e 70 6f 77 28 32 2c 20 69 29 20 3a 20 30 | >>.i).&.0x1.?.Math.pow(2,.i).:.0 |
1e6a40 | 3b 0a 20 20 20 20 20 20 69 66 20 28 69 74 65 6d 49 44 20 3e 20 30 29 20 7b 0a 20 20 20 20 20 20 | ;.......if.(itemID.>.0).{....... |
1e6a60 | 20 20 76 61 72 20 63 68 65 63 6b 62 6f 78 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 63 72 65 61 74 65 | ..var.checkbox.=.document.create |
1e6a80 | 45 6c 65 6d 65 6e 74 28 22 63 68 65 63 6b 62 6f 78 22 29 3b 0a 20 20 20 20 20 20 20 20 63 68 65 | Element("checkbox");.........che |
1e6aa0 | 63 6b 62 6f 78 2e 69 64 20 3d 20 69 74 65 6d 49 44 3b 0a 20 20 20 20 20 20 20 20 63 68 65 63 6b | ckbox.id.=.itemID;.........check |
1e6ac0 | 62 6f 78 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 6c 61 62 65 6c 22 2c 20 62 75 6e 64 6c 65 | box.setAttribute("label",.bundle |
1e6ae0 | 2e 67 65 74 53 74 72 69 6e 67 28 69 74 65 6d 49 44 20 2b 20 22 5f 22 20 2b 20 74 68 69 73 2e 5f | .getString(itemID.+."_".+.this._ |
1e6b00 | 73 6f 75 72 63 65 29 29 3b 0a 20 20 20 20 20 20 20 20 64 61 74 61 53 6f 75 72 63 65 73 2e 61 70 | source));.........dataSources.ap |
1e6b20 | 70 65 6e 64 43 68 69 6c 64 28 63 68 65 63 6b 62 6f 78 29 3b 0a 20 20 20 20 20 20 20 20 69 66 20 | pendChild(checkbox);.........if. |
1e6b40 | 28 21 74 68 69 73 2e 5f 69 74 65 6d 73 46 6c 61 67 73 20 7c 7c 20 74 68 69 73 2e 5f 69 74 65 6d | (!this._itemsFlags.||.this._item |
1e6b60 | 73 46 6c 61 67 73 20 26 20 69 74 65 6d 49 44 29 0a 20 20 20 20 20 20 20 20 20 20 63 68 65 63 6b | sFlags.&.itemID)...........check |
1e6b80 | 62 6f 78 2e 63 68 65 63 6b 65 64 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 | box.checked.=.true;.......}..... |
1e6ba0 | 7d 0a 20 20 7d 2c 0a 0a 20 20 6f 6e 49 6d 70 6f 72 74 49 74 65 6d 73 50 61 67 65 52 65 77 6f 75 | }...},....onImportItemsPageRewou |
1e6bc0 | 6e 64 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 74 68 69 73 2e 5f 77 69 | nd:.function.()...{.....this._wi |
1e6be0 | 7a 2e 63 61 6e 41 64 76 61 6e 63 65 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 74 68 69 73 2e 6f 6e | z.canAdvance.=.true;.....this.on |
1e6c00 | 49 6d 70 6f 72 74 49 74 65 6d 73 50 61 67 65 41 64 76 61 6e 63 65 64 28 29 3b 0a 20 20 7d 2c 0a | ImportItemsPageAdvanced();...},. |
1e6c20 | 0a 20 20 6f 6e 49 6d 70 6f 72 74 49 74 65 6d 73 50 61 67 65 41 64 76 61 6e 63 65 64 3a 20 66 75 | ...onImportItemsPageAdvanced:.fu |
1e6c40 | 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 76 61 72 20 64 61 74 61 53 6f 75 72 63 65 | nction.()...{.....var.dataSource |
1e6c60 | 73 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 64 61 74 | s.=.document.getElementById("dat |
1e6c80 | 61 53 6f 75 72 63 65 73 22 29 3b 0a 20 20 20 20 74 68 69 73 2e 5f 69 74 65 6d 73 46 6c 61 67 73 | aSources");.....this._itemsFlags |
1e6ca0 | 20 3d 20 30 3b 0a 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 64 61 | .=.0;.....for.(var.i.=.0;.i.<.da |
1e6cc0 | 74 61 53 6f 75 72 63 65 73 2e 63 68 69 6c 64 4e 6f 64 65 73 2e 6c 65 6e 67 74 68 3b 20 2b 2b 69 | taSources.childNodes.length;.++i |
1e6ce0 | 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 63 68 65 63 6b 62 6f 78 20 3d 20 64 61 74 61 53 6f 75 | ).{.......var.checkbox.=.dataSou |
1e6d00 | 72 63 65 73 2e 63 68 69 6c 64 4e 6f 64 65 73 5b 69 5d 3b 0a 20 20 20 20 20 20 69 66 20 28 63 68 | rces.childNodes[i];.......if.(ch |
1e6d20 | 65 63 6b 62 6f 78 2e 6c 6f 63 61 6c 4e 61 6d 65 20 3d 3d 20 22 63 68 65 63 6b 62 6f 78 22 20 26 | eckbox.localName.==."checkbox".& |
1e6d40 | 26 20 63 68 65 63 6b 62 6f 78 2e 63 68 65 63 6b 65 64 29 0a 20 20 20 20 20 20 20 20 74 68 69 73 | &.checkbox.checked).........this |
1e6d60 | 2e 5f 69 74 65 6d 73 46 6c 61 67 73 20 7c 3d 20 70 61 72 73 65 49 6e 74 28 63 68 65 63 6b 62 6f | ._itemsFlags.|=.parseInt(checkbo |
1e6d80 | 78 2e 69 64 29 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 20 20 0a 20 20 6f 6e 49 6d 70 6f 72 74 49 | x.id);.....}...},......onImportI |
1e6da0 | 74 65 6d 43 6f 6d 6d 61 6e 64 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 45 76 65 6e 74 29 0a 20 20 | temCommand:.function.(aEvent)... |
1e6dc0 | 7b 0a 20 20 20 20 76 61 72 20 69 74 65 6d 73 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c | {.....var.items.=.document.getEl |
1e6de0 | 65 6d 65 6e 74 42 79 49 64 28 22 64 61 74 61 53 6f 75 72 63 65 73 22 29 3b 0a 20 20 20 20 76 61 | ementById("dataSources");.....va |
1e6e00 | 72 20 63 68 65 63 6b 62 6f 78 65 73 20 3d 20 69 74 65 6d 73 2e 67 65 74 45 6c 65 6d 65 6e 74 73 | r.checkboxes.=.items.getElements |
1e6e20 | 42 79 54 61 67 4e 61 6d 65 28 22 63 68 65 63 6b 62 6f 78 22 29 3b 0a 0a 20 20 20 20 76 61 72 20 | ByTagName("checkbox");......var. |
1e6e40 | 6f 6e 65 43 68 65 63 6b 65 64 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 66 6f 72 20 28 76 61 72 | oneChecked.=.false;.....for.(var |
1e6e60 | 20 69 20 3d 20 30 3b 20 69 20 3c 20 63 68 65 63 6b 62 6f 78 65 73 2e 6c 65 6e 67 74 68 3b 20 2b | .i.=.0;.i.<.checkboxes.length;.+ |
1e6e80 | 2b 69 29 20 7b 0a 20 20 20 20 20 20 69 66 20 28 63 68 65 63 6b 62 6f 78 65 73 5b 69 5d 2e 63 68 | +i).{.......if.(checkboxes[i].ch |
1e6ea0 | 65 63 6b 65 64 29 20 7b 0a 20 20 20 20 20 20 20 20 6f 6e 65 43 68 65 63 6b 65 64 20 3d 20 74 72 | ecked).{.........oneChecked.=.tr |
1e6ec0 | 75 65 3b 0a 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d | ue;.........break;.......}.....} |
1e6ee0 | 0a 0a 20 20 20 20 74 68 69 73 2e 5f 77 69 7a 2e 63 61 6e 41 64 76 61 6e 63 65 20 3d 20 6f 6e 65 | ......this._wiz.canAdvance.=.one |
1e6f00 | 43 68 65 63 6b 65 64 3b 0a 20 20 7d 2c 0a 0a 20 20 2f 2f 20 34 20 2d 20 48 6f 6d 65 20 50 61 67 | Checked;...},....//.4.-.Home.Pag |
1e6f20 | 65 20 53 65 6c 65 63 74 69 6f 6e 0a 20 20 6f 6e 48 6f 6d 65 50 61 67 65 4d 69 67 72 61 74 69 6f | e.Selection...onHomePageMigratio |
1e6f40 | 6e 50 61 67 65 53 68 6f 77 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 20 20 2f | nPageShow:.function.()...{...../ |
1e6f60 | 2f 20 6f 6e 6c 79 20 77 61 6e 74 20 74 68 69 73 20 6f 6e 20 74 68 65 20 66 69 72 73 74 20 72 75 | /.only.want.this.on.the.first.ru |
1e6f80 | 6e 0a 20 20 20 20 69 66 20 28 21 74 68 69 73 2e 5f 61 75 74 6f 4d 69 67 72 61 74 65 29 20 7b 0a | n.....if.(!this._autoMigrate).{. |
1e6fa0 | 20 20 20 20 20 20 74 68 69 73 2e 5f 77 69 7a 2e 61 64 76 61 6e 63 65 28 29 3b 0a 20 20 20 20 20 | ......this._wiz.advance();...... |
1e6fc0 | 20 72 65 74 75 72 6e 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 76 61 72 20 62 75 6e 64 6c 65 20 3d | .return;.....}......var.bundle.= |
1e6fe0 | 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 62 72 61 6e 64 42 | .document.getElementById("brandB |
1e7000 | 75 6e 64 6c 65 22 29 3b 0a 20 20 20 20 2f 2f 20 54 68 65 73 65 20 73 74 72 69 6e 67 73 20 64 6f | undle");.....//.These.strings.do |
1e7020 | 6e 27 74 20 65 78 69 73 74 20 77 68 65 6e 20 6e 6f 74 20 75 73 69 6e 67 20 6f 66 66 69 63 69 61 | n't.exist.when.not.using.officia |
1e7040 | 6c 20 62 72 61 6e 64 69 6e 67 2e 20 49 66 20 74 68 61 74 27 73 0a 20 20 20 20 2f 2f 20 74 68 65 | l.branding..If.that's.....//.the |
1e7060 | 20 63 61 73 65 2c 20 6a 75 73 74 20 73 6b 69 70 20 74 68 69 73 20 70 61 67 65 2e 0a 20 20 20 20 | .case,.just.skip.this.page...... |
1e7080 | 74 72 79 20 7b 0a 20 20 20 20 20 20 76 61 72 20 70 61 67 65 54 69 74 6c 65 20 3d 20 62 75 6e 64 | try.{.......var.pageTitle.=.bund |
1e70a0 | 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 68 6f 6d 65 50 61 67 65 4d 69 67 72 61 74 69 6f 6e 50 | le.getString("homePageMigrationP |
1e70c0 | 61 67 65 54 69 74 6c 65 22 29 3b 0a 20 20 20 20 20 20 76 61 72 20 70 61 67 65 44 65 73 63 20 3d | ageTitle");.......var.pageDesc.= |
1e70e0 | 20 62 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 68 6f 6d 65 50 61 67 65 4d 69 67 72 61 | .bundle.getString("homePageMigra |
1e7100 | 74 69 6f 6e 44 65 73 63 72 69 70 74 69 6f 6e 22 29 3b 0a 20 20 20 20 20 20 76 61 72 20 6d 61 69 | tionDescription");.......var.mai |
1e7120 | 6e 53 74 72 20 3d 20 62 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 22 68 6f 6d 65 50 61 67 | nStr.=.bundle.getString("homePag |
1e7140 | 65 53 69 6e 67 6c 65 53 74 61 72 74 4d 61 69 6e 22 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 63 61 | eSingleStartMain");.....}.....ca |
1e7160 | 74 63 68 20 28 65 29 20 7b 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 77 69 7a 2e 61 64 76 61 6e 63 | tch.(e).{.......this._wiz.advanc |
1e7180 | 65 28 29 3b 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 20 20 20 20 7d 0a 0a 20 20 20 20 64 6f | e();.......return;.....}......do |
1e71a0 | 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 68 6f 6d 65 50 61 67 65 49 | cument.getElementById("homePageI |
1e71c0 | 6d 70 6f 72 74 22 29 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 6c 61 62 65 6c 22 2c 20 70 61 | mport").setAttribute("label",.pa |
1e71e0 | 67 65 54 69 74 6c 65 29 3b 0a 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e | geTitle);.....document.getElemen |
1e7200 | 74 42 79 49 64 28 22 68 6f 6d 65 50 61 67 65 49 6d 70 6f 72 74 44 65 73 63 22 29 2e 73 65 74 41 | tById("homePageImportDesc").setA |
1e7220 | 74 74 72 69 62 75 74 65 28 22 76 61 6c 75 65 22 2c 20 70 61 67 65 44 65 73 63 29 3b 0a 0a 20 20 | ttribute("value",.pageDesc);.... |
1e7240 | 20 20 74 68 69 73 2e 5f 77 69 7a 2e 5f 61 64 6a 75 73 74 57 69 7a 61 72 64 48 65 61 64 65 72 28 | ..this._wiz._adjustWizardHeader( |
1e7260 | 29 3b 0a 0a 20 20 20 20 76 61 72 20 73 69 6e 67 6c 65 53 74 61 72 74 20 3d 20 64 6f 63 75 6d 65 | );......var.singleStart.=.docume |
1e7280 | 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 68 6f 6d 65 50 61 67 65 53 69 6e 67 6c | nt.getElementById("homePageSingl |
1e72a0 | 65 53 74 61 72 74 22 29 3b 0a 20 20 20 20 73 69 6e 67 6c 65 53 74 61 72 74 2e 73 65 74 41 74 74 | eStart");.....singleStart.setAtt |
1e72c0 | 72 69 62 75 74 65 28 22 6c 61 62 65 6c 22 2c 20 6d 61 69 6e 53 74 72 29 3b 0a 20 20 20 20 73 69 | ribute("label",.mainStr);.....si |
1e72e0 | 6e 67 6c 65 53 74 61 72 74 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 76 61 6c 75 65 22 2c 20 | ngleStart.setAttribute("value",. |
1e7300 | 22 44 45 46 41 55 4c 54 22 29 3b 0a 0a 20 20 20 20 76 61 72 20 73 6f 75 72 63 65 20 3d 20 6e 75 | "DEFAULT");......var.source.=.nu |
1e7320 | 6c 6c 3b 0a 20 20 20 20 73 77 69 74 63 68 20 28 74 68 69 73 2e 5f 73 6f 75 72 63 65 29 20 7b 0a | ll;.....switch.(this._source).{. |
1e7340 | 20 20 20 20 20 20 63 61 73 65 20 22 69 65 22 3a 0a 20 20 20 20 20 20 63 61 73 65 20 22 6d 61 63 | ......case."ie":.......case."mac |
1e7360 | 69 65 22 3a 0a 20 20 20 20 20 20 20 20 73 6f 75 72 63 65 20 3d 20 22 73 6f 75 72 63 65 4e 61 6d | ie":.........source.=."sourceNam |
1e7380 | 65 49 45 22 3b 0a 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 63 61 73 65 20 | eIE";.........break;.......case. |
1e73a0 | 22 6f 70 65 72 61 22 3a 0a 20 20 20 20 20 20 20 20 73 6f 75 72 63 65 20 3d 20 22 73 6f 75 72 63 | "opera":.........source.=."sourc |
1e73c0 | 65 4e 61 6d 65 4f 70 65 72 61 22 3b 0a 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 | eNameOpera";.........break;..... |
1e73e0 | 20 20 63 61 73 65 20 22 64 6f 67 62 65 72 74 22 3a 0a 20 20 20 20 20 20 20 20 73 6f 75 72 63 65 | ..case."dogbert":.........source |
1e7400 | 20 3d 20 22 73 6f 75 72 63 65 4e 61 6d 65 44 6f 67 62 65 72 74 22 3b 0a 20 20 20 20 20 20 20 20 | .=."sourceNameDogbert";......... |
1e7420 | 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 63 61 73 65 20 22 73 61 66 61 72 69 22 3a 0a 20 20 20 20 | break;.......case."safari":..... |
1e7440 | 20 20 20 20 73 6f 75 72 63 65 20 3d 20 22 73 6f 75 72 63 65 4e 61 6d 65 53 61 66 61 72 69 22 3b | ....source.=."sourceNameSafari"; |
1e7460 | 0a 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 63 61 73 65 20 22 73 65 61 6d | .........break;.......case."seam |
1e7480 | 6f 6e 6b 65 79 22 3a 0a 20 20 20 20 20 20 20 20 73 6f 75 72 63 65 20 3d 20 22 73 6f 75 72 63 65 | onkey":.........source.=."source |
1e74a0 | 4e 61 6d 65 53 65 61 6d 6f 6e 6b 65 79 22 3b 0a 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 | NameSeamonkey";.........break;.. |
1e74c0 | 20 20 20 7d 0a 0a 20 20 20 20 2f 2f 20 73 65 6d 69 2d 77 61 6c 6c 70 61 70 65 72 20 66 6f 72 20 | ...}......//.semi-wallpaper.for. |
1e74e0 | 63 72 61 73 68 20 77 68 65 6e 20 6d 75 6c 74 69 70 6c 65 20 70 72 6f 66 69 6c 65 73 20 65 78 69 | crash.when.multiple.profiles.exi |
1e7500 | 73 74 2c 20 73 69 6e 63 65 20 77 65 20 68 61 76 65 6e 27 74 20 69 6e 69 74 69 61 6c 69 7a 65 64 | st,.since.we.haven't.initialized |
1e7520 | 20 6d 53 6f 75 72 63 65 50 72 6f 66 69 6c 65 20 69 6e 20 70 6c 61 63 65 73 0a 20 20 20 20 74 68 | .mSourceProfile.in.places.....th |
1e7540 | 69 73 2e 5f 6d 69 67 72 61 74 6f 72 2e 67 65 74 4d 69 67 72 61 74 65 44 61 74 61 28 74 68 69 73 | is._migrator.getMigrateData(this |
1e7560 | 2e 5f 73 65 6c 65 63 74 65 64 50 72 6f 66 69 6c 65 2c 20 74 68 69 73 2e 5f 61 75 74 6f 4d 69 67 | ._selectedProfile,.this._autoMig |
1e7580 | 72 61 74 65 29 3b 0a 0a 20 20 20 20 76 61 72 20 6f 6c 64 48 6f 6d 65 50 61 67 65 55 52 4c 20 3d | rate);......var.oldHomePageURL.= |
1e75a0 | 20 74 68 69 73 2e 5f 6d 69 67 72 61 74 6f 72 2e 73 6f 75 72 63 65 48 6f 6d 65 50 61 67 65 55 52 | .this._migrator.sourceHomePageUR |
1e75c0 | 4c 3b 0a 0a 20 20 20 20 69 66 20 28 6f 6c 64 48 6f 6d 65 50 61 67 65 55 52 4c 20 26 26 20 73 6f | L;......if.(oldHomePageURL.&&.so |
1e75e0 | 75 72 63 65 29 20 7b 0a 20 20 20 20 20 20 76 61 72 20 62 75 6e 64 6c 65 32 20 3d 20 64 6f 63 75 | urce).{.......var.bundle2.=.docu |
1e7600 | 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 62 75 6e 64 6c 65 22 29 3b 0a 20 | ment.getElementById("bundle");.. |
1e7620 | 20 20 20 20 20 76 61 72 20 61 70 70 4e 61 6d 65 20 3d 20 62 75 6e 64 6c 65 32 2e 67 65 74 53 74 | .....var.appName.=.bundle2.getSt |
1e7640 | 72 69 6e 67 28 73 6f 75 72 63 65 29 3b 0a 20 20 20 20 20 20 76 61 72 20 6f 6c 64 48 6f 6d 65 50 | ring(source);.......var.oldHomeP |
1e7660 | 61 67 65 4c 61 62 65 6c 20 3d 20 62 75 6e 64 6c 65 2e 67 65 74 46 6f 72 6d 61 74 74 65 64 53 74 | ageLabel.=.bundle.getFormattedSt |
1e7680 | 72 69 6e 67 28 22 68 6f 6d 65 50 61 67 65 49 6d 70 6f 72 74 22 2c 0a 20 20 20 20 20 20 20 20 20 | ring("homePageImport",.......... |
1e76a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
1e76c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 5b 61 70 70 4e 61 6d 65 5d 29 3b 0a 20 20 20 20 20 20 | ..............[appName]);....... |
1e76e0 | 76 61 72 20 6f 6c 64 48 6f 6d 65 50 61 67 65 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c | var.oldHomePage.=.document.getEl |
1e7700 | 65 6d 65 6e 74 42 79 49 64 28 22 6f 6c 64 48 6f 6d 65 50 61 67 65 22 29 3b 0a 20 20 20 20 20 20 | ementById("oldHomePage");....... |
1e7720 | 6f 6c 64 48 6f 6d 65 50 61 67 65 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 6c 61 62 65 6c 22 | oldHomePage.setAttribute("label" |
1e7740 | 2c 20 6f 6c 64 48 6f 6d 65 50 61 67 65 4c 61 62 65 6c 29 3b 0a 20 20 20 20 20 20 6f 6c 64 48 6f | ,.oldHomePageLabel);.......oldHo |
1e7760 | 6d 65 50 61 67 65 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 76 61 6c 75 65 22 2c 20 6f 6c 64 | mePage.setAttribute("value",.old |
1e7780 | 48 6f 6d 65 50 61 67 65 55 52 4c 29 3b 0a 20 20 20 20 20 20 6f 6c 64 48 6f 6d 65 50 61 67 65 2e | HomePageURL);.......oldHomePage. |
1e77a0 | 72 65 6d 6f 76 65 41 74 74 72 69 62 75 74 65 28 22 68 69 64 64 65 6e 22 29 3b 0a 20 20 20 20 7d | removeAttribute("hidden");.....} |
1e77c0 | 0a 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 2f 2f 20 69 66 20 77 65 20 64 6f 6e 27 74 | .....else.{.......//.if.we.don't |
1e77e0 | 20 68 61 76 65 20 61 74 20 6c 65 61 73 74 20 74 77 6f 20 6f 70 74 69 6f 6e 73 2c 20 6a 75 73 74 | .have.at.least.two.options,.just |
1e7800 | 20 61 64 76 61 6e 63 65 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 77 69 7a 2e 61 64 76 61 6e 63 65 | .advance.......this._wiz.advance |
1e7820 | 28 29 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 6f 6e 48 6f 6d 65 50 61 67 65 4d 69 67 72 | ();.....}...},....onHomePageMigr |
1e7840 | 61 74 69 6f 6e 50 61 67 65 41 64 76 61 6e 63 65 64 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 | ationPageAdvanced:.function.().. |
1e7860 | 20 7b 0a 20 20 20 20 2f 2f 20 77 65 20 6d 69 67 68 74 20 6e 6f 74 20 68 61 76 65 20 61 20 73 65 | .{.....//.we.might.not.have.a.se |
1e7880 | 6c 65 63 74 65 64 49 74 65 6d 20 69 66 20 77 65 27 72 65 20 69 6e 20 66 61 6c 6c 62 61 63 6b 20 | lectedItem.if.we're.in.fallback. |
1e78a0 | 6d 6f 64 65 0a 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 76 61 72 20 72 61 64 69 6f 47 72 | mode.....try.{.......var.radioGr |
1e78c0 | 6f 75 70 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 68 | oup.=.document.getElementById("h |
1e78e0 | 6f 6d 65 50 61 67 65 52 61 64 69 6f 67 72 6f 75 70 22 29 3b 0a 0a 20 20 20 20 20 20 74 68 69 73 | omePageRadiogroup");........this |
1e7900 | 2e 5f 6e 65 77 48 6f 6d 65 50 61 67 65 20 3d 20 72 61 64 69 6f 47 72 6f 75 70 2e 73 65 6c 65 63 | ._newHomePage.=.radioGroup.selec |
1e7920 | 74 65 64 49 74 65 6d 2e 76 61 6c 75 65 3b 0a 20 20 20 20 7d 20 63 61 74 63 68 28 65 78 29 20 7b | tedItem.value;.....}.catch(ex).{ |
1e7940 | 7d 0a 20 20 7d 2c 0a 0a 20 20 2f 2f 20 35 20 2d 20 4d 69 67 72 61 74 69 6e 67 0a 20 20 6f 6e 4d | }...},....//.5.-.Migrating...onM |
1e7960 | 69 67 72 61 74 69 6e 67 50 61 67 65 53 68 6f 77 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 | igratingPageShow:.function.()... |
1e7980 | 7b 0a 20 20 20 20 74 68 69 73 2e 5f 77 69 7a 2e 67 65 74 42 75 74 74 6f 6e 28 22 63 61 6e 63 65 | {.....this._wiz.getButton("cance |
1e79a0 | 6c 22 29 2e 64 69 73 61 62 6c 65 64 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 74 68 69 73 2e 5f 77 | l").disabled.=.true;.....this._w |
1e79c0 | 69 7a 2e 63 61 6e 52 65 77 69 6e 64 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 74 68 69 73 2e 5f | iz.canRewind.=.false;.....this._ |
1e79e0 | 77 69 7a 2e 63 61 6e 41 64 76 61 6e 63 65 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 0a 20 20 20 | wiz.canAdvance.=.false;......... |
1e7a00 | 20 2f 2f 20 57 68 65 6e 20 61 75 74 6f 6d 69 67 72 61 74 69 6e 67 2c 20 73 68 6f 77 20 61 6c 6c | .//.When.automigrating,.show.all |
1e7a20 | 20 6f 66 20 74 68 65 20 64 61 74 61 20 74 68 61 74 20 63 61 6e 20 62 65 20 72 65 63 65 69 76 65 | .of.the.data.that.can.be.receive |
1e7a40 | 64 20 66 72 6f 6d 20 74 68 69 73 20 73 6f 75 72 63 65 2e 0a 20 20 20 20 69 66 20 28 74 68 69 73 | d.from.this.source......if.(this |
1e7a60 | 2e 5f 61 75 74 6f 4d 69 67 72 61 74 65 29 0a 20 20 20 20 20 20 74 68 69 73 2e 5f 69 74 65 6d 73 | ._autoMigrate).......this._items |
1e7a80 | 46 6c 61 67 73 20 3d 20 74 68 69 73 2e 5f 6d 69 67 72 61 74 6f 72 2e 67 65 74 4d 69 67 72 61 74 | Flags.=.this._migrator.getMigrat |
1e7aa0 | 65 44 61 74 61 28 74 68 69 73 2e 5f 73 65 6c 65 63 74 65 64 50 72 6f 66 69 6c 65 2c 20 74 68 69 | eData(this._selectedProfile,.thi |
1e7ac0 | 73 2e 5f 61 75 74 6f 4d 69 67 72 61 74 65 29 3b 0a 0a 20 20 20 20 2f 2f 20 57 68 65 6e 20 69 6d | s._autoMigrate);......//.When.im |
1e7ae0 | 70 6f 72 74 69 6e 67 20 62 6f 6f 6b 6d 61 72 6b 73 2c 20 73 68 6f 77 20 6f 6e 6c 79 20 62 6f 6f | porting.bookmarks,.show.only.boo |
1e7b00 | 6b 6d 61 72 6b 73 0a 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 62 6f 6f 6b 6d 61 72 6b 73 29 0a | kmarks.....if.(this._bookmarks). |
1e7b20 | 20 20 20 20 20 20 74 68 69 73 2e 5f 69 74 65 6d 73 46 6c 61 67 73 20 3d 20 33 32 3b 0a 0a 20 20 | ......this._itemsFlags.=.32;.... |
1e7b40 | 20 20 74 68 69 73 2e 5f 6c 69 73 74 49 74 65 6d 73 28 22 6d 69 67 72 61 74 69 6e 67 49 74 65 6d | ..this._listItems("migratingItem |
1e7b60 | 73 22 29 3b 0a 20 20 20 20 73 65 74 54 69 6d 65 6f 75 74 28 74 68 69 73 2e 6f 6e 4d 69 67 72 61 | s");.....setTimeout(this.onMigra |
1e7b80 | 74 69 6e 67 4d 69 67 72 61 74 65 2c 20 30 2c 20 74 68 69 73 29 3b 0a 20 20 7d 2c 0a 0a 20 20 6f | tingMigrate,.0,.this);...},....o |
1e7ba0 | 6e 4d 69 67 72 61 74 69 6e 67 4d 69 67 72 61 74 65 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 4f 75 | nMigratingMigrate:.function.(aOu |
1e7bc0 | 74 65 72 29 0a 20 20 7b 0a 20 20 20 20 61 4f 75 74 65 72 2e 5f 6d 69 67 72 61 74 6f 72 2e 6d 69 | ter)...{.....aOuter._migrator.mi |
1e7be0 | 67 72 61 74 65 28 61 4f 75 74 65 72 2e 5f 69 74 65 6d 73 46 6c 61 67 73 2c 20 61 4f 75 74 65 72 | grate(aOuter._itemsFlags,.aOuter |
1e7c00 | 2e 5f 61 75 74 6f 4d 69 67 72 61 74 65 2c 20 61 4f 75 74 65 72 2e 5f 73 65 6c 65 63 74 65 64 50 | ._autoMigrate,.aOuter._selectedP |
1e7c20 | 72 6f 66 69 6c 65 29 3b 0a 20 20 7d 2c 0a 20 20 0a 20 20 5f 6c 69 73 74 49 74 65 6d 73 3a 20 66 | rofile);...},......_listItems:.f |
1e7c40 | 75 6e 63 74 69 6f 6e 20 28 61 49 44 29 0a 20 20 7b 0a 20 20 20 20 76 61 72 20 69 74 65 6d 73 20 | unction.(aID)...{.....var.items. |
1e7c60 | 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 61 49 44 29 3b 0a | =.document.getElementById(aID);. |
1e7c80 | 20 20 20 20 77 68 69 6c 65 20 28 69 74 65 6d 73 2e 68 61 73 43 68 69 6c 64 4e 6f 64 65 73 28 29 | ....while.(items.hasChildNodes() |
1e7ca0 | 29 0a 20 20 20 20 20 20 69 74 65 6d 73 2e 72 65 6d 6f 76 65 43 68 69 6c 64 28 69 74 65 6d 73 2e | ).......items.removeChild(items. |
1e7cc0 | 66 69 72 73 74 43 68 69 6c 64 29 3b 0a 20 20 20 20 0a 20 20 20 20 76 61 72 20 62 75 6e 64 6c 65 | firstChild);..........var.bundle |
1e7ce0 | 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 62 75 6e 64 | .=.document.getElementById("bund |
1e7d00 | 6c 65 22 29 3b 0a 20 20 20 20 76 61 72 20 62 72 61 6e 64 42 75 6e 64 6c 65 20 3d 20 64 6f 63 75 | le");.....var.brandBundle.=.docu |
1e7d20 | 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 62 72 61 6e 64 42 75 6e 64 6c 65 | ment.getElementById("brandBundle |
1e7d40 | 22 29 3b 0a 20 20 20 20 76 61 72 20 69 74 65 6d 49 44 3b 0a 20 20 20 20 66 6f 72 20 28 76 61 72 | ");.....var.itemID;.....for.(var |
1e7d60 | 20 69 20 3d 20 30 3b 20 69 20 3c 20 31 36 3b 20 2b 2b 69 29 20 7b 0a 20 20 20 20 20 20 76 61 72 | .i.=.0;.i.<.16;.++i).{.......var |
1e7d80 | 20 69 74 65 6d 49 44 20 3d 20 28 74 68 69 73 2e 5f 69 74 65 6d 73 46 6c 61 67 73 20 3e 3e 20 69 | .itemID.=.(this._itemsFlags.>>.i |
1e7da0 | 29 20 26 20 30 78 31 20 3f 20 4d 61 74 68 2e 70 6f 77 28 32 2c 20 69 29 20 3a 20 30 3b 0a 20 20 | ).&.0x1.?.Math.pow(2,.i).:.0;... |
1e7dc0 | 20 20 20 20 69 66 20 28 69 74 65 6d 49 44 20 3e 20 30 29 20 7b 0a 20 20 20 20 20 20 20 20 76 61 | ....if.(itemID.>.0).{.........va |
1e7de0 | 72 20 6c 61 62 65 6c 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 63 72 65 61 74 65 45 6c 65 6d 65 6e 74 | r.label.=.document.createElement |
1e7e00 | 28 22 6c 61 62 65 6c 22 29 3b 0a 20 20 20 20 20 20 20 20 6c 61 62 65 6c 2e 69 64 20 3d 20 69 74 | ("label");.........label.id.=.it |
1e7e20 | 65 6d 49 44 20 2b 20 22 5f 6d 69 67 72 61 74 65 64 22 3b 0a 20 20 20 20 20 20 20 20 74 72 79 20 | emID.+."_migrated";.........try. |
1e7e40 | 7b 0a 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 | {...........label.setAttribute(" |
1e7e60 | 76 61 6c 75 65 22 2c 20 62 75 6e 64 6c 65 2e 67 65 74 53 74 72 69 6e 67 28 69 74 65 6d 49 44 20 | value",.bundle.getString(itemID. |
1e7e80 | 2b 20 22 5f 22 20 2b 20 74 68 69 73 2e 5f 73 6f 75 72 63 65 29 29 3b 0a 20 20 20 20 20 20 20 20 | +."_".+.this._source));......... |
1e7ea0 | 20 20 69 74 65 6d 73 2e 61 70 70 65 6e 64 43 68 69 6c 64 28 6c 61 62 65 6c 29 3b 0a 20 20 20 20 | ..items.appendChild(label);..... |
1e7ec0 | 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 63 61 74 63 68 20 28 65 29 20 7b 0a 20 20 20 20 20 20 | ....}.........catch.(e).{....... |
1e7ee0 | 20 20 20 20 2f 2f 20 69 66 20 74 68 65 20 62 6c 6f 63 6b 20 61 62 6f 76 65 20 74 68 72 6f 77 73 | ....//.if.the.block.above.throws |
1e7f00 | 2c 20 77 65 27 76 65 20 65 6e 75 6d 65 72 61 74 65 64 20 61 6c 6c 20 74 68 65 20 69 6d 70 6f 72 | ,.we've.enumerated.all.the.impor |
1e7f20 | 74 20 64 61 74 61 20 74 79 70 65 73 20 77 65 0a 20 20 20 20 20 20 20 20 20 20 2f 2f 20 63 75 72 | t.data.types.we...........//.cur |
1e7f40 | 72 65 6e 74 6c 79 20 73 75 70 70 6f 72 74 20 61 6e 64 20 61 72 65 20 6e 6f 77 20 6a 75 73 74 20 | rently.support.and.are.now.just. |
1e7f60 | 77 61 73 74 69 6e 67 20 74 69 6d 65 2c 20 62 72 65 61 6b 2e 20 0a 20 20 20 20 20 20 20 20 20 20 | wasting.time,.break............. |
1e7f80 | 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 20 | break;.........}.......}.....}.. |
1e7fa0 | 20 7d 2c 0a 20 20 0a 20 20 6f 62 73 65 72 76 65 3a 20 66 75 6e 63 74 69 6f 6e 20 28 61 53 75 62 | .},......observe:.function.(aSub |
1e7fc0 | 6a 65 63 74 2c 20 61 54 6f 70 69 63 2c 20 61 44 61 74 61 29 0a 20 20 7b 0a 20 20 20 20 73 77 69 | ject,.aTopic,.aData)...{.....swi |
1e7fe0 | 74 63 68 20 28 61 54 6f 70 69 63 29 20 7b 0a 20 20 20 20 63 61 73 65 20 22 4d 69 67 72 61 74 69 | tch.(aTopic).{.....case."Migrati |
1e8000 | 6f 6e 3a 53 74 61 72 74 65 64 22 3a 0a 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 63 61 | on:Started":.......break;.....ca |
1e8020 | 73 65 20 22 4d 69 67 72 61 74 69 6f 6e 3a 49 74 65 6d 42 65 66 6f 72 65 4d 69 67 72 61 74 65 22 | se."Migration:ItemBeforeMigrate" |
1e8040 | 3a 0a 20 20 20 20 20 20 76 61 72 20 6c 61 62 65 6c 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 | :.......var.label.=.document.get |
1e8060 | 45 6c 65 6d 65 6e 74 42 79 49 64 28 61 44 61 74 61 20 2b 20 22 5f 6d 69 67 72 61 74 65 64 22 29 | ElementById(aData.+."_migrated") |
1e8080 | 3b 0a 20 20 20 20 20 20 69 66 20 28 6c 61 62 65 6c 29 0a 20 20 20 20 20 20 20 20 6c 61 62 65 6c | ;.......if.(label).........label |
1e80a0 | 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 73 74 79 6c 65 22 2c 20 22 66 6f 6e 74 2d 77 65 69 | .setAttribute("style",."font-wei |
1e80c0 | 67 68 74 3a 20 62 6f 6c 64 22 29 3b 0a 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 63 61 | ght:.bold");.......break;.....ca |
1e80e0 | 73 65 20 22 4d 69 67 72 61 74 69 6f 6e 3a 49 74 65 6d 41 66 74 65 72 4d 69 67 72 61 74 65 22 3a | se."Migration:ItemAfterMigrate": |
1e8100 | 0a 20 20 20 20 20 20 76 61 72 20 6c 61 62 65 6c 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 | .......var.label.=.document.getE |
1e8120 | 6c 65 6d 65 6e 74 42 79 49 64 28 61 44 61 74 61 20 2b 20 22 5f 6d 69 67 72 61 74 65 64 22 29 3b | lementById(aData.+."_migrated"); |
1e8140 | 0a 20 20 20 20 20 20 69 66 20 28 6c 61 62 65 6c 29 0a 20 20 20 20 20 20 20 20 6c 61 62 65 6c 2e | .......if.(label).........label. |
1e8160 | 72 65 6d 6f 76 65 41 74 74 72 69 62 75 74 65 28 22 73 74 79 6c 65 22 29 3b 0a 20 20 20 20 20 20 | removeAttribute("style");....... |
1e8180 | 62 72 65 61 6b 3b 0a 20 20 20 20 63 61 73 65 20 22 4d 69 67 72 61 74 69 6f 6e 3a 45 6e 64 65 64 | break;.....case."Migration:Ended |
1e81a0 | 22 3a 0a 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 61 75 74 6f 4d 69 67 72 61 74 65 29 20 | ":.......if.(this._autoMigrate). |
1e81c0 | 7b 0a 20 20 20 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 6e 65 77 48 6f 6d 65 50 61 67 65 29 | {.........if.(this._newHomePage) |
1e81e0 | 20 7b 0a 20 20 20 20 20 20 20 20 20 20 74 72 79 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f | .{...........try.{............./ |
1e8200 | 2f 20 73 65 74 20 68 6f 6d 65 70 61 67 65 20 70 72 6f 70 65 72 6c 79 0a 20 20 20 20 20 20 20 20 | /.set.homepage.properly......... |
1e8220 | 20 20 20 20 76 61 72 20 70 72 65 66 53 76 63 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 | ....var.prefSvc.=.Components.cla |
1e8240 | 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 70 72 65 66 65 72 65 6e 63 65 73 2d 73 | sses["@mozilla.org/preferences-s |
1e8260 | 65 72 76 69 63 65 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ervice;1"]...................... |
1e8280 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 6f 6d 70 6f | ................getService(Compo |
1e82a0 | 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 50 72 65 66 53 65 72 76 69 63 65 29 | nents.interfaces.nsIPrefService) |
1e82c0 | 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 70 72 65 66 42 72 61 6e 63 68 20 3d 20 70 | ;.............var.prefBranch.=.p |
1e82e0 | 72 65 66 53 76 63 2e 67 65 74 42 72 61 6e 63 68 28 6e 75 6c 6c 29 3b 0a 0a 20 20 20 20 20 20 20 | refSvc.getBranch(null);......... |
1e8300 | 20 20 20 20 20 69 66 20 28 74 68 69 73 2e 5f 6e 65 77 48 6f 6d 65 50 61 67 65 20 3d 3d 20 22 44 | .....if.(this._newHomePage.==."D |
1e8320 | 45 46 41 55 4c 54 22 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 72 79 20 7b 0a 20 | EFAULT").{...............try.{.. |
1e8340 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 65 66 42 72 61 6e 63 68 2e 63 6c 65 61 72 55 | ...............prefBranch.clearU |
1e8360 | 73 65 72 50 72 65 66 28 22 62 72 6f 77 73 65 72 2e 73 74 61 72 74 75 70 2e 68 6f 6d 65 70 61 67 | serPref("browser.startup.homepag |
1e8380 | 65 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 | e");...............}............ |
1e83a0 | 20 20 20 63 61 74 63 68 20 28 65 29 20 7b 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 | ...catch.(e).{.}.............}.. |
1e83c0 | 20 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ...........else.{............... |
1e83e0 | 76 61 72 20 73 74 72 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c 61 73 73 65 73 5b 22 40 6d | var.str.=.Components.classes["@m |
1e8400 | 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 73 75 70 70 6f 72 74 73 2d 73 74 72 69 6e 67 3b 31 22 5d 0a 20 | ozilla.org/supports-string;1"].. |
1e8420 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e | ................................ |
1e8440 | 63 72 65 61 74 65 49 6e 73 74 61 6e 63 65 28 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 | createInstance(Components.interf |
1e8460 | 61 63 65 73 2e 6e 73 49 53 75 70 70 6f 72 74 73 53 74 72 69 6e 67 29 3b 0a 20 20 20 20 20 20 20 | aces.nsISupportsString);........ |
1e8480 | 20 20 20 20 20 20 20 73 74 72 2e 64 61 74 61 20 3d 20 74 68 69 73 2e 5f 6e 65 77 48 6f 6d 65 50 | .......str.data.=.this._newHomeP |
1e84a0 | 61 67 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 65 66 42 72 61 6e 63 68 2e 73 65 | age;...............prefBranch.se |
1e84c0 | 74 43 6f 6d 70 6c 65 78 56 61 6c 75 65 28 22 62 72 6f 77 73 65 72 2e 73 74 61 72 74 75 70 2e 68 | tComplexValue("browser.startup.h |
1e84e0 | 6f 6d 65 70 61 67 65 22 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | omepage",....................... |
1e8500 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 6e | ...................Components.in |
1e8520 | 74 65 72 66 61 63 65 73 2e 6e 73 49 53 75 70 70 6f 72 74 73 53 74 72 69 6e 67 2c 0a 20 20 20 20 | terfaces.nsISupportsString,..... |
1e8540 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ................................ |
1e8560 | 20 20 20 20 20 73 74 72 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 | .....str);.............}........ |
1e8580 | 20 20 20 20 20 20 76 61 72 20 64 69 72 53 76 63 20 3d 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 63 6c | ......var.dirSvc.=.Components.cl |
1e85a0 | 61 73 73 65 73 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 66 69 6c 65 2f 64 69 72 65 63 74 6f | asses["@mozilla.org/file/directo |
1e85c0 | 72 79 5f 73 65 72 76 69 63 65 3b 31 22 5d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ry_service;1"].................. |
1e85e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 69 63 65 28 43 6f | ...................getService(Co |
1e8600 | 6d 70 6f 6e 65 6e 74 73 2e 69 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 50 72 6f 70 65 72 74 69 65 | mponents.interfaces.nsIPropertie |
1e8620 | 73 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 70 72 65 66 46 69 6c 65 20 3d 20 64 | s);.............var.prefFile.=.d |
1e8640 | 69 72 53 76 63 2e 67 65 74 28 22 50 72 6f 66 44 53 22 2c 20 43 6f 6d 70 6f 6e 65 6e 74 73 2e 69 | irSvc.get("ProfDS",.Components.i |
1e8660 | 6e 74 65 72 66 61 63 65 73 2e 6e 73 49 46 69 6c 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 | nterfaces.nsIFile);............. |
1e8680 | 70 72 65 66 46 69 6c 65 2e 61 70 70 65 6e 64 28 22 70 72 65 66 73 2e 6a 73 22 29 3b 0a 20 20 20 | prefFile.append("prefs.js");.... |
1e86a0 | 20 20 20 20 20 20 20 20 20 70 72 65 66 53 76 63 2e 73 61 76 65 50 72 65 66 46 69 6c 65 28 70 72 | .........prefSvc.savePrefFile(pr |
1e86c0 | 65 66 46 69 6c 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 7d 20 63 61 74 63 68 28 65 78 29 20 7b | efFile);...........}.catch(ex).{ |
1e86e0 | 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 64 75 6d 70 28 65 78 29 3b 20 0a 20 20 20 20 20 20 20 | ..............dump(ex);......... |
1e8700 | 20 20 20 7d 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 2f 2f 20 57 65 27 72 65 | ...}.........}..........//.We're |
1e8720 | 20 64 6f 6e 65 20 6e 6f 77 2e 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 77 69 7a 2e 63 61 6e | .done.now..........this._wiz.can |
1e8740 | 41 64 76 61 6e 63 65 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 77 69 | Advance.=.true;.........this._wi |
1e8760 | 7a 2e 61 64 76 61 6e 63 65 28 29 3b 0a 0a 20 20 20 20 20 20 20 20 73 65 74 54 69 6d 65 6f 75 74 | z.advance();..........setTimeout |
1e8780 | 28 63 6c 6f 73 65 2c 20 35 30 30 30 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 65 6c 73 | (close,.5000);.......}.......els |
1e87a0 | 65 20 7b 0a 20 20 20 20 20 20 20 20 74 68 69 73 2e 5f 77 69 7a 2e 63 61 6e 41 64 76 61 6e 63 65 | e.{.........this._wiz.canAdvance |
1e87c0 | 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 76 61 72 20 6e 65 78 74 42 75 74 74 6f 6e 20 | .=.true;.........var.nextButton. |
1e87e0 | 3d 20 74 68 69 73 2e 5f 77 69 7a 2e 67 65 74 42 75 74 74 6f 6e 28 22 6e 65 78 74 22 29 3b 0a 20 | =.this._wiz.getButton("next");.. |
1e8800 | 20 20 20 20 20 20 20 6e 65 78 74 42 75 74 74 6f 6e 2e 63 6c 69 63 6b 28 29 3b 0a 20 20 20 20 20 | .......nextButton.click();...... |
1e8820 | 20 7d 0a 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 7d 0a 20 20 7d 2c 0a 0a 20 20 6f 6e | .}.......break;.....}...},....on |
1e8840 | 44 6f 6e 65 50 61 67 65 53 68 6f 77 3a 20 66 75 6e 63 74 69 6f 6e 20 28 29 0a 20 20 7b 0a 20 20 | DonePageShow:.function.()...{... |
1e8860 | 20 20 74 68 69 73 2e 5f 77 69 7a 2e 67 65 74 42 75 74 74 6f 6e 28 22 63 61 6e 63 65 6c 22 29 2e | ..this._wiz.getButton("cancel"). |
1e8880 | 64 69 73 61 62 6c 65 64 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 74 68 69 73 2e 5f 77 69 7a 2e 63 | disabled.=.true;.....this._wiz.c |
1e88a0 | 61 6e 52 65 77 69 6e 64 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 74 68 69 73 2e 5f 6c 69 73 74 | anRewind.=.false;.....this._list |
1e88c0 | 49 74 65 6d 73 28 22 64 6f 6e 65 49 74 65 6d 73 22 29 3b 0a 20 20 7d 0a 7d 3b 0a 50 4b 03 04 14 | Items("doneItems");...}.};.PK... |
1e88e0 | 00 00 00 00 00 f9 4b 18 3b 97 5e 04 7c 1c 08 00 00 1c 08 00 00 29 00 00 00 63 6f 6e 74 65 6e 74 | ......K.;.^.|........)...content |
1e8900 | 2f 62 72 6f 77 73 65 72 2f 73 61 66 65 62 72 6f 77 73 69 6e 67 2f 73 62 2d 6c 6f 61 64 65 72 2e | /browser/safebrowsing/sb-loader. |
1e8920 | 6a 73 2f 2f 40 6c 69 6e 65 20 33 36 20 22 2f 62 75 69 6c 64 73 2f 6d 6f 7a 32 5f 73 6c 61 76 65 | js//@line.36."/builds/moz2_slave |
1e8940 | 2f 6c 69 6e 75 78 5f 62 75 69 6c 64 2f 62 75 69 6c 64 2f 62 72 6f 77 73 65 72 2f 63 6f 6d 70 6f | /linux_build/build/browser/compo |
1e8960 | 6e 65 6e 74 73 2f 73 61 66 65 62 72 6f 77 73 69 6e 67 2f 63 6f 6e 74 65 6e 74 2f 73 62 2d 6c 6f | nents/safebrowsing/content/sb-lo |
1e8980 | 61 64 65 72 2e 6a 73 22 0a 0a 76 61 72 20 73 61 66 65 62 72 6f 77 73 69 6e 67 20 3d 20 7b 0a 20 | ader.js"..var.safebrowsing.=.{.. |
1e89a0 | 20 61 70 70 43 6f 6e 74 65 78 74 3a 20 6e 75 6c 6c 2c 0a 0a 20 20 73 74 61 72 74 75 70 3a 20 66 | .appContext:.null,....startup:.f |
1e89c0 | 75 6e 63 74 69 6f 6e 28 29 20 7b 0a 20 20 20 20 73 65 74 54 69 6d 65 6f 75 74 28 66 75 6e 63 74 | unction().{.....setTimeout(funct |
1e89e0 | 69 6f 6e 28 29 20 7b 0a 20 20 20 20 20 20 73 61 66 65 62 72 6f 77 73 69 6e 67 2e 64 65 66 65 72 | ion().{.......safebrowsing.defer |
1e8a00 | 72 65 64 53 74 61 72 74 75 70 28 29 3b 0a 20 20 20 20 7d 2c 20 32 30 30 30 29 3b 0a 20 20 20 20 | redStartup();.....},.2000);..... |
1e8a20 | 77 69 6e 64 6f 77 2e 72 65 6d 6f 76 65 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 28 22 6c 6f 61 64 | window.removeEventListener("load |
1e8a40 | 22 2c 20 73 61 66 65 62 72 6f 77 73 69 6e 67 2e 73 74 61 72 74 75 70 2c 20 66 61 6c 73 65 29 3b | ",.safebrowsing.startup,.false); |
1e8a60 | 0a 20 20 7d 2c 0a 0a 20 20 64 65 66 65 72 72 65 64 53 74 61 72 74 75 70 3a 20 66 75 6e 63 74 69 | ...},....deferredStartup:.functi |
1e8a80 | 6f 6e 28 29 20 7b 0a 20 20 20 20 74 68 69 73 2e 61 70 70 43 6f 6e 74 65 78 74 2e 69 6e 69 74 69 | on().{.....this.appContext.initi |
1e8aa0 | 61 6c 69 7a 65 28 29 3b 0a 20 20 7d 2c 0a 0a 20 20 73 65 74 52 65 70 6f 72 74 50 68 69 73 68 69 | alize();...},....setReportPhishi |
1e8ac0 | 6e 67 4d 65 6e 75 3a 20 66 75 6e 63 74 69 6f 6e 28 29 20 7b 0a 20 20 20 20 20 20 0a 20 20 20 20 | ngMenu:.function().{............ |
1e8ae0 | 2f 2f 20 41 20 70 68 69 73 68 69 6e 67 20 70 61 67 65 20 77 69 6c 6c 20 68 61 76 65 20 61 20 73 | //.A.phishing.page.will.have.a.s |
1e8b00 | 70 65 63 69 66 69 63 20 61 62 6f 75 74 3a 62 6c 6f 63 6b 65 64 20 63 6f 6e 74 65 6e 74 20 64 6f | pecific.about:blocked.content.do |
1e8b20 | 63 75 6d 65 6e 74 55 52 49 0a 20 20 20 20 76 61 72 20 69 73 50 68 69 73 68 69 6e 67 50 61 67 65 | cumentURI.....var.isPhishingPage |
1e8b40 | 20 3d 20 2f 5e 61 62 6f 75 74 3a 62 6c 6f 63 6b 65 64 5c 3f 65 3d 70 68 69 73 68 69 6e 67 42 6c | .=./^about:blocked\?e=phishingBl |
1e8b60 | 6f 63 6b 65 64 2f 2e 74 65 73 74 28 63 6f 6e 74 65 6e 74 2e 64 6f 63 75 6d 65 6e 74 2e 64 6f 63 | ocked/.test(content.document.doc |
1e8b80 | 75 6d 65 6e 74 55 52 49 29 3b 0a 20 20 20 20 0a 20 20 20 20 2f 2f 20 53 68 6f 77 2f 68 69 64 65 | umentURI);..........//.Show/hide |
1e8ba0 | 20 74 68 65 20 61 70 70 72 6f 70 72 69 61 74 65 20 6d 65 6e 75 20 69 74 65 6d 2e 0a 20 20 20 20 | .the.appropriate.menu.item...... |
1e8bc0 | 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 6d 65 6e 75 5f 48 65 | document.getElementById("menu_He |
1e8be0 | 6c 70 50 6f 70 75 70 5f 72 65 70 6f 72 74 50 68 69 73 68 69 6e 67 74 6f 6f 6c 6d 65 6e 75 22 29 | lpPopup_reportPhishingtoolmenu") |
1e8c00 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 2e 68 69 64 64 65 6e 20 3d 20 69 73 50 68 69 73 68 69 6e | ..............hidden.=.isPhishin |
1e8c20 | 67 50 61 67 65 3b 0a 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 | gPage;.....document.getElementBy |
1e8c40 | 49 64 28 22 6d 65 6e 75 5f 48 65 6c 70 50 6f 70 75 70 5f 72 65 70 6f 72 74 50 68 69 73 68 69 6e | Id("menu_HelpPopup_reportPhishin |
1e8c60 | 67 45 72 72 6f 72 74 6f 6f 6c 6d 65 6e 75 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 2e 68 69 | gErrortoolmenu")..............hi |
1e8c80 | 64 64 65 6e 20 3d 20 21 69 73 50 68 69 73 68 69 6e 67 50 61 67 65 3b 0a 0a 20 20 20 20 76 61 72 | dden.=.!isPhishingPage;......var |
1e8ca0 | 20 62 72 6f 61 64 63 61 73 74 65 72 49 64 20 3d 20 69 73 50 68 69 73 68 69 6e 67 50 61 67 65 0a | .broadcasterId.=.isPhishingPage. |
1e8cc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3f 20 22 72 65 70 6f 72 | ........................?."repor |
1e8ce0 | 74 50 68 69 73 68 69 6e 67 45 72 72 6f 72 42 72 6f 61 64 63 61 73 74 65 72 22 0a 20 20 20 20 20 | tPhishingErrorBroadcaster"...... |
1e8d00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3a 20 22 72 65 70 6f 72 74 50 68 69 73 | ...................:."reportPhis |
1e8d20 | 68 69 6e 67 42 72 6f 61 64 63 61 73 74 65 72 22 3b 0a 0a 20 20 20 20 76 61 72 20 62 72 6f 61 64 | hingBroadcaster";......var.broad |
1e8d40 | 63 61 73 74 65 72 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 | caster.=.document.getElementById |
1e8d60 | 28 62 72 6f 61 64 63 61 73 74 65 72 49 64 29 3b 0a 20 20 20 20 69 66 20 28 21 62 72 6f 61 64 63 | (broadcasterId);.....if.(!broadc |
1e8d80 | 61 73 74 65 72 29 0a 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 20 20 76 61 72 20 75 72 | aster).......return;......var.ur |
1e8da0 | 69 20 3d 20 67 65 74 42 72 6f 77 73 65 72 28 29 2e 63 75 72 72 65 6e 74 55 52 49 3b 0a 20 20 20 | i.=.getBrowser().currentURI;.... |
1e8dc0 | 20 69 66 20 28 75 72 69 20 26 26 20 28 75 72 69 2e 73 63 68 65 6d 65 49 73 28 22 68 74 74 70 22 | .if.(uri.&&.(uri.schemeIs("http" |
1e8de0 | 29 20 7c 7c 20 75 72 69 2e 73 63 68 65 6d 65 49 73 28 22 68 74 74 70 73 22 29 29 29 0a 20 20 20 | ).||.uri.schemeIs("https"))).... |
1e8e00 | 20 20 20 62 72 6f 61 64 63 61 73 74 65 72 2e 72 65 6d 6f 76 65 41 74 74 72 69 62 75 74 65 28 22 | ...broadcaster.removeAttribute(" |
1e8e20 | 64 69 73 61 62 6c 65 64 22 29 3b 0a 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 62 72 6f 61 64 | disabled");.....else.......broad |
1e8e40 | 63 61 73 74 65 72 2e 73 65 74 41 74 74 72 69 62 75 74 65 28 22 64 69 73 61 62 6c 65 64 22 2c 20 | caster.setAttribute("disabled",. |
1e8e60 | 74 72 75 65 29 3b 0a 20 20 7d 2c 0a 20 20 0a 20 20 2f 2a 2a 0a 20 20 20 2a 20 4c 61 7a 79 20 69 | true);...},....../**....*.Lazy.i |
1e8e80 | 6e 69 74 20 67 65 74 74 65 72 20 66 6f 72 20 61 70 70 43 6f 6e 74 65 78 74 0a 20 20 20 2a 2f 0a | nit.getter.for.appContext....*/. |
1e8ea0 | 20 20 67 65 74 20 61 70 70 43 6f 6e 74 65 78 74 28 29 20 7b 0a 20 20 20 20 64 65 6c 65 74 65 20 | ..get.appContext().{.....delete. |
1e8ec0 | 74 68 69 73 2e 61 70 70 43 6f 6e 74 65 78 74 3b 0a 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 | this.appContext;.....return.this |
1e8ee0 | 2e 61 70 70 43 6f 6e 74 65 78 74 20 3d 20 43 63 5b 22 40 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 73 | .appContext.=.Cc["@mozilla.org/s |
1e8f00 | 61 66 65 62 72 6f 77 73 69 6e 67 2f 61 70 70 6c 69 63 61 74 69 6f 6e 3b 31 22 5d 0a 20 20 20 20 | afebrowsing/application;1"]..... |
1e8f20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 67 65 74 53 65 72 76 | .........................getServ |
1e8f40 | 69 63 65 28 29 2e 77 72 61 70 70 65 64 4a 53 4f 62 6a 65 63 74 3b 0a 20 20 7d 2c 0a 0a 20 20 2f | ice().wrappedJSObject;...},..../ |
1e8f60 | 2a 2a 0a 20 20 20 2a 20 55 73 65 64 20 74 6f 20 72 65 70 6f 72 74 20 61 20 70 68 69 73 68 69 6e | **....*.Used.to.report.a.phishin |
1e8f80 | 67 20 70 61 67 65 20 6f 72 20 61 20 66 61 6c 73 65 20 70 6f 73 69 74 69 76 65 0a 20 20 20 2a 20 | g.page.or.a.false.positive....*. |
1e8fa0 | 40 70 61 72 61 6d 20 6e 61 6d 65 20 53 74 72 69 6e 67 20 4f 6e 65 20 6f 66 20 22 50 68 69 73 68 | @param.name.String.One.of."Phish |
1e8fc0 | 22 2c 20 22 45 72 72 6f 72 22 2c 20 22 4d 61 6c 77 61 72 65 22 20 6f 72 20 22 4d 61 6c 77 61 72 | ",."Error",."Malware".or."Malwar |
1e8fe0 | 65 45 72 72 6f 72 22 0a 20 20 20 2a 20 40 72 65 74 75 72 6e 20 53 74 72 69 6e 67 20 74 68 65 20 | eError"....*.@return.String.the. |
1e9000 | 72 65 70 6f 72 74 20 70 68 69 73 68 69 6e 67 20 55 52 4c 2e 0a 20 20 20 2a 2f 0a 20 20 67 65 74 | report.phishing.URL.....*/...get |
1e9020 | 52 65 70 6f 72 74 55 52 4c 3a 20 66 75 6e 63 74 69 6f 6e 28 6e 61 6d 65 29 20 7b 0a 20 20 20 20 | ReportURL:.function(name).{..... |
1e9040 | 76 61 72 20 72 65 70 6f 72 74 55 72 6c 20 3d 20 74 68 69 73 2e 61 70 70 43 6f 6e 74 65 78 74 2e | var.reportUrl.=.this.appContext. |
1e9060 | 67 65 74 52 65 70 6f 72 74 55 52 4c 28 6e 61 6d 65 29 3b 0a 0a 20 20 20 20 76 61 72 20 70 61 67 | getReportURL(name);......var.pag |
1e9080 | 65 55 72 6c 20 3d 20 67 65 74 42 72 6f 77 73 65 72 28 29 2e 63 75 72 72 65 6e 74 55 52 49 2e 61 | eUrl.=.getBrowser().currentURI.a |
1e90a0 | 73 63 69 69 53 70 65 63 3b 0a 20 20 20 20 72 65 70 6f 72 74 55 72 6c 20 2b 3d 20 22 26 75 72 6c | sciiSpec;.....reportUrl.+=."&url |
1e90c0 | 3d 22 20 2b 20 65 6e 63 6f 64 65 55 52 49 43 6f 6d 70 6f 6e 65 6e 74 28 70 61 67 65 55 72 6c 29 | =".+.encodeURIComponent(pageUrl) |
1e90e0 | 3b 0a 0a 20 20 20 20 72 65 74 75 72 6e 20 72 65 70 6f 72 74 55 72 6c 3b 0a 20 20 7d 0a 7d 0a 0a | ;......return.reportUrl;...}.}.. |
1e9100 | 77 69 6e 64 6f 77 2e 61 64 64 45 76 65 6e 74 4c 69 73 74 65 6e 65 72 28 22 6c 6f 61 64 22 2c 20 | window.addEventListener("load",. |
1e9120 | 73 61 66 65 62 72 6f 77 73 69 6e 67 2e 73 74 61 72 74 75 70 2c 20 66 61 6c 73 65 29 3b 0a 50 4b | safebrowsing.startup,.false);.PK |
1e9140 | 03 04 14 00 00 00 00 00 f9 4b 18 3b 52 a5 e1 7e cf 05 00 00 cf 05 00 00 38 00 00 00 63 6f 6e 74 | .........K.;R..~........8...cont |
1e9160 | 65 6e 74 2f 62 72 6f 77 73 65 72 2f 73 61 66 65 62 72 6f 77 73 69 6e 67 2f 72 65 70 6f 72 74 2d | ent/browser/safebrowsing/report- |
1e9180 | 70 68 69 73 68 69 6e 67 2d 6f 76 65 72 6c 61 79 2e 78 75 6c 3c 3f 78 6d 6c 20 76 65 72 73 69 6f | phishing-overlay.xul<?xml.versio |
1e91a0 | 6e 3d 22 31 2e 30 22 3f 3e 0a 3c 21 44 4f 43 54 59 50 45 20 6f 76 65 72 6c 61 79 20 5b 0a 3c 21 | n="1.0"?>.<!DOCTYPE.overlay.[.<! |
1e91c0 | 45 4e 54 49 54 59 20 25 20 72 65 70 6f 72 74 70 68 69 73 68 44 54 44 20 53 59 53 54 45 4d 20 22 | ENTITY.%.reportphishDTD.SYSTEM." |
1e91e0 | 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f 6c 6f 63 61 6c 65 2f 73 61 66 65 62 72 6f 77 | chrome://browser/locale/safebrow |
1e9200 | 73 69 6e 67 2f 72 65 70 6f 72 74 2d 70 68 69 73 68 69 6e 67 2e 64 74 64 22 3e 0a 25 72 65 70 6f | sing/report-phishing.dtd">.%repo |
1e9220 | 72 74 70 68 69 73 68 44 54 44 3b 0a 3c 21 45 4e 54 49 54 59 20 25 20 73 61 66 65 62 72 6f 77 73 | rtphishDTD;.<!ENTITY.%.safebrows |
1e9240 | 69 6e 67 44 54 44 20 53 59 53 54 45 4d 20 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 65 72 2f | ingDTD.SYSTEM."chrome://browser/ |
1e9260 | 6c 6f 63 61 6c 65 2f 73 61 66 65 62 72 6f 77 73 69 6e 67 2f 70 68 69 73 68 69 6e 67 2d 61 66 74 | locale/safebrowsing/phishing-aft |
1e9280 | 65 72 6c 6f 61 64 2d 77 61 72 6e 69 6e 67 2d 6d 65 73 73 61 67 65 2e 64 74 64 22 3e 0a 25 73 61 | erload-warning-message.dtd">.%sa |
1e92a0 | 66 65 62 72 6f 77 73 69 6e 67 44 54 44 3b 0a 5d 3e 0a 0a 3c 6f 76 65 72 6c 61 79 20 69 64 3d 22 | febrowsingDTD;.]>..<overlay.id=" |
1e92c0 | 72 65 70 6f 72 74 50 68 69 73 68 69 6e 67 4d 65 6e 75 4f 76 65 72 6c 61 79 22 0a 20 20 20 20 20 | reportPhishingMenuOverlay"...... |
1e92e0 | 20 20 20 20 78 6d 6c 6e 73 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 | ....xmlns="http://www.mozilla.or |
1e9300 | 67 2f 6b 65 79 6d 61 73 74 65 72 2f 67 61 74 65 6b 65 65 70 65 72 2f 74 68 65 72 65 2e 69 73 2e | g/keymaster/gatekeeper/there.is. |
1e9320 | 6f 6e 6c 79 2e 78 75 6c 22 3e 0a 20 20 3c 62 72 6f 61 64 63 61 73 74 65 72 73 65 74 20 69 64 3d | only.xul">...<broadcasterset.id= |
1e9340 | 22 6d 61 69 6e 42 72 6f 61 64 63 61 73 74 65 72 53 65 74 22 3e 0a 20 20 20 20 3c 62 72 6f 61 64 | "mainBroadcasterSet">.....<broad |
1e9360 | 63 61 73 74 65 72 20 69 64 3d 22 72 65 70 6f 72 74 50 68 69 73 68 69 6e 67 42 72 6f 61 64 63 61 | caster.id="reportPhishingBroadca |
1e9380 | 73 74 65 72 22 20 64 69 73 61 62 6c 65 64 3d 22 74 72 75 65 22 2f 3e 0a 20 20 20 20 3c 62 72 6f | ster".disabled="true"/>.....<bro |
1e93a0 | 61 64 63 61 73 74 65 72 20 69 64 3d 22 72 65 70 6f 72 74 50 68 69 73 68 69 6e 67 45 72 72 6f 72 | adcaster.id="reportPhishingError |
1e93c0 | 42 72 6f 61 64 63 61 73 74 65 72 22 20 64 69 73 61 62 6c 65 64 3d 22 74 72 75 65 22 2f 3e 0a 20 | Broadcaster".disabled="true"/>.. |
1e93e0 | 20 3c 2f 62 72 6f 61 64 63 61 73 74 65 72 73 65 74 3e 0a 20 20 3c 6d 65 6e 75 70 6f 70 75 70 20 | .</broadcasterset>...<menupopup. |
1e9400 | 69 64 3d 22 6d 65 6e 75 5f 48 65 6c 70 50 6f 70 75 70 22 3e 0a 20 20 20 20 3c 6d 65 6e 75 69 74 | id="menu_HelpPopup">.....<menuit |
1e9420 | 65 6d 20 69 64 3d 22 6d 65 6e 75 5f 48 65 6c 70 50 6f 70 75 70 5f 72 65 70 6f 72 74 50 68 69 73 | em.id="menu_HelpPopup_reportPhis |
1e9440 | 68 69 6e 67 74 6f 6f 6c 6d 65 6e 75 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 | hingtoolmenu"...............labe |
1e9460 | 6c 3d 22 26 72 65 70 6f 72 74 50 68 69 73 68 53 69 74 65 4d 65 6e 75 2e 74 69 74 6c 65 32 3b 22 | l="&reportPhishSiteMenu.title2;" |
1e9480 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 72 65 70 6f 72 | ...............accesskey="&repor |
1e94a0 | 74 50 68 69 73 68 53 69 74 65 4d 65 6e 75 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 | tPhishSiteMenu.accesskey;"...... |
1e94c0 | 20 20 20 20 20 20 20 20 20 69 6e 73 65 72 74 62 65 66 6f 72 65 3d 22 75 70 64 61 74 65 53 65 70 | .........insertbefore="updateSep |
1e94e0 | 61 72 61 74 6f 72 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 62 73 65 72 76 65 73 3d 22 | arator"...............observes=" |
1e9500 | 72 65 70 6f 72 74 50 68 69 73 68 69 6e 67 42 72 6f 61 64 63 61 73 74 65 72 22 0a 20 20 20 20 20 | reportPhishingBroadcaster"...... |
1e9520 | 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 6f 70 65 6e 55 49 4c 69 6e 6b 28 73 | .........oncommand="openUILink(s |
1e9540 | 61 66 65 62 72 6f 77 73 69 6e 67 2e 67 65 74 52 65 70 6f 72 74 55 52 4c 28 27 50 68 69 73 68 27 | afebrowsing.getReportURL('Phish' |
1e9560 | 29 2c 20 65 76 65 6e 74 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6c 69 63 | ),.event);"...............onclic |
1e9580 | 6b 3d 22 63 68 65 63 6b 46 6f 72 4d 69 64 64 6c 65 43 6c 69 63 6b 28 74 68 69 73 2c 20 65 76 65 | k="checkForMiddleClick(this,.eve |
1e95a0 | 6e 74 29 3b 22 2f 3e 0a 20 20 20 20 3c 6d 65 6e 75 69 74 65 6d 20 69 64 3d 22 6d 65 6e 75 5f 48 | nt);"/>.....<menuitem.id="menu_H |
1e95c0 | 65 6c 70 50 6f 70 75 70 5f 72 65 70 6f 72 74 50 68 69 73 68 69 6e 67 45 72 72 6f 72 74 6f 6f 6c | elpPopup_reportPhishingErrortool |
1e95e0 | 6d 65 6e 75 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 3d 22 26 73 61 66 65 | menu"...............label="&safe |
1e9600 | 62 2e 70 61 6c 6d 2e 6e 6f 74 66 6f 72 67 65 72 79 2e 6c 61 62 65 6c 32 3b 22 0a 20 20 20 20 20 | b.palm.notforgery.label2;"...... |
1e9620 | 20 20 20 20 20 20 20 20 20 61 63 63 65 73 73 6b 65 79 3d 22 26 72 65 70 6f 72 74 50 68 69 73 68 | .........accesskey="&reportPhish |
1e9640 | 53 69 74 65 4d 65 6e 75 2e 61 63 63 65 73 73 6b 65 79 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 | SiteMenu.accesskey;"............ |
1e9660 | 20 20 20 69 6e 73 65 72 74 62 65 66 6f 72 65 3d 22 75 70 64 61 74 65 53 65 70 61 72 61 74 6f 72 | ...insertbefore="updateSeparator |
1e9680 | 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 62 73 65 72 76 65 73 3d 22 72 65 70 6f 72 74 | "...............observes="report |
1e96a0 | 50 68 69 73 68 69 6e 67 45 72 72 6f 72 42 72 6f 61 64 63 61 73 74 65 72 22 0a 20 20 20 20 20 20 | PhishingErrorBroadcaster"....... |
1e96c0 | 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 3d 22 6f 70 65 6e 55 49 4c 69 6e 6b 49 6e 28 | ........oncommand="openUILinkIn( |
1e96e0 | 73 61 66 65 62 72 6f 77 73 69 6e 67 2e 67 65 74 52 65 70 6f 72 74 55 52 4c 28 27 45 72 72 6f 72 | safebrowsing.getReportURL('Error |
1e9700 | 27 29 2c 20 27 74 61 62 27 29 3b 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 63 6c 69 | '),.'tab');"...............oncli |
1e9720 | 63 6b 3d 22 63 68 65 63 6b 46 6f 72 4d 69 64 64 6c 65 43 6c 69 63 6b 28 74 68 69 73 2c 20 65 76 | ck="checkForMiddleClick(this,.ev |
1e9740 | 65 6e 74 29 3b 22 2f 3e 0a 20 20 3c 2f 6d 65 6e 75 70 6f 70 75 70 3e 0a 3c 2f 6f 76 65 72 6c 61 | ent);"/>...</menupopup>.</overla |
1e9760 | 79 3e 0a 50 4b 03 04 14 00 00 00 00 00 f9 4b 18 3b 46 5c b7 fa 7c 21 00 00 7c 21 00 00 2e 00 00 | y>.PK.........K.;F\..|!..|!..... |
1e9780 | 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 73 61 66 65 62 72 6f 77 73 69 6e 67 2f 62 6c | .content/browser/safebrowsing/bl |
1e97a0 | 6f 63 6b 65 64 53 69 74 65 2e 78 68 74 6d 6c 3c 3f 78 6d 6c 20 76 65 72 73 69 6f 6e 3d 22 31 2e | ockedSite.xhtml<?xml.version="1. |
1e97c0 | 30 22 20 65 6e 63 6f 64 69 6e 67 3d 22 55 54 46 2d 38 22 3f 3e 0a 0a 3c 21 44 4f 43 54 59 50 45 | 0".encoding="UTF-8"?>..<!DOCTYPE |
1e97e0 | 20 68 74 6d 6c 20 5b 0a 20 20 3c 21 45 4e 54 49 54 59 20 25 20 68 74 6d 6c 44 54 44 20 50 55 42 | .html.[...<!ENTITY.%.htmlDTD.PUB |
1e9800 | 4c 49 43 20 22 2d 2f 2f 57 33 43 2f 2f 44 54 44 20 58 48 54 4d 4c 20 31 2e 30 20 53 74 72 69 63 | LIC."-//W3C//DTD.XHTML.1.0.Stric |
1e9820 | 74 2f 2f 45 4e 22 20 22 44 54 44 2f 78 68 74 6d 6c 31 2d 73 74 72 69 63 74 2e 64 74 64 22 3e 0a | t//EN"."DTD/xhtml1-strict.dtd">. |
1e9840 | 20 20 25 68 74 6d 6c 44 54 44 3b 0a 20 20 3c 21 45 4e 54 49 54 59 20 25 20 67 6c 6f 62 61 6c 44 | ..%htmlDTD;...<!ENTITY.%.globalD |
1e9860 | 54 44 20 53 59 53 54 45 4d 20 22 63 68 72 6f 6d 65 3a 2f 2f 67 6c 6f 62 61 6c 2f 6c 6f 63 61 6c | TD.SYSTEM."chrome://global/local |
1e9880 | 65 2f 67 6c 6f 62 61 6c 2e 64 74 64 22 3e 0a 20 20 25 67 6c 6f 62 61 6c 44 54 44 3b 0a 20 20 3c | e/global.dtd">...%globalDTD;...< |
1e98a0 | 21 45 4e 54 49 54 59 20 25 20 62 72 61 6e 64 44 54 44 20 53 59 53 54 45 4d 20 22 63 68 72 6f 6d | !ENTITY.%.brandDTD.SYSTEM."chrom |
1e98c0 | 65 3a 2f 2f 62 72 61 6e 64 69 6e 67 2f 6c 6f 63 61 6c 65 2f 62 72 61 6e 64 2e 64 74 64 22 20 3e | e://branding/locale/brand.dtd".> |
1e98e0 | 0a 20 20 25 62 72 61 6e 64 44 54 44 3b 0a 20 20 3c 21 45 4e 54 49 54 59 20 25 20 62 6c 6f 63 6b | ...%brandDTD;...<!ENTITY.%.block |
1e9900 | 65 64 53 69 74 65 44 54 44 20 53 59 53 54 45 4d 20 22 63 68 72 6f 6d 65 3a 2f 2f 62 72 6f 77 73 | edSiteDTD.SYSTEM."chrome://brows |
1e9920 | 65 72 2f 6c 6f 63 61 6c 65 2f 73 61 66 65 62 72 6f 77 73 69 6e 67 2f 70 68 69 73 68 69 6e 67 2d | er/locale/safebrowsing/phishing- |
1e9940 | 61 66 74 65 72 6c 6f 61 64 2d 77 61 72 6e 69 6e 67 2d 6d 65 73 73 61 67 65 2e 64 74 64 22 3e 0a | afterload-warning-message.dtd">. |
1e9960 | 20 20 25 62 6c 6f 63 6b 65 64 53 69 74 65 44 54 44 3b 0a 5d 3e 0a 0a 3c 21 2d 2d 20 2a 2a 2a 2a | ..%blockedSiteDTD;.]>..<!--.**** |
1e9980 | 2a 20 42 45 47 49 4e 20 4c 49 43 45 4e 53 45 20 42 4c 4f 43 4b 20 2a 2a 2a 2a 2a 0a 20 20 20 2d | *.BEGIN.LICENSE.BLOCK.*****....- |
1e99a0 | 20 56 65 72 73 69 6f 6e 3a 20 4d 50 4c 20 31 2e 31 2f 47 50 4c 20 32 2e 30 2f 4c 47 50 4c 20 32 | .Version:.MPL.1.1/GPL.2.0/LGPL.2 |
1e99c0 | 2e 31 0a 20 20 20 2d 0a 20 20 20 2d 20 54 68 65 20 63 6f 6e 74 65 6e 74 73 20 6f 66 20 74 68 69 | .1....-....-.The.contents.of.thi |
1e99e0 | 73 20 66 69 6c 65 20 61 72 65 20 73 75 62 6a 65 63 74 20 74 6f 20 74 68 65 20 4d 6f 7a 69 6c 6c | s.file.are.subject.to.the.Mozill |
1e9a00 | 61 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 20 56 65 72 73 69 6f 6e 0a 20 20 20 2d 20 31 2e | a.Public.License.Version....-.1. |
1e9a20 | 31 20 28 74 68 65 20 22 4c 69 63 65 6e 73 65 22 29 3b 20 79 6f 75 20 6d 61 79 20 6e 6f 74 20 75 | 1.(the."License");.you.may.not.u |
1e9a40 | 73 65 20 74 68 69 73 20 66 69 6c 65 20 65 78 63 65 70 74 20 69 6e 20 63 6f 6d 70 6c 69 61 6e 63 | se.this.file.except.in.complianc |
1e9a60 | 65 20 77 69 74 68 0a 20 20 20 2d 20 74 68 65 20 4c 69 63 65 6e 73 65 2e 20 59 6f 75 20 6d 61 79 | e.with....-.the.License..You.may |
1e9a80 | 20 6f 62 74 61 69 6e 20 61 20 63 6f 70 79 20 6f 66 20 74 68 65 20 4c 69 63 65 6e 73 65 20 61 74 | .obtain.a.copy.of.the.License.at |
1e9aa0 | 0a 20 20 20 2d 20 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 4d 50 4c | ....-.http://www.mozilla.org/MPL |
1e9ac0 | 2f 0a 20 20 20 2d 0a 20 20 20 2d 20 53 6f 66 74 77 61 72 65 20 64 69 73 74 72 69 62 75 74 65 64 | /....-....-.Software.distributed |
1e9ae0 | 20 75 6e 64 65 72 20 74 68 65 20 4c 69 63 65 6e 73 65 20 69 73 20 64 69 73 74 72 69 62 75 74 65 | .under.the.License.is.distribute |
1e9b00 | 64 20 6f 6e 20 61 6e 20 22 41 53 20 49 53 22 20 62 61 73 69 73 2c 0a 20 20 20 2d 20 57 49 54 48 | d.on.an."AS.IS".basis,....-.WITH |
1e9b20 | 4f 55 54 20 57 41 52 52 41 4e 54 59 20 4f 46 20 41 4e 59 20 4b 49 4e 44 2c 20 65 69 74 68 65 72 | OUT.WARRANTY.OF.ANY.KIND,.either |
1e9b40 | 20 65 78 70 72 65 73 73 20 6f 72 20 69 6d 70 6c 69 65 64 2e 20 53 65 65 20 74 68 65 20 4c 69 63 | .express.or.implied..See.the.Lic |
1e9b60 | 65 6e 73 65 0a 20 20 20 2d 20 66 6f 72 20 74 68 65 20 73 70 65 63 69 66 69 63 20 6c 61 6e 67 75 | ense....-.for.the.specific.langu |
1e9b80 | 61 67 65 20 67 6f 76 65 72 6e 69 6e 67 20 72 69 67 68 74 73 20 61 6e 64 20 6c 69 6d 69 74 61 74 | age.governing.rights.and.limitat |
1e9ba0 | 69 6f 6e 73 20 75 6e 64 65 72 20 74 68 65 0a 20 20 20 2d 20 4c 69 63 65 6e 73 65 2e 0a 20 20 20 | ions.under.the....-.License..... |
1e9bc0 | 2d 0a 20 20 20 2d 20 54 68 65 20 4f 72 69 67 69 6e 61 6c 20 43 6f 64 65 20 69 73 20 6d 6f 7a 69 | -....-.The.Original.Code.is.mozi |
1e9be0 | 6c 6c 61 2e 6f 72 67 20 63 6f 64 65 2e 0a 20 20 20 2d 0a 20 20 20 2d 20 54 68 65 20 49 6e 69 74 | lla.org.code.....-....-.The.Init |
1e9c00 | 69 61 6c 20 44 65 76 65 6c 6f 70 65 72 20 6f 66 20 74 68 65 20 4f 72 69 67 69 6e 61 6c 20 43 6f | ial.Developer.of.the.Original.Co |
1e9c20 | 64 65 20 69 73 0a 20 20 20 2d 20 4e 65 74 73 63 61 70 65 20 43 6f 6d 6d 75 6e 69 63 61 74 69 6f | de.is....-.Netscape.Communicatio |
1e9c40 | 6e 73 20 43 6f 72 70 6f 72 61 74 69 6f 6e 2e 0a 20 20 20 2d 20 50 6f 72 74 69 6f 6e 73 20 63 72 | ns.Corporation.....-.Portions.cr |
1e9c60 | 65 61 74 65 64 20 62 79 20 74 68 65 20 49 6e 69 74 69 61 6c 20 44 65 76 65 6c 6f 70 65 72 20 61 | eated.by.the.Initial.Developer.a |
1e9c80 | 72 65 20 43 6f 70 79 72 69 67 68 74 20 28 43 29 20 31 39 39 38 0a 20 20 20 2d 20 74 68 65 20 49 | re.Copyright.(C).1998....-.the.I |
1e9ca0 | 6e 69 74 69 61 6c 20 44 65 76 65 6c 6f 70 65 72 2e 20 41 6c 6c 20 52 69 67 68 74 73 20 52 65 73 | nitial.Developer..All.Rights.Res |
1e9cc0 | 65 72 76 65 64 2e 0a 20 20 20 2d 0a 20 20 20 2d 20 43 6f 6e 74 72 69 62 75 74 6f 72 28 73 29 3a | erved.....-....-.Contributor(s): |
1e9ce0 | 0a 20 20 20 2d 20 20 20 41 64 61 6d 20 4c 6f 63 6b 20 3c 61 64 61 6d 6c 6f 63 6b 40 6e 65 74 73 | ....-...Adam.Lock.<adamlock@nets |
1e9d00 | 63 61 70 65 2e 63 6f 6d 3e 0a 20 20 20 2d 20 20 20 57 69 6c 6c 69 61 6d 20 52 2e 20 50 72 69 63 | cape.com>....-...William.R..Pric |
1e9d20 | 65 20 3c 77 72 70 72 69 63 65 40 61 6c 75 6d 6e 69 2e 72 69 63 65 2e 65 64 75 3e 0a 20 20 20 2d | e.<wrprice@alumni.rice.edu>....- |
1e9d40 | 20 20 20 48 65 6e 72 69 6b 20 53 6b 75 70 69 6e 20 3c 6d 6f 7a 69 6c 6c 61 40 68 73 6b 75 70 69 | ...Henrik.Skupin.<mozilla@hskupi |
1e9d60 | 6e 2e 69 6e 66 6f 3e 0a 20 20 20 2d 20 20 20 4a 65 66 66 20 57 61 6c 64 65 6e 20 3c 6a 77 61 6c | n.info>....-...Jeff.Walden.<jwal |
1e9d80 | 64 65 6e 2b 63 6f 64 65 40 6d 69 74 2e 65 64 75 3e 0a 20 20 20 2d 20 20 20 4a 6f 68 6e 61 74 68 | den+code@mit.edu>....-...Johnath |
1e9da0 | 61 6e 20 4e 69 67 68 74 69 6e 67 61 6c 65 20 3c 6a 6f 68 6e 61 74 68 40 6d 6f 7a 69 6c 6c 61 2e | an.Nightingale.<johnath@mozilla. |
1e9dc0 | 63 6f 6d 3e 0a 20 20 20 2d 0a 20 20 20 2d 20 41 6c 74 65 72 6e 61 74 69 76 65 6c 79 2c 20 74 68 | com>....-....-.Alternatively,.th |
1e9de0 | 65 20 63 6f 6e 74 65 6e 74 73 20 6f 66 20 74 68 69 73 20 66 69 6c 65 20 6d 61 79 20 62 65 20 75 | e.contents.of.this.file.may.be.u |
1e9e00 | 73 65 64 20 75 6e 64 65 72 20 74 68 65 20 74 65 72 6d 73 20 6f 66 0a 20 20 20 2d 20 65 69 74 68 | sed.under.the.terms.of....-.eith |
1e9e20 | 65 72 20 74 68 65 20 47 4e 55 20 47 65 6e 65 72 61 6c 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 | er.the.GNU.General.Public.Licens |
1e9e40 | 65 20 56 65 72 73 69 6f 6e 20 32 20 6f 72 20 6c 61 74 65 72 20 28 74 68 65 20 22 47 50 4c 22 29 | e.Version.2.or.later.(the."GPL") |
1e9e60 | 2c 20 6f 72 0a 20 20 20 2d 20 74 68 65 20 47 4e 55 20 4c 65 73 73 65 72 20 47 65 6e 65 72 61 6c | ,.or....-.the.GNU.Lesser.General |
1e9e80 | 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 20 56 65 72 73 69 6f 6e 20 32 2e 31 20 6f 72 20 6c | .Public.License.Version.2.1.or.l |
1e9ea0 | 61 74 65 72 20 28 74 68 65 20 22 4c 47 50 4c 22 29 2c 0a 20 20 20 2d 20 69 6e 20 77 68 69 63 68 | ater.(the."LGPL"),....-.in.which |
1e9ec0 | 20 63 61 73 65 20 74 68 65 20 70 72 6f 76 69 73 69 6f 6e 73 20 6f 66 20 74 68 65 20 47 50 4c 20 | .case.the.provisions.of.the.GPL. |
1e9ee0 | 6f 72 20 74 68 65 20 4c 47 50 4c 20 61 72 65 20 61 70 70 6c 69 63 61 62 6c 65 20 69 6e 73 74 65 | or.the.LGPL.are.applicable.inste |
1e9f00 | 61 64 0a 20 20 20 2d 20 6f 66 20 74 68 6f 73 65 20 61 62 6f 76 65 2e 20 49 66 20 79 6f 75 20 77 | ad....-.of.those.above..If.you.w |
1e9f20 | 69 73 68 20 74 6f 20 61 6c 6c 6f 77 20 75 73 65 20 6f 66 20 79 6f 75 72 20 76 65 72 73 69 6f 6e | ish.to.allow.use.of.your.version |
1e9f40 | 20 6f 66 20 74 68 69 73 20 66 69 6c 65 20 6f 6e 6c 79 0a 20 20 20 2d 20 75 6e 64 65 72 20 74 68 | .of.this.file.only....-.under.th |
1e9f60 | 65 20 74 65 72 6d 73 20 6f 66 20 65 69 74 68 65 72 20 74 68 65 20 47 50 4c 20 6f 72 20 74 68 65 | e.terms.of.either.the.GPL.or.the |
1e9f80 | 20 4c 47 50 4c 2c 20 61 6e 64 20 6e 6f 74 20 74 6f 20 61 6c 6c 6f 77 20 6f 74 68 65 72 73 20 74 | .LGPL,.and.not.to.allow.others.t |
1e9fa0 | 6f 0a 20 20 20 2d 20 75 73 65 20 79 6f 75 72 20 76 65 72 73 69 6f 6e 20 6f 66 20 74 68 69 73 20 | o....-.use.your.version.of.this. |
1e9fc0 | 66 69 6c 65 20 75 6e 64 65 72 20 74 68 65 20 74 65 72 6d 73 20 6f 66 20 74 68 65 20 4d 50 4c 2c | file.under.the.terms.of.the.MPL, |
1e9fe0 | 20 69 6e 64 69 63 61 74 65 20 79 6f 75 72 0a 20 20 20 2d 20 64 65 63 69 73 69 6f 6e 20 62 79 20 | .indicate.your....-.decision.by. |
1ea000 | 64 65 6c 65 74 69 6e 67 20 74 68 65 20 70 72 6f 76 69 73 69 6f 6e 73 20 61 62 6f 76 65 20 61 6e | deleting.the.provisions.above.an |
1ea020 | 64 20 72 65 70 6c 61 63 65 20 74 68 65 6d 20 77 69 74 68 20 74 68 65 20 6e 6f 74 69 63 65 0a 20 | d.replace.them.with.the.notice.. |
1ea040 | 20 20 2d 20 61 6e 64 20 6f 74 68 65 72 20 70 72 6f 76 69 73 69 6f 6e 73 20 72 65 71 75 69 72 65 | ..-.and.other.provisions.require |
1ea060 | 64 20 62 79 20 74 68 65 20 4c 47 50 4c 20 6f 72 20 74 68 65 20 47 50 4c 2e 20 49 66 20 79 6f 75 | d.by.the.LGPL.or.the.GPL..If.you |
1ea080 | 20 64 6f 20 6e 6f 74 20 64 65 6c 65 74 65 0a 20 20 20 2d 20 74 68 65 20 70 72 6f 76 69 73 69 6f | .do.not.delete....-.the.provisio |
1ea0a0 | 6e 73 20 61 62 6f 76 65 2c 20 61 20 72 65 63 69 70 69 65 6e 74 20 6d 61 79 20 75 73 65 20 79 6f | ns.above,.a.recipient.may.use.yo |
1ea0c0 | 75 72 20 76 65 72 73 69 6f 6e 20 6f 66 20 74 68 69 73 20 66 69 6c 65 20 75 6e 64 65 72 0a 20 20 | ur.version.of.this.file.under... |
1ea0e0 | 20 2d 20 74 68 65 20 74 65 72 6d 73 20 6f 66 20 61 6e 79 20 6f 6e 65 20 6f 66 20 74 68 65 20 4d | .-.the.terms.of.any.one.of.the.M |
1ea100 | 50 4c 2c 20 74 68 65 20 47 50 4c 20 6f 72 20 74 68 65 20 4c 47 50 4c 2e 0a 20 20 20 2d 0a 20 20 | PL,.the.GPL.or.the.LGPL.....-... |
1ea120 | 20 2d 20 2a 2a 2a 2a 2a 20 45 4e 44 20 4c 49 43 45 4e 53 45 20 42 4c 4f 43 4b 20 2a 2a 2a 2a 2a | .-.*****.END.LICENSE.BLOCK.***** |
1ea140 | 20 2d 2d 3e 0a 0a 3c 68 74 6d 6c 20 78 6d 6c 6e 73 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e 77 33 | .-->..<html.xmlns="http://www.w3 |
1ea160 | 2e 6f 72 67 2f 31 39 39 39 2f 78 68 74 6d 6c 22 20 63 6c 61 73 73 3d 22 62 6c 61 63 6b 6c 69 73 | .org/1999/xhtml".class="blacklis |
1ea180 | 74 22 3e 0a 20 20 3c 68 65 61 64 3e 0a 20 20 20 20 3c 6c 69 6e 6b 20 72 65 6c 3d 22 73 74 79 6c | t">...<head>.....<link.rel="styl |
1ea1a0 | 65 73 68 65 65 74 22 20 68 72 65 66 3d 22 63 68 72 6f 6d 65 3a 2f 2f 67 6c 6f 62 61 6c 2f 73 6b | esheet".href="chrome://global/sk |
1ea1c0 | 69 6e 2f 6e 65 74 45 72 72 6f 72 2e 63 73 73 22 20 74 79 70 65 3d 22 74 65 78 74 2f 63 73 73 22 | in/netError.css".type="text/css" |
1ea1e0 | 20 6d 65 64 69 61 3d 22 61 6c 6c 22 20 2f 3e 0a 20 20 20 20 3c 6c 69 6e 6b 20 72 65 6c 3d 22 69 | .media="all"./>.....<link.rel="i |
1ea200 | 63 6f 6e 22 20 74 79 70 65 3d 22 69 6d 61 67 65 2f 70 6e 67 22 20 69 64 3d 22 66 61 76 69 63 6f | con".type="image/png".id="favico |
1ea220 | 6e 22 20 68 72 65 66 3d 22 63 68 72 6f 6d 65 3a 2f 2f 67 6c 6f 62 61 6c 2f 73 6b 69 6e 2f 69 63 | n".href="chrome://global/skin/ic |
1ea240 | 6f 6e 73 2f 62 6c 61 63 6b 6c 69 73 74 5f 66 61 76 69 63 6f 6e 2e 70 6e 67 22 2f 3e 0a 0a 20 20 | ons/blacklist_favicon.png"/>.... |
1ea260 | 20 20 3c 73 63 72 69 70 74 20 74 79 70 65 3d 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f 6a 61 76 61 | ..<script.type="application/java |
1ea280 | 73 63 72 69 70 74 22 3e 3c 21 5b 43 44 41 54 41 5b 0a 20 20 20 20 20 20 2f 2f 20 45 72 72 6f 72 | script"><![CDATA[.......//.Error |
1ea2a0 | 20 75 72 6c 20 4d 55 53 54 20 62 65 20 66 6f 72 6d 61 74 74 65 64 20 6c 69 6b 65 20 74 68 69 73 | .url.MUST.be.formatted.like.this |
1ea2c0 | 3a 0a 20 20 20 20 20 20 2f 2f 20 20 20 61 62 6f 75 74 3a 62 6c 6f 63 6b 65 64 3f 65 3d 65 72 72 | :.......//...about:blocked?e=err |
1ea2e0 | 6f 72 5f 63 6f 64 65 26 75 3d 75 72 6c 0a 20 20 20 20 20 20 0a 20 20 20 20 20 20 2f 2f 20 4e 6f | or_code&u=url..............//.No |
1ea300 | 74 65 20 74 68 61 74 20 74 68 69 73 20 66 69 6c 65 20 75 73 65 73 20 64 6f 63 75 6d 65 6e 74 2e | te.that.this.file.uses.document. |
1ea320 | 64 6f 63 75 6d 65 6e 74 55 52 49 20 74 6f 20 67 65 74 0a 20 20 20 20 20 20 2f 2f 20 74 68 65 20 | documentURI.to.get.......//.the. |
1ea340 | 55 52 4c 20 28 77 69 74 68 20 74 68 65 20 66 6f 72 6d 61 74 20 66 72 6f 6d 20 61 62 6f 76 65 29 | URL.(with.the.format.from.above) |
1ea360 | 2e 20 54 68 69 73 20 69 73 20 62 65 63 61 75 73 65 0a 20 20 20 20 20 20 2f 2f 20 64 6f 63 75 6d | ..This.is.because.......//.docum |
1ea380 | 65 6e 74 2e 6c 6f 63 61 74 69 6f 6e 2e 68 72 65 66 20 67 65 74 73 20 74 68 65 20 63 75 72 72 65 | ent.location.href.gets.the.curre |
1ea3a0 | 6e 74 20 55 52 49 20 6f 66 66 20 74 68 65 20 64 6f 63 73 68 65 6c 6c 2c 0a 20 20 20 20 20 20 2f | nt.URI.off.the.docshell,......./ |
1ea3c0 | 2f 20 77 68 69 63 68 20 69 73 20 74 68 65 20 55 52 4c 20 64 69 73 70 6c 61 79 65 64 20 69 6e 20 | /.which.is.the.URL.displayed.in. |
1ea3e0 | 74 68 65 20 6c 6f 63 61 74 69 6f 6e 20 62 61 72 2c 20 69 2e 65 2e 0a 20 20 20 20 20 20 2f 2f 20 | the.location.bar,.i.e........//. |
1ea400 | 74 68 65 20 55 52 49 20 74 68 61 74 20 74 68 65 20 75 73 65 72 20 61 74 74 65 6d 70 74 65 64 20 | the.URI.that.the.user.attempted. |
1ea420 | 74 6f 20 6c 6f 61 64 2e 0a 0a 20 20 20 20 20 20 66 75 6e 63 74 69 6f 6e 20 67 65 74 45 72 72 6f | to.load.........function.getErro |
1ea440 | 72 43 6f 64 65 28 29 0a 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 76 61 72 20 75 72 6c 20 | rCode().......{.........var.url. |
1ea460 | 3d 20 64 6f 63 75 6d 65 6e 74 2e 64 6f 63 75 6d 65 6e 74 55 52 49 3b 0a 20 20 20 20 20 20 20 20 | =.document.documentURI;......... |
1ea480 | 76 61 72 20 65 72 72 6f 72 20 3d 20 75 72 6c 2e 73 65 61 72 63 68 28 2f 65 5c 3d 2f 29 3b 0a 20 | var.error.=.url.search(/e\=/);.. |
1ea4a0 | 20 20 20 20 20 20 20 76 61 72 20 64 75 66 66 55 72 6c 20 3d 20 75 72 6c 2e 73 65 61 72 63 68 28 | .......var.duffUrl.=.url.search( |
1ea4c0 | 2f 5c 26 75 5c 3d 2f 29 3b 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 64 65 63 6f 64 65 55 | /\&u\=/);.........return.decodeU |
1ea4e0 | 52 49 43 6f 6d 70 6f 6e 65 6e 74 28 75 72 6c 2e 73 6c 69 63 65 28 65 72 72 6f 72 20 2b 20 32 2c | RIComponent(url.slice(error.+.2, |
1ea500 | 20 64 75 66 66 55 72 6c 29 29 3b 0a 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 66 75 6e 63 74 | .duffUrl));.......}........funct |
1ea520 | 69 6f 6e 20 67 65 74 55 52 4c 28 29 0a 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 76 61 72 | ion.getURL().......{.........var |
1ea540 | 20 75 72 6c 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 64 6f 63 75 6d 65 6e 74 55 52 49 3b 0a 20 20 20 | .url.=.document.documentURI;.... |
1ea560 | 20 20 20 20 20 76 61 72 20 69 6e 64 65 78 20 3d 20 75 72 6c 2e 73 65 61 72 63 68 28 2f 75 5c 3d | .....var.index.=.url.search(/u\= |
1ea580 | 2f 29 3b 0a 0a 20 20 20 20 20 20 20 20 2f 2f 20 69 6e 64 65 78 20 3d 3d 20 2d 31 20 69 66 20 6e | /);..........//.index.==.-1.if.n |
1ea5a0 | 6f 74 20 66 6f 75 6e 64 3b 20 69 66 20 73 6f 2c 20 72 65 74 75 72 6e 20 61 6e 20 65 6d 70 74 79 | ot.found;.if.so,.return.an.empty |
1ea5c0 | 20 73 74 72 69 6e 67 0a 20 20 20 20 20 20 20 20 2f 2f 20 69 6e 73 74 65 61 64 20 6f 66 20 77 68 | .string.........//.instead.of.wh |
1ea5e0 | 61 74 20 77 6f 75 6c 64 20 74 75 72 6e 20 6f 75 74 20 74 6f 20 62 65 20 70 6f 72 74 69 6f 6e 73 | at.would.turn.out.to.be.portions |
1ea600 | 20 6f 66 20 74 68 65 20 55 52 49 0a 20 20 20 20 20 20 20 20 69 66 20 28 69 6e 64 65 78 20 3d 3d | .of.the.URI.........if.(index.== |
1ea620 | 20 2d 31 29 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 22 22 3b 0a 0a 20 20 20 20 20 | .-1)...........return."";....... |
1ea640 | 20 20 20 72 65 74 75 72 6e 20 64 65 63 6f 64 65 55 52 49 43 6f 6d 70 6f 6e 65 6e 74 28 75 72 6c | ...return.decodeURIComponent(url |
1ea660 | 2e 73 6c 69 63 65 28 69 6e 64 65 78 20 2b 20 32 29 29 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 | .slice(index.+.2));.......}..... |
1ea680 | 20 20 0a 20 20 20 20 20 20 2f 2a 2a 0a 20 20 20 20 20 20 20 2a 20 41 74 74 65 6d 70 74 20 74 6f | ........./**........*.Attempt.to |
1ea6a0 | 20 70 61 72 73 65 20 74 68 65 20 72 65 73 75 6c 74 20 6f 66 20 67 65 74 55 52 4c 20 61 6e 64 20 | .parse.the.result.of.getURL.and. |
1ea6c0 | 65 78 74 72 61 63 74 20 61 20 68 6f 73 74 6e 61 6d 65 2e 20 20 46 61 69 6c 20 62 61 63 6b 0a 20 | extract.a.hostname...Fail.back.. |
1ea6e0 | 20 20 20 20 20 20 2a 20 74 6f 20 67 65 74 55 52 4c 20 73 6f 20 74 68 61 74 20 77 65 20 61 6c 77 | ......*.to.getURL.so.that.we.alw |
1ea700 | 61 79 73 20 72 65 74 75 72 6e 20 73 6f 6d 65 74 68 69 6e 67 20 6d 65 61 6e 69 6e 67 66 75 6c 2e | ays.return.something.meaningful. |
1ea720 | 0a 20 20 20 20 20 20 20 2a 2f 0a 20 20 20 20 20 20 66 75 6e 63 74 69 6f 6e 20 67 65 74 48 6f 73 | ........*/.......function.getHos |
1ea740 | 74 53 74 72 69 6e 67 28 29 0a 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 72 65 74 75 72 6e | tString().......{.........return |
1ea760 | 20 64 6f 63 75 6d 65 6e 74 2e 6c 6f 63 61 74 69 6f 6e 2e 68 6f 73 74 6e 61 6d 65 3b 0a 20 20 20 | .document.location.hostname;.... |
1ea780 | 20 20 20 7d 0a 20 20 20 20 20 20 0a 20 20 20 20 20 20 66 75 6e 63 74 69 6f 6e 20 69 6e 69 74 50 | ...}..............function.initP |
1ea7a0 | 61 67 65 28 29 0a 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 2f 2f 20 48 61 6e 64 6f 66 66 | age().......{.........//.Handoff |
1ea7c0 | 20 74 6f 20 74 68 65 20 61 70 70 72 6f 70 72 69 61 74 65 20 69 6e 69 74 69 61 6c 69 7a 65 72 2c | .to.the.appropriate.initializer, |
1ea7e0 | 20 62 61 73 65 64 20 6f 6e 20 65 72 72 6f 72 20 63 6f 64 65 0a 20 20 20 20 20 20 20 20 73 77 69 | .based.on.error.code.........swi |
1ea800 | 74 63 68 28 67 65 74 45 72 72 6f 72 43 6f 64 65 28 29 29 20 7b 0a 20 20 20 20 20 20 20 20 20 20 | tch(getErrorCode()).{........... |
1ea820 | 63 61 73 65 20 22 6d 61 6c 77 61 72 65 42 6c 6f 63 6b 65 64 22 20 3a 0a 20 20 20 20 20 20 20 20 | case."malwareBlocked".:......... |
1ea840 | 20 20 20 20 69 6e 69 74 50 61 67 65 5f 6d 61 6c 77 61 72 65 28 29 3b 0a 20 20 20 20 20 20 20 20 | ....initPage_malware();......... |
1ea860 | 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 22 70 68 69 73 68 | ....break;...........case."phish |
1ea880 | 69 6e 67 42 6c 6f 63 6b 65 64 22 20 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 69 74 50 61 | ingBlocked".:.............initPa |
1ea8a0 | 67 65 5f 70 68 69 73 68 69 6e 67 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b | ge_phishing();.............break |
1ea8c0 | 3b 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 7d 20 20 20 20 20 20 20 20 0a 20 20 20 20 | ;.........}.......}............. |
1ea8e0 | 20 20 0a 20 20 20 20 20 20 2f 2a 2a 0a 20 20 20 20 20 20 20 2a 20 49 6e 69 74 69 61 6c 69 7a 65 | ........./**........*.Initialize |
1ea900 | 20 63 75 73 74 6f 6d 20 73 74 72 69 6e 67 73 20 61 6e 64 20 66 75 6e 63 74 69 6f 6e 61 6c 69 74 | .custom.strings.and.functionalit |
1ea920 | 79 20 66 6f 72 20 62 6c 6f 63 6b 65 64 20 6d 61 6c 77 61 72 65 20 63 61 73 65 0a 20 20 20 20 20 | y.for.blocked.malware.case...... |
1ea940 | 20 20 2a 2f 0a 20 20 20 20 20 20 66 75 6e 63 74 69 6f 6e 20 69 6e 69 74 50 61 67 65 5f 6d 61 6c | ..*/.......function.initPage_mal |
1ea960 | 77 61 72 65 28 29 0a 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 2f 2f 20 52 65 6d 6f 76 65 | ware().......{.........//.Remove |
1ea980 | 20 70 68 69 73 68 69 6e 67 20 73 74 72 69 6e 67 73 0a 20 20 20 20 20 20 20 20 76 61 72 20 65 6c | .phishing.strings.........var.el |
1ea9a0 | 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 65 72 72 6f | .=.document.getElementById("erro |
1ea9c0 | 72 54 69 74 6c 65 54 65 78 74 5f 70 68 69 73 68 69 6e 67 22 29 3b 0a 20 20 20 20 20 20 20 20 65 | rTitleText_phishing");.........e |
1ea9e0 | 6c 2e 70 61 72 65 6e 74 4e 6f 64 65 2e 72 65 6d 6f 76 65 43 68 69 6c 64 28 65 6c 29 3b 0a 0a 20 | l.parentNode.removeChild(el);... |
1eaa00 | 20 20 20 20 20 20 20 65 6c 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 | .......el.=.document.getElementB |
1eaa20 | 79 49 64 28 22 65 72 72 6f 72 53 68 6f 72 74 44 65 73 63 54 65 78 74 5f 70 68 69 73 68 69 6e 67 | yId("errorShortDescText_phishing |
1eaa40 | 22 29 3b 0a 20 20 20 20 20 20 20 20 65 6c 2e 70 61 72 65 6e 74 4e 6f 64 65 2e 72 65 6d 6f 76 65 | ");.........el.parentNode.remove |
1eaa60 | 43 68 69 6c 64 28 65 6c 29 3b 0a 0a 20 20 20 20 20 20 20 20 65 6c 20 3d 20 64 6f 63 75 6d 65 6e | Child(el);..........el.=.documen |
1eaa80 | 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 65 72 72 6f 72 4c 6f 6e 67 44 65 73 63 54 | t.getElementById("errorLongDescT |
1eaaa0 | 65 78 74 5f 70 68 69 73 68 69 6e 67 22 29 3b 0a 20 20 20 20 20 20 20 20 65 6c 2e 70 61 72 65 6e | ext_phishing");.........el.paren |
1eaac0 | 74 4e 6f 64 65 2e 72 65 6d 6f 76 65 43 68 69 6c 64 28 65 6c 29 3b 0a 0a 20 20 20 20 20 20 20 20 | tNode.removeChild(el);.......... |
1eaae0 | 2f 2f 20 53 65 74 20 73 69 74 65 6e 61 6d 65 0a 20 20 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 | //.Set.sitename.........document |
1eab00 | 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 6d 61 6c 77 61 72 65 5f 73 69 74 65 6e 61 6d | .getElementById("malware_sitenam |
1eab20 | 65 22 29 2e 74 65 78 74 43 6f 6e 74 65 6e 74 20 3d 20 67 65 74 48 6f 73 74 53 74 72 69 6e 67 28 | e").textContent.=.getHostString( |
1eab40 | 29 3b 0a 20 20 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 74 69 74 6c 65 20 3d 20 64 6f 63 75 | );.........document.title.=.docu |
1eab60 | 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 65 72 72 6f 72 54 69 74 6c 65 54 | ment.getElementById("errorTitleT |
1eab80 | 65 78 74 5f 6d 61 6c 77 61 72 65 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ext_malware")................... |
1eaba0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 69 6e 6e 65 72 48 54 4d 4c 3b 0a 20 20 20 20 20 | ................innerHTML;...... |
1eabc0 | 20 7d 0a 20 20 20 20 20 20 0a 20 20 20 20 20 20 2f 2a 2a 0a 20 20 20 20 20 20 20 2a 20 49 6e 69 | .}............../**........*.Ini |
1eabe0 | 74 69 61 6c 69 7a 65 20 63 75 73 74 6f 6d 20 73 74 72 69 6e 67 73 20 61 6e 64 20 66 75 6e 63 74 | tialize.custom.strings.and.funct |
1eac00 | 69 6f 6e 61 6c 69 74 79 20 66 6f 72 20 62 6c 6f 63 6b 65 64 20 70 68 69 73 68 69 6e 67 20 63 61 | ionality.for.blocked.phishing.ca |
1eac20 | 73 65 0a 20 20 20 20 20 20 20 2a 2f 0a 20 20 20 20 20 20 66 75 6e 63 74 69 6f 6e 20 69 6e 69 74 | se........*/.......function.init |
1eac40 | 50 61 67 65 5f 70 68 69 73 68 69 6e 67 28 29 0a 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 | Page_phishing().......{......... |
1eac60 | 2f 2f 20 52 65 6d 6f 76 65 20 6d 61 6c 77 61 72 65 20 73 74 72 69 6e 67 73 0a 20 20 20 20 20 20 | //.Remove.malware.strings....... |
1eac80 | 20 20 76 61 72 20 65 6c 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 | ..var.el.=.document.getElementBy |
1eaca0 | 49 64 28 22 65 72 72 6f 72 54 69 74 6c 65 54 65 78 74 5f 6d 61 6c 77 61 72 65 22 29 3b 0a 20 20 | Id("errorTitleText_malware");... |
1eacc0 | 20 20 20 20 20 20 65 6c 2e 70 61 72 65 6e 74 4e 6f 64 65 2e 72 65 6d 6f 76 65 43 68 69 6c 64 28 | ......el.parentNode.removeChild( |
1eace0 | 65 6c 29 3b 0a 0a 20 20 20 20 20 20 20 20 65 6c 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 | el);..........el.=.document.getE |
1ead00 | 6c 65 6d 65 6e 74 42 79 49 64 28 22 65 72 72 6f 72 53 68 6f 72 74 44 65 73 63 54 65 78 74 5f 6d | lementById("errorShortDescText_m |
1ead20 | 61 6c 77 61 72 65 22 29 3b 0a 20 20 20 20 20 20 20 20 65 6c 2e 70 61 72 65 6e 74 4e 6f 64 65 2e | alware");.........el.parentNode. |
1ead40 | 72 65 6d 6f 76 65 43 68 69 6c 64 28 65 6c 29 3b 0a 0a 20 20 20 20 20 20 20 20 65 6c 20 3d 20 64 | removeChild(el);..........el.=.d |
1ead60 | 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 65 72 72 6f 72 4c 6f 6e | ocument.getElementById("errorLon |
1ead80 | 67 44 65 73 63 54 65 78 74 5f 6d 61 6c 77 61 72 65 22 29 3b 0a 20 20 20 20 20 20 20 20 65 6c 2e | gDescText_malware");.........el. |
1eada0 | 70 61 72 65 6e 74 4e 6f 64 65 2e 72 65 6d 6f 76 65 43 68 69 6c 64 28 65 6c 29 3b 0a 0a 20 20 20 | parentNode.removeChild(el);..... |
1eadc0 | 20 20 20 20 20 2f 2f 20 53 65 74 20 73 69 74 65 6e 61 6d 65 0a 20 20 20 20 20 20 20 20 64 6f 63 | .....//.Set.sitename.........doc |
1eade0 | 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 70 68 69 73 68 69 6e 67 5f 73 | ument.getElementById("phishing_s |
1eae00 | 69 74 65 6e 61 6d 65 22 29 2e 74 65 78 74 43 6f 6e 74 65 6e 74 20 3d 20 67 65 74 48 6f 73 74 53 | itename").textContent.=.getHostS |
1eae20 | 74 72 69 6e 67 28 29 3b 0a 20 20 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 74 69 74 6c 65 20 | tring();.........document.title. |
1eae40 | 3d 20 64 6f 63 75 6d 65 6e 74 2e 67 65 74 45 6c 65 6d 65 6e 74 42 79 49 64 28 22 65 72 72 6f 72 | =.document.getElementById("error |
1eae60 | 54 69 74 6c 65 54 65 78 74 5f 70 68 69 73 68 69 6e 67 22 29 0a 20 20 20 20 20 20 20 20 20 20 20 | TitleText_phishing")............ |
1eae80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 69 6e 6e 65 72 48 54 4d 4c | .......................innerHTML |
1eaea0 | 3b 0a 20 20 20 20 20 20 7d 0a 20 20 20 20 5d 5d 3e 3c 2f 73 63 72 69 70 74 3e 0a 20 20 20 20 3c | ;.......}.....]]></script>.....< |
1eaec0 | 73 74 79 6c 65 20 74 79 70 65 3d 22 74 65 78 74 2f 63 73 73 22 3e 0a 20 20 20 20 20 20 2f 2a 20 | style.type="text/css">......./*. |
1eaee0 | 53 74 79 6c 65 20 77 61 72 6e 69 6e 67 20 62 75 74 74 6f 6e 20 74 6f 20 6c 6f 6f 6b 20 6c 69 6b | Style.warning.button.to.look.lik |
1eaf00 | 65 20 61 20 73 6d 61 6c 6c 20 74 65 78 74 20 6c 69 6e 6b 20 69 6e 20 74 68 65 0a 20 20 20 20 20 | e.a.small.text.link.in.the...... |
1eaf20 | 20 20 20 20 62 6f 74 74 6f 6d 20 72 69 67 68 74 2e 20 54 68 69 73 20 69 73 20 70 72 65 66 65 72 | ....bottom.right..This.is.prefer |
1eaf40 | 61 62 6c 65 20 74 6f 20 6a 75 73 74 20 75 73 69 6e 67 20 61 20 74 65 78 74 20 6c 69 6e 6b 0a 20 | able.to.just.using.a.text.link.. |
1eaf60 | 20 20 20 20 20 20 20 20 73 69 6e 63 65 20 74 68 65 72 65 20 69 73 20 61 6c 72 65 61 64 79 20 61 | ........since.there.is.already.a |
1eaf80 | 20 6d 65 63 68 61 6e 69 73 6d 20 69 6e 20 62 72 6f 77 73 65 72 2e 6a 73 20 66 6f 72 20 74 72 61 | .mechanism.in.browser.js.for.tra |
1eafa0 | 70 70 69 6e 67 0a 20 20 20 20 20 20 20 20 20 6f 6e 63 6f 6d 6d 61 6e 64 20 65 76 65 6e 74 73 20 | pping..........oncommand.events. |
1eafc0 | 66 72 6f 6d 20 75 6e 70 72 69 76 69 6c 65 67 65 64 20 63 68 72 6f 6d 65 20 70 61 67 65 73 20 28 | from.unprivileged.chrome.pages.( |
1eafe0 | 42 72 6f 77 73 65 72 4f 6e 43 6f 6d 6d 61 6e 64 29 2e 2a 2f 0a 20 20 20 20 20 20 23 69 67 6e 6f | BrowserOnCommand).*/.......#igno |
1eb000 | 72 65 57 61 72 6e 69 6e 67 42 75 74 74 6f 6e 20 7b 0a 20 20 20 20 20 20 20 20 2d 6d 6f 7a 2d 61 | reWarningButton.{.........-moz-a |
1eb020 | 70 70 65 61 72 61 6e 63 65 3a 20 6e 6f 6e 65 3b 0a 20 20 20 20 20 20 20 20 62 61 63 6b 67 72 6f | ppearance:.none;.........backgro |
1eb040 | 75 6e 64 3a 20 74 72 61 6e 73 70 61 72 65 6e 74 3b 0a 20 20 20 20 20 20 20 20 62 6f 72 64 65 72 | und:.transparent;.........border |
1eb060 | 3a 20 6e 6f 6e 65 3b 0a 20 20 20 20 20 20 20 20 63 6f 6c 6f 72 3a 20 77 68 69 74 65 3b 20 20 2f | :.none;.........color:.white;../ |
1eb080 | 2a 20 48 61 72 64 20 63 6f 64 65 64 20 62 65 63 61 75 73 65 20 6e 65 74 45 72 72 6f 72 2e 63 73 | *.Hard.coded.because.netError.cs |
1eb0a0 | 73 20 66 6f 72 63 65 73 20 74 68 69 73 20 70 61 67 65 27 73 20 62 61 63 6b 67 72 6f 75 6e 64 20 | s.forces.this.page's.background. |
1eb0c0 | 74 6f 20 64 61 72 6b 20 72 65 64 20 2a 2f 0a 20 20 20 20 20 20 20 20 74 65 78 74 2d 64 65 63 6f | to.dark.red.*/.........text-deco |
1eb0e0 | 72 61 74 69 6f 6e 3a 20 75 6e 64 65 72 6c 69 6e 65 3b 0a 20 20 20 20 20 20 20 20 6d 61 72 67 69 | ration:.underline;.........margi |
1eb100 | 6e 3a 20 30 3b 0a 20 20 20 20 20 20 20 20 70 61 64 64 69 6e 67 3a 20 30 3b 0a 20 20 20 20 20 20 | n:.0;.........padding:.0;....... |
1eb120 | 20 20 70 6f 73 69 74 69 6f 6e 3a 20 72 65 6c 61 74 69 76 65 3b 0a 20 20 20 20 20 20 20 20 74 6f | ..position:.relative;.........to |
1eb140 | 70 3a 20 32 33 70 78 3b 0a 20 20 20 20 20 20 20 20 6c 65 66 74 3a 20 32 30 70 78 3b 0a 20 20 20 | p:.23px;.........left:.20px;.... |
1eb160 | 20 20 20 20 20 66 6f 6e 74 2d 73 69 7a 65 3a 20 73 6d 61 6c 6c 65 72 3b 0a 20 20 20 20 20 20 7d | .....font-size:.smaller;.......} |
1eb180 | 0a 20 20 20 20 20 20 0a 20 20 20 20 20 20 23 69 67 6e 6f 72 65 57 61 72 6e 69 6e 67 20 7b 0a 20 | ..............#ignoreWarning.{.. |
1eb1a0 | 20 20 20 20 20 20 20 74 65 78 74 2d 61 6c 69 67 6e 3a 20 72 69 67 68 74 3b 0a 20 20 20 20 20 20 | .......text-align:.right;....... |
1eb1c0 | 7d 0a 20 20 20 20 3c 2f 73 74 79 6c 65 3e 0a 20 20 3c 2f 68 65 61 64 3e 0a 0a 20 20 3c 62 6f 64 | }.....</style>...</head>....<bod |
1eb1e0 | 79 20 64 69 72 3d 22 26 6c 6f 63 61 6c 65 2e 64 69 72 3b 22 3e 0a 20 20 20 20 3c 64 69 76 20 69 | y.dir="&locale.dir;">.....<div.i |
1eb200 | 64 3d 22 65 72 72 6f 72 50 61 67 65 43 6f 6e 74 61 69 6e 65 72 22 3e 0a 20 20 20 20 0a 20 20 20 | d="errorPageContainer">......... |
1eb220 | 20 20 20 3c 21 2d 2d 20 45 72 72 6f 72 20 54 69 74 6c 65 20 2d 2d 3e 0a 20 20 20 20 20 20 3c 64 | ...<!--.Error.Title.-->.......<d |
1eb240 | 69 76 20 69 64 3d 22 65 72 72 6f 72 54 69 74 6c 65 22 3e 0a 20 20 20 20 20 20 20 20 3c 68 31 20 | iv.id="errorTitle">.........<h1. |
1eb260 | 69 64 3d 22 65 72 72 6f 72 54 69 74 6c 65 54 65 78 74 5f 70 68 69 73 68 69 6e 67 22 3e 26 73 61 | id="errorTitleText_phishing">&sa |
1eb280 | 66 65 62 2e 62 6c 6f 63 6b 65 64 2e 70 68 69 73 68 69 6e 67 2e 74 69 74 6c 65 3b 3c 2f 68 31 3e | feb.blocked.phishing.title;</h1> |
1eb2a0 | 0a 20 20 20 20 20 20 20 20 3c 68 31 20 69 64 3d 22 65 72 72 6f 72 54 69 74 6c 65 54 65 78 74 5f | .........<h1.id="errorTitleText_ |
1eb2c0 | 6d 61 6c 77 61 72 65 22 3e 26 73 61 66 65 62 2e 62 6c 6f 63 6b 65 64 2e 6d 61 6c 77 61 72 65 2e | malware">&safeb.blocked.malware. |
1eb2e0 | 74 69 74 6c 65 3b 3c 2f 68 31 3e 0a 20 20 20 20 20 20 3c 2f 64 69 76 3e 0a 20 20 20 20 20 20 0a | title;</h1>.......</div>........ |
1eb300 | 20 20 20 20 20 20 3c 64 69 76 20 69 64 3d 22 65 72 72 6f 72 4c 6f 6e 67 43 6f 6e 74 65 6e 74 22 | ......<div.id="errorLongContent" |
1eb320 | 3e 0a 20 20 20 20 20 20 0a 20 20 20 20 20 20 20 20 3c 21 2d 2d 20 53 68 6f 72 74 20 44 65 73 63 | >................<!--.Short.Desc |
1eb340 | 72 69 70 74 69 6f 6e 20 2d 2d 3e 0a 20 20 20 20 20 20 20 20 3c 64 69 76 20 69 64 3d 22 65 72 72 | ription.-->.........<div.id="err |
1eb360 | 6f 72 53 68 6f 72 74 44 65 73 63 22 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 70 20 69 64 3d 22 65 | orShortDesc">...........<p.id="e |
1eb380 | 72 72 6f 72 53 68 6f 72 74 44 65 73 63 54 65 78 74 5f 70 68 69 73 68 69 6e 67 22 3e 26 73 61 66 | rrorShortDescText_phishing">&saf |
1eb3a0 | 65 62 2e 62 6c 6f 63 6b 65 64 2e 70 68 69 73 68 69 6e 67 2e 73 68 6f 72 74 44 65 73 63 3b 3c 2f | eb.blocked.phishing.shortDesc;</ |
1eb3c0 | 70 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 70 20 69 64 3d 22 65 72 72 6f 72 53 68 6f 72 74 44 65 | p>...........<p.id="errorShortDe |
1eb3e0 | 73 63 54 65 78 74 5f 6d 61 6c 77 61 72 65 22 3e 26 73 61 66 65 62 2e 62 6c 6f 63 6b 65 64 2e 6d | scText_malware">&safeb.blocked.m |
1eb400 | 61 6c 77 61 72 65 2e 73 68 6f 72 74 44 65 73 63 3b 3c 2f 70 3e 0a 20 20 20 20 20 20 20 20 3c 2f | alware.shortDesc;</p>.........</ |
1eb420 | 64 69 76 3e 0a 0a 20 20 20 20 20 20 20 20 3c 21 2d 2d 20 4c 6f 6e 67 20 44 65 73 63 72 69 70 74 | div>..........<!--.Long.Descript |
1eb440 | 69 6f 6e 20 2d 2d 3e 0a 20 20 20 20 20 20 20 20 3c 64 69 76 20 69 64 3d 22 65 72 72 6f 72 4c 6f | ion.-->.........<div.id="errorLo |
1eb460 | 6e 67 44 65 73 63 22 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 70 20 69 64 3d 22 65 72 72 6f 72 4c | ngDesc">...........<p.id="errorL |
1eb480 | 6f 6e 67 44 65 73 63 54 65 78 74 5f 70 68 69 73 68 69 6e 67 22 3e 26 73 61 66 65 62 2e 62 6c 6f | ongDescText_phishing">&safeb.blo |
1eb4a0 | 63 6b 65 64 2e 70 68 69 73 68 69 6e 67 2e 6c 6f 6e 67 44 65 73 63 3b 3c 2f 70 3e 0a 20 20 20 20 | cked.phishing.longDesc;</p>..... |
1eb4c0 | 20 20 20 20 20 20 3c 70 20 69 64 3d 22 65 72 72 6f 72 4c 6f 6e 67 44 65 73 63 54 65 78 74 5f 6d | ......<p.id="errorLongDescText_m |
1eb4e0 | 61 6c 77 61 72 65 22 3e 26 73 61 66 65 62 2e 62 6c 6f 63 6b 65 64 2e 6d 61 6c 77 61 72 65 2e 6c | alware">&safeb.blocked.malware.l |
1eb500 | 6f 6e 67 44 65 73 63 3b 3c 2f 70 3e 0a 20 20 20 20 20 20 20 20 3c 2f 64 69 76 3e 0a 20 20 20 20 | ongDesc;</p>.........</div>..... |
1eb520 | 20 20 20 20 0a 20 20 20 20 20 20 20 20 3c 21 2d 2d 20 41 63 74 69 6f 6e 20 62 75 74 74 6f 6e 73 | .............<!--.Action.buttons |
1eb540 | 20 2d 2d 3e 0a 20 20 20 20 20 20 20 20 3c 64 69 76 20 69 64 3d 22 62 75 74 74 6f 6e 73 22 3e 0a | .-->.........<div.id="buttons">. |
1eb560 | 20 20 20 20 20 20 20 20 20 20 3c 21 2d 2d 20 43 6f 6d 6d 61 6e 64 73 20 68 61 6e 64 6c 65 64 20 | ..........<!--.Commands.handled. |
1eb580 | 69 6e 20 62 72 6f 77 73 65 72 2e 6a 73 20 2d 2d 3e 0a 20 20 20 20 20 20 20 20 20 20 3c 78 75 6c | in.browser.js.-->...........<xul |
1eb5a0 | 3a 62 75 74 74 6f 6e 20 78 6d 6c 6e 73 3a 78 75 6c 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f | :button.xmlns:xul="http://www.mo |
1eb5c0 | 7a 69 6c 6c 61 2e 6f 72 67 2f 6b 65 79 6d 61 73 74 65 72 2f 67 61 74 65 6b 65 65 70 65 72 2f 74 | zilla.org/keymaster/gatekeeper/t |
1eb5e0 | 68 65 72 65 2e 69 73 2e 6f 6e 6c 79 2e 78 75 6c 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | here.is.only.xul"............... |
1eb600 | 20 20 20 20 20 20 20 20 69 64 3d 22 67 65 74 4d 65 4f 75 74 42 75 74 74 6f 6e 22 20 6c 61 62 65 | ........id="getMeOutButton".labe |
1eb620 | 6c 3d 22 26 73 61 66 65 62 2e 70 61 6c 6d 2e 61 63 63 65 70 74 2e 6c 61 62 65 6c 3b 22 2f 3e 0a | l="&safeb.palm.accept.label;"/>. |
1eb640 | 20 20 20 20 20 20 20 20 20 20 3c 78 75 6c 3a 62 75 74 74 6f 6e 20 78 6d 6c 6e 73 3a 78 75 6c 3d | ..........<xul:button.xmlns:xul= |
1eb660 | 22 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6b 65 79 6d 61 73 74 65 | "http://www.mozilla.org/keymaste |
1eb680 | 72 2f 67 61 74 65 6b 65 65 70 65 72 2f 74 68 65 72 65 2e 69 73 2e 6f 6e 6c 79 2e 78 75 6c 22 0a | r/gatekeeper/there.is.only.xul". |
1eb6a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 64 3d 22 72 65 70 6f 72 74 | ......................id="report |
1eb6c0 | 42 75 74 74 6f 6e 22 20 6c 61 62 65 6c 3d 22 26 73 61 66 65 62 2e 70 61 6c 6d 2e 72 65 70 6f 72 | Button".label="&safeb.palm.repor |
1eb6e0 | 74 2e 6c 61 62 65 6c 3b 22 2f 3e 0a 20 20 20 20 20 20 20 20 3c 2f 64 69 76 3e 0a 20 20 20 20 20 | t.label;"/>.........</div>...... |
1eb700 | 20 3c 2f 64 69 76 3e 0a 20 20 20 20 20 20 3c 64 69 76 20 69 64 3d 22 69 67 6e 6f 72 65 57 61 72 | .</div>.......<div.id="ignoreWar |
1eb720 | 6e 69 6e 67 22 3e 0a 20 20 20 20 20 20 20 20 3c 78 75 6c 3a 62 75 74 74 6f 6e 20 78 6d 6c 6e 73 | ning">.........<xul:button.xmlns |
1eb740 | 3a 78 75 6c 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e 6d 6f 7a 69 6c 6c 61 2e 6f 72 67 2f 6b 65 79 | :xul="http://www.mozilla.org/key |
1eb760 | 6d 61 73 74 65 72 2f 67 61 74 65 6b 65 65 70 65 72 2f 74 68 65 72 65 2e 69 73 2e 6f 6e 6c 79 2e | master/gatekeeper/there.is.only. |
1eb780 | 78 75 6c 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 64 3d 22 69 67 6e | xul".....................id="ign |
1eb7a0 | 6f 72 65 57 61 72 6e 69 6e 67 42 75 74 74 6f 6e 22 20 6c 61 62 65 6c 3d 22 26 73 61 66 65 62 2e | oreWarningButton".label="&safeb. |
1eb7c0 | 70 61 6c 6d 2e 64 65 63 6c 69 6e 65 2e 6c 61 62 65 6c 3b 22 2f 3e 0a 20 20 20 20 20 20 3c 2f 64 | palm.decline.label;"/>.......</d |
1eb7e0 | 69 76 3e 0a 20 20 20 20 3c 2f 64 69 76 3e 0a 20 20 20 20 3c 21 2d 2d 0a 20 20 20 20 2d 20 4e 6f | iv>.....</div>.....<!--.....-.No |
1eb800 | 74 65 3a 20 49 74 20 69 73 20 69 6d 70 6f 72 74 61 6e 74 20 74 6f 20 72 75 6e 20 74 68 65 20 73 | te:.It.is.important.to.run.the.s |
1eb820 | 63 72 69 70 74 20 74 68 69 73 20 77 61 79 2c 20 69 6e 73 74 65 61 64 20 6f 66 20 75 73 69 6e 67 | cript.this.way,.instead.of.using |
1eb840 | 0a 20 20 20 20 2d 20 61 6e 20 6f 6e 6c 6f 61 64 20 68 61 6e 64 6c 65 72 2e 20 54 68 69 73 20 69 | .....-.an.onload.handler..This.i |
1eb860 | 73 20 62 65 63 61 75 73 65 20 65 72 72 6f 72 20 70 61 67 65 73 20 61 72 65 20 6c 6f 61 64 65 64 | s.because.error.pages.are.loaded |
1eb880 | 20 61 73 0a 20 20 20 20 2d 20 4c 4f 41 44 5f 42 41 43 4b 47 52 4f 55 4e 44 2c 20 77 68 69 63 68 | .as.....-.LOAD_BACKGROUND,.which |
1eb8a0 | 20 6d 65 61 6e 73 20 74 68 61 74 20 6f 6e 6c 6f 61 64 20 68 61 6e 64 6c 65 72 73 20 77 69 6c 6c | .means.that.onload.handlers.will |
1eb8c0 | 20 6e 6f 74 20 62 65 20 65 78 65 63 75 74 65 64 2e 0a 20 20 20 20 2d 2d 3e 0a 20 20 20 20 3c 73 | .not.be.executed......-->.....<s |
1eb8e0 | 63 72 69 70 74 20 74 79 70 65 3d 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f 6a 61 76 61 73 63 72 69 | cript.type="application/javascri |
1eb900 | 70 74 22 3e 69 6e 69 74 50 61 67 65 28 29 3b 3c 2f 73 63 72 69 70 74 3e 0a 20 20 3c 2f 62 6f 64 | pt">initPage();</script>...</bod |
1eb920 | 79 3e 0a 3c 2f 68 74 6d 6c 3e 0a 50 4b 01 02 14 03 14 00 00 00 00 00 f1 4b 18 3b 36 13 e0 b7 15 | y>.</html>.PK...........K.;6.... |
1eb940 | bf 00 00 15 bf 00 00 1a 00 00 00 00 00 00 00 00 00 00 00 a4 81 00 00 00 00 63 6f 6e 74 65 6e 74 | .........................content |
1eb960 | 2f 62 72 61 6e 64 69 6e 67 2f 61 62 6f 75 74 2e 70 6e 67 50 4b 01 02 14 03 14 00 00 00 00 00 f1 | /branding/about.pngPK........... |
1eb980 | 4b 18 3b ea d7 4d 69 f2 69 00 00 f2 69 00 00 21 00 00 00 00 00 00 00 00 00 00 00 a4 81 4d bf 00 | K.;..Mi.i...i..!.............M.. |
1eb9a0 | 00 63 6f 6e 74 65 6e 74 2f 62 72 61 6e 64 69 6e 67 2f 61 62 6f 75 74 43 72 65 64 69 74 73 2e 70 | .content/branding/aboutCredits.p |
1eb9c0 | 6e 67 50 4b 01 02 14 03 14 00 00 00 00 00 f1 4b 18 3b 20 c0 e4 3c fc 02 00 00 fc 02 00 00 20 00 | ngPK...........K.;...<.......... |
1eb9e0 | 00 00 00 00 00 00 00 00 00 00 a4 81 7e 29 01 00 63 6f 6e 74 65 6e 74 2f 62 72 61 6e 64 69 6e 67 | ............~)..content/branding |
1eba00 | 2f 61 62 6f 75 74 46 6f 6f 74 65 72 2e 70 6e 67 50 4b 01 02 14 03 14 00 00 00 00 00 f1 4b 18 3b | /aboutFooter.pngPK...........K.; |
1eba20 | 83 59 27 93 08 16 00 00 08 16 00 00 1b 00 00 00 00 00 00 00 00 00 00 00 a4 81 b8 2c 01 00 63 6f | .Y'........................,..co |
1eba40 | 6e 74 65 6e 74 2f 62 72 61 6e 64 69 6e 67 2f 69 63 6f 6e 34 38 2e 70 6e 67 50 4b 01 02 14 03 14 | ntent/branding/icon48.pngPK..... |
1eba60 | 00 00 00 00 00 f1 4b 18 3b 07 c3 45 c0 b3 24 00 00 b3 24 00 00 1b 00 00 00 00 00 00 00 00 00 00 | ......K.;..E..$...$............. |
1eba80 | 00 a4 81 f9 42 01 00 63 6f 6e 74 65 6e 74 2f 62 72 61 6e 64 69 6e 67 2f 69 63 6f 6e 36 34 2e 70 | ....B..content/branding/icon64.p |
1ebaa0 | 6e 67 50 4b 01 02 14 03 14 00 00 00 00 00 f2 4b 18 3b b0 2a 2b ed bc 06 00 00 bc 06 00 00 1f 00 | ngPK...........K.;.*+........... |
1ebac0 | 00 00 00 00 00 00 00 00 00 00 a4 81 e5 67 01 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f | .............g..content/browser/ |
1ebae0 | 61 62 6f 75 74 44 69 61 6c 6f 67 2e 78 75 6c 50 4b 01 02 14 03 14 00 00 00 00 00 f2 4b 18 3b f1 | aboutDialog.xulPK...........K.;. |
1ebb00 | 42 5a 7d ec 0a 00 00 ec 0a 00 00 1e 00 00 00 00 00 00 00 00 00 00 00 a4 81 de 6e 01 00 63 6f 6e | BZ}.......................n..con |
1ebb20 | 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 61 62 6f 75 74 44 69 61 6c 6f 67 2e 6a 73 50 4b 01 02 14 | tent/browser/aboutDialog.jsPK... |
1ebb40 | 03 14 00 00 00 00 00 f2 4b 18 3b ce 86 34 63 3e 06 00 00 3e 06 00 00 1f 00 00 00 00 00 00 00 00 | ........K.;..4c>...>............ |
1ebb60 | 00 00 00 a4 81 06 7a 01 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 61 62 6f 75 74 44 69 | ......z..content/browser/aboutDi |
1ebb80 | 61 6c 6f 67 2e 63 73 73 50 4b 01 02 14 03 14 00 00 00 00 00 f2 4b 18 3b 4d e6 e1 fa 39 08 00 00 | alog.cssPK...........K.;M...9... |
1ebba0 | 39 08 00 00 21 00 00 00 00 00 00 00 00 00 00 00 a4 81 81 80 01 00 63 6f 6e 74 65 6e 74 2f 62 72 | 9...!.................content/br |
1ebbc0 | 6f 77 73 65 72 2f 61 62 6f 75 74 52 69 67 68 74 73 2e 78 68 74 6d 6c 50 4b 01 02 14 03 14 00 00 | owser/aboutRights.xhtmlPK....... |
1ebbe0 | 00 00 00 f2 4b 18 3b 7c f3 25 ca f0 16 00 00 f0 16 00 00 21 00 00 00 00 00 00 00 00 00 00 00 a4 | ....K.;|.%.........!............ |
1ebc00 | 81 f9 88 01 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 61 62 6f 75 74 52 6f 62 6f 74 73 | .....content/browser/aboutRobots |
1ebc20 | 2e 78 68 74 6d 6c 50 4b 01 02 14 03 14 00 00 00 00 00 f2 4b 18 3b fe 47 54 34 59 26 00 00 59 26 | .xhtmlPK...........K.;.GT4Y&..Y& |
1ebc40 | 00 00 24 00 00 00 00 00 00 00 00 00 00 00 a4 81 28 a0 01 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 | ..$.............(...content/brow |
1ebc60 | 73 65 72 2f 61 62 6f 75 74 52 6f 62 6f 74 73 2d 69 63 6f 6e 2e 70 6e 67 50 4b 01 02 14 03 14 00 | ser/aboutRobots-icon.pngPK...... |
1ebc80 | 00 00 00 00 f2 4b 18 3b e6 16 9e 41 d9 1e 00 00 d9 1e 00 00 28 00 00 00 00 00 00 00 00 00 00 00 | .....K.;...A........(........... |
1ebca0 | a4 81 c3 c6 01 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 61 62 6f 75 74 52 6f 62 6f 74 | ......content/browser/aboutRobot |
1ebcc0 | 73 2d 69 63 6f 6e 2d 72 74 6c 2e 70 6e 67 50 4b 01 02 14 03 14 00 00 00 00 00 f2 4b 18 3b 2f e0 | s-icon-rtl.pngPK...........K.;/. |
1ebce0 | dd d0 b0 08 00 00 b0 08 00 00 2b 00 00 00 00 00 00 00 00 00 00 00 a4 81 e2 e5 01 00 63 6f 6e 74 | ..........+.................cont |
1ebd00 | 65 6e 74 2f 62 72 6f 77 73 65 72 2f 61 62 6f 75 74 52 6f 62 6f 74 73 2d 77 69 64 67 65 74 2d 6c | ent/browser/aboutRobots-widget-l |
1ebd20 | 65 66 74 2e 70 6e 67 50 4b 01 02 14 03 14 00 00 00 00 00 f2 4b 18 3b 8f e2 e7 ab b4 08 00 00 b4 | eft.pngPK...........K.;......... |
1ebd40 | 08 00 00 2c 00 00 00 00 00 00 00 00 00 00 00 a4 81 db ee 01 00 63 6f 6e 74 65 6e 74 2f 62 72 6f | ...,.................content/bro |
1ebd60 | 77 73 65 72 2f 61 62 6f 75 74 52 6f 62 6f 74 73 2d 77 69 64 67 65 74 2d 72 69 67 68 74 2e 70 6e | wser/aboutRobots-widget-right.pn |
1ebd80 | 67 50 4b 01 02 14 03 14 00 00 00 00 00 f2 4b 18 3b 7a cb 25 92 55 0d 00 00 55 0d 00 00 1b 00 00 | gPK...........K.;z.%.U...U...... |
1ebda0 | 00 00 00 00 00 00 00 00 00 a4 81 d9 f7 01 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 62 | ...............content/browser/b |
1ebdc0 | 72 6f 77 73 65 72 2e 63 73 73 50 4b 01 02 14 03 14 00 00 00 00 00 f2 4b 18 3b ac 8c da f9 5f bb | rowser.cssPK...........K.;...._. |
1ebde0 | 04 00 5f bb 04 00 1a 00 00 00 00 00 00 00 00 00 00 00 a4 81 67 05 02 00 63 6f 6e 74 65 6e 74 2f | .._.................g...content/ |
1ebe00 | 62 72 6f 77 73 65 72 2f 62 72 6f 77 73 65 72 2e 6a 73 50 4b 01 02 14 03 14 00 00 00 00 00 f2 4b | browser/browser.jsPK...........K |
1ebe20 | 18 3b fb 2a 66 9f bc 3b 01 00 bc 3b 01 00 1b 00 00 00 00 00 00 00 00 00 00 00 a4 81 fe c0 06 00 | .;.*f..;...;.................... |
1ebe40 | 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 62 72 6f 77 73 65 72 2e 78 75 6c 50 4b 01 02 14 | content/browser/browser.xulPK... |
1ebe60 | 03 14 00 00 00 00 00 f2 4b 18 3b 49 a1 b4 2f 56 02 00 00 56 02 00 00 27 00 00 00 00 00 00 00 00 | ........K.;I../V...V...'........ |
1ebe80 | 00 00 00 a4 81 f3 fc 07 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 62 72 6f 77 73 65 72 | .........content/browser/browser |
1ebea0 | 2d 74 61 62 50 72 65 76 69 65 77 73 2e 78 6d 6c 50 4b 01 02 14 03 14 00 00 00 00 00 f2 4b 18 3b | -tabPreviews.xmlPK...........K.; |
1ebec0 | 5c 2b a6 2b 07 4c 00 00 07 4c 00 00 1d 00 00 00 00 00 00 00 00 00 00 00 a4 81 8e ff 07 00 63 6f | \+.+.L...L....................co |
1ebee0 | 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 63 72 65 64 69 74 73 2e 78 68 74 6d 6c 50 4b 01 02 14 | ntent/browser/credits.xhtmlPK... |
1ebf00 | 03 14 00 00 00 00 00 f2 4b 18 3b 32 e3 2a c3 d8 45 00 00 d8 45 00 00 1b 00 00 00 00 00 00 00 00 | ........K.;2.*..E...E........... |
1ebf20 | 00 00 00 a4 81 d0 4b 08 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 6d 65 74 61 44 61 74 | ......K..content/browser/metaDat |
1ebf40 | 61 2e 6a 73 50 4b 01 02 14 03 14 00 00 00 00 00 f2 4b 18 3b 8b 52 76 30 b2 17 00 00 b2 17 00 00 | a.jsPK...........K.;.Rv0........ |
1ebf60 | 1c 00 00 00 00 00 00 00 00 00 00 00 a4 81 e1 91 08 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 | ..................content/browse |
1ebf80 | 72 2f 6d 65 74 61 44 61 74 61 2e 78 75 6c 50 4b 01 02 14 03 14 00 00 00 00 00 f2 4b 18 3b dc ef | r/metaData.xulPK...........K.;.. |
1ebfa0 | 1b d9 13 4c 00 00 13 4c 00 00 25 00 00 00 00 00 00 00 00 00 00 00 a4 81 cd a9 08 00 63 6f 6e 74 | ...L...L..%.................cont |
1ebfc0 | 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 61 67 65 69 6e 66 6f 2f 70 61 67 65 49 6e 66 6f 2e 78 75 | ent/browser/pageinfo/pageInfo.xu |
1ebfe0 | 6c 50 4b 01 02 14 03 14 00 00 00 00 00 f2 4b 18 3b 44 27 b6 8a b7 91 00 00 b7 91 00 00 24 00 00 | lPK...........K.;D'..........$.. |
1ec000 | 00 00 00 00 00 00 00 00 00 a4 81 23 f6 08 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 | ...........#...content/browser/p |
1ec020 | 61 67 65 69 6e 66 6f 2f 70 61 67 65 49 6e 66 6f 2e 6a 73 50 4b 01 02 14 03 14 00 00 00 00 00 f2 | ageinfo/pageInfo.jsPK........... |
1ec040 | 4b 18 3b b4 37 75 ae 64 01 00 00 64 01 00 00 25 00 00 00 00 00 00 00 00 00 00 00 a4 81 1c 88 09 | K.;.7u.d...d...%................ |
1ec060 | 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 61 67 65 69 6e 66 6f 2f 70 61 67 65 49 6e | .content/browser/pageinfo/pageIn |
1ec080 | 66 6f 2e 63 73 73 50 4b 01 02 14 03 14 00 00 00 00 00 f2 4b 18 3b f8 c7 0d 75 b7 06 00 00 b7 06 | fo.cssPK...........K.;...u...... |
1ec0a0 | 00 00 21 00 00 00 00 00 00 00 00 00 00 00 a4 81 c3 89 09 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 | ..!.................content/brow |
1ec0c0 | 73 65 72 2f 70 61 67 65 69 6e 66 6f 2f 66 65 65 64 73 2e 6a 73 50 4b 01 02 14 03 14 00 00 00 00 | ser/pageinfo/feeds.jsPK......... |
1ec0e0 | 00 f2 4b 18 3b 65 1a aa 65 24 05 00 00 24 05 00 00 22 00 00 00 00 00 00 00 00 00 00 00 a4 81 b9 | ..K.;e..e$...$...".............. |
1ec100 | 90 09 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 61 67 65 69 6e 66 6f 2f 66 65 65 64 | ...content/browser/pageinfo/feed |
1ec120 | 73 2e 78 6d 6c 50 4b 01 02 14 03 14 00 00 00 00 00 f2 4b 18 3b 39 74 4c 61 2a 10 00 00 2a 10 00 | s.xmlPK...........K.;9tLa*...*.. |
1ec140 | 00 27 00 00 00 00 00 00 00 00 00 00 00 a4 81 1d 96 09 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 | .'.................content/brows |
1ec160 | 65 72 2f 70 61 67 65 69 6e 66 6f 2f 70 65 72 6d 69 73 73 69 6f 6e 73 2e 6a 73 50 4b 01 02 14 03 | er/pageinfo/permissions.jsPK.... |
1ec180 | 14 00 00 00 00 00 f2 4b 18 3b e3 0d 55 84 72 2c 00 00 72 2c 00 00 24 00 00 00 00 00 00 00 00 00 | .......K.;..U.r,..r,..$......... |
1ec1a0 | 00 00 a4 81 8c a6 09 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 61 67 65 69 6e 66 6f | ........content/browser/pageinfo |
1ec1c0 | 2f 73 65 63 75 72 69 74 79 2e 6a 73 50 4b 01 02 14 03 14 00 00 00 00 00 f2 4b 18 3b 85 33 29 84 | /security.jsPK...........K.;.3). |
1ec1e0 | a6 0e 00 00 a6 0e 00 00 1f 00 00 00 00 00 00 00 00 00 00 00 a4 81 40 d3 09 00 63 6f 6e 74 65 6e | ......................@...conten |
1ec200 | 74 2f 62 72 6f 77 73 65 72 2f 6f 70 65 6e 4c 6f 63 61 74 69 6f 6e 2e 6a 73 50 4b 01 02 14 03 14 | t/browser/openLocation.jsPK..... |
1ec220 | 00 00 00 00 00 f2 4b 18 3b 36 f0 96 8e 85 07 00 00 85 07 00 00 20 00 00 00 00 00 00 00 00 00 00 | ......K.;6...................... |
1ec240 | 00 a4 81 23 e2 09 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 6f 70 65 6e 4c 6f 63 61 74 | ...#...content/browser/openLocat |
1ec260 | 69 6f 6e 2e 78 75 6c 50 4b 01 02 14 03 14 00 00 00 00 00 f2 4b 18 3b 23 56 08 5e 9c 04 00 00 9c | ion.xulPK...........K.;#V.^..... |
1ec280 | 04 00 00 27 00 00 00 00 00 00 00 00 00 00 00 a4 81 e6 e9 09 00 63 6f 6e 74 65 6e 74 2f 62 72 6f | ...'.................content/bro |
1ec2a0 | 77 73 65 72 2f 70 61 67 65 52 65 70 6f 72 74 46 69 72 73 74 54 69 6d 65 2e 78 75 6c 50 4b 01 02 | wser/pageReportFirstTime.xulPK.. |
1ec2c0 | 14 03 14 00 00 00 00 00 f2 4b 18 3b 1f 42 b8 0a d1 10 00 00 d1 10 00 00 1b 00 00 00 00 00 00 00 | .........K.;.B.................. |
1ec2e0 | 00 00 00 00 a4 81 c7 ee 09 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 73 61 66 65 4d 6f | ..........content/browser/safeMo |
1ec300 | 64 65 2e 6a 73 50 4b 01 02 14 03 14 00 00 00 00 00 f2 4b 18 3b 29 0e d5 62 54 07 00 00 54 07 00 | de.jsPK...........K.;)..bT...T.. |
1ec320 | 00 1c 00 00 00 00 00 00 00 00 00 00 00 a4 81 d1 ff 09 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 | ...................content/brows |
1ec340 | 65 72 2f 73 61 66 65 4d 6f 64 65 2e 78 75 6c 50 4b 01 02 14 03 14 00 00 00 00 00 f2 4b 18 3b db | er/safeMode.xulPK...........K.;. |
1ec360 | ce 6a 21 00 3b 00 00 00 3b 00 00 1b 00 00 00 00 00 00 00 00 00 00 00 a4 81 5f 07 0a 00 63 6f 6e | .j!.;...;................_...con |
1ec380 | 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 73 61 6e 69 74 69 7a 65 2e 6a 73 50 4b 01 02 14 03 14 00 | tent/browser/sanitize.jsPK...... |
1ec3a0 | 00 00 00 00 f2 4b 18 3b 4f f3 a3 02 d5 18 00 00 d5 18 00 00 1c 00 00 00 00 00 00 00 00 00 00 00 | .....K.;O....................... |
1ec3c0 | a4 81 98 42 0a 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 73 61 6e 69 74 69 7a 65 2e 78 | ...B..content/browser/sanitize.x |
1ec3e0 | 75 6c 50 4b 01 02 14 03 14 00 00 00 00 00 f2 4b 18 3b 5b d8 bf 13 29 1f 00 00 29 1f 00 00 21 00 | ulPK...........K.;[...)...)...!. |
1ec400 | 00 00 00 00 00 00 00 00 00 00 a4 81 a7 5b 0a 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f | .............[..content/browser/ |
1ec420 | 73 61 6e 69 74 69 7a 65 44 69 61 6c 6f 67 2e 6a 73 50 4b 01 02 14 03 14 00 00 00 00 00 f2 4b 18 | sanitizeDialog.jsPK...........K. |
1ec440 | 3b 3b 7e 18 96 73 01 00 00 73 01 00 00 22 00 00 00 00 00 00 00 00 00 00 00 a4 81 0f 7b 0a 00 63 | ;;~..s...s..."..............{..c |
1ec460 | 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 73 61 6e 69 74 69 7a 65 44 69 61 6c 6f 67 2e 63 73 | ontent/browser/sanitizeDialog.cs |
1ec480 | 73 50 4b 01 02 14 03 14 00 00 00 00 00 f2 4b 18 3b 0d fd a5 b2 7e 04 00 00 7e 04 00 00 1e 00 00 | sPK...........K.;....~...~...... |
1ec4a0 | 00 00 00 00 00 00 00 00 00 a4 81 c2 7c 0a 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 74 | ............|..content/browser/t |
1ec4c0 | 61 62 62 72 6f 77 73 65 72 2e 63 73 73 50 4b 01 02 14 03 14 00 00 00 00 00 f2 4b 18 3b db f2 49 | abbrowser.cssPK...........K.;..I |
1ec4e0 | 60 13 17 02 00 13 17 02 00 1e 00 00 00 00 00 00 00 00 00 00 00 a4 81 7c 81 0a 00 63 6f 6e 74 65 | `......................|...conte |
1ec500 | 6e 74 2f 62 72 6f 77 73 65 72 2f 74 61 62 62 72 6f 77 73 65 72 2e 78 6d 6c 50 4b 01 02 14 03 14 | nt/browser/tabbrowser.xmlPK..... |
1ec520 | 00 00 00 00 00 f2 4b 18 3b 0c 51 7c 60 ca 4c 00 00 ca 4c 00 00 22 00 00 00 00 00 00 00 00 00 00 | ......K.;.Q|`.L...L..".......... |
1ec540 | 00 a4 81 cb 98 0c 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 75 72 6c 62 61 72 42 69 6e | .......content/browser/urlbarBin |
1ec560 | 64 69 6e 67 73 2e 78 6d 6c 50 4b 01 02 14 03 14 00 00 00 00 00 f2 4b 18 3b 59 61 d0 d8 e2 54 00 | dings.xmlPK...........K.;Ya...T. |
1ec580 | 00 e2 54 00 00 21 00 00 00 00 00 00 00 00 00 00 00 a4 81 d5 e5 0c 00 63 6f 6e 74 65 6e 74 2f 62 | ..T..!.................content/b |
1ec5a0 | 72 6f 77 73 65 72 2f 75 74 69 6c 69 74 79 4f 76 65 72 6c 61 79 2e 6a 73 50 4b 01 02 14 03 14 00 | rowser/utilityOverlay.jsPK...... |
1ec5c0 | 00 00 00 00 f2 4b 18 3b c4 6a d6 fc 8e 0c 00 00 8e 0c 00 00 1d 00 00 00 00 00 00 00 00 00 00 00 | .....K.;.j...................... |
1ec5e0 | a4 81 f6 3a 0d 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 77 65 62 2d 70 61 6e 65 6c 73 | ...:..content/browser/web-panels |
1ec600 | 2e 6a 73 50 4b 01 02 14 03 14 00 00 00 00 00 f2 4b 18 3b 1f 54 79 f5 11 45 00 00 11 45 00 00 1e | .jsPK...........K.;.Ty..E...E... |
1ec620 | 00 00 00 00 00 00 00 00 00 00 00 a4 81 bf 47 0d 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 | ..............G..content/browser |
1ec640 | 2f 77 65 62 2d 70 61 6e 65 6c 73 2e 78 75 6c 50 4b 01 02 14 03 14 00 00 00 00 00 f2 4b 18 3b b9 | /web-panels.xulPK...........K.;. |
1ec660 | 8e 1b 0d 66 08 00 00 66 08 00 00 23 00 00 00 00 00 00 00 00 00 00 00 a4 81 0c 8d 0d 00 63 6f 6e | ...f...f...#.................con |
1ec680 | 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 62 61 73 65 4d 65 6e 75 4f 76 65 72 6c 61 79 2e 78 75 6c | tent/browser/baseMenuOverlay.xul |
1ec6a0 | 50 4b 01 02 14 03 14 00 00 00 00 00 f2 4b 18 3b f0 5f 9c df 25 c8 00 00 25 c8 00 00 20 00 00 00 | PK...........K.;._..%...%....... |
1ec6c0 | 00 00 00 00 00 00 00 00 a4 81 b3 95 0d 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 6e 73 | ..............content/browser/ns |
1ec6e0 | 43 6f 6e 74 65 78 74 4d 65 6e 75 2e 6a 73 50 4b 01 02 14 03 14 00 00 00 00 00 f2 4b 18 3b 88 99 | ContextMenu.jsPK...........K.;.. |
1ec700 | 14 63 17 00 00 00 17 00 00 00 20 00 00 00 00 00 00 00 00 00 00 00 a4 81 16 5e 0e 00 63 6f 6e 74 | .c.......................^..cont |
1ec720 | 65 6e 74 2f 62 72 6f 77 73 65 72 2f 68 69 64 64 65 6e 57 69 6e 64 6f 77 2e 78 75 6c 50 4b 01 02 | ent/browser/hiddenWindow.xulPK.. |
1ec740 | 14 03 14 00 00 00 00 00 f2 4b 18 3b 68 14 f4 47 fa 01 00 00 fa 01 00 00 25 00 00 00 00 00 00 00 | .........K.;h..G........%....... |
1ec760 | 00 00 00 00 a4 81 6b 5e 0e 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 76 69 65 77 53 6f | ......k^..content/browser/viewSo |
1ec780 | 75 72 63 65 4f 76 65 72 6c 61 79 2e 78 75 6c 50 4b 01 02 14 03 14 00 00 00 00 00 f2 4b 18 3b f9 | urceOverlay.xulPK...........K.;. |
1ec7a0 | 67 aa 8d 70 03 02 00 70 03 02 00 1c 00 00 00 00 00 00 00 00 00 00 00 a4 81 a8 60 0e 00 63 6f 6e | g..p...p..................`..con |
1ec7c0 | 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 6c 69 63 65 6e 73 65 2e 68 74 6d 6c 50 4b 01 02 14 03 14 | tent/browser/license.htmlPK..... |
1ec7e0 | 00 00 00 00 00 f2 4b 18 3b 81 06 c8 07 15 2c 00 00 15 2c 00 00 2e 00 00 00 00 00 00 00 00 00 00 | ......K.;.....,...,............. |
1ec800 | 00 a4 81 52 64 10 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 63 65 72 74 65 72 72 6f 72 | ...Rd..content/browser/certerror |
1ec820 | 2f 61 62 6f 75 74 43 65 72 74 45 72 72 6f 72 2e 78 68 74 6d 6c 50 4b 01 02 14 03 14 00 00 00 00 | /aboutCertError.xhtmlPK......... |
1ec840 | 00 f2 4b 18 3b c9 14 8d 97 c6 08 00 00 c6 08 00 00 2c 00 00 00 00 00 00 00 00 00 00 00 a4 81 b3 | ..K.;............,.............. |
1ec860 | 90 10 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 63 65 72 74 65 72 72 6f 72 2f 61 62 6f | ...content/browser/certerror/abo |
1ec880 | 75 74 43 65 72 74 45 72 72 6f 72 2e 63 73 73 50 4b 01 02 14 03 14 00 00 00 00 00 f3 4b 18 3b 2f | utCertError.cssPK...........K.;/ |
1ec8a0 | 14 7d db 89 3d 00 00 89 3d 00 00 28 00 00 00 00 00 00 00 00 00 00 00 a4 81 c3 99 10 00 63 6f 6e | .}..=...=..(.................con |
1ec8c0 | 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 61 64 76 61 6e 63 65 | tent/browser/preferences/advance |
1ec8e0 | 64 2e 78 75 6c 50 4b 01 02 14 03 14 00 00 00 00 00 f3 4b 18 3b bc a1 9d 00 3e 55 00 00 3e 55 00 | d.xulPK...........K.;....>U..>U. |
1ec900 | 00 27 00 00 00 00 00 00 00 00 00 00 00 a4 81 92 d7 10 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 | .'.................content/brows |
1ec920 | 65 72 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 61 64 76 61 6e 63 65 64 2e 6a 73 50 4b 01 02 14 03 | er/preferences/advanced.jsPK.... |
1ec940 | 14 00 00 00 00 00 f3 4b 18 3b 16 c1 b9 f2 d7 09 00 00 d7 09 00 00 30 00 00 00 00 00 00 00 00 00 | .......K.;............0......... |
1ec960 | 00 00 a4 81 15 2d 11 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 72 65 66 65 72 65 6e | .....-..content/browser/preferen |
1ec980 | 63 65 73 2f 61 64 76 61 6e 63 65 64 2d 73 63 72 69 70 74 73 2e 78 75 6c 50 4b 01 02 14 03 14 00 | ces/advanced-scripts.xulPK...... |
1ec9a0 | 00 00 00 00 f3 4b 18 3b a6 a4 f5 d4 a8 0f 00 00 a8 0f 00 00 2c 00 00 00 00 00 00 00 00 00 00 00 | .....K.;............,........... |
1ec9c0 | a4 81 3a 37 11 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 72 65 66 65 72 65 6e 63 65 | ..:7..content/browser/preference |
1ec9e0 | 73 2f 61 70 70 6c 69 63 61 74 69 6f 6e 73 2e 78 75 6c 50 4b 01 02 14 03 14 00 00 00 00 00 f3 4b | s/applications.xulPK...........K |
1eca00 | 18 3b 8e a7 15 b1 4d 0a 01 00 4d 0a 01 00 2b 00 00 00 00 00 00 00 00 00 00 00 a4 81 2c 47 11 00 | .;....M...M...+.............,G.. |
1eca20 | 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 61 70 70 6c | content/browser/preferences/appl |
1eca40 | 69 63 61 74 69 6f 6e 73 2e 6a 73 50 4b 01 02 14 03 14 00 00 00 00 00 f3 4b 18 3b 0e 22 56 47 5d | ications.jsPK...........K.;."VG] |
1eca60 | 07 00 00 5d 07 00 00 32 00 00 00 00 00 00 00 00 00 00 00 a4 81 c2 51 12 00 63 6f 6e 74 65 6e 74 | ...]...2..............Q..content |
1eca80 | 2f 62 72 6f 77 73 65 72 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 61 70 70 6c 69 63 61 74 69 6f 6e | /browser/preferences/application |
1ecaa0 | 4d 61 6e 61 67 65 72 2e 78 75 6c 50 4b 01 02 14 03 14 00 00 00 00 00 f3 4b 18 3b 2c 62 ee c2 9f | Manager.xulPK...........K.;,b... |
1ecac0 | 0d 00 00 9f 0d 00 00 31 00 00 00 00 00 00 00 00 00 00 00 a4 81 6f 59 12 00 63 6f 6e 74 65 6e 74 | .......1.............oY..content |
1ecae0 | 2f 62 72 6f 77 73 65 72 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 61 70 70 6c 69 63 61 74 69 6f 6e | /browser/preferences/application |
1ecb00 | 4d 61 6e 61 67 65 72 2e 6a 73 50 4b 01 02 14 03 14 00 00 00 00 00 f3 4b 18 3b 6e 85 eb c5 33 0f | Manager.jsPK...........K.;n...3. |
1ecb20 | 00 00 33 0f 00 00 26 00 00 00 00 00 00 00 00 00 00 00 a4 81 5d 67 12 00 63 6f 6e 74 65 6e 74 2f | ..3...&.............]g..content/ |
1ecb40 | 62 72 6f 77 73 65 72 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 63 6f 6c 6f 72 73 2e 78 75 6c 50 4b | browser/preferences/colors.xulPK |
1ecb60 | 01 02 14 03 14 00 00 00 00 00 f3 4b 18 3b d8 18 6e 0e 22 12 00 00 22 12 00 00 27 00 00 00 00 00 | ...........K.;..n."..."...'..... |
1ecb80 | 00 00 00 00 00 00 a4 81 d4 76 12 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 72 65 66 | .........v..content/browser/pref |
1ecba0 | 65 72 65 6e 63 65 73 2f 63 6f 6f 6b 69 65 73 2e 78 75 6c 50 4b 01 02 14 03 14 00 00 00 00 00 f3 | erences/cookies.xulPK........... |
1ecbc0 | 4b 18 3b 8d 20 d1 27 da 72 00 00 da 72 00 00 26 00 00 00 00 00 00 00 00 00 00 00 a4 81 3b 89 12 | K.;...'.r...r..&.............;.. |
1ecbe0 | 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 63 6f 6f | .content/browser/preferences/coo |
1ecc00 | 6b 69 65 73 2e 6a 73 50 4b 01 02 14 03 14 00 00 00 00 00 f3 4b 18 3b 6b 72 ec 37 bb 1e 00 00 bb | kies.jsPK...........K.;kr.7..... |
1ecc20 | 1e 00 00 27 00 00 00 00 00 00 00 00 00 00 00 a4 81 59 fc 12 00 63 6f 6e 74 65 6e 74 2f 62 72 6f | ...'.............Y...content/bro |
1ecc40 | 77 73 65 72 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 63 6f 6e 74 65 6e 74 2e 78 75 6c 50 4b 01 02 | wser/preferences/content.xulPK.. |
1ecc60 | 14 03 14 00 00 00 00 00 f3 4b 18 3b ca 19 f6 9b 0e 1f 00 00 0e 1f 00 00 26 00 00 00 00 00 00 00 | .........K.;............&....... |
1ecc80 | 00 00 00 00 a4 81 59 1b 13 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 72 65 66 65 72 | ......Y...content/browser/prefer |
1ecca0 | 65 6e 63 65 73 2f 63 6f 6e 74 65 6e 74 2e 6a 73 50 4b 01 02 14 03 14 00 00 00 00 00 f3 4b 18 3b | ences/content.jsPK...........K.; |
1eccc0 | 4b 69 c5 fd 58 29 00 00 58 29 00 00 2a 00 00 00 00 00 00 00 00 00 00 00 a4 81 ab 3a 13 00 63 6f | Ki..X)..X)..*..............:..co |
1ecce0 | 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 63 6f 6e 6e 65 63 | ntent/browser/preferences/connec |
1ecd00 | 74 69 6f 6e 2e 78 75 6c 50 4b 01 02 14 03 14 00 00 00 00 00 f3 4b 18 3b 7d a2 e5 fe c9 1a 00 00 | tion.xulPK...........K.;}....... |
1ecd20 | c9 1a 00 00 29 00 00 00 00 00 00 00 00 00 00 00 a4 81 4b 64 13 00 63 6f 6e 74 65 6e 74 2f 62 72 | ....).............Kd..content/br |
1ecd40 | 6f 77 73 65 72 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 63 6f 6e 6e 65 63 74 69 6f 6e 2e 6a 73 50 | owser/preferences/connection.jsP |
1ecd60 | 4b 01 02 14 03 14 00 00 00 00 00 f3 4b 18 3b 2f 6f 25 9f 68 2e 00 00 68 2e 00 00 25 00 00 00 00 | K...........K.;/o%.h...h...%.... |
1ecd80 | 00 00 00 00 00 00 00 a4 81 5b 7f 13 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 72 65 | .........[...content/browser/pre |
1ecda0 | 66 65 72 65 6e 63 65 73 2f 66 6f 6e 74 73 2e 78 75 6c 50 4b 01 02 14 03 14 00 00 00 00 00 f3 4b | ferences/fonts.xulPK...........K |
1ecdc0 | 18 3b fb 39 de 99 dd 14 00 00 dd 14 00 00 24 00 00 00 00 00 00 00 00 00 00 00 a4 81 06 ae 13 00 | .;.9..........$................. |
1ecde0 | 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 66 6f 6e 74 | content/browser/preferences/font |
1ece00 | 73 2e 6a 73 50 4b 01 02 14 03 14 00 00 00 00 00 f3 4b 18 3b 6d e8 70 23 1e 12 00 00 1e 12 00 00 | s.jsPK...........K.;m.p#........ |
1ece20 | 28 00 00 00 00 00 00 00 00 00 00 00 a4 81 25 c3 13 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 | (.............%...content/browse |
1ece40 | 72 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 68 61 6e 64 6c 65 72 73 2e 78 6d 6c 50 4b 01 02 14 03 | r/preferences/handlers.xmlPK.... |
1ece60 | 14 00 00 00 00 00 f3 4b 18 3b 9e 05 a0 e6 01 09 00 00 01 09 00 00 28 00 00 00 00 00 00 00 00 00 | .......K.;............(......... |
1ece80 | 00 00 a4 81 89 d5 13 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 72 65 66 65 72 65 6e | ........content/browser/preferen |
1ecea0 | 63 65 73 2f 68 61 6e 64 6c 65 72 73 2e 63 73 73 50 4b 01 02 14 03 14 00 00 00 00 00 f3 4b 18 3b | ces/handlers.cssPK...........K.; |
1ecec0 | 6b 8f a9 8b 8b 10 00 00 8b 10 00 00 29 00 00 00 00 00 00 00 00 00 00 00 a4 81 d0 de 13 00 63 6f | k...........).................co |
1ecee0 | 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 6c 61 6e 67 75 61 | ntent/browser/preferences/langua |
1ecf00 | 67 65 73 2e 78 75 6c 50 4b 01 02 14 03 14 00 00 00 00 00 f3 4b 18 3b ea c9 40 69 b1 26 00 00 b1 | ges.xulPK...........K.;..@i.&... |
1ecf20 | 26 00 00 28 00 00 00 00 00 00 00 00 00 00 00 a4 81 a2 ef 13 00 63 6f 6e 74 65 6e 74 2f 62 72 6f | &..(.................content/bro |
1ecf40 | 77 73 65 72 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 6c 61 6e 67 75 61 67 65 73 2e 6a 73 50 4b 01 | wser/preferences/languages.jsPK. |
1ecf60 | 02 14 03 14 00 00 00 00 00 f3 4b 18 3b b3 36 35 2c 80 1a 00 00 80 1a 00 00 24 00 00 00 00 00 00 | ..........K.;.65,........$...... |
1ecf80 | 00 00 00 00 00 a4 81 99 16 14 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 72 65 66 65 | ...........content/browser/prefe |
1ecfa0 | 72 65 6e 63 65 73 2f 6d 61 69 6e 2e 78 75 6c 50 4b 01 02 14 03 14 00 00 00 00 00 f3 4b 18 3b 87 | rences/main.xulPK...........K.;. |
1ecfc0 | 3d d1 49 fc 40 00 00 fc 40 00 00 23 00 00 00 00 00 00 00 00 00 00 00 a4 81 5b 31 14 00 63 6f 6e | =.I.@...@..#.............[1..con |
1ecfe0 | 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 6d 61 69 6e 2e 6a 73 | tent/browser/preferences/main.js |
1ed000 | 50 4b 01 02 14 03 14 00 00 00 00 00 f3 4b 18 3b 78 06 d1 fe eb 0d 00 00 eb 0d 00 00 2b 00 00 00 | PK...........K.;x...........+... |
1ed020 | 00 00 00 00 00 00 00 00 a4 81 98 72 14 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 72 | ...........r..content/browser/pr |
1ed040 | 65 66 65 72 65 6e 63 65 73 2f 70 65 72 6d 69 73 73 69 6f 6e 73 2e 78 75 6c 50 4b 01 02 14 03 14 | eferences/permissions.xulPK..... |
1ed060 | 00 00 00 00 00 f3 4b 18 3b 11 33 cc 04 7b 34 00 00 7b 34 00 00 2a 00 00 00 00 00 00 00 00 00 00 | ......K.;.3..{4..{4..*.......... |
1ed080 | 00 a4 81 cc 80 14 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 72 65 66 65 72 65 6e 63 | .......content/browser/preferenc |
1ed0a0 | 65 73 2f 70 65 72 6d 69 73 73 69 6f 6e 73 2e 6a 73 50 4b 01 02 14 03 14 00 00 00 00 00 f3 4b 18 | es/permissions.jsPK...........K. |
1ed0c0 | 3b 1b 0d 44 88 c8 07 00 00 c8 07 00 00 2f 00 00 00 00 00 00 00 00 00 00 00 a4 81 8f b5 14 00 63 | ;..D........./.................c |
1ed0e0 | 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 70 65 72 6d 69 | ontent/browser/preferences/permi |
1ed100 | 73 73 69 6f 6e 73 75 74 69 6c 73 2e 6a 73 50 4b 01 02 14 03 14 00 00 00 00 00 f3 4b 18 3b 80 03 | ssionsutils.jsPK...........K.;.. |
1ed120 | be 06 84 09 00 00 84 09 00 00 2b 00 00 00 00 00 00 00 00 00 00 00 a4 81 a4 bd 14 00 63 6f 6e 74 | ..........+.................cont |
1ed140 | 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 70 72 65 66 65 72 65 6e | ent/browser/preferences/preferen |
1ed160 | 63 65 73 2e 78 75 6c 50 4b 01 02 14 03 14 00 00 00 00 00 f3 4b 18 3b 7a dc 37 13 d8 2d 00 00 d8 | ces.xulPK...........K.;z.7..-... |
1ed180 | 2d 00 00 27 00 00 00 00 00 00 00 00 00 00 00 a4 81 71 c7 14 00 63 6f 6e 74 65 6e 74 2f 62 72 6f | -..'.............q...content/bro |
1ed1a0 | 77 73 65 72 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 70 72 69 76 61 63 79 2e 78 75 6c 50 4b 01 02 | wser/preferences/privacy.xulPK.. |
1ed1c0 | 14 03 14 00 00 00 00 00 f3 4b 18 3b 8f 15 22 d4 01 48 00 00 01 48 00 00 26 00 00 00 00 00 00 00 | .........K.;.."..H...H..&....... |
1ed1e0 | 00 00 00 00 a4 81 8e f5 14 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 72 65 66 65 72 | ..........content/browser/prefer |
1ed200 | 65 6e 63 65 73 2f 70 72 69 76 61 63 79 2e 6a 73 50 4b 01 02 14 03 14 00 00 00 00 00 f3 4b 18 3b | ences/privacy.jsPK...........K.; |
1ed220 | 5a 9a f9 69 fd 11 00 00 fd 11 00 00 28 00 00 00 00 00 00 00 00 00 00 00 a4 81 d3 3d 15 00 63 6f | Z..i........(..............=..co |
1ed240 | 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 73 61 6e 69 74 69 | ntent/browser/preferences/saniti |
1ed260 | 7a 65 2e 78 75 6c 50 4b 01 02 14 03 14 00 00 00 00 00 f3 4b 18 3b f7 5d 9e 87 ce 13 00 00 ce 13 | ze.xulPK...........K.;.]........ |
1ed280 | 00 00 28 00 00 00 00 00 00 00 00 00 00 00 a4 81 16 50 15 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 | ..(..............P..content/brow |
1ed2a0 | 73 65 72 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 73 65 63 75 72 69 74 79 2e 78 75 6c 50 4b 01 02 | ser/preferences/security.xulPK.. |
1ed2c0 | 14 03 14 00 00 00 00 00 f3 4b 18 3b 39 39 cf 7c 2f 1c 00 00 2f 1c 00 00 27 00 00 00 00 00 00 00 | .........K.;99.|/.../...'....... |
1ed2e0 | 00 00 00 00 a4 81 2a 64 15 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 72 65 66 65 72 | ......*d..content/browser/prefer |
1ed300 | 65 6e 63 65 73 2f 73 65 63 75 72 69 74 79 2e 6a 73 50 4b 01 02 14 03 14 00 00 00 00 00 f3 4b 18 | ences/security.jsPK...........K. |
1ed320 | 3b f5 d9 33 ca 2b 0e 00 00 2b 0e 00 00 30 00 00 00 00 00 00 00 00 00 00 00 a4 81 9e 80 15 00 63 | ;..3.+...+...0.................c |
1ed340 | 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 73 65 63 75 72 | ontent/browser/preferences/secur |
1ed360 | 69 74 79 57 61 72 6e 69 6e 67 73 2e 78 75 6c 50 4b 01 02 14 03 14 00 00 00 00 00 f3 4b 18 3b 04 | ityWarnings.xulPK...........K.;. |
1ed380 | bb 7f 0c 3c 01 00 00 3c 01 00 00 2f 00 00 00 00 00 00 00 00 00 00 00 a4 81 17 8f 15 00 63 6f 6e | ...<...<.../.................con |
1ed3a0 | 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 73 65 63 75 72 69 74 | tent/browser/preferences/securit |
1ed3c0 | 79 57 61 72 6e 69 6e 67 73 2e 6a 73 50 4b 01 02 14 03 14 00 00 00 00 00 f3 4b 18 3b 14 a0 60 de | yWarnings.jsPK...........K.;..`. |
1ed3e0 | 64 05 00 00 64 05 00 00 2e 00 00 00 00 00 00 00 00 00 00 00 a4 81 a0 90 15 00 63 6f 6e 74 65 6e | d...d.....................conten |
1ed400 | 74 2f 62 72 6f 77 73 65 72 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 73 65 6c 65 63 74 42 6f 6f 6b | t/browser/preferences/selectBook |
1ed420 | 6d 61 72 6b 2e 78 75 6c 50 4b 01 02 14 03 14 00 00 00 00 00 f3 4b 18 3b 91 17 dd bc d1 11 00 00 | mark.xulPK...........K.;........ |
1ed440 | d1 11 00 00 2d 00 00 00 00 00 00 00 00 00 00 00 a4 81 50 96 15 00 63 6f 6e 74 65 6e 74 2f 62 72 | ....-.............P...content/br |
1ed460 | 6f 77 73 65 72 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 73 65 6c 65 63 74 42 6f 6f 6b 6d 61 72 6b | owser/preferences/selectBookmark |
1ed480 | 2e 6a 73 50 4b 01 02 14 03 14 00 00 00 00 00 f3 4b 18 3b 12 f5 a1 0f 47 09 00 00 47 09 00 00 24 | .jsPK...........K.;....G...G...$ |
1ed4a0 | 00 00 00 00 00 00 00 00 00 00 00 a4 81 6c a8 15 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 | .............l...content/browser |
1ed4c0 | 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 74 61 62 73 2e 78 75 6c 50 4b 01 02 14 03 14 00 00 00 00 | /preferences/tabs.xulPK......... |
1ed4e0 | 00 f3 4b 18 3b d6 65 af 5c c8 06 00 00 c8 06 00 00 23 00 00 00 00 00 00 00 00 00 00 00 a4 81 f5 | ..K.;.e.\........#.............. |
1ed500 | b1 15 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 72 65 66 65 72 65 6e 63 65 73 2f 74 | ...content/browser/preferences/t |
1ed520 | 61 62 73 2e 6a 73 50 4b 01 02 14 03 14 00 00 00 00 00 f3 4b 18 3b cc e5 50 07 0d 74 00 00 0d 74 | abs.jsPK...........K.;..P..t...t |
1ed540 | 00 00 21 00 00 00 00 00 00 00 00 00 00 00 a4 81 fe b8 15 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 | ..!.................content/brow |
1ed560 | 73 65 72 2f 73 65 61 72 63 68 2f 73 65 61 72 63 68 2e 78 6d 6c 50 4b 01 02 14 03 14 00 00 00 00 | ser/search/search.xmlPK......... |
1ed580 | 00 f3 4b 18 3b 88 cf f0 4e f5 00 00 00 f5 00 00 00 2c 00 00 00 00 00 00 00 00 00 00 00 a4 81 4a | ..K.;...N........,.............J |
1ed5a0 | 2d 16 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 73 65 61 72 63 68 2f 73 65 61 72 63 68 | -..content/browser/search/search |
1ed5c0 | 62 61 72 42 69 6e 64 69 6e 67 73 2e 63 73 73 50 4b 01 02 14 03 14 00 00 00 00 00 f3 4b 18 3b e0 | barBindings.cssPK...........K.;. |
1ed5e0 | 0e 49 ae 8a 0d 00 00 8a 0d 00 00 28 00 00 00 00 00 00 00 00 00 00 00 a4 81 89 2e 16 00 63 6f 6e | .I.........(.................con |
1ed600 | 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 73 65 61 72 63 68 2f 65 6e 67 69 6e 65 4d 61 6e 61 67 65 | tent/browser/search/engineManage |
1ed620 | 72 2e 78 75 6c 50 4b 01 02 14 03 14 00 00 00 00 00 f3 4b 18 3b e7 86 01 96 3a 45 00 00 3a 45 00 | r.xulPK...........K.;....:E..:E. |
1ed640 | 00 27 00 00 00 00 00 00 00 00 00 00 00 a4 81 59 3c 16 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 | .'.............Y<..content/brows |
1ed660 | 65 72 2f 73 65 61 72 63 68 2f 65 6e 67 69 6e 65 4d 61 6e 61 67 65 72 2e 6a 73 50 4b 01 02 14 03 | er/search/engineManager.jsPK.... |
1ed680 | 14 00 00 00 00 00 f3 4b 18 3b 1f df fa a5 6e 0c 00 00 6e 0c 00 00 29 00 00 00 00 00 00 00 00 00 | .......K.;....n...n...)......... |
1ed6a0 | 00 00 a4 81 d8 81 16 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 61 62 6f 75 74 53 65 73 | ........content/browser/aboutSes |
1ed6c0 | 73 69 6f 6e 52 65 73 74 6f 72 65 2e 78 68 74 6d 6c 50 4b 01 02 14 03 14 00 00 00 00 00 f3 4b 18 | sionRestore.xhtmlPK...........K. |
1ed6e0 | 3b 4f 71 a7 06 23 2e 00 00 23 2e 00 00 26 00 00 00 00 00 00 00 00 00 00 00 a4 81 8d 8e 16 00 63 | ;Oq..#...#...&.................c |
1ed700 | 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 61 62 6f 75 74 53 65 73 73 69 6f 6e 52 65 73 74 6f | ontent/browser/aboutSessionResto |
1ed720 | 72 65 2e 6a 73 50 4b 01 02 14 03 14 00 00 00 00 00 f4 4b 18 3b 9c 03 b5 85 42 08 00 00 42 08 00 | re.jsPK...........K.;....B...B.. |
1ed740 | 00 28 00 00 00 00 00 00 00 00 00 00 00 a4 81 f4 bc 16 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 | .(.................content/brows |
1ed760 | 65 72 2f 73 65 74 44 65 73 6b 74 6f 70 42 61 63 6b 67 72 6f 75 6e 64 2e 78 75 6c 50 4b 01 02 14 | er/setDesktopBackground.xulPK... |
1ed780 | 03 14 00 00 00 00 00 f4 4b 18 3b 2f 36 07 32 18 12 00 00 18 12 00 00 27 00 00 00 00 00 00 00 00 | ........K.;/6.2........'........ |
1ed7a0 | 00 00 00 a4 81 7c c5 16 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 73 65 74 44 65 73 6b | .....|...content/browser/setDesk |
1ed7c0 | 74 6f 70 42 61 63 6b 67 72 6f 75 6e 64 2e 6a 73 50 4b 01 02 14 03 14 00 00 00 00 00 f4 4b 18 3b | topBackground.jsPK...........K.; |
1ed7e0 | 89 cd 30 8b c4 0a 00 00 c4 0a 00 00 25 00 00 00 00 00 00 00 00 00 00 00 a4 81 d9 d7 16 00 63 6f | ..0.........%.................co |
1ed800 | 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 66 65 65 64 73 2f 73 75 62 73 63 72 69 62 65 2e 78 68 | ntent/browser/feeds/subscribe.xh |
1ed820 | 74 6d 6c 50 4b 01 02 14 03 14 00 00 00 00 00 f4 4b 18 3b 42 27 02 d0 27 0a 00 00 27 0a 00 00 22 | tmlPK...........K.;B'..'...'..." |
1ed840 | 00 00 00 00 00 00 00 00 00 00 00 a4 81 e0 e2 16 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 | .................content/browser |
1ed860 | 2f 66 65 65 64 73 2f 73 75 62 73 63 72 69 62 65 2e 6a 73 50 4b 01 02 14 03 14 00 00 00 00 00 f5 | /feeds/subscribe.jsPK........... |
1ed880 | 4b 18 3b ca da 49 c5 b5 0d 00 00 b5 0d 00 00 2e 00 00 00 00 00 00 00 00 00 00 00 a4 81 47 ed 16 | K.;..I.......................G.. |
1ed8a0 | 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 6c 61 63 65 73 2f 62 6f 6f 6b 6d 61 72 6b | .content/browser/places/bookmark |
1ed8c0 | 50 72 6f 70 65 72 74 69 65 73 32 2e 78 75 6c 50 4b 01 02 14 03 14 00 00 00 00 00 f5 4b 18 3b 73 | Properties2.xulPK...........K.;s |
1ed8e0 | 6d e1 05 38 51 00 00 38 51 00 00 21 00 00 00 00 00 00 00 00 00 00 00 a4 81 48 fb 16 00 63 6f 6e | m..8Q..8Q..!.............H...con |
1ed900 | 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 6c 61 63 65 73 2f 70 6c 61 63 65 73 2e 78 75 6c 50 4b | tent/browser/places/places.xulPK |
1ed920 | 01 02 14 03 14 00 00 00 00 00 f5 4b 18 3b f3 ee 19 d6 c8 c6 00 00 c8 c6 00 00 20 00 00 00 00 00 | ...........K.;.................. |
1ed940 | 00 00 00 00 00 00 a4 81 bf 4c 17 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 6c 61 63 | .........L..content/browser/plac |
1ed960 | 65 73 2f 70 6c 61 63 65 73 2e 6a 73 50 4b 01 02 14 03 14 00 00 00 00 00 f5 4b 18 3b 1c 10 d4 ca | es/places.jsPK...........K.;.... |
1ed980 | 14 06 00 00 14 06 00 00 21 00 00 00 00 00 00 00 00 00 00 00 a4 81 c5 13 18 00 63 6f 6e 74 65 6e | ........!.................conten |
1ed9a0 | 74 2f 62 72 6f 77 73 65 72 2f 70 6c 61 63 65 73 2f 70 6c 61 63 65 73 2e 78 6d 6c 50 4b 01 02 14 | t/browser/places/places.xmlPK... |
1ed9c0 | 03 14 00 00 00 00 00 f5 4b 18 3b bc c4 fe c6 71 02 00 00 71 02 00 00 21 00 00 00 00 00 00 00 00 | ........K.;....q...q...!........ |
1ed9e0 | 00 00 00 a4 81 18 1a 18 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 6c 61 63 65 73 2f | .........content/browser/places/ |
1eda00 | 70 6c 61 63 65 73 2e 63 73 73 50 4b 01 02 14 03 14 00 00 00 00 00 f5 4b 18 3b 49 b7 49 82 4c 02 | places.cssPK...........K.;I.I.L. |
1eda20 | 00 00 4c 02 00 00 24 00 00 00 00 00 00 00 00 00 00 00 a4 81 c8 1c 18 00 63 6f 6e 74 65 6e 74 2f | ..L...$.................content/ |
1eda40 | 62 72 6f 77 73 65 72 2f 70 6c 61 63 65 73 2f 6f 72 67 61 6e 69 7a 65 72 2e 63 73 73 50 4b 01 02 | browser/places/organizer.cssPK.. |
1eda60 | 14 03 14 00 00 00 00 00 f5 4b 18 3b ca da 49 c5 b5 0d 00 00 b5 0d 00 00 2d 00 00 00 00 00 00 00 | .........K.;..I.........-....... |
1eda80 | 00 00 00 00 a4 81 56 1f 18 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 6c 61 63 65 73 | ......V...content/browser/places |
1edaa0 | 2f 62 6f 6f 6b 6d 61 72 6b 50 72 6f 70 65 72 74 69 65 73 2e 78 75 6c 50 4b 01 02 14 03 14 00 00 | /bookmarkProperties.xulPK....... |
1edac0 | 00 00 00 f5 4b 18 3b 98 58 8c 30 17 62 00 00 17 62 00 00 2c 00 00 00 00 00 00 00 00 00 00 00 a4 | ....K.;.X.0.b...b..,............ |
1edae0 | 81 56 2d 18 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 6c 61 63 65 73 2f 62 6f 6f 6b | .V-..content/browser/places/book |
1edb00 | 6d 61 72 6b 50 72 6f 70 65 72 74 69 65 73 2e 6a 73 50 4b 01 02 14 03 14 00 00 00 00 00 f5 4b 18 | markProperties.jsPK...........K. |
1edb20 | 3b b0 ff 33 08 b9 21 00 00 b9 21 00 00 28 00 00 00 00 00 00 00 00 00 00 00 a4 81 b7 8f 18 00 63 | ;..3..!...!..(.................c |
1edb40 | 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 6c 61 63 65 73 2f 70 6c 61 63 65 73 4f 76 65 72 | ontent/browser/places/placesOver |
1edb60 | 6c 61 79 2e 78 75 6c 50 4b 01 02 14 03 14 00 00 00 00 00 f5 4b 18 3b de 39 e1 ee 39 af 00 00 39 | lay.xulPK...........K.;.9..9...9 |
1edb80 | af 00 00 22 00 00 00 00 00 00 00 00 00 00 00 a4 81 b6 b1 18 00 63 6f 6e 74 65 6e 74 2f 62 72 6f | ...".................content/bro |
1edba0 | 77 73 65 72 2f 70 6c 61 63 65 73 2f 74 6f 6f 6c 62 61 72 2e 78 6d 6c 50 4b 01 02 14 03 14 00 00 | wser/places/toolbar.xmlPK....... |
1edbc0 | 00 00 00 f6 4b 18 3b 35 c5 27 41 1f 93 00 00 1f 93 00 00 1f 00 00 00 00 00 00 00 00 00 00 00 a4 | ....K.;5.'A..................... |
1edbe0 | 81 2f 61 19 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 6c 61 63 65 73 2f 6d 65 6e 75 | ./a..content/browser/places/menu |
1edc00 | 2e 78 6d 6c 50 4b 01 02 14 03 14 00 00 00 00 00 f6 4b 18 3b ce 4c bb 9b 06 74 00 00 06 74 00 00 | .xmlPK...........K.;.L...t...t.. |
1edc20 | 1f 00 00 00 00 00 00 00 00 00 00 00 a4 81 8b f4 19 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 | ..................content/browse |
1edc40 | 72 2f 70 6c 61 63 65 73 2f 74 72 65 65 2e 78 6d 6c 50 4b 01 02 14 03 14 00 00 00 00 00 f6 4b 18 | r/places/tree.xmlPK...........K. |
1edc60 | 3b 37 69 60 55 e8 c0 00 00 e8 c0 00 00 1f 00 00 00 00 00 00 00 00 00 00 00 a4 81 ce 68 1a 00 63 | ;7i`U.......................h..c |
1edc80 | 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 6c 61 63 65 73 2f 75 74 69 6c 73 2e 6a 73 50 4b | ontent/browser/places/utils.jsPK |
1edca0 | 01 02 14 03 14 00 00 00 00 00 f6 4b 18 3b 69 2a ab 88 c0 ea 00 00 c0 ea 00 00 24 00 00 00 00 00 | ...........K.;i*..........$..... |
1edcc0 | 00 00 00 00 00 00 a4 81 f3 29 1b 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 6c 61 63 | .........)..content/browser/plac |
1edce0 | 65 73 2f 63 6f 6e 74 72 6f 6c 6c 65 72 2e 6a 73 50 4b 01 02 14 03 14 00 00 00 00 00 f6 4b 18 3b | es/controller.jsPK...........K.; |
1edd00 | cf 3a ab 06 31 cd 00 00 31 cd 00 00 22 00 00 00 00 00 00 00 00 00 00 00 a4 81 f5 14 1c 00 63 6f | .:..1...1...".................co |
1edd20 | 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 6c 61 63 65 73 2f 74 72 65 65 56 69 65 77 2e 6a 73 | ntent/browser/places/treeView.js |
1edd40 | 50 4b 01 02 14 03 14 00 00 00 00 00 f6 4b 18 3b 89 d4 f0 14 65 02 00 00 65 02 00 00 25 00 00 00 | PK...........K.;....e...e...%... |
1edd60 | 00 00 00 00 00 00 00 00 a4 81 66 e2 1c 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 6c | ..........f...content/browser/pl |
1edd80 | 61 63 65 73 2f 64 65 6d 6f 73 2f 74 69 6d 65 2e 78 75 6c 50 4b 01 02 14 03 14 00 00 00 00 00 f6 | aces/demos/time.xulPK........... |
1edda0 | 4b 18 3b 53 9c a7 30 f1 02 00 00 f1 02 00 00 26 00 00 00 00 00 00 00 00 00 00 00 a4 81 0e e5 1c | K.;S..0........&................ |
1eddc0 | 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 6c 61 63 65 73 2f 64 65 6d 6f 73 2f 74 69 | .content/browser/places/demos/ti |
1edde0 | 6d 65 2e 68 74 6d 6c 50 4b 01 02 14 03 14 00 00 00 00 00 f6 4b 18 3b 22 be da 7a 86 00 00 00 86 | me.htmlPK...........K.;"..z..... |
1ede00 | 00 00 00 25 00 00 00 00 00 00 00 00 00 00 00 a4 81 43 e8 1c 00 63 6f 6e 74 65 6e 74 2f 62 72 6f | ...%.............C...content/bro |
1ede20 | 77 73 65 72 2f 70 6c 61 63 65 73 2f 64 65 6d 6f 73 2f 74 69 6d 65 2e 63 73 73 50 4b 01 02 14 03 | wser/places/demos/time.cssPK.... |
1ede40 | 14 00 00 00 00 00 f6 4b 18 3b 49 be d1 6a c6 24 00 00 c6 24 00 00 24 00 00 00 00 00 00 00 00 00 | .......K.;I..j.$...$..$......... |
1ede60 | 00 00 a4 81 0c e9 1c 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 6c 61 63 65 73 2f 64 | ........content/browser/places/d |
1ede80 | 65 6d 6f 73 2f 74 69 6d 65 2e 6a 73 50 4b 01 02 14 03 14 00 00 00 00 00 f6 4b 18 3b 11 cb 01 19 | emos/time.jsPK...........K.;.... |
1edea0 | 97 0f 00 00 97 0f 00 00 29 00 00 00 00 00 00 00 00 00 00 00 a4 81 14 0e 1d 00 63 6f 6e 74 65 6e | ........).................conten |
1edec0 | 74 2f 62 72 6f 77 73 65 72 2f 68 69 73 74 6f 72 79 2f 68 69 73 74 6f 72 79 2d 70 61 6e 65 6c 2e | t/browser/history/history-panel. |
1edee0 | 78 75 6c 50 4b 01 02 14 03 14 00 00 00 00 00 f6 4b 18 3b 3d 07 1b fa c8 0c 00 00 c8 0c 00 00 27 | xulPK...........K.;=...........' |
1edf00 | 00 00 00 00 00 00 00 00 00 00 00 a4 81 f2 1d 1d 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 | .................content/browser |
1edf20 | 2f 70 6c 61 63 65 73 2f 68 69 73 74 6f 72 79 2d 70 61 6e 65 6c 2e 6a 73 50 4b 01 02 14 03 14 00 | /places/history-panel.jsPK...... |
1edf40 | 00 00 00 00 f6 4b 18 3b 2d 9f 85 f6 c2 07 00 00 c2 07 00 00 2c 00 00 00 00 00 00 00 00 00 00 00 | .....K.;-...........,........... |
1edf60 | a4 81 ff 2a 1d 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 62 6f 6f 6b 6d 61 72 6b 73 2f | ...*..content/browser/bookmarks/ |
1edf80 | 62 6f 6f 6b 6d 61 72 6b 73 50 61 6e 65 6c 2e 78 75 6c 50 4b 01 02 14 03 14 00 00 00 00 00 f6 4b | bookmarksPanel.xulPK...........K |
1edfa0 | 18 3b 3b 6b 1e 2f 24 03 00 00 24 03 00 00 2b 00 00 00 00 00 00 00 00 00 00 00 a4 81 0b 33 1d 00 | .;;k./$...$...+..............3.. |
1edfc0 | 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 62 6f 6f 6b 6d 61 72 6b 73 2f 62 6f 6f 6b 6d 61 | content/browser/bookmarks/bookma |
1edfe0 | 72 6b 73 50 61 6e 65 6c 2e 6a 73 50 4b 01 02 14 03 14 00 00 00 00 00 f6 4b 18 3b 60 94 e1 37 2b | rksPanel.jsPK...........K.;`..7+ |
1ee000 | 0d 00 00 2b 0d 00 00 29 00 00 00 00 00 00 00 00 00 00 00 a4 81 78 36 1d 00 63 6f 6e 74 65 6e 74 | ...+...).............x6..content |
1ee020 | 2f 62 72 6f 77 73 65 72 2f 62 6f 6f 6b 6d 61 72 6b 73 2f 73 69 64 65 62 61 72 55 74 69 6c 73 2e | /browser/bookmarks/sidebarUtils. |
1ee040 | 6a 73 50 4b 01 02 14 03 14 00 00 00 00 00 f6 4b 18 3b 24 8a 7c 5e 74 06 00 00 74 06 00 00 28 00 | jsPK...........K.;$.|^t...t...(. |
1ee060 | 00 00 00 00 00 00 00 00 00 00 a4 81 ea 43 1d 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f | .............C..content/browser/ |
1ee080 | 70 6c 61 63 65 73 2f 6d 6f 76 65 42 6f 6f 6b 6d 61 72 6b 73 2e 78 75 6c 50 4b 01 02 14 03 14 00 | places/moveBookmarks.xulPK...... |
1ee0a0 | 00 00 00 00 f6 4b 18 3b 6b 94 c8 28 d5 0c 00 00 d5 0c 00 00 27 00 00 00 00 00 00 00 00 00 00 00 | .....K.;k..(........'........... |
1ee0c0 | a4 81 a4 4a 1d 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 70 6c 61 63 65 73 2f 6d 6f 76 | ...J..content/browser/places/mov |
1ee0e0 | 65 42 6f 6f 6b 6d 61 72 6b 73 2e 6a 73 50 4b 01 02 14 03 14 00 00 00 00 00 f6 4b 18 3b 2d c3 54 | eBookmarks.jsPK...........K.;-.T |
1ee100 | 24 b6 24 00 00 b6 24 00 00 2e 00 00 00 00 00 00 00 00 00 00 00 a4 81 be 57 1d 00 63 6f 6e 74 65 | $.$...$.................W..conte |
1ee120 | 6e 74 2f 62 72 6f 77 73 65 72 2f 70 6c 61 63 65 73 2f 65 64 69 74 42 6f 6f 6b 6d 61 72 6b 4f 76 | nt/browser/places/editBookmarkOv |
1ee140 | 65 72 6c 61 79 2e 78 75 6c 50 4b 01 02 14 03 14 00 00 00 00 00 f6 4b 18 3b 83 05 c1 64 b6 a4 00 | erlay.xulPK...........K.;...d... |
1ee160 | 00 b6 a4 00 00 2d 00 00 00 00 00 00 00 00 00 00 00 a4 81 c0 7c 1d 00 63 6f 6e 74 65 6e 74 2f 62 | .....-..............|..content/b |
1ee180 | 72 6f 77 73 65 72 2f 70 6c 61 63 65 73 2f 65 64 69 74 42 6f 6f 6b 6d 61 72 6b 4f 76 65 72 6c 61 | rowser/places/editBookmarkOverla |
1ee1a0 | 79 2e 6a 73 50 4b 01 02 14 03 14 00 00 00 00 00 f6 4b 18 3b 24 8d ff c8 4f 15 00 00 4f 15 00 00 | y.jsPK...........K.;$...O...O... |
1ee1c0 | 2a 00 00 00 00 00 00 00 00 00 00 00 a4 81 c1 21 1e 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 | *..............!..content/browse |
1ee1e0 | 72 2f 61 62 6f 75 74 50 72 69 76 61 74 65 42 72 6f 77 73 69 6e 67 2e 78 68 74 6d 6c 50 4b 01 02 | r/aboutPrivateBrowsing.xhtmlPK.. |
1ee200 | 14 03 14 00 00 00 00 00 f9 4b 18 3b 4e b1 93 c6 38 13 00 00 38 13 00 00 27 00 00 00 00 00 00 00 | .........K.;N...8...8...'....... |
1ee220 | 00 00 00 00 a4 81 58 37 1e 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 6d 69 67 72 61 74 | ......X7..content/browser/migrat |
1ee240 | 69 6f 6e 2f 6d 69 67 72 61 74 69 6f 6e 2e 78 75 6c 50 4b 01 02 14 03 14 00 00 00 00 00 f9 4b 18 | ion/migration.xulPK...........K. |
1ee260 | 3b 4d d6 b3 79 c2 3d 00 00 c2 3d 00 00 26 00 00 00 00 00 00 00 00 00 00 00 a4 81 d5 4a 1e 00 63 | ;M..y.=...=..&..............J..c |
1ee280 | 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 6d 69 67 72 61 74 69 6f 6e 2f 6d 69 67 72 61 74 69 | ontent/browser/migration/migrati |
1ee2a0 | 6f 6e 2e 6a 73 50 4b 01 02 14 03 14 00 00 00 00 00 f9 4b 18 3b 97 5e 04 7c 1c 08 00 00 1c 08 00 | on.jsPK...........K.;.^.|....... |
1ee2c0 | 00 29 00 00 00 00 00 00 00 00 00 00 00 a4 81 db 88 1e 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 | .).................content/brows |
1ee2e0 | 65 72 2f 73 61 66 65 62 72 6f 77 73 69 6e 67 2f 73 62 2d 6c 6f 61 64 65 72 2e 6a 73 50 4b 01 02 | er/safebrowsing/sb-loader.jsPK.. |
1ee300 | 14 03 14 00 00 00 00 00 f9 4b 18 3b 52 a5 e1 7e cf 05 00 00 cf 05 00 00 38 00 00 00 00 00 00 00 | .........K.;R..~........8....... |
1ee320 | 00 00 00 00 a4 81 3e 91 1e 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f 73 61 66 65 62 72 | ......>...content/browser/safebr |
1ee340 | 6f 77 73 69 6e 67 2f 72 65 70 6f 72 74 2d 70 68 69 73 68 69 6e 67 2d 6f 76 65 72 6c 61 79 2e 78 | owsing/report-phishing-overlay.x |
1ee360 | 75 6c 50 4b 01 02 14 03 14 00 00 00 00 00 f9 4b 18 3b 46 5c b7 fa 7c 21 00 00 7c 21 00 00 2e 00 | ulPK...........K.;F\..|!..|!.... |
1ee380 | 00 00 00 00 00 00 00 00 00 00 a4 81 63 97 1e 00 63 6f 6e 74 65 6e 74 2f 62 72 6f 77 73 65 72 2f | ............c...content/browser/ |
1ee3a0 | 73 61 66 65 62 72 6f 77 73 69 6e 67 2f 62 6c 6f 63 6b 65 64 53 69 74 65 2e 78 68 74 6d 6c 50 4b | safebrowsing/blockedSite.xhtmlPK |
1ee3c0 | 05 06 00 00 00 00 83 00 83 00 93 2a 00 00 2b b9 1e 00 00 00 | ...........*..+..... |